imageFunction.153d0b24.js 316 KB

123456789
  1. import{bb as commonjsGlobal,d as defineComponent,O as ref,Q as computed,Z as watch,P as onMounted,o as openBlock,bg as createElementBlock,bi as normalizeStyle}from"./index.c83496ad.js";var lottie={exports:{}};(function(module,exports){typeof navigator!="undefined"&&function(t,e){module.exports=e()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i=t.length,s;for(r=0;r<i;r+=1){s=t[r].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e.prototype[a]=s[a])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(r,i){var s=0,a=[],n;switch(r){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(s=0;s<i;s+=1)a.push(n);return a}function e(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):t(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var t=["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"],e,r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var r=createSizedArray(t.length),i,s=t.length;for(i=0;i<s;i+=1)r[i]=Math.abs(t[i]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,r){var i,s,a,n,c,m,d,E;switch(n=Math.floor(t*6),c=t*6-n,m=r*(1-e),d=r*(1-c*e),E=r*(1-(1-c)*e),n%6){case 0:i=r,s=E,a=m;break;case 1:i=d,s=r,a=m;break;case 2:i=m,s=r,a=E;break;case 3:i=m,s=d,a=r;break;case 4:i=E,s=m,a=r;break;case 5:i=r,s=m,a=d;break}return[i,s,a]}function RGBtoHSV(t,e,r){var i=Math.max(t,e,r),s=Math.min(t,e,r),a=i-s,n,c=i===0?0:a/i,m=i/255;switch(i){case s:n=0;break;case t:n=e-r+a*(e<r?6:0),n/=6*a;break;case e:n=r-t+a*2,n/=6*a;break;case r:n=t-e+a*4,n/=6*a;break}return[n,c,m]}function addSaturationToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+t[i]+t[s]+t[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,s={onmessage:function(){},postMessage:function(k){r({data:k})}},a={postMessage:function(k){s.onmessage({data:k})}};function n(u){if(window.Worker&&window.Blob&&getWebWorker()){var k=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),x=URL.createObjectURL(k);return new Worker(x)}return r=u,s}function c(){i||(i=n(function(k){function x(){function C(B,M){var T,S,F=B.length,R,V,N,j;for(S=0;S<F;S+=1)if(T=B[S],"ks"in T&&!T.completed){if(T.completed=!0,T.tt&&(B[S-1].td=T.tt),T.hasMask){var W=T.masksProperties;for(V=W.length,R=0;R<V;R+=1)if(W[R].pt.k.i)g(W[R].pt.k);else for(j=W[R].pt.k.length,N=0;N<j;N+=1)W[R].pt.k[N].s&&g(W[R].pt.k[N].s[0]),W[R].pt.k[N].e&&g(W[R].pt.k[N].e[0])}T.ty===0?(T.layers=f(T.refId,M),C(T.layers,M)):T.ty===4?l(T.shapes):T.ty===5&&O(T)}}function o(B,M){if(B){var T=0,S=B.length;for(T=0;T<S;T+=1)B[T].t===1&&(B[T].data.layers=f(B[T].data.refId,M),C(B[T].data.layers,M))}}function p(B,M){for(var T=0,S=M.length;T<S;){if(M[T].id===B)return M[T];T+=1}return null}function f(B,M){var T=p(B,M);return T?T.layers.__used?JSON.parse(JSON.stringify(T.layers)):(T.layers.__used=!0,T.layers):null}function l(B){var M,T=B.length,S,F;for(M=T-1;M>=0;M-=1)if(B[M].ty==="sh")if(B[M].ks.k.i)g(B[M].ks.k);else for(F=B[M].ks.k.length,S=0;S<F;S+=1)B[M].ks.k[S].s&&g(B[M].ks.k[S].s[0]),B[M].ks.k[S].e&&g(B[M].ks.k[S].e[0]);else B[M].ty==="gr"&&l(B[M].it)}function g(B){var M,T=B.i.length;for(M=0;M<T;M+=1)B.i[M][0]+=B.v[M][0],B.i[M][1]+=B.v[M][1],B.o[M][0]+=B.v[M][0],B.o[M][1]+=B.v[M][1]}function b(B,M){var T=M?M.split("."):[100,100,100];return B[0]>T[0]?!0:T[0]>B[0]?!1:B[1]>T[1]?!0:T[1]>B[1]?!1:B[2]>T[2]?!0:T[2]>B[2]?!1:null}var A=function(){var B=[4,4,14];function M(S){var F=S.t.d;S.t.d={k:[{s:F,t:0}]}}function T(S){var F,R=S.length;for(F=0;F<R;F+=1)S[F].ty===5&&M(S[F])}return function(S){if(b(B,S.v)&&(T(S.layers),S.assets)){var F,R=S.assets.length;for(F=0;F<R;F+=1)S.assets[F].layers&&T(S.assets[F].layers)}}}(),P=function(){var B=[4,7,99];return function(M){if(M.chars&&!b(B,M.v)){var T,S=M.chars.length;for(T=0;T<S;T+=1){var F=M.chars[T];F.data&&F.data.shapes&&(l(F.data.shapes),F.data.ip=0,F.data.op=99999,F.data.st=0,F.data.sr=1,F.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}},M.chars[T].t||(F.data.shapes.push({ty:"no"}),F.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"})))}}}}(),I=function(){var B=[5,7,15];function M(S){var F=S.t.p;typeof F.a=="number"&&(F.a={a:0,k:F.a}),typeof F.p=="number"&&(F.p={a:0,k:F.p}),typeof F.r=="number"&&(F.r={a:0,k:F.r})}function T(S){var F,R=S.length;for(F=0;F<R;F+=1)S[F].ty===5&&M(S[F])}return function(S){if(b(B,S.v)&&(T(S.layers),S.assets)){var F,R=S.assets.length;for(F=0;F<R;F+=1)S.assets[F].layers&&T(S.assets[F].layers)}}}(),G=function(){var B=[4,1,9];function M(S){var F,R=S.length,V,N;for(F=0;F<R;F+=1)if(S[F].ty==="gr")M(S[F].it);else if(S[F].ty==="fl"||S[F].ty==="st")if(S[F].c.k&&S[F].c.k[0].i)for(N=S[F].c.k.length,V=0;V<N;V+=1)S[F].c.k[V].s&&(S[F].c.k[V].s[0]/=255,S[F].c.k[V].s[1]/=255,S[F].c.k[V].s[2]/=255,S[F].c.k[V].s[3]/=255),S[F].c.k[V].e&&(S[F].c.k[V].e[0]/=255,S[F].c.k[V].e[1]/=255,S[F].c.k[V].e[2]/=255,S[F].c.k[V].e[3]/=255);else S[F].c.k[0]/=255,S[F].c.k[1]/=255,S[F].c.k[2]/=255,S[F].c.k[3]/=255}function T(S){var F,R=S.length;for(F=0;F<R;F+=1)S[F].ty===4&&M(S[F].shapes)}return function(S){if(b(B,S.v)&&(T(S.layers),S.assets)){var F,R=S.assets.length;for(F=0;F<R;F+=1)S.assets[F].layers&&T(S.assets[F].layers)}}}(),L=function(){var B=[4,4,18];function M(S){var F,R=S.length,V,N;for(F=R-1;F>=0;F-=1)if(S[F].ty==="sh")if(S[F].ks.k.i)S[F].ks.k.c=S[F].closed;else for(N=S[F].ks.k.length,V=0;V<N;V+=1)S[F].ks.k[V].s&&(S[F].ks.k[V].s[0].c=S[F].closed),S[F].ks.k[V].e&&(S[F].ks.k[V].e[0].c=S[F].closed);else S[F].ty==="gr"&&M(S[F].it)}function T(S){var F,R,V=S.length,N,j,W,Y;for(R=0;R<V;R+=1){if(F=S[R],F.hasMask){var q=F.masksProperties;for(j=q.length,N=0;N<j;N+=1)if(q[N].pt.k.i)q[N].pt.k.c=q[N].cl;else for(Y=q[N].pt.k.length,W=0;W<Y;W+=1)q[N].pt.k[W].s&&(q[N].pt.k[W].s[0].c=q[N].cl),q[N].pt.k[W].e&&(q[N].pt.k[W].e[0].c=q[N].cl)}F.ty===4&&M(F.shapes)}}return function(S){if(b(B,S.v)&&(T(S.layers),S.assets)){var F,R=S.assets.length;for(F=0;F<R;F+=1)S.assets[F].layers&&T(S.assets[F].layers)}}}();function D(B){B.__complete||(G(B),A(B),P(B),I(B),L(B),C(B.layers,B.assets),o(B.chars,B.assets),B.__complete=!0)}function O(B){B.t.a.length===0&&"m"in B.t.p}var z={};return z.completeData=D,z.checkColors=G,z.checkChars=P,z.checkPathProperties=I,z.checkShapes=L,z.completeLayers=C,z}if(a.dataManager||(a.dataManager=x()),a.assetLoader||(a.assetLoader=function(){function C(p){var f=p.getResponseHeader("content-type");return f&&p.responseType==="json"&&f.indexOf("json")!==-1||p.response&&_typeof$5(p.response)==="object"?p.response:p.response&&typeof p.response=="string"?JSON.parse(p.response):p.responseText?JSON.parse(p.responseText):null}function o(p,f,l,g){var b,A=new XMLHttpRequest;try{A.responseType="json"}catch{}A.onreadystatechange=function(){if(A.readyState===4)if(A.status===200)b=C(A),l(b);else try{b=C(A),l(b)}catch(P){g&&g(P)}};try{A.open("GET",p,!0)}catch{A.open("GET",f+"/"+p,!0)}A.send()}return{load:o}}()),k.data.type==="loadAnimation")a.assetLoader.load(k.data.path,k.data.fullPath,function(C){a.dataManager.completeData(C),a.postMessage({id:k.data.id,payload:C,status:"success"})},function(){a.postMessage({id:k.data.id,status:"error"})});else if(k.data.type==="complete"){var y=k.data.animation;a.dataManager.completeData(y),a.postMessage({id:k.data.id,payload:y,status:"success"})}else k.data.type==="loadData"&&a.assetLoader.load(k.data.path,k.data.fullPath,function(C){a.postMessage({id:k.data.id,payload:C,status:"success"})},function(){a.postMessage({id:k.data.id,status:"error"})})}),i.onmessage=function(u){var k=u.data,x=k.id,y=e[x];e[x]=null,k.status==="success"?y.onComplete(k.payload):y.onError&&y.onError()})}function m(u,k){t+=1;var x="processId_"+t;return e[x]={onComplete:u,onError:k},x}function d(u,k,x){c();var y=m(k,x);i.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:y})}function E(u,k,x){c();var y=m(k,x);i.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:y})}function _(u,k,x){c();var y=m(k,x);i.postMessage({type:"complete",animation:u,id:y})}return{loadAnimation:d,loadData:E,completeAnimation:_}}(),ImagePreloader=function(){var t=function(){var o=createTag("canvas");o.width=1,o.height=1;var p=o.getContext("2d");return p.fillStyle="rgba(0,0,0,0)",p.fillRect(0,0,1,1),o}();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(o,p,f){var l="";if(o.e)l=o.p;else if(p){var g=o.p;g.indexOf("images/")!==-1&&(g=g.split("/")[1]),l=p+g}else l=f,l+=o.u?o.u:"",l+=o.p;return l}function s(o){var p=0,f=setInterval(function(){var l=o.getBBox();(l.width||p>500)&&(this._imageLoaded(),clearInterval(f)),p+=1}.bind(this),50)}function a(o){var p=i(o,this.assetsPath,this.path),f=createNS("image");isSafari?this.testImageLoaded(f):f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",function(){l.img=t,this._imageLoaded()}.bind(this),!1),f.setAttributeNS("http://www.w3.org/1999/xlink","href",p),this._elementHelper.append?this._elementHelper.append(f):this._elementHelper.appendChild(f);var l={img:f,assetData:o};return l}function n(o){var p=i(o,this.assetsPath,this.path),f=createTag("img");f.crossOrigin="anonymous",f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",function(){l.img=t,this._imageLoaded()}.bind(this),!1),f.src=p;var l={img:f,assetData:o};return l}function c(o){var p={assetData:o},f=i(o,this.assetsPath,this.path);return dataManager.loadData(f,function(l){p.img=l,this._footageLoaded()}.bind(this),function(){p.img={},this._footageLoaded()}.bind(this)),p}function m(o,p){this.imagesLoadedCb=p;var f,l=o.length;for(f=0;f<l;f+=1)o[f].layers||(!o[f].t||o[f].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(o[f]))):o[f].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(o[f]))))}function d(o){this.path=o||""}function E(o){this.assetsPath=o||""}function _(o){for(var p=0,f=this.images.length;p<f;){if(this.images[p].assetData===o)return this.images[p].img;p+=1}return null}function u(){this.imagesLoadedCb=null,this.images.length=0}function k(){return this.totalImages===this.loadedAssets}function x(){return this.totalFootages===this.loadedFootagesCount}function y(o,p){o==="svg"?(this._elementHelper=p,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=c.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:m,setAssetsPath:E,setPath:d,loadedImages:k,loadedFootages:x,destroy:u,getAsset:_,createImgData:n,createImageData:a,imageLoaded:e,footageLoaded:r,setCacheType:y},C}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,r){if(this._cbs[e])for(var i=this._cbs[e],s=0;s<i.length;s+=1)i[s](r)},addEventListener:function(e,r){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(r),function(){this.removeEventListener(e,r)}.bind(this)},removeEventListener:function(e,r){if(!r)this._cbs[e]=null;else if(this._cbs[e]){for(var i=0,s=this._cbs[e].length;i<s;)this._cbs[e][i]===r&&(this._cbs[e].splice(i,1),i-=1,s-=1),i+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var markerParser=function(){function t(e){for(var r=e.split(`\r
  2. `),i={},s,a=0,n=0;n<r.length;n+=1)s=r[n].split(":"),s.length===2&&(i[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var s=e[i],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(e[i].cm)}catch{try{a.payload=t(e[i].cm)}catch{a.payload={name:e[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(r){for(var i=0,s=this.compositions.length;i<s;){if(this.compositions[i].data&&this.compositions[i].data.nm===r)return this.compositions[i].prepareFrame&&this.compositions[i].data.xt&&this.compositions[i].prepareFrame(this.currentFrame),this.compositions[i].compInterface;i+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(e,r){renderers[e]=r};function getRenderer(t){return renderers[t]}function _typeof$4(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(r){return typeof r}:_typeof$4=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$4(t)}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(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";s==="false"?r.loop=!1:s==="true"?r.loop=!0:s!==""&&(r.loop=parseInt(s,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=a!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var n=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";n==="false"&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,i=e.length,s=t.layers,a,n=s.length;for(a=0;a<n;a+=1)for(r=0;r<i;){if(e[r].id===s[a].id){e[r]=s[a];break}r+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(t.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(!!this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){!this.renderer||(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?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,r=0;r<this.markers.length;r+=1)if(e=this.markers[r],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!(r&&this.name!==r)){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&this.goToAndStop(s.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!(r&&this.name!==r)){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):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):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{var i=this.renderer.getElementByPath(t);i.updateDocumentData(e,r)}catch{}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,i=0,s=0,a=!0,n=!1;function c(M){for(var T=0,S=M.target;T<i;)e[T].animation===S&&(e.splice(T,1),T-=1,i-=1,S.isPaused||_()),T+=1}function m(M,T){if(!M)return null;for(var S=0;S<i;){if(e[S].elem===M&&e[S].elem!==null)return e[S].animation;S+=1}var F=new AnimationItem;return u(F,M),F.setData(M,T),F}function d(){var M,T=e.length,S=[];for(M=0;M<T;M+=1)S.push(e[M].animation);return S}function E(){s+=1,G()}function _(){s-=1}function u(M,T){M.addEventListener("destroy",c),M.addEventListener("_active",E),M.addEventListener("_idle",_),e.push({elem:T,animation:M}),i+=1}function k(M){var T=new AnimationItem;return u(T,null),T.setParams(M),T}function x(M,T){var S;for(S=0;S<i;S+=1)e[S].animation.setSpeed(M,T)}function y(M,T){var S;for(S=0;S<i;S+=1)e[S].animation.setDirection(M,T)}function C(M){var T;for(T=0;T<i;T+=1)e[T].animation.play(M)}function o(M){var T=M-r,S;for(S=0;S<i;S+=1)e[S].animation.advanceTime(T);r=M,s&&!n?window.requestAnimationFrame(o):a=!0}function p(M){r=M,window.requestAnimationFrame(o)}function f(M){var T;for(T=0;T<i;T+=1)e[T].animation.pause(M)}function l(M,T,S){var F;for(F=0;F<i;F+=1)e[F].animation.goToAndStop(M,T,S)}function g(M){var T;for(T=0;T<i;T+=1)e[T].animation.stop(M)}function b(M){var T;for(T=0;T<i;T+=1)e[T].animation.togglePause(M)}function A(M){var T;for(T=i-1;T>=0;T-=1)e[T].animation.destroy(M)}function P(M,T,S){var F=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),R,V=F.length;for(R=0;R<V;R+=1)S&&F[R].setAttribute("data-bm-type",S),m(F[R],M);if(T&&V===0){S||(S="svg");var N=document.getElementsByTagName("body")[0];N.innerText="";var j=createTag("div");j.style.width="100%",j.style.height="100%",j.setAttribute("data-bm-type",S),N.appendChild(j),m(j,M)}}function I(){var M;for(M=0;M<i;M+=1)e[M].animation.resize()}function G(){!n&&s&&a&&(window.requestAnimationFrame(p),a=!1)}function L(){n=!0}function D(){n=!1,G()}function O(M,T){var S;for(S=0;S<i;S+=1)e[S].animation.setVolume(M,T)}function z(M){var T;for(T=0;T<i;T+=1)e[T].animation.mute(M)}function B(M){var T;for(T=0;T<i;T+=1)e[T].animation.unmute(M)}return t.registerAnimation=m,t.loadAnimation=k,t.setSpeed=x,t.setDirection=y,t.play=C,t.pause=f,t.stop=g,t.togglePause=b,t.searchAnimations=P,t.resize=I,t.goToAndStop=l,t.destroy=A,t.freeze=L,t.unfreeze=D,t.setVolume=O,t.mute=z,t.unmute=B,t.getRegisteredAnimations=d,t}(),BezierFactory=function(){var t={};t.getBezierEasing=r;var e={};function r(p,f,l,g,b){var A=b||("bez_"+p+"_"+f+"_"+l+"_"+g).replace(/\./g,"p");if(e[A])return e[A];var P=new o([p,f,l,g]);return e[A]=P,P}var i=4,s=.001,a=1e-7,n=10,c=11,m=1/(c-1),d=typeof Float32Array=="function";function E(p,f){return 1-3*f+3*p}function _(p,f){return 3*f-6*p}function u(p){return 3*p}function k(p,f,l){return((E(f,l)*p+_(f,l))*p+u(f))*p}function x(p,f,l){return 3*E(f,l)*p*p+2*_(f,l)*p+u(f)}function y(p,f,l,g,b){var A,P,I=0;do P=f+(l-f)/2,A=k(P,g,b)-p,A>0?l=P:f=P;while(Math.abs(A)>a&&++I<n);return P}function C(p,f,l,g){for(var b=0;b<i;++b){var A=x(f,l,g);if(A===0)return f;var P=k(f,l,g)-p;f-=P/A}return f}function o(p){this._p=p,this._mSampleValues=d?new Float32Array(c):new Array(c),this._precomputed=!1,this.get=this.get.bind(this)}return o.prototype={get:function(f){var l=this._p[0],g=this._p[1],b=this._p[2],A=this._p[3];return this._precomputed||this._precompute(),l===g&&b===A?f:f===0?0:f===1?1:k(this._getTForX(f),g,A)},_precompute:function(){var f=this._p[0],l=this._p[1],g=this._p[2],b=this._p[3];this._precomputed=!0,(f!==l||g!==b)&&this._calcSampleValues()},_calcSampleValues:function(){for(var f=this._p[0],l=this._p[2],g=0;g<c;++g)this._mSampleValues[g]=k(g*m,f,l)},_getTForX:function(f){for(var l=this._p[0],g=this._p[2],b=this._mSampleValues,A=0,P=1,I=c-1;P!==I&&b[P]<=f;++P)A+=m;--P;var G=(f-b[P])/(b[P+1]-b[P]),L=A+G*m,D=x(L,l,g);return D>=s?C(f,L,l,g):D===0?L:y(f,A,A+m,l,g)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var i=0,s=t,a=createSizedArray(s),n={newElement:c,release:m};function c(){var d;return i?(i-=1,d=a[i]):d=e(),d}function m(d){i===s&&(a=pooling.double(a),s*=2),r&&r(d),a[i]=d,i+=1}return n}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var i,s=r.lengths.length;for(i=0;i<s;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(u,k,x,y,C,o){var p=u*y+k*C+x*o-C*y-o*u-x*k;return p>-.001&&p<.001}function r(u,k,x,y,C,o,p,f,l){if(x===0&&o===0&&l===0)return e(u,k,y,C,p,f);var g=t.sqrt(t.pow(y-u,2)+t.pow(C-k,2)+t.pow(o-x,2)),b=t.sqrt(t.pow(p-u,2)+t.pow(f-k,2)+t.pow(l-x,2)),A=t.sqrt(t.pow(p-y,2)+t.pow(f-C,2)+t.pow(l-o,2)),P;return g>b?g>A?P=g-b-A:P=A-b-g:A>b?P=A-b-g:P=b-g-A,P>-1e-4&&P<1e-4}var i=function(){return function(u,k,x,y){var C=getDefaultCurveSegments(),o,p,f,l,g,b=0,A,P=[],I=[],G=bezierLengthPool.newElement();for(f=x.length,o=0;o<C;o+=1){for(g=o/(C-1),A=0,p=0;p<f;p+=1)l=bmPow(1-g,3)*u[p]+3*bmPow(1-g,2)*g*x[p]+3*(1-g)*bmPow(g,2)*y[p]+bmPow(g,3)*k[p],P[p]=l,I[p]!==null&&(A+=bmPow(P[p]-I[p],2)),I[p]=P[p];A&&(A=bmSqrt(A),b+=A),G.percents[o]=g,G.lengths[o]=b}return G.addedLength=b,G}}();function s(u){var k=segmentsLengthPool.newElement(),x=u.c,y=u.v,C=u.o,o=u.i,p,f=u._length,l=k.lengths,g=0;for(p=0;p<f-1;p+=1)l[p]=i(y[p],y[p+1],C[p],o[p+1]),g+=l[p].addedLength;return x&&f&&(l[p]=i(y[p],y[0],C[p],o[0]),g+=l[p].addedLength),k.totalLength=g,k}function a(u){this.segmentLength=0,this.points=new Array(u)}function n(u,k){this.partialLength=u,this.point=k}var c=function(){var u={};return function(k,x,y,C){var o=(k[0]+"_"+k[1]+"_"+x[0]+"_"+x[1]+"_"+y[0]+"_"+y[1]+"_"+C[0]+"_"+C[1]).replace(/\./g,"p");if(!u[o]){var p=getDefaultCurveSegments(),f,l,g,b,A,P=0,I,G,L=null;k.length===2&&(k[0]!==x[0]||k[1]!==x[1])&&e(k[0],k[1],x[0],x[1],k[0]+y[0],k[1]+y[1])&&e(k[0],k[1],x[0],x[1],x[0]+C[0],x[1]+C[1])&&(p=2);var D=new a(p);for(g=y.length,f=0;f<p;f+=1){for(G=createSizedArray(g),A=f/(p-1),I=0,l=0;l<g;l+=1)b=bmPow(1-A,3)*k[l]+3*bmPow(1-A,2)*A*(k[l]+y[l])+3*(1-A)*bmPow(A,2)*(x[l]+C[l])+bmPow(A,3)*x[l],G[l]=b,L!==null&&(I+=bmPow(G[l]-L[l],2));I=bmSqrt(I),P+=I,D.points[f]=new n(I,G),L=G}D.segmentLength=P,u[o]=D}return u[o]}}();function m(u,k){var x=k.percents,y=k.lengths,C=x.length,o=bmFloor((C-1)*u),p=u*k.addedLength,f=0;if(o===C-1||o===0||p===y[o])return x[o];for(var l=y[o]>p?-1:1,g=!0;g;)if(y[o]<=p&&y[o+1]>p?(f=(p-y[o])/(y[o+1]-y[o]),g=!1):o+=l,o<0||o>=C-1){if(o===C-1)return x[o];g=!1}return x[o]+(x[o+1]-x[o])*f}function d(u,k,x,y,C,o){var p=m(C,o),f=1-p,l=t.round((f*f*f*u[0]+(p*f*f+f*p*f+f*f*p)*x[0]+(p*p*f+f*p*p+p*f*p)*y[0]+p*p*p*k[0])*1e3)/1e3,g=t.round((f*f*f*u[1]+(p*f*f+f*p*f+f*f*p)*x[1]+(p*p*f+f*p*p+p*f*p)*y[1]+p*p*p*k[1])*1e3)/1e3;return[l,g]}var E=createTypedArray("float32",8);function _(u,k,x,y,C,o,p){C<0?C=0:C>1&&(C=1);var f=m(C,p);o=o>1?1:o;var l=m(o,p),g,b=u.length,A=1-f,P=1-l,I=A*A*A,G=f*A*A*3,L=f*f*A*3,D=f*f*f,O=A*A*P,z=f*A*P+A*f*P+A*A*l,B=f*f*P+A*f*l+f*A*l,M=f*f*l,T=A*P*P,S=f*P*P+A*l*P+A*P*l,F=f*l*P+A*l*l+f*P*l,R=f*l*l,V=P*P*P,N=l*P*P+P*l*P+P*P*l,j=l*l*P+P*l*l+l*P*l,W=l*l*l;for(g=0;g<b;g+=1)E[g*4]=t.round((I*u[g]+G*x[g]+L*y[g]+D*k[g])*1e3)/1e3,E[g*4+1]=t.round((O*u[g]+z*x[g]+B*y[g]+M*k[g])*1e3)/1e3,E[g*4+2]=t.round((T*u[g]+S*x[g]+F*y[g]+R*k[g])*1e3)/1e3,E[g*4+3]=t.round((V*u[g]+N*x[g]+j*y[g]+W*k[g])*1e3)/1e3;return E}return{getSegmentsLength:s,getNewSegment:_,getPointInSegment:d,buildBezierData:c,pointOnLine2D:e,pointOnLine3D:r}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(C,o){var p=this.offsetTime,f;this.propType==="multidimensional"&&(f=createTypedArray("float32",this.pv.length));for(var l=o.lastIndex,g=l,b=this.keyframes.length-1,A=!0,P,I,G;A;){if(P=this.keyframes[g],I=this.keyframes[g+1],g===b-1&&C>=I.t-p){P.h&&(P=I),l=0;break}if(I.t-p>C){l=g;break}g<b-1?g+=1:(l=0,A=!1)}G=this.keyframesMetadata[g]||{};var L,D,O,z,B,M,T=I.t-p,S=P.t-p,F;if(P.to){G.bezierData||(G.bezierData=bez.buildBezierData(P.s,I.s||P.e,P.to,P.ti));var R=G.bezierData;if(C>=T||C<S){var V=C>=T?R.points.length-1:0;for(D=R.points[V].point.length,L=0;L<D;L+=1)f[L]=R.points[V].point[L]}else{G.__fnct?M=G.__fnct:(M=BezierFactory.getBezierEasing(P.o.x,P.o.y,P.i.x,P.i.y,P.n).get,G.__fnct=M),O=M((C-S)/(T-S));var N=R.segmentLength*O,j,W=o.lastFrame<C&&o._lastKeyframeIndex===g?o._lastAddedLength:0;for(B=o.lastFrame<C&&o._lastKeyframeIndex===g?o._lastPoint:0,A=!0,z=R.points.length;A;){if(W+=R.points[B].partialLength,N===0||O===0||B===R.points.length-1){for(D=R.points[B].point.length,L=0;L<D;L+=1)f[L]=R.points[B].point[L];break}else if(N>=W&&N<W+R.points[B+1].partialLength){for(j=(N-W)/R.points[B+1].partialLength,D=R.points[B].point.length,L=0;L<D;L+=1)f[L]=R.points[B].point[L]+(R.points[B+1].point[L]-R.points[B].point[L])*j;break}B<z-1?B+=1:A=!1}o._lastPoint=B,o._lastAddedLength=W-R.points[B].partialLength,o._lastKeyframeIndex=g}}else{var Y,q,Z,K,$;if(b=P.s.length,F=I.s||P.e,this.sh&&P.h!==1)if(C>=T)f[0]=F[0],f[1]=F[1],f[2]=F[2];else if(C<=S)f[0]=P.s[0],f[1]=P.s[1],f[2]=P.s[2];else{var U=a(P.s),Q=a(F),J=(C-S)/(T-S);s(f,i(U,Q,J))}else for(g=0;g<b;g+=1)P.h!==1&&(C>=T?O=1:C<S?O=0:(P.o.x.constructor===Array?(G.__fnct||(G.__fnct=[]),G.__fnct[g]?M=G.__fnct[g]:(Y=P.o.x[g]===void 0?P.o.x[0]:P.o.x[g],q=P.o.y[g]===void 0?P.o.y[0]:P.o.y[g],Z=P.i.x[g]===void 0?P.i.x[0]:P.i.x[g],K=P.i.y[g]===void 0?P.i.y[0]:P.i.y[g],M=BezierFactory.getBezierEasing(Y,q,Z,K).get,G.__fnct[g]=M)):G.__fnct?M=G.__fnct:(Y=P.o.x,q=P.o.y,Z=P.i.x,K=P.i.y,M=BezierFactory.getBezierEasing(Y,q,Z,K).get,P.keyframeMetadata=M),O=M((C-S)/(T-S)))),F=I.s||P.e,$=P.h===1?P.s[g]:P.s[g]+(F[g]-P.s[g])*O,this.propType==="multidimensional"?f[g]=$:f=$}return o.lastIndex=l,f}function i(C,o,p){var f=[],l=C[0],g=C[1],b=C[2],A=C[3],P=o[0],I=o[1],G=o[2],L=o[3],D,O,z,B,M;return O=l*P+g*I+b*G+A*L,O<0&&(O=-O,P=-P,I=-I,G=-G,L=-L),1-O>1e-6?(D=Math.acos(O),z=Math.sin(D),B=Math.sin((1-p)*D)/z,M=Math.sin(p*D)/z):(B=1-p,M=p),f[0]=B*l+M*P,f[1]=B*g+M*I,f[2]=B*b+M*G,f[3]=B*A+M*L,f}function s(C,o){var p=o[0],f=o[1],l=o[2],g=o[3],b=Math.atan2(2*f*g-2*p*l,1-2*f*f-2*l*l),A=Math.asin(2*p*f+2*l*g),P=Math.atan2(2*p*g-2*f*l,1-2*p*p-2*l*l);C[0]=b/degToRads,C[1]=A/degToRads,C[2]=P/degToRads}function a(C){var o=C[0]*degToRads,p=C[1]*degToRads,f=C[2]*degToRads,l=Math.cos(o/2),g=Math.cos(p/2),b=Math.cos(f/2),A=Math.sin(o/2),P=Math.sin(p/2),I=Math.sin(f/2),G=l*g*b-A*P*I,L=A*P*b+l*g*I,D=A*g*b+l*P*I,O=l*P*b-A*g*I;return[L,D,O,G]}function n(){var C=this.comp.renderedFrame-this.offsetTime,o=this.keyframes[0].t-this.offsetTime,p=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(C===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=p&&C>=p||this._caching.lastFrame<o&&C<o))){this._caching.lastFrame>=C&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var f=this.interpolateValue(C,this._caching);this.pv=f}return this._caching.lastFrame=C,this.pv}function c(C){var o;if(this.propType==="unidimensional")o=C*this.mult,e(this.v-o)>1e-5&&(this.v=o,this._mdf=!0);else for(var p=0,f=this.v.length;p<f;)o=C[p]*this.mult,e(this.v[p]-o)>1e-5&&(this.v[p]=o,this._mdf=!0),p+=1}function m(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var C,o=this.effectsSequence.length,p=this.kf?this.pv:this.data.k;for(C=0;C<o;C+=1)p=this.effectsSequence[C](p);this.setVValue(p),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function d(C){this.effectsSequence.push(C),this.container.addDynamicProperty(this)}function E(C,o,p,f){this.propType="unidimensional",this.mult=p||1,this.data=o,this.v=p?o.k*p:o.k,this.pv=o.k,this._mdf=!1,this.elem=C,this.container=f,this.comp=C.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=m,this.setVValue=c,this.addEffect=d}function _(C,o,p,f){this.propType="multidimensional",this.mult=p||1,this.data=o,this._mdf=!1,this.elem=C,this.container=f,this.comp=C.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l,g=o.k.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),this.vel=createTypedArray("float32",g),l=0;l<g;l+=1)this.v[l]=o.k[l]*this.mult,this.pv[l]=o.k[l];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=m,this.setVValue=c,this.addEffect=d}function u(C,o,p,f){this.propType="unidimensional",this.keyframes=o.k,this.keyframesMetadata=[],this.offsetTime=C.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=o,this.mult=p||1,this.elem=C,this.container=f,this.comp=C.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=m,this.setVValue=c,this.interpolateValue=r,this.effectsSequence=[n.bind(this)],this.addEffect=d}function k(C,o,p,f){this.propType="multidimensional";var l,g=o.k.length,b,A,P,I;for(l=0;l<g-1;l+=1)o.k[l].to&&o.k[l].s&&o.k[l+1]&&o.k[l+1].s&&(b=o.k[l].s,A=o.k[l+1].s,P=o.k[l].to,I=o.k[l].ti,(b.length===2&&!(b[0]===A[0]&&b[1]===A[1])&&bez.pointOnLine2D(b[0],b[1],A[0],A[1],b[0]+P[0],b[1]+P[1])&&bez.pointOnLine2D(b[0],b[1],A[0],A[1],A[0]+I[0],A[1]+I[1])||b.length===3&&!(b[0]===A[0]&&b[1]===A[1]&&b[2]===A[2])&&bez.pointOnLine3D(b[0],b[1],b[2],A[0],A[1],A[2],b[0]+P[0],b[1]+P[1],b[2]+P[2])&&bez.pointOnLine3D(b[0],b[1],b[2],A[0],A[1],A[2],A[0]+I[0],A[1]+I[1],A[2]+I[2]))&&(o.k[l].to=null,o.k[l].ti=null),b[0]===A[0]&&b[1]===A[1]&&P[0]===0&&P[1]===0&&I[0]===0&&I[1]===0&&(b.length===2||b[2]===A[2]&&P[2]===0&&I[2]===0)&&(o.k[l].to=null,o.k[l].ti=null));this.effectsSequence=[n.bind(this)],this.data=o,this.keyframes=o.k,this.keyframesMetadata=[],this.offsetTime=C.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=p||1,this.elem=C,this.container=f,this.comp=C.comp,this.getValue=m,this.setVValue=c,this.interpolateValue=r,this.frameId=-1;var G=o.k[0].s.length;for(this.v=createTypedArray("float32",G),this.pv=createTypedArray("float32",G),l=0;l<G;l+=1)this.v[l]=t,this.pv[l]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",G)},this.addEffect=d}function x(C,o,p,f,l){var g;if(!o.k.length)g=new E(C,o,f,l);else if(typeof o.k[0]=="number")g=new _(C,o,f,l);else switch(p){case 0:g=new u(C,o,f,l);break;case 1:g=new k(C,o,f,l);break}return g.effectsSequence.length&&l.addDynamicProperty(g),g}var y={getProp:x};return y}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,r=this.dynamicProperties.length;for(e=0;e<r;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,s){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,c){this.setXYAt(t,e,"v",n,c),this.setXYAt(r,i,"o",n,c),this.setXYAt(s,a,"i",n,c)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a=this._length-1,n=this._length,c;for(c=s;c<n;c+=1)t.setTripleAt(e[a][0],e[a][1],i[a][0],i[a][1],r[a][0],r[a][1],c,!1),a-=1;return t};var shapePool=function(){function t(){return new ShapePath}function e(s){var a=s._length,n;for(n=0;n<a;n+=1)pointPool.release(s.v[n]),pointPool.release(s.i[n]),pointPool.release(s.o[n]),s.v[n]=null,s.i[n]=null,s.o[n]=null;s._length=0,s.c=!1}function r(s){var a=i.newElement(),n,c=s._length===void 0?s.v.length:s._length;for(a.setLength(c),a.c=s.c,n=0;n<c;n+=1)a.setTripleAt(s.v[n][0],s.v[n][1],s.o[n][0],s.o[n][1],s.i[n][0],s.i[n][1],n);return a}var i=poolFactory(4,t,e);return i.clone=r,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:s,release:a},e=0,r=4,i=createSizedArray(r);function s(){var n;return e?(e-=1,n=i[e]):n=new ShapeCollection,n}function a(n){var c,m=n._length;for(c=0;c<m;c+=1)shapePool.release(n.shapes[c]);n._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=n,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(o,p,f){var l=f.lastIndex,g,b,A,P,I,G,L,D,O,z=this.keyframes;if(o<z[0].t-this.offsetTime)g=z[0].s[0],A=!0,l=0;else if(o>=z[z.length-1].t-this.offsetTime)g=z[z.length-1].s?z[z.length-1].s[0]:z[z.length-2].e[0],A=!0;else{for(var B=l,M=z.length-1,T=!0,S,F,R;T&&(S=z[B],F=z[B+1],!(F.t-this.offsetTime>o));)B<M-1?B+=1:T=!1;if(R=this.keyframesMetadata[B]||{},A=S.h===1,l=B,!A){if(o>=F.t-this.offsetTime)D=1;else if(o<S.t-this.offsetTime)D=0;else{var V;R.__fnct?V=R.__fnct:(V=BezierFactory.getBezierEasing(S.o.x,S.o.y,S.i.x,S.i.y).get,R.__fnct=V),D=V((o-(S.t-this.offsetTime))/(F.t-this.offsetTime-(S.t-this.offsetTime)))}b=F.s?F.s[0]:S.e[0]}g=S.s[0]}for(G=p._length,L=g.i[0].length,f.lastIndex=l,P=0;P<G;P+=1)for(I=0;I<L;I+=1)O=A?g.i[P][I]:g.i[P][I]+(b.i[P][I]-g.i[P][I])*D,p.i[P][I]=O,O=A?g.o[P][I]:g.o[P][I]+(b.o[P][I]-g.o[P][I])*D,p.o[P][I]=O,O=A?g.v[P][I]:g.v[P][I]+(b.v[P][I]-g.v[P][I])*D,p.v[P][I]=O}function r(){var o=this.comp.renderedFrame-this.offsetTime,p=this.keyframes[0].t-this.offsetTime,f=this.keyframes[this.keyframes.length-1].t-this.offsetTime,l=this._caching.lastFrame;return l!==t&&(l<p&&o<p||l>f&&o>f)||(this._caching.lastIndex=l<o?this._caching.lastIndex:0,this.interpolateShape(o,this.pv,this._caching)),this._caching.lastFrame=o,this.pv}function i(){this.paths=this.localShapeCollection}function s(o,p){if(o._length!==p._length||o.c!==p.c)return!1;var f,l=o._length;for(f=0;f<l;f+=1)if(o.v[f][0]!==p.v[f][0]||o.v[f][1]!==p.v[f][1]||o.o[f][0]!==p.o[f][0]||o.o[f][1]!==p.o[f][1]||o.i[f][0]!==p.i[f][0]||o.i[f][1]!==p.i[f][1])return!1;return!0}function a(o){s(this.v,o)||(this.v=shapePool.clone(o),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function n(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var o;this.kf?o=this.pv:this.data.ks?o=this.data.ks.k:o=this.data.pt.k;var p,f=this.effectsSequence.length;for(p=0;p<f;p+=1)o=this.effectsSequence[p](o);this.setVValue(o),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function c(o,p,f){this.propType="shape",this.comp=o.comp,this.container=o,this.elem=o,this.data=p,this.k=!1,this.kf=!1,this._mdf=!1;var l=f===3?p.pt.k:p.ks.k;this.v=shapePool.clone(l),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 m(o){this.effectsSequence.push(o),this.container.addDynamicProperty(this)}c.prototype.interpolateShape=e,c.prototype.getValue=n,c.prototype.setVValue=a,c.prototype.addEffect=m;function d(o,p,f){this.propType="shape",this.comp=o.comp,this.elem=o,this.container=o,this.offsetTime=o.data.st,this.keyframes=f===3?p.pt.k:p.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var l=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,l),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}d.prototype.getValue=n,d.prototype.interpolateShape=e,d.prototype.setVValue=a,d.prototype.addEffect=m;var E=function(){var o=roundCorner;function p(f,l){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=l.d,this.elem=f,this.comp=f.comp,this.frameId=-1,this.initDynamicPropertyContainer(f),this.p=PropertyFactory.getProp(f,l.p,1,0,this),this.s=PropertyFactory.getProp(f,l.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return p.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 l=this.p.v[0],g=this.p.v[1],b=this.s.v[0]/2,A=this.s.v[1]/2,P=this.d!==3,I=this.v;I.v[0][0]=l,I.v[0][1]=g-A,I.v[1][0]=P?l+b:l-b,I.v[1][1]=g,I.v[2][0]=l,I.v[2][1]=g+A,I.v[3][0]=P?l-b:l+b,I.v[3][1]=g,I.i[0][0]=P?l-b*o:l+b*o,I.i[0][1]=g-A,I.i[1][0]=P?l+b:l-b,I.i[1][1]=g-A*o,I.i[2][0]=P?l+b*o:l-b*o,I.i[2][1]=g+A,I.i[3][0]=P?l-b:l+b,I.i[3][1]=g+A*o,I.o[0][0]=P?l+b*o:l-b*o,I.o[0][1]=g-A,I.o[1][0]=P?l+b:l-b,I.o[1][1]=g+A*o,I.o[2][0]=P?l-b*o:l+b*o,I.o[2][1]=g+A,I.o[3][0]=P?l-b:l+b,I.o[3][1]=g-A*o}},extendPrototype([DynamicPropertyContainer],p),p}(),_=function(){function o(p,f){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=p,this.comp=p.comp,this.data=f,this.frameId=-1,this.d=f.d,this.initDynamicPropertyContainer(p),f.sy===1?(this.ir=PropertyFactory.getProp(p,f.ir,0,0,this),this.is=PropertyFactory.getProp(p,f.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(p,f.pt,0,0,this),this.p=PropertyFactory.getProp(p,f.p,1,0,this),this.r=PropertyFactory.getProp(p,f.r,0,degToRads,this),this.or=PropertyFactory.getProp(p,f.or,0,0,this),this.os=PropertyFactory.getProp(p,f.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 o.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 f=Math.floor(this.pt.v)*2,l=Math.PI*2/f,g=!0,b=this.or.v,A=this.ir.v,P=this.os.v,I=this.is.v,G=2*Math.PI*b/(f*2),L=2*Math.PI*A/(f*2),D,O,z,B,M=-Math.PI/2;M+=this.r.v;var T=this.data.d===3?-1:1;for(this.v._length=0,D=0;D<f;D+=1){O=g?b:A,z=g?P:I,B=g?G:L;var S=O*Math.cos(M),F=O*Math.sin(M),R=S===0&&F===0?0:F/Math.sqrt(S*S+F*F),V=S===0&&F===0?0:-S/Math.sqrt(S*S+F*F);S+=+this.p.v[0],F+=+this.p.v[1],this.v.setTripleAt(S,F,S-R*B*z*T,F-V*B*z*T,S+R*B*z*T,F+V*B*z*T,D,!0),g=!g,M+=l*T}},convertPolygonToPath:function(){var f=Math.floor(this.pt.v),l=Math.PI*2/f,g=this.or.v,b=this.os.v,A=2*Math.PI*g/(f*4),P,I=-Math.PI*.5,G=this.data.d===3?-1:1;for(I+=this.r.v,this.v._length=0,P=0;P<f;P+=1){var L=g*Math.cos(I),D=g*Math.sin(I),O=L===0&&D===0?0:D/Math.sqrt(L*L+D*D),z=L===0&&D===0?0:-L/Math.sqrt(L*L+D*D);L+=+this.p.v[0],D+=+this.p.v[1],this.v.setTripleAt(L,D,L-O*A*b*G,D-z*A*b*G,L+O*A*b*G,D+z*A*b*G,P,!0),I+=l*G}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],o),o}(),u=function(){function o(p,f){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=p,this.comp=p.comp,this.frameId=-1,this.d=f.d,this.initDynamicPropertyContainer(p),this.p=PropertyFactory.getProp(p,f.p,1,0,this),this.s=PropertyFactory.getProp(p,f.s,1,0,this),this.r=PropertyFactory.getProp(p,f.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return o.prototype={convertRectToPath:function(){var f=this.p.v[0],l=this.p.v[1],g=this.s.v[0]/2,b=this.s.v[1]/2,A=bmMin(g,b,this.r.v),P=A*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(f+g,l-b+A,f+g,l-b+A,f+g,l-b+P,0,!0),this.v.setTripleAt(f+g,l+b-A,f+g,l+b-P,f+g,l+b-A,1,!0),A!==0?(this.v.setTripleAt(f+g-A,l+b,f+g-A,l+b,f+g-P,l+b,2,!0),this.v.setTripleAt(f-g+A,l+b,f-g+P,l+b,f-g+A,l+b,3,!0),this.v.setTripleAt(f-g,l+b-A,f-g,l+b-A,f-g,l+b-P,4,!0),this.v.setTripleAt(f-g,l-b+A,f-g,l-b+P,f-g,l-b+A,5,!0),this.v.setTripleAt(f-g+A,l-b,f-g+A,l-b,f-g+P,l-b,6,!0),this.v.setTripleAt(f+g-A,l-b,f+g-P,l-b,f+g-A,l-b,7,!0)):(this.v.setTripleAt(f-g,l+b,f-g+P,l+b,f-g,l+b,2),this.v.setTripleAt(f-g,l-b,f-g,l-b+P,f-g,l-b,3))):(this.v.setTripleAt(f+g,l-b+A,f+g,l-b+P,f+g,l-b+A,0,!0),A!==0?(this.v.setTripleAt(f+g-A,l-b,f+g-A,l-b,f+g-P,l-b,1,!0),this.v.setTripleAt(f-g+A,l-b,f-g+P,l-b,f-g+A,l-b,2,!0),this.v.setTripleAt(f-g,l-b+A,f-g,l-b+A,f-g,l-b+P,3,!0),this.v.setTripleAt(f-g,l+b-A,f-g,l+b-P,f-g,l+b-A,4,!0),this.v.setTripleAt(f-g+A,l+b,f-g+A,l+b,f-g+P,l+b,5,!0),this.v.setTripleAt(f+g-A,l+b,f+g-P,l+b,f+g-A,l+b,6,!0),this.v.setTripleAt(f+g,l+b-A,f+g,l+b-A,f+g,l+b-P,7,!0)):(this.v.setTripleAt(f-g,l-b,f-g+P,l-b,f-g,l-b,1,!0),this.v.setTripleAt(f-g,l+b,f-g,l+b-P,f-g,l+b,2,!0),this.v.setTripleAt(f+g,l+b,f+g-P,l+b,f+g,l+b,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],o),o}();function k(o,p,f){var l;if(f===3||f===4){var g=f===3?p.pt:p.ks,b=g.k;b.length?l=new d(o,p,f):l=new c(o,p,f)}else f===5?l=new u(o,p):f===6?l=new E(o,p):f===7&&(l=new _(o,p));return l.k&&o.addDynamicProperty(l),l}function x(){return c}function y(){return d}var C={};return C.getShapeProp=k,C.getConstructorFunction=x,C.getKeyframedConstructorFunction=y,C}();/*!
  3. Transformation Matrix v2.0
  4. (c) Epistemex 2014-2015
  5. www.epistemex.com
  6. By Ken Fyrstenberg
  7. Contributions by leeoniya.
  8. License: MIT, header required.
  9. */var Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=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(T){if(T===0)return this;var S=t(T),F=e(T);return this._t(S,-F,0,0,F,S,0,0,0,0,1,0,0,0,0,1)}function n(T){if(T===0)return this;var S=t(T),F=e(T);return this._t(1,0,0,0,0,S,-F,0,0,F,S,0,0,0,0,1)}function c(T){if(T===0)return this;var S=t(T),F=e(T);return this._t(S,0,F,0,0,1,0,0,-F,0,S,0,0,0,0,1)}function m(T){if(T===0)return this;var S=t(T),F=e(T);return this._t(S,-F,0,0,F,S,0,0,0,0,1,0,0,0,0,1)}function d(T,S){return this._t(1,S,T,1,0,0)}function E(T,S){return this.shear(r(T),r(S))}function _(T,S){var F=t(S),R=e(S);return this._t(F,R,0,0,-R,F,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(T),1,0,0,0,0,1,0,0,0,0,1)._t(F,-R,0,0,R,F,0,0,0,0,1,0,0,0,0,1)}function u(T,S,F){return!F&&F!==0&&(F=1),T===1&&S===1&&F===1?this:this._t(T,0,0,0,0,S,0,0,0,0,F,0,0,0,0,1)}function k(T,S,F,R,V,N,j,W,Y,q,Z,K,$,U,Q,J){return this.props[0]=T,this.props[1]=S,this.props[2]=F,this.props[3]=R,this.props[4]=V,this.props[5]=N,this.props[6]=j,this.props[7]=W,this.props[8]=Y,this.props[9]=q,this.props[10]=Z,this.props[11]=K,this.props[12]=$,this.props[13]=U,this.props[14]=Q,this.props[15]=J,this}function x(T,S,F){return F=F||0,T!==0||S!==0||F!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,T,S,F,1):this}function y(T,S,F,R,V,N,j,W,Y,q,Z,K,$,U,Q,J){var H=this.props;if(T===1&&S===0&&F===0&&R===0&&V===0&&N===1&&j===0&&W===0&&Y===0&&q===0&&Z===1&&K===0)return H[12]=H[12]*T+H[15]*$,H[13]=H[13]*N+H[15]*U,H[14]=H[14]*Z+H[15]*Q,H[15]*=J,this._identityCalculated=!1,this;var X=H[0],st=H[1],ht=H[2],at=H[3],it=H[4],nt=H[5],ot=H[6],tt=H[7],lt=H[8],ft=H[9],et=H[10],pt=H[11],rt=H[12],ct=H[13],ut=H[14],mt=H[15];return H[0]=X*T+st*V+ht*Y+at*$,H[1]=X*S+st*N+ht*q+at*U,H[2]=X*F+st*j+ht*Z+at*Q,H[3]=X*R+st*W+ht*K+at*J,H[4]=it*T+nt*V+ot*Y+tt*$,H[5]=it*S+nt*N+ot*q+tt*U,H[6]=it*F+nt*j+ot*Z+tt*Q,H[7]=it*R+nt*W+ot*K+tt*J,H[8]=lt*T+ft*V+et*Y+pt*$,H[9]=lt*S+ft*N+et*q+pt*U,H[10]=lt*F+ft*j+et*Z+pt*Q,H[11]=lt*R+ft*W+et*K+pt*J,H[12]=rt*T+ct*V+ut*Y+mt*$,H[13]=rt*S+ct*N+ut*q+mt*U,H[14]=rt*F+ct*j+ut*Z+mt*Q,H[15]=rt*R+ct*W+ut*K+mt*J,this._identityCalculated=!1,this}function C(){return this._identityCalculated||(this._identity=!(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._identityCalculated=!0),this._identity}function o(T){for(var S=0;S<16;){if(T.props[S]!==this.props[S])return!1;S+=1}return!0}function p(T){var S;for(S=0;S<16;S+=1)T.props[S]=this.props[S];return T}function f(T){var S;for(S=0;S<16;S+=1)this.props[S]=T[S]}function l(T,S,F){return{x:T*this.props[0]+S*this.props[4]+F*this.props[8]+this.props[12],y:T*this.props[1]+S*this.props[5]+F*this.props[9]+this.props[13],z:T*this.props[2]+S*this.props[6]+F*this.props[10]+this.props[14]}}function g(T,S,F){return T*this.props[0]+S*this.props[4]+F*this.props[8]+this.props[12]}function b(T,S,F){return T*this.props[1]+S*this.props[5]+F*this.props[9]+this.props[13]}function A(T,S,F){return T*this.props[2]+S*this.props[6]+F*this.props[10]+this.props[14]}function P(){var T=this.props[0]*this.props[5]-this.props[1]*this.props[4],S=this.props[5]/T,F=-this.props[1]/T,R=-this.props[4]/T,V=this.props[0]/T,N=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/T,j=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/T,W=new Matrix;return W.props[0]=S,W.props[1]=F,W.props[4]=R,W.props[5]=V,W.props[12]=N,W.props[13]=j,W}function I(T){var S=this.getInverseMatrix();return S.applyToPointArray(T[0],T[1],T[2]||0)}function G(T){var S,F=T.length,R=[];for(S=0;S<F;S+=1)R[S]=I(T[S]);return R}function L(T,S,F){var R=createTypedArray("float32",6);if(this.isIdentity())R[0]=T[0],R[1]=T[1],R[2]=S[0],R[3]=S[1],R[4]=F[0],R[5]=F[1];else{var V=this.props[0],N=this.props[1],j=this.props[4],W=this.props[5],Y=this.props[12],q=this.props[13];R[0]=T[0]*V+T[1]*j+Y,R[1]=T[0]*N+T[1]*W+q,R[2]=S[0]*V+S[1]*j+Y,R[3]=S[0]*N+S[1]*W+q,R[4]=F[0]*V+F[1]*j+Y,R[5]=F[0]*N+F[1]*W+q}return R}function D(T,S,F){var R;return this.isIdentity()?R=[T,S,F]:R=[T*this.props[0]+S*this.props[4]+F*this.props[8]+this.props[12],T*this.props[1]+S*this.props[5]+F*this.props[9]+this.props[13],T*this.props[2]+S*this.props[6]+F*this.props[10]+this.props[14]],R}function O(T,S){if(this.isIdentity())return T+","+S;var F=this.props;return Math.round((T*F[0]+S*F[4]+F[12])*100)/100+","+Math.round((T*F[1]+S*F[5]+F[13])*100)/100}function z(){for(var T=0,S=this.props,F="matrix3d(",R=1e4;T<16;)F+=i(S[T]*R)/R,F+=T===15?")":",",T+=1;return F}function B(T){var S=1e4;return T<1e-6&&T>0||T>-1e-6&&T<0?i(T*S)/S:T}function M(){var T=this.props,S=B(T[0]),F=B(T[1]),R=B(T[4]),V=B(T[5]),N=B(T[12]),j=B(T[13]);return"matrix("+S+","+F+","+R+","+V+","+N+","+j+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=c,this.rotateZ=m,this.skew=E,this.skewFromAxis=_,this.shear=d,this.scale=u,this.setTransform=k,this.translate=x,this.transform=y,this.applyToPoint=l,this.applyToX=g,this.applyToY=b,this.applyToZ=A,this.applyToPointArray=D,this.applyToTriplePoints=L,this.applyToPointStringified=O,this.toCSS=z,this.to2dCSS=M,this.clone=p,this.cloneFromProps=f,this.equals=o,this.inversePoints=G,this.inversePoint=I,this.getInverseMatrix=P,this._t=this.transform,this.isIdentity=C,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return animationManager.loadAnimation(t)}function setQuality(t){if(typeof t=="string")switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(t,e){t==="expressions"&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default: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.9.6";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=r,t.getModifier=i;function r(s,a){e[s]||(e[s]=a)}function i(s,a,n){return new e[s](a,n)}return t}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,s){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n=[],c,m=a.length,d;for(c=0;c<m;c+=1)if(d=a[c],!(d.e*s<i||d.s*s>i+r)){var E,_;d.s*s<=i?E=0:E=(d.s*s-i)/r,d.e*s>=i+r?_=1:_=(d.e*s-i)/r,n.push([E,_])}return n.length||n.push([0,0]),n},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r;if(this._mdf||t){var i=this.o.v%360/360;if(i<0&&(i+=1),this.s.v>1?e=1+i:this.s.v<0?e=0+i:e=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,e>r){var s=e;e=r,r=s}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var a,n,c=this.shapes.length,m,d,E,_,u,k=0;if(r===e)for(n=0;n<c;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(r===1&&e===0||r===0&&e===1){if(this._mdf)for(n=0;n<c;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var x=[],y,C;for(n=0;n<c;n+=1)if(y=this.shapes[n],!y.shape._mdf&&!this._mdf&&!t&&this.m!==2)y.shape.paths=y.localShapeCollection;else{if(a=y.shape.paths,d=a._length,u=0,!y.shape._mdf&&y.pathsData.length)u=y.totalShapeLength;else{for(E=this.releasePathsData(y.pathsData),m=0;m<d;m+=1)_=bez.getSegmentsLength(a.shapes[m]),E.push(_),u+=_.totalLength;y.totalShapeLength=u,y.pathsData=E}k+=u,y.shape._mdf=!0}var o=e,p=r,f=0,l;for(n=c-1;n>=0;n-=1)if(y=this.shapes[n],y.shape._mdf){for(C=y.localShapeCollection,C.releaseShapes(),this.m===2&&c>1?(l=this.calculateShapeEdges(e,r,y.totalShapeLength,f,k),f+=y.totalShapeLength):l=[[o,p]],d=l.length,m=0;m<d;m+=1){o=l[m][0],p=l[m][1],x.length=0,p<=1?x.push({s:y.totalShapeLength*o,e:y.totalShapeLength*p}):o>=1?x.push({s:y.totalShapeLength*(o-1),e:y.totalShapeLength*(p-1)}):(x.push({s:y.totalShapeLength*o,e:y.totalShapeLength}),x.push({s:0,e:y.totalShapeLength*(p-1)}));var g=this.addShapes(y,x[0]);if(x[0].s!==x[0].e){if(x.length>1){var b=y.shape.paths.shapes[y.shape.paths._length-1];if(b.c){var A=g.pop();this.addPaths(g,C),g=this.addShapes(y,x[1],A)}else this.addPaths(g,C),g=this.addShapes(y,x[1])}this.addPaths(g,C)}}y.shape.paths=C}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,s,a,n){s.setXYAt(e[0],e[1],"o",a),s.setXYAt(r[0],r[1],"i",a+1),n&&s.setXYAt(t[0],t[1],"v",a),s.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i=t.pathsData,s=t.shape.paths.shapes,a,n=t.shape.paths._length,c,m,d=0,E,_,u,k,x=[],y,C=!0;for(r?(_=r._length,y=r._length):(r=shapePool.newElement(),_=0,y=0),x.push(r),a=0;a<n;a+=1){for(u=i[a].lengths,r.c=s[a].c,m=s[a].c?u.length:u.length+1,c=1;c<m;c+=1)if(E=u[c-1],d+E.addedLength<e.s)d+=E.addedLength,r.c=!1;else if(d>e.e){r.c=!1;break}else e.s<=d&&e.e>=d+E.addedLength?(this.addSegment(s[a].v[c-1],s[a].o[c-1],s[a].i[c],s[a].v[c],r,_,C),C=!1):(k=bez.getNewSegment(s[a].v[c-1],s[a].v[c],s[a].o[c-1],s[a].i[c],(e.s-d)/E.addedLength,(e.e-d)/E.addedLength,u[c-1]),this.addSegmentFromArray(k,r,_,C),C=!1,r.c=!1),d+=E.addedLength,_+=1;if(s[a].c&&u.length){if(E=u[c-1],d<=e.e){var o=u[c-1].addedLength;e.s<=d&&e.e>=d+o?(this.addSegment(s[a].v[c-1],s[a].o[c-1],s[a].i[0],s[a].v[0],r,_,C),C=!1):(k=bez.getNewSegment(s[a].v[c-1],s[a].v[0],s[a].o[c-1],s[a].i[0],(e.s-d)/o,(e.e-d)/o,u[c-1]),this.addSegmentFromArray(k,r,_,C),C=!1,r.c=!1)}else r.c=!1;d+=E.addedLength,_+=1}if(r._length&&(r.setXYAt(r.v[y][0],r.v[y][1],"i",y),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;a<n-1&&(r=shapePool.newElement(),C=!0,x.push(r),_=0)}return x};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,i=[0,0],s=t._length,a=0;for(a=0;a<s;a+=1)i[0]+=t.v[a][0],i[1]+=t.v[a][1];i[0]/=s,i[1]/=s;var n=shapePool.newElement();n.c=t.c;var c,m,d,E,_,u;for(a=0;a<s;a+=1)c=t.v[a][0]+(i[0]-t.v[a][0])*r,m=t.v[a][1]+(i[1]-t.v[a][1])*r,d=t.o[a][0]+(i[0]-t.o[a][0])*-r,E=t.o[a][1]+(i[1]-t.o[a][1])*-r,_=t.i[a][0]+(i[0]-t.i[a][0])*-r,u=t.i[a][1]+(i[1]-t.i[a][1])*-r,n.setTripleAt(c,m,d,E,_,u,a);return n},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,a,n=this.amount.v;if(n!==0){var c,m;for(r=0;r<i;r+=1){if(c=this.shapes[r],m=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(m.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)m.addShape(this.processPath(e[s],n));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(m){var d=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||d,this.a&&m.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&m.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&m.skewFromAxis(-this.sk.v,this.sa.v),this.r?m.rotate(-this.r.v):m.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?m.translate(this.px.v,this.py.v,-this.pz.v):m.translate(this.px.v,this.py.v,0):m.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(m){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||m){var d;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var E,_;if(d=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(E=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/d,0),_=this.p.getValueAtTime(this.p.keyframes[0].t/d,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(E=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/d,0),_=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/d,0)):(E=this.p.pv,_=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/d,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){E=[],_=[];var u=this.px,k=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(E[0]=u.getValueAtTime((u.keyframes[0].t+.01)/d,0),E[1]=k.getValueAtTime((k.keyframes[0].t+.01)/d,0),_[0]=u.getValueAtTime(u.keyframes[0].t/d,0),_[1]=k.getValueAtTime(k.keyframes[0].t/d,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(E[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/d,0),E[1]=k.getValueAtTime(k.keyframes[k.keyframes.length-1].t/d,0),_[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/d,0),_[1]=k.getValueAtTime((k.keyframes[k.keyframes.length-1].t-.01)/d,0)):(E=[u.pv,k.pv],_[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/d,u.offsetTime),_[1]=k.getValueAtTime((k._caching.lastFrame+k.offsetTime-.01)/d,k.offsetTime))}else _=t,E=_;this.v.rotate(-Math.atan2(E[1]-_[1],E[0]-_[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}}function i(){if(!this.a.k)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;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)}function s(){}function a(m){this._addDynamicProperty(m),this.elem.addDynamicProperty(m),this._isDirty=!0}function n(m,d,E){if(this.elem=m,this.frameId=-1,this.propType="transform",this.data=d,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(E||m),d.p&&d.p.s?(this.px=PropertyFactory.getProp(m,d.p.x,0,0,this),this.py=PropertyFactory.getProp(m,d.p.y,0,0,this),d.p.z&&(this.pz=PropertyFactory.getProp(m,d.p.z,0,0,this))):this.p=PropertyFactory.getProp(m,d.p||{k:[0,0,0]},1,0,this),d.rx){if(this.rx=PropertyFactory.getProp(m,d.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(m,d.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(m,d.rz,0,degToRads,this),d.or.k[0].ti){var _,u=d.or.k.length;for(_=0;_<u;_+=1)d.or.k[_].to=null,d.or.k[_].ti=null}this.or=PropertyFactory.getProp(m,d.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(m,d.r||{k:0},0,degToRads,this);d.sk&&(this.sk=PropertyFactory.getProp(m,d.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(m,d.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(m,d.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(m,d.s||{k:[100,100,100]},1,.01,this),d.o?this.o=PropertyFactory.getProp(m,d.o,0,.01,m):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}n.prototype={applyToMatrix:e,getValue:r,precalculateMatrix:i,autoOrient:s},extendPrototype([DynamicPropertyContainer],n),n.prototype.addDynamicProperty=a,n.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function c(m,d,E){return new n(m,d,E)}return{getTransformProperty:c}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,s,a){var n=a?-1:1,c=i.s.v[0]+(1-i.s.v[0])*(1-s),m=i.s.v[1]+(1-i.s.v[1])*(1-s);t.translate(i.p.v[0]*n*s,i.p.v[1]*n*s,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*n*s),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/c:c,a?1/m:m),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,t[e].ty==="gr"&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,t[r].ty==="gr"&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,s,a,n=!1;if(this._mdf||t){var c=Math.ceil(this.c.v);if(this._groups.length<c){for(;this._groups.length<c;){var m={it:this.cloneElements(this._elements),ty:"gr"};m.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,m),this._groups.splice(0,0,m),this._currentCopies+=1}this.elem.reloadShapes(),n=!0}a=0;var d;for(i=0;i<=this._groups.length-1;i+=1){if(d=a<c,this._groups[i]._render=d,this.changeGroupRender(this._groups[i].it,d),!d){var E=this.elemsData[i].it,_=E[E.length-1];_.transform.op.v!==0?(_.transform.op._mdf=!0,_.transform.op.v=0):_.transform.op._mdf=!1}a+=1}this._currentCopies=c;var u=this.o.v,k=u%1,x=u>0?Math.floor(u):Math.ceil(u),y=this.pMatrix.props,C=this.rMatrix.props,o=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var p=0;if(u>0){for(;p<x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),p+=1;k&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,k,!1),p+=k)}else if(u<0){for(;p>x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),p-=1;k&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-k,!0),p-=k)}i=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var f,l;a;){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,l=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),p!==0){for((i!==0&&s===1||i!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),this.matrix.transform(o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7],o[8],o[9],o[10],o[11],o[12],o[13],o[14],o[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),f=0;f<l;f+=1)r[f]=this.matrix.props[f];this.matrix.reset()}else for(this.matrix.reset(),f=0;f<l;f+=1)r[f]=this.matrix.props[f];p+=1,a-=1,i+=s}}else for(a=this._currentCopies,i=0,s=1;a;)e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,i+=s;return n},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r=shapePool.newElement();r.c=t.c;var i,s=t._length,a,n,c,m,d,E,_=0,u,k,x,y,C,o;for(i=0;i<s;i+=1)a=t.v[i],c=t.o[i],n=t.i[i],a[0]===c[0]&&a[1]===c[1]&&a[0]===n[0]&&a[1]===n[1]?(i===0||i===s-1)&&!t.c?(r.setTripleAt(a[0],a[1],c[0],c[1],n[0],n[1],_),_+=1):(i===0?m=t.v[s-1]:m=t.v[i-1],d=Math.sqrt(Math.pow(a[0]-m[0],2)+Math.pow(a[1]-m[1],2)),E=d?Math.min(d/2,e)/d:0,C=a[0]+(m[0]-a[0])*E,u=C,o=a[1]-(a[1]-m[1])*E,k=o,x=u-(u-a[0])*roundCorner,y=k-(k-a[1])*roundCorner,r.setTripleAt(u,k,x,y,C,o,_),_+=1,i===s-1?m=t.v[0]:m=t.v[i+1],d=Math.sqrt(Math.pow(a[0]-m[0],2)+Math.pow(a[1]-m[1],2)),E=d?Math.min(d/2,e)/d:0,x=a[0]+(m[0]-a[0])*E,u=x,y=a[1]+(m[1]-a[1])*E,k=y,C=u-(u-a[0])*roundCorner,o=k-(k-a[1])*roundCorner,r.setTripleAt(u,k,x,y,C,o,_),_+=1):(r.setTripleAt(t.v[i][0],t.v[i][1],t.o[i][0],t.o[i][1],t.i[i][0],t.i[i][1],_),_+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,a,n=this.rd.v;if(n!==0){var c,m;for(r=0;r<i;r+=1){if(c=this.shapes[r],m=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(m.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)m.addShape(this.processPath(e[s],n));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",s=e.length,a,n=0;n<s;n+=1)switch(a=e[n].toLowerCase(),a){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200";break}return{style:i,weight:t.fWeight||r}}var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],s=[65039,8205];function a(l){var g=l.split(","),b,A=g.length,P=[];for(b=0;b<A;b+=1)g[b]!=="sans-serif"&&g[b]!=="monospace"&&P.push(g[b]);return P.join(",")}function n(l,g){var b=createTag("span");b.setAttribute("aria-hidden",!0),b.style.fontFamily=g;var A=createTag("span");A.innerText="giItT1WQy@!-/#",b.style.position="absolute",b.style.left="-10000px",b.style.top="-10000px",b.style.fontSize="300px",b.style.fontVariant="normal",b.style.fontStyle="normal",b.style.fontWeight="normal",b.style.letterSpacing="0",b.appendChild(A),document.body.appendChild(b);var P=A.offsetWidth;return A.style.fontFamily=a(l)+", "+g,{node:A,w:P,parent:b}}function c(){var l,g=this.fonts.length,b,A,P=g;for(l=0;l<g;l+=1)this.fonts[l].loaded?P-=1:this.fonts[l].fOrigin==="n"||this.fonts[l].origin===0?this.fonts[l].loaded=!0:(b=this.fonts[l].monoCase.node,A=this.fonts[l].monoCase.w,b.offsetWidth!==A?(P-=1,this.fonts[l].loaded=!0):(b=this.fonts[l].sansCase.node,A=this.fonts[l].sansCase.w,b.offsetWidth!==A&&(P-=1,this.fonts[l].loaded=!0)),this.fonts[l].loaded&&(this.fonts[l].sansCase.parent.parentNode.removeChild(this.fonts[l].sansCase.parent),this.fonts[l].monoCase.parent.parentNode.removeChild(this.fonts[l].monoCase.parent)));P!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function m(l,g){var b=document.body&&g?"svg":"canvas",A,P=getFontProperties(l);if(b==="svg"){var I=createNS("text");I.style.fontSize="100px",I.setAttribute("font-family",l.fFamily),I.setAttribute("font-style",P.style),I.setAttribute("font-weight",P.weight),I.textContent="1",l.fClass?(I.style.fontFamily="inherit",I.setAttribute("class",l.fClass)):I.style.fontFamily=l.fFamily,g.appendChild(I),A=I}else{var G=new OffscreenCanvas(500,500).getContext("2d");G.font=P.style+" "+P.weight+" 100px "+l.fFamily,A=G}function L(D){return b==="svg"?(A.textContent=D,A.getComputedTextLength()):A.measureText(D).width}return{measureText:L}}function d(l,g){if(!l){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=l.list;return}if(!document.body){this.isLoaded=!0,l.list.forEach(function(M){M.helper=m(M),M.cache={}}),this.fonts=l.list;return}var b=l.list,A,P=b.length,I=P;for(A=0;A<P;A+=1){var G=!0,L,D;if(b[A].loaded=!1,b[A].monoCase=n(b[A].fFamily,"monospace"),b[A].sansCase=n(b[A].fFamily,"sans-serif"),!b[A].fPath)b[A].loaded=!0,I-=1;else if(b[A].fOrigin==="p"||b[A].origin===3){if(L=document.querySelectorAll('style[f-forigin="p"][f-family="'+b[A].fFamily+'"], style[f-origin="3"][f-family="'+b[A].fFamily+'"]'),L.length>0&&(G=!1),G){var O=createTag("style");O.setAttribute("f-forigin",b[A].fOrigin),O.setAttribute("f-origin",b[A].origin),O.setAttribute("f-family",b[A].fFamily),O.type="text/css",O.innerText="@font-face {font-family: "+b[A].fFamily+"; font-style: normal; src: url('"+b[A].fPath+"');}",g.appendChild(O)}}else if(b[A].fOrigin==="g"||b[A].origin===1){for(L=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),D=0;D<L.length;D+=1)L[D].href.indexOf(b[A].fPath)!==-1&&(G=!1);if(G){var z=createTag("link");z.setAttribute("f-forigin",b[A].fOrigin),z.setAttribute("f-origin",b[A].origin),z.type="text/css",z.rel="stylesheet",z.href=b[A].fPath,document.body.appendChild(z)}}else if(b[A].fOrigin==="t"||b[A].origin===2){for(L=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),D=0;D<L.length;D+=1)b[A].fPath===L[D].src&&(G=!1);if(G){var B=createTag("link");B.setAttribute("f-forigin",b[A].fOrigin),B.setAttribute("f-origin",b[A].origin),B.setAttribute("rel","stylesheet"),B.setAttribute("href",b[A].fPath),g.appendChild(B)}}b[A].helper=m(b[A],g),b[A].cache={},this.fonts.push(b[A])}I===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function E(l){if(!!l){this.chars||(this.chars=[]);var g,b=l.length,A,P=this.chars.length,I;for(g=0;g<b;g+=1){for(A=0,I=!1;A<P;)this.chars[A].style===l[g].style&&this.chars[A].fFamily===l[g].fFamily&&this.chars[A].ch===l[g].ch&&(I=!0),A+=1;I||(this.chars.push(l[g]),P+=1)}}}function _(l,g,b){for(var A=0,P=this.chars.length;A<P;){if(this.chars[A].ch===l&&this.chars[A].style===g&&this.chars[A].fFamily===b)return this.chars[A];A+=1}return(typeof l=="string"&&l.charCodeAt(0)!==13||!l)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",l,g,b)),e}function u(l,g,b){var A=this.getFontByName(g),P=l.charCodeAt(0);if(!A.cache[P+1]){var I=A.helper;if(l===" "){var G=I.measureText("|"+l+"|"),L=I.measureText("||");A.cache[P+1]=(G-L)/100}else A.cache[P+1]=I.measureText(l)/100}return A.cache[P+1]*b}function k(l){for(var g=0,b=this.fonts.length;g<b;){if(this.fonts[g].fName===l)return this.fonts[g];g+=1}return this.fonts[0]}function x(l,g){var b=l.toString(16)+g.toString(16);return i.indexOf(b)!==-1}function y(l,g){return g?l===s[0]&&g===s[1]:l===s[1]}function C(l){return r.indexOf(l)!==-1}function o(){this.isLoaded=!0}var p=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)};p.isModifier=x,p.isZeroWidthJoiner=y,p.isCombinedCharacter=C;var f={addChars:E,addFonts:d,getCharData:_,getFontByName:k,measureText:u,checkLoadedFonts:c,setIsLoaded:o};return p.prototype=f,p}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,r=this.renderableComponents.length;for(e=0;e<r;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var MaskManagerInterface=function(){function t(r,i){this._mask=r,this._data=i}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(),this._mask.op.v*100}});var e=function(i){var s=createSizedArray(i.viewData.length),a,n=i.viewData.length;for(a=0;a<n;a+=1)s[a]=new t(i.viewData[a],i.masksProperties[a]);var c=function(d){for(a=0;a<n;){if(i.masksProperties[a].nm===d)return s[a];a+=1}return null};return c};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(n,c,m){Object.defineProperty(n,"velocity",{get:function(){return c.getVelocityAtTime(c.comp.currentFrame)}}),n.numKeys=c.keyframes?c.keyframes.length:0,n.key=function(d){if(!n.numKeys)return 0;var E="";"s"in c.keyframes[d-1]?E=c.keyframes[d-1].s:"e"in c.keyframes[d-2]?E=c.keyframes[d-2].e:E=c.keyframes[d-2].s;var _=m==="unidimensional"?new Number(E):Object.assign({},E);return _.time=c.keyframes[d-1].t/c.elem.comp.globalData.frameRate,_.value=m==="unidimensional"?E[0]:E,_},n.valueAtTime=c.getValueAtTime,n.speedAtTime=c.getSpeedAtTime,n.velocityAtTime=c.getVelocityAtTime,n.propertyGroup=c.propertyGroup}function i(n){(!n||!("pv"in n))&&(n=t);var c=1/n.mult,m=n.pv*c,d=new Number(m);return d.value=m,r(d,n,"unidimensional"),function(){return n.k&&n.getValue(),m=n.v*c,d.value!==m&&(d=new Number(m),d.value=m,r(d,n,"unidimensional")),d}}function s(n){(!n||!("pv"in n))&&(n=e);var c=1/n.mult,m=n.data&&n.data.l||n.pv.length,d=createTypedArray("float32",m),E=createTypedArray("float32",m);return d.value=E,r(d,n,"multidimensional"),function(){n.k&&n.getValue();for(var _=0;_<m;_+=1)E[_]=n.v[_]*c,d[_]=E[_];return d}}function a(){return t}return function(n){return n?n.propType==="unidimensional"?i(n):s(n):a}}(),TransformExpressionInterface=function(){return function(t){function e(n){switch(n){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}}Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)});var r,i,s,a;return t.p?a=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(s=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[r(),i(),s?s():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(d){var E=new Matrix;if(d!==void 0){var _=this._elem.finalTransform.mProp.getValueAtTime(d);_.clone(E)}else{var u=this._elem.finalTransform.mProp;u.applyToMatrix(E)}return E}function e(d,E){var _=this.getMatrix(E);return _.props[12]=0,_.props[13]=0,_.props[14]=0,this.applyPoint(_,d)}function r(d,E){var _=this.getMatrix(E);return this.applyPoint(_,d)}function i(d,E){var _=this.getMatrix(E);return _.props[12]=0,_.props[13]=0,_.props[14]=0,this.invertPoint(_,d)}function s(d,E){var _=this.getMatrix(E);return this.invertPoint(_,d)}function a(d,E){if(this._elem.hierarchy&&this._elem.hierarchy.length){var _,u=this._elem.hierarchy.length;for(_=0;_<u;_+=1)this._elem.hierarchy[_].finalTransform.mProp.applyToMatrix(d)}return d.applyToPointArray(E[0],E[1],E[2]||0)}function n(d,E){if(this._elem.hierarchy&&this._elem.hierarchy.length){var _,u=this._elem.hierarchy.length;for(_=0;_<u;_+=1)this._elem.hierarchy[_].finalTransform.mProp.applyToMatrix(d)}return d.inversePoint(E)}function c(d){var E=new Matrix;if(E.reset(),this._elem.finalTransform.mProp.applyToMatrix(E),this._elem.hierarchy&&this._elem.hierarchy.length){var _,u=this._elem.hierarchy.length;for(_=0;_<u;_+=1)this._elem.hierarchy[_].finalTransform.mProp.applyToMatrix(E);return E.inversePoint(d)}return E.inversePoint(d)}function m(){return[1,1,1,1]}return function(d){var E;function _(y){k.mask=new MaskManagerInterface(y,d)}function u(y){k.effect=y}function k(y){switch(y){case"ADBE Root Vectors Group":case"Contents":case 2:return k.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return E;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return k.effect;case"ADBE Text Properties":return k.textInterface;default:return null}}k.getMatrix=t,k.invertPoint=n,k.applyPoint=a,k.toWorld=r,k.toWorldVec=e,k.fromWorld=s,k.fromWorldVec=i,k.toComp=r,k.fromComp=c,k.sampleImage=m,k.sourceRectAtTime=d.sourceRectAtTime.bind(d),k._elem=d,E=TransformExpressionInterface(d.finalTransform.mProp);var x=getDescriptor(E,"anchorPoint");return Object.defineProperties(k,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(E,"rotation"),scale:getDescriptor(E,"scale"),position:getDescriptor(E,"position"),opacity:getDescriptor(E,"opacity"),anchorPoint:x,anchor_point:x,transform:{get:function(){return E}},active:{get:function(){return d.isInRange}}}),k.startTime=d.data.st,k.index=d.data.ind,k.source=d.data.refId,k.height=d.data.ty===0?d.data.h:100,k.width=d.data.ty===0?d.data.w:100,k.inPoint=d.data.ip/d.comp.globalData.frameRate,k.outPoint=d.data.op/d.comp.globalData.frameRate,k._name=d.data.nm,k.registerMaskInterface=_,k.registerEffectsInterface=u,k}}(),propertyGroupFactory=function(){return function(t,e){return function(r){return r=r===void 0?1:r,r<=0?t:e(r-1)}}}(),PropertyInterface=function(){return function(t,e){var r={_name:t};function i(s){return s=s===void 0?1:s,s<=0?r:e(s-1)}return i}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(s,a){if(s.effectsManager){var n=[],c=s.data.ef,m,d=s.effectsManager.effectElements.length;for(m=0;m<d;m+=1)n.push(r(c[m],s.effectsManager.effectElements[m],a,s));var E=s.data.ef||[],_=function(k){for(m=0,d=E.length;m<d;){if(k===E[m].nm||k===E[m].mn||k===E[m].ix)return n[m];m+=1}return null};return Object.defineProperty(_,"numProperties",{get:function(){return E.length}}),_}return null}function r(s,a,n,c){function m(k){for(var x=s.ef,y=0,C=x.length;y<C;){if(k===x[y].nm||k===x[y].mn||k===x[y].ix)return x[y].ty===5?E[y]:E[y]();y+=1}throw new Error}var d=propertyGroupFactory(m,n),E=[],_,u=s.ef.length;for(_=0;_<u;_+=1)s.ef[_].ty===5?E.push(r(s.ef[_],a.effectElements[_],a.effectElements[_].propertyGroup,c)):E.push(i(a.effectElements[_],s.ef[_].ty,c,d));return s.mn==="ADBE Color Control"&&Object.defineProperty(m,"color",{get:function(){return E[0]()}}),Object.defineProperties(m,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:d}}),m.enabled=s.en!==0,m.active=m.enabled,m}function i(s,a,n,c){var m=ExpressionPropertyInterface(s.p);function d(){return a===10?n.comp.compInterface(s.p.v):m()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",c)),d}return t}(),CompExpressionInterface=function(){return function(t){function e(r){for(var i=0,s=t.layers.length;i<s;){if(t.layers[i].nm===r||t.layers[i].ind===r)return t.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}(),ShapePathInterface=function(){return function(e,r,i){var s=r.sh;function a(c){return c==="Shape"||c==="shape"||c==="Path"||c==="path"||c==="ADBE Vector Shape"||c===2?a.path:null}var n=propertyGroupFactory(a,i);return s.setGroupProperty(PropertyInterface("Path",n)),Object.defineProperties(a,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:i}}),a}}(),ShapeExpressionInterface=function(){function t(x,y,C){var o=[],p,f=x?x.length:0;for(p=0;p<f;p+=1)x[p].ty==="gr"?o.push(r(x[p],y[p],C)):x[p].ty==="fl"?o.push(i(x[p],y[p],C)):x[p].ty==="st"?o.push(n(x[p],y[p],C)):x[p].ty==="tm"?o.push(c(x[p],y[p],C)):x[p].ty==="tr"||(x[p].ty==="el"?o.push(d(x[p],y[p],C)):x[p].ty==="sr"?o.push(E(x[p],y[p],C)):x[p].ty==="sh"?o.push(ShapePathInterface(x[p],y[p],C)):x[p].ty==="rc"?o.push(_(x[p],y[p],C)):x[p].ty==="rd"?o.push(u(x[p],y[p],C)):x[p].ty==="rp"?o.push(k(x[p],y[p],C)):x[p].ty==="gf"?o.push(s(x[p],y[p],C)):o.push(a(x[p],y[p])));return o}function e(x,y,C){var o,p=function(g){for(var b=0,A=o.length;b<A;){if(o[b]._name===g||o[b].mn===g||o[b].propertyIndex===g||o[b].ix===g||o[b].ind===g)return o[b];b+=1}return typeof g=="number"?o[g-1]:null};p.propertyGroup=propertyGroupFactory(p,C),o=t(x.it,y.it,p.propertyGroup),p.numProperties=o.length;var f=m(x.it[x.it.length-1],y.it[y.it.length-1],p.propertyGroup);return p.transform=f,p.propertyIndex=x.cix,p._name=x.nm,p}function r(x,y,C){var o=function(g){switch(g){case"ADBE Vectors Group":case"Contents":case 2:return o.content;default:return o.transform}};o.propertyGroup=propertyGroupFactory(o,C);var p=e(x,y,o.propertyGroup),f=m(x.it[x.it.length-1],y.it[y.it.length-1],o.propertyGroup);return o.content=p,o.transform=f,Object.defineProperty(o,"_name",{get:function(){return x.nm}}),o.numProperties=x.np,o.propertyIndex=x.ix,o.nm=x.nm,o.mn=x.mn,o}function i(x,y,C){function o(p){return p==="Color"||p==="color"?o.color:p==="Opacity"||p==="opacity"?o.opacity:null}return Object.defineProperties(o,{color:{get:ExpressionPropertyInterface(y.c)},opacity:{get:ExpressionPropertyInterface(y.o)},_name:{value:x.nm},mn:{value:x.mn}}),y.c.setGroupProperty(PropertyInterface("Color",C)),y.o.setGroupProperty(PropertyInterface("Opacity",C)),o}function s(x,y,C){function o(p){return p==="Start Point"||p==="start point"?o.startPoint:p==="End Point"||p==="end point"?o.endPoint:p==="Opacity"||p==="opacity"?o.opacity:null}return Object.defineProperties(o,{startPoint:{get:ExpressionPropertyInterface(y.s)},endPoint:{get:ExpressionPropertyInterface(y.e)},opacity:{get:ExpressionPropertyInterface(y.o)},type:{get:function(){return"a"}},_name:{value:x.nm},mn:{value:x.mn}}),y.s.setGroupProperty(PropertyInterface("Start Point",C)),y.e.setGroupProperty(PropertyInterface("End Point",C)),y.o.setGroupProperty(PropertyInterface("Opacity",C)),o}function a(){function x(){return null}return x}function n(x,y,C){var o=propertyGroupFactory(A,C),p=propertyGroupFactory(b,o);function f(P){Object.defineProperty(b,x.d[P].nm,{get:ExpressionPropertyInterface(y.d.dataProps[P].p)})}var l,g=x.d?x.d.length:0,b={};for(l=0;l<g;l+=1)f(l),y.d.dataProps[l].p.setGroupProperty(p);function A(P){return P==="Color"||P==="color"?A.color:P==="Opacity"||P==="opacity"?A.opacity:P==="Stroke Width"||P==="stroke width"?A.strokeWidth:null}return Object.defineProperties(A,{color:{get:ExpressionPropertyInterface(y.c)},opacity:{get:ExpressionPropertyInterface(y.o)},strokeWidth:{get:ExpressionPropertyInterface(y.w)},dash:{get:function(){return b}},_name:{value:x.nm},mn:{value:x.mn}}),y.c.setGroupProperty(PropertyInterface("Color",o)),y.o.setGroupProperty(PropertyInterface("Opacity",o)),y.w.setGroupProperty(PropertyInterface("Stroke Width",o)),A}function c(x,y,C){function o(f){return f===x.e.ix||f==="End"||f==="end"?o.end:f===x.s.ix?o.start:f===x.o.ix?o.offset:null}var p=propertyGroupFactory(o,C);return o.propertyIndex=x.ix,y.s.setGroupProperty(PropertyInterface("Start",p)),y.e.setGroupProperty(PropertyInterface("End",p)),y.o.setGroupProperty(PropertyInterface("Offset",p)),o.propertyIndex=x.ix,o.propertyGroup=C,Object.defineProperties(o,{start:{get:ExpressionPropertyInterface(y.s)},end:{get:ExpressionPropertyInterface(y.e)},offset:{get:ExpressionPropertyInterface(y.o)},_name:{value:x.nm}}),o.mn=x.mn,o}function m(x,y,C){function o(f){return x.a.ix===f||f==="Anchor Point"?o.anchorPoint:x.o.ix===f||f==="Opacity"?o.opacity:x.p.ix===f||f==="Position"?o.position:x.r.ix===f||f==="Rotation"||f==="ADBE Vector Rotation"?o.rotation:x.s.ix===f||f==="Scale"?o.scale:x.sk&&x.sk.ix===f||f==="Skew"?o.skew:x.sa&&x.sa.ix===f||f==="Skew Axis"?o.skewAxis:null}var p=propertyGroupFactory(o,C);return y.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",p)),y.transform.mProps.p.setGroupProperty(PropertyInterface("Position",p)),y.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",p)),y.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",p)),y.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",p)),y.transform.mProps.sk&&(y.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",p)),y.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",p))),y.transform.op.setGroupProperty(PropertyInterface("Opacity",p)),Object.defineProperties(o,{opacity:{get:ExpressionPropertyInterface(y.transform.mProps.o)},position:{get:ExpressionPropertyInterface(y.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(y.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(y.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(y.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(y.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(y.transform.mProps.sa)},_name:{value:x.nm}}),o.ty="tr",o.mn=x.mn,o.propertyGroup=C,o}function d(x,y,C){function o(l){return x.p.ix===l?o.position:x.s.ix===l?o.size:null}var p=propertyGroupFactory(o,C);o.propertyIndex=x.ix;var f=y.sh.ty==="tm"?y.sh.prop:y.sh;return f.s.setGroupProperty(PropertyInterface("Size",p)),f.p.setGroupProperty(PropertyInterface("Position",p)),Object.defineProperties(o,{size:{get:ExpressionPropertyInterface(f.s)},position:{get:ExpressionPropertyInterface(f.p)},_name:{value:x.nm}}),o.mn=x.mn,o}function E(x,y,C){function o(l){return x.p.ix===l?o.position:x.r.ix===l?o.rotation:x.pt.ix===l?o.points:x.or.ix===l||l==="ADBE Vector Star Outer Radius"?o.outerRadius:x.os.ix===l?o.outerRoundness:x.ir&&(x.ir.ix===l||l==="ADBE Vector Star Inner Radius")?o.innerRadius:x.is&&x.is.ix===l?o.innerRoundness:null}var p=propertyGroupFactory(o,C),f=y.sh.ty==="tm"?y.sh.prop:y.sh;return o.propertyIndex=x.ix,f.or.setGroupProperty(PropertyInterface("Outer Radius",p)),f.os.setGroupProperty(PropertyInterface("Outer Roundness",p)),f.pt.setGroupProperty(PropertyInterface("Points",p)),f.p.setGroupProperty(PropertyInterface("Position",p)),f.r.setGroupProperty(PropertyInterface("Rotation",p)),x.ir&&(f.ir.setGroupProperty(PropertyInterface("Inner Radius",p)),f.is.setGroupProperty(PropertyInterface("Inner Roundness",p))),Object.defineProperties(o,{position:{get:ExpressionPropertyInterface(f.p)},rotation:{get:ExpressionPropertyInterface(f.r)},points:{get:ExpressionPropertyInterface(f.pt)},outerRadius:{get:ExpressionPropertyInterface(f.or)},outerRoundness:{get:ExpressionPropertyInterface(f.os)},innerRadius:{get:ExpressionPropertyInterface(f.ir)},innerRoundness:{get:ExpressionPropertyInterface(f.is)},_name:{value:x.nm}}),o.mn=x.mn,o}function _(x,y,C){function o(l){return x.p.ix===l?o.position:x.r.ix===l?o.roundness:x.s.ix===l||l==="Size"||l==="ADBE Vector Rect Size"?o.size:null}var p=propertyGroupFactory(o,C),f=y.sh.ty==="tm"?y.sh.prop:y.sh;return o.propertyIndex=x.ix,f.p.setGroupProperty(PropertyInterface("Position",p)),f.s.setGroupProperty(PropertyInterface("Size",p)),f.r.setGroupProperty(PropertyInterface("Rotation",p)),Object.defineProperties(o,{position:{get:ExpressionPropertyInterface(f.p)},roundness:{get:ExpressionPropertyInterface(f.r)},size:{get:ExpressionPropertyInterface(f.s)},_name:{value:x.nm}}),o.mn=x.mn,o}function u(x,y,C){function o(l){return x.r.ix===l||l==="Round Corners 1"?o.radius:null}var p=propertyGroupFactory(o,C),f=y;return o.propertyIndex=x.ix,f.rd.setGroupProperty(PropertyInterface("Radius",p)),Object.defineProperties(o,{radius:{get:ExpressionPropertyInterface(f.rd)},_name:{value:x.nm}}),o.mn=x.mn,o}function k(x,y,C){function o(l){return x.c.ix===l||l==="Copies"?o.copies:x.o.ix===l||l==="Offset"?o.offset:null}var p=propertyGroupFactory(o,C),f=y;return o.propertyIndex=x.ix,f.c.setGroupProperty(PropertyInterface("Copies",p)),f.o.setGroupProperty(PropertyInterface("Offset",p)),Object.defineProperties(o,{copies:{get:ExpressionPropertyInterface(f.c)},offset:{get:ExpressionPropertyInterface(f.o)},_name:{value:x.nm}}),o.mn=x.mn,o}return function(x,y,C){var o;function p(l){if(typeof l=="number")return l=l===void 0?1:l,l===0?C:o[l-1];for(var g=0,b=o.length;g<b;){if(o[g]._name===l)return o[g];g+=1}return null}function f(){return C}return p.propertyGroup=propertyGroupFactory(p,f),o=t(x,y,p.propertyGroup),p.numProperties=o.length,p._name="Contents",p}}(),TextExpressionInterface=function(){return function(t){var e,r;function i(s){switch(s){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var a=t.textProperty.currentData.t;return a!==e&&(t.textProperty.currentData.t=e,r=new String(a),r.value=a||new String(a)),r}}),i}}(),getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r=t.ef||[];this.effectElements=[];var i,s=r.length,a;for(i=0;i<s;i+=1)a=new GroupEffect(r[i],e),this.effectElements.push(a)}function GroupEffect(t,e){this.init(t,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,i=this.data.ef.length,s,a=this.data.ef;for(r=0;r<i;r+=1){switch(s=null,a[r].ty){case 0:s=new SliderEffect(a[r],e,this);break;case 1:s=new AngleEffect(a[r],e,this);break;case 2:s=new ColorEffect(a[r],e,this);break;case 3:s=new PointEffect(a[r],e,this);break;case 4:case 7:s=new CheckboxEffect(a[r],e,this);break;case 10:s=new LayerIndexEffect(a[r],e,this);break;case 11:s=new MaskIndexEffect(a[r],e,this);break;case 5:s=new EffectsManager(a[r],e);break;default:s=new NoValueEffect(a[r]);break}s&&this.effectElements.push(s)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,r=this.data.masksProperties.length;e<r;){if(this.data.masksProperties[e].mode!=="n"&&this.data.masksProperties[e].cl!==!1)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),this.data.ty===0||this.data.xt?this.compInterface=CompExpressionInterface(this):this.data.ty===4?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var e=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=e},initBaseData:function(e,r,i){this.globalData=r,this.comp=i,this.data=e,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(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,r){var i,s=this.dynamicProperties.length;for(i=0;i<s;i+=1)(r||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&this.dynamicProperties.push(e)}};function _typeof$2(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(r){return typeof r}:_typeof$2=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$2(t)}var FootageInterface=function(){var t=function(i){var s="",a=i.getFootageData();function n(){return s="",a=i.getFootageData(),c}function c(m){if(a[m])return s=m,a=a[m],_typeof$2(a)==="object"?c:a;var d=m.indexOf(s);if(d!==-1){var E=parseInt(m.substr(d+s.length),10);return a=a[E],_typeof$2(a)==="object"?c:a}return""}return n},e=function(i){function s(a){return a==="Outline"?s.outlineInterface():null}return s._name="Outline",s.outlineInterface=t(i),s};return function(r){function i(s){return s==="Data"?i.dataInterface:null}return i._name="Data",i.dataInterface=e(r),i}}();function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(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(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(t){var e,r=this.layers.length,i;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(i=this.layers[e],i.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:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,r=t.length,i,s=this.layers.length;for(e=0;e<r;e+=1)for(i=0;i<s;){if(this.layers[i].id===t[e].id){this.layers[i]=t[e];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,s=this.layers,a=0,n=s.length;a<n;)s[a].ind==e&&(!i[a]||i[a]===!0?(this.buildItem(a),this.addPendingElement(t)):(r.push(i[a]),i[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(t,s[a].parent,r):t.setHierarchy(r))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementByPath=function(t){var e=t.shift(),r;if(typeof e=="number")r=this.elements[e];else{var i,s=this.elements.length;for(i=0;i<s;i+=1)if(this.elements[i].data.nm===e){r=this.elements[i];break}}return t.length===0?r:r.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};function TransformElement(){}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 e,r=this.finalTransform.mat,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,r.cloneFromProps(e),i=0;i<s;i+=1)e=this.hierarchy[i].finalTransform.mProp.v.props,r.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var r=[];r.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&r.splice(0,0,s.finalTransform),s=s.comp):i=!1;var a,n=r.length,c;for(a=0;a<n;a+=1)c=r[a].mat.applyToPointArray(0,0,0),e=[e[0]-c[0],e[1]-c[1],0];return e},mHelper:new Matrix};function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i=this.globalData.defs,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var n,c=this.masksProperties,m=0,d=[],E,_,u=createElementID(),k,x,y,C,o="clipPath",p="clip-path";for(s=0;s<a;s+=1)if((c[s].mode!=="a"&&c[s].mode!=="n"||c[s].inv||c[s].o.k!==100||c[s].o.x)&&(o="mask",p="mask"),(c[s].mode==="s"||c[s].mode==="i")&&m===0?(k=createNS("rect"),k.setAttribute("fill","#ffffff"),k.setAttribute("width",this.element.comp.data.w||0),k.setAttribute("height",this.element.comp.data.h||0),d.push(k)):k=null,n=createNS("path"),c[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,c[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,c[s],3),elem:n,lastPath:""},i.appendChild(n);else{m+=1,n.setAttribute("fill",c[s].mode==="s"?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero");var f;if(c[s].x.k!==0?(o="mask",p="mask",C=PropertyFactory.getProp(this.element,c[s].x,0,null,this.element),f=createElementID(),x=createNS("filter"),x.setAttribute("id",f),y=createNS("feMorphology"),y.setAttribute("operator","erode"),y.setAttribute("in","SourceGraphic"),y.setAttribute("radius","0"),x.appendChild(y),i.appendChild(x),n.setAttribute("stroke",c[s].mode==="s"?"#000000":"#ffffff")):(y=null,C=null),this.storedData[s]={elem:n,x:C,expan:y,lastPath:"",lastOperator:"",filterId:f,lastRadius:0},c[s].mode==="i"){_=d.length;var l=createNS("g");for(E=0;E<_;E+=1)l.appendChild(d[E]);var g=createNS("mask");g.setAttribute("mask-type","alpha"),g.setAttribute("id",u+"_"+m),g.appendChild(n),i.appendChild(g),l.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+m+")"),d.length=0,d.push(l)}else d.push(n);c[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,c[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,c[s],3),invRect:k},this.viewData[s].prop.k||this.drawPath(c[s],this.viewData[s].prop.v,this.viewData[s])}for(this.maskElement=createNS(o),a=d.length,s=0;s<a;s+=1)this.maskElement.appendChild(d[s]);m>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(p,"url("+getLocationHref()+"#"+u+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r<i;r+=1)if((this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),this.masksProperties[r].mode!=="n"&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||t))){var s=this.storedData[r].expan;this.storedData[r].x.v<0?(this.storedData[r].lastOperator!=="erode"&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),s.setAttribute("radius",-this.storedData[r].x.v)):(this.storedData[r].lastOperator!=="dilate"&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",this.storedData[r].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,r){var i=" M"+e.v[0][0]+","+e.v[0][1],s,a;for(a=e._length,s=1;s<a;s+=1)i+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[s][0]+","+e.i[s][1]+" "+e.v[s][0]+","+e.v[s][1];if(e.c&&a>1&&(i+=" 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]),r.lastPath!==i){var n="";r.elem&&(e.c&&(n=t.inv?this.solidPath+i:i),r.elem.setAttribute("d",n)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(i,s){var a=createNS("filter");return a.setAttribute("id",i),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return t}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,r="SourceGraphic",i=t.data.ef?t.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),n=0;this.filters=[];var c;for(e=0;e<i;e+=1){c=null;var m=t.data.ef[e].ty;if(registeredEffects[m]){var d=registeredEffects[m].effect;c=new d(a,t.effectsManager.effectElements[e],t,idPrefix+n,r),r=idPrefix+n,registeredEffects[m].countsAsEffect&&(n+=1)}c&&this.filters.push(c)}n&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&t.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)};function registerEffect(t,e,r){registeredEffects[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}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 e=null,r,i,s;if(this.data.td){if(this.data.td==3||this.data.td==1){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type",this.data.td==3?"luminance":"alpha"),a.appendChild(this.layerElement),e=a,this.globalData.defs.appendChild(a),!featureSupport.maskType&&this.data.td==1&&(a.setAttribute("mask-type","luminance"),r=createElementID(),i=filtersFactory.createFilter(r),this.globalData.defs.appendChild(i),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),s=createNS("g"),s.appendChild(this.layerElement),e=s,a.appendChild(s),s.setAttribute("filter","url("+getLocationHref()+"#"+r+")"))}else if(this.data.td==2){var n=createNS("mask");n.setAttribute("id",this.layerId),n.setAttribute("mask-type","alpha");var c=createNS("g");n.appendChild(c),r=createElementID(),i=filtersFactory.createFilter(r);var m=createNS("feComponentTransfer");m.setAttribute("in","SourceGraphic"),i.appendChild(m);var d=createNS("feFuncA");d.setAttribute("type","table"),d.setAttribute("tableValues","1.0 0.0"),m.appendChild(d),this.globalData.defs.appendChild(i);var E=createNS("rect");E.setAttribute("width",this.comp.data.w),E.setAttribute("height",this.comp.data.h),E.setAttribute("x","0"),E.setAttribute("y","0"),E.setAttribute("fill","#ffffff"),E.setAttribute("opacity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+r+")"),c.appendChild(E),c.appendChild(this.layerElement),e=c,featureSupport.maskType||(n.setAttribute("mask-type","luminance"),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),s=createNS("g"),c.appendChild(E),s.appendChild(this.layerElement),e=s,c.appendChild(s)),this.globalData.defs.appendChild(n)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=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),this.data.ty===0&&!this.data.hd){var _=createNS("clipPath"),u=createNS("path");u.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var k=createElementID();if(_.setAttribute("id",k),_.appendChild(u),this.globalData.defs.appendChild(_),this.checkMasks()){var x=createNS("g");x.setAttribute("clip-path","url("+getLocationHref()+"#"+k+")"),x.appendChild(this.layerElement),this.transformedElement=x,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+k+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(e){!this.matteElement||this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var t={initElement:function(r,i,s){this.initFrame(),this.initBaseData(r,i,s),this.initTransform(r,i,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var r=this.baseElement||this.layerElement;r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var r=this.baseElement||this.layerElement;r.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(r){this._mdf=!1,this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)})();function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(e){var r,i=this.shapeModifiers.length;for(r=0;r<i;r+=1)this.shapeModifiers[r].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var r=0,i=this.shapeModifiers.length;r<i;)if(this.shapeModifiers[r].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(!!this.shapeModifiers.length){var e,r=this.shapes.length;for(e=0;e<r;e+=1)this.shapes[e].sh.reset();r=this.shapeModifiers.length;var i;for(e=r-1;e>=0&&(i=this.shapeModifiers[e].processShapes(this._isFirstFrame),!i);e-=1);}},searchProcessedElement:function(e){for(var r=this.processedElements,i=0,s=r.length;i<s;){if(r[i].elem===e)return r[i].pos;i+=1}return 0},addProcessedElement:function(e,r){for(var i=this.processedElements,s=i.length;s;)if(s-=1,i[s].elem===e){i[s].pos=r;return}i.push(new ProcessedElement(e,r))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,s=t.length;i<s;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(t,e,r,i){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,a=e.length||0,n;for(s=0;s<a;s+=1)n=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=n.k||this.k,this.dataProps[s]={n:e[s].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<r;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var i=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2,s;r<i;){if(s=Math.abs(t[r*4]-t[e*4+r*2]),s>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r=this.data.p*4,i,s;for(e=0;e<r;e+=1)i=e%4===0?100:255,s=Math.round(this.prop.v[e]*i),this.c[e]!==s&&(this.c[e]=s,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=this.data.p*4;e<r;e+=1)i=e%2===0?100:1,s=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==s&&(this.o[e-this.data.p*4]=s,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(e.t===1?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s=[],a,n,c;for(c=e.g.p*4,n=0;n<c;n+=4)a=createNS("stop"),i.appendChild(a),s.push(a);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,s,a=createNS("mask"),n=createNS("path");a.appendChild(n);var c=createElementID(),m=createElementID();a.setAttribute("id",m);var d=createNS(t.t===1?"linearGradient":"radialGradient");d.setAttribute("id",c),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var E=this.stops;for(i=t.g.p*4;i<s;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(r),E.push(r);n.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+c+")"),t.ty==="gs"&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&n.setAttribute("stroke-miterlimit",t.ml)),this.of=d,this.ms=a,this.ost=E,this.maskId=m,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(e,r,i,s){if(r===0)return"";var a=e.o,n=e.i,c=e.v,m,d=" M"+s.applyToPointStringified(c[0][0],c[0][1]);for(m=1;m<r;m+=1)d+=" C"+s.applyToPointStringified(a[m-1][0],a[m-1][1])+" "+s.applyToPointStringified(n[m][0],n[m][1])+" "+s.applyToPointStringified(c[m][0],c[m][1]);return i&&r&&(d+=" C"+s.applyToPointStringified(a[m-1][0],a[m-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(c[0][0],c[0][1]),d+="z"),d},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,r={createRenderFunction:i};function i(_){switch(_.ty){case"fl":return c;case"gf":return d;case"gs":return m;case"st":return E;case"sh":case"el":case"rc":case"sr":return n;case"tr":return s;case"no":return a;default:return null}}function s(_,u,k){(k||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(k||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS())}function a(){}function n(_,u,k){var x,y,C,o,p,f,l=u.styles.length,g=u.lvl,b,A,P,I,G;for(f=0;f<l;f+=1){if(o=u.sh._mdf||k,u.styles[f].lvl<g){for(A=e.reset(),I=g-u.styles[f].lvl,G=u.transformers.length-1;!o&&I>0;)o=u.transformers[G].mProps._mdf||o,I-=1,G-=1;if(o)for(I=g-u.styles[f].lvl,G=u.transformers.length-1;I>0;)P=u.transformers[G].mProps.v.props,A.transform(P[0],P[1],P[2],P[3],P[4],P[5],P[6],P[7],P[8],P[9],P[10],P[11],P[12],P[13],P[14],P[15]),I-=1,G-=1}else A=t;if(b=u.sh.paths,y=b._length,o){for(C="",x=0;x<y;x+=1)p=b.shapes[x],p&&p._length&&(C+=buildShapeString(p,p._length,p.c,A));u.caches[f]=C}else C=u.caches[f];u.styles[f].d+=_.hd===!0?"":C,u.styles[f]._mdf=o||u.styles[f]._mdf}}function c(_,u,k){var x=u.style;(u.c._mdf||k)&&x.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||k)&&x.pElem.setAttribute("fill-opacity",u.o.v)}function m(_,u,k){d(_,u,k),E(_,u,k)}function d(_,u,k){var x=u.gf,y=u.g._hasOpacity,C=u.s.v,o=u.e.v;if(u.o._mdf||k){var p=_.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(p,u.o.v)}if(u.s._mdf||k){var f=_.t===1?"x1":"cx",l=f==="x1"?"y1":"cy";x.setAttribute(f,C[0]),x.setAttribute(l,C[1]),y&&!u.g._collapsable&&(u.of.setAttribute(f,C[0]),u.of.setAttribute(l,C[1]))}var g,b,A,P;if(u.g._cmdf||k){g=u.cst;var I=u.g.c;for(A=g.length,b=0;b<A;b+=1)P=g[b],P.setAttribute("offset",I[b*4]+"%"),P.setAttribute("stop-color","rgb("+I[b*4+1]+","+I[b*4+2]+","+I[b*4+3]+")")}if(y&&(u.g._omdf||k)){var G=u.g.o;for(u.g._collapsable?g=u.cst:g=u.ost,A=g.length,b=0;b<A;b+=1)P=g[b],u.g._collapsable||P.setAttribute("offset",G[b*2]+"%"),P.setAttribute("stop-opacity",G[b*2+1])}if(_.t===1)(u.e._mdf||k)&&(x.setAttribute("x2",o[0]),x.setAttribute("y2",o[1]),y&&!u.g._collapsable&&(u.of.setAttribute("x2",o[0]),u.of.setAttribute("y2",o[1])));else{var L;if((u.s._mdf||u.e._mdf||k)&&(L=Math.sqrt(Math.pow(C[0]-o[0],2)+Math.pow(C[1]-o[1],2)),x.setAttribute("r",L),y&&!u.g._collapsable&&u.of.setAttribute("r",L)),u.e._mdf||u.h._mdf||u.a._mdf||k){L||(L=Math.sqrt(Math.pow(C[0]-o[0],2)+Math.pow(C[1]-o[1],2)));var D=Math.atan2(o[1]-C[1],o[0]-C[0]),O=u.h.v;O>=1?O=.99:O<=-1&&(O=-.99);var z=L*O,B=Math.cos(D+u.a.v)*z+C[0],M=Math.sin(D+u.a.v)*z+C[1];x.setAttribute("fx",B),x.setAttribute("fy",M),y&&!u.g._collapsable&&(u.of.setAttribute("fx",B),u.of.setAttribute("fy",M))}}}function E(_,u,k){var x=u.style,y=u.d;y&&(y._mdf||k)&&y.dashStr&&(x.pElem.setAttribute("stroke-dasharray",y.dashStr),x.pElem.setAttribute("stroke-dashoffset",y.dashoffset[0])),u.c&&(u.c._mdf||k)&&x.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||k)&&x.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||k)&&(x.pElem.setAttribute("stroke-width",u.w.v),x.msElem&&x.msElem.setAttribute("stroke-width",u.w.v))}return r}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}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=this.shapes.length,r,i,s=this.stylesList.length,a,n=[],c=!1;for(i=0;i<s;i+=1){for(a=this.stylesList[i],c=!1,n.length=0,t=0;t<e;t+=1)r=this.shapes[t],r.styles.indexOf(a)!==-1&&(n.push(r),c=r._isAnimated||c);n.length>1&&c&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),s=i.pElem;if(t.ty==="st")r=new SVGStrokeStyleData(this,t,i);else if(t.ty==="fl")r=new SVGFillStyleData(this,t,i);else if(t.ty==="gf"||t.ty==="gs"){var a=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new a(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),s.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else t.ty==="no"&&(r=new SVGNoStyleData(this,t,i));return(t.ty==="st"||t.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),t.lj===1&&s.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;t.ty==="rc"?i=5:t.ty==="el"?i=6:t.ty==="sr"&&(i=7);var s=ShapePropertyFactory.getShapeProp(this,t,i,this),a=new SVGShapeData(e,r,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e=t.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)this.stylesList[r].closed||e.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,s,a,n){var c=[].concat(a),m,d=t.length-1,E,_,u=[],k=[],x,y,C;for(m=d;m>=0;m-=1){if(C=this.searchProcessedElement(t[m]),C?e[m]=r[C-1]:t[m]._render=n,t[m].ty==="fl"||t[m].ty==="st"||t[m].ty==="gf"||t[m].ty==="gs"||t[m].ty==="no")C?e[m].style.closed=!1:e[m]=this.createStyleElement(t[m],s),t[m]._render&&e[m].style.pElem.parentNode!==i&&i.appendChild(e[m].style.pElem),u.push(e[m].style);else if(t[m].ty==="gr"){if(!C)e[m]=this.createGroupElement(t[m]);else for(_=e[m].it.length,E=0;E<_;E+=1)e[m].prevViewData[E]=e[m].it[E];this.searchShapes(t[m].it,e[m].it,e[m].prevViewData,e[m].gr,s+1,c,n),t[m]._render&&e[m].gr.parentNode!==i&&i.appendChild(e[m].gr)}else t[m].ty==="tr"?(C||(e[m]=this.createTransformElement(t[m],i)),x=e[m].transform,c.push(x)):t[m].ty==="sh"||t[m].ty==="rc"||t[m].ty==="el"||t[m].ty==="sr"?(C||(e[m]=this.createShapeElement(t[m],c,s)),this.setElementStyles(e[m])):t[m].ty==="tm"||t[m].ty==="rd"||t[m].ty==="ms"||t[m].ty==="pb"?(C?(y=e[m],y.closed=!1):(y=ShapeModifiers.getModifier(t[m].ty),y.init(this,t[m]),e[m]=y,this.shapeModifiers.push(y)),k.push(y)):t[m].ty==="rp"&&(C?(y=e[m],y.closed=!0):(y=ShapeModifiers.getModifier(t[m].ty),e[m]=y,y.init(this,t,m,e),this.shapeModifiers.push(y),n=!1),k.push(y));this.addProcessedElement(t[m],m+1)}for(d=u.length,m=0;m<d;m+=1)u[m].closed=!0;for(d=k.length,m=0;m<d;m+=1)k[m].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e=this.animatedContents.length,r;for(t=0;t<e;t+=1)r=this.animatedContents[t],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(t,e,r,i,s,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(t,e,r,i,s,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var n=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,n=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,n=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,n=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,n=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,n=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,n=!0),n};function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)r!==this.keysIndex?a=this.effectsSequence[i](a,a.t):a=this.effectsSequence[i](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&!(r===i-1||t[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],r=0,i=t.length,s,a,n=!1;r<i;)s=t.charCodeAt(r),FontManager.isCombinedCharacter(s)?e[e.length-1]+=t.charAt(r):s>=55296&&s<=56319?(a=t.charCodeAt(r+1),a>=56320&&a<=57343?(n||FontManager.isModifier(s,a)?(e[e.length-1]+=t.substr(r,2),n=!1):e.push(t.substr(r,2)),r+=1):e.push(t.charAt(r))):s>56319?(a=t.charCodeAt(r+1),FontManager.isZeroWidthJoiner(s,a)?(n=!0,e[e.length-1]+=t.substr(r,2),r+=1):e.push(t.charAt(r))):FontManager.isZeroWidthJoiner(s)?(e[e.length-1]+=t.charAt(r),n=!0):e.push(t.charAt(r)),r+=1;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,i=[],s,a,n,c=0,m,d=r.m.g,E=0,_=0,u=0,k=[],x=0,y=0,C,o,p=e.getFontByName(t.f),f,l=0,g=getFontProperties(p);t.fWeight=g.weight,t.fStyle=g.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var b=t.tr/1e3*t.finalSize,A;if(t.sz)for(var P=!0,I=t.sz[0],G=t.sz[1],L,D;P;){D=this.buildFinalText(t.t),L=0,x=0,a=D.length,b=t.tr/1e3*t.finalSize;var O=-1;for(s=0;s<a;s+=1)A=D[s].charCodeAt(0),n=!1,D[s]===" "?O=s:(A===13||A===3)&&(x=0,n=!0,L+=t.finalLineHeight||t.finalSize*1.2),e.chars?(f=e.getCharData(D[s],p.fStyle,p.fFamily),l=n?0:f.w*t.finalSize/100):l=e.measureText(D[s],t.f,t.finalSize),x+l>I&&D[s]!==" "?(O===-1?a+=1:s=O,L+=t.finalLineHeight||t.finalSize*1.2,D.splice(s,O===s?1:0,"\r"),O=-1,x=0):(x+=l,x+=b);L+=p.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&G<L?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=D,a=t.finalText.length,P=!1)}x=-b,l=0;var z=0,B;for(s=0;s<a;s+=1)if(n=!1,B=t.finalText[s],A=B.charCodeAt(0),A===13||A===3?(z=0,k.push(x),y=x>y?x:y,x=-2*b,m="",n=!0,u+=1):m=B,e.chars?(f=e.getCharData(B,p.fStyle,e.getFontByName(t.f).fFamily),l=n?0:f.w*t.finalSize/100):l=e.measureText(m,t.f,t.finalSize),B===" "?z+=l+b:(x+=l+b+z,z=0),i.push({l,an:l,add:E,n,anIndexes:[],val:m,line:u,animatorJustifyOffset:0}),d==2){if(E+=l,m===""||m===" "||s===a-1){for((m===""||m===" ")&&(E-=l);_<=s;)i[_].an=E,i[_].ind=c,i[_].extra=l,_+=1;c+=1,E=0}}else if(d==3){if(E+=l,m===""||s===a-1){for(m===""&&(E-=l);_<=s;)i[_].an=E,i[_].ind=c,i[_].extra=l,_+=1;E=0,c+=1}}else i[c].ind=c,i[c].extra=0,c+=1;if(t.l=i,y=x>y?x:y,k.push(x),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=k;var M=r.a,T,S;o=M.length;var F,R,V=[];for(C=0;C<o;C+=1){for(T=M[C],T.a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),R=0,F=T.s.b,s=0;s<a;s+=1)S=i[s],S.anIndexes[C]=R,(F==1&&S.val!==""||F==2&&S.val!==""&&S.val!==" "||F==3&&(S.n||S.val==" "||s==a-1)||F==4&&(S.n||s==a-1))&&(T.s.rn===1&&V.push(R),R+=1);r.a[C].s.totalChars=R;var N=-1,j;if(T.s.rn===1)for(s=0;s<a;s+=1)S=i[s],N!=S.anIndexes[C]&&(N=S.anIndexes[C],j=V.splice(Math.floor(Math.random()*V.length),1)[0]),S.anIndexes[C]=j}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=p.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=e===void 0?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(a,n){this._currentTextLength=-1,this.k=!1,this.data=n,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,n.s||{k:0},0,0,this),"e"in n?this.e=PropertyFactory.getProp(a,n.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,n.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,n.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,n.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,n.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,n.a,0,.01,this),this.dynamicProperties.length||this.getValue()}i.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var c=0,m=0,d=1,E=1;this.ne.v>0?c=this.ne.v/100:m=-this.ne.v/100,this.xe.v>0?d=1-this.xe.v/100:E=1+this.xe.v/100;var _=BezierFactory.getBezierEasing(c,m,d,E).get,u=0,k=this.finalS,x=this.finalE,y=this.data.sh;if(y===2)x===k?u=n>=x?1:0:u=t(0,e(.5/(x-k)+(n-k)/(x-k),1)),u=_(u);else if(y===3)x===k?u=n>=x?0:1:u=1-t(0,e(.5/(x-k)+(n-k)/(x-k),1)),u=_(u);else if(y===4)x===k?u=0:(u=t(0,e(.5/(x-k)+(n-k)/(x-k),1)),u<.5?u*=2:u=1-2*(u-.5)),u=_(u);else if(y===5){if(x===k)u=0;else{var C=x-k;n=e(t(0,n+.5-k),x-k);var o=-C/2+n,p=C/2;u=Math.sqrt(1-o*o/(p*p))}u=_(u)}else y===6?(x===k?u=0:(n=e(t(0,n+.5-k),x-k),u=(1+Math.cos(Math.PI+Math.PI*2*n/(x-k)))/2),u=_(u)):(n>=r(k)&&(n-k<0?u=t(0,e(e(x,1)-(k-n),1)):u=t(0,e(x-n,1))),u=_(u));if(this.sm.v!==100){var f=this.sm.v*.01;f===0&&(f=1e-8);var l=.5-f*.5;u<l?u=0:(u=(u-l)/f,u>1&&(u=1))}return u*this.a.v},getValue:function(n){this.iterateDynamicProperties(),this._mdf=n||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,n&&this.data.r===2&&(this.e.v=this._currentTextLength);var c=this.data.r===2?1:100/this.data.totalChars,m=this.o.v/c,d=this.s.v/c+m,E=this.e.v/c+m;if(d>E){var _=d;d=E,E=_}this.finalS=d,this.finalE=E}},extendPrototype([DynamicPropertyContainer],i);function s(a,n,c){return new i(a,n)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,r):i,rx:a.rx?s(t,a.rx,0,degToRads,r):i,ry:a.ry?s(t,a.ry,0,degToRads,r):i,sk:a.sk?s(t,a.sk,0,degToRads,r):i,sa:a.sa?s(t,a.sa,0,degToRads,r):i,s:a.s?s(t,a.s,1,.01,r):i,a:a.a?s(t,a.a,1,0,r):i,o:a.o?s(t,a.o,0,.01,r):i,p:a.p?s(t,a.p,1,0,r):i,sw:a.sw?s(t,a.sw,0,0,r):i,sc:a.sc?s(t,a.sc,1,0,r):i,fc:a.fc?s(t,a.fc,1,0,r):i,fh:a.fh?s(t,a.fh,0,0,r):i,fs:a.fs?s(t,a.fs,0,.01,r):i,fb:a.fb?s(t,a.fb,0,.01,r):i,t:a.t?s(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,r,i=PropertyFactory.getProp;for(t=0;t<e;t+=1)r=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,r,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(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=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var r=this._moreOptions.alignment.v,i=this._animatorsData,s=this._textData,a=this.mHelper,n=this._renderType,c=this.renderedLetters.length,m,d,E,_,u=t.l,k,x,y,C,o,p,f,l,g,b,A,P,I,G,L;if(this._hasMaskedPath){if(L=this._pathData.m,!this._pathData.n||this._pathData._mdf){var D=L.v;this._pathData.r.v&&(D=D.reverse()),k={tLength:0,segments:[]},_=D._length-1;var O;for(P=0,E=0;E<_;E+=1)O=bez.buildBezierData(D.v[E],D.v[E+1],[D.o[E][0]-D.v[E][0],D.o[E][1]-D.v[E][1]],[D.i[E+1][0]-D.v[E+1][0],D.i[E+1][1]-D.v[E+1][1]]),k.tLength+=O.segmentLength,k.segments.push(O),P+=O.segmentLength;E=_,L.v.c&&(O=bez.buildBezierData(D.v[E],D.v[0],[D.o[E][0]-D.v[E][0],D.o[E][1]-D.v[E][1]],[D.i[0][0]-D.v[0][0],D.i[0][1]-D.v[0][1]]),k.tLength+=O.segmentLength,k.segments.push(O),P+=O.segmentLength),this._pathData.pi=k}if(k=this._pathData.pi,x=this._pathData.f.v,f=0,p=1,C=0,o=!0,b=k.segments,x<0&&L.v.c)for(k.tLength<Math.abs(x)&&(x=-Math.abs(x)%k.tLength),f=b.length-1,g=b[f].points,p=g.length-1;x<0;)x+=g[p].partialLength,p-=1,p<0&&(f-=1,g=b[f].points,p=g.length-1);g=b[f].points,l=g[p-1],y=g[p],A=y.partialLength}_=u.length,m=0,d=0;var z=t.finalSize*1.2*.714,B=!0,M,T,S,F,R;F=i.length;var V,N=-1,j,W,Y,q=x,Z=f,K=p,$=-1,U,Q,J,H,X,st,ht,at,it="",nt=this.defaultPropsArray,ot;if(t.j===2||t.j===1){var tt=0,lt=0,ft=t.j===2?-.5:-1,et=0,pt=!0;for(E=0;E<_;E+=1)if(u[E].n){for(tt&&(tt+=lt);et<E;)u[et].animatorJustifyOffset=tt,et+=1;tt=0,pt=!0}else{for(S=0;S<F;S+=1)M=i[S].a,M.t.propType&&(pt&&t.j===2&&(lt+=M.t.v*ft),T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),V.length?tt+=M.t.v*V[0]*ft:tt+=M.t.v*V*ft);pt=!1}for(tt&&(tt+=lt);et<E;)u[et].animatorJustifyOffset=tt,et+=1}for(E=0;E<_;E+=1){if(a.reset(),U=1,u[E].n)m=0,d+=t.yOffset,d+=B?1:0,x=q,B=!1,this._hasMaskedPath&&(f=Z,p=K,g=b[f].points,l=g[p-1],y=g[p],A=y.partialLength,C=0),it="",at="",st="",ot="",nt=this.defaultPropsArray;else{if(this._hasMaskedPath){if($!==u[E].line){switch(t.j){case 1:x+=P-t.lineWidths[u[E].line];break;case 2:x+=(P-t.lineWidths[u[E].line])/2;break}$=u[E].line}N!==u[E].ind&&(u[N]&&(x+=u[N].extra),x+=u[E].an/2,N=u[E].ind),x+=r[0]*u[E].an*.005;var rt=0;for(S=0;S<F;S+=1)M=i[S].a,M.p.propType&&(T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),V.length?rt+=M.p.v[0]*V[0]:rt+=M.p.v[0]*V),M.a.propType&&(T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),V.length?rt+=M.a.v[0]*V[0]:rt+=M.a.v[0]*V);for(o=!0,this._pathData.a.v&&(x=u[0].an*.5+(P-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*N/(_-1),x+=this._pathData.f.v);o;)C+A>=x+rt||!g?(I=(x+rt-C)/y.partialLength,W=l.point[0]+(y.point[0]-l.point[0])*I,Y=l.point[1]+(y.point[1]-l.point[1])*I,a.translate(-r[0]*u[E].an*.005,-(r[1]*z)*.01),o=!1):g&&(C+=y.partialLength,p+=1,p>=g.length&&(p=0,f+=1,b[f]?g=b[f].points:L.v.c?(p=0,f=0,g=b[f].points):(C-=y.partialLength,g=null)),g&&(l=y,y=g[p],A=y.partialLength));j=u[E].an/2-u[E].add,a.translate(-j,0,0)}else j=u[E].an/2-u[E].add,a.translate(-j,0,0),a.translate(-r[0]*u[E].an*.005,-r[1]*z*.01,0);for(S=0;S<F;S+=1)M=i[S].a,M.t.propType&&(T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),(m!==0||t.j!==0)&&(this._hasMaskedPath?V.length?x+=M.t.v*V[0]:x+=M.t.v*V:V.length?m+=M.t.v*V[0]:m+=M.t.v*V));for(t.strokeWidthAnim&&(J=t.sw||0),t.strokeColorAnim&&(t.sc?Q=[t.sc[0],t.sc[1],t.sc[2]]:Q=[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),S=0;S<F;S+=1)M=i[S].a,M.a.propType&&(T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),V.length?a.translate(-M.a.v[0]*V[0],-M.a.v[1]*V[1],M.a.v[2]*V[2]):a.translate(-M.a.v[0]*V,-M.a.v[1]*V,M.a.v[2]*V));for(S=0;S<F;S+=1)M=i[S].a,M.s.propType&&(T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),V.length?a.scale(1+(M.s.v[0]-1)*V[0],1+(M.s.v[1]-1)*V[1],1):a.scale(1+(M.s.v[0]-1)*V,1+(M.s.v[1]-1)*V,1));for(S=0;S<F;S+=1){if(M=i[S].a,T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),M.sk.propType&&(V.length?a.skewFromAxis(-M.sk.v*V[0],M.sa.v*V[1]):a.skewFromAxis(-M.sk.v*V,M.sa.v*V)),M.r.propType&&(V.length?a.rotateZ(-M.r.v*V[2]):a.rotateZ(-M.r.v*V)),M.ry.propType&&(V.length?a.rotateY(M.ry.v*V[1]):a.rotateY(M.ry.v*V)),M.rx.propType&&(V.length?a.rotateX(M.rx.v*V[0]):a.rotateX(M.rx.v*V)),M.o.propType&&(V.length?U+=(M.o.v*V[0]-U)*V[0]:U+=(M.o.v*V-U)*V),t.strokeWidthAnim&&M.sw.propType&&(V.length?J+=M.sw.v*V[0]:J+=M.sw.v*V),t.strokeColorAnim&&M.sc.propType)for(X=0;X<3;X+=1)V.length?Q[X]+=(M.sc.v[X]-Q[X])*V[0]:Q[X]+=(M.sc.v[X]-Q[X])*V;if(t.fillColorAnim&&t.fc){if(M.fc.propType)for(X=0;X<3;X+=1)V.length?H[X]+=(M.fc.v[X]-H[X])*V[0]:H[X]+=(M.fc.v[X]-H[X])*V;M.fh.propType&&(V.length?H=addHueToRGB(H,M.fh.v*V[0]):H=addHueToRGB(H,M.fh.v*V)),M.fs.propType&&(V.length?H=addSaturationToRGB(H,M.fs.v*V[0]):H=addSaturationToRGB(H,M.fs.v*V)),M.fb.propType&&(V.length?H=addBrightnessToRGB(H,M.fb.v*V[0]):H=addBrightnessToRGB(H,M.fb.v*V))}}for(S=0;S<F;S+=1)M=i[S].a,M.p.propType&&(T=i[S].s,V=T.getMult(u[E].anIndexes[S],s.a[S].s.totalChars),this._hasMaskedPath?V.length?a.translate(0,M.p.v[1]*V[0],-M.p.v[2]*V[1]):a.translate(0,M.p.v[1]*V,-M.p.v[2]*V):V.length?a.translate(M.p.v[0]*V[0],M.p.v[1]*V[1],-M.p.v[2]*V[2]):a.translate(M.p.v[0]*V,M.p.v[1]*V,-M.p.v[2]*V));if(t.strokeWidthAnim&&(st=J<0?0:J),t.strokeColorAnim&&(ht="rgb("+Math.round(Q[0]*255)+","+Math.round(Q[1]*255)+","+Math.round(Q[2]*255)+")"),t.fillColorAnim&&t.fc&&(at="rgb("+Math.round(H[0]*255)+","+Math.round(H[1]*255)+","+Math.round(H[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-t.ls),a.translate(0,r[1]*z*.01+d,0),this._pathData.p.v){G=(y.point[1]-l.point[1])/(y.point[0]-l.point[0]);var ct=Math.atan(G)*180/Math.PI;y.point[0]<l.point[0]&&(ct+=180),a.rotate(-ct*Math.PI/180)}a.translate(W,Y,0),x-=r[0]*u[E].an*.005,u[E+1]&&N!==u[E+1].ind&&(x+=u[E].an/2,x+=t.tr*.001*t.finalSize)}else{switch(a.translate(m,d,0),t.ps&&a.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:a.translate(u[E].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[E].line]),0,0);break;case 2:a.translate(u[E].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[E].line])/2,0,0);break}a.translate(0,-t.ls),a.translate(j,0,0),a.translate(r[0]*u[E].an*.005,r[1]*z*.01,0),m+=u[E].l+t.tr*.001*t.finalSize}n==="html"?it=a.toCSS():n==="svg"?it=a.to2dCSS():nt=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],ot=U}c<=E?(R=new LetterProps(ot,st,ht,at,it,nt),this.renderedLetters.push(R),c+=1,this.lettersChangedFlag=!0):(R=this.renderedLetters[E],this.lettersChangedFlag=R.update(ot,st,ht,at,it,nt)||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);function ITextElement(){}ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,i=e.length,s,a="";for(r=0;r<i;r+=1)e[r].ty==="sh"&&(s=e[r].ks.k,a+=buildShapeString(s,s.i.length,!0,t));return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,s){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0);break}e.translate(i,s,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,i=[],s="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(s),s=""):s+=t[e],e+=1;return i.push(s),i},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var s=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",r.t);var n=r.l||[],c=!!this.globalData.fontManager.chars;e=n.length;var m,d=this.mHelper,E="",_=this.data.singleShape,u=0,k=0,x=!0,y=r.tr*.001*r.finalSize;if(_&&!c&&!r.sz){var C=this.textContainer,o="start";switch(r.j){case 1:o="end";break;case 2:o="middle";break;default:o="start";break}C.setAttribute("text-anchor",o),C.setAttribute("letter-spacing",y);var p=this.buildTextContents(r.finalText);for(e=p.length,k=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)m=this.textSpans[t].span||createNS("tspan"),m.textContent=p[t],m.setAttribute("x",0),m.setAttribute("y",k),m.style.display="inherit",C.appendChild(m),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=m,k+=r.finalLineHeight;this.layerElement.appendChild(C)}else{var f=this.textSpans.length,l;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!c||!_||t===0){if(m=f>t?this.textSpans[t].span:createNS(c?"g":"text"),f<=t){if(m.setAttribute("stroke-linecap","butt"),m.setAttribute("stroke-linejoin","round"),m.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=m,c){var g=createNS("g");m.appendChild(g),this.textSpans[t].childSpan=g}this.textSpans[t].span=m,this.layerElement.appendChild(m)}m.style.display="inherit"}if(d.reset(),_&&(n[t].n&&(u=-y,k+=r.yOffset,k+=x?1:0,x=!1),this.applyTextPropertiesToMatrix(r,d,n[t].line,u,k),u+=n[t].l||0,u+=y),c){l=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var b;if(l.t===1)b=new SVGCompElement(l.data,this.globalData,this);else{var A=emptyShapeData;l.data&&l.data.shapes&&(A=this.buildShapeData(l.data,r.finalSize)),b=new SVGShapeElement(A,this.globalData,this)}if(this.textSpans[t].glyph){var P=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(P.layerElement),P.destroy()}this.textSpans[t].glyph=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[t].childSpan.appendChild(b.layerElement),l.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else _&&m.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),m.textContent=n[t].val,m.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}_&&m&&m.setAttribute("d",E)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)r=this.textSpans[t].glyph,r&&(r.prepareFrame(this.comp.renderedFrame-this.data.st),r._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 t,e,r=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;e=i.length;var s,a,n;for(t=0;t<e;t+=1)i[t].n||(s=r[t],a=this.textSpans[t].span,n=this.textSpans[t].glyph,n&&n.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.fc))}};function ISolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.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),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var s=createElementID();r.setAttribute("id",s),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){e[t]=!0;var r=this.createItem(this.layers[t]);e[t]=r,getExpressionsPlugin()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt&&(!this.elements[t-1]||this.elements[t-1]===!0?(this.buildItem(t-1),this.addPendingElement(r)):r.setMatte(e[t-1].layerId))}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(!!r){for(var i=0,s;i<e;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&(s=this.elements[i].getBaseElement()),i+=1;s?this.layerElement.insertBefore(r,s):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),r+=s}if(e&&e.description){var a=createNS("desc"),n=createElementID();a.setAttribute("id",n),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+n}r&&this.svgElement.setAttribute("aria-labelledby",r);var c=createNS("defs");this.svgElement.appendChild(c);var m=createNS("g");this.svgElement.appendChild(m),this.layerElement=m,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height},this.globalData={_mdf:!1,frameNum:-1,defs:c,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function CVContextData(){this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var t,e=15;for(this.savedOp=createTypedArray("float32",e),t=0;t<e;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=e}CVContextData.prototype.duplicate=function(){var t=this._length*2,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var r=0;for(r=this._length;r<t;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(e){var r,i=e.length,s="_";for(r=0;r<i;r+=1)s+=e[r].transform.key+"_";var a=this.sequences[s];return a||(a={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[s]=a,this.sequenceList.push(a)),a},processSequence:function(e,r){for(var i=0,s=e.transforms.length,a=r;i<s&&!r;){if(e.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a){var n;for(e.finalTransform.reset(),i=s-1;i>=0;i-=1)n=e.transforms[i].transform.mProps.v.props,e.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15])}e._mdf=a},processSequences:function(e){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};function CVEffects(){}CVEffects.prototype.renderFrame=function(){};function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,s=!1;for(r=0;r<i;r+=1)this.masksProperties[r].mode!=="n"&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(!!this.hasMasks){var t=this.element.finalTransform.mat,e=this.element.canvasContext,r,i=this.masksProperties.length,s,a,n;for(e.beginPath(),r=0;r<i;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(e.moveTo(0,0),e.lineTo(this.element.globalData.compSize.w,0),e.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),e.lineTo(0,this.element.globalData.compSize.h),e.lineTo(0,0)),n=this.viewData[r].v,s=t.applyToPointArray(n.v[0][0],n.v[0][1],0),e.moveTo(s[0],s[1]);var c,m=n._length;for(c=1;c<m;c+=1)a=t.applyToTriplePoints(n.o[c-1],n.i[c],n.v[c]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=t.applyToTriplePoints(n.o[c-1],n.i[0],n.v[0]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),e.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=r}},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 e=this.data.ty===0;this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(e),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;function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;e.ty==="rc"?s=5:e.ty==="el"?s=6:e.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,s,t);var a,n=r.length,c;for(a=0;a<n;a+=1)r[a].closed||(c={transforms:i.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(c),r[a].elements.push(c))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}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 r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:t.hd===!0},i={};if(t.ty==="fl"||t.ty==="st"?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):(t.ty==="gf"||t.ty==="gs")&&(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.o=PropertyFactory.getProp(this,t.o,0,.01,this),t.ty==="st"||t.ty==="gs"){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],t.lj==1&&(r.ml=t.ml),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var s=new DashProperty(this,t.d,"canvas",this);i.d=s,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=t.r===2?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},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<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,s){var a,n=t.length-1,c,m,d=[],E=[],_,u,k,x=[].concat(s);for(a=n;a>=0;a-=1){if(_=this.searchProcessedElement(t[a]),_?e[a]=r[_-1]:t[a]._shouldRender=i,t[a].ty==="fl"||t[a].ty==="st"||t[a].ty==="gf"||t[a].ty==="gs")_?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],x),d.push(e[a].style);else if(t[a].ty==="gr"){if(!_)e[a]=this.createGroupElement(t[a]);else for(m=e[a].it.length,c=0;c<m;c+=1)e[a].prevViewData[c]=e[a].it[c];this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,i,x)}else t[a].ty==="tr"?(_||(k=this.createTransformElement(t[a]),e[a]=k),x.push(e[a]),this.addTransformToStyleList(e[a])):t[a].ty==="sh"||t[a].ty==="rc"||t[a].ty==="el"||t[a].ty==="sr"?_||(e[a]=this.createShapeElement(t[a])):t[a].ty==="tm"||t[a].ty==="rd"||t[a].ty==="pb"?(_?(u=e[a],u.closed=!1):(u=ShapeModifiers.getModifier(t[a].ty),u.init(this,t[a]),e[a]=u,this.shapeModifiers.push(u)),E.push(u)):t[a].ty==="rp"&&(_?(u=e[a],u.closed=!0):(u=ShapeModifiers.getModifier(t[a].ty),e[a]=u,u.init(this,t,a,e),this.shapeModifiers.push(u),i=!1),E.push(u));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),n=E.length,a=0;a<n;a+=1)E[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e=this.stylesList.length,r,i,s,a,n,c,m=this.globalData.renderer,d=this.globalData.canvasContext,E,_;for(t=0;t<e;t+=1)if(_=this.stylesList[t],E=_.type,!((E==="st"||E==="gs")&&_.wi===0||!_.data._shouldRender||_.coOp===0||this.globalData.currentGlobalAlpha===0)){for(m.save(),n=_.elements,E==="st"||E==="gs"?(d.strokeStyle=E==="st"?_.co:_.grd,d.lineWidth=_.wi,d.lineCap=_.lc,d.lineJoin=_.lj,d.miterLimit=_.ml||0):d.fillStyle=E==="fl"?_.co:_.grd,m.ctxOpacity(_.coOp),E!=="st"&&E!=="gs"&&d.beginPath(),m.ctxTransform(_.preTransforms.finalTransform.props),i=n.length,r=0;r<i;r+=1){for((E==="st"||E==="gs")&&(d.beginPath(),_.da&&(d.setLineDash(_.da),d.lineDashOffset=_.do)),c=n[r].trNodes,a=c.length,s=0;s<a;s+=1)c[s].t==="m"?d.moveTo(c[s].p[0],c[s].p[1]):c[s].t==="c"?d.bezierCurveTo(c[s].pts[0],c[s].pts[1],c[s].pts[2],c[s].pts[3],c[s].pts[4],c[s].pts[5]):d.closePath();(E==="st"||E==="gs")&&(d.stroke(),_.da&&d.setLineDash(this.dashResetter))}E!=="st"&&E!=="gs"&&d.fill(_.r),m.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var s,a=e.length-1,n;for(n=t,s=a;s>=0;s-=1)e[s].ty==="tr"?(n=r[s].transform,this.renderShapeTransform(t,n)):e[s].ty==="sh"||e[s].ty==="el"||e[s].ty==="rc"||e[s].ty==="sr"?this.renderPath(e[s],r[s]):e[s].ty==="fl"?this.renderFill(e[s],r[s],n):e[s].ty==="st"?this.renderStroke(e[s],r[s],n):e[s].ty==="gf"||e[s].ty==="gs"?this.renderGradientFill(e[s],r[s],n):e[s].ty==="gr"?this.renderShape(n,e[s].it,r[s].it):e[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r=t.trNodes,i=e.paths,s,a,n,c=i._length;r.length=0;var m=t.transforms.finalTransform;for(n=0;n<c;n+=1){var d=i.shapes[n];if(d&&d.v){for(a=d._length,s=1;s<a;s+=1)s===1&&r.push({t:"m",p:m.applyToPointArray(d.v[0][0],d.v[0][1],0)}),r.push({t:"c",pts:m.applyToTriplePoints(d.o[s-1],d.i[s],d.v[s])});a===1&&r.push({t:"m",p:m.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&a&&(r.push({t:"c",pts:m.applyToTriplePoints(d.o[s-1],d.i[0],d.v[0])}),r.push({t:"z"}))}}t.trNodes=r}},CVShapeElement.prototype.renderPath=function(t,e){if(t.hd!==!0&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i=e.style,s;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||t.t!==1&&(e.h._mdf||e.a._mdf)){var a=this.globalData.canvasContext,n=e.s.v,c=e.e.v;if(t.t===1)s=a.createLinearGradient(n[0],n[1],c[0],c[1]);else{var m=Math.sqrt(Math.pow(n[0]-c[0],2)+Math.pow(n[1]-c[1],2)),d=Math.atan2(c[1]-n[1],c[0]-n[0]),E=e.h.v;E>=1?E=.99:E<=-1&&(E=-.99);var _=m*E,u=Math.cos(d+e.a.v)*_+n[0],k=Math.sin(d+e.a.v)*_+n[1];s=a.createRadialGradient(u,k,0,n[0],n[1],m)}var x,y=t.g.p,C=e.g.c,o=1;for(x=0;x<y;x+=1)e.g._hasOpacity&&e.g._collapsable&&(o=e.g.o[x*2+1]),s.addColorStop(C[x*4]/100,"rgba("+C[x*4+1]+","+C[x*4+2]+","+C[x*4+3]+","+o+")");i.grd=s}i.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i=this.globalData.fontManager.getFontByName(t.f),s,a,n=t.l,c=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,a=t.finalText.length;var m,d,E,_,u,k,x,y,C,o,p=this.data.singleShape,f=t.tr*.001*t.finalSize,l=0,g=0,b=!0,A=0;for(s=0;s<a;s+=1){m=this.globalData.fontManager.getCharData(t.finalText[s],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),d=m&&m.data||{},c.reset(),p&&n[s].n&&(l=-f,g+=t.yOffset,g+=b?1:0,b=!1),u=d.shapes?d.shapes[0].it:[],x=u.length,c.scale(t.finalSize/100,t.finalSize/100),p&&this.applyTextPropertiesToMatrix(t,c,n[s].line,l,g),C=createSizedArray(x-1);var P=0;for(k=0;k<x;k+=1)if(u[k].ty==="sh"){for(_=u[k].ks.k.i.length,y=u[k].ks.k,o=[],E=1;E<_;E+=1)E===1&&o.push(c.applyToX(y.v[0][0],y.v[0][1],0),c.applyToY(y.v[0][0],y.v[0][1],0)),o.push(c.applyToX(y.o[E-1][0],y.o[E-1][1],0),c.applyToY(y.o[E-1][0],y.o[E-1][1],0),c.applyToX(y.i[E][0],y.i[E][1],0),c.applyToY(y.i[E][0],y.i[E][1],0),c.applyToX(y.v[E][0],y.v[E][1],0),c.applyToY(y.v[E][0],y.v[E][1],0));o.push(c.applyToX(y.o[E-1][0],y.o[E-1][1],0),c.applyToY(y.o[E-1][0],y.o[E-1][1],0),c.applyToX(y.i[0][0],y.i[0][1],0),c.applyToY(y.i[0][0],y.i[0][1],0),c.applyToX(y.v[0][0],y.v[0][1],0),c.applyToY(y.v[0][0],y.v[0][1],0)),C[P]=o,P+=1}p&&(l+=n[s].l,l+=f),this.textSpans[A]?this.textSpans[A].elem=C:this.textSpans[A]={elem:C},A+=1}},CVTextElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.font=this.values.fValue,t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var e,r,i,s,a,n,c=this.textAnimator.renderedLetters,m=this.textProperty.currentData.l;r=m.length;var d,E=null,_=null,u=null,k,x;for(e=0;e<r;e+=1)if(!m[e].n){if(d=c[e],d&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(d.p),this.globalData.renderer.ctxOpacity(d.o)),this.fill){for(d&&d.fc?E!==d.fc&&(E=d.fc,t.fillStyle=d.fc):E!==this.values.fill&&(E=this.values.fill,t.fillStyle=this.values.fill),k=this.textSpans[e].elem,s=k.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(x=k[i],n=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(d&&d.sw?u!==d.sw&&(u=d.sw,t.lineWidth=d.sw):u!==this.values.sWidth&&(u=this.values.sWidth,t.lineWidth=this.values.sWidth),d&&d.sc?_!==d.sc&&(_=d.sc,t.strokeStyle=d.sc):_!==this.values.stroke&&(_=this.values.stroke,t.strokeStyle=this.values.stroke),k=this.textSpans[e].elem,s=k.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(x=k[i],n=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}d&&this.globalData.renderer.restore()}};function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e=t.getContext("2d"),r=this.img.width,i=this.img.height,s=r/i,a=this.assetData.w/this.assetData.h,n,c,m=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&m==="xMidYMid slice"||s<a&&m!=="xMidYMid slice"?(c=i,n=c*a):(n=r,c=n/a),e.drawImage(this.img,(r-n)/2,(i-c)/2,n,c,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){if(!(t[0]===1&&t[1]===0&&t[4]===0&&t[5]===1&&t[12]===0&&t[13]===0)){if(!this.renderConfig.clearCanvas){this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13]);return}this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}},CanvasRendererBase.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.globalAlpha*=t<0?0:t,this.globalData.currentGlobalAlpha=this.contextData.cO;return}this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.save();return}t&&this.canvasContext.save();var e=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r,i=this.contextData.saved[this.contextData.cArrPos];for(r=0;r<16;r+=1)i[r]=e[r];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1},CanvasRendererBase.prototype.restore=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e=this.contextData.saved[this.contextData.cArrPos],r,i=this.contextData.cTr.props;for(r=0;r<16;r+=1)i[r]=e[r];this.canvasContext.setTransform(e[0],e[1],e[4],e[5],e[12],e[13]),e=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=e,this.globalData.currentGlobalAlpha!==e&&(this.canvasContext.globalAlpha=e,this.globalData.currentGlobalAlpha=e)},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.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=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(){this.reset();var t,e;this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr);var r,i;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var s=this.renderConfig.preserveAspectRatio.split(" "),a=s[1]||"meet",n=s[0]||"xMidYMid",c=n.substr(0,4),m=n.substr(4);r=t/e,i=this.transformCanvas.w/this.transformCanvas.h,i>r&&a==="meet"||i<r&&a==="slice"?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),c==="xMid"&&(i<r&&a==="meet"||i>r&&a==="slice")?this.transformCanvas.tx=(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(i<r&&a==="meet"||i>r&&a==="slice")?this.transformCanvas.tx=(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,m==="YMid"&&(i>r&&a==="meet"||i<r&&a==="slice")?this.transformCanvas.ty=(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:m==="YMax"&&(i>r&&a==="meet"||i<r&&a==="slice")?this.transformCanvas.ty=(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if(!(this.renderedFrame===t&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||t===-1)){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,r=this.layers.length;for(e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-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)};function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function HBaseElement(){}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.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),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();e.transform=r,e.webkitTransform=r}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.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"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)};function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}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 r,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r=t.sh.v,i=t.transformers,s,a=r._length,n,c,m,d;if(!(a<=1)){for(s=0;s<a-1;s+=1)n=this.getTransformedPoint(i,r.v[s]),c=this.getTransformedPoint(i,r.o[s]),m=this.getTransformedPoint(i,r.i[s+1]),d=this.getTransformedPoint(i,r.v[s+1]),this.checkBounds(n,c,m,d,e);r.c&&(n=this.getTransformedPoint(i,r.v[s]),c=this.getTransformedPoint(i,r.o[s]),m=this.getTransformedPoint(i,r.i[0]),d=this.getTransformedPoint(i,r.v[0]),this.checkBounds(n,c,m,d,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,s){this.getBoundsOfCurve(t,e,r,i);var a=this.shapeBoundingBox;s.x=bmMin(a.left,s.x),s.xMax=bmMax(a.right,s.xMax),s.y=bmMin(a.top,s.y),s.yMax=bmMax(a.bottom,s.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var s=[[t[0],i[0]],[t[1],i[1]]],a,n,c,m,d,E,_,u=0;u<2;++u)n=6*t[u]-12*e[u]+6*r[u],a=-3*t[u]+9*e[u]-9*r[u]+3*i[u],c=3*e[u]-3*t[u],n|=0,a|=0,c|=0,a===0&&n===0||(a===0?(m=-c/n,m>0&&m<1&&s[u].push(this.calculateF(m,t,e,r,i,u))):(d=n*n-4*c*a,d>=0&&(E=(-n+bmSqrt(d))/(2*a),E>0&&E<1&&s[u].push(this.calculateF(E,t,e,r,i,u)),_=(-n-bmSqrt(d))/(2*a),_>0&&_<1&&s[u].push(this.calculateF(_,t,e,r,i,u)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,s,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it?this.calculateBoundingBox(t[r].it,e):t[r]&&t[r].style&&t[r].w&&this.expandStrokeBoundingBox(t[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var r=0;if(t.keyframes){for(var i=0;i<t.keyframes.length;i+=1){var s=t.keyframes[i].s;s>r&&(r=s)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=s,i.webkitTransform=s}}};function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{e.fontFamily=i.fFamily;var s=t.fWeight,a=t.fStyle;e.fontStyle=a,e.fontWeight=s}var n,c,m=t.l;c=m.length;var d,E,_,u=this.mHelper,k,x="",y=0;for(n=0;n<c;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[y]?d=this.textPaths[y]:(d=createNS("path"),d.setAttribute("stroke-linecap",lineCapEnum[1]),d.setAttribute("stroke-linejoin",lineJoinEnum[2]),d.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[y]?(E=this.textSpans[y],_=E.children[0]):(E=createTag("div"),E.style.lineHeight=0,_=createNS("svg"),_.appendChild(d),styleDiv(E)))):this.isMasked?d=this.textPaths[y]?this.textPaths[y]:createNS("text"):this.textSpans[y]?(E=this.textSpans[y],d=this.textPaths[y]):(E=createTag("span"),styleDiv(E),d=createTag("span"),styleDiv(d),E.appendChild(d)),this.globalData.fontManager.chars){var C=this.globalData.fontManager.getCharData(t.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),o;if(C?o=C.data:o=null,u.reset(),o&&o.shapes&&o.shapes.length&&(k=o.shapes[0].it,u.scale(t.finalSize/100,t.finalSize/100),x=this.createPathShape(u,k),d.setAttribute("d",x)),this.isMasked)this.innerElem.appendChild(d);else{if(this.innerElem.appendChild(E),o&&o.shapes){document.body.appendChild(_);var p=_.getBBox();_.setAttribute("width",p.width+2),_.setAttribute("height",p.height+2),_.setAttribute("viewBox",p.x-1+" "+(p.y-1)+" "+(p.width+2)+" "+(p.height+2));var f=_.style,l="translate("+(p.x-1)+"px,"+(p.y-1)+"px)";f.transform=l,f.webkitTransform=l,m[n].yOffset=p.y-1}else _.setAttribute("width",1),_.setAttribute("height",1);E.appendChild(_)}}else if(d.textContent=m[n].val,d.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(d);else{this.innerElem.appendChild(E);var g=d.style,b="translate3d(0,"+-t.finalSize/1.2+"px,0)";g.transform=b,g.webkitTransform=b}this.isMasked?this.textSpans[y]=d:this.textSpans[y]=E,this.textSpans[y].style.display="block",this.textPaths[y]=d,y+=1}for(;y<this.textSpans.length;)this.textSpans[y].style.display="none",y+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var r,i,s=0,a=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;i=n.length;var c,m,d;for(r=0;r<i;r+=1)n[r].n?s+=1:(m=this.textSpans[r],d=this.textPaths[r],c=a[s],s+=1,c._mdf.m&&(this.isMasked?m.setAttribute("transform",c.m):(m.style.webkitTransform=c.m,m.style.transform=c.m)),m.style.opacity=c.o,c.sw&&c._mdf.sw&&d.setAttribute("stroke-width",c.sw),c.sc&&c._mdf.sc&&d.setAttribute("stroke",c.sc),c.fc&&c._mdf.fc&&(d.setAttribute("fill",c.fc),d.style.color=c.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var E=this.innerElem.getBBox();this.currentBBox.w!==E.width&&(this.currentBBox.w=E.width,this.svgElement.setAttribute("width",E.width)),this.currentBBox.h!==E.height&&(this.currentBBox.h=E.height,this.svgElement.setAttribute("height",E.height));var _=1;if(this.currentBBox.w!==E.width+_*2||this.currentBBox.h!==E.height+_*2||this.currentBBox.x!==E.x-_||this.currentBBox.y!==E.y-_){this.currentBBox.w=E.width+_*2,this.currentBBox.h=E.height+_*2,this.currentBBox.x=E.x-_,this.currentBBox.y=E.y-_,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=u,t.webkitTransform=u}}}};function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var s,a=t.ks.or.k.length;for(s=0;s<a;s+=1)t.ks.or.k[s].to=null,t.ks.or.k[s].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e=this.comp.threeDElements.length,r,i,s;for(t=0;t<e;t+=1)if(r=this.comp.threeDElements[t],r.type==="3d"){i=r.perspectiveElem.style,s=r.container.style;var a=this.pe.v+"px",n="0px 0px 0px",c="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=a,i.webkitPerspective=a,s.transformOrigin=n,s.mozTransformOrigin=n,s.webkitTransformOrigin=n,i.transform=c,i.webkitTransform=c}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t=this._isFirstFrame,e,r;if(this.hierarchy)for(r=this.hierarchy.length,e=0;e<r;e+=1)t=this.hierarchy[e].finalTransform.mProp._mdf||t;if(t||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(r=this.hierarchy.length-1,e=r;e>=0;e-=1){var i=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.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 s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],c=Math.sqrt(n[2]*n[2]+n[0]*n[0]),m=Math.atan2(n[1],c),d=Math.atan2(n[0],-n[2]);this.mat.rotateY(d).rotateX(-m)}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 E=!this._prevMat.equals(this.mat);if((E||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var _,u,k;for(e=0;e<r;e+=1)if(_=this.comp.threeDElements[e],_.type==="3d"){if(E){var x=this.mat.toCSS();k=_.container.style,k.transform=x,k.webkitTransform=x}this.pe._mdf&&(u=_.perspectiveElem.style,u.perspective=this.pe.v+"px",u.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(!!r){var i=this.layers[e];if(!i.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var s=0,a,n,c;s<e;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(n=this.elements[s],c=this.layers[s].ddd?this.getThreeDContainerByPos(s):n.getBaseElement(),a=c||a),s+=1;a?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,a):(!i.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,e)}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r=createTag("div"),i,s;styleDiv(r);var a=createTag("div");if(styleDiv(a),e==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var n="50% 50%";i.webkitTransformOrigin=n,i.mozTransformOrigin=n,i.transformOrigin=n,s=a.style;var c="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=c,s.webkitTransform=c}r.appendChild(a);var m={container:a,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(m),m},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,r,i="";for(t=0;t<e;t+=1)this.layers[t].ddd&&this.layers[t].ty!==3?(i!=="3d"&&(i="3d",r=this.createThreeDContainer(t,"3d")),r.endPos=Math.max(r.endPos,t)):(i!=="2d"&&(i="2d",r=this.createThreeDContainer(t,"2d")),r.endPos=Math.max(r.endPos,t));for(e=this.threeDElements.length,t=e-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;r<i;){if(e<=this.threeDElements[r].endPos){for(var s=this.threeDElements[r].startPos,a;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=1;a?this.threeDElements[r].container.insertBefore(t,a):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,i=e.style;i.width=t.w+"px",i.height=t.h+"px",this.resizerElem=e,styleDiv(e),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),i.overflow="hidden";var s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var a=createNS("defs");s.appendChild(a),this.data=t,this.setupGlobalData(t,s),this.globalData.defs=a,this.layers=t.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 t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,r=t/e,i=this.globalData.compSize.w/this.globalData.compSize.h,s,a,n,c;i>r?(s=t/this.globalData.compSize.w,a=t/this.globalData.compSize.w,n=0,c=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(s=e/this.globalData.compSize.h,a=e/this.globalData.compSize.h,n=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,c=0);var m=this.resizerElem.style;m.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+n+","+c+",0,1)",m.transform=m.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=this.globalData.compSize.w,e=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r<i;r+=1){var s=this.threeDElements[r].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var s=this.createComp(t[e],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}};function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}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(t,e){for(var r=0,i;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var Expressions=function(){var t={};t.initExpressions=e;function e(r){var i=0,s=[];function a(){i+=1}function n(){i-=1,i===0&&m()}function c(d){s.indexOf(d)===-1&&s.push(d)}function m(){var d,E=s.length;for(d=0;d<E;d+=1)s[d].release();s.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=a,r.renderer.globalData.popExpression=n,r.renderer.globalData.registerExpressionProperty=c}return t}();function _typeof$1(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(r){return typeof r}:_typeof$1=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$1(t)}function seedRandom(t,e){var r=this,i=256,s=6,a=52,n="random",c=e.pow(i,s),m=e.pow(2,a),d=m*2,E=i-1,_;function u(f,l,g){var b=[];l=l===!0?{entropy:!0}:l||{};var A=C(y(l.entropy?[f,p(t)]:f===null?o():f,3),b),P=new k(b),I=function(){for(var L=P.g(s),D=c,O=0;L<m;)L=(L+O)*i,D*=i,O=P.g(1);for(;L>=d;)L/=2,D/=2,O>>>=1;return(L+O)/D};return I.int32=function(){return P.g(4)|0},I.quick=function(){return P.g(4)/4294967296},I.double=I,C(p(P.S),t),(l.pass||g||function(G,L,D,O){return O&&(O.S&&x(O,P),G.state=function(){return x(P,{})}),D?(e[n]=G,L):G})(I,A,"global"in l?l.global:this==e,l.state)}e["seed"+n]=u;function k(f){var l,g=f.length,b=this,A=0,P=b.i=b.j=0,I=b.S=[];for(g||(f=[g++]);A<i;)I[A]=A++;for(A=0;A<i;A++)I[A]=I[P=E&P+f[A%g]+(l=I[A])],I[P]=l;b.g=function(G){for(var L,D=0,O=b.i,z=b.j,B=b.S;G--;)L=B[O=E&O+1],D=D*i+B[E&(B[O]=B[z=E&z+L])+(B[z]=L)];return b.i=O,b.j=z,D}}function x(f,l){return l.i=f.i,l.j=f.j,l.S=f.S.slice(),l}function y(f,l){var g=[],b=_typeof$1(f),A;if(l&&b=="object")for(A in f)try{g.push(y(f[A],l-1))}catch{}return g.length?g:b=="string"?f:f+"\0"}function C(f,l){for(var g=f+"",b,A=0;A<g.length;)l[E&A]=E&(b^=l[E&A]*19)+g.charCodeAt(A++);return p(l)}function o(){try{var f=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(f),p(f)}catch{var l=r.navigator,g=l&&l.plugins;return[+new Date,r,g,r.screen,p(t)]}}function p(f){return String.fromCharCode.apply(0,f)}C(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;initialize$2(BMMath);function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return t==="number"||t==="boolean"||t==="string"||e instanceof Number}function $bm_neg(t){var e=_typeof(t);if(e==="number"||e==="boolean"||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,s=[];for(r=0;r<i;r+=1)s[r]=-t[r];return s}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=_typeof(t),i=_typeof(e);if(r==="string"||i==="string"||isNumerable(r,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,c=[];s<a||s<n;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?c[s]=t[s]+e[s]:c[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return c}return 0}var add=sum;function sub(t,e){var r=_typeof(t),i=_typeof(e);if(isNumerable(r,t)&&isNumerable(i,e))return r==="string"&&(t=parseInt(t,10)),i==="string"&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,c=[];s<a||s<n;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?c[s]=t[s]-e[s]:c[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return c}return 0}function mul(t,e){var r=_typeof(t),i=_typeof(e),s;if(isNumerable(r,t)&&isNumerable(i,e))return t*e;var a,n;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(n=t.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t[a]*e;return s}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t*e[a];return s}return 0}function div(t,e){var r=_typeof(t),i=_typeof(e),s;if(isNumerable(r,t)&&isNumerable(i,e))return t/e;var a,n;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(n=t.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t[a]/e;return s}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t/e[a];return s}return 0}function mod(t,e){return typeof t=="string"&&(t=parseInt(t,10)),typeof e=="string"&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}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(typeof t=="number"||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,i=Math.min(t.length,e.length),s=0;for(r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],r=t[1],i=t[2],s=Math.max(e,r,i),a=Math.min(e,r,i),n,c,m=(s+a)/2;if(s===a)n=0,c=0;else{var d=s-a;switch(c=m>.5?d/(2-s-a):d/(s+a),s){case e:n=(r-i)/d+(r<i?6:0);break;case r:n=(i-e)/d+2;break;case i:n=(e-r)/d+4;break}n/=6}return[n,c,m,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e=t[0],r=t[1],i=t[2],s,a,n;if(r===0)s=i,n=i,a=i;else{var c=i<.5?i*(1+r):i+r-i*r,m=2*i-c;s=hue2rgb(m,c,e+1/3),a=hue2rgb(m,c,e),n=hue2rgb(m,c,e-1/3)}return[s,a,n,t[3]]}function linear(t,e,r,i,s){if((i===void 0||s===void 0)&&(i=e,s=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return i;if(t>=r)return s;var n=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*n;var c,m=i.length,d=createTypedArray("float32",m);for(c=0;c<m;c+=1)d[c]=i[c]+(s[c]-i[c])*n;return d}function random(t,e){if(e===void 0&&(t===void 0?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var s=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)s[r]=t[r]+a*(e[r]-t[r]);return s}t===void 0&&(t=0);var n=BMMath.random();return t+n*(e-t)}function createPath(t,e,r,i){var s,a=t.length,n=shapePool.newElement();n.setPathData(!!i,a);var c=[0,0],m,d;for(s=0;s<a;s+=1)m=e&&e[s]?e[s]:c,d=r&&r[s]?r[s]:c,n.setTripleAt(t[s][0],t[s][1],d[0]+t[s][0],d[1]+t[s][1],m[0]+t[s][0],m[1]+t[s][1],s,!0);return n}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function t(e,r){var i,s,a=this.pv.length?this.pv.length:1,n=createTypedArray("float32",a);e=5;var c=Math.floor(time*e);for(i=0,s=0;i<c;){for(s=0;s<a;s+=1)n[s]+=-r+r*2*BMMath.random();i+=1}var m=time*e,d=m-Math.floor(m),E=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)E[s]=this.pv[s]+n[s]+(-r+r*2*BMMath.random())*d;return E}return this.pv+n[0]+(-r+r*2*BMMath.random())*d}.bind(this);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));function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,s=-Math.atan2(r[1],r[2])/degToRads;return[s,i,0]}function easeOut(t,e,r,i,s){return applyEase(easeOutBez,t,e,r,i,s)}function easeIn(t,e,r,i,s){return applyEase(easeInBez,t,e,r,i,s)}function ease(t,e,r,i,s){return applyEase(easeInOutBez,t,e,r,i,s)}function applyEase(t,e,r,i,s,a){s===void 0?(s=r,a=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var n=t(e);if($bm_isInstanceOfArray(s)){var c,m=s.length,d=createTypedArray("float32",m);for(c=0;c<m;c+=1)d[c]=(a[c]-s[c])*n+s[c];return d}return(a-s)*n+s}function nearestKey(t){var e,r=data.k.length,i,s;if(!data.k.length||typeof data.k[0]=="number")i=0,s=0;else if(i=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)i=1,s=data.k[0].t;else{for(e=0;e<r-1;e+=1)if(t===data.k[e].t){i=e+1,s=data.k[e].t;break}else if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(i=e+2,s=data.k[e+1].t):(i=e+1,s=data.k[e].t);break}i===-1&&(i=e+1,s=data.k[e].t)}var a={};return a.index=i,a.time=s/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;r<i;r+=1)e[r]=s[r],e.value[r]=s[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return!t&&t!==0&&(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return typeof value=="string"?e===void 0?value.substring(t):value.substring(t,e):""}function substr(t,e){return typeof value=="string"?e===void 0?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=t===0?0:Math.floor(time*t)/t,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!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,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers=function(){function t(n,c,m){c.x&&(m.k=!0,m.x=!0,m.initiateExpression=ExpressionManager.initiateExpression,m.effectsSequence.push(m.initiateExpression(n,c,m).bind(m)))}function e(n){return n*=this.elem.globalData.frameRate,n-=this.offsetTime,n!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<n?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(n,this._cachingAtTime),this._cachingAtTime.lastFrame=n),this._cachingAtTime.value}function r(n){var c=-.01,m=this.getValueAtTime(n),d=this.getValueAtTime(n+c),E=0;if(m.length){var _;for(_=0;_<m.length;_+=1)E+=Math.pow(d[_]-m[_],2);E=Math.sqrt(E)*100}else E=0;return E}function i(n){if(this.vel!==void 0)return this.vel;var c=-.001,m=this.getValueAtTime(n),d=this.getValueAtTime(n+c),E;if(m.length){E=createTypedArray("float32",m.length);var _;for(_=0;_<m.length;_+=1)E[_]=(d[_]-m[_])/c}else E=(d-m)/c;return E}function s(){return this.pv}function a(n){this.propertyGroup=n}return{searchExpressions:t,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:e,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function t(u,k,x){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var y=this.comp.renderedFrame,C=this.keyframes,o=C[C.length-1].t;if(y<=o)return this.pv;var p,f;x?(k?p=Math.abs(o-this.elem.comp.globalData.frameRate*k):p=Math.max(0,o-this.elem.data.ip),f=o-p):((!k||k>C.length-1)&&(k=C.length-1),f=C[C.length-1-k].t,p=o-f);var l,g,b;if(u==="pingpong"){var A=Math.floor((y-f)/p);if(A%2!==0)return this.getValueAtTime((p-(y-f)%p+f)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var P=this.getValueAtTime(f/this.comp.globalData.frameRate,0),I=this.getValueAtTime(o/this.comp.globalData.frameRate,0),G=this.getValueAtTime(((y-f)%p+f)/this.comp.globalData.frameRate,0),L=Math.floor((y-f)/p);if(this.pv.length){for(b=new Array(P.length),g=b.length,l=0;l<g;l+=1)b[l]=(I[l]-P[l])*L+G[l];return b}return(I-P)*L+G}else if(u==="continue"){var D=this.getValueAtTime(o/this.comp.globalData.frameRate,0),O=this.getValueAtTime((o-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(b=new Array(D.length),g=b.length,l=0;l<g;l+=1)b[l]=D[l]+(D[l]-O[l])*((y-o)/this.comp.globalData.frameRate)/5e-4;return b}return D+(D-O)*((y-o)/.001)}return this.getValueAtTime(((y-f)%p+f)/this.comp.globalData.frameRate,0)}function e(u,k,x){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var y=this.comp.renderedFrame,C=this.keyframes,o=C[0].t;if(y>=o)return this.pv;var p,f;x?(k?p=Math.abs(this.elem.comp.globalData.frameRate*k):p=Math.max(0,this.elem.data.op-o),f=o+p):((!k||k>C.length-1)&&(k=C.length-1),f=C[k].t,p=f-o);var l,g,b;if(u==="pingpong"){var A=Math.floor((o-y)/p);if(A%2===0)return this.getValueAtTime(((o-y)%p+o)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var P=this.getValueAtTime(o/this.comp.globalData.frameRate,0),I=this.getValueAtTime(f/this.comp.globalData.frameRate,0),G=this.getValueAtTime((p-(o-y)%p+o)/this.comp.globalData.frameRate,0),L=Math.floor((o-y)/p)+1;if(this.pv.length){for(b=new Array(P.length),g=b.length,l=0;l<g;l+=1)b[l]=G[l]-(I[l]-P[l])*L;return b}return G-(I-P)*L}else if(u==="continue"){var D=this.getValueAtTime(o/this.comp.globalData.frameRate,0),O=this.getValueAtTime((o+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(b=new Array(D.length),g=b.length,l=0;l<g;l+=1)b[l]=D[l]+(D[l]-O[l])*(o-y)/.001;return b}return D+(D-O)*(o-y)/.001}return this.getValueAtTime((p-((o-y)%p+o))/this.comp.globalData.frameRate,0)}function r(u,k){if(!this.k)return this.pv;if(u=(u||.4)*.5,k=Math.floor(k||5),k<=1)return this.pv;var x=this.comp.renderedFrame/this.comp.globalData.frameRate,y=x-u,C=x+u,o=k>1?(C-y)/(k-1):1,p=0,f=0,l;this.pv.length?l=createTypedArray("float32",this.pv.length):l=0;for(var g;p<k;){if(g=this.getValueAtTime(y+p*o),this.pv.length)for(f=0;f<this.pv.length;f+=1)l[f]+=g[f];else l+=g;p+=1}if(this.pv.length)for(f=0;f<this.pv.length;f+=1)l[f]/=k;else l/=k;return l}function i(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var k=this._transformCachingAtTime.v;if(k.cloneFromProps(this.pre.props),this.appliedTransformations<1){var x=this.a.getValueAtTime(u);k.translate(-x[0]*this.a.mult,-x[1]*this.a.mult,x[2]*this.a.mult)}if(this.appliedTransformations<2){var y=this.s.getValueAtTime(u);k.scale(y[0]*this.s.mult,y[1]*this.s.mult,y[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var C=this.sk.getValueAtTime(u),o=this.sa.getValueAtTime(u);k.skewFromAxis(-C*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var p=this.r.getValueAtTime(u);k.rotate(-p*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var f=this.rz.getValueAtTime(u),l=this.ry.getValueAtTime(u),g=this.rx.getValueAtTime(u),b=this.or.getValueAtTime(u);k.rotateZ(-f*this.rz.mult).rotateY(l*this.ry.mult).rotateX(g*this.rx.mult).rotateZ(-b[2]*this.or.mult).rotateY(b[1]*this.or.mult).rotateX(b[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var A=this.px.getValueAtTime(u),P=this.py.getValueAtTime(u);if(this.data.p.z){var I=this.pz.getValueAtTime(u);k.translate(A*this.px.mult,P*this.py.mult,-I*this.pz.mult)}else k.translate(A*this.px.mult,P*this.py.mult,0)}else{var G=this.p.getValueAtTime(u);k.translate(G[0]*this.p.mult,G[1]*this.p.mult,-G[2]*this.p.mult)}return k}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,k,x){var y=a(u,k,x);return y.dynamicProperties.length?y.getValueAtTime=i.bind(y):y.getValueAtTime=s.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y};var n=PropertyFactory.getProp;PropertyFactory.getProp=function(u,k,x,y,C){var o=n(u,k,x,y,C);o.kf?o.getValueAtTime=expressionHelpers.getValueAtTime.bind(o):o.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(o),o.setGroupProperty=expressionHelpers.setGroupProperty,o.loopOut=t,o.loopIn=e,o.smooth=r,o.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(o),o.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(o),o.numKeys=k.a===1?k.k.length:0,o.propertyIndex=k.ix;var p=0;return x!==0&&(p=createTypedArray("float32",k.a===1?k.k[0].s.length:k.k.length)),o._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(u,k,o),o.k&&C.addDynamicProperty(o),o};function c(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var m=ShapePropertyFactory.getConstructorFunction(),d=ShapePropertyFactory.getKeyframedConstructorFunction();function E(){}E.prototype={vertices:function(k,x){this.k&&this.getValue();var y=this.v;x!==void 0&&(y=this.getValueAtTime(x,0));var C,o=y._length,p=y[k],f=y.v,l=createSizedArray(o);for(C=0;C<o;C+=1)k==="i"||k==="o"?l[C]=[p[C][0]-f[C][0],p[C][1]-f[C][1]]:l[C]=[p[C][0],p[C][1]];return l},points:function(k){return this.vertices("v",k)},inTangents:function(k){return this.vertices("i",k)},outTangents:function(k){return this.vertices("o",k)},isClosed:function(){return this.v.c},pointOnPath:function(k,x){var y=this.v;x!==void 0&&(y=this.getValueAtTime(x,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(y));for(var C=this._segmentsLength,o=C.lengths,p=C.totalLength*k,f=0,l=o.length,g=0,b;f<l;){if(g+o[f].addedLength>p){var A=f,P=y.c&&f===l-1?0:f+1,I=(p-g)/o[f].addedLength;b=bez.getPointInSegment(y.v[A],y.v[P],y.o[A],y.i[P],I,o[f]);break}else g+=o[f].addedLength;f+=1}return b||(b=y.c?[y.v[0][0],y.v[0][1]]:[y.v[y._length-1][0],y.v[y._length-1][1]]),b},vectorOnPath:function(k,x,y){k==1?k=this.v.c:k==0&&(k=.999);var C=this.pointOnPath(k,x),o=this.pointOnPath(k+.001,x),p=o[0]-C[0],f=o[1]-C[1],l=Math.sqrt(Math.pow(p,2)+Math.pow(f,2));if(l===0)return[0,0];var g=y==="tangent"?[p/l,f/l]:[-f/l,p/l];return g},tangentOnPath:function(k,x){return this.vectorOnPath(k,x,"tangent")},normalOnPath:function(k,x){return this.vectorOnPath(k,x,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([E],m),extendPrototype([E],d),d.prototype.getValueAtTime=c,d.prototype.initiateExpression=ExpressionManager.initiateExpression;var _=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,k,x,y,C){var o=_(u,k,x,y,C);return o.propertyIndex=k.ix,o.lock=!1,x===3?expressionHelpers.searchExpressions(u,k.pt,o):x===4&&expressionHelpers.searchExpressions(u,k.ks,o),o.k&&u.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){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}TextProperty.prototype.getExpressionValue=function(e,r){var i=this.calculateExpression(r);if(e.t!==i){var s={};return this.copyData(s,e),s.t=i.toString(),s.__complete=!1,s}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),r=this.searchExpressions();return this.kf=e||r,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,r){var i=createNS("feMerge");i.setAttribute("result",e);var s,a;for(a=0;a<r.length;a+=1)s=createNS("feMergeNode"),s.setAttribute("in",r[a]),i.appendChild(s),i.appendChild(s);return i}};function SVGTintFilter(t,e,r,i,s){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.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"),a.setAttribute("result",i+"_tint_1"),t.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),t.appendChild(a),this.matrixFilter=a;var n=this.createMergeNode(i,[s,i+"_tint_1",i+"_tint_2"]);t.appendChild(n)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}};function SVGFillFilter(t,e,r,i){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",i),t.appendChild(s),this.matrixFilter=s}SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}};function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var t=this.elem.layerElement.children||this.elem.layerElement.childNodes,e,r,i,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,s=i+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),i;i<s;i+=1)e=createNS("path"),r.appendChild(e),this.paths.push({p:e,m:i});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),n=createElementID();a.setAttribute("id",n),a.setAttribute("mask-type","alpha"),a.appendChild(r),this.elem.globalData.defs.appendChild(a);var c=createNS("g");for(c.setAttribute("mask","url("+getLocationHref()+"#"+n+")");t[0];)c.appendChild(t[0]);this.elem.layerElement.appendChild(c),this.masker=a,r.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(t=this.elem.layerElement.children||this.elem.layerElement.childNodes;t.length;)this.elem.layerElement.removeChild(t[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,r=this.paths.length,i,s;for(e=0;e<r;e+=1)if(this.paths[e].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[e].m],s=this.paths[e].p,(t||this.filterManager._mdf||i.prop._mdf)&&s.setAttribute("d",i.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var n=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,c=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,m=s.getTotalLength();a="0 0 0 "+m*n+" ";var d=m*(c-n),E=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,_=Math.floor(d/E),u;for(u=0;u<_;u+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+m*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(t||this.filterManager.effectElements[3].p._mdf)){var k=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(k[0]*255)+","+bmFloor(k[1]*255)+","+bmFloor(k[2]*255)+")")}};function SVGTritoneFilter(t,e,r,i){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.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"),t.appendChild(s);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var n=createNS("feFuncR");n.setAttribute("type","table"),a.appendChild(n),this.feFuncR=n;var c=createNS("feFuncG");c.setAttribute("type","table"),a.appendChild(c),this.feFuncG=c;var m=createNS("feFuncB");m.setAttribute("type","table"),a.appendChild(m),this.feFuncB=m,t.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,s=i[0]+" "+r[0]+" "+e[0],a=i[1]+" "+r[1]+" "+e[1],n=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",n)}};function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var s=this.filterManager.effectElements,a=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(a)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),t.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,s){for(var a=0,n=256,c,m=Math.min(t,e),d=Math.max(t,e),E=Array.call(null,{length:n}),_,u=0,k=s-i,x=e-t;a<=256;)c=a/256,c<=m?_=x<0?s:i:c>=d?_=x<0?i:s:_=i+k*Math.pow((c-t)/x,1/r),E[u]=_,u+=1,a+=256/(n-1);return E.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(t,e,r,i,s){var a=e.container.globalData.renderConfig.filterSize,n=e.data.fs||a;t.setAttribute("x",n.x||a.x),t.setAttribute("y",n.y||a.y),t.setAttribute("width",n.width||a.width),t.setAttribute("height",n.height||a.height),this.filterManager=e;var c=createNS("feGaussianBlur");c.setAttribute("in","SourceAlpha"),c.setAttribute("result",i+"_drop_shadow_1"),c.setAttribute("stdDeviation","0"),this.feGaussianBlur=c,t.appendChild(c);var m=createNS("feOffset");m.setAttribute("dx","25"),m.setAttribute("dy","0"),m.setAttribute("in",i+"_drop_shadow_1"),m.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=m,t.appendChild(m);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=d,t.appendChild(d);var E=createNS("feComposite");E.setAttribute("in",i+"_drop_shadow_3"),E.setAttribute("in2",i+"_drop_shadow_2"),E.setAttribute("operator","in"),E.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(E);var _=this.createMergeNode(i,[i+"_drop_shadow_4",s]);t.appendChild(_)}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(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}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 r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(!!r){for(var i=r.children,s=0,a=i.length;s<a&&i[s]!==t.layerElement;)s+=1;var n;s<=a-2&&(n=i[s+1]);var c=createNS("use");c.setAttribute("href","#"+e),n?r.insertBefore(c,n):r.appendChild(c)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var s=t.globalData.defs;s.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),s.appendChild(a);var n=createNS("use");n.setAttribute("href","#"+r),i.appendChild(n),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(t,e,r,i){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("result",i),t.appendChild(s),this.feGaussianBlur=s}return SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,r=this.filterManager.effectElements[0].p.v*e,i=this.filterManager.effectElements[1].p.v,s=i==3?0:r,a=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+a);var n=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",n)}},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),setExpressionsPlugin(Expressions),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})})(lottie,lottie.exports);var Lottie=lottie.exports,_export_sfc=(t,e)=>{const r=t.__vccOpts||t;for(const[i,s]of e)r[i]=s;return r};const _sfc_main=defineComponent({props:{animationData:{type:Object,default:()=>({})},animationLink:{type:String,default:""},loop:{type:[Boolean,Number],default:!0},autoPlay:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},speed:{type:Number,default:1},delay:{type:Number,default:0},direction:{type:String,default:"forward"},pauseOnHover:{type:Boolean,default:!1},playOnHover:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},pauseAnimation:{type:Boolean,default:!1}},emits:{onComplete:null,onLoopComplete:null,onEnterFrame:null,onSegmentStart:null,onAnimationLoaded:null},setup(t,{emit:e}){let r=ref(null);const i=ref("");let s=1;const a=P=>document.querySelector(`[data-id="${P}" ]`)!==null,n=async P=>{let I=t.autoPlay;t.playOnHover&&(I=!1);let G={};if(t.animationData!=={}&&(G=JSON.parse(JSON.stringify(t.animationData))),t.animationLink!="")try{G=await(await fetch(t.animationLink)).json()}catch(D){console.error(D);return}let L=t.loop;typeof L=="number"&&L>0&&(L=L-1),t.delay>0&&(I=!1),r=Lottie.loadAnimation({container:P,renderer:"svg",loop:L,autoplay:I,animationData:G}),setTimeout(()=>{I=t.autoPlay,t.playOnHover?r.pause():I?r.play():r.pause(),e("onAnimationLoaded")},t.delay),r.setSpeed(t.speed),t.direction==="reverse"&&r.setDirection(-1),t.direction==="normal"&&r.setDirection(1),(t.pauseAnimation||t.playOnHover)&&r.pause(),r.addEventListener("loopComplete",()=>{t.direction==="alternate"&&(r.stop(),s=s*-1,r.setDirection(s),r.play()),e("onLoopComplete")}),r.addEventListener("complete",()=>{e("onComplete")}),r.addEventListener("enterFrame",()=>{e("onEnterFrame")}),r.addEventListener("segmentStart",()=>{e("onSegmentStart")})},c=computed(()=>{let P=t.width,I=t.height;return typeof t.width=="number"&&(P=`${t.width}px`),typeof t.height=="number"&&(I=`${t.height}px`),{"--lottie-animation-container-width":P,"--lottie-animation-container-height":I,"--lottie-animation-container-background-color":t.backgroundColor}}),m=()=>{r&&t.pauseOnHover&&r.pause(),r&&t.playOnHover&&r.play()},d=()=>{r&&t.pauseOnHover&&r.play(),r&&t.playOnHover&&r.pause()};watch(()=>t.pauseAnimation,()=>{if((t.pauseOnHover||t.playOnHover)&&t.pauseAnimation){console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover");return}r&&(t.pauseAnimation?r.pause():r.play())});const E=()=>{r&&r.play()},_=()=>{r&&r.pause()},u=()=>{r&&r.stop()},k=()=>{r&&r.destroy()},x=(P=1)=>{if(P<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(P)},y=P=>{r&&(P==="forward"?r.setDirection(1):P==="reverse"&&r.setDirection(-1))},C=(P,I=!0)=>{r&&r.goToAndStop(P,I)},o=(P,I=!0)=>{r&&r.goToAndPlay(P,I)},p=(P,I=!1)=>{r&&r.playSegments(P,I)},f=(P=!0)=>{r&&r.setSubframe(P)},l=(P=!0)=>{if(r)return r.getDuration(P)},g=(P,I=0)=>{r&&r.renderer.elements[I].updateDocumentData(P)},b=P=>{for(var I="",G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",L=G.length,D=0;D<P;D++)I+=G.charAt(Math.floor(Math.random()*L));return I},A=P=>{if(t.pauseOnHover&&t.playOnHover)throw new Error("You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.");if(t.animationLink===""&&t.animationData==={})throw new Error("You must provide either animationLink or animationData");const I=setInterval(()=>{if(a(P)){clearInterval(I);const G=document.querySelector(`[data-id="${P}" ]`);G&&n(G)}},0)};return onMounted(async()=>{i.value=b(20),A(i.value)}),{elementid:i,hoverEnded:d,hoverStarted:m,getCurrentStyle:c,play:E,pause:_,stop:u,destroy:k,setSpeed:x,setDirection:y,goToAndStop:C,goToAndPlay:o,playSegments:p,setSubFrame:f,getDuration:l,updateDocumentData:g}}}),_hoisted_1=["data-id"];function _sfc_render(t,e,r,i,s,a){return openBlock(),createElementBlock("div",{"data-id":t.elementid,class:"lottie-animation-container",style:normalizeStyle(t.getCurrentStyle),onMouseenter:e[0]||(e[0]=(...n)=>t.hoverStarted&&t.hoverStarted(...n)),onMouseleave:e[1]||(e[1]=(...n)=>t.hoverEnded&&t.hoverEnded(...n))},null,44,_hoisted_1)}var Vue3Lottie=_export_sfc(_sfc_main,[["render",_sfc_render]]),iconDownload="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABZJJREFUaEPdWl1sVEUU/s5sd/feLtA/VLSlFaX2oVGogFB9MBISJdbERGOtiTG8qLE+AApEU7QxRC3Ftg+W+PNAjDG1SNQHoolpqvGloISSaB9qQdimBUJ/2AK79+5ud46Z2xa7pe29270U1/O0yT3znfPNmTlzzswSXBBmvt0wjMeEEJuYuYyZSwHkEtFSBc/MVwGEiKiPiHqllMd0Xf+ZiC6la54WCsDM+dFotIaZX2TmhwCkisVE9BsRfen3+9uIaHQhvqRqFOFw+E6Px/OmlPIVAIGFGJ1lTFgI8WkikTgQCAQupILpmAAzew3D2A7gHQBLUjGSgu41AO/put5CRHEn4xwRME1ztZTyMIAKJ6Au6HQLIZ7TNO20HZYtgXA4/LQQ4gtmXmYH5uZ3IroipXwpEAh8Px/uvARM03xZSnkQgMdN51LASgghXtM07bO5xsxJQDnPzJ8ws22UUnAoZVUiUtnq1blIzOqcWjZEdOQWzvxMoglmfna25XQDgbGxsVKfz3disde8XWjUnojFYutzcnL6pusmEZhMlccXMdvY+T3ze7eu6xunp9gkApFIZBeA/amiLrL+7uzs7MYpm9cJqBOWiP5y65C6EIug9swxZBHh4L2VWO7V3OJ5jZnvmzqxrxMwTfMjKeVOt6x8NxLEhwN/WHD1xWuxNa/ILWgIIZo0TXtDAVoEVGFmGEa/i7UNjgyfQ+Pgn5bTe1euQVX+StcIAAjrul6sCkCLgGmatVLKj920cJMJqCi8rmlaq0XAMIxjzLwxkwgQ0XFd1zfRZDNycQH1/Lx8b3YE1MrXdX0FRSKRagBfuzn7CmsRCCgzz5Npms1SSlXnuyqLQUAI0UKGYfzAzFvT8T4qE/hq6G8s9XjxTEEJBNGsEUgw4/DwWcRY4oXl98ArRDpmQUQ/KgJ9zLw6HaRvhs/iwGCPBfFkXhHqVq7BtyPBpDT6RF4h3u0/hY7QeUuvrugBPFVQnI5ZNfa02gNDAJang3Ty2ghqz3RBToI8nnsXyrPz0HR+gtRbRfej6+oQfhlTuQLwEOHz1Q9bOmnKsIqAycz+NIHwU2gQ9cFTSIAtqFyPD6FE7IbfqrR4v2QdHs1Zka5JtYSirhFQ3nSGLmBv/0mM8wSJmeIlgYa71+GRZXek7bwCsAi4sYSme/Pr2EW8HTyJOE8tqImvfhLYv2oDNi29zRXnJ0GGFQHVINhu4kQigVAohIKCAlsHuq5cwu5zJ6xso0QXHhxYtQHrl9hvtZGREeTm5sLjcdSGn3acRltbW9HX14ctW7agqqrKlsTvV4dQF+y2UuoHJQ9i7RJ74kePHkVHRwdKS0tRW1tra8NKo04Psu3bJ866kpIS7NixwxZcKcjJvaBIOJHm5mYEg0FLtaWlxXaIdZA5LSWmCBQXF2PnTtfahiQnm5qa0N+vqnpnBKxSwmkxp2admVFYWIhdu1Tn6b40NjZicHBQZReoaNjIRDGnlJyU0/X19dYm9nq92LdvH/z+tI+OJP+i0Sjq6uoQj8etTazszSfXy2ml5KShaW9vR1dXl4VZUVGBmpoa+Hw+u1ly9D0Wi6GtrQ3d3d2WfmVlJaqrVZE8tyQ1NE5aytHRUTQ0NEDNlJJAIICioiJkZWU5cnIupfHxcQwMDKhre0tFRXbPnj3Iz8+fDze5pZyMgm1T39vbi0OHDqmIpeX0XIM1TcO2bdtQVlZmN/vJTb3SdnqtcvnyZXR2dqKnp8faE1Imn7ipMhNCWGu+vLwcmzdvRl6ebYE3+7WKMpzRF1uKQMZfLSoS/+XLXSJaN/PV5v93vT61CTP6gWM6iYx9YpoikdGPfFMk1Mb2er3ti/jw0R2Px6tnvsbMdsY4K9T/TbGZ+dA9nXnG/tVgZvgy9s8es63DW/l3m38AAnnd2T6pRV8AAAAASUVORK5CYII=";const v="5.8.1",fr=25,ip=0,op=30,w=150,h=200,nm="\u5C0F\u9177\u8D70\u8DEF",ddd=0,assets=[],layers=[{ddd:0,ind:1,ty:4,nm:"\u201C\u5DE6\u773C\u201D\u8F6E\u5ED3",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[52.738,45.528,0],ix:2,l:2},a:{a:0,k:[3.756,6.609,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:20,s:[100,0,100]},{t:25,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.937,0],[0,0],[0,1.959],[0,0],[-1.937,0],[0,-1.959],[0,0]],o:[[0,0],[-1.937,0],[0,0],[0,-1.959],[1.937,0],[0,0],[0,1.959]],v:[[0,6.359],[0,6.359],[-3.506,2.812],[-3.506,-2.814],[0,-6.359],[3.506,-2.814],[3.506,2.812]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470588235,.176470588235,.176470588235,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[3.756,6.61],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"\u201C\u53F3\u773C\u201D\u8F6E\u5ED3",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[15.238,45.528,0],ix:2,l:2},a:{a:0,k:[3.756,6.609,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:20,s:[100,0,100]},{t:25,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.937,0],[0,0],[0,1.959],[0,0],[-1.937,0],[0,-1.959],[0,0]],o:[[0,0],[-1.937,0],[0,0],[0,-1.959],[1.937,0],[0,0],[0,1.959]],v:[[0,6.359],[0,6.359],[-3.506,2.812],[-3.506,-2.814],[0,-6.359],[3.506,-2.814],[3.506,2.812]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470588235,.176470588235,.176470588235,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[3.756,6.61],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"\u201C\u5934\u201D\u8F6E\u5ED3",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[30.091,-33.172,0],ix:2,l:2},a:{a:0,k:[53.138,48.419,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.971],[.796,0],[0,.971],[-.797,0]],o:[[0,.971],[-.797,0],[0,-.971],[.796,0]],v:[[1.443,0],[.001,1.758],[-1.443,0],[.001,-1.758]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.737254901961,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[33.192,46.323],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[27.99,53.539],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.89,2.656],[5.999,-.346],[.125,-4.008],[-1.82,-2.046],[-2.479,-.412],[-3.064,1.536],[-1.258,1.526]],o:[[-1.209,-3.609],[-5.76,.335],[-.092,2.824],[1.719,1.928],[3.561,.594],[2.087,-1.043],[1.472,-1.784]],v:[[9.755,-2.987],[-.779,-11.584],[-11.669,1.492],[-8.993,5.911],[-5.057,11.336],[3.84,6.497],[10.288,5.249]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[31.764,53.938],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 3",np:4,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-6.556,-7.58],[4.595,.677],[0,0]],o:[[1.126,1.301],[-4.596,-.681],[0,0]],v:[[7.021,-1.38],[-1.723,8.283],[-8.147,-2.022]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.807843197093,.376470618154,.023529413635,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[30.162,58.984],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 4",np:4,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-11.024,-12.945],[5.625,.549],[0,0]],o:[[1.126,1.372],[-4.625,-.451],[0,0]],v:[[9.112,-.412],[-2.68,12.808],[-10.238,-1.059]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.937254961799,.560784313725,.188235309077,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[31.776,58.837],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 5",np:4,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-7.769,8.044],[4.075,6.193]],o:[[0,0],[0,0]],v:[[5.622,-3.525],[-5.622,-4.52]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.980392216701,.933333393172,.913725550034,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[31.022,77.154],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 6",np:4,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.717,1.857],[1.598,-.52],[-.717,-1.857],[-1.598,.521]],o:[[-.717,-1.857],[-1.599,.52],[.717,1.857],[1.599,-.519]],v:[[2.895,-.941],[-1.299,-3.363],[-2.895,.941],[1.299,3.362]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.854902020623,.490196108351,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[24.41,32.474],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 7",np:4,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.495,.902],[1.203,-2.038],[-1.495,-.903],[-1.203,2.04]],o:[[-1.495,-.902],[-1.203,2.04],[1.495,.902],[1.202,-2.039]],v:[[2.178,-3.693],[-2.707,-1.634],[-2.178,3.693],[2.708,1.633]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.854902020623,.490196108351,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[39.383,31.876],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 8",np:4,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.899,.23],[.142,-1.845],[-2.9,-.23],[-.144,1.846]],o:[[-2.899,-.23],[-.144,1.846],[2.899,.23],[.143,-1.845]],v:[[.26,-3.342],[-5.249,-.417],[-.26,3.342],[5.249,.417]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.623529411765,.623529411765,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[12.016,58.762],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 9",np:4,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.039,2.08],[4.043,-.086],[-.039,-2.08],[-4.044,.085]],o:[[-.039,-2.08],[-4.043,.086],[.04,2.08],[4.042,-.086]],v:[[7.321,-.155],[-.071,-3.766],[-7.321,.156],[.072,3.767]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.623529411765,.623529411765,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[60.575,58.562],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 10",np:4,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[4.068,11.416],[17.863,-.498],[-.833,-19.216],[2.787,8.831],[1.65,5.894],[8.106,-2.09],[.868,-2.4],[0,0],[1.637,-9.428],[-12.696,-6.294],[-12.325,.225],[-7.576,1.887]],o:[[-3.575,-10.032],[-13.568,.378],[0,0],[0,0],[-1.417,-5.052],[-2.462,.61],[-1.606,5.183],[.009,6.48],[-2.181,12.564],[8.681,4.302],[6.469,-.118],[29.422,-7.327]],v:[[29.393,-11.416],[5.677,-35.725],[-12.365,-7.845],[-23.242,-9.336],[-23.346,-23.253],[-36.594,-31.595],[-42.482,-25.969],[-43.979,-15.539],[-46.762,4.218],[-32.561,31.245],[1.221,35.998],[19.521,33.33]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.992156922583,.984313785329,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[49.192,58.7],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 12",np:4,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[7.939,3.931],[18.736,-6.68],[0,0],[1.556,-9.802],[-13.392,-7.222],[-16.651,2.563],[-6.528,14.562],[2.927,11.248]],o:[[-11.302,-5.596],[-24.641,8.783],[.1,3.795],[-1.717,10.812],[13.392,7.224],[14.593,-2.246],[4.519,-12.718],[-4.758,-18.293]],v:[[22.726,-39.639],[-26.152,-41.49],[-47.874,-8.436],[-49.895,12.201],[-37.811,40.945],[15.368,43.712],[47.092,23.977],[43.325,-9.96]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470588235,.780392216701,.666666666667,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[54.414,48.419],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 13",np:4,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"\u201C\u53F3\u7FC5\u8180\u201D\u8F6E\u5ED3",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[-10]},{t:21,s:[1]}],ix:10},p:{a:0,k:[42.136,14.164,0],ix:2,l:2},a:{a:0,k:[9.861,7.985,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.552,-7.316],[0,0],[0,0],[-1.562,7.137],[2.956,5.592],[4.697,1.874],[2.967,-1.756]],o:[[0,0],[5.465,9.466],[0,0],[0,0],[-1.607,-3.041],[-2.894,-1.154],[-4.697,2.781]],v:[[-10.481,4.765],[-10.481,4.765],[-.698,6.123],[6.931,2.047],[11.077,-4.693],[1.817,-12.82],[-7.604,-12.475]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470588235,.780392216701,.666666666667,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[14.283,14.481],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.313,5.833],[2.883,.837],[.108,-.032],[-9.64,-11.503]],o:[[-1.235,-5.479],[-.185,-.054],[-1.788,.541],[6.645,7.929]],v:[[8.551,3.622],[-7.195,-13.52],[-7.638,-13.553],[-.224,5.656]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[14.436,28.135],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 2",np:4,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.068,5.115],[0,0],[-2.543,-2.468]],o:[[-.07,-5.085],[-9.25,-.926],[3.701,3.592]],v:[[11.329,7.304],[-2.146,-11.493],[2.804,8.49]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[18.03,22.865],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 3",np:4,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.123,5.147],[0,0],[-2.379,-2.551]],o:[[.123,-5.118],[-7.751,-.479],[3.077,4.953]],v:[[9.298,5.527],[-1.669,-10.43],[1.264,5.956]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[22.051,16.177],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 4",np:4,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"\u201C\u80F8\u7FBD\u201D\u8F6E\u5ED3",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[14.532,15.123,0],ix:2,l:2},a:{a:0,k:[9.007,9.431,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[94,94,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:7,s:[97.471,110.471,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[94,94,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:22,s:[97.471,110.471,100]},{t:30,s:[94,94,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.538,-4.052],[-2.284,-1.745],[0,0],[-3.509,-.211],[.325,2.061],[-1.897,1.044],[1.868,4.298]],o:[[0,0],[2.239,1.708],[0,0],[2.851,.17],[0,0],[2.15,-1.184],[-1.869,-4.297]],v:[[-4.301,-5.13],[-6.473,4.468],[-2.844,4.137],[-.048,9.012],[2.958,4.311],[6.607,5.02],[5.902,-4.648]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[9.007,9.431],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"\u201C\u809A\u5B50\u201D\u8F6E\u5ED3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[71.995,138.87,0],to:[0,-.5,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:7,s:[71.995,135.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[71.995,138.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:23,s:[71.995,135.87,0],to:[0,0,0],ti:[0,-.5,0]},{t:30,s:[71.995,138.87,0]}],ix:2,l:2},a:{a:0,k:[26.02,25.692,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.127,-10.022],[-14.458,.832],[.842,10.158],[0,0]],o:[[0,0],[.127,10.023],[17.091,-.983],[-.842,-10.158],[0,0]],v:[[-12.365,-20.616],[-19.723,4.123],[.677,21.615],[19.008,-1.016],[10.891,-22.447]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.992156922583,.984313785329,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[23.023,22.697],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.548,12.691],[0,0],[0,0],[-.34,-11.878],[-21.644,.789]],o:[[-1.026,-11.54],[0,0],[0,0],[.3,10.521],[20.404,-1.24]],v:[[25.222,-1.019],[19.901,-22.805],[-20.484,-19.932],[-25.43,3.04],[.948,22.016]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470588235,.780392216701,.666666666667,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[26.02,28.329],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 2",np:4,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"\u201C\u5934\u7FBD\u6BDB\u201D\u8F6E\u5ED3",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[-7]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:13,s:[4]},{t:25,s:[-7]}],ix:10},p:{a:0,k:[44.909,6.401,0],ix:2,l:2},a:{a:0,k:[2.785,27.784,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.027,-.008],[.154,-1.247],[4.322,-.917],[-1.192,-14.001],[-12.246,4.009],[-2.681,3.882]],o:[[-.399,.479],[-.22,1.766],[-4.322,.917],[0,0],[8.961,-2.933],[-.018,.005]],v:[[9.172,-13.927],[7.917,-11.203],[2.613,-5.187],[-10.084,13.946],[2.315,-3.896],[9.239,-13.946]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.188235309077,.85882358925,.772549079446,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[12.806,14.208],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.155,3.28],[.645,-2.086],[6.407,-2.135],[.013,-5.781],[.089,-1.098],[-1.13,3.633],[-5.723,1.939],[.97,6.399]],o:[[0,0],[-.644,2.084],[-6.406,2.136],[-.013,5.779],[-.089,1.1],[1.129,-3.635],[5.697,-1.93],[-1.005,-6.631]],v:[[8.814,-14.659],[6.458,-12.24],[-2.712,-10.038],[-13.021,2.495],[-11.865,13.559],[-9.141,10.466],[3.771,6.983],[12.064,-4.949]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470588235,.780392216701,.666666666667,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[13.284,14.909],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 2",np:4,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"\u201C\u5C3E\u5DF4\u201D\u8F6E\u5ED3",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[50.937,45.185,0],ix:2,l:2},a:{a:0,k:[8.171,6.616,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.672,2.213],[1.309,-.25],[0,0],[-2.427,-3.611],[-.644,.741],[0,0],[-.938,1.331]],o:[[4.87,1.763],[-2.298,-1.089],[-1.764,.337],[-.478,.629],[2.071,3.081],[.576,-.664],[0,0],[1.098,-1.557]],v:[[3.051,-.745],[1.475,-5.182],[-3.934,-6.116],[-6.57,-4.816],[-5.493,1.55],[1.768,5.625],[.755,3.076],[6.197,4.05]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470588235,.780392216701,.666666666667,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[8.17,6.616],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"\u201C\u53F3\u817F\u201D\u8F6E\u5ED3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[-14]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:16,s:[16]},{i:{x:[.833],y:[.833]},o:{x:[.333],y:[0]},t:30,s:[-14]},{t:35,s:[-10]}],ix:10},p:{a:0,k:[79.79,159.451,0],ix:2,l:2},a:{a:0,k:[11.587,1.214,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.038,.04],[0,0],[.127,-1.17],[-.824,-1.64],[-.099,-.144],[0,0],[0,0],[0,0],[0,0],[-.768,0],[0,0],[-.849,-.469],[.569,-1.031],[.973,.364],[0,0],[.446,.037],[.833,-.223],[0,0],[0,0],[.577,.342],[.527,.214],[.072,.034],[.869,-1.09],[.104,-.256],[0,0],[1.129,.335],[-.335,1.129],[-.415,.663],[.745,.526],[-.679,.961],[-.652,.41],[-3.336,-1.279],[-.303,2.787]],o:[[0,0],[1.17,.127],[-.39,3.589],[.148,.294],[0,0],[0,0],[0,0],[0,0],[.767,-.16],[0,0],[1.01,.085],[1.031,.569],[-.517,.936],[0,0],[-.286,-.158],[-.714,-.061],[0,0],[0,0],[-.621,.256],[-.644,-.383],[-.069,-.016],[-1.956,-.738],[-.298,.373],[0,0],[-.335,1.129],[-1.128,-.335],[.151,-.508],[-.699,.476],[-.961,-.679],[.27,-.381],[2.014,-1.265],[-.429,-1.969],[.115,-1.063]],v:[[.317,-9.096],[.633,-9.085],[2.521,-6.736],[3.343,1.005],[3.722,1.656],[3.875,1.855],[3.911,1.891],[4.022,1.986],[4.306,1.921],[6.614,1.671],[7.38,1.704],[10.183,2.516],[11.019,5.411],[8.41,6.378],[8.123,6.247],[7.022,5.951],[4.642,6.221],[4.121,6.374],[3.802,6.49],[1.9,6.353],[.148,5.462],[-.065,5.383],[-4.072,6.15],[-4.674,7.158],[-4.734,7.324],[-7.384,8.762],[-8.82,6.111],[-7.988,4.314],[-10.398,4.284],[-10.909,1.314],[-9.541,.077],[-1.491,-.076],[-1.716,-7.197]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.764705942191,.101960791794,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[11.838,9.347],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"\u201C\u5DE6\u817F\u201D\u8F6E\u5ED3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[46]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14,s:[10.368]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.833],y:[1]},o:{x:[.333],y:[0]},t:30,s:[46]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:35,s:[46]},{t:39,s:[-25]}],ix:10},p:{a:0,k:[63.503,160.26,0],ix:2,l:2},a:{a:0,k:[13.352,1.314,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.176,-.048],[.048,-1.176],[-.992,-1.668],[-.12,-.164],[0,0],[-1.321,-.066],[-.798,-.354],[.478,-1.076],[1.001,.277],[0,0],[.414,.02],[.884,-.275],[0,0],[0,0],[.754,.47],[0,0],[0,0],[1.024,-1.355],[.094,-.272],[0,0],[1.146,.267],[-.266,1.146],[-.292,.576],[.604,.37],[-.616,1.003],[-.758,.493],[-3.131,-.777],[-.093,2.297]],o:[[1.176,.048],[-.134,3.312],[.134,.225],[0,0],[1.323,-.413],[.911,.045],[1.076,.478],[-.434,.978],[0,0],[-.288,-.128],[-.75,-.037],[0,0],[0,0],[-.68,.487],[0,0],[0,0],[-3.052,-1.334],[-.3,.397],[0,0],[-.266,1.146],[-1.147,-.266],[.106,-.453],[-.609,.249],[-1.003,-.616],[.282,-.461],[1.846,-1.2],[-.441,-1.742],[.047,-1.176]],v:[[-.441,-8.891],[1.602,-6.676],[3.032,.706],[3.415,1.289],[3.603,1.225],[7.593,.65],[10.166,1.235],[11.249,4.048],[8.734,5.238],[8.437,5.131],[7.382,4.907],[4.873,5.293],[4.357,5.468],[4.19,5.542],[1.821,5.618],[1.634,5.49],[1.429,5.398],[-4.274,5.829],[-4.861,6.902],[-4.914,7.08],[-7.472,8.672],[-9.065,6.114],[-8.481,4.547],[-10.41,4.392],[-11.111,1.461],[-9.573,-.033],[-2.111,-.792],[-2.656,-6.848]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.764705942191,.101960791794,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[11.977,9.189],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"\u201C\u53F3\u8FB9\u7FC5\u8180\u201D\u8F6E\u5ED3",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[16]},{t:21,s:[1]}],ix:10},p:{a:0,k:[2.019,16.339,0],ix:2,l:2},a:{a:0,k:[10.17,7.287,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.561,-6.531],[0,0],[0,0],[-2.531,5.475],[1.386,5.034],[3.453,2.347],[2.735,-.786]],o:[[0,0],[2.719,8.604],[0,0],[0,0],[-.754,-2.738],[-2.127,-1.446],[-4.175,1.2]],v:[[-9.445,2.908],[-9.445,2.908],[-1.799,5.745],[5.077,3.818],[9.62,-.878],[3.602,-9.079],[-4.046,-10.725]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411764706,.749019607843,.627450980392,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[11.255,11.762],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.02,4.936],[2.176,1.187],[.092,-.006],[-5.723,-10.991]],o:[[-.02,-4.637],[-.139,-.077],[-1.538,.118],[3.945,7.575]],v:[[6.57,4.542],[-3.072,-12.081],[-3.421,-12.188],[-.867,4.619]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[8.479,23.63],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 2",np:4,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.856,4.136],[0,0],[-1.611,-2.443]],o:[[.85,-4.111],[-7.292,-2.395],[2.343,3.555]],v:[[6.979,7.906],[-.536,-9.647],[-.104,7.344]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[13.489,20.121],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 3",np:4,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.016,4.128],[0,0],[-1.464,-2.48]],o:[[1.011,-4.104],[-6.163,-1.767],[1.599,4.541]],v:[[5.576,6.229],[-.423,-8.589],[-.977,5.143]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921628466,.192156877705,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[18.004,15.328],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 4",np:4,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"\u201C\u9634\u5F71\u201D\u8F6E\u5ED3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[72.657,174.623,0],ix:2,l:2},a:{a:0,k:[38.328,9.582,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[94,94,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:7,s:[97.471,97.471,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:15,s:[94,94,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:22,s:[97.471,97.471,100]},{t:30,s:[94,94,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-5.292],[21.167,0],[0,5.292],[-21.168,0]],o:[[0,5.292],[-21.168,0],[0,-5.292],[21.167,0]],v:[[38.327,0],[.001,9.582],[-38.327,0],[.001,-9.582]],c:!0},ix:2},nm:"\u8DEF\u5F84 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.901960844152,.901960844152,.901960844152,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"\u586B\u5145 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[38.327,9.582],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"\u53D8\u6362"}],nm:"\u7EC4 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0}],markers=[];var AstronautJSON={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},iconCollect="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAvRJREFUWEftlkFIVFEUhs95DTOiUFS7iEBGObeJtECoCIRJWhi2iEpqUYQQlLWNIoKRiCDXFkIQFJFBIUFii4okaBFBMIbj3BndBI4uhHCyiHHm/fFiRmeeo+89fIEL7/b+57s/59xz72FaJ4vXiQ/aMGKvxEZGXGekp6fH6OzsbGPmdmYOE1GQiDLMPALglVLqZ7WLPjMzUzc3N3eSiFoB7GDmAhGlAQyJyAgzm9XiqpYmmUweZub7AJpX6KpZZo6JyIPyfa11N4DbRLR9hbhRIupWSn1yzIjW+jyAh8UMrNrdzPx4YGCgKxaLIZVKPQJwwcVzsEBEXUqpp+Xaioyk0+lDhULhIxEFXABLknsAwMw3PMTkiOhIeWYWjQAIaK2TRGTdBy8LRbHXDkxNT0/viUajeSt+MTiVSp01TfOZFwc+aM+VSrRoRGs9COCED3DXCGYeFBGrw5YyorWestrNNcUHITNPicjOCiPJZPIPEYV84HtBLCilrPdpKSPj4+O/mLnWC2WtWmbOisgWe2m+Ati/VriXeGaOi8g+e2l6ieiaF5AP2l6l1HV7++4G8A3AJh8OcIPIM/NeEbHersrBSGvdB+CKG4oPmn6l1OUSp+I1jMfjdTU1Ne8AHPThoNUQX0KhUGt9fb3Vqf/Wsmd5bGxsWyAQGAZw4H+YYebPRNQhIrPl/Kr/QyaTqc1ms8+J6LjPZl7Pz8+faWlp+W3nrvhRWZc2nU73maZ5yQ8zhmH0NzY2Xi0OSsuQjj+m1vomgDvVyujSoDUi3BKRu6vpHY1YwV6GJdthOWa+KCJPnEy7MmJBEonEUcMwXhLRZidocT9rmuapSCTy1o3etZFiZpoBDBOR0y9tDdnHRCTuxkTV9nUKnJyc3JXP598AiFTTMnMiEAi0h8Ph704sx/Z1AoyOjm4NBoMviKjNpn2fy+VONzU1/XBiuG5fJ5A1L09MTHSYphm1tIZhfGhoaBhi5tIM64So2Pd0RzyRPYo3jNgT9hdnog8yjkNtfAAAAABJRU5ErkJggg==",iconCollectActive="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAp9JREFUWEftlk1IVGEUhp8zM2UU9LsLadOqIqxVRSCUtDBsESbUwgh/ZtLaRhJBQ0SQayu9d5KKiMCQILFFRUPQIoLAgojcRboKCqMIR+fEvTP+3HH0++7cFi482/u+7/fe833nR1gmIcvEBytGSm9iJSPWGdE0Mb5Rh1APbEdYjTIOZJnmifTzq9xD12bWUUUjQi2wFZgGRlGGqCYrafLleGWvRls5SIybQM0iVfUduCIut+Z/13Y6Ua4ibFmE94E8nXKHN8aMaBunAdfPgCmUe1TTQhqlnX7gjIkC5IjRIn08mI8NZERTHCDPayBhITgDuYGgKF3WHGWSBIeldy4zs0Y0TYIxPvvvIUx4FryQ0D3pC6PskixTBXoxNMUp8jwM4yEyVmmWTOGK5oy0MwgcjyweRkAYFIfGUiNjxXILIxUNK4yJQ3Wpkb9AVTTl0OycuIXqnH81v4G1oaWiEIQJcdgQNJLkPcreKLoVcEfEZU+pkW6UCxWIRaF0i8vFoJE2diB8BOJRlENwpxB2i+P3rmAT0iQ9KOdCiEWB9opLx4xAsMV7k3MNL4D9UU6w4L4jR63cxatUPxZMX21lM3GGUfZZCIaHCG+BBnHwJvhslF8Dkn4ZP0I5Fv6kJRjKU2KcFIc/pahFV0VtIs5GeoCz/8lMLz85LwP+orQgjDurtnEJuFbBdC0cVpjOlyXD9aV+yGjE1/KWJcEFi2UpeNqktzJJhvumrFoZKZo5gvAYWG8SLX6fQDkhGZ7b4K2N+GZS1JBn2GJKjxPjqPQxYmOibPmaiJpkG/AMZWdZrPAJqBeHryYtY/maBLSDTeQYQKgLYJWXrKJJbvPDpGFdviYh9ZphigbyHPKxMV7Rx5B4dVJBhHojFehbU1aMlKbqHxbzqCOJodrEAAAAAElFTkSuQmCC",iconListen="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAeCAYAAABaKIzgAAAAAXNSR0IArs4c6QAABs5JREFUWEetmHtwlOUVxp/n202wXhAcGdvSmtuShAQD8UJKR9uKYCcz7fQiKrWKHSRVQ8Ch1ERz48sVE4oMkg1KVsZim3HEYfQftVgovUwhIIZaSCQECLZaHTrGmhEh2f2eznfJ7nLLBff8tXkv5/zec8573vOF+BKil+/2AR/OBY1CgAUAMiBNBgGI/aCOAtgL8A0cMnbS3BW+VHO2ynGLAxj56AEYqoaQNjYF7ANVh27/lksBHjeo2udkg9wKYQYc111Azh2Wt8bxNLpgRBZw4Z7usR3QXTUuULXf+kPI+h2EiXFGTsHgH0C9AcPXhcHwx85csv86WJEciIWw9H0Al8ftGYChRbxv96tjhR0zqH5fcDtkvAkh2TtiGFArDDXyvg4X7iKi9oLrYPnKARVD8HvLhkAU8v7dO8YCOyZQvTgnAMvqAHCNF4iToLWQi/buHIuR4TXaMnsu5HsJ0BRvrB+wvsUH9/aMpmdsoC8UvA6p0IMcgIFb+WDHu6Mpv9C8fluQBwt/A3SVGxlu5y867NQYUUYF1eZb5kF4K6qFxt1c3PHKaIpHTIXNBQsga2t0jaU7WfR2zMYFNo8OGrp5O4T5njf/zKJ93/sykNE0aLtlF6Dvel7dwSX75o2kd0RQPXfTtSA/guRzlPiMQi7Z92ZCQDflF0LG654uC0nWV7m48+TFdI8MuvHGnwDY5hYxDuCaL67lPV2DCQF9OScZn3zlv9BwruIuPvLOtksDbc2vBFDnbd7F4s7bEwEZDX9r/p8guKlEVLG4s/7SQFtmrge43NvczpIDP08o6IZZ7SB+5uX/BpZ0Dts6z8zIoX8mbxOAIucBk1r52LtLEwq6flYQVLEH2sblB345Lo/qmZmzYVlzASwCMN0BpYJ87J8liQWd2QJZS92XXN0gXoChnVx28O1z7ZzlUT2ddxug9YDyz/c9g1yRYNB1N7RAiIuS172Q+2FpOVce/PswRxRUv5mxDMQ6CG4pcmS47XGSPciVhxLr0bW5LRCXxuzE+Y2IAFjGlQc3unfNxlmTuxBAOyR3JRlxXiPia5BmejkUZGkMVM/dlMSH9w+NJxXO3aPm3BZAbuiJf0D4D4j50bpNCMK9LO3aSq2+YTKMyDFIk7wycRzEApZ2v6Om6W0QlrgphCCf6HY8qqbcLYB1P8CtLOu6dyywasp5DdAPAIZY1vWwo6d5egssL/REiGXdRWqefiOEV+Ia8n5M+CKdaswuB9DgQQ7A589n6UH7EwJabYNqiTNn0AHVmrwrEB4cgLxe1qepLDv8YTRZGjOzEfFFWNV9JDrWlPV1RPiBZ0M4c8WVNPefUmN2CzAMqhCfPFzkHmBGBiLhTghe44JyqiF7DyD7e8f2WjMrD5dFDTRktQFwQcEgK94rkZk6CUkT+qMp7GMan3yvz9nekHUPgJccTdRdLO9xGmOtzk5FRHakXBk6M5lm36dqyG6BtNQbD7HCBXX21Gc1gSj1bO+h6jI/ATDZ9RrmsaIn2siqNjMGal+mqh4X1JfsgtriN2Kg9VlByKuLZCsrDzs3WmZ2KnzW8eieyKALWpcZ51GEWNkTA23IvAMR/NH1EfupmsDnAN3PBOrbrO7dHT2VGWgDGfPoKg+USTFQ+dJoeh6tnbYRwiOuLjzL6iOPRkEZiYFqyAWtCbQA9q23T6MQzd4YaG1gDsTh8nSKMgM9EKa5i1HM2l6nHDh/rgqc7VGz1/Wo/DFQ+mOgNdOqYKnWjQ6rueqI0yc4HlU4BsqwC2oG4utoiDVxoDWBR2Gh1Tv0EWpVxkZYUS90wZiQT9PtkFSVEQeqIGuPlags/Wok89NoGH2RNJp9bo6aU66EdfWvnbmrBtbw8Y8/d8Yr0lJgGM4aRwY1iU3H/qfqdK+OOqMh1h11L5OZkwzrjH2ZctxD41mqIv1m958EXkqTL8J/dDFNhFWRdrZH64+75akyvQ9CCoCT+Mz4Jjf0nolCXOCHlgUmYKL1LwBTQJxA/bE0p3uotEGHXyaG2HC0SCb8CGdshvSA9xAI4Gy34JenPg9hcdQGaX8PrQX0Iwg/9QpykI0eaMU3pkJJd8DSX/iU683RRE+kpsLgd8ChHWz4t1OqVJ7m3npbiG0AX4OwEkCeq89mxGY29j3kgpqpl+E0tkO67aIGDSPI1S5ookRlKbFbfyGl5F9xGe6k2Xc69tbb4bl8aB0ku9Xy3ntvWvbJ+DSbT9inTZioNGUtpF/FIhn9FYG4CaeTVgyn1Xn9qFZcnws/H4Ks+RCvBzQR5Akw8mOu+eBAwijtSD4+dRbkexVQCsDPALwP8i2E9TzXvX8o3tb/AVF11kslUVX6AAAAAElFTkSuQmCC",imgList="./assets/logoWatermark.223403de.png";const imgToCanvas=async t=>{console.log("imgToCanvas",t);const e=document.createElement("img");e.setAttribute("crossOrigin","anonymous"),t&&typeof t=="string"&&t.includes("data:image")?e.src=t:e.src=t+`?${new Date().getTime()}`,await new Promise(s=>e.onload=s);const r=document.createElement("canvas");r.width=e.width,r.height=e.height;const i=r.getContext("2d");return i.fillStyle="rgb(255, 255, 255)",i.fillStyle="#fff",i.fillRect(0,0,e.width,e.height),i.drawImage(e,0,0),r},addWatermark=async(t,e)=>{console.log("addWatermark");try{const r=t.getContext("2d"),i=document.createElement("img");i.setAttribute("crossOrigin","anonymous"),imgList&&typeof imgList=="string"&&imgList.includes("data:image")?i.src=imgList:i.src=imgList+`?${new Date().getTime()}`,await new Promise(c=>i.onload=c);const s=document.createElement("canvas");s.width=600,s.height=500;const a=s.getContext("2d");a.clearRect(0,0,s.width,s.height),a.rotate(-30*Math.PI/180),a.drawImage(i,0,300);const n=r.createPattern(s,"repeat");return r.fillStyle=n,r.fillRect(0,0,t.width,t.height),t}catch(r){console.log(r)}},addMusicTitle=(t,e)=>{t.getContext("2d");const r=document.createElement("canvas");r.width=t.width,r.height=t.height+30;const i=r.getContext("2d");return i.fillStyle="#fff",i.fillRect(0,0,t.width,t.height+70),i.font="40pt Calibri",i.fillStyle="#000",i.textAlign="center",i.drawImage(t,0,70),i.fillText(e.title,t.width/2,120),r},convasToImg=t=>t.toDataURL("image/png");export{AstronautJSON as A,Vue3Lottie as V,iconListen as a,iconCollectActive as b,iconCollect as c,imgToCanvas as d,convasToImg as e,addMusicTitle as f,addWatermark as g,iconDownload as i};