PageSourceSearch

https://blog.superkalam.com/_next/static/chunks/3840133f.224e29458c5d4404.js

js superkalam.com collected 2026-09-24 12:04:07 UTC 446,267 bytes, 62 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2273],{47282:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _AsyncGenerator(ti){var tr,tn;function ts(tr,tn){try{var to=ti[tr](tn),th=to.value,tl=th instanceof _OverloadYield;Promise.resolve(tl?th.v:th).then(function(tn){if(tl){var tp="return"===tr?"return":"next";if(!th.k||tn.done)return ts(tp,tn);tn=ti[tp](tn).value}ta(to.done?"return":"normal",tn)},function(ti){ts("throw",ti)})}catch(ti){ta("throw",ti)}}function ta(ti,ta){switch(ti){case"return":tr.resolve({value:ta,done:!0});break;case"throw":tr.reject(ta);break;default:tr.resolve({value:ta,done:!1})}(tr=tr.next)?ts(tr.key,tr.arg):tn=null}this._invoke=function(ti,ta){return new Promise(function(to,th){var tl={key:ti,arg:ta,resolve:to,reject:th,next:null};tn?tn=tn.next=tl:(tr=tn=tl,ts(ti,ta))})},"function"!=typeof ti.return&&(this.return=void 0)}function _OverloadYield(ti,tr){this.v=ti,this.k=tr}function old_createMetadataMethodsForProperty(ti,tr,tn,ts){return{getMetadata:function(ta){old_assertNotFinished(ts,"getMetadata"),old_assertMetadataKey(ta);var to=ti[ta];if(void 0!==to){if(1===tr){var th=to.public;if(void 0!==th)return th[tn]}else if(2===tr){var tl=to.private;if(void 0!==tl)return tl.get(tn)}else if(Object.hasOwnProperty.call(to,"constructor"))return to.constructor}},setMetadata:function(ta,to){old_assertNotFinished(ts,"setMetadata"),old_assertMetadataKey(ta);var th=ti[ta];if(void 0===th&&(th=ti[ta]={}),1===tr){var tl=th.public;void 0===tl&&(tl=th.public={}),tl[tn]=to}else if(2===tr){var tp=th.priv;void 0===tp&&(tp=th.private=new Map),tp.set(tn,to)}else th.constructor=to}}}function old_convertMetadataMapToFinal(ti,tr){var tn=ti[Symbol.metadata||Symbol.for("Symbol.metadata")],ts=Object.getOwnPropertySymbols(tr);if(0!==ts.length){for(var ta=0;ta<ts.length;ta++){var to=ts[ta],th=tr[to],tl=tn?tn[to]:null,tp=th.public,tf=tl?tl.public:null;tp&&tf&&Object.setPrototypeOf(tp,tf);var tu=th.private;if(tu){var tc=Array.from(tu.values()),tm=tl?tl.private:null;tm&&(tc=tc.concat(tm)),th.private=tc}tl&&Object.setPrototypeOf(th,tl)}tn&&Object.setPrototypeOf(tr,tn),ti[Symbol.metadata||Symbol.for("Symbol.metadata")]=tr}}function old_createAddInitializerMethod(ti,tr){return function(tn){old_assertNotFinished(tr,"addInitializer"),old_assertCallable(tn,"An initializer"),ti.push(tn)}}function old_memberDec(ti,tr,tn,ts,ta,to,th,tl,tp){switch(to){case 1:tf="accessor";break;case 2:tf="method";break;case 3:tf="getter";break;case 4:tf="setter";break;default:tf="field"}var tf,tu,tc,tm={kind:tf,name:tl?"#"+tr:tr,isStatic:th,isPrivate:tl},tg={v:!1};if(0!==to&&(tm.addInitializer=old_createAddInitializerMethod(ta,tg)),tl){tu=2,tc=Symbol(tr);var tv={};0===to?(tv.get=tn.get,tv.set=tn.set):2===to?tv.get=function(){return tn.value}:(1!==to&&3!==to||(tv.get=function(){return tn.get.call(this)}),1!==to&&4!==to||(tv.set=function(ti){tn.set.call(this,ti)})),tm.access=tv}else tu=1,tc=tr;try{return ti(tp,Object.assign(tm,old_createMetadataMethodsForProperty(ts,tu,tc,tg)))}finally{tg.v=!0}}function old_assertNotFinished(ti,tr){if(ti.v)throw Error("attempted to call "+tr+" after decoration was finished")}function old_assertMetadataKey(ti){if("symbol"!=typeof ti)throw TypeError("Metadata keys must be symbols, received: "+ti)}function old_assertCallable(ti,tr){if("function"!=typeof ti)throw TypeError(tr+" must be a function")}function old_assertValidReturnValue(ti,tr){var tn=typeof tr;if(1===ti){if("object"!==tn||null===tr)throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==tr.get&&old_assertCallable(tr.get,"accessor.get"),void 0!==tr.set&&old_assertCallable(tr.set,"accessor.set"),void 0!==tr.init&&old_assertCallable(tr.init,"accessor.init"),void 0!==tr.initializer&&old_assertCallable(tr.initializer,"accessor.initializer")}else if("function"!==tn)throw TypeError((0===ti?"field":10===ti?"class":"method")+" decorators must return a function or void 0")}function old_getInit(ti){var tr;return null==(tr=ti.init)&&(tr=ti.initializer)&&"undefined"!=typeof console&&console.warn(".initializer has been renamed to .init as of March 2022"),tr}
1function old_applyMemberDec(ti,tr,tn,ts,ta,to,th,tl,tp){var tf,tu,tc,tm,tg,tv,ty,tb=tn[0];if(th?tu=0===ta||1===ta?{get:tn[3],set:tn[4]}:3===ta?{get:tn[3]}:4===ta?{set:tn[3]}:{value:tn[3]}:0!==ta&&(tu=Object.getOwnPropertyDescriptor(tr,ts)),1===ta?tm={get:tu.get,set:tu.set}:2===ta?tm=tu.value:3===ta?tm=tu.get:4===ta&&(tm=tu.set),"function"==typeof tb)void 0!==(tg=old_memberDec(tb,ts,tu,tl,tp,ta,to,th,tm))&&(old_assertValidReturnValue(ta,tg),0===ta?tc=tg:1===ta?(tc=old_getInit(tg),tv=tg.get||tm.get,ty=tg.set||tm.set,tm={get:tv,set:ty}):tm=tg);else for(var t_=tb.length-1;t_>=0;t_--)void 0!==(tg=old_memberDec(tb[t_],ts,tu,tl,tp,ta,to,th,tm))&&(old_assertValidReturnValue(ta,tg),0===ta?tf=tg:1===ta?(tf=old_getInit(tg),tv=tg.get||tm.get,ty=tg.set||tm.set,tm={get:tv,set:ty}):tm=tg,void 0!==tf&&(void 0===tc?tc=tf:"function"==typeof tc?tc=[tc,tf]:tc.push(tf)));if(0===ta||1===ta){if(void 0===tc)tc=function(ti,tr){return tr};else if("function"!=typeof tc){var tw=tc;tc=function(ti,tr){for(var tn=tr,ts=0;ts<tw.length;ts++)tn=tw[ts].call(ti,tn);return tn}}else{var tx=tc;tc=function(ti,tr){return tx.call(ti,tr)}}ti.push(tc)}0!==ta&&(1===ta?(tu.get=tm.get,tu.set=tm.set):2===ta?tu.value=tm:3===ta?tu.get=tm:4===ta&&(tu.set=tm),th?1===ta?(ti.push(function(ti,tr){return tm.get.call(ti,tr)}),ti.push(function(ti,tr){return tm.set.call(ti,tr)})):2===ta?ti.push(tm):ti.push(function(ti,tr){return tm.call(ti,tr)}):Object.defineProperty(tr,ts,tu))}function old_applyMemberDecs(ti,tr,tn,ts,ta){for(var to,th,tl=new Map,tp=new Map,tf=0;tf<ta.length;tf++){var tu=ta[tf];if(Array.isArray(tu)){var tc,tm,tg,tv=tu[1],ty=tu[2],tb=tu.length>3,t_=tv>=5;if(t_?(tc=tr,tm=ts,0!=(tv-=5)&&(tg=th=th||[])):(tc=tr.prototype,tm=tn,0!==tv&&(tg=to=to||[])),0!==tv&&!tb){var tw=t_?tp:tl,tx=tw.get(ty)||0;if(!0===tx||3===tx&&4!==tv||4===tx&&3!==tv)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+ty);!tx&&tv>2?tw.set(ty,tv):tw.set(ty,!0)}old_applyMemberDec(ti,tc,tu,ty,tv,t_,tb,tm,tg)}}old_pushInitializers(ti,to),old_pushInitializers(ti,th)}function old_pushInitializers(ti,tr){tr&&ti.push(function(ti){for(var tn=0;tn<tr.length;tn++)tr[tn].call(ti);return ti})}function old_applyClassDecs(ti,tr,tn,ts){if(ts.length>0){for(var ta=[],to=tr,th=tr.name,tl=ts.length-1;tl>=0;tl--){var tp={v:!1};try{var tf=Object.assign({kind:"class",name:th,addInitializer:old_createAddInitializerMethod(ta,tp)},old_createMetadataMethodsForProperty(tn,0,th,tp)),tu=ts[tl](to,tf)}finally{tp.v=!0}void 0!==tu&&(old_assertValidReturnValue(10,tu),to=tu)}ti.push(to,function(){for(var ti=0;ti<ta.length;ti++)ta[ti].call(to)})}}function _applyDecs(ti,tr,tn){var ts=[],ta={},to={};return old_applyMemberDecs(ts,ti,to,ta,tr),old_convertMetadataMapToFinal(ti.prototype,to),old_applyClassDecs(ts,ti,ta,tn),old_convertMetadataMapToFinal(ti,ta),ts}function createAddInitializerMethod(ti,tr){return function(tn){assertNotFinished(tr,"addInitializer"),assertCallable(tn,"An initializer"),ti.push(tn)}}function memberDec(ti,tr,tn,ts,ta,to,th,tl){switch(ta){case 1:tp="accessor";break;case 2:tp="method";break;case 3:tp="getter";break;case 4:tp="setter";break;default:tp="field"}var tp,tf,tu,tc={kind:tp,name:th?"#"+tr:tr,static:to,private:th},tm={v:!1};0!==ta&&(tc.addInitializer=createAddInitializerMethod(ts,tm)),0===ta?th?(tf=tn.get,tu=tn.set):(tf=function(){return this[tr]},tu=function(ti){this[tr]=ti}):2===ta?tf=function(){return tn.value}:(1!==ta&&3!==ta||(tf=function(){return tn.get.call(this)}),1!==ta&&4!==ta||(tu=function(ti){tn.set.call(this,ti)})),tc.access=tf&&tu?{get:tf,set:tu}:tf?{get:tf}:{set:tu};try{return ti(tl,tc)}finally{tm.v=!0}}function assertNotFinished(ti,tr){if(ti.v)throw Error("attempted to call "+tr+" after decoration was finished")}function assertCallable(ti,tr){if("function"!=typeof ti)throw TypeError(tr+" must be a function")}function assertValidReturnValue(ti,tr){var tn=typeof tr;if(1===ti){if("object"!==tn||null===tr)throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==tr.get&&assertCallable(tr.get,"accessor.get"),void 0!==tr.set&&assertCallable(tr.set,"accessor.set"),void 0!==tr.init&&assertCallable(tr.init,"accessor.init")}else if("function"!==tn)throw TypeError((0===ti?"field":10===ti?"class":"method")+" decorators must return a function or void 0")}
1function applyMemberDec(ti,tr,tn,ts,ta,to,th,tl){var tp,tf,tu,tc,tm,tg,tv,ty=tn[0];if(th?tf=0===ta||1===ta?{get:tn[3],set:tn[4]}:3===ta?{get:tn[3]}:4===ta?{set:tn[3]}:{value:tn[3]}:0!==ta&&(tf=Object.getOwnPropertyDescriptor(tr,ts)),1===ta?tc={get:tf.get,set:tf.set}:2===ta?tc=tf.value:3===ta?tc=tf.get:4===ta&&(tc=tf.set),"function"==typeof ty)void 0!==(tm=memberDec(ty,ts,tf,tl,ta,to,th,tc))&&(assertValidReturnValue(ta,tm),0===ta?tu=tm:1===ta?(tu=tm.init,tg=tm.get||tc.get,tv=tm.set||tc.set,tc={get:tg,set:tv}):tc=tm);else for(var tb=ty.length-1;tb>=0;tb--)void 0!==(tm=memberDec(ty[tb],ts,tf,tl,ta,to,th,tc))&&(assertValidReturnValue(ta,tm),0===ta?tp=tm:1===ta?(tp=tm.init,tg=tm.get||tc.get,tv=tm.set||tc.set,tc={get:tg,set:tv}):tc=tm,void 0!==tp&&(void 0===tu?tu=tp:"function"==typeof tu?tu=[tu,tp]:tu.push(tp)));if(0===ta||1===ta){if(void 0===tu)tu=function(ti,tr){return tr};else if("function"!=typeof tu){var t_=tu;tu=function(ti,tr){for(var tn=tr,ts=0;ts<t_.length;ts++)tn=t_[ts].call(ti,tn);return tn}}else{var tw=tu;tu=function(ti,tr){return tw.call(ti,tr)}}ti.push(tu)}0!==ta&&(1===ta?(tf.get=tc.get,tf.set=tc.set):2===ta?tf.value=tc:3===ta?tf.get=tc:4===ta&&(tf.set=tc),th?1===ta?(ti.push(function(ti,tr){return tc.get.call(ti,tr)}),ti.push(function(ti,tr){return tc.set.call(ti,tr)})):2===ta?ti.push(tc):ti.push(function(ti,tr){return tc.call(ti,tr)}):Object.defineProperty(tr,ts,tf))}function applyMemberDecs(ti,tr,tn){for(var ts,ta,to=new Map,th=new Map,tl=0;tl<tn.length;tl++){var tp=tn[tl];if(Array.isArray(tp)){var tf,tu,tc=tp[1],tm=tp[2],tg=tp.length>3,tv=tc>=5;if(tv?(tf=tr,0!=(tc-=5)&&(tu=ta=ta||[])):(tf=tr.prototype,0!==tc&&(tu=ts=ts||[])),0!==tc&&!tg){var ty=tv?th:to,tb=ty.get(tm)||0;if(!0===tb||3===tb&&4!==tc||4===tb&&3!==tc)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+tm);!tb&&tc>2?ty.set(tm,tc):ty.set(tm,!0)}applyMemberDec(ti,tf,tp,tm,tc,tv,tg,tu)}}pushInitializers(ti,ts),pushInitializers(ti,ta)}function pushInitializers(ti,tr){tr&&ti.push(function(ti){for(var tn=0;tn<tr.length;tn++)tr[tn].call(ti);return ti})}function applyClassDecs(ti,tr,tn){if(tn.length>0){for(var ts=[],ta=tr,to=tr.name,th=tn.length-1;th>=0;th--){var tl={v:!1};try{var tp=tn[th](ta,{kind:"class",name:to,addInitializer:createAddInitializerMethod(ts,tl)})}finally{tl.v=!0}void 0!==tp&&(assertValidReturnValue(10,tp),ta=tp)}ti.push(ta,function(){for(var ti=0;ti<ts.length;ti++)ts[ti].call(ta)})}}function _applyDecs2203(ti,tr,tn){var ts=[];return applyMemberDecs(ts,ti,tr),applyClassDecs(ts,ti,tn),ts}function _asyncGeneratorDelegate(ti){var tr={},tn=!1;function ts(tr,ts){return tn=!0,{done:!1,value:new _OverloadYield(ts=new Promise(function(tn){tn(ti[tr](ts))}),1)}}return tr["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},tr.next=function(ti){return tn?(tn=!1,ti):ts("next",ti)},"function"==typeof ti.throw&&(tr.throw=function(ti){if(tn)throw tn=!1,ti;return ts("throw",ti)}),"function"==typeof ti.return&&(tr.return=function(ti){return tn?(tn=!1,ti):ts("return",ti)}),tr}function _asyncIterator(ti){var tr,tn,ts,ta=2;for("undefined"!=typeof Symbol&&(tn=Symbol.asyncIterator,ts=Symbol.iterator);ta--;){if(tn&&null!=(tr=ti[tn]))return tr.call(ti);if(ts&&null!=(tr=ti[ts]))return new AsyncFromSyncIterator(tr.call(ti));tn="@@asyncIterator",ts="@@iterator"}throw TypeError("Object is not async iterable")}function AsyncFromSyncIterator(ti){function tr(ti){if(Object(ti)!==ti)return Promise.reject(TypeError(ti+" is not an object."));var tr=ti.done;return Promise.resolve(ti.value).then(function(ti){return{value:ti,done:tr}})}return(AsyncFromSyncIterator=function(ti){this.s=ti,this.n=ti.next}).prototype={s:null,n:null,next:function(){return tr(this.n.apply(this.s,arguments))},return:function(ti){var tn=this.s.return;return void 0===tn?Promise.resolve({value:ti,done:!0}):tr(tn.apply(this.s,arguments))},throw:function(ti){var tn=this.s.return;return void 0===tn?Promise.reject(ti):tr(tn.apply(this.s,arguments))}},new AsyncFromSyncIterator(ti)}function _awaitAsyncGenerator(ti){return new _OverloadYield(ti,0
1)}function _checkInRHS(ti){if(Object(ti)!==ti)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==ti?typeof ti:"null"));return ti}function _iterableToArrayLimit(ti,tr){var tn=null==ti?null:"undefined"!=typeof Symbol&&ti[Symbol.iterator]||ti["@@iterator"];if(null!=tn){var ts,ta,to,th,tl=[],tp=!0,tf=!1;try{if(to=(tn=tn.call(ti)).next,0===tr){if(Object(tn)!==tn)return;tp=!1}else for(;!(tp=(ts=to.call(tn)).done)&&(tl.push(ts.value),tl.length!==tr);tp=!0);}catch(ti){tf=!0,ta=ti}finally{try{if(!tp&&null!=tn.return&&(th=tn.return(),Object(th)!==th))return}finally{if(tf)throw ta}}return tl}}function _iterableToArrayLimitLoose(ti,tr){var tn=ti&&("undefined"!=typeof Symbol&&ti[Symbol.iterator]||ti["@@iterator"]);if(null!=tn){var ts,ta=[];for(tn=tn.call(ti);ti.length<tr&&!(ts=tn.next()).done;)ta.push(ts.value);return ta}}function _jsx(ti,tr,tn,ts){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var ta=ti&&ti.defaultProps,to=arguments.length-3;if(tr||0===to||(tr={children:void 0}),1===to)tr.children=ts;else if(to>1){for(var th=Array(to),tl=0;tl<to;tl++)th[tl]=arguments[tl+3];tr.children=th}if(tr&&ta)for(var tp in ta)void 0===tr[tp]&&(tr[tp]=ta[tp]);else tr||(tr=ta||{});return{$$typeof:REACT_ELEMENT_TYPE,type:ti,key:void 0===tn?null:""+tn,ref:null,props:tr,_owner:null}}function ownKeys(ti,tr){var tn=Object.keys(ti);if(Object.getOwnPropertySymbols){var ts=Object.getOwnPropertySymbols(ti);tr&&(ts=ts.filter(function(tr){return Object.getOwnPropertyDescriptor(ti,tr).enumerable})),tn.push.apply(tn,ts)}return tn}function _objectSpread2(ti){for(var tr=1;tr<arguments.length;tr++){var tn=null!=arguments[tr]?arguments[tr]:{};tr%2?ownKeys(Object(tn),!0).forEach(function(tr){_defineProperty(ti,tr,tn[tr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ti,Object.getOwnPropertyDescriptors(tn)):ownKeys(Object(tn)).forEach(function(tr){Object.defineProperty(ti,tr,Object.getOwnPropertyDescriptor(tn,tr))})}return ti}function _regeneratorRuntime(){_regeneratorRuntime=function(){return ti};var ti={},tr=Object.prototype,tn=tr.hasOwnProperty,ts=Object.defineProperty||function(ti,tr,tn){ti[tr]=tn.value},ta="function"==typeof Symbol?Symbol:{},to=ta.iterator||"@@iterator",th=ta.asyncIterator||"@@asyncIterator",tl=ta.toStringTag||"@@toStringTag";function tp(ti,tr,tn){return Object.defineProperty(ti,tr,{value:tn,enumerable:!0,configurable:!0,writable:!0}),ti[tr]}try{tp({},"")}catch(ti){tp=function(ti,tr,tn){return ti[tr]=tn}}function tf(ti,tr,tn,ta){var to=Object.create((tr&&tr.prototype instanceof tm?tr:tm).prototype);return ts(to,"_invoke",{value:tA(ti,tn,new tC(ta||[]))}),to}function tu(ti,tr,tn){try{return{type:"normal",arg:ti.call(tr,tn)}}catch(ti){return{type:"throw",arg:ti}}}ti.wrap=tf;var tc={};function tm(){}function tg(){}function tv(){}var ty={};tp(ty,to,function(){return this});var tb=Object.getPrototypeOf,t_=tb&&tb(tb(tD([])));t_&&t_!==tr&&tn.call(t_,to)&&(ty=t_);var tw=tv.prototype=tm.prototype=Object.create(ty);function tx(ti){["next","throw","return"].forEach(function(tr){tp(ti,tr,function(ti){return this._invoke(tr,ti)})})}function tk(ti,tr){var ta;ts(this,"_invoke",{value:function(ts,to){function th(){return new tr(function(ta,th){!function ts(ta,to,th,tl){var tp=tu(ti[ta],ti,to);if("throw"!==tp.type){var tf=tp.arg,tc=tf.value;return tc&&"object"==typeof tc&&tn.call(tc,"__await")?tr.resolve(tc.__await).then(function(ti){ts("next",ti,th,tl)},function(ti){ts("throw",ti,th,tl)}):tr.resolve(tc).then(function(ti){tf.value=ti,th(tf)},function(ti){return ts("throw",ti,th,tl)})}tl(tp.arg)}(ts,to,ta,th)})}return ta=ta?ta.then(th,th):th()}})}function tA(ti,tr,tn){var ts="suspendedStart";return function(ta,to){if("executing"===ts)throw Error("Generator is already running");if("completed"===ts){if("throw"===ta)throw to;return tT()}for(tn.method=ta,tn.arg=to;;){var th=tn.delegate;if(th){var tl=tP(th,tn);if(tl){if(tl===tc)continue;return tl}}if("next"===tn.method)tn.sent=tn._sent=tn.arg;else if("throw"===tn.method){if("suspendedStart"===ts)throw ts="c
1ompleted",tn.arg;tn.dispatchException(tn.arg)}else"return"===tn.method&&tn.abrupt("return",tn.arg);ts="executing";var tp=tu(ti,tr,tn);if("normal"===tp.type){if(ts=tn.done?"completed":"suspendedYield",tp.arg===tc)continue;return{value:tp.arg,done:tn.done}}"throw"===tp.type&&(ts="completed",tn.method="throw",tn.arg=tp.arg)}}}function tP(ti,tr){var tn=tr.method,ts=ti.iterator[tn];if(void 0===ts)return tr.delegate=null,"throw"===tn&&ti.iterator.return&&(tr.method="return",tr.arg=void 0,tP(ti,tr),"throw"===tr.method)||"return"!==tn&&(tr.method="throw",tr.arg=TypeError("The iterator does not provide a '"+tn+"' method")),tc;var ta=tu(ts,ti.iterator,tr.arg);if("throw"===ta.type)return tr.method="throw",tr.arg=ta.arg,tr.delegate=null,tc;var to=ta.arg;return to?to.done?(tr[ti.resultName]=to.value,tr.next=ti.nextLoc,"return"!==tr.method&&(tr.method="next",tr.arg=void 0),tr.delegate=null,tc):to:(tr.method="throw",tr.arg=TypeError("iterator result is not an object"),tr.delegate=null,tc)}function tE(ti){var tr={tryLoc:ti[0]};1 in ti&&(tr.catchLoc=ti[1]),2 in ti&&(tr.finallyLoc=ti[2],tr.afterLoc=ti[3]),this.tryEntries.push(tr)}function tS(ti){var tr=ti.completion||{};tr.type="normal",delete tr.arg,ti.completion=tr}function tC(ti){this.tryEntries=[{tryLoc:"root"}],ti.forEach(tE,this),this.reset(!0)}function tD(ti){if(ti){var tr=ti[to];if(tr)return tr.call(ti);if("function"==typeof ti.next)return ti;if(!isNaN(ti.length)){var ts=-1,ta=function tr(){for(;++ts<ti.length;)if(tn.call(ti,ts))return tr.value=ti[ts],tr.done=!1,tr;return tr.value=void 0,tr.done=!0,tr};return ta.next=ta}}return{next:tT}}function tT(){return{value:void 0,done:!0}}return tg.prototype=tv,ts(tw,"constructor",{value:tv,configurable:!0}),ts(tv,"constructor",{value:tg,configurable:!0}),tg.displayName=tp(tv,tl,"GeneratorFunction"),ti.isGeneratorFunction=function(ti){var tr="function"==typeof ti&&ti.constructor;return!!tr&&(tr===tg||"GeneratorFunction"===(tr.displayName||tr.name))},ti.mark=function(ti){return Object.setPrototypeOf?Object.setPrototypeOf(ti,tv):(ti.__proto__=tv,tp(ti,tl,"GeneratorFunction")),ti.prototype=Object.create(tw),ti},ti.awrap=function(ti){return{__await:ti}},tx(tk.prototype),tp(tk.prototype,th,function(){return this}),ti.AsyncIterator=tk,ti.async=function(tr,tn,ts,ta,to){void 0===to&&(to=Promise);var th=new tk(tf(tr,tn,ts,ta),to);return ti.isGeneratorFunction(tn)?th:th.next().then(function(ti){return ti.done?ti.value:th.next()})},tx(tw),tp(tw,tl,"Generator"),tp(tw,to,function(){return this}),tp(tw,"toString",function(){return"[object Generator]"}),ti.keys=function(ti){var tr=Object(ti),tn=[];for(var ts in tr)tn.push(ts);return tn.reverse(),function ti(){for(;tn.length;){var ts=tn.pop();if(ts in tr)return ti.value=ts,ti.done=!1,ti}return ti.done=!0,ti}},ti.values=tD,tC.prototype={constructor:tC,reset:function(ti){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(tS),!ti)for(var tr in this)"t"===tr.charAt(0)&&tn.call(this,tr)&&!isNaN(+tr.slice(1))&&(this[tr]=void 0)},stop:function(){this.done=!0;var ti=this.tryEntries[0].completion;if("throw"===ti.type)throw ti.arg;return this.rval},dispatchException:function(ti){if(this.done)throw ti;var tr=this;function ts(tn,ts){return th.type="throw",th.arg=ti,tr.next=tn,ts&&(tr.method="next",tr.arg=void 0),!!ts}for(var ta=this.tryEntries.length-1;ta>=0;--ta){var to=this.tryEntries[ta],th=to.completion;if("root"===to.tryLoc)return ts("end");if(to.tryLoc<=this.prev){var tl=tn.call(to,"catchLoc"),tp=tn.call(to,"finallyLoc");if(tl&&tp){if(this.prev<to.catchLoc)return ts(to.catchLoc,!0);if(this.prev<to.finallyLoc)return ts(to.finallyLoc)}else if(tl){if(this.prev<to.catchLoc)return ts(to.catchLoc,!0)}else{if(!tp)throw Error("try statement without catch or finally");if(this.prev<to.finallyLoc)return ts(to.finallyLoc)}}}},abrupt:function(ti,tr){for(var ts=this.tryEntries.length-1;ts>=0;--ts){var ta=this.tryEntries[ts];if(ta.tryLoc<=this.prev&&tn.call(ta,"finallyLoc")&&this.prev<ta.finallyLoc){var to=ta;break}}to&&("break"===ti||"continue"===ti)&&to.tryLoc<=tr&&tr<=to.finallyLoc&&(to=null);var th=to?to.completion:{};return th.type=ti,th.arg=tr,to?(this.method="next",this.next=to.finallyLoc,tc):this.complete(th)},complete:function(ti,tr){if("throw"===ti.type)throw ti.arg;return"break"===ti.type||"continue"===ti.type?this.next=ti.arg:"return"===ti.type?(this.rval=this.arg=ti.arg,this.method="return",this.next="end"):"normal"===ti.type&&tr&&(this.next=tr),tc},finish:function(ti){for(var tr=this.tryEntries.length-1;tr>=0;--tr){var tn=this.tryEntries[tr];if(tn.finallyLoc===ti)return this.complete(tn.completion,tn.afterLoc),tS(tn),tc}},catch:function(ti){for(var tr=this.tryEntries.length-1;tr>=0;--tr){var tn=this.tryEntries[tr];if(tn.tryLoc===ti){var ts=tn.completion;if("throw"===ts.type){var ta=ts.arg;tS(tn)}return ta}}throw Error("illegal catch attempt")}
1,delegateYield:function(ti,tr,tn){return this.delegate={iterator:tD(ti),resultName:tr,nextLoc:tn},"next"===this.method&&(this.arg=void 0),tc}},ti}function _typeof(ti){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}function _wrapRegExp(){_wrapRegExp=function(ti,tr){return new tn(ti,void 0,tr)};var ti=RegExp.prototype,tr=new WeakMap;function tn(ti,ts,ta){var to=new RegExp(ti,ts);return tr.set(to,ta||tr.get(ti)),_setPrototypeOf(to,tn.prototype)}function ts(ti,tn){var ts=tr.get(tn);return Object.keys(ts).reduce(function(tr,tn){var ta=ts[tn];if("number"==typeof ta)tr[tn]=ti[ta];else{for(var to=0;void 0===ti[ta[to]]&&to+1<ta.length;)to++;tr[tn]=ti[ta[to]]}return tr},Object.create(null))}return _inherits(tn,RegExp),tn.prototype.exec=function(tr){var tn=ti.exec.call(this,tr);if(tn){tn.groups=ts(tn,this);var ta=tn.indices;ta&&(ta.groups=ts(ta,this))}return tn},tn.prototype[Symbol.replace]=function(tn,ta){if("string"==typeof ta){var to=tr.get(this);return ti[Symbol.replace].call(this,tn,ta.replace(/\$<([^>]+)>/g,function(ti,tr){var tn=to[tr];return"$"+(Array.isArray(tn)?tn.join("$"):tn)}))}if("function"==typeof ta){var th=this;return ti[Symbol.replace].call(this,tn,function(){var ti=arguments;return"object"!=typeof ti[ti.length-1]&&(ti=[].slice.call(ti)).push(ts(ti,th)),ta.apply(this,ti)})}return ti[Symbol.replace].call(this,tn,ta)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(ti){this.wrapped=ti}function _wrapAsyncGenerator(ti){return function(){return new _AsyncGenerator(ti.apply(this,arguments))}}function asyncGeneratorStep(ti,tr,tn,ts,ta,to,th){try{var tl=ti[to](th),tp=tl.value}catch(ti){return void tn(ti)}tl.done?tr(tp):Promise.resolve(tp).then(ts,ta)}function _asyncToGenerator(ti){return function(){var tr=this,tn=arguments;return new Promise(function(ts,ta){var to=ti.apply(tr,tn);function th(ti){asyncGeneratorStep(to,ts,ta,th,tl,"next",ti)}function tl(ti){asyncGeneratorStep(to,ts,ta,th,tl,"throw",ti)}th(void 0)})}}function _classCallCheck(ti,tr){if(!(ti instanceof tr))throw TypeError("Cannot call a class as a function")}function _defineProperties(ti,tr){for(var tn=0;tn<tr.length;tn++){var ts=tr[tn];ts.enumerable=ts.enumerable||!1,ts.configurable=!0,"value"in ts&&(ts.writable=!0),Object.defineProperty(ti,_toPropertyKey(ts.key),ts)}}function _createClass(ti,tr,tn){return tr&&_defineProperties(ti.prototype,tr),tn&&_defineProperties(ti,tn),Object.defineProperty(ti,"prototype",{writable:!1}),ti}function _defineEnumerableProperties(ti,tr){for(var tn in tr)(to=tr[tn]).configurable=to.enumerable=!0,"value"in to&&(to.writable=!0),Object.defineProperty(ti,tn,to);if(Object.getOwnPropertySymbols)for(var ts=Object.getOwnPropertySymbols(tr),ta=0;ta<ts.length;ta++){var to,th=ts[ta];(to=tr[th]).configurable=to.enumerable=!0,"value"in to&&(to.writable=!0),Object.defineProperty(ti,th,to)}return ti}function _defaults(ti,tr){for(var tn=Object.getOwnPropertyNames(tr),ts=0;ts<tn.length;ts++){var ta=tn[ts],to=Object.getOwnPropertyDescriptor(tr,ta);to&&to.configurable&&void 0===ti[ta]&&Object.defineProperty(ti,ta,to)}return ti}function _defineProperty(ti,tr,tn){return(tr=_toPropertyKey(tr))in ti?Object.defineProperty(ti,tr,{value:tn,enumerable:!0,configurable:!0,writable:!0}):ti[tr]=tn,ti}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(ti){for(var tr=1;tr<arguments.length;tr++){var tn=arguments[tr];for(var ts in tn)Object.prototype.hasOwnProperty.call(tn,ts)&&(ti[ts]=tn[ts])}return ti}).apply(this,arguments)}function _objectSpread(ti){for(var tr=1;tr<arguments.length;tr++){var tn=null!=arguments[tr]?Object(arguments[tr]):{},ts=Object.keys(tn);"function"==typeof Object.getOwnPropertySymbols&&ts.push.apply(ts,Object.getOwnPropertySymbols(tn).filter(function(ti){return Object.getOwnPropertyDescriptor(tn,ti).enumerable})),ts.forEach(function(tr){_defineProperty(ti,tr,tn[tr])})}return ti}function _inherits(ti,tr){if("function"!=typeof tr&&null!==tr)throw TypeError("Super expression must either be null or a function");ti.prototype=Object.create(tr&&tr.prototype,{constructor:{value:ti,writable:!0,configurable:!0}}),Object.defineProperty(ti,"prototype",{writable:!1}),tr&&_setPrototypeOf(ti,tr)}function _inheritsLoose(ti,tr){ti.prototype=Object.create(tr.prototype),ti.prototype.constructor=ti,_setPrototypeOf(ti,tr)}function _getPrototypeOf(ti){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ti){return ti.__proto__||Object.getPrototypeOf(ti)})(ti)}function _setPrototypeOf(ti,tr){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ti,tr){return ti.__proto__=tr,ti})(ti,tr)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ti){return!1}}function _construct(ti,tr,tn){return(_construct=_isNativeReflectConstruct()?Reflect.construct.bind():function(ti,tr,t
vendor: 6,414 bytes, line 1
1n){var ts=[null];ts.push.apply(ts,tr);var ta=new(Function.bind.apply(ti,ts));return tn&&_setPrototypeOf(ta,tn.prototype),ta}).apply(null,arguments)}function _isNativeFunction(ti){return -1!==Function.toString.call(ti).indexOf("[native code]")}function _wrapNativeSuper(ti){var tr="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(ti){if(null===ti||!_isNativeFunction(ti))return ti;if("function"!=typeof ti)throw TypeError("Super expression must either be null or a function");if(void 0!==tr){if(tr.has(ti))return tr.get(ti);tr.set(ti,tn)}function tn(){return _construct(ti,arguments,_getPrototypeOf(this).constructor)}return tn.prototype=Object.create(ti.prototype,{constructor:{value:tn,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(tn,ti)})(ti)}function _instanceof(ti,tr){return null!=tr&&"undefined"!=typeof Symbol&&tr[Symbol.hasInstance]?!!tr[Symbol.hasInstance](ti):ti instanceof tr}function _interopRequireDefault(ti){return ti&&ti.__esModule?ti:{default:ti}}function _getRequireWildcardCache(ti){if("function"!=typeof WeakMap)return null;var tr=new WeakMap,tn=new WeakMap;return(_getRequireWildcardCache=function(ti){return ti?tn:tr})(ti)}function _interopRequireWildcard(ti,tr){if(!tr&&ti&&ti.__esModule)return ti;if(null===ti||"object"!=typeof ti&&"function"!=typeof ti)return{default:ti};var tn=_getRequireWildcardCache(tr);if(tn&&tn.has(ti))return tn.get(ti);var ts={},ta=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var to in ti)if("default"!==to&&Object.prototype.hasOwnProperty.call(ti,to)){var th=ta?Object.getOwnPropertyDescriptor(ti,to):null;th&&(th.get||th.set)?Object.defineProperty(ts,to,th):ts[to]=ti[to]}return ts.default=ti,tn&&tn.set(ti,ts),ts}function _newArrowCheck(ti,tr){if(ti!==tr)throw TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(ti){if(null==ti)throw TypeError("Cannot destructure "+ti)}function _objectWithoutPropertiesLoose(ti,tr){if(null==ti)return{};var tn,ts,ta={},to=Object.keys(ti);for(ts=0;ts<to.length;ts++)tn=to[ts],tr.indexOf(tn)>=0||(ta[tn]=ti[tn]);return ta}function _objectWithoutProperties(ti,tr){if(null==ti)return{};var tn,ts,ta=_objectWithoutPropertiesLoose(ti,tr);if(Object.getOwnPropertySymbols){var to=Object.getOwnPropertySymbols(ti);for(ts=0;ts<to.length;ts++)tn=to[ts],tr.indexOf(tn)>=0||Object.prototype.propertyIsEnumerable.call(ti,tn)&&(ta[tn]=ti[tn])}return ta}function _assertThisInitialized(ti){if(void 0===ti)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return ti}function _possibleConstructorReturn(ti,tr){if(tr&&("object"==typeof tr||"function"==typeof tr))return tr;if(void 0!==tr)throw TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(ti)}function _createSuper(ti){var tr=_isNativeReflectConstruct();return function(){var tn,ts=_getPrototypeOf(ti);if(tr){var ta=_getPrototypeOf(this).constructor;tn=Reflect.construct(ts,arguments,ta)}else tn=ts.apply(this,arguments);return _possibleConstructorReturn(this,tn)}}function _superPropBase(ti,tr){for(;!Object.prototype.hasOwnProperty.call(ti,tr)&&null!==(ti=_getPrototypeOf(ti)););return ti}function _get(){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(ti,tr,tn){var ts=_superPropBase(ti,tr);if(ts){var ta=Object.getOwnPropertyDescriptor(ts,tr);return ta.get?ta.get.call(arguments.length<3?ti:tn):ta.value}}).apply(this,arguments)}function set(ti,tr,tn,ts){return(set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(ti,tr,tn,ts){var ta,to=_superPropBase(ti,tr);if(to){if((ta=Object.getOwnPropertyDescriptor(to,tr)).set)return ta.set.call(ts,tn),!0;if(!ta.writable)return!1}if(ta=Object.getOwnPropertyDescriptor(ts,tr)){if(!ta.writable)return!1;ta.value=tn,Object.defineProperty(ts,tr,ta)}else _defineProperty(ts,tr,tn);return!0})(ti,tr,tn,ts)}function _set(ti,tr,tn,ts,ta){if(!set(ti,tr,tn,ts||ti)&&ta)throw Error("failed to set property");return tn}function _taggedTemplateLiteral(ti,tr){return tr||(tr=ti.slice(0)),Object.freeze(Object.defineProperties(ti,{raw:{value:Object.freeze(tr)}}))}function _taggedTemplateLiteralLoose(ti,tr){return tr||(tr=ti.slice(0)),ti.raw=tr,ti}function _readOnlyError(ti){throw TypeError('"'+ti+'" is read-only')}function _writeOnlyError(ti){throw TypeError('"'+ti+'" is write-only')}function _classNameTDZError(ti){throw Error('Class "'+ti+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(ti){throw ReferenceError(ti+" is not defined - temporal dead zone")}function _temporalRef(ti,tr){return ti===_temporalUndefined?_tdz(tr):ti}function _slicedToArray(ti,tr){return _arrayWithHoles(ti)||_iterableToArrayLimit(ti,tr)||_unsupportedIterableToArray(ti,tr)||_nonIterableRest()}function _slicedToArrayLoose(ti,tr){return _arrayWithHoles(ti)||_iterableToArrayLimitLoose(ti,tr)||_unsupportedIterableToArray(ti,tr)||_nonIterableRest()}function _toArray(ti){return _arrayWithHoles(ti)||_iterableToArray(ti)||_unsupportedIterableToArray(ti)||_nonIterableRest()}function _toConsumableArray(ti){return _arrayWithoutHoles(ti)||_iterableToArray(ti)||_unsupportedIterableToArray(ti)||_nonIterableSpread()}function _arrayWithoutHoles(ti){if(Array.isArray(ti))return _arrayLikeToArray(ti)}function _arrayWithHoles(ti){if(Array.isArray(ti))return ti}function _maybeArrayLike(ti,tr,tn){if(tr&&!Array.isArray(tr)&&"number"==typeof tr.length){var ts=tr.length;return _arrayLikeToArray(tr,void 0!==tn&&tn<ts?tn:ts)}return ti(tr,tn)}function _iterableToArray(ti){if("undefined"!=typeof Symbol&&null!=ti[Symbol.iterator]||null!=ti["@@iterator"])return Array.from(ti)}function _unsupportedIterableToArray(ti,tr){if(ti){if("string"==typeof ti)return _arrayLikeToArray(ti,tr);var tn=Object.prototype.toString.call(ti).slice(8,-1);return"Object"===tn&&ti.constructor&&(tn=ti.constructor.name),"Map"===tn||"Set"===tn?Array.from(ti):"Arguments"===tn||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(tn)?_arrayLikeToArray(ti,tr):void 0}}function _arrayLikeToArray(ti,tr){(null==tr||tr>ti.length)&&(tr=ti.length);for(var tn=0,ts=Array(tr);tn<tr;tn++)ts[tn]=ti[tn];return ts}function _nonIterableSpread(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableRest(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _createForOfIteratorHelper(ti,tr){var tn="undefined"!=typeof Symbol&&ti[Symbol.iterator]||ti["@@iterator"];if(!tn){if(Array.isArray(ti)||(tn=_unsupportedIterableToArray(ti))||tr&&ti&&"number"==typeof ti.length){tn&&(ti=tn);var ts=0,ta=function(){};return{s:ta,n:function(){return ts>=ti.length?{done:!0}:{done:!1,value:ti[ts++]}},e:function(ti){throw ti},f:ta}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var to,th=!0,tl=!1;return{s:function(){tn=tn.call(ti)},n:function(){var ti=tn.next();return th=ti.done,ti},e:function(ti){tl=!0,to=ti},f:function(){try{th||null==tn.return||tn.return()}finally{if(tl)throw to}}}}function _createForOfIteratorHelperLoose(ti,tr){var tn="undefined"!=typeof Symbol&&ti[Symbol.iterator]||ti["@@iterator"];if(tn)return(tn=tn.call(ti)).next.bind(tn);if(Array.isArray(ti)||(tn=_unsupportedIterableToArray(ti))||tr&&ti&&"number"==typeof ti.length){tn&&(ti=tn);var ts=0;return function(){return ts>=ti.length?{done:!0}:{done:!1,value:ti[ts++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _skipFirstGeneratorNext(ti){return function(){var tr=ti.apply(this,arguments);return tr.next(),tr}}function _toPrimitive(ti,tr){if("object"!=typeof ti||null===ti)return ti;var tn=ti[Symbol.toPrimitive];if(void 0!==tn){var ts=tn.call(ti,tr||"default");if("object"!=typeof ts)return ts;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===tr?String:Number)(ti)}function _toPropertyKey(ti){var tr=_toPrimitive(ti,"string");return"symbol"==typeof tr?tr:String(tr)}function _initializerWarningHelper(ti,tr){throw Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(ti,tr,tn,ts){tn&&Object.defineProperty(ti,tr,{enumerable:tn.enumerable,configurable:tn.configurable,writable:tn.writable,value:tn.initializer?tn.initializer.call(ts):void 0})}function _applyDecoratedDescriptor(ti,tr,tn,ts,ta){var to={};return Object.keys(ts).forEach(function(ti){to[ti]=ts[ti]}),to.enumerable=!!to.enumerable,to.configurable=!!to.configurable,("value"in to||to.initializer)&&(to.writable=!0),to=tn.slice().reverse().reduce(function(tn,ts){return ts(ti,tr,tn)||tn},to),ta&&void 0!==to.initializer&&(to.value=to.initializer?to.initializer.call(ta):void 0,to.initializer=void 0),void 0===to.initializer&&(Object.defineProperty(ti,tr,to),to=null),to}__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{DotLottiePlayer:function(){return DotLottiePlayer},PlayMode:function(){return PlayMode},PlayerEvents:function(){return PlayerEvents},PlayerState:function(){return PlayerState}}),_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(ti){return this._invoke("next",ti)},_AsyncGenerator.prototype.throw=function(ti){return this._invoke("throw",ti)},_AsyncGenerator.prototype.return=function(ti){return this._invoke("return",ti)};var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,DotLottiePlayer_1,PlayerState,PlayMode,PlayerEvents,id=0;function _classPrivateFieldLooseKey(ti){return"__private_"+id+++"_"+ti}function _classPrivateFieldLooseBase(ti,tr){if(!Object.prototype.hasOwnProperty.call(ti,tr))throw TypeError("attempted to use private field on non-instance");return ti}function _classPrivateFieldGet(ti,tr){return _classApplyDescriptorGet(ti,_classExtractFieldDescriptor(ti,tr,"get"))}function _classPrivateFieldSet(ti,tr,tn){return _classApplyDescriptorSet(ti,_classExtractFieldDescriptor(ti,tr,"set"),tn),tn}function _classPrivateFieldDestructureSet(ti,tr){return _classApplyDescriptorDestructureSet(ti,_classExtractFieldDescriptor(ti,tr,"set"))}function _classExtractFieldDescriptor(ti,tr,tn){if(!tr.has(ti))throw TypeError("attempted to "+tn+" private field on non-instance");return tr.get(ti)}function _classStaticPrivateFieldSpecGet(ti,tr,tn){return _classCheckPrivateStaticAccess(ti,tr),_classCheckPrivateStaticFieldDescriptor(tn,"get"),_classApplyDescriptorGet(ti,tn)}
1function _classStaticPrivateFieldSpecSet(ti,tr,tn,ts){return _classCheckPrivateStaticAccess(ti,tr),_classCheckPrivateStaticFieldDescriptor(tn,"set"),_classApplyDescriptorSet(ti,tn,ts),ts}function _classStaticPrivateMethodGet(ti,tr,tn){return _classCheckPrivateStaticAccess(ti,tr),tn}function _classStaticPrivateMethodSet(){throw TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(ti,tr){return tr.get?tr.get.call(ti):tr.value}function _classApplyDescriptorSet(ti,tr,tn){if(tr.set)tr.set.call(ti,tn);else{if(!tr.writable)throw TypeError("attempted to set read only private field");tr.value=tn}}function _classApplyDescriptorDestructureSet(ti,tr){if(tr.set)return"__destrObj"in tr||(tr.__destrObj={set value(r){tr.set.call(ti,r)}}),tr.__destrObj;if(!tr.writable)throw TypeError("attempted to set read only private field");return tr}function _classStaticPrivateFieldDestructureSet(ti,tr,tn){return _classCheckPrivateStaticAccess(ti,tr),_classCheckPrivateStaticFieldDescriptor(tn,"set"),_classApplyDescriptorDestructureSet(ti,tn)}function _classCheckPrivateStaticAccess(ti,tr){if(ti!==tr)throw TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(ti,tr){if(void 0===ti)throw TypeError("attempted to "+tr+" private static field before its declaration")}function _decorate(ti,tr,tn,ts){var ta=_getDecoratorsApi();if(ts)for(var to=0;to<ts.length;to++)ta=ts[to](ta);var th=tr(function(ti){ta.initializeInstanceElements(ti,tl.elements)},tn),tl=ta.decorateClass(_coalesceClassElements(th.d.map(_createElementDescriptor)),ti);return ta.initializeClassElements(th.F,tl.elements),ta.runClassFinishers(th.F,tl.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return ti};var ti={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(ti,tr){["method","field"].forEach(function(tn){tr.forEach(function(tr){tr.kind===tn&&"own"===tr.placement&&this.defineClassElement(ti,tr)},this)},this)},initializeClassElements:function(ti,tr){var tn=ti.prototype;["method","field"].forEach(function(ts){tr.forEach(function(tr){var ta=tr.placement;if(tr.kind===ts&&("static"===ta||"prototype"===ta)){var to="static"===ta?ti:tn;this.defineClassElement(to,tr)}},this)},this)},defineClassElement:function(ti,tr){var tn=tr.descriptor;if("field"===tr.kind){var ts=tr.initializer;tn={enumerable:tn.enumerable,writable:tn.writable,configurable:tn.configurable,value:void 0===ts?void 0:ts.call(ti)}}Object.defineProperty(ti,tr.key,tn)},decorateClass:function(ti,tr){var tn=[],ts=[],ta={static:[],prototype:[],own:[]};if(ti.forEach(function(ti){this.addElementPlacement(ti,ta)},this),ti.forEach(function(ti){if(!_hasDecorators(ti))return tn.push(ti);var tr=this.decorateElement(ti,ta);tn.push(tr.element),tn.push.apply(tn,tr.extras),ts.push.apply(ts,tr.finishers)},this),!tr)return{elements:tn,finishers:ts};var to=this.decorateConstructor(tn,tr);return ts.push.apply(ts,to.finishers),to.finishers=ts,to},addElementPlacement:function(ti,tr,tn){var ts=tr[ti.placement];if(!tn&&-1!==ts.indexOf(ti.key))throw TypeError("Duplicated element ("+ti.key+")");ts.push(ti.key)},decorateElement:function(ti,tr){for(var tn=[],ts=[],ta=ti.decorators,to=ta.length-1;to>=0;to--){var th=tr[ti.placement];th.splice(th.indexOf(ti.key),1);var tl=this.fromElementDescriptor(ti),tp=this.toElementFinisherExtras((0,ta[to])(tl)||tl);ti=tp.element,this.addElementPlacement(ti,tr),tp.finisher&&ts.push(tp.finisher);var tf=tp.extras;if(tf){for(var tu=0;tu<tf.length;tu++)this.addElementPlacement(tf[tu],tr);tn.push.apply(tn,tf)}}return{element:ti,finishers:ts,extras:tn}},decorateConstructor:function(ti,tr){for(var tn=[],ts=tr.length-1;ts>=0;ts--){var ta=this.fromClassDescriptor(ti),to=this.toClassDescriptor((0,tr[ts])(ta)||ta);if(void 0!==to.finisher&&tn.push(to.finisher),void 0!==to.elements){ti=to.elements;for(var th=0;th<ti.length-1;th++)for(var tl=th+1;tl<ti.length;tl++)if(ti[th].key===ti[tl].key&&ti[th].placement===ti[tl].placement)throw TypeError("Duplicated element ("+ti[th].key+")")}}return{elements:ti,finishers:tn}}
vendor: 4,874 bytes, line 1
1,fromElementDescriptor:function(ti){var tr={kind:ti.kind,key:ti.key,placement:ti.placement,descriptor:ti.descriptor};return Object.defineProperty(tr,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===ti.kind&&(tr.initializer=ti.initializer),tr},toElementDescriptors:function(ti){if(void 0!==ti)return _toArray(ti).map(function(ti){var tr=this.toElementDescriptor(ti);return this.disallowProperty(ti,"finisher","An element descriptor"),this.disallowProperty(ti,"extras","An element descriptor"),tr},this)},toElementDescriptor:function(ti){var tr=String(ti.kind);if("method"!==tr&&"field"!==tr)throw TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+tr+'"');var tn=_toPropertyKey(ti.key),ts=String(ti.placement);if("static"!==ts&&"prototype"!==ts&&"own"!==ts)throw TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+ts+'"');var ta=ti.descriptor;this.disallowProperty(ti,"elements","An element descriptor");var to={kind:tr,key:tn,placement:ts,descriptor:Object.assign({},ta)};return"field"!==tr?this.disallowProperty(ti,"initializer","A method descriptor"):(this.disallowProperty(ta,"get","The property descriptor of a field descriptor"),this.disallowProperty(ta,"set","The property descriptor of a field descriptor"),this.disallowProperty(ta,"value","The property descriptor of a field descriptor"),to.initializer=ti.initializer),to},toElementFinisherExtras:function(ti){return{element:this.toElementDescriptor(ti),finisher:_optionalCallableProperty(ti,"finisher"),extras:this.toElementDescriptors(ti.extras)}},fromClassDescriptor:function(ti){var tr={kind:"class",elements:ti.map(this.fromElementDescriptor,this)};return Object.defineProperty(tr,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),tr},toClassDescriptor:function(ti){var tr=String(ti.kind);if("class"!==tr)throw TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+tr+'"');this.disallowProperty(ti,"key","A class descriptor"),this.disallowProperty(ti,"placement","A class descriptor"),this.disallowProperty(ti,"descriptor","A class descriptor"),this.disallowProperty(ti,"initializer","A class descriptor"),this.disallowProperty(ti,"extras","A class descriptor");var tn=_optionalCallableProperty(ti,"finisher");return{elements:this.toElementDescriptors(ti.elements),finisher:tn}},runClassFinishers:function(ti,tr){for(var tn=0;tn<tr.length;tn++){var ts=(0,tr[tn])(ti);if(void 0!==ts){if("function"!=typeof ts)throw TypeError("Finishers must return a constructor.");ti=ts}}return ti},disallowProperty:function(ti,tr,tn){if(void 0!==ti[tr])throw TypeError(tn+" can't have a ."+tr+" property.")}};return ti}function _createElementDescriptor(ti){var tr,tn=_toPropertyKey(ti.key);"method"===ti.kind?tr={value:ti.value,writable:!0,configurable:!0,enumerable:!1}:"get"===ti.kind?tr={get:ti.value,configurable:!0,enumerable:!1}:"set"===ti.kind?tr={set:ti.value,configurable:!0,enumerable:!1}:"field"===ti.kind&&(tr={configurable:!0,writable:!0,enumerable:!0});var ts={kind:"field"===ti.kind?"field":"method",key:tn,placement:ti.static?"static":"field"===ti.kind?"own":"prototype",descriptor:tr};return ti.decorators&&(ts.decorators=ti.decorators),"field"===ti.kind&&(ts.initializer=ti.value),ts}function _coalesceGetterSetter(ti,tr){void 0!==ti.descriptor.get?tr.descriptor.get=ti.descriptor.get:tr.descriptor.set=ti.descriptor.set}function _coalesceClassElements(ti){for(var tr=[],tn=function(ti){return"method"===ti.kind&&ti.key===to.key&&ti.placement===to.placement},ts=0;ts<ti.length;ts++){var ta,to=ti[ts];if("method"===to.kind&&(ta=tr.find(tn))){if(_isDataDescriptor(to.descriptor)||_isDataDescriptor(ta.descriptor)){if(_hasDecorators(to)||_hasDecorators(ta))throw ReferenceError("Duplicated methods ("+to.key+") can't be decorated.");ta.descriptor=to.descriptor}else{if(_hasDecorators(to)){if(_hasDecorators(ta))throw ReferenceError("Decorators can't be placed on different accessors with for the same property ("+to.key+").");ta.decorators=to.decorators}_coalesceGetterSetter(to,ta)}}else tr.push(to)}return tr}function _hasDecorators(ti){return ti.decorators&&ti.decorators.length}function _isDataDescriptor(ti){return void 0!==ti&&!(void 0===ti.value&&void 0===ti.writable)}function _optionalCallableProperty(ti,tr){var tn=ti[tr];if(void 0!==tn&&"function"!=typeof tn)throw TypeError("Expected '"+tr+"' to be a function");return tn}function _classPrivateMethodGet(ti,tr,tn){if(!tr.has(ti))throw TypeError("attempted to get private field on non-instance");return tn}function _checkPrivateRedeclaration(ti,tr){if(tr.has(ti))throw TypeError("Cannot initialize the same private elements twice on an object")}
1function _classPrivateFieldInitSpec(ti,tr,tn){_checkPrivateRedeclaration(ti,tr),tr.set(ti,tn)}function _classPrivateMethodInitSpec(ti,tr){_checkPrivateRedeclaration(ti,tr),tr.add(ti)}function _classPrivateMethodSet(){throw TypeError("attempted to reassign private method")}function _identity(ti){return ti}/*! *****************************************************************************
2Copyright (c) Microsoft Corporation.
3
4Permission to use, copy, modify, and/or distribute this software for any
5purpose with or without fee is hereby granted.
6
7THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13PERFORMANCE OF THIS SOFTWARE.
14***************************************************************************** */var extendStatics=function(ti,tr){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(ti,tr){ti.__proto__=tr}||function(ti,tr){for(var tn in tr)Object.prototype.hasOwnProperty.call(tr,tn)&&(ti[tn]=tr[tn])})(ti,tr)};function __extends(ti,tr){function tn(){this.constructor=ti}extendStatics(ti,tr),ti.prototype=null===tr?Object.create(tr):(tn.prototype=tr.prototype,new tn)}var __assign=function(){return(__assign=Object.assign||function(ti){for(var tr,tn=1,ts=arguments.length;tn<ts;tn++)for(var ta in tr=arguments[tn])Object.prototype.hasOwnProperty.call(tr,ta)&&(ti[ta]=tr[ta]);return ti}).apply(this,arguments)};function __rest(ti,tr){var tn={};for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&0>tr.indexOf(ts)&&(tn[ts]=ti[ts]);if(null!=ti&&"function"==typeof Object.getOwnPropertySymbols){var ta=0;for(ts=Object.getOwnPropertySymbols(ti);ta<ts.length;ta++)0>tr.indexOf(ts[ta])&&Object.prototype.propertyIsEnumerable.call(ti,ts[ta])&&(tn[ts[ta]]=ti[ts[ta]])}return tn}function __decorate(ti,tr,tn,ts){var ta,to=arguments.length,th=to<3?tr:null===ts?ts=Object.getOwnPropertyDescriptor(tr,tn):ts;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)th=Reflect.decorate(ti,tr,tn,ts);else for(var tl=ti.length-1;tl>=0;tl--)(ta=ti[tl])&&(th=(to<3?ta(th):to>3?ta(tr,tn,th):ta(tr,tn))||th);return to>3&&th&&Object.defineProperty(tr,tn,th),th}function __param(ti,tr){return function(tn,ts){tr(tn,ts,ti)}}function __metadata(ti,tr){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ti,tr)}function __awaiter(ti,tr,tn,ts){return new(tn||(tn=Promise))(function(ta,to){function th(ti){try{tp(ts.next(ti))}catch(ti){to(ti)}}function tl(ti){try{tp(ts.throw(ti))}catch(ti){to(ti)}}function tp(ti){var tr;ti.done?ta(ti.value):((tr=ti.value)instanceof tn?tr:new tn(function(ti){ti(tr)})).then(th,tl)}tp((ts=ts.apply(ti,tr||[])).next())})}function __generator(ti,tr){var tn,ts,ta,to,th={label:0,sent:function(){if(1&ta[0])throw ta[1];return ta[1]},trys:[],ops:[]};return to={next:tl(0),throw:tl(1),return:tl(2)},"function"==typeof Symbol&&(to[Symbol.iterator]=function(){return this}),to;function tl(to){return function(tl){return function(to){if(tn)throw TypeError("Generator is already executing.");for(;th;)try{if(tn=1,ts&&(ta=2&to[0]?ts.return:to[0]?ts.throw||((ta=ts.return)&&ta.call(ts),0):ts.next)&&!(ta=ta.call(ts,to[1])).done)return ta;switch(ts=0,ta&&(to=[2&to[0],ta.value]),to[0]){case 0:case 1:ta=to;break;case 4:return th.label++,{value:to[1],done:!1};case 5:th.label++,ts=to[1],to=[0];continue;case 7:to=th.ops.pop(),th.trys.pop();continue;default:if(!(ta=(ta=th.trys).length>0&&ta[ta.length-1])&&(6===to[0]||2===to[0])){th=0;continue}if(3===to[0]&&(!ta||to[1]>ta[0]&&to[1]<ta[3])){th.label=to[1];break}if(6===to[0]&&th.label<ta[1]){th.label=ta[1],ta=to;break}if(ta&&th.label<ta[2]){th.label=ta[2],th.ops.push(to);break}ta[2]&&th.ops.pop(),th.trys.pop();continue}to=tr.call(ti,th)}catch(ti){to=[6,ti],ts=0}finally{tn=ta=0}if(5&to[0])throw to[1];return{value:to[0]?to[1]:void 0,done:!0}}([to,tl])}}}
vendor: 2,842 bytes, line 14
14var __createBinding=Object.create?function(ti,tr,tn,ts){void 0===ts&&(ts=tn),Object.defineProperty(ti,ts,{enumerable:!0,get:function(){return tr[tn]}})}:function(ti,tr,tn,ts){void 0===ts&&(ts=tn),ti[ts]=tr[tn]};function __exportStar(ti,tr){for(var tn in ti)"default"===tn||Object.prototype.hasOwnProperty.call(tr,tn)||__createBinding(tr,ti,tn)}function __values(ti){var tr="function"==typeof Symbol&&Symbol.iterator,tn=tr&&ti[tr],ts=0;if(tn)return tn.call(ti);if(ti&&"number"==typeof ti.length)return{next:function(){return ti&&ts>=ti.length&&(ti=void 0),{value:ti&&ti[ts++],done:!ti}}};throw TypeError(tr?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(ti,tr){var tn="function"==typeof Symbol&&ti[Symbol.iterator];if(!tn)return ti;var ts,ta,to=tn.call(ti),th=[];try{for(;(void 0===tr||tr-- >0)&&!(ts=to.next()).done;)th.push(ts.value)}catch(ti){ta={error:ti}}finally{try{ts&&!ts.done&&(tn=to.return)&&tn.call(to)}finally{if(ta)throw ta.error}}return th}function __spread(){for(var ti=[],tr=0;tr<arguments.length;tr++)ti=ti.concat(__read(arguments[tr]));return ti}function __spreadArrays(){for(var ti=0,tr=0,tn=arguments.length;tr<tn;tr++)ti+=arguments[tr].length;var ts=Array(ti),ta=0;for(tr=0;tr<tn;tr++)for(var to=arguments[tr],th=0,tl=to.length;th<tl;th++,ta++)ts[ta]=to[th];return ts}function __await(ti){return this instanceof __await?(this.v=ti,this):new __await(ti)}function __asyncGenerator(ti,tr,tn){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var ts,ta=tn.apply(ti,tr||[]),to=[];return ts={},th("next"),th("throw"),th("return"),ts[Symbol.asyncIterator]=function(){return this},ts;function th(ti){ta[ti]&&(ts[ti]=function(tr){return new Promise(function(tn,ts){to.push([ti,tr,tn,ts])>1||tl(ti,tr)})})}function tl(ti,tr){try{!function(ti){ti.value instanceof __await?Promise.resolve(ti.value.v).then(tp,tf):tu(to[0][2],ti)}(ta[ti](tr))}catch(ti){tu(to[0][3],ti)}}function tp(ti){tl("next",ti)}function tf(ti){tl("throw",ti)}function tu(ti,tr){ti(tr),to.shift(),to.length&&tl(to[0][0],to[0][1])}}function __asyncDelegator(ti){var tr,tn;return tr={},ts("next"),ts("throw",function(ti){throw ti}),ts("return"),tr[Symbol.iterator]=function(){return this},tr;function ts(ts,ta){tr[ts]=ti[ts]?function(tr){return(tn=!tn)?{value:__await(ti[ts](tr)),done:"return"===ts}:ta?ta(tr):tr}:ta}}function __asyncValues(ti){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var tr,tn=ti[Symbol.asyncIterator];return tn?tn.call(ti):(ti=__values(ti),tr={},ts("next"),ts("throw"),ts("return"),tr[Symbol.asyncIterator]=function(){return this},tr);function ts(tn){tr[tn]=ti[tn]&&function(tr){return new Promise(function(ts,ta){!function(ti,tr,tn,ts){Promise.resolve(ts).then(function(tr){ti({value:tr,done:tn})},tr)}(ts,ta,(tr=ti[tn](tr)).done,tr.value)})}}}
14function __makeTemplateObject(ti,tr){return Object.defineProperty?Object.defineProperty(ti,"raw",{value:tr}):ti.raw=tr,ti}var __setModuleDefault=Object.create?function(ti,tr){Object.defineProperty(ti,"default",{enumerable:!0,value:tr})}:function(ti,tr){ti.default=tr};function __importStar(ti){if(ti&&ti.__esModule)return ti;var tr={};if(null!=ti)for(var tn in ti)"default"!==tn&&Object.prototype.hasOwnProperty.call(ti,tn)&&__createBinding(tr,ti,tn);return __setModuleDefault(tr,ti),tr}function __importDefault(ti){return ti&&ti.__esModule?ti:{default:ti}}function __classPrivateFieldGet(ti,tr){if(!tr.has(ti))throw TypeError("attempted to get private field on non-instance");return tr.get(ti)}function __classPrivateFieldSet(ti,tr,tn){if(!tr.has(ti))throw TypeError("attempted to set private field on non-instance");return tr.set(ti,tn),tn}/**
15 * @license
16 * Copyright 2019 Google LLC
17 * SPDX-License-Identifier: BSD-3-Clause
18 */let t$3=window,e$9=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$3=Symbol(),n$4=new WeakMap;class o$6{constructor(ti,tr,tn){if(this._$cssResult$=!0,tn!==s$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ti,this.t=tr}get styleSheet(){let ti=this.o,tr=this.t;if(e$9&&void 0===ti){let tn=void 0!==tr&&1===tr.length;
18tn&&(ti=n$4.get(tr)),void 0===ti&&((this.o=ti=new CSSStyleSheet).replaceSync(this.cssText),tn&&n$4.set(tr,ti))}return ti}toString(){return this.cssText}}let r$3=ti=>new o$6("string"==typeof ti?ti:ti+"",void 0,s$3),i$4=(ti,...tr)=>{let tn=1===ti.length?ti[0]:tr.reduce((tr,tn,ts)=>tr+(ti=>{if(!0===ti._$cssResult$)return ti.cssText;if("number"==typeof ti)return ti;throw Error("Value passed to 'css' function must be a 'css' function result: "+ti+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(tn)+ti[ts+1],ti[0]);return new o$6(tn,ti,s$3)},S$1=(ti,tr)=>{e$9?ti.adoptedStyleSheets=tr.map(ti=>ti instanceof CSSStyleSheet?ti:ti.styleSheet):tr.forEach(tr=>{let tn=document.createElement("style"),ts=t$3.litNonce;void 0!==ts&&tn.setAttribute("nonce",ts),tn.textContent=tr.cssText,ti.appendChild(tn)})},c$1=e$9?ti=>ti:ti=>ti instanceof CSSStyleSheet?(ti=>{let tr="";for(let tn of ti.cssRules)tr+=tn.cssText;return r$3(tr)})(ti):ti/**
19 * @license
20 * Copyright 2017 Google LLC
21 * SPDX-License-Identifier: BSD-3-Clause
22 */,e$8=window,r$2=e$8.trustedTypes,h$2=r$2?r$2.emptyScript:"",o$5=e$8.reactiveElementPolyfillSupport,n$3={toAttribute(ti,tr){switch(tr){case Boolean:ti=ti?h$2:null;break;case Object:case Array:ti=null==ti?ti:JSON.stringify(ti)}return ti},fromAttribute(ti,tr){let tn=ti;switch(tr){case Boolean:tn=null!==ti;break;case Number:tn=null===ti?null:Number(ti);break;case Object:case Array:try{tn=JSON.parse(ti)}catch(ti){tn=null}}return tn}},a$1=(ti,tr)=>tr!==ti&&(tr==tr||ti==ti),l$3={attribute:!0,type:String,converter:n$3,reflect:!1,hasChanged:a$1};class d$1 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(ti){var tr;this.finalize(),(null!==(tr=this.h)&&void 0!==tr?tr:this.h=[]).push(ti)}static get observedAttributes(){this.finalize();let ti=[];return this.elementProperties.forEach((tr,tn)=>{let ts=this._$Ep(tn,tr);void 0!==ts&&(this._$Ev.set(ts,tn),ti.push(ts))}),ti}static createProperty(ti,tr=l$3){if(tr.state&&(tr.attribute=!1),this.finalize(),this.elementProperties.set(ti,tr),!tr.noAccessor&&!this.prototype.hasOwnProperty(ti)){let tn="symbol"==typeof ti?Symbol():"__"+ti,ts=this.getPropertyDescriptor(ti,tn,tr);void 0!==ts&&Object.defineProperty(this.prototype,ti,ts)}}static getPropertyDescriptor(ti,tr,tn){return{get(){return this[tr]},set(ts){let ta=this[ti];this[tr]=ts,this.requestUpdate(ti,ta,tn)},configurable:!0,enumerable:!0}}static getPropertyOptions(ti){return this.elementProperties.get(ti)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;let ti=Object.getPrototypeOf(this);if(ti.finalize(),void 0!==ti.h&&(this.h=[...ti.h]),this.elementProperties=new Map(ti.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let ti=this.properties,tr=[...Object.getOwnPropertyNames(ti),...Object.getOwnPropertySymbols(ti)];for(let tn of tr)this.createProperty(tn,ti[tn])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ti){let tr=[];if(Array.isArray(ti)){let tn=new Set(ti.flat(1/0).reverse());for(let ti of tn)tr.unshift(c$1(ti))}
22else void 0!==ti&&tr.push(c$1(ti));return tr}static _$Ep(ti,tr){let tn=tr.attribute;return!1===tn?void 0:"string"==typeof tn?tn:"string"==typeof ti?ti.toLowerCase():void 0}u(){var ti;this._$E_=new Promise(ti=>this.enableUpdating=ti),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(ti=this.constructor.h)||void 0===ti||ti.forEach(ti=>ti(this))}addController(ti){var tr,tn;(null!==(tr=this._$ES)&&void 0!==tr?tr:this._$ES=[]).push(ti),void 0!==this.renderRoot&&this.isConnected&&(null===(tn=ti.hostConnected)||void 0===tn||tn.call(ti))}removeController(ti){var tr;null===(tr=this._$ES)||void 0===tr||tr.splice(this._$ES.indexOf(ti)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ti,tr)=>{this.hasOwnProperty(tr)&&(this._$Ei.set(tr,this[tr]),delete this[tr])})}createRenderRoot(){var ti;let tr=null!==(ti=this.shadowRoot)&&void 0!==ti?ti:this.attachShadow(this.constructor.shadowRootOptions);return S$1(tr,this.constructor.elementStyles),tr}connectedCallback(){var ti;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(ti=this._$ES)||void 0===ti||ti.forEach(ti=>{var tr;return null===(tr=ti.hostConnected)||void 0===tr?void 0:tr.call(ti)})}enableUpdating(ti){}disconnectedCallback(){var ti;null===(ti=this._$ES)||void 0===ti||ti.forEach(ti=>{var tr;return null===(tr=ti.hostDisconnected)||void 0===tr?void 0:tr.call(ti)})}attributeChangedCallback(ti,tr,tn){this._$AK(ti,tn)}_$EO(ti,tr,tn=l$3){var ts;let ta=this.constructor._$Ep(ti,tn);if(void 0!==ta&&!0===tn.reflect){let to=(void 0!==(null===(ts=tn.converter)||void 0===ts?void 0:ts.toAttribute)?tn.converter:n$3).toAttribute(tr,tn.type);this._$El=ti,null==to?this.removeAttribute(ta):this.setAttribute(ta,to),this._$El=null}}_$AK(ti,tr){var tn;let ts=this.constructor,ta=ts._$Ev.get(ti);if(void 0!==ta&&this._$El!==ta){let ti=ts.getPropertyOptions(ta),to="function"==typeof ti.converter?{fromAttribute:ti.converter}:void 0!==(null===(tn=ti.converter)||void 0===tn?void 0:tn.fromAttribute)?ti.converter:n$3;this._$El=ta,this[ta]=to.fromAttribute(tr,ti.type),this._$El=null}}requestUpdate(ti,tr,tn){let ts=!0;void 0!==ti&&(((tn=tn||this.constructor.getPropertyOptions(ti)).hasChanged||a$1)(this[ti],tr)?(this._$AL.has(ti)||this._$AL.set(ti,tr),!0===tn.reflect&&this._$El!==ti&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(ti,tn))):ts=!1),!this.isUpdatePending&&ts&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ti){Promise.reject(ti)}let ti=this.scheduleUpdate();return null!=ti&&await ti,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ti;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((ti,tr)=>this[tr]=ti),this._$Ei=void 0);let tr=!1,tn=this._$AL;try{(tr=this.shouldUpdate(tn))?(this.willUpdate(tn),null===(ti=this._$ES)||void 0===ti||ti.forEach(ti=>{var tr;return null===(tr=ti.hostUpdate)||void 0===tr?void 0:tr.call(ti)}),this.update(tn)):this._$Ek()}catch(ti){throw tr=!1,this._$Ek(),ti}tr&&this._$AE(tn)}willUpdate(ti){}_$AE(ti){var tr;null===(tr=this._$ES)||void 0===tr||tr.forEach(ti=>{var tr;return null===(tr=ti.hostUpdated)||void 0===tr?void 0:tr.call(ti)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ti)),this.updated(ti)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ti){return!0}update(ti){void 0!==this._$EC&&(this._$EC.forEach((ti,tr)=>this._$EO(tr,this[tr],ti)),this._$EC=void 0),this._$Ek()}updated(ti){}firstUpdated(ti){}}d$1.finalized=!0,d$1.elementProperties=new Map,d$1.elementStyles=[],d$1.shadowRootOptions={mode:"open"},null==o$5||o$5({ReactiveElement:d$1}),(null!==(s$2=e$8.reactiveElementVersions)&&void 0!==s$2?s$2:e$8.reactiveElementVersions=[]).push("1.5.0");let i$3=window,s$1=i$3.trustedTypes,e$7=s$1?s$1.createPolicy("lit-html",{createHTML:ti=>ti}):void 0,o$4=`lit$${(Math.random()+"").slice(9)}$`,n$2="?"+o$4,l$2=`<${n$2}>`,h$1=document,r$1=(ti="")=>h$1.createComment(ti),d=ti=>null===ti||"object"!=typeof ti&&"function"!=typeof ti,u=Array.isArray,c=ti=>u(ti)||"function"==typeof(null==ti?void 0:ti[Symbol.iterator]),v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,a=/-->
vendor: 5,430 bytes, line 22
22/g,f=/>/g,_=RegExp(">|[ 	\n\f\r](?:([^\\s\"'>=/]+)([ 	\n\f\r]*=[ 	\n\f\r]*(?:[^ 	\n\f\r\"'`<>=]|(\"|')|))|$)","g"),m=/'/g,p=/"/g,$=/^(?:script|style|textarea|title)$/i,g=ti=>(tr,...tn)=>({_$litType$:ti,strings:tr,values:tn}),y=g(1),w=g(2),x$1=Symbol.for("lit-noChange"),b=Symbol.for("lit-nothing"),T=new WeakMap,A=h$1.createTreeWalker(h$1,129,null,!1),E=(ti,tr)=>{let tn=ti.length-1,ts=[],ta,to=2===tr?"<svg>":"",th=v;for(let tr=0;tr<tn;tr++){let tn=ti[tr],tl,tp,tf=-1,tu=0;for(;tu<tn.length&&(th.lastIndex=tu,null!==(tp=th.exec(tn)));)tu=th.lastIndex,th===v?"!--"===tp[1]?th=a:void 0!==tp[1]?th=f:void 0!==tp[2]?($.test(tp[2])&&(ta=RegExp("</"+tp[2],"g")),th=_):void 0!==tp[3]&&(th=_):th===_?">"===tp[0]?(th=null!=ta?ta:v,tf=-1):void 0===tp[1]?tf=-2:(tf=th.lastIndex-tp[2].length,tl=tp[1],th=void 0===tp[3]?_:'"'===tp[3]?p:m):th===p||th===m?th=_:th===a||th===f?th=v:(th=_,ta=void 0);let tc=th===_&&ti[tr+1].startsWith("/>")?" ":"";to+=th===v?tn+l$2:tf>=0?(ts.push(tl),tn.slice(0,tf)+"$lit$"+tn.slice(tf)+o$4+tc):tn+o$4+(-2===tf?(ts.push(void 0),tr):tc)}let tl=to+(ti[tn]||"<?>")+(2===tr?"</svg>":"");if(!Array.isArray(ti)||!ti.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==e$7?e$7.createHTML(tl):tl,ts]};class C{constructor({strings:ti,_$litType$:tr},tn){let ts;this.parts=[];let ta=0,to=0,th=ti.length-1,tl=this.parts,[tp,tf]=E(ti,tr);if(this.el=C.createElement(tp,tn),A.currentNode=this.el.content,2===tr){let ti=this.el.content,tr=ti.firstChild;tr.remove(),ti.append(...tr.childNodes)}for(;null!==(ts=A.nextNode())&&tl.length<th;){if(1===ts.nodeType){if(ts.hasAttributes()){let ti=[];for(let tr of ts.getAttributeNames())if(tr.endsWith("$lit$")||tr.startsWith(o$4)){let tn=tf[to++];if(ti.push(tr),void 0!==tn){let ti=ts.getAttribute(tn.toLowerCase()+"$lit$").split(o$4),tr=/([.?@])?(.*)/.exec(tn);tl.push({type:1,index:ta,name:tr[2],strings:ti,ctor:"."===tr[1]?M:"?"===tr[1]?k:"@"===tr[1]?H:S})}else tl.push({type:6,index:ta})}for(let tr of ti)ts.removeAttribute(tr)}if($.test(ts.tagName)){let ti=ts.textContent.split(o$4),tr=ti.length-1;if(tr>0){ts.textContent=s$1?s$1.emptyScript:"";for(let tn=0;tn<tr;tn++)ts.append(ti[tn],r$1()),A.nextNode(),tl.push({type:2,index:++ta});ts.append(ti[tr],r$1())}}}else if(8===ts.nodeType){if(ts.data===n$2)tl.push({type:2,index:ta});else{let ti=-1;for(;-1!==(ti=ts.data.indexOf(o$4,ti+1));)tl.push({type:7,index:ta}),ti+=o$4.length-1}}ta++}}static createElement(ti,tr){let tn=h$1.createElement("template");return tn.innerHTML=ti,tn}}function P(ti,tr,tn=ti,ts){var ta,to,th,tl;if(tr===x$1)return tr;let tp=void 0!==ts?null===(ta=tn._$Co)||void 0===ta?void 0:ta[ts]:tn._$Cl,tf=d(tr)?void 0:tr._$litDirective$;return(null==tp?void 0:tp.constructor)!==tf&&(null===(to=null==tp?void 0:tp._$AO)||void 0===to||to.call(tp,!1),void 0===tf?tp=void 0:(tp=new tf(ti))._$AT(ti,tn,ts),void 0!==ts?(null!==(th=(tl=tn)._$Co)&&void 0!==th?th:tl._$Co=[])[ts]=tp:tn._$Cl=tp),void 0!==tp&&(tr=P(ti,tp._$AS(ti,tr.values),tp,ts)),tr}class V{constructor(ti,tr){this.u=[],this._$AN=void 0,this._$AD=ti,this._$AM=tr}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(ti){var tr;let{el:{content:tn},parts:ts}=this._$AD,ta=(null!==(tr=null==ti?void 0:ti.creationScope)&&void 0!==tr?tr:h$1).importNode(tn,!0);A.currentNode=ta;let to=A.nextNode(),th=0,tl=0,tp=ts[0];for(;void 0!==tp;){if(th===tp.index){let tr;2===tp.type?tr=new N(to,to.nextSibling,this,ti):1===tp.type?tr=new tp.ctor(to,tp.name,tp.strings,this,ti):6===tp.type&&(tr=new I(to,this,ti)),this.u.push(tr),tp=ts[++tl]}th!==(null==tp?void 0:tp.index)&&(to=A.nextNode(),th++)}return ta}p(ti){let tr=0;for(let tn of this.u)void 0!==tn&&(void 0!==tn.strings?(tn._$AI(ti,tn,tr),tr+=tn.strings.length-2):tn._$AI(ti[tr])),tr++}}class N{constructor(ti,tr,tn,ts){var ta;this.type=2,this._$AH=b,this._$AN=void 0,this._$AA=ti,this._$AB=tr,this._$AM=tn,this.options=ts,this._$Cm=null===(ta=null==ts?void 0:ts.isConnected)||void 0===ta||ta}get _$AU(){var ti,tr;return null!==(tr=null===(ti=this._$AM)||void 0===ti?void 0:ti._$AU)&&void 0!==tr?tr:this._$Cm}get parentNode(){let ti=this._$AA.parentNode,tr=this._$AM;return void 0!==tr&&11===ti.nodeType&&(ti=tr.parentNode),ti}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(ti,tr=this){d(ti=P(this,ti,tr))?ti===b||null==ti||""===ti?(this._$AH!==b&&this._$AR(),this._$AH=b):ti!==this._$AH&&ti!==x$1&&this.g(ti):void 0!==ti._$litType$?this.$(ti):void 0!==ti.nodeType?this.T(ti):c(ti)?this.k(ti):this.g(ti)}O(ti,tr=this._$AB){return this._$AA.parentNode.insertBefore(ti,tr)}T(ti){this._$AH!==ti&&(this._$AR(),this._$AH=this.O(ti))}g(ti){this._$AH!==b&&d(this._$AH)?this._$AA.nextSibling.data=ti:this.T(h$1.createTextNode(ti)),this._$AH=ti}$(ti){var tr;let{values:tn,_$litType$:ts}=ti,ta="number"==typeof ts?this._$AC(ti):(void 0===ts.el&&(ts.el=C.createElement(ts.h,this.options)),ts);if((null===(tr=this._$AH)||void 0===tr?void 0:tr._$AD)===ta)this._$AH.p(tn);else{let ti=new V(ta,this),tr=ti.v(this.options);ti.p(tn),this.T(tr),this._$AH=ti}}_$AC(ti){let tr=T.get(ti.strings);return void 0===tr&&T.set(ti.strings,tr=new C(ti)),tr}k(ti){u(this._$AH)||(this._$AH=[],this._$AR());let tr=this._$AH,tn,ts=0;for(let ta of ti)ts===tr.length?tr.push(tn=new N(this.O(r$1()),this.O(r$1()),this,this.options)):tn=tr[ts],tn._$AI(ta),ts++;ts<tr.length&&(this._$AR(tn&&tn._$AB.nextSibling,ts),tr.length=ts)}_$AR(ti=this._$AA.nextSibling,tr){var tn;
22for(null===(tn=this._$AP)||void 0===tn||tn.call(this,!1,!0,tr);ti&&ti!==this._$AB;){let tr=ti.nextSibling;ti.remove(),ti=tr}}setConnected(ti){var tr;void 0===this._$AM&&(this._$Cm=ti,null===(tr=this._$AP)||void 0===tr||tr.call(this,ti))}}class S{constructor(ti,tr,tn,ts,ta){this.type=1,this._$AH=b,this._$AN=void 0,this.element=ti,this.name=tr,this._$AM=ts,this.options=ta,tn.length>2||""!==tn[0]||""!==tn[1]?(this._$AH=Array(tn.length-1).fill(new String),this.strings=tn):this._$AH=b}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ti,tr=this,tn,ts){let ta=this.strings,to=!1;if(void 0===ta)(to=!d(ti=P(this,ti,tr,0))||ti!==this._$AH&&ti!==x$1)&&(this._$AH=ti);else{let ts,th;let tl=ti;for(ti=ta[0],ts=0;ts<ta.length-1;ts++)(th=P(this,tl[tn+ts],tr,ts))===x$1&&(th=this._$AH[ts]),to||(to=!d(th)||th!==this._$AH[ts]),th===b?ti=b:ti!==b&&(ti+=(null!=th?th:"")+ta[ts+1]),this._$AH[ts]=th}to&&!ts&&this.j(ti)}j(ti){ti===b?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=ti?ti:"")}}class M extends S{constructor(){super(...arguments),this.type=3}j(ti){this.element[this.name]=ti===b?void 0:ti}}let R=s$1?s$1.emptyScript:"";class k extends S{constructor(){super(...arguments),this.type=4}j(ti){ti&&ti!==b?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class H extends S{constructor(ti,tr,tn,ts,ta){super(ti,tr,tn,ts,ta),this.type=5}_$AI(ti,tr=this){var tn;if((ti=null!==(tn=P(this,ti,tr,0))&&void 0!==tn?tn:b)===x$1)return;let ts=this._$AH,ta=ti===b&&ts!==b||ti.capture!==ts.capture||ti.once!==ts.once||ti.passive!==ts.passive,to=ti!==b&&(ts===b||ta);ta&&this.element.removeEventListener(this.name,this,ts),to&&this.element.addEventListener(this.name,this,ti),this._$AH=ti}handleEvent(ti){var tr,tn;"function"==typeof this._$AH?this._$AH.call(null!==(tn=null===(tr=this.options)||void 0===tr?void 0:tr.host)&&void 0!==tn?tn:this.element,ti):this._$AH.handleEvent(ti)}}class I{constructor(ti,tr,tn){this.element=ti,this.type=6,this._$AN=void 0,this._$AM=tr,this.options=tn}get _$AU(){return this._$AM._$AU}_$AI(ti){P(this,ti)}}let L={P:"$lit$",A:o$4,M:n$2,C:1,L:E,R:V,D:c,V:P,I:N,H:S,N:k,U:H,B:M,F:I},z=i$3.litHtmlPolyfillSupport;null==z||z(C,N),(null!==(t$2=i$3.litHtmlVersions)&&void 0!==t$2?t$2:i$3.litHtmlVersions=[]).push("2.5.0");let Z=(ti,tr,tn)=>{var ts,ta;let to=null!==(ts=null==tn?void 0:tn.renderBefore)&&void 0!==ts?ts:tr,th=to._$litPart$;if(void 0===th){let ti=null!==(ta=null==tn?void 0:tn.renderBefore)&&void 0!==ta?ta:null;to._$litPart$=th=new N(tr.insertBefore(r$1(),ti),ti,void 0,null!=tn?tn:{})}return th._$AI(ti),th;/**
23 * @license
24 * Copyright 2017 Google LLC
25 * SPDX-License-Identifier: BSD-3-Clause
26 */},r=d$1;class s extends d$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ti,tr;let tn=super.createRenderRoot();return null!==(ti=(tr=this.renderOptions).renderBefore)&&void 0!==ti||(tr.renderBefore=tn.firstChild),tn}update(ti){let tr=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ti),this._$Do=Z(tr,this.renderRoot,this.renderOptions)}connectedCallback(){var ti;super.connectedCallback(),null===(ti=this._$Do)||void 0===ti||ti.setConnected(!0)}disconnectedCallback(){var ti;super.disconnectedCallback(),null===(ti=this._$Do)||void 0===ti||ti.setConnected(!1)}render(){return x$1}}s.finalized=!0,s._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:s});let n$1=globalThis.litElementPolyfillSupport;null==n$1||n$1({LitElement:s});let h={_$AK:(ti,tr,tn)=>{ti._$AK(tr,tn)},_$AL:ti=>ti._$AL};(null!==(o$3=globalThis.litElementVersions)&&void 0!==o$3?o$3:globalThis.litElementVersions=[]).push("3.2.2");/**
27 * @license
28 * Copyright 2022 Google LLC
29 * SPDX-License-Identifier: BSD-3-Clause
30 */let o$2=!1,e$6=ti=>tr=>{var tn,ts;return"function"==typeof tr?(tn=ti,ts=tr,customElements.define(tn,ts),ts):((ti,tr)=>{let{kind:tn,elements:ts}=tr;return{kind:tn,elements:ts,finisher(tr){customElements.define(ti,tr)}}})(ti,tr)},i$2=(ti,tr)=>"method"!==tr.kind||!tr.descriptor||"value"in tr.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:tr.key,initializer(){"function"==typeof tr.initializer&&(this[tr.key]=tr.initializer.call(this))}
vendor: 8,104 bytes, lines 30-62
30,finisher(tn){tn.createProperty(tr.key,ti)}}:{...tr,finisher(tn){tn.createProperty(tr.key,ti)}};/**
31 * @license
32 * Copyright 2017 Google LLC
33 * SPDX-License-Identifier: BSD-3-Clause
34 */function e$5(ti){return(tr,tn)=>void 0!==tn?((ti,tr,tn)=>{tr.constructor.createProperty(tn,ti)})(ti,tr,tn):i$2(ti,tr);/**
35 * @license
36 * Copyright 2017 Google LLC
37 * SPDX-License-Identifier: BSD-3-Clause
38 */}function t$1(ti){return e$5({...ti,state:!0})}/**
39 * @license
40 * Copyright 2017 Google LLC
41 * SPDX-License-Identifier: BSD-3-Clause
42 */let e$4=(ti,tr,tn)=>{Object.defineProperty(tr,tn,ti)},t=(ti,tr)=>({kind:"method",placement:"prototype",key:tr.key,descriptor:ti}),o$1=({finisher:ti,descriptor:tr})=>(tn,ts)=>{var ta;if(void 0===ts){let ts=null!==(ta=tn.originalKey)&&void 0!==ta?ta:tn.key,to=null!=tr?{kind:"method",placement:"prototype",key:ts,descriptor:tr(tn.key)}:{...tn,key:ts};return null!=ti&&(to.finisher=function(tr){ti(tr,ts)}),to}{let ta=tn.constructor;void 0!==tr&&Object.defineProperty(tn,ts,tr(ts)),null==ti||ti(ta,ts)}}/**
43 * @license
44 * Copyright 2017 Google LLC
45 * SPDX-License-Identifier: BSD-3-Clause
46 */;function e$3(ti){return o$1({finisher:(tr,tn)=>{Object.assign(tr.prototype[tn],ti)}})}/**
47 * @license
48 * Copyright 2017 Google LLC
49 * SPDX-License-Identifier: BSD-3-Clause
50 */function i$1(ti,tr){return o$1({descriptor:tn=>{let ts={get(){var tr,tn;return null!==(tn=null===(tr=this.renderRoot)||void 0===tr?void 0:tr.querySelector(ti))&&void 0!==tn?tn:null},enumerable:!0,configurable:!0};if(tr){let tr="symbol"==typeof tn?Symbol():"__"+tn;ts.get=function(){var tn,ts;return void 0===this[tr]&&(this[tr]=null!==(ts=null===(tn=this.renderRoot)||void 0===tn?void 0:tn.querySelector(ti))&&void 0!==ts?ts:null),this[tr]}}return ts}})}/**
51 * @license
52 * Copyright 2017 Google LLC
53 * SPDX-License-Identifier: BSD-3-Clause
54 */function e$2(ti){return o$1({descriptor:tr=>({get(){var tr,tn;return null!==(tn=null===(tr=this.renderRoot)||void 0===tr?void 0:tr.querySelectorAll(ti))&&void 0!==tn?tn:[]},enumerable:!0,configurable:!0})})}/**
55 * @license
56 * Copyright 2017 Google LLC
57 * SPDX-License-Identifier: BSD-3-Clause
58 */function e$1(ti){return o$1({descriptor:tr=>({async get(){var tr;return await this.updateComplete,null===(tr=this.renderRoot)||void 0===tr?void 0:tr.querySelector(ti)},enumerable:!0,configurable:!0})})}let e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(ti,tr)=>ti.assignedElements(tr):(ti,tr)=>ti.assignedNodes(tr).filter(ti=>ti.nodeType===Node.ELEMENT_NODE);function l(ti){let{slot:tr,selector:tn}=null!=ti?ti:{};return o$1({descriptor:ts=>({get(){var ts;let ta="slot"+(tr?`[name=${tr}]`:":not([name])"),to=null===(ts=this.renderRoot)||void 0===ts?void 0:ts.querySelector(ta),th=null!=to?e(to,ti):[];return tn?th.filter(ti=>ti.matches(tn)):th},enumerable:!0,configurable:!0})})}/**
59 * @license
60 * Copyright 2017 Google LLC
61 * SPDX-License-Identifier: BSD-3-Clause
62 */function o(ti,tr,tn){let ts,ta=ti;return"object"==typeof ti?(ta=ti.slot,ts=ti):ts={flatten:tr},tn?l({slot:ta,flatten:tr,selector:tn}):o$1({descriptor:ti=>({get(){var ti,tr;let tn="slot"+(ta?`[name=${ta}]`:":not([name])"),to=null===(ti=this.renderRoot)||void 0===ti?void 0:ti.querySelector(tn);return null!==(tr=null==to?void 0:to.assignedNodes(ts))&&void 0!==tr?tr:[]},enumerable:!0,configurable:!0})})}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function createCommonjsModule(ti,tr,tn){return ti(tn={path:tr,exports:{},require:function(ti,tr){return commonjsRequire(ti,null==tr?tn.path:tr)}},tn.exports),tn.exports}function getCjsExportFromNamespace(ti){return ti&&ti.default||ti}function commonjsRequire(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var REACT_ELEMENT_TYPE,s$2,t$2,l$1,o$3,n,_templateObject$1,lottie=createCommonjsModule(function(module,exports){"undefined"!=typeof navigator&&function(ti,tr){module.exports=tr()}(0,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(ti){_useWebWorker=!!ti},getWebWorker=function(){return _useWebWorker},setLocationHref=function(ti){locationHref=ti},getLocationHref=function(){return locationHref};function createTag(ti){return document.createElement(ti)}function extendPrototype(ti,tr){var tn,ts,ta=ti.length;for(tn=0;tn<ta;tn+=1)for(var to in ts=ti[tn].prototype)Object.prototype.hasOwnProperty.call(ts,to)&&(tr.prototype[to]=ts[to])}function getDescriptor(ti,tr){return Object.getOwnPropertyDescriptor(ti,tr)}function createProxyFunction(ti){function tr(){}return tr.prototype=ti,tr}var audioControllerFactory=function(){function ti(ti){this.audios=[],this.audioFactory=ti,this._volume=1,this._isMuted=!1}return ti.prototype={addAudio:function(ti){this.audios.push(ti)},pause:function(){var ti,tr=this.audios.length;for(ti=0;ti<tr;ti+=1)this.audios[ti].pause()},resume:function(){var ti,tr=this.audios.length;for(ti=0;ti<tr;ti+=1)this.audios[ti].resume()},setRate:function(ti){var tr,tn=this.audios.length;for(tr=0;tr<tn;tr+=1)this.audios[tr].setRate(ti)},createAudio:function(ti){return this.audioFactory?this.audioFactory(ti):window.Howl?new window.Howl({src:[ti]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(ti){this.audioFactory=ti},setVolume:function(ti){this._volume=ti,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var ti,tr=this.audios.length;for(ti=0;ti<tr;ti+=1)this.audios[ti].volume(this._volume*(this._isMuted?0:1))}},function(){return new ti}}(),createTypedArray=function(){function ti(ti,tr){var tn,ts=0,ta=[];switch(ti){case"int16":case"uint8c":tn=1;break;default:tn=1.1}for(ts=0;ts<tr;ts+=1)ta.push(tn);return ta}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(tr,tn){return"float32"===tr?new Float32Array(tn):"int16"===tr?new Int16Array(tn):"uint8c"===tr?new Uint8ClampedArray(tn):ti(tr,tn)}:ti}();function createSizedArray(ti){return Array.apply(null,{length:ti})}function _typeof$6(ti){return(_typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var ti,tr=["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"],tn=tr.length;for(ti=0;ti<tn;ti+=1)BMMath[tr[ti]]=Math[tr[ti]]}(),BMMath.random=Math.random,BMMath.abs=function(ti){if("object"===_typeof$6(ti)&&ti.length){var tr,tn=createSizedArray(ti.length),ts=ti.length;for(tr=0;tr<ts;tr+=1)tn[tr]=Math.abs(ti[tr]);return tn}return Math.abs(ti)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(ti){_shouldRoundValues=!!ti}function bmRnd(ti){return _shouldRoundValues?Math.round(ti):ti}function styleDiv(ti){ti.style.position="absolute",ti.style.top=0,ti.style.left=0,ti.style.display="block",ti.style.transformOrigin="0 0",ti.style.webkitTransformOrigin="0 0",ti.style.backfaceVisibility="visible",ti.style.webkitBackfaceVisibility="visible",ti.style.transformStyle="preserve-3d",ti.style.webkitTransformStyle="preserve-3d",ti.style.mozTransformStyle="preserve-3d"}
vendor: 4,255 bytes, line 62
62function BMEnterFrameEvent(ti,tr,tn,ts){this.type=ti,this.currentTime=tr,this.totalTime=tn,this.direction=ts<0?-1:1}function BMCompleteEvent(ti,tr){this.type=ti,this.direction=tr<0?-1:1}function BMCompleteLoopEvent(ti,tr,tn,ts){this.type=ti,this.currentLoop=tn,this.totalLoops=tr,this.direction=ts<0?-1:1}function BMSegmentStartEvent(ti,tr,tn){this.type=ti,this.firstFrame=tr,this.totalFrames=tn}function BMDestroyEvent(ti,tr){this.type=ti,this.target=tr}function BMRenderFrameErrorEvent(ti,tr){this.type="renderFrameError",this.nativeError=ti,this.currentTime=tr}function BMConfigErrorEvent(ti){this.type="configError",this.nativeError=ti}function BMAnimationConfigErrorEvent(ti,tr){this.type=ti,this.nativeError=tr}var _count,createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)});function HSVtoRGB(ti,tr,tn){var ts,ta,to,th,tl,tp,tf,tu;switch(tp=tn*(1-tr),tf=tn*(1-(tl=6*ti-(th=Math.floor(6*ti)))*tr),tu=tn*(1-(1-tl)*tr),th%6){case 0:ts=tn,ta=tu,to=tp;break;case 1:ts=tf,ta=tn,to=tp;break;case 2:ts=tp,ta=tn,to=tu;break;case 3:ts=tp,ta=tf,to=tn;break;case 4:ts=tu,ta=tp,to=tn;break;case 5:ts=tn,ta=tp,to=tf}return[ts,ta,to]}function RGBtoHSV(ti,tr,tn){var ts,ta=Math.max(ti,tr,tn),to=Math.min(ti,tr,tn),th=ta-to,tl=0===ta?0:th/ta,tp=ta/255;switch(ta){case to:ts=0;break;case ti:ts=(tr-tn+th*(tr<tn?6:0))/(6*th);break;case tr:ts=(tn-ti+2*th)/(6*th);break;case tn:ts=(ti-tr+4*th)/(6*th)}return[ts,tl,tp]}function addSaturationToRGB(ti,tr){var tn=RGBtoHSV(255*ti[0],255*ti[1],255*ti[2]);return tn[1]+=tr,tn[1]>1?tn[1]=1:tn[1]<=0&&(tn[1]=0),HSVtoRGB(tn[0],tn[1],tn[2])}function addBrightnessToRGB(ti,tr){var tn=RGBtoHSV(255*ti[0],255*ti[1],255*ti[2]);return tn[2]+=tr,tn[2]>1?tn[2]=1:tn[2]<0&&(tn[2]=0),HSVtoRGB(tn[0],tn[1],tn[2])}function addHueToRGB(ti,tr){var tn=RGBtoHSV(255*ti[0],255*ti[1],255*ti[2]);return tn[0]+=tr/360,tn[0]>1?tn[0]-=1:tn[0]<0&&(tn[0]+=1),HSVtoRGB(tn[0],tn[1],tn[2])}var rgbToHex=function(){var ti,tr,tn=[];for(ti=0;ti<256;ti+=1)tr=ti.toString(16),tn[ti]=1===tr.length?"0"+tr:tr;return function(ti,tr,ts){return ti<0&&(ti=0),tr<0&&(tr=0),ts<0&&(ts=0),"#"+tn[ti]+tn[tr]+tn[ts]}}(),setSubframeEnabled=function(ti){subframeEnabled=!!ti},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(ti){expressionsPlugin=ti},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(ti){expressionsInterfaces=ti},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(ti){defaultCurveSegments=ti},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(ti){idPrefix$1=ti},getIdPrefix=function(){return idPrefix$1};function createNS(ti){return document.createElementNS(svgNS,ti)}function _typeof$5(ti){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}var dataManager=function(){var ti,tr,tn=1,ts=[],ta={onmessage:function(){},postMessage:function(tr){ti({data:tr})}},to={postMessage:function(ti){ta.onmessage({data:ti})}};function th(){tr||((tr=function(tr){if(window.Worker&&window.Blob&&getWebWorker()){var tn=new Blob(["var _workerSelf = self; self.onmessage = ",tr.toString()],{type:"text/javascript"}),ts=URL.createObjectURL(tn);return new Worker(ts)}return ti=tr,ta}(function(ti){if(to.dataManager||(to.dataManager=function(){function ti(ta,to){var th,tl,tp,tf,tu,tm,tg=ta.length;for(tl=0;tl<tg;tl+=1)if("ks"in(th=ta[tl])&&!th.completed){if(th.completed=!0,th.hasMask){var tv=th.masksProperties;for(tf=tv.length,tp=0;tp<tf;tp+=1)if(tv[tp].pt.k.i)ts(tv[tp].pt.k);else for(tm=tv[tp].pt.k.length,tu=0;tu<tm;tu+=1)tv[tp].pt.k[tu].s&&ts(tv[tp].pt.k[tu].s[0]),tv[tp].pt.k[tu].e&&ts(tv[tp].pt.k[tu].e[0])}0===th.ty?(th.layers=tr(th.refId,to),ti(th.layers,to)):4===th.ty?tn(th.shapes):5===th.ty&&tc(th)}}function tr(ti,tr){var tn=function(ti,tr){for(var tn=0,ts=tr.length;tn<ts;){if(tr[tn].id===ti)return tr[tn];tn+=1}return null}(ti,tr);return tn?tn.layers.__used?JSON.parse(JSON.stringify(tn.layers)):(tn.layers.__used=!0,tn.layers):null}function tn(ti){var tr,ta,to;for(tr=ti.length-1;tr>=0;
vendor: 5,333 bytes, line 62
62tr-=1)if("sh"===ti[tr].ty){if(ti[tr].ks.k.i)ts(ti[tr].ks.k);else for(to=ti[tr].ks.k.length,ta=0;ta<to;ta+=1)ti[tr].ks.k[ta].s&&ts(ti[tr].ks.k[ta].s[0]),ti[tr].ks.k[ta].e&&ts(ti[tr].ks.k[ta].e[0])}else"gr"===ti[tr].ty&&tn(ti[tr].it)}function ts(ti){var tr,tn=ti.i.length;for(tr=0;tr<tn;tr+=1)ti.i[tr][0]+=ti.v[tr][0],ti.i[tr][1]+=ti.v[tr][1],ti.o[tr][0]+=ti.v[tr][0],ti.o[tr][1]+=ti.v[tr][1]}function ta(ti,tr){var tn=tr?tr.split("."):[100,100,100];return ti[0]>tn[0]||!(tn[0]>ti[0])&&(ti[1]>tn[1]||!(tn[1]>ti[1])&&(ti[2]>tn[2]||!(tn[2]>ti[2])&&null))}var to,th=function(){var ti=[4,4,14];function tr(ti){var tr,tn,ts,ta=ti.length;for(tr=0;tr<ta;tr+=1)5===ti[tr].ty&&(tn=ti[tr],ts=void 0,ts=tn.t.d,tn.t.d={k:[{s:ts,t:0}]})}return function(tn){if(ta(ti,tn.v)&&(tr(tn.layers),tn.assets)){var ts,to=tn.assets.length;for(ts=0;ts<to;ts+=1)tn.assets[ts].layers&&tr(tn.assets[ts].layers)}}}(),tl=(to=[4,7,99],function(ti){if(ti.chars&&!ta(to,ti.v)){var tr,ts=ti.chars.length;for(tr=0;tr<ts;tr+=1){var th=ti.chars[tr];th.data&&th.data.shapes&&(tn(th.data.shapes),th.data.ip=0,th.data.op=99999,th.data.st=0,th.data.sr=1,th.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},ti.chars[tr].t||(th.data.shapes.push({ty:"no"}),th.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),tp=function(){var ti=[5,7,15];function tr(ti){var tr,tn,ts,ta=ti.length;for(tr=0;tr<ta;tr+=1)5===ti[tr].ty&&(tn=ti[tr],ts=void 0,"number"==typeof(ts=tn.t.p).a&&(ts.a={a:0,k:ts.a}),"number"==typeof ts.p&&(ts.p={a:0,k:ts.p}),"number"==typeof ts.r&&(ts.r={a:0,k:ts.r}))}return function(tn){if(ta(ti,tn.v)&&(tr(tn.layers),tn.assets)){var ts,to=tn.assets.length;for(ts=0;ts<to;ts+=1)tn.assets[ts].layers&&tr(tn.assets[ts].layers)}}}(),tf=function(){var ti=[4,1,9];function tr(ti){var tn,ts,ta,to=ti.length;for(tn=0;tn<to;tn+=1)if("gr"===ti[tn].ty)tr(ti[tn].it);else if("fl"===ti[tn].ty||"st"===ti[tn].ty){if(ti[tn].c.k&&ti[tn].c.k[0].i)for(ta=ti[tn].c.k.length,ts=0;ts<ta;ts+=1)ti[tn].c.k[ts].s&&(ti[tn].c.k[ts].s[0]/=255,ti[tn].c.k[ts].s[1]/=255,ti[tn].c.k[ts].s[2]/=255,ti[tn].c.k[ts].s[3]/=255),ti[tn].c.k[ts].e&&(ti[tn].c.k[ts].e[0]/=255,ti[tn].c.k[ts].e[1]/=255,ti[tn].c.k[ts].e[2]/=255,ti[tn].c.k[ts].e[3]/=255);else ti[tn].c.k[0]/=255,ti[tn].c.k[1]/=255,ti[tn].c.k[2]/=255,ti[tn].c.k[3]/=255}}function tn(ti){var tn,ts=ti.length;for(tn=0;tn<ts;tn+=1)4===ti[tn].ty&&tr(ti[tn].shapes)}return function(tr){if(ta(ti,tr.v)&&(tn(tr.layers),tr.assets)){var ts,to=tr.assets.length;for(ts=0;ts<to;ts+=1)tr.assets[ts].layers&&tn(tr.assets[ts].layers)}}}(),tu=function(){var ti=[4,4,18];function tr(ti){var tn,ts,ta;for(tn=ti.length-1;tn>=0;tn-=1)if("sh"===ti[tn].ty){if(ti[tn].ks.k.i)ti[tn].ks.k.c=ti[tn].closed;else for(ta=ti[tn].ks.k.length,ts=0;ts<ta;ts+=1)ti[tn].ks.k[ts].s&&(ti[tn].ks.k[ts].s[0].c=ti[tn].closed),ti[tn].ks.k[ts].e&&(ti[tn].ks.k[ts].e[0].c=ti[tn].closed)}else"gr"===ti[tn].ty&&tr(ti[tn].it)}function tn(ti){var tn,ts,ta,to,th,tl,tp=ti.length;for(ts=0;ts<tp;ts+=1){if((tn=ti[ts]).hasMask){var tf=tn.masksProperties;for(to=tf.length,ta=0;ta<to;ta+=1)if(tf[ta].pt.k.i)tf[ta].pt.k.c=tf[ta].cl;else for(tl=tf[ta].pt.k.length,th=0;th<tl;th+=1)tf[ta].pt.k[th].s&&(tf[ta].pt.k[th].s[0].c=tf[ta].cl),tf[ta].pt.k[th].e&&(tf[ta].pt.k[th].e[0].c=tf[ta].cl)}4===tn.ty&&tr(tn.shapes)}}return function(tr){if(ta(ti,tr.v)&&(tn(tr.layers),tr.assets)){var ts,to=tr.assets.length;for(ts=0;ts<to;ts+=1)tr.assets[ts].layers&&tn(tr.assets[ts].layers)}}}();function tc(ti){0===ti.t.a.length&&ti.t.p}var tm={completeData:function(tn){tn.__complete||(tf(tn),th(tn),tl(tn),tp(tn),tu(tn),ti(tn.layers,tn.assets),function(tn,ts){if(tn){var ta=0,to=tn.length;for(ta=0;ta<to;ta+=1)1===tn[ta].t&&(tn[ta].data.layers=tr(tn[ta].data.refId,ts),ti(tn[ta].data.layers,ts))}}(tn.chars,tn.assets),tn.__complete=!0)}};return tm.checkColors=tf,tm.checkChars=tl,tm.checkPathProperties=tp,tm.checkShapes=tu,tm.completeLayers=ti,tm}()),to.assetLoader||(to.assetLoader=function(){function ti(ti){var tr=ti.getResponseHeader("content-type");return tr&&"json"===ti.responseType&&-1!==tr.indexOf("json")||ti.response&&"object"===_typeof$5(ti.response)?ti.response:ti.response&&"string"==typeof ti.response?JSON.parse(ti.response):ti.responseText?JSON.parse(ti.responseText):null}return{load:function(tr,tn,ts,ta){var to,th=new XMLHttpRequest;try{th.responseType="json"}catch(ti){}th.onreadystatechange=function(){if(4===th.readyState){if(200===th.status)ts(to=ti(th));else try{to=ti(th),ts(to)}catch(ti){ta&&ta(ti)}}};try{th.open("GET",tr,!0)}catch(ti){th.open("GET",tn+"/"+tr,!0)}th.send()}}}()),"loadAnimation"===ti.data.type)to.assetLoader.load(ti.data.path,ti.data.fullPath,function(tr){to.dataManager.completeData(tr),to.postMessage({id:ti.data.id,payload:tr,status:"success"})},function(){to.postMessage({id:ti.data.id,status:"error"})});else if("complete"===ti.data.type){var tr=ti.data.animation;to.dataManager.completeData(tr),to.postMessage({id:ti.data.id,payload:tr,status:"success"})}else"loadData"===ti.data.type&&to.assetLoader.load(ti.data.path,ti.data.fullPath,function(tr){to.postMessage({id:ti.data.id,payload:tr,status:"success"})},function(){to.postMessage({id:ti.data.id,status:"error"})})})).onmessage=function(ti){var tr=ti.data,tn=tr.id,ta=ts[tn];
vendor: 22,930 bytes, line 62
62ts[tn]=null,"success"===tr.status?ta.onComplete(tr.payload):ta.onError&&ta.onError()})}function tl(ti,tr){var ta="processId_"+(tn+=1);return ts[ta]={onComplete:ti,onError:tr},ta}return{loadAnimation:function(ti,tn,ts){th();var ta=tl(tn,ts);tr.postMessage({type:"loadAnimation",path:ti,fullPath:window.location.origin+window.location.pathname,id:ta})},loadData:function(ti,tn,ts){th();var ta=tl(tn,ts);tr.postMessage({type:"loadData",path:ti,fullPath:window.location.origin+window.location.pathname,id:ta})},completeAnimation:function(ti,tn,ts){th();var ta=tl(tn,ts);tr.postMessage({type:"complete",animation:ti,id:ta})}}}(),ImagePreloader=function(){var ti=function(){var ti=createTag("canvas");ti.width=1,ti.height=1;var tr=ti.getContext("2d");return tr.fillStyle="rgba(0,0,0,0)",tr.fillRect(0,0,1,1),ti}();function tr(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function tn(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function ts(ti,tr,tn){var ts="";if(ti.e)ts=ti.p;else if(tr){var ta=ti.p;-1!==ta.indexOf("images/")&&(ta=ta.split("/")[1]),ts=tr+ta}else ts=tn+(ti.u?ti.u:"")+ti.p;return ts}function ta(ti){var tr=0,tn=setInterval((function(){(ti.getBBox().width||tr>500)&&(this._imageLoaded(),clearInterval(tn)),tr+=1}).bind(this),50)}function to(ti){var tr={assetData:ti},tn=ts(ti,this.assetsPath,this.path);return dataManager.loadData(tn,(function(ti){tr.img=ti,this._footageLoaded()}).bind(this),(function(){tr.img={},this._footageLoaded()}).bind(this)),tr}function th(){this._imageLoaded=tr.bind(this),this._footageLoaded=tn.bind(this),this.testImageLoaded=ta.bind(this),this.createFootageData=to.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return th.prototype={loadAssets:function(ti,tr){this.imagesLoadedCb=tr;var tn,ts=ti.length;for(tn=0;tn<ts;tn+=1)ti[tn].layers||(ti[tn].t&&"seq"!==ti[tn].t?3===ti[tn].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(ti[tn]))):(this.totalImages+=1,this.images.push(this._createImageData(ti[tn]))))},setAssetsPath:function(ti){this.assetsPath=ti||""},setPath:function(ti){this.path=ti||""},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(ti){for(var tr=0,tn=this.images.length;tr<tn;){if(this.images[tr].assetData===ti)return this.images[tr].img;tr+=1}return null},createImgData:function(tr){var tn=ts(tr,this.assetsPath,this.path),ta=createTag("img");ta.crossOrigin="anonymous",ta.addEventListener("load",this._imageLoaded,!1),ta.addEventListener("error",(function(){to.img=ti,this._imageLoaded()}).bind(this),!1),ta.src=tn;var to={img:ta,assetData:tr};return to},createImageData:function(tr){var tn=ts(tr,this.assetsPath,this.path),ta=createNS("image");isSafari?this.testImageLoaded(ta):ta.addEventListener("load",this._imageLoaded,!1),ta.addEventListener("error",(function(){to.img=ti,this._imageLoaded()}).bind(this),!1),ta.setAttributeNS("http://www.w3.org/1999/xlink","href",tn),this._elementHelper.append?this._elementHelper.append(ta):this._elementHelper.appendChild(ta);var to={img:ta,assetData:tr};return to},imageLoaded:tr,footageLoaded:tn,setCacheType:function(ti,tr){"svg"===ti?(this._elementHelper=tr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},th}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(ti,tr){if(this._cbs[ti])for(var tn=this._cbs[ti],ts=0;ts<tn.length;ts+=1)tn[ts](tr)},addEventListener:function(ti,tr){return this._cbs[ti]||(this._cbs[ti]=[]),this._cbs[ti].push(tr),(function(){this.removeEventListener(ti,tr)}).bind(this)},removeEventListener:function(ti,tr){if(tr){if(this._cbs[ti]){for(var tn=0,ts=this._cbs[ti].length;tn<ts;)this._cbs[ti][tn]===tr&&(this._cbs[ti].splice(tn,1),tn-=1,ts-=1),tn+=1;this._cbs[ti].length||(this._cbs[ti]=null)}}else this._cbs[ti]=null}};var markerParser=function(){function ti(ti){for(var tr,tn=ti.split("\r\n"),ts={},ta=0,to=0;to<tn.length;to+=1)2===(tr=tn[to].split(":")).length&&(ts[tr[0]]=tr[1].trim(),ta+=1);if(0===ta)throw Error();return ts}return function(tr){for(var tn=[],ts=0;ts<tr.length;ts+=1){var ta=tr[ts],to={time:ta.tm,duration:ta.dr};try{to.payload=JSON.parse(tr[ts].cm)}catch(tn){try{to.payload=ti(tr[ts].cm)}catch(ti){to.payload={name:tr[ts].cm}}}tn.push(to)}return tn}}(),ProjectInterface=function(){function ti(ti){this.compositions.push(ti)}return function(){function tr(ti){for(var tr=0,tn=this.compositions.length;tr<tn;){if(this.compositions[tr].data&&this.compositions[tr].data.nm===ti)return this.compositions[tr].prepareFrame&&this.compositions[tr].data.xt&&this.compositions[tr].prepareFrame(this.currentFrame),this.compositions[tr].compInterface;tr+=1}return null}return tr.compositions=[],tr.currentFrame=0,tr.registerComposition=ti,tr}}(),renderers={},registerRenderer=function(ti,tr){renderers[ti]=tr};function getRenderer(ti){return renderers[ti]}function _typeof$4(ti){return(_typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}var 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=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(ti){(ti.wrapper||ti.container)&&(this.wrapper=ti.wrapper||ti.container);var tr="svg";ti.animType?tr=ti.animType:ti.renderer&&(tr=ti.renderer);var tn=getRenderer(tr);this.renderer=new tn(this,ti.rendererSettings),this.imagePreloader.setCacheType(tr,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=tr,""===ti.loop||null===ti.loop||void 0===ti.loop||!0===ti.loop?this.loop=!0:!1===ti.loop?this.loop=!1:this.loop=parseInt(ti.loop,10),this.autoplay=!("autoplay"in ti)||ti.autoplay,this.name=ti.name?ti.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(ti,"autoloadSegments")||ti.autoloadSegments,this.assetsPath=ti.assetsPath,this.initialSegment=ti.initialSegment,ti.audioFactory&&this.audioController.setAudioFactory(ti.audioFactory),ti.animationData?this.setupAnimation(ti.animationData):ti.path&&(-1!==ti.path.lastIndexOf("\\")?this.path=ti.path.substr(0,ti.path.lastIndexOf("\\")+1):this.path=ti.path.substr(0,ti.path.lastIndexOf("/")+1),this.fileName=ti.path.substr(ti.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(ti.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(ti){dataManager.completeAnimation(ti,this.configAnimation)},AnimationItem.prototype.setData=function(ti,tr){tr&&"object"!==_typeof$4(tr)&&(tr=JSON.parse(tr));var tn={wrapper:ti,animationData:tr},ts=ti.attributes;tn.path=ts.getNamedItem("data-animation-path")?ts.getNamedItem("data-animation-path").value:ts.getNamedItem("data-bm-path")?ts.getNamedItem("data-bm-path").value:ts.getNamedItem("bm-path")?ts.getNamedItem("bm-path").value:"",tn.animType=ts.getNamedItem("data-anim-type")?ts.getNamedItem("data-anim-type").value:ts.getNamedItem("data-bm-type")?ts.getNamedItem("data-bm-type").value:ts.getNamedItem("bm-type")?ts.getNamedItem("bm-type").value:ts.getNamedItem("data-bm-renderer")?ts.getNamedItem("data-bm-renderer").value:ts.getNamedItem("bm-renderer")?ts.getNamedItem("bm-renderer").value:"canvas";var ta=ts.getNamedItem("data-anim-loop")?ts.getNamedItem("data-anim-loop").value:ts.getNamedItem("data-bm-loop")?ts.getNamedItem("data-bm-loop").value:ts.getNamedItem("bm-loop")?ts.getNamedItem("bm-loop").value:"";"false"===ta?tn.loop=!1:"true"===ta?tn.loop=!0:""!==ta&&(tn.loop=parseInt(ta,10));var to=ts.getNamedItem("data-anim-autoplay")?ts.getNamedItem("data-anim-autoplay").value:ts.getNamedItem("data-bm-autoplay")?ts.getNamedItem("data-bm-autoplay").value:!ts.getNamedItem("bm-autoplay")||ts.getNamedItem("bm-autoplay").value;tn.autoplay="false"!==to,tn.name=ts.getNamedItem("data-name")?ts.getNamedItem("data-name").value:ts.getNamedItem("data-bm-name")?ts.getNamedItem("data-bm-name").value:ts.getNamedItem("bm-name")?ts.getNamedItem("bm-name").value:"","false"===(ts.getNamedItem("data-anim-prerender")?ts.getNamedItem("data-anim-prerender").value:ts.getNamedItem("data-bm-prerender")?ts.getNamedItem("data-bm-prerender").value:ts.getNamedItem("bm-prerender")?ts.getNamedItem("bm-prerender").value:"")&&(tn.prerender=!1),this.setParams(tn)},AnimationItem.prototype.includeLayers=function(ti){ti.op>this.animationData.op&&(this.animationData.op=ti.op,this.totalFrames=Math.floor(ti.op-this.animationData.ip));var tr,tn,ts=this.animationData.layers,ta=ts.length,to=ti.layers,th=to.length;for(tn=0;tn<th;tn+=1)for(tr=0;tr<ta;){if(ts[tr].id===to[tn].id){ts[tr]=to[tn];break}tr+=1}if((ti.chars||ti.fonts)&&(this.renderer.globalData.fontManager.addChars(ti.chars),this.renderer.globalData.fontManager.addFonts(ti.fonts,this.renderer.globalData.defs)),ti.assets)for(ta=ti.assets.length,tr=0;tr<ta;tr+=1)this.animationData.assets.push(ti.assets[tr]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(ti){this.animationData=ti;var tr=getExpressionsPlugin();tr&&tr.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var ti=this.animationData.segments;if(!ti||0===ti.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var tr=ti.shift();this.timeCompleted=tr.time*this.frameRate;var tn=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(tn,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(ti){if(this.renderer)try{this.animationData=ti,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(ti),ti.assets||(ti.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(ti.assets),this.markers=markerParser(ti.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(ti){this.triggerConfigError(ti)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var ti=getExpressionsPlugin();ti&&ti.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(ti,tr){var tn="number"==typeof ti?ti:void 0,ts="number"==typeof tr?tr:void 0;this.renderer.updateContainerSize(tn,ts)},AnimationItem.prototype.setSubframe=function(ti){this.isSubframeEnabled=!!ti},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(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(ti){this.triggerRenderFrameError(ti)}},AnimationItem.prototype.play=function(ti){ti&&this.name!==ti||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(ti){ti&&this.name!==ti||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(ti){ti&&this.name!==ti||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(ti){ti&&this.name!==ti||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(ti){for(var tr,tn=0;tn<this.markers.length;tn+=1)if((tr=this.markers[tn]).payload&&tr.payload.name===ti)return tr;return null},AnimationItem.prototype.goToAndStop=function(ti,tr,tn){if(!tn||this.name===tn){if(isNaN(Number(ti))){var ts=this.getMarkerData(ti);ts&&this.goToAndStop(ts.time,!0)}else tr?this.setCurrentRawFrameValue(ti):this.setCurrentRawFrameValue(ti*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(ti,tr,tn){if(!tn||this.name===tn){var ts=Number(ti);if(isNaN(ts)){var ta=this.getMarkerData(ti);ta&&(ta.duration?this.playSegments([ta.time,ta.time+ta.duration],!0):this.goToAndStop(ta.time,!0))}else this.goToAndStop(ts,tr,tn);this.play()}},AnimationItem.prototype.advanceTime=function(ti){if(!0!==this.isPaused&&!1!==this.isLoaded){var tr=this.currentRawFrame+ti*this.frameModifier,tn=!1;tr>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?tr>=this.totalFrames?(this.playCount+=1,this.checkSegments(tr%this.totalFrames)||(this.setCurrentRawFrameValue(tr%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(tr):this.checkSegments(tr>this.totalFrames?tr%this.totalFrames:0)||(tn=!0,tr=this.totalFrames-1):tr<0?this.checkSegments(tr%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(tn=!0,tr=0):(this.setCurrentRawFrameValue(this.totalFrames+tr%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(tr),tn&&(this.setCurrentRawFrameValue(tr),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(ti,tr){this.playCount=0,ti[1]<ti[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=ti[0]-ti[1],this.timeCompleted=this.totalFrames,this.firstFrame=ti[1],this.setCurrentRawFrameValue(this.totalFrames-.001-tr)):ti[1]>ti[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=ti[1]-ti[0],this.timeCompleted=this.totalFrames,this.firstFrame=ti[0],this.setCurrentRawFrameValue(.001+tr)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(ti,tr){var tn=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<ti?tn=ti:this.currentRawFrame+this.firstFrame>tr&&(tn=tr-ti)),this.firstFrame=ti,this.totalFrames=tr-ti,this.timeCompleted=this.totalFrames,-1!==tn&&this.goToAndStop(tn,!0)},AnimationItem.prototype.playSegments=function(ti,tr){if(tr&&(this.segments.length=0),"object"===_typeof$4(ti[0])){var tn,ts=ti.length;for(tn=0;tn<ts;tn+=1)this.segments.push(ti[tn])}else this.segments.push(ti);this.segments.length&&tr&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(ti){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),ti&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(ti){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),ti),!0)},AnimationItem.prototype.destroy=function(ti){ti&&this.name!==ti||!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(ti){this.currentRawFrame=ti,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(ti){this.playSpeed=ti,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(ti){this.playDirection=ti<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(ti,tr){tr&&this.name!==tr||this.audioController.setVolume(ti)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(ti){ti&&this.name!==ti||this.audioController.mute()},AnimationItem.prototype.unmute=function(ti){ti&&this.name!==ti||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(ti){var tr="";if(ti.e)tr=ti.p;else if(this.assetsPath){var tn=ti.p;-1!==tn.indexOf("images/")&&(tn=tn.split("/")[1]),tr=this.assetsPath+tn}else tr=this.path+(ti.u?ti.u:"")+ti.p;return tr},AnimationItem.prototype.getAssetData=function(ti){for(var tr=0,tn=this.assets.length;tr<tn;){if(ti===this.assets[tr].id)return this.assets[tr];tr+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(ti){return ti?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(ti,tr,tn){try{this.renderer.getElementByPath(ti).updateDocumentData(tr,tn)}catch(ti){}},AnimationItem.prototype.trigger=function(ti){if(this._cbs&&this._cbs[ti])switch(ti){case"enterFrame":this.triggerEvent(ti,new BMEnterFrameEvent(ti,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(ti,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(ti,new BMCompleteLoopEvent(ti,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(ti,new BMCompleteEvent(ti,this.frameMult));break;case"segmentStart":this.triggerEvent(ti,new BMSegmentStartEvent(ti,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(ti,new BMDestroyEvent(ti,this));break;default:this.triggerEvent(ti)}"enterFrame"===ti&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(ti,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===ti&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(ti,this.loop,this.playCount,this.frameMult)),"complete"===ti&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(ti,this.frameMult)),"segmentStart"===ti&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(ti,this.firstFrame,this.totalFrames)),"destroy"===ti&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(ti,this))},AnimationItem.prototype.triggerRenderFrameError=function(ti){var tr=new BMRenderFrameErrorEvent(ti,this.currentFrame);this.triggerEvent("error",tr),this.onError&&this.onError.call(this,tr)},AnimationItem.prototype.triggerConfigError=function(ti){var tr=new BMConfigErrorEvent(ti,this.currentFrame);this.triggerEvent("error",tr),this.onError&&this.onError.call(this,tr)};var animationManager=function(){var ti={},tr=[],tn=0,ts=0,ta=0,to=!0,th=!1;function tl(ti){for(var tn=0,ta=ti.target;tn<ts;)tr[tn].animation===ta&&(tr.splice(tn,1),tn-=1,ts-=1,ta.isPaused||tu()),tn+=1}function tp(ti,tn){if(!ti)return null;for(var ta=0;ta<ts;){if(tr[ta].elem===ti&&null!==tr[ta].elem)return tr[ta].animation;ta+=1}var to=new AnimationItem;return tc(to,ti),to.setData(ti,tn),to}function tf(){ta+=1,tv()}function tu(){ta-=1}function tc(ti,tn){ti.addEventListener("destroy",tl),ti.addEventListener("_active",tf),ti.addEventListener("_idle",tu),tr.push({elem:tn,animation:ti}),ts+=1}function tm(ti){var tl,tp=ti-tn;for(tl=0;tl<ts;tl+=1)tr[tl].animation.advanceTime(tp);tn=ti,ta&&!th?window.requestAnimationFrame(tm):to=!0}function tg(ti){tn=ti,window.requestAnimationFrame(tm)}function tv(){!th&&ta&&to&&(window.requestAnimationFrame(tg),to=!1)}return ti.registerAnimation=tp,ti.loadAnimation=function(ti){var tr=new AnimationItem;return tc(tr,null),tr.setParams(ti),tr},ti.setSpeed=function(ti,tn){var ta;for(ta=0;ta<ts;ta+=1)tr[ta].animation.setSpeed(ti,tn)},ti.setDirection=function(ti,tn){var ta;for(ta=0;ta<ts;ta+=1)tr[ta].animation.setDirection(ti,tn)},ti.play=function(ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.play(ti)},ti.pause=function(ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.pause(ti)},ti.stop=function(ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.stop(ti)},ti.togglePause=function(ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.togglePause(ti)}
vendor: 5,077 bytes, line 62
62,ti.searchAnimations=function(ti,tr,tn){var ts,ta=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),to=ta.length;for(ts=0;ts<to;ts+=1)tn&&ta[ts].setAttribute("data-bm-type",tn),tp(ta[ts],ti);if(tr&&0===to){tn||(tn="svg");var th=document.getElementsByTagName("body")[0];th.innerText="";var tl=createTag("div");tl.style.width="100%",tl.style.height="100%",tl.setAttribute("data-bm-type",tn),th.appendChild(tl),tp(tl,ti)}},ti.resize=function(){var ti;for(ti=0;ti<ts;ti+=1)tr[ti].animation.resize()},ti.goToAndStop=function(ti,tn,ta){var to;for(to=0;to<ts;to+=1)tr[to].animation.goToAndStop(ti,tn,ta)},ti.destroy=function(ti){var tn;for(tn=ts-1;tn>=0;tn-=1)tr[tn].animation.destroy(ti)},ti.freeze=function(){th=!0},ti.unfreeze=function(){th=!1,tv()},ti.setVolume=function(ti,tn){var ta;for(ta=0;ta<ts;ta+=1)tr[ta].animation.setVolume(ti,tn)},ti.mute=function(ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.mute(ti)},ti.unmute=function(ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.unmute(ti)},ti.getRegisteredAnimations=function(){var ti,tn=tr.length,ts=[];for(ti=0;ti<tn;ti+=1)ts.push(tr[ti].animation);return ts},ti}(),BezierFactory=function(){var ti={getBezierEasing:function(ti,tn,ts,ta,to){var th=to||("bez_"+ti+"_"+tn+"_"+ts+"_"+ta).replace(/\./g,"p");if(tr[th])return tr[th];var tl=new tp([ti,tn,ts,ta]);return tr[th]=tl,tl}},tr={},tn="function"==typeof Float32Array;function ts(ti,tr){return 1-3*tr+3*ti}function ta(ti,tr){return 3*tr-6*ti}function to(ti){return 3*ti}function th(ti,tr,tn){return((ts(tr,tn)*ti+ta(tr,tn))*ti+to(tr))*ti}function tl(ti,tr,tn){return 3*ts(tr,tn)*ti*ti+2*ta(tr,tn)*ti+to(tr)}function tp(ti){this._p=ti,this._mSampleValues=tn?new Float32Array(11):Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return tp.prototype={get:function(ti){var tr=this._p[0],tn=this._p[1],ts=this._p[2],ta=this._p[3];return this._precomputed||this._precompute(),tr===tn&&ts===ta?ti:0===ti?0:1===ti?1:th(this._getTForX(ti),tn,ta)},_precompute:function(){var ti=this._p[0],tr=this._p[1],tn=this._p[2],ts=this._p[3];this._precomputed=!0,ti===tr&&tn===ts||this._calcSampleValues()},_calcSampleValues:function(){for(var ti=this._p[0],tr=this._p[2],tn=0;tn<11;++tn)this._mSampleValues[tn]=th(.1*tn,ti,tr)},_getTForX:function(ti){for(var tr=this._p[0],tn=this._p[2],ts=this._mSampleValues,ta=0,to=1;10!==to&&ts[to]<=ti;++to)ta+=.1;var tp=ta+.1*((ti-ts[--to])/(ts[to+1]-ts[to])),tf=tl(tp,tr,tn);return tf>=.001?function(ti,tr,tn,ts){for(var ta=0;ta<4;++ta){var to=tl(tr,tn,ts);if(0===to)break;tr-=(th(tr,tn,ts)-ti)/to}return tr}(ti,tp,tr,tn):0===tf?tp:function(ti,tr,tn,ts,ta){var to,tl,tp=0;do(to=th(tl=tr+(tn-tr)/2,ts,ta)-ti)>0?tn=tl:tr=tl;while(Math.abs(to)>1e-7&&++tp<10);return tl}(ti,ta,ta+.1,tr,tn)}},ti}(),pooling={double:function(ti){return ti.concat(createSizedArray(ti.length))}},poolFactory=function(ti,tr,tn){var ts=0,ta=ti,to=createSizedArray(ta);return{newElement:function(){return ts?to[ts-=1]:tr()},release:function(ti){ts===ta&&(to=pooling.double(to),ta*=2),tn&&tn(ti),to[ts]=ti,ts+=1}}},bezierLengthPool=poolFactory(8,function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}),segmentsLengthPool=poolFactory(8,function(){return{lengths:[],totalLength:0}},function(ti){var tr,tn=ti.lengths.length;for(tr=0;tr<tn;tr+=1)bezierLengthPool.release(ti.lengths[tr]);ti.lengths.length=0});function bezFunction(){var ti=Math;function tr(ti,tr,tn,ts,ta,to){var th=ti*ts+tr*ta+tn*to-ta*ts-to*ti-tn*tr;return th>-.001&&th<.001}var tn=function(ti,tr,tn,ts){var ta,to,th,tl,tp,tf,tu=getDefaultCurveSegments(),tc=0,tm=[],tg=[],tv=bezierLengthPool.newElement();for(th=tn.length,ta=0;ta<tu;ta+=1){for(tp=ta/(tu-1),tf=0,to=0;to<th;to+=1)tl=bmPow(1-tp,3)*ti[to]+3*bmPow(1-tp,2)*tp*tn[to]+3*(1-tp)*bmPow(tp,2)*ts[to]+bmPow(tp,3)*tr[to],tm[to]=tl,null!==tg[to]&&(tf+=bmPow(tm[to]-tg[to],2)),tg[to]=tm[to];tf&&(tc+=tf=bmSqrt(tf)),tv.percents[ta]=tp,tv.lengths[ta]=tc}return tv.addedLength=tc,tv};function ts(ti){this.segmentLength=0,this.points=Array(ti)}function ta(ti,tr){this.partialLength=ti,this.point=tr}var to,th=(to={},function(ti,tn,th,tl){var tp=(ti[0]+"_"+ti[1]+"_"+tn[0]+"_"+tn[1]+"_"+th[0]+"_"+th[1]+"_"+tl[0]+"_"+tl[1]).replace(/\./g,"p");if(!to[tp]){var tf,tu,tc,tm,tg,tv,ty,tb=getDefaultCurveSegments(),t_=0,tw=null;2===ti.length&&(ti[0]!==tn[0]||ti[1]!==tn[1])&&tr(ti[0],ti[1],tn[0],tn[1],ti[0]+th[0],ti[1]+th[1])&&tr(ti[0],ti[1],tn[0],tn[1],tn[0]+tl[0],tn[1]+tl[1])&&(tb=2);var tx=new ts(tb);for(tc=th.length,tf=0;tf<tb;tf+=1){for(ty=createSizedArray(tc),tg=tf/(tb-1),tv=0,tu=0;tu<tc;tu+=1)tm=bmPow(1-tg,3)*ti[tu]+3*bmPow(1-tg,2)*tg*(ti[tu]+th[tu])+3*(1-tg)*bmPow(tg,2)*(tn[tu]+tl[tu])+bmPow(tg,3)*tn[tu],ty[tu]=tm,null!==tw&&(tv+=bmPow(ty[tu]-tw[tu],2));t_+=tv=bmSqrt(tv),tx.points[tf]=new ta(tv,ty),tw=ty}tx.segmentLength=t_,to[tp]=tx}return to[tp]});function tl(ti,tr){var tn=tr.percents,ts=tr.lengths,ta=tn.length,to=bmFloor((ta-1)*ti),th=ti*tr.addedLength,tl=0;
vendor: 8,108 bytes, line 62
62if(to===ta-1||0===to||th===ts[to])return tn[to];for(var tp=ts[to]>th?-1:1,tf=!0;tf;)if(ts[to]<=th&&ts[to+1]>th?(tl=(th-ts[to])/(ts[to+1]-ts[to]),tf=!1):to+=tp,to<0||to>=ta-1){if(to===ta-1)return tn[to];tf=!1}return tn[to]+(tn[to+1]-tn[to])*tl}var tp=createTypedArray("float32",8);return{getSegmentsLength:function(ti){var tr,ts=segmentsLengthPool.newElement(),ta=ti.c,to=ti.v,th=ti.o,tl=ti.i,tp=ti._length,tf=ts.lengths,tu=0;for(tr=0;tr<tp-1;tr+=1)tf[tr]=tn(to[tr],to[tr+1],th[tr],tl[tr+1]),tu+=tf[tr].addedLength;return ta&&tp&&(tf[tr]=tn(to[tr],to[0],th[tr],tl[0]),tu+=tf[tr].addedLength),ts.totalLength=tu,ts},getNewSegment:function(tr,tn,ts,ta,to,th,tf){to<0?to=0:to>1&&(to=1);var tu,tc=tl(to,tf),tm=tl(th=th>1?1:th,tf),tg=tr.length,tv=1-tc,ty=1-tm,tb=tv*tv*tv,t_=tc*tv*tv*3,tw=tc*tc*tv*3,tx=tc*tc*tc,tk=tv*tv*ty,tA=tc*tv*ty+tv*tc*ty+tv*tv*tm,tP=tc*tc*ty+tv*tc*tm+tc*tv*tm,tE=tc*tc*tm,tS=tv*ty*ty,tC=tc*ty*ty+tv*tm*ty+tv*ty*tm,tD=tc*tm*ty+tv*tm*tm+tc*ty*tm,tT=tc*tm*tm,tM=ty*ty*ty,tF=tm*ty*ty+ty*tm*ty+ty*ty*tm,tI=tm*tm*ty+ty*tm*tm+tm*ty*tm,tO=tm*tm*tm;for(tu=0;tu<tg;tu+=1)tp[4*tu]=ti.round(1e3*(tb*tr[tu]+t_*ts[tu]+tw*ta[tu]+tx*tn[tu]))/1e3,tp[4*tu+1]=ti.round(1e3*(tk*tr[tu]+tA*ts[tu]+tP*ta[tu]+tE*tn[tu]))/1e3,tp[4*tu+2]=ti.round(1e3*(tS*tr[tu]+tC*ts[tu]+tD*ta[tu]+tT*tn[tu]))/1e3,tp[4*tu+3]=ti.round(1e3*(tM*tr[tu]+tF*ts[tu]+tI*ta[tu]+tO*tn[tu]))/1e3;return tp},getPointInSegment:function(tr,tn,ts,ta,to,th){var tp=tl(to,th),tf=1-tp;return[ti.round(1e3*(tf*tf*tf*tr[0]+(tp*tf*tf+tf*tp*tf+tf*tf*tp)*ts[0]+(tp*tp*tf+tf*tp*tp+tp*tf*tp)*ta[0]+tp*tp*tp*tn[0]))/1e3,ti.round(1e3*(tf*tf*tf*tr[1]+(tp*tf*tf+tf*tp*tf+tf*tf*tp)*ts[1]+(tp*tp*tf+tf*tp*tp+tp*tf*tp)*ta[1]+tp*tp*tp*tn[1]))/1e3]},buildBezierData:th,pointOnLine2D:tr,pointOnLine3D:function(tn,ts,ta,to,th,tl,tp,tf,tu){if(0===ta&&0===tl&&0===tu)return tr(tn,ts,to,th,tp,tf);var tc,tm=ti.sqrt(ti.pow(to-tn,2)+ti.pow(th-ts,2)+ti.pow(tl-ta,2)),tg=ti.sqrt(ti.pow(tp-tn,2)+ti.pow(tf-ts,2)+ti.pow(tu-ta,2)),tv=ti.sqrt(ti.pow(tp-to,2)+ti.pow(tf-th,2)+ti.pow(tu-tl,2));return(tc=tm>tg?tm>tv?tm-tg-tv:tv-tg-tm:tv>tg?tv-tg-tm:tg-tm-tv)>-.0001&&tc<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var ti=initialDefaultFrame,tr=Math.abs;function tn(ti,tr){var tn,ta,to,th,tl,tp,tf=this.offsetTime;"multidimensional"===this.propType&&(tp=createTypedArray("float32",this.pv.length));for(var tu,tc,tm,tg,tv,ty,tb,t_,tw,tx=tr.lastIndex,tk=tx,tA=this.keyframes.length-1,tP=!0;tP;){if(tu=this.keyframes[tk],tc=this.keyframes[tk+1],tk===tA-1&&ti>=tc.t-tf){tu.h&&(tu=tc),tx=0;break}if(tc.t-tf>ti){tx=tk;break}tk<tA-1?tk+=1:(tx=0,tP=!1)}tm=this.keyframesMetadata[tk]||{};var tE,tS=tc.t-tf,tC=tu.t-tf;if(tu.to){tm.bezierData||(tm.bezierData=bez.buildBezierData(tu.s,tc.s||tu.e,tu.to,tu.ti));var tD=tm.bezierData;if(ti>=tS||ti<tC){var tT=ti>=tS?tD.points.length-1:0;for(tv=tD.points[tT].point.length,tg=0;tg<tv;tg+=1)tp[tg]=tD.points[tT].point[tg]}else{tm.__fnct?tw=tm.__fnct:(tw=BezierFactory.getBezierEasing(tu.o.x,tu.o.y,tu.i.x,tu.i.y,tu.n).get,tm.__fnct=tw),ty=tw((ti-tC)/(tS-tC));var tM,tF=tD.segmentLength*ty,tI=tr.lastFrame<ti&&tr._lastKeyframeIndex===tk?tr._lastAddedLength:0;for(t_=tr.lastFrame<ti&&tr._lastKeyframeIndex===tk?tr._lastPoint:0,tP=!0,tb=tD.points.length;tP;){if(tI+=tD.points[t_].partialLength,0===tF||0===ty||t_===tD.points.length-1){for(tv=tD.points[t_].point.length,tg=0;tg<tv;tg+=1)tp[tg]=tD.points[t_].point[tg];break}if(tF>=tI&&tF<tI+tD.points[t_+1].partialLength){for(tM=(tF-tI)/tD.points[t_+1].partialLength,tv=tD.points[t_].point.length,tg=0;tg<tv;tg+=1)tp[tg]=tD.points[t_].point[tg]+(tD.points[t_+1].point[tg]-tD.points[t_].point[tg])*tM;break}t_<tb-1?t_+=1:tP=!1}tr._lastPoint=t_,tr._lastAddedLength=tI-tD.points[t_].partialLength,tr._lastKeyframeIndex=tk}}else if(tA=tu.s.length,tE=tc.s||tu.e,this.sh&&1!==tu.h)ti>=tS?(tp[0]=tE[0],tp[1]=tE[1],tp[2]=tE[2]):ti<=tC?(tp[0]=tu.s[0],tp[1]=tu.s[1],tp[2]=tu.s[2]):function(ti,tr){var tn=tr[0],ts=tr[1],ta=tr[2],to=tr[3],th=Math.atan2(2*ts*to-2*tn*ta,1-2*ts*ts-2*ta*ta),tl=Math.asin(2*tn*ts+2*ta*to),tp=Math.atan2(2*tn*to-2*ts*ta,1-2*tn*tn-2*ta*ta);ti[0]=th/degToRads,ti[1]=tl/degToRads,ti[2]=tp/degToRads}(tp,function(ti,tr,tn){var ts,ta,to,th,tl,tp=[],tf=ti[0],tu=ti[1],tc=ti[2],tm=ti[3],tg=tr[0],tv=tr[1],ty=tr[2],tb=tr[3];return(ta=tf*tg+tu*tv+tc*ty+tm*tb)<0&&(ta=-ta,tg=-tg,tv=-tv,ty=-ty,tb=-tb),1-ta>1e-6?(to=Math.sin(ts=Math.acos(ta)),th=Math.sin((1-tn)*ts)/to,tl=Math.sin(tn*ts)/to):(th=1-tn,tl=tn),tp[0]=th*tf+tl*tg,tp[1]=th*tu+tl*tv,tp[2]=th*tc+tl*ty,tp[3]=th*tm+tl*tb,tp}(ts(tu.s),ts(tE),(ti-tC)/(tS-tC)));else for(tk=0;tk<tA;tk+=1)1!==tu.h&&(ti>=tS?ty=1:ti<tC?ty=0:(tu.o.x.constructor===Array?(tm.__fnct||(tm.__fnct=[]),tm.__fnct[tk]?tw=tm.__fnct[tk]:(tn=void 0===tu.o.x[tk]?tu.o.x[0]:tu.o.x[tk],ta=void 0===tu.o.y[tk]?tu.o.y[0]:tu.o.y[tk],to=void 0===tu.i.x[tk]?tu.i.x[0]:tu.i.x[tk],th=void 0===tu.i.y[tk]?tu.i.y[0]:tu.i.y[tk],tw=BezierFactory.getBezierEasing(tn,ta,to,th).get,tm.__fnct[tk]=tw)):tm.__fnct?tw=tm.__fnct:(tn=tu.o.x,ta=tu.o.y,to=tu.i.x,th=tu.i.y,tw=BezierFactory.getBezierEasing(tn,ta,to,th).get,tu.keyframeMetadata=tw),ty=tw((ti-tC)/(tS-tC)))),tE=tc.s||tu.e,tl=1===tu.h?tu.s[tk]:tu.s[tk]+(tE[tk]-tu.s[tk])*ty,"multidimensional"===this.propType?tp[tk]=tl:tp=tl;return tr.lastIndex=tx,tp}function ts(ti){var tr=ti[0]*degToRads,tn=ti[1]*degToRads,ts=ti[2]*degToRads,ta=Math.cos(tr/2),to=Math.cos(tn/2),th=Math.cos(ts/2),tl=Math.sin(tr/2),tp=Math.sin(tn/2),tf=Math.sin(ts/2);return[tl*tp*th+ta*to*tf,tl*to*th+ta*tp*tf,ta*tp*th-tl*to*tf,ta*to*th-tl*tp*tf]}function ta(){var tr=this.comp.renderedFrame-this.offsetTime,tn=this.keyframes[0].t-this.offsetTime,ts=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(tr===this._caching.lastFrame||this._caching.lastFrame!==ti&&(this._caching.lastFrame>=ts&&tr>=ts||this._caching.lastFrame<tn&&tr<tn))){this._caching.lastFrame>=tr&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var ta=this.interpolateValue(tr,this._caching);this.pv=ta}return this._caching.lastFrame=tr,this.pv}function to(ti){var tn;if("unidimensional"===this.propType)tn=ti*this.mult,tr(this.v-tn)>1e-5&&(this.v=tn,this._mdf=!0);else for(var ts=0,ta=this.v.length;ts<ta;)tn=ti[ts]*this.mult,tr(this.v[ts]-tn)>1e-5&&(this.v[ts]=tn,this._mdf=!0),ts+=1}function th(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length){if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var ti,tr=this.effectsSequence.length,tn=this.kf?this.pv:this.data.k;for(ti=0;ti<tr;ti+=1)tn=this.effectsSequence[ti](tn);this.setVValue(tn),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}}function tl(ti){this.effectsSequence.push(ti),this.container.addDynamicProperty(this)}function tp(ti,tr,tn,ts){this.propType="unidimensional",this.mult=tn||1,this.data=tr,this.v=tn?tr.k*tn:tr.k,this.pv=tr.k,this._mdf=!1,this.elem=ti,this.container=ts,this.comp=ti.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=th,this.setVValue=to,this.addEffect=tl}function tf(ti,tr,tn,ts){this.propType="multidimensional",this.mult=tn||1,this.data=tr,this._mdf=!1,this.elem=ti,this.container=ts,this.comp=ti.comp,this.k=!1,this.kf=!1,this.frameId=-1;var ta,tp=tr.k.length;for(this.v=createTypedArray("float32",tp),this.pv=createTypedArray("float32",tp),this.vel=createTypedArray("float32",tp),ta=0;ta<tp;ta+=1)this.v[ta]=tr.k[ta]*this.mult,this.pv[ta]=tr.k[ta];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=th,this.setVValue=to,this.addEffect=tl}function tu(tr,ts,tp,tf){this.propType="unidimensional",this.keyframes=ts.k,this.keyframesMetadata=[],this.offsetTime=tr.data.st,this.frameId=-1,this._caching={lastFrame:ti,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=ts,this.mult=tp||1,this.elem=tr,this.container=tf,this.comp=tr.comp,this.v=ti,this.pv=ti,this._isFirstFrame=!0,this.getValue=th,this.setVValue=to,this.interpolateValue=tn,this.effectsSequence=[ta.bind(this)],this.addEffect=tl}function tc(tr,ts,tp,tf){this.propType="multidimensional";var tu,tc,tm,tg,tv,ty=ts.k.length;for(tu=0;tu<ty-1;
vendor: 2,694 bytes, line 62
62tu+=1)ts.k[tu].to&&ts.k[tu].s&&ts.k[tu+1]&&ts.k[tu+1].s&&(tc=ts.k[tu].s,tm=ts.k[tu+1].s,tg=ts.k[tu].to,tv=ts.k[tu].ti,(2===tc.length&&(tc[0]!==tm[0]||tc[1]!==tm[1])&&bez.pointOnLine2D(tc[0],tc[1],tm[0],tm[1],tc[0]+tg[0],tc[1]+tg[1])&&bez.pointOnLine2D(tc[0],tc[1],tm[0],tm[1],tm[0]+tv[0],tm[1]+tv[1])||3===tc.length&&(tc[0]!==tm[0]||tc[1]!==tm[1]||tc[2]!==tm[2])&&bez.pointOnLine3D(tc[0],tc[1],tc[2],tm[0],tm[1],tm[2],tc[0]+tg[0],tc[1]+tg[1],tc[2]+tg[2])&&bez.pointOnLine3D(tc[0],tc[1],tc[2],tm[0],tm[1],tm[2],tm[0]+tv[0],tm[1]+tv[1],tm[2]+tv[2]))&&(ts.k[tu].to=null,ts.k[tu].ti=null),tc[0]===tm[0]&&tc[1]===tm[1]&&0===tg[0]&&0===tg[1]&&0===tv[0]&&0===tv[1]&&(2===tc.length||tc[2]===tm[2]&&0===tg[2]&&0===tv[2])&&(ts.k[tu].to=null,ts.k[tu].ti=null));this.effectsSequence=[ta.bind(this)],this.data=ts,this.keyframes=ts.k,this.keyframesMetadata=[],this.offsetTime=tr.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=tp||1,this.elem=tr,this.container=tf,this.comp=tr.comp,this.getValue=th,this.setVValue=to,this.interpolateValue=tn,this.frameId=-1;var tb=ts.k[0].s.length;for(this.v=createTypedArray("float32",tb),this.pv=createTypedArray("float32",tb),tu=0;tu<tb;tu+=1)this.v[tu]=ti,this.pv[tu]=ti;this._caching={lastFrame:ti,lastIndex:0,value:createTypedArray("float32",tb)},this.addEffect=tl}return{getProp:function(ti,tr,tn,ts,ta){var to;if(tr.k.length){if("number"==typeof tr.k[0])to=new tf(ti,tr,ts,ta);else switch(tn){case 0:to=new tu(ti,tr,ts,ta);break;case 1:to=new tc(ti,tr,ts,ta)}}else to=new tp(ti,tr,ts,ta);return to.effectsSequence.length&&ta.addDynamicProperty(to),to}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(ti){-1===this.dynamicProperties.indexOf(ti)&&(this.dynamicProperties.push(ti),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var ti,tr=this.dynamicProperties.length;for(ti=0;ti<tr;ti+=1)this.dynamicProperties[ti].getValue(),this.dynamicProperties[ti]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(ti){this.container=ti,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,function(){return createTypedArray("float32",2)});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(ti,tr){this.c=ti,this.setLength(tr);for(var tn=0;tn<tr;)this.v[tn]=pointPool.newElement(),this.o[tn]=pointPool.newElement(),this.i[tn]=pointPool.newElement(),tn+=1},ShapePath.prototype.setLength=function(ti){for(;this._maxLength<ti;
vendor: 4,256 bytes, line 62
62)this.doubleArrayLength();this._length=ti},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(ti,tr,tn,ts,ta){var to;switch(this._length=Math.max(this._length,ts+1),this._length>=this._maxLength&&this.doubleArrayLength(),tn){case"v":to=this.v;break;case"i":to=this.i;break;case"o":to=this.o;break;default:to=[]}to[ts]&&(!to[ts]||ta)||(to[ts]=pointPool.newElement()),to[ts][0]=ti,to[ts][1]=tr},ShapePath.prototype.setTripleAt=function(ti,tr,tn,ts,ta,to,th,tl){this.setXYAt(ti,tr,"v",th,tl),this.setXYAt(tn,ts,"o",th,tl),this.setXYAt(ta,to,"i",th,tl)},ShapePath.prototype.reverse=function(){var ti=new ShapePath;ti.setPathData(this.c,this._length);var tr=this.v,tn=this.o,ts=this.i,ta=0;this.c&&(ti.setTripleAt(tr[0][0],tr[0][1],ts[0][0],ts[0][1],tn[0][0],tn[0][1],0,!1),ta=1);var to,th=this._length-1,tl=this._length;for(to=ta;to<tl;to+=1)ti.setTripleAt(tr[th][0],tr[th][1],ts[th][0],ts[th][1],tn[th][0],tn[th][1],to,!1),th-=1;return ti},ShapePath.prototype.length=function(){return this._length};var factory,shapePool=(factory=poolFactory(4,function(){return new ShapePath},function(ti){var tr,tn=ti._length;for(tr=0;tr<tn;tr+=1)pointPool.release(ti.v[tr]),pointPool.release(ti.i[tr]),pointPool.release(ti.o[tr]),ti.v[tr]=null,ti.i[tr]=null,ti.o[tr]=null;ti._length=0,ti.c=!1}),factory.clone=function(ti){var tr,tn=factory.newElement(),ts=void 0===ti._length?ti.v.length:ti._length;for(tn.setLength(ts),tn.c=ti.c,tr=0;tr<ts;tr+=1)tn.setTripleAt(ti.v[tr][0],ti.v[tr][1],ti.o[tr][0],ti.o[tr][1],ti.i[tr][0],ti.i[tr][1],tr);return tn},factory);function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(ti){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=ti,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var ti;for(ti=0;ti<this._length;ti+=1)shapePool.release(this.shapes[ti]);this._length=0};var ob,_length,_maxLength,pool,shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(ti){var tr,tn=ti._length;for(tr=0;tr<tn;tr+=1)shapePool.release(ti.shapes[tr]);ti._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=ti,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ShapePropertyFactory=function(){function ti(ti,tr,tn){var ts,ta,to,th,tl,tp,tf,tu,tc,tm=tn.lastIndex,tg=this.keyframes;if(ti<tg[0].t-this.offsetTime)ts=tg[0].s[0],to=!0,tm=0;else if(ti>=tg[tg.length-1].t-this.offsetTime)ts=tg[tg.length-1].s?tg[tg.length-1].s[0]:tg[tg.length-2].e[0],to=!0;else{for(var tv,ty,tb,t_,tw=tm,tx=tg.length-1,tk=!0;tk&&(ty=tg[tw],!((tb=tg[tw+1]).t-this.offsetTime>ti));)tw<tx-1?tw+=1:tk=!1;t_=this.keyframesMetadata[tw]||{},tm=tw,(to=1===ty.h)||(ti>=tb.t-this.offsetTime?tu=1:ti<ty.t-this.offsetTime?tu=0:(t_.__fnct?tv=t_.__fnct:(tv=BezierFactory.getBezierEasing(ty.o.x,ty.o.y,ty.i.x,ty.i.y).get,t_.__fnct=tv),tu=tv((ti-(ty.t-this.offsetTime))/(tb.t-this.offsetTime-(ty.t-this.offsetTime)))),ta=tb.s?tb.s[0]:ty.e[0]),ts=ty.s[0]}for(tp=tr._length,tf=ts.i[0].length,tn.lastIndex=tm,th=0;th<tp;th+=1)for(tl=0;tl<tf;tl+=1)tc=to?ts.i[th][tl]:ts.i[th][tl]+(ta.i[th][tl]-ts.i[th][tl])*tu,tr.i[th][tl]=tc,tc=to?ts.o[th][tl]:ts.o[th][tl]+(ta.o[th][tl]-ts.o[th][tl])*tu,tr.o[th][tl]=tc,tc=to?ts.v[th][tl]:ts.v[th][tl]+(ta.v[th][tl]-ts.v[th][tl])*tu,tr.v[th][tl]=tc}function tr(){var ti=this.comp.renderedFrame-this.offsetTime,tr=this.keyframes[0].t-this.offsetTime,tn=this.keyframes[this.keyframes.length-1].t-this.offsetTime,ts=this._caching.lastFrame;return -999999!==ts&&(ts<tr&&ti<tr||ts>tn&&ti>tn)||(this._caching.lastIndex=ts<ti?this._caching.lastIndex:0,this.interpolateShape(ti,this.pv,this._caching)),this._caching.lastFrame=ti,this.pv}function tn(){this.paths=this.localShapeCollection}function ts(ti){(function(ti,tr){if(ti._length!==tr._length||ti.c!==tr.c)return!1;var tn,ts=ti._length;for(tn=0;tn<ts;
vendor: 10,277 bytes, line 62
62tn+=1)if(ti.v[tn][0]!==tr.v[tn][0]||ti.v[tn][1]!==tr.v[tn][1]||ti.o[tn][0]!==tr.o[tn][0]||ti.o[tn][1]!==tr.o[tn][1]||ti.i[tn][0]!==tr.i[tn][0]||ti.i[tn][1]!==tr.i[tn][1])return!1;return!0})(this.v,ti)||(this.v=shapePool.clone(ti),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function ta(){if(this.elem.globalData.frameId!==this.frameId){if(this.effectsSequence.length){if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1,ti=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var ti,tr,tn=this.effectsSequence.length;for(tr=0;tr<tn;tr+=1)ti=this.effectsSequence[tr](ti);this.setVValue(ti),this.lock=!1,this.frameId=this.elem.globalData.frameId}}else this._mdf=!1}}function to(ti,tr,ts){this.propType="shape",this.comp=ti.comp,this.container=ti,this.elem=ti,this.data=tr,this.k=!1,this.kf=!1,this._mdf=!1;var ta=3===ts?tr.pt.k:tr.ks.k;this.v=shapePool.clone(ta),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=tn,this.effectsSequence=[]}function th(ti){this.effectsSequence.push(ti),this.container.addDynamicProperty(this)}function tl(ti,ts,ta){this.propType="shape",this.comp=ti.comp,this.elem=ti,this.container=ti,this.offsetTime=ti.data.st,this.keyframes=3===ta?ts.pt.k:ts.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var to=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,to),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=tn,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[tr.bind(this)]}to.prototype.interpolateShape=ti,to.prototype.getValue=ta,to.prototype.setVValue=ts,to.prototype.addEffect=th,tl.prototype.getValue=ta,tl.prototype.interpolateShape=ti,tl.prototype.setVValue=ts,tl.prototype.addEffect=th;var tp=function(){var ti=roundCorner;function tr(ti,tr){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=tr.d,this.elem=ti,this.comp=ti.comp,this.frameId=-1,this.initDynamicPropertyContainer(ti),this.p=PropertyFactory.getProp(ti,tr.p,1,0,this),this.s=PropertyFactory.getProp(ti,tr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return tr.prototype={reset:tn,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var tr=this.p.v[0],tn=this.p.v[1],ts=this.s.v[0]/2,ta=this.s.v[1]/2,to=3!==this.d,th=this.v;th.v[0][0]=tr,th.v[0][1]=tn-ta,th.v[1][0]=to?tr+ts:tr-ts,th.v[1][1]=tn,th.v[2][0]=tr,th.v[2][1]=tn+ta,th.v[3][0]=to?tr-ts:tr+ts,th.v[3][1]=tn,th.i[0][0]=to?tr-ts*ti:tr+ts*ti,th.i[0][1]=tn-ta,th.i[1][0]=to?tr+ts:tr-ts,th.i[1][1]=tn-ta*ti,th.i[2][0]=to?tr+ts*ti:tr-ts*ti,th.i[2][1]=tn+ta,th.i[3][0]=to?tr-ts:tr+ts,th.i[3][1]=tn+ta*ti,th.o[0][0]=to?tr+ts*ti:tr-ts*ti,th.o[0][1]=tn-ta,th.o[1][0]=to?tr+ts:tr-ts,th.o[1][1]=tn+ta*ti,th.o[2][0]=to?tr-ts*ti:tr+ts*ti,th.o[2][1]=tn+ta,th.o[3][0]=to?tr-ts:tr+ts,th.o[3][1]=tn-ta*ti}},extendPrototype([DynamicPropertyContainer],tr),tr}(),tf=function(){function ti(ti,tr){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=ti,this.comp=ti.comp,this.data=tr,this.frameId=-1,this.d=tr.d,this.initDynamicPropertyContainer(ti),1===tr.sy?(this.ir=PropertyFactory.getProp(ti,tr.ir,0,0,this),this.is=PropertyFactory.getProp(ti,tr.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(ti,tr.pt,0,0,this),this.p=PropertyFactory.getProp(ti,tr.p,1,0,this),this.r=PropertyFactory.getProp(ti,tr.r,0,degToRads,this),this.or=PropertyFactory.getProp(ti,tr.or,0,0,this),this.os=PropertyFactory.getProp(ti,tr.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 ti.prototype={reset:tn,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var ti,tr,tn,ts,ta=2*Math.floor(this.pt.v),to=2*Math.PI/ta,th=!0,tl=this.or.v,tp=this.ir.v,tf=this.os.v,tu=this.is.v,tc=2*Math.PI*tl/(2*ta),tm=2*Math.PI*tp/(2*ta),tg=-Math.PI/2;tg+=this.r.v;var tv=3===this.data.d?-1:1;for(this.v._length=0,ti=0;ti<ta;ti+=1){tn=th?tf:tu,ts=th?tc:tm;var ty=(tr=th?tl:tp)*Math.cos(tg),tb=tr*Math.sin(tg),t_=0===ty&&0===tb?0:tb/Math.sqrt(ty*ty+tb*tb),tw=0===ty&&0===tb?0:-ty/Math.sqrt(ty*ty+tb*tb);ty+=+this.p.v[0],tb+=+this.p.v[1],this.v.setTripleAt(ty,tb,ty-t_*ts*tn*tv,tb-tw*ts*tn*tv,ty+t_*ts*tn*tv,tb+tw*ts*tn*tv,ti,!0),th=!th,tg+=to*tv}},convertPolygonToPath:function(){var ti,tr=Math.floor(this.pt.v),tn=2*Math.PI/tr,ts=this.or.v,ta=this.os.v,to=2*Math.PI*ts/(4*tr),th=-(.5*Math.PI),tl=3===this.data.d?-1:1;for(th+=this.r.v,this.v._length=0,ti=0;ti<tr;ti+=1){var tp=ts*Math.cos(th),tf=ts*Math.sin(th),tu=0===tp&&0===tf?0:tf/Math.sqrt(tp*tp+tf*tf),tc=0===tp&&0===tf?0:-tp/Math.sqrt(tp*tp+tf*tf);tp+=+this.p.v[0],tf+=+this.p.v[1],this.v.setTripleAt(tp,tf,tp-tu*to*ta*tl,tf-tc*to*ta*tl,tp+tu*to*ta*tl,tf+tc*to*ta*tl,ti,!0),th+=tn*tl}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],ti),ti}(),tu=function(){function ti(ti,tr){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=ti,this.comp=ti.comp,this.frameId=-1,this.d=tr.d,this.initDynamicPropertyContainer(ti),this.p=PropertyFactory.getProp(ti,tr.p,1,0,this),this.s=PropertyFactory.getProp(ti,tr.s,1,0,this),this.r=PropertyFactory.getProp(ti,tr.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return ti.prototype={convertRectToPath:function(){var ti=this.p.v[0],tr=this.p.v[1],tn=this.s.v[0]/2,ts=this.s.v[1]/2,ta=bmMin(tn,ts,this.r.v),to=ta*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(ti+tn,tr-ts+ta,ti+tn,tr-ts+ta,ti+tn,tr-ts+to,0,!0),this.v.setTripleAt(ti+tn,tr+ts-ta,ti+tn,tr+ts-to,ti+tn,tr+ts-ta,1,!0),0!==ta?(this.v.setTripleAt(ti+tn-ta,tr+ts,ti+tn-ta,tr+ts,ti+tn-to,tr+ts,2,!0),this.v.setTripleAt(ti-tn+ta,tr+ts,ti-tn+to,tr+ts,ti-tn+ta,tr+ts,3,!0),this.v.setTripleAt(ti-tn,tr+ts-ta,ti-tn,tr+ts-ta,ti-tn,tr+ts-to,4,!0),this.v.setTripleAt(ti-tn,tr-ts+ta,ti-tn,tr-ts+to,ti-tn,tr-ts+ta,5,!0),this.v.setTripleAt(ti-tn+ta,tr-ts,ti-tn+ta,tr-ts,ti-tn+to,tr-ts,6,!0),this.v.setTripleAt(ti+tn-ta,tr-ts,ti+tn-to,tr-ts,ti+tn-ta,tr-ts,7,!0)):(this.v.setTripleAt(ti-tn,tr+ts,ti-tn+to,tr+ts,ti-tn,tr+ts,2),this.v.setTripleAt(ti-tn,tr-ts,ti-tn,tr-ts+to,ti-tn,tr-ts,3))):(this.v.setTripleAt(ti+tn,tr-ts+ta,ti+tn,tr-ts+to,ti+tn,tr-ts+ta,0,!0),0!==ta?(this.v.setTripleAt(ti+tn-ta,tr-ts,ti+tn-ta,tr-ts,ti+tn-to,tr-ts,1,!0),this.v.setTripleAt(ti-tn+ta,tr-ts,ti-tn+to,tr-ts,ti-tn+ta,tr-ts,2,!0),this.v.setTripleAt(ti-tn,tr-ts+ta,ti-tn,tr-ts+ta,ti-tn,tr-ts+to,3,!0),this.v.setTripleAt(ti-tn,tr+ts-ta,ti-tn,tr+ts-to,ti-tn,tr+ts-ta,4,!0),this.v.setTripleAt(ti-tn+ta,tr+ts,ti-tn+ta,tr+ts,ti-tn+to,tr+ts,5,!0),this.v.setTripleAt(ti+tn-ta,tr+ts,ti+tn-to,tr+ts,ti+tn-ta,tr+ts,6,!0),this.v.setTripleAt(ti+tn,tr+ts-ta,ti+tn,tr+ts-ta,ti+tn,tr+ts-to,7,!0)):(this.v.setTripleAt(ti-tn,tr-ts,ti-tn+to,tr-ts,ti-tn,tr-ts,1,!0),this.v.setTripleAt(ti-tn,tr+ts,ti-tn,tr+ts-to,ti-tn,tr+ts,2,!0),this.v.setTripleAt(ti+tn,tr+ts,ti+tn-to,tr+ts,ti+tn,tr+ts,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:tn},extendPrototype([DynamicPropertyContainer],ti),ti}();return{getShapeProp:function(ti,tr,tn){var ts;return 3===tn||4===tn?ts=(3===tn?tr.pt:tr.ks).k.length?new tl(ti,tr,tn):new to(ti,tr,tn):5===tn?ts=new tu(ti,tr):6===tn?ts=new tp(ti,tr):7===tn&&(ts=new tf(ti,tr)),ts.k&&ti.addDynamicProperty(ts),ts},getConstructorFunction:function(){return to},getKeyframedConstructorFunction:function(){return tl}}}(),Matrix=function(){var ti=Math.cos,tr=Math.sin,tn=Math.tan,ts=Math.round;function ta(){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 to(tn){if(0===tn)return this;var ts=ti(tn),ta=tr(tn);return this._t(ts,-ta,0,0,ta,ts,0,0,0,0,1,0,0,0,0,1)}function th(tn){if(0===tn)return this;var ts=ti(tn),ta=tr(tn);return this._t(1,0,0,0,0,ts,-ta,0,0,ta,ts,0,0,0,0,1)}function tl(tn){if(0===tn)return this;var ts=ti(tn),ta=tr(tn);return this._t(ts,0,ta,0,0,1,0,0,-ta,0,ts,0,0,0,0,1)}function tp(tn){if(0===tn)return this;var ts=ti(tn),ta=tr(tn);return this._t(ts,-ta,0,0,ta,ts,0,0,0,0,1,0,0,0,0,1)}function tf(ti,tr){return this._t(1,tr,ti,1,0,0)}function tu(ti,tr){return this.shear(tn(ti),tn(tr))}function tc(ts,ta){var to=ti(ta),th=tr(ta);return this._t(to,th,0,0,-th,to,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,tn(ts),1,0,0,0,0,1,0,0,0,0,1)._t(to,-th,0,0,th,to,0,0,0,0,1,0,0,0,0,1)}function tm(ti,tr,tn){return tn||0===tn||(tn=1),1===ti&&1===tr&&1===tn?this:this._t(ti,0,0,0,0,tr,0,0,0,0,tn,0,0,0,0,1)}function tg(ti,tr,tn,ts,ta,to,th,tl,tp,tf,tu,tc,tm,tg,tv,ty){return this.props[0]=ti,this.props[1]=tr,this.props[2]=tn,this.props[3]=ts,this.props[4]=ta,this.props[5]=to,this.props[6]=th,this.props[7]=tl,this.props[8]=tp,this.props[9]=tf,this.props[10]=tu,this.props[11]=tc,this.props[12]=tm,this.props[13]=tg,this.props[14]=tv,this.props[15]=ty,this}function tv(ti,tr,tn){return tn=tn||0,0!==ti||0!==tr||0!==tn?this._t(1,0,0,0,0,1,0,0,0,0,1,0,ti,tr,tn,1):this}
vendor: 9,089 bytes, line 62
62function ty(ti,tr,tn,ts,ta,to,th,tl,tp,tf,tu,tc,tm,tg,tv,ty){var tb=this.props;if(1===ti&&0===tr&&0===tn&&0===ts&&0===ta&&1===to&&0===th&&0===tl&&0===tp&&0===tf&&1===tu&&0===tc)return tb[12]=tb[12]*ti+tb[15]*tm,tb[13]=tb[13]*to+tb[15]*tg,tb[14]=tb[14]*tu+tb[15]*tv,tb[15]*=ty,this._identityCalculated=!1,this;var t_=tb[0],tw=tb[1],tx=tb[2],tk=tb[3],tA=tb[4],tP=tb[5],tE=tb[6],tS=tb[7],tC=tb[8],tD=tb[9],tT=tb[10],tM=tb[11],tF=tb[12],tI=tb[13],tO=tb[14],tL=tb[15];return tb[0]=t_*ti+tw*ta+tx*tp+tk*tm,tb[1]=t_*tr+tw*to+tx*tf+tk*tg,tb[2]=t_*tn+tw*th+tx*tu+tk*tv,tb[3]=t_*ts+tw*tl+tx*tc+tk*ty,tb[4]=tA*ti+tP*ta+tE*tp+tS*tm,tb[5]=tA*tr+tP*to+tE*tf+tS*tg,tb[6]=tA*tn+tP*th+tE*tu+tS*tv,tb[7]=tA*ts+tP*tl+tE*tc+tS*ty,tb[8]=tC*ti+tD*ta+tT*tp+tM*tm,tb[9]=tC*tr+tD*to+tT*tf+tM*tg,tb[10]=tC*tn+tD*th+tT*tu+tM*tv,tb[11]=tC*ts+tD*tl+tT*tc+tM*ty,tb[12]=tF*ti+tI*ta+tO*tp+tL*tm,tb[13]=tF*tr+tI*to+tO*tf+tL*tg,tb[14]=tF*tn+tI*th+tO*tu+tL*tv,tb[15]=tF*ts+tI*tl+tO*tc+tL*ty,this._identityCalculated=!1,this}function tb(){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 t_(ti){for(var tr=0;tr<16;){if(ti.props[tr]!==this.props[tr])return!1;tr+=1}return!0}function tw(ti){var tr;for(tr=0;tr<16;tr+=1)ti.props[tr]=this.props[tr];return ti}function tx(ti){var tr;for(tr=0;tr<16;tr+=1)this.props[tr]=ti[tr]}function tk(ti,tr,tn){return{x:ti*this.props[0]+tr*this.props[4]+tn*this.props[8]+this.props[12],y:ti*this.props[1]+tr*this.props[5]+tn*this.props[9]+this.props[13],z:ti*this.props[2]+tr*this.props[6]+tn*this.props[10]+this.props[14]}}function tA(ti,tr,tn){return ti*this.props[0]+tr*this.props[4]+tn*this.props[8]+this.props[12]}function tP(ti,tr,tn){return ti*this.props[1]+tr*this.props[5]+tn*this.props[9]+this.props[13]}function tE(ti,tr,tn){return ti*this.props[2]+tr*this.props[6]+tn*this.props[10]+this.props[14]}function tS(){var ti=this.props[0]*this.props[5]-this.props[1]*this.props[4],tr=this.props[5]/ti,tn=-this.props[1]/ti,ts=-this.props[4]/ti,ta=this.props[0]/ti,to=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/ti,th=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/ti,tl=new Matrix;return tl.props[0]=tr,tl.props[1]=tn,tl.props[4]=ts,tl.props[5]=ta,tl.props[12]=to,tl.props[13]=th,tl}function tC(ti){return this.getInverseMatrix().applyToPointArray(ti[0],ti[1],ti[2]||0)}function tD(ti){var tr,tn=ti.length,ts=[];for(tr=0;tr<tn;tr+=1)ts[tr]=tC(ti[tr]);return ts}function tT(ti,tr,tn){var ts=createTypedArray("float32",6);if(this.isIdentity())ts[0]=ti[0],ts[1]=ti[1],ts[2]=tr[0],ts[3]=tr[1],ts[4]=tn[0],ts[5]=tn[1];else{var ta=this.props[0],to=this.props[1],th=this.props[4],tl=this.props[5],tp=this.props[12],tf=this.props[13];ts[0]=ti[0]*ta+ti[1]*th+tp,ts[1]=ti[0]*to+ti[1]*tl+tf,ts[2]=tr[0]*ta+tr[1]*th+tp,ts[3]=tr[0]*to+tr[1]*tl+tf,ts[4]=tn[0]*ta+tn[1]*th+tp,ts[5]=tn[0]*to+tn[1]*tl+tf}return ts}function tM(ti,tr,tn){return this.isIdentity()?[ti,tr,tn]:[ti*this.props[0]+tr*this.props[4]+tn*this.props[8]+this.props[12],ti*this.props[1]+tr*this.props[5]+tn*this.props[9]+this.props[13],ti*this.props[2]+tr*this.props[6]+tn*this.props[10]+this.props[14]]}function tF(ti,tr){if(this.isIdentity())return ti+","+tr;var tn=this.props;return Math.round(100*(ti*tn[0]+tr*tn[4]+tn[12]))/100+","+Math.round(100*(ti*tn[1]+tr*tn[5]+tn[13]))/100}function tI(){for(var ti=0,tr=this.props,tn="matrix3d(";ti<16;)tn+=ts(1e4*tr[ti])/1e4+(15===ti?")":","),ti+=1;return tn}function tO(ti){return ti<1e-6&&ti>0||ti>-.000001&&ti<0?ts(1e4*ti)/1e4:ti}function tL(){var ti=this.props;return"matrix("+tO(ti[0])+","+tO(ti[1])+","+tO(ti[4])+","+tO(ti[5])+","+tO(ti[12])+","+tO(ti[13])+")"}return function(){this.reset=ta,this.rotate=to,this.rotateX=th,this.rotateY=tl,this.rotateZ=tp,this.skew=tu,this.skewFromAxis=tc,this.shear=tf,this.scale=tm,this.setTransform=tg,this.translate=tv,this.transform=ty,this.applyToPoint=tk,this.applyToX=tA,this.applyToY=tP,this.applyToZ=tE,this.applyToPointArray=tM,this.applyToTriplePoints=tT,this.applyToPointStringified=tF,this.toCSS=tI,this.to2dCSS=tL,this.clone=tw,this.cloneFromProps=tx,this.equals=t_,this.inversePoints=tD,this.inversePoint=tC,this.getInverseMatrix=tS,this._t=this.transform,this.isIdentity=tb,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(ti){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(ti){setLocationHref(ti)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(ti){setSubframeEnabled(ti)}function setPrefix(ti){setIdPrefix(ti)}function loadAnimation(ti){return!0===standalone&&(ti.animationData=JSON.parse(animationData)),animationManager.loadAnimation(ti)}function setQuality(ti){if("string"==typeof ti)switch(ti){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(ti)&&ti>1&&setDefaultCurveSegments(ti);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(ti,tr){"expressions"===ti&&setExpressionsPlugin(tr)}function getFactory(ti){switch(ti){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(ti){for(var tr=queryString.split("&"),tn=0;tn<tr.length;tn+=1){var ts=tr[tn].split("=");if(decodeURIComponent(ts[0])==ti)return decodeURIComponent(ts[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,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.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.10.0";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var ti={},tr={};return ti.registerModifier=function(ti,tn){tr[ti]||(tr[ti]=tn)},ti.getModifier=function(ti,tn,ts){return new tr[ti](tn,ts)},ti}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(ti){if(!this.closed){ti.sh.container.addDynamicProperty(ti.sh);var tr={shape:ti.sh,data:ti,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(tr),this.addShapeToModifier(tr),this._isAnimated&&ti.setAsAnimated()}},ShapeModifier.prototype.init=function(ti,tr){this.shapes=[],this.elem=ti,this.initDynamicPropertyContainer(ti),this.initModifierProperties(ti,tr),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(ti,tr){this.s=PropertyFactory.getProp(ti,tr.s,0,.01,this),this.e=Pro
vendor: 35,360 bytes, line 62
62pertyFactory.getProp(ti,tr.e,0,.01,this),this.o=PropertyFactory.getProp(ti,tr.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=tr.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(ti){ti.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(ti,tr,tn,ts,ta){var to=[];tr<=1?to.push({s:ti,e:tr}):ti>=1?to.push({s:ti-1,e:tr-1}):(to.push({s:ti,e:1}),to.push({s:0,e:tr-1}));var th,tl,tp=[],tf=to.length;for(th=0;th<tf;th+=1)(tl=to[th]).e*ta<ts||tl.s*ta>ts+tn||tp.push([tl.s*ta<=ts?0:(tl.s*ta-ts)/tn,tl.e*ta>=ts+tn?1:(tl.e*ta-ts)/tn]);return tp.length||tp.push([0,0]),tp},TrimModifier.prototype.releasePathsData=function(ti){var tr,tn=ti.length;for(tr=0;tr<tn;tr+=1)segmentsLengthPool.release(ti[tr]);return ti.length=0,ti},TrimModifier.prototype.processShapes=function(ti){if(this._mdf||ti){var tr=this.o.v%360/360;if(tr<0&&(tr+=1),(ts=this.s.v>1?1+tr:this.s.v<0?0+tr:this.s.v+tr)>(ta=this.e.v>1?1+tr:this.e.v<0?0+tr:this.e.v+tr)){var tn=ts;ts=ta,ta=tn}ts=1e-4*Math.round(1e4*ts),ta=1e-4*Math.round(1e4*ta),this.sValue=ts,this.eValue=ta}else ts=this.sValue,ta=this.eValue;var ts,ta,to,th,tl,tp,tf,tu,tc,tm=this.shapes.length,tg=0;if(ta===ts)for(th=0;th<tm;th+=1)this.shapes[th].localShapeCollection.releaseShapes(),this.shapes[th].shape._mdf=!0,this.shapes[th].shape.paths=this.shapes[th].localShapeCollection,this._mdf&&(this.shapes[th].pathsData.length=0);else if(1===ta&&0===ts||0===ta&&1===ts){if(this._mdf)for(th=0;th<tm;th+=1)this.shapes[th].pathsData.length=0,this.shapes[th].shape._mdf=!0}else{var tv,ty,tb=[];for(th=0;th<tm;th+=1)if((tv=this.shapes[th]).shape._mdf||this._mdf||ti||2===this.m){if(tp=(to=tv.shape.paths)._length,tc=0,!tv.shape._mdf&&tv.pathsData.length)tc=tv.totalShapeLength;else{for(tf=this.releasePathsData(tv.pathsData),tl=0;tl<tp;tl+=1)tu=bez.getSegmentsLength(to.shapes[tl]),tf.push(tu),tc+=tu.totalLength;tv.totalShapeLength=tc,tv.pathsData=tf}tg+=tc,tv.shape._mdf=!0}else tv.shape.paths=tv.localShapeCollection;var t_,tw=ts,tx=ta,tk=0;for(th=tm-1;th>=0;th-=1)if((tv=this.shapes[th]).shape._mdf){for((ty=tv.localShapeCollection).releaseShapes(),2===this.m&&tm>1?(t_=this.calculateShapeEdges(ts,ta,tv.totalShapeLength,tk,tg),tk+=tv.totalShapeLength):t_=[[tw,tx]],tp=t_.length,tl=0;tl<tp;tl+=1){tw=t_[tl][0],tx=t_[tl][1],tb.length=0,tx<=1?tb.push({s:tv.totalShapeLength*tw,e:tv.totalShapeLength*tx}):tw>=1?tb.push({s:tv.totalShapeLength*(tw-1),e:tv.totalShapeLength*(tx-1)}):(tb.push({s:tv.totalShapeLength*tw,e:tv.totalShapeLength}),tb.push({s:0,e:tv.totalShapeLength*(tx-1)}));var tA=this.addShapes(tv,tb[0]);if(tb[0].s!==tb[0].e){if(tb.length>1){if(tv.shape.paths.shapes[tv.shape.paths._length-1].c){var tP=tA.pop();this.addPaths(tA,ty),tA=this.addShapes(tv,tb[1],tP)}else this.addPaths(tA,ty),tA=this.addShapes(tv,tb[1])}this.addPaths(tA,ty)}}tv.shape.paths=ty}}},TrimModifier.prototype.addPaths=function(ti,tr){var tn,ts=ti.length;for(tn=0;tn<ts;tn+=1)tr.addShape(ti[tn])},TrimModifier.prototype.addSegment=function(ti,tr,tn,ts,ta,to,th){ta.setXYAt(tr[0],tr[1],"o",to),ta.setXYAt(tn[0],tn[1],"i",to+1),th&&ta.setXYAt(ti[0],ti[1],"v",to),ta.setXYAt(ts[0],ts[1],"v",to+1)},TrimModifier.prototype.addSegmentFromArray=function(ti,tr,tn,ts){tr.setXYAt(ti[1],ti[5],"o",tn),tr.setXYAt(ti[2],ti[6],"i",tn+1),ts&&tr.setXYAt(ti[0],ti[4],"v",tn),tr.setXYAt(ti[3],ti[7],"v",tn+1)},TrimModifier.prototype.addShapes=function(ti,tr,tn){var ts,ta,to,th,tl,tp,tf,tu,tc=ti.pathsData,tm=ti.shape.paths.shapes,tg=ti.shape.paths._length,tv=0,ty=[],tb=!0;for(tn?(tl=tn._length,tu=tn._length):(tn=shapePool.newElement(),tl=0,tu=0),ty.push(tn),ts=0;ts<tg;ts+=1){for(tp=tc[ts].lengths,tn.c=tm[ts].c,to=tm[ts].c?tp.length:tp.length+1,ta=1;ta<to;ta+=1)if(tv+(th=tp[ta-1]).addedLength<tr.s)tv+=th.addedLength,tn.c=!1;else{if(tv>tr.e){tn.c=!1;break}tr.s<=tv&&tr.e>=tv+th.addedLength?(this.addSegment(tm[ts].v[ta-1],tm[ts].o[ta-1],tm[ts].i[ta],tm[ts].v[ta],tn,tl,tb),tb=!1):(tf=bez.getNewSegment(tm[ts].v[ta-1],tm[ts].v[ta],tm[ts].o[ta-1],tm[ts].i[ta],(tr.s-tv)/th.addedLength,(tr.e-tv)/th.addedLength,tp[ta-1]),this.addSegmentFromArray(tf,tn,tl,tb),tb=!1,tn.c=!1),tv+=th.addedLength,tl+=1}if(tm[ts].c&&tp.length){if(th=tp[ta-1],tv<=tr.e){var t_=tp[ta-1].addedLength;tr.s<=tv&&tr.e>=tv+t_?(this.addSegment(tm[ts].v[ta-1],tm[ts].o[ta-1],tm[ts].i[0],tm[ts].v[0],tn,tl,tb),tb=!1):(tf=bez.getNewSegment(tm[ts].v[ta-1],tm[ts].v[0],tm[ts].o[ta-1],tm[ts].i[0],(tr.s-tv)/t_,(tr.e-tv)/t_,tp[ta-1]),this.addSegmentFromArray(tf,tn,tl,tb),tb=!1,tn.c=!1)}else tn.c=!1;tv+=th.addedLength,tl+=1}if(tn._length&&(tn.setXYAt(tn.v[tu][0],tn.v[tu][1],"i",tu),tn.setXYAt(tn.v[tn._length-1][0],tn.v[tn._length-1][1],"o",tn._length-1)),tv>tr.e)break;ts<tg-1&&(tn=shapePool.newElement(),tb=!0,ty.push(tn),tl=0)}return ty},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(ti,tr){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(ti,tr.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(ti,tr){var tn=tr/100,ts=[0,0],ta=ti._length,to=0;for(to=0;to<ta;to+=1)ts[0]+=ti.v[to][0],ts[1]+=ti.v[to][1];ts[0]/=ta,ts[1]/=ta;var th,tl,tp,tf,tu,tc,tm=shapePool.newElement();for(tm.c=ti.c,to=0;to<ta;to+=1)th=ti.v[to][0]+(ts[0]-ti.v[to][0])*tn,tl=ti.v[to][1]+(ts[1]-ti.v[to][1])*tn,tp=ti.o[to][0]+-((ts[0]-ti.o[to][0])*tn),tf=ti.o[to][1]+-((ts[1]-ti.o[to][1])*tn),tu=ti.i[to][0]+-((ts[0]-ti.i[to][0])*tn),tc=ti.i[to][1]+-((ts[1]-ti.i[to][1])*tn),tm.setTripleAt(th,tl,tp,tf,tu,tc,to);return tm},PuckerAndBloatModifier.prototype.processShapes=function(ti){var tr,tn,ts,ta,to,th,tl=this.shapes.length,tp=this.amount.v;if(0!==tp)for(tn=0;tn<tl;tn+=1){if(th=(to=this.shapes[tn]).localShapeCollection,to.shape._mdf||this._mdf||ti)for(th.releaseShapes(),to.shape._mdf=!0,tr=to.shape.paths.shapes,ta=to.shape.paths._length,ts=0;ts<ta;ts+=1)th.addShape(this.processPath(tr[ts],tp));to.shape.paths=to.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var ti=[0,0];function tr(ti,tr,tn){if(this.elem=ti,this.frameId=-1,this.propType="transform",this.data=tr,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(tn||ti),tr.p&&tr.p.s?(this.px=PropertyFactory.getProp(ti,tr.p.x,0,0,this),this.py=PropertyFactory.getProp(ti,tr.p.y,0,0,this),tr.p.z&&(this.pz=PropertyFactory.getProp(ti,tr.p.z,0,0,this))):this.p=PropertyFactory.getProp(ti,tr.p||{k:[0,0,0]},1,0,this),tr.rx){if(this.rx=PropertyFactory.getProp(ti,tr.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(ti,tr.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(ti,tr.rz,0,degToRads,this),tr.or.k[0].ti){var ts,ta=tr.or.k.length;for(ts=0;ts<ta;ts+=1)tr.or.k[ts].to=null,tr.or.k[ts].ti=null}this.or=PropertyFactory.getProp(ti,tr.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(ti,tr.r||{k:0},0,degToRads,this);tr.sk&&(this.sk=PropertyFactory.getProp(ti,tr.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(ti,tr.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(ti,tr.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(ti,tr.s||{k:[100,100,100]},1,.01,this),tr.o?this.o=PropertyFactory.getProp(ti,tr.o,0,.01,ti):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return tr.prototype={applyToMatrix:function(ti){var tr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||tr,this.a&&ti.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&ti.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&ti.skewFromAxis(-this.sk.v,this.sa.v),this.r?ti.rotate(-this.r.v):ti.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?ti.translate(this.px.v,this.py.v,-this.pz.v):ti.translate(this.px.v,this.py.v,0):ti.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(tr){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||tr){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){if(tn=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(ts=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/tn,0),ta=this.p.getValueAtTime(this.p.keyframes[0].t/tn,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(ts=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/tn,0),ta=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/tn,0)):(ts=this.p.pv,ta=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/tn,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){ts=[],ta=[];var tn,ts,ta,to=this.px,th=this.py;to._caching.lastFrame+to.offsetTime<=to.keyframes[0].t?(ts[0]=to.getValueAtTime((to.keyframes[0].t+.01)/tn,0),ts[1]=th.getValueAtTime((th.keyframes[0].t+.01)/tn,0),ta[0]=to.getValueAtTime(to.keyframes[0].t/tn,0),ta[1]=th.getValueAtTime(th.keyframes[0].t/tn,0)):to._caching.lastFrame+to.offsetTime>=to.keyframes[to.keyframes.length-1].t?(ts[0]=to.getValueAtTime(to.keyframes[to.keyframes.length-1].t/tn,0),ts[1]=th.getValueAtTime(th.keyframes[th.keyframes.length-1].t/tn,0),ta[0]=to.getValueAtTime((to.keyframes[to.keyframes.length-1].t-.01)/tn,0),ta[1]=th.getValueAtTime((th.keyframes[th.keyframes.length-1].t-.01)/tn,0)):(ts=[to.pv,th.pv],ta[0]=to.getValueAtTime((to._caching.lastFrame+to.offsetTime-.01)/tn,to.offsetTime),ta[1]=th.getValueAtTime((th._caching.lastFrame+th.offsetTime-.01)/tn,th.offsetTime))}else ts=ta=ti;this.v.rotate(-Math.atan2(ts[1]-ta[1],ts[0]-ta[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],tr),tr.prototype.addDynamicProperty=function(ti){this._addDynamicProperty(ti),this.elem.addDynamicProperty(ti),this._isDirty=!0},tr.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(ti,tn,ts){return new tr(ti,tn,ts)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(ti,tr){return 1e5*Math.abs(ti-tr)<=Math.min(Math.abs(ti),Math.abs(tr))}function floatZero(ti){return 1e-5>=Math.abs(ti)}function lerp(ti,tr,tn){return ti*(1-tn)+tr*tn}function lerpPoint(ti,tr,tn){return[lerp(ti[0],tr[0],tn),lerp(ti[1],tr[1],tn)]}function quadRoots(ti,tr,tn){if(0===ti)return[];var ts=tr*tr-4*ti*tn;if(ts<0)return[];var ta=-tr/(2*ti);if(0===ts)return[ta];var to=Math.sqrt(ts)/(2*ti);return[ta-to,ta+to]}function polynomialCoefficients(ti,tr,tn,ts){return[3*tr-ti-3*tn+ts,3*ti-6*tr+3*tn,-3*ti+3*tr,ti]}function singlePoint(ti){return new PolynomialBezier(ti,ti,ti,ti,!1)}function PolynomialBezier(ti,tr,tn,ts,ta){ta&&pointEqual(ti,tr)&&(tr=lerpPoint(ti,ts,1/3)),ta&&pointEqual(tn,ts)&&(tn=lerpPoint(ti,ts,2/3));var to=polynomialCoefficients(ti[0],tr[0],tn[0],ts[0]),th=polynomialCoefficients(ti[1],tr[1],tn[1],ts[1]);this.a=[to[0],th[0]],this.b=[to[1],th[1]],this.c=[to[2],th[2]],this.d=[to[3],th[3]],this.points=[ti,tr,tn,ts]}function extrema(ti,tr){var tn=ti.points[0][tr],ts=ti.points[ti.points.length-1][tr];if(tn>ts){var ta=ts;ts=tn,tn=ta}for(var to=quadRoots(3*ti.a[tr],2*ti.b[tr],ti.c[tr]),th=0;th<to.length;th+=1)if(to[th]>0&&to[th]<1){var tl=ti.point(to[th])[tr];tl<tn?tn=tl:tl>ts&&(ts=tl)}return{min:tn,max:ts}}function intersectData(ti,tr,tn){var ts=ti.boundingBox();return{cx:ts.cx,cy:ts.cy,width:ts.width,height:ts.height,bez:ti,t:(tr+tn)/2,t1:tr,t2:tn}}function splitData(ti){var tr=ti.bez.split(.5);return[intersectData(tr[0],ti.t1,ti.t),intersectData(tr[1],ti.t,ti.t2)]}function boxIntersect(ti,tr){return 2*Math.abs(ti.cx-tr.cx)<ti.width+tr.width&&2*Math.abs(ti.cy-tr.cy)<ti.height+tr.height}function intersectsImpl(ti,tr,tn,ts,ta,to){if(boxIntersect(ti,tr)){if(tn>=to||ti.width<=ts&&ti.height<=ts&&tr.width<=ts&&tr.height<=ts)ta.push([ti.t,tr.t]);else{var th=splitData(ti),tl=splitData(tr);intersectsImpl(th[0],tl[0],tn+1,ts,ta,to),intersectsImpl(th[0],tl[1],tn+1,ts,ta,to),intersectsImpl(th[1],tl[0],tn+1,ts,ta,to),intersectsImpl(th[1],tl[1],tn+1,ts,ta,to)}}}function crossProduct(ti,tr){return[ti[1]*tr[2]-ti[2]*tr[1],ti[2]*tr[0]-ti[0]*tr[2],ti[0]*tr[1]-ti[1]*tr[0]]}function lineIntersection(ti,tr,tn,ts){var ta=[ti[0],ti[1],1],to=[tr[0],tr[1],1],th=[tn[0],tn[1],1],tl=[ts[0],ts[1],1],tp=crossProduct(crossProduct(ta,to),crossProduct(th,tl));return floatZero(tp[2])?null:[tp[0]/tp[2],tp[1]/tp[2]]}function polarOffset(ti,tr,tn){return[ti[0]+Math.cos(tr)*tn,ti[1]-Math.sin(tr)*tn]}function pointDistance(ti,tr){return Math.hypot(ti[0]-tr[0],ti[1]-tr[1])}function pointEqual(ti,tr){return floatEqual(ti[0],tr[0])&&floatEqual(ti[1],tr[1])}function ZigZagModifier(){}function setPoint(ti,tr,tn,ts,ta,to,th){var tl=tn-Math.PI/2,tp=tn+Math.PI/2,tf=tr[0]+Math.cos(tn)*ts*ta,tu=tr[1]-Math.sin(tn)*ts*ta;ti.setTripleAt(tf,tu,tf+Math.cos(tl)*to,tu-Math.sin(tl)*to,tf+Math.cos(tp)*th,tu-Math.sin(tp)*th,ti.length())}function getPerpendicularVector(ti,tr){var tn=[tr[0]-ti[0],tr[1]-ti[1]],ts=-(.5*Math.PI);return[Math.cos(ts)*tn[0]-Math.sin(ts)*tn[1],Math.sin(ts)*tn[0]+Math.cos(ts)*tn[1]]}function getProjectingAngle(ti,tr){var tn=0===tr?ti.length()-1:tr-1,ts=(tr+1)%ti.length(),ta=getPerpendicularVector(ti.v[tn],ti.v[ts]);return Math.atan2(0,1)-Math.atan2(ta[1],ta[0])}function zigZagCorner(ti,tr,tn,ts,ta,to,th){var tl=getProjectingAngle(tr,tn),tp=tr.v[tn%tr._length],tf=tr.v[0===tn?tr._length-1:tn-1],tu=tr.v[(tn+1)%tr._length],tc=2===to?Math.sqrt(Math.pow(tp[0]-tf[0],2)+Math.pow(tp[1]-tf[1],2)):0,tm=2===to?Math.sqrt(Math.pow(tp[0]-tu[0],2)+Math.pow(tp[1]-tu[1],2)):0;setPoint(ti,tr.v[tn%tr._length],tl,th,ts,tm/(2*(ta+1)),tc/(2*(ta+1)),to)}function zigZagSegment(ti,tr,tn,ts,ta,to){for(var th=0;th<ts;th+=1){var tl=(th+1)/(ts+1),tp=2===ta?Math.sqrt(Math.pow(tr.points[3][0]-tr.points[0][0],2)+Math.pow(tr.points[3][1]-tr.points[0][1],2)):0,tf=tr.normalAngle(tl);setPoint(ti,tr.point(tl),tf,to,tn,tp/(2*(ts+1)),tp/(2*(ts+1)),ta),to=-to}return to}function linearOffset(ti,tr,tn){var ts=Math.atan2(tr[0]-ti[0],tr[1]-ti[1]);return[polarOffset(ti,ts,tn),polarOffset(tr,ts,tn)]}function offsetSegment(ti,tr){tn=(tp=linearOffset(ti.points[0],ti.points[1],tr))[0],ts=tp[1],ta=(tp=linearOffset(ti.points[1],ti.points[2],tr))[0],to=tp[1],th=(tp=linearOffset(ti.points[2],ti.points[3],tr))[0],tl=tp[1];var tn,ts,ta,to,th,tl,tp,tf=lineIntersection(tn,ts,ta,to);null===tf&&(tf=ts);var tu=lineIntersection(th,tl,ta,to);return null===tu&&(tu=th),new PolynomialBezier(tn,tf,tu,tl)}function joinLines(ti,tr,tn,ts,ta){var to=tr.points[3],th=tn.points[0];if(3===ts||pointEqual(to,th))return to;if(2===ts){var tl=-tr.tangentAngle(1),tp=-tn.tangentAngle(0)+Math.PI,tf=lineIntersection(to,polarOffset(to,tl+Math.PI/2,100),th,polarOffset(th,tl+Math.PI/2,100)),tu=tf?pointDistance(tf,to):pointDistance(to,th)/2,tc=polarOffset(to,tl,2*tu*roundCorner);return ti.setXYAt(tc[0],tc[1],"o",ti.length()-1),tc=polarOffset(th,tp,2*tu*roundCorner),ti.setTripleAt(th[0],th[1],th[0],th[1],tc[0],tc[1],ti.length()),th}var tm=lineIntersection(pointEqual(to,tr.points[2])?tr.points[0]:tr.points[2],to,th,pointEqual(th,tn.points[1])?tn.points[3]:tn.points[1]);return tm&&pointDistance(tm,to)<ta?(ti.setTripleAt(tm[0],tm[1],tm[0],tm[1],tm[0],tm[1],ti.length()),tm):to}function getIntersection(ti,tr){var tn=ti.intersections(tr);return tn.length&&floatEqual(tn[0][0],1)&&tn.shift(),tn.length?tn[0]:null}function pruneSegmentIntersection(ti,tr){var tn=ti.slice(),ts=tr.slice(),ta=getIntersection(ti[ti.length-1],tr[0]);return ta&&(tn[ti.length-1]=ti[ti.length-1].split(ta[0])[0],ts[0]=tr[0].split(ta[1])[1]),ti.length>1&&tr.length>1&&(ta=getIntersection(ti[0],tr[tr.length-1]))?[[ti[0].split(ta[0])[0]],[tr[tr.length-1].split(ta[1])[1]]]:[tn,ts]}function pruneIntersections(ti){for(var tr,tn=1;tn<ti.length;tn+=1)tr=pruneSegmentIntersection(ti[tn-1],ti[tn]),ti[tn-1]=tr[0],ti[tn]=tr[1];return ti.length>1&&(tr=pruneSegmentIntersection(ti[ti.length-1],ti[0]),ti[ti.length-1]=tr[0],ti[0]=tr[1]),ti}function offsetSegmentSplit(ti,tr){var tn,ts,ta,to,th=ti.inflectionPoints();if(0===th.length)return[offsetSegment(ti,tr)];if(1===th.length||floatEqual(th[1],1))return tn=(ta=ti.split(th[0]))[0],ts=ta[1],[offsetSegment(tn,tr),offsetSegment(ts,tr)];tn=(ta=ti.split(th[0]))[0];var tl=(th[1]-th[0])/(1-th[0]);return to=(ta=ta[1].split(tl))[0],ts=ta[1],[offsetSegment(tn,tr),offsetSegment(to,tr),offsetSegment(ts,tr)]}function OffsetPathModifier(){}function getFontProperties(ti){for(var tr=ti.fStyle?ti.fStyle.split(" "):[],tn="normal",ts="normal",ta=tr.length,to=0;to<ta;to+=1)switch(tr[to].toLowerCase()){case"italic":ts="italic";break;case"bold":tn="700";break;case"black":tn="900";break;case"medium":tn="500";break;case"regular":case"normal":tn="400";break;case"light":case"thin":tn="200"}return{style:ts,weight:ti.fWeight||tn}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(ti,tr){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(ti,tr.c,0,null,this),this.o=PropertyFactory.getProp(ti,tr.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(ti,tr.tr,this),this.so=PropertyFactory.getProp(ti,tr.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(ti,tr.tr.eo,0,.01,this),this.data=tr,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(ti,tr,tn,ts,ta,to){var th=to?-1:1,tl=ts.s.v[0]+(1-ts.s.v[0])*(1-ta),tp=ts.s.v[1]+(1-ts.s.v[1])*(1-ta);ti.translate(ts.p.v[0]*th*ta,ts.p.v[1]*th*ta,ts.p.v[2]),tr.translate(-ts.a.v[0],-ts.a.v[1],ts.a.v[2]),tr.rotate(-ts.r.v*th*ta),tr.translate(ts.a.v[0],ts.a.v[1],ts.a.v[2]),tn.translate(-ts.a.v[0],-ts.a.v[1],ts.a.v[2]),tn.scale(to?1/tl:tl,to?1/tp:tp),tn.translate(ts.a.v[0],ts.a.v[1],ts.a.v[2])},RepeaterModifier.prototype.init=function(ti,tr,tn,ts){for(this.elem=ti,this.arr=tr,this.pos=tn,this.elemsData=ts,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(ti),this.initModifierProperties(ti,tr[tn]);tn>0;)tn-=1,this._elements.unshift(tr[tn]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(ti){var tr,tn=ti.length;for(tr=0;tr<tn;tr+=1)ti[tr]._processed=!1,"gr"===ti[tr].ty&&this.resetElements(ti[tr].it)},RepeaterModifier.prototype.cloneElements=function(ti){var tr=JSON.parse(JSON.stringify(ti));return this.resetElements(tr),tr},RepeaterModifier.prototype.changeGroupRender=function(ti,tr){var tn,ts=ti.length;for(tn=0;tn<ts;tn+=1)ti[tn]._render=tr,"gr"===ti[tn].ty&&this.changeGroupRender(ti[tn].it,tr)},RepeaterModifier.prototype.processShapes=function(ti){var tr,tn,ts,ta,to,th=!1;if(this._mdf||ti){var tl,tp=Math.ceil(this.c.v);if(this._groups.length<tp){for(;this._groups.length<tp;){var tf={it:this.cloneElements(this._elements),ty:"gr"};tf.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,tf),this._groups.splice(0,0,tf),this._currentCopies+=1}this.elem.reloadShapes(),th=!0}for(to=0,ts=0;ts<=this._groups.length-1;ts+=1){if(tl=to<tp,this._groups[ts]._render=tl,this.changeGroupRender(this._groups[ts].it,tl),!tl){var tu=this.elemsData[ts].it,tc=tu[tu.length-1];0!==tc.transform.op.v?(tc.transform.op._mdf=!0,tc.transform.op.v=0):tc.transform.op._mdf=!1}to+=1}this._currentCopies=tp;var tm=this.o.v,tg=tm%1,tv=tm>0?Math.floor(tm):Math.ceil(tm),ty=this.pMatrix.props,tb=this.rMatrix.props,t_=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var tw,tx,tk=0;if(tm>0){for(;tk<tv;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),tk+=1;tg&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,tg,!1),tk+=tg)}else if(tm<0){for(;tk>tv;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),tk-=1;tg&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-tg,!0),tk-=tg)}for(ts=1===this.data.m?0:this._currentCopies-1,ta=1===this.data.m?1:-1,to=this._currentCopies;to;){if(tx=(tn=(tr=this.elemsData[ts].it)[tr.length-1].transform.mProps.v.props).length,tr[tr.length-1].transform.mProps._mdf=!0,tr[tr.length-1].transform.op._mdf=!0,tr[tr.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(ts/(this._currentCopies-1)),0!==tk){for((0!==ts&&1===ta||ts!==this._currentCopies-1&&-1===ta)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(tb[0],tb[1],tb[2],tb[3],tb[4],tb[5],tb[6],tb[7],tb[8],tb[9],tb[10],tb[11],tb[12],tb[13],tb[14],tb[15]),this.matrix.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]),this.matrix.transform(ty[0],ty[1],ty[2],ty[3],ty[4],ty[5],ty[6],ty[7],ty[8],ty[9],ty[10],ty[11],ty[12],ty[13],ty[14],ty[15]),tw=0;tw<tx;tw+=1)tn[tw]=this.matrix.props[tw];this.matrix.reset()}else for(this.matrix.reset(),tw=0;tw<tx;tw+=1)tn[tw]=this.matrix.props[tw];tk+=1,to-=1,ts+=ta}}else for(to=this._currentCopies,ts=0,ta=1;to;)tn=(tr=this.elemsData[ts].it)[tr.length-1].transform.mProps.v.props,tr[tr.length-1].transform.mProps._mdf=!1,tr[tr.length-1].transform.op._mdf=!1,to-=1,ts+=ta;return th},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(ti,tr){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(ti,tr.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(ti,tr){var tn,ts=shapePool.newElement();ts.c=ti.c;var ta,to,th,tl,tp,tf,tu,tc,tm,tg,tv,ty,tb=ti._length,t_=0;for(tn=0;tn<tb;tn+=1)ta=ti.v[tn],th=ti.o[tn],to=ti.i[tn],ta[0]===th[0]&&ta[1]===th[1]&&ta[0]===to[0]&&ta[1]===to[1]?0!==tn&&tn!==tb-1||ti.c?(tl=0===tn?ti.v[tb-1]:ti.v[tn-1],tf=(tp=Math.sqrt(Math.pow(ta[0]-tl[0],2)+Math.pow(ta[1]-tl[1],2)))?Math.min(tp/2,tr)/tp:0,tu=tv=ta[0]+(tl[0]-ta[0])*tf,tc=ty=ta[1]-(ta[1]-tl[1])*tf,tm=tu-(tu-ta[0])*roundCorner,tg=tc-(tc-ta[1])*roundCorner,ts.setTripleAt(tu,tc,tm,tg,tv,ty,t_),t_+=1,tl=tn===tb-1?ti.v[0]:ti.v[tn+1],tf=(tp=Math.sqrt(Math.pow(ta[0]-tl[0],2)+Math.pow(ta[1]-tl[1],2)))?Math.min(tp/2,tr)/tp:0,tu=tm=ta[0]+(tl[0]-ta[0])*tf,tc=tg=ta[1]+(tl[1]-ta[1])*tf,tv=tu-(tu-ta[0])*roundCorner,ty=tc-(tc-ta[1])*roundCorner,ts.setTripleAt(tu,tc,tm,tg,tv,ty,t_),t_+=1):(ts.setTripleAt(ta[0],ta[1],th[0],th[1],to[0],to[1],t_),t_+=1):(ts.setTripleAt(ti.v[tn][0],ti.v[tn][1],ti.o[tn][0],ti.o[tn][1],ti.i[tn][0],ti.i[tn][1],t_),t_+=1);return ts},RoundCornersModifier.prototype.processShapes=function(ti){var tr,tn,ts,ta,to,th,tl=this.shapes.length,tp=this.rd.v;if(0!==tp)for(tn=0;tn<tl;tn+=1){if(th=(to=this.shapes[tn]).localShapeCollection,to.shape._mdf||this._mdf||ti)for(th.releaseShapes(),to.shape._mdf=!0,tr=to.shape.paths.shapes,ta=to.shape.paths._length,ts=0;ts<ta;ts+=1)th.addShape(this.processPath(tr[ts],tp));to.shape.paths=to.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(ti){return[((this.a[0]*ti+this.b[0])*ti+this.c[0])*ti+this.d[0],((this.a[1]*ti+this.b[1])*ti+this.c[1])*ti+this.d[1]]},PolynomialBezier.prototype.derivative=function(ti){return[(3*ti*this.a[0]+2*this.b[0])*ti+this.c[0],(3*ti*this.a[1]+2*this.b[1])*ti+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(ti){var tr=this.derivative(ti);return Math.atan2(tr[1],tr[0])},PolynomialBezier.prototype.normalAngle=function(ti){var tr=this.derivative(ti);return Math.atan2(tr[0],tr[1])},PolynomialBezier.prototype.inflectionPoints=function(){var ti=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(ti))return[];var tr=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/ti,tn=tr*tr-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/ti;if(tn<0)return[];var ts=Math.sqrt(tn);return floatZero(ts)?ts>0&&ts<1?[tr]:[]:[tr-ts,tr+ts].filter(function(ti){return ti>0&&ti<1})},PolynomialBezier.prototype.split=function(ti){if(ti<=0)return[singlePoint(this.points[0]),this];if(ti>=1)return[this,singlePoint(this.points[this.points.length-1])];var tr=lerpPoint(this.points[0],this.points[1],ti),tn=lerpPoint(this.points[1],this.points[2],ti),ts=lerpPoint(this.points[2],this.points[3],ti),ta=lerpPoint(tr,tn,ti),to=lerpPoint(tn,ts,ti),th=lerpPoint(ta,to,ti);return[new PolynomialBezier(this.points[0],tr,ta,th,!0),new PolynomialBezier(th,to,ts,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var ti=this.bounds();return{left:ti.x.min,right:ti.x.max,top:ti.y.min,bottom:ti.y.max,width:ti.x.max-ti.x.min,height:ti.y.max-ti.y.min,cx:(ti.x.max+ti.x.min)/2,cy:(ti.y.max+ti.y.min)/2}},PolynomialBezier.prototype.intersections=function(ti,tr,tn){void 0===tr&&(tr=2),void 0===tn&&(tn=7);var ts=[];return intersectsImpl(intersectData(this,0,1),intersectData(ti,0,1),0,tr,ts,tn),ts},PolynomialBezier.shapeSegment=function(ti,tr){var tn=(tr+1)%ti.length();return new PolynomialBezier(ti.v[tr],ti.o[tr],ti.i[tn],ti.v[tn],!0)},PolynomialBezier.shapeSegmentInverted=function(ti,tr){var tn=(tr+1)%ti.length();return new PolynomialBezier(ti.v[tn],ti.i[tn],ti.o[tr],ti.v[tr],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(ti,tr){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(ti,tr.s,0,null,this),this.frequency=PropertyFactory.getProp(ti,tr.r,0,null,this),this.pointsType=PropertyFactory.getProp(ti,tr.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(ti,tr,tn,ts){var ta=ti._length,to=shapePool.newElement();if(to.c=ti.c,ti.c||(ta-=1),0===ta)return to;var th=-1,tl=PolynomialBezier.shapeSegment(ti,0);zigZagCorner(to,ti,0,tr,tn,ts,th);for(var tp=0;tp<ta;tp+=1)th=zigZagSegment(to,tl,tr,tn,ts,-th),tl=tp!==ta-1||ti.c?PolynomialBezier.shapeSegment(ti,(tp+1)%ta):null,zigZagCorner(to,ti,tp+1,tr,tn,ts,th);return to},ZigZagModifier.prototype.processShapes=function(ti){var tr,tn,ts,ta,to,th,tl=this.shapes.length,tp=this.amplitude.v,tf=Math.max(0,Math.round(this.frequency.v)),tu=this.pointsType.v;if(0!==tp)for(tn=0;tn<tl;tn+=1){if(th=(to=this.shapes[tn]).localShapeCollection,to.shape._mdf||this._mdf||ti)for(th.releaseShapes(),to.shape._mdf=!0,tr=to.shape.paths.shapes,ta=to.shape.paths._length,ts=0;ts<ta;ts+=1)th.addShape(this.processPath(tr[ts],tp,tf,tu));to.shape.paths=to.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(ti,tr){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(ti,tr.a,0,null,this),this.miterLimit=PropertyFactory.getProp(ti,tr.ml,0,null,this),this.lineJoin=tr.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(ti,tr,tn,ts){var ta=shapePool.newElement();ta.c=ti.c;var to,th,tl,tp=ti.length();ti.c||(tp-=1);var tf=[];for(to=0;to<tp;to+=1)tl=PolynomialBezier.shapeSegment(ti,to),tf.push(offsetSegmentSplit(tl,tr));if(!ti.c)for(to=tp-1;to>=0;to-=1)tl=PolynomialBezier.shapeSegmentInverted(ti,to),tf.push(offsetSegmentSplit(tl,tr));tf=pruneIntersections(tf);var tu=null,tc=null;for(to=0;to<tf.length;to+=1){var tm=tf[to];for(tc&&(tu=joinLines(ta,tc,tm[0],tn,ts)),tc=tm[tm.length-1],th=0;th<tm.length;th+=1)tl=tm[th],tu&&pointEqual(tl.points[0],tu)?ta.setXYAt(tl.points[1][0],tl.points[1][1],"o",ta.length()-1):ta.setTripleAt(tl.points[0][0],tl.points[0][1],tl.points[1][0],tl.points[1][1],tl.points[0][0],tl.points[0][1],ta.length()),ta.setTripleAt(tl.points[3][0],tl.points[3][1],tl.points[3][0],tl.points[3][1],tl.points[2][0],tl.points[2][1],ta.length()),tu=tl.points[3]}return tf.length&&joinLines(ta,tc,tf[0][0],tn,ts),ta},OffsetPathModifier.prototype.processShapes=function(ti){var tr,tn,ts,ta,to,th,tl=this.shapes.length,tp=this.amount.v,tf=this.miterLimit.v,tu=this.lineJoin;if(0!==tp)for(tn=0;tn<tl;tn+=1){if(th=(to=this.shapes[tn]).localShapeCollection,to.shape._mdf||this._mdf||ti)for(th.releaseShapes(),to.shape._mdf=!0,tr=to.shape.paths.shapes,ta=to.shape.paths._length,ts=0;ts<ta;ts+=1)th.addShape(this.processPath(tr[ts],tp,tu,tf));to.shape.paths=to.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var ti={w:0,size:0,shapes:[],data:{shapes:[]}},tr=[];tr=tr.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 tn=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],ts=[65039,8205];function ta(ti,tr){var tn=createTag("span");tn.setAttribute("aria-hidden",!0),tn.style.fontFamily=tr;var ts=createTag("span");ts.innerText="giItT1WQy@!-/#",tn.style.position="absolute",tn.style.left="-10000px",tn.style.top="-10000px",tn.style.fontSize="300px",tn.style.fontVariant="normal",tn.style.fontStyle="normal",tn.style.fontWeight="normal",tn.style.letterSpacing="0",tn.appendChild(ts),document.body.appendChild(tn);var ta=ts.offsetWidth;return ts.style.fontFamily=function(ti){var tr,tn=ti.split(","),ts=tn.length,ta=[];for(tr=0;tr<ts;tr+=1)"sans-serif"!==tn[tr]&&"monospace"!==tn[tr]&&ta.push(tn[tr]);return ta.join(",")}(ti)+", "+tr,{node:ts,w:ta,parent:tn}}function to(ti,tr){var tn,ts=document.body&&tr?"svg":"canvas",ta=getFontProperties(ti);if("svg"===ts){var to=createNS("text");to.style.fontSize="100px",to.setAttribute("font-family",ti.fFamily),to.setAttribute("font-style",ta.style),to.setAttribute("font-weight",ta.weight),to.textContent="1",ti.fClass?(to.style.fontFamily="inherit",to.setAttribute("class",ti.fClass)):to.style.fontFamily=ti.fFamily,tr.appendChild(to),tn=to}else{var th=new OffscreenCanvas(500,500).getContext("2d");th.font=ta.style+" "+ta.weight+" 100px "+ti.fFamily,tn=th}return{measureText:function(ti){return"svg"===ts?(tn.textContent=ti,tn.getComputedTextLength()):tn.measureText(ti).width}}}var th=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 th.isModifier=function(ti,tr){var ts=ti.toString(16)+tr.toString(16);return -1!==tn.indexOf(ts)},th.isZeroWidthJoiner=function(ti,tr){return tr?ti===ts[0]&&tr===ts[1]:ti===ts[1]},th.isCombinedCharacter=function(ti){return -1!==tr.indexOf(ti)},th.prototype={addChars:function(ti){if(ti){this.chars||(this.chars=[]);var tr,tn,ts,ta=ti.length,to=this.chars.length;for(tr=0;tr<ta;tr+=1){for(tn=0,ts=!1;tn<to;)this.chars[tn].style===ti[tr].style&&this.chars[tn].fFamily===ti[tr].fFamily&&this.chars[tn].ch===ti[tr].ch&&(ts=!0),tn+=1;ts||(this.chars.push(ti[tr]),to+=1)}}},addFonts:function(ti,tr){if(ti){if(this.chars)return this.isLoaded=!0,void(this.fonts=ti.list);if(!document.body)return this.isLoaded=!0,ti.list.forEach(function(ti){ti.helper=to(ti),ti.cache={}}),void(this.fonts=ti.list);var tn,ts=ti.list,th=ts.length,tl=th;for(tn=0;tn<th;tn+=1){var tp,tf,tu=!0;if(ts[tn].loaded=!1,ts[tn].monoCase=ta(ts[tn].fFamily,"monospace"),ts[tn].sansCase=ta(ts[tn].fFamily,"sans-serif"),ts[tn].fPath){if("p"===ts[tn].fOrigin||3===ts[tn].origin){if((tp=document.querySelectorAll('style[f-forigin="p"][f-family="'+ts[tn].fFamily+'"], style[f-origin="3"][f-family="'+ts[tn].fFamily+'"]')).length>0&&(tu=!1),tu){var tc=createTag("style");tc.setAttribute("f-forigin",ts[tn].fOrigin),tc.setAttribute("f-origin",ts[tn].origin),tc.setAttribute("f-family",ts[tn].fFamily),tc.type="text/css",tc.innerText="@font-face {font-family: "+ts[tn].fFamily+"; font-style: normal; src: url('"+ts[tn].fPath+"');}",tr.appendChild(tc)}}else if("g"===ts[tn].fOrigin||1===ts[tn].origin){for(tp=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),tf=0;tf<tp.length;tf+=1)-1!==tp[tf].href.indexOf(ts[tn].fPath)&&(tu=!1);if(tu){var tm=createTag("link");tm.setAttribute("f-forigin",ts[tn].fOrigin),tm.setAttribute("f-origin",ts[tn].origin),tm.type="text/css",tm.rel="stylesheet",tm.href=ts[tn].fPath,document.body.appendChild(tm)}}else if("t"===ts[tn].fOrigin||2===ts[tn].origin){for(tp=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),tf=0;tf<tp.length;tf+=1)ts[tn].fPath===tp[tf].src&&(tu=!1);if(tu){var tg=createTag("link");tg.setAttribute("f-forigin",ts[tn].fOrigin),tg.setAttribute("f-origin",ts[tn].origin),tg.setAttribute("rel","stylesheet"),tg.setAttribute("href",ts[tn].fPath),tr.appendChild(tg)}}}else ts[tn].loaded=!0,tl-=1;ts[tn].helper=to(ts[tn],tr),ts[tn].cache={},this.fonts.push(ts[tn])}0===tl?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(tr,tn,ts){for(var ta=0,to=this.chars.length;ta<to;){if(this.chars[ta].ch===tr&&this.chars[ta].style===tn&&this.chars[ta].fFamily===ts)return this.chars[ta];ta+=1}return("string"==typeof tr&&13!==tr.charCodeAt(0)||!tr)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",tr,tn,ts
vendor: 4,108 bytes, line 62
62)),ti},getFontByName:function(ti){for(var tr=0,tn=this.fonts.length;tr<tn;){if(this.fonts[tr].fName===ti)return this.fonts[tr];tr+=1}return this.fonts[0]},measureText:function(ti,tr,tn){var ts=this.getFontByName(tr),ta=ti.charCodeAt(0);if(!ts.cache[ta+1]){var to=ts.helper;if(" "===ti){var th=to.measureText("|"+ti+"|"),tl=to.measureText("||");ts.cache[ta+1]=(th-tl)/100}else ts.cache[ta+1]=to.measureText(ti)/100}return ts.cache[ta+1]*tn},checkLoadedFonts:function(){var ti,tr,tn,ts=this.fonts.length,ta=ts;for(ti=0;ti<ts;ti+=1)this.fonts[ti].loaded?ta-=1:"n"===this.fonts[ti].fOrigin||0===this.fonts[ti].origin?this.fonts[ti].loaded=!0:(tr=this.fonts[ti].monoCase.node,tn=this.fonts[ti].monoCase.w,tr.offsetWidth!==tn?(ta-=1,this.fonts[ti].loaded=!0):(tr=this.fonts[ti].sansCase.node,tn=this.fonts[ti].sansCase.w,tr.offsetWidth!==tn&&(ta-=1,this.fonts[ti].loaded=!0)),this.fonts[ti].loaded&&(this.fonts[ti].sansCase.parent.parentNode.removeChild(this.fonts[ti].sansCase.parent),this.fonts[ti].monoCase.parent.parentNode.removeChild(this.fonts[ti].monoCase.parent)));0!==ta&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},th}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(ti){-1===this.renderableComponents.indexOf(ti)&&this.renderableComponents.push(ti)},removeRenderableComponent:function(ti){-1!==this.renderableComponents.indexOf(ti)&&this.renderableComponents.splice(this.renderableComponents.indexOf(ti),1)},prepareRenderableFrame:function(ti){this.checkLayerLimits(ti)},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(ti){this.data.ip-this.data.st<=ti&&this.data.op-this.data.st>ti?!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 ti,tr=this.renderableComponents.length;for(ti=0;ti<tr;ti+=1)this.renderableComponents[ti].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}}};var blendModeEnums,getBlendMode=(blendModeEnums={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"},function(ti){return blendModeEnums[ti]||""});function SliderEffect(ti,tr,tn){this.p=PropertyFactory.getProp(tr,ti.v,0,0,tn)}function AngleEffect(ti,tr,tn){this.p=PropertyFactory.getProp(tr,ti.v,0,0,tn)}function ColorEffect(ti,tr,tn){this.p=PropertyFactory.getProp(tr,ti.v,1,0,tn)}function PointEffect(ti,tr,tn){this.p=PropertyFactory.getProp(tr,ti.v,1,0,tn)}function LayerIndexEffect(ti,tr,tn){this.p=PropertyFactory.getProp(tr,ti.v,0,0,tn)}function MaskIndexEffect(ti,tr,tn){this.p=PropertyFactory.getProp(tr,ti.v,0,0,tn)}function CheckboxEffect(ti,tr,tn){this.p=PropertyFactory.getProp(tr,ti.v,0,0,tn)}function NoValueEffect(){this.p={}}function EffectsManager(ti,tr){var tn,ts=ti.ef||[];this.effectElements=[];var ta,to=ts.length;for(tn=0;tn<to;tn+=1)ta=new GroupEffect(ts[tn],tr),this.effectElements.push(ta)}function GroupEffect(ti,tr){this.init(ti,tr)}function BaseElement(){}function FrameElement(){}function FootageElement(ti,tr,tn){this.initFrame(),this.initRenderable(),this.assetData=tr.getAssetData(ti.refId),this.footageData=tr.imageLoader.getAsset(this.assetData),this.initBaseData(ti,tr,tn)}function AudioElement(ti,tr,tn){this.initFrame(),this.initRenderable(),this.assetData=tr.getAssetData(ti.refId),this.initBaseData(ti,tr,t
vendor: 9,485 bytes, line 62
62n),this._isPlaying=!1,this._canPlay=!1;var ts=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(ts),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=ti.tm?PropertyFactory.getProp(this,ti.tm,0,tr.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,ti.au&&ti.au.lv?ti.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(ti,tr,tn){this.data=ti,this.element=tr,this.globalData=tn,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var ts,ta,to,th=this.globalData.defs,tl=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(tl),this.solidPath="";var tp,tf,tu,tc,tm,tg,tv=this.masksProperties,ty=0,tb=[],t_=createElementID(),tw="clipPath",tx="clip-path";for(ta=0;ta<tl;ta+=1)if(("a"!==tv[ta].mode&&"n"!==tv[ta].mode||tv[ta].inv||100!==tv[ta].o.k||tv[ta].o.x)&&(tw="mask",tx="mask"),"s"!==tv[ta].mode&&"i"!==tv[ta].mode||0!==ty?tu=null:((tu=createNS("rect")).setAttribute("fill","#ffffff"),tu.setAttribute("width",this.element.comp.data.w||0),tu.setAttribute("height",this.element.comp.data.h||0),tb.push(tu)),to=createNS("path"),"n"===tv[ta].mode)this.viewData[ta]={op:PropertyFactory.getProp(this.element,tv[ta].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,tv[ta],3),elem:to,lastPath:""},th.appendChild(to);else{if(ty+=1,to.setAttribute("fill","s"===tv[ta].mode?"#000000":"#ffffff"),to.setAttribute("clip-rule","nonzero"),0!==tv[ta].x.k?(tw="mask",tx="mask",tg=PropertyFactory.getProp(this.element,tv[ta].x,0,null,this.element),ts=createElementID(),(tc=createNS("filter")).setAttribute("id",ts),(tm=createNS("feMorphology")).setAttribute("operator","erode"),tm.setAttribute("in","SourceGraphic"),tm.setAttribute("radius","0"),tc.appendChild(tm),th.appendChild(tc),to.setAttribute("stroke","s"===tv[ta].mode?"#000000":"#ffffff")):(tm=null,tg=null),this.storedData[ta]={elem:to,x:tg,expan:tm,lastPath:"",lastOperator:"",filterId:ts,lastRadius:0},"i"===tv[ta].mode){tf=tb.length;var tk=createNS("g");for(tp=0;tp<tf;tp+=1)tk.appendChild(tb[tp]);var tA=createNS("mask");tA.setAttribute("mask-type","alpha"),tA.setAttribute("id",t_+"_"+ty),tA.appendChild(to),th.appendChild(tA),tk.setAttribute("mask","url("+getLocationHref()+"#"+t_+"_"+ty+")"),tb.length=0,tb.push(tk)}else tb.push(to);tv[ta].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[ta]={elem:to,lastPath:"",op:PropertyFactory.getProp(this.element,tv[ta].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,tv[ta],3),invRect:tu},this.viewData[ta].prop.k||this.drawPath(tv[ta],this.viewData[ta].prop.v,this.viewData[ta])}for(this.maskElement=createNS(tw),tl=tb.length,ta=0;ta<tl;ta+=1)this.maskElement.appendChild(tb[ta]);ty>0&&(this.maskElement.setAttribute("id",t_),this.element.maskedElement.setAttribute(tx,"url("+getLocationHref()+"#"+t_+")"),th.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(ti,tr){this.data=ti,this.effectElements=[],this.initDynamicPropertyContainer(tr);var tn,ts,ta=this.data.ef.length,to=this.data.ef;for(tn=0;tn<ta;tn+=1){switch(ts=null,to[tn].ty){case 0:ts=new SliderEffect(to[tn],tr,this);break;case 1:ts=new AngleEffect(to[tn],tr,this);break;case 2:ts=new ColorEffect(to[tn],tr,this);break;case 3:ts=new PointEffect(to[tn],tr,this);break;case 4:case 7:ts=new CheckboxEffect(to[tn],tr,this);break;case 10:ts=new LayerIndexEffect(to[tn],tr,this);break;case 11:ts=new MaskIndexEffect(to[tn],tr,this);break;case 5:ts=new EffectsManager(to[tn],tr,this);break;default:ts=new NoValueEffect(to[tn],tr,this)}ts&&this.effectElements.push(ts)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var ti=0,tr=this.data.masksProperties.length;ti<tr;){if("n"!==this.data.masksProperties[ti].mode&&!1!==this.data.masksProperties[ti].cl)return!0;ti+=1}return!1},initExpressions:function(){var ti=getExpressionInterfaces();if(ti){var tr=ti("layer"),tn=ti("effects"),ts=ti("shape"),ta=ti("text"),to=ti("comp");this.layerInterface=tr(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var th=tn.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(th),0===this.data.ty||this.data.xt?this.compInterface=to(this):4===this.data.ty?(this.layerInterface.shapeInterface=ts(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=ta(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var ti=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=ti},initBaseData:function(ti,tr,tn){this.globalData=tr,this.comp=tn,this.data=ti,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(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(ti,tr){var tn,ts=this.dynamicProperties.length;for(tn=0;tn<ts;tn+=1)(tr||this._isParent&&"transform"===this.dynamicProperties[tn].propType)&&(this.dynamicProperties[tn].getValue(),this.dynamicProperties[tn]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(ti){-1===this.dynamicProperties.indexOf(ti)&&this.dynamicProperties.push(ti)}},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(){var ti=getExpressionInterfaces();if(ti){var tr=ti("footage");this.layerInterface=tr(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(ti){if(this.prepareRenderableFrame(ti,!0),this.prepareProperties(ti,!0),this.tm._placeholder)this._currentTime=ti/this.data.sr;else{var tr=this.tm.v;this._currentTime=tr}this._volume=this.lv.v[0];var tn=this._volume*this._volumeMultiplier;this._previousVolume!==tn&&(this._previousVolume=tn,this.audio.volume(tn))},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(ti){this.audio.rate(ti)},AudioElement.prototype.volume=function(ti){this._volumeMultiplier=ti,this._previousVolume=ti*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(ti){var tr,tn,ts=this.layers.length;for(this.completeLayers=!0,tr=ts-1;tr>=0;tr-=1)this.elements[tr]||(tn=this.layers[tr]).ip-tn.st<=ti-this.layers[tr].st&&tn.op-tn.st>ti-this.layers[tr].st&&this.buildItem(tr),this.completeLayers=!!this.elements[tr]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(ti){switch(ti.ty){case 2:return this.createImage(ti);case 0:return this.createComp(ti);case 1:return this.createSolid(ti);case 3:default:return this.createNull(ti);case 4:return this.createShape(ti);case 5:return this.createText(ti);case 6:return this.createAudio(ti);case 13:return this.createCamera(ti);case 15:return this.createFootage(ti)}},BaseRenderer.prototype.createCamera=function(){throw Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(ti){return new AudioElement(ti,this.globalData,this)},BaseRenderer.prototype.createFootage=function(ti){return new FootageElement(ti,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var ti,tr=this.layers.length;for(ti=0;ti<tr;ti+=1)this.buildItem(ti);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(ti){this.completeLayers=!1;var tr,tn,ts=ti.length,ta=this.layers.length;for(tr=0;tr<ts;tr+=1)for(tn=0;tn<ta;){if(this.layers[tn].id===ti[tr].id){this.layers[tn]=ti[tr];break}tn+=1}},BaseRenderer.prototype.setProjectInterface=function(ti){this.globalData.projectInterface=ti},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()}
vendor: 4,385 bytes, line 62
62,BaseRenderer.prototype.buildElementParenting=function(ti,tr,tn){for(var ts=this.elements,ta=this.layers,to=0,th=ta.length;to<th;)ta[to].ind==tr&&(ts[to]&&!0!==ts[to]?(tn.push(ts[to]),ts[to].setAsParent(),void 0!==ta[to].parent?this.buildElementParenting(ti,ta[to].parent,tn):ti.setHierarchy(tn)):(this.buildItem(to),this.addPendingElement(ti))),to+=1},BaseRenderer.prototype.addPendingElement=function(ti){this.pendingElements.push(ti)},BaseRenderer.prototype.searchExtraCompositions=function(ti){var tr,tn=ti.length;for(tr=0;tr<tn;tr+=1)if(ti[tr].xt){var ts=this.createComp(ti[tr]);ts.initExpressions(),this.globalData.projectInterface.registerComposition(ts)}},BaseRenderer.prototype.getElementByPath=function(ti){var tr,tn=ti.shift();if("number"==typeof tn)tr=this.elements[tn];else{var ts,ta=this.elements.length;for(ts=0;ts<ta;ts+=1)if(this.elements[ts].data.nm===tn){tr=this.elements[ts];break}}return 0===ti.length?tr:tr.getElementByPath(ti)},BaseRenderer.prototype.setupGlobalData=function(ti,tr){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(ti.chars),this.globalData.fontManager.addFonts(ti.fonts,tr),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=ti.fr,this.globalData.nm=ti.nm,this.globalData.compSize={w:ti.w,h:ti.h}},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 ti,tr=this.finalTransform.mat,tn=0,ts=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;tn<ts;){if(this.hierarchy[tn].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}tn+=1}if(this.finalTransform._matMdf)for(ti=this.finalTransform.mProp.v.props,tr.cloneFromProps(ti),tn=0;tn<ts;tn+=1)ti=this.hierarchy[tn].finalTransform.mProp.v.props,tr.transform(ti[0],ti[1],ti[2],ti[3],ti[4],ti[5],ti[6],ti[7],ti[8],ti[9],ti[10],ti[11],ti[12],ti[13],ti[14],ti[15])}},globalToLocal:function(ti){var tr=[];tr.push(this.finalTransform);for(var tn,ts=!0,ta=this.comp;ts;)ta.finalTransform?(ta.data.hasMask&&tr.splice(0,0,ta.finalTransform),ta=ta.comp):ts=!1;var to,th=tr.length;for(tn=0;tn<th;tn+=1)to=tr[tn].mat.applyToPointArray(0,0,0),ti=[ti[0]-to[0],ti[1]-to[1],0];return ti},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(ti){return this.viewData[ti].prop},MaskElement.prototype.renderFrame=function(ti){var tr,tn=this.element.finalTransform.mat,ts=this.masksProperties.length;for(tr=0;tr<ts;tr+=1)if((this.viewData[tr].prop._mdf||ti)&&this.drawPath(this.masksProperties[tr],this.viewData[tr].prop.v,this.viewData[tr]),(this.viewData[tr].op._mdf||ti)&&this.viewData[tr].elem.setAttribute("fill-opacity",this.viewData[tr].op.v),"n"!==this.masksProperties[tr].mode&&(this.viewData[tr].invRect&&(this.element.finalTransform.mProp._mdf||ti)&&this.viewData[tr].invRect.setAttribute("transform",tn.getInverseMatrix().to2dCSS()),this.storedData[tr].x&&(this.storedData[tr].x._mdf||ti))){var ta=this.storedData[tr].expan;this.storedData[tr].x.v<0?("erode"!==this.storedData[tr].lastOperator&&(this.storedData[tr].lastOperator="erode",this.storedData[tr].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[tr].filterId+")")),ta.setAttribute("radius",-this.storedData[tr].x.v)):("dilate"!==this.storedData[tr].lastOperator&&(this.storedData[tr].lastOperator="dilate",this.storedData[tr].elem.setAttribute("filter",null)),this.storedData[tr].elem.setAttribute("stroke-width",2*this.storedData[tr].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){return"M0,0 "+(" h"+this.globalData.compSize.w+" v"+this.globalData.compSize.h+" h-"+this.globalData.compSize.w+" v-")+this.globalData.compSize.h+" "}
vendor: 4,284 bytes, line 62
62,MaskElement.prototype.drawPath=function(ti,tr,tn){var ts,ta,to=" M"+tr.v[0][0]+","+tr.v[0][1];for(ta=tr._length,ts=1;ts<ta;ts+=1)to+=" C"+tr.o[ts-1][0]+","+tr.o[ts-1][1]+" "+tr.i[ts][0]+","+tr.i[ts][1]+" "+tr.v[ts][0]+","+tr.v[ts][1];if(tr.c&&ta>1&&(to+=" C"+tr.o[ts-1][0]+","+tr.o[ts-1][1]+" "+tr.i[0][0]+","+tr.i[0][1]+" "+tr.v[0][0]+","+tr.v[0][1]),tn.lastPath!==to){var th="";tn.elem&&(tr.c&&(th=ti.inv?this.solidPath+to:to),tn.elem.setAttribute("d",th)),tn.lastPath=to}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var ti={};return ti.createFilter=function(ti,tr){var tn=createNS("filter");return tn.setAttribute("id",ti),!0!==tr&&(tn.setAttribute("filterUnits","objectBoundingBox"),tn.setAttribute("x","0%"),tn.setAttribute("y","0%"),tn.setAttribute("width","100%"),tn.setAttribute("height","100%")),tn},ti.createAlphaToLuminanceFilter=function(){var ti=createNS("feColorMatrix");return ti.setAttribute("type","matrix"),ti.setAttribute("color-interpolation-filters","sRGB"),ti.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),ti},ti}(),featureSupport=function(){var ti={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))&&(ti.maskType=!1),ti}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(ti){var tr,tn,ts="SourceGraphic",ta=ti.data.ef?ti.data.ef.length:0,to=createElementID(),th=filtersFactory.createFilter(to,!0),tl=0;for(this.filters=[],tr=0;tr<ta;tr+=1){tn=null;var tp=ti.data.ef[tr].ty;registeredEffects[tp]&&(tn=new registeredEffects[tp].effect(th,ti.effectsManager.effectElements[tr],ti,idPrefix+tl,ts),ts=idPrefix+tl,registeredEffects[tp].countsAsEffect&&(tl+=1)),tn&&this.filters.push(tn)}tl&&(ti.globalData.defs.appendChild(th),ti.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+to+")")),this.filters.length&&ti.addRenderableComponent(this)}function registerEffect(ti,tr,tn){registeredEffects[ti]={effect:tr,countsAsEffect:tn}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(ti,tr,tn){this.assetData=tr.getAssetData(ti.refId),this.initElement(ti,tr,tn),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(ti,tr){this.elem=ti,this.pos=tr}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(ti){var tr,tn=this.filters.length;for(tr=0;tr<tn;tr+=1)this.filters[tr].renderFrame(ti)},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 ti=null;if(this.data.td){this.matteMasks={};var tr=createNS("symbol");tr.setAttribute("id",this.layerId);var tn=createNS("g");tn.appendChild(this.layerElement),tr.appendChild(tn),ti=tn,this.globalData.defs.appendChild(tr)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),ti=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 ts=createNS("clipPath"),ta=createNS("path");ta.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var to=createElementID();if(ts.setAttribute("id",to),ts.appendChild(ta),this.globalData.defs.appendChild(ts),this.checkMasks()){var th=createNS("g");th.setAttribute("clip-path","url("+getLocationHref()+"#"+to+")"),th.appendChild(this.layerElement),this.transformedElement=th,ti?ti.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+to+")")}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("op
62acity",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)},getMatte:function(ti){if(!this.matteMasks[ti]){var tr,tn,ts,ta,to=this.layerId+"_"+ti;if(1===ti||3===ti){var th=createNS("mask");th.setAttribute("id",to),th.setAttribute("mask-type",3===ti?"luminance":"alpha"),(ts=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),th.appendChild(ts),this.globalData.defs.appendChild(th),featureSupport.maskType||1!==ti||(th.setAttribute("mask-type","luminance"),tr=createElementID(),tn=filtersFactory.createFilter(tr),this.globalData.defs.appendChild(tn),tn.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(ta=createNS("g")).appendChild(ts),th.appendChild(ta),ta.setAttribute("filter","url("+getLocationHref()+"#"+tr+")"))}else if(2===ti){var tl=createNS("mask");tl.setAttribute("id",to),tl.setAttribute("mask-type","alpha");var tp=createNS("g");tl.appendChild(tp),tr=createElementID(),tn=filtersFactory.createFilter(tr);var tf=createNS("feComponentTransfer");tf.setAttribute("in","SourceGraphic"),tn.appendChild(tf);var tu=createNS("feFuncA");tu.setAttribute("type","table"),tu.setAttribute("tableValues","1.0 0.0"),tf.appendChild(tu),this.globalData.defs.appendChild(tn);var tc=createNS("rect");tc.setAttribute("width",this.comp.data.w),tc.setAttribute("height",this.comp.data.h),tc.setAttribute("x","0"),tc.setAttribute("y","0"),tc.setAttribute("fill","#ffffff"),tc.setAttribute("opacity","0"),tp.setAttribute("filter","url("+getLocationHref()+"#"+tr+")"),tp.appendChild(tc),(ts=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),tp.appendChild(ts),featureSupport.maskType||(tl.setAttribute("mask-type","luminance"),tn.appendChild(filtersFactory.createAlphaToLuminanceFilter()),ta=createNS("g"),tp.appendChild(tc),ta.appendChild(this.layerElement),tp.appendChild(ta)),this.globalData.defs.appendChild(tl)}this.matteMasks[ti]=to}return this.matteMasks[ti]},setMatte:function(ti){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+ti+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(ti){this.hierarchy=ti},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(ti,tr,tn){this.initFrame(),this.initBaseData(ti,tr,tn),this.initTransform(ti,tr,tn),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(ti){this._mdf=!1,this.prepareRenderableFrame(ti),this.prepareProperties(ti,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var ti=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",ti),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(ti){var tr,tn=this.shapeModifiers.length;for(tr=0;tr<tn;tr+=1)this.shapeModifiers[tr].addShape(ti)},isShapeInAnimatedModifiers:function(ti){for(var tr=this.shapeModifiers.length;0<tr;)if(this.shapeModifiers[0].isAnimatedWithShape(ti))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var ti,tr=this.shapes.length;for(ti=0;ti<tr;ti+=1)this.shapes[ti].sh.reset();for(ti=(tr=this.shapeModifiers.length)-1;ti>=0&&!this.shapeModifiers[ti].processShapes(this._isFirstFrame);ti-=1);}},searchProcessedElement:function(ti){for(var tr=this.processedElements,tn=0,ts=tr.length;tn<ts;){if(tr[tn].elem===ti)return tr[tn].pos;tn+=1}return 0},addProcessedElement:function(ti,tr){for(var tn=this.processedElements,ts=tn.length;ts;)if(tn[ts-=1].elem===ti)return void(tn[ts].pos=tr);tn.push(new ProcessedElement(ti,tr))},prepareFrame:function(ti){this.prepareRenderableFrame(ti),this.prepareProperties(ti,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};
vendor: 10,087 bytes, line 62
62function SVGShapeData(ti,tr,tn){this.caches=[],this.styles=[],this.transformers=ti,this.lStr="",this.sh=tn,this.lvl=tr,this._isAnimated=!!tn.k;for(var ts=0,ta=ti.length;ts<ta;){if(ti[ts].mProps.dynamicProperties.length){this._isAnimated=!0;break}ts+=1}}function SVGStyleData(ti,tr){this.data=ti,this.type=ti.ty,this.d="",this.lvl=tr,this._mdf=!1,this.closed=!0===ti.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(ti,tr,tn,ts){this.elem=ti,this.frameId=-1,this.dataProps=createSizedArray(tr.length),this.renderer=tn,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",tr.length?tr.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(ts);var ta,to,th=tr.length||0;for(ta=0;ta<th;ta+=1)to=PropertyFactory.getProp(ti,tr[ta].v,0,0,this),this.k=to.k||this.k,this.dataProps[ta]={n:tr[ta].n,p:to};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(ti,tr,tn){this.initDynamicPropertyContainer(ti),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(ti,tr.o,0,.01,this),this.w=PropertyFactory.getProp(ti,tr.w,0,null,this),this.d=new DashProperty(ti,tr.d||{},"svg",this),this.c=PropertyFactory.getProp(ti,tr.c,1,255,this),this.style=tn,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(ti,tr,tn){this.initDynamicPropertyContainer(ti),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(ti,tr.o,0,.01,this),this.c=PropertyFactory.getProp(ti,tr.c,1,255,this),this.style=tn}function SVGNoStyleData(ti,tr,tn){this.initDynamicPropertyContainer(ti),this.getValue=this.iterateDynamicProperties,this.style=tn}function GradientProperty(ti,tr,tn){this.data=tr,this.c=createTypedArray("uint8c",4*tr.p);var ts=tr.k.k[0].s?tr.k.k[0].s.length-4*tr.p:tr.k.k.length-4*tr.p;this.o=createTypedArray("float32",ts),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=ts,this.initDynamicPropertyContainer(tn),this.prop=PropertyFactory.getProp(ti,tr.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(ti,tr,tn){this.initDynamicPropertyContainer(ti),this.getValue=this.iterateDynamicProperties,this.initGradientData(ti,tr,tn)}function SVGGradientStrokeStyleData(ti,tr,tn){this.initDynamicPropertyContainer(ti),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(ti,tr.w,0,null,this),this.d=new DashProperty(ti,tr.d||{},"svg",this),this.initGradientData(ti,tr,tn),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(ti,tr,tn){this.transform={mProps:ti,op:tr,container:tn},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(ti){if((this.elem.globalData.frameId!==this.frameId||ti)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||ti,this._mdf)){var tr=0,tn=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),tr=0;tr<tn;tr+=1)"o"!==this.dataProps[tr].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[tr].p.v:this.dashArray[tr]=this.dataProps[tr].p.v:this.dashoffset[0]=this.dataProps[tr].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(ti,tr){for(var tn=0,ts=this.o.length/2;tn<ts;){if(Math.abs(ti[4*tn]-ti[4*tr+2*tn])>.01)return!1;tn+=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 ti=0,tr=this.data.k.k.length;ti<tr;){if(!this.comparePoints(this.data.k.k[ti].s,this.data.p))return!1;ti+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(ti){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||ti){var tr,tn,ts,ta=4*this.data.p;for(tr=0;tr<ta;tr+=1)tn=tr%4==0?100:255,ts=Math.round(this.prop.v[tr]*tn),this.c[tr]!==ts&&(this.c[tr]=ts,this._cmdf=!ti);if(this.o.length)for(ta=this.prop.v.length,tr=4*this.data.p;tr<ta;tr+=1)tn=tr%2==0?100:1,ts=tr%2==0?Math.round(100*this.prop.v[tr]):this.prop.v[tr],this.o[tr-4*this.data.p]!==ts&&(this.o[tr-4*this.data.p]=ts,this._omdf=!ti);this._mdf=!ti}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(ti,tr,tn){this.o=PropertyFactory.getProp(ti,tr.o,0,.01,this),this.s=PropertyFactory.getProp(ti,tr.s,1,null,this),this.e=PropertyFactory.getProp(ti,tr.e,1,null,this),this.h=PropertyFactory.getProp(ti,tr.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(ti,tr.a||{k:0},0,degToRads,this),this.g=new GradientProperty(ti,tr.g,this),this.style=tn,this.stops=[],this.setGradientData(tn.pElem,tr),this.setGradientOpacity(tr,tn),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(ti,tr){var tn=createElementID(),ts=createNS(1===tr.t?"linearGradient":"radialGradient");ts.setAttribute("id",tn),ts.setAttribute("spreadMethod","pad"),ts.setAttribute("gradientUnits","userSpaceOnUse");var ta,to,th,tl=[];for(th=4*tr.g.p,to=0;to<th;to+=4)ta=createNS("stop"),ts.appendChild(ta),tl.push(ta);ti.setAttribute("gf"===tr.ty?"fill":"stroke","url("+getLocationHref()+"#"+tn+")"),this.gf=ts,this.cst=tl},SVGGradientFillStyleData.prototype.setGradientOpacity=function(ti,tr){if(this.g._hasOpacity&&!this.g._collapsable){var tn,ts,ta,to=createNS("mask"),th=createNS("path");to.appendChild(th);var tl=createElementID(),tp=createElementID();to.setAttribute("id",tp);var tf=createNS(1===ti.t?"linearGradient":"radialGradient");tf.setAttribute("id",tl),tf.setAttribute("spreadMethod","pad"),tf.setAttribute("gradientUnits","userSpaceOnUse"),ta=ti.g.k.k[0].s?ti.g.k.k[0].s.length:ti.g.k.k.length;var tu=this.stops;for(ts=4*ti.g.p;ts<ta;ts+=2)(tn=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),tf.appendChild(tn),tu.push(tn);th.setAttribute("gf"===ti.ty?"fill":"stroke","url("+getLocationHref()+"#"+tl+")"),"gs"===ti.ty&&(th.setAttribute("stroke-linecap",lineCapEnum[ti.lc||2]),th.setAttribute("stroke-linejoin",lineJoinEnum[ti.lj||2]),1===ti.lj&&th.setAttribute("stroke-miterlimit",ti.ml)),this.of=tf,this.ms=to,this.ost=tu,this.maskId=tp,tr.msElem=th}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(ti,tr,tn,ts){if(0===tr)return"";var ta,to=ti.o,th=ti.i,tl=ti.v,tp=" M"+ts.applyToPointStringified(tl[0][0],tl[0][1]);for(ta=1;ta<tr;ta+=1)tp+=" C"+ts.applyToPointStringified(to[ta-1][0],to[ta-1][1])+" "+ts.applyToPointStringified(th[ta][0],th[ta][1])+" "+ts.applyToPointStringified(tl[ta][0],tl[ta][1]);return tn&&tr&&(tp+=" C"+ts.applyToPointStringified(to[ta-1][0],to[ta-1][1])+" "+ts.applyToPointStringified(th[0][0],th[0][1])+" "+ts.applyToPointStringified(tl[0][0],tl[0][1])+"z"),tp},SVGElementsRenderer=function(){var ti=new Matrix,tr=new Matrix;function tn(ti,tr,tn){(tn||tr.transform.op._mdf)&&tr.transform.container.setAttribute("opacity",tr.transform.op.v),(tn||tr.transform.mProps._mdf)&&tr.transform.container.setAttribute("transform",tr.transform.mProps.v.to2dCSS())}function ts(){}function ta(tn,ts,ta){var to,th,tl,tp,tf,tu,tc,tm,tg,tv,ty,tb=ts.styles.length,t_=ts.lvl;for(tu=0;tu<tb;tu+=1){if(tp=ts.sh._mdf||ta,ts.styles[tu].lvl<t_){for(tm=tr.reset(),tv=t_-ts.styles[tu].lvl,ty=ts.transformers.length-1;!tp&&tv>0;)tp=ts.transformers[ty].mProps._mdf||tp,tv-=1,ty-=1;if(tp)for(tv=t_-ts.styles[tu].lvl,ty=ts.transformers.length-1;tv>0;)tg=ts.transformers[ty].mProps.v.props,tm.transform(tg[0],tg[1],tg[2],tg[3],tg[4],tg[5],tg[6],tg[7],tg[8],tg[9],tg[10],tg[11],tg[12],tg[13],tg[14],tg[15]),tv-=1,ty-=1}else tm=ti;if(th=(tc=ts.sh.paths)._length,tp){for(tl="",to=0;to<th;to+=1)(tf=tc.shapes[to])&&tf._length&&(tl+=buildShapeString(tf,tf._length,tf.c,tm));ts.caches[tu]=tl}else tl=ts.caches[tu];ts.styles[tu].d+=!0===tn.hd?"":tl,ts.styles[tu]._mdf=tp||ts.styles[tu]._mdf}}function to(ti,tr,tn){var ts=tr.style;(tr.c._mdf||tn)&&ts.pElem.setAttribute("fill","rgb("+bmFloor(tr.c.v[0])+","+bmFloor(tr.c.v[1])+","+bmFloor(tr.c.v[2])+")"),(tr.o._mdf||tn)&&ts.pElem.setAttribute("fill-opacity",tr.o.v)}function th(ti,tr,tn){tl(ti,tr,tn),tp(ti,tr,tn)}function tl(ti,tr,tn){var ts,ta,to,th,tl,tp=tr.gf,tf=tr.g._hasOpacity,tu=tr.s.v,tc=tr.e.v;if(tr.o._mdf||tn){var tm="gf"===ti.ty?"fill-opacity":"stroke-opacity";tr.style.pElem.setAttribute(tm,tr.o.v)}if(tr.s._mdf||tn){var tg=1===ti.t?"x1":"cx",tv="x1"===tg?"y1":"cy";tp.setAttribute(tg,tu[0]),tp.setAttribute(tv,tu[1]),tf&&!tr.g._collapsable&&(tr.of.setAttribute(tg,tu[0]),tr.of.setAttribute(tv,tu[1]))}if(tr.g._cmdf||tn){ts=tr.cst;var ty=tr.g.c;for(to=ts.length,ta=0;ta<to;ta+=1)(th=ts[ta]).setAttribute("offset",ty[4*ta]+"%"),th.setAttribute("stop-color","rgb("+ty[4*ta+1]+","+ty[4*ta+2]+","+ty[4*ta+3]+")")}if(tf&&(tr.g._omdf||tn)){var tb=tr.g.o;for(to=(ts=tr.g._collapsable?tr.cst:tr.ost).length,ta=0;ta<to;ta+=1)th=ts[ta],tr.g._collapsable||th.setAttribute("offset",tb[2*ta]+"%"),th.setAttribute("stop-opacity",tb[2*ta+1])}if(1===ti.t)(tr.e._mdf||tn)&&(tp.setAttribute("x2",tc[0]),tp.setAttribute("y2",tc[1]),tf&&!tr.g._collapsable&&(tr.of.setAttribute("x2",tc[0]),tr.of.setAttribute("y2",tc[1])));else if((tr.s._mdf||tr.e._mdf||tn)&&(tl=Math.sqrt(Math.pow(tu[0]-tc[0],2)+Math.pow(tu[1]-tc[1],2)),tp.setAttribute("r",tl),tf&&!tr.g._collapsable&&tr.of.setAttribute("r",tl)),tr.e._mdf||tr.h._mdf||tr.a._mdf||tn){tl||(tl=Math.sqrt(Math.pow(tu[0]-tc[0],2)+Math.pow(tu[1]-tc[1],2)));var t_=Math.atan2(tc[1]-tu[1],tc[0]-tu[0]),tw=tr.h.v;tw>=1?tw=.99:tw<=-1&&(tw=-.99);
vendor: 4,264 bytes, line 62
62var tx=tl*tw,tk=Math.cos(t_+tr.a.v)*tx+tu[0],tA=Math.sin(t_+tr.a.v)*tx+tu[1];tp.setAttribute("fx",tk),tp.setAttribute("fy",tA),tf&&!tr.g._collapsable&&(tr.of.setAttribute("fx",tk),tr.of.setAttribute("fy",tA))}}function tp(ti,tr,tn){var ts=tr.style,ta=tr.d;ta&&(ta._mdf||tn)&&ta.dashStr&&(ts.pElem.setAttribute("stroke-dasharray",ta.dashStr),ts.pElem.setAttribute("stroke-dashoffset",ta.dashoffset[0])),tr.c&&(tr.c._mdf||tn)&&ts.pElem.setAttribute("stroke","rgb("+bmFloor(tr.c.v[0])+","+bmFloor(tr.c.v[1])+","+bmFloor(tr.c.v[2])+")"),(tr.o._mdf||tn)&&ts.pElem.setAttribute("stroke-opacity",tr.o.v),(tr.w._mdf||tn)&&(ts.pElem.setAttribute("stroke-width",tr.w.v),ts.msElem&&ts.msElem.setAttribute("stroke-width",tr.w.v))}return{createRenderFunction:function(ti){switch(ti.ty){case"fl":return to;case"gf":return tl;case"gs":return th;case"st":return tp;case"sh":case"el":case"rc":case"sr":return ta;case"tr":return tn;case"no":return ts;default:return null}}}}();function SVGShapeElement(ti,tr,tn){this.shapes=[],this.shapesData=ti.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(ti,tr,tn),this.prevViewData=[]}function LetterProps(ti,tr,tn,ts,ta,to){this.o=ti,this.sw=tr,this.sc=tn,this.fc=ts,this.m=ta,this.p=to,this._mdf={o:!0,sw:!!tr,sc:!!tn,fc:!!ts,m:!0,p:!0}}function TextProperty(ti,tr){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=tr,this.elem=ti,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var ti,tr,tn,ts,ta=this.shapes.length,to=this.stylesList.length,th=[],tl=!1;for(tn=0;tn<to;tn+=1){for(ts=this.stylesList[tn],tl=!1,th.length=0,ti=0;ti<ta;ti+=1)-1!==(tr=this.shapes[ti]).styles.indexOf(ts)&&(th.push(tr),tl=tr._isAnimated||tl);th.length>1&&tl&&this.setShapesAsAnimated(th)}},SVGShapeElement.prototype.setShapesAsAnimated=function(ti){var tr,tn=ti.length;for(tr=0;tr<tn;tr+=1)ti[tr].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(ti,tr){var tn,ts=new SVGStyleData(ti,tr),ta=ts.pElem;return"st"===ti.ty?tn=new SVGStrokeStyleData(this,ti,ts):"fl"===ti.ty?tn=new SVGFillStyleData(this,ti,ts):"gf"===ti.ty||"gs"===ti.ty?(tn=new("gf"===ti.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,ti,ts),this.globalData.defs.appendChild(tn.gf),tn.maskId&&(this.globalData.defs.appendChild(tn.ms),this.globalData.defs.appendChild(tn.of),ta.setAttribute("mask","url("+getLocationHref()+"#"+tn.maskId+")"))):"no"===ti.ty&&(tn=new SVGNoStyleData(this,ti,ts)),"st"!==ti.ty&&"gs"!==ti.ty||(ta.setAttribute("stroke-linecap",lineCapEnum[ti.lc||2]),ta.setAttribute("stroke-linejoin",lineJoinEnum[ti.lj||2]),ta.setAttribute("fill-opacity","0"),1===ti.lj&&ta.setAttribute("stroke-miterlimit",ti.ml)),2===ti.r&&ta.setAttribute("fill-rule","evenodd"),ti.ln&&ta.setAttribute("id",ti.ln),ti.cl&&ta.setAttribute("class",ti.cl),ti.bm&&(ta.style["mix-blend-mode"]=getBlendMode(ti.bm)),this.stylesList.push(ts),this.addToAnimatedContents(ti,tn),tn},SVGShapeElement.prototype.createGroupElement=function(ti){var tr=new ShapeGroupData;return ti.ln&&tr.gr.setAttribute("id",ti.ln),ti.cl&&tr.gr.setAttribute("class",ti.cl),ti.bm&&(tr.gr.style["mix-blend-mode"]=getBlendM
vendor: 25,791 bytes, line 62
62ode(ti.bm)),tr},SVGShapeElement.prototype.createTransformElement=function(ti,tr){var tn=TransformPropertyFactory.getTransformProperty(this,ti,this),ts=new SVGTransformData(tn,tn.o,tr);return this.addToAnimatedContents(ti,ts),ts},SVGShapeElement.prototype.createShapeElement=function(ti,tr,tn){var ts=4;"rc"===ti.ty?ts=5:"el"===ti.ty?ts=6:"sr"===ti.ty&&(ts=7);var ta=new SVGShapeData(tr,tn,ShapePropertyFactory.getShapeProp(this,ti,ts,this));return this.shapes.push(ta),this.addShapeToModifiers(ta),this.addToAnimatedContents(ti,ta),ta},SVGShapeElement.prototype.addToAnimatedContents=function(ti,tr){for(var tn=0,ts=this.animatedContents.length;tn<ts;){if(this.animatedContents[tn].element===tr)return;tn+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(ti),element:tr,data:ti})},SVGShapeElement.prototype.setElementStyles=function(ti){var tr,tn=ti.styles,ts=this.stylesList.length;for(tr=0;tr<ts;tr+=1)this.stylesList[tr].closed||tn.push(this.stylesList[tr])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var ti,tr=this.itemsData.length;for(ti=0;ti<tr;ti+=1)this.prevViewData[ti]=this.itemsData[ti];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),tr=this.dynamicProperties.length,ti=0;ti<tr;ti+=1)this.dynamicProperties[ti].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(ti,tr,tn,ts,ta,to,th){var tl,tp,tf,tu,tc,tm,tg=[].concat(to),tv=ti.length-1,ty=[],tb=[];for(tl=tv;tl>=0;tl-=1){if((tm=this.searchProcessedElement(ti[tl]))?tr[tl]=tn[tm-1]:ti[tl]._render=th,"fl"===ti[tl].ty||"st"===ti[tl].ty||"gf"===ti[tl].ty||"gs"===ti[tl].ty||"no"===ti[tl].ty)tm?tr[tl].style.closed=!1:tr[tl]=this.createStyleElement(ti[tl],ta),ti[tl]._render&&tr[tl].style.pElem.parentNode!==ts&&ts.appendChild(tr[tl].style.pElem),ty.push(tr[tl].style);else if("gr"===ti[tl].ty){if(tm)for(tf=tr[tl].it.length,tp=0;tp<tf;tp+=1)tr[tl].prevViewData[tp]=tr[tl].it[tp];else tr[tl]=this.createGroupElement(ti[tl]);this.searchShapes(ti[tl].it,tr[tl].it,tr[tl].prevViewData,tr[tl].gr,ta+1,tg,th),ti[tl]._render&&tr[tl].gr.parentNode!==ts&&ts.appendChild(tr[tl].gr)}else"tr"===ti[tl].ty?(tm||(tr[tl]=this.createTransformElement(ti[tl],ts)),tu=tr[tl].transform,tg.push(tu)):"sh"===ti[tl].ty||"rc"===ti[tl].ty||"el"===ti[tl].ty||"sr"===ti[tl].ty?(tm||(tr[tl]=this.createShapeElement(ti[tl],tg,ta)),this.setElementStyles(tr[tl])):"tm"===ti[tl].ty||"rd"===ti[tl].ty||"ms"===ti[tl].ty||"pb"===ti[tl].ty||"zz"===ti[tl].ty||"op"===ti[tl].ty?(tm?(tc=tr[tl]).closed=!1:((tc=ShapeModifiers.getModifier(ti[tl].ty)).init(this,ti[tl]),tr[tl]=tc,this.shapeModifiers.push(tc)),tb.push(tc)):"rp"===ti[tl].ty&&(tm?(tc=tr[tl]).closed=!0:(tc=ShapeModifiers.getModifier(ti[tl].ty),tr[tl]=tc,tc.init(this,ti,tl,tr),this.shapeModifiers.push(tc),th=!1),tb.push(tc));this.addProcessedElement(ti[tl],tl+1)}for(tv=ty.length,tl=0;tl<tv;tl+=1)ty[tl].closed=!0;for(tv=tb.length,tl=0;tl<tv;tl+=1)tb[tl].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var ti,tr=this.stylesList.length;for(ti=0;ti<tr;ti+=1)this.stylesList[ti].reset();for(this.renderShape(),ti=0;ti<tr;ti+=1)(this.stylesList[ti]._mdf||this._isFirstFrame)&&(this.stylesList[ti].msElem&&(this.stylesList[ti].msElem.setAttribute("d",this.stylesList[ti].d),this.stylesList[ti].d="M0 0"+this.stylesList[ti].d),this.stylesList[ti].pElem.setAttribute("d",this.stylesList[ti].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var ti,tr,tn=this.animatedContents.length;for(ti=0;ti<tn;ti+=1)tr=this.animatedContents[ti],(this._isFirstFrame||tr.element._isAnimated)&&!0!==tr.data&&tr.fn(tr.data,tr.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(ti,tr,tn,ts,ta,to){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 th=!1;return this.o!==ti&&(this.o=ti,this._mdf.o=!0,th=!0),this.sw!==tr&&(this.sw=tr,this._mdf.sw=!0,th=!0),this.sc!==tn&&(this.sc=tn,this._mdf.sc=!0,th=!0),this.fc!==ts&&(this.fc=ts,this._mdf.fc=!0,th=!0),this.m!==ta&&(this.m=ta,this._mdf.m=!0,th=!0),to.length&&(this.p[0]!==to[0]||this.p[1]!==to[1]||this.p[4]!==to[4]||this.p[5]!==to[5]||this.p[12]!==to[12]||this.p[13]!==to[13])&&(this.p=to,this._mdf.p=!0,th=!0),th},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(ti,tr){for(var tn in tr)Object.prototype.hasOwnProperty.call(tr,tn)&&(ti[tn]=tr[tn]);return ti},TextProperty.prototype.setCurrentData=function(ti){ti.__complete||this.completeTextData(ti),this.currentData=ti,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(ti){this.effectsSequence.push(ti),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(ti){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||ti){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var tr=this.currentData,tn=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var ts,ta=this.effectsSequence.length,to=ti||this.data.d.k[this.keysIndex].s;for(ts=0;ts<ta;ts+=1)to=tn!==this.keysIndex?this.effectsSequence[ts](to,to.t):this.effectsSequence[ts](this.currentData,to.t);tr!==to&&this.setCurrentData(to),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var ti=this.data.d.k,tr=this.elem.comp.renderedFrame,tn=0,ts=ti.length;tn<=ts-1&&!(tn===ts-1||ti[tn+1].t>tr);)tn+=1;return this.keysIndex!==tn&&(this.keysIndex=tn),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(ti){for(var tr,tn,ts=[],ta=0,to=ti.length,th=!1;ta<to;)tr=ti.charCodeAt(ta),FontManager.isCombinedCharacter(tr)?ts[ts.length-1]+=ti.charAt(ta):tr>=55296&&tr<=56319?(tn=ti.charCodeAt(ta+1))>=56320&&tn<=57343?(th||FontManager.isModifier(tr,tn)?(ts[ts.length-1]+=ti.substr(ta,2),th=!1):ts.push(ti.substr(ta,2)),ta+=1):ts.push(ti.charAt(ta)):tr>56319?(tn=ti.charCodeAt(ta+1),FontManager.isZeroWidthJoiner(tr,tn)?(th=!0,ts[ts.length-1]+=ti.substr(ta,2),ta+=1):ts.push(ti.charAt(ta))):FontManager.isZeroWidthJoiner(tr)?(ts[ts.length-1]+=ti.charAt(ta),th=!0):ts.push(ti.charAt(ta)),ta+=1;return ts},TextProperty.prototype.completeTextData=function(ti){ti.__complete=!0;var tr,tn,ts,ta,to,th,tl,tp=this.elem.globalData.fontManager,tf=this.data,tu=[],tc=0,tm=tf.m.g,tg=0,tv=0,ty=0,tb=[],t_=0,tw=0,tx=tp.getFontByName(ti.f),tk=0,tA=getFontProperties(tx);ti.fWeight=tA.weight,ti.fStyle=tA.style,ti.finalSize=ti.s,ti.finalText=this.buildFinalText(ti.t),tn=ti.finalText.length,ti.finalLineHeight=ti.lh;var tP,tE=ti.tr/1e3*ti.finalSize;if(ti.sz)for(var tS,tC,tD=!0,tT=ti.sz[0],tM=ti.sz[1];tD;){tS=0,t_=0,tn=(tC=this.buildFinalText(ti.t)).length,tE=ti.tr/1e3*ti.finalSize;var tF=-1;for(tr=0;tr<tn;tr+=1)tP=tC[tr].charCodeAt(0),ts=!1," "===tC[tr]?tF=tr:13!==tP&&3!==tP||(t_=0,ts=!0,tS+=ti.finalLineHeight||1.2*ti.finalSize),tp.chars?(tl=tp.getCharData(tC[tr],tx.fStyle,tx.fFamily),tk=ts?0:tl.w*ti.finalSize/100):tk=tp.measureText(tC[tr],ti.f,ti.finalSize),t_+tk>tT&&" "!==tC[tr]?(-1===tF?tn+=1:tr=tF,tS+=ti.finalLineHeight||1.2*ti.finalSize,tC.splice(tr,tF===tr?1:0,"\r"),tF=-1,t_=0):t_+=tk+tE;tS+=tx.ascent*ti.finalSize/100,this.canResize&&ti.finalSize>this.minimumFontSize&&tM<tS?(ti.finalSize-=1,ti.finalLineHeight=ti.finalSize*ti.lh/ti.s):(ti.finalText=tC,tn=ti.finalText.length,tD=!1)}t_=-tE,tk=0;var tI,tO=0;for(tr=0;tr<tn;tr+=1)if(ts=!1,13===(tP=(tI=ti.finalText[tr]).charCodeAt(0))||3===tP?(tO=0,tb.push(t_),tw=t_>tw?t_:tw,t_=-2*tE,ta="",ts=!0,ty+=1):ta=tI,tp.chars?(tl=tp.getCharData(tI,tx.fStyle,tp.getFontByName(ti.f).fFamily),tk=ts?0:tl.w*ti.finalSize/100):tk=tp.measureText(ta,ti.f,ti.finalSize)," "===tI?tO+=tk+tE:(t_+=tk+tE+tO,tO=0),tu.push({l:tk,an:tk,add:tg,n:ts,anIndexes:[],val:ta,line:ty,animatorJustifyOffset:0}),2==tm){if(tg+=tk,""===ta||" "===ta||tr===tn-1){for(""!==ta&&" "!==ta||(tg-=tk);tv<=tr;)tu[tv].an=tg,tu[tv].ind=tc,tu[tv].extra=tk,tv+=1;tc+=1,tg=0}}else if(3==tm){if(tg+=tk,""===ta||tr===tn-1){for(""===ta&&(tg-=tk);tv<=tr;)tu[tv].an=tg,tu[tv].ind=tc,tu[tv].extra=tk,tv+=1;tg=0,tc+=1}}else tu[tc].ind=tc,tu[tc].extra=0,tc+=1;if(ti.l=tu,tw=t_>tw?t_:tw,tb.push(t_),ti.sz)ti.boxWidth=ti.sz[0],ti.justifyOffset=0;else switch(ti.boxWidth=tw,ti.j){case 1:ti.justifyOffset=-ti.boxWidth;break;case 2:ti.justifyOffset=-ti.boxWidth/2;break;default:ti.justifyOffset=0}ti.lineWidths=tb;var tL,tz,tR,tB,tj=tf.a;th=tj.length;var tV=[];for(to=0;to<th;to+=1){for((tL=tj[to]).a.sc&&(ti.strokeColorAnim=!0),tL.a.sw&&(ti.strokeWidthAnim=!0),(tL.a.fc||tL.a.fh||tL.a.fs||tL.a.fb)&&(ti.fillColorAnim=!0),tB=0,tR=tL.s.b,tr=0;tr<tn;tr+=1)(tz=tu[tr]).anIndexes[to]=tB,(1==tR&&""!==tz.val||2==tR&&""!==tz.val&&" "!==tz.val||3==tR&&(tz.n||" "==tz.val||tr==tn-1)||4==tR&&(tz.n||tr==tn-1))&&(1===tL.s.rn&&tV.push(tB),tB+=1);tf.a[to].s.totalChars=tB;var tN,t$=-1;if(1===tL.s.rn)for(tr=0;tr<tn;tr+=1)t$!=(tz=tu[tr]).anIndexes[to]&&(t$=tz.anIndexes[to],tN=tV.splice(Math.floor(Math.random()*tV.length),1)[0]),tz.anIndexes[to]=tN}ti.yOffset=ti.finalLineHeight||1.2*ti.finalSize,ti.ls=ti.ls||0,ti.ascent=tx.ascent*ti.finalSize/100},TextProperty.prototype.updateDocumentData=function(ti,tr){tr=void 0===tr?this.keysIndex:tr;var tn=this.copyData({},this.data.d.k[tr].s);tn=this.copyData(tn,ti),this.data.d.k[tr].s=tn,this.recalculate(tr),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(ti){var tr=this.data.d.k[ti].s;tr.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(tr)},TextProperty.prototype.canResizeFont=function(ti){this.canResize=ti,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(ti){this.minimumFontSize=Math.floor(ti)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var ti=Math.max,tr=Math.min,tn=Math.floor;function ts(ti,tr){this._currentTextLength=-1,this.k=!1,this.data=tr,this.elem=ti,this.comp=ti.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(ti),this.s=PropertyFactory.getProp(ti,tr.s||{k:0},0,0,this),this.e="e"in tr?PropertyFactory.getProp(ti,tr.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(ti,tr.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(ti,tr.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(ti,tr.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(ti,tr.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(ti,tr.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return ts.prototype={getMult:function(ts){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var ta=0,to=0,th=1,tl=1;this.ne.v>0?ta=this.ne.v/100:to=-this.ne.v/100,this.xe.v>0?th=1-this.xe.v/100:tl=1+this.xe.v/100;var tp=BezierFactory.getBezierEasing(ta,to,th,tl).get,tf=0,tu=this.finalS,tc=this.finalE,tm=this.data.sh;if(2===tm)tf=tp(tf=tc===tu?ts>=tc?1:0:ti(0,tr(.5/(tc-tu)+(ts-tu)/(tc-tu),1)));else if(3===tm)tf=tp(tf=tc===tu?ts>=tc?0:1:1-ti(0,tr(.5/(tc-tu)+(ts-tu)/(tc-tu),1)));else if(4===tm)tc===tu?tf=0:(tf=ti(0,tr(.5/(tc-tu)+(ts-tu)/(tc-tu),1)))<.5?tf*=2:tf=1-2*(tf-.5),tf=tp(tf);else if(5===tm){if(tc===tu)tf=0;else{var tg=tc-tu,tv=-tg/2+(ts=tr(ti(0,ts+.5-tu),tc-tu)),ty=tg/2;tf=Math.sqrt(1-tv*tv/(ty*ty))}tf=tp(tf)}else 6===tm?tf=tp(tf=tc===tu?0:(1+Math.cos(Math.PI+2*Math.PI*(ts=tr(ti(0,ts+.5-tu),tc-tu))/(tc-tu)))/2):(ts>=tn(tu)&&(tf=ti(0,tr(ts-tu<0?tr(tc,1)-(tu-ts):tc-ts,1))),tf=tp(tf));if(100!==this.sm.v){var tb=.01*this.sm.v;0===tb&&(tb=1e-8);var t_=.5-.5*tb;tf<t_?tf=0:(tf=(tf-t_)/tb)>1&&(tf=1)}return tf*this.a.v},getValue:function(ti){this.iterateDynamicProperties(),this._mdf=ti||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,ti&&2===this.data.r&&(this.e.v=this._currentTextLength);var tr=2===this.data.r?1:100/this.data.totalChars,tn=this.o.v/tr,ts=this.s.v/tr+tn,ta=this.e.v/tr+tn;if(ts>ta){var to=ts;ts=ta,ta=to}this.finalS=ts,this.finalE=ta}},extendPrototype([DynamicPropertyContainer],ts),{getTextSelectorProp:function(ti,tr,tn){return new ts(ti,tr,tn)}}}();function TextAnimatorDataProperty(ti,tr,tn){var ts={propType:!1},ta=PropertyFactory.getProp,to=tr.a;this.a={r:to.r?ta(ti,to.r,0,degToRads,tn):ts,rx:to.rx?ta(ti,to.rx,0,degToRads,tn):ts,ry:to.ry?ta(ti,to.ry,0,degToRads,tn):ts,sk:to.sk?ta(ti,to.sk,0,degToRads,tn):ts,sa:to.sa?ta(ti,to.sa,0,degToRads,tn):ts,s:to.s?ta(ti,to.s,1,.01,tn):ts,a:to.a?ta(ti,to.a,1,0,tn):ts,o:to.o?ta(ti,to.o,0,.01,tn):ts,p:to.p?ta(ti,to.p,1,0,tn):ts,sw:to.sw?ta(ti,to.sw,0,0,tn):ts,sc:to.sc?ta(ti,to.sc,1,0,tn):ts,fc:to.fc?ta(ti,to.fc,1,0,tn):ts,fh:to.fh?ta(ti,to.fh,0,0,tn):ts,fs:to.fs?ta(ti,to.fs,0,.01,tn):ts,fb:to.fb?ta(ti,to.fb,0,.01,tn):ts,t:to.t?ta(ti,to.t,0,0,tn):ts},this.s=TextSelectorProp.getTextSelectorProp(ti,tr.s,tn),this.s.t=tr.s.t}function TextAnimatorProperty(ti,tr,tn){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=ti,this._renderType=tr,this._elem=tn,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(tn)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var ti,tr,tn=this._textData.a.length,ts=PropertyFactory.getProp;for(ti=0;ti<tn;ti+=1)tr=this._textData.a[ti],this._animatorsData[ti]=new TextAnimatorDataProperty(this._elem,tr,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:ts(this._elem,this._textData.p.a,0,0,this),f:ts(this._elem,this._textData.p.f,0,0,this),l:ts(this._elem,this._textData.p.l,0,0,this),r:ts(this._elem,this._textData.p.r,0,0,this),p:ts(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=ts(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(ti,tr){if(this.lettersChangedFlag=tr,this._mdf||this._isFirstFrame||tr||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var tn,ts,ta,to,th,tl,tp,tf,tu,tc,tm,tg,tv,ty,tb,t_,tw,tx,tk,tA=this._moreOptions.alignment.v,tP=this._animatorsData,tE=this._textData,tS=this.mHelper,tC=this._renderType,tD=this.renderedLetters.length,tT=ti.l;if(this._hasMaskedPath){if(tk=this._pathData.m,!this._pathData.n||this._pathData._mdf){var tM,tF=tk.v;for(this._pathData.r.v&&(tF=tF.reverse()),th={tLength:0,segments:[]},to=tF._length-1,t_=0,ta=0;ta<to;ta+=1)tM=bez.buildBezierData(tF.v[ta],tF.v[ta+1],[tF.o[ta][0]-tF.v[ta][0],tF.o[ta][1]-tF.v[ta][1]],[tF.i[ta+1][0]-tF.v[ta+1][0],tF.i[ta+1][1]-tF.v[ta+1][1]]),th.tLength+=tM.segmentLength,th.segments.push(tM),t_+=tM.segmentLength;ta=to,tk.v.c&&(tM=bez.buildBezierData(tF.v[ta],tF.v[0],[tF.o[ta][0]-tF.v[ta][0],tF.o[ta][1]-tF.v[ta][1]],[tF.i[0][0]-tF.v[0][0],tF.i[0][1]-tF.v[0][1]]),th.tLength+=tM.segmentLength,th.segments.push(tM),t_+=tM.segmentLength),this._pathData.pi=th}if(th=this._pathData.pi,tl=this._pathData.f.v,tm=0,tc=1,tf=0,tu=!0,ty=th.segments,tl<0&&tk.v.c)for(th.tLength<Math.abs(tl)&&(tl=-Math.abs(tl)%th.tLength),tc=(tv=ty[tm=ty.length-1].points).length-1;tl<0;)tl+=tv[tc].partialLength,(tc-=1)<0&&(tc=(tv=ty[tm-=1].points).length-1);tg=(tv=ty[tm].points)[tc-1],tb=(tp=tv[tc]).partialLength}to=tT.length,tn=0,ts=0;var tI,tO,tL,tz,tR,tB=1.2*ti.finalSize*.714,tj=!0;tL=tP.length;var tV,tN,t$,tG,tq,tH,tW,tU,tY,tX,tK,tJ,tZ=-1,tQ=tl,t0=tm,t1=tc,t2=-1,t3="",t5=this.defaultPropsArray;if(2===ti.j||1===ti.j){var t4=0,t6=0,t8=2===ti.j?-.5:-1,t9=0,t7=!0;for(ta=0;ta<to;ta+=1)if(tT[ta].n){for(t4&&(t4+=t6);t9<ta;)tT[t9].animatorJustifyOffset=t4,t9+=1;t4=0,t7=!0}else{for(tO=0;tO<tL;tO+=1)(tI=tP[tO].a).t.propType&&(t7&&2===ti.j&&(t6+=tI.t.v*t8),(tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars)).length?t4+=tI.t.v*tR[0]*t8:t4+=tI.t.v*tR*t8);t7=!1}for(t4&&(t4+=t6);t9<ta;)tT[t9].animatorJustifyOffset=t4,t9+=1}for(ta=0;ta<to;ta+=1){if(tS.reset(),tG=1,tT[ta].n)tn=0,ts+=ti.yOffset+(tj?1:0),tl=tQ,tj=!1,this._hasMaskedPath&&(tc=t1,tg=(tv=ty[tm=t0].points)[tc-1],tb=(tp=tv[tc]).partialLength,tf=0),t3="",tK="",tY="",tJ="",t5=this.defaultPropsArray;else{if(this._hasMaskedPath){if(t2!==tT[ta].line){switch(ti.j){case 1:tl+=t_-ti.lineWidths[tT[ta].line];break;case 2:tl+=(t_-ti.lineWidths[tT[ta].line])/2}t2=tT[ta].line}tZ!==tT[ta].ind&&(tT[tZ]&&(tl+=tT[tZ].extra),tl+=tT[ta].an/2,tZ=tT[ta].ind),tl+=tA[0]*tT[ta].an*.005;var ee=0;for(tO=0;tO<tL;tO+=1)(tI=tP[tO].a).p.propType&&((tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars)).length?ee+=tI.p.v[0]*tR[0]:ee+=tI.p.v[0]*tR),tI.a.propType&&((tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars)).length?ee+=tI.a.v[0]*tR[0]:ee+=tI.a.v[0]*tR);for(tu=!0,this._pathData.a.v&&(tl=.5*tT[0].an+(t_-this._pathData.f.v-.5*tT[0].an-.5*tT[tT.length-1].an)*tZ/(to-1)+this._pathData.f.v);tu;)tf+tb>=tl+ee||!tv?(tw=(tl+ee-tf)/tp.partialLength,tN=tg.point[0]+(tp.point[0]-tg.point[0])*tw,t$=tg.point[1]+(tp.point[1]-tg.point[1])*tw,tS.translate(-tA[0]*tT[ta].an*.005,-tA[1]*tB*.01),tu=!1):tv&&(tf+=tp.partialLength,(tc+=1)>=tv.length&&(tc=0,ty[tm+=1]?tv=ty[tm].points:tk.v.c?(tc=0,tv=ty[tm=0].points):(tf-=tp.partialLength,tv=null)),tv&&(tg=tp,tb=(tp=tv[tc]).partialLength));tV=tT[ta].an/2-tT[ta].add,tS.translate(-tV,0,0)}else tV=tT[ta].an/2-tT[ta].add,tS.translate(-tV,0,0),tS.translate(-tA[0]*tT[ta].an*.005,-tA[1]*tB*.01,0);for(tO=0;tO<tL;tO+=1)(tI=tP[tO].a).t.propType&&(tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars),0===tn&&0===ti.j||(this._hasMaskedPath?tR.length?tl+=tI.t.v*tR[0]:tl+=tI.t.v*tR:tR.length?tn+=tI.t.v*tR[0]:tn+=tI.t.v*tR));for(ti.strokeWidthAnim&&(tH=ti.sw||0),ti.strokeColorAnim&&(tq=ti.sc?[ti.sc[0],ti.sc[1],ti.sc[2]]:[0,0,0]),ti.fillColorAnim&&ti.fc&&(tW=[ti.fc[0],ti.fc[1],ti.fc[2]]),tO=0;tO<tL;tO+=1)(tI=tP[tO].a).a.propType&&((tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars)).length?tS.translate(-tI.a.v[0]*tR[0],-tI.a.v[1]*tR[1],tI.a.v[2]*tR[2]):tS.translate(-tI.a.v[0]*tR,-tI.a.v[1]*tR,tI.a.v[2]*tR));for(tO=0;tO<tL;tO+=1)(tI=tP[tO].a).s.propType&&((tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars)).length?tS.scale(1+(tI.s.v[0]-1)*tR[0],1+(tI.s.v[1]-1)*tR[1],1):tS.scale(1+(tI.s.v[0]-1)*tR,1+(tI.s.v[1]-1)*tR,1));for(tO=0;tO<tL;tO+=1){if(tI=tP[tO].a,tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars),tI.sk.propType&&(tR.length?tS.skewFromAxis(-tI.sk.v*tR[0],tI.sa.v*tR[1]):tS.skewFromAxis(-tI.sk.v*tR,tI.sa.v*tR)),tI.r.propType&&(tR.length?tS.rotateZ(-tI.r.v*tR[2]):tS.rotateZ(-tI.r.v*tR)),tI.ry.propType&&(tR.length?tS.rotateY(tI.ry.v*tR[1]):tS.rotateY(tI.ry.v*tR)),tI.rx.propType&&(tR.length?tS.rotateX(tI.rx.v*tR[0]):tS.rotateX(tI.rx.v*tR)),tI.o.propType&&(tR.length?tG+=(tI.o.v*tR[0]-tG)*tR[0]:tG+=(tI.o.v*tR-tG)*tR),ti.strokeWidthAnim&&tI.sw.propType&&(tR.length?tH+=tI.sw.v*tR[0]:tH+=tI.sw.v*tR),ti.strokeColorAnim&&tI.sc.propType)for(tU=0;tU<3;tU+=1)tR.length?tq[tU]+=(tI.sc.v[tU]-tq[tU])*tR[0]:tq[tU]+=(tI.sc.v[tU]-tq[tU])*tR;if(ti.fillColorAnim&&ti.fc){if(tI.fc.propType)for(tU=0;tU<3;tU+=1)tR.length?tW[tU]+=(tI.fc.v[tU]-tW[tU])*tR[0]:tW[tU]+=(tI.fc.v[tU]-tW[tU])*tR;tI.fh.propType&&(tW=tR.length?addHueToRGB(tW,tI.fh.v*tR[0]):addHueToRGB(tW,tI.fh.v*tR)),tI.fs.propType&&(tW=tR.length?addSaturationToRGB(tW,tI.fs.v*tR[0]):addSaturationToRGB(tW,tI.fs.v*tR)),tI.fb.propType&&(tW=tR.length?addBrightnessToRGB(tW,tI.fb.v*tR[0]):addBrightnessToRGB(tW,tI.fb.v*tR))}}for(tO=0;tO<tL;tO+=1)(tI=tP[tO].a).p.propType&&(tR=tP[tO].s.getMult(tT[ta].anIndexes[tO],tE.a[tO].s.totalChars),this._hasMaskedPath?tR.length?tS.translate(0,tI.p.v[1]*tR[0],-tI.p.v[2]*tR[1]):tS.translate(0,tI.p.v[1]*tR,-tI.p.v[2]*tR):tR.length?tS.translate(tI.p.v[0]*tR[0],tI.p.v[1]*tR[1],-tI.p.v[2]*tR[2]):tS.translate(tI.p.v[0]*tR,tI.p.v[1]*tR,-tI.p.v[2]*tR));if(ti.strokeWidthAnim&&(tY=tH<0?0:tH),ti.strokeColorAnim&&(tX="rgb("+Math.round(255*tq[0])+","+Math.round(255*tq[1])+","+Math.round(255*tq[2])+")"),ti.fillColorAnim&&ti.fc&&(tK="rgb("+Math.round(255*tW[0])+","+Math.round(255*tW[1])+","+Math.round(255*tW[2])+")"),this._hasMaskedPath){if(tS.translate(0,-ti.ls),tS.translate(0,tA[1]*tB*.01+ts,0),this._pathData.p.v){var ei=180*Math.atan(tx=(tp.point[1]-tg.point[1])/(tp.point[0]-tg.point[0]))/Math.PI;tp.point[0]<tg.point[0]&&(ei+=180),tS.rotate(-ei*Math.PI/180)}tS.translate(tN,t$,0),tl-=tA[0]*tT[ta].an*.005,tT[ta+1]&&tZ!==tT[ta+1].ind&&(tl+=tT[ta].an/2+.001*ti.tr*ti.finalSize)}else{switch(tS.translate(tn,ts,0),ti.ps&&tS.translate(ti.ps[0],ti.ps[1]+ti.ascent,0),ti.j){case 1:tS.translate(tT[ta].animatorJustifyOffset+ti.justifyOffset+(ti.boxWidth-ti.lineWidths[tT[ta].line]),0,0);break;case 2:tS.translate(tT[ta].animatorJustifyOffset+ti.justifyOffset+(ti.boxWidth-ti.lineWidths[tT[ta].line])/2,0,0)}tS.translate(0,-ti.ls),tS.translate(tV,0,0),tS.translate(tA[0]*tT[ta].an*.005,tA[1]*tB*.01,0),tn+=tT[ta].l+.001*ti.tr*ti.finalSize}"html"===tC?t3=tS.toCSS():"svg"===tC?t3=tS.to2dCSS():t5=[tS.props[0],tS.props[1],tS.props[2],tS.props[3],tS.props[4],tS.props[5],tS.props[6],tS.props[7],tS.props[8],tS.props[9],tS.props[10],tS.props[11],tS.props[12],tS.props[13],tS.props[14],tS.props[15]],tJ=tG}tD<=ta?(tz=new LetterProps(tJ,tY,tX,tK,t3,t5),this.renderedLetters.push(tz),tD+=1,this.lettersChangedFlag=!0):(tz=this.renderedLetters[ta],this.lettersChangedFlag=tz.update(tJ,tY,tX,tK,t3,t5)||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),ITextElement.prototype.initElement=function(ti,tr,tn){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(ti,tr,tn),this.textProperty=new TextProperty(this,ti.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(ti.t,this.renderType,this),this.initTransform(ti,tr,tn),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(ti){this._mdf=!1,this.prepareRenderableFrame(ti),this.prepareProperties(ti,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(ti,tr){var tn,ts,ta=tr.length,to="";for(tn=0;tn<ta;tn+=1)"sh"===tr[tn].ty&&(to+=buildShapeString(ts=tr[tn].ks.k,ts.i.length,!0,ti));return to},ITextElement.prototype.updateDocumentData=function(ti,tr){this.textProperty.updateDocumentData(ti,tr)},ITextElement.prototype.canResizeFont=function(ti){this.textProperty.canResizeFont(ti)},ITextElement.prototype.setMinimumFontSize=function(ti){this.textProperty.setMinimumFontSize(ti)},ITextElement.prototype.applyTextPropertiesToMatrix=function(ti,tr,tn,ts,ta){switch(ti.ps&&tr.translate(ti.ps[0],ti.ps[1]+ti.ascent,0),tr.translate(0,-ti.ls,0),ti.j){case 1:tr.translate(ti.justifyOffset+(ti.boxWidth-ti.lineWidths[tn]),0,0);break;case 2:tr.translate(ti.justifyOffset+(ti.boxWidth-ti.lineWidths[tn])/2,0,0)}tr.translate(ts,ta,0)},ITextElement.prototype.buildColor=function(ti){return"rgb("+Math.round(255*ti[0])+","+Math.round(255*ti[1])+","+Math.round(255*ti[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(ti,tr,tn){this.textSpans=[],this.renderType="svg",this.initElement(ti,tr,tn)}function ISolidElement(ti,tr,tn){this.initElement(ti,tr,tn)}function NullElement(ti,tr,tn){this.initFrame(),this.initBaseData(ti,tr,tn),this.initFrame(),this.initTransform(ti,tr,tn),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(ti,tr,tn){this.layers=ti.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(ti,tr,tn),this.tm=ti.tm?PropertyFactory.getProp(this,ti.tm,0,tr.frameRate,this):{_placeholder:!0}}function SVGRenderer(ti,tr){this.animationItem=ti,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var tn="";if(tr&&tr.title){var ts=createNS("title"),ta=createElementID();ts.setAttribute("id",ta),ts.textContent=tr.title,this.svgElement.appendChild(ts),tn+=ta}if(tr&&tr.description){var to=createNS("desc"),th=createElementID();to.setAttribute("id",th),to.textContent=tr.description,this.svgElement.appendChild(to),tn+=" "+th}tn&&this.svgElement.setAttribute("aria-labelledby",tn);var tl=createNS("defs");this.svgElement.appendChild(tl);var tp=createNS("g");this.svgElement.appendChild(tp),this.layerElement=tp,this.renderConfig={preserveAspectRatio:tr&&tr.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:tr&&tr.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:tr&&tr.contentVisibility||"visible",progressiveLoad:tr&&tr.progressiveLoad||!1,hideOnTransparent:!(tr&&!1===tr.hideOnTransparent),viewBoxOnly:tr&&tr.viewBoxOnly||!1,viewBoxSize:tr&&tr.viewBoxSize||!1,className:tr&&tr.className||"",id:tr&&tr.id||"",focusable:tr&&tr.focu
vendor: 3,253 bytes, line 62
62sable,filterSize:{width:tr&&tr.filterSize&&tr.filterSize.width||"100%",height:tr&&tr.filterSize&&tr.filterSize.height||"100%",x:tr&&tr.filterSize&&tr.filterSize.x||"0%",y:tr&&tr.filterSize&&tr.filterSize.y||"0%"},width:tr&&tr.width,height:tr&&tr.height,runExpressions:!tr||void 0===tr.runExpressions||tr.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:tl,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var ti;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),ti=0;ti<15;ti+=1)this.saved[ti]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(ti,tr){this.data=ti,this.element=tr,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var tn,ts=this.masksProperties.length,ta=!1;for(tn=0;tn<ts;tn+=1)"n"!==this.masksProperties[tn].mode&&(ta=!0),this.viewData[tn]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[tn],3);this.hasMasks=ta,ta&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(ti,tr,tn,ts){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var ta,to=4;"rc"===tr.ty?to=5:"el"===tr.ty?to=6:"sr"===tr.ty&&(to=7),this.sh=ShapePropertyFactory.getShapeProp(ti,tr,to,ti);var th,tl=tn.length;for(ta=0;ta<tl;ta+=1)tn[ta].closed||(th={transforms:ts.addTransformSequence(tn[ta].transforms),trNodes:[]},this.styledShapes.push(th),tn[ta].elements.push(th))}function CVShapeElement(ti,tr,tn){this.shapes=[],this.shapesData=ti.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(ti,tr,tn)}function CVTextElement(ti,tr,tn){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(ti,tr,tn)}function CVImageElement(ti,tr,tn){this.assetData=tr.getAssetData(ti.refId),this.img=tr.imageLoader.getAsset(this.assetData),this.initElement(ti,tr,tn)}function CVSolidElement(ti,tr,tn){this.initElement(ti,tr,tn)}function CanvasRendererBase(ti,tr){this.animationItem=ti,this.renderConfig={clearCanvas:!tr||void 0===tr.clearCanvas||tr.clearCanvas,context:tr&&tr.context||null,progressiveLoad:tr&&tr.progressiveLoad||!1,preserveAspectRatio:tr&&tr.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:tr&&tr.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:tr&&tr.contentVisibility||"visible",className:tr&&tr.className||"",id:tr&&tr.id||""},this.renderConfig.dpr=tr&&tr.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=tr&&tr.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: 1,172 bytes, line 62
62w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(ti,tr,tn){this.completeLayers=!1,this.layers=ti.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(ti,tr,tn),this.tm=ti.tm?PropertyFactory.getProp(this,ti.tm,0,tr.frameRate,this):{_placeholder:!0}}function CanvasRenderer(ti,tr){this.animationItem=ti,this.renderConfig={clearCanvas:!tr||void 0===tr.clearCanvas||tr.clearCanvas,context:tr&&tr.context||null,progressiveLoad:tr&&tr.progressiveLoad||!1,preserveAspectRatio:tr&&tr.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:tr&&tr.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:tr&&tr.contentVisibility||"visible",className:tr&&tr.className||"",id:tr&&tr.id||"",runExpressions:!tr||void 0===tr.runExpressions||tr.runExpressions},this.renderConfig.dpr=tr&&tr.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=tr&&tr.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: 8,495 bytes, line 62
62w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(ti,tr,tn){this.initElement(ti,tr,tn)}function HShapeElement(ti,tr,tn){this.shapes=[],this.shapesData=ti.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(ti,tr,tn),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(ti,tr,tn){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(ti,tr,tn)}function HCameraElement(ti,tr,tn){this.initFrame(),this.initBaseData(ti,tr,tn),this.initHierarchy();var ts=PropertyFactory.getProp;if(this.pe=ts(this,ti.pe,0,0,this),ti.ks.p.s?(this.px=ts(this,ti.ks.p.x,1,0,this),this.py=ts(this,ti.ks.p.y,1,0,this),this.pz=ts(this,ti.ks.p.z,1,0,this)):this.p=ts(this,ti.ks.p,1,0,this),ti.ks.a&&(this.a=ts(this,ti.ks.a,1,0,this)),ti.ks.or.k.length&&ti.ks.or.k[0].to){var ta,to=ti.ks.or.k.length;for(ta=0;ta<to;ta+=1)ti.ks.or.k[ta].to=null,ti.ks.or.k[ta].ti=null}this.or=ts(this,ti.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=ts(this,ti.ks.rx,0,degToRads,this),this.ry=ts(this,ti.ks.ry,0,degToRads,this),this.rz=ts(this,ti.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(ti,tr,tn){this.assetData=tr.getAssetData(ti.refId),this.initElement(ti,tr,tn)}function HybridRendererBase(ti,tr){this.animationItem=ti,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:tr&&tr.className||"",imagePreserveAspectRatio:tr&&tr.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(tr&&!1===tr.hideOnTransparent),filterSize:{width:tr&&tr.filterSize&&tr.filterSize.width||"400%",height:tr&&tr.filterSize&&tr.filterSize.height||"400%",x:tr&&tr.filterSize&&tr.filterSize.x||"-100%",y:tr&&tr.filterSize&&tr.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 HCompElement(ti,tr,tn){this.layers=ti.layers,this.supports3d=!ti.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(ti,tr,tn),this.tm=ti.tm?PropertyFactory.getProp(this,ti.tm,0,tr.frameRate,this):{_placeholder:!0}}function HybridRenderer(ti,tr){this.animationItem=ti,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:tr&&tr.className||"",imagePreserveAspectRatio:tr&&tr.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(tr&&!1===tr.hideOnTransparent),filterSize:{width:tr&&tr.filterSize&&tr.filterSize.width||"400%",height:tr&&tr.filterSize&&tr.filterSize.height||"400%",x:tr&&tr.filterSize&&tr.filterSize.x||"-100%",y:tr&&tr.filterSize&&tr.filterSize.y||"-100%"},runExpressions:!tr||void 0===tr.runExpressions||tr.runExpressions},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"}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(ti){for(var tr=0,tn=ti.length,ts=[],ta="";tr<tn;)"\r"===ti[tr]||"\x03"===ti[tr]?(ts.push(ta),ta=""):ta+=ti[tr],tr+=1;return ts.push(ta),ts},SVGTextLottieElement.prototype.buildShapeData=function(ti,tr){if(ti.shapes&&ti.shapes.length){var tn=ti.shapes[0];if(tn.it){var ts=tn.it[tn.it.length-1];ts.s&&(ts.s.k[0]=tr,ts.s.k[1]=tr)}}return ti},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var ti=this.textProperty.currentData;this.renderedLetters=createSizedArray(ti?ti.l.length:0),ti.fc?this.layerElement.setAttribute("fill",this.buildColor(ti.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),ti.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(ti.sc)),this.layerElement.setAttribute("stroke-width",ti.sw)),this.layerElement.setAttribute("font-size",ti.finalSize);var tr=this.globalData.fontManager.getFontByName(ti.f);if(tr.fClass)this.layerElement.setAttribute("class",tr.fClass);else{this.layerElement.setAttribute("font-family",tr.fFamily);var tn=ti.fWeight,ts=ti.fStyle;this.layerElement.setAttribute("font-style",ts),this.layerElement.setAttribute("font-weight",tn)}this.layerElement.setAttribute("aria-label",ti.t);var ta,to,th,tl=ti.l||[],tp=!!this.globalData.fontManager.chars;to=tl.length;var tf=this.mHelper,tu=this.data.singleShape,tc=0,tm=0,tg=!0,tv=.001*ti.tr*ti.finalSize;if(!tu||tp||ti.sz){var ty,tb=this.textSpans.length;for(ta=0;ta<to;ta+=1){if(this.textSpans[ta]||(this.textSpans[ta]={span:null,childSpan:null,glyph:null}),!tp||!tu||0===ta){if(th=tb>ta?this.textSpans[ta].span:createNS(tp?"g":"text"),tb<=ta){if(th.setAttribute("stroke-linecap","butt"),th.setAttribute("stroke-linejoin","round"),th.setAttribute("stroke-miterlimit","4"),this.textSpans[ta].span=th,tp){var t_,tw=createNS("g");th.appendChild(tw),this.textSpans[ta].childSpan=tw}this.textSpans[ta].span=th,this.layerElement.appendChild(th)}th.style.display="inherit"}if(tf.reset(),tu&&(tl[ta].n&&(tc=-tv,tm+=ti.yOffset+(tg?1:0),tg=!1),this.applyTextPropertiesToMatrix(ti,tf,tl[ta].line,tc,tm),tc+=(tl[ta].l||0)+tv),tp){if(1===(ty=this.globalData.fontManager.getCharData(ti.finalText[ta],tr.fStyle,this.globalData.fontManager.getFontByName(ti.f).fFamily)).t)t_=new SVGCompElement(ty.data,this.globalData,this);else{var tx=emptyShapeData;ty.data&&ty.data.shapes&&(tx=this.buildShapeData(ty.data,ti.finalSize)),t_=new SVGShapeElement(tx,this.globalData,this)}if(this.textSpans[ta].glyph){var tk=this.textSpans[ta].glyph;this.textSpans[ta].childSpan.removeChild(tk.layerElement),tk.destroy()}this.textSpans[ta].glyph=t_,t_._debug=!0,t_.prepareFrame(0),t_.renderFrame(),this.textSpans[ta].childSpan.appendChild(t_.layerElement),1===ty.t&&this.textSpans[ta].childSpan.setAttribute("transform","scale("+ti.finalSize/100+","+ti.finalSize/100+")")}else tu&&th.setAttribute("transform","translate("+tf.props[12]+","+tf.props[13]+")"),th.textContent=tl[ta].val,th.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}tu&&th&&th.setAttribute("d","")}else{var tA=this.textContainer,tP="start";switch(ti.j){case 1:tP="end";break;case 2:tP="middle";break;default:tP="start"}tA.setAttribute("text-anchor",tP),tA.setAttribute("letter-spacing",tv);var tE=this.buildTextContents(ti.finalText);for(to=tE.length,tm=ti.ps?ti.ps[1]+ti.ascent:0,ta=0;ta<to;ta+=1)(th=this.textSpans[ta].span||createNS("tspan")).textContent=tE[ta],th.setAttribute("x",0),th.setAttribute("y",tm),th.style.display="inherit",tA.appendChild(th),this.textSpans[ta]||(this.textSpans[ta]={span:null,glyph:null}),this.textSpans[ta].span=th,tm+=ti.finalLineHeight;this.layerElement.appendChild(tA)}for(;ta<this.textSpans.length;)this.textSpans[ta].span.style.display="none",ta+=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 ti=this.layerElement.getBBox();this.bbox={top:ti.y,left:ti.x,width:ti.width,height:ti.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var ti,tr,tn=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,ti=0;ti<tn;ti+=1)(tr=this.textSpans[ti].glyph)&&(tr.prepareFrame(this.comp.renderedFrame-this.data.st),tr._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var ti,tr,tn,ts,ta,to=this.textAnimator.renderedLetters,th=this.textProperty.currentData.l;for(tr=th.length,ti=0;ti<tr;ti+=1)th[ti].n||(tn=to[ti],ts=this.textSpans[ti].span,(ta=this.textSpans[ti].glyph)&&ta.renderFrame(),tn._mdf.m&&ts.setAttribute("transform",tn.m),tn._mdf.o&&ts.setAttribute("op
62acity",tn.o),tn._mdf.sw&&ts.setAttribute("stroke-width",tn.sw),tn._mdf.sc&&ts.setAttribute("stroke",tn.sc),tn._mdf.fc&&ts.setAttribute("fill",tn.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var ti=createNS("rect");ti.setAttribute("width",this.data.sw),ti.setAttribute("height",this.data.sh),ti.setAttribute("fill",this.data.sc),this.layerElement.appendChild(ti)},NullElement.prototype.prepareFrame=function(ti){this.prepareProperties(ti,!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),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(ti){return new NullElement(ti,this.globalData,this)},SVGRendererBase.prototype.createShape=function(ti){return new SVGShapeElement(ti,this.globalData,this)},SVGRendererBase.prototype.createText=function(ti){return new SVGTextLottieElement(ti,this.globalData,this)},SVGRendererBase.prototype.createImage=function(ti){return new IImageElement(ti,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(ti){return new ISolidElement(ti,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(ti){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+ti.w+" "+ti.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",ti.w),this.svgElement.setAttribute("height",ti.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),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 tr=this.globalData.defs;this.setupGlobalData(ti,tr),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=ti;var tn=createNS("clipPath"),ts=createNS("rect");ts.setAttribute("width",ti.w),ts.setAttribute("height",ti.h),ts.setAttribute("x",0),ts.setAttribute("y",0);var ta=createElementID();tn.setAttribute("id",ta),tn.appendChild(ts),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+ta+")"),tr.appendChild(tn),this.layers=ti.layers,this.elements=createSizedArray(ti.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var ti,tr=this.layers?this.layers.length:0;for(ti=0;ti<tr;ti+=1)this.elements[ti]&&this.elements[ti].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(ti){var tr=0,tn=this.layers.length;for(tr=0;tr<tn;tr+=1)if(this.layers[tr].ind===ti)return tr;return -1},SVGRendererBase.prototype.buildItem=function(ti){var tr=this.elements;if(!tr[ti]&&99!==this.layers[ti].ty){tr[ti]=!0;var tn=this.createItem(this.layers[ti]);if(tr[ti]=tn,getExpressionsPlugin()&&(0===this.layers[ti].ty&&this.globalData.projectInterface.registerComposition(tn),tn.initExpressions()),this.appendElementInPos(tn,ti),this.layers[ti].tt){var ts="tp"in this.layers[ti]?this.findIndexByInd(this.layers[ti].tp):ti-1;if(-1===ts)return;if(this.elements[ts]&&!0!==this.elements[ts]){var ta=tr[ts].getMatte(this.layers[ti].tt);tn.setMatte(ta)}else this.buildItem(ts),this.addPendingElement(tn)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var ti=this.pendingElements.pop();if(ti.checkParenting(),ti.data.tt)for(var tr=0,tn=this.elements.length;tr<tn;){if(this.elements[tr]===ti){var ts="tp"in ti.data?this.findIndexByInd(ti.data.tp):tr-1,ta=this.elements[ts].getMatte(this.layers[tr].tt);ti.setMatte(ta);break}tr+=1}}},SVGRendererBase.prototype.renderFrame=function(ti){if(this.renderedFrame!==ti&&!this.destroyed){null===ti?ti=this.renderedFrame:this.renderedFrame=ti,this.globalData.frameNum=ti,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=ti,this.globalData._mdf=!1;var tr,tn=this.layers.length;for(this.completeLayers||this.checkLayers(ti),tr=tn-1;tr>=0;tr-=1)(this.completeLayers||this.elements[tr])&&this.elements[tr].prepareFrame(ti-this.layers[tr].st);if(this.globalData._mdf)for(tr=0;tr<tn;tr+=1)(this.completeLayers||this.elements[tr])&&this.elements[tr].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(ti,tr){var tn=ti.getBaseElement();if(tn){for(var ts,ta=0;ta<tr;)this.elements[ta]&&!0!==this.elements[ta]&&this.elements[ta].getBaseElement()&&
vendor: 18,269 bytes, line 62
62(ts=this.elements[ta].getBaseElement()),ta+=1;ts?this.layerElement.insertBefore(tn,ts):this.layerElement.appendChild(tn)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(ti,tr,tn){this.initFrame(),this.initBaseData(ti,tr,tn),this.initTransform(ti,tr,tn),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&tr.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(ti){if(this._mdf=!1,this.prepareRenderableFrame(ti),this.prepareProperties(ti,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=ti/this.data.sr;else{var tr=this.tm.v;tr===this.data.op&&(tr=this.data.op-1),this.renderedFrame=tr}var tn,ts=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),tn=ts-1;tn>=0;tn-=1)(this.completeLayers||this.elements[tn])&&(this.elements[tn].prepareFrame(this.renderedFrame-this.layers[tn].st),this.elements[tn]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var ti,tr=this.layers.length;for(ti=0;ti<tr;ti+=1)(this.completeLayers||this.elements[ti])&&this.elements[ti].renderFrame()},ICompElement.prototype.setElements=function(ti){this.elements=ti},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var ti,tr=this.layers.length;for(ti=0;ti<tr;ti+=1)this.elements[ti]&&this.elements[ti].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(ti){return new SVGCompElement(ti,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(ti){return new SVGCompElement(ti,this.globalData,this)},CVContextData.prototype.duplicate=function(){var ti=2*this._length,tr=this.savedOp;this.savedOp=createTypedArray("float32",ti),this.savedOp.set(tr);var tn=0;for(tn=this._length;tn<ti;tn+=1)this.saved[tn]=createTypedArray("float32",16);this._length=ti},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(ti){var tr,tn=ti.length,ts="_";for(tr=0;tr<tn;tr+=1)ts+=ti[tr].transform.key+"_";var ta=this.sequences[ts];return ta||(ta={transforms:[].concat(ti),finalTransform:new Matrix,_mdf:!1},this.sequences[ts]=ta,this.sequenceList.push(ta)),ta},processSequence:function(ti,tr){for(var tn,ts=0,ta=ti.transforms.length,to=tr;ts<ta&&!tr;){if(ti.transforms[ts].transform.mProps._mdf){to=!0;break}ts+=1}if(to)for(ti.finalTransform.reset(),ts=ta-1;ts>=0;ts-=1)tn=ti.transforms[ts].transform.mProps.v.props,ti.finalTransform.transform(tn[0],tn[1],tn[2],tn[3],tn[4],tn[5],tn[6],tn[7],tn[8],tn[9],tn[10],tn[11],tn[12],tn[13],tn[14],tn[15]);ti._mdf=to},processSequences:function(ti){var tr,tn=this.sequenceList.length;for(tr=0;tr<tn;tr+=1)this.processSequence(this.sequenceList[tr],ti)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var ti,tr,tn,ts,ta=this.element.finalTransform.mat,to=this.element.canvasContext,th=this.masksProperties.length;for(to.beginPath(),ti=0;ti<th;ti+=1)if("n"!==this.masksProperties[ti].mode){this.masksProperties[ti].inv&&(to.moveTo(0,0),to.lineTo(this.element.globalData.compSize.w,0),to.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),to.lineTo(0,this.element.globalData.compSize.h),to.lineTo(0,0)),ts=this.viewData[ti].v,tr=ta.applyToPointArray(ts.v[0][0],ts.v[0][1],0),to.moveTo(tr[0],tr[1]);var tl,tp=ts._length;for(tl=1;tl<tp;tl+=1)tn=ta.applyToTriplePoints(ts.o[tl-1],ts.i[tl],ts.v[tl]),to.bezierCurveTo(tn[0],tn[1],tn[2],tn[3],tn[4],tn[5]);tn=ta.applyToTriplePoints(ts.o[tl-1],ts.i[0],ts.v[0]),to.bezierCurveTo(tn[0],tn[1],tn[2],tn[3],tn[4],tn[5])}this.element.globalData.renderer.save(!0),to.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var ti=this.globalData;if(ti.blendMode!==this.data.bm){ti.blendMode=this.data.bm;var tr=getBlendMode(this.data.bm);ti.canvasContext.globalCompositeOperation=tr}},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 ti=0===this.data.ty;this.globalData.renderer.save(ti),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(ti),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,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,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(ti,tr){var tn={data:ti,type:ti.ty,preTransforms:this.transformsManager.addTransformSequence(tr),transforms:[],elements:[],closed:!0===ti.hd},ts={};if("fl"===ti.ty||"st"===ti.ty?(ts.c=PropertyFactory.getProp(this,ti.c,1,255,this),ts.c.k||(tn.co="rgb("+bmFloor(ts.c.v[0])+","+bmFloor(ts.c.v[1])+","+bmFloor(ts.c.v[2])+")")):"gf"!==ti.ty&&"gs"!==ti.ty||(ts.s=PropertyFactory.getProp(this,ti.s,1,null,this),ts.e=PropertyFactory.getProp(this,ti.e,1,null,this),ts.h=PropertyFactory.getProp(this,ti.h||{k:0},0,.01,this),ts.a=PropertyFactory.getProp(this,ti.a||{k:0},0,degToRads,this),ts.g=new GradientProperty(this,ti.g,this)),ts.o=PropertyFactory.getProp(this,ti.o,0,.01,this),"st"===ti.ty||"gs"===ti.ty){if(tn.lc=lineCapEnum[ti.lc||2],tn.lj=lineJoinEnum[ti.lj||2],1==ti.lj&&(tn.ml=ti.ml),ts.w=PropertyFactory.getProp(this,ti.w,0,null,this),ts.w.k||(tn.wi=ts.w.v),ti.d){var ta=new DashProperty(this,ti.d,"canvas",this);ts.d=ta,ts.d.k||(tn.da=ts.d.dashArray,tn.do=ts.d.dashoffset[0])}}else tn.r=2===ti.r?"evenodd":"nonzero";return this.stylesList.push(tn),ts.style=tn,ts},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(ti){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,ti.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,ti,this)}}},CVShapeElement.prototype.createShapeElement=function(ti){var tr=new CVShapeData(this,ti,this.stylesList,this.transformsManager);return this.shapes.push(tr),this.addShapeToModifiers(tr),tr},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var ti,tr=this.itemsData.length;for(ti=0;ti<tr;ti+=1)this.prevViewData[ti]=this.itemsData[ti];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),tr=this.dynamicProperties.length,ti=0;ti<tr;ti+=1)this.dynamicProperties[ti].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(ti){var tr,tn=this.stylesList.length;for(tr=0;tr<tn;tr+=1)this.stylesList[tr].closed||this.stylesList[tr].transforms.push(ti)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var ti,tr=this.stylesList.length;for(ti=0;ti<tr;ti+=1)this.stylesList[ti].closed||this.stylesList[ti].transforms.pop()},CVShapeElement.prototype.closeStyles=function(ti){var tr,tn=ti.length;for(tr=0;tr<tn;tr+=1)ti[tr].closed=!0},CVShapeElement.prototype.searchShapes=function(ti,tr,tn,ts,ta){var to,th,tl,tp,tf,tu,tc=ti.length-1,tm=[],tg=[],tv=[].concat(ta);for(to=tc;to>=0;to-=1){if((tp=this.searchProcessedElement(ti[to]))?tr[to]=tn[tp-1]:ti[to]._shouldRender=ts,"fl"===ti[to].ty||"st"===ti[to].ty||"gf"===ti[to].ty||"gs"===ti[to].ty)tp?tr[to].style.closed=!1:tr[to]=this.createStyleElement(ti[to],tv),tm.push(tr[to].style);else if("gr"===ti[to].ty){if(tp)for(tl=tr[to].it.length,th=0;th<tl;th+=1)tr[to].prevViewData[th]=tr[to].it[th];else tr[to]=this.createGroupElement(ti[to]);this.searchShapes(ti[to].it,tr[to].it,tr[to].prevViewData,ts,tv)}else"tr"===ti[to].ty?(tp||(tu=this.createTransformElement(ti[to]),tr[to]=tu),tv.push(tr[to]),this.addTransformToStyleList(tr[to])):"sh"===ti[to].ty||"rc"===ti[to].ty||"el"===ti[to].ty||"sr"===ti[to].ty?tp||(tr[to]=this.createShapeElement(ti[to])):"tm"===ti[to].ty||"rd"===ti[to].ty||"pb"===ti[to].ty||"zz"===ti[to].ty||"op"===ti[to].ty?(tp?(tf=tr[to]).closed=!1:((tf=ShapeModifiers.getModifier(ti[to].ty)).init(this,ti[to]),tr[to]=tf,this.shapeModifiers.push(tf)),tg.push(tf)):"rp"===ti[to].ty&&(tp?(tf=tr[to]).closed=!0:(tf=ShapeModifiers.getModifier(ti[to].ty),tr[to]=tf,tf.init(this,ti,to,tr),this.shapeModifiers.push(tf),ts=!1),tg.push(tf));this.addProcessedElement(ti[to],to+1)}for(this.removeTransformFromStyleList(),this.closeStyles(tm),tc=tg.length,to=0;to<tc;to+=1)tg[to].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(ti,tr){(ti._opMdf||tr.op._mdf||this._isFirstFrame)&&(tr.opacity=ti.opacity,tr.opacity*=tr.op.v,tr._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var ti,tr,tn,ts,ta,to,th,tl,tp,tf=this.stylesList.length,tu=this.globalData.renderer,tc=this.globalData.canvasContext;for(ti=0;ti<tf;ti+=1)if(("st"!==(tl=(tp=this.stylesList[ti]).type)&&"gs"!==tl||0!==tp.wi)&&tp.data._shouldRender&&0!==tp.coOp&&0!==this.globalData.currentGlobalAlpha){for(tu.save(),to=tp.elements,"st"===tl||"gs"===tl?(tc.strokeStyle="st"===tl?tp.co:tp.grd,tc.lineWidth=tp.wi,tc.lineCap=tp.lc,tc.lineJoin=tp.lj,tc.miterLimit=tp.ml||0):tc.fillStyle="fl"===tl?tp.co:tp.grd,tu.ctxOpacity(tp.coOp),"st"!==tl&&"gs"!==tl&&tc.beginPath(),tu.ctxTransform(tp.preTransforms.finalTransform.props),tn=to.length,tr=0;tr<tn;tr+=1){for("st"!==tl&&"gs"!==tl||(tc.beginPath(),tp.da&&(tc.setLineDash(tp.da),tc.lineDashOffset=tp.do)),ta=(th=to[tr].trNodes).length,ts=0;ts<ta;ts+=1)"m"===th[ts].t?tc.moveTo(th[ts].p[0],th[ts].p[1]):"c"===th[ts].t?tc.bezierCurveTo(th[ts].pts[0],th[ts].pts[1],th[ts].pts[2],th[ts].pts[3],th[ts].pts[4],th[ts].pts[5]):tc.closePath();"st"!==tl&&"gs"!==tl||(tc.stroke(),tp.da&&tc.setLineDash(this.dashResetter))}"st"!==tl&&"gs"!==tl&&tc.fill(tp.r),tu.restore()}},CVShapeElement.prototype.renderShape=function(ti,tr,tn,ts){var ta,to;for(to=ti,ta=tr.length-1;ta>=0;ta-=1)"tr"===tr[ta].ty?(to=tn[ta].transform,this.renderShapeTransform(ti,to)):"sh"===tr[ta].ty||"el"===tr[ta].ty||"rc"===tr[ta].ty||"sr"===tr[ta].ty?this.renderPath(tr[ta],tn[ta]):"fl"===tr[ta].ty?this.renderFill(tr[ta],tn[ta],to):"st"===tr[ta].ty?this.renderStroke(tr[ta],tn[ta],to):"gf"===tr[ta].ty||"gs"===tr[ta].ty?this.renderGradientFill(tr[ta],tn[ta],to):"gr"===tr[ta].ty?this.renderShape(to,tr[ta].it,tn[ta].it):tr[ta].ty;ts&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(ti,tr){if(this._isFirstFrame||tr._mdf||ti.transforms._mdf){var tn,ts,ta,to=ti.trNodes,th=tr.paths,tl=th._length;to.length=0;var tp=ti.transforms.finalTransform;for(ta=0;ta<tl;ta+=1){var tf=th.shapes[ta];if(tf&&tf.v){for(ts=tf._length,tn=1;tn<ts;tn+=1)1===tn&&to.push({t:"m",p:tp.applyToPointArray(tf.v[0][0],tf.v[0][1],0)}),to.push({t:"c",pts:tp.applyToTriplePoints(tf.o[tn-1],tf.i[tn],tf.v[tn])});1===ts&&to.push({t:"m",p:tp.applyToPointArray(tf.v[0][0],tf.v[0][1],0)}),tf.c&&ts&&(to.push({t:"c",pts:tp.applyToTriplePoints(tf.o[tn-1],tf.i[0],tf.v[0])}),to.push({t:"z"}))}}ti.trNodes=to}},CVShapeElement.prototype.renderPath=function(ti,tr){if(!0!==ti.hd&&ti._shouldRender){var tn,ts=tr.styledShapes.length;for(tn=0;tn<ts;tn+=1)this.renderStyledShape(tr.styledShapes[tn],tr.sh)}},CVShapeElement.prototype.renderFill=function(ti,tr,tn){var ts=tr.style;(tr.c._mdf||this._isFirstFrame)&&(ts.co="rgb("+bmFloor(tr.c.v[0])+","+bmFloor(tr.c.v[1])+","+bmFloor(tr.c.v[2])+")"),(tr.o._mdf||tn._opMdf||this._isFirstFrame)&&(ts.coOp=tr.o.v*tn.opacity)},CVShapeElement.prototype.renderGradientFill=function(ti,tr,tn){var ts,ta=tr.style;if(!ta.grd||tr.g._mdf||tr.s._mdf||tr.e._mdf||1!==ti.t&&(tr.h._mdf||tr.a._mdf)){var to,th=this.globalData.canvasContext,tl=tr.s.v,tp=tr.e.v;if(1===ti.t)ts=th.createLinearGradient(tl[0],tl[1],tp[0],tp[1]);else{var tf=Math.sqrt(Math.pow(tl[0]-tp[0],2)+Math.pow(tl[1]-tp[1],2)),tu=Math.atan2(tp[1]-tl[1],tp[0]-tl[0]),tc=tr.h.v;tc>=1?tc=.99:tc<=-1&&(tc=-.99);var tm=tf*tc,tg=Math.cos(tu+tr.a.v)*tm+tl[0],tv=Math.sin(tu+tr.a.v)*tm+tl[1];ts=th.createRadialGradient(tg,tv,0,tl[0],tl[1],tf)}var ty=ti.g.p,tb=tr.g.c,t_=1;for(to=0;to<ty;to+=1)tr.g._hasOpacity&&tr.g._collapsable&&(t_=tr.g.o[2*to+1]),ts.addColorStop(tb[4*to]/100,"rgba("+tb[4*to+1]+","+tb[4*to+2]+","+tb[4*to+3]+","+t_+")");ta.grd=ts}ta.coOp=tr.o.v*tn.opacity},CVShapeElement.prototype.renderStroke=function(ti,tr,tn){var ts=tr.style,ta=tr.d;ta&&(ta._mdf||this._isFirstFrame)&&(ts.da=ta.dashArray,ts.do=ta.dashoffset[0]),(tr.c._mdf||this._isFirstFrame)&&(ts.co="rgb("+bmFloor(tr.c.v[0])+","+bmFloor(tr.c.v[1])+","+bmFloor(tr.c.v[2])+")"),(tr.o._mdf||tn._opMdf||this._isFirstFrame)&&(ts.coOp=tr.o.v*tn.opacity),(tr.w._mdf||this._isFirstFrame)&&(ts.wi=tr.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,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var ti=this.textProperty.currentData;this.renderedLetters=createSizedArray(ti.l?ti.l.length:0);var tr=!1;ti.fc?(tr=!0,this.values.fill=this.buildColor(ti.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=tr;var tn=!1;ti.sc&&(tn=!0,this.values.stroke=this.buildColor(ti.sc),this.values.sWidth=ti.sw);var ts,ta,to,th,tl,tp,tf,tu,tc,tm,tg,tv,ty=this.globalData.fontManager.getFontByName(ti.f),tb=ti.l,t_=this.mHelper;this.stroke=tn,this.values.fValue=ti.finalSize+"px "+this.globalData.fontManager.getFontByName(ti.f).fFamily,ta=ti.finalText.length;var tw=this.data.singleShape,tx=.001*ti.tr*ti.finalSize,tk=0,tA=0,tP=!0,tE=0;for(ts=0;ts<ta;ts+=1){th=(to=this.globalData.fontManager.getCharData(ti.finalText[ts],ty.fStyle,this.globalData.fontManager.getFontByName(ti.f).fFamily))&&to.data||{},t_.reset(),tw&&tb[ts].n&&(tk=-tx,tA+=ti.yOffset+(tP?1:0),tP=!1),tc=(tf=th.shapes?th.shapes[0].it:[]).length,t_.scale(ti.finalSize/100,ti.finalSize/100),tw&&this.applyTextPropertiesToMatrix(ti,t_,tb[ts].line,tk,tA),tg=createSizedArray(tc-1);var tS=0;for(tu=0;tu<tc;tu+=1)if("sh"===tf[tu].ty){for(tp=tf[tu].ks.k.i.length,tm=tf[tu].ks.k,tv=[],tl=1;tl<tp;tl+=1)1===tl&&tv.push(t_.applyToX(tm.v[0][0],tm.v[0][1],0),t_.applyToY(tm.v[0][0],tm.v[0][1],0)),tv.push(t_.applyToX(tm.o[tl-1][0],tm.o[tl-1][1],0),t_.applyToY(tm.o[tl-1][0],tm.o[tl-1][1],0),t_.applyToX(tm.i[tl][0],tm.i[tl][1],0),t_.applyToY(tm.i[tl][0],tm.i[tl][1],0),t_.applyToX(tm.v[tl][0],tm.v[tl][1],0),t_.applyToY(tm.v[tl][0],tm.v[tl][1],0));tv.push(t_.applyToX(tm.o[tl-1][0],tm.o[tl-1][1],0),t_.applyToY(tm.o[tl-1][0],tm.o[tl-1][1],0),t_.applyToX(tm.i[0][0],tm.i[0][1],0),t_.applyToY(tm.i[0][0],tm.i[0][1],0),t_.applyToX(tm.v[0][0],tm.v[0][1],0),t_.applyToY(tm.v[0][0],tm.v[0][1],0)),tg[tS]=tv,tS+=1}tw&&(tk+=tb[ts].l+tx),this.textSpans[tE]?this.textSpans[tE].elem=tg:this.textSpans[tE]={elem:tg},tE+=1}},CVTextElement.prototype.renderInnerContent=function(){var ti,tr,tn,ts,ta,to,th=this.canvasContext;th.font=this.values.fValue,th.lineCap="butt",th.lineJoin="miter",th.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var tl,tp=this.textAnimator.renderedLetters,tf=this.textProperty.currentData.l;tr=tf.length;var tu,tc,tm=null,tg=null,tv=null;for(ti=0;ti<tr;ti+=1)if(!tf[ti].n){if((tl=tp[ti])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(tl.p),this.globalData.renderer.ctxOpacity(tl.o)),this.fill){for(tl&&tl.fc?tm!==tl.fc&&(tm=tl.fc,th.fillStyle=tl.fc):tm!==this.values.fill&&(tm=this.values.fill,th.fillStyle=this.values.fill),ts=(tu=this.textSpans[ti].elem).length,this.globalData.canvasContext.beginPath(),tn=0;tn<ts;tn+=1)for(to=(tc=tu[tn]).length,this.globalData.canvasContext.moveTo(tc[0],tc[1]),ta=2;ta<to;ta+=6)this.globalData.canvasContext.bezierCurveTo(tc[ta],tc[ta+1],tc[ta+2],tc[ta+3],tc[ta+4],tc[ta+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}
62if(this.stroke){for(tl&&tl.sw?tv!==tl.sw&&(tv=tl.sw,th.lineWidth=tl.sw):tv!==this.values.sWidth&&(tv=this.values.sWidth,th.lineWidth=this.values.sWidth),tl&&tl.sc?tg!==tl.sc&&(tg=tl.sc,th.strokeStyle=tl.sc):tg!==this.values.stroke&&(tg=this.values.stroke,th.strokeStyle=this.values.stroke),ts=(tu=this.textSpans[ti].elem).length,this.globalData.canvasContext.beginPath(),tn=0;tn<ts;tn+=1)for(to=(tc=tu[tn]).length,this.globalData.canvasContext.moveTo(tc[0],tc[1]),ta=2;ta<to;ta+=6)this.globalData.canvasContext.bezierCurveTo(tc[ta],tc[ta+1],tc[ta+2],tc[ta+3],tc[ta+4],tc[ta+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}tl&&this.globalData.renderer.restore()}},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 ti=createTag("canvas");ti.width=this.assetData.w,ti.height=this.assetData.h;var tr,tn,ts=ti.getContext("2d"),ta=this.img.width,to=this.img.height,th=ta/to,tl=this.assetData.w/this.assetData.h,tp=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;th>tl&&"xMidYMid slice"===tp||th<tl&&"xMidYMid slice"!==tp?tr=(tn=to)*tl:tn=(tr=ta)/tl,ts.drawImage(this.img,(ta-tr)/2,(to-tn)/2,tr,tn,0,0,this.assetData.w,this.assetData.h),this.img=ti}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},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 ti=this.canvasContext;ti.fillStyle=this.data.sc,ti.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(ti){return new CVShapeElement(ti,this.globalData,this)},CanvasRendererBase.prototype.createText=function(ti){return new CVTextElement(ti,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(ti){return new CVImageElement(ti,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(ti){return new CVSolidElement(ti,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(ti){if(1!==ti[0]||0!==ti[1]||0!==ti[4]||1!==ti[5]||0!==ti[12]||0!==ti[13]){if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(ti);var tr=this.contextData.cTr.props;this.transformMat.transform(tr[0],tr[1],tr[2],tr[3],tr[4],tr[5],tr[6],tr[7],tr[8],tr[9],tr[10],tr[11],tr[12],tr[13],tr[14],tr[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var tn=this.contextData.cTr.props;this.canvasContext.setTransform(tn[0],tn[1],tn[4],tn[5],tn[12],tn[13])}else this.canvasContext.transform(ti[0],ti[1],ti[4],ti[5],ti[12],ti[13])}},CanvasRendererBase.prototype.ctxOpacity=function(ti){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=ti<0?0:ti,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=ti<0?0:ti,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(ti){if(this.renderConfig.clearCanvas){ti&&this.canvasContext.save();var tr,tn=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var ts=this.contextData.saved[this.contextData.cArrPos];for(tr=0;tr<16;tr+=1)ts[tr]=tn[tr];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(ti){if(this.renderConfig.clearCanvas){ti&&(this.canvasContext.restore(
vendor: 5,430 bytes, line 62
62),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var tr,tn=this.contextData.saved[this.contextData.cArrPos],ts=this.contextData.cTr.props;for(tr=0;tr<16;tr+=1)ts[tr]=tn[tr];this.canvasContext.setTransform(tn[0],tn[1],tn[4],tn[5],tn[12],tn[13]),tn=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=tn,this.globalData.currentGlobalAlpha!==tn&&(this.canvasContext.globalAlpha=tn,this.globalData.currentGlobalAlpha=tn)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(ti){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var tr=this.animationItem.container.style;tr.width="100%",tr.height="100%";var tn="0px 0px 0px";tr.transformOrigin=tn,tr.mozTransformOrigin=tn,tr.webkitTransformOrigin=tn,tr["-webkit-transform"]=tn,tr.contentVisibility=this.renderConfig.contentVisibility,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=ti,this.layers=ti.layers,this.transformCanvas={w:ti.w,h:ti.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(ti,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(ti.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(ti,tr){var tn,ts,ta,to;if(this.reset(),ti?(tn=ti,ts=tr,this.canvasContext.canvas.width=tn,this.canvasContext.canvas.height=ts):(this.animationItem.wrapper&&this.animationItem.container?(tn=this.animationItem.wrapper.offsetWidth,ts=this.animationItem.wrapper.offsetHeight):(tn=this.canvasContext.canvas.width,ts=this.canvasContext.canvas.height),this.canvasContext.canvas.width=tn*this.renderConfig.dpr,this.canvasContext.canvas.height=ts*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var th=this.renderConfig.preserveAspectRatio.split(" "),tl=th[1]||"meet",tp=th[0]||"xMidYMid",tf=tp.substr(0,4),tu=tp.substr(4);ta=tn/ts,(to=this.transformCanvas.w/this.transformCanvas.h)>ta&&"meet"===tl||to<ta&&"slice"===tl?(this.transformCanvas.sx=tn/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=tn/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=ts/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=ts/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===tf&&(to<ta&&"meet"===tl||to>ta&&"slice"===tl)?(tn-this.transformCanvas.w*(ts/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===tf&&(to<ta&&"meet"===tl||to>ta&&"slice"===tl)?(tn-this.transformCanvas.w*(ts/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===tu&&(to>ta&&"meet"===tl||to<ta&&"slice"===tl)?(ts-this.transformCanvas.h*(tn/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===tu&&(to>ta&&"meet"===tl||to<ta&&"slice"===tl)?(ts-this.transformCanvas.h*(tn/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=tn/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=ts/(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)},CanvasRendererBase.prototype.destroy=function(){var ti;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),ti=(this.layers?this.layers.length:0)-1;ti>=0;ti-=1)this.elements[ti]&&this.elements[ti].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(ti,tr){if((this.renderedFrame!==ti||!0!==this.renderConfig.clearCanvas||tr)&&!this.destroyed&&-1!==ti){this.renderedFrame=ti,this.globalData.frameNum=ti-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||tr,this.globalData.projectInterface.currentFrame=ti;var tn,ts=this.layers.length;for(this.completeLayers||this.checkLayers(ti),tn=0;tn<ts;tn+=1)(this.completeLayers||this.elements[tn])&&this.elements[tn].prepareFrame(ti-this.layers[tn].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),tn=ts-1;tn>=0;tn-=1)(this.completeLayers||this.elements[tn])&&this.elements[tn].renderFrame();
vendor: 32,109 bytes, line 62
62!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(ti){var tr=this.elements;if(!tr[ti]&&99!==this.layers[ti].ty){var tn=this.createItem(this.layers[ti],this,this.globalData);tr[ti]=tn,tn.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var ti,tr=this.canvasContext;for(tr.beginPath(),tr.moveTo(0,0),tr.lineTo(this.data.w,0),tr.lineTo(this.data.w,this.data.h),tr.lineTo(0,this.data.h),tr.lineTo(0,0),tr.clip(),ti=this.layers.length-1;ti>=0;ti-=1)(this.completeLayers||this.elements[ti])&&this.elements[ti].renderFrame()},CVCompElement.prototype.destroy=function(){var ti;for(ti=this.layers.length-1;ti>=0;ti-=1)this.elements[ti]&&this.elements[ti].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(ti){return new CVCompElement(ti,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(ti){return new CVCompElement(ti,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var ti=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var tr=this.finalTransform.mat.toCSS();ti.transform=tr,ti.webkitTransform=tr}this.finalTransform._opMdf&&(ti.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var ti;this.data.hasMask?((ti=createNS("rect")).setAttribute("width",this.data.sw),ti.setAttribute("height",this.data.sh),ti.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((ti=createTag("div")).style.width=this.data.sw+"px",ti.style.height=this.data.sh+"px",ti.style.backgroundColor=this.data.sc),this.layerElement.appendChild(ti)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var ti;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),ti=this.svgElement;else{ti=createNS("svg");var tr=this.comp.data?this.comp.data:this.globalData.compSize;ti.setAttribute("width",tr.w),ti.setAttribute("height",tr.h),ti.appendChild(this.shapesContainer),this.layerElement.appendChild(ti)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=ti},HShapeElement.prototype.getTransformedPoint=function(ti,tr){var tn,ts=ti.length;for(tn=0;tn<ts;tn+=1)tr=ti[tn].mProps.v.applyToPointArray(tr[0],tr[1],0);return tr},HShapeElement.prototype.calculateShapeBoundingBox=function(ti,tr){var tn,ts,ta,to,th,tl=ti.sh.v,tp=ti.transformers,tf=tl._length;if(!(tf<=1)){for(tn=0;tn<tf-1;tn+=1)ts=this.getTransformedPoint(tp,tl.v[tn]),ta=this.getTransformedPoint(tp,tl.o[tn]),to=this.getTransformedPoint(tp,tl.i[tn+1]),th=this.getTransformedPoint(tp,tl.v[tn+1]),this.checkBounds(ts,ta,to,th,tr);tl.c&&(ts=this.getTransformedPoint(tp,tl.v[tn]),ta=this.getTransformedPoint(tp,tl.o[tn]),to=this.getTransformedPoint(tp,tl.i[0]),th=this.getTransformedPoint(tp,tl.v[0]),this.checkBounds(ts,ta,to,th,tr))}},HShapeElement.prototype.checkBounds=function(ti,tr,tn,ts,ta){this.getBoundsOfCurve(ti,tr,tn,ts);var to=this.shapeBoundingBox;ta.x=bmMin(to.left,ta.x),ta.xMax=bmMax(to.right,ta.xMax),ta.y=bmMin(to.top,ta.y),ta.yMax=bmMax(to.bottom,ta.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(ti,tr,tn,ts){for(var ta,to,th,tl,tp,tf,tu,tc=[[ti[0],ts[0]],[ti[1],ts[1]]],tm=0;tm<2;++tm)to=6*ti[tm]-12*tr[tm]+6*tn[tm],ta=-3*ti[tm]+9*tr[tm]-9*tn[tm]+3*ts[tm],th=3*tr[tm]-3*ti[tm],to|=0,th|=0,0==(ta|=0)&&0===to||(0===ta?(tl=-th/to)>0&&tl<1&&tc[tm].push(this.calculateF(tl,ti,tr,tn,ts,tm)):(tp=to*to-4*th*ta)>=0&&((tf=(-to+bmSqrt(tp))/(2*ta))>0&&tf<1&&tc[tm].push(this.calculateF(tf,ti,tr,tn,ts,tm)),(tu=(-to-bmSqrt(tp))/(2*ta))>0&&tu<1&&tc[tm].push(this.calculateF(tu,ti,tr,tn,ts,tm))));this.shapeBoundingBox.left=bmMin.apply(null,tc[0]),this.shapeBoundingBox.top=bmMin.apply(null,tc[1]),this.shapeBoundingBox.right=bmMax.apply(null,tc[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,tc[1])},HShapeElement.prototype.calculateF=function(ti,tr,tn,ts,ta,to){return bmPow(1-ti,3)*tr[to]+3*bmPow(1-ti,2)*ti*tn[to]+3*(1-ti)*bmPow(ti,2)*ts[to]+bmPow(ti,3)*ta[to]},HShapeElement.prototype.calculateBoundingBox=function(ti,tr){var tn,ts=ti.length;for(tn=0;tn<ts;tn+=1)ti[tn]&&ti[tn].sh?this.calculateShapeBoundingBox(ti[tn],tr):ti[tn]&&ti[tn].it?this.calculateBoundingBox(ti[tn].it,tr):ti[tn]&&ti[tn].style&&ti[tn].w&&this.expandStrokeBoundingBox(ti[tn].w,tr)},HShapeElement.prototype.expandStrokeBoundingBox=function(ti,tr){var tn=0;if(ti.keyframes){for(var ts=0;ts<ti.keyframes.length;ts+=1){var ta=ti.keyframes[ts].s;ta>tn&&(tn=ta)}tn*=ti.mult}else tn=ti.v*ti.mult;tr.x-=tn,tr.xMax+=tn,tr.y-=tn,tr.yMax+=tn},HShapeElement.prototype.currentBoxContains=function(ti){return this.currentBBox.x<=ti.x&&this.currentBBox.y<=ti.y&&this.currentBBox.width+this.currentBBox.x>=ti.x+ti.width&&this.currentBBox.height+this.currentBBox.y>=ti.y+ti.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var ti=this.tempBoundingBox,tr=999999;if(ti.x=tr,ti.xMax=-tr,ti.y=tr,ti.yMax=-tr,this.calculateBoundingBox(this.itemsData,ti),ti.width=ti.xMax<ti.x?0:ti.xMax-ti.x,ti.height=ti.yMax<ti.y?0:ti.yMax-ti.y,!this.currentBoxContains(ti)){var tn=!1;if(this.currentBBox.w!==ti.width&&(this.currentBBox.w=ti.width,this.shapeCont.setAttribute("width",ti.width),tn=!0),this.currentBBox.h!==ti.height&&(this.currentBBox.h=ti.height,this.shapeCont.setAttribute("height",ti.height),tn=!0),tn||this.currentBBox.x!==ti.x||this.currentBBox.y!==ti.y){this.currentBBox.w=ti.width,this.currentBBox.h=ti.height,this.currentBBox.x=ti.x,this.currentBBox.y=ti.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var ts=this.shapeCont.style,ta="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";ts.transform=ta,ts.webkitTransform=ta}}}},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 ti=createNS("g");this.maskedElement.appendChild(ti),this.innerElem=ti}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var ti=this.textProperty.currentData;this.renderedLetters=createSizedArray(ti.l?ti.l.length:0);var tr=this.innerElem.style,tn=ti.fc?this.buildColor(ti.fc):"rgba(0,0,0,0)";tr.fill=tn,tr.color=tn,ti.sc&&(tr.stroke=this.buildColor(ti.sc),tr.strokeWidth=ti.sw+"px");var ts,ta,to=this.globalData.fontManager.getFontByName(ti.f);if(!this.globalData.fontManager.chars){if(tr.fontSize=ti.finalSize+"px",tr.lineHeight=ti.finalSize+"px",to.fClass)this.innerElem.className=to.fClass;else{tr.fontFamily=to.fFamily;var th=ti.fWeight,tl=ti.fStyle;tr.fontStyle=tl,tr.fontWeight=th}}var tp,tf,tu,tc=ti.l;ta=tc.length;var tm,tg=this.mHelper,tv="",ty=0;for(ts=0;ts<ta;ts+=1){if(this.globalData.fontManager.chars?(this.textPaths[ty]?tp=this.textPaths[ty]:((tp=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),tp.setAttribute("stroke-linejoin",lineJoinEnum[2]),tp.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[ty]?tu=(tf=this.textSpans[ty]).children[0]:((tf=createTag("div")).style.lineHeight=0,(tu=createNS("svg")).appendChild(tp),styleDiv(tf)))):this.isMasked?tp=this.textPaths[ty]?this.textPaths[ty]:createNS("text"):this.textSpans[ty]?(tf=this.textSpans[ty],tp=this.textPaths[ty]):(styleDiv(tf=createTag("span")),styleDiv(tp=createTag("span")),tf.appendChild(tp)),this.globalData.fontManager.chars){var tb,t_=this.globalData.fontManager.getCharData(ti.finalText[ts],to.fStyle,this.globalData.fontManager.getFontByName(ti.f).fFamily);if(tb=t_?t_.data:null,tg.reset(),tb&&tb.shapes&&tb.shapes.length&&(tm=tb.shapes[0].it,tg.scale(ti.finalSize/100,ti.finalSize/100),tv=this.createPathShape(tg,tm),tp.setAttribute("d",tv)),this.isMasked)this.innerElem.appendChild(tp);else{if(this.innerElem.appendChild(tf),tb&&tb.shapes){document.body.appendChild(tu);var tw=tu.getBBox();tu.setAttribute("width",tw.width+2),tu.setAttribute("height",tw.height+2),tu.setAttribute("viewBox",tw.x-1+" "+(tw.y-1)+" "+(tw.width+2)+" "+(tw.height+2));var tx=tu.style,tk="translate("+(tw.x-1)+"px,"+(tw.y-1)+"px)";tx.transform=tk,tx.webkitTransform=tk,tc[ts].yOffset=tw.y-1}else tu.setAttribute("width",1),tu.setAttribute("height",1);tf.appendChild(tu)}}else if(tp.textContent=tc[ts].val,tp.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(tp);else{this.innerElem.appendChild(tf);var tA=tp.style,tP="translate3d(0,"+-ti.finalSize/1.2+"px,0)";tA.transform=tP,tA.webkitTransform=tP}this.isMasked?this.textSpans[ty]=tp:this.textSpans[ty]=tf,this.textSpans[ty].style.display="block",this.textPaths[ty]=tp,ty+=1}for(;ty<this.textSpans.length;)this.textSpans[ty].style.display="none",ty+=1},HTextElement.prototype.renderInnerContent=function(){var ti;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),ti=this.svgElement.style;var tr="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";ti.transform=tr,ti.webkitTransform=tr}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var tn,ts,ta,to,th,tl=0,tp=this.textAnimator.renderedLetters,tf=this.textProperty.currentData.l;for(ts=tf.length,tn=0;tn<ts;tn+=1)tf[tn].n?tl+=1:(to=this.textSpans[tn],th=this.textPaths[tn],ta=tp[tl],tl+=1,ta._mdf.m&&(this.isMasked?to.setAttribute("transform",ta.m):(to.style.webkitTransform=ta.m,to.style.transform=ta.m)),to.style.opacity=ta.o,ta.sw&&ta._mdf.sw&&th.setAttribute("stroke-width",ta.sw),ta.sc&&ta._mdf.sc&&th.setAttribute("stroke",ta.sc),ta.fc&&ta._mdf.fc&&(th.setAttribute("fill",ta.fc),th.style.color=ta.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var tu=this.innerElem.getBBox();if(this.currentBBox.w!==tu.width&&(this.currentBBox.w=tu.width,this.svgElement.setAttribute("width",tu.width)),this.currentBBox.h!==tu.height&&(this.currentBBox.h=tu.height,this.svgElement.setAttribute("height",tu.height)),this.currentBBox.w!==tu.width+2||this.currentBBox.h!==tu.height+2||this.currentBBox.x!==tu.x-1||this.currentBBox.y!==tu.y-1){this.currentBBox.w=tu.width+2,this.currentBBox.h=tu.height+2,this.currentBBox.x=tu.x-1,this.currentBBox.y=tu.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),ti=this.svgElement.style;var tc="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";ti.transform=tc,ti.webkitTransform=tc}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var ti,tr,tn,ts,ta=this.comp.threeDElements.length;for(ti=0;ti<ta;ti+=1)if("3d"===(tr=this.comp.threeDElements[ti]).type){tn=tr.perspectiveElem.style,ts=tr.container.style;var to=this.pe.v+"px",th="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";tn.perspective=to,tn.webkitPerspective=to,ts.transformOrigin="0px 0px 0px",ts.mozTransformOrigin="0px 0px 0px",ts.webkitTransformOrigin="0px 0px 0px",tn.transform=th,tn.webkitTransform=th}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var ti,tr,tn=this._isFirstFrame;if(this.hierarchy)for(tr=this.hierarchy.length,ti=0;ti<tr;ti+=1)tn=this.hierarchy[ti].finalTransform.mProp._mdf||tn;if(tn||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(ti=tr=this.hierarchy.length-1;ti>=0;ti-=1){var ts,ta,to,th=this.hierarchy[ti].finalTransform.mProp;this.mat.translate(-th.p.v[0],-th.p.v[1],th.p.v[2]),this.mat.rotateX(-th.or.v[0]).rotateY(-th.or.v[1]).rotateZ(th.or.v[2]),this.mat.rotateX(-th.rx.v).rotateY(-th.ry.v).rotateZ(th.rz.v),this.mat.scale(1/th.s.v[0],1/th.s.v[1],1/th.s.v[2]),this.mat.translate(th.a.v[0],th.a.v[1],th.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 tl,tp=Math.sqrt(Math.pow((tl=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]])[0],2)+Math.pow(tl[1],2)+Math.pow(tl[2],2)),tf=[tl[0]/tp,tl[1]/tp,tl[2]/tp],tu=Math.sqrt(tf[2]*tf[2]+tf[0]*tf[0]),tc=Math.atan2(tf[1],tu),tm=Math.atan2(tf[0],-tf[2]);this.mat.rotateY(tm).rotateX(-tc)}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 tg=!this._prevMat.equals(this.mat);if((tg||this.pe._mdf)&&this.comp.threeDElements){for(tr=this.comp.threeDElements.length,ti=0;ti<tr;ti+=1)if("3d"===(ts=this.comp.threeDElements[ti]).type){if(tg){var tv=this.mat.toCSS();(to=ts.container.style).transform=tv,to.webkitTransform=tv}this.pe._mdf&&((ta=ts.perspectiveElem.style).perspective=this.pe.v+"px",ta.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(ti){this.prepareProperties(ti,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var ti=this.globalData.getAssetsPath(this.assetData),tr=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",ti),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(tr),tr.crossOrigin="anonymous",tr.src=ti,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(ti,tr){var tn=ti.getBaseElement();if(tn){var ts=this.layers[tr];if(ts.ddd&&this.supports3d)this.addTo3dContainer(tn,tr);else if(this.threeDElements)this.addTo3dContainer(tn,tr);else{for(var ta,to,th=0;th<tr;)this.elements[th]&&!0!==this.elements[th]&&this.elements[th].getBaseElement&&(to=this.elements[th],ta=(this.layers[th].ddd?this.getThreeDContainerByPos(th):to.getBaseElement())||ta),th+=1;ta?ts.ddd&&this.supports3d||this.layerElement.insertBefore(tn,ta):ts.ddd&&this.supports3d||this.layerElement.appendChild(tn)}}},HybridRendererBase.prototype.createShape=function(ti){return this.supports3d?new HShapeElement(ti,this.globalData,this):new SVGShapeElement(ti,this.globalData,this)},HybridRendererBase.prototype.createText=function(ti){return this.supports3d?new HTextElement(ti,this.globalData,this):new SVGTextLottieElement(ti,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(ti){return this.camera=new HCameraElement(ti,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(ti){return this.supports3d?new HImageElement(ti,this.globalData,this):new IImageElement(ti,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(ti){return this.supports3d?new HSolidElement(ti,this.globalData,this):new ISolidElement(ti,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(ti){for(var tr=0,tn=this.threeDElements.length;tr<tn;){if(this.threeDElements[tr].startPos<=ti&&this.threeDElements[tr].endPos>=ti)return this.threeDElements[tr].perspectiveElem;tr+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(ti,tr){var tn,ts,ta=createTag("div");styleDiv(ta);var to=createTag("div");if(styleDiv(to),"3d"===tr){(tn=ta.style).width=this.globalData.compSize.w+"px",tn.height=this.globalData.compSize.h+"px",tn.webkitTransformOrigin="50% 50%",tn.mozTransformOrigin="50% 50%",tn.transformOrigin="50% 50%";var th="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(ts=to.style).transform=th,ts.webkitTransform=th}ta.appendChild(to);var tl={container:to,perspectiveElem:ta,startPos:ti,endPos:ti,type:tr};return this.threeDElements.push(tl),tl},HybridRendererBase.prototype.build3dContainers=function(){var ti,tr,tn=this.layers.length,ts="";for(ti=0;ti<tn;ti+=1)this.layers[ti].ddd&&3!==this.layers[ti].ty?("3d"!==ts&&(ts="3d",tr=this.createThreeDContainer(ti,"3d")),tr.endPos=Math.max(tr.endPos,ti)):("2d"!==ts&&(ts="2d",tr=this.createThreeDContainer(ti,"2d")),tr.endPos=Math.max(tr.endPos,ti));for(ti=(tn=this.threeDElements.length)-1;ti>=0;ti-=1)this.resizerElem.appendChild(this.threeDElements[ti].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(ti,tr){for(var tn=0,ts=this.threeDElements.length;tn<ts;){if(tr<=this.threeDElements[tn].endPos){for(var ta,to=this.threeDElements[tn].startPos;to<tr;)this.elements[to]&&this.elements[to].getBaseElement&&(ta=this.elements[to].getBaseElement()),to+=1;ta?this.threeDElements[tn].container.insertBefore(ti,ta):this.threeDElements[tn].container.appendChild(ti);break}tn+=1}},HybridRendererBase.prototype.configAnimation=function(ti){var tr=createTag("div"),tn=this.animationItem.wrapper,ts=tr.style;ts.width=ti.w+"px",ts.height=ti.h+"px",this.resizerElem=tr,styleDiv(tr),ts.transformStyle="flat",ts.mozTransformStyle="flat",ts.webkitTransformStyle="flat",this.renderConfig.className&&tr.setAttribute("class",this.renderConfig.className),tn.appendChild(tr),ts.overflow="hidden";var ta=createNS("svg");ta.setAttribute("width","1"),ta.setAttribute("height","1"),styleDiv(ta),this.resizerElem.appendChild(ta);var to=createNS("defs");ta.appendChild(to),this.data=ti,this.setupGlobalData(ti,ta),this.globalData.defs=to,this.layers=ti.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var ti,tr=this.layers?this.layers.length:0;for(ti=0;ti<tr;ti+=1)this.elements[ti].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var ti,tr,tn,ts,ta=this.animationItem.wrapper.offsetWidth,to=this.animationItem.wrapper.offsetHeight,th=ta/to;this.globalData.compSize.w/this.globalData.compSize.h>th?(ti=ta/this.globalData.compSize.w,tr=ta/this.globalData.compSize.w,tn=0,ts=(to-this.globalData.compSize.h*(ta/this.globalData.compSize.w))/2):(ti=to/this.globalData.compSize.h,tr=to/this.globalData.compSize.h,tn=(ta-this.globalData.compSize.w*(to/this.globalData.compSize.h))/2,ts=0);var tl=this.resizerElem.style;tl.webkitTransform="matrix3d("+ti+",0,0,0,0,"+tr+",0,0,0,0,1,0,"+tn+","+ts+",0,1)",tl.transform=tl.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var ti,tr=this.globalData.compSize.w,tn=this.globalData.compSize.h,ts=this.threeDElements.length;for(ti=0;ti<ts;ti+=1){var ta=this.threeDElements[ti].perspectiveElem.style;ta.webkitPerspective=Math.sqrt(Math.pow(tr,2)+Math.pow(tn,2))+"px",ta.perspective=ta.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(ti){var tr,tn=ti.length,ts=createTag("div");for(tr=0;tr<tn;tr+=1)if(ti[tr].xt){var ta=this.createComp(ti[tr],ts,this.globalData.comp,null);ta.initExpressions(),this.globalData.projectInterface.registerComposition(ta)}},extendPrototype([HybridRendererBase,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(ti,tr){for(var tn,ts=0;ts<tr;)this.elements[ts]&&this.elements[ts].getBaseElement&&(tn=this.elements[ts].getBaseElement()),ts+=1;tn?this.layerElement.insertBefore(ti,tn):this.layerElement.appendChild(ti)},HCompElement.prototype.createComp=function(ti){return this.supports3d?new HCompElement(ti,this.globalData,this):new SVGCompElement(ti,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(ti){return this.supports3d?new HCompElement(ti,this.globalData,this):new SVGCompElement(ti,this.globalData,this)};var CompExpressionInterface=function(ti){function tr(tr){for(var tn=0,ts=ti.layers.length;tn<ts;){if(ti.layers[tn].nm===tr||ti.layers[tn].ind===tr)return ti.elements[tn].layerInterface;tn+=1}return null}return Object.defineProperty(tr,"_name",{value:ti.data.nm}),tr.layer=tr,tr.pixelAspect=1,tr.height=ti.data.h||ti.globalData.compSize.h,tr.width=ti.data.w||ti.globalData.compSize.w,tr.pixelAspect=1,tr.frameDuration=1/ti.globalData.frameRate,tr.displayStartTime=0,tr.numLayers=ti.layers.length,tr},Expressions=function(){var ti={};return ti.initExpressions=function(ti){var tr=0,tn=[];ti.renderer.compInterface=CompExpressionInterface(ti.renderer),ti.renderer.globalData.projectInterface.registerComposition(ti.renderer),ti.renderer.globalData.pushExpression=function(){tr+=1},ti.renderer.globalData.popExpression=function(){0==(tr-=1)&&function(){var ti,tr=tn.length;for(ti=0;ti<tr;ti+=1)tn[ti].release();tn.length=0}()},ti.renderer.globalData.registerExpressionProperty=function(ti){-1===tn.indexOf(ti)&&tn.push(ti)}},ti}(),MaskManagerInterface=function(){function ti(ti,tr){this._mask=ti,this._data=tr}return Object.defineProperty(ti.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(ti.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(tr){var tn,ts=createSizedArray(tr.viewData.length),ta=tr.viewData.length;for(tn=0;tn<ta;tn+=1)ts[tn]=new ti(tr.viewData[tn],tr.masksProperties[tn]);return function(ti){for(tn=0;tn<ta;){if(tr.masksProperties[tn].nm===ti)return ts[tn];tn+=1}return null}}}(),ExpressionPropertyInterface=function(){var ti={pv:0,v:0,mult:1},tr={pv:[0,0,0],v:[0,0,0],mult:1};function tn(ti,tr,tn){Object.defineProperty(ti,"velocity",{get:function(){return tr.getVelocityAtTime(tr.comp.currentFrame)}}),ti.numKeys=tr.keyframes?tr.keyframes.length:0,ti.key=function(ts){if(!ti.numKeys)return 0;var ta="";ta="s"in tr.keyframes[ts-1]?tr.keyframes[ts-1].s:"e"in tr.keyframes[ts-2]?tr.keyframes[ts-2].e:tr.keyframes[ts-2].s;var to="unidimensional"===tn?new Number(ta):Object.assign({},ta);return to.time=tr.keyframes[ts-1].t/tr.elem.comp.globalData.frameRate,to.value="unidimensional"===tn?ta[0]:ta,to},ti.valueAtTime=tr.getValueAtTime,ti.speedAtTime=tr.getSpeedAtTime,ti.velocityAtTime=tr.getVelocityAtTime,ti.propertyGroup=tr.propertyGroup}function ts(){return ti}return function(ta){return ta?"unidimensional"===ta.propType?function(tr){tr&&"pv"in tr||(tr=ti);var ts=1/tr.mult,ta=tr.pv*ts,to=new Number(ta);return to.value=ta,tn(to,tr,"unidimensional"),function(){return tr.k&&tr.getValue(),ta=tr.v*ts,to.value!==ta&&((to=new Number(ta)).value=ta,tn(to,tr,"unidimensional")),to}}(ta):function(ti){ti&&"pv"in ti||(ti=tr);var ts=1/ti.mult,ta=ti.data&&ti.data.l||ti.pv.length,to=createTypedArray("float32",ta),th=createTypedArray("float32",ta);return to.value=th,tn(to,ti,"multidimensional"),function(){ti.k&&ti.getValue();for(var tr=0;tr<ta;tr+=1)th[tr]=ti.v[tr]*ts,to[tr]=th[tr];return to}}(ta):ts}}(),TransformExpressionInterface=function(ti){var tr,tn,ts,ta;function to(ti){switch(ti){case"scale":case"Scale":case"ADBE Scale":case 6:return to.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return to.rotation;case"ADBE Rotate X":return to.xRotation;case"ADBE Rotate Y":return to.yRotation;case"position":case"Position":case"ADBE Position":case 2:return to.position;case"ADBE Position_0":return to.xPosition;case"ADBE Position_1":return to.yPosition;case"ADBE Position_2":return to.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return to.anchorPoint;case"opacity":case"Opacity":case 11:return to.opacity;default:return null}}return Object.defineProperty(to,"rotation",{get:ExpressionPropertyInterface(ti.r||ti.rz)}),Object.defineProperty(to,"zRotation",{get:ExpressionPropertyInterface(ti.rz||ti.r)}),Object.defineProperty(to,"xRotation",{get:ExpressionPropertyInterface(ti.rx)}),Object.defineProperty(to,"yRotation",{get:ExpressionPropertyInterface(ti.ry)}),Object.defineProperty(to,"scale",{get:ExpressionPropertyInterface(ti.s)}),ti.p?ta=ExpressionPropertyInterface(ti.p):(tr=ExpressionPropertyInterface(ti.px),tn=ExpressionPropertyInterface(ti.py),ti.pz&&(ts=ExpressionPropertyInterface(ti.pz))),Object.defineProperty(to,"position",{get:function(){return ti.p?ta():[tr(),tn(),ts?ts():0]}}),Object.defineProperty(to,"xPosition",{get:ExpressionPropertyInterface(ti.px)}),Object.defineProperty(to,"yPosition",{get:ExpressionPropertyInterface(ti.py)}),Object.defineProperty(to,"zPosition",{get:ExpressionPropertyInterface(ti.pz)}),Object.defineProperty(to,"anchorPoint",{get:ExpressionPropertyInterface(ti.a)}),Object.defineProperty(to,"opacity",{get:ExpressionPropertyInterface(ti.o)}),Object.defineProperty(to,"skew",{get:ExpressionPropertyInterface(ti.sk)}),Object.defineProperty(to,"skewAxis",{get:ExpressionPropertyInterface(ti.sa)}),Object.defineProperty(to,"orientation",{get:ExpressionPropertyInterface(ti.or)}),to},LayerExpressionInterface=function(){function ti(ti){var tr=new Matrix;return void 0!==ti?this._elem.finalTransform.mProp.getValueAtTime(ti).clone(tr):this._elem.finalTransform.mProp.applyToMatrix(tr),tr}function tr(ti,tr){var tn=this.getMatrix(tr);return tn.props[12]=0,tn.props[13]=0,tn.props[14]=0,this.applyPoint(tn,ti)}function tn(ti,tr){var tn=this.getMatrix(tr);return this.applyPoint(tn,ti)}function ts(ti,tr){var tn=this.getMatrix(tr);return tn.props[12]=0,tn.props[13]=0,tn.props[14]=0,this.invertPoint(tn,ti)}function ta(ti,tr){var tn=this.getMatrix(tr);return this.invertPoint(tn,ti)}function to(ti,tr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var tn,ts=this._elem.hierarchy.length;for(tn=0;tn<ts;tn+=1)this._elem.hierarchy[tn].finalTransform.mProp.applyToMatrix(ti)}return ti.applyToPointArray(tr[0],tr[1],tr[2]||0)}function th(ti,tr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var tn,ts=this._elem.hierarchy.length;for(tn=0;tn<ts;tn+=1)this._elem.hierarchy[tn].finalTransform.mProp.applyToMatrix(ti)}return ti.inversePoint(tr)}function tl(ti){var tr=new Matrix;if(tr.reset(),this._elem.finalTransform.mProp.applyToMatrix(tr),this._elem.hierarchy&&this._elem.hierarchy.length){var tn,ts=this._elem.hierarchy.length;for(tn=0;tn<ts;tn+=1)this._elem.hierarchy[tn].finalTransform.mProp.applyToMatrix(tr)}return tr.inversePoint(ti)}function tp(){return[1,1,1,1]}return function(tf){function tu(ti){switch(ti){case"ADBE Root Vectors Group":case"Contents":case 2:return tu.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return tc;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return tu.effect;case"ADBE Text Properties":return tu.textInterface;default:return null}}tu.getMatrix=ti,tu.invertPoint=th,tu.applyPoint=to,tu.toWorld=tn,tu.toWorldVec=tr,tu.fromWorld=ta,tu.fromWorldVec=ts,tu.toComp=tn,tu.fromComp=tl,tu.sampleImage=tp,tu.sourceRectAtTime=tf.sourceRectAtTime.bind(tf),tu._elem=tf;var tc,tm=getDescriptor(tc=TransformExpressionInterface(tf.finalTransform.mProp),"anchorPoint");return Object.defineProperties(tu,{hasParent:{get:function(){return tf.hierarchy.length}},parent:{get:function(){return tf.hierarchy[0].layerInterface}},rotation:getDescriptor(tc,"rotation"),scale:getDescriptor(tc,"scale"),position:getDescriptor(tc,"position"),opacity:getDescriptor(tc,"opacity"),anchorPoint:tm,anchor_point:tm,transform:{get:function(){return tc}},active:{get:function(){return tf.isInRange}}}
vendor: 8,354 bytes, line 62
62),tu.startTime=tf.data.st,tu.index=tf.data.ind,tu.source=tf.data.refId,tu.height=0===tf.data.ty?tf.data.h:100,tu.width=0===tf.data.ty?tf.data.w:100,tu.inPoint=tf.data.ip/tf.comp.globalData.frameRate,tu.outPoint=tf.data.op/tf.comp.globalData.frameRate,tu._name=tf.data.nm,tu.registerMaskInterface=function(ti){tu.mask=new MaskManagerInterface(ti,tf)},tu.registerEffectsInterface=function(ti){tu.effect=ti},tu}}(),propertyGroupFactory=function(ti,tr){return function(tn){return(tn=void 0===tn?1:tn)<=0?ti:tr(tn-1)}},PropertyInterface=function(ti,tr){var tn={_name:ti};return function(ti){return(ti=void 0===ti?1:ti)<=0?tn:tr(ti-1)}},EffectsExpressionInterface=function(){function ti(tn,ts,ta,to){function th(ti){for(var tr=tn.ef,ts=0,ta=tr.length;ts<ta;){if(ti===tr[ts].nm||ti===tr[ts].mn||ti===tr[ts].ix)return 5===tr[ts].ty?tf[ts]:tf[ts]();ts+=1}throw Error()}var tl,tp=propertyGroupFactory(th,ta),tf=[],tu=tn.ef.length;for(tl=0;tl<tu;tl+=1)5===tn.ef[tl].ty?tf.push(ti(tn.ef[tl],ts.effectElements[tl],ts.effectElements[tl].propertyGroup,to)):tf.push(tr(ts.effectElements[tl],tn.ef[tl].ty,to,tp));return"ADBE Color Control"===tn.mn&&Object.defineProperty(th,"color",{get:function(){return tf[0]()}}),Object.defineProperties(th,{numProperties:{get:function(){return tn.np}},_name:{value:tn.nm},propertyGroup:{value:tp}}),th.enabled=0!==tn.en,th.active=th.enabled,th}function tr(ti,tr,tn,ts){var ta=ExpressionPropertyInterface(ti.p);return ti.p.setGroupProperty&&ti.p.setGroupProperty(PropertyInterface("",ts)),function(){return 10===tr?tn.comp.compInterface(ti.p.v):ta()}}return{createEffectsInterface:function(tr,tn){if(tr.effectsManager){var ts,ta=[],to=tr.data.ef,th=tr.effectsManager.effectElements.length;for(ts=0;ts<th;ts+=1)ta.push(ti(to[ts],tr.effectsManager.effectElements[ts],tn,tr));var tl=tr.data.ef||[],tp=function(ti){for(ts=0,th=tl.length;ts<th;){if(ti===tl[ts].nm||ti===tl[ts].mn||ti===tl[ts].ix)return ta[ts];ts+=1}return null};return Object.defineProperty(tp,"numProperties",{get:function(){return tl.length}}),tp}return null}}}(),ShapePathInterface=function(ti,tr,tn){var ts=tr.sh;function ta(ti){return"Shape"===ti||"shape"===ti||"Path"===ti||"path"===ti||"ADBE Vector Shape"===ti||2===ti?ta.path:null}var to=propertyGroupFactory(ta,tn);return ts.setGroupProperty(PropertyInterface("Path",to)),Object.defineProperties(ta,{path:{get:function(){return ts.k&&ts.getValue(),ts}},shape:{get:function(){return ts.k&&ts.getValue(),ts}},_name:{value:ti.nm},ix:{value:ti.ix},propertyIndex:{value:ti.ix},mn:{value:ti.mn},propertyGroup:{value:tn}}),ta},ShapeExpressionInterface=function(){function ti(ti,tl,tg){var tv,ty=[],tb=ti?ti.length:0;for(tv=0;tv<tb;tv+=1)"gr"===ti[tv].ty?ty.push(tr(ti[tv],tl[tv],tg)):"fl"===ti[tv].ty?ty.push(tn(ti[tv],tl[tv],tg)):"st"===ti[tv].ty?ty.push(to(ti[tv],tl[tv],tg)):"tm"===ti[tv].ty?ty.push(th(ti[tv],tl[tv],tg)):"tr"===ti[tv].ty||("el"===ti[tv].ty?ty.push(tp(ti[tv],tl[tv],tg)):"sr"===ti[tv].ty?ty.push(tf(ti[tv],tl[tv],tg)):"sh"===ti[tv].ty?ty.push(ShapePathInterface(ti[tv],tl[tv],tg)):"rc"===ti[tv].ty?ty.push(tu(ti[tv],tl[tv],tg)):"rd"===ti[tv].ty?ty.push(tc(ti[tv],tl[tv],tg)):"rp"===ti[tv].ty?ty.push(tm(ti[tv],tl[tv],tg)):"gf"===ti[tv].ty?ty.push(ts(ti[tv],tl[tv],tg)):ty.push(ta(ti[tv],tl[tv])));return ty}function tr(tr,tn,ts){var ta=function(ti){switch(ti){case"ADBE Vectors Group":case"Contents":case 2:return ta.content;default:return ta.transform}};ta.propertyGroup=propertyGroupFactory(ta,ts);var to=function(tr,tn,ts){var ta,to=function(ti){for(var tr=0,tn=ta.length;tr<tn;){if(ta[tr]._name===ti||ta[tr].mn===ti||ta[tr].propertyIndex===ti||ta[tr].ix===ti||ta[tr].ind===ti)return ta[tr];tr+=1}return"number"==typeof ti?ta[ti-1]:null};to.propertyGroup=propertyGroupFactory(to,ts),ta=ti(tr.it,tn.it,to.propertyGroup),to.numProperties=ta.length;var th=tl(tr.it[tr.it.length-1],tn.it[tn.it.length-1],to.propertyGroup);return to.transform=th,to.propertyIndex=tr.cix,to._name=tr.nm,to}(tr,tn,ta.propertyGroup),th=tl(tr.it[tr.it.length-1],tn.it[tn.it.length-1],ta.propertyGroup);return ta.content=to,ta.transform=th,Object.defineProperty(ta,"_name",{get:function(){return tr.nm}}),ta.numProperties=tr.np,ta.propertyIndex=tr.ix,ta.nm=tr.nm,ta.mn=tr.mn,ta}function tn(ti,tr,tn){function ts(ti){return"Color"===ti||"color"===ti?ts.color:"Opacity"===ti||"opacity"===ti?ts.opacity:null}return Object.defineProperties(ts,{color:{get:ExpressionPropertyInterface(tr.c)},opacity:{get:ExpressionPropertyInterface(tr.o)},_name:{value:ti.nm},mn:{value:ti.mn}}),tr.c.setGroupProperty(PropertyInterface("Color",tn)),tr.o.setGroupProperty(PropertyInterface("Opacity",tn)),ts}function ts(ti,tr,tn){function ts(ti){return"Start Point"===ti||"start point"===ti?ts.startPoint:"End Point"===ti||"end point"===ti?ts.endPoint:"Opacity"===ti||"opacity"===ti?ts.opacity:null}return Object.defineProperties(ts,{startPoint:{get:ExpressionPropertyInterface(tr.s)},endPoint:{get:ExpressionPropertyInterface(tr.e)},opacity:{get:ExpressionPropertyInterface(tr.o)},type:{get:function(){return"a"}},_name:{value:ti.nm},mn:{value:ti.mn}}),tr.s.setGroupProperty(PropertyInterface("Start Point",tn)),tr.e.setGroupProperty(PropertyInterface("End Point",tn)),tr.o.setGroupProperty(PropertyInterface("Opacity",tn)),ts}function ta(){return function(){return null}}function to(ti,tr,tn){var ts,ta=propertyGroupFactory(tf,tn),to=propertyGroupFactory(tp,ta);function th(tn){Object.defineProperty(tp,ti.d[tn].nm,{get:ExpressionPropertyInterface(tr.d.dataProps[tn].p)})}var tl=ti.d?ti.d.length:0,tp={};for(ts=0;ts<tl;ts+=1)th(ts),tr.d.dataProps[ts].p.setGroupProperty(to);function tf(ti){return"Color"===ti||"color"===ti?tf.color:"Opacity"===ti||"opacity"===ti?tf.opacity:"Stroke Width"===ti||"stroke width"===ti?tf.strokeWidth:null}return Object.defineProperties(tf,{color:{get:ExpressionPropertyInterface(tr.c)},opacity:{get:ExpressionPropertyInterface(tr.o)},strokeWidth:{get:ExpressionPropertyInterface(tr.w)},dash:{get:function(){return tp}},_name:{value:ti.nm},mn:{value:ti.mn}}),tr.c.setGroupProperty(PropertyInterface("Color",ta)),tr.o.setGroupProperty(PropertyInterface("Opacity",ta)),tr.w.setGroupProperty(PropertyInterface("Stroke Width",ta)),tf}function th(ti,tr,tn){function ts(tr){return tr===ti.e.ix||"End"===tr||"end"===tr?ts.end:tr===ti.s.ix?ts.start:tr===ti.o.ix?ts.offset:null}var ta=propertyGroupFactory(ts,tn);return ts.propertyIndex=ti.ix,tr.s.setGroupProperty(PropertyInterface("Start",ta)),tr.e.setGroupProperty(PropertyInterface("End",ta)),tr.o.setGroupProperty(PropertyInterface("Offset",ta)),ts.propertyIndex=ti.ix,ts.propertyGroup=tn,Object.defineProperties(ts,{start:{get:ExpressionPropertyInterface(tr.s)},end:{get:ExpressionPropertyInterface(tr.e)},offset:{get:ExpressionPropertyInterface(tr.o)},_name:{value:ti.nm}}),ts.mn=ti.mn,ts}function tl(ti,tr,tn){function ts(tr){return ti.a.ix===tr||"Anchor Point"===tr?ts.anchorPoint:ti.o.ix===tr||"Opacity"===tr?ts.opacity:ti.p.ix===tr||"Position"===tr?ts.position:ti.r.ix===tr||"Rotation"===tr||"ADBE Vector Rotation"===tr?ts.rotation:ti.s.ix===tr||"Scale"===tr?ts.scale:ti.sk&&ti.sk.ix===tr||"Skew"===tr?ts.skew:ti.sa&&ti.sa.ix===tr||"Skew Axis"===tr?ts.skewAxis:null}var ta=propertyGroupFactory(ts,tn);return tr.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",ta)),tr.transform.mProps.p.setGroupProperty(PropertyInterface("Position",ta)),tr.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",ta)),tr.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",ta)),tr.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",ta)),tr.transform.mProps.sk&&(tr.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",ta)),tr.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",ta))),tr.transform.op.setGroupProperty(PropertyInterface("Opacity",ta)),Object.defineProperties(ts,{opacity:{get:ExpressionPropertyInterface(tr.transform.mProps.o)},position:{get:ExpressionPropertyInterface(tr.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(tr.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(tr.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(tr.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(tr.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(tr.transform.mProps.sa)},_name:{value:ti.nm}}),ts.ty="tr",ts.mn=ti.mn,ts.propertyGroup=tn,ts}
62function tp(ti,tr,tn){function ts(tr){return ti.p.ix===tr?ts.position:ti.s.ix===tr?ts.size:null}var ta=propertyGroupFactory(ts,tn);ts.propertyIndex=ti.ix;var to="tm"===tr.sh.ty?tr.sh.prop:tr.sh;return to.s.setGroupProperty(PropertyInterface("Size",ta)),to.p.setGroupProperty(PropertyInterface("Position",ta)),Object.defineProperties(ts,{size:{get:ExpressionPropertyInterface(to.s)},position:{get:ExpressionPropertyInterface(to.p)},_name:{value:ti.nm}}),ts.mn=ti.mn,ts}function tf(ti,tr,tn){function ts(tr){return ti.p.ix===tr?ts.position:ti.r.ix===tr?ts.rotation:ti.pt.ix===tr?ts.points:ti.or.ix===tr||"ADBE Vector Star Outer Radius"===tr?ts.outerRadius:ti.os.ix===tr?ts.outerRoundness:ti.ir&&(ti.ir.ix===tr||"ADBE Vector Star Inner Radius"===tr)?ts.innerRadius:ti.is&&ti.is.ix===tr?ts.innerRoundness:null}var ta=propertyGroupFactory(ts,tn),to="tm"===tr.sh.ty?tr.sh.prop:tr.sh;return ts.propertyIndex=ti.ix,to.or.setGroupProperty(PropertyInterface("Outer Radius",ta)),to.os.setGroupProperty(PropertyInterface("Outer Roundness",ta)),to.pt.setGroupProperty(PropertyInterface("Points",ta)),to.p.setGroupProperty(PropertyInterface("Position",ta)),to.r.setGroupProperty(PropertyInterface("Rotation",ta)),ti.ir&&(to.ir.setGroupProperty(PropertyInterface("Inner Radius",ta)),to.is.setGroupProperty(PropertyInterface("Inner Roundness",ta))),Object.defineProperties(ts,{position:{get:ExpressionPropertyInterface(to.p)},rotation:{get:ExpressionPropertyInterface(to.r)},points:{get:ExpressionPropertyInterface(to.pt)},outerRadius:{get:ExpressionPropertyInterface(to.or)},outerRoundness:{get:ExpressionPropertyInterface(to.os)},innerRadius:{get:ExpressionPropertyInterface(to.ir)},innerRoundness:{get:ExpressionPropertyInterface(to.is)},_name:{value:ti.nm}}),ts.mn=ti.mn,ts}function tu(ti,tr,tn){function ts(tr){return ti.p.ix===tr?ts.position:ti.r.ix===tr?ts.roundness:ti.s.ix===tr||"Size"===tr||"ADBE Vector Rect Size"===tr?ts.size:null}var ta=propertyGroupFactory(ts,tn),to="tm"===tr.sh.ty?tr.sh.prop:tr.sh;return ts.propertyIndex=ti.ix,to.p.setGroupProperty(PropertyInterface("Position",ta)),to.s.setGroupProperty(PropertyInterface("Size",ta)),to.r.setGroupProperty(PropertyInterface("Rotation",ta)),Object.defineProperties(ts,{position:{get:ExpressionPropertyInterface(to.p)},roundness:{get:ExpressionPropertyInterface(to.r)},size:{get:ExpressionPropertyInterface(to.s)},_name:{value:ti.nm}}),ts.mn=ti.mn,ts}function tc(ti,tr,tn){function ts(tr){return ti.r.ix===tr||"Round Corners 1"===tr?ts.radius:null}var ta=propertyGroupFactory(ts,tn),to=tr;return ts.propertyIndex=ti.ix,to.rd.setGroupProperty(PropertyInterface("Radius",ta)),Object.defineProperties(ts,{radius:{get:ExpressionPropertyInterface(to.rd)},_name:{value:ti.nm}}),ts.mn=ti.mn,ts}function tm(ti,tr,tn){function ts(tr){return ti.c.ix===tr||"Copies"===tr?ts.copies:ti.o.ix===tr||"Offset"===tr?ts.offset:null}var ta=propertyGroupFactory(ts,tn),to=tr;return ts.propertyIndex=ti.ix,to.c.setGroupProperty(PropertyInterface("Copies",ta)),to.o.setGroupProperty(PropertyInterface("Offset",ta)),Object.defineProperties(ts,{copies:{get:ExpressionPropertyInterface(to.c)},offset:{get:ExpressionPropertyInterface(to.o)},_name:{value:ti.nm}}),ts.mn=ti.mn,ts}return function(tr,tn,ts){var ta;function to(ti){if("number"==typeof ti)return 0===(ti=void 0===ti?1:ti)?ts:ta[ti-1];for(var tr=0,tn=ta.length;tr<tn;){if(ta[tr]._name===ti)return ta[tr];tr+=1}return null}return to.propertyGroup=propertyGroupFactory(to,function(){return ts}),ta=ti(tr,tn,to.propertyGroup),to.numProperties=ta.length,to._name="Contents",to}}(),TextExpressionInterface=function(ti){var tr;function tn(ti){return"ADBE Text Document"===ti?tn.sourceText:null}return Object.defineProperty(tn,"sourceText",{get:function(){ti.textProperty.getValue();var tn=ti.textProperty.currentData.t;return void 0!==tn&&(ti.textProperty.currentData.t=void 0,(tr=new String(tn)).value=tn||new String(tn)),tr}}),tn};function _typeof$2(ti){return(_typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}var dataInterfaceFactory,FootageInterface=(dataInterfaceFactory=function(ti){function tr(ti){return"Outline"===ti?tr.outlineInterface():null}return tr._name="Outline",tr.outlineInterface=function(ti){var tr="",tn=ti.getFootageData();function ts(ti){if(tn[ti])return tr=ti,"object"===_typeof$2(tn=tn[ti])?ts:tn;var ta=ti.indexOf(tr);return -1!==ta?"object"===_typeof$2(tn=tn[parseInt(ti.substr(ta+tr.length),10)])?ts:tn:""}return function(){return tr="",tn=ti.getFootageData(),ts}}(ti),tr},function(ti){function tr(ti){return"Data"===ti?tr.dataInterface:null}return tr._name="Data",tr.dataInterface=dataInterfaceFactory(ti),tr}),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(ti){return interfaces[ti]||null}function _typeof$1(ti){return(_typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}function seedRandom(ti,tr){var tn=this,ts=tr.pow(256,6),ta=tr.pow(2,52),to=2*ta;function th(ti){var tr,tn=ti.length,ts=this,ta=0,to=ts.i=ts.j=0,th=ts.S=[];for(tn||(ti=[tn++]);ta<256;)th[ta]=ta++;for(ta=0;ta<256;ta++)th[ta]=th[to=255&to+ti[ta%tn]+(tr=th[ta])],th[to]=tr;ts.g=function(ti){for(var tr,tn=0,ta=ts.i,to=ts.j,th=ts.S;ti--;)tr=th[ta=255&ta+1],tn=256*tn+th[255&(th[ta]=th[to=255&to+tr])+(th[to]=tr)];return ts.i=ta,ts.j=to,tn}}function tl(ti,tr){return tr.i=ti.i,tr.j=ti.j,tr.S=ti.S.slice(),tr}function tp(ti,tr){for(var tn,ts=ti+"",ta=0;ta<ts.length;
vendor: 8,882 bytes, line 62
62)tr[255&ta]=255&(tn^=19*tr[255&ta])+ts.charCodeAt(ta++);return tf(tr)}function tf(ti){return String.fromCharCode.apply(0,ti)}tr.seedrandom=function(tu,tc,tm){var tg=[],tv=tp(function ti(tr,tn){var ts,ta=[],to=_typeof$1(tr);if(tn&&"object"==to)for(ts in tr)try{ta.push(ti(tr[ts],tn-1))}catch(ti){}return ta.length?ta:"string"==to?tr:tr+"\x00"}((tc=!0===tc?{entropy:!0}:tc||{}).entropy?[tu,tf(ti)]:null===tu?function(){try{var tr=new Uint8Array(256);return(tn.crypto||tn.msCrypto).getRandomValues(tr),tf(tr)}catch(tr){var ts=tn.navigator,ta=ts&&ts.plugins;return[+new Date,tn,ta,tn.screen,tf(ti)]}}():tu,3),tg),ty=new th(tg),tb=function(){for(var ti=ty.g(6),tr=ts,tn=0;ti<ta;)ti=256*(ti+tn),tr*=256,tn=ty.g(1);for(;ti>=to;)ti/=2,tr/=2,tn>>>=1;return(ti+tn)/tr};return tb.int32=function(){return 0|ty.g(4)},tb.quick=function(){return ty.g(4)/4294967296},tb.double=tb,tp(tf(ty.S),ti),(tc.pass||tm||function(ti,tn,ts,ta){return ta&&(ta.S&&tl(ta,ty),ti.state=function(){return tl(ty,{})}),ts?(tr.random=ti,tn):ti})(tb,tv,"global"in tc?tc.global:this==tr,tc.state)},tp(tr.random(),ti)}function initialize$2(ti){seedRandom([],ti)}var propTypes={SHAPE:"shape"};function _typeof(ti){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ti){return typeof ti}:function(ti){return ti&&"function"==typeof Symbol&&ti.constructor===Symbol&&ti!==Symbol.prototype?"symbol":typeof ti})(ti)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(ti){return ti.constructor===Array||ti.constructor===Float32Array}function isNumerable(ti,tr){return"number"===ti||"boolean"===ti||"string"===ti||tr instanceof Number}function $bm_neg(ti){var tr=_typeof(ti);if("number"===tr||"boolean"===tr||ti instanceof Number)return-ti;if($bm_isInstanceOfArray(ti)){var tn,ts=ti.length,ta=[];for(tn=0;tn<ts;tn+=1)ta[tn]=-ti[tn];return ta}return ti.propType?ti.v:-ti}initialize$2(BMMath);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(ti,tr){var tn=_typeof(ti),ts=_typeof(tr);if("string"===tn||"string"===ts||isNumerable(tn,ti)&&isNumerable(ts,tr))return ti+tr;if($bm_isInstanceOfArray(ti)&&isNumerable(ts,tr))return(ti=ti.slice(0))[0]+=tr,ti;if(isNumerable(tn,ti)&&$bm_isInstanceOfArray(tr))return(tr=tr.slice(0))[0]=ti+tr[0],tr;if($bm_isInstanceOfArray(ti)&&$bm_isInstanceOfArray(tr)){for(var ta=0,to=ti.length,th=tr.length,tl=[];ta<to||ta<th;)("number"==typeof ti[ta]||ti[ta]instanceof Number)&&("number"==typeof tr[ta]||tr[ta]instanceof Number)?tl[ta]=ti[ta]+tr[ta]:tl[ta]=void 0===tr[ta]?ti[ta]:ti[ta]||tr[ta],ta+=1;return tl}return 0}var add=sum;function sub(ti,tr){var tn=_typeof(ti),ts=_typeof(tr);if(isNumerable(tn,ti)&&isNumerable(ts,tr))return"string"===tn&&(ti=parseInt(ti,10)),"string"===ts&&(tr=parseInt(tr,10)),ti-tr;if($bm_isInstanceOfArray(ti)&&isNumerable(ts,tr))return(ti=ti.slice(0))[0]-=tr,ti;if(isNumerable(tn,ti)&&$bm_isInstanceOfArray(tr))return(tr=tr.slice(0))[0]=ti-tr[0],tr;if($bm_isInstanceOfArray(ti)&&$bm_isInstanceOfArray(tr)){for(var ta=0,to=ti.length,th=tr.length,tl=[];ta<to||ta<th;)("number"==typeof ti[ta]||ti[ta]instanceof Number)&&("number"==typeof tr[ta]||tr[ta]instanceof Number)?tl[ta]=ti[ta]-tr[ta]:tl[ta]=void 0===tr[ta]?ti[ta]:ti[ta]||tr[ta],ta+=1;return tl}return 0}function mul(ti,tr){var tn,ts,ta,to=_typeof(ti),th=_typeof(tr);if(isNumerable(to,ti)&&isNumerable(th,tr))return ti*tr;if($bm_isInstanceOfArray(ti)&&isNumerable(th,tr)){for(tn=createTypedArray("float32",ta=ti.length),ts=0;ts<ta;ts+=1)tn[ts]=ti[ts]*tr;return tn}if(isNumerable(to,ti)&&$bm_isInstanceOfArray(tr)){for(tn=createTypedArray("float32",ta=tr.length),ts=0;ts<ta;ts+=1)tn[ts]=ti*tr[ts];return tn}return 0}function div(ti,tr){var tn,ts,ta,to=_typeof(ti),th=_typeof(tr);if(isNumerable(to,ti)&&isNumerable(th,tr))return ti/tr;if($bm_isInstanceOfArray(ti)&&isNumerable(th,tr)){for(tn=createTypedArray("float32",ta=ti.length),ts=0;ts<ta;ts+=1)tn[ts]=ti[ts]/tr;return tn}if(isNumerable(to,ti)&&$bm_isInstanceOfArray(tr)){for(tn=createTypedArray("float32",ta=tr.length),ts=0;ts<ta;ts+=1)tn[ts]=ti/tr[ts];return tn}return 0}function mod(ti,tr){return"string"==typeof ti&&(ti=parseInt(ti,10)),"string"==typeof tr&&(tr=parseInt(tr,10)),ti%tr}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(ti,tr,tn){if(tr>tn){var ts=tn;tn=tr,tr=ts}return Math.min(Math.max(ti,tr),tn)}function radiansToDegrees(ti){return ti/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(ti){return ti*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(ti,tr){if("number"==typeof ti||ti instanceof Number)return tr=tr||0,Math.abs(ti-tr);tr||(tr=helperLengthArray);var tn,ts=Math.min(ti.length,tr.length),ta=0;for(tn=0;tn<ts;tn+=1)ta+=Math.pow(tr[tn]-ti[tn],2);return Math.sqrt(ta)}function normalize(ti){return div(ti,length(ti))}function rgbToHsl(ti){var tr,tn,ts=ti[0],ta=ti[1],to=ti[2],th=Math.max(ts,ta,to),tl=Math.min(ts,ta,to),tp=(th+tl)/2;if(th===tl)tr=0,tn=0;else{var tf=th-tl;switch(tn=tp>.5?tf/(2-th-tl):tf/(th+tl),th){case ts:tr=(ta-to)/tf+(ta<to?6:0);break;case ta:tr=(to-ts)/tf+2;break;case to:tr=(ts-ta)/tf+4}tr/=6}return[tr,tn,tp,ti[3]]}function hue2rgb(ti,tr,tn){return tn<0&&(tn+=1),tn>1&&(tn-=1),tn<1/6?ti+6*(tr-ti)*tn:tn<.5?tr:tn<2/3?ti+(tr-ti)*(2/3-tn)*6:ti}function hslToRgb(ti){var tr,tn,ts,ta=ti[0],to=ti[1],th=ti[2];if(0===to)tr=th,ts=th,tn=th;else{var tl=th<.5?th*(1+to):th+to-th*to,tp=2*th-tl;tr=hue2rgb(tp,tl,ta+1/3),tn=hue2rgb(tp,tl,ta),ts=hue2rgb(tp,tl,ta-1/3)}return[tr,tn,ts,ti[3]]}function linear(ti,tr,tn,ts,ta){if(void 0!==ts&&void 0!==ta||(ts=tr,ta=tn,tr=0,tn=1),tn<tr){var to=tn;tn=tr,tr=to}if(ti<=tr)return ts;if(ti>=tn)return ta;var th,tl=tn===tr?0:(ti-tr)/(tn-tr);if(!ts.length)return ts+(ta-ts)*tl;var tp=ts.length,tf=createTypedArray("float32",tp);for(th=0;th<tp;th+=1)tf[th]=ts[th]+(ta[th]-ts[th])*tl;return tf}function random(ti,tr){if(void 0===tr&&(void 0===ti?(ti=0,tr=1):(tr=ti,ti=void 0)),tr.length){var tn,ts=tr.length;ti||(ti=createTypedArray("float32",ts));var ta=createTypedArray("float32",ts),to=BMMath.random();for(tn=0;tn<ts;tn+=1)ta[tn]=ti[tn]+to*(tr[tn]-ti[tn]);return ta}return void 0===ti&&(ti=0),ti+BMMath.random()*(tr-ti)}function createPath(ti,tr,tn,ts){var ta,to=ti.length,th=shapePool.newElement();th.setPathData(!!ts,to);var tl,tp,tf=[0,0];for(ta=0;ta<to;ta+=1)tl=tr&&tr[ta]?tr[ta]:tf,tp=tn&&tn[ta]?tn[ta]:tf,th.setTripleAt(ti[ta][0],ti[ta][1],tp[0]+ti[ta][0],tp[1]+ti[ta][1],tl[0]+ti[ta][0],tl[1]+ti[ta][1],ta,!0);return th}function initiateExpression(elem,data,property){function noOp(ti){return ti}if(!elem.globalData.renderConfig.runExpressions)return noOp;var transform,$bm_transform,content,effect,val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,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 loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,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,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(ti,tr){var tn,ts,ta=this.pv.length?this.pv.length:1,to=createTypedArray("float32",ta),th=Math.floor(5*time);for(tn=0,ts=0;tn<th;){for(ts=0;ts<ta;ts+=1)to[ts]+=-tr+2*tr*BMMath.random();tn+=1}var tl=5*time,tp=tl-Math.floor(tl),tf=createTypedArray("float32",ta);if(ta>1){for(ts=0;ts<ta;ts+=1)tf[ts]=this.pv[ts]+to[ts]+(-tr+2*tr*BMMath.random())*tp;return tf}return this.pv+to[0]+(-tr+2*tr*BMMath.random())*tp}).bind(this);function loopInDuration(ti,tr){return loopIn(ti,tr,!0)}function loopOutDuration(ti,tr){return loopOut(ti,tr,!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 time,velocity,value,text,textIndex,textTotal,selectorValue,comp=elem.comp.globalData.projectInterface.b
vendor: 22,799 bytes, line 62
62ind(elem.comp.globalData.projectInterface);function lookAt(ti,tr){var tn=[tr[0]-ti[0],tr[1]-ti[1],tr[2]-ti[2]],ts=Math.atan2(tn[0],Math.sqrt(tn[1]*tn[1]+tn[2]*tn[2]))/degToRads;return[-Math.atan2(tn[1],tn[2])/degToRads,ts,0]}function easeOut(ti,tr,tn,ts,ta){return applyEase(easeOutBez,ti,tr,tn,ts,ta)}function easeIn(ti,tr,tn,ts,ta){return applyEase(easeInBez,ti,tr,tn,ts,ta)}function ease(ti,tr,tn,ts,ta){return applyEase(easeInOutBez,ti,tr,tn,ts,ta)}function applyEase(ti,tr,tn,ts,ta,to){void 0===ta?(ta=tn,to=ts):tr=(tr-tn)/(ts-tn),tr>1?tr=1:tr<0&&(tr=0);var th=ti(tr);if($bm_isInstanceOfArray(ta)){var tl,tp=ta.length,tf=createTypedArray("float32",tp);for(tl=0;tl<tp;tl+=1)tf[tl]=(to[tl]-ta[tl])*th+ta[tl];return tf}return(to-ta)*th+ta}function nearestKey(ti){var tr,tn,ts,ta=data.k.length;if(data.k.length&&"number"!=typeof data.k[0]){if(tn=-1,(ti*=elem.comp.globalData.frameRate)<data.k[0].t)tn=1,ts=data.k[0].t;else{for(tr=0;tr<ta-1;tr+=1){if(ti===data.k[tr].t){tn=tr+1,ts=data.k[tr].t;break}if(ti>data.k[tr].t&&ti<data.k[tr+1].t){ti-data.k[tr].t>data.k[tr+1].t-ti?(tn=tr+2,ts=data.k[tr+1].t):(tn=tr+1,ts=data.k[tr].t);break}}-1===tn&&(tn=tr+1,ts=data.k[tr].t)}}else tn=0,ts=0;var to={};return to.index=tn,to.time=ts/elem.comp.globalData.frameRate,to}function key(ti){if(!data.k.length||"number"==typeof data.k[0])throw Error("The property has no keyframe at index "+ti);ti-=1,tr={time:data.k[ti].t/elem.comp.globalData.frameRate,value:[]};var tr,tn,ts,ta=Object.prototype.hasOwnProperty.call(data.k[ti],"s")?data.k[ti].s:data.k[ti-1].e;for(ts=ta.length,tn=0;tn<ts;tn+=1)tr[tn]=ta[tn],tr.value[tn]=ta[tn];return tr}function framesToTime(ti,tr){return tr||(tr=elem.comp.globalData.frameRate),ti/tr}function timeToFrames(ti,tr){return ti||0===ti||(ti=time),tr||(tr=elem.comp.globalData.frameRate),ti*tr}function seedRandom(ti){BMMath.seedrandom(randSeed+ti)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(ti,tr){return"string"==typeof value?void 0===tr?value.substring(ti):value.substring(ti,tr):""}function substr(ti,tr){return"string"==typeof value?void 0===tr?value.substr(ti):value.substr(ti,tr):""}function posterizeTime(ti){value=valueAtTime(time=0===ti?0:Math.floor(time*ti)/ti)}var parent,index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(ti){return value=ti,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||($bm_transform=transform=elem.layerInterface("ADBE Transform Group"),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,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(ti,tr,tn){tr.x&&(tn.k=!0,tn.x=!0,tn.initiateExpression=ExpressionManager.initiateExpression,tn.effectsSequence.push(tn.initiateExpression(ti,tr,tn).bind(tn)))},getSpeedAtTime:function(ti){var tr,tn=this.getValueAtTime(ti),ts=this.getValueAtTime(ti+-.01),ta=0;if(tn.length){for(tr=0;tr<tn.length;tr+=1)ta+=Math.pow(ts[tr]-tn[tr],2);ta=100*Math.sqrt(ta)}else ta=0;return ta},getVelocityAtTime:function(ti){if(void 0!==this.vel)return this.vel;var tr,tn,ts=this.getValueAtTime(ti),ta=this.getValueAtTime(ti+-.001);if(ts.length)for(tr=createTypedArray("float32",ts.length),tn=0;tn<ts.length;tn+=1)tr[tn]=-((ta[tn]-ts[tn])/.001);else tr=-((ta-ts)/.001);return tr},getValueAtTime:function(ti){return ti*=this.elem.globalData.frameRate,(ti-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<ti?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(ti,this._cachingAtTime),this._cachingAtTime.lastFrame=ti),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(ti){this.propertyGroup=ti}};function addPropertyDecorator(){function ti(ti,tr,tn){if(!this.k||!this.keyframes)return this.pv;ti=ti?ti.toLowerCase():"";var ts,ta,to,th,tl,tp=this.comp.renderedFrame,tf=this.keyframes,tu=tf[tf.length-1].t;if(tp<=tu)return this.pv;if(tn?ta=tu-(ts=tr?Math.abs(tu-this.elem.comp.globalData.frameRate*tr):Math.max(0,tu-this.elem.data.ip)):((!tr||tr>tf.length-1)&&(tr=tf.length-1),ts=tu-(ta=tf[tf.length-1-tr].t)),"pingpong"===ti){if(Math.floor((tp-ta)/ts)%2!=0)return this.getValueAtTime((ts-(tp-ta)%ts+ta)/this.comp.globalData.frameRate,0)}else{if("offset"===ti){var tc=this.getValueAtTime(ta/this.comp.globalData.frameRate,0),tm=this.getValueAtTime(tu/this.comp.globalData.frameRate,0),tg=this.getValueAtTime(((tp-ta)%ts+ta)/this.comp.globalData.frameRate,0),tv=Math.floor((tp-ta)/ts);if(this.pv.length){for(th=(tl=Array(tc.length)).length,to=0;to<th;to+=1)tl[to]=(tm[to]-tc[to])*tv+tg[to];return tl}return(tm-tc)*tv+tg}if("continue"===ti){var ty=this.getValueAtTime(tu/this.comp.globalData.frameRate,0),tb=this.getValueAtTime((tu-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(th=(tl=Array(ty.length)).length,to=0;to<th;to+=1)tl[to]=ty[to]+(ty[to]-tb[to])*((tp-tu)/this.comp.globalData.frameRate)/5e-4;return tl}return ty+(tp-tu)/.001*(ty-tb)}}return this.getValueAtTime(((tp-ta)%ts+ta)/this.comp.globalData.frameRate,0)}function tr(ti,tr,tn){if(!this.k)return this.pv;ti=ti?ti.toLowerCase():"";var ts,ta,to,th,tl,tp=this.comp.renderedFrame,tf=this.keyframes,tu=tf[0].t;if(tp>=tu)return this.pv;if(tn?ta=tu+(ts=tr?Math.abs(this.elem.comp.globalData.frameRate*tr):Math.max(0,this.elem.data.op-tu)):((!tr||tr>tf.length-1)&&(tr=tf.length-1),ts=(ta=tf[tr].t)-tu),"pingpong"===ti){if(Math.floor((tu-tp)/ts)%2==0)return this.getValueAtTime(((tu-tp)%ts+tu)/this.comp.globalData.frameRate,0)}else{if("offset"===ti){var tc=this.getValueAtTime(tu/this.comp.globalData.frameRate,0),tm=this.getValueAtTime(ta/this.comp.globalData.frameRate,0),tg=this.getValueAtTime((ts-(tu-tp)%ts+tu)/this.comp.globalData.frameRate,0),tv=Math.floor((tu-tp)/ts)+1;if(this.pv.length){for(th=(tl=Array(tc.length)).length,to=0;to<th;to+=1)tl[to]=tg[to]-(tm[to]-tc[to])*tv;return tl}return tg-(tm-tc)*tv}if("continue"===ti){var ty=this.getValueAtTime(tu/this.comp.globalData.frameRate,0),tb=this.getValueAtTime((tu+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(th=(tl=Array(ty.length)).length,to=0;to<th;to+=1)tl[to]=ty[to]+(ty[to]-tb[to])*(tu-tp)/.001;return tl}return ty+(ty-tb)*(tu-tp)/.001}}return this.getValueAtTime((ts-((tu-tp)%ts+tu))/this.comp.globalData.frameRate,0)}function tn(ti,tr){if(!this.k||(ti=.5*(ti||.4),(tr=Math.floor(tr||5))<=1))return this.pv;var tn,ts,ta=this.comp.renderedFrame/this.comp.globalData.frameRate,to=ta-ti,th=tr>1?(ta+ti-to)/(tr-1):1,tl=0,tp=0;for(tn=this.pv.length?createTypedArray("float32",this.pv.length):0;tl<tr;){if(ts=this.getValueAtTime(to+tl*th),this.pv.length)for(tp=0;tp<this.pv.length;tp+=1)tn[tp]+=ts[tp];else tn+=ts;tl+=1}if(this.pv.length)for(tp=0;tp<this.pv.length;tp+=1)tn[tp]/=tr;else tn/=tr;return tn}function ts(ti){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var tr=this._transformCachingAtTime.v;if(tr.cloneFromProps(this.pre.props),this.appliedTransformations<1){var tn=this.a.getValueAtTime(ti);tr.translate(-tn[0]*this.a.mult,-tn[1]*this.a.mult,tn[2]*this.a.mult)}if(this.appliedTransformations<2){var ts=this.s.getValueAtTime(ti);tr.scale(ts[0]*this.s.mult,ts[1]*this.s.mult,ts[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var ta=this.sk.getValueAtTime(ti),to=this.sa.getValueAtTime(ti);tr.skewFromAxis(-ta*this.sk.mult,to*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var th=this.r.getValueAtTime(ti);tr.rotate(-th*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var tl=this.rz.getValueAtTime(ti),tp=this.ry.getValueAtTime(ti),tf=this.rx.getValueAtTime(ti),tu=this.or.getValueAtTime(ti);tr.rotateZ(-tl*this.rz.mult).rotateY(tp*this.ry.mult).rotateX(tf*this.rx.mult).rotateZ(-tu[2]*this.or.mult).rotateY(tu[1]*this.or.mult).rotateX(tu[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var tc=this.px.getValueAtTime(ti),tm=this.py.getValueAtTime(ti);if(this.data.p.z){var tg=this.pz.getValueAtTime(ti);tr.translate(tc*this.px.mult,tm*this.py.mult,-tg*this.pz.mult)}else tr.translate(tc*this.px.mult,tm*this.py.mult,0)}else{var tv=this.p.getValueAtTime(ti);tr.translate(tv[0]*this.p.mult,tv[1]*this.p.mult,-tv[2]*this.p.mult)}return tr}function ta(){return this.v.clone(new Matrix)}var to=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(ti,tr,tn){var th=to(ti,tr,tn);return th.dynamicProperties.length?th.getValueAtTime=ts.bind(th):th.getValueAtTime=ta.bind(th),th.setGroupProperty=expressionHelpers.setGroupProperty,th};var th=PropertyFactory.getProp;PropertyFactory.getProp=function(ts,ta,to,tl,tp){var tf=th(ts,ta,to,tl,tp);tf.kf?tf.getValueAtTime=expressionHelpers.getValueAtTime.bind(tf):tf.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(tf),tf.setGroupProperty=expressionHelpers.setGroupProperty,tf.loopOut=ti,tf.loopIn=tr,tf.smooth=tn,tf.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(tf),tf.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(tf),tf.numKeys=1===ta.a?ta.k.length:0,tf.propertyIndex=ta.ix;var tu=0;return 0!==to&&(tu=createTypedArray("float32",1===ta.a?ta.k[0].s.length:ta.k.length)),tf._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:tu},expressionHelpers.searchExpressions(ts,ta,tf),tf.k&&tp.addDynamicProperty(tf),tf};var tl=ShapePropertyFactory.getConstructorFunction(),tp=ShapePropertyFactory.getKeyframedConstructorFunction();function tf(){}tf.prototype={vertices:function(ti,tr){this.k&&this.getValue();var tn,ts=this.v;void 0!==tr&&(ts=this.getValueAtTime(tr,0));var ta=ts._length,to=ts[ti],th=ts.v,tl=createSizedArray(ta);for(tn=0;tn<ta;tn+=1)tl[tn]="i"===ti||"o"===ti?[to[tn][0]-th[tn][0],to[tn][1]-th[tn][1]]:[to[tn][0],to[tn][1]];return tl},points:function(ti){return this.vertices("v",ti)},inTangents:function(ti){return this.vertices("i",ti)},outTangents:function(ti){return this.vertices("o",ti)},isClosed:function(){return this.v.c},pointOnPath:function(ti,tr){var tn=this.v;void 0!==tr&&(tn=this.getValueAtTime(tr,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(tn));for(var ts,ta=this._segmentsLength,to=ta.lengths,th=ta.totalLength*ti,tl=0,tp=to.length,tf=0;tl<tp;){if(tf+to[tl].addedLength>th){var tu=tl,tc=tn.c&&tl===tp-1?0:tl+1,tm=(th-tf)/to[tl].addedLength;ts=bez.getPointInSegment(tn.v[tu],tn.v[tc],tn.o[tu],tn.i[tc],tm,to[tl]);break}tf+=to[tl].addedLength,tl+=1}return ts||(ts=tn.c?[tn.v[0][0],tn.v[0][1]]:[tn.v[tn._length-1][0],tn.v[tn._length-1][1]]),ts},vectorOnPath:function(ti,tr,tn){1==ti?ti=this.v.c:0==ti&&(ti=.999);var ts=this.pointOnPath(ti,tr),ta=this.pointOnPath(ti+.001,tr),to=ta[0]-ts[0],th=ta[1]-ts[1],tl=Math.sqrt(Math.pow(to,2)+Math.pow(th,2));return 0===tl?[0,0]:"tangent"===tn?[to/tl,th/tl]:[-th/tl,to/tl]},tangentOnPath:function(ti,tr){return this.vectorOnPath(ti,tr,"tangent")},normalOnPath:function(ti,tr){return this.vectorOnPath(ti,tr,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([tf],tl),extendPrototype([tf],tp),tp.prototype.getValueAtTime=function(ti){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),ti*=this.elem.globalData.frameRate,(ti-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<ti?this._caching.lastIndex:0,this._cachingAtTime.lastTime=ti,this.interpolateShape(ti,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},tp.prototype.initiateExpression=ExpressionManager.initiateExpression;var tu=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(ti,tr,tn,ts,ta){var to=tu(ti,tr,tn,ts,ta);return to.propertyIndex=tr.ix,to.lock=!1,3===tn?expressionHelpers.searchExpressions(ti,tr.pt,to):4===tn&&expressionHelpers.searchExpressions(ti,tr.ks,to),to.k&&ti.addDynamicProperty(to),to}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(ti,tr){var tn=this.calculateExpression(tr);if(ti.t!==tn){var ts={};return this.copyData(ts,ti),ts.t=tn.toString(),ts.__complete=!1,ts}return ti},TextProperty.prototype.searchProperty=function(){var ti=this.searchKeyframes(),tr=this.searchExpressions();return this.kf=ti||tr,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}}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(ti,tr,tn,ts,ta){this.filterManager=tr;var to=createNS("feColorMatrix");to.setAttribute("type","matrix"),to.setAttribute("color-interpolation-filters","linearRGB"),to.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"),to.setAttribute("result",ts+"_tint_1"),ti.appendChild(to),(to=createNS("feColorMatrix")).setAttribute("type","matrix"),to.setAttribute("color-interpolation-filters","sRGB"),to.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),to.setAttribute("result",ts+"_tint_2"),ti.appendChild(to),this.matrixFilter=to;var th=this.createMergeNode(ts,[ta,ts+"_tint_1",ts+"_tint_2"]);ti.appendChild(th)}function SVGFillFilter(ti,tr,tn,ts){this.filterManager=tr;var ta=createNS("feColorMatrix");ta.setAttribute("type","matrix"),ta.setAttribute("color-interpolation-filters","sRGB"),ta.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),ta.setAttribute("result",ts),ti.appendChild(ta),this.matrixFilter=ta}function SVGStrokeEffect(ti,tr,tn){this.initialized=!1,this.filterManager=tr,this.elem=tn,this.paths=[]}function SVGTritoneFilter(ti,tr,tn,ts){this.filterManager=tr;var ta=createNS("feColorMatrix");ta.setAttribute("type","matrix"),ta.setAttribute("color-interpolation-filters","linearRGB"),ta.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"),ti.appendChild(ta);var to=createNS("feComponentTransfer");to.setAttribute("color-interpolation-filters","sRGB"),to.setAttribute("result",ts),this.matrixFilter=to;var th=createNS("feFuncR");th.setAttribute("type","table"),to.appendChild(th),this.feFuncR=th;var tl=createNS("feFuncG");tl.setAttribute("type","table"),to.appendChild(tl),this.feFuncG=tl;var tp=createNS("feFuncB");tp.setAttribute("type","table"),to.appendChild(tp),this.feFuncB=tp,ti.appendChild(to)}function SVGProLevelsFilter(ti,tr,tn,ts){this.filterManager=tr;var ta=this.filterManager.effectElements,to=createNS("feComponentTransfer");(ta[10].p.k||0!==ta[10].p.v||ta[11].p.k||1!==ta[11].p.v||ta[12].p.k||1!==ta[12].p.v||ta[13].p.k||0!==ta[13].p.v||ta[14].p.k||1!==ta[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",to)),(ta[17].p.k||0!==ta[17].p.v||ta[18].p.k||1!==ta[18].p.v||ta[19].p.k||1!==ta[19].p.v||ta[20].p.k||0!==ta[20].p.v||ta[21].p.k||1!==ta[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",to)),(ta[24].p.k||0!==ta[24].p.v||ta[25].p.k||1!==ta[25].p.v||ta[26].p.k||1!==ta[26].p.v||ta[27].p.k||0!==ta[27].p.v||ta[28].p.k||1!==ta[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",to)),(ta[31].p.k||0!==ta[31].p.v||ta[32].p.k||1!==ta[32].p.v||ta[33].p.k||1!==ta[33].p.v||ta[34].p.k||0!==ta[34].p.v||ta[35].p.k||1!==ta[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",to)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(to.setAttribute("color-interpolation-filters","sRGB"),ti.appendChild(to)),(ta[3].p.k||0!==ta[3].p.v||ta[4].p.k||1!==ta[4].p.v||ta[5].p.k||1!==ta[5].p.v||ta[6].p.k||0!==ta[6].p.v||ta[7].p.k||1!==ta[7].p.v)&&((to=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),to.setAttribute("result",ts),ti.appendChild(to),this.feFuncRComposed=this.createFeFunc("feFuncR",to),this.feFuncGComposed=this.createFeFunc("feFuncG",to),this.feFuncBComposed=this.createFeFunc("feFuncB",to))}function SVGDropShadowEffect(ti,tr,tn,ts,ta){var to=tr.container.globalData.renderConfig.filterSize,th=tr.data.fs||to;ti.setAttribute("x",th.x||to.x),ti.setAttribute("y",th.y||to.y),ti.setAttribute("width",th.width||to.width),ti.setAttribute("height",th.height||to.height),this.filterManager=tr;var tl=createNS("feGaussianBlur");tl.setAttribute("in","SourceAlpha"),tl.setAttribute("result",ts+"_drop_shadow_1"),tl.setAttribute("stdDeviation","0"),this.feGaussianBlur=tl,ti.appendChild(tl);var tp=createNS("feOffset");tp.setAttribute("dx","25"),tp.setAttribute("dy","0"),tp.setAttribute("in",ts+"_drop_shadow_1"),tp.setAttribute("result",ts+"_drop_shadow_2"),this.feOffset=tp,ti.appendChild(tp);var tf=createNS("feFlood");tf.setAttribute("flood-color","#00ff00"),tf.setAttribute("flood-opacity","1"),tf.setAttribute("result",ts+"_drop_shadow_3"),this.feFlood=tf,ti.appendChild(tf);var tu=createNS("feComposite");tu.setAttribute("in",ts+"_drop_shadow_3"),tu.setAttribute("in2",ts+"_drop_shadow_2"),tu.setAttribute("operator","in"),tu.setAttribute("result",ts+"_drop_shadow_4"),ti.appendChild(tu);var tc=this.createMergeNode(ts,[ts+"_drop_shadow_4",ta]);ti.appendChild(tc)}SVGComposableEffect.prototype={createMergeNode:function(ti,tr){var tn,ts,ta=createNS("feMerge");for(ta.setAttribute("result",ti),ts=0;ts<tr.length;ts+=1)(tn=createNS("feMergeNode")).setAttribute("in",tr[ts]),ta.appendChild(tn),ta.appendChild(tn);return ta}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(ti){if(ti||this.filterManager._mdf){var tr=this.filterManager.effectElements[0].p.v,tn=this.filterManager.effectElements[1].p.v,ts=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",tn[0]-tr[0]+" 0 0 0 "+tr[0]+" "+(tn[1]-tr[1])+" 0 0 0 "+tr[1]+" "+(tn[2]-tr[2])+" 0 0 0 "+tr[2]+" 0 0 0 "+ts+" 0")}},SVGFillFilter.prototype.renderFrame=function(ti){if(ti||this.filterManager._mdf){var tr=this.filterManager.effectElements[2].p.v,tn=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+tr[0]+" 0 0 0 0 "+tr[1]+" 0 0 0 0 "+tr[2]+" 0 0 0 "+tn+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var ti,tr,tn,ts,ta=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(ts=this.elem.maskManager.masksProperties.length,tn=0):ts=(tn=this.filterManager.effectElements[0].p.v-1)+1,(tr=createNS("g")).setAttribute("fill","none"),tr.setAttribute("stroke-linecap","round"),tr.setAttribute("stroke-dashoffset",1);tn<ts;tn+=1)ti=createNS("path"),tr.appendChild(ti),this.paths.push({p:ti,m:tn});if(3===this.filterManager.effectElements[10].p.v){var to=createNS("mask"),th=createElementID();to.setAttribute("id",th),to.setAttribute("mask-type","alpha"),to.appendChild(tr),this.elem.globalData.defs.appendChild(to);var tl=createNS("g");for(tl.setAttribute("mask","url("+getLocationHref()+"#"+th+")");ta[0];)tl.appendChild(ta[0]);this.elem.layerElement.appendChild(tl),this.masker=to,tr.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(ta=this.elem.layerElement.children||this.elem.layerElement.childNodes;ta.length;)this.elem.layerElement.removeChild(ta[0]);this.elem.layerElement.appendChild(tr),this.elem.layerElement.removeAttribute("mask"),tr.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=tr},SVGStrokeEffect.prototype.renderFrame=function(ti){this.initialized||this.initialize();var tr,tn,ts,ta=this.paths.length;for(tr=0;tr<ta;tr+=1)if(-1!==this.paths[tr].m&&(tn=this.elem.maskManager.viewData[this.paths[tr].m],ts=this.paths[tr].p,(ti||this.filterManager._mdf||tn.prop._mdf)&&ts.setAttribute("d",tn.lastPath),ti||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||tn.prop._mdf)){if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var to=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),th=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),tl=ts.getTotalLength();tp="0 0 0 "+tl*to+" ";var tp,tf,tu=Math.floor(tl*(th-to)/(1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01));for(tf=0;tf<tu;tf+=1)tp+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";tp+="0 "+10*tl+" 0 0"}else tp="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;ts.setAttribute("stroke-dasharray",tp)}if((ti||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(ti||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("op
62acity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(ti||this.filterManager.effectElements[3].p._mdf)){var tc=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*tc[0])+","+bmFloor(255*tc[1])+","+bmFloor(255*tc[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(ti){if(ti||this.filterManager._mdf){var tr=this.filterManager.effectElements[0].p.v,tn=this.filterManager.effectElements[1].p.v,ts=this.filterManager.effectElements[2].p.v,ta=ts[0]+" "+tn[0]+" "+tr[0],to=ts[1]+" "+tn[1]+" "+tr[1],th=ts[2]+" "+tn[2]+" "+tr[2];this.feFuncR.setAttribute("tableValues",ta),this.feFuncG.setAttribute("tableValues",to),this.feFuncB.setAttribute("tableValues",th)}},SVGProLevelsFilter.prototype.createFeFunc=function(ti,tr){var tn=createNS(ti);return tn.setAttribute("type","table"),tr.appendChild(tn),tn},SVGProLevelsFilter.prototype.getTableValue=function(ti,tr,tn,ts,ta){for(var to,th,tl=0,tp=Math.min(ti,tr),tf=Math.max(ti,tr),tu=Array.call(null,{length:256}),tc=0,tm=ta-ts,tg=tr-ti;tl<=256;)th=(to=tl/256)<=tp?tg<0?ta:ts:to>=tf?tg<0?ts:ta:ts+tm*Math.pow((to-ti)/tg,1/tn),tu[tc]=th,tc+=1,tl+=256/255;return tu.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(ti){if(ti||this.filterManager._mdf){var tr,tn=this.filterManager.effectElements;this.feFuncRComposed&&(ti||tn[3].p._mdf||tn[4].p._mdf||tn[5].p._mdf||tn[6].p._mdf||tn[7].p._mdf)&&(tr=this.getTableValue(tn[3].p.v,tn[4].p.v,tn[5].p.v,tn[6].p.v,tn[7].p.v),this.feFuncRComposed.setAttribute("tableValues",tr),this.feFuncGComposed.setAttribute("tableValues",tr),this.feFuncBComposed.setAttribute("tableValues",tr)),this.feFuncR&&(ti||tn[10].p._mdf||tn[11].p._mdf||tn[12].p._mdf||tn[13].p._mdf||tn[14].p._mdf)&&(tr=this.getTableValue(tn[10].p.v,tn[11].p.v,tn[12].p.v,tn[13].p.v,tn[14].p.v),this.feFuncR.setAttribute("tableValues",tr)),this.feFuncG&&(ti||tn[17].p._mdf||tn[18].p._mdf||tn[19].p._mdf||tn[20].p._mdf||tn[21].p._mdf)&&(tr=this.getTableValue(tn[17].p.v,tn[18].p.v,tn[19].p.v,tn[20].p.v,tn[21].p.v),this.feFuncG.setAttribute("tableValues",tr)),this.feFuncB&&(ti||tn[24].p._mdf||tn[25].p._mdf||tn[26].p._mdf||tn[27].p._mdf||tn[28].p._mdf)&&(tr=this.getTableValue(tn[24].p.v,tn[25].p.v,tn[26].p.v,tn[27].p.v,tn[28].p.v),this.feFuncB.setAttribute("tableValues",tr)),this.feFuncA&&(ti||tn[31].p._mdf||tn[32].p._mdf||tn[33].p._mdf||tn[34].p._mdf||tn[35].p._mdf)&&(tr=this.getTableValue(tn[31].p.v,tn[32].p.v,tn[33].p.v,tn[34].p.v,tn[35].p.v),this.feFuncA.setAttribute("tableValues",tr))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(ti){if(ti||this.filterManager._mdf){if((ti||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),ti||this.filterManager.effectElements[0].p._mdf){var tr=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*tr[0]),Math.round(255*tr[1]),Math.round(255*tr[2])))}if((ti||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),ti||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var tn=this.filterManager.effectElements[3].p.v,ts=(this.filterManager.effectElements[2].p.v-90)*degToRads,ta=tn*Math.cos(ts),to=tn*Math.sin(ts);this.feOffset.setAttribute("dx",ta),this.feOffset.setAttribute("dy",to)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(ti,tr,tn){this.initialized=!1,this.filterManager=tr,this.filterElem=ti,this.elem=tn,tn.matteElement=createNS("g"),tn.matteElement.appendChild(tn.layerElement),tn.matteElement.appendChild(tn.transformedElement),tn.baseElement=tn.matteElement}function SVGGaussianBlurEffect(ti,tr,tn,ts){ti.setAttribute("x","-100%"),ti.setAttribute("y","-100%"),ti.setAttribute("width","300%"),ti.setAttribute("height","300%"),this.filterManager=tr;var ta=createNS("feGaussianBlur");ta.setAttribute("result",ts),ti.appendChild(ta),this.feGaussianBlur=ta}return SVGMatte3Effect.prototype.findSymbol=function(ti){for(var tr=0,tn=_svgMatteSymbols.length;tr<tn;){if(_svgMatteSymbols[tr]===ti)return _svgMatteSymbols[tr];tr+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(ti,tr){var tn=ti.layerElement.parentNode;if(tn){for(var ts,ta=tn.children,to=0,th=ta.length;
vendor: 6,012 bytes, line 62
62to<th&&ta[to]!==ti.layerElement;)to+=1;to<=th-2&&(ts=ta[to+1]);var tl=createNS("use");tl.setAttribute("href","#"+tr),ts?tn.insertBefore(tl,ts):tn.appendChild(tl)}},SVGMatte3Effect.prototype.setElementAsMask=function(ti,tr){if(!this.findSymbol(tr)){var tn=createElementID(),ts=createNS("mask");ts.setAttribute("id",tr.layerId),ts.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(tr);var ta=ti.globalData.defs;ta.appendChild(ts);var to=createNS("symbol");to.setAttribute("id",tn),this.replaceInParent(tr,tn),to.appendChild(tr.layerElement),ta.appendChild(to);var th=createNS("use");th.setAttribute("href","#"+tn),ts.appendChild(th),tr.data.hd=!1,tr.show()}ti.setMatte(tr.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var ti=this.filterManager.effectElements[0].p.v,tr=this.elem.comp.elements,tn=0,ts=tr.length;tn<ts;)tr[tn]&&tr[tn].data.ind===ti&&this.setElementAsMask(this.elem,tr[tn]),tn+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(ti){if(ti||this.filterManager._mdf){var tr=.3*this.filterManager.effectElements[0].p.v,tn=this.filterManager.effectElements[1].p.v,ts=3==tn?0:tr,ta=2==tn?0:tr;this.feGaussianBlur.setAttribute("stdDeviation",ts+" "+ta);var to=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",to)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie})}),styles=i$4(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral(["\n  * {\n    box-sizing: border-box;\n  }\n\n  :host {\n    --lottie-player-toolbar-height: 35px;\n    --lottie-player-toolbar-background-color: transparent;\n    --lottie-player-toolbar-icon-color: #999;\n    --lottie-player-toolbar-icon-hover-color: #222;\n    --lottie-player-toolbar-icon-active-color: #555;\n    --lottie-player-seeker-track-color: #ccc;\n    --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);\n    --lottie-player-seeker-display: block;\n\n    display: block;\n    width: 100%;\n    height: 100%;\n  }\n\n  .main {\n    display: flex;\n    flex-direction: column;\n    height: 100%;\n    width: 100%;\n  }\n\n  .animation {\n    width: 100%;\n    height: 100%;\n    display: flex;\n  }\n  .animation.controls {\n    height: calc(100% - 35px);\n  }\n\n  .toolbar {\n    display: flex;\n    align-items: center;\n    justify-items: center;\n    background-color: var(--lottie-player-toolbar-background-color);\n    margin: 0 5px;\n    height: 35px;\n  }\n\n  .toolbar button {\n    cursor: pointer;\n    fill: var(--lottie-player-toolbar-icon-color);\n    display: flex;\n    background: none;\n    border: 0;\n    padding: 0;\n    outline: none;\n    height: 100%;\n  }\n\n  .toolbar button:hover {\n    fill: var(--lottie-player-toolbar-icon-hover-color);\n  }\n\n  .toolbar button.active {\n    fill: var(--lottie-player-toolbar-icon-active-color);\n  }\n\n  .toolbar button.active:hover {\n    fill: var(--lottie-player-toolbar-icon-hover-color);\n  }\n\n  .toolbar button:focus {\n    outline: 1px dotted var(--lottie-player-toolbar-icon-active-color);\n  }\n\n  .toolbar button svg {\n  }\n\n  .toolbar button.disabled svg {\n    display: none;\n  }\n\n  .seeker {\n    -webkit-appearance: none;\n    width: 95%;\n    outline: none;\n    background-color: var(--lottie-player-toolbar-background-color);\n    display: var(--lottie-player-seeker-display);\n  }\n\n  .seeker::-webkit-slider-runnable-track {\n    width: 100%;\n    height: 5px;\n    cursor: pointer;\n    background: var(--lottie-player-seeker-track-color);\n    border-radius: 3px;\n  }\n  .seeker::-webkit-slider-thumb {\n    height: 15px;\n    width: 15px;\n    border-radius: 50%;\n    background: var(--lottie-player-seeker-thumb-color);\n    cursor: pointer;\n    -webkit-appearance: none;\n    margin-top: -5px;\n  }\n  .seeker:focus::-webkit-slider-runnable-track {\n    background: #999;\n  }\n  .seeker::-moz-range-track {\n    width: 100%;\n    height: 5px;\n    cursor: pointer;\n    background: var(--lottie-player-seeker-track-color);\n    border-radius: 3px;\n  }\n  .seeker::-moz-range-thumb {\n    height: 15px;\n    width: 15px;\n    border-radius: 50%;\n    background: var(--lottie-player-seeker-thumb-color);\n    cursor: pointer;\n  }\n  .seeker::-ms-track {\n    width: 100%;\n    height: 5px;\n    cursor: pointer;\n    background: transparent;\n    border-color: transparent;\n    color: transparent;\n  }\n  .seeker::-ms-fill-lower {\n    background: var(--lottie-player-seeker-track-color);\n    border-radius: 3px;\n  }\n  .seeker::-ms-fill-upper {\n    background: var(--lottie-player-seeker-track-color);\n    border-radius: 3px;\n  }\n  .seeker::-ms-thumb {\n    border: 0;\n    height: 15px;\n    width: 15px;\n    border-radius: 50%;\n    background: var(--lottie-player-seeker-thumb-color);\n    cursor: pointer;\n  }\n  .seeker:focus::-ms-fill-lower {\n    background: var(--lottie-player-seeker-track-color);\n  }\n  .seeker:focus::-ms-fill-upper {\n    background: var(--lottie-player-seeker-track-color);\n  }\n\n  .error {\n    display: flex;\n    justify-content: center;\n    margin: auto;\n    height: 100%;
62\n    align-items: center;\n  }\n"]))),ch2={},wk=function(ti,tr,tn,ts,ta){var to=new Worker(ch2[tr]||(ch2[tr]=URL.createObjectURL(new Blob([ti+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return to.onmessage=function(ti){var tr=ti.data,tn=tr.$e$;if(tn){var ts=Error(tn[0]);ts.code=tn[1],ts.stack=tn[2],ta(ts,null)}else ta(null,tr)},to.postMessage(tn,ts),to},u8=Uint8Array,u16=Uint16Array,u32=Uint32Array,fleb=new u8([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),fdeb=new u8([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),clim=new u8([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),freb=function(ti,tr){for(var tn=new u16(31),ts=0;ts<31;++ts)tn[ts]=tr+=1<<ti[ts-1];var ta=new u32(tn[30]);for(ts=1;ts<30;++ts)for(var to=tn[ts];to<tn[ts+1];++to)ta[to]=to-tn[ts]<<5|ts;return[tn,ta]},_a=freb(fleb,2),fl=_a[0],revfl=_a[1];fl[28]=258,revfl[258]=28;for(var _b=freb(fdeb,0),fd=_b[0],revfd=_b[1],rev=new u16(32768),i=0;i<32768;++i){var x=(43690&i)>>>1|(21845&i)<<1;x=(61680&(x=(52428&x)>>>2|(13107&x)<<2))>>>4|(3855&x)<<4,rev[i]=((65280&x)>>>8|(255&x)<<8)>>>1}for(var hMap=function(ti,tr,tn){for(var ts=ti.length,ta=0,to=new u16(tr);ta<ts;++ta)ti[ta]&&++to[ti[ta]-1];var th,tl=new u16(tr);for(ta=0;ta<tr;++ta)tl[ta]=tl[ta-1]+to[ta-1]<<1;if(tn){th=new u16(1<<tr);var tp=15-tr;for(ta=0;ta<ts;++ta)if(ti[ta])for(var tf=ta<<4|ti[ta],tu=tr-ti[ta],tc=tl[ti[ta]-1]++<<tu,tm=tc|(1<<tu)-1;tc<=tm;++tc)th[rev[tc]>>>tp]=tf}else for(th=new u16(ts),ta=0;ta<ts;++ta)ti[ta]&&(th[ta]=rev[tl[ti[ta]-1]++]>>>15-ti[ta]);return th},flt=new u8(288),i=0;i<144;++i)flt[i]=8;for(var i=144;i<256;++i)flt[i]=9;for(var i=256;i<280;++i)flt[i]=7;for(var i=280;i<288;++i)flt[i]=8;for(var fdt=new u8(32),i=0;i<32;++i)fdt[i]=5;var flm=hMap(flt,9,0),flrm=hMap(flt,9,1),fdm=hMap(fdt,5,0),fdrm=hMap(fdt,5,1),max=function(ti){for(var tr=ti[0],tn=1;tn<ti.length;++tn)ti[tn]>tr&&(tr=ti[tn]);return tr},bits=function(ti,tr,tn){var ts=tr/8|0;return(ti[ts]|ti[ts+1]<<8)>>(7&tr)&tn},bits16=function(ti,tr){var tn=tr/8|0;return(ti[tn]|ti[tn+1]<<8|ti[tn+2]<<16)>>(7&tr)},shft=function(ti){return(ti+7)/8|0},slc=function(ti,tr,tn){(null==tr||tr<0)&&(tr=0),(null==tn||tn>ti.length)&&(tn=ti.length);var ts=new(2==ti.BYTES_PER_ELEMENT?u16:4==ti.BYTES_PER_ELEMENT?u32:u8)(tn-tr);return ts.set(ti.subarray(tr,tn)),ts},FlateErrorCode={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14}
62,ec=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],err=function(ti,tr,tn){var ts=Error(tr||ec[ti]);if(ts.code=ti,Error.captureStackTrace&&Error.captureStackTrace(ts,err),!tn)throw ts;return ts},inflt=function(ti,tr,tn){var ts=ti.length;if(!ts||tn&&tn.f&&!tn.l)return tr||new u8(0);var ta=!tr||tn,to=!tn||tn.i;tn||(tn={}),tr||(tr=new u8(3*ts));var th=function(ti){var tn=tr.length;if(ti>tn){var ts=new u8(Math.max(2*tn,ti));ts.set(tr),tr=ts}},tl=tn.f||0,tp=tn.p||0,tf=tn.b||0,tu=tn.l,tc=tn.d,tm=tn.m,tg=tn.n,tv=8*ts;do{if(!tu){tl=bits(ti,tp,1);var ty=bits(ti,tp+1,3);if(tp+=3,!ty){var tb=ti[(tT=shft(tp)+4)-4]|ti[tT-3]<<8,t_=tT+tb;if(t_>ts){to&&err(0);break}ta&&th(tf+tb),tr.set(ti.subarray(tT,t_),tf),tn.b=tf+=tb,tn.p=tp=8*t_,tn.f=tl;continue}if(1==ty)tu=flrm,tc=fdrm,tm=9,tg=5;else if(2==ty){var tw=bits(ti,tp,31)+257,tx=bits(ti,tp+10,15)+4,tk=tw+bits(ti,tp+5,31)+1;tp+=14;for(var tA=new u8(tk),tP=new u8(19),tE=0;tE<tx;++tE)tP[clim[tE]]=bits(ti,tp+3*tE,7);tp+=3*tx;var tS=max(tP),tC=(1<<tS)-1,tD=hMap(tP,tS,1);for(tE=0;tE<tk;){var tT,tM=tD[bits(ti,tp,tC)];if(tp+=15&tM,(tT=tM>>>4)<16)tA[tE++]=tT;else{var tF=0,tI=0;for(16==tT?(tI=3+bits(ti,tp,3),tp+=2,tF=tA[tE-1]):17==tT?(tI=3+bits(ti,tp,7),tp+=3):18==tT&&(tI=11+bits(ti,tp,127),tp+=7);tI--;)tA[tE++]=tF}}var tO=tA.subarray(0,tw),tL=tA.subarray(tw);tm=max(tO),tg=max(tL),tu=hMap(tO,tm,1),tc=hMap(tL,tg,1)}else err(1);if(tp>tv){to&&err(0);break}}ta&&th(tf+131072);for(var tz=(1<<tm)-1,tR=(1<<tg)-1,tB=tp;;tB=tp){var tj=(tF=tu[bits16(ti,tp)&tz])>>>4;if((tp+=15&tF)>tv){to&&err(0);break}if(tF||err(2),tj<256)tr[tf++]=tj;else{if(256==tj){tB=tp,tu=null;break}var tV=tj-254;if(tj>264){var tN=fleb[tE=tj-257];tV=bits(ti,tp,(1<<tN)-1)+fl[tE],tp+=tN}var t$=tc[bits16(ti,tp)&tR],tG=t$>>>4;if(t$||err(3),tp+=15&t$,tL=fd[tG],tG>3&&(tN=fdeb[tG],tL+=bits16(ti,tp)&(1<<tN)-1,tp+=tN),tp>tv){to&&err(0);break}ta&&th(tf+131072);for(var tq=tf+tV;tf<tq;tf+=4)tr[tf]=tr[tf-tL],tr[tf+1]=tr[tf+1-tL],tr[tf+2]=tr[tf+2-tL],tr[tf+3]=tr[tf+3-tL];tf=tq}}tn.l=tu,tn.p=tB,tn.b=tf,tn.f=tl,tu&&(tl=1,tn.m=tm,tn.d=tc,tn.n=tg)}while(!tl);return tf==tr.length?tr:slc(tr,0,tf)},wbits=function(ti,tr,tn){tn<<=7&tr;var ts=tr/8|0;ti[ts]|=tn,ti[ts+1]|=tn>>>8},wbits16=function(ti,tr,tn){tn<<=7&tr;var ts=tr/8|0;ti[ts]|=tn,ti[ts+1]|=tn>>>8,ti[ts+2]|=tn>>>16},hTree=function(ti,tr){for(var tn=[],ts=0;ts<ti.length;++ts)ti[ts]&&tn.push({s:ts,f:ti[ts]});var ta=tn.length,to=tn.slice();if(!ta)return[et,0];if(1==ta){var th=new u8(tn[0].s+1);return th[tn[0].s]=1,[th,1]}tn.sort(function(ti,tr){return ti.f-tr.f}),tn.push({s:-1,f:25001});var tl=tn[0],tp=tn[1],tf=0,tu=1,tc=2;for(tn[0]={s:-1,f:tl.f+tp.f,l:tl,r:tp};tu!=ta-1;)tl=tn[tn[tf].f<tn[tc].f?tf++:tc++],tp=tn[tf!=tu&&tn[tf].f<tn[tc].f?tf++:tc++],tn[tu++]={s:-1,f:tl.f+tp.f,l:tl,r:tp};var tm=to[0].s;for(ts=1;ts<ta;++ts)to[ts].s>tm&&(tm=to[ts].s);var tg=new u16(tm+1),tv=ln(tn[tu-1],tg,0);if(tv>tr){ts=0;var ty=0,tb=tv-tr,t_=1<<tb;for(to.sort(function(ti,tr){return tg[tr.s]-tg[ti.s]||ti.f-tr.f});ts<ta;++ts){var tw=to[ts].s;if(!(tg[tw]>tr))break;ty+=t_-(1<<tv-tg[tw]),tg[tw]=tr}for(ty>>>=tb;ty>0;){var tx=to[ts].s;tg[tx]<tr?ty-=1<<tr-tg[tx]++-1:++ts}for(;ts>=0&&ty;--ts){var tk=to[ts].s;tg[tk]==tr&&(--tg[tk],++ty)}tv=tr}return[new u8(tg),tv]},ln=function(ti,tr,tn){return -1==ti.s?Math.max(ln(ti.l,tr,tn+1),ln(ti.r,tr,tn+1)):tr[ti.s]=tn},lc=function(ti){for(var tr=ti.length;tr&&!ti[--tr];);for(var tn=new u16(++tr),ts=0,ta=ti[0],to=1,th=function(ti){tn[ts++]=ti},tl=1;tl<=tr;++tl)if(ti[tl]==ta&&tl!=tr)++to;else{if(!ta&&to>2){for(;to>138;to-=138)th(32754);to>2&&(th(to>10?to-11<<5|28690:to-3<<5|12305),to=0)}else if(to>3){for(th(ta),--to;to>6;to-=6)th(8304);to>2&&(th(to-3<<5|8208),to=0)}for(;to--;)th(ta);to=1,ta=ti[tl]}return[tn.subarray(0,ts),tr]},clen=function(ti,tr){for(var tn=0,ts=0;ts<tr.length;++ts)tn+=ti[ts]*tr[ts];return tn},wfblk=function(ti,tr,tn){var ts=tn.length,ta=shft(tr+2);ti[ta]=255&ts,ti[ta+1]=ts>>>8,ti[ta+2]=255^ti[ta],ti[ta+3]=255^ti[ta+1];for(var to=0;to<ts;++to)ti[ta+to+4]=tn[to];return 8*(ta+4+ts)}
62,wblk=function(ti,tr,tn,ts,ta,to,th,tl,tp,tf,tu){wbits(tr,tu++,tn),++ta[256];for(var tc=hTree(ta,15),tm=tc[0],tg=tc[1],tv=hTree(to,15),ty=tv[0],tb=tv[1],t_=lc(tm),tw=t_[0],tx=t_[1],tk=lc(ty),tA=tk[0],tP=tk[1],tE=new u16(19),tS=0;tS<tw.length;++tS)tE[31&tw[tS]]++;for(tS=0;tS<tA.length;++tS)tE[31&tA[tS]]++;for(var tC=hTree(tE,7),tD=tC[0],tT=tC[1],tM=19;tM>4&&!tD[clim[tM-1]];--tM);var tF,tI,tO,tL,tz=tf+5<<3,tR=clen(ta,flt)+clen(to,fdt)+th,tB=clen(ta,tm)+clen(to,ty)+th+14+3*tM+clen(tE,tD)+(2*tE[16]+3*tE[17]+7*tE[18]);if(tz<=tR&&tz<=tB)return wfblk(tr,tu,ti.subarray(tp,tp+tf));if(wbits(tr,tu,1+(tB<tR)),tu+=2,tB<tR){tF=hMap(tm,tg,0),tI=tm,tO=hMap(ty,tb,0),tL=ty;var tj=hMap(tD,tT,0);for(wbits(tr,tu,tx-257),wbits(tr,tu+5,tP-1),wbits(tr,tu+10,tM-4),tu+=14,tS=0;tS<tM;++tS)wbits(tr,tu+3*tS,tD[clim[tS]]);tu+=3*tM;for(var tV=[tw,tA],tN=0;tN<2;++tN){var t$=tV[tN];for(tS=0;tS<t$.length;++tS){var tG=31&t$[tS];wbits(tr,tu,tj[tG]),tu+=tD[tG],tG>15&&(wbits(tr,tu,t$[tS]>>>5&127),tu+=t$[tS]>>>12)}}}else tF=flm,tI=flt,tO=fdm,tL=fdt;for(tS=0;tS<tl;++tS)if(ts[tS]>255){wbits16(tr,tu,tF[(tG=ts[tS]>>>18&31)+257]),tu+=tI[tG+257],tG>7&&(wbits(tr,tu,ts[tS]>>>23&31),tu+=fleb[tG]);var tq=31&ts[tS];wbits16(tr,tu,tO[tq]),tu+=tL[tq],tq>3&&(wbits16(tr,tu,ts[tS]>>>5&8191),tu+=fdeb[tq])}else wbits16(tr,tu,tF[ts[tS]]),tu+=tI[ts[tS]];return wbits16(tr,tu,tF[256]),tu+tI[256]},deo=new u32([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),et=new u8(0),dflt=function(ti,tr,tn,ts,ta,to){var th=ti.length,tl=new u8(ts+th+5*(1+Math.ceil(th/7e3))+ta),tp=tl.subarray(ts,tl.length-ta),tf=0;if(!tr||th<8)for(var tu=0;tu<=th;tu+=65535){var tc=tu+65535;tc>=th&&(tp[tf>>3]=to),tf=wfblk(tp,tf+1,ti.subarray(tu,tc))}else{for(var tm=deo[tr-1],tg=tm>>>13,tv=8191&tm,ty=(1<<tn)-1,tb=new u16(32768),t_=new u16(ty+1),tw=Math.ceil(tn/3),tx=2*tw,tk=function(tr){return(ti[tr]^ti[tr+1]<<tw^ti[tr+2]<<tx)&ty},tA=new u32(25e3),tP=new u16(288),tE=new u16(32),tS=0,tC=0,tD=(tu=0,0),tT=0,tM=0;tu<th;++tu){var tF=tk(tu),tI=32767&tu,tO=t_[tF];if(tb[tI]=tO,t_[tF]=tI,tT<=tu){var tL=th-tu;if((tS>7e3||tD>24576)&&tL>423){tf=wblk(ti,tp,0,tA,tP,tE,tC,tD,tM,tu-tM,tf),tD=tS=tC=0,tM=tu;for(var tz=0;tz<286;++tz)tP[tz]=0;for(tz=0;tz<30;++tz)tE[tz]=0}var tR=2,tB=0,tj=tv,tV=tI-tO&32767;if(tL>2&&tF==tk(tu-tV))for(var tN=Math.min(tg,tL)-1,t$=Math.min(32767,tu),tG=Math.min(258,tL);tV<=t$&&--tj&&tI!=tO;){if(ti[tu+tR]==ti[tu+tR-tV]){for(var tq=0;tq<tG&&ti[tu+tq]==ti[tu+tq-tV];++tq);if(tq>tR){if(tR=tq,tB=tV,tq>tN)break;var tH=Math.min(tV,tq-2),tW=0;for(tz=0;tz<tH;++tz){var tU=tu-tV+tz+32768&32767,tY=tU-tb[tU]+32768&32767;tY>tW&&(tW=tY,tO=tU)}}}tV+=(tI=tO)-(tO=tb[tI])+32768&32767}if(tB){tA[tD++]=268435456|revfl[tR]<<18|revfd[tB];var tX=31&revfl[tR],tK=31&revfd[tB];tC+=fleb[tX]+fdeb[tK],++tP[257+tX],++tE[tK],tT=tu+tR,++tS}else tA[tD++]=ti[tu],++tP[ti[tu]]}}tf=wblk(ti,tp,to,tA,tP,tE,tC,tD,tM,tu-tM,tf),!to&&7&tf&&(tf=wfblk(tp,tf+1,et))}return slc(tl,0,ts+shft(tf)+ta)},crct=function(){for(var ti=new Int32Array(256),tr=0;tr<256;++tr){for(var tn=tr,ts=9;--ts;)tn=(1&tn&&-306674912)^tn>>>1;ti[tr]=tn}return ti}(),crc=function(){var ti=-1;return{p:function(tr){for(var tn=ti,ts=0;ts<tr.length;++ts)tn=crct[255&tn^tr[ts]]^tn>>>8;ti=tn},d:function(){return~ti}}},adler=function(){var ti=1,tr=0;return{p:function(tn){for(var ts=ti,ta=tr,to=0|tn.length,th=0;th!=to;){for(var tl=Math.min(th+2655,to);th<tl;++th)ta+=ts+=tn[th];ts=(65535&ts)+15*(ts>>16),ta=(65535&ta)+15*(ta>>16)}ti=ts,tr=ta},d:function(){return(255&(ti%=65521))<<24|ti>>>8<<16|(255&(tr%=65521))<<8|tr>>>8}}},dopt=function(ti,tr,tn,ts,ta){return dflt(ti,null==tr.level?6:tr.level,null==tr.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(ti.length)))):12+tr.mem,tn,ts,!ta)},mrg=function(ti,tr){var tn={};for(var ts in ti)tn[ts]=ti[ts];for(var ts in tr)tn[ts]=tr[ts];return tn},wcln=function(ti,tr,tn){for(var ts=ti(),ta=ti.toString(),to=ta.slice(ta.indexOf("[")+1,ta.lastIndexOf("]")).replace(/\s+/g,"").split(","),th=0;th<ts.length;++th){var tl=ts[th],tp=to[th];if("function"==typeof tl){tr+=";"+tp+"=";var tf=tl.toString();if(tl.prototype){if(-1!=tf.indexOf("[native code]")){var tu=tf.indexOf(" ",8)+1;tr+=tf.slice(tu,tf.indexOf("(",tu))}else for(var tc in tr+=tf,tl.prototype)tr+=";"+tp+".prototype."+tc+"="+tl.prototype[tc].toString()}else tr+=tf}else tn[tp]=tl}return[tr,tn]},ch=[],cbfs=function(ti){var tr=[];for(var tn in ti)ti[tn].buffer&&tr.push((ti[tn]=new ti[tn].constructor(ti[tn])).buffer);return tr}
62,wrkr=function(ti,tr,tn,ts){if(!ch[tn]){for(var ta,to="",th={},tl=ti.length-1,tp=0;tp<tl;++tp)to=(ta=wcln(ti[tp],to,th))[0],th=ta[1];ch[tn]=wcln(ti[tl],to,th)}var tf=mrg({},ch[tn][1]);return wk(ch[tn][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+tr.toString()+"}",tn,tf,cbfs(tf),ts)},bInflt=function(){return[u8,u16,u32,fleb,fdeb,clim,fl,fd,flrm,fdrm,rev,ec,hMap,max,bits,bits16,shft,slc,err,inflt,inflateSync,pbf,gu8]},bDflt=function(){return[u8,u16,u32,fleb,fdeb,clim,revfl,revfd,flm,flt,fdm,fdt,rev,deo,et,hMap,wbits,wbits16,hTree,ln,lc,clen,wfblk,wblk,shft,slc,dflt,dopt,deflateSync,pbf]},gze=function(){return[gzh,gzhl,wbytes,crc,crct]},guze=function(){return[gzs,gzl]},zle=function(){return[zlh,wbytes,adler]},zule=function(){return[zlv]},pbf=function(ti){return postMessage(ti,[ti.buffer])},gu8=function(ti){return ti&&ti.size&&new u8(ti.size)},cbify=function(ti,tr,tn,ts,ta,to){var th=wrkr(tn,ts,ta,function(ti,tr){th.terminate(),to(ti,tr)});return th.postMessage([ti,tr],tr.consume?[ti.buffer]:[]),function(){th.terminate()}},astrm=function(ti){return ti.ondata=function(ti,tr){return postMessage([ti,tr],[ti.buffer])},function(tr){return ti.push(tr.data[0],tr.data[1])}},astrmify=function(ti,tr,tn,ts,ta){var to,th=wrkr(ti,ts,ta,function(ti,tn){ti?(th.terminate(),tr.ondata.call(tr,ti)):(tn[1]&&th.terminate(),tr.ondata.call(tr,ti,tn[0],tn[1]))});th.postMessage(tn),tr.push=function(ti,tn){tr.ondata||err(5),to&&tr.ondata(err(4,0,1),null,!!tn),th.postMessage([ti,to=tn],[ti.buffer])},tr.terminate=function(){th.terminate()}},b2=function(ti,tr){return ti[tr]|ti[tr+1]<<8},b4=function(ti,tr){return(ti[tr]|ti[tr+1]<<8|ti[tr+2]<<16|ti[tr+3]<<24)>>>0},b8=function(ti,tr){return b4(ti,tr)+4294967296*b4(ti,tr+4)},wbytes=function(ti,tr,tn){for(;tn;++tr)ti[tr]=tn,tn>>>=8},gzh=function(ti,tr){var tn=tr.filename;if(ti[0]=31,ti[1]=139,ti[2]=8,ti[8]=tr.level<2?4:9==tr.level?2:0,ti[9]=3,0!=tr.mtime&&wbytes(ti,4,Math.floor(new Date(tr.mtime||Date.now())/1e3)),tn){ti[3]=8;for(var ts=0;ts<=tn.length;++ts)ti[ts+10]=tn.charCodeAt(ts)}},gzs=function(ti){31==ti[0]&&139==ti[1]&&8==ti[2]||err(6,"invalid gzip data");var tr=ti[3],tn=10;4&tr&&(tn+=ti[10]|2+(ti[11]<<8));for(var ts=(tr>>3&1)+(tr>>4&1);ts>0;ts-=!ti[tn++]);return tn+(2&tr)},gzl=function(ti){var tr=ti.length;return(ti[tr-4]|ti[tr-3]<<8|ti[tr-2]<<16|ti[tr-1]<<24)>>>0},gzhl=function(ti){return 10+(ti.filename&&ti.filename.length+1||0)},zlh=function(ti,tr){var tn=tr.level,ts=0==tn?0:tn<6?1:9==tn?3:2;ti[0]=120,ti[1]=ts<<6|(ts?32-2*ts:1)},zlv=function(ti){(8!=(15&ti[0])||ti[0]>>>4>7||(ti[0]<<8|ti[1])%31)&&err(6,"invalid zlib data"),32&ti[1]&&err(6,"invalid zlib data: preset dictionaries not supported")};function AsyncCmpStrm(ti,tr){return tr||"function"!=typeof ti||(tr=ti,ti={}),this.ondata=tr,ti}var Deflate=function(){function ti(ti,tr){tr||"function"!=typeof ti||(tr=ti,ti={}),this.ondata=tr,this.o=ti||{}}return ti.prototype.p=function(ti,tr){this.ondata(dopt(ti,this.o,0,0,!tr),tr)},ti.prototype.push=function(ti,tr){this.ondata||err(5),this.d&&err(4),this.d=tr,this.p(ti,tr||!1)},ti}(),AsyncDeflate=function(){return function(ti,tr){astrmify([bDflt,function(){return[astrm,Deflate]}],this,AsyncCmpStrm.call(this,ti,tr),function(ti){onmessage=astrm(new Deflate(ti.data))},6)}}();function deflate(ti,tr,tn){return tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7),cbify(ti,tr,[bDflt],function(ti){return pbf(deflateSync(ti.data[0],ti.data[1]))},0,tn)}function deflateSync(ti,tr){return dopt(ti,tr||{},0,0)}var Inflate=function(){function ti(ti){this.s={},this.p=new u8(0),this.ondata=ti}return ti.prototype.e=function(ti){this.ondata||err(5),this.d&&err(4);var tr=this.p.length,tn=new u8(tr+ti.length);tn.set(this.p),tn.set(ti,tr),this.p=tn},ti.prototype.c=function(ti){this.d=this.s.i=ti||!1;var tr=this.s.b,tn=inflt(this.p,this.o,this.s);this.ondata(slc(tn,tr,this.s.b),this.d),this.o=slc(tn,this.s.b-32768),this.s.b=this.o.length,this.p=slc(this.p,this.s.p/8|0),this.s.p&=7},ti.prototype.push=function(ti,tr){this.e(ti),this.c(tr)},ti}(),AsyncInflate=function(){return function(ti){this.ondata=ti,astrmify([bInflt,function(){return[astrm,Inflate]}],this,0,function(){onmessage=astrm(new Inflate)},7)}}();function inflate(ti,tr,tn){return tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7),cbify(ti,tr,[bInflt],function(ti){return pbf(inflateSync(ti.data[0],gu8(ti.data[1])))},1,tn)}function inflateSync(ti,tr){return inflt(ti,tr)}var Gzip=function(){function ti(ti,tr){this.c=crc(),this.l=0,this.v=1,Deflate.call(this,ti,tr)}return ti.prototype.push=function(ti,tr){Deflate.prototype.push.call(this,ti,tr)},ti.prototype.p=function(ti,tr){this.c.p(ti),this.l+=ti.length;var tn=dopt(ti,this.o,this.v&&gzhl(this.o),tr&&8,!tr);this.v&&(gzh(tn,this.o),this.v=0),tr&&(wbytes(tn,tn.length-8,this.c.d()),wbytes(tn,tn.length-4,this.l)),this.ondata(tn,tr)},ti}(),AsyncGzip=function(){return function(ti,tr){astrmify([bDflt,gze,function(){return[astrm,Deflate,Gzip]}],this,AsyncCmpStrm.call(this,ti,tr),function(ti){onmessage=astrm(new Gzip(ti.data))},8)}}();
62function gzip(ti,tr,tn){return tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7),cbify(ti,tr,[bDflt,gze,function(){return[gzipSync]}],function(ti){return pbf(gzipSync(ti.data[0],ti.data[1]))},2,tn)}function gzipSync(ti,tr){tr||(tr={});var tn=crc(),ts=ti.length;tn.p(ti);var ta=dopt(ti,tr,gzhl(tr),8),to=ta.length;return gzh(ta,tr),wbytes(ta,to-8,tn.d()),wbytes(ta,to-4,ts),ta}var Gunzip=function(){function ti(ti){this.v=1,Inflate.call(this,ti)}return ti.prototype.push=function(ti,tr){if(Inflate.prototype.e.call(this,ti),this.v){var tn=this.p.length>3?gzs(this.p):4;if(tn>=this.p.length&&!tr)return;this.p=this.p.subarray(tn),this.v=0}tr&&(this.p.length<8&&err(6,"invalid gzip data"),this.p=this.p.subarray(0,-8)),Inflate.prototype.c.call(this,tr)},ti}(),AsyncGunzip=function(){return function(ti){this.ondata=ti,astrmify([bInflt,guze,function(){return[astrm,Inflate,Gunzip]}],this,0,function(){onmessage=astrm(new Gunzip)},9)}}();function gunzip(ti,tr,tn){return tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7),cbify(ti,tr,[bInflt,guze,function(){return[gunzipSync]}],function(ti){return pbf(gunzipSync(ti.data[0]))},3,tn)}function gunzipSync(ti,tr){return inflt(ti.subarray(gzs(ti),-8),tr||new u8(gzl(ti)))}var Zlib=function(){function ti(ti,tr){this.c=adler(),this.v=1,Deflate.call(this,ti,tr)}return ti.prototype.push=function(ti,tr){Deflate.prototype.push.call(this,ti,tr)},ti.prototype.p=function(ti,tr){this.c.p(ti);var tn=dopt(ti,this.o,this.v&&2,tr&&4,!tr);this.v&&(zlh(tn,this.o),this.v=0),tr&&wbytes(tn,tn.length-4,this.c.d()),this.ondata(tn,tr)},ti}(),AsyncZlib=function(){return function(ti,tr){astrmify([bDflt,zle,function(){return[astrm,Deflate,Zlib]}],this,AsyncCmpStrm.call(this,ti,tr),function(ti){onmessage=astrm(new Zlib(ti.data))},10)}}();function zlib(ti,tr,tn){return tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7),cbify(ti,tr,[bDflt,zle,function(){return[zlibSync]}],function(ti){return pbf(zlibSync(ti.data[0],ti.data[1]))},4,tn)}function zlibSync(ti,tr){tr||(tr={});var tn=adler();tn.p(ti);var ts=dopt(ti,tr,2,4);return zlh(ts,tr),wbytes(ts,ts.length-4,tn.d()),ts}var Unzlib=function(){function ti(ti){this.v=1,Inflate.call(this,ti)}return ti.prototype.push=function(ti,tr){if(Inflate.prototype.e.call(this,ti),this.v){if(this.p.length<2&&!tr)return;this.p=this.p.subarray(2),this.v=0}tr&&(this.p.length<4&&err(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),Inflate.prototype.c.call(this,tr)},ti}(),AsyncUnzlib=function(){return function(ti){this.ondata=ti,astrmify([bInflt,zule,function(){return[astrm,Inflate,Unzlib]}],this,0,function(){onmessage=astrm(new Unzlib)},11)}}();function unzlib(ti,tr,tn){return tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7),cbify(ti,tr,[bInflt,zule,function(){return[unzlibSync]}],function(ti){return pbf(unzlibSync(ti.data[0],gu8(ti.data[1])))},5,tn)}function unzlibSync(ti,tr){return inflt((zlv(ti),ti.subarray(2,-4)),tr)}var Decompress=function(){function ti(ti){this.G=Gunzip,this.I=Inflate,this.Z=Unzlib,this.ondata=ti}return ti.prototype.push=function(ti,tr){if(this.ondata||err(5),this.s)this.s.push(ti,tr);else{if(this.p&&this.p.length){var tn=new u8(this.p.length+ti.length);tn.set(this.p),tn.set(ti,this.p.length)}else this.p=ti;if(this.p.length>2){var ts=this,ta=function(){ts.ondata.apply(ts,arguments)};this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(ta):8!=(15&this.p[0])||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(ta):new this.Z(ta),this.s.push(this.p,tr),this.p=null}}},ti}(),AsyncDecompress=function(){function ti(ti){this.G=AsyncGunzip,this.I=AsyncInflate,this.Z=AsyncUnzlib,this.ondata=ti}return ti.prototype.push=function(ti,tr){Decompress.prototype.push.call(this,ti,tr)},ti}();function decompress(ti,tr,tn){return tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7),31==ti[0]&&139==ti[1]&&8==ti[2]?gunzip(ti,tr,tn):8!=(15&ti[0])||ti[0]>>4>7||(ti[0]<<8|ti[1])%31?inflate(ti,tr,tn):unzlib(ti,tr,tn)}function decompressSync(ti,tr){return 31==ti[0]&&139==ti[1]&&8==ti[2]?gunzipSync(ti,tr):8!=(15&ti[0])||ti[0]>>4>7||(ti[0]<<8|ti[1])%31?inflateSync(ti,tr):unzlibSync(ti,tr)}
vendor: 10,672 bytes, line 62
62var fltn=function(ti,tr,tn,ts){for(var ta in ti){var to=ti[ta],th=tr+ta,tl=ts;Array.isArray(to)&&(tl=mrg(ts,to[1]),to=to[0]),to instanceof u8?tn[th]=[to,tl]:(tn[th+="/"]=[new u8(0),tl],fltn(to,th,tn,ts))}},te="undefined"!=typeof TextEncoder&&new TextEncoder,td="undefined"!=typeof TextDecoder&&new TextDecoder,tds=0;try{td.decode(et,{stream:!0}),tds=1}catch(e){}var dutf8=function(ti){for(var tr="",tn=0;;){var ts=ti[tn++],ta=(ts>127)+(ts>223)+(ts>239);if(tn+ta>ti.length)return[tr,slc(ti,tn-1)];ta?3==ta?tr+=String.fromCharCode(55296|(ts=((15&ts)<<18|(63&ti[tn++])<<12|(63&ti[tn++])<<6|63&ti[tn++])-65536)>>10,56320|1023&ts):tr+=1&ta?String.fromCharCode((31&ts)<<6|63&ti[tn++]):String.fromCharCode((15&ts)<<12|(63&ti[tn++])<<6|63&ti[tn++]):tr+=String.fromCharCode(ts)}},DecodeUTF8=function(){function ti(ti){this.ondata=ti,tds?this.t=new TextDecoder:this.p=et}return ti.prototype.push=function(ti,tr){if(this.ondata||err(5),tr=!!tr,this.t)return this.ondata(this.t.decode(ti,{stream:!0}),tr),void(tr&&(this.t.decode().length&&err(8),this.t=null));this.p||err(4);var tn=new u8(this.p.length+ti.length);tn.set(this.p),tn.set(ti,this.p.length);var ts=dutf8(tn),ta=ts[0],to=ts[1];tr?(to.length&&err(8),this.p=null):this.p=to,this.ondata(ta,tr)},ti}(),EncodeUTF8=function(){function ti(ti){this.ondata=ti}return ti.prototype.push=function(ti,tr){this.ondata||err(5),this.d&&err(4),this.ondata(strToU8(ti),this.d=tr||!1)},ti}();function strToU8(ti,tr){if(tr){for(var tn=new u8(ti.length),ts=0;ts<ti.length;++ts)tn[ts]=ti.charCodeAt(ts);return tn}if(te)return te.encode(ti);var ta=ti.length,to=new u8(ti.length+(ti.length>>1)),th=0,tl=function(ti){to[th++]=ti};for(ts=0;ts<ta;++ts){if(th+5>to.length){var tp=new u8(th+8+(ta-ts<<1));tp.set(to),to=tp}var tf=ti.charCodeAt(ts);tf<128||tr?tl(tf):tf<2048?(tl(192|tf>>6),tl(128|63&tf)):tf>55295&&tf<57344?(tl(240|(tf=65536+(1047552&tf)|1023&ti.charCodeAt(++ts))>>18),tl(128|tf>>12&63),tl(128|tf>>6&63),tl(128|63&tf)):(tl(224|tf>>12),tl(128|tf>>6&63),tl(128|63&tf))}return slc(to,0,th)}function strFromU8(ti,tr){if(tr){for(var tn="",ts=0;ts<ti.length;ts+=16384)tn+=String.fromCharCode.apply(null,ti.subarray(ts,ts+16384));return tn}if(td)return td.decode(ti);var ta=dutf8(ti),to=ta[0];return ta[1].length&&err(8),to}var dbf=function(ti){return 1==ti?3:ti<6?2:9==ti?1:0},slzh=function(ti,tr){return tr+30+b2(ti,tr+26)+b2(ti,tr+28)},zh=function(ti,tr,tn){var ts=b2(ti,tr+28),ta=strFromU8(ti.subarray(tr+46,tr+46+ts),!(2048&b2(ti,tr+8))),to=tr+46+ts,th=b4(ti,tr+20),tl=tn&&4294967295==th?z64e(ti,to):[th,b4(ti,tr+24),b4(ti,tr+42)],tp=tl[0],tf=tl[1],tu=tl[2];return[b2(ti,tr+10),tp,tf,ta,to+b2(ti,tr+30)+b2(ti,tr+32),tu]},z64e=function(ti,tr){for(;1!=b2(ti,tr);tr+=4+b2(ti,tr+2));return[b8(ti,tr+12),b8(ti,tr+4),b8(ti,tr+20)]},exfl=function(ti){var tr=0;if(ti)for(var tn in ti){var ts=ti[tn].length;ts>65535&&err(9),tr+=ts+4}return tr},wzh=function(ti,tr,tn,ts,ta,to,th,tl){var tp=ts.length,tf=tn.extra,tu=tl&&tl.length,tc=exfl(tf);wbytes(ti,tr,null!=th?33639248:67324752),tr+=4,null!=th&&(ti[tr++]=20,ti[tr++]=tn.os),ti[tr]=20,tr+=2,ti[tr++]=tn.flag<<1|(to<0&&8),ti[tr++]=ta&&8,ti[tr++]=255&tn.compression,ti[tr++]=tn.compression>>8;var tm=new Date(null==tn.mtime?Date.now():tn.mtime),tg=tm.getFullYear()-1980;if((tg<0||tg>119)&&err(10),wbytes(ti,tr,tg<<25|tm.getMonth()+1<<21|tm.getDate()<<16|tm.getHours()<<11|tm.getMinutes()<<5|tm.getSeconds()>>>1),tr+=4,-1!=to&&(wbytes(ti,tr,tn.crc),wbytes(ti,tr+4,to<0?-to-2:to),wbytes(ti,tr+8,tn.size)),wbytes(ti,tr+12,tp),wbytes(ti,tr+14,tc),tr+=16,null!=th&&(wbytes(ti,tr,tu),wbytes(ti,tr+6,tn.attrs),wbytes(ti,tr+10,th),tr+=14),ti.set(ts,tr),tr+=tp,tc)for(var tv in tf){var ty=tf[tv],tb=ty.length;wbytes(ti,tr,+tv),wbytes(ti,tr+2,tb),ti.set(ty,tr+4),tr+=4+tb}return tu&&(ti.set(tl,tr),tr+=tu),tr},wzf=function(ti,tr,tn,ts,ta){wbytes(ti,tr,101010256),wbytes(ti,tr+8,tn),wbytes(ti,tr+10,tn),wbytes(ti,tr+12,ts),wbytes(ti,tr+16,ta)},ZipPassThrough=function(){function ti(ti){this.filename=ti,this.c=crc(),this.size=0,this.compression=0}return ti.prototype.process=function(ti,tr){this.ondata(null,ti,tr)},ti.prototype.push=function(ti,tr){this.ondata||err(5),this.c.p(ti),this.size+=ti.length,tr&&(this.crc=this.c.d()),this.process(ti,tr||!1)},ti}(),ZipDeflate=function(){function ti(ti,tr){var tn=this;tr||(tr={}),ZipPassThrough.call(this,ti),this.d=new Deflate(tr,function(ti,tr){tn.ondata(null,ti,tr)}),this.compression=8,this.flag=dbf(tr.level)}return ti.prototype.process=function(ti,tr){try{this.d.push(ti,tr)}catch(ti){this.ondata(ti,null,tr)}},ti.prototype.push=function(ti,tr){ZipPassThrough.prototype.push.call(this,ti,tr)},ti}(),AsyncZipDeflate=function(){function ti(ti,tr){var tn=this;tr||(tr={}),ZipPassThrough.call(this,ti),this.d=new AsyncDeflate(tr,function(ti,tr,ts){tn.ondata(ti,tr,ts)}),this.compression=8,this.flag=dbf(tr.level),this.terminate=this.d.terminate}return ti.prototype.process=function(ti,tr){this.d.push(ti,tr)},ti.prototype.push=function(ti,tr){ZipPassThrough.prototype.push.call(this,ti,tr)},ti}(),Zip=function(){function ti(ti){this.ondata=ti,this.u=[],this.d=1}return ti.prototype.add=function(ti){var tr=this;if(this.ondata||err(5),2&this.d)this.ondata(err(4+8*(1&this.d),0,1),null,!1);else{var tn=strToU8(ti.filename),ts=tn.length,ta=ti.comment,to=ta&&strToU8(ta),th=ts!=ti.filename.length||to&&ta.length!=to.length,tl=ts+exfl(ti.extra)+30;ts>65535&&this.ondata(err(11,0,1),null,!1);var tp=new u8(tl);wzh(tp,0,ti,tn,th,-1);var tf=[tp],tu=function(){for(var ti=0,tn=tf;ti<tn.length;ti++){var ts=tn[ti];tr.ondata(null,ts,!1)}tf=[]},tc=this.d;this.d=0;var tm=this.u.length,tg=mrg(ti,{f:tn,u:th,o:to,t:function(){ti.terminate&&ti.terminate()},r:function(){if(tu(),tc){var ti=tr.u[tm+1];ti?ti.r():tr.d=1}tc=1}}),tv=0;ti.ondata=function(tn,ts,ta){if(tn)tr.ondata(tn,ts,ta),tr.terminate();else if(tv+=ts.length,tf.push(ts),ta){var to=new u8(16);wbytes(to,0,134695760),wbytes(to,4,ti.crc),wbytes(to,8,tv),wbytes(to,12,ti.size),tf.push(to),tg.c=tv,tg.b=tl+tv+16,tg.crc=ti.crc,tg.size=ti.size,tc&&tg.r(),tc=1}else tc&&tu()},this.u.push(tg)}},ti.prototype.end=function(){var ti=this;2&this.d?this.ondata(err(4+8*(1&this.d),0,1),null,!0):(this.d?this.e():this.u.push({r:function(){1&ti.d&&(ti.u.splice(-1,1),ti.e())},t:function(){}}),this.d=3)},ti.prototype.e=function(){for(var ti=0,tr=0,tn=0,ts=0,ta=this.u;ts<ta.length;ts++)tn+=46+(tp=ta[ts]).f.length+exfl(tp.extra)+(tp.o?tp.o.length:0);for(var to=new u8(tn+22),th=0,tl=this.u;th<tl.length;th++){var tp=tl[th];wzh(to,ti,tp,tp.f,tp.u,-tp.c-2,tr,tp.o),ti+=46+tp.f.length+exfl(tp.extra)+(tp.o?tp.o.length:0),tr+=tp.b}wzf(to,ti,this.u.length,tn,tr),this.ondata(null,to,!0),this.d=2},ti.prototype.terminate=function(){for(var ti=0,tr=this.u;ti<tr.length;ti++)tr[ti].t();this.d=2},ti}();function zip(ti,tr,tn){tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7);var ts={};fltn(ti,"",ts,tr);var ta=Object.keys(ts),to=ta.length,th=0,tl=0,tp=to,tf=Array(to),tu=[],tc=function(){for(var ti=0;ti<tu.length;++ti)tu[ti]()},tm=function(ti,tr){mt(function(){tn(ti,tr)})};mt(function(){tm=tn});var tg=function(){var ti=new u8(tl+22),tr=th,tn=tl-th;tl=0;for(var ts=0;ts<tp;++ts){var ta=tf[ts];try{var to=ta.c.length;wzh(ti,tl,ta,ta.f,ta.u,to);var tu=30+ta.f.length+exfl(ta.extra),tc=tl+tu;ti.set(ta.c,tc),wzh(ti,th,ta,ta.f,ta.u,to,tl,ta.m),th+=16+tu+(ta.m?ta.m.length:0),tl=tc+to}catch(ti){return tm(ti,null)}}wzf(ti,th,tf.length,tn,tr),tm(null,ti)};to||tg();for(var tv=function(ti){var tr=ta[ti],tn=ts[tr],tp=tn[0],tv=tn[1],ty=crc(),tb=tp.length;ty.p(tp);var t_=strToU8(tr),tw=t_.length,tx=tv.comment,tk=tx&&strToU8(tx),tA=tk&&tk.length,tP=exfl(tv.extra),tE=0==tv.level?0:8,tS=function(tn,ts){if(tn)tc(),tm(tn,null);else{var ta=ts.length;tf[ti]=mrg(tv,{size:tb,crc:ty.d(),c:ts,f:t_,m:tk,u:tw!=tr.length||tk&&tx.length!=tA,compression:tE}),th+=30+tw+tP+ta,tl+=76+2*(tw+tP)+(tA||0)+ta,--to||tg()}};if(tw>65535&&tS(err(11,0,1),null),tE){if(tb<16e4)try{tS(null,deflateSync(tp,tv))}catch(ti){tS(ti,null)}else tu.push(deflate(tp,tv,tS))}else tS(null,tp)},ty=0;ty<tp;++ty)tv(ty);return tc}function zipSync(ti,tr){tr||(tr={});var tn={},ts=[];fltn(ti,"",tn,tr);var ta=0,to=0;for(var th in tn){var tl=tn[th],tp=tl[0],tf=tl[1],tu=0==tf.level?0:8,tc=(tE=strToU8(th)).length,tm=tf.comment,tg=tm&&strToU8(tm),tv=tg&&tg.length,ty=exfl(tf.extra);tc>65535&&err(11);var tb=tu?deflateSync(tp,tf):tp,t_=tb.length,tw=crc();tw.p(tp),ts.push(mrg(tf,{size:tp.length,crc:tw.d(),c:tb,f:tE,m:tg,u:tc!=th.length||tg&&tm.length!=tv,o:ta,compression:tu})),ta+=30+tc+ty+t_,to+=76+2*(tc+ty)+(tv||0)+t_}for(var tx=new u8(to+22),tk=ta,tA=to-ta,tP=0;tP<ts.length;++tP){var tE=ts[tP];wzh(tx,tE.o,tE,tE.f,tE.u,tE.c.length);var tS=30+tE.f.length+exfl(tE.extra);tx.set(tE.c,tE.o+tS),wzh(tx,ta,tE,tE.f,tE.u,tE.c.length,tE.o,tE.m),ta+=16+tS+(tE.m?tE.m.length:0)}return wzf(tx,ta,ts.length,tA,tk),tx}var UnzipPassThrough=function(){function ti(){}return ti.prototype.push=function(ti,tr){this.ondata(null,ti,tr)},ti.compression=0,ti}(),UnzipInflate=function(){function ti(){var ti=this;this.i=new Inflate(function(tr,tn){ti.ondata(null,tr,tn)})}return ti.prototype.push=function(ti,tr){try{this.i.push(ti,tr)}catch(ti){this.ondata(ti,null,tr)}},ti.compression=8,ti}(),AsyncUnzipInflate=function(){function ti(ti,tr){var tn=this;tr<32e4?this.i=new Inflate(function(ti,tr){tn.ondata(null,ti,tr)}):(this.i=new AsyncInflate(function(ti,tr,ts){tn.ondata(ti,tr,ts)}),this.terminate=this.i.terminate)}return ti.prototype.push=function(ti,tr){this.i.terminate&&(ti=slc(ti,0)),this.i.push(ti,tr)},ti.compression=8,ti}(),Unzip=function(){function ti(ti){this.onfile=ti,this.k=[],this.o={0:UnzipPassThrough},this.p=et}return ti.prototype.push=function(ti,tr){var tn=this;if(this.onfile||err(5),this.p||err(4),this.c>0){var ts=Math.min(this.c,ti.length),ta=ti.subarray(0,ts);if(this.c-=ts,this.d?this.d.push(ta,!this.c):this.k[0].push(ta),(ti=ti.subarray(ts)).length)return this.push(ti,tr)}else{var to=0,th=0,tl=void 0,tp=void 0;this.p.length?ti.length?((tp=new u8(this.p.length+ti.length)).set(this.p),tp.set(ti,this.p.length)):tp=this.p:tp=ti;for(var tf=tp.length,tu=this.c,tc=tu&&this.d,tm=function(){var ti,tr=b4(tp,th);if(67324752==tr){to=1,tl=th,tg.d=null,tg.c=0;var ts=b2(tp,th+6),ta=b2(tp,th+8),tc=2048&ts,tm=8&ts,tv=b2(tp,th+26),ty=b2(tp,th+28);if(tf>th+30+tv+ty){var tb=[];tg.k.unshift(tb),to=2;var t_,tw=b4(tp,th+18),tx=b4(tp,th+22),tk=strFromU8(tp.subarray(th+30,th+=30+tv),!tc);4294967295==tw?(tw=(ti=tm?[-2]:z64e(tp,th))[0],tx=ti[1]):tm&&(tw=-1),th+=ty,tg.c=tw;var tA={name:tk,compression:ta,start:function(){if(tA.ondata||err(5),tw){var ti=tn.o[ta];ti||tA.ondata(err(14,"unknown compression type "+ta,1),null,!1),(t_=tw<0?new ti(tk):new ti(tk,tw,tx)).ondata=function(ti,tr,t
62n){tA.ondata(ti,tr,tn)};for(var tr=0,ts=tb;tr<ts.length;tr++){var to=ts[tr];t_.push(to,!1)}tn.k[0]==tb&&tn.c?tn.d=t_:t_.push(et,!0)}else tA.ondata(null,et,!0)},terminate:function(){t_&&t_.terminate&&t_.terminate()}};tw>=0&&(tA.size=tw,tA.originalSize=tx),tg.onfile(tA)}return"break"}if(tu){if(134695760==tr)return tl=th+=12+(-2==tu&&8),to=3,tg.c=0,"break";if(33639248==tr)return tl=th-=4,to=3,tg.c=0,"break"}},tg=this;th<tf-4&&"break"!==tm();++th);if(this.p=et,tu<0){var tv=to?tp.subarray(0,tl-12-(-2==tu&&8)-(134695760==b4(tp,tl-16)&&4)):tp.subarray(0,th);tc?tc.push(tv,!!to):this.k[+(2==to)].push(tv)}if(2&to)return this.push(tp.subarray(th),tr);this.p=tp.subarray(th)}tr&&(this.c&&err(13),this.p=null)},ti.prototype.register=function(ti){this.o[ti.compression]=ti},ti}(),mt="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(ti){ti()};function unzip(ti,tr,tn){tn||(tn=tr,tr={}),"function"!=typeof tn&&err(7);var ts=[],ta=function(){for(var ti=0;ti<ts.length;++ti)ts[ti]()},to={},th=function(ti,tr){mt(function(){tn(ti,tr)})};mt(function(){th=tn});for(var tl=ti.length-22;101010256!=b4(ti,tl);--tl)if(!tl||ti.length-tl>65558)return th(err(13,0,1),null),ta;var tp=b2(ti,tl+8);if(tp){var tf=tp,tu=b4(ti,tl+16),tc=4294967295==tu||65535==tf;if(tc){var tm=b4(ti,tl-12);(tc=101075792==b4(ti,tm))&&(tf=tp=b4(ti,tm+32),tu=b4(ti,tm+48))}for(var tg=tr&&tr.filter,tv=function(tr){var tn=zh(ti,tu,tc),tl=tn[0],tf=tn[1],tm=tn[2],tv=tn[3],ty=tn[4],tb=tn[5],t_=slzh(ti,tb);tu=ty;var tw=function(ti,tr){ti?(ta(),th(ti,null)):(tr&&(to[tv]=tr),--tp||th(null,to))};if(!tg||tg({name:tv,size:tf,originalSize:tm,compression:tl})){if(tl){if(8==tl){var tx=ti.subarray(t_,t_+tf);if(tf<32e4)try{tw(null,inflateSync(tx,new u8(tm)))}catch(ti){tw(ti,null)}else ts.push(inflate(tx,{size:tm},tw))}else tw(err(14,"unknown compression type "+tl,1),null)}else tw(null,slc(ti,t_,t_+tf))}else tw(null,null)},ty=0;ty<tf;++ty)tv()}else th(null,{});return ta}function unzipSync(ti,tr){for(var tn={},ts=ti.length-22;101010256!=b4(ti,ts);--ts)(!ts||ti.length-ts>65558)&&err(13);var ta=b2(ti,ts+8);if(!ta)return{};var to=b4(ti,ts+16),th=4294967295==to||65535==ta;if(th){var tl=b4(ti,ts-12);(th=101075792==b4(ti,tl))&&(ta=b4(ti,tl+32),to=b4(ti,tl+48))}for(var tp=tr&&tr.filter,tf=0;tf<ta;++tf){var tu=zh(ti,to,th),tc=tu[0],tm=tu[1],tg=tu[2],tv=tu[3],ty=tu[4],tb=tu[5],t_=slzh(ti,tb);to=ty,tp&&!tp({name:tv,size:tm,originalSize:tg,compression:tc})||(tc?8==tc?tn[tv]=inflateSync(ti.subarray(t_,t_+tm),new u8(tg)):err(14,"unknown compression type "+tc):tn[tv]=slc(ti,t_,t_+tm))}return tn}var name="@dotlottie/player-component",version="1.4.0",description="dotlottie animation player web component.",main="dist/dotlottie-player.js",module="dist/dotlottie-player.esm.js",types="dist/dotlottie-player.esm.d.ts",homepage="https://dotlottie.com/players",repository="https://github.com/dotlottie/player-component.git",bugs="https://github.com/dotlottie/player-component/issues",author="Jawish Hameed <[email protected]>",license="MIT",scripts={build:"yarn build-dotlottie",buildtsup:"tsup","build-with-coverage":"CODE_COVERAGE=true yarn build-dotlottie","build-dotlottie":"yarn cleanup && rollup -c","build:types":"tsc --declaration",dev:"yarn cleanup && rollup -c --watch",lint:"eslint","lint:fix":"eslint --fix",cleanup:"shx rm -rf dist && shx mkdir dist",serve:"node ./cypress/pages/server.js -p 8000 &","start-cypress":"npx cypress run && npx nyc report --reporter=text-summary","run-tests":"yarn build-with-coverage && yarn serve && yarn start-cypress","postrun-tests":"kill $(lsof -t -i:8000)"},dependencies={"@rollup/plugin-json":"^6.0.0",fflate:"^0.7.3",lit:"^2.4.1","lottie-web":"^5.10.0",tsup:"^6.1.3"},devDependencies={"@babel/core":"^7.11.0","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-decorators":"^7.10.5","@babel/preset-env":"^7.11.0","@babel/preset-typescript":"^7.10.4","@changesets/cli":"^2.24.4","@cypress/code-coverage":"^3.9.12","@istanbuljs/nyc-config-typescript":"^1.0.2","@rollup/plugin-babel":"^5.1.0","@rollup/plugin-commonjs":"^14.0.0","@rollup/plugin-node-resolve":"^8.4.0","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","babel-plugin-istanbul":"^6.1.1",changesets:"^1.0.2",cypress:"^9.4.1",eslint:"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-
62prettier":"^3.1.1",fastify:"^3.27.1","fastify-static":"^4.5.0",lerna:"^4.0.0","parcel-bundler":"^1.12.4",prettier:"1.18.2",rollup:"^2.23.0","rollup-plugin-alias":"^2.2.0","rollup-plugin-copy":"^3.3.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-serve":"^1.0.3","rollup-plugin-terser":"^6.1.0","rollup-plugin-typescript2":"^0.27.1","rollup-plugin-visualizer":"^4.0.4",shx:"^0.3.3","source-map-support":"^0.5.21","ts-node":"^10.5.0",typescript:"^3.7.5"},files=["dist/dotlottie-player.js","dist/dotlottie-player.js.map","dist/dotlottie-player.esm.js","dist/dotlottie-player.esm.js.map","dist/dotlottie-player.d.ts","dist/dotlottie-player.styles.d.ts","dist/dotlottie-player.styles.d.map"],keywords=["dotlottie","animation","web component","component","lit-element","player"],browserslist=["> 3%"],publishConfig={access:"public",registry:"https://npm.pkg.github.com/@dotlottie"},nyc={extends:"@istanbuljs/nyc-config-typescript",all:!0},pkg={name:name,version:version,description:description,main:main,module:module,types:types,homepage:homepage,repository:repository,bugs:bugs,author:author,license:license,scripts:scripts,dependencies:dependencies,devDependencies:devDependencies,files:files,keywords:keywords,browserslist:browserslist,publishConfig:publishConfig,nyc:nyc};let createError=ti=>Error("[dotLottie-player-component] ".concat(ti)),error=ti=>{let tr="[dotLottie-player-component] ".concat(ti);console.error(tr)},warn=ti=>{let tr="[dotLottie-player-component] ".concat(ti);console.warn(tr)};!function(ti){ti.Loading="loading",ti.Playing="playing",ti.Paused="paused",ti.Stopped="stopped",ti.Frozen="frozen",ti.Error="error"}(PlayerState||(PlayerState={})),function(ti){ti.Normal="normal",ti.Bounce="bounce"}(PlayMode||(PlayMode={})),function(ti){ti.Load="load",ti.Error="error",ti.Ready="ready",ti.Play="play",ti.Pause="pause",ti.Stop="stop",ti.Freeze="freeze",ti.Loop="loop",ti.Complete="complete",ti.Rendered="rendered",ti.Frame="frame"}(PlayerEvents||(PlayerEvents={}));let DotLottiePlayer=DotLottiePlayer_1=class extends s{constructor(){super(),this.mode=PlayMode.Normal,this.autoplay=!1,this.background="transparent",this.controls=!1,this.direction=1,this.hover=!1,this.renderer="svg",this.speed=1,this.currentState=PlayerState.Loading,this.intermission=1,this.activeAnimationId=null,this._counter=1,this._activeAnimationIndex=0,this._manifest={animations:[]}}static get properties(){return{mode:{type:String},autoplay:{type:Boolean},background:{type:String},controls:{type:Boolean},direction:{type:Number},hover:{type:Boolean},loop:{type:String},renderer:{type:String},speed:{type:Number},src:{type:String},currentState:{type:String},seeker:{type:Object},intermission:{type:Number},activeAnimationId:{type:String}}}_parseLoop(ti){let tr=parseInt(ti,10);return Number.isInteger(tr)&&tr>0?(this._count=tr,this._loop=!0,!0):"string"==typeof ti&&["true","false"].includes(ti)?(this._loop="true"===ti,this._loop):(warn("loop must be a positive integer or a boolean"),!1)}_onVisibilityChange(){document.hidden&&this.currentState===PlayerState.Playing?this.freeze():this.currentState===PlayerState.Frozen&&this.play()}_handleSeekChange(ti){if(!this._lottie||isNaN(ti.target.value))return;let tr=ti.target.value/100*this._lottie.totalFrames;this.seek(tr)}isLottie(ti){let tr=!1;return ti.animations&&ti.animations.length?(ti.animations.forEach(ti=>{this.isLottie(ti)||(tr=!0)}),tr):["v","ip","op","layers","fr","w","h"].every(tr=>Object.prototype.hasOwnProperty.call(ti,tr))}parseSrc(ti){if("object"==typeof ti)return ti;try{return JSON.parse(ti)}catch(tr){return new URL(ti,window.location.href).toString()}}async _fetchDotLottie(ti){return await fetch(ti,{method:"GET",mode:"cors",headers:{"Response-Type":"arraybuffer"}}).then(ti=>ti.arrayBuffer()).then(async ti=>{let tr;let tn=[],ts={animations:[],manifest:void 0},ta=await new Promise((tr,tn)=>{unzip(new Uint8Array(ti),(ti,ts)=>{ti&&tn(ti),tr(ts)})});if(ta["manifest.json"]){let ti=strFromU8(ta["manifest.json"]),to=JSON.parse(ti);if(!("animations"in to))throw createError("Manifest not found");if(0===to.animations.length)throw createError("No animations listed in the manifest");for(let ti of(ts.manifest=to,to.animations))"assets"in(tr=JSON.parse(strFromU8(ta["animations/".concat(ti.id,".json")])))&&tr.assets.map(ti=>{if(!ti.p||null===ta["images/".concat(ti.p)])return;let tr=btoa(strFromU8(ta["images/".concat(ti.p)],!0));ti.p="data:;base64,"+tr,ti.e=1}),tn.push(tr);return ts.manifest=to,ts.animations=tn,ts}throw createError("No manifest found in file.")}).catch(ti=>{throw createError(ti)})}async _fetchJsonFile(ti){return await fetch(ti,{method:"GET",mode:"cors",headers:{"Response-Type":"json"}}).then(ti=>ti.json()).then(tr=>{let tn=[],ts={animations:[{id:ti.substring(ti.lastIndexOf("/")+1,ti.lastIndexOf(".")),speed:1,loop:"true",direction:1}],description:"",author:"",generator:"dotLottie-player-component",revision:1,version:"1.0.0"},ta={animations:[],manifest:void 0};return tn.push(tr),ta.animations=tn,ta.manifest=ts,ta}).catch(ti=>{throw createError(ti)})}async _fetchFileAndLoad(ti){var tr;let tn={animations:[],manifest:void 0};if(!(tn="json"===(null===(tr=ti.split(/[#?]/)[0].split(".").pop())||void 0===tr?void 0:tr.toLowerCase())?await this._fetchJsonFile(ti):await this._fetchDotLottie(ti)).animations||!tn.manifest||0===tn.animations.length)throw this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error)),createError(tn.animations&&tn.animations.length?"Manifest not found":"Animations are empty");if(this._animations=tn.animations,this._manifest=tn.manifest,this.activeAnimationId){let ti=this._manifest.animations.findIndex(ti=>ti.id===this.activeAnimationId);-1!==ti?this._activeAnimationIndex=ti:warn("Active animation not found in manifest")}else if(this._manifest&&this._manifest.activeAnimationId){let ti=this._manifest.animations.findIndex(ti=>ti.id===this._manifest.activeAnimationId);-1!==ti?this._activeAnimationIndex=ti:warn("Active animation not found in manifest")}let ts=this._animations[this._activeAnimationIndex];if(void 0===ts)throw createError("No animation to load!");return ts}_loadManifestOptions(ti){if(this._requireAnimationsInTheManifest(),void 0===this._manifest.animations[ti])throw createError("Animation not found in manifest");let{autoplay:tr,direction:tn,loop:ts,playMode:ta,speed:to,hover:th,intermission:tl}=this._manifest.animations[ti];void 0!==tr&&(this.autoplay=tr),void 0!==tn&&(this.direction=tn),void 0!==ts&&(this.loop=ts),void 0!==ta&&(this.mode=ta),void 0!==to&&(this.speed=to),void 0!==th&&(this.hover=th),void 0!==tl&&(this.intermission=tl)}_initListeners(){this.dispatchEvent(new CustomEvent(PlayerEvents.Load)),this._lottie.addEventListener("enterFrame",()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))}),this._lottie.addEventListener("complete",()=>{this.currentState===PlayerState.Playing?(!this._loop||this._count&&this._counter>=this._count)&&(this.dispatchEvent(new CustomEvent(PlayerEvents.Complete)),this.mode!==PlayMode.Bounce||0===this._lottie.currentFrame)||(this.mode===PlayMode.Bounce?
62(this._count&&(this._counter+=.5),setTimeout(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())},this.intermission)):(this._count&&(this._counter+=1),window.setTimeout(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(-1===this.direction?(this.seek("99%"),this.play()):(this._lottie.stop(),this.play()))},this.intermission))):this.dispatchEvent(new CustomEvent(PlayerEvents.Complete))}),this._lottie.addEventListener("DOMLoaded",()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Ready))}),this._lottie.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Load))}),this._lottie.addEventListener("data_failed",()=>{this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error))}),this.container.addEventListener("mouseenter",()=>{this.hover&&this.currentState!==PlayerState.Playing&&this.play()}),this.container.addEventListener("mouseleave",()=>{this.hover&&this.currentState===PlayerState.Playing&&this.stop()})}async load(ti,tr,tn){if(!this.shadowRoot)return;let ts={container:this.container,loop:!1,autoplay:!1,renderer:this.renderer,rendererSettings:tr||{scaleMode:"noScale",clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0}};try{let tr=this.parseSrc(ti),ta=null;if("string"==typeof tr)ta=await this._fetchFileAndLoad(tr);else if("object"==typeof tr&&!this.isLottie(tr))throw createError("Load method failing. Object is not a valid Lottie.");if(this._lottie&&this._lottie.destroy(),void 0!==tn)for(let[ti,tr]of Object.entries(tn))"playMode"===ti?this.mode="normal"===tr?PlayMode.Normal:PlayMode.Bounce:void 0!==tr&&(this[ti]=tr);else if(0===this._activeAnimationIndex||this._manifest.animations[this._activeAnimationIndex].id===this.activeAnimationId||this._manifest.animations[this._activeAnimationIndex].id===this._manifest.activeAnimationId){let ti=this._manifest.animations[this._activeAnimationIndex],tr=Object.keys(DotLottiePlayer_1.properties),tn=Array.from(this.getAttributeNames());for(let ti of tn){let tr=this.getAttribute(ti);tr&&(this[ti]=tr)}let ts=tr.filter(ti=>!tn.includes(ti.toLowerCase())&&this._manifest.animations[this._activeAnimationIndex].hasOwnProperty(ti));for(let tr of ts){let tn=ti[tr];void 0!==tn&&("playMode"===tr?this.mode="normal"===tn?PlayMode.Normal:PlayMode.Bounce:this[tr]=tn)}}else this._loadManifestOptions(this._activeAnimationIndex);this._lottie=lottie.loadAnimation(Object.assign(Object.assign({},ts),{animationData:null!==ta?ta:tr}))}catch(ti){return this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error)),void console.error(ti)}if(!this._lottie)throw this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error)),createError("Player failed to initialize.");this._initListeners(),this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&(-1===this.direction&&this.seek("99%"),this.play())}getActiveId(){return this._manifest.animations?this._manifest.animations[this._activeAnimationIndex].id:null}getActiveAnimationIndex(){return this._activeAnimationIndex}animationCount(){return this._animations?this._animations.length:0}getManifest(){return this._manifest}getLottie(){return this._lottie}getVersions(){return{lottieWebVersion:"".concat(pkg.dependencies["lottie-web"]),dotLottiePlayerVersion:"".concat(pkg.version)}}_requireAnimationsInTheManifest(){if(!this._manifest.animations.length)throw createError("No animations found in manifest.")}_requireAnimationsToBeLoaded(){var ti;if(!(null===(ti=this._animations)||void 0===ti?void 0:ti.length))throw createError("No animations have been loaded.")}previous(ti){this._activeAnimationIndex=(this._activeAnimationIndex-1+this._manifest.animations.length)%this._manifest.animations.length,this.play(this._activeAnimationIndex,ti)}next(ti){this._activeAnimationIndex=(this._activeAnimationIndex+1)%this._manifest.animations.length,this.play(this._activeAnimationIndex,ti)}reset(){this._manifest&&this._manifest.activeAnimationId?this.play(this._manifest.activeAnimationId):this.activeAnimationId?this.play(this.activeAnimationId):this.play(0)}_validateAnimationIndex(ti){if(isNaN(ti)||ti<0||ti>=this._manifest.animations.length)throw createError("Animation index ".concat(ti," is out of bounds."))}play(ti,tr){if(this._lottie){if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),void 0===ti)return this._lottie.play(),this.currentState=PlayerState.Playing,void this.dispatchEvent(new CustomEvent(PlayerEvents.Play));if(this._requireAnimationsToBeLoaded(),this._requireAnimationsInTheManifest(),void 0!==ti){if(!this._animations)throw createError("No animations have been loaded.");if(this._requireAnimationsInTheManifest(),"string"==typeof ti){let tn=this._manifest.animations.findIndex(tr=>tr.id===ti);-1!==tn?(this._activeAnimationIndex=tn,this.load(this._animations[this._activeAnimationIndex],{playbackOptions:tr})):error("No animation with the id '".concat(ti,"' was found."))}
62else"number"==typeof ti&&(this._validateAnimationIndex(ti),this._manifest.animations&&this._manifest.animations[ti]?(this._activeAnimationIndex=ti,this.load(this._animations[this._activeAnimationIndex],{playbackOptions:tr})):error("Animation not found at index: ".concat(ti)))}}}pause(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Paused,this.dispatchEvent(new CustomEvent(PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=0,this._lottie.stop(),-1===this.direction&&this._lottie.goToAndStop(this._lottie.totalFrames,!0),this.currentState=PlayerState.Stopped,this.dispatchEvent(new CustomEvent(PlayerEvents.Stop)))}seek(ti){if(!this._lottie)return;"number"==typeof ti&&(ti=Math.round(ti));let tr=/^(\d+)(%?)$/.exec(ti.toString());if(!tr)return;let tn="%"===tr[2]?this._lottie.totalFrames*Number(tr[1])/100:Number(tr[1]);this.seeker=tn,this.currentState===PlayerState.Playing?this._lottie.goToAndPlay(tn,!0):(this._lottie.goToAndStop(tn,!0),this._lottie.pause())}snapshot(){let ti=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.shadowRoot)return;let tr=this.shadowRoot.querySelector(".animation svg"),tn=(new XMLSerializer).serializeToString(tr);if(ti){let ti=document.createElement("a");ti.href="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(tn),ti.download="download_"+this.seeker+".svg",document.body.appendChild(ti),ti.click(),document.body.removeChild(ti)}return tn}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Frozen,this.dispatchEvent(new CustomEvent(PlayerEvents.Freeze)))}setSpeed(){let ti=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._lottie&&this._lottie.setSpeed(ti)}setDirection(ti){this._lottie&&this._lottie.setDirection(ti)}setLooping(ti){this._lottie&&(this._lottie.loop=this._parseLoop(ti))}isLooping(){return!!this._loop&&this._loop}togglePlay(){return this.currentState===PlayerState.Playing?this.pause():this.play()}toggleLooping(){let ti=!this._loop;this.setLooping(ti.toString())}static get styles(){return styles}async firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver(ti=>{ti[0].isIntersecting?this.currentState===PlayerState.Frozen&&this.play():this.currentState===PlayerState.Playing&&this.freeze()}),this._io.observe(this.container)),void 0!==document.hidden&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange()),this.loop?this._parseLoop(this.loop):this.hasAttribute("loop")&&this._parseLoop("true"),this.src&&await this.load(this.src),this.dispatchEvent(new CustomEvent(PlayerEvents.Rendered))}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),this._lottie&&this._lottie.destroy(),document.removeEventListener("visibilitychange",()=>this._onVisibilityChange())}renderControls(){let ti=this.currentState===PlayerState.Playing,tr=this.currentState===PlayerState.Paused,tn=this.currentState===PlayerState.Stopped;return y(_templateObject||(_templateObject=_taggedTemplateLiteral(['\n      <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">\n        <button\n          id="lottie-play-button"\n          @click=',"\n          class=",'\n          style="align-items:center;"\n          tabindex="0"\n          aria-label="play-pause"\n        >\n          ','\n        </button>\n        <button\n          id="lottie-stop-button"\n          @click=',"\n          class=",'\n          style="align-items:center;"\n          tabindex="0"\n          aria-label="stop"\n        >\n          <svg width="24" height="24" aria-hidden="true" focusable="false">\n            <path d="M6 6h12v12H6V6z" />\n          </svg>\n        </button>\n        <input\n          id="lottie-seeker-input"\n          class="seeker"\n          type="range"\n          min="0"\n          step="1"\n          max="100"\n          .value=',"\n          @input=","\n          @mousedown=","\n          @mouseup=",'\n          aria-valuemin="1"\n          aria-valuemax="100"\n          role="slider"\n          aria-valuenow=','\n          tabindex="0"\n          aria-label="lottie-seek-input"\n        />\n        <button\n          id="lottie-loop-toggle"\n          @click=',"\n          class=",'\n          style="align-items:center;"\n          tabindex="0"\n          aria-label="loop-toggle"\n        >\n          <svg width="24" height="24" aria-hidden="true" focusable="false">\n            <path\n              d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"\n            />\n          </svg>\n        </button>\n      </div>
62\n    '])),this.togglePlay,ti||tr?"active":"",y(ti?_templateObject2||(_templateObject2=_taggedTemplateLiteral(['\n                <svg width="24" height="24" aria-hidden="true" focusable="false">\n                  <path d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" />\n                </svg>\n              '])):_templateObject3||(_templateObject3=_taggedTemplateLiteral(['\n                <svg width="24" height="24" aria-hidden="true" focusable="false">\n                  <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />\n                </svg>\n              ']))),this.stop,tn?"active":"",this.seeker,this._handleSeekChange,()=>{this._prevState=this.currentState,this.freeze()},()=>{this._prevState===PlayerState.Playing&&this.play(),this.seek(this._lottie.currentFrame)},this.seeker,this.toggleLooping,this._loop?"active":"")}render(){let ti=this.controls?"main controls":"main",tr=this.controls?"animation controls":"animation";return y(_templateObject4||(_templateObject4=_taggedTemplateLiteral(['\n      <div id="animation-container" class=',' lang="en" role="img">\n        <div id="animation" class=',' style="background:',';">\n          ',"\n        </div>\n        ","\n      </div>\n    "])),ti,tr,this.background,this.currentState===PlayerState.Error?y(_templateObject5||(_templateObject5=_taggedTemplateLiteral([' <div class="error">⚠️</div> ']))):void 0,this.controls?this.renderControls():void 0)}};__decorate([i$1(".animation")],DotLottiePlayer.prototype,"container",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],DotLottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"hover",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"loop",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:Number})],DotLottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"src",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"currentState",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"seeker",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"intermission",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"activeAnimationId",void 0),DotLottiePlayer=DotLottiePlayer_1=__decorate([e$6("dotlottie-player")],DotLottiePlayer)}}]);

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.