Off-equilibrium scaling behaviors across first-order transitions