vendor: 4,190 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1807],{70886:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _asyncIterator(te){var tr,ti,ts,tn=2;for("undefined"!=typeof Symbol&&(ti=Symbol.asyncIterator,ts=Symbol.iterator);tn--;){if(ti&&null!=(tr=te[ti]))return tr.call(te);if(ts&&null!=(tr=te[ts]))return new AsyncFromSyncIterator(tr.call(te));ti="@@asyncIterator",ts="@@iterator"}throw TypeError("Object is not async iterable")}function AsyncFromSyncIterator(te){function e(te){if(Object(te)!==te)return Promise.reject(TypeError(te+" is not an object."));var tr=te.done;return Promise.resolve(te.value).then(function(te){return{value:te,done:tr}})}return(AsyncFromSyncIterator=function(te){this.s=te,this.n=te.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(te){var tr=this.s.return;return void 0===tr?Promise.resolve({value:te,done:!0}):e(tr.apply(this.s,arguments))},throw:function(te){var tr=this.s.return;return void 0===tr?Promise.reject(te):e(tr.apply(this.s,arguments))}},new AsyncFromSyncIterator(te)}function _jsx(te,tr,ti,ts){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var tn=te&&te.defaultProps,ta=arguments.length-3;if(tr||0===ta||(tr={children:void 0}),1===ta)tr.children=ts;else if(ta>1){for(var to=Array(ta),th=0;th<ta;th++)to[th]=arguments[th+3];tr.children=to}if(tr&&tn)for(var tl in tn)void 0===tr[tl]&&(tr[tl]=tn[tl]);else tr||(tr=tn||{});return{$$typeof:REACT_ELEMENT_TYPE,type:te,key:void 0===ti?null:""+ti,ref:null,props:tr,_owner:null}}function ownKeys(te,tr){var ti=Object.keys(te);if(Object.getOwnPropertySymbols){var ts=Object.getOwnPropertySymbols(te);tr&&(ts=ts.filter(function(tr){return Object.getOwnPropertyDescriptor(te,tr).enumerable})),ti.push.apply(ti,ts)}return ti}function _objectSpread2(te){for(var tr=1;tr<arguments.length;tr++){var ti=null!=arguments[tr]?arguments[tr]:{};tr%2?ownKeys(Object(ti),!0).forEach(function(tr){_defineProperty(te,tr,ti[tr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(ti)):ownKeys(Object(ti)).forEach(function(tr){Object.defineProperty(te,tr,Object.getOwnPropertyDescriptor(ti,tr))})}return te}function _typeof(te){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}function _wrapRegExp(){_wrapRegExp=function(te,tr){return new r(te,void 0,tr)};var te=RegExp.prototype,tr=new WeakMap;function r(te,ti,ts){var tn=new RegExp(te,ti);return tr.set(tn,ts||tr.get(te)),_setPrototypeOf(tn,r.prototype)}function i(te,ti){var ts=tr.get(ti);return Object.keys(ts).reduce(function(tr,ti){return tr[ti]=te[ts[ti]],tr},Object.create(null))}return _inherits(r,RegExp),r.prototype.exec=function(tr){var ti=te.exec.call(this,tr);return ti&&(ti.groups=i(ti,this)),ti},r.prototype[Symbol.replace]=function(ti,ts){if("string"==typeof ts){var tn=tr.get(this);return te[Symbol.replace].call(this,ti,ts.replace(/\$<([^>]+)>/g,function(te,tr){return"$"+tn[tr]}))}if("function"==typeof ts){var ta=this;return te[Symbol.replace].call(this,ti,function(){var te=arguments;return"object"!=typeof te[te.length-1]&&(te=[].slice.call(te)).push(i(te,ta)),ts.apply(this,te)})}return te[Symbol.replace].call(this,ti,ts)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(te){this.wrapped=te}function _AsyncGenerator(te){var tr,ti;function i(tr,ti){try{var ts=te[tr](ti),tn=ts.value,ta=tn instanceof _AwaitValue;Promise.resolve(ta?tn.wrapped:tn).then(function(te){ta?i("return"===tr?"return":"next",te):s(ts.done?"return":"normal",te)},function(te){i("throw",te)})}catch(te){s("throw",te)}}function s(te,ts){switch(te){case"return":tr.resolve({value:ts,done:!0});break;case"throw":tr.reject(ts);break;default:tr.resolve({value:ts,done:!1})}(tr=tr.next)?i(tr.key,tr.arg):ti=null}this._invoke=function(te,ts){return new Promise(function(tn,ta){var to={key:te,arg:ts,resolve:tn,reject:ta,next:null};ti?ti=ti.next=to:(tr=ti=to,i(te,ts))})}
1,"function"!=typeof te.return&&(this.return=void 0)}function _wrapAsyncGenerator(te){return function(){return new _AsyncGenerator(te.apply(this,arguments))}}function _awaitAsyncGenerator(te){return new _AwaitValue(te)}function _asyncGeneratorDelegate(te,tr){var ti={},ts=!1;function s(ti,tn){return ts=!0,{done:!1,value:tr(tn=new Promise(function(tr){tr(te[ti](tn))}))}}return ti["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},ti.next=function(te){return ts?(ts=!1,te):s("next",te)},"function"==typeof te.throw&&(ti.throw=function(te){if(ts)throw ts=!1,te;return s("throw",te)}),"function"==typeof te.return&&(ti.return=function(te){return ts?(ts=!1,te):s("return",te)}),ti}function asyncGeneratorStep(te,tr,ti,ts,tn,ta,to){try{var th=te[ta](to),tl=th.value}catch(te){return void ti(te)}th.done?tr(tl):Promise.resolve(tl).then(ts,tn)}function _asyncToGenerator(te){return function(){var tr=this,ti=arguments;return new Promise(function(ts,tn){var ta=te.apply(tr,ti);function n(te){asyncGeneratorStep(ta,ts,tn,n,o,"next",te)}function o(te){asyncGeneratorStep(ta,ts,tn,n,o,"throw",te)}n(void 0)})}}function _classCallCheck(te,tr){if(!(te instanceof tr))throw TypeError("Cannot call a class as a function")}function _defineProperties(te,tr){for(var ti=0;ti<tr.length;ti++){var ts=tr[ti];ts.enumerable=ts.enumerable||!1,ts.configurable=!0,"value"in ts&&(ts.writable=!0),Object.defineProperty(te,ts.key,ts)}}function _createClass(te,tr,ti){return tr&&_defineProperties(te.prototype,tr),ti&&_defineProperties(te,ti),Object.defineProperty(te,"prototype",{writable:!1}),te}function _defineEnumerableProperties(te,tr){for(var ti in tr)(ta=tr[ti]).configurable=ta.enumerable=!0,"value"in ta&&(ta.writable=!0),Object.defineProperty(te,ti,ta);if(Object.getOwnPropertySymbols)for(var ts=Object.getOwnPropertySymbols(tr),tn=0;tn<ts.length;tn++){var ta,to=ts[tn];(ta=tr[to]).configurable=ta.enumerable=!0,"value"in ta&&(ta.writable=!0),Object.defineProperty(te,to,ta)}return te}function _defaults(te,tr){for(var ti=Object.getOwnPropertyNames(tr),ts=0;ts<ti.length;ts++){var tn=ti[ts],ta=Object.getOwnPropertyDescriptor(tr,tn);ta&&ta.configurable&&void 0===te[tn]&&Object.defineProperty(te,tn,ta)}return te}function _defineProperty(te,tr,ti){return tr in te?Object.defineProperty(te,tr,{value:ti,enumerable:!0,configurable:!0,writable:!0}):te[tr]=ti,te}function _extends(){return(_extends=Object.assign||function(te){for(var tr=1;tr<arguments.length;tr++){var ti=arguments[tr];for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(te[ts]=ti[ts])}return te}).apply(this,arguments)}function _objectSpread(te){for(var tr=1;tr<arguments.length;tr++){var ti=null!=arguments[tr]?Object(arguments[tr]):{},ts=Object.keys(ti);"function"==typeof Object.getOwnPropertySymbols&&ts.push.apply(ts,Object.getOwnPropertySymbols(ti).filter(function(te){return Object.getOwnPropertyDescriptor(ti,te).enumerable})),ts.forEach(function(tr){_defineProperty(te,tr,ti[tr])})}return te}function _inherits(te,tr){if("function"!=typeof tr&&null!==tr)throw TypeError("Super expression must either be null or a function");te.prototype=Object.create(tr&&tr.prototype,{constructor:{value:te,writable:!0,configurable:!0}}),Object.defineProperty(te,"prototype",{writable:!1}),tr&&_setPrototypeOf(te,tr)}function _inheritsLoose(te,tr){te.prototype=Object.create(tr.prototype),te.prototype.constructor=te,_setPrototypeOf(te,tr)}function _getPrototypeOf(te){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(te){return te.__proto__||Object.getPrototypeOf(te)})(te)}function _setPrototypeOf(te,tr){return(_setPrototypeOf=Object.setPrototypeOf||function(te,tr){return te.__proto__=tr,te})(te,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(te){return!1}}function _construct(te,tr,ti){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(te,tr,ti){var ts=[null];ts.push.apply(ts,tr);var tn=new(Function.bind.apply(te,ts));return ti&&_setPrototypeOf(tn,ti.prototype),tn}).apply(null,arguments)}function _isNativeFunction(te){return -1!==Function.toString.call(te).indexOf("[native code]")}function _wrapNativeSuper(te){var tr="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(te){if(null===te||!_isNativeFunction(te))return te;if("function"!=typeof te)throw TypeError("Super expression must either be null or a function");if(void 0!==tr){if(tr.has(te))return tr.get(te);tr.set(te,r)}function r(){return _construct(te,arguments,_getPrototypeOf(this).constructor)}return r.prototype=Object.create(te.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(r,te)})(te)}function _instanceof(te,tr){return null!=tr&&"undefined"!=typeof Symbol&&tr[Symbol.hasInstance]?!!tr[Symbol.hasInstance](te):te instanceof tr}
vendor: 6,105 bytes, line 1
1function _interopRequireDefault(te){return te&&te.__esModule?te:{default:te}}function _getRequireWildcardCache(te){if("function"!=typeof WeakMap)return null;var tr=new WeakMap,ti=new WeakMap;return(_getRequireWildcardCache=function(te){return te?ti:tr})(te)}function _interopRequireWildcard(te,tr){if(!tr&&te&&te.__esModule)return te;if(null===te||"object"!=typeof te&&"function"!=typeof te)return{default:te};var ti=_getRequireWildcardCache(tr);if(ti&&ti.has(te))return ti.get(te);var ts={},tn=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ta in te)if("default"!==ta&&Object.prototype.hasOwnProperty.call(te,ta)){var to=tn?Object.getOwnPropertyDescriptor(te,ta):null;to&&(to.get||to.set)?Object.defineProperty(ts,ta,to):ts[ta]=te[ta]}return ts.default=te,ti&&ti.set(te,ts),ts}function _newArrowCheck(te,tr){if(te!==tr)throw TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(te){if(null==te)throw TypeError("Cannot destructure undefined")}function _objectWithoutPropertiesLoose(te,tr){if(null==te)return{};var ti,ts,tn={},ta=Object.keys(te);for(ts=0;ts<ta.length;ts++)ti=ta[ts],tr.indexOf(ti)>=0||(tn[ti]=te[ti]);return tn}function _objectWithoutProperties(te,tr){if(null==te)return{};var ti,ts,tn=_objectWithoutPropertiesLoose(te,tr);if(Object.getOwnPropertySymbols){var ta=Object.getOwnPropertySymbols(te);for(ts=0;ts<ta.length;ts++)ti=ta[ts],tr.indexOf(ti)>=0||Object.prototype.propertyIsEnumerable.call(te,ti)&&(tn[ti]=te[ti])}return tn}function _assertThisInitialized(te){if(void 0===te)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return te}function _possibleConstructorReturn(te,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(te)}function _createSuper(te){var tr=_isNativeReflectConstruct();return function(){var ti,ts=_getPrototypeOf(te);if(tr){var tn=_getPrototypeOf(this).constructor;ti=Reflect.construct(ts,arguments,tn)}else ti=ts.apply(this,arguments);return _possibleConstructorReturn(this,ti)}}function _superPropBase(te,tr){for(;!Object.prototype.hasOwnProperty.call(te,tr)&&null!==(te=_getPrototypeOf(te)););return te}function _get(){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(te,tr,ti){var ts=_superPropBase(te,tr);if(ts){var tn=Object.getOwnPropertyDescriptor(ts,tr);return tn.get?tn.get.call(arguments.length<3?te:ti):tn.value}}).apply(this,arguments)}function set(te,tr,ti,ts){return(set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(te,tr,ti,ts){var tn,ta=_superPropBase(te,tr);if(ta){if((tn=Object.getOwnPropertyDescriptor(ta,tr)).set)return tn.set.call(ts,ti),!0;if(!tn.writable)return!1}if(tn=Object.getOwnPropertyDescriptor(ts,tr)){if(!tn.writable)return!1;tn.value=ti,Object.defineProperty(ts,tr,tn)}else _defineProperty(ts,tr,ti);return!0})(te,tr,ti,ts)}function _set(te,tr,ti,ts,tn){if(!set(te,tr,ti,ts||te)&&tn)throw Error("failed to set property");return ti}function _taggedTemplateLiteral(te,tr){return tr||(tr=te.slice(0)),Object.freeze(Object.defineProperties(te,{raw:{value:Object.freeze(tr)}}))}function _taggedTemplateLiteralLoose(te,tr){return tr||(tr=te.slice(0)),te.raw=tr,te}function _readOnlyError(te){throw TypeError('"'+te+'" is read-only')}function _writeOnlyError(te){throw TypeError('"'+te+'" is write-only')}function _classNameTDZError(te){throw Error('Class "'+te+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(te){throw ReferenceError(te+" is not defined - temporal dead zone")}function _temporalRef(te,tr){return te===_temporalUndefined?_tdz(tr):te}function _slicedToArray(te,tr){return _arrayWithHoles(te)||_iterableToArrayLimit(te,tr)||_unsupportedIterableToArray(te,tr)||_nonIterableRest()}function _slicedToArrayLoose(te,tr){return _arrayWithHoles(te)||_iterableToArrayLimitLoose(te,tr)||_unsupportedIterableToArray(te,tr)||_nonIterableRest()}function _toArray(te){return _arrayWithHoles(te)||_iterableToArray(te)||_unsupportedIterableToArray(te)||_nonIterableRest()}function _toConsumableArray(te){return _arrayWithoutHoles(te)||_iterableToArray(te)||_unsupportedIterableToArray(te)||_nonIterableSpread()}function _arrayWithoutHoles(te){if(Array.isArray(te))return _arrayLikeToArray(te)}function _arrayWithHoles(te){if(Array.isArray(te))return te}function _maybeArrayLike(te,tr,ti){if(tr&&!Array.isArray(tr)&&"number"==typeof tr.length){var ts=tr.length;return _arrayLikeToArray(tr,void 0!==ti&&ti<ts?ti:ts)}return te(tr,ti)}function _iterableToArray(te){if("undefined"!=typeof Symbol&&null!=te[Symbol.iterator]||null!=te["@@iterator"])return Array.from(te)}function _iterableToArrayLimit(te,tr){var ti=null==te?null:"undefined"!=typeof Symbol&&te[Symbol.iterator]||te["@@iterator"];if(null!=ti){var ts,tn,ta=[],to=!0,th=!1;try{for(ti=ti.call(te);!(to=(ts=ti.next()).done)&&(ta.push(ts.value),!tr||ta.length!==tr);to=!0);}catch(te){th=!0,tn=te}finally{try{to||null==ti.return||ti.return()}finally{if(th)throw tn}}return ta}}function _iterableToArrayLimitLoose(te,tr){var ti=te&&("undefined"!=typeof Symbol&&te[Symbol.iterator]||te["@@iterator"]);if(null!=ti){var ts=[];for(ti=ti.call(te),_step;!(_step=ti.next()).done&&(ts.push(_step.value),!tr||ts.length!==tr););return ts}}function _unsupportedIterableToArray(te,tr){if(te){if("string"==typeof te)return _arrayLikeToArray(te,tr);var ti=Object.prototype.toString.call(te).slice(8,-1);return"Object"===ti&&te.constructor&&(ti=te.constructor.name),"Map"===ti||"Set"===ti?Array.from(te):"Arguments"===ti||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ti)?_arrayLikeToArray(te,tr):void 0}}function _arrayLikeToArray(te,tr){(null==tr||tr>te.length)&&(tr=te.length);for(var ti=0,ts=Array(tr);ti<tr;ti++)ts[ti]=te[ti];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(te,tr){var ti="undefined"!=typeof Symbol&&te[Symbol.iterator]||te["@@iterator"];if(!ti){if(Array.isArray(te)||(ti=_unsupportedIterableToArray(te))||tr&&te&&"number"==typeof te.length){ti&&(te=ti);var ts=0,s=function(){};return{s:s,n:function(){return ts>=te.length?{done:!0}:{done:!1,value:te[ts++]}},e:function(te){throw te},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var tn,ta=!0,to=!1;return{s:function(){ti=ti.call(te)},n:function(){var te=ti.next();return ta=te.done,te},e:function(te){to=!0,tn=te},f:function(){try{ta||null==ti.return||ti.return()}finally{if(to)throw tn}}}}function _createForOfIteratorHelperLoose(te,tr){var ti="undefined"!=typeof Symbol&&te[Symbol.iterator]||te["@@iterator"];if(ti)return(ti=ti.call(te)).next.bind(ti);if(Array.isArray(te)||(ti=_unsupportedIterableToArray(te))||tr&&te&&"number"==typeof te.length){ti&&(te=ti);var ts=0;return function(){return ts>=te.length?{done:!0}:{done:!1,value:te[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(te){return function(){var tr=te.apply(this,arguments);return tr.next(),tr}}function _toPrimitive(te,tr){if("object"!=typeof te||null===te)return te;var ti=te[Symbol.toPrimitive];if(void 0!==ti){var ts=ti.call(te,tr||"default");if("object"!=typeof ts)return ts;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===tr?String:Number)(te)}function _toPropertyKey(te){var tr=_toPrimitive(te,"string");return"symbol"==typeof tr?tr:String(tr)}function _initializerWarningHelper(te,tr){throw Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(te,tr,ti,ts){ti&&Object.defineProperty(te,tr,{enumerable:ti.enumerable,configurable:ti.configurable,writable:ti.writable,value:ti.initializer?ti.initializer.call(ts):void 0})}function _applyDecoratedDescriptor(te,tr,ti,ts,tn){var ta={};return Object.keys(ts).forEach(function(te){ta[te]=ts[te]}),ta.enumerable=!!ta.enumerable,ta.configurable=!!ta.configurable,("value"in ta||ta.initializer)&&(ta.writable=!0),ta=ti.slice().reverse().reduce(function(ti,ts){return ts(te,tr,ti)||ti},ta),tn&&void 0!==ta.initializer&&(ta.value=ta.initializer?ta.initializer.call(tn):void 0,ta.initializer=void 0),void 0===ta.initializer&&(Object.defineProperty(te,tr,ta),ta=null),ta}__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{LottiePlayer:function(){return LottiePlayer},PlayMode:function(){return PlayMode},PlayerEvents:function(){return PlayerEvents},PlayerState:function(){return PlayerState},parseSrc:function(){return parseSrc}}),_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(te){return this._invoke("next",te)},_AsyncGenerator.prototype.throw=function(te){return this._invoke("throw",te)},_AsyncGenerator.prototype.return=function(te){return this._invoke("return",te)};var id=0;function _classPrivateFieldLooseKey(te){return"__private_"+id+++"_"+te}function _classPrivateFieldLooseBase(te,tr){if(!Object.prototype.hasOwnProperty.call(te,tr))throw TypeError("attempted to use private field on non-instance");return te}function _classPrivateFieldGet(te,tr){return _classApplyDescriptorGet(te,_classExtractFieldDescriptor(te,tr,"get"))}function _classPrivateFieldSet(te,tr,ti){return _classApplyDescriptorSet(te,_classExtractFieldDescriptor(te,tr,"set"),ti),ti}function _classPrivateFieldDestructureSet(te,tr){return _classApplyDescriptorDestructureSet(te,_classExtractFieldDescriptor(te,tr,"set"))}function _classExtractFieldDescriptor(te,tr,ti){if(!tr.has(te))throw TypeError("attempted to "+ti+" private field on non-instance");return tr.get(te)}function _classStaticPrivateFieldSpecGet(te,tr,ti){return _classCheckPrivateStaticAccess(te,tr),_classCheckPrivateStaticFieldDescriptor(ti,"get"),_classApplyDescriptorGet(te,ti)}function _classStaticPrivateFieldSpecSet(te,tr,ti,ts){return _classCheckPrivateStaticAccess(te,tr),_classCheckPrivateStaticFieldDescriptor(ti,"set"),_classApplyDescriptorSet(te,ti,ts),ts}function _classStaticPrivateMethodGet(te,tr,ti){return _classCheckPrivateStaticAccess(te,tr),ti}function _classStaticPrivateMethodSet(){throw TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(te,tr){return tr.get?tr.get.call(te):tr.value}function _classApplyDescriptorSet(te,tr,ti){if(tr.set)tr.set.call(te,ti);else{if(!tr.writable)throw TypeError("attempted to set read only private field");tr.value=ti}}function _classApplyDescriptorDestructureSet(te,tr){if(tr.set)return"__destrObj"in tr||(tr.__destrObj={set value(r){tr.set.call(te,r)}}),tr.__destrObj;if(!tr.writable)throw TypeError("attempted to set read only private field");return tr}function _classStaticPrivateFieldDestructureSet(te,tr,ti){return _classCheckPrivateStaticAccess(te,tr),_classCheckPrivateStaticFieldDescriptor(ti,"set"),_classApplyDescriptorDestructureSet(te,ti)}function _classCheckPrivateStaticAccess(te,tr){if(te!==tr)throw TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(te,tr){if(void 0===te)throw TypeError("attempted to "+tr+" private static field before its declaration")}function _decorate(te,tr,ti,ts){var tn=_getDecoratorsApi();if(ts)for(var ta=0;ta<ts.length;ta++)tn=ts[ta](tn);var to=tr(function(te){tn.initializeInstanceElements(te,th.elements)},ti),th=tn.decorateClass(_coalesceClassElements(to.d.map(_createElementDescriptor)),te);return tn.initializeClassElements(to.F,th.elements),tn.runClassFinishers(to.F,th.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return te};var te={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(te,tr){["method","field"].forEach(function(ti){tr.forEach(function(tr){tr.kind===ti&&"own"===tr.placement&&this.defineClassElement(te,tr)},this)},this)},initializeClassElements:function(te,tr){var ti=te.prototype;["method","field"].forEach(function(ts){tr.forEach(function(tr){var tn=tr.placement;if(tr.kind===ts&&("static"===tn||"prototype"===tn)){var ta="static"===tn?te:ti;this.defineClassElement(ta,tr)}},this)},this)},defineClassElement:function(te,tr){var ti=tr.descriptor;if("field"===tr.kind){var ts=tr.initializer;ti={enumerable:ti.enumerable,writable:ti.writable,configurable:ti.configurable,value:void 0===ts?void 0:ts.call(te)}}Object.defineProperty(te,tr.key,ti)},decorateClass:function(te,tr){var ti=[],ts=[],tn={static:[],prototype:[],own:[]};if(te.forEach(function(te){this.addElementPlacement(te,tn)},this),te.forEach(function(te){if(!_hasDecorators(te))return ti.push(te);var tr=this.decorateElement(te,tn);ti.push(tr.element),ti.push.apply(ti,tr.extras),ts.push.apply(ts,tr.finishers)},this),!tr)return{elements:ti,finishers:ts};var ta=this.decorateConstructor(ti,tr);return ts.push.apply(ts,ta.finishers),ta.finishers=ts,ta},addElementPlacement:function(te,tr,ti){var ts=tr[te.placement];if(!ti&&-1!==ts.indexOf(te.key))throw TypeError("Duplicated element ("+te.key+")");ts.push(te.key)},decorateElement:function(te,tr){for(var ti=[],ts=[],tn=te.decorators,ta=tn.length-1;ta>=0;ta--){var to=tr[te.placement];to.splice(to.indexOf(te.key),1);var th=this.fromElementDescriptor(te),tl=this.toElementFinisherExtras((0,tn[ta])(th)||th);te=tl.element,this.addElementPlacement(te,tr),tl.finisher&&ts.push(tl.finisher);var tp=tl.extras;if(tp){for(var tc=0;tc<tp.length;tc++)this.addElementPlacement(tp[tc],tr);ti.push.apply(ti,tp)}}return{element:te,finishers:ts,extras:ti}},decorateConstructor:function(te,tr){for(var ti=[],ts=tr.length-1;ts>=0;ts--){var tn=this.fromClassDescriptor(te),ta=this.toClassDescriptor((0,tr[ts])(tn)||tn);if(void 0!==ta.finisher&&ti.push(ta.finisher),void 0!==ta.elements){te=ta.elements;for(var to=0;to<te.length-1;to++)for(var th=to+1;th<te.length;th++)if(te[to].key===te[th].key&&te[to].placement===te[th].placement)throw TypeError("Duplicated element ("+te[to].key+")")}}return{elements:te,finishers:ti}},fromElementDescriptor:function(te){var tr={kind:te.kind,key:te.key,placement:te.placement,descriptor:te.descriptor};return Object.defineProperty(tr,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===te.kind&&(tr.initializer=te.initializer),tr},toElementDescriptors:function(te){if(void 0!==te)return _toArray(te).map(function(te){var tr=this.toElementDescriptor(te);return this.disallowProperty(te,"finisher","An element descriptor"),this.disallowProperty(te,"extras","An element descriptor"),tr},this)},toElementDescriptor:function(te){var tr=String(te.kind);if("method"!==tr&&"field"!==tr)throw TypeError('An element descriptor\'s .kind property must be either "method" or "f
1ield", but a decorator created an element descriptor with .kind "'+tr+'"');var ti=_toPropertyKey(te.key),ts=String(te.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 tn=te.descriptor;this.disallowProperty(te,"elements","An element descriptor");var ta={kind:tr,key:ti,placement:ts,descriptor:Object.assign({},tn)};return"field"!==tr?this.disallowProperty(te,"initializer","A method descriptor"):(this.disallowProperty(tn,"get","The property descriptor of a field descriptor"),this.disallowProperty(tn,"set","The property descriptor of a field descriptor"),this.disallowProperty(tn,"value","The property descriptor of a field descriptor"),ta.initializer=te.initializer),ta},toElementFinisherExtras:function(te){return{element:this.toElementDescriptor(te),finisher:_optionalCallableProperty(te,"finisher"),extras:this.toElementDescriptors(te.extras)}},fromClassDescriptor:function(te){var tr={kind:"class",elements:te.map(this.fromElementDescriptor,this)};return Object.defineProperty(tr,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),tr},toClassDescriptor:function(te){var tr=String(te.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(te,"key","A class descriptor"),this.disallowProperty(te,"placement","A class descriptor"),this.disallowProperty(te,"descriptor","A class descriptor"),this.disallowProperty(te,"initializer","A class descriptor"),this.disallowProperty(te,"extras","A class descriptor");var ti=_optionalCallableProperty(te,"finisher");return{elements:this.toElementDescriptors(te.elements),finisher:ti}},runClassFinishers:function(te,tr){for(var ti=0;ti<tr.length;ti++){var ts=(0,tr[ti])(te);if(void 0!==ts){if("function"!=typeof ts)throw TypeError("Finishers must return a constructor.");te=ts}}return te},disallowProperty:function(te,tr,ti){if(void 0!==te[tr])throw TypeError(ti+" can't have a ."+tr+" property.")}};return te}function _createElementDescriptor(te){var tr,ti=_toPropertyKey(te.key);"method"===te.kind?tr={value:te.value,writable:!0,configurable:!0,enumerable:!1}:"get"===te.kind?tr={get:te.value,configurable:!0,enumerable:!1}:"set"===te.kind?tr={set:te.value,configurable:!0,enumerable:!1}:"field"===te.kind&&(tr={configurable:!0,writable:!0,enumerable:!0});var ts={kind:"field"===te.kind?"field":"method",key:ti,placement:te.static?"static":"field"===te.kind?"own":"prototype",descriptor:tr};return te.decorators&&(ts.decorators=te.decorators),"field"===te.kind&&(ts.initializer=te.value),ts}function _coalesceGetterSetter(te,tr){void 0!==te.descriptor.get?tr.descriptor.get=te.descriptor.get:tr.descriptor.set=te.descriptor.set}function _coalesceClassElements(te){for(var tr=[],r=function(te){return"method"===te.kind&&te.key===tn.key&&te.placement===tn.placement},ti=0;ti<te.length;ti++){var ts,tn=te[ti];if("method"===tn.kind&&(ts=tr.find(r))){if(_isDataDescriptor(tn.descriptor)||_isDataDescriptor(ts.descriptor)){if(_hasDecorators(tn)||_hasDecorators(ts))throw ReferenceError("Duplicated methods ("+tn.key+") can't be decorated.");ts.descriptor=tn.descriptor}else{if(_hasDecorators(tn)){if(_hasDecorators(ts))throw ReferenceError("Decorators can't be placed on different accessors with for the same property ("+tn.key+").");ts.decorators=tn.decorators}_coalesceGetterSetter(tn,ts)}}else tr.push(tn)}return tr}function _hasDecorators(te){return te.decorators&&te.decorators.length}function _isDataDescriptor(te){return void 0!==te&&!(void 0===te.value&&void 0===te.writable)}function _optionalCallableProperty(te,tr){var ti=te[tr];if(void 0!==ti&&"function"!=typeof ti)throw TypeError("Expected '"+tr+"' to be a function");return ti}function _classPrivateMethodGet(te,tr,ti){if(!tr.has(te))throw TypeError("attempted to get private field on non-instance");return ti}function _checkPrivateRedeclaration(te,tr){if(tr.has(te))throw TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldInitSpec(te,tr,ti){_checkPrivateRedeclaration(te,tr),tr.set(te,ti)}function _classPrivateMethodInitSpec(te,tr){_checkPrivateRedeclaration(te,tr),tr.add(te)}function _classPrivateMethodSet(){throw TypeError("attempted to reassign private method")}/*! ***************************************************************************** 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(te,tr){return(_extendStatics=Object.
vendor: 6,451 bytes, line 14
14setPrototypeOf||({__proto__:[]})instanceof Array&&function(te,tr){te.__proto__=tr}||function(te,tr){for(var ti in tr)Object.prototype.hasOwnProperty.call(tr,ti)&&(te[ti]=tr[ti])})(te,tr)};function __extends(te,tr){if("function"!=typeof tr&&null!==tr)throw TypeError("Class extends value "+String(tr)+" is not a constructor or null");function r(){this.constructor=te}_extendStatics(te,tr),te.prototype=null===tr?Object.create(tr):(r.prototype=tr.prototype,new r)}var _assign=function(){return(_assign=Object.assign||function(te){for(var tr,ti=1,ts=arguments.length;ti<ts;ti++)for(var tn in tr=arguments[ti])Object.prototype.hasOwnProperty.call(tr,tn)&&(te[tn]=tr[tn]);return te}).apply(this,arguments)};function __rest(te,tr){var ti={};for(var ts in te)Object.prototype.hasOwnProperty.call(te,ts)&&0>tr.indexOf(ts)&&(ti[ts]=te[ts]);if(null!=te&&"function"==typeof Object.getOwnPropertySymbols){var tn=0;for(ts=Object.getOwnPropertySymbols(te);tn<ts.length;tn++)0>tr.indexOf(ts[tn])&&Object.prototype.propertyIsEnumerable.call(te,ts[tn])&&(ti[ts[tn]]=te[ts[tn]])}return ti}function __decorate(te,tr,ti,ts){var tn,ta=arguments.length,to=ta<3?tr:null===ts?ts=Object.getOwnPropertyDescriptor(tr,ti):ts;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)to=Reflect.decorate(te,tr,ti,ts);else for(var th=te.length-1;th>=0;th--)(tn=te[th])&&(to=(ta<3?tn(to):ta>3?tn(tr,ti,to):tn(tr,ti))||to);return ta>3&&to&&Object.defineProperty(tr,ti,to),to}function __param(te,tr){return function(ti,ts){tr(ti,ts,te)}}function __metadata(te,tr){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(te,tr)}function __awaiter(te,tr,ti,ts){return new(ti||(ti=Promise))(function(tn,ta){function n(te){try{h(ts.next(te))}catch(te){ta(te)}}function o(te){try{h(ts.throw(te))}catch(te){ta(te)}}function h(te){var tr;te.done?tn(te.value):((tr=te.value)instanceof ti?tr:new ti(function(te){te(tr)})).then(n,o)}h((ts=ts.apply(te,tr||[])).next())})}function __generator(te,tr){var ti,ts,tn,ta,to={label:0,sent:function(){if(1&tn[0])throw tn[1];return tn[1]},trys:[],ops:[]};return ta={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(ta[Symbol.iterator]=function(){return this}),ta;function o(ta){return function(th){return function(ta){if(ti)throw TypeError("Generator is already executing.");for(;to;)try{if(ti=1,ts&&(tn=2&ta[0]?ts.return:ta[0]?ts.throw||((tn=ts.return)&&tn.call(ts),0):ts.next)&&!(tn=tn.call(ts,ta[1])).done)return tn;switch(ts=0,tn&&(ta=[2&ta[0],tn.value]),ta[0]){case 0:case 1:tn=ta;break;case 4:return to.label++,{value:ta[1],done:!1};case 5:to.label++,ts=ta[1],ta=[0];continue;case 7:ta=to.ops.pop(),to.trys.pop();continue;default:if(!(tn=(tn=to.trys).length>0&&tn[tn.length-1])&&(6===ta[0]||2===ta[0])){to=0;continue}if(3===ta[0]&&(!tn||ta[1]>tn[0]&&ta[1]<tn[3])){to.label=ta[1];break}if(6===ta[0]&&to.label<tn[1]){to.label=tn[1],tn=ta;break}if(tn&&to.label<tn[2]){to.label=tn[2],to.ops.push(ta);break}tn[2]&&to.ops.pop(),to.trys.pop();continue}ta=tr.call(te,to)}catch(te){ta=[6,te],ts=0}finally{ti=tn=0}if(5&ta[0])throw ta[1];return{value:ta[0]?ta[1]:void 0,done:!0}}([ta,th])}}}var __createBinding=Object.create?function(te,tr,ti,ts){void 0===ts&&(ts=ti),Object.defineProperty(te,ts,{enumerable:!0,get:function(){return tr[ti]}})}:function(te,tr,ti,ts){void 0===ts&&(ts=ti),te[ts]=tr[ti]};function __exportStar(te,tr){for(var ti in te)"default"===ti||Object.prototype.hasOwnProperty.call(tr,ti)||__createBinding(tr,te,ti)}function __values(te){var tr="function"==typeof Symbol&&Symbol.iterator,ti=tr&&te[tr],ts=0;if(ti)return ti.call(te);if(te&&"number"==typeof te.length)return{next:function(){return te&&ts>=te.length&&(te=void 0),{value:te&&te[ts++],done:!te}}};throw TypeError(tr?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(te,tr){var ti="function"==typeof Symbol&&te[Symbol.iterator];if(!ti)return te;var ts,tn,ta=ti.call(te),to=[];try{for(;(void 0===tr||tr-- >0)&&!(ts=ta.next()).done;)to.push(ts.value)}catch(te){tn={error:te}}finally{try{ts&&!ts.done&&(ti=ta.return)&&ti.call(ta)}finally{if(tn)throw tn.error}}return to}function __spread(){for(var te=[],tr=0;tr<arguments.length;tr++)te=te.concat(__read(arguments[tr]));return te}function __spreadArrays(){for(var te=0,tr=0,ti=arguments.length;tr<ti;tr++)te+=arguments[tr].length;var ts=Array(te),tn=0;for(tr=0;tr<ti;tr++)for(var ta=arguments[tr],to=0,th=ta.length;to<th;to++,tn++)ts[tn]=ta[to];return ts}function __spreadArray(te,tr,ti){if(ti||2==arguments.length)for(var ts,tn=0,ta=tr.length;tn<ta;tn++)!ts&&tn in tr||(ts||(ts=Array.prototype.slice.call(tr,0,tn)),ts[tn]=tr[tn]);return te.concat(ts||Array.prototype.slice.call(tr))}function __await(te){return this instanceof __await?(this.v=te,this):new __await(te)}function __asyncGenerator(te,tr,ti){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var ts,tn=ti.apply(te,tr||[]),ta=[];return ts={},n("next"),n("throw"),n("return"),ts[Symbol.asyncIterator]=function(){return this},ts;function n(te){tn[te]&&(ts[te]=function(tr){return new Promise(function(ti,ts){ta.push([te,tr,ti,ts])>1||o(te,tr)})})}function o(te,tr){try{!function(te){te.value instanceof __await?Promise.resolve(te.value.v).then(h,l):p(ta[0][2],te)}(tn[te](tr))}catch(te){p(ta[0][3],te)}}function h(te){o("next",te)}function l(te){o("throw",te)}function p(te,tr){te(tr),ta.shift(),ta.length&&o(ta[0][0],ta[0][1])}}function __asyncDelegator(te){var tr,ti;return tr={},i("next"),i("throw",function(te){throw te}),i("return"),tr[Symbol.iterator]=function(){return this},tr;function i(ts,tn){tr[ts]=te[ts]?function(tr){return(ti=!ti)?{value:__await(te[ts](tr)),done:"return"===ts}:tn?tn(tr):tr}:tn}}function __asyncValues(te){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var tr,ti=te[Symbol.asyncIterator];return ti?ti.call(te):(te=__values(te),tr={},i("next"),i("throw"),i("return"),tr[Symbol.asyncIterator]=function(){return this},tr);function i(ti){tr[ti]=te[ti]&&function(tr){return new Promise(function(ts,tn){!function(te,tr,ti,ts){Promise.resolve(ts).then(function(tr){te({value:tr,done:ti})},tr)}(ts,tn,(tr=te[ti](tr)).done,tr.value)})}}}function __makeTemplateObject(te,tr){return Object.defineProperty?Object.defineProperty(te,"raw",{value:tr}):te.raw=tr,te}var __setModuleDefault=Object.create?function(te,tr){Object.defineProperty(te,"default",{enumerable:!0,value:tr})}:function(te,tr){te.default=tr};
14function __importStar(te){if(te&&te.__esModule)return te;var tr={};if(null!=te)for(var ti in te)"default"!==ti&&Object.prototype.hasOwnProperty.call(te,ti)&&__createBinding(tr,te,ti);return __setModuleDefault(tr,te),tr}function __importDefault(te){return te&&te.__esModule?te:{default:te}}function __classPrivateFieldGet(te,tr,ti,ts){if("a"===ti&&!ts)throw TypeError("Private accessor was defined without a getter");if("function"==typeof tr?te!==tr||!ts:!tr.has(te))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ti?ts:"a"===ti?ts.call(te):ts?ts.value:tr.get(te)}function __classPrivateFieldSet(te,tr,ti,ts,tn){if("m"===ts)throw TypeError("Private method is not writable");if("a"===ts&&!tn)throw TypeError("Private accessor was defined without a setter");if("function"==typeof tr?te!==tr||!tn:!tr.has(te))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===ts?tn.call(te,ti):tn?tn.value=ti:tr.set(te,ti),ti;/** 15 * @license 16 * Copyright 2019 Google LLC 17 * SPDX-License-Identifier: BSD-3-Clause 18 */}var t$3=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;let s$3=class s$3{constructor(te,tr){if(this._$cssResult$=!0,tr!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=te}get styleSheet(){var te=n$5.get(this.cssText);return t$3&&void 0===te&&(n$5.set(this.cssText,te=new CSSStyleSheet),te.replaceSync(this.cssText)),te}toString(){return this.cssText}};var REACT_ELEMENT_TYPE,s$2,t$2,o$5=te=>new s$3("string"==typeof te?te:te+"",e$8),r$3=function(te){for(var tr=arguments.length,ti=Array(tr>1?tr-1:0),ts=1;ts<tr;ts++)ti[ts-1]=arguments[ts];var tn=1===te.length?te[0]:ti.reduce((tr,ti,ts)=>tr+(te=>{if(!0===te._$cssResult$)return te.cssText;if("number"==typeof te)return te;throw Error("Value passed to 'css' function must be a 'css' function result: "+te+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(ti)+te[ts+1],te[0]);return new s$3(tn,e$8)},i$3=(te,tr)=>{t$3?te.adoptedStyleSheets=tr.map(te=>te instanceof CSSStyleSheet?te:te.styleSheet):tr.forEach(tr=>{var ti=document.createElement("style"),ts=window.litNonce;void 0!==ts&&ti.setAttribute("nonce",ts),ti.textContent=tr.cssText,te.appendChild(ti)})},S$1=t$3?te=>te:te=>te instanceof CSSStyleSheet?(te=>{var tr="";for(var ti of te.cssRules)tr+=ti.cssText;return o$5(tr)})(te):te,e$7=window.trustedTypes,r$2=e$7?e$7.emptyScript:"",h$2=window.reactiveElementPolyfillSupport,o$4={toAttribute(te,tr){switch(tr){case Boolean:te=te?r$2:null;break;case Object:case Array:te=null==te?te:JSON.stringify(te)}return te},fromAttribute(te,tr){var ti=te;switch(tr){case Boolean:ti=null!==te;break;case Number:ti=null===te?null:Number(te);break;case Object:case Array:try{ti=JSON.parse(te)}catch(te){ti=null}}return ti}},n$4=(te,tr)=>tr!==te&&(tr==tr||te==te),l$3={attribute:!0,type:String,converter:o$4,reflect:!1,hasChanged:n$4};let a$1=class a$1 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(te){var tr;null!==(tr=this.l)&&void 0!==tr||(this.l=[]),this.l.push(te)}static get observedAttributes(){this.finalize();var te=[];return this.elementProperties.forEach((tr,ti)=>{var ts=this._$Eh(ti,tr);void 0!==ts&&(this._$Eu.set(ts,ti),te.push(ts))}),te}static createProperty(te){var tr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l$3;if(tr.state&&(tr.attribute=!1),this.finalize(),this.elementProperties.set(te,tr),!tr.noAccessor&&!this.prototype.hasOwnProperty(te)){var ti="symbol"==typeof te?Symbol():"__"+te,ts=this.getPropertyDescriptor(te,ti,tr);void 0!==ts&&Object.defineProperty(this.prototype,te,ts)}}static getPropertyDescriptor(te,tr,ti){return{get(){return this[tr]},set(ts){var tn=this[te];this[tr]=ts,this.requestUpdate(te,tn,ti)},configurable:!0,enumerable:!0}}static getPropertyOptions(te){return this.elementProperties.get(te)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var te=Object.getPrototypeOf(this);if(te.finalize(),this.elementProperties=new Map(te.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){var tr=this.properties;for(var ti of[...Object.getOwnPropertyNames(tr),...Object.getOwnPropertySymbols(tr)])this.createProperty(ti,tr[ti])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(te){var tr=[];if(Array.isArray(te))for(var ti of new Set(te.flat(1/0).reverse()))tr.unshift(S$1(ti)
vendor: 10,641 bytes, line 18
18);else void 0!==te&&tr.push(S$1(te));return tr}static _$Eh(te,tr){var ti=tr.attribute;return!1===ti?void 0:"string"==typeof ti?ti:"string"==typeof te?te.toLowerCase():void 0}o(){var te;this._$Ep=new Promise(te=>this.enableUpdating=te),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(te=this.constructor.l)||void 0===te||te.forEach(te=>te(this))}addController(te){var tr,ti;(null!==(tr=this._$Eg)&&void 0!==tr?tr:this._$Eg=[]).push(te),void 0!==this.renderRoot&&this.isConnected&&(null===(ti=te.hostConnected)||void 0===ti||ti.call(te))}removeController(te){var tr;null===(tr=this._$Eg)||void 0===tr||tr.splice(this._$Eg.indexOf(te)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((te,tr)=>{this.hasOwnProperty(tr)&&(this._$Et.set(tr,this[tr]),delete this[tr])})}createRenderRoot(){var te,tr=null!==(te=this.shadowRoot)&&void 0!==te?te:this.attachShadow(this.constructor.shadowRootOptions);return i$3(tr,this.constructor.elementStyles),tr}connectedCallback(){var te;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(te=this._$Eg)||void 0===te||te.forEach(te=>{var tr;return null===(tr=te.hostConnected)||void 0===tr?void 0:tr.call(te)})}enableUpdating(te){}disconnectedCallback(){var te;null===(te=this._$Eg)||void 0===te||te.forEach(te=>{var tr;return null===(tr=te.hostDisconnected)||void 0===tr?void 0:tr.call(te)})}attributeChangedCallback(te,tr,ti){this._$AK(te,ti)}_$ES(te,tr){var ti,ts,tn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l$3,ta=this.constructor._$Eh(te,tn);if(void 0!==ta&&!0===tn.reflect){var to=(null!==(ts=null===(ti=tn.converter)||void 0===ti?void 0:ti.toAttribute)&&void 0!==ts?ts:o$4.toAttribute)(tr,tn.type);this._$Ei=te,null==to?this.removeAttribute(ta):this.setAttribute(ta,to),this._$Ei=null}}_$AK(te,tr){var ti,ts,tn,ta=this.constructor,to=ta._$Eu.get(te);if(void 0!==to&&this._$Ei!==to){var th=ta.getPropertyOptions(to),tl=th.converter,tp=null!==(tn=null!==(ts=null===(ti=tl)||void 0===ti?void 0:ti.fromAttribute)&&void 0!==ts?ts:"function"==typeof tl?tl:null)&&void 0!==tn?tn:o$4.fromAttribute;this._$Ei=to,this[to]=tp(tr,th.type),this._$Ei=null}}requestUpdate(te,tr,ti){var ts=!0;void 0!==te&&(((ti=ti||this.constructor.getPropertyOptions(te)).hasChanged||n$4)(this[te],tr)?(this._$AL.has(te)||this._$AL.set(te,tr),!0===ti.reflect&&this._$Ei!==te&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(te,ti))):ts=!1),!this.isUpdatePending&&ts&&(this._$Ep=this._$EC())}_$EC(){var te=this;return _asyncToGenerator(function*(){te.isUpdatePending=!0;try{yield te._$Ep}catch(te){Promise.reject(te)}var tr=te.scheduleUpdate();return null!=tr&&(yield tr),!te.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var te;if(this.isUpdatePending){this.hasUpdated,this._$Et&&(this._$Et.forEach((te,tr)=>this[tr]=te),this._$Et=void 0);var tr=!1,ti=this._$AL;try{(tr=this.shouldUpdate(ti))?(this.willUpdate(ti),null===(te=this._$Eg)||void 0===te||te.forEach(te=>{var tr;return null===(tr=te.hostUpdate)||void 0===tr?void 0:tr.call(te)}),this.update(ti)):this._$EU()}catch(te){throw tr=!1,this._$EU(),te}tr&&this._$AE(ti)}}willUpdate(te){}_$AE(te){var tr;null===(tr=this._$Eg)||void 0===tr||tr.forEach(te=>{var tr;return null===(tr=te.hostUpdated)||void 0===tr?void 0:tr.call(te)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(te)),this.updated(te)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(te){return!0}update(te){void 0!==this._$E_&&(this._$E_.forEach((te,tr)=>this._$ES(tr,this[tr],te)),this._$E_=void 0),this._$EU()}updated(te){}firstUpdated(te){}};a$1.finalized=!0,a$1.elementProperties=new Map,a$1.elementStyles=[],a$1.shadowRootOptions={mode:"open"},null==h$2||h$2({ReactiveElement:a$1}),(null!==(s$2=globalThis.reactiveElementVersions)&&void 0!==s$2?s$2:globalThis.reactiveElementVersions=[]).push("1.2.1");var i$2=globalThis.trustedTypes,s$1=i$2?i$2.createPolicy("lit-html",{createHTML:te=>te}):void 0,e$6="lit$".concat((Math.random()+"").slice(9),"$"),o$3="?"+e$6,n$3="<".concat(o$3,">"),l$2=document,h$1=function(){var te=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l$2.createComment(te)},r$1=te=>null===te||"object"!=typeof te&&"function"!=typeof te,d=Array.isArray,u=te=>{var tr;return d(te)||"function"==typeof(null===(tr=te)||void 0===tr?void 0:tr[Symbol.iterator])},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,a=/>/g,f=/>|[ \n�\r](?:([^\s"'>=/]+)([ \n�\r]*=[ \n�\r]*(?:[^ \n�\r"'`<>=]|("|')|))|$)/g,_=/'/g,m=/"/g,g=/^(?:script|style|textarea)$/i,p=te=>function(tr){for(var ti=arguments.length,ts=Array(ti>1?ti-1:0),tn=1;tn<ti;tn++)ts[tn-1]=arguments[tn];return{_$litType$:te,strings:tr,values:ts}},$=p(1),y=p(2),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),T=new WeakMap,x=(te,tr,ti)=>{var ts,tn,ta=null!==(ts=null==ti?void 0:ti.renderBefore)&&void 0!==ts?ts:tr,to=ta._$litPart$;if(void 0===to){var th=null!==(tn=null==ti?void 0:ti.renderBefore)&&void 0!==tn?tn:null;ta._$litPart$=to=new N(tr.insertBefore(h$1(),th),th,void 0,null!=ti?ti:{})}return to._$AI(te),to},A=l$2.createTreeWalker(l$2,129,null,!1),C=(te,tr)=>{for(var ti,ts=te.length-1,tn=[],ta=2===tr?"<svg>":"",to=c,th=0;th<ts;th++){for(var tl=te[th],tp=void 0,tc=void 0,tf=-1,tu=0;tu<tl.length&&(to.lastIndex=tu,null!==(tc=to.exec(tl)));)tu=to.lastIndex,to===c?"!--"===tc[1]?to=v:void 0!==tc[1]?to=a:void 0!==tc[2]?(g.test(tc[2])&&(ti=RegExp("</"+tc[2],"g")),to=f):void 0!==tc[3]&&(to=f):to===f?">"===tc[0]?(to=null!=ti?ti:c,tf=-1):void 0===tc[1]?tf=-2:(tf=to.lastIndex-tc[2].length,tp=tc[1],to=void 0===tc[3]?f:'"'===tc[3]?m:_):to===m||to===_?to=f:to===v||to===a?to=c:(to=f,ti=void 0);var td=to===f&&te[th+1].startsWith("/>")?" ":"";ta+=to===c?tl+n$3:tf>=0?(tn.push(tp),tl.slice(0,tf)+"$lit$"+tl.slice(tf)+e$6+td):tl+e$6+(-2===tf?(tn.push(void 0),th):td)}var tm=ta+(te[ts]||"<?>")+(2===tr?"</svg>":"");if(!Array.isArray(te)||!te.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s$1?s$1.createHTML(tm):tm,tn]};let E=class E{constructor(te,tr){var ti,{strings:ts,_$litType$:tn}=te;this.parts=[];var ta=0,to=0,th=ts.length-1,tl=this.parts,[tp,tc]=C(ts,tn);if(this.el=E.createElement(tp,tr),A.currentNode=this.el.content,2===tn){var tf=this.el.content,tu=tf.firstChild;tu.remove(),tf.append(...tu.childNodes)}for(;null!==(ti=A.nextNode())&&tl.length<th;){if(1===ti.nodeType){if(ti.hasAttributes()){var td=[];for(var tm of ti.getAttributeNames())if(tm.endsWith("$lit$")||tm.startsWith(e$6)){var ty=tc[to++];if(td.push(tm),void 0!==ty){var tg=ti.getAttribute(ty.toLowerCase()+"$lit$").split(e$6),tv=/([.?@])?(.*)/.exec(ty);tl.push({type:1,index:ta,name:tv[2],strings:tg,ctor:"."===tv[1]?M:"?"===tv[1]?H:"@"===tv[1]?I:S})}else tl.push({type:6,index:ta})}for(var tb of td)ti.removeAttribute(tb)}if(g.test(ti.tagName)){var t_=ti.textContent.split(e$6),tS=t_.length-1;if(tS>0){ti.textContent=i$2?i$2.emptyScript:"";for(var tE=0;tE<tS;tE++)ti.append(t_[tE],h$1()),A.nextNode(),tl.push({type:2,index:++ta});ti.append(t_[tS],h$1())}}}else if(8===ti.nodeType){if(ti.data===o$3)tl.push({type:2,index:ta});else for(var tP=-1;-1!==(tP=ti.data.indexOf(e$6,tP+1));)tl.push({type:7,index:ta}),tP+=e$6.length-1}ta++}}static createElement(te,tr){var ti=l$2.createElement("template");return ti.innerHTML=te,ti}};function P(te,tr){var ti,ts,tn,ta,to=arguments.length>2&&void 0!==arguments[2]?arguments[2]:te,th=arguments.length>3?arguments[3]:void 0;if(tr===b)return tr;var tl=void 0!==th?null===(ti=to._$Cl)||void 0===ti?void 0:ti[th]:to._$Cu,tp=r$1(tr)?void 0:tr._$litDirective$;return(null==tl?void 0:tl.constructor)!==tp&&(null===(ts=null==tl?void 0:tl._$AO)||void 0===ts||ts.call(tl,!1),void 0===tp?tl=void 0:(tl=new tp(te))._$AT(te,to,th),void 0!==th?(null!==(tn=(ta=to)._$Cl)&&void 0!==tn?tn:ta._$Cl=[])[th]=tl:to._$Cu=tl),void 0!==tl&&(tr=P(te,tl._$AS(te,tr.values),tl,th)),tr}let V=class V{constructor(te,tr){this.v=[],this._$AN=void 0,this._$AD=te,this._$AM=tr}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(te){var tr,{el:{content:ti},parts:ts}=this._$AD,tn=(null!==(tr=null==te?void 0:te.creationScope)&&void 0!==tr?tr:l$2).importNode(ti,!0);A.currentNode=tn;for(var ta=A.nextNode(),to=0,th=0,tl=ts[0];void 0!==tl;){if(to===tl.index){var tp=void 0;2===tl.type?tp=new N(ta,ta.nextSibling,this,te):1===tl.type?tp=new tl.ctor(ta,tl.name,tl.strings,this,te):6===tl.type&&(tp=new L(ta,this,te)),this.v.push(tp),tl=ts[++th]}to!==(null==tl?void 0:tl.index)&&(ta=A.nextNode(),to++)}return tn}m(te){var tr=0;for(var ti of this.v)void 0!==ti&&(void 0!==ti.strings?(ti._$AI(te,ti,tr),tr+=ti.strings.length-2):ti._$AI(te[tr])),tr++}};let N=class N{constructor(te,tr,ti,ts){var tn;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=te,this._$AB=tr,this._$AM=ti,this.options=ts,this._$Cg=null===(tn=null==ts?void 0:ts.isConnected)||void 0===tn||tn}get _$AU(){var te,tr;return null!==(tr=null===(te=this._$AM)||void 0===te?void 0:te._$AU)&&void 0!==tr?tr:this._$Cg}get parentNode(){var te=this._$AA.parentNode,tr=this._$AM;return void 0!==tr&&11===te.nodeType&&(te=tr.parentNode),te}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(te){te=P(this,te,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),r$1(te)?te===w||null==te||""===te?(this._$AH!==w&&this._$AR(),this._$AH=w):te!==this._$AH&&te!==b&&this.$(te):void 0!==te._$litType$?this.T(te):void 0!==te.nodeType?this.S(te):u(te)?this.A(te):this.$(te)}M(te){var tr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._$AB;return this._$AA.parentNode.insertBefore(te,tr)}S(te){this._$AH!==te&&(this._$AR(),this._$AH=this.M(te))}$(te){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=te:this.S(l$2.createTextNode(te)),this._$AH=te}T(te){var tr,{values:ti,_$litType$:ts}=te,tn="number"==typeof ts?this._$AC(te):(void 0===ts.el&&(ts.el=E.createElement(ts.h,this.options)),ts);if((null===(tr=this._$AH)||void 0===tr?void 0:tr._$AD)===tn)this._$AH.m(ti);else{var ta=new V(tn,this),to=ta.p(this.options);ta.m(ti),this.S(to),this._$AH=ta}}_$AC(te){var tr=T.get(te.strings);return void 0===tr&&T.set(te.strings,tr=new E(te)),tr}A(te){d(this._$AH)||(this._$AH=[],this._$AR());var tr,ti=this._$AH,ts=0;for(var tn of te)ts===ti.length?ti.push(tr=new N(this.M(h$1()),this.M(h$1()),this,this.options)):tr=ti[ts],tr._$AI(tn),ts++;ts<ti.length&&(this._$AR(tr&&tr._$AB.nextSibling,ts),ti.length=ts)}_$AR(){var te,tr=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,ti=arguments.length>1?arguments[1]:void 0;
18for(null===(te=this._$AP)||void 0===te||te.call(this,!1,!0,ti);tr&&tr!==this._$AB;){var ts=tr.nextSibling;tr.remove(),tr=ts}}setConnected(te){var tr;void 0===this._$AM&&(this._$Cg=te,null===(tr=this._$AP)||void 0===tr||tr.call(this,te))}};let S=class S{constructor(te,tr,ti,ts,tn){this.type=1,this._$AH=w,this._$AN=void 0,this.element=te,this.name=tr,this._$AM=ts,this.options=tn,ti.length>2||""!==ti[0]||""!==ti[1]?(this._$AH=Array(ti.length-1).fill(new String),this.strings=ti):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(te){var tr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,ti=arguments.length>2?arguments[2]:void 0,ts=arguments.length>3?arguments[3]:void 0,tn=this.strings,ta=!1;if(void 0===tn)(ta=!r$1(te=P(this,te,tr,0))||te!==this._$AH&&te!==b)&&(this._$AH=te);else{var to,th,tl=te;for(te=tn[0],to=0;to<tn.length-1;to++)(th=P(this,tl[ti+to],tr,to))===b&&(th=this._$AH[to]),ta||(ta=!r$1(th)||th!==this._$AH[to]),th===w?te=w:te!==w&&(te+=(null!=th?th:"")+tn[to+1]),this._$AH[to]=th}ta&&!ts&&this.k(te)}k(te){te===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=te?te:"")}};let M=class M extends S{constructor(){super(...arguments),this.type=3}k(te){this.element[this.name]=te===w?void 0:te}};var k=i$2?i$2.emptyScript:"";let H=class H extends S{constructor(){super(...arguments),this.type=4}k(te){te&&te!==w?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}};let I=class I extends S{constructor(te,tr,ti,ts,tn){super(te,tr,ti,ts,tn),this.type=5}_$AI(te){var tr;if((te=null!==(tr=P(this,te,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==tr?tr:w)!==b){var ti=this._$AH,ts=te===w&&ti!==w||te.capture!==ti.capture||te.once!==ti.once||te.passive!==ti.passive,tn=te!==w&&(ti===w||ts);ts&&this.element.removeEventListener(this.name,this,ti),tn&&this.element.addEventListener(this.name,this,te),this._$AH=te}}handleEvent(te){var tr,ti;"function"==typeof this._$AH?this._$AH.call(null!==(ti=null===(tr=this.options)||void 0===tr?void 0:tr.host)&&void 0!==ti?ti:this.element,te):this._$AH.handleEvent(te)}};let L=class L{constructor(te,tr,ti){this.element=te,this.type=6,this._$AN=void 0,this._$AM=tr,this.options=ti}get _$AU(){return this._$AM._$AU}_$AI(te){P(this,te)}};var l$1,o$2,R={},z=window.litHtmlPolyfillSupport;null==z||z(E,N),(null!==(t$2=globalThis.litHtmlVersions)&&void 0!==t$2?t$2:globalThis.litHtmlVersions=[]).push("2.1.2");var r=a$1;let s=class s extends a$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var te,tr,ti=super.createRenderRoot();return null!==(te=(tr=this.renderOptions).renderBefore)&&void 0!==te||(tr.renderBefore=ti.firstChild),ti}update(te){var tr=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(te),this._$Dt=x(tr,this.renderRoot,this.renderOptions)}connectedCallback(){var te;super.connectedCallback(),null===(te=this._$Dt)||void 0===te||te.setConnected(!0)}disconnectedCallback(){var te;super.disconnectedCallback(),null===(te=this._$Dt)||void 0===te||te.setConnected(!1)}render(){return b}};s.finalized=!0,s._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:s});var n$2=globalThis.litElementPolyfillSupport;null==n$2||n$2({LitElement:s});var h={};(null!==(o$2=globalThis.litElementVersions)&&void 0!==o$2?o$2:globalThis.litElementVersions=[]).push("3.1.2");/** 19 * @license 20 * Copyright 2017 Google LLC 21 * SPDX-License-Identifier: BSD-3-Clause 22 */var n$1=te=>tr=>{var ti,ts;return"function"==typeof tr?(ti=te,ts=tr,window.customElements.define(ti,ts),ts):((te,tr)=>{var{kind:ti,elements:ts}=tr;return{kind:ti,elements:ts,finisher(tr){window.customElements.define(te,tr)}}})(te,tr)},i$1=(te,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: 12,091 bytes, lines 22-54
22,finisher(ti){ti.createProperty(tr.key,te)}}:_objectSpread2(_objectSpread2({},tr),{},{finisher(ti){ti.createProperty(tr.key,te)}});function e$5(te){return(tr,ti)=>void 0!==ti?((te,tr,ti)=>{tr.constructor.createProperty(ti,te)})(te,tr,ti):i$1(te,tr)}/** 23 * @license 24 * Copyright 2017 Google LLC 25 * SPDX-License-Identifier: BSD-3-Clause 26 */function t$1(te){return e$5(_objectSpread2(_objectSpread2({},te),{},{state:!0}))}/** 27 * @license 28 * Copyright 2017 Google LLC 29 * SPDX-License-Identifier: BSD-3-Clause 30 */var n,e$4=(te,tr,ti)=>{Object.defineProperty(tr,ti,te)},t=(te,tr)=>({kind:"method",placement:"prototype",key:tr.key,descriptor:te}),o$1=te=>{var{finisher:tr,descriptor:ti}=te;return(te,ts)=>{if(void 0===ts){var tn,ta=null!==(tn=te.originalKey)&&void 0!==tn?tn:te.key,to=null!=ti?{kind:"method",placement:"prototype",key:ta,descriptor:ti(te.key)}:_objectSpread2(_objectSpread2({},te),{},{key:ta});return null!=tr&&(to.finisher=function(te){tr(te,ta)}),to}var th=te.constructor;void 0!==ti&&Object.defineProperty(te,ts,ti(ts)),null==tr||tr(th,ts)}};/** 31 * @license 32 * Copyright 2017 Google LLC 33 * SPDX-License-Identifier: BSD-3-Clause 34 */function e$3(te){return o$1({finisher:(tr,ti)=>{Object.assign(tr.prototype[ti],te)}})}/** 35 * @license 36 * Copyright 2017 Google LLC 37 * SPDX-License-Identifier: BSD-3-Clause 38 */function i(te,tr){return o$1({descriptor:ti=>{var ts={get(){var tr,ti;return null!==(ti=null===(tr=this.renderRoot)||void 0===tr?void 0:tr.querySelector(te))&&void 0!==ti?ti:null},enumerable:!0,configurable:!0};if(tr){var tn="symbol"==typeof ti?Symbol():"__"+ti;ts.get=function(){var tr,ti;return void 0===this[tn]&&(this[tn]=null!==(ti=null===(tr=this.renderRoot)||void 0===tr?void 0:tr.querySelector(te))&&void 0!==ti?ti:null),this[tn]}}return ts}})}/** 39 * @license 40 * Copyright 2017 Google LLC 41 * SPDX-License-Identifier: BSD-3-Clause 42 */function e$2(te){return o$1({descriptor:tr=>({get(){var tr,ti;return null!==(ti=null===(tr=this.renderRoot)||void 0===tr?void 0:tr.querySelectorAll(te))&&void 0!==ti?ti:[]},enumerable:!0,configurable:!0})})}/** 43 * @license 44 * Copyright 2017 Google LLC 45 * SPDX-License-Identifier: BSD-3-Clause 46 */function e$1(te){return o$1({descriptor:tr=>({get(){var tr=this;return _asyncToGenerator(function*(){var ti;return yield tr.updateComplete,null===(ti=tr.renderRoot)||void 0===ti?void 0:ti.querySelector(te)})()},enumerable:!0,configurable:!0})})}/** 47 * @license 48 * Copyright 2021 Google LLC 49 * SPDX-License-Identifier: BSD-3-Clause 50 */var e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(te,tr)=>te.assignedElements(tr):(te,tr)=>te.assignedNodes(tr).filter(te=>te.nodeType===Node.ELEMENT_NODE);function l(te){var{slot:tr,selector:ti}=null!=te?te:{};return o$1({descriptor:ts=>({get(){var ts,tn="slot"+(tr?"[name=".concat(tr,"]"):":not([name])"),ta=null===(ts=this.renderRoot)||void 0===ts?void 0:ts.querySelector(tn),to=null!=ta?e(ta,te):[];return ti?to.filter(te=>te.matches(ti)):to},enumerable:!0,configurable:!0})})}/** 51 * @license 52 * Copyright 2017 Google LLC 53 * SPDX-License-Identifier: BSD-3-Clause 54 */function o(te,tr,ti){var ts,tn=te;return"object"==typeof te?(tn=te.slot,ts=te):ts={flatten:tr},ti?l({slot:tn,flatten:tr,selector:ti}):o$1({descriptor:te=>({get(){var te,tr,ti="slot"+(tn?"[name=".concat(tn,"]"):":not([name])"),ta=null===(te=this.renderRoot)||void 0===te?void 0:te.querySelector(ti);return null!==(tr=null==ta?void 0:ta.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 getDefaultExportFromCjs(te){return te&&te.__esModule&&Object.prototype.hasOwnProperty.call(te,"default")?te.default:te}function getDefaultExportFromNamespaceIfPresent(te){return te&&Object.prototype.hasOwnProperty.call(te,"default")?te.default:te}function getDefaultExportFromNamespaceIfNotNamed(te){return te&&Object.prototype.hasOwnProperty.call(te,"default")&&1===Object.keys(te).length?te.default:te}function getAugmentedNamespace(te){if(te.__esModule)return te;var tr=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(te).forEach(function(ti){var ts=Object.getOwnPropertyDescriptor(te,ti);Object.defineProperty(tr,ti,ts.get?ts:{enumerable:!0,get:function(){return te[ti]}})}),tr}function commonjsRequire(te){throw Error('Could not dynamically require "'+te+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lottie$1={exports:{}};!function(module,exports){var factory;"undefined"!=typeof navigator&&(factory=function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(te){_useWebWorker=!!te},getWebWorker=function(){return _useWebWorker},setLocationHref=function(te){locationHref=te},getLocationHref=function(){return locationHref};function createTag(te){return document.createElement(te)}function extendPrototype(te,tr){var ti,ts,tn=te.length;for(ti=0;ti<tn;ti+=1)for(var ta in ts=te[ti].prototype)Object.prototype.hasOwnProperty.call(ts,ta)&&(tr.prototype[ta]=ts[ta])}function getDescriptor(te,tr){return Object.getOwnPropertyDescriptor(te,tr)}function createProxyFunction(te){function e(){}return e.prototype=te,e}var audioControllerFactory=function(){function t(te){this.audios=[],this.audioFactory=te,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(te){this.audios.push(te)},pause:function(){var te,tr=this.audios.length;for(te=0;te<tr;te+=1)this.audios[te].pause()},resume:function(){var te,tr=this.audios.length;for(te=0;te<tr;te+=1)this.audios[te].resume()},setRate:function(te){var tr,ti=this.audios.length;for(tr=0;tr<ti;tr+=1)this.audios[tr].setRate(te)},createAudio:function(te){return this.audioFactory?this.audioFactory(te):window.Howl?new window.Howl({src:[te]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(te){this.audioFactory=te},setVolume:function(te){this._volume=te,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var te,tr=this.audios.length;for(te=0;te<tr;te+=1)this.audios[te].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(te,tr){var ti,ts=0,tn=[];switch(te){case"int16":case"uint8c":ti=1;break;default:ti=1.1}for(ts=0;ts<tr;ts+=1)tn.push(ti);return tn}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(te,tr){return"float32"===te?new Float32Array(tr):"int16"===te?new Int16Array(tr):"uint8c"===te?new Uint8ClampedArray(tr):t(te,tr)}:t}();function createSizedArray(te){return Array.apply(null,{length:te})}function _typeof$6(te){return(_typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}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 te,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"],ti=tr.length;for(te=0;te<ti;te+=1)BMMath[tr[te]]=Math[tr[te]]})(),BMMath.random=Math.random,BMMath.abs=function(te){if("object"===_typeof$6(te)&&te.length){var tr,ti=createSizedArray(te.length),ts=te.length;for(tr=0;tr<ts;tr+=1)ti[tr]=Math.abs(te[tr]);return ti}return Math.abs(te)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(te){_shouldRoundValues=!!te}function bmRnd(te){return _shouldRoundValues?Math.round(te):te}function styleDiv(te){te.style.position="absolute",te.style.top=0,te.style.left=0,te.style.display="block",te.style.transformOrigin="0 0",te.style.webkitTransformOrigin="0 0",te.style.backfaceVisibility="visible",te.style.webkitBackfaceVisibility="visible",te.style.transformStyle="preserve-3d",te.style.webkitTransformStyle="preserve-3d",te.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(te,tr,ti,ts){this.type=te,this.currentTime=tr,this.totalTime=ti,this.direction=ts<0?-1:1}function BMCompleteEvent(te,tr){this.type=te,this.direction=tr<0?-1:1}function BMCompleteLoopEvent(te,tr,ti,ts){this.type=te,this.currentLoop=ti,this.totalLoops=tr,this.direction=ts<0?-1:1}function BMSegmentStartEvent(te,tr,ti){this.type=te,this.firstFrame=tr,this.totalFrames=ti}function BMDestroyEvent(te,tr){this.type=te,this.target=tr}function BMRenderFrameErrorEvent(te,tr){this.type="renderFrameError",this.nativeError=te,this.currentTime=tr}function BMConfigErrorEvent(te){this.type="configError",this.nativeError=te}function BMAnimationConfigErrorEvent(te,tr){this.type=te,this.nativeError=tr}var _count,createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)});function HSVtoRGB(te,tr,ti){var ts,tn,ta,to,th,tl,tp,tc;switch(tl=ti*(1-tr),tp=ti*(1-(th=6*te-(to=Math.floor(6*te)))*tr),tc=ti*(1-(1-th)*tr),to%6){case 0:ts=ti,tn=tc,ta=tl;break;case 1:ts=tp,tn=ti,ta=tl;break;case 2:ts=tl,tn=ti,ta=tc;break;case 3:ts=tl,tn=tp,ta=ti;break;case 4:ts=tc,tn=tl,ta=ti;break;case 5:ts=ti,tn=tl,ta=tp}return[ts,tn,ta]}function RGBtoHSV(te,tr,ti){var ts,tn=Math.max(te,tr,ti),ta=Math.min(te,tr,ti),to=tn-ta,th=0===tn?0:to/tn,tl=tn/255;switch(tn){case ta:ts=0;break;case te:ts=(tr-ti+to*(tr<ti?6:0))/(6*to);break;case tr:ts=(ti-te+2*to)/(6*to);break;case ti:ts=(te-tr+4*to)/(6*to)}return[ts,th,tl]}function addSaturationToRGB(te,tr){var ti=RGBtoHSV(255*te[0],255*te[1],255*te[2]);return ti[1]+=tr,ti[1]>1?ti[1]=1:ti[1]<=0&&(ti[1]=0),HSVtoRGB(ti[0],ti[1],ti[2])}function addBrightnessToRGB(te,tr){var ti=RGBtoHSV(255*te[0],255*te[1],255*te[2]);return ti[2]+=tr,ti[2]>1?ti[2]=1:ti[2]<0&&(ti[2]=0),HSVtoRGB(ti[0],ti[1],ti[2])}function addHueToRGB(te,tr){var ti=RGBtoHSV(255*te[0],255*te[1],255*te[2]);return ti[0]+=tr/360,ti[0]>1?ti[0]-=1:ti[0]<0&&(ti[0]+=1),HSVtoRGB(ti[0],ti[1],ti[2])}var rgbToHex=function(){var te,tr,ti=[];for(te=0;te<256;te+=1)tr=te.toString(16),ti[te]=1===tr.length?"0"+tr:tr;return function(te,tr,ts){return te<0&&(te=0),tr<0&&(tr=0),ts<0&&(ts=0),"#"+ti[te]+ti[tr]+ti[ts]}}(),setSubframeEnabled=function(te){subframeEnabled=!!te},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(te){expressionsPlugin=te},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(te){expressionsInterfaces=te},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(te){defaultCurveSegments=te},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(te){idPrefix$1=te},getIdPrefix=function(){return idPrefix$1};function createNS(te){return document.createElementNS(svgNS,te)}function _typeof$5(te){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}var dataManager=function(){var te,tr,ti=1,ts=[],tn={onmessage:function(){},postMessage:function(tr){te({data:tr})}},ta={postMessage:function(te){tn.onmessage({data:te})}};function a(){tr||((tr=function(tr){if(window.Worker&&window.Blob&&getWebWorker()){var ti=new Blob(["var _workerSelf = self;
54 self.onmessage = ",tr.toString()],{type:"text/javascript"}),ts=URL.createObjectURL(ti);return new Worker(ts)}return te=tr,tn}(function(te){if(ta.dataManager||(ta.dataManager=function(){function t(te,tr){var ti,ts,tn,ta,to,th,tl=te.length;for(ts=0;ts<tl;ts+=1)if("ks"in(ti=te[ts])&&!ti.completed){if(ti.completed=!0,ti.hasMask){var tp=ti.masksProperties;for(ta=tp.length,tn=0;tn<ta;tn+=1)if(tp[tn].pt.k.i)i(tp[tn].pt.k);else for(th=tp[tn].pt.k.length,to=0;to<th;to+=1)tp[tn].pt.k[to].s&&i(tp[tn].pt.k[to].s[0]),tp[tn].pt.k[to].e&&i(tp[tn].pt.k[to].e[0])}0===ti.ty?(ti.layers=e(ti.refId,tr),t(ti.layers,tr)):4===ti.ty?r(ti.shapes):5===ti.ty&&c(ti)}}function e(te,tr){var ti=function(te,tr){for(var ti=0,ts=tr.length;ti<ts;){if(tr[ti].id===te)return tr[ti];ti+=1}return null}(te,tr);return ti?ti.layers.__used?JSON.parse(JSON.stringify(ti.layers)):(ti.layers.__used=!0,ti.layers):null}function r(te){var tr,ti,ts;for(tr=te.length-1;tr>=0;tr-=1)if("sh"===te[tr].ty){if(te[tr].ks.k.i)i(te[tr].ks.k);else for(ts=te[tr].ks.k.length,ti=0;ti<ts;ti+=1)te[tr].ks.k[ti].s&&i(te[tr].ks.k[ti].s[0]),te[tr].ks.k[ti].e&&i(te[tr].ks.k[ti].e[0])}else"gr"===te[tr].ty&&r(te[tr].it)}function i(te){var tr,ti=te.i.length;for(tr=0;tr<ti;tr+=1)te.i[tr][0]+=te.v[tr][0],te.i[tr][1]+=te.v[tr][1],te.o[tr][0]+=te.v[tr][0],te.o[tr][1]+=te.v[tr][1]}function s(te,tr){var ti=tr?tr.split("."):[100,100,100];return te[0]>ti[0]||!(ti[0]>te[0])&&(te[1]>ti[1]||!(ti[1]>te[1])&&(te[2]>ti[2]||!(ti[2]>te[2])&&null))}var te,tr=function(){var te=[4,4,14];function e(te){var tr,ti,ts,tn=te.length;for(tr=0;tr<tn;tr+=1)5===te[tr].ty&&(ts=void 0,ts=(ti=te[tr]).t.d,ti.t.d={k:[{s:ts,t:0}]})}return function(tr){if(s(te,tr.v)&&(e(tr.layers),tr.assets)){var ti,ts=tr.assets.length;for(ti=0;ti<ts;ti+=1)tr.assets[ti].layers&&e(tr.assets[ti].layers)}}}(),ti=(te=[4,7,99],function(tr){if(tr.chars&&!s(te,tr.v)){var ti,ts=tr.chars.length;for(ti=0;ti<ts;ti+=1){var tn=tr.chars[ti];tn.data&&tn.data.shapes&&(r(tn.data.shapes),tn.data.ip=0,tn.data.op=99999,tn.data.st=0,tn.data.sr=1,tn.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}},tr.chars[ti].t||(tn.data.shapes.push({ty:"no"}),tn.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"})))}}}),ts=function(){var te=[5,7,15];function e(te){var tr,ti,ts=te.length;for(tr=0;tr<ts;tr+=1)5===te[tr].ty&&(ti=void 0,"number"==typeof(ti=te[tr].t.p).a&&(ti.a={a:0,k:ti.a}),"number"==typeof ti.p&&(ti.p={a:0,k:ti.p}),"number"==typeof ti.r&&(ti.r={a:0,k:ti.r}))}return function(tr){if(s(te,tr.v)&&(e(tr.layers),tr.assets)){var ti,ts=tr.assets.length;for(ti=0;ti<ts;ti+=1)tr.assets[ti].layers&&e(tr.assets[ti].layers)}}}(),tn=function(){var te=[4,1,9];function e(te){var tr,ti,ts,tn=te.length;for(tr=0;tr<tn;tr+=1)if("gr"===te[tr].ty)e(te[tr].it);else if("fl"===te[tr].ty||"st"===te[tr].ty){if(te[tr].c.k&&te[tr].c.k[0].i)for(ts=te[tr].c.k.length,ti=0;ti<ts;ti+=1)te[tr].c.k[ti].s&&(te[tr].c.k[ti].s[0]/=255,te[tr].c.k[ti].s[1]/=255,te[tr].c.k[ti].s[2]/=255,te[tr].c.k[ti].s[3]/=255),te[tr].c.k[ti].e&&(te[tr].c.k[ti].e[0]/=255,te[tr].c.k[ti].e[1]/=255,te[tr].c.k[ti].e[2]/=255,te[tr].c.k[ti].e[3]/=255);else te[tr].c.k[0]/=255,te[tr].c.k[1]/=255,te[tr].c.k[2]/=255,te[tr].c.k[3]/=255}}function r(te){var tr,ti=te.length;for(tr=0;tr<ti;tr+=1)4===te[tr].ty&&e(te[tr].shapes)}return function(tr){if(s(te,tr.v)&&(r(tr.layers),tr.assets)){var ti,ts=tr.assets.length;for(ti=0;ti<ts;ti+=1)tr.assets[ti].layers&&r(tr.assets[ti].layers)}}}(),ta=function(){var te=[4,4,18];function e(te){var tr,ti,ts;for(tr=te.length-1;tr>=0;tr-=1)if("sh"===te[tr].ty){if(te[tr].ks.k.i)te[tr].ks.k.c=te[tr].closed;else for(ts=te[tr].ks.k.length,ti=0;ti<ts;ti+=1)te[tr].ks.k[ti].s&&(te[tr].ks.k[ti].s[0].c=te[tr].closed),te[tr].ks.k[ti].e&&(te[tr].ks.k[ti].e[0].c=te[tr].closed)}else"gr"===te[tr].ty&&e(te[tr].it)}function r(te){var tr,ti,ts,tn,ta,to,th=te.length;for(ti=0;ti<th;ti+=1){if((tr=te[ti]).hasMask){var tl=tr.masksProperties;for(tn=tl.length,ts=0;ts<tn;ts+=1)if(tl[ts].pt.k.i)tl[ts].pt.k.c=tl[ts].cl;else for(to=tl[ts].pt.k.length,ta=0;ta<to;ta+=1)tl[ts].pt.k[ta].s&&(tl[ts].pt.k[ta].s[0].c=tl[ts].cl),tl[ts].pt.k[ta].e&&(tl[ts].pt.k[ta].e[0].c=tl[ts].cl)}4===tr.ty&&e(tr.shapes)}}
vendor: 10,930 bytes, line 54
54return function(tr){if(s(te,tr.v)&&(r(tr.layers),tr.assets)){var ti,ts=tr.assets.length;for(ti=0;ti<ts;ti+=1)tr.assets[ti].layers&&r(tr.assets[ti].layers)}}}();function c(te){0===te.t.a.length&&te.t.p}var to={completeData:function(te){te.__complete||(tn(te),tr(te),ti(te),ts(te),ta(te),t(te.layers,te.assets),function(te,tr){if(te){var ti=0,ts=te.length;for(ti=0;ti<ts;ti+=1)1===te[ti].t&&(te[ti].data.layers=e(te[ti].data.refId,tr),t(te[ti].data.layers,tr))}}(te.chars,te.assets),te.__complete=!0)}};return to.checkColors=tn,to.checkChars=ti,to.checkPathProperties=ts,to.checkShapes=ta,to.completeLayers=t,to}()),ta.assetLoader||(ta.assetLoader=function(){function t(te){var tr=te.getResponseHeader("content-type");return tr&&"json"===te.responseType&&-1!==tr.indexOf("json")||te.response&&"object"===_typeof$5(te.response)?te.response:te.response&&"string"==typeof te.response?JSON.parse(te.response):te.responseText?JSON.parse(te.responseText):null}return{load:function(te,tr,ti,ts){var tn,ta=new XMLHttpRequest;try{ta.responseType="json"}catch(te){}ta.onreadystatechange=function(){if(4===ta.readyState){if(200===ta.status)ti(tn=t(ta));else try{tn=t(ta),ti(tn)}catch(te){ts&&ts(te)}}};try{ta.open("GET",te,!0)}catch(ti){ta.open("GET",tr+"/"+te,!0)}ta.send()}}}()),"loadAnimation"===te.data.type)ta.assetLoader.load(te.data.path,te.data.fullPath,function(tr){ta.dataManager.completeData(tr),ta.postMessage({id:te.data.id,payload:tr,status:"success"})},function(){ta.postMessage({id:te.data.id,status:"error"})});else if("complete"===te.data.type){var tr=te.data.animation;ta.dataManager.completeData(tr),ta.postMessage({id:te.data.id,payload:tr,status:"success"})}else"loadData"===te.data.type&&ta.assetLoader.load(te.data.path,te.data.fullPath,function(tr){ta.postMessage({id:te.data.id,payload:tr,status:"success"})},function(){ta.postMessage({id:te.data.id,status:"error"})})})).onmessage=function(te){var tr=te.data,ti=tr.id,tn=ts[ti];ts[ti]=null,"success"===tr.status?tn.onComplete(tr.payload):tn.onError&&tn.onError()})}function n(te,tr){var tn="processId_"+(ti+=1);return ts[tn]={onComplete:te,onError:tr},tn}return{loadAnimation:function(te,ti,ts){a();var tn=n(ti,ts);tr.postMessage({type:"loadAnimation",path:te,fullPath:window.location.origin+window.location.pathname,id:tn})},loadData:function(te,ti,ts){a();var tn=n(ti,ts);tr.postMessage({type:"loadData",path:te,fullPath:window.location.origin+window.location.pathname,id:tn})},completeAnimation:function(te,ti,ts){a();var tn=n(ti,ts);tr.postMessage({type:"complete",animation:te,id:tn})}}}(),ImagePreloader=function(){var te=function(){var te=createTag("canvas");te.width=1,te.height=1;var tr=te.getContext("2d");return tr.fillStyle="rgba(0,0,0,0)",tr.fillRect(0,0,1,1),te}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(te,tr,ti){var ts="";if(te.e)ts=te.p;else if(tr){var tn=te.p;-1!==tn.indexOf("images/")&&(tn=tn.split("/")[1]),ts=tr+tn}else ts=ti+(te.u?te.u:"")+te.p;return ts}function s(te){var tr=0,ti=setInterval((function(){(te.getBBox().width||tr>500)&&(this._imageLoaded(),clearInterval(ti)),tr+=1}).bind(this),50)}function a(te){var tr={assetData:te},ti=i(te,this.assetsPath,this.path);return dataManager.loadData(ti,(function(te){tr.img=te,this._footageLoaded()}).bind(this),(function(){tr.img={},this._footageLoaded()}).bind(this)),tr}function n(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return n.prototype={loadAssets:function(te,tr){this.imagesLoadedCb=tr;var ti,ts=te.length;for(ti=0;ti<ts;ti+=1)te[ti].layers||(te[ti].t&&"seq"!==te[ti].t?3===te[ti].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(te[ti]))):(this.totalImages+=1,this.images.push(this._createImageData(te[ti]))))},setAssetsPath:function(te){this.assetsPath=te||""},setPath:function(te){this.path=te||""},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(te){for(var tr=0,ti=this.images.length;tr<ti;){if(this.images[tr].assetData===te)return this.images[tr].img;tr+=1}return null},createImgData:function(tr){var ti=i(tr,this.assetsPath,this.path),ts=createTag("img");ts.crossOrigin="anonymous",ts.addEventListener("load",this._imageLoaded,!1),ts.addEventListener("error",(function(){tn.img=te,this._imageLoaded()}).bind(this),!1),ts.src=ti;var tn={img:ts,assetData:tr};return tn},createImageData:function(tr){var ti=i(tr,this.assetsPath,this.path),ts=createNS("image");isSafari?this.testImageLoaded(ts):ts.addEventListener("load",this._imageLoaded,!1),ts.addEventListener("error",(function(){tn.img=te,this._imageLoaded()}).bind(this),!1),ts.setAttributeNS("http://www.w3.org/1999/xlink","href",ti),this._elementHelper.append?this._elementHelper.append(ts):this._elementHelper.appendChild(ts);var tn={img:ts,assetData:tr};return tn},imageLoaded:e,footageLoaded:r,setCacheType:function(te,tr){"svg"===te?(this._elementHelper=tr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},n}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(te,tr){if(this._cbs[te])for(var ti=this._cbs[te],ts=0;ts<ti.length;ts+=1)ti[ts](tr)},addEventListener:function(te,tr){return this._cbs[te]||(this._cbs[te]=[]),this._cbs[te].push(tr),(function(){this.removeEventListener(te,tr)}).bind(this)},removeEventListener:function(te,tr){if(tr){if(this._cbs[te]){for(var ti=0,ts=this._cbs[te].length;ti<ts;)this._cbs[te][ti]===tr&&(this._cbs[te].splice(ti,1),ti-=1,ts-=1),ti+=1;this._cbs[te].length||(this._cbs[te]=null)}}else this._cbs[te]=null}};var markerParser=function(){function t(te){for(var tr,ti=te.split("\r\n"),ts={},tn=0,ta=0;ta<ti.length;ta+=1)2===(tr=ti[ta].split(":")).length&&(ts[tr[0]]=tr[1].trim(),tn+=1);if(0===tn)throw Error();return ts}return function(te){for(var tr=[],ti=0;ti<te.length;ti+=1){var ts=te[ti],tn={time:ts.tm,duration:ts.dr};try{tn.payload=JSON.parse(te[ti].cm)}catch(tr){try{tn.payload=t(te[ti].cm)}catch(tr){tn.payload={name:te[ti].cm}}}tr.push(tn)}return tr}}(),ProjectInterface=function(){function t(te){this.compositions.push(te)}return function(){function e(te){for(var tr=0,ti=this.compositions.length;tr<ti;){if(this.compositions[tr].data&&this.compositions[tr].data.nm===te)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 e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(te,tr){renderers[te]=tr};function getRenderer(te){return renderers[te]}function _typeof$4(te){return(_typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}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(te){(te.wrapper||te.container)&&(this.wrapper=te.wrapper||te.container);var tr="svg";te.animType?tr=te.animType:te.renderer&&(tr=te.renderer);var ti=getRenderer(tr);this.renderer=new ti(this,te.rendererSettings),this.imagePreloader.setCacheType(tr,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=tr,""===te.loop||null===te.loop||void 0===te.loop||!0===te.loop?this.loop=!0:!1===te.loop?this.loop=!1:this.loop=parseInt(te.loop,10),this.autoplay=!("autoplay"in te)||te.autoplay,this.name=te.name?te.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(te,"autoloadSegments")||te.autoloadSegments,this.assetsPath=te.assetsPath,this.initialSegment=te.initialSegment,te.audioFactory&&this.audioController.setAudioFactory(te.audioFactory),te.animationData?this.setupAnimation(te.animationData):te.path&&(-1!==te.path.lastIndexOf("\\")?this.path=te.path.substr(0,te.path.lastIndexOf("\\")+1):this.path=te.path.substr(0,te.path.lastIndexOf("/")+1),this.fileName=te.path.substr(te.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(te.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(te){dataManager.completeAnimation(te,this.configAnimation)},AnimationItem.prototype.setData=function(te,tr){tr&&"object"!==_typeof$4(tr)&&(tr=JSON.parse(tr));var ti={wrapper:te,animationData:tr},ts=te.attributes;ti.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:"",ti.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 tn=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"===tn?ti.loop=!1:"true"===tn?ti.loop=!0:""!==tn&&(ti.loop=parseInt(tn,10));
vendor: 4,717 bytes, line 54
54var ta=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;ti.autoplay="false"!==ta,ti.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:"")&&(ti.prerender=!1),this.setParams(ti)},AnimationItem.prototype.includeLayers=function(te){te.op>this.animationData.op&&(this.animationData.op=te.op,this.totalFrames=Math.floor(te.op-this.animationData.ip));var tr,ti,ts=this.animationData.layers,tn=ts.length,ta=te.layers,to=ta.length;for(ti=0;ti<to;ti+=1)for(tr=0;tr<tn;){if(ts[tr].id===ta[ti].id){ts[tr]=ta[ti];break}tr+=1}if((te.chars||te.fonts)&&(this.renderer.globalData.fontManager.addChars(te.chars),this.renderer.globalData.fontManager.addFonts(te.fonts,this.renderer.globalData.defs)),te.assets)for(tn=te.assets.length,tr=0;tr<tn;tr+=1)this.animationData.assets.push(te.assets[tr]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(te){this.animationData=te;var tr=getExpressionsPlugin();tr&&tr.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var te=this.animationData.segments;if(!te||0===te.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var tr=te.shift();this.timeCompleted=tr.time*this.frameRate;var ti=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(ti,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(te){if(this.renderer)try{this.animationData=te,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(te),te.assets||(te.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(te.assets),this.markers=markerParser(te.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(te){this.triggerConfigError(te)}},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 te=getExpressionsPlugin();te&&te.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(te,tr){var ti="number"==typeof te?te:void 0,ts="number"==typeof tr?tr:void 0;this.renderer.updateContainerSize(ti,ts)},AnimationItem.prototype.setSubframe=function(te){this.isSubframeEnabled=!!te},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)}
vendor: 4,204 bytes, line 54
54catch(te){this.triggerRenderFrameError(te)}},AnimationItem.prototype.play=function(te){te&&this.name!==te||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(te){te&&this.name!==te||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(te){te&&this.name!==te||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(te){te&&this.name!==te||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(te){for(var tr,ti=0;ti<this.markers.length;ti+=1)if((tr=this.markers[ti]).payload&&tr.payload.name===te)return tr;return null},AnimationItem.prototype.goToAndStop=function(te,tr,ti){if(!ti||this.name===ti){if(isNaN(Number(te))){var ts=this.getMarkerData(te);ts&&this.goToAndStop(ts.time,!0)}else tr?this.setCurrentRawFrameValue(te):this.setCurrentRawFrameValue(te*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(te,tr,ti){if(!ti||this.name===ti){var ts=Number(te);if(isNaN(ts)){var tn=this.getMarkerData(te);tn&&(tn.duration?this.playSegments([tn.time,tn.time+tn.duration],!0):this.goToAndStop(tn.time,!0))}else this.goToAndStop(ts,tr,ti);this.play()}},AnimationItem.prototype.advanceTime=function(te){if(!0!==this.isPaused&&!1!==this.isLoaded){var tr=this.currentRawFrame+te*this.frameModifier,ti=!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)||(ti=!0,tr=this.totalFrames-1):tr<0?this.checkSegments(tr%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(ti=!0,tr=0):(this.setCurrentRawFrameValue(this.totalFrames+tr%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(tr),ti&&(this.setCurrentRawFrameValue(tr),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(te,tr){this.playCount=0,te[1]<te[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=te[0]-te[1],this.timeCompleted=this.totalFrames,this.firstFrame=te[1],this.setCurrentRawFrameValue(this.totalFrames-.001-tr)):te[1]>te[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=te[1]-te[0],this.timeCompleted=this.totalFrames,this.firstFrame=te[0],this.setCurrentRawFrameValue(.001+tr)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(te,tr){var ti=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<te?ti=te:this.currentRawFrame+this.firstFrame>tr&&(ti=tr-te)),this.firstFrame=te,this.totalFrames=tr-te,this.timeCompleted=this.totalFrames,-1!==ti&&this.goToAndStop(ti,!0)},AnimationItem.prototype.playSegments=function(te,tr){if(tr&&(this.segments.length=0),"object"===_typeof$4(te[0])){var ti,ts=te.length;for(ti=0;ti<ts;ti+=1)this.segments.push(te[ti])}else this.segments.push(te);this.segments.length&&tr&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(te){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),te&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(te){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),te),!0)},AnimationItem.prototype.destroy=function(te){te&&this.name!==te||!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)}
vendor: 12,769 bytes, line 54
54,AnimationItem.prototype.setCurrentRawFrameValue=function(te){this.currentRawFrame=te,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(te){this.playSpeed=te,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(te){this.playDirection=te<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(te,tr){tr&&this.name!==tr||this.audioController.setVolume(te)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(te){te&&this.name!==te||this.audioController.mute()},AnimationItem.prototype.unmute=function(te){te&&this.name!==te||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(te){var tr="";if(te.e)tr=te.p;else if(this.assetsPath){var ti=te.p;-1!==ti.indexOf("images/")&&(ti=ti.split("/")[1]),tr=this.assetsPath+ti}else tr=this.path+(te.u?te.u:"")+te.p;return tr},AnimationItem.prototype.getAssetData=function(te){for(var tr=0,ti=this.assets.length;tr<ti;){if(te===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(te){return te?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(te,tr,ti){try{this.renderer.getElementByPath(te).updateDocumentData(tr,ti)}catch(te){}},AnimationItem.prototype.trigger=function(te){if(this._cbs&&this._cbs[te])switch(te){case"enterFrame":this.triggerEvent(te,new BMEnterFrameEvent(te,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(te,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(te,new BMCompleteLoopEvent(te,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(te,new BMCompleteEvent(te,this.frameMult));break;case"segmentStart":this.triggerEvent(te,new BMSegmentStartEvent(te,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(te,new BMDestroyEvent(te,this));break;default:this.triggerEvent(te)}"enterFrame"===te&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(te,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===te&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(te,this.loop,this.playCount,this.frameMult)),"complete"===te&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(te,this.frameMult)),"segmentStart"===te&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(te,this.firstFrame,this.totalFrames)),"destroy"===te&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(te,this))},AnimationItem.prototype.triggerRenderFrameError=function(te){var tr=new BMRenderFrameErrorEvent(te,this.currentFrame);this.triggerEvent("error",tr),this.onError&&this.onError.call(this,tr)},AnimationItem.prototype.triggerConfigError=function(te){var tr=new BMConfigErrorEvent(te,this.currentFrame);this.triggerEvent("error",tr),this.onError&&this.onError.call(this,tr)};var animationManager=function(){var te={},tr=[],ti=0,ts=0,tn=0,ta=!0,to=!1;function o(te){for(var ti=0,tn=te.target;ti<ts;)tr[ti].animation===tn&&(tr.splice(ti,1),ti-=1,ts-=1,tn.isPaused||p()),ti+=1}function h(te,ti){if(!te)return null;for(var tn=0;tn<ts;){if(tr[tn].elem===te&&null!==tr[tn].elem)return tr[tn].animation;tn+=1}var ta=new AnimationItem;return c(ta,te),ta.setData(te,ti),ta}function l(){tn+=1,u()}function p(){tn-=1}function c(te,ti){te.addEventListener("destroy",o),te.addEventListener("_active",l),te.addEventListener("_idle",p),tr.push({elem:ti,animation:te}),ts+=1}function f(te){var th,tl=te-ti;for(th=0;th<ts;th+=1)tr[th].animation.advanceTime(tl);ti=te,tn&&!to?window.requestAnimationFrame(f):ta=!0}function d(te){ti=te,window.requestAnimationFrame(f)}function u(){!to&&tn&&ta&&(window.requestAnimationFrame(d),ta=!1)}return te.registerAnimation=h,te.loadAnimation=function(te){var tr=new AnimationItem;return c(tr,null),tr.setParams(te),tr},te.setSpeed=function(te,ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.setSpeed(te,ti)},te.setDirection=function(te,ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.setDirection(te,ti)},te.play=function(te){var ti;for(ti=0;ti<ts;ti+=1)tr[ti].animation.play(te)},te.pause=function(te){var ti;for(ti=0;ti<ts;ti+=1)tr[ti].animation.pause(te)},te.stop=function(te){var ti;for(ti=0;ti<ts;ti+=1)tr[ti].animation.stop(te)},te.togglePause=function(te){var ti;for(ti=0;ti<ts;ti+=1)tr[ti].animation.togglePause(te)},te.searchAnimations=function(te,tr,ti){var ts,tn=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),ta=tn.length;for(ts=0;ts<ta;ts+=1)ti&&tn[ts].setAttribute("data-bm-type",ti),h(tn[ts],te);if(tr&&0===ta){ti||(ti="svg");var to=document.getElementsByTagName("body")[0];to.innerText="";var th=createTag("div");th.style.width="100%",th.style.height="100%",th.setAttribute("data-bm-type",ti),to.appendChild(th),h(th,te)}},te.resize=function(){var te;for(te=0;te<ts;te+=1)tr[te].animation.resize()},te.goToAndStop=function(te,ti,tn){var ta;for(ta=0;ta<ts;ta+=1)tr[ta].animation.goToAndStop(te,ti,tn)},te.destroy=function(te){var ti;for(ti=ts-1;ti>=0;ti-=1)tr[ti].animation.destroy(te)},te.freeze=function(){to=!0},te.unfreeze=function(){to=!1,u()},te.setVolume=function(te,ti){var tn;for(tn=0;tn<ts;tn+=1)tr[tn].animation.setVolume(te,ti)},te.mute=function(te){var ti;for(ti=0;ti<ts;ti+=1)tr[ti].animation.mute(te)},te.unmute=function(te){var ti;for(ti=0;ti<ts;ti+=1)tr[ti].animation.unmute(te)},te.getRegisteredAnimations=function(){var te,ti=tr.length,ts=[];for(te=0;te<ti;te+=1)ts.push(tr[te].animation);return ts},te}(),BezierFactory=function(){var te={getBezierEasing:function(te,ti,ts,tn,ta){var to=ta||("bez_"+te+"_"+ti+"_"+ts+"_"+tn).replace(/\./g,"p");if(tr[to])return tr[to];var th=new l([te,ti,ts,tn]);return tr[to]=th,th}},tr={},ti=.1,ts="function"==typeof Float32Array;function s(te,tr){return 1-3*tr+3*te}function a(te,tr){return 3*tr-6*te}function n(te){return 3*te}function o(te,tr,ti){return((s(tr,ti)*te+a(tr,ti))*te+n(tr))*te}function h(te,tr,ti){return 3*s(tr,ti)*te*te+2*a(tr,ti)*te+n(tr)}function l(te){this._p=te,this._mSampleValues=ts?new Float32Array(11):Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return l.prototype={get:function(te){var tr=this._p[0],ti=this._p[1],ts=this._p[2],tn=this._p[3];return this._precomputed||this._precompute(),tr===ti&&ts===tn?te:0===te?0:1===te?1:o(this._getTForX(te),ti,tn)},_precompute:function(){var te=this._p[0],tr=this._p[1],ti=this._p[2],ts=this._p[3];this._precomputed=!0,te===tr&&ti===ts||this._calcSampleValues()},_calcSampleValues:function(){for(var te=this._p[0],tr=this._p[2],ts=0;ts<11;++ts)this._mSampleValues[ts]=o(ts*ti,te,tr)},_getTForX:function(te){for(var tr=this._p[0],ts=this._p[2],tn=this._mSampleValues,ta=0,to=1;10!==to&&tn[to]<=te;++to)ta+=ti;var th=ta+(te-tn[--to])/(tn[to+1]-tn[to])*ti,tl=h(th,tr,ts);return tl>=.001?function(te,tr,ti,ts){for(var tn=0;tn<4;++tn){var ta=h(tr,ti,ts);if(0===ta)break;tr-=(o(tr,ti,ts)-te)/ta}return tr}(te,th,tr,ts):0===tl?th:function(te,tr,ti,ts,tn){var ta,to,th=0;do(ta=o(to=tr+(ti-tr)/2,ts,tn)-te)>0?ti=to:tr=to;while(Math.abs(ta)>1e-7&&++th<10);return to}(te,ta,ta+ti,tr,ts)}},te}(),pooling={double:function(te){return te.concat(createSizedArray(te.length))}},poolFactory=function(te,tr,ti){var ts=0,tn=te,ta=createSizedArray(tn);return{newElement:function(){return ts?ta[ts-=1]:tr()},release:function(te){ts===tn&&(ta=pooling.double(ta),tn*=2),ti&&ti(te),ta[ts]=te,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(te){var tr,ti=te.lengths.length;for(tr=0;tr<ti;tr+=1)bezierLengthPool.release(te.lengths[tr]);te.lengths.length=0});function bezFunction(){var te=Math;function e(te,tr,ti,ts,tn,ta){var to=te*ts+tr*tn+ti*ta-tn*ts-ta*te-ti*tr;return to>-.001&&to<.001}var r=function(te,tr,ti,ts){var tn,ta,to,th,tl,tp,tc=getDefaultCurveSegments(),tf=0,tu=[],td=[],tm=bezierLengthPool.newElement();for(to=ti.length,tn=0;tn<tc;tn+=1){for(tl=tn/(tc-1),tp=0,ta=0;ta<to;ta+=1)th=bmPow(1-tl,3)*te[ta]+3*bmPow(1-tl,2)*tl*ti[ta]+3*(1-tl)*bmPow(tl,2)*ts[ta]+bmPow(tl,3)*tr[ta],tu[ta]=th,null!==td[ta]&&(tp+=bmPow(tu[ta]-td[ta],2)),td[ta]=tu[ta];tp&&(tf+=tp=bmSqrt(tp)),tm.percents[tn]=tl,tm.lengths[tn]=tf}return tm.addedLength=tf,tm};function i(te){this.segmentLength=0,this.points=Array(te)}function s(te,tr){this.partialLength=te,this.point=tr}var tr,ti=(tr={},function(te,ti,ts,tn){var ta=(te[0]+"_"+te[1]+"_"+ti[0]+"_"+ti[1]+"_"+ts[0]+"_"+ts[1]+"_"+tn[0]+"_"+tn[1]).replace(/\./g,"p");if(!tr[ta]){var to,th,tl,tp,tc,tf,tu,td=getDefaultCurveSegments(),tm=0,ty=null;2===te.length&&(te[0]!==ti[0]||te[1]!==ti[1])&&e(te[0],te[1],ti[0],ti[1],te[0]+ts[0],te[1]+ts[1])&&e(te[0],te[1],ti[0],ti[1],ti[0]+tn[0],ti[1]+tn[1])&&(td=2);var tg=new i(td);for(tl=ts.length,to=0;to<td;to+=1){for(tu=createSizedArray(tl),tc=to/(td-1),tf=0,th=0;th<tl;th+=1)tp=bmPow(1-tc,3)*te[th]+3*bmPow(1-tc,2)*tc*(te[th]+ts[th])+3*(1-tc)*bmPow(tc,2)*(ti[th]+tn[th])+bmPow(tc,3)*ti[th],tu[th]=tp,null!==ty&&(tf+=bmPow(tu[th]-ty[th],2));tm+=tf=bmSqrt(tf),tg.points[to]=new s(tf,tu),ty=tu}tg.segmentLength=tm,tr[ta]=tg}return tr[ta]});function o(te,tr){var ti=tr.percents,ts=tr.lengths,tn=ti.length,ta=bmFloor((tn-1)*te),to=te*tr.addedLength,th=0;if(ta===tn-1||0===ta||to===ts[ta])return ti[ta];for(var tl=ts[ta]>to?-1:1,tp=!0;tp;)if(ts[ta]<=to&&ts[ta+1]>to?(th=(to-ts[ta])/(ts[ta+1]-ts[ta]),tp=!1):ta+=tl,ta<0||ta>=tn-1){if(ta===tn-1)return ti[ta];tp=!1}return ti[ta]+(ti[ta+1]-ti[ta])*th}var ts=createTypedArray("float32",8);return{getSegmentsLength:function(te){var tr,ti=segmentsLengthPool.newElement(),ts=te.c,tn=te.v,ta=te.o,to=te.i,th=te._length,tl=ti.lengths,tp=0;for(tr=0;tr<th-1;tr+=1)tl[tr]=r(tn[tr],tn[tr+1],ta[tr],to[tr+1]),tp+=tl[tr].addedLength;return ts&&th&&(tl[tr]=r(tn[tr],tn[0],ta[tr],to[0]),tp+=tl[tr].addedLength),ti.totalLength=tp,ti},getNewSegment:function(tr,ti,tn,ta,to,th,tl){to<0?to=0:to>1&&(to=1);var tp,tc=o(to,tl),tf=o(th=th>1?1:th,tl),tu=tr.length,td=1-tc,tm=1-tf,ty=td*td*td,tg=tc*td*td*3,tv=tc*tc*td*3,tb=tc*tc*tc,t_=td*td*tm,tS=tc*td*tm+td*tc*tm+td*td*tf,tE=tc*tc*tm+td*tc*tf+tc*td*tf,tP=tc*tc*tf,tx=td*tm*tm,tA=tc*tm*tm+td*tf*tm+td*tm*tf,tC=tc*tf*tm+td*tf*tf+tc*tm*tf,tw=tc*tf*tf,tk=tm*tm*tm,tD=tf*tm*tm+tm*tf*tm+tm*tm*tf,tT=tf*tf*tm+tm*tf*tf+tf*tm*tf,tM=tf*tf*tf;for(tp=0;tp<tu;tp+=1)ts[4*tp]=te.round(1e3*(ty*tr[tp]+tg*tn[tp]+tv*ta[tp]+tb*ti[tp]))/1e3,ts[4*tp+1]=te.round(1e3*(t_*tr[tp]+tS*tn[tp]+tE*ta[tp]+tP*ti[tp]))/1e3,ts[4*tp+2]=te.round(1e3*(tx*tr[tp]+tA*tn[tp]+tC*ta[tp]+tw*ti[tp]))/1e3,ts[4*tp+3]=te.round(1e3*(tk*tr[tp]+tD*tn[tp]+tT*ta[tp]+tM*ti[tp]))/1e3;return ts},getPointInSegment:function(tr,ti,ts,tn,ta,to){var th=o(ta,to),tl=1-th;return[te.round(1e3*(tl*tl*tl*tr[0]+(th*tl*tl+tl*th*tl+tl*tl*th)*ts[0]+(th*th*tl+tl*th*th+th*tl*th)*tn[0]+th*th*th*ti[0]))/1e3,te.round(1e3*(tl*tl*tl*tr[1]+(th*tl*tl+tl*th*tl+tl*tl*th)*ts[1]+(th*th*tl+tl*th*th+th*tl*th)*tn[1]+th*th*th*ti[1]))/1e3]},buildBezierData:ti,pointOnLine2D:e,pointOnLine3D:function(tr,ti,ts,tn,ta,to,th,tl,tp){if(0===ts&&0===to&&0===tp)return e(tr,ti,tn,ta,th,tl);var tc,tf=te.sqrt(te.pow(tn-tr,2)+te.pow(ta-ti,2)+te.pow(to-ts,2)),tu=te.sqrt(te.pow(th-tr,2)+te.pow(tl-ti,2)+te.pow(tp-ts,2)),td=te.sqrt(te.pow(th-tn,2)+te.pow(tl-ta,2)+te.pow(tp-to,2));return(tc=tf>tu?tf>td?tf-tu-td:td-tu-tf:td>tu?td-tu-tf:tu-tf-td)>-.0001&&tc<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var te=initialDefaultFrame,tr=Math.abs;function r(te,tr){var ti,ts,tn,ta,to,th,tl=this.offsetTime;"multidimensional"===this.propType&&(th=createTypedArray("float32",this.pv.length));for(var tp,tc,tf,tu,td,tm,ty,tg,tv,tb=tr.lastIndex,t_=tb,tS=this.keyframes.length-1,tE=!0;tE;){if(tp=this.keyframes[t_],tc=this.keyframes[t_+1],t_===tS-1&&te>=tc.t-tl){tp.h&&(tp=tc),tb=0;break}if(tc.t-tl>te){tb=t_;break}t_<tS-1?t_+=1:(tb=0,tE=!1)}tf=this.keyframesMetadata[t_]||{};var tP,tx,tA,tC,tw,tk,tD,tT,tM,tI,tF=tc.t-tl,tR=tp.t-tl;if(tp.to){tf.bezierData||(tf.bezierData=bez.buildBezierData(tp.s,tc.s||tp.e,tp.to,tp.ti
vendor: 6,712 bytes, line 54
54));var tB=tf.bezierData;if(te>=tF||te<tR){var tV=te>=tF?tB.points.length-1:0;for(td=tB.points[tV].point.length,tu=0;tu<td;tu+=1)th[tu]=tB.points[tV].point[tu]}else{tf.__fnct?tv=tf.__fnct:(tv=BezierFactory.getBezierEasing(tp.o.x,tp.o.y,tp.i.x,tp.i.y,tp.n).get,tf.__fnct=tv),tm=tv((te-tR)/(tF-tR));var tO,tL=tB.segmentLength*tm,tz=tr.lastFrame<te&&tr._lastKeyframeIndex===t_?tr._lastAddedLength:0;for(tg=tr.lastFrame<te&&tr._lastKeyframeIndex===t_?tr._lastPoint:0,tE=!0,ty=tB.points.length;tE;){if(tz+=tB.points[tg].partialLength,0===tL||0===tm||tg===tB.points.length-1){for(td=tB.points[tg].point.length,tu=0;tu<td;tu+=1)th[tu]=tB.points[tg].point[tu];break}if(tL>=tz&&tL<tz+tB.points[tg+1].partialLength){for(tO=(tL-tz)/tB.points[tg+1].partialLength,td=tB.points[tg].point.length,tu=0;tu<td;tu+=1)th[tu]=tB.points[tg].point[tu]+(tB.points[tg+1].point[tu]-tB.points[tg].point[tu])*tO;break}tg<ty-1?tg+=1:tE=!1}tr._lastPoint=tg,tr._lastAddedLength=tz-tB.points[tg].partialLength,tr._lastKeyframeIndex=t_}}else if(tS=tp.s.length,tP=tc.s||tp.e,this.sh&&1!==tp.h){if(te>=tF)th[0]=tP[0],th[1]=tP[1],th[2]=tP[2];else if(te<=tR)th[0]=tp.s[0],th[1]=tp.s[1],th[2]=tp.s[2];else{var tG=i(tp.s),tN=i(tP);tx=th,tC=(tA=function(te,tr,ti){var ts,tn,ta,to,th,tl=[],tp=te[0],tc=te[1],tf=te[2],tu=te[3],td=tr[0],tm=tr[1],ty=tr[2],tg=tr[3];return(tn=tp*td+tc*tm+tf*ty+tu*tg)<0&&(tn=-tn,td=-td,tm=-tm,ty=-ty,tg=-tg),1-tn>1e-6?(ta=Math.sin(ts=Math.acos(tn)),to=Math.sin((1-ti)*ts)/ta,th=Math.sin(ti*ts)/ta):(to=1-ti,th=ti),tl[0]=to*tp+th*td,tl[1]=to*tc+th*tm,tl[2]=to*tf+th*ty,tl[3]=to*tu+th*tg,tl}(tG,tN,(te-tR)/(tF-tR)))[0],tw=tA[1],tk=tA[2],tT=Math.atan2(2*tw*(tD=tA[3])-2*tC*tk,1-2*tw*tw-2*tk*tk),tM=Math.asin(2*tC*tw+2*tk*tD),tI=Math.atan2(2*tC*tD-2*tw*tk,1-2*tC*tC-2*tk*tk),tx[0]=tT/degToRads,tx[1]=tM/degToRads,tx[2]=tI/degToRads}}else for(t_=0;t_<tS;t_+=1)1!==tp.h&&(te>=tF?tm=1:te<tR?tm=0:(tp.o.x.constructor===Array?(tf.__fnct||(tf.__fnct=[]),tf.__fnct[t_]?tv=tf.__fnct[t_]:(ti=void 0===tp.o.x[t_]?tp.o.x[0]:tp.o.x[t_],ts=void 0===tp.o.y[t_]?tp.o.y[0]:tp.o.y[t_],tn=void 0===tp.i.x[t_]?tp.i.x[0]:tp.i.x[t_],ta=void 0===tp.i.y[t_]?tp.i.y[0]:tp.i.y[t_],tv=BezierFactory.getBezierEasing(ti,ts,tn,ta).get,tf.__fnct[t_]=tv)):tf.__fnct?tv=tf.__fnct:(ti=tp.o.x,ts=tp.o.y,tn=tp.i.x,ta=tp.i.y,tv=BezierFactory.getBezierEasing(ti,ts,tn,ta).get,tp.keyframeMetadata=tv),tm=tv((te-tR)/(tF-tR)))),tP=tc.s||tp.e,to=1===tp.h?tp.s[t_]:tp.s[t_]+(tP[t_]-tp.s[t_])*tm,"multidimensional"===this.propType?th[t_]=to:th=to;return tr.lastIndex=tb,th}function i(te){var tr=te[0]*degToRads,ti=te[1]*degToRads,ts=te[2]*degToRads,tn=Math.cos(tr/2),ta=Math.cos(ti/2),to=Math.cos(ts/2),th=Math.sin(tr/2),tl=Math.sin(ti/2),tp=Math.sin(ts/2);return[th*tl*to+tn*ta*tp,th*ta*to+tn*tl*tp,tn*tl*to-th*ta*tp,tn*ta*to-th*tl*tp]}function s(){var tr=this.comp.renderedFrame-this.offsetTime,ti=this.keyframes[0].t-this.offsetTime,ts=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(tr===this._caching.lastFrame||this._caching.lastFrame!==te&&(this._caching.lastFrame>=ts&&tr>=ts||this._caching.lastFrame<ti&&tr<ti))){this._caching.lastFrame>=tr&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var tn=this.interpolateValue(tr,this._caching);this.pv=tn}return this._caching.lastFrame=tr,this.pv}function a(te){var ti;if("unidimensional"===this.propType)ti=te*this.mult,tr(this.v-ti)>1e-5&&(this.v=ti,this._mdf=!0);else for(var ts=0,tn=this.v.length;ts<tn;)ti=te[ts]*this.mult,tr(this.v[ts]-ti)>1e-5&&(this.v[ts]=ti,this._mdf=!0),ts+=1}function n(){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 te,tr=this.effectsSequence.length,ti=this.kf?this.pv:this.data.k;for(te=0;te<tr;te+=1)ti=this.effectsSequence[te](ti);this.setVValue(ti),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}}function o(te){this.effectsSequence.push(te),this.container.addDynamicProperty(this)}function h(te,tr,ti,ts){this.propType="unidimensional",this.mult=ti||1,this.data=tr,this.v=ti?tr.k*ti:tr.k,this.pv=tr.k,this._mdf=!1,this.elem=te,this.container=ts,this.comp=te.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=n,this.setVValue=a,this.addEffect=o}function l(te,tr,ti,ts){this.propType="multidimensional",this.mult=ti||1,this.data=tr,this._mdf=!1,this.elem=te,this.container=ts,this.comp=te.comp,this.k=!1,this.kf=!1,this.frameId=-1;var tn,ta=tr.k.length;for(this.v=createTypedArray("float32",ta),this.pv=createTypedArray("float32",ta),this.vel=createTypedArray("float32",ta),tn=0;tn<ta;tn+=1)this.v[tn]=tr.k[tn]*this.mult,this.pv[tn]=tr.k[tn];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=n,this.setVValue=a,this.addEffect=o}function p(tr,ti,ts,tn){this.propType="unidimensional",this.keyframes=ti.k,this.keyframesMetadata=[],this.offsetTime=tr.data.st,this.frameId=-1,this._caching={lastFrame:te,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=ti,this.mult=ts||1,this.elem=tr,this.container=tn,this.comp=tr.comp,this.v=te,this.pv=te,this._isFirstFrame=!0,this.getValue=n,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[s.bind(this)],this.addEffect=o}function c(tr,ti,ts,tn){this.propType="multidimensional";var ta,to,th,tl,tp,tc=ti.k.length;for(ta=0;ta<tc-1;ta+=1)ti.k[ta].to&&ti.k[ta].s&&ti.k[ta+1]&&ti.k[ta+1].s&&(to=ti.k[ta].s,th=ti.k[ta+1].s,tl=ti.k[ta].to,tp=ti.k[ta].ti,(2===to.length&&(to[0]!==th[0]||to[1]!==th[1])&&bez.pointOnLine2D(to[0],to[1],th[0],th[1],to[0]+tl[0],to[1]+tl[1])&&bez.pointOnLine2D(to[0],to[1],th[0],th[1],th[0]+tp[0],th[1]+tp[1])||3===to.length&&(to[0]!==th[0]||to[1]!==th[1]||to[2]!==th[2])&&bez.pointOnLine3D(to[0],to[1],to[2],th[0],th[1],th[2],to[0]+tl[0],to[1]+tl[1],to[2]+tl[2])&&bez.pointOnLine3D(to[0],to[1],to[2],th[0],th[1],th[2],th[0]+tp[0],th[1]+tp[1],th[2]+tp[2]))&&(ti.k[ta].to=null,ti.k[ta].ti=null),to[0]===th[0]&&to[1]===th[1]&&0===tl[0]&&0===tl[1]&&0===tp[0]&&0===tp[1]&&(2===to.length||to[2]===th[2]&&0===tl[2]&&0===tp[2])&&(ti.k[ta].to=null,ti.k[ta].ti=null));this.effectsSequence=[s.bind(this)],this.data=ti,this.keyframes=ti.k,this.keyframesMetadata=[],this.offsetTime=tr.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=ts||1,this.elem=tr,this.container=tn,this.comp=tr.comp,this.getValue=n,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var tf=ti.k[0].s.length;for(this.v=createTypedArray("float32",tf),this.pv=createTypedArray("float32",tf),ta=0;ta<tf;ta+=1)this.v[ta]=te,this.pv[ta]=te;this._caching={lastFrame:te,lastIndex:0,value:createTypedArray("float32",tf)},this.addEffect=o}return{getProp:function(te,tr,ti,ts,tn){var ta;
vendor: 1,339 bytes, line 54
54if(tr.k.length){if("number"==typeof tr.k[0])ta=new l(te,tr,ts,tn);else switch(ti){case 0:ta=new p(te,tr,ts,tn);break;case 1:ta=new c(te,tr,ts,tn)}}else ta=new h(te,tr,ts,tn);return ta.effectsSequence.length&&tn.addDynamicProperty(ta),ta}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(te){-1===this.dynamicProperties.indexOf(te)&&(this.dynamicProperties.push(te),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var te,tr=this.dynamicProperties.length;for(te=0;te<tr;te+=1)this.dynamicProperties[te].getValue(),this.dynamicProperties[te]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(te){this.container=te,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(te,tr){this.c=te,this.setLength(tr);for(var ti=0;ti<tr;)this.v[ti]=pointPool.newElement(),this.o[ti]=pointPool.newElement(),this.i[ti]=pointPool.newElement(),ti+=1},ShapePath.prototype.setLength=function(te){for(;this._maxLength<te;
vendor: 4,628 bytes, line 54
54)this.doubleArrayLength();this._length=te},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(te,tr,ti,ts,tn){var ta;switch(this._length=Math.max(this._length,ts+1),this._length>=this._maxLength&&this.doubleArrayLength(),ti){case"v":ta=this.v;break;case"i":ta=this.i;break;case"o":ta=this.o;break;default:ta=[]}ta[ts]&&(!ta[ts]||tn)||(ta[ts]=pointPool.newElement()),ta[ts][0]=te,ta[ts][1]=tr},ShapePath.prototype.setTripleAt=function(te,tr,ti,ts,tn,ta,to,th){this.setXYAt(te,tr,"v",to,th),this.setXYAt(ti,ts,"o",to,th),this.setXYAt(tn,ta,"i",to,th)},ShapePath.prototype.reverse=function(){var te=new ShapePath;te.setPathData(this.c,this._length);var tr=this.v,ti=this.o,ts=this.i,tn=0;this.c&&(te.setTripleAt(tr[0][0],tr[0][1],ts[0][0],ts[0][1],ti[0][0],ti[0][1],0,!1),tn=1);var ta,to=this._length-1,th=this._length;for(ta=tn;ta<th;ta+=1)te.setTripleAt(tr[to][0],tr[to][1],ts[to][0],ts[to][1],ti[to][0],ti[to][1],ta,!1),to-=1;return te},ShapePath.prototype.length=function(){return this._length};var factory,shapePool=(factory=poolFactory(4,function(){return new ShapePath},function(te){var tr,ti=te._length;for(tr=0;tr<ti;tr+=1)pointPool.release(te.v[tr]),pointPool.release(te.i[tr]),pointPool.release(te.o[tr]),te.v[tr]=null,te.i[tr]=null,te.o[tr]=null;te._length=0,te.c=!1}),factory.clone=function(te){var tr,ti=factory.newElement(),ts=void 0===te._length?te.v.length:te._length;for(ti.setLength(ts),ti.c=te.c,tr=0;tr<ts;tr+=1)ti.setTripleAt(te.v[tr][0],te.v[tr][1],te.o[tr][0],te.o[tr][1],te.i[tr][0],te.i[tr][1],tr);return ti},factory);function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(te){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=te,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var te;for(te=0;te<this._length;te+=1)shapePool.release(this.shapes[te]);this._length=0};var ob,_length,_maxLength,pool,shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(te){var tr,ti=te._length;for(tr=0;tr<ti;tr+=1)shapePool.release(te.shapes[tr]);te._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=te,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ShapePropertyFactory=function(){var te=-999999;function e(te,tr,ti){var ts,tn,ta,to,th,tl,tp,tc,tf,tu=ti.lastIndex,td=this.keyframes;if(te<td[0].t-this.offsetTime)ts=td[0].s[0],ta=!0,tu=0;else if(te>=td[td.length-1].t-this.offsetTime)ts=td[td.length-1].s?td[td.length-1].s[0]:td[td.length-2].e[0],ta=!0;else{for(var tm,ty,tg,tv,tb=tu,t_=td.length-1,tS=!0;tS&&(ty=td[tb],!((tg=td[tb+1]).t-this.offsetTime>te));)tb<t_-1?tb+=1:tS=!1;tv=this.keyframesMetadata[tb]||{},tu=tb,(ta=1===ty.h)||(te>=tg.t-this.offsetTime?tc=1:te<ty.t-this.offsetTime?tc=0:(tv.__fnct?tm=tv.__fnct:(tm=BezierFactory.getBezierEasing(ty.o.x,ty.o.y,ty.i.x,ty.i.y).get,tv.__fnct=tm),tc=tm((te-(ty.t-this.offsetTime))/(tg.t-this.offsetTime-(ty.t-this.offsetTime)))),tn=tg.s?tg.s[0]:ty.e[0]),ts=ty.s[0]}for(tl=tr._length,tp=ts.i[0].length,ti.lastIndex=tu,to=0;to<tl;to+=1)for(th=0;th<tp;th+=1)tf=ta?ts.i[to][th]:ts.i[to][th]+(tn.i[to][th]-ts.i[to][th])*tc,tr.i[to][th]=tf,tf=ta?ts.o[to][th]:ts.o[to][th]+(tn.o[to][th]-ts.o[to][th])*tc,tr.o[to][th]=tf,tf=ta?ts.v[to][th]:ts.v[to][th]+(tn.v[to][th]-ts.v[to][th])*tc,tr.v[to][th]=tf}function r(){var tr=this.comp.renderedFrame-this.offsetTime,ti=this.keyframes[0].t-this.offsetTime,ts=this.keyframes[this.keyframes.length-1].t-this.offsetTime,tn=this._caching.lastFrame;return tn!==te&&(tn<ti&&tr<ti||tn>ts&&tr>ts)||(this._caching.lastIndex=tn<tr?this._caching.lastIndex:0,this.interpolateShape(tr,this.pv,this._caching)),this._caching.lastFrame=tr,this.pv}function i(){this.paths=this.localShapeCollection}function s(te){(function(te,tr){if(te._length!==tr._length||te.c!==tr.c)return!1;var ti,ts=te._length;for(ti=0;ti<ts;ti+=1)if(te.v[ti][0]!==tr.v[ti][0]||te.v[ti][1]!==tr.v[ti][1]||te.o[ti][0]!==tr.o[ti][0]||te.o[ti][1]!==tr.o[ti][1]||te.i[ti][0]!==tr.i[ti][0]||te.i[ti][1]!==tr.i[ti][1])return!1;return!0})(this.v,te)||(this.v=shapePool.clone(te),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}
54function a(){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,te=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var te,tr,ti=this.effectsSequence.length;for(tr=0;tr<ti;tr+=1)te=this.effectsSequence[tr](te);this.setVValue(te),this.lock=!1,this.frameId=this.elem.globalData.frameId}}else this._mdf=!1}}function n(te,tr,ti){this.propType="shape",this.comp=te.comp,this.container=te,this.elem=te,this.data=tr,this.k=!1,this.kf=!1,this._mdf=!1;var ts=3===ti?tr.pt.k:tr.ks.k;this.v=shapePool.clone(ts),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function o(te){this.effectsSequence.push(te),this.container.addDynamicProperty(this)}function h(tr,ti,ts){this.propType="shape",this.comp=tr.comp,this.elem=tr,this.container=tr,this.offsetTime=tr.data.st,this.keyframes=3===ts?ti.pt.k:ti.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var tn=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,tn
vendor: 9,859 bytes, line 54
54),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=te,this.reset=i,this._caching={lastFrame:te,lastIndex:0},this.effectsSequence=[r.bind(this)]}n.prototype.interpolateShape=e,n.prototype.getValue=a,n.prototype.setVValue=s,n.prototype.addEffect=o,h.prototype.getValue=a,h.prototype.interpolateShape=e,h.prototype.setVValue=s,h.prototype.addEffect=o;var tr=function(){var te=roundCorner;function e(te,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=te,this.comp=te.comp,this.frameId=-1,this.initDynamicPropertyContainer(te),this.p=PropertyFactory.getProp(te,tr.p,1,0,this),this.s=PropertyFactory.getProp(te,tr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,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],ti=this.p.v[1],ts=this.s.v[0]/2,tn=this.s.v[1]/2,ta=3!==this.d,to=this.v;to.v[0][0]=tr,to.v[0][1]=ti-tn,to.v[1][0]=ta?tr+ts:tr-ts,to.v[1][1]=ti,to.v[2][0]=tr,to.v[2][1]=ti+tn,to.v[3][0]=ta?tr-ts:tr+ts,to.v[3][1]=ti,to.i[0][0]=ta?tr-ts*te:tr+ts*te,to.i[0][1]=ti-tn,to.i[1][0]=ta?tr+ts:tr-ts,to.i[1][1]=ti-tn*te,to.i[2][0]=ta?tr+ts*te:tr-ts*te,to.i[2][1]=ti+tn,to.i[3][0]=ta?tr-ts:tr+ts,to.i[3][1]=ti+tn*te,to.o[0][0]=ta?tr+ts*te:tr-ts*te,to.o[0][1]=ti-tn,to.o[1][0]=ta?tr+ts:tr-ts,to.o[1][1]=ti+tn*te,to.o[2][0]=ta?tr-ts*te:tr+ts*te,to.o[2][1]=ti+tn,to.o[3][0]=ta?tr-ts:tr+ts,to.o[3][1]=ti-tn*te}},extendPrototype([DynamicPropertyContainer],e),e}(),ti=function(){function t(te,tr){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=te,this.comp=te.comp,this.data=tr,this.frameId=-1,this.d=tr.d,this.initDynamicPropertyContainer(te),1===tr.sy?(this.ir=PropertyFactory.getProp(te,tr.ir,0,0,this),this.is=PropertyFactory.getProp(te,tr.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(te,tr.pt,0,0,this),this.p=PropertyFactory.getProp(te,tr.p,1,0,this),this.r=PropertyFactory.getProp(te,tr.r,0,degToRads,this),this.or=PropertyFactory.getProp(te,tr.or,0,0,this),this.os=PropertyFactory.getProp(te,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 t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var te,tr,ti,ts,tn=2*Math.floor(this.pt.v),ta=2*Math.PI/tn,to=!0,th=this.or.v,tl=this.ir.v,tp=this.os.v,tc=this.is.v,tf=2*Math.PI*th/(2*tn),tu=2*Math.PI*tl/(2*tn),td=-Math.PI/2;td+=this.r.v;var tm=3===this.data.d?-1:1;for(this.v._length=0,te=0;te<tn;te+=1){ti=to?tp:tc,ts=to?tf:tu;var ty=(tr=to?th:tl)*Math.cos(td),tg=tr*Math.sin(td),tv=0===ty&&0===tg?0:tg/Math.sqrt(ty*ty+tg*tg),tb=0===ty&&0===tg?0:-ty/Math.sqrt(ty*ty+tg*tg);ty+=+this.p.v[0],tg+=+this.p.v[1],this.v.setTripleAt(ty,tg,ty-tv*ts*ti*tm,tg-tb*ts*ti*tm,ty+tv*ts*ti*tm,tg+tb*ts*ti*tm,te,!0),to=!to,td+=ta*tm}},convertPolygonToPath:function(){var te,tr=Math.floor(this.pt.v),ti=2*Math.PI/tr,ts=this.or.v,tn=this.os.v,ta=2*Math.PI*ts/(4*tr),to=-(.5*Math.PI),th=3===this.data.d?-1:1;for(to+=this.r.v,this.v._length=0,te=0;te<tr;te+=1){var tl=ts*Math.cos(to),tp=ts*Math.sin(to),tc=0===tl&&0===tp?0:tp/Math.sqrt(tl*tl+tp*tp),tf=0===tl&&0===tp?0:-tl/Math.sqrt(tl*tl+tp*tp);tl+=+this.p.v[0],tp+=+this.p.v[1],this.v.setTripleAt(tl,tp,tl-tc*ta*tn*th,tp-tf*ta*tn*th,tl+tc*ta*tn*th,tp+tf*ta*tn*th,te,!0),to+=ti*th}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),ts=function(){function t(te,tr){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=te,this.comp=te.comp,this.frameId=-1,this.d=tr.d,this.initDynamicPropertyContainer(te),this.p=PropertyFactory.getProp(te,tr.p,1,0,this),this.s=PropertyFactory.getProp(te,tr.s,1,0,this),this.r=PropertyFactory.getProp(te,tr.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var te=this.p.v[0],tr=this.p.v[1],ti=this.s.v[0]/2,ts=this.s.v[1]/2,tn=bmMin(ti,ts,this.r.v),ta=tn*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(te+ti,tr-ts+tn,te+ti,tr-ts+tn,te+ti,tr-ts+ta,0,!0),this.v.setTripleAt(te+ti,tr+ts-tn,te+ti,tr+ts-ta,te+ti,tr+ts-tn,1,!0),0!==tn?(this.v.setTripleAt(te+ti-tn,tr+ts,te+ti-tn,tr+ts,te+ti-ta,tr+ts,2,!0),this.v.setTripleAt(te-ti+tn,tr+ts,te-ti+ta,tr+ts,te-ti+tn,tr+ts,3,!0),this.v.setTripleAt(te-ti,tr+ts-tn,te-ti,tr+ts-tn,te-ti,tr+ts-ta,4,!0),this.v.setTripleAt(te-ti,tr-ts+tn,te-ti,tr-ts+ta,te-ti,tr-ts+tn,5,!0),this.v.setTripleAt(te-ti+tn,tr-ts,te-ti+tn,tr-ts,te-ti+ta,tr-ts,6,!0),this.v.setTripleAt(te+ti-tn,tr-ts,te+ti-ta,tr-ts,te+ti-tn,tr-ts,7,!0)):(this.v.setTripleAt(te-ti,tr+ts,te-ti+ta,tr+ts,te-ti,tr+ts,2),this.v.setTripleAt(te-ti,tr-ts,te-ti,tr-ts+ta,te-ti,tr-ts,3))):(this.v.setTripleAt(te+ti,tr-ts+tn,te+ti,tr-ts+ta,te+ti,tr-ts+tn,0,!0),0!==tn?(this.v.setTripleAt(te+ti-tn,tr-ts,te+ti-tn,tr-ts,te+ti-ta,tr-ts,1,!0),this.v.setTripleAt(te-ti+tn,tr-ts,te-ti+ta,tr-ts,te-ti+tn,tr-ts,2,!0),this.v.setTripleAt(te-ti,tr-ts+tn,te-ti,tr-ts+tn,te-ti,tr-ts+ta,3,!0),this.v.setTripleAt(te-ti,tr+ts-tn,te-ti,tr+ts-ta,te-ti,tr+ts-tn,4,!0),this.v.setTripleAt(te-ti+tn,tr+ts,te-ti+tn,tr+ts,te-ti+ta,tr+ts,5,!0),this.v.setTripleAt(te+ti-tn,tr+ts,te+ti-ta,tr+ts,te+ti-tn,tr+ts,6,!0),this.v.setTripleAt(te+ti,tr+ts-tn,te+ti,tr+ts-tn,te+ti,tr+ts-ta,7,!0)):(this.v.setTripleAt(te-ti,tr-ts,te-ti+ta,tr-ts,te-ti,tr-ts,1,!0),this.v.setTripleAt(te-ti,tr+ts,te-ti,tr+ts-ta,te-ti,tr+ts,2,!0),this.v.setTripleAt(te+ti,tr+ts,te+ti-ta,tr+ts,te+ti,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:i},extendPrototype([DynamicPropertyContainer],t),t}();return{getShapeProp:function(te,tn,ta){var to;return 3===ta||4===ta?to=(3===ta?tn.pt:tn.ks).k.length?new h(te,tn,ta):new n(te,tn,ta):5===ta?to=new ts(te,tn):6===ta?to=new tr(te,tn):7===ta&&(to=new ti(te,tn)),to.k&&te.addDynamicProperty(to),to},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return h}}}(),Matrix=function(){var te=Math.cos,tr=Math.sin,ti=Math.tan,ts=Math.round;function s(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(ti){if(0===ti)return this;var ts=te(ti),tn=tr(ti);return this._t(ts,-tn,0,0,tn,ts,0,0,0,0,1,0,0,0,0,1)}function n(ti){if(0===ti)return this;var ts=te(ti),tn=tr(ti);return this._t(1,0,0,0,0,ts,-tn,0,0,tn,ts,0,0,0,0,1)}function o(ti){if(0===ti)return this;var ts=te(ti),tn=tr(ti);return this._t(ts,0,tn,0,0,1,0,0,-tn,0,ts,0,0,0,0,1)}function h(ti){if(0===ti)return this;var ts=te(ti),tn=tr(ti);return this._t(ts,-tn,0,0,tn,ts,0,0,0,0,1,0,0,0,0,1)}function l(te,tr){return this._t(1,tr,te,1,0,0)}function p(te,tr){return this.shear(ti(te),ti(tr))}function c(ts,tn){var ta=te(tn),to=tr(tn);return this._t(ta,to,0,0,-to,ta,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,ti(ts),1,0,0,0,0,1,0,0,0,0,1)._t(ta,-to,0,0,to,ta,0,0,0,0,1,0,0,0,0,1)}function f(te,tr,ti){return ti||0===ti||(ti=1),1===te&&1===tr&&1===ti?this:this._t(te,0,0,0,0,tr,0,0,0,0,ti,0,0,0,0,1)}function d(te,tr,ti,ts,tn,ta,to,th,tl,tp,tc,tf,tu,td,tm,ty){return this.props[0]=te,this.props[1]=tr,this.props[2]=ti,this.props[3]=ts,this.props[4]=tn,this.props[5]=ta,this.props[6]=to,this.props[7]=th,this.props[8]=tl,this.props[9]=tp,this.props[10]=tc,this.props[11]=tf,this.props[12]=tu,this.props[13]=td,this.props[14]=tm,this.props[15]=ty,this}function u(te,tr,ti){return ti=ti||0,0!==te||0!==tr||0!==ti?this._t(1,0,0,0,0,1,0,0,0,0,1,0,te,tr,ti,1):this}function m(te,tr,ti,ts,tn,ta,to,th,tl,tp,tc,tf,tu,td,tm,ty){var tg=this.props;if(1===te&&0===tr&&0===ti&&0===ts&&0===tn&&1===ta&&0===to&&0===th&&0===tl&&0===tp&&1===tc&&0===tf)return tg[12]=tg[12]*te+tg[15]*tu,tg[13]=tg[13]*ta+tg[15]*td,tg[14]=tg[14]*tc+tg[15]*tm,tg[15]*=ty,this._identityCalculated=!1,this;var tv=tg[0],tb=tg[1],t_=tg[2],tS=tg[3],tE=tg[4],tP=tg[5],tx=tg[6],tA=tg[7],tC=tg[8],tw=tg[9],tk=tg[10],tD=tg[11],tT=tg[12],tM=tg[13],tI=tg[14],tF=tg[15];return tg[0]=tv*te+tb*tn+t_*tl+tS*tu,tg[1]=tv*tr+tb*ta+t_*tp+tS*td,tg[2]=tv*ti+tb*to+t_*tc+tS*tm,tg[3]=tv*ts+tb*th+t_*tf+tS*ty,tg[4]=tE*te+tP*tn+tx*tl+tA*tu,tg[5]=tE*tr+tP*ta+tx*tp+tA*td,tg[6]=tE*ti+tP*to+tx*tc+tA*tm,tg[7]=tE*ts+tP*th+tx*tf+tA*ty,tg[8]=tC*te+tw*tn+tk*tl+tD*tu,tg[9]=tC*tr+tw*ta+tk*tp+tD*td,tg[10]=tC*ti+tw*to+tk*tc+tD*tm,tg[11]=tC*ts+tw*th+tk*tf+tD*ty,tg[12]=tT*te+tM*tn+tI*tl+tF*tu,tg[13]=tT*tr+tM*ta+tI*tp+tF*td,tg[14]=tT*ti+tM*to+tI*tc+tF*tm,tg[15]=tT*ts+tM*th+tI*tf+tF*ty,this._identityCalculated=!1,this}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||
vendor: 4,942 bytes, line 54
540!==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 g(te){for(var tr=0;tr<16;){if(te.props[tr]!==this.props[tr])return!1;tr+=1}return!0}function v(te){var tr;for(tr=0;tr<16;tr+=1)te.props[tr]=this.props[tr];return te}function b(te){var tr;for(tr=0;tr<16;tr+=1)this.props[tr]=te[tr]}function _(te,tr,ti){return{x:te*this.props[0]+tr*this.props[4]+ti*this.props[8]+this.props[12],y:te*this.props[1]+tr*this.props[5]+ti*this.props[9]+this.props[13],z:te*this.props[2]+tr*this.props[6]+ti*this.props[10]+this.props[14]}}function P(te,tr,ti){return te*this.props[0]+tr*this.props[4]+ti*this.props[8]+this.props[12]}function E(te,tr,ti){return te*this.props[1]+tr*this.props[5]+ti*this.props[9]+this.props[13]}function S(te,tr,ti){return te*this.props[2]+tr*this.props[6]+ti*this.props[10]+this.props[14]}function x(){var te=this.props[0]*this.props[5]-this.props[1]*this.props[4],tr=this.props[5]/te,ti=-this.props[1]/te,ts=-this.props[4]/te,tn=this.props[0]/te,ta=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/te,to=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/te,th=new Matrix;return th.props[0]=tr,th.props[1]=ti,th.props[4]=ts,th.props[5]=tn,th.props[12]=ta,th.props[13]=to,th}function A(te){return this.getInverseMatrix().applyToPointArray(te[0],te[1],te[2]||0)}function w(te){var tr,ti=te.length,ts=[];for(tr=0;tr<ti;tr+=1)ts[tr]=A(te[tr]);return ts}function C(te,tr,ti){var ts=createTypedArray("float32",6);if(this.isIdentity())ts[0]=te[0],ts[1]=te[1],ts[2]=tr[0],ts[3]=tr[1],ts[4]=ti[0],ts[5]=ti[1];else{var tn=this.props[0],ta=this.props[1],to=this.props[4],th=this.props[5],tl=this.props[12],tp=this.props[13];ts[0]=te[0]*tn+te[1]*to+tl,ts[1]=te[0]*ta+te[1]*th+tp,ts[2]=tr[0]*tn+tr[1]*to+tl,ts[3]=tr[0]*ta+tr[1]*th+tp,ts[4]=ti[0]*tn+ti[1]*to+tl,ts[5]=ti[0]*ta+ti[1]*th+tp}return ts}function k(te,tr,ti){return this.isIdentity()?[te,tr,ti]:[te*this.props[0]+tr*this.props[4]+ti*this.props[8]+this.props[12],te*this.props[1]+tr*this.props[5]+ti*this.props[9]+this.props[13],te*this.props[2]+tr*this.props[6]+ti*this.props[10]+this.props[14]]}function T(te,tr){if(this.isIdentity())return te+","+tr;var ti=this.props;return Math.round(100*(te*ti[0]+tr*ti[4]+ti[12]))/100+","+Math.round(100*(te*ti[1]+tr*ti[5]+ti[13]))/100}function D(){for(var te=0,tr=this.props,ti="matrix3d(";te<16;)ti+=ts(1e4*tr[te])/1e4+(15===te?")":","),te+=1;return ti}function M(te){return te<1e-6&&te>0||te>-.000001&&te<0?ts(1e4*te)/1e4:te}function F(){var te=this.props;return"matrix("+M(te[0])+","+M(te[1])+","+M(te[4])+","+M(te[5])+","+M(te[12])+","+M(te[13])+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=c,this.shear=l,this.scale=f,this.setTransform=d,this.translate=u,this.transform=m,this.applyToPoint=_,this.applyToX=P,this.applyToY=E,this.applyToZ=S,this.applyToPointArray=k,this.applyToTriplePoints=C,this.applyToPointStringified=T,this.toCSS=D,this.to2dCSS=F,this.clone=v,this.cloneFromProps=b,this.equals=g,this.inversePoints=w,this.inversePoint=A,this.getInverseMatrix=x,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(te){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(te){setLocationHref(te)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(te){setSubframeEnabled(te)}function setPrefix(te){setIdPrefix(te)}function loadAnimation(te){return!0===standalone&&(te.animationData=JSON.parse(animationData)),animationManager.loadAnimation(te)}function setQuality(te){if("string"==typeof te)switch(te){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(te)&&te>1&&setDefaultCurveSegments(te);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(te,tr){"expressions"===te&&setExpressionsPlugin(tr)}function getFactory(te){switch(te){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(te){for(var tr=queryString.split("&"),ti=0;ti<tr.length;
vendor: 7,036 bytes, line 54
54ti+=1){var ts=tr[ti].split("=");if(decodeURIComponent(ts[0])==te)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 te={},tr={};return te.registerModifier=function(te,ti){tr[te]||(tr[te]=ti)},te.getModifier=function(te,ti,ts){return new tr[te](ti,ts)},te}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(te){if(!this.closed){te.sh.container.addDynamicProperty(te.sh);var tr={shape:te.sh,data:te,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(tr),this.addShapeToModifier(tr),this._isAnimated&&te.setAsAnimated()}},ShapeModifier.prototype.init=function(te,tr){this.shapes=[],this.elem=te,this.initDynamicPropertyContainer(te),this.initModifierProperties(te,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(te,tr){this.s=PropertyFactory.getProp(te,tr.s,0,.01,this),this.e=PropertyFactory.getProp(te,tr.e,0,.01,this),this.o=PropertyFactory.getProp(te,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(te){te.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(te,tr,ti,ts,tn){var ta=[];tr<=1?ta.push({s:te,e:tr}):te>=1?ta.push({s:te-1,e:tr-1}):(ta.push({s:te,e:1}),ta.push({s:0,e:tr-1}));var to,th,tl=[],tp=ta.length;for(to=0;to<tp;to+=1)(th=ta[to]).e*tn<ts||th.s*tn>ts+ti||tl.push([th.s*tn<=ts?0:(th.s*tn-ts)/ti,th.e*tn>=ts+ti?1:(th.e*tn-ts)/ti]);return tl.length||tl.push([0,0]),tl},TrimModifier.prototype.releasePathsData=function(te){var tr,ti=te.length;for(tr=0;tr<ti;tr+=1)segmentsLengthPool.release(te[tr]);return te.length=0,te},TrimModifier.prototype.processShapes=function(te){if(this._mdf||te){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)>(tn=this.e.v>1?1+tr:this.e.v<0?0+tr:this.e.v+tr)){var ti=ts;ts=tn,tn=ti}ts=1e-4*Math.round(1e4*ts),tn=1e-4*Math.round(1e4*tn),this.sValue=ts,this.eValue=tn}else ts=this.sValue,tn=this.eValue;var ts,tn,ta,to,th,tl,tp,tc,tf,tu=this.shapes.length,td=0;if(tn===ts)for(to=0;to<tu;to+=1)this.shapes[to].localShapeCollection.releaseShapes(),this.shapes[to].shape._mdf=!0,this.shapes[to].shape.paths=this.shapes[to].localShapeCollection,this._mdf&&(this.shapes[to].pathsData.length=0);else if(1===tn&&0===ts||0===tn&&1===ts){if(this._mdf)for(to=0;to<tu;to+=1)this.shapes[to].pathsData.length=0,this.shapes[to].shape._mdf=!0}else{var tm,ty,tg=[];for(to=0;to<tu;to+=1)if((tm=this.shapes[to]).shape._mdf||this._mdf||te||2===this.m){if(tl=(ta=tm.shape.paths)._length,tf=0,!tm.shape._mdf&&tm.pathsData.length)tf=tm.totalShapeLength;else{for(tp=this.releasePathsData(tm.pathsData),th=0;th<tl;th+=1)tc=bez.getSegmentsLength(ta.shapes[th]),tp.push(tc),tf+=tc.totalLength;tm.totalShapeLength=tf,tm.pathsData=tp}td+=tf,tm.shape._mdf=!0}else tm.shape.paths=tm.localShapeCollection;var tv,tb=ts,t_=tn,tS=0;for(to=tu-1;to>=0;to-=1)if((tm=this.shapes[to]).shape._mdf){for((ty=tm.localShapeCollection).releaseShapes(),2===this.m&&tu>1?(tv=this.calculateShapeEdges(ts,tn,tm.totalShapeLength,tS,td),tS+=tm.totalShapeLength):tv=[[tb,t_]],tl=tv.length,th=0;th<tl;th+=1){tb=tv[th][0],t_=tv[th][1],tg.length=0,t_<=1?tg.push({s:tm.totalShapeLength*tb,e:tm.totalShapeLength*t_}):tb>=1?tg.push({s:tm.totalShapeLength*(tb-1),e:tm.totalShapeLength*(t_-1)}):(tg.push({s:tm.totalShapeLength*tb,e:tm.totalShapeLength}),tg.push({s:0,e:tm.totalShapeLength*(t_-1)}));var tE=this.addShapes(tm,tg[0]);if(tg[0].s!==tg[0].e){if(tg.length>1){if(tm.shape.paths.shapes[tm.shape.paths._length-1].c){var tP=tE.pop();this.addPaths(tE,ty),tE=this.addShapes(tm,tg[1],tP)}else this.addPaths(tE,ty),tE=this.addShapes(tm,tg[1])}this.addPaths(tE,ty)}}tm.shape.paths=ty}}},TrimModifier.prototype.addPaths=function(te,tr){var ti,ts=te.length;for(ti=0;ti<ts;ti+=1)tr.addShape(te[ti])},TrimModifier.prototype.addSegment=function(te,tr,ti,ts,tn,ta,to){tn.setXYAt(tr[0],tr[1],"o",ta),tn.setXYAt(ti[0],ti[1],"i",ta+1),to&&tn.setXYAt(te[0],te[1],"v",ta),tn.setXYAt(ts[0],ts[1],"v",ta+1)},TrimModifier.prototype.addSegmentFromArray=function(te,tr,ti,ts){tr.setXYAt(te[1],te[5],"o",ti),tr.setXYAt(te[2],te[6],"i",ti+1),ts&&tr.setXYAt(te[0],te[4],"v",ti),tr.setXYAt(te[3],te[7],"v",ti+1)},TrimModifier.prototype.addShapes=function(te,tr,ti){var ts,tn,ta,to,th,tl,tp,tc,tf=te.pathsData,tu=te.shape.paths.shapes,td=te.shape.paths._length,tm=0,ty=[],tg=!0;for(ti?(th=ti._length,tc=ti._length):(ti=shapePool.newElement(),th=0,tc=0),ty.push(ti),ts=0;ts<td;ts+=1){for(tl=tf[ts].lengths,ti.c=tu[ts].c,ta=tu[ts].c?tl.length:tl.length+1,tn=1;tn<ta;tn+=1)if(tm+(to=tl[tn-1]).addedLength<tr.s)tm+=to.addedLength,ti.c=!1;else{if(tm>tr.e){ti.c=!1;break}tr.s<=tm&&tr.e>=tm+to.addedLength?(this.addSegment(tu[ts].v[tn-1],tu[ts].o[tn-1],tu[ts].i[tn],tu[ts].v[tn],ti,th,tg),tg=!1):(tp=bez.getNewSegment(tu[ts].v[tn-1],tu[ts].v[tn],tu[ts].o[tn-1],tu[ts].i[tn],(tr.s-tm)/to.addedLength,(tr.e-tm)/to.addedLength,tl[t
vendor: 16,771 bytes, line 54
54n-1]),this.addSegmentFromArray(tp,ti,th,tg),tg=!1,ti.c=!1),tm+=to.addedLength,th+=1}if(tu[ts].c&&tl.length){if(to=tl[tn-1],tm<=tr.e){var tv=tl[tn-1].addedLength;tr.s<=tm&&tr.e>=tm+tv?(this.addSegment(tu[ts].v[tn-1],tu[ts].o[tn-1],tu[ts].i[0],tu[ts].v[0],ti,th,tg),tg=!1):(tp=bez.getNewSegment(tu[ts].v[tn-1],tu[ts].v[0],tu[ts].o[tn-1],tu[ts].i[0],(tr.s-tm)/tv,(tr.e-tm)/tv,tl[tn-1]),this.addSegmentFromArray(tp,ti,th,tg),tg=!1,ti.c=!1)}else ti.c=!1;tm+=to.addedLength,th+=1}if(ti._length&&(ti.setXYAt(ti.v[tc][0],ti.v[tc][1],"i",tc),ti.setXYAt(ti.v[ti._length-1][0],ti.v[ti._length-1][1],"o",ti._length-1)),tm>tr.e)break;ts<td-1&&(ti=shapePool.newElement(),tg=!0,ty.push(ti),th=0)}return ty},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(te,tr){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(te,tr.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(te,tr){var ti=tr/100,ts=[0,0],tn=te._length,ta=0;for(ta=0;ta<tn;ta+=1)ts[0]+=te.v[ta][0],ts[1]+=te.v[ta][1];ts[0]/=tn,ts[1]/=tn;var to,th,tl,tp,tc,tf,tu=shapePool.newElement();for(tu.c=te.c,ta=0;ta<tn;ta+=1)to=te.v[ta][0]+(ts[0]-te.v[ta][0])*ti,th=te.v[ta][1]+(ts[1]-te.v[ta][1])*ti,tl=te.o[ta][0]+-((ts[0]-te.o[ta][0])*ti),tp=te.o[ta][1]+-((ts[1]-te.o[ta][1])*ti),tc=te.i[ta][0]+-((ts[0]-te.i[ta][0])*ti),tf=te.i[ta][1]+-((ts[1]-te.i[ta][1])*ti),tu.setTripleAt(to,th,tl,tp,tc,tf,ta);return tu},PuckerAndBloatModifier.prototype.processShapes=function(te){var tr,ti,ts,tn,ta,to,th=this.shapes.length,tl=this.amount.v;if(0!==tl)for(ti=0;ti<th;ti+=1){if(to=(ta=this.shapes[ti]).localShapeCollection,ta.shape._mdf||this._mdf||te)for(to.releaseShapes(),ta.shape._mdf=!0,tr=ta.shape.paths.shapes,tn=ta.shape.paths._length,ts=0;ts<tn;ts+=1)to.addShape(this.processPath(tr[ts],tl));ta.shape.paths=ta.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var te=[0,0];function e(te,tr,ti){if(this.elem=te,this.frameId=-1,this.propType="transform",this.data=tr,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(ti||te),tr.p&&tr.p.s?(this.px=PropertyFactory.getProp(te,tr.p.x,0,0,this),this.py=PropertyFactory.getProp(te,tr.p.y,0,0,this),tr.p.z&&(this.pz=PropertyFactory.getProp(te,tr.p.z,0,0,this))):this.p=PropertyFactory.getProp(te,tr.p||{k:[0,0,0]},1,0,this),tr.rx){if(this.rx=PropertyFactory.getProp(te,tr.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(te,tr.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(te,tr.rz,0,degToRads,this),tr.or.k[0].ti){var ts,tn=tr.or.k.length;for(ts=0;ts<tn;ts+=1)tr.or.k[ts].to=null,tr.or.k[ts].ti=null}this.or=PropertyFactory.getProp(te,tr.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(te,tr.r||{k:0},0,degToRads,this);tr.sk&&(this.sk=PropertyFactory.getProp(te,tr.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(te,tr.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(te,tr.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(te,tr.s||{k:[100,100,100]},1,.01,this),tr.o?this.o=PropertyFactory.getProp(te,tr.o,0,.01,te):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(te){var tr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||tr,this.a&&te.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&te.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&te.skewFromAxis(-this.sk.v,this.sa.v),this.r?te.rotate(-this.r.v):te.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?te.translate(this.px.v,this.py.v,-this.pz.v):te.translate(this.px.v,this.py.v,0):te.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(ti=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)/ti,0),tn=this.p.getValueAtTime(this.p.keyframes[0].t/ti,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/ti,0),tn=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/ti,0)):(ts=this.p.pv,tn=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/ti,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){ts=[],tn=[];var ti,ts,tn,ta=this.px,to=this.py;ta._caching.lastFrame+ta.offsetTime<=ta.keyframes[0].t?(ts[0]=ta.getValueAtTime((ta.keyframes[0].t+.01)/ti,0),ts[1]=to.getValueAtTime((to.keyframes[0].t+.01)/ti,0),tn[0]=ta.getValueAtTime(ta.keyframes[0].t/ti,0),tn[1]=to.getValueAtTime(to.keyframes[0].t/ti,0)):ta._caching.lastFrame+ta.offsetTime>=ta.keyframes[ta.keyframes.length-1].t?(ts[0]=ta.getValueAtTime(ta.keyframes[ta.keyframes.length-1].t/ti,0),ts[1]=to.getValueAtTime(to.keyframes[to.keyframes.length-1].t/ti,0),tn[0]=ta.getValueAtTime((ta.keyframes[ta.keyframes.length-1].t-.01)/ti,0),tn[1]=to.getValueAtTime((to.keyframes[to.keyframes.length-1].t-.01)/ti,0)):(ts=[ta.pv,to.pv],tn[0]=ta.getValueAtTime((ta._caching.lastFrame+ta.offsetTime-.01)/ti,ta.offsetTime),tn[1]=to.getValueAtTime((to._caching.lastFrame+to.offsetTime-.01)/ti,to.offsetTime))}else ts=tn=te;this.v.rotate(-Math.atan2(ts[1]-tn[1],ts[0]-tn[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(te){this._addDynamicProperty(te),this.elem.addDynamicProperty(te),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(te,tr,ti){return new e(te,tr,ti)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(te,tr){return 1e5*Math.abs(te-tr)<=Math.min(Math.abs(te),Math.abs(tr))}function floatZero(te){return 1e-5>=Math.abs(te)}function lerp(te,tr,ti){return te*(1-ti)+tr*ti}function lerpPoint(te,tr,ti){return[lerp(te[0],tr[0],ti),lerp(te[1],tr[1],ti)]}function quadRoots(te,tr,ti){if(0===te)return[];var ts=tr*tr-4*te*ti;if(ts<0)return[];var tn=-tr/(2*te);if(0===ts)return[tn];var ta=Math.sqrt(ts)/(2*te);return[tn-ta,tn+ta]}function polynomialCoefficients(te,tr,ti,ts){return[3*tr-te-3*ti+ts,3*te-6*tr+3*ti,-3*te+3*tr,te]}function singlePoint(te){return new PolynomialBezier(te,te,te,te,!1)}function PolynomialBezier(te,tr,ti,ts,tn){tn&&pointEqual(te,tr)&&(tr=lerpPoint(te,ts,1/3)),tn&&pointEqual(ti,ts)&&(ti=lerpPoint(te,ts,2/3));var ta=polynomialCoefficients(te[0],tr[0],ti[0],ts[0]),to=polynomialCoefficients(te[1],tr[1],ti[1],ts[1]);this.a=[ta[0],to[0]],this.b=[ta[1],to[1]],this.c=[ta[2],to[2]],this.d=[ta[3],to[3]],this.points=[te,tr,ti,ts]}function extrema(te,tr){var ti=te.points[0][tr],ts=te.points[te.points.length-1][tr];if(ti>ts){var tn=ts;ts=ti,ti=tn}for(var ta=quadRoots(3*te.a[tr],2*te.b[tr],te.c[tr]),to=0;to<ta.length;to+=1)if(ta[to]>0&&ta[to]<1){var th=te.point(ta[to])[tr];th<ti?ti=th:th>ts&&(ts=th)}return{min:ti,max:ts}}function intersectData(te,tr,ti){var ts=te.boundingBox();return{cx:ts.cx,cy:ts.cy,width:ts.width,height:ts.height,bez:te,t:(tr+ti)/2,t1:tr,t2:ti}}function splitData(te){var tr=te.bez.split(.5);return[intersectData(tr[0],te.t1,te.t),intersectData(tr[1],te.t,te.t2)]}function boxIntersect(te,tr){return 2*Math.abs(te.cx-tr.cx)<te.width+tr.width&&2*Math.abs(te.cy-tr.cy)<te.height+tr.height}function intersectsImpl(te,tr,ti,ts,tn,ta){if(boxIntersect(te,tr)){if(ti>=ta||te.width<=ts&&te.height<=ts&&tr.width<=ts&&tr.height<=ts)tn.push([te.t,tr.t]);else{var to=splitData(te),th=splitData(tr);intersectsImpl(to[0],th[0],ti+1,ts,tn,ta),intersectsImpl(to[0],th[1],ti+1,ts,tn,ta),intersectsImpl(to[1],th[0],ti+1,ts,tn,ta),intersectsImpl(to[1],th[1],ti+1,ts,tn,ta)}}}function crossProduct(te,tr){return[te[1]*tr[2]-te[2]*tr[1],te[2]*tr[0]-te[0]*tr[2],te[0]*tr[1]-te[1]*tr[0]]}function lineIntersection(te,tr,ti,ts){var tn=[te[0],te[1],1],ta=[tr[0],tr[1],1],to=[ti[0],ti[1],1],th=[ts[0],ts[1],1],tl=crossProduct(crossProduct(tn,ta),crossProduct(to,th));return floatZero(tl[2])?null:[tl[0]/tl[2],tl[1]/tl[2]]}function polarOffset(te,tr,ti){return[te[0]+Math.cos(tr)*ti,te[1]-Math.sin(tr)*ti]}function pointDistance(te,tr){return Math.hypot(te[0]-tr[0],te[1]-tr[1])}function pointEqual(te,tr){return floatEqual(te[0],tr[0])&&floatEqual(te[1],tr[1])}function ZigZagModifier(){}function setPoint(te,tr,ti,ts,tn,ta,to){var th=ti-Math.PI/2,tl=ti+Math.PI/2,tp=tr[0]+Math.cos(ti)*ts*tn,tc=tr[1]-Math.sin(ti)*ts*tn;te.setTripleAt(tp,tc,tp+Math.cos(th)*ta,tc-Math.sin(th)*ta,tp+Math.cos(tl)*to,tc-Math.sin(tl)*to,te.length())}function getPerpendicularVector(te,tr){var ti=[tr[0]-te[0],tr[1]-te[1]],ts=-(.5*Math.PI);return[Math.cos(ts)*ti[0]-Math.sin(ts)*ti[1],Math.sin(ts)*ti[0]+Math.cos(ts)*ti[1]]}function getProjectingAngle(te,tr){var ti=0===tr?te.length()-1:tr-1,ts=(tr+1)%te.length(),tn=getPerpendicularVector(te.v[ti],te.v[ts]);return Math.atan2(0,1)-Math.atan2(tn[1],tn[0])}function zigZagCorner(te,tr,ti,ts,tn,ta,to){var th=getProjectingAngle(tr,ti),tl=tr.v[ti%tr._length],tp=tr.v[0===ti?tr._length-1:ti-1],tc=tr.v[(ti+1)%tr._length],tf=2===ta?Math.sqrt(Math.pow(tl[0]-tp[0],2)+Math.pow(tl[1]-tp[1],2)):0,tu=2===ta?Math.sqrt(Math.pow(tl[0]-tc[0],2)+Math.pow(tl[1]-tc[1],2)):0;setPoint(te,tr.v[ti%tr._length],th,to,ts,tu/(2*(tn+1)),tf/(2*(tn+1)),ta)}function zigZagSegment(te,tr,ti,ts,tn,ta){for(var to=0;to<ts;to+=1){var th=(to+1)/(ts+1),tl=2===tn?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,tp=tr.normalAngle(th);setPoint(te,tr.point(th),tp,ta,ti,tl/(2*(ts+1)),tl/(2*(ts+1)),tn),ta=-ta}return ta}function linearOffset(te,tr,ti){var ts=Math.atan2(tr[0]-te[0],tr[1]-te[1]);return[polarOffset(te,ts,ti),polarOffset(tr,ts,ti)]}function offsetSegment(te,tr){ti=(tl=linearOffset(te.points[0],te.points[1],tr))[0],ts=tl[1],tn=(tl=linearOffset(te.points[1],te.points[2],tr))[0],ta=tl[1],to=(tl=linearOffset(te.points[2],te.points[3],tr))[0],th=tl[1];var ti,ts,tn,ta,to,th,tl,tp=lineIntersection(ti,ts,tn,ta);null===tp&&(tp=ts);var tc=lineIntersection(to,th,tn,ta);return null===tc&&(tc=to),new PolynomialBezier(ti,tp,tc,th)}function joinLines(te,tr,ti,ts,tn){var ta=tr.points[3],to=ti.points[0];if(3===ts||pointEqual(ta,to))return ta;if(2===ts){var th=-tr.tangentAngle(1),tl=-ti.tangentAngle(0)+Math.PI,tp=lineIntersection(ta,polarOffset(ta,th+Math.PI/2,100),to,polarOffset(to,th+Math.PI/2,100)),tc=tp?pointDistance(tp,ta):pointDistance(ta,to)/2,tf=polarOffset(ta,th,2*tc*roundCorner);return te.setXYAt(tf[0],tf[1],"o",te.length()-1),tf=polarOffset(to,tl,2*tc*roundCorner),te.setTripleAt(to[0],to[1],to[0],to[1],tf[0],tf[1],te.length()),to}var tu=lineIntersection(pointEqual(ta,tr.points[2])?tr.points[0]:tr.points[2],ta,to,pointEqual(to,ti.points[1])?ti.points[3]:ti.points[1]);return tu&&pointDistance(tu,ta)<tn?(te.setTripleAt(tu[0],tu[1],tu[0],tu[1],tu[0],tu[1],te.length()),tu):ta}function getIntersection(te,tr){var ti=te.intersections(tr);return ti.length&&floatEqual(ti[0][0],1)&&ti.shift(),ti.length?ti[0]:null}function pruneSegmentIntersection(te,tr){var ti=te.slice(),ts=tr.slice(),tn=getIntersection(te[te.length-1],tr[0]);return tn&&(ti[te.length-1]=te[te.length-1].split(tn[0])[0],ts[0]=tr[0].split(tn[1])[1]),te.length>1&&tr.length>1&&(tn=getIntersection(te[0],tr[tr.length-1]))?[[te[0].split(tn[0])[0]],[tr[tr.length-1].split(tn[1])[1]]]:[ti,ts]}function pruneIntersections(te){for(var tr,ti=1;ti<te.length;ti+=1)tr=pruneSegmentIntersection(te[ti-1],te[ti]),te[ti-1]=tr[0],te[ti]=tr[1];return te.length>1&&(tr=pruneSegmentIntersection(te[te.length-1],te[0]),te[te.length-1]=tr[0],te[0]=tr[1]),te}function offsetSegmentSplit(te,tr){var ti,ts,tn,ta,to=te.inflectionPoints();if(0===to.length)return[offsetSegment(te,tr)];if(1===to.length||floatEqual(to[1],1))return ti=(tn=te.split(to[0]))[0],ts=tn[1],[offsetSegment(ti,tr),offsetSegment(ts,tr)];ti=(tn=te.split(to[0]))[0];var th=(to[1]-to[0])/(1-to[0]);return ta=(tn=tn[1].split(th))[0],ts=tn[1],[offsetSegment(ti,tr),offsetSegment(ta,tr),offsetSegment(ts,tr)]}function OffsetPathModifier(){}function getFontProperties(te){for(var tr=te.fStyle?te.fStyle.split(" "):[],ti="normal",ts="normal",tn=tr.length,ta=0;ta<tn;ta+=1)switch(tr[ta].toLowerCase()){case"italic":ts="italic";break;case"bold":ti="700";break;case"black":ti="900";break;case"medium":ti="500";break;case"regular":case"normal":ti="400";break;case"light":case"thin":ti="200"}return{style:ts,weight:te.fWeight||ti}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(te,tr){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(te,tr.c,0,null,this),this.o=PropertyFactory.getProp(te,tr.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(te,tr.tr,this),this.so=PropertyFactory.getProp(te,tr.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(te,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(te,tr,ti,ts,tn,ta){var to=ta?-1:1,th=ts.s.v[0]+(1-ts.s.v[0])*(1-tn),tl=ts.s.v[1]+(1-ts.s.v[1])*(1-tn);te.translate(ts.p.v[0]*to*tn,ts.p.v[1]*to*tn,ts.p.v[2]),tr.translate(-ts.a.v[0],-ts.a.v[1],ts.a.v[2]),tr.rotate(-ts.r.v*to*tn),tr.translate(ts.a.v[0],ts.a.v[1],ts.a.v[2]),ti.translate(-ts.a.v[0],-ts.a.v[1],ts.a.v[2]),ti.scale(ta?1/th:th,ta?1/tl:tl),ti.translate(ts.a.v[0],ts.a.v[1],ts.a.v[2])},RepeaterModifier.prototype.init=function(te,tr,ti,ts){for(this.elem=te,this.arr=tr,this.pos=ti,this.elemsData=ts,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(te),this.initModifierProperties(te,tr[ti]);ti>0;)ti-=1,this._elements.unshift(tr[ti]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(te){var tr,ti=te.length;for(tr=0;tr<ti;tr+=1)te[tr]._processed=!1,"gr"===te[tr].ty&&this.resetElements(te[tr].it)},RepeaterModifier.prototype.cloneElements=function(te){var tr=JSON.parse(JSON.stringify(te));return this.resetElements(tr),tr},RepeaterModifier.prototype.changeGroupRender=function(te,tr){var ti,ts=te.length;for(ti=0;ti<ts;ti+=1)te[ti]._render=tr,"gr"===te[ti].ty&&this.changeGroupRender(te[ti].it,tr)},RepeaterModifier.prototype.processShapes=function(te){var tr,ti,ts,tn,ta,to=!1;if(this._mdf||te){var th,tl=Math.ceil(this.c.v);if(this._groups.length<tl){for(;this._groups.length<tl;){var tp={it:this.cloneElements(this._elements),ty:"gr"};tp.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}]}
vendor: 9,690 bytes, line 54
54,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,tp),this._groups.splice(0,0,tp),this._currentCopies+=1}this.elem.reloadShapes(),to=!0}for(ta=0,ts=0;ts<=this._groups.length-1;ts+=1){if(th=ta<tl,this._groups[ts]._render=th,this.changeGroupRender(this._groups[ts].it,th),!th){var tc=this.elemsData[ts].it,tf=tc[tc.length-1];0!==tf.transform.op.v?(tf.transform.op._mdf=!0,tf.transform.op.v=0):tf.transform.op._mdf=!1}ta+=1}this._currentCopies=tl;var tu=this.o.v,td=tu%1,tm=tu>0?Math.floor(tu):Math.ceil(tu),ty=this.pMatrix.props,tg=this.rMatrix.props,tv=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var tb,t_,tS=0;if(tu>0){for(;tS<tm;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),tS+=1;td&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,td,!1),tS+=td)}else if(tu<0){for(;tS>tm;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),tS-=1;td&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-td,!0),tS-=td)}for(ts=1===this.data.m?0:this._currentCopies-1,tn=1===this.data.m?1:-1,ta=this._currentCopies;ta;){if(t_=(ti=(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!==tS){for((0!==ts&&1===tn||ts!==this._currentCopies-1&&-1===tn)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.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]),this.matrix.transform(tv[0],tv[1],tv[2],tv[3],tv[4],tv[5],tv[6],tv[7],tv[8],tv[9],tv[10],tv[11],tv[12],tv[13],tv[14],tv[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]),tb=0;tb<t_;tb+=1)ti[tb]=this.matrix.props[tb];this.matrix.reset()}else for(this.matrix.reset(),tb=0;tb<t_;tb+=1)ti[tb]=this.matrix.props[tb];tS+=1,ta-=1,ts+=tn}}else for(ta=this._currentCopies,ts=0,tn=1;ta;)ti=(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,ta-=1,ts+=tn;return to},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(te,tr){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(te,tr.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(te,tr){var ti,ts=shapePool.newElement();ts.c=te.c;var tn,ta,to,th,tl,tp,tc,tf,tu,td,tm,ty,tg=te._length,tv=0;for(ti=0;ti<tg;ti+=1)tn=te.v[ti],to=te.o[ti],ta=te.i[ti],tn[0]===to[0]&&tn[1]===to[1]&&tn[0]===ta[0]&&tn[1]===ta[1]?0!==ti&&ti!==tg-1||te.c?(th=0===ti?te.v[tg-1]:te.v[ti-1],tp=(tl=Math.sqrt(Math.pow(tn[0]-th[0],2)+Math.pow(tn[1]-th[1],2)))?Math.min(tl/2,tr)/tl:0,tc=tm=tn[0]+(th[0]-tn[0])*tp,tf=ty=tn[1]-(tn[1]-th[1])*tp,tu=tc-(tc-tn[0])*roundCorner,td=tf-(tf-tn[1])*roundCorner,ts.setTripleAt(tc,tf,tu,td,tm,ty,tv),tv+=1,th=ti===tg-1?te.v[0]:te.v[ti+1],tp=(tl=Math.sqrt(Math.pow(tn[0]-th[0],2)+Math.pow(tn[1]-th[1],2)))?Math.min(tl/2,tr)/tl:0,tc=tu=tn[0]+(th[0]-tn[0])*tp,tf=td=tn[1]+(th[1]-tn[1])*tp,tm=tc-(tc-tn[0])*roundCorner,ty=tf-(tf-tn[1])*roundCorner,ts.setTripleAt(tc,tf,tu,td,tm,ty,tv)):ts.setTripleAt(tn[0],tn[1],to[0],to[1],ta[0],ta[1],tv):ts.setTripleAt(te.v[ti][0],te.v[ti][1],te.o[ti][0],te.o[ti][1],te.i[ti][0],te.i[ti][1],tv),tv+=1;return ts},RoundCornersModifier.prototype.processShapes=function(te){var tr,ti,ts,tn,ta,to,th=this.shapes.length,tl=this.rd.v;if(0!==tl)for(ti=0;ti<th;ti+=1){if(to=(ta=this.shapes[ti]).localShapeCollection,ta.shape._mdf||this._mdf||te)for(to.releaseShapes(),ta.shape._mdf=!0,tr=ta.shape.paths.shapes,tn=ta.shape.paths._length,ts=0;ts<tn;ts+=1)to.addShape(this.processPath(tr[ts],tl));ta.shape.paths=ta.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(te){return[((this.a[0]*te+this.b[0])*te+this.c[0])*te+this.d[0],((this.a[1]*te+this.b[1])*te+this.c[1])*te+this.d[1]]},PolynomialBezier.prototype.derivative=function(te){return[(3*te*this.a[0]+2*this.b[0])*te+this.c[0],(3*te*this.a[1]+2*this.b[1])*te+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(te){var tr=this.derivative(te);return Math.atan2(tr[1],tr[0])},PolynomialBezier.prototype.normalAngle=function(te){var tr=this.derivative(te);return Math.atan2(tr[0],tr[1])},PolynomialBezier.prototype.inflectionPoints=function(){var te=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(te))return[];var tr=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/te,ti=tr*tr-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/te;if(ti<0)return[];var ts=Math.sqrt(ti);return floatZero(ts)?ts>0&&ts<1?[tr]:[]:[tr-ts,tr+ts].filter(function(te){return te>0&&te<1})},PolynomialBezier.prototype.split=function(te){if(te<=0)return[singlePoint(this.points[0]),this];if(te>=1)return[this,singlePoint(this.points[this.points.length-1])];var tr=lerpPoint(this.points[0],this.points[1],te),ti=lerpPoint(this.points[1],this.points[2],te),ts=lerpPoint(this.points[2],this.points[3],te),tn=lerpPoint(tr,ti,te),ta=lerpPoint(ti,ts,te),to=lerpPoint(tn,ta,te);return[new PolynomialBezier(this.points[0],tr,tn,to,!0),new PolynomialBezier(to,ta,ts,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var te=this.bounds();return{left:te.x.min,right:te.x.max,top:te.y.min,bottom:te.y.max,width:te.x.max-te.x.min,height:te.y.max-te.y.min,cx:(te.x.max+te.x.min)/2,cy:(te.y.max+te.y.min)/2}},PolynomialBezier.prototype.intersections=function(te,tr,ti){void 0===tr&&(tr=2),void 0===ti&&(ti=7);var ts=[];return intersectsImpl(intersectData(this,0,1),intersectData(te,0,1),0,tr,ts,ti),ts},PolynomialBezier.shapeSegment=function(te,tr){var ti=(tr+1)%te.length();return new PolynomialBezier(te.v[tr],te.o[tr],te.i[ti],te.v[ti],!0)},PolynomialBezier.shapeSegmentInverted=function(te,tr){var ti=(tr+1)%te.length();return new PolynomialBezier(te.v[ti],te.i[ti],te.o[tr],te.v[tr],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(te,tr){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(te,tr.s,0,null,this),this.frequency=PropertyFactory.getProp(te,tr.r,0,null,this),this.pointsType=PropertyFactory.getProp(te,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(te,tr,ti,ts){var tn=te._length,ta=shapePool.newElement();if(ta.c=te.c,te.c||(tn-=1),0===tn)return ta;var to=-1,th=PolynomialBezier.shapeSegment(te,0);zigZagCorner(ta,te,0,tr,ti,ts,to);for(var tl=0;tl<tn;tl+=1)to=zigZagSegment(ta,th,tr,ti,ts,-to),th=tl!==tn-1||te.c?PolynomialBezier.shapeSegment(te,(tl+1)%tn):null,zigZagCorner(ta,te,tl+1,tr,ti,ts,to);return ta},ZigZagModifier.prototype.processShapes=function(te){var tr,ti,ts,tn,ta,to,th=this.shapes.length,tl=this.amplitude.v,tp=Math.max(0,Math.round(this.frequency.v)),tc=this.pointsType.v;if(0!==tl)for(ti=0;ti<th;ti+=1){if(to=(ta=this.shapes[ti]).localShapeCollection,ta.shape._mdf||this._mdf||te)for(to.releaseShapes(),ta.shape._mdf=!0,tr=ta.shape.paths.shapes,tn=ta.shape.paths._length,ts=0;ts<tn;ts+=1)to.addShape(this.processPath(tr[ts],tl,tp,tc));ta.shape.paths=ta.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(te,tr){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(te,tr.a,0,null,this),this.miterLimit=PropertyFactory.getProp(te,tr.ml,0,null,this),this.lineJoin=tr.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(te,tr,ti,ts){var tn=shapePool.newElement();tn.c=te.c;var ta,to,th,tl=te.length();te.c||(tl-=1);var tp=[];for(ta=0;ta<tl;ta+=1)th=PolynomialBezier.shapeSegment(te,ta),tp.push(offsetSegmentSplit(th,tr));if(!te.c)for(ta=tl-1;ta>=0;ta-=1)th=PolynomialBezier.shapeSegmentInverted(te,ta),tp.push(offsetSegmentSplit(th,tr));tp=pruneIntersections(tp);var tc=null,tf=null;for(ta=0;ta<tp.length;ta+=1){var tu=tp[ta];for(tf&&(tc=joinLines(tn,tf,tu[0],ti,ts)),tf=tu[tu.length-1],to=0;to<tu.length;to+=1)th=tu[to],tc&&pointEqual(th.points[0],tc)?tn.setXYAt(th.points[1][0],th.points[1][1],"o",tn.length()-1):tn.setTripleAt(th.points[0][0],th.points[0][1],th.points[1][0],th.points[1][1],th.points[0][0],th.points[0][1],tn.length()),tn.setTripleAt(th.points[3][0],th.points[3][1],th.points[3][0],th.points[3][1],th.points[2][0],th.points[2][1],tn.length()),tc=th.points[3]}return tp.length&&joinLines(tn,tf,tp[0][0],ti,ts),tn},OffsetPathModifier.prototype.processShapes=function(te){var tr,ti,ts,tn,ta,to,th=this.shapes.length,tl=this.amount.v,tp=this.miterLimit.v,tc=this.lineJoin;if(0!==tl)for(ti=0;ti<th;ti+=1){if(to=(ta=this.shapes[ti]).localShapeCollection,ta.shape._mdf||this._mdf||te)for(to.releaseShapes(),ta.shape._mdf=!0,tr=ta.shape.paths.shapes,tn=ta.shape.paths._length,ts=0;ts<tn;ts+=1)to.addShape(this.processPath(tr[ts],tl,tc,tp));ta.shape.paths=ta.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var te={w:0,size:0,shapes:[],data:{shapes:[]}},tr=[];
vendor: 5,945 bytes, line 54
54tr=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 ti=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],ts=[65039,8205];function s(te,tr){var ti=createTag("span");ti.setAttribute("aria-hidden",!0),ti.style.fontFamily=tr;var ts=createTag("span");ts.innerText="giItT1WQy@!-/#",ti.style.position="absolute",ti.style.left="-10000px",ti.style.top="-10000px",ti.style.fontSize="300px",ti.style.fontVariant="normal",ti.style.fontStyle="normal",ti.style.fontWeight="normal",ti.style.letterSpacing="0",ti.appendChild(ts),document.body.appendChild(ti);var tn=ts.offsetWidth;return ts.style.fontFamily=function(te){var tr,ti=te.split(","),ts=ti.length,tn=[];for(tr=0;tr<ts;tr+=1)"sans-serif"!==ti[tr]&&"monospace"!==ti[tr]&&tn.push(ti[tr]);return tn.join(",")}(te)+", "+tr,{node:ts,w:tn,parent:ti}}function a(te,tr){var ti,ts=document.body&&tr?"svg":"canvas",tn=getFontProperties(te);if("svg"===ts){var ta=createNS("text");ta.style.fontSize="100px",ta.setAttribute("font-family",te.fFamily),ta.setAttribute("font-style",tn.style),ta.setAttribute("font-weight",tn.weight),ta.textContent="1",te.fClass?(ta.style.fontFamily="inherit",ta.setAttribute("class",te.fClass)):ta.style.fontFamily=te.fFamily,tr.appendChild(ta),ti=ta}else{var to=new OffscreenCanvas(500,500).getContext("2d");to.font=tn.style+" "+tn.weight+" 100px "+te.fFamily,ti=to}return{measureText:function(te){return"svg"===ts?(ti.textContent=te,ti.getComputedTextLength()):ti.measureText(te).width}}}var n=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)};n.isModifier=function(te,tr){var ts=te.toString(16)+tr.toString(16);return -1!==ti.indexOf(ts)},n.isZeroWidthJoiner=function(te,tr){return tr?te===ts[0]&&tr===ts[1]:te===ts[1]},n.isCombinedCharacter=function(te){return -1!==tr.indexOf(te)};var tn={addChars:function(te){if(te){this.chars||(this.chars=[]);var tr,ti,ts,tn=te.length,ta=this.chars.length;for(tr=0;tr<tn;tr+=1){for(ti=0,ts=!1;ti<ta;)this.chars[ti].style===te[tr].style&&this.chars[ti].fFamily===te[tr].fFamily&&this.chars[ti].ch===te[tr].ch&&(ts=!0),ti+=1;ts||(this.chars.push(te[tr]),ta+=1)}}},addFonts:function(te,tr){if(te){if(this.chars)return this.isLoaded=!0,void(this.fonts=te.list);if(!document.body)return this.isLoaded=!0,te.list.forEach(function(te){te.helper=a(te),te.cache={}}),void(this.fonts=te.list);var ti,ts=te.list,tn=ts.length,ta=tn;for(ti=0;ti<tn;ti+=1){var to,th,tl=!0;if(ts[ti].loaded=!1,ts[ti].monoCase=s(ts[ti].fFamily,"monospace"),ts[ti].sansCase=s(ts[ti].fFamily,"sans-serif"),ts[ti].fPath){if("p"===ts[ti].fOrigin||3===ts[ti].origin){if((to=document.querySelectorAll('style[f-forigin="p"][f-family="'+ts[ti].fFamily+'"], style[f-origin="3"][f-family="'+ts[ti].fFamily+'"]')).length>0&&(tl=!1),tl){var tp=createTag("style");tp.setAttribute("f-forigin",ts[ti].fOrigin),tp.setAttribute("f-origin",ts[ti].origin),tp.setAttribute("f-family",ts[ti].fFamily),tp.type="text/css",tp.innerText="@font-face {font-family: "+ts[ti].fFamily+"; font-style: normal; src: url('"+ts[ti].fPath+"');}",tr.appendChild(tp)}}else if("g"===ts[ti].fOrigin||1===ts[ti].origin){for(to=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),th=0;th<to.length;th+=1)-1!==to[th].href.indexOf(ts[ti].fPath)&&(tl=!1);if(tl){var tc=createTag("link");tc.setAttribute("f-forigin",ts[ti].fOrigin),tc.setAttribute("f-origin",ts[ti].origin),tc.type="text/css",tc.rel="stylesheet",tc.href=ts[ti].fPath,document.body.appendChild(tc)}}else if("t"===ts[ti].fOrigin||2===ts[ti].origin){for(to=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),th=0;th<to.length;th+=1)ts[ti].fPath===to[th].src&&(tl=!1);if(tl){var tf=createTag("link");tf.setAttribute("f-forigin",ts[ti].fOrigin),tf.setAttribute("f-origin",ts[ti].origin),tf.setAttribute("rel","stylesheet"),tf.setAttribute("href",ts[ti].fPath),tr.appendChild(tf)}}}else ts[ti].loaded=!0,ta-=1;ts[ti].helper=a(ts[ti],tr),ts[ti].cache={},this.fonts.push(ts[ti])}0===ta?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(tr,ti,ts){for(var tn=0,ta=this.chars.length;tn<ta;){if(this.chars[tn].ch===tr&&this.chars[tn].style===ti&&this.chars[tn].fFamily===ts)return this.chars[tn];tn+=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,ti,ts)),te},getFontByName:function(te){for(var tr=0,ti=this.fonts.length;tr<ti;){if(this.fonts[tr].fName===te)return this.fonts[tr];tr+=1}return this.fonts[0]},measureText:function(te,tr,ti){var ts=this.getFontByName(tr),tn=te.charCodeAt(0);if(!ts.cache[tn+1]){var ta=ts.helper;if(" "===te){var to=ta.measureText("|"+te+"|"),th=ta.measureText("||");ts.cache[tn+1]=(to-th)/100}else ts.cache[tn+1]=ta.measureText(te)/100}return ts.cache[tn+1]*ti},checkLoadedFonts:function(){var te,tr,ti,ts=this.fonts.length,tn=ts;for(te=0;te<ts;te+=1)this.fonts[te].loaded?tn-=1:"n"===this.fonts[te].fOrigin||0===this.fonts[te].origin?this.fonts[te].loaded=!0:(tr=this.fonts[te].monoCase.node,ti=this.fonts[te].monoCase.w,tr.offsetWidth!==ti?(tn-=1,this.fonts[te].loaded=!0):(tr=this.fonts[te].sansCase.node,ti=this.fonts[te].sansCase.w,tr.offsetWidth!==ti&&(tn-=1,this.fonts[te].loaded=!0)),this.fonts[te].loaded&&(this.fonts[te].sansCase.parent.parentNode.removeChild(this.fonts[te].sansCase.parent),this.fonts[te].monoCase.parent.parentNode.removeChild(this.fonts[te].monoCase.parent)));0!==tn&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return n.prototype=tn,n}();
vendor: 5,361 bytes, line 54
54function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(te){-1===this.renderableComponents.indexOf(te)&&this.renderableComponents.push(te)},removeRenderableComponent:function(te){-1!==this.renderableComponents.indexOf(te)&&this.renderableComponents.splice(this.renderableComponents.indexOf(te),1)},prepareRenderableFrame:function(te){this.checkLayerLimits(te)},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(te){this.data.ip-this.data.st<=te&&this.data.op-this.data.st>te?!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 te,tr=this.renderableComponents.length;for(te=0;te<tr;te+=1)this.renderableComponents[te].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(te){return blendModeEnums[te]||""});function SliderEffect(te,tr,ti){this.p=PropertyFactory.getProp(tr,te.v,0,0,ti)}function AngleEffect(te,tr,ti){this.p=PropertyFactory.getProp(tr,te.v,0,0,ti)}function ColorEffect(te,tr,ti){this.p=PropertyFactory.getProp(tr,te.v,1,0,ti)}function PointEffect(te,tr,ti){this.p=PropertyFactory.getProp(tr,te.v,1,0,ti)}function LayerIndexEffect(te,tr,ti){this.p=PropertyFactory.getProp(tr,te.v,0,0,ti)}function MaskIndexEffect(te,tr,ti){this.p=PropertyFactory.getProp(tr,te.v,0,0,ti)}function CheckboxEffect(te,tr,ti){this.p=PropertyFactory.getProp(tr,te.v,0,0,ti)}function NoValueEffect(){this.p={}}function EffectsManager(te,tr){var ti,ts=te.ef||[];this.effectElements=[];var tn,ta=ts.length;for(ti=0;ti<ta;ti+=1)tn=new GroupEffect(ts[ti],tr),this.effectElements.push(tn)}function GroupEffect(te,tr){this.init(te,tr)}function BaseElement(){}function FrameElement(){}function FootageElement(te,tr,ti){this.initFrame(),this.initRenderable(),this.assetData=tr.getAssetData(te.refId),this.footageData=tr.imageLoader.getAsset(this.assetData),this.initBaseData(te,tr,ti)}function AudioElement(te,tr,ti){this.initFrame(),this.initRenderable(),this.assetData=tr.getAssetData(te.refId),this.initBaseData(te,tr,ti),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=te.tm?PropertyFactory.getProp(this,te.tm,0,tr.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,te.au&&te.au.lv?te.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(te,tr,ti){this.data=te,this.element=tr,this.globalData=ti,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var ts,tn,ta,to=this.globalData.defs,th=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(th),this.solidPath="";var tl,tp,tc,tf,tu,td,tm=this.masksProperties,ty=0,tg=[],tv=createElementID(),tb="clipPath",t_="clip-path";for(tn=0;tn<th;tn+=1)if(("a"!==tm[tn].mode&&"n"!==tm[tn].mode||tm[tn].inv||100!==tm[tn].o.k||tm[tn].o.x)&&(tb="mask",t_="mask"),"s"!==tm[tn].mode&&"i"!==tm[tn].mode||0!==ty?tc=null:((tc=createNS("rect")).setAttribute("fill","#ffffff"),tc.setAttribute("width",this.element.comp.data.w||0),tc.setAttribute("height",this.element.comp.data.h||0),tg.push(tc)),ta=createNS("path"),"n"===tm[tn].mode)this.viewData[tn]={op:PropertyFactory.getProp(this.element,tm[tn].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,tm[tn],3),elem:ta,lastPath:""},to.appendChild(ta);else{if(ty+=1,ta.setAttribute("fill","s"===tm[tn].mode?"#000000":"#ffffff"),ta.setAttribute("clip-rule","nonzero"),0!==tm[tn].x.k?(tb="mask",t_="mask",td=PropertyFactory.getProp(this.element,tm[tn].x,0,null,this.element),ts=createElementID(),(tf=createNS("filter")).setAttribute("id",ts),(tu=createNS("feMorphology")).setAttribute("operator","erode"),tu.setAttribute("in","SourceGraphic"),tu.setAttribute("radius","0"),tf.appendChild(tu),to.appendChild(tf),ta.setAttribute("stroke","s"===tm[tn].mode?"#000000":"#ffffff")):(tu=null,td=null),this.storedData[tn]={elem:ta,x:td,expan:tu,lastPath:"",lastOperator:"",filterId:ts,lastRadius:0},"i"===tm[tn].mode){tp=tg.length;var tS=createNS("g");for(tl=0;tl<tp;tl+=1)tS.appendChild(tg[tl]);var tE=createNS("mask");tE.setAttribute("mask-type","alpha"),tE.setAttribute("id",tv+"_"+ty),tE.appendChild(ta),to.appendChild(tE),tS.setAttribute("mask","url("+getLocationHref()+"#"+tv+"_"+ty+")"),tg.length=0,tg.push(tS)}else tg.push(ta);
vendor: 4,257 bytes, line 54
54tm[tn].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[tn]={elem:ta,lastPath:"",op:PropertyFactory.getProp(this.element,tm[tn].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,tm[tn],3),invRect:tc},this.viewData[tn].prop.k||this.drawPath(tm[tn],this.viewData[tn].prop.v,this.viewData[tn])}for(this.maskElement=createNS(tb),th=tg.length,tn=0;tn<th;tn+=1)this.maskElement.appendChild(tg[tn]);ty>0&&(this.maskElement.setAttribute("id",tv),this.element.maskedElement.setAttribute(t_,"url("+getLocationHref()+"#"+tv+")"),to.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(te,tr){this.data=te,this.effectElements=[],this.initDynamicPropertyContainer(tr);var ti,ts,tn=this.data.ef.length,ta=this.data.ef;for(ti=0;ti<tn;ti+=1){switch(ts=null,ta[ti].ty){case 0:ts=new SliderEffect(ta[ti],tr,this);break;case 1:ts=new AngleEffect(ta[ti],tr,this);break;case 2:ts=new ColorEffect(ta[ti],tr,this);break;case 3:ts=new PointEffect(ta[ti],tr,this);break;case 4:case 7:ts=new CheckboxEffect(ta[ti],tr,this);break;case 10:ts=new LayerIndexEffect(ta[ti],tr,this);break;case 11:ts=new MaskIndexEffect(ta[ti],tr,this);break;case 5:ts=new EffectsManager(ta[ti],tr,this);break;default:ts=new NoValueEffect(ta[ti],tr,this)}ts&&this.effectElements.push(ts)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var te=0,tr=this.data.masksProperties.length;te<tr;){if("n"!==this.data.masksProperties[te].mode&&!1!==this.data.masksProperties[te].cl)return!0;te+=1}return!1},initExpressions:function(){var te=getExpressionInterfaces();if(te){var tr=te("layer"),ti=te("effects"),ts=te("shape"),tn=te("text"),ta=te("comp");this.layerInterface=tr(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var to=ti.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(to),0===this.data.ty||this.data.xt?this.compInterface=ta(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=tn(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var te=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=te},initBaseData:function(te,tr,ti){this.globalData=tr,this.comp=ti,this.data=te,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(te,tr){var ti,ts=this.dynamicProperties.length;for(ti=0;ti<ts;ti+=1)(tr||this._isParent&&"transform"===this.dynamicProperties[ti].propType)&&(this.dynamicProperties[ti].getValue(),this.dynamicProperties[ti]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(te){-1===this.dynamicProperties.indexOf(te)&&this.dynamicProperties.push(te)}},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 te=getExpressionInterfaces();if(te){var tr=te("footage");this.layerInterface=tr(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(te){if(this.prepareRenderableFrame(te,!0),this.prepareProperties(te,!0),this.tm._placeholder)this._currentTime=te/this.data.sr;else{var tr=this.tm.v;this._currentTime=tr}this._volume=this.lv.v[0];var ti=this._volume*this._volumeMultiplier;this._previousVolume!==ti&&(this._previousVolume=ti,this.audio.volume(ti))}
vendor: 5,501 bytes, line 54
54,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(te){this.audio.rate(te)},AudioElement.prototype.volume=function(te){this._volumeMultiplier=te,this._previousVolume=te*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(te){var tr,ti,ts=this.layers.length;for(this.completeLayers=!0,tr=ts-1;tr>=0;tr-=1)this.elements[tr]||(ti=this.layers[tr]).ip-ti.st<=te-this.layers[tr].st&&ti.op-ti.st>te-this.layers[tr].st&&this.buildItem(tr),this.completeLayers=!!this.elements[tr]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(te){switch(te.ty){case 2:return this.createImage(te);case 0:return this.createComp(te);case 1:return this.createSolid(te);case 3:default:return this.createNull(te);case 4:return this.createShape(te);case 5:return this.createText(te);case 6:return this.createAudio(te);case 13:return this.createCamera(te);case 15:return this.createFootage(te)}},BaseRenderer.prototype.createCamera=function(){throw Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(te){return new AudioElement(te,this.globalData,this)},BaseRenderer.prototype.createFootage=function(te){return new FootageElement(te,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var te,tr=this.layers.length;for(te=0;te<tr;te+=1)this.buildItem(te);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(te){this.completeLayers=!1;var tr,ti,ts=te.length,tn=this.layers.length;for(tr=0;tr<ts;tr+=1)for(ti=0;ti<tn;){if(this.layers[ti].id===te[tr].id){this.layers[ti]=te[tr];break}ti+=1}},BaseRenderer.prototype.setProjectInterface=function(te){this.globalData.projectInterface=te},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(te,tr,ti){for(var ts=this.elements,tn=this.layers,ta=0,to=tn.length;ta<to;)tn[ta].ind==tr&&(ts[ta]&&!0!==ts[ta]?(ti.push(ts[ta]),ts[ta].setAsParent(),void 0!==tn[ta].parent?this.buildElementParenting(te,tn[ta].parent,ti):te.setHierarchy(ti)):(this.buildItem(ta),this.addPendingElement(te))),ta+=1},BaseRenderer.prototype.addPendingElement=function(te){this.pendingElements.push(te)},BaseRenderer.prototype.searchExtraCompositions=function(te){var tr,ti=te.length;for(tr=0;tr<ti;tr+=1)if(te[tr].xt){var ts=this.createComp(te[tr]);ts.initExpressions(),this.globalData.projectInterface.registerComposition(ts)}},BaseRenderer.prototype.getElementByPath=function(te){var tr,ti=te.shift();if("number"==typeof ti)tr=this.elements[ti];else{var ts,tn=this.elements.length;for(ts=0;ts<tn;ts+=1)if(this.elements[ts].data.nm===ti){tr=this.elements[ts];break}}return 0===te.length?tr:tr.getElementByPath(te)},BaseRenderer.prototype.setupGlobalData=function(te,tr){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(te.chars),this.globalData.fontManager.addFonts(te.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=te.fr,this.globalData.nm=te.nm,this.globalData.compSize={w:te.w,h:te.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 te,tr=this.finalTransform.mat,ti=0,ts=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;ti<ts;){if(this.hierarchy[ti].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}ti+=1}if(this.finalTransform._matMdf)for(te=this.finalTransform.mProp.v.props,tr.cloneFromProps(te),ti=0;ti<ts;ti+=1)te=this.hierarchy[ti].finalTransform.mProp.v.props,tr.transform(te[0],te[1],te[2],te[3],te[4],te[5],te[6],te[7],te[8],te[9],te[10],te[11],te[12],te[13],te[14],te[15])}},globalToLocal:function(te){var tr=[];tr.push(this.finalTransform);for(var ti,ts=!0,tn=this.comp;ts;)tn.finalTransform?(tn.data.hasMask&&tr.splice(0,0,tn.finalTransform),tn=tn.comp):ts=!1;var ta,to=tr.length;for(ti=0;ti<to;
vendor: 4,112 bytes, line 54
54ti+=1)ta=tr[ti].mat.applyToPointArray(0,0,0),te=[te[0]-ta[0],te[1]-ta[1],0];return te},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(te){return this.viewData[te].prop},MaskElement.prototype.renderFrame=function(te){var tr,ti=this.element.finalTransform.mat,ts=this.masksProperties.length;for(tr=0;tr<ts;tr+=1)if((this.viewData[tr].prop._mdf||te)&&this.drawPath(this.masksProperties[tr],this.viewData[tr].prop.v,this.viewData[tr]),(this.viewData[tr].op._mdf||te)&&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||te)&&this.viewData[tr].invRect.setAttribute("transform",ti.getInverseMatrix().to2dCSS()),this.storedData[tr].x&&(this.storedData[tr].x._mdf||te))){var tn=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+")")),tn.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+" "},MaskElement.prototype.drawPath=function(te,tr,ti){var ts,tn,ta=" M"+tr.v[0][0]+","+tr.v[0][1];for(tn=tr._length,ts=1;ts<tn;ts+=1)ta+=" 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&&tn>1&&(ta+=" 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]),ti.lastPath!==ta){var to="";ti.elem&&(tr.c&&(to=te.inv?this.solidPath+ta:ta),ti.elem.setAttribute("d",to)),ti.lastPath=ta}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){return{createFilter:function(te,tr){var ti=createNS("filter");return ti.setAttribute("id",te),!0!==tr&&(ti.setAttribute("filterUnits","objectBoundingBox"),ti.setAttribute("x","0%"),ti.setAttribute("y","0%"),ti.setAttribute("width","100%"),ti.setAttribute("height","100%")),ti},createAlphaToLuminanceFilter:function(){var te=createNS("feColorMatrix");return te.setAttribute("type","matrix"),te.setAttribute("color-interpolation-filters","sRGB"),te.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),te}}}(),featureSupport=function(){var te={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))&&(te.maskType=!1),te}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(te){var tr,ti,ts="SourceGraphic",tn=te.data.ef?te.data.ef.length:0,ta=createElementID(),to=filtersFactory.createFilter(ta,!0),th=0;for(this.filters=[],tr=0;tr<tn;tr+=1){ti=null;var tl=te.data.ef[tr].ty;registeredEffects[tl]&&(ti=new registeredEffects[tl].effect(to,te.effectsManager.effectElements[tr],te,idPrefix+th,ts),ts=idPrefix+th,registeredEffects[tl].countsAsEffect&&(th+=1)),ti&&this.filters.push(ti)}th&&(te.globalData.defs.appendChild(to),te.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+ta+")")),this.filters.length&&te.addRenderableComponent(this)}function registerEffect(te,tr,ti){registeredEffects[te]={effect:tr,countsAsEffect:ti}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(te,tr,ti){this.assetData=tr.getAssetData(te.refId),this.initElement(te,tr,ti),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(te,tr){this.elem=te,this.pos=tr}function IShapeElement(){}
vendor: 12,235 bytes, line 54
54SVGEffects.prototype.renderFrame=function(te){var tr,ti=this.filters.length;for(tr=0;tr<ti;tr+=1)this.filters[tr].renderFrame(te)},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 te=null;if(this.data.td){this.matteMasks={};var tr=createNS("symbol");tr.setAttribute("id",this.layerId);var ti=createNS("g");ti.appendChild(this.layerElement),tr.appendChild(ti),te=ti,this.globalData.defs.appendChild(tr)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),te=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"),tn=createNS("path");tn.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var ta=createElementID();if(ts.setAttribute("id",ta),ts.appendChild(tn),this.globalData.defs.appendChild(ts),this.checkMasks()){var to=createNS("g");to.setAttribute("clip-path","url("+getLocationHref()+"#"+ta+")"),to.appendChild(this.layerElement),this.transformedElement=to,te?te.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+ta+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(te){if(!this.matteMasks[te]){var tr,ti,ts,tn,ta=this.layerId+"_"+te;if(1===te||3===te){var to=createNS("mask");to.setAttribute("id",ta),to.setAttribute("mask-type",3===te?"luminance":"alpha"),(ts=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),to.appendChild(ts),this.globalData.defs.appendChild(to),featureSupport.maskType||1!==te||(to.setAttribute("mask-type","luminance"),tr=createElementID(),ti=filtersFactory.createFilter(tr),this.globalData.defs.appendChild(ti),ti.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(tn=createNS("g")).appendChild(ts),to.appendChild(tn),tn.setAttribute("filter","url("+getLocationHref()+"#"+tr+")"))}else if(2===te){var th=createNS("mask");th.setAttribute("id",ta),th.setAttribute("mask-type","alpha");var tl=createNS("g");th.appendChild(tl),tr=createElementID(),ti=filtersFactory.createFilter(tr);var tp=createNS("feComponentTransfer");tp.setAttribute("in","SourceGraphic"),ti.appendChild(tp);var tc=createNS("feFuncA");tc.setAttribute("type","table"),tc.setAttribute("tableValues","1.0 0.0"),tp.appendChild(tc),this.globalData.defs.appendChild(ti);var tf=createNS("rect");tf.setAttribute("width",this.comp.data.w),tf.setAttribute("height",this.comp.data.h),tf.setAttribute("x","0"),tf.setAttribute("y","0"),tf.setAttribute("fill","#ffffff"),tf.setAttribute("opacity","0"),tl.setAttribute("filter","url("+getLocationHref()+"#"+tr+")"),tl.appendChild(tf),(ts=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),tl.appendChild(ts),featureSupport.maskType||(th.setAttribute("mask-type","luminance"),ti.appendChild(filtersFactory.createAlphaToLuminanceFilter()),tn=createNS("g"),tl.appendChild(tf),tn.appendChild(this.layerElement),tl.appendChild(tn)),this.globalData.defs.appendChild(th)}this.matteMasks[te]=ta}return this.matteMasks[te]},setMatte:function(te){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+te+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(te){this.hierarchy=te},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(te,tr,ti){this.initFrame(),this.initBaseData(te,tr,ti),this.initTransform(te,tr,ti),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(te){this._mdf=!1,this.prepareRenderableFrame(te),this.prepareProperties(te,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 te=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",te),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(te){var tr,ti=this.shapeModifiers.length;for(tr=0;tr<ti;tr+=1)this.shapeModifiers[tr].addShape(te)},isShapeInAnimatedModifiers:function(te){for(var tr=this.shapeModifiers.length;0<tr;)if(this.shapeModifiers[0].isAnimatedWithShape(te))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var te,tr=this.shapes.length;for(te=0;te<tr;te+=1)this.shapes[te].sh.reset();for(te=(tr=this.shapeModifiers.length)-1;te>=0&&!this.shapeModifiers[te].processShapes(this._isFirstFrame);te-=1);}},searchProcessedElement:function(te){for(var tr=this.processedElements,ti=0,ts=tr.length;ti<ts;){if(tr[ti].elem===te)return tr[ti].pos;ti+=1}return 0},addProcessedElement:function(te,tr){for(var ti=this.processedElements,ts=ti.length;ts;)if(ti[ts-=1].elem===te)return void(ti[ts].pos=tr);ti.push(new ProcessedElement(te,tr))},prepareFrame:function(te){this.prepareRenderableFrame(te),this.prepareProperties(te,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(te,tr,ti){this.caches=[],this.styles=[],this.transformers=te,this.lStr="",this.sh=ti,this.lvl=tr,this._isAnimated=!!ti.k;for(var ts=0,tn=te.length;ts<tn;){if(te[ts].mProps.dynamicProperties.length){this._isAnimated=!0;break}ts+=1}}function SVGStyleData(te,tr){this.data=te,this.type=te.ty,this.d="",this.lvl=tr,this._mdf=!1,this.closed=!0===te.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(te,tr,ti,ts){this.elem=te,this.frameId=-1,this.dataProps=createSizedArray(tr.length),this.renderer=ti,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",tr.length?tr.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(ts);var tn,ta,to=tr.length||0;for(tn=0;tn<to;tn+=1)ta=PropertyFactory.getProp(te,tr[tn].v,0,0,this),this.k=ta.k||this.k,this.dataProps[tn]={n:tr[tn].n,p:ta};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(te,tr,ti){this.initDynamicPropertyContainer(te),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(te,tr.o,0,.01,this),this.w=PropertyFactory.getProp(te,tr.w,0,null,this),this.d=new DashProperty(te,tr.d||{},"svg",this),this.c=PropertyFactory.getProp(te,tr.c,1,255,this),this.style=ti,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(te,tr,ti){this.initDynamicPropertyContainer(te),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(te,tr.o,0,.01,this),this.c=PropertyFactory.getProp(te,tr.c,1,255,this),this.style=ti}function SVGNoStyleData(te,tr,ti){this.initDynamicPropertyContainer(te),this.getValue=this.iterateDynamicProperties,this.style=ti}function GradientProperty(te,tr,ti){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(ti),this.prop=PropertyFactory.getProp(te,tr.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(te,tr,ti){this.initDynamicPropertyContainer(te),this.getValue=this.iterateDynamicProperties,this.initGradientData(te,tr,ti)}function SVGGradientStrokeStyleData(te,tr,ti){this.initDynamicPropertyContainer(te),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(te,tr.w,0,null,this),this.d=new DashProperty(te,tr.d||{},"svg",this),this.initGradientData(te,tr,ti),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(te,tr,ti){this.transform={mProps:te,op:tr,container:ti},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(te){if((this.elem.globalData.frameId!==this.frameId||te)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||te,this._mdf)){var tr=0,ti=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),tr=0;tr<ti;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(te,tr){for(var ti=0,ts=this.o.length/2;ti<ts;){if(Math.abs(te[4*ti]-te[4*tr+2*ti])>.01)return!1;ti+=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 te=0,tr=this.data.k.k.length;te<tr;){if(!this.comparePoints(this.data.k.k[te].s,this.data.p))return!1;te+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(te){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||te){var tr,ti,ts,tn=4*this.data.p;for(tr=0;tr<tn;tr+=1)ti=tr%4==0?100:255,ts=Math.round(this.prop.v[tr]*ti),this.c[tr]!==ts&&(this.c[tr]=ts,this._cmdf=!te);if(this.o.length)for(tn=this.prop.v.length,tr=4*this.data.p;tr<tn;tr+=1)ti=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=!te);this._mdf=!te}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(te,tr,ti){this.o=PropertyFactory.getProp(te,tr.o,0,.01,this),this.s=PropertyFactory.getProp(te,tr.s,1,null,this),this.e=Pro
vendor: 9,427 bytes, line 54
54pertyFactory.getProp(te,tr.e,1,null,this),this.h=PropertyFactory.getProp(te,tr.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(te,tr.a||{k:0},0,degToRads,this),this.g=new GradientProperty(te,tr.g,this),this.style=ti,this.stops=[],this.setGradientData(ti.pElem,tr),this.setGradientOpacity(tr,ti),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(te,tr){var ti=createElementID(),ts=createNS(1===tr.t?"linearGradient":"radialGradient");ts.setAttribute("id",ti),ts.setAttribute("spreadMethod","pad"),ts.setAttribute("gradientUnits","userSpaceOnUse");var tn,ta,to,th=[];for(to=4*tr.g.p,ta=0;ta<to;ta+=4)tn=createNS("stop"),ts.appendChild(tn),th.push(tn);te.setAttribute("gf"===tr.ty?"fill":"stroke","url("+getLocationHref()+"#"+ti+")"),this.gf=ts,this.cst=th},SVGGradientFillStyleData.prototype.setGradientOpacity=function(te,tr){if(this.g._hasOpacity&&!this.g._collapsable){var ti,ts,tn,ta=createNS("mask"),to=createNS("path");ta.appendChild(to);var th=createElementID(),tl=createElementID();ta.setAttribute("id",tl);var tp=createNS(1===te.t?"linearGradient":"radialGradient");tp.setAttribute("id",th),tp.setAttribute("spreadMethod","pad"),tp.setAttribute("gradientUnits","userSpaceOnUse"),tn=te.g.k.k[0].s?te.g.k.k[0].s.length:te.g.k.k.length;var tc=this.stops;for(ts=4*te.g.p;ts<tn;ts+=2)(ti=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),tp.appendChild(ti),tc.push(ti);to.setAttribute("gf"===te.ty?"fill":"stroke","url("+getLocationHref()+"#"+th+")"),"gs"===te.ty&&(to.setAttribute("stroke-linecap",lineCapEnum[te.lc||2]),to.setAttribute("stroke-linejoin",lineJoinEnum[te.lj||2]),1===te.lj&&to.setAttribute("stroke-miterlimit",te.ml)),this.of=tp,this.ms=ta,this.ost=tc,this.maskId=tl,tr.msElem=to}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(te,tr,ti,ts){if(0===tr)return"";var tn,ta=te.o,to=te.i,th=te.v,tl=" M"+ts.applyToPointStringified(th[0][0],th[0][1]);for(tn=1;tn<tr;tn+=1)tl+=" C"+ts.applyToPointStringified(ta[tn-1][0],ta[tn-1][1])+" "+ts.applyToPointStringified(to[tn][0],to[tn][1])+" "+ts.applyToPointStringified(th[tn][0],th[tn][1]);return ti&&tr&&(tl+=" C"+ts.applyToPointStringified(ta[tn-1][0],ta[tn-1][1])+" "+ts.applyToPointStringified(to[0][0],to[0][1])+" "+ts.applyToPointStringified(th[0][0],th[0][1])+"z"),tl},SVGElementsRenderer=function(){var te=new Matrix,tr=new Matrix;function r(te,tr,ti){(ti||tr.transform.op._mdf)&&tr.transform.container.setAttribute("opacity",tr.transform.op.v),(ti||tr.transform.mProps._mdf)&&tr.transform.container.setAttribute("transform",tr.transform.mProps.v.to2dCSS())}function i(){}function s(ti,ts,tn){var ta,to,th,tl,tp,tc,tf,tu,td,tm,ty,tg=ts.styles.length,tv=ts.lvl;for(tc=0;tc<tg;tc+=1){if(tl=ts.sh._mdf||tn,ts.styles[tc].lvl<tv){for(tu=tr.reset(),tm=tv-ts.styles[tc].lvl,ty=ts.transformers.length-1;!tl&&tm>0;)tl=ts.transformers[ty].mProps._mdf||tl,tm-=1,ty-=1;if(tl)for(tm=tv-ts.styles[tc].lvl,ty=ts.transformers.length-1;tm>0;)td=ts.transformers[ty].mProps.v.props,tu.transform(td[0],td[1],td[2],td[3],td[4],td[5],td[6],td[7],td[8],td[9],td[10],td[11],td[12],td[13],td[14],td[15]),tm-=1,ty-=1}else tu=te;if(to=(tf=ts.sh.paths)._length,tl){for(th="",ta=0;ta<to;ta+=1)(tp=tf.shapes[ta])&&tp._length&&(th+=buildShapeString(tp,tp._length,tp.c,tu));ts.caches[tc]=th}else th=ts.caches[tc];ts.styles[tc].d+=!0===ti.hd?"":th,ts.styles[tc]._mdf=tl||ts.styles[tc]._mdf}}function a(te,tr,ti){var ts=tr.style;(tr.c._mdf||ti)&&ts.pElem.setAttribute("fill","rgb("+bmFloor(tr.c.v[0])+","+bmFloor(tr.c.v[1])+","+bmFloor(tr.c.v[2])+")"),(tr.o._mdf||ti)&&ts.pElem.setAttribute("fill-opacity",tr.o.v)}function n(te,tr,ti){o(te,tr,ti),h(0,tr,ti)}function o(te,tr,ti){var ts,tn,ta,to,th,tl=tr.gf,tp=tr.g._hasOpacity,tc=tr.s.v,tf=tr.e.v;if(tr.o._mdf||ti){var tu="gf"===te.ty?"fill-opacity":"stroke-opacity";tr.style.pElem.setAttribute(tu,tr.o.v)}if(tr.s._mdf||ti){var td=1===te.t?"x1":"cx",tm="x1"===td?"y1":"cy";tl.setAttribute(td,tc[0]),tl.setAttribute(tm,tc[1]),tp&&!tr.g._collapsable&&(tr.of.setAttribute(td,tc[0]),tr.of.setAttribute(tm,tc[1]))}if(tr.g._cmdf||ti){ts=tr.cst;var ty=tr.g.c;for(ta=ts.length,tn=0;tn<ta;tn+=1)(to=ts[tn]).setAttribute("offset",ty[4*tn]+"%"),to.setAttribute("stop-color","rgb("+ty[4*tn+1]+","+ty[4*tn+2]+","+ty[4*tn+3]+")")}if(tp&&(tr.g._omdf||ti)){var tg=tr.g.o;for(ta=(ts=tr.g._collapsable?tr.cst:tr.ost).length,tn=0;tn<ta;tn+=1)to=ts[tn],tr.g._collapsable||to.setAttribute("offset",tg[2*tn]+"%"),to.setAttribute("stop-opacity",tg[2*tn+1])}if(1===te.t)(tr.e._mdf||ti)&&(tl.setAttribute("x2",tf[0]),tl.setAttribute("y2",tf[1]),tp&&!tr.g._collapsable&&(tr.of.setAttribute("x2",tf[0]),tr.of.setAttribute("y2",tf[1])));else if((tr.s._mdf||tr.e._mdf||ti)&&(th=Math.sqrt(Math.pow(tc[0]-tf[0],2)+Math.pow(tc[1]-tf[1],2)),tl.setAttribute("r",th),tp&&!tr.g._collapsable&&tr.of.setAttribute("r",th)),tr.e._mdf||tr.h._mdf||tr.a._mdf||ti){th||(th=Math.sqrt(Math.pow(tc[0]-tf[0],2)+Math.pow(tc[1]-tf[1],2)));var tv=Math.atan2(tf[1]-tc[1],tf[0]-tc[0]),tb=tr.h.v;tb>=1?tb=.99:tb<=-1&&(tb=-.99);var t_=th*tb,tS=Math.cos(tv+tr.a.v)*t_+tc[0],tE=Math.sin(tv+tr.a.v)*t_+tc[1];tl.setAttribute("fx",tS),tl.setAttribute("fy",tE),tp&&!tr.g._collapsable&&(tr.of.setAttribute("fx",tS),tr.of.setAttribute("fy",tE))}}function h(te,tr,ti){var ts=tr.style,tn=tr.d;tn&&(tn._mdf||ti)&&tn.dashStr&&(ts.pElem.setAttribute("stroke-dasharray",tn.dashStr),ts.pElem.setAttribute("stroke-dashoffset",tn.dashoffset[0])),tr.c&&(tr.c._mdf||ti)&&ts.pElem.setAttribute("stroke","rgb("+bmFloor(tr.c.v[0])+","+bmFloor(tr.c.v[1])+","+bmFloor(tr.c.v[2])+")"),(tr.o._mdf||ti)&&ts.pElem.setAttribute("stroke-opacity",tr.o.v),(tr.w._mdf||ti)&&(ts.pElem.setAttribute("stroke-width",tr.w.v),ts.msElem&&ts.msElem.setAttribute("stroke-width",tr.w.v))}return{createRenderFunction:function(te){switch(te.ty){case"fl":return a;case"gf":return o;case"gs":return n;case"st":return h;case"sh":case"el":case"rc":case"sr":return s;case"tr":return r;case"no":return i;default:return null}}}}();function SVGShapeElement(te,tr,ti){this.shapes=[],this.shapesData=te.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(te,tr,ti),this.prevViewData=[]}function LetterProps(te,tr,ti,ts,tn,ta){this.o=te,this.sw=tr,this.sc=ti,this.fc=ts,this.m=tn,this.p=ta,this._mdf={o:!0,sw:!!tr,sc:!!ti,fc:!!ts,m:!0,p:!0}}function TextProperty(te,tr){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=tr,this.elem=te,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 te,tr,ti,ts,tn=this.shapes.length,ta=this.stylesList.length,to=[],th=!1;for(ti=0;ti<ta;ti+=1){for(ts=this.stylesList[ti],th=!1,to.length=0,te=0;te<tn;te+=1)-1!==(tr=this.shapes[te]).styles.indexOf(ts)&&(to.push(tr),th=tr._isAnimated||th);to.length>1&&th&&this.setShapesAsAnimated(to)}},SVGShapeElement.prototype.setShapesAsAnimated=function(te){var tr,ti=te.length;for(tr=0;tr<ti;tr+=1)te[tr].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(te,tr){var ti,ts=new SVGStyleData(te,tr),tn=ts.pElem;return"st"===te.ty?ti=new SVGStrokeStyleData(this,te,ts):"fl"===te.ty?ti=new SVGFillStyleData(this,te,ts):"gf"===te.ty||"gs"===te.ty?(ti=new("gf"===te.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,te,ts),this.globalData.defs.appendChild(ti.gf),ti.maskId&&(this.globalData.defs.appendChild(ti.ms),this.globalData.defs.appendChild(ti.of),tn.setAttribute("mask","url("+getLocationHref()+"#"+ti.maskId+")"))):"no"===te.ty&&(ti=new SVGNoStyleData(this,te,ts)),"st"!==te.ty&&"gs"!==te.ty||(tn.setAttribute("stroke-linecap",lineCapEnum[te.lc||2]),tn.setAttribute("stroke-linejoin",lineJoinEnum[te.lj||2]),tn.setAttribute("fill-opacity","0"),1===te.lj&&tn.setAttribute("stroke-miterlimit",te.ml)),2===te.r&&tn.setAttribute("fill-rule","evenodd"),te.ln&&tn.setAttribute("id",te.ln),te.cl&&tn.setAttribute("class",te.cl),te.bm&&(tn.style["mix-blend-mode"]=getBlendMode(te.bm)),this.stylesList.push(ts),this.addToAnimatedContents(te,ti),ti},SVGShapeElement.prototype.createGroupElement=function(te){var tr=new ShapeGroupData;return te.ln&&tr.gr.setAttribute("id",te.ln),te.cl&&tr.gr.setAttribute("class",te.cl),te.bm&&(tr.gr.style["mix-blend-mode"]=getBlendM
vendor: 7,899 bytes, line 54
54ode(te.bm)),tr},SVGShapeElement.prototype.createTransformElement=function(te,tr){var ti=TransformPropertyFactory.getTransformProperty(this,te,this),ts=new SVGTransformData(ti,ti.o,tr);return this.addToAnimatedContents(te,ts),ts},SVGShapeElement.prototype.createShapeElement=function(te,tr,ti){var ts=4;"rc"===te.ty?ts=5:"el"===te.ty?ts=6:"sr"===te.ty&&(ts=7);var tn=new SVGShapeData(tr,ti,ShapePropertyFactory.getShapeProp(this,te,ts,this));return this.shapes.push(tn),this.addShapeToModifiers(tn),this.addToAnimatedContents(te,tn),tn},SVGShapeElement.prototype.addToAnimatedContents=function(te,tr){for(var ti=0,ts=this.animatedContents.length;ti<ts;){if(this.animatedContents[ti].element===tr)return;ti+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(te),element:tr,data:te})},SVGShapeElement.prototype.setElementStyles=function(te){var tr,ti=te.styles,ts=this.stylesList.length;for(tr=0;tr<ts;tr+=1)this.stylesList[tr].closed||ti.push(this.stylesList[tr])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var te,tr=this.itemsData.length;for(te=0;te<tr;te+=1)this.prevViewData[te]=this.itemsData[te];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),tr=this.dynamicProperties.length,te=0;te<tr;te+=1)this.dynamicProperties[te].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(te,tr,ti,ts,tn,ta,to){var th,tl,tp,tc,tf,tu,td=[].concat(ta),tm=te.length-1,ty=[],tg=[];for(th=tm;th>=0;th-=1){if((tu=this.searchProcessedElement(te[th]))?tr[th]=ti[tu-1]:te[th]._render=to,"fl"===te[th].ty||"st"===te[th].ty||"gf"===te[th].ty||"gs"===te[th].ty||"no"===te[th].ty)tu?tr[th].style.closed=!1:tr[th]=this.createStyleElement(te[th],tn),te[th]._render&&tr[th].style.pElem.parentNode!==ts&&ts.appendChild(tr[th].style.pElem),ty.push(tr[th].style);else if("gr"===te[th].ty){if(tu)for(tp=tr[th].it.length,tl=0;tl<tp;tl+=1)tr[th].prevViewData[tl]=tr[th].it[tl];else tr[th]=this.createGroupElement(te[th]);this.searchShapes(te[th].it,tr[th].it,tr[th].prevViewData,tr[th].gr,tn+1,td,to),te[th]._render&&tr[th].gr.parentNode!==ts&&ts.appendChild(tr[th].gr)}else"tr"===te[th].ty?(tu||(tr[th]=this.createTransformElement(te[th],ts)),tc=tr[th].transform,td.push(tc)):"sh"===te[th].ty||"rc"===te[th].ty||"el"===te[th].ty||"sr"===te[th].ty?(tu||(tr[th]=this.createShapeElement(te[th],td,tn)),this.setElementStyles(tr[th])):"tm"===te[th].ty||"rd"===te[th].ty||"ms"===te[th].ty||"pb"===te[th].ty||"zz"===te[th].ty||"op"===te[th].ty?(tu?(tf=tr[th]).closed=!1:((tf=ShapeModifiers.getModifier(te[th].ty)).init(this,te[th]),tr[th]=tf,this.shapeModifiers.push(tf)),tg.push(tf)):"rp"===te[th].ty&&(tu?(tf=tr[th]).closed=!0:(tf=ShapeModifiers.getModifier(te[th].ty),tr[th]=tf,tf.init(this,te,th,tr),this.shapeModifiers.push(tf),to=!1),tg.push(tf));this.addProcessedElement(te[th],th+1)}for(tm=ty.length,th=0;th<tm;th+=1)ty[th].closed=!0;for(tm=tg.length,th=0;th<tm;th+=1)tg[th].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var te,tr=this.stylesList.length;for(te=0;te<tr;te+=1)this.stylesList[te].reset();for(this.renderShape(),te=0;te<tr;te+=1)(this.stylesList[te]._mdf||this._isFirstFrame)&&(this.stylesList[te].msElem&&(this.stylesList[te].msElem.setAttribute("d",this.stylesList[te].d),this.stylesList[te].d="M0 0"+this.stylesList[te].d),this.stylesList[te].pElem.setAttribute("d",this.stylesList[te].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var te,tr,ti=this.animatedContents.length;for(te=0;te<ti;te+=1)tr=this.animatedContents[te],(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(te,tr,ti,ts,tn,ta){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 to=!1;return this.o!==te&&(this.o=te,this._mdf.o=!0,to=!0),this.sw!==tr&&(this.sw=tr,this._mdf.sw=!0,to=!0),this.sc!==ti&&(this.sc=ti,this._mdf.sc=!0,to=!0),this.fc!==ts&&(this.fc=ts,this._mdf.fc=!0,to=!0),this.m!==tn&&(this.m=tn,this._mdf.m=!0,to=!0),ta.length&&(this.p[0]!==ta[0]||this.p[1]!==ta[1]||this.p[4]!==ta[4]||this.p[5]!==ta[5]||this.p[12]!==ta[12]||this.p[13]!==ta[13])&&(this.p=ta,this._mdf.p=!0,to=!0),to},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(te,tr){for(var ti in tr)Object.prototype.hasOwnProperty.call(tr,ti)&&(te[ti]=tr[ti]);return te},TextProperty.prototype.setCurrentData=function(te){te.__complete||this.completeTextData(te),this.currentData=te,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(te){this.effectsSequence.push(te),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(te){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||te){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var tr=this.currentData,ti=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var ts,tn=this.effectsSequence.length,ta=te||this.data.d.k[this.keysIndex].s;for(ts=0;ts<tn;ts+=1)ta=ti!==this.keysIndex?this.effectsSequence[ts](ta,ta.t):this.effectsSequence[ts](this.currentData,ta.t);tr!==ta&&this.setCurrentData(ta),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var te=this.data.d.k,tr=this.elem.comp.renderedFrame,ti=0,ts=te.length;ti<=ts-1&&!(ti===ts-1||te[ti+1].t>tr);)ti+=1;return this.keysIndex!==ti&&(this.keysIndex=ti),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(te){for(var tr,ti,ts=[],tn=0,ta=te.length,to=!1;tn<ta;)tr=te.charCodeAt(tn),FontManager.isCombinedCharacter(tr)?ts[ts.length-1]+=te.charAt(tn):tr>=55296&&tr<=56319?(ti=te.charCodeAt(tn+1))>=56320&&ti<=57343?(to||FontManager.isModifier(tr,ti)?(ts[ts.length-1]+=te.substr(tn,2),to=!1):ts.push(te.substr(tn,2)),tn+=1):ts.push(te.charAt(tn)):tr>56319?(ti=te.charCodeAt(tn+1),FontManager.isZeroWidthJoiner(tr,ti)?(to=!0,ts[ts.length-1]+=te.substr(tn,2),tn+=1):ts.push(te.charAt(tn))):FontManager.isZeroWidthJoiner(tr)?(ts[ts.length-1]+=te.charAt(tn),to=!0):ts.push(te.charAt(tn)),tn+=1;return ts},TextProperty.prototype.completeTextData=function(te){te.__complete=!0;var tr,ti,ts,tn,ta,to,th,tl=this.elem.globalData.fontManager,tp=this.data,tc=[],tf=0,tu=tp.m.g,td=0,tm=0,ty=0,tg=[],tv=0,tb=0,t_=tl.getFontByName(te.f),tS=0,tE=getFontProperties(t_);te.fWeight=tE.weight,te.fStyle=tE.style,te.finalSize=te.s,te.finalText=this.buildFinalText(te.t),ti=te.finalText.length,te.finalLineHeight=te.lh;var tP,tx=te.tr/1e3*te.finalSize;if(te.sz)for(var tA,tC,tw=!0,tk=te.sz[0],tD=te.sz[1];tw;){tA=0,tv=0,ti=(tC=this.buildFinalText(te.t)).length,tx=te.tr/1e3*te.finalSize;var tT=-1;for(tr=0;tr<ti;tr+=1)tP=tC[tr].charCodeAt(0),ts=!1," "===tC[tr]?tT=tr:13!==tP&&3!==tP||(tv=0,ts=!0,tA+=te.finalLineHeight||1.2*te.finalSize),tl.chars?(th=tl.getCharData(tC[tr],t_.fStyle,t_.fFamily),tS=ts?0:th.w*te.finalSize/100):tS=tl.measureText(tC[tr],te.f,te.finalSize),tv+tS>tk&&" "!==tC[tr]?(-1===tT?ti+=1:tr=tT,tA+=te.finalLineHeight||1.2*te.finalSize,tC.splice(tr,tT===tr?1:0,"\r"),tT=-1,tv=0):tv+=tS+tx;tA+=t_.ascent*te.finalSize/100,this.canResize&&te.finalSize>this.minimumFontSize&&tD<tA?(te.finalSize-=1,te.finalLineHeight=te.finalSize*te.lh/te.s):(te.finalText=tC,ti=te.finalText.length,tw=!1)}tv=-tx,tS=0;var tM,tI=0;for(tr=0;tr<ti;
vendor: 12,859 bytes, line 54
54tr+=1)if(ts=!1,13===(tP=(tM=te.finalText[tr]).charCodeAt(0))||3===tP?(tI=0,tg.push(tv),tb=tv>tb?tv:tb,tv=-2*tx,tn="",ts=!0,ty+=1):tn=tM,tl.chars?(th=tl.getCharData(tM,t_.fStyle,tl.getFontByName(te.f).fFamily),tS=ts?0:th.w*te.finalSize/100):tS=tl.measureText(tn,te.f,te.finalSize)," "===tM?tI+=tS+tx:(tv+=tS+tx+tI,tI=0),tc.push({l:tS,an:tS,add:td,n:ts,anIndexes:[],val:tn,line:ty,animatorJustifyOffset:0}),2==tu){if(td+=tS,""===tn||" "===tn||tr===ti-1){for(""!==tn&&" "!==tn||(td-=tS);tm<=tr;)tc[tm].an=td,tc[tm].ind=tf,tc[tm].extra=tS,tm+=1;tf+=1,td=0}}else if(3==tu){if(td+=tS,""===tn||tr===ti-1){for(""===tn&&(td-=tS);tm<=tr;)tc[tm].an=td,tc[tm].ind=tf,tc[tm].extra=tS,tm+=1;td=0,tf+=1}}else tc[tf].ind=tf,tc[tf].extra=0,tf+=1;if(te.l=tc,tb=tv>tb?tv:tb,tg.push(tv),te.sz)te.boxWidth=te.sz[0],te.justifyOffset=0;else switch(te.boxWidth=tb,te.j){case 1:te.justifyOffset=-te.boxWidth;break;case 2:te.justifyOffset=-te.boxWidth/2;break;default:te.justifyOffset=0}te.lineWidths=tg;var tF,tR,tB,tV,tO=tp.a;to=tO.length;var tL=[];for(ta=0;ta<to;ta+=1){for((tF=tO[ta]).a.sc&&(te.strokeColorAnim=!0),tF.a.sw&&(te.strokeWidthAnim=!0),(tF.a.fc||tF.a.fh||tF.a.fs||tF.a.fb)&&(te.fillColorAnim=!0),tV=0,tB=tF.s.b,tr=0;tr<ti;tr+=1)(tR=tc[tr]).anIndexes[ta]=tV,(1==tB&&""!==tR.val||2==tB&&""!==tR.val&&" "!==tR.val||3==tB&&(tR.n||" "==tR.val||tr==ti-1)||4==tB&&(tR.n||tr==ti-1))&&(1===tF.s.rn&&tL.push(tV),tV+=1);tp.a[ta].s.totalChars=tV;var tz,tG=-1;if(1===tF.s.rn)for(tr=0;tr<ti;tr+=1)tG!=(tR=tc[tr]).anIndexes[ta]&&(tG=tR.anIndexes[ta],tz=tL.splice(Math.floor(Math.random()*tL.length),1)[0]),tR.anIndexes[ta]=tz}te.yOffset=te.finalLineHeight||1.2*te.finalSize,te.ls=te.ls||0,te.ascent=t_.ascent*te.finalSize/100},TextProperty.prototype.updateDocumentData=function(te,tr){tr=void 0===tr?this.keysIndex:tr;var ti=this.copyData({},this.data.d.k[tr].s);ti=this.copyData(ti,te),this.data.d.k[tr].s=ti,this.recalculate(tr),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(te){var tr=this.data.d.k[te].s;tr.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(tr)},TextProperty.prototype.canResizeFont=function(te){this.canResize=te,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(te){this.minimumFontSize=Math.floor(te)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var te=Math.max,tr=Math.min,ti=Math.floor;function i(te,tr){this._currentTextLength=-1,this.k=!1,this.data=tr,this.elem=te,this.comp=te.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(te),this.s=PropertyFactory.getProp(te,tr.s||{k:0},0,0,this),this.e="e"in tr?PropertyFactory.getProp(te,tr.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(te,tr.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(te,tr.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(te,tr.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(te,tr.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(te,tr.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(ts){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var tn=0,ta=0,to=1,th=1;this.ne.v>0?tn=this.ne.v/100:ta=-this.ne.v/100,this.xe.v>0?to=1-this.xe.v/100:th=1+this.xe.v/100;var tl=BezierFactory.getBezierEasing(tn,ta,to,th).get,tp=0,tc=this.finalS,tf=this.finalE,tu=this.data.sh;if(2===tu)tp=tl(tp=tf===tc?ts>=tf?1:0:te(0,tr(.5/(tf-tc)+(ts-tc)/(tf-tc),1)));else if(3===tu)tp=tl(tp=tf===tc?ts>=tf?0:1:1-te(0,tr(.5/(tf-tc)+(ts-tc)/(tf-tc),1)));else if(4===tu)tf===tc?tp=0:(tp=te(0,tr(.5/(tf-tc)+(ts-tc)/(tf-tc),1)))<.5?tp*=2:tp=1-2*(tp-.5),tp=tl(tp);else if(5===tu){if(tf===tc)tp=0;else{var td=tf-tc,tm=-td/2+(ts=tr(te(0,ts+.5-tc),tf-tc)),ty=td/2;tp=Math.sqrt(1-tm*tm/(ty*ty))}tp=tl(tp)}else 6===tu?tp=tl(tp=tf===tc?0:(1+Math.cos(Math.PI+2*Math.PI*(ts=tr(te(0,ts+.5-tc),tf-tc))/(tf-tc)))/2):(ts>=ti(tc)&&(tp=te(0,tr(ts-tc<0?tr(tf,1)-(tc-ts):tf-ts,1))),tp=tl(tp));if(100!==this.sm.v){var tg=.01*this.sm.v;0===tg&&(tg=1e-8);var tv=.5-.5*tg;tp<tv?tp=0:(tp=(tp-tv)/tg)>1&&(tp=1)}return tp*this.a.v},getValue:function(te){this.iterateDynamicProperties(),this._mdf=te||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,te&&2===this.data.r&&(this.e.v=this._currentTextLength);var tr=2===this.data.r?1:100/this.data.totalChars,ti=this.o.v/tr,ts=this.s.v/tr+ti,tn=this.e.v/tr+ti;if(ts>tn){var ta=ts;ts=tn,tn=ta}this.finalS=ts,this.finalE=tn}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(te,tr,ti){return new i(te,tr,ti)}}}();function TextAnimatorDataProperty(te,tr,ti){var ts={propType:!1},tn=PropertyFactory.getProp,ta=tr.a;this.a={r:ta.r?tn(te,ta.r,0,degToRads,ti):ts,rx:ta.rx?tn(te,ta.rx,0,degToRads,ti):ts,ry:ta.ry?tn(te,ta.ry,0,degToRads,ti):ts,sk:ta.sk?tn(te,ta.sk,0,degToRads,ti):ts,sa:ta.sa?tn(te,ta.sa,0,degToRads,ti):ts,s:ta.s?tn(te,ta.s,1,.01,ti):ts,a:ta.a?tn(te,ta.a,1,0,ti):ts,o:ta.o?tn(te,ta.o,0,.01,ti):ts,p:ta.p?tn(te,ta.p,1,0,ti):ts,sw:ta.sw?tn(te,ta.sw,0,0,ti):ts,sc:ta.sc?tn(te,ta.sc,1,0,ti):ts,fc:ta.fc?tn(te,ta.fc,1,0,ti):ts,fh:ta.fh?tn(te,ta.fh,0,0,ti):ts,fs:ta.fs?tn(te,ta.fs,0,.01,ti):ts,fb:ta.fb?tn(te,ta.fb,0,.01,ti):ts,t:ta.t?tn(te,ta.t,0,0,ti):ts},this.s=TextSelectorProp.getTextSelectorProp(te,tr.s,ti),this.s.t=tr.s.t}function TextAnimatorProperty(te,tr,ti){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=te,this._renderType=tr,this._elem=ti,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(ti)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var te,tr,ti=this._textData.a.length,ts=PropertyFactory.getProp;for(te=0;te<ti;te+=1)tr=this._textData.a[te],this._animatorsData[te]=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(te,tr){if(this.lettersChangedFlag=tr,this._mdf||this._isFirstFrame||tr||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var ti,ts,tn,ta,to,th,tl,tp,tc,tf,tu,td,tm,ty,tg,tv,tb,t_,tS,tE=this._moreOptions.alignment.v,tP=this._animatorsData,tx=this._textData,tA=this.mHelper,tC=this._renderType,tw=this.renderedLetters.length,tk=te.l;if(this._hasMaskedPath){if(tS=this._pathData.m,!this._pathData.n||this._pathData._mdf){var tD,tT=tS.v;for(this._pathData.r.v&&(tT=tT.reverse()),to={tLength:0,segments:[]},ta=tT._length-1,tv=0,tn=0;tn<ta;tn+=1)tD=bez.buildBezierData(tT.v[tn],tT.v[tn+1],[tT.o[tn][0]-tT.v[tn][0],tT.o[tn][1]-tT.v[tn][1]],[tT.i[tn+1][0]-tT.v[tn+1][0],tT.i[tn+1][1]-tT.v[tn+1][1]]),to.tLength+=tD.segmentLength,to.segments.push(tD),tv+=tD.segmentLength;tn=ta,tS.v.c&&(tD=bez.buildBezierData(tT.v[tn],tT.v[0],[tT.o[tn][0]-tT.v[tn][0],tT.o[tn][1]-tT.v[tn][1]],[tT.i[0][0]-tT.v[0][0],tT.i[0][1]-tT.v[0][1]]),to.tLength+=tD.segmentLength,to.segments.push(tD),tv+=tD.segmentLength),this._pathData.pi=to}if(to=this._pathData.pi,th=this._pathData.f.v,tu=0,tf=1,tp=0,tc=!0,ty=to.segments,th<0&&tS.v.c)for(to.tLength<Math.abs(th)&&(th=-Math.abs(th)%to.tLength),tf=(tm=ty[tu=ty.length-1].points).length-1;th<0;)th+=tm[tf].partialLength,(tf-=1)<0&&(tf=(tm=ty[tu-=1].points).length-1);td=(tm=ty[tu].points)[tf-1],tg=(tl=tm[tf]).partialLength}ta=tk.length,ti=0,ts=0;var tM,tI,tF,tR,tB,tV=1.2*te.finalSize*.714,tO=!0;tF=tP.length;var tL,tz,tG,tN,t$,tj,tH,tq,tW,tU,tY,tX,tZ=-1,tK=th,tJ=tu,tQ=tf,t0=-1,t1="",t2=this.defaultPropsArray;if(2===te.j||1===te.j){var t3=0,t5=0,t4=2===te.j?-.5:-1,t9=0,t6=!0;for(tn=0;tn<ta;tn+=1)if(tk[tn].n){for(t3&&(t3+=t5);t9<tn;)tk[t9].animatorJustifyOffset=t3,t9+=1;t3=0,t6=!0}else{for(tI=0;tI<tF;tI+=1)(tM=tP[tI].a).t.propType&&(t6&&2===te.j&&(t5+=tM.t.v*t4),(tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars)).length?t3+=tM.t.v*tB[0]*t4:t3+=tM.t.v*tB*t4);t6=!1}for(t3&&(t3+=t5);t9<tn;)tk[t9].animatorJustifyOffset=t3,t9+=1}for(tn=0;tn<ta;tn+=1){if(tA.reset(),tN=1,tk[tn].n)ti=0,ts+=te.yOffset+(tO?1:0),th=tK,tO=!1,this._hasMaskedPath&&(tf=tQ,td=(tm=ty[tu=tJ].points)[tf-1],tg=(tl=tm[tf]).partialLength,tp=0),t1="",tY="",tW="",tX="",t2=this.defaultPropsArray;else{if(this._hasMaskedPath){if(t0!==tk[tn].line){switch(te.j){case 1:th+=tv-te.lineWidths[tk[tn].line];break;case 2:th+=(tv-te.lineWidths[tk[tn].line])/2}t0=tk[tn].line}tZ!==tk[tn].ind&&(tk[tZ]&&(th+=tk[tZ].extra),th+=tk[tn].an/2,tZ=tk[tn].ind),th+=tE[0]*tk[tn].an*.005;var t8=0;for(tI=0;tI<tF;tI+=1)(tM=tP[tI].a).p.propType&&((tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars)).length?t8+=tM.p.v[0]*tB[0]:t8+=tM.p.v[0]*tB),tM.a.propType&&((tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars)).length?t8+=tM.a.v[0]*tB[0]:t8+=tM.a.v[0]*tB);for(tc=!0,this._pathData.a.v&&(th=.5*tk[0].an+(tv-this._pathData.f.v-.5*tk[0].an-.5*tk[tk.length-1].an)*tZ/(ta-1)+this._pathData.f.v);tc;)tp+tg>=th+t8||!tm?(tb=(th+t8-tp)/tl.partialLength,tz=td.point[0]+(tl.point[0]-td.point[0])*tb,tG=td.point[1]+(tl.point[1]-td.point[1])*tb,tA.translate(-tE[0]*tk[tn].an*.005,-tE[1]*tV*.01),tc=!1):tm&&(tp+=tl.partialLength,(tf+=1)>=tm.length&&(tf=0,ty[tu+=1]?tm=ty[tu].points:tS.v.c?(tf=0,tm=ty[tu=0].points):(tp-=tl.partialLength,tm=null)),tm&&(td=tl,tg=(tl=tm[tf]).partialLength));tL=tk[tn].an/2-tk[tn].add,tA.translate(-tL,0,0)}else tL=tk[tn].an/2-tk[tn].add,tA.translate(-tL,0,0),tA.translate(-tE[0]*tk[tn].an*.005,-tE[1]*tV*.01,0);for(tI=0;tI<tF;tI+=1)(tM=tP[tI].a).t.propType&&(tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars),0===ti&&0===te.j||(this._hasMaskedPath?tB.length?th+=tM.t.v*tB[0]:th+=tM.t.v*tB:tB.length?ti+=tM.t.v*tB[0]:ti+=tM.t.v*tB));for(te.strokeWidthAnim&&(tj=te.sw||0),te.strokeColorAnim&&(t$=te.sc?[te.sc[0],te.sc[1],te.sc[2]]:[0,0,0]),te.fillColorAnim&&te.fc&&(tH=[te.fc[0],te.fc[1],te.fc[2]]),tI=0;tI<tF;tI+=1)(tM=tP[tI].a).a.propType&&((tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars)).length?tA.translate(-tM.a.v[0]*tB[0],-tM.a.v[1]*tB[1],tM.a.v[2]*tB[2]):tA.translate(-tM.a.v[0]*tB,-tM.a.v[1]*tB,tM.a.v[2]*tB));for(tI=0;tI<tF;tI+=1)(tM=tP[tI].a).s.propType&&((tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars)).length?tA.scale(1+(tM.s.v[0]-1)*tB[0],1+(tM.s.v[1]-1)*tB[1],1):tA.scale(1+(tM.s.v[0]-1)*tB,1+(tM.s.v[1]-1)*tB,1));for(tI=0;tI<tF;tI+=1){if(tM=tP[tI].a,tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars),tM.sk.propType&&(tB.length?tA.skewFromAxis(-tM.sk.v*tB[0],tM.sa.v*tB[1]):tA.skewFromAxis(-tM.sk.v*tB,tM.sa.v*tB)),tM.r.propType&&(tB.length?tA.rotateZ(-tM.r.v*tB[2]):tA.rotateZ(-tM.r.v*tB)),tM.ry.propType&&(tB.length?tA.rotateY(tM.ry.v*tB[1]):tA.rotateY(tM.ry.v*tB)),tM.rx.propType&&(tB.length?tA.rotateX(tM.rx.v*tB[0]):tA.rotateX(tM.rx.v*tB)),tM.o.propType&&(tB.length?tN+=(tM.o.v*tB[0]-tN)*tB[0]:tN+=(tM.o.v*tB-tN)*tB),te.strokeWidthAnim&&tM.sw.propType&&(tB.length?tj+=tM.sw.v*tB[0]:tj+=tM.sw.v*tB),te.strokeColorAnim&&tM.sc.propType)for(tq=0;tq<3;tq+=1)tB.length?t$[tq]+=(tM.sc.v[tq]-t$[tq])*tB[0]:t$[tq]+=(tM.sc.v[tq]-t$[tq])*tB;if(te.fillColorAnim&&te.fc){if(tM.fc.propType)for(tq=0;tq<3;tq+=1)tB.length?tH[tq]+=(tM.fc.v[tq]-tH[tq])*tB[0]:tH[tq]+=(tM.fc.v[tq]-tH[tq])*tB;tM.fh.propType&&(tH=tB.length?addHueToRGB(tH,tM.fh.v*tB[0]):addHueToRGB(tH,tM.fh.v*tB)),tM.fs.propType&&(tH=tB.length?addSaturationToRGB(tH,tM.fs.v*tB[0]):addSaturationToRGB(tH,tM.fs.v*tB)),tM.fb.propType&&(tH=tB.length?addBrightnessToRGB(tH,tM.fb.v*tB[0]):addBrightnessToRGB(tH,tM.fb.v*tB))}}for(tI=0;tI<tF;tI+=1)(tM=tP[tI].a).p.propType&&(tB=tP[tI].s.getMult(tk[tn].anIndexes[tI],tx.a[tI].s.totalChars),this._hasMaskedPath?tB.length?tA.translate(0,tM.p.v[1]*tB[0],-tM.p.v[2]*tB[1]):tA.translate(0,tM.p.v[1]*tB,-tM.p.v[2]*tB):tB.length?tA.translate(tM.p.v[0]*tB[0],tM.p.v[1]*tB[1],-tM.p.v[2]*tB[2]):tA.translate(tM.p.v[0]*tB,tM.p.v[1]*tB,-tM.p.v[2]*tB));if(te.strokeWidthAnim&&(tW=tj<0?0:tj),te.strokeColorAnim&&(tU="rgb("+Math.round(255*t$[0])+","+Math.round(255*t$[1])+","+Math.round(255*t$[2])+")"),te.fillColorAnim&&te.fc&&(tY="rgb("+Math.round(255*tH[0])+","+Math.round(255*tH[1])+","+Math.round(255*tH[2])+")"),this._hasMaskedPath){if(tA.translate(0,-te.ls),tA.translate(0,tE[1]*tV*.01+ts,0),this._pathData.p.v){var t7=180*Math.atan(t_=(tl.point[1]-td.point[1])/(tl.point[0]-td.point[0]))/Math.PI;tl.point[0]<td.point[0]&&(t7+=180),tA.rotate(-t7*Math.PI/180)}
vendor: 5,029 bytes, line 54
54tA.translate(tz,tG,0),th-=tE[0]*tk[tn].an*.005,tk[tn+1]&&tZ!==tk[tn+1].ind&&(th+=tk[tn].an/2+.001*te.tr*te.finalSize)}else{switch(tA.translate(ti,ts,0),te.ps&&tA.translate(te.ps[0],te.ps[1]+te.ascent,0),te.j){case 1:tA.translate(tk[tn].animatorJustifyOffset+te.justifyOffset+(te.boxWidth-te.lineWidths[tk[tn].line]),0,0);break;case 2:tA.translate(tk[tn].animatorJustifyOffset+te.justifyOffset+(te.boxWidth-te.lineWidths[tk[tn].line])/2,0,0)}tA.translate(0,-te.ls),tA.translate(tL,0,0),tA.translate(tE[0]*tk[tn].an*.005,tE[1]*tV*.01,0),ti+=tk[tn].l+.001*te.tr*te.finalSize}"html"===tC?t1=tA.toCSS():"svg"===tC?t1=tA.to2dCSS():t2=[tA.props[0],tA.props[1],tA.props[2],tA.props[3],tA.props[4],tA.props[5],tA.props[6],tA.props[7],tA.props[8],tA.props[9],tA.props[10],tA.props[11],tA.props[12],tA.props[13],tA.props[14],tA.props[15]],tX=tN}tw<=tn?(tR=new LetterProps(tX,tW,tU,tY,t1,t2),this.renderedLetters.push(tR),tw+=1,this.lettersChangedFlag=!0):(tR=this.renderedLetters[tn],this.lettersChangedFlag=tR.update(tX,tW,tU,tY,t1,t2)||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(te,tr,ti){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(te,tr,ti),this.textProperty=new TextProperty(this,te.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(te.t,this.renderType,this),this.initTransform(te,tr,ti),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(te){this._mdf=!1,this.prepareRenderableFrame(te),this.prepareProperties(te,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(te,tr){var ti,ts,tn=tr.length,ta="";for(ti=0;ti<tn;ti+=1)"sh"===tr[ti].ty&&(ta+=buildShapeString(ts=tr[ti].ks.k,ts.i.length,!0,te));return ta},ITextElement.prototype.updateDocumentData=function(te,tr){this.textProperty.updateDocumentData(te,tr)},ITextElement.prototype.canResizeFont=function(te){this.textProperty.canResizeFont(te)},ITextElement.prototype.setMinimumFontSize=function(te){this.textProperty.setMinimumFontSize(te)},ITextElement.prototype.applyTextPropertiesToMatrix=function(te,tr,ti,ts,tn){switch(te.ps&&tr.translate(te.ps[0],te.ps[1]+te.ascent,0),tr.translate(0,-te.ls,0),te.j){case 1:tr.translate(te.justifyOffset+(te.boxWidth-te.lineWidths[ti]),0,0);break;case 2:tr.translate(te.justifyOffset+(te.boxWidth-te.lineWidths[ti])/2,0,0)}tr.translate(ts,tn,0)},ITextElement.prototype.buildColor=function(te){return"rgb("+Math.round(255*te[0])+","+Math.round(255*te[1])+","+Math.round(255*te[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(te,tr,ti){this.textSpans=[],this.renderType="svg",this.initElement(te,tr,ti)}function ISolidElement(te,tr,ti){this.initElement(te,tr,ti)}function NullElement(te,tr,ti){this.initFrame(),this.initBaseData(te,tr,ti),this.initFrame(),this.initTransform(te,tr,ti),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(te,tr,ti){this.layers=te.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(te,tr,ti),this.tm=te.tm?PropertyFactory.getProp(this,te.tm,0,tr.frameRate,this):{_placeholder:!0}}function SVGRenderer(te,tr){this.animationItem=te,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var ti="";if(tr&&tr.title){var ts=createNS("title"),tn=createElementID();ts.setAttribute("id",tn),ts.textContent=tr.title,this.svgElement.appendChild(ts),ti+=tn}if(tr&&tr.description){var ta=createNS("desc"),to=createElementID();ta.setAttribute("id",to),ta.textContent=tr.description,this.svgElement.appendChild(ta),ti+=" "+to}ti&&this.svgElement.setAttribute("aria-labelledby",ti);var th=createNS("defs");this.svgElement.appendChild(th);var tl=createNS("g");this.svgElement.appendChild(tl),this.layerElement=tl,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 54
54sable,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:th,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var te;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),te=0;te<15;te+=1)this.saved[te]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(te,tr){this.data=te,this.element=tr,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var ti,ts=this.masksProperties.length,tn=!1;for(ti=0;ti<ts;ti+=1)"n"!==this.masksProperties[ti].mode&&(tn=!0),this.viewData[ti]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[ti],3);this.hasMasks=tn,tn&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(te,tr,ti,ts){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var tn,ta=4;"rc"===tr.ty?ta=5:"el"===tr.ty?ta=6:"sr"===tr.ty&&(ta=7),this.sh=ShapePropertyFactory.getShapeProp(te,tr,ta,te);var to,th=ti.length;for(tn=0;tn<th;tn+=1)ti[tn].closed||(to={transforms:ts.addTransformSequence(ti[tn].transforms),trNodes:[]},this.styledShapes.push(to),ti[tn].elements.push(to))}function CVShapeElement(te,tr,ti){this.shapes=[],this.shapesData=te.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(te,tr,ti)}function CVTextElement(te,tr,ti){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(te,tr,ti)}function CVImageElement(te,tr,ti){this.assetData=tr.getAssetData(te.refId),this.img=tr.imageLoader.getAsset(this.assetData),this.initElement(te,tr,ti)}function CVSolidElement(te,tr,ti){this.initElement(te,tr,ti)}function CanvasRendererBase(te,tr){this.animationItem=te,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 54
54w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(te,tr,ti){this.completeLayers=!1,this.layers=te.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(te,tr,ti),this.tm=te.tm?PropertyFactory.getProp(this,te.tm,0,tr.frameRate,this):{_placeholder:!0}}function CanvasRenderer(te,tr){this.animationItem=te,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 54
54w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(te,tr,ti){this.initElement(te,tr,ti)}function HShapeElement(te,tr,ti){this.shapes=[],this.shapesData=te.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(te,tr,ti),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(te,tr,ti){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(te,tr,ti)}function HCameraElement(te,tr,ti){this.initFrame(),this.initBaseData(te,tr,ti),this.initHierarchy();var ts=PropertyFactory.getProp;if(this.pe=ts(this,te.pe,0,0,this),te.ks.p.s?(this.px=ts(this,te.ks.p.x,1,0,this),this.py=ts(this,te.ks.p.y,1,0,this),this.pz=ts(this,te.ks.p.z,1,0,this)):this.p=ts(this,te.ks.p,1,0,this),te.ks.a&&(this.a=ts(this,te.ks.a,1,0,this)),te.ks.or.k.length&&te.ks.or.k[0].to){var tn,ta=te.ks.or.k.length;for(tn=0;tn<ta;tn+=1)te.ks.or.k[tn].to=null,te.ks.or.k[tn].ti=null}this.or=ts(this,te.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=ts(this,te.ks.rx,0,degToRads,this),this.ry=ts(this,te.ks.ry,0,degToRads,this),this.rz=ts(this,te.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(te,tr,ti){this.assetData=tr.getAssetData(te.refId),this.initElement(te,tr,ti)}function HybridRendererBase(te,tr){this.animationItem=te,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(te,tr,ti){this.layers=te.layers,this.supports3d=!te.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(te,tr,ti),this.tm=te.tm?PropertyFactory.getProp(this,te.tm,0,tr.frameRate,this):{_placeholder:!0}}function HybridRenderer(te,tr){this.animationItem=te,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(te){for(var tr=0,ti=te.length,ts=[],tn="";tr<ti;)"\r"===te[tr]||"\x03"===te[tr]?(ts.push(tn),tn=""):tn+=te[tr],tr+=1;return ts.push(tn),ts},SVGTextLottieElement.prototype.buildShapeData=function(te,tr){if(te.shapes&&te.shapes.length){var ti=te.shapes[0];if(ti.it){var ts=ti.it[ti.it.length-1];ts.s&&(ts.s.k[0]=tr,ts.s.k[1]=tr)}}return te},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var te=this.textProperty.currentData;this.renderedLetters=createSizedArray(te?te.l.length:0),te.fc?this.layerElement.setAttribute("fill",this.buildColor(te.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),te.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(te.sc)),this.layerElement.setAttribute("stroke-width",te.sw)),this.layerElement.setAttribute("font-size",te.finalSize);var tr=this.globalData.fontManager.getFontByName(te.f);if(tr.fClass)this.layerElement.setAttribute("class",tr.fClass);else{this.layerElement.setAttribute("font-family",tr.fFamily);var ti=te.fWeight,ts=te.fStyle;this.layerElement.setAttribute("font-style",ts),this.layerElement.setAttribute("font-weight",ti)}this.layerElement.setAttribute("aria-label",te.t);var tn,ta,to,th=te.l||[],tl=!!this.globalData.fontManager.chars;ta=th.length;var tp=this.mHelper,tc=this.data.singleShape,tf=0,tu=0,td=!0,tm=.001*te.tr*te.finalSize;if(!tc||tl||te.sz){var ty,tg=this.textSpans.length;for(tn=0;tn<ta;tn+=1){if(this.textSpans[tn]||(this.textSpans[tn]={span:null,childSpan:null,glyph:null}),!tl||!tc||0===tn){if(to=tg>tn?this.textSpans[tn].span:createNS(tl?"g":"text"),tg<=tn){if(to.setAttribute("stroke-linecap","butt"),to.setAttribute("stroke-linejoin","round"),to.setAttribute("stroke-miterlimit","4"),this.textSpans[tn].span=to,tl){var tv,tb=createNS("g");to.appendChild(tb),this.textSpans[tn].childSpan=tb}this.textSpans[tn].span=to,this.layerElement.appendChild(to)}to.style.display="inherit"}if(tp.reset(),tc&&(th[tn].n&&(tf=-tm,tu+=te.yOffset+(td?1:0),td=!1),this.applyTextPropertiesToMatrix(te,tp,th[tn].line,tf,tu),tf+=(th[tn].l||0)+tm),tl){if(1===(ty=this.globalData.fontManager.getCharData(te.finalText[tn],tr.fStyle,this.globalData.fontManager.getFontByName(te.f).fFamily)).t)tv=new SVGCompElement(ty.data,this.globalData,this);else{var t_=emptyShapeData;ty.data&&ty.data.shapes&&(t_=this.buildShapeData(ty.data,te.finalSize)),tv=new SVGShapeElement(t_,this.globalData,this)}if(this.textSpans[tn].glyph){var tS=this.textSpans[tn].glyph;this.textSpans[tn].childSpan.removeChild(tS.layerElement),tS.destroy()}this.textSpans[tn].glyph=tv,tv._debug=!0,tv.prepareFrame(0),tv.renderFrame(),this.textSpans[tn].childSpan.appendChild(tv.layerElement),1===ty.t&&this.textSpans[tn].childSpan.setAttribute("transform","scale("+te.finalSize/100+","+te.finalSize/100+")")}else tc&&to.setAttribute("transform","translate("+tp.props[12]+","+tp.props[13]+")"),to.textContent=th[tn].val,to.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}tc&&to&&to.setAttribute("d","")}else{var tE=this.textContainer,tP="start";switch(te.j){case 1:tP="end";break;case 2:tP="middle";break;default:tP="start"}tE.setAttribute("text-anchor",tP),tE.setAttribute("letter-spacing",tm);var tx=this.buildTextContents(te.finalText);for(ta=tx.length,tu=te.ps?te.ps[1]+te.ascent:0,tn=0;tn<ta;tn+=1)(to=this.textSpans[tn].span||createNS("tspan")).textContent=tx[tn],to.setAttribute("x",0),to.setAttribute("y",tu),to.style.display="inherit",tE.appendChild(to),this.textSpans[tn]||(this.textSpans[tn]={span:null,glyph:null}),this.textSpans[tn].span=to,tu+=te.finalLineHeight;this.layerElement.appendChild(tE)}for(;tn<this.textSpans.length;)this.textSpans[tn].span.style.display="none",tn+=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 te=this.layerElement.getBBox();this.bbox={top:te.y,left:te.x,width:te.width,height:te.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var te,tr,ti=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,te=0;te<ti;te+=1)(tr=this.textSpans[te].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 te,tr,ti,ts,tn,ta=this.textAnimator.renderedLetters,to=this.textProperty.currentData.l;for(tr=to.length,te=0;te<tr;te+=1)to[te].n||(ti=ta[te],ts=this.textSpans[te].span,(tn=this.textSpans[te].glyph)&&tn.renderFrame(),ti._mdf.m&&ts.setAttribute("transform",ti.m),ti._mdf.o&&ts.setAttribute("op
54acity",ti.o),ti._mdf.sw&&ts.setAttribute("stroke-width",ti.sw),ti._mdf.sc&&ts.setAttribute("stroke",ti.sc),ti._mdf.fc&&ts.setAttribute("fill",ti.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var te=createNS("rect");te.setAttribute("width",this.data.sw),te.setAttribute("height",this.data.sh),te.setAttribute("fill",this.data.sc),this.layerElement.appendChild(te)},NullElement.prototype.prepareFrame=function(te){this.prepareProperties(te,!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(te){return new NullElement(te,this.globalData,this)},SVGRendererBase.prototype.createShape=function(te){return new SVGShapeElement(te,this.globalData,this)},SVGRendererBase.prototype.createText=function(te){return new SVGTextLottieElement(te,this.globalData,this)},SVGRendererBase.prototype.createImage=function(te){return new IImageElement(te,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(te){return new ISolidElement(te,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(te){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 "+te.w+" "+te.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",te.w),this.svgElement.setAttribute("height",te.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(te,tr),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=te;var ti=createNS("clipPath"),ts=createNS("rect");ts.setAttribute("width",te.w),ts.setAttribute("height",te.h),ts.setAttribute("x",0),ts.setAttribute("y",0);var tn=createElementID();ti.setAttribute("id",tn),ti.appendChild(ts),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+tn+")"),tr.appendChild(ti),this.layers=te.layers,this.elements=createSizedArray(te.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var te,tr=this.layers?this.layers.length:0;for(te=0;te<tr;te+=1)this.elements[te]&&this.elements[te].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(te){var tr=0,ti=this.layers.length;for(tr=0;tr<ti;tr+=1)if(this.layers[tr].ind===te)return tr;return -1},SVGRendererBase.prototype.buildItem=function(te){var tr=this.elements;if(!tr[te]&&99!==this.layers[te].ty){tr[te]=!0;var ti=this.createItem(this.layers[te]);if(tr[te]=ti,getExpressionsPlugin()&&(0===this.layers[te].ty&&this.globalData.projectInterface.registerComposition(ti),ti.initExpressions()),this.appendElementInPos(ti,te),this.layers[te].tt){var ts="tp"in this.layers[te]?this.findIndexByInd(this.layers[te].tp):te-1;if(-1===ts)return;if(this.elements[ts]&&!0!==this.elements[ts]){var tn=tr[ts].getMatte(this.layers[te].tt);ti.setMatte(tn)}else this.buildItem(ts),this.addPendingElement(ti)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var te=this.pendingElements.pop();if(te.checkParenting(),te.data.tt)for(var tr=0,ti=this.elements.length;tr<ti;){if(this.elements[tr]===te){var ts="tp"in te.data?this.findIndexByInd(te.data.tp):tr-1,tn=this.elements[ts].getMatte(this.layers[tr].tt);te.setMatte(tn);break}tr+=1}}},SVGRendererBase.prototype.renderFrame=function(te){if(this.renderedFrame!==te&&!this.destroyed){null===te?te=this.renderedFrame:this.renderedFrame=te,this.globalData.frameNum=te,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=te,this.globalData._mdf=!1;var tr,ti=this.layers.length;for(this.completeLayers||this.checkLayers(te),tr=ti-1;tr>=0;tr-=1)(this.completeLayers||this.elements[tr])&&this.elements[tr].prepareFrame(te-this.layers[tr].st);if(this.globalData._mdf)for(tr=0;tr<ti;tr+=1)(this.completeLayers||this.elements[tr])&&this.elements[tr].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(te,tr){var ti=te.getBaseElement();if(ti){for(var ts,tn=0;tn<tr;)this.elements[tn]&&!0!==this.elements[tn]&&this.elements[tn].getBaseElement()&&
vendor: 7,356 bytes, line 54
54(ts=this.elements[tn].getBaseElement()),tn+=1;ts?this.layerElement.insertBefore(ti,ts):this.layerElement.appendChild(ti)}},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(te,tr,ti){this.initFrame(),this.initBaseData(te,tr,ti),this.initTransform(te,tr,ti),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&tr.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(te){if(this._mdf=!1,this.prepareRenderableFrame(te),this.prepareProperties(te,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=te/this.data.sr;else{var tr=this.tm.v;tr===this.data.op&&(tr=this.data.op-1),this.renderedFrame=tr}var ti,ts=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),ti=ts-1;ti>=0;ti-=1)(this.completeLayers||this.elements[ti])&&(this.elements[ti].prepareFrame(this.renderedFrame-this.layers[ti].st),this.elements[ti]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var te,tr=this.layers.length;for(te=0;te<tr;te+=1)(this.completeLayers||this.elements[te])&&this.elements[te].renderFrame()},ICompElement.prototype.setElements=function(te){this.elements=te},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var te,tr=this.layers.length;for(te=0;te<tr;te+=1)this.elements[te]&&this.elements[te].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(te){return new SVGCompElement(te,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(te){return new SVGCompElement(te,this.globalData,this)},CVContextData.prototype.duplicate=function(){var te=2*this._length,tr=this.savedOp;this.savedOp=createTypedArray("float32",te),this.savedOp.set(tr);var ti=0;for(ti=this._length;ti<te;ti+=1)this.saved[ti]=createTypedArray("float32",16);this._length=te},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(te){var tr,ti=te.length,ts="_";for(tr=0;tr<ti;tr+=1)ts+=te[tr].transform.key+"_";var tn=this.sequences[ts];return tn||(tn={transforms:[].concat(te),finalTransform:new Matrix,_mdf:!1},this.sequences[ts]=tn,this.sequenceList.push(tn)),tn},processSequence:function(te,tr){for(var ti,ts=0,tn=te.transforms.length,ta=tr;ts<tn&&!tr;){if(te.transforms[ts].transform.mProps._mdf){ta=!0;break}ts+=1}if(ta)for(te.finalTransform.reset(),ts=tn-1;ts>=0;ts-=1)ti=te.transforms[ts].transform.mProps.v.props,te.finalTransform.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]);te._mdf=ta},processSequences:function(te){var tr,ti=this.sequenceList.length;for(tr=0;tr<ti;tr+=1)this.processSequence(this.sequenceList[tr],te)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var te,tr,ti,ts,tn=this.element.finalTransform.mat,ta=this.element.canvasContext,to=this.masksProperties.length;for(ta.beginPath(),te=0;te<to;te+=1)if("n"!==this.masksProperties[te].mode){this.masksProperties[te].inv&&(ta.moveTo(0,0),ta.lineTo(this.element.globalData.compSize.w,0),ta.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),ta.lineTo(0,this.element.globalData.compSize.h),ta.lineTo(0,0)),ts=this.viewData[te].v,tr=tn.applyToPointArray(ts.v[0][0],ts.v[0][1],0),ta.moveTo(tr[0],tr[1]);var th,tl=ts._length;for(th=1;th<tl;th+=1)ti=tn.applyToTriplePoints(ts.o[th-1],ts.i[th],ts.v[th]),ta.bezierCurveTo(ti[0],ti[1],ti[2],ti[3],ti[4],ti[5]);ti=tn.applyToTriplePoints(ts.o[th-1],ts.i[0],ts.v[0]),ta.bezierCurveTo(ti[0],ti[1],ti[2],ti[3],ti[4],ti[5])}this.element.globalData.renderer.save(!0),ta.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 te=this.globalData;if(te.blendMode!==this.data.bm){te.blendMode=this.data.bm;var tr=getBlendMode(this.data.bm);te.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 te=0===this.data.ty;this.globalData.renderer.save(te),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(te),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(te,tr){var ti={data:te,type:te.ty,preTransforms:this.transformsManager.addTransformSequence(tr),transforms:[],elements:[],closed:!0===te.hd},ts={};if("fl"===te.ty||"st"===te.ty?(ts.c=PropertyFactory.getProp(this,te.c,1,255,this),ts.c.k||(ti.co="rgb("+bmFloor(ts.c.v[0])+","+bmFloor(ts.c.v[1])+","+bmFloor(ts.c.v[2])+")")):"gf"!==te.ty&&"gs"!==te.ty||(ts.s=PropertyFactory.getProp(this,te.s,1,null,this),ts.e=PropertyFactory.getProp(this,te.e,1,null,this),ts.h=PropertyFactory.getProp(this,te.h||{k:0},0,.01,this),ts.a=PropertyFactory.getProp(this,te.a||{k:0},0,degToRads,this),ts.g=new GradientProperty(this,te.g,this)),ts.o=PropertyFactory.getProp(this,te.o,0,.01,this),"st"===te.ty||"gs"===te.ty){if(ti.lc=lineCapEnum[te.lc||2],ti.lj=lineJoinEnum[te.lj||2],
vendor: 4,664 bytes, line 54
541==te.lj&&(ti.ml=te.ml),ts.w=PropertyFactory.getProp(this,te.w,0,null,this),ts.w.k||(ti.wi=ts.w.v),te.d){var tn=new DashProperty(this,te.d,"canvas",this);ts.d=tn,ts.d.k||(ti.da=ts.d.dashArray,ti.do=ts.d.dashoffset[0])}}else ti.r=2===te.r?"evenodd":"nonzero";return this.stylesList.push(ti),ts.style=ti,ts},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(te){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,te.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,te,this)}}},CVShapeElement.prototype.createShapeElement=function(te){var tr=new CVShapeData(this,te,this.stylesList,this.transformsManager);return this.shapes.push(tr),this.addShapeToModifiers(tr),tr},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var te,tr=this.itemsData.length;for(te=0;te<tr;te+=1)this.prevViewData[te]=this.itemsData[te];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),tr=this.dynamicProperties.length,te=0;te<tr;te+=1)this.dynamicProperties[te].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(te){var tr,ti=this.stylesList.length;for(tr=0;tr<ti;tr+=1)this.stylesList[tr].closed||this.stylesList[tr].transforms.push(te)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var te,tr=this.stylesList.length;for(te=0;te<tr;te+=1)this.stylesList[te].closed||this.stylesList[te].transforms.pop()},CVShapeElement.prototype.closeStyles=function(te){var tr,ti=te.length;for(tr=0;tr<ti;tr+=1)te[tr].closed=!0},CVShapeElement.prototype.searchShapes=function(te,tr,ti,ts,tn){var ta,to,th,tl,tp,tc,tf=te.length-1,tu=[],td=[],tm=[].concat(tn);for(ta=tf;ta>=0;ta-=1){if((tl=this.searchProcessedElement(te[ta]))?tr[ta]=ti[tl-1]:te[ta]._shouldRender=ts,"fl"===te[ta].ty||"st"===te[ta].ty||"gf"===te[ta].ty||"gs"===te[ta].ty)tl?tr[ta].style.closed=!1:tr[ta]=this.createStyleElement(te[ta],tm),tu.push(tr[ta].style);else if("gr"===te[ta].ty){if(tl)for(th=tr[ta].it.length,to=0;to<th;to+=1)tr[ta].prevViewData[to]=tr[ta].it[to];else tr[ta]=this.createGroupElement(te[ta]);this.searchShapes(te[ta].it,tr[ta].it,tr[ta].prevViewData,ts,tm)}else"tr"===te[ta].ty?(tl||(tc=this.createTransformElement(te[ta]),tr[ta]=tc),tm.push(tr[ta]),this.addTransformToStyleList(tr[ta])):"sh"===te[ta].ty||"rc"===te[ta].ty||"el"===te[ta].ty||"sr"===te[ta].ty?tl||(tr[ta]=this.createShapeElement(te[ta])):"tm"===te[ta].ty||"rd"===te[ta].ty||"pb"===te[ta].ty||"zz"===te[ta].ty||"op"===te[ta].ty?(tl?(tp=tr[ta]).closed=!1:((tp=ShapeModifiers.getModifier(te[ta].ty)).init(this,te[ta]),tr[ta]=tp,this.shapeModifiers.push(tp)),td.push(tp)):"rp"===te[ta].ty&&(tl?(tp=tr[ta]).closed=!0:(tp=ShapeModifiers.getModifier(te[ta].ty),tr[ta]=tp,tp.init(this,te,ta,tr),this.shapeModifiers.push(tp),ts=!1),td.push(tp));this.addProcessedElement(te[ta],ta+1)}for(this.removeTransformFromStyleList(),this.closeStyles(tu),tf=td.length,ta=0;ta<tf;ta+=1)td[ta].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(te,tr){(te._opMdf||tr.op._mdf||this._isFirstFrame)&&(tr.opacity=te.opacity,tr.opacity*=tr.op.v,tr._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var te,tr,ti,ts,tn,ta,to,th,tl,tp=this.stylesList.length,tc=this.globalData.renderer,tf=this.globalData.canvasContext;for(te=0;te<tp;te+=1)if(("st"!==(th=(tl=this.stylesList[te]).type)&&"gs"!==th||0!==tl.wi)&&tl.data._shouldRender&&0!==tl.coOp&&0!==this.globalData.currentGlobalAlpha){for(tc.save(),ta=tl.elements,"st"===th||"gs"===th?(tf.strokeStyle="st"===th?tl.co:tl.grd,tf.lineWidth=tl.wi,tf.lineCap=tl.lc,tf.lineJoin=tl.lj,tf.miterLimit=tl.ml||0):tf.fillStyle="fl"===th?tl.co:tl.grd,tc.ctxOpacity(tl.coOp),"st"!==th&&"gs"!==th&&tf.beginPath(),tc.ctxTransform(tl.preTransforms.finalTransform.props),ti=ta.length,tr=0;tr<ti;tr+=1){for("st"!==th&&"gs"!==th||(tf.beginPath(),tl.da&&(tf.setLineDash(tl.da),tf.lineDashOffset=tl.do)),tn=(to=ta[tr].trNodes).length,ts=0;ts<tn;ts+=1)"m"===to[ts].t?tf.moveTo(to[ts].p[0],to[ts].p[1]):"c"===to[ts].t?tf.bezierCurveTo(to[ts].pts[0],to[ts].pts[1],to[ts].pts[2],to[ts].pts[3],to[ts].pts[4],to[ts].pts[5]):tf.closePath();"st"!==th&&"gs"!==th||(tf.stroke(),tl.da&&tf.setLineDash(this.dashResetter))}
vendor: 4,914 bytes, line 54
54"st"!==th&&"gs"!==th&&tf.fill(tl.r),tc.restore()}},CVShapeElement.prototype.renderShape=function(te,tr,ti,ts){var tn,ta;for(ta=te,tn=tr.length-1;tn>=0;tn-=1)"tr"===tr[tn].ty?(ta=ti[tn].transform,this.renderShapeTransform(te,ta)):"sh"===tr[tn].ty||"el"===tr[tn].ty||"rc"===tr[tn].ty||"sr"===tr[tn].ty?this.renderPath(tr[tn],ti[tn]):"fl"===tr[tn].ty?this.renderFill(tr[tn],ti[tn],ta):"st"===tr[tn].ty?this.renderStroke(tr[tn],ti[tn],ta):"gf"===tr[tn].ty||"gs"===tr[tn].ty?this.renderGradientFill(tr[tn],ti[tn],ta):"gr"===tr[tn].ty?this.renderShape(ta,tr[tn].it,ti[tn].it):tr[tn].ty;ts&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(te,tr){if(this._isFirstFrame||tr._mdf||te.transforms._mdf){var ti,ts,tn,ta=te.trNodes,to=tr.paths,th=to._length;ta.length=0;var tl=te.transforms.finalTransform;for(tn=0;tn<th;tn+=1){var tp=to.shapes[tn];if(tp&&tp.v){for(ts=tp._length,ti=1;ti<ts;ti+=1)1===ti&&ta.push({t:"m",p:tl.applyToPointArray(tp.v[0][0],tp.v[0][1],0)}),ta.push({t:"c",pts:tl.applyToTriplePoints(tp.o[ti-1],tp.i[ti],tp.v[ti])});1===ts&&ta.push({t:"m",p:tl.applyToPointArray(tp.v[0][0],tp.v[0][1],0)}),tp.c&&ts&&(ta.push({t:"c",pts:tl.applyToTriplePoints(tp.o[ti-1],tp.i[0],tp.v[0])}),ta.push({t:"z"}))}}te.trNodes=ta}},CVShapeElement.prototype.renderPath=function(te,tr){if(!0!==te.hd&&te._shouldRender){var ti,ts=tr.styledShapes.length;for(ti=0;ti<ts;ti+=1)this.renderStyledShape(tr.styledShapes[ti],tr.sh)}},CVShapeElement.prototype.renderFill=function(te,tr,ti){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||ti._opMdf||this._isFirstFrame)&&(ts.coOp=tr.o.v*ti.opacity)},CVShapeElement.prototype.renderGradientFill=function(te,tr,ti){var ts,tn=tr.style;if(!tn.grd||tr.g._mdf||tr.s._mdf||tr.e._mdf||1!==te.t&&(tr.h._mdf||tr.a._mdf)){var ta,to=this.globalData.canvasContext,th=tr.s.v,tl=tr.e.v;if(1===te.t)ts=to.createLinearGradient(th[0],th[1],tl[0],tl[1]);else{var tp=Math.sqrt(Math.pow(th[0]-tl[0],2)+Math.pow(th[1]-tl[1],2)),tc=Math.atan2(tl[1]-th[1],tl[0]-th[0]),tf=tr.h.v;tf>=1?tf=.99:tf<=-1&&(tf=-.99);var tu=tp*tf,td=Math.cos(tc+tr.a.v)*tu+th[0],tm=Math.sin(tc+tr.a.v)*tu+th[1];ts=to.createRadialGradient(td,tm,0,th[0],th[1],tp)}var ty=te.g.p,tg=tr.g.c,tv=1;for(ta=0;ta<ty;ta+=1)tr.g._hasOpacity&&tr.g._collapsable&&(tv=tr.g.o[2*ta+1]),ts.addColorStop(tg[4*ta]/100,"rgba("+tg[4*ta+1]+","+tg[4*ta+2]+","+tg[4*ta+3]+","+tv+")");tn.grd=ts}tn.coOp=tr.o.v*ti.opacity},CVShapeElement.prototype.renderStroke=function(te,tr,ti){var ts=tr.style,tn=tr.d;tn&&(tn._mdf||this._isFirstFrame)&&(ts.da=tn.dashArray,ts.do=tn.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||ti._opMdf||this._isFirstFrame)&&(ts.coOp=tr.o.v*ti.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 te=this.textProperty.currentData;this.renderedLetters=createSizedArray(te.l?te.l.length:0);var tr=!1;te.fc?(tr=!0,this.values.fill=this.buildColor(te.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=tr;var ti=!1;te.sc&&(ti=!0,this.values.stroke=this.buildColor(te.sc),this.values.sWidth=te.sw);var ts,tn,ta,to,th,tl,tp,tc,tf,tu,td,tm,ty=this.globalData.fontManager.getFontByName(te.f),tg=te.l,tv=this.mHelper;this.stroke=ti,this.values.fValue=te.finalSize+"px "+this.globalData.fontManager.getFontByName(te.f).fFamily,tn=te.finalText.length;var tb=this.data.singleShape,t_=.001*te.tr*te.finalSize,tS=0,tE=0,tP=!0,tx=0;for(ts=0;ts<tn;ts+=1){to=(ta=this.globalData.fontManager.getCharData(te.finalText[ts],ty.fStyle,this.globalData.fontManager.getFontByName(te.f).fFamily))&&ta.data||{},tv.reset(),tb&&tg[ts].n&&(tS=-t_,tE+=te.yOffset+(tP?1:0),tP=!1),tf=(tp=to.shapes?to.shapes[0].it:[]).length,tv.scale(te.finalSize/100,te.finalSize/100),tb&&this.applyTextPropertiesToMatrix(te,tv,tg[ts].line,tS,tE),td=createSizedArray(tf-1);var tA=0;for(tc=0;tc<tf;tc+=1)if("sh"===tp[tc].ty){for(tl=tp[tc].ks.k.i.length,tu=tp[tc].ks.k,tm=[],th=1;th<tl;th+=1)1===th&&tm.push(tv.applyToX(tu.v[0][0],tu.v[0][1],0),tv.applyToY(tu.v[0][0],tu.v[0][1],0)),tm.push(tv.applyToX(tu.o[th-1][0],tu.o[th-1][1],0),tv.applyToY(tu.o[th-1][0],tu.o[th-1][1],0),tv.applyToX(tu.i[th][0],tu.i[th][1],0),tv.applyToY(tu.i[th][0],tu.i[th][1],0),tv.applyToX(tu.v[th][0],tu.v[th][1],0),tv.applyToY(tu.v[th][0],tu.v[th][1],0));tm.push(tv.applyToX(tu.o[th-1][0],tu.o[th-1][1],0),tv.applyToY(tu.o[th-1][0],tu.o[th-1][1],0),tv.applyToX(tu.i[0][0],tu.i[
540][1],0),tv.applyToY(tu.i[0][0],tu.i[0][1],0),tv.applyToX(tu.v[0][0],tu.v[0][1],0),tv.applyToY(tu.v[0][0],tu.v[0][1],0)),td[tA]=tm,tA+=1}tb&&(tS+=tg[ts].l+t_),this.textSpans[tx]?this.textSpans[tx].elem=td:this.textSpans[tx]={elem:td},tx+=1}},CVTextElement.prototype.renderInnerContent=function(){var te,tr,ti,ts,tn,ta,to=this.canvasContext;to.font=this.values.fValue,to.lineCap="butt",to.lineJoin="miter",to.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var th,tl=this.textAnimator.renderedLetters,tp=this.textProperty.currentData.l;tr=tp.length;var tc,tf,tu=null,td=null,tm=null;for(te=0;te<tr;te+=1)if(!tp[te].n){if((th=tl[te])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(th.p),this.globalData.renderer.ctxOpacity(th.o)),this.fill){for(th&&th.fc?tu!==th.fc&&(tu=th.fc,to.fillStyle=th.fc):tu!==this.values.fill&&(tu=this.values.fill,to.fillStyle=this.values.fill),ts=(tc=this.textSpans[te].elem).length,this.globalData.canvasContext.beginPath(),ti=0;ti<ts;ti+=1)for(ta=(tf=tc[ti]).length,this.globalData.canvasContext.moveTo(tf[0],tf[1]),tn=2;tn<ta;tn+=6)this.globalData.canvasContext.bezierCurveTo(tf[tn],tf[tn+1],tf[tn+2],tf[tn+3],tf[tn+4],tf[tn+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(th&&th.sw?tm!==th.sw&&(tm=th.sw,to.lineWidth=th.sw):tm!==this.values.sWidth&&(tm=this.values.sWidth,to.lineWidth=this.values.sWidth),th&&th.sc?td!==th.sc&&(td=th.sc,to.strokeStyle=th.sc):td!==this.values.stroke&&(td=this.values.stroke,to.strokeStyle=this.values.stroke),ts=(tc=this.textSpans[te].elem).length,this.globalData.canvasContext.beginPath(),ti=0;ti<ts;ti+=1)for(ta=(tf=tc[ti]).length,this.globalData.canvasContext.moveTo(tf[0],tf[1]),tn=2;tn<ta;tn+=6)this.globalData.canvasContext.bezierCurveTo(tf[tn],tf[tn+1],tf[tn+2],tf[tn+3],tf[tn+4],tf[tn+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}th&&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 te=createTag("canvas");te.width=this.assetData.w,te.height=this.assetData.h;var tr,ti,ts=te.getContext("2d"),tn=this.img.width,ta=this.img.height,to=tn/ta,th=this.assetData.w/this.assetData.h,tl=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;to>th&&"xMidYMid slice"===tl||to<th&&"xMidYMid slice"!==tl?tr=(ti=ta)*th:ti=(tr=tn)/th,ts.drawImage(this.img,(tn-tr)/2,(ta-ti)/2,tr,ti,0,0,this.assetData.w,this.assetData.h),this.img=te}},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 te=this.canvasContext;te.fillStyle=this.data.sc,te.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(te){return new CVShapeElement(te,this.globalData,this)},CanvasRendererBase.prototype.createText=function(te){return new CVTextElement(te,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(te){return new CVImageElement(te,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(te){return new CVSolidElement(te,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(te){if(1!==te[0]||0!==te[1]||0!==te[4]||1!==te[5]||0!==te[12]||0!==te[13]){if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(te);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 ti=this.contextData.cTr.props;this.canvasContext.setTransform(ti[0],ti[1],ti[4],ti[5],ti[12],ti[13])}else this.canvasContext.transform(te[0],te[1],te[4],te[5],te[12],te[13])}},CanvasRendererBase.prototype.ctxOpacity=function(te){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=te<0?0:te,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=te<0?0:te,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(
54)},CanvasRendererBase.prototype.save=function(te){if(this.renderConfig.clearCanvas){te&&this.canvasContext.save();var tr,ti=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]=ti[tr];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(te){if(this.renderConfig.clearCanvas){te&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var tr,ti=this.contextData.saved[this.contextData.cArrPos],ts=this.contextData.cTr.props;for(tr=0;tr<16;tr+=1)ts[tr]=ti[tr];this.canvasContext.setTransform(ti[0],ti[1],ti[4],ti[5],ti[12],ti[13]),ti=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=ti,this.globalData.currentGlobalAlpha!==ti&&(this.canvasContext.globalAlpha=ti,this.globalData.currentGlobalAlpha=ti)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(te){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var tr=this.animationItem.container.style;tr.width="100%",tr.height="100%";var ti="0px 0px 0px";tr.transformOrigin=ti,tr.mozTransformOrigin=ti,tr.webkitTransformOrigin=ti,tr["-webkit-transform"]=ti,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=te,this.layers=te.layers,this.transformCanvas={w:te.w,h:te.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(te,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(te.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(te,tr){var ti,ts,tn,ta;if(this.reset(),te?(ti=te,ts=tr,this.canvasContext.canvas.width=ti,this.canvasContext.canvas.height=ts):(this.animationItem.wrapper&&this.animationItem.container?(ti=this.animationItem.wrapper.offsetWidth,ts=this.animationItem.wrapper.offsetHeight):(ti=this.canvasContext.canvas.width,ts=this.canvasContext.canvas.height),this.canvasContext.canvas.width=ti*this.renderConfig.dpr,this.canvasContext.canvas.height=ts*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var to=this.renderConfig.preserveAspectRatio.split(" "),th=to[1]||"meet",tl=to[0]||"xMidYMid",tp=tl.substr(0,4),tc=tl.substr(4);tn=ti/ts,(ta=this.transformCanvas.w/this.transformCanvas.h)>tn&&"meet"===th||ta<tn&&"slice"===th?(this.transformCanvas.sx=ti/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=ti/(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"===tp&&(ta<tn&&"meet"===th||ta>tn&&"slice"===th)?(ti-this.transformCanvas.w*(ts/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===tp&&(ta<tn&&"meet"===th||ta>tn&&"slice"===th)?(ti-this.transformCanvas.w*(ts/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===tc&&(ta>tn&&"meet"===th||ta<tn&&"slice"===th)?(ts-this.transformCanvas.h*(ti/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===tc&&(ta>tn&&"meet"===th||ta<tn&&"slice"===th)?(ts-this.transformCanvas.h*(ti/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=ti/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=ts/(this.transformCanvas.h/this.renderConfig.dpr)):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.t
vendor: 4,753 bytes, line 54
54y=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 te;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),te=(this.layers?this.layers.length:0)-1;te>=0;te-=1)this.elements[te]&&this.elements[te].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(te,tr){if((this.renderedFrame!==te||!0!==this.renderConfig.clearCanvas||tr)&&!this.destroyed&&-1!==te){this.renderedFrame=te,this.globalData.frameNum=te-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||tr,this.globalData.projectInterface.currentFrame=te;var ti,ts=this.layers.length;for(this.completeLayers||this.checkLayers(te),ti=0;ti<ts;ti+=1)(this.completeLayers||this.elements[ti])&&this.elements[ti].prepareFrame(te-this.layers[ti].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),ti=ts-1;ti>=0;ti-=1)(this.completeLayers||this.elements[ti])&&this.elements[ti].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(te){var tr=this.elements;if(!tr[te]&&99!==this.layers[te].ty){var ti=this.createItem(this.layers[te],this,this.globalData);tr[te]=ti,ti.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 te,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(),te=this.layers.length-1;te>=0;te-=1)(this.completeLayers||this.elements[te])&&this.elements[te].renderFrame()},CVCompElement.prototype.destroy=function(){var te;for(te=this.layers.length-1;te>=0;te-=1)this.elements[te]&&this.elements[te].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(te){return new CVCompElement(te,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(te){return new CVCompElement(te,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 te=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var tr=this.finalTransform.mat.toCSS();te.transform=tr,te.webkitTransform=tr}this.finalTransform._opMdf&&(te.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=BaseRe
vendor: 23,377 bytes, line 54
54nderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var te;this.data.hasMask?((te=createNS("rect")).setAttribute("width",this.data.sw),te.setAttribute("height",this.data.sh),te.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((te=createTag("div")).style.width=this.data.sw+"px",te.style.height=this.data.sh+"px",te.style.backgroundColor=this.data.sc),this.layerElement.appendChild(te)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var te;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),te=this.svgElement;else{te=createNS("svg");var tr=this.comp.data?this.comp.data:this.globalData.compSize;te.setAttribute("width",tr.w),te.setAttribute("height",tr.h),te.appendChild(this.shapesContainer),this.layerElement.appendChild(te)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=te},HShapeElement.prototype.getTransformedPoint=function(te,tr){var ti,ts=te.length;for(ti=0;ti<ts;ti+=1)tr=te[ti].mProps.v.applyToPointArray(tr[0],tr[1],0);return tr},HShapeElement.prototype.calculateShapeBoundingBox=function(te,tr){var ti,ts,tn,ta,to,th=te.sh.v,tl=te.transformers,tp=th._length;if(!(tp<=1)){for(ti=0;ti<tp-1;ti+=1)ts=this.getTransformedPoint(tl,th.v[ti]),tn=this.getTransformedPoint(tl,th.o[ti]),ta=this.getTransformedPoint(tl,th.i[ti+1]),to=this.getTransformedPoint(tl,th.v[ti+1]),this.checkBounds(ts,tn,ta,to,tr);th.c&&(ts=this.getTransformedPoint(tl,th.v[ti]),tn=this.getTransformedPoint(tl,th.o[ti]),ta=this.getTransformedPoint(tl,th.i[0]),to=this.getTransformedPoint(tl,th.v[0]),this.checkBounds(ts,tn,ta,to,tr))}},HShapeElement.prototype.checkBounds=function(te,tr,ti,ts,tn){this.getBoundsOfCurve(te,tr,ti,ts);var ta=this.shapeBoundingBox;tn.x=bmMin(ta.left,tn.x),tn.xMax=bmMax(ta.right,tn.xMax),tn.y=bmMin(ta.top,tn.y),tn.yMax=bmMax(ta.bottom,tn.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(te,tr,ti,ts){for(var tn,ta,to,th,tl,tp,tc,tf=[[te[0],ts[0]],[te[1],ts[1]]],tu=0;tu<2;++tu)ta=6*te[tu]-12*tr[tu]+6*ti[tu],tn=-3*te[tu]+9*tr[tu]-9*ti[tu]+3*ts[tu],to=3*tr[tu]-3*te[tu],ta|=0,to|=0,0==(tn|=0)&&0===ta||(0===tn?(th=-to/ta)>0&&th<1&&tf[tu].push(this.calculateF(th,te,tr,ti,ts,tu)):(tl=ta*ta-4*to*tn)>=0&&((tp=(-ta+bmSqrt(tl))/(2*tn))>0&&tp<1&&tf[tu].push(this.calculateF(tp,te,tr,ti,ts,tu)),(tc=(-ta-bmSqrt(tl))/(2*tn))>0&&tc<1&&tf[tu].push(this.calculateF(tc,te,tr,ti,ts,tu))));this.shapeBoundingBox.left=bmMin.apply(null,tf[0]),this.shapeBoundingBox.top=bmMin.apply(null,tf[1]),this.shapeBoundingBox.right=bmMax.apply(null,tf[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,tf[1])},HShapeElement.prototype.calculateF=function(te,tr,ti,ts,tn,ta){return bmPow(1-te,3)*tr[ta]+3*bmPow(1-te,2)*te*ti[ta]+3*(1-te)*bmPow(te,2)*ts[ta]+bmPow(te,3)*tn[ta]},HShapeElement.prototype.calculateBoundingBox=function(te,tr){var ti,ts=te.length;for(ti=0;ti<ts;ti+=1)te[ti]&&te[ti].sh?this.calculateShapeBoundingBox(te[ti],tr):te[ti]&&te[ti].it?this.calculateBoundingBox(te[ti].it,tr):te[ti]&&te[ti].style&&te[ti].w&&this.expandStrokeBoundingBox(te[ti].w,tr)},HShapeElement.prototype.expandStrokeBoundingBox=function(te,tr){var ti=0;if(te.keyframes){for(var ts=0;ts<te.keyframes.length;ts+=1){var tn=te.keyframes[ts].s;tn>ti&&(ti=tn)}ti*=te.mult}else ti=te.v*te.mult;tr.x-=ti,tr.xMax+=ti,tr.y-=ti,tr.yMax+=ti},HShapeElement.prototype.currentBoxContains=function(te){return this.currentBBox.x<=te.x&&this.currentBBox.y<=te.y&&this.currentBBox.width+this.currentBBox.x>=te.x+te.width&&this.currentBBox.height+this.currentBBox.y>=te.y+te.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var te=this.tempBoundingBox,tr=999999;if(te.x=tr,te.xMax=-tr,te.y=tr,te.yMax=-tr,this.calculateBoundingBox(this.itemsData,te),te.width=te.xMax<te.x?0:te.xMax-te.x,te.height=te.yMax<te.y?0:te.yMax-te.y,!this.currentBoxContains(te)){var ti=!1;if(this.currentBBox.w!==te.width&&(this.currentBBox.w=te.width,this.shapeCont.setAttribute("width",te.width),ti=!0),this.currentBBox.h!==te.height&&(this.currentBBox.h=te.height,this.shapeCont.setAttribute("height",te.height),ti=!0),ti||this.currentBBox.x!==te.x||this.currentBBox.y!==te.y){this.currentBBox.w=te.width,this.currentBBox.h=te.height,this.currentBBox.x=te.x,this.currentBBox.y=te.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var ts=this.shapeCont.style,tn="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";ts.transform=tn,ts.webkitTransform=tn}}}},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 te=createNS("g");this.maskedElement.appendChild(te),this.innerElem=te}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var te=this.textProperty.currentData;this.renderedLetters=createSizedArray(te.l?te.l.length:0);var tr=this.innerElem.style,ti=te.fc?this.buildColor(te.fc):"rgba(0,0,0,0)";tr.fill=ti,tr.color=ti,te.sc&&(tr.stroke=this.buildColor(te.sc),tr.strokeWidth=te.sw+"px");var ts,tn,ta=this.globalData.fontManager.getFontByName(te.f);if(!this.globalData.fontManager.chars){if(tr.fontSize=te.finalSize+"px",tr.lineHeight=te.finalSize+"px",ta.fClass)this.innerElem.className=ta.fClass;else{tr.fontFamily=ta.fFamily;var to=te.fWeight,th=te.fStyle;tr.fontStyle=th,tr.fontWeight=to}}var tl,tp,tc,tf=te.l;tn=tf.length;var tu,td=this.mHelper,tm="",ty=0;for(ts=0;ts<tn;ts+=1){if(this.globalData.fontManager.chars?(this.textPaths[ty]?tl=this.textPaths[ty]:((tl=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),tl.setAttribute("stroke-linejoin",lineJoinEnum[2]),tl.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[ty]?tc=(tp=this.textSpans[ty]).children[0]:((tp=createTag("div")).style.lineHeight=0,(tc=createNS("svg")).appendChild(tl),styleDiv(tp)))):this.isMasked?tl=this.textPaths[ty]?this.textPaths[ty]:createNS("text"):this.textSpans[ty]?(tp=this.textSpans[ty],tl=this.textPaths[ty]):(styleDiv(tp=createTag("span")),styleDiv(tl=createTag("span")),tp.appendChild(tl)),this.globalData.fontManager.chars){var tg,tv=this.globalData.fontManager.getCharData(te.finalText[ts],ta.fStyle,this.globalData.fontManager.getFontByName(te.f).fFamily);if(tg=tv?tv.data:null,td.reset(),tg&&tg.shapes&&tg.shapes.length&&(tu=tg.shapes[0].it,td.scale(te.finalSize/100,te.finalSize/100),tm=this.createPathShape(td,tu),tl.setAttribute("d",tm)),this.isMasked)this.innerElem.appendChild(tl);else{if(this.innerElem.appendChild(tp),tg&&tg.shapes){document.body.appendChild(tc);var tb=tc.getBBox();tc.setAttribute("width",tb.width+2),tc.setAttribute("height",tb.height+2),tc.setAttribute("viewBox",tb.x-1+" "+(tb.y-1)+" "+(tb.width+2)+" "+(tb.height+2));var t_=tc.style,tS="translate("+(tb.x-1)+"px,"+(tb.y-1)+"px)";t_.transform=tS,t_.webkitTransform=tS,tf[ts].yOffset=tb.y-1}else tc.setAttribute("width",1),tc.setAttribute("height",1);tp.appendChild(tc)}}else if(tl.textContent=tf[ts].val,tl.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(tl);else{this.innerElem.appendChild(tp);var tE=tl.style,tP="translate3d(0,"+-te.finalSize/1.2+"px,0)";tE.transform=tP,tE.webkitTransform=tP}this.isMasked?this.textSpans[ty]=tl:this.textSpans[ty]=tp,this.textSpans[ty].style.display="block",this.textPaths[ty]=tl,ty+=1}for(;ty<this.textSpans.length;)this.textSpans[ty].style.display="none",ty+=1},HTextElement.prototype.renderInnerContent=function(){var te;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),te=this.svgElement.style;var tr="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";te.transform=tr,te.webkitTransform=tr}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var ti,ts,tn,ta,to,th=0,tl=this.textAnimator.renderedLetters,tp=this.textProperty.currentData.l;for(ts=tp.length,ti=0;ti<ts;ti+=1)tp[ti].n?th+=1:(ta=this.textSpans[ti],to=this.textPaths[ti],tn=tl[th],th+=1,tn._mdf.m&&(this.isMasked?ta.setAttribute("transform",tn.m):(ta.style.webkitTransform=tn.m,ta.style.transform=tn.m)),ta.style.opacity=tn.o,tn.sw&&tn._mdf.sw&&to.setAttribute("stroke-width",tn.sw),tn.sc&&tn._mdf.sc&&to.setAttribute("stroke",tn.sc),tn.fc&&tn._mdf.fc&&(to.setAttribute("fill",tn.fc),to.style.color=tn.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var tc=this.innerElem.getBBox();if(this.currentBBox.w!==tc.width&&(this.currentBBox.w=tc.width,this.svgElement.setAttribute("width",tc.width)),this.currentBBox.h!==tc.height&&(this.currentBBox.h=tc.height,this.svgElement.setAttribute("height",tc.height)),this.currentBBox.w!==tc.width+2||this.currentBBox.h!==tc.height+2||this.currentBBox.x!==tc.x-1||this.currentBBox.y!==tc.y-1){this.currentBBox.w=tc.width+2,this.currentBBox.h=tc.height+2,this.currentBBox.x=tc.x-1,this.currentBBox.y=tc.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),te=this.svgElement.style;var tf="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";te.transform=tf,te.webkitTransform=tf}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var te,tr,ti,ts,tn=this.comp.threeDElements.length;for(te=0;te<tn;te+=1)if("3d"===(tr=this.comp.threeDElements[te]).type){ti=tr.perspectiveElem.style,ts=tr.container.style;var ta=this.pe.v+"px",to="0px 0px 0px",th="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";ti.perspective=ta,ti.webkitPerspective=ta,ts.transformOrigin=to,ts.mozTransformOrigin=to,ts.webkitTransformOrigin=to,ti.transform=th,ti.webkitTransform=th}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var te,tr,ti=this._isFirstFrame;if(this.hierarchy)for(tr=this.hierarchy.length,te=0;te<tr;te+=1)ti=this.hierarchy[te].finalTransform.mProp._mdf||ti;if(ti||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(te=tr=this.hierarchy.length-1;te>=0;te-=1){var ts,tn,ta,to=this.hierarchy[te].finalTransform.mProp;this.mat.translate(-to.p.v[0],-to.p.v[1],to.p.v[2]),this.mat.rotateX(-to.or.v[0]).rotateY(-to.or.v[1]).rotateZ(to.or.v[2]),this.mat.rotateX(-to.rx.v).rotateY(-to.ry.v).rotateZ(to.rz.v),this.mat.scale(1/to.s.v[0],1/to.s.v[1],1/to.s.v[2]),this.mat.translate(to.a.v[0],to.a.v[1],to.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 th,tl=Math.sqrt(Math.pow((th=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(th[1],2)+Math.pow(th[2],2)),tp=[th[0]/tl,th[1]/tl,th[2]/tl],tc=Math.sqrt(tp[2]*tp[2]+tp[0]*tp[0]),tf=Math.atan2(tp[1],tc),tu=Math.atan2(tp[0],-tp[2]);this.mat.rotateY(tu).rotateX(-tf)}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 td=!this._prevMat.equals(this.mat);if((td||this.pe._mdf)&&this.comp.threeDElements){for(tr=this.comp.threeDElements.length,te=0;te<tr;te+=1)if("3d"===(ts=this.comp.threeDElements[te]).type){if(td){var tm=this.mat.toCSS();(ta=ts.container.style).transform=tm,ta.webkitTransform=tm}this.pe._mdf&&((tn=ts.perspectiveElem.style).perspective=this.pe.v+"px",tn.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(te){this.prepareProperties(te,!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 te=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",te),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=te,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(te,tr){var ti=te.getBaseElement();if(ti){var ts=this.layers[tr];if(ts.ddd&&this.supports3d)this.addTo3dContainer(ti,tr);else if(this.threeDElements)this.addTo3dContainer(ti,tr);else{for(var tn,ta,to=0;to<tr;)this.elements[to]&&!0!==this.elements[to]&&this.elements[to].getBaseElement&&(ta=this.elements[to],tn=(this.layers[to].ddd?this.getThreeDContainerByPos(to):ta.getBaseElement())||tn),to+=1;tn?ts.ddd&&this.supports3d||this.layerElement.insertBefore(ti,tn):ts.ddd&&this.supports3d||this.layerElement.appendChild(ti)}}},HybridRendererBase.prototype.createShape=function(te){return this.supports3d?new HShapeElement(te,this.globalData,this):new SVGShapeElement(te,this.globalData,this)},HybridRendererBase.prototype.createText=function(te){return this.supports3d?new HTextElement(te,this.globalData,this):new SVGTextLottieElement(te,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(te){return this.camera=new HCameraElement(te,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(te){return this.supports3d?new HImageElement(te,this.globalData,this):new IImageElement(te,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(te){return this.supports3d?new HSolidElement(te,this.globalData,this):new ISolidElement(te,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(te){for(var tr=0,ti=this.threeDElements.length;tr<ti;){if(this.threeDElements[tr].startPos<=te&&this.threeDElements[tr].endPos>=te)return this.threeDElements[tr].perspectiveElem;tr+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(te,tr){var ti,ts,tn=createTag("div");styleDiv(tn);var ta=createTag("div");if(styleDiv(ta),"3d"===tr){(ti=tn.style).width=this.globalData.compSize.w+"px",ti.height=this.globalData.compSize.h+"px";var to="50% 50%";ti.webkitTransformOrigin=to,ti.mozTransformOrigin=to,ti.transformOrigin=to;var th="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(ts=ta.style).transform=th,ts.webkitTransform=th}tn.appendChild(ta);var tl={container:ta,perspectiveElem:tn,startPos:te,endPos:te,type:tr};return this.threeDElements.push(tl),tl},HybridRendererBase.prototype.build3dContainers=function(){var te,tr,ti=this.layers.length,ts="";for(te=0;te<ti;te+=1)this.layers[te].ddd&&3!==this.layers[te].ty?"3d"!==ts&&(ts="3d",tr=this.createThreeDContainer(te,"3d")):"2d"!==ts&&(ts="2d",tr=this.createThreeDContainer(te,"2d")),tr.endPos=Math.max(tr.endPos,te);for(te=(ti=this.threeDElements.length)-1;te>=0;te-=1)this.resizerElem.appendChild(this.threeDElements[te].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(te,tr){for(var ti=0,ts=this.threeDElements.length;ti<ts;){if(tr<=this.threeDElements[ti].endPos){for(var tn,ta=this.threeDElements[ti].startPos;ta<tr;)this.elements[ta]&&this.elements[ta].getBaseElement&&(tn=this.elements[ta].getBaseElement()),ta+=1;tn?this.threeDElements[ti].container.insertBefore(te,tn):this.threeDElements[ti].container.appendChild(te);break}ti+=1}},HybridRendererBase.prototype.configAnimation=function(te){var tr=createTag("div"),ti=this.animationItem.wrapper,ts=tr.style;ts.width=te.w+"px",ts.height=te.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),ti.appendChild(tr),ts.overflow="hidden";var tn=createNS("svg");tn.setAttribute("width","1"),tn.setAttribute("height","1"),styleDiv(tn),this.resizerElem.appendChild(tn);var ta=createNS("defs");tn.appendChild(ta),this.data=te,this.setupGlobalData(te,tn),this.globalData.defs=ta,this.layers=te.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 te,tr=this.layers?this.layers.length:0;for(te=0;te<tr;te+=1)this.elements[te].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var te,tr,ti,ts,tn=this.animationItem.wrapper.offsetWidth,ta=this.animationItem.wrapper.offsetHeight,to=tn/ta;this.globalData.compSize.w/this.globalData.compSize.h>to?(te=tn/this.globalData.compSize.w,tr=tn/this.globalData.compSize.w,ti=0,ts=(ta-this.globalData.compSize.h*(tn/this.globalData.compSize.w))/2):(te=ta/this.globalData.compSize.h,tr=ta/this.globalData.compSize.h,ti=(tn-this.globalData.compSize.w*(ta/this.globalData.compSize.h))/2,ts=0);var th=this.resizerElem.style;th.webkitTransform="matrix3d("+te+",0,0,0,0,"+tr+",0,0,0,0,1,0,"+ti+","+ts+",0,1)",th.transform=th.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 te,tr=this.globalData.compSize.w,ti=this.globalData.compSize.h,ts=this.threeDElements.length;for(te=0;te<ts;te+=1){var tn=this.threeDElements[te].perspectiveElem.style;tn.webkitPerspective=Math.sqrt(Math.pow(tr,2)+Math.pow(ti,2))+"px",tn.perspective=tn.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(te){var tr,ti=te.length,ts=createTag("div");for(tr=0;tr<ti;tr+=1)if(te[tr].xt){var tn=this.createComp(te[tr],ts,this.globalData.comp,null);tn.initExpressions(),this.globalData.projectInterface.registerComposition(tn)}},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(te,tr){for(var ti,ts=0;ts<tr;)this.elements[ts]&&this.elements[ts].getBaseElement&&(ti=this.elements[ts].getBaseElement()),ts+=1;ti?this.layerElement.insertBefore(te,ti):this.layerElement.appendChild(te)},HCompElement.prototype.createComp=function(te){return this.supports3d?new HCompElement(te,this.globalData,this):new SVGCompElement(te,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(te){return this.supports3d?new HCompElement(te,this.globalData,this):new SVGCompElement(te,this.globalData,this)};var CompExpressionInterface=function(te){function e(tr){for(var ti=0,ts=te.layers.length;ti<ts;){if(te.layers[ti].nm===tr||te.layers[ti].ind===tr)return te.elements[ti].layerInterface;ti+=1}return null}return Object.defineProperty(e,"_name",{value:te.data.nm}),e.layer=e,e.pixelAspect=1,e.height=te.data.h||te.globalData.compSize.h,e.width=te.data.w||te.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/te.globalData.frameRate,e.displayStartTime=0,e.numLayers=te.layers.length,e},Expressions=function(){return{initExpressions:function(te){var tr=0,ti=[];te.renderer.compInterface=CompExpressionInterface(te.renderer),te.renderer.globalData.projectInterface.registerComposition(te.renderer),te.renderer.globalData.pushExpression=function(){tr+=1},te.renderer.globalData.popExpression=function(){0==(tr-=1)&&function(){var te,tr=ti.length;for(te=0;te<tr;te+=1)ti[te].release();ti.length=0}()},te.renderer.globalData.registerExpressionProperty=function(te){-1===ti.indexOf(te)&&ti.push(te)}}}}(),MaskManagerInterface=function(){function t(te,tr){this._mask=te,this._data=tr}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(te){var tr,ti=createSizedArray(te.viewData.length),ts=te.viewData.length;for(tr=0;tr<ts;tr+=1)ti[tr]=new t(te.viewData[tr],te.masksProperties[tr]);return function(tn){for(tr=0;tr<ts;){if(te.masksProperties[tr].nm===tn)return ti[tr];tr+=1}return null}}}(),ExpressionPropertyInterface=function(){var te={pv:0,v:0,mult:1},tr={pv:[0,0,0],v:[0,0,0],mult:1};function r(te,tr,ti){Object.defineProperty(te,"velocity",{get:function(){return tr.getVelocityAtTime(tr.comp.currentFrame)}}),te.numKeys=tr.keyframes?tr.keyframes.length:0,te.key=function(ts){if(!te.numKeys)return 0;var tn="";tn="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;
vendor: 11,026 bytes, line 54
54var ta="unidimensional"===ti?new Number(tn):Object.assign({},tn);return ta.time=tr.keyframes[ts-1].t/tr.elem.comp.globalData.frameRate,ta.value="unidimensional"===ti?tn[0]:tn,ta},te.valueAtTime=tr.getValueAtTime,te.speedAtTime=tr.getSpeedAtTime,te.velocityAtTime=tr.getVelocityAtTime,te.propertyGroup=tr.propertyGroup}function i(){return te}return function(ti){return ti?"unidimensional"===ti.propType?function(tr){tr&&"pv"in tr||(tr=te);var ti=1/tr.mult,ts=tr.pv*ti,tn=new Number(ts);return tn.value=ts,r(tn,tr,"unidimensional"),function(){return tr.k&&tr.getValue(),ts=tr.v*ti,tn.value!==ts&&((tn=new Number(ts)).value=ts,r(tn,tr,"unidimensional")),tn}}(ti):function(te){te&&"pv"in te||(te=tr);var ti=1/te.mult,ts=te.data&&te.data.l||te.pv.length,tn=createTypedArray("float32",ts),ta=createTypedArray("float32",ts);return tn.value=ta,r(tn,te,"multidimensional"),function(){te.k&&te.getValue();for(var tr=0;tr<ts;tr+=1)ta[tr]=te.v[tr]*ti,tn[tr]=ta[tr];return tn}}(ti):i}}(),TransformExpressionInterface=function(te){var tr,ti,ts,tn;function e(te){switch(te){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(te.r||te.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(te.rz||te.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(te.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(te.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(te.s)}),te.p?tn=ExpressionPropertyInterface(te.p):(tr=ExpressionPropertyInterface(te.px),ti=ExpressionPropertyInterface(te.py),te.pz&&(ts=ExpressionPropertyInterface(te.pz))),Object.defineProperty(e,"position",{get:function(){return te.p?tn():[tr(),ti(),ts?ts():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(te.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(te.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(te.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(te.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(te.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(te.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(te.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(te.or)}),e},LayerExpressionInterface=function(){function t(te){var tr=new Matrix;return void 0!==te?this._elem.finalTransform.mProp.getValueAtTime(te).clone(tr):this._elem.finalTransform.mProp.applyToMatrix(tr),tr}function e(te,tr){var ti=this.getMatrix(tr);return ti.props[12]=0,ti.props[13]=0,ti.props[14]=0,this.applyPoint(ti,te)}function r(te,tr){var ti=this.getMatrix(tr);return this.applyPoint(ti,te)}function i(te,tr){var ti=this.getMatrix(tr);return ti.props[12]=0,ti.props[13]=0,ti.props[14]=0,this.invertPoint(ti,te)}function s(te,tr){var ti=this.getMatrix(tr);return this.invertPoint(ti,te)}function a(te,tr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var ti,ts=this._elem.hierarchy.length;for(ti=0;ti<ts;ti+=1)this._elem.hierarchy[ti].finalTransform.mProp.applyToMatrix(te)}return te.applyToPointArray(tr[0],tr[1],tr[2]||0)}function n(te,tr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var ti,ts=this._elem.hierarchy.length;for(ti=0;ti<ts;ti+=1)this._elem.hierarchy[ti].finalTransform.mProp.applyToMatrix(te)}return te.inversePoint(tr)}function o(te){var tr=new Matrix;if(tr.reset(),this._elem.finalTransform.mProp.applyToMatrix(tr),this._elem.hierarchy&&this._elem.hierarchy.length){var ti,ts=this._elem.hierarchy.length;for(ti=0;ti<ts;ti+=1)this._elem.hierarchy[ti].finalTransform.mProp.applyToMatrix(tr)}return tr.inversePoint(te)}function h(){return[1,1,1,1]}return function(te){function c(te){switch(te){case"ADBE Root Vectors Group":case"Contents":case 2:return c.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return tr;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return c.effect;case"ADBE Text Properties":return c.textInterface;default:return null}}c.getMatrix=t,c.invertPoint=n,c.applyPoint=a,c.toWorld=r,c.toWorldVec=e,c.fromWorld=s,c.fromWorldVec=i,c.toComp=r,c.fromComp=o,c.sampleImage=h,c.sourceRectAtTime=te.sourceRectAtTime.bind(te),c._elem=te;var tr,ti=getDescriptor(tr=TransformExpressionInterface(te.finalTransform.mProp),"anchorPoint");return Object.defineProperties(c,{hasParent:{get:function(){return te.hierarchy.length}},parent:{get:function(){return te.hierarchy[0].layerInterface}},rotation:getDescriptor(tr,"rotation"),scale:getDescriptor(tr,"scale"),position:getDescriptor(tr,"position"),opacity:getDescriptor(tr,"opacity"),anchorPoint:ti,anchor_point:ti,transform:{get:function(){return tr}},active:{get:function(){return te.isInRange}}}),c.startTime=te.data.st,c.index=te.data.ind,c.source=te.data.refId,c.height=0===te.data.ty?te.data.h:100,c.width=0===te.data.ty?te.data.w:100,c.inPoint=te.data.ip/te.comp.globalData.frameRate,c.outPoint=te.data.op/te.comp.globalData.frameRate,c._name=te.data.nm,c.registerMaskInterface=function(tr){c.mask=new MaskManagerInterface(tr,te)},c.registerEffectsInterface=function(te){c.effect=te},c}}(),propertyGroupFactory=function(te,tr){return function(ti){return(ti=void 0===ti?1:ti)<=0?te:tr(ti-1)}},PropertyInterface=function(te,tr){var ti={_name:te};return function(te){return(te=void 0===te?1:te)<=0?ti:tr(te-1)}},EffectsExpressionInterface=function(){function e(te,tr,ti,ts){function n(tr){for(var ti=te.ef,ts=0,tn=ti.length;ts<tn;){if(tr===ti[ts].nm||tr===ti[ts].mn||tr===ti[ts].ix)return 5===ti[ts].ty?to[ts]:to[ts]();ts+=1}throw Error()}var tn,ta=propertyGroupFactory(n,ti),to=[],th=te.ef.length;for(tn=0;tn<th;tn+=1)5===te.ef[tn].ty?to.push(e(te.ef[tn],tr.effectElements[tn],tr.effectElements[tn].propertyGroup,ts)):to.push(r(tr.effectElements[tn],te.ef[tn].ty,ts,ta));return"ADBE Color Control"===te.mn&&Object.defineProperty(n,"color",{get:function(){return to[0]()}}),Object.defineProperties(n,{numProperties:{get:function(){return te.np}},_name:{value:te.nm},propertyGroup:{value:ta}}),n.enabled=0!==te.en,n.active=n.enabled,n}function r(te,tr,ti,ts){var tn=ExpressionPropertyInterface(te.p);return te.p.setGroupProperty&&te.p.setGroupProperty(PropertyInterface("",ts)),function(){return 10===tr?ti.comp.compInterface(te.p.v):tn()}}return{createEffectsInterface:function(te,tr){if(te.effectsManager){var ti,ts=[],tn=te.data.ef,ta=te.effectsManager.effectElements.length;for(ti=0;ti<ta;ti+=1)ts.push(e(tn[ti],te.effectsManager.effectElements[ti],tr,te));var to=te.data.ef||[],h=function(te){for(ti=0,ta=to.length;ti<ta;){if(te===to[ti].nm||te===to[ti].mn||te===to[ti].ix)return ts[ti];ti+=1}return null};return Object.defineProperty(h,"numProperties",{get:function(){return to.length}}),h}return null}}}(),ShapePathInterface=function(te,tr,ti){var ts=tr.sh;function s(te){return"Shape"===te||"shape"===te||"Path"===te||"path"===te||"ADBE Vector Shape"===te||2===te?s.path:null}var tn=propertyGroupFactory(s,ti);return ts.setGroupProperty(PropertyInterface("Path",tn)),Object.defineProperties(s,{path:{get:function(){return ts.k&&ts.getValue(),ts}},shape:{get:function(){return ts.k&&ts.getValue(),ts}},_name:{value:te.nm},ix:{value:te.ix},propertyIndex:{value:te.ix},mn:{value:te.mn},propertyGroup:{value:ti}}),s},ShapeExpressionInterface=function(){function t(te,tr,ti){var ts,tn=[],ta=te?te.length:0;for(ts=0;ts<ta;ts+=1)"gr"===te[ts].ty?tn.push(e(te[ts],tr[ts],ti)):"fl"===te[ts].ty?tn.push(r(te[ts],tr[ts],ti)):"st"===te[ts].ty?tn.push(s(te[ts],tr[ts],ti)):"tm"===te[ts].ty?tn.push(a(te[ts],tr[ts],ti)):"tr"===te[ts].ty||("el"===te[ts].ty?tn.push(o(te[ts],tr[ts],ti)):"sr"===te[ts].ty?tn.push(h(te[ts],tr[ts],ti)):"sh"===te[ts].ty?tn.push(ShapePathInterface(te[ts],tr[ts],ti)):"rc"===te[ts].ty?tn.push(l(te[ts],tr[ts],ti)):"rd"===te[ts].ty?tn.push(p(te[ts],tr[ts],ti)):"rp"===te[ts].ty?tn.push(c(te[ts],tr[ts],ti)):"gf"===te[ts].ty?tn.push(i(te[ts],tr[ts],ti)):tn.push((te[ts],tr[ts],function(){return null})));return tn}function e(te,tr,ti){var s=function(te){switch(te){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}};s.propertyGroup=propertyGroupFactory(s,ti);var ts=function(te,tr,ti){var ts,a=function(te){for(var tr=0,ti=ts.length;tr<ti;){if(ts[tr]._name===te||ts[tr].mn===te||ts[tr].propertyIndex===te||ts[tr].ix===te||ts[tr].ind===te)return ts[tr];tr+=1}return"number"==typeof te?ts[te-1]:null};a.propertyGroup=propertyGroupFactory(a,ti),ts=t(te.it,tr.it,a.propertyGroup),a.numProperties=ts.length;var tn=n(te.it[te.it.length-1],tr.it[tr.it.length-1],a.propertyGroup);return a.transform=tn,a.propertyIndex=te.cix,a._name=te.nm,a}(te,tr,s.propertyGroup),tn=n(te.it[te.it.length-1],tr.it[tr.it.length-1],s.propertyGroup);return s.content=ts,s.transform=tn,Object.defineProperty(s,"_name",{get:function(){return te.nm}}),s.numProperties=te.np,s.propertyIndex=te.ix,s.nm=te.nm,s.mn=te.mn,s}function r(te,tr,ti){function i(te){return"Color"===te||"color"===te?i.color:"Opacity"===te||"opacity"===te?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(tr.c)},opacity:{get:ExpressionPropertyInterface(tr.o)},_name:{value:te.nm},mn:{value:te.mn}}),tr.c.setGroupProperty(PropertyInterface("Color",ti)),tr.o.setGroupProperty(PropertyInterface("Opacity",ti)),i}function i(te,tr,ti){function i(te){return"Start Point"===te||"start point"===te?i.startPoint:"End Point"===te||"end point"===te?i.endPoint:"Opacity"===te||"opacity"===te?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(tr.s)},endPoint:{get:ExpressionPropertyInterface(tr.e)},opacity:{get:ExpressionPropertyInterface(tr.o)},type:{get:function(){return"a"}},_name:{value:te.nm},mn:{value:te.mn}}),tr.s.setGroupProperty(PropertyInterface("Start Point",ti)),tr.e.setGroupProperty(PropertyInterface("End Point",ti)),tr.o.setGroupProperty(PropertyInterface("Opacity",ti)),i}function s(te,tr,ti){var ts,tn=propertyGroupFactory(l,ti),ta=propertyGroupFactory(th,tn);function n(ti){Object.defineProperty(th,te.d[ti].nm,{get:ExpressionPropertyInterface(tr.d.dataProps[ti].p)})}var to=te.d?te.d.length:0,th={};for(ts=0;ts<to;ts+=1)n(ts),tr.d.dataProps[ts].p.setGroupProperty(ta);function l(te){return"Color"===te||"color"===te?l.color:"Opacity"===te||"opacity"===te?l.opacity:"Stroke Width"===te||"stroke width"===te?l.strokeWidth:null}
vendor: 4,408 bytes, line 54
54return Object.defineProperties(l,{color:{get:ExpressionPropertyInterface(tr.c)},opacity:{get:ExpressionPropertyInterface(tr.o)},strokeWidth:{get:ExpressionPropertyInterface(tr.w)},dash:{get:function(){return th}},_name:{value:te.nm},mn:{value:te.mn}}),tr.c.setGroupProperty(PropertyInterface("Color",tn)),tr.o.setGroupProperty(PropertyInterface("Opacity",tn)),tr.w.setGroupProperty(PropertyInterface("Stroke Width",tn)),l}function a(te,tr,ti){function i(tr){return tr===te.e.ix||"End"===tr||"end"===tr?i.end:tr===te.s.ix?i.start:tr===te.o.ix?i.offset:null}var ts=propertyGroupFactory(i,ti);return i.propertyIndex=te.ix,tr.s.setGroupProperty(PropertyInterface("Start",ts)),tr.e.setGroupProperty(PropertyInterface("End",ts)),tr.o.setGroupProperty(PropertyInterface("Offset",ts)),i.propertyIndex=te.ix,i.propertyGroup=ti,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(tr.s)},end:{get:ExpressionPropertyInterface(tr.e)},offset:{get:ExpressionPropertyInterface(tr.o)},_name:{value:te.nm}}),i.mn=te.mn,i}function n(te,tr,ti){function i(tr){return te.a.ix===tr||"Anchor Point"===tr?i.anchorPoint:te.o.ix===tr||"Opacity"===tr?i.opacity:te.p.ix===tr||"Position"===tr?i.position:te.r.ix===tr||"Rotation"===tr||"ADBE Vector Rotation"===tr?i.rotation:te.s.ix===tr||"Scale"===tr?i.scale:te.sk&&te.sk.ix===tr||"Skew"===tr?i.skew:te.sa&&te.sa.ix===tr||"Skew Axis"===tr?i.skewAxis:null}var ts=propertyGroupFactory(i,ti);return tr.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",ts)),tr.transform.mProps.p.setGroupProperty(PropertyInterface("Position",ts)),tr.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",ts)),tr.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",ts)),tr.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",ts)),tr.transform.mProps.sk&&(tr.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",ts)),tr.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",ts))),tr.transform.op.setGroupProperty(PropertyInterface("Opacity",ts)),Object.defineProperties(i,{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:te.nm}}),i.ty="tr",i.mn=te.mn,i.propertyGroup=ti,i}function o(te,tr,ti){function i(tr){return te.p.ix===tr?i.position:te.s.ix===tr?i.size:null}var ts=propertyGroupFactory(i,ti);i.propertyIndex=te.ix;var tn="tm"===tr.sh.ty?tr.sh.prop:tr.sh;return tn.s.setGroupProperty(PropertyInterface("Size",ts)),tn.p.setGroupProperty(PropertyInterface("Position",ts)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(tn.s)},position:{get:ExpressionPropertyInterface(tn.p)},_name:{value:te.nm}}),i.mn=te.mn,i}function h(te,tr,ti){function i(tr){return te.p.ix===tr?i.position:te.r.ix===tr?i.rotation:te.pt.ix===tr?i.points:te.or.ix===tr||"ADBE Vector Star Outer Radius"===tr?i.outerRadius:te.os.ix===tr?i.outerRoundness:te.ir&&(te.ir.ix===tr||"ADBE Vector Star Inner Radius"===tr)?i.innerRadius:te.is&&te.is.ix===tr?i.innerRoundness:null}var ts=propertyGroupFactory(i,ti),tn="tm"===tr.sh.ty?tr.sh.prop:tr.sh;return i.propertyIndex=te.ix,tn.or.setGroupProperty(PropertyInterface("Outer Radius",ts)),tn.os.setGroupProperty(PropertyInterface("Outer Roundness",ts)),tn.pt.setGroupProperty(PropertyInterface("Points",ts)),tn.p.setGroupProperty(PropertyInterface("Position",ts)),tn.r.setGroupProperty(PropertyInterface("Rotation",ts)),te.ir&&(tn.ir.setGroupProperty(PropertyInterface("Inner Radius",ts)),tn.is.setGroupProperty(PropertyInterface("Inner Roundness",ts))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(tn.p)},rotation:{get:ExpressionPropertyInterface(tn.r)},points:{get:ExpressionPropertyInterface(tn.pt)},outerRadius:{get:ExpressionPropertyInterface(tn.or)},outerRoundness:{get:ExpressionPropertyInterface(tn.os)},innerRadius:{get:ExpressionPropertyInterface(tn.ir)},innerRoundness:{get:ExpressionPropertyInterface(tn.is)},_name:{value:te.nm}}),i.mn=te.mn,i}function l(te,tr,ti){function i(tr){return te.p.ix===tr?i.position:te.r.ix===tr?i.roun
vendor: 4,134 bytes, line 54
54dness:te.s.ix===tr||"Size"===tr||"ADBE Vector Rect Size"===tr?i.size:null}var ts=propertyGroupFactory(i,ti),tn="tm"===tr.sh.ty?tr.sh.prop:tr.sh;return i.propertyIndex=te.ix,tn.p.setGroupProperty(PropertyInterface("Position",ts)),tn.s.setGroupProperty(PropertyInterface("Size",ts)),tn.r.setGroupProperty(PropertyInterface("Rotation",ts)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(tn.p)},roundness:{get:ExpressionPropertyInterface(tn.r)},size:{get:ExpressionPropertyInterface(tn.s)},_name:{value:te.nm}}),i.mn=te.mn,i}function p(te,tr,ti){function i(tr){return te.r.ix===tr||"Round Corners 1"===tr?i.radius:null}var ts=propertyGroupFactory(i,ti),tn=tr;return i.propertyIndex=te.ix,tn.rd.setGroupProperty(PropertyInterface("Radius",ts)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(tn.rd)},_name:{value:te.nm}}),i.mn=te.mn,i}function c(te,tr,ti){function i(tr){return te.c.ix===tr||"Copies"===tr?i.copies:te.o.ix===tr||"Offset"===tr?i.offset:null}var ts=propertyGroupFactory(i,ti),tn=tr;return i.propertyIndex=te.ix,tn.c.setGroupProperty(PropertyInterface("Copies",ts)),tn.o.setGroupProperty(PropertyInterface("Offset",ts)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(tn.c)},offset:{get:ExpressionPropertyInterface(tn.o)},_name:{value:te.nm}}),i.mn=te.mn,i}return function(te,tr,ti){var ts;function a(te){if("number"==typeof te)return 0===(te=void 0===te?1:te)?ti:ts[te-1];for(var tr=0,tn=ts.length;tr<tn;){if(ts[tr]._name===te)return ts[tr];tr+=1}return null}return a.propertyGroup=propertyGroupFactory(a,function(){return ti}),ts=t(te,tr,a.propertyGroup),a.numProperties=ts.length,a._name="Contents",a}}(),TextExpressionInterface=function(te){var tr,ti;function i(te){return"ADBE Text Document"===te?i.sourceText:null}return Object.defineProperty(i,"sourceText",{get:function(){te.textProperty.getValue();var ts=te.textProperty.currentData.t;return ts!==tr&&(te.textProperty.currentData.t=tr,(ti=new String(ts)).value=ts||new String(ts)),ti}}),i};function _typeof$2(te){return(_typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}var dataInterfaceFactory,FootageInterface=(dataInterfaceFactory=function(te){function e(te){return"Outline"===te?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(te){var tr="",ti=te.getFootageData();function i(te){if(ti[te])return tr=te,"object"===_typeof$2(ti=ti[te])?i:ti;var ts=te.indexOf(tr);if(-1!==ts){var tn=parseInt(te.substr(ts+tr.length),10);return"object"===_typeof$2(ti=ti[tn])?i:ti}return""}return function(){return tr="",ti=te.getFootageData(),i}}(te),e},function(te){function e(te){return"Data"===te?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(te),e}),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(te){return interfaces[te]||null}function _typeof$1(te){return(_typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}function seedRandom(te,tr){var ti=this,ts=256,tn=tr.pow(ts,6),ta=tr.pow(2,52),to=2*ta,th=255;function h(te){var tr,ti=te.length,tn=this,ta=0,to=tn.i=tn.j=0,tl=tn.S=[];for(ti||(te=[ti++]);ta<ts;)tl[ta]=ta++;for(ta=0;ta<ts;ta++)tl[ta]=tl[to=th&to+te[ta%ti]+(tr=tl[ta])],tl[to]=tr;tn.g=function(te){for(var tr,ti=0,ta=tn.i,to=tn.j,tl=tn.S;te--;)tr=tl[ta=th&ta+1],ti=ti*ts+tl[th&(tl[ta]=tl[to=th&to+tr])+(tl[to]=tr)];return tn.i=ta,tn.j=to,ti}}function l(te,tr){return tr.i=te.i,tr.j=te.j,tr.S=te.S.slice(),tr}function p(te,tr){var ti,ts=[],tn=_typeof$1(te);if(tr&&"object"==tn)for(ti in te)try{ts.push(p(te[ti],tr-1))}catch(te){}return ts.length?ts:"string"==tn?te:te+"\x00"}function c(te,tr){for(var ti,ts=te+"",tn=0;tn<ts.length;
vendor: 8,025 bytes, line 54
54)tr[th&tn]=th&(ti^=19*tr[th&tn])+ts.charCodeAt(tn++);return f(tr)}function f(te){return String.fromCharCode.apply(0,te)}tr.seedrandom=function(th,tl,tp){var tc=[],tf=c(p((tl=!0===tl?{entropy:!0}:tl||{}).entropy?[th,f(te)]:null===th?function(){try{var tr=new Uint8Array(ts);return(ti.crypto||ti.msCrypto).getRandomValues(tr),f(tr)}catch(tr){var tn=ti.navigator,ta=tn&&tn.plugins;return[+new Date,ti,ta,ti.screen,f(te)]}}():th,3),tc),tu=new h(tc),v=function(){for(var te=tu.g(6),tr=tn,ti=0;te<ta;)te=(te+ti)*ts,tr*=ts,ti=tu.g(1);for(;te>=to;)te/=2,tr/=2,ti>>>=1;return(te+ti)/tr};return v.int32=function(){return 0|tu.g(4)},v.quick=function(){return tu.g(4)/4294967296},v.double=v,c(f(tu.S),te),(tl.pass||tp||function(te,ti,ts,tn){return tn&&(tn.S&&l(tn,tu),te.state=function(){return l(tu,{})}),ts?(tr.random=te,ti):te})(v,tf,"global"in tl?tl.global:this==tr,tl.state)},c(tr.random(),te)}function initialize$2(te){seedRandom([],te)}var propTypes={SHAPE:"shape"};function _typeof(te){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(te){return typeof te}:function(te){return te&&"function"==typeof Symbol&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(te)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(te){return te.constructor===Array||te.constructor===Float32Array}function isNumerable(te,tr){return"number"===te||"boolean"===te||"string"===te||tr instanceof Number}function $bm_neg(te){var tr=_typeof(te);if("number"===tr||"boolean"===tr||te instanceof Number)return-te;if($bm_isInstanceOfArray(te)){var ti,ts=te.length,tn=[];for(ti=0;ti<ts;ti+=1)tn[ti]=-te[ti];return tn}return te.propType?te.v:-te}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(te,tr){var ti=_typeof(te),ts=_typeof(tr);if("string"===ti||"string"===ts||isNumerable(ti,te)&&isNumerable(ts,tr))return te+tr;if($bm_isInstanceOfArray(te)&&isNumerable(ts,tr))return(te=te.slice(0))[0]+=tr,te;if(isNumerable(ti,te)&&$bm_isInstanceOfArray(tr))return(tr=tr.slice(0))[0]=te+tr[0],tr;if($bm_isInstanceOfArray(te)&&$bm_isInstanceOfArray(tr)){for(var tn=0,ta=te.length,to=tr.length,th=[];tn<ta||tn<to;)("number"==typeof te[tn]||te[tn]instanceof Number)&&("number"==typeof tr[tn]||tr[tn]instanceof Number)?th[tn]=te[tn]+tr[tn]:th[tn]=void 0===tr[tn]?te[tn]:te[tn]||tr[tn],tn+=1;return th}return 0}var add=sum;function sub(te,tr){var ti=_typeof(te),ts=_typeof(tr);if(isNumerable(ti,te)&&isNumerable(ts,tr))return"string"===ti&&(te=parseInt(te,10)),"string"===ts&&(tr=parseInt(tr,10)),te-tr;if($bm_isInstanceOfArray(te)&&isNumerable(ts,tr))return(te=te.slice(0))[0]-=tr,te;if(isNumerable(ti,te)&&$bm_isInstanceOfArray(tr))return(tr=tr.slice(0))[0]=te-tr[0],tr;if($bm_isInstanceOfArray(te)&&$bm_isInstanceOfArray(tr)){for(var tn=0,ta=te.length,to=tr.length,th=[];tn<ta||tn<to;)("number"==typeof te[tn]||te[tn]instanceof Number)&&("number"==typeof tr[tn]||tr[tn]instanceof Number)?th[tn]=te[tn]-tr[tn]:th[tn]=void 0===tr[tn]?te[tn]:te[tn]||tr[tn],tn+=1;return th}return 0}function mul(te,tr){var ti,ts,tn,ta=_typeof(te),to=_typeof(tr);if(isNumerable(ta,te)&&isNumerable(to,tr))return te*tr;if($bm_isInstanceOfArray(te)&&isNumerable(to,tr)){for(ti=createTypedArray("float32",tn=te.length),ts=0;ts<tn;ts+=1)ti[ts]=te[ts]*tr;return ti}if(isNumerable(ta,te)&&$bm_isInstanceOfArray(tr)){for(ti=createTypedArray("float32",tn=tr.length),ts=0;ts<tn;ts+=1)ti[ts]=te*tr[ts];return ti}return 0}function div(te,tr){var ti,ts,tn,ta=_typeof(te),to=_typeof(tr);if(isNumerable(ta,te)&&isNumerable(to,tr))return te/tr;if($bm_isInstanceOfArray(te)&&isNumerable(to,tr)){for(ti=createTypedArray("float32",tn=te.length),ts=0;ts<tn;ts+=1)ti[ts]=te[ts]/tr;return ti}if(isNumerable(ta,te)&&$bm_isInstanceOfArray(tr)){for(ti=createTypedArray("float32",tn=tr.length),ts=0;ts<tn;ts+=1)ti[ts]=te/tr[ts];return ti}return 0}function mod(te,tr){return"string"==typeof te&&(te=parseInt(te,10)),"string"==typeof tr&&(tr=parseInt(tr,10)),te%tr}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(te,tr,ti){if(tr>ti){var ts=ti;ti=tr,tr=ts}return Math.min(Math.max(te,tr),ti)}function radiansToDegrees(te){return te/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(te){return te*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(te,tr){if("number"==typeof te||te instanceof Number)return tr=tr||0,Math.abs(te-tr);tr||(tr=helperLengthArray);var ti,ts=Math.min(te.length,tr.length),tn=0;for(ti=0;ti<ts;ti+=1)tn+=Math.pow(tr[ti]-te[ti],2);return Math.sqrt(tn)}function normalize(te){return div(te,length(te))}function rgbToHsl(te){var tr,ti,ts=te[0],tn=te[1],ta=te[2],to=Math.max(ts,tn,ta),th=Math.min(ts,tn,ta),tl=(to+th)/2;if(to===th)tr=0,ti=0;else{var tp=to-th;switch(ti=tl>.5?tp/(2-to-th):tp/(to+th),to){case ts:tr=(tn-ta)/tp+(tn<ta?6:0);break;case tn:tr=(ta-ts)/tp+2;break;case ta:tr=(ts-tn)/tp+4}tr/=6}return[tr,ti,tl,te[3]]}function hue2rgb(te,tr,ti){return ti<0&&(ti+=1),ti>1&&(ti-=1),ti<1/6?te+6*(tr-te)*ti:ti<.5?tr:ti<2/3?te+(tr-te)*(2/3-ti)*6:te}function hslToRgb(te){var tr,ti,ts,tn=te[0],ta=te[1],to=te[2];if(0===ta)tr=to,ts=to,ti=to;else{var th=to<.5?to*(1+ta):to+ta-to*ta,tl=2*to-th;tr=hue2rgb(tl,th,tn+1/3),ti=hue2rgb(tl,th,tn),ts=hue2rgb(tl,th,tn-1/3)}return[tr,ti,ts,te[3]]}function linear(te,tr,ti,ts,tn){if(void 0!==ts&&void 0!==tn||(ts=tr,tn=ti,tr=0,ti=1),ti<tr){var ta=ti;ti=tr,tr=ta}if(te<=tr)return ts;if(te>=ti)return tn;var to,th=ti===tr?0:(te-tr)/(ti-tr);if(!ts.length)return ts+(tn-ts)*th;var tl=ts.length,tp=createTypedArray("float32",tl);for(to=0;to<tl;to+=1)tp[to]=ts[to]+(tn[to]-ts[to])*th;return tp}function random(te,tr){if(void 0===tr&&(void 0===te?(te=0,tr=1):(tr=te,te=void 0)),tr.length){var ti,ts=tr.length;te||(te=createTypedArray("float32",ts));var tn=createTypedArray("float32",ts),ta=BMMath.random();for(ti=0;ti<ts;ti+=1)tn[ti]=te[ti]+ta*(tr[ti]-te[ti]);return tn}return void 0===te&&(te=0),te+BMMath.random()*(tr-te)}function createPath(te,tr,ti,ts){var tn,ta=te.length,to=shapePool.newElement();to.setPathData(!!ts,ta);var th,tl,tp=[0,0];for(tn=0;tn<ta;tn+=1)th=tr&&tr[tn]?tr[tn]:tp,tl=ti&&ti[tn]?ti[tn]:tp,to.setTripleAt(te[tn][0],te[tn][1],tl[0]+te[tn][0],tl[1]+te[tn][1],th[0]+te[tn][0],th[1]+te[tn][1],tn,!0);return to}function initiateExpression(elem,data,property){function noOp(te){return te}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(te,tr){var ti,ts,tn=this.pv.length?this.pv.length:1,ta=createTypedArray("float32",tn),to=Math.floor(5*time);for(ti=0,ts=0;ti<to;){for(ts=0;ts<tn;ts+=1)ta[ts]+=-tr+2*tr*BMMath.random();ti+=1}var th=5*time,tl=th-Math.floor(th),tp=createTypedArray("float32",tn);if(tn>1){for(ts=0;ts<tn;ts+=1)tp[ts]=this.pv[ts]+ta[ts]+(-tr+2*tr*BMMath.random())*tl;return tp}
vendor: 4,526 bytes, line 54
54return this.pv+ta[0]+(-tr+2*tr*BMMath.random())*tl}).bind(this);function loopInDuration(te,tr){return loopIn(te,tr,!0)}function loopOutDuration(te,tr){return loopOut(te,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.bind(elem.comp.globalData.projectInterface);function lookAt(te,tr){var ti=[tr[0]-te[0],tr[1]-te[1],tr[2]-te[2]],ts=Math.atan2(ti[0],Math.sqrt(ti[1]*ti[1]+ti[2]*ti[2]))/degToRads;return[-Math.atan2(ti[1],ti[2])/degToRads,ts,0]}function easeOut(te,tr,ti,ts,tn){return applyEase(easeOutBez,te,tr,ti,ts,tn)}function easeIn(te,tr,ti,ts,tn){return applyEase(easeInBez,te,tr,ti,ts,tn)}function ease(te,tr,ti,ts,tn){return applyEase(easeInOutBez,te,tr,ti,ts,tn)}function applyEase(te,tr,ti,ts,tn,ta){void 0===tn?(tn=ti,ta=ts):tr=(tr-ti)/(ts-ti),tr>1?tr=1:tr<0&&(tr=0);var to=te(tr);if($bm_isInstanceOfArray(tn)){var th,tl=tn.length,tp=createTypedArray("float32",tl);for(th=0;th<tl;th+=1)tp[th]=(ta[th]-tn[th])*to+tn[th];return tp}return(ta-tn)*to+tn}function nearestKey(te){var tr,ti,ts,tn=data.k.length;if(data.k.length&&"number"!=typeof data.k[0]){if(ti=-1,(te*=elem.comp.globalData.frameRate)<data.k[0].t)ti=1,ts=data.k[0].t;else{for(tr=0;tr<tn-1;tr+=1){if(te===data.k[tr].t){ti=tr+1,ts=data.k[tr].t;break}if(te>data.k[tr].t&&te<data.k[tr+1].t){te-data.k[tr].t>data.k[tr+1].t-te?(ti=tr+2,ts=data.k[tr+1].t):(ti=tr+1,ts=data.k[tr].t);break}}-1===ti&&(ti=tr+1,ts=data.k[tr].t)}}else ti=0,ts=0;var ta={};return ta.index=ti,ta.time=ts/elem.comp.globalData.frameRate,ta}function key(te){if(!data.k.length||"number"==typeof data.k[0])throw Error("The property has no keyframe at index "+te);te-=1,tr={time:data.k[te].t/elem.comp.globalData.frameRate,value:[]};var tr,ti,ts,tn=Object.prototype.hasOwnProperty.call(data.k[te],"s")?data.k[te].s:data.k[te-1].e;for(ts=tn.length,ti=0;ti<ts;ti+=1)tr[ti]=tn[ti],tr.value[ti]=tn[ti];return tr}function framesToTime(te,tr){return tr||(tr=elem.comp.globalData.frameRate),te/tr}function timeToFrames(te,tr){return te||0===te||(te=time),tr||(tr=elem.comp.globalData.frameRate),te*tr}function seedRandom(te){BMMath.seedrandom(randSeed+te)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(te,tr){return"string"==typeof value?void 0===tr?value.substring(te):value.substring(te,tr):""}function substr(te,tr){return"string"==typeof value?void 0===tr?value.substr(te):value.substr(te,tr):""}function posterizeTime(te){time=0===te?0:Math.floor(time*te)/te,value=valueAtTime(time)}var parent,index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(te){return value=te,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,numKe
vendor: 14,594 bytes, line 54
54ys,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(te,tr,ti){tr.x&&(ti.k=!0,ti.x=!0,ti.initiateExpression=ExpressionManager.initiateExpression,ti.effectsSequence.push(ti.initiateExpression(te,tr,ti).bind(ti)))},getSpeedAtTime:function(te){var tr,ti=this.getValueAtTime(te),ts=this.getValueAtTime(te+-.01),tn=0;if(ti.length){for(tr=0;tr<ti.length;tr+=1)tn+=Math.pow(ts[tr]-ti[tr],2);tn=100*Math.sqrt(tn)}else tn=0;return tn},getVelocityAtTime:function(te){if(void 0!==this.vel)return this.vel;var tr,ti,ts=-.001,tn=this.getValueAtTime(te),ta=this.getValueAtTime(te+ts);if(tn.length)for(tr=createTypedArray("float32",tn.length),ti=0;ti<tn.length;ti+=1)tr[ti]=(ta[ti]-tn[ti])/ts;else tr=(ta-tn)/ts;return tr},getValueAtTime:function(te){return te*=this.elem.globalData.frameRate,(te-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<te?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(te,this._cachingAtTime),this._cachingAtTime.lastFrame=te),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(te){this.propertyGroup=te}};function addPropertyDecorator(){function t(te,tr,ti){if(!this.k||!this.keyframes)return this.pv;te=te?te.toLowerCase():"";var ts,tn,ta,to,th,tl=this.comp.renderedFrame,tp=this.keyframes,tc=tp[tp.length-1].t;if(tl<=tc)return this.pv;if(ti?tn=tc-(ts=tr?Math.abs(tc-this.elem.comp.globalData.frameRate*tr):Math.max(0,tc-this.elem.data.ip)):((!tr||tr>tp.length-1)&&(tr=tp.length-1),ts=tc-(tn=tp[tp.length-1-tr].t)),"pingpong"===te){if(Math.floor((tl-tn)/ts)%2!=0)return this.getValueAtTime((ts-(tl-tn)%ts+tn)/this.comp.globalData.frameRate,0)}else{if("offset"===te){var tf=this.getValueAtTime(tn/this.comp.globalData.frameRate,0),tu=this.getValueAtTime(tc/this.comp.globalData.frameRate,0),td=this.getValueAtTime(((tl-tn)%ts+tn)/this.comp.globalData.frameRate,0),tm=Math.floor((tl-tn)/ts);if(this.pv.length){for(to=(th=Array(tf.length)).length,ta=0;ta<to;ta+=1)th[ta]=(tu[ta]-tf[ta])*tm+td[ta];return th}return(tu-tf)*tm+td}if("continue"===te){var ty=this.getValueAtTime(tc/this.comp.globalData.frameRate,0),tg=this.getValueAtTime((tc-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(to=(th=Array(ty.length)).length,ta=0;ta<to;ta+=1)th[ta]=ty[ta]+(ty[ta]-tg[ta])*((tl-tc)/this.comp.globalData.frameRate)/5e-4;return th}return ty+(tl-tc)/.001*(ty-tg)}}return this.getValueAtTime(((tl-tn)%ts+tn)/this.comp.globalData.frameRate,0)}function e(te,tr,ti){if(!this.k)return this.pv;te=te?te.toLowerCase():"";var ts,tn,ta,to,th,tl=this.comp.renderedFrame,tp=this.keyframes,tc=tp[0].t;if(tl>=tc)return this.pv;if(ti?tn=tc+(ts=tr?Math.abs(this.elem.comp.globalData.frameRate*tr):Math.max(0,this.elem.data.op-tc)):((!tr||tr>tp.length-1)&&(tr=tp.length-1),ts=(tn=tp[tr].t)-tc),"pingpong"===te){if(Math.floor((tc-tl)/ts)%2==0)return this.getValueAtTime(((tc-tl)%ts+tc)/this.comp.globalData.frameRate,0)}else{if("offset"===te){var tf=this.getValueAtTime(tc/this.comp.globalData.frameRate,0),tu=this.getValueAtTime(tn/this.comp.globalData.frameRate,0),td=this.getValueAtTime((ts-(tc-tl)%ts+tc)/this.comp.globalData.frameRate,0),tm=Math.floor((tc-tl)/ts)+1;if(this.pv.length){for(to=(th=Array(tf.length)).length,ta=0;ta<to;ta+=1)th[ta]=td[ta]-(tu[ta]-tf[ta])*tm;return th}return td-(tu-tf)*tm}if("continue"===te){var ty=this.getValueAtTime(tc/this.comp.globalData.frameRate,0),tg=this.getValueAtTime((tc+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(to=(th=Array(ty.length)).length,ta=0;ta<to;ta+=1)th[ta]=ty[ta]+(ty[ta]-tg[ta])*(tc-tl)/.001;return th}return ty+(ty-tg)*(tc-tl)/.001}}return this.getValueAtTime((ts-((tc-tl)%ts+tc))/this.comp.globalData.frameRate,0)}function r(te,tr){if(!this.k||(te=.5*(te||.4),(tr=Math.floor(tr||5))<=1))return this.pv;var ti,ts,tn=this.comp.renderedFrame/this.comp.globalData.frameRate,ta=tn-te,to=tr>1?(tn+te-ta)/(tr-1):1,th=0,tl=0;for(ti=this.pv.length?createTypedArray("float32",this.pv.length):0;th<tr;){if(ts=this.getValueAtTime(ta+th*to),this.pv.length)for(tl=0;tl<this.pv.length;tl+=1)ti[tl]+=ts[tl];else ti+=ts;th+=1}if(this.pv.length)for(tl=0;tl<this.pv.length;tl+=1)ti[tl]/=tr;else ti/=tr;return ti}function i(te){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var tr=this._transformCachingAtTime.v;if(tr.cloneFromProps(this.pre.props),this.appliedTransformations<1){var ti=this.a.getValueAtTime(te);tr.translate(-ti[0]*this.a.mult,-ti[1]*this.a.mult,ti[2]*this.a.mult)}if(this.appliedTransformations<2){var ts=this.s.getValueAtTime(te);tr.scale(ts[0]*this.s.mult,ts[1]*this.s.mult,ts[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var tn=this.sk.getValueAtTime(te),ta=this.sa.getValueAtTime(te);tr.skewFromAxis(-tn*this.sk.mult,ta*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var to=this.r.getValueAtTime(te);tr.rotate(-to*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var th=this.rz.getValueAtTime(te),tl=this.ry.getValueAtTime(te),tp=this.rx.getValueAtTime(te),tc=this.or.getValueAtTime(te);tr.rotateZ(-th*this.rz.mult).rotateY(tl*this.ry.mult).rotateX(tp*this.rx.mult).rotateZ(-tc[2]*this.or.mult).rotateY(tc[1]*this.or.mult).rotateX(tc[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var tf=this.px.getValueAtTime(te),tu=this.py.getValueAtTime(te);if(this.data.p.z){var td=this.pz.getValueAtTime(te);tr.translate(tf*this.px.mult,tu*this.py.mult,-td*this.pz.mult)}else tr.translate(tf*this.px.mult,tu*this.py.mult,0)}else{var tm=this.p.getValueAtTime(te);tr.translate(tm[0]*this.p.mult,tm[1]*this.p.mult,-tm[2]*this.p.mult)}return tr}function s(){return this.v.clone(new Matrix)}var te=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(tr,ti,ts){var tn=te(tr,ti,ts);return tn.dynamicProperties.length?tn.getValueAtTime=i.bind(tn):tn.getValueAtTime=s.bind(tn),tn.setGroupProperty=expressionHelpers.setGroupProperty,tn};var tr=PropertyFactory.getProp;PropertyFactory.getProp=function(te,ti,ts,tn,ta){var to=tr(te,ti,ts,tn,ta);to.kf?to.getValueAtTime=expressionHelpers.getValueAtTime.bind(to):to.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(to),to.setGroupProperty=expressionHelpers.setGroupProperty,to.loopOut=t,to.loopIn=e,to.smooth=r,to.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(to),to.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(to),to.numKeys=1===ti.a?ti.k.length:0,to.propertyIndex=ti.ix;var th=0;return 0!==ts&&(th=createTypedArray("float32",1===ti.a?ti.k[0].s.length:ti.k.length)),to._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:th},expressionHelpers.searchExpressions(te,ti,to),to.k&&ta.addDynamicProperty(to),to};var ti=ShapePropertyFactory.getConstructorFunction(),ts=ShapePropertyFactory.getKeyframedConstructorFunction();function l(){}l.prototype={vertices:function(te,tr){this.k&&this.getValue();var ti,ts=this.v;void 0!==tr&&(ts=this.getValueAtTime(tr,0));var tn=ts._length,ta=ts[te],to=ts.v,th=createSizedArray(tn);for(ti=0;ti<tn;ti+=1)th[ti]="i"===te||"o"===te?[ta[ti][0]-to[ti][0],ta[ti][1]-to[ti][1]]:[ta[ti][0],ta[ti][1]];return th},points:function(te){return this.vertices("v",te)},inTangents:function(te){return this.vertices("i",te)},outTangents:function(te){return this.vertices("o",te)},isClosed:function(){return this.v.c},pointOnPath:function(te,tr){var ti=this.v;void 0!==tr&&(ti=this.getValueAtTime(tr,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(ti));for(var ts,tn=this._segmentsLength,ta=tn.lengths,to=tn.totalLength*te,th=0,tl=ta.length,tp=0;th<tl;){if(tp+ta[th].addedLength>to){var tc=th,tf=ti.c&&th===tl-1?0:th+1,tu=(to-tp)/ta[th].addedLength;ts=bez.getPointInSegment(ti.v[tc],ti.v[tf],ti.o[tc],ti.i[tf],tu,ta[th]);break}tp+=ta[th].addedLength,th+=1}return ts||(ts=ti.c?[ti.v[0][0],ti.v[0][1]]:[ti.v[ti._length-1][0],ti.v[ti._length-1][1]]),ts},vectorOnPath:function(te,tr,ti){1==te?te=this.v.c:0==te&&(te=.999);var ts=this.pointOnPath(te,tr),tn=this.pointOnPath(te+.001,tr),ta=tn[0]-ts[0],to=tn[1]-ts[1],th=Math.sqrt(Math.pow(ta,2)+Math.pow(to,2));return 0===th?[0,0]:"tangent"===ti?[ta/th,to/th]:[-to/th,ta/th]},tangentOnPath:function(te,tr){return this.vectorOnPath(te,tr,"tangent")},normalOnPath:function(te,tr){return this.vectorOnPath(te,tr,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],ti),extendPrototype([l],ts),ts.prototype.getValueAtTime=function(te){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),te*=this.elem.globalData.frameRate,(te-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<te?this._caching.lastIndex:0,this._cachingAtTime.lastTime=te,this.interpolateShape(te,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},ts.prototype.initiateExpression=ExpressionManager.initiateExpression;var tn=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(te,tr,ti,ts,ta){var to=tn(te,tr,ti,ts,ta);return to.propertyIndex=tr.ix,to.lock=!1,3===ti?expressionHelpers.searchExpressions(te,tr.pt,to):4===ti&&expressionHelpers.searchExpressions(te,tr.ks,to),to.k&&te.addDynamicProperty(to),to}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(te,tr){var ti=this.calculateExpression(tr);if(te.t!==ti){var ts={};return this.copyData(ts,te),ts.t=ti.toString(),ts.__complete=!1,ts}return te},TextProperty.prototype.searchProperty=function(){var te=this.searchKeyframes(),tr=this.searchExpressions();return this.kf=te||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(te,tr,ti,ts,tn){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"),ta.setAttribute("result",ts+"_tint_1"),te.appendChild(ta),(ta=createNS("feColorMatrix")).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+"_tint_2"),te.appendChild(ta),this.matrixFilter=ta;var to=this.createMergeNode(ts,[tn,ts+"_tint_1",ts+"_tint_2"]);te.appendChild(to)}function SVGFillFilter(te,tr,ti,ts){this.filterManager=tr;var tn=createNS("feColorMatrix");tn.setAttribute("type","matrix"),tn.setAttribute("color-interpolation-filters","sRGB"),tn.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),tn.setAttribute("result",ts),te.appendChild(tn),this.matrixFilter=tn}function SVGStrokeEffect(te,tr,ti){this.initialized=!1,this.filterManager=tr,this.elem=ti,this.paths=[]}function SVGTritoneFilter(te,tr,ti,ts){this.filterManager=tr;var tn=createNS("feColorMatrix");tn.setAttribute("type","matrix"),tn.setAttribute("color-interpolation-filters","linearRGB"),tn.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"),te.appendChild(tn);var ta=createNS("feComponentTransfer");ta.setAttribute("color-interpolation-filters","sRGB"),ta.setAttribute("result",ts),this.matrixFilter=ta;var to=createNS("feFuncR");to.setAttribute("type","table"),ta.appendChild(to),this.feFuncR=to;var th=createNS("feFuncG");th.setAttribute("type","table"),ta.appendChild(th),this.feFuncG=th;var tl=createNS("feFuncB");tl.setAttribute("type","table"),ta.appendChild(tl),this.feFuncB=tl,te.appendChild(ta)}function SVGProLevelsFilter(te,tr,ti,ts){this.filterManager=tr;var tn=this.filterManager.effectElements,ta=createNS("feComponentTransfer");(tn[10].p.k||0!==tn[10].p.v||tn[11].p.k||1!==tn[11].p.v||tn[12].p.k||1!==tn[12].p.v||tn[13].p.k||0!==tn[13].p.v||tn[14].p.k||1!==tn[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",ta)),(tn[17].p.k||0!==tn[17].p.v||tn[18].p.k||1!==tn[18].p.v||tn[19].p.k||1!==tn[19].p.v||tn[20].p.k||0!==tn[20].p.v||tn[21].p.k||1!==tn[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",ta)),(tn[24].p.k||0!==tn[24].p.v||tn[25].p.k||1!==tn[25].p.v||tn[26].p.k||1!==tn[26].p.v||tn[27].p.k||0!==tn[27].p.v||tn[28].p.k||1!==tn[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",ta)),(tn[31].p.k||0!==tn[31].p.v||tn[32].p.k||1!==tn[32].p.v||tn[33].p.k||1!==tn[33].p.v||tn[34].p.k||0!==tn[34].p.v||tn[35].p.k||1!==tn[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",ta)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(ta.setAttribute("color-interpolation-filters","sRGB"),te.appendChild(ta)),(tn[3].p.k||0!==tn[3].p.v||tn[4].p.k||1!==tn[4].p.v||tn[5].p.k||1!==tn[5].p.v||tn[6].p.k||0!==tn[6].p.v||tn[7].p.k||1!==tn[7].p.v)&&((ta=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),ta.setAttribute("result",ts),te.appendChild(ta),this.feFuncRComposed=this.createFeFunc("feFuncR",ta),this.feFuncGComposed=this.createFeFunc("feFuncG",ta),this.feFuncBComposed=this.createFeFunc("feFuncB",ta))}function SVGDropShadowEffect(te,tr,ti,ts,tn){var ta=tr.container.globalData.renderConfig.filterSize,to=tr.data.fs||ta;te.setAttribute("x",to.x||ta.x),te.setAttribute("y",to.y||ta.y),te.setAttribute("width",to.width||ta.width),te.setAttribute("height",to.height||ta.height),this.filterManager=tr;var th=createNS("feGaussianBlur");th.setAttribute("in","SourceAlpha"),th.setAttribute("result",ts+"_drop_shadow_1"),th.setAttribute("stdDeviation","0"),this.feGaussianBlur=th,te.appendChild(th);var tl=createNS("feOffset");tl.setAttribute("dx","25"),tl.setAttribute("dy","0"),tl.setAttribute("in",ts+"_drop_shadow_1"),tl.setAttribute("result",ts+"_drop_shadow_2"),this.feOff
vendor: 4,332 bytes, line 54
54set=tl,te.appendChild(tl);var tp=createNS("feFlood");tp.setAttribute("flood-color","#00ff00"),tp.setAttribute("flood-opacity","1"),tp.setAttribute("result",ts+"_drop_shadow_3"),this.feFlood=tp,te.appendChild(tp);var tc=createNS("feComposite");tc.setAttribute("in",ts+"_drop_shadow_3"),tc.setAttribute("in2",ts+"_drop_shadow_2"),tc.setAttribute("operator","in"),tc.setAttribute("result",ts+"_drop_shadow_4"),te.appendChild(tc);var tf=this.createMergeNode(ts,[ts+"_drop_shadow_4",tn]);te.appendChild(tf)}SVGComposableEffect.prototype={createMergeNode:function(te,tr){var ti,ts,tn=createNS("feMerge");for(tn.setAttribute("result",te),ts=0;ts<tr.length;ts+=1)(ti=createNS("feMergeNode")).setAttribute("in",tr[ts]),tn.appendChild(ti),tn.appendChild(ti);return tn}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(te){if(te||this.filterManager._mdf){var tr=this.filterManager.effectElements[0].p.v,ti=this.filterManager.effectElements[1].p.v,ts=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",ti[0]-tr[0]+" 0 0 0 "+tr[0]+" "+(ti[1]-tr[1])+" 0 0 0 "+tr[1]+" "+(ti[2]-tr[2])+" 0 0 0 "+tr[2]+" 0 0 0 "+ts+" 0")}},SVGFillFilter.prototype.renderFrame=function(te){if(te||this.filterManager._mdf){var tr=this.filterManager.effectElements[2].p.v,ti=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 "+ti+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var te,tr,ti,ts,tn=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(ts=this.elem.maskManager.masksProperties.length,ti=0):ts=1+(ti=this.filterManager.effectElements[0].p.v-1),(tr=createNS("g")).setAttribute("fill","none"),tr.setAttribute("stroke-linecap","round"),tr.setAttribute("stroke-dashoffset",1);ti<ts;ti+=1)te=createNS("path"),tr.appendChild(te),this.paths.push({p:te,m:ti});if(3===this.filterManager.effectElements[10].p.v){var ta=createNS("mask"),to=createElementID();ta.setAttribute("id",to),ta.setAttribute("mask-type","alpha"),ta.appendChild(tr),this.elem.globalData.defs.appendChild(ta);var th=createNS("g");for(th.setAttribute("mask","url("+getLocationHref()+"#"+to+")");tn[0];)th.appendChild(tn[0]);this.elem.layerElement.appendChild(th),this.masker=ta,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(tn=this.elem.layerElement.children||this.elem.layerElement.childNodes;tn.length;)this.elem.layerElement.removeChild(tn[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(te){this.initialized||this.initialize();var tr,ti,ts,tn=this.paths.length;for(tr=0;tr<tn;tr+=1)if(-1!==this.paths[tr].m&&(ti=this.elem.maskManager.viewData[this.paths[tr].m],ts=this.paths[tr].p,(te||this.filterManager._mdf||ti.prop._mdf)&&ts.setAttribute("d",ti.lastPath),te||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||ti.prop._mdf)){if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var ta=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),to=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),th=ts.getTotalLength();tl="0 0 0 "+th*ta+" ";var tl,tp,tc=Math.floor(th*(to-ta)/(1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01));for(tp=0;tp<tc;tp+=1)tl+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";tl+="0 "+10*th+" 0 0"}else tl="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;ts.setAttribute("stroke-dasharray",tl)}if((te||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(te||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("op
54acity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(te||this.filterManager.effectElements[3].p._mdf)){var tf=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*tf[0])+","+bmFloor(255*tf[1])+","+bmFloor(255*tf[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(te){if(te||this.filterManager._mdf){var tr=this.filterManager.effectElements[0].p.v,ti=this.filterManager.effectElements[1].p.v,ts=this.filterManager.effectElements[2].p.v,tn=ts[0]+" "+ti[0]+" "+tr[0],ta=ts[1]+" "+ti[1]+" "+tr[1],to=ts[2]+" "+ti[2]+" "+tr[2];this.feFuncR.setAttribute("tableValues",tn),this.feFuncG.setAttribute("tableValues",ta),this.feFuncB.setAttribute("tableValues",to)}},SVGProLevelsFilter.prototype.createFeFunc=function(te,tr){var ti=createNS(te);return ti.setAttribute("type","table"),tr.appendChild(ti),ti},SVGProLevelsFilter.prototype.getTableValue=function(te,tr,ti,ts,tn){for(var ta,to,th=0,tl=Math.min(te,tr),tp=Math.max(te,tr),tc=Array.call(null,{length:256}),tf=0,tu=tn-ts,td=tr-te;th<=256;)to=(ta=th/256)<=tl?td<0?tn:ts:ta>=tp?td<0?ts:tn:ts+tu*Math.pow((ta-te)/td,1/ti),tc[tf]=to,tf+=1,th+=256/255;return tc.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(te){if(te||this.filterManager._mdf){var tr,ti=this.filterManager.effectElements;this.feFuncRComposed&&(te||ti[3].p._mdf||ti[4].p._mdf||ti[5].p._mdf||ti[6].p._mdf||ti[7].p._mdf)&&(tr=this.getTableValue(ti[3].p.v,ti[4].p.v,ti[5].p.v,ti[6].p.v,ti[7].p.v),this.feFuncRComposed.setAttribute("tableValues",tr),this.feFuncGComposed.setAttribute("tableValues",tr),this.feFuncBComposed.setAttribute("tableValues",tr)),this.feFuncR&&(te||ti[10].p._mdf||ti[11].p._mdf||ti[12].p._mdf||ti[13].p._mdf||ti[14].p._mdf)&&(tr=this.getTableValue(ti[10].p.v,ti[11].p.v,ti[12].p.v,ti[13].p.v,ti[14].p.v),this.feFuncR.setAttribute("tableValues",tr)),this.feFuncG&&(te||ti[17].p._mdf||ti[18].p._mdf||ti[19].p._mdf||ti[20].p._mdf||ti[21].p._mdf)&&(tr=this.getTableValue(ti[17].p.v,ti[18].p.v,ti[19].p.v,ti[20].p.v,ti[21].p.v),this.feFuncG.setAttribute("tableValues",tr)),this.feFuncB&&(te||ti[24].p._mdf||ti[25].p._mdf||ti[26].p._mdf||ti[27].p._mdf||ti[28].p._mdf)&&(tr=this.getTableValue(ti[24].p.v,ti[25].p.v,ti[26].p.v,ti[27].p.v,ti[28].p.v),this.feFuncB.setAttribute("tableValues",tr)),this.feFuncA&&(te||ti[31].p._mdf||ti[32].p._mdf||ti[33].p._mdf||ti[34].p._mdf||ti[35].p._mdf)&&(tr=this.getTableValue(ti[31].p.v,ti[32].p.v,ti[33].p.v,ti[34].p.v,ti[35].p.v),this.feFuncA.setAttribute("tableValues",tr))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(te){if(te||this.filterManager._mdf){if((te||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),te||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((te||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),te||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var ti=this.filterManager.effectElements[3].p.v,ts=(this.filterManager.effectElements[2].p.v-90)*degToRads,tn=ti*Math.cos(ts),ta=ti*Math.sin(ts);this.feOffset.setAttribute("dx",tn),this.feOffset.setAttribute("dy",ta)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(te,tr,ti){this.initialized=!1,this.filterManager=tr,this.filterElem=te,this.elem=ti,ti.matteElement=createNS("g"),ti.matteElement.appendChild(ti.layerElement),ti.matteElement.appendChild(ti.transformedElement),ti.baseElement=ti.matteElement}function SVGGaussianBlurEffect(te,tr,ti,ts){te.setAttribute("x","-100%"),te.setAttribute("y","-100%"),te.setAttribute("width","300%"),te.setAttribute("height","300%"),this.filterManager=tr;var tn=createNS("feGaussianBlur");tn.setAttribute("result",ts),te.appendChild(tn),this.feGaussianBlur=tn}return SVGMatte3Effect.prototype.findSymbol=function(te){for(var tr=0,ti=_svgMatteSymbols.length;tr<ti;){if(_svgMatteSymbols[tr]===te)return _svgMatteSymbols[tr];tr+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(te,tr){var ti=te.layerElement.parentNode;if(ti){for(var ts,tn=ti.children,ta=0,to=tn.length;ta<to&&tn[ta]!==te.layerElement;)ta+=1;ta<=to-2&&(ts=tn[ta+1]);var th=createNS("use");th.setAttribute("href","#"+tr),ts?ti.insertBefore(th,ts):ti.appendChild(th)}},SVGMatte3Effect.prototype.setElementAsMask=function(te,tr){if(!this.findSymbol(tr)){var ti=createElementID(),ts=createNS("mask");ts.setAttribute("id",tr.layerId),ts.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(tr);var tn=te.globalData.defs;tn.appendChild(ts);var ta=createNS("symbol");ta.setAttribute("id",ti),this.replaceInParent(tr,ti),ta.appendChild(tr.layerElement),tn.appendChild(ta);var to=createNS("use");to.setAttribute("href","#"+ti),ts.appendChild(to),tr.data.hd=!1,tr.show()}te.setMatte(tr.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var te=this.filterManager.effectElements[0].p.v,tr=this.elem.comp.elements,ti=0,ts=tr.length;ti<ts;)tr[ti]&&tr[ti].data.ind===te&&this.setElementAsMask(this.elem,tr[ti]),ti+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(te){if(te||this.filterManager._mdf){var tr=.3*this.filterManager.effectElements[0].p.v,ti=this.filterManager.effectElements[1].p.v,ts=3==ti?0:tr,tn=2==ti?0:tr;this.feGaussianBlur.setAttribute("stdDeviation",ts+" "+tn);var ta=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",ta)}},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},module.exports=factory())}
54(lottie$1,lottie$1.exports);var _templateObject$1,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents,lottie=lottie$1.exports,styles=r$3(_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 height: 100%;\n align-items: center;\n }\n"]))),LOTTIE_PLAYER_VERSION="1.7.1",LOTTIE_WEB_VERSION="^5.10.0";function parseSrc(te){if("object"==typeof te)return te;try{return JSON.parse(te)}catch(tr){return new URL(te,window.location.href).toString()}}function isLottie(te){return["v","ip","op","layers","fr","w","h"].every(tr=>Object.prototype.hasOwnProperty.call(te,tr))}function fromURL(te){return _fromURL.apply(this,arguments)}function _fromURL(){return(_fromURL=_asyncToGenerator(function*(te){if("string"!=typeof te)throw Error("The url value must be a string");try{var tr,ti=new URL(te),ts=yield fetch(ti.toString());tr=yield ts.json()}catch(te){throw Error("An error occurred while trying to load the Lottie file from URL")}return tr})).apply(this,arguments)}!function(te){te.Destroyed="destroyed",te.Error="error",te.Frozen="frozen",te.Loa
54ding="loading",te.Paused="paused",te.Playing="playing",te.Stopped="stopped"}(PlayerState||(PlayerState={})),function(te){te.Bounce="bounce",te.Normal="normal"}(PlayMode||(PlayMode={})),function(te){te.Complete="complete",te.Destroyed="destroyed",te.Error="error",te.Frame="frame",te.Freeze="freeze",te.Load="load",te.Loop="loop",te.Pause="pause",te.Play="play",te.Ready="ready",te.Rendered="rendered",te.Stop="stop"}(PlayerEvents||(PlayerEvents={}));var LottiePlayer=class extends s{constructor(){super(...arguments),this.autoplay=!1,this.background="transparent",this.controls=!1,this.currentState=PlayerState.Loading,this.description="Lottie animation",this.direction=1,this.disableCheck=!1,this.disableShadowDOM=!1,this.hover=!1,this.intermission=1,this.loop=!1,this.mode=PlayMode.Normal,this.preserveAspectRatio="xMidYMid meet",this.renderer="svg",this.speed=1,this._io=void 0,this._counter=1}load(te){var tr=this;return _asyncToGenerator(function*(){var ti={container:tr.container,loop:!1,autoplay:!1,renderer:tr.renderer,rendererSettings:Object.assign({preserveAspectRatio:tr.preserveAspectRatio,clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0},tr.viewBoxSize&&{viewBoxSize:tr.viewBoxSize})};try{var ts=parseSrc(te),tn={}
vendor: 5,823 bytes, line 54
54,ta="string"==typeof ts?"path":"animationData";tr._lottie&&tr._lottie.destroy(),tr.webworkers&&lottie$1.exports.useWebWorker(!0),tr._lottie=lottie$1.exports.loadAnimation(Object.assign(Object.assign({},ti),{[ta]:ts})),tr._attachEventListeners(),tr.disableCheck||("path"===ta?(tn=yield fromURL(ts),ta="animationData"):tn=ts,isLottie(tn)||(tr.currentState=PlayerState.Error,tr.dispatchEvent(new CustomEvent(PlayerEvents.Error))))}catch(te){tr.currentState=PlayerState.Error,tr.dispatchEvent(new CustomEvent(PlayerEvents.Error))}})()}getLottie(){return this._lottie}getVersions(){return{lottieWebVersion:LOTTIE_WEB_VERSION,lottiePlayerVersion:LOTTIE_PLAYER_VERSION}}play(){this._lottie&&(this._lottie.play(),this.currentState=PlayerState.Playing,this.dispatchEvent(new CustomEvent(PlayerEvents.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Paused,this.dispatchEvent(new CustomEvent(PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=1,this._lottie.stop(),this.currentState=PlayerState.Stopped,this.dispatchEvent(new CustomEvent(PlayerEvents.Stop)))}destroy(){this._lottie&&(this._lottie.destroy(),this._lottie=null,this.currentState=PlayerState.Destroyed,this.dispatchEvent(new CustomEvent(PlayerEvents.Destroyed)),this.remove())}seek(te){if(this._lottie){var tr=/^(\d+)(%?)$/.exec(te.toString());if(tr){var ti="%"===tr[2]?this._lottie.totalFrames*Number(tr[1])/100:Number(tr[1]);this.seeker=ti,this.currentState===PlayerState.Playing?this._lottie.goToAndPlay(ti,!0):(this._lottie.goToAndStop(ti,!0),this._lottie.pause())}}}snapshot(){var te=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.shadowRoot){var tr=this.shadowRoot.querySelector(".animation svg"),ti=(new XMLSerializer).serializeToString(tr);if(te){var ts=document.createElement("a");ts.href="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(ti)),ts.download="download_".concat(this.seeker,".svg"),document.body.appendChild(ts),ts.click(),document.body.removeChild(ts)}return ti}}setSpeed(){var te=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._lottie&&this._lottie.setSpeed(te)}setDirection(te){this._lottie&&this._lottie.setDirection(te)}setLooping(te){this._lottie&&(this.loop=te,this._lottie.loop=te)}togglePlay(){return this.currentState===PlayerState.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}resize(){this._lottie&&this._lottie.resize()}static get styles(){return styles}disconnectedCallback(){this.isConnected||(this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",()=>this._onVisibilityChange()),this.destroy())}render(){var te=this.controls?"main controls":"main",tr=this.controls?"animation controls":"animation";return $(_templateObject||(_templateObject=_taggedTemplateLiteral([' <div\n id="animation-container"\n class=','\n lang="en"\n aria-label=','\n role="img"\n >\n <div\n id="animation"\n class=','\n style="background:',';"\n >\n ',"\n </div>\n ","\n </div>"])),te,this.description,tr,this.background,this.currentState===PlayerState.Error?$(_templateObject2||(_templateObject2=_taggedTemplateLiteral(['<div class="error">â ï¸</div>']))):void 0,this.controls&&!this.disableShadowDOM?this.renderControls():void 0)}createRenderRoot(){return this.disableShadowDOM&&(this.style.display="block"),this.disableShadowDOM?this:super.createRenderRoot()}firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver(te=>{te[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.src&&this.load(this.src),this.dispatchEvent(new CustomEvent(PlayerEvents.Rendered))}renderControls(){var te=this.currentState===PlayerState.Playing,tr=this.currentState===PlayerState.Paused,ti=this.currentState===PlayerState.Stopped;return $(_templateObject3||(_templateObject3=_taggedTemplateLiteral(['\n <div\n id="lottie-controls"\n aria-label="lottie-animation-controls"\n class="toolbar"\n >\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>
54\n '])),this.togglePlay,te||tr?"active":"",$(te?_templateObject4||(_templateObject4=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path\n d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z"\n />\n </svg>'])):_templateObject5||(_templateObject5=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />\n </svg>']))),this.stop,ti?"active":"",this.seeker,this._handleSeekChange,()=>{this._prevState=this.currentState,this.freeze()},()=>{this._prevState===PlayerState.Playing&&this.play()},this.seeker,this.toggleLooping,this.loop?"active":"")}_onVisibilityChange(){!0===document.hidden&&this.currentState===PlayerState.Playing?this.freeze():this.currentState===PlayerState.Frozen&&this.play()}_handleSeekChange(te){if(this._lottie&&!isNaN(te.target.value)){var tr=te.target.value/100*this._lottie.totalFrames;this.seek(tr)}}_attachEventListeners(){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?(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._lottie.play()))},this.intermission))):this.dispatchEvent(new CustomEvent(PlayerEvents.Complete))}),this._lottie.addEventListener("DOMLoaded",()=>{this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&(-1===this.direction&&this.seek("100%"),this.play()),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()})}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Frozen,this.dispatchEvent(new CustomEvent(PlayerEvents.Freeze)))}};__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String,reflect:!0})],LottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"count",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"currentState",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"description",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"disableCheck",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"disableShadowDOM",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"hover",void 0),__decorate([e$5()],LottiePlayer.prototype,"intermission",void 0),__decorate([e$5({type:Boolean,reflect:!0})],LottiePlayer.prototype,"loop",void 0),__decorate([e$5()],LottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"preserveAspectRatio",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"viewBoxSize",void 0),__decorate([e$5()],LottiePlayer.prototype,"seeker",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"src",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"webworkers",void 0),__decorate([i(".animation")],LottiePlayer.prototype,"container",void 0),LottiePlayer=__decorate([n$1("lottie-player")],LottiePlayer)}}]);
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.