download.d496ab7b.js 327 KB

123456789
  1. import{bd as commonjsGlobal,d as defineComponent,U as ref,W as computed,a3 as watch,V as onMounted,o as openBlock,bi as createElementBlock,bk as normalizeStyle,i as createVNode,A as createTextVNode,B as Button,T as Toast,m as promisefiyPostMessage}from"./index.6b776f4b.js";import{S as Swipe,a as SwipeItem}from"./index.570314c1.js";import{I as Image$1}from"./index.7cc0b0e7.js";var lottie={exports:{}};(function(module,exports){typeof navigator!="undefined"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,i=e.length,s;for(r=0;r<i;r+=1){s=e[r].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t.prototype[a]=s[a])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.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 e}}(),createTypedArray=function(){function e(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 t(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):e(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){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(e)}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 e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var r=createSizedArray(e.length),i,s=e.length;for(i=0;i<s;i+=1)r[i]=Math.abs(e[i]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,i){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,i){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=i<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,r){var i,s,a,n,c,u,d,A;switch(n=Math.floor(e*6),c=e*6-n,u=r*(1-t),d=r*(1-c*t),A=r*(1-(1-c)*t),n%6){case 0:i=r,s=A,a=u;break;case 1:i=d,s=r,a=u;break;case 2:i=u,s=r,a=A;break;case 3:i=u,s=d,a=r;break;case 4:i=A,s=u,a=r;break;case 5:i=r,s=u,a=d;break}return[i,s,a]}function RGBtoHSV(e,t,r){var i=Math.max(e,t,r),s=Math.min(e,t,r),a=i-s,n,c=i===0?0:a/i,u=i/255;switch(i){case s:n=0;break;case e:n=t-r+a*(t<r?6:0),n/=6*a;break;case t:n=r-e+a*2,n/=6*a;break;case r:n=e-t+a*4,n/=6*a;break}return[n,c,u]}function addSaturationToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+e[i]+e[s]+e[a]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){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(e)}var dataManager=function(){var e=1,t=[],r,i,s={onmessage:function(){},postMessage:function(E){r({data:E})}},a={postMessage:function(E){s.onmessage({data:E})}};function n(m){if(window.Worker&&window.Blob&&getWebWorker()){var E=new Blob(["var _workerSelf = self; self.onmessage = ",m.toString()],{type:"text/javascript"}),x=URL.createObjectURL(E);return new Worker(x)}return r=m,s}function c(){i||(i=n(function(E){function x(){function C(B,M){var F,S,_=B.length,R,V,N,q;for(S=0;S<_;S+=1)if(F=B[S],"ks"in F&&!F.completed){if(F.completed=!0,F.tt&&(B[S-1].td=F.tt),F.hasMask){var W=F.masksProperties;for(V=W.length,R=0;R<V;R+=1)if(W[R].pt.k.i)g(W[R].pt.k);else for(q=W[R].pt.k.length,N=0;N<q;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])}F.ty===0?(F.layers=f(F.refId,M),C(F.layers,M)):F.ty===4?l(F.shapes):F.ty===5&&O(F)}}function o(B,M){if(B){var F=0,S=B.length;for(F=0;F<S;F+=1)B[F].t===1&&(B[F].data.layers=f(B[F].data.refId,M),C(B[F].data.layers,M))}}function p(B,M){for(var F=0,S=M.length;F<S;){if(M[F].id===B)return M[F];F+=1}return null}function f(B,M){var F=p(B,M);return F?F.layers.__used?JSON.parse(JSON.stringify(F.layers)):(F.layers.__used=!0,F.layers):null}function l(B){var M,F=B.length,S,_;for(M=F-1;M>=0;M-=1)if(B[M].ty==="sh")if(B[M].ks.k.i)g(B[M].ks.k);else for(_=B[M].ks.k.length,S=0;S<_;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,F=B.i.length;for(M=0;M<F;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 F=M?M.split("."):[100,100,100];return B[0]>F[0]?!0:F[0]>B[0]?!1:B[1]>F[1]?!0:F[1]>B[1]?!1:B[2]>F[2]?!0:F[2]>B[2]?!1:null}var P=function(){var B=[4,4,14];function M(S){var _=S.t.d;S.t.d={k:[{s:_,t:0}]}}function F(S){var _,R=S.length;for(_=0;_<R;_+=1)S[_].ty===5&&M(S[_])}return function(S){if(b(B,S.v)&&(F(S.layers),S.assets)){var _,R=S.assets.length;for(_=0;_<R;_+=1)S.assets[_].layers&&F(S.assets[_].layers)}}}(),k=function(){var B=[4,7,99];return function(M){if(M.chars&&!b(B,M.v)){var F,S=M.chars.length;for(F=0;F<S;F+=1){var _=M.chars[F];_.data&&_.data.shapes&&(l(_.data.shapes),_.data.ip=0,_.data.op=99999,_.data.st=0,_.data.sr=1,_.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[F].t||(_.data.shapes.push({ty:"no"}),_.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 _=S.t.p;typeof _.a=="number"&&(_.a={a:0,k:_.a}),typeof _.p=="number"&&(_.p={a:0,k:_.p}),typeof _.r=="number"&&(_.r={a:0,k:_.r})}function F(S){var _,R=S.length;for(_=0;_<R;_+=1)S[_].ty===5&&M(S[_])}return function(S){if(b(B,S.v)&&(F(S.layers),S.assets)){var _,R=S.assets.length;for(_=0;_<R;_+=1)S.assets[_].layers&&F(S.assets[_].layers)}}}(),G=function(){var B=[4,1,9];function M(S){var _,R=S.length,V,N;for(_=0;_<R;_+=1)if(S[_].ty==="gr")M(S[_].it);else if(S[_].ty==="fl"||S[_].ty==="st")if(S[_].c.k&&S[_].c.k[0].i)for(N=S[_].c.k.length,V=0;V<N;V+=1)S[_].c.k[V].s&&(S[_].c.k[V].s[0]/=255,S[_].c.k[V].s[1]/=255,S[_].c.k[V].s[2]/=255,S[_].c.k[V].s[3]/=255),S[_].c.k[V].e&&(S[_].c.k[V].e[0]/=255,S[_].c.k[V].e[1]/=255,S[_].c.k[V].e[2]/=255,S[_].c.k[V].e[3]/=255);else S[_].c.k[0]/=255,S[_].c.k[1]/=255,S[_].c.k[2]/=255,S[_].c.k[3]/=255}function F(S){var _,R=S.length;for(_=0;_<R;_+=1)S[_].ty===4&&M(S[_].shapes)}return function(S){if(b(B,S.v)&&(F(S.layers),S.assets)){var _,R=S.assets.length;for(_=0;_<R;_+=1)S.assets[_].layers&&F(S.assets[_].layers)}}}(),L=function(){var B=[4,4,18];function M(S){var _,R=S.length,V,N;for(_=R-1;_>=0;_-=1)if(S[_].ty==="sh")if(S[_].ks.k.i)S[_].ks.k.c=S[_].closed;else for(N=S[_].ks.k.length,V=0;V<N;V+=1)S[_].ks.k[V].s&&(S[_].ks.k[V].s[0].c=S[_].closed),S[_].ks.k[V].e&&(S[_].ks.k[V].e[0].c=S[_].closed);else S[_].ty==="gr"&&M(S[_].it)}function F(S){var _,R,V=S.length,N,q,W,X;for(R=0;R<V;R+=1){if(_=S[R],_.hasMask){var j=_.masksProperties;for(q=j.length,N=0;N<q;N+=1)if(j[N].pt.k.i)j[N].pt.k.c=j[N].cl;else for(X=j[N].pt.k.length,W=0;W<X;W+=1)j[N].pt.k[W].s&&(j[N].pt.k[W].s[0].c=j[N].cl),j[N].pt.k[W].e&&(j[N].pt.k[W].e[0].c=j[N].cl)}_.ty===4&&M(_.shapes)}}return function(S){if(b(B,S.v)&&(F(S.layers),S.assets)){var _,R=S.assets.length;for(_=0;_<R;_+=1)S.assets[_].layers&&F(S.assets[_].layers)}}}();function D(B){B.__complete||(G(B),P(B),k(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=k,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,P=new XMLHttpRequest;try{P.responseType="json"}catch{}P.onreadystatechange=function(){if(P.readyState===4)if(P.status===200)b=C(P),l(b);else try{b=C(P),l(b)}catch(k){g&&g(k)}};try{P.open("GET",p,!0)}catch{P.open("GET",f+"/"+p,!0)}P.send()}return{load:o}}()),E.data.type==="loadAnimation")a.assetLoader.load(E.data.path,E.data.fullPath,function(C){a.dataManager.completeData(C),a.postMessage({id:E.data.id,payload:C,status:"success"})},function(){a.postMessage({id:E.data.id,status:"error"})});else if(E.data.type==="complete"){var y=E.data.animation;a.dataManager.completeData(y),a.postMessage({id:E.data.id,payload:y,status:"success"})}else E.data.type==="loadData"&&a.assetLoader.load(E.data.path,E.data.fullPath,function(C){a.postMessage({id:E.data.id,payload:C,status:"success"})},function(){a.postMessage({id:E.data.id,status:"error"})})}),i.onmessage=function(m){var E=m.data,x=E.id,y=t[x];t[x]=null,E.status==="success"?y.onComplete(E.payload):y.onError&&y.onError()})}function u(m,E){e+=1;var x="processId_"+e;return t[x]={onComplete:m,onError:E},x}function d(m,E,x){c();var y=u(E,x);i.postMessage({type:"loadAnimation",path:m,fullPath:window.location.origin+window.location.pathname,id:y})}function A(m,E,x){c();var y=u(E,x);i.postMessage({type:"loadData",path:m,fullPath:window.location.origin+window.location.pathname,id:y})}function T(m,E,x){c();var y=u(E,x);i.postMessage({type:"complete",animation:m,id:y})}return{loadAnimation:d,loadData:A,completeAnimation:T}}(),ImagePreloader=function(){var e=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 t(){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=e,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=e,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 u(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 A(o){this.assetsPath=o||""}function T(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 m(){this.imagesLoadedCb=null,this.images.length=0}function E(){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=t.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:u,setAssetsPath:A,setPath:d,loadedImages:E,loadedFootages:x,destroy:m,getAsset:T,createImgData:n,createImageData:a,imageLoaded:t,footageLoaded:r,setCacheType:y},C}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,r){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](r)},addEventListener:function(t,r){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(r),function(){this.removeEventListener(t,r)}.bind(this)},removeEventListener:function(t,r){if(!r)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===r&&(this._cbs[t].splice(i,1),i-=1,s-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var r=t.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(t){for(var r=[],i=0;i<t.length;i+=1){var s=t[i],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(t[i].cm)}catch{try{a.payload=e(t[i].cm)}catch{a.payload={name:t[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(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 t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(t,r){renderers[t]=r};function getRenderer(e){return renderers[e]}function _typeof$4(e){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(e)}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(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},i=e.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(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,i=t.length,s=e.layers,a,n=s.length;for(a=0;a<n;a+=1)for(r=0;r<i;){if(t[r].id===s[a].id){t[r]=s[a];break}r+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(e.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.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 e=this.animationData.segments;e||(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(e){if(!!this.renderer)try{this.animationData=e,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(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},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 e=getExpressionsPlugin();e&&e.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(e){this.isSubframeEnabled=!!e},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(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if(t=this.markers[r],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var s=this.getMarkerData(e);s&&this.goToAndStop(s.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var s=this.getMarkerData(e);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(i,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,t=0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,i=e.length;for(r=0;r<i;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!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(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||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(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{var i=this.renderer.getElementByPath(e);i.updateDocumentData(t,r)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,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(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,i=0,s=0,a=!0,n=!1;function c(M){for(var F=0,S=M.target;F<i;)t[F].animation===S&&(t.splice(F,1),F-=1,i-=1,S.isPaused||T()),F+=1}function u(M,F){if(!M)return null;for(var S=0;S<i;){if(t[S].elem===M&&t[S].elem!==null)return t[S].animation;S+=1}var _=new AnimationItem;return m(_,M),_.setData(M,F),_}function d(){var M,F=t.length,S=[];for(M=0;M<F;M+=1)S.push(t[M].animation);return S}function A(){s+=1,G()}function T(){s-=1}function m(M,F){M.addEventListener("destroy",c),M.addEventListener("_active",A),M.addEventListener("_idle",T),t.push({elem:F,animation:M}),i+=1}function E(M){var F=new AnimationItem;return m(F,null),F.setParams(M),F}function x(M,F){var S;for(S=0;S<i;S+=1)t[S].animation.setSpeed(M,F)}function y(M,F){var S;for(S=0;S<i;S+=1)t[S].animation.setDirection(M,F)}function C(M){var F;for(F=0;F<i;F+=1)t[F].animation.play(M)}function o(M){var F=M-r,S;for(S=0;S<i;S+=1)t[S].animation.advanceTime(F);r=M,s&&!n?window.requestAnimationFrame(o):a=!0}function p(M){r=M,window.requestAnimationFrame(o)}function f(M){var F;for(F=0;F<i;F+=1)t[F].animation.pause(M)}function l(M,F,S){var _;for(_=0;_<i;_+=1)t[_].animation.goToAndStop(M,F,S)}function g(M){var F;for(F=0;F<i;F+=1)t[F].animation.stop(M)}function b(M){var F;for(F=0;F<i;F+=1)t[F].animation.togglePause(M)}function P(M){var F;for(F=i-1;F>=0;F-=1)t[F].animation.destroy(M)}function k(M,F,S){var _=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),R,V=_.length;for(R=0;R<V;R+=1)S&&_[R].setAttribute("data-bm-type",S),u(_[R],M);if(F&&V===0){S||(S="svg");var N=document.getElementsByTagName("body")[0];N.innerText="";var q=createTag("div");q.style.width="100%",q.style.height="100%",q.setAttribute("data-bm-type",S),N.appendChild(q),u(q,M)}}function I(){var M;for(M=0;M<i;M+=1)t[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,F){var S;for(S=0;S<i;S+=1)t[S].animation.setVolume(M,F)}function z(M){var F;for(F=0;F<i;F+=1)t[F].animation.mute(M)}function B(M){var F;for(F=0;F<i;F+=1)t[F].animation.unmute(M)}return e.registerAnimation=u,e.loadAnimation=E,e.setSpeed=x,e.setDirection=y,e.play=C,e.pause=f,e.stop=g,e.togglePause=b,e.searchAnimations=k,e.resize=I,e.goToAndStop=l,e.destroy=P,e.freeze=L,e.unfreeze=D,e.setVolume=O,e.mute=z,e.unmute=B,e.getRegisteredAnimations=d,e}(),BezierFactory=function(){var e={};e.getBezierEasing=r;var t={};function r(p,f,l,g,b){var P=b||("bez_"+p+"_"+f+"_"+l+"_"+g).replace(/\./g,"p");if(t[P])return t[P];var k=new o([p,f,l,g]);return t[P]=k,k}var i=4,s=.001,a=1e-7,n=10,c=11,u=1/(c-1),d=typeof Float32Array=="function";function A(p,f){return 1-3*f+3*p}function T(p,f){return 3*f-6*p}function m(p){return 3*p}function E(p,f,l){return((A(f,l)*p+T(f,l))*p+m(f))*p}function x(p,f,l){return 3*A(f,l)*p*p+2*T(f,l)*p+m(f)}function y(p,f,l,g,b){var P,k,I=0;do k=f+(l-f)/2,P=E(k,g,b)-p,P>0?l=k:f=k;while(Math.abs(P)>a&&++I<n);return k}function C(p,f,l,g){for(var b=0;b<i;++b){var P=x(f,l,g);if(P===0)return f;var k=E(f,l,g)-p;f-=k/P}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],P=this._p[3];return this._precomputed||this._precompute(),l===g&&b===P?f:f===0?0:f===1?1:E(this._getTForX(f),g,P)},_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]=E(g*u,f,l)},_getTForX:function(f){for(var l=this._p[0],g=this._p[2],b=this._mSampleValues,P=0,k=1,I=c-1;k!==I&&b[k]<=f;++k)P+=u;--k;var G=(f-b[k])/(b[k+1]-b[k]),L=P+G*u,D=x(L,l,g);return D>=s?C(f,L,l,g):D===0?L:y(f,P,P+u,l,g)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var i=0,s=e,a=createSizedArray(s),n={newElement:c,release:u};function c(){var d;return i?(i-=1,d=a[i]):d=t(),d}function u(d){i===s&&(a=pooling.double(a),s*=2),r&&r(d),a[i]=d,i+=1}return n}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(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,e,t)}();function bezFunction(){var e=Math;function t(m,E,x,y,C,o){var p=m*y+E*C+x*o-C*y-o*m-x*E;return p>-.001&&p<.001}function r(m,E,x,y,C,o,p,f,l){if(x===0&&o===0&&l===0)return t(m,E,y,C,p,f);var g=e.sqrt(e.pow(y-m,2)+e.pow(C-E,2)+e.pow(o-x,2)),b=e.sqrt(e.pow(p-m,2)+e.pow(f-E,2)+e.pow(l-x,2)),P=e.sqrt(e.pow(p-y,2)+e.pow(f-C,2)+e.pow(l-o,2)),k;return g>b?g>P?k=g-b-P:k=P-b-g:P>b?k=P-b-g:k=b-g-P,k>-1e-4&&k<1e-4}var i=function(){return function(m,E,x,y){var C=getDefaultCurveSegments(),o,p,f,l,g,b=0,P,k=[],I=[],G=bezierLengthPool.newElement();for(f=x.length,o=0;o<C;o+=1){for(g=o/(C-1),P=0,p=0;p<f;p+=1)l=bmPow(1-g,3)*m[p]+3*bmPow(1-g,2)*g*x[p]+3*(1-g)*bmPow(g,2)*y[p]+bmPow(g,3)*E[p],k[p]=l,I[p]!==null&&(P+=bmPow(k[p]-I[p],2)),I[p]=k[p];P&&(P=bmSqrt(P),b+=P),G.percents[o]=g,G.lengths[o]=b}return G.addedLength=b,G}}();function s(m){var E=segmentsLengthPool.newElement(),x=m.c,y=m.v,C=m.o,o=m.i,p,f=m._length,l=E.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),E.totalLength=g,E}function a(m){this.segmentLength=0,this.points=new Array(m)}function n(m,E){this.partialLength=m,this.point=E}var c=function(){var m={};return function(E,x,y,C){var o=(E[0]+"_"+E[1]+"_"+x[0]+"_"+x[1]+"_"+y[0]+"_"+y[1]+"_"+C[0]+"_"+C[1]).replace(/\./g,"p");if(!m[o]){var p=getDefaultCurveSegments(),f,l,g,b,P,k=0,I,G,L=null;E.length===2&&(E[0]!==x[0]||E[1]!==x[1])&&t(E[0],E[1],x[0],x[1],E[0]+y[0],E[1]+y[1])&&t(E[0],E[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),P=f/(p-1),I=0,l=0;l<g;l+=1)b=bmPow(1-P,3)*E[l]+3*bmPow(1-P,2)*P*(E[l]+y[l])+3*(1-P)*bmPow(P,2)*(x[l]+C[l])+bmPow(P,3)*x[l],G[l]=b,L!==null&&(I+=bmPow(G[l]-L[l],2));I=bmSqrt(I),k+=I,D.points[f]=new n(I,G),L=G}D.segmentLength=k,m[o]=D}return m[o]}}();function u(m,E){var x=E.percents,y=E.lengths,C=x.length,o=bmFloor((C-1)*m),p=m*E.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(m,E,x,y,C,o){var p=u(C,o),f=1-p,l=e.round((f*f*f*m[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*E[0])*1e3)/1e3,g=e.round((f*f*f*m[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*E[1])*1e3)/1e3;return[l,g]}var A=createTypedArray("float32",8);function T(m,E,x,y,C,o,p){C<0?C=0:C>1&&(C=1);var f=u(C,p);o=o>1?1:o;var l=u(o,p),g,b=m.length,P=1-f,k=1-l,I=P*P*P,G=f*P*P*3,L=f*f*P*3,D=f*f*f,O=P*P*k,z=f*P*k+P*f*k+P*P*l,B=f*f*k+P*f*l+f*P*l,M=f*f*l,F=P*k*k,S=f*k*k+P*l*k+P*k*l,_=f*l*k+P*l*l+f*k*l,R=f*l*l,V=k*k*k,N=l*k*k+k*l*k+k*k*l,q=l*l*k+k*l*l+l*k*l,W=l*l*l;for(g=0;g<b;g+=1)A[g*4]=e.round((I*m[g]+G*x[g]+L*y[g]+D*E[g])*1e3)/1e3,A[g*4+1]=e.round((O*m[g]+z*x[g]+B*y[g]+M*E[g])*1e3)/1e3,A[g*4+2]=e.round((F*m[g]+S*x[g]+_*y[g]+R*E[g])*1e3)/1e3,A[g*4+3]=e.round((V*m[g]+N*x[g]+q*y[g]+W*E[g])*1e3)/1e3;return A}return{getSegmentsLength:s,getNewSegment:T,getPointInSegment:d,buildBezierData:c,pointOnLine2D:t,pointOnLine3D:r}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=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,P=!0,k,I,G;P;){if(k=this.keyframes[g],I=this.keyframes[g+1],g===b-1&&C>=I.t-p){k.h&&(k=I),l=0;break}if(I.t-p>C){l=g;break}g<b-1?g+=1:(l=0,P=!1)}G=this.keyframesMetadata[g]||{};var L,D,O,z,B,M,F=I.t-p,S=k.t-p,_;if(k.to){G.bezierData||(G.bezierData=bez.buildBezierData(k.s,I.s||k.e,k.to,k.ti));var R=G.bezierData;if(C>=F||C<S){var V=C>=F?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(k.o.x,k.o.y,k.i.x,k.i.y,k.n).get,G.__fnct=M),O=M((C-S)/(F-S));var N=R.segmentLength*O,q,W=o.lastFrame<C&&o._lastKeyframeIndex===g?o._lastAddedLength:0;for(B=o.lastFrame<C&&o._lastKeyframeIndex===g?o._lastPoint:0,P=!0,z=R.points.length;P;){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(q=(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])*q;break}B<z-1?B+=1:P=!1}o._lastPoint=B,o._lastAddedLength=W-R.points[B].partialLength,o._lastKeyframeIndex=g}}else{var X,j,K,Z,$;if(b=k.s.length,_=I.s||k.e,this.sh&&k.h!==1)if(C>=F)f[0]=_[0],f[1]=_[1],f[2]=_[2];else if(C<=S)f[0]=k.s[0],f[1]=k.s[1],f[2]=k.s[2];else{var Q=a(k.s),U=a(_),J=(C-S)/(F-S);s(f,i(Q,U,J))}else for(g=0;g<b;g+=1)k.h!==1&&(C>=F?O=1:C<S?O=0:(k.o.x.constructor===Array?(G.__fnct||(G.__fnct=[]),G.__fnct[g]?M=G.__fnct[g]:(X=k.o.x[g]===void 0?k.o.x[0]:k.o.x[g],j=k.o.y[g]===void 0?k.o.y[0]:k.o.y[g],K=k.i.x[g]===void 0?k.i.x[0]:k.i.x[g],Z=k.i.y[g]===void 0?k.i.y[0]:k.i.y[g],M=BezierFactory.getBezierEasing(X,j,K,Z).get,G.__fnct[g]=M)):G.__fnct?M=G.__fnct:(X=k.o.x,j=k.o.y,K=k.i.x,Z=k.i.y,M=BezierFactory.getBezierEasing(X,j,K,Z).get,k.keyframeMetadata=M),O=M((C-S)/(F-S)))),_=I.s||k.e,$=k.h===1?k.s[g]:k.s[g]+(_[g]-k.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],P=C[3],k=o[0],I=o[1],G=o[2],L=o[3],D,O,z,B,M;return O=l*k+g*I+b*G+P*L,O<0&&(O=-O,k=-k,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*k,f[1]=B*g+M*I,f[2]=B*b+M*G,f[3]=B*P+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),P=Math.asin(2*p*f+2*l*g),k=Math.atan2(2*p*g-2*f*l,1-2*p*p-2*l*l);C[0]=b/degToRads,C[1]=P/degToRads,C[2]=k/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),P=Math.sin(o/2),k=Math.sin(p/2),I=Math.sin(f/2),G=l*g*b-P*k*I,L=P*k*b+l*g*I,D=P*g*b+l*k*I,O=l*k*b-P*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!==e&&(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,t(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,t(this.v[p]-o)>1e-5&&(this.v[p]=o,this._mdf=!0),p+=1}function u(){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 A(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=u,this.setVValue=c,this.addEffect=d}function T(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=u,this.setVValue=c,this.addEffect=d}function m(C,o,p,f){this.propType="unidimensional",this.keyframes=o.k,this.keyframesMetadata=[],this.offsetTime=C.data.st,this.frameId=-1,this._caching={lastFrame:e,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=e,this.pv=e,this._isFirstFrame=!0,this.getValue=u,this.setVValue=c,this.interpolateValue=r,this.effectsSequence=[n.bind(this)],this.addEffect=d}function E(C,o,p,f){this.propType="multidimensional";var l,g=o.k.length,b,P,k,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,P=o.k[l+1].s,k=o.k[l].to,I=o.k[l].ti,(b.length===2&&!(b[0]===P[0]&&b[1]===P[1])&&bez.pointOnLine2D(b[0],b[1],P[0],P[1],b[0]+k[0],b[1]+k[1])&&bez.pointOnLine2D(b[0],b[1],P[0],P[1],P[0]+I[0],P[1]+I[1])||b.length===3&&!(b[0]===P[0]&&b[1]===P[1]&&b[2]===P[2])&&bez.pointOnLine3D(b[0],b[1],b[2],P[0],P[1],P[2],b[0]+k[0],b[1]+k[1],b[2]+k[2])&&bez.pointOnLine3D(b[0],b[1],b[2],P[0],P[1],P[2],P[0]+I[0],P[1]+I[1],P[2]+I[2]))&&(o.k[l].to=null,o.k[l].ti=null),b[0]===P[0]&&b[1]===P[1]&&k[0]===0&&k[1]===0&&I[0]===0&&I[1]===0&&(b.length===2||b[2]===P[2]&&k[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=u,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]=e,this.pv[l]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",G)},this.addEffect=d}function x(C,o,p,f,l){var g;if(!o.k.length)g=new A(C,o,f,l);else if(typeof o.k[0]=="number")g=new T(C,o,f,l);else switch(p){case 0:g=new m(C,o,f,l);break;case 1:g=new E(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(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,r=this.dynamicProperties.length;for(t=0;t<r;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();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(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},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(e,t,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]=e,a[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,s,a,n,c){this.setXYAt(e,t,"v",n,c),this.setXYAt(r,i,"o",n,c),this.setXYAt(s,a,"i",n,c)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[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)e.setTripleAt(t[a][0],t[a][1],i[a][0],i[a][1],r[a][0],r[a][1],c,!1),a-=1;return e};var shapePool=function(){function e(){return new ShapePath}function t(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,e,t);return i.clone=r,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:s,release:a},t=0,r=4,i=createSizedArray(r);function s(){var n;return t?(t-=1,n=i[t]):n=new ShapeCollection,n}function a(n){var c,u=n._length;for(c=0;c<u;c+=1)shapePool.release(n.shapes[c]);n._length=0,t===r&&(i=pooling.double(i),r*=2),i[t]=n,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(o,p,f){var l=f.lastIndex,g,b,P,k,I,G,L,D,O,z=this.keyframes;if(o<z[0].t-this.offsetTime)g=z[0].s[0],P=!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],P=!0;else{for(var B=l,M=z.length-1,F=!0,S,_,R;F&&(S=z[B],_=z[B+1],!(_.t-this.offsetTime>o));)B<M-1?B+=1:F=!1;if(R=this.keyframesMetadata[B]||{},P=S.h===1,l=B,!P){if(o>=_.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))/(_.t-this.offsetTime-(S.t-this.offsetTime)))}b=_.s?_.s[0]:S.e[0]}g=S.s[0]}for(G=p._length,L=g.i[0].length,f.lastIndex=l,k=0;k<G;k+=1)for(I=0;I<L;I+=1)O=P?g.i[k][I]:g.i[k][I]+(b.i[k][I]-g.i[k][I])*D,p.i[k][I]=O,O=P?g.o[k][I]:g.o[k][I]+(b.o[k][I]-g.o[k][I])*D,p.o[k][I]=O,O=P?g.v[k][I]:g.v[k][I]+(b.v[k][I]-g.v[k][I])*D,p.v[k][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!==e&&(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 u(o){this.effectsSequence.push(o),this.container.addDynamicProperty(this)}c.prototype.interpolateShape=t,c.prototype.getValue=n,c.prototype.setVValue=a,c.prototype.addEffect=u;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=e,this.reset=i,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}d.prototype.getValue=n,d.prototype.interpolateShape=t,d.prototype.setVValue=a,d.prototype.addEffect=u;var A=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,P=this.s.v[1]/2,k=this.d!==3,I=this.v;I.v[0][0]=l,I.v[0][1]=g-P,I.v[1][0]=k?l+b:l-b,I.v[1][1]=g,I.v[2][0]=l,I.v[2][1]=g+P,I.v[3][0]=k?l-b:l+b,I.v[3][1]=g,I.i[0][0]=k?l-b*o:l+b*o,I.i[0][1]=g-P,I.i[1][0]=k?l+b:l-b,I.i[1][1]=g-P*o,I.i[2][0]=k?l+b*o:l-b*o,I.i[2][1]=g+P,I.i[3][0]=k?l-b:l+b,I.i[3][1]=g+P*o,I.o[0][0]=k?l+b*o:l-b*o,I.o[0][1]=g-P,I.o[1][0]=k?l+b:l-b,I.o[1][1]=g+P*o,I.o[2][0]=k?l-b*o:l+b*o,I.o[2][1]=g+P,I.o[3][0]=k?l-b:l+b,I.o[3][1]=g-P*o}},extendPrototype([DynamicPropertyContainer],p),p}(),T=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,P=this.ir.v,k=this.os.v,I=this.is.v,G=2*Math.PI*b/(f*2),L=2*Math.PI*P/(f*2),D,O,z,B,M=-Math.PI/2;M+=this.r.v;var F=this.data.d===3?-1:1;for(this.v._length=0,D=0;D<f;D+=1){O=g?b:P,z=g?k:I,B=g?G:L;var S=O*Math.cos(M),_=O*Math.sin(M),R=S===0&&_===0?0:_/Math.sqrt(S*S+_*_),V=S===0&&_===0?0:-S/Math.sqrt(S*S+_*_);S+=+this.p.v[0],_+=+this.p.v[1],this.v.setTripleAt(S,_,S-R*B*z*F,_-V*B*z*F,S+R*B*z*F,_+V*B*z*F,D,!0),g=!g,M+=l*F}},convertPolygonToPath:function(){var f=Math.floor(this.pt.v),l=Math.PI*2/f,g=this.or.v,b=this.os.v,P=2*Math.PI*g/(f*4),k,I=-Math.PI*.5,G=this.data.d===3?-1:1;for(I+=this.r.v,this.v._length=0,k=0;k<f;k+=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*P*b*G,D-z*P*b*G,L+O*P*b*G,D+z*P*b*G,k,!0),I+=l*G}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],o),o}(),m=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,P=bmMin(g,b,this.r.v),k=P*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(f+g,l-b+P,f+g,l-b+P,f+g,l-b+k,0,!0),this.v.setTripleAt(f+g,l+b-P,f+g,l+b-k,f+g,l+b-P,1,!0),P!==0?(this.v.setTripleAt(f+g-P,l+b,f+g-P,l+b,f+g-k,l+b,2,!0),this.v.setTripleAt(f-g+P,l+b,f-g+k,l+b,f-g+P,l+b,3,!0),this.v.setTripleAt(f-g,l+b-P,f-g,l+b-P,f-g,l+b-k,4,!0),this.v.setTripleAt(f-g,l-b+P,f-g,l-b+k,f-g,l-b+P,5,!0),this.v.setTripleAt(f-g+P,l-b,f-g+P,l-b,f-g+k,l-b,6,!0),this.v.setTripleAt(f+g-P,l-b,f+g-k,l-b,f+g-P,l-b,7,!0)):(this.v.setTripleAt(f-g,l+b,f-g+k,l+b,f-g,l+b,2),this.v.setTripleAt(f-g,l-b,f-g,l-b+k,f-g,l-b,3))):(this.v.setTripleAt(f+g,l-b+P,f+g,l-b+k,f+g,l-b+P,0,!0),P!==0?(this.v.setTripleAt(f+g-P,l-b,f+g-P,l-b,f+g-k,l-b,1,!0),this.v.setTripleAt(f-g+P,l-b,f-g+k,l-b,f-g+P,l-b,2,!0),this.v.setTripleAt(f-g,l-b+P,f-g,l-b+P,f-g,l-b+k,3,!0),this.v.setTripleAt(f-g,l+b-P,f-g,l+b-k,f-g,l+b-P,4,!0),this.v.setTripleAt(f-g+P,l+b,f-g+P,l+b,f-g+k,l+b,5,!0),this.v.setTripleAt(f+g-P,l+b,f+g-k,l+b,f+g-P,l+b,6,!0),this.v.setTripleAt(f+g,l+b-P,f+g,l+b-P,f+g,l+b-k,7,!0)):(this.v.setTripleAt(f-g,l-b,f-g+k,l-b,f-g,l-b,1,!0),this.v.setTripleAt(f-g,l+b,f-g,l+b-k,f-g,l+b,2,!0),this.v.setTripleAt(f+g,l+b,f+g-k,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 E(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 m(o,p):f===6?l=new A(o,p):f===7&&(l=new T(o,p));return l.k&&o.addDynamicProperty(l),l}function x(){return c}function y(){return d}var C={};return C.getShapeProp=E,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 e=Math.cos,t=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(F){if(F===0)return this;var S=e(F),_=t(F);return this._t(S,-_,0,0,_,S,0,0,0,0,1,0,0,0,0,1)}function n(F){if(F===0)return this;var S=e(F),_=t(F);return this._t(1,0,0,0,0,S,-_,0,0,_,S,0,0,0,0,1)}function c(F){if(F===0)return this;var S=e(F),_=t(F);return this._t(S,0,_,0,0,1,0,0,-_,0,S,0,0,0,0,1)}function u(F){if(F===0)return this;var S=e(F),_=t(F);return this._t(S,-_,0,0,_,S,0,0,0,0,1,0,0,0,0,1)}function d(F,S){return this._t(1,S,F,1,0,0)}function A(F,S){return this.shear(r(F),r(S))}function T(F,S){var _=e(S),R=t(S);return this._t(_,R,0,0,-R,_,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(F),1,0,0,0,0,1,0,0,0,0,1)._t(_,-R,0,0,R,_,0,0,0,0,1,0,0,0,0,1)}function m(F,S,_){return!_&&_!==0&&(_=1),F===1&&S===1&&_===1?this:this._t(F,0,0,0,0,S,0,0,0,0,_,0,0,0,0,1)}function E(F,S,_,R,V,N,q,W,X,j,K,Z,$,Q,U,J){return this.props[0]=F,this.props[1]=S,this.props[2]=_,this.props[3]=R,this.props[4]=V,this.props[5]=N,this.props[6]=q,this.props[7]=W,this.props[8]=X,this.props[9]=j,this.props[10]=K,this.props[11]=Z,this.props[12]=$,this.props[13]=Q,this.props[14]=U,this.props[15]=J,this}function x(F,S,_){return _=_||0,F!==0||S!==0||_!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,F,S,_,1):this}function y(F,S,_,R,V,N,q,W,X,j,K,Z,$,Q,U,J){var H=this.props;if(F===1&&S===0&&_===0&&R===0&&V===0&&N===1&&q===0&&W===0&&X===0&&j===0&&K===1&&Z===0)return H[12]=H[12]*F+H[15]*$,H[13]=H[13]*N+H[15]*Q,H[14]=H[14]*K+H[15]*U,H[15]*=J,this._identityCalculated=!1,this;var Y=H[0],se=H[1],he=H[2],ae=H[3],ie=H[4],ne=H[5],oe=H[6],ee=H[7],le=H[8],fe=H[9],te=H[10],pe=H[11],re=H[12],ce=H[13],ue=H[14],me=H[15];return H[0]=Y*F+se*V+he*X+ae*$,H[1]=Y*S+se*N+he*j+ae*Q,H[2]=Y*_+se*q+he*K+ae*U,H[3]=Y*R+se*W+he*Z+ae*J,H[4]=ie*F+ne*V+oe*X+ee*$,H[5]=ie*S+ne*N+oe*j+ee*Q,H[6]=ie*_+ne*q+oe*K+ee*U,H[7]=ie*R+ne*W+oe*Z+ee*J,H[8]=le*F+fe*V+te*X+pe*$,H[9]=le*S+fe*N+te*j+pe*Q,H[10]=le*_+fe*q+te*K+pe*U,H[11]=le*R+fe*W+te*Z+pe*J,H[12]=re*F+ce*V+ue*X+me*$,H[13]=re*S+ce*N+ue*j+me*Q,H[14]=re*_+ce*q+ue*K+me*U,H[15]=re*R+ce*W+ue*Z+me*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(F){for(var S=0;S<16;){if(F.props[S]!==this.props[S])return!1;S+=1}return!0}function p(F){var S;for(S=0;S<16;S+=1)F.props[S]=this.props[S];return F}function f(F){var S;for(S=0;S<16;S+=1)this.props[S]=F[S]}function l(F,S,_){return{x:F*this.props[0]+S*this.props[4]+_*this.props[8]+this.props[12],y:F*this.props[1]+S*this.props[5]+_*this.props[9]+this.props[13],z:F*this.props[2]+S*this.props[6]+_*this.props[10]+this.props[14]}}function g(F,S,_){return F*this.props[0]+S*this.props[4]+_*this.props[8]+this.props[12]}function b(F,S,_){return F*this.props[1]+S*this.props[5]+_*this.props[9]+this.props[13]}function P(F,S,_){return F*this.props[2]+S*this.props[6]+_*this.props[10]+this.props[14]}function k(){var F=this.props[0]*this.props[5]-this.props[1]*this.props[4],S=this.props[5]/F,_=-this.props[1]/F,R=-this.props[4]/F,V=this.props[0]/F,N=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/F,q=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/F,W=new Matrix;return W.props[0]=S,W.props[1]=_,W.props[4]=R,W.props[5]=V,W.props[12]=N,W.props[13]=q,W}function I(F){var S=this.getInverseMatrix();return S.applyToPointArray(F[0],F[1],F[2]||0)}function G(F){var S,_=F.length,R=[];for(S=0;S<_;S+=1)R[S]=I(F[S]);return R}function L(F,S,_){var R=createTypedArray("float32",6);if(this.isIdentity())R[0]=F[0],R[1]=F[1],R[2]=S[0],R[3]=S[1],R[4]=_[0],R[5]=_[1];else{var V=this.props[0],N=this.props[1],q=this.props[4],W=this.props[5],X=this.props[12],j=this.props[13];R[0]=F[0]*V+F[1]*q+X,R[1]=F[0]*N+F[1]*W+j,R[2]=S[0]*V+S[1]*q+X,R[3]=S[0]*N+S[1]*W+j,R[4]=_[0]*V+_[1]*q+X,R[5]=_[0]*N+_[1]*W+j}return R}function D(F,S,_){var R;return this.isIdentity()?R=[F,S,_]:R=[F*this.props[0]+S*this.props[4]+_*this.props[8]+this.props[12],F*this.props[1]+S*this.props[5]+_*this.props[9]+this.props[13],F*this.props[2]+S*this.props[6]+_*this.props[10]+this.props[14]],R}function O(F,S){if(this.isIdentity())return F+","+S;var _=this.props;return Math.round((F*_[0]+S*_[4]+_[12])*100)/100+","+Math.round((F*_[1]+S*_[5]+_[13])*100)/100}function z(){for(var F=0,S=this.props,_="matrix3d(",R=1e4;F<16;)_+=i(S[F]*R)/R,_+=F===15?")":",",F+=1;return _}function B(F){var S=1e4;return F<1e-6&&F>0||F>-1e-6&&F<0?i(F*S)/S:F}function M(){var F=this.props,S=B(F[0]),_=B(F[1]),R=B(F[4]),V=B(F[5]),N=B(F[12]),q=B(F[13]);return"matrix("+S+","+_+","+R+","+V+","+N+","+q+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=c,this.rotateZ=u,this.skew=A,this.skewFromAxis=T,this.shear=d,this.scale=m,this.setTransform=E,this.translate=x,this.transform=y,this.applyToPoint=l,this.applyToX=g,this.applyToY=b,this.applyToZ=P,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=k,this._t=this.transform,this.isIdentity=C,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){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(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){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(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var i=t[r].split("=");if(decodeURIComponent(i[0])==e)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(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=r,e.getModifier=i;function r(s,a){t[s]||(t[s]=a)}function i(s,a,n){return new t[s](a,n)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),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(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,i,s){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var n=[],c,u=a.length,d;for(c=0;c<u;c+=1)if(d=a[c],!(d.e*s<i||d.s*s>i+r)){var A,T;d.s*s<=i?A=0:A=(d.s*s-i)/r,d.e*s>=i+r?T=1:T=(d.e*s-i)/r,n.push([A,T])}return n.length||n.push([0,0]),n},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r;if(this._mdf||e){var i=this.o.v%360/360;if(i<0&&(i+=1),this.s.v>1?t=1+i:this.s.v<0?t=0+i:t=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,t>r){var s=t;t=r,r=s}t=Math.round(t*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var a,n,c=this.shapes.length,u,d,A,T,m,E=0;if(r===t)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&&t===0||r===0&&t===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&&!e&&this.m!==2)y.shape.paths=y.localShapeCollection;else{if(a=y.shape.paths,d=a._length,m=0,!y.shape._mdf&&y.pathsData.length)m=y.totalShapeLength;else{for(A=this.releasePathsData(y.pathsData),u=0;u<d;u+=1)T=bez.getSegmentsLength(a.shapes[u]),A.push(T),m+=T.totalLength;y.totalShapeLength=m,y.pathsData=A}E+=m,y.shape._mdf=!0}var o=t,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(t,r,y.totalShapeLength,f,E),f+=y.totalShapeLength):l=[[o,p]],d=l.length,u=0;u<d;u+=1){o=l[u][0],p=l[u][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 P=g.pop();this.addPaths(g,C),g=this.addShapes(y,x[1],P)}else this.addPaths(g,C),g=this.addShapes(y,x[1])}this.addPaths(g,C)}}y.shape.paths=C}}},TrimModifier.prototype.addPaths=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,i,s,a,n){s.setXYAt(t[0],t[1],"o",a),s.setXYAt(r[0],r[1],"i",a+1),n&&s.setXYAt(e[0],e[1],"v",a),s.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,i){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),i&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var i=e.pathsData,s=e.shape.paths.shapes,a,n=e.shape.paths._length,c,u,d=0,A,T,m,E,x=[],y,C=!0;for(r?(T=r._length,y=r._length):(r=shapePool.newElement(),T=0,y=0),x.push(r),a=0;a<n;a+=1){for(m=i[a].lengths,r.c=s[a].c,u=s[a].c?m.length:m.length+1,c=1;c<u;c+=1)if(A=m[c-1],d+A.addedLength<t.s)d+=A.addedLength,r.c=!1;else if(d>t.e){r.c=!1;break}else t.s<=d&&t.e>=d+A.addedLength?(this.addSegment(s[a].v[c-1],s[a].o[c-1],s[a].i[c],s[a].v[c],r,T,C),C=!1):(E=bez.getNewSegment(s[a].v[c-1],s[a].v[c],s[a].o[c-1],s[a].i[c],(t.s-d)/A.addedLength,(t.e-d)/A.addedLength,m[c-1]),this.addSegmentFromArray(E,r,T,C),C=!1,r.c=!1),d+=A.addedLength,T+=1;if(s[a].c&&m.length){if(A=m[c-1],d<=t.e){var o=m[c-1].addedLength;t.s<=d&&t.e>=d+o?(this.addSegment(s[a].v[c-1],s[a].o[c-1],s[a].i[0],s[a].v[0],r,T,C),C=!1):(E=bez.getNewSegment(s[a].v[c-1],s[a].v[0],s[a].o[c-1],s[a].i[0],(t.s-d)/o,(t.e-d)/o,m[c-1]),this.addSegmentFromArray(E,r,T,C),C=!1,r.c=!1)}else r.c=!1;d+=A.addedLength,T+=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>t.e)break;a<n-1&&(r=shapePool.newElement(),C=!0,x.push(r),T=0)}return x};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,i=[0,0],s=e._length,a=0;for(a=0;a<s;a+=1)i[0]+=e.v[a][0],i[1]+=e.v[a][1];i[0]/=s,i[1]/=s;var n=shapePool.newElement();n.c=e.c;var c,u,d,A,T,m;for(a=0;a<s;a+=1)c=e.v[a][0]+(i[0]-e.v[a][0])*r,u=e.v[a][1]+(i[1]-e.v[a][1])*r,d=e.o[a][0]+(i[0]-e.o[a][0])*-r,A=e.o[a][1]+(i[1]-e.o[a][1])*-r,T=e.i[a][0]+(i[0]-e.i[a][0])*-r,m=e.i[a][1]+(i[1]-e.i[a][1])*-r,n.setTripleAt(c,u,d,A,T,m,a);return n},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,a,n=this.amount.v;if(n!==0){var c,u;for(r=0;r<i;r+=1){if(c=this.shapes[r],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)u.addShape(this.processPath(t[s],n));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(u){var d=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||d,this.a&&u.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&u.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&u.skewFromAxis(-this.sk.v,this.sa.v),this.r?u.rotate(-this.r.v):u.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?u.translate(this.px.v,this.py.v,-this.pz.v):u.translate(this.px.v,this.py.v,0):u.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(u){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||u){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 A,T;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?(A=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/d,0),T=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?(A=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/d,0),T=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/d,0)):(A=this.p.pv,T=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){A=[],T=[];var m=this.px,E=this.py;m._caching.lastFrame+m.offsetTime<=m.keyframes[0].t?(A[0]=m.getValueAtTime((m.keyframes[0].t+.01)/d,0),A[1]=E.getValueAtTime((E.keyframes[0].t+.01)/d,0),T[0]=m.getValueAtTime(m.keyframes[0].t/d,0),T[1]=E.getValueAtTime(E.keyframes[0].t/d,0)):m._caching.lastFrame+m.offsetTime>=m.keyframes[m.keyframes.length-1].t?(A[0]=m.getValueAtTime(m.keyframes[m.keyframes.length-1].t/d,0),A[1]=E.getValueAtTime(E.keyframes[E.keyframes.length-1].t/d,0),T[0]=m.getValueAtTime((m.keyframes[m.keyframes.length-1].t-.01)/d,0),T[1]=E.getValueAtTime((E.keyframes[E.keyframes.length-1].t-.01)/d,0)):(A=[m.pv,E.pv],T[0]=m.getValueAtTime((m._caching.lastFrame+m.offsetTime-.01)/d,m.offsetTime),T[1]=E.getValueAtTime((E._caching.lastFrame+E.offsetTime-.01)/d,E.offsetTime))}else T=e,A=T;this.v.rotate(-Math.atan2(A[1]-T[1],A[0]-T[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(u){this._addDynamicProperty(u),this.elem.addDynamicProperty(u),this._isDirty=!0}function n(u,d,A){if(this.elem=u,this.frameId=-1,this.propType="transform",this.data=d,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(A||u),d.p&&d.p.s?(this.px=PropertyFactory.getProp(u,d.p.x,0,0,this),this.py=PropertyFactory.getProp(u,d.p.y,0,0,this),d.p.z&&(this.pz=PropertyFactory.getProp(u,d.p.z,0,0,this))):this.p=PropertyFactory.getProp(u,d.p||{k:[0,0,0]},1,0,this),d.rx){if(this.rx=PropertyFactory.getProp(u,d.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(u,d.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(u,d.rz,0,degToRads,this),d.or.k[0].ti){var T,m=d.or.k.length;for(T=0;T<m;T+=1)d.or.k[T].to=null,d.or.k[T].ti=null}this.or=PropertyFactory.getProp(u,d.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(u,d.r||{k:0},0,degToRads,this);d.sk&&(this.sk=PropertyFactory.getProp(u,d.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(u,d.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(u,d.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(u,d.s||{k:[100,100,100]},1,.01,this),d.o?this.o=PropertyFactory.getProp(u,d.o,0,.01,u):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}n.prototype={applyToMatrix:t,getValue:r,precalculateMatrix:i,autoOrient:s},extendPrototype([DynamicPropertyContainer],n),n.prototype.addDynamicProperty=a,n.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function c(u,d,A){return new n(u,d,A)}return{getTransformProperty:c}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,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(e,t,r,i,s,a){var n=a?-1:1,c=i.s.v[0]+(1-i.s.v[0])*(1-s),u=i.s.v[1]+(1-i.s.v[1])*(1-s);e.translate(i.p.v[0]*n*s,i.p.v[1]*n*s,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*n*s),t.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/u:u),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,i){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]._render=t,e[r].ty==="gr"&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,i,s,a,n=!1;if(this._mdf||e){var c=Math.ceil(this.c.v);if(this._groups.length<c){for(;this._groups.length<c;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),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 A=this.elemsData[i].it,T=A[A.length-1];T.transform.op.v!==0?(T.transform.op._mdf=!0,T.transform.op.v=0):T.transform.op._mdf=!1}a+=1}this._currentCopies=c;var m=this.o.v,E=m%1,x=m>0?Math.floor(m):Math.ceil(m),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(m>0){for(;p<x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),p+=1;E&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,E,!1),p+=E)}else if(m<0){for(;p>x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),p-=1;E&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-E,!0),p-=E)}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(t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,l=r.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.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;)t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.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(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r=shapePool.newElement();r.c=e.c;var i,s=e._length,a,n,c,u,d,A,T=0,m,E,x,y,C,o;for(i=0;i<s;i+=1)a=e.v[i],c=e.o[i],n=e.i[i],a[0]===c[0]&&a[1]===c[1]&&a[0]===n[0]&&a[1]===n[1]?(i===0||i===s-1)&&!e.c?(r.setTripleAt(a[0],a[1],c[0],c[1],n[0],n[1],T),T+=1):(i===0?u=e.v[s-1]:u=e.v[i-1],d=Math.sqrt(Math.pow(a[0]-u[0],2)+Math.pow(a[1]-u[1],2)),A=d?Math.min(d/2,t)/d:0,C=a[0]+(u[0]-a[0])*A,m=C,o=a[1]-(a[1]-u[1])*A,E=o,x=m-(m-a[0])*roundCorner,y=E-(E-a[1])*roundCorner,r.setTripleAt(m,E,x,y,C,o,T),T+=1,i===s-1?u=e.v[0]:u=e.v[i+1],d=Math.sqrt(Math.pow(a[0]-u[0],2)+Math.pow(a[1]-u[1],2)),A=d?Math.min(d/2,t)/d:0,x=a[0]+(u[0]-a[0])*A,m=x,y=a[1]+(u[1]-a[1])*A,E=y,C=m-(m-a[0])*roundCorner,o=E-(E-a[1])*roundCorner,r.setTripleAt(m,E,x,y,C,o,T),T+=1):(r.setTripleAt(e.v[i][0],e.v[i][1],e.o[i][0],e.o[i][1],e.i[i][0],e.i[i][1],T),T+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,a,n=this.rd.v;if(n!==0){var c,u;for(r=0;r<i;r+=1){if(c=this.shapes[r],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)u.addShape(this.processPath(t[s],n));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",i="normal",s=t.length,a,n=0;n<s;n+=1)switch(a=t[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:e.fWeight||r}}var FontManager=function(){var e=5e3,t={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,P=g.length,k=[];for(b=0;b<P;b+=1)g[b]!=="sans-serif"&&g[b]!=="monospace"&&k.push(g[b]);return k.join(",")}function n(l,g){var b=createTag("span");b.setAttribute("aria-hidden",!0),b.style.fontFamily=g;var P=createTag("span");P.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(P),document.body.appendChild(b);var k=P.offsetWidth;return P.style.fontFamily=a(l)+", "+g,{node:P,w:k,parent:b}}function c(){var l,g=this.fonts.length,b,P,k=g;for(l=0;l<g;l+=1)this.fonts[l].loaded?k-=1:this.fonts[l].fOrigin==="n"||this.fonts[l].origin===0?this.fonts[l].loaded=!0:(b=this.fonts[l].monoCase.node,P=this.fonts[l].monoCase.w,b.offsetWidth!==P?(k-=1,this.fonts[l].loaded=!0):(b=this.fonts[l].sansCase.node,P=this.fonts[l].sansCase.w,b.offsetWidth!==P&&(k-=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)));k!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function u(l,g){var b=document.body&&g?"svg":"canvas",P,k=getFontProperties(l);if(b==="svg"){var I=createNS("text");I.style.fontSize="100px",I.setAttribute("font-family",l.fFamily),I.setAttribute("font-style",k.style),I.setAttribute("font-weight",k.weight),I.textContent="1",l.fClass?(I.style.fontFamily="inherit",I.setAttribute("class",l.fClass)):I.style.fontFamily=l.fFamily,g.appendChild(I),P=I}else{var G=new OffscreenCanvas(500,500).getContext("2d");G.font=k.style+" "+k.weight+" 100px "+l.fFamily,P=G}function L(D){return b==="svg"?(P.textContent=D,P.getComputedTextLength()):P.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=u(M),M.cache={}}),this.fonts=l.list;return}var b=l.list,P,k=b.length,I=k;for(P=0;P<k;P+=1){var G=!0,L,D;if(b[P].loaded=!1,b[P].monoCase=n(b[P].fFamily,"monospace"),b[P].sansCase=n(b[P].fFamily,"sans-serif"),!b[P].fPath)b[P].loaded=!0,I-=1;else if(b[P].fOrigin==="p"||b[P].origin===3){if(L=document.querySelectorAll('style[f-forigin="p"][f-family="'+b[P].fFamily+'"], style[f-origin="3"][f-family="'+b[P].fFamily+'"]'),L.length>0&&(G=!1),G){var O=createTag("style");O.setAttribute("f-forigin",b[P].fOrigin),O.setAttribute("f-origin",b[P].origin),O.setAttribute("f-family",b[P].fFamily),O.type="text/css",O.innerText="@font-face {font-family: "+b[P].fFamily+"; font-style: normal; src: url('"+b[P].fPath+"');}",g.appendChild(O)}}else if(b[P].fOrigin==="g"||b[P].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[P].fPath)!==-1&&(G=!1);if(G){var z=createTag("link");z.setAttribute("f-forigin",b[P].fOrigin),z.setAttribute("f-origin",b[P].origin),z.type="text/css",z.rel="stylesheet",z.href=b[P].fPath,document.body.appendChild(z)}}else if(b[P].fOrigin==="t"||b[P].origin===2){for(L=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),D=0;D<L.length;D+=1)b[P].fPath===L[D].src&&(G=!1);if(G){var B=createTag("link");B.setAttribute("f-forigin",b[P].fOrigin),B.setAttribute("f-origin",b[P].origin),B.setAttribute("rel","stylesheet"),B.setAttribute("href",b[P].fPath),g.appendChild(B)}}b[P].helper=u(b[P],g),b[P].cache={},this.fonts.push(b[P])}I===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function A(l){if(!!l){this.chars||(this.chars=[]);var g,b=l.length,P,k=this.chars.length,I;for(g=0;g<b;g+=1){for(P=0,I=!1;P<k;)this.chars[P].style===l[g].style&&this.chars[P].fFamily===l[g].fFamily&&this.chars[P].ch===l[g].ch&&(I=!0),P+=1;I||(this.chars.push(l[g]),k+=1)}}}function T(l,g,b){for(var P=0,k=this.chars.length;P<k;){if(this.chars[P].ch===l&&this.chars[P].style===g&&this.chars[P].fFamily===b)return this.chars[P];P+=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)),t}function m(l,g,b){var P=this.getFontByName(g),k=l.charCodeAt(0);if(!P.cache[k+1]){var I=P.helper;if(l===" "){var G=I.measureText("|"+l+"|"),L=I.measureText("||");P.cache[k+1]=(G-L)/100}else P.cache[k+1]=I.measureText(l)/100}return P.cache[k+1]*b}function E(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:A,addFonts:d,getCharData:T,getFontByName:E,measureText:m,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(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?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 t,r=this.renderableComponents.length;for(t=0;t<r;t+=1)this.renderableComponents[t].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 e(r,i){this._mask=r,this._data=i}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(i){var s=createSizedArray(i.viewData.length),a,n=i.viewData.length;for(a=0;a<n;a+=1)s[a]=new e(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 t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(n,c,u){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 A="";"s"in c.keyframes[d-1]?A=c.keyframes[d-1].s:"e"in c.keyframes[d-2]?A=c.keyframes[d-2].e:A=c.keyframes[d-2].s;var T=u==="unidimensional"?new Number(A):Object.assign({},A);return T.time=c.keyframes[d-1].t/c.elem.comp.globalData.frameRate,T.value=u==="unidimensional"?A[0]:A,T},n.valueAtTime=c.getValueAtTime,n.speedAtTime=c.getSpeedAtTime,n.velocityAtTime=c.getVelocityAtTime,n.propertyGroup=c.propertyGroup}function i(n){(!n||!("pv"in n))&&(n=e);var c=1/n.mult,u=n.pv*c,d=new Number(u);return d.value=u,r(d,n,"unidimensional"),function(){return n.k&&n.getValue(),u=n.v*c,d.value!==u&&(d=new Number(u),d.value=u,r(d,n,"unidimensional")),d}}function s(n){(!n||!("pv"in n))&&(n=t);var c=1/n.mult,u=n.data&&n.data.l||n.pv.length,d=createTypedArray("float32",u),A=createTypedArray("float32",u);return d.value=A,r(d,n,"multidimensional"),function(){n.k&&n.getValue();for(var T=0;T<u;T+=1)A[T]=n.v[T]*c,d[T]=A[T];return d}}function a(){return e}return function(n){return n?n.propType==="unidimensional"?i(n):s(n):a}}(),TransformExpressionInterface=function(){return function(e){function t(n){switch(n){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var r,i,s,a;return e.p?a=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),i=ExpressionPropertyInterface(e.py),e.pz&&(s=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[r(),i(),s?s():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}}(),LayerExpressionInterface=function(){function e(d){var A=new Matrix;if(d!==void 0){var T=this._elem.finalTransform.mProp.getValueAtTime(d);T.clone(A)}else{var m=this._elem.finalTransform.mProp;m.applyToMatrix(A)}return A}function t(d,A){var T=this.getMatrix(A);return T.props[12]=0,T.props[13]=0,T.props[14]=0,this.applyPoint(T,d)}function r(d,A){var T=this.getMatrix(A);return this.applyPoint(T,d)}function i(d,A){var T=this.getMatrix(A);return T.props[12]=0,T.props[13]=0,T.props[14]=0,this.invertPoint(T,d)}function s(d,A){var T=this.getMatrix(A);return this.invertPoint(T,d)}function a(d,A){if(this._elem.hierarchy&&this._elem.hierarchy.length){var T,m=this._elem.hierarchy.length;for(T=0;T<m;T+=1)this._elem.hierarchy[T].finalTransform.mProp.applyToMatrix(d)}return d.applyToPointArray(A[0],A[1],A[2]||0)}function n(d,A){if(this._elem.hierarchy&&this._elem.hierarchy.length){var T,m=this._elem.hierarchy.length;for(T=0;T<m;T+=1)this._elem.hierarchy[T].finalTransform.mProp.applyToMatrix(d)}return d.inversePoint(A)}function c(d){var A=new Matrix;if(A.reset(),this._elem.finalTransform.mProp.applyToMatrix(A),this._elem.hierarchy&&this._elem.hierarchy.length){var T,m=this._elem.hierarchy.length;for(T=0;T<m;T+=1)this._elem.hierarchy[T].finalTransform.mProp.applyToMatrix(A);return A.inversePoint(d)}return A.inversePoint(d)}function u(){return[1,1,1,1]}return function(d){var A;function T(y){E.mask=new MaskManagerInterface(y,d)}function m(y){E.effect=y}function E(y){switch(y){case"ADBE Root Vectors Group":case"Contents":case 2:return E.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return A;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return E.effect;case"ADBE Text Properties":return E.textInterface;default:return null}}E.getMatrix=e,E.invertPoint=n,E.applyPoint=a,E.toWorld=r,E.toWorldVec=t,E.fromWorld=s,E.fromWorldVec=i,E.toComp=r,E.fromComp=c,E.sampleImage=u,E.sourceRectAtTime=d.sourceRectAtTime.bind(d),E._elem=d,A=TransformExpressionInterface(d.finalTransform.mProp);var x=getDescriptor(A,"anchorPoint");return Object.defineProperties(E,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(A,"rotation"),scale:getDescriptor(A,"scale"),position:getDescriptor(A,"position"),opacity:getDescriptor(A,"opacity"),anchorPoint:x,anchor_point:x,transform:{get:function(){return A}},active:{get:function(){return d.isInRange}}}),E.startTime=d.data.st,E.index=d.data.ind,E.source=d.data.refId,E.height=d.data.ty===0?d.data.h:100,E.width=d.data.ty===0?d.data.w:100,E.inPoint=d.data.ip/d.comp.globalData.frameRate,E.outPoint=d.data.op/d.comp.globalData.frameRate,E._name=d.data.nm,E.registerMaskInterface=T,E.registerEffectsInterface=m,E}}(),propertyGroupFactory=function(){return function(e,t){return function(r){return r=r===void 0?1:r,r<=0?e:t(r-1)}}}(),PropertyInterface=function(){return function(e,t){var r={_name:e};function i(s){return s=s===void 0?1:s,s<=0?r:t(s-1)}return i}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(s,a){if(s.effectsManager){var n=[],c=s.data.ef,u,d=s.effectsManager.effectElements.length;for(u=0;u<d;u+=1)n.push(r(c[u],s.effectsManager.effectElements[u],a,s));var A=s.data.ef||[],T=function(E){for(u=0,d=A.length;u<d;){if(E===A[u].nm||E===A[u].mn||E===A[u].ix)return n[u];u+=1}return null};return Object.defineProperty(T,"numProperties",{get:function(){return A.length}}),T}return null}function r(s,a,n,c){function u(E){for(var x=s.ef,y=0,C=x.length;y<C;){if(E===x[y].nm||E===x[y].mn||E===x[y].ix)return x[y].ty===5?A[y]:A[y]();y+=1}throw new Error}var d=propertyGroupFactory(u,n),A=[],T,m=s.ef.length;for(T=0;T<m;T+=1)s.ef[T].ty===5?A.push(r(s.ef[T],a.effectElements[T],a.effectElements[T].propertyGroup,c)):A.push(i(a.effectElements[T],s.ef[T].ty,c,d));return s.mn==="ADBE Color Control"&&Object.defineProperty(u,"color",{get:function(){return A[0]()}}),Object.defineProperties(u,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:d}}),u.enabled=s.en!==0,u.active=u.enabled,u}function i(s,a,n,c){var u=ExpressionPropertyInterface(s.p);function d(){return a===10?n.comp.compInterface(s.p.v):u()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",c)),d}return e}(),CompExpressionInterface=function(){return function(e){function t(r){for(var i=0,s=e.layers.length;i<s;){if(e.layers[i].nm===r||e.layers[i].ind===r)return e.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}(),ShapePathInterface=function(){return function(t,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:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),a}}(),ShapeExpressionInterface=function(){function e(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(A(x[p],y[p],C)):x[p].ty==="sh"?o.push(ShapePathInterface(x[p],y[p],C)):x[p].ty==="rc"?o.push(T(x[p],y[p],C)):x[p].ty==="rd"?o.push(m(x[p],y[p],C)):x[p].ty==="rp"?o.push(E(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 t(x,y,C){var o,p=function(g){for(var b=0,P=o.length;b<P;){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=e(x.it,y.it,p.propertyGroup),p.numProperties=o.length;var f=u(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=t(x,y,o.propertyGroup),f=u(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(P,C),p=propertyGroupFactory(b,o);function f(k){Object.defineProperty(b,x.d[k].nm,{get:ExpressionPropertyInterface(y.d.dataProps[k].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 P(k){return k==="Color"||k==="color"?P.color:k==="Opacity"||k==="opacity"?P.opacity:k==="Stroke Width"||k==="stroke width"?P.strokeWidth:null}return Object.defineProperties(P,{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)),P}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 u(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 A(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 T(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 m(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 E(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=e(x,y,p.propertyGroup),p.numProperties=o.length,p._name="Contents",p}}(),TextExpressionInterface=function(){return function(e){var t,r;function i(s){switch(s){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){e.textProperty.getValue();var a=e.textProperty.currentData.t;return a!==t&&(e.textProperty.currentData.t=t,r=new String(a),r.value=a||new String(a)),r}}),i}}(),getBlendMode=function(){var e={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(t){return e[t]||""}}();function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r=e.ef||[];this.effectElements=[];var i,s=r.length,a;for(i=0;i<s;i+=1)a=new GroupEffect(r[i],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);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],t,this);break;case 1:s=new AngleEffect(a[r],t,this);break;case 2:s=new ColorEffect(a[r],t,this);break;case 3:s=new PointEffect(a[r],t,this);break;case 4:case 7:s=new CheckboxEffect(a[r],t,this);break;case 10:s=new LayerIndexEffect(a[r],t,this);break;case 11:s=new MaskIndexEffect(a[r],t,this);break;case 5:s=new EffectsManager(a[r],t);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 t=0,r=this.data.masksProperties.length;t<r;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),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 t=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=t},initBaseData:function(t,r,i){this.globalData=r,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,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(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function _typeof$2(e){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(e)}var FootageInterface=function(){var e=function(i){var s="",a=i.getFootageData();function n(){return s="",a=i.getFootageData(),c}function c(u){if(a[u])return s=u,a=a[u],_typeof$2(a)==="object"?c:a;var d=u.indexOf(s);if(d!==-1){var A=parseInt(u.substr(d+s.length),10);return a=a[A],_typeof$2(a)==="object"?c:a}return""}return n},t=function(i){function s(a){return a==="Outline"?s.outlineInterface():null}return s._name="Outline",s.outlineInterface=e(i),s};return function(r){function i(s){return s==="Data"?i.dataInterface:null}return i._name="Data",i.dataInterface=t(r),i}}();function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,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(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,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=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}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(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*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(e){var t,r=this.layers.length,i;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(i=this.layers[t],i.ip-i.st<=e-this.layers[t].st&&i.op-i.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,r=e.length,i,s=this.layers.length;for(t=0;t<r;t+=1)for(i=0;i<s;){if(this.layers[i].id===e[t].id){this.layers[i]=e[t];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var i=this.elements,s=this.layers,a=0,n=s.length;a<n;)s[a].ind==t&&(!i[a]||i[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(r.push(i[a]),i[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(e,s[a].parent,r):e.setHierarchy(r))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),r;if(typeof t=="number")r=this.elements[t];else{var i,s=this.elements.length;for(i=0;i<s;i+=1)if(this.elements[i].data.nm===t){r=this.elements[i];break}}return e.length===0?r:r.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),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=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.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 t,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(t=this.finalTransform.mProp.v.props,r.cloneFromProps(t),i=0;i<s;i+=1)t=this.hierarchy[i].finalTransform.mProp.v.props,r.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var 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),t=[t[0]-c[0],t[1]-c[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,r){this.data=e,this.element=t,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,u=0,d=[],A,T,m=createElementID(),E,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")&&u===0?(E=createNS("rect"),E.setAttribute("fill","#ffffff"),E.setAttribute("width",this.element.comp.data.w||0),E.setAttribute("height",this.element.comp.data.h||0),d.push(E)):E=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{u+=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"){T=d.length;var l=createNS("g");for(A=0;A<T;A+=1)l.appendChild(d[A]);var g=createNS("mask");g.setAttribute("mask-type","alpha"),g.setAttribute("id",m+"_"+u),g.appendChild(n),i.appendChild(g),l.setAttribute("mask","url("+getLocationHref()+"#"+m+"_"+u+")"),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:E},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]);u>0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(p,"url("+getLocationHref()+"#"+m+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r<i;r+=1)if((this.viewData[r].prop._mdf||e)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||e)&&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||e)&&this.viewData[r].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||e))){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 e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,r){var i=" M"+t.v[0][0]+","+t.v[0][1],s,a;for(a=t._length,s=1;s<a;s+=1)i+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[s][0]+","+t.i[s][1]+" "+t.v[s][0]+","+t.v[s][1];if(t.c&&a>1&&(i+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==i){var n="";r.elem&&(t.c&&(n=e.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 e={};e.createFilter=t,e.createAlphaToLuminanceFilter=r;function t(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 e}(),featureSupport=function(){var e={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))&&(e.maskType=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),n=0;this.filters=[];var c;for(t=0;t<i;t+=1){c=null;var u=e.data.ef[t].ty;if(registeredEffects[u]){var d=registeredEffects[u].effect;c=new d(a,e.effectsManager.effectElements[t],e,idPrefix+n,r),r=idPrefix+n,registeredEffects[u].countsAsEffect&&(n+=1)}c&&this.filters.push(c)}n&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)};function registerEffect(e,t,r){registeredEffects[e]={effect:t,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 t=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),t=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),t=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 u=createNS("feComponentTransfer");u.setAttribute("in","SourceGraphic"),i.appendChild(u);var d=createNS("feFuncA");d.setAttribute("type","table"),d.setAttribute("tableValues","1.0 0.0"),u.appendChild(d),this.globalData.defs.appendChild(i);var A=createNS("rect");A.setAttribute("width",this.comp.data.w),A.setAttribute("height",this.comp.data.h),A.setAttribute("x","0"),A.setAttribute("y","0"),A.setAttribute("fill","#ffffff"),A.setAttribute("opacity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+r+")"),c.appendChild(A),c.appendChild(this.layerElement),t=c,featureSupport.maskType||(n.setAttribute("mask-type","luminance"),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),s=createNS("g"),c.appendChild(A),s.appendChild(this.layerElement),t=s,c.appendChild(s)),this.globalData.defs.appendChild(n)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=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 T=createNS("clipPath"),m=createNS("path");m.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var E=createElementID();if(T.setAttribute("id",E),T.appendChild(m),this.globalData.defs.appendChild(T),this.checkMasks()){var x=createNS("g");x.setAttribute("clip-path","url("+getLocationHref()+"#"+E+")"),x.appendChild(this.layerElement),this.transformedElement=x,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+E+")")}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(t){!this.matteElement||this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={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(e)],RenderableDOMElement)})();function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,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 e=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",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var r,i=this.shapeModifiers.length;for(r=0;r<i;r+=1)this.shapeModifiers[r].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var r=0,i=this.shapeModifiers.length;r<i;)if(this.shapeModifiers[r].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(!!this.shapeModifiers.length){var t,r=this.shapes.length;for(t=0;t<r;t+=1)this.shapes[t].sh.reset();r=this.shapeModifiers.length;var i;for(t=r-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,i=0,s=r.length;i<s;){if(r[i].elem===t)return r[i].pos;i+=1}return 0},addProcessedElement:function(t,r){for(var i=this.processedElements,s=i.length;s;)if(s-=1,i[s].elem===t){i[s].pos=r;return}i.push(new ProcessedElement(t,r))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var i=0,s=e.length;i<s;){if(e[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,r,i){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,a=t.length||0,n;for(s=0;s<a;s+=1)n=PropertyFactory.getProp(e,t[s].v,0,0,this),this.k=n.k||this.k,this.dataProps[s]={n:t[s].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<r;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var i=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.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(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,i=this.o.length/2,s;r<i;){if(s=Math.abs(e[r*4]-e[t*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 e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r=this.data.p*4,i,s;for(t=0;t<r;t+=1)i=t%4===0?100:255,s=Math.round(this.prop.v[t]*i),this.c[t]!==s&&(this.c[t]=s,this._cmdf=!e);if(this.o.length)for(r=this.prop.v.length,t=this.data.p*4;t<r;t+=1)i=t%2===0?100:1,s=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==s&&(this.o[t-this.data.p*4]=s,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),i=createNS(t.t===1?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s=[],a,n,c;for(c=t.g.p*4,n=0;n<c;n+=4)a=createNS("stop"),i.appendChild(a),s.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,s,a=createNS("mask"),n=createNS("path");a.appendChild(n);var c=createElementID(),u=createElementID();a.setAttribute("id",u);var d=createNS(e.t===1?"linearGradient":"radialGradient");d.setAttribute("id",c),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),s=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var A=this.stops;for(i=e.g.p*4;i<s;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(r),A.push(r);n.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+c+")"),e.ty==="gs"&&(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&n.setAttribute("stroke-miterlimit",e.ml)),this.of=d,this.ms=a,this.ost=A,this.maskId=u,t.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,r,i,s){if(r===0)return"";var a=t.o,n=t.i,c=t.v,u,d=" M"+s.applyToPointStringified(c[0][0],c[0][1]);for(u=1;u<r;u+=1)d+=" C"+s.applyToPointStringified(a[u-1][0],a[u-1][1])+" "+s.applyToPointStringified(n[u][0],n[u][1])+" "+s.applyToPointStringified(c[u][0],c[u][1]);return i&&r&&(d+=" C"+s.applyToPointStringified(a[u-1][0],a[u-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(c[0][0],c[0][1]),d+="z"),d},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,r={createRenderFunction:i};function i(T){switch(T.ty){case"fl":return c;case"gf":return d;case"gs":return u;case"st":return A;case"sh":case"el":case"rc":case"sr":return n;case"tr":return s;case"no":return a;default:return null}}function s(T,m,E){(E||m.transform.op._mdf)&&m.transform.container.setAttribute("opacity",m.transform.op.v),(E||m.transform.mProps._mdf)&&m.transform.container.setAttribute("transform",m.transform.mProps.v.to2dCSS())}function a(){}function n(T,m,E){var x,y,C,o,p,f,l=m.styles.length,g=m.lvl,b,P,k,I,G;for(f=0;f<l;f+=1){if(o=m.sh._mdf||E,m.styles[f].lvl<g){for(P=t.reset(),I=g-m.styles[f].lvl,G=m.transformers.length-1;!o&&I>0;)o=m.transformers[G].mProps._mdf||o,I-=1,G-=1;if(o)for(I=g-m.styles[f].lvl,G=m.transformers.length-1;I>0;)k=m.transformers[G].mProps.v.props,P.transform(k[0],k[1],k[2],k[3],k[4],k[5],k[6],k[7],k[8],k[9],k[10],k[11],k[12],k[13],k[14],k[15]),I-=1,G-=1}else P=e;if(b=m.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,P));m.caches[f]=C}else C=m.caches[f];m.styles[f].d+=T.hd===!0?"":C,m.styles[f]._mdf=o||m.styles[f]._mdf}}function c(T,m,E){var x=m.style;(m.c._mdf||E)&&x.pElem.setAttribute("fill","rgb("+bmFloor(m.c.v[0])+","+bmFloor(m.c.v[1])+","+bmFloor(m.c.v[2])+")"),(m.o._mdf||E)&&x.pElem.setAttribute("fill-opacity",m.o.v)}function u(T,m,E){d(T,m,E),A(T,m,E)}function d(T,m,E){var x=m.gf,y=m.g._hasOpacity,C=m.s.v,o=m.e.v;if(m.o._mdf||E){var p=T.ty==="gf"?"fill-opacity":"stroke-opacity";m.style.pElem.setAttribute(p,m.o.v)}if(m.s._mdf||E){var f=T.t===1?"x1":"cx",l=f==="x1"?"y1":"cy";x.setAttribute(f,C[0]),x.setAttribute(l,C[1]),y&&!m.g._collapsable&&(m.of.setAttribute(f,C[0]),m.of.setAttribute(l,C[1]))}var g,b,P,k;if(m.g._cmdf||E){g=m.cst;var I=m.g.c;for(P=g.length,b=0;b<P;b+=1)k=g[b],k.setAttribute("offset",I[b*4]+"%"),k.setAttribute("stop-color","rgb("+I[b*4+1]+","+I[b*4+2]+","+I[b*4+3]+")")}if(y&&(m.g._omdf||E)){var G=m.g.o;for(m.g._collapsable?g=m.cst:g=m.ost,P=g.length,b=0;b<P;b+=1)k=g[b],m.g._collapsable||k.setAttribute("offset",G[b*2]+"%"),k.setAttribute("stop-opacity",G[b*2+1])}if(T.t===1)(m.e._mdf||E)&&(x.setAttribute("x2",o[0]),x.setAttribute("y2",o[1]),y&&!m.g._collapsable&&(m.of.setAttribute("x2",o[0]),m.of.setAttribute("y2",o[1])));else{var L;if((m.s._mdf||m.e._mdf||E)&&(L=Math.sqrt(Math.pow(C[0]-o[0],2)+Math.pow(C[1]-o[1],2)),x.setAttribute("r",L),y&&!m.g._collapsable&&m.of.setAttribute("r",L)),m.e._mdf||m.h._mdf||m.a._mdf||E){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=m.h.v;O>=1?O=.99:O<=-1&&(O=-.99);var z=L*O,B=Math.cos(D+m.a.v)*z+C[0],M=Math.sin(D+m.a.v)*z+C[1];x.setAttribute("fx",B),x.setAttribute("fy",M),y&&!m.g._collapsable&&(m.of.setAttribute("fx",B),m.of.setAttribute("fy",M))}}}function A(T,m,E){var x=m.style,y=m.d;y&&(y._mdf||E)&&y.dashStr&&(x.pElem.setAttribute("stroke-dasharray",y.dashStr),x.pElem.setAttribute("stroke-dashoffset",y.dashoffset[0])),m.c&&(m.c._mdf||E)&&x.pElem.setAttribute("stroke","rgb("+bmFloor(m.c.v[0])+","+bmFloor(m.c.v[1])+","+bmFloor(m.c.v[2])+")"),(m.o._mdf||E)&&x.pElem.setAttribute("stroke-opacity",m.o.v),(m.w._mdf||E)&&(x.pElem.setAttribute("stroke-width",m.w.v),x.msElem&&x.msElem.setAttribute("stroke-width",m.w.v))}return r}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,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 e,t=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,e=0;e<t;e+=1)r=this.shapes[e],r.styles.indexOf(a)!==-1&&(n.push(r),c=r._isAnimated||c);n.length>1&&c&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,i=new SVGStyleData(e,t),s=i.pElem;if(e.ty==="st")r=new SVGStrokeStyleData(this,e,i);else if(e.ty==="fl")r=new SVGFillStyleData(this,e,i);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new a(this,e,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 e.ty==="no"&&(r=new SVGNoStyleData(this,e,i));return(e.ty==="st"||e.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),s.setAttribute("fill-opacity","0"),e.lj===1&&s.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&s.setAttribute("fill-rule","evenodd"),e.ln&&s.setAttribute("id",e.ln),e.cl&&s.setAttribute("class",e.cl),e.bm&&(s.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(i),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),i=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var i=4;e.ty==="rc"?i=5:e.ty==="el"?i=6:e.ty==="sr"&&(i=7);var s=ShapePropertyFactory.getShapeProp(this,e,i,this),a=new SVGShapeData(t,r,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)this.stylesList[r].closed||t.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,i,s,a,n){var c=[].concat(a),u,d=e.length-1,A,T,m=[],E=[],x,y,C;for(u=d;u>=0;u-=1){if(C=this.searchProcessedElement(e[u]),C?t[u]=r[C-1]:e[u]._render=n,e[u].ty==="fl"||e[u].ty==="st"||e[u].ty==="gf"||e[u].ty==="gs"||e[u].ty==="no")C?t[u].style.closed=!1:t[u]=this.createStyleElement(e[u],s),e[u]._render&&t[u].style.pElem.parentNode!==i&&i.appendChild(t[u].style.pElem),m.push(t[u].style);else if(e[u].ty==="gr"){if(!C)t[u]=this.createGroupElement(e[u]);else for(T=t[u].it.length,A=0;A<T;A+=1)t[u].prevViewData[A]=t[u].it[A];this.searchShapes(e[u].it,t[u].it,t[u].prevViewData,t[u].gr,s+1,c,n),e[u]._render&&t[u].gr.parentNode!==i&&i.appendChild(t[u].gr)}else e[u].ty==="tr"?(C||(t[u]=this.createTransformElement(e[u],i)),x=t[u].transform,c.push(x)):e[u].ty==="sh"||e[u].ty==="rc"||e[u].ty==="el"||e[u].ty==="sr"?(C||(t[u]=this.createShapeElement(e[u],c,s)),this.setElementStyles(t[u])):e[u].ty==="tm"||e[u].ty==="rd"||e[u].ty==="ms"||e[u].ty==="pb"?(C?(y=t[u],y.closed=!1):(y=ShapeModifiers.getModifier(e[u].ty),y.init(this,e[u]),t[u]=y,this.shapeModifiers.push(y)),E.push(y)):e[u].ty==="rp"&&(C?(y=t[u],y.closed=!0):(y=ShapeModifiers.getModifier(e[u].ty),t[u]=y,y.init(this,e,u,t),this.shapeModifiers.push(y),n=!1),E.push(y));this.addProcessedElement(e[u],u+1)}for(d=m.length,u=0;u<d;u+=1)m[u].closed=!0;for(d=E.length,u=0;u<d;u+=1)E[u].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,r;for(e=0;e<t;e+=1)r=this.animatedContents[e],(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(e,t,r,i,s,a){this.o=e,this.sw=t,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,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!==e&&(this.o=e,this._mdf.o=!0,n=!0),this.sw!==t&&(this.sw=t,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(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,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(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,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(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=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=e||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);t!==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 e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,i=e.length;r<=i-1&&!(r===i-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,i=e.length,s,a,n=!1;r<i;)s=e.charCodeAt(r),FontManager.isCombinedCharacter(s)?t[t.length-1]+=e.charAt(r):s>=55296&&s<=56319?(a=e.charCodeAt(r+1),a>=56320&&a<=57343?(n||FontManager.isModifier(s,a)?(t[t.length-1]+=e.substr(r,2),n=!1):t.push(e.substr(r,2)),r+=1):t.push(e.charAt(r))):s>56319?(a=e.charCodeAt(r+1),FontManager.isZeroWidthJoiner(s,a)?(n=!0,t[t.length-1]+=e.substr(r,2),r+=1):t.push(e.charAt(r))):FontManager.isZeroWidthJoiner(s)?(t[t.length-1]+=e.charAt(r),n=!0):t.push(e.charAt(r)),r+=1;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,i=[],s,a,n,c=0,u,d=r.m.g,A=0,T=0,m=0,E=[],x=0,y=0,C,o,p=t.getFontByName(e.f),f,l=0,g=getFontProperties(p);e.fWeight=g.weight,e.fStyle=g.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var b=e.tr/1e3*e.finalSize,P;if(e.sz)for(var k=!0,I=e.sz[0],G=e.sz[1],L,D;k;){D=this.buildFinalText(e.t),L=0,x=0,a=D.length,b=e.tr/1e3*e.finalSize;var O=-1;for(s=0;s<a;s+=1)P=D[s].charCodeAt(0),n=!1,D[s]===" "?O=s:(P===13||P===3)&&(x=0,n=!0,L+=e.finalLineHeight||e.finalSize*1.2),t.chars?(f=t.getCharData(D[s],p.fStyle,p.fFamily),l=n?0:f.w*e.finalSize/100):l=t.measureText(D[s],e.f,e.finalSize),x+l>I&&D[s]!==" "?(O===-1?a+=1:s=O,L+=e.finalLineHeight||e.finalSize*1.2,D.splice(s,O===s?1:0,"\r"),O=-1,x=0):(x+=l,x+=b);L+=p.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&G<L?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=D,a=e.finalText.length,k=!1)}x=-b,l=0;var z=0,B;for(s=0;s<a;s+=1)if(n=!1,B=e.finalText[s],P=B.charCodeAt(0),P===13||P===3?(z=0,E.push(x),y=x>y?x:y,x=-2*b,u="",n=!0,m+=1):u=B,t.chars?(f=t.getCharData(B,p.fStyle,t.getFontByName(e.f).fFamily),l=n?0:f.w*e.finalSize/100):l=t.measureText(u,e.f,e.finalSize),B===" "?z+=l+b:(x+=l+b+z,z=0),i.push({l,an:l,add:A,n,anIndexes:[],val:u,line:m,animatorJustifyOffset:0}),d==2){if(A+=l,u===""||u===" "||s===a-1){for((u===""||u===" ")&&(A-=l);T<=s;)i[T].an=A,i[T].ind=c,i[T].extra=l,T+=1;c+=1,A=0}}else if(d==3){if(A+=l,u===""||s===a-1){for(u===""&&(A-=l);T<=s;)i[T].an=A,i[T].ind=c,i[T].extra=l,T+=1;A=0,c+=1}}else i[c].ind=c,i[c].extra=0,c+=1;if(e.l=i,y=x>y?x:y,E.push(x),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=y,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=E;var M=r.a,F,S;o=M.length;var _,R,V=[];for(C=0;C<o;C+=1){for(F=M[C],F.a.sc&&(e.strokeColorAnim=!0),F.a.sw&&(e.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(e.fillColorAnim=!0),R=0,_=F.s.b,s=0;s<a;s+=1)S=i[s],S.anIndexes[C]=R,(_==1&&S.val!==""||_==2&&S.val!==""&&S.val!==" "||_==3&&(S.n||S.val==" "||s==a-1)||_==4&&(S.n||s==a-1))&&(F.s.rn===1&&V.push(R),R+=1);r.a[C].s.totalChars=R;var N=-1,q;if(F.s.rn===1)for(s=0;s<a;s+=1)S=i[s],N!=S.anIndexes[C]&&(N=S.anIndexes[C],q=V.splice(Math.floor(Math.random()*V.length),1)[0]),S.anIndexes[C]=q}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=p.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=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,u=0,d=1,A=1;this.ne.v>0?c=this.ne.v/100:u=-this.ne.v/100,this.xe.v>0?d=1-this.xe.v/100:A=1+this.xe.v/100;var T=BezierFactory.getBezierEasing(c,u,d,A).get,m=0,E=this.finalS,x=this.finalE,y=this.data.sh;if(y===2)x===E?m=n>=x?1:0:m=e(0,t(.5/(x-E)+(n-E)/(x-E),1)),m=T(m);else if(y===3)x===E?m=n>=x?0:1:m=1-e(0,t(.5/(x-E)+(n-E)/(x-E),1)),m=T(m);else if(y===4)x===E?m=0:(m=e(0,t(.5/(x-E)+(n-E)/(x-E),1)),m<.5?m*=2:m=1-2*(m-.5)),m=T(m);else if(y===5){if(x===E)m=0;else{var C=x-E;n=t(e(0,n+.5-E),x-E);var o=-C/2+n,p=C/2;m=Math.sqrt(1-o*o/(p*p))}m=T(m)}else y===6?(x===E?m=0:(n=t(e(0,n+.5-E),x-E),m=(1+Math.cos(Math.PI+Math.PI*2*n/(x-E)))/2),m=T(m)):(n>=r(E)&&(n-E<0?m=e(0,t(t(x,1)-(E-n),1)):m=e(0,t(x-n,1))),m=T(m));if(this.sm.v!==100){var f=this.sm.v*.01;f===0&&(f=1e-8);var l=.5-f*.5;m<l?m=0:(m=(m-l)/f,m>1&&(m=1))}return m*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,u=this.o.v/c,d=this.s.v/c+u,A=this.e.v/c+u;if(d>A){var T=d;d=A,A=T}this.finalS=d,this.finalE=A}},extendPrototype([DynamicPropertyContainer],i);function s(a,n,c){return new i(a,n)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},s=PropertyFactory.getProp,a=t.a;this.a={r:a.r?s(e,a.r,0,degToRads,r):i,rx:a.rx?s(e,a.rx,0,degToRads,r):i,ry:a.ry?s(e,a.ry,0,degToRads,r):i,sk:a.sk?s(e,a.sk,0,degToRads,r):i,sa:a.sa?s(e,a.sa,0,degToRads,r):i,s:a.s?s(e,a.s,1,.01,r):i,a:a.a?s(e,a.a,1,0,r):i,o:a.o?s(e,a.o,0,.01,r):i,p:a.p?s(e,a.p,1,0,r):i,sw:a.sw?s(e,a.sw,0,0,r):i,sc:a.sc?s(e,a.sc,1,0,r):i,fc:a.fc?s(e,a.fc,1,0,r):i,fh:a.fh?s(e,a.fh,0,0,r):i,fs:a.fs?s(e,a.fs,0,.01,r):i,fb:a.fb?s(e,a.fb,0,.01,r):i,t:a.t?s(e,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,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 e,t=this._textData.a.length,r,i=PropertyFactory.getProp;for(e=0;e<t;e+=1)r=this._textData.a[e],this._animatorsData[e]=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(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!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,u,d,A,T,m=e.l,E,x,y,C,o,p,f,l,g,b,P,k,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()),E={tLength:0,segments:[]},T=D._length-1;var O;for(k=0,A=0;A<T;A+=1)O=bez.buildBezierData(D.v[A],D.v[A+1],[D.o[A][0]-D.v[A][0],D.o[A][1]-D.v[A][1]],[D.i[A+1][0]-D.v[A+1][0],D.i[A+1][1]-D.v[A+1][1]]),E.tLength+=O.segmentLength,E.segments.push(O),k+=O.segmentLength;A=T,L.v.c&&(O=bez.buildBezierData(D.v[A],D.v[0],[D.o[A][0]-D.v[A][0],D.o[A][1]-D.v[A][1]],[D.i[0][0]-D.v[0][0],D.i[0][1]-D.v[0][1]]),E.tLength+=O.segmentLength,E.segments.push(O),k+=O.segmentLength),this._pathData.pi=E}if(E=this._pathData.pi,x=this._pathData.f.v,f=0,p=1,C=0,o=!0,b=E.segments,x<0&&L.v.c)for(E.tLength<Math.abs(x)&&(x=-Math.abs(x)%E.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],P=y.partialLength}T=m.length,u=0,d=0;var z=e.finalSize*1.2*.714,B=!0,M,F,S,_,R;_=i.length;var V,N=-1,q,W,X,j=x,K=f,Z=p,$=-1,Q,U,J,H,Y,se,he,ae,ie="",ne=this.defaultPropsArray,oe;if(e.j===2||e.j===1){var ee=0,le=0,fe=e.j===2?-.5:-1,te=0,pe=!0;for(A=0;A<T;A+=1)if(m[A].n){for(ee&&(ee+=le);te<A;)m[te].animatorJustifyOffset=ee,te+=1;ee=0,pe=!0}else{for(S=0;S<_;S+=1)M=i[S].a,M.t.propType&&(pe&&e.j===2&&(le+=M.t.v*fe),F=i[S].s,V=F.getMult(m[A].anIndexes[S],s.a[S].s.totalChars),V.length?ee+=M.t.v*V[0]*fe:ee+=M.t.v*V*fe);pe=!1}for(ee&&(ee+=le);te<A;)m[te].animatorJustifyOffset=ee,te+=1}for(A=0;A<T;A+=1){if(a.reset(),Q=1,m[A].n)u=0,d+=e.yOffset,d+=B?1:0,x=j,B=!1,this._hasMaskedPath&&(f=K,p=Z,g=b[f].points,l=g[p-1],y=g[p],P=y.partialLength,C=0),ie="",ae="",se="",oe="",ne=this.defaultPropsArray;else{if(this._hasMaskedPath){if($!==m[A].line){switch(e.j){case 1:x+=k-e.lineWidths[m[A].line];break;case 2:x+=(k-e.lineWidths[m[A].line])/2;break}$=m[A].line}N!==m[A].ind&&(m[N]&&(x+=m[N].extra),x+=m[A].an/2,N=m[A].ind),x+=r[0]*m[A].an*.005;var re=0;for(S=0;S<_;S+=1)M=i[S].a,M.p.propType&&(F=i[S].s,V=F.getMult(m[A].anIndexes[S],s.a[S].s.totalChars),V.length?re+=M.p.v[0]*V[0]:re+=M.p.v[0]*V),M.a.propType&&(F=i[S].s,V=F.getMult(m[A].anIndexes[S],s.a[S].s.totalChars),V.length?re+=M.a.v[0]*V[0]:re+=M.a.v[0]*V);for(o=!0,this._pathData.a.v&&(x=m[0].an*.5+(k-this._pathData.f.v-m[0].an*.5-m[m.length-1].an*.5)*N/(T-1),x+=this._pathData.f.v);o;)C+P>=x+re||!g?(I=(x+re-C)/y.partialLength,W=l.point[0]+(y.point[0]-l.point[0])*I,X=l.point[1]+(y.point[1]-l.point[1])*I,a.translate(-r[0]*m[A].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],P=y.partialLength));q=m[A].an/2-m[A].add,a.translate(-q,0,0)}else q=m[A].an/2-m[A].add,a.translate(-q,0,0),a.translate(-r[0]*m[A].an*.005,-r[1]*z*.01,0);for(S=0;S<_;S+=1)M=i[S].a,M.t.propType&&(F=i[S].s,V=F.getMult(m[A].anIndexes[S],s.a[S].s.totalChars),(u!==0||e.j!==0)&&(this._hasMaskedPath?V.length?x+=M.t.v*V[0]:x+=M.t.v*V:V.length?u+=M.t.v*V[0]:u+=M.t.v*V));for(e.strokeWidthAnim&&(J=e.sw||0),e.strokeColorAnim&&(e.sc?U=[e.sc[0],e.sc[1],e.sc[2]]:U=[0,0,0]),e.fillColorAnim&&e.fc&&(H=[e.fc[0],e.fc[1],e.fc[2]]),S=0;S<_;S+=1)M=i[S].a,M.a.propType&&(F=i[S].s,V=F.getMult(m[A].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<_;S+=1)M=i[S].a,M.s.propType&&(F=i[S].s,V=F.getMult(m[A].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<_;S+=1){if(M=i[S].a,F=i[S].s,V=F.getMult(m[A].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?Q+=(M.o.v*V[0]-Q)*V[0]:Q+=(M.o.v*V-Q)*V),e.strokeWidthAnim&&M.sw.propType&&(V.length?J+=M.sw.v*V[0]:J+=M.sw.v*V),e.strokeColorAnim&&M.sc.propType)for(Y=0;Y<3;Y+=1)V.length?U[Y]+=(M.sc.v[Y]-U[Y])*V[0]:U[Y]+=(M.sc.v[Y]-U[Y])*V;if(e.fillColorAnim&&e.fc){if(M.fc.propType)for(Y=0;Y<3;Y+=1)V.length?H[Y]+=(M.fc.v[Y]-H[Y])*V[0]:H[Y]+=(M.fc.v[Y]-H[Y])*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<_;S+=1)M=i[S].a,M.p.propType&&(F=i[S].s,V=F.getMult(m[A].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(e.strokeWidthAnim&&(se=J<0?0:J),e.strokeColorAnim&&(he="rgb("+Math.round(U[0]*255)+","+Math.round(U[1]*255)+","+Math.round(U[2]*255)+")"),e.fillColorAnim&&e.fc&&(ae="rgb("+Math.round(H[0]*255)+","+Math.round(H[1]*255)+","+Math.round(H[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.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 ce=Math.atan(G)*180/Math.PI;y.point[0]<l.point[0]&&(ce+=180),a.rotate(-ce*Math.PI/180)}a.translate(W,X,0),x-=r[0]*m[A].an*.005,m[A+1]&&N!==m[A+1].ind&&(x+=m[A].an/2,x+=e.tr*.001*e.finalSize)}else{switch(a.translate(u,d,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(m[A].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[m[A].line]),0,0);break;case 2:a.translate(m[A].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[m[A].line])/2,0,0);break}a.translate(0,-e.ls),a.translate(q,0,0),a.translate(r[0]*m[A].an*.005,r[1]*z*.01,0),u+=m[A].l+e.tr*.001*e.finalSize}n==="html"?ie=a.toCSS():n==="svg"?ie=a.to2dCSS():ne=[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]],oe=Q}c<=A?(R=new LetterProps(oe,se,he,ae,ie,ne),this.renderedLetters.push(R),c+=1,this.lettersChangedFlag=!0):(R=this.renderedLetters[A],this.lettersChangedFlag=R.update(oe,se,he,ae,ie,ne)||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(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var r,i=t.length,s,a="";for(r=0;r<i;r+=1)t[r].ty==="sh"&&(s=t[r].ks.k,a+=buildShapeString(s,s.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,i,s){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0);break}t.translate(i,s,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,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(e){for(var t=0,r=e.length,i=[],s="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(i.push(s),s=""):s+=e[t],t+=1;return i.push(s),i},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=t,i.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,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;t=n.length;var u,d=this.mHelper,A="",T=this.data.singleShape,m=0,E=0,x=!0,y=r.tr*.001*r.finalSize;if(T&&!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(t=p.length,E=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)u=this.textSpans[e].span||createNS("tspan"),u.textContent=p[e],u.setAttribute("x",0),u.setAttribute("y",E),u.style.display="inherit",C.appendChild(u),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=u,E+=r.finalLineHeight;this.layerElement.appendChild(C)}else{var f=this.textSpans.length,l;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!c||!T||e===0){if(u=f>e?this.textSpans[e].span:createNS(c?"g":"text"),f<=e){if(u.setAttribute("stroke-linecap","butt"),u.setAttribute("stroke-linejoin","round"),u.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=u,c){var g=createNS("g");u.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=u,this.layerElement.appendChild(u)}u.style.display="inherit"}if(d.reset(),T&&(n[e].n&&(m=-y,E+=r.yOffset,E+=x?1:0,x=!1),this.applyTextPropertiesToMatrix(r,d,n[e].line,m,E),m+=n[e].l||0,m+=y),c){l=this.globalData.fontManager.getCharData(r.finalText[e],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 P=emptyShapeData;l.data&&l.data.shapes&&(P=this.buildShapeData(l.data,r.finalSize)),b=new SVGShapeElement(P,this.globalData,this)}if(this.textSpans[e].glyph){var k=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(k.layerElement),k.destroy()}this.textSpans[e].glyph=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[e].childSpan.appendChild(b.layerElement),l.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else T&&u.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),u.textContent=n[e].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}T&&u&&u.setAttribute("d",A)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=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 e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)r=this.textSpans[e].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 e,t,r=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;t=i.length;var s,a,n;for(e=0;e<t;e+=1)i[e].n||(s=r[e],a=this.textSpans[e].span,n=this.textSpans[e].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(e,t,r){this.initElement(e,t,r)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!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(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){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 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.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 t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",e.w),i.setAttribute("height",e.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+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var r=this.createItem(this.layers[e]);t[e]=r,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt&&(!this.elements[e-1]||this.elements[e-1]===!0?(this.buildItem(e-1),this.addPendingElement(r)):r.setMatte(t[e-1].layerId))}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(!!r){for(var i=0,s;i<t;)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(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}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 e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=t.title,this.svgElement.appendChild(i),r+=s}if(t&&t.description){var a=createNS("desc"),n=createElementID();a.setAttribute("id",n),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+n}r&&this.svgElement.setAttribute("aria-labelledby",r);var c=createNS("defs");this.svgElement.appendChild(c);var u=createNS("g");this.svgElement.appendChild(u),this.layerElement=u,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.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(e){return new SVGCompElement(e,this.globalData,this)};function CVContextData(){this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var e,t=15;for(this.savedOp=createTypedArray("float32",t),e=0;e<t;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=t}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var r=0;for(r=this._length;r<e;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=e},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(t){var r,i=t.length,s="_";for(r=0;r<i;r+=1)s+=t[r].transform.key+"_";var a=this.sequences[s];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[s]=a,this.sequenceList.push(a)),a},processSequence:function(t,r){for(var i=0,s=t.transforms.length,a=r;i<s&&!r;){if(t.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a){var n;for(t.finalTransform.reset(),i=s-1;i>=0;i-=1)n=t.transforms[i].transform.mProps.v.props,t.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15])}t._mdf=a},processSequences:function(t){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};function CVEffects(){}CVEffects.prototype.renderFrame=function(){};function CVMaskElement(e,t){this.data=e,this.element=t,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 e=this.element.finalTransform.mat,t=this.element.canvasContext,r,i=this.masksProperties.length,s,a,n;for(t.beginPath(),r=0;r<i;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),n=this.viewData[r].v,s=e.applyToPointArray(n.v[0][0],n.v[0][1],0),t.moveTo(s[0],s[1]);var c,u=n._length;for(c=1;c<u;c+=1)a=e.applyToTriplePoints(n.o[c-1],n.i[c],n.v[c]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(n.o[c-1],n.i[0],n.v[0]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),t.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 t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);t.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 t=this.data.ty===0;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,s,e);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(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,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(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},i={};if(e.ty==="fl"||e.ty==="st"?(i.c=PropertyFactory.getProp(this,e.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])+")")):(e.ty==="gf"||e.ty==="gs")&&(i.s=PropertyFactory.getProp(this,e.s,1,null,this),i.e=PropertyFactory.getProp(this,e.e,1,null,this),i.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,e.g,this)),i.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],e.lj==1&&(r.ml=e.ml),i.w=PropertyFactory.getProp(this,e.w,0,null,this),i.w.k||(r.wi=i.w.v),e.d){var s=new DashProperty(this,e.d,"canvas",this);i.d=s,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,i,s){var a,n=e.length-1,c,u,d=[],A=[],T,m,E,x=[].concat(s);for(a=n;a>=0;a-=1){if(T=this.searchProcessedElement(e[a]),T?t[a]=r[T-1]:e[a]._shouldRender=i,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")T?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],x),d.push(t[a].style);else if(e[a].ty==="gr"){if(!T)t[a]=this.createGroupElement(e[a]);else for(u=t[a].it.length,c=0;c<u;c+=1)t[a].prevViewData[c]=t[a].it[c];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,i,x)}else e[a].ty==="tr"?(T||(E=this.createTransformElement(e[a]),t[a]=E),x.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?T||(t[a]=this.createShapeElement(e[a])):e[a].ty==="tm"||e[a].ty==="rd"||e[a].ty==="pb"?(T?(m=t[a],m.closed=!1):(m=ShapeModifiers.getModifier(e[a].ty),m.init(this,e[a]),t[a]=m,this.shapeModifiers.push(m)),A.push(m)):e[a].ty==="rp"&&(T?(m=t[a],m.closed=!0):(m=ShapeModifiers.getModifier(e[a].ty),t[a]=m,m.init(this,e,a,t),this.shapeModifiers.push(m),i=!1),A.push(m));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),n=A.length,a=0;a<n;a+=1)A[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(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,r,i,s,a,n,c,u=this.globalData.renderer,d=this.globalData.canvasContext,A,T;for(e=0;e<t;e+=1)if(T=this.stylesList[e],A=T.type,!((A==="st"||A==="gs")&&T.wi===0||!T.data._shouldRender||T.coOp===0||this.globalData.currentGlobalAlpha===0)){for(u.save(),n=T.elements,A==="st"||A==="gs"?(d.strokeStyle=A==="st"?T.co:T.grd,d.lineWidth=T.wi,d.lineCap=T.lc,d.lineJoin=T.lj,d.miterLimit=T.ml||0):d.fillStyle=A==="fl"?T.co:T.grd,u.ctxOpacity(T.coOp),A!=="st"&&A!=="gs"&&d.beginPath(),u.ctxTransform(T.preTransforms.finalTransform.props),i=n.length,r=0;r<i;r+=1){for((A==="st"||A==="gs")&&(d.beginPath(),T.da&&(d.setLineDash(T.da),d.lineDashOffset=T.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();(A==="st"||A==="gs")&&(d.stroke(),T.da&&d.setLineDash(this.dashResetter))}A!=="st"&&A!=="gs"&&d.fill(T.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,i){var s,a=t.length-1,n;for(n=e,s=a;s>=0;s-=1)t[s].ty==="tr"?(n=r[s].transform,this.renderShapeTransform(e,n)):t[s].ty==="sh"||t[s].ty==="el"||t[s].ty==="rc"||t[s].ty==="sr"?this.renderPath(t[s],r[s]):t[s].ty==="fl"?this.renderFill(t[s],r[s],n):t[s].ty==="st"?this.renderStroke(t[s],r[s],n):t[s].ty==="gf"||t[s].ty==="gs"?this.renderGradientFill(t[s],r[s],n):t[s].ty==="gr"?this.renderShape(n,t[s].it,r[s].it):t[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,i=t.paths,s,a,n,c=i._length;r.length=0;var u=e.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:u.applyToPointArray(d.v[0][0],d.v[0][1],0)}),r.push({t:"c",pts:u.applyToTriplePoints(d.o[s-1],d.i[s],d.v[s])});a===1&&r.push({t:"m",p:u.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&a&&(r.push({t:"c",pts:u.applyToTriplePoints(d.o[s-1],d.i[0],d.v[0])}),r.push({t:"z"}))}}e.trNodes=r}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var r,i=t.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var i=t.style;(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var i=t.style,s;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var a=this.globalData.canvasContext,n=t.s.v,c=t.e.v;if(e.t===1)s=a.createLinearGradient(n[0],n[1],c[0],c[1]);else{var u=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]),A=t.h.v;A>=1?A=.99:A<=-1&&(A=-.99);var T=u*A,m=Math.cos(d+t.a.v)*T+n[0],E=Math.sin(d+t.a.v)*T+n[1];s=a.createRadialGradient(m,E,0,n[0],n[1],u)}var x,y=e.g.p,C=t.g.c,o=1;for(x=0;x<y;x+=1)t.g._hasOpacity&&t.g._collapsable&&(o=t.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=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var i=t.style,s=t.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(i.wi=t.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(e,t,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(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var i=this.globalData.fontManager.getFontByName(e.f),s,a,n=e.l,c=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var u,d,A,T,m,E,x,y,C,o,p=this.data.singleShape,f=e.tr*.001*e.finalSize,l=0,g=0,b=!0,P=0;for(s=0;s<a;s+=1){u=this.globalData.fontManager.getCharData(e.finalText[s],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),d=u&&u.data||{},c.reset(),p&&n[s].n&&(l=-f,g+=e.yOffset,g+=b?1:0,b=!1),m=d.shapes?d.shapes[0].it:[],x=m.length,c.scale(e.finalSize/100,e.finalSize/100),p&&this.applyTextPropertiesToMatrix(e,c,n[s].line,l,g),C=createSizedArray(x-1);var k=0;for(E=0;E<x;E+=1)if(m[E].ty==="sh"){for(T=m[E].ks.k.i.length,y=m[E].ks.k,o=[],A=1;A<T;A+=1)A===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[A-1][0],y.o[A-1][1],0),c.applyToY(y.o[A-1][0],y.o[A-1][1],0),c.applyToX(y.i[A][0],y.i[A][1],0),c.applyToY(y.i[A][0],y.i[A][1],0),c.applyToX(y.v[A][0],y.v[A][1],0),c.applyToY(y.v[A][0],y.v[A][1],0));o.push(c.applyToX(y.o[A-1][0],y.o[A-1][1],0),c.applyToY(y.o[A-1][0],y.o[A-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[k]=o,k+=1}p&&(l+=n[s].l,l+=f),this.textSpans[P]?this.textSpans[P].elem=C:this.textSpans[P]={elem:C},P+=1}},CVTextElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.font=this.values.fValue,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var t,r,i,s,a,n,c=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;r=u.length;var d,A=null,T=null,m=null,E,x;for(t=0;t<r;t+=1)if(!u[t].n){if(d=c[t],d&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(d.p),this.globalData.renderer.ctxOpacity(d.o)),this.fill){for(d&&d.fc?A!==d.fc&&(A=d.fc,e.fillStyle=d.fc):A!==this.values.fill&&(A=this.values.fill,e.fillStyle=this.values.fill),E=this.textSpans[t].elem,s=E.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(x=E[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?m!==d.sw&&(m=d.sw,e.lineWidth=d.sw):m!==this.values.sWidth&&(m=this.values.sWidth,e.lineWidth=this.values.sWidth),d&&d.sc?T!==d.sc&&(T=d.sc,e.strokeStyle=d.sc):T!==this.values.stroke&&(T=this.values.stroke,e.strokeStyle=this.values.stroke),E=this.textSpans[t].elem,s=E.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(x=E[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(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,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 e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),r=this.img.width,i=this.img.height,s=r/i,a=this.assetData.w/this.assetData.h,n,c,u=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&u==="xMidYMid slice"||s<a&&u!=="xMidYMid slice"?(c=i,n=c*a):(n=r,c=n/a),t.drawImage(this.img,(r-n)/2,(i-c)/2,n,c,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,r){this.initElement(e,t,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 e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){if(!(e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0)){if(!this.renderConfig.clearCanvas){this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13]);return}this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.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(e){if(!this.renderConfig.clearCanvas){this.canvasContext.globalAlpha*=e<0?0:e,this.globalData.currentGlobalAlpha=this.contextData.cO;return}this.contextData.cO*=e<0?0:e,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(e){if(!this.renderConfig.clearCanvas){this.canvasContext.save();return}e&&this.canvasContext.save();var t=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]=t[r];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t=this.contextData.saved[this.contextData.cArrPos],r,i=this.contextData.cTr.props;for(r=0;r<16;r+=1)i[r]=t[r];this.canvasContext.setTransform(t[0],t[1],t[4],t[5],t[12],t[13]),t=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=t,this.globalData.currentGlobalAlpha!==t&&(this.canvasContext.globalAlpha=t,this.globalData.currentGlobalAlpha=t)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.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=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,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(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(){this.reset();var e,t;this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=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),u=n.substr(4);r=e/t,i=this.transformCanvas.w/this.transformCanvas.h,i>r&&a==="meet"||i<r&&a==="slice"?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),c==="xMid"&&(i<r&&a==="meet"||i>r&&a==="slice")?this.transformCanvas.tx=(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(i<r&&a==="meet"||i>r&&a==="slice")?this.transformCanvas.tx=(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,u==="YMid"&&(i>r&&a==="meet"||i<r&&a==="slice")?this.transformCanvas.ty=(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:u==="YMax"&&(i>r&&a==="meet"||i<r&&a==="slice")?this.transformCanvas.ty=(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(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 e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-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(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,r=this.layers.length;for(t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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(e){return new CVCompElement(e,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 t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();t.transform=r,t.webkitTransform=r}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,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 e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r=e.sh.v,i=e.transformers,s,a=r._length,n,c,u,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]),u=this.getTransformedPoint(i,r.i[s+1]),d=this.getTransformedPoint(i,r.v[s+1]),this.checkBounds(n,c,u,d,t);r.c&&(n=this.getTransformedPoint(i,r.v[s]),c=this.getTransformedPoint(i,r.o[s]),u=this.getTransformedPoint(i,r.i[0]),d=this.getTransformedPoint(i,r.v[0]),this.checkBounds(n,c,u,d,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,i,s){this.getBoundsOfCurve(e,t,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(e,t,r,i){for(var s=[[e[0],i[0]],[e[1],i[1]]],a,n,c,u,d,A,T,m=0;m<2;++m)n=6*e[m]-12*t[m]+6*r[m],a=-3*e[m]+9*t[m]-9*r[m]+3*i[m],c=3*t[m]-3*e[m],n|=0,a|=0,c|=0,a===0&&n===0||(a===0?(u=-c/n,u>0&&u<1&&s[m].push(this.calculateF(u,e,t,r,i,m))):(d=n*n-4*c*a,d>=0&&(A=(-n+bmSqrt(d))/(2*a),A>0&&A<1&&s[m].push(this.calculateF(A,e,t,r,i,m)),T=(-n-bmSqrt(d))/(2*a),T>0&&T<1&&s[m].push(this.calculateF(T,e,t,r,i,m)))));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(e,t,r,i,s,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*i[a]+bmPow(e,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var i=0;i<e.keyframes.length;i+=1){var s=e.keyframes[i].s;s>r&&(r=s)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.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(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,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 e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var i=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{t.fontFamily=i.fFamily;var s=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=s}var n,c,u=e.l;c=u.length;var d,A,T,m=this.mHelper,E,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]?(A=this.textSpans[y],T=A.children[0]):(A=createTag("div"),A.style.lineHeight=0,T=createNS("svg"),T.appendChild(d),styleDiv(A)))):this.isMasked?d=this.textPaths[y]?this.textPaths[y]:createNS("text"):this.textSpans[y]?(A=this.textSpans[y],d=this.textPaths[y]):(A=createTag("span"),styleDiv(A),d=createTag("span"),styleDiv(d),A.appendChild(d)),this.globalData.fontManager.chars){var C=this.globalData.fontManager.getCharData(e.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),o;if(C?o=C.data:o=null,m.reset(),o&&o.shapes&&o.shapes.length&&(E=o.shapes[0].it,m.scale(e.finalSize/100,e.finalSize/100),x=this.createPathShape(m,E),d.setAttribute("d",x)),this.isMasked)this.innerElem.appendChild(d);else{if(this.innerElem.appendChild(A),o&&o.shapes){document.body.appendChild(T);var p=T.getBBox();T.setAttribute("width",p.width+2),T.setAttribute("height",p.height+2),T.setAttribute("viewBox",p.x-1+" "+(p.y-1)+" "+(p.width+2)+" "+(p.height+2));var f=T.style,l="translate("+(p.x-1)+"px,"+(p.y-1)+"px)";f.transform=l,f.webkitTransform=l,u[n].yOffset=p.y-1}else T.setAttribute("width",1),T.setAttribute("height",1);A.appendChild(T)}}else if(d.textContent=u[n].val,d.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(d);else{this.innerElem.appendChild(A);var g=d.style,b="translate3d(0,"+-e.finalSize/1.2+"px,0)";g.transform=b,g.webkitTransform=b}this.isMasked?this.textSpans[y]=d:this.textSpans[y]=A,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 e;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),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}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,u,d;for(r=0;r<i;r+=1)n[r].n?s+=1:(u=this.textSpans[r],d=this.textPaths[r],c=a[s],s+=1,c._mdf.m&&(this.isMasked?u.setAttribute("transform",c.m):(u.style.webkitTransform=c.m,u.style.transform=c.m)),u.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 A=this.innerElem.getBBox();this.currentBBox.w!==A.width&&(this.currentBBox.w=A.width,this.svgElement.setAttribute("width",A.width)),this.currentBBox.h!==A.height&&(this.currentBBox.h=A.height,this.svgElement.setAttribute("height",A.height));var T=1;if(this.currentBBox.w!==A.width+T*2||this.currentBBox.h!==A.height+T*2||this.currentBBox.x!==A.x-T||this.currentBBox.y!==A.y-T){this.currentBBox.w=A.width+T*2,this.currentBBox.h=A.height+T*2,this.currentBBox.x=A.x-T,this.currentBBox.y=A.y-T,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var m="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=m,e.webkitTransform=m}}}};function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,e.pe,0,0,this),e.ks.p.s?(this.px=i(this,e.ks.p.x,1,0,this),this.py=i(this,e.ks.p.y,1,0,this),this.pz=i(this,e.ks.p.z,1,0,this)):this.p=i(this,e.ks.p,1,0,this),e.ks.a&&(this.a=i(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var s,a=e.ks.or.k.length;for(s=0;s<a;s+=1)e.ks.or.k[s].to=null,e.ks.or.k[s].ti=null}this.or=i(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,e.ks.rx,0,degToRads,this),this.ry=i(this,e.ks.ry,0,degToRads,this),this.rz=i(this,e.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 e,t=this.comp.threeDElements.length,r,i,s;for(e=0;e<t;e+=1)if(r=this.comp.threeDElements[e],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 e=this._isFirstFrame,t,r;if(this.hierarchy)for(r=this.hierarchy.length,t=0;t<r;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||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,t=r;t>=0;t-=1){var i=this.hierarchy[t].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]),u=Math.atan2(n[1],c),d=Math.atan2(n[0],-n[2]);this.mat.rotateY(d).rotateX(-u)}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 A=!this._prevMat.equals(this.mat);if((A||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var T,m,E;for(t=0;t<r;t+=1)if(T=this.comp.threeDElements[t],T.type==="3d"){if(A){var x=this.mat.toCSS();E=T.container.style,E.transform=x,E.webkitTransform=x}this.pe._mdf&&(m=T.perspectiveElem.style,m.perspective=this.pe.v+"px",m.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=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",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.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 e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(!!r){var i=this.layers[t];if(!i.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var s=0,a,n,c;s<t;)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,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),i,s;styleDiv(r);var a=createTag("div");if(styleDiv(a),t==="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 u={container:a,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(u),u},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,i="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(i!=="3d"&&(i="3d",r=this.createThreeDContainer(e,"3d")),r.endPos=Math.max(r.endPos,e)):(i!=="2d"&&(i="2d",r=this.createThreeDContainer(e,"2d")),r.endPos=Math.max(r.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,i=this.threeDElements.length;r<i;){if(t<=this.threeDElements[r].endPos){for(var s=this.threeDElements[r].startPos,a;s<t;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=1;a?this.threeDElements[r].container.insertBefore(e,a):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,i=t.style;i.width=e.w+"px",i.height=e.h+"px",this.resizerElem=t,styleDiv(t),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),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=e,this.setupGlobalData(e,s),this.globalData.defs=a,this.layers=e.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 e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,r=e/t,i=this.globalData.compSize.w/this.globalData.compSize.h,s,a,n,c;i>r?(s=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,n=0,c=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(s=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,n=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,c=0);var u=this.resizerElem.style;u.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+n+","+c+",0,1)",u.transform=u.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 e=this.globalData.compSize.w,t=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(e,2)+Math.pow(t,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,i=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var s=this.createComp(e[t],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}};function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.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(e,t){for(var r=0,i;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(e,i):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.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(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var Expressions=function(){var e={};e.initExpressions=t;function t(r){var i=0,s=[];function a(){i+=1}function n(){i-=1,i===0&&u()}function c(d){s.indexOf(d)===-1&&s.push(d)}function u(){var d,A=s.length;for(d=0;d<A;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 e}();function _typeof$1(e){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(e)}function seedRandom(e,t){var r=this,i=256,s=6,a=52,n="random",c=t.pow(i,s),u=t.pow(2,a),d=u*2,A=i-1,T;function m(f,l,g){var b=[];l=l===!0?{entropy:!0}:l||{};var P=C(y(l.entropy?[f,p(e)]:f===null?o():f,3),b),k=new E(b),I=function(){for(var L=k.g(s),D=c,O=0;L<u;)L=(L+O)*i,D*=i,O=k.g(1);for(;L>=d;)L/=2,D/=2,O>>>=1;return(L+O)/D};return I.int32=function(){return k.g(4)|0},I.quick=function(){return k.g(4)/4294967296},I.double=I,C(p(k.S),e),(l.pass||g||function(G,L,D,O){return O&&(O.S&&x(O,k),G.state=function(){return x(k,{})}),D?(t[n]=G,L):G})(I,P,"global"in l?l.global:this==t,l.state)}t["seed"+n]=m;function E(f){var l,g=f.length,b=this,P=0,k=b.i=b.j=0,I=b.S=[];for(g||(f=[g++]);P<i;)I[P]=P++;for(P=0;P<i;P++)I[P]=I[k=A&k+f[P%g]+(l=I[P])],I[k]=l;b.g=function(G){for(var L,D=0,O=b.i,z=b.j,B=b.S;G--;)L=B[O=A&O+1],D=D*i+B[A&(B[O]=B[z=A&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),P;if(l&&b=="object")for(P in f)try{g.push(y(f[P],l-1))}catch{}return g.length?g:b=="string"?f:f+"\0"}function C(f,l){for(var g=f+"",b,P=0;P<g.length;)l[A&P]=A&(b^=l[A&P]*19)+g.charCodeAt(P++);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(e)]}}function p(f){return String.fromCharCode.apply(0,f)}C(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){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(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;initialize$2(BMMath);function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||e==="boolean"||e==="string"||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if(t==="number"||t==="boolean"||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,i=e.length,s=[];for(r=0;r<i;r+=1)s[r]=-e[r];return s}return e.propType?e.v:-e}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(e,t){var r=_typeof(e),i=_typeof(t);if(r==="string"||i==="string"||isNumerable(r,e)&&isNumerable(i,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,a=e.length,n=t.length,c=[];s<a||s<n;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?c[s]=e[s]+t[s]:c[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return c}return 0}var add=sum;function sub(e,t){var r=_typeof(e),i=_typeof(t);if(isNumerable(r,e)&&isNumerable(i,t))return r==="string"&&(e=parseInt(e,10)),i==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,a=e.length,n=t.length,c=[];s<a||s<n;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?c[s]=e[s]-t[s]:c[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return c}return 0}function mul(e,t){var r=_typeof(e),i=_typeof(t),s;if(isNumerable(r,e)&&isNumerable(i,t))return e*t;var a,n;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(n=e.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=e[a]*t;return s}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=e*t[a];return s}return 0}function div(e,t){var r=_typeof(e),i=_typeof(t),s;if(isNumerable(r,e)&&isNumerable(i,t))return e/t;var a,n;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(n=e.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=e[a]/t;return s}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=e/t[a];return s}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var i=r;r=t,t=i}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,i=Math.min(e.length,t.length),s=0;for(r=0;r<i;r+=1)s+=Math.pow(t[r]-e[r],2);return Math.sqrt(s)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],r=e[1],i=e[2],s=Math.max(t,r,i),a=Math.min(t,r,i),n,c,u=(s+a)/2;if(s===a)n=0,c=0;else{var d=s-a;switch(c=u>.5?d/(2-s-a):d/(s+a),s){case t:n=(r-i)/d+(r<i?6:0);break;case r:n=(i-t)/d+2;break;case i:n=(t-r)/d+4;break}n/=6}return[n,c,u,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],i=e[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,u=2*i-c;s=hue2rgb(u,c,t+1/3),a=hue2rgb(u,c,t),n=hue2rgb(u,c,t-1/3)}return[s,a,n,e[3]]}function linear(e,t,r,i,s){if((i===void 0||s===void 0)&&(i=t,s=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return i;if(e>=r)return s;var n=r===t?0:(e-t)/(r-t);if(!i.length)return i+(s-i)*n;var c,u=i.length,d=createTypedArray("float32",u);for(c=0;c<u;c+=1)d[c]=i[c]+(s[c]-i[c])*n;return d}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var r,i=t.length;e||(e=createTypedArray("float32",i));var s=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)s[r]=e[r]+a*(t[r]-e[r]);return s}e===void 0&&(e=0);var n=BMMath.random();return e+n*(t-e)}function createPath(e,t,r,i){var s,a=e.length,n=shapePool.newElement();n.setPathData(!!i,a);var c=[0,0],u,d;for(s=0;s<a;s+=1)u=t&&t[s]?t[s]:c,d=r&&r[s]?r[s]:c,n.setTripleAt(e[s][0],e[s][1],d[0]+e[s][0],d[1]+e[s][1],u[0]+e[s][0],u[1]+e[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 e(t,r){var i,s,a=this.pv.length?this.pv.length:1,n=createTypedArray("float32",a);t=5;var c=Math.floor(time*t);for(i=0,s=0;i<c;){for(s=0;s<a;s+=1)n[s]+=-r+r*2*BMMath.random();i+=1}var u=time*t,d=u-Math.floor(u),A=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)A[s]=this.pv[s]+n[s]+(-r+r*2*BMMath.random())*d;return A}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(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!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(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[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(e,t,r,i,s){return applyEase(easeOutBez,e,t,r,i,s)}function easeIn(e,t,r,i,s){return applyEase(easeInBez,e,t,r,i,s)}function ease(e,t,r,i,s){return applyEase(easeInOutBez,e,t,r,i,s)}function applyEase(e,t,r,i,s,a){s===void 0?(s=r,a=i):t=(t-r)/(i-r),t>1?t=1:t<0&&(t=0);var n=e(t);if($bm_isInstanceOfArray(s)){var c,u=s.length,d=createTypedArray("float32",u);for(c=0;c<u;c+=1)d[c]=(a[c]-s[c])*n+s[c];return d}return(a-s)*n+s}function nearestKey(e){var t,r=data.k.length,i,s;if(!data.k.length||typeof data.k[0]=="number")i=0,s=0;else if(i=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)i=1,s=data.k[0].t;else{for(t=0;t<r-1;t+=1)if(e===data.k[t].t){i=t+1,s=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(i=t+2,s=data.k[t+1].t):(i=t+1,s=data.k[t].t);break}i===-1&&(i=t+1,s=data.k[t].t)}var a={};return a.index=i,a.time=s/elem.comp.globalData.frameRate,a}function key(e){var t,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=s.length,r=0;r<i;r+=1)t[r]=s[r],t.value[r]=s[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,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(e){return value=e,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 e(n,c,u){c.x&&(u.k=!0,u.x=!0,u.initiateExpression=ExpressionManager.initiateExpression,u.effectsSequence.push(u.initiateExpression(n,c,u).bind(u)))}function t(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,u=this.getValueAtTime(n),d=this.getValueAtTime(n+c),A=0;if(u.length){var T;for(T=0;T<u.length;T+=1)A+=Math.pow(d[T]-u[T],2);A=Math.sqrt(A)*100}else A=0;return A}function i(n){if(this.vel!==void 0)return this.vel;var c=-.001,u=this.getValueAtTime(n),d=this.getValueAtTime(n+c),A;if(u.length){A=createTypedArray("float32",u.length);var T;for(T=0;T<u.length;T+=1)A[T]=(d[T]-u[T])/c}else A=(d-u)/c;return A}function s(){return this.pv}function a(n){this.propertyGroup=n}return{searchExpressions:e,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:t,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function e(m,E,x){if(!this.k||!this.keyframes)return this.pv;m=m?m.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?(E?p=Math.abs(o-this.elem.comp.globalData.frameRate*E):p=Math.max(0,o-this.elem.data.ip),f=o-p):((!E||E>C.length-1)&&(E=C.length-1),f=C[C.length-1-E].t,p=o-f);var l,g,b;if(m==="pingpong"){var P=Math.floor((y-f)/p);if(P%2!==0)return this.getValueAtTime((p-(y-f)%p+f)/this.comp.globalData.frameRate,0)}else if(m==="offset"){var k=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(k.length),g=b.length,l=0;l<g;l+=1)b[l]=(I[l]-k[l])*L+G[l];return b}return(I-k)*L+G}else if(m==="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 t(m,E,x){if(!this.k)return this.pv;m=m?m.toLowerCase():"";var y=this.comp.renderedFrame,C=this.keyframes,o=C[0].t;if(y>=o)return this.pv;var p,f;x?(E?p=Math.abs(this.elem.comp.globalData.frameRate*E):p=Math.max(0,this.elem.data.op-o),f=o+p):((!E||E>C.length-1)&&(E=C.length-1),f=C[E].t,p=f-o);var l,g,b;if(m==="pingpong"){var P=Math.floor((o-y)/p);if(P%2===0)return this.getValueAtTime(((o-y)%p+o)/this.comp.globalData.frameRate,0)}else if(m==="offset"){var k=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(k.length),g=b.length,l=0;l<g;l+=1)b[l]=G[l]-(I[l]-k[l])*L;return b}return G-(I-k)*L}else if(m==="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(m,E){if(!this.k)return this.pv;if(m=(m||.4)*.5,E=Math.floor(E||5),E<=1)return this.pv;var x=this.comp.renderedFrame/this.comp.globalData.frameRate,y=x-m,C=x+m,o=E>1?(C-y)/(E-1):1,p=0,f=0,l;this.pv.length?l=createTypedArray("float32",this.pv.length):l=0;for(var g;p<E;){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]/=E;else l/=E;return l}function i(m){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var E=this._transformCachingAtTime.v;if(E.cloneFromProps(this.pre.props),this.appliedTransformations<1){var x=this.a.getValueAtTime(m);E.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(m);E.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(m),o=this.sa.getValueAtTime(m);E.skewFromAxis(-C*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var p=this.r.getValueAtTime(m);E.rotate(-p*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var f=this.rz.getValueAtTime(m),l=this.ry.getValueAtTime(m),g=this.rx.getValueAtTime(m),b=this.or.getValueAtTime(m);E.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 P=this.px.getValueAtTime(m),k=this.py.getValueAtTime(m);if(this.data.p.z){var I=this.pz.getValueAtTime(m);E.translate(P*this.px.mult,k*this.py.mult,-I*this.pz.mult)}else E.translate(P*this.px.mult,k*this.py.mult,0)}else{var G=this.p.getValueAtTime(m);E.translate(G[0]*this.p.mult,G[1]*this.p.mult,-G[2]*this.p.mult)}return E}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(m,E,x){var y=a(m,E,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(m,E,x,y,C){var o=n(m,E,x,y,C);o.kf?o.getValueAtTime=expressionHelpers.getValueAtTime.bind(o):o.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(o),o.setGroupProperty=expressionHelpers.setGroupProperty,o.loopOut=e,o.loopIn=t,o.smooth=r,o.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(o),o.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(o),o.numKeys=E.a===1?E.k.length:0,o.propertyIndex=E.ix;var p=0;return x!==0&&(p=createTypedArray("float32",E.a===1?E.k[0].s.length:E.k.length)),o._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(m,E,o),o.k&&C.addDynamicProperty(o),o};function c(m){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),m*=this.elem.globalData.frameRate,m-=this.offsetTime,m!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<m?this._caching.lastIndex:0,this._cachingAtTime.lastTime=m,this.interpolateShape(m,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var u=ShapePropertyFactory.getConstructorFunction(),d=ShapePropertyFactory.getKeyframedConstructorFunction();function A(){}A.prototype={vertices:function(E,x){this.k&&this.getValue();var y=this.v;x!==void 0&&(y=this.getValueAtTime(x,0));var C,o=y._length,p=y[E],f=y.v,l=createSizedArray(o);for(C=0;C<o;C+=1)E==="i"||E==="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(E){return this.vertices("v",E)},inTangents:function(E){return this.vertices("i",E)},outTangents:function(E){return this.vertices("o",E)},isClosed:function(){return this.v.c},pointOnPath:function(E,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*E,f=0,l=o.length,g=0,b;f<l;){if(g+o[f].addedLength>p){var P=f,k=y.c&&f===l-1?0:f+1,I=(p-g)/o[f].addedLength;b=bez.getPointInSegment(y.v[P],y.v[k],y.o[P],y.i[k],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(E,x,y){E==1?E=this.v.c:E==0&&(E=.999);var C=this.pointOnPath(E,x),o=this.pointOnPath(E+.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(E,x){return this.vectorOnPath(E,x,"tangent")},normalOnPath:function(E,x){return this.vectorOnPath(E,x,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([A],u),extendPrototype([A],d),d.prototype.getValueAtTime=c,d.prototype.initiateExpression=ExpressionManager.initiateExpression;var T=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(m,E,x,y,C){var o=T(m,E,x,y,C);return o.propertyIndex=E.ix,o.lock=!1,x===3?expressionHelpers.searchExpressions(m,E.pt,o):x===4&&expressionHelpers.searchExpressions(m,E.ks,o),o.k&&m.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){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(t,r){var i=this.calculateExpression(r);if(t.t!==i){var s={};return this.copyData(s,t),s.t=i.toString(),s.__complete=!1,s}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),r=this.searchExpressions();return this.kf=t||r,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,r){var i=createNS("feMerge");i.setAttribute("result",t);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(e,t,r,i,s){this.filterManager=t;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"),e.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"),e.appendChild(a),this.matrixFilter=a;var n=this.createMergeNode(i,[s,i+"_tint_1",i+"_tint_2"]);e.appendChild(n)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=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]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+i+" 0")}};function SVGFillFilter(e,t,r,i){this.filterManager=t;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),e.appendChild(s),this.matrixFilter=s}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}};function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,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)t=createNS("path"),r.appendChild(t),this.paths.push({p:t,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+")");e[0];)c.appendChild(e[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(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[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(e){this.initialized||this.initialize();var t,r=this.paths.length,i,s;for(t=0;t<r;t+=1)if(this.paths[t].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[t].m],s=this.paths[t].p,(e||this.filterManager._mdf||i.prop._mdf)&&s.setAttribute("d",i.lastPath),e||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,u=s.getTotalLength();a="0 0 0 "+u*n+" ";var d=u*(c-n),A=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,T=Math.floor(d/A),m;for(m=0;m<T;m+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+u*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((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||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)&&(e||this.filterManager.effectElements[3].p._mdf)){var E=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(E[0]*255)+","+bmFloor(E[1]*255)+","+bmFloor(E[2]*255)+")")}};function SVGTritoneFilter(e,t,r,i){this.filterManager=t;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"),e.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 u=createNS("feFuncB");u.setAttribute("type","table"),a.appendChild(u),this.feFuncB=u,e.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=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]+" "+t[0],a=i[1]+" "+r[1]+" "+t[1],n=i[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",n)}};function SVGProLevelsFilter(e,t,r,i){this.filterManager=t;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"),e.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),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,i,s){for(var a=0,n=256,c,u=Math.min(e,t),d=Math.max(e,t),A=Array.call(null,{length:n}),T,m=0,E=s-i,x=t-e;a<=256;)c=a/256,c<=u?T=x<0?s:i:c>=d?T=x<0?i:s:T=i+E*Math.pow((c-e)/x,1/r),A[m]=T,m+=1,a+=256/(n-1);return A.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=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",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=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",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=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",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=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",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=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",t))}};function SVGDropShadowEffect(e,t,r,i,s){var a=t.container.globalData.renderConfig.filterSize,n=t.data.fs||a;e.setAttribute("x",n.x||a.x),e.setAttribute("y",n.y||a.y),e.setAttribute("width",n.width||a.width),e.setAttribute("height",n.height||a.height),this.filterManager=t;var c=createNS("feGaussianBlur");c.setAttribute("in","SourceAlpha"),c.setAttribute("result",i+"_drop_shadow_1"),c.setAttribute("stdDeviation","0"),this.feGaussianBlur=c,e.appendChild(c);var u=createNS("feOffset");u.setAttribute("dx","25"),u.setAttribute("dy","0"),u.setAttribute("in",i+"_drop_shadow_1"),u.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=u,e.appendChild(u);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=d,e.appendChild(d);var A=createNS("feComposite");A.setAttribute("in",i+"_drop_shadow_3"),A.setAttribute("in2",i+"_drop_shadow_2"),A.setAttribute("operator","in"),A.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(A);var T=this.createMergeNode(i,[i+"_drop_shadow_4",s]);e.appendChild(T)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||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(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,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(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(!!r){for(var i=r.children,s=0,a=i.length;s<a&&i[s]!==e.layerElement;)s+=1;var n;s<=a-2&&(n=i[s+1]);var c=createNS("use");c.setAttribute("href","#"+t),n?r.insertBefore(c,n):r.appendChild(c)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",t.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var s=e.globalData.defs;s.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),s.appendChild(a);var n=createNS("use");n.setAttribute("href","#"+r),i.appendChild(n),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,i=t.length;r<i;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,r,i){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("result",i),e.appendChild(s),this.feGaussianBlur=s}return SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,r=this.filterManager.effectElements[0].p.v*t,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=(e,t)=>{const r=e.__vccOpts||e;for(const[i,s]of t)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(e,{emit:t}){let r=ref(null);const i=ref("");let s=1;const a=k=>document.querySelector(`[data-id="${k}" ]`)!==null,n=async k=>{let I=e.autoPlay;e.playOnHover&&(I=!1);let G={};if(e.animationData!=={}&&(G=JSON.parse(JSON.stringify(e.animationData))),e.animationLink!="")try{G=await(await fetch(e.animationLink)).json()}catch(D){console.error(D);return}let L=e.loop;typeof L=="number"&&L>0&&(L=L-1),e.delay>0&&(I=!1),r=Lottie.loadAnimation({container:k,renderer:"svg",loop:L,autoplay:I,animationData:G}),setTimeout(()=>{I=e.autoPlay,e.playOnHover?r.pause():I?r.play():r.pause(),t("onAnimationLoaded")},e.delay),r.setSpeed(e.speed),e.direction==="reverse"&&r.setDirection(-1),e.direction==="normal"&&r.setDirection(1),(e.pauseAnimation||e.playOnHover)&&r.pause(),r.addEventListener("loopComplete",()=>{e.direction==="alternate"&&(r.stop(),s=s*-1,r.setDirection(s),r.play()),t("onLoopComplete")}),r.addEventListener("complete",()=>{t("onComplete")}),r.addEventListener("enterFrame",()=>{t("onEnterFrame")}),r.addEventListener("segmentStart",()=>{t("onSegmentStart")})},c=computed(()=>{let k=e.width,I=e.height;return typeof e.width=="number"&&(k=`${e.width}px`),typeof e.height=="number"&&(I=`${e.height}px`),{"--lottie-animation-container-width":k,"--lottie-animation-container-height":I,"--lottie-animation-container-background-color":e.backgroundColor}}),u=()=>{r&&e.pauseOnHover&&r.pause(),r&&e.playOnHover&&r.play()},d=()=>{r&&e.pauseOnHover&&r.play(),r&&e.playOnHover&&r.pause()};watch(()=>e.pauseAnimation,()=>{if((e.pauseOnHover||e.playOnHover)&&e.pauseAnimation){console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover");return}r&&(e.pauseAnimation?r.pause():r.play())});const A=()=>{r&&r.play()},T=()=>{r&&r.pause()},m=()=>{r&&r.stop()},E=()=>{r&&r.destroy()},x=(k=1)=>{if(k<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(k)},y=k=>{r&&(k==="forward"?r.setDirection(1):k==="reverse"&&r.setDirection(-1))},C=(k,I=!0)=>{r&&r.goToAndStop(k,I)},o=(k,I=!0)=>{r&&r.goToAndPlay(k,I)},p=(k,I=!1)=>{r&&r.playSegments(k,I)},f=(k=!0)=>{r&&r.setSubframe(k)},l=(k=!0)=>{if(r)return r.getDuration(k)},g=(k,I=0)=>{r&&r.renderer.elements[I].updateDocumentData(k)},b=k=>{for(var I="",G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",L=G.length,D=0;D<k;D++)I+=G.charAt(Math.floor(Math.random()*L));return I},P=k=>{if(e.pauseOnHover&&e.playOnHover)throw new Error("You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.");if(e.animationLink===""&&e.animationData==={})throw new Error("You must provide either animationLink or animationData");const I=setInterval(()=>{if(a(k)){clearInterval(I);const G=document.querySelector(`[data-id="${k}" ]`);G&&n(G)}},0)};return onMounted(async()=>{i.value=b(20),P(i.value)}),{elementid:i,hoverEnded:d,hoverStarted:u,getCurrentStyle:c,play:A,pause:T,stop:m,destroy:E,setSpeed:x,setDirection:y,goToAndStop:C,goToAndPlay:o,playSegments:p,setSubFrame:f,getDuration:l,updateDocumentData:g}}}),_hoisted_1=["data-id"];function _sfc_render(e,t,r,i,s,a){return openBlock(),createElementBlock("div",{"data-id":e.elementid,class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...n)=>e.hoverStarted&&e.hoverStarted(...n)),onMouseleave:t[1]||(t[1]=(...n)=>e.hoverEnded&&e.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=",iconChangeStaff="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAACKBJREFUaEPdWntwlNUV/91vs6/s5v3avDG7ZAvxUYsKaas2YDvTwdLOlBoc5eHoKAo6SLEzdoxTOtSpLVaqUKyIgqatD2yLtlprm1jLkEAZgxIMhLzfT5Ls89vH993O/Ta72c0+vm+BtpOef5LZe+4553fvueeec+5HcAVohNrz3W7UcBxZQQErKF1MQDIpQRoTTyjsFHQahFwgwHlRpM16PRpNJG3sctWTSxXQT2k29bjuFCldD9CbmJ1JyqIAOckR8hrRpv6ulJCLSc6X2JNVih6ns5BT0R0ixQMANVyK0ug5xMkR/FoUyO5FBsNwMjIVAzhFqTrX49wGSp8EYExGSRK8DhDy4wmtYc8NhPiUzFMEoJ/nLQL8b4LS65UIvWweghYV1HeU6nQdcrJkAXQ7bd8hKnIYFOlywq7oOIGNCnTjVYb0PyaSmxBAL2+/n1L8CoDqihqnXJhACB4q16W9GG9KXADMeIC8QCmV3SXl9iTPSQihAN0cD0RM4yS34ciR/+HKz0cqUJGujeVOUQA6+ZnFKnCnLsXnfT4fUlJSQEjsTfNTESmEi9oGSmncOSFmApsA8QazLuNCuIAITbOh8oTSaON2unC6qRmdbecw0j8Ar8eD9Kws3LX1QWTl5kQY+s/pYTzb+xkOV9UgLUUTGnt/og/1w+2ov3qVEhAtE1rj8vAQGwGgh3c8Bkp/JuepVBTR3PARjn3wIXxebxR7zbdWo/q2laHf/aKIh88fw4DHCaNKDQ4EbJO+nGHCafsEhr0upKnUIQDs/+etX4Wai94tEPKDRTrjz4PCQwDYDQtObJe7pJjBb798CF1t52PiTFGrsf6RLSgsKw2NHxhswzvjPdhUaMVnjkl8Yp/AlpIqfOqYxLHpEdxTZMWwx4W/TPbjzgILFhsycGN6frx1dEDkKoM3dghAH+94RqR0e6LVZ776xgsH0HVuznjm7+alS2CpWoqsnGzkFxXBkC7lcBJN+zzYcLYBt2QWwpKaIe3AKds4NhVZ8YexbjgFP9YWVOCij8fvx7qxuaQKJbrEGQpHyC/KdMbvM/kSAJaYCbyzTy63afpbAxrf/XPIuJyCfHx7w90wlRQn9DqH4EO3y4ane09jxu/F3abFeHe8FzNCtPupCYf9S25BgUafQCZxqnSGMpYASgD6eOcWkYp7E1nhdjqxb+dPpIPKKCc/Dxu2PQK9IVXuyKDbbUNd57/w5FXLYBcCKY5AqQSGkY5TIV+jx/GZEWkXdplvwnVpkUFgvhKOcFvLdIZ9EoAet6MZoMsTWdL890Y0vPMniYW5zT07tsFUUiJrPGNomhnFU92f4PFF1+OCewZHRrui5m0stCJTrcEv+84oAgCQE4v0xhWEFSM8j5F4qbXf54PDbsfRw/UY7OmVFJeaK3DH/fdBq9MmDeAfU8Po4+14omKZ5L8UQF3HSVybloOrjdlJAADV6WAifR57rSji9XiWHHh6N8aHolN0rV6PrT96AlqdThZE+A4wAE0zI5LbBIkXBazMLk4WACjFOtLLO56llG6LZ8WRl15B+5nWqOFcUwHufWw7VCkpSQPo5e14tOza0Lyf9rRIPp/kDjBX3kN6eMd7oPSb8axgLvTWSy+j+xy7IgKUW1Ag3bbh4TIRivAdYAf1+PSoFCqDLtTHO/D17BJYDZnJuBA7jO+THred5RaWRAaEg0jW+PmHuFhnQPP0KATJ+wMkUgovFeES/Phgsh9PWZbjGmO27M4C6CC9bsc4Bc2V42Yg2lo+hblqCVINyZXCrY6LeLzjBHaZb8R1adGq+nkHtrcfBzsLOWotnrfejLQUtZxJLCGZYC7Eg1Jl4URWZHwGdiNnquOroaBwCwL0nEo+qQuqIcTzXwNwGdjjT2UAlLrQf8SAeUJZjnXq42OoWbMaeSaTrMqACyk4xEzSIO9E49Rg2NFLsDAAbs4sRLl+LqmTs6bz8zYcOXgIgt+PVKNRinJ5hbIgOmTDaFDxexO92D/wuZwdofGNhZVYW2BWxB9ufHCCIhAsjMpdZEGB7JCx1Jf9ZcSSsU2tjfhSeh4eLb8mwlAW3w3cXIGSCAXvcuG5up3w+/1RbKyqe7Duh3GnSxdZt8teS0j8VCLebOZSm899jO/lV2BDkVXRSsdiEgUBR+t/i/7OLjhmbBILx3EoKC5GeaUFK9fcHle2lErIJXPhs98a7cS4l5d+mvTxOGkbw1JDFsp1AV/nCGBOzZBu1WTpzRcPouNswEXLLWbc9fBDciICyRzjUpJOM771rQ2Y9gfqgUR0YMmtMGnl64SgjJGBAbyyew9YxceoZs3tqF5VI6NlNp1mXEoKGsbH2iI+UZQE7xtoBcssD1etlC4fRqwYeX20A89UVqMyNVMOpzTOCqVX9+zF5FjgqUCt0WDrzjroUxMvQERBo7SkDLdoR3sTxn1uCUCQ3h7rwqGh84oBjAwM4uir9ZgcnXvnYHdA9ao5mbFXYV5JGdgF+aI+XNi6Mx/Cos/ALgt72wiQHACnzY7RoSFMT16U/J2Fz6DbsPkVX7Ci9oH7QGK1U8KURxX1bExpW4XxTs12GlbnlkldBCUAhvv68dpz+8CSwljEjP/uvZskF5Kh2G0VCUSCxhaLQHZ/QPmU34OPpoZQZciK8PV21zTOOqdwa1YRTJpUrDOZQ63E+R2NoJEarRZf+cZtWLGqRlkSF6+xxQQGWouOE6CIeMjwiiJqz/wV/tkoIbdEbJyFt4NLv4a82fbI1MQkfrN3P2xTU2BGm0pLpH7SF6uXyx7YkD6CxK1FxhivuctydRaFlJIKBHpVZLnJ/J3duGq1fK4fpYfApoJ62fxXm/+/9noQ+YJ+4AgHsWCfmIIgFvQjXxBE4GCr3lD68KH0oMflI2gRINbOf42Jxa/4AW9BP3SHI1+wnxrM374F+7FHLD9kRZHXixpKlX1uQwht1miuzOc2/wYlny6H+1IXtgAAAABJRU5ErkJggg==";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",emtpy="./assets/emtpy.20799cbd.png",staffDetafult="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAAAXNSR0IArs4c6QAABgZJREFUaEPtWW9oW1UUP+e+vqRNWps1XdPQDeZaOxrT0uSlFtzqGDhERNnULyKCDClIUWF+kYEigiB+Esd0K0wUBzIQdG5j+Gn9oFbad0MITWlph7WdlrRra9vUJH1978iNyUy7JE1jazPbC4/7/px77zm/c+6555yHsMMb7nD5IQFAZ2enExFvEVHZTgAEEaNEVN/d3T25awE7QeO5ZNy1gPvBAtra2o4CgNbf3/+Tx+NxMcYaOeffbgbv94UFeL3erxDxF875Ga/X+y4itnLOT2waAJ2dnTIAPAUAoi+6FgwG37ZYLIGGhoarg4ODpxDR1NTUdD4Xo8vLy9Li4qK5tLRUs1qt2hpa8Xy9u7tbS1hAV1eXXdO0j4sNgJWVFYumadaRkZFHqqqqxux2+9T4+PjDsixHnE7nr2azeZYxpqeE03XdND09fXR2dtYWjUbvymy1WmH//v0/W63WieRLTZbl18+dOzdT1FtAUZRrAHA8qZgVACAiKkFEAwDE82nO+adCKJ/Pd5iILgNAXRbLCHHO3Wu/FTUAKWYVRVkCgCc45z94vd5+xth5VVUvpn0/RkQ3ENGcbVsQUcTv91cUDQBtbW21hmG8CABHiKgOERcBoCcSiXw0PDws7hPN5XKVl5WVLeq63hgIBEYURZlAxC5VVb9LA2AYABrXcV4XOeevbDsALpfLVFZW9h4AvAYAlgxM/8g5PyLet7e379N1vYGIbgKAQkQLiBgiopcMw+gLBAJjHo9nL2Nsah3hA7quHwsEAn9sKwAtLS1WWZZvAEBHLoZjsZhdkqS4LMu3AKASAIRpp7yaAE3E8jEiOsIYmwOA37PMJxzkZ9Fo9PTg4GAkE82GToH5+XkQ1/LyMphMJnA4HGA2Z91296w3MjLy0MLCQmsu4U0mk+52u79BRBJ0MzMz1RMTE4dbW1uvxGIxcygUeqa5ufmqyWSKie/xeLx0YGDg6erqaj0ajUq6rid4s1qtMZvN1mexWMIZ1lt9CqwXB0xOTp6cmZl5Mh6P29InQ0Td6XR+7nQ6v1/HBBOf/X7/l0SUC7EVu91+5sCBA2Op+cbGxjrm5uZOeDyeN6enpw+Oj4+/39ra+oIkSQmSSCSyZ3h4+EJDQ0NXZWXldD58iKhyVRyQbVByv14AgJdzTDzAOW/OZ2FFUcTxle3kuUNEp/x+/9X0uRRFeQMAnuOcP+bz+Y4bhnHJ7/c70hygU2wBXdcfFD4hHz5WKTHXAEVRPgGAV3PRIGKvqqqP5rNwEoDfAGBfGv0QIl5mjJ3t6+ubWTuP1+vtQMSDnPMvvF5vA2PsWVVVP9xyAFpaWmpkWRbO5W9by9wIEU+qqnolXwAQsUOSpFFN06rMZnO4t7d3Np+x2WgURdkaC/B4PD7GWH8O5oSHFZGYCKHzasICBACqqv6Y14A8iLYDAOGdexDxLVVV+/Lg8S5J0QKQqSa4tLQEQ0ND0NjYCOKeiBLHS0VFRaIvpHHO4dChQ1BeXl7I8IxjNE2DYDAIbrc77yM5r5pg2hYwcc7XppMFCVC0FpBJml0A/nGCuxawuwX+7z4gUy4QDocP3r59+4Nk3H237FSQ90sO4pxfrqure6e2tlbk75vSNiUXyFQTnJ+f3zM6Ovq4x+P5mjGWyMz+beOcP19fX3/TZrPdE/IWOncqG2xqarpusVj+zHOe9WuCu6dAkZ8CiqKIirFDlmUXAFzb9GxwOyygvb39gXg87pAkyUFENYjoEBcRifQ30aeeEXFVOFm0ADQ3N+8xm801uq47GGM9AHCWiBYRsSYlkBAueRX8e/6/BIApilLFGHMkhXIYhpHSzD1aA4DCEoc8vVmKbMsAIKJLiLg3TUvivmSD/G2YnIhE6ixqBaKml7gQMUxEYcMwphhjog+XlJSIPso5F7Si4rShlvXHSB71gA0tlCQW8YSo2yUEEsIg4pToUwJJkpQQrKKiYrqnp0f8/dnSthkAaEQ0ldKO6DNpS9O0cDAYvFOIlrYSgawA+Hw+NxFdTBdMCJqurXg8Hg6FQqIuvymB0lYKmm3u++Lf4FYC8xebG3tWpT+gRQAAAABJRU5ErkJggg==",firstDefault="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAAAXNSR0IArs4c6QAABQRJREFUaEPtWG9oXEUQn3l3uVYJjTHVVksh0Ggrbbzc7p5pRGvbWAkhBb/4oaDFYkVBC35QkEIFBRE/CP7pF6ugKIofihStRGvFpCWk8d7sSy+NEqWCWkVqqbQSGu8uO7LlvXJ5TfLu0uRMyO23tzs785vfzszOPoRFPnCR+w9VAqoRsMgZqKbAIg+AahEsOwWEEPci4kobOcx8qaam5tjAwMDFEiPJSaVSXY7jbGLmFYg4BgAeAHxERBdK0SGl3AIAXQCwkpnPI+IxADhERPlS9odlyiIgnU6vNsb8AjAhck4QUVuU8WQyuSoej38OAKmwLDOfjcViXZlMJjOVnqampiV1dXWfAMCDk8icchynM5PJ/BaF45oIUEqlmFmHlJwjopuiDCul+pj57mnkziQSidv7+/svTSajlNrPzE8VrdkTrwm+bSS4rntfFI5rIqC5ubk+kUgcB4AbAeAWX1kkAUqpzcz8bZHx95n5S0TsBICdRU7sdF33wzDI1tbWZYVC4S8ASACATZtOIuoVQjyGiAeK5JuI6HQ5JJSVAoHidDrdYoyxuWtHJAFSyhcB4AW/bpzUWrcEuqSUNqKCtHiDiJ4JO6CUuouZB/x5Wy8eLtp/AgBa7TciPuC67tfzkYB3AGC3D+xdIno8ACmE+AARH/HJOaC1fiLsgF8/frYRgIhPuq77dhEB3wDAVv97IxEFRJXEQ0UiQCn1MjPv9RE9S0SvFRHQh4hBbXieiF6dogZsMMbUa61tCl4eQog7EdEWTpsavwKATYGyboOKENDY2Li0oaGhHRG5trb2SE9PT8E6IKVcx8zDiOgwszHGrBscHPwp6uiEEPbEtyKiLYo3AIDV9xARHYraG16vCAFTgZJSHgGAbf76YSLaHuWAEKIDEbuL5E4j4h7XdYvnotRcWf/fCBBCPIqI7/m5/68thFrrH6KQK6V2MPPHgRwz/w4AXxQKhX3ZbPZs1P55EQFSynuY+SgiLvEB7SWiV0oBL6W0d/9LzGybL1sD6v1952xaENFQKXoCmYpHQCqVSjqOcxQAlvun/5nW2nZ3XA5wv4ZcDwCvA0BwqwwQ0cZy9FSUACGERMSvAKDBdz4zOjraPjIy8s90oKWUyxFx1/j4+Hee5/WGZGNSyj8A4GY7n8/nV2ez2TOlklAxAvxHjK3Sy3xw2bGxsS3Dw8Pno8BKKW3O77DVPp/PrwrnuhDiR0S8zeoxxrR4nncySmdFUyCdTrcbYw4DwFLfcF8ul9s+NDT0dylApZT2EWVfgLbbm9AIKaXW2qsUAGI2jYwxKzzPs21zSaMiERBqd22jYjvDqx49xphuz/NsZzdhSCn3AMCb/uQFZn7OGNPjOM4aRLQ1YK2/Nj9rgJTSOh2POhJE7Hdd96oXY1tb23W5XM52fOun0VFwHOf+TCYTrhHTmp1RBCilNjBzcN38SUTBy3BSY1LK7wHgjigCmLlXa715MrlUKnVrLBY76F9/E0SY2abSbq31p1E2wuszIsDmm1JqHwCsYeZuIrrSmEwGIJlMro/H45uiwCHicdd1T00jh0qpDmPMNkS0Vf+iMcZNJBIHy/grNUH9TAmI8mXBrFcJWDBHNUdAIyNACPEWIj49R/bnVC0z79da2yt0ylElIOoIhBC7ELEjSm4+rtsfr1rry0/uqUZkBMxHx2YTU5WA2WRzIeqqRsBCPLXZxFyNgNlkcyHq+g+SlEdHlU7yUwAAAABJRU5ErkJggg==",fixedDefault="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAAAXNSR0IArs4c6QAABZFJREFUaEPtWFtsFFUY/v7ZLl2B1WAjCBGsaBR7sz1ndvEWWV+8iyYGQvQFRAmJEi8PyAMxUTBR0ZgAMSGiwINGA4kxKpcYtHhJbXf+GbuxVaIGFVQoESVFsHZ3fnPMNKnLdndaZLumnafJnH/O/33f+c5/LoQx/tAY549xAcYdMMYVGJ8ClWwArfVyIvrdcZw3W1pabrUs6ypmfjYfs9b6PBG5pq+vr6Orq+vYcDhVtAO01u8CaGfmtVrrFwBMZ+b7BhNMpVJVvb29XwK4AsAPAOqY+WRYESpdgM+JaIvjOJu01ltF5DfXdR8bTE5rPR3AzwPfiGiO4zj7/9cCJBKJeSIyS0TWicgOy7LaReRRIjoA4B0R2cfMPw6Q1FqvB7BYRLa7rrs0LHkTV5EOsG37Od/3FRGlAHSakSeiRDDSBwGsZ+b3h0N0qNgzEqC+vv78iRMnNqbT6X1FwERSqVR0qPbW1ta/APgF2iNa6z5D3HEcT2vdTURPm4KYNwWi8Xg80tPT43d3d5u+hvWMWACl1NXGjkQ0VUSecF33+fzMLS0tF1uW9TWAWBFUx6uqqhra29sPDY5pamqaGo1Gj2Sz2Ys6Ozt/UkodE5EFnuftHWT9GwF8ACASfDNzfy4zHw+rwogESCQSCd/3DZC4SSQiK13XXZef1Mxl3/dbS4DJ9ff3z8hkMj1BnKW1XkREl4jIWiJaDiArIq8AWENE30Wj0e1tbW2nlFIPEdHGwf37vp/wPM85awIY28disS8AzAySrGHmJwslbGxsnFJdXW0K1L+mgIgYR9wV/LOTmW8f+L+urm5yLBbbSkSm/xYi2isi1QDMaH8IoNeyrBXpdPqgbdspEdkGoAbAJNOHZVnJdDqdPmsCKKV2ENE9pcgXA2Db9lIR2Ry4507Xdd8rMH3mW5Zlil1tMpm8PJfLGXtPKrTG27a9SUSWnXUBmpubr41EIp8FYJmZk0MUsKIDoLU2G5d6AAeY+bJCfWitHwCwnJlt27avE5E9zDy5UMdlE0BrbUZqwK4egG8BZLLZ7BZTqMLYTil1MxHtLlY7TJvWehWA65n5Dtu254vIS8x86agJkEgkLvR93+y4TiucInKCiBaFWZu11nsA3ATg5IQJE2a2tbUV3LsnEonZuVxuiuu6nEwma3K5XBMzfzSaAizxff+1QQBOBe/nBKN5QkQaPM8z+/GCj23bDSKSCUTczMwPhnFNqZiyTAGt9esA7g3AbIjH44+b997eXnNIecS8E9E6x3FWDgVYKfUqEd1v2n3fb/Y8r7MUuTDt5RKAAShj3f7+/qmZTOYPA662tjZWU1NzBMC5AExhtAuBbmhomFZdXf292RQR0ceO48wLQy5MTLkEMAeRWgD7mXnOYGBaa1MQmwEcZmZzOjvt0Vo/BWBgv7CQmbeHIRcmplwCdAO4EsAvzDwjT4ABccyyNjsfdOASc3q7AMCheDx+SWtrazYMuTAx5RLgLQALg4J3g+u6n5j3YI3+NAC6g5kX5INWSi0jok1BnVjtOM4zYYiFjSmXAHcDeDsAdZiIVvq+HyEic0U1LSB3m+M4u/KAk9a6K3DPn77vz/I872hYcmHiyiKAAaKU2kVEtwwB6o386yoTF9zl7Qz+2cbMi8OQGk5M2QRoamqaFI1GXwZg7uUGjqDmDG5OZKuYuT8fuNZ6DYDVZvUgormO45ht8H/6aK1fBPDPsiwida7rfhU2wYiOw+YezqzjlmXlIpEId3R0/DpUwuB011BVVfVNsbiwgAvFBQOTIqKjjuN0DKevEQkwnASVHltSAKXUBiJ6uNKJFMInIhtd111RDPu4AKVGVim1pEjlL/X7qLaLyG7XdbeckQNGlUEZkpecAmXAMKopxgUYVfkrIPm4AypgEEYVwph3wN+UApNHk0JIEwAAAABJRU5ErkJggg==";const downloadContainer="_downloadContainer_rudbh_1",musicContainer="_musicContainer_rudbh_4",musicImg="_musicImg_rudbh_15",num="_num_rudbh_18",page="_page_rudbh_26",downloadBtn="_downloadBtn_rudbh_32";var styles={downloadContainer,musicContainer,musicImg,num,page,downloadBtn},imgList="./assets/logoWatermark.223403de.png";const imgToCanvas=async e=>{console.log("imgToCanvas",e);const t=document.createElement("img");t.setAttribute("crossOrigin","anonymous"),e&&typeof e=="string"&&e.includes("data:image")?t.src=e:t.src=e+`?${new Date().getTime()}`,await new Promise(s=>t.onload=s);const r=document.createElement("canvas");r.width=t.width,r.height=t.height;const i=r.getContext("2d");return i.fillStyle="rgb(255, 255, 255)",i.fillStyle="#fff",i.fillRect(0,0,t.width,t.height),i.drawImage(t,0,0),r},addWatermark=async(e,t)=>{console.log("addWatermark");try{const r=e.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,e.width,e.height),e}catch(r){console.log(r)}},addMusicTitle=(e,t)=>{e.getContext("2d");const r=document.createElement("canvas");r.width=e.width,r.height=e.height+30;const i=r.getContext("2d");return i.fillStyle="#fff",i.fillRect(0,0,e.width,e.height+70),i.font="40pt Calibri",i.fillStyle="#000",i.textAlign="center",i.drawImage(e,0,70),i.fillText(t.title,e.width/2,120),r},convasToImg=e=>e.toDataURL("image/png");var Download=defineComponent({name:"download",props:{imgList:{type:Array,default:()=>[]},musicSheetName:{type:String,default:""}},setup(e){const t=ref(e.imgList),r=ref();watch(()=>e.imgList,u=>{t.value=u,i.value=0,r.value&&r.value.swipeTo(0)});const i=ref(0),s=ref(!1),a=ref(""),n=async()=>{if(!s.value)if(s.value=!0,a.value)c();else{const u=await imgToCanvas(t.value[i.value]),d=addMusicTitle(u,{title:e.musicSheetName,size:18}),A=await addWatermark(d);a.value=convasToImg(A),await c()}},c=async()=>{var d;Toast.loading({message:"\u56FE\u7247\u751F\u6210\u4E2D...",forbidClick:!0}),setTimeout(()=>{s.value=!1},100);const u=await promisefiyPostMessage({api:"savePicture",content:{base64:a.value}});((d=u==null?void 0:u.content)==null?void 0:d.status)==="success"?Toast.success("\u4FDD\u5B58\u6210\u529F"):Toast.fail("\u4FDD\u5B58\u5931\u8D25")};return()=>createVNode("div",{class:styles.downloadContainer},[createVNode("div",{class:styles.musicContainer},[createVNode("h2",null,[e.musicSheetName]),createVNode("div",{class:styles.musicImg},[createVNode(Swipe,{ref:r,showIndicators:!1,loop:!1,onChange:u=>{i.value=u,a.value=""}},{default:()=>[t.value.length>0&&t.value.map(u=>createVNode(SwipeItem,null,{default:()=>[createVNode(Image$1,{src:u},null)]}))]})])]),createVNode("div",{class:styles.buttonGroup},[createVNode("div",{class:styles.num},[createVNode("span",{class:styles.page},[i.value+1,createTextVNode("/"),t.value.length]),createVNode("span",{class:styles.countPage},[createTextVNode("\uFF08\u5171"),t.value.length,createTextVNode("\u9875\uFF09")])]),createVNode(Button,{type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",class:styles.downloadBtn,block:!0,round:!0,onClick:()=>n(),loading:s.value,loadingText:"\u52A0\u8F7D\u4E2D..."},{default:()=>[createTextVNode("\u4E0B\u8F7D\u5F53\u524D\u9875\u9762")]})])])}});export{AstronautJSON as A,Download as D,Vue3Lottie as V,iconDownload as a,iconListen as b,iconCollectActive as c,iconCollect as d,emtpy as e,firstDefault as f,fixedDefault as g,iconChangeStaff as i,staffDetafult as s};