diff --git a/asset-manifest.json b/asset-manifest.json index 65910b86..26f9c54d 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "https://eyra.github.io/port/static/css/main.e5f05c63.css", - "main.js": "https://eyra.github.io/port/static/js/main.27639b17.js", + "main.js": "https://eyra.github.io/port/static/js/main.9eb38dbd.js", "static/media/Finador-BlackOblique.woff": "https://eyra.github.io/port/static/media/Finador-BlackOblique.8e3feb4617564028ac09.woff", "static/media/Finador-RegularOblique.woff": "https://eyra.github.io/port/static/media/Finador-RegularOblique.66b1b40866f3f75015d6.woff", "static/media/Finador-LightOblique.woff": "https://eyra.github.io/port/static/media/Finador-LightOblique.3e4bf52dd453804f5c5a.woff", @@ -32,7 +32,7 @@ "static/media/Finador-Thin.woff2": "https://eyra.github.io/port/static/media/Finador-Thin.d11fc530809dc729346c.woff2", "static/media/logo.svg": "https://eyra.github.io/port/static/media/logo.f5694ed87add75005981866a3dbb8b5f.svg", "static/media/instagram.svg": "https://eyra.github.io/port/static/media/instagram.011663f0d0bf7a4aea11d8ea60939fa6.svg", - "static/media/py_worker.js": "https://eyra.github.io/port/static/media/py_worker.1d5d6091f36c42ee8392.js", + "static/media/py_worker.js": "https://eyra.github.io/port/static/media/py_worker.80c77f8e737c6c77dc71.js", "static/media/twitter.svg": "https://eyra.github.io/port/static/media/twitter.836115e83dbb6389a4448ed88803c0f0.svg", "index.html": "https://eyra.github.io/port/index.html", "static/media/youtube.svg": "https://eyra.github.io/port/static/media/youtube.2c15ef81d996bab57f5b365b6080750b.svg", @@ -46,10 +46,10 @@ "static/media/check.svg": "https://eyra.github.io/port/static/media/check.62d1e3846cf9f4002c37c986555f222e.svg", "static/media/radio.svg": "https://eyra.github.io/port/static/media/radio.a8976f7cd2094465a9e60270572060bb.svg", "main.e5f05c63.css.map": "https://eyra.github.io/port/static/css/main.e5f05c63.css.map", - "main.27639b17.js.map": "https://eyra.github.io/port/static/js/main.27639b17.js.map" + "main.9eb38dbd.js.map": "https://eyra.github.io/port/static/js/main.9eb38dbd.js.map" }, "entrypoints": [ "static/css/main.e5f05c63.css", - "static/js/main.27639b17.js" + "static/js/main.9eb38dbd.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index dc10dc04..2ca9be19 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/static/js/main.27639b17.js b/static/js/main.9eb38dbd.js similarity index 99% rename from static/js/main.27639b17.js rename to static/js/main.9eb38dbd.js index c3dc16dc..88335291 100644 --- a/static/js/main.27639b17.js +++ b/static/js/main.9eb38dbd.js @@ -1,3 +1,3 @@ -/*! For license information please see main.27639b17.js.LICENSE.txt */ -(function(){var __webpack_modules__={763:function(e,t,r){var n;e=r.nmd(e),function(){var i,a="Expected a function",s="__lodash_hash_undefined__",o="__lodash_placeholder__",l=16,u=32,c=64,h=128,f=256,p=1/0,d=9007199254740991,m=NaN,g=4294967295,y=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",f]],v="[object Arguments]",b="[object Array]",x="[object Boolean]",_="[object Date]",w="[object Error]",S="[object Function]",k="[object GeneratorFunction]",E="[object Map]",P="[object Number]",C="[object Object]",A="[object Promise]",T="[object RegExp]",D="[object Set]",M="[object String]",F="[object Symbol]",I="[object WeakMap]",R="[object ArrayBuffer]",N="[object DataView]",L="[object Float32Array]",B="[object Float64Array]",j="[object Int8Array]",z="[object Int16Array]",V="[object Int32Array]",O="[object Uint8Array]",G="[object Uint8ClampedArray]",H="[object Uint16Array]",W="[object Uint32Array]",U=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,Q=RegExp(Y.source),X=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),se=/^\s+/,oe=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,he=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fe=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,xe=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Pe="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['\u2019]",Me="[\\ud800-\\udfff]",Fe="["+Te+"]",Ie="["+ke+"]",Re="\\d+",Ne="[\\u2700-\\u27bf]",Le="["+Pe+"]",Be="[^\\ud800-\\udfff"+Te+Re+Ee+Pe+Ce+"]",je="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="["+Ce+"]",He="(?:"+Le+"|"+Be+")",We="(?:"+Ge+"|"+Be+")",Ue="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",qe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Ie+"|"+je+")"+"?",Ye="[\\ufe0e\\ufe0f]?",Ke=Ye+$e+("(?:\\u200d(?:"+[ze,Ve,Oe].join("|")+")"+Ye+$e+")*"),Qe="(?:"+[Ne,Ve,Oe].join("|")+")"+Ke,Xe="(?:"+[ze+Ie+"?",Ie,Ve,Oe,Me].join("|")+")",Je=RegExp(De,"g"),Ze=RegExp(Ie,"g"),et=RegExp(je+"(?="+je+")|"+Xe+Ke,"g"),tt=RegExp([Ge+"?"+Le+"+"+Ue+"(?="+[Fe,Ge,"$"].join("|")+")",We+"+"+qe+"(?="+[Fe,Ge+He,"$"].join("|")+")",Ge+"?"+He+"+"+Ue,Ge+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Qe].join("|"),"g"),rt=RegExp("[\\u200d\\ud800-\\udfff"+ke+Ae+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,st={};st[L]=st[B]=st[j]=st[z]=st[V]=st[O]=st[G]=st[H]=st[W]=!0,st[v]=st[b]=st[R]=st[x]=st[N]=st[_]=st[w]=st[S]=st[E]=st[P]=st[C]=st[T]=st[D]=st[M]=st[I]=!1;var ot={};ot[v]=ot[b]=ot[R]=ot[N]=ot[x]=ot[_]=ot[L]=ot[B]=ot[j]=ot[z]=ot[V]=ot[E]=ot[P]=ot[C]=ot[T]=ot[D]=ot[M]=ot[F]=ot[O]=ot[G]=ot[H]=ot[W]=!0,ot[w]=ot[S]=ot[I]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,ht="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ft="object"==typeof self&&self&&self.Object===Object&&self,pt=ht||ft||Function("return this")(),dt=t&&!t.nodeType&&t,mt=dt&&e&&!e.nodeType&&e,gt=mt&&mt.exports===dt,yt=gt&&ht.process,vt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(t){}}(),bt=vt&&vt.isArrayBuffer,xt=vt&&vt.isDate,_t=vt&&vt.isMap,wt=vt&&vt.isRegExp,St=vt&&vt.isSet,kt=vt&&vt.isTypedArray;function Et(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Pt(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i-1}function Ft(e,t,r){for(var n=-1,i=null==e?0:e.length;++n-1;);return r}function tr(e,t){for(var r=e.length;r--&&Ot(t,e[r],0)>-1;);return r}function rr(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var nr=qt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),ir=qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(e){return"\\"+lt[e]}function sr(e){return rt.test(e)}function or(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,i=0,a=[];++r",""":'"',"'":"'"});var gr=function e(t){var r=(t=null==t?pt:gr.defaults(pt.Object(),t,gr.pick(pt,it))).Array,n=t.Date,oe=t.Error,ke=t.Function,Ee=t.Math,Pe=t.Object,Ce=t.RegExp,Ae=t.String,Te=t.TypeError,De=r.prototype,Me=ke.prototype,Fe=Pe.prototype,Ie=t["__core-js_shared__"],Re=Me.toString,Ne=Fe.hasOwnProperty,Le=0,Be=function(){var e=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),je=Fe.toString,ze=Re.call(Pe),Ve=pt._,Oe=Ce("^"+Re.call(Ne).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ge=gt?t.Buffer:i,He=t.Symbol,We=t.Uint8Array,Ue=Ge?Ge.allocUnsafe:i,qe=lr(Pe.getPrototypeOf,Pe),$e=Pe.create,Ye=Fe.propertyIsEnumerable,Ke=De.splice,Qe=He?He.isConcatSpreadable:i,Xe=He?He.iterator:i,et=He?He.toStringTag:i,rt=function(){try{var e=fa(Pe,"defineProperty");return e({},"",{}),e}catch(t){}}(),lt=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ht=n&&n.now!==pt.Date.now&&n.now,ft=t.setTimeout!==pt.setTimeout&&t.setTimeout,dt=Ee.ceil,mt=Ee.floor,yt=Pe.getOwnPropertySymbols,vt=Ge?Ge.isBuffer:i,jt=t.isFinite,qt=De.join,yr=lr(Pe.keys,Pe),vr=Ee.max,br=Ee.min,xr=n.now,_r=t.parseInt,wr=Ee.random,Sr=De.reverse,kr=fa(t,"DataView"),Er=fa(t,"Map"),Pr=fa(t,"Promise"),Cr=fa(t,"Set"),Ar=fa(t,"WeakMap"),Tr=fa(Pe,"create"),Dr=Ar&&new Ar,Mr={},Fr=za(kr),Ir=za(Er),Rr=za(Pr),Nr=za(Cr),Lr=za(Ar),Br=He?He.prototype:i,jr=Br?Br.valueOf:i,zr=Br?Br.toString:i;function Vr(e){if(ro(e)&&!Us(e)&&!(e instanceof Wr)){if(e instanceof Hr)return e;if(Ne.call(e,"__wrapped__"))return Va(e)}return new Hr(e)}var Or=function(){function e(){}return function(t){if(!to(t))return{};if($e)return $e(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function Gr(){}function Hr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Wr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Ur(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function un(e,t,r,n,a,s){var o,l=1&t,u=2&t,c=4&t;if(r&&(o=a?r(e,n,a,s):r(e)),o!==i)return o;if(!to(e))return e;var h=Us(e);if(h){if(o=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Ne.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Di(e,o)}else{var f=ma(e),p=f==S||f==k;if(Ks(e))return ki(e,l);if(f==C||f==v||p&&!a){if(o=u||p?{}:ya(e),!l)return u?function(e,t){return Mi(e,da(e),t)}(e,function(e,t){return e&&Mi(t,Ro(t),e)}(o,e)):function(e,t){return Mi(e,pa(e),t)}(e,an(o,e))}else{if(!ot[f])return a?e:{};o=function(e,t,r){var n=e.constructor;switch(t){case R:return Ei(e);case x:case _:return new n(+e);case N:return function(e,t){var r=t?Ei(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case L:case B:case j:case z:case V:case O:case G:case H:case W:return Pi(e,r);case E:return new n;case P:case M:return new n(e);case T:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case D:return new n;case F:return i=e,jr?Pe(jr.call(i)):{}}var i}(e,f,l)}}s||(s=new Kr);var d=s.get(e);if(d)return d;s.set(e,o),oo(e)?e.forEach((function(n){o.add(un(n,t,r,n,e,s))})):no(e)&&e.forEach((function(n,i){o.set(i,un(n,t,r,i,e,s))}));var m=h?i:(c?u?aa:ia:u?Ro:Io)(e);return Ct(m||e,(function(n,i){m&&(n=e[i=n]),tn(o,i,un(n,t,r,i,e,s))})),o}function cn(e,t,r){var n=r.length;if(null==e)return!n;for(e=Pe(e);n--;){var a=r[n],s=t[a],o=e[a];if(o===i&&!(a in e)||!s(o))return!1}return!0}function hn(e,t,r){if("function"!=typeof e)throw new Te(a);return Fa((function(){e.apply(i,r)}),t)}function fn(e,t,r,n){var i=-1,a=Mt,s=!0,o=e.length,l=[],u=t.length;if(!o)return l;r&&(t=It(t,Xt(r))),n?(a=Ft,s=!1):t.length>=200&&(a=Zt,s=!1,t=new Yr(t));e:for(;++i-1},qr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},$r.prototype.clear=function(){this.size=0,this.__data__={hash:new Ur,map:new(Er||qr),string:new Ur}},$r.prototype.delete=function(e){var t=ca(this,e).delete(e);return this.size-=t?1:0,t},$r.prototype.get=function(e){return ca(this,e).get(e)},$r.prototype.has=function(e){return ca(this,e).has(e)},$r.prototype.set=function(e,t){var r=ca(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Yr.prototype.add=Yr.prototype.push=function(e){return this.__data__.set(e,s),this},Yr.prototype.has=function(e){return this.__data__.has(e)},Kr.prototype.clear=function(){this.__data__=new qr,this.size=0},Kr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Kr.prototype.get=function(e){return this.__data__.get(e)},Kr.prototype.has=function(e){return this.__data__.has(e)},Kr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof qr){var n=r.__data__;if(!Er||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new $r(n)}return r.set(e,t),this.size=r.size,this};var pn=Ri(_n),dn=Ri(wn,!0);function mn(e,t){var r=!0;return pn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function gn(e,t,r){for(var n=-1,a=e.length;++n0&&r(o)?t>1?vn(o,t-1,r,n,i):Rt(i,o):n||(i[i.length]=o)}return i}var bn=Ni(),xn=Ni(!0);function _n(e,t){return e&&bn(e,t,Io)}function wn(e,t){return e&&xn(e,t,Io)}function Sn(e,t){return Dt(t,(function(t){return Js(e[t])}))}function kn(e,t){for(var r=0,n=(t=xi(t,e)).length;null!=e&&rt}function An(e,t){return null!=e&&Ne.call(e,t)}function Tn(e,t){return null!=e&&t in Pe(e)}function Dn(e,t,n){for(var a=n?Ft:Mt,s=e[0].length,o=e.length,l=o,u=r(o),c=1/0,h=[];l--;){var f=e[l];l&&t&&(f=It(f,Xt(t))),c=br(f.length,c),u[l]=!n&&(t||s>=120&&f.length>=120)?new Yr(l&&f):i}f=e[0];var p=-1,d=u[0];e:for(;++p=o?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function qn(e,t,r){for(var n=-1,i=t.length,a={};++n-1;)o!==e&&Ke.call(o,l,1),Ke.call(e,l,1);return e}function Yn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;ba(i)?Ke.call(e,i,1):fi(e,i)}}return e}function Kn(e,t){return e+mt(wr()*(t-e+1))}function Qn(e,t){var r="";if(!e||t<1||t>d)return r;do{t%2&&(r+=e),(t=mt(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return Ia(Ca(e,t,al),e+"")}function Jn(e){return Xr(Go(e))}function Zn(e,t){var r=Go(e);return La(r,ln(t,0,r.length))}function ei(e,t,r,n){if(!to(e))return e;for(var a=-1,s=(t=xi(t,e)).length,o=s-1,l=e;null!=l&&++aa?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var s=r(a);++i>>1,s=e[a];null!==s&&!uo(s)&&(r?s<=t:s=200){var u=t?null:Qi(e);if(u)return cr(u);s=!1,i=Zt,l=new Yr}else l=t?[]:o;e:for(;++n=n?e:ii(e,t,r)}var Si=lt||function(e){return pt.clearTimeout(e)};function ki(e,t){if(t)return e.slice();var r=e.length,n=Ue?Ue(r):new e.constructor(r);return e.copy(n),n}function Ei(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Pi(e,t){var r=t?Ei(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ci(e,t){if(e!==t){var r=e!==i,n=null===e,a=e===e,s=uo(e),o=t!==i,l=null===t,u=t===t,c=uo(t);if(!l&&!c&&!s&&e>t||s&&o&&u&&!l&&!c||n&&o&&u||!r&&u||!a)return 1;if(!n&&!s&&!c&&e1?r[a-1]:i,o=a>2?r[2]:i;for(s=e.length>3&&"function"==typeof s?(a--,s):i,o&&xa(r[0],r[1],o)&&(s=a<3?i:s,a=1),t=Pe(t);++n-1?a[s?t[o]:o]:i}}function Vi(e){return na((function(t){var r=t.length,n=r,s=Hr.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new Te(a);if(s&&!l&&"wrapper"==oa(o))var l=new Hr([],!0)}for(n=l?n:r;++n1&&b.reverse(),p&&cl))return!1;var c=s.get(e),h=s.get(t);if(c&&h)return c==t&&h==e;var f=-1,p=!0,d=2&r?new Yr:i;for(s.set(e,t),s.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Ct(y,(function(r){var n="_."+r[0];t&r[1]&&!Mt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(n),r)))}function Na(e){var t=0,r=0;return function(){var n=xr(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function La(e,t){var r=-1,n=e.length,a=n-1;for(t=t===i?n:t;++r1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,ss(e,r)}));function ps(e){var t=Vr(e);return t.__chain__=!0,t}function ds(e,t){return t(e)}var ms=na((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,a=function(t){return on(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Wr&&ba(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ds,args:[a],thisArg:i}),new Hr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)}));var gs=Fi((function(e,t,r){Ne.call(e,r)?++e[r]:sn(e,r,1)}));var ys=zi(Wa),vs=zi(Ua);function bs(e,t){return(Us(e)?Ct:pn)(e,ua(t,3))}function xs(e,t){return(Us(e)?At:dn)(e,ua(t,3))}var _s=Fi((function(e,t,r){Ne.call(e,r)?e[r].push(t):sn(e,r,[t])}));var ws=Xn((function(e,t,n){var i=-1,a="function"==typeof t,s=$s(e)?r(e.length):[];return pn(e,(function(e){s[++i]=a?Et(t,e,n):Mn(e,t,n)})),s})),Ss=Fi((function(e,t,r){sn(e,r,t)}));function ks(e,t){return(Us(e)?It:Vn)(e,ua(t,3))}var Es=Fi((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Ps=Xn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&xa(e,t[0],t[1])?t=[]:r>2&&xa(t[0],t[1],t[2])&&(t=[t[0]]),Un(e,vn(t,1),[])})),Cs=ht||function(){return pt.Date.now()};function As(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Ji(e,h,i,i,i,i,t)}function Ts(e,t){var r;if("function"!=typeof t)throw new Te(a);return e=go(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var Ds=Xn((function(e,t,r){var n=1;if(r.length){var i=ur(r,la(Ds));n|=u}return Ji(e,n,t,r,i)})),Ms=Xn((function(e,t,r){var n=3;if(r.length){var i=ur(r,la(Ms));n|=u}return Ji(t,n,e,r,i)}));function Fs(e,t,r){var n,s,o,l,u,c,h=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new Te(a);function m(t){var r=n,a=s;return n=s=i,h=t,l=e.apply(a,r)}function g(e){return h=e,u=Fa(v,t),f?m(e):l}function y(e){var r=e-c;return c===i||r>=t||r<0||p&&e-h>=o}function v(){var e=Cs();if(y(e))return b(e);u=Fa(v,function(e){var r=t-(e-c);return p?br(r,o-(e-h)):r}(e))}function b(e){return u=i,d&&n?m(e):(n=s=i,l)}function x(){var e=Cs(),r=y(e);if(n=arguments,s=this,c=e,r){if(u===i)return g(c);if(p)return Si(u),u=Fa(v,t),m(c)}return u===i&&(u=Fa(v,t)),l}return t=vo(t)||0,to(r)&&(f=!!r.leading,o=(p="maxWait"in r)?vr(vo(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d),x.cancel=function(){u!==i&&Si(u),h=0,n=c=s=u=i},x.flush=function(){return u===i?l:b(Cs())},x}var Is=Xn((function(e,t){return hn(e,1,t)})),Rs=Xn((function(e,t,r){return hn(e,vo(t)||0,r)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(a);var r=function r(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=e.apply(this,n);return r.cache=a.set(i,s)||a,s};return r.cache=new(Ns.Cache||$r),r}function Ls(e){if("function"!=typeof e)throw new Te(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ns.Cache=$r;var Bs=_i((function(e,t){var r=(t=1==t.length&&Us(t[0])?It(t[0],Xt(ua())):It(vn(t,1),Xt(ua()))).length;return Xn((function(n){for(var i=-1,a=br(n.length,r);++i=t})),Ws=Fn(function(){return arguments}())?Fn:function(e){return ro(e)&&Ne.call(e,"callee")&&!Ye.call(e,"callee")},Us=r.isArray,qs=bt?Xt(bt):function(e){return ro(e)&&Pn(e)==R};function $s(e){return null!=e&&eo(e.length)&&!Js(e)}function Ys(e){return ro(e)&&$s(e)}var Ks=vt||vl,Qs=xt?Xt(xt):function(e){return ro(e)&&Pn(e)==_};function Xs(e){if(!ro(e))return!1;var t=Pn(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ao(e)}function Js(e){if(!to(e))return!1;var t=Pn(e);return t==S||t==k||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Zs(e){return"number"==typeof e&&e==go(e)}function eo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function to(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ro(e){return null!=e&&"object"==typeof e}var no=_t?Xt(_t):function(e){return ro(e)&&ma(e)==E};function io(e){return"number"==typeof e||ro(e)&&Pn(e)==P}function ao(e){if(!ro(e)||Pn(e)!=C)return!1;var t=qe(e);if(null===t)return!0;var r=Ne.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Re.call(r)==ze}var so=wt?Xt(wt):function(e){return ro(e)&&Pn(e)==T};var oo=St?Xt(St):function(e){return ro(e)&&ma(e)==D};function lo(e){return"string"==typeof e||!Us(e)&&ro(e)&&Pn(e)==M}function uo(e){return"symbol"==typeof e||ro(e)&&Pn(e)==F}var co=kt?Xt(kt):function(e){return ro(e)&&eo(e.length)&&!!st[Pn(e)]};var ho=$i(zn),fo=$i((function(e,t){return e<=t}));function po(e){if(!e)return[];if($s(e))return lo(e)?pr(e):Di(e);if(Xe&&e[Xe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Xe]());var t=ma(e);return(t==E?or:t==D?cr:Go)(e)}function mo(e){return e?(e=vo(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function go(e){var t=mo(e),r=t%1;return t===t?r?t-r:t:0}function yo(e){return e?ln(go(e),0,g):0}function vo(e){if("number"==typeof e)return e;if(uo(e))return m;if(to(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=to(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var r=ye.test(e);return r||be.test(e)?ct(e.slice(2),r?2:8):ge.test(e)?m:+e}function bo(e){return Mi(e,Ro(e))}function xo(e){return null==e?"":ci(e)}var _o=Ii((function(e,t){if(ka(t)||$s(t))Mi(t,Io(t),e);else for(var r in t)Ne.call(t,r)&&tn(e,r,t[r])})),wo=Ii((function(e,t){Mi(t,Ro(t),e)})),So=Ii((function(e,t,r,n){Mi(t,Ro(t),e,n)})),ko=Ii((function(e,t,r,n){Mi(t,Io(t),e,n)})),Eo=na(on);var Po=Xn((function(e,t){e=Pe(e);var r=-1,n=t.length,a=n>2?t[2]:i;for(a&&xa(t[0],t[1],a)&&(n=1);++r1),t})),Mi(e,aa(e),r),n&&(r=un(r,7,ta));for(var i=t.length;i--;)fi(r,t[i]);return r}));var jo=na((function(e,t){return null==e?{}:function(e,t){return qn(e,t,(function(t,r){return To(e,r)}))}(e,t)}));function zo(e,t){if(null==e)return{};var r=It(aa(e),(function(e){return[e]}));return t=ua(t),qn(e,r,(function(e,r){return t(e,r[0])}))}var Vo=Xi(Io),Oo=Xi(Ro);function Go(e){return null==e?[]:Jt(e,Io(e))}var Ho=Bi((function(e,t,r){return t=t.toLowerCase(),e+(r?Wo(t):t)}));function Wo(e){return Jo(xo(e).toLowerCase())}function Uo(e){return(e=xo(e))&&e.replace(_e,nr).replace(Ze,"")}var qo=Bi((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),$o=Bi((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Yo=Li("toLowerCase");var Ko=Bi((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Qo=Bi((function(e,t,r){return e+(r?" ":"")+Jo(t)}));var Xo=Bi((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Jo=Li("toUpperCase");function Zo(e,t,r){return e=xo(e),(t=r?i:t)===i?function(e){return nt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(he)||[]}(e):e.match(t)||[]}var el=Xn((function(e,t){try{return Et(e,i,t)}catch(r){return Xs(r)?r:new oe(r)}})),tl=na((function(e,t){return Ct(t,(function(t){t=ja(t),sn(e,t,Ds(e[t],e))})),e}));function rl(e){return function(){return e}}var nl=Vi(),il=Vi(!0);function al(e){return e}function sl(e){return Ln("function"==typeof e?e:un(e,1))}var ol=Xn((function(e,t){return function(r){return Mn(r,e,t)}})),ll=Xn((function(e,t){return function(r){return Mn(e,r,t)}}));function ul(e,t,r){var n=Io(t),i=Sn(t,n);null!=r||to(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=Sn(t,Io(t)));var a=!(to(r)&&"chain"in r)||!!r.chain,s=Js(e);return Ct(i,(function(r){var n=t[r];e[r]=n,s&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__),i=r.__actions__=Di(this.__actions__);return i.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Rt([this.value()],arguments))})})),e}function cl(){}var hl=Wi(It),fl=Wi(Tt),pl=Wi(Bt);function dl(e){return _a(e)?Ut(ja(e)):function(e){return function(t){return kn(t,e)}}(e)}var ml=qi(),gl=qi(!0);function yl(){return[]}function vl(){return!1}var bl=Hi((function(e,t){return e+t}),0),xl=Ki("ceil"),_l=Hi((function(e,t){return e/t}),1),wl=Ki("floor");var Sl=Hi((function(e,t){return e*t}),1),kl=Ki("round"),El=Hi((function(e,t){return e-t}),0);return Vr.after=function(e,t){if("function"!=typeof t)throw new Te(a);return e=go(e),function(){if(--e<1)return t.apply(this,arguments)}},Vr.ary=As,Vr.assign=_o,Vr.assignIn=wo,Vr.assignInWith=So,Vr.assignWith=ko,Vr.at=Eo,Vr.before=Ts,Vr.bind=Ds,Vr.bindAll=tl,Vr.bindKey=Ms,Vr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Us(e)?e:[e]},Vr.chain=ps,Vr.chunk=function(e,t,n){t=(n?xa(e,t,n):t===i)?1:vr(go(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var s=0,o=0,l=r(dt(a/t));sa?0:a+r),(n=n===i||n>a?a:go(n))<0&&(n+=a),n=r>n?0:yo(n);r>>0)?(e=xo(e))&&("string"==typeof t||null!=t&&!so(t))&&!(t=ci(t))&&sr(e)?wi(pr(e),0,r):e.split(t,r):[]},Vr.spread=function(e,t){if("function"!=typeof e)throw new Te(a);return t=null==t?0:vr(go(t),0),Xn((function(r){var n=r[t],i=wi(r,0,t);return n&&Rt(i,n),Et(e,this,i)}))},Vr.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},Vr.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:go(t))<0?0:t):[]},Vr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:go(t)))<0?0:t,n):[]},Vr.takeRightWhile=function(e,t){return e&&e.length?di(e,ua(t,3),!1,!0):[]},Vr.takeWhile=function(e,t){return e&&e.length?di(e,ua(t,3)):[]},Vr.tap=function(e,t){return t(e),e},Vr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Te(a);return to(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Fs(e,t,{leading:n,maxWait:t,trailing:i})},Vr.thru=ds,Vr.toArray=po,Vr.toPairs=Vo,Vr.toPairsIn=Oo,Vr.toPath=function(e){return Us(e)?It(e,ja):uo(e)?[e]:Di(Ba(xo(e)))},Vr.toPlainObject=bo,Vr.transform=function(e,t,r){var n=Us(e),i=n||Ks(e)||co(e);if(t=ua(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:to(e)&&Js(a)?Or(qe(e)):{}}return(i?Ct:_n)(e,(function(e,n,i){return t(r,e,n,i)})),r},Vr.unary=function(e){return As(e,1)},Vr.union=rs,Vr.unionBy=ns,Vr.unionWith=is,Vr.uniq=function(e){return e&&e.length?hi(e):[]},Vr.uniqBy=function(e,t){return e&&e.length?hi(e,ua(t,2)):[]},Vr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?hi(e,i,t):[]},Vr.unset=function(e,t){return null==e||fi(e,t)},Vr.unzip=as,Vr.unzipWith=ss,Vr.update=function(e,t,r){return null==e?e:pi(e,t,bi(r))},Vr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:pi(e,t,bi(r),n)},Vr.values=Go,Vr.valuesIn=function(e){return null==e?[]:Jt(e,Ro(e))},Vr.without=os,Vr.words=Zo,Vr.wrap=function(e,t){return js(bi(t),e)},Vr.xor=ls,Vr.xorBy=us,Vr.xorWith=cs,Vr.zip=hs,Vr.zipObject=function(e,t){return yi(e||[],t||[],tn)},Vr.zipObjectDeep=function(e,t){return yi(e||[],t||[],ei)},Vr.zipWith=fs,Vr.entries=Vo,Vr.entriesIn=Oo,Vr.extend=wo,Vr.extendWith=So,ul(Vr,Vr),Vr.add=bl,Vr.attempt=el,Vr.camelCase=Ho,Vr.capitalize=Wo,Vr.ceil=xl,Vr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=vo(r))===r?r:0),t!==i&&(t=(t=vo(t))===t?t:0),ln(vo(e),t,r)},Vr.clone=function(e){return un(e,4)},Vr.cloneDeep=function(e){return un(e,5)},Vr.cloneDeepWith=function(e,t){return un(e,5,t="function"==typeof t?t:i)},Vr.cloneWith=function(e,t){return un(e,4,t="function"==typeof t?t:i)},Vr.conformsTo=function(e,t){return null==t||cn(e,t,Io(t))},Vr.deburr=Uo,Vr.defaultTo=function(e,t){return null==e||e!==e?t:e},Vr.divide=_l,Vr.endsWith=function(e,t,r){e=xo(e),t=ci(t);var n=e.length,a=r=r===i?n:ln(go(r),0,n);return(r-=t.length)>=0&&e.slice(r,a)==t},Vr.eq=Os,Vr.escape=function(e){return(e=xo(e))&&X.test(e)?e.replace(K,ir):e},Vr.escapeRegExp=function(e){return(e=xo(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},Vr.every=function(e,t,r){var n=Us(e)?Tt:mn;return r&&xa(e,t,r)&&(t=i),n(e,ua(t,3))},Vr.find=ys,Vr.findIndex=Wa,Vr.findKey=function(e,t){return zt(e,ua(t,3),_n)},Vr.findLast=vs,Vr.findLastIndex=Ua,Vr.findLastKey=function(e,t){return zt(e,ua(t,3),wn)},Vr.floor=wl,Vr.forEach=bs,Vr.forEachRight=xs,Vr.forIn=function(e,t){return null==e?e:bn(e,ua(t,3),Ro)},Vr.forInRight=function(e,t){return null==e?e:xn(e,ua(t,3),Ro)},Vr.forOwn=function(e,t){return e&&_n(e,ua(t,3))},Vr.forOwnRight=function(e,t){return e&&wn(e,ua(t,3))},Vr.get=Ao,Vr.gt=Gs,Vr.gte=Hs,Vr.has=function(e,t){return null!=e&&ga(e,t,An)},Vr.hasIn=To,Vr.head=$a,Vr.identity=al,Vr.includes=function(e,t,r,n){e=$s(e)?e:Go(e),r=r&&!n?go(r):0;var i=e.length;return r<0&&(r=vr(i+r,0)),lo(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Ot(e,t,r)>-1},Vr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:go(r);return i<0&&(i=vr(n+i,0)),Ot(e,t,i)},Vr.inRange=function(e,t,r){return t=mo(t),r===i?(r=t,t=0):r=mo(r),function(e,t,r){return e>=br(t,r)&&e=-9007199254740991&&e<=d},Vr.isSet=oo,Vr.isString=lo,Vr.isSymbol=uo,Vr.isTypedArray=co,Vr.isUndefined=function(e){return e===i},Vr.isWeakMap=function(e){return ro(e)&&ma(e)==I},Vr.isWeakSet=function(e){return ro(e)&&"[object WeakSet]"==Pn(e)},Vr.join=function(e,t){return null==e?"":qt.call(e,t)},Vr.kebabCase=qo,Vr.last=Xa,Vr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n;return r!==i&&(a=(a=go(r))<0?vr(n+a,0):br(a,n-1)),t===t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):Vt(e,Ht,a,!0)},Vr.lowerCase=$o,Vr.lowerFirst=Yo,Vr.lt=ho,Vr.lte=fo,Vr.max=function(e){return e&&e.length?gn(e,al,Cn):i},Vr.maxBy=function(e,t){return e&&e.length?gn(e,ua(t,2),Cn):i},Vr.mean=function(e){return Wt(e,al)},Vr.meanBy=function(e,t){return Wt(e,ua(t,2))},Vr.min=function(e){return e&&e.length?gn(e,al,zn):i},Vr.minBy=function(e,t){return e&&e.length?gn(e,ua(t,2),zn):i},Vr.stubArray=yl,Vr.stubFalse=vl,Vr.stubObject=function(){return{}},Vr.stubString=function(){return""},Vr.stubTrue=function(){return!0},Vr.multiply=Sl,Vr.nth=function(e,t){return e&&e.length?Wn(e,go(t)):i},Vr.noConflict=function(){return pt._===this&&(pt._=Ve),this},Vr.noop=cl,Vr.now=Cs,Vr.pad=function(e,t,r){e=xo(e);var n=(t=go(t))?fr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Ui(mt(i),r)+e+Ui(dt(i),r)},Vr.padEnd=function(e,t,r){e=xo(e);var n=(t=go(t))?fr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var a=wr();return br(e+a*(t-e+ut("1e-"+((a+"").length-1))),t)}return Kn(e,t)},Vr.reduce=function(e,t,r){var n=Us(e)?Nt:$t,i=arguments.length<3;return n(e,ua(t,4),r,i,pn)},Vr.reduceRight=function(e,t,r){var n=Us(e)?Lt:$t,i=arguments.length<3;return n(e,ua(t,4),r,i,dn)},Vr.repeat=function(e,t,r){return t=(r?xa(e,t,r):t===i)?1:go(t),Qn(xo(e),t)},Vr.replace=function(){var e=arguments,t=xo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vr.result=function(e,t,r){var n=-1,a=(t=xi(t,e)).length;for(a||(a=1,e=i);++nd)return[];var r=g,n=br(e,g);t=ua(t),e-=g;for(var i=Kt(n,t);++r=s)return e;var l=r-fr(n);if(l<1)return n;var u=o?wi(o,0,l).join(""):e.slice(0,l);if(a===i)return u+n;if(o&&(l+=u.length-l),so(a)){if(e.slice(l).search(a)){var c,h=u;for(a.global||(a=Ce(a.source,xo(me.exec(a))+"g")),a.lastIndex=0;c=a.exec(h);)var f=c.index;u=u.slice(0,f===i?l:f)}}else if(e.indexOf(ci(a),l)!=l){var p=u.lastIndexOf(a);p>-1&&(u=u.slice(0,p))}return u+n},Vr.unescape=function(e){return(e=xo(e))&&Q.test(e)?e.replace(Y,mr):e},Vr.uniqueId=function(e){var t=++Le;return xo(e)+t},Vr.upperCase=Xo,Vr.upperFirst=Jo,Vr.each=bs,Vr.eachRight=xs,Vr.first=$a,ul(Vr,function(){var e={};return _n(Vr,(function(t,r){Ne.call(Vr.prototype,r)||(e[r]=t)})),e}(),{chain:!1}),Vr.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vr[e].placeholder=Vr})),Ct(["drop","take"],(function(e,t){Wr.prototype[e]=function(r){r=r===i?1:vr(go(r),0);var n=this.__filtered__&&!t?new Wr(this):this.clone();return n.__filtered__?n.__takeCount__=br(r,n.__takeCount__):n.__views__.push({size:br(r,g),type:e+(n.__dir__<0?"Right":"")}),n},Wr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Wr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ua(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Ct(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Wr.prototype[e]=function(){return this[r](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Wr.prototype[e]=function(){return this.__filtered__?new Wr(this):this[r](1)}})),Wr.prototype.compact=function(){return this.filter(al)},Wr.prototype.find=function(e){return this.filter(e).head()},Wr.prototype.findLast=function(e){return this.reverse().find(e)},Wr.prototype.invokeMap=Xn((function(e,t){return"function"==typeof e?new Wr(this):this.map((function(r){return Mn(r,e,t)}))})),Wr.prototype.reject=function(e){return this.filter(Ls(ua(e)))},Wr.prototype.slice=function(e,t){e=go(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Wr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=go(t))<0?r.dropRight(-t):r.take(t-e)),r)},Wr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wr.prototype.toArray=function(){return this.take(g)},_n(Wr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=Vr[n?"take"+("last"==t?"Right":""):t],s=n||/^find/.test(t);a&&(Vr.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,l=t instanceof Wr,u=o[0],c=l||Us(t),h=function(e){var t=a.apply(Vr,Rt([e],o));return n&&f?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var f=this.__chain__,p=!!this.__actions__.length,d=s&&!f,m=l&&!p;if(!s&&c){t=m?t:new Wr(this);var g=e.apply(t,o);return g.__actions__.push({func:ds,args:[h],thisArg:i}),new Hr(g,f)}return d&&m?e.apply(this,o):(g=this.thru(h),d?n?g.value()[0]:g.value():g)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Vr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Us(i)?i:[],e)}return this[r]((function(r){return t.apply(Us(r)?r:[],e)}))}})),_n(Wr.prototype,(function(e,t){var r=Vr[t];if(r){var n=r.name+"";Ne.call(Mr,n)||(Mr[n]=[]),Mr[n].push({name:t,func:r})}})),Mr[Oi(i,2).name]=[{name:"wrapper",func:i}],Wr.prototype.clone=function(){var e=new Wr(this.__wrapped__);return e.__actions__=Di(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Di(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Di(this.__views__),e},Wr.prototype.reverse=function(){if(this.__filtered__){var e=new Wr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Us(e),n=t<0,i=r?e.length:0,a=function(e,t,r){var n=-1,i=r.length;for(;++n=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Vr.prototype.plant=function(e){for(var t,r=this;r instanceof Gr;){var n=Va(r);n.__index__=0,n.__values__=i,t?a.__wrapped__=n:t=n;var a=n;r=r.__wrapped__}return a.__wrapped__=e,t},Vr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wr){var t=e;return this.__actions__.length&&(t=new Wr(this)),(t=t.reverse()).__actions__.push({func:ds,args:[ts],thisArg:i}),new Hr(t,this.__chain__)}return this.thru(ts)},Vr.prototype.toJSON=Vr.prototype.valueOf=Vr.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Vr.prototype.first=Vr.prototype.head,Xe&&(Vr.prototype[Xe]=function(){return this}),Vr}();pt._=gr,(n=function(){return gr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},741:function(e,t,r){!function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var i=n(t),a=n(r);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}function c(e,t){if(null==e)return{};var r,n,i=u(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function h(e,t){return f(e)||p(e,t)||d(e,t)||g()}function f(e){if(Array.isArray(e))return e}function p(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);s=!0);}catch(l){o=!0,i=l}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}function d(e,t){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{};if(A.current){null===(t=C.current)||void 0===t||t.destroy();var n=o(o(o({},e),r),{},{container:A.current});return C.current=i.default.loadAnimation(n),P(!!C.current),function(){var e;null===(e=C.current)||void 0===e||e.destroy(),C.current=void 0}}};return r.useEffect((function(){var e=V();return function(){return null===e||void 0===e?void 0:e()}}),[n,s]),r.useEffect((function(){C.current&&(C.current.autoplay=!!l)}),[l]),r.useEffect((function(){C.current&&(u?Array.isArray(u)&&u.length&&((C.current.currentRawFrameu[1])&&(C.current.currentRawFrame=u[0]),C.current.setSegment(u[0],u[1])):C.current.resetSegments(!0))}),[u]),r.useEffect((function(){var e=[{name:"complete",handler:f},{name:"loopComplete",handler:p},{name:"enterFrame",handler:d},{name:"segmentStart",handler:m},{name:"config_ready",handler:g},{name:"data_ready",handler:v},{name:"data_failed",handler:b},{name:"loaded_images",handler:x},{name:"DOMLoaded",handler:_},{name:"destroy",handler:w}].filter((function(e){return null!=e.handler}));if(e.length){var t=e.map((function(e){var t;return null===(t=C.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=C.current)||void 0===t||t.removeEventListener(e.name,e.handler)}}));return function(){t.forEach((function(e){return e()}))}}}),[f,p,d,m,g,v,b,x,_,w]),{View:a.default.createElement("div",o({style:t,ref:A},S)),play:T,stop:D,pause:M,setSpeed:F,goToAndStop:R,goToAndPlay:I,setDirection:N,playSegments:L,setSubframe:B,getDuration:j,destroy:z,animationContainerRef:A,animationLoaded:E,animationItem:C.current}};function b(e){var t=e.getBoundingClientRect(),r=t.top,n=t.height;return(window.innerHeight-r)/(window.innerHeight+n)}function x(e,t,r){var n=e.getBoundingClientRect(),i=n.top;return{x:(t-n.left)/n.width,y:(r-i)/n.height}}var _=function(e){var t=e.wrapperRef,n=e.animationItem,i=e.mode,a=e.actions;r.useEffect((function(){var e=t.current;if(e&&n&&a.length){n.stop();var r=function(){var t=null,r=function(){var r=b(e),i=a.find((function(e){var t=e.visibility;return t&&r>=t[0]&&r<=t[1]}));if(i){if("seek"===i.type&&i.visibility&&2===i.frames.length){var s=i.frames[0]+Math.ceil((r-i.visibility[0])/(i.visibility[1]-i.visibility[0])*i.frames[1]);n.goToAndStop(s-n.firstFrame-1,!0)}"loop"===i.type&&(null===t||t!==i.frames||n.isPaused)&&(n.playSegments(i.frames,!0),t=i.frames),"play"===i.type&&n.isPaused&&(n.resetSegments(!0),n.play()),"stop"===i.type&&n.goToAndStop(i.frames[0]-n.firstFrame-1,!0)}};return document.addEventListener("scroll",r),function(){document.removeEventListener("scroll",r)}},s=function(){var t=function(t,r){var i=t,s=r;if(-1!==i&&-1!==s){var o=x(e,i,s);i=o.x,s=o.y}var l=a.find((function(e){var t=e.position;return t&&Array.isArray(t.x)&&Array.isArray(t.y)?i>=t.x[0]&&i<=t.x[1]&&s>=t.y[0]&&s<=t.y[1]:!(!t||Number.isNaN(t.x)||Number.isNaN(t.y))&&i===t.x&&s===t.y}));if(l){if("seek"===l.type&&l.position&&Array.isArray(l.position.x)&&Array.isArray(l.position.y)&&2===l.frames.length){var u=(i-l.position.x[0])/(l.position.x[1]-l.position.x[0]),c=(s-l.position.y[0])/(l.position.y[1]-l.position.y[0]);n.playSegments(l.frames,!0),n.goToAndStop(Math.ceil((u+c)/2*(l.frames[1]-l.frames[0])),!0)}"loop"===l.type&&n.playSegments(l.frames,!0),"play"===l.type&&(n.isPaused&&n.resetSegments(!1),n.playSegments(l.frames)),"stop"===l.type&&n.goToAndStop(l.frames[0],!0)}},r=function(e){t(e.clientX,e.clientY)},i=function(){t(-1,-1)};return e.addEventListener("mousemove",r),e.addEventListener("mouseout",i),function(){e.removeEventListener("mousemove",r),e.removeEventListener("mouseout",i)}};switch(i){case"scroll":return r();case"cursor":return s()}}}),[i,n])},w=function(e){var t=e.actions,r=e.mode,n=e.lottieObj,i=n.animationItem,a=n.View,s=n.animationContainerRef;return _({actions:t,animationItem:i,mode:r,wrapperRef:s}),a},S=["style","interactivity"],k=function(e){var t,n,i,a=e.style,s=e.interactivity,o=c(e,S),l=v(o,a),u=l.View,h=l.play,f=l.stop,p=l.pause,d=l.setSpeed,m=l.goToAndStop,g=l.goToAndPlay,y=l.setDirection,b=l.playSegments,x=l.setSubframe,_=l.getDuration,k=l.destroy,E=l.animationContainerRef,P=l.animationLoaded,C=l.animationItem;return r.useEffect((function(){e.lottieRef&&(e.lottieRef.current={play:h,stop:f,pause:p,setSpeed:d,goToAndPlay:g,goToAndStop:m,setDirection:y,playSegments:b,setSubframe:x,getDuration:_,destroy:k,animationContainerRef:E,animationLoaded:P,animationItem:C})}),[null===(t=e.lottieRef)||void 0===t?void 0:t.current]),w({lottieObj:{View:u,play:h,stop:f,pause:p,setSpeed:d,goToAndStop:m,goToAndPlay:g,setDirection:y,playSegments:b,setSubframe:x,getDuration:_,destroy:k,animationContainerRef:E,animationLoaded:P,animationItem:C},actions:null!==(n=null===s||void 0===s?void 0:s.actions)&&void 0!==n?n:[],mode:null!==(i=null===s||void 0===s?void 0:s.mode)&&void 0!==i?i:"scroll"})};Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return i.default}}),e.default=k,e.useLottie=v,e.useLottieInteractivity=w,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(625),r(791))},625:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n,i=e.length;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,r=1,n=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},a={postMessage:function(e){i.onmessage({data:e})}};function s(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return e=t,i}((function(e){if(a.dataManager||(a.dataManager=function(){function e(i,a){var s,o,l,u,h,f,p=i.length;for(o=0;o=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;ir[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function r(e){var r,n=e.length;for(r=0;r=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(i=e[r].ks.k.length,n=0;n500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function a(e){var t={assetData:e},r=n(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function s(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var n=e.length;for(r=0;rthis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,i=n.length,a=e.layers,s=a.length;for(r=0;rthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,n=e.length;for(r=0;r=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,d()},e.setVolume=function(e,r){var i;for(i=0;i=.001?function(e,t,r,n){for(var i=0;i<4;++i){var a=l(t,r,n);if(0===a)return t;t-=(o(t,r,n)-e)/a}return t}(e,u,t,n):0===c?u:function(e,t,r,n,i){var a,s,l=0;do{(a=o(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(e,a,a+r,t,n)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,i=e,a=createSizedArray(i);return{newElement:function(){return n?a[n-=1]:t()},release:function(e){n===i&&(a=pooling.double(a),i*=2),r&&r(e),a[n]=e,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,r=e.lengths.length;for(t=0;t-.001&&s<.001}var r=function(e,t,r,n){var i,a,s,o,l,u,c=getDefaultCurveSegments(),h=0,f=[],p=[],d=bezierLengthPool.newElement();for(s=r.length,i=0;is?-1:1,u=!0;u;)if(n[a]<=s&&n[a+1]>s?(o=(s-n[a])/(n[a+1]-n[a]),u=!1):a+=l,a<0||a>=i-1){if(a===i-1)return r[a];u=!1}return r[a]+(r[a+1]-r[a])*o}var o=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,n=segmentsLengthPool.newElement(),i=e.c,a=e.v,s=e.o,o=e.i,l=e._length,u=n.lengths,c=0;for(t=0;t1&&(a=1);var c,h=s(a,u),f=s(l=l>1?1:l,u),p=t.length,d=1-h,m=1-f,g=d*d*d,y=h*d*d*3,v=h*h*d*3,b=h*h*h,x=d*d*m,_=h*d*m+d*h*m+d*d*f,w=h*h*m+d*h*f+h*d*f,S=h*h*f,k=d*m*m,E=h*m*m+d*f*m+d*m*f,P=h*f*m+d*f*f+h*m*f,C=h*f*f,A=m*m*m,T=f*m*m+m*f*m+m*m*f,D=f*f*m+m*f*f+f*m*f,M=f*f*f;for(c=0;cp?f>d?f-p-d:d-p-f:d>p?d-p-f:p-f-d)>-1e-4&&h<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,u,c,h,f,p,d=t.lastIndex,m=d,g=this.keyframes.length-1,y=!0;y;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===g-1&&e>=s.t-i){a.h&&(a=s),d=0;break}if(s.t-i>e){d=m;break}m=b||e=b?_.points.length-1:0;for(u=_.points[w].point.length,l=0;l=E&&k=b?(r[0]=v[0],r[1]=v[1],r[2]=v[2]):e<=x?(r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2]):function(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],s=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i),o=Math.asin(2*r*n+2*i*a),l=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}(r,function(e,t,r){var n,i,a,s,o,l=[],u=e[0],c=e[1],h=e[2],f=e[3],p=t[0],d=t[1],m=t[2],g=t[3];return(i=u*p+c*d+h*m+f*g)<0&&(i=-i,p=-p,d=-d,m=-m,g=-g),1-i>1e-6?(n=Math.acos(i),a=Math.sin(n),s=Math.sin((1-r)*n)/a,o=Math.sin(r*n)/a):(s=1-r,o=r),l[0]=s*u+o*p,l[1]=s*c+o*d,l[2]=s*h+o*m,l[3]=s*f+o*g,l}(n(a.s),n(v),(e-x)/(b-x)));else for(m=0;m=b?c=1:e=n&&t>=n||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function a(e){var r;if("unidimensional"===this.propType)r=e*this.mult,t(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,i=this.v.length;n1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function s(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[n]||a[n]&&!i)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,i,a,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a=p[p.length-1].t-this.offsetTime)n=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],a=!0;else{for(var d,m,g,y=f,v=p.length-1,b=!0;b&&(d=p[y],!((m=p[y+1]).t-this.offsetTime>e));)y=m.t-this.offsetTime)c=1;else if(en&&t>n)||(this._caching.lastIndex=i0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function F(){var e=this.props;return"matrix("+M(e[0])+","+M(e[1])+","+M(e[4])+","+M(e[5])+","+M(e[12])+","+M(e[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=c,this.skewFromAxis=h,this.shear=u,this.scale=f,this.setTransform=p,this.translate=d,this.transform=m,this.applyToPoint=x,this.applyToX=_,this.applyToY=w,this.applyToZ=S,this.applyToPointArray=A,this.applyToTriplePoints=C,this.applyToPointStringified=T,this.toCSS=D,this.to2dCSS=F,this.clone=v,this.cloneFromProps=b,this.equals=y,this.inversePoints=P,this.inversePoint=E,this.getInverseMatrix=k,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"===typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var s,o,l=[],u=a.length;for(s=0;sn+r||(c=o.s*i<=n?0:(o.s*i-n)/r,h=o.e*i>=n+r?1:(o.e*i-n)/r,l.push([c,h]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var s=t;t=r,r=s}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var o,l,u,c,h,f=this.shapes.length,p=0;if(r===t)for(i=0;i=0;i-=1)if((d=this.shapes[i]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&f>1?(y=this.calculateShapeEdges(t,r,d.totalShapeLength,x,p),x+=d.totalShapeLength):y=[[v,b]],l=y.length,o=0;o=1?g.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(g.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),g.push({s:0,e:d.totalShapeLength*(b-1)}));var _=this.addShapes(d,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var w=_.pop();this.addPaths(_,m),_=this.addShapes(d,g[1],w)}else this.addPaths(_,m),_=this.addShapes(d,g[1]);this.addPaths(_,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;rt.e){r.c=!1;break}t.s<=d&&t.e>=d+s.addedLength?(this.addSegment(f[n].v[i-1],f[n].o[i-1],f[n].i[i],f[n].v[i],r,o,g),g=!1):(u=bez.getNewSegment(f[n].v[i-1],f[n].v[i],f[n].o[i-1],f[n].i[i],(t.s-d)/s.addedLength,(t.e-d)/s.addedLength,l[i-1]),this.addSegmentFromArray(u,r,o,g),g=!1,r.c=!1),d+=s.addedLength,o+=1}if(f[n].c&&l.length){if(s=l[i-1],d<=t.e){var y=l[i-1].addedLength;t.s<=d&&t.e>=d+y?(this.addSegment(f[n].v[i-1],f[n].o[i-1],f[n].i[0],f[n].v[0],r,o,g),g=!1):(u=bez.getNewSegment(f[n].v[i-1],f[n].v[0],f[n].o[i-1],f[n].i[0],(t.s-d)/y,(t.e-d)/y,l[i-1]),this.addSegmentFromArray(u,r,o,g),g=!1,r.c=!1)}else r.c=!1;d+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[c][0],r.v[c][1],"i",c),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>t.e)break;n=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(n[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),i[0]=a.getValueAtTime(a.keyframes[0].t/r,0),i[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(n[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(n=[a.pv,s.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else n=i=e;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",i=t.length,a=0;a0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t0?Math.floor(f):Math.ceil(f),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,x=0;if(f>0){for(;xd;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),x-=p)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==x){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v0&&(c=!1),c){var h=createTag("style");h.setAttribute("f-forigin",n[r].fOrigin),h.setAttribute("f-origin",n[r].origin),h.setAttribute("f-family",n[r].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",t.appendChild(h)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;ue?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",i=e.data.ef?e.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],t=0;t=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e0;)l=n.transformers[m].mProps._mdf||l,d-=1,m-=1;if(l)for(d=y-n.styles[c].lvl,m=n.transformers.length-1;d>0;)p=n.transformers[m].mProps.v.props,f.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),d-=1,m-=1}else f=e;if(s=(h=n.sh.paths)._length,l){for(o="",a=0;a=1?v=.99:v<=-1&&(v=-.99);var b=o*v,x=Math.cos(y+t.a.v)*b+c[0],_=Math.sin(y+t.a.v)*b+c[1];l.setAttribute("fx",x),l.setAttribute("fy",_),u&&!t.g._collapsable&&(t.of.setAttribute("fx",x),t.of.setAttribute("fy",_))}}function l(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t=0;o-=1){if((f=this.searchProcessedElement(e[o]))?t[o]=r[f-1]:e[o]._render=s,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty||"no"===e[o].ty)f?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],i),e[o]._render&&t[o].style.pElem.parentNode!==n&&n.appendChild(t[o].style.pElem),m.push(t[o].style);else if("gr"===e[o].ty){if(f)for(u=t[o].it.length,l=0;l1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;nt);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,n=[],i=0,a=e.length,s=!1;i=55296&&t<=56319?(r=e.charCodeAt(i+1))>=56320&&r<=57343?(s||FontManager.isModifier(t,r)?(n[n.length-1]+=e.substr(i,2),s=!1):n.push(e.substr(i,2)),i+=1):n.push(e.charAt(i)):t>56319?(r=e.charCodeAt(i+1),FontManager.isZeroWidthJoiner(t,r)?(s=!0,n[n.length-1]+=e.substr(i,2),i+=1):n.push(e.charAt(i))):FontManager.isZeroWidthJoiner(t)?(n[n.length-1]+=e.charAt(i),s=!0):n.push(e.charAt(i)),i+=1;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,i,a,s,o,l=this.elem.globalData.fontManager,u=this.data,c=[],h=0,f=u.m.g,p=0,d=0,m=0,g=[],y=0,v=0,b=l.getFontByName(e.f),x=0,_=getFontProperties(b);e.fWeight=_.weight,e.fStyle=_.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var w,S=e.tr/1e3*e.finalSize;if(e.sz)for(var k,E,P=!0,C=e.sz[0],A=e.sz[1];P;){k=0,y=0,r=(E=this.buildFinalText(e.t)).length,S=e.tr/1e3*e.finalSize;var T=-1;for(t=0;tC&&" "!==E[t]?(-1===T?r+=1:t=T,k+=e.finalLineHeight||1.2*e.finalSize,E.splice(t,T===t?1:0,"\r"),T=-1,y=0):(y+=x,y+=S);k+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Av?y:v,y=-2*S,i="",n=!0,m+=1):i=D,l.chars?(o=l.getCharData(D,b.fStyle,l.getFontByName(e.f).fFamily),x=n?0:o.w*e.finalSize/100):x=l.measureText(i,e.f,e.finalSize)," "===D?M+=x+S:(y+=x+S+M,M=0),c.push({l:x,an:x,add:p,n:n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==f){if(p+=x,""===i||" "===i||t===r-1){for(""!==i&&" "!==i||(p-=x);d<=t;)c[d].an=p,c[d].ind=h,c[d].extra=x,d+=1;h+=1,p=0}}else if(3==f){if(p+=x,""===i||t===r-1){for(""===i&&(p-=x);d<=t;)c[d].an=p,c[d].ind=h,c[d].extra=x,d+=1;p=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(e.l=c,v=y>v?y:v,g.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var F,I,R,N,L=u.a;s=L.length;var B=[];for(a=0;a0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,u=0,c=this.finalS,h=this.finalE,f=this.data.sh;if(2===f)u=l(u=h===c?n>=h?1:0:e(0,t(.5/(h-c)+(n-c)/(h-c),1)));else if(3===f)u=l(u=h===c?n>=h?0:1:1-e(0,t(.5/(h-c)+(n-c)/(h-c),1)));else if(4===f)h===c?u=0:(u=e(0,t(.5/(h-c)+(n-c)/(h-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===f){if(h===c)u=0;else{var p=h-c,d=-p/2+(n=t(e(0,n+.5-c),h-c)),m=p/2;u=Math.sqrt(1-d*d/(m*m))}u=l(u)}else 6===f?(h===c?u=0:(n=t(e(0,n+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*n/(h-c)))/2),u=l(u)):(n>=r(c)&&(u=e(0,t(n-c<0?t(h,1)-(c-n):h-n,1))),u=l(u));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;u1&&(u=1)}return u*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,i=this.e.v/t+r;if(n>i){var a=n;n=i,i=a}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,r):n,rx:a.rx?i(e,a.rx,0,degToRads,r):n,ry:a.ry?i(e,a.ry,0,degToRads,r):n,sk:a.sk?i(e,a.sk,0,degToRads,r):n,sa:a.sa?i(e,a.sa,0,degToRads,r):n,s:a.s?i(e,a.s,1,.01,r):n,a:a.a?i(e,a.a,1,0,r):n,o:a.o?i(e,a.o,0,.01,r):n,p:a.p?i(e,a.p,1,0,r):n,sw:a.sw?i(e,a.sw,0,0,r):n,sc:a.sc?i(e,a.sc,1,0,r):n,fc:a.fc?i(e,a.fc,1,0,r):n,fh:a.fh?i(e,a.fh,0,0,r):n,fs:a.fs?i(e,a.fs,0,.01,r):n,fb:a.fb?i(e,a.fb,0,.01,r):n,t:a.t?i(e,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e=o+oe||!d?(v=(o+oe-u)/l.partialLength,j=p.point[0]+(l.point[0]-p.point[0])*v,z=p.point[1]+(l.point[1]-p.point[1])*v,k.translate(-_[0]*C[i].an*.005,-_[1]*N*.01),c=!1):d&&(u+=l.partialLength,(h+=1)>=d.length&&(h=0,m[f+=1]?d=m[f].points:x.v.c?(h=0,d=m[f=0].points):(u-=l.partialLength,d=null)),d&&(p=l,g=(l=d[h]).partialLength));B=C[i].an/2-C[i].add,k.translate(-B,0,0)}else B=C[i].an/2-C[i].add,k.translate(-B,0,0),k.translate(-_[0]*C[i].an*.005,-_[1]*N*.01,0);for(M=0;Me?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=s,l){var y=createNS("g");s.appendChild(y),this.textSpans[e].childSpan=y}this.textSpans[e].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(u.reset(),c&&(o[e].n&&(h=-d,f+=r.yOffset,f+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(r,u,o[e].line,h,f),h+=o[e].l||0,h+=d),l){var v;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var x=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else c&&s.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),s.textContent=o[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&s&&s.setAttribute("d","")}else{var _=this.textContainer,w="start";switch(r.j){case 1:w="end";break;case 2:w="middle";break;default:w="start"}_.setAttribute("text-anchor",w),_.setAttribute("letter-spacing",d);var S=this.buildTextContents(r.finalText);for(t=S.length,f=r.ps?r.ps[1]+r.ascent:0,e=0;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e=0;n-=1)r=e.transforms[n].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],d),f.push(t[a].style);else if("gr"===e[a].ty){if(l)for(o=t[a].it.length,s=0;s=0;i-=1)"tr"===t[i].ty?(a=r[i].transform,this.renderShapeTransform(e,a)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],r[i]):"fl"===t[i].ty?this.renderFill(t[i],r[i],a):"st"===t[i].ty?this.renderStroke(t[i],r[i],a):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],r[i],a):"gr"===t[i].ty?this.renderShape(a,t[i].it,r[i].it):t[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,i,a=e.trNodes,s=t.paths,o=s._length;a.length=0;var l=e.transforms.finalTransform;for(i=0;i=1?h=.99:h<=-1&&(h=-.99);var f=u*h,p=Math.cos(c+t.a.v)*f+o[0],d=Math.sin(c+t.a.v)*f+o[1];n=s.createRadialGradient(p,d,0,o[0],o[1],u)}var m=e.g.p,g=t.g.c,y=1;for(a=0;ao&&"xMidYMid slice"===l||sr&&"meet"===a||nr&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(nr&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>r&&"meet"===a||nr&&"meet"===a||n=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r0&&o<1&&h[f].push(this.calculateF(o,e,t,r,n,f)):(l=a*a-4*s*i)>=0&&((u=(-a+bmSqrt(l))/(2*i))>0&&u<1&&h[f].push(this.calculateF(u,e,t,r,n,f)),(c=(-a-bmSqrt(l))/(2*i))>0&&c<1&&h[f].push(this.calculateF(c,e,t,r,n,f))));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,i,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;rr&&(r=i)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),u=Math.atan2(s[0],-s[2]);this.mat.rotateY(u).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var h,f,p;for(t=this.comp.threeDElements.length,e=0;e=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r,n,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===t){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=a.style).transform=o,n.webkitTransform=o}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;rs?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e=s;)e/=2,t/=2,r>>>=1;return(e+r)/t};return v.int32=function(){return 0|y.g(4)},v.quick=function(){return y.g(4)/4294967296},v.double=v,h(f(y.S),e),(p.pass||d||function(e,r,n,i){return i&&(i.S&&u(i,y),e.state=function(){return u(y,{})}),n?(t.random=e,r):e})(v,g,"global"in p?p.global:this==t,p.state)},h(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,i=[];for(r=0;rr){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"===typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),i=0;for(r=0;r.5?u/(2-s-o):u/(s+o),s){case n:t=(i-a)/u+(i1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,i=e[0],a=e[1],s=e[2];if(0===a)t=s,n=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;t=hue2rgb(l,o,i+1/3),r=hue2rgb(l,o,i),n=hue2rgb(l,o,i-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,i){if(void 0!==n&&void 0!==i||(n=t,i=r,t=0,r=1),r=r)return i;var s,o=r===t?0:(e-t)/(r-t);if(!n.length)return n+(i-n)*o;var l=n.length,u=createTypedArray("float32",l);for(s=0;s1){for(n=0;n1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(i)){var o,l=i.length,u=createTypedArray("float32",l);for(o=0;odata.k[t].t&&edata.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=i.length,r=0;ru.length-1)&&(t=u.length-1),n=c-(i=u[u.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/n)%2!==0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),d=Math.floor((l-i)/n);if(this.pv.length){for(s=(o=new Array(h.length)).length,a=0;a=c)return this.pv;if(r?i=c+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-c)):((!t||t>u.length-1)&&(t=u.length-1),n=(i=u[t].t)-c),"pingpong"===e){if(Math.floor((c-l)/n)%2===0)return this.getValueAtTime(((c-l)%n+c)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((n-(c-l)%n+c)/this.comp.globalData.frameRate,0),d=Math.floor((c-l)/n)+1;if(this.pv.length){for(s=(o=new Array(h.length)).length,a=0;a1?(i+e-a)/(t-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;os){var c=o,h=r.c&&o===l-1?0:o+1,f=(s-u)/a[o].addedLength;n=bez.getPointInSegment(r.v[c],r.v[h],r.o[c],r.i[h],f,a[o]);break}u+=a[o].addedLength,o+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var n=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),a=i[0]-n[0],s=i[1]-n[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],o),extendPrototype([u],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=u?p<0?n:i:n+f*Math.pow((a-e)/p,1/r),c[h]=s,h+=1,o+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(e,t,r,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",n),e.appendChild(i),this.feGaussianBlur=i}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t