import { calcTotalItemLength as h, calcItemLength as o } from "./calc-total-item-length.mjs";
function r(l, e, n) {
const c = h(e), m = Math.max(...e.map(o));
let t = 0, a = 0;
for (; a < l; )
a = (c + n) * (t + 1) - m, t++;
return Math.max(t - 1, 0);
}
export {
r as calcNumClones
};