let o={EASE_IN:{value:"ease-in",formula:o=>o*o*o},EASE_OUT:{value:"ease-out",formula:o=>1-Math.pow(1-o,3)},EASE_IN_OUT:{value:"ease-in-out",formula:o=>o<.5?4*o*o*o:1-Math.pow(-2*o+2,3)/2},DEFAULT:{value:"default",formula:o=>1+--o*o*o*o*o}},a=500,i=o=>{let a;let i=o.options.animation??{};o.on("beforeOptionsChanged",t=>{clearTimeout(a),a=setTimeout(()=>{t.options.animation&&JSON.stringify(t.options.animation)!==JSON.stringify(i)&&(i=t.options.animation,o.update(t.options))},200)})};export{i as AnimationPlugin,o as CAROUSEL_ANIMATION,a as DEFAULT_PLAY_SPEED,i as default};
