1/*! For license information please see 2.c11afeb0.chunk.js.LICENSE.txt */ 2(this.webpackJsonpwebsite=this.webpackJsonpwebsite||[]).push([[2],[function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(4),i=n.n(r),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=i.a.createContext&&i.a.createContext(a),s=function(){return(s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},l=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n};function u(t){return t&&t.map((function(t,e){return i.a.createElement(t.tag,s({key:e},t.attr),u(t.child))}))}function c(t){return function(e){return i.a.createElement(h,s({attr:s({},t.attr)},e),u(t.child))}}function h(t){var e=function(e){var n,r=t.attr,a=t.size,o=t.title,u=l(t,["attr","size","title"]),c=a||e.size||"1em";return e.className&&(n=e.className),t.className&&(n=(n?n+" ":"")+t.className),i.a.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,r,u,{className:n,style:s(s({color:t.color||e.color},e.style),t.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),o&&i.a.createElement("title",null,o),t.children)};return void 0!==o?i.a.createElement(o.Consumer,null,(function(t){return e(t)})):e(a)}},function(t,e,n){"use strict";t.exports=n(122)},function(t,e,n){"use strict";n.d(e,"w",(function(){return s})),n.d(e,"a",(function(){return kt})),n.d(e,"b",(function(){return B})),n.d(e,"c",(function(){return Pt})),n.d(e,"d",(function(){return xt})),n.d(e,"e",(function(){return X})),n.d(e,"f",(function(){return dt})),n.d(e,"g",(function(){return It})),n.d(e,"h",(function(){return _})),n.d(e,"i",(function(){return Vt})),n.d(e,"j",(function(){return jt})),n.d(e,"k",(function(){return T})),n.d(e,"l",(function(){return O})),n.d(e,"m",(function(){return I})),n.d(e,"n",(function(){return R})),n.d(e,"o",(function(){return H})),n.d(e,"p",(function(){return wt})),n.d(e,"q",(function(){return bt})),n.d(e,"r",(function(){return gt})),n.d(e,"s",(function(){return C})),n.d(e,"t",(function(){return Bt})),n.d(e,"u",(function(){return A})),n.d(e,"v",(function(){return S})),n.d(e,"x",(function(){return St})),n.d(e,"y",(function(){return M})),n.d(e,"z",(function(){return Gt})),n.d(e,"A",(function(){return Wt})),n.d(e,"B",(function(){return Ht})),n.d(e,"C",(function(){return zt})),n.d(e,"D",(function(){return qt}));var r=n(13),i=n(7),a=n(25),o=x(),s=function(t){return v(t,o)},l=x();s.write=function(t){return v(t,l)};var u=x();s.onStart=function(t){return v(t,u)};var c=x();s.onFrame=function(t){return v(t,c)};var h=x();s.onFinish=function(t){return v(t,h)};var f=[];s.setTimeout=function(t,e){var n=s.now()+e,r={time:n,handler:t,cancel:function t(){var e=f.findIndex((function(e){return e.cancel==t}));~e&&f.splice(e,1),E.count-=~e?1:0}};return f.splice(p(n),0,r),E.count+=1,g(),r};var p=function(t){return~(~f.findIndex((function(e){return e.time>t}))||~f.length)};s.cancel=function(t){o.delete(t),l.delete(t)},s.sync=function(t){y=!0,s.batchedUpdates(t),y=!1},s.throttle=function(t){var e;function n(){try{t.apply(void 0,Object(a.a)(e))}finally{e=null}}function r(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];e=r,s.onStart(n)}return r.handler=t,r.cancel=function(){u.delete(n),e=null},r};var d="undefined"!=typeof window?window.requestAnimationFrame:function(){};s.use=function(t){return d=t},s.now="undefined"!=typeof performance?function(){return performance.now()}:Date.now,s.batchedUpdates=function(t){return t()},s.catch=console.error,s.frameLoop="always",s.advance=function(){"demand"!==s.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):w()};var m=-1,y=!1;function v(t,e){y?(e.delete(t),t(0)):(e.add(t),g())}function g(){m<0&&(m=0,"demand"!==s.frameLoop&&d(b))}function b(){~m&&(d(b),s.batchedUpdates(w))}function w(){var t=m;m=s.now();var e=p(m);e&&(k(f.splice(0,e),(function(t){return t.handler()})),E.count-=e),u.flush(),o.flush(t?Math.min(64,m-t):16.667),c.flush(),l.flush(),h.flush()}function x(){var t=new Set,e=t;return{add:function(n){E.count+=e!=t||t.has(n)?0:1,t.add(n)},delete:function(n){return E.count-=e==t&&t.has(n)?1:0,t.delete(n)}
2,flush:function(n){e.size&&(t=new Set,E.count-=e.size,k(e,(function(e){return e(n)&&t.add(e)})),E.count+=t.size,e=t)}}}function k(t,e){t.forEach((function(t){try{e(t)}catch(n){s.catch(n)}}))}var E={count:0,clear:function(){m=-1,f=[],u=x(),o=x(),c=x(),l=x(),h=x(),E.count=0}},P=n(4);function S(){}var _=function(t,e,n){return Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})},C={arr:Array.isArray,obj:function(t){return!!t&&"Object"===t.constructor.name},fun:function(t){return"function"===typeof t},str:function(t){return"string"===typeof t},num:function(t){return"number"===typeof t},und:function(t){return void 0===t}};function A(t,e){if(C.arr(t)){if(!C.arr(e)||t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t===e}var T=function(t,e){return t.forEach(e)};function O(t,e,n){for(var r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r)}var M=function(t){return C.und(t)?[]:C.arr(t)?t:[t]};function I(t,e){if(t.size){var n=Array.from(t);t.clear(),T(n,e)}}var D,F,R=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return I(t,(function(t){return t.apply(void 0,n)}))},j=null,L=!1,V=S,B=Object.freeze({__proto__:null,get createStringInterpolator(){return D},get to(){return F},get colors(){return j},get skipAnimation(){return L},get willAdvance(){return V},assign:function(t){t.to&&(F=t.to),t.now&&(s.now=t.now),void 0!==t.colors&&(j=t.colors),null!=t.skipAnimation&&(L=t.skipAnimation),t.createStringInterpolator&&(D=t.createStringInterpolator),t.requestAnimationFrame&&s.use(t.requestAnimationFrame),t.batchedUpdates&&(s.batchedUpdates=t.batchedUpdates),t.willAdvance&&(V=t.willAdvance),t.frameLoop&&(s.frameLoop=t.frameLoop)}}),z=new Set,N=[],G=[],U=0,H={get idle(){return!z.size&&!N.length},start:function(t){U>t.priority?(z.add(t),s.onStart(q)):(W(t),s(Y))},advance:Y,sort:function(t){if(U)s.onFrame((function(){return H.sort(t)}));else{var e=N.indexOf(t);~e&&(N.splice(e,1),$(t))}},clear:function(){N=[],z.clear()}};function q(){z.forEach(W),z.clear(),s(Y)}function W(t){N.includes(t)||$(t)}function $(t){N.splice(function(t,e){var n=t.findIndex(e);return n<0?t.length:n}(N,(function(e){return e.priority>t.priority})),0,t)}function Y(t){for(var e=G,n=0;n<N.length;n++){var r=N[n];U=r.priority,r.idle||(V(r),r.advance(t),r.idle||e.push(r))}return U=0,(G=N).length=0,(N=e).length>0}var X={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Z="[-+]?\\d*\\.?\\d+",Q=Z+"%";function K(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var J=new RegExp("rgb"+K(Z,Z,Z)),tt=new RegExp("rgba"+K(Z,Z,Z,Z)),et=new RegExp("hsl"+K(Z,Q,Q)),nt=new RegExp("hsla"
2+K(Z,Q,Q,Z)),rt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,it=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,at=/^#([0-9a-fA-F]{6})$/,ot=/^#([0-9a-fA-F]{8})$/;function st(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function lt(t,e,n){var r=n<.5?n*(1+e):n+e-n*e,i=2*n-r,a=st(i,r,t+1/3),o=st(i,r,t),s=st(i,r,t-1/3);return Math.round(255*a)<<24|Math.round(255*o)<<16|Math.round(255*s)<<8}function ut(t){var e=parseInt(t,10);return e<0?0:e>255?255:e}function ct(t){return(parseFloat(t)%360+360)%360/360}function ht(t){var e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function ft(t){var e=parseFloat(t);return e<0?0:e>100?1:e/100}function pt(t){var e=function(t){var e;return"number"===typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=at.exec(t))?parseInt(e[1]+"ff",16)>>>0:j&&void 0!==j[t]?j[t]:(e=J.exec(t))?(ut(e[1])<<24|ut(e[2])<<16|ut(e[3])<<8|255)>>>0:(e=tt.exec(t))?(ut(e[1])<<24|ut(e[2])<<16|ut(e[3])<<8|ht(e[4]))>>>0:(e=rt.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=ot.exec(t))?parseInt(e[1],16)>>>0:(e=it.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=et.exec(t))?(255|lt(ct(e[1]),ft(e[2]),ft(e[3])))>>>0:(e=nt.exec(t))?(lt(ct(e[1]),ft(e[2]),ft(e[3]))|ht(e[4]))>>>0:null}(t);if(null===e)return t;var n=(16711680&(e=e||0))>>>16,r=(65280&e)>>>8,i=(255&e)/255;return"rgba(".concat((4278190080&e)>>>24,", ").concat(n,", ").concat(r,", ").concat(i,")")}var dt=function t(e,n,r){if(C.fun(e))return e;if(C.arr(e))return t({range:e,output:n,extrapolate:r});if(C.str(e.output[0]))return D(e);var i=e,a=i.output,o=i.range||[0,1],s=i.extrapolateLeft||i.extrapolate||"extend",l=i.extrapolateRight||i.extrapolate||"extend",u=i.easing||function(t){return t};return function(t){var e=function(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}(t,o);return function(t,e,n,r,i,a,o,s,l){var u=l?l(t):t;if(u<e){if("identity"===o)return u;"clamp"===o&&(u=e)}if(u>n){if("identity"===s)return u;"clamp"===s&&(u=n)}if(r===i)return r;if(e===n)return t<=e?r:i;e===-1/0?u=-u:n===1/0?u-=e:u=(u-e)/(n-e);u=a(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r;return u}(t,o[e],o[e+1],a[e],a[e+1],u,s,l,i.map)}};function mt(){return(mt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var yt=Symbol.for("FluidValue.get"),vt=Symbol.for("FluidValue.observers"),gt=function(t){return Boolean(t&&t[yt])},bt=function(t){return t&&t[yt]?t[yt]():t},wt=function(t){return t[vt]||null};function xt(t,e){var n=t[vt];n&&n.forEach((function(t){!function(t,e){t.eventObserved?t.eventObserved(e):t(e)}(t,e)}))}var kt=function t(e){if(Object(i.a)(this,t),this[yt]=void 0,this[vt]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");Et(this,e)},Et=function(t,e){return Ct(t,yt,e)};function Pt(t,e){if(t[yt]){var n=t[vt];n||Ct(t,vt,n=new Set),n.has(e)||(n.add(e),t.observerAdded&&t.observerAdded(n.size,e))}return e}function St(t,e){var n=t[vt];if(n&&n.has(e)){var r=n.size-1;r?n.delete(e):t[vt]=null,t.observerRemoved&&t.observerRemoved(r,e)}}var _t,Ct=function(t,e,n){return Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})},At=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Tt=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ot=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Mt=function(t,e,n,r,i){return"rgba(".concat(Math.round(e),", ").concat(Math.round(n),", ").concat(Math.round(r),", ").concat(i,")")},It=function(t){_t||(_t=j?new RegExp("(".concat(Object.keys(j).join("|"),")(?!\\w)"),"g"):/^\b$/);var e=t.output.map((function(t){return bt(t).replace(Tt,pt).replace(_t,pt)})),n=e.map((function(t){return t.match(At).map(Number)})),r=n[0].map((function(t,e){return n.map((function(t){if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]}))})).map((function(e){return dt(mt({},t,{output:e}))}));return function(t){var n=0;return e[0].replace(At,(function(){return String(r[n++](t))})).replace(Ot,Mt)}},Dt="react-spring: ",Ft=function(t){var e=t,n=!1;if("function"!=typeof e)throw new TypeError("".concat(Dt,"once requires a function parameter"));return function(){n||(e.apply(void 0,arguments),n=!0)}},Rt=Ft(console.warn);function jt(){Rt("".concat(Dt,'The "interpolate" function is deprecated
2in v9 (use "to" instead)'))}var Lt=Ft(console.warn);function Vt(){Lt("".concat(Dt,'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions'))}function Bt(t){return C.str(t)&&("#"==t[0]||/\d/.test(t)||t in(j||{}))}var zt=function(t){return Object(P.useEffect)(t,Nt)},Nt=[];function Gt(){var t=Object(P.useState)()[1],e=Object(P.useState)(Ut)[0];return zt(e.unmount),function(){e.current&&t({})}}function Ut(){var t={current:!0,unmount:function(){return function(){t.current=!1}}};return t}function Ht(t,e){var n=Object(P.useState)((function(){return{inputs:e,result:t()}})),i=Object(r.a)(n,1)[0],a=Object(P.useRef)(),o=a.current,s=o;s?Boolean(e&&s.inputs&&function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,s.inputs))||(s={inputs:e,result:t()}):s=i;return Object(P.useEffect)((function(){a.current=s,o==i&&(i.inputs=i.result=void 0)}),[s]),s.result}function qt(t){var e=Object(P.useRef)();return Object(P.useEffect)((function(){e.current=t})),e.current}var Wt="undefined"!==typeof window&&window.document&&window.document.createElement?P.useLayoutEffect:P.useEffect},function(t,e,n){t.exports=function(){"use strict";var t=3.1415926,e={PI:t,PIx2:2*t,PI_2:t/2,PI_180:t/180,N180_PI:180/t,Infinity:-999,isInfinity:function(t){return t===this.Infinity||t===1/0},randomAToB:function(t,e,n){return 2<arguments.length&&void 0!==n&&n?Math.floor(Math.random()*(e-t))+t:t+Math.random()*(e-t)},randomFloating:function(t,e,n){return this.randomAToB(t-e,t+e,n)},randomColor:function(){return"#"+("00000"+(16777216*Math.random()<<0).toString(16)).slice(-6)},randomZone:function(){},floor:function(t,e){return e=1<arguments.length&&void 0!==e?e:4,e=Math.pow(10,e),Math.floor(t*e)/e},degreeTransform:function(e){return e*t/180},toColor16:function(t){return"#"+t.toString(16)}},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},i=function(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t};function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);return void 0!==r?"value"in r?r.value:void 0!==(r=r.get)?r.call(n):void 0:null!==(t=Object.getPrototypeOf(t))?o(t,e,n):void 0}var s=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},u=(i(c,[{key:"getValue",value:function(t){return t=0<arguments.length&&void 0!==t&&t,this.isArray?E.getRandFromArray(this.a):this.center?e.randomFloating(this.a,this.b,t):e.randomAToB(this.a,this.b,t)}}],[{key:"setSpanValue",value:function(t,e,n){return t instanceof c?t:void 0===e?new c(t):void 0===n?new c(t,e):new c(t,e,n)}},{key:"getSpanValue",value:function(t){return t instanceof c?t.getValue():t}}]),c);function c(t,e,n){r(this,c),E.isArray(t)?(this.isArray=!0,this.a=t):(this.isArray=!1,this.a=E.initValue(t,1),this.b=E.initValue(e,this.a),this.center=E.initValue(n,!1))}var h=function(t){--t;for(var e=1;e<32;e<<=1)t|=t>>e;return t+1},f=function(t,e){return[1,0,0,0,1,0,t,e,1]},p=function(t){var e=Math.cos(t);return[e,-(t=Math.sin(t)),0,t,e,0,0,0,1]},d=function(t,e){return[t,0,0,0,e,0,0,0,1]},m=function(t,e){var n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],u=t[7],c=t[8],h=e[0],f=e[1],p=e[2],d=e[3],m=e[4],y=e[5],v=e[6];return[n*h+r*d+i*v,n*f+r*m+i*(t=e[7]),n*p+r*y+i*(e=e[8]),a*h+o*d+s*v,a*f+o*m+s*t,a*p+o*y+s*e,l*h+u*d+c*v,l*f+u*m+c*t,l*p+u*y+c*e]},y={createCanvas:function(t,e,n,r){var i=3<arguments.length&&void 0!==r?r:"absolute";return(r=document.createElement("canvas")).id=t,r.width=e,r.height=n,r.style.opacity=0,r.style.position=i,this.transform(r,-500,-500,0,0),r},createDiv:function(t,e,n){var r=document.createElement("div");return r.id=t,r.style.position="absolute",this.resize(r,e,n),r},resize:function(t,e,n){t.style.width=e+"px",t.style.height=n+"px",t.style.marginLeft=-e/2+"px",t.style.marginTop=-n/2+"px"},transform:function(t,e,n,r,i){t.style.willChange="transform";var a="translate("+e+"px, "+n+"px) scale("+r+") rotate("+i+"deg)";this.css3(t,"transform",a)},transform3d:function(t,e,n,r,i){t.style.willChange="transform",i="translate3d("+e+"px, "+n+"px, 0) scale("+r+") rotate("+i+"deg)",this.css3(t,"backfaceVisibility","hidden"),this.css3(t,"transform",i)},css3:function(t,e,n){var r=e.charAt(0).toUpperCase()+e.substr(1);t.style["Webkit"+r]=n,t.style["Moz"+r]=n,t.style["O"+r]=n,t.style["ms"+r]=n,t.style[""+e]=n}},v={},g={},b=0,w=function(t,e,n){return t.drawImage(e,n.x,n.y),e=t.getImageData(n.x,n.y,n.width,n.height),t.clearRect(n.x,n.y,n.width,n.height),e},x=function(t,e,n){var r="string"==typeof t?t:t.src;v[r]?e(v[r],n):((t=new Image).onload=function(t){v[r]=t.target,e(v[r],n)},t.src=r)},k=function(t,e,n){var r,i,a=t.src;return g[a]||(r=h(t.width),i=h(t.height),(i=y.createCanvas("proton_canvas_cache_"+ ++b,r,i)).getContext("2d").drawImage(t,0,0,t.width,t.height),g[a]=i),e&&e(g[a],n),g[a]},E={initValue:function(t,e){return null!=t?t:e},isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},emptyArray:function(t){t&&(t.length=0)},toArray:function(t){return this.isArray(t)?t:[t]},getRandFromArray:function(t){return t?t[Math.floor(t.length*Math.random())]:null},emptyObject:function(t,e){var n,r=1<arguments.length&&void 0!==e?e:null;for(n in t)r&&-1<r.indexOf(n)||delete t[n]},classApply:function(t,e){return new((e=1<arguments.length&&void 0!==e?e:null)?t.bind.apply(t,[null].concat(e)):t)},setVectorVal:function(t,e){(e=1<arguments.length&&void 0!==e?e:null)&&(this.hasProp(e,"x")&&(t.p.x=e.x),this.hasProp(e,"y")&&(t.p.y=e.y),this.hasProp(e,"vx")&&(t.v.x=e.vx),this.hasProp(e,"vy")&&(t.v.y=e.vy),this.hasProp(e,"ax")&&(t.a.x=e.ax),this.hasProp(e,"ay")&&(t.a.y=e.ay),this.hasProp(e,"p")&&t.p.copy(e.p),this.hasProp(e,"v")&&t.v.copy(e.v),this.hasProp(e,"a")&&t.a.copy(e.a),this.hasProp(e,"position")&&t.p.copy(e.position),this.hasProp(e,"velocity")&&t.v.copy(e.velocity),this.hasProp(e,"accelerate")&&t.a.copy(e.accelerate))},hasProp:function(t,e){return!!t&&void 0!==t[e]},setProp:function(t,e){for(var n in e)t.hasOwnProperty(n)&&(t[n]=u.getSpanValue(e[n]));return t},getImageData:function(t,e,n){return w(t,e,n)},destroyAll:function(t,e){for(var n=1<arguments.length&&void 0!==e?e:null,r=t.length;r--;){try{t[r].destroy(n)}catch(t){}delete t[r]}t.length=0},assign:function(t,e){if("function"==typeof Object.assign)return Object.assign(t,e);for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}},P={},S={_index:0,_cache:{},id:function(t){return void 0!==P[t]&&null!==P[t]||(P[t]=0),t+"_"+P[t]++},getId:function(t){var e=this.getIdFromCache(t);return e||(e="PUID_"+this._index++,this._cache[e]=t,e)},getIdFromCache:function(t){var e,n=void 0;for(n in this._cache){if((e=this._cache[n])===t)return n;if(this.isBody(e,t)&&e.src===t.src)return n}return null},isBody:function(t,e){return"object"===(void 0===t?"undefined":n(t))&&"object"===(void 0===e?"undefined":n(e))&&t.isInner&&e.isInner},getTarget:function(t){return this._cache[t]}},_=(i(C,[{key:"get",value:function(t,e,n){var r=void 0;return n=n||t.__puid||S.getId(t),(r=this.cache[n]&&0<this.cache[n].length?this.cache[n].pop():this.createOrClone(t,e)).__puid=t.__puid||n,r}},{key:"expire",value:function(t){return this.getCache(t.__puid).push(t)}},{key:"createOrClone",value:function(t,e){return this.total++,this.create?this.create(t,e):"function"==typeof t?E.classApply(t,e):t.clone()}},{key:"getCount",value:function(){var t,e=0;for(t in this.cache)e+=this.cache[t].length;return e++}},{key:"destroy",value:function(){for(var t in this.cache)this.cache[t].length=0,delete this.cache[t]}},{key:"getCache",value:function(t){return t=0<arguments.length&&void 0!==t?t:"default",this.cache[t]||(this.cache[t]=[]),this.cache[t]}}]),C);function C(t){r(this,C),this.total=0,this.cache={}}var A=(i(T,[{key:"update",value:function(t,e){this.add(t,e);var n=this.getEmitter();switch(t=this.getRenderer(),e="",this.type){case 2:e+="emitter:"+this.proton.emitters.length+"<br>",n&&(e+="em speed:"+n.emitSpeed+"<br>"),n&&(e+="pos:"+this.getEmitterPos(n));break;case 3:n&&(e+="initializes:"+n.initializes.length+"<br>"),n&&(e+='<span style="display:inline-block;">'+this.concatArr(n.initializes)+"</span><br>"),n&&(e+="behaviours:"+n.behaviours.length+"<br>"),n&&(e+='<span style="display:inline-block;">'+this.concatArr(n.behaviours)+"</span><br>");break;case 4:t&&(e+=t.name+"<br>"),t&&(e+="body:"+this.getCreatedNumber(t)+"<br>");break;default:e+="particles:"+this.proton.getCount()+"<br>",e+="pool:"+this.proton.pool.getCount()+"<br>",e+="total:"+this.proton.pool.total}this.container.innerHTML=e}},{key:"add",value:function(t,e){var n=this;if(!this.container){this.type=1,this.container=document.createElement("div"),this.container.style.cssText=["position:absolute;bottom:0px;left:0;cursor:pointer;","opacity:0.9;z-index:10000;padding:10px;font-size:12px;font-family:Helvetica,Arial,sans-serif;","width:120px;height:50px;background-color:#002;color:#0ff;"].join(""),this.container.addEventListener("click",(function(t){n.type++,4<n.type&&(n.type=1)}),!1);var r=void 0,i=void 0;switch(t){case 2:r="#201",i="#f08";break;case 3:r="#020",i="#0f0";break;default:r="#002",i="#0ff"}this.container.style["background-color"]=r,this.container.style.color=i}this.container.parentNode||(e=e||this.body||document.body).appendChild(this.container)}},{key:"getEmitter",value:function(){return this.proton.emitters[this.emitterIndex]}},{key:"getRenderer",value:function(){return this.proton.renderers[this.rendererIndex]}},{key:"concatArr",value:function(t){var e="";if(!t||!t.length)return e;for(var n=0;n<t.length;n++)e+=(t[n].name||"").substr(0,1)+".";return e}},{key:"getCreatedNumber",value:function(t){return t.pool.total||t.cpool&&t.cpool.total||0}},{key:"getEmitterPos",value:function(t){return Math.round(t.p.x)+","+Math.round(t.p.y)}}]),T);function T(t){r(this,T),this.proton=t,this.container=null,this.type=1,this.emitterIndex=0,this.rendererIndex=0}var O=(i(M,[{key:"addEventListener",value:function(t,e){return this._listeners?this.removeEventListener(t,e):this._listeners={},this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e),e}},{key:"removeEventListener",value:function(t,e){if(this._listeners&&this._listeners[t])for(var n=this._listeners[t],r=n.length,i=0;i<r;i++)if(n[i]===e){1===r?delete this._listeners[t]:n.splice(i,1);break}}},{key:"removeAllEventListeners",value:function(t){t?this._listeners&&delete this._listeners[t]:this._listeners=null}},{key:"dispatchEvent",value:function(t,e){var n=!1,r=this._listeners;if(t&&r){var i=r[t];if(!i)return n;for(var a=void 0,o=i.length;o--;)a=i[o],n=n||a(e)}return!!n}},{key:"hasEventListener",value:function(t){var e=this._listeners;return!(!e||!e[t])}}],[{key:"bind",value:function(t){t.prototype.dispatchEvent=M.prototype.dispatchEvent,t.prototype.hasEventListener=M.prototype.hasEventListener,t.prototype.addEventListener=M.prototype.addEventListener,t.prototype.removeEventListener=M.prototype.removeEventListener,t.prototype.removeAllEventListeners=M.prototype.removeAllEventListeners}}]),M);function M(){r(this,M),this._listeners=null}var I=(i(D,[{key:"calculate",value:function(t,e,n){this.eulerIntegrate(t,e,n)}},{key:"eulerIntegrate",value:function(t,e,n){t.sleep||(t.old.p.copy(t.p),t.old.v.copy(t.v),t.a.multiplyScalar(1/t.mass),t.v.add(t.a.multiplyScalar(e)),t.p.add(t.old.v.multiplyScalar(e)),n&&t.v.multiplyScalar(n),t.a.clear())}}]),D);function D(t){r(this,D),this.type=t}var F=(i(R,[{key:"addRenderer",value:function(t){t.init(this),this.renderers.push(t)}},{key:"removeRenderer",value:function(t){var e=this.renderers.indexOf(t);this.renderers.splice(e,1),t.remove(this)}},{key:"addEmitter",value:function(t){this.emitters.push(t),(t.parent=this).dispatchEvent(R.EMITTER_ADDED,t)}},{key:"removeEmitter",value:function(t){var e=this.emitters.indexOf(t);this.emitters.splice(e,1),t.parent=null,this.dispatchEvent(R.EMITTER_REMOVED,t)}},{key:"update",value:function(){"auto"===this._fps?(this.dispatchEvent(R.PROTON_UPDATE),R.USE_CLOCK?(this.then||(this.then=(new Date).getTime()),this.now=(new Date).getTime(),this.elapsed=.001*(this.now-this.then),this.amendChangeTabsBug(),0<this.elapsed&&this.emittersUpdate(this.elapsed),this.then=this.now):this.emittersUpdate(R.DEFAULT_INTERVAL),this.dispatchEvent(R.PROTON_UPDATE_AFTER)):(this.then||(this.then=(new Date).getTime()),this.now=(new Date).getTime(),this.elapsed=.001*(this.now-this.then),this.elapsed>this._interval&&(this.dispatchEvent(R.PROTON_UPDATE),this.emittersUpdate(this._interval),this.then=this.now-this.elapsed%this._interval*1e3,this.dispatchEvent(R.PROTON_UPDATE_AFTER)))}},{key:"emittersUpdate",value:function(t){for(var e=this.emitters.length;e--;)this.emitters[e].update(t)}},{key:"amendChangeTabsBug",value:function(){R.amendChangeTabsBug&&.5<this.elapsed&&(this.then=(new Date).getTime(),this.elapsed=0)}},{key:"getCount",value:function(){for(var t=0,e=this.emitters.length;e--;)t+=this.emitters[e].particles.length;return t}},{key:"getAllParticles",value:function(){for(var t=[],e=this.emitters.length;e--;)t=t.concat(this.emitters[e].particles);return t}},{key:"destroyAllEmitters",value:function(){E.destroyAll(this.emitters)}},{key:"destroy",value:function(t){function e(){n.time=0,n.then=0,n.pool.destroy(),E.destroyAll(n.emitters),E.destroyAll(n.renderers,n.getAllParticles())}var n=this;0<arguments.length&&void 0!==t&&t?setTimeout(e,200):e()}},{key:"fps",set:function(t){this._fps=t,this._interval="auto"===t?R.DEFAULT_INTERVAL:e.floor(1/t,7)},get:function(){return this._fps}}]),R);function R(t){r(this,R),this.emitters=[],this.renderers=[],this.time=0,this.now=0,this.then=0,this.elapsed=0,this.stats=new A(this),this.pool=new _(80),this.integrationType=E.initValue(t,R.EULER),this.integrator=new I(this.integrationType),this._fps="auto",this._interval=
2R.DEFAULT_INTERVAL}F.USE_CLOCK=!1,F.MEASURE=100,F.EULER="euler",F.RK2="runge-kutta2",F.PARTICLE_CREATED="PARTICLE_CREATED",F.PARTICLE_UPDATE="PARTICLE_UPDATE",F.PARTICLE_SLEEP="PARTICLE_SLEEP",F.PARTICLE_DEAD="PARTICLE_DEAD",F.EMITTER_ADDED="EMITTER_ADDED",F.EMITTER_REMOVED="EMITTER_REMOVED",F.PROTON_UPDATE="PROTON_UPDATE",F.PROTON_UPDATE_AFTER="PROTON_UPDATE_AFTER",F.DEFAULT_INTERVAL=.0167,F.amendChangeTabsBug=!0,O.bind(F);var j=(i(L,[{key:"reset",value:function(){this.r=255,this.g=255,this.b=255}}]),L);function L(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:255,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:255,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:255;r(this,L),this.r=t,this.g=e,this.b=n}var V={easeLinear:function(t){return t},easeInQuad:function(t){return Math.pow(t,2)},easeOutQuad:function(t){return-(Math.pow(t-1,2)-1)},easeInOutQuad:function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},easeInCubic:function(t){return Math.pow(t,3)},easeOutCubic:function(t){return Math.pow(t-1,3)+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},easeInQuart:function(t){return Math.pow(t,4)},easeOutQuart:function(t){return-(Math.pow(t-1,4)-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},easeInSine:function(t){return 1-Math.cos(t*e.PI_2)},easeOutSine:function(t){return Math.sin(t*e.PI_2)},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-Math.pow(t-1,2))},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return--t*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},getEasing:function(t){return"function"==typeof t?t:this[t]||this.easeLinear}},B=(i(z,[{key:"set",value:function(t,e){return this.x=t,this.y=e,this}},{key:"setX",value:function(t){return this.x=t,this}},{key:"setY",value:function(t){return this.y=t,this}},{key:"getGradient",value:function(){return 0!==this.x?Math.atan2(this.y,this.x):0<this.y?e.PI_2:this.y<0?-e.PI_2:void 0}},{key:"copy",value:function(t){return this.x=t.x,this.y=t.y,this}},{key:"add",value:function(t,e){return void 0!==e?this.addVectors(t,e):(this.x+=t.x,this.y+=t.y,this)}},{key:"addXY",value:function(t,e){return this.x+=t,this.y+=e,this}},{key:"addVectors",value:function(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}},{key:"sub",value:function(t,e){return void 0!==e?this.subVectors(t,e):(this.x-=t.x,this.y-=t.y,this)}},{key:"subVectors",value:function(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}},{key:"divideScalar",value:function(t){return 0!==t?(this.x/=t,this.y/=t):this.set(0,0),this}},{key:"multiplyScalar",value:function(t){return this.x*=t,this.y*=t,this}},{key:"negate",value:function(){return this.multiplyScalar(-1)}},{key:"dot",value:function(t){return this.x*t.x+this.y*t.y}},{key:"lengthSq",value:function(){return this.x*this.x+this.y*this.y}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y)}},{key:"normalize",value:function(){return this.divideScalar(this.length())}},{key:"distanceTo",value:function(t){return Math.sqrt(this.distanceToSquared(t))}},{key:"rotate",value:function(t){var e=this.x,n=this.y;return this.x=e*Math.cos(t)+n*Math.sin(t),this.y=-e*Math.sin(t)+n*Math.cos(t),this}},{key:"distanceToSquared",value:function(t){var e=this.x-t.x;return e*e+(t=this.y-t.y)*t}},{key:"lerp",value:function(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}},{key:"equals",value:function(t){return t.x===this.x&&t.y===this.y}},{key:"clear",value:function(){return this.x=0,this.y=0,this}},{key:"clone",value:function(){return new z(this.x,this.y)}}]),z);function z(t,e){r(this,z),this.x=t||0,this.y=e||0}var N=(i(G,[{key:"getDirection",value:function(){return Math.atan2(this.v.x,-this.v.y)*e.N180_PI}},{key:"reset",value:function(){return this.life=1/0,this.age=0,this.dead=!1,this.sleep=!1,this.body=null,this.sprite=null,this.parent=null,this.energy=1,this.mass=1,this.radius=10,this.alpha=1,this.scale=1,this.rotation=0,this.color=null,this.p.set(0,0),this.v.set(0,0),this.a.set(0,0),this.old.p.set(0,0),this.old.v.set(0,0),this.old.a.set(0,0),this.easing=V.easeLinear,this.rgb.reset(),E.emptyObject(this.data),this.removeAllBehaviours(),this}},{key:"update",value:function(t,e){this.sleep||(this.age+=t,this.applyBehaviours(t,e)),this.age<this.life?(e=this.easing(this.age/this.life),this.energy=Math.max(1-e,0)):this.destroy()}},{key:"applyBehaviours",value:function(t,e){var n=this.behaviours.length,r=void 0;for(r=0;r<n;r++)this.behaviours[r]&&this.behaviours[r].applyBehaviour(this,t,e)}},{key:"addBehaviour",value:function(t){this.behaviours.push(t),t.hasOwnProperty("parents")&&t.parents.push(this),t.initialize(this)}},{key:"addBehaviours",value:function(t){var e=t.length,n=void 0;for(n=0;n<e;n++)this.addBehaviour(t[n])}},{key:"removeBehaviour",value:function(t){-1<(t=this.behaviours.indexOf(t))&&(this.behaviours.splice(t,1).parents=null)}},{key:"removeAllBehaviours",value:function(){E.emptyArray(this.behaviours)}},{key:"destroy",value:function(){this.removeAllBehaviours(),this.energy=0,this.dead=!0,this.parent=null}}]),G);function G(t){r(this,G),this.id="",this.old={},this.data={},this.behaviours=[],this.p=[],this.v=[],this.a=[],this.rgb={},this.name="Particle",this.id=S.id(this.name),this.old={},this.data={},this.behaviours=[],this.p=new B,this.v=new B,this.a=new B,this.old.p=new B,this.old.v=new B,this.old.a=new B,this.rgb=new j,this.reset(),t&&E.setProp(this,t)}var U={hexToRgb:function(t){return t="#"===t.charAt(0)?t.substring(1,7):t,{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16)}},rgbToHex:function(t){return"rgb("+t.r+", "+t.g+", "+t.b+")"},getHex16FromParticle:function(t){return 65536*Number(t.rgb.r)+256*Number(t.rgb.g)+Number(t.rgb.b)}},H=(i(q,[{key:"set",value:function(t,e){return this.r=t,this.tha=e,this}},{key:"setR",value:function(t){return this.r=t,this}},{key:"setTha",value:function(t){return this.tha=t,this}},{key:"copy",value:function(t){return this.r=t.r,this.tha=t.tha,this}},{key:"toVector",value:function(){return new B(this.getX(),this.getY())}},{key:"getX",value:function(){return this.r*Math.sin(this.tha)}},{key:"getY",value:function(){return-this.r*Math.cos(this.tha)}},{key:"normalize",value:function(){return this.r=1,this}},{key:"equals",value:function(t){return t.r===this.r&&t.tha===this.tha}},{key:"clear",value:function(){return this.r=0,this.tha=0,this}},{key:"clone",value:function(){return new q(this.r,this.tha)}}]),q);function q(t,e){r(this,q),this.r=Math.abs(t)||0,this.tha=e||0}var W={create:function(t){var e=new Float32Array(9);return t&&this.set(t,e),e},set:function(t,e){for(var n=0;n<9;n++)e[n]=t[n];return e},multiply:function(t,e,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[6],u=t[7],c=e[0],h=e[1],f=e[2],p=e[3],d=e[4];return t=e[6],e=e[7],n[0]=c*r+h*o,n[1]=c*i+h*s,n[2]=a*f,n[3]=p*r+d*o,n[4]=p*i+d*s,n[6]=t*r+e*o+l,n[7]=t*i+e*s+u,n},inverse:function(t,e){var n=t[0],r=t[1],i=t[3],a=t[4],o=t[6],s=t[7],l=-i;return t=s*i-a*o,i=1/(n*a+r*l),e[0]=a*i,e[1]=-r*i,e[3]=l*i,e[4]=n*i,e[6]=t*i,e[7]=(-s*n+r*o)*i,e},multiplyVec2:function(t,e,n){var r=e[0];return e=e[1],n[0]=r*t[0]+e*t[3]+t[6],n[1]=r*t[1]+e*t[4]+t[7],n}},$=(s(Y,u),i(Y,[{key:"getValue",value:function(){var t=E.getRandFromArray(this._arr);return"random"===t||"Random"===t?e.randomColor():t}}],[{key:"createArraySpan",value:function(t){return t?t instanceof Y?t:new Y(t):null}}]),Y);function Y(t){r(this,Y);var e=l(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this));return e._arr=E.toArray(t),e}
2var X=(i(Z,[{key:"contains",value:function(t,e){return t<=this.right&&t>=this.x&&e<=this.bottom&&e>=this.y}}]),Z);function Z(t,e,n,i){r(this,Z),this.x=t,this.y=e,this.width=n,this.height=i,this.bottom=this.y+this.height,this.right=this.x+this.width}var Q=(i(K,[{key:"init",value:function(){this.startTime=0,this.nextTime=this.timePan.getValue()}},{key:"getValue",value:function(t){return this.startTime+=t,this.startTime>=this.nextTime?(this.startTime=0,this.nextTime=this.timePan.getValue(),1===this.numPan.b?.5<this.numPan.getValue(!1)?1:0:this.numPan.getValue(!0)):0}}]),K);function K(t,e){r(this,K),this.numPan=u.setSpanValue(E.initValue(t,1)),this.timePan=u.setSpanValue(E.initValue(e,1)),this.startTime=0,this.nextTime=0,this.init()}var J=(i(tt,[{key:"reset",value:function(){}},{key:"init",value:function(t,e){e?this.initialize(e):this.initialize(t)}},{key:"initialize",value:function(){}}]),tt);function tt(){r(this,tt)}var et=(s(nt,J),i(nt,[{key:"initialize",value:function(t){this.lifePan.a===1/0?t.life=1/0:t.life=this.lifePan.getValue()}}]),nt);function nt(t,e,n){r(this,nt);var i=l(this,(nt.__proto__||Object.getPrototypeOf(nt)).call(this));return i.lifePan=u.setSpanValue(t,e,n),i.name="Life",i}var rt=(i(it,[{key:"getPosition",value:function(){}},{key:"crossing",value:function(){}}]),it);function it(){r(this,it),this.vector=new B(0,0),this.random=0,this.crossType="dead",this.alert=!0}var at=(s(ot,rt),i(ot,[{key:"getPosition",value:function(){return this.vector.x=this.x,this.vector.y=this.y,this.vector}},{key:"crossing",value:function(){this.alert&&(console.error("Sorry, PointZone does not support crossing method!"),this.alert=!1)}}]),ot);function ot(t,e){r(this,ot);var n=l(this,(ot.__proto__||Object.getPrototypeOf(ot)).call(this));return n.x=t,n.y=e,n}var st=(s(lt,J),i(lt,[{key:"reset",value:function(t){this.zone=E.initValue(t,new at)}},{key:"initialize",value:function(t){this.zone.getPosition(),t.p.x=this.zone.vector.x,t.p.y=this.zone.vector.y}}]),lt);function lt(t){r(this,lt);var e=l(this,(lt.__proto__||Object.getPrototypeOf(lt)).call(this));return e.zone=E.initValue(t,new at),e.name="Position",e}var ut=(s(ct,J),i(ct,[{key:"reset",value:function(t,e,n){this.rPan=u.setSpanValue(t),this.thaPan=u.setSpanValue(e),this.type=E.initValue(n,"vector")}},{key:"normalizeVelocity",value:function(t){return t*F.MEASURE}},{key:"initialize",value:function(t){var n;"p"===this.type||"P"===this.type||"polar"===this.type?(n=new H(this.normalizeVelocity(this.rPan.getValue()),this.thaPan.getValue()*e.PI_180),t.v.x=n.getX(),t.v.y=n.getY()):(t.v.x=this.normalizeVelocity(this.rPan.getValue()),t.v.y=this.normalizeVelocity(this.thaPan.getValue()))}}]),ct);function ct(t,e,n){r(this,ct);var i=l(this,(ct.__proto__||Object.getPrototypeOf(ct)).call(this));return i.rPan=u.setSpanValue(t),i.thaPan=u.setSpanValue(e),i.type=E.initValue(n,"vector"),i.name="Velocity",i}var ht=(s(ft,J),i(ft,[{key:"initialize",value:function(t){t.mass=this.massPan.getValue()}}]),ft);function ft(t,e,n){r(this,ft);var i=l(this,(ft.__proto__||Object.getPrototypeOf(ft)).call(this));return i.massPan=u.setSpanValue(t,e,n),i.name="Mass",i}var pt=(s(dt,J),i(dt,[{key:"reset",value:function(t,e,n){this.radius=u.setSpanValue(t,e,n)}},{key:"initialize",value:function(t){t.radius=this.radius.getValue(),t.data.oldRadius=t.radius}}]),dt);function dt(t,e,n){r(this,dt);var i=l(this,(dt.__proto__||Object.getPrototypeOf(dt)).call(this));return i.radius=u.setSpanValue(t,e,n),i.name="Radius",i}var mt=(s(yt,J),i(yt,[{key:"initialize",value:function(t){var e=this.image.getValue();t.body="string"==typeof e?{width:this.w,height:this.h,src:e,isInner:!0,inner:!0}:e}},{key:"setSpanValue",value:function(t){return t instanceof $?t:new $(t)}}]),yt);function yt(t,e,n){r(this,yt);var i=l(this,(yt.__proto__||Object.getPrototypeOf(yt)).call(this));return i.image=i.setSpanValue(t),i.w=E.initValue(e,20),i.h=E.initValue(n,i.w),i.name="Body",i}var vt=(i(gt,[{key:"reset",value:function(t,e){this.life=E.initValue(t,1/0),this.easing=V.getEasing(e)}},{key:"normalizeForce",value:function(t){return t.multiplyScalar(F.MEASURE)}},{key:"normalizeValue",value:function(t){return t*F.MEASURE}},{key:"initialize",value:function(){}},{key:"calculate",value:function(t,e){this.age+=e,this.age>=this.life||this.dead?(this.energy=0,this.dead=!0,this.destroy()):(t=this.easing(t.age/t.life),this.energy=Math.max(1-t,0))}},{key:"destroy",value:function(){for(var t=this.parents.length;t--;)this.parents[t].removeBehaviour(this);this.parents.length=0}}]),gt);function gt(t,e){r(this,gt),this.life=E.initValue(t,1/0),this.easing=V.getEasing(e),this.age=0,this.energy=1,this.dead=!1,this.parents=[],this.id="Behaviour_"+gt.id++,this.name="Behaviour"}vt.id=0;
2var bt=(s(wt,vt),i(wt,[{key:"reset",value:function(t,e,n,r){this.force=this.normalizeForce(new B(t,e)),n&&o(wt.prototype.__proto__||Object.getPrototypeOf(wt.prototype),"reset",this).call(this,n,r)}},{key:"applyBehaviour",value:function(t,e,n){this.calculate(t,e,n),t.a.add(this.force)}}]),wt);function wt(t,e,n,i){return r(this,wt),(i=l(this,(wt.__proto__||Object.getPrototypeOf(wt)).call(this,n,i))).force=i.normalizeForce(new B(t,e)),i.name="Force",i}var xt=(s(kt,vt),i(kt,[{key:"reset",value:function(t,e,n,r,i){this.targetPosition=E.initValue(t,new B),this.radius=E.initValue(n,1e3),this.force=E.initValue(this.normalizeValue(e),100),this.radiusSq=this.radius*this.radius,this.attractionForce=new B,this.lengthSq=0,r&&o(kt.prototype.__proto__||Object.getPrototypeOf(kt.prototype),"reset",this).call(this,r,i)}},{key:"applyBehaviour",value:function(t,e,n){this.calculate(t,e,n),this.attractionForce.copy(this.targetPosition),this.attractionForce.sub(t.p),this.lengthSq=this.attractionForce.lengthSq(),4e-5<this.lengthSq&&this.lengthSq<this.radiusSq&&(this.attractionForce.normalize(),this.attractionForce.multiplyScalar(1-this.lengthSq/this.radiusSq),this.attractionForce.multiplyScalar(this.force),t.a.add(this.attractionForce))}}]),kt);function kt(t,e,n,i,a){return r(this,kt),(a=l(this,(kt.__proto__||Object.getPrototypeOf(kt)).call(this,i,a))).targetPosition=E.initValue(t,new B),a.radius=E.initValue(n,1e3),a.force=E.initValue(a.normalizeValue(e),100),a.radiusSq=a.radius*a.radius,a.attractionForce=new B,a.lengthSq=0,a.name="Attraction",a}var Et=(s(Pt,vt),i(Pt,[{key:"reset",value:function(t,e,n,r,i){this.panFoce=new B(t,e),this.panFoce=this.normalizeForce(this.panFoce),this.delay=n,r&&o(Pt.prototype.__proto__||Object.getPrototypeOf(Pt.prototype),"reset",this).call(this,r,i)}},{key:"initialize",value:function(t){t.data.time=0}},{key:"applyBehaviour",value:function(t,n,r){this.calculate(t,n,r),t.data.time+=n,t.data.time>=this.delay&&(t.a.addXY(e.randomAToB(-this.panFoce.x,this.panFoce.x),e.randomAToB(-this.panFoce.y,this.panFoce.y)),t.data.time=0)}}]),Pt);function Pt(t,e,n,i,a){return r(this,Pt),(a=l(this,(Pt.__proto__||Object.getPrototypeOf(Pt)).call(this,i,a))).reset(t,e,n),a.time=0,a.name="RandomDrift",a}var St=(s(_t,bt),i(_t,[{key:"reset",value:function(t,e,n){o(_t.prototype.__proto__||Object.getPrototypeOf(_t.prototype),"reset",this).call(this,0,t,e,n)}}]),_t);function _t(t,e,n){return r(this,_t),(n=l(this,(_t.__proto__||Object.getPrototypeOf(_t)).call(this,0,t,e,n))).name="Gravity",n}var Ct=(s(At,vt),i(At,[{key:"reset",value:function(t,e,n,r,i){this.emitter=E.initValue(t,null),this.mass=E.initValue(e,!0),this.callback=E.initValue(n,null),this.collisionPool=[],this.delta=new B,r&&o(At.prototype.__proto__||Object.getPrototypeOf(At.prototype),"reset",this).call(this,r,i)}},{key:"applyBehaviour",value:function(t,e,n){var r,i,a,o,s,l,u=(this.emitter?this.emitter.particles:this.pool).slice(n),c=u.length,h=void 0,f=void 0;for(f=0;f<c;f++)(h=u[f])!==t&&(this.delta.copy(h.p),this.delta.sub(t.p),(r=this.delta.lengthSq())<=(l=t.radius+h.radius)*l&&(i=l-Math.sqrt(r),i+=.5,a=t.mass+h.mass,o=this.mass?h.mass/a:.5,s=this.mass?t.mass/a:.5,t.p.add(this.delta.clone().normalize().multiplyScalar(i*-o)),h.p.add(this.delta.normalize().multiplyScalar(i*s)),this.callback&&this.callback(t,h)))}}]),At);function At(t,e,n,i,a){return r(this,At),(a=l(this,(At.__proto__||Object.getPrototypeOf(At)).call(this,i,a))).reset(t,e,n),a.name="Collision",a}var Tt=(s(Ot,vt),i(Ot,[{key:"reset",value:function(t,e,n,r){this.zone=t,this.zone.crossType=E.initValue(e,"dead"),n&&o(Ot.prototype.__proto__||Object.getPrototypeOf(Ot.prototype),"reset",this).call(this,n,r)}},{key:"applyBehaviour",value:function(t,e,n){this.calculate(t,e,n),this.zone.crossing(t)}}]),Ot);function Ot(t,e,n,i){return r(this,Ot),(i=l(this,(Ot.__proto__||Object.getPrototypeOf(Ot)).call(this,n,i))).reset(t,e),i.name="CrossZone",i}var Mt=(s(It,vt),i(It,[{key:"reset",value:function(t,e,n,r){this.same=null==e,this.a=u.setSpanValue(E.initValue(t,1)),this.b=u.setSpanValue(e),n&&o(It.prototype.__proto__||Object.getPrototypeOf(It.prototype),"reset",this).call(this,n,r)}},{key:"initialize",value:function(t){t.data.alphaA=this.a.getValue(),this.same?t.data.alphaB=t.data.alphaA:t.data.alphaB=this.b.getValue()}},{key:"applyBehaviour",value:function(t,e,n){this.calculate(t,e,n),t.alpha=t.data.alphaB+(t.data.alphaA-t.data.alphaB)*this.energy,t.alpha<.001&&(t.alpha=0)}}]),It);function It(t,e,n,i){return r(this,It),(i=l(this,(It.__proto__||Object.getPrototypeOf(It)).call(this,n,i))).reset(t,e),i.name="Alpha",i}var Dt=(s(Ft,vt),i(Ft,[{key:"reset",value:function(t,e,n,r){this.same=null==e,this.a=u.setSpanValue(E.initValue(t,1)),this.b=u.setSpanValue(e),n&&o(Ft.prototype.__proto__||Object.getPrototypeOf(Ft.prototype),"reset",this).call(this,n,r)}},{key:"initialize",value:function(t){t.data.scaleA=this.a.getValue(),t.data.oldRadius=t.radius,t.data.scaleB=this.same?t.data.scaleA:this.b.getValue()}},{key:"applyBehaviour",value:function(t,e,n){this.calculate(t,e,n),t.scale=t.data.scaleB+(t.data.scaleA-t.data.scaleB)*this.energy,t.scale<1e-4&&(t.scale=0),t.radiu
2s=t.data.oldRadius*t.scale}}]),Ft);function Ft(t,e,n,i){return r(this,Ft),(i=l(this,(Ft.__proto__||Object.getPrototypeOf(Ft)).call(this,n,i))).reset(t,e),i.name="Scale",i}var Rt=(s(jt,vt),i(jt,[{key:"reset",value:function(t,e,n,r,i){this.same=null==e,this.a=u.setSpanValue(E.initValue(t,"Velocity")),this.b=u.setSpanValue(E.initValue(e,0)),this.style=E.initValue(n,"to"),r&&o(jt.prototype.__proto__||Object.getPrototypeOf(jt.prototype),"reset",this).call(this,r,i)}},{key:"initialize",value:function(t){t.rotation=this.a.getValue(),t.data.rotationA=this.a.getValue(),this.same||(t.data.rotationB=this.b.getValue())}},{key:"applyBehaviour",value:function(t,e,n){this.calculate(t,e,n),this.same?"V"!==this.a.a&&"Velocity"!==this.a.a&&"v"!==this.a.a||(t.rotation=t.getDirection()):"to"===this.style||"TO"===this.style||"_"===this.style?t.rotation+=t.data.rotationB+(t.data.rotationA-t.data.rotationB)*this.energy:t.rotation+=t.data.rotationB}}]),jt);function jt(t,e,n,i,a){return r(this,jt),(a=l(this,(jt.__proto__||Object.getPrototypeOf(jt)).call(this,i,a))).reset(t,e,n),a.name="Rotate",a}var Lt=(s(Vt,vt),i(Vt,[{key:"reset",value:function(t,e,n,r){this.a=$.createArraySpan(t),this.b=$.createArraySpan(e),n&&o(Vt.prototype.__proto__||Object.getPrototypeOf(Vt.prototype),"reset",this).call(this,n,r)}},{key:"initialize",value:function(t){t.color=this.a.getValue(),t.data.colorA=U.hexToRgb(t.color),this.b&&(t.data.colorB=U.hexToRgb(this.b.getValue()))}},{key:"applyBehaviour",value:function(t,e,n){this.b?(this.calculate(t,e,n),t.rgb.r=t.data.colorB.r+(t.data.colorA.r-t.data.colorB.r)*this.energy,t.rgb.g=t.data.colorB.g+(t.data.colorA.g-t.data.colorB.g)*this.energy,t.rgb.b=t.data.colorB.b+(t.data.colorA.b-t.data.colorB.b)*this.energy,t.rgb.r=Math.floor(t.rgb.r),t.rgb.g=Math.floor(t.rgb.g),t.rgb.b=Math.floor(t.rgb.b)):(t.rgb.r=t.data.colorA.r,t.rgb.g=t.data.colorA.g,t.rgb.b=t.data.colorA.b)}}]),Vt);function Vt(t,e,n,i){return r(this,Vt),(i=l(this,(Vt.__proto__||Object.getPrototypeOf(Vt)).call(this,n,i))).reset(t,e),i.name="Color",i}var Bt="changing",zt=(s(Nt,vt),i(Nt,[{key:"setAngleAndForce",value:function(t,n){this.force=Bt,this.angle=e.PI/2,"right"===t?this.angle=e.PI/2:"left"===t?this.angle=-e.PI/2:"random"===t?this.angle="random":t instanceof u?(this.angle="span",this.span=t):t&&(this.angle=t),"changing"===String(n).toLowerCase()||"chang"===String(n).toLowerCase()||"auto"===String(n).toLowerCase()?this.force=Bt:n&&(this.force=n)}},{key:"reset",value:function(t,n,r,i){this.angle=e.PI/2,this.setAngleAndForce(t,n),r&&o(Nt.prototype.__proto__||Object.getPrototypeOf(Nt.prototype),"reset",this).call(this,r,i)}},{key:"initialize",value:function(t){"random"===this.angle?t.data.cangle=e.randomAToB(-e.PI,e.PI):"span"===this.angle&&(t.data.cangle=this.span.getValue()),t.data.cyclone=new B(0,0)}},{key:"applyBehaviour",value:function(t,e,n){this.calculate(t,e,n),e=void 0,n=t.v.getGradient(),"random"===this.angle||"span"===this.angle?n+=t.data.cangle:n+=this.angle,e=this.force===Bt?t.v.length()/100:this.force,t.data.cyclone.x=e*Math.cos(n),t.data.cyclone.y=e*Math.sin(n),t.data.cyclone=this.normalizeForce(t.data.cyclone),t.a.add(t.data.cyclone)}}]),Nt);function Nt(t,e,n,i){return r(this,Nt),(i=l(this,(Nt.__proto__||Object.getPrototypeOf(Nt)).call(this,n,i))).setAngleAndForce(t,e),i.name="Cyclone",i}var Gt=(s(Ut,xt),i(Ut,[{key:"reset",value:function(t,e,n,r,i){o(Ut.prototype.__proto__||Object.getPrototypeOf(Ut.prototype),"reset",this).call(this,t,e,n,r,i),this.force*=-1}}]),Ut);function Ut(t,e,n,i,a){return r(this,Ut),(a=l(this,(Ut.__proto__||Object.getPrototypeOf(Ut)).call(this,t,e,n,i,a))).force*=-1,a.name="Repulsion",a}var Ht=(s(qt,vt),i(qt,[{key:"reset",value:function(t,e,n,r){this.distanceVec=new B,this.centerPoint=E.initValue(t,new B),this.force=E.initValue(this.normalizeValue(e),100),n&&o(qt.prototype.__proto__||Object.getPrototypeOf(qt.prototype),"reset",this).call(this,n,r)}},{key:"initialize",value:function(){}},{key:"applyBehaviour",value:function(t,e){this.distanceVec.set(this.centerPoint.x-t.p.x,this.centerPoint.y-t.p.y);var n,r=this.distanceVec.lengthSq();0!==r&&(n=this.distanceVec.length(),n=this.force*e/(r*n),t.v.x+=n*this.distanceVec.x,t.v.y+=n*this.distanceVec.y)}}]),qt);function qt(t,e,n,i){return r(this,qt),(i=l(this,(qt.__proto__||Object.getPrototypeOf(qt)).call(this,n,i))).distanceVec=new B,i.centerPoint=E.initValue(t,new B),i.force=E.initValue(i.normalizeValue(e),100),i.name="GravityWell",i}var Wt={initialize:function(t,e,n){var r=n.length,i=void 0;for(i=0;i<r;i++)n[i]instanceof J?n[i].init(t,e):this.init(t,e,n[i]);this.bindEmitter(t,e)},init:function(t,e,n){E.setProp(e,n),E.setVectorVal(e,n)},bindEmitter:function(t,n){t.bindEmitter&&(n.p.add(t.p),n.v.add(t.v),n.a.add(t.a),n.v.rotate(e.degreeTransform(t.rotation)))}},$t=(s(Yt,N),i(Yt,[{key:"emit",value:function(t,e){this.stoped=!1,this.emitTime=0,this.totalTime=E.initValue(t,1/0),!0===e||"life"===e||"destroy"===e?this.life="once"===t?1:this.totalTime:isNaN(e)||(this.life=e),this.rate.init(
2)}},{key:"stop",value:function(){this.totalTime=-1,this.emitTime=0,this.stoped=!0}},{key:"preEmit",value:function(t){var e=this.stoped,n=this.emitTime,r=this.totalTime;for(this.stoped=!1,this.emitTime=0,this.totalTime=t,this.rate.init();.0167<t;)t-=.0167,this.update(.0167);this.stoped=e,this.emitTime=n+Math.max(t,0),this.totalTime=r}},{key:"removeAllParticles",value:function(){for(var t=this.particles.length;t--;)this.particles[t].dead=!0}},{key:"addSelfInitialize",value:function(t){t.init?t.init(this):this.initAll()}},{key:"addInitialize",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=e.length;r--;)this.initializes.push(e[r])}},{key:"removeInitialize",value:function(t){-1<(t=this.initializes.indexOf(t))&&this.initializes.splice(t,1)}},{key:"removeAllInitializers",value:function(){E.emptyArray(this.initializes)}},{key:"addBehaviour",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=arguments.length;r--;){var i=e[r];this.behaviours.push(i),i.parents&&i.parents.push(this)}}},{key:"removeBehaviour",value:function(t){var e=this.behaviours.indexOf(t);return this.behaviours.splice(e,1),t.parents&&(e=t.parents.indexOf(t),t.parents.splice(e,1)),e}},{key:"removeAllBehaviours",value:function(){E.emptyArray(this.behaviours)}},{key:"update",value:function(t){this.age+=t,(this.age>=this.life||this.dead)&&this.destroy(),this.emitting(t),this.integrate(t)}},{key:"integrate",value:function(t){if(this.parent){var e=1-this.damping;this.parent.integrator.calculate(this,t,e);var n=void 0,r=void 0;for(n=this.particles.length-1;0<=n;n--)(r=this.particles[n]).update(t,n),this.parent.integrator.calculate(r,t,e),this.dispatch("PARTICLE_UPDATE",r),r.dead&&(this.dispatch("PARTICLE_DEAD",r),this.parent.pool.expire(r),this.particles.splice(n,1))}}},{key:"dispatch",value:function(t,e){this.parent&&this.parent.dispatchEvent(t,e),this.bindEvent&&this.dispatchEvent(t,e)}},{key:"emitting",value:function(t){if("once"===this.totalTime){var e=void 0,n=this.rate.getValue(99999);for(0<n&&(this.emitSpeed=n),e=0;e<n;e++)this.createParticle();this.totalTime="none"}else if(this.emitTime+=t,this.emitTime<this.totalTime){var r=this.rate.getValue(t),i=void 0;for(0<r&&(this.emitSpeed=r),i=0;i<r;i++)this.createParticle()}}},{key:"createParticle",value:function(t,e){var n=this.parent.pool.get(N);return this.setupParticle(n,t,e),this.dispatch("PARTICLE_CREATED",n),n}},{key:"setupParticle",value:function(t,e,n){var r=this.initializes,i=this.behaviours;e&&(r=E.toArray(e)),n&&(i=E.toArray(n)),t.reset(),Wt.initialize(this,t,r),t.addBehaviours(i),(t.parent=this).particles.push(t)}},{key:"remove",value:function(){this.stop(),E.destroyAll(this.particles)}},{key:"destroy",value:function(){this.dead=!0,this.remove(),this.removeAllInitializers(),this.removeAllBehaviours(),this.parent&&this.parent.removeEmitter(this)}}]),Yt);function Yt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r(this,Yt),(t=l(this,(Yt.__proto__||Object.getPrototypeOf(Yt)).call(this,t))).particles=[],t.behaviours=[],t.initializes=[],t.emitTime=0,t.emitSpeed=0,t.totalTime=-1,t.damping=.006,t.bindEmitter=!0,t.rate=new Q(1,.1),t.name="Emitter",t.id=S.id(t.name),t}O.bind($t);var Xt=(s(Zt,$t),i(Zt,[{key:"addSelfBehaviour",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=void 0,i=e.length;for(r=0;r<i;r++){var a=e[r];this.selfBehaviours.push(a),a.initialize(this)}}},{key:"removeSelfBehaviour",value:function(t){-1<(t=this.selfBehaviours.indexOf(t))&&this.selfBehaviours.splice(t,1)}},{key:"update",value:function(t){if(o(Zt.prototype.__proto__||Object.getPrototypeOf(Zt.prototype),"update",this).call(this,t),!this.sleep){var e=this.selfBehaviours.length,n=void 0;for(n=0;n<e;n++)this.selfBehaviours[n].applyBehaviour(this,t,n)}}}]),Zt);function Zt(t){return r(this,Zt),(t=l(this,(Zt.__proto__||Object.getPrototypeOf(Zt)).call(this,t))).selfBehaviours=[],t}var Qt=(s(Kt,$t),i(Kt,[{key:"initEventHandler",value:function(){var t=this;this.mousemoveHandler=function(e){return t.mousemove.call(t,e)},this.mousedownHandler=function(e){return t.mousedown.call(t,e)},this.mouseupHandler=function(e){return t.mouseup.call(t,e)},this.mouseTarget.addEventListener("mousemove",this.mousemoveHandler,!1)}},{key:"emit",value:function(){this._allowEmitting=!0}},{key:"stop",value:function(){this._allowEmitting=!1}},{key:"mousemove",value:function(t){t.layerX||0===t.layerX?(this.p.x+=(t.layerX-this.p.x)*this.ease,this.p.y+=(t.layerY-this.p.y)*this.ease):!t.offsetX&&0!==t.offsetX||(this.p.x+=(t.offsetX-this.p.x)*this.ease,this.p.y+=(t.offsetY-this.p.y)*this.ease),this._allowEmitting&&o(Kt.prototype.__proto__||Object.getPrototypeOf(Kt.prototype),"emit",this).call(this,"once")}},{key:"destroy",value:function(){o(Kt.prototype.__proto__||Object.getPrototypeOf(Kt.prototype),"destroy",this).call(this),this.mouseTarget.removeEventListener("mousemove",this.mousemoveHandler,!1)}}]),Kt);function Kt(t,e,n){return r(this,Kt),(n=l(this,(Kt.__proto__||Object.getPrototypeOf(Kt)).call(this,n))).mouseTarget=E.initValue(t,window),n.ease=E.initValue(e,.7),n._allowEmitting=!1,n.initEventHandler(),n}var Jt=(i(te,[{key:"setStroke",value:function(t,e){t=0<arguments.length&&void 0!==t?t:"#000000",e=1<arguments.length&&void 0!==e?e:1,this.stroke={color:t,thinkness:e}}},{key:"initHandler",value:function(){var t=this;
2this._protonUpdateHandler=function(){t.onProtonUpdate.call(t)},this._protonUpdateAfterHandler=function(){t.onProtonUpdateAfter.call(t)},this._emitterAddedHandler=function(e){t.onEmitterAdded.call(t,e)},this._emitterRemovedHandler=function(e){t.onEmitterRemoved.call(t,e)},this._particleCreatedHandler=function(e){t.onParticleCreated.call(t,e)},this._particleUpdateHandler=function(e){t.onParticleUpdate.call(t,e)},this._particleDeadHandler=function(e){t.onParticleDead.call(t,e)}}},{key:"init",value:function(t){(this.parent=t).addEventListener("PROTON_UPDATE",this._protonUpdateHandler),t.addEventListener("PROTON_UPDATE_AFTER",this._protonUpdateAfterHandler),t.addEventListener("EMITTER_ADDED",this._emitterAddedHandler),t.addEventListener("EMITTER_REMOVED",this._emitterRemovedHandler),t.addEventListener("PARTICLE_CREATED",this._particleCreatedHandler),t.addEventListener("PARTICLE_UPDATE",this._particleUpdateHandler),t.addEventListener("PARTICLE_DEAD",this._particleDeadHandler)}},{key:"resize",value:function(){}},{key:"destroy",value:function(){this.remove()}},{key:"remove",value:function(){this.parent.removeEventListener("PROTON_UPDATE",this._protonUpdateHandler),this.parent.removeEventListener("PROTON_UPDATE_AFTER",this._protonUpdateAfterHandler),this.parent.removeEventListener("EMITTER_ADDED",this._emitterAddedHandler),this.parent.removeEventListener("EMITTER_REMOVED",this._emitterRemovedHandler),this.parent.removeEventListener("PARTICLE_CREATED",this._particleCreatedHandler),this.parent.removeEventListener("PARTICLE_UPDATE",this._particleUpdateHandler),this.parent.removeEventListener("PARTICLE_DEAD",this._particleDeadHandler),this.parent=null}}
2,{key:"onProtonUpdate",value:function(){}},{key:"onProtonUpdateAfter",value:function(){}},{key:"onEmitterAdded",value:function(){}},{key:"onEmitterRemoved",value:function(){}},{key:"onParticleCreated",value:function(){}},{key:"onParticleUpdate",value:function(){}},{key:"onParticleDead",value:function(){}}]),te);function te(t,e){r(this,te),this.pool=new _,this.element=t,this.stroke=e,this.circleConf={isCircle:!0},this.initHandler(),this.name="BaseRenderer"}var ee=(s(ne,Jt),i(ne,[{key:"resize",value:function(t,e){this.element.width=t,this.element.height=e}},{key:"onProtonUpdate",value:function(){this.context.clearRect(0,0,this.element.width,this.element.height)}},{key:"onParticleCreated",value:function(t){t.body?x(t.body,this.addImg2Body,t):t.color=t.color||"#ff0000"}},{key:"onParticleUpdate",value:function(t){t.body?t.body instanceof Image&&this.drawImage(t):this.drawCircle(t)}},{key:"onParticleDead",value:function(t){t.body=null}},{key:"addImg2Body",value:function(t,e){e.body=t}},{key:"drawImage",value:function(t){var n,r=t.body.width*t.scale|0,i=t.body.height*t.scale|0,a=t.p.x-r/2,o=t.p.y-i/2;t.color?(t.data.buffer||(t.data.buffer=this.createBuffer(t.body)),(n=t.data.buffer.getContext("2d")).clearRect(0,0,t.data.buffer.width,t.data.buffer.height),n.globalAlpha=t.alpha,n.drawImage(t.body,0,0),n.globalCompositeOperation="source-atop",n.fillStyle=U.rgbToHex(t.rgb),n.fillRect(0,0,t.data.buffer.width,t.data.buffer.height),n.globalCompositeOperation="source-over",n.globalAlpha=1,this.context.drawImage(t.data.buffer,0,0,t.data.buffer.width,t.data.buffer.height,a,o,r,i)):(this.context.save(),this.context.globalAlpha=t.alpha,this.context.translate(t.p.x,t.p.y),this.context.rotate(e.degreeTransform(t.rotation)),this.context.translate(-t.p.x,-t.p.y),this.context.drawImage(t.body,0,0,t.body.width,t.body.height,a,o,r,i),this.context.globalAlpha=1,this.context.restore())}},{key:"drawCircle",value:function(t){t.rgb?this.context.fillStyle="rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.alpha+")":this.context.fillStyle=t.color,this.context.beginPath(),this.context.arc(t.p.x,t.p.y,t.radius,0,2*Math.PI,!0),this.stroke&&(this.context.strokeStyle=this.stroke.color,this.context.lineWidth=this.stroke.thinkness,this.context.stroke()),this.context.closePath(),this.context.fill()}},{key:"createBuffer",value:function(t){if(t instanceof Image){var e=t.width+"_"+t.height,n=this.bufferCache[e];return n||((n=document.createElement("canvas")).width=t.width,n.height=t.height,this.bufferCache[e]=n),n}}}]),ne);function ne(t){return r(this,ne),(t=l(this,(ne.__proto__||Object.getPrototypeOf(ne)).call(this,t))).stroke=null,t.context=t.element.getContext("2d"),t.bufferCache={},t.name="CanvasRenderer",t}var re=(s(ie,Jt),i(ie,[{key:"onParticleCreated",value:function(t){t.body?x(t.body,this.addImg2Body,t):(t.body=this.pool.get(this.circleConf,t),this.element.appendChild(t.body))}},{key:"onParticleUpdate",value:function(t){this.bodyReady(t)&&(this.transform3d?y.transform3d(t.body,t.p.x,t.p.y,t.scale,t.rotation):y.transform(t.body,t.p.x,t.p.y,t.scale,t.rotation),t.body.style.opacity=t.alpha,t.body.isCircle&&(t.body.style.backgroundColor=t.color||"#ff0000"))}},{key:"onParticleDead",value:function(t){this.bodyReady(t)&&(this.element.removeChild(t.body),this.pool.expire(t.body),t.body=null)}},{key:"bodyReady",value:function(t){return"object"===n(t.body)&&t.body&&!t.body.isInner}},{key:"addImg2Body",value:function(t,e){e.dead||(e.body=this.pool.get(t,e),y.resize(e.body,t.width,t.height),this.element.appendChild(e.body))}},{key:"createBody",value:function(t,e){return t.isCircle?this.createCircle(e):this.createSprite(t,e)}},{key:"createCircle",value:function(t){var e=y.createDiv(t.id+"_dom",2*t.radius,2*t.radius);return e.style.borderRadius=t.radius+"px",this.stroke&&(e.style.borderColor=this.stroke.color,e.style.borderWidth=this.stroke.thinkness+"px"),e.isCircle=!0,e}},{key:"createSprite",value:function(t,e){var n="string"==typeof t?t:t.src;return(t=y.createDiv(e.id+"_dom",t.width,t.height)).style.backgroundImage="url("+n+")",t}}]),ie);function ie(t){r(this,ie);var e=l(this,(ie.__proto__||Object.getPrototypeOf(ie)).call(this,t));return e.stroke=null,e.pool.create=function(t,n){return e.createBody(t,n)},e.addImg2Body=e.addImg2Body.bind(e),e.transform3d=!1,e.name="DomRenderer",e}var ae=(s(oe,Jt),i(oe,[{key:"onParticleCreated",value:function(t){t.body?this.createSprite(t):this.createCircle(t),this.element.addChild(t.body)}},{key:"onParticleUpdate",value:function(t){t.body&&(t.body.x=t.p.x,t.body.y=t.p.y,t.body.alpha=t.alpha,t.body.scaleX=t.body.scaleY=t.
2scale,t.body.rotation=t.rotation)}},{key:"onParticleDead",value:function(t){t.body&&(t.body.parent&&t.body.parent.removeChild(t.body),this.pool.expire(t.body),t.body=null),t.graphics&&this.pool.expire(t.graphics)}},{key:"createSprite",value:function(t){t.body=this.pool.get(t.body),t.body.parent||t.body.image&&(t.body.regX=t.body.image.width/2,t.body.regY=t.body.image.height/2)}},{key:"createCircle",value:function(t){var e=this.pool.get(createjs.Graphics);this.stroke&&(this.stroke instanceof String?e.beginStroke(this.stroke):e.beginStroke("#000000")),e.beginFill(t.color||"#ff0000").drawCircle(0,0,t.radius);var n=this.pool.get(createjs.Shape,[e]);t.body=n,t.graphics=e}}]),oe);function oe(t,e){return r(this,oe),(t=l(this,(oe.__proto__||Object.getPrototypeOf(oe)).call(this,t))).stroke=e,t.name="EaselRenderer",t}var se=(s(le,Jt),i(le,[{key:"resize",value:function(t,e){this.element.width=t,this.element.height=e}},{key:"createImageData",value:function(t){this.rectangle=t||new X(0,0,this.element.width,this.element.height),this.imageData=this.context.createImageData(this.rectangle.width,this.rectangle.height),this.context.putImageData(this.imageData,this.rectangle.x,this.rectangle.y)}}
2,{key:"onProtonUpdate",value:function(){this.context.clearRect(this.rectangle.x,this.rectangle.y,this.rectangle.width,this.rectangle.height),this.imageData=this.context.getImageData(this.rectangle.x,this.rectangle.y,this.rectangle.width,this.rectangle.height)}},{key:"onProtonUpdateAfter",value:function(){this.context.putImageData(this.imageData,this.rectangle.x,this.rectangle.y)}},{key:"onParticleCreated",value:function(){}},{key:"onParticleUpdate",value:function(t){this.imageData&&this.setPixel(this.imageData,Math.floor(t.p.x-this.rectangle.x),Math.floor(t.p.y-this.rectangle.y),t)}},{key:"setPixel",value:function(t,e,n,r){var i=r.rgb;e<0||e>this.element.width||n<0||n>this.elementwidth||(e=4*((n>>0)*t.width+(e>>0)),t.data[e]=i.r,t.data[1+e]=i.g,t.data[2+e]=i.b,t.data[3+e]=255*r.alpha)}},{key:"onParticleDead",value:function(){}}]),le);function le(t,e){return r(this,le),(t=l(this,(le.__proto__||Object.getPrototypeOf(le)).call(this,t))).context=t.element.getContext("2d"),t.imageData=null,t.rectangle=null,t.rectangle=e,t.createImageData(e),t.name="PixelRenderer",t}var ue=void 0,ce=(s(he,Jt),i(he,[{key:"setPIXI",value:function(t){try{ue=t||{Sprite:{}},this.createFromImage=ue.Sprite.from||ue.Sprite.fromImage}catch(t){}}}
2,{key:"onProtonUpdate",value:function(){}},{key:"onParticleCreated",value:function(t){t.body?t.body=this.pool.get(t.body,t):t.body=this.pool.get(this.circleConf,t),this.blendMode&&(t.body.blendMode=this.blendMode),this.element.addChild(t.body)}},{key:"onParticleUpdate",value:function(t){this.transform(t,t.body),!0!==this.setColor&&!0!==this.color||(t.body.tint=U.getHex16FromParticle(t))}},{key:"onParticleDead",value:function(t){this.element.removeChild(t.body),this.pool.expire(t.body),t.body=null}},{key:"destroy",value:function(t){o(he.prototype.__proto__||Object.getPrototypeOf(he.prototype),"destroy",this).call(this),this.pool.destroy();for(var e=t.length;e--;){var n=t[e];n.body&&this.element.removeChild(n.body)}}},{key:"transform",value:function(t,n){n.x=t.p.x,n.y=t.p.y,n.alpha=t.alpha,n.scale.x=t.scale,n.scale.y=t.scale,n.rotation=t.rotation*e.PI_180}},{key:"createBody",value:function(t,e){return t.isCircle?this.createCircle(e):this.createSprite(t)}},{key:"createSprite",value:function(t){return(t=t.isInner?this.createFromImage(t.src):new ue.Sprite(t)).anchor.x=.5,t.anchor.y=.5,t}},{key:"createCircle",value:function(t){var e,n=new ue.Graphics;return this.stroke&&(e=this.stroke instanceof String?this.stroke:0,n.beginStroke(e)),n.beginFill(t.color||36077),n.drawCircle(0,0,t.radius),n.endFill(),n}}]),he);function he(t,e){r(this,he);var n=l(this,(he.__proto__||Object.getPrototypeOf(he)).call(this,t));return n.stroke=e,n.color=!1,n.setColor=!1,n.blendMode=null,n.pool.create=function(t,e){return n.createBody(t,e)},n.setPIXI(window.PIXI),n.name="PixiRenderer",n}var fe=(i(pe,[{key:"set",value:function(t,e){0===e?W.set(t,this.mats[0]):W.multiply(this.mats[e-1],t,this.mats[e]),this.size=Math.max(this.size,e+1)}},{key:"push",value:function(t){0===this.size?W.set(t,this.mats[0]):W.multiply(this.mats[this.size-1],t,this.mats[this.size]),this.size++}},{key:"pop",value:function(){0<this.size&&this.size--}},{key:"top",value:function(){return this.mats[this.size-1]}}]),pe);function pe(){r(this,pe),this.mats=[];for(var t=this.size=0;t<20;t++)this.mats.push(W.create([0,0,0,0,0,0,0,0,0]))}function de(t){return r(this,de),(t=l(this,(de.__proto__||Object.getPrototypeOf(de)).call(this,t))).gl=t.element.getContext("experimental-webgl",{antialias:!0,stencil:!1,depth:!1}
2),t.gl||alert("Sorry your browser do not suppest WebGL!"),t.initVar(),t.setMaxRadius(),t.initShaders(),t.initBuffers(),t.gl.blendEquation(t.gl.FUNC_ADD),t.gl.blendFunc(t.gl.SRC_ALPHA,t.gl.ONE_MINUS_SRC_ALPHA),t.gl.enable(t.gl.BLEND),t.addImg2Body=t.addImg2Body.bind(t),t.name="WebGLRenderer",t}function me(t){return r(this,me),(t=l(this,(me.__proto__||Object.getPrototypeOf(me)).call(this,t))).name="CustomRenderer",t}s(de,Jt),i(de,[{key:"init",value:function(t){o(de.prototype.__proto__||Object.getPrototypeOf(de.prototype),"init",this).call(this,t),this.resize(this.element.width,this.element.height)}},{key:"resize",value:function(t,e){this.umat[4]=-2,this.umat[7]=1,this.smat[0]=1/t,this.smat[4]=1/e,this.mstack.set(this.umat,0),this.mstack.set(this.smat,1),this.gl.viewport(0,0,t,e),this.element.width=t,this.element.height=e}},{key:"setMaxRadius",value:function(t){this.circleCanvasURL=this.createCircle(t)}},{key:"getVertexShader",value:function(){return["uniform vec2 viewport;","attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","uniform mat3 tMat;","varying vec2 vTextureCoord;","varying float alpha;
2","void main() {","vec3 v = tMat * vec3(aVertexPosition, 1.0);","gl_Position = vec4(v.x, v.y, 0, 1);","vTextureCoord = aTextureCoord;","alpha = tMat[0][2];","}"].join("\n")}},{key:"getFragmentShader",value:function(){return["precision mediump float;","varying vec2 vTextureCoord;","varying float alpha;","uniform sampler2D uSampler;","uniform vec4 color;","uniform bool useTexture;","uniform vec3 uColor;","void main() {","vec4 textureColor = texture2D(uSampler, vTextureCoord);","gl_FragColor = textureColor * vec4(uColor, 1.0);","gl_FragColor.w *= alpha;","}"].join("\n")}},{key:"initVar",value:function(){this.mstack=new fe,this.umat=W.create([2,0,1,0,-2,0,-1,1,1]),this.smat=W.create([.01,0,1,0,.01,0,0,0,1]),this.texturebuffers={}}},{key:"blendEquation",value:function(t){this.gl.blendEquation(this.gl[t])}},{key:"blendFunc",value:function(t,e){this.gl.blendFunc(this.gl[t],this.gl[e])}},{key:"getShader",value:function(t,e,n){return n=n?t.createShader(t.FRAGMENT_SHADER):t.createShader(t.VERTEX_SHADER),t.shaderSource(n,e),t.compileShader(n),t.getShaderParameter(n,t.COMPILE_STATUS)?n:(alert(t.getShaderInfoLog(n)),null)}},{key:"initShaders",value:function(){var t=this.getShader(this.gl,this.getFragmentShader(),!0),e=this.getShader(this.gl,this.getVertexShader(),!1);this.sprogram=this.gl.createProgram(),this.gl.attachShader(this.sprogram,e),this.gl.attachShader(this.sprogram,t),this.gl.linkProgram(this.sprogram),this.gl.getProgramParameter(this.sprogram,this.gl.LINK_STATUS)||alert("Could not initialise shaders"),this.gl.useProgram(this.sprogram),this.sprogram.vpa=this.gl.getAttribLocation(this.sprogram,"aVertexPosition"),this.sprogram.tca=this.gl.getAttribLocation(this.sprogram,"aTextureCoord"),this.gl.enableVertexAttribArray(this.sprogram.tca),this.gl.enableVertexAttribArray(this.sprogram.vpa),this.sprogram.tMatUniform=this.gl.getUniformLocation(this.sprogram,"tMat"),this.sprogram.samplerUniform=this.gl.getUniformLocation(this.sprogram,"uSampler"),this.sprogram.useTex=this.gl.getUniformLocation(this.sprogram,"useTexture"),this.sprogram.color=this.gl.getUniformLocation(this.sprogram,"uColor"),this.gl.uniform1i(this.sprogram.useTex,1)}},{key:"initBuffers",value:function(){var t;this.unitIBuffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.unitIBuffer),this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,3,1,0,2,3]),this.gl.STATIC_DRAW);var e=void 0,n=[];for(e=0;e<100;e++)n.push(e);for(t=new Uint16Array(n),this.unitI33=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.unitI33),this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,t,this.gl.STATIC_DRAW),n=[],e=0;e<100;e++)n.push(e,e+1,e+2);t=new Uint16Array(n),this.stripBuffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.stripBuffer),this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,t,this.gl.STATIC_DRAW)}},{key:"createCircle",value:function(t){this.circleCanvasRadius=h(E.initValue(t,32));var e=y.createCanvas("circle_canvas",2*this.circleCanvasRadius,2*this.circleCanvasRadius);return(t=e.getContext("2d")).beginPath(),t.arc(this.circleCanvasRadius,this.circleCanvasRadius,this.circleCanvasRadius,0,2*Math.PI,!0),t.closePath(),t.fillStyle="#FFF",t.fill(),e.toDataURL()}},{key:"drawImg2Canvas",value:function(t){var e=t.body.width,n=t.body.height,r=h(t.body.width),i=h(t.body.height),a=t.body.width/r,o=t.body.height/i;this.texturebuffers[t.data.src]||(this.texturebuffers[t.data.src]=[this.gl.createTexture(),this.gl.createBuffer(),this.gl.createBuffer()]),t.data.texture=this.texturebuffers[t.data.src][0],t.data.vcBuffer=this.texturebuffers[t.data.src][1],t.data.tcBuffer=this.texturebuffers[t.data.src][2],this.gl.bindBuffer(this.gl.ARRAY_BUFFER,t.data.tcBuffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,new Float32Array([0,0,a,0,0,o,o,o]),this.gl.STATIC_DRAW),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,t.data.vcBuffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,new Float32Array([0,0,e,0,0,n,e,n]),this.gl.STATIC_DRAW),i=t.data.canvas.getContext("2d").getImageData(0,0,r,i),this.gl.bindTexture(this.gl.TEXTURE_2D,t.data.texture),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,i),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR_MIPMAP_NEAREST),this.gl.generateMipmap(this.gl.TEXTURE_2D),t.data.textureLoaded=!0,t.data.textureWidth=e,t.data.textureHeight=n}}
2,{key:"onProtonUpdate",value:function(){}},{key:"onParticleCreated",value:function(t){t.data.textureLoaded=!1,t.data.tmat=W.create(),t.data.tmat[8]=1,t.data.imat=W.create(),t.data.imat[8]=1,t.body?x(t.body,this.addImg2Body,t):(x(this.circleCanvasURL,this.addImg2Body,t),t.data.oldScale=t.radius/this.circleCanvasRadius)}},{key:"addImg2Body",value:function(t,e){e.dead||(e.body=t,e.data.src=t.src,e.data.canvas=k(t),e.data.oldScale=1,this.drawImg2Canvas(e))}},{key:"onParticleUpdate",value:function(t){t.data.textureLoaded&&(this.updateMatrix(t),this.gl.uniform3f(this.sprogram.color,t.rgb.r/255,t.rgb.g/255,t.rgb.b/255),this.gl.uniformMatrix3fv(this.sprogram.tMatUniform,!1,this.mstack.top()),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,t.data.vcBuffer),this.gl.vertexAttribPointer(this.sprogram.vpa,2,this.gl.FLOAT,!1,0,0),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,t.data.tcBuffer),this.gl.vertexAttribPointer(this.sprogram.tca,2,this.gl.FLOAT,!1,0,0),this.gl.bindTexture(this.gl.TEXTURE_2D,t.data.texture),this.gl.uniform1i(this.sprogram.samplerUniform,0),this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.unitIBuffer),this.gl.drawElements(this.gl.TRIANGLES,6,this.gl.UNSIGNED_SHORT,0),this.mstack.pop())}},{key:"onParticleDead",value:function(){}},{key:"updateMatrix",value:function(t){var n=f(-t.data.textureWidth/2,-t.data.textureHeight/2),r=f(t.p.x,t.p.y),i=t.rotation*e.PI_180,a=p(i);i=t.scale*t.data.oldScale,i=d(i,i),i=m(n,i),i=m(i,a),i=m(i,r),W.inverse(i,t.data.imat),i[2]=t.alpha,this.mstack.push(i)}}]),O=de,s(me,Jt),Jt=me;var ye=(s(ve,rt),i(ve,[{key:"getPosition",value:function(){return this.random=Math.random(),this.vector.x=this.x1+this.random*this.length*Math.cos(this.gradient),this.vector.y=this.y1+this.random*this.length*Math.sin(this.gradient),this.vector}},{key:"getDirection",value:function(t,e){var n=this.dy,r=-this.dx;return 0<(n*t+r*e+this.dot)*(0==r?1:r)}},{key:"getDistance",value:function(t,e){return(this.dy*t+-this.dx*e+this.dot)/Math.sqrt(this.xxyy)}},{key:"getSymmetric",value:function(t){var e=t.getGradient(),n=2*(this.getGradient()-e),r=t.x;return e=t.y,t.x=r*Math.cos(n)-e*Math.sin(n),t.y=r*Math.sin(n)+e*Math.cos(n),t}},{key:"getGradient",value:function(){return Math.atan2(this.dy,this.dx)}},{key:"rangeOut",value:function(t){if(Math.abs(this.getGradient())<=e.PI/4){if(t.p.x<=this.maxx&&t.p.x>=this.minx)return!0}else if(t.p.y<=this.maxy&&t.p.y>=this.miny)return!0;return!1}},{key:"getLength",value:function(){return Math.sqrt(this.dx*this.dx+this.dy*this.dy)}},{key:"crossing",value:function(t){"dead"===this.crossType?">"===this.direction||"R"===this.direction||"right"===this.direction||"down"===this.direction?this.rangeOut(t)&&this.getDirection(t.p.x,t.p.y)&&(t.dead=!0):this.rangeOut(t)&&(this.getDirection(t.p.x,t.p.y)||(t.dead=!0)):"bound"===this.crossType?this.rangeOut(t)&&this.getDistance(t.p.x,t.p.y)<=t.radius&&(0===this.dx?t.v.x*=-1:0===this.dy?t.v.y*=-1:this.getSymmetric(t.v)):"cross"===this.crossType&&this.alert&&(console.error("Sorry, LineZone does not support cross method!"),this.alert=!1)}}]),ve);function ve(t,e,n,i,a){r(this,ve);var o=l(this,(ve.__proto__||Object.getPrototypeOf(ve)).call(this));return 0<=n-t?(o.x1=t,o.y1=e,o.x2=n,o.y2=i):(o.x1=n,o.y1=i,o.x2=t,o.y2=e),o.dx=o.x2-o.x1,o.dy=o.y2-o.y1,o.minx=Math.min(o.x1,o.x2),o.miny=Math.min(o.y1,o.y2),o.maxx=Math.max(o.x1,o.x2),o.maxy=Math.max(o.y1,o.y2),o.dot=o.x2*o.y1-o.x1*o.y2,o.xxyy=o.dx*o.dx+o.dy*o.dy,o.gradient=o.getGradient(),o.length=o.getLength(),o.direction=E.initValue(a,">"),o}var ge=(s(be,rt),i(be,[{key:"getPosition",value:function(){return this.angle=e.PIx2*Math.random(),this.randomRadius=Math.random()*this.radius,this.vector.x=this.x+this.randomRadius*Math.cos(this.angle),this.vector.y=this.y+this.randomRadius*Math.sin(this.angle),this.vector}},{key:"setCenter",value:function(t,e){this.center.x=t,this.center.y=e}},{key:"crossing",value:function(t){var e=t.p.distanceTo(this.center);"dead"===this.crossType?e-t.radius>this.radius&&(t.dead=!0):"bound"===this.crossType?e+t.radius>=this.radius&&this.getSymmetric(t):"cross"===this.crossType&&this.alert&&(console.error("Sorry, CircleZone does not support cross method!"),this.alert=!1)}},{key:"getSymmetric",value:function(t){var e=t.v.getGradient(),n=2*(this.getGradient(t)-e),r=t.v.x;e=t.v.y,t.v.x=r*Math.cos(n)-e*Math.sin(n),t.v.y=r*Math.sin(n)+e*Math.cos(n)}},{key:"getGradient",value:function(t){return-e.PI_2+Math.atan2(t.p.y-this.center.y,t.p.x-this.center.x)}}]),be);function be(t,e,n){r(this,be);var i=l(this,(be.__proto__||Object.getPrototypeOf(be)).call(this));return i.x=t,i.y=e,i.radius=n,i.angle=0,i.center={x:t,y:e},i}var we=(s(xe,rt),i(xe,[{key:"getPosition",value:function(){return this.vector.x=this.x+Math.random()*this.width,this.vector.y=this.y+Math.random()*this.height,this.vector}},{key:"crossing",value:function(t){"dead"===this.crossType?((t.p.x+t.radius<this.x||t.p.x-t.radius>this.x+this.width)&&(t.dead=!0),(t.p.y+t.radius<this.y||t.p.y-t.radius>this.y+this.height)&&(t.dead=!0)):"bound"===this.crossType?(t.p.x-t.radius<this.x?(t.p.x=this.x+t.radius,t.v.x*=-1):t.p.x+t.radius>this.x+this.width&&(t.p.x=this.x+this.width-t.radius,t.v.x*=-1),t.p.y-t.radius<this.y?(t.p.y=this.y+t.radius,t.v.y*=-1):t.p.y+t.radius>this.y+this.height&&(t.p.y=this.y+this.height-t.radius,t.v.y*=-1)):"cross"===this.crossType&&(t.p.x+t.radius<this.x&&t.v.x<=0?t.p.x=this.x+this.width+t.radius:t.p.x-t.radius>this.x+this.width&&0<=t.v.x&&(t.p.x=this.x-t.radius),t.p.y+t.radius<this.y&&t.v.y<=0?t.p.y=this.y+this.height+t.radius:t.p.y-t.radius>this.y+this.height&&0<=t.v.y&&(t.p.y=this.y-t.radius))}}]),xe);function xe(t,e,n,i){r(this,xe);var a=l(this,(xe.__proto__||Object.getPrototypeOf(xe)).call(this));return a.x=t,a.y=e,a.width=n,a.height=i,a}function ke(t,e,n,i){r(this,ke);var a=l(this,(ke.__proto__||Object.getPrototypeOf(ke)).call(this));return a.reset(t,e,n,i),a}return s(ke,rt),i(ke,[{key:"reset",value:function(t,e,n,r){this.imageData=t,this.x=E.initValue(e,0),this.y=E.initValue(n,0),this.d=E.initValue(r,2),this.vectors=[],this.setVectors()}},{key:"setVectors",value:function(){var t=void 0,e=void 0,n=this.imageData.width,r=this.imageData.height;for(t=0;t<n;t+=this.d)for(e=0;e<r;e+=this.d){var i=4*((e>>0)*n+(t>>0));0<this.imageData.data[3+i]&&this.vectors.push({x:t+this.x,y:e+this.y})}return this.vector}},{key:"getBound",value:function(t,e){return t=4*((e>>0)*this.imageData.width+(t>>0)),0<this.imageData.data[3+t]}},{key:"getPosition",value:function(){var t=E.getRandFromArray(this.vectors);return this.vector.copy(t)}},{key:"getColor",value:function(t,e){return t-=this.x,t=4*(((e-=this.y)>>0)*this.imageData.width+(t>>0)),{r:this.imageData.data[t],g:this.imageData.data[1+t],b:this.imageData.data[2+t],a:this.imageData.data[3+t]}}},{key:"crossing",value:function(t){"dead"===this.crossType?this.getBound(t.p.x-this.x,t.p.y-this.y)?t.dead=!0:t.dead=!1:"bound"===this.crossType&&(this.getBound(t.p.x-this.x,t.p.y-this.y)||t.v.negate())}}]),s=ke,i={addEventListener:function(t,e){t.addEventListener("PROTON_UPDATE_AFTER",(function(){return e()}))},getStyle:function(t){return"rgba("+(t=U.hexToRgb(0<arguments.length&&void 0!==t?t:"#ff0000")).r+", "+t.g+", "+t.b+", 0.5)"},drawZone:function(t,e,n,r){var i=e.getContext("2d"),a=this.getStyle();this.addEventListener(t,(function(){r&&i.clearRect(0,0,e.width,e.height),n instanceof at?(i.beginPath(),i.fillStyle=a,i.arc(n.x,n.y,10,0,2*Math.PI,!0),i.fill(),i.closePath()):n instanceof ye?(i.beginPath(),i.strokeStyle=a,i.moveTo(n.x1,n.y1),i.lineTo(n.x2,n.y2),i.stroke(),i.closePath()):n instanceof we?(i.beginPath(),i.strokeStyle=a,i.drawRect(n.x,n.y,n.width,n.height),i.stroke(),i.closePath()):n instanceof ge&&(i.beginPath(),i.strokeStyle=a,i.arc(n.x,n.y,n.radius,0,2*Math.PI,!0),i.stroke(),i.closePath())}))},drawEmitter:function(t,e,n,r){var i=e.getContext("2d"),a=this.getStyle();this.addEventListener(t,(function(){r&&i.clearRect(0,0,e.width,e.height),i.beginPath(),i.fillStyle=a,i.arc(n.p.x,n.p.y,10,0,2*Math.PI,!0),i.fill(),i.closePath()}))}},F.Particle=N,F.Pool=_,F.Util=E,F.ColorUtil=U,F.MathUtil=e,F.Vector2D=F.Vector=B,F.Polar2D=F.Polar=H,F.ArraySpan=$,F.Rectangle=X,F.Rate=Q,F.ease=V,F.Span=u,F.Mat3=W,F.getSpan=function(t,e,n){return new u(t,e,n)},F.createArraySpan=$.createArraySpan,F.Initialize=F.Init=J,F.Life=F.L=et,F.Position=F.P=st,F.Velocity=F.V=ut,F.Mass=F.M=ht,F.Radius=F.R=pt,F.Body=F.B=mt,F.Behaviour=vt,F.Force=F.F=bt,F.Attraction=F.A=xt,F.RandomDrift=F.RD=Et,F.Gravity=F.G=St,F.Collision=Ct,F.CrossZone=Tt,F.Alpha=Mt,F.Scale=F.S=Dt,F.Rotate=Rt,F.Color=Lt,F.Repulsion=Gt,F.Cyclone=zt,F.GravityWell=Ht,F.Emitter=$t,F.BehaviourEmitter=Xt,F.FollowEmitter=Qt,F.Zone=rt,F.LineZone=ye,F.CircleZone=ge,F.PointZone=at,F.RectZone=we,F.ImageZone=s,F.CanvasRenderer=ee,F.DomRenderer=re,F.EaselRenderer=ae,F.PixiRenderer=ce,F.PixelRenderer=se,F.WebGLRenderer=F.WebGlRenderer=O,F.CustomRenderer=Jt,F.Debug=i,E.assign(F,V),F}()},function(t,e,n){"use strict";
2t.exports=n(117)},function(t,e,n){"use strict";n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return v})),n.d(e,"d",(function(){return A})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return E})),n.d(e,"g",(function(){return m})),n.d(e,"h",(function(){return d}));var r=n(13),i=n(43),a=n(15),o=n(11),s=n(12),l=n(7),u=n(10),c=n(2),h=n(4),f=Symbol.for("Animated:node"),p=function(t){return t&&t[f]},d=function(t,e){return Object(c.h)(t,f,e)},m=function(t){return t&&t[f]&&t[f].getPayload()},y=function(){function t(){Object(l.a)(this,t),this.payload=void 0,d(this,this)}return Object(u.a)(t,[{key:"getPayload",value:function(){return this.payload||[]}}]),t}(),v=function(t){Object(o.a)(n,t);var e=Object(s.a)(n);function n(t){var r;return Object(l.a)(this,n),(r=e.call(this)).done=!0,r.elapsedTime=void 0,r.lastPosition=void 0,r.lastVelocity=void 0,r.v0=void 0,r.durationProgress=0,r._value=t,c.s.num(r._value)&&(r.lastPosition=r._value),r}return Object(u.a)(n,[{key:"getPayload",value:function(){return[this]}},{key:"getValue",value:function(){return this._value}},{key:"setValue",value:function(t,e){return c.s.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}},{key:"reset",value:function(){var t=this.done;this.done=!1,c.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}],[{key:"create",value:function(t){return new n(t)}}]),n}(y),g=function(t){Object(o.a)(n,t);var e=Object(s.a)(n);function n(t){var r;return Object(l.a)(this,n),(r=e.call(this,0))._string=null,r._toString=void 0,r._toString=Object(c.f)({output:[t,t]}),r}return Object(u.a)(n,[{key:"getValue",value:function(){var t=this._string;return null==t?this._string=this._toString(this._value):t}},{key:"setValue",value:function(t){if(c.s.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!Object(i.a)(Object(a.a)(n.prototype),"setValue",this).call(this,t))return!1;this._string=null}return!0}},{key:"reset",value:function(t){t&&(this._toString=Object(c.f)({output:[this.getValue(),t]})),this._value=0,Object(i.a)(Object(a.a)(n.prototype),"reset",this).call(this)}}],[{key:"create",value:function(t){return new n(t)}}]),n}(v),b={dependencies:null},w=function(t){Object(o.a)(n,t);var e=Object(s.a)(n);function n(t){var r;return Object(l.a)(this,n),(r=e.call(this)).source=t,r.setValue(t),r}return Object(u.a)(n,[{key:"getValue",value:function(t){var e={};return Object(c.l)(this.source,(function(n,r){var i;(i=n)&&i[f]===i?e[r]=n.getValue(t):Object(c.r)(n)?e[r]=Object(c.q)(n):t||(e[r]=n)})),e}},{key:"setValue",value:function(t){this.source=t,this.payload=this._makePayload(t)}},{key:"reset",value:function(){this.payload&&Object(c.k)(this.payload,(function(t){return t.reset()}))}},{key:"_makePayload",value:function(t){if(t){var e=new Set;return Object(c.l)(t,this._addToPayload,e),Array.from(e)}}},{key:"_addToPayload",value:function(t){var e=this;b.dependencies&&Object(c.r)(t)&&b.dependencies.add(t);var n=m(t);n&&Object(c.k)(n,(function(t){return e.add(t)}))}}]),n}(y),x=function(t){Object(o.a)(n,t);var e=Object(s.a)(n);function n(t){return Object(l.a)(this,n),e.call(this,t)}return Object(u.a)(n,[{key:"getValue",value:function(){return this.source.map((function(t){return t.getValue()}))}},{key:"setValue",value:function(t){var e=this.getPayload();return t.length==e.length?e.map((function(e,n){return e.setValue(t[n])})).some(Boolean):(Object(i.a)(Object(a.a)(n.prototype),"setValue",this).call(this,t.map(k)),!0)}}],[{key:"create",value:function(t){return new n(t)}}]),n}(w);function k(t){return(Object(c.t)(t)?g:v).create(t)}function E(t){var e=p(t);return e?e.constructor:c.s.arr(t)?x:Object(c.t)(t)?g:v}function P(){return(P=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var S=function(t,e){var n=!c.s.fun(t)||t.prototype&&t.prototype.isReactComponent;return Object(h.forwardRef)((function(i,a){var o=Object(h.useRef)(null),s=n&&Object(h.useCallback)((function(t){o.current=function(t,e){t&&(c.s.fun(t)?t(e):t.current=e);return e}(a,t)}),[a]),l=function(t,e){var n=new Set;
2b.dependencies=n,t.style&&(t=P({},t,{style:e.createAnimatedStyle(t.style)}));return t=new w(t),b.dependencies=null,[t,n]}(i,e),u=Object(r.a)(l,2),f=u[0],p=u[1],d=Object(c.z)(),m=function(){var t=o.current;n&&!t||!1===(!!t&&e.applyAnimatedValues(t,f.getValue(!0)))&&d()},y=new _(m,p),v=Object(h.useRef)();Object(c.A)((function(){var t=v.current;v.current=y,Object(c.k)(p,(function(t){return Object(c.c)(t,y)})),t&&(Object(c.k)(t.deps,(function(e){return Object(c.x)(e,t)})),c.w.cancel(t.update))})),Object(h.useEffect)(m,[]),Object(c.C)((function(){return function(){var t=v.current;Object(c.k)(t.deps,(function(e){return Object(c.x)(e,t)}))}}));var g=e.getComponentProps(f.getValue());return h.createElement(t,P({},g,{ref:s}))}))},_=function(){function t(e,n){Object(l.a)(this,t),this.update=e,this.deps=n}return Object(u.a)(t,[{key:"eventObserved",value:function(t){"change"==t.type&&c.w.write(this.update)}}]),t}();var C=Symbol.for("AnimatedComponent"),A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.applyAnimatedValues,r=void 0===n?function(){return!1}:n,i=e.createAnimatedStyle,a=void 0===i?function(t){return new w(t)}:i,o=e.getComponentProps,s=void 0===o?function(t){return t}:o,l={applyAnimatedValues:r,createAnimatedStyle:a,getComponentProps:s},u=function t(e){var n=T(e)||"Anonymous";return(e=c.s.str(e)?t[e]||(t[e]=S(e,l)):e[C]||(e[C]=S(e,l))).displayName="Animated(".concat(n,")"),e};return Object(c.l)(t,(function(e,n){c.s.arr(t)&&(n=T(e)),u[n]=u(e)})),{animated:u}},T=function(t){return c.s.str(t)?t:t&&c.s.str(t.displayName)?t.displayName:c.s.fun(t)&&t.name||null}},function(t,e,n){t.exports=function(){"use strict";return function(){for(var t=["ms","moz","webkit","o"],e=0;e<t.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[t[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[e]+"CancelAnimationFrame"]||window[t[e]+"CancelRequestAnimationFrame"]}(),{timer:0,state:"stop",animations:[],add:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n={callback:t,fps:e,n:60/e,param:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i:0};return this.animations.push(n),this.animations.length>=1&&this.start(),this},getIndex:function(t){for(var e=0;e<this.animations.length;e++)if(this.animations[e].callback===t)return e;return-1},remove:function(t){if(!(this.getIndex(t)<0))return this.deleteMap(t),0===this.animations.length&&this.stop(),this},deleteMap:function(t){var e=this.getIndex(t),n=this.animations[e];for(var r in n)delete n[r];this.animations.splice(e,1)},start:function(){if("start"!==this.state)return this.state="start",this.tick(),this},stop:function(){if("stop"!==this.state)return this.state="stop",cancelAnimationFrame(this.timer),this},tick:function(){var t=this;this.timer=requestAnimationFrame((function(){t.tick()}));for(var e=0;e<this.animations.length;e++){var n=this.animations[e],r=n.callback,i=n.param;n.i++,n.i>=n.n&&(r(i),n.i=0)}}}}()},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return P})),n.d(e,"c",(function(){return m})),n.d(e,"d",(function(){return O})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return E}));var r=n(16),i=n(4),a=n.n(i),o=(n(22),n(19)),s=n(75),l=n(17),u=n(9),c=n(76),h=n.n(c),f=(n(126),n(33)),p=(n(106),function(t){var e=Object(s.a)();return e.displayName=t,e}("Router-History")),d=function(t){var e=Object(s.a)();return e.displayName=t,e}("Router"),m=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t}))),n}Object(r.a)(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pe
2ndingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return a.a.createElement(d.Provider,{value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.a.createElement(p.Provider,{children:this.props.children||null,value:this.props.history}))},e}(a.a.Component);a.a.Component;var y=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(a.a.Component);var v={},g=0;function b(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:function(t){if(v[t])return v[t];var e=h.a.compile(t);return g<1e4&&(v[t]=e,g++),e}(t)(e,{pretty:!0})}function w(t){var e=t.computedMatch,n=t.to,r=t.push,i=void 0!==r&&r;return a.a.createElement(d.Consumer,null,(function(t){t||Object(l.a)(!1);var r=t.history,s=t.staticContext,c=i?r.push:r.replace,h=Object(o.c)(e?"string"===typeof n?b(n,e.params):Object(u.a)({},n,{pathname:b(n.pathname,e.params)}):n);return s?(c(h),null):a.a.createElement(y,{onMount:function(){c(h)},onUpdate:function(t,e){var n=Object(o.c)(e.to);Object(o.f)(n,Object(u.a)({},h,{key:n.key}))||c(h)},to:n})}))}var x={},k=0;function E(t,e){void 0===e&&(e={}),("string"===typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,i=n.exact,a=void 0!==i&&i,o=n.strict,s=void 0!==o&&o,l=n.sensitive,u=void 0!==l&&l;return[].concat(r).reduce((function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=x[n]||(x[n]={});if(r[t])return r[t];var i=[],a={regexp:h()(t,i,e),keys:i};return k<1e4&&(r[t]=a,k++),a}(n,{end:a,strict:s,sensitive:u}),i=r.regexp,o=r.keys,l=i.exec(t);if(!l)return null;var c=l[0],f=l.slice(1),p=t===c;return a&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:o.reduce((function(t,e,n){return t[e.name]=f[n],t}),{})}}),null)}var P=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){var t=this;return a.a.createElement(d.Consumer,null,(function(e){e||Object(l.a)(!1);var n=t.props.location||e.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?E(n.pathname,t.props):e.match,i=Object(u.a)({},e,{location:n,match:r}),o=t.props,s=o.children,c=o.component,h=o.render;return Array.isArray(s)&&0===s.length&&(s=null),a.a.createElement(d.Provider,{value:i},i.match?s?"function"===typeof s?s(i):s:c?a.a.createElement(c,i):h?h(i):null:"function"===typeof s?s(i):null)}))},e}(a.a.Component);function S(t){return"/"===t.charAt(0)?t:"/"+t}function _(t,e){if(!t)return e;var n=S(t);return 0!==e.pathname.indexOf(n)?e:Object(u.a)({},e,{pathname:e.pathname.substr(n.length)})}function C(t){return"string"===typeof t?t:Object(o.e)(t)}function A(t){return function(){Object(l.a)(!1)}}function T(){}a.a.Component;var O=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){var t=this;return a.a.createElement(d.Consumer,null,(function(e){e||Object(l.a)(!1);var n,r,i=t.props.location||e.location;return a.a.Children.forEach(t.props.children,(function(t){if(null==r&&a.a.isValidElement(t)){n=t;var o=t.props.path||t.props.from;r=o?E(i.pathname,Object(u.a)({},t.props,{path:o})):e.match}})),r?a.a.cloneElement(n,{location:i,computedMatch:r}):null}))},e}(a.a.Component);a.a.useContext},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(41);function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Object(r.a)(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(15),i=n(58);function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=n(59);function s(t,e){return!e||"object"!==a(e)&&"function"!==typeof e?Object(o.a)(t):e}function l(t){var e=Object(i.a)();return function(){var n,i=Object(r.a)(t);if(e){var a=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return s(this,n)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(42);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(l){i=!0,a=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";var r=n(95),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function o(t){return"undefined"===typeof t}function s(t){return null!==t&&"object"===typeof t}function l(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function u(t){return"[object Function]"===i.call(t)}function c(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!==typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"===typeof t},isNumber:function(t){return"number"===typeof t},isObject:s,isPlainObject:l,isUndefined:o,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:c,merge:function t(){var e={};function n(n,r){l(e[r])&&l(n)?e[r]=t(e[r],n):l(n)?e[r]=t({},n):a(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r="Invariant failed";e.a=function(t,e){if(!t)throw new Error(r)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n(0);function i(t){return Object(r.a)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M10.067.87a2.89 2.89 0 0 0-4.134 0l-.622.638-.89-.011a2.89 2.89 0 0 0-2.924 2.924l.01.89-.636.622a2.89 2.89 0 0 0 0 4.134l.637.622-.011.89a2.89 2.89 0 0 0 2.924 2.924l.89-.01.622.636a2.89 2.89 0 0 0 4.134 0l.622-.637.89.011a2.89 2.89 0 0 0 2.924-2.924l-.01-.89.636-.622a2.89 2.89 0 0 0 0-4.134l-.637-.622.011-.89a2.89 2.89 0 0 0-2.924-2.924l-.89.01-.622-.636zm.287 5.984-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7 8.793l2.646-2.647a.5.5 0 0 1 .708.708z"}}]})(t)}function a(t){return Object(r.a)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M1 3.5A1.5 1.5 0 0 1 2.5 2h2.764c.958 0 1.76.56 2.311 1.184C7.985 3.648 8.48 4 9 4h4.5A1.5 1.5 0 0 1 15 5.5v.64c.57.265.94.876.856 1.546l-.64 5.124A2.5 2.5 0 0 1 12.733 15H3.266a2.5 2.5 0 0 1-2.481-2.19l-.64-5.124A1.5 1.5 0 0 1 1 6.14V3.5zM2 6h12v-.5a.5.5 0 0 0-.5-.5H9c-.964 0-1.71-.629-2.174-1.154C6.374 3.334 5.82 3 5.264 3H2.5a.5.5 0 0 0-.5.5V6zm-.367 1a.5.5 0 0 0-.496.562l.64 5.124A1.5 1.5 0 0 0 3.266 14h9.468a1.5 1.5 0 0 0 1.489-1.314l.64-5.124A.5.5 0 0 0 14.367 7H1.633z"}}]})(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return E})),n.d(e,"b",(function(){return T})),n.d(e,"d",(function(){return M})),n.d(e,"c",(function(){return m})),n.d(e,"f",(function(){return y}
vendor: 6,253 bytes, line 2
2)),n.d(e,"e",(function(){return d}));var r=n(9);function i(t){return"/"===t.charAt(0)}function a(t,e){for(var n=e,r=n+1,i=t.length;r<i;n+=1,r+=1)t[n]=t[r];t.pop()}var o=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],o=e&&e.split("/")||[],s=t&&i(t),l=e&&i(e),u=s||l;if(t&&i(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var c=o[o.length-1];n="."===c||".."===c||""===c}else n=!1;for(var h=0,f=o.length;f>=0;f--){var p=o[f];"."===p?a(o,f):".."===p?(a(o,f),h++):h&&(a(o,f),h--)}if(!u)for(;h--;h)o.unshift("..");!u||""===o[0]||o[0]&&i(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function s(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}var l=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"===typeof e||"object"===typeof n){var r=s(e),i=s(n);return r!==e||i!==n?t(r,i):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1},u=n(17);function c(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function f(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function p(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function d(t){var e=t.pathname,n=t.search,r=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function m(t,e,n,i){var a;"string"===typeof t?(a=function(t){var e=t||"/",n="",r="",i=e.indexOf("#");-1!==i&&(r=e.substr(i),e=e.substr(0,i));var a=e.indexOf("?");return-1!==a&&(n=e.substr(a),e=e.substr(0,a)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(a=Object(r.a)({},t)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==e&&void 0===a.state&&(a.state=e));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),i?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=o(a.pathname,i.pathname)):a.pathname=i.pathname:a.pathname||(a.pathname="/"),a}function y(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&l(t.state,e.state)}function v(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,i){if(null!=t){var a="function"===typeof t?t(e,n):t;"string"===typeof a?"function"===typeof r?r(a,i):i(!0):i(!1!==a)}else i(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}var g=!("undefined"===typeof window||!window.document||!window.document.createElement);function b(t,e){e(window.confirm(t))}var w="popstate",x="hashchange";function k(){try{return window.history.state||{}}catch(t){return{}}}function E(t){void 0===t&&(t={}),g||Object(u.a)(!1);var e=window.history,n=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=t,o=a.forceRefresh,s=void 0!==o&&o,l=a.getUserConfirmation,h=void 0===l?b:l,y=a.keyLength,E=void 0===y?6:y,P=t.basename?p(c(t.basename)):"";function S(t){var e=t||{},n=e.key,r=e.state,i=window.location,a=i.pathname+i.search+i.hash;return P&&(a=f(a,P)),m(a,r,n)}function _(){return Math.random().toString(36).substr(2,E)}var C=v();function A(t){Object(r.a)(z,t),z.length=e.length,C.notifyListeners(z.location,z.action)}function T(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||I(S(t.state))}function O(){I(S(k()))}var M=!1;function I(t){if(M)M=!1,A();else{C.confirmTransitionTo(t,"POP",h,(function(e){e?A({action:"POP",location:t}):function(t){var e=z.location,n=F.indexOf(e.key);-1===n&&(n=0);var r=F.indexOf(t.key);-1===r&&(r=0);var i=n-r;i&&(M=!0,j(i))}(t)}))}}var D=S(k()),F=[D.key];function R(t){return P+d(t)}function j(t){e.go(t)}var L=0;function V(t){1===(L+=t)&&1===t?(window.addEventListener(w,T),i&&window.addEventListener(x,O)):0===L&&(window.removeEventListener(w,T),i&&window.removeEventListener(x,O))}var B=!1;var z={length:e.length,action:"POP",location:D,createHref:R,push:function(t,r){var i="PUSH",a=m(t,r,_(),z.location);C.confirmTransitionTo(a,i,h,(function(t){if(t){var r=R(a),o=a.key,l=a.state;if(n)if(e.pushState({key:o,state:l},null,r),s)window.location.href=r;else{var u=F.indexOf(z.location.key),c=F.slice(0,u+1);c.push(a.key),F=c,A({action:i,location:a})}else window.location.href=r}}))},replace:function(t,r){var i="REPLACE",a=m(t,r,_(),z.location);C.confirmTransitionTo(a,i,h,(function(t){if(t){var r=R(a),o=a.key,l=a.state;if(n)if(e.replaceState({key:o,state:l},null,r),s)window.location.replace(r);else{var u=F.indexOf(z.location.key);-1!==u&&(F[u]=a.key),A({action:i,location:a})}else window.location.replace(r)}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(t){void 0===t&&(t=!1);var e=C.setPrompt(t);return B||(V(1),B=!0),function(){return B&&(B=!1,V(-1)),e()}},listen:function(t){var e=C.appendListener(t);return V(1),function(){V(-1),e()}}};return z}var P="hashchange",S={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+h(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:h,decodePath:c},slash:{encodePath:c,decodePath:c}};function _(t){var e=t.indexOf("#");return-1===e?t:t.slice(0,e)}function C(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)}function A(t){window.location.replace(_(window.location.href)+"#"+t)}function T(t){void 0===t&&(t={}
2),g||Object(u.a)(!1);var e=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),t),i=n.getUserConfirmation,a=void 0===i?b:i,o=n.hashType,s=void 0===o?"slash":o,l=t.basename?p(c(t.basename)):"",h=S[s],y=h.encodePath,w=h.decodePath;function x(){var t=w(C());return l&&(t=f(t,l)),m(t)}var k=v();function E(t){Object(r.a)(z,t),z.length=e.length,k.notifyListeners(z.location,z.action)}var T=!1,O=null;function M(){var t,e,n=C(),r=y(n);if(n!==r)A(r);else{var i=x(),o=z.location;if(!T&&(e=i,(t=o).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash))return;if(O===d(i))return;O=null,function(t){if(T)T=!1,E();else{var e="POP";k.confirmTransitionTo(t,e,a,(function(n){n?E({action:e,location:t}):function(t){var e=z.location,n=R.lastIndexOf(d(e));-1===n&&(n=0);var r=R.lastIndexOf(d(t));-1===r&&(r=0);var i=n-r;i&&(T=!0,j(i))}(t)}))}}(i)}}var I=C(),D=y(I);I!==D&&A(D);var F=x(),R=[d(F)];function j(t){e.go(t)}var L=0;function V(t){1===(L+=t)&&1===t?window.addEventListener(P,M):0===L&&window.removeEventListener(P,M)}var B=!1;var z={length:e.length,action:"POP",location:F,createHref:function(t){var e=document.querySelector("base"),n="";return e&&e.getAttribute("href")&&(n=_(window.location.href)),n+"#"+y(l+d(t))},push:function(t,e){var n="PUSH",r=m(t,void 0,void 0,z.location);k.confirmTransitionTo(r,n,a,(function(t){if(t){var e=d(r),i=y(l+e);if(C()!==i){O=e,function(t){window.location.hash=t}(i);var a=R.lastIndexOf(d(z.location)),o=R.slice(0,a+1);o.push(e),R=o,E({action:n,location:r})}else E()}}))},replace:function(t,e){var n="REPLACE",r=m(t,void 0,void 0,z.location);k.confirmTransitionTo(r,n,a,(function(t){if(t){var e=d(r),i=y(l+e);C()!==i&&(O=e,A(i));var a=R.indexOf(d(z.location));-1!==a&&(R[a]=e),E({action:n,location:r})}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(t){void 0===t&&(t=!1);var e=k.setPrompt(t);return B||(V(1),B=!0),function(){return B&&(B=!1,V(-1)),e()}},listen:function(t){var e=k.appendListener(t);return V(1),function(){V(-1),e()}}};return z}function O(t,e,n){return Math.min(Math.max(t,e),n)}function M(t){void 0===t&&(t={});var e=t,n=e.getUserConfirmation,i=e.initialEntries,a=void 0===i?["/"]:i,o=e.initialIndex,s=void 0===o?0:o,l=e.keyLength,u=void 0===l?6:l,c=v();function h(t){Object(r.a)(w,t),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function f(){return Math.random().toString(36).substr(2,u)}var p=O(s,0,a.length-1),y=a.map((function(t){return m(t,void 0,"string"===typeof t?f():t.key||f())})),g=d;function b(t){var e=O(w.index+t,0,w.entries.length-1),r=w.entries[e];c.confirmTransitionTo(r,"POP",n,(function(t){t?h({action:"POP",location:r,index:e}):h()}))}var w={length:y.length,action:"POP",location:y[p],index:p,entries:y,createHref:g,push:function(t,e){var r="PUSH",i=m(t,e,f(),w.location);c.confirmTransitionTo(i,r,n,(function(t){if(t){var e=w.index+1,n=w.entries.slice(0);n.length>e?n.splice(e,n.length-e,i):n.push(i),h({action:r,location:i,index:e,entries:n})}}))},replace:function(t,e){var r="REPLACE",i=m(t,e,f(),w.location);c.confirmTransitionTo(i,r,n,(function(t){t&&(w.entries[w.index]=i,h({action:r,location:i}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(t){var e=w.index+t;return e>=0&&e<w.entries.length},block:function(t){return void 0===t&&(t=!1),c.setPrompt(t)},listen:function(t){return c.appendListener(t)}};return w}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return v}));var r=n(8),i=n(16),a=n(4),o=n.n(a),s=n(19),l=(n(22),n(9)),u=n(33),c=n(17),h=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).history=Object(s.a)(e.props),e}return Object(i.a)(e,t),e.prototype.render=function(){return o.a.createElement(r.c,{history:this.history,children:this.props.children})},e}(o.a.Component);o.a.Component;var f=function(t,e){return"function"===typeof t?t(e):t},p=function(t,e){return"string"===typeof t?Object(s.c)(t,null,null,e):t},d=function(t){return t},m=o.a.forwardRef;"undefined"===typeof m&&(m=d);var y=m((function(t,e){var n=t.innerRef,r=t.navigate,i=t.onClick,a=Object(u.a)(t,["innerRef","navigate","onClick"]),s=a.target,c=Object(l.a)({},a,{onClick:function(t){try{i&&i(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||s&&"_self"!==s||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return c.ref=d!==m&&e||n,o.a.createElement("a",c)}));var v=m((function(t,e){var n=t.component,i=void 0===n?y:n,a=t.replace,s=t.to,h=t.innerRef,v=Object(u.a)(t,["component","replace","to","innerRef"]);return o.a.createElement(r.e.Consumer,null,(function(t){t||Object(c.a)(!1);var n=t.history,r=p(f(s,t.location),t.location),u=r?n.createHref(r):"",y=Object(l.a)({},v,{href:u,navigate:function(){var e=f(s,t.location);(a?n.replace:n.push)(e)}});return d!==m?y.ref=e||h:y.innerRef=h,o.a.createElement(i,y)}))})),g=function(t){return t},b=o.a.forwardRef;"undefined"===typeof b&&(b=g);b((function(t,e){var n=t["aria-current"],i=void 0===n?"page":n,a=t.activeClassName,s=void 0===a?"active":a,h=t.activeStyle,d=t.className,m=t.exact,y=t.isActive,w=t.location,x=t.sensitive,k=t.strict,E=t.style,P=t.to,S=t.innerRef,_=Object(u.a)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.a.createElement(r.e.Consumer,null,(function(t){t||Object(c.a)(!1);var n=w||t.location,a=p(f(P,n),n),u=a.pathname,C=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=C?Object(r.f)(n.pathname,{path:C,exact:m,sensitive:x,strict:k}):null,T=!!(y?y(A,n):A),O=T?function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).join(" ")}(d,s):d,M=T?Object(l.a)({},E,{},h):E,I=Object(l.a)({"aria-current":T&&i||null,className:O,style:M,to:a},_);return g!==b?I.ref=e||S:I.innerRef=S,o.a.createElement(v,I)}))}))},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=n(123)()},function(t,e,n){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0});var r=f(n(130)),i=f(n(139)),a=f(n(143)),o=f(n(144)),s=f(n(148)),l=f(n(170)),u=f(n(4)),c=f(n(22)),h=f(n(178));function f(t){return t&&t.__esModule?t:{default:t}}var p=function(t){function e(){var t,n,r,o;(0,a.default)(this,e);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return n=r=(0,s.default)(this,(t=e.__proto__||(0,i.default)(e)).call.apply(t,[this].concat(u))),r.handleClickToPause=function(){r.anim.isPaused?r.anim.play():r.anim.pause()},o=n,(0,s.default)(r,o)}return(0,l.default)(e,t),(0,o.default)(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.options,n=t.eventListeners,i=e.loop,a=e.autoplay,o=e.animationData,s=e.rendererSettings,l=e.segments;this.options={container:this.el,renderer:"svg",loop:!1!==i,autoplay:!1!==a,segments:!1!==l,animationData:o,rendererSettings:s},this.options=(0,r.default)({},this.options,e),this.anim=h.default.loadAnimation(this.options),this.registerEvents(n)}},{key:"componentWillUpdate",value:function(t){this.options.animationData!==t.options.animationData&&(this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options=(0,r.default)({},this.options,t.options),this.anim=h.default.loadAnimation(this.options),this.registerEvents(t.eventListeners))}},{key:"componentDidUpdate",value:function(){this.props.isStopped?this.stop():this.props.segments?this.playSegments():this.play(),this.pause(),this.setSpeed(),this.setDirection()}},{key:"componentWillUnmount",value:function(){this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options.animationData=null,this.anim=null}},{key:"setSpeed",value:function(){this.anim.setSpeed(this.props.speed)}},{key:"setDirection",value:function(){this.anim.setDirection(this.props.direction)}},{key:"play",value:function(){this.anim.play()}},{key:"playSegments",value:function(){this.anim.playSegments(this.props.segments)}},{key:"stop",value:function(){this.anim.stop()}},{key:"pause",value:function(){(this.props.isPaused&&!this.anim.isPaused||!this.props.isPaused&&this.anim.isPaused)&&this.anim.pause()}},{key:"destroy",value:function(){this.anim.destroy()}},{key:"registerEvents",value:function(t){var e=this;t.forEach((function(t){e.anim.addEventListener(t.eventName,t.callback)}))}},{key:"deRegisterEvents",value:function(t){var e=this;t.forEach((function(t){e.anim.removeEventListener(t.eventName,t.callback)}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.width,i=e.height,a=e.ariaRole,o=e.ariaLabel,s=e.isClickToPauseDisabled,l=e.title,c=function(t){return"number"===typeof t?t+"px":t||"100%"},h=(0,r.default)({width:c(n),height:c(i),overflow:"hidden",margin:"0 auto",outline:"none"},this.props.style),f=s?function(){return null}:this.handleClickToPause;return u.default.createElement("div",{ref:function(e){t.el=e},style:h,onClick:f,title:l,role:a,"aria-label":o,tabIndex:"0"})}}]),e}(u.default.Component);e.default=p,p.propTypes={eventListeners:c.default.arrayOf(c.default.object),options:c.default.object.isRequired,height:c.default.oneOfType([c.default.string,c.default.number]),width:c.default.oneOfType([c.default.string,c.default.number]),isStopped:c.default.bool,isPaused:c.default.bool,speed:c.default.number,segments:c.default.arrayOf(c.default.number),direction:c.default.number,ariaRole:c.default.string,ariaLabel:c.default.string,isClickToPauseDisabled:c.default.bool,title:c.default.string},p.defaultProps={eventListeners:[],isStopped:!1,isPaused:!1,speed:1,ariaRole:"button",ariaLabel:"animation",isClickToPauseDisabled:!1,title:""}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function i(t){return t&&t.__esModule?t:{default:t}}var a=n(4),o=i(a),s=i(n(202)),l=i(n(22)),u=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){for(var r=!0;r;){var i=t,a=e,o=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,a);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(o)}var u=Object.getPrototypeOf(i);if(null===u)return;t=u,e=a,n=o,r=!0,s=u=void 0}}(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.serverSide="undefined"===typeof window,this.listener=(0,s.default)(this.handleScroll.bind(this),50),this.visibility={onScreen:!1,inViewport:!1},this.state={classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"getElementTop",value:function(t){for(var e=0;t&&void 0!==t.offsetTop&&void 0!==t.clientTop;)e+=t.offsetTop+t.clientTop,t=t.offsetParent;return e}},{key:"getScrollPos",value:function(){return void 0!==this.scrollableParent.pageYOffset?this.scrollableParent.pageYOffset:this.scrollableParent.scrollTop}},{key:"getScrollableParentHeight",value:function(){return void 0!==this.scrollableParent.innerHe
2ight?this.scrollableParent.innerHeight:this.scrollableParent.clientHeight}},{key:"getViewportTop",value:function(){return this.getScrollPos()+this.props.offset}},{key:"getViewportBottom",value:function(){return this.getScrollPos()+this.getScrollableParentHeight()-this.props.offset}},{key:"isInViewport",value:function(t){return t>=this.getViewportTop()&&t<=this.getViewportBottom()}},{key:"isAboveViewport",value:function(t){return t<this.getViewportTop()}},{key:"isBelowViewport",value:function(t){return t>this.getViewportBottom()}},{key:"inViewport",value:function(t,e){return this.isInViewport(t)||this.isInViewport(e)||this.isAboveViewport(t)&&this.isBelowViewport(e)}},{key:"onScreen",value:function(t,e){return!this.isAboveScreen(e)&&!this.isBelowScreen(t)}},{key:"isAboveScreen",value:function(t){return t<this.getScrollPos()}},{key:"isBelowScreen",value:function(t){return t>this.getScrollPos()+this.getScrollableParentHeight()}},{key:"getVisibility",value:function(){var t=this.getElementTop(this.node)-this.getElementTop(this.scrollableParent),e=t+this.node.clientHeight;return{inViewport:this.inViewport(t,e),onScreen:this.onScreen(t,e)}}},{key:"componentDidMount",value:function(){if(!this.serverSide){var t=this.props.scrollableParentSelector;this.scrollableParent=t?document.querySelector(t):window,this.scrollableParent&&this.scrollableParent.addEventListener?this.scrollableParent.addEventListener("scroll",this.listener):console.warn("Cannot find element by locator: "+this.props.scrollableParentSelector),this.props.animatePreScroll&&this.handleScroll()}}},{key:"componentWillUnmount",value:function(){clearTimeout(this.delayedAnimationTimeout),clearTimeout(this.callbackTimeout),window&&window.removeEventListener&&window.removeEventListener("scroll",this.listener)}},{key:"visibilityHasChanged",value:function(t,e){return t.inViewport!==e.inViewport||t.onScreen!==e.onScreen}},{key:"animate",value:function(t,e){var n=this;this.delayedAnimationTimeout=setTimeout((function(){n.animating=!0,n.setState({classes:"animated "+t,style:{animationDuration:n.props.duration+"s"}}),n.callbackTimeout=setTimeout(e,1e3*n.props.duration)}),this.props.delay)}},{key:"animateIn",value:function(t){var e=this;this.animate(this.props.animateIn,(function(){e.props.animateOnce||(e.setState({style:{animationDuration:e.props.duration+"s",opacity:1}}),e.animating=!1);var n=e.getVisibility();t&&t(n)}))}},{key:"animateOut",value:function(t){var e=this;this.animate(this.props.animateOut,(function(){e.setState({classes:"animated",style:{animationDuration:e.props.duration+"s",opacity:0}});var n=e.getVisibility();n.inViewport&&e.props.animateIn?e.animateIn(e.props.afterAnimatedIn):e.animating=!1,t&&t(n)}))}},{key:"handleScroll",value:function(){if(!this.animating){var t=this.getVisibility();this.visibilityHasChanged(this.visibility,t)&&(clearTimeout(this.delayedAnimationTimeout),t.onScreen?t.inViewport&&this.props.animateIn?this.animateIn(this.props.afterAnimatedIn):t.onScreen&&this.visibility.inViewport&&this.props.animateOut&&1===this.state.style.opacity&&this.animateOut(this.props.afterAnimatedOut):this.setState({classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}),this.visibility=t)}}},{key:"render",value:function(){var t=this,e=this.props.className?this.props.className+" "+this.state.classes:this.state.classes;return o.default.createElement("div",{ref:function(e){t.node=e},className:e,style:Object.assign({},this.state.style,this.props.style)},this.props.children)}}]),e}(a.Component);e.default=u,u.defaultProps={offset:150,duration:1,initiallyVisible:!1,delay:0,animateO
2nce:!1,animatePreScroll:!0},u.propTypes={animateIn:l.default.string,animateOut:l.default.string,offset:l.default.number,duration:l.default.number,delay:l.default.number,initiallyVisible:l.default.bool,animateOnce:l.default.bool,style:l.default.object,scrollableParentSelector:l.default.string,className:l.default.string,animatePreScroll:l.default.bool},t.exports=e.default},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(46);var i=n(42);function a(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(i.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){t.exports=n(204)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){t.exports=!n(36)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var a=typeof r;if("string"===a||"number"===a)t.push(r);else if(Array.isArray(r)){if(r.length){var o=i.apply(null,r);o&&t.push(o)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){var r=n(27),i=n(21),a=n(83),o=n(34),s=n(32),l=function t(e,n,l){var u,c,h,f=e&t.F,p=e&t.G,d=e&t.S,m=e&t.P,y=e&t.B,v=e&t.W,g=p?i:i[n]||(i[n]={}),b=g.prototype,w=p?r:d?r[n]:(r[n]||{}).prototype;for(u in p&&(l=n),l)(c=!f&&w&&void 0!==w[u])&&s(g,u)||(h=c?w[u]:l[u],g[u]=p&&"function"!=typeof w[u]?l[u]:y&&c?a(h,r):v&&w[u]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):m&&"function"==typeof h?a(Function.call,h):h,m&&((g.virtual||(g.virtual={}))[u]=h,e&t.R&&b&&!b[u]&&o(b,u,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(44),i=n(84),a=n(63),o=Object.defineProperty;e.f=n(28)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(31),i=n(50);t.exports=n(28)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var r=n(87),i=n(64);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(67)("wks"),i=n(53),a=n(27).Symbol,o="function"==typeof a;(t.exports=function(t){return r[t]||(r[t]=o&&a[t]||(o?a:i)("Symbol."+t))}).store=r},,function(t,e,n){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=n(118)},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(46);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(15);function i(t,e,n){return(i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(r.a)(t)););return t}(t,e);if(i){var a=Object.getOwnPropertyDescriptor(i,e);return a.get?a.get.call(n):a.value}})(t,e,n||t)}},function(t,e,n){var r=n(35);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";n.d(e,"animated",(function(){return A}));var r=n(10),i=n(13),a=n(7),o=n(11),s=n(12),l=n(57);n.o(l,"useSpring")&&n.d(e,"useSpring",(function(){return l.useSpring}));var u=n(40),c=n(2),h=n(5);function f(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}var p=["style","children","scrollTop","scrollLeft"],d=/^--/;function m(t,e){return null==e||"boolean"===typeof e||""===e?"":"number"!==typeof e||0===e||d.test(t)||v.hasOwnProperty(t)&&v[t]?(""+e).trim():e+"px"}var y={};var v={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},g=["Webkit","Ms","Moz","O"];v=Object.keys(v).reduce((function(t,e){return g.forEach((function(n){return t[function(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}(n,e)]=t[e]})),t}),v);var b=["x","y","z"],w=/^(matrix|translate|scale|rotate|skew)/,x=/^(translate)/,k=/^(rotate|skew)/,E=function(t,e){return c.s.num(t)&&0!==t?t+e:t},P=function t(e,n){return c.s.arr(e)?e.every((function(e){return t(e,n)})):c.s.num(e)?e===n:parseFloat(e)===n},S=function(t){Object(o.a)(n,t);var e=Object(s.a)(n);function n(t){Object(a.a)(this,n);var r=t.x,o=t.y,s=t.z,l=f(t,b),u=[],h=[];return(r||o||s)&&(u.push([r||0,o||0,s||0]),h.push((function(t){return["translate3d(".concat(t.map((function(t){return E(t,"px")})).join(","),")"),P(t,0)]}))),Object(c.l)(l,(function(t,e){if("transform"===e)u.push([t||""]),h.push((function(t){return[t,""===t]}));else if(w.test(e)){if(delete l[e],c.s.und(t))return;var n=x.test(e)?"px":k.test(e)?"deg":"";u.push(Object(c.y)(t)),h.push("rotate3d"===e?function(t){var e=Object(i.a)(t,4),r=e[0],a=e[1],o=e[2],s=e[3];return["rotate3d(".concat(r,",").concat(a,",").concat(o,",").concat(E(s,n),")"),P(s,0)]}:function(t){return["".concat(e,"(").concat(t.map((function(t){return E(t,n)}
2)).join(","),")"),P(t,e.startsWith("scale")?1:0)]})}})),u.length&&(l.transform=new _(u,h)),e.call(this,l)}return n}(h.a),_=function(t){Object(o.a)(n,t);var e=Object(s.a)(n);function n(t,r){var i;return Object(a.a)(this,n),(i=e.call(this))._value=null,i.inputs=t,i.transforms=r,i}return Object(r.a)(n,[{key:"get",value:function(){return this._value||(this._value=this._get())}},{key:"_get",value:function(){var t=this,e="",n=!0;return Object(c.k)(this.inputs,(function(r,a){var o=Object(c.q)(r[0]),s=t.transforms[a](c.s.arr(o)?o:r.map(c.q)),l=Object(i.a)(s,2),u=l[0],h=l[1];e+=" "+u,n=n&&h})),n?"none":e}},{key:"observerAdded",value:function(t){var e=this;1==t&&Object(c.k)(this.inputs,(function(t){return Object(c.k)(t,(function(t){return Object(c.r)(t)&&Object(c.c)(t,e)}))}))}},{key:"observerRemoved",value:function(t){var e=this;0==t&&Object(c.k)(this.inputs,(function(t){return Object(c.k)(t,(function(t){return Object(c.r)(t)&&Object(c.x)(t,e)}))}))}},{key:"eventObserved",value:function(t){"change"==t.type&&(this._value=null),Object(c.d)(this,t)}}]),n}(c.a),C=["scrollTop","scrollLeft"];l.Globals.assign({batchedUpdates:u.unstable_batchedUpdates,createStringInterpolator:c.g,colors:c.e});var A=Object(h.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;var n="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,r=e,i=r.style,a=r.children,o=r.scrollTop,s=r.scrollLeft,l=f(r,p),u=Object.values(l),c=Object.keys(l).map((function(e){return n||t.hasAttribute(e)?e:y[e]||(y[e]=e.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()})))}));for(var h in void 0!==a&&(t.textContent=a),i)if(i.hasOwnProperty(h)){var v=m(h,i[h]);d.test(h)?t.style.setProperty(h,v):t.style[h]=v}c.forEach((function(e,n){t.setAttribute(e,u[n])})),void 0!==o&&(t.scrollTop=o),void 0!==s&&(t.scrollLeft=s)},createAnimatedStyle:function(t){return new S(t)},getComponentProps:function(t){return f(t,C)}}).animated},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return s}));var r=n(0);function i(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"}}]})(t)}function a(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"}}]})(t)}function o(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}}]})(t)}function s(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M440.5 386.7h-29.3c-1.5 13.5-10.5 30.8-33 30.8-20.5 0-35.3-14.2-49.5-35.8 44.2-34.2 74.7-87.5 74.7-153C403.5 111.2 306.8 32 205 32 105.3 32 7.3 111.7 7.3 228.7c0 134.1 131.3 221.6 249 189C276 451.3 302 480 351.5 480c81.8 0 90.8-75.3 89-93.3zM297 329.2C277.5 300 253.3 277 205.5 277c-30.5 0-54.3 10-69 22.8l12.2 24.3c6.2-3 13-4 19.8-4 35.5 0 53.7 30.8 69.2 61.3-10 3-20.7 4.2-32.7 4.2-75 0-107.5-53-107.5-156.7C97.5 124.5 130 71 205 71c76.2 0 108.7 53.5 108.7 157.7.1 41.8-5.4 75.6-16.7 100.5z"}}]})(t)}},function(t,e,n){"use strict";
2t.exports={VerticalTimeline:n(197).default,VerticalTimelineElement:n(198).default}},function(t,e,n){"use strict";function r(t,e,n,r,i,a,o){try{var s=t[a](o),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,a){var o=t.apply(e,n);function s(t){r(o,i,a,s,l,"next",t)}function l(t){r(o,i,a,s,l,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return i}))},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(86),i=n(68);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){t.exports=!0},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(64);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";n.d(e,"useSpring",(function(){return It}));var r=n(59),i=n(25),a=n(13),o=n(43),s=n(15),l=n(10),u=n(11),c=n(12),h=n(79),f=n(26),p=n.n(f),d=n(49),m=n(7),y=n(78),v=n(2);n.d(e,"Globals",(function(){return v.b}));var g=n(4),b=n(5);n(104),n(105);function w(){return(w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function x(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return v.s.fun(t)?t.apply(void 0,n):t}var k=function(t,e){return!0===t||!!(e&&t&&(v.s.fun(t)?t(e):Object(v.y)(t).includes(e)))},E=function(t,e){return v.s.obj(t)?e&&t[e]:t},P=function(t,e){return!0===t.default?t[e]:t.default?t.default[e]:void 0},S=function(t){return t},_=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n=C;t.default&&!0!==t.default&&(t=t.default,n=Object.keys(t));var r,i={},a=Object(y.a)(n);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=e(t[o],o);v.s.und(s)||(i[o]=s)}}catch(l){a.e(l)}finally{a.f()}return i},C=["config","onProps","onStart","onChange","onPause","onResume","onRest"],A={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function T(t){var e=function(t){var e={},n=0;if(Object(v.l)(t,(function(t,r){A[r]||(e[r]=t,n++)})),n)return e}(t);if(e){var n={to:e};return Object(v.l)(t,(function(t,r){return r in e||(n[r]=t)})),n}return w({},t)}function O(t){return t=Object(v.q)(t),v.s.arr(t)?t.map(O):Object(v.t)(t)?v.b.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function M(t){for(var e in t)return!0;return!1}function I(t){return v.s.fun(t)||v.s.arr(t)&&v.s.obj(t[0])}function D(t,e){var n;null==(n=t.ref)||n.delete(t),null==e||e.delete(t)}function F(t,e){var n;e&&t.ref!==e&&(null==(n=t.ref)||n.delete(t),e.add(t),t.ref=e)}var R=w({},{tension:170,friction:26},{mass:1,damping:1,easing:function(t){return t},clamp:!1}),j=function t(){Object(m.a)(this,t),this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,R)};function L(t,e){if(v.s.und(e.decay)){var n=!v.s.und(e.tension)||!v.s.und(e.friction);!n&&v.s.und(e.frequency)&&v.s.und(e.damping)&&v.s.und(e.mass)||(t.duration=void 0,t.decay=void 0),n&&(t.frequency=void 0)}else t.duration=void 0}var V=[],B=function t(){Object(m.a)(this,t),this.changed=!1,this.values=V,this.toValues=null,this.fromValues=V,this.to=void 0,this.from=void 0,this.config=new j,this.immediate=!1};function z(t,e){var n=e.key,r=e.props,i=e.defaultProps,a=e.state,o=e.actions;return new Promise((function(e,s){var l,u,c,h=k(null!=(l=r.cancel)?l:null==i?void 0:i.cancel,n);if(h)m();else{v.s.und(r.pause)||(a.paused=k(r.pause,n));var f=null==i?void 0:i.pause;!0!==f&&(f=a.paused||k(f,n)),u=x(r.delay||0,n),f?(a.resumeQueue.add(d),o.pause()):(o.resume(),d())}function p(){a.resumeQueue.add(d),a.timeouts.delete(c),c.cancel(),u=c.time-v.w.now()}function d(){u>0?(c=v.w.setTimeout(m,u),a.pauseQueue.add(p),a.timeouts.add(c)):m()}function m(){a.pauseQueue.delete(p),a.timeouts.delete(c),t<=(a.cancelId||0)&&(h=!0);try{o.start(w({},r,{callId:t,cancel:h}),e)}catch(n){s(n)}}}))}var N=function(t,e){return 1==e.length?e[0]:e.some((function(t){return t.cancelled}))?H(t.get()):e.every((function(t){return t.noop}))?G(t.get()):U(t.get(),e.every((function(t){return t.finished})))},G=function(t){return{value:t,noop:!0,finished:!0,cancelled:!1}},U=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{value:t,finished:e,cancelled:n}},H=function(t){return{value:t,cancelled:!0,finished:!1}};function q(t,e,n,r){var i=e.callId,a=e.parentId,o=e.onRest,s=n.asyncTo,l=n.promise;return a||t!==s||e.reset?n.promise=Object(d.a)(p.a.mark((function u(){var c,h,f,m,g,b,x,k;return p.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(n.asyncId=i,n.asyncTo=t,c=_(e,(function(t,e){return"onRest"===e?void 0:t})),m=new Promise((function(t,e){return h=t,f=e})),g=function(t){var e=i<=(n.cancelId||0)&&H(r)||i!==n.asyncId&&U(r,!1);if(e)throw t.result=e,f(t),t},b=function(t,e){var a=new $,o=new Y;return Object(d.a)(p.a.mark((function s(){var l,u;return p.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(!v.b.skipAnimation){s.next=5;break}throw W(n),o.result=U(r,!1),f(o),o;case 5:return g(a),(l=v.s.obj(t)?w({},t):w({},e,{to:t})).parentId=i,Object(v.l)(c,(function(t,e){v.s.und(l[e])&&(l[e]=t)})),s.next=11,r.start(l);case 11:if(u=s.sent,g(a),!n.paused){s.next=16;break}return s.next=16,new Promise((function(t){n.resumeQueue.add(t)}));case 16:return s.abrupt("return",u);case 17:case"end":return s.stop()}}),s)})))()}
2,!v.b.skipAnimation){u.next=9;break}return W(n),u.abrupt("return",U(r,!1));case 9:return u.prev=9,k=v.s.arr(t)?function(){var t=Object(d.a)(p.a.mark((function t(e){var n,r,i;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=Object(y.a)(e),t.prev=1,n.s();case 3:if((r=n.n()).done){t.next=9;break}return i=r.value,t.next=7,b(i);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),n.e(t.t0);case 14:return t.prev=14,n.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(e){return t.apply(this,arguments)}}()(t):Promise.resolve(t(b,r.stop.bind(r))),u.next=13,Promise.all([k.then(h),m]);case 13:x=U(r.get(),!0,!1),u.next=27;break;case 16:if(u.prev=16,u.t0=u.catch(9),!(u.t0 instanceof $)){u.next=22;break}x=u.t0.result,u.next=27;break;case 22:if(!(u.t0 instanceof Y)){u.next=26;break}x=u.t0.result,u.next=27;break;case 26:throw u.t0;case 27:return u.prev=27,i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?l:void 0),u.finish(27);case 30:return v.s.fun(o)&&v.w.batchedUpdates((function(){o(x,r,r.item)})),u.abrupt("return",x);case 32:case"end":return u.stop()}}),u,null,[[9,16,27,30]])})))():l}function W(t,e){Object(v.m)(t.timeouts,(function(t){return t.cancel()})),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}var $=function(t){Object(u.a)(n,t);var e=Object(c.a)(n);function n(){var t;return Object(m.a)(this,n),(t=e.call(this,"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")).result=void 0,t}return n}(Object(h.a)(Error)),Y=function(t){Object(u.a)(n,t);var e=Object(c.a)(n);function n(){var t;return Object(m.a)(this,n),(t=e.call(this,"SkipAnimationSignal")).result=void 0,t}return n}(Object(h.a)(Error)),X=function(t){return t instanceof Q},Z=1,Q=function(t){Object(u.a)(n,t);var e=Object(c.a)(n);function n(){var t;Object(m.a)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(t=e.call.apply(e,[this].concat(i))).id=Z++,t.key=void 0,t._priority=0,t}return Object(l.a)(n,[{key:"priority",get:function(){return this._priority},set:function(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}},{key:"get",value:function(){var t=Object(b.e)(this);return t&&t.getValue()}},{key:"to",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return v.b.to(this,e)}},{key:"interpolate",value:function(){Object(v.j)();for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return v.b.to(this,e)}},{key:"toJSON",value:function(){return this.get()}},{key:"observerAdded",value:function(t){1==t&&this._attach()}},{key:"observerRemoved",value:function(t){0==t&&this._detach()}},{key:"_attach",value:function(){}},{key:"_detach",value:function(){}},{key:"_onChange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(v.d)(this,{type:"change",parent:this,value:t,idle:e})}},{key:"_onPriorityChange",value:function(t){this.idle||v.o.sort(this),Object(v.d)(this,{type:"priority",parent:this,priority:t})}}]),n}(v.a),K=Symbol.for("SpringPhase"),J=function(t){return(1&t[K])>0},tt=function(t){return(2&t[K])>0},et=function(t){return(4&t[K])>0},nt=function(t,e){return e?t[K]|=3:t[K]&=-3},rt=function(t,e){return e?t[K]|=4:t[K]&=-5},it=function(t){Object(u.a)(n,t);var e=Object(c.a)(n);function n(t,r){var i;if(Object(m.a)(this,n),(i=e.call(this)).key=void 0,i.animation=new B,i.queue=void 0,i.defaultProps={},i._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},i._pendingCalls=new Set,i._lastCallId=0,i._lastToId=0,i._memoizedDuration=0,!v.s.und(t)||!v.s.und(r)){var a=v.s.obj(t)?w({},t):w({},r,{from:t});v.s.und(a.default)&&(a.default=!0),i.start(a)}return i}return Object(l.a)(n,[{key:"idle",get:function(){return!(tt(this)||this._state.asyncTo)||et(this)}},{key:"goal",get:function(){return Object(v.q)(this.animation.to)}},{key:"velocity",get:function(){var t=Object(b.e)(this);return t instanceof b.c?t.lastVelocity||0:t.getPayload().map((function(t){return t.lastVelocity||0}))}},{key:"hasAnimated",get:function(){return J(this)}},{key:"isAnimating",get:function(){return tt(this)}},{key:"isPaused",get:function(){return et(this)}},{key:"advance",value:function(t){var e=this,n=!0,r=!1,i=this.animation,a=i.config,o=i.toValues,s=Object(b.g)(i.to);!s&&Object(v.r)(i.to)&&(o=Object(v.y)(Object(v.q)(i.to))),i.values.forEac
2h((function(l,u){if(!l.done){var c=l.constructor==b.b?1:s?s[u].lastPosition:o[u],h=i.immediate,f=c;if(!h){if(f=l.lastPosition,a.tension<=0)return void(l.done=!0);var p,d=l.elapsedTime+=t,m=i.fromValues[u],y=null!=l.v0?l.v0:l.v0=v.s.arr(a.velocity)?a.velocity[u]:a.velocity;if(v.s.und(a.duration))if(a.decay){var g=!0===a.decay?.998:a.decay,w=Math.exp(-(1-g)*d);f=m+y/(1-g)*(1-w),h=Math.abs(l.lastPosition-f)<.1,p=y*w}else{p=null==l.lastVelocity?y:l.lastVelocity;for(var x=a.precision||(m==c?.005:Math.min(1,.001*Math.abs(c-m))),k=a.restVelocity||x/10,E=a.clamp?0:a.bounce,P=!v.s.und(E),S=m==c?l.v0>0:m<c,_=Math.ceil(t/1),C=0;C<_&&(Math.abs(p)>k||!(h=Math.abs(c-f)<=x));++C){P&&(f==c||f>c==S)&&(p=-p*E,f=c),f+=1*(p+=1*((1e-6*-a.tension*(f-c)+.001*-a.friction*p)/a.mass))}}else{var A=1;a.duration>0&&(e._memoizedDuration!==a.duration&&(e._memoizedDuration=a.duration,l.durationProgress>0&&(l.elapsedTime=a.duration*l.durationProgress,d=l.elapsedTime+=t)),A=(A=(a.progress||0)+d/e._memoizedDuration)>1?1:A<0?0:A,l.durationProgress=A),p=((f=m+a.easing(A)*(c-m))-l.lastPosition)/t,h=1==A}l.lastVelocity=p,Number.isNaN(f)&&(console.warn("Got NaN while animating:",e),h=!0)}s&&!s[u].done&&(h=!1),h?l.done=!0:n=!1,l.setValue(f,a.round)&&(r=!0)}}));var l=Object(b.e)(this),u=l.getValue();if(n){var c=Object(v.q)(i.to);u===c&&!r||a.decay?r&&a.decay&&this._onChange(u):(l.setValue(c),this._onChange(c)),this._stop()}else r&&this._onChange(u)}},{key:"set",value:function(t){var e=this;return v.w.batchedUpdates((function(){e._stop(),e._focus(t),e._set(t)})),this}},{key:"pause",value:function(){this._update({pause:!0})}},{key:"resume",value:function(){this._update({pause:!1})}},{key:"finish",value:function(){var t=this;if(tt(this)){var e=this.animation,n=e.to,r=e.config;v.w.batchedUpdates((function(){t._onStart(),r.decay||t._set(n,!1),t._stop()}))}return this}},{key:"update",value:function(t){return(this.queue||(this.queue=[])).push(t),this}},{key:"start",value:function(t,e){var n,r=this;return v.s.und(t)?(n=this.queue||[],this.queue=[]):n=[v.s.obj(t)?t:w({},e,{to:t})],Promise.all(n.map((function(t){return r._update(t)}))).then((function(t){return N(r,t)}))}},{key:"stop",value:function(t){var e=this,n=this.animation.to;return this._focus(this.get()),W(this._state,t&&this._lastCallId),v.w.batchedUpdates((function(){return e._stop(n,t)})),this}},{key:"reset",value:function(){this._update({reset:!0})}},{key:"eventObserved",value:function(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}},{key:"_prepareNode",value:function(t){var e=this.key||"",n=t.to,r=t.from;(null==(n=v.s.obj(n)?n[e]:n)||I(n))&&(n=void 0),null==(r=v.s.obj(r)?r[e]:r)&&(r=void 0);var i={to:n,from:r};if(!J(this)){if(t.reverse){var a=[r,n];n=a[0],r=a[1]}r=Object(v.q)(r),v.s.und(r)?Object(b.e)(this)||this._set(n):this._set(r)}return i}},{key:"_update",value:function(t,e){var n=this,r=w({},t),i=this.key,a=this.defaultProps;r.default&&Object.assign(a,_(r,(function(t,e){return/^on/.test(e)?E(t,i):t}
2))),ht(this,r,"onProps"),ft(this,"onProps",r,this);var o=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");var s=this._state;return z(++this._lastCallId,{key:i,props:r,defaultProps:a,state:s,actions:{pause:function(){et(n)||(rt(n,!0),Object(v.n)(s.pauseQueue),ft(n,"onPause",U(n,at(n,n.animation.to)),n))},resume:function(){et(n)&&(rt(n,!1),tt(n)&&n._resume(),Object(v.n)(s.resumeQueue),ft(n,"onResume",U(n,at(n,n.animation.to)),n))},start:this._merge.bind(this,o)}}).then((function(t){if(r.loop&&t.finished&&(!e||!t.noop)){var i=ot(r);if(i)return n._update(i,!0)}return t}))}},{key:"_merge",value:function(t,e,n){var r=this;if(e.cancel)return this.stop(!0),n(H(this));var i=!v.s.und(t.to),a=!v.s.und(t.from);if(i||a){if(!(e.callId>this._lastToId))return n(H(this));this._lastToId=e.callId}var o=this.key,s=this.defaultProps,l=this.animation,u=l.to,c=l.from,h=t.to,f=void 0===h?u:h,p=t.from,d=void 0===p?c:p;if(!a||i||e.default&&!v.s.und(f)||(f=d),e.reverse){var m=[d,f];f=m[0],d=m[1]}var y=!Object(v.u)(d,c);y&&(l.from=d),d=Object(v.q)(d);var g=!Object(v.u)(f,u);g&&this._focus(f);var E=I(e.to),P=l.config,S=P.decay,_=P.velocity;(i||a)&&(P.velocity=0),e.config&&!E&&function(t,e,n){for(var r in n&&(L(n=w({},n),e),e=w({},n,e)),L(t,e),Object.assign(t,e),R)null==t[r]&&(t[r]=R[r]);var i=t.mass,a=t.frequency,o=t.damping;v.s.und(a)||(a<.01&&(a=.01),o<0&&(o=0),t.tension=Math.pow(2*Math.PI/a,2)*i,t.friction=4*Math.PI*o*i/a)}(P,x(e.config,o),e.config!==s.config?x(s.config,o):void 0);var C=Object(b.e)(this);if(!C||v.s.und(f))return n(U(this,!0));var A=v.s.und(e.reset)?a&&!e.default:!v.s.und(d)&&k(e.reset,o),T=A?d:this.get(),M=O(f),D=v.s.num(M
2)||v.s.arr(M)||Object(v.t)(M),F=!E&&(!D||k(s.immediate||e.immediate,o));if(g){var j=Object(b.f)(f);if(j!==C.constructor){if(!F)throw Error("Cannot animate between ".concat(C.constructor.name," and ").concat(j.name,', as the "to" prop suggests'));C=this._set(M)}}var V=C.constructor,B=Object(v.r)(f),z=!1;if(!B){var N=A||!J(this)&&y;(g||N)&&(B=!(z=Object(v.u)(O(T),M))),(Object(v.u)(l.immediate,F)||F)&&Object(v.u)(P.decay,S)&&Object(v.u)(P.velocity,_)||(B=!0)}if(z&&tt(this)&&(l.changed&&!A?B=!0:B||this._stop(u)),!E&&((B||Object(v.r)(u))&&(l.values=C.getPayload(),l.toValues=Object(v.r)(f)?null:V==b.b?[1]:Object(v.y)(M)),l.immediate!=F&&(l.immediate=F,F||A||this._set(u)),B)){var W=l.onRest;Object(v.k)(ct,(function(t){return ht(r,e,t)}));var $=U(this,at(this,u));Object(v.n)(this._pendingCalls,$),this._pendingCalls.add(n),l.changed&&v.w.batchedUpdates((function(){l.changed=!A,null==W||W($,r),A?x(s.onRest,$):null==l.onStart||l.onStart($,r)}))}A&&this._set(T),E?n(q(e.to,e,this._state,this)):B?this._start():tt(this)&&!g?this._pendingCalls.add(n):n(G(T))}},{key:"_focus",value:function(t){var e=this.animation;t!==e.to&&(Object(v.p)(this)&&this._detach(),e.to=t,Object(v.p)(this)&&this._attach())}},{key:"_attach",value:function(){var t=0,e=this.animation.to;Object(v.r)(e)&&(Object(v.c)(e,this),X(e)&&(t=e.priority+1)),this.priority=t}},{key:"_detach",value:function(){var t=this.animation.to;Object(v.r)(t)&&Object(v.x)(t,this)}},{key:"_set",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Object(v.q)(t);if(!v.s.und(r)){var i=Object(b.e)(this);if(!i||!Object(v.u)(r,i.getValue())){var a=Object(b.f)(r);i&&i.constructor==a?i.setValue(r):Object(b.h)(this,a.create(r)),i&&v.w.batchedUpdates((function(){e._onChange(r,n)}))}}return Object(b.e)(this)}},{key:"_onStart",value:function(){var t=this.animation;t.changed||(t.changed=!0,ft(this,"onStart",U(this,at(this,t.to)),this))}},{key:"_onChange",value:function(t,e){e||(this._onStart(),x(this.animation.onChange,t,this)),x(this.defaultProps.onChange,t,this),Object(o.a)(Object(s.a)(n.prototype),"_onChange",this).call(this,t,e)}},{key:"_start",value:function(){var t=this.animation;Object(b.e)(this).reset(Object(v.q)(t.to)),t.immediate||(t.fromValues=t.values.map((function(t){return t.lastPosition}))),tt(this)||(nt(this,!0),et(this)||this._resume())}},{key:"_resume",value:function(){v.b.skipAnimation?this.finish():v.o.start(this)}},{key:"_stop",value:function(t,e){if(tt(this)){nt(this,!1);var n=this.animation;Object(v.k)(n.values,(function(t){t.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(v.d)(this,{type:"idle",parent:this});var r=e?H(this.get()):U(this.get(),at(this,null!=t?t:n.to));Object(v.n)(this._pendingCalls,r),n.changed&&(n.changed=!1,ft(this,"onRest",r,this))}}}]),n}(Q);function at(t,e){var n=O(e),r=O(t.get());return Object(v.u)(r,n)}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.loop,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.to,r=x(e);if(r){var i=!0!==r&&T(r),a=(i||t).reverse,o=!i||i.reset;return st(w({},t,{loop:e,default:!1,pause:void 0,to:!a||I(n)?n:void 0,from:o?t.from:void 0,reset:o},i))}}function st(t){var e=t=T(t),n=e.to,r=e.from,i=new Set;return v.s.obj(n)&&ut(n,i),v.s.obj(r)&&ut(r,i),t.keys=i.size?Array.from(i):null,t}function lt(t){var e=st(t);return v.s.und(e.default)&&(e.default=_(e)),e}function ut(t,e){Object(v.l)(t,(function(t,n){return null!=t&&e.add(n)}))}var ct=["onStart","onRest","onChange","onPause","onResume"];function ht(t,e,n){t.animation[n]=e[n]!==P(e,n)?E(e[n],t.key):void 0}function ft(t,e){for(var n,r,i,a,o,s,l=arguments.length,u=new Array(l>2?l-2:0),c=2;c<l;c++)u[c-2]=arguments[c];null==(i=(a=t.animation)[e])||(n=i).call.apply(n,[a].concat(u)),null==(o=(s=t.defaultProps)[e])||(r=o).call.apply(r,[s].concat(u))}var pt=["onStart","onChange","onRest"],dt=1,mt=function(){function t(e,n){Object(m.a)(this,t),this.id=dt++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),e&&this.start(w({default:!0},e))}return Object(l.a)(t,[{key:"idle",get:function(){return!this._state.asyncTo&&Object.values(this.springs).every((function(t){return t.idle}))}},{key:"item",get:function(){return this._item},set:function(t){this._item=t}},{key:"get",value:function(){var t={};return this.each((function(e,n){return t[n]=e.get()})),t}}
2,{key:"set",value:function(t){for(var e in t){var n=t[e];v.s.und(n)||this.springs[e].set(n)}}},{key:"update",value:function(t){return t&&this.queue.push(st(t)),this}},{key:"start",value:function(t){var e=this.queue;return t?e=Object(v.y)(t).map(st):this.queue=[],this._flush?this._flush(this,e):(Et(this,e),yt(this,e))}},{key:"stop",value:function(t,e){if(t!==!!t&&(e=t),e){var n=this.springs;Object(v.k)(Object(v.y)(e),(function(e){return n[e].stop(!!t)}))}else W(this._state,this._lastAsyncId),this.each((function(e){return e.stop(!!t)}));return this}},{key:"pause",value:function(t){if(v.s.und(t))this.start({pause:!0});else{var e=this.springs;Object(v.k)(Object(v.y)(t),(function(t){return e[t].pause()}))}return this}},{key:"resume",value:function(t){if(v.s.und(t))this.start({pause:!1});else{var e=this.springs;Object(v.k)(Object(v.y)(t),(function(t){return e[t].resume()}))}return this}},{key:"each",value:function(t){Object(v.l)(this.springs,t)}},{key:"_onFrame",value:function(){var t=this,e=this._events,n=e.onStart,r=e.onChange,i=e.onRest,o=this._active.size>0,s=this._changed.size>0;(o&&!this._started||s&&!this._started)&&(this._started=!0,Object(v.m)(n,(function(e){var n=Object(a.a)(e,2),r=n[0],i=n[1];i.value=t.get(),r(i,t,t._item)})));var l=!o&&this._started,u=s||l&&i.size?this.get():null;s&&r.size&&Object(v.m)(r,(function(e){var n=Object(a.a)(e,2),r=n[0],i=n[1];i.value=u,r(i,t,t._item)})),l&&(this._started=!1,Object(v.m)(i,(function(e){var n=Object(a.a)(e,2),r=n[0],i=n[1];i.value=u,r(i,t,t._item)})))}},{key:"eventObserved",value:function(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}v.w.onFrame(this._onFrame)}}]),t}();function yt(t,e){return Promise.all(e.map((function(e){return vt(t,e)}))).then((function(e){return N(t,e)}))}function vt(t,e,n){return gt.apply(this,arguments)}function gt(){return(gt=Object(d.a)(p.a.mark((function t(e,n,r){var i,a,o,s,l,u,c,h,f,d,m,y,g;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.keys,a=n.to,o=n.from,s=n.loop,l=n.onRest,u=n.onResolve,c=v.s.obj(n.default)&&n.default,s&&(n.loop=!1),!1===a&&(n.to=null),!1===o&&(n.from=null),(h=v.s.arr(a)||v.s.fun(a)?a:void 0)?(n.to=void 0,n.onRest=void 0,c&&(c.onRest=void 0)):Object(v.k)(pt,(function(t){var r=n[t];if(v.s.fun(r)){var i=e._events[t];n[t]=function(t){var e=t.finished,n=t.cancelled,a=i.get(r);a?(e||(a.finished=!1),n&&(a.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:n||!1})},c&&(c[t]=n[t])}})),f=e._state,n.pause===!f.paused?(f.paused=n.pause,Object(v.n)(n.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(n.pause=!0),d=(i||Object.keys(e.springs)).map((function(t){return e.springs[t].start(n)})),m=!0===n.cancel||!0===P(n,"cancel"),(h||m&&f.asyncId)&&d.push(z(++e._lastAsyncId,{props:n,state:f,actions:{pause:v.v,resume:v.v,start:function(t,n){m?(W(f,e._lastAsyncId),n(H(e))):(t.onRest=l,n(q(h,t,f,e)))}}})),!f.paused){t.next=15;break}return t.next=15,new Promise((function(t){f.resumeQueue.add(t)}));case 15:return t.t0=N,t.t1=e,t.next=19,Promise.all(d);case 19:if(t.t2=t.sent,y=(0,t.t0)(t.t1,t.t2),!s||!y.finished||r&&y.noop){t.next=26;break}if(!(g=ot(n,s,a))){t.next=26;break}return Et(e,[g]),t.abrupt("return",vt(e,g,!0));case 26:return u&&v.w.batchedUpdates((function(){return u(y,e,e.item)})),t.abrupt("return",y);case 28:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function bt(t,e){var n=w({},t.springs);return e&&Object(v.k)(Object(v.y)(e),(function(t){v.s.und(t.keys)&&(t=st(t)),v.s.obj(t.to)||(t=w({},t,{to:void 0})),kt(n,t,(function(t){return xt(t)}))})),wt(t,n),n}function wt(t,e){Object(v.l)(e,(function(e,n){t.springs[n]||(t.springs[n]=e,Object(v.c)(e,t))}))}function xt(t,e){var n=new it;return n.key=t,e&&Object(v.c)(n,e),n}function kt(t,e,n){e.keys&&Object(v.k)(e.keys,(function(r){(t[r]||(t[r]=n(r)))._prepareNode(e)}))}function Et(t,e){Object(v.k)(e,(function(e){kt(t.springs,e,(function(e){return xt(e,t)}))}))}function Pt(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}var St,_t,Ct=["children"],At=function(t){var e=t.children,n=Pt(t,Ct),r=Object(g.useContext)(Tt),i=n.pause||!!r.pause,a=n.immediate||!!r.immediate;n=Object(v.B)((function(){return{pause:i,immediate:a}}),[i,a]);var o=Tt.Provider;return g.createElement(o,{value:n},e)},Tt=(St=At,_t={},Object.assign(St,g.createContext(_t)),St.Provider._context=St,St.Consumer._context=St,St);At.Provider=Tt.Provider,At.Consumer=Tt.Consumer;var Ot=function(){var t=[],e=function(e){Object(v.i)();var r=[];return Object(v.k)(t,(function(t,i){if(v.s.und(e))r.push(t.start());else{var a=n(e,t,i);a&&r.push(t.start(a))}})),r};e.current=t,e.add=function(e){t.includes(e)||t.push(e)},e.delete=function(e){var n=t.indexOf(e);~n&&t.splice(n,1)},e.pause=function(){var e=arguments;return Object(v.k)(t,(function(t){return t.pause.apply(t,Object(i.a)(e))})),this},e.resume=function(){var e=arguments;return Object(v.k)(t,(function(t){return t.resume.apply(t,Object(i.a)(e))})),this},e.set=function(e){Object(v.k)(t,(function(t){return t.set(e)}))},e.start=function(e){var n=this,r=[];return Object(v.k)(t,(function(t,i){if(v.s.und(e))r.push(t.start());else{var a=n._getProps(e,t,i);a&&r.push(t.start(a))}})),r},e.stop=function(){var e=arguments;return Object(v.k)(t,(function(t){return t.stop.apply(t,Object(i.a)(e))})),this},e.update=function(e){var n=this;return Object(v.k)(t,(function(t,r){return t.update(n._getProps(e,t,r))})),this};var n=function(t,e,n){return v.s.fun(t)?t(n,e):t};return e._getProps=n,e};function Mt(t,e,n){var r=arguments,a=v.s.fun(e)&&e;a&&!n&&(n=[]);var o=Object(g.useMemo)((function(){return a||3==r.length?Ot():void 0}),[]),s=Object(g.useRef)(0),l=Object(v.z)(),u=Object(g.useMemo)((function(){return{ctrls:[],queue:[],flush:function(t,e){var n=bt(t,e);return s.current>0&&!u.queue.length&&!Object.keys(n).some((function(e){return!t.springs[e]}))?yt(t,e):new Promise((function(r){wt(t,n),u.queue.push((function(){r(yt(t,e))})),l()}))}}}),[]),c=Object(g.useRef)(Object(i.a)(u.ctrls)),h=[],f=Object(v.D)(t)||0;function p(t,n){for(var r=t;r<n;r++){var i=c.current[r]||(c.current[r]=new mt(null,u.flush)),o=a?a(r,i):e[r];o&&(h[r]=lt(o))}}Object(g.useMemo)((function(){Object(v.k)(c.current.slice(t,f),(function(t){D(t,o),t.stop(!0)})),c.current.length=t,p(f,t)}),[t]),Object(g.useMemo)((function(){p(0,Math.min(f,t))}),n);var d=c.current.map((function(t,e){return bt(t,h[e])})),m=Object(g.useContext)(At),y=Object(v.D)(m),b=m!==y&&M(m);Object(v.A)((function(){s.current++,u.ctrls=c.current;var t=u.queue;t.length&&(u.queue=[],Object(v.k)(t,(function(t){return t()}))),Object(v.k)(c.current,(function(t,e){null==o||o.add(t),b&&t.start({default:m});var n=h[e];n&&(F(t,n.ref),t.ref?t.queue.push(n):t.start(n))}))})),Object(v.C)((function(){return function(){Object(v.k)(u.ctrls,(function(t){return t.stop(!0)}))}}));var x=d.map((function(t){return w({},t)}));return o?[x,o]:x}function It(t,e){var n=v.s.fun(t),r=Mt(1,n?t:[t],n?e||[]:e),i=Object(a.a)(r,2),o=Object(a.a)(i[0],1
2),s=o[0],l=i[1];return n||2==arguments.length?[s,l]:s}var Dt;!function(t){t.MOUNT="mount",t.ENTER="enter",t.UPDATE="update",t.LEAVE="leave"}(Dt||(Dt={}));var Ft=function(t){Object(u.a)(n,t);var e=Object(c.a)(n);function n(t,a){var o;Object(m.a)(this,n),(o=e.call(this)).key=void 0,o.idle=!0,o.calc=void 0,o._active=new Set,o.source=t,o.calc=v.f.apply(void 0,Object(i.a)(a));var s=o._get(),l=Object(b.f)(s);return Object(b.h)(Object(r.a)(o),l.create(s)),o}return Object(l.a)(n,[{key:"advance",value:function(t){var e=this._get(),n=this.get();Object(v.u)(e,n)||(Object(b.e)(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&jt(this._active)&&Lt(this)}},{key:"_get",value:function(){var t=v.s.arr(this.source)?this.source.map(v.q):Object(v.y)(Object(v.q)(this.source));return this.calc.apply(this,Object(i.a)(t))}},{key:"_start",value:function(){var t=this;this.idle&&!jt(this._active)&&(this.idle=!1,Object(v.k)(Object(b.g)(this),(function(t){t.done=!1})),v.b.skipAnimation?(v.w.batchedUpdates((function(){return t.advance()})),Lt(this)):v.o.start(this))}},{key:"_attach",value:function(){var t=this,e=1;Object(v.k)(Object(v.y)(this.source),(function(n){Object(v.r)(n)&&Object(v.c)(n,t),X(n)&&(n.idle||t._active.add(n),e=Math.max(e,n.priority+1))})),this.priority=e,this._start()}},{key:"_detach",value:function(){var t=this;Object(v.k)(Object(v.y)(this.source),(function(e){Object(v.r)(e)&&Object(v.x)(e,t)})),this._active.clear(),Lt(this)}},{key:"eventObserved",value:function(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=Object(v.y)(this.source).reduce((function(t,e){return Math.max(t,(X(e)?e.priority:0)+1)}),0))}}]),n}(Q);function Rt(t){return!1!==t.idle}function jt(t){return!t.size||Array.from(t).every(Rt)}function Lt(t){t.idle||(t.idle=!0,Object(v.k)(Object(b.g)(t),(function(t){t.done=!0})),Object(v.d)(t,{type:"idle",parent:t}))}v.b.assign({createStringInterpolator:v.g,to:function(t,e){return new Ft(t,e)}});v.o.advance},function(t,e,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r={};!function t(e,n,r,i){var a=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL);function o(){}function s(t){var r=n.exports.Promise,i=void 0!==r?r:e.Promise;return"function"===typeof i?new i(t):(t(o,o),null)}var l=function(){var t,e,n=Math.floor(1e3/60),r={},i=0;return"function"===typeof requestAnimationFrame&&"function"===typeof cancelAnimationFrame?(t=function(t){var e=Math.random();return r[e]=requestAnimationFrame((function a(o){i===o||i+n-1<o?(i=o,delete r[e],t()):r[e]=requestAnimationFrame(a)})),e},e=function(t){r[t]&&cancelAnimationFrame(r[t])}):(t=function(t){return setTimeout(t,n)},e=function(t){return clearTimeout(t)}),{frame:t,cancel:e}}(),u=function(){var e,n,i={};return function(){if(e)return e;if(!r&&a){var o=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{e=new Worker(URL.createObjectURL(new Blob([o])))}catch(l){return void 0!==typeof console&&"function"===typeof console.warn&&console.warn("\ud83c\udf8a Could not load worker",l),null}!function(t){function e(e,n){t.postMessage({options:e||{},callback:n})}t.init=function(e){var n=e.transferControlToOffscreen();t.postMessage({canvas:n},[n])},t.fire=function(r,a,o){if(n)return e(r,null),n;var l=Math.random().toString(36).slice(2);return n=s((function(a){function s(e){e.data.callback===l&&(delete i[l],t.removeEventListener("message",s),n=null,o(),a())}t.addEventListener("message",s),e(r,l),i[l]=s.bind(null,{data:{callback:l}})}
vendor: 4,988 bytes, line 2
2))},t.reset=function(){for(var e in t.postMessage({reset:!0}),i)i[e](),delete i[e]}}(e)}return e}}(),c={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function h(t,e,n){return function(t,e){return e?e(t):t}(t&&(null!==(r=t[e])&&void 0!==r)?t[e]:c[e],n);var r}function f(t){return t<0?0:Math.floor(t)}function p(t){return parseInt(t,16)}function d(t){return t.map(m)}function m(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:p(e.substring(0,2)),g:p(e.substring(2,4)),b:p(e.substring(4,6))}}function y(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function v(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function g(t){var e=t.angle*(Math.PI/180),n=t.spread*(Math.PI/180);return{x:t.x,y:t.y,wobble:10*Math.random(),velocity:.5*t.startVelocity+Math.random()*t.startVelocity,angle2D:-e+(.5*n-Math.random()*n),tiltAngle:Math.random()*Math.PI,color:t.color,shape:t.shape,tick:0,totalTicks:t.ticks,decay:t.decay,drift:t.drift,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*t.gravity,ovalScalar:.6,scalar:t.scalar}}function b(t,e,n,a,o){var u,c,h=e.slice(),f=t.getContext("2d"),p=s((function(e){function s(){u=c=null,f.clearRect(0,0,a.width,a.height),o(),e()}u=l.frame((function e(){!r||a.width===i.width&&a.height===i.height||(a.width=t.width=i.width,a.height=t.height=i.height),a.width||a.height||(n(t),a.width=t.width,a.height=t.height),f.clearRect(0,0,a.width,a.height),(h=h.filter((function(t){return function(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.wobble+=.1,e.velocity*=e.decay,e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+5,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble);var n=e.tick++/e.totalTicks,r=e.x+e.random*e.tiltCos,i=e.y+e.random*e.tiltSin,a=e.wobbleX+e.random*e.tiltCos,o=e.wobbleY+e.random*e.tiltSin;return t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-n)+")",t.beginPath(),"circle"===e.shape?t.ellipse?t.ellipse(e.x,e.y,Math.abs(a-r)*e.ovalScalar,Math.abs(o-i)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):function(t,e,n,r,i,a,o,s,l){t.save(),t.translate(e,n),t.rotate(a),t.scale(r,i),t.arc(0,0,1,o,s,l),t.restore()}(t,e.x,e.y,Math.abs(a-r)*e.ovalScalar,Math.abs(o-i)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):(t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(i)),t.lineTo(Math.floor(a),Math.floor(o)),t.lineTo(Math.floor(r),Math.floor(e.wobbleY))),t.closePath(),t.fill(),e.tick<e.totalTicks}(f,t)}))).length?u=l.frame(e):s()})),c=s}));return{addFettis:function(t){return h=h.concat(t),p},canvas:t,promise:p,reset:function(){u&&l.cancel(u),c&&c()}}}function w(t,n){var r,i=!t,o=!!h(n||{},"resize"),l=h(n,"disableForReducedMotion",Boolean),c=a&&!!h(n||{},"useWorker")?u():null,p=i?y:v,m=!(!t||!c)&&!!t.__confetti_initialized,w="function"===typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function x(e,n,i){for(var a,o,s=h(e,"particleCount",f),l=h(e,"angle",Number),u=h(e,"spread",Number),c=h(e,"startVelocity",Number),m=h(e,"decay",Number),y=h(e,"gravity",Number),v=h(e,"drift",Number),w=h(e,"colors",d),x=h(e,"ticks",Number),k=h(e,"shapes"),E=h(e,"scalar"),P=function(t){var e=h(t,"origin",Object);return e.x=h(e,"x",Number),e.y=h(e,"y",Number),e}(e),S=s,_=[],C=t.width*P.x,A=t.height*P.y;S--;)_.push(g({x:C,y:A,angle:l,spread:u,startVelocity:c,color:w[S%w.length],shape:k[(a=0,o=k.length,Math.floor(Math.random()*(o-a))+a)],ticks:x,decay:m,gravity:y,drift:v,scalar:E}));return r?r.addFettis(_):(r=b(t,_,p,n,i)).promise}function k(n){var a=l||h(n,"disableForReducedMotion",Boolean),u=h(n,"zIndex",Number);if(a&&w)return s((function(t){t()}));i&&r?t=r.canvas:i&&!t&&(t=function(t){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=t,e}(u),document.body.appendChild(t)),o&&!m&&p(t);var f={width:t.width,height:t.height};function d(){if(c){var e={getBoundingClientRect:function(){if(!i)return t.getBoundingClientRect()}};return p(e),void c.postMessage({resize:{width:e.width,height:e.height}})}f.width=f.height=null}function y(){r=null,o&&e.removeEventListener("resize",d),i&&t&&(document.body.removeChild(t),t=null,m=!1)}return c&&!m&&c.init(t),m=!0,c&&(t.__confetti_initialized=!0),o&&e.addEventListener("resize",d,!1),c?c.fire(n,f,y):x(n,f,y)}return k.reset=function(){c&&c.reset(),r&&r.reset()},k}n.exports=w(null,{useWorker:!0,resize:!0}),n.exports.create=w}(function(){return"undefined"!==typeof window?window:"undefined"!==typeof self?self:this||{}}(),r,!1),e.a=r.exports;
2r.exports.create},,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,s,l=o(t),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var h=0;h<s.length;h++)a.call(n,s[h])&&(l[s[h]]=n[s[h]])}}return l}},function(t,e,n){var r=n(35);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(67)("keys"),i=n(53);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(21),i=n(27),a="__core-js_shared__",o=i[a]||(i[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(52)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports={}},function(t,e,n){var r=n(44),i=n(154),a=n(68),o=n(66)("IE_PROTO"),s=function(){},l=function(){var t,e=n(85)("iframe"),r=a.length;for(e.style.display="none",n(155).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[o]=t):n=l(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(31).f,i=n(32),a=n(38)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},function(t,e,n){e.f=n(38)},function(t,e,n){var r=n(27),i=n(21),a=n(52),o=n(73),s=n(31).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=a?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:o.f(t)})}},function(t,e,n){"use strict";(function(t){var r=n(4),i=n.n(r),a=n(16),o=n(22),s=n.n(o),l=1073741823,u="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{};function c(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter((function(e){return e!==t}))},get:function(){return t},set:function(n,r){t=n,e.forEach((function(e){return e(t,r)}))}}}var h=i.a.createContext||function(t,e){var n,i,o="__create-react-context-"+function(){var t="__global_unique_id__";return u[t]=(u[t]||0)+1}()+"__",h=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).emitter=c(e.props.value),e}Object(a.a)(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[o]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,i=t.value;((a=r)===(o=i)?0!==a||1/a===1/o:a!==a&&o!==o)?n=0:(n="function"===typeof e?e(r,i):l,0!==(n|=0)&&this.emitter.set(t.value,n))}var a,o},r.render=function(){return this.props.children},n}(r.Component);h.childContextTypes=((n={})[o]=s.a.object.isRequired,n);var f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!==((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}Object(a.a)(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=void 0===e||null===e?l:e},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=void 0===t||null===t?l:t},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(r.Component);return f.contextTypes=((i={})[o]=s.a.object,i),{Provider:h,Consumer:f}};e.a=h}).call(this,n(82))},function(t,e,n){var r=n(125);t.exports=p,t.exports.parse=a,t.exports.compile=function(t,e){return s(a(t,e),e)},t.exports.tokensToFunction=s,t.exports.tokensToRegExp=f;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(t,e){for(var n,r=[],a=0,o=0,s="",c=e&&e.delimiter||"/";null!=(n=i.exec(t));){var h=n[0],f=n[1],p=n.index;if(s+=t.slice(o,p),o=p+h.length,f)s+=f[1];else{var d=t[o],m=n[2],y=n[3],v=n[4],g=n[5],b=n[6],w=n[7];s&&(r.push(s),s="");var x=null!=m&&null!=d&&d!==m,k="+"===b||"*"===b,E="?"===b||"*"===b,P=n[2]||c,S=v||g;r.push({name:y||a++,prefix:m||"",delimiter:P,optional:E,repeat:k,partial:x,asterisk:!!w,pattern:S?u(S):w?".*":"[^"+l(P)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&r.push(s),r}function o(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function s(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",h(e)));return function(e,i){for(var a="",s=e||{},l=(i||{}).pretty?o:encodeURIComponent,u=0;u<t.length;u++){var c=t[u];
2if("string"!==typeof c){var h,f=s[c.name];if(null==f){if(c.optional){c.partial&&(a+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(h=l(f[p]),!n[u].test(h))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(h)+"`");a+=(0===p?c.prefix:c.delimiter)+h}}else{if(h=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[u].test(h))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+h+'"');a+=c.prefix+h}}else a+=c}return a}}function l(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function c(t,e){return t.keys=e,t}function h(t){return t&&t.sensitive?"":"i"}function f(t,e,n){r(e)||(n=e||n,e=[]);for(var i=(n=n||{}).strict,a=!1!==n.end,o="",s=0;s<t.length;s++){var u=t[s];if("string"===typeof u)o+=l(u);else{var f=l(u.prefix),p="(?:"+u.pattern+")";e.push(u),u.repeat&&(p+="(?:"+f+p+")*"),o+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var d=l(n.delimiter||"/"),m=o.slice(-d.length)===d;return i||(o=(m?o.slice(0,-d.length):o)+"(?:"+d+"(?=$))?"),o+=a?"$":i&&m?"":"(?="+d+"|$)",c(new RegExp("^"+o,h(n)),e)}function p(t,e,n){return r(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(t,e)}(t,e):r(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(p(t[i],e,n).source);return c(new RegExp("(?:"+r.join("|")+")",h(n)),e)}(t,e,n):function(t,e,n){return f(a(t,n),e,n)}(t,e,n)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return m}));var r=!1;if("undefined"!==typeof window){var i={get passive(){r=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var a="undefined"!==typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),o=[],s=!1,l=-1,u=void 0,c=void 0,h=function(t){return o.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))}))},f=function(t){var e=t||window.event;return!!h(e.target)||(e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1))},p=function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==u&&(document.body.style.overflow=u,u=void 0)},d=function(t,e){if(t){if(!o.some((function(e){return e.targetElement===t}))){var n={targetElement:t,options:e||{}};o=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(o),[n]),a?(t.ontouchstart=function(t){1===t.targetTouches.length&&(l=t.targetTouches[0].clientY)},t.ontouchmove=function(e){1===e.targetTouches.length&&function(t,e){var n=t.targetTouches[0].clientY-l;!h(t.target)&&(e&&0===e.scrollTop&&n>0||function(t){return!!t&&t.scrollHeight-t.scrollTop<=t.clientHeight}(e)&&n<0?f(t):t.stopPropagation())}(e,t)},s||(document.addEventListener("touchmove",f,r?{passive:!1}:void 0),s=!0)):function(t){if(void 0===c){var e=!!t&&!0===t.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;e&&n>0&&(c=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===u&&(u=document.body.style.overflow,document.body.style.overflow="hidden")}(e)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},m=function(t){t?(o=o.filter((function(e){return e.targetElement!==t})),a?(t.ontouchstart=null,t.ontouchmove=null,s&&0===o.length&&(document.removeEventListener("touchmove",f,r?{passive:!1}:void 0),s=!1)):o.length||p()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(42);function i(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=Object(r.a)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,a=function(){};return{s:a,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t}
2,f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(15),i=n(41);var a=n(58);function o(t,e,n){return(o=Object(a.a)()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var a=new(Function.bind.apply(t,r));return n&&Object(i.a)(a,n.prototype),a}).apply(null,arguments)}function s(t){var e="function"===typeof Map?new Map:void 0;return(s=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,a)}function a(){return o(t,arguments,Object(r.a)(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Object(i.a)(a,t)})(t)}},function(t,e){var n,r,i=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"===typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var l,u=[],c=!1,h=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&p())}function p(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++h<e;)l&&l[h].run();h=-1,e=u.length}l=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),1!==u.length||c||s(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(134);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){t.exports=!n(28)&&!n(36)((function(){return 7!=Object.defineProperty(n(85)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(35),i=n(27).document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){var r=n(32),i=n(37),a=n(136)(!1),o=n(66)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,u=[];for(n in s)n!=o&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~a(u,n)||u.push(n));return u}},function(t,e,n){var r=n(88);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(32),i=n(55),a=n(66)("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},function(t,e,n){"use strict";e.__esModule=!0;var r=o(n(149)),i=o(n(160)),a="function"===typeof i.default&&"symbol"===typeof r.default?function(t){return typeof t}:function(t){return t&&"function"===typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":typeof t};function o(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof i.default&&"symbol"===a(r.default)?function(t){return"undefined"===typeof t?"undefined":a(t)}:function(t){return t&&"function"===typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":"undefined"===typeof t?"undefined":a(t)}},function(t,e,n){"use strict";var r=n(52),i=n(30),a=n(92),o=n(34),s=n(70),l=n(153),u=n(72),c=n(89),h=n(38)("iterator"),f=!([].keys&&"next"in[].keys()),p="keys",d="values",m=function(){return this};t.exports=function(t,e,n,y,v,g,b){l(n,e,y);var w,x,k,E=function(t){if(!f&&t in C)return C[t];switch(t){case p:case d:return function(){return new n(this,t)}}return function(){return new n(this,t)}},P=e+" Iterator",S=v==d,_=!1,C=t.prototype,A=C[h]||C["@@iterator"]||v&&C[v],T=A||E(v),O=v?S?E("entr
2ies"):T:void 0,M="Array"==e&&C.entries||A;if(M&&(k=c(M.call(new t)))!==Object.prototype&&k.next&&(u(k,P,!0),r||"function"==typeof k[h]||o(k,h,m)),S&&A&&A.name!==d&&(_=!0,T=function(){return A.call(this)}),r&&!b||!f&&!_&&C[h]||o(C,h,T),s[e]=T,s[P]=m,v)if(w={values:S?T:E(d),keys:g?T:E(p),entries:O},b)for(x in w)x in C||a(C,x,w[x]);else i(i.P+i.F*(f||_),e,w);return w}},function(t,e,n){t.exports=n(34)},function(t,e,n){var r=n(86),i=n(68).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(54),i=n(50),a=n(37),o=n(63),s=n(32),l=n(84),u=Object.getOwnPropertyDescriptor;e.f=n(28)?u:function(t,e){if(t=a(t),e=o(e,!0),l)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(14);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var o=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),o.push(i(e)+"="+i(t))})))})),a=o.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(14),i=n(184),a={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s={adapter:function(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n(99)),t}(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(a)})),t.exports=s}).call(this,n(80))},function(t,e,n){"use strict";var r=n(14),i=n(185),a=n(187),o=n(96),s=n(188),l=n(191),u=n(192),c=n(100);t.exports=function(t){return new Promise((function(e,n){var h=t.data,f=t.headers;r.isFormData(h)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(d+":"+m)}var y=s(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),o(y,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,a),p=null}},p.onabort=function(){p&&(n(c("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(c("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(c(e,t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var v=(t.withCredentials||u(y))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(f[t.xsrfHeaderName]=v)}if("setRequestHeader"in p&&r.forEach(f,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)}
2)),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(g){if("json"!==t.responseType)throw g}"function"===typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),h||(h=null),p.send(h)}))}},function(t,e,n){"use strict";var r=n(186);t.exports=function(t,e,n,i,a){var o=new Error(t);return r(o,e,n,i,a)}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=l(void 0,e[t]))})),r.forEach(a,u),r.forEach(o,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=l(void 0,t[i])):n[i]=l(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=l(t[r],e[r]):r in t&&(n[r]=l(void 0,t[r]))}));var c=i.concat(a).concat(o).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===c.indexOf(t)}));return r.forEach(h,u),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(6),o=n.n(a),s=n(3),l=n.n(s),u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},p=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e},d=function(){function t(){c(this,t),this.list=[]}return h(t,[{key:"set",value:function(t,e){this.list.push({probability:t,target:e,a:0,b:1}),this.calculation()}},{key:"calculation",value:function(){for(var t=0,e=0;e<this.list.length;e++)t+=this.list[e].probability;for(var n=0;n<this.list.length;n++){var r=this.list[n],i=r.probability/t;r.a=0===n?0:this.list[n-1].b,r.b=r.a+i}}},{key:"getResult",value:function(){for(var t=Math.random(),e=0;e<this.list.length;e++){var n=this.list[e];if(t<=n.b&&t>n.a)return n.target}return this.list[0].target}}]),t}(),m=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n._iid=0,n._oid=0,n.size={width:0,height:0},n.canvasRef=i.a.createRef(),n}return f(e,t),h(e,[{key:"componentDidMount",value:function(){var t=this;this._oid=setTimeout((function(){t.initCanvas(),t.resize=t.resize.bind(t),window.addEventListener("resize",t.resize)}),100);var e=this.getCanvas();this.props.onCanvasDidMount&&this.props.onCanvasDidMount(e)}},{key:"initCanvas",value:function(){var t=this.getCanvas();this.props.globalCompositeOperation&&(t.getContext("2d").globalCompositeOperation=this.props.globalCompositeOperation);var e=this.setCanvasSize(t),n=e.width,r=e.height;this.heartbeatDetectionCanvasSize(t),this.props.onCanvasInited(t,n,r)}},{key:"getCanvas",value:function(){return this.canvasRef.current}},{key:"heartbeatDetectionCanvasSize",value:function(t){var e=this;this._iid=setInterval((function(){if(e.canvasRef.current&&e.canvasRef.current.clientHeight!==e.size.height){var n=e.setCanvasSize(t),r=n.width,i=n.height;e.props.onResize&&e.props.onResize(r,i)}}),100)}},{key:"componentWillUnmount",value:function(){try{window.removeEventListener("resize",this.resize),clearInterval(this._iid),clearTimeout(this._oid)}catch(t){}}},{key:"resize",value:function(){var t=this.getCanvas(),e=this.setCanvasSize(t),n=e.width,r=e.height;this.props.onResize&&this.props.onResize(n,r)}},{key:"setCanvasSize",value:function(t){var e=this.canvasRef.current.clientWidth,n=this.canvasRef.current.clientHeight;return this.size.width=e,this.size.height=n,t.width=e,t.height=n,{width:e,height:n}}},{key:"handleWaypointEnter",value:function(){o.a.start()}},{key:"handleWaypointLeave",value:function(){o.a.stop()}},{key:"getStyle",value:function(){var t=this.props.bg,e={width:"100%",height:"100%"};return!0===t?e=Object.assign(e,{position:"absolute",zIndex:-1,top:0,left:0}):t&&"object"===("undefined"===typeof t?"undefined":u(t))&&(e=Object.assign(e,t)),e}},{key:"handleMouseDown",value:function(t){this.props.onMouseDown&&this.props.onMouseDown(t)}},{key:"render",value:function(){return i.a.createElement("canvas",{className:"particles-bg-canvas-self",ref:this.canvasRef,onMouseDown:this.handleMouseDown.bind(this),style:this.getStyle()})}}]),e}(i.a.Component);function y(t,e){var n=void 0;return t?"rgba("+(n=function(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:{}}(t)).r+","+n.g+","+n.b+", "+e+")":null}var v=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),this.createMiniEmitter(t),o.a.add(this.renderProton)}},{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onResize",value:function(){}},{key:"createProton",value:function(t,e,n){var r=this,i=t.getContext("2d");this.proton=new l.a;var a=new l.a.Emitter;a.rate=new l.a.Rate(this.props.num?new l.a.Span(this.props.num):new l.a.Span(4,9),new l.a.Span(.8,1.3)),a.addInitialize(new l.a.Mass(1)),a.addInitialize(new l.a.Radius(1,50)),a.addInitialize(new l.a.Life(5,6)),a.addInitialize(new l.a.Velocity(new l.a.Span(5,8),new l.a.Span(30,70),"polar")),a.addBehaviour(new l.a.Alpha(1,0)),a.addBehaviour(new l.a.Color(["#36aaf3","#fd769c","#94ff22","#ffa545","#ffffff"])),a.addBehaviour(new l.a.Scale(.7,1)),a.addBehaviour(new l.a.Gravity(3)),a.addBehaviour(new l.a.Collision(a)),a.addBehaviour(this.customDeadBehaviour(t)),a.addBehaviour(new l.a.CrossZone(new l.a.RectZone(0,0,t.width,t.height),"bound")),a.p.x=Math.min(500,Math.max(t.width/2-400,50)),a.p.y=t.height/2+50,a.emit(),this.proton.addEmitter(a);var o=new l.a.CanvasRenderer(t);
2o.onProtonUpdate=function(){i.fillStyle=y(r.props.color,.2)||"rgba(255, 255, 255, 0.2)",i.fillRect(0,0,t.width,t.height)},this.proton.addRenderer(o)}},{key:"customDeadBehaviour",value:function(t){var e=this;return{initialize:function(t){},applyBehaviour:function(n){n.p.y+n.radius>=t.height&&n.radius>9&&(e.miniEmitteing(n),n.dead=!0)}}}},{key:"createMiniEmitter",value:function(t){var e=new l.a.Emitter;e.rate=new l.a.Rate(new l.a.Span(3,6),new l.a.Span(1,2)),e.addInitialize(new l.a.Mass(1)),e.radiusInitialize=new l.a.Radius,e.addInitialize(e.radiusInitialize),e.addInitialize(new l.a.Life(.5,1)),e.addInitialize(new l.a.V(new l.a.Span(1.5,3),new l.a.Span(0,70,!0),"polar")),e.colorBehaviour=new l.a.Color("#ffffff"),e.addBehaviour(new l.a.Alpha(1,0)),e.addBehaviour(e.colorBehaviour),e.addBehaviour(new l.a.Gravity(4)),e.addBehaviour(new l.a.Collision(e)),e.addBehaviour(new l.a.CrossZone(new l.a.RectZone(0,0,t.width,t.height),"bound")),this.proton.addEmitter(e),this.miniEmitter=e}},{key:"miniEmitteing",value:function(t){var e=this.miniEmitter;e.radiusInitialize.reset(.05*t.radius,.2*t.radius),e.colorBehaviour.reset(t.color),e.p.x=t.p.x,e.p.y=t.p.y,e.emit("once")}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),g=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.colors=["#529B88","#CDD180","#FFFA32","#FB6255","#FB4A53","#FF4E50","#F9D423"],n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"onResize",value:function(){}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.rate=new l.a.Rate(this.props.num?new l.a.Span(this.props.num):new l.a.Span(5,8),new l.a.Span(.1,.25)),r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(20,200)),r.addInitialize(new l.a.Life(2,4)),r.addInitialize(new l.a.Position(new l.a.RectZone(0,0,e,n))),r.addBehaviour(new l.a.Alpha(0,1,1/0,l.a.easeOutCubic)),r.addBehaviour(new l.a.Scale(1,0,1/0,l.a.easeOutCubic)),r.addBehaviour(new l.a.Color(this.colors,"random")),r.emit(),this.proton.addEmitter(r);var i=new l.a.CanvasRenderer(t);this.proton.addRenderer(i)}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),b=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.colors=["#529B88","#CDD180","#FFFA32","#FB6255","#FB4A53","#FF4E50","#F9D423"],n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"onResize",value:function(t,e){this.crossZoneBehaviour.zone.width=t,this.crossZoneBehaviour.zone.height=e,this.proton.renderers[0].resize(t,e)}},{key:"getProp",value:function(t,e){var n=(this.props.config||{})[t]||e;return Array.isArray(n)?new l.a.Span(n[0],n[1]):n}},{key:"getArrProp",value:function(t,e){var n=(this.props.config||{})[t]||e;return n?Array.isArray(n)?n:[n,n]:null}},{key:"createProton",value:function(t,e,n){var r=this.getProp("num",[5,8]),i=this.getProp("rps",[.1,.2]),a=this.getProp("mass",1),o=this.getProp("radius",[10,30]),s=this.getProp("life",[2,3]),c=this.getProp("body"),h=this.getProp("position"),f=this.getProp("v",[2,3]),p=this.getProp("tha",[-15,15]),d=this.getArrProp("alpha"),m=this.getArrProp("scale"),y=this.getArrProp("color"),v=this.getProp("cross","dead"),g=this.getProp("random"),b=this.getArrProp("rotate"),w=this.getProp("g"),x=this.getArrProp("f"),k=this.getProp("emitter");this.proton=new l.a;var E=void 0;(E="follow"===k?new l.a.FollowEmitter:new l.a.Emitter).rate=new l.a.Rate(r,i),E.addInitialize(new l.a.Mass(a)),E.addInitialize(new l.a.Radius(o)),E.addInitialize(new l.a.Life(s)),E.addInitialize(new l.a.Velocity(f,p,"polar")),c&&E.addInitialize(new l.a.Body(c));var P=void 0;"all"===h||"screen"===h?P=new l.a.Position(new l.a.RectZone(0,0,t.width,t.height)):"object"===("undefined"===typeof h?"undefined":u(h))?P=new l.a.Position(new l.a.RectZone(h.x,h.y,h.width,h.height)):(E.p.x=t.width/2,E.p.y=t.height/2),E.addInitialize(P);
2var S=d?new l.a.Alpha(d[0],d[1]):new l.a.Alpha(0,1),_=m?new l.a.Scale(m[0],m[1]):new l.a.Scale(1,.2),C=y?new l.a.Color(y[0],y[1]):new l.a.Color(this.colors);E.addBehaviour(S),E.addBehaviour(_),c||E.addBehaviour(C),b&&(!0===b[0]||"rotate"===b[0]?E.addBehaviour(new l.a.Rotate):E.addBehaviour(new l.a.Rotate(b[0],b[1])));var A=new l.a.RectZone(0,0,t.width,t.height),T=new l.a.CrossZone(A,v);E.addBehaviour(T),g&&E.addBehaviour(new l.a.RandomDrift(g,g,.05)),w&&E.addBehaviour(new l.a.G(w)),x&&E.addBehaviour(new l.a.F(x[0],x[1])),E.emit(),this.proton.addEmitter(E);var O=this.createRenderer(t);this.proton.addRenderer(O),this.emitter=E,this.crossZoneBehaviour=T}},{key:"createRenderer",value:function(t){var e=t.width,n=t.height,r=t.getContext("2d"),i=new l.a.CanvasRenderer(t),a=this.getProp("onUpdate");a&&(i.onProtonUpdate=function(){a(r,e,n)});var o=this.getProp("onParticleCreated");o&&(i.onParticleCreated=function(t){o(r,t)});var s=this.getProp("onParticleUpdate");return s&&(i.onParticleUpdate=function(t){s(r,t)}),i}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"handleMouseDown",value:function(t){var e=this.getProp("onMouseDown");e&&e(t)}},{key:"render",value:function(){var t=this.props.globalCompositeOperation||this.props.operation||"source-over";return i.a.createElement(m,{bg:this.props.bg,onMouseDown:this.handleMouseDown.bind(this),globalCompositeOperation:t,onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),w=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"onCanvasDidMount",value:function(t){this.props.color&&(t.style.backgroundColor=this.props.color)}},{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"onResize",value:function(t,e){this.crossZoneBehaviour.zone.width=t,this.crossZoneBehaviour.zone.height=e,this.proton.renderers[0].resize(t,e)}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.damping=.008,r.rate=new l.a.Rate(this.props.num?this.props.num:250),r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(4)),r.addInitialize(new l.a.Velocity(new l.a.Span(1.5),new l.a.Span(0,360),"polar"));var i={x:e/2,y:n/2},a=new l.a.Attraction(i,0,0),o=new l.a.CrossZone(new l.a.RectZone(0,0,t.width,t.height),"cross");r.addBehaviour(new l.a.Color("random")),r.addBehaviour(a,o),r.addBehaviour(new l.a.RandomDrift(10,10,.05)),r.p.x=t.width/2,r.p.y=t.height/2,r.emit("once"),this.proton.addEmitter(r),this.proton.addRenderer(this.createRenderer(t)),this.crossZoneBehaviour=o}},{key:"createRenderer",value:function(t){var e=this,n=t.getContext("2d"),r=new l.a.CanvasRenderer(t);return r.onProtonUpdate=function(){n.fillStyle=y(e.props.color,.02)||"rgba(0, 0, 0, 0.02)",n.fillRect(0,0,t.width,t.height)},r.onParticleUpdate=function(t){n.beginPath(),n.strokeStyle=t.color,n.lineWidth=1,n.moveTo(t.old.p.x,t.old.p.y),n.lineTo(t.p.x,t.p.y),n.closePath(),n.stroke()},r}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),x=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.hue=0,n.index=0,n.colorTemplate="hsla(hue,80%,50%, 0.75)",n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"onCanvasDidMount",value:function(t){this.props.color&&(t.style.backgroundColor=this.props.color)}},{key:"onCanvasInited",value:function(t,e,n){this.canvas=t,this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"onResize",value:function(t,e){this.crossZoneBehaviour.zone.width=t,this.crossZoneBehaviour.zone.height=e,this.proton.renderers[0].resize(t,e)}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.damping=.008,r.rate=new l.a.Rate(this.props.num?this.props.num:150),r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(8)),r.addInitialize(new l.a.V(new l.a.Span(.1,.5),new l.a.Span(0,360),"polar")),r.addInitialize(new l.a.Position(new l.a.CircleZone(t.width/2,t.height/2,100)));var i=new l.a.CrossZone(new l.a.RectZone(0,0,t.width,t.height),"cross");r.addBehaviour(i),this.repulsion=new l.a.Repulsion({x:t.width/2,y:t.height/2-100},3,300),this.attraction=new l.a.Attraction({x:t.width/2,y:t.height/2},3,200),r.addBehaviour(this.attraction,this.repulsion),r.addBehaviour(new l.a.Color("random")),r.addBehaviour(new l.a.RandomDrift(20,15,.15)),r.emit("once"),this.proton.addEmitter(r),this.proton.addRenderer(this.createRenderer(t)),this.crossZoneBehaviour=i}},{key:"createRenderer",value:function(t){var e=this,n=t.getContext("2d"),r=new l.a.CanvasRenderer(t);
2return r.onProtonUpdate=function(){e.hue+=1,n.fillStyle=y(e.props.color,.02)||"rgba(0, 0, 0, 0.02)",n.fillRect(0,0,t.width,t.height)},r.onParticleCreated=function(t){t.data.begin=l.a.MathUtil.randomAToB(1,120),t.data.tha=l.a.MathUtil.randomAToB(0,2*Math.PI)},r.onParticleUpdate=function(t){var r=t.data.begin+e.hue;t.color=e.colorTemplate.replace("hue",r%360);var i=.25*t.radius*Math.cos(t.data.tha+=.01)+.75*t.radius;n.beginPath(),n.fillStyle=t.color,n.arc(t.p.x,t.p.y,i,0,2*Math.PI,!0),n.closePath(),n.fill()},r}},{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"renderProton",value:function(){var t=this.canvas;this.proton.update(),this.index%200===0&&(this.attraction.targetPosition.x=Math.random()*t.width,this.attraction.targetPosition.y=Math.random()*t.height,this.repulsion.targetPosition.x=Math.random()*t.width,this.repulsion.targetPosition.y=Math.random()*t.height),this.index++}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),k=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.colors=["#fad390","#81ecec","#ffffff","#badc58","#f9ca24","#FEA47F"],n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onCanvasDidMount",value:function(t){}},{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"onResize",value:function(t,e){this.crossZoneBehaviour.zone.width=t+300,this.crossZoneBehaviour.zone.height=e+300,this.proton.renderers[0].resize(t,e)}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.rate=new l.a.Rate(this.props.num?this.props.num:50),r.damping=0,r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(4,70)),r.addInitialize(new l.a.Velocity(new l.a.Span(2,10),new l.a.Span(0),"polar")),r.addInitialize(new l.a.Position(new l.a.LineZone(0,t.height,t.width,t.height)));var i=new l.a.CrossZone(new l.a.RectZone(-150,-150,t.width+300,t.height+300),"cross");r.addBehaviour(i),r.addBehaviour(new l.a.Alpha(l.a.getSpan(.1,.55))),r.addBehaviour(new l.a.Color(this.colors)),r.emit("once"),this.proton.addEmitter(r);var a=this.createRenderer(t);this.proton.addRenderer(a),this.crossZoneBehaviour=i,r.preEmit(2)}},{key:"createRenderer",value:function(t){var e=t.getContext("2d"),n=new l.a.CustomRenderer;
2return n.onProtonUpdate=function(){e.clearRect(0,0,t.width,t.height)},n.onParticleCreated=function(t){var e=t.radius||60,n=l.a.MathUtil.randomAToB(100,200,"int");t.data.w=e,t.data.h=n},n.onParticleUpdate=function(t){var n=t.data.w,r=t.data.h;e.save(),e.globalAlpha=t.alpha,e.fillStyle=t.color,e.translate(t.p.x,t.p.y),e.rotate(l.a.MathUtil.degreeTransform(t.rotation)),e.translate(-t.p.x,-t.p.y),e.beginPath(),e.rect(t.p.x-n/2,t.p.y-r/2,n,r),e.closePath(),e.fill(),e.globalAlpha=1,e.restore()},n}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"lighter",onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),E=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onResize",value:function(t,e){this.crossZoneBehaviour.zone.width=t,this.crossZoneBehaviour.zone.height=e,this.proton.renderers[0].resize(t,e)}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.rate=new l.a.Rate(this.props.num?new l.a.Span(this.props.num):new l.a.Span(100),new l.a.Span(.05,.2)),r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(1,4)),r.addInitialize(new l.a.Life(1/0));var i=new l.a.Position(new l.a.RectZone(0,0,e,n));r.addInitialize(i),r.addInitialize(new l.a.Velocity(new l.a.Span(.3,.6),new l.a.Span(0,360),"polar")),r.addBehaviour(new l.a.Alpha(l.a.getSpan(.2,.9))),r.addBehaviour(new l.a.Color(this.props.color||"#333")),this.crossZoneBehaviour=new l.a.CrossZone(new l.a.RectZone(0,0,e,n),"cross"),r.addBehaviour(this.crossZoneBehaviour),r.emit("once"),r.damping=0,this.proton.addEmitter(r),this.proton.addRenderer(this.createRenderer(t,r))}},{key:"createRenderer",value:function(t,e){var n=this,r=t.getContext("2d"),i=new l.a.CanvasRenderer(t);
2return i.onProtonUpdateAfter=function(){for(var t=e.particles,i=0;i<t.length;i++)for(var a=i+1;a<t.length;a++){var o=t[i],s=t[a],l=o.p.distanceTo(s.p);if(l<140){var u=.5*(1-l/140);r.strokeStyle=y(n.props.color,u)||"rgba(3, 3, 3, "+u+")",r.beginPath(),r.moveTo(o.p.x,o.p.y),r.lineTo(s.p.x,s.p.y),r.closePath(),r.stroke()}}},i}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),P=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.colors=["#74b9ff","#e84393","#6c5ce7","#00b894","#fdcb6e","#006266","#1B1464"],n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"onResize",value:function(t,e){this.crossZoneBehaviour.zone.width=t,this.crossZoneBehaviour.zone.height=e,this.proton.renderers[0].resize(t,e)}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.rate=new l.a.Rate(this.props.num||20),r.damping=.008,r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(30,600)),r.addInitialize(new l.a.Velocity(new l.a.Span(.5),new l.a.Span(0,360),"polar")),r.addInitialize(new l.a.Position(new l.a.RectZone(0,0,t.width,t.height)));var i=new l.a.CrossZone(new l.a.RectZone(0,0,t.width,t.height),"cross");r.addBehaviour(i),r.addBehaviour(new l.a.Alpha(l.a.getSpan(.35,.55))),r.addBehaviour(new l.a.Color(this.getColor())),r.addBehaviour(new l.a.RandomDrift(50,50,.5)),r.emit("once"),this.proton.addEmitter(r);var a=new l.a.CanvasRenderer(t);this.proton.addRenderer(a),this.crossZoneBehaviour=i}},{key:"getColor",value:function(){var t=this.colors;return this.props.color&&(t=Array.isArray(this.props.color)?this.props.color:[this.props.color]),t}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"darken",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),S=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"onCanvasDidMount",value:function(t){}},{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),this.renderProton()}},{key:"onResize",value:function(t,e){this.crossZoneBehaviour.zone.width=t,this.crossZoneBehaviour.zone.height=e,this.proton.renderers[0].resize(t,e)}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.damping=.008,r.rate=new l.a.Rate(this.props.num?this.props.num:50),r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(5,9)),r.addInitialize(new l.a.Velocity(new l.a.Span(1.5),new l.a.Span(0,360),"polar")),r.addInitialize(new l.a.Position(new l.a.RectZone(0,0,e,n)));var i={x:e/2,y:n/2},a=new l.a.Attraction(i,0,0),o=new l.a.CrossZone(new l.a.RectZone(0,0,t.width,t.height),"bound");r.addBehaviour(new l.a.Color(this.props.color||"#bbb")),r.addBehaviour(a,o),r.addBehaviour(new l.a.RandomDrift(15,15,.05)),r.emit("once"),this.proton.addEmitter(r),this.proton.addRenderer(this.createRenderer(t)),this.crossZoneBehaviour=o}},{key:"createRenderer",value:function(t){var e=t.getContext("2d"),n=new l.a.CanvasRenderer(t);
2n.onProtonUpdate=function(){e.clearRect(0,0,t.width,t.height)},n.onParticleCreated=function(t){t.data.points=[],t.data.index=0},n.onParticleUpdate=function(t){a(t),t.data.index%8===0&&r(t),i(t),t.data.index++};var r=function(t){t.data.points.unshift(t.p.y),t.data.points.unshift(t.p.x),t.data.points.length>10&&(t.data.points.pop(),t.data.points.pop())},i=function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.p.x,t.p.y,t.radius,0,2*Math.PI,!0),e.closePath(),e.fill()},a=function(t){e.beginPath(),e.strokeStyle=t.color,e.moveTo(t.p.x,t.p.y);for(var n=t.data.points.length,r=0;r<n;r+=2){var i=t.data.points[r],a=t.data.points[r+1];e.lineWidth=o(r,n),e.lineTo(i,a),e.stroke()}},o=function(t,e){if(e<=2)return 1;var n=5/(2/e-1),r=n*((t+2)/e)+(1-n);return r>>=0};return n}},{key:"renderProton",value:function(){var t=this;o.a.add((function(){t.proton.update()}))}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),_=["#f6b93b","#18dcff","#cd84f1","#ED4C67","#ffffff","#b71540","#32ff7e","#ff3838"],C=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"onCanvasInited",value:function(t,e,n){this.createProton(t),this.createEmitter({canvas:t,x:e/2,y:n/2,mainEmitter:!0,zone:"bound"}),o.a.add(this.renderProton)}},{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onResize",value:function(){}},{key:"createProton",value:function(t){this.proton=new l.a;var e=this.createRenderer(t);this.proton.addRenderer(e)}},{key:"createRenderer",value:function(t){var e=t.getContext("2d"),n=new l.a.CustomRenderer;
2n.onProtonUpdate=function(){e.clearRect(0,0,t.width,t.height)},n.onParticleCreated=function(t){t.data.count=l.a.MathUtil.randomAToB(3,10,!0)},n.onParticleUpdate=function(t){e.save(),e.globalAlpha=t.alpha,e.fillStyle=t.color,e.translate(t.p.x,t.p.y),e.rotate(l.a.MathUtil.degreeTransform(t.rotation)),e.translate(-t.p.x,-t.p.y),e.beginPath(),r(t,t.data.count),e.closePath(),e.fill(),e.globalAlpha=1,e.restore()},n.onParticleDead=function(t){};var r=function(t,n){if(n>=7)e.arc(t.p.x,t.p.y,t.radius,0,2*Math.PI,!0);else for(var r=t.radius,i=0;i<=n;i++){var a=t.p.x+r*Math.cos(Math.PI/180*360/n*i),o=t.p.y+r*Math.sin(Math.PI/180*360/n*i);0===i?e.moveTo(a,o):e.lineTo(a,o)}};return n}},{key:"createEmitter",value:function(t){var e=t.mainEmitter,n=t.canvas,r=t.x,i=t.y,a=t.radius,o=t.color,s=void 0===o?_:o,u=t.zone,c=void 0===u?"dead":u,h=t.once,f=void 0===h?"all":h,p=t.alpha,d=void 0===p?.85:p,m=t.gravity,y=void 0===m?3.5:m,v=this.proton.pool.get(l.a.Emitter);if(!v.completed){v.rate=new l.a.Rate(this.props.num?new l.a.Span(this.props.num):new l.a.Span(4,9),new l.a.Span(1.6,2.2));var g=e?new l.a.Radius(10,110):new l.a.Radius(3,a);v.addInitialize(new l.a.Mass(1)),v.addInitialize(g),v.addInitialize(new l.a.Life(3,6)),v.addInitialize(new l.a.Velocity(new l.a.Span(4,6),new l.a.Span(-90,90),"polar")),v.addBehaviour(new l.a.Alpha(d,.2)),v.addBehaviour(new l.a.Color(s)),v.addBehaviour(new l.a.Scale(1,.3)),v.addBehaviour(new l.a.Rotate),v.addBehaviour(new l.a.Gravity(y)),v.addBehaviour(this.customDeadBehaviour(n)),v.addBehaviour(new l.a.CrossZone(new l.a.RectZone(0,0,n.width,n.height),c))}v.p.x=r,v.p.y=i,"once"===f?v.emit("once"):v.emit(),this.proton.addEmitter(v)}},{key:"expireEmitter",value:function(t){var e=this;setTimeout((function(){t.completed=!0,e.proton.pool.expire(t),e.proton.removeEmitter(t)}),500)}},{key:"customDeadBehaviour",value:function(t){var e=this;return{initialize:function(t){t.data=t.data||{},t.data.oldRadius=t.radius,t.data.emitterCount=0},applyBehaviour:function(n){n.radius<5||n.data.emitterCount>=2||n.radius<=1/3*n.data.oldRadius&&(n.data.emitterCount++,e.createEmitter({canvas:t,x:n.p.x,y:n.p.y,radius:.5*n.radius,alpha:.5,gravity:5,color:n.color,once:"once"}))}}}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),A=function(t){function e(t){c(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.colors=["#529B88","#CDD180","#FFFA32","#FB6255","#FB4A53","#FF4E50","#F9D423"],n.renderProton=n.renderProton.bind(n),n}return f(e,t),h(e,[{key:"componentWillUnmount",value:function(){try{o.a.remove(this.renderProton),this.proton.destroy()}catch(t){}}},{key:"onCanvasInited",value:function(t,e,n){this.createProton(t,e,n),o.a.add(this.renderProton)}},{key:"onResize",value:function(){}},{key:"createProton",value:function(t,e,n){this.proton=new l.a;var r=new l.a.Emitter;r.rate=new l.a.Rate(this.props.num?new l.a.Span(this.props.num):new l.a.Span(4,8),new l.a.Span(.1,.25)),r.addInitialize(new l.a.Mass(1)),r.addInitialize(new l.a.Radius(20,200)),r.addInitialize(new l.a.Life(2,4)),r.addInitialize(new l.a.Velocity(new l.a.Span(4,7),new l.a.Span(0,360),"polar")),r.addInitialize(new l.a.Position(new l.a.CircleZone(e/2,n/2,100))),r.addBehaviour(new l.a.Alpha(1,0)),r.addBehaviour(new l.a.Scale(.2,1)),r.addBehaviour(this.createCustomBehaviour()),r.addBehaviour(new l.a.Color(this.colors,"random")),r.emit(),this.proton.addEmitter(r);var i=new l.a.CanvasRenderer(t);this.proton.addRenderer(i)}},{key:"createCustomBehaviour",value:function(){return{initialize:function(t){t.f=new l.a.Vector2D(0,0)},applyBehaviour:function(t){var e=t.v.length()/1e3,n=t.v.getGradient();n+=1.57,t.f.x=1e3*e*Math.cos(n),t.f.y=1e3*e*Math.sin(n),t.a.add(t.f)}}}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return i.a.createElement(m,{bg:this.props.bg,globalCompositeOperation:"xor",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(i.a.Component),T=function(t){function e(t){return c(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return f(e,t),h(e,[{key:"getRandom",value:function(){var t=this.props,e=t.num,n=t.bg,r=t.color;return this.random||(this.random=new d,this.random.set(.25,i.a.createElement(g,{num:e,bg:n,color:r})),this.random.set(.2,i.a.createElement(v,{num:e,bg:n,color:r})),this.random.set(.2,i.a.createElement(w,{num:e,bg:n,color:r})),this.random.set(.16,i.a.createElement(x,{num:e,bg:n,color:r})),this.random.set(.18,i.a.createElement(P,{num:e,bg:n,color:r})),this.random.set(.04,i.a.createElement(E,{num:e,bg:n,color:r})),this.random.set(.1,i.a.createElement(C,{num:e,bg:n,color:r})),this.random.set(.08,i.a.createElement(k,{num:e,bg:n,color:r})),this.random.set(.18,i.a.createElement(S,{num:e,bg:n,color:r})),this.random.set(.15,i.a.createElement(A,{num:e,bg:n,color:r}))),this.random.getResult()}},{key:"getBgParticles",value:function(){var t=this.props,e=t.type,n=t.num,r=t.bg,a=t.color,o=t.config,s=void 0;switch(String(e).toLowerCase()){case"color":s=i.a.createElement(g,{num:n,bg:r,color:a});break;case"ball":s=i.a.createElement(v,{num:n,bg:r,color:a});break;case"lines":s=i.a.createElement(w,{num:n,bg:r,color:a});break;case"thick":s=i.a.createElement(x,{num:n,bg:r,color:a});break;case"circle":s=i.a.createElement(P,{num:n,bg:r,color:a});break;case"cobweb":s=i.a.createElement(E,{num:n,bg:r,color:a});break;case"polygon":s=i.a.createElement(C,{num:n,bg:r,color:a});break;case"square":s=i.a.createElement(k,{num:n,bg:r,color:a});break;case"tadpole":s=i.a.createElement(S,{num:n,bg:r,color:a});break;case"fountain":s=i.a.createElement(A,{num:n,bg:r,color:a});break;
2case"custom":s=i.a.createElement(b,{bg:r,config:o});break;case"random":s=this.getRandom(n);break;default:s=i.a.createElement(g,{num:n,bg:r,color:a})}return s}},{key:"render",value:function(){var t=this.getBgParticles();return i.a.createElement(i.a.Fragment,null,t)}}]),e}(r.Component);e.a=T},function(t,e){},function(t,e){},function(t,e,n){"use strict";var r=n(128),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return r.isMemo(t)?o:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(d){var i=p(n);i&&i!==d&&t(e,i,r)}var o=c(n);h&&(o=o.concat(h(n)));for(var s=l(e),m=l(n),y=0;y<o.length;++y){var v=o[y];if(!a[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var g=f(n,v);try{u(e,v,g)}catch(b){}}}}return e}},,,function(t,e,n){t.exports=n(179)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return S}));var r=n(4),i=n.n(r),a=n(40),o=n.n(a),s=n(29),l=n.n(s),u=n(77),c=n(116);function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var f=function(t){var e=t.classes,n=t.classNames,r=t.styles,a=t.id,o=t.closeIcon,s=t.onClick;return i.a.createElement("button",{id:a,className:l()(e.closeButton,null==n?void 0:n.closeButton),style:null==r?void 0:r.closeButton,onClick:s,"data-testid":"close-button"},o||i.a.createElement("svg",{className:null==n?void 0:n.closeIcon,style:null==r?void 0:r.closeIcon,width:28,height:28,viewBox:"0 0 36 36","data-testid":"close-icon"},i.a.createElement("path",{d:"M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z"})))},p="undefined"!==typeof window,d=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function m(t){return null===t.offsetParent||"hidden"===getComputedStyle(t).visibility}function y(t){if("INPUT"!==t.tagName||"radio"!==t.type||!t.name)return!0;var e=(t.form||t.ownerDocument).querySelectorAll('input[type="radio"][name="'+t.name+'"]'),n=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return n===t||void 0===n&&e[0]===t}function v(t){for(var e=document.activeElement,n=t.querySelectorAll(d.join(",")),r=[],i=0;i<n.length;i++){var a=n[i];(e===a||!a.disabled&&g(a)>-1&&!m(a)&&y(a))&&r.push(a)}return r}function g(t){var e=parseInt(t.getAttribute("tabindex"),10);return isNaN(e)?function(t){return t.getAttribute("contentEditable")}(t)?0:t.tabIndex:e}var b=function(t){var e=t.container,n=t.initialFocusRef,i=Object(r.useRef)();return Object(r.useEffect)((function(){var t=function(t){(null==e?void 0:e.current)&&function(t,e){if(t&&"Tab"===t.key){if(!e||!e.contains)return!1;if(!e.contains(t.target))return!1;var n=v(e),r=n[0],i=n[n.length-1];t.shiftKey&&t.target===r?(i.focus(),t.preventDefault()):!t.shiftKey&&t.target===i&&(r.focus(),t.preventDefault())}}(t,e.current)};if(p&&document.addEventListener("keydown",t),p&&(null==e?void 0:e.current)){var r=function(){-1!==d.findIndex((function(t){var e;return null==(e=document.activeElement)?void 0:e.matches(t)}))&&(i.current=document.activeElement)};if(n)r(),requestAnimationFrame((function(){var t;null==(t=n.current)||t.focus()}));else{var a=v(e.current);a[0]&&(r(),a[0].focus())}}return function(){var e;p&&(document.removeEventListener("keydown",t),null==(e=i.current)||e.focus())}}),[e,n]),null},w=[],x=function(t){w.push(t)},k=function(t){w=w.filter((function(e){return e!==t}))},E=function(t){return!!w.length&&w[w.length-1]===t};var P={root:"react-responsive-modal-root",overlay:"react-responsive-modal-overlay",overlayAnimationIn:"react-responsive-modal-overlay-in",overlayAnimationOut:"react-responsive-modal-overlay-out",modalContainer:"react-responsive-modal-container",modalContainerCenter:"react-responsive-modal-containerCenter",modal:"react-responsive-modal-modal",modalAnimationIn:"react-responsive-modal-modal-in",modalAnimationOut:"react-responsive-modal-modal-out",closeButton:"react-responsive-modal-closeButton"},S=i.a.forwardRef((function(t,e){var n,a,s,d,m=t.open,y=t.center,v=t.blockScroll,g=void 0===v||v,w=t.closeOnEsc,S=void 0===w||w,_=t.closeOnOverlayClick,C=void 0===_||_,A=t.container,T=t.showCloseIcon,O=void 0===T||T,M=t.closeIconId,I=t.closeIcon,D=t.focusTrapped,F=void 0===D||D,R=t.initialFocusRef,j=void 0===R?void 0:R,L=t.animationDuration,V=void 0===L?300:L,B=t.classNames,z=t.styles,N=t.role,G=void 0===N?"dialog":N,U=t.ariaDescribedby,H=t.ariaLabelledby,q=t.modalId,W=t.onClose,$=t.onEscKeyDown,Y=t.onOverlayClick,X=t.onAnimationEnd,Z=t.children,Q=t.reserveScrollBarGap,K=Object(c.a)(e),J=Object(r.useRef)(null),tt=Object(r.useRef)(null),et=Object(r.useRef)(null);null===et.current&&p&&(et.current=document.createElement("div"));var nt=Object(r.useState)(!1),rt=nt[0],it=nt[1];!function(t,e){Object(r.useEffect)((function(){return e&&x(t),function(){k(t)}}),[e,t])}(J,m),function(t,e,n,i,a){var o=Object(r.useRef)(null);Object(r.useEffect)((function(){return e&&t.current&&i&&(o.current=t.current,Object(u.a)(t.current,{reserveScrollBarGap:a})),function(){o.current&&(Object(u.b)(o.current),o.current=null)}}),[e,n,t,i,a])}(J,m,rt,g,Q);var at=function(t){27===t.keyCode&&E(J)&&(null==$||$(t),S&&W())};Object(r.useEffect)((function(){return function(){rt&&(et.current&&!A&&document.body.contains(et.current)&&document.body.removeChild(et.current),document.removeEventListener("keydown",at))}}),[rt]),Object(r.useEffect)((function(){m&&!rt&&(it(!0),!et.current||A||document.body.contains(et.current)||document.body.appendChild(et.current),document.addEventListener("keydown",at))}),[m]);var ot=function(){tt.current=!1},st=A||et.current,lt=m?null!=(n=null==B?void 0:B.overlayAnimationIn)?n:P.overlayAnimationIn:null!=(a=null==B?void 0:B.overlayAnimationOut)?a:P.overlayAnimationOut,ut=m?null!=(s=null==B?void 0:B.modalAnimationIn)?s:P.modalAnimationIn:null!=(d=null==B?void 0:B.modalAnimationOut)?d:P.modalAnimationOut;return rt&&st?o.a.createPortal(i.a.createElement("div",{className:l()(P.root,null==B?void 0:B.root),style:null==z?void 0:z.root,"data-testid":"root"},i.a.createElement("div",{className:l()(P.overlay,null==B?void 0:B.overlay),"data-testid":"overlay","aria-hidden":!0,style:h({animation:lt+" "+V+"ms"},null==z?void 0:z.overlay)}),i.a.createElement("div",{ref:J,className:l()(P.modalContainer,y&&P.modalContainerCenter,null==B?void 0:B.modalContainer),style:null==z?void 0:z.modalContainer,"data-testid":"modal-container",onClick:function(t){null===tt.current&&(tt.current=!0),tt.current?(null==Y||Y(t),C&&W(),tt.current=null):tt.current=null}},i.a.createElement("div",{ref:K,className:l()(P.modal,null==B?void 0:B.modal),style:h({animation:ut+" "+V+"ms"},null==z?void 0:z.modal),onMouseDown:ot,onMouseUp:ot,onClick:ot,onAnimationEnd:function(){m||it
2(!1),null==X||X()},id:q,role:G,"aria-modal":"true","aria-labelledby":H,"aria-describedby":U,"data-testid":"modal",tabIndex:-1},F&&i.a.createElement(b,{container:K,initialFocusRef:j}),Z,O&&i.a.createElement(f,{classes:P,classNames:B,styles:z,closeIcon:I,onClick:W,id:M})))),st):null}))}).call(this,n(80))},function(t,e,n){t.exports=function(t){"use strict";var e="default"in t?t.default:t;function n(t,e){return r(t)||i(t,e)||a(t,e)||s()}function r(t){if(Array.isArray(t))return t}function i(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(l){i=!0,a=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}function a(t,e){if(t){if("string"===typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,i=t.useRef();t.useEffect((function(){i.current=n}),[n]),t.useEffect((function(){if(r&&r.addEventListener){var t=function(t){return i.current(t)};return r.addEventListener(e,t),function(){r.removeEventListener(e,t)}}}),[e,r])}var u=function(){if("undefined"!=typeof navigator){var t=navigator.userAgent;return{info:t,Android:function(){return t.match(/Android/i)},BlackBerry:function(){return t.match(/BlackBerry/i)},IEMobile:function(){return t.match(/IEMobile/i)},iOS:function(){return t.match(/iPhone|iPad|iPod/i)},OperaMini:function(){return t.match(/Opera Mini/i)},any:function(){return u.Android()||u.BlackBerry()||u.iOS()||u.OperaMini()||u.IEMobile()}}}}();function c(r){var i=r.color,a=void 0===i?"220, 90, 90":i,o=r.outerAlpha,s=void 0===o?.3:o,u=r.innerSize,c=void 0===u?8:u,h=r.innerScale,f=void 0===h?.7:h,p=r.outerSize,d=void 0===p?18:p,m=r.outerScale,y=void 0===m?5:m,v=r.trailingSpeed,g=void 0===v?8:v,b=t.useRef(),w=t.useRef(),x=t.useRef(),k=t.useRef(),E=n(t.useState({x:0,y:0}),2),P=E[0],S=E[1],_=n(t.useState(!1),2),C=_[0],A=_[1],T=n(t.useState(!1),2),O=T[0],M=T[1],I=n(t.useState(!1),2),D=I[0],F=I[1],R=t.useRef(0),j=t.useRef(0),L=t.useCallback((function(t){var e=t.clientX,n=t.clientY;S({x:e,y:n}),w.current.style.top="".concat(n,"px"),w.current.style.left="".concat(e,"px"),R.current=e,j.current=n}),[]),V=t.useCallback((function(t){void 0!==k.current&&(P.x+=(R.current-P.x)/g,P.y+=(j.current-P.y)/g,b.current.style.top="".concat(P.y,"px"),b.current.style.left="".concat(P.x,"px")),k.current=t,x.current=requestAnimationFrame(V)}),[x]);t.useEffect((function(){return x.current=requestAnimationFrame(V),function(){cancelAnimationFrame(x.current)}}),[V]);var B=t.useCallback((function(){M(!0)}),[]),z=t.useCallback((function(){M(!1)}),[]),N=t.useCallback((function(){A(!0)}),[]),G=t.useCallback((function(){A(!1)}),[]);l("mousemove",L),l("mousedown",B),l("mouseup",z),l("mouseover",N),l("mouseout",G),t.useEffect((function(){O?(w.current.style.transform="translate(-50%, -50%) scale(".concat(f,")"),b.current.style.transform="translate(-50%, -50%) scale(".concat(y,")")):(w.current.style.transform="translate(-50%, -50%) scale(1)",b.current.style.transform="translate(-50%, -50%) scale(1)")}),[f,y,O]),t.useEffect((function(){D&&(w.current.style.transform="translate(-50%, -50%) scale(".concat(1.2*f,")"),b.current.style.transform="translate(-50%, -50%) scale(".concat(1.4*y,")"))}),[f,y,D]),t.useEffect((function(){C?(w.current.style.opacity=1,b.current.style.opacity=1):(w.current.style.opacity=0,b.current.style.opacity=0)}),[C]),t.useEffect((function(){var t=document.querySelectorAll('a, input[type="submit"], input[type="image"], label[for], select, button, .link');return t.forEach((function(t){t.style.cursor="none",t.addEventListener("mouseover",(function(){M(!0)})),t.addEventListener("click",(function(){M(!0),F(!1)})),t.addEventListener("mousedown",(function(){F(!0)})),t.addEventListener("mouseup",(function(){M(!0)})),t.addEventListener("mouseout",(function(){M(!1),F(!1)}))})),function(){t.forEach((function(t){t.removeEventListener("mouseover",(function(){M(!0)})),t.removeEventListener("click",(function(){M(!0),F(!1)})),t.removeEventListener("mousedown",(function(){F(!0)})),t.removeEventListener("mouseup",(function(){M(!0)})),t.removeEventListener("mouseout",(function(){M(!1),F(!1)}))}))}}),[O]);var U={cursorInner:{zIndex:999,display:"block",position:"fixed",borderRadius:"50%",width:c,height:c,pointerEvents:"none",backgroundColor:"rgba(".concat(a,", 1)"),transition:"opacity 0.15s ease-in-out, transform 0.25s ease-in-out"},cursorOuter:{zIndex:999,display:"block",position:"fixed",borderRadius:"50%",pointerEvents:"none",width:d,height:d,backgroundColor:"rgba(".concat(a,", ").concat(s,")"),transition:"opacity 0.15s ease-in-out, transform 0.15s ease-in-out",willChange:"transform"}};return document.body.style.cursor="none",e.createElement(e.Fragment,null,e.createElement("div",{ref:b,style:U.cursorOuter}),e.createElement("div",{ref:w,style:U.cursorInner}))}function h(t){var n=t.color,r=void 0===n?"220, 90, 90":n,i=t.outerAlpha,a=void 0===i?.3:i,o=t.innerSize,s=void 0===o?8:o,l=t.outerSize,h=void 0===l?8:l,f=t.outerScale,p=void 0===f?6:f,d=t.innerScale,m=void 0===d?.6:d,y=t.trailingSpeed,v=void 0===y?8:y;return"undefined"!==typeof navigator&&u.any()?e.createElement(e.Fragment,null):e.createElement(c,{color:r,outerAlpha:a,innerSize:s,innerScale:m,outerSize:h,outerScale:p,trailingSpeed:v})}return h}(n(4))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t){return Object(r.a)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 34 32"},child:[{tag:"path",attr:{d:"M21.576 3.59c-1.115-0.994-2.465-0.595-3.798 0.588-0.198 0.176-0.395 0.371-0.591 0.579-2.279 2.418-4.395 6.897-5.053 10.318 0.256 0.519 0.456 1.182 0.588 1.688 0.034 0.13 0.064 0.252 0.089 0.355 0.058 0.245 0.089 0.405 0.089 0.405s-0.020-0.077-0.104-0.321c-0.016-0.047-0.034-0.098-0.055-0.158-0.009-0.025-0.021-0.055-0.035-0.087-0.149-0.346-0.56-1.075-0.741-1.393-0.155 0.457-0.292 0.884-0.406 1.271 0.523 0.956 0.841 2.595 0.841 2.595s-0.028-0.106-0.159-0.477c-0.117-0.328-0.697-1.345-0.835-1.583-0.235 0.869-0.329 1.455-0.244
21.598 0.164 0.277 0.32 0.754 0.457 1.282 0.309 1.189 0.524 2.637 0.524 2.637s0.007 0.096 0.019 0.244c-0.043 0.999-0.017 2.034 0.060 2.97 0.103 1.239 0.295 2.303 0.541 2.873l0.167-0.091c-0.361-1.122-0.508-2.593-0.444-4.289 0.097-2.593 0.694-5.719 1.796-8.978 1.863-4.919 4.447-8.866 6.811-10.751-2.155 1.947-5.073 8.248-5.946 10.581-0.978 2.613-1.671 5.065-2.088 7.414 0.721-2.202 3.050-3.149 3.050-3.149s1.143-1.409 2.478-3.422c-0.8 0.182-2.113 0.495-2.553 0.68-0.649 0.272-0.824 0.365-0.824 0.365s2.102-1.28 3.905-1.86c2.48-3.906 5.182-9.456 2.461-11.884z"}}]})(t)}},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(13),i=n(4),a=n.n(i);function o(t){var e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=a.a.useState(t),n=Object(r.a)(e,2),i=n[0],o=n[1],s=a.a.useRef({current:i}).current;return Object.defineProperty(s,"current",{get:function(){return i},set:function(t){Object.is(i,t)||(i=t,o(t))}}),s}(null);return a.a.useEffect((function(){t&&("function"===typeof t?t(e.current):t.current=e.current)})),e}},function(t,e,n){"use strict";var r=n(62),i=60103,a=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var o=60109,s=60110,l=60112;e.Suspense=60113;var u=60115,c=60116;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;i=h("react.element"),a=h("react.portal"),e.Fragment=h("react.fragment"),e.StrictMode=h("react.strict_mode"),e.Profiler=h("react.profiler"),o=h("react.provider"),s=h("react.context"),l=h("react.forward_ref"),e.Suspense=h("react.suspense"),u=h("react.memo"),c=h("react.lazy")}var f="function"===typeof Symbol&&Symbol.iterator;function p(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function y(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||d}function v(){}function g(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||d}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(p(85));this.updater.enqueueSetState(this,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},v.prototype=y.prototype;var b=g.prototype=new v;b.constructor=g,r(b,y.prototype),b.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function E(t,e,n){var r,a={},o=null,s=null;
vendor: 12,381 bytes, line 2
2if(null!=e)for(r in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(o=""+e.key),e)x.call(e,r)&&!k.hasOwnProperty(r)&&(a[r]=e[r]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(t&&t.defaultProps)for(r in l=t.defaultProps)void 0===a[r]&&(a[r]=l[r]);return{$$typeof:i,type:t,key:o,ref:s,props:a,_owner:w.current}}function P(t){return"object"===typeof t&&null!==t&&t.$$typeof===i}var S=/\/+/g;function _(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function C(t,e,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return o=o(l=t),t=""===r?"."+_(l,0):r,Array.isArray(o)?(n="",null!=t&&(n=t.replace(S,"$&/")+"/"),C(o,e,n,"",(function(t){return t}))):null!=o&&(P(o)&&(o=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(S,"$&/")+"/")+t)),e.push(o)),1;if(l=0,r=""===r?".":r+":",Array.isArray(t))for(var u=0;u<t.length;u++){var c=r+_(s=t[u],u);l+=C(s,e,n,c,o)}else if("function"===typeof(c=function(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=f&&t[f]||t["@@iterator"])?t:null}(t)))for(t=c.call(t),u=0;!(s=t.next()).done;)l+=C(s=s.value,e,n,c=r+_(s,u++),o);else if("object"===s)throw e=""+t,Error(p(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return l}function A(t,e,n){if(null==t)return t;var r=[],i=0;return C(t,r,"","",(function(t){return e.call(n,t,i++)})),r}function T(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}if(1===t._status)return t._result;throw t._result}var O={current:null};function M(){var t=O.current;if(null===t)throw Error(p(321));return t}var I={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:A,forEach:function(t,e,n){A(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return A(t,(function(){e++})),e},toArray:function(t){return A(t,(function(t){return t}))||[]},only:function(t){if(!P(t))throw Error(p(143));return t}},e.Component=y,e.PureComponent=g,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,e.cloneElement=function(t,e,n){if(null===t||void 0===t)throw Error(p(267,t));var a=r({},t.props),o=t.key,s=t.ref,l=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,l=w.current),void 0!==e.key&&(o=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(c in e)x.call(e,c)&&!k.hasOwnProperty(c)&&(a[c]=void 0===e[c]&&void 0!==u?u[c]:e[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){u=Array(c);for(var h=0;h<c;h++)u[h]=arguments[h+2];a.children=u}return{$$typeof:i,type:t.type,key:o,ref:s,props:a,_owner:l}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},e.createElement=E,e.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:l,render:t}},e.isValidElement=P,e.lazy=function(t){return{$$typeof:c,_payload:{_status:-1,_result:t},_init:T}},e.memo=function(t,e){return{$$typeof:u,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return M().useCallback(t,e)},e.useContext=function(t,e){return M().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return M().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return M().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return M().useLayoutEffect(t,e)},e.useMemo=function(t,e){return M().useMemo(t,e)},e.useReducer=function(t,e,n){return M().useReducer(t,e,n)},e.useRef=function(t){return M().useRef(t)},e.useState=function(t){return M().useState(t)},e.version="17.0.2"},function(t,e,n){"use strict";var r=n(4),i=n(62),a=n(119);function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));var s=new Set,l={};function u(t,e){c(t,e),c(t+"Capture",e)}function c(t,e){for(l[t]=e,t=0;t<e.length;t++)s.add(e[t])}var h=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,d={},m={};function y(t,e,n,r,i,a,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=a,this.removeEmptyString=o}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){v[t]=new y(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];v[e]=new y(e,1,!1,t[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){v[t]=new y(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){v[t]=new y(t,2,!1,t,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){v[t]=new y(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){v[t]=new y(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){v[t]=new y(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){v[t]=new y(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){v[t]=new y(t,5,!1,t.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(t){return t[1].toUpperCase()}function w(t,e,n,r){var i=v.hasOwnProperty(e)?v[e]:null;(null!==i?0===i.type:!r&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,n,r){if(null===e||"undefined"===typeof e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!p.call(m,t)||!p.call(d,t)&&(f.test(t)?m[t]=!0:(d[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(g,b);v[e]=new y(e,1,!1,t,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(g,b);v[e]=new y(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(g,b);v[e]=new y(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){v[t]=new y(t,1,!1,t.toLowerCase(),null,!1,!1)})),v.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){v[t]=new y(t,1,!1,t.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=60103,E=60106,P=60107,S=60108,_=60114,C=60109,A=60110,T=60112,O=60113,M=60120,I=60115,D=60116,F=60121,R=60128,j=60129,L=60130,V=60131;if("function"===typeof Symbol&&Symbol.for){var B=Symbol.for;k=B("react.element"),E=B("react.portal"),P=B("react.fragment"),S=B("react.strict_mode"),_=B("react.profiler"),C=B("react.provider"),A=B("react.context"),T=B("react.forward_ref"),O=B("react.suspense"),M=B("react.suspense_list"),I=B("react.memo"),D=B("react.lazy"),F=B("react.block"),B("react.scope"),R=B("react.opaque.id"),j=B("react.debug_trace_mode"),L=B("react.offscreen"),V=B("react.legacy_hidden")}var z,N="function"===typeof Symbol&&Symbol.iterator;function G(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=N&&t[N]||t["@@iterator"])?t:null}function U(t){if(void 0===z)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);z=e&&e[1]||""}return"\n"+z+t}var H=!1;function q(t,e){if(!t||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(l){var r=l}Reflect.construct(t,[],e)}else{try{e.call()}catch(l){r=l}t.call(e.prototype)}else{try{throw Error()}catch(l){r=l}t()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var i=l.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||i[o]!==a[s])return"\n"+i[o].replace(" at new "," at ")}while(1<=o&&0<=s);break}}}finally{H=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?U(t):""}function W(t){switch(t.tag){case 5:return U(t.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return t=q(t.type,!1);case 11:return t=q(t.type.render,!1);case 22:return t=q(t.type._render,!1);case 1:return t=q(t.type,!0);default:return""}}function $(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case P:return"Fragment";case E:return"Portal";case _:return"Profiler";case S:return"StrictMode";case O:return"Suspense";case M:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case A:return(t.displayName||"Context")+".Consumer";case C:return(t._context.displayName||"Context")+".Provider";case T:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case I:return $(t.type);case F:return $(t._render);case D:e=t._payload,t=t._init;
vendor: 5,706 bytes, line 2
2try{return $(t(e))}catch(n){}}return null}function Y(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function X(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function Z(t){t._valueTracker||(t._valueTracker=function(t){var e=X(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,a.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function Q(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=X(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function K(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function J(t,e){var n=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function tt(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=Y(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function et(t,e){null!=(e=e.checked)&&w(t,"checked",e,!1)}function nt(t,e){et(t,e);var n=Y(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?it(t,e.type,n):e.hasOwnProperty("defaultValue")&&it(t,e.type,Y(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function rt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function it(t,e,n){"number"===e&&K(t.ownerDocument)===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function at(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return r.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function ot(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+Y(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function st(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(o(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function lt(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:Y(n)}}function ut(t,e){var n=Y(e.value),r=Y(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function ct(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var ht="http://www.w3.org/1999/xhtml",ft="http://www.w3.org/2000/svg";function pt(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function dt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?pt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var mt,yt,vt=(yt=function(t,e){if(t.namespaceURI!==ft||"innerHTML"in t)t.innerHTML=e;else{for((mt=mt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=mt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction((function(){return yt(t,e)}))}:yt);function gt(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var bt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wt=["Webkit","ms","Moz","O"];function xt(t,e,n){return null==e||"boolean"===typeof e||""===e?"":n||"number"!==typeof e||0===e||bt.hasOwnProperty(t)&&bt[t]?(""+e).trim():e+"px"}function kt(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=xt
vendor: 4,974 bytes, line 2
2(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}Object.keys(bt).forEach((function(t){wt.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),bt[e]=bt[t]}))}));var Et=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Pt(t,e){if(e){if(Et[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(o(137,t));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(o(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(o(62))}}function St(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function _t(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Ct=null,At=null,Tt=null;function Ot(t){if(t=ti(t)){if("function"!==typeof Ct)throw Error(o(280));var e=t.stateNode;e&&(e=ni(e),Ct(t.stateNode,t.type,e))}}function Mt(t){At?Tt?Tt.push(t):Tt=[t]:At=t}function It(){if(At){var t=At,e=Tt;if(Tt=At=null,Ot(t),e)for(t=0;t<e.length;t++)Ot(e[t])}}function Dt(t,e){return t(e)}function Ft(t,e,n,r,i){return t(e,n,r,i)}function Rt(){}var jt=Dt,Lt=!1,Vt=!1;function Bt(){null===At&&null===Tt||(Rt(),It())}function zt(t,e){var n=t.stateNode;if(null===n)return null;var r=ni(n);if(null===r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(o(231,e,typeof n));return n}var Nt=!1;if(h)try{var Gt={};Object.defineProperty(Gt,"passive",{get:function(){Nt=!0}}),window.addEventListener("test",Gt,Gt),window.removeEventListener("test",Gt,Gt)}catch(yt){Nt=!1}function Ut(t,e,n,r,i,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{e.apply(n,u)}catch(c){this.onError(c)}}var Ht=!1,qt=null,Wt=!1,$t=null,Yt={onError:function(t){Ht=!0,qt=t}};function Xt(t,e,n,r,i,a,o,s,l){Ht=!1,qt=null,Ut.apply(Yt,arguments)}function Zt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function Qt(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function Kt(t){if(Zt(t)!==t)throw Error(o(188))}function Jt(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=Zt(t)))throw Error(o(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Kt(i),t;if(a===r)return Kt(i),e;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function te(t,e){for(var n=t.alternate;null!==e;){if(e===t||e===n)return!0;e=e.return}return!1}var ee,ne,re,ie,ae=!1,oe=[],se=null,le=null,ue=null,ce=new Map,he=new Map,fe=[],pe="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function de(t,e,n,r,i){return{blockedOn:t,domEventName:e,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function me(t,e){switch(t){case"focusin":case"focusout":se=null;break;case"dragenter":case"dragleave":le=null;break;case"mouseover":case"mouseout":ue=null;break;case"pointerover":case"pointerout":ce.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":he.delete(e.pointerId)}}function ye(t,e,n,r,i,a){return null===t||t.nativeEvent!==a?(t=de(e,n,r,i,a),null!==e&&(null!==(e=ti(e))&&ne(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==i&&-1===e.indexOf(i)&&e.push(i),t)}function ve(t){var e=Jr(t.target);if(null!==e){var n=Zt(e);
vendor: 8,994 bytes, line 2
2if(null!==n)if(13===(e=n.tag)){if(null!==(e=Qt(n)))return t.blockedOn=e,void ie(t.lanePriority,(function(){a.unstable_runWithPriority(t.priority,(function(){re(n)}))}))}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function ge(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=Je(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n)return null!==(e=ti(n))&&ne(e),t.blockedOn=n,!1;e.shift()}return!0}function be(t,e,n){ge(t)&&n.delete(e)}function we(){for(ae=!1;0<oe.length;){var t=oe[0];if(null!==t.blockedOn){null!==(t=ti(t.blockedOn))&&ee(t);break}for(var e=t.targetContainers;0<e.length;){var n=Je(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n){t.blockedOn=n;break}e.shift()}null===t.blockedOn&&oe.shift()}null!==se&&ge(se)&&(se=null),null!==le&&ge(le)&&(le=null),null!==ue&&ge(ue)&&(ue=null),ce.forEach(be),he.forEach(be)}function xe(t,e){t.blockedOn===e&&(t.blockedOn=null,ae||(ae=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,we)))}function ke(t){function e(e){return xe(e,t)}if(0<oe.length){xe(oe[0],t);for(var n=1;n<oe.length;n++){var r=oe[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==se&&xe(se,t),null!==le&&xe(le,t),null!==ue&&xe(ue,t),ce.forEach(e),he.forEach(e),n=0;n<fe.length;n++)(r=fe[n]).blockedOn===t&&(r.blockedOn=null);for(;0<fe.length&&null===(n=fe[0]).blockedOn;)ve(n),null===n.blockedOn&&fe.shift()}function Ee(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Pe={animationend:Ee("Animation","AnimationEnd"),animationiteration:Ee("Animation","AnimationIteration"),animationstart:Ee("Animation","AnimationStart"),transitionend:Ee("Transition","TransitionEnd")},Se={},_e={};function Ce(t){if(Se[t])return Se[t];if(!Pe[t])return t;var e,n=Pe[t];for(e in n)if(n.hasOwnProperty(e)&&e in _e)return Se[t]=n[e];return t}h&&(_e=document.createElement("div").style,"AnimationEvent"in window||(delete Pe.animationend.animation,delete Pe.animationiteration.animation,delete Pe.animationstart.animation),"TransitionEvent"in window||delete Pe.transitionend.transition);var Ae=Ce("animationend"),Te=Ce("animationiteration"),Oe=Ce("animationstart"),Me=Ce("transitionend"),Ie=new Map,De=new Map,Fe=["abort","abort",Ae,"animationEnd",Te,"animationIteration",Oe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Me,"transitionEnd","waiting","waiting"];function Re(t,e){for(var n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),De.set(r,e),Ie.set(r,i),u(i,[r])}}(0,a.unstable_now)();var je=8;function Le(t){if(0!==(1&t))return je=15,1;if(0!==(2&t))return je=14,2;if(0!==(4&t))return je=13,4;var e=24&t;return 0!==e?(je=12,e):0!==(32&t)?(je=11,32):0!==(e=192&t)?(je=10,e):0!==(256&t)?(je=9,256):0!==(e=3584&t)?(je=8,e):0!==(4096&t)?(je=7,4096):0!==(e=4186112&t)?(je=6,e):0!==(e=62914560&t)?(je=5,e):67108864&t?(je=4,67108864):0!==(134217728&t)?(je=3,134217728):0!==(e=805306368&t)?(je=2,e):0!==(1073741824&t)?(je=1,1073741824):(je=8,t)}function Ve(t,e){var n=t.pendingLanes;if(0===n)return je=0;var r=0,i=0,a=t.expiredLanes,o=t.suspendedLanes,s=t.pingedLanes;if(0!==a)r=a,i=je=15;else if(0!==(a=134217727&n)){var l=a&~o;0!==l?(r=Le(l),i=je):0!==(s&=a)&&(r=Le(s),i=je)}else 0!==(a=n&~o)?(r=Le(a),i=je):0!==s&&(r=Le(s),i=je);if(0===r)return 0;if(r=n&((0>(r=31-He(r))?0:1<<r)<<1)-1,0!==e&&e!==r&&0===(e&o)){if(Le(e),i<=je)return e;je=i}if(0!==(e=t.entangledLanes))for(t=t.entanglements,e&=r;0<e;)i=1<<(n=31-He(e)),r|=t[n],e&=~i;return r}function Be(t){return 0!==(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function ze(t,e){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=Ne(24&~e))?ze(10,e):t;case 10:return 0===(t=Ne(192&~e))?ze(8,e):t;case 8:return 0===(t=Ne(3584&~e))&&(0===(t=Ne(4186112&~e))&&(t=512)),t;case 2:return 0===(e=Ne(805306368&~e))&&(e=268435456),e}throw Error(o(358,t))}function Ne(t){return t&-t}function Ge(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ue(t,e,n){t.pendingLanes|=e;var r=e-1;t.suspendedLanes&=r,t.pingedLanes&=r,(t=t.eventTimes)[e=31-He(e)]=n}var He=Math.clz32?Math.clz32:function(t){return 0===t?32:31-(qe(t)/We|0)|0},qe=Math.log,We=Math.LN2;var $e=a.unstable_UserBlockingPriority,Ye=a.unstable_runWithPriority,Xe=!0;function Ze(t,e,n,r){Lt||Rt();var i=Ke,a=Lt;Lt=!0;try{Ft(i,t,e,n,r)}finally{(Lt=a)||Bt()}}function Qe(t,e,n,r){Ye($e,Ke.bind(null,t,e,n,r))}function Ke(t,e,n,r){var i;if(Xe)if((i=0===(4&e))&&0<oe.length&&-1<pe.indexOf(t))t=de(null,t,e,n,r),oe.push(t);else{var a=Je(t,e,n,r);if(null===a)i&&me(t,r);else{if(i){if(-1<pe.indexOf(t))return t=de(a,t,e,n,r),void oe.push(t);if(function(t,e,n,r,i){switch(e){case"focusin":return se=ye(se,t,e,n,r,i),!0;case"dragenter":return le=ye(le,t,e,n,r,i),!0;case"mouseover":return ue=ye(ue,t,e,n,r,i),!0;case"pointerover":var a=i.pointerId;return ce.set(a,ye(ce.get(a)||null,t,e,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,he.set(a,ye(he.get(a)||null,t,e,n,r,i)),!0}return!1}(a,t,e,n,r))return;me(t,r)}Ir(t,e,r,null,n)}}}function Je(t,e,n,r){var i=_t(r);if(null!==(i=Jr(i))){var a=Zt(i);if(null===a)i=null;else{var o=a.tag;if(13===o){if(null!==(i=Qt(a)))return i;i=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null)}}return Ir(t,e,r,i,n),null}var tn=null,en=null,nn=null;function rn(){if(nn)return nn;var t,e,n=en,r=n.length,i="value"in tn?tn.value:tn.textContent,a=i.length;for(t=0;t<r&&n[t]===i[t];t++);var o=r-t;for(e=1;e<=o&&n[r-e]===i[a-e];e++);return nn=i.slice(t,1<e?1-e:void 0)}function an(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function on(){return!0}function sn(){return!1}function ln(t){function e(e,n,r,i,a){for(var o in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,t)t.hasOwnProperty(o)&&(e=t[o],this[o]=e?e(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?on:sn,this.isPropagationStopped=sn,this}return i(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),e}var un,cn,hn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(fn),dn=i({},fn,{view:0,detail:0}),mn=ln(dn),yn=i({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==hn&&(hn&&"mousemove"===t.type?(un=t.screenX-hn.screenX,cn=t.screenY-hn.screenY):cn=un=0,hn=t),un)},movementY:function(t){return"movementY"in t?t.movementY:cn}}),vn=ln(yn),gn=ln(i({},yn,{dataTransfer:0})),bn=ln(i({},dn,{relatedTarget:0})),wn=ln(i({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=ln(i({},fn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}})),kn=ln(i({},fn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=Sn[t])&&!!e[t]}function Cn(){return _n}var An=ln(i({},dn,{key:function(t){if(t.key){var e=En[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=an(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"ke
2yup"===t.type?Pn[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(t){return"keypress"===t.type?an(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?an(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}})),Tn=ln(i({},yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=ln(i({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Mn=ln(i({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=ln(i({},yn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0})),Dn=[9,13,27,32],Fn=h&&"CompositionEvent"in window,Rn=null;h&&"documentMode"in document&&(Rn=document.documentMode);var jn=h&&"TextEvent"in window&&!Rn,Ln=h&&(!Fn||Rn&&8<Rn&&11>=Rn),Vn=String.fromCharCode(32),Bn=!1;function zn(t,e){switch(t){case"keyup":return-1!==Dn.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nn(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var Gn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Un[t.type]:"textarea"===e}function qn(t,e,n,r){Mt(r),0<(e=Fr(e,"onChange")).length&&(n=new pn("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Wn=null,$n=null;function Yn(t){_r(t,0)}function Xn(t){if(Q(ei(t)))return t}function Zn(t,e){if("change"===t)return e}var Qn=!1;if(h){var Kn;if(h){var Jn="oninput"in document;if(!Jn){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),Jn="function"===typeof tr.oninput}Kn=Jn}else Kn=!1;Qn=Kn&&(!document.documentMode||9<document.documentMode)}function er(){Wn&&(Wn.detachEvent("onpropertychange",nr),$n=Wn=null)}function nr(t){if("value"===t.propertyName&&Xn($n)){var e=[];if(qn(e,$n,t,_t(t)),t=Yn,Lt)t(e);else{Lt=!0;try{Dt(t,e)}finally{Lt=!1,Bt()}}}}function rr(t,e,n){"focusin"===t?(er(),$n=n,(Wn=e).attachEvent("onpropertychange",nr)):"focusout"===t&&er()}function ir(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Xn($n)}function ar(t,e){if("click"===t)return Xn(e)}function or(t,e){if("input"===t||"change"===t)return Xn(e)}var sr="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},lr=Object.prototype.hasOwnProperty;function ur(t,e){if(sr(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!lr.call(e,n[r])||!sr(t[n[r]],e[n[r]]))return!1;return!0}function cr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function hr(t,e){var n,r=cr(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=cr(r)}}function fr(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?fr(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function pr(){for(var t=window,e=K();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=K((t=e.contentWindow).document)}return e}function dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var mr=h&&"documentMode"in document&&11>=document.documentMode,yr=null,vr=null,gr=null,br=!1;function wr(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==yr||yr!==K(r)||("selectionStart"in(r=yr)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 12,333 bytes, line 2
2sNode:r.focusNode,focusOffset:r.focusOffset},gr&&ur(gr,r)||(gr=r,0<(r=Fr(vr,"onSelect")).length&&(e=new pn("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=yr)))}Re("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Re("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Re(Fe,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kr=0;kr<xr.length;kr++)De.set(xr[kr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Er="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Er));function Sr(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,function(t,e,n,r,i,a,s,l,u){if(Xt.apply(this,arguments),Ht){if(!Ht)throw Error(o(198));var c=qt;Ht=!1,qt=null,Wt||(Wt=!0,$t=c)}}(r,e,void 0,t),t.currentTarget=null}function _r(t,e){e=0!==(4&e);for(var n=0;n<t.length;n++){var r=t[n],i=r.event;r=r.listeners;t:{var a=void 0;if(e)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break t;Sr(i,s,u),a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,u=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break t;Sr(i,s,u),a=l}}}if(Wt)throw t=$t,Wt=!1,$t=null,t}function Cr(t,e){var n=ri(e),r=t+"__bubble";n.has(r)||(Mr(e,t,2,!1),n.add(r))}var Ar="_reactListening"+Math.random().toString(36).slice(2);function Tr(t){t[Ar]||(t[Ar]=!0,s.forEach((function(e){Pr.has(e)||Or(e,!1,t,null),Or(e,!0,t,null)})))}function Or(t,e,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===t&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!e&&Pr.has(t)){if("scroll"!==t)return;i|=2,a=r}var o=ri(a),s=t+"__"+(e?"capture":"bubble");o.has(s)||(e&&(i|=4),Mr(a,t,i,e),o.add(s))}function Mr(t,e,n,r){var i=De.get(e);switch(void 0===i?2:i){case 0:i=Ze;break;case 1:i=Qe;break;default:i=Ke}n=i.bind(null,e,n,t),i=void 0,!Nt||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(i=!0),r?void 0!==i?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):void 0!==i?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Ir(t,e,n,r,i){var a=r;if(0===(1&e)&&0===(2&e)&&null!==r)t:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=Jr(s)))return;if(5===(l=o.tag)||6===l){r=a=o;continue t}s=s.parentNode}}r=r.return}!function(t,e,n){if(Vt)return t(e,n);Vt=!0;try{jt(t,e,n)}finally{Vt=!1,Bt()}}((function(){var r=a,i=_t(n),o=[];t:{var s=Ie.get(t);if(void 0!==s){var l=pn,u=t;switch(t){case"keypress":if(0===an(n))break t;case"keydown":case"keyup":l=An;break;case"focusin":u="focus",l=bn;break;case"focusout":u="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=vn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=On;break;case Ae:case Te:case Oe:l=wn;break;case Me:l=Mn;break;case"scroll":l=mn;break;case"wheel":l=In;break;case"copy":case"cut":case"paste":l=xn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var c=0!==(4&e),h=!c&&"scroll"===t,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,d=r;null!==d;){var m=(p=d).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=zt(d,f))&&c.push(Dr(d,m,p)))),h)break;d=d.return}0<c.length&&(s=new l(s,u,null,n,i),o.push({event:s,listeners:c}))}}if(0===(7&e)){if(l="mouseout"===t||"pointerout"===t,(!(s="mouseover"===t||"pointerover"===t)||0!==(16&e)||!(u=n.relatedTarget||n.fromElement)||!Jr(u)&&!u[Qr])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Jr(u):null)&&(u!==(h=Zt(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=vn,m="onMouseLeave",f="onMouseEnter",d="mouse","pointerout"!==t&&"pointerover"!==t||(c=Tn,m="onPointerLeave",f="onPointerEnter",d="pointer"),h=null==l?s:ei(l),p=null==u?s:ei(u),(s=new c(m,d+"leave",l,n,i)).target=h,s.relatedTarget=p,m=null,Jr(i)===r&&((c=new c(f,d+"enter",u,n,i)).target=p,c.relatedTarget=h,m=c),h=m,l&&u)t:{for(f=u,d=0,p=c=l;p;p=Rr(p))d++;for(p=0,m=f;m;m=Rr(m))p++;for(;0<d-p;)c=Rr(c),d--;for(;0<p-d;)f=Rr(f),p--;for(;d--;){if(c===f||null!==f&&c===f.alternate)break t;c=Rr(c),f=Rr(f)}c=null}else c=null;null!==l&&jr(o,s,l,c,!1),null!==u&&null!==h&&jr(o,h,u,c,!0)}if("select"===(l=(s=r?ei(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var y=Zn;else if(Hn(s))if(Qn)y=or;else{y=ir;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(y=ar);switch(y&&(y=y(t,r))?qn(o,y,n,i):(v&&v(t,s,r),"focusout"===t&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&it(s,"number",s.value)),v=r?ei(r):window,t){case"focusin":(Hn(v)||"true"===v.contentEditable)&&(yr=v,vr=r,gr=null);break;case"focusout":gr=vr=yr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(o,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(o,n,i)}var g;if(Fn)t:{switch(t){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else Gn?zn(t,n)&&(b="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(b="onCompositionStart");b&&(Ln&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Gn&&(g=rn()):(en="value"in(tn=i)?tn.value:tn.textContent,Gn=!0)),0<(v=Fr(r,b)).length&&(b=new kn(b,t,null,n,i),o.push({event:b,listeners:v}),g?b.data=g:null!==(g=Nn(n))&&(b.data=g))),(g=jn?function(t,e){switch(t){case"compositionend":return Nn(e);case"keypress":return 32!==e.which?null:(Bn=!0,Vn);case"textInput":return(t=e.data)===Vn&&Bn?null:t;default:return null}}(t,n):function(t,e){if(Gn)return"compositionend"===t||!Fn&&zn(t,e)?(t=rn(),nn=en=tn=null,Gn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Ln&&"ko"!==e.locale?null:e.data;default:return null}}(t,n))&&(0<(r=Fr(r,"onBeforeInput")).length&&(i=new kn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=g))}_r(o,e)}))}function Dr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Fr(t,e){for(var n=e+"Capture",r=[];null!==t;){var i=t,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=zt(t,n))&&r.unshift(Dr(t,a,i)),null!=(a=zt(t,e))&&r.push(Dr(t,a,i))),t=t.return}return r}function Rr(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function jr(t,e,n,r,i){for(var a=e._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=zt(n,a))&&o.unshift(Dr(n,l,s)):i||null!=(l=zt(n,a))&&o.push(Dr(n,l,s))),n=n.return}0!==o.length&&t.push({event:e,listeners:o})}function Lr(){}var Vr=null,Br=null;function zr(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Nr(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Gr="function"===typeof setTimeout?setTimeout:void 0,Ur="function"===typeof clearTimeout?clearTimeout:void 0;function Hr(t){1===t.nodeType?t.textContent="":9===t.nodeType&&(null!=(t=t.body)&&(t.textContent=""))}function qr(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function Wr(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var $r=0;var Yr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Yr,Zr="__reactProps$"+Yr,Qr="__reactContainer$"+Yr,Kr="__reactEvents$"+Yr;function Jr(t){var e=t[Xr];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Qr]||n[Xr]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=Wr(t);null!==t;){if(n=t[Xr])return n;t=Wr(t)}return e}n=(t=n).parentNode}return null}function ti(t){return!(t=t[Xr]||t[Qr])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function ei(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(o(33))}function ni(t){return t[Zr]||null}function ri(t){var e=t[Kr];return void 0===e&&(e=t[Kr]=new Set),e}var ii=[],ai=-1;function oi(t){return{current:t}}function si(t){0>ai||(t.current=ii[ai],ii[ai]=null,ai--)}function li(t,e){ai++,ii[ai]=t.current,t.current=e}var ui={},ci=oi(ui),hi=oi(!1),fi=ui;function pi(t,e){var n=t.type.contextTypes;if(!n)return ui;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=a),a}function di(t){return null!==(t=t.childContextTypes)&&void 0!==t}function mi(){si(hi),si(ci)}function yi(t,e,n){if(ci.current!==ui)throw Error(o(168));li(ci,e),li(hi,n)}function vi(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,$(e)||"Unknown",a));return i({},n,r)}function gi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||ui,fi=ci.current,li(ci,t),li(hi,hi.current),!0}function bi(t,e,n){var r=t.stateNode;if(!r)throw Error(o(169));n?(t=vi(t,e,fi),r.__reactInternalMemoizedMergedChildContext=t,si(hi),si(ci),li(ci,t)):si(hi),li(hi,n)}var wi=null,xi=null,ki=a.unstable_runWithPriority,Ei=a.unstable_scheduleCallback,Pi=a.unstable_cancelCallback,Si=a.unstable_shouldYield,_i=a.unstable_requestPaint,Ci=a.unstable_now,Ai=a.unstable_getCurrentPriorityLevel,Ti=a.unstable_ImmediatePriority,Oi=a.unstable_UserBlockingPriority,Mi=a.unstable_NormalPriority,Ii=a.unstable_LowPriority,Di=a.unstable_IdlePriority,Fi={},Ri=void 0!==_i?_i:function(){}
vendor: 4,457 bytes, line 2
2,ji=null,Li=null,Vi=!1,Bi=Ci(),zi=1e4>Bi?Ci:function(){return Ci()-Bi};function Ni(){switch(Ai()){case Ti:return 99;case Oi:return 98;case Mi:return 97;case Ii:return 96;case Di:return 95;default:throw Error(o(332))}}function Gi(t){switch(t){case 99:return Ti;case 98:return Oi;case 97:return Mi;case 96:return Ii;case 95:return Di;default:throw Error(o(332))}}function Ui(t,e){return t=Gi(t),ki(t,e)}function Hi(t,e,n){return t=Gi(t),Ei(t,e,n)}function qi(){if(null!==Li){var t=Li;Li=null,Pi(t)}Wi()}function Wi(){if(!Vi&&null!==ji){Vi=!0;var t=0;try{var e=ji;Ui(99,(function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}})),ji=null}catch(n){throw null!==ji&&(ji=ji.slice(t+1)),Ei(Ti,qi),n}finally{Vi=!1}}}var $i=x.ReactCurrentBatchConfig;function Yi(t,e){if(t&&t.defaultProps){for(var n in e=i({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}return e}var Xi=oi(null),Zi=null,Qi=null,Ki=null;function Ji(){Ki=Qi=Zi=null}function ta(t){var e=Xi.current;si(Xi),t.type._context._currentValue=e}function ea(t,e){for(;null!==t;){var n=t.alternate;if((t.childLanes&e)===e){if(null===n||(n.childLanes&e)===e)break;n.childLanes|=e}else t.childLanes|=e,null!==n&&(n.childLanes|=e);t=t.return}}function na(t,e){Zi=t,Ki=Qi=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!==(t.lanes&e)&&(Fo=!0),t.firstContext=null)}function ra(t,e){if(Ki!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(Ki=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Qi){if(null===Zi)throw Error(o(308));Qi=e,Zi.dependencies={lanes:0,firstContext:e,responders:null}}else Qi=Qi.next=e;return t._currentValue}var ia=!1;function aa(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function oa(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function sa(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function la(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function ua(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=e:a=a.next=e}else i=a=e;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function ca(t,e,n,r){var a=t.updateQueue;ia=!1;var o=a.firstBaseUpdate,s=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var u=l,c=u.next;u.next=null,null===s?o=c:s.next=c,s=u;var h=t.alternate;if(null!==h){var f=(h=h.updateQueue).lastBaseUpdate;f!==s&&(null===f?h.firstBaseUpdate=c:f.next=c,h.lastBaseUpdate=u)}}if(null!==o){for(f=a.baseState,s=0,h=c=u=null;;){l=o.lane;var p=o.eventTime;if((r&l)===l){null!==h&&(h=h.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});t:{var d=t,m=o;switch(l=e,p=n,m.tag){case 1:if("function"===typeof(d=m.payload)){f=d.call(p,f,l);break t}f=d;break t;case 3:d.flags=-4097&d.flags|64;case 0:if(null===(l="function"===typeof(d=m.payload)?d.call(p,f,l):d)||void 0===l)break t;f=i({},f,l);break t;case 2:ia=!0}}null!==o.callback&&(t.flags|=32,null===(l=a.effects)?a.effects=[o]:l.push(o))}else p={eventTime:p,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===h?(c=h=p,u=f):h=h.next=p,s|=l;if(null===(o=o.next)){if(null===(l=a.shared.pending))break;o=l.next,l.next=null,a.lastBaseUpdate=l,a.shared.pending=null}}null===h&&(u=f),a.baseState=u,a.firstBaseUpdate=c,a.lastBaseUpdate=h,Vs|=s,t.lanes=s,t.memoizedState=f}}function ha(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var fa=(new r.Component).refs;function pa(t,e,n,r){n=null===(n=n(r,e=t.memoizedState))||void 0===n?e:i({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var da={isMounted:function(t){return!!(t=t._reactInternals)&&Zt(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=ul(),i=cl(t),a=sa(r,i);
vendor: 4,846 bytes, line 2
2a.payload=e,void 0!==n&&null!==n&&(a.callback=n),la(t,a),hl(t,i,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=ul(),i=cl(t),a=sa(r,i);a.tag=1,a.payload=e,void 0!==n&&null!==n&&(a.callback=n),la(t,a),hl(t,i,r)},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=ul(),r=cl(t),i=sa(n,r);i.tag=2,void 0!==e&&null!==e&&(i.callback=e),la(t,i),hl(t,r,n)}};function ma(t,e,n,r,i,a,o){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,a,o):!e.prototype||!e.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,a))}function ya(t,e,n){var r=!1,i=ui,a=e.contextType;return"object"===typeof a&&null!==a?a=ra(a):(i=di(e)?fi:ci.current,a=(r=null!==(r=e.contextTypes)&&void 0!==r)?pi(t,i):ui),e=new e(n,a),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=da,t.stateNode=e,e._reactInternals=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=a),e}function va(t,e,n,r){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&da.enqueueReplaceState(e,e.state,null)}function ga(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=fa,aa(t);var a=e.contextType;"object"===typeof a&&null!==a?i.context=ra(a):(a=di(e)?fi:ci.current,i.context=pi(t,a)),ca(t,n,i,r),i.state=t.memoizedState,"function"===typeof(a=e.getDerivedStateFromProps)&&(pa(t,e,a,n),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&da.enqueueReplaceState(i,i.state,null),ca(t,n,i,r),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.flags|=4)}var ba=Array.isArray;function wa(t,e,n){if(null!==(t=n.ref)&&"function"!==typeof t&&"object"!==typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=r.refs;e===fa&&(e=r.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!==typeof t)throw Error(o(284));if(!n._owner)throw Error(o(290,t))}return t}function xa(t,e){if("textarea"!==t.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e))}function ka(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Ul(t,e)).index=0,t.sibling=null,t}function a(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags=2,n):r:(e.flags=2,n):n}function s(e){return t&&null===e.alternate&&(e.flags=2),e}function l(t,e,n,r){return null===e||6!==e.tag?((e=$l(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function u(t,e,n,r){return null!==e&&e.elementType===n.type?((r=i(e,n.props)).ref=wa(t,e,n),r.return=t,r):((r=Hl(n.type,n.key,n.props,null,t.mode,r)).ref=wa(t,e,n),r.return=t,r)}function c(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Yl(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function h(t,e,n,r,a){return null===e||7!==e.tag?((e=ql(n,t.mode,r,a)).return=t,e):((e=i(e,n)).return=t,e)}function f(t,e,n){if("string"===typeof e||"number"===typeof e)return(e=$l(""+e,t.mode,n)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case k:return(n=Hl(e.type,e.key,e.props,null,t.mode,n)).ref=wa(t,null,e),n.return=t,n;case E:return(e=Yl(e,t.mode,n)).return=t,e}if(ba(e)||G(e))return(e=ql(e,t.mode,n,null)).return=t,e;xa(t,e)}return null}function p(t,e,n,r){var i=null!==e?e.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:l(t,e,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===i?n.type===P?h(t,e,n.props.children,r,i):u(t,e,n,r):null;case E:return n.key===i?c(t,e,n,r):null}if(ba(n)||G(n))return null!==i?null:h(t,e,n,r,null);xa(t,n)}return null}function d(t,e,n,r,i){if("string"===typeof r||"number"===typeof r)return l(e,t=t.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return t=t.get(null===r.key?n:r.key)||null,r.type===P?h(e,t,r.props.children,i,r.key):u(e,t,r,i
vendor: 5,560 bytes, line 2
2);case E:return c(e,t=t.get(null===r.key?n:r.key)||null,r,i)}if(ba(r)||G(r))return h(e,t=t.get(n)||null,r,i,null);xa(e,r)}return null}function m(i,o,s,l){for(var u=null,c=null,h=o,m=o=0,y=null;null!==h&&m<s.length;m++){h.index>m?(y=h,h=null):y=h.sibling;var v=p(i,h,s[m],l);if(null===v){null===h&&(h=y);break}t&&h&&null===v.alternate&&e(i,h),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v,h=y}if(m===s.length)return n(i,h),u;if(null===h){for(;m<s.length;m++)null!==(h=f(i,s[m],l))&&(o=a(h,o,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(i,h);m<s.length;m++)null!==(y=d(h,i,m,s[m],l))&&(t&&null!==y.alternate&&h.delete(null===y.key?m:y.key),o=a(y,o,m),null===c?u=y:c.sibling=y,c=y);return t&&h.forEach((function(t){return e(i,t)})),u}function y(i,s,l,u){var c=G(l);if("function"!==typeof c)throw Error(o(150));if(null==(l=c.call(l)))throw Error(o(151));for(var h=c=null,m=s,y=s=0,v=null,g=l.next();null!==m&&!g.done;y++,g=l.next()){m.index>y?(v=m,m=null):v=m.sibling;var b=p(i,m,g.value,u);if(null===b){null===m&&(m=v);break}t&&m&&null===b.alternate&&e(i,m),s=a(b,s,y),null===h?c=b:h.sibling=b,h=b,m=v}if(g.done)return n(i,m),c;if(null===m){for(;!g.done;y++,g=l.next())null!==(g=f(i,g.value,u))&&(s=a(g,s,y),null===h?c=g:h.sibling=g,h=g);return c}for(m=r(i,m);!g.done;y++,g=l.next())null!==(g=d(m,i,y,g.value,u))&&(t&&null!==g.alternate&&m.delete(null===g.key?y:g.key),s=a(g,s,y),null===h?c=g:h.sibling=g,h=g);return t&&m.forEach((function(t){return e(i,t)})),c}return function(t,r,a,l){var u="object"===typeof a&&null!==a&&a.type===P&&null===a.key;u&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case k:t:{for(c=a.key,u=r;null!==u;){if(u.key===c){switch(u.tag){case 7:if(a.type===P){n(t,u.sibling),(r=i(u,a.props.children)).return=t,t=r;break t}break;default:if(u.elementType===a.type){n(t,u.sibling),(r=i(u,a.props)).ref=wa(t,u,a),r.return=t,t=r;break t}}n(t,u);break}e(t,u),u=u.sibling}a.type===P?((r=ql(a.props.children,t.mode,l,a.key)).return=t,t=r):((l=Hl(a.type,a.key,a.props,null,t.mode,l)).ref=wa(t,r,a),l.return=t,t=l)}return s(t);case E:t:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(t,r.sibling),(r=i(r,a.children||[])).return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}(r=Yl(a,t.mode,l)).return=t,t=r}return s(t)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(t,r.sibling),(r=i(r,a)).return=t,t=r):(n(t,r),(r=$l(a,t.mode,l)).return=t,t=r),s(t);if(ba(a))return m(t,r,a,l);if(G(a))return y(t,r,a,l);if(c&&xa(t,a),"undefined"===typeof a&&!u)switch(t.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,$(t.type)||"Component"))}return n(t,r)}}var Ea=ka(!0),Pa=ka(!1),Sa={},_a=oi(Sa),Ca=oi(Sa),Aa=oi(Sa);function Ta(t){if(t===Sa)throw Error(o(174));return t}function Oa(t,e){switch(li(Aa,e),li(Ca,t),li(_a,Sa),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:dt(null,"");break;default:e=dt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}si(_a),li(_a,e)}function Ma(){si(_a),si(Ca),si(Aa)}function Ia(t){Ta(Aa.current);var e=Ta(_a.current),n=dt(e,t.type);e!==n&&(li(Ca,t),li(_a,n))}function Da(t){Ca.current===t&&(si(_a),si(Ca))}var Fa=oi(0);function Ra(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.flags))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ja=null,La=null,Va=!1;function Ba(t,e){var n=Nl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.flags=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function za(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function Na(t){if(Va){var e=La;if(e){var n=e;if(!za(t,e)){if(!(e=qr(n.nextSibling))||!za(t,e))return t.flags=-1025&t.flags|2,Va=!1,void(ja=t);Ba(ja,n)}ja=t,La=qr(e.firstChild)}else t.flags=-1025&t.flags|2,Va=!1,ja=t}}function Ga(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;ja=t}function Ua(t){if(t!==ja)return!1;if(!Va)return Ga(t),Va=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!Nr(e,t.memoizedProps))for(e=La;e;)Ba(t,e),e=qr(e.nextSibling);if(Ga(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(o(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if("/$"===n){if(0===e){La=qr(t.nextSibling);break t}e--}else"$"!==n&&"$!"!==n&&"$?"!==n||e++}t=t.nextSibling}La=null}}else La=ja?qr(t.stateNode.nextSibling):null;return!0}function Ha(){La=ja=null,Va=!1}var qa=[];function Wa(){for(var t=0;t<qa.length;t++)qa[t]._workInProgressVersionPrimary=null;qa.length=0}var $a=x.ReactCurrentDispatcher,Ya=x.ReactCurrentBatchConfig,Xa=0,Za=null,Qa=null,Ka=null,Ja=!1,to=!1;function eo(){throw Error(o(321))}function no(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!sr(t[n],e[n]))return!1;return!0}function ro(t,e,n,r,i,a){if(Xa=a,Za=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,$a.current=null===t||null===t.memoizedState?Oo:Mo,t=n(r,i),to){a=0;
vendor: 7,121 bytes, line 2
2do{if(to=!1,!(25>a))throw Error(o(301));a+=1,Ka=Qa=null,e.updateQueue=null,$a.current=Io,t=n(r,i)}while(to)}if($a.current=To,e=null!==Qa&&null!==Qa.next,Xa=0,Ka=Qa=Za=null,Ja=!1,e)throw Error(o(300));return t}function io(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ka?Za.memoizedState=Ka=t:Ka=Ka.next=t,Ka}function ao(){if(null===Qa){var t=Za.alternate;t=null!==t?t.memoizedState:null}else t=Qa.next;var e=null===Ka?Za.memoizedState:Ka.next;if(null!==e)Ka=e,Qa=t;else{if(null===t)throw Error(o(310));t={memoizedState:(Qa=t).memoizedState,baseState:Qa.baseState,baseQueue:Qa.baseQueue,queue:Qa.queue,next:null},null===Ka?Za.memoizedState=Ka=t:Ka=Ka.next=t}return Ka}function oo(t,e){return"function"===typeof e?e(t):e}function so(t){var e=ao(),n=e.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=t;var r=Qa,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=a=null,u=i;do{var c=u.lane;if((Xa&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===t?u.eagerState:t(r,u.action);else{var h={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=h,a=r):l=l.next=h,Za.lanes|=c,Vs|=c}u=u.next}while(null!==u&&u!==i);null===l?a=r:l.next=s,sr(r,e.memoizedState)||(Fo=!0),e.memoizedState=r,e.baseState=a,e.baseQueue=l,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function lo(t){var e=ao(),n=e.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,a=e.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=t(a,s.action),s=s.next}while(s!==i);sr(a,e.memoizedState)||(Fo=!0),e.memoizedState=a,null===e.baseQueue&&(e.baseState=a),n.lastRenderedState=a}return[a,r]}function uo(t,e,n){var r=e._getVersion;r=r(e._source);var i=e._workInProgressVersionPrimary;if(null!==i?t=i===r:(t=t.mutableReadLanes,(t=(Xa&t)===t)&&(e._workInProgressVersionPrimary=r,qa.push(e))),t)return n(e._source);throw qa.push(e),Error(o(350))}function co(t,e,n,r){var i=Os;if(null===i)throw Error(o(349));var a=e._getVersion,s=a(e._source),l=$a.current,u=l.useState((function(){return uo(i,e,n)})),c=u[1],h=u[0];u=Ka;var f=t.memoizedState,p=f.refs,d=p.getSnapshot,m=f.source;f=f.subscribe;var y=Za;return t.memoizedState={refs:p,source:e,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var t=a(e._source);if(!sr(s,t)){t=n(e._source),sr(h,t)||(c(t),t=cl(y),i.mutableReadLanes|=t&i.pendingLanes),t=i.mutableReadLanes,i.entangledLanes|=t;for(var r=i.entanglements,o=t;0<o;){var l=31-He(o),u=1<<l;r[l]|=t,o&=~u}}}),[n,e,r]),l.useEffect((function(){return r(e._source,(function(){var t=p.getSnapshot,n=p.setSnapshot;try{n(t(e._source));var r=cl(y);i.mutableReadLanes|=r&i.pendingLanes}catch(a){n((function(){throw a}))}}))}),[e,r]),sr(d,n)&&sr(m,e)&&sr(f,r)||((t={pending:null,dispatch:null,lastRenderedReducer:oo,lastRenderedState:h}).dispatch=c=Ao.bind(null,Za,t),u.queue=t,u.baseQueue=null,h=uo(i,e,n),u.memoizedState=u.baseState=h),h}function ho(t,e,n){return co(ao(),t,e,n)}function fo(t){var e=io();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:oo,lastRenderedState:t}).dispatch=Ao.bind(null,Za,t),[e.memoizedState,t]}function po(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=Za.updateQueue)?(e={lastEffect:null},Za.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function mo(t){return t={current:t},io().memoizedState=t}function yo(){return ao().memoizedState}function vo(t,e,n,r){var i=io();Za.flags|=t,i.memoizedState=po(1|e,n,void 0,void 0===r?null:r)}function go(t,e,n,r){var i=ao();r=void 0===r?null:r;var a=void 0;if(null!==Qa){var o=Qa.memoizedState;if(a=o.destroy,null!==r&&no(r,o.deps))return void po(e,n,a,r)}Za.flags|=t,i.memoizedState=po(1|e,n,a,r)}function bo(t,e){return vo(516,4,t,e)}function wo(t,e){return go(516,4,t,e)}function xo(t,e){return go(4,2,t,e)}function ko(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Eo(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,go(4,2,ko.bind(null,e,t),n)}function Po(){}function So(t,e){var n=ao();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&no(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function _o(t,e){var n=ao();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&no(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Co(t,e){var n=Ni();Ui(98>n?98:n,(function(){t(!0)})),Ui(97<n?97:n,(function(){var n=Ya.transition;Ya.transition=1;try{t(!1),e()}finally{Ya.transition=n}}))}function Ao(t,e,n){var r=ul(),i=cl(t),a={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},o=e.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),e.pending=a,o=t.alternate,t===Za||null!==o&&o===Za)to=Ja=!0;else{if(0===t.lanes&&(null===o||0===o.lanes)&&null!==(o=e.lastRenderedReducer))try{var s=e.lastRenderedState,l=o(s,n);if(a.eagerReducer=o,a.eagerState=l,sr(l,s))return}catch(u){}hl(t,i,r)}}var To={readContext:ra,useCallback:eo,useContext:eo,useEffect:eo,useImperativeHandle:eo,useLayoutEffect:eo,useMemo:eo,useReducer:eo,useRef:eo,useState:eo,useDebugValue:eo,useDeferredValue:eo,useTransition:eo,useMutableSource:eo,useOpaqueIdentifier:eo,unstable_isNewReconciler:!1},Oo={readContext:ra,useCallback:function(t,e){return io().memoizedState=[t,void 0===e?null:e],t},useContext:ra,useEffect:bo,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,vo(4,2,ko.bind(null,e,t),n)},useLayoutEffect:function(t,e){return vo(4,2,t,e)},useMemo:function(t,e){var n=io();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=io();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=Ao.bind(null,Za,t),[r.memoizedState,t]},useRef:mo,useState:fo,useDebugValue:Po,useDeferredValue:function(t){var e=fo(t),n=e[0],r=e[1];return bo((function(){var e=Ya.transition;Ya.transition=1;try{r(t)}finally{Ya.transition=e}}),[t]),n},useTransition:function(){var t=fo(!1),e=t[0];return mo(t=Co.bind(null,t[1])),[t,e]},useMutableSource:function(t,e,n){var r=io();return r.memoizedState={refs:{getSnapshot:e,setSnapshot:null},source:t,subscribe:n},co(r,t,e,n)},useOpaqueIdentifier:function(){if(Va){var t=!1,e=function(t){return{$$typeof:R,toString:t,valueOf:t}}((function(){throw t||(t=!0,n("r:"+($r++).toString(36))),Error(o(355))})),n=fo(e)[1];return 0===(2&Za.mode)&&(Za.flags|=516,po(5,(function(){n("r:"+($r++).toString(36))}),void 0,null)),e}return fo(e="r:"+($r++).toString(36)),e},unstable_isNewReconciler:!1},Mo={readContext:ra,useCallback:So,useContext:ra,useEffect:wo,useImperativeHandle:Eo,useLayoutEffect:xo,useMemo:_o,useReducer:so,useRef
2:yo,useState:function(){return so(oo)},useDebugValue:Po,useDeferredValue:function(t){var e=so(oo),n=e[0],r=e[1];return wo((function(){var e=Ya.transition;Ya.transition=1;try{r(t)}finally{Ya.transition=e}}),[t]),n},useTransition:function(){var t=so(oo)[0];return[yo().current,t]},useMutableSource:ho,useOpaqueIdentifier:function(){return so(oo)[0]},unstable_isNewReconciler:!1},Io={readContext:ra,useCallback:So,useContext:ra,useEffect:wo,useImperativeHandle:Eo,useLayoutEffect:xo,useMemo:_o,useReducer:lo,useRef:yo,useState:function(){return lo(oo)},useDebugValue:Po,useDeferredValue:function(t){var e=lo(oo),n=e[0],r=e[1];return wo((function(){var e=Ya.transition;Ya.transition=1;try{r(t)}finally{Ya.transition=e}}),[t]),n},useTransition:function(){var t=lo(oo)[0];return[yo().current,t]},useMutableSource:ho,useOpaqueIdentifier:function(){return lo(oo)[0]},unstable_isNewReconciler:!1},Do=x.ReactCurrentOwner,Fo=!1;function Ro(t,e,n,r){e.child=null===t?Pa(e,null,n,r):Ea(e,t.child,n,r)}function jo(t,e,n,r,i){n=n.render;var a=e.ref;return na(e,i),r=ro(t,e,n,r,a,i),null===t||Fo?(e.flags|=1,Ro(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~i,ns(t,e,i))}function Lo(t,e,n,r,i,a){if(null===t){var o=n.type;return"function"!==typeof o||Gl(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Hl(n.type,null,r,e,e.mode,a)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=o,Vo(t,e,o,r,i,a))}return o=t.child,0===(i&a)&&(i=o.memoizedProps,(n=null!==(n=n.compare)?n:ur)(i,r)&&t.ref===e.ref)?ns(t,e,a):(e.flags|=1,(t=Ul(o,r)).ref=e.ref,t.return=e,e.child=t)}function Vo(t,e,n,r,i,a){if(null!==t&&ur(t.memoizedProps,r)&&t.ref===e.ref){if(Fo=!1,0===(a&i))return e.lanes=t.lanes,ns(t,e,a);0!==(16384&t.flags)&&(Fo=!0)}return No(t,e,n,r,a)}function Bo(t,e,n){var r=e.pendingProps,i=r.children,a=null!==t?t.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&e.mode))e.memoizedState={baseLanes:0},bl(e,n);else{if(0===(1073741824&n))return t=null!==a?a.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t},bl(e,t),null;e.memoizedState={baseLanes:0},bl(e,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,e.memoizedState=null):r=n,bl(e,r);return Ro(t,e,i,n),e.child}function zo(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.flags|=128)}function No(t,e,n,r,i){var a=di(n)?fi:ci.current;return a=pi(e,a),na(e,i),n=ro(t,e,n,r,a,i),null===t||Fo?(e.flags|=1,Ro(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~i,ns(t,e,i))}function Go(t,e,n,r,i){if(di(n)){var a=!0;gi(e)}else a=!1;if(na(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),ya(e,n,r),ga(e,n,r,i),r=!0;else if(null===t){var o=e.stateNode,s=e.memoizedProps;o.props=s;var l=o.context,u=n.contextType;"object"===typeof u&&null!==u?u=ra(u):u=pi(e,u=di(n)?fi:ci.current);var c=n.getDerivedStateFromProps,h="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;h||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==r||l!==u)&&va(e,o,r,u),ia=!1;var f=e.memoizedState;o.state=f,ca(e,r,o,i),l=e.memoizedState,s!==r||f!==l||hi.current||ia?("function"===typeof c&&(pa(e,n,c,r),l=e.memoizedState),(s=ia||ma(e,n,s,r,f,l,u))?(h||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(e.flags|=4)):("function"===typeof o.componentDidMount&&(e.flags|=4),e.memoizedProps=r,e.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):("function"===typeof o.componentDidMount&&(e.flags|=4),r=!1)}else{o=e.stateNode,oa(t,e),s=e.memoizedProps,u=e.type===e.elementType?s:Yi(e.type,s),o.props=u,h=e.pendingProps,f=o.context,"object"===typeof(l=n.contextType)&&null!==l?l=ra(l):l=pi(e,l=di(n)?fi:ci.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==h||f!==l)&&va(e,o,r,l),ia=!1,f=e.memoizedState,o.state=f,ca(e,r,o,i);var d=e.memoizedState;s!==h||f!==d||hi.current||ia?("function"===typeof p&&(pa(e,n,p,r),d=e.memoizedState),(u=ia||ma(e,n,u,r,f,d,l))?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,d,l),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,d,l)),"function"===typeof o.componentDidUpdate&&(e.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(e.flags|=256)):("function"!==typeof o.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=256),e.memoizedProps=r,e.memoizedState=d),o.props=r,o.state=d,o.context=l,r=u):("function"!==typeof o.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=256),r=!1)}return Uo(t,e,n,r,a,i)}function Uo(t,e,n,r,i,a){zo(t,e);var o=0!==(64&e.flags);if(!r&&!o)return i&&bi(e,n,!1),ns(t,e,a);r=e.stateNode,Do.current=e;var s=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.flags|=1,null!==t&&o?(e.child=Ea(e,t.child,null,a),e.child=Ea(e,null,s,a)):Ro(t,e,s,a),e.memoizedState=r.state,i&&bi(e,n,!0),e.child}function Ho(t){var e=t.stateNode;e.pendingContext?yi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&yi(0,e.context,!1),Oa(t,e.containerInfo)}var qo,Wo,$o,Yo={dehydrated:null,retryLane:0};function Xo(t,e,n){var r,i=e.pendingProps,a=Fa.current,o=!1;return(r=0!==(64&e.flags))||(r=(null===t||null!==t.memoizedState)&&0!==(2&a)),r?
vendor: 13,263 bytes, line 2
2(o=!0,e.flags&=-65):null!==t&&null===t.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),li(Fa,1&a),null===t?(void 0!==i.fallback&&Na(e),t=i.children,a=i.fallback,o?(t=Zo(e,t,a,n),e.child.memoizedState={baseLanes:n},e.memoizedState=Yo,t):"number"===typeof i.unstable_expectedLoadTime?(t=Zo(e,t,a,n),e.child.memoizedState={baseLanes:n},e.memoizedState=Yo,e.lanes=33554432,t):((n=Wl({mode:"visible",children:t},e.mode,n,null)).return=e,e.child=n)):(t.memoizedState,o?(i=Ko(t,e,i.children,i.fallback,n),o=e.child,a=t.child.memoizedState,o.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},o.childLanes=t.childLanes&~n,e.memoizedState=Yo,i):(n=Qo(t,e,i.children,n),e.memoizedState=null,n))}function Zo(t,e,n,r){var i=t.mode,a=t.child;return e={mode:"hidden",children:e},0===(2&i)&&null!==a?(a.childLanes=0,a.pendingProps=e):a=Wl(e,i,0,null),n=ql(n,i,r,null),a.return=t,n.return=t,a.sibling=n,t.child=a,n}function Qo(t,e,n,r){var i=t.child;return t=i.sibling,n=Ul(i,{mode:"visible",children:n}),0===(2&e.mode)&&(n.lanes=r),n.return=e,n.sibling=null,null!==t&&(t.nextEffect=null,t.flags=8,e.firstEffect=e.lastEffect=t),e.child=n}function Ko(t,e,n,r,i){var a=e.mode,o=t.child;t=o.sibling;var s={mode:"hidden",children:n};return 0===(2&a)&&e.child!==o?((n=e.child).childLanes=0,n.pendingProps=s,null!==(o=n.lastEffect)?(e.firstEffect=n.firstEffect,e.lastEffect=o,o.nextEffect=null):e.firstEffect=e.lastEffect=null):n=Ul(o,s),null!==t?r=Ul(t,r):(r=ql(r,a,i,null)).flags|=2,r.return=e,n.return=e,n.sibling=r,e.child=n,r}function Jo(t,e){t.lanes|=e;var n=t.alternate;null!==n&&(n.lanes|=e),ea(t.return,e)}function ts(t,e,n,r,i,a){var o=t.memoizedState;null===o?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:a}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.lastEffect=a)}function es(t,e,n){var r=e.pendingProps,i=r.revealOrder,a=r.tail;if(Ro(t,e,r.children,n),0!==(2&(r=Fa.current)))r=1&r|2,e.flags|=64;else{if(null!==t&&0!==(64&t.flags))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Jo(t,n);else if(19===t.tag)Jo(t,n);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(li(Fa,r),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===Ra(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),ts(e,!1,i,n,a,e.lastEffect);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===Ra(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}ts(e,!0,n,null,a,e.lastEffect);break;case"together":ts(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function ns(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),Vs|=e.lanes,0!==(n&e.childLanes)){if(null!==t&&e.child!==t.child)throw Error(o(153));if(null!==e.child){for(n=Ul(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Ul(t,t.pendingProps)).return=e;n.sibling=null}return e.child}return null}function rs(t,e){if(!Va)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function is(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return di(e.type)&&mi(),null;case 3:return Ma(),si(hi),si(ci),Wa(),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||(Ua(e)?e.flags|=4:r.hydrate||(e.flags|=256)),null;case 5:Da(e);var a=Ta(Aa.current);if(n=e.type,null!==t&&null!=e.stateNode)Wo(t,e,n,r),t.ref!==e.ref&&(e.flags|=128);else{if(!r){if(null===e.stateNode)throw Error(o(166));return null}if(t=Ta(_a.current),Ua(e)){r=e.stateNode,n=e.type;var s=e.memoizedProps;switch(r[Xr]=e,r[Zr]=s,n){case"dialog":Cr("cancel",r),Cr("close",r);break;case"iframe":case"object":case"embed":Cr("load",r);break;case"video":case"audio":for(t=0;t<Er.length;t++)Cr(Er[t],r);break;case"source":Cr("error",r);break;case"img":case"image":case"link":Cr("error",r),Cr("load",r);break;case"details":Cr("toggle",r);break;case"input":tt(r,s),Cr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Cr("invalid",r);break;case"textarea":lt(r,s),Cr("invalid",r)}for(var u in Pt(n,s),t=null,s)s.hasOwnProperty(u)&&(a=s[u],"children"===u?"string"===typeof a?r.textContent!==a&&(t=["children",a]):"number"===typeof a&&r.textContent!==""+a&&(t=["children",""+a]):l.hasOwnProperty(u)&&null!=a&&"onScroll"===u&&Cr("scroll",r));switch(n){case"input":Z(r),rt(r,s,!0);break;case"textarea":Z(r),ct(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=Lr)}r=t,e.updateQueue=r,null!==r&&(e.flags|=4)}else{switch(u=9===a.nodeType?a:a.ownerDocument,t===ht&&(t=pt(n)),t===ht?"script"===n?((t=u.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=u.createElement(n,{is:r.is}):(t=u.createElement(n),"select"===n&&(u=t,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):t=u.createElementNS(t,n),t[Xr]=e,t[Zr]=r,qo(t,e),e.stateNode=t,u=St(n,r),n){case"dialog":Cr("cancel",t),Cr("close",t),a=r;break;case"iframe":case"object":case"embed":Cr("load",t),a=r;break;case"video":case"audio":for(a=0;a<Er.length;a++)Cr(Er[a],t);a=r;break;case"source":Cr("error",t),a=r;break;case"img":case"image":case"link":Cr("error",t),Cr("load",t),a=r;break;case"details":Cr("toggle",t),a=r;break;case"input":tt(t,r),a=J(t,r),Cr("invalid",t);break;case"option":a=at(t,r);break;case"select":t._wrapperState={wasMultiple:!!r.multiple},a=i({},r,{value:void 0}),Cr("invalid",t);break;case"textarea":lt(t,r),a=st(t,r),Cr("invalid",t);break;default:a=r}Pt(n,a);var c=a;for(s in c)if(c.hasOwnProperty(s)){var h=c[s];"style"===s?kt(t,h):"dangerouslySetInnerHTML"===s?null!=(h=h?h.__html:void 0)&&vt(t,h):"children"===s?"string"===typeof h?("textarea"!==n||""!==h)&>(t,h):"number"===typeof h&>(t,""+h):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=h&&"onScroll"===s&&Cr("scroll",t):null!=h&&w(t,s,h,u))}switch(n){case"input":Z(t),rt(t,r,!1);break;case"textarea":Z(t),ct(t);break;case"option":null!=r.value&&t.setAttribute("value",""+Y(r.value));break;case"select":t.multiple=!!r.multiple,null!=(s=r.value)?ot(t,!!r.multiple,s,!1):null!=r.defaultValue&&ot(t,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(t.onclick=Lr)}zr(n,r)&&(e.flags|=4)}null!==e.ref&&(e.flags|=128)}return null;case 6:if(t&&null!=e.stateNode)$o(0,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(o(166));n=Ta(Aa.current),Ta(_a.current),Ua(e)?(r=e.stateNode,n=e.memoizedProps,r[Xr]=e,r.nodeValue!==n&&(e.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=e,e.stateNode=r)}return null;case 13:return si(Fa),r=e.memoizedState,0!==(64&e.flags)?(e.lanes=n,e):(r=null!==r,n=!1,null===t?void 0!==e.memoizedProps.fallback&&Ua(e):n=null!==t.memoizedState,r&&!n&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Fa.current)?0===Rs&&(Rs=3):(0!==Rs&&3!==Rs||(Rs=4),null===Os||0===(134217727&Vs)&&0===(134217727&Bs)||ml(Os,Is))),(r||n)&&(e.flags|=4),null);case 4:return Ma(),null===t&&Tr(e.stateNode.containerInfo),null;case 10:return ta(e),null;case 17:return di(e.type)&&mi(),null;case 19:if(si(Fa),null===(r=e.memoizedState))return null;if(s=0!==(64&e.flags),null===(u=r.rendering))if(s)rs(r,!1);else{if(0!==Rs||null!==t&&0!==(64&t.flags))for(t=e.child;null!==t;){if(null!==(u=Ra(t))){for(e.flags|=64,rs(r,!1),null!==(s=u.updateQueue)&&(e.updateQueue=s,e.flags|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,r=n,n=e.child;null!==n;)t=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(u=s.alternate)?(s.childLanes=0,s.lanes=t,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=u.childLanes,s.lanes=u.lanes,s.child=u.child,s.memoizedProps=u.memoizedProps,s.memoizedState=u.memoizedState,s.updateQueue=u.updateQueue,s.type=u.type,t=u.dependencies,s.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return li(Fa,1&Fa.current|2),e.child}t=t.sibling}null!==r.tail&&zi()>Us&&(e.flags|=64,s=!0,rs(r,!1),e.lanes=33554432)}else{if(!s)if(null!==(t=Ra(u))){if(e.flags|=64,s=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.flags|=4),rs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!Va)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*zi()-r.renderingStartTime>Us&&1073741824!==n&&(e.flags|=64,s=!0,rs(r,!1),e.lanes=33554432);r.isBackwards?(u.sibling=e.child,e.child=u):(null!==(n=r.last)?n.sibling=u:e.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=zi(),n.sibling=null,e=Fa.current,li(Fa,s?1&e|2:1&e),n):null;case 23:case 24:return wl(),null!==t&&null!==t.memoizedState!==(null!==e.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(e.flags|=4),null}throw Error(o(156,e.tag))}function as(t){switch(t.tag){case 1:di(t.type)&&mi();var e=t.flags;return 4096&e?(t.flags=-4097&e|64,t):null;case 3:if(Ma(),si(hi),si(ci),Wa(),0!==(64&(e=t.flags)))throw Error(o(285));return t.flags=-4097&e|64,t;case 5:return Da(t),null;case 13:return si(Fa),4096&(e=t.flags)?(t.flags=-4097&e|64,t):null;case 19:return si(Fa),null;case 4:return Ma(),null;case 10:return ta(t),null;case 23:case 24:return wl(),null;default:return null}}function os(t,e){try{var n="",r=e;do{n+=W(r),r=r.return}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return{value:t,source:e,stack:i}}function ss(t,e){try{console.error(e.value)}catch(n){setTimeout((function(){throw n}))}}qo=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Wo=function(t,e,n,r){var a=t.memoizedProps;if(a!==r){t=e.stateNode,Ta(_a.current);var o,s=null;switch(n){case"input":a=J(t,a),r=J(t,r),s=[];break;case"option":a=at(t,a),r=at(t,r),s=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),s=[];break;case"textarea":a=st(t,a),r=st(t,r),s=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(t.onclick=Lr)}for(h in Pt(n,r),n=null,a)if(!r.hasOwnProperty(h)&&a.hasOwnProperty(h)&&null!=a[h])if("style"===h){var u=a[h];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==h&&"children"!==h&&"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(l.hasOwnProperty(h)?s||(s=[]):(s=s||[]).push(h,null));for(h in r){var c=r[h];if(u=null!=a?a[h]:void 0,r.hasOwnProperty(h)&&c!==u&&(null!=c||null!=u))if("style"===h)if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(s||(s=[]),s.push(h,n)),n=c;else"dangerouslySetInnerHTML"===h?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(s=s||[]).push(h,c)):"children"===h?"string"!==typeof c&&"number"!==typeof c||(s=s||[]).push(h,""+c):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&(l.hasOwnProperty(h)?(null!=c&&"onScroll"===h&&Cr("scroll",t),s||u===c||(s=[])):"object"===typeof c&&null!==c&&c.$$typeof===R?c.toString():(s=s||[]).push(h,c))}n&&(s=s||[]).push("style",n);var h=s;(e.updateQueue=h)&&(e.flags|=4)}},$o=function(t,e,n,r){n!==r&&(e.flags|=4)};var ls="function"===typeof WeakMap?WeakMap:Map;function us(t,e,n){(n=sa(-1,n)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){$s||($s=!0,Ys=r),ss(0,e)},n}function cs(t,e,n){(n=sa(-1,n)).tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var i=e.value;n.payload=function(){return ss(0,e),r(i)}}var a=t.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Xs?Xs=new Set([this]):Xs.add(this),ss(0,e));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),n}var hs="function"===typeof WeakSet?WeakSet:Set;function fs(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(n){Ll(t,n)}else e.current=null}function ps(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.flags&&null!==t){var n=t.memoizedProps,r=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?n:Yi(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:return void(256&e.flags&&Hr(e.stateNode.containerInfo));
vendor: 4,942 bytes, line 2
2case 5:case 6:case 4:case 17:return}throw Error(o(163))}function ds(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(e=null!==(e=n.updateQueue)?e.lastEffect:null)){t=e=e.next;do{if(3===(3&t.tag)){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}if(null!==(e=null!==(e=n.updateQueue)?e.lastEffect:null)){t=e=e.next;do{var i=t;r=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(Fl(n,t),Dl(n,t)),t=r}while(t!==e)}return;case 1:return t=n.stateNode,4&n.flags&&(null===e?t.componentDidMount():(r=n.elementType===n.type?e.memoizedProps:Yi(n.type,e.memoizedProps),t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate))),void(null!==(e=n.updateQueue)&&ha(n,e,t));case 3:if(null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}ha(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.flags&&zr(n.type,n.memoizedProps)&&t.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&ke(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(o(163))}function ms(t,e){for(var n=t;;){if(5===n.tag){var r=n.stateNode;if(e)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,r.style.display=xt("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=e?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===t)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ys(t,e){if(xi&&"function"===typeof xi.onCommitFiberUnmount)try{xi.onCommitFiberUnmount(wi,e)}catch(a){}switch(e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!==(4&r))Fl(e,n);else{r=e;try{i()}catch(a){Ll(r,a)}}n=n.next}while(n!==t)}break;case 1:if(fs(e),"function"===typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(a){Ll(e,a)}break;case 5:fs(e);break;case 4:ks(t,e)}}function vs(t){t.alternate=null,t.child=null,t.dependencies=null,t.firstEffect=null,t.lastEffect=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.return=null,t.updateQueue=null}function gs(t){return 5===t.tag||3===t.tag||4===t.tag}function bs(t){t:{for(var e=t.return;null!==e;){if(gs(e))break t;e=e.return}throw Error(o(160))}var n=e;switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:e=e.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.flags&&(gt(e,""),n.flags&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||gs(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break t}}r?ws(t,n,e):xs(t,n,e)}function ws(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!==(n=n._reactRootContainer)&&void 0!==n||null!==e.onclick||(e.onclick=Lr));else if(4!==r&&null!==(t=t.child))for(ws(t,e,n),t=t.sibling;null!==t;)ws(t,e,n),t=t.sibling}function xs(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(xs(t,e,n),t=t.sibling;null!==t;)xs(t,e,n),t=t.sibling}function ks(t,e){for(var n,r,i=e,a=!1;;){if(!a){a=i.return;t:for(;;){if(null===a)throw Error(o(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break t;case 3:case 4:n=n.containerInfo,r=!0;break t}a=a.return}a=!0}if(5===i.tag||6===i.tag){t:for(var s=t,l=i,u=l;;)if(ys(s,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===l)break t;for(;null===u.sibling;){if(null===u.return||u.return===l)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(s=n,l=i.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(ys(t,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;4===(i=i.return).tag&&(a=!1)}i.sibling.return=i.return,i=i.sibling}}function Es(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:var n=e.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(t=r.destroy,r.destroy=void 0,void 0!==t&&t()),r=r.next}
vendor: 8,276 bytes, line 2
2while(r!==n)}return;case 1:return;case 5:if(null!=(n=e.stateNode)){r=e.memoizedProps;var i=null!==t?t.memoizedProps:r;t=e.type;var a=e.updateQueue;if(e.updateQueue=null,null!==a){for(n[Zr]=r,"input"===t&&"radio"===r.type&&null!=r.name&&et(n,r),St(t,i),e=St(t,r),i=0;i<a.length;i+=2){var s=a[i],l=a[i+1];"style"===s?kt(n,l):"dangerouslySetInnerHTML"===s?vt(n,l):"children"===s?gt(n,l):w(n,s,l,e)}switch(t){case"input":nt(n,r);break;case"textarea":ut(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ot(n,!!r.multiple,a,!1):t!==!!r.multiple&&(null!=r.defaultValue?ot(n,!!r.multiple,r.defaultValue,!0):ot(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(o(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((n=e.stateNode).hydrate&&(n.hydrate=!1,ke(n.containerInfo)));case 12:return;case 13:return null!==e.memoizedState&&(Gs=zi(),ms(e.child,!0)),void Ps(e);case 19:return void Ps(e);case 17:return;case 23:case 24:return void ms(e,null!==e.memoizedState)}throw Error(o(163))}function Ps(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new hs),e.forEach((function(e){var r=Bl.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}function Ss(t,e){return null!==t&&(null===(t=t.memoizedState)||null!==t.dehydrated)&&(null!==(e=e.memoizedState)&&null===e.dehydrated)}var _s=Math.ceil,Cs=x.ReactCurrentDispatcher,As=x.ReactCurrentOwner,Ts=0,Os=null,Ms=null,Is=0,Ds=0,Fs=oi(0),Rs=0,js=null,Ls=0,Vs=0,Bs=0,zs=0,Ns=null,Gs=0,Us=1/0;function Hs(){Us=zi()+500}var qs,Ws=null,$s=!1,Ys=null,Xs=null,Zs=!1,Qs=null,Ks=90,Js=[],tl=[],el=null,nl=0,rl=null,il=-1,al=0,ol=0,sl=null,ll=!1;function ul(){return 0!==(48&Ts)?zi():-1!==il?il:il=zi()}function cl(t){if(0===(2&(t=t.mode)))return 1;if(0===(4&t))return 99===Ni()?1:2;if(0===al&&(al=Ls),0!==$i.transition){0!==ol&&(ol=null!==Ns?Ns.pendingLanes:0),t=al;var e=4186112&~ol;return 0===(e&=-e)&&(0===(e=(t=4186112&~t)&-t)&&(e=8192)),e}return t=Ni(),0!==(4&Ts)&&98===t?t=ze(12,al):t=ze(t=function(t){switch(t){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(t),al),t}function hl(t,e,n){if(50<nl)throw nl=0,rl=null,Error(o(185));if(null===(t=fl(t,e)))return null;Ue(t,e,n),t===Os&&(Bs|=e,4===Rs&&ml(t,Is));var r=Ni();1===e?0!==(8&Ts)&&0===(48&Ts)?yl(t):(pl(t,n),0===Ts&&(Hs(),qi())):(0===(4&Ts)||98!==r&&99!==r||(null===el?el=new Set([t]):el.add(t)),pl(t,n)),Ns=t}function fl(t,e){t.lanes|=e;var n=t.alternate;for(null!==n&&(n.lanes|=e),n=t,t=t.return;null!==t;)t.childLanes|=e,null!==(n=t.alternate)&&(n.childLanes|=e),n=t,t=t.return;return 3===n.tag?n.stateNode:null}function pl(t,e){for(var n=t.callbackNode,r=t.suspendedLanes,i=t.pingedLanes,a=t.expirationTimes,s=t.pendingLanes;0<s;){var l=31-He(s),u=1<<l,c=a[l];if(-1===c){if(0===(u&r)||0!==(u&i)){c=e,Le(u);var h=je;a[l]=10<=h?c+250:6<=h?c+5e3:-1}}else c<=e&&(t.expiredLanes|=u);s&=~u}if(r=Ve(t,t===Os?Is:0),e=je,0===r)null!==n&&(n!==Fi&&Pi(n),t.callbackNode=null,t.callbackPriority=0);else{if(null!==n){if(t.callbackPriority===e)return;n!==Fi&&Pi(n)}15===e?(n=yl.bind(null,t),null===ji?(ji=[n],Li=Ei(Ti,Wi)):ji.push(n),n=Fi):14===e?n=Hi(99,yl.bind(null,t)):n=Hi(n=function(t){switch(t){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(o(358,t))}}(e),dl.bind(null,t)),t.callbackPriority=e,t.callbackNode=n}}function dl(t){if(il=-1,ol=al=0,0!==(48&Ts))throw Error(o(327));var e=t.callbackNode;if(Il()&&t.callbackNode!==e)return null;var n=Ve(t,t===Os?Is:0);if(0===n)return null;var r=n,i=Ts;Ts|=16;var a=El();for(Os===t&&Is===r||(Hs(),xl(t,r));;)try{_l();break}catch(l){kl(t,l)}if(Ji(),Cs.current=a,Ts=i,null!==Ms?r=0:(Os=null,Is=0,r=Rs),0!==(Ls&Bs))xl(t,0);else if(0!==r){if(2===r&&(Ts|=64,t.hydrate&&(t.hydrate=!1,Hr(t.containerInfo)),0!==(n=Be(t))&&(r=Pl(t,n))),1===r)throw e=js,xl(t,0),ml(t,n),pl(t,zi()),e;switch(t.finishedWork=t.current.alternate,t.finishedLanes=n,r){case 0:case 1:throw Error(o(345));case 2:Tl(t);break;case 3:if(ml(t,n),(62914560&n)===n&&10<(r=Gs+500-zi())){if(0!==Ve(t,0))break;if(((i=t.suspendedLanes)&n)!==n){ul(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=Gr(Tl.bind(null,t),r);break}Tl(t);break;case 4:if(ml(t,n),(4186112&n)===n)break;for(r=t.eventTimes,i=-1;0<n;){var s=31-He(n);a=1<<s,(s=r[s])>i&&(i=s),n&=~a}if(n=i,10<(n=(120>(n=zi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*_s(n/1960))-n)){t.timeoutHandle=Gr(Tl.bind(null,t),n);break}Tl(t);break;case 5:Tl(t);break;default:throw Error(o(329))}}return pl(t,zi()),t.callbackNode===e?dl.bind(null,t):null}function ml(t,e){for(e&=~zs,e&=~Bs,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-He(e),r=1<<n;t[n]=-1,e&=~r}}function yl(t){if(0!==(48&Ts))throw Error(o(327));if(Il(),t===Os&&0!==(t.expiredLanes&Is)){var e=Is,n=Pl(t,e);0!==(Ls&Bs)&&(n=Pl(t,e=Ve(t,e)))}else n=Pl(t,e=Ve(t,0));if(0!==t.tag&&2===n&&(Ts|=64,t.hydrate&&(t.hydrate=!1,Hr(t.containerInfo)),0!==(e=Be(t))&&(n=Pl(t,e))),1===n)throw n=js,xl(t,0),ml(t,e),pl(t,zi()),n;return t.finishedWork=t.current.alternate,t.finishedLanes=e,Tl(t),pl(t,zi()),null}function vl(t,e){var n=Ts;Ts|=1;try{return t(e)}finally{0===(Ts=n)&&(Hs(),qi())}}function gl(t,e){var n=Ts;Ts&=-2,Ts|=8;try{return t(e)}finally{0===(Ts=n)&&(Hs(),qi())}}function bl(t,e){li(Fs,Ds),Ds|=e,Ls|=e}function wl(){Ds=Fs.current,si(Fs)}function xl(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,Ur(n)),null!==Ms)for(n=Ms.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&mi();break;case 3:Ma(),si(hi),si(ci),Wa();break;case 5:Da(r);break;case 4:Ma();break;case 13:case 19:si(Fa);break;case 10:ta(r);break;case 23:case 24:wl()}n=n.return}Os=t,Ms=Ul(t.current,null),Is=Ds=Ls=e,Rs=0,js=null,zs=Bs=Vs=0}function kl(t,e){for(;;){var n=Ms;try{if(Ji(),$a.current=To,Ja){for(var r=Za.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}Ja=!1}if(Xa=0,Ka=Qa=Za=null,to=!1,As.current=null,null===n||null===n.return){Rs=1,js=e,Ms=null;break}t:{var a=t,o=n.return,s=n,l=e;if(e=Is,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"===typeof l&&"function"===typeof l.then){var u=l;if(0===(2&s.mode)){var c=s.alternate;c?(s.updateQueue=c.updateQueue,s.memoizedState=c.memoizedState,s.lanes=c.lanes):(s.updateQueue=null,s.memoizedState=null)}var h=0!==(1&Fa.current),f=o;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!h)}}if(p){var y=f.updateQueue;if(null===y){var v=new Set;v.add(u),f.updateQueue=v}else y.add(u);if(0===(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var g=sa(-1,1);g.tag=2,la(s,g)}s.lanes|=1;break t}l=void 0,s=e;var b=a.pingCache;if(null===b?(b=a.pingCache=new ls,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(s)){l.add(s);var w=Vl.bind(null,a,u,s);u.then(w,w)}f.flags|=4096,f.lanes=e;break t}f=f.return}while(null!==f);l=Error(($(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Rs&&(Rs=2),l=os(l,s),f=o;do{switch(f.tag){case 3:a=l,f.flags|=4096,e&=-e,f.lanes|=e,ua(f,us(0,a,e));break t;case 1:a=l;var x=f.type,k=f.stateNode;if(0===(64&f.flags)&&("function"===typeof x.getDerivedStateFromError||null!==k&&"function"===typeof k.componentDidCatch&&(null===Xs||!Xs.has(k)))){f.flags|=4096,e&=-e,f.lanes|=e,ua(f,cs(f,a,e));break t}}f=f.return}while(null!==f)}Al(n)}catch(E){e=E,Ms===n&&null!==n&&(Ms=n=n.return);continue}break}}function El(){var t=Cs.current;return Cs.current=To,null===t?To:t}function Pl(t,e){var n=Ts;Ts|=16;var r=El();for(Os===t&&Is===e||xl(t,e);;)try{Sl();break}catch(i){kl(t,i)}if(Ji(),Ts=n,Cs.current=r,null!==Ms)throw Error(o(261));return Os=null,Is=0,Rs}function Sl(){for(;null!==Ms;)Cl(Ms)}function _l(){for(;null!==Ms&&!Si();
vendor: 7,040 bytes, line 2
2)Cl(Ms)}function Cl(t){var e=qs(t.alternate,t,Ds);t.memoizedProps=t.pendingProps,null===e?Al(t):Ms=e,As.current=null}function Al(t){var e=t;do{var n=e.alternate;if(t=e.return,0===(2048&e.flags)){if(null!==(n=is(n,e,Ds)))return void(Ms=n);if(24!==(n=e).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Ds)||0===(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==t&&0===(2048&t.flags)&&(null===t.firstEffect&&(t.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=e.firstEffect),t.lastEffect=e.lastEffect),1<e.flags&&(null!==t.lastEffect?t.lastEffect.nextEffect=e:t.firstEffect=e,t.lastEffect=e))}else{if(null!==(n=as(e)))return n.flags&=2047,void(Ms=n);null!==t&&(t.firstEffect=t.lastEffect=null,t.flags|=2048)}if(null!==(e=e.sibling))return void(Ms=e);Ms=e=t}while(null!==e);0===Rs&&(Rs=5)}function Tl(t){var e=Ni();return Ui(99,Ol.bind(null,t,e)),null}function Ol(t,e){do{Il()}while(null!==Qs);if(0!==(48&Ts))throw Error(o(327));var n=t.finishedWork;if(null===n)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(o(177));t.callbackNode=null;var r=n.lanes|n.childLanes,i=r,a=t.pendingLanes&~i;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=i,t.mutableReadLanes&=i,t.entangledLanes&=i,i=t.entanglements;for(var s=t.eventTimes,l=t.expirationTimes;0<a;){var u=31-He(a),c=1<<u;i[u]=0,s[u]=-1,l[u]=-1,a&=~c}if(null!==el&&0===(24&r)&&el.has(t)&&el.delete(t),t===Os&&(Ms=Os=null,Is=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=Ts,Ts|=32,As.current=null,Vr=Xe,dr(s=pr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else t:if(l=(l=s.ownerDocument)&&l.defaultView||window,(c=l.getSelection&&l.getSelection())&&0!==c.rangeCount){l=c.anchorNode,a=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{l.nodeType,u.nodeType}catch(_){l=null;break t}var h=0,f=-1,p=-1,d=0,m=0,y=s,v=null;e:for(;;){for(var g;y!==l||0!==a&&3!==y.nodeType||(f=h+a),y!==u||0!==c&&3!==y.nodeType||(p=h+c),3===y.nodeType&&(h+=y.nodeValue.length),null!==(g=y.firstChild);)v=y,y=g;for(;;){if(y===s)break e;if(v===l&&++d===a&&(f=h),v===u&&++m===c&&(p=h),null!==(g=y.nextSibling))break;v=(y=v).parentNode}y=g}l=-1===f||-1===p?null:{start:f,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Br={focusedElem:s,selectionRange:l},Xe=!1,sl=null,ll=!1,Ws=r;do{try{Ml()}catch(_){if(null===Ws)throw Error(o(330));Ll(Ws,_),Ws=Ws.nextEffect}}while(null!==Ws);sl=null,Ws=r;do{try{for(s=t;null!==Ws;){var b=Ws.flags;if(16&b&>(Ws.stateNode,""),128&b){var w=Ws.alternate;if(null!==w){var x=w.ref;null!==x&&("function"===typeof x?x(null):x.current=null)}}switch(1038&b){case 2:bs(Ws),Ws.flags&=-3;break;case 6:bs(Ws),Ws.flags&=-3,Es(Ws.alternate,Ws);break;case 1024:Ws.flags&=-1025;break;case 1028:Ws.flags&=-1025,Es(Ws.alternate,Ws);break;case 4:Es(Ws.alternate,Ws);break;case 8:ks(s,l=Ws);var k=l.alternate;vs(l),null!==k&&vs(k)}Ws=Ws.nextEffect}}catch(_){if(null===Ws)throw Error(o(330));Ll(Ws,_),Ws=Ws.nextEffect}}while(null!==Ws);if(x=Br,w=pr(),b=x.focusedElem,s=x.selectionRange,w!==b&&b&&b.ownerDocument&&fr(b.ownerDocument.documentElement,b)){null!==s&&dr(b)&&(w=s.start,void 0===(x=s.end)&&(x=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(x,b.value.length)):(x=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=b.textContent.length,k=Math.min(s.start,l),s=void 0===s.end?k:Math.min(s.end,l),!x.extend&&k>s&&(l=s,s=k,k=l),l=hr(b,k),a=hr(b,s),l&&a&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==a.node||x.focusOffset!==a.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),k>s?(x.addRange(w),x.extend(a.node,a.offset)):(w.setEnd(a.node,a.offset),x.addRange(w))))),w=[];for(x=b;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<w.length;b++)(x=w[b]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Xe=!!Vr,Br=Vr=null,t.current=n,Ws=r;do{try{for(b=t;null!==Ws;){var E=Ws.flags;if(36&E&&ds(b,Ws.alternate,Ws),128&E){w=void 0;var P=Ws.ref;if(null!==P){var S=Ws.stateNode;switch(Ws.tag){case 5:w=S;break;default:w=S}"function"===typeof P?P(w):P.current=w}}Ws=Ws.nextEffect}}catch(_){if(null===Ws)throw Error(o(330));Ll(Ws,_),Ws=Ws.nextEffect}}while(null!==Ws);Ws=null,Ri(),Ts=i}else t.current=n;if(Zs)Zs=!1,Qs=t,Ks=e;else for(Ws=r;null!==Ws;)e=Ws.nextEffect,Ws.nextEffect=null,8&Ws.flags&&((E=Ws).sibling=null,E.stateNode=null),Ws=e;if(0===(r=t.pendingLanes)&&(Xs=null),1===r?t===rl?nl++:(nl=0,rl=t):nl=0,n=n.stateNode,xi&&"function"===typeof xi.onCommitFiberRoot)try{xi.onCommitFiberRoot(wi,n,void 0,64===(64&n.current.flags))}catch(_){}if(pl(t,zi()),$s)throw $s=!1,t=Ys,Ys=null,t;return 0!==(8&Ts)||qi(),null}function Ml(){for(;null!==Ws;){var t=Ws.alternate;ll||null===sl||(0!==(8&Ws.flags)?te(Ws,sl)&&(ll=!0):13===Ws.tag&&Ss(t,Ws)&&te(Ws,sl)&&(ll=!0));var e=Ws.flags;0!==(256&e)&&ps(t,Ws),0===(512&e)||Zs||(Zs=!0,Hi(97,(function(){return Il(),null}))),Ws=Ws.nextEffect}}function Il(){if(90!==Ks){var t=97<Ks?97:Ks;return Ks=90,Ui(t,Rl)}return!1}function Dl(t,e){Js.push(e,t),Zs||(Zs=!0,Hi(97,(function(){return Il(),null})))}function Fl(t,e){tl.push(e,t),Zs||(Zs=!0,Hi(97,(function(){return Il(),null})))}function Rl(){if(null===Qs)return!1;var t=Qs;if(Qs=null,0!==(48&Ts))throw Error(o(331));var e=Ts;Ts|=32;var n=tl;tl=[];for(var r=0;r<n.length;r+=2){var i=n[r],a=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"===typeof s)try{s()}catch(u){if(null===a)throw Error(o(330));Ll(a,u)}}for(n=Js,Js=[],r=0;r<n.length;r+=2){i=n[r],a=n[r+1];try{var l=i.create;i.destroy=l()}catch(u){if(null===a)throw Error(o(330));Ll(a,u)}}for(l=t.current.firstEffect;null!==l;)t=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=t;return Ts=e,qi(),!0}function jl(t,e,n){la(t,e=us(0,e=os(n,e),1)),e=ul(),null!==(t=fl(t,1))&&(Ue(t,1,e),pl(t,e))}function Ll(t,e){if(3===t.tag)jl(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){jl(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Xs||!Xs.has(r))){var i=cs(n,t=os(e,t),1);if(la(n,i),i=ul(),null!==(n=fl(n,1)))Ue(n,1,i),pl(n,i);else if("function"===typeof r.componentDidCatch&&(null===Xs||!Xs.has(r)))try{r.componentDidCatch(e,t)}catch(a){}break}}n=n.return}}function Vl(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),e=ul(),t.pingedLanes|=t.suspendedLanes&n,Os===t&&(Is&n)===n&&(4===Rs||3===Rs&&(62914560&Is)===Is&&500>zi()-Gs?xl(t,0):zs|=n),pl(t,e)}function Bl(t,e){var n=t.stateNode;null!==n&&n.delete(e),0===(e=0)&&(0===(2&(e=t.mode))?e=1:0===(4&e)?e=99===Ni()?1:2:(0===al&&(al=Ls),0===(e=Ne(62914560&~al))&&(e=4194304))),n=ul(),null!==(t=fl(t,e))&&(Ue(t,e,n),pl(t,n))}function zl(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 4,637 bytes, line 2
2ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Nl(t,e,n,r){return new zl(t,e,n,r)}function Gl(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Ul(t,e){var n=t.alternate;return null===n?((n=Nl(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Hl(t,e,n,r,i,a){var s=2;if(r=t,"function"===typeof t)Gl(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case P:return ql(n.children,i,a,e);case j:s=8,i|=16;break;case S:s=8,i|=1;break;case _:return(t=Nl(12,n,e,8|i)).elementType=_,t.type=_,t.lanes=a,t;case O:return(t=Nl(13,n,e,i)).type=O,t.elementType=O,t.lanes=a,t;case M:return(t=Nl(19,n,e,i)).elementType=M,t.lanes=a,t;case L:return Wl(n,i,a,e);case V:return(t=Nl(24,n,e,i)).elementType=V,t.lanes=a,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case C:s=10;break t;case A:s=9;break t;case T:s=11;break t;case I:s=14;break t;case D:s=16,r=null;break t;case F:s=22;break t}throw Error(o(130,null==t?t:typeof t,""))}return(e=Nl(s,n,e,i)).elementType=t,e.type=r,e.lanes=a,e}function ql(t,e,n,r){return(t=Nl(7,t,r,e)).lanes=n,t}function Wl(t,e,n,r){return(t=Nl(23,t,r,e)).elementType=L,t.lanes=n,t}function $l(t,e,n){return(t=Nl(6,t,null,e)).lanes=n,t}function Yl(t,e,n){return(e=Nl(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Xl(t,e,n){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ge(0),this.expirationTimes=Ge(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ge(0),this.mutableSourceEagerHydrationData=null}function Zl(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}function Ql(t,e,n,r){var i=e.current,a=ul(),s=cl(i);t:if(n){e:{if(Zt(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(di(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(null!==l);throw Error(o(171))}if(1===n.tag){var u=n.type;if(di(u)){n=vi(n,u,l);break t}}n=l}else n=ui;return null===e.context?e.context=n:e.pendingContext=n,(e=sa(a,s)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),la(i,e),hl(i,s,a),s}function Kl(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function Jl(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function tu(t,e){Jl(t,e),(t=t.alternate)&&Jl(t,e)}function eu(t,e,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Xl(t,e,null!=n&&!0===n.hydrate),e=Nl(3,null,null,2===e?7:1===e?3:0),n.current=e,e.stateNode=n,aa(e),t[Qr]=n.current,Tr(8===t.nodeType?t.parentNode:t),r)for(t=0;t<r.length;t++){var i=(e=r[t])._getVersion;i=i(e._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[e,i]:n.mutableSourceEagerHydrationData.push(e,i)}this._internalRoot=n}function nu(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function ru(t,e,n,r,i){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"===typeof i){var s=i;i=function(){var t=Kl(o);s.call(t)}}Ql(e,o,t,i)}else{if(a=n._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var n;n=t.lastChild;)t.removeChild(n);return new eu(t,0,e?{hydrate:!0}:void 0)}(n,r),o=a._internalRoot,"function"===typeof i){var l=i;
vendor: 4,384 bytes, line 2
2i=function(){var t=Kl(o);l.call(t)}}gl((function(){Ql(e,o,t,i)}))}return Kl(o)}function iu(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nu(e))throw Error(o(200));return Zl(t,e,null,n)}qs=function(t,e,n){var r=e.lanes;if(null!==t)if(t.memoizedProps!==e.pendingProps||hi.current)Fo=!0;else{if(0===(n&r)){switch(Fo=!1,e.tag){case 3:Ho(e),Ha();break;case 5:Ia(e);break;case 1:di(e.type)&&gi(e);break;case 4:Oa(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value;var i=e.type._context;li(Xi,i._currentValue),i._currentValue=r;break;case 13:if(null!==e.memoizedState)return 0!==(n&e.child.childLanes)?Xo(t,e,n):(li(Fa,1&Fa.current),null!==(e=ns(t,e,n))?e.sibling:null);li(Fa,1&Fa.current);break;case 19:if(r=0!==(n&e.childLanes),0!==(64&t.flags)){if(r)return es(t,e,n);e.flags|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),li(Fa,Fa.current),r)break;return null;case 23:case 24:return e.lanes=0,Bo(t,e,n)}return ns(t,e,n)}Fo=0!==(16384&t.flags)}else Fo=!1;switch(e.lanes=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=pi(e,ci.current),na(e,n),i=ro(null,e,r,t,i,n),e.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,di(r)){var a=!0;gi(e)}else a=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,aa(e);var s=r.getDerivedStateFromProps;"function"===typeof s&&pa(e,r,s,t),i.updater=da,e.stateNode=i,i._reactInternals=e,ga(e,r,t,n),e=Uo(null,e,r,!0,a,n)}else e.tag=0,Ro(null,e,i,n),e=e.child;return e;case 16:i=e.elementType;t:{switch(null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=(a=i._init)(i._payload),e.type=i,a=e.tag=function(t){if("function"===typeof t)return Gl(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===T)return 11;if(t===I)return 14}return 2}(i),t=Yi(i,t),a){case 0:e=No(null,e,i,t,n);break t;case 1:e=Go(null,e,i,t,n);break t;case 11:e=jo(null,e,i,t,n);break t;case 14:e=Lo(null,e,i,Yi(i.type,t),r,n);break t}throw Error(o(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,No(t,e,r,i=e.elementType===r?i:Yi(r,i),n);case 1:return r=e.type,i=e.pendingProps,Go(t,e,r,i=e.elementType===r?i:Yi(r,i),n);case 3:if(Ho(e),r=e.updateQueue,null===t||null===r)throw Error(o(282));if(r=e.pendingProps,i=null!==(i=e.memoizedState)?i.element:null,oa(t,e),ca(e,r,null,n),(r=e.memoizedState.element)===i)Ha(),e=ns(t,e,n);else{if((a=(i=e.stateNode).hydrate)&&(La=qr(e.stateNode.containerInfo.firstChild),ja=e,a=Va=!0),a){if(null!=(t=i.mutableSourceEagerHydrationData))for(i=0;i<t.length;i+=2)(a=t[i])._workInProgressVersionPrimary=t[i+1],qa.push(a);for(n=Pa(e,null,r,n),e.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ro(t,e,r,n),Ha();e=e.child}return e;case 5:return Ia(e),null===t&&Na(e),r=e.type,i=e.pendingProps,a=null!==t?t.memoizedProps:null,s=i.children,Nr(r,i)?s=null:null!==a&&Nr(r,a)&&(e.flags|=16),zo(t,e),Ro(t,e,s,n),e.child;case 6:return null===t&&Na(e),null;case 13:return Xo(t,e,n);case 4:return Oa(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Ea(e,null,r,n):Ro(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,jo(t,e,r,i=e.elementType===r?i:Yi(r,i),n);case 7:return Ro(t,e,e.pendingProps,n),e.child;case 8:case 12:return Ro(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,i=e.pendingProps,s=e.memoizedProps,a=i.value;var l=e.type._context;if(li(Xi,l._currentValue),l._currentValue=a,null!==s)if(l=s.value,0===(a=sr(l,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(s.children===i.children&&!hi.current){e=ns(t,e,n);break t}}else for(null!==(l=e.child)&&(l.return=e);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&a)){1===l.tag&&((c=sa(-1,n&-n)).tag=2,la(l,c)),l.lanes|=n,null!==(c=l.alternate)&&(c.lanes|=n),ea(l.return,n),u.lanes|=n;break}c=c.next}}else s=10===l.tag&&l.type===e.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===e){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Ro(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=(a=e.pendingProps).children,na(e,n),r=r(i=ra(i,a.unstable_observedBits)),e.flags|=1,Ro(t,e,r,n),e.child;
vendor: 8,504 bytes, line 2
2case 14:return a=Yi(i=e.type,e.pendingProps),Lo(t,e,i,a=Yi(i.type,a),r,n);case 15:return Vo(t,e,e.type,e.pendingProps,r,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Yi(r,i),null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),e.tag=1,di(r)?(t=!0,gi(e)):t=!1,na(e,n),ya(e,r,i),ga(e,r,i,n),Uo(null,e,r,!0,t,n);case 19:return es(t,e,n);case 23:case 24:return Bo(t,e,n)}throw Error(o(156,e.tag))},eu.prototype.render=function(t){Ql(t,this._internalRoot,null,null)},eu.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;Ql(null,t,null,(function(){e[Qr]=null}))},ee=function(t){13===t.tag&&(hl(t,4,ul()),tu(t,4))},ne=function(t){13===t.tag&&(hl(t,67108864,ul()),tu(t,67108864))},re=function(t){if(13===t.tag){var e=ul(),n=cl(t);hl(t,n,e),tu(t,n)}},ie=function(t,e){return e()},Ct=function(t,e,n){switch(e){case"input":if(nt(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=ni(r);if(!i)throw Error(o(90));Q(r),nt(r,i)}}}break;case"textarea":ut(t,n);break;case"select":null!=(e=n.value)&&ot(t,!!n.multiple,e,!1)}},Dt=vl,Ft=function(t,e,n,r,i){var a=Ts;Ts|=4;try{return Ui(98,t.bind(null,e,n,r,i))}finally{0===(Ts=a)&&(Hs(),qi())}},Rt=function(){0===(49&Ts)&&(function(){if(null!==el){var t=el;el=null,t.forEach((function(t){t.expiredLanes|=24&t.pendingLanes,pl(t,zi())}))}qi()}(),Il())},jt=function(t,e){var n=Ts;Ts|=2;try{return t(e)}finally{0===(Ts=n)&&(Hs(),qi())}};var au={Events:[ti,ei,ni,Mt,It,Il,{current:!1}]},ou={findFiberByHostInstance:Jr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},su={bundleType:ou.bundleType,version:ou.version,rendererPackageName:ou.rendererPackageName,rendererConfig:ou.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=Jt(t))?null:t.stateNode},findFiberByHostInstance:ou.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lu.isDisabled&&lu.supportsFiber)try{wi=lu.inject(su),xi=lu}catch(yt){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=au,e.createPortal=iu,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if("function"===typeof t.render)throw Error(o(188));throw Error(o(268,Object.keys(t)))}return t=null===(t=Jt(e))?null:t.stateNode},e.flushSync=function(t,e){var n=Ts;if(0!==(48&n))return t(e);Ts|=1;try{if(t)return Ui(99,t.bind(null,e))}finally{Ts=n,qi()}},e.hydrate=function(t,e,n){if(!nu(e))throw Error(o(200));return ru(null,t,e,!0,n)},e.render=function(t,e,n){if(!nu(e))throw Error(o(200));return ru(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!nu(t))throw Error(o(40));return!!t._reactRootContainer&&(gl((function(){ru(null,null,t,!1,(function(){t._reactRootContainer=null,t[Qr]=null}))})),!0)},e.unstable_batchedUpdates=vl,e.unstable_createPortal=function(t,e){return iu(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!nu(n))throw Error(o(200));if(null==t||void 0===t._reactInternals)throw Error(o(38));return ru(t,e,n,!1,r)},e.version="17.0.2"},function(t,e,n){"use strict";t.exports=n(120)},function(t,e,n){"use strict";var r,i,a,o;if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,h=null,f=function t(){if(null!==c)try{var n=e.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(t,0),r}};r=function(t){null!==c?setTimeout(r,0,t):(c=t,setTimeout(f,0))},i=function(t,e){h=setTimeout(t,e)},a=function(){clearTimeout(h)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,d=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,v=null,g=-1,b=5,w=0;e.unstable_shouldYield=function(){return e.unstable_now()>=w},o=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<t?Math.floor(1e3/t):5};var x=new MessageChannel,k=x.port2;x.port1.onmessage=function(){if(null!==v){var t=e.unstable_now();w=t+b;try{v(!0,t)?k.postMessage(null):(y=!1,v=null)}catch(n){throw k.postMessage(null),n}}else y=!1},r=function(t){v=t,y||(y=!0,k.postMessage(null))},i=function(t,n){g=p((function(){t(e.unstable_now())}),n)},a=function(){d(g),g=-1}}function E(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,i=t[r];if(!(void 0!==i&&0<_(i,e)))break t;t[r]=e,t[n]=i,n=r}}function P(t){return void 0===(t=t[0])?null:t}function S(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length;r<i;){var a=2*(r+1)-1,o=t[a],s=a+1,l=t[s];if(void 0!==o&&0>_(o,n))void 0!==l&&0>_(l,o)?(t[r]=l,t[s]=n,r=s):(t[r]=o,t[a]=n,r=a);else{if(!(void 0!==l&&0>_(l,n)))break t;t[r]=l,t[s]=n,r=s}}}return e}return null}function _(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var C=[],A=[],T=1,O=null,M=3,I=!1,D=!1,F=!1;function R(t){for(var e=P(A);null!==e;){if(null===e.callback)S(A);else{if(!(e.startTime<=t))break;S(A),e.sortIndex=e.expirationTime,E(C,e)}e=P(A)}}function j(t){if(F=!1,R(t),!D)if(null!==P(C))D=!0,r(L);else{var e=P(A);null!==e&&i(j,e.startTime-t)}}function L(t,n){D=!1,F&&(F=!1,a()),I=!0;var r=M;try{for(R(n),O=P(C);null!==O&&(!(O.expirationTime>n)||t&&!e.unstable_shouldYield());){var o=O.callback;if("function"===typeof o){O.callback=null,M=O.priorityLevel;var s=o(O.expirationTime<=n);n=e.unstable_now(),"function"===typeof s?O.callback=s:O===P(C)&&S(C),R(n)}else S(C);O=P(C)}if(null!==O)var l=!0;else{var u=P(A);null!==u&&i(j,u.startTime-n),l=!1}return l}finally{O=null,M=r,I=!1}}var V=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){D||I||(D=!0,r(L))},e.unstable_getCurrentPriorityLevel=function(){return M},e.unstable_getFirstCallbackNode=function(){return P(C)},e.unstable_next=function(t){switch(M){case 1:case 2:case 3:var e=3;break;default:e=M}var n=M;M=e;try{return t()}finally{M=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=V,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=M;M=t;try{return e()}finally{M=n}},e.unstable_scheduleCallback=function(t,n,o){var s=e.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?s+o:s:o=s,t){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return t={id:T++,callback:n,priorityLevel:t,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>s?(t.sortIndex=o,E(A,t),null===P(C)&&t===P(A)&&(F?a():F=!0,i(j,o-s))):(t.sortIndex=l,E(C,t),D||I||(D=!0,r(L))),t},e.unstable_wrapCallback=function(t){var e=M;return function(){var n=M;M=e;try{return t.apply(this,arguments)}finally{M=n}}}},,function(t,e,n){"use strict";n(62);var r=n(4),i=60103;if(e.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var a=Symbol.for;i=a("react.element"),e.Fragment=a("react.fragment")}var o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(t,e,n){var r,a={},u=null,c=null;
vendor: 4,634 bytes, line 2
2for(r in void 0!==n&&(u=""+n),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(c=e.ref),e)s.call(e,r)&&!l.hasOwnProperty(r)&&(a[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:i,type:t,key:u,ref:c,props:a,_owner:o.current}}e.jsx=u,e.jsxs=u},function(t,e,n){"use strict";var r=n(124);function i(){}function a(){}a.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},function(t,e,n){"use strict";t.exports=n(127)},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,h=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function k(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case h:case f:case o:case l:case s:case d:return t;default:switch(t=t&&t.$$typeof){case c:case p:case v:case y:case u:return t;default:return e}}case a:return e}}}function E(t){return k(t)===f}e.AsyncMode=h,e.ConcurrentMode=f,e.ContextConsumer=c,e.ContextProvider=u,e.Element=i,e.ForwardRef=p,e.Fragment=o,e.Lazy=v,e.Memo=y,e.Portal=a,e.Profiler=l,e.StrictMode=s,e.Suspense=d,e.isAsyncMode=function(t){return E(t)||k(t)===h},e.isConcurrentMode=E,e.isContextConsumer=function(t){return k(t)===c},e.isContextProvider=function(t){return k(t)===u},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return k(t)===p},e.isFragment=function(t){return k(t)===o},e.isLazy=function(t){return k(t)===v},e.isMemo=function(t){return k(t)===y},e.isPortal=function(t){return k(t)===a},e.isProfiler=function(t){return k(t)===l},e.isStrictMode=function(t){return k(t)===s},e.isSuspense=function(t){return k(t)===d},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===f||t===l||t===s||t===d||t===m||"object"===typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===y||t.$$typeof===u||t.$$typeof===c||t.$$typeof===p||t.$$typeof===b||t.$$typeof===w||t.$$typeof===x||t.$$typeof===g)},e.typeOf=k},function(t,e,n){"use strict";t.exports=n(129)},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,h=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function k(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case h:case f:case o:case l:case s:case d:return t;default:switch(t=t&&t.$$typeof){case c:case p:case v:case y:case u:return t;default:return e}}case a:return e}}}function E(t){return k(t)===f}e.AsyncMode=h,e.ConcurrentMode=f,e.ContextConsumer=c,e.ContextProvider=u,e.Element=i,e.ForwardRef=p,e.Fragment=o,e.Lazy=v,e.Memo=y,e.Portal=a,e.Profiler=l,e.StrictMode=s,e.Suspense=
2d,e.isAsyncMode=function(t){return E(t)||k(t)===h},e.isConcurrentMode=E,e.isContextConsumer=function(t){return k(t)===c},e.isContextProvider=function(t){return k(t)===u},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return k(t)===p},e.isFragment=function(t){return k(t)===o},e.isLazy=function(t){return k(t)===v},e.isMemo=function(t){return k(t)===y},e.isPortal=function(t){return k(t)===a},e.isProfiler=function(t){return k(t)===l},e.isStrictMode=function(t){return k(t)===s},e.isSuspense=function(t){return k(t)===d},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===f||t===l||t===s||t===d||t===m||"object"===typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===y||t.$$typeof===u||t.$$typeof===c||t.$$typeof===p||t.$$typeof===b||t.$$typeof===w||t.$$typeof===x||t.$$typeof===g)},e.typeOf=k},function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(131),a=(r=i)&&r.__esModule?r:{default:r};e.default=a.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){t.exports={default:n(132),__esModule:!0}},function(t,e,n){n(133),t.exports=n(21).Object.assign},function(t,e,n){var r=n(30);r(r.S+r.F,"Object",{assign:n(135)})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(28),i=n(51),a=n(69),o=n(54),s=n(55),l=n(87),u=Object.assign;t.exports=!u||n(36)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=s(t),u=arguments.length,c=1,h=a.f,f=o.f;u>c;)for(var p,d=l(arguments[c++]),m=h?i(d).concat(h(d)):i(d),y=m.length,v=0;y>v;)p=m[v++],r&&!f.call(d,p)||(n[p]=d[p]);return n}:u},function(t,e,n){var r=n(37),i=n(137),a=n(138);t.exports=function(t){return function(e,n,o){var s,l=r(e),u=i(l.length),c=a(o,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var r=n(65),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(65),i=Math.max,a=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):a(t,e)}},function(t,e,n){t.exports={default:n(140),__esModule:!0}},function(t,e,n){n(141),t.exports=n(21).Object.getPrototypeOf},function(t,e,n){var r=n(55),i=n(89);n(142)("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(30),i=n(21),a=n(36);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],o={};o[t]=e(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(145),a=(r=i)&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,a.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){t.exports={default:n(146),__esModule:!0}},function(t,e,n){n(147);var r=n(21).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(30);r(r.S+r.F*!n(28),"Object",{defineProperty:n(31).f})},function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(90),a=(r=i)&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"===typeof e?"undefined":(0,a.default)(e))&&"function"!==typeof e?t:e}},function(t,e,n){t.exports={default:n(150),__esModule:!0}},function(t,e,n){n(151),n(156),t.exports=n(73).f("iterator")},function(t,e,n){"use strict";var r=n(152)(!0);n(91)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(65),i=n(64);t.exports=function(t){return function(e,n){var a,o,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(a=s.charCodeAt(l))<55296||a>
vendor: 5,402 bytes, line 2
256319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?t?s.charAt(l):a:t?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(71),i=n(50),a=n(72),o={};n(34)(o,n(38)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(o,{next:i(1,n)}),a(t,e+" Iterator")}},function(t,e,n){var r=n(31),i=n(44),a=n(51);t.exports=n(28)?Object.defineProperties:function(t,e){i(t);for(var n,o=a(e),s=o.length,l=0;s>l;)r.f(t,n=o[l++],e[n]);return t}},function(t,e,n){var r=n(27).document;t.exports=r&&r.documentElement},function(t,e,n){n(157);for(var r=n(27),i=n(34),a=n(70),o=n(38)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],h=c&&c.prototype;h&&!h[o]&&i(h,o,u),a[u]=a.Array}},function(t,e,n){"use strict";var r=n(158),i=n(159),a=n(70),o=n(37);t.exports=n(91)(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports={default:n(161),__esModule:!0}},function(t,e,n){n(162),n(167),n(168),n(169),t.exports=n(21).Symbol},function(t,e,n){"use strict";var r=n(27),i=n(32),a=n(28),o=n(30),s=n(92),l=n(163).KEY,u=n(36),c=n(67),h=n(72),f=n(53),p=n(38),d=n(73),m=n(74),y=n(164),v=n(165),g=n(44),b=n(35),w=n(55),x=n(37),k=n(63),E=n(50),P=n(71),S=n(166),_=n(94),C=n(69),A=n(31),T=n(51),O=_.f,M=A.f,I=S.f,D=r.Symbol,F=r.JSON,R=F&&F.stringify,j=p("_hidden"),L=p("toPrimitive"),V={}.propertyIsEnumerable,B=c("symbol-registry"),z=c("symbols"),N=c("op-symbols"),G=Object.prototype,U="function"==typeof D&&!!C.f,H=r.QObject,q=!H||!H.prototype||!H.prototype.findChild,W=a&&u((function(){return 7!=P(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(G,e);r&&delete G[e],M(t,e,n),r&&t!==G&&M(G,e,r)}:M,$=function(t){var e=z[t]=P(D.prototype);return e._k=t,e},Y=U&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},X=function(t,e,n){return t===G&&X(N,e,n),g(t),e=k(e,!0),g(n),i(z,e)?(n.enumerable?(i(t,j)&&t[j][e]&&(t[j][e]=!1),n=P(n,{enumerable:E(0,!1)})):(i(t,j)||M(t,j,E(1,{})),t[j][e]=!0),W(t,e,n)):M(t,e,n)},Z=function(t,e){g(t);for(var n,r=y(e=x(e)),i=0,a=r.length;a>i;)X(t,n=r[i++],e[n]);return t},Q=function(t){var e=V.call(this,t=k(t,!0));return!(this===G&&i(z,t)&&!i(N,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,j)&&this[j][t])||e)},K=function(t,e){if(t=x(t),e=k(e,!0),t!==G||!i(z,e)||i(N,e)){var n=O(t,e);return!n||!i(z,e)||i(t,j)&&t[j][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=I(x(t)),r=[],a=0;n.length>a;)i(z,e=n[a++])||e==j||e==l||r.push(e);return r},tt=function(t){for(var e,n=t===G,r=I(n?N:x(t)),a=[],o=0;r.length>o;)!i(z,e=r[o++])||n&&!i(G,e)||a.push(z[e]);return a};U||(s((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function e(n){this===G&&e.call(N,n),i(this,j)&&i(this[j],t)&&(this[j][t]=!1),W(this,t,E(1,n))};return a&&q&&W(G,t,{configurable:!0,set:e}),$(t)}).prototype,"toString",(function(){return this._k})),_.f=K,A.f=X,n(93).f=S.f=J,n(54).f=Q,C.f=tt,a&&!n(52)&&s(G,"propertyIsEnumerable",Q,!0),d.f=function(t){return $(p(t))}),o(o.G+o.W+o.F*!U,{Symbol:D});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=T(p.store),it=0;rt.length>it;)m(rt[it++]);o(o.S+o.F*!U,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=D(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),o(o.S+o.F*!U,"Object",{create:function(t,e){return void 0===e?P(t):Z(P(t),e)},defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:K,getOwnPropertyNames:J,getOwnPropertySymbols:tt});var at=u((function(){C.f(1)}));o(o.S+o.F*at,"Object",{getOwnPropertySymbols:function(t){return C.f(w(t))}}),F&&o(o.S+o.F*(!U||u((function(){var t=D();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!Y(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,R.apply(F,r)}}),D.prototype[L]||n(34)(D.prototype,L,D.prototype.valueOf),h(D,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(t,e,n){var r=n(53)("meta"),i=n(35),a=n(32),o=n(31).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(36)((function(){return l(Object.preventExtensions({}))})),c=function(t){o(t,r,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("str
2ing"==typeof t?"S":"P")+t;if(!a(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return u&&h.NEED&&l(t)&&!a(t,r)&&c(t),t}}},function(t,e,n){var r=n(51),i=n(69),a=n(54);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var o,s=n(t),l=a.f,u=0;s.length>u;)l.call(t,o=s[u++])&&e.push(o);return e}},function(t,e,n){var r=n(88);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(37),i=n(93).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"[object Window]"==a.call(t)?function(t){try{return i(t)}catch(e){return o.slice()}}(t):i(r(t))}},function(t,e){},function(t,e,n){n(74)("asyncIterator")},function(t,e,n){n(74)("observable")},function(t,e,n){"use strict";e.__esModule=!0;var r=o(n(171)),i=o(n(175)),a=o(n(90));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof e?"undefined":(0,a.default)(e)));t.prototype=(0,i.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(r.default?(0,r.default)(t,e):t.__proto__=e)}},function(t,e,n){t.exports={default:n(172),__esModule:!0}},function(t,e,n){n(173),t.exports=n(21).Object.setPrototypeOf},function(t,e,n){var r=n(30);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(t,e,n){var r=n(35),i=n(44),a=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(83)(Function.call,n(94).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},function(t,e,n){t.exports={default:n(176),__esModule:!0}},function(t,e,n){n(177);var r=n(21).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(30);r(r.S,"Object",{create:n(71)})},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,root,factory;"undefined"!==typeof navigator&&(root=window||{},factory=function(window){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,idPrefix="",expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bmRnd,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=e.length;for(t=0;t<n;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===typeof t&&t.length){var e,n=createSizedArray(t.length),r=t.length;for(e=0;e<r;e+=1)n[e]=Math.abs(t[e]);return n}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){bmRnd=t?Math.round:function(t){return t}}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,n,r){this.type=t,this.currentTime=e,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,n,r){this.type=t,this.currentLoop=n,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,n){this.type=t,this.firstFrame=e,this.totalFrames=n}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}roundValues(!1);var createElementID=function(){var t=0;return function(){return idPrefix+"__lottie_element_"+(t+=1)}}();function HSVtoRGB(t,e,n){var r,i,a,o,s,l,u,c;switch(l=n*(1-e),u=n*(1-(s=6*t-(o=Math.floor(6*t)))*e),c=n*(1-(1-s)*e),o%6){case 0:r=n,i=c,a=l;break;case 1:r=u,i=n,a=l;break;case 2:r=l,i=n,a=c;break;case 3:r=l,i=u,a=n;break;case 4:r=c,i=l,a=n;break;case 5:r=n,i=l,a=u}return[r,i,a]}function RGBtoHSV(t,e,n){var r,i=Math.max(t,e,n),a=Math.min(t,e,n),o=i-a,s=0===i?0:o/i,l=i/255;switch(i){case a:r=0;break;case t:r=e-n+o*(e<n?6:0),r/=6*o;break;case e:r=n-t+2*o,r/=6*o;break;case n:r=t-e+4*o,r/=6*o}return[r,s,l]}function addSaturationToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[1]+=e,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[2]+=e,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[0]+=e/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var t,e,n=[];for(t=0;t<256;t+=1)e=t.toString(16),n[t]=1===e.length?"0"+e:e;return function(t,e,r){return t<0&&(t=0),e<0&&(e=0),r<0&&(r=0),"#"+n[t]+n[e]+n[r]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var n=this._cbs[t],r=0;r<n.length;r+=1)n[r](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var n=0,r=this._cbs[t].length;n<r;)this._cbs[t][n]===e&&(this._cbs[t].splice(n,1),n-=1,r-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var createTypedArray=function(){function t(t,e){var n,r=0,i=[];switch(t){case"int16":case"uint8c":n=1;break;default:n=1.1}for(r=0;r<e;r+=1)i.push(n);return i}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(e,n){return"float32"===e?new Float32Array(n):"int16"===e?new Int16Array(n):"uint8c"===e?new Uint8ClampedArray(n):t(e,n)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function createNS(t){return document.createElementNS(svgNS,t)}function createTag(t){return document.createElement(t)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};
vendor: 12,143 bytes, line 2
2var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}(),lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"},Matrix=function(){var t=Math.cos,e=Math.sin,n=Math.tan,r=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function o(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(1,0,0,0,0,r,-i,0,0,i,r,0,0,0,0,1)}function s(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,0,i,0,0,1,0,0,-i,0,r,0,0,0,0,1)}function l(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function u(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(n(t),n(e))}function h(r,i){var a=t(i),o=e(i);return this._t(a,o,0,0,-o,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(r),1,0,0,0,0,1,0,0,0,0,1)._t(a,-o,0,0,o,a,0,0,0,0,1,0,0,0,0,1)}function f(t,e,n){return n||0===n||(n=1),1===t&&1===e&&1===n?this:this._t(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1)}function p(t,e,n,r,i,a,o,s,l,u,c,h,f,p,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=n,this.props[3]=r,this.props[4]=i,this.props[5]=a,this.props[6]=o,this.props[7]=s,this.props[8]=l,this.props[9]=u,this.props[10]=c,this.props[11]=h,this.props[12]=f,this.props[13]=p,this.props[14]=d,this.props[15]=m,this}function d(t,e,n){return n=n||0,0!==t||0!==e||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1):this}function m(t,e,n,r,i,a,o,s,l,u,c,h,f,p,d,m){var y=this.props;if(1===t&&0===e&&0===n&&0===r&&0===i&&1===a&&0===o&&0===s&&0===l&&0===u&&1===c&&0===h)return y[12]=y[12]*t+y[15]*f,y[13]=y[13]*a+y[15]*p,y[14]=y[14]*c+y[15]*d,y[15]*=m,this._identityCalculated=!1,this;var v=y[0],g=y[1],b=y[2],w=y[3],x=y[4],k=y[5],E=y[6],P=y[7],S=y[8],_=y[9],C=y[10],A=y[11],T=y[12],O=y[13],M=y[14],I=y[15];return y[0]=v*t+g*i+b*l+w*f,y[1]=v*e+g*a+b*u+w*p,y[2]=v*n+g*o+b*c+w*d,y[3]=v*r+g*s+b*h+w*m,y[4]=x*t+k*i+E*l+P*f,y[5]=x*e+k*a+E*u+P*p,y[6]=x*n+k*o+E*c+P*d,y[7]=x*r+k*s+E*h+P*m,y[8]=S*t+_*i+C*l+A*f,y[9]=S*e+_*a+C*u+A*p,y[10]=S*n+_*o+C*c+A*d,y[11]=S*r+_*s+C*h+A*m,y[12]=T*t+O*i+M*l+I*f,y[13]=T*e+O*a+M*u+I*p,y[14]=T*n+O*o+M*c+I*d,y[15]=T*r+O*s+M*h+I*m,this._identityCalculated=!1,this}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function g(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function w(t,e,n){return{x:t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}}function x(t,e,n){return t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12]}function k(t,e,n){return t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13]}function E(t,e,n){return t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}function P(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,n=-this.props[1]/t,r=-this.props[4]/t,i=this.props[0]/t,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,o=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Matrix;return s.props[0]=e,s.props[1]=n,s.props[4]=r,s.props[5]=i,s.props[12]=a,s.props[13]=o,s}function S(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function _(t){var e,n=t.length,r=[];for(e=0;e<n;e+=1)r[e]=S(t[e]);return r}function C(t,e,n){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=t[0],r[1]=t[1],r[2]=e[0],r[3]=e[1],r[4]=n[0],r[5]=n[1];else{var i=this.props[0],a=this.props[1],o=this.props[4],s=this.props[5],l=this.props[12],u=this.props[13];r[0]=t[0]*i+t[1]*o+l,r[1]=t[0]*a+t[1]*s+u,r[2]=e[0]*i+e[1]*o+l,r[3]=e[0]*a+e[1]*s+u,r[4]=n[0]*i+n[1]*o+l,r[5]=n[0]*a+n[1]*s+u}return r}function A(t,e,n){return this.isIdentity()?[t,e,n]:[t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]]}function T(t,e){if(this.isIdentity())return t+","+e;var n=this.props;return Math.round(100*(t*n[0]+e*n[4]+n[12]))/100+","+Math.round(100*(t*n[1]+e*n[5]+n[13]))/100}function O(){for(var t=0,e=this.props,n="matrix3d(";t<16;)n+=r(1e4*e[t])/1e4,n+=15===t?")":",",t+=1;return n}function M(t){return t<1e-6&&t>0||t>-1e-6&&t<0?r(1e4*t)/1e4:t}function I(){var t=this.props;return"matrix("+M(t[0])+","+M(t[1])+","+M(t[4])+","+M(t[5])+","+M(t[12])+","+M(t[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=o,this.rotateY=s,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=w,this.applyToX=x,this.applyToY=k,this.applyToZ=E,this.applyToPointArray=A,this.applyToTriplePoints=C,this.applyToPointStringified=T,this.toCSS=O,this.to2dCSS=I,this.clone=g,this.cloneFromProps=b,this.equals=v,this.inversePoints=_,this.inversePoint=S,this.getInverseMatrix=P,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(t,e){var n=this,r=256,i=e.pow(r,6),a=e.pow(2,52),o=2*a,s=255;function l(t){var e,n=t.length,i=this,a=0,o=i.i=i.j=0,l=i.S=[];for(n||(t=[n++]);a<r;)l[a]=a++;for(a=0;a<r;a++)l[a]=l[o=s&o+t[a%n]+(e=l[a])],l[o]=e;i.g=function(t){for(var e,n=0,a=i.i,o=i.j,l=i.S;t--;)e=l[a=s&a+1],n=n*r+l[s&(l[a]=l[o=s&o+e])+(l[o]=e)];return i.i=a,i.j=o,n}}function u(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function c(t,e){var n,r=[],i=typeof t;if(e&&"object"==i)for(n in t)try{r.push(c(t[n],e-1))}catch(a){}return r.length?r:"string"==i?t:t+"\0"}function h(t,e){for(var n,r=t+"",i=0;i<r.length;)e[s&i]=s&(n^=19*e[s&i])+r.charCodeAt(i++);return f(e)}function f(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(s,p,d){var m=[],y=h(c((p=!0===p?{entropy:!0}:p||{}).entropy?[s,f(t)]:null===s?function(){try{var e=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(e),f(e)}catch(o){var i=n.navigator,a=i&&i.plugins;return[+new Date,n,a,n.screen,f(t)]}}():s,3),m),v=new l(m),g=function(){for(var t=v.g(6),e=i,n=0;t<a;)t=(t+n)*r,e*=r,n=v.g(1);for(;t>=o;)t/=2,e/=2,n>>>=1;return(t+n)/e};return g.int32=function(){return 0|v.g(4)},g.quick=function(){return v.g(4)/4294967296},g.double=g,h(f(v.S),t),(p.pass||d||function(t,n,r,i){return i&&(i.S&&u(i,v),t.state=function(){return u(v,{})}),r?(e.random=t,n):t})(g,y,"global"in p?p.global:this==e,p.state)},h(e.random(),t)}([],BMMath);var BezierFactory=function(){var t={getBezierEasing:function(t,n,r,i,a){var o=a||("bez_"+t+"_"+n+"_"+r+"_"+i).replace(/\./g,"p");if(e[o])return e[o];var s=new u([t,n,r,i]);return e[o]=s,s}},e={},n=.1,r="function"===typeof Float32Array;function i(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function o(t){return 3*t}function s(t,e,n){return((i(e,n)*t+a(e,n))*t+o(e))*t}function l(t,e,n){return 3*i(e,n)*t*t+2*a(e,n)*t+o(e)}function u(t){this._p=t,this._mSampleValues=r?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(t){var e=this._p[0],n=this._p[1],r=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),e===n&&r===i?t:0===t?0:1===t?1:s(this._getTForX(t),n,i)},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,t===e&&n===r||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<11;++r)this._mSampleValues[r]=s(r*n,t,e)},_getTForX:function(t){for(var e=this._p[0],r=this._p[2],i=this._mSampleValues,a=0,o=1;10!==o&&i[o]<=t;++o)a+=n;var u=a+(t-i[--o])/(i[o+1]-i[o])*n,c=l(u,e,r);return c>=.001?function(t,e,n,r){for(var i=0;i<4;++i){var a=l(e,n,r);if(0===a)return e;e-=(s(e,n,r)-t)/a}return e}(t,u,e,r):0===c?u:function(t,e,n,r,i){var a,o,l=0;do{(a=s(o=e+(n-e)/2,r,i)-t)>0?n=o:e=o}while(Math.abs(a)>1e-7&&++l<10);return o}(t,a,a+n,e,r)}},t}();function extendPrototype(t,e){var n,r,i=t.length;for(n=0;n<i;n+=1)for(var a in r=t[n].prototype)Object.prototype.hasOwnProperty.call(r,a)&&(e.prototype[a]=r[a])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function bezFunction(){var t=Math;function e(t,e,n,r,i,a){var o=t*r+e*i+n*a-i*r-a*t-n*e;return o>-.001&&o<.001}var n=function(t,e,n,r){var i,a,o,s,l,u,c=defaultCurveSegments,h=0,f=[],p=[],d=bezierLengthPool.newElement();for(o=n.length,i=0;i<c;i+=1){for(l=i/(c-1),u=0,a=0;a<o;a+=1)s=bmPow(1-l,3)*t[a]+3*bmPow(1-l,2)*l*n[a]+3*(1-l)*bmPow(l,2)*r[a]+bmPow(l,3)*e[a],f[a]=s,null!==p[a]&&(u+=bmPow(f[a]-p[a],2)),p[a]=f[a];u&&(h+=u=bmSqrt(u)),d.percents[i]=l,d.lengths[i]=h}return d.addedLength=h,d};function r(t){this.segmentLength=0,this.points=new Array(t)}function i(t,e){this.partialLength=t,this.point=e}var a=function(){var t={};return function(n,a,o,s){var l=(n[0]+"_"+n[1]+"_"+a[0]+"_"+a[1]+"_"+o[0]+"_"+o[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!t[l]){var u,c,h,f,p,d,m,y=defaultCurveSegments,v=0,g=null;2===n.length&&(n[0]!==a[0]||n[1]!==a[1])&&e(n[0],n[1],a[0],a[1],n[0]+o[0],n[1]+o[1])&&e(n[0],n[1],a[0],a[1],a[0]+s[0],a[1]+s[1])&&(y=2);var b=new r(y);for(h=o.length,u=0;u<y;u+=1){for(m=createSizedArray(h),p=u/(y-1),d=0,c=0;c<h;c+=1)f=bmPow(1-p,3)*n[c]+3*bmPow(1-p,2)*p*(n[c]+o[c])+3*(1-p)*bmPow(p,2)*(a[c]+s[c])+bmPow(p,3)*a[c],m[c]=f,null!==g&&(d+=bmPow(m[c]-g[c],2));v+=d=bmSqrt(d),b.points[u]=new i(d,m),g=m}b.segmentLength=v,t[l]=b}return t[l]}}();function o(t,e){var n=e.percents,r=e.lengths,i=n.length,a=bmFloor((i-1)*t),o=t*e.addedLength,s=0;if(a===i-1||0===a||o===r[a])return n[a];for(var l=r[a]>o?-1:1,u=!0;u;)if(r[a]<=o&&r[a+1]>o?(s=(o-r[a])/(r[a+1]-r[a]),u=!1):a+=l,a<0||a>=i-1){if(a===i-1)return n[a];u=!1}return n[a]+(n[a+1]-n[a])*s}var s=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,r=segmentsLengthPool.newElement(),i=t.c,a=t.v,o=t.o,s=t.i,l=t._length,u=r.lengths,c=0;for(e=0;e<l-1;e+=1)u[e]=n(a[e],a[e+1],o[e],s[e+1]),c+=u[e].addedLength;return i&&l&&(u[e]=n(a[e],a[0],o[e],s[0]),c+=u[e].addedLength),r.totalLength=c,r},getNewSegment:function(e,n,r,i,a,l,u){a<0?a=0:a>1&&(a=1);var c,h=o(a,u),f=o(l=l>1?1:l,u),p=e.length,d=1-h,m=1-f,y=d*d*d,v=h*d*d*3,g=h*h*d*3,b=h*h*h,w=d*d*m,x=h*d*m+d*h*m+d*d*f,k=h*h*m+d*h*f+h*d*f,E=h*h*f,P=d*m*m,S=h*m*m+d*f*m+d*m*f,_=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,O=f*f*m+m*f*f+f*m*f,M=f*f*f;for(c=0;c<p;c+=1)s[4*c]=t.round(1e3*(y*e[c]+v*r[c]+g*i[c]+b*n[c]))/1e3,s[4*c+1]=t.round(1e3*(w*e[c]+x*r[c]+k*i[c]+E*n[c]))/1e3,s[4*c+2]=t.round(1e3*(P*e[c]+S*r[c]+_*i[c]+C*n[c]))/1e3,s[4*c+3]=t.round(1e3*(A*e[c]+T*r[c]+O*i[c]+M*n[c]))/1e3;return s},getPointInSegment:function(e,n,r,i,a,s){var l=o(a,s),u=1-l;return[t.round(1e3*(u*u*u*e[0]+(l*u*u+u*l*u+u*u*l)*r[0]+(l*l*u+u*l*l+l*u*l)*i[0]+l*l*l*n[0]))/1e3,t.round(1e3*(u*u*u*e[1]+(l*u*u+u*l*u+u*u*l)*r[1]+(l*l*u+u*l*l+l*u*l)*i[1]+l*l*l*n[1]))/1e3]},buildBezierData:a,pointOnLine2D:e,pointOnLine3D:function(n,r,i,a,o,s,l,u,c){if(0===i&&0===s&&0===c)return e(n,r,a,o,l,u);var h,f=t.sqrt(t.pow(a-n,2)+t.pow(o-r,2)+t.pow(s-i,2)),p=t.sqrt(t.pow(l-n,2)+t.pow(u-r,2)+t.pow(c-i,2)),d=t.sqrt(t.pow(l-a,2)+t.pow(u-o,2)+t.pow(c-s,2));
vendor: 4,790 bytes, line 2
2return(h=f>p?f>d?f-p-d:d-p-f:d>p?d-p-f:p-f-d)>-1e-4&&h<1e-4}}}!function(){for(var t=0,e=["ms","moz","webkit","o"],n=0;n<e.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[e[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[n]+"CancelAnimationFrame"]||window[e[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var n=(new Date).getTime(),r=Math.max(0,16-(n-t)),i=setTimeout((function(){e(n+r)}),r);return t=n+r,i}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}();var bez=bezFunction();function dataFunctionManager(){function t(i,a,o){var s,l,u,c,h,f,p,d=i.length;for(l=0;l<d;l+=1)if("ks"in(s=i[l])&&!s.completed){if(s.completed=!0,s.tt&&(i[l-1].td=s.tt),s.hasMask){var m=s.masksProperties;for(c=m.length,u=0;u<c;u+=1)if(m[u].pt.k.i)r(m[u].pt.k);else for(f=m[u].pt.k.length,h=0;h<f;h+=1)m[u].pt.k[h].s&&r(m[u].pt.k[h].s[0]),m[u].pt.k[h].e&&r(m[u].pt.k[h].e[0])}0===s.ty?(s.layers=e(s.refId,a),t(s.layers,a,o)):4===s.ty?n(s.shapes):5===s.ty&&(0!==(p=s).t.a.length||"m"in p.t.p||(p.singleShape=!0))}}function e(t,e){for(var n=0,r=e.length;n<r;){if(e[n].id===t)return e[n].layers.__used?JSON.parse(JSON.stringify(e[n].layers)):(e[n].layers.__used=!0,e[n].layers);n+=1}return null}function n(t){var e,i,a;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)r(t[e].ks.k);else for(a=t[e].ks.k.length,i=0;i<a;i+=1)t[e].ks.k[i].s&&r(t[e].ks.k[i].s[0]),t[e].ks.k[i].e&&r(t[e].ks.k[i].e[0]);else"gr"===t[e].ty&&n(t[e].it)}function r(t){var e,n=t.i.length;for(e=0;e<n;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function i(t,e){var n=e?e.split("."):[100,100,100];return t[0]>n[0]||!(n[0]>t[0])&&(t[1]>n[1]||!(n[1]>t[1])&&(t[2]>n[2]||!(n[2]>t[2])&&null))}var a=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function n(t){var n,r=t.length;for(n=0;n<r;n+=1)5===t[n].ty&&e(t[n])}return function(e){if(i(t,e.v)&&(n(e.layers),e.assets)){var r,a=e.assets.length;for(r=0;r<a;r+=1)e.assets[r].layers&&n(e.assets[r].layers)}}}(),o=function(){var t=[4,7,99];return function(e){if(e.chars&&!i(t,e.v)){var n,a,o,s,l,u=e.chars.length;for(n=0;n<u;n+=1)if(e.chars[n].data&&e.chars[n].data.shapes)for(o=(l=e.chars[n].data.shapes[0].it).length,a=0;a<o;a+=1)(s=l[a].ks.k).__converted||(r(l[a].ks.k),s.__converted=!0)}}}(),s=function(){var t=[4,1,9];function e(t){var n,r,i,a=t.length;for(n=0;n<a;n+=1)if("gr"===t[n].ty)e(t[n].it);else if("fl"===t[n].ty||"st"===t[n].ty)if(t[n].c.k&&t[n].c.k[0].i)for(i=t[n].c.k.length,r=0;r<i;r+=1)t[n].c.k[r].s&&(t[n].c.k[r].s[0]/=255,t[n].c.k[r].s[1]/=255,t[n].c.k[r].s[2]/=255,t[n].c.k[r].s[3]/=255),t[n].c.k[r].e&&(t[n].c.k[r].e[0]/=255,t[n].c.k[r].e[1]/=255,t[n].c.k[r].e[2]/=255,t[n].c.k[r].e[3]/=255);else t[n].c.k[0]/=255,t[n].c.k[1]/=255,t[n].c.k[2]/=255,t[n].c.k[3]/=255}function n(t){var n,r=t.length;for(n=0;n<r;n+=1)4===t[n].ty&&e(t[n].shapes)}return function(e){if(i(t,e.v)&&(n(e.layers),e.assets)){var r,a=e.assets.length;for(r=0;r<a;r+=1)e.assets[r].layers&&n(e.assets[r].layers)}}}(),l=function(){var t=[4,4,18];function e(t){var n,r,i;for(n=t.length-1;n>=0;n-=1)if("sh"===t[n].ty)if(t[n].ks.k.i)t[n].ks.k.c=t[n].closed;else for(i=t[n].ks.k.length,r=0;r<i;r+=1)t[n].ks.k[r].s&&(t[n].ks.k[r].s[0].c=t[n].closed),t[n].ks.k[r].e&&(t[n].ks.k[r].e[0].c=t[n].closed);else"gr"===t[n].ty&&e(t[n].it)}function n(t){var n,r,i,a,o,s,l=t.length;for(r=0;r<l;r+=1){if((n=t[r]).hasMask){var u=n.masksProperties;for(a=u.length,i=0;i<a;i+=1)if(u[i].pt.k.i)u[i].pt.k.c=u[i].cl;else for(s=u[i].pt.k.length,o=0;o<s;o+=1)u[i].pt.k[o].s&&(u[i].pt.k[o].s[0].c=u[i].cl),u[i].pt.k[o].e&&(u[i].pt.k[o].e[0].c=u[i].cl)}4===n.ty&&e(n.shapes)}}return function(e){if(i(t,e.v)&&(n(e.layers),e.assets)){var r,a=e.assets.length;for(r=0;r<a;r+=1)e.assets[r].layers&&n(e.assets[r].layers)}}}();var u={completeData:function(e,n){e.__complete||(s(e),a(e),o(e),l(e),t(e.layers,e.assets,n),e.__complete=!0)}};return u.checkColors=s,u.checkChars=o,u.checkShapes=l,u.completeLayers=t,u}var dataManager=dataFunctionManager();function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],n="normal",r="normal",i=e.length,a=0;a<i;a+=1)switch(e[a].toLowerCase()){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:r,weight:t.fWeight||n}}var FontManager=function(){var t={w:0,size:0,shapes:[]},e=[];function n(t,e){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=e;var r=createTag("span");r.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300
2px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(r),document.body.appendChild(n);var i=r.offsetWidth;return r.style.fontFamily=function(t){var e,n=t.split(","),r=n.length,i=[];for(e=0;e<r;e+=1)"sans-serif"!==n[e]&&"monospace"!==n[e]&&i.push(n[e]);return i.join(",")}(t)+", "+e,{node:r,w:i,parent:n}}function r(t,e){var n=createNS("text");n.style.fontSize="100px";var r=getFontProperties(e);return n.setAttribute("font-family",e.fFamily),n.setAttribute("font-style",r.style),n.setAttribute("font-weight",r.weight),n.textContent="1",e.fClass?(n.style.fontFamily="inherit",n.setAttribute("class",e.fClass)):n.style.fontFamily=e.fFamily,t.appendChild(n),createTag("canvas").getContext("2d").font=e.fWeight+" "+e.fStyle+" 100px "+e.fFamily,n}e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return i.getCombinedCharacterCodes=function(){return e},i.prototype={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var n,r,i=t.length,a=this.chars.length;for(e=0;e<i;e+=1){for(n=0,r=!1;n<a;)this.chars[n].style===t[e].style&&this.chars[n].fFamily===t[e].fFamily&&this.chars[n].ch===t[e].ch&&(r=!0),n+=1;r||(this.chars.push(t[e]),a+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);var i,a=t.list,o=a.length,s=o;for(i=0;i<o;i+=1){var l,u,c=!0;if(a[i].loaded=!1,a[i].monoCase=n(a[i].fFamily,"monospace"),a[i].sansCase=n(a[i].fFamily,"sans-serif"),a[i].fPath){if("p"===a[i].fOrigin||3===a[i].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[i].fFamily+'"], style[f-origin="3"][f-family="'+a[i].fFamily+'"]')).length>0&&(c=!1),c){var h=createTag("style");h.setAttribute("f-forigin",a[i].fOrigin),h.setAttribute("f-origin",a[i].origin),h.setAttribute("f-family",a[i].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+a[i].fFamily+"; font-style: normal; src: url('"+a[i].fPath+"');}",e.appendChild(h)}}else if("g"===a[i].fOrigin||1===a[i].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<l.length;u+=1)-1!==l[u].href.indexOf(a[i].fPath)&&(c=!1);if(c){var f=createTag("link");f.setAttribute("f-forigin",a[i].fOrigin),f.setAttribute("f-origin",a[i].origin),f.type="text/css",f.rel="stylesheet",f.href=a[i].fPath,document.body.appendChild(f)}}else if("t"===a[i].fOrigin||2===a[i].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<l.length;u+=1)a[i].fPath===l[u].src&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",a[i].fOrigin),p.setAttribute("f-origin",a[i].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",a[i].fPath),e.appendChild(p)}}}else a[i].loaded=!0,s-=1;a[i].helper=r(e,a[i]),a[i].cache={},this.fonts.push(a[i])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,n,r){for(var i=0,a=this.chars.length;i<a;){if(this.chars[i].ch===e&&this.chars[i].style===n&&this.chars[i].fFamily===r)return this.chars[i];i+=1}return("string"===typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,n,r)),t},getFontByName:function(t){for(var e=0,n=this.fonts.length;e<n;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,n){var r=this.getFontByName(e),i=t.charCodeAt(0);if(!r.cache[i+1]){var a=r.helper;if(" "===t){a.textContent="|"+t+"|";var o=a.getComputedTextLength();a.textContent="||";var s=a.getComputedTextLength();r.cache[i+1]=(o-s)/100}else a.textContent=t,r.cache[i+1]=a.getComputedTextLength()/100}return r.cache[i+1]*n},checkLoadedFonts:function(){var t,e,n,r=this.fonts.length,i=r;for(t=0;t<r;t+=1)this.fonts[t].loaded?i-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,n=this.fonts[t].monoCase.w,e.offsetWidth!==n?(i-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,n=this.fonts[t].sansCase.w,e.offsetWidth!==n&&(i-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},i}(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function n(t,e){var n,i=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var a,o,s,l,u,c,h,f,p=e.lastIndex,d=p,m=this.keyframes.length-1,y=!0;y;){if(a=this.keyframes[d],o=this.keyframes[d+1],d===m-1&&t>=o.t-i){a.h&&(a=o),p=0;break}if(o.t-i>t){p=d;break}d<m-1?d+=1:(p=0,y=!1)}var v,g=o.t-i,b=a.t-i;if(a.to){a.bezierData||(a.bezierData=bez.buildBezierData(a.s,o.s||a.e,a.to,a.ti));var w=a.bezierData;if(t>=g||t<b){var x=t>=g?w.points.length-1:0;for(l=w.points[x].point.length,s=0;s<l;s+=1)n[s]=w.points[x].point[s]}else{a.__fnct?f=a.__fnct:(f=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,a.__fnct=f),u=f((t-b)/(g-b));var k,E=w.segmentLength*u,P=e.lastFrame<t&&e._lastKeyframeIndex===d?e._lastAddedLe
vendor: 7,868 bytes, line 2
2ngth:0;for(h=e.lastFrame<t&&e._lastKeyframeIndex===d?e._lastPoint:0,y=!0,c=w.points.length;y;){if(P+=w.points[h].partialLength,0===E||0===u||h===w.points.length-1){for(l=w.points[h].point.length,s=0;s<l;s+=1)n[s]=w.points[h].point[s];break}if(E>=P&&E<P+w.points[h+1].partialLength){for(k=(E-P)/w.points[h+1].partialLength,l=w.points[h].point.length,s=0;s<l;s+=1)n[s]=w.points[h].point[s]+(w.points[h+1].point[s]-w.points[h].point[s])*k;break}h<c-1?h+=1:y=!1}e._lastPoint=h,e._lastAddedLength=P-w.points[h].partialLength,e._lastKeyframeIndex=d}}else{var S,_,C,A,T;if(m=a.s.length,v=o.s||a.e,this.sh&&1!==a.h)t>=g?(n[0]=v[0],n[1]=v[1],n[2]=v[2]):t<=b?(n[0]=a.s[0],n[1]=a.s[1],n[2]=a.s[2]):function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i),s=Math.asin(2*n*r+2*i*a),l=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i);t[0]=o/degToRads,t[1]=s/degToRads,t[2]=l/degToRads}(n,function(t,e,n){var r,i,a,o,s,l=[],u=t[0],c=t[1],h=t[2],f=t[3],p=e[0],d=e[1],m=e[2],y=e[3];return(i=u*p+c*d+h*m+f*y)<0&&(i=-i,p=-p,d=-d,m=-m,y=-y),1-i>1e-6?(r=Math.acos(i),a=Math.sin(r),o=Math.sin((1-n)*r)/a,s=Math.sin(n*r)/a):(o=1-n,s=n),l[0]=o*u+s*p,l[1]=o*c+s*d,l[2]=o*h+s*m,l[3]=o*f+s*y,l}(r(a.s),r(v),(t-b)/(g-b)));else for(d=0;d<m;d+=1)1!==a.h&&(t>=g?u=1:t<b?u=0:(a.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[d]?f=a.__fnct[d]:(S="undefined"===typeof a.o.x[d]?a.o.x[0]:a.o.x[d],_="undefined"===typeof a.o.y[d]?a.o.y[0]:a.o.y[d],C="undefined"===typeof a.i.x[d]?a.i.x[0]:a.i.x[d],A="undefined"===typeof a.i.y[d]?a.i.y[0]:a.i.y[d],f=BezierFactory.getBezierEasing(S,_,C,A).get,a.__fnct[d]=f)):a.__fnct?f=a.__fnct:(S=a.o.x,_=a.o.y,C=a.i.x,A=a.i.y,f=BezierFactory.getBezierEasing(S,_,C,A).get,a.__fnct=f),u=f((t-b)/(g-b)))),v=o.s||a.e,T=1===a.h?a.s[d]:a.s[d]+(v[d]-a.s[d])*u,"multidimensional"===this.propType?n[d]=T:n=T}return e.lastIndex=p,n}function r(t){var e=t[0]*degToRads,n=t[1]*degToRads,r=t[2]*degToRads,i=Math.cos(e/2),a=Math.cos(n/2),o=Math.cos(r/2),s=Math.sin(e/2),l=Math.sin(n/2),u=Math.sin(r/2);return[s*l*o+i*a*u,s*a*o+i*l*u,i*l*o-s*a*u,i*a*o-s*l*u]}function i(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<n&&e<n))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function a(t){var n;if("unidimensional"===this.propType)n=t*this.mult,e(this.v-n)>1e-5&&(this.v=n,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)n=t[r]*this.mult,e(this.v[r]-n)>1e-5&&(this.v[r]=n,this._mdf=!0),r+=1}function o(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)n=this.effectsSequence[t](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(t,e,n,r){this.propType="unidimensional",this.mult=n||1,this.data=e,this.v=n?e.k*n:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=o,this.setVValue=a,this.addEffect=s}function u(t,e,n,r){var i;this.propType="multidimensional",this.mult=n||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l=e.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),this.vel=createTypedArray("float32",l),i=0;i<l;i+=1)this.v[i]=e.k[i]*this.mult,this.pv[i]=e.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=o,this.setVValue=a,this.addEffect=s}function c(e,r,l,u){this.propType="unidimensional",this.keyframes=r.k,this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=l||1,this.elem=e,this.container=u,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=o,this.setVValue=a,this.interpolateValue=n,this.effectsSequence=[i.bind(this)],this.addEffect=s}function h(e,r,l,u){var c;this.propType="multidimensional";var h,f,p,d,m=r.k.length;for(c=0;c<m-1;c+=1)r.k[c].to&&r.k[c].s&&r.k[c+1]&&r.k[c+1].s&&(h=r.k[c].s,f=r.k[c+1].s,p=r.k[c].to,d=r.k[c].ti,(2===h.length&&(h[0]!==f[0]||h[1]!==f[1])&&bez.pointOnLine2D(h[0],h[1],f[0],f[1],h[0]+p[0],h[1]+p[1])&&bez.pointOnLine2D(h[0],h[1],f[0],f[1],f[0]+d[0],f[1]+d[1])||3===h.length&&(h[0]!==f[0]||h[1]!==f[1]||h[2]!==f[2])&&bez.pointOnLine3D(h[0],h[1],h[2],f[0],f[1],f[2],h[0]+p[0],h[1]+p[1],h[2]+p[2])&&bez.pointOnLine3D(h[0],h[1],h[2],f[0],f[1],f[2],f[0]+d[0],f[1]+d[1],f[2]+d[2]))&&(r.k[c].to=null,r.k[c].ti=null),h[0]===f[0]&&h[1]===f[1]&&0===p[0]&&0===p[1]&&0===d[0]&&0===d[1]&&(2===h.length||h[2]===f[2]&&0===p[2]&&0===d[2])&&(r.k[c].to=null,r.k[c].ti=null));this.effectsSequence=[i.bind(this)],this.data=r,this.keyframes=r.k,this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=e,this.container=u,this.comp=e.comp,this.getValue=o,this.setVValue=a,this.interpolateValue=n,this.frameId=-1;var y=r.k[0].s.length;for(this.v=createTypedArray("float32",y),this.pv=createTypedArray("float32",y),c=0;c<y;c+=1)this.v[c]=t,this.pv[c]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",y)},this.addEffect=s}return{getProp:function(t,e,n,r,i){var a;if(e.k.length)if("number"===typeof e.k[0])a=new u(t,e,r,i);else switch(n){case 0:a=new c(t,e,r,i);break;case 1:a=new h(t,e,r,i)}else a=new l(t,e,r,i);return a.effectsSequence.length&&i.addDynamicProperty(a),a}}}(),TransformPropertyFactory=function(){var t=[0,0];function e(t,e,n){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var r,i=e.or.k.length;for(r=0;r<i;r+=1)e.or.k[r].to=null,e.or.k[r].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.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.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if
vendor: 4,049 bytes, line 2
2(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var r,i;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],i=[];var a=this.px,o=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(r[0]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),r[1]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),i[0]=a.getValueAtTime(a.keyframes[0].t/n,0),i[1]=o.getValueAtTime(o.keyframes[0].t/n,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(r[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),r[1]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0),i[1]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0)):(r=[a.pv,o.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime),i[1]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime))}else r=i=t;this.v.rotate(-Math.atan2(r[1]-i[1],r[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],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,n,r){return new e(t,n,r)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var n=0;n<e;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;
vendor: 1,198 bytes, line 2
2)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,n,r,i){var a;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[r]||a[r]&&!i)&&(a[r]=pointPool.newElement()),a[r][0]=t,a[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,n,r,i,a,o,s){this.setXYAt(t,e,"v",o,s),this.setXYAt(n,r,"o",o,s),this.setXYAt(i,a,"i",o,s)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,n=this.o,r=this.i,i=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var a,o=this._length-1,s=this._length;for(a=i;a<s;a+=1)t.setTripleAt(e[o][0],e[o][1],r[o][0],r[o][1],n[o][0],n[o][1],a,!1),o-=1;return t};var ShapePropertyFactory=function(){var t=-999999;function e(t,e,n){var r,i,a,o,s,l,u,c,h,f=n.lastIndex,p=this.keyframes;
vendor: 4,976 bytes, line 2
2if(t<p[0].t-this.offsetTime)r=p[0].s[0],a=!0,f=0;else if(t>=p[p.length-1].t-this.offsetTime)r=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],a=!0;else{for(var d,m,y=f,v=p.length-1,g=!0;g&&(d=p[y],!((m=p[y+1]).t-this.offsetTime>t));)y<v-1?y+=1:g=!1;if(f=y,!(a=1===d.h)){if(t>=m.t-this.offsetTime)c=1;else if(t<d.t-this.offsetTime)c=0;else{var b;d.__fnct?b=d.__fnct:(b=BezierFactory.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,d.__fnct=b),c=b((t-(d.t-this.offsetTime))/(m.t-this.offsetTime-(d.t-this.offsetTime)))}i=m.s?m.s[0]:d.e[0]}r=d.s[0]}for(l=e._length,u=r.i[0].length,n.lastIndex=f,o=0;o<l;o+=1)for(s=0;s<u;s+=1)h=a?r.i[o][s]:r.i[o][s]+(i.i[o][s]-r.i[o][s])*c,e.i[o][s]=h,h=a?r.o[o][s]:r.o[o][s]+(i.o[o][s]-r.o[o][s])*c,e.o[o][s]=h,h=a?r.v[o][s]:r.v[o][s]+(i.v[o][s]-r.v[o][s])*c,e.v[o][s]=h}function n(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==t&&(i<n&&e<n||i>r&&e>r)||(this._caching.lastIndex=i<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function r(){this.paths=this.localShapeCollection}function i(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var n,r=t._length;for(n=0;n<r;n+=1)if(t.v[n][0]!==e.v[n][0]||t.v[n][1]!==e.v[n][1]||t.o[n][0]!==e.o[n][0]||t.o[n][1]!==e.o[n][1]||t.i[n][0]!==e.i[n][0]||t.i[n][1]!==e.i[n][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(e=0;e<n;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function o(t,e,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===n?e.pt.k:e.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function s(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(e,i,a){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===a?i.pt.k:i.ks.k,this.k=!0,this.kf=!0;var o=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,o),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[n.bind(this)]}o.prototype.interpolateShape=e,o.prototype.getValue=a,o.prototype.setVValue=i,o.prototype.addEffect=s,l.prototype.getValue=a,l.prototype.interpolateShape=e,l.prototype.setVValue=i,l.prototype.addEffect=s;var u=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],n=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,a=3!==this.d,o=this.v;o.v[0][0]=e,o.v[0][1]=n-i,o.v[1][0]=a?e+r:e-r,o.v[1][1]=n,o.v[2][0]=e,o.v[2][1]=n+i,o.v[3][0]=a?e-r:e+r,o.v[3][1]=n,o.i[0][0]=a?e-r*t:e+r*t,o.i[0][1]=n-i,o.i[1][0]=a?e+r:e-r,o.i[1][1]=n-i*t,o.i[2][0]=a?e+r*t:e-r*t,o.i[2][1]=n+i,o.i[3][0]=a?e-r:e+r,o.i[3][1]=n+i*t,o.o[0][0]=a?e+r*t:e-r*t,o.o[0][1]=n-i,o.o[1][0]=a?e+r:e-r,o.o[1][1]=n+i*t,o.o[2][0]=a?e-r*t:e+r*t,o.o[2][1]=n+i,o.o[3][0]=a?e-r:e+r,o.o[3][1]=n-i*t}},extendPrototype([DynamicPropertyContainer],e),e}(),c=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Pro
vendor: 26,030 bytes, line 2
2pertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,n,r,i=2*Math.floor(this.pt.v),a=2*Math.PI/i,o=!0,s=this.or.v,l=this.ir.v,u=this.os.v,c=this.is.v,h=2*Math.PI*s/(2*i),f=2*Math.PI*l/(2*i),p=-Math.PI/2;p+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<i;t+=1){n=o?u:c,r=o?h:f;var m=(e=o?s:l)*Math.cos(p),y=e*Math.sin(p),v=0===m&&0===y?0:y/Math.sqrt(m*m+y*y),g=0===m&&0===y?0:-m/Math.sqrt(m*m+y*y);m+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(m,y,m-v*r*n*d,y-g*r*n*d,m+v*r*n*d,y+g*r*n*d,t,!0),o=!o,p+=a*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),n=2*Math.PI/e,r=this.or.v,i=this.os.v,a=2*Math.PI*r/(4*e),o=.5*-Math.PI,s=3===this.data.d?-1:1;for(o+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=r*Math.cos(o),u=r*Math.sin(o),c=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),h=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.setTripleAt(l,u,l-c*a*i*s,u-h*a*i*s,l+c*a*i*s,u+h*a*i*s,t,!0),o+=n*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),h=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,i=bmMin(n,r,this.r.v),a=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+n,e-r+i,t+n,e-r+i,t+n,e-r+a,0,!0),this.v.setTripleAt(t+n,e+r-i,t+n,e+r-a,t+n,e+r-i,1,!0),0!==i?(this.v.setTripleAt(t+n-i,e+r,t+n-i,e+r,t+n-a,e+r,2,!0),this.v.setTripleAt(t-n+i,e+r,t-n+a,e+r,t-n+i,e+r,3,!0),this.v.setTripleAt(t-n,e+r-i,t-n,e+r-i,t-n,e+r-a,4,!0),this.v.setTripleAt(t-n,e-r+i,t-n,e-r+a,t-n,e-r+i,5,!0),this.v.setTripleAt(t-n+i,e-r,t-n+i,e-r,t-n+a,e-r,6,!0),this.v.setTripleAt(t+n-i,e-r,t+n-a,e-r,t+n-i,e-r,7,!0)):(this.v.setTripleAt(t-n,e+r,t-n+a,e+r,t-n,e+r,2),this.v.setTripleAt(t-n,e-r,t-n,e-r+a,t-n,e-r,3))):(this.v.setTripleAt(t+n,e-r+i,t+n,e-r+a,t+n,e-r+i,0,!0),0!==i?(this.v.setTripleAt(t+n-i,e-r,t+n-i,e-r,t+n-a,e-r,1,!0),this.v.setTripleAt(t-n+i,e-r,t-n+a,e-r,t-n+i,e-r,2,!0),this.v.setTripleAt(t-n,e-r+i,t-n,e-r+i,t-n,e-r+a,3,!0),this.v.setTripleAt(t-n,e+r-i,t-n,e+r-a,t-n,e+r-i,4,!0),this.v.setTripleAt(t-n+i,e+r,t-n+i,e+r,t-n+a,e+r,5,!0),this.v.setTripleAt(t+n-i,e+r,t+n-a,e+r,t+n-i,e+r,6,!0),this.v.setTripleAt(t+n,e+r-i,t+n,e+r-i,t+n,e+r-a,7,!0)):(this.v.setTripleAt(t-n,e-r,t-n+a,e-r,t-n,e-r,1,!0),this.v.setTripleAt(t-n,e+r,t-n,e+r-a,t-n,e+r,2,!0),this.v.setTripleAt(t+n,e+r,t+n-a,e+r,t+n,e+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],t),t}(),f={getShapeProp:function(t,e,n){var r;return 3===n||4===n?r=(3===n?e.pt:e.ks).k.length?new l(t,e,n):new o(t,e,n):5===n?r=new h(t,e):6===n?r=new u(t,e):7===n&&(r=new c(t,e)),r.k&&t.addDynamicProperty(r),r},getConstructorFunction:function(){return o},getKeyframedConstructorFunction:function(){return l}};return f}(),ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,n){e[t]||(e[t]=n)},t.getModifier=function(t,n,r){return new e[t](n,r)},t}();function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function PuckerAndBloatModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(t,e,n,r){var i;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var a,o=e.length||0;for(i=0;i<o;i+=1)a=PropertyFactory.getProp(t,e[i].v,0,0,this),this.k=a.k||this.k,this.dataProps[i]={n:e[i].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(t,e,n){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var r=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,n,r,i){var a=[];e<=1?a.push({s:t,e:e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var o,s,l=[],u=a.length;for(o=0;o<u;o+=1){var c,h;(s=a[o]).e*i<r||s.s*i>r+n||(c=s.s*i<=r?0:(s.s*i-r)/n,h=s.e*i>=r+n?1:(s.e*i-r)/n,l.push([c,h]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,n=t.length;for(e=0;e<n;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,n,r,i;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),(e=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(n=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var o=e;e=n,n=o}e=1e-4*Math.round(1e4*e),n=1e-4*Math.round(1e4*n),this.sValue=e,this.eValue=n}else e=this.sValue,n=this.eValue;var s,l,u,c,h,f=this.shapes.length,p=0;if(n===e)for(i=0;i<f;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===n&&0===e||0===n&&1===e){if(this._mdf)for(i=0;i<f;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var d,m,y=[];for(i=0;i<f;i+=1)if((d=this.shapes[i]).shape._mdf||this._mdf||t||2===this.m){if(l=(r=d.shape.paths)._length,h=0,!d.shape._mdf&&d.pathsData.length)h=d.totalShapeLength;else{for(u=this.releasePathsData(d.pathsData),s=0;s<l;s+=1)c=bez.getSegmentsLength(r.shapes[s]),u.push(c),h+=c.totalLength;d.totalShapeLength=h,d.pathsData=u}p+=h,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var v,g=e,b=n,w=0;for(i=f-1;i>=0;i-=1)if((d=this.shapes[i]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&f>1?(v=this.calculateShapeEdges(e,n,d.totalShapeLength,w,p),w+=d.totalShapeLength):v=[[g,b]],l=v.length,s=0;s<l;s+=1){g=v[s][0],b=v[s][1],y.length=0,b<=1?y.push({s:d.totalShapeLength*g,e:d.totalShapeLength*b}):g>=1?y.push({s:d.totalShapeLength*(g-1),e:d.totalShapeLength*(b-1)}):(y.push({s:d.totalShapeLength*g,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(b-1)}));var x=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var k=x.pop();this.addPaths(x,m),x=this.addShapes(d,y[1],k)}else this.addPaths(x,m),x=this.addShapes(d,y[1]);this.addPaths(x,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)e.addShape(t[n])},TrimModifier.prototype.addSegment=function(t,e,n,r,i,a,o){i.setXYAt(e[0],e[1],"o",a),i.setXYAt(n[0],n[1],"i",a+1),o&&i.setXYAt(t[0],t[1],"v",a),i.setXYAt(r[0],r[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,n,r){e.setXYAt(t[1],t[5],"o",n),e.setXYAt(t[2],t[6],"i",n+1),r&&e.setXYAt(t[0],t[4],"v",n),e.setXYAt(t[3],t[7],"v",n+1)},TrimModifier.prototype.addShapes=function(t,e,n){var r,i,a,o,s,l,u,c,h=t.pathsData,f=t.shape.paths.shapes,p=t.shape.paths._length,d=0,m=[],y=!0;for(n?(s=n._length,c=n._length):(n=shapePool.newElement(),s=0,c=0),m.push(n),r=0;r<p;r+=1){for(l=h[r].lengths,n.c=f[r].c,a=f[r].c?l.length:l.length+1,i=1;i<a;i+=1)if(d+(o=l[i-1]).addedLength<e.s)d+=o.addedLength,n.c=!1;else{if(d>e.e){n.c=!1;break}e.s<=d&&e.e>=d+o.addedLength?(this.addSegment(f[r].v[i-1],f[r].o[i-1],f[r].i[i],f[r].v[i],n,s,y),y=!1):(u=bez.getNewSegment(f[r].v[i-1],f[r].v[i],f[r].o[i-1],f[r].i[i],(e.s-d)/o.addedLength,(e.e-d)/o.addedLength,l[i-1]),this.addSegmentFromArray(u,n,s,y),y=!1,n.c=!1),d+=o.addedLength,s+=1}if(f[r].c&&l.length){if(o=l[i-1],d<=e.e){var v=l[i-1].addedLength;e.s<=d&&e.e>=d+v?(this.addSegment(f[r].v[i-1],f[r].o[i-1],f[r].i[0],f[r].v[0],n,s,y),y=!1):(u=bez.getNewSegment(f[r].v[i-1],f[r].v[0],f[r].o[i-1],f[r].i[0],(e.s-d)/v,(e.e-d)/v,l[i-1]),this.addSegmentFromArray(u,n,s,y),y=!1,n.c=!1)}else n.c=!1;d+=o.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),d>e.e)break;r<p-1&&(n=shapePool.newElement(),y=!0,m.push(n),s=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var n,r=shapePool.newElement();r.c=t.c;var i,a,o,s,l,u,c,h,f,p,d,m,y=t._length,v=0;for(n=0;n<y;n+=1)i=t.v[n],o=t.o[n],a=t.i[n],i[0]===o[0]&&i[1]===o[1]&&i[0]===a[0]&&i[1]===a[1]?0!==n&&n!==y-1||t.c?(s=0===n?t.v[y-1]:t.v[n-1],u=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,e)/l:0,c=d=i[0]+(s[0]-i[0])*u,h=m=i[1]-(i[1]-s[1])*u,f=c-(c-i[0])*roundCorner,p=h-(h-i[1])*roundCorner,r.setTripleAt(c,h,f,p,d,m,v),v+=1,s=n===y-1?t.v[0]:t.v[n+1],u=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,e)/l:0,c=f=i[0]+(s[0]-i[0])*u,h=p=i[1]+(s[1]-i[1])*u,d=c-(c-i[0])*roundCorner,m=h-(h-i[1])*roundCorner,r.setTripleAt(c,h,f,p,d,m,v),v+=1):(r.setTripleAt(i[0],i[1],o[0],o[1],a[0],a[1],v),v+=1):(r.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],v),v+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,n,r,i,a,o,s=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<s;n+=1){if(o=(a=this.shapes[n]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,i=a.shape.paths._length,r=0;r<i;r+=1)o.addShape(this.processPath(e[r],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var n=e/100,r=[0,0],i=t._length,a=0;for(a=0;a<i;a+=1)r[0]+=t.v[a][0],r[1]+=t.v[a][1];r[0]/=i,r[1]/=i;var o,s,l,u,c,h,f=shapePool.newElement();for(f.c=t.c,a=0;a<i;a+=1)o=t.v[a][0]+(r[0]-t.v[a][0])*n,s=t.v[a][1]+(r[1]-t.v[a][1])*n,l=t.o[a][0]+(r[0]-t.o[a][0])*-n,u=t.o[a][1]+(r[1]-t.o[a][1])*-n,c=t.i[a][0]+(r[0]-t.i[a][0])*-n,h=t.i[a][1]+(r[1]-t.i[a][1])*-n,f.setTripleAt(o,s,l,u,c,h,a);return f},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,n,r,i,a,o,s=this.shapes.length,l=this.amount.v;if(0!==l)for(n=0;n<s;n+=1){if(o=(a=this.shapes[n]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,i=a.shape.paths._length,r=0;r<i;r+=1)o.addShape(this.processPath(e[r],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,n,r,i,a){var o=a?-1:1,s=r.s.v[0]+(1-r.s.v[0])*(1-i),l=r.s.v[1]+(1-r.s.v[1])*(1-i);t.translate(r.p.v[0]*o*i,r.p.v[1]*o*i,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*o*i),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(a?1/s:s,a?1/l:l),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,n,r){for(this.elem=t,this.arr=e,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[n]);n>0;)n-=1,this._elements.unshift(e[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)t[n]._render=e,"gr"===t[n].ty&&this.changeGroupRender(t[n].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,n,r,i,a,o=!1;if(this._mdf||t){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}for(a=0,r=0;r<=this._groups.length-1;r+=1){if(s=a<l,this._groups[r]._render=s,this.changeGroupRender(this._groups[r].it,s),!s){var c=this.elemsData[r].it,h=c[c.length-1];0!==h.transform.op.v?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}a+=1}this._currentCopies=l;var f=this.o.v,p=f%1,d=f>0?Math.floor(f):Math.ceil(f),m=this.pMatrix.props,y=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var g,b,w=0;if(f>0){for(;w<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),w+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),w+=p)}else if(f<0){for(;w>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),w-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),w-=p)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(n=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==w){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),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(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[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]),g=0;g<b;g+=1)n[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<b;g+=1)n[g]=this.matrix.props[g];w+=1,a-=1,r+=i}}else for(a=this._currentCopies,r=0,i=1;a;)n=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,r+=i;return o},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<n;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(t,e){for(var n=0,r=this.o.length/2;n<r;){if(Math.abs(t[4*n]-t[4*e+2*n])>.01)return!1;n+=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 t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,n,r,i=4*this.data.p;for(e=0;e<i;e+=1)n=e%4===0?100:255,r=Math.round(this.prop.v[e]*n),this.c[e]!==r&&(this.c[e]=r,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=4*this.data.p;e<i;e+=1)n=e%2===0?100:1,r=e%2===0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==r&&(this.o[e-4*this.data.p]=r,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(t,e,n,r){if(0===e)return"";var i,a=t.o,o=t.i,s=t.v,l=" M"+r.applyToPointStringified(s[0][0],s[0][1]);for(i=1;i<e;i+=1)l+=" C"+r.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+r.applyToPointStringified(o[i][0],o[i][1])+" "+r.applyToPointStringified(s[i][0],s[i][1]);return n&&e&&(l+=" C"+r.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+r.applyToPointStringified(o[0][0],o[0][1])+" "+r.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,n=this.audios.length;for(e=0;e<n;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):Howl?new Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t,e,n){var r="";if(t.e)r=t.p;else if(e){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),r=e+i}else r=n,r+=t.u?t.u:"",r+=t.p;return r}function i(t){var e=0,n=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(n)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},n=r(t,this.assetsPath,this.path);return assetLoader.load(n,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function o(){this._imageLoaded=e.bind(this),this._footageLoaded=n.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 o.prototype={loadAssets:function(t,e){var n;this.imagesLoadedCb=e;var r=t.length;for(n=0;n<r;n+=1)t[n].layers||(t[n].t&&"seq"!==t[n].t?3===t[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[n]))):(this.totalImages+=1,this.images.push(this._createImageData(t[n]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,n=this.images.length;e<n;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var n=r(e,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),i.src=n;var a={img:i,assetData:e};return a},createImageData:function(e){var n=r(e,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var a={img:i,assetData:e};return a},imageLoaded:e,footageLoaded:n,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},o}(),featureSupport=function(){var t={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))&&(t.maskType=!1),t}(),filtersFactory=function(){var t={createFilter:function(t,e){var n=createNS("filter");return n.setAttribute("id",t),!0!==e&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}};return t}(),assetLoader=function(){function t(t){return t.response&&"object"===typeof t.response?t.response:t.response&&"string"===typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,n,r){var i,a=new XMLHttpRequest;try{a.responseType="json"}catch(o){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)i=t(a),n(i);else try{i=t(a),n(i)}catch(o){r&&r(o)}},a.open("GET",e,!0),a.send()}}}();function TextAnimatorProperty(t,e,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=n,this._animators
vendor: 4,161 bytes, line 2
2Data=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function TextAnimatorDataProperty(t,e,n){var r={propType:!1},i=PropertyFactory.getProp,a=e.a;this.a={r:a.r?i(t,a.r,0,degToRads,n):r,rx:a.rx?i(t,a.rx,0,degToRads,n):r,ry:a.ry?i(t,a.ry,0,degToRads,n):r,sk:a.sk?i(t,a.sk,0,degToRads,n):r,sa:a.sa?i(t,a.sa,0,degToRads,n):r,s:a.s?i(t,a.s,1,.01,n):r,a:a.a?i(t,a.a,1,0,n):r,o:a.o?i(t,a.o,0,.01,n):r,p:a.p?i(t,a.p,1,0,n):r,sw:a.sw?i(t,a.sw,0,0,n):r,sc:a.sc?i(t,a.sc,1,0,n):r,fc:a.fc?i(t,a.fc,1,0,n):r,fh:a.fh?i(t,a.fh,0,0,n):r,fs:a.fs?i(t,a.fs,0,.01,n):r,fb:a.fb?i(t,a.fb,0,.01,n):r,t:a.t?i(t,a.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,n),this.s.t=e.s.t}function LetterProps(t,e,n,r,i,a){this.o=t,this.sw=e,this.sc=n,this.fc=r,this.m=i,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,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)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,n=this._textData.a.length,r=PropertyFactory.getProp;for(t=0;t<n;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,r,i,a,o,s,l,u,c,h,f,p,d,m,y,v,g,b,w,x=this._moreOptions.alignment.v,k=this._animatorsData,E=this._textData,P=this.mHelper,S=this._renderType,_=this.renderedLetters.length,C=t.l;if(this._hasMaskedPath){if(w=this._pathData.m,!this._pathData.n||this._pathData._mdf){var A,T=w.v;for(this._pathData.r&&(T=T.reverse()),o={tLength:0,segments:[]},a=T._length-1,v=0,i=0;i<a;i+=1)A=bez.buildBezierData(T.v[i],T.v[i+1],[T.o[i][0]-T.v[i][0],T.o[i][1]-T.v[i][1]],[T.i[i+1][0]-T.v[i+1][0],T.i[i+1][1]-T.v[i+1][1]]),o.tLength+=A.segmentLength,o.segments.push(A),v+=A.segmentLength;i=a,w.v.c&&(A=bez.buildBezierData(T.v[i],T.v[0],[T.o[i][0]-T.v[i][0],T.o[i][1]-T.v[i][1]],[T.i[0][0]-T.v[0][0],T.i[0][1]-T.v[0][1]]),o.tLength+=A.segmentLength,o.segments.push(A),v+=A.segmentLength),this._pathData.pi=o}if(o=this._pathData.pi,s=this._pathData.f.v,f=0,h=1,u=0,c=!0,m=o.segments,s<0&&w.v.c)for(o.tLength<Math.abs(s)&&(s=-Math.abs(s)%o.tLength),h=(d=m[f=m.length-1].points).length-1;s<0;)s+=d[h].partialLength,(h-=1)<0&&(h=(d=m[f-=1].points).length-1);p=(d=m[f].points)[h-1],y=(l=d[h]).partialLength}a=C.length,n=0,r=0;var O,M,I,D,F,R=1.2*t.finalSize*.714,j=!0;I=k.length;var L,V,B,z,N,G,U,H,q,W,$,Y,X=-1,Z=s,Q=f,K=h,J=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var nt=0,rt=0,it=2===t.j?-.5:-1,at=0,ot=!0;for(i=0;i<a;i+=1)if(C[i].n){for(nt&&(nt+=rt);at<i;)C[at].animatorJustifyOffset=nt,at+=1;nt=0,ot=!0}else{for(M=0;M<I;M+=1)(O=k[M].a).t.propType&&(ot&&2===t.j&&(rt+=O.t.v*it),(F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars)).length?nt+=O.t.v*F[0]*it:nt+=O.t.v*F*it);ot=!1}for(nt&&(nt+=rt);at<i;)C[at].animatorJustifyOffset=nt,at+=1}for(i=0;i<a;i+=1){if(P.reset(),z=1,C[i].n)n=0,r+=t.yOffset,r+=j?1:0,s=Z,j=!1,this._hasMaskedPath&&(h=K,p=(d=m[f=Q].points)[h-1],y=(l=d[h
vendor: 8,443 bytes, line 2
2]).partialLength,u=0),tt="",$="",q="",Y="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==C[i].line){switch(t.j){case 1:s+=v-t.lineWidths[C[i].line];break;case 2:s+=(v-t.lineWidths[C[i].line])/2}J=C[i].line}X!==C[i].ind&&(C[X]&&(s+=C[X].extra),s+=C[i].an/2,X=C[i].ind),s+=x[0]*C[i].an*.005;var st=0;for(M=0;M<I;M+=1)(O=k[M].a).p.propType&&((F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars)).length?st+=O.p.v[0]*F[0]:st+=O.p.v[0]*F),O.a.propType&&((F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars)).length?st+=O.a.v[0]*F[0]:st+=O.a.v[0]*F);for(c=!0;c;)u+y>=s+st||!d?(g=(s+st-u)/l.partialLength,V=p.point[0]+(l.point[0]-p.point[0])*g,B=p.point[1]+(l.point[1]-p.point[1])*g,P.translate(-x[0]*C[i].an*.005,-x[1]*R*.01),c=!1):d&&(u+=l.partialLength,(h+=1)>=d.length&&(h=0,m[f+=1]?d=m[f].points:w.v.c?(h=0,d=m[f=0].points):(u-=l.partialLength,d=null)),d&&(p=l,y=(l=d[h]).partialLength));L=C[i].an/2-C[i].add,P.translate(-L,0,0)}else L=C[i].an/2-C[i].add,P.translate(-L,0,0),P.translate(-x[0]*C[i].an*.005,-x[1]*R*.01,0);for(M=0;M<I;M+=1)(O=k[M].a).t.propType&&(F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars),0===n&&0===t.j||(this._hasMaskedPath?F.length?s+=O.t.v*F[0]:s+=O.t.v*F:F.length?n+=O.t.v*F[0]:n+=O.t.v*F));for(t.strokeWidthAnim&&(G=t.sw||0),t.strokeColorAnim&&(N=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(U=[t.fc[0],t.fc[1],t.fc[2]]),M=0;M<I;M+=1)(O=k[M].a).a.propType&&((F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars)).length?P.translate(-O.a.v[0]*F[0],-O.a.v[1]*F[1],O.a.v[2]*F[2]):P.translate(-O.a.v[0]*F,-O.a.v[1]*F,O.a.v[2]*F));for(M=0;M<I;M+=1)(O=k[M].a).s.propType&&((F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars)).length?P.scale(1+(O.s.v[0]-1)*F[0],1+(O.s.v[1]-1)*F[1],1):P.scale(1+(O.s.v[0]-1)*F,1+(O.s.v[1]-1)*F,1));for(M=0;M<I;M+=1){if(O=k[M].a,F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars),O.sk.propType&&(F.length?P.skewFromAxis(-O.sk.v*F[0],O.sa.v*F[1]):P.skewFromAxis(-O.sk.v*F,O.sa.v*F)),O.r.propType&&(F.length?P.rotateZ(-O.r.v*F[2]):P.rotateZ(-O.r.v*F)),O.ry.propType&&(F.length?P.rotateY(O.ry.v*F[1]):P.rotateY(O.ry.v*F)),O.rx.propType&&(F.length?P.rotateX(O.rx.v*F[0]):P.rotateX(O.rx.v*F)),O.o.propType&&(F.length?z+=(O.o.v*F[0]-z)*F[0]:z+=(O.o.v*F-z)*F),t.strokeWidthAnim&&O.sw.propType&&(F.length?G+=O.sw.v*F[0]:G+=O.sw.v*F),t.strokeColorAnim&&O.sc.propType)for(H=0;H<3;H+=1)F.length?N[H]+=(O.sc.v[H]-N[H])*F[0]:N[H]+=(O.sc.v[H]-N[H])*F;if(t.fillColorAnim&&t.fc){if(O.fc.propType)for(H=0;H<3;H+=1)F.length?U[H]+=(O.fc.v[H]-U[H])*F[0]:U[H]+=(O.fc.v[H]-U[H])*F;O.fh.propType&&(U=F.length?addHueToRGB(U,O.fh.v*F[0]):addHueToRGB(U,O.fh.v*F)),O.fs.propType&&(U=F.length?addSaturationToRGB(U,O.fs.v*F[0]):addSaturationToRGB(U,O.fs.v*F)),O.fb.propType&&(U=F.length?addBrightnessToRGB(U,O.fb.v*F[0]):addBrightnessToRGB(U,O.fb.v*F))}}for(M=0;M<I;M+=1)(O=k[M].a).p.propType&&(F=k[M].s.getMult(C[i].anIndexes[M],E.a[M].s.totalChars),this._hasMaskedPath?F.length?P.translate(0,O.p.v[1]*F[0],-O.p.v[2]*F[1]):P.translate(0,O.p.v[1]*F,-O.p.v[2]*F):F.length?P.translate(O.p.v[0]*F[0],O.p.v[1]*F[1],-O.p.v[2]*F[2]):P.translate(O.p.v[0]*F,O.p.v[1]*F,-O.p.v[2]*F));if(t.strokeWidthAnim&&(q=G<0?0:G),t.strokeColorAnim&&(W="rgb("+Math.round(255*N[0])+","+Math.round(255*N[1])+","+Math.round(255*N[2])+")"),t.fillColorAnim&&t.fc&&($="rgb("+Math.round(255*U[0])+","+Math.round(255*U[1])+","+Math.round(255*U[2])+")"),this._hasMaskedPath){if(P.translate(0,-t.ls),P.translate(0,x[1]*R*.01+r,0),E.p.p){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var lt=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(lt+=180),P.rotate(-lt*Math.PI/180)}P.translate(V,B,0),s-=x[0]*C[i].an*.005,C[i+1]&&X!==C[i+1].ind&&(s+=C[i].an/2,s+=.001*t.tr*t.finalSize)}else{switch(P.translate(n,r,0),t.ps&&P.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:P.translate(C[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[C[i].line]),0,0);break;case 2:P.translate(C[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[C[i].line])/2,0,0)}P.translate(0,-t.ls),P.translate(L,0,0),P.translate(x[0]*C[i].an*.005,x[1]*R*.01,0),n+=C[i].l+.001*t.tr*t.finalSize}"html"===S?tt=P.toCSS():"svg"===S?tt=P.to2dCSS():et=[P.props[0],P.props[1],P.props[2],P.props[3],P.props[4],P.props[5],P.props[6],P.props[7],P.props[8],P.props[9],P.props[10],P.props[11],P.props[12],P.props[13],P.props[14],P.props[15]],Y=z}_<=i?(D=new LetterProps(Y,q,W,$,tt,et),this.renderedLetters.push(D),_+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[i],this.lettersChangedFlag=D.update(Y,q,W,$,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(t,e,n,r,i,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,o=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,o=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,o=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,o=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,o=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,o=!0),o},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(r=0;r<i;r+=1)a=n!==this.keysIndex?this.effectsSequence[r](a,a.t):this.effectsSequence[r](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,n=0,r=t.length;n<=r-1&&!(n===r-1||t[n+1].t>e);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,n=FontManager.getCombinedCharacterCodes(),r=[],i=0,a=t.length;i<a;)e=t.charCodeAt(i),-1!==n.indexOf(e)?r[r.length-1]+=t.charAt(i):e>=55296&&e<=56319&&(e=t.charCodeAt(i+1))>=56320&&e<=57343?(r.push(t.substr(i,2)),i+=1):r.push(t.charAt(i)),i+=1;return r},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,n,r,i,a,o,s,l=this.elem.globalData.fontManager,u=this.data,c=[],h=0,f=u.m.g,p=0,d=0,m=0,y=[],v=0,g=0,b=l.getFontByName(t.f),w=0,x=getFontProperties(b);t.fWeight=x.weight,t.fStyle=x.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),n=t.finalText.length,t.finalLineHeight=t.lh;var k,E=t.tr/1e3*t.finalSize;if(t.sz)for(var P,S,_=!0,C=t.sz[0],A=t.sz[1];_;){P=0,v=0,n=(S=this.buildFinalText(t.t)).length,E=t.tr/1e3*t.finalSize;var T=-1;for(e=0;e<n;e+=1)k=S[e].charCodeAt(0),r=!1," "===S[e]?T=e:13!==k&&3!==k||(v=0,r=!0,P+=t.finalLineHeight||1.2*t.finalSize),l.chars?(s=l.getCharData(S[e],b.fStyle,b.fFamily),w=r?0:s.w*t.finalSize/100):w=l.measureText(S[e],t.f,t.finalSize),v+w>C&&" "!==S[e]?(-1===T?n+=1:e=T,P+=t.finalLineHeight||1.2*t.finalSize,S.splice(e,T===e?1:0,"\r"),T=-1,v=0):(v+=w,v+=E);P+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&A<P?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=S,n=t.finalText.length,_=!1)}v=-E,w=0;var O,M=0;for(e=0;e<n;
vendor: 6,106 bytes, line 2
2e+=1)if(r=!1,13===(k=(O=t.finalText[e]).charCodeAt(0))||3===k?(M=0,y.push(v),g=v>g?v:g,v=-2*E,i="",r=!0,m+=1):i=O,l.chars?(s=l.getCharData(O,b.fStyle,l.getFontByName(t.f).fFamily),w=r?0:s.w*t.finalSize/100):w=l.measureText(i,t.f,t.finalSize)," "===O?M+=w+E:(v+=w+E+M,M=0),c.push({l:w,an:w,add:p,n:r,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==f){if(p+=w,""===i||" "===i||e===n-1){for(""!==i&&" "!==i||(p-=w);d<=e;)c[d].an=p,c[d].ind=h,c[d].extra=w,d+=1;h+=1,p=0}}else if(3==f){if(p+=w,""===i||e===n-1){for(""===i&&(p-=w);d<=e;)c[d].an=p,c[d].ind=h,c[d].extra=w,d+=1;p=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(t.l=c,g=v>g?v:g,y.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=g,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var I,D,F,R,j=u.a;o=j.length;var L=[];for(a=0;a<o;a+=1){for((I=j[a]).a.sc&&(t.strokeColorAnim=!0),I.a.sw&&(t.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(t.fillColorAnim=!0),R=0,F=I.s.b,e=0;e<n;e+=1)(D=c[e]).anIndexes[a]=R,(1==F&&""!==D.val||2==F&&""!==D.val&&" "!==D.val||3==F&&(D.n||" "==D.val||e==n-1)||4==F&&(D.n||e==n-1))&&(1===I.s.rn&&L.push(R),R+=1);u.a[a].s.totalChars=R;var V,B=-1;if(1===I.s.rn)for(e=0;e<n;e+=1)B!=(D=c[e]).anIndexes[a]&&(B=D.anIndexes[a],V=L.splice(Math.floor(Math.random()*L.length),1)[0]),D.anIndexes[a]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var n=this.copyData({},this.data.d.k[e].s);n=this.copyData(n,t),this.data.d.k[e].s=n,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,n=Math.floor;function r(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,a=0,o=1,s=1;this.ne.v>0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?o=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,o,s).get,u=0,c=this.finalS,h=this.finalE,f=this.data.sh;if(2===f)u=l(u=h===c?r>=h?1:0:t(0,e(.5/(h-c)+(r-c)/(h-c),1)));else if(3===f)u=l(u=h===c?r>=h?0:1:1-t(0,e(.5/(h-c)+(r-c)/(h-c),1)));else if(4===f)h===c?u=0:(u=t(0,e(.5/(h-c)+(r-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+(r=e(t(0,r+.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:(r=e(t(0,r+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*r/(h-c)))/2),u=l(u)):(r>=n(c)&&(u=t(0,e(r-c<0?e(h,1)-(c-r):h-r,1))),u=l(u));return u*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/e,r=this.s.v/e+n,i=this.e.v/e+n;if(r>i){var a=r;r=i,i=a}this.finalS=r,this.finalE=i}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(t,e,n){return new r(t,e,n)}}}(),poolFactory=function(t,e,n){var r=0,i=t,a=createSizedArray(i);return{newElement:function(){return r?a[r-=1]:e()},release:function(t){r===i&&(a=pooling.double(a),i*=2),n&&n(t),a[r]=t,r+=1}}},pooling={double:function(t){return t.concat(createSizedArray(t.length))}},pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)})),shapePool=function(){var t=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,n=t._length;for(e=0;e<n;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}));return t.clone=function(e){var n,r=t.newElement(),i=void 0===e._length?e.v.length:e._length;for(r.setLength(i),r.c=e.c,n=0;n<i;n+=1)r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],n);return r},t}(),shapeCollectionPool=function(){var t={newShapeCollection:function(){return e?r[e-=1]:new ShapeCollection},release:function(t){var i,a=t._length;for(i=0;i<a;i+=1)shapePool.release(t.shapes[i]);t._length=0,e===n&&(r=pooling.double(r),n*=2),r[e]=t,e+=1}},e=0,n=4,r=createSizedArray(n);return t}(),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,n=t.lengths.length;for(e=0;e<n;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0})),bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}})),markerParser=function(){function t(t){for(var e,n=t.split("\r\n"),r={},i=0,a=0;a<n.length;a+=1)2===(e=n[a].split(":")).length&&(r[e[0]]=e[1].trim(),i+=1);if(0===i)throw new Error;return r}return function(e){for(var n=[],r=0;r<e.length;r+=1){var i=e[r],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(e[r].cm)}catch(o){try{a.payload=t(e[r].cm)}catch(s){a.payload={name:e[r]}}}n.push(a)}return n}}();function BaseRenderer(){}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";
vendor: 1,910 bytes, line 2
2if(e&&e.title){var r=createNS("title"),i=createElementID();r.setAttribute("id",i),r.textContent=e.title,this.svgElement.appendChild(r),n+=i}if(e&&e.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=e.description,this.svgElement.appendChild(a),n+=" "+o}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=ne
vendor: 11,848 bytes, line 2
2w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(t,e,n){this.data=t,this.element=e,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,i,a=this.globalData.defs,o=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(o),this.solidPath="";var s,l,u,c,h,f,p=this.masksProperties,d=0,m=[],y=createElementID(),v="clipPath",g="clip-path";for(r=0;r<o;r+=1)if(("a"!==p[r].mode&&"n"!==p[r].mode||p[r].inv||100!==p[r].o.k||p[r].o.x)&&(v="mask",g="mask"),"s"!==p[r].mode&&"i"!==p[r].mode||0!==d?u=null:((u=createNS("rect")).setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),m.push(u)),i=createNS("path"),"n"===p[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,p[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[r],3),elem:i,lastPath:""},a.appendChild(i);else{var b;if(d+=1,i.setAttribute("fill","s"===p[r].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==p[r].x.k?(v="mask",g="mask",f=PropertyFactory.getProp(this.element,p[r].x,0,null,this.element),b=createElementID(),(c=createNS("filter")).setAttribute("id",b),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),c.appendChild(h),a.appendChild(c),i.setAttribute("stroke","s"===p[r].mode?"#000000":"#ffffff")):(h=null,f=null),this.storedData[r]={elem:i,x:f,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[r].mode){l=m.length;var w=createNS("g");for(s=0;s<l;s+=1)w.appendChild(m[s]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",y+"_"+d),x.appendChild(i),a.appendChild(x),w.setAttribute("mask","url("+locationHref+"#"+y+"_"+d+")"),m.length=0,m.push(w)}else m.push(i);p[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,p[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[r],3),invRect:u},this.viewData[r].prop.k||this.drawPath(p[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(v),o=m.length,r=0;r<o;r+=1)this.maskElement.appendChild(m[r]);d>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(g,"url("+locationHref+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(t,e){this.elem=t,this.pos=e}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(t,e,n){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=n,this.lvl=e,this._isAnimated=!!n.k;for(var r=0,i=t.length;r<i;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGTransformData(t,e,n){this.transform={mProps:t,op:e,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n}function SVGGradientFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,n)}function SVGGradientStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(t){var e,n,r=this.layers.length;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(n=this.layers[e]).ip-n.st<=t-this.layers[e].st&&n.op-n.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var n,r=t.length,i=this.layers.length;for(e=0;e<r;e+=1)for(n=0;n<i;){if(this.layers[n].id===t[e].id){this.layers[n]=t[e];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,n){for(var r=this.elements,i=this.layers,a=0,o=i.length;a<o;)i[a].ind==e&&(r[a]&&!0!==r[a]?(n.push(r[a]),r[a].setAsParent(),void 0!==i[a].parent?this.buildElementParenting(t,i[a].parent,n):t.setHierarchy(n)):(this.buildItem(a),this.addPendingElement(t))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,n=t.length;for(e=0;e<n;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRenderer.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRenderer.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRenderer.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},SVGRenderer.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var i=createElementID();n.setAttribute("id",i),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+i+")"),e.appendChild(n),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRenderer.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var n=this.createItem(this.layers[t]);e[t]=n,expressionsPlugin&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?n.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(n)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,n=this.elements.length;e<n;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRenderer.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=n-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<n;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){for(var r,i=0;i<e;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&
2(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(n,r):this.layerElement.appendChild(n)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRenderer.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRenderer.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var n=this.contextData.cTr.props;this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRenderer.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e,n=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r=this.contextData.saved[this.contextData.cArrPos];for(e=0;e<16;e+=1)r[e]=n[e];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,n=this.contextData.saved[this.contextData.cArrPos],r=this.contextData.cTr.props;for(e=0;e<16;e+=1)r[e]=n[e];this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),n=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=n,this.globalData.currentGlobalAlpha!==n&&(this.canvasContext.globalAlpha=n,this.globalData.currentGlobalAlpha=n)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var n="0px 0px 0px";e.transformOrigin=n,e.mozTransformOrigin=n,e.webkitTransformOrigin=n,e["-webkit-transform"]=n,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var t,e,n,r;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),a=i[1]||"meet",o=i[0]||"xMidYMid",s=o.substr(0,4),l=o.substr(4);n=t/e,(r=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===a||r<n&&"slice"===a?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===s&&(r<n&&"meet"===a||r>n&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(r<n&&"meet"===a||r>n&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.t
vendor: 20,063 bytes, line 2
2y="YMid"===l&&(r>n&&"meet"===a||r<n&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(r>n&&"meet"===a||r<n&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var n;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),n=0;n<r;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(t-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var n=this.createItem(this.layers[t],this,this.globalData);e[t]=n,n.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRenderer.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){var r=this.layers[e];if(r.ddd&&this.supports3d)this.addTo3dContainer(n,e);else if(this.threeDElements)this.addTo3dContainer(n,e);else{for(var i,a,o=0;o<e;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement&&(a=this.elements[o],i=(this.layers[o].ddd?this.getThreeDContainerByPos(o):a.getBaseElement())||i),o+=1;i?r.ddd&&this.supports3d||this.layerElement.insertBefore(n,i):r.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRenderer.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRenderer.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRenderer.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},HybridRenderer.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(t){for(var e=0,n=this.threeDElements.length;e<n;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRenderer.prototype.createThreeDContainer=function(t,e){var n,r,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===e){(n=i.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var o="50% 50%";n.webkitTransformOrigin=o,n.mozTransformOrigin=o,n.transformOrigin=o;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=a.style).transform=s,r.webkitTransform=s}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRenderer.prototype.build3dContainers=function(){var t,e,n=this.layers.length,r="";for(t=0;t<n;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==r&&(r="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==r&&(r="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(n=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(t,e){for(var n=0,r=this.threeDElements.length;n<r;){if(e<=this.threeDElements[n].endPos){for(var i,a=this.threeDElements[n].startPos;a<e;)this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a].getBaseElement()),a+=1;i?this.threeDElements[n].container.insertBefore(t,i):this.threeDElements[n].container.appendChild(t);break}n+=1}},HybridRenderer.prototype.configAnimation=function(t){var e=createTag("div"),n=this.animationItem.wrapper,r=e.style;r.width=t.w+"px",r.height=t.h+"px",this.resizerElem=e,styleDiv(e),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),n.appendChild(e),r.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var t,e,n,r,i=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,o=i/a;this.globalData.compSize.w/this.globalData.compSize.h>o?(t=i/this.globalData.compSize.w,e=i/this.globalData.compSize.w,n=0,r=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,n=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,r=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+n+","+r+",0,1)",s.transform=s.webkitTransform},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(t=0;t<r;t+=1){var i=this.threeDElements[t].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(n,2))+"px",i.perspective=i.webkitPerspective}}},HybridRenderer.prototype.searchExtraCompositions=function(t){var e,n=t.length,r=createTag("div");for(e=0;e<n;e+=1)if(t[e].xt){var i=this.createComp(t[e],r,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,n=this.element.finalTransform.mat,r=this.masksProperties.length;for(e=0;e<r;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var i=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[e].filterId+")")),i.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,n){var r,i,a=" M"+e.v[0][0]+","+e.v[0][1];for(i=e._length,r=1;r<i;r+=1)a+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[r][0]+","+e.i[r][1]+" "+e.v[r][0]+","+e.v[r][1];if(e.c&&i>1&&(a+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),n.lastPath!==a){var o="";n.elem&&(e.c&&(o=t.inv?this.solidPath+a:a),n.elem.setAttribute("d",o)),n.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(e||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),n=0;n<r;n+=1)t=this.hierarchy[n].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var n,r=!0,i=this.comp;r;)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):r=!1;var a,o=e.length;for(n=0;n<o;n+=1)a=e[n].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!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 t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,n){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,e),this.setGradientOpacity(e,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var n=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var i,a,o,s=[];for(o=4*e.g.p,a=0;a<o;a+=4)i=createNS("stop"),r.appendChild(i),s.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+n+")"),this.gf=r,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,i,a=createNS("mask"),o=createNS("path");a.appendChild(o);var s=createElementID(),l=createElementID();a.setAttribute("id",l);var u=createNS(1===t.t?"linearGradient":"radialGradient");u.setAttribute("id",s),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),i=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(r=4*t.g.p;r<i;r+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(n),c.push(n);o.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+s+")"),"gs"===t.ty&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&o.setAttribute("stroke-miterlimit",t.ml)),this.of=u,this.ms=a,this.ost=c,this.maskId=l,e.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function n(t,e,n){(n||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(n||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function r(n,r,i){var a,o,s,l,u,c,h,f,p,d,m,y=r.styles.length,v=r.lvl;for(c=0;c<y;c+=1){if(l=r.sh._mdf||i,r.styles[c].lvl<v){for(f=e.reset(),d=v-r.styles[c].lvl,m=r.transformers.length-1;!l&&d>0;)l=r.transformers[m].mProps._mdf||l,d-=1,m-=1;if(l)for(d=v-r.styles[c].lvl,m=r.transformers.length-1;d>0;)p=r.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=t;if(o=(h=r.sh.paths)._length,l){for(s="",a=0;a<o;a+=1)(u=h.shapes[a])&&u._length&&(s+=buildShapeString(u,u._length,u.c,f));r.caches[c]=s}else s=r.caches[c];r.styles[c].d+=!0===n.hd?"":s,r.styles[c]._mdf=l||r.styles[c]._mdf}}function i(t,e,n){var r=e.style;(e.c._mdf||n)&&r.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n)&&r.pElem.setAttribute("fill-opacity",e.o.v)}function a(t,e,n){o(t,e,n),s(0,e,n)}function o(t,e,n){var r,i,a,o,s,l=e.gf,u=e.g._hasOpacity,c=e.s.v,h=e.e.v;if(e.o._mdf||n){var f="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(f,e.o.v)}if(e.s._mdf||n){var p=1===t.t?"x1":"cx",d="x1"===p?"y1":"cy";l.setAttribute(p,c[0]),l.setAttribute(d,c[1]),u&&!e.g._collapsable&&(e.of.setAttribute(p,c[0]),e.of.setAttribute(d,c[1]))}if(e.g._cmdf||n){r=e.cst;var m=e.g.c;for(a=r.length,i=0;i<a;i+=1)(o=r[i]).setAttribute("offset",m[4*i]+"%"),o.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(u&&(e.g._omdf||n)){var y=e.g.o;for(a=(r=e.g._collapsable?e.cst:e.ost).length,i=0;i<a;i+=1)o=r[i],e.g._collapsable||o.setAttribute("offset",y[2*i]+"%"),o.setAttribute("stop-opacity",y[2*i+1])}if(1===t.t)(e.e._mdf||n)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),u&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||n)&&(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)),l.setAttribute("r",s),u&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.e._mdf||e.h._mdf||e.a._mdf||n){s||(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)));var v=Math.atan2(h[1]-c[1],h[0]-c[0]),g=e.h.v;g>=1?g=.99:g<=-1&&(g=-.99);var b=s*g,w=Math.cos(v+e.a.v)*b+c[0],x=Math.sin(v+e.a.v)*b+c[1];l.setAttribute("fx",w),l.setAttribute("fy",x),u&&!e.g._collapsable&&(e.of.setAttribute("fx",w),e.of.setAttribute("fy",x))}}function s(t,e,n){var r=e.style,i=e.d;
vendor: 6,924 bytes, line 2
2i&&(i._mdf||n)&&i.dashStr&&(r.pElem.setAttribute("stroke-dasharray",i.dashStr),r.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),e.c&&(e.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",e.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return i;case"gf":return o;case"gs":return a;case"st":return s;case"sh":case"el":case"rc":case"sr":return r;case"tr":return n;default:return null}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(t,e,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var o,s=n.length;for(i=0;i<s;i+=1)n[i].closed||(o={transforms:r.addTransformSequence(n[i].transforms),trNodes:[]},this.styledShapes.push(o),n[i].elements.push(o))}function BaseElement(){}function NullElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initFrame(),this.initTransform(t,e,n),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(t,e,n){this.initElement(t,e,n)}function AudioElement(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function FootageElement(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,n)}function SVGCompElement(t,e,n){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGTextLottieElement(t,e,n){this.textSpans=[],this.renderType="svg",this.initElement(t,e,n)}function SVGShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,n),this.prevViewData=[]}function SVGTintFilter(t,e){this.filterManager=e;var n=createNS("feColorMatrix");if(n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),n.setAttribute("result","f1"),t.appendChild(n),(n=createNS("feColorMatrix")).setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result","f2"),t.appendChild(n),this.matrixFilter=n,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var r,i=createNS("feMerge");t.appendChild(i),(r=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),i.appendChild(r),(r=createNS("feMergeNode")).setAttribute("in","f2"),i.appendChild(r)}}function SVGFillFilter(t,e){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(n),this.matrixFilter=n}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var n=createNS("feGaussianBlur");t.appendChild(n),this.feGaussianBlur=n}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),n.setAttribute("result","f1"),t.appendChild(n);var r=createNS("feComponentTransfer");r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r),this.matrixFilter=r;var i=createNS("feFuncR");i.setAttribute("type","table"),r.appendChild(i),this.feFuncR=i;var a=createNS("feFuncG");a.setAttribute("type","table"),r.appendChild(a),this.feFuncG=a;var o=createNS("feFuncB");o.setAttribute("type","table"),r.appendChild(o),this.feFuncB=o}function SVGProLevelsFilter(t,e){this.filterManager=e;var n=this.filterManager.effectElements,r=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",r)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",r)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",r)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",r)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r),r=createNS("feComponentTransfer")),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&(r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r),this.feFuncRComposed=this.createFeFunc("feFuncR",r),this.feFuncGComposed=this.createFeFunc("feFuncG",r),this.feFuncBComposed=this.createFeFunc("feFuncB",r))}function SVGDropShadowEffect(t,e){var n=e.container.globalData.renderConfig.filterSize;t.setAttribute("x",n.x),t.setAttribute("y",n.y),t.setAttribute("width",n.width),t.setAttribute("height",n.height),this.filterManager=e;var r=createNS("feGaussianBlur");r.setAttribute("in","SourceAlpha"),r.setAttribute("result","drop_shadow_1"),r.setAttribute("stdDeviation","0"),this.feGaussianBlur=r,t.appendChild(r);var i=createNS("feOffset");i.setAttribute("dx","25"),i.setAttribute("dy","0"),i.setAttribute("in","drop_shadow_1"),i.setAttribute("result","drop_shadow_2"),this.feOff
2set=i,t.appendChild(i);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,t.appendChild(a);var o=createNS("feComposite");o.setAttribute("in","drop_shadow_3"),o.setAttribute("in2","drop_shadow_2"),o.setAttribute("operator","in"),o.setAttribute("result","drop_shadow_4"),t.appendChild(o);var s,l=createNS("feMerge");t.appendChild(l),s=createNS("feMergeNode"),l.appendChild(s),(s=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=s,this.feMerge=l,this.originalNodeAdded=!1,l.appendChild(s)}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,n=t.length,r="_";for(e=0;e<n;e+=1)r+=t[e].transform.key+"_";var i=this.sequences[r];return i||(i={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=i,this.sequenceList.push(i)),i},processSequence:function(t,e){for(var n,r=0,i=t.transforms.length,a=e;r<i&&!e;){if(t.transforms[r].transform.mProps._mdf){a=!0;break}r+=1}if(a)for(t.finalTransform.reset(),r=i-1;r>=0;r-=1)n=t.transforms[r].transform.mProps.v.props,t.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);t._mdf=a},processSequences:function(t){var e,n=this.sequenceList.length;for(e=0;e<n;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,n){this.globalData=e,this.comp=n,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,n,r=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var i=createNS("mask");i.setAttribute("id",this.layerId),i.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),i.appendChild(this.layerElement),r=i,this.globalData.defs.appendChild(i),featureSupport.maskType||1!=this.data.td||(i.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(this.layerElement),r=n,i.appendChild(n),n.setAttribute("filter","url("+locationHref+"#"+t+")"))}else if(2==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type","alpha");var o=createNS("g");a.appendChild(o),t=createElementID(),e=filtersFactory.createFilter(t);var s=createNS("feComponentTransfer");
vendor: 13,166 bytes, line 2
2s.setAttribute("in","SourceGraphic"),e.appendChild(s);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),s.appendChild(l),this.globalData.defs.appendChild(e);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),o.setAttribute("filter","url("+locationHref+"#"+t+")"),o.appendChild(u),o.appendChild(this.layerElement),r=o,featureSupport.maskType||(a.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),o.appendChild(u),n.appendChild(this.layerElement),r=n,o.appendChild(n)),this.globalData.defs.appendChild(a)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var c=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var f=createElementID();if(c.setAttribute("id",f),c.appendChild(h),this.globalData.defs.appendChild(c),this.checkMasks()){var p=createNS("g");p.setAttribute("clip-path","url("+locationHref+"#"+f+")"),p.appendChild(this.layerElement),this.transformedElement=p,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+f+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+t+")")}},IShapeElement.prototype={addShapeToModifiers:function(t){var e,n=this.shapeModifiers.length;for(e=0;e<n;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,n=0,r=e.length;n<r;){if(e[n].elem===t)return e[n].pos;n+=1}return 0},addProcessedElement:function(t,e){for(var n=this.processedElements,r=n.length;r;)if(n[r-=1].elem===t)return void(n[r].pos=e);n.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}},ITextElement.prototype.initElement=function(t,e,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,n),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var n,r,i=e.length,a="";for(n=0;n<i;n+=1)r=e[n].ks.k,a+=buildShapeString(r,r.i.length,!0,t);return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,n,r,i){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n])/2,0,0)}e.translate(r,i,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}},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(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this.audio.volume(t)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},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},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,n=t.length,r=[],i="";e<n;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(i),i=""):i+=t[e],e+=1;return r.push(i),r},SVGTextLottieElement.prototype.buildNewText=function(){var t,e,n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var i=n.fWeight,a=n.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",n.t);var o,s=n.l||[],l=!!this.globalData.fontManager.chars;e=s.length;var u,c=this.mHelper,h="",f=this.data.singleShape,p=0,d=0,m=!0,y=.001*n.tr*n.finalSize;if(!f||l||n.sz){var v,g,b=this.textSpans.length;for(t=0;t<e;t+=1)l&&f&&0!==t||(o=b>t?this.textSpans[t]:createNS(l?"path":"text"),b<=t&&(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[t]=o,this.layerElement.appendChild(o)),o.style.display="inherit"),c.reset(),c.scale(n.finalSize/100,n.finalSize/100),f&&(s[t].n&&(p=-y,d+=n.yOffset,d+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(n,c,s[t].line,p,d),p+=s[t].l||0,p+=y),l?(u=(v=(g=this.globalData.fontManager.getCharData(n.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily))&&g.data||{}).shapes?v.shapes[0].it:[],f?h+=this.createPathShape(c,u):o.setAttribute("d",this.createPathShape(c,u))):(f&&o.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),o.textContent=s[t].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));f&&o&&o.setAttribute("d",h)}else{var w=this.textContainer,x="start";switch(n.j){case 1:x="end";break;case 2:x="middle";break;default:x="start"}w.setAttribute("text-anchor",x),w.setAttribute("letter-spacing",y);var k=this.buildTextContents(n.finalText);for(e=k.length,d=n.ps?n.ps[1]+n.ascent:0,t=0;t<e;t+=1)(o=this.textSpans[t]||createNS("tspan")).textContent=k[t],o.setAttribute("x",0),o.setAttribute("y",d),o.style.display="inherit",w.appendChild(o),this.textSpans[t]=o,d+=n.finalLineHeight;this.layerElement.appendChild(w)}for(;t<this.textSpans.length;)this.textSpans[t].style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var n,r,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(n=i[t],r=this.textSpans[t],n._mdf.m&&r.setAttribute("transform",n.m),n._mdf.o&&r.setAttribute("op
2acity",n.o),n._mdf.sw&&r.setAttribute("stroke-width",n.sw),n._mdf.sc&&r.setAttribute("stroke",n.sc),n._mdf.fc&&r.setAttribute("fill",n.fc))}},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 t,e,n,r,i=this.shapes.length,a=this.stylesList.length,o=[],s=!1;for(n=0;n<a;n+=1){for(r=this.stylesList[n],s=!1,o.length=0,t=0;t<i;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(r)&&(o.push(e),s=e._isAnimated||s);o.length>1&&s&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var n,r=new SVGStyleData(t,e),i=r.pElem;return"st"===t.ty?n=new SVGStrokeStyleData(this,t,r):"fl"===t.ty?n=new SVGFillStyleData(this,t,r):"gf"!==t.ty&&"gs"!==t.ty||(n=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),i.setAttribute("mask","url("+locationHref+"#"+n.maskId+")"))),"st"!==t.ty&&"gs"!==t.ty||(i.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),i.setAttribute("fill-opacity","0"),1===t.lj&&i.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&i.setAttribute("fill-rule","evenodd"),t.ln&&i.setAttribute("id",t.ln),t.cl&&i.setAttribute("class",t.cl),t.bm&&(i.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var n=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(n,n.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,n){var r=4;"rc"===t.ty?r=5:"el"===t.ty?r=6:"sr"===t.ty&&(r=7);var i=new SVGShapeData(e,n,ShapePropertyFactory.getShapeProp(this,t,r,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===e)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,n=t.styles,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||n.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,n,r,i,a,o){var s,l,u,c,h,f,p=[].concat(a),d=t.length-1,m=[],y=[];for(s=d;s>=0;s-=1){if((f=this.searchProcessedElement(t[s]))?e[s]=n[f-1]:t[s]._render=o,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty)f?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],i),t[s]._render&&r.appendChild(e[s].style.pElem),m.push(e[s].style);else if("gr"===t[s].ty){if(f)for(u=e[s].it.length,l=0;l<u;l+=1)e[s].prevViewData[l]=e[s].it[l];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,i+1,p,o),t[s]._render&&r.appendChild(e[s].gr)}else"tr"===t[s].ty?(f||(e[s]=this.createTransformElement(t[s],r)),c=e[s].transform,p.push(c)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(f||(e[s]=this.createShapeElement(t[s],p,i)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty?(f?(h=e[s]).closed=!1:((h=ShapeModifiers.getModifier(t[s].ty)).init(this,t[s]),e[s]=h,this.shapeModifiers.push(h)),y.push(h)):"rp"===t[s].ty&&
vendor: 12,856 bytes, line 2
2(f?(h=e[s]).closed=!0:(h=ShapeModifiers.getModifier(t[s].ty),e[s]=h,h.init(this,t,s,e),this.shapeModifiers.push(h),o=!1),y.push(h));this.addProcessedElement(t[s],s+1)}for(d=m.length,s=0;s<d;s+=1)m[s].closed=!0;for(d=y.length,s=0;s<d;s+=1)y[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,n=this.animatedContents.length;for(t=0;t<n;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",n[0]-e[0]+" 0 0 0 "+e[0]+" "+(n[1]-e[1])+" 0 0 0 "+e[1]+" "+(n[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+n+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=3==n?0:e,i=2==n?0:e;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+i);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},SVGStrokeEffect.prototype.initialize=function(){var t,e,n,r,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,n=0):r=1+(n=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);n<r;n+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:n});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(e),this.elem.globalData.defs.appendChild(a);var s=createNS("g");for(s.setAttribute("mask","url("+locationHref+"#"+o+")");i[0];)s.appendChild(i[0]);this.elem.layerElement.appendChild(s),this.masker=a,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var n,r,i=this.paths.length;for(e=0;e<i;e+=1)if(-1!==this.paths[e].m&&(n=this.elem.maskManager.viewData[this.paths[e].m],r=this.paths[e].p,(t||this.filterManager._mdf||n.prop._mdf)&&r.setAttribute("d",n.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var o=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=r.getTotalLength();a="0 0 0 "+l*o+" ";var u,c=l*(s-o),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(c/h);for(u=0;u<f;u+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,i=r[0]+" "+n[0]+" "+e[0],a=r[1]+" "+n[1]+" "+e[1],o=r[2]+" "+n[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var n=createNS(t);return n.setAttribute("type","table"),e.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(t,e,n,r,i){for(var a,o,s=0,l=Math.min(t,e),u=Math.max(t,e),c=Array.call(null,{length:256}),h=0,f=i-r,p=e-t;s<=256;)o=(a=s/256)<=l?p<0?i:r:a>=u?p<0?r:i:r+f*Math.pow((a-t)/p,1/n),c[h]=o,h+=1,s+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,n=this.filterManager.effectElements;this.feFuncRComposed&&(t||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(e=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(e=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(e=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(e=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(e=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),a=n*Math.sin(r);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,n){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGEffects(t){var e,n,r=t.data.ef?t.data.ef.length:0,i=createElementID(),a=filtersFactory.createFilter(i,!0),o=0;for(this.filters=[],e=0;e<r;e+=1)n=null,20===t.data.ef[e].ty?(o+=1,n=new SVGTintFilter(a,t.effectsManager.effectElements[e])):21===t.data.ef[e].ty?(o+=1,n=new SVGFillFilter(a,t.effectsManager.effectElements[e])):22===t.data.ef[e].ty?n=new SVGStrokeEffect(t,t.effectsManager.effectElements[e]):23===t.data.ef[e].ty?(o+=1,n=new SVGTritoneFilter(a,t.effectsManager.effectElements[e])):24===t.data.ef[e].ty?(o+=1,n=new SVGProLevelsFilter(a,t.effectsManager.effectElements[e])):25===t.data.ef[e].ty?(o+=1,n=new SVGDropShadowEffect(a,t.effectsManager.effectElements[e])):28===t.data.ef[e].ty?n=new SVGMatte3Effect(a,t.effectsManager.effectElements[e],t):29===t.data.ef[e].ty&&(o+=1,n=new SVGGaussianBlurEffect(a,t.effectsManager.effectElements[e])),n&&this.filters.push(n);o&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+locationHref+"#"+i+")")),this.filters.length&&t.addRenderableComponent(this)}function CVContextData(){var t;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,n)}function CVCompElement(t,e,n){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CVMaskElement(t,e){var n;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,i=!1;for(n=0;n<r;n+=1)"n"!==this.masksProperties[n].mode&&(i=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,n)}function CVSolidElement(t,e,n){this.initElement(t,e,n)}function CVTextElement(t,e,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,n)}function CVEffects(){}function HBaseElement(){}function HSolidElement(t,e,n){this.initElement(t,e,n)}function HCompElement(t,e,n){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,n)}function HImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,n)}function HCameraElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,t.pe,0,0,this),t.ks.p.s?(this.px=r(this,t.ks.p.x,1,0,this),this.py=r(this,t.ks.p.y,1,0,this),this.pz=r(this,t.ks.p.z,1,0,this)):this.p=r(this,t.ks.p,1,0,this),t.ks.a&&(this.a=r(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var i,a=t.ks.or.k.length;for(i=0;i<a;i+=1)t.ks.or.k[i].to=null,t.ks.or.k[i].ti=null}this.or=r(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,t.ks.rx,0,degToRads,this),this.ry=r(this,t.ks.ry,0,degToRads,this),this.rz=r(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=ne
vendor: 4,425 bytes, line 2
2w Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,n=_svgMatteSymbols.length;e<n;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var n=t.layerElement.parentNode;if(n){for(var r,i=n.children,a=0,o=i.length;a<o&&i[a]!==t.layerElement;)a+=1;a<=o-2&&(r=i[a+1]);var s=createNS("use");s.setAttribute("href","#"+e),r?n.insertBefore(s,r):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",e.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var i=t.globalData.defs;i.appendChild(r);var a=createNS("symbol");a.setAttribute("id",n),this.replaceInParent(e,n),a.appendChild(e.layerElement),i.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+n),r.appendChild(o),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,n=0,r=e.length;n<r;)e[n]&&e[n].data.ind===t&&this.setElementAsMask(this.elem,e[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(t){var e,n=this.filters.length;for(e=0;e<n;e+=1)this.filters[e].renderFrame(t)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var n=0;for(n=this._length;n<t;n+=1)this.saved[n]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,n,r=t.getContext("2d"),i=this.img.width,a=this.img.height,o=i/a,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o>s&&"xMidYMid slice"===l||o<s&&"xMidYMid slice"!==l?e=(n=a)*s:n=(e=i)/s,r.drawImage(this.img,(i-e)/2,(a-n)/2,e,n,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;
vendor: 20,172 bytes, line 2
2for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,n,r,i=this.element.finalTransform.mat,a=this.element.canvasContext,o=this.masksProperties.length;for(a.beginPath(),t=0;t<o;t+=1)if("n"!==this.masksProperties[t].mode){var s;this.masksProperties[t].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),r=this.viewData[t].v,e=i.applyToPointArray(r.v[0][0],r.v[0][1],0),a.moveTo(e[0],e[1]);var l=r._length;for(s=1;s<l;s+=1)n=i.applyToTriplePoints(r.o[s-1],r.i[s],r.v[s]),a.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=i.applyToTriplePoints(r.o[s-1],r.i[0],r.v[0]),a.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var n={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},r={};if("fl"===t.ty||"st"===t.ty?(r.c=PropertyFactory.getProp(this,t.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(r.s=PropertyFactory.getProp(this,t.s,1,null,this),r.e=PropertyFactory.getProp(this,t.e,1,null,this),r.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,t.g,this)),r.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(n.lc=lineCapEnum[t.lc||2],n.lj=lineJoinEnum[t.lj||2],1==t.lj&&(n.ml=t.ml),r.w=PropertyFactory.getProp(this,t.w,0,null,this),r.w.k||(n.wi=r.w.v),t.d){var i=new DashProperty(this,t.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,n,r,i){var a,o,s,l,u,c,h=t.length-1,f=[],p=[],d=[].concat(i);for(a=h;a>=0;a-=1){if((l=this.searchProcessedElement(t[a]))?e[a]=n[l-1]:t[a]._shouldRender=r,"fl"===t[a].ty||"st"===t[a].ty||"gf"===t[a].ty||"gs"===t[a].ty)l?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],d),f.push(e[a].style);else if("gr"===t[a].ty){if(l)for(s=e[a].it.length,o=0;o<s;o+=1)e[a].prevViewData[o]=e[a].it[o];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,r,d)}else"tr"===t[a].ty?(l||(c=this.createTransformElement(t[a]),e[a]=c),d.push(e[a]),this.addTransformToStyleList(e[a])):"sh"===t[a].ty||"rc"===t[a].ty||"el"===t[a].ty||"sr"===t[a].ty?l||(e[a]=this.createShapeElement(t[a])):"tm"===t[a].ty||"rd"===t[a].ty||"pb"===t[a].ty?(l?(u=e[a]).closed=!1:((u=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=u,this.shapeModifiers.push(u)),p.push(u)):"rp"===t[a].ty&&(l?(u=e[a]).closed=!0:(u=ShapeModifiers.getModifier(t[a].ty),e[a]=u,u.init(this,t,a,e),this.shapeModifiers.push(u),r=!1),p.push(u));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),h=p.length,a=0;a<h;a+=1)p[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,n,r,i,a,o,s,l,u=this.stylesList.length,c=this.globalData.renderer,h=this.globalData.canvasContext;for(t=0;t<u;t+=1)if(("st"!==(s=(l=this.stylesList[t]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),a=l.elements,"st"===s||"gs"===s?(h.strokeStyle="st"===s?l.co:l.grd,h.lineWidth=l.wi,h.lineCap=l.lc,h.lineJoin=l.lj,h.miterLimit=l.ml||0):h.fillStyle="fl"===s?l.co:l.grd,c.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&h.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),n=a.length,e=0;e<n;e+=1){for("st"!==s&&"gs"!==s||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l.do)),i=(o=a[e].trNodes).length,r=0;r<i;r+=1)"m"===o[r].t?h.moveTo(o[r].p[0],o[r].p[1]):"c"===o[r].t?h.bezierCurveTo(o[r].pts[0],o[r].pts[1],o[r].pts[2],o[r].pts[3],o[r].pts[4],o[r].pts[5]):h.closePath();"st"!==s&&"gs"!==s||(h.stroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&h.fill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(t,e,n,r){var i,a;for(a=t,i=e.length-1;i>=0;i-=1)"tr"===e[i].ty?(a=n[i].transform,this.renderShapeTransform(t,a)):"sh"===e[i].ty||"el"===e[i].ty||"rc"===e[i].ty||"sr"===e[i].ty?this.renderPath(e[i],n[i]):"fl"===e[i].ty?this.renderFill(e[i],n[i],a):"st"===e[i].ty?this.renderStroke(e[i],n[i],a):"gf"===e[i].ty||"gs"===e[i].ty?this.renderGradientFill(e[i],n[i],a):"gr"===e[i].ty?this.renderShape(a,e[i].it,n[i].it):e[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var n,r,i,a=t.trNodes,o=e.paths,s=o._length;a.length=0;var l=t.transforms.finalTransform;for(i=0;i<s;i+=1){var u=o.shapes[i];if(u&&u.v){for(r=u._length,n=1;n<r;n+=1)1===n&&a.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[n],u.v[n])});1===r&&a.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&r&&(a.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[0],u.v[0])}),a.push({t:"z"}))}}t.trNodes=a}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var n,r=e.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(e.styledShapes[n],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,n){var r=e.style;(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,n){var r,i=e.style;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var a,o=this.globalData.canvasContext,s=e.s.v,l=e.e.v;if(1===t.t)r=o.createLinearGradient(s[0],s[1],l[0],l[1]);else{var u=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),c=Math.atan2(l[1]-s[1],l[0]-s[0]),h=e.h.v;h>=1?h=.99:h<=-1&&(h=-.99);var f=u*h,p=Math.cos(c+e.a.v)*f+s[0],d=Math.sin(c+e.a.v)*f+s[1];r=o.createRadialGradient(p,d,0,s[0],s[1],u)}var m=t.g.p,y=e.g.c,v=1;for(a=0;a<m;a+=1)e.g._hasOpacity&&e.g._collapsable&&(v=e.g.o[2*a+1]),r.addColorStop(y[4*a]/100,"rgba("+y[4*a+1]+","+y[4*a+2]+","+y[4*a+3]+","+v+")");i.grd=r}i.coOp=e.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(t,e,n){var r=e.style,i=e.d;i&&(i._mdf||this._isFirstFrame)&&(r.da=i.dashArray,r.do=i.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*n.opacity),(e.w._mdf||this._isFirstFrame)&&(r.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var n=!1;t.sc&&(n=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var r,i,a,o,s,l,u,c,h,f,p,d,m=this.globalData.fontManager.getFontByName(t.f),y=t.l,v=this.mHelper;this.stroke=n,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,i=t.finalText.length;var g=this.data.singleShape,b=.001*t.tr*t.finalSize,w=0,x=0,k=!0,E=0;for(r=0;r<i;r+=1){for(o=(a=this.globalData.fontManager.getCharData(t.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&a.data||{},v.reset(),g&&y[r].n&&(w=-b,x+=t.yOffset,x+=k?1:0,k=!1),h=(u=o.shapes?o.shapes[0].it:[]).length,v.scale(t.finalSize/100,t.finalSize/100),g&&this.applyTextPropertiesToMatrix(t,v,y[r].line,w,x),p=createSizedArray(h),c=0;c<h;c+=1){for(l=u[c].ks.k.i.length,f=u[c].ks.k,d=[],s=1;s<l;s+=1)1===s&&d.push(v.applyToX(f.v[0][0],f.v[0][1],0),v.applyToY(f.v[0][0],f.v[0][1],0)),d.push(v.applyToX(f.o[s-1][0],f.o[s-1][1],0),v.applyToY(f.o[s-1][0],f.o[s-1][1],0),v.applyToX(f.i[s][0],f.i[s][1],0),v.applyToY(f.i[s][0],f.i[s][1],0),v.applyToX(f.v[s][0],f.v[s][1],0),v.applyToY(f.v[s][0],f.v[s][1],0));d.push(v.applyToX(f.o[s-1][0],f.o[s-1][1],0),v.applyToY(f.o[s-1][0],f.o[s-1][1],0),v.applyToX(f.i[0][0],f.i[0][1],0),v.applyToY(f.i[0][0],f.i[0][1],0),v.applyToX(f.v[0][0],f.v[0][1],0),v.applyToY(f.v[0][0],f.v[0][1],0)),p[c]=d}g&&(w+=y[r].l,w+=b),this.textSpans[E]?this.textSpans[E].elem=p:this.textSpans[E]={elem:p},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,n,r,i,a,o=this.canvasContext;o.font=this.values.fValue,o.lineCap="butt",o.lineJoin="miter",o.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;e=u.length;var c,h,f=null,p=null,d=null;for(t=0;t<e;t+=1)if(!u[t].n){if((s=l[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?f!==s.fc&&(f=s.fc,o.fillStyle=s.fc):f!==this.values.fill&&(f=this.values.fill,o.fillStyle=this.values.fill),r=(c=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(a=(h=c[n]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?d!==s.sw&&(d=s.sw,o.lineWidth=s.sw):d!==this.values.sWidth&&(d=this.values.sWidth,o.lineWidth=this.values.sWidth),s&&s.sc?p!==s.sc&&(p=s.sc,o.strokeStyle=s.sc):p!==this.values.stroke&&(p=this.values.stroke,o.strokeStyle=this.values.stroke),r=(c=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(a=(h=c[n]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},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 t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.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=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var n,r=0;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(t,n):this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)e=t[n].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var n,r,i,a,o,s=t.sh.v,l=t.transformers,u=s._length;if(!(u<=1)){for(n=0;n<u-1;n+=1)r=this.getTransformedPoint(l,s.v[n]),i=this.getTransformedPoint(l,s.o[n]),a=this.getTransformedPoint(l,s.i[n+1]),o=this.getTransformedPoint(l,s.v[n+1]),this.checkBounds(r,i,a,o,e);s.c&&(r=this.getTransformedPoint(l,s.v[n]),i=this.getTransformedPoint(l,s.o[n]),a=this.getTransformedPoint(l,s.i[0]),o=this.getTransformedPoint(l,s.v[0]),this.checkBounds(r,i,a,o,e))}},HShapeElement.prototype.checkBounds=function(t,e,n,r,i){this.getBoundsOfCurve(t,e,n,r);var a=this.shapeBoundingBox;i.x=bmMin(a.left,i.x),i.xMax=bmMax(a.right,i.xMax),i.y=bmMin(a.top,i.y),i.yMax=bmMax(a.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,n,r){for(var i,a,o,s,l,u,c,h=[[t[0],r[0]],[t[1],r[1]]],f=0;f<2;++f)a=6*t[f]-12*e[f]+6*n[f],i=-3*t[f]+9*e[f]-9*n[f]+3*r[f],o=3*e[f]-3*t[f],a|=0,o|=0,0===(i|=0)&&0===a||(0===i?(s=-o/a)>0&&s<1&&h[f].push(this.calculateF(s,t,e,n,r,f)):(l=a*a-4*o*i)>=0&&((u=(-a+bmSqrt(l))/(2*i))>0&&u<1&&h[f].push(this.calculateF(u,t,e,n,r,f)),(c=(-a-bmSqrt(l))/(2*i))>0&&c<1&&h[f].push(this.calculateF(c,t,e,n,r,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(t,e,n,r,i,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*n[a]+3*(1-t)*bmPow(t,2)*r[a]+bmPow(t,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)t[n]&&t[n].sh?this.calculateShapeBoundingBox(t[n],e):t[n]&&t[n].it&&this.calculateBoundingBox(t[n].it,e)},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var n=!1;
vendor: 8,192 bytes, line 2
2if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),n=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),n=!0),n||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=i,r.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,n=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=n,e.color=n,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var r,i,a=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{e.fontFamily=a.fFamily;var o=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=o}var l,u,c,h=t.l;i=h.length;var f,p=this.mHelper,d="",m=0;for(r=0;r<i;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?c=(u=this.textSpans[m]).children[0]:((u=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(l),styleDiv(u)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(u=this.textSpans[m],l=this.textPaths[m]):(styleDiv(u=createTag("span")),styleDiv(l=createTag("span")),u.appendChild(l)),this.globalData.fontManager.chars){var y,v=this.globalData.fontManager.getCharData(t.finalText[r],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(y=v?v.data:null,p.reset(),y&&y.shapes&&(f=y.shapes[0].it,p.scale(t.finalSize/100,t.finalSize/100),d=this.createPathShape(p,f),l.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(u),y&&y.shapes){document.body.appendChild(c);var g=c.getBBox();c.setAttribute("width",g.width+2),c.setAttribute("height",g.height+2),c.setAttribute("viewBox",g.x-1+" "+(g.y-1)+" "+(g.width+2)+" "+(g.height+2));var b=c.style,w="translate("+(g.x-1)+"px,"+(g.y-1)+"px)";b.transform=w,b.webkitTransform=w,h[r].yOffset=g.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);u.appendChild(c)}}else if(l.textContent=h[r].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(u);var x=l.style,k="translate3d(0,"+-t.finalSize/1.2+"px,0)";x.transform=k,x.webkitTransform=k}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=u,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,r,i,a,o,s=0,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;for(r=u.length,n=0;n<r;n+=1)u[n].n?s+=1:(a=this.textSpans[n],o=this.textPaths[n],i=l[s],s+=1,i._mdf.m&&(this.isMasked?a.setAttribute("transform",i.m):(a.style.webkitTransform=i.m,a.style.transform=i.m)),a.style.opacity=i.o,i.sw&&i._mdf.sw&&o.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&o.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(o.setAttribute("fill",i.fc),o.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();if(this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height)),this.currentBBox.w!==c.width+2||this.currentBBox.h!==c.height+2||this.currentBBox.x!==c.x-1||this.currentBBox.y!==c.y-1){this.currentBBox.w=c.width+2,this.currentBBox.h=c.height+2,this.currentBBox.x=c.x-1,this.currentBBox.y=c.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var h="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=h,t.webkitTransform=h}}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,n,r,i=this.comp.threeDElements.length;for(t=0;t<i;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){n=e.perspectiveElem.style,r=e.container.style;var a=this.pe.v+"px",o="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=a,n.webkitPerspective=a,r.transformOrigin=o,r.mozTransformOrigin=o,r.webkitTransformOrigin=o,n.transform=s,n.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,n=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)n=this.hierarchy[t].finalTransform.mProp._mdf||n;if(n||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var r=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.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)),o=[i[0]/a,i[1]/a,i[2]/a],s=Math.sqrt(o[2]*o[2]+o[0]*o[
vendor: 6,544 bytes, line 2
20]),l=Math.atan2(o[1],s),u=Math.atan2(o[0],-o[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(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(h=this.comp.threeDElements[t]).type){if(c){var d=this.mat.toCSS();(p=h.container.style).transform=d,p.webkitTransform=d}this.pe._mdf&&((f=h.perspectiveElem.style).perspective=this.pe.v+"px",f.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var t={},e=[],n=0,r=0,i=0,a=!0,o=!1;function s(t){for(var n=0,i=t.target;n<r;)e[n].animation===i&&(e.splice(n,1),n-=1,r-=1,i.isPaused||c()),n+=1}function l(t,n){if(!t)return null;for(var i=0;i<r;){if(e[i].elem===t&&null!==e[i].elem)return e[i].animation;i+=1}var a=new AnimationItem;return h(a,t),a.setData(t,n),a}function u(){i+=1,d()}function c(){i-=1}function h(t,n){t.addEventListener("destroy",s),t.addEventListener("_active",u),t.addEventListener("_idle",c),e.push({elem:n,animation:t}),r+=1}function f(t){var s,l=t-n;for(s=0;s<r;s+=1)e[s].animation.advanceTime(l);n=t,i&&!o?window.requestAnimationFrame(f):a=!0}function p(t){n=t,window.requestAnimationFrame(f)}function d(){!o&&i&&a&&(window.requestAnimationFrame(p),a=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return h(e,null),e.setParams(t),e},t.setSpeed=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setSpeed(t,n)},t.setDirection=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setDirection(t,n)},t.play=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.play(t)},t.pause=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.pause(t)},t.stop=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.stop(t)},t.togglePause=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.togglePause(t)},t.searchAnimations=function(t,e,n){var r,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=i.length;for(r=0;r<a;r+=1)n&&i[r].setAttribute("data-bm-type",n),l(i[r],t);if(e&&0===a){n||(n="svg");var o=document.getElementsByTagName("body")[0];o.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),o.appendChild(s),l(s,t)}},t.resize=function(){var t;for(t=0;t<r;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,n,i){var a;for(a=0;a<r;a+=1)e[a].animation.goToAndStop(t,n,i)},t.destroy=function(t){var n;for(n=r-1;n>=0;n-=1)e[n].animation.destroy(t)},t.freeze=function(){o=!0},t.unfreeze=function(){o=!1,d()},t.setVolume=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setVolume(t,n)},t.mute=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.mute(t)},t.unmute=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,n=e.length,r=[];for(t=0;t<n;t+=1)r.push(e[t].animation);return r},t}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[]};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";switch(t.animType?e=t.animType:t.renderer&&(e=t.renderer),e){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,t.rendererSettings);break;default:this.renderer=new HybridRenderer(this,t.rendererSettings)}this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.configAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(t.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this)))},AnimationItem.prototype.setData=function(t,e){e&&"object"!==typeof e&&(e=JSON.parse(e));var n={wrapper:t,animationData:e},r=t.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:"canvas";var i=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===i?n.loop=!1:"true"===i?n.loop=!0:""!==i&&(n.loop=parseInt(i,10));
vendor: 4,566 bytes, line 2
2var a=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;n.autoplay="false"!==a,n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),this.setParams(n)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,n,r=this.animationData.layers,i=r.length,a=t.layers,o=a.length;for(n=0;n<o;n+=1)for(e=0;e<i;){if(r[e].id===a[n].id){r[e]=a[n];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,e=0;e<i;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(t.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}
vendor: 5,250 bytes, line 2
2catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,n=0;n<this.markers.length;n+=1)if((e=this.markers[n]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,n){if(!n||this.name===n){var r=Number(t);if(isNaN(r)){var i=this.getMarkerData(t);i&&this.goToAndStop(i.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,n){if(!n||this.name===n){var r=Number(t);if(isNaN(r)){var i=this.getMarkerData(t);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(r,e,n);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,n=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(n=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),n&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?n=t:this.currentRawFrame+this.firstFrame>e&&(n=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===typeof t[0]){var n,r=t.length;for(n=0;n<r;n+=1)this.segments.push(t[n])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),e=this.assetsPath+n}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,n=this.assets.length;e<n;
vendor: 5,300 bytes, line 2
2){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var Expressions=function(){var t={initExpressions:function(t){var e=0,n=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0===(e-=1)&&function(){var t,e=n.length;for(t=0;t<e;t+=1)n[t].release();n.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===n.indexOf(t)&&n.push(t)}}};return t}();expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=typeof t;if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var n,r=t.length,i=[];for(n=0;n<r;n+=1)i[n]=-t[n];return i}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var n=typeof t,r=typeof e;if("string"===n||"string"===r)return t+e;if(isNumerable(n,t)&&isNumerable(r,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,a=t.length,o=e.length,s=[];i<a||i<o;)("number"===typeof t[i]||t[i]instanceof Number)&&("number"===typeof e[i]||e[i]instanceof Number)?s[i]=t[i]+e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}var add=sum;function sub(t,e){var n=typeof t,r=typeof e;if(isNumerable(n,t)&&isNumerable(r,e))return"string"===n&&(t=parseInt(t,10)),"string"===r&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,a=t.length,o=e.length,s=[];i<a||i<o;)("number"===typeof t[i]||t[i]instanceof Number)&&("number"===typeof e[i]||e[i]instanceof Number)?s[i]=t[i]-e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}function mul(t,e){var n,r,i,a=typeof t,o=typeof e;if(isNumerable(a,t)&&isNumerable(o,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(o,e)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t[r]*e;return n}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t*e[r];return n}return 0}function div(t,e){var n,r,i,a=typeof t,o=typeof e;if(isNumerable(a,t)&&isNumerable(o,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(o,e)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t[r]/e;return n}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t/e[r];return n}return 0}function mod(t,e){return"string"===typeof t&&(t=parseInt(t,10)),"string"===typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,n){if(e>n){var r=n;n=e,e=r}return Math.min(Math.max(t,e),n)}function radiansToDegrees(t){return t/degToRads}
vendor: 9,180 bytes, line 2
2var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"===typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var n;e||(e=helperLengthArray);var r=Math.min(t.length,e.length),i=0;for(n=0;n<r;n+=1)i+=Math.pow(e[n]-t[n],2);return Math.sqrt(i)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,n,r=t[0],i=t[1],a=t[2],o=Math.max(r,i,a),s=Math.min(r,i,a),l=(o+s)/2;if(o===s)e=0,n=0;else{var u=o-s;switch(n=l>.5?u/(2-o-s):u/(o+s),o){case r:e=(i-a)/u+(i<a?6:0);break;case i:e=(a-r)/u+2;break;case a:e=(r-i)/u+4}e/=6}return[e,n,l,t[3]]}function hue2rgb(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function hslToRgb(t){var e,n,r,i=t[0],a=t[1],o=t[2];if(0===a)e=o,r=o,n=o;else{var s=o<.5?o*(1+a):o+a-o*a,l=2*o-s;e=hue2rgb(l,s,i+1/3),n=hue2rgb(l,s,i),r=hue2rgb(l,s,i-1/3)}return[e,n,r,t[3]]}function linear(t,e,n,r,i){if(void 0!==r&&void 0!==i||(r=e,i=n,e=0,n=1),n<e){var a=n;n=e,e=a}if(t<=e)return r;if(t>=n)return i;var o,s=n===e?0:(t-e)/(n-e);if(!r.length)return r+(i-r)*s;var l=r.length,u=createTypedArray("float32",l);for(o=0;o<l;o+=1)u[o]=r[o]+(i[o]-r[o])*s;return u}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var n,r=e.length;t||(t=createTypedArray("float32",r));var i=createTypedArray("float32",r),a=BMMath.random();for(n=0;n<r;n+=1)i[n]=t[n]+a*(e[n]-t[n]);return i}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,n,r){var i,a=t.length,o=shapePool.newElement();o.setPathData(!!r,a);var s,l,u=[0,0];for(i=0;i<a;i+=1)s=e&&e[i]?e[i]:u,l=n&&n[i]?n[i]:u,o.setTripleAt(t[i][0],t[i][1],l[0]+t[i][0],l[1]+t[i][1],s[0]+t[i][0],s[1]+t[i][1],i,!0);return o}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var n,r,i=this.pv.length?this.pv.length:1,a=createTypedArray("float32",i),o=Math.floor(5*time);for(n=0,r=0;n<o;){for(r=0;r<i;r+=1)a[r]+=-e+2*e*BMMath.random();n+=1}var s=5*time,l=s-Math.floor(s),u=createTypedArray("float32",i);if(i>1){for(r=0;r<i;r+=1)u[r]=this.pv[r]+a[r]+(-e+2*e*BMMath.random())*l;return u}return this.pv+a[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var n=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,r,0]}function easeOut(t,e,n,r,i){return applyEase(easeOutBez,t,e,n,r,i)}function easeIn(t,e,n,r,i){return applyEase(easeInBez,t,e,n,r,i)}function ease(t,e,n,r,i){return applyEase(easeInOutBez,t,e,n,r,i)}function applyEase(t,e,n,r,i,a){void 0===i?(i=n,a=r):e=(e-n)/(r-n),e>1?e=1:e<0&&(e=0);var o=t(e);if($bm_isInstanceOfArray(i)){var s,l=i.length,u=createTypedArray("float32",l);for(s=0;s<l;s+=1)u[s]=(a[s]-i[s])*o+i[s];return u}return(a-i)*o+i}function nearestKey(t){var e,n,r,i=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(n=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,r=data.k[0].t;else{for(e=0;e<i-1;e+=1){if(t===data.k[e].t){n=e+1,r=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(n=e+2,r=data.k[e+1].t):(n=e+1,r=data.k[e].t);break}}-1===n&&(n=e+1,r=data.k[e].t)}else n=0,r=0;var a={};return a.index=n,a.time=r/elem.comp.globalData.frameRate,a}function key(t){var e,n,r;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=i.length,n=0;n<r;n+=1)e[n]=i[n],e.value[n]=i[n];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"===typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"===typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,_needsRandom&&seedRandom(randSeed),this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(t,e,n){e.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(t,e,n).bind(n)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),n=this.getValueAtTime(t+-.01),r=0;if(e.length){var i;for(i=0;i<e.length;i+=1)r+=Math.pow(n[i]-e[i],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,n,r=-.001,i=this.getValueAtTime(t),a=this.getValueAtTime(t+r);if(i.length)for(e=createTypedArray("float32",i.length),n=0;n<i.length;n+=1)e[n]=(a[n]-i[n])/r;else e=(a-i)/r;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};!function(){function t(t,e,n){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var r,i,a,o,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[u.length-1].t;if(l<=c)return this.pv;if(n?i=c-(r=e?Math.abs(c-this.elem.comp.globalData.frameRate*e):Math.max(0,c-this.elem.data.ip)):((!e||e>u.length-1)&&(e=u.length-1),r=c-(i=u[u.length-1-e].t)),"pingpong"===t){if(Math.floor((l-i)/r)%2!==0)return this.getValueAtTime((r-(l-i)%r+i)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0),d=Math.floor((l-i)/r);if(this.pv.length){for(o=(s=new Array(h.length)).length,a=0;a<o;
vendor: 2,108 bytes, line 2
2a+=1)s[a]=(f[a]-h[a])*d+p[a];return s}return(f-h)*d+p}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),y=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(s=new Array(m.length)).length,a=0;a<o;a+=1)s[a]=m[a]+(m[a]-y[a])*((l-c)/this.comp.globalData.frameRate)/5e-4;return s}return m+(l-c)/.001*(m-y)}}return this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0)}function e(t,e,n){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var r,i,a,o,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[0].t;if(l>=c)return this.pv;if(n?i=c+(r=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-c)):((!e||e>u.length-1)&&(e=u.length-1),r=(i=u[e].t)-c),"pingpong"===t){if(Math.floor((c-l)/r)%2===0)return this.getValueAtTime(((c-l)%r+c)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((r-(c-l)%r+c)/this.comp.globalData.frameRate,0),d=Math.floor((c-l)/r)+1;if(this.pv.length){for(o=(s=new Array(h.length)).length,a=0;a<o;a+=1)s[a]=p[a]-(f[a]-h[a])*d;return s}return p-(f-h)*d}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),y=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(s=new Array(m.length)).length,a=0;a<o;a+=1)s[a]=m[a]+(m[a]-y[a])*(c-l)/.001;return s}return m+(m-y)*(c-l)/.001}}return this.getValueAtTime((r-((c-l)%r+c))/this.comp.globalData.frameRate,0)}function n(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var n,r,i=this.comp.renderedFrame/this.comp.globalData.frameRate,a=i-t,o=e>1?(i+t-a)/(e-1):1,s=0,l=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;s<e;){if(r=this.getValueAtTime(a+s*o),this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]+=r[l];else n+=r;s+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]/=e;else n/=e;return n}function r(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:ne
vendor: 21,577 bytes, line 2
2w Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(t);e.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(t);e.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(t),a=this.sa.getValueAtTime(t);e.skewFromAxis(-i*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var o=this.r.getValueAtTime(t);e.rotate(-o*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),u=this.rx.getValueAtTime(t),c=this.or.getValueAtTime(t);e.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(u*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var h=this.px.getValueAtTime(t),f=this.py.getValueAtTime(t);if(this.data.p.z){var p=this.pz.getValueAtTime(t);e.translate(h*this.px.mult,f*this.py.mult,-p*this.pz.mult)}else e.translate(h*this.px.mult,f*this.py.mult,0)}else{var d=this.p.getValueAtTime(t);e.translate(d[0]*this.p.mult,d[1]*this.p.mult,-d[2]*this.p.mult)}return e}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,n){var o=a(t,e,n);return o.dynamicProperties.length?o.getValueAtTime=r.bind(o):o.getValueAtTime=i.bind(o),o.setGroupProperty=expressionHelpers.setGroupProperty,o};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(r,i,a,s,l){var u=o(r,i,a,s,l);u.kf?u.getValueAtTime=expressionHelpers.getValueAtTime.bind(u):u.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=t,u.loopIn=e,u.smooth=n,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=1===i.a?i.k.length:0,u.propertyIndex=i.ix;var c=0;return 0!==a&&(c=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(r,i,u),u.k&&l.addDynamicProperty(u),u};var s=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function u(){}u.prototype={vertices:function(t,e){this.k&&this.getValue();var n,r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0));var i=r._length,a=r[t],o=r.v,s=createSizedArray(i);for(n=0;n<i;n+=1)s[n]="i"===t||"o"===t?[a[n][0]-o[n][0],a[n][1]-o[n][1]]:[a[n][0],a[n][1]];return s},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var r,i=this._segmentsLength,a=i.lengths,o=i.totalLength*t,s=0,l=a.length,u=0;s<l;){if(u+a[s].addedLength>o){var c=s,h=n.c&&s===l-1?0:s+1,f=(o-u)/a[s].addedLength;r=bez.getPointInSegment(n.v[c],n.v[h],n.o[c],n.i[h],f,a[s]);break}u+=a[s].addedLength,s+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(t,e,n){1==t?t=this.v.c:0==t&&(t=.999);var r=this.pointOnPath(t,e),i=this.pointOnPath(t+.001,e),a=i[0]-r[0],o=i[1]-r[1],s=Math.sqrt(Math.pow(a,2)+Math.pow(o,2));return 0===s?[0,0]:"tangent"===n?[a/s,o/s]:[-o/s,a/s]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],s),extendPrototype([u],l),l.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,n,r,i){var a=c(t,e,n,r,i);return a.propertyIndex=e.ix,a.lock=!1,3===n?expressionHelpers.searchExpressions(t,e.pt,a):4===n&&expressionHelpers.searchExpressions(t,e.ks,a),a.k&&t.addDynamicProperty(a),a}}(),TextProperty.prototype.getExpressionValue=function(t,e){var n=this.calculateExpression(e);if(t.t!==n){var r={};return this.copyData(r,t),r.t=n.toString(),r.__complete=!1,r}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null};var ShapePathInterface=function(t,e,n){var r=e.sh;function i(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?i.path:null}var a=propertyGroupFactory(i,n);return r.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(i,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:n}}),i},propertyGroupFactory=function(t,e){return function(n){return(n=void 0===n?1:n)<=0?t:e(n-1)}},PropertyInterface=function(t,e){var n={_name:t};return function(t){return(t=void 0===t?1:t)<=0?n:e(t-1)}},ShapeExpressionInterface=function(){function t(t,o,f){var p,d=[],m=t?t.length:0;for(p=0;p<m;p+=1)"gr"===t[p].ty?d.push(e(t[p],o[p],f)):"fl"===t[p].ty?d.push(n(t[p],o[p],f)):"st"===t[p].ty?d.push(i(t[p],o[p],f)):"tm"===t[p].ty?d.push(a(t[p],o[p],f)):"tr"===t[p].ty||("el"===t[p].ty?d.push(s(t[p],o[p],f)):"sr"===t[p].ty?d.push(l(t[p],o[p],f)):"sh"===t[p].ty?d.push(ShapePathInterface(t[p],o[p],f)):"rc"===t[p].ty?d.push(u(t[p],o[p],f)):"rd"===t[p].ty?d.push(c(t[p],o[p],f)):"rp"===t[p].ty?d.push(h(t[p],o[p],f)):"gf"===t[p].ty?d.push(r(t[p],o[p],f)):d.push((t[p],o[p],function(){return null})));return d}function e(e,n,r){var i=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,r);var a=function(e,n,r){var i,a=function(t){for(var e=0,n=i.length;e<n;){if(i[e]._name===t||i[e].mn===t||i[e].propertyIndex===t||i[e].ix===t||i[e].ind===t)return i[e];e+=1}return"number"===typeof t?i[t-1]:null};a.propertyGroup=propertyGroupFactory(a,r),i=t(e.it,n.it,a.propertyGroup),a.numProperties=i.length;var s=o(e.it[e.it.length-1],n.it[n.it.length-1],a.propertyGroup);return a.transform=s,a.propertyIndex=e.cix,a._name=e.nm,a}(e,n,i.propertyGroup),s=o(e.it[e.it.length-1],n.it[n.it.length-1],i.propertyGroup);return i.content=a,i.transform=s,Object.defineProperty(i,"_name",{get:function(){return e.nm}}),i.numProperties=e.np,i.propertyIndex=e.ix,i.nm=e.nm,i.mn=e.mn,i}function n(t,e,n){function r(t){return"Color"===t||"color"===t?r.color:"Opacity"===t||"opacity"===t?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function r(t,e,n){function r(t){return"Start Point"===t||"start point"===t?r.startPoint:"End Point"===t||"end point"===t?r.endPoint:"Opacity"===t||"opacity"===t?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",n)),e.e.setGroupProperty(PropertyInterface("End Point",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function i(t,e,n){var r,i=propertyGroupFactory(u,n),a=propertyGroupFactory(l,i);function o(n){Object.defineProperty(l,t.d[n].nm,{get:ExpressionPropertyInterface(e.d.dataProps[n].p)})}var s=t.d?t.d.length:0,l={};for(r=0;r<s;r+=1)o(r),e.d.dataProps[r].p.setGroupProperty(a);function u(t){return"Color"===t||"color"===t?u.color:"Opacity"===t||"opacity"===t?u.opacity:"Stroke Width"===t||"stroke width"===t?u.strokeWidth:null}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),e.w.setGroupProperty(PropertyInterface("Stroke Width",i)),u}function a(t,e,n){function r(e){return e===t.e.ix||"End"===e||"end"===e?r.end:e===t.s.ix?r.start:e===t.o.ix?r.offset:null}var i=propertyGroupFactory(r,n);return r.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",i)),e.e.setGroupProperty(PropertyInterface("End",i)),e.o.setGroupProperty(PropertyInterface("Offset",i)),r.propertyIndex=t.ix,r.propertyGroup=n,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),r.mn=t.mn,r}function o(t,e,n){function r(e){return t.a.ix===e||"Anchor Point"===e?r.anchorPoint:t.o.ix===e||"Opacity"===e?r.opacity:t.p.ix===e||"Position"===e?r.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?r.rotation:t.s.ix===e||"Scale"===e?r.scale:t.sk&&t.sk.ix===e||"Skew"===e?r.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?r.skewAxis:null}var i=propertyGroupFactory(r,n);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),r.ty="tr",r.mn=t.mn,r.propertyGroup=n,r}function s(t,e,n){function r(e){return t.p.ix===e?r.position:t.s.ix===e?r.size:null}var i=propertyGroupFactory(r,n);r.propertyIndex=t.ix;var a="tm"===e.sh.ty?e.sh.prop:e.sh;return a.s.setGroupProperty(PropertyInterface("Size",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:t.nm}}),r.mn=t.mn,r}function l(t,e,n){function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.rotation:t.pt.ix===e?r.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?r.outerRadius:t.os.ix===e?r.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?r.innerRoundness:null:r.innerRadius}var i=propertyGroupFactory(r,n),a="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",i)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),a.pt.setGroupProperty(PropertyInterface("Points",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),t.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:t.nm}}),r.mn=t.mn,r}function u(t,e,n){function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?r.size:null}var i=propertyGroupFactory(r,n),a="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,a.p.setGroupProperty(PropertyInterface("Position",i)),a.s.setGroupProperty(PropertyInterface("Size",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:t.nm}}),r.mn=t.mn,r}function c(t,e,n){function r(e){return t.r.ix===e||"Round Corners 1"===e?r.radius:null}var i=propertyGroupFactory(r,n),a=e;return r.propertyIndex=t.ix,a.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:t.nm}}),r.mn=t.mn,r}function h(t,e,n){function r(e){return t.c.ix===e||"Copies"===e?r.copies:t.o.ix===e||"Offset"===e?r.offset:null}var i=propertyGroupFactory(r,n),a=e;return r.propertyIndex=t.ix,a.c.setGroupProperty(PropertyInterface("Copies",i)),a.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:t.nm}}),r.mn=t.mn,r}return function(e,n,r){var i;function a(t){if("number"===typeof t)return 0===(t=void 0===t?1:t)?r:i[t-1];for(var e=0,n=i.length;e<n;){if(i[e]._name===t)return i[e];e+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return r})),i=t(e,n,a.propertyGroup),a.numProperties=i.length,a._name="Contents",a}}(),TextExpressionInterface=function(t){var e,n;function r(t){switch(t){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return r!==e&&(t.textProperty.currentData.t=e,(n=new String(r)).value=r||new String(r)),n}}),r},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var n=this.getMatrix(e);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,t)}function n(t,e){var n=this.getMatrix(e);return this.applyPoint(n,t)}function r(t,e){var n=this.getMatrix(e);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,t)}function i(t,e){var n=this.getMatrix(e);return this.invertPoint(n,t)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function o(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function s(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(u){var c;function h(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return h.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return h.effect;case"ADBE Text Properties":return h.textInterface;default:return null}}h.getMatrix=t,h.invertPoint=o,h.applyPoint=a,h.toWorld=n,h.toWorldVec=e,h.fromWorld=i,h.fromWorldVec=r,h.toComp=n,h.fromComp=s,h.sampleImage=l,h.sourceRectAtTime=u.sourceRectAtTime.bind(u),h._elem=u;var f=getDescriptor(c=TransformExpressionInterface(u.finalTransform.mProp),"anchorPoint");return Object.defineProperties(h,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:f,anchor_point:f,transform:{get:function(){return c}},active:{get:function(){return u.isInRange}}}),h.startTime=u.data.st,h.index=u.data.ind,h.source=u.data.refId,h.height=0===u.data.ty?u.data.h:100,h.width=0===u.data.ty?u.data.w:100,h.inPoint=u.data.ip/u.comp.globalData.frameRate,h.outPoint=u.data.op/u.comp.globalData.frameRate,h._name=u.data.nm,h.registerMaskInterface=function(t){h.mask=new MaskManagerInterface(t,u)},h.registerEffectsInterface=function(t){h.effect=t},h}}(),FootageInterface=function(){var t=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",n=t.getFootageData();function r(t){if(n[t])return e=t,"object"===typeof(n=n[t])?r:n;var i=t.indexOf(e);if(-1!==i){var a=parseInt(t.substr(i+e.length),10);return"object"===typeof(n=n[a])?r:n}return""}return function(){return e="",n=t.getFootageData(),r}}(t),e};return function(e){function n(t){return"Data"===t?n.dataInterface:null}return n._name="Data",n.dataInterface=t(e),n}}(),CompExpressionInterface=function(t){function e(e){for(var n=0,r=t.layers.length;n<r;){if(t.layers[n].nm===e||t.layers[n].ind===e)return t.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var n,r,i,a;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?a=ExpressionPropertyInterface(t.p):(n=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(i=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[n(),r(),i?i():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,n=this.compositions.length;e<n;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),EffectsExpressionInterface=function(){function t(n,r,i,a){function o(t){for(var e=n.ef,r=0,i=e.length;r<i;){if(t===e[r].nm||t===e[r].mn||t===e[r].ix)return 5===e[r].ty?u[r]:u[r]();r+=1}throw new Error}var s,l=propertyGroupFactory(o,i),u=[],c=n.ef.length;for(s=0;s<c;s+=1)5===n.ef[s].ty?u.push(t(n.ef[s],r.effectElements[s],r.effectElements[s].propertyGroup,a)):u.push(e(r.effectElements[s],n.ef[s].ty,a,l));
vendor: 4,971 bytes, line 2
2return"ADBE Color Control"===n.mn&&Object.defineProperty(o,"color",{get:function(){return u[0]()}}),Object.defineProperties(o,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:l}}),o.enabled=0!==n.en,o.active=o.enabled,o}function e(t,e,n,r){var i=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===e?n.comp.compInterface(t.p.v):i()}}return{createEffectsInterface:function(e,n){if(e.effectsManager){var r,i=[],a=e.data.ef,o=e.effectsManager.effectElements.length;for(r=0;r<o;r+=1)i.push(t(a[r],e.effectsManager.effectElements[r],n,e));var s=e.data.ef||[],l=function(t){for(r=0,o=s.length;r<o;){if(t===s[r].nm||t===s[r].mn||t===s[r].ix)return i[r];r+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}}}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var n,r=createSizedArray(e.viewData.length),i=e.viewData.length;for(n=0;n<i;n+=1)r[n]=new t(e.viewData[n],e.masksProperties[n]);return function(t){for(n=0;n<i;){if(e.masksProperties[n].nm===t)return r[n];n+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function n(t,e,n){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(r){if(!t.numKeys)return 0;var i="";i="s"in e.keyframes[r-1]?e.keyframes[r-1].s:"e"in e.keyframes[r-2]?e.keyframes[r-2].e:e.keyframes[r-2].s;var a="unidimensional"===n?new Number(i):Object.assign({},i);return a.time=e.keyframes[r-1].t/e.elem.comp.globalData.frameRate,a.value="unidimensional"===n?i[0]:i,a},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function r(){return t}return function(i){return i?"unidimensional"===i.propType?function(e){e&&"pv"in e||(e=t);var r=1/e.mult,i=e.pv*r,a=new Number(i);return a.value=i,n(a,e,"unidimensional"),function(){return e.k&&e.getValue(),i=e.v*r,a.value!==i&&((a=new Number(i)).value=i,n(a,e,"unidimensional")),a}}(i):function(t){t&&"pv"in t||(t=e);var r=1/t.mult,i=t.data&&t.data.l||t.pv.length,a=createTypedArray("float32",i),o=createTypedArray("float32",i);return a.value=o,n(a,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<i;e+=1)o[e]=t.v[e]*r,a[e]=o[e];return a}}(i):r}}(),TextExpressionSelectorPropFactory=function(){function t(t,e){return this.textIndex=t+1,this.textTotal=e,this.v=this.getValue()*this.mult,this.v}return function(e,n){this.pv=1,this.comp=e.comp,this.elem=e,this.mult=.01,this.propType="textSelector",this.textTotal=n.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(e,n,this),this.getMult=t,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),propertyGetTextProp=TextSelectorProp.getTextSelectorProp;function SliderEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function AngleEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function ColorEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function PointEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function LayerIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function MaskIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function CheckboxEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var n,r=t.ef||[];this.effectElements=[];var i,a=r.length;for(n=0;n<a;n+=1)i=new GroupEffect(r[n],e),this.effectElements.push(i)}function GroupEffect(t,e){this.init(t,e)}TextSelectorProp.getTextSelectorProp=function(t,e,n){return 1===e.t?new TextExpressionSelectorPropFactory(t,e,n):propertyGetTextProp(t,e,n)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var n;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,i=this.data.ef.length,a=this.data.ef;for(n=0;n<i;n+=1){switch(r=null,a[n].ty){case 0:r=new SliderEffect(a[n],e,this);break;case 1:r=new AngleEffect(a[n],e,this);break;case 2:r=new ColorEffect(a[n],e,this);break;case 3:r=new PointEffect(a[n],e,this);break;case 4:case 7:r=new CheckboxEffect(a[n],e,this);break;
2case 10:r=new LayerIndexEffect(a[n],e,this);break;case 11:r=new MaskIndexEffect(a[n],e,this);break;case 5:r=new EffectsManager(a[n],e,this);break;default:r=new NoValueEffect(a[n],e,this)}r&&this.effectElements.push(r)}};var lottie={};function setLocationHref(t){locationHref=t}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){subframeEnabled=t}function setIDPrefix(t){idPrefix=t}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"===typeof t)switch(t){case"high":defaultCurveSegments=200;break;default:case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(t)&&t>1&&(defaultCurveSegments=t);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(t,e){"expressions"===t&&(expressionsPlugin=e)}function getFactory(t){switch(t){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(t){for(var e=queryString.split("&"),n=0;n<e.length;n+=1){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.setIDPrefix=setIDPrefix,lottie.__getFactory=getFactory,lottie.version="5.7.12";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="",queryString;if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src.replace(/^[^\?]+\??/,""),renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottie},void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return factory(root)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))},function(t,e,n){"use strict";var r=n(14),i=n(95),a=n(180),o=n(101);function s(t){var e=new a(t),n=i(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var l=s(n(98));l.Axios=a,l.create=function(t){return s(o(l.defaults,t))},l.Cancel=n(102),l.CancelToken=n(193),l.isCancel=n(97),l.all=function(t){return Promise.all(t)},l.spread=n(194),l.isAxiosError=n(195),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";var r=n(14),i=n(96),a=n(181),o=n(182),s=n(101);function l(t){this.defaults=t,this.interceptors={request:new a,response:new a}}l.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[o,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},l.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(14);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(14),i=n(183),a=n(97),o=n(98);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return s(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(100);t.exports=function(t,e,n){var i=n.config.validateStatus;
2n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(14);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,a,o){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(189),i=n(190);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(14),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,o={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(o[e]&&i.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var r=n(14);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(102);function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n(4)),i=o(n(22)),a=o(n(29));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e=t.animate,n=t.className,i=t.layout,o=t.children;return r.default.createElement("div",{className:(0,a.default)(n,"vertical-timeline",{"vertical-timeline--animate":e,"vertical-timeline--two-columns":"2-columns"===i,"vertical-timeline--one-column-left":"1-column"===i||"1-column-left"===i,"vertical-timeline--one-column-right":"1-column-right"===i})},o)};s.propTypes={children:i.default.oneOfType([i.default.arrayOf(i.default.node),i.default.node]).isRequired,className:i.default.string,animate:i.default.bool,layout:i.default.oneOf(["1-column-left","1-column","2-columns","1-column-right"])},s.defaultProps={animate:!0,className:"",layout:"2-columns"};var l=s;e.default=l},function(t,e,n){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(n(4)),i=s(n(22)),a=s(n(29)),o=n(199);function s(t){return t&&t.__esModule?t:{default:t}}var l=function(t){var e=t.children,n=t.className,i=t.contentArrowStyle,s=t.contentStyle,l=t.date,u=t.dateClassName,c=t.icon,h=t.iconClassName,f=t.iconOnClick,p=t.onTimelineElementClick,d=t.iconStyle,m=t.id,y=t.position,v=t.style,g=t.textClassName,b=t.intersectionObserverProps,w=t.visible;return r.default.createElement(o.InView,b,(function(t){var o=t.inView,b=t.ref;return r.default.createElement("div",{ref:b,id:m,className:(0,a.default)(n,"vertical-timeline-element",{"vertical-timeline-element--left":"left"===y,"vertical-timeline-element--right":"right"===y,"vertical-timeline-element--no-children":""===e}),style:v},r.default.createElement(r.default.Fragment,null,r.default.createElement("span",{style:d,onClick:f,className:(0,a.default)(h,"vertical-timeline-element-icon",{"bounce-in":o||w,"is-hidden":!(o||w)})},c),r.default.createElement("div",{style:s,onClick:p,className:(0,a.default)(g,"vertical-timeline-element-content",{"bounce-in":o||w,"is-hidden":!(o||w)})},r.default.createElement("div",{style:i,className:"vertical-timeline-element-content-arrow"}),e,r.default.createElement("span",{className:(0,a.default)(u,"vertical-timeline-element-date")},l))))}))};l.propTypes={children:i.default.oneOfType([i.default.arrayOf(i.default.node),i.default.node]),className:i.default.string,contentArrowStyle:i.default.shape({}),contentStyle:i.default.shape({}),date:i.default.node,dateClassName:i.default.string,icon:i.default.element,iconClassName:i.default.string,iconStyle:i.default.shape({}),iconOnClick:i.default.func,onTimelineElementClick:i.default.func,id:i.default.string,position:i.default.string,style:i.default.shape({}),textClassName:i.default.string,visible:i.default.bool,intersectionObserverProps:i.default.shape({root:i.default.object,rootMargin:i.default.string,threshold:i.default.number,triggerOnce:i.default.bool})},l.defaultProps={children:"",className:"",contentArrowStyle:null,contentStyle:null,icon:null,iconClassName:"",iconOnClick:null,onTimelineElementClick:null,iconStyle:null,id:"",style:null,date:"",dateClassName:"",position:"",textClassName:"",visible:!1,intersectionObserverProps:{rootMargin:"0px 0px -40px 0px"}};var u=l;e.default=u},function(t,e,n){"use strict";n.r(e),n.d(e,"InView",(function(){return h})),n.d(e,"observe",(function(){return u})),n.d(e,"useInView",(function(){return f}));var r=n(4);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var a=new Map,o=new WeakMap,s=0;function l(t){return Object.keys(t).sort().filter((function(e){return void 0!==t[e]})).map((function(e){return e+"_"+("root"===e?(n=t.root)?(o.has(n)||(s+=1,o.set(n,s.toString())),o.get(n)):"0":t[e]);var n})).toString()}function u(t,e,n){if(void 0===n&&(n={}),!t)return function(){};var r=function(t){var e=l(t),n=a.get(e);if(!n){var r,i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var n,a=e.isIntersecting&&r.some((function(t){return e.intersectionRatio>=t}));t.trackVisibility&&"undefined"===typeof e.isVisible&&(e.isVisible=a),null==(n=i.get(e.target))||n.forEach((function(t){t(a,e)}))}))}),t);r=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:o,elements:i},a.set(e,n)}return n}(n),i=r.id,o=r.observer,s=r.elements,u=s.get(t)||[];return s.has(t)||s.set(t,u),u.push(e),o.observe(t),function(){u.splice(u.indexOf(e),1),0===u.length&&(s.delete(t),o.unobserve(t)),0===s.size&&(o.disconnect(),a.delete(i))}}function c(t){return"function"!==typeof t.children}var h=function(t){var e,n;function a(e){var n;return(n=t.call(this,e)||this).node=null,n._unobserveCb=null,n.handleNode=function(t){n.node&&(n.unobserve(),t||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=t||null,n.observeNode()},n.handleChange=function(t,e){t&&n.props.triggerOnce&&n.unobserve(),c(n.props)||n.setState({inView:t,entry:e}),n.props.onChange&&n.props.onChange(t,e)},n.state={inView:!!e.initialInView,entry:void 0},n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=a.prototype;return o.componentDidUpdate=function(t){t.rootMargin===this.props.rootMargin&&t.root===this.props.root&&t.threshold===this.props.threshold&&t.skip===this.props.skip&&t.trackVisibility===this.props.trackVisibility&&t.delay===this.props.delay||(this.unobserve(),this.observeNode())},o.componentWillUnmount=function(){this.unobserve(),this.node=null},o.observeNode=function(){if(this.node&&!this.props.skip){var t=this.props,e=t.threshold,n=t.root,r=t.rootMargin,i=t.trackVisibility,a=t.delay;this._unobserveCb=u(this.node,this.handleChange,{threshold:e,root:n,rootMargin:r,trackVisibility:i,delay:a})}},o.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},o.render=function(){if(!c(this.props)){var t=this.state,e=t.inView,n=t.entry;return this.props.children({inView:e,entry:n,ref:this.handleNode})}var a=this.props,o=a.children,s=a.as,l=a.tag,u=function(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(a,["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView"]);return Object(r.createElement)(s||l||"div",i({ref:this.handleNode},u),o)},a}(r.Component);function f(t){var e=void 0===t?{}:t,n=e.threshold,i=e.delay,a=e.trackVisibility,o=e.rootMargin,s=e.root,l=e.triggerOnce,c=e.skip,h=e.initialInView,f=Object(r.useRef)(),p=Object(r.useState)({inView:!!h}),d=p[0],m=p[1],y=Object(r.useCallback)((function(t){void 0!==f.current&&(f.current(),f.current=void 0),c||t&&(f.current=u(t,(function(t,e){m({inView:t,entry:e}),e.isIntersecting&&l&&f.current&&(f.current(),f.current=void 0)}),{root:s,rootMargin:o,threshold:n,trackVisibility:a,delay:i}))}),[Array.isArray(n)?n.toString():n,s,o,l,c,a,i]);Object(r.useEffect)((function(){f.current||!d.entry||l||c||m({inView:!!h})}));var v=[y,d.inView,d.entry];return v.ref=v[0],v.inView=v[1],v.entry=v[2],v}h.displayName="InView",h.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1},e.default=h},function(t,e,n){},,function(t,e,n){(function(e){var n="Expected a function",r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof e&&e&&e.Object===Object&&e,u="object"==typeof self&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,d=function(){return c.Date.now()};function m(t,e,r){var i,a,o,s,l,u,c=0,h=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError(n);function b(e){var n=i,r=a;return i=a=void 0,c=e,s=t.apply(r,n)}function w(t){return c=t,l=setTimeout(k,e),h?b(t):s}function x(t){var n=t-u;return void 0===u||n>=e||n<0||m&&t-c>=o}function k(){var t=d();if(x(t))return E(t);l=setTimeout(k,function(t){var n=e-(t-u);return m?p(n,o-(t-c)):n}(t))}function E(t){return l=void 0,g&&i?b(t):(i=a=void 0,s)}function P(){var t=d(),n=x(t);if(i=arguments,a=this,u=t,n){if(void 0===l)return w(u);if(m)return l=setTimeout(k,e),b(u)}return void 0===l&&(l=setTimeout(k,e)),s}return e=v(e)||0,y(r)&&(h=!!r.leading,o=(m="maxWait"in r)?f(v(r.maxWait)||0,e):o,g="trailing"in r?!!r.trailing:g),P.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=a=l=void 0},P.flush=function(){return void 0===l?s:E(d())},P}function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function v(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==h.call(t)}(t))return NaN;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var n=a.test(t);return n||o.test(t)?s(t.slice(2),n?2:8):i.test(t)?NaN:+t}t.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),m(t,e,{leading:i,maxWait:e,trailing:a})}}).call(this,n(82))},,function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(M){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),o=new A(r||[]);return a._invoke=function(t,e,n){var r=h;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return O()}
vendor: 3,023 bytes, line 2
2for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=S(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=c(t,e,n);if("normal"===l.type){if(r=n.done?d:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=d,n.method="throw",n.arg=l.arg)}}}(t,n,o),a}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(M){return{type:"throw",arg:M}}}t.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",m={};function y(){}function v(){}function g(){}var b={};l(b,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==n&&r.call(x,a)&&(b=x);var k=g.prototype=y.prototype=Object.create(b);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function n(i,a,o,s){var l=c(t[i],t,a);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"===typeof h&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,o,s)}),(function(t){n("throw",t,o,s)})):e.resolve(h).then((function(t){u.value=t,o(u)}),(function(t){return n("throw",t,o,s)}))}s(l.arg)}var i;this._invoke=function(t,r){function a(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(a,a):a()}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=c(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(t){if(t){var n=t[a];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}return{next:O}}function O(){return{value:e,done:!0}}return v.prototype=g,l(k,"constructor",g),l(g,"constructor",v),v.displayName=l(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},t.awrap=function(t){return{__await:t}}
vendor: 2,884 bytes, lines 2-3
2,E(P.prototype),l(P.prototype,o,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new P(u(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},E(k),l(k,s,"Generator"),l(k,a,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=T,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),u=r.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}]]); 3//# sourceMappingURL=2.c11afeb0.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.