"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./calc-duration.mjs.js"),t=require("../../../../../../motion-utils/dist/es/time-conversion.mjs.js");exports.createGeneratorEasing=function(r){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;const o=(arguments.length>2?arguments[2]:void 0)({...r,keyframes:[0,n]}),s=Math.min(e.calcGeneratorDuration(o),e.maxGeneratorDuration);return{type:"keyframes",ease:e=>o.next(s*e).value/n,duration:t.millisecondsToSeconds(s)}};
//# sourceMappingURL=create-generator-easing.mjs.js.map
