"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./easing/map-easing.mjs.js");exports.startWaapiAnimation=function(a,t,r){let{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:l="easeOut",times:d}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;const u={[t]:r};d&&(u.offset=d);const g=e.mapEasingToNativeEasing(l,n);Array.isArray(g)&&(u.easing=g);const m={delay:i,duration:n,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return p&&(m.pseudoElement=p),a.animate(u,m)};
//# sourceMappingURL=start-waapi-animation.mjs.js.map
