(function(){var lr=document&&document.currentScript&&document.currentScript.src;(window.webpackJsonpruntime=window.webpackJsonpruntime||[]).push([[3],{"7uCZ":function(we,gt){(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(it,nt,B){"use strict";B.d(nt,"d",function(){return $}),B.d(nt,"g",function(){return U}),B.d(nt,"c",function(){return vt}),B.d(nt,"a",function(){return et}),B.d(nt,"b",function(){return ft}),B.d(nt,"e",function(){return tt}),B.d(nt,"f",function(){return G});var $={SCENE:"scenejs",ANIME:"animejs"},U={ENTRANCE:"entrance",ALWAYS:"always",HOVER:"hover"},vt={MOUSE_PROXIMITY:"mouse-proximity",VIEWPORT:"viewport"},et={ATOMIC:"atomic",MIX:"mix",JOIN:"join"},ft="data-anim-descriptor",tt={intensity:1,duration:1,delay:0,yoyo:!1,loop:!1,reverse:!1,arrive:!1,easing:"cubic-bezier(0.42, 0, 0.58, 1)",relative:!1,proximityThreshold:1e3,viewportThresholds:{top:0,bottom:0}},G=["translate","translate3d","translateX","translateY","translateZ","scale","scale3d","scaleX","scaleY","scaleZ","rotate","rotate3d","rotateX","rotateY","rotateZ","skew","skewX","skewY"]},function(it,nt,B){"use strict";function $(b){return($=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k})(b)}function U(b){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A=arguments.length>2&&arguments[2]!==void 0&&arguments[2];try{var M=b.ownerDocument.defaultView,w=ft(b),j=-w.width1&&arguments[1]!==void 0&&arguments[1],A=getComputedStyle(b),M=A.position==="absolute",w=k?/(auto|scroll|hidden)/:/(auto|scroll)/;if(A.position==="fixed")return et();for(var j=b;j=j.parentElement;)if(A=getComputedStyle(j),(!M||A.position!=="static")&&w.test(A.overflow+A.overflowY+A.overflowX)){var F=!0;if(j.scrollTop===0&&(j.scrollTop=1,j.scrollTop===0?F=!1:j.scrollTop=0),F)return j===document.body?et():j}return et()}function et(){return document.scrollingElement||document.documentElement||document.body}function ft(b){if(!D(b.originalElementStyle)){var k=b.getAttribute("style");b.setAttribute("style",b.originalElementStyle);var A=b.getBoundingClientRect();return k==="null"?b.removeAttribute("style"):b.setAttribute("style",k),A}return b.getBoundingClientRect()}function tt(b,k){if(!k(b)){for(var A=b+"-2",M=3;!k(A);M++)A=b+"-".concat(M);return A}return b}function G(b){return Array.isArray(b)?b:[b]}B.d(nt,"g",function(){return U}),B.d(nt,"d",function(){return vt}),B.d(nt,"b",function(){return et}),B.d(nt,"c",function(){return ft}),B.d(nt,"e",function(){return tt}),B.d(nt,"a",function(){return G}),B.d(nt,"h",function(){return ht}),B.d(nt,"j",function(){return bt}),B.d(nt,"i",function(){return at}),B.d(nt,"f",function(){return R}),B.d(nt,"k",function(){return D});var st=function(b){return Object.prototype.toString.call(b).match(/^\[object\s(.*)\]$/)[1]},ht=function(b){return st(b)==="Function"},bt=function(b){return st(b)==="String"};function at(b){var k=$(b);return b!=null&&(k==="object"||k==="function")}var R=function b(k,A){return ht(k)?b(k(A),A):k},D=function(b){return b===void 0}},function(it,nt,B){"use strict";B.d(nt,"a",function(){return at});var $=B(6),U=B.n($),vt=B(1);function et(R,D){var b=Object.keys(R);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(R);D&&(k=k.filter(function(A){return Object.getOwnPropertyDescriptor(R,A).enumerable})),b.push.apply(b,k)}return b}function ft(R){for(var D=1;DR.length)&&(D=R.length);for(var b=0,k=new Array(D);b0&&arguments[0]!==void 0?arguments[0]:"",M=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];st(this,R),bt(this,"strState",null),R.sharedElement||(R.sharedElement=document.createElement("div")),this.elem.setAttribute("style",A),M&&this._cleanStyle()}var D,b,k;return D=R,k=[{key:"fromObject",value:function(A){var M=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],w=function j(F,T,L){return Object.entries(F).map(function(K){var X=tt(K,2),J=X[0],q=X[1];return J==="transform"&&Object(vt.i)(q)?"".concat(J,": ").concat(j(q,function(Z,Ot){return"".concat(Z,"(").concat(Ot,")")}," ")):T(J,q)}).join(L)};return new R(w(A,function(j,F){return"".concat(j,": ").concat(F)},"; "),M)}},{key:"_objectifyTransformString",value:function(A){var M={};return A.split(") ").forEach(function(w){if(w.trim()){var j=tt(w.split("(").map(function(L){return U()(L,"() ")}),2),F=j[0],T=j[1];M[F]=T}}),M}},{key:"_transformObjectToString",value:function(A){return Object.entries(A).sort(R.transformSorter).map(function(M){var w=tt(M,2),j=w[0],F=w[1];return"".concat(j,"(").concat(F,")")}).join(" ")}},{key:"sortTransform",value:function(A){return R._transformObjectToString(new R("transform: ".concat(A)).toObject().transform)}},{key:"getNegativeTransform",value:function(A){var M=this;if(!A)return A;var w=this._objectifyTransformString(A);return Object.entries(w).map(function(j){var F=tt(j,2),T=F[0],L=F[1],K=M._extractTransformParams(L).map(function(X,J){return T.startsWith("scale")?String(1/X.number):T==="rotate3d"&&J!==3?"".concat(X.number).concat(X.unit):"".concat(-X.number).concat(X.unit)}).join(", ");return"".concat(T,"(").concat(K,")")}).join(" ")}},{key:"_extractTransformParams",value:function(A){var M=/[^0-9-.]/;return A.split(",").map(function(w){return w.trim()}).map(function(w){return{raw:w,number:parseFloat(w),unit:w.match(M)?w.substr(w.match(M).index):""}})}},{key:"transformSorter",value:function(A,M){var w=tt(A,1)[0],j=tt(M,1)[0],F=function(T){return w.startsWith(T)&&!j.startsWith(T)?-1:!w.startsWith(T)&&j.startsWith(T)?1:0};return F("translate")||F("scale")||0}}],(b=[{key:"toString",value:function(){return this.elem.getAttribute("style")}},{key:"toObject",value:function(){for(var A=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],M=this.elem.style,w={},j=0;j1&&arguments[1]!==void 0)||arguments[1],j=(A=A instanceof R?A:new R(A)).toObject();return Object.entries(j).forEach(function(F){var T=tt(F,2),L=T[0],K=T[1];if(L==="transform"){var X=M._mergeTransform(j.transform,w);M.elem.style.transform=Object.entries(X).sort(R.transformSorter).map(function(J){var q=tt(J,2),Z=q[0],Ot=q[1];return"".concat(Z,"(").concat(Ot,")")}).join(" ")}else w&&M.elem.style[L]!==void 0&&(M.elem.style[L]=K)}),this}},{key:"addTransform",value:function(A){if(!A)return this;Object(vt.j)(A)&&(A=new R("transform: ".concat(A)).toObject().transform);var M=Object.entries(A).sort(R.transformSorter).reduce(function(w,j){var F=tt(j,2),T=F[0],L=F[1];if(w[T]){var K=R._extractTransformParams(L),X=R._extractTransformParams(w[T]);w[T]=K.map(function(J,q){if(J.unit!==X[q].unit&&X[q].unit&&J.unit)throw"unit mismatch: "+X[q].unit+" | "+J.unit;var Z;return T==="rotate3d"&&q<3?X[q].number!==J.number?console.error("trying to add rotation on different axis"):Z=X[q].number:Z=T.startsWith("scale")?X[q].number*J.number:X[q].number+J.number,"".concat(Z).concat(J.unit||X[q].unit)}).join(", ")}else w[T]=L;return w},this.toObject().transform||{});return this.elem.style.transform="",this.extend(R.fromObject({transform:M})),this}},{key:"_mergeTransform",value:function(A){var M=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return Object.entries(A).reduce(function(w,j){var F=tt(j,2),T=F[0],L=F[1],K=["translate","scale","rotate"];if(K.some(function(J){return[J+"X",J+"Y",J+"Z"].includes(T)}))w[T.slice(0,-1)]&&!M||(w[T]=L);else if(K.includes(T)){var X=Object.keys(w);K.some(function(J){return X.some(function(q){return q.startsWith(J)})})&&!M||(w[T]=L)}else(w[T]===void 0||M)&&(w[T]=L);return w},ft({},this.toObject().transform))}},{key:"_cleanStyle",value:function(){var A=this.toObject();if(A.transform){var M={translate:{},scale:{},rotate:{}},w=["X","Y","Z"];Object.entries(A.transform).forEach(function(j){var F=tt(j,2),T=F[0],L=F[1],K=Object.keys(M).find(function(X){return T.startsWith(X)});K&&(K===T||T===K+"3d"&&K!=="rotate"?R._extractTransformParams(L).forEach(function(X,J){var q=M[K][w[J].toLowerCase()];q?q.unit===X.unit||!X.unit&&!X.number||!q.unit&&!q.number?K==="scale"?M[K][w[J].toLowerCase()].number*=X.number:M[K][w[J].toLowerCase()].number+=X.number:console.error("Transform conflict!",T):M[K][w[J].toLowerCase()]=X}):T==="rotate3d"?M.rotate["3d"]=L:w.forEach(function(X){if(T===K+X){var J=M[K][X.toLowerCase()],q=R._extractTransformParams(L)[0];J?J.unit===q.unit||!J.unit&&!J.number||!q.unit&&!q.number?K==="scale"?M[K][X.toLowerCase()].number*=q.number:M[K][X.toLowerCase()].number+=q.number:console.error("Transform conflict!",T):M[K][X.toLowerCase()]=q}}))}),Object.keys(M).forEach(function(j){if(Object.keys(M[j]).length){A.transform=Object.fromEntries(Object.entries(A.transform).filter(function(T){return!tt(T,1)[0].startsWith(j)}));var F=Object.keys(M[j]).length;F>1||j==="rotate"&&!M[j]["3d"]?A.transform[j+(F===3?"3d":"")]=w.map(function(T){var L=M[j][T.toLowerCase()];if(L)return String(L.number+L.unit)}).filter(function(T){return!!T}).join(", "):w.forEach(function(T){var L=M[j][T.toLowerCase()];L&&(A.transform[j+T]=L.number+L.unit)})}M.rotate["3d"]&&(A.transform.rotate3d=M.rotate["3d"])}),this.elem.style.transform=R._transformObjectToString(A.transform)}}},{key:"elem",get:function(){return R.current!==this&&(R.current&&(R.current.strState=R.sharedElement.getAttribute("style")),R.sharedElement.setAttribute("style",this.strState),R.current=this),R.sharedElement}}])&&ht(D.prototype,b),k&&ht(D,k),R}();bt(at,"sharedElement",null),bt(at,"current",null)},function(it,nt,B){"use strict";B.d(nt,"a",function(){return rt});var $=B(1),U=B(0),vt=B(7),et=B.n(vt),ft=B(12),tt=B.n(ft),G=B(2);function st(l){return function(f){if(Array.isArray(f))return D(f)}(l)||function(f){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(f))return Array.from(f)}(l)||R(l)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ht(l,f){var v=Object.keys(l);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(l);f&&(g=g.filter(function(o){return Object.getOwnPropertyDescriptor(l,o).enumerable})),v.push.apply(v,g)}return v}function bt(l,f,v){return f in l?Object.defineProperty(l,f,{value:v,enumerable:!0,configurable:!0,writable:!0}):l[f]=v,l}function at(l,f){return function(v){if(Array.isArray(v))return v}(l)||function(v,g){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(v)))){var o=[],u=!0,m=!1,p=void 0;try{for(var _,I=v[Symbol.iterator]();!(u=(_=I.next()).done)&&(o.push(_.value),!g||o.length!==g);u=!0);}catch(Y){m=!0,p=Y}finally{try{u||I.return==null||I.return()}finally{if(m)throw p}}return o}}(l,f)||R(l,f)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function R(l,f){if(l){if(typeof l=="string")return D(l,f);var v=Object.prototype.toString.call(l).slice(8,-1);return v==="Object"&&l.constructor&&(v=l.constructor.name),v==="Map"||v==="Set"?Array.from(l):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?D(l,f):void 0}}function D(l,f){(f==null||f>l.length)&&(f=l.length);for(var v=0,g=new Array(f);v0&&arguments[0]!==void 0&&arguments[0],m=u?"getTransformPropertyNamesAt":"getPropertyNamesAt";return this.getTimeKeys().map(function(p){return o[m](p)}).reduce(function(p,_){return _.forEach(function(I){p.includes(I)||p.push(I)}),p},[])}},{key:"getAllTransformPropertyNames",value:function(){return this.getAllPropertyNames(!0)}},{key:"getFirstValues",value:function(){return this._getFirstOrLastValue(!0)}},{key:"getLastValues",value:function(){return this._getFirstOrLastValue(!1)}},{key:"_getFirstOrLastValue",value:function(){var o=this,u=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.getTimeKeys().reduce(function(m,p){o.getPropertyNamesAt(p).forEach(function(ot){!Object($.k)(m[ot])&&u||ot==="transform"||(m[ot]=o.getPropertyAt(p,ot))});var _=o.getPropertyAt(p,"transform"),I=u?{transform:_}:{transform:m.transform||""},Y=u?{transform:m.transform||""}:{transform:_};return _&&(m.transform=G.a.fromObject(I).extend(G.a.fromObject(Y)).toObject(!1).transform),m},{})}},{key:"normalize",value:function(){var o=this.getOffset(),u=100/this.getDuration();return this.rawTimeline=this.getEntries().reduce(function(m,p){var _=at(p,2),I=_[0],Y=_[1];return m[String(((parseFloat(I)-o)*u).toFixed(2))]=Y,m},{}),this}},{key:"getTimeKeys",value:function(){return Object.keys(this.rawTimeline).map(function(o){return parseFloat(o)}).sort(function(o,u){return ou?1:0})}},{key:"getEntries",value:function(){return Object.entries(this.rawTimeline).map(function(o){var u=at(o,2),m=u[0],p=u[1];return[parseFloat(m),p]}).sort(function(o,u){var m=at(o,1)[0],p=at(u,1)[0];return mp?1:0})}},{key:"getDuration",value:function(){var o=this.getTimeKeys();return o.slice(-1)[0]-o[0]}},{key:"getTotalDuration",value:function(){return this.getTimeKeys().slice(-1)[0]}},{key:"getOffset",value:function(){return this.getTimeKeys()[0]}},{key:"transform",value:function(o){var u=o.duration,m=u===void 0?null:u,p=o.delay,_=p===void 0?0:p;return m&&this.changeDuration(m),this.addOffset(_),this}},{key:"changeDuration",value:function(o){var u=this.getOffset(),m=o/this.getDuration();return this.rawTimeline=this.getEntries().reduce(function(p,_){var I=at(_,2),Y=I[0],ot=I[1];return p[String(((parseFloat(Y)-u)*m+u).toFixed(2))]=ot,p},{}),this}},{key:"addOffset",value:function(o){return this.rawTimeline=this.getEntries().reduce(function(u,m){var p=at(m,2),_=p[0],I=p[1];return u[(parseFloat(_)+o).toFixed(2)]=I,u},{}),this}},{key:"removeOffset",value:function(){var o=this.getOffset();return this.rawTimeline=this.getEntries().reduce(function(u,m){var p=at(m,2),_=p[0],I=p[1];return u[String((parseFloat(_)-o).toFixed(2))]=I,u},{}),this}},{key:"reverse",value:function(){var o=this.getOffset(),u=this.getDuration();return this.rawTimeline=this.getEntries().reverse().reduce(function(m,p){var _=at(p,2),I=_[0],Y=_[1];return m[String((u-(parseFloat(I)-o)).toFixed(2))]=Y,m},{}),this}},{key:"addTransform",value:function(o){return o?(this.rawTimeline=this.getEntries().reduce(function(u,m){var p=at(m,2),_=p[0],I=p[1],Y=G.a.fromObject(I);return Y.addTransform(o),u[_.toFixed(2)]=Y.toObject(!1),u},{}),this):this}},{key:"subtractTransform",value:function(o){return this.addTransform(G.a.getNegativeTransform(o))}}])&&b(f.prototype,v),g&&b(f,g),l}();function A(l,f){var v=Object.keys(l);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(l);f&&(g=g.filter(function(o){return Object.getOwnPropertyDescriptor(l,o).enumerable})),v.push.apply(v,g)}return v}function M(l){return function(f){if(Array.isArray(f))return w(f)}(l)||function(f){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(f))return Array.from(f)}(l)||function(f,v){if(!!f){if(typeof f=="string")return w(f,v);var g=Object.prototype.toString.call(f).slice(8,-1);if(g==="Object"&&f.constructor&&(g=f.constructor.name),g==="Map"||g==="Set")return Array.from(f);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return w(f,v)}}(l)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function w(l,f){(f==null||f>l.length)&&(f=l.length);for(var v=0,g=new Array(f);v0&&arguments[0]!==void 0?arguments[0]:{},u=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.getAnimation()._recompose(o,u),this._replaceAnimation(this.getAnimation())}},{key:"_saveTargetElementOriginalStyle",value:function(){this.originalElementStyle=this.targetElement.getAttribute("style"),this.targetElement.originalElementStyle=this.originalElementStyle,this.targetElement.scrollParent=Object($.d)(this.targetElement)}},{key:"_seekToViewportPosition",value:function(){if(this.getAnimation().manager.libOptions.jitAnimation&&!Object($.g)(this.targetElement,0,!0))this.seekToEnd();else{var o=this.targetElement.scrollParent===Object($.b)(),u=o?window.innerHeight:this.targetElement.scrollParent.clientHeight,m=Object($.c)(this.targetElement),p=Object($.c)(this.targetElement.scrollParent),_=o?m.top:m.top-p.top,I=function(dt){for(var pt=1;ptl.length)&&(f=l.length);for(var v=0,g=new Array(f);v1&&arguments[1]!==void 0&&arguments[1];if(Object($.j)(o))return this._getMultiInstanceAPI(Array.from(document.querySelectorAll(o)).reduce(function(I,Y){return I.push(u.apply(Y)),I},[]));var p=this.manager.getInstancesByElement(o).filter(function(I){return I.getAnimation().getTrigger()===u.getTrigger()});p.forEach(function(I){I.remove(),u.manager._removeInstance(I)});var _=new T(this,o,this.manager.EngineClass);return this._registerInstance(_,m),_}},{key:"createVariation",value:function(o){var u=this.manager.createAnimation(Z(Z(Z({},this.descriptor),o),{},{options:Z({},this.getOptions())}));return u.setOptions(o.options||{}),u.compositionType=this.compositionType,u.subAnimations=L(this.subAnimations),u}},{key:"setEffect",value:function(o){var u,m=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return(Object($.j)(o)||Object($.h)(o))&&(this.originalEffect=o),Object($.j)(o)&&this.descriptor&&(this.descriptor.effect=o),this.effect=Object($.j)(o)?this.manager._getEffect(o,Z(Z({},((u=this.manager._getEffect(o))===null||u===void 0?void 0:u.defaultOptions)||{}),this.getOptions())):o,m&&this.resetAllInstances(),this}},{key:"getEffect",value:function(){return this.descriptor.effect&&Object($.j)(this.descriptor.effect)?this.descriptor.effect:this.originalEffect}},{key:"setTrigger",value:function(o){return this.descriptor.trigger=o,this._updateTimeline(),this}},{key:"setOptions",value:function(o){var u=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return o.duration==="auto"&&this._isAtomic&&(o=Z(Z({},o),{},{duration:this.getDuration()})),o.duration==="auto"||this._isAtomic||(this.autoDuration=!1),this.descriptor.options=Z(Z({},this.descriptor.options),o),this._updateInstances(),this._updateTimeline(),u&&this.resetAllInstances(),this}},{key:"resetAllInstances",value:function(){this.manager.getInstancesByAnimation(this).forEach(function(o){o.reset()})}},{key:"contains",value:function(o){return this.subAnimations.includes(o)||this.subAnimations.some(function(u){return u.contains(o)})}},{key:"reverse",value:function(){return this.setOptions({reverse:!this.getOptions().reverse}),this}},{key:"setName",value:function(o){return this.descriptor.name=o,this._updateTimeline(),this}},{key:"getName",value:function(){return this.descriptor.name||(this._isAtomic?this.originalEffect:this.compositionType)}},{key:"setDelay",value:function(o){return this.setOptions({delay:o}),this}},{key:"setDuration",value:function(o){return this.setOptions({duration:o}),this}},{key:"join",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this._compose(U.a.JOIN,o,u)}},{key:"mix",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this._compose(U.a.MIX,o,u)}},{key:"getChild",value:function(o){return Object($.j)(o)?this.subAnimations.find(function(u){return u.getName()===o}):this.subAnimations[o]?this.subAnimations[o]:void 0}},{key:"getOption",value:function(o){return this.descriptor.options[o]||null}},{key:"getSub",value:function(o){var u=this.getChild(o);return u||((u=this.subAnimations.find(function(m){return m.getSub(o)}))?u.getSub(o):void 0)}},{key:"insertChildAfter",value:function(o,u){var m=this.subAnimations.indexOf(u);if(m!==-1)return this.insertChild(o,m+1),!0}},{key:"insertChild",value:function(o,u){if(!this._isAtomic)if(o instanceof l)this.subAnimations.splice(u,0,o),this.resetAllInstances();else{var m=this.manager.createAnimation(o);m&&(this.subAnimations.splice(u,0,m),this.resetAllInstances())}}},{key:"removeChild",value:function(o){if(this.contains(o))return this.subAnimations.includes(o)?this.subAnimations.splice(this.subAnimations.indexOf(o),1):this.subAnimations.find(function(m){return m.contains(o)}).removeChild(o),this.subAnimations.length===1?this._replace(this.subAnimations[0]):this.setDuration(this.getDuration()-o.getDuration()),this.resetAllInstances(),!0;var u=this.getChild(o);u&&this.removeChild(u)}},{key:"getController",value:function(){if(this.manager._getExtra("getController",!0))return this.manager._getExtra("getController")(this)}},{key:"showComposition",value:function(){this.manager._getExtra("showComposition",!0)&&this.manager._getExtra("showComposition")(this)}},{key:"_updateTimeline",value:function(){this.manager._getExtra("updateTimeline")&&this.manager._getExtra("updateTimeline")(this)}},{key:"_registerInstance",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.manager._addInstance(o,u)}},{key:"_getTimeline",value:function(){var o,u=Z(Z({},this.effect.defaultOptions||{}),this.getOptions());if(this.effect.timeline?o=this.effect.timeline instanceof k?this.effect.timeline.rawTimeline:Object($.f)(this.effect.timeline,u):this.effect.tween&&(o=k.fromTween(Object($.f)(this.effect.tween,u)).rawTimeline),o){var m=new k(o);return this.getOptions().arrive&&m.subtractTransform(m.getLastValues().transform),this.getOptions().reverse?m.reverse():m}return null}},{key:"_getMultiInstanceAPI",value:function(o){var u=this;return Object.getOwnPropertyNames(T.prototype).reduce(function(m,p){return p==="constructor"||p.startsWith("_")||p==="getAnimation"||(m[p]=function(){for(var _=arguments.length,I=new Array(_),Y=0;Y<_;Y++)I[Y]=arguments[Y];return o.map(function(ot){return ot[p].apply(ot,I)})}),m},{getAnimation:function(){return u}})}},{key:"_replaceDescriptor",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.descriptor=o,this.setEffect(this.descriptor.effect,u),this}},{key:"_replace",value:function(o){var u=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return this._replaceDescriptor(o.descriptor),l._copy(o,this),u&&this.resetAllInstances(),this}},{key:"_recompose",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._isAtomic)this.copyOf?this._replaceDescriptor(Z(Z(Z({},this.getOriginal().descriptor),this.descriptor),{},{options:Z(Z({},this.getOriginal().getOptions()),this.getOptions())})):this._resetEffect();else{this.subAnimations.forEach(function(m){return m._recompose()});var u=this.manager._compose(this.compositionType,this.subAnimations,{trigger:o.trigger||this.getTrigger(),name:o.name||this.getName(),options:Z(Z({},this.getOptions()),o.options)});this._replace(u,!1)}return this._updateTimeline(),this}},{key:"_compose",value:function(o,u){var m=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(u=l._getAnimationsArray(this.manager,Object($.a)(u)),this.compositionType===o){var p;if(m)return(p=this.subAnimations).push.apply(p,L(u)),this._recompose();var _,I=this.clone();return(_=I.subAnimations).push.apply(_,L(u)),I._recompose()}var Y=this.manager._compose(o,[this.clone()].concat(L(u)));return Y.setDuration(this.autoDuration?"auto":this.getDuration()),m?(this._replace(Y),this):Y}},{key:"_updateInstances",value:function(){this.manager.getInstancesByAnimation(this).forEach(function(o){o._update()})}},{key:"_resetEffect",value:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.originalEffect&&this.setEffect(this.originalEffect,o)}},{key:"_isAtomic",get:function(){return this.compositionType===U.a.ATOMIC}}])&&Ot(f.prototype,v),g&&Ot(f,g),l}();function $t(l,f){var v=Object.keys(l);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(l);f&&(g=g.filter(function(o){return Object.getOwnPropertyDescriptor(l,o).enumerable})),v.push.apply(v,g)}return v}function wt(l){for(var f=1;f0&&arguments[0]!==void 0?arguments[0]:null,m=u||this.manager.getInstancesByTrigger(U.g.ENTRANCE);m.forEach(function(p){p.didPlay||(o.manager.libOptions.jitAnimation?(p.visibilityPriority=Object($.k)(p.visibilityPriority)?p.targetElement.style.getPropertyPriority("visibility"):p.visibilityPriority,p.targetElement.style.visibility="hidden",p.seekToEnd()):p.seek(0),Object($.g)(p.targetElement,0,!0)&&(o.manager.libOptions.jitAnimation&&(p.seek(0),p.targetElement.style.setProperty("visibility","visible",p.visibilityPriority)),m.length>20?requestAnimationFrame(function(){return p.play()}):p.play()))})}},{key:"_driveViewportDrivenAnimations",value:function(o){var u=this;this.manager.getInstancesByTrigger(U.c.VIEWPORT).filter(function(m){return m.targetElement.scrollParent===Object($.b)()&&[document,Object($.b)(),window].includes(o.target)?u.manager.libOptions.jitAnimation||Object($.g)(m.targetElement,0,!0):m.targetElement.scrollParent===o.target}).forEach(function(m){m._seekToViewportPosition()})}}])&&ut(f.prototype,v),g&&ut(f,g),l}();function Kt(l,f){var v=Object.keys(l);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(l);f&&(g=g.filter(function(o){return Object.getOwnPropertyDescriptor(l,o).enumerable})),v.push.apply(v,g)}return v}function zt(l){for(var f=1;fl.length)&&(f=l.length);for(var v=0,g=new Array(f);v0&&arguments[0]!==void 0?arguments[0]:{};H(this,l),z(this,"EngineClass",null),z(this,"effects",{}),z(this,"animationInstances",[]),z(this,"disabled",!1),this.setEngine(l.SceneEngine?"scenejs":"animejs"),Zt(this),this.libOptions=o,this.dispatcher=new Tt(this),this._scanDomForAnimations(),this._activate()}var f,v,g;return f=l,(v=[{key:"setEngine",value:function(o){var u=l[o===U.d.SCENE?"SceneEngine":o===U.d.ANIME?"AnimeEngine":null];if(!u)throw"Failed to load engine";this.EngineClass=u}},{key:"reset",value:function(){O(this.animationInstances).forEach(function(o){o.reset()})}},{key:"defineEffect",value:function(o,u){this.effects[o]=u}},{key:"getAllEffectNames",value:function(){return Object.keys(this.effects)}},{key:"getOptionsForEffect",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0&&arguments[1],m=this._getEffect(o);return u?m.defaultOptions||{}:Object.fromEntries(Object.entries(m.defaultOptions||{}).filter(function(p){var _=Qt(p,1)[0];return!U.e[_]}))}},{key:"getInstancesByElement",value:function(o){return this._filterInstances(function(u){return u.targetElement===o})}},{key:"mix",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._compose(U.a.MIX,o,u)}},{key:"join",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._compose(U.a.JOIN,o,u)}},{key:"animate",value:function(o){var u=this;return function(m){return m instanceof It?m.apply(o):u.createAnimation(m).apply(o)}}},{key:"createAnimation",value:function(o){var u=this;return function m(p){var _=function(I){return I[U.a.JOIN]?U.a.JOIN:I[U.a.MIX]?U.a.MIX:null};if(_(p))return u[_(p)](p[_(p)].map(function(I){return I instanceof It?I:_(I)?m(I):new It(u,I)}));if(p.effect)return new It(u,p);throw"Illegal composition structure"}(o)}},{key:"composeTimelines",value:function(o){var u=this,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U.a.MIX,p=Object.entries(o).map(function(_){var I=Qt(_,2),Y=I[0],ot=I[1];return u.createAnimation({effect:Y,options:ot})});return this.createAnimation(z({},m,p))._getTimeline().rawTimeline}},{key:"cleanDOM",value:function(){this.animationInstances.forEach(function(o){return o.cleanElement()})}},{key:"disable",value:function(){this.disabled=!0,this.cleanDOM()}},{key:"enable",value:function(){this.disabled=!1,this.animationInstances.filter(function(o){return o.getAnimation().getTrigger()!==U.g.ENTRANCE}).forEach(function(o){return o.reset()})}},{key:"removeAll",value:function(){O(this.animationInstances).forEach(function(o){return o.remove()})}},{key:"destroy",value:function(){this.removeAll(),this.dispatcher.removeListeners()}},{key:"getInstancesByAnimation",value:function(o){return this._filterInstances(function(u){return u.getAnimation()===o||u.getAnimation().contains(o)||u.getAnimation().copyOf===o})}},{key:"getInstancesByTrigger",value:function(o){return this._filterInstances(function(u){return u.getAnimation().getTrigger()===o})}},{key:"getInstancesByEffect",value:function(o){return this._filterInstances(function(u){return u.getAnimation().descriptor.effect===o})}},{key:"_writeDescriptorsToElement",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],m=this.getInstancesByElement(o).map(function(p){return p.getAnimation()}).filter(function(p){return!u.includes(p)}).concat(u).map(function(p){return p.getDescriptor()});o.setAttribute(U.b,btoa(JSON.stringify(m)))}},{key:"_filterInstances",value:function(o){return this.animationInstances.filter(o)}},{key:"_addInstance",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.animationInstances.includes(o)||(this.animationInstances.push(o),u||this._activate(),this.dispatcher.addScrollListener(o.targetElement))}},{key:"_compose",value:function(o,u){var m,p,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};u=It._getAnimationsArray(this,Object($.a)(u));var I=_.trigger||u[0].getTrigger(),Y=u.map(function(pt){return pt._getTimeline().normalize().transform({duration:pt.getDuration(),delay:pt.getOptions().delay})}),ot=k[o](Y),Ct=((m=_.options)===null||m===void 0?void 0:m.arrive)||u[0].getOptions().arrive;Ct&&ot.subtractTransform(ot.getLastValues().transform);var dt=this.createAnimation({trigger:I,name:_.name,effect:{timeline:ot.removeOffset()},options:zt({duration:ot.getDuration(),delay:ot.getOffset(),viewportThresholds:u[0].getOptions().viewportThresholds},_.options)});return dt.compositionType=o,dt.subAnimations=O(u),dt.setDuration(((p=_.options)===null||p===void 0?void 0:p.duration)||"auto"),dt}},{key:"_getExtra",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0&&arguments[1],m=window[Symbol.for("DAM.EXTRAS")],p=m&&m[o]?m[o]:null;return!p&&u&&console.error("extras module is needed for ",o),p}},{key:"_activate",value:function(){this.dispatcher._activateEntranceAnimationsInViewport(),this._activateAlwaysRunningAnimations(),this._initViewportAnimations(),this._initHoverAnimations()}},{key:"_syncInstance",value:function(o){o.getAnimation().getTrigger()===U.g.ENTRANCE?this.dispatcher._activateEntranceAnimationsInViewport([o]):o.getAnimation().getTrigger()===U.c.VIEWPORT&&o._seekToViewportPosition()}},{key:"_removeInstance",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=this.animationInstances.indexOf(o);if(m>=0){var p,_=[m,1];u&&_.push(u),(p=this.animationInstances).splice.apply(p,_),this.dispatcher.removeScrollListener(o.targetElement),u&&this.dispatcher.addScrollListener(u.targetElement)}}},{key:"_replaceInstance",value:function(o,u){this._removeInstance(o,u)}},{key:"_getHoverInstancesForElement",value:function(o){return this.getInstancesByTrigger(U.g.HOVER).filter(function(u){return u.targetElement===o})}},{key:"_initHoverAnimations",value:function(){this.getInstancesByTrigger(U.g.HOVER).forEach(function(o){return o.seek(0)})}},{key:"_initViewportAnimations",value:function(){this.disabled||this.getInstancesByTrigger(U.c.VIEWPORT).forEach(function(o){return o._seekToViewportPosition()})}},{key:"_activateAlwaysRunningAnimations",value:function(){var o=this.getInstancesByTrigger(U.g.ALWAYS);this._runAnimations(o)}},{key:"_scanDomForAnimations",value:function(){var o=this;document.querySelectorAll("[".concat(U.b,"]")).forEach(function(u){JSON.parse(atob(u.getAttribute(U.b))).forEach(function(m){var p;p=o.createAnimation(m),o._addInstance(p.apply(u))})})}},{key:"_runAnimations",value:function(o){o.forEach(function(u){u.play()})}},{key:"_stopAnimations",value:function(o){o.forEach(function(u){u.pauseOnIterationEnd()})}},{key:"_getEffect",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Object($.j)(o)){var m=Object($.f)(this.effects[o],u);if(!m)throw"Unknown effect: "+o;return m}return o}}])&&P(f.prototype,v),g&&P(f,g),l}();z(rt,"SceneEngine",null),z(rt,"AnimeEngine",null)},,function(it,nt,B){"use strict";B.d(nt,"a",function(){return vt});var $=B(0);function U(et,ft){for(var tt=0;tt-1}function st(O,C,N){for(var H=-1,P=O?O.length:0;++H-1&&H%1==0&&H<=9007199254740991}(N.length)&&!zt(N)}(C)}(O)?O:[]}function ut(O,C){var N,H,P=O.__data__;return((H=typeof(N=C))=="string"||H=="number"||H=="symbol"||H=="boolean"?N!=="__proto__":N===null)?P[typeof C=="string"?"string":"hash"]:P.map}function Bt(O,C){var N=function(H,P){return H==null?void 0:H[P]}(O,C);return ie(N)?N:void 0}Ot.prototype.clear=function(){this.__data__=Z?Z(null):{}},Ot.prototype.delete=function(O){return this.has(O)&&delete this.__data__[O]},Ot.prototype.get=function(O){var C=this.__data__;if(Z){var N=C[O];return N==="__lodash_hash_undefined__"?void 0:N}return F.call(C,O)?C[O]:void 0},Ot.prototype.has=function(O){var C=this.__data__;return Z?C[O]!==void 0:F.call(C,O)},Ot.prototype.set=function(O,C){return this.__data__[O]=Z&&C===void 0?"__lodash_hash_undefined__":C,this},At.prototype.clear=function(){this.__data__=[]},At.prototype.delete=function(O){var C=this.__data__,N=wt(C,O);return!(N<0)&&(N==C.length-1?C.pop():K.call(C,N,1),!0)},At.prototype.get=function(O){var C=this.__data__,N=wt(C,O);return N<0?void 0:C[N][1]},At.prototype.has=function(O){return wt(this.__data__,O)>-1},At.prototype.set=function(O,C){var N=this.__data__,H=wt(N,O);return H<0?N.push([O,C]):N[H][1]=C,this},It.prototype.clear=function(){this.__data__={hash:new Ot,map:new(q||At),string:new Ot}},It.prototype.delete=function(O){return ut(this,O).delete(O)},It.prototype.get=function(O){return ut(this,O).get(O)},It.prototype.has=function(O){return ut(this,O).has(O)},It.prototype.set=function(O,C){return ut(this,O).set(O,C),this},$t.prototype.add=$t.prototype.push=function(O){return this.__data__.set(O,"__lodash_hash_undefined__"),this},$t.prototype.has=function(O){return this.__data__.has(O)};var St,Tt,Kt=(St=function(O){var C=ht(O,Zt);return C.length&&C[0]===O[0]?function(N,H,P){for(var z=P?st:G,rt=N[0].length,l=N.length,f=l,v=Array(l),g=1/0,o=[];f--;){var u=N[f];f&&H&&(u=ht(u,at(H))),g=J(u.length,g),v[f]=!P&&(H||rt>=120&&u.length>=120)?new $t(f&&u):void 0}u=N[0];var m=-1,p=v[0];t:for(;++m0&&arguments[0]!==void 0&&arguments[0],L=this.getTargetElement();["startAnimation","pauseAnimation"].forEach(function(K){L.classList.contains(K)&&L.classList.remove(K)}),T&&this.instance._restoreElementStyle()}},{key:"_removeStyleSheet",value:function(){if(this.ref){var T=document.querySelector("#__SCENEJS_STYLE_".concat(this.ref.getId()));T&&T.remove()}}},{key:"seek",value:function(T){this._resetCSSAnim(),this.ref.setTime(T)}},{key:"getTime",value:function(){return this.ref.getTime()}},{key:"isPlaying",value:function(){return this.ref&&this.ref.getPlayState()==="running"}},{key:"kill",value:function(){this._resetCSSAnim(!0),this._removeClass(),this._removeStyleSheet()}},{key:"_addClass",value:function(){var T=this.getTargetElement();T.classList.contains(this.className)||T.classList.add(this.className)}},{key:"cleanElement",value:function(){this._resetCSSAnim(!0),this._removeClass(),this._removeStyleSheet()}},{key:"_removeClass",value:function(){var T=this.getTargetElement();T.classList.contains(this.className)&&(T.classList.remove(this.className),T.classList.length||T.removeAttribute("class"))}}],[{key:"disableCSSAnimation",value:function(){this.cssAnimationDisabled=!0}},{key:"enableCSSAnimation",value:function(){this.cssAnimationDisabled=!1}}]),F}(ft.a);A(M,"cssAnimationDisabled",!0)},function(U,vt){U.exports=$},,,,,function(U,vt,et){"use strict";et.r(vt);var ft=et(10),tt=et(3);et.d(vt,"DudaAnimationManager",function(){return tt.a}),tt.a.SceneEngine=ft.a}])})},UiZK:function(we,gt,it){(function(nt){var B=1/0,$="[object Symbol]",U=/^\s+|\s+$/g,vt="\\ud800-\\udfff",et="\\u0300-\\u036f\\ufe20-\\ufe23",ft="\\u20d0-\\u20f0",tt="\\ufe0e\\ufe0f",G="["+vt+"]",st="["+et+ft+"]",ht="\\ud83c[\\udffb-\\udfff]",bt="(?:"+st+"|"+ht+")",at="[^"+vt+"]",R="(?:\\ud83c[\\udde6-\\uddff]){2}",D="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",k=bt+"?",A="["+tt+"]?",M="(?:"+b+"(?:"+[at,R,D].join("|")+")"+A+k+")*",w=A+k+M,j="(?:"+[at+st+"?",st,R,D,G].join("|")+")",F=RegExp(ht+"(?="+ht+")|"+j+w,"g"),T=RegExp("["+b+vt+et+ft+tt+"]"),L=typeof nt=="object"&&nt&&nt.Object===Object&&nt,K=typeof self=="object"&&self&&self.Object===Object&&self,X=L||K||Function("return this")();function J(P){return P.split("")}function q(P,z,rt,l){for(var f=P.length,v=rt+(l?1:-1);l?v--:++v-1;);return rt}function It(P,z){for(var rt=P.length;rt--&&Z(z,P[rt],0)>-1;);return rt}function $t(P){return T.test(P)}function wt(P){return $t(P)?ie(P):J(P)}function ie(P){return P.match(F)||[]}var Zt=Object.prototype,ut=Zt.toString,Bt=X.Symbol,St=Bt?Bt.prototype:void 0,Tt=St?St.toString:void 0;function Kt(P,z,rt){var l=-1,f=P.length;z<0&&(z=-z>f?0:f+z),rt=rt>f?f:rt,rt<0&&(rt+=f),f=z>rt?0:rt-z>>>0,z>>>=0;for(var v=Array(f);++l=l?P:Kt(P,z,rt)}function O(P){return!!P&&typeof P=="object"}function C(P){return typeof P=="symbol"||O(P)&&ut.call(P)==$}function N(P){return P==null?"":zt(P)}function H(P,z,rt){if(P=N(P),P&&(rt||z===void 0))return P.replace(U,"");if(!P||!(z=zt(z)))return P;var l=wt(P),f=wt(z),v=At(l,f),g=It(l,f)+1;return Qt(l,v,g).join("")}we.exports=H}).call(this,it("yLpj"))},pcmO:function(we,gt,it){"use strict";it.r(gt),it.d(gt,"Animator",function(){return Yn}),it.d(gt,"EASE",function(){return hn}),it.d(gt,"EASE_IN",function(){return vn}),it.d(gt,"EASE_IN_OUT",function(){return gn}),it.d(gt,"EASE_OUT",function(){return mn}),it.d(gt,"EVENTS",function(){return Un}),it.d(gt,"FIXED",function(){return ce}),it.d(gt,"Frame",function(){return $n}),it.d(gt,"LINEAR",function(){return ln}),it.d(gt,"NAME_SEPARATOR",function(){return ye}),it.d(gt,"OPTIONS",function(){return Tn}),it.d(gt,"ROLES",function(){return Le}),it.d(gt,"STEP_END",function(){return te}),it.d(gt,"STEP_START",function(){return fn}),it.d(gt,"SceneItem",function(){return Pn}),it.d(gt,"animate",function(){return ur}),it.d(gt,"animateItem",function(){return cr}),it.d(gt,"bezier",function(){return se}),it.d(gt,"isRole",function(){return d}),it.d(gt,"setAlias",function(){return Bn}),it.d(gt,"setRole",function(){return wn}),it.d(gt,"steps",function(){return Re});var nt="rgb",B="rgba",$="hsl",U="hsla",vt=[nt,B,$,U],et="function",ft="property",tt="array",G="object",st="string",ht="number",bt="undefined",at=typeof window!==bt,R=typeof document!==bt&&document,D=["webkit","ms","moz","o"],b=function(r){if(!R)return"";var i=(R.body||R.documentElement).style,e=D.length;if(typeof i[r]!==bt)return r;for(var t=0;t-1&&(c=At(a,i,n+1,t)),c===-1)break;n=c}return-1}function It(r,i){for(var e="(\\s*"+(i||",")+`\\s*|\\(|\\)|"|'|\\\\"|\\\\'|\\s+)`,t=new RegExp(e,"g"),n=r.split(t).filter(Boolean),a=n.length,c=[],h=[],y=0;y-1)x=At(S,n,y+1,a);else if(S===i){h.length&&(c.push(h.join("")),h=[]);continue}}x===-1&&(x=a-1),h.push(n.slice(y,x+1).join("")),y=x}return h.length&&c.push(h.join("")),c}function $t(r){return It(r,"")}function wt(r){return It(r,",")}function ie(r){var i=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(r);return!i||i.length<4?{}:{prefix:i[1],value:i[2],suffix:i[3]}}function Zt(r){var i=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(r);if(!i)return{prefix:"",unit:"",value:NaN};var e=i[1],t=i[2],n=i[3];return{prefix:e,unit:n,value:parseFloat(t)}}function ut(r){return r.replace(/[\s-_]([a-z])/g,function(i,e){return e.toUpperCase()})}function Bt(r,i){return i===void 0&&(i="-"),r.replace(/([a-z])([A-Z])/g,function(e,t,n){return""+t+i+n.toLowerCase()})}function St(r){return[].slice.call(r)}function Tt(){return Date.now?Date.now():new Date().getTime()}function Kt(r,i,e){e===void 0&&(e=-1);for(var t=r.length,n=0;n-1?r[t]:e}var Qt=function(){var r=Tt(),i=at&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame);return i?i.bind(window):function(e){var t=Tt(),n=window.setTimeout(function(){e(t-r)},1e3/60);return n}}(),O=function(){var r=at&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame);return r?r.bind(window):function(i){clearTimeout(i)}}();function C(r){if(Object.keys)return Object.keys(r);var i=[];for(var e in i)i.push(e);return i}function N(r,i){i===void 0&&(i=[]),r.sort(function(e,t){var n=i.indexOf(e),a=i.indexOf(t);return a===-1&&n===-1?0:n===-1?1:a===-1?-1:n-a})}function H(r,i){var e=Zt(r),t=e.value,n=e.unit;if(X(i)){var a=i[n];if(a){if(Ot(a))return a(t);if(T[n])return T[n](t,a)}}else if(n==="%")return t*i/100;return T[n]?T[n](t):t}function P(r,i,e){return Math.max(i,Math.min(r,e))}function z(r,i){return i?Math.round(r/i)*i:r}function rt(r,i,e){return[[z(i[0],F),z(i[0]*r[1]/r[0],F)],[z(i[1]*r[0]/r[1],F),z(i[1],F)]].filter(function(t){return t.every(function(n,a){return e?n<=i[a]:n>=i[a]})})[0]||r}function l(r,i,e,t){if(!t)return r.map(function(Q,ct){return P(Q,i[ct],e[ct])});var n=r[0],a=r[1],c=rt(r,i,!1),h=c[0],y=c[1],S=rt(r,e,!0),x=S[0],W=S[1];return nx||a>W)&&(n=x,a=W),[n,a]}function f(r){for(var i=r.length,e=0,t=i-1;t>=0;--t)e+=r[t];return e}function v(r){for(var i=r.length,e=0,t=i-1;t>=0;--t)e+=r[t];return i?e/i:0}function g(r,i){var e=i[0]-r[0],t=i[1]-r[1],n=Math.atan2(t,e);return n>=0?n:n+Math.PI*2}function o(r){return[0,1].map(function(i){return v(r.map(function(e){return e[i]}))})}function u(r){var i=o(r),e=g(i,r[0]),t=g(i,r[1]);return et&&t-e<-Math.PI?1:-1}function m(r,i){return Math.sqrt(Math.pow((i?i[0]:0)-r[0],2)+Math.pow((i?i[1]:0)-r[1],2))}function p(r){return r.replace("#","")}function _(r){var i=p(r),e=parseInt(i.substring(0,2),16),t=parseInt(i.substring(2,4),16),n=parseInt(i.substring(4,6),16),a=parseInt(i.substring(6,8),16)/255;return isNaN(a)&&(a=1),[e,t,n,a]}function I(r){var i=r.charAt(1),e=r.charAt(2),t=r.charAt(3),n=r.charAt(4),a=["#",i,i,e,e,t,t,n,n];return a.join("")}function Y(r){var i,e=r[0],t=r[1],n=r[2];e<0&&(e+=Math.floor((Math.abs(e)+360)/360)*360),e%=360;var a=(1-Math.abs(2*n-1))*t,c=a*(1-Math.abs(e/60%2-1)),h=n-a/2,y;return e<60?y=[a,c,0]:e<120?y=[c,a,0]:e<180?y=[0,a,c]:e<240?y=[0,c,a]:e<300?y=[c,0,a]:e<360?y=[a,0,c]:y=[0,0,0],[Math.round((y[0]+h)*255),Math.round((y[1]+h)*255),Math.round((y[2]+h)*255),(i=r[3])!==null&&i!==void 0?i:1]}function ot(r){if(r.charAt(0)==="#")return r.length===4||r.length===5?_(I(r)):_(r);if(r.indexOf("(")!==-1){var i=ie(r),e=i.prefix,t=i.value;if(!e||!t)return;var n=wt(t),a=[0,0,0,1],c=n.length;switch(e){case nt:case B:for(var h=0;h-1&&a.splice(c,1)}}return this},i.once=function(e,t){var n=this;return t&&this._addEvent(e,t,{once:!0}),new Promise(function(a){n._addEvent(e,a,{once:!0})})},i.emit=function(e,t){var n=this;t===void 0&&(t={});var a=this._events[e];if(!e||!a)return!0;var c=!1;return t.eventType=e,t.stop=function(){c=!0},t.currentTarget=this,oe(a).forEach(function(h){h.listener(t),h.once&&n.off(e,h.listener)}),!c},i.trigger=function(e,t){return t===void 0&&(t={}),this.emit(e,t)},i._addEvent=function(e,t,n){var a=this._events;a[e]=a[e]||[];var c=a[e];c.push(ae({listener:t},n))},r}(),Cn=kn,He=function(){function r(e){this.separator=e,this.orderMap={}}var i=r.prototype;return i.getFullName=function(e){return e.join(this.separator)},i.get=function(e){return this.orderMap[this.getFullName(e)]},i.gets=function(e,t){t===void 0&&(t=!0);var n=[],a=this;function c(h,y){var S=a.get(h);if(!!S)return S.forEach(function(x){var W=y.concat([x]),Q=c(h.concat([x]),W);(!Q||!Q.length)&&n.push(y.concat([x]))}),S}return c(e,t?e:[]),n},i.set=function(e,t){var n=this;return e.forEach(function(a,c){n.addName(e.slice(0,c),a)}),this.orderMap[this.getFullName(e)]=t,t},i.add=function(e){var t=e.length;return t?this.addName(e.slice(0,-1),e[t-1]):[]},i.addName=function(e,t){var n=this.get(e)||this.set(e,[]);return n.indexOf(t)===-1&&n.push(t),n},i.findIndex=function(e,t){var n=this.orderMap[this.getFullName(e)];return n?n.indexOf(t):-1},i.remove=function(e){var t=this.getFullName(e),n=this.orderMap;for(var a in n)a.indexOf(t)===0&&delete n[a];var c=e.length;if(c){var h=e.slice(0,-1),y=e[c-1];this.splice(h,this.findIndex(h,y),1)}return this},i.filter=function(e,t,n){n===void 0&&(n=!0);var a=this.gets(e,n).filter(t),c=new r(this.separator),h=n?[]:e;return a.forEach(function(y){c.add(h.concat(y))}),c},i.splice=function(e,t,n){for(var a=[],c=3;c>>0}var $e=We;function Ke(r){return $e(r).toString(36)}function je(r){if(r&&r.getRootNode){var i=r.getRootNode();if(i.nodeType===11)return i}}function Mn(r,i,e){return e.original?i:i.replace(/([^};{\s}][^};{]*|^\s*){/mg,function(t,n){var a=n.trim();return(a?wt(a):[""]).map(function(c){var h=c.trim();return h.indexOf("@")===0?h:h.indexOf(":global")>-1?h.replace(/\:global/g,""):h.indexOf(":host")>-1?""+h.replace(/\:host/g,"."+r):h?"."+r+" "+h:"."+r}).join(", ")+" {"})}function Dn(r,i,e,t){var n=document.createElement("style");return n.setAttribute("type","text/css"),n.setAttribute("data-styled-id",r),e.nonce&&n.setAttribute("nonce",e.nonce),n.innerHTML=Mn(r,i,e),(t||document.head||document.body).appendChild(n),n}function xn(r){var i="rCS"+Ke(r),e=0,t;return{className:i,inject:function(n,a){a===void 0&&(a={});var c=je(n),h=e===0,y;return(c||h)&&(y=Dn(i,r,a,c)),h&&(t=y),c||++e,{destroy:function(){c?(n.removeChild(y),y=null):(e>0&&--e,e===0&&t&&(t.parentNode.removeChild(t),t=null))}}}}}var sn=xn;/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var Ge=function(r,i){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ge(r,i)};function Fe(r,i){Ge(r,i);function e(){this.constructor=r}r.prototype=i===null?Object.create(i):(e.prototype=i.prototype,new e)}function un(r,i,e,t){var n=arguments.length,a=n<3?i:t===null?t=Object.getOwnPropertyDescriptor(i,e):t,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,i,e,t);else for(var h=r.length-1;h>=0;h--)(c=r[h])&&(a=(n<3?c(a):n>3?c(i,e,a):c(i,e))||a);return n>3&&a&&Object.defineProperty(i,e,a),a}function Rt(){for(var r=0,i=0,e=arguments.length;i1/1e3;){if(n=cn(r,i,t),a=n-e,Math.abs(a)<1/1e3)return t;t-=a/2}return t}function se(r,i,e,t){var n=function(a){var c=Nn(r,e,P(a,0,1));return cn(i,t,c)};return n.easingName="cubic-bezier("+r+","+i+","+e+","+t+")",n}function Re(r,i){var e=function(t){var n=1/r;return t>=1?1:(i==="start"?n:0)+Math.floor(t/n)*n};return e.easingName="steps("+r+", "+i+")",e}var fn=Re(1,"start"),te=Re(1,"end"),ln=se(0,0,1,1),hn=se(.25,.1,.25,1),vn=se(.42,0,1,1),mn=se(0,0,.58,1),gn=se(.42,0,.58,1),ee,dn="__SCENEJS_",pn="data-scene-id",ue="animation-timing-function",Le={transform:{},filter:{},attribute:{},html:!0},Ie={easing:[ue]},ce=(ee={},ee[ue]=!0,ee.contents=!0,ee.html=!0,ee),yn=1e6,_e=1e-6,ne="duration",Ue="fillMode",Pe="direction",Jt="iterationCount",Lt="delay",fe="easing",le="playSpeed",he="easingName",Fn="iterationTime",ve="paused",Je="ended",bn="timeupdate",Rn="animate",Ze="play",pe="running",ke="iteration",Oe="startAnimation",Ve="pauseAnimation",ze="alternate",On="reverse",Qe="alternate-reverse",Ln="normal",Ee="infinite",me="playState",qe="playCSS",Ae="prevTime",Ut="tickTime",Ce="currentTime",xt="selector",En="transform",An={linear:ln,ease:hn,"ease-in":vn,"ease-out":mn,"ease-in-out":gn,"step-start":fn,"step-end":te},ye="_///_",Tn=[ne,Ue,Pe,Jt,Lt,fe,le],Un=[ve,Je,bn,Rn,Ze,ke],ge=function(){function r(e,t){this.prefix="",this.suffix="",this.model="",this.type="",this.separator=",",t&&this.setOptions(t),this.value=q(e)?e.split(this.separator):e}var i=r.prototype;return i.setOptions=function(e){for(var t in e)this[t]=e[t];return this},i.size=function(){return this.value.length},i.get=function(e){return this.value[e]},i.set=function(e,t){return this.value[e]=t,this},i.clone=function(){var e=this,t=e.separator,n=e.prefix,a=e.suffix,c=e.model,h=e.type,y=this.value.map(function(S){return S instanceof r?S.clone():S});return new r(y,{separator:t,prefix:n,suffix:a,model:c,type:h})},i.toValue=function(){return this.prefix+this.join()+this.suffix},i.join=function(){return this.value.map(function(e){return e instanceof r?e.toValue():e}).join(this.separator)},i.forEach=function(e){return this.value.forEach(e),this},r}();function Sn(r){for(var i=It(r,";"),e={},t=i.length,n=t,a=0;a-1)return de(ot(r));var a=Ht(t,e),c=[t],h=",",y=e+"(",S=")"+n;return a instanceof ge&&(h=a.separator,c=a.value,y+=a.prefix,S=a.suffix+S),new ge(c,{separator:h,model:e,prefix:y,suffix:S})}function Xe(r,i){return new ge(r,{type:"array",separator:i})}function Xn(r){var i=ot(r);return i?de(i):r}function Ht(r,i){if(!q(r))return J(r)?Xe(r,","):r;var e=wt(r);return e.length>1?Xe(e.map(function(t){return Ht(t)}),","):(e=$t(r),e.length>1?Xe(e.map(function(t){return Ht(t)})," "):(e=/^(['"])([^'"]*)(['"])$/g.exec(r),e&&e[1]===e[3]?new ge([Ht(e[2])],{prefix:e[1],suffix:e[1]}):r.indexOf("(")!==-1?Vn(r):r.charAt(0)==="#"&&i!=="url"?Xn(r):r))}function tn(r,i){i===void 0&&(i={});var e=r.model;if(e){r.setOptions({model:"",suffix:"",prefix:""});var t=r.size()>1?r:r.get(0);i[e]=t}else r.forEach(function(n){tn(n,i)});return i}function en(r){return r instanceof ge}function Bn(r,i){Ie[r]=i}function wn(r,i,e){for(var t=r.length,n=Le,a=ce,c=0;c=1?Qe:ze):e===(r%2>=1?ze:Qe)}var Ne=["id",Jt,Lt,Ue,Pe,le,ne,le,Fn,me],nr=Rt(Ne,[fe,he]),Yn=function(r){Fe(i,r);function i(t){var n=r.call(this)||this;return n.timerId=0,n.state={id:"",easing:0,easingName:"linear",iterationCount:1,delay:0,fillMode:"forwards",direction:Ln,playSpeed:1,currentTime:0,iterationTime:-1,iteration:0,tickTime:0,prevTime:0,playState:ve,duration:0},n.setOptions(t),n}var e=i.prototype;return e.setEasing=function(t){var n=an(t),a=n&&n[he]||"linear",c=this.state;return c[fe]=n,c[he]=a,this},e.setOptions=function(t){t===void 0&&(t={});for(var n in t){var a=t[n];if(n===fe){this.setEasing(a);continue}else if(n===ne){a&&this.setDuration(a);continue}Tn.indexOf(n)>-1&&(this.state[n]=a)}return this},e.getTotalDuration=function(){return this.getActiveDuration(!0)},e.getActiveDuration=function(t){var n=this.state,a=n[Jt];return a===Ee?Infinity:(t?n[Lt]:0)+this.getDuration()*a},e.isEnded=function(){return this.state[Ut]===0&&this.state[me]===ve?!0:!(this.getTime()=t?(this.trigger(Ze),!0):!1},e.play=function(t){var n=this,a=this.state,c=a[Lt],h=this.getTime();return a[me]=pe,this.isEnded()&&(h===0||h>=this.getActiveDuration())&&this.setTime(-c,!0),this.timerId=Qt(function(y){a[Ae]=y,n.tick(y,t)}),this.start(),this},e.pause=function(){var t=this.state;return t[me]!==ve&&(t[me]=ve,this.trigger(ve)),O(this.timerId),this},e.finish=function(){return this.setTime(0),this.state[Ut]=0,this.end(),this},e.end=function(){return this.pause(),this.trigger(Je),this},e.setTime=function(t,n,a){var c=this.getActiveDuration(),h=this.state,y=h[Ut],S=h[Lt],x=n?t:this.getUnitTime(t);if(h[Ut]=S+x,x<0?x=0:x>c&&(x=c),h[Ce]=x,this.calculate(),n&&!a){var W=h[Ut];if(y=0&&this.start(0),W"?h+_e:h}else return Te(t)},e.isDelay=function(){var t=this.state,n=t[Lt],a=t[Ut];return n>0&&a=n&&(x=h*(ct?n%1||1:0),W&&(x=h-x))}return this.setIterationTime(x),this},e.tick=function(t,n){var a=this;if(!this.isPaused()){var c=this.state,h=c[le],y=c[Ae],S=c[Lt],x=c[Ut],W=x+Math.min(1e3,t-y)/1e3*h;c[Ae]=t,this.setTime(W-S,!0),n&&n*1e3=n?a:on(a,i[c],e,t)})}function rr(r,i,e,t){var n=r.value,a=i.value,c=r.model,h=i.model;if(c!==h)return on(r.toValue(),i.toValue(),e,t);n.length===3&&(n[3]=1),a.length===3&&(a[3]=1);for(var y=Kn(n,a,e,t),S=c,x=0;x<3;++x)y[x]=parseInt(y[x],10);var W=new ge(y,{type:"color",model:S,prefix:S+"(",suffix:")"});return W}function ir(r,i,e,t){var n=r.type;if(n==="color")return rr(r,i,e,t);var a=r.value,c=i.value,h=Kn(a,c,e,t);return new ge(h,{type:n,separator:r.separator||i.separator,prefix:r.prefix||i.prefix,suffix:r.suffix||i.suffix,model:r.model||i.model})}function on(r,i,e,t){if(t===0)return i;if(e===0||e+t===0)return r;var n=Me(r),a=Me(i),c=n===et,h=a===et;if(c||h)return function(){return on(c?Ht(r()):r,h?Ht(i()):i,e,t)};if(n===a){if(n===ft)return ir(r,i,e,t);if(n===tt)return Kn(r,i,e,t);if(n!=="value")return r}else return r;var y=Zt(""+r),S=Zt(""+i),x;if(isNaN(y.value)||isNaN(S.value))return r;x=L(y.value,S.value,e,t);var W=y.prefix||S.prefix,Q=y.unit||S.unit;return!W&&!Q?x:W+x+Q}function ar(r,i,e,t,n,a){if(r===i)return t;if(r===e)return n;if(!a)return on(t,n,r-i,e-r);var c=a((r-i)/(e-i)),h=on(t,n,c,1-c);return h}function qn(r,i){for(var e=r.length,t=0;ti)return[t>0?t-1:0,t]}return[e-1,e-1]}function tr(r){var i=[];for(var e in r)i.push(M+"-"+Bt(e)+":"+r[e]+";");return i.join("")}function or(r,i){for(var e=r.length,t=0;tQ){if(lt!==0){var Pt=x*ct+(mt?x-yt[0]:yt[0]),kt=L(yt[1],Xt,Q-Pt,Ft-Q);Gn(t,(c+x*a)/h,kt)}break}else if(Ft===Q&&t.length&&t[t.length-1][0]===Q+c)break;Gn(t,(c+Ft)/h,Xt)}c&&t.unshift([0,t[0][1]]),e=t,t=[]}),e}var Pn=function(r){Fe(i,r);function i(t,n){var a=r.call(this)||this;return a.times=[],a.items={},a.nameMap=new qt(ye),a.elements=[],a.needUpdate=!0,a.load(t,n),a}var e=i.prototype;return e.getDuration=function(){var t=this.times,n=t.length;return(n===0?0:t[n-1])||this.state[ne]},e.size=function(){return this.times.length},e.setDuration=function(t){if(!t)return this;var n=this.getDuration();if(n>0){var a=t/n,c=this,h=c.times,y=c.items,S={};this.times=h.map(function(x){var W=Te(x*a);return S[W]=y[x],W}),this.items=S}else this.newFrame(t);return this},e.setId=function(t){var n=this.state,a=this.elements,c=a.length;if(n.id=t||Vt(!!c),c&&!n[xt]){var h=rn(this.getId());n[xt]="["+pn+'="'+h+'"]',a.forEach(function(y){y.setAttribute(pn,h)})}return this},e.set=function(t){for(var n=this,a=[],c=1;c-1;for(var yt in lt){var Pt=Ft?jt-parseFloat(yt):parseFloat(yt);n.set(ct+Pt,lt[yt])}}else if(a.length===1&&J(W))W.forEach(function(Se){n.set(ct,Se)});else{var kt=n.newFrame(ct);kt.set.apply(kt,a)}})}return this.needUpdate=!0,this},e.get=function(t){for(var n=[],a=1;a-1&&this.times.splice(c,1),this.needUpdate=!0,this},e.hasFrame=function(t){return this.getUnitTime(t)in this.items},e.hasName=function(t){return this.needUpdate&&this.update(),!!this.nameMap.get(t)},e.mergeFrame=function(t,n){if(n){var a=this.newFrame(t);a.merge(n)}return this},e.getNowFrame=function(t,n,a){var c=this;this.needUpdate&&this.update();var h=new $n,y=qn(this.times,t),S=y[0],x=y[1],W=this.getEasing()||n,Q=this.nameMap;if(this.hasName([ue])){var ct=this.getNowValue(t,[ue],S,x,!1,0,!0);Ot(ct)&&(W=ct)}if(a){var mt=this.getFrame(t),lt=mt.orderMap.filter([],function(yt){return mt.has.apply(mt,yt)});for(var jt in Le){var Xt=Q.get([jt]);lt.get([jt])&&Xt&<.set([jt],Xt)}Q=lt}var Ft=Q.gets([]);return h.setOrderObject(Q.orderMap),Ft.forEach(function(yt){var Pt=c.getNowValue(t,yt,S,x,a,W,E(yt));K(Pt)||h.set(yt,Pt)}),h},e.load=function(t,n){var a;if(t===void 0&&(t={}),n===void 0&&(n=t.options),n&&this.setOptions(n),J(t))this.set(t);else if(t.keyframes)this.set(t.keyframes);else for(var c in t)c!=="options"&&this.set((a={},a[c]=t[c],a));return n&&n[ne]&&this.setDuration(n[ne]),this},e.clone=function(){var t=new i;return t.setOptions(this.state),t.setOrderObject(this.nameMap.orderMap),this.forEach(function(n,a){t.setFrame(a,n.clone())}),t},e.forEach=function(t){var n=this.times,a=this.items;return n.forEach(function(c){t(a[c],c,a)}),this},e.setOptions=function(t){t===void 0&&(t={}),r.prototype.setOptions.call(this,t);var n=t.id,a=t.selector,c=t.elements,h=t.element,y=t.target;return n&&this.setId(n),y?this.setTarget(y):a?this.setSelector(a):(c||h)&&this.setElement(c||h),this},e.toCSS=function(t,n,a){t===void 0&&(t={className:Oe}),n===void 0&&(n=this.getDuration()),a===void 0&&(a=[]);var c=this.state,h=c[xt];if(!h)return"";var y=this.getDuration();c[ne]=y,a.push(c);var S=St(a).reverse(),x=rn(Nt(this)),W=a[0],Q=Kt(S,function(Dt){return Dt[Jt]===Ee||!isFinite(Dt[ne])},a.length-1),ct=S.slice(0,Q),mt=n||ct.reduce(function(Dt,Wt){return(Wt[Lt]+Dt*Wt[Jt])/Wt[le]},y),lt=S.slice(Q).reduce(function(Dt,Wt){return(Dt+Wt[Lt])/Wt[le]},0),jt=zt(S,function(Dt){return Dt[fe]&&Dt[he]},c)[he],Xt=S[Q][Jt],Ft=W[Ue],yt=S[Q][Pe],Pt=tr({fillMode:Ft,direction:yt,iterationCount:Xt,delay:lt+"s",name:dn+"KEYFRAMES_"+x,duration:mt/W[le]+"s",timingFunction:jt}),kt=wt(h).map(function(Dt){var Wt=/([\s\S]+)(:+[a-zA-Z]+)$/g.exec(Dt);return Wt?[Wt[1],Wt[2]]:[Dt,""]}),Se=t.className,Jn=t.selector,fr=Ot(Jn)?Jn(this,h):Jn;return` `+(fr||kt.map(function(Dt){var Wt=Dt[0],Zn=Dt[1];return Wt+"."+Se+Zn}))+" {"+Pt+`} `+kt.map(function(Dt){var Wt=Dt[0],Zn=Dt[1];return Wt+"."+Ve+Zn})+" {"+M+`-play-state: paused;} @`+w+" "+dn+"KEYFRAMES_"+x+"{"+this._toKeyframes(mt,ct,yt)+"}"},e.exportCSS=function(t,n,a){if(!this.elements.length)return"";var c=this.toCSS(t,n,a),h=a&&!K(a[Jt]);return h||(this.styledInjector&&(this.styledInjector.destroy(),this.styledInjector=null),this.styled=sn(c),this.styledInjector=this.styled.inject(this.getAnimationElement(),{original:!0})),this},e.pause=function(){return r.prototype.pause.call(this),_t(this)&&this.pauseCSS(),this},e.pauseCSS=function(){return this.elements.forEach(function(t){pt(t,Ve)}),this},e.endCSS=function(){return this.elements.forEach(function(t){Et(t,Ve),Et(t,Oe)}),V(this,!1),this},e.end=function(){return Mt(this)&&this.endCSS(),r.prototype.end.call(this),this},e.playCSS=function(t,n,a){return t===void 0&&(t=!0),a===void 0&&(a={}),be(this,t,n,a),this},e.getAnimationElement=function(){return this.elements[0]},e.addPlayClass=function(t,n,a){a===void 0&&(a={});var c=this.elements,h=c.length,y=tr(a);if(!!h)return t?c.forEach(function(S){Et(S,Ve)}):(c.forEach(function(S){S.style.cssText+=y,dt(S,Oe)&&Et(S,Oe)}),c.forEach(function(S){S.clientWidth}),c.forEach(function(S){pt(S,Oe)})),c[0]},e.clear=function(){return this.times=[],this.items={},this.nameMap=new qt(ye),this.styledInjector&&this.styledInjector.destroy(),this.styled=null,this.styledInjector=null,this.temp=null,this.needUpdate=!0,this},e.getNowValue=function(t,n,a,c,h,y,S){var x=this.times,W=x.length,Q,ct,mt,lt,jt=K(a),Xt=K(c);if(jt||Xt){var Ft=qn(x,t);jt&&(a=Ft[0]),Xt&&(c=Ft[1])}for(var yt=a;yt>=0;--yt){var Pt=this.getFrame(x[yt]);if(Pt.has.apply(Pt,n)){Q=x[yt],mt=Pt;break}}var kt=mt&&mt.raw.apply(mt,n);if(h&&!d([n[0]]))return Q===t?kt:void 0;if(S)return kt;for(var yt=c;yt-1}function gn(s,d){var E=this.__data__,V=fe(E,s);return V<0?E.push([s,d]):E[V][1]=d,this}te.prototype.clear=ln,te.prototype.delete=hn,te.prototype.get=vn,te.prototype.has=mn,te.prototype.set=gn;function ee(s){var d=-1,E=s?s.length:0;for(this.clear();++d-1&&s%1==0&&s-1&&s%1==0&&s<=vt}function De(s){var d=typeof s;return!!s&&(d=="object"||d=="function")}function nn(s){return!!s&&typeof s=="object"}function Be(s){return tn(s)?Jt(s):Rn(s)}function Te(){return[]}function xe(){return!1}B.exports=Vn}).call(this,it("yLpj"),it("YuTi")(we))}}])})();