vendor: 128,632 bytes, lines 1-9
1var te=Object.defineProperty;var ee=(V,B,G)=>B in V?te(V,B,{enumerable:!0,configurable:!0,writable:!0,value:G}):V[B]=G;var Ct=(V,B,G)=>ee(V,typeof B!="symbol"?B+"":B,G);import{c as commonjsGlobal}from"./_commonjsHelpers-Cpj98o6Y.js";var lottie={exports:{}};(function(module,exports){typeof document<"u"&&typeof navigator<"u"&&function(V,B){module.exports=B()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(B){_useWebWorker=!!B},getWebWorker=function(){return _useWebWorker},setLocationHref=function(B){locationHref=B},getLocationHref=function(){return locationHref};function createTag(V){return document.createElement(V)}function extendPrototype(V,B){var G,z=V.length,N;for(G=0;G<z;G+=1){N=V[G].prototype;for(var H in N)Object.prototype.hasOwnProperty.call(N,H)&&(B.prototype[H]=N[H])}}function getDescriptor(V,B){return Object.getOwnPropertyDescriptor(V,B)}function createProxyFunction(V){function B(){}return B.prototype=V,B}var audioControllerFactory=function(){function V(B){this.audios=[],this.audioFactory=B,this._volume=1,this._isMuted=!1}return V.prototype={addAudio:function(G){this.audios.push(G)},pause:function(){var G,z=this.audios.length;for(G=0;G<z;G+=1)this.audios[G].pause()},resume:function(){var G,z=this.audios.length;for(G=0;G<z;G+=1)this.audios[G].resume()},setRate:function(G){var z,N=this.audios.length;for(z=0;z<N;z+=1)this.audios[z].setRate(G)},createAudio:function(G){return this.audioFactory?this.audioFactory(G):window.Howl?new window.Howl({src:[G]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(G){this.audioFactory=G},setVolume:function(G){this._volume=G,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var G,z=this.audios.length;for(G=0;G<z;G+=1)this.audios[G].volume(this._volume*(this._isMuted?0:1))}},function(){return new V}}(),createTypedArray=function(){function V(G,z){var N=0,H=[],j;switch(G){case"int16":case"uint8c":j=1;break;default:j=1.1;break}for(N=0;N<z;N+=1)H.push(j);return H}function B(G,z){return G==="float32"?new Float32Array(z):G==="int16"?new Int16Array(z):G==="uint8c"?new Uint8ClampedArray(z):V(G,z)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?B:V}();function createSizedArray(V){return Array.apply(null,{length:V})}function _typeof$6(V){"@babel/helpers - typeof";return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},_typeof$6(V)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=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 V=["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"],B,G=V.length;for(B=0;B<G;B+=1)BMMath[V[B]]=Math[V[B]]})(),BMMath.random=Math.random,BMMath.abs=function(V){var B=_typeof$6(V);if(B==="object"&&V.length){var G=createSizedArray(V.length),z,N=V.length;for(z=0;z<N;z+=1)G[z]=Math.abs(V[z]);return G}return Math.abs(V)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(V){V.style.position="absolute",V.style.top=0,V.style.left=0,V.style.display="block",V.style.transformOrigin="0 0",V.style.webkitTransformOrigin="0 0",V.style.backfaceVisibility="visible",V.style.webkitBackfaceVisibility="visible",V.style.transformStyle="preserve-3d",V.style.webkitTransformStyle="preserve-3d",V.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(V,B,G,z){this.type=V,this.currentTime=B,this.totalTime=G,this.direction=z<0?-1:1}function BMCompleteEvent(V,B){this.type=V,this.direction=B<0?-1:1}function BMCompleteLoopEvent(V,B,G,z){this.type=V,this.currentLoop=G,this.totalLoops=B,this.direction=z<0?-1:1}function BMSegmentStartEvent(V,B,G){this.type=V,this.firstFrame=B,this.totalFrames=G}function BMDestroyEvent(V,B){this.type=V,this.target=B}function BMRenderFrameErrorEvent(V,B){this.type="renderFrameError",this.nativeError=V,this.currentTime=B}function BMConfigErrorEvent(V){this.type="configError",this.nativeError=V}var createElementID=function(){var V=0;return function(){return V+=1,idPrefix$1+"__lottie_element_"+V}}();function HSVtoRGB(V,B,G){var z,N,H,j,Y,W,X,et;switch(j=Math.floor(V*6),Y=V*6-j,W=G*(1-B),X=G*(1-Y*B),et=G*(1-(1-Y)*B),j%6){case 0:z=G,N=et,H=W;break;case 1:z=X,N=G,H=W;break;case 2:z=W,N=G,H=et;break;case 3:z=W,N=X,H=G;break;case 4:z=et,N=W,H=G;break;case 5:z=G,N=W,H=X;break}return[z,N,H]}function RGBtoHSV(V,B,G){var z=Math.max(V,B,G),N=Math.min(V,B,G),H=z-N,j,Y=z===0?0:H/z,W=z/255;switch(z){case N:j=0;break;case V:j=B-G+H*(B<G?6:0),j/=6*H;break;case B:j=G-V+H*2,j/=6*H;break;case G:j=V-B+H*4,j/=6*H;break}return[j,Y,W]}function addSaturationToRGB(V,B){var G=RGBtoHSV(V[0]*255,V[1]*255,V[2]*255);return G[1]+=B,G[1]>1?G[1]=1:G[1]<=0&&(G[1]=0),HSVtoRGB(G[0],G[1],G[2])}function addBrightnessToRGB(V,B){var G=RGBtoHSV(V[0]*255,V[1]*255,V[2]*255);return G[2]+=B,G[2]>1?G[2]=1:G[2]<0&&(G[2]=0),HSVtoRGB(G[0],G[1],G[2])}function addHueToRGB(V,B){var G=RGBtoHSV(V[0]*255,V[1]*255,V[2]*255);return G[0]+=B/360,G[0]>1?G[0]-=1:G[0]<0&&(G[0]+=1),HSVtoRGB(G[0],G[1],G[2])}var rgbToHex=function(){var V=[],B,G;for(B=0;B<256;B+=1)G=B.toString(16),V[B]=G.length===1?"0"+G:G;return function(z,N,H){return z<0&&(z=0),N<0&&(N=0),H<0&&(H=0),"#"+V[z]+V[N]+V[H]}}(),setSubframeEnabled=function(B){subframeEnabled=!!B},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(B){expressionsPlugin=B},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(B){expressionsInterfaces=B},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(B){defaultCurveSegments=B},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(B){idPrefix$1=B};function createNS(V){return document.createElementNS(svgNS,V)}function _typeof$5(V){"@babel/helpers - typeof";return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},_typeof$5(V)}var dataManager=function(){var V=1,B=[],G,z,N={onmessage:function(){},postMessage:function(st){G({data:st})}},H={postMessage:function(st){N.onmessage({data:st})}};function j(J){if(window.Worker&&window.Blob&&getWebWorker()){var st=new Blob(["var _workerSelf = self; self.onmessage = ",J.toString()],{type:"text/javascript"}),it=URL.createObjectURL(st);return new Worker(it)}return G=J,N}function Y(){z||(z=j(function(st){function it(){function lt(yt,ht){var pt,rt,nt=yt.length,mt,dt,Pt,At;for(rt=0;rt<nt;rt+=1)if(pt=yt[rt],"ks"in pt&&!pt.completed){if(pt.completed=!0,pt.hasMask){var Tt=pt.masksProperties;for(dt=Tt.length,mt=0;mt<dt;mt+=1)if(Tt[mt].pt.k.i)ot(Tt[mt].pt.k);else for(At=Tt[mt].pt.k.length,Pt=0;Pt<At;Pt+=1)Tt[mt].pt.k[Pt].s&&ot(Tt[mt].pt.k[Pt].s[0]),Tt[mt].pt.k[Pt].e&&ot(Tt[mt].pt.k[Pt].e[0])}pt.ty===0?(pt.layers=Z(pt.refId,ht),lt(pt.layers,ht)):pt.ty===4?tt(pt.shapes):pt.ty===5&&Et(pt)}}function K(yt,ht){if(yt){var pt=0,rt=yt.length;for(pt=0;pt<rt;pt+=1)yt[pt].t===1&&(yt[pt].data.layers=Z(yt[pt].data.refId,ht),lt(yt[pt].data.layers,ht))}}function U(yt,ht){for(var pt=0,rt=ht.length;pt<rt;){if(ht[pt].id===yt)return ht[pt];pt+=1}return null}function Z(yt,ht){var pt=U(yt,ht);return pt?pt.layers.__used?JSON.parse(JSON.stringify(pt.layers)):(pt.layers.__used=!0,pt.layers):null}function tt(yt){var ht,pt=yt.length,rt,nt;for(ht=pt-1;ht>=0;ht-=1)if(yt[ht].ty==="sh")if(yt[ht].ks.k.i)ot(yt[ht].ks.k);else for(nt=yt[ht].ks.k.length,rt=0;rt<nt;rt+=1)yt[ht].ks.k[rt].s&&ot(yt[ht].ks.k[rt].s[0]),yt[ht].ks.k[rt].e&&ot(yt[ht].ks.k[rt].e[0]);else yt[ht].ty==="gr"&&tt(yt[ht].it)}function ot(yt){var ht,pt=yt.i.length;for(ht=0;ht<pt;ht+=1)yt.i[ht][0]+=yt.v[ht][0],yt.i[ht][1]+=yt.v[ht][1],yt.o[ht][0]+=yt.v[ht][0],yt.o[ht][1]+=yt.v[ht][1]}function ft(yt,ht){var pt=ht?ht.split("."):[100,100,100];return yt[0]>pt[0]?!0:pt[0]>yt[0]?!1:yt[1]>pt[1]?!0:pt[1]>yt[1]?!1:yt[2]>pt[2]?!0:pt[2]>yt[2]?!1:null}var ct=function(){var yt=[4,4,14];function ht(rt){var nt=rt.t.d;rt.t.d={k:[{s:nt,t:0}]}}function pt(rt){var nt,mt=rt.length;for(nt=0;nt<mt;nt+=1)rt[nt].ty===5&&ht(rt[nt])}return function(rt){if(ft(yt,rt.v)&&(pt(rt.layers),rt.assets)){var nt,mt=rt.assets.length;for(nt=0;nt<mt;nt+=1)rt.assets[nt].layers&&pt(rt.assets[nt].layers)}}}(),ut=function(){var yt=[4,7,99];return function(ht){if(ht.chars&&!ft(yt,ht.v)){var pt,rt=ht.chars.length;for(pt=0;pt<rt;pt+=1){var nt=ht.chars[pt];nt.data&&nt.data.shapes&&(tt(nt.data.shapes),nt.data.ip=0,nt.data.op=99999,nt.data.st=0,nt.data.sr=1,nt.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}},ht.chars[pt].t||(nt.data.shapes.push({ty:"no"}),nt.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"})))}}}}(),vt=function(){var yt=[5,7,15];function ht(rt){var nt=rt.t.p;typeof nt.a=="number"&&(nt.a={a:0,k:nt.a}),typeof nt.p=="number"&&(nt.p={a:0,k:nt.p}),typeof nt.r=="number"&&(nt.r={a:0,k:nt.r})}function pt(rt){var nt,mt=rt.length;for(nt=0;nt<mt;nt+=1)rt[nt].ty===5&&ht(rt[nt])}return function(rt){if(ft(yt,rt.v)&&(pt(rt.layers),rt.assets)){var nt,mt=rt.assets.length;for(nt=0;nt<mt;nt+=1)rt.assets[nt].layers&&pt(rt.assets[nt].layers)}}}(),_t=function(){var yt=[4,1,9];function ht(rt){var nt,mt=rt.length,dt,Pt;for(nt=0;nt<mt;nt+=1)if(rt[nt].ty==="gr")ht(rt[nt].it);else if(rt[nt].ty==="fl"||rt[nt].ty==="st")if(rt[nt].c.k&&rt[nt].c.k[0].i)for(Pt=rt[nt].c.k.length,dt=0;dt<Pt;dt+=1)rt[nt].c.k[dt].s&&(rt[nt].c.k[dt].s[0]/=255,rt[nt].c.k[dt].s[1]/=255,rt[nt].c.k[dt].s[2]/=255,rt[nt].c.k[dt].s[3]/=255),rt[nt].c.k[dt].e&&(rt[nt].c.k[dt].e[0]/=255,rt[nt].c.k[dt].e[1]/=255,rt[nt].c.k[dt].e[2]/=255,rt[nt].c.k[dt].e[3]/=255);else rt[nt].c.k[0]/=255,rt[nt].c.k[1]/=255,rt[nt].c.k[2]/=255,rt[nt].c.k[3]/=255}function pt(rt){var nt,mt=rt.length;for(nt=0;nt<mt;nt+=1)rt[nt].ty===4&&ht(rt[nt].shapes)}return function(rt){if(ft(yt,rt.v)&&(pt(rt.layers),rt.assets)){var nt,mt=rt.assets.length;for(nt=0;nt<mt;nt+=1)rt.assets[nt].layers&&pt(rt.assets[nt].layers)}}}(),bt=function(){var yt=[4,4,18];function ht(rt){var nt,mt=rt.length,dt,Pt;for(nt=mt-1;nt>=0;nt-=1)if(rt[nt].ty==="sh")if(rt[nt].ks.k.i)rt[nt].ks.k.c=rt[nt].closed;else for(Pt=rt[nt].ks.k.length,dt=0;dt<Pt;dt+=1)rt[nt].ks.k[dt].s&&(rt[nt].ks.k[dt].s[0].c=rt[nt].closed),rt[nt].ks.k[dt].e&&(rt[nt].ks.k[dt].e[0].c=rt[nt].closed);else rt[nt].ty==="gr"&&ht(rt[nt].it)}function pt(rt){var nt,mt,dt=rt.length,Pt,At,Tt,kt;for(mt=0;mt<dt;mt+=1){if(nt=rt[mt],nt.hasMask){var Mt=nt.masksProperties;for(At=Mt.length,Pt=0;Pt<At;Pt+=1)if(Mt[Pt].pt.k.i)Mt[Pt].pt.k.c=Mt[Pt].cl;else for(kt=Mt[Pt].pt.k.length,Tt=0;Tt<kt;Tt+=1)Mt[Pt].pt.k[Tt].s&&(Mt[Pt].pt.k[Tt].s[0].c=Mt[Pt].cl),Mt[Pt].pt.k[Tt].e&&(Mt[Pt].pt.k[Tt].e[0].c=Mt[Pt].cl)}nt.ty===4&&ht(nt.shapes)}}return function(rt){if(ft(yt,rt.v)&&(pt(rt.layers),rt.assets)){var nt,mt=rt.assets.length;for(nt=0;nt<mt;nt+=1)rt.assets[nt].layers&&pt(rt.assets[nt].layers)}}}();function gt(yt){yt.__complete||(_t(yt),ct(yt),ut(yt),vt(yt),bt(yt),lt(yt.layers,yt.assets),K(yt.chars,yt.assets),yt.__complete=!0)}function Et(yt){yt.t.a.length===0&&"m"in yt.t.p}var St={};return St.completeData=gt,St.checkColors=_t,St.checkChars=ut,St.checkPathProperties=vt,St.checkShapes=bt,St.completeLayers=lt,St}if(H.dataManager||(H.dataManager=it()),H.assetLoader||(H.assetLoader=function(){function lt(U){var Z=U.getResponseHeader("content-type");return Z&&U.responseType==="json"&&Z.indexOf("json")!==-1||U.response&&_typeof$5(U.response)==="object"?U.response:U.response&&typeof U.response=="string"?JSON.parse(U.response):U.responseText?JSON.parse(U.responseText):null}function K(U,Z,tt,ot){var ft,ct=new XMLHttpRequest;try{ct.responseType="json"}catch{}ct.onreadystatechange=function(){if(ct.readyState===4)if(ct.status===200)ft=lt(ct),tt(ft);else try{ft=lt(ct),tt(ft)}catch(ut){ot&&ot(ut)}};try{ct.open(["G","E","T"].join(""),U,!0)}catch{ct.open(["G","E","T"].join(""),Z+"/"+U,!0)}ct.send()}return{load:K}}()),st.data.type==="loadAnimation")H.assetLoader.load(st.data.path,st.data.fullPath,function(lt){H.dataManager.completeData(lt),H.postMessage({id:st.data.id,payload:lt,status:"success"})},function(){H.postMessage({id:st.data.id,status:"error"})});else if(st.data.type==="complete"){var Q=st.data.animation;H.dataManager.completeData(Q),H.postMessage({id:st.data.id,payload:Q,status:"success"})}else st.data.type==="loadData"&&H.assetLoader.load(st.data.path,st.data.fullPath,function(lt){H.postMessage({id:st.data.id,payload:lt,status:"success"})},function(){H.postMessage({id:st.data.id,status:"error"})})}),z.onmessage=function(J){var st=J.data,it=st.id,Q=B[it];B[it]=null,st.status==="success"?Q.onComplete(st.payload):Q.onError&&Q.onError()})}function W(J,st){V+=1;var it="processId_"+V;return B[it]={onComplete:J,onError:st},it}function X(J,st,it){Y();var Q=W(st,it);z.postMessage({type:"loadAnimation",path:J,fullPath:window.location.origin+window.location.pathname,id:Q})}function et(J,st,it){Y();var Q=W(st,it);z.postMessage({type:"loadData",path:J,fullPath:window.location.origin+window.location.pathname,id:Q})}function at(J,st,it){Y();var Q=W(st,it);z.postMessage({type:"complete",animation:J,id:Q})}return{loadAnimation:X,loadData:et,completeAnimation:at}}(),ImagePreloader=function(){var V=function(){var K=createTag("canvas");K.width=1,K.height=1;var U=K.getContext("2d");return U.fillStyle="rgba(0,0,0,0)",U.fillRect(0,0,1,1),K}();function B(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function G(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function z(K,U,Z){var tt="";if(K.e)tt=K.p;else if(U){var ot=K.p;ot.indexOf("images/")!==-1&&(ot=ot.split("/")[1]),tt=U+ot}else tt=Z,tt+=K.u?K.u:"",tt+=K.p;return tt}function N(K){var U=0,Z=setInterval((function(){var tt=K.getBBox();(tt.width||U>500)&&(this._imageLoaded(),clearInterval(Z)),U+=1}).bind(this),50)}function H(K){var U=z(K,this.assetsPath,this.path),Z=createNS("image");isSafari?this.testImageLoaded(Z):Z.addEventListener("load",this._imageLoaded,!1),Z.addEventListener("error",(function(){tt.img=V,this._imageLoaded()}).bind(this),!1),Z.setAttributeNS("http://www.w3.org/1999/xlink","href",U),this._elementHelper.append?this._elementHelper.append(Z):this._elementHelper.appendChild(Z);var tt={img:Z,assetData:K};return tt}function j(K){var U=z(K,this.assetsPath,this.path),Z=createTag("img");Z.crossOrigin="anonymous",Z.addEventListener("load",this._imageLoaded,!1),Z.addEventListener("error",(function(){tt.img=V,this._imageLoaded()}).bind(this),!1),Z.src=U;var tt={img:Z,assetData:K};return tt}function Y(K){var U={assetData:K},Z=z(K,this.assetsPath,this.path);return dataManager.loadData(Z,(function(tt){U.img=tt,this._footageLoaded()}).bind(this),(function(){U.img={},this._footageLoaded()}).bind(this)),U}function W(K,U){this.imagesLoadedCb=U;var Z,tt=K.length;for(Z=0;Z<tt;Z+=1)K[Z].layers||(!K[Z].t||K[Z].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(K[Z]))):K[Z].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(K[Z]))))}function X(K){this.path=K||""}function et(K){this.assetsPath=K||""}function at(K){for(var U=0,Z=this.images.length;U<Z;){if(this.images[U].assetData===K)return this.images[U].img;U+=1}return null}function J(){this.imagesLoadedCb=null,this.images.length=0}function st(){return this.totalImages===this.loadedAssets}function it(){return this.totalFootages===this.loadedFootagesCount}function Q(K,U){K==="svg"?(this._elementHelper=U,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function lt(){this._imageLoaded=B.bind(this),this._footageLoaded=G.bind(this),this.testImageLoaded=N.bind(this),this.createFootageData=Y.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return lt.prototype={loadAssets:W,setAssetsPath:et,setPath:X,loadedImages:st,loadedFootages:it,destroy:J,getAsset:at,createImgData:j,createImageData:H,imageLoaded:B,footageLoaded:G,setCacheType:Q},lt}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(B,G){if(this._cbs[B])for(var z=this._cbs[B],N=0;N<z.length;N+=1)z[N](G)},addEventListener:function(B,G){return this._cbs[B]||(this._cbs[B]=[]),this._cbs[B].push(G),(function(){this.removeEventListener(B,G)}).bind(this)},removeEventListener:function(B,G){if(!G)this._cbs[B]=null;else if(this._cbs[B]){for(var z=0,N=this._cbs[B].length;z<N;)this._cbs[B][z]===G&&(this._cbs[B].splice(z,1),z-=1,N-=1),z+=1;this._cbs[B].length||(this._cbs[B]=null)}}};var markerParser=function(){function V(B){for(var G=B.split(`\r 2`),z={},N,H=0,j=0;j<G.length;j+=1)N=G[j].split(":"),N.length===2&&(z[N[0]]=N[1].trim(),H+=1);if(H===0)throw new Error;return z}return function(B){for(var G=[],z=0;z<B.length;z+=1){var N=B[z],H={time:N.tm,duration:N.dr};try{H.payload=JSON.parse(B[z].cm)}catch{try{H.payload=V(B[z].cm)}catch{H.payload={name:B[z].cm}}}G.push(H)}return G}}(),ProjectInterface=function(){function V(B){this.compositions.push(B)}return function(){function B(G){for(var z=0,N=this.compositions.length;z<N;){if(this.compositions[z].data&&this.compositions[z].data.nm===G)return this.compositions[z].prepareFrame&&this.compositions[z].data.xt&&this.compositions[z].prepareFrame(this.currentFrame),this.compositions[z].compInterface;z+=1}return null}return B.compositions=[],B.currentFrame=0,B.registerComposition=V,B}}(),renderers={},registerRenderer=function(B,G){renderers[B]=G};function getRenderer(V){return renderers[V]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var V in renderers)if(renderers[V])return V;return""}function _typeof$4(V){"@babel/helpers - typeof";return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},_typeof$4(V)}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),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(V){(V.wrapper||V.container)&&(this.wrapper=V.wrapper||V.container);var B="svg";V.animType?B=V.animType:V.renderer&&(B=V.renderer);var G=getRenderer(B);this.renderer=new G(this,V.rendererSettings),this.imagePreloader.setCacheType(B,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=B,V.loop===""||V.loop===null||V.loop===void 0||V.loop===!0?this.loop=!0:V.loop===!1?this.loop=!1:this.loop=parseInt(V.loop,10),this.autoplay="autoplay"in V?V.autoplay:!0,this.name=V.name?V.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(V,"autoloadSegments")?V.autoloadSegments:!0,this.assetsPath=V.assetsPath,this.initialSegment=V.initialSegment,V.audioFactory&&this.audioController.setAudioFactory(V.audioFactory),V.animationData?this.setupAnimation(V.animationData):V.path&&(V.path.lastIndexOf("\\")!==-1?this.path=V.path.substr(0,V.path.lastIndexOf("\\")+1):this.path=V.path.substr(0,V.path.lastIndexOf("/")+1),this.fileName=V.path.substr(V.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(V.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(V){dataManager.completeAnimation(V,this.configAnimation)},AnimationItem.prototype.setData=function(V,B){B&&_typeof$4(B)!=="object"&&(B=JSON.parse(B));var G={wrapper:V,animationData:B},z=V.attributes;G.path=z.getNamedItem("data-animation-path")?z.getNamedItem("data-animation-path").value:z.getNamedItem("data-bm-path")?z.getNamedItem("data-bm-path").value:z.getNamedItem("bm-path")?z.getNamedItem("bm-path").value:"",G.animType=z.getNamedItem("data-anim-type")?z.getNamedItem("data-anim-type").value:z.getNamedItem("data-bm-type")?z.getNamedItem("data-bm-type").value:z.getNamedItem("bm-type")?z.getNamedItem("bm-type").value:z.getNamedItem("data-bm-renderer")?z.getNamedItem("data-bm-renderer").value:z.getNamedItem("bm-renderer")?z.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var N=z.getNamedItem("data-anim-loop")?z.getNamedItem("data-anim-loop").value:z.getNamedItem("data-bm-loop")?z.getNamedItem("data-bm-loop").value:z.getNamedItem("bm-loop")?z.getNamedItem("bm-loop").value:"";N==="false"?G.loop=!1:N==="true"?G.loop=!0:N!==""&&(G.loop=parseInt(N,10));var H=z.getNamedItem("data-anim-autoplay")?z.getNamedItem("data-anim-autoplay").value:z.getNamedItem("data-bm-autoplay")?z.getNamedItem("data-bm-autoplay").value:z.getNamedItem("bm-autoplay")?z.getNamedItem("bm-autoplay").value:!0;G.autoplay=H!=="false",G.name=z.getNamedItem("data-name")?z.getNamedItem("data-name").value:z.getNamedItem("data-bm-name")?z.getNamedItem("data-bm-name").value:z.getNamedItem("bm-name")?z.getNamedItem("bm-name").value:"";var j=z.getNamedItem("data-anim-prerender")?z.getNamedItem("data-anim-prerender").value:z.getNamedItem("data-bm-prerender")?z.getNamedItem("data-bm-prerender").value:z.getNamedItem("bm-prerender")?z.getNamedItem("bm-prerender").value:"";j==="false"&&(G.prerender=!1),G.path?this.setParams(G):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(V){V.op>this.animationData.op&&(this.animationData.op=V.op,this.totalFrames=Math.floor(V.op-this.animationData.ip));var B=this.animationData.layers,G,z=B.length,N=V.layers,H,j=N.length;for(H=0;H<j;H+=1)for(G=0;G<z;){if(B[G].id===N[H].id){B[G]=N[H];break}G+=1}if((V.chars||V.fonts)&&(this.renderer.globalData.fontManager.addChars(V.chars),this.renderer.globalData.fontManager.addFonts(V.fonts,this.renderer.globalData.defs)),V.assets)for(z=V.assets.length,G=0;G<z;G+=1)this.animationData.assets.push(V.assets[G]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(V){this.animationData=V;var B=getExpressionsPlugin();B&&B.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var V=this.animationData.segments;if(!V||V.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var B=V.shift();this.timeCompleted=B.time*this.frameRate;var G=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(G,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var V=this.animationData.segments;V||(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(V){if(this.renderer)try{this.animationData=V,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(V),V.assets||(V.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(V.assets),this.markers=markerParser(V.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(B){this.triggerConfigError(B)}},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 V=getExpressionsPlugin();V&&V.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(V,B){var G=typeof V=="number"?V:void 0,z=typeof B=="number"?B:void 0;this.renderer.updateContainerSize(G,z)},AnimationItem.prototype.setSubframe=function(V){this.isSubframeEnabled=!!V},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.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(V){this.triggerRenderFrameError(V)}},AnimationItem.prototype.play=function(V){V&&this.name!==V||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(V){V&&this.name!==V||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(V){V&&this.name!==V||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(V){V&&this.name!==V||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(V){for(var B,G=0;G<this.markers.length;G+=1)if(B=this.markers[G],B.payload&&B.payload.name===V)return B;return null},AnimationItem.prototype.goToAndStop=function(V,B,G){if(!(G&&this.name!==G)){var z=Number(V);if(isNaN(z)){var N=this.getMarkerData(V);N&&this.goToAndStop(N.time,!0)}else B?this.setCurrentRawFrameValue(V):this.setCurrentRawFrameValue(V*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(V,B,G){if(!(G&&this.name!==G)){var z=Number(V);if(isNaN(z)){var N=this.getMarkerData(V);N&&(N.duration?this.playSegments([N.time,N.time+N.duration],!0):this.goToAndStop(N.time,!0))}else this.goToAndStop(z,B,G);this.play()}},AnimationItem.prototype.advanceTime=function(V){if(!(this.isPaused===!0||this.isLoaded===!1)){var B=this.currentRawFrame+V*this.frameModifier,G=!1;B>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(B>this.totalFrames?B%this.totalFrames:0)||(G=!0,B=this.totalFrames-1):B>=this.totalFrames?(this.playCount+=1,this.checkSegments(B%this.totalFrames)||(this.setCurrentRawFrameValue(B%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(B):B<0?this.checkSegments(B%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+B%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(G=!0,B=0)):this.setCurrentRawFrameValue(B),G&&(this.setCurrentRawFrameValue(B),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(V,B){this.playCount=0,V[1]<V[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=V[0]-V[1],this.timeCompleted=this.totalFrames,this.firstFrame=V[1],this.setCurrentRawFrameValue(this.totalFrames-.001-B)):V[1]>V[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=V[1]-V[0],this.timeCompleted=this.totalFrames,this.firstFrame=V[0],this.setCurrentRawFrameValue(.001+B)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(V,B){var G=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<V?G=V:this.currentRawFrame+this.firstFrame>B&&(G=B-V)),this.firstFrame=V,this.totalFrames=B-V,this.timeCompleted=this.totalFrames,G!==-1&&this.goToAndStop(G,!0)},AnimationItem.prototype.playSegments=function(V,B){if(B&&(this.segments.length=0),_typeof$4(V[0])==="object"){var G,z=V.length;for(G=0;G<z;G+=1)this.segments.push(V[G])}else this.segments.push(V);this.segments.length&&B&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(V){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),V&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(V){return this.segments.length?(this.adjustSegment(this.segments.shift(),V),!0):!1},AnimationItem.prototype.destroy=function(V){V&&this.name!==V||!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.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(V){this.currentRawFrame=V,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(V){this.playSpeed=V,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(V){this.playDirection=V<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(V){this.loop=V},AnimationItem.prototype.setVolume=function(V,B){B&&this.name!==B||this.audioController.setVolume(V)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(V){V&&this.name!==V||this.audioController.mute()},AnimationItem.prototype.unmute=function(V){V&&this.name!==V||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(V){var B="";if(V.e)B=V.p;else if(this.assetsPath){var G=V.p;G.indexOf("images/")!==-1&&(G=G.split("/")[1]),B=this.assetsPath+G}else B=this.path,B+=V.u?V.u:"",B+=V.p;return B},AnimationItem.prototype.getAssetData=function(V){for(var B=0,G=this.assets.length;B<G;){if(V===this.assets[B].id)return this.assets[B];B+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(V){return V?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(V,B,G){try{var z=this.renderer.getElementByPath(V);z.updateDocumentData(B,G)}catch{}},AnimationItem.prototype.trigger=function(V){if(this._cbs&&this._cbs[V])switch(V){case"enterFrame":this.triggerEvent(V,new BMEnterFrameEvent(V,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(V,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(V,new BMCompleteLoopEvent(V,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(V,new BMCompleteEvent(V,this.frameMult));break;case"segmentStart":this.triggerEvent(V,new BMSegmentStartEvent(V,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(V,new BMDestroyEvent(V,this));break;default:this.triggerEvent(V)}V==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(V,this.currentFrame,this.totalFrames,this.frameMult)),V==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(V,this.loop,this.playCount,this.frameMult)),V==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(V,this.frameMult)),V==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(V,this.firstFrame,this.totalFrames)),V==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(V,this))},AnimationItem.prototype.triggerRenderFrameError=function(V){var B=new BMRenderFrameErrorEvent(V,this.currentFrame);this.triggerEvent("error",B),this.onError&&this.onError.call(this,B)},AnimationItem.prototype.triggerConfigError=function(V){var B=new BMConfigErrorEvent(V,this.currentFrame);this.triggerEvent("error",B),this.onError&&this.onError.call(this,B)};var animationManager=function(){var V={},B=[],G=0,z=0,N=0,H=!0,j=!1;function Y(ht){for(var pt=0,rt=ht.target;pt<z;)B[pt].animation===rt&&(B.splice(pt,1),pt-=1,z-=1,rt.isPaused||at()),pt+=1}function W(ht,pt){if(!ht)return null;for(var rt=0;rt<z;){if(B[rt].elem===ht&&B[rt].elem!==null)return B[rt].animation;rt+=1}var nt=new AnimationItem;return J(nt,ht),nt.setData(ht,pt),nt}function X(){var ht,pt=B.length,rt=[];for(ht=0;ht<pt;ht+=1)rt.push(B[ht].animation);return rt}function et(){N+=1,_t()}function at(){N-=1}function J(ht,pt){ht.addEventListener("destroy",Y),ht.addEventListener("_active",et),ht.addEventListener("_idle",at),B.push({elem:pt,animation:ht}),z+=1}function st(ht){var pt=new AnimationItem;return J(pt,null),pt.setParams(ht),pt}function it(ht,pt){var rt;for(rt=0;rt<z;rt+=1)B[rt].animation.setSpeed(ht,pt)}function Q(ht,pt){var rt;for(rt=0;rt<z;rt+=1)B[rt].animation.setDirection(ht,pt)}function lt(ht){var pt;for(pt=0;pt<z;pt+=1)B[pt].animation.play(ht)}function K(ht){var pt=ht-G,rt;for(rt=0;rt<z;rt+=1)B[rt].animation.advanceTime(pt);G=ht,N&&!j?window.requestAnimationFrame(K):H=!0}function U(ht){G=ht,window.requestAnimationFrame(K)}function Z(ht){var pt;for(pt=0;pt<z;pt+=1)B[pt].animation.pause(ht)}function tt(ht,pt,rt){var nt;for(nt=0;nt<z;nt+=1)B[nt].animation.goToAndStop(ht,pt,rt)}function ot(ht){var pt;for(pt=0;pt<z;pt+=1)B[pt].animation.stop(ht)}function ft(ht){var pt;for(pt=0;pt<z;pt+=1)B[pt].animation.togglePause(ht)}function ct(ht){var pt;for(pt=z-1;pt>=0;pt-=1)B[pt].animation.destroy(ht)}function ut(ht,pt,rt){var nt=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),mt,dt=nt.length;for(mt=0;mt<dt;mt+=1)rt&&nt[mt].setAttribute("data-bm-type",rt),W(nt[mt],ht);if(pt&&dt===0){rt||(rt="svg");var Pt=document.getElementsByTagName("body")[0];Pt.innerText="";var At=createTag("div");At.style.width="100%",At.style.height="100%",At.setAttribute("data-bm-type",rt),Pt.appendChild(At),W(At,ht)}}function vt(){var ht;for(ht=0;ht<z;ht+=1)B[ht].animation.resize()}function _t(){!j&&N&&H&&(window.requestAnimationFrame(U),H=!1)}function bt(){j=!0}function gt(){j=!1,_t()}function Et(ht,pt){var rt;for(rt=0;rt<z;rt+=1)B[rt].animation.setVolume(ht,pt)}function St(ht){var pt;for(pt=0;pt<z;pt+=1)B[pt].animation.mute(ht)}function yt(ht){var pt;for(pt=0;pt<z;pt+=1)B[pt].animation.unmute(ht)}return V.registerAnimation=W,V.loadAnimation=st,V.setSpeed=it,V.setDirection=Q,V.play=lt,V.pause=Z,V.stop=ot,V.togglePause=ft,V.searchAnimations=ut,V.resize=vt,V.goToAndStop=tt,V.destroy=ct,V.freeze=bt,V.unfreeze=gt,V.setVolume=Et,V.mute=St,V.unmute=yt,V.getRegisteredAnimations=X,V}(),BezierFactory=function(){var V={};V.getBezierEasing=G;var B={};function G(U,Z,tt,ot,ft){var ct=ft||("bez_"+U+"_"+Z+"_"+tt+"_"+ot).replace(/\./g,"p");if(B[ct])return B[ct];var ut=new K([U,Z,tt,ot]);return B[ct]=ut,ut}var z=4,N=.001,H=1e-7,j=10,Y=11,W=1/(Y-1),X=typeof Float32Array=="function";function et(U,Z){return 1-3*Z+3*U}function at(U,Z){return 3*Z-6*U}function J(U){return 3*U}function st(U,Z,tt){return((et(Z,tt)*U+at(Z,tt))*U+J(Z))*U}function it(U,Z,tt){return 3*et(Z,tt)*U*U+2*at(Z,tt)*U+J(Z)}function Q(U,Z,tt,ot,ft){var ct,ut,vt=0;do ut=Z+(tt-Z)/2,ct=st(ut,ot,ft)-U,ct>0?tt=ut:Z=ut;while(Math.abs(ct)>H&&++vt<j);return ut}function lt(U,Z,tt,ot){for(var ft=0;ft<z;++ft){var ct=it(Z,tt,ot);if(ct===0)return Z;var ut=st(Z,tt,ot)-U;Z-=ut/ct}return Z}function K(U){this._p=U,this._mSampleValues=X?new Float32Array(Y):new Array(Y),this._precomputed=!1,this.get=this.get.bind(this)}return K.prototype={get:function(Z){var tt=this._p[0],ot=this._p[1],ft=this._p[2],ct=this._p[3];return this._precomputed||this._precompute(),tt===ot&&ft===ct?Z:Z===0?0:Z===1?1:st(this._getTForX(Z),ot,ct)},_precompute:function(){var Z=this._p[0],tt=this._p[1],ot=this._p[2],ft=this._p[3];this._precomputed=!0,(Z!==tt||ot!==ft)&&this._calcSampleValues()},_calcSampleValues:function(){for(var Z=this._p[0],tt=this._p[2],ot=0;ot<Y;++ot)this._mSampleValues[ot]=st(ot*W,Z,tt)},_getTForX:function(Z){for(var tt=this._p[0],ot=this._p[2],ft=this._mSampleValues,ct=0,ut=1,vt=Y-1;ut!==vt&&ft[ut]<=Z;++ut)ct+=W;--ut;var _t=(Z-ft[ut])/(ft[ut+1]-ft[ut]),bt=ct+_t*W,gt=it(bt,tt,ot);return gt>=N?lt(Z,bt,tt,ot):gt===0?bt:Q(Z,ct,ct+W,tt,ot)}},V}(),pooling=function(){function V(B){return B.concat(createSizedArray(B.length))}return{double:V}}(),poolFactory=function(){return function(V,B,G){var z=0,N=V,H=createSizedArray(N),j={newElement:Y,release:W};function Y(){var X;return z?(z-=1,X=H[z]):X=B(),X}function W(X){z===N&&(H=pooling.double(H),N*=2),G&&G(X),H[z]=X,z+=1}return j}}(),bezierLengthPool=function(){function V(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,V)}(),segmentsLengthPool=function(){function V(){return{lengths:[],totalLength:0}}function B(G){var z,N=G.lengths.length;for(z=0;z<N;z+=1)bezierLengthPool.release(G.lengths[z]);G.lengths.length=0}return poolFactory(8,V,B)}();function bezFunction(){var V=Math;function B(J,st,it,Q,lt,K){var U=J*Q+st*lt+it*K-lt*Q-K*J-it*st;return U>-.001&&U<.001}function G(J,st,it,Q,lt,K,U,Z,tt){if(it===0&&K===0&&tt===0)return B(J,st,Q,lt,U,Z);var ot=V.sqrt(V.pow(Q-J,2)+V.pow(lt-st,2)+V.pow(K-it,2)),ft=V.sqrt(V.pow(U-J,2)+V.pow(Z-st,2)+V.pow(tt-it,2)),ct=V.sqrt(V.pow(U-Q,2)+V.pow(Z-lt,2)+V.pow(tt-K,2)),ut;return ot>ft?ot>ct?ut=ot-ft-ct:ut=ct-ft-ot:ct>ft?ut=ct-ft-ot:ut=ft-ot-ct,ut>-1e-4&&ut<1e-4}var z=function(){return function(J,st,it,Q){var lt=getDefaultCurveSegments(),K,U,Z,tt,ot,ft=0,ct,ut=[],vt=[],_t=bezierLengthPool.newElement();for(Z=it.length,K=0;K<lt;K+=1){for(ot=K/(lt-1),ct=0,U=0;U<Z;U+=1)tt=bmPow(1-ot,3)*J[U]+3*bmPow(1-ot,2)*ot*it[U]+3*(1-ot)*bmPow(ot,2)*Q[U]+bmPow(ot,3)*st[U],ut[U]=tt,vt[U]!==null&&(ct+=bmPow(ut[U]-vt[U],2)),vt[U]=ut[U];ct&&(ct=bmSqrt(ct),ft+=ct),_t.percents[K]=ot,_t.lengths[K]=ft}return _t.addedLength=ft,_t}}();function N(J){var st=segmentsLengthPool.newElement(),it=J.c,Q=J.v,lt=J.o,K=J.i,U,Z=J._length,tt=st.lengths,ot=0;for(U=0;U<Z-1;U+=1)tt[U]=z(Q[U],Q[U+1],lt[U],K[U+1]),ot+=tt[U].addedLength;return it&&Z&&(tt[U]=z(Q[U],Q[0],lt[U],K[0]),ot+=tt[U].addedLength),st.totalLength=ot,st}function H(J){this.segmentLength=0,this.points=new Array(J)}function j(J,st){this.partialLength=J,this.point=st}var Y=function(){var J={};return function(st,it,Q,lt){var K=(st[0]+"_"+st[1]+"_"+it[0]+"_"+it[1]+"_"+Q[0]+"_"+Q[1]+"_"+lt[0]+"_"+lt[1]).replace(/\./g,"p");if(!J[K]){var U=getDefaultCurveSegments(),Z,tt,ot,ft,ct,ut=0,vt,_t,bt=null;st.length===2&&(st[0]!==it[0]||st[1]!==it[1])&&B(st[0],st[1],it[0],it[1],st[0]+Q[0],st[1]+Q[1])&&B(st[0],st[1],it[0],it[1],it[0]+lt[0],it[1]+lt[1])&&(U=2);var gt=new H(U);for(ot=Q.length,Z=0;Z<U;Z+=1){for(_t=createSizedArray(ot),ct=Z/(U-1),vt=0,tt=0;tt<ot;tt+=1)ft=bmPow(1-ct,3)*st[tt]+3*bmPow(1-ct,2)*ct*(st[tt]+Q[tt])+3*(1-ct)*bmPow(ct,2)*(it[tt]+lt[tt])+bmPow(ct,3)*it[tt],_t[tt]=ft,bt!==null&&(vt+=bmPow(_t[tt]-bt[tt],2));vt=bmSqrt(vt),ut+=vt,gt.points[Z]=new j(vt,_t),bt=_t}gt.segmentLength=ut,J[K]=gt}return J[K]}}();function W(J,st){var it=st.percents,Q=st.lengths,lt=it.length,K=bmFloor((lt-1)*J),U=J*st.addedLength,Z=0;if(K===lt-1||K===0||U===Q[K])return it[K];for(var tt=Q[K]>U?-1:1,ot=!0;ot;)if(Q[K]<=U&&Q[K+1]>U?(Z=(U-Q[K])/(Q[K+1]-Q[K]),ot=!1):K+=tt,K<0||K>=lt-1){if(K===lt-1)return it[K];ot=!1}return it[K]+(it[K+1]-it[K])*Z}function X(J,st,it,Q,lt,K){var U=W(lt,K),Z=1-U,tt=V.round((Z*Z*Z*J[0]+(U*Z*Z+Z*U*Z+Z*Z*U)*it[0]+(U*U*Z+Z*U*U+U*Z*U)*Q[0]+U*U*U*st[0])*1e3)/1e3,ot=V.round((Z*Z*Z*J[1]+(U*Z*Z+Z*U*Z+Z*Z*U)*it[1]+(U*U*Z+Z*U*U+U*Z*U)*Q[1]+U*U*U*st[1])*1e3)/1e3;return[tt,ot]}var et=createTypedArray("float32",8);function at(J,st,it,Q,lt,K,U){lt<0?lt=0:lt>1&&(lt=1);var Z=W(lt,U);K=K>1?1:K;var tt=W(K,U),ot,ft=J.length,ct=1-Z,ut=1-tt,vt=ct*ct*ct,_t=Z*ct*ct*3,bt=Z*Z*ct*3,gt=Z*Z*Z,Et=ct*ct*ut,St=Z*ct*ut+ct*Z*ut+ct*ct*tt,yt=Z*Z*ut+ct*Z*tt+Z*ct*tt,ht=Z*Z*tt,pt=ct*ut*ut,rt=Z*ut*ut+ct*tt*ut+ct*ut*tt,nt=Z*tt*ut+ct*tt*tt+Z*ut*tt,mt=Z*tt*tt,dt=ut*ut*ut,Pt=tt*ut*ut+ut*tt*ut+ut*ut*tt,At=tt*tt*ut+ut*tt*tt+tt*ut*tt,Tt=tt*tt*tt;for(ot=0;ot<ft;ot+=1)et[ot*4]=V.round((vt*J[ot]+_t*it[ot]+bt*Q[ot]+gt*st[ot])*1e3)/1e3,et[ot*4+1]=V.round((Et*J[ot]+St*it[ot]+yt*Q[ot]+ht*st[ot])*1e3)/1e3,et[ot*4+2]=V.round((pt*J[ot]+rt*it[ot]+nt*Q[ot]+mt*st[ot])*1e3)/1e3,et[ot*4+3]=V.round((dt*J[ot]+Pt*it[ot]+At*Q[ot]+Tt*st[ot])*1e3)/1e3;return et}return{getSegmentsLength:N,getNewSegment:at,getPointInSegment:X,buildBezierData:Y,pointOnLine2D:B,pointOnLine3D:G}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(V,B){var G=this.offsetTime,z;this.propType==="multidimensional"&&(z=createTypedArray("float32",this.pv.length));for(var N=B.lastIndex,H=N,j=this.keyframes.length-1,Y=!0,W,X,et;Y;){if(W=this.keyframes[H],X=this.keyframes[H+1],H===j-1&&V>=X.t-G){W.h&&(W=X),N=0;break}if(X.t-G>V){N=H;break}H<j-1?H+=1:(N=0,Y=!1)}et=this.keyframesMetadata[H]||{};var at,J,st,it,Q,lt,K=X.t-G,U=W.t-G,Z;if(W.to){et.bezierData||(et.bezierData=bez.buildBezierData(W.s,X.s||W.e,W.to,W.ti));var tt=et.bezierData;if(V>=K||V<U){var ot=V>=K?tt.points.length-1:0;for(J=tt.points[ot].point.length,at=0;at<J;at+=1)z[at]=tt.points[ot].point[at]}else{et.__fnct?lt=et.__fnct:(lt=BezierFactory.getBezierEasing(W.o.x,W.o.y,W.i.x,W.i.y,W.n).get,et.__fnct=lt),st=lt((V-U)/(K-U));var ft=tt.segmentLength*st,ct,ut=B.lastFrame<V&&B._lastKeyframeIndex===H?B._lastAddedLength:0;for(Q=B.lastFrame<V&&B._lastKeyframeIndex===H?B._lastPoint:0,Y=!0,it=tt.points.length;Y;){if(ut+=tt.points[Q].partialLength,ft===0||st===0||Q===tt.points.length-1){for(J=tt.points[Q].point.length,at=0;at<J;at+=1)z[at]=tt.points[Q].point[at];break}else if(ft>=ut&&ft<ut+tt.points[Q+1].partialLength){for(ct=(ft-ut)/tt.points[Q+1].partialLength,J=tt.points[Q].point.length,at=0;at<J;at+=1)z[at]=tt.points[Q].point[at]+(tt.points[Q+1].point[at]-tt.points[Q].point[at])*ct;break}Q<it-1?Q+=1:Y=!1}B._lastPoint=Q,B._lastAddedLength=ut-tt.points[Q].partialLength,B._lastKeyframeIndex=H}}else{var vt,_t,bt,gt,Et;if(j=W.s.length,Z=X.s||W.e,this.sh&&W.h!==1)if(V>=K)z[0]=Z[0],z[1]=Z[1],z[2]=Z[2];else if(V<=U)z[0]=W.s[0],z[1]=W.s[1],z[2]=W.s[2];else{var St=createQuaternion(W.s),yt=createQuaternion(Z),ht=(V-U)/(K-U);quaternionToEuler(z,slerp(St,yt,ht))}else for(H=0;H<j;H+=1)W.h!==1&&(V>=K?st=1:V<U?st=0:(W.o.x.constructor===Array?(et.__fnct||(et.__fnct=[]),et.__fnct[H]?lt=et.__fnct[H]:(vt=W.o.x[H]===void 0?W.o.x[0]:W.o.x[H],_t=W.o.y[H]===void 0?W.o.y[0]:W.o.y[H],bt=W.i.x[H]===void 0?W.i.x[0]:W.i.x[H],gt=W.i.y[H]===void 0?W.i.y[0]:W.i.y[H],lt=BezierFactory.getBezierEasing(vt,_t,bt,gt).get,et.__fnct[H]=lt)):et.__fnct?lt=et.__fnct:(vt=W.o.x,_t=W.o.y,bt=W.i.x,gt=W.i.y,lt=BezierFactory.getBezierEasing(vt,_t,bt,gt).get,W.keyframeMetadata=lt),st=lt((V-U)/(K-U)))),Z=X.s||W.e,Et=W.h===1?W.s[H]:W.s[H]+(Z[H]-W.s[H])*st,this.propType==="multidimensional"?z[H]=Et:z=Et}return B.lastIndex=N,z}function slerp(V,B,G){var z=[],N=V[0],H=V[1],j=V[2],Y=V[3],W=B[0],X=B[1],et=B[2],at=B[3],J,st,it,Q,lt;return st=N*W+H*X+j*et+Y*at,st<0&&(st=-st,W=-W,X=-X,et=-et,at=-at),1-st>1e-6?(J=Math.acos(st),it=Math.sin(J),Q=Math.sin((1-G)*J)/it,lt=Math.sin(G*J)/it):(Q=1-G,lt=G),z[0]=Q*N+lt*W,z[1]=Q*H+lt*X,z[2]=Q*j+lt*et,z[3]=Q*Y+lt*at,z}function quaternionToEuler(V,B){var G=B[0],z=B[1],N=B[2],H=B[3],j=Math.atan2(2*z*H-2*G*N,1-2*z*z-2*N*N),Y=Math.asin(2*G*z+2*N*H),W=Math.atan2(2*G*H-2*z*N,1-2*G*G-2*N*N);V[0]=j/degToRads,V[1]=Y/degToRads,V[2]=W/degToRads}function createQuaternion(V){var B=V[0]*degToRads,G=V[1]*degToRads,z=V[2]*degToRads,N=Math.cos(B/2),H=Math.cos(G/2),j=Math.cos(z/2),Y=Math.sin(B/2),W=Math.sin(G/2),X=Math.sin(z/2),et=N*H*j-Y*W*X,at=Y*W*j+N*H*X,J=Y*H*j+N*W*X,st=N*W*j-Y*H*X;return[at,J,st,et]}function getValueAtCurrentTime(){var V=this.comp.renderedFrame-this.offsetTime,B=this.keyframes[0].t-this.offsetTime,G=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(V===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=G&&V>=G||this._caching.lastFrame<B&&V<B))){this._caching.lastFrame>=V&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var z=this.interpolateValue(V,this._caching);this.pv=z}return this._caching.lastFrame=V,this.pv}function setVValue(V){var B;if(this.propType==="unidimensional")B=V*this.mult,mathAbs(this.v-B)>1e-5&&(this.v=B,this._mdf=!0);else for(var G=0,z=this.v.length;G<z;)B=V[G]*this.mult,mathAbs(this.v[G]-B)>1e-5&&(this.v[G]=B,this._mdf=!0),G+=1}function processEffectsSequence(){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 V,B=this.effectsSequence.length,G=this.kf?this.pv:this.data.k;for(V=0;V<B;V+=1)G=this.effectsSequence[V](G);this.setVValue(G),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(V){this.effectsSequence.push(V),this.container.addDynamicProperty(this)}function ValueProperty(V,B,G,z){this.propType="unidimensional",this.mult=G||1,this.data=B,this.v=G?B.k*G:B.k,this.pv=B.k,this._mdf=!1,this.elem=V,this.container=z,this.comp=V.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(V,B,G,z){this.propType="multidimensional",this.mult=G||1,this.data=B,this._mdf=!1,this.elem=V,this.container=z,this.comp=V.comp,this.k=!1,this.kf=!1,this.frameId=-1;var N,H=B.k.length;for(this.v=createTypedArray("float32",H),this.pv=createTypedArray("float32",H),this.vel=createTypedArray("float32",H),N=0;N<H;N+=1)this.v[N]=B.k[N]*this.mult,this.pv[N]=B.k[N];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(V,B,G,z){this.propType="unidimensional",this.keyframes=B.k,this.keyframesMetadata=[],this.offsetTime=V.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=B,this.mult=G||1,this.elem=V,this.container=z,this.comp=V.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(V,B,G,z){this.propType="multidimensional";var N,H=B.k.length,j,Y,W,X;for(N=0;N<H-1;N+=1)B.k[N].to&&B.k[N].s&&B.k[N+1]&&B.k[N+1].s&&(j=B.k[N].s,Y=B.k[N+1].s,W=B.k[N].to,X=B.k[N].ti,(j.length===2&&!(j[0]===Y[0]&&j[1]===Y[1])&&bez.pointOnLine2D(j[0],j[1],Y[0],Y[1],j[0]+W[0],j[1]+W[1])&&bez.pointOnLine2D(j[0],j[1],Y[0],Y[1],Y[0]+X[0],Y[1]+X[1])||j.length===3&&!(j[0]===Y[0]&&j[1]===Y[1]&&j[2]===Y[2])&&bez.pointOnLine3D(j[0],j[1],j[2],Y[0],Y[1],Y[2],j[0]+W[0],j[1]+W[1],j[2]+W[2])&&bez.pointOnLine3D(j[0],j[1],j[2],Y[0],Y[1],Y[2],Y[0]+X[0],Y[1]+X[1],Y[2]+X[2]))&&(B.k[N].to=null,B.k[N].ti=null),j[0]===Y[0]&&j[1]===Y[1]&&W[0]===0&&W[1]===0&&X[0]===0&&X[1]===0&&(j.length===2||j[2]===Y[2]&&W[2]===0&&X[2]===0)&&(B.k[N].to=null,B.k[N].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=B,this.keyframes=B.k,this.keyframesMetadata=[],this.offsetTime=V.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=G||1,this.elem=V,this.container=z,this.comp=V.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var et=B.k[0].s.length;for(this.v=createTypedArray("float32",et),this.pv=createTypedArray("float32",et),N=0;N<et;N+=1)this.v[N]=initFrame,this.pv[N]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",et)},this.addEffect=addEffect}var PropertyFactory=function(){function V(G,z,N,H,j){z.sid&&(z=G.globalData.slotManager.getProp(z));var Y;if(!z.k.length)Y=new ValueProperty(G,z,H,j);else if(typeof z.k[0]=="number")Y=new MultiDimensionalProperty(G,z,H,j);else switch(N){case 0:Y=new KeyframedValueProperty(G,z,H,j);break;case 1:Y=new KeyframedMultidimensionalProperty(G,z,H,j);break}return Y.effectsSequence.length&&j.addDynamicProperty(Y),Y}var B={getProp:V};return B}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(B){this.dynamicProperties.indexOf(B)===-1&&(this.dynamicProperties.push(B),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var B,G=this.dynamicProperties.length;for(B=0;B<G;B+=1)this.dynamicProperties[B].getValue(),this.dynamicProperties[B]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(B){this.container=B,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function V(){return createTypedArray("float32",2)}return poolFactory(8,V)}();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(V,B){this.c=V,this.setLength(B);for(var G=0;G<B;)this.v[G]=pointPool.newElement(),this.o[G]=pointPool.newElement(),this.i[G]=pointPool.newElement(),G+=1},ShapePath.prototype.setLength=function(V){for(;this._maxLength<V;)this.doubleArrayLength();this._length=V},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(V,B,G,z,N){var H;switch(this._length=Math.max(this._length,z+1),this._length>=this._maxLength&&this.doubleArrayLength(),G){case"v":H=this.v;break;case"i":H=this.i;break;case"o":H=this.o;break;default:H=[];break}(!H[z]||H[z]&&!N)&&(H[z]=pointPool.newElement()),H[z][0]=V,H[z][1]=B},ShapePath.prototype.setTripleAt=function(V,B,G,z,N,H,j,Y){this.setXYAt(V,B,"v",j,Y),this.setXYAt(G,z,"o",j,Y),this.setXYAt(N,H,"i",j,Y)},ShapePath.prototype.reverse=function(){var V=new ShapePath;V.setPathData(this.c,this._length);var B=this.v,G=this.o,z=this.i,N=0;this.c&&(V.setTripleAt(B[0][0],B[0][1],z[0][0],z[0][1],G[0][0],G[0][1],0,!1),N=1);var H=this._length-1,j=this._length,Y;for(Y=N;Y<j;Y+=1)V.setTripleAt(B[H][0],B[H][1],z[H][0],z[H][1],G[H][0],G[H][1],Y,!1),H-=1;return V},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function V(){return new ShapePath}function B(N){var H=N._length,j;for(j=0;j<H;j+=1)pointPool.release(N.v[j]),pointPool.release(N.i[j]),pointPool.release(N.o[j]),N.v[j]=null,N.i[j]=null,N.o[j]=null;N._length=0,N.c=!1}function G(N){var H=z.newElement(),j,Y=N._length===void 0?N.v.length:N._length;for(H.setLength(Y),H.c=N.c,j=0;j<Y;j+=1)H.setTripleAt(N.v[j][0],N.v[j][1],N.o[j][0],N.o[j][1],N.i[j][0],N.i[j][1],j);return H}var z=poolFactory(4,V,B);return z.clone=G,z}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(V){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=V,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var V;for(V=0;V<this._length;V+=1)shapePool.release(this.shapes[V]);this._length=0};var shapeCollectionPool=function(){var V={newShapeCollection:N,release:H},B=0,G=4,z=createSizedArray(G);function N(){var j;return B?(B-=1,j=z[B]):j=new ShapeCollection,j}function H(j){var Y,W=j._length;for(Y=0;Y<W;Y+=1)shapePool.release(j.shapes[Y]);j._length=0,B===G&&(z=pooling.double(z),G*=2),z[B]=j,B+=1}return V}(),ShapePropertyFactory=function(){var V=-999999;function B(K,U,Z){var tt=Z.lastIndex,ot,ft,ct,ut,vt,_t,bt,gt,Et,St=this.keyframes;if(K<St[0].t-this.offsetTime)ot=St[0].s[0],ct=!0,tt=0;else if(K>=St[St.length-1].t-this.offsetTime)ot=St[St.length-1].s?St[St.length-1].s[0]:St[St.length-2].e[0],ct=!0;else{for(var yt=tt,ht=St.length-1,pt=!0,rt,nt,mt;pt&&(rt=St[yt],nt=St[yt+1],!(nt.t-this.offsetTime>K));)yt<ht-1?yt+=1:pt=!1;if(mt=this.keyframesMetadata[yt]||{},ct=rt.h===1,tt=yt,!ct){if(K>=nt.t-this.offsetTime)gt=1;else if(K<rt.t-this.offsetTime)gt=0;else{var dt;mt.__fnct?dt=mt.__fnct:(dt=BezierFactory.getBezierEasing(rt.o.x,rt.o.y,rt.i.x,rt.i.y).get,mt.__fnct=dt),gt=dt((K-(rt.t-this.offsetTime))/(nt.t-this.offsetTime-(rt.t-this.offsetTime)))}ft=nt.s?nt.s[0]:rt.e[0]}ot=rt.s[0]}for(_t=U._length,bt=ot.i[0].length,Z.lastIndex=tt,ut=0;ut<_t;ut+=1)for(vt=0;vt<bt;vt+=1)Et=ct?ot.i[ut][vt]:ot.i[ut][vt]+(ft.i[ut][vt]-ot.i[ut][vt])*gt,U.i[ut][vt]=Et,Et=ct?ot.o[ut][vt]:ot.o[ut][vt]+(ft.o[ut][vt]-ot.o[ut][vt])*gt,U.o[ut][vt]=Et,Et=ct?ot.v[ut][vt]:ot.v[ut][vt]+(ft.v[ut][vt]-ot.v[ut][vt])*gt,U.v[ut][vt]=Et}function G(){var K=this.comp.renderedFrame-this.offsetTime,U=this.keyframes[0].t-this.offsetTime,Z=this.keyframes[this.keyframes.length-1].t-this.offsetTime,tt=this._caching.lastFrame;return tt!==V&&(tt<U&&K<U||tt>Z&&K>Z)||(this._caching.lastIndex=tt<K?this._caching.lastIndex:0,this.interpolateShape(K,this.pv,this._caching)),this._caching.lastFrame=K,this.pv}function z(){this.paths=this.localShapeCollection}function N(K,U){if(K._length!==U._length||K.c!==U.c)return!1;var Z,tt=K._length;for(Z=0;Z<tt;Z+=1)if(K.v[Z][0]!==U.v[Z][0]||K.v[Z][1]!==U.v[Z][1]||K.o[Z][0]!==U.o[Z][0]||K.o[Z][1]!==U.o[Z][1]||K.i[Z][0]!==U.i[Z][0]||K.i[Z][1]!==U.i[Z][1])return!1;return!0}function H(K){N(this.v,K)||(this.v=shapePool.clone(K),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function j(){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 K;this.kf?K=this.pv:this.data.ks?K=this.data.ks.k:K=this.data.pt.k;var U,Z=this.effectsSequence.length;for(U=0;U<Z;U+=1)K=this.effectsSequence[U](K);this.setVValue(K),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Y(K,U,Z){this.propType="shape",this.comp=K.comp,this.container=K,this.elem=K,this.data=U,this.k=!1,this.kf=!1,this._mdf=!1;var tt=Z===3?U.pt.k:U.ks.k;this.v=shapePool.clone(tt),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=z,this.effectsSequence=[]}function W(K){this.effectsSequence.push(K),this.container.addDynamicProperty(this)}Y.prototype.interpolateShape=B,Y.prototype.getValue=j,Y.prototype.setVValue=H,Y.prototype.addEffect=W;function X(K,U,Z){this.propType="shape",this.comp=K.comp,this.elem=K,this.container=K,this.offsetTime=K.data.st,this.keyframes=Z===3?U.pt.k:U.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var tt=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,tt),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=V,this.reset=z,this._caching={lastFrame:V,lastIndex:0},this.effectsSequence=[G.bind(this)]}X.prototype.getValue=j,X.prototype.interpolateShape=B,X.prototype.setVValue=H,X.prototype.addEffect=W;var et=function(){var K=roundCorner;function U(Z,tt){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=tt.d,this.elem=Z,this.comp=Z.comp,this.frameId=-1,this.initDynamicPropertyContainer(Z),this.p=PropertyFactory.getProp(Z,tt.p,1,0,this),this.s=PropertyFactory.getProp(Z,tt.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return U.prototype={reset:z,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var tt=this.p.v[0],ot=this.p.v[1],ft=this.s.v[0]/2,ct=this.s.v[1]/2,ut=this.d!==3,vt=this.v;vt.v[0][0]=tt,vt.v[0][1]=ot-ct,vt.v[1][0]=ut?tt+ft:tt-ft,vt.v[1][1]=ot,vt.v[2][0]=tt,vt.v[2][1]=ot+ct,vt.v[3][0]=ut?tt-ft:tt+ft,vt.v[3][1]=ot,vt.i[0][0]=ut?tt-ft*K:tt+ft*K,vt.i[0][1]=ot-ct,vt.i[1][0]=ut?tt+ft:tt-ft,vt.i[1][1]=ot-ct*K,vt.i[2][0]=ut?tt+ft*K:tt-ft*K,vt.i[2][1]=ot+ct,vt.i[3][0]=ut?tt-ft:tt+ft,vt.i[3][1]=ot+ct*K,vt.o[0][0]=ut?tt+ft*K:tt-ft*K,vt.o[0][1]=ot-ct,vt.o[1][0]=ut?tt+ft:tt-ft,vt.o[1][1]=ot+ct*K,vt.o[2][0]=ut?tt-ft*K:tt+ft*K,vt.o[2][1]=ot+ct,vt.o[3][0]=ut?tt-ft:tt+ft,vt.o[3][1]=ot-ct*K}},extendPrototype([DynamicPropertyContainer],U),U}(),at=function(){function K(U,Z){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=U,this.comp=U.comp,this.data=Z,this.frameId=-1,this.d=Z.d,this.initDynamicPropertyContainer(U),Z.sy===1?(this.ir=PropertyFactory.getProp(U,Z.ir,0,0,this),this.is=PropertyFactory.getProp(U,Z.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(U,Z.pt,0,0,this),this.p=PropertyFactory.getProp(U,Z.p,1,0,this),this.r=PropertyFactory.getProp(U,Z.r,0,degToRads,this),this.or=PropertyFactory.getProp(U,Z.or,0,0,this),this.os=PropertyFactory.getProp(U,Z.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 K.prototype={reset:z,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Z=Math.floor(this.pt.v)*2,tt=Math.PI*2/Z,ot=!0,ft=this.or.v,ct=this.ir.v,ut=this.os.v,vt=this.is.v,_t=2*Math.PI*ft/(Z*2),bt=2*Math.PI*ct/(Z*2),gt,Et,St,yt,ht=-Math.PI/2;ht+=this.r.v;var pt=this.data.d===3?-1:1;for(this.v._length=0,gt=0;gt<Z;gt+=1){Et=ot?ft:ct,St=ot?ut:vt,yt=ot?_t:bt;var rt=Et*Math.cos(ht),nt=Et*Math.sin(ht),mt=rt===0&&nt===0?0:nt/Math.sqrt(rt*rt+nt*nt),dt=rt===0&&nt===0?0:-rt/Math.sqrt(rt*rt+nt*nt);rt+=+this.p.v[0],nt+=+this.p.v[1],this.v.setTripleAt(rt,nt,rt-mt*yt*St*pt,nt-dt*yt*St*pt,rt+mt*yt*St*pt,nt+dt*yt*St*pt,gt,!0),ot=!ot,ht+=tt*pt}},convertPolygonToPath:function(){var Z=Math.floor(this.pt.v),tt=Math.PI*2/Z,ot=this.or.v,ft=this.os.v,ct=2*Math.PI*ot/(Z*4),ut,vt=-Math.PI*.5,_t=this.data.d===3?-1:1;for(vt+=this.r.v,this.v._length=0,ut=0;ut<Z;ut+=1){var bt=ot*Math.cos(vt),gt=ot*Math.sin(vt),Et=bt===0&>===0?0:gt/Math.sqrt(bt*bt+gt*gt),St=bt===0&>===0?0:-bt/Math.sqrt(bt*bt+gt*gt);bt+=+this.p.v[0],gt+=+this.p.v[1],this.v.setTripleAt(bt,gt,bt-Et*ct*ft*_t,gt-St*ct*ft*_t,bt+Et*ct*ft*_t,gt+St*ct*ft*_t,ut,!0),vt+=tt*_t}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],K),K}(),J=function(){function K(U,Z){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=U,this.comp=U.comp,this.frameId=-1,this.d=Z.d,this.initDynamicPropertyContainer(U),this.p=PropertyFactory.getProp(U,Z.p,1,0,this),this.s=PropertyFactory.getProp(U,Z.s,1,0,this),this.r=PropertyFactory.getProp(U,Z.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return K.prototype={convertRectToPath:function(){var Z=this.p.v[0],tt=this.p.v[1],ot=this.s.v[0]/2,ft=this.s.v[1]/2,ct=bmMin(ot,ft,this.r.v),ut=ct*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(Z+ot,tt-ft+ct,Z+ot,tt-ft+ct,Z+ot,tt-ft+ut,0,!0),this.v.setTripleAt(Z+ot,tt+ft-ct,Z+ot,tt+ft-ut,Z+ot,tt+ft-ct,1,!0),ct!==0?(this.v.setTripleAt(Z+ot-ct,tt+ft,Z+ot-ct,tt+ft,Z+ot-ut,tt+ft,2,!0),this.v.setTripleAt(Z-ot+ct,tt+ft,Z-ot+ut,tt+ft,Z-ot+ct,tt+ft,3,!0),this.v.setTripleAt(Z-ot,tt+ft-ct,Z-ot,tt+ft-ct,Z-ot,tt+ft-ut,4,!0),this.v.setTripleAt(Z-ot,tt-ft+ct,Z-ot,tt-ft+ut,Z-ot,tt-ft+ct,5,!0),this.v.setTripleAt(Z-ot+ct,tt-ft,Z-ot+ct,tt-ft,Z-ot+ut,tt-ft,6,!0),this.v.setTripleAt(Z+ot-ct,tt-ft,Z+ot-ut,tt-ft,Z+ot-ct,tt-ft,7,!0)):(this.v.setTripleAt(Z-ot,tt+ft,Z-ot+ut,tt+ft,Z-ot,tt+ft,2),this.v.setTripleAt(Z-ot,tt-ft,Z-ot,tt-ft+ut,Z-ot,tt-ft,3))):(this.v.setTripleAt(Z+ot,tt-ft+ct,Z+ot,tt-ft+ut,Z+ot,tt-ft+ct,0,!0),ct!==0?(this.v.setTripleAt(Z+ot-ct,tt-ft,Z+ot-ct,tt-ft,Z+ot-ut,tt-ft,1,!0),this.v.setTripleAt(Z-ot+ct,tt-ft,Z-ot+ut,tt-ft,Z-ot+ct,tt-ft,2,!0),this.v.setTripleAt(Z-ot,tt-ft+ct,Z-ot,tt-ft+ct,Z-ot,tt-ft+ut,3,!0),this.v.setTripleAt(Z-ot,tt+ft-ct,Z-ot,tt+ft-ut,Z-ot,tt+ft-ct,4,!0),this.v.setTripleAt(Z-ot+ct,tt+ft,Z-ot+ct,tt+ft,Z-ot+ut,tt+ft,5,!0),this.v.setTripleAt(Z+ot-ct,tt+ft,Z+ot-ut,tt+ft,Z+ot-ct,tt+ft,6,!0),this.v.setTripleAt(Z+ot,tt+ft-ct,Z+ot,tt+ft-ct,Z+ot,tt+ft-ut,7,!0)):(this.v.setTripleAt(Z-ot,tt-ft,Z-ot+ut,tt-ft,Z-ot,tt-ft,1,!0),this.v.setTripleAt(Z-ot,tt+ft,Z-ot,tt+ft-ut,Z-ot,tt+ft,2,!0),this.v.setTripleAt(Z+ot,tt+ft,Z+ot-ut,tt+ft,Z+ot,tt+ft,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:z},extendPrototype([DynamicPropertyContainer],K),K}();function st(K,U,Z){var tt;if(Z===3||Z===4){var ot=Z===3?U.pt:U.ks,ft=ot.k;ft.length?tt=new X(K,U,Z):tt=new Y(K,U,Z)}else Z===5?tt=new J(K,U):Z===6?tt=new et(K,U):Z===7&&(tt=new at(K,U));return tt.k&&K.addDynamicProperty(tt),tt}function it(){return Y}function Q(){return X}var lt={};return lt.getShapeProp=st,lt.getConstructorFunction=it,lt.getKeyframedConstructorFunction=Q,lt}();/*! 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 V=Math.cos,B=Math.sin,G=Math.tan,z=Math.round;function N(){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 H(rt){if(rt===0)return this;var nt=V(rt),mt=B(rt);return this._t(nt,-mt,0,0,mt,nt,0,0,0,0,1,0,0,0,0,1)}function j(rt){if(rt===0)return this;var nt=V(rt),mt=B(rt);return this._t(1,0,0,0,0,nt,-mt,0,0,mt,nt,0,0,0,0,1)}function Y(rt){if(rt===0)return this;var nt=V(rt),mt=B(rt);return this._t(nt,0,mt,0,0,1,0,0,-mt,0,nt,0,0,0,0,1)}function W(rt){if(rt===0)return this;var nt=V(rt),mt=B(rt);return this._t(nt,-mt,0,0,mt,nt,0,0,0,0,1,0,0,0,0,1)}function X(rt,nt){return this._t(1,nt,rt,1,0,0)}function et(rt,nt){return this.shear(G(rt),G(nt))}function at(rt,nt){var mt=V(nt),dt=B(nt);return this._t(mt,dt,0,0,-dt,mt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,G(rt),1,0,0,0,0,1,0,0,0,0,1)._t(mt,-dt,0,0,dt,mt,0,0,0,0,1,0,0,0,0,1)}function J(rt,nt,mt){return!mt&&mt!==0&&(mt=1),rt===1&&nt===1&&mt===1?this:this._t(rt,0,0,0,0,nt,0,0,0,0,mt,0,0,0,0,1)}function st(rt,nt,mt,dt,Pt,At,Tt,kt,Mt,It,Lt,zt,Vt,wt,Rt,Ft){return this.props[0]=rt,this.props[1]=nt,this.props[2]=mt,this.props[3]=dt,this.props[4]=Pt,this.props[5]=At,this.props[6]=Tt,this.props[7]=kt,this.props[8]=Mt,this.props[9]=It,this.props[10]=Lt,this.props[11]=zt,this.props[12]=Vt,this.props[13]=wt,this.props[14]=Rt,this.props[15]=Ft,this}function it(rt,nt,mt){return mt=mt||0,rt!==0||nt!==0||mt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,rt,nt,mt,1):this}function Q(rt,nt,mt,dt,Pt,At,Tt,kt,Mt,It,Lt,zt,Vt,wt,Rt,Ft){var xt=this.props;if(rt===1&&nt===0&&mt===0&&dt===0&&Pt===0&&At===1&&Tt===0&&kt===0&&Mt===0&&It===0&&Lt===1&&zt===0)return xt[12]=xt[12]*rt+xt[15]*Vt,xt[13]=xt[13]*At+xt[15]*wt,xt[14]=xt[14]*Lt+xt[15]*Rt,xt[15]*=Ft,this._identityCalculated=!1,this;var Ht=xt[0],$t=xt[1],jt=xt[2],Nt=xt[3],qt=xt[4],Wt=xt[5],Dt=xt[6],Yt=xt[7],Xt=xt[8],Ot=xt[9],Zt=xt[10],Gt=xt[11],Jt=xt[12],Kt=xt[13],Ut=xt[14],Qt=xt[15];return xt[0]=Ht*rt+$t*Pt+jt*Mt+Nt*Vt,xt[1]=Ht*nt+$t*At+jt*It+Nt*wt,xt[2]=Ht*mt+$t*Tt+jt*Lt+Nt*Rt,xt[3]=Ht*dt+$t*kt+jt*zt+Nt*Ft,xt[4]=qt*rt+Wt*Pt+Dt*Mt+Yt*Vt,xt[5]=qt*nt+Wt*At+Dt*It+Yt*wt,xt[6]=qt*mt+Wt*Tt+Dt*Lt+Yt*Rt,xt[7]=qt*dt+Wt*kt+Dt*zt+Yt*Ft,xt[8]=Xt*rt+Ot*Pt+Zt*Mt+Gt*Vt,xt[9]=Xt*nt+Ot*At+Zt*It+Gt*wt,xt[10]=Xt*mt+Ot*Tt+Zt*Lt+Gt*Rt,xt[11]=Xt*dt+Ot*kt+Zt*zt+Gt*Ft,xt[12]=Jt*rt+Kt*Pt+Ut*Mt+Qt*Vt,xt[13]=Jt*nt+Kt*At+Ut*It+Qt*wt,xt[14]=Jt*mt+Kt*Tt+Ut*Lt+Qt*Rt,xt[15]=Jt*dt+Kt*kt+Ut*zt+Qt*Ft,this._identityCalculated=!1,this}function lt(rt){var nt=rt.props;return this.transform(nt[0],nt[1],nt[2],nt[3],nt[4],nt[5],nt[6],nt[7],nt[8],nt[9],nt[10],nt[11],nt[12],nt[13],nt[14],nt[15])}function K(){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 U(rt){for(var nt=0;nt<16;){if(rt.props[nt]!==this.props[nt])return!1;nt+=1}return!0}function Z(rt){var nt;for(nt=0;nt<16;nt+=1)rt.props[nt]=this.props[nt];return rt}function tt(rt){var nt;for(nt=0;nt<16;nt+=1)this.props[nt]=rt[nt]}function ot(rt,nt,mt){return{x:rt*this.props[0]+nt*this.props[4]+mt*this.props[8]+this.props[12],y:rt*this.props[1]+nt*this.props[5]+mt*this.props[9]+this.props[13],z:rt*this.props[2]+nt*this.props[6]+mt*this.props[10]+this.props[14]}}function ft(rt,nt,mt){return rt*this.props[0]+nt*this.props[4]+mt*this.props[8]+this.props[12]}function ct(rt,nt,mt){return rt*this.props[1]+nt*this.props[5]+mt*this.props[9]+this.props[13]}function ut(rt,nt,mt){return rt*this.props[2]+nt*this.props[6]+mt*this.props[10]+this.props[14]}function vt(){var rt=this.props[0]*this.props[5]-this.props[1]*this.props[4],nt=this.props[5]/rt,mt=-this.props[1]/rt,dt=-this.props[4]/rt,Pt=this.props[0]/rt,At=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/rt,Tt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/rt,kt=new Matrix;return kt.props[0]=nt,kt.props[1]=mt,kt.props[4]=dt,kt.props[5]=Pt,kt.props[12]=At,kt.props[13]=Tt,kt}function _t(rt){var nt=this.getInverseMatrix();return nt.applyToPointArray(rt[0],rt[1],rt[2]||0)}function bt(rt){var nt,mt=rt.length,dt=[];for(nt=0;nt<mt;nt+=1)dt[nt]=_t(rt[nt]);return dt}function gt(rt,nt,mt){var dt=createTypedArray("float32",6);if(this.isIdentity())dt[0]=rt[0],dt[1]=rt[1],dt[2]=nt[0],dt[3]=nt[1],dt[4]=mt[0],dt[5]=mt[1];else{var Pt=this.props[0],At=this.props[1],Tt=this.props[4],kt=this.props[5],Mt=this.props[12],It=this.props[13];dt[0]=rt[0]*Pt+rt[1]*Tt+Mt,dt[1]=rt[0]*At+rt[1]*kt+It,dt[2]=nt[0]*Pt+nt[1]*Tt+Mt,dt[3]=nt[0]*At+nt[1]*kt+It,dt[4]=mt[0]*Pt+mt[1]*Tt+Mt,dt[5]=mt[0]*At+mt[1]*kt+It}return dt}function Et(rt,nt,mt){var dt;return this.isIdentity()?dt=[rt,nt,mt]:dt=[rt*this.props[0]+nt*this.props[4]+mt*this.props[8]+this.props[12],rt*this.props[1]+nt*this.props[5]+mt*this.props[9]+this.props[13],rt*this.props[2]+nt*this.props[6]+mt*this.props[10]+this.props[14]],dt}function St(rt,nt){if(this.isIdentity())return rt+","+nt;var mt=this.props;return Math.round((rt*mt[0]+nt*mt[4]+mt[12])*100)/100+","+Math.round((rt*mt[1]+nt*mt[5]+mt[13])*100)/100}function yt(){for(var rt=0,nt=this.props,mt="matrix3d(",dt=1e4;rt<16;)mt+=z(nt[rt]*dt)/dt,mt+=rt===15?")":",",rt+=1;return mt}function ht(rt){var nt=1e4;return rt<1e-6&&rt>0||rt>-1e-6&&rt<0?z(rt*nt)/nt:rt}function pt(){var rt=this.props,nt=ht(rt[0]),mt=ht(rt[1]),dt=ht(rt[4]),Pt=ht(rt[5]),At=ht(rt[12]),Tt=ht(rt[13]);return"matrix("+nt+","+mt+","+dt+","+Pt+","+At+","+Tt+")"}return function(){this.reset=N,this.rotate=H,this.rotateX=j,this.rotateY=Y,this.rotateZ=W,this.skew=et,this.skewFromAxis=at,this.shear=X,this.scale=J,this.setTransform=st,this.translate=it,this.transform=Q,this.multiply=lt,this.applyToPoint=ot,this.applyToX=ft,this.applyToY=ct,this.applyToZ=ut,this.applyToPointArray=Et,this.applyToTriplePoints=gt,this.applyToPointStringified=St,this.toCSS=yt,this.to2dCSS=pt,this.clone=Z,this.cloneFromProps=tt,this.equals=U,this.inversePoints=bt,this.inversePoint=_t,this.getInverseMatrix=vt,this._t=this.transform,this.isIdentity=K,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(V){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},_typeof$3(V)}var lottie={};function setLocation(V){setLocationHref(V)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(V){setSubframeEnabled(V)}function setPrefix(V){setIdPrefix(V)}function loadAnimation(V){return animationManager.loadAnimation(V)}function setQuality(V){if(typeof V=="string")switch(V){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(V)&&V>1&&setDefaultCurveSegments(V)}function inBrowser(){return typeof navigator<"u"}function installPlugin(V,B){V==="expressions"&&setExpressionsPlugin(B)}function getFactory(V){switch(V){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.13.0";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(V){for(var B=queryString.split("&"),G=0;G<B.length;G+=1){var z=B[G].split("=");if(decodeURIComponent(z[0])==V)return decodeURIComponent(z[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(V){}var ShapeModifiers=function(){var V={},B={};V.registerModifier=G,V.getModifier=z;function G(N,H){B[N]||(B[N]=H)}function z(N,H,j){return new B[N](H,j)}return V}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(V){if(!this.closed){V.sh.container.addDynamicProperty(V.sh);var B={shape:V.sh,data:V,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(B),this.addShapeToModifier(B),this._isAnimated&&V.setAsAnimated()}},ShapeModifier.prototype.init=function(V,B){this.shapes=[],this.elem=V,this.initDynamicPropertyContainer(V),this.initModifierProperties(V,B),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(V,B){this.s=PropertyFactory.getProp(V,B.s,0,.01,this),this.e=PropertyFactory.getProp(V,B.e,0,.01,this),this.o=PropertyFactory.getProp(V,B.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=B.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(V){V.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(V,B,G,z,N){var H=[];B<=1?H.push({s:V,e:B}):V>=1?H.push({s:V-1,e:B-1}):(H.push({s:V,e:1}),H.push({s:0,e:B-1}));var j=[],Y,W=H.length,X;for(Y=0;Y<W;Y+=1)if(X=H[Y],!(X.e*N<z||X.s*N>z+G)){var et,at;X.s*N<=z?et=0:et=(X.s*N-z)/G,X.e*N>=z+G?at=1:at=(X.e*N-z)/G,j.push([et,at])}return j.length||j.push([0,0]),j},TrimModifier.prototype.releasePathsData=function(V){var B,G=V.length;for(B=0;B<G;B+=1)segmentsLengthPool.release(V[B]);return V.length=0,V},TrimModifier.prototype.processShapes=function(V){var B,G;if(this._mdf||V){var z=this.o.v%360/360;if(z<0&&(z+=1),this.s.v>1?B=1+z:this.s.v<0?B=0+z:B=this.s.v+z,this.e.v>1?G=1+z:this.e.v<0?G=0+z:G=this.e.v+z,B>G){var N=B;B=G,G=N}B=Math.round(B*1e4)*1e-4,G=Math.round(G*1e4)*1e-4,this.sValue=B,this.eValue=G}else B=this.sValue,G=this.eValue;var H,j,Y=this.shapes.length,W,X,et,at,J,st=0;if(G===B)for(j=0;j<Y;j+=1)this.shapes[j].localShapeCollection.releaseShapes(),this.shapes[j].shape._mdf=!0,this.shapes[j].shape.paths=this.shapes[j].localShapeCollection,this._mdf&&(this.shapes[j].pathsData.length=0);else if(G===1&&B===0||G===0&&B===1){if(this._mdf)for(j=0;j<Y;j+=1)this.shapes[j].pathsData.length=0,this.shapes[j].shape._mdf=!0}else{var it=[],Q,lt;for(j=0;j<Y;j+=1)if(Q=this.shapes[j],!Q.shape._mdf&&!this._mdf&&!V&&this.m!==2)Q.shape.paths=Q.localShapeCollection;else{if(H=Q.shape.paths,X=H._length,J=0,!Q.shape._mdf&&Q.pathsData.length)J=Q.totalShapeLength;else{for(et=this.releasePathsData(Q.pathsData),W=0;W<X;W+=1)at=bez.getSegmentsLength(H.shapes[W]),et.push(at),J+=at.totalLength;Q.totalShapeLength=J,Q.pathsData=et}st+=J,Q.shape._mdf=!0}var K=B,U=G,Z=0,tt;for(j=Y-1;j>=0;j-=1)if(Q=this.shapes[j],Q.shape._mdf){for(lt=Q.localShapeCollection,lt.releaseShapes(),this.m===2&&Y>1?(tt=this.calculateShapeEdges(B,G,Q.totalShapeLength,Z,st),Z+=Q.totalShapeLength):tt=[[K,U]],X=tt.length,W=0;W<X;W+=1){K=tt[W][0],U=tt[W][1],it.length=0,U<=1?it.push({s:Q.totalShapeLength*K,e:Q.totalShapeLength*U}):K>=1?it.push({s:Q.totalShapeLength*(K-1),e:Q.totalShapeLength*(U-1)}):(it.push({s:Q.totalShapeLength*K,e:Q.totalShapeLength}),it.push({s:0,e:Q.totalShapeLength*(U-1)}));var ot=this.addShapes(Q,it[0]);if(it[0].s!==it[0].e){if(it.length>1){var ft=Q.shape.paths.shapes[Q.shape.paths._length-1];if(ft.c){var ct=ot.pop();this.addPaths(ot,lt),ot=this.addShapes(Q,it[1],ct)}else this.addPaths(ot,lt),ot=this.addShapes(Q,it[1])}this.addPaths(ot,lt)}}Q.shape.paths=lt}}},TrimModifier.prototype.addPaths=function(V,B){var G,z=V.length;for(G=0;G<z;G+=1)B.addShape(V[G])},TrimModifier.prototype.addSegment=function(V,B,G,z,N,H,j){N.setXYAt(B[0],B[1],"o",H),N.setXYAt(G[0],G[1],"i",H+1),j&&N.setXYAt(V[0],V[1],"v",H),N.setXYAt(z[0],z[1],"v",H+1)},TrimModifier.prototype.addSegmentFromArray=function(V,B,G,z){B.setXYAt(V[1],V[5],"o",G),B.setXYAt(V[2],V[6],"i",G+1),z&&B.setXYAt(V[0],V[4],"v",G),B.setXYAt(V[3],V[7],"v",G+1)},TrimModifier.prototype.addShapes=function(V,B,G){var z=V.pathsData,N=V.shape.paths.shapes,H,j=V.shape.paths._length,Y,W,X=0,et,at,J,st,it=[],Q,lt=!0;for(G?(at=G._length,Q=G._length):(G=shapePool.newElement(),at=0,Q=0),it.push(G),H=0;H<j;H+=1){for(J=z[H].lengths,G.c=N[H].c,W=N[H].c?J.length:J.length+1,Y=1;Y<W;Y+=1)if(et=J[Y-1],X+et.addedLength<B.s)X+=et.addedLength,G.c=!1;else if(X>B.e){G.c=!1;break}else B.s<=X&&B.e>=X+et.addedLength?(this.addSegment(N[H].v[Y-1],N[H].o[Y-1],N[H].i[Y],N[H].v[Y],G,at,lt),lt=!1):(st=bez.getNewSegment(N[H].v[Y-1],N[H].v[Y],N[H].o[Y-1],N[H].i[Y],(B.s-X)/et.addedLength,(B.e-X)/et.addedLength,J[Y-1]),this.addSegmentFromArray(st,G,at,lt),lt=!1,G.c=!1),X+=et.addedLength,at+=1;if(N[H].c&&J.length){if(et=J[Y-1],X<=B.e){var K=J[Y-1].addedLength;B.s<=X&&B.e>=X+K?(this.addSegment(N[H].v[Y-1],N[H].o[Y-1],N[H].i[0],N[H].v[0],G,at,lt),lt=!1):(st=bez.getNewSegment(N[H].v[Y-1],N[H].v[0],N[H].o[Y-1],N[H].i[0],(B.s-X)/K,(B.e-X)/K,J[Y-1]),this.addSegmentFromArray(st,G,at,lt),lt=!1,G.c=!1)}else G.c=!1;X+=et.addedLength,at+=1}if(G._length&&(G.setXYAt(G.v[Q][0],G.v[Q][1],"i",Q),G.setXYAt(G.v[G._length-1][0],G.v[G._length-1][1],"o",G._length-1)),X>B.e)break;H<j-1&&(G=shapePool.newElement(),lt=!0,it.push(G),at=0)}return it};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(V,B){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(V,B.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(V,B){var G=B/100,z=[0,0],N=V._length,H=0;for(H=0;H<N;H+=1)z[0]+=V.v[H][0],z[1]+=V.v[H][1];z[0]/=N,z[1]/=N;var j=shapePool.newElement();j.c=V.c;var Y,W,X,et,at,J;for(H=0;H<N;H+=1)Y=V.v[H][0]+(z[0]-V.v[H][0])*G,W=V.v[H][1]+(z[1]-V.v[H][1])*G,X=V.o[H][0]+(z[0]-V.o[H][0])*-G,et=V.o[H][1]+(z[1]-V.o[H][1])*-G,at=V.i[H][0]+(z[0]-V.i[H][0])*-G,J=V.i[H][1]+(z[1]-V.i[H][1])*-G,j.setTripleAt(Y,W,X,et,at,J,H);return j},PuckerAndBloatModifier.prototype.processShapes=function(V){var B,G,z=this.shapes.length,N,H,j=this.amount.v;if(j!==0){var Y,W;for(G=0;G<z;G+=1){if(Y=this.shapes[G],W=Y.localShapeCollection,!(!Y.shape._mdf&&!this._mdf&&!V))for(W.releaseShapes(),Y.shape._mdf=!0,B=Y.shape.paths.shapes,H=Y.shape.paths._length,N=0;N<H;N+=1)W.addShape(this.processPath(B[N],j));Y.shape.paths=Y.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var V=[0,0];function B(W){var X=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||X,this.a&&W.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&W.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&W.skewFromAxis(-this.sk.v,this.sa.v),this.r?W.rotate(-this.r.v):W.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?W.translate(this.px.v,this.py.v,-this.pz.v):W.translate(this.px.v,this.py.v,0):W.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function G(W){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||W){var X;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 et,at;if(X=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(et=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/X,0),at=this.p.getValueAtTime(this.p.keyframes[0].t/X,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(et=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/X,0),at=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/X,0)):(et=this.p.pv,at=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/X,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){et=[],at=[];var J=this.px,st=this.py;J._caching.lastFrame+J.offsetTime<=J.keyframes[0].t?(et[0]=J.getValueAtTime((J.keyframes[0].t+.01)/X,0),et[1]=st.getValueAtTime((st.keyframes[0].t+.01)/X,0),at[0]=J.getValueAtTime(J.keyframes[0].t/X,0),at[1]=st.getValueAtTime(st.keyframes[0].t/X,0)):J._caching.lastFrame+J.offsetTime>=J.keyframes[J.keyframes.length-1].t?(et[0]=J.getValueAtTime(J.keyframes[J.keyframes.length-1].t/X,0),et[1]=st.getValueAtTime(st.keyframes[st.keyframes.length-1].t/X,0),at[0]=J.getValueAtTime((J.keyframes[J.keyframes.length-1].t-.01)/X,0),at[1]=st.getValueAtTime((st.keyframes[st.keyframes.length-1].t-.01)/X,0)):(et=[J.pv,st.pv],at[0]=J.getValueAtTime((J._caching.lastFrame+J.offsetTime-.01)/X,J.offsetTime),at[1]=st.getValueAtTime((st._caching.lastFrame+st.offsetTime-.01)/X,st.offsetTime))}else at=V,et=at;this.v.rotate(-Math.atan2(et[1]-at[1],et[0]-at[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 z(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;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 N(){}function H(W){this._addDynamicProperty(W),this.elem.addDynamicProperty(W),this._isDirty=!0}function j(W,X,et){if(this.elem=W,this.frameId=-1,this.propType="transform",this.data=X,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(et||W),X.p&&X.p.s?(this.px=PropertyFactory.getProp(W,X.p.x,0,0,this),this.py=PropertyFactory.getProp(W,X.p.y,0,0,this),X.p.z&&(this.pz=PropertyFactory.getProp(W,X.p.z,0,0,this))):this.p=PropertyFactory.getProp(W,X.p||{k:[0,0,0]},1,0,this),X.rx){if(this.rx=PropertyFactory.getProp(W,X.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(W,X.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(W,X.rz,0,degToRads,this),X.or.k[0].ti){var at,J=X.or.k.length;for(at=0;at<J;at+=1)X.or.k[at].to=null,X.or.k[at].ti=null}this.or=PropertyFactory.getProp(W,X.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(W,X.r||{k:0},0,degToRads,this);X.sk&&(this.sk=PropertyFactory.getProp(W,X.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(W,X.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(W,X.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(W,X.s||{k:[100,100,100]},1,.01,this),X.o?this.o=PropertyFactory.getProp(W,X.o,0,.01,W):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}j.prototype={applyToMatrix:B,getValue:G,precalculateMatrix:z,autoOrient:N},extendPrototype([DynamicPropertyContainer],j),j.prototype.addDynamicProperty=H,j.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function Y(W,X,et){return new j(W,X,et)}return{getTransformProperty:Y}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(V,B){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(V,B.c,0,null,this),this.o=PropertyFactory.getProp(V,B.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(V,B.tr,this),this.so=PropertyFactory.getProp(V,B.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(V,B.tr.eo,0,.01,this),this.data=B,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(V,B,G,z,N,H){var j=H?-1:1,Y=z.s.v[0]+(1-z.s.v[0])*(1-N),W=z.s.v[1]+(1-z.s.v[1])*(1-N);V.translate(z.p.v[0]*j*N,z.p.v[1]*j*N,z.p.v[2]),B.translate(-z.a.v[0],-z.a.v[1],z.a.v[2]),B.rotate(-z.r.v*j*N),B.translate(z.a.v[0],z.a.v[1],z.a.v[2]),G.translate(-z.a.v[0],-z.a.v[1],z.a.v[2]),G.scale(H?1/Y:Y,H?1/W:W),G.translate(z.a.v[0],z.a.v[1],z.a.v[2])},RepeaterModifier.prototype.init=function(V,B,G,z){for(this.elem=V,this.arr=B,this.pos=G,this.elemsData=z,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(V),this.initModifierProperties(V,B[G]);G>0;)G-=1,this._elements.unshift(B[G]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(V){var B,G=V.length;for(B=0;B<G;B+=1)V[B]._processed=!1,V[B].ty==="gr"&&this.resetElements(V[B].it)},RepeaterModifier.prototype.cloneElements=function(V){var B=JSON.parse(JSON.stringify(V));return this.resetElements(B),B},RepeaterModifier.prototype.changeGroupRender=function(V,B){var G,z=V.length;for(G=0;G<z;G+=1)V[G]._render=B,V[G].ty==="gr"&&this.changeGroupRender(V[G].it,B)},RepeaterModifier.prototype.processShapes=function(V){var B,G,z,N,H,j=!1;if(this._mdf||V){var Y=Math.ceil(this.c.v);if(this._groups.length<Y){for(;this._groups.length<Y;){var W={it:this.cloneElements(this._elements),ty:"gr"};W.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,W),this._groups.splice(0,0,W),this._currentCopies+=1}this.elem.reloadShapes(),j=!0}H=0;var X;for(z=0;z<=this._groups.length-1;z+=1){if(X=H<Y,this._groups[z]._render=X,this.changeGroupRender(this._groups[z].it,X),!X){var et=this.elemsData[z].it,at=et[et.length-1];at.transform.op.v!==0?(at.transform.op._mdf=!0,at.transform.op.v=0):at.transform.op._mdf=!1}H+=1}this._currentCopies=Y;var J=this.o.v,st=J%1,it=J>0?Math.floor(J):Math.ceil(J),Q=this.pMatrix.props,lt=this.rMatrix.props,K=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var U=0;if(J>0){for(;U<it;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),U+=1;st&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,st,!1),U+=st)}else if(J<0){for(;U>it;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),U-=1;st&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-st,!0),U-=st)}z=this.data.m===1?0:this._currentCopies-1,N=this.data.m===1?1:-1,H=this._currentCopies;for(var Z,tt;H;){if(B=this.elemsData[z].it,G=B[B.length-1].transform.mProps.v.props,tt=G.length,B[B.length-1].transform.mProps._mdf=!0,B[B.length-1].transform.op._mdf=!0,B[B.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(z/(this._currentCopies-1)),U!==0){for((z!==0&&N===1||z!==this._currentCopies-1&&N===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(lt[0],lt[1],lt[2],lt[3],lt[4],lt[5],lt[6],lt[7],lt[8],lt[9],lt[10],lt[11],lt[12],lt[13],lt[14],lt[15]),this.matrix.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]),this.matrix.transform(Q[0],Q[1],Q[2],Q[3],Q[4],Q[5],Q[6],Q[7],Q[8],Q[9],Q[10],Q[11],Q[12],Q[13],Q[14],Q[15]),Z=0;Z<tt;Z+=1)G[Z]=this.matrix.props[Z];this.matrix.reset()}else for(this.matrix.reset(),Z=0;Z<tt;Z+=1)G[Z]=this.matrix.props[Z];U+=1,H-=1,z+=N}}else for(H=this._currentCopies,z=0,N=1;H;)B=this.elemsData[z].it,G=B[B.length-1].transform.mProps.v.props,B[B.length-1].transform.mProps._mdf=!1,B[B.length-1].transform.op._mdf=!1,H-=1,z+=N;return j},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(V,B){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(V,B.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(V,B){var G=shapePool.newElement();G.c=V.c;var z,N=V._length,H,j,Y,W,X,et,at=0,J,st,it,Q,lt,K;for(z=0;z<N;z+=1)H=V.v[z],Y=V.o[z],j=V.i[z],H[0]===Y[0]&&H[1]===Y[1]&&H[0]===j[0]&&H[1]===j[1]?(z===0||z===N-1)&&!V.c?(G.setTripleAt(H[0],H[1],Y[0],Y[1],j[0],j[1],at),at+=1):(z===0?W=V.v[N-1]:W=V.v[z-1],X=Math.sqrt(Math.pow(H[0]-W[0],2)+Math.pow(H[1]-W[1],2)),et=X?Math.min(X/2,B)/X:0,lt=H[0]+(W[0]-H[0])*et,J=lt,K=H[1]-(H[1]-W[1])*et,st=K,it=J-(J-H[0])*roundCorner,Q=st-(st-H[1])*roundCorner,G.setTripleAt(J,st,it,Q,lt,K,at),at+=1,z===N-1?W=V.v[0]:W=V.v[z+1],X=Math.sqrt(Math.pow(H[0]-W[0],2)+Math.pow(H[1]-W[1],2)),et=X?Math.min(X/2,B)/X:0,it=H[0]+(W[0]-H[0])*et,J=it,Q=H[1]+(W[1]-H[1])*et,st=Q,lt=J-(J-H[0])*roundCorner,K=st-(st-H[1])*roundCorner,G.setTripleAt(J,st,it,Q,lt,K,at),at+=1):(G.setTripleAt(V.v[z][0],V.v[z][1],V.o[z][0],V.o[z][1],V.i[z][0],V.i[z][1],at),at+=1);return G},RoundCornersModifier.prototype.processShapes=function(V){var B,G,z=this.shapes.length,N,H,j=this.rd.v;if(j!==0){var Y,W;for(G=0;G<z;G+=1){if(Y=this.shapes[G],W=Y.localShapeCollection,!(!Y.shape._mdf&&!this._mdf&&!V))for(W.releaseShapes(),Y.shape._mdf=!0,B=Y.shape.paths.shapes,H=Y.shape.paths._length,N=0;N<H;N+=1)W.addShape(this.processPath(B[N],j));Y.shape.paths=Y.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(V,B){return Math.abs(V-B)*1e5<=Math.min(Math.abs(V),Math.abs(B))}function floatZero(V){return Math.abs(V)<=1e-5}function lerp(V,B,G){return V*(1-G)+B*G}function lerpPoint(V,B,G){return[lerp(V[0],B[0],G),lerp(V[1],B[1],G)]}function quadRoots(V,B,G){if(V===0)return[];var z=B*B-4*V*G;if(z<0)return[];var N=-B/(2*V);if(z===0)return[N];var H=Math.sqrt(z)/(2*V);return[N-H,N+H]}function polynomialCoefficients(V,B,G,z){return[-V+3*B-3*G+z,3*V-6*B+3*G,-3*V+3*B,V]}function singlePoint(V){return new PolynomialBezier(V,V,V,V,!1)}function PolynomialBezier(V,B,G,z,N){N&&pointEqual(V,B)&&(B=lerpPoint(V,z,1/3)),N&&pointEqual(G,z)&&(G=lerpPoint(V,z,2/3));var H=polynomialCoefficients(V[0],B[0],G[0],z[0]),j=polynomialCoefficients(V[1],B[1],G[1],z[1]);this.a=[H[0],j[0]],this.b=[H[1],j[1]],this.c=[H[2],j[2]],this.d=[H[3],j[3]],this.points=[V,B,G,z]}PolynomialBezier.prototype.point=function(V){return[((this.a[0]*V+this.b[0])*V+this.c[0])*V+this.d[0],((this.a[1]*V+this.b[1])*V+this.c[1])*V+this.d[1]]},PolynomialBezier.prototype.derivative=function(V){return[(3*V*this.a[0]+2*this.b[0])*V+this.c[0],(3*V*this.a[1]+2*this.b[1])*V+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(V){var B=this.derivative(V);return Math.atan2(B[1],B[0])},PolynomialBezier.prototype.normalAngle=function(V){var B=this.derivative(V);return Math.atan2(B[0],B[1])},PolynomialBezier.prototype.inflectionPoints=function(){var V=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(V))return[];var B=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/V,G=B*B-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/V;if(G<0)return[];var z=Math.sqrt(G);return floatZero(z)?z>0&&z<1?[B]:[]:[B-z,B+z].filter(function(N){return N>0&&N<1})},PolynomialBezier.prototype.split=function(V){if(V<=0)return[singlePoint(this.points[0]),this];if(V>=1)return[this,singlePoint(this.points[this.points.length-1])];var B=lerpPoint(this.points[0],this.points[1],V),G=lerpPoint(this.points[1],this.points[2],V),z=lerpPoint(this.points[2],this.points[3],V),N=lerpPoint(B,G,V),H=lerpPoint(G,z,V),j=lerpPoint(N,H,V);return[new PolynomialBezier(this.points[0],B,N,j,!0),new PolynomialBezier(j,H,z,this.points[3],!0)]};function extrema(V,B){var G=V.points[0][B],z=V.points[V.points.length-1][B];if(G>z){var N=z;z=G,G=N}for(var H=quadRoots(3*V.a[B],2*V.b[B],V.c[B]),j=0;j<H.length;j+=1)if(H[j]>0&&H[j]<1){var Y=V.point(H[j])[B];Y<G?G=Y:Y>z&&(z=Y)}return{min:G,max:z}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var V=this.bounds();return{left:V.x.min,right:V.x.max,top:V.y.min,bottom:V.y.max,width:V.x.max-V.x.min,height:V.y.max-V.y.min,cx:(V.x.max+V.x.min)/2,cy:(V.y.max+V.y.min)/2}};function intersectData(V,B,G){var z=V.boundingBox();return{cx:z.cx,cy:z.cy,width:z.width,height:z.height,bez:V,t:(B+G)/2,t1:B,t2:G}}function splitData(V){var B=V.bez.split(.5);return[intersectData(B[0],V.t1,V.t),intersectData(B[1],V.t,V.t2)]}function boxIntersect(V,B){return Math.abs(V.cx-B.cx)*2<V.width+B.width&&Math.abs(V.cy-B.cy)*2<V.height+B.height}function intersectsImpl(V,B,G,z,N,H){if(boxIntersect(V,B)){if(G>=H||V.width<=z&&V.height<=z&&B.width<=z&&B.height<=z){N.push([V.t,B.t]);return}var j=splitData(V),Y=splitData(B);intersectsImpl(j[0],Y[0],G+1,z,N,H),intersectsImpl(j[0],Y[1],G+1,z,N,H),intersectsImpl(j[1],Y[0],G+1,z,N,H),intersectsImpl(j[1],Y[1],G+1,z,N,H)}}PolynomialBezier.prototype.intersections=function(V,B,G){B===void 0&&(B=2),G===void 0&&(G=7);var z=[];return intersectsImpl(intersectData(this,0,1),intersectData(V,0,1),0,B,z,G),z},PolynomialBezier.shapeSegment=function(V,B){var G=(B+1)%V.length();return new PolynomialBezier(V.v[B],V.o[B],V.i[G],V.v[G],!0)},PolynomialBezier.shapeSegmentInverted=function(V,B){var G=(B+1)%V.length();return new PolynomialBezier(V.v[G],V.i[G],V.o[B],V.v[B],!0)};function crossProduct(V,B){return[V[1]*B[2]-V[2]*B[1],V[2]*B[0]-V[0]*B[2],V[0]*B[1]-V[1]*B[0]]}function lineIntersection(V,B,G,z){var N=[V[0],V[1],1],H=[B[0],B[1],1],j=[G[0],G[1],1],Y=[z[0],z[1],1],W=crossProduct(crossProduct(N,H),crossProduct(j,Y));return floatZero(W[2])?null:[W[0]/W[2],W[1]/W[2]]}function polarOffset(V,B,G){return[V[0]+Math.cos(B)*G,V[1]-Math.sin(B)*G]}function pointDistance(V,B){return Math.hypot(V[0]-B[0],V[1]-B[1])}function pointEqual(V,B){return floatEqual(V[0],B[0])&&floatEqual(V[1],B[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(V,B){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(V,B.s,0,null,this),this.frequency=PropertyFactory.getProp(V,B.r,0,null,this),this.pointsType=PropertyFactory.getProp(V,B.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(V,B,G,z,N,H,j){var Y=G-Math.PI/2,W=G+Math.PI/2,X=B[0]+Math.cos(G)*z*N,et=B[1]-Math.sin(G)*z*N;V.setTripleAt(X,et,X+Math.cos(Y)*H,et-Math.sin(Y)*H,X+Math.cos(W)*j,et-Math.sin(W)*j,V.length())}function getPerpendicularVector(V,B){var G=[B[0]-V[0],B[1]-V[1]],z=-Math.PI*.5,N=[Math.cos(z)*G[0]-Math.sin(z)*G[1],Math.sin(z)*G[0]+Math.cos(z)*G[1]];return N}function getProjectingAngle(V,B){var G=B===0?V.length()-1:B-1,z=(B+1)%V.length(),N=V.v[G],H=V.v[z],j=getPerpendicularVector(N,H);return Math.atan2(0,1)-Math.atan2(j[1],j[0])}function zigZagCorner(V,B,G,z,N,H,j){var Y=getProjectingAngle(B,G),W=B.v[G%B._length],X=B.v[G===0?B._length-1:G-1],et=B.v[(G+1)%B._length],at=H===2?Math.sqrt(Math.pow(W[0]-X[0],2)+Math.pow(W[1]-X[1],2)):0,J=H===2?Math.sqrt(Math.pow(W[0]-et[0],2)+Math.pow(W[1]-et[1],2)):0;setPoint(V,B.v[G%B._length],Y,j,z,J/((N+1)*2),at/((N+1)*2))}function zigZagSegment(V,B,G,z,N,H){for(var j=0;j<z;j+=1){var Y=(j+1)/(z+1),W=N===2?Math.sqrt(Math.pow(B.points[3][0]-B.points[0][0],2)+Math.pow(B.points[3][1]-B.points[0][1],2)):0,X=B.normalAngle(Y),et=B.point(Y);setPoint(V,et,X,H,G,W/((z+1)*2),W/((z+1)*2)),H=-H}return H}ZigZagModifier.prototype.processPath=function(V,B,G,z){var N=V._length,H=shapePool.newElement();if(H.c=V.c,V.c||(N-=1),N===0)return H;var j=-1,Y=PolynomialBezier.shapeSegment(V,0);zigZagCorner(H,V,0,B,G,z,j);for(var W=0;W<N;W+=1)j=zigZagSegment(H,Y,B,G,z,-j),W===N-1&&!V.c?Y=null:Y=PolynomialBezier.shapeSegment(V,(W+1)%N),zigZagCorner(H,V,W+1,B,G,z,j);return H},ZigZagModifier.prototype.processShapes=function(V){var B,G,z=this.shapes.length,N,H,j=this.amplitude.v,Y=Math.max(0,Math.round(this.frequency.v)),W=this.pointsType.v;if(j!==0){var X,et;for(G=0;G<z;G+=1){if(X=this.shapes[G],et=X.localShapeCollection,!(!X.shape._mdf&&!this._mdf&&!V))for(et.releaseShapes(),X.shape._mdf=!0,B=X.shape.paths.shapes,H=X.shape.paths._length,N=0;N<H;N+=1)et.addShape(this.processPath(B[N],j,Y,W));X.shape.paths=X.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(V,B,G){var z=Math.atan2(B[0]-V[0],B[1]-V[1]);return[polarOffset(V,z,G),polarOffset(B,z,G)]}function offsetSegment(V,B){var G,z,N,H,j,Y,W;W=linearOffset(V.points[0],V.points[1],B),G=W[0],z=W[1],W=linearOffset(V.points[1],V.points[2],B),N=W[0],H=W[1],W=linearOffset(V.points[2],V.points[3],B),j=W[0],Y=W[1];var X=lineIntersection(G,z,N,H);X===null&&(X=z);var et=lineIntersection(j,Y,N,H);return et===null&&(et=j),new PolynomialBezier(G,X,et,Y)}function joinLines(V,B,G,z,N){var H=B.points[3],j=G.points[0];if(z===3||pointEqual(H,j))return H;if(z===2){var Y=-B.tangentAngle(1),W=-G.tangentAngle(0)+Math.PI,X=lineIntersection(H,polarOffset(H,Y+Math.PI/2,100),j,polarOffset(j,Y+Math.PI/2,100)),et=X?pointDistance(X,H):pointDistance(H,j)/2,at=polarOffset(H,Y,2*et*roundCorner);return V.setXYAt(at[0],at[1],"o",V.length()-1),at=polarOffset(j,W,2*et*roundCorner),V.setTripleAt(j[0],j[1],j[0],j[1],at[0],at[1],V.length()),j}var J=pointEqual(H,B.points[2])?B.points[0]:B.points[2],st=pointEqual(j,G.points[1])?G.points[3]:G.points[1],it=lineIntersection(J,H,j,st);return it&&pointDistance(it,H)<N?(V.setTripleAt(it[0],it[1],it[0],it[1],it[0],it[1],V.length()),it):H}function getIntersection(V,B){var G=V.intersections(B);return G.length&&floatEqual(G[0][0],1)&&G.shift(),G.length?G[0]:null}function pruneSegmentIntersection(V,B){var G=V.slice(),z=B.slice(),N=getIntersection(V[V.length-1],B[0]);return N&&(G[V.length-1]=V[V.length-1].split(N[0])[0],z[0]=B[0].split(N[1])[1]),V.length>1&&B.length>1&&(N=getIntersection(V[0],B[B.length-1]),N)?[[V[0].split(N[0])[0]],[B[B.length-1].split(N[1])[1]]]:[G,z]}function pruneIntersections(V){for(var B,G=1;G<V.length;G+=1)B=pruneSegmentIntersection(V[G-1],V[G]),V[G-1]=B[0],V[G]=B[1];return V.length>1&&(B=pruneSegmentIntersection(V[V.length-1],V[0]),V[V.length-1]=B[0],V[0]=B[1]),V}function offsetSegmentSplit(V,B){var G=V.inflectionPoints(),z,N,H,j;if(G.length===0)return[offsetSegment(V,B)];if(G.length===1||floatEqual(G[1],1))return H=V.split(G[0]),z=H[0],N=H[1],[offsetSegment(z,B),offsetSegment(N,B)];H=V.split(G[0]),z=H[0];var Y=(G[1]-G[0])/(1-G[0]);return H=H[1].split(Y),j=H[0],N=H[1],[offsetSegment(z,B),offsetSegment(j,B),offsetSegment(N,B)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(V,B){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(V,B.a,0,null,this),this.miterLimit=PropertyFactory.getProp(V,B.ml,0,null,this),this.lineJoin=B.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(V,B,G,z){var N=shapePool.newElement();N.c=V.c;var H=V.length();V.c||(H-=1);var j,Y,W,X=[];for(j=0;j<H;j+=1)W=PolynomialBezier.shapeSegment(V,j),X.push(offsetSegmentSplit(W,B));if(!V.c)for(j=H-1;j>=0;j-=1)W=PolynomialBezier.shapeSegmentInverted(V,j),X.push(offsetSegmentSplit(W,B));X=pruneIntersections(X);var et=null,at=null;for(j=0;j<X.length;j+=1){var J=X[j];for(at&&(et=joinLines(N,at,J[0],G,z)),at=J[J.length-1],Y=0;Y<J.length;Y+=1)W=J[Y],et&&pointEqual(W.points[0],et)?N.setXYAt(W.points[1][0],W.points[1][1],"o",N.length()-1):N.setTripleAt(W.points[0][0],W.points[0][1],W.points[1][0],W.points[1][1],W.points[0][0],W.points[0][1],N.length()),N.setTripleAt(W.points[3][0],W.points[3][1],W.points[3][0],W.points[3][1],W.points[2][0],W.points[2][1],N.length()),et=W.points[3]}return X.length&&joinLines(N,at,X[0][0],G,z),N},OffsetPathModifier.prototype.processShapes=function(V){var B,G,z=this.shapes.length,N,H,j=this.amount.v,Y=this.miterLimit.v,W=this.lineJoin;if(j!==0){var X,et;for(G=0;G<z;G+=1){if(X=this.shapes[G],et=X.localShapeCollection,!(!X.shape._mdf&&!this._mdf&&!V))for(et.releaseShapes(),X.shape._mdf=!0,B=X.shape.paths.shapes,H=X.shape.paths._length,N=0;N<H;N+=1)et.addShape(this.processPath(B[N],j,W,Y));X.shape.paths=X.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(V){for(var B=V.fStyle?V.fStyle.split(" "):[],G="normal",z="normal",N=B.length,H,j=0;j<N;j+=1)switch(H=B[j].toLowerCase(),H){case"italic":z="italic";break;case"bold":G="700";break;case"black":G="900";break;case"medium":G="500";break;case"regular":case"normal":G="400";break;case"light":case"thin":G="200";break}return{style:z,weight:V.fWeight||G}}var FontManager=function(){var V=5e3,B={w:0,size:0,shapes:[],data:{shapes:[]}},G=[];G=G.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 z=127988,N=917631,H=917601,j=917626,Y=65039,W=8205,X=127462,et=127487,at=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function J(ht){var pt=ht.split(","),rt,nt=pt.length,mt=[];for(rt=0;rt<nt;rt+=1)pt[rt]!=="sans-serif"&&pt[rt]!=="monospace"&&mt.push(pt[rt]);return mt.join(",")}function st(ht,pt){var rt=createTag("span");rt.setAttribute("aria-hidden",!0),rt.style.fontFamily=pt;var nt=createTag("span");nt.innerText="giItT1WQy@!-/#",rt.style.position="absolute",rt.style.left="-10000px",rt.style.top="-10000px",rt.style.fontSize="300px",rt.style.fontVariant="normal",rt.style.fontStyle="normal",rt.style.fontWeight="normal",rt.style.letterSpacing="0",rt.appendChild(nt),document.body.appendChild(rt);var mt=nt.offsetWidth;return nt.style.fontFamily=J(ht)+", "+pt,{node:nt,w:mt,parent:rt}}function it(){var ht,pt=this.fonts.length,rt,nt,mt=pt;for(ht=0;ht<pt;ht+=1)this.fonts[ht].loaded?mt-=1:this.fonts[ht].fOrigin==="n"||this.fonts[ht].origin===0?this.fonts[ht].loaded=!0:(rt=this.fonts[ht].monoCase.node,nt=this.fonts[ht].monoCase.w,rt.offsetWidth!==nt?(mt-=1,this.fonts[ht].loaded=!0):(rt=this.fonts[ht].sansCase.node,nt=this.fonts[ht].sansCase.w,rt.offsetWidth!==nt&&(mt-=1,this.fonts[ht].loaded=!0)),this.fonts[ht].loaded&&(this.fonts[ht].sansCase.parent.parentNode.removeChild(this.fonts[ht].sansCase.parent),this.fonts[ht].monoCase.parent.parentNode.removeChild(this.fonts[ht].monoCase.parent)));mt!==0&&Date.now()-this.initTime<V?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function Q(ht,pt){var rt=document.body&&pt?"svg":"canvas",nt,mt=getFontProperties(ht);if(rt==="svg"){var dt=createNS("text");dt.style.fontSize="100px",dt.setAttribute("font-family",ht.fFamily),dt.setAttribute("font-style",mt.style),dt.setAttribute("font-weight",mt.weight),dt.textContent="1",ht.fClass?(dt.style.fontFamily="inherit",dt.setAttribute("class",ht.fClass)):dt.style.fontFamily=ht.fFamily,pt.appendChild(dt),nt=dt}else{var Pt=new OffscreenCanvas(500,500).getContext("2d");Pt.font=mt.style+" "+mt.weight+" 100px "+ht.fFamily,nt=Pt}function At(Tt){return rt==="svg"?(nt.textContent=Tt,nt.getComputedTextLength()):nt.measureText(Tt).width}return{measureText:At}}function lt(ht,pt){if(!ht){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=ht.list;return}if(!document.body){this.isLoaded=!0,ht.list.forEach(function(Lt){Lt.helper=Q(Lt),Lt.cache={}}),this.fonts=ht.list;return}var rt=ht.list,nt,mt=rt.length,dt=mt;for(nt=0;nt<mt;nt+=1){var Pt=!0,At,Tt;if(rt[nt].loaded=!1,rt[nt].monoCase=st(rt[nt].fFamily,"monospace"),rt[nt].sansCase=st(rt[nt].fFamily,"sans-serif"),!rt[nt].fPath)rt[nt].loaded=!0,dt-=1;else if(rt[nt].fOrigin==="p"||rt[nt].origin===3){if(At=document.querySelectorAll('style[f-forigin="p"][f-family="'+rt[nt].fFamily+'"], style[f-origin="3"][f-family="'+rt[nt].fFamily+'"]'),At.length>0&&(Pt=!1),Pt){var kt=createTag("style");kt.setAttribute("f-forigin",rt[nt].fOrigin),kt.setAttribute("f-origin",rt[nt].origin),kt.setAttribute("f-family",rt[nt].fFamily),kt.type="text/css",kt.innerText="@font-face {font-family: "+rt[nt].fFamily+"; font-style: normal; src: url('"+rt[nt].fPath+"');}",pt.appendChild(kt)}}else if(rt[nt].fOrigin==="g"||rt[nt].origin===1){for(At=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Tt=0;Tt<At.length;Tt+=1)At[Tt].href.indexOf(rt[nt].fPath)!==-1&&(Pt=!1);if(Pt){var Mt=createTag("link");Mt.setAttribute("f-forigin",rt[nt].fOrigin),Mt.setAttribute("f-origin",rt[nt].origin),Mt.type="text/css",Mt.rel="stylesheet",Mt.href=rt[nt].fPath,document.body.appendChild(Mt)}}else if(rt[nt].fOrigin==="t"||rt[nt].origin===2){for(At=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Tt=0;Tt<At.length;Tt+=1)rt[nt].fPath===At[Tt].src&&(Pt=!1);if(Pt){var It=createTag("link");It.setAttribute("f-forigin",rt[nt].fOrigin),It.setAttribute("f-origin",rt[nt].origin),It.setAttribute("rel","stylesheet"),It.setAttribute("href",rt[nt].fPath),pt.appendChild(It)}}rt[nt].helper=Q(rt[nt],pt),rt[nt].cache={},this.fonts.push(rt[nt])}dt===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function K(ht){if(ht){this.chars||(this.chars=[]);var pt,rt=ht.length,nt,mt=this.chars.length,dt;for(pt=0;pt<rt;pt+=1){for(nt=0,dt=!1;nt<mt;)this.chars[nt].style===ht[pt].style&&this.chars[nt].fFamily===ht[pt].fFamily&&this.chars[nt].ch===ht[pt].ch&&(dt=!0),nt+=1;dt||(this.chars.push(ht[pt]),mt+=1)}}}function U(ht,pt,rt){for(var nt=0,mt=this.chars.length;nt<mt;){if(this.chars[nt].ch===ht&&this.chars[nt].style===pt&&this.chars[nt].fFamily===rt)return this.chars[nt];nt+=1}return(typeof ht=="string"&&ht.charCodeAt(0)!==13||!ht)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",ht,pt,rt)),B}function Z(ht,pt,rt){var nt=this.getFontByName(pt),mt=ht;if(!nt.cache[mt]){var dt=nt.helper;if(ht===" "){var Pt=dt.measureText("|"+ht+"|"),At=dt.measureText("||");nt.cache[mt]=(Pt-At)/100}else nt.cache[mt]=dt.measureText(ht)/100}return nt.cache[mt]*rt}function tt(ht){for(var pt=0,rt=this.fonts.length;pt<rt;){if(this.fonts[pt].fName===ht)return this.fonts[pt];pt+=1}return this.fonts[0]}function ot(ht){var pt=0,rt=ht.charCodeAt(0);if(rt>=55296&&rt<=56319){var nt=ht.charCodeAt(1);nt>=56320&&nt<=57343&&(pt=(rt-55296)*1024+nt-56320+65536)}return pt}function ft(ht,pt){var rt=ht.toString(16)+pt.toString(16);return at.indexOf(rt)!==-1}function ct(ht){return ht===W}function ut(ht){return ht===Y}function vt(ht){var pt=ot(ht);return pt>=X&&pt<=et}function _t(ht){return vt(ht.substr(0,2))&&vt(ht.substr(2,2))}function bt(ht){return G.indexOf(ht)!==-1}function gt(ht,pt){var rt=ot(ht.substr(pt,2));if(rt!==z)return!1;var nt=0;for(pt+=2;nt<5;){if(rt=ot(ht.substr(pt,2)),rt<H||rt>j)return!1;nt+=1,pt+=2}return ot(ht.substr(pt,2))===N}function Et(){this.isLoaded=!0}var St=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)};St.isModifier=ft,St.isZeroWidthJoiner=ct,St.isFlagEmoji=_t,St.isRegionalCode=vt,St.isCombinedCharacter=bt,St.isRegionalFlag=gt,St.isVariationSelector=ut,St.BLACK_FLAG_CODE_POINT=z;var yt={addChars:K,addFonts:lt,getCharData:U,getFontByName:tt,measureText:Z,checkLoadedFonts:it,setIsLoaded:Et};return St.prototype=yt,St}();function SlotManager(V){this.animationData=V}SlotManager.prototype.getProp=function(V){return this.animationData.slots&&this.animationData.slots[V.sid]?Object.assign(V,this.animationData.slots[V.sid].p):V};function slotFactory(V){return new SlotManager(V)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(B){this.renderableComponents.indexOf(B)===-1&&this.renderableComponents.push(B)},removeRenderableComponent:function(B){this.renderableComponents.indexOf(B)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(B),1)},prepareRenderableFrame:function(B){this.checkLayerLimits(B)},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(B){this.data.ip-this.data.st<=B&&this.data.op-this.data.st>B?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 B,G=this.renderableComponents.length;for(B=0;B<G;B+=1)this.renderableComponents[B].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 getBlendMode=function(){var V={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(B){return V[B]||""}}();function SliderEffect(V,B,G){this.p=PropertyFactory.getProp(B,V.v,0,0,G)}function AngleEffect(V,B,G){this.p=PropertyFactory.getProp(B,V.v,0,0,G)}function ColorEffect(V,B,G){this.p=PropertyFactory.getProp(B,V.v,1,0,G)}function PointEffect(V,B,G){this.p=PropertyFactory.getProp(B,V.v,1,0,G)}function LayerIndexEffect(V,B,G){this.p=PropertyFactory.getProp(B,V.v,0,0,G)}function MaskIndexEffect(V,B,G){this.p=PropertyFactory.getProp(B,V.v,0,0,G)}function CheckboxEffect(V,B,G){this.p=PropertyFactory.getProp(B,V.v,0,0,G)}function NoValueEffect(){this.p={}}function EffectsManager(V,B){var G=V.ef||[];this.effectElements=[];var z,N=G.length,H;for(z=0;z<N;z+=1)H=new GroupEffect(G[z],B),this.effectElements.push(H)}function GroupEffect(V,B){this.init(V,B)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(V,B){this.data=V,this.effectElements=[],this.initDynamicPropertyContainer(B);var G,z=this.data.ef.length,N,H=this.data.ef;for(G=0;G<z;G+=1){switch(N=null,H[G].ty){case 0:N=new SliderEffect(H[G],B,this);break;case 1:N=new AngleEffect(H[G],B,this);break;case 2:N=new ColorEffect(H[G],B,this);break;case 3:N=new PointEffect(H[G],B,this);break;case 4:case 7:N=new CheckboxEffect(H[G],B,this);break;case 10:N=new LayerIndexEffect(H[G],B,this);break;case 11:N=new MaskIndexEffect(H[G],B,this);break;case 5:N=new EffectsManager(H[G],B);break;default:N=new NoValueEffect(H[G]);break}N&&this.effectElements.push(N)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var B=0,G=this.data.masksProperties.length;B<G;){if(this.data.masksProperties[B].mode!=="n"&&this.data.masksProperties[B].cl!==!1)return!0;B+=1}return!1},initExpressions:function(){var B=getExpressionInterfaces();if(B){var G=B("layer"),z=B("effects"),N=B("shape"),H=B("text"),j=B("comp");this.layerInterface=G(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var Y=z.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(Y),this.data.ty===0||this.data.xt?this.compInterface=j(this):this.data.ty===4?(this.layerInterface.shapeInterface=N(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=H(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var B=getBlendMode(this.data.bm),G=this.baseElement||this.layerElement;G.style["mix-blend-mode"]=B},initBaseData:function(B,G,z){this.globalData=G,this.comp=z,this.data=B,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(B,G){var z,N=this.dynamicProperties.length;for(z=0;z<N;z+=1)(G||this._isParent&&this.dynamicProperties[z].propType==="transform")&&(this.dynamicProperties[z].getValue(),this.dynamicProperties[z]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(B){this.dynamicProperties.indexOf(B)===-1&&this.dynamicProperties.push(B)}};function FootageElement(V,B,G){this.initFrame(),this.initRenderable(),this.assetData=B.getAssetData(V.refId),this.footageData=B.imageLoader.getAsset(this.assetData),this.initBaseData(V,B,G)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var V=getExpressionInterfaces();if(V){var B=V("footage");this.layerInterface=B(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(V,B,G){this.initFrame(),this.initRenderable(),this.assetData=B.getAssetData(V.refId),this.initBaseData(V,B,G),this._isPlaying=!1,this._canPlay=!1;var z=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(z),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=V.tm?PropertyFactory.getProp(this,V.tm,0,B.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,V.au&&V.au.lv?V.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(V){if(this.prepareRenderableFrame(V,!0),this.prepareProperties(V,!0),this.tm._placeholder)this._currentTime=V/this.data.sr;else{var B=this.tm.v;this._currentTime=B}this._volume=this.lv.v[0];var G=this._volume*this._volumeMultiplier;this._previousVolume!==G&&(this._previousVolume=G,this.audio.volume(G))},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(V){this.audio.rate(V)},AudioElement.prototype.volume=function(V){this._volumeMultiplier=V,this._previousVolume=V*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(V){var B,G=this.layers.length,z;for(this.completeLayers=!0,B=G-1;B>=0;B-=1)this.elements[B]||(z=this.layers[B],z.ip-z.st<=V-this.layers[B].st&&z.op-z.st>V-this.layers[B].st&&this.buildItem(B)),this.completeLayers=this.elements[B]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(V){switch(V.ty){case 2:return this.createImage(V);case 0:return this.createComp(V);case 1:return this.createSolid(V);case 3:return this.createNull(V);case 4:return this.createShape(V);case 5:return this.createText(V);case 6:return this.createAudio(V);case 13:return this.createCamera(V);case 15:return this.createFootage(V);default:return this.createNull(V)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(V){return new AudioElement(V,this.globalData,this)},BaseRenderer.prototype.createFootage=function(V){return new FootageElement(V,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var V,B=this.layers.length;for(V=0;V<B;V+=1)this.buildItem(V);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(V){this.completeLayers=!1;var B,G=V.length,z,N=this.layers.length;for(B=0;B<G;B+=1)for(z=0;z<N;){if(this.layers[z].id===V[B].id){this.layers[z]=V[B];break}z+=1}},BaseRenderer.prototype.setProjectInterface=function(V){this.globalData.projectInterface=V},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(V,B,G){for(var z=this.elements,N=this.layers,H=0,j=N.length;H<j;)N[H].ind==B&&(!z[H]||z[H]===!0?(this.buildItem(H),this.addPendingElement(V)):(G.push(z[H]),z[H].setAsParent(),N[H].parent!==void 0?this.buildElementParenting(V,N[H].parent,G):V.setHierarchy(G))),H+=1},BaseRenderer.prototype.addPendingElement=function(V){this.pendingElements.push(V)},BaseRenderer.prototype.searchExtraCompositions=function(V){var B,G=V.length;for(B=0;B<G;B+=1)if(V[B].xt){var z=this.createComp(V[B]);z.initExpressions(),this.globalData.projectInterface.registerComposition(z)}},BaseRenderer.prototype.getElementById=function(V){var B,G=this.elements.length;for(B=0;B<G;B+=1)if(this.elements[B].data.ind===V)return this.elements[B];return null},BaseRenderer.prototype.getElementByPath=function(V){var B=V.shift(),G;if(typeof B=="number")G=this.elements[B];else{var z,N=this.elements.length;for(z=0;z<N;z+=1)if(this.elements[z].data.nm===B){G=this.elements[z];break}}return V.length===0?G:G.getElementByPath(V)},BaseRenderer.prototype.setupGlobalData=function(V,B){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(V),this.globalData.fontManager.addChars(V.chars),this.globalData.fontManager.addFonts(V.fonts,B),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=V.fr,this.globalData.nm=V.nm,this.globalData.compSize={w:V.w,h:V.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var B=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:B,localMat:B,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var B,G=this.finalTransform.mat,z=0,N=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;z<N;){if(this.hierarchy[z].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}z+=1}if(this.finalTransform._matMdf)for(B=this.finalTransform.mProp.v.props,G.cloneFromProps(B),z=0;z<N;z+=1)G.multiply(this.hierarchy[z].finalTransform.mProp.v)}(!this.localTransforms||this.finalTransform._matMdf)&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var B=0,G=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;B<G;)this.localTransforms[B]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[B]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),B+=1;if(this.finalTransform._localMatMdf){var z=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(z),B=1;B<G;B+=1){var N=this.localTransforms[B].matrix;z.multiply(N)}z.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var H=this.finalTransform.localOpacity;for(B=0;B<G;B+=1)H*=this.localTransforms[B].opacity*.01;this.finalTransform.localOpacity=H}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var B=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(B.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var G=0,z=B.length;for(G=0;G<z;G+=1)this.localTransforms.push(B[G])}}},globalToLocal:function(B){var G=[];G.push(this.finalTransform);for(var z=!0,N=this.comp;z;)N.finalTransform?(N.data.hasMask&&G.splice(0,0,N.finalTransform),N=N.comp):z=!1;var H,j=G.length,Y;for(H=0;H<j;H+=1)Y=G[H].mat.applyToPointArray(0,0,0),B=[B[0]-Y[0],B[1]-Y[1],0];return B},mHelper:new Matrix};function MaskElement(V,B,G){this.data=V,this.element=B,this.globalData=G,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var z=this.globalData.defs,N,H=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(H),this.solidPath="";var j,Y=this.masksProperties,W=0,X=[],et,at,J=createElementID(),st,it,Q,lt,K="clipPath",U="clip-path";for(N=0;N<H;N+=1)if((Y[N].mode!=="a"&&Y[N].mode!=="n"||Y[N].inv||Y[N].o.k!==100||Y[N].o.x)&&(K="mask",U="mask"),(Y[N].mode==="s"||Y[N].mode==="i")&&W===0?(st=createNS("rect"),st.setAttribute("fill","#ffffff"),st.setAttribute("width",this.element.comp.data.w||0),st.setAttribute("height",this.element.comp.data.h||0),X.push(st)):st=null,j=createNS("path"),Y[N].mode==="n")this.viewData[N]={op:PropertyFactory.getProp(this.element,Y[N].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,Y[N],3),elem:j,lastPath:""},z.appendChild(j);else{W+=1,j.setAttribute("fill",Y[N].mode==="s"?"#000000":"#ffffff"),j.setAttribute("clip-rule","nonzero");var Z;if(Y[N].x.k!==0?(K="mask",U="mask",lt=PropertyFactory.getProp(this.element,Y[N].x,0,null,this.element),Z=createElementID(),it=createNS("filter"),it.setAttribute("id",Z),Q=createNS("feMorphology"),Q.setAttribute("operator","erode"),Q.setAttribute("in","SourceGraphic"),Q.setAttribute("radius","0"),it.appendChild(Q),z.appendChild(it),j.setAttribute("stroke",Y[N].mode==="s"?"#000000":"#ffffff")):(Q=null,lt=null),this.storedData[N]={elem:j,x:lt,expan:Q,lastPath:"",lastOperator:"",filterId:Z,lastRadius:0},Y[N].mode==="i"){at=X.length;var tt=createNS("g");for(et=0;et<at;et+=1)tt.appendChild(X[et]);var ot=createNS("mask");ot.setAttribute("mask-type","alpha"),ot.setAttribute("id",J+"_"+W),ot.appendChild(j),z.appendChild(ot),tt.setAttribute("mask","url("+getLocationHref()+"#"+J+"_"+W+")"),X.length=0,X.push(tt)}else X.push(j);Y[N].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[N]={elem:j,lastPath:"",op:PropertyFactory.getProp(this.element,Y[N].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,Y[N],3),invRect:st},this.viewData[N].prop.k||this.drawPath(Y[N],this.viewData[N].prop.v,this.viewData[N])}for(this.maskElement=createNS(K),H=X.length,N=0;N<H;N+=1)this.maskElement.appendChild(X[N]);W>0&&(this.maskElement.setAttribute("id",J),this.element.maskedElement.setAttribute(U,"url("+getLocationHref()+"#"+J+")"),z.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(V){return this.viewData[V].prop},MaskElement.prototype.renderFrame=function(V){var B=this.element.finalTransform.mat,G,z=this.masksProperties.length;for(G=0;G<z;G+=1)if((this.viewData[G].prop._mdf||V)&&this.drawPath(this.masksProperties[G],this.viewData[G].prop.v,this.viewData[G]),(this.viewData[G].op._mdf||V)&&this.viewData[G].elem.setAttribute("fill-opacity",this.viewData[G].op.v),this.masksProperties[G].mode!=="n"&&(this.viewData[G].invRect&&(this.element.finalTransform.mProp._mdf||V)&&this.viewData[G].invRect.setAttribute("transform",B.getInverseMatrix().to2dCSS()),this.storedData[G].x&&(this.storedData[G].x._mdf||V))){var N=this.storedData[G].expan;this.storedData[G].x.v<0?(this.storedData[G].lastOperator!=="erode"&&(this.storedData[G].lastOperator="erode",this.storedData[G].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[G].filterId+")")),N.setAttribute("radius",-this.storedData[G].x.v)):(this.storedData[G].lastOperator!=="dilate"&&(this.storedData[G].lastOperator="dilate",this.storedData[G].elem.setAttribute("filter",null)),this.storedData[G].elem.setAttribute("stroke-width",this.storedData[G].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var V="M0,
90 ";return V+=" h"+this.globalData.compSize.w,V+=" v"+this.globalData.compSize.h,V+=" h-"+this.globalData.compSize.w,V+=" v-"+this.globalData.compSize.h+" ",V},MaskElement.prototype.drawPath=function(V,B,G){var z=" M"+B.v[0][0]+","+B.v[0][1],N,H;for(H=B._length,N=1;N<H;N+=1)z+=" C"+B.o[N-1][0]+","+B.o[N-1][1]+" "+B.i[N][0]+","+B.i[N][1]+" "+B.v[N][0]+","+B.v[N][1];if(B.c&&H>1&&(z+=" C"+B.o[N-1][0]+","+B.o[N-1][1]+" "+B.i[0][0]+","+B.i[0][1]+" "+B.v[0][0]+","+B.v[0][1]),G.lastPath!==z){var j="";G.elem&&(B.c&&(j=V.inv?this.solidPath+z:z),G.elem.setAttribute("d",j)),G.lastPath=z}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var V={};V.createFilter=B,V.createAlphaToLuminanceFilter=G;function B(z,N){var H=createNS("filter");return H.setAttribute("id",z),N!==!0&&(H.setAttribute("filterUnits","objectBoundingBox"),H.setAttribute("x","0%"),H.setAttribute("y","0%"),H.setAttribute("width","100%"),H.setAttribute("height","100%")),H}function G(){var z=createNS("feColorMatrix");return z.setAttribute("type","matrix"),z.setAttribute("color-interpolation-filters","sRGB"),z.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),z}return V}(),featureSupport=function(){var V={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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))&&(V.maskType=!1),/firefox/i.test(navigator.userAgent)&&(V.svgLumaHidden=!1),V}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(V){var B,G="SourceGraphic",z=V.data.ef?V.data.ef.length:0,N=createElementID(),H=filtersFactory.createFilter(N,!0),j=0;this.filters=[];var Y;for(B=0;B<z;B+=1){Y=null;var W=V.data.ef[B].ty;if(registeredEffects$1[W]){var X=registeredEffects$1[W].effect;Y=new X(H,V.effectsManager.effectElements[B],V,idPrefix+j,G),G=idPrefix+j,registeredEffects$1[W].countsAsEffect&&(j+=1)}Y&&this.filters.push(Y)}j&&(V.globalData.defs.appendChild(H),V.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+N+")")),this.filters.length&&V.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(V){var B,G=this.filters.length;for(B=0;B<G;B+=1)this.filters[B].renderFrame(V)},SVGEffects.prototype.getEffects=function(V){var B,G=this.filters.length,z=[];for(B=0;B<G;B+=1)this.filters[B].type===V&&z.push(this.filters[B]);return z};function registerEffect$1(V,B,G){registeredEffects$1[V]={effect:B,countsAsEffect:G}}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 B=null;if(this.data.td){this.matteMasks={};var G=createNS("g");G.setAttribute("id",this.layerId),G.appendChild(this.layerElement),B=G,this.globalData.defs.appendChild(G)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),B=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 z=createNS("clipPath"),N=createNS("path");N.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var H=createElementID();if(z.setAttribute("id",H),z.appendChild(N),this.globalData.defs.appendChild(z),this.checkMasks()){var j=createNS("g");
vendor: 13,927 bytes, line 9
9j.setAttribute("clip-path","url("+getLocationHref()+"#"+H+")"),j.appendChild(this.layerElement),this.transformedElement=j,B?B.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+H+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},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),this.searchEffectTransforms()},getMatte:function(B){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[B]){var G=this.layerId+"_"+B,z,N,H,j;if(B===1||B===3){var Y=createNS("mask");Y.setAttribute("id",G),Y.setAttribute("mask-type",B===3?"luminance":"alpha"),H=createNS("use"),H.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),Y.appendChild(H),this.globalData.defs.appendChild(Y),!featureSupport.maskType&&B===1&&(Y.setAttribute("mask-type","luminance"),z=createElementID(),N=filtersFactory.createFilter(z),this.globalData.defs.appendChild(N),N.appendChild(filtersFactory.createAlphaToLuminanceFilter()),j=createNS("g"),j.appendChild(H),Y.appendChild(j),j.setAttribute("filter","url("+getLocationHref()+"#"+z+")"))}else if(B===2){var W=createNS("mask");W.setAttribute("id",G),W.setAttribute("mask-type","alpha");var X=createNS("g");W.appendChild(X),z=createElementID(),N=filtersFactory.createFilter(z);var et=createNS("feComponentTransfer");et.setAttribute("in","SourceGraphic"),N.appendChild(et);var at=createNS("feFuncA");at.setAttribute("type","table"),at.setAttribute("tableValues","1.0 0.0"),et.appendChild(at),this.globalData.defs.appendChild(N);var J=createNS("rect");J.setAttribute("width",this.comp.data.w),J.setAttribute("height",this.comp.data.h),J.setAttribute("x","0"),J.setAttribute("y","0"),J.setAttribute("fill","#ffffff"),J.setAttribute("opacity","0"),X.setAttribute("filter","url("+getLocationHref()+"#"+z+")"),X.appendChild(J),H=createNS("use"),H.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),X.appendChild(H),featureSupport.maskType||(W.setAttribute("mask-type","luminance"),N.appendChild(filtersFactory.createAlphaToLuminanceFilter()),j=createNS("g"),X.appendChild(J),j.appendChild(this.layerElement),X.appendChild(j)),this.globalData.defs.appendChild(W)}this.matteMasks[B]=G}return this.matteMasks[B]},setMatte:function(B){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+B+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(B){this.hierarchy=B},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var V={initElement:function(G,z,N){this.initFrame(),this.initBaseData(G,z,N),this.initTransform(G,z,N),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var G=this.baseElement||this.layerElement;G.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var G=this.baseElement||this.layerElement;G.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(G){this._mdf=!1,this.prepareRenderableFrame(G),this.prepareProperties(G,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(V)],RenderableDOMElement)})();function IImageElement(V,B,G){this.assetData=B.getAssetData(V.refId),this.assetData&&this.assetData.sid&&(this.assetData=B.slotManager.getProp(this.assetData)),this.initElement(V,B,G),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 V=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",V),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(V,B){this.elem=V,this.pos=B}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(B){var G,z=this.shapeModifiers.length;for(G=0;G<z;G+=1)this.shapeModifiers[G].addShape(B)},isShapeInAnimatedModifiers:function(B){for(var G=0,z=this.shapeModifiers.length;G<z;)if(this.shapeModifiers[G].isAnimatedWithShape(B))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var B,G=this.shapes.length;for(B=0;B<G;B+=1)this.shapes[B].sh.reset();G=this.shapeModifiers.length;var z;for(B=G-1;B>=0&&(z=this.shapeModifiers[B].processShapes(this._isFirstFrame),!z);B-=1);}},searchProcessedElement:function(B){for(var G=this.processedElements,z=0,N=G.length;z<N;){if(G[z].elem===B)return G[z].pos;z+=1}return 0},addProcessedElement:function(B,G){for(var z=this.processedElements,N=z.length;N;)if(N-=1,z[N].elem===B){z[N].pos=G;return}z.push(new ProcessedElement(B,G))},prepareFrame:function(B){this.prepareRenderableFrame(B),this.prepareProperties(B,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(V,B,G){this.caches=[],this.styles=[],this.transformers=V,this.lStr="",this.sh=G,this.lvl=B,this._isAnimated=!!G.k;for(var z=0,N=V.length;z<N;){if(V[z].mProps.dynamicProperties.length){this._isAnimated=!0;break}z+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(V,B){this.data=V,this.type=V.ty,this.d="",this.lvl=B,this._mdf=!1,this.closed=V.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(V,B,G,z){this.elem=V,this.frameId=-1,this.dataProps=createSizedArray(B.length),this.renderer=G,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",B.length?B.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(z);var N,H=B.length||0,j;for(N=0;N<H;N+=1)j=PropertyFactory.getProp(V,B[N].v,0,0,this),this.k=j.k||this.k,this.dataProps[N]={n:B[N].n,p:j};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(V){if(!(this.elem.globalData.frameId===this.frameId&&!V)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||V,this._mdf)){var B=0,G=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),B=0;B<G;B+=1)this.dataProps[B].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[B].p.v:this.dashArray[B]=this.dataProps[B].p.v:this.dashoffset[0]=this.dataProps[B].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(V,B,G){this.initDynamicPropertyContainer(V),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(V,B.o,0,.01,this),this.w=PropertyFactory.getProp(V,B.w,0,null,this),this.d=new DashProperty(V,B.d||{},"svg",this),this.c=PropertyFactory.getProp(V,B.c,1,255,this),this.style=G,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(V,B,G){this.initDynamicPropertyContainer(V),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(V,B.o,0,.01,this),this.c=PropertyFactory.getProp(V,B.c,1,255,this),this.style=G}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(V,B,G){this.initDynamicPropertyContainer(V),this.getValue=this.iterateDynamicProperties,this.style=G}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(V,B,G){this.data=B,this.c=createTypedArray("uint8c",B.p*4);var z=B.k.k[0].s?B.k.k[0].s.length-B.p*4:B.k.k.length-B.p*4;this.o=createTypedArray("float32",z),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=z,this.initDynamicPropertyContainer(G),this.prop=PropertyFactory.getProp(V,B.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(V,B){for(var G=0,z=this.o.length/2,N;G<z;){if(N=Math.abs(V[G*4]-V[B*4+G*2]),N>.01)return!1;G+=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 V=0,B=this.data.k.k.length;V<B;){if(!this.comparePoints(this.data.k.k[V].s,this.data.p))return!1;V+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(V){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||V){var B,G=this.data.p*4,z,N;for(B=0;B<G;B+=1)z=B%4===0?100:255,N=Math.round(this.prop.v[B]*z),this.c[B]!==N&&(this.c[B]=N,this._cmdf=!V);if(this.o.length)for(G=this.prop.v.length,B=this.data.p*4;B<G;B+=1)z=B%2===0?100:1,N=B%2===0?Math.round(this.prop.v[B]*100):this.prop.v[B],this.o[B-this.data.p*4]!==N&&(this.o[B-this.data.p*4]=N,this._omdf=!V);this._mdf=!V}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(V,B,G){this.initDynamicPropertyContainer(V),this.getValue=this.iterateDynamicProperties,this.initGradientData(V,B,G)}SVGGradientFillStyleData.prototype.initGradientData=function(V,B,G){this.o=PropertyFactory.getProp(V,B.o,0,.01,this),this.s=PropertyFactory.getProp(V,B.s,1,null,this),this.e=PropertyFactory.getProp(V,B.e,1,null,this),this.h=PropertyFactory.getProp(V,B.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(V,B.a||{k:0},0,degToRads,this),this.g=new GradientProperty(V,B.g,this),this.style=G,this.stops=[],this.setGradientData(G.pElem,B),this.setGradientOpacity(B,G),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(V,B){var G=createElementID(),z=createNS(B.t===1?"linearGradient":"radialGradient");z.setAttribute("id",G),z.setAttribute("spreadMethod","pad"),z.setAttribute("gradientUnits","userSpaceOnUse");var N=[],H,j,Y;for(Y=B.g.p*4,j=0;j<Y;j+=4)H=createNS("stop"),z.appendChild(H),N.push(H);V.setAttribute(B.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+G+")"),this.gf=z,this.cst=N},SVGGradientFillStyleData.prototype.setGradientOpacity=function(V,B){if(this.g._hasOpacity&&!this.g._collapsable){var G,z,N,H=createNS("mask"),j=createNS("path");H.appendChild(j);var Y=createElementID(),W=createElementID();H.setAttribute("id",W);var X=createNS(V.t===1?"linearGradient":"radialGradient");X.setAttribute("id",Y),X.setAttribute("spreadMethod","pad"),X.setAttribute("gradientUnits","userSpaceOnUse"),N=V.g.k.k[0].s?V.g.k.k[0].s.length:V.g.k.k.length;var et=this.stops;for(z=V.g.p*4;z<N;z+=2)G=createNS("stop"),G.setAttribute("stop-color","rgb(255,255,255)"),X.appendChild(G),et.push(G);j.setAttribute(V.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+Y+")"),V.ty==="gs"&&(j.setAttribute("stroke-linecap",lineCapEnum[V.lc||2]),j.setAttribute("stroke-linejoin",lineJoinEnum[V.lj||2]),V.lj===1&&j.setAttribute("stroke-miterlimit",V.ml)),this.of=X,this.ms=H,this.ost=et,this.maskId=W,B.msElem=j}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(V,B,G){this.initDynamicPropertyContainer(V),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(V,B.w,0,null,this),this.d=new DashProperty(V,B.d||{},"svg",this),this.initGradientData(V,B,G),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(V,B,G){this.transform={mProps:V,op:B,container:G},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(B,G,z,N){if(G===0)return"";var H=B.o,j=B.i,Y=B.v,W,X=" M"+N.applyToPointStringified(Y[0][0],Y[0][1]);for(W=1;W<G;W+=1)X+=" C"+N.applyToPointStringified(H[W-1][0],H[W-1][1])+" "+N.applyToPointStringified(j[W][0],j[W][1])+" "+N.applyToPointStringified(Y[W][0],Y[W][1]);return z&&G&&(X+=" C"+N.applyToPointStringified(H[W-1][0],H[W-1][1])+" "+N.applyToPointStringified(j[0][0],j[0][1])+" "+N.applyToPointStringified(Y[0][0],Y[0][1]),X+="z"),X},SVGElementsRenderer=function(){var V=new Matrix,B=new Matrix,G={createRenderFunction:z};function z(at){switch(at.ty){case"fl":return Y;case"gf":return X;case"gs":return W;case"st":return et;case"sh":case"el":case"rc":case"sr":return j;case"tr":return N;case"no":return H;default:return null}}function N(at,J,st){(st||J.transform.op._mdf)&&J.transform.container.setAttribute("op
9acity",J.transform.op.v),(st||J.transform.mProps._mdf)&&J.transform.container.setAttribute("transform",J.transform.mProps.v.to2dCSS())}function H(){}function j(at,J,st){var it,Q,lt,K,U,Z,tt=J.styles.length,ot=J.lvl,ft,ct,ut,vt;for(Z=0;Z<tt;Z+=1){if(K=J.sh._mdf||st,J.styles[Z].lvl<ot){for(ct=B.reset(),ut=ot-J.styles[Z].lvl,vt=J.transformers.length-1;!K&&ut>0;)K=J.transformers[vt].mProps._mdf||K,ut-=1,vt-=1;if(K)for(ut=ot-J.styles[Z].lvl,vt=J.transformers.length-1;ut>0;)ct.multiply(J.transformers[vt].mProps.v),ut-=1,vt-=1}else ct=V;if(ft=J.sh.paths,Q=ft._length,K){for(lt="",it=0;it<Q;it+=1)U=ft.shapes[it],U&&U._length&&(lt+=buildShapeString(U,U._length,U.c,ct));J.caches[Z]=lt}else lt=J.caches[Z];J.styles[Z].d+=at.hd===!0?"":lt,J.styles[Z]._mdf=K||J.styles[Z]._mdf}}function Y(at,J,st){var it=J.style;(J.c._mdf||st)&&it.pElem.setAttribute("fill","rgb("+bmFloor(J.c.v[0])+","+bmFloor(J.c.v[1])+","+bmFloor(J.c.v[2])+")"),(J.o._mdf||st)&&it.pElem.setAttribute("fill-opacity",J.o.v)}function W(at,J,st){X(at,J,st),et(at,J,st)}function X(at,J,st){var it=J.gf,Q=J.g._hasOpacity,lt=J.s.v,K=J.e.v;if(J.o._mdf||st){var U=at.ty==="gf"?"fill-opacity":"stroke-opacity";J.style.pElem.setAttribute(U,J.o.v)}if(J.s._mdf||st){var Z=at.t===1?"x1":"cx",tt=Z==="x1"?"y1":"cy";it.setAttribute(Z,lt[0]),it.setAttribute(tt,lt[1]),Q&&!J.g._collapsable&&(J.of.setAttribute(Z,lt[0]),J.of.setAttribute(tt,lt[1]))}var ot,ft,ct,ut;if(J.g._cmdf||st){ot=J.cst;var vt=J.g.c;for(ct=ot.length,ft=0;ft<ct;ft+=1)ut=ot[ft],ut.setAttribute("offset",vt[ft*4]+"%"),ut.setAttribute("stop-color","rgb("+vt[ft*4+1]+","+vt[ft*4+2]+","+vt[ft*4+3]+")")}if(Q&&(J.g._omdf||st)){var _t=J.g.o;for(J.g._collapsable?ot=J.cst:ot=J.ost,ct=ot.length,ft=0;ft<ct;ft+=1)ut=ot[ft],J.g._collapsable||ut.setAttribute("offset",_t[ft*2]+"%"),ut.setAttribute("stop-opacity",_t[ft*2+1])}if(at.t===1)(J.e._mdf||st)&&(it.setAttribute("x2",K[0]),it.setAttribute("y2",K[1]),Q&&!J.g._collapsable&&(J.of.setAttribute("x2",K[0]),J.of.setAttribute("y2",K[1])));else{var bt;if((J.s._mdf||J.e._mdf||st)&&(bt=Math.sqrt(Math.pow(lt[0]-K[0],2)+Math.pow(lt[1]-K[1],2)),it.setAttribute("r",bt),Q&&!J.g._collapsable&&J.of.setAttribute("r",bt)),J.s._mdf||J.e._mdf||J.h._mdf||J.a._mdf||st){bt||(bt=Math.sqrt(Math.pow(lt[0]-K[0],2)+Math.pow(lt[1]-K[1],2)));var gt=Math.atan2(K[1]-lt[1],K[0]-lt[0]),Et=J.h.v;Et>=1?Et=.99:Et<=-1&&(Et=-.99);var St=bt*Et,yt=Math.cos(gt+J.a.v)*St+lt[0],ht=Math.sin(gt+J.a.v)*St+lt[1];it.setAttribute("fx",yt),it.setAttribute("fy",ht),Q&&!J.g._collapsable&&(J.of.setAttribute("fx",yt),J.of.setAttribute("fy",ht))}}}function et(at,J,st){var it=J.style,Q=J.d;Q&&(Q._mdf||st)&&Q.dashStr&&(it.pElem.setAttribute("stroke-dasharray",Q.dashStr),it.pElem.setAttribute("stroke-dashoffset",Q.dashoffset[0])),J.c&&(J.c._mdf||st)&&it.pElem.setAttribute("stroke","rgb("+bmFloor(J.c.v[0])+","+bmFloor(J.c.v[1])+","+bmFloor(J.c.v[2])+")"),(J.o._mdf||st)&&it.pElem.setAttribute("stroke-opacity",J.o.v),(J.w._mdf||st)&&(it.pElem.setAttribute("stroke-width",J.w.v),it.msElem&&it.msElem.setAttribute("stroke-width",J.w.v))}return G}();function SVGShapeElement(V,B,G){this.shapes=[],this.shapesData=V.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(V,B,G),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 V,B=this.shapes.length,G,z,N=this.stylesList.length,H,j=[],Y=!1;for(z=0;z<N;z+=1){for(H=this.stylesList[z],Y=!1,j.length=0,V=0;V<B;V+=1)G=this.shapes[V],G.styles.indexOf(H)!==-1&&(j.push(G),Y=G._isAnimated||Y);j.length>1&&Y&&this.setShapesAsAnimated(j)}},SVGShapeElement.prototype.setShapesAsAnimated=function(V){var B,G=V.length;for(B=0;B<G;B+=1)V[B].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(V,B){var G,z=new SVGStyleData(V,B),N=z.pElem;if(V.ty==="st")G=new SVGStrokeStyleData(this,V,z);else if(V.ty==="fl")G=new SVGFillStyleData(this,V,z);else if(V.ty==="gf"||V.ty==="gs"){var H=V.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;G=new H(this,V,z),this.globalData.defs.appendChild(G.gf),G.maskId&&(this.globalData.defs.appendChild(G.ms),this.globalData.defs.appendChild(G.of),N.setAttribute("mask","url("+getLocationHref()+"#"+G.maskId+")"))}else V.ty==="no"&&(G=new SVGNoStyleData(this,V,z));return(V.ty==="st"||V.ty==="gs")&&(N.setAttribute("stroke-linecap",lineCapEnum[V.lc||2]),N.setAttribute("stroke-linejoin",lineJoinEnum[V.lj||2]),N.setAttribute("fill-opacity","0"),V.lj===1&&N.setAttribute("stroke-miterlimit",V.ml)),V.r===2&&N.setAttribute("fill-rule","evenodd"),V.ln&&N.setAttribute("id",V.ln),V.cl&&N.setAttribute("class",V.cl),V.bm&&(N.style["mix-blend-mode"]=getBlendM
vendor: 29,467 bytes, line 9
9ode(V.bm)),this.stylesList.push(z),this.addToAnimatedContents(V,G),G},SVGShapeElement.prototype.createGroupElement=function(V){var B=new ShapeGroupData;return V.ln&&B.gr.setAttribute("id",V.ln),V.cl&&B.gr.setAttribute("class",V.cl),V.bm&&(B.gr.style["mix-blend-mode"]=getBlendMode(V.bm)),B},SVGShapeElement.prototype.createTransformElement=function(V,B){var G=TransformPropertyFactory.getTransformProperty(this,V,this),z=new SVGTransformData(G,G.o,B);return this.addToAnimatedContents(V,z),z},SVGShapeElement.prototype.createShapeElement=function(V,B,G){var z=4;V.ty==="rc"?z=5:V.ty==="el"?z=6:V.ty==="sr"&&(z=7);var N=ShapePropertyFactory.getShapeProp(this,V,z,this),H=new SVGShapeData(B,G,N);return this.shapes.push(H),this.addShapeToModifiers(H),this.addToAnimatedContents(V,H),H},SVGShapeElement.prototype.addToAnimatedContents=function(V,B){for(var G=0,z=this.animatedContents.length;G<z;){if(this.animatedContents[G].element===B)return;G+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(V),element:B,data:V})},SVGShapeElement.prototype.setElementStyles=function(V){var B=V.styles,G,z=this.stylesList.length;for(G=0;G<z;G+=1)B.indexOf(this.stylesList[G])===-1&&!this.stylesList[G].closed&&B.push(this.stylesList[G])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var V,B=this.itemsData.length;for(V=0;V<B;V+=1)this.prevViewData[V]=this.itemsData[V];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),B=this.dynamicProperties.length,V=0;V<B;V+=1)this.dynamicProperties[V].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(V,B,G,z,N,H,j){var Y=[].concat(H),W,X=V.length-1,et,at,J=[],st=[],it,Q,lt;for(W=X;W>=0;W-=1){if(lt=this.searchProcessedElement(V[W]),lt?B[W]=G[lt-1]:V[W]._render=j,V[W].ty==="fl"||V[W].ty==="st"||V[W].ty==="gf"||V[W].ty==="gs"||V[W].ty==="no")lt?B[W].style.closed=V[W].hd:B[W]=this.createStyleElement(V[W],N),V[W]._render&&B[W].style.pElem.parentNode!==z&&z.appendChild(B[W].style.pElem),J.push(B[W].style);else if(V[W].ty==="gr"){if(!lt)B[W]=this.createGroupElement(V[W]);else for(at=B[W].it.length,et=0;et<at;et+=1)B[W].prevViewData[et]=B[W].it[et];this.searchShapes(V[W].it,B[W].it,B[W].prevViewData,B[W].gr,N+1,Y,j),V[W]._render&&B[W].gr.parentNode!==z&&z.appendChild(B[W].gr)}else V[W].ty==="tr"?(lt||(B[W]=this.createTransformElement(V[W],z)),it=B[W].transform,Y.push(it)):V[W].ty==="sh"||V[W].ty==="rc"||V[W].ty==="el"||V[W].ty==="sr"?(lt||(B[W]=this.createShapeElement(V[W],Y,N)),this.setElementStyles(B[W])):V[W].ty==="tm"||V[W].ty==="rd"||V[W].ty==="ms"||V[W].ty==="pb"||V[W].ty==="zz"||V[W].ty==="op"?(lt?(Q=B[W],Q.closed=!1):(Q=ShapeModifiers.getModifier(V[W].ty),Q.init(this,V[W]),B[W]=Q,this.shapeModifiers.push(Q)),st.push(Q)):V[W].ty==="rp"&&(lt?(Q=B[W],Q.closed=!0):(Q=ShapeModifiers.getModifier(V[W].ty),B[W]=Q,Q.init(this,V,W,B),this.shapeModifiers.push(Q),j=!1),st.push(Q));this.addProcessedElement(V[W],W+1)}for(X=J.length,W=0;W<X;W+=1)J[W].closed=!0;for(X=st.length,W=0;W<X;W+=1)st[W].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var V,B=this.stylesList.length;for(V=0;V<B;V+=1)this.stylesList[V].reset();for(this.renderShape(),V=0;V<B;V+=1)(this.stylesList[V]._mdf||this._isFirstFrame)&&(this.stylesList[V].msElem&&(this.stylesList[V].msElem.setAttribute("d",this.stylesList[V].d),this.stylesList[V].d="M0 0"+this.stylesList[V].d),this.stylesList[V].pElem.setAttribute("d",this.stylesList[V].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var V,B=this.animatedContents.length,G;for(V=0;V<B;V+=1)G=this.animatedContents[V],(this._isFirstFrame||G.element._isAnimated)&&G.data!==!0&&G.fn(G.data,G.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(V,B,G,z,N,H){this.o=V,this.sw=B,this.sc=G,this.fc=z,this.m=N,this.p=H,this._mdf={o:!0,sw:!!B,sc:!!G,fc:!!z,m:!0,p:!0}}LetterProps.prototype.update=function(V,B,G,z,N,H){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 j=!1;return this.o!==V&&(this.o=V,this._mdf.o=!0,j=!0),this.sw!==B&&(this.sw=B,this._mdf.sw=!0,j=!0),this.sc!==G&&(this.sc=G,this._mdf.sc=!0,j=!0),this.fc!==z&&(this.fc=z,this._mdf.fc=!0,j=!0),this.m!==N&&(this.m=N,this._mdf.m=!0,j=!0),H.length&&(this.p[0]!==H[0]||this.p[1]!==H[1]||this.p[4]!==H[4]||this.p[5]!==H[5]||this.p[12]!==H[12]||this.p[13]!==H[13])&&(this.p=H,this._mdf.p=!0,j=!0),j};function TextProperty(V,B){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,B.d&&B.d.sid&&(B.d=V.globalData.slotManager.getProp(B.d)),this.data=B,this.elem=V,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(V,B){for(var G in B)Object.prototype.hasOwnProperty.call(B,G)&&(V[G]=B[G]);return V},TextProperty.prototype.setCurrentData=function(V){V.__complete||this.completeTextData(V),this.currentData=V,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(V){this.effectsSequence.push(V),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(V){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!V)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var B=this.currentData,G=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var z,N=this.effectsSequence.length,H=V||this.data.d.k[this.keysIndex].s;for(z=0;z<N;z+=1)G!==this.keysIndex?H=this.effectsSequence[z](H,H.t):H=this.effectsSequence[z](this.currentData,H.t);B!==H&&this.setCurrentData(H),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var V=this.data.d.k,B=this.elem.comp.renderedFrame,G=0,z=V.length;G<=z-1&&!(G===z-1||V[G+1].t>B);)G+=1;return this.keysIndex!==G&&(this.keysIndex=G),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(V){for(var B=[],G=0,z=V.length,N,H,j=!1,Y=!1,W="";G<z;)j=Y,Y=!1,N=V.charCodeAt(G),W=V.charAt(G),FontManager.isCombinedCharacter(N)?j=!0:N>=55296&&N<=56319?FontManager.isRegionalFlag(V,G)?W=V.substr(G,14):(H=V.charCodeAt(G+1),H>=56320&&H<=57343&&(FontManager.isModifier(N,H)?(W=V.substr(G,2),j=!0):FontManager.isFlagEmoji(V.substr(G,4))?W=V.substr(G,4):W=V.substr(G,2))):N>56319?(H=V.charCodeAt(G+1),FontManager.isVariationSelector(N)&&(j=!0)):FontManager.isZeroWidthJoiner(N)&&(j=!0,Y=!0),j?(B[B.length-1]+=W,j=!1):B.push(W),G+=W.length;return B},TextProperty.prototype.completeTextData=function(V){V.__complete=!0;var B=this.elem.globalData.fontManager,G=this.data,z=[],N,H,j,Y=0,W,X=G.m.g,et=0,at=0,J=0,st=[],it=0,Q=0,lt,K,U=B.getFontByName(V.f),Z,tt=0,ot=getFontProperties(U);V.fWeight=ot.weight,V.fStyle=ot.style,V.finalSize=V.s,V.finalText=this.buildFinalText(V.t),H=V.finalText.length,V.finalLineHeight=V.lh;var ft=V.tr/1e3*V.finalSize,ct;if(V.sz)for(var ut=!0,vt=V.sz[0],_t=V.sz[1],bt,gt;ut;){gt=this.buildFinalText(V.t),bt=0,it=0,H=gt.length,ft=V.tr/1e3*V.finalSize;var Et=-1;for(N=0;N<H;N+=1)ct=gt[N].charCodeAt(0),j=!1,gt[N]===" "?Et=N:(ct===13||ct===3)&&(it=0,j=!0,bt+=V.finalLineHeight||V.finalSize*1.2),B.chars?(Z=B.getCharData(gt[N],U.fStyle,U.fFamily),tt=j?0:Z.w*V.finalSize/100):tt=B.measureText(gt[N],V.f,V.finalSize),it+tt>vt&>[N]!==" "?(Et===-1?H+=1:N=Et,bt+=V.finalLineHeight||V.finalSize*1.2,gt.splice(N,Et===N?1:0,"\r"),Et=-1,it=0):(it+=tt,it+=ft);bt+=U.ascent*V.finalSize/100,this.canResize&&V.finalSize>this.minimumFontSize&&_t<bt?(V.finalSize-=1,V.finalLineHeight=V.finalSize*V.lh/V.s):(V.finalText=gt,H=V.finalText.length,ut=!1)}it=-ft,tt=0;var St=0,yt;for(N=0;N<H;N+=1)if(j=!1,yt=V.finalText[N],ct=yt.charCodeAt(0),ct===13||ct===3?(St=0,st.push(it),Q=it>Q?it:Q,it=-2*ft,W="",j=!0,J+=1):W=yt,B.chars?(Z=B.getCharData(yt,U.fStyle,B.getFontByName(V.f).fFamily),tt=j?0:Z.w*V.finalSize/100):tt=B.measureText(W,V.f,V.finalSize),yt===" "?St+=tt+ft:(it+=tt+ft+St,St=0),z.push({l:tt,an:tt,add:et,n:j,anIndexes:[],val:W,line:J,animatorJustifyOffset:0}),X==2){if(et+=tt,W===""||W===" "||N===H-1){for((W===""||W===" ")&&(et-=tt);at<=N;)z[at].an=et,z[at].ind=Y,z[at].extra=tt,at+=1;Y+=1,et=0}}else if(X==3){if(et+=tt,W===""||N===H-1){for(W===""&&(et-=tt);at<=N;)z[at].an=et,z[at].ind=Y,z[at].extra=tt,at+=1;et=0,Y+=1}}else z[Y].ind=Y,z[Y].extra=0,Y+=1;if(V.l=z,Q=it>Q?it:Q,st.push(it),V.sz)V.boxWidth=V.sz[0],V.justifyOffset=0;else switch(V.boxWidth=Q,V.j){case 1:V.justifyOffset=-V.boxWidth;break;case 2:V.justifyOffset=-V.boxWidth/2;break;default:V.justifyOffset=0}V.lineWidths=st;var ht=G.a,pt,rt;K=ht.length;var nt,mt,dt=[];for(lt=0;lt<K;lt+=1){for(pt=ht[lt],pt.a.sc&&(V.strokeColorAnim=!0),pt.a.sw&&(V.strokeWidthAnim=!0),(pt.a.fc||pt.a.fh||pt.a.fs||pt.a.fb)&&(V.fillColorAnim=!0),mt=0,nt=pt.s.b,N=0;N<H;N+=1)rt=z[N],rt.anIndexes[lt]=mt,(nt==1&&rt.val!==""||nt==2&&rt.val!==""&&rt.val!==" "||nt==3&&(rt.n||rt.val==" "||N==H-1)||nt==4&&(rt.n||N==H-1))&&(pt.s.rn===1&&dt.push(mt),mt+=1);G.a[lt].s.totalChars=mt;var Pt=-1,At;if(pt.s.rn===1)for(N=0;N<H;N+=1)rt=z[N],Pt!=rt.anIndexes[lt]&&(Pt=rt.anIndexes[lt],At=dt.splice(Math.floor(Math.random()*dt.length),1)[0]),rt.anIndexes[lt]=At}V.yOffset=V.finalLineHeight||V.finalSize*1.2,V.ls=V.ls||0,V.ascent=U.ascent*V.finalSize/100},TextProperty.prototype.updateDocumentData=function(V,B){B=B===void 0?this.keysIndex:B;var G=this.copyData({},this.data.d.k[B].s);G=this.copyData(G,V),this.data.d.k[B].s=G,this.recalculate(B),this.setCurrentData(G),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(V){var B=this.data.d.k[V].s;B.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(B)},TextProperty.prototype.canResizeFont=function(V){this.canResize=V,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(V){this.minimumFontSize=Math.floor(V)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var V=Math.max,B=Math.min,G=Math.floor;function z(H,j){this._currentTextLength=-1,this.k=!1,this.data=j,this.elem=H,this.comp=H.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(H),this.s=PropertyFactory.getProp(H,j.s||{k:0},0,0,this),"e"in j?this.e=PropertyFactory.getProp(H,j.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(H,j.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(H,j.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(H,j.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(H,j.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(H,j.a,0,.01,this),this.dynamicProperties.length||this.getValue()}z.prototype={getMult:function(j){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var Y=0,W=0,X=1,et=1;this.ne.v>0?Y=this.ne.v/100:W=-this.ne.v/100,this.xe.v>0?X=1-this.xe.v/100:et=1+this.xe.v/100;var at=BezierFactory.getBezierEasing(Y,W,X,et).get,J=0,st=this.finalS,it=this.finalE,Q=this.data.sh;if(Q===2)it===st?J=j>=it?1:0:J=V(0,B(.5/(it-st)+(j-st)/(it-st),1)),J=at(J);else if(Q===3)it===st?J=j>=it?0:1:J=1-V(0,B(.5/(it-st)+(j-st)/(it-st),1)),J=at(J);else if(Q===4)it===st?J=0:(J=V(0,B(.5/(it-st)+(j-st)/(it-st),1)),J<.5?J*=2:J=1-2*(J-.5)),J=at(J);else if(Q===5){if(it===st)J=0;else{var lt=it-st;j=B(V(0,j+.5-st),it-st);var K=-lt/2+j,U=lt/2;J=Math.sqrt(1-K*K/(U*U))}J=at(J)}else Q===6?(it===st?J=0:(j=B(V(0,j+.5-st),it-st),J=(1+Math.cos(Math.PI+Math.PI*2*j/(it-st)))/2),J=at(J)):(j>=G(st)&&(j-st<0?J=V(0,B(B(it,1)-(st-j),1)):J=V(0,B(it-j,1))),J=at(J));if(this.sm.v!==100){var Z=this.sm.v*.01;Z===0&&(Z=1e-8);var tt=.5-Z*.5;J<tt?J=0:(J=(J-tt)/Z,J>1&&(J=1))}return J*this.a.v},getValue:function(j){this.iterateDynamicProperties(),this._mdf=j||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,j&&this.data.r===2&&(this.e.v=this._currentTextLength);var Y=this.data.r===2?1:100/this.data.totalChars,W=this.o.v/Y,X=this.s.v/Y+W,et=this.e.v/Y+W;if(X>et){var at=X;X=et,et=at}this.finalS=X,this.finalE=et}},extendPrototype([DynamicPropertyContainer],z);function N(H,j,Y){return new z(H,j)}return{getTextSelectorProp:N}}();function TextAnimatorDataProperty(V,B,G){var z={propType:!1},N=PropertyFactory.getProp,H=B.a;this.a={r:H.r?N(V,H.r,0,degToRads,G):z,rx:H.rx?N(V,H.rx,0,degToRads,G):z,ry:H.ry?N(V,H.ry,0,degToRads,G):z,sk:H.sk?N(V,H.sk,0,degToRads,G):z,sa:H.sa?N(V,H.sa,0,degToRads,G):z,s:H.s?N(V,H.s,1,.01,G):z,a:H.a?N(V,H.a,1,0,G):z,o:H.o?N(V,H.o,0,.01,G):z,p:H.p?N(V,H.p,1,0,G):z,sw:H.sw?N(V,H.sw,0,0,G):z,sc:H.sc?N(V,H.sc,1,0,G):z,fc:H.fc?N(V,H.fc,1,0,G):z,fh:H.fh?N(V,H.fh,0,0,G):z,fs:H.fs?N(V,H.fs,0,.01,G):z,fb:H.fb?N(V,H.fb,0,.01,G):z,t:H.t?N(V,H.t,0,0,G):z},this.s=TextSelectorProp.getTextSelectorProp(V,B.s,G),this.s.t=B.s.t}function TextAnimatorProperty(V,B,G){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=V,this._renderType=B,this._elem=G,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(G)}TextAnimatorProperty.prototype.searchProperties=function(){var V,B=this._textData.a.length,G,z=PropertyFactory.getProp;for(V=0;V<B;V+=1)G=this._textData.a[V],this._animatorsData[V]=new TextAnimatorDataProperty(this._elem,G,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:z(this._elem,this._textData.p.a,0,0,this),f:z(this._elem,this._textData.p.f,0,0,this),l:z(this._elem,this._textData.p.l,0,0,this),r:z(this._elem,this._textData.p.r,0,0,this),p:z(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=z(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(V,B){if(this.lettersChangedFlag=B,!(!this._mdf&&!this._isFirstFrame&&!B&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var G=this._moreOptions.alignment.v,z=this._animatorsData,N=this._textData,H=this.mHelper,j=this._renderType,Y=this.renderedLetters.length,W,X,et,at,J=V.l,st,it,Q,lt,K,U,Z,tt,ot,ft,ct,ut,vt,_t,bt;if(this._hasMaskedPath){if(bt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var gt=bt.v;this._pathData.r.v&&(gt=gt.reverse()),st={tLength:0,segments:[]},at=gt._length-1;var Et;for(ut=0,et=0;et<at;et+=1)Et=bez.buildBezierData(gt.v[et],gt.v[et+1],[gt.o[et][0]-gt.v[et][0],gt.o[et][1]-gt.v[et][1]],[gt.i[et+1][0]-gt.v[et+1][0],gt.i[et+1][1]-gt.v[et+1][1]]),st.tLength+=Et.segmentLength,st.segments.push(Et),ut+=Et.segmentLength;et=at,bt.v.c&&(Et=bez.buildBezierData(gt.v[et],gt.v[0],[gt.o[et][0]-gt.v[et][0],gt.o[et][1]-gt.v[et][1]],[gt.i[0][0]-gt.v[0][0],gt.i[0][1]-gt.v[0][1]]),st.tLength+=Et.segmentLength,st.segments.push(Et),ut+=Et.segmentLength),this._pathData.pi=st}if(st=this._pathData.pi,it=this._pathData.f.v,Z=0,U=1,lt=0,K=!0,ft=st.segments,it<0&&bt.v.c)for(st.tLength<Math.abs(it)&&(it=-Math.abs(it)%st.tLength),Z=ft.length-1,ot=ft[Z].points,U=ot.length-1;it<0;)it+=ot[U].partialLength,U-=1,U<0&&(Z-=1,ot=ft[Z].points,U=ot.length-1);ot=ft[Z].points,tt=ot[U-1],Q=ot[U],ct=Q.partialLength}at=J.length,W=0,X=0;var St=V.finalSize*1.2*.714,yt=!0,ht,pt,rt,nt,mt;nt=z.length;var dt,Pt=-1,At,Tt,kt,Mt=it,It=Z,Lt=U,zt=-1,Vt,wt,Rt,Ft,xt,Ht,$t,jt,Nt="",qt=this.defaultPropsArray,Wt;if(V.j===2||V.j===1){var Dt=0,Yt=0,Xt=V.j===2?-.5:-1,Ot=0,Zt=!0;for(et=0;et<at;et+=1)if(J[et].n){for(Dt&&(Dt+=Yt);Ot<et;)J[Ot].animatorJustifyOffset=Dt,Ot+=1;Dt=0,Zt=!0}else{for(rt=0;rt<nt;rt+=1)ht=z[rt].a,ht.t.propType&&(Zt&&V.j===2&&(Yt+=ht.t.v*Xt),pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),dt.length?Dt+=ht.t.v*dt[0]*Xt:Dt+=ht.t.v*dt*Xt);Zt=!1}for(Dt&&(Dt+=Yt);Ot<et;)J[Ot].animatorJustifyOffset=Dt,Ot+=1}for(et=0;et<at;et+=1){if(H.reset(),Vt=1,J[et].n)W=0,X+=V.yOffset,X+=yt?1:0,it=Mt,yt=!1,this._hasMaskedPath&&(Z=It,U=Lt,ot=ft[Z].points,tt=ot[U-1],Q=ot[U],ct=Q.partialLength,lt=0),Nt="",jt="",Ht="",Wt="",qt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(zt!==J[et].line){switch(V.j){case 1:it+=ut-V.lineWidths[J[et].line];break;case 2:it+=(ut-V.lineWidths[J[et].line])/2;break}zt=J[et].line}Pt!==J[et].ind&&(J[Pt]&&(it+=J[Pt].extra),it+=J[et].an/2,Pt=J[et].ind),it+=G[0]*J[et].an*.005;var Gt=0;for(rt=0;rt<nt;rt+=1)ht=z[rt].a,ht.p.propType&&(pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),dt.length?Gt+=ht.p.v[0]*dt[0]:Gt+=ht.p.v[0]*dt),ht.a.propType&&(pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),dt.length?Gt+=ht.a.v[0]*dt[0]:Gt+=ht.a.v[0]*dt);for(K=!0,this._pathData.a.v&&(it=J[0].an*.5+(ut-this._pathData.f.v-J[0].an*.5-J[J.length-1].an*.5)*Pt/(at-1),it+=this._pathData.f.v);K;)lt+ct>=it+Gt||!ot?(vt=(it+Gt-lt)/Q.partialLength,Tt=tt.point[0]+(Q.point[0]-tt.point[0])*vt,kt=tt.point[1]+(Q.point[1]-tt.point[1])*vt,H.translate(-G[0]*J[et].an*.005,-(G[1]*St)*.01),K=!1):ot&&(lt+=Q.partialLength,U+=1,U>=ot.length&&(U=0,Z+=1,ft[Z]?ot=ft[Z].points:bt.v.c?(U=0,Z=0,ot=ft[Z].points):(lt-=Q.partialLength,ot=null)),ot&&(tt=Q,Q=ot[U],ct=Q.partialLength));At=J[et].an/2-J[et].add,H.translate(-At,0,0)}else At=J[et].an/2-J[et].add,H.translate(-At,0,0),H.translate(-G[0]*J[et].an*.005,-G[1]*St*.01,0);for(rt=0;rt<nt;rt+=1)ht=z[rt].a,ht.t.propType&&(pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),(W!==0||V.j!==0)&&(this._hasMaskedPath?dt.length?it+=ht.t.v*dt[0]:it+=ht.t.v*dt:dt.length?W+=ht.t.v*dt[0]:W+=ht.t.v*dt));for(V.strokeWidthAnim&&(Rt=V.sw||0),V.strokeColorAnim&&(V.sc?wt=[V.sc[0],V.sc[1],V.sc[2]]:wt=[0,0,0]),V.fillColorAnim&&V.fc&&(Ft=[V.fc[0],V.fc[1],V.fc[2]]),rt=0;rt<nt;rt+=1)ht=z[rt].a,ht.a.propType&&(pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),dt.length?H.translate(-ht.a.v[0]*dt[0],-ht.a.v[1]*dt[1],ht.a.v[2]*dt[2]):H.translate(-ht.a.v[0]*dt,-ht.a.v[1]*dt,ht.a.v[2]*dt));for(rt=0;rt<nt;rt+=1)ht=z[rt].a,ht.s.propType&&(pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),dt.length?H.scale(1+(ht.s.v[0]-1)*dt[0],1+(ht.s.v[1]-1)*dt[1],1):H.scale(1+(ht.s.v[0]-1)*dt,1+(ht.s.v[1]-1)*dt,1));for(rt=0;rt<nt;rt+=1){if(ht=z[rt].a,pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),ht.sk.propType&&(dt.length?H.skewFromAxis(-ht.sk.v*dt[0],ht.sa.v*dt[1]):H.skewFromAxis(-ht.sk.v*dt,ht.sa.v*dt)),ht.r.propType&&(dt.length?H.rotateZ(-ht.r.v*dt[2]):H.rotateZ(-ht.r.v*dt)),ht.ry.propType&&(dt.length?H.rotateY(ht.ry.v*dt[1]):H.rotateY(ht.ry.v*dt)),ht.rx.propType&&(dt.length?H.rotateX(ht.rx.v*dt[0]):H.rotateX(ht.rx.v*dt)),ht.o.propType&&(dt.length?Vt+=(ht.o.v*dt[0]-Vt)*dt[0]:Vt+=(ht.o.v*dt-Vt)*dt),V.strokeWidthAnim&&ht.sw.propType&&(dt.length?Rt+=ht.sw.v*dt[0]:Rt+=ht.sw.v*dt),V.strokeColorAnim&&ht.sc.propType)for(xt=0;xt<3;xt+=1)dt.length?wt[xt]+=(ht.sc.v[xt]-wt[xt])*dt[0]:wt[xt]+=(ht.sc.v[xt]-wt[xt])*dt;if(V.fillColorAnim&&V.fc){if(ht.fc.propType)for(xt=0;xt<3;xt+=1)dt.length?Ft[xt]+=(ht.fc.v[xt]-Ft[xt])*dt[0]:Ft[xt]+=(ht.fc.v[xt]-Ft[xt])*dt;ht.fh.propType&&(dt.length?Ft=addHueToRGB(Ft,ht.fh.v*dt[0]):Ft=addHueToRGB(Ft,ht.fh.v*dt)),ht.fs.propType&&(dt.length?Ft=addSaturationToRGB(Ft,ht.fs.v*dt[0]):Ft=addSaturationToRGB(Ft,ht.fs.v*dt)),ht.fb.propType&&(dt.length?Ft=addBrightnessToRGB(Ft,ht.fb.v*dt[0]):Ft=addBrightnessToRGB(Ft,ht.fb.v*dt))}}for(rt=0;rt<nt;rt+=1)ht=z[rt].a,ht.p.propType&&(pt=z[rt].s,dt=pt.getMult(J[et].anIndexes[rt],N.a[rt].s.totalChars),this._hasMaskedPath?dt.length?H.translate(0,ht.p.v[1]*dt[0],-ht.p.v[2]*dt[1]):H.translate(0,ht.p.v[1]*dt,-ht.p.v[2]*dt):dt.length?H.translate(ht.p.v[0]*dt[0],ht.p.v[1]*dt[1],-ht.p.v[2]*dt[2]):H.translate(ht.p.v[0]*dt,ht.p.v[1]*dt,-ht.p.v[2]*dt));if(V.strokeWidthAnim&&(Ht=Rt<0?0:Rt),V.strokeColorAnim&&($t="rgb("+Math.round(wt[0]*255)+","+Math.round(wt[1]*255)+","+Math.round(wt[2]*255)+")"),V.fillColorAnim&&V.fc&&(jt="rgb("+Math.round(Ft[0]*255)+","+Math.round(Ft[1]*255)+","+Math.round(Ft[2]*255)+")"),this._hasMaskedPath){if(H.translate(0,-V.ls),H.translate(0,G[1]*St*.01+X,0),this._pathData.p.v){_t=(Q.point[1]-tt.point[1])/(Q.point[0]-tt.point[0]);var Jt=Math.atan(_t)*180/Math.PI;Q.point[0]<tt.point[0]&&(Jt+=180),H.rotate(-Jt*Math.PI/180)}H.translate(Tt,kt,0),it-=G[0]*J[et].an*.005,J[et+1]&&Pt!==J[et+1].ind&&(it+=J[et].an/2,it+=V.tr*.001*V.finalSize)}else{switch(H.translate(W,X,0),V.ps&&H.translate(V.ps[0],V.ps[1]+V.ascent,0),V.j){case 1:H.translate(J[et].animatorJustifyOffset+V.justifyOffset+(V.boxWidth-V.lineWidths[J[et].line]),0,0);break;case 2:H.translate(J[et].animatorJustifyOffset+V.justifyOffset+(V.boxWidth-V.lineWidths[J[et].line])/2,0,0);break}H.translate(0,-V.ls),H.translate(At,0,0),H.translate(G[0]*J[et].an*.005,G[1]*St*.01,0),W+=J[et].l+V.tr*.001*V.finalSize}j==="html"?Nt=H.toCSS():j==="svg"?Nt=H.to2dCSS():qt=[H.props[0],H.props[1],H.props[2],H.props[3],H.props[4],H.props[5],H.props[6],H.props[7],H.props[8],H.props[9],H.props[10],H.props[11],H.props[12],H.props[13],H.props[14],H.props[15]],Wt=Vt}Y<=et?(mt=new LetterProps(Wt,Ht,$t,jt,Nt,qt),this.renderedLetters.push(mt),Y+=1,this.lettersChangedFlag=!0):(mt=this.renderedLetters[et],this.lettersChangedFlag=mt.update(Wt,Ht,$t,jt,Nt,qt)||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(V,B,G){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(V,B,G),this.textProperty=new TextProperty(this,V.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(V.t,this.renderType,this),this.initTransform(V,B,G),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(V){this._mdf=!1,this.prepareRenderableFrame(V),this.prepareProperties(V,this.isInRange)},ITextElement.prototype.createPathShape=function(V,B){var G,z=B.length,N,H="";for(G=0;G<z;G+=1)B[G].ty==="sh"&&(N=B[G].ks.k,H+=buildShapeString(N,N.i.length,!0,V));return H},ITextElement.prototype.updateDocumentData=function(V,B){this.textProperty.updateDocumentData(V,B)},ITextElement.prototype.canResizeFont=function(V){this.textProperty.canResizeFont(V)},ITextElement.prototype.setMinimumFontSize=function(V){this.textProperty.setMinimumFontSize(V)},ITextElement.prototype.applyTextPropertiesToMatrix=function(V,B,G,z,N){switch(V.ps&&B.translate(V.ps[0],V.ps[1]+V.ascent,0),B.translate(0,-V.ls,0),V.j){case 1:B.translate(V.justifyOffset+(V.boxWidth-V.lineWidths[G]),0,0);break;case 2:B.translate(V.justifyOffset+(V.boxWidth-V.lineWidths[G])/2,0,0);break}B.translate(z,N,0)},ITextElement.prototype.buildColor=function(V){return"rgb("+Math.round(V[0]*255)+","+Math.round(V[1]*255)+","+Math.round(V[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(V,B,G){this.textSpans=[],this.renderType="svg",this.initElement(V,B,G)}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(V){for(var B=0,G=V.length,z=[],N="";B<G;)V[B]==="\r"||V[B]==="�"?(z.push(N),N=""):N+=V[B],B+=1;return z.push(N),z},SVGTextLottieElement.prototype.buildShapeData=function(V,B){if(V.shapes&&V.shapes.length){var G=V.shapes[0];if(G.it){var z=G.it[G.it.length-1];z.s&&(z.s.k[0]=B,z.s.k[1]=B)}}return V},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var V,B,G=this.textProperty.currentData;this.renderedLetters=createSizedArray(G?G.l.length:0),G.fc?this.layerElement.setAttribute("fill",this.buildColor(G.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),G.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(G.sc)),this.layerElement.setAttribute("stroke-width",G.sw)),this.layerElement.setAttribute("font-size",G.finalSize);var z=this.globalData.fontManager.getFontByName(G.f);if(z.fClass)this.layerElement.setAttribute("class",z.fClass);else{this.layerElement.setAttribute("font-family",z.fFamily);var N=G.fWeight,H=G.fStyle;this.layerElement.setAttribute("font-style",H),this.layerElement.setAttribute("font-weight",N)}this.layerElement.setAttribute("aria-label",G.t);var j=G.l||[],Y=!!this.globalData.fontManager.chars;B=j.length;var W,X=this.mHelper,et="",at=this.data.singleShape,J=0,st=0,it=!0,Q=G.tr*.001*G.finalSize;if(at&&!Y&&!G.sz){var lt=this.textContainer,K="start";switch(G.j){case 1:K="end";break;case 2:K="middle";break;default:K="start";break}lt.setAttribute("text-anchor",K),lt.setAttribute("letter-spacing",Q);var U=this.buildTextContents(G.finalText);for(B=U.length,st=G.ps?G.ps[1]+G.ascent:0,V=0;V<B;V+=1)W=this.textSpans[V].span||createNS("tspan"),W.textContent=U[V],W.setAttribute("x",0),W.setAttribute("y",st),W.style.display="inherit",lt.appendChild(W),this.textSpans[V]||(this.textSpans[V]={span:null,glyph:null}),this.textSpans[V].span=W,st+=G.finalLineHeight;this.layerElement.appendChild(lt)}else{var Z=this.textSpans.length,tt;for(V=0;V<B;V+=1){if(this.textSpans[V]||(this.textSpans[V]={span:null,childSpan:null,glyph:null}),!Y||!at||V===0){if(W=Z>V?this.textSpans[V].span:createNS(Y?"g":"text"),Z<=V){if(W.setAttribute("stroke-linecap","butt"),W.setAttribute("stroke-linejoin","round"),W.setAttribute("stroke-miterlimit","4"),this.textSpans[V].span=W,Y){var ot=createNS("g");W.appendChild(ot),this.textSpans[V].childSpan=ot}this.textSpans[V].span=W,this.layerElement.appendChild(W)}W.style.display="inherit"}if(X.reset(),at&&(j[V].n&&(J=-Q,st+=G.yOffset,st+=it?1:0,it=!1),this.applyTextPropertiesToMatrix(G,X,j[V].line,J,st),J+=j[V].l||0,J+=Q),Y){tt=this.globalData.fontManager.getCharData(G.finalText[V],z.fStyle,this.globalData.fontManager.getFontByName(G.f).fFamily);var ft;if(tt.t===1)ft=new SVGCompElement(tt.data,this.globalData,this);else{var ct=emptyShapeData;tt.data&&tt.data.shapes&&(ct=this.buildShapeData(tt.data,G.finalSize)),ft=new SVGShapeElement(ct,this.globalData,this)}if(this.textSpans[V].glyph){var ut=this.textSpans[V].glyph;this.textSpans[V].childSpan.removeChild(ut.layerElement),ut.destroy()}this.textSpans[V].glyph=ft,ft._debug=!0,ft.prepareFrame(0),ft.renderFrame(),this.textSpans[V].childSpan.appendChild(ft.layerElement),tt.t===1&&this.textSpans[V].childSpan.setAttribute("transform","scale("+G.finalSize/100+","+G.finalSize/100+")")}else at&&W.setAttribute("transform","translate("+X.props[12]+","+X.props[13]+")"),W.textContent=j[V].val,W.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}at&&W&&W.setAttribute("d",et)}for(;V<this.textSpans.length;)this.textSpans[V].span.style.display="none",V+=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 V=this.layerElement.getBBox();this.bbox={top:V.y,left:V.x,width:V.width,height:V.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var V,B=this.textSpans.length,G;for(this.renderedFrame=this.comp.renderedFrame,V=0;V<B;V+=1)G=this.textSpans[V].glyph,G&&(G.prepareFrame(this.comp.renderedFrame-this.data.st),G._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var V,B,G=this.textAnimator.renderedLetters,z=this.textProperty.currentData.l;B=z.length;var N,H,j;for(V=0;V<B;V+=1)z[V].n||(N=G[V],H=this.textSpans[V].span,j=this.textSpans[V].glyph,j&&j.renderFrame(),N._mdf.m&&H.setAttribute("transform",N.m),N._mdf.o&&H.setAttribute("op
9acity",N.o),N._mdf.sw&&H.setAttribute("stroke-width",N.sw),N._mdf.sc&&H.setAttribute("stroke",N.sc),N._mdf.fc&&H.setAttribute("fill",N.fc))}};function ISolidElement(V,B,G){this.initElement(V,B,G)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var V=createNS("rect");V.setAttribute("width",this.data.sw),V.setAttribute("height",this.data.sh),V.setAttribute("fill",this.data.sc),this.layerElement.appendChild(V)};function NullElement(V,B,G){this.initFrame(),this.initBaseData(V,B,G),this.initFrame(),this.initTransform(V,B,G),this.initHierarchy()}NullElement.prototype.prepareFrame=function(V){this.prepareProperties(V,!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(V){return new NullElement(V,this.globalData,this)},SVGRendererBase.prototype.createShape=function(V){return new SVGShapeElement(V,this.globalData,this)},SVGRendererBase.prototype.createText=function(V){return new SVGTextLottieElement(V,this.globalData,this)},SVGRendererBase.prototype.createImage=function(V){return new IImageElement(V,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(V){return new ISolidElement(V,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(V){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+V.w+" "+V.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",V.w),this.svgElement.setAttribute("height",V.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 B=this.globalData.defs;this.setupGlobalData(V,B),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=V;var G=createNS("clipPath"),z=createNS("rect");z.setAttribute("width",V.w),z.setAttribute("height",V.h),z.setAttribute("x",0),z.setAttribute("y",0);var N=createElementID();G.setAttribute("id",N),G.appendChild(z),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+N+")"),B.appendChild(G),this.layers=V.layers,this.elements=createSizedArray(V.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var V,B=this.layers?this.layers.length:0;for(V=0;V<B;V+=1)this.elements[V]&&this.elements[V].destroy&&this.elements[V].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(V){var B=0,G=this.layers.length;for(B=0;B<G;B+=1)if(this.layers[B].ind===V)return B;return-1},SVGRendererBase.prototype.buildItem=function(V){var B=this.elements;if(!(B[V]||this.layers[V].ty===99)){B[V]=!0;var G=this.createItem(this.layers[V]);if(B[V]=G,getExpressionsPlugin()&&(this.layers[V].ty===0&&this.globalData.projectInterface.registerComposition(G),G.initExpressions()),this.appendElementInPos(G,V),this.layers[V].tt){var z="tp"in this.layers[V]?this.findIndexByInd(this.layers[V].tp):V-1;if(z===-1)return;if(!this.elements[z]||this.elements[z]===!0)this.buildItem(z),this.addPendingElement(G);else{var N=B[z],H=N.getMatte(this.layers[V].tt);G.setMatte(H)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var V=this.pendingElements.pop();if(V.checkParenting(),V.data.tt)for(var B=0,G=this.elements.length;B<G;){if(this.elements[B]===V){var z="tp"in V.data?this.findIndexByInd(V.data.tp):B-1,N=this.elements[z],H=N.getMatte(this.layers[B].tt);V.setMatte(H);break}B+=1}}},SVGRendererBase.prototype.renderFrame=function(V){if(!(this.renderedFrame===V||this.destroyed)){V===null?V=this.renderedFrame:this.renderedFrame=V,this.globalData.frameNum=V,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=V,this.globalData._mdf=!1;var B,G=this.layers.length;for(this.completeLayers||this.checkLayers(V),B=G-1;B>=0;
vendor: 5,812 bytes, line 9
9B-=1)(this.completeLayers||this.elements[B])&&this.elements[B].prepareFrame(V-this.layers[B].st);if(this.globalData._mdf)for(B=0;B<G;B+=1)(this.completeLayers||this.elements[B])&&this.elements[B].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(V,B){var G=V.getBaseElement();if(G){for(var z=0,N;z<B;)this.elements[z]&&this.elements[z]!==!0&&this.elements[z].getBaseElement()&&(N=this.elements[z].getBaseElement()),z+=1;N?this.layerElement.insertBefore(G,N):this.layerElement.appendChild(G)}},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(V,B,G){this.initFrame(),this.initBaseData(V,B,G),this.initTransform(V,B,G),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!B.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(V){if(this._mdf=!1,this.prepareRenderableFrame(V),this.prepareProperties(V,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=V/this.data.sr;else{var B=this.tm.v;B===this.data.op&&(B=this.data.op-1),this.renderedFrame=B}var G,z=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),G=z-1;G>=0;G-=1)(this.completeLayers||this.elements[G])&&(this.elements[G].prepareFrame(this.renderedFrame-this.layers[G].st),this.elements[G]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var V,B=this.layers.length;for(V=0;V<B;V+=1)(this.completeLayers||this.elements[V])&&this.elements[V].renderFrame()},ICompElement.prototype.setElements=function(V){this.elements=V},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var V,B=this.layers.length;for(V=0;V<B;V+=1)this.elements[V]&&this.elements[V].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(V,B,G){this.layers=V.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(V,B,G),this.tm=V.tm?PropertyFactory.getProp(this,V.tm,0,B.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(V){return new SVGCompElement(V,this.globalData,this)};function SVGRenderer(V,B){this.animationItem=V,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var G="";if(B&&B.title){var z=createNS("title"),N=createElementID();z.setAttribute("id",N),z.textContent=B.title,this.svgElement.appendChild(z),G+=N}if(B&&B.description){var H=createNS("desc"),j=createElementID();H.setAttribute("id",j),H.textContent=B.description,this.svgElement.appendChild(H),G+=" "+j}G&&this.svgElement.setAttribute("aria-labelledby",G);var Y=createNS("defs");this.svgElement.appendChild(Y);var W=createNS("g");this.svgElement.appendChild(W),this.layerElement=W,this.renderConfig={preserveAspectRatio:B&&B.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:B&&B.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:B&&B.contentVisibility||"visible",progressiveLoad:B&&B.progressiveLoad||!1,hideOnTransparent:!(B&&B.hideOnTransparent===!1),viewBoxOnly:B&&B.viewBoxOnly||!1,viewBoxSize:B&&B.viewBoxSize||!1,className:B&&B.className||"",id:B&&B.id||"",focusable:B&&B.focusable,filterSize:{width:B&&B.filterSize&&B.filterSize.width||"100%",height:B&&B.filterSize&&B.filterSize.height||"100%",x:B&&B.filterSize&&B.filterSize.x||"0%",y:B&&B.filterSize&&B.filterSize.y||"0%"},width:B&&B.width,height:B&&B.height,runExpressions:!B||B.runExpressions===void 0||B.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:Y,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(V){return new SVGCompElement(V,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(B){var G,z=B.length,N="_";for(G=0;G<z;G+=1)N+=B[G].transform.key+"_";var H=this.sequences[N];return H||(H={transforms:[].concat(B),finalTransform:new Matrix,_mdf:!1},this.sequences[N]=H,this.sequenceList.push(H)),H},processSequence:function(B,G){for(var z=0,N=B.transforms.length,H=G;z<N&&!G;){if(B.transforms[z].transform.mProps._mdf){H=!0;break}z+=1}if(H)for(B.finalTransform.reset(),z=N-1;z>=0;z-=1)B.finalTransform.multiply(B.transforms[z].transform.mProps.v);B._mdf=H},processSequences:function(B){var G,z=this.sequenceList.length;for(G=0;G<z;G+=1)this.processSequence(this.sequenceList[G],B)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var B="__lottie_element_luma_buffer",G=null,z=null,N=null;function H(){var W=createNS("svg"),X=createNS("filter"),et=createNS("feColorMatrix");return X.setAttribute("id",B),et.setAttribute("type","matrix"),et.setAttribute("color-interpolation-filters","sRGB"),et.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),X.appendChild(et),W.appendChild(X),W.setAttribute("id",B+"_svg"),featureSupport.svgLumaHidden&&(W.style.display="none"),W}function j(){G||(N=H(),document.body.appendChild(N),G=createTag("canvas"),z=G.getContext("2d"),z.filter="url
9(#"+B+")",z.fillStyle="rgba(0,0,0,0)",z.fillRect(0,0,1,1))}function Y(W){return G||j(),G.width=W.width,G.height=W.height,z.filter="url(#"+B+")",G}return{load:j,get:Y}};function createCanvas(V,B){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(V,B);var G=createTag("canvas");return G.width=V,G.height=B,G}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(V){var B,G=V.data.ef?V.data.ef.length:0;this.filters=[];var z;for(B=0;B<G;B+=1){z=null;var N=V.data.ef[B].ty;if(registeredEffects[N]){var H=registeredEffects[N].effect;z=new H(V.effectsManager.effectElements[B],V)}z&&this.filters.push(z)}this.filters.length&&V.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(V){var B,G=this.filters.length;for(B=0;B<G;B+=1)this.filters[B].renderFrame(V)},CVEffects.prototype.getEffects=function(V){var B,G=this.filters.length,z=[];for(B=0;B<G;B+=1)this.filters[B].type===V&&z.push(this.filters[B]);return z};function registerEffect(V,B){registeredEffects[V]={effect:B}}function CVMaskElement(V,B){this.data=V,this.element=B,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var G,z=this.masksProperties.length,N=!1;for(G=0;G<z;G+=1)this.masksProperties[G].mode!=="n"&&(N=!0),this.viewData[G]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[G],3);this.hasMasks=N,N&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var V=this.element.finalTransform.mat,B=this.element.canvasContext,G,z=this.masksProperties.length,N,H,j;for(B.beginPath(),G=0;G<z;G+=1)if(this.masksProperties[G].mode!=="n"){this.masksProperties[G].inv&&(B.moveTo(0,0),B.lineTo(this.element.globalData.compSize.w,0),B.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),B.lineTo(0,this.element.globalData.compSize.h),B.lineTo(0,0)),j=this.viewData[G].v,N=V.applyToPointArray(j.v[0][0],j.v[0][1],0),B.moveTo(N[0],N[1]);var Y,W=j._length;for(Y=1;Y<W;Y+=1)H=V.applyToTriplePoints(j.o[Y-1],j.i[Y],j.v[Y]),B.bezierCurveTo(H[0],H[1],H[2],H[3],H[4],H[5]);H=V.applyToTriplePoints(j.o[Y-1],j.i[0],j.v[0]),B.bezierCurveTo(H[0],H[1],H[2],H[3],H[4],H[5])}this.element.globalData.renderer.save(!0),B.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var B=this.globalData.canvasContext,G=assetLoader.createCanvas(B.canvas.width,B.canvas.height);this.buffers.push(G);var z=assetLoader.createCanvas(B.canvas.width,B.canvas.height);this.buffers.push(z),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var B=this.globalData;if(B.blendMode!==this.data.bm){B.blendMode=this.data.bm;var G=getBlendMode(this.data.bm);B.canvasContext.globalCompositeOperation=G}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(B){B.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var B=this.buffers[0],G=B.getContext("2d");this.clearCanvas(G),G.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var B=this.buffers[1],G=B.getContext("2d");this.clearCanvas(G),G.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var z=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(z.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var N=assetLoader.getLumaCanvas(this.canvasContext.canvas),H=N.getContext("2d");H.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(N,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(B,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(B){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!B)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var G=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(G),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(G),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(V,B,G,z){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var N=4;B.ty==="rc"?N=5:B.ty==="el"?N=6:B.ty==="sr"&&(N=7),this.sh=ShapePropertyFactory.getShapeProp(V,B,N,V);var H,j=G.length,Y;for(H=0;H<j;H+=1)G[H].closed||(Y={transforms:z.addTransformSequence(G[H].transforms),trNodes:[]},this.styledShapes.push(Y),G[H].elements.push(Y))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(V,B,G){this.shapes=[],this.shapesData=V.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(V,B,G)}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(V,B){var G={data:V,type:V.ty,preTransforms:this.transformsManager.addTransformSequence(B),transforms:[],elements:[],closed:V.hd===!0},z={};if(V.ty==="fl"||V.ty==="st"?(z.c=PropertyFactory.getProp(this,V.c,1,255,this),z.c.k||(G.co="rgb("+bmFloor(z.c.v[0])+","+bmFloor(z.c.v[1])+","+bmFloor(z.c.v[2])+")")):(V.ty==="gf"||V.ty==="gs")&&(z.s=PropertyFactory.getProp(this,V.s,1,null,this),z.e=PropertyFactory.getProp(this,V.e,1,null,this),z.h=PropertyFactory.getProp(this,V.h||{k:0},0,.01,this),z.a=PropertyFactory.getProp(this,V.a||{k:0},0,degToRads,this),z.g=new GradientProperty(this,V.g,this)),z.o=PropertyFactory.getProp(this,V.o,0,.01,this),V.ty==="st"||V.ty==="gs"){if(G.lc=lineCapEnum[V.lc||2],G.lj=lineJoinEnum[V.lj||2],V.lj==1&&(G.ml=V.ml),z.w=PropertyFactory.getProp(this,V.w,0,null,this),z.w.k||(G.wi=z.w.v),V.d){var N=new DashProperty(this,V.d,"canvas",this);z.d=N,z.d.k||(G.da=z.d.dashArray,G.do=z.d.dashoffset[0])}}else G.r=V.r===2?"evenodd":"nonzero";return this.stylesList.push(G),z.style=G,z},CVShapeElement.prototype.createGroupElement=function(){var V={it:[],prevViewData:[]};return V},CVShapeElement.prototype.createTransformElement=function(V){var B={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,V.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,V,this)}};return B},CVShapeElement.prototype.createShapeElement=function(V){var B=new CVShapeData(this,V,this.stylesList,this.transformsManager);return this.shapes.push(B),this.addShapeToModifiers(B),B},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var V,B=this.itemsData.length;for(V=0;V<B;V+=1)this.prevViewData[V]=this.itemsData[V];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),B=this.dynamicProperties.length,V=0;V<B;V+=1)this.dynamicProperties[V].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(V){var B,G=this.stylesList.length;for(B=0;B<G;B+=1)this.stylesList[B].closed||this.stylesList[B].transforms.push(V)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var V,B=this.stylesList.length;for(V=0;V<B;V+=1)this.stylesList[V].closed||this.stylesList[V].transforms.pop()},CVShapeElement.prototype.closeStyles=function(V){var B,G=V.length;for(B=0;B<G;B+=1)V[B].closed=!0},CVShapeElement.prototype.searchShapes=function(V,B,G,z,N){var H,j=V.length-1,Y,W,X=[],et=[],at,J,st,it=[].concat(N);for(H=j;H>=0;H-=1){if(at=this.searchProcessedElement(V[H]),at?B[H]=G[at-1]:V[H]._shouldRender=z,V[H].ty==="fl"||V[H].ty==="st"||V[H].ty==="gf"||V[H].ty==="gs")at?B[H].style.closed=!1:B[H]=this.createStyleElement(V[H],it),X.push(B[H].style);else if(V[H].ty==="gr"){if(!at)B[H]=this.createGroupElement(V[H]);else for(W=B[H].it.length,Y=0;Y<W;Y+=1)B[H].prevViewData[Y]=B[H].it[Y];this.searchShapes(V[H].it,B[H].it,B[H].prevViewData,z,it)}else V[H].ty==="tr"?(at||(st=this.createTransformElement(V[H]),B[H]=st),it.push(B[H]),this.addTransformToStyleList(B[H])):V[H].ty==="sh"||V[H].ty==="rc"||V[H].ty==="el"||V[H].ty==="sr"?at||(B[H]=this.createShapeElement(V[H])):V[H].ty==="tm"||V[H].ty==="rd"||V[H].ty==="pb"||V[H].ty==="zz"||V[H].ty==="op"?(at?(J=B[H],J.closed=!1):(J=ShapeModifiers.getModifier(V[H].ty),J.init(this,V[H]),B[H]=J,this.shapeModifiers.push(J)),et.push(J)):V[H].ty==="rp"&&(at?(J=B[H],J.closed=!0):(J=ShapeModifiers.getModifier(V[H].ty),B[H]=J,J.init(this,V,H,B),this.shapeModifiers.push(J),z=!1),et.push(J));this.addProcessedElement(V[H],H+1)}for(this.removeTransformFromStyleList(),this.closeStyles(X),j=et.length,H=0;H<j;H+=1)et[H].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(V,B){(V._opMdf||B.op._mdf||this._isFirstFrame)&&(B.opacity=V.opacity,B.opacity*=B.op.v,B._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var V,B=this.stylesList.length,G,z,N,H,j,Y,W=this.globalData.renderer,X=this.globalData.canvasContext,et,at;for(V=0;V<B;V+=1)if(at=this.stylesList[V],et=at.type,!((et==="st"||et==="gs")&&at.wi===0||!at.data._shouldRender||at.coOp===0||this.globalData.currentGlobalAlpha===0)){for(W.save(),j=at.elements,et==="st"||et==="gs"?(W.ctxStrokeStyle(et==="st"?at.co:at.grd),W.ctxLineWidth(at.wi),W.ctxLineCap(at.lc),W.ctxLineJoin(at.lj),W.ctxMiterLimit(at.ml||0)):W.ctxFillStyle(et==="fl"?at.co:at.grd),W.ctxOpacity(at.coOp),et!=="st"&&et!=="gs"&&X.beginPath(),W.ctxTransform(at.preTransforms.finalTransform.props),z=j.length,G=0;G<z;G+=1){for((et==="st"||et==="gs")&&(X.beginPath(),at.da&&(X.setLineDash(at.da),X.lineDashOffset=at.do)),Y=j[G].trNodes,H=Y.length,N=0;N<H;N+=1)Y[N].t==="m"?X.moveTo(Y[N].p[0],Y[N].p[1]):Y[N].t==="c"?X.bezierCurveTo(Y[N].pts[0],Y[N].pts[1],Y[N].pts[2],Y[N].pts[3],Y[N].pts[4],Y[N].pts[5]):X.closePath();(et==="st"||et==="gs")&&(W.ctxStroke(),at.da&&X.setLineDash(this.dashResetter))}et!=="st"&&et!=="gs"&&this.globalData.renderer.ctxFill(at.r),W.restore(
vendor: 98,133 bytes, line 9
9)}},CVShapeElement.prototype.renderShape=function(V,B,G,z){var N,H=B.length-1,j;for(j=V,N=H;N>=0;N-=1)B[N].ty==="tr"?(j=G[N].transform,this.renderShapeTransform(V,j)):B[N].ty==="sh"||B[N].ty==="el"||B[N].ty==="rc"||B[N].ty==="sr"?this.renderPath(B[N],G[N]):B[N].ty==="fl"?this.renderFill(B[N],G[N],j):B[N].ty==="st"?this.renderStroke(B[N],G[N],j):B[N].ty==="gf"||B[N].ty==="gs"?this.renderGradientFill(B[N],G[N],j):B[N].ty==="gr"?this.renderShape(j,B[N].it,G[N].it):B[N].ty;z&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(V,B){if(this._isFirstFrame||B._mdf||V.transforms._mdf){var G=V.trNodes,z=B.paths,N,H,j,Y=z._length;G.length=0;var W=V.transforms.finalTransform;for(j=0;j<Y;j+=1){var X=z.shapes[j];if(X&&X.v){for(H=X._length,N=1;N<H;N+=1)N===1&&G.push({t:"m",p:W.applyToPointArray(X.v[0][0],X.v[0][1],0)}),G.push({t:"c",pts:W.applyToTriplePoints(X.o[N-1],X.i[N],X.v[N])});H===1&&G.push({t:"m",p:W.applyToPointArray(X.v[0][0],X.v[0][1],0)}),X.c&&H&&(G.push({t:"c",pts:W.applyToTriplePoints(X.o[N-1],X.i[0],X.v[0])}),G.push({t:"z"}))}}V.trNodes=G}},CVShapeElement.prototype.renderPath=function(V,B){if(V.hd!==!0&&V._shouldRender){var G,z=B.styledShapes.length;for(G=0;G<z;G+=1)this.renderStyledShape(B.styledShapes[G],B.sh)}},CVShapeElement.prototype.renderFill=function(V,B,G){var z=B.style;(B.c._mdf||this._isFirstFrame)&&(z.co="rgb("+bmFloor(B.c.v[0])+","+bmFloor(B.c.v[1])+","+bmFloor(B.c.v[2])+")"),(B.o._mdf||G._opMdf||this._isFirstFrame)&&(z.coOp=B.o.v*G.opacity)},CVShapeElement.prototype.renderGradientFill=function(V,B,G){var z=B.style,N;if(!z.grd||B.g._mdf||B.s._mdf||B.e._mdf||V.t!==1&&(B.h._mdf||B.a._mdf)){var H=this.globalData.canvasContext,j=B.s.v,Y=B.e.v;if(V.t===1)N=H.createLinearGradient(j[0],j[1],Y[0],Y[1]);else{var W=Math.sqrt(Math.pow(j[0]-Y[0],2)+Math.pow(j[1]-Y[1],2)),X=Math.atan2(Y[1]-j[1],Y[0]-j[0]),et=B.h.v;et>=1?et=.99:et<=-1&&(et=-.99);var at=W*et,J=Math.cos(X+B.a.v)*at+j[0],st=Math.sin(X+B.a.v)*at+j[1];N=H.createRadialGradient(J,st,0,j[0],j[1],W)}var it,Q=V.g.p,lt=B.g.c,K=1;for(it=0;it<Q;it+=1)B.g._hasOpacity&&B.g._collapsable&&(K=B.g.o[it*2+1]),N.addColorStop(lt[it*4]/100,"rgba("+lt[it*4+1]+","+lt[it*4+2]+","+lt[it*4+3]+","+K+")");z.grd=N}z.coOp=B.o.v*G.opacity},CVShapeElement.prototype.renderStroke=function(V,B,G){var z=B.style,N=B.d;N&&(N._mdf||this._isFirstFrame)&&(z.da=N.dashArray,z.do=N.dashoffset[0]),(B.c._mdf||this._isFirstFrame)&&(z.co="rgb("+bmFloor(B.c.v[0])+","+bmFloor(B.c.v[1])+","+bmFloor(B.c.v[2])+")"),(B.o._mdf||G._opMdf||this._isFirstFrame)&&(z.coOp=B.o.v*G.opacity),(B.w._mdf||this._isFirstFrame)&&(z.wi=B.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(V,B,G){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(V,B,G)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var V=this.textProperty.currentData;this.renderedLetters=createSizedArray(V.l?V.l.length:0);var B=!1;V.fc?(B=!0,this.values.fill=this.buildColor(V.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=B;var G=!1;V.sc&&(G=!0,this.values.stroke=this.buildColor(V.sc),this.values.sWidth=V.sw);var z=this.globalData.fontManager.getFontByName(V.f),N,H,j=V.l,Y=this.mHelper;this.stroke=G,this.values.fValue=V.finalSize+"px "+this.globalData.fontManager.getFontByName(V.f).fFamily,H=V.finalText.length;var W,X,et,at,J,st,it,Q,lt,K,U=this.data.singleShape,Z=V.tr*.001*V.finalSize,tt=0,ot=0,ft=!0,ct=0;for(N=0;N<H;N+=1){W=this.globalData.fontManager.getCharData(V.finalText[N],z.fStyle,this.globalData.fontManager.getFontByName(V.f).fFamily),X=W&&W.data||{},Y.reset(),U&&j[N].n&&(tt=-Z,ot+=V.yOffset,ot+=ft?1:0,ft=!1),J=X.shapes?X.shapes[0].it:[],it=J.length,Y.scale(V.finalSize/100,V.finalSize/100),U&&this.applyTextPropertiesToMatrix(V,Y,j[N].line,tt,ot),lt=createSizedArray(it-1);var ut=0;for(st=0;st<it;st+=1)if(J[st].ty==="sh"){for(at=J[st].ks.k.i.length,Q=J[st].ks.k,K=[],et=1;et<at;et+=1)et===1&&K.push(Y.applyToX(Q.v[0][0],Q.v[0][1],0),Y.applyToY(Q.v[0][0],Q.v[0][1],0)),K.push(Y.applyToX(Q.o[et-1][0],Q.o[et-1][1],0),Y.applyToY(Q.o[et-1][0],Q.o[et-1][1],0),Y.applyToX(Q.i[et][0],Q.i[et][1],0),Y.applyToY(Q.i[et][0],Q.i[et][1],0),Y.applyToX(Q.v[et][0],Q.v[et][1],0),Y.applyToY(Q.v[et][0],Q.v[et][1],0));K.push(Y.applyToX(Q.o[et-1][0],Q.o[et-1][1],0),Y.applyToY(Q.o[et-1][0],Q.o[et-1][1],0),Y.applyToX(Q.i[0][0],Q.i[0][1],0),Y.applyToY(Q.i[0][0],Q.i[0][1],0),Y.applyToX(Q.v[0][0],Q.v[0][1],0),Y.applyToY(Q.v[0][0],Q.v[0][1],0)),lt[ut]=K,ut+=1}U&&(tt+=j[N].l,tt+=Z),this.textSpans[ct]?this.textSpans[ct].elem=lt:this.textSpans[ct]={elem:lt},ct+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var V=this.canvasContext;V.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var B,G,z,N,H,j,Y=this.textAnimator.renderedLetters,W=this.textProperty.currentData.l;G=W.length;var X,et=null,at=null,J=null,st,it,Q=this.globalData.renderer;for(B=0;B<G;B+=1)if(!W[B].n){if(X=Y[B],X&&(Q.save(),Q.ctxTransform(X.p),Q.ctxOpacity(X.o)),this.fill){for(X&&X.fc?et!==X.fc&&(Q.ctxFillStyle(X.fc),et=X.fc):et!==this.values.fill&&(et=this.values.fill,Q.ctxFillStyle(this.values.fill)),st=this.textSpans[B].elem,N=st.length,this.globalData.canvasContext.beginPath(),z=0;z<N;z+=1)for(it=st[z],j=it.length,this.globalData.canvasContext.moveTo(it[0],it[1]),H=2;H<j;H+=6)this.globalData.canvasContext.bezierCurveTo(it[H],it[H+1],it[H+2],it[H+3],it[H+4],it[H+5]);this.globalData.canvasContext.closePath(),Q.ctxFill()}if(this.stroke){for(X&&X.sw?J!==X.sw&&(J=X.sw,Q.ctxLineWidth(X.sw)):J!==this.values.sWidth&&(J=this.values.sWidth,Q.ctxLineWidth(this.values.sWidth)),X&&X.sc?at!==X.sc&&(at=X.sc,Q.ctxStrokeStyle(X.sc)):at!==this.values.stroke&&(at=this.values.stroke,Q.ctxStrokeStyle(this.values.stroke)),st=this.textSpans[B].elem,N=st.length,this.globalData.canvasContext.beginPath(),z=0;z<N;z+=1)for(it=st[z],j=it.length,this.globalData.canvasContext.moveTo(it[0],it[1]),H=2;H<j;H+=6)this.globalData.canvasContext.bezierCurveTo(it[H],it[H+1],it[H+2],it[H+3],it[H+4],it[H+5]);this.globalData.canvasContext.closePath(),Q.ctxStroke()}X&&this.globalData.renderer.restore()}};function CVImageElement(V,B,G){this.assetData=B.getAssetData(V.refId),this.img=B.imageLoader.getAsset(this.assetData),this.initElement(V,B,G)}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 V=createTag("canvas");V.width=this.assetData.w,V.height=this.assetData.h;var B=V.getContext("2d"),G=this.img.width,z=this.img.height,N=G/z,H=this.assetData.w/this.assetData.h,j,Y,W=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;N>H&&W==="xMidYMid slice"||N<H&&W!=="xMidYMid slice"?(Y=z,j=Y*H):(j=G,Y=j/H),B.drawImage(this.img,(G-j)/2,(z-Y)/2,j,Y,0,0,this.assetData.w,this.assetData.h),this.img=V}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(V,B,G){this.initElement(V,B,G)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(V){return new CVShapeElement(V,this.globalData,this)},CanvasRendererBase.prototype.createText=function(V){return new CVTextElement(V,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(V){return new CVImageElement(V,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(V){return new CVSolidElement(V,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(V){V[0]===1&&V[1]===0&&V[4]===0&&V[5]===1&&V[12]===0&&V[13]===0||this.canvasContext.transform(V[0],V[1],V[4],V[5],V[12],V[13])},CanvasRendererBase.prototype.ctxOpacity=function(V){this.canvasContext.globalAlpha*=V<0?0:V},CanvasRendererBase.prototype.ctxFillStyle=function(V){this.canvasContext.fillStyle=V},CanvasRendererBase.prototype.ctxStrokeStyle=function(V){this.canvasContext.strokeStyle=V},CanvasRendererBase.prototype.ctxLineWidth=function(V){this.canvasContext.lineWidth=V},CanvasRendererBase.prototype.ctxLineCap=function(V){this.canvasContext.lineCap=V},CanvasRendererBase.prototype.ctxLineJoin=function(V){this.canvasContext.lineJoin=V},CanvasRendererBase.prototype.ctxMiterLimit=function(V){this.canvasContext.miterLimit=V},CanvasRendererBase.prototype.ctxFill=function(V){this.canvasContext.fill(V)},CanvasRendererBase.prototype.ctxFillRect=function(V,B,G,z){this.canvasContext.fillRect(V,B,G,z)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(V){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}V&&(this.globalData.blendMode="source-over"),this.contextData.restore(V)},CanvasRendererBase.prototype.configAnimation=function(V){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var B=this.animationItem.container.style;B.width="100%",B.height="100%";var G="0px 0px 0px";B.transformOrigin=G,B.mozTransformOrigin=G,B.webkitTransformOrigin=G,B["-webkit-transform"]=G,B.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.contextData.setContext(this.canvasContext),this.data=V,this.layers=V.layers,this.transformCanvas={w:V.w,h:V.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(V,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(V.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(V,B){this.reset();var G,z;V?(G=V,z=B,this.canvasContext.canvas.width=G,this.canvasContext.canvas.height=z):(this.animationItem.wrapper&&this.animationItem.container?(G=this.animationItem.wrapper.offsetWidth,z=this.animationItem.wrapper.offsetHeight):(G=this.canvasContext.canvas.width,z=this.canvasContext.canvas.height),this.canvasContext.canvas.width=G*this.renderConfig.dpr,this.canvasContext.canvas.height=z*this.renderConfig.dpr);var N,H;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var j=this.renderConfig.preserveAspectRatio.split(" "),Y=j[1]||"meet",W=j[0]||"xMidYMid",X=W.substr(0,4),et=W.substr(4);N=G/z,H=this.transformCanvas.w/this.transformCanvas.h,H>N&&Y==="meet"||H<N&&Y==="slice"?(this.transformCanvas.sx=G/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=G/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=z/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=z/(this.transformCanvas.h/this.renderConfig.dpr)),X==="xMid"&&(H<N&&Y==="meet"||H>N&&Y==="slice")?this.transformCanvas.tx=(G-this.transformCanvas.w*(z/this.transformCanvas.h))/2*this.renderConfig.dpr:X==="xMax"&&(H<N&&Y==="meet"||H>N&&Y==="slice")?this.transformCanvas.tx=(G-this.transformCanvas.w*(z/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,et==="YMid"&&(H>N&&Y==="meet"||H<N&&Y==="slice")?this.transformCanvas.ty=(z-this.transformCanvas.h*(G/this.transformCanvas.w))/2*this.renderConfig.dpr:et==="YMax"&&(H>N&&Y==="meet"||H<N&&Y==="slice")?this.transformCanvas.ty=(z-this.transformCanvas.h*(G/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=G/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=z/(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 V,B=this.layers?this.layers.length:0;for(V=B-1;V>=0;V-=1)this.elements[V]&&this.elements[V].destroy&&this.elements[V].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(V,B){if(!(this.renderedFrame===V&&this.renderConfig.clearCanvas===!0&&!B||this.destroyed||V===-1)){this.renderedFrame=V,this.globalData.frameNum=V-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||B,this.globalData.projectInterface.currentFrame=V;var G,z=this.layers.length;for(this.completeLayers||this.checkLayers(V),G=z-1;G>=0;G-=1)(this.completeLayers||this.elements[G])&&this.elements[G].prepareFrame(V-this.layers[G].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),G=z-1;G>=0;G-=1)(this.completeLayers||this.elements[G])&&this.elements[G].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(V){var B=this.elements;if(!(B[V]||this.layers[V].ty===99)){var G=this.createItem(this.layers[V],this,this.globalData);B[V]=G,G.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var V=this.pendingElements.pop();V.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var V,B=15;for(V=0;V<B;V+=1){var G=new CanvasContext;this.stack[V]=G}this._length=B,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var V=this._length*2,B=0;for(B=this._length;B<V;B+=1)this.stack[B]=new CanvasContext;this._length=V},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(V){this.cArrPos-=1;var B=this.stack[this.cArrPos],G=B.transform,z,N=this.cTr.props;for(z=0;z<16;z+=1)N[z]=G[z];if(V){this.nativeContext.restore();var H=this.stack[this.cArrPos+1];this.appliedFillStyle=H.fillStyle,this.appliedStrokeStyle=H.strokeStyle,this.appliedLineWidth=H.lineWidth,this.appliedLineCap=H.lineCap,this.appliedLineJoin=H.lineJoin,this.appliedMiterLimit=H.miterLimit}this.nativeContext.setTransform(G[0],G[1],G[4],G[5],G[12],G[13]),(V||B.opacity!==-1&&this.currentOpacity!==B.opacity)&&(this.nativeContext.globalAlpha=B.opacity,this.currentOpacity=B.opacity),this.currentFillStyle=B.fillStyle,this.currentStrokeStyle=B.strokeStyle,this.currentLineWidth=B.lineWidth,this.currentLineCap=B.lineCap,this.currentLineJoin=B.lineJoin,this.currentMiterLimit=B.miterLimit},CVContextData.prototype.save=function(V){V&&this.nativeContext.save();var B=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var G=this.stack[this.cArrPos],z;for(z=0;z<16;z+=1)G.transform[z]=B[z];this.cArrPos+=1;var N=this.stack[this.cArrPos];N.opacity=G.opacity,N.fillStyle=G.fillStyle,N.strokeStyle=G.strokeStyle,N.lineWidth=G.lineWidth,N.lineCap=G.lineCap,N.lineJoin=G.lineJoin,N.miterLimit=G.miterLimit},CVContextData.prototype.setOpacity=function(V){this.stack[this.cArrPos].opacity=V},CVContextData.prototype.setContext=function(V){this.nativeContext=V},CVContextData.prototype.fillStyle=function(V){this.stack[this.cArrPos].fillStyle!==V&&(this.currentFillStyle=V,this.stack[this.cArrPos].fillStyle=V)},CVContextData.prototype.strokeStyle=function(V){this.stack[this.cArrPos].strokeStyle!==V&&(this.currentStrokeStyle=V,this.stack[this.cArrPos].strokeStyle=V)},CVContextData.prototype.lineWidth=function(V){this.stack[this.cArrPos].lineWidth!==V&&(this.currentLineWidth=V,this.stack[this.cArrPos].lineWidth=V)},CVContextData.prototype.lineCap=function(V){this.stack[this.cArrPos].lineCap!==V&&(this.currentLineCap=V,this.stack[this.cArrPos].lineCap=V)},CVContextData.prototype.lineJoin=function(V){this.stack[this.cArrPos].lineJoin!==V&&(this.currentLineJoin=V,this.stack[this.cArrPos].lineJoin=V)},CVContextData.prototype.miterLimit=function(V){this.stack[this.cArrPos].miterLimit!==V&&(this.currentMiterLimit=V,this.stack[this.cArrPos].miterLimit=V)},CVContextData.prototype.transform=function(V){this.transformMat.cloneFromProps(V);var B=this.cTr;this.transformMat.multiply(B),B.cloneFromProps(this.transformMat.props);var G=B.props;this.nativeContext.setTransform(G[0],G[1],G[4],G[5],G[12],G[13])},CVContextData.prototype.opacity=function(V){var B=this.stack[this.cArrPos].opacity;B*=V<0?0:V,this.stack[this.cArrPos].opacity!==B&&(this.currentOpacity!==V&&(this.nativeContext.globalAlpha=V,this.currentOpacity=V),this.stack[this.cArrPos].opacity=B)},CVContextData.prototype.fill=function(V){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(V)},CVContextData.prototype.fillRect=function(V,B,G,z){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(V,B,G,z)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(V,B,G){this.completeLayers=!1,this.layers=V.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(V,B,G),this.tm=V.tm?PropertyFactory.getProp(this,V.tm,0,B.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var V=this.canvasContext;V.beginPath(),V.moveTo(0,0),V.lineTo(this.data.w,0),V.lineTo(this.data.w,this.data.h),V.lineTo(0,this.data.h),V.lineTo(0,0),V.clip();var B,G=this.layers.length;for(B=G-1;B>=0;B-=1)(this.completeLayers||this.elements[B])&&this.elements[B].renderFrame()},CVCompElement.prototype.destroy=function(){var V,B=this.layers.length;for(V=B-1;V>=0;V-=1)this.elements[V]&&this.elements[V].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(V){return new CVCompElement(V,this.globalData,this)};function CanvasRenderer(V,B){this.animationItem=V,this.renderConfig={clearCanvas:B&&B.clearCanvas!==void 0?B.clearCanvas:!0,context:B&&B.context||null,progressiveLoad:B&&B.progressiveLoad||!1,preserveAspectRatio:B&&B.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:B&&B.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:B&&B.contentVisibility||"visible",className:B&&B.className||"",id:B&&B.id||"",runExpressions:!B||B.runExpressions===void 0||B.runExpressions},this.renderConfig.dpr=B&&B.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=B&&B.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",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(V){return new CVCompElement(V,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),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 B=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var G=this.finalTransform.mat.toCSS();B.transform=G,B.webkitTransform=G}this.finalTransform._opMdf&&(B.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(V,B,G){this.initElement(V,B,G)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var V;this.data.hasMask?(V=createNS("rect"),V.setAttribute("width",this.data.sw),V.setAttribute("height",this.data.sh),V.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(V=createTag("div"),V.style.width=this.data.sw+"px",V.style.height=this.data.sh+"px",V.style.backgroundColor=this.data.sc),this.layerElement.appendChild(V)};function HShapeElement(V,B,G){this.shapes=[],this.shapesData=V.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(V,B,G),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 V;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),V=this.svgElement;else{V=createNS("svg");var B=this.comp.data?this.comp.data:this.globalData.compSize;V.setAttribute("width",B.w),V.setAttribute("height",B.h),V.appendChild(this.shapesContainer),this.layerElement.appendChild(V)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=V},HShapeElement.prototype.getTransformedPoint=function(V,B){var G,z=V.length;for(G=0;G<z;G+=1)B=V[G].mProps.v.applyToPointArray(B[0],B[1],0);return B},HShapeElement.prototype.calculateShapeBoundingBox=function(V,B){var G=V.sh.v,z=V.transformers,N,H=G._length,j,Y,W,X;if(!(H<=1)){for(N=0;N<H-1;N+=1)j=this.getTransformedPoint(z,G.v[N]),Y=this.getTransformedPoint(z,G.o[N]),W=this.getTransformedPoint(z,G.i[N+1]),X=this.getTransformedPoint(z,G.v[N+1]),this.checkBounds(j,Y,W,X,B);G.c&&(j=this.getTransformedPoint(z,G.v[N]),Y=this.getTransformedPoint(z,G.o[N]),W=this.getTransformedPoint(z,G.i[0]),X=this.getTransformedPoint(z,G.v[0]),this.checkBounds(j,Y,W,X,B))}},HShapeElement.prototype.checkBounds=function(V,B,G,z,N){this.getBoundsOfCurve(V,B,G,z);var H=this.shapeBoundingBox;N.x=bmMin(H.left,N.x),N.xMax=bmMax(H.right,N.xMax),N.y=bmMin(H.top,N.y),N.yMax=bmMax(H.bottom,N.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(V,B,G,z){for(var N=[[V[0],z[0]],[V[1],z[1]]],H,j,Y,W,X,et,at,J=0;J<2;++J)j=6*V[J]-12*B[J]+6*G[J],H=-3*V[J]+9*B[J]-9*G[J]+3*z[J],Y=3*B[J]-3*V[J],j|=0,H|=0,Y|=0,H===0&&j===0||(H===0?(W=-Y/j,W>0&&W<1&&N[J].push(this.calculateF(W,V,B,G,z,J))):(X=j*j-4*Y*H,X>=0&&(et=(-j+bmSqrt(X))/(2*H),et>0&&et<1&&N[J].push(this.calculateF(et,V,B,G,z,J)),at=(-j-bmSqrt(X))/(2*H),at>0&&at<1&&N[J].push(this.calculateF(at,V,B,G,z,J)))));this.shapeBoundingBox.left=bmMin.apply(null,N[0]),this.shapeBoundingBox.top=bmMin.apply(null,N[1]),this.shapeBoundingBox.right=bmMax.apply(null,N[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,N[1])},HShapeElement.prototype.calculateF=function(V,B,G,z,N,H){return bmPow(1-V,3)*B[H]+3*bmPow(1-V,2)*V*G[H]+3*(1-V)*bmPow(V,2)*z[H]+bmPow(V,3)*N[H]},HShapeElement.prototype.calculateBoundingBox=function(V,B){var G,z=V.length;for(G=0;G<z;G+=1)V[G]&&V[G].sh?this.calculateShapeBoundingBox(V[G],B):V[G]&&V[G].it?this.calculateBoundingBox(V[G].it,B):V[G]&&V[G].style&&V[G].w&&this.expandStrokeBoundingBox(V[G].w,B)},HShapeElement.prototype.expandStrokeBoundingBox=function(V,B){var G=0;if(V.keyframes){for(var z=0;z<V.keyframes.length;z+=1){var N=V.keyframes[z].s;N>G&&(G=N)}G*=V.mult}else G=V.v*V.mult;B.x-=G,B.xMax+=G,B.y-=G,B.yMax+=G},HShapeElement.prototype.currentBoxContains=function(V){return this.currentBBox.x<=V.x&&this.currentBBox.y<=V.y&&this.currentBBox.width+this.currentBBox.x>=V.x+V.width&&this.currentBBox.height+this.currentBBox.y>=V.y+V.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var V=this.tempBoundingBox,B=999999;if(V.x=B,V.xMax=-B,V.y=B,V.yMax=-B,this.calculateBoundingBox(this.itemsData,V),V.width=V.xMax<V.x?0:V.xMax-V.x,V.height=V.yMax<V.y?0:V.yMax-V.y,this.currentBoxContains(V))return;var G=!1;if(this.currentBBox.w!==V.width&&(this.currentBBox.w=V.width,this.shapeCont.setAttribute("width",V.width),G=!0),this.currentBBox.h!==V.height&&(this.currentBBox.h=V.height,this.shapeCont.setAttribute("height",V.height),G=!0),G||this.currentBBox.x!==V.x||this.currentBBox.y!==V.y){this.currentBBox.w=V.width,this.currentBBox.h=V.height,this.currentBBox.x=V.x,this.currentBBox.y=V.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var z=this.shapeCont.style,N="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";z.transform=N,z.webkitTransform=N}}};function HTextElement(V,B,G){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(V,B,G)}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 V=createNS("g");this.maskedElement.appendChild(V),this.innerElem=V}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var V=this.textProperty.currentData;this.renderedLetters=createSizedArray(V.l?V.l.length:0);var B=this.innerElem.style,G=V.fc?this.buildColor(V.fc):"rgba(0,0,0,0)";B.fill=G,B.color=G,V.sc&&(B.stroke=this.buildColor(V.sc),B.strokeWidth=V.sw+"px");var z=this.globalData.fontManager.getFontByName(V.f);if(!this.globalData.fontManager.chars)if(B.fontSize=V.finalSize+"px",B.lineHeight=V.finalSize+"px",z.fClass)this.innerElem.className=z.fClass;else{B.fontFamily=z.fFamily;var N=V.fWeight,H=V.fStyle;B.fontStyle=H,B.fontWeight=N}var j,Y,W=V.l;Y=W.length;var X,et,at,J=this.mHelper,st,it="",Q=0;for(j=0;j<Y;j+=1){if(this.globalData.fontManager.chars?(this.textPaths[Q]?X=this.textPaths[Q]:(X=createNS("path"),X.setAttribute("stroke-linecap",lineCapEnum[1]),X.setAttribute("stroke-linejoin",lineJoinEnum[2]),X.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[Q]?(et=this.textSpans[Q],at=et.children[0]):(et=createTag("div"),et.style.lineHeight=0,at=createNS("svg"),at.appendChild(X),styleDiv(et)))):this.isMasked?X=this.textPaths[Q]?this.textPaths[Q]:createNS("text"):this.textSpans[Q]?(et=this.textSpans[Q],X=this.textPaths[Q]):(et=createTag("span"),styleDiv(et),X=createTag("span"),styleDiv(X),et.appendChild(X)),this.globalData.fontManager.chars){var lt=this.globalData.fontManager.getCharData(V.finalText[j],z.fStyle,this.globalData.fontManager.getFontByName(V.f).fFamily),K;if(lt?K=lt.data:K=null,J.reset(),K&&K.shapes&&K.shapes.length&&(st=K.shapes[0].it,J.scale(V.finalSize/100,V.finalSize/100),it=this.createPathShape(J,st),X.setAttribute("d",it)),this.isMasked)this.innerElem.appendChild(X);else{if(this.innerElem.appendChild(et),K&&K.shapes){document.body.appendChild(at);var U=at.getBBox();at.setAttribute("width",U.width+2),at.setAttribute("height",U.height+2),at.setAttribute("viewBox",U.x-1+" "+(U.y-1)+" "+(U.width+2)+" "+(U.height+2));var Z=at.style,tt="translate("+(U.x-1)+"px,"+(U.y-1)+"px)";Z.transform=tt,Z.webkitTransform=tt,W[j].yOffset=U.y-1}else at.setAttribute("width",1),at.setAttribute("height",1);et.appendChild(at)}}else if(X.textContent=W[j].val,X.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(X);else{this.innerElem.appendChild(et);var ot=X.style,ft="translate3d(0,"+-V.finalSize/1.2+"px,0)";ot.transform=ft,ot.webkitTransform=ft}this.isMasked?this.textSpans[Q]=X:this.textSpans[Q]=et,this.textSpans[Q].style.display="block",this.textPaths[Q]=X,Q+=1}for(;Q<this.textSpans.length;)this.textSpans[Q].style.display="none",Q+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var V;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),V=this.svgElement.style;var B="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";V.transform=B,V.webkitTransform=B}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var G,z,N=0,H=this.textAnimator.renderedLetters,j=this.textProperty.currentData.l;z=j.length;var Y,W,X;for(G=0;G<z;G+=1)j[G].n?N+=1:(W=this.textSpans[G],X=this.textPaths[G],Y=H[N],N+=1,Y._mdf.m&&(this.isMasked?W.setAttribute("transform",Y.m):(W.style.webkitTransform=Y.m,W.style.transform=Y.m)),W.style.opacity=Y.o,Y.sw&&Y._mdf.sw&&X.setAttribute("stroke-width",Y.sw),Y.sc&&Y._mdf.sc&&X.setAttribute("stroke",Y.sc),Y.fc&&Y._mdf.fc&&(X.setAttribute("fill",Y.fc),X.style.color=Y.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var et=this.innerElem.getBBox();this.currentBBox.w!==et.width&&(this.currentBBox.w=et.width,this.svgElement.setAttribute("width",et.width)),this.currentBBox.h!==et.height&&(this.currentBBox.h=et.height,this.svgElement.setAttribute("height",et.height));var at=1;if(this.currentBBox.w!==et.width+at*2||this.currentBBox.h!==et.height+at*2||this.currentBBox.x!==et.x-at||this.currentBBox.y!==et.y-at){this.currentBBox.w=et.width+at*2,this.currentBBox.h=et.height+at*2,this.currentBBox.x=et.x-at,this.currentBBox.y=et.y-at,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),V=this.svgElement.style;var J="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";V.transform=J,V.webkitTransform=J}}}};function HCameraElement(V,B,G){this.initFrame(),this.initBaseData(V,B,G),this.initHierarchy();var z=PropertyFactory.getProp;if(this.pe=z(this,V.pe,0,0,this),V.ks.p.s?(this.px=z(this,V.ks.p.x,1,0,this),this.py=z(this,V.ks.p.y,1,0,this),this.pz=z(this,V.ks.p.z,1,0,this)):this.p=z(this,V.ks.p,1,0,this),V.ks.a&&(this.a=z(this,V.ks.a,1,0,this)),V.ks.or.k.length&&V.ks.or.k[0].to){var N,H=V.ks.or.k.length;for(N=0;N<H;N+=1)V.ks.or.k[N].to=null,V.ks.or.k[N].ti=null}this.or=z(this,V.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=z(this,V.ks.rx,0,degToRads,this),this.ry=z(this,V.ks.ry,0,degToRads,this),this.rz=z(this,V.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 V,B=this.comp.threeDElements.length,G,z,N;for(V=0;V<B;V+=1)if(G=this.comp.threeDElements[V],G.type==="3d"){z=G.perspectiveElem.style,N=G.container.style;var H=this.pe.v+"px",j="0px 0px 0px",Y="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";z.perspective=H,z.webkitPerspective=H,N.transformOrigin=j,N.mozTransformOrigin=j,N.webkitTransformOrigin=j,z.transform=Y,z.webkitTransform=Y}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var V=this._isFirstFrame,B,G;if(this.hierarchy)for(G=this.hierarchy.length,B=0;B<G;B+=1)V=this.hierarchy[B].finalTransform.mProp._mdf||V;if(V||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(G=this.hierarchy.length-1,B=G;B>=0;B-=1){var z=this.hierarchy[B].finalTransform.mProp;this.mat.translate(-z.p.v[0],-z.p.v[1],z.p.v[2]),this.mat.rotateX(-z.or.v[0]).rotateY(-z.or.v[1]).rotateZ(z.or.v[2]),this.mat.rotateX(-z.rx.v).rotateY(-z.ry.v).rotateZ(z.rz.v),this.mat.scale(1/z.s.v[0],1/z.s.v[1],1/z.s.v[2]),this.mat.translate(z.a.v[0],z.a.v[1],z.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 N;this.p?N=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:N=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var H=Math.sqrt(Math.pow(N[0],2)+Math.pow(N[1],2)+Math.pow(N[2],2)),j=[N[0]/H,N[1]/H,N[2]/H],Y=Math.sqrt(j[2]*j[2]+j[0]*j[0]),W=Math.atan2(j[1],Y),X=Math.atan2(j[0],-j[2]);this.mat.rotateY(X).rotateX(-W)}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 et=!this._prevMat.equals(this.mat);if((et||this.pe._mdf)&&this.comp.threeDElements){G=this.comp.threeDElements.length;var at,J,st;for(B=0;B<G;B+=1)if(at=this.comp.threeDElements[B],at.type==="3d"){if(et){var it=this.mat.toCSS();st=at.container.style,st.transform=it,st.webkitTransform=it}this.pe._mdf&&(J=at.perspectiveElem.style,J.perspective=this.pe.v+"px",J.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(V){this.prepareProperties(V,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(V,B,G){this.assetData=B.getAssetData(V.refId),this.initElement(V,B,G)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var V=this.globalData.getAssetsPath(this.assetData),B=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",V),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(B),B.crossOrigin="anonymous",B.src=V,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(V,B){this.animationItem=V,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:B&&B.className||"",imagePreserveAspectRatio:B&&B.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(B&&B.hideOnTransparent===!1),filterSize:{width:B&&B.filterSize&&B.filterSize.width||"400%",height:B&&B.filterSize&&B.filterSize.height||"400%",x:B&&B.filterSize&&B.filterSize.x||"-100%",y:B&&B.filterSize&&B.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 V=this.pendingElements.pop();V.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(V,B){var G=V.getBaseElement();if(G){var z=this.layers[B];if(!z.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(G,B);else{for(var N=0,H,j,Y;N<B;)this.elements[N]&&this.elements[N]!==!0&&this.elements[N].getBaseElement&&(j=this.elements[N],Y=this.layers[N].ddd?this.getThreeDContainerByPos(N):j.getBaseElement(),H=Y||H),N+=1;H?(!z.ddd||!this.supports3d)&&this.layerElement.insertBefore(G,H):(!z.ddd||!this.supports3d)&&this.layerElement.appendChild(G)}else this.addTo3dContainer(G,B)}},HybridRendererBase.prototype.createShape=function(V){return this.supports3d?new HShapeElement(V,this.globalData,this):new SVGShapeElement(V,this.globalData,this)},HybridRendererBase.prototype.createText=function(V){return this.supports3d?new HTextElement(V,this.globalData,this):new SVGTextLottieElement(V,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(V){return this.camera=new HCameraElement(V,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(V){return this.supports3d?new HImageElement(V,this.globalData,this):new IImageElement(V,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(V){return this.supports3d?new HSolidElement(V,this.globalData,this):new ISolidElement(V,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(V){for(var B=0,G=this.threeDElements.length;B<G;){if(this.threeDElements[B].startPos<=V&&this.threeDElements[B].endPos>=V)return this.threeDElements[B].perspectiveElem;B+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(V,B){var G=createTag("div"),z,N;styleDiv(G);var H=createTag("div");if(styleDiv(H),B==="3d"){z=G.style,z.width=this.globalData.compSize.w+"px",z.height=this.globalData.compSize.h+"px";var j="50% 50%";z.webkitTransformOrigin=j,z.mozTransformOrigin=j,z.transformOrigin=j,N=H.style;var Y="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";N.transform=Y,N.webkitTransform=Y}G.appendChild(H);var W={container:H,perspectiveElem:G,startPos:V,endPos:V,type:B};return this.threeDElements.push(W),W},HybridRendererBase.prototype.build3dContainers=function(){var V,B=this.layers.length,G,z="";for(V=0;V<B;V+=1)this.layers[V].ddd&&this.layers[V].ty!==3?(z!=="3d"&&(z="3d",G=this.createThreeDContainer(V,"3d")),G.endPos=Math.max(G.endPos,V)):(z!=="2d"&&(z="2d",G=this.createThreeDContainer(V,"2d")),G.endPos=Math.max(G.endPos,V));for(B=this.threeDElements.length,V=B-1;V>=0;V-=1)this.resizerElem.appendChild(this.threeDElements[V].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(V,B){for(var G=0,z=this.threeDElements.length;G<z;){if(B<=this.threeDElements[G].endPos){for(var N=this.threeDElements[G].startPos,H;N<B;)this.elements[N]&&this.elements[N].getBaseElement&&(H=this.elements[N].getBaseElement()),N+=1;H?this.threeDElements[G].container.insertBefore(V,H):this.threeDElements[G].container.appendChild(V);break}G+=1}},HybridRendererBase.prototype.configAnimation=function(V){var B=createTag("div"),G=this.animationItem.wrapper,z=B.style;z.width=V.w+"px",z.height=V.h+"px",this.resizerElem=B,styleDiv(B),z.transformStyle="flat",z.mozTransformStyle="flat",z.webkitTransformStyle="flat",this.renderConfig.className&&B.setAttribute("class",this.renderConfig.className),G.appendChild(B),z.overflow="hidden";var N=createNS("svg");N.setAttribute("width","1"),N.setAttribute("height","1"),styleDiv(N),this.resizerElem.appendChild(N);var H=createNS("defs");N.appendChild(H),this.data=V,this.setupGlobalData(V,N),this.globalData.defs=H,this.layers=V.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 V,B=this.layers?this.layers.length:0;for(V=0;V<B;V+=1)this.elements[V]&&this.elements[V].destroy&&this.elements[V].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var V=this.animationItem.wrapper.offsetWidth,B=this.animationItem.wrapper.offsetHeight,G=V/B,z=this.globalData.compSize.w/this.globalData.compSize.h,N,H,j,Y;z>G?(N=V/this.globalData.compSize.w,H=V/this.globalData.compSize.w,j=0,Y=(B-this.globalData.compSize.h*(V/this.globalData.compSize.w))/2):(N=B/this.globalData.compSize.h,H=B/this.globalData.compSize.h,j=(V-this.globalData.compSize.w*(B/this.globalData.compSize.h))/2,Y=0);var W=this.resizerElem.style;W.webkitTransform="matrix3d("+N+",0,0,0,0,"+H+",0,0,0,0,1,0,"+j+","+Y+",0,1)",W.transform=W.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 V=this.globalData.compSize.w,B=this.globalData.compSize.h,G,z=this.threeDElements.length;for(G=0;G<z;G+=1){var N=this.threeDElements[G].perspectiveElem.style;N.webkitPerspective=Math.sqrt(Math.pow(V,2)+Math.pow(B,2))+"px",N.perspective=N.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(V){var B,G=V.length,z=createTag("div");for(B=0;B<G;B+=1)if(V[B].xt){var N=this.createComp(V[B],z,this.globalData.comp,null);N.initExpressions(),this.globalData.projectInterface.registerComposition(N)}};function HCompElement(V,B,G){this.layers=V.layers,this.supports3d=!V.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(V,B,G),this.tm=V.tm?PropertyFactory.getProp(this,V.tm,0,B.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(V,B){for(var G=0,z;G<B;)this.elements[G]&&this.elements[G].getBaseElement&&(z=this.elements[G].getBaseElement()),G+=1;z?this.layerElement.insertBefore(V,z):this.layerElement.appendChild(V)},HCompElement.prototype.createComp=function(V){return this.supports3d?new HCompElement(V,this.globalData,this):new SVGCompElement(V,this.globalData,this)};function HybridRenderer(V,B){this.animationItem=V,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:B&&B.className||"",imagePreserveAspectRatio:B&&B.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(B&&B.hideOnTransparent===!1),filterSize:{width:B&&B.filterSize&&B.filterSize.width||"400%",height:B&&B.filterSize&&B.filterSize.height||"400%",x:B&&B.filterSize&&B.filterSize.x||"-100%",y:B&&B.filterSize&&B.filterSize.y||"-100%"},runExpressions:!B||B.runExpressions===void 0||B.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(V){return this.supports3d?new HCompElement(V,this.globalData,this):new SVGCompElement(V,this.globalData,this)};var CompExpressionInterface=function(){return function(V){function B(G){for(var z=0,N=V.layers.length;z<N;){if(V.layers[z].nm===G||V.layers[z].ind===G)return V.elements[z].layerInterface;z+=1}return null}return Object.defineProperty(B,"_name",{value:V.data.nm}),B.layer=B,B.pixelAspect=1,B.height=V.data.h||V.globalData.compSize.h,B.width=V.data.w||V.globalData.compSize.w,B.pixelAspect=1,B.frameDuration=1/V.globalData.frameRate,B.displayStartTime=0,B.numLayers=V.layers.length,B}}();function _typeof$2(V){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},_typeof$2(V)}function seedRandom(V,B){var G=this,z=256,N=6,H=52,j="random",Y=B.pow(z,N),W=B.pow(2,H),X=W*2,et=z-1,at;function J(Z,tt,ot){var ft=[];tt=tt===!0?{entropy:!0}:tt||{};var ct=lt(Q(tt.entropy?[Z,U(V)]:Z===null?K():Z,3),ft),ut=new st(ft),vt=function(){for(var bt=ut.g(N),gt=Y,Et=0;bt<W;)bt=(bt+Et)*z,gt*=z,Et=ut.g(1);for(;bt>=X;)bt/=2,gt/=2,Et>>>=1;return(bt+Et)/gt};return vt.int32=function(){return ut.g(4)|0},vt.quick=function(){return ut.g(4)/4294967296},vt.double=vt,lt(U(ut.S),V),(tt.pass||ot||function(_t,bt,gt,Et){return Et&&(Et.S&&it(Et,ut),_t.state=function(){return it(ut,{})}),gt?(B[j]=_t,bt):_t})(vt,ct,"global"in tt?tt.global:this==B,tt.state)}B["seed"+j]=J;function st(Z){var tt,ot=Z.length,ft=this,ct=0,ut=ft.i=ft.j=0,vt=ft.S=[];for(ot||(Z=[ot++]);ct<z;)vt[ct]=ct++;for(ct=0;ct<z;ct++)vt[ct]=vt[ut=et&ut+Z[ct%ot]+(tt=vt[ct])],vt[ut]=tt;ft.g=function(_t){for(var bt,gt=0,Et=ft.i,St=ft.j,yt=ft.S;_t--;)bt=yt[Et=et&Et+1],gt=gt*z+yt[et&(yt[Et]=yt[St=et&St+bt])+(yt[St]=bt)];return ft.i=Et,ft.j=St,gt}}function it(Z,tt){return tt.i=Z.i,tt.j=Z.j,tt.S=Z.S.slice(),tt}function Q(Z,tt){var ot=[],ft=_typeof$2(Z),ct;if(tt&&ft=="object")for(ct in Z)try{ot.push(Q(Z[ct],tt-1))}catch{}return ot.length?ot:ft=="string"?Z:Z+"\0"}function lt(Z,tt){for(var ot=Z+"",ft,ct=0;ct<ot.length;)tt[et&ct]=et&(ft^=tt[et&ct]*19)+ot.charCodeAt(ct++);return U(tt)}function K(){try{var Z=new Uint8Array(z);return(G.crypto||G.msCrypto).getRandomValues(Z),U(Z)}catch{var tt=G.navigator,ot=tt&&tt.plugins;return[+new Date,G,ot,G.screen,U(V)]}}function U(Z){return String.fromCharCode.apply(0,Z)}lt(B.random(),V)}function initialize$2(V){seedRandom([],V)}var propTypes={SHAPE:"shape"};function _typeof$1(V){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},_typeof$1(V)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(V){return V.constructor===Array||V.constructor===Float32Array}function isNumerable(V,B){return V==="number"||B instanceof Number||V==="boolean"||V==="string"}function $bm_neg(V){var B=_typeof$1(V);if(B==="number"||V instanceof Number||B==="boolean")return-V;if($bm_isInstanceOfArray(V)){var G,z=V.length,N=[];for(G=0;G<z;G+=1)N[G]=-V[G];return N}return V.propType?V.v:-V}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(V,B){var G=_typeof$1(V),z=_typeof$1(B);if(isNumerable(G,V)&&isNumerable(z,B)||G==="string"||z==="string")return V+B;if($bm_isInstanceOfArray(V)&&isNumerable(z,B))return V=V.slice(0),V[0]+=B,V;if(isNumerable(G,V)&&$bm_isInstanceOfArray(B))return B=B.slice(0),B[0]=V+B[0],B;if($bm_isInstanceOfArray(V)&&$bm_isInstanceOfArray(B)){for(var N=0,H=V.length,j=B.length,Y=[];N<H||N<j;)(typeof V[N]=="number"||V[N]instanceof Number)&&(typeof B[N]=="number"||B[N]instanceof Number)?Y[N]=V[N]+B[N]:Y[N]=B[N]===void 0?V[N]:V[N]||B[N],N+=1;return Y}return 0}var add=sum;function sub(V,B){var G=_typeof$1(V),z=_typeof$1(B);if(isNumerable(G,V)&&isNumerable(z,B))return G==="string"&&(V=parseInt(V,10)),z==="string"&&(B=parseInt(B,10)),V-B;if($bm_isInstanceOfArray(V)&&isNumerable(z,B))return V=V.slice(0),V[0]-=B,V;if(isNumerable(G,V)&&$bm_isInstanceOfArray(B))return B=B.slice(0),B[0]=V-B[0],B;if($bm_isInstanceOfArray(V)&&$bm_isInstanceOfArray(B)){for(var N=0,H=V.length,j=B.length,Y=[];N<H||N<j;)(typeof V[N]=="number"||V[N]instanceof Number)&&(typeof B[N]=="number"||B[N]instanceof Number)?Y[N]=V[N]-B[N]:Y[N]=B[N]===void 0?V[N]:V[N]||B[N],N+=1;return Y}return 0}function mul(V,B){var G=_typeof$1(V),z=_typeof$1(B),N;if(isNumerable(G,V)&&isNumerable(z,B))return V*B;var H,j;if($bm_isInstanceOfArray(V)&&isNumerable(z,B)){for(j=V.length,N=createTypedArray("float32",j),H=0;H<j;H+=1)N[H]=V[H]*B;return N}if(isNumerable(G,V)&&$bm_isInstanceOfArray(B)){for(j=B.length,N=createTypedArray("float32",j),H=0;H<j;H+=1)N[H]=V*B[H];return N}return 0}function div(V,B){var G=_typeof$1(V),z=_typeof$1(B),N;if(isNumerable(G,V)&&isNumerable(z,B))return V/B;var H,j;if($bm_isInstanceOfArray(V)&&isNumerable(z,B)){for(j=V.length,N=createTypedArray("float32",j),H=0;H<j;H+=1)N[H]=V[H]/B;return N}if(isNumerable(G,V)&&$bm_isInstanceOfArray(B)){for(j=B.length,N=createTypedArray("float32",j),H=0;H<j;H+=1)N[H]=V/B[H];return N}return 0}function mod(V,B){return typeof V=="string"&&(V=parseInt(V,10)),typeof B=="string"&&(B=parseInt(B,10)),V%B}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(V,B,G){if(B>G){var z=G;G=B,B=z}return Math.min(Math.max(V,B),G)}function radiansToDegrees(V){return V/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(V){return V*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(V,B){if(typeof V=="number"||V instanceof Number)return B=B||0,Math.abs(V-B);B||(B=helperLengthArray);var G,z=Math.min(V.length,B.length),N=0;for(G=0;G<z;G+=1)N+=Math.pow(B[G]-V[G],2);return Math.sqrt(N)}function normalize(V){return div(V,length(V))}function rgbToHsl(V){var B=V[0],G=V[1],z=V[2],N=Math.max(B,G,z),H=Math.min(B,G,z),j,Y,W=(N+H)/2;if(N===H)j=0,Y=0;else{var X=N-H;switch(Y=W>.5?X/(2-N-H):X/(N+H),N){case B:j=(G-z)/X+(G<z?6:0);break;case G:j=(z-B)/X+2;break;case z:j=(B-G)/X+4;break}j/=6}return[j,Y,W,V[3]]}function hue2rgb(V,B,G){return G<0&&(G+=1),G>1&&(G-=1),G<1/6?V+(B-V)*6*G:G<1/2?B:G<2/3?V+(B-V)*(2/3-G)*6:V}function hslToRgb(V){var B=V[0],G=V[1],z=V[2],N,H,j;if(G===0)N=z,j=z,H=z;else{var Y=z<.5?z*(1+G):z+G-z*G,W=2*z-Y;N=hue2rgb(W,Y,B+1/3),H=hue2rgb(W,Y,B),j=hue2rgb(W,Y,B-1/3)}return[N,H,j,V[3]]}function linear(V,B,G,z,N){if((z===void 0||N===void 0)&&(z=B,N=G,B=0,G=1),G<B){var H=G;G=B,B=H}if(V<=B)return z;if(V>=G)return N;var j=G===B?0:(V-B)/(G-B);if(!z.length)return z+(N-z)*j;var Y,W=z.length,X=createTypedArray("float32",W);for(Y=0;Y<W;Y+=1)X[Y]=z[Y]+(N[Y]-z[Y])*j;return X}function random(V,B){if(B===void 0&&(V===void 0?(V=0,B=1):(B=V,V=void 0)),B.length){var G,z=B.length;V||(V=createTypedArray("float32",z));var N=createTypedArray("float32",z),H=BMMath.random();for(G=0;G<z;G+=1)N[G]=V[G]+H*(B[G]-V[G]);return N}V===void 0&&(V=0);var j=BMMath.random();return V+j*(B-V)}function createPath(V,B,G,z){var N,H=V.length,j=shapePool.newElement();j.setPathData(!!z,H);var Y=[0,0],W,X;for(N=0;N<H;N+=1)W=B&&B[N]?B[N]:Y,X=G&&G[N]?G[N]:Y,j.setTripleAt(V[N][0],V[N][1],X[0]+V[N][0],X[1]+V[N][1],W[0]+V[N][0],W[1]+V[N][1],N,!0);return j}function initiateExpression(elem,data,property){function noOp(V){return V}if(!elem.globalData.renderConfig.runExpressions)return noOp;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._name=elem.data.nm,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 V(B,G){var z,N,H=this.pv.length?this.pv.length:1,j=createTypedArray("float32",H);B=5;var Y=Math.floor(time*B);for(z=0,N=0;z<Y;){for(N=0;N<H;N+=1)j[N]+=-G+G*2*BMMath.random();z+=1}var W=time*B,X=W-Math.floor(W),et=createTypedArray("float32",H);if(H>1){for(N=0;N<H;N+=1)et[N]=this.pv[N]+j[N]+(-G+G*2*BMMath.random())*X;return et}return this.pv+j[0]+(-G+G*2*BMMath.random())*X}).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(V,B){return loopIn(V,B,!0)}function loopOutDuration(V,B){return loopOut(V,B,!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(V,B){var G=[B[0]-V[0],B[1]-V[1],B[2]-V[2]],z=Math.atan2(G[0],Math.sqrt(G[1]*G[1]+G[2]*G[2]))/degToRads,N=-Math.atan2(G[1],G[2])/degToRads;return[N,z,0]}function easeOut(V,B,G,z,N){return applyEase(easeOutBez,V,B,G,z,N)}function easeIn(V,B,G,z,N){return applyEase(easeInBez,V,B,G,z,N)}function ease(V,B,G,z,N){return applyEase(easeInOutBez,V,B,G,z,N)}function applyEase(V,B,G,z,N,H){N===void 0?(N=G,H=z):B=(B-G)/(z-G),B>1?B=1:B<0&&(B=0);var j=V(B);if($bm_isInstanceOfArray(N)){var Y,W=N.length,X=createTypedArray("float32",W);for(Y=0;Y<W;Y+=1)X[Y]=(H[Y]-N[Y])*j+N[Y];return X}return(H-N)*j+N}function nearestKey(V){var B,G=data.k.length,z,N;if(!data.k.length||typeof data.k[0]=="number")z=0,N=0;else if(z=-1,V*=elem.comp.globalData.frameRate,V<data.k[0].t)z=1,N=data.k[0].t;else{for(B=0;B<G-1;B+=1)if(V===data.k[B].t){z=B+1,N=data.k[B].t;break}else if(V>data.k[B].t&&V<data.k[B+1].t){V-data.k[B].t>data.k[B+1].t-V?(z=B+2,N=data.k[B+1].t):(z=B+1,N=data.k[B].t);break}z===-1&&(z=B+1,N=data.k[B].t)}var H={};return H.index=z,H.time=N/elem.comp.globalData.frameRate,H}function key(V){var B,G,z;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+V);V-=1,B={time:data.k[V].t/elem.comp.globalData.frameRate,value:[]};var N=Object.prototype.hasOwnProperty.call(data.k[V],"s")?data.k[V].s:data.k[V-1].e;for(z=N.length,G=0;G<z;G+=1)B[G]=N[G],B.value[G]=N[G];return B}function framesToTime(V,B){return B||(B=elem.comp.globalData.frameRate),V/B}function timeToFrames(V,B){return!V&&V!==0&&(V=time),B||(B=elem.comp.globalData.frameRate),V*B}function seedRandom(V){BMMath.seedrandom(randSeed+V)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(V,B){return typeof value=="string"?B===void 0?value.substring(V):value.substring(V,B):""}function substr(V,B){return typeof value=="string"?B===void 0?value.substr(V):value.substr(V,B):""}function posterizeTime(V){time=V===0?0:Math.floor(time*V)/V,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(V){return value=V,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,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var V={};V.initExpressions=B,V.resetFrame=ExpressionManager.resetFrame;function B(G){var z=0,N=[];function H(){z+=1}function j(){z-=1,z===0&&W()}function Y(X){N.indexOf(X)===-1&&N.push(X)}function W(){var X,et=N.length;for(X=0;X<et;X+=1)N[X].release();N.length=0}G.renderer.compInterface=CompExpressionInterface(G.renderer),G.renderer.globalData.projectInterface.registerComposition(G.renderer),G.renderer.globalData.pushExpression=H,G.renderer.globalData.popExpression=j,G.renderer.globalData.registerExpressionProperty=Y}return V}(),MaskManagerInterface=function(){function V(G,z){this._mask=G,this._data=z}Object.defineProperty(V.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(V.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var B=function(z){var N=createSizedArray(z.viewData.length),H,j=z.viewData.length;for(H=0;H<j;H+=1)N[H]=new V(z.viewData[H],z.masksProperties[H]);var Y=function(X){for(H=0;H<j;){if(z.masksProperties[H].nm===X)return N[H];H+=1}return null};return Y};return B}(),ExpressionPropertyInterface=function(){var V={pv:0,v:0,mult:1},B={pv:[0,0,0],v:[0,0,0],mult:1};function G(j,Y,W){Object.defineProperty(j,"velocity",{get:function(){return Y.getVelocityAtTime(Y.comp.currentFrame)}}),j.numKeys=Y.keyframes?Y.keyframes.length:0,j.key=function(X){if(!j.numKeys)return 0;var et="";"s"in Y.keyframes[X-1]?et=Y.keyframes[X-1].s:"e"in Y.keyframes[X-2]?et=Y.keyframes[X-2].e:et=Y.keyframes[X-2].s;var at=W==="unidimensional"?new Number(et):Object.assign({},et);return at.time=Y.keyframes[X-1].t/Y.elem.comp.globalData.frameRate,at.value=W==="unidimensional"?et[0]:et,at},j.valueAtTime=Y.getValueAtTime,j.speedAtTime=Y.getSpeedAtTime,j.velocityAtTime=Y.getVelocityAtTime,j.propertyGroup=Y.propertyGroup}function z(j){(!j||!("pv"in j))&&(j=V);var Y=1/j.mult,W=j.pv*Y,X=new Number(W);return X.value=W,G(X,j,"unidimensional"),function(){return j.k&&j.getValue(),W=j.v*Y,X.value!==W&&(X=new Number(W),X.value=W,X[0]=W,G(X,j,"unidimensional")),X}}function N(j){(!j||!("pv"in j))&&(j=B);var Y=1/j.mult,W=j.data&&j.data.l||j.pv.length,X=createTypedArray("float32",W),et=createTypedArray("float32",W);return X.value=et,G(X,j,"multidimensional"),function(){j.k&&j.getValue();for(var at=0;at<W;at+=1)et[at]=j.v[at]*Y,X[at]=et[at];return X}}function H(){return V}return function(j){return j?j.propType==="unidimensional"?z(j):N(j):H}}(),TransformExpressionInterface=function(){return function(V){function B(j){switch(j){case"scale":case"Scale":case"ADBE Scale":case 6:return B.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return B.rotation;case"ADBE Rotate X":return B.xRotation;case"ADBE Rotate Y":return B.yRotation;case"position":case"Position":case"ADBE Position":case 2:return B.position;case"ADBE Position_0":return B.xPosition;case"ADBE Position_1":return B.yPosition;case"ADBE Position_2":return B.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return B.anchorPoint;case"opacity":case"Opacity":case 11:return B.opacity;default:return null}}Object.defineProperty(B,"rotation",{get:ExpressionPropertyInterface(V.r||V.rz)}),Object.defineProperty(B,"zRotation",{get:ExpressionPropertyInterface(V.rz||V.r)}),Object.defineProperty(B,"xRotation",{get:ExpressionPropertyInterface(V.rx)}),Object.defineProperty(B,"yRotation",{get:ExpressionPropertyInterface(V.ry)}),Object.defineProperty(B,"scale",{get:ExpressionPropertyInterface(V.s)});var G,z,N,H;return V.p?H=ExpressionPropertyInterface(V.p):(G=ExpressionPropertyInterface(V.px),z=ExpressionPropertyInterface(V.py),V.pz&&(N=ExpressionPropertyInterface(V.pz))),Object.defineProperty(B,"position",{get:function(){return V.p?H():[G(),z(),N?N():0]}}),Object.defineProperty(B,"xPosition",{get:ExpressionPropertyInterface(V.px)}),Object.defineProperty(B,"yPosition",{get:ExpressionPropertyInterface(V.py)}),Object.defineProperty(B,"zPosition",{get:ExpressionPropertyInterface(V.pz)}),Object.defineProperty(B,"anchorPoint",{get:ExpressionPropertyInterface(V.a)}),Object.defineProperty(B,"opacity",{get:ExpressionPropertyInterface(V.o)}),Object.defineProperty(B,"skew",{get:ExpressionPropertyInterface(V.sk)}),Object.defineProperty(B,"skewAxis",{get:ExpressionPropertyInterface(V.sa)}),Object.defineProperty(B,"orientation",{get:ExpressionPropertyInterface(V.or)}),B}}(),LayerExpressionInterface=function(){function V(X){var et=new Matrix;if(X!==void 0){var at=this._elem.finalTransform.mProp.getValueAtTime(X);at.clone(et)}else{var J=this._elem.finalTransform.mProp;J.applyToMatrix(et)}return et}function B(X,et){var at=this.getMatrix(et);return at.props[12]=0,at.props[13]=0,at.props[14]=0,this.applyPoint(at,X)}function G(X,et){var at=this.getMatrix(et);return this.applyPoint(at,X)}function z(X,et){var at=this.getMatrix(et);return at.props[12]=0,at.props[13]=0,at.props[14]=0,this.invertPoint(at,X)}function N(X,et){var at=this.getMatrix(et);return this.invertPoint(at,X)}function H(X,et){if(this._elem.hierarchy&&this._elem.hierarchy.length){var at,J=this._elem.hierarchy.length;for(at=0;at<J;at+=1)this._elem.hierarchy[at].finalTransform.mProp.applyToMatrix(X)}return X.applyToPointArray(et[0],et[1],et[2]||0)}function j(X,et){if(this._elem.hierarchy&&this._elem.hierarchy.length){var at,J=this._elem.hierarchy.length;for(at=0;at<J;at+=1)this._elem.hierarchy[at].finalTransform.mProp.applyToMatrix(X)}return X.inversePoint(et)}function Y(X){var et=new Matrix;if(et.reset(),this._elem.finalTransform.mProp.applyToMatrix(et),this._elem.hierarchy&&this._elem.hierarchy.length){var at,J=this._elem.hierarchy.length;for(at=0;at<J;at+=1)this._elem.hierarchy[at].finalTransform.mProp.applyToMatrix(et);return et.inversePoint(X)}return et.inversePoint(X)}function W(){return[1,1,1,1]}return function(X){var et;function at(Q){st.mask=new MaskManagerInterface(Q,X)}function J(Q){st.effect=Q}function st(Q){switch(Q){case"ADBE Root Vectors Group":case"Contents":case 2:return st.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return et;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return st.effect;case"ADBE Text Properties":return st.textInterface;default:return null}}st.getMatrix=V,st.invertPoint=j,st.applyPoint=H,st.toWorld=G,st.toWorldVec=B,st.fromWorld=N,st.fromWorldVec=z,st.toComp=G,st.fromComp=Y,st.sampleImage=W,st.sourceRectAtTime=X.sourceRectAtTime.bind(X),st._elem=X,et=TransformExpressionInterface(X.finalTransform.mProp);var it=getDescriptor(et,"anchorPoint");return Object.defineProperties(st,{hasParent:{get:function(){return X.hierarchy.length}},parent:{get:function(){return X.hierarchy[0].layerInterface}},rotation:getDescriptor(et,"rotation"),scale:getDescriptor(et,"scale"),position:getDescriptor(et,"position"),opacity:getDescriptor(et,"opacity"),anchorPoint:it,anchor_point:it,transform:{get:function(){return et}},active:{get:function(){return X.isInRange}}}),st.startTime=X.data.st,st.index=X.data.ind,st.source=X.data.refId,st.height=X.data.ty===0?X.data.h:100,st.width=X.data.ty===0?X.data.w:100,st.inPoint=X.data.ip/X.comp.globalData.frameRate,st.outPoint=X.data.op/X.comp.globalData.frameRate,st._name=X.data.nm,st.registerMaskInterface=at,st.registerEffectsInterface=J,st}}(),propertyGroupFactory=function(){return function(V,B){return function(G){return G=G===void 0?1:G,G<=0?V:B(G-1)}}}(),PropertyInterface=function(){return function(V,B){var G={_name:V};function z(N){return N=N===void 0?1:N,N<=0?G:B(N-1)}return z}}(),EffectsExpressionInterface=function(){var V={createEffectsInterface:B};function B(N,H){if(N.effectsManager){var j=[],Y=N.data.ef,W,X=N.effectsManager.effectElements.length;for(W=0;W<X;W+=1)j.push(G(Y[W],N.effectsManager.effectElements[W],H,N));var et=N.data.ef||[],at=function(st){for(W=0,X=et.length;W<X;){if(st===et[W].nm||st===et[W].mn||st===et[W].ix)return j[W];W+=1}return null};return Object.defineProperty(at,"numProperties",{get:function(){return et.length}}),at}return null}function G(N,H,j,Y){function W(st){for(var it=N.ef,Q=0,lt=it.length;Q<lt;){if(st===it[Q].nm||st===it[Q].mn||st===it[Q].ix)return it[Q].ty===5?et[Q]:et[Q]();Q+=1}throw new Error}var X=propertyGroupFactory(W,j),et=[],at,J=N.ef.length;for(at=0;at<J;at+=1)N.ef[at].ty===5?et.push(G(N.ef[at],H.effectElements[at],H.effectElements[at].propertyGroup,Y)):et.push(z(H.effectElements[at],N.ef[at].ty,Y,X));return N.mn==="ADBE Color Control"&&Object.defineProperty(W,"color",{get:function(){return et[0]()}}),Object.defineProperties(W,{numProperties:{get:function(){return N.np}},_name:{value:N.nm},propertyGroup:{value:X}}),W.enabled=N.en!==0,W.active=W.enabled,W}function z(N,H,j,Y){var W=ExpressionPropertyInterface(N.p);function X(){return H===10?j.comp.compInterface(N.p.v):W()}return N.p.setGroupProperty&&N.p.setGroupProperty(PropertyInterface("",Y)),X}return V}(),ShapePathInterface=function(){return function(B,G,z){var N=G.sh;function H(Y){return Y==="Shape"||Y==="shape"||Y==="Path"||Y==="path"||Y==="ADBE Vector Shape"||Y===2?H.path:null}var j=propertyGroupFactory(H,z);return N.setGroupProperty(PropertyInterface("Path",j)),Object.defineProperties(H,{path:{get:function(){return N.k&&N.getValue(),N}},shape:{get:function(){return N.k&&N.getValue(),N}},_name:{value:B.nm},ix:{value:B.ix},propertyIndex:{value:B.ix},mn:{value:B.mn},propertyGroup:{value:z}}),H}}(),ShapeExpressionInterface=function(){function V(it,Q,lt){var K=[],U,Z=it?it.length:0;for(U=0;U<Z;U+=1)it[U].ty==="gr"?K.push(G(it[U],Q[U],lt)):it[U].ty==="fl"?K.push(z(it[U],Q[U],lt)):it[U].ty==="st"?K.push(j(it[U],Q[U],lt)):it[U].ty==="tm"?K.push(Y(it[U],Q[U],lt)):it[U].ty==="tr"||(it[U].ty==="el"?K.push(X(it[U],Q[U],lt)):it[U].ty==="sr"?K.push(et(it[U],Q[U],lt)):it[U].ty==="sh"?K.push(ShapePathInterface(it[U],Q[U],lt)):it[U].ty==="rc"?K.push(at(it[U],Q[U],lt)):it[U].ty==="rd"?K.push(J(it[U],Q[U],lt)):it[U].ty==="rp"?K.push(st(it[U],Q[U],lt)):it[U].ty==="gf"?K.push(N(it[U],Q[U],lt)):K.push(H(it[U],Q[U])));return K}function B(it,Q,lt){var K,U=function(ot){for(var ft=0,ct=K.length;ft<ct;){if(K[ft]._name===ot||K[ft].mn===ot||K[ft].propertyIndex===ot||K[ft].ix===ot||K[ft].ind===ot)return K[ft];ft+=1}return typeof ot=="number"?K[ot-1]:null};U.propertyGroup=propertyGroupFactory(U,lt),K=V(it.it,Q.it,U.propertyGroup),U.numProperties=K.length;var Z=W(it.it[it.it.length-1],Q.it[Q.it.length-1],U.propertyGroup);return U.transform=Z,U.propertyIndex=it.cix,U._name=it.nm,U}function G(it,Q,lt){var K=function(ot){switch(ot){case"ADBE Vectors Group":case"Contents":case 2:return K.content;default:return K.transform}};K.propertyGroup=propertyGroupFactory(K,lt);var U=B(it,Q,K.propertyGroup),Z=W(it.it[it.it.length-1],Q.it[Q.it.length-1],K.propertyGroup);return K.content=U,K.transform=Z,Object.defineProperty(K,"_name",{get:function(){return it.nm}}),K.numProperties=it.np,K.propertyIndex=it.ix,K.nm=it.nm,K.mn=it.mn,K}function z(it,Q,lt){function K(U){return U==="Color"||U==="color"?K.color:U==="Opacity"||U==="opacity"?K.opacity:null}return Object.defineProperties(K,{color:{get:ExpressionPropertyInterface(Q.c)},opacity:{get:ExpressionPropertyInterface(Q.o)},_name:{value:it.nm},mn:{value:it.mn}}),Q.c.setGroupProperty(PropertyInterface("Color",lt)),Q.o.setGroupProperty(PropertyInterface("Opacity",lt)),K}function N(it,Q,lt){function K(U){return U==="Start Point"||U==="start point"?K.startPoint:U==="End Point"||U==="end point"?K.endPoint:U==="Opacity"||U==="opacity"?K.opacity:null}return Object.defineProperties(K,{startPoint:{get:ExpressionPropertyInterface(Q.s)},endPoint:{get:ExpressionPropertyInterface(Q.e)},opacity:{get:ExpressionPropertyInterface(Q.o)},type:{get:function(){return"a"}},_name:{value:it.nm},mn:{value:it.mn}}),Q.s.setGroupProperty(PropertyInterface("Start Point",lt)),Q.e.setGroupProperty(PropertyInterface("End Point",lt)),Q.o.setGroupProperty(PropertyInterface("Opacity",lt)),K}function H(){function it(){return null}return it}function j(it,Q,lt){var K=propertyGroupFactory(ct,lt),U=propertyGroupFactory(ft,K);function Z(ut){Object.defineProperty(ft,it.d[ut].nm,{get:ExpressionPropertyInterface(Q.d.dataProps[ut].p)})}var tt,ot=it.d?it.d.length:0,ft={};for(tt=0;tt<ot;tt+=1)Z(tt),Q.d.dataProps[tt].p.setGroupProperty(U);function ct(ut){return ut==="Color"||ut==="color"?ct.color:ut==="Opacity"||ut==="opacity"?ct.opacity:ut==="Stroke Width"||ut==="stroke width"?ct.strokeWidth:null}return Object.defineProperties(ct,{color:{get:ExpressionPropertyInterface(Q.c)},opacity:{get:ExpressionPropertyInterface(Q.o)},strokeWidth:{get:ExpressionPropertyInterface(Q.w)},dash:{get:function(){return ft}},_name:{value:it.nm},mn:{value:it.mn}}),Q.c.setGroupProperty(PropertyInterface("Color",K)),Q.o.setGroupProperty(PropertyInterface("Opacity",K)),Q.w.setGroupProperty(PropertyInterface("Stroke Width",K)),ct}function Y(it,Q,lt){function K(Z){return Z===it.e.ix||Z==="End"||Z==="end"?K.end:Z===it.s.ix?K.start:Z===it.o.ix?K.offset:null}var U=propertyGroupFactory(K,lt);return K.propertyIndex=it.ix,Q.s.setGroupProperty(PropertyInterface("Start",U)),Q.e.setGroupProperty(PropertyInterface("End",U)),Q.o.setGroupProperty(PropertyInterface("Offset",U)),K.propertyIndex=it.ix,K.propertyGroup=lt,Object.defineProperties(K,{start:{get:ExpressionPropertyInterface(Q.s)},end:{get:ExpressionPropertyInterface(Q.e)},offset:{get:ExpressionPropertyInterface(Q.o)},_name:{value:it.nm}}),K.mn=it.mn,K}function W(it,Q,lt){function K(Z){return it.a.ix===Z||Z==="Anchor Point"?K.anchorPoint:it.o.ix===Z||Z==="Opacity"?K.opacity:it.p.ix===Z||Z==="Position"?K.position:it.r.ix===Z||Z==="Rotation"||Z==="ADBE Vector Rotation"?K.rotation:it.s.ix===Z||Z==="Scale"?K.scale:it.sk&&it.sk.ix===Z||Z==="Skew"?K.skew:it.sa&&it.sa.ix===Z||Z==="Skew Axis"?K.skewAxis:null}var U=propertyGroupFactory(K,lt);return Q.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",U)),Q.transform.mProps.p.setGroupProperty(PropertyInterface("Position",U)),Q.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",U)),Q.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",U)),Q.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",U)),Q.transform.mProps.sk&&(Q.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",U)),Q.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",U))),Q.transform.op.setGroupProperty(PropertyInterface("Opacity",U)),Object.defineProperties(K,{opacity:{get:ExpressionPropertyInterface(Q.transform.mProps.o)},position:{get:ExpressionPropertyInterface(Q.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(Q.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(Q.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(Q.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(Q.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(Q.transform.mProps.sa)},_name:{value:it.nm}}),K.ty="tr",K.mn=it.mn,K.propertyGroup=lt,K}function X(it,Q,lt){function K(tt){return it.p.ix===tt?K.position:it.s.ix===tt?K.size:null}var U=propertyGroupFactory(K,lt);K.propertyIndex=it.ix;var Z=Q.sh.ty==="tm"?Q.sh.prop:Q.sh;return Z.s.setGroupProperty(PropertyInterface("Size",U)),Z.p.setGroupProperty(PropertyInterface("Position",U)),Object.defineProperties(K,{size:{get:ExpressionPropertyInterface(Z.s)},position:{get:ExpressionPropertyInterface(Z.p)},_name:{value:it.nm}}),K.mn=it.mn,K}function et(it,Q,lt){function K(tt){return it.p.ix===tt?K.position:it.r.ix===tt?K.rotation:it.pt.ix===tt?K.points:it.or.ix===tt||tt==="ADBE Vector Star Outer Radius"?K.outerRadius:it.os.ix===tt?K.outerRoundness:it.ir&&(it.ir.ix===tt||tt==="ADBE Vector Star Inner Radius")?K.innerRadius:it.is&&it.is.ix===tt?K.innerRoundness:null}var U=propertyGroupFactory(K,lt),Z=Q.sh.ty==="tm"?Q.sh.prop:Q.sh;return K.propertyIndex=it.ix,Z.or.setGroupProperty(PropertyInterface("Outer Radius",U)),Z.os.setGroupProperty(PropertyInterface("Outer Roundness",U)),Z.pt.setGroupProperty(PropertyInterface("Points",U)),Z.p.setGroupProperty(PropertyInterface("Position",U)),Z.r.setGroupProperty(PropertyInterface("Rotation",U)),it.ir&&(Z.ir.setGroupProperty(PropertyInterface("Inner Radius",U)),Z.is.setGroupProperty(PropertyInterface("Inner Roundness",U))),Object.defineProperties(K,{position:{get:ExpressionPropertyInterface(Z.p)},rotation:{get:ExpressionPropertyInterface(Z.r)},points:{get:ExpressionPropertyInterface(Z.pt)},outerRadius:{get:ExpressionPropertyInterface(Z.or)},outerRoundness:{get:ExpressionPropertyInterface(Z.os)},innerRadius:{get:ExpressionPropertyInterface(Z.ir)},innerRoundness:{get:ExpressionPropertyInterface(Z.is)},_name:{value:it.nm}}),K.mn=it.mn,K}function at(it,Q,lt){function K(tt){return it.p.ix===tt?K.position:it.r.ix===tt?K.roundness:it.s.ix===tt||tt==="Size"||tt==="ADBE Vector Rect Size"?K.size:null}var U=propertyGroupFactory(K,lt),Z=Q.sh.ty==="tm"?Q.sh.prop:Q.sh;return K.propertyIndex=it.ix,Z.p.setGroupProperty(PropertyInterface("Position",U)),Z.s.setGroupProperty(PropertyInterface("Size",U)),Z.r.setGroupProperty(PropertyInterface("Rotation",U)),Object.defineProperties(K,{position:{get:ExpressionPropertyInterface(Z.p)},roundness:{get:ExpressionPropertyInterface(Z.r)},size:{get:ExpressionPropertyInterface(Z.s)},_name:{value:it.nm}}),K.mn=it.mn,K}function J(it,Q,lt){function K(tt){return it.r.ix===tt||tt==="Round Corners 1"?K.radius:null}var U=propertyGroupFactory(K,lt),Z=Q;return K.propertyIndex=it.ix,Z.rd.setGroupProperty(PropertyInterface("Radius",U)),Object.defineProperties(K,{radius:{get:ExpressionPropertyInterface(Z.rd)},_name:{value:it.nm}}),K.mn=it.mn,K}function st(it,Q,lt){function K(tt){return it.c.ix===tt||tt==="Copies"?K.copies:it.o.ix===tt||tt==="Offset"?K.offset:null}var U=propertyGroupFactory(K,lt),Z=Q;return K.propertyIndex=it.ix,Z.c.setGroupProperty(PropertyInterface("Copies",U)),Z.o.setGroupProperty(PropertyInterface("Offset",U)),Object.defineProperties(K,{copies:{get:ExpressionPropertyInterface(Z.c)},offset:{get:ExpressionPropertyInterface(Z.o)},_name:{value:it.nm}}),K.mn=it.mn,K}return function(it,Q,lt){var K;function U(tt){if(typeof tt=="number")return tt=tt===void 0?1:tt,tt===0?lt:K[tt-1];for(var ot=0,ft=K.length;ot<ft;){if(K[ot]._name===tt)return K[ot];ot+=1}return null}function Z(){return lt}return U.propertyGroup=propertyGroupFactory(U,Z),K=V(it,Q,U.propertyGroup),U.numProperties=K.length,U._name="Contents",U}}(),TextExpressionInterface=function(){return function(V){var B;function G(z){switch(z){case"ADBE Text Document":return G.sourceText;default:return null}}return Object.defineProperty(G,"sourceText",{get:function(){V.textProperty.getValue();var N=V.textProperty.currentData.t;return(!B||N!==B.value)&&(B=new String(N),B.value=N||new String(N),Object.defineProperty(B,"style",{get:function(){return{fillColor:V.textProperty.currentData.fc}}})),B}}),G}}();function _typeof(V){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},_typeof(V)}var FootageInterface=function(){var V=function(z){var N="",H=z.getFootageData();function j(){return N="",H=z.getFootageData(),Y}function Y(W){if(H[W])return N=W,H=H[W],_typeof(H)==="object"?Y:H;var X=W.indexOf(N);if(X!==-1){var et=parseInt(W.substr(X+N.length),10);return H=H[et],_typeof(H)==="object"?Y:H}return""}return j},B=function(z){function N(H){return H==="Outline"?N.outlineInterface():null}return N._name="Outline",N.outlineInterface=V(z),N};return function(G){function z(N){return N==="Data"?z.dataInterface:null}return z._name="Data",z.dataInterface=B(G),z}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(V){return interfaces[V]||null}var expressionHelpers=function(){function V(j,Y,W){Y.x&&(W.k=!0,W.x=!0,W.initiateExpression=ExpressionManager.initiateExpression,W.effectsSequence.push(W.initiateExpression(j,Y,W).bind(W)))}function B(j){return j*=this.elem.globalData.frameRate,j-=this.offsetTime,j!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<j?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(j,this._cachingAtTime),this._cachingAtTime.lastFrame=j),this._cachingAtTime.value}function G(j){var Y=-.01,W=this.getValueAtTime(j),X=this.getValueAtTime(j+Y),et=0;if(W.length){var at;for(at=0;at<W.length;at+=1)et+=Math.pow(X[at]-W[at],2);et=Math.sqrt(et)*100}else et=0;return et}function z(j){if(this.vel!==void 0)return this.vel;var Y=-.001,W=this.getValueAtTime(j),X=this.getValueAtTime(j+Y),et;if(W.length){et=createTypedArray("float32",W.length);var at;for(at=0;at<W.length;at+=1)et[at]=(X[at]-W[at])/Y}else et=(X-W)/Y;return et}function N(){return this.pv}function H(j){this.propertyGroup=j}return{searchExpressions:V,getSpeedAtTime:G,getVelocityAtTime:z,getValueAtTime:B,getStaticValueAtTime:N,setGroupProperty:H}}();function addPropertyDecorator(){function V(J,st,it){if(!this.k||!this.keyframes)return this.pv;J=J?J.toLowerCase():"";var Q=this.comp.renderedFrame,lt=this.keyframes,K=lt[lt.length-1].t;if(Q<=K)return this.pv;var U,Z;it?(st?U=Math.abs(K-this.elem.comp.globalData.frameRate*st):U=Math.max(0,K-this.elem.data.ip),Z=K-U):((!st||st>lt.length-1)&&(st=lt.length-1),Z=lt[lt.length-1-st].t,U=K-Z);var tt,ot,ft;if(J==="pingpong"){var ct=Math.floor((Q-Z)/U);if(ct%2!==0)return this.getValueAtTime((U-(Q-Z)%U+Z)/this.comp.globalData.frameRate,0)}else if(J==="offset"){var ut=this.getValueAtTime(Z/this.comp.globalData.frameRate,0),vt=this.getValueAtTime(K/this.comp.globalData.frameRate,0),_t=this.getValueAtTime(((Q-Z)%U+Z)/this.comp.globalData.frameRate,0),bt=Math.floor((Q-Z)/U);if(this.pv.length){for(ft=new Array(ut.length),ot=ft.length,tt=0;tt<ot;tt+=1)ft[tt]=(vt[tt]-ut[tt])*bt+_t[tt];return ft}return(vt-ut)*bt+_t}else if(J==="continue"){var gt=this.getValueAtTime(K/this.comp.globalData.frameRate,0),Et=this.getValueAtTime((K-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(ft=new Array(gt.length),ot=ft.length,tt=0;tt<ot;tt+=1)ft[tt]=gt[tt]+(gt[tt]-Et[tt])*((Q-K)/this.comp.globalData.frameRate)/5e-4;return ft}return gt+(gt-Et)*((Q-K)/.001)}return this.getValueAtTime(((Q-Z)%U+Z)/this.comp.globalData.frameRate,0)}function B(J,st,it){if(!this.k)return this.pv;J=J?J.toLowerCase():"";var Q=this.comp.renderedFrame,lt=this.keyframes,K=lt[0].t;if(Q>=K)return this.pv;var U,Z;it?(st?U=Math.abs(this.elem.comp.globalData.frameRate*st):U=Math.max(0,this.elem.data.op-K),Z=K+U):((!st||st>lt.length-1)&&(st=lt.length-1),Z=lt[st].t,U=Z-K);var tt,ot,ft;if(J==="pingpong"){var ct=Math.floor((K-Q)/U);if(ct%2===0)return this.getValueAtTime(((K-Q)%U+K)/this.comp.globalData.frameRate,0)}else if(J==="offset"){var ut=this.getValueAtTime(K/this.comp.globalData.frameRate,0),vt=this.getValueAtTime(Z/this.comp.globalData.frameRate,0),_t=this.getValueAtTime((U-(K-Q)%U+K)/this.comp.globalData.frameRate,0),bt=Math.floor((K-Q)/U)+1;if(this.pv.length){for(ft=new Array(ut.length),ot=ft.length,tt=0;tt<ot;tt+=1)ft[tt]=_t[tt]-(vt[tt]-ut[tt])*bt;return ft}return _t-(vt-ut)*bt}else if(J==="continue"){var gt=this.getValueAtTime(K/this.comp.globalData.frameRate,0),Et=this.getValueAtTime((K+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(ft=new Array(gt.length),ot=ft.length,tt=0;tt<ot;tt+=1)ft[tt]=gt[tt]+(gt[tt]-Et[tt])*(K-Q)/.001;return ft}return gt+(gt-Et)*(K-Q)/.001}return this.getValueAtTime((U-((K-Q)%U+K))/this.comp.globalData.frameRate,0)}function G(J,st){if(!this.k)return this.pv;if(J=(J||.4)*.5,st=Math.floor(st||5),st<=1)return this.pv;var it=this.comp.renderedFrame/this.comp.globalData.frameRate,Q=it-J,lt=it+J,K=st>1?(lt-Q)/(st-1):1,U=0,Z=0,tt;this.pv.length?tt=createTypedArray("float32",this.pv.length):tt=0;for(var ot;U<st;){if(ot=this.getValueAtTime(Q+U*K),this.pv.length)for(Z=0;Z<this.pv.length;Z+=1)tt[Z]+=ot[Z];else tt+=ot;U+=1}if(this.pv.length)for(Z=0;Z<this.pv.length;Z+=1)tt[Z]/=st;else tt/=st;return tt}function z(J){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var st=this._transformCachingAtTime.v;if(st.cloneFromProps(this.pre.props),this.appliedTransformations<1){var it=this.a.getValueAtTime(J);st.translate(-it[0]*this.a.mult,-it[1]*this.a.mult,it[2]*this.a.mult)}if(this.appliedTransformations<2){var Q=this.s.getValueAtTime(J);st.scale(Q[0]*this.s.mult,Q[1]*this.s.mult,Q[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var lt=this.sk.getValueAtTime(J),K=this.sa.getValueAtTime(J);st.skewFromAxis(-lt*this.sk.mult,K*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var U=this.r.getValueAtTime(J);st.rotate(-U*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var Z=this.rz.getValueAtTime(J),tt=this.ry.getValueAtTime(J),ot=this.rx.getValueAtTime(J),ft=this.or.getValueAtTime(J);st.rotateZ(-Z*this.rz.mult).rotateY(tt*this.ry.mult).rotateX(ot*this.rx.mult).rotateZ(-ft[2]*this.or.mult).rotateY(ft[1]*this.or.mult).rotateX(ft[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var ct=this.px.getValueAtTime(J),ut=this.py.getValueAtTime(J);if(this.data.p.z){var vt=this.pz.getValueAtTime(J);st.translate(ct*this.px.mult,ut*this.py.mult,-vt*this.pz.mult)}else st.translate(ct*this.px.mult,ut*this.py.mult,0)}else{var _t=this.p.getValueAtTime(J);st.translate(_t[0]*this.p.mult,_t[1]*this.p.mult,-_t[2]*this.p.mult)}return st}function N(){return this.v.clone(new Matrix)}var H=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(J,st,it){var Q=H(J,st,it);return Q.dynamicProperties.length?Q.getValueAtTime=z.bind(Q):Q.getValueAtTime=N.bind(Q),Q.setGroupProperty=expressionHelpers.setGroupProperty,Q};var j=PropertyFactory.getProp;PropertyFactory.getProp=function(J,st,it,Q,lt){var K=j(J,st,it,Q,lt);K.kf?K.getValueAtTime=expressionHelpers.getValueAtTime.bind(K):K.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(K),K.setGroupProperty=expressionHelpers.setGroupProperty,K.loopOut=V,K.loopIn=B,K.smooth=G,K.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(K),K.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(K),K.numKeys=st.a===1?st.k.length:0,K.propertyIndex=st.ix;var U=0;return it!==0&&(U=createTypedArray("float32",st.a===1?st.k[0].s.length:st.k.length)),K._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:U},expressionHelpers.searchExpressions(J,st,K),K.k&<.addDynamicProperty(K),K};function Y(J){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),J*=this.elem.globalData.frameRate,J-=this.offsetTime,J!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<J?this._caching.lastIndex:0,this._cachingAtTime.lastTime=J,this.interpolateShape(J,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var W=ShapePropertyFactory.getConstructorFunction(),X=ShapePropertyFactory.getKeyframedConstructorFunction();function et(){}et.prototype={vertices:function(st,it){this.k&&this.getValue();var Q=this.v;it!==void 0&&(Q=this.getValueAtTime(it,0));var lt,K=Q._length,U=Q[st],Z=Q.v,tt=createSizedArray(K);for(lt=0;lt<K;lt+=1)st==="i"||st==="o"?tt[lt]=[U[lt][0]-Z[lt][0],U[lt][1]-Z[lt][1]]:tt[lt]=[U[lt][0],U[lt][1]];return tt},points:function(st){return this.vertices("v",st)},inTangents:function(st){return this.vertices("i",st)},outTangents:function(st){return this.vertices("o",st)},isClosed:function(){return this.v.c},pointOnPath:function(st,it){var Q=this.v;it!==void 0&&(Q=this.getValueAtTime(it,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(Q));for(var lt=this._segmentsLength,K=lt.lengths,U=lt.totalLength*st,Z=0,tt=K.length,ot=0,ft;Z<tt;){if(ot+K[Z].addedLength>U){var ct=Z,ut=Q.c&&Z===tt-1?0:Z+1,vt=(U-ot)/K[Z].addedLength;ft=bez.getPointInSegment(Q.v[ct],Q.v[ut],Q.o[ct],Q.i[ut],vt,K[Z]);break}else ot+=K[Z].addedLength;Z+=1}return ft||(ft=Q.c?[Q.v[0][0],Q.v[0][1]]:[Q.v[Q._length-1][0],Q.v[Q._length-1][1]]),ft},vectorOnPath:function(st,it,Q){st==1?st=this.v.c:st==0&&(st=.999);var lt=this.pointOnPath(st,it),K=this.pointOnPath(st+.001,it),U=K[0]-lt[0],Z=K[1]-lt[1],tt=Math.sqrt(Math.pow(U,2)+Math.pow(Z,2));if(tt===0)return[0,0];var ot=Q==="tangent"?[U/tt,Z/tt]:[-Z/tt,U/tt];return ot},tangentOnPath:function(st,it){return this.vectorOnPath(st,it,"tangent")},normalOnPath:function(st,it){return this.vectorOnPath(st,it,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([et],W),extendPrototype([et],X),X.prototype.getValueAtTime=Y,X.prototype.initiateExpression=ExpressionManager.initiateExpression;var at=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(J,st,it,Q,lt){var K=at(J,st,it,Q,lt);return K.propertyIndex=st.ix,K.lock=!1,it===3?expressionHelpers.searchExpressions(J,st.pt,K):it===4&&expressionHelpers.searchExpressions(J,st.ks,K),K.k&&J.addDynamicProperty(K),K}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function V(){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(B,G){var z=this.calculateExpression(G);if(B.t!==z){var N={};return this.copyData(N,B),N.t=z.toString(),N.__complete=!1,N}return B},TextProperty.prototype.searchProperty=function(){var B=this.searchKeyframes(),G=this.searchExpressions();return this.kf=B||G,this.kf},TextProperty.prototype.searchExpressions=V}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function V(B,G){var z=createNS("feMerge");z.setAttribute("result",B);var N,H;for(H=0;H<G.length;H+=1)N=createNS("feMergeNode"),N.setAttribute("in",G[H]),z.appendChild(N),z.appendChild(N);return z}};var linearFilterValue="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";function SVGTintFilter(V,B,G,z,N){this.filterManager=B;var H=createNS("feColorMatrix");H.setAttribute("type","matrix"),H.setAttribute("color-interpolation-filters","linearRGB"),H.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=H,H.setAttribute("result",z+"_tint_1"),V.appendChild(H),H=createNS("feColorMatrix"),H.setAttribute("type","matrix"),H.setAttribute("color-interpolation-filters","sRGB"),H.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),H.setAttribute("result",z+"_tint_2"),V.appendChild(H),this.matrixFilter=H;var j=this.createMergeNode(z,[N,z+"_tint_1",z+"_tint_2"]);V.appendChild(j)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(V){if(V||this.filterManager._mdf){var B=this.filterManager.effectElements[0].p.v,G=this.filterManager.effectElements[1].p.v,z=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+z+" 0"),this.matrixFilter.setAttribute("values",G[0]-B[0]+" 0 0 0 "+B[0]+" "+(G[1]-B[1])+" 0 0 0 "+B[1]+" "+(G[2]-B[2])+" 0 0 0 "+B[2]+" 0 0 0 1 0")}};function SVGFillFilter(V,B,G,z){this.filterManager=B;var N=createNS("feColorMatrix");N.setAttribute("type","matrix"),N.setAttribute("color-interpolation-filters","sRGB"),N.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),N.setAttribute("result",z),V.appendChild(N),this.matrixFilter=N}SVGFillFilter.prototype.renderFrame=function(V){if(V||this.filterManager._mdf){var B=this.filterManager.effectElements[2].p.v,G=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+B[0]+" 0 0 0 0 "+B[1]+" 0 0 0 0 "+B[2]+" 0 0 0 "+G+" 0")}};function SVGStrokeEffect(V,B,G){this.initialized=!1,this.filterManager=B,this.elem=G,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var V=this.elem.layerElement.children||this.elem.layerElement.childNodes,B,G,z,N;for(this.filterManager.effectElements[1].p.v===1?(N=this.elem.maskManager.masksProperties.length,z=0):(z=this.filterManager.effectElements[0].p.v-1,N=z+1),G=createNS("g"),G.setAttribute("fill","none"),G.setAttribute("stroke-linecap","round"),G.setAttribute("stroke-dashoffset",1),z;z<N;z+=1)B=createNS("path"),G.appendChild(B),this.paths.push({p:B,m:z});if(this.filterManager.effectElements[10].p.v===3){var H=createNS("mask"),j=createElementID();H.setAttribute("id",j),H.setAttribute("mask-type","alpha"),H.appendChild(G),this.elem.globalData.defs.appendChild(H);var Y=createNS("g");for(Y.setAttribute("mask","url("+getLocationHref()+"#"+j+")");V[0];)Y.appendChild(V[0]);this.elem.layerElement.appendChild(Y),this.masker=H,G.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(V=this.elem.layerElement.children||this.elem.layerElement.childNodes;V.length;)this.elem.layerElement.removeChild(V[0]);this.elem.layerElement.appendChild(G),this.elem.layerElement.removeAttribute("mask"),G.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=G},SVGStrokeEffect.prototype.renderFrame=function(V){this.initialized||this.initialize();var B,G=this.paths.length,z,N;for(B=0;B<G;B+=1)if(this.paths[B].m!==-1&&(z=this.elem.maskManager.viewData[this.paths[B].m],N=this.paths[B].p,(V||this.filterManager._mdf||z.prop._mdf)&&N.setAttribute("d",z.lastPath),V||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||z.prop._mdf)){var H;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var j=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,Y=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,W=N.getTotalLength();H="0 0 0 "+W*j+" ";var X=W*(Y-j),et=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,at=Math.floor(X/et),J;for(J=0;J<at;J+=1)H+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";H+="0 "+W*10+" 0 0"}else H="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;N.setAttribute("stroke-dasharray",H)}if((V||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(V||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("op
9acity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(V||this.filterManager.effectElements[3].p._mdf)){var st=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(st[0]*255)+","+bmFloor(st[1]*255)+","+bmFloor(st[2]*255)+")")}};function SVGTritoneFilter(V,B,G,z){this.filterManager=B;var N=createNS("feColorMatrix");N.setAttribute("type","matrix"),N.setAttribute("color-interpolation-filters","linearRGB"),N.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"),V.appendChild(N);var H=createNS("feComponentTransfer");H.setAttribute("color-interpolation-filters","sRGB"),H.setAttribute("result",z),this.matrixFilter=H;var j=createNS("feFuncR");j.setAttribute("type","table"),H.appendChild(j),this.feFuncR=j;var Y=createNS("feFuncG");Y.setAttribute("type","table"),H.appendChild(Y),this.feFuncG=Y;var W=createNS("feFuncB");W.setAttribute("type","table"),H.appendChild(W),this.feFuncB=W,V.appendChild(H)}SVGTritoneFilter.prototype.renderFrame=function(V){if(V||this.filterManager._mdf){var B=this.filterManager.effectElements[0].p.v,G=this.filterManager.effectElements[1].p.v,z=this.filterManager.effectElements[2].p.v,N=z[0]+" "+G[0]+" "+B[0],H=z[1]+" "+G[1]+" "+B[1],j=z[2]+" "+G[2]+" "+B[2];this.feFuncR.setAttribute("tableValues",N),this.feFuncG.setAttribute("tableValues",H),this.feFuncB.setAttribute("tableValues",j)}};function SVGProLevelsFilter(V,B,G,z){this.filterManager=B;var N=this.filterManager.effectElements,H=createNS("feComponentTransfer");(N[10].p.k||N[10].p.v!==0||N[11].p.k||N[11].p.v!==1||N[12].p.k||N[12].p.v!==1||N[13].p.k||N[13].p.v!==0||N[14].p.k||N[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",H)),(N[17].p.k||N[17].p.v!==0||N[18].p.k||N[18].p.v!==1||N[19].p.k||N[19].p.v!==1||N[20].p.k||N[20].p.v!==0||N[21].p.k||N[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",H)),(N[24].p.k||N[24].p.v!==0||N[25].p.k||N[25].p.v!==1||N[26].p.k||N[26].p.v!==1||N[27].p.k||N[27].p.v!==0||N[28].p.k||N[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",H)),(N[31].p.k||N[31].p.v!==0||N[32].p.k||N[32].p.v!==1||N[33].p.k||N[33].p.v!==1||N[34].p.k||N[34].p.v!==0||N[35].p.k||N[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",H)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(H.setAttribute("color-interpolation-filters","sRGB"),V.appendChild(H)),(N[3].p.k||N[3].p.v!==0||N[4].p.k||N[4].p.v!==1||N[5].p.k||N[5].p.v!==1||N[6].p.k||N[6].p.v!==0||N[7].p.k||N[7].p.v!==1)&&(H=createNS("feComponentTransfer"),H.setAttribute("color-interpolation-filters","sRGB"),H.setAttribute("result",z),V.appendChild(H),this.feFuncRComposed=this.createFeFunc("feFuncR",H),this.feFuncGComposed=this.createFeFunc("feFuncG",H),this.feFuncBComposed=this.createFeFunc("feFuncB",H))}SVGProLevelsFilter.prototype.createFeFunc=function(V,B){var G=createNS(V);return G.setAttribute("type","table"),B.appendChild(G),G},SVGProLevelsFilter.prototype.getTableValue=function(V,B,G,z,N){for(var H=0,j=256,Y,W=Math.min(V,B),X=Math.max(V,B),et=Array.call(null,{length:j}),at,J=0,st=N-z,it=B-V;H<=256;)Y=H/256,Y<=W?at=it<0?N:z:Y>=X?at=it<0?z:N:at=z+st*Math.pow((Y-V)/it,1/G),et[J]=at,J+=1,H+=256/(j-1);return et.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(V){if(V||this.filterManager._mdf){var B,G=this.filterManager.effectElements;this.feFuncRComposed&&(V||G[3].p._mdf||G[4].p._mdf||G[5].p._mdf||G[6].p._mdf||G[7].p._mdf)&&(B=this.getTableValue(G[3].p.v,G[4].p.v,G[5].p.v,G[6].p.v,G[7].p.v),this.feFuncRComposed.setAttribute("tableValues",B),this.feFuncGComposed.setAttribute("tableValues",B),this.feFuncBComposed.setAttribute("tableValues",B)),this.feFuncR&&(V||G[10].p._mdf||G[11].p._mdf||G[12].p._mdf||G[13].p._mdf||G[14].p._mdf)&&(B=this.getTableValue(G[10].p.v,G[11].p.v,G[12].p.v,G[13].p.v,G[14].p.v),this.feFuncR.setAttribute("tableValues",B)),this.feFuncG&&(V||G[17].p._mdf||G[18].p._mdf||G[19].p._mdf||G[20].p._mdf||G[21].p._mdf)&&(B=this.getTableValue(G[17].p.v,G[18].p.v,G[19].p.v,G[20].p.v,G[21].p.v),this.feFuncG.setAttribute("tableValues",B)),this.feFuncB&&(V||G[24].p._mdf||G[25].p._mdf||G[26].p._mdf||G[27].p._mdf||G[28].p._mdf)&&(B=this.getTableValue(G[24].p.v,G[25].p.v,G[26].p.v,G[27].p.v,G[28].p.v),this.feFuncB.setAttribute("tableValues",B)),this.feFuncA&&(V||G[31].p._mdf||G[32].p._mdf||G[33].p._mdf||G[34].p._mdf||G[35].p._mdf)&&(B=this.getTableValue(G[31].p.v,G[32].p.v,G[33].p.v,G[34].p.v,G[35].p.v),this.feFuncA.setAttribute("tableValues",B))}};function SVGDropShadowEffect(V,B,G,z,N){var H=B.container.globalData.renderConfig.filterSize,j=B.data.fs||H;V.setAttribute("x",j.x||H.x),V.setAttribute("y",j.y||H.y),V.setAttribute("width",j.width||H.width),V.setAttribute("height",j.height||H.height),this.filterManager=B;var Y=createNS("feGaussianBlur");Y.setAttribute("in","SourceAlpha"),Y.setAttribute("result",z+"_drop_shadow_1"),Y.setAttribute("stdDeviation","0"),this.feGaussianBlur=Y,V.appendChild(Y);var W=createNS("feOffset");W.setAttribute("dx","25"),W.setAttribute("dy","0"),W.setAttribute("in",z+"_drop_shadow_1"),W.setAttribute("result",z+"_drop_shadow_2"),this.feOff
vendor: 4,280 bytes, line 9
9set=W,V.appendChild(W);var X=createNS("feFlood");X.setAttribute("flood-color","#00ff00"),X.setAttribute("flood-opacity","1"),X.setAttribute("result",z+"_drop_shadow_3"),this.feFlood=X,V.appendChild(X);var et=createNS("feComposite");et.setAttribute("in",z+"_drop_shadow_3"),et.setAttribute("in2",z+"_drop_shadow_2"),et.setAttribute("operator","in"),et.setAttribute("result",z+"_drop_shadow_4"),V.appendChild(et);var at=this.createMergeNode(z,[z+"_drop_shadow_4",N]);V.appendChild(at)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(V){if(V||this.filterManager._mdf){if((V||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),V||this.filterManager.effectElements[0].p._mdf){var B=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(B[0]*255),Math.round(B[1]*255),Math.round(B[2]*255)))}if((V||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),V||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var G=this.filterManager.effectElements[3].p.v,z=(this.filterManager.effectElements[2].p.v-90)*degToRads,N=G*Math.cos(z),H=G*Math.sin(z);this.feOffset.setAttribute("dx",N),this.feOffset.setAttribute("dy",H)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(V,B,G){this.initialized=!1,this.filterManager=B,this.filterElem=V,this.elem=G,G.matteElement=createNS("g"),G.matteElement.appendChild(G.layerElement),G.matteElement.appendChild(G.transformedElement),G.baseElement=G.matteElement}SVGMatte3Effect.prototype.findSymbol=function(V){for(var B=0,G=_svgMatteSymbols.length;B<G;){if(_svgMatteSymbols[B]===V)return _svgMatteSymbols[B];B+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(V,B){var G=V.layerElement.parentNode;if(G){for(var z=G.children,N=0,H=z.length;N<H&&z[N]!==V.layerElement;)N+=1;var j;N<=H-2&&(j=z[N+1]);var Y=createNS("use");Y.setAttribute("href","#"+B),j?G.insertBefore(Y,j):G.appendChild(Y)}},SVGMatte3Effect.prototype.setElementAsMask=function(V,B){if(!this.findSymbol(B)){var G=createElementID(),z=createNS("mask");z.setAttribute("id",B.layerId),z.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(B);var N=V.globalData.defs;N.appendChild(z);var H=createNS("symbol");H.setAttribute("id",G),this.replaceInParent(B,G),H.appendChild(B.layerElement),N.appendChild(H);var j=createNS("use");j.setAttribute("href","#"+G),z.appendChild(j),B.data.hd=!1,B.show()}V.setMatte(B.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var V=this.filterManager.effectElements[0].p.v,B=this.elem.comp.elements,G=0,z=B.length;G<z;)B[G]&&B[G].data.ind===V&&this.setElementAsMask(this.elem,B[G]),G+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(V,B,G,z){V.setAttribute("x","-100%"),V.setAttribute("y","-100%"),V.setAttribute("width","300%"),V.setAttribute("height","300%"),this.filterManager=B;var N=createNS("feGaussianBlur");N.setAttribute("result",z),V.appendChild(N),this.feGaussianBlur=N}SVGGaussianBlurEffect.prototype.renderFrame=function(V){if(V||this.filterManager._mdf){var B=.3,G=this.filterManager.effectElements[0].p.v*B,z=this.filterManager.effectElements[1].p.v,N=z==3?0:G,H=z==2?0:G;this.feGaussianBlur.setAttribute("stdDeviation",N+" "+H);var j=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",j)}};function TransformEffect(){}TransformEffect.prototype.init=function(V){this.effectsManager=V,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(V){if(this._opMdf=!1,this._mdf=!1,V||this.effectsManager._mdf){var B=this.effectsManager.effectElements,G=B[0].p.v,z=B[1].p.v,N=B[2].p.v===1,H=B[3].p.v,j=N?H:B[4].p.v,Y=B[5].p.v,W=B[6].p.v,X=B[7].p.v;this.matrix.reset(),this.matrix.translate(-G[0],-G[1],G[2]),this.matrix.scale(j*.01,H*.01,1),this.matrix.rotate(-X*degToRads),this.matrix.skewFromAxis(-Y*degToRads,(W+90)*degToRads),this.matrix.translate(z[0],z[1],0
9),this._mdf=!0,this.opacity!==B[8].p.v&&(this.opacity=B[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(V,B){this.init(B)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(V){this.init(V)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie,lottie.exports);var lottieExports=lottie.exports;function e(V){return JSON.parse(JSON.stringify(V))}function t(V){return V==null}function i(V){return V!==null&&typeof V=="object"}function s(V,B,G){const z=Array.isArray(B)?B:B.split(".");let N=V;for(const H of z){if(!i(N)||!(H in N))return G;N=N[H]}return N===void 0?G:N}function r(V,B,G){let z=V;const N=Array.isArray(B)?B:B.split(".");for(let H=0;H<N.length;++H)H===N.length-1?z[N[H]]=G:z=z[N[H]]}const n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
9almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function a(V){return V.startsWith("#")?V.length===4?`#${V[1]}${V[1]}${V[2]}${V[2]}${V[3]}${V[3]}`:V:n[V.toLowerCase()]||"#000000"}function o(V){if(V&&typeof V=="string")return V.split(",").filter(B=>B).map(B=>B.split(":")).filter(B=>B.length==2).reduce((B,G)=>(B[G[0].toLowerCase()]=a(G[1]),B),{})}function l(V){return V==="light"||V===1||V==="1"?1:V==="regular"||V===2||V==="2"?2:V==="bold"||V===3||V==="3"?3:typeof V=="number"||typeof V=="string"?+V:void 0}function h(V){if(typeof V=="string")return V}function c(V){const B=V.toString(16);return B.length==1?"0"+B:B}function d(V){return Math.round(V/255*1e3)/1e3}function g(V){return Math.round(255*V)}function f(V){const{r:B,g:G,b:z}=function(N){let H=parseInt(N[0]!="#"?N:N.substring(1),16);return{r:H>>16&255,g:H>>8&255,b:255&H}}(V);return[d(B),d(G),d(z)]}function u(V){return function(B){return"#"+c(B.r)+c(B.g)+c(B.b)}({r:g(V[0]),g:g(V[1]),b:g(V[2])})}function m(V,{lottieInstance:B}={}){const G=[];return V&&V.layers&&V.layers.forEach((z,N)=>{z.nm&&z.ef&&z.ef.forEach((H,j)=>{var at,J,st;const Y=(st=(J=(at=H==null?void 0:H.ef)==null?void 0:at[0])==null?void 0:J.v)==null?void 0:st.k;if(Y===void 0)return;let W,X;if(W=B?`renderer.elements.${N}.effectsManager.effectElements.${j}.effectElements.0.p.v`:`layers.${N}.ef.${j}.ef.0.v.k`,H.mn==="ADBE Color Control"?X="color":H.mn==="ADBE Slider Control"?X="slider":H.mn==="ADBE Point Control"?X="point":H.mn==="ADBE Checkbox Control"?X="checkbox":H.mn.startsWith("Pseudo/")&&(X="feature"),!X)return;const et=H.nm.toLowerCase();G.push({name:et,path:W,value:Y,type:X})})}),G}function y(V,B){for(const G of B)r(V,G.path,G.value)}function p(V,B,G){for(const z of B)z.type==="color"?typeof G=="object"&&"r"in G&&"g"in G&&"b"in G?r(V,z.path,[d(G.r),d(G.g),d(G.b)]):Array.isArray(G)?r(V,z.path,G):typeof G=="string"&&r(V,z.path,f(a(G))):z.type==="point"?typeof G=="object"&&"x"in G&&"y"in G?(r(V,z.path+".0",G.x),r(V,z.path+".1",G.y)):Array.isArray(G)&&(r(V,z.path+".0",G[0]),r(V,z.path+".1",G[1])):r(V,z.path,G)}const _=["click","mouseenter","mouseleave"],b="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,v=` 10 :host { 11 position: relative; 12 display: inline-block; 13 width: 32px; 14 height: 32px; 15 transform: translate3d(0px, 0px, 0px); 16 } 17 18 :host(.current-color) svg path[fill] { 19 fill: currentColor; 20 } 21 22 :host(.current-color) svg path[stroke] { 23 stroke: currentColor; 24 } 25 26 svg { 27 position: absolute; 28 pointer-events: none; 29 display: block; 30 transform: unset!important; 31 } 32 33 ::slotted(*) { 34 position: absolute; 35 left: 0; 36 top: 0; 37 width: 100%; 38 height: 100%; 39 } 40 41 .body.ready ::slotted(*) { 42 display: none; 43 } 44`;let E=null;const k=["colors","src","icon","state","trigger","loading","target","stroke"],Bt=class Bt extends HTMLElement{constructor(){super(...arguments);Ct(this,"_root");Ct(this,"_isConnected",!1);Ct(this,"_isReady",!1);Ct(this,"_assignedIconData");Ct(this,"_loadedIconData");Ct(this,"_triggerInstance");Ct(this,"_playerInstance");Ct(this,"delayedLoading",null)}static get version(){return"1.10.1"}static get observedAttributes(){return k}static setIconLoader(G){Bt._iconLoader=G}static setPlayerFactory(G){Bt._playerFactory=G}static defineTrigger(G,z){Bt._definedTriggers.set(G,z)}attributeChangedCallback(G,z,N){this[`${G}Changed`].call(this)}connectedCallback(){if(this._root||this.createElements(),this.loading==="lazy"){let G;this.delayedLoading=z=>{G.unobserve(this),G=void 0,this.delayedLoading=null,z||this.createPlayer()},G=new IntersectionObserver((z,N)=>{z.forEach(H=>{H.isIntersecting&&G&&this.delayedLoading&&this.delayedLoading()})}),G.observe(this)}else if(this.loading==="interaction"){let G;this.delayedLoading=H=>{for(const j of _)(z||this).removeEventListener(j,N);this.delayedLoading=null,H||this.createPlayer().then(()=>{G&&(z||this).dispatchEvent(new Event(G))})};const z=this.target?this.closest(this.target):null;let N=H=>{const j=H==null?void 0:H.type;G?G=j:(G=j,this.delayedLoading&&this.delayedLoading())};N=N.bind(this);for(const H of _)(z||this).addEventListener(H,N)}else if(this.loading==="delay"){this.delayedLoading=z=>{this.delayedLoading=null,z||this.createPlayer()};const G=this.hasAttribute("delay")?+this.getAttribute("delay"):0;setTimeout(()=>{this.delayedLoading&&this.delayedLoading()},G)}else this.createPlayer();this._isConnected=!0}disconnectedCallback(){this.delayedLoading&&this.delayedLoading(!0),this.destroyPlayer(),this._isConnected=!1}createElements(){if(this._root=this.attachShadow({mode:"open"}),b)E||(E=new CSSStyleSheet,E.replaceSync(v)),this._root.adoptedStyleSheets=[E];else{const N=document.createElement("style");N.innerHTML=v,this._root.appendChild(N)}const G=document.createElement("div");G.classList.add("body"),this._root.appendChild(G);const z=document.createElement("slot");G.appendChild(z)}async createPlayer(){if(!Bt._playerFactory)throw new Error("Missing player loader!");if(this.delayedLoading)return;const G=await this.loadIconData();if(!G)return;this._playerInstance=Bt._playerFactory(this.animationContainer,G,{state:h(this.state),stroke:l(this.stroke),colors:o(this.colors),scale:parseFloat(""+this.getAttribute("scale")||""),axisX:parseFloat(""+this.getAttribute("axis-x")||""),axisY:parseFloat(""+this.getAttribute("axis-y")||"")});const z=Object.entries(this._playerInstance.colors||{});if(z.length){let N="";for(const[j,Y]of z)N+=` 45 :host(:not(.current-color)) svg path[fill].${j} { 46 fill: var(--lord-icon-${j}, var(--lord-icon-${j}-base, #000)); 47 } 48 49 :host(:not(.current-color)) svg path[stroke].${j} { 50 stroke: var(--lord-icon-${j}, var(--lord-icon-${j}-base, #000)); 51 } 52 `;const H=document.createElement("style");
52H.innerHTML=N,this.animationContainer.appendChild(H)}this._playerInstance.connect(),this._playerInstance.addEventListener("ready",()=>{this._triggerInstance&&this._triggerInstance.onReady&&this._triggerInstance.onReady()}),this._playerInstance.addEventListener("refresh",()=>{this.refresh(),this._triggerInstance&&this._triggerInstance.onRefresh&&this._triggerInstance.onRefresh()}),this._playerInstance.addEventListener("complete",()=>{this._triggerInstance&&this._triggerInstance.onComplete&&this._triggerInstance.onComplete()}),this._playerInstance.addEventListener("frame",()=>{this._triggerInstance&&this._triggerInstance.onFrame&&this._triggerInstance.onFrame()}),this.refresh(),this.triggerChanged(),await new Promise((N,H)=>{this._playerInstance.isReady?N():this._playerInstance.addEventListener("ready",N)}),this.animationContainer.classList.add("ready"),this._isReady=!0,this.dispatchEvent(new CustomEvent("ready"))}destroyPlayer(){this._isReady=!1,this._loadedIconData=void 0,this._triggerInstance&&(this._triggerInstance.onDisconnected&&this._triggerInstance.onDisconnected(),this._triggerInstance=void 0),this._playerInstance&&(this._playerInstance.disconnect(),this._playerInstance=void 0,this.animationContainer.classList.remove("ready"))}async loadIconData(){let G=this.iconData;if(!G){if(this.icon&&Bt._iconLoader)this._loadedIconData=G=await Bt._iconLoader(this.icon);else if(this.src){const z=await fetch(this.src);this._loadedIconData=G=await z.json()}}return G}refresh(){this.movePaletteToCssVariables()}movePaletteToCssVariables(){for(const[G,z]of Object.entries(this._playerInstance.colors||{}))z?this.animationContainer.style.setProperty(`--lord-icon-${G}-base`,z):this.animationContainer.style.removeProperty(`--lord-icon-${G}-base`)}targetChanged(){this.triggerChanged()}loadingChanged(){}triggerChanged(){var N;if(this._triggerInstance&&(this._triggerInstance.onDisconnected&&this._triggerInstance.onDisconnected(),this._triggerInstance=void 0,(N=this._playerInstance)==null||N.pause()),!this.trigger||!this._playerInstance)return;const G=Bt._definedTriggers.get(this.trigger);if(!G)throw new Error("Can't use unregistered trigger!");const z=this.target?this.closest(this.target):null;this._triggerInstance=new G(this._playerInstance,this,z||this),this._triggerInstance.onConnected&&this._triggerInstance.onConnected(),this._playerInstance.isReady&&this._triggerInstance.onReady&&this._triggerInstance.onReady()}colorsChanged(){this._playerInstance&&(this._playerInstance.colors=o(this.colors)||null)}strokeChanged(){this._playerInstance&&(this._playerInstance.stroke=l(this.stroke)||null)}stateChanged(){this._playerInstance&&(this._playerInstance.state=this.state)}iconChanged(){this._isConnected&&(this.destroyPlayer(),this.createPlayer())}srcChanged(){this._isConnected&&(this.destroyPlayer(),this.createPlayer())}set icon(G){const z=this._assignedIconData;G&&i(G)?(this._assignedIconData=G,z!==G&&(this.hasAttribute("icon")?this.removeAttribute("icon"):this.iconChanged())):(this._assignedIconData=void 0,G&&typeof G=="string"?this.setAttribute("icon",G):this.hasAttribute("icon")?this.removeAttribute("icon"):z&&this.iconChanged())}get icon(){return this._assignedIconData||this.getAttribute("icon")}set src(G){G?this.setAttribute("src",G):this.removeAttribute("src")}get src(){return this.getAttribute("src")}set state(G){G?this.setAttribute("state",G):this.removeAttribute("state")}get state(){return this.getAttribute("state")}set colors(G){G?this.setAttribute("colors",G):this.removeAttribute("colors")}get colors(){return this.getAttribute("colors")}set trigger(G){G?this.setAttribute("trigger",G):this.removeAttribute("trigger")}get trigger(){return this.getAttribute("trigger")}set loading(G){G?this.setAttribute("loading",G):this.removeAttribute("loading")}get loading(){if(this.getAttribute("loading")){const G=this.getAttribute("loading").toLowerCase();if(G==="lazy")return"lazy";if(G==="interaction")return"interaction";if(G==="delay")return"delay"}return null}set target(G){G?this.setAttribute("target",G):this.removeAttribute("target")}get target(){return this.getAttribute("target")}set stroke(G){G?this.setAttribute("stroke",G):this.removeAttribute("stroke")}get stroke(){return this.hasAttribute("stroke")?this.getAttribute("stroke"):null}set iconData(G){G!==this._assignedIconData&&(this._assignedIconData=G,this.iconChanged())}get iconData(){return this._assignedIconData||this._loadedIconData}get isReady(){return this._isReady}get playerInstance(){return this._playerInstance}get triggerInstance(){return this._triggerInstance}get animationContainer(){return this._root.lastElementChild}};Ct(Bt,"_iconLoader"),Ct(Bt,"_playerFactory"),Ct(Bt,"_definedTriggers",new Map);let I=Bt;const C={renderer:"svg",loop:!1,autoplay:!1,rendererSettings:{preserveAspectRatio:"xMidYMid meet",progressiveLoad:!0,hideOnTransparent:!0}};function w(){return new Proxy(this,{set:(V,B,G,z)=>
52(typeof B=="string"&&(G?p(this.lottie,this.rawProperties.filter(N=>N.type==="color"&&N.name===B),G):y(this.lottie,this.rawProperties.filter(N=>N.type==="color"&&N.name===B)),V.refresh()),!0),get:(V,B,G)=>{for(const z of V.rawProperties)if(z.type=="color"&&typeof B=="string"&&B==z.name){const N=s(this.lottie,z.path);if(N)return u(N)}},deleteProperty:(V,B)=>(typeof B=="string"&&(y(this.lottie,this.rawProperties.filter(G=>G.type==="color"&&G.name===B)),V.refresh()),!0),ownKeys:V=>V.rawProperties.filter(B=>B.type=="color").map(B=>B.name),has:(V,B)=>{for(const G of V.rawProperties)if(G.type=="color"&&typeof B=="string"&&B==G.name)return!0;return!1},getOwnPropertyDescriptor:V=>({enumerable:!0,configurable:!0})})}class L{constructor(B,G,z,N,H){Ct(this,"_animationLoader");Ct(this,"_container");Ct(this,"_iconData");Ct(this,"_initial");Ct(this,"_options");Ct(this,"_lottie");Ct(this,"_isReady",!1);Ct(this,"_colorsProxy");Ct(this,"_direction",1);Ct(this,"_speed",1);Ct(this,"_rawProperties");Ct(this,"_eventCallbacks",{});Ct(this,"_state");Ct(this,"_states");if(this._animationLoader=B,this._container=G,this._iconData=z,this._initial=N||{},this._options=H||C,this._states=(z.markers||[]).map(j=>{const[Y,W]=j.cm.split(":"),X={time:j.tm,duration:j.dr,name:W||Y,default:!(!W||!Y.includes("default"))};return(X.name===this._initial.state||X.default&&t(this._initial.state))&&(this._state=X),X}).filter(j=>j.duration>0),this._states.length&&(this._initial.stroke&&![1,2,3,"light","regular","bold"].includes(this._initial.stroke)&&delete this._initial.stroke,this._initial.state&&!this._state&&(this._state=this._states.filter(j=>j.default)[0])),!this._states.length){this._iconData=e(this._iconData);const j=m(this._iconData,{lottieInstance:!1});if(j&&this._initial.state){const Y=`state-${this._initial.state.toLowerCase()}`;p(this._iconData,j.filter(W=>W.name.startsWith("state-")),0),p(this._iconData,j.filter(W=>W.name===Y),1)}if(j&&this._initial.stroke){const Y=j.filter(W=>W.name==="stroke")[0];if(Y){const W=Y.value/50,X=this._initial.stroke*W;r(this._iconData,Y.path,X)}}if(j&&this._initial.scale){const Y=j.filter(W=>W.name==="scale")[0];if(Y){const W=Y.value/50,X=this._initial.scale*W;r(this._iconData,Y.path,X)}}if(j&&this._initial.axisX&&this._initial.axisY){const Y=j.filter(W=>W.name==="axis")[0];if(Y){const W=(Y.value[0]+Y.value[1])/2/50;r(this._iconData,Y.path+".0",this._initial.axisX*W),r(this._iconData,Y.path+".1",this._initial.axisY*W)}}}}connect(){if(this._lottie)throw new Error("Already connected player!");const B={},G={};if(this._state&&(G.initialSegment=[this._state.time,this._state.time+this._state.duration+1]),this._states.length){const z=this._states[0],N=this._states[this._states.length-1];B.ip=z.time,B.op=N.time+N.duration+1}this._lottie=this._animationLoader({...this._options,...G,container:this._container,animationData:Object.assign(e(this._iconData),B)}),this._initial.colors&&(this.colors=this._initial.colors),this._initial.stroke&&(this.stroke=this._initial.stroke),this._lottie.addEventListener("complete",z=>{this.triggerEvent("complete")}),this._lottie.addEventListener("loopComplete",()=>{this.triggerEvent("complete")}),this._lottie.addEventListener("enterFrame",z=>{this.triggerEvent("frame")}),this._lottie.isLoaded?(this._isReady=!0,this.triggerEvent("ready")):this._lottie.addEventListener("config_ready",()=>{this._isReady=!0,this.triggerEvent("ready")})}disconnect(){if(!this._lottie)throw new Error("Not connected player!");this._isReady=!1,this._lottie.destroy(),this._lottie=void 0,this._colorsProxy=void 0,this._rawProperties=void 0}addEventListener(B,G){return this._eventCallbacks[B]||(this._eventCallbacks[B]=[]),this._eventCallbacks[B].push(G),()=>{this.removeEventListener(B,G)}}removeEventListener(B,G){if(G){if(this._eventCallbacks[B]){let z=0,N=this._eventCallbacks[B].length;for(;z<N;)this._eventCallbacks[B][z]===G&&(this._eventCallbacks[B].splice(z,1),z-=1,N-=1),z+=1;this._eventCallbacks[B].length||(this._eventCallbacks[B]=null)}}else this._eventCallbacks[B]=null}triggerEvent(B,G){if(this._eventCallbacks[B]){const z=this._eventCallbacks[B];for(let N=0;N<z.length;N+=1)z[N](G)}}refresh(){var B;(B=this._lottie)==null||B.renderer.renderFrame(null),this.triggerEvent("refresh")}play(){this._lottie.setDirection(this._direction),this._lottie.play()}playFromBeginning(){this._lottie.setDirection(1),this._state?this._lottie.playSegments([this._state.time,this._state.time+this._state.duration+1],!0):this._lottie.goToAndPlay(0)}pause(){this._lottie.pause()}stop(){this._lottie.stop()}goToFrame(B){this._lottie.goToAndStop(B,!0)}goToFirstFrame(){this.goToFrame(0)}goToLastFrame(){this.goToFrame(Math.max(0,this.frames))}set properties(B){this.colors=B.colors||null,this.stroke=B.stroke||null,this.state=B.state||null}get properties(){const B={};return this.rawProperties.filter(G=>G.type==="color").length&&(B.colors={...this.colors}),this.rawProperties.filter(G=>
52G.name==="stroke"||G.name==="stroke-layers").length&&(B.stroke=this.stroke),this._states.length&&(B.state=this.state),B}set colors(B){if(y(this._lottie,this.rawProperties.filter(G=>G.type==="color")),B)for(const[G,z]of Object.entries(B))p(this._lottie,this.rawProperties.filter(N=>N.type==="color"&&N.name===G),z);this.refresh()}get colors(){return this._colorsProxy||(this._colorsProxy=w.call(this)),this._colorsProxy}set stroke(B){y(this._lottie,this.rawProperties.filter(z=>z.name==="stroke"||z.name==="stroke-layers"));const G=l(B);G&&p(this._lottie,this.rawProperties.filter(z=>z.name==="stroke"||z.name==="stroke-layers"),G),this.refresh()}get stroke(){const B=this.rawProperties.filter(G=>G.name==="stroke"||G.name==="stroke-layers")[0];return B&&l(+s(this._lottie,B.path))||null}set state(B){var z;if(B===this.state)return;const G=this.isPlaying;this._state=void 0,t(B)?this._state=this._states.filter(N=>N.default)[0]:B&&(this._state=this._states.filter(N=>N.name===B)[0],this._state||(this._state=this._states.filter(N=>N.default)[0])),this._state?(z=this._lottie)==null||z.setSegment(this._state.time,this._state.time+this._state.duration+1):this._lottie.resetSegments(!0),this.goToFirstFrame(),G&&(this.pause(),this.play())}get state(){return this._state?this._state.name:""}set speed(B){var G;this._speed=B,(G=this._lottie)==null||G.setSpeed(B)}get speed(){return this._speed}set direction(B){this._direction=B,this._lottie.setDirection(B)}get direction(){return this._direction}set loop(B){this._lottie.loop=B}get loop(){return!!this._lottie.loop}set frame(B){this.goToFrame(Math.max(0,Math.min(this.frames,B)))}get frame(){return this._lottie.currentFrame}get states(){return this._states}get isPlaying(){return!this._lottie.isPaused}get isReady(){return this._isReady}get frames(){return this._lottie.getDuration(!0)-1}get duration(){return this._lottie.getDuration(!1)}get lottie(){return this._lottie}get rawProperties(){return this._rawProperties||(this._rawProperties=m(this._iconData,{lottieInstance:!0}),!this._states.length&&this._rawProperties&&(this._rawProperties=this._rawProperties.filter(B=>B.name!=="scale"&&B.name!=="axis"&&B.name!=="stroke"&&!B.name.startsWith("state-")))),this._rawProperties||[]}}class D{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");this.player=B,this.element=G,this.targetElement=z,this.onHover=this.onHover.bind(this)}onConnected(){this.targetElement.addEventListener("mouseenter",this.onHover)}onDisconnected(){this.targetElement.removeEventListener("mouseenter",this.onHover),this.player.direction=1}onComplete(){this.player.direction=-1,this.player.play()}onHover(){this.player.direction=1,this.player.play()}}const T=[{name:"mousedown"},{name:"touchstart",options:{passive:!0}}];class P{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");this.player=B,this.element=G,this.targetElement=z,this.onClick=this.onClick.bind(this)}onConnected(){for(const B of T)this.targetElement.addEventListener(B.name,this.onClick,B.options)}onDisconnected(){for(const B of T)this.targetElement.removeEventListener(B.name,this.onClick)}onClick(){this.player.isPlaying||this.player.playFromBeginning()}}class A{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");this.player=B,this.element=G,this.targetElement=z,this.onHover=this.onHover.bind(this)}onConnected(){this.targetElement.addEventListener("mouseenter",this.onHover)}onDisconnected(){this.targetElement.removeEventListener("mouseenter",this.onHover)}onHover(){this.player.isPlaying||this.player.playFromBeginning()}}class F{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");Ct(this,"playTimeout",null);Ct(this,"played",!1);Ct(this,"intersectionObserver");this.player=B,this.element=G,this.targetElement=z}onConnected(){if(this.loading)this.play();else{const B=(G,z)=>{G.forEach(N=>{N.isIntersecting&&(this.play(),this.resetIntersectionObserver())})};this.intersectionObserver=new IntersectionObserver(B),this.intersectionObserver.observe(this.element)}}onDisconnected(){this.played=!1,this.resetIntersectionObserver(),this.resetPlayDelayTimer()}play(){this.played||(this.played=!0,this.resetPlayDelayTimer(),this.delay>0?this.playTimeout=setTimeout(()=>{this.player.playFromBeginning(),this.playTimeout=null},this.delay):this.player.playFromBeginning())}resetIntersectionObserver(){this.intersectionObserver&&(this.intersectionObserver.unobserve(this.element),this.intersectionObserver=void 0)}resetPlayDelayTimer(){this.playTimeout&&(clearTimeout(this.playTimeout),this.playTimeout=null)}get delay(){const B=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(B,0)}get loading(){return this.element.hasAttribute("loading")}}class x{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");Ct(this,"playTimeout",null);this.player=B,this.element=G,this.targetElement=z}onReady(){this.play()}onComplete(){this.play()}onDisconnected(){this.resetPlayDelayTimer()}play(){this.resetPlayDelayTimer(),this.delay>0?this.playTimeout=setTimeout(()=>{this.player.playFromBeginning()},this.delay):this.player.playFromBeginning()}resetPlayDelayTimer(){this.playTimeout&&(clearTimeout(this.playTimeout),this.playTimeout=null)}get delay(){const B=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(B,0)}}class M{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");Ct(this,"playTimeout",null);Ct(this,"mouseIn",!1);this.player=B,this.element=G,this.targetElement=z,this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this)}onConnected(){this.targetElement.addEventListener("mouseenter",this.onMouseEnter),this.targetElement.addEventListener("mouseleave",this.onMouseLeave)}onDisconnected(){this.targetElement.removeEventListener("mouseenter",this.onMouseEnter),this.targetElement.removeEventListener("mouseleave",this.onMouseLeave),this.resetPlayDelayTimer()}onMouseEnter(){this.mouseIn=!0,this.player.isPlaying||this.play()}onMouseLeave(){this.mouseIn=!1,this.resetPlayDelayTimer()}onComplete(){this.play()}play(){this.resetPlayDelayTimer(),this.mouseIn&&(this.delay>0?this.playTimeout=setTimeout(()=>{this.player.playFromBeginning()},this.delay):this.player.playFromBeginning())}resetPlayDelayTimer(){this.playTimeout&&(clearTimeout(this.playTimeout),this.playTimeout=null)}get delay(){const B=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(B,0)}}class S{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");this.player=B,this.element=G,this.targetElement=z,this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this)}onConnected(){this.targetElement.addEventListener("mouseenter",this.onMouseEnter),this.targetElement.addEventListener("mouseleave",this.onMouseLeave)}onDisconnected(){this.targetElement.removeEventListener("mouseenter",this.onMouseEnter),this.targetElement.removeEventListener("mouseleave",this.onMouseLeave),this.player.direction=1}onMouseEnter(){this.player.direction=1,this.player.play()}onMouseLeave(){this.player.direction=-1,this.player.play()}}const R=/^\d*(\.\d+)?$/,$={attributes:!0,childList:!1,subtree:!1};class q{constructor(B,G,z){Ct(this,"player");Ct(this,"element");Ct(this,"targetElement");Ct(this,"sequenceIndex",0);Ct(this,"frameState",null);Ct(this,"frameDelayFirst",null);Ct(this,"frameDelayLast",null);Ct(this,"timer");Ct(this,"observer");this.player=B,this.element=G,this.targetElement=z,this.observer=new MutationObserver((N,H)=>{for(const j of N)j.type==="attributes"&&["sequence","speed"].includes(j.attributeName)&&(this.reset(),this.step())})}onReady(){this.step()}onComplete(){this.timer=setTimeout(()=>{this.timer=null,this.frameDelayLast=null,this.step()},this.frameDelayLast||0)}onConnected(){this.observer.observe(this.element,$),this.player.speed=this.speed}onDisconnected(){this.observer.disconnect(),this.timer&&(clearTimeout(this.timer),this.timer=null),this.player.speed=1}reset(){this.player.pause(),this.player.speed=this.speed,this.sequenceIndex=0,this.frameState=this.frameDelayFirst=this.frameDelayLast=null,this.timer&&(clearTimeout(this.timer),this.timer=null)}takeStep(){const B=this.sequence.split(","),G=B[this.sequenceIndex];this.sequenceIndex++,this.sequenceIndex>=B.length&&(this.sequenceIndex=0);const[z,...N]=G.split(":");return{action:z,params:N}}handleStep(B,G){if(B==="play")this.frameState&&(this.player.state=this.frameState,this.frameState=null),G.includes("reverse")?(this.player.goToLastFrame(),this.player.direction=-1):(this.player.goToFirstFrame(),this.player.direction=1),this.timer=setTimeout(()=>{this.timer=null,this.frameDelayFirst=null,this.player.play()},this.frameDelayFirst||0);else if(B==="frame"){let z=0;G.length&&G[0].match(R)&&(z=Math.max(0,Math.min(this.player.frames,+G[0]))),this.player.frame=z,this.timer=setTimeout(()=>{this.timer=null,this.frameDelayFirst=null,this.step()},this.frameDelayFirst||0)}else if(B==="state")this.frameState=G[0],this.step();else if(B==="delay"){let z=null;for(const N of G)N&&N.match(R)&&(z=+N);z&&z>0&&(G.includes("first")&&G.includes("last")?(this.frameDelayFirst=z,this.frameDelayLast=z):G.includes("first")?this.frameDelayFirst=z:G.includes("last")?this.frameDelayLast=z:this.frameDelayFirst=z),this.step()}else if(B!=="idle")throw new Error(`Invalid sequence action: ${B}`)}step(){const{action:B,params:G}=this.takeStep();B&&this.handleStep(B,G)}get sequence(){return this.element.getAttribute("sequence")||""}get speed(){return this.element.hasAttribute("speed")?+(this.element.getAttribute("speed")||1):1}}function O(V){I.setPlayerFactory((B,G,z)=>new L(V,B,G,z)),I.defineTrigger("in",F),I.defineTrigger("click",P),I.defineTrigger("hover",A),I.defineTrigger("loop",x),I.defineTrigger("loop-on-hover",M),I.defineTrigger("morph",S),I.defineTrigger("boomerang",D),I.defineTrigger("sequence",q),I.defineTrigger("morph-two-way",D),customElements.get&&customElements.get("lord-icon")||customElements.define("lord-icon",I)}function lordIcon(){try{O(lottieExports.loadAnimation)}catch(V){window.log?window.log.logMessageError(V):console.error(V)}}export{lordIcon as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.