(self.webpackChunk=self.webpackChunk||[]).push([["753"],{1361:function(t){var e=4,i=.001,s=1e-7,r=10,n=11,a=.1,o="function"==typeof Float32Array;function h(t,e){return 1-3*e+3*t}function l(t,e){return 3*e-6*t}function p(t){return 3*t}function f(t,e,i){return((h(e,i)*t+l(e,i))*t+p(e))*t}function c(t,e,i){return 3*h(e,i)*t*t+2*l(e,i)*t+p(e)}function u(t,e,i,n,a){var o,h,l=0;do(o=f(h=e+(i-e)/2,n,a)-t)>0?i=h:e=h;while(Math.abs(o)>s&&++l=i?m(e,p,t,s):0===f?p:u(e,r,r+a,t,s)}return function(i){return t===e&&s===r?i:0===i?0:1===i?1:f(p(i),e,r)}}},98172:function(t,e,i){t.exports=i(40440)(i(75238),"DataView")},51796:function(t,e,i){var s=i(87322),r=i(32937),n=i(207),a=i(2165),o=i(7523);function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}},45940:function(t,e,i){var s=i(28532),r=Object.create;t.exports=function(){function t(){}return function(e){if(!s(e))return{};if(r)return r(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}()},48264:function(t,e,i){var s=i(93406);t.exports=i(32679)(s)},82056:function(t){t.exports=function(t,e,i,s){for(var r=t.length,n=i+(s?1:-1);s?n--:++n0&&i(p)?e>1?n(p,e-1,i,a,o):s(o,p):a||(o[o.length]=p)}return o}t.exports=n},20001:function(t,e,i){t.exports=i(10132)()},93406:function(t,e,i){var s=i(20001),r=i(47361);t.exports=function(t,e){return t&&s(t,e,r)}},11957:function(t,e,i){var s=i(33835),r=i(78481);t.exports=function(t,e){e=s(e,t);for(var i=0,n=e.length;null!=t&&i-1?o[h?e[l]:l]:void 0}}},30914:function(t,e,i){var s=i(29675),r=i(54502),n=i(56007),a=i(20195),o=i(36377),h=i(46252),l="Expected a function",p=8,f=32,c=128,u=256;t.exports=function(t){return r(function(e){var i=e.length,r=i,m=s.prototype.thru;for(t&&e.reverse();r--;){var d=e[r];if("function"!=typeof d)throw TypeError(l);if(m&&!g&&"wrapper"==a(d))var g=new s([],!0)}for(r=g?r:i;++rc))return!1;var m=p.get(t),d=p.get(e);if(m&&d)return m==e&&d==t;var g=-1,v=!0,y=i&o?new s:void 0;for(p.set(t,e),p.set(e,t);++g-1&&t%1==0&&t-1}},82426:function(t,e,i){var s=i(68357);t.exports=function(t,e){var i=this.__data__,r=s(i,t);return r<0?(++this.size,i.push([t,e])):i[r][1]=e,this}},6409:function(t,e,i){var s=i(51796),r=i(80283),n=i(9036);t.exports=function(){this.size=0,this.__data__={hash:new s,map:new(n||r),string:new s}}},85335:function(t,e,i){var s=i(51143);t.exports=function(t){var e=s(this,t).delete(t);return this.size-=!!e,e}},35601:function(t,e,i){var s=i(51143);t.exports=function(t){return s(this,t).get(t)}},71533:function(t,e,i){var s=i(51143);t.exports=function(t){return s(this,t).has(t)}},20151:function(t,e,i){var s=i(51143);t.exports=function(t,e){var i=s(this,t),r=i.size;return i.set(t,e),this.size+=+(i.size!=r),this}},97170:function(t){t.exports=function(t){var e=-1,i=Array(t.size);return t.forEach(function(t,s){i[++e]=[s,t]}),i}},64167:function(t){t.exports=function(t,e){return function(i){return null!=i&&i[t]===e&&(void 0!==e||t in Object(i))}}},86141:function(t,e,i){var s=i(84984),r=500;t.exports=function(t){var e=s(t,function(t){return i.size===r&&i.clear(),t}),i=e.cache;return e}},50900:function(t,e,i){var s=i(73283);t.exports=s&&new s},7305:function(t,e,i){t.exports=i(40440)(Object,"create")},22440:function(t,e,i){t.exports=i(16512)(Object.keys,Object)},61308:function(t){t.exports=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e}},20895:function(t,e,i){t=i.nmd(t);var s=i(72593),r=e&&!e.nodeType&&e,n=r&&t&&!t.nodeType&&t,a=n&&n.exports===r&&s.process,o=function(){try{var t=n&&n.require&&n.require("util").types;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=o},77070:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},16512:function(t){t.exports=function(t,e){return function(i){return t(e(i))}}},16813:function(t,e,i){var s=i(19198),r=Math.max;t.exports=function(t,e,i){return e=r(void 0===e?t.length-1:e,0),function(){for(var n=arguments,a=-1,o=r(n.length-e,0),h=Array(o);++a0){if(++r>=e)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},86063:function(t,e,i){var s=i(80283);t.exports=function(){this.__data__=new s,this.size=0}},27727:function(t){t.exports=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}},13281:function(t){t.exports=function(t){return this.__data__.get(t)}},66667:function(t){t.exports=function(t){return this.__data__.has(t)}},91270:function(t,e,i){var s=i(80283),r=i(9036),n=i(24544),a=200;t.exports=function(t,e){var i=this.__data__;if(i instanceof s){var o=i.__data__;if(!r||o.length=e||i<0||v&&s>=f}function A(){var t=r();if(k(t))return C(t);u=setTimeout(A,_(t))}function C(t){return(u=void 0,y&&l)?b(t):(l=p=void 0,c)}function P(){return void 0===u?c:C(r())}function w(){var t=r(),i=k(t);if(l=arguments,p=this,m=t,i){if(void 0===u)return x(m);if(v)return clearTimeout(u),u=setTimeout(A,e),b(m)}return void 0===u&&(u=setTimeout(A,e)),c}return e=n(e)||0,s(i)&&(g=!!i.leading,f=(v="maxWait"in i)?o(n(i.maxWait)||0,e):f,y="trailing"in i?!!i.trailing:y),w.cancel=function(){void 0!==u&&clearTimeout(u),d=0,l=m=p=u=void 0},w.flush=P,w}},34075:function(t){t.exports=function(t,e){return null==t||t!=t?e:t}},84071:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},19777:function(t,e,i){t.exports=i(80727)(i(33142))},33142:function(t,e,i){var s=i(82056),r=i(35462),n=i(8536),a=Math.max;t.exports=function(t,e,i){var o=null==t?0:t.length;if(!o)return -1;var h=null==i?0:n(i);return h<0&&(h=a(o+h,0)),s(t,r(e,3),h)}},45720:function(t,e,i){t.exports=i(80727)(i(23758))},23758:function(t,e,i){var s=i(82056),r=i(35462),n=i(8536),a=Math.max,o=Math.min;t.exports=function(t,e,i){var h=null==t?0:t.length;if(!h)return -1;var l=h-1;return void 0!==i&&(l=n(i),l=i<0?a(h+l,0):o(l,h-1)),s(t,r(e,3),l,!0)}},96380:function(t,e,i){var s=i(25265);t.exports=function(t){return(null==t?0:t.length)?s(t,1):[]}},85801:function(t,e,i){t.exports=i(30914)()},32397:function(t,e,i){var s=i(74970),r=i(48264),n=i(28269),a=i(36377);t.exports=function(t,e){return(a(t)?s:r)(t,n(e))}},24738:function(t,e,i){var s=i(11957);t.exports=function(t,e,i){var r=null==t?void 0:s(t,e);return void 0===r?i:r}},29290:function(t,e,i){var s=i(66993),r=i(87635);t.exports=function(t,e){return null!=t&&r(t,e,s)}},21622:function(t){t.exports=function(t){return t}},79732:function(t,e,i){var s=i(50841),r=i(27013),n=Object.prototype,a=n.hasOwnProperty,o=n.propertyIsEnumerable;t.exports=s(function(){return arguments}())?s:function(t){return r(t)&&a.call(t,"callee")&&!o.call(t,"callee")}},36377:function(t){t.exports=Array.isArray},30508:function(t,e,i){var s=i(56644),r=i(57924);t.exports=function(t){return null!=t&&r(t.length)&&!s(t)}},26018:function(t,e,i){t=i.nmd(t);var s=i(75238),r=i(65786),n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,o=a&&a.exports===n?s.Buffer:void 0,h=(o?o.isBuffer:void 0)||r;t.exports=h},86633:function(t,e,i){var s=i(57407),r=i(69937),n=i(79732),a=i(36377),o=i(30508),h=i(26018),l=i(88857),p=i(58586),f="[object Map]",c="[object Set]",u=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(o(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||h(t)||p(t)||n(t)))return!t.length;var e=r(t);if(e==f||e==c)return!t.size;if(l(t))return!s(t).length;for(var i in t)if(u.call(t,i))return!1;return!0}},56644:function(t,e,i){var s=i(23757),r=i(28532),n="[object AsyncFunction]",a="[object Function]",o="[object GeneratorFunction]",h="[object Proxy]";t.exports=function(t){if(!r(t))return!1;var e=s(t);return e==a||e==o||e==n||e==h}},57924:function(t){var e=0x1fffffffffffff;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}},28532:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},27013:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},81098:function(t,e,i){var s=i(23757),r=i(36377),n=i(27013),a="[object String]";t.exports=function(t){return"string"==typeof t||!r(t)&&n(t)&&s(t)==a}},61359:function(t,e,i){var s=i(23757),r=i(27013),n="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||r(t)&&s(t)==n}},58586:function(t,e,i){var s=i(42195),r=i(57509),n=i(20895),a=n&&n.isTypedArray;t.exports=a?r(a):s},47361:function(t,e,i){var s=i(94979),r=i(57407),n=i(30508);t.exports=function(t){return n(t)?s(t):r(t)}},33747:function(t,e,i){var s=i(94979),r=i(79237),n=i(30508);t.exports=function(t){return n(t)?s(t,!0):r(t)}},53729:function(t,e,i){var s=i(12676),r=i(93406),n=i(35462);t.exports=function(t,e){var i={};return e=n(e,3),r(t,function(t,r,n){s(i,r,e(t,r,n))}),i}},84984:function(t,e,i){var s=i(24544),r="Expected a function";function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError(r);var i=function(){var s=arguments,r=e?e.apply(this,s):s[0],n=i.cache;if(n.has(r))return n.get(r);var a=t.apply(this,s);return i.cache=n.set(r,a)||n,a};return i.cache=new(n.Cache||s),i}n.Cache=s,t.exports=n},23103:function(t){var e="Expected a function";t.exports=function(t){if("function"!=typeof t)throw TypeError(e);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},6032:function(t){t.exports=function(){}},70806:function(t,e,i){var s=i(75238);t.exports=function(){return s.Date.now()}},13452:function(t,e,i){var s=i(35462),r=i(23103),n=i(74103);t.exports=function(t,e){return n(t,r(s(e)))}},74103:function(t,e,i){var s=i(21098),r=i(35462),n=i(77100),a=i(19254);t.exports=function(t,e){if(null==t)return{};var i=s(a(t),function(t){return[t]});return e=r(e),n(t,i,function(t,i){return e(t,i[0])})}},78303:function(t,e,i){var s=i(92726),r=i(21374),n=i(17074),a=i(78481);t.exports=function(t){return n(t)?s(a(t)):r(t)}},51455:function(t,e,i){var s=i(72607),r=i(48264),n=i(35462),a=i(39864),o=i(36377);t.exports=function(t,e,i){var h=o(t)?s:a,l=arguments.length<3;return h(t,n(e,4),i,l,r)}},64659:function(t,e,i){var s=i(57407),r=i(69937),n=i(30508),a=i(81098),o=i(66749),h="[object Map]",l="[object Set]";t.exports=function(t){if(null==t)return 0;if(n(t))return a(t)?o(t):t.length;var e=r(t);return e==h||e==l?t.size:s(t).length}},71036:function(t){t.exports=function(){return[]}},65786:function(t){t.exports=function(){return!1}},35082:function(t,e,i){var s=i(18305),r=i(28532),n="Expected a function";t.exports=function(t,e,i){var a=!0,o=!0;if("function"!=typeof t)throw TypeError(n);return r(i)&&(a="leading"in i?!!i.leading:a,o="trailing"in i?!!i.trailing:o),s(t,e,{leading:a,maxWait:e,trailing:o})}},95597:function(t,e,i){var s=i(96127),r=1/0,n=17976931348623157e292;t.exports=function(t){return t?(t=s(t))===r||t===-r?(t<0?-1:1)*n:t==t?t:0:0===t?t:0}},8536:function(t,e,i){var s=i(95597);t.exports=function(t){var e=s(t),i=e%1;return e==e?i?e-i:e:0}},96127:function(t,e,i){var s=i(1072),r=i(28532),n=i(61359),a=0/0,o=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,l=/^0o[0-7]+$/i,p=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(n(t))return a;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=s(t);var i=h.test(t);return i||l.test(t)?p(t.slice(2),i?2:8):o.test(t)?a:+t}},36214:function(t,e,i){var s=i(99653);t.exports=function(t){return null==t?"":s(t)}},26985:function(t,e,i){var s=i(84281),r=i(29675),n=i(64382),a=i(36377),o=i(27013),h=i(219),l=Object.prototype.hasOwnProperty;function p(t){if(o(t)&&!a(t)&&!(t instanceof s)){if(t instanceof r)return t;if(l.call(t,"__wrapped__"))return h(t)}return new r(t)}p.prototype=n.prototype,p.prototype.constructor=p,t.exports=p},38724:function(module,exports){"undefined"!=typeof navigator&&function(t,e){module.exports=e()}(0,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,s,r=t.length;for(i=0;i1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var t,e,i=[];for(t=0;t<256;t+=1)e=t.toString(16),i[t]=1===e.length?"0"+e:e;return function(t,e,s){return t<0&&(t=0),e<0&&(e=0),s<0&&(s=0),"#"+i[t]+i[e]+i[s]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var dataManager=function(){var t,e,i=1,s=[],r={onmessage:function(){},postMessage:function(e){t({data:e})}},n={postMessage:function(t){r.onmessage({data:t})}};function a(){e||((e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var i=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"});return new Worker(URL.createObjectURL(i))}return t=e,r}(function(t){if(n.dataManager||(n.dataManager=function(){function t(r,n){var a,o,h,l,p,c,u=r.length;for(o=0;o=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)s(t[e].ks.k);else for(n=t[e].ks.k.length,r=0;ri[0]||!(i[0]>t[0])&&(t[1]>i[1]||!(i[1]>t[1])&&(t[2]>i[2]||!(i[2]>t[2])&&null))}var n,a=function(){var t=[4,4,14];function e(t){var e,i,s,r=t.length;for(e=0;e=0;i-=1)if("sh"===t[i].ty)if(t[i].ks.k.i)t[i].ks.k.c=t[i].closed;else for(r=t[i].ks.k.length,s=0;s500)&&(this._imageLoaded(),clearInterval(i)),e+=1}).bind(this),50)}function n(t){var e={assetData:t},i=s(t,this.assetsPath,this.path);return dataManager.loadData(i,(function(t){e.img=t,this._footageLoaded()}).bind(this),(function(){e.img={},this._footageLoaded()}).bind(this)),e}function a(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=n.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;var i,s=t.length;for(i=0;ithis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,i,s=this.animationData.layers,r=s.length,n=t.layers,a=n.length;for(i=0;ithis.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.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,i=0;i=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(i=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var i,s=t.length;for(i=0;i=0;i-=1)e[i].animation.destroy(t)},t.freeze=function(){a=!0},t.unfreeze=function(){a=!1,m()},t.setVolume=function(t,i){var r;for(r=0;r=.001?function(t,e,i,s){for(var r=0;r<4;++r){var n=h(e,i,s);if(0===n)break;e-=(o(e,i,s)-t)/n}return e}(t,l,e,s):0===p?l:function(t,e,i,s,r){var n,a,h=0;do(n=o(a=e+(i-e)/2,s,r)-t)>0?i=a:e=a;while(Math.abs(n)>1e-7&&++h<10);return a}(t,n,n+i,e,s)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,i){var s=0,r=t,n=createSizedArray(r);return{newElement:function(){return s?n[s-=1]:e()},release:function(t){s===r&&(n=pooling.double(n),r*=2),i&&i(t),n[s]=t,s+=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(t){var e,i=t.lengths.length;for(e=0;e-.001&&a<.001}var i=function(t,e,i,s){var r,n,a,o,h,l,p=getDefaultCurveSegments(),f=0,c=[],u=[],m=bezierLengthPool.newElement();for(a=i.length,r=0;ra?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||n>=r-1){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}var h=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,s=segmentsLengthPool.newElement(),r=t.c,n=t.v,a=t.o,o=t.i,h=t._length,l=s.lengths,p=0;for(e=0;e1&&(n=1);var p,f=o(n,l),c=o(a=a>1?1:a,l),u=e.length,m=1-f,d=1-c,g=m*m*m,v=f*m*m*3,y=f*f*m*3,b=f*f*f,x=m*m*d,_=f*m*d+m*f*d+m*m*c,k=f*f*d+m*f*c+f*m*c,A=f*f*c,C=m*d*d,P=f*d*d+m*c*d+m*d*c,w=f*c*d+m*c*c+f*d*c,S=f*c*c,D=d*d*d,T=c*d*d+d*c*d+d*d*c,E=c*c*d+d*c*c+c*d*c,M=c*c*c;for(p=0;pu?c>m?c-u-m:m-u-c:m>u?m-u-c:u-c-m)>-1e-4&&f<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i,s,r,n,a,o,h=this.offsetTime;"multidimensional"===this.propType&&(o=createTypedArray("float32",this.pv.length));for(var l,p,f,c,u,m,d,g,v,y=e.lastIndex,b=y,x=this.keyframes.length-1,_=!0;_;){if(l=this.keyframes[b],p=this.keyframes[b+1],b===x-1&&t>=p.t-h){l.h&&(l=p),y=0;break}if(p.t-h>t){y=b;break}b=A||t=A?P.points.length-1:0;for(u=P.points[w].point.length,c=0;c=T&&D=A?(o[0]=k[0],o[1]=k[1],o[2]=k[2]):t<=C?(o[0]=l.s[0],o[1]=l.s[1],o[2]=l.s[2]):quaternionToEuler(o,slerp(createQuaternion(l.s),createQuaternion(k),(t-C)/(A-C)));else for(b=0;b=A?m=1:t1e-6?(n=Math.sin(s=Math.acos(r)),a=Math.sin((1-i)*s)/n,o=Math.sin(i*s)/n):(a=1-i,o=i),h[0]=a*l+o*u,h[1]=a*p+o*m,h[2]=a*f+o*d,h[3]=a*c+o*g,h}function quaternionToEuler(t,e){var i=e[0],s=e[1],r=e[2],n=e[3],a=Math.atan2(2*s*n-2*i*r,1-2*s*s-2*r*r),o=Math.asin(2*i*s+2*r*n),h=Math.atan2(2*i*n-2*s*r,1-2*i*i-2*r*r);t[0]=a/degToRads,t[1]=o/degToRads,t[2]=h/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,s=t[2]*degToRads,r=Math.cos(e/2),n=Math.cos(i/2),a=Math.cos(s/2),o=Math.sin(e/2),h=Math.sin(i/2),l=Math.sin(s/2);return[o*h*a+r*n*l,o*n*a+r*h*l,r*h*a-o*n*l,r*n*a-o*h*l]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(t,this._caching);this.pv=s}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i1e-5&&(this.v[i]=e,this._mdf=!0),i+=1}function processEffectsSequence(){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 t,e=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=pointPool.newElement()),n[s][0]=t,n[s][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,s=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1);var n,a=this._length-1,o=this._length;for(n=r;n=u[u.length-1].t-this.offsetTime)s=u[u.length-1].s?u[u.length-1].s[0]:u[u.length-2].e[0],n=!0;else{for(var m,d,g,v,y=c,b=u.length-1,x=!0;x&&(d=u[y],!((g=u[y+1]).t-this.offsetTime>t));)y=g.t-this.offsetTime?p=1:ts&&e>s)||(this._caching.lastIndex=r0||t>-1e-6&&t<0?s(1e4*t)/1e4:t}function I(){var t=this.props;return"matrix("+F(t[0])+","+F(t[1])+","+F(t[4])+","+F(t[5])+","+F(t[12])+","+F(t[13])+")"}return function(){this.reset=r,this.rotate=n,this.rotateX=a,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=c,this.setTransform=u,this.translate=m,this.transform=d,this.multiply=g,this.applyToPoint=_,this.applyToX=k,this.applyToY=A,this.applyToZ=C,this.applyToPointArray=T,this.applyToTriplePoints=D,this.applyToPointStringified=E,this.toCSS=M,this.to2dCSS=I,this.clone=b,this.cloneFromProps=x,this.equals=y,this.inversePoints=S,this.inversePoint=w,this.getInverseMatrix=P,this._t=this.transform,this.isIdentity=v,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),i=0;i=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var o,h,l=[],p=a.length;for(o=0;os+i||(n=h.s*r<=s?0:(h.s*r-s)/i,l.push([n,h.e*r>=s+i?1:(h.e*r-s)/i]));return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e1?1+e:this.s.v<0?0+e:this.s.v+e)>(r=this.e.v>1?1+e:this.e.v<0?0+e:this.e.v+e)){var i=s;s=r,r=i}s=1e-4*Math.round(1e4*s),r=1e-4*Math.round(1e4*r),this.sValue=s,this.eValue=r}else s=this.sValue,r=this.eValue;var s,r,n,a,o,h,l,p,f,c=this.shapes.length,u=0;if(r===s)for(a=0;a=0;a-=1)if((m=this.shapes[a]).shape._mdf){for((d=m.localShapeCollection).releaseShapes(),2===this.m&&c>1?(v=this.calculateShapeEdges(s,r,m.totalShapeLength,x,u),x+=m.totalShapeLength):v=[[y,b]],h=v.length,o=0;o=1?g.push({s:m.totalShapeLength*(y-1),e:m.totalShapeLength*(b-1)}):(g.push({s:m.totalShapeLength*y,e:m.totalShapeLength}),g.push({s:0,e:m.totalShapeLength*(b-1)}));var _=this.addShapes(m,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(m.shape.paths.shapes[m.shape.paths._length-1].c){var k=_.pop();this.addPaths(_,d),_=this.addShapes(m,g[1],k)}else this.addPaths(_,d),_=this.addShapes(m,g[1]);this.addPaths(_,d)}}m.shape.paths=d}}},TrimModifier.prototype.addPaths=function(t,e){var i,s=t.length;for(i=0;ie.e){i.c=!1;break}e.s<=m&&e.e>=m+a.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,o,g),g=!1):(l=bez.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-m)/a.addedLength,(e.e-m)/a.addedLength,h[r-1]),this.addSegmentFromArray(l,i,o,g),g=!1,i.c=!1),m+=a.addedLength,o+=1}if(c[s].c&&h.length){if(a=h[r-1],m<=e.e){var v=h[r-1].addedLength;e.s<=m&&e.e>=m+v?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,o,g),g=!1):(l=bez.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-m)/v,(e.e-m)/v,h[r-1]),this.addSegmentFromArray(l,i,o,g),g=!1,i.c=!1)}else i.c=!1;m+=a.addedLength,o+=1}if(i._length&&(i.setXYAt(i.v[p][0],i.v[p][1],"i",p),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),m>e.e)break;s=this.p.keyframes[this.p.keyframes.length-1].t?(s=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(s=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){s=[],r=[];var i,s,r,n=this.px,a=this.py;n._caching.lastFrame+n.offsetTime<=n.keyframes[0].t?(s[0]=n.getValueAtTime((n.keyframes[0].t+.01)/i,0),s[1]=a.getValueAtTime((a.keyframes[0].t+.01)/i,0),r[0]=n.getValueAtTime(n.keyframes[0].t/i,0),r[1]=a.getValueAtTime(a.keyframes[0].t/i,0)):n._caching.lastFrame+n.offsetTime>=n.keyframes[n.keyframes.length-1].t?(s[0]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/i,0),s[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/i,0),r[0]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/i,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/i,0)):(s=[n.pv,a.pv],r[0]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/i,n.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/i,a.offsetTime))}else s=r=t;this.v.rotate(-Math.atan2(s[1]-r[1],s[0]-r[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.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,i,s){return new e(t,i,s)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return 1e-5>=Math.abs(t)}function lerp(t,e,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){if(0===t)return[];var s=e*e-4*t*i;if(s<0)return[];var r=-e/(2*t);if(0===s)return[r];var n=Math.sqrt(s)/(2*t);return[r-n,r+n]}function polynomialCoefficients(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,s,r){r&&pointEqual(t,e)&&(e=lerpPoint(t,s,1/3)),r&&pointEqual(i,s)&&(i=lerpPoint(t,s,2/3));var n=polynomialCoefficients(t[0],e[0],i[0],s[0]),a=polynomialCoefficients(t[1],e[1],i[1],s[1]);this.a=[n[0],a[0]],this.b=[n[1],a[1]],this.c=[n[2],a[2]],this.d=[n[3],a[3]],this.points=[t,e,i,s]}function extrema(t,e){var i=t.points[0][e],s=t.points[t.points.length-1][e];if(i>s){var r=s;s=i,i=r}for(var n=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a0&&n[a]<1){var o=t.point(n[a])[e];os&&(s=o)}return{min:i,max:s}}function intersectData(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return 2*Math.abs(t.cx-e.cx)=n||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s)r.push([t.t,e.t]);else{var a=splitData(t),o=splitData(e);intersectsImpl(a[0],o[0],i+1,s,r,n),intersectsImpl(a[0],o[1],i+1,s,r,n),intersectsImpl(a[1],o[0],i+1,s,r,n),intersectsImpl(a[1],o[1],i+1,s,r,n)}}function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,i,s){var r=[t[0],t[1],1],n=[e[0],e[1],1],a=[i[0],i[1],1],o=[s[0],s[1],1],h=crossProduct(crossProduct(r,n),crossProduct(a,o));return floatZero(h[2])?null:[h[0]/h[2],h[1]/h[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}function setPoint(t,e,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,p=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,p,l+Math.cos(o)*n,p-Math.sin(o)*n,l+Math.cos(h)*a,p-Math.sin(h)*a,t.length())}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],s=-(.5*Math.PI);return[Math.cos(s)*i[0]-Math.sin(s)*i[1],Math.sin(s)*i[0]+Math.cos(s)*i[1]]}function getProjectingAngle(t,e){var i=0===e?t.length()-1:e-1,s=(e+1)%t.length(),r=getPerpendicularVector(t.v[i],t.v[s]);return Math.atan2(0,1)-Math.atan2(r[1],r[0])}function zigZagCorner(t,e,i,s,r,n,a){var o=getProjectingAngle(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],f=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,c=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;setPoint(t,e.v[i%e._length],o,a,s,c/(2*(r+1)),f/(2*(r+1)),n)}function zigZagSegment(t,e,i,s,r,n){for(var a=0;a1&&e.length>1&&(r=getIntersection(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function pruneIntersections(t){for(var e,i=1;i1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i,s,r,n,a=t.inflectionPoints();if(0===a.length)return[offsetSegment(t,e)];if(1===a.length||floatEqual(a[1],1))return i=(r=t.split(a[0]))[0],s=r[1],[offsetSegment(i,e),offsetSegment(s,e)];i=(r=t.split(a[0]))[0];var o=(a[1]-a[0])/(1-a[0]);return n=(r=r[1].split(o))[0],s=r[1],[offsetSegment(i,e),offsetSegment(n,e),offsetSegment(s,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",s="normal",r=e.length,n=0;n0;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e0?Math.floor(c):Math.ceil(c),d=this.pMatrix.props,g=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,x=0;if(c>0){for(;xm;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-u,!0),x-=u)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(b=(i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(s/(this._currentCopies-1)),0!==x){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),y=0;y0&&s<1?[e]:[]:[e-s,e+s].filter(function(t){return t>0&&t<1})},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),i=lerpPoint(this.points[1],this.points[2],t),s=lerpPoint(this.points[2],this.points[3],t),r=lerpPoint(e,i,t),n=lerpPoint(i,s,t),a=lerpPoint(r,n,t);return[new PolynomialBezier(this.points[0],e,r,a,!0),new PolynomialBezier(a,n,s,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,e,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,s,i),s},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],t.o[e],t.v[e],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.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(t,e,i,s){var r=t._length,n=shapePool.newElement();if(n.c=t.c,t.c||(r-=1),0===r)return n;var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(n,t,0,e,i,s,a);for(var h=0;h=0;n-=1)o=PolynomialBezier.shapeSegmentInverted(t,n),l.push(offsetSegmentSplit(o,e));l=pruneIntersections(l);var p=null,f=null;for(n=0;n=55296&&i<=56319){var s=t.charCodeAt(1);s>=56320&&s<=57343&&(e=1024*(i-55296)+s-56320+65536)}return e}function o(t){var e=a(t);return e>=127462&&e<=127487}var h=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return h.isModifier=function(t,e){var i=t.toString(16)+e.toString(16);return -1!==s.indexOf(i)},h.isZeroWidthJoiner=function(t){return 8205===t},h.isFlagEmoji=function(t){return o(t.substr(0,2))&&o(t.substr(2,2))},h.isRegionalCode=o,h.isCombinedCharacter=function(t){return -1!==e.indexOf(t)},h.isRegionalFlag=function(t,e){var s=a(t.substr(e,2));if(s!==i)return!1;var r=0;for(e+=2;r<5;){if((s=a(t.substr(e,2)))<917601||s>917626)return!1;r+=1,e+=2}return 917631===a(t.substr(e,2))},h.isVariationSelector=function(t){return 65039===t},h.BLACK_FLAG_CODE_POINT=i,h.prototype={addChars:function(t){if(t){this.chars||(this.chars=[]);var e,i,s,r=t.length,n=this.chars.length;for(e=0;e0&&(p=!1),p){var f=createTag("style");f.setAttribute("f-forigin",s[i].fOrigin),f.setAttribute("f-origin",s[i].origin),f.setAttribute("f-family",s[i].fFamily),f.type="text/css",f.innerText="@font-face {font-family: "+s[i].fFamily+"; font-style: normal; src: url('"+s[i].fPath+"');}",e.appendChild(f)}}else if("g"===s[i].fOrigin||1===s[i].origin){for(h=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;lt?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*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(t){var e,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;e>=0;e-=1)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t0&&(this.maskElement.setAttribute("id",v),this.element.maskedElement.setAttribute(b,"url("+getLocationHref()+"#"+v+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i1&&(n+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==n){var a="";i.elem&&(e.c&&(a=t.inv?this.solidPath+n:n),i.elem.setAttribute("d",a)),i.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var i=createNS("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},t.createAlphaToLuminanceFilter=function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t},t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,i,s="SourceGraphic",r=t.data.ef?t.data.ef.length:0,n=createElementID(),a=filtersFactory.createFilter(n,!0),o=0;for(this.filters=[],e=0;e=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i.01)return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)h=s.transformers[m].mProps._mdf||h,u-=1,m-=1;if(h)for(u=g-s.styles[p].lvl,m=s.transformers.length-1;u>0;)c.multiply(s.transformers[m].mProps.v),u-=1,m-=1}else c=t;if(a=(f=s.sh.paths)._length,h){for(o="",n=0;n=1?y=.99:y<=-1&&(y=-.99);var b=o*y,x=Math.cos(v+e.a.v)*b+p[0],_=Math.sin(v+e.a.v)*b+p[1];h.setAttribute("fx",x),h.setAttribute("fy",_),l&&!e.g._collapsable&&(e.of.setAttribute("fx",x),e.of.setAttribute("fy",_))}}function h(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem&&s.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return n;case"gf":return o;case"gs":return a;case"st":return h;case"sh":case"el":case"rc":case"sr":return r;case"tr":return i;case"no":return s;default:return null}}}}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function LetterProps(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,i,s,r=this.shapes.length,n=this.stylesList.length,a=[],o=!1;for(i=0;i1&&o&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e=0;o-=1){if((c=this.searchProcessedElement(t[o]))?e[o]=i[c-1]:t[o]._render=a,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)c?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],r),t[o]._render&&e[o].style.pElem.parentNode!==s&&s.appendChild(e[o].style.pElem),d.push(e[o].style);else if("gr"===t[o].ty){if(c)for(l=e[o].it.length,h=0;h1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var s,r=this.effectsSequence.length,n=t||this.data.d.k[this.keysIndex].s;for(s=0;se);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r=55296&&e<=56319?FontManager.isRegionalFlag(t,r)?h=t.substr(r,14):(i=t.charCodeAt(r+1))>=56320&&i<=57343&&(FontManager.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=FontManager.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):e>56319?(i=t.charCodeAt(r+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(a=!0,o=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n,a,o,h=this.elem.globalData.fontManager,l=this.data,p=[],f=0,c=l.m.g,u=0,m=0,d=0,g=[],v=0,y=0,b=h.getFontByName(t.f),x=0,_=getFontProperties(b);t.fWeight=_.weight,t.fStyle=_.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),i=t.finalText.length,t.finalLineHeight=t.lh;var k,A=t.tr/1e3*t.finalSize;if(t.sz)for(var C,P,w=!0,S=t.sz[0],D=t.sz[1];w;){C=0,v=0,i=(P=this.buildFinalText(t.t)).length,A=t.tr/1e3*t.finalSize;var T=-1;for(e=0;eS&&" "!==P[e]?(-1===T?i+=1:e=T,C+=t.finalLineHeight||1.2*t.finalSize,P.splice(e,+(T===e),"\r"),T=-1,v=0):(v+=x,v+=A);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&Dy?v:y,v=-2*A,r="",s=!0,d+=1):r=E,h.chars?(o=h.getCharData(E,b.fStyle,h.getFontByName(t.f).fFamily),x=s?0:o.w*t.finalSize/100):x=h.measureText(r,t.f,t.finalSize)," "===E?M+=x+A:(v+=x+A+M,M=0),p.push({l:x,an:x,add:u,n:s,anIndexes:[],val:r,line:d,animatorJustifyOffset:0}),2==c){if(u+=x,""===r||" "===r||e===i-1){for(""!==r&&" "!==r||(u-=x);m<=e;)p[m].an=u,p[m].ind=f,p[m].extra=x,m+=1;f+=1,u=0}}else if(3==c){if(u+=x,""===r||e===i-1){for(""===r&&(u-=x);m<=e;)p[m].an=u,p[m].ind=f,p[m].extra=x,m+=1;u=0,f+=1}}else p[f].ind=f,p[f].extra=0,f+=1;if(t.l=p,y=v>y?v:y,g.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var F,I,L,O,B=l.a;a=B.length;var R=[];for(n=0;n0?r=this.ne.v/100:n=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:o=1+this.xe.v/100;var h=BezierFactory.getBezierEasing(r,n,a,o).get,l=0,p=this.finalS,f=this.finalE,c=this.data.sh;if(2===c)l=h(l=f===p?+(s>=f):t(0,e(.5/(f-p)+(s-p)/(f-p),1)));else if(3===c)l=h(l=f===p?s>=f?0:1:1-t(0,e(.5/(f-p)+(s-p)/(f-p),1)));else if(4===c)f===p?l=0:(l=t(0,e(.5/(f-p)+(s-p)/(f-p),1)))<.5?l*=2:l=1-2*(l-.5),l=h(l);else if(5===c){if(f===p)l=0;else{var u=f-p,m=-u/2+(s=e(t(0,s+.5-p),f-p)),d=u/2;l=Math.sqrt(1-m*m/(d*d))}l=h(l)}else 6===c?l=h(l=f===p?0:(1+Math.cos(Math.PI+2*Math.PI*(s=e(t(0,s+.5-p),f-p))/(f-p)))/2):(s>=i(p)&&(l=t(0,e(s-p<0?e(f,1)-(p-s):f-s,1))),l=h(l));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var v=.5-.5*g;l1&&(l=1)}return l*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,i=this.o.v/e,s=this.s.v/e+i,r=this.e.v/e+i;if(s>r){var n=s;s=r,r=n}this.finalS=s,this.finalE=r}},extendPrototype([DynamicPropertyContainer],s),{getTextSelectorProp:function(t,e,i){return new s(t,e,i)}}}();function TextAnimatorDataProperty(t,e,i){var s={propType:!1},r=PropertyFactory.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,degToRads,i):s,rx:n.rx?r(t,n.rx,0,degToRads,i):s,ry:n.ry?r(t,n.ry,0,degToRads,i):s,sk:n.sk?r(t,n.sk,0,degToRads,i):s,sa:n.sa?r(t,n.sa,0,degToRads,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,i=this._textData.a.length,s=PropertyFactory.getProp;for(t=0;t=o+to||!m?(y=(o+to-l)/h.partialLength,z=u.point[0]+(h.point[0]-u.point[0])*y,j=u.point[1]+(h.point[1]-u.point[1])*y,C.translate(-_[0]*S[r].an*.005,-_[1]*O*.01),p=!1):m&&(l+=h.partialLength,(f+=1)>=m.length&&(f=0,d[c+=1]?m=d[c].points:x.v.c?(f=0,m=d[c=0].points):(l-=h.partialLength,m=null)),m&&(u=h,g=(h=m[f]).partialLength));R=S[r].an/2-S[r].add,C.translate(-R,0,0)}else R=S[r].an/2-S[r].add,C.translate(-R,0,0),C.translate(-_[0]*S[r].an*.005,-_[1]*O*.01,0);for(M=0;Mr?this.textSpans[r].span:createNS(h?"g":"text"),g<=r){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[r].span=a,h){var v,y=createNS("g");a.appendChild(y),this.textSpans[r].childSpan=y}this.textSpans[r].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(l.reset(),p&&(o[r].n&&(f=-m,c+=t.yOffset,c+=+!!u,u=!1),this.applyTextPropertiesToMatrix(t,l,o[r].line,f,c),f+=o[r].l||0,f+=m),h){if(1===(d=this.globalData.fontManager.getCharData(t.finalText[r],e.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily)).t)v=new SVGCompElement(d.data,this.globalData,this);else{var b=emptyShapeData;d.data&&d.data.shapes&&(b=this.buildShapeData(d.data,t.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[r].glyph){var x=this.textSpans[r].glyph;this.textSpans[r].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[r].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[r].childSpan.appendChild(v.layerElement),1===d.t&&this.textSpans[r].childSpan.setAttribute("transform","scale("+t.finalSize/100+","+t.finalSize/100+")")}else p&&a.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),a.textContent=o[r].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&a&&a.setAttribute("d","")}else{var _=this.textContainer,k="start";switch(t.j){case 1:k="end";break;case 2:k="middle";break;default:k="start"}_.setAttribute("text-anchor",k),_.setAttribute("letter-spacing",m);var A=this.buildTextContents(t.finalText);for(n=A.length,c=t.ps?t.ps[1]+t.ascent:0,r=0;r=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=r},processSequences:function(t){var e,i=this.sequenceList.length;for(e=0;e=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},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)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0].getContext("2d");this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");if(this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var i=assetLoader.getLumaCanvas(this.canvasContext.canvas);i.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(i,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),this.exitLayer(),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(t,e){var i={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},s={};return("fl"===t.ty||"st"===t.ty?(s.c=PropertyFactory.getProp(this,t.c,1,255,this),s.c.k||(i.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(s.s=PropertyFactory.getProp(this,t.s,1,null,this),s.e=PropertyFactory.getProp(this,t.e,1,null,this),s.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),s.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),s.g=new GradientProperty(this,t.g,this)),s.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty)?(i.lc=lineCapEnum[t.lc||2],i.lj=lineJoinEnum[t.lj||2],1==t.lj&&(i.ml=t.ml),s.w=PropertyFactory.getProp(this,t.w,0,null,this),s.w.k||(i.wi=s.w.v),t.d&&(s.d=new DashProperty(this,t.d,"canvas",this),s.d.k||(i.da=s.d.dashArray,i.do=s.d.dashoffset[0]))):i.r=2===t.r?"evenodd":"nonzero",this.stylesList.push(i),s.style=i,s},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t=0;n-=1){if((h=this.searchProcessedElement(t[n]))?e[n]=i[h-1]:t[n]._shouldRender=s,"fl"===t[n].ty||"st"===t[n].ty||"gf"===t[n].ty||"gs"===t[n].ty)h?e[n].style.closed=!1:e[n]=this.createStyleElement(t[n],m),c.push(e[n].style);else if("gr"===t[n].ty){if(h)for(o=e[n].it.length,a=0;a=0;r-=1)"tr"===e[r].ty?(n=i[r].transform,this.renderShapeTransform(t,n)):"sh"===e[r].ty||"el"===e[r].ty||"rc"===e[r].ty||"sr"===e[r].ty?this.renderPath(e[r],i[r]):"fl"===e[r].ty?this.renderFill(e[r],i[r],n):"st"===e[r].ty?this.renderStroke(e[r],i[r],n):"gf"===e[r].ty||"gs"===e[r].ty?this.renderGradientFill(e[r],i[r],n):"gr"===e[r].ty?this.renderShape(n,e[r].it,i[r].it):e[r].ty;s&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i,s,r,n=t.trNodes,a=e.paths,o=a._length;n.length=0;var h=t.transforms.finalTransform;for(r=0;r=1?f=.99:f<=-1&&(f=-.99);var c=l*f,u=Math.cos(p+e.a.v)*c+o[0],m=Math.sin(p+e.a.v)*c+o[1];s=a.createRadialGradient(u,m,0,o[0],o[1],l)}var d=t.g.p,g=e.g.c,v=1;for(n=0;no&&"xMidYMid slice"===h||ar&&"meet"===o||nr&&"slice"===o)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===l&&(nr&&"slice"===o)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(n>r&&"meet"===o||nr&&"meet"===o||n=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i,s=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var i=this.createItem(this.layers[t],this,this.globalData);e[t]=i,i.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"},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=0;for(e=this._length;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,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 t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var i,s=t.length;for(i=0;i0&&o<1&&f[c].push(this.calculateF(o,t,e,i,s,c)):(h=n*n-4*a*r)>=0&&((l=(-n+bmSqrt(h))/(2*r))>0&&l<1&&f[c].push(this.calculateF(l,t,e,i,s,c)),(p=(-n-bmSqrt(h))/(2*r))>0&&p<1&&f[c].push(this.calculateF(p,t,e,i,s,c))));this.shapeBoundingBox.left=bmMin.apply(null,f[0]),this.shapeBoundingBox.top=bmMin.apply(null,f[1]),this.shapeBoundingBox.right=bmMax.apply(null,f[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,f[1])},HShapeElement.prototype.calculateF=function(t,e,i,s,r,n){return bmPow(1-t,3)*e[n]+3*bmPow(1-t,2)*t*i[n]+3*(1-t)*bmPow(t,2)*s[n]+bmPow(t,3)*r[n]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var i,s=t.length;for(i=0;ii&&(i=r)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=999999,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax=0;t-=1){var s,r,n,a=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-a.p.v[0],-a.p.v[1],a.p.v[2]),this.mat.rotateX(-a.or.v[0]).rotateY(-a.or.v[1]).rotateZ(a.or.v[2]),this.mat.rotateX(-a.rx.v).rotateY(-a.ry.v).rotateZ(a.rz.v),this.mat.scale(1/a.s.v[0],1/a.s.v[1],1/a.s.v[2]),this.mat.translate(a.a.v[0],a.a.v[1],a.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 o=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]],h=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),l=[o[0]/h,o[1]/h,o[2]/h],p=Math.sqrt(l[2]*l[2]+l[0]*l[0]),f=Math.atan2(l[1],p),c=Math.atan2(l[0],-l[2]);this.mat.rotateY(c).rotateX(-f)}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 u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){for(e=this.comp.threeDElements.length,t=0;t=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var i,s,r=createTag("div");styleDiv(r);var n=createTag("div");if(styleDiv(n),"3d"===e){(i=r.style).width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var a="50% 50%";i.webkitTransformOrigin=a,i.mozTransformOrigin=a,i.transformOrigin=a;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(s=n.style).transform=o,s.webkitTransform=o}r.appendChild(n);var h={container:n,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(h),h},HybridRendererBase.prototype.build3dContainers=function(){var t,e,i=this.layers.length,s="";for(t=0;t=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var i=0,s=this.threeDElements.length;ia?(t=r/this.globalData.compSize.w,e=r/this.globalData.compSize.w,i=0,s=(n-this.globalData.compSize.h*(r/this.globalData.compSize.w))/2):(t=n/this.globalData.compSize.h,e=n/this.globalData.compSize.h,i=(r-this.globalData.compSize.w*(n/this.globalData.compSize.h))/2,s=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+s+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,i=this.globalData.compSize.h,s=this.threeDElements.length;for(t=0;t=a;)t/=2,e/=2,i>>>=1;return(t+i)/e};return y.int32=function(){return 0|v.g(4)},y.quick=function(){return v.g(4)/0x100000000},y.double=y,f(c(v.S),t),(u.pass||m||function(t,i,s,r){return r&&(r.S&&l(r,v),t.state=function(){return l(v,{})}),s?(e.random=t,i):t})(y,g,"global"in u?u.global:this==e,u.state)},f(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){return(_typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||e instanceof Number||"boolean"===t||"string"===t}function $bm_neg(t){var e=_typeof$1(t);if("number"===e||t instanceof Number||"boolean"===e)return-t;if($bm_isInstanceOfArray(t)){var i,s=t.length,r=[];for(i=0;ii){var s=i;i=e,e=s}return Math.min(Math.max(t,e),i)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var i,s=Math.min(t.length,e.length),r=0;for(i=0;i.5?l/(2-a-o):l/(a+o),a){case s:e=(r-n)/l+6*(r1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,s,r=t[0],n=t[1],a=t[2];if(0===n)e=a,s=a,i=a;else{var o=a<.5?a*(1+n):a+n-a*n,h=2*a-o;e=hue2rgb(h,o,r+1/3),i=hue2rgb(h,o,r),s=hue2rgb(h,o,r-1/3)}return[e,i,s,t[3]]}function linear(t,e,i,s,r){if(void 0!==s&&void 0!==r||(s=e,r=i,e=0,i=1),i=i)return r;var a,o=i===e?0:(t-e)/(i-e);if(!s.length)return s+(r-s)*o;var h=s.length,l=createTypedArray("float32",h);for(a=0;a1){for(s=0;s1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(r)){var o,h=r.length,l=createTypedArray("float32",h);for(o=0;odata.k[e].t&&tdata.k[e+1].t-t?(i=e+2,s=data.k[e+1].t):(i=e+1,s=data.k[e].t);break}}-1===i&&(i=e+1,s=data.k[e].t)}else i=0,s=0;var n={};return n.index=i,n.time=s/elem.comp.globalData.frameRate,n}function key(t){if(!data.k.length||"number"==typeof data.k[0])throw Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var e,i,s,r=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(s=r.length,i=0;il.length-1)&&(e=l.length-1),s=p-(r=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-r)/s)%2!=0)return this.getValueAtTime((s-(h-r)%s+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(r/this.comp.globalData.frameRate,0),c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0),m=Math.floor((h-r)/s);if(this.pv.length){for(a=(o=Array(f.length)).length,n=0;n=p)return this.pv;if(i?r=p+(s=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>l.length-1)&&(e=l.length-1),s=(r=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/s)%2==0)return this.getValueAtTime(((p-h)%s+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),u=this.getValueAtTime((s-(p-h)%s+p)/this.comp.globalData.frameRate,0),m=Math.floor((p-h)/s)+1;if(this.pv.length){for(a=(o=Array(f.length)).length,n=0;n1?(r+t-n)/(e-1):1,o=0,h=0;for(i=this.pv.length?createTypedArray("float32",this.pv.length):0;oa){var p=o,f=i.c&&o===h-1?0:o+1,c=(a-l)/n[o].addedLength;s=bez.getPointInSegment(i.v[p],i.v[f],i.o[p],i.i[f],c,n[o]);break}l+=n[o].addedLength,o+=1}return s||(s=i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]]),s},vectorOnPath:function(t,e,i){1==t?t=this.v.c:0==t&&(t=.999);var s=this.pointOnPath(t,e),r=this.pointOnPath(t+.001,e),n=r[0]-s[0],a=r[1]-s[1],o=Math.sqrt(Math.pow(n,2)+Math.pow(a,2));return 0===o?[0,0]:"tangent"===i?[n/o,a/o]:[-a/o,n/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],o),extendPrototype([l],h),h.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=l?u<0?s:r:s+c*Math.pow((n-t)/u,1/i),p[f]=a,f+=1,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,i=this.filterManager.effectElements;this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var i=this.filterManager.effectElements[3].p.v,s=(this.filterManager.effectElements[2].p.v-90)*degToRads,r=i*Math.cos(s),n=i*Math.sin(s);this.feOffset.setAttribute("dx",r),this.feOffset.setAttribute("dy",n)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGGaussianBlurEffect(t,e,i,s){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");r.setAttribute("result",s),t.appendChild(r),this.feGaussianBlur=r}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}function CVTransformEffect(t){this.init(t)}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;eI,createStore:()=>S,bindActionCreators:()=>F,combineReducers:()=>E,applyMiddleware:()=>O});let s="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;let n=(s||r||Function("return this")()).Symbol;var a=Object.prototype,o=a.hasOwnProperty,h=a.toString,l=n?n.toStringTag:void 0;let p=function(t){var e=o.call(t,l),i=t[l];try{t[l]=void 0;var s=!0}catch(t){}var r=h.call(t);return s&&(e?t[l]=i:delete t[l]),r};var f=Object.prototype.toString;let c=function(t){return f.call(t)};var u="[object Null]",m="[object Undefined]",d=n?n.toStringTag:void 0;let g=function(t){return null==t?void 0===t?m:u:d&&d in Object(t)?p(t):c(t)},v=function(t,e){return function(i){return t(e(i))}}(Object.getPrototypeOf,Object),y=function(t){return null!=t&&"object"==typeof t};var b="[object Object]",x=Object.prototype,_=Function.prototype.toString,k=x.hasOwnProperty,A=_.call(Object);let C=function(t){if(!y(t)||g(t)!=b)return!1;var e=v(t);if(null===e)return!0;var i=k.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&_.call(i)==A};var P=i(13485),w={INIT:"@@redux/INIT"};function S(t,e,i){if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw Error("Expected the enhancer to be a function.");return i(S)(t,e)}if("function"!=typeof t)throw Error("Expected the reducer to be a function.");var s,r=t,n=e,a=[],o=a,h=!1;function l(){o===a&&(o=a.slice())}function p(){return n}function f(t){if("function"!=typeof t)throw Error("Expected listener to be a function.");var e=!0;return l(),o.push(t),function(){if(e){e=!1,l();var i=o.indexOf(t);o.splice(i,1)}}}function c(t){if(!C(t))throw Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(h)throw Error("Reducers may not dispatch actions.");try{h=!0,n=r(n,t)}finally{h=!1}for(var e=a=o,i=0;in}),t=i.hmd(t);let n=r(s="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i.g?i.g:t)},81185:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.clone=o,e.addLast=p,e.addFirst=f,e.removeLast=c,e.removeFirst=u,e.insert=m,e.removeAt=d,e.replaceAt=g,e.getIn=v,e.set=y,e.setIn=x,e.update=_,e.updateIn=k,e.merge=A,e.mergeDeep=C,e.mergeIn=P,e.omit=w,e.addDefaults=S;var s="INVALID_ARGS";function r(t){throw Error(t)}function n(t){var e=Object.keys(t);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e}var a={}.hasOwnProperty;function o(t){if(Array.isArray(t))return t.slice();for(var e=n(t),i={},s=0;s3?f-3:0),u=3;u=t.length||e<0?t:t.slice(0,e).concat(t.slice(e+1))}function g(t,e,i){if(t[e]===i)return t;for(var s=t.length,r=Array(s),n=0;n6?a-6:0),l=6;l6?a-6:0),l=6;l7?p-7:0),c=7;c=0||(o[p]=t[p])}return o}function S(t,e,i,s,r,n){for(var a=arguments.length,o=Array(a>6?a-6:0),l=6;l