import "../motion-utils/dist-es-errors.js";
import { progress } from "../motion-utils/dist-es-progress.js";
import { mixNumber } from "./dist-es-utils-mix-number.js";
function fillOffset(offset, remaining) {
  const min = offset[offset.length - 1];
  for (let i = 1; i <= remaining; i++) {
    const offsetProgress = progress(0, remaining, i);
    offset.push(mixNumber(min, 1, offsetProgress));
  }
}
export {
  fillOffset
};
//# sourceMappingURL=dist-es-utils-offsets-fill.js.map
