Transverse-momentum distributions of \kstar and \phim resonances in Pb--Pb collisions at \snn $=$ 5.02 \TeV along with expected distributions for central (left) and peripheral (right) collisions. The shapes of the expected distributions are given by Boltzmann-Gibbs blast-wave functions using parameters obtained from fits to pion, kaon, and (anti)proton \pt distributions (see text for details). The shaded bands indicate the uncertainties in the fit parameters of the model distributions. The lower panels show the ratios of the measured distribution to the values from the model.