"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class t{constructor(t){this._array=t?t.slice():[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}equals(t){return this.toString()===t.toString()}identity(){return this.setArray([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),this}multiply(e){const s=new t;for(let t=0;t<4;t++)for(let r=0;r<4;r++)for(let a=0;a<4;a++)s.set(t,r,s.get(t,r)+this.get(t,a)*e.get(a,r));return this.copy(s)}transpose(){const t=this.getArray();return this.setArray([t[0],t[4],t[8],t[12],t[1],t[5],t[9],t[13],t[2],t[6],t[10],t[14],t[3],t[7],t[11],t[15]]),this}get(t,e){return this.getArray()[4*t+e]}set(t,e,s){return this._array[4*t+e]=s}copy(t){return this._array=t.getArray(),this}getArray(){return this._array.slice()}setArray(t){return this._array=t,this}toString(){return`(${this.getArray().join(", ")})`}toFixed(t){return this._array=this._array.map(e=>parseFloat(e.toFixed(t))),this}}class e{constructor(t=0,e=0){this.x=0,this.y=0,this.x=t,this.y=e}add(t){return t instanceof e?(this.x+=t.x,this.y+=t.y,this):this.addScalar(t)}addScalar(t){return this.x+=t,this.y+=t,this}subtract(t){return t instanceof e?(this.x-=t.x,this.y-=t.y,this):this.subtractScalar(t)}subtractScalar(t){return this.x-=t,this.y-=t,this}multiply(t){return t instanceof e?(this.x*=t.x,this.y*=t.y,this):this.multiplyScalar(t)}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return t instanceof e?(this.x/=t.x,this.y/=t.y,this):this.divideScalar(t)}divideScalar(t){return this.multiplyScalar(1/t)}clone(){return new e(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}equals(t){return t.x===this.x&&t.y===this.y}toString(){return`(${this.x}, ${this.y})`}toFixed(t){return this.x=parseFloat(this.x.toFixed(t)),this.y=parseFloat(this.y.toFixed(t)),this}toArray(){return[this.x,this.y]}static isVector2D(t){return t instanceof e}}var s=new class{constructor(){}sign(t){return t<0?-1:1}findTurningPoints(t){const e=[];let s,r;for(let a=0;a({})}calculate(t){return t}findOptimalKeyPoints(t=1,e=1e3){const r=Array.from(Array(e).keys()).map(t=>this.calculate(t/e));let a,o,n=[0],i=0,f=1e3;for(n=n.concat(s.findTurningPoints(r)),n.push(e-1);f--&&i!==n.length-1;)a=s.areaBetweenLineAndCurve(r,n[i],n[i+1]),a<=t?i++:(o=Math.round(n[i]+(n[i+1]-n[i])/2),n.splice(i+1,0,o));return 0===f?[]:n.map(t=>t/(e-1))}}{constructor(t={}){let e;super(),this.bounces=4,this.stiffness=3,this.calculateOmega=(t,e)=>(t+.5)*Math.PI/e,this.exponent=t=>Math.pow(Math.E,-this.alpha*t),this.oscillation=t=>Math.cos(this.omega*t),this.serialize=()=>({stiffness:this.stiffness,bounces:this.bounces}),Object.assign(this,t),this.alpha=this.stiffness/100,e=.005/Math.pow(10,this.stiffness),this.limit=Math.floor(Math.log(e)/-this.alpha),this.omega=this.calculateOmega(this.bounces,this.limit)}calculate(t){if(t>=1)return 1;const e=t*this.limit;return 1-this.exponent(e)*this.oscillation(e)}}class a extends r{constructor(){super(...arguments),this.calculateOmega=(t,e)=>t*Math.PI/e,this.oscillation=t=>Math.sin(this.omega*t)}calculate(t){if(t>=1)return 0;const e=t*this.limit;return this.exponent(e)*this.oscillation(e)}}class o{constructor(e={}){this.componentType="unknown",this.easing="bounce",this.duration=1e3,this.delay=0,this.from=null,this.to=null,this.getMatrix=(e,s)=>(new t).identity(),this.getEasedMatrix=t=>this.getMatrix(),this.serialize=()=>Object.assign({type:this.componentType,easing:this.easing,duration:this.duration,delay:this.delay,from:this.from,to:this.to},this.easingObject.serialize()),this.easing=e.easing||this.easing,this.duration=e.duration||this.duration,this.delay=e.delay||this.delay,this.easingObject=new o.EasingClasses[this.easing](e)}calculateEase(t){return this.easingObject.calculate(t)}}o.EasingClasses={bounce:r,sway:a,hardbounce:class extends r{constructor(){super(...arguments),this.oscillation=t=>Math.abs(Math.cos(this.omega*t))}},hardsway:class extends a{constructor(){super(...arguments),this.oscillation=t=>Math.abs(Math.sin(this.omega*t))}}};var n=function(t,e,s,r){return new(s||(s=Promise))((function(a,o){function n(t){try{f(r.next(t))}catch(t){o(t)}}function i(t){try{f(r.throw(t))}catch(t){o(t)}}function f(t){var e;t.done?a(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(n,i)}f((r=r.apply(t,e||[])).next())}))};class i{constructor(){this.unfinishedAnimations=[],this.duration=0}getWebAPIKeyframes(t={}){throw new Error("Not implemented")}updateDuration(t){this.duration=t||this.duration}get(t,e={}){let s=null;const r=this.getWebAPIKeyframes(e);switch(this.name=e.name||i.generateName(),e.transformSuffix&&r.forEach(t=>{"transform"in t&&(t.transform+=" "+e.transformSuffix)}),t){case"css":{const t=e.prefix||e.forcePrefix?this.getPrefixes(e.forcePrefix):{transform:[""],animation:[""]},a=[];let o,n,f,c;r.forEach(e=>{o=e.transform,n=[],f=[],o&&t.transform.forEach(t=>{n.push(`${t}transform: ${o};`)}),n.length>0&&f.push(n.join(" ")),i.verbatimTransitions.forEach(t=>{t in e&&f.push(`${t}: ${e[t]};`)}),f.length>0&&a.push(`${Math.round(100*e.offset*100)/100}% { ${f.join(" ")} }`)}),c=[],t.animation.forEach(t=>{c.push(`@${t}keyframes ${this.name} { \n ${a.join("\n ")} \n}`)}),s=c.join("\n\n");break}case"webapi":default:s=r}return s}applyTo(t,e={}){let s,r,a=Array.isArray(t)?t:[t];return this.define(),s=this.getPrefixes(),new Promise(t=>{const o=()=>n(this,void 0,void 0,(function*(){e.onComplete&&(yield e.onComplete()),a.forEach(t=>{s.animation.forEach(e=>{t.style.removeProperty(e+"animation")})}),t()}));a.forEach(t=>{s.animation.forEach(s=>{r=[this.name,this.duration+"ms","linear","both"],e.loop&&r.push("infinite"),t.style[s+"animation"]=r.join(" ")})}),e.loop||setTimeout(()=>{const t=this.unfinishedAnimations.indexOf(o);t>=0&&(this.unfinishedAnimations.splice(t,1),o(),this.cleanup())},this.duration),this.unfinishedAnimations.push(o)})}abort(){let t;for(;t=this.unfinishedAnimations.shift();)t();this.cleanup()}cleanup(){0===this.unfinishedAnimations.length&&this.styleElement&&(this.styleElement.remove?this.styleElement.remove():this.styleElement.parentNode&&this.styleElement.parentNode.removeChild(this.styleElement),this.styleElement=null)}define(t){const e=!this.styleElement;return e&&(this.styleElement=document.createElement("style")),this.name=t||i.generateName(),this.styleElement.innerHTML=this.get("css",{name:this.name,prefix:!0}),e&&document.body.appendChild(this.styleElement),this}getPrefixes(t){const e={transform:[""],animation:[""]},s=document.createElement("dummy").style;return(t||!s.transform&&s.webkitTransform)&&(e.transform=["-webkit-",""]),(t||!s.animation&&s.webkitAnimation)&&(e.animation=["-webkit-",""]),e}static isSupported(){const t=document.createElement("dummy").style;let e,s=!0;return[["transform","webkitTransform"],["animation","webkitAnimation"]].forEach(r=>{e=!1,r.forEach(s=>{e=e||s in t}),s=s&&e}),s}}i.verbatimTransitions=["opacity"],i.counter=1,i.generateName=()=>"animation-"+i.counter++;class f extends i{constructor(){super(),this.components=[],this.scale=t=>this.addComponent(new f.ComponentClasses.scale(t)),this.rotate=t=>this.addComponent(new f.ComponentClasses.rotate(t)),this.translate=t=>this.addComponent(new f.ComponentClasses.translate(t)),this.skew=t=>this.addComponent(new f.ComponentClasses.skew(t)),this.serialize=()=>this.components.map(t=>t.serialize())}addComponent(t){return this.components.push(t),this.updateDuration(),this}remove(t){return void 0===t?this.components=[]:this.components.splice(t,1),this}clear(){return this.remove()}deserialize(t){return t.forEach(t=>{f.ComponentClasses.hasOwnProperty(t.type)&&this.addComponent(new f.ComponentClasses[t.type](t))}),this}updateDuration(){this.duration=this.components.map(t=>t.duration+t.delay).reduce((t,e)=>Math.max(t,e),0)}getWebAPIKeyframes(t={}){const e=[],s=this.getKeyframes(t);let r;return this.keys.forEach(t=>{r=s[t],e.push({offset:Math.round(1e4*t)/1e4,transform:"matrix3d"+r})}),e}getKeyframes({optimized:e}={}){let s=[0,1];const r={};let a,o,n;if(e)this.components.forEach(t=>{const e=t.easingObject.findOptimalKeyPoints().map(e=>e*t.duration/this.duration+t.delay/this.duration);t.delay&&e.push(t.delay/this.duration-.001),s=s.concat(e)});else{const t=Math.round(this.duration/1e3*f.FPS);for(let e=0;e<=t;e++)s.push(e/t)}return s=s.sort((t,e)=>t-e),this.keys=[],s.forEach(e=>{r.hasOwnProperty(e)||(a=(new t).identity(),this.components.forEach(t=>{o=e*this.duration,t.delay-o<1e-8&&(n=(e-t.delay/this.duration)/(t.duration/this.duration),a.multiply(t.getEasedMatrix(n)))}),this.keys.push(e),r[e]=a.transpose().toFixed(3))}),r}}f.ComponentClasses={scale:class extends o{constructor(s={}){super(s),this.componentType="scale",this.from={x:.5,y:.5},this.to={x:1,y:1},this.getMatrix=(e,s)=>new t([e,0,0,0,0,s,0,0,0,0,1,0,0,0,0,1]),this.getEasedMatrix=t=>{const e=this.calculateEase(t),s=this.fromVector.clone().add(this.diff.clone().multiply(e));return this.getMatrix(s.x,s.y)},this.from=s.from||this.from,this.to=s.to||this.to,this.fromVector=new e(this.from.x,this.from.y),this.toVector=new e(this.to.x,this.to.y),this.diff=this.toVector.clone().subtract(this.fromVector)}},rotate:class extends o{constructor(e={}){super(e),this.componentType="rotate",this.from=0,this.to=90,this.getMatrix=e=>{const s=e/180*Math.PI,r=Math.cos(s),a=Math.sin(s);return new t([r,-a,0,0,a,r,0,0,0,0,1,0,0,0,0,1])},this.getEasedMatrix=t=>{const e=this.calculateEase(t),s=this.from+this.diff*e;return this.getMatrix(s)},this.from=e.from||this.from,this.to=e.to||this.to,this.diff=this.to-this.from}},translate:class extends o{constructor(s={}){super(s),this.componentType="translate",this.from={x:0,y:0},this.to={x:0,y:0},this.getMatrix=(e,s)=>new t([1,0,0,e,0,1,0,s,0,0,1,0,0,0,0,1]),this.getEasedMatrix=t=>{const e=this.calculateEase(t),s=this.fromVector.clone().add(this.diff.clone().multiply(e));return this.getMatrix(s.x,s.y)},this.from=s.from||this.from,this.to=s.to||this.to,this.fromVector=new e(this.from.x,this.from.y),this.toVector=new e(this.to.x,this.to.y),this.diff=this.toVector.clone().subtract(this.fromVector)}},skew:class extends o{constructor(s={}){super(s),this.componentType="skew",this.from={x:0,y:0},this.to={x:20,y:0},this.getMatrix=(e,s)=>{const r=e/180*Math.PI,a=s/180*Math.PI,o=Math.tan(r),n=Math.tan(a);return new t([1,o,0,0,n,1,0,0,0,0,1,0,0,0,0,1])},this.getEasedMatrix=t=>{const e=this.calculateEase(t),s=this.fromVector.clone().add(this.diff.clone().multiply(e));return this.getMatrix(s.x,s.y)},this.from=s.from||this.from,this.to=s.to||this.to,this.fromVector=new e(this.from.x,this.from.y),this.toVector=new e(this.to.x,this.to.y),this.diff=this.toVector.clone().subtract(this.fromVector)}}},f.FPS=30;class c{constructor(t){this.keyframes=[]}}class l extends c{constructor(t={}){super(t),t=Object.assign({degreesAtRest:0,degreesTwist:22},t),this.keyframes=[{offset:0,transform:`rotate(${t.degreesAtRest-l.dftAngleNumerators[1]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.02,transform:`rotate(${t.degreesAtRest+l.dftAngleNumerators[1]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.04,transform:`rotate(${t.degreesAtRest-l.dftAngleNumerators[2]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.06,transform:`rotate(${t.degreesAtRest+l.dftAngleNumerators[2]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.08,transform:`rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.1,transform:`rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.12,transform:`rotate(${t.degreesAtRest-l.dftAngleNumerators[2]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.14,transform:`rotate(${t.degreesAtRest+l.dftAngleNumerators[2]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.16,transform:`rotate(${t.degreesAtRest-l.dftAngleNumerators[0]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.18,transform:`rotate(${t.degreesAtRest+l.dftAngleNumerators[0]/l.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.2,transform:`rotate(${t.degreesAtRest})`},{offset:1,transform:`rotate(${t.degreesAtRest})`}]}}l.dftAngleNumerators=[12,15,18],l.dftAngleDenominator=22;class h extends c{constructor(t={}){super(t),t=Object.assign({degreesAtRest:0,degreesTwist:22},t),this.keyframes=[{offset:0,transform:`rotate(${t.degreesAtRest-h.dftAngleNumerators[1]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.1,transform:`rotate(${t.degreesAtRest+h.dftAngleNumerators[1]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.2,transform:`rotate(${t.degreesAtRest-h.dftAngleNumerators[2]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.3,transform:`rotate(${t.degreesAtRest+h.dftAngleNumerators[2]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.4,transform:`rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.5,transform:`rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.6,transform:`rotate(${t.degreesAtRest-h.dftAngleNumerators[2]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.7,transform:`rotate(${t.degreesAtRest+h.dftAngleNumerators[2]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.8,transform:`rotate(${t.degreesAtRest-h.dftAngleNumerators[0]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:.9,transform:`rotate(${t.degreesAtRest+h.dftAngleNumerators[0]/h.dftAngleDenominator*t.degreesTwist}deg)`},{offset:1,transform:`rotate(${t.degreesAtRest})`}]}}h.dftAngleNumerators=[12,15,18],h.dftAngleDenominator=22;class m extends i{constructor(){super(),this.updateDuration(1e3)}set(t,e){return this.effect=new m.EffectClasses[t](e),"duration"in e&&this.updateDuration(e.duration),this}getWebAPIKeyframes(t={}){const e=[];return this.effect&&this.effect.keyframes.forEach(t=>{e.push(Object.assign({},t))}),e}}m.EffectClasses=Object.freeze({bouncing:class extends c{constructor(t={}){super(t),t=Object.assign({pixels:-15},t),this.keyframes=[{offset:0,transform:"translate(0, 0)"},{offset:.1,transform:"translate(0, 0)"},{offset:.2,transform:"translate(0, 0)"},{offset:.4,transform:`translate(0, ${t.pixels}px)`},{offset:.5,transform:"translate(0, 0)"},{offset:.6,transform:`translate(0, ${t.pixels}px)`},{offset:.8,transform:"translate(0, 0)"},{offset:1,transform:"translate(0, 0)"}]}},burst:class extends c{constructor(t={}){super(t),t=Object.assign({opacityStart:.6,scaleGrow:1.8},t),this.keyframes=[{offset:0,opacity:t.opacityStart},{offset:.5,opacity:0,transform:`scale(${t.scaleGrow})`},{offset:1,opacity:0}]}},falling:class extends c{constructor(t={}){super(t),t=Object.assign({},t),this.keyframes=[{offset:0,opacity:0,transform:"translate(0, -50%)"},{offset:.5,opacity:1,transform:"translate(0, 0)"},{offset:1,opacity:0,transform:"translate(0, 50%)"}]}},flashing:class extends c{constructor(t={}){super(t),t=Object.assign({},t),this.keyframes=[{offset:0,opacity:1},{offset:.25,opacity:0},{offset:.5,opacity:1},{offset:.75,opacity:0},{offset:1,opacity:1}]}},floating:class extends c{constructor(t={}){super(t),t=Object.assign({pixels:-6},t),this.keyframes=[{offset:0,transform:"translate(0, 0)"},{offset:.5,transform:`translate(0, ${t.pixels}px)`},{offset:1,transform:"translate(0, 0)"}]}},horizontal:class extends c{constructor(t={}){super(t),t=Object.assign({pixels:3},t),this.keyframes=[{offset:0,transform:`translate(${-t.pixels}px, 0)`},{offset:.04,transform:`translate(${t.pixels}px, 0)`},{offset:.08,transform:`translate(${-t.pixels}px, 0)`},{offset:.12,transform:`translate(${t.pixels}px, 0)`},{offset:.16,transform:`translate(${-t.pixels}px, 0)`},{offset:.2,transform:`translate(${t.pixels}px, 0)`},{offset:.22,transform:"translate(0, 0)"},{offset:1,transform:"translate(0, 0)"}]}},launchright:class extends c{constructor(t={}){super(t),t=Object.assign({scaleGrow:1.1},t),this.keyframes=[{offset:0,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:.1,opacity:1,transform:`scale(${t.scaleGrow}, ${t.scaleGrow}) translate(0, 0)`},{offset:.2,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:.3,opacity:1,transform:`scale(${t.scaleGrow}, ${t.scaleGrow}) translate(0, 0)`},{offset:.4,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:.5,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:1,opacity:0,transform:`scale(${t.scaleGrow}, ${t.scaleGrow}) translate(900%, 0)`}]}},launchup:class extends c{constructor(t={}){super(t),t=Object.assign({scaleGrow:1.1},t),this.keyframes=[{offset:0,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:.1,opacity:1,transform:`scale(${t.scaleGrow}, ${t.scaleGrow}) translate(0, 0)`},{offset:.2,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:.3,opacity:1,transform:`scale(${t.scaleGrow}, ${t.scaleGrow}) translate(0, 0)`},{offset:.4,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:.5,opacity:1,transform:"scale(1, 1) translate(0, 0)"},{offset:1,opacity:0,transform:`scale(${t.scaleGrow}, ${t.scaleGrow}) translate(0, -900%)`}]}},openrightout:class extends c{constructor(t={}){super(t),t=Object.assign({transformOrigin:"top right",degreesTwist:-110},t),this.keyframes=[{offset:0,opacity:1,"transform-origin":t.transformOrigin,transform:"rotate(0deg)",easing:"ease-out"},{offset:1,opacity:0,"transform-origin":t.transformOrigin,transform:"rotate(-110deg)",easing:"ease-in-out"}]}},passing:class extends c{constructor(t={}){super(t),t=Object.assign({},t),this.keyframes=[{offset:0,opacity:0,transform:"translate(-50%, 0)"},{offset:.5,opacity:1,transform:"translate(0, 0)"},{offset:1,opacity:0,transform:"translate(50%, 0)"}]}},pulse:class extends c{constructor(t={}){super(t),t=Object.assign({scaleAtRest:1,scaleShrink:.73},t),this.keyframes=[{offset:0,transform:`scale(${t.scaleAtRest})`},{offset:.5,transform:`scale(${t.scaleShrink})`},{offset:1,transform:`scale(${t.scaleAtRest})`}]}},ringing:l,shake:h,spinner:class extends c{constructor(t={}){super(t),t=Object.assign({},t),this.keyframes=[{offset:0,transform:"rotate(0deg)"},{offset:1,transform:"rotate(359deg)"}]}},tada:class extends c{constructor(t={}){super(t),t=Object.assign({degreesAtRest:0,degreesTwist:4,scaleGrow:1.1,scaleShrink:.95},t),this.keyframes=[{offset:0,transform:`scale(1) rotate(${t.degreesAtRest}deg)`},{offset:.1,transform:`scale(${t.scaleShrink}) rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.2,transform:`scale(${t.scaleShrink}) rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.3,transform:`scale(${t.scaleGrow}) rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.4,transform:`scale(${t.scaleGrow}) rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.5,transform:`scale(${t.scaleGrow}) rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.6,transform:`scale(${t.scaleGrow}) rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.7,transform:`scale(${t.scaleGrow}) rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.8,transform:`scale(1) rotate(${t.degreesAtRest}deg)`},{offset:1,transform:`scale(1) rotate(${t.degreesAtRest}deg)`}]}},wrench:class extends c{constructor(t={}){super(t),t=Object.assign({degreesAtRest:0,degreesTwist:24},t),this.keyframes=[{offset:0,transform:`rotate(${t.degreesAtRest-t.degreesTwist/2}deg)`},{offset:.08,transform:`rotate(${t.degreesAtRest+t.degreesTwist/2}deg)`},{offset:.1,transform:`rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.18,transform:`rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.2,transform:`rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.28,transform:`rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.38,transform:`rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.48,transform:`rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.5,transform:`rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.58,transform:`rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.6,transform:`rotate(${t.degreesAtRest-t.degreesTwist}deg)`},{offset:.68,transform:`rotate(${t.degreesAtRest+t.degreesTwist}deg)`},{offset:.75,transform:`rotate(${t.degreesAtRest}deg)`},{offset:1,transform:`rotate(${t.degreesAtRest}deg)`}]}},vertical:class extends c{constructor(t={}){super(t),t=Object.assign({pixels:3},t),this.keyframes=[{offset:0,transform:`translate(0, ${-t.pixels}px)`},{offset:.04,transform:`translate(0, ${t.pixels}px)`},{offset:.08,transform:`translate(0, ${-t.pixels}px)`},{offset:.12,transform:`translate(0, ${t.pixels}px)`},{offset:.16,transform:`translate(0, ${-t.pixels}px)`},{offset:.2,transform:`translate(0, ${t.pixels}px)`},{offset:.22,transform:"translate(0, 0)"},{offset:1,transform:"translate(0, 0)"}]}}}),exports.Complex=f,exports.Simple=m; //# sourceMappingURL=keyframegen.min.js.map