PageSourceSearch

https://www.accentuate.io/cdn/shop/t/37/assets/lottie_light_canvas-B5UTTNXA-PRI6IBWW.CUHJdCDM.min.js

js accentuate.io collected 2026-09-24 18:13:33 UTC 203,890 bytes, 14 lines download raw bytes

vendor: 4,713 bytes, line 1
1import{u as Ma}from"./chunk-HDDX7F4A.DsTJlkT1.min.js";var Ta=Ma((Ve,ii)=>{typeof navigator<"u"&&function(ve,he){typeof Ve=="object"&&typeof ii<"u"?ii.exports=he():typeof define=="function"&&define.amd?define(he):(ve=typeof globalThis<"u"?globalThis:ve||self,ve.lottie=he())}(Ve,function(){var ve="http://www.w3.org/2000/svg",he="",ki=!1,si=-999999,xs=function(t){ki=!!t},_s=function(){return ki},ks=function(t){he=t},bt=function(){return he};function Ct(t){return document.createElement(t)}function Y(t,e){var i,s=t.length,r;for(i=0;i<s;i+=1){r=t[i].prototype;for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e.prototype[a]=r[a])}}function ws(t){function e(){}return e.prototype=t,e}var Ps=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].pause()},resume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].resume()},setRate:function(e){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),at=function(){function t(i,s){var r=0,a=[],n;switch(i){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(r=0;r<s;r+=1)a.push(n);return a}function e(i,s){return i==="float32"?new Float32Array(s):i==="int16"?new Int16Array(s):i==="uint8c"?new Uint8ClampedArray(s):t(i,s)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function Z(t){return Array.apply(null,{length:t})}var wi=!0,Pi=null,Di="",Ds=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Mt=Math.pow,Ai=Math.sqrt,ft=Math.floor,As=Math.min,Si=150,$=Math.PI/180,Gt=.5519;function ai(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function Mi(t,e){this.type=t,this.direction=e<0?-1:1}function Ti(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function Fi(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function Ei(t,e){this.type=t,this.target=e}function Ss(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function Ms(t){this.type="configError",this.nativeError=t}var mt=function(){var t=0;return function(){return t+=1,Di+"__lottie_element_"+t}}();function ri(t,e,i){var s,r,a,n,l,o,m,g;switch(n=Math.floor(t*6),l=t*6-n,o=i*(1-e),m=i*(1-l*e),g=i*(1-(1-l)*e),n%6){case 0:s=i,r=g,a=o;break;case 1:s=m,r=i,a=o;break;case 2:s=o,r=i,a=g;break;case 3:s=o,r=m,a=i;break;case 4:s=g,r=o,a=i;break;case 5:s=i,r=o,a=m;break}return[s,r,a]}function ni(t,e,i){var s=Math.max(t,e,i),r=Math.min(t,e,i),a=s-r,n,l=s===0?0:a/s,o=s/255;switch(s){case r:n=0;break;case t:n=e-i+a*(e<i?6:0),n/=6*a;break;case e:n=i-t+a*2,n/=6*a;break;case i:n=t-e+a*4,n/=6*a;break}return[n,l,o]}function Li(t,e){var i=ni(t[0]*255,t[1]*255,t[2]*255);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),ri(i[0],i[1],i[2])}function Ii(t,e){var i=ni(t[0]*255,t[1]*255,t[2]*255);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),ri(i[0],i[1],i[2])}function Vi(t,e){var i=ni(t[0]*255,t[1]*255,t[2]*255);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),ri(i[0],i[1],i[2])}(function(){var t=[],e,i;for(e=0;e<256;e+=1)i=e.toString(16),t[e]=i.length===1?"0"+i:i;return function(s,r,a){return s<0&&(s=0),r<0&&(r=0),a<0&&(a=0),"#"+t[s]+t[r]+t[a]}})();var Ts=function(t){wi=!!t},Fs=function(){return wi},Es=function(t){Pi=t},Re=function(){return Pi},ze=function(t){Si=t},Oe=function(){return Si},Ls=function(t){Di=t};function W(t){return document.createElementNS(ve,t)}function Ne(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ne=function(e){return typeof e}:Ne=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ne(t)}var be=function(){var t=1,e=[],i,s,r={onmessage:function(){},postMessage:function(f){i({data:f})}},a={postMessage:function(f){r.onmessage({data:f})}};function n(f){if(window.Worker&&window.Blob&&_s()){var w=new Blob(["var _workerSelf = self;
1 self.onmessage = ",f.toString()],{type:"text/javascript"}),k=URL.createObjectURL(w);return new Worker(k)}return i=f,r}function l(){s||(s=n(function(f){function w(){function v(F,E){var u,C,h=F.length,b,S,P,j;for(C=0;C<h;C+=1)if(u=F[C],"ks"in u&&!u.completed){if(u.completed=!0,u.hasMask){var R=u.masksProperties;for(S=R.length,b=0;b<S;b+=1)if(R[b].pt.k.i)d(R[b].pt.k);else for(j=R[b].pt.k.length,P=0;P<j;P+=1)R[b].pt.k[P].s&&d(R[b].pt.k[P].s[0]),R[b].pt.k[P].e&&d(R[b].pt.k[P].e[0])}u.ty===0?(u.layers=c(u.refId,E),v(u.layers,E)):u.ty===4?p(u.shapes):u.ty===5&&V(u)}}function D(F,E){if(F){var u=0,C=F.length;for(u=0;u<C;u+=1)F[u].t===1&&(F[u].data.layers=c(F[u].data.refId,E),v(F[u].data.layers,E))}}function y(F,E){for(var u=0,C=E.length;u<C;){if(E[u].id===F)return E[u];u+=1}return null}function c(F,E){var u=y(F,E);return u?u.layers.__used?JSON.parse(JSON.stringify(u.layers)):(u.layers.__used=!0,u.layers):null}function p(F){var E,u=F.length,C,h;for(E=u-1;E>=0;E-=1)if(F[E].ty==="sh")if(F[E].ks.k.i)d(F[E].ks.k);else for(h=F[E].ks.k.length,C=0;C<h;C+=1)F[E].ks.k[C].s&&d(F[E].ks.k[C].s[0]),F[E].ks.k[C].e&&d(F[E].ks.k[C].e[0]);else F[E].ty==="gr"&&p(F[E].it)}function d(F){var E,u=F.i.length;for(E=0;E<u;E+=1)F.i[E][0]+=F.v[E][0],F.i[E][1]+=F.v[E][1],F.o[E][0]+=F.v[E][0],F.o[E][1]+=F.v[E][1]}function x(F,E){var u=E?E.split("."):[100,100,100];return F[0]>u[0]?!0:u[0]>F[0]?!1:F[1]>u[1]?!0:u[1]>F[1]?!1:F[2]>u[2]?!0:u[2]>F[2]?!1:null}var A=function(){var F=[4,4,14];function E(C){var h=C.t.d;C.t.d={k:[{s:h,t:0}]}}function u(C){var h,b=C.length;for(h=0;h<b;h+=1)C[h].ty===5&&E(C[h])}return function(C){if(x(F,C.v)&&(u(C.layers),C.assets)){var h,b=C.assets.length;for(h=0;h<b;h+=1)C.assets[h].layers&&u(C.assets[h].layers)}}}(),M=function(){var F=[4,7,99];return function(E){if(E.chars&&!x(F,E.v)){var u,C=E.chars.length;for(u=0;u<C;u+=1){var h=E.chars[u];h.data&&h.data.shapes&&(p(h.data.shapes),h.data.ip=0,h.data.op=99999,h.data.st=0,h.data.sr=1,h.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}},E.chars[u].t||(h.data.shapes.push({ty:"no"}),h.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"})))}}}}(),T=function(){var F=[5,7,15];function E(C){var h=C.t.p;typeof h.a=="number"&&(h.a={a:0,k:h.a}),typeof h.p=="number"&&(h.p={a:0,k:h.p}),typeof h.r=="number"&&(h.r={a:0,k:h.r})}function u(C){var h,b=C.length;for(h=0;h<b;h+=1)C[h].ty===5&&E(C[h])}return function(C){if(x(F,C.v)&&(u(C.layers),C.assets)){var h,b=C.assets.length;for(h=0;h<b;h+=1)C.assets[h].layers&&u(C.assets[h].layers)}}}(),I=function(){var F=[4,1,9];function E(C){var h,b=C.length,S,P;for(h=0;h<b;h+=1)if(C[h].ty==="gr")E(C[h].it);else if(C[h].ty==="fl"||C[h].ty==="st")if(C[h].c.k&&C[h].c.k[0].i)for(P=C[h].c.k.length,S=0;S<P;S+=1)C[h].c.k[S].s&&(C[h].c.k[S].s[0]/=255,C[h].c.k[S].s[1]/=255,C[h].c.k[S].s[2]/=255,C[h].c.k[S].s[3]/=255),C[h].c.k[S].e&&(C[h].c.k[S].e[0]/=255,C[h].c.k[S].e[1]/=255,C[h].c.k[S].e[2]/=255,C[h].c.k[S].e[3]/=255);else C[h].c.k[0]/=255,C[h].c.k[1]/=255,C[h].c.k[2]/=255,C[h].c.k[3]/=255}function u(C){var h,b=C.length;for(h=0;h<b;h+=1)C[h].ty===4&&E(C[h].shapes)}return function(C){if(x(F,C.v)&&(u(C.layers),C.assets)){var h,b=C.assets.length;for(h=0;h<b;h+=1)C.assets[h].layers&&u(C.assets[h].layers)}}}(),N=function(){var F=[4,4,18];function E(C){var h,b=C.length,S,P;for(h=b-1;h>=0;h-=1)if(C[h].ty==="sh")if(C[h].ks.k.i)C[h].ks.k.c=C[h].closed;else for(P=C[h].ks.k.length,S=0;S<P;S+=1)C[h].ks.k[S].s&&(C[h].ks.k[S].s[0].c=C[h].closed),C[h].ks.k[S].e&&(C[h].ks.k[S].e[0].c=C[h].closed);else C[h].ty==="gr"&&E(C[h].it)}function u(C){var h,b,S=C.length,P,j,R,X;for(b=0;b<S;b+=1){if(h=C[b],h.hasMask){var G=h.masksProperties;for(j=G.length,P=0;P<j;P+=1)if(G[P].pt.k.i)G[P].pt.k.c=G[P].cl;else for(X=G[P].pt.k.length,R=0;R<X;R+=1)G[P].pt.k[R].s&&(G[P].pt.k[R].s[0].c=G[P].cl),G[P].pt.k[R].e&&(G[P].pt.k[R].e[0].c=G[P].cl)}h.ty===4&&E(h.shapes)}}return function(C){if(x(F,C.v)&&(u(C.layers),C.assets)){var h,b=C.assets.length;for(h=0;h<b;h+=1)C.assets[h].layers&&u(C.assets[h].layers)}}}();function O(F){F.__complete||(I(F),A(F),M(F),T(F),N(F),v(F.layers,F.assets),D(F.chars,F.assets),F.__complete=!0)}function V(F){F.t.a.length===0&&"m"in F.t.p}var B={};return B.completeData=O,B.checkColors=I,B.checkChars=M,B.checkPathProperties=T,B.checkShapes=N,B.completeLayers=v,B}if(a.dataManager||(a.dataManager=w()),a.assetLoader||(a.assetLoader=function(){function v(y){var c=y.getResponseHeader("content-type");return c&&y.responseType==="json"&&c.indexOf("json")!==-1||y.response&&Ne(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function D(y,c,p,d){var x,A=new XMLHttpRequest;try{A.responseType="json"}catch{}A.onreadystatechange=function(){if(A.readyState===4)if(A.status===200)x=v(A),p(x);else try{x=v(A),p(x)}catch(M){d&&d(M)}};try{A.open(["G","E","T"].join(""),y,!0)}catch{A.open(["G","E","T"].join(""),c+"/"+y,!0)}A.send()}return{load:D}}()),f.data.type==="loadAnimation")a.assetLoader.load(f.data.path,f.data.fullPath,function(v){a.dataManager.completeData(v),a.postMessage({id:f.data.id,payload:v,status:"success"})},function(){a.postMessage({id:f.data.id,status:"error"})});else if(f.data.type==="complete"){var k=f.data.animation;a.dataManager.completeData(k),a.postMessage({id:f.data.id,payload:k,status:"success"})}
vendor: 108,159 bytes, lines 1-2
1else f.data.type==="loadData"&&a.assetLoader.load(f.data.path,f.data.fullPath,function(v){a.postMessage({id:f.data.id,payload:v,status:"success"})},function(){a.postMessage({id:f.data.id,status:"error"})})}),s.onmessage=function(f){var w=f.data,k=w.id,v=e[k];e[k]=null,w.status==="success"?v.onComplete(w.payload):v.onError&&v.onError()})}function o(f,w){t+=1;var k="processId_"+t;return e[k]={onComplete:f,onError:w},k}function m(f,w,k){l();var v=o(w,k);s.postMessage({type:"loadAnimation",path:f,fullPath:window.location.origin+window.location.pathname,id:v})}function g(f,w,k){l();var v=o(w,k);s.postMessage({type:"loadData",path:f,fullPath:window.location.origin+window.location.pathname,id:v})}function _(f,w,k){l();var v=o(w,k);s.postMessage({type:"complete",animation:f,id:v})}return{loadAnimation:m,loadData:g,completeAnimation:_}}(),Is=function(){var t=function(){var y=Ct("canvas");y.width=1,y.height=1;var c=y.getContext("2d");return c.fillStyle="rgba(0,0,0,0)",c.fillRect(0,0,1,1),y}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(y,c,p){var d="";if(y.e)d=y.p;else if(c){var x=y.p;x.indexOf("images/")!==-1&&(x=x.split("/")[1]),d=c+x}else d=p,d+=y.u?y.u:"",d+=y.p;return d}function r(y){var c=0,p=setInterval((function(){var d=y.getBBox();(d.width||c>500)&&(this._imageLoaded(),clearInterval(p)),c+=1}).bind(this),50)}function a(y){var c=s(y,this.assetsPath,this.path),p=W("image");Ds?this.testImageLoaded(p):p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",(function(){d.img=t,this._imageLoaded()}).bind(this),!1),p.setAttributeNS("http://www.w3.org/1999/xlink","href",c),this._elementHelper.append?this._elementHelper.append(p):this._elementHelper.appendChild(p);var d={img:p,assetData:y};return d}function n(y){var c=s(y,this.assetsPath,this.path),p=Ct("img");p.crossOrigin="anonymous",p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",(function(){d.img=t,this._imageLoaded()}).bind(this),!1),p.src=c;var d={img:p,assetData:y};return d}function l(y){var c={assetData:y},p=s(y,this.assetsPath,this.path);return be.loadData(p,(function(d){c.img=d,this._footageLoaded()}).bind(this),(function(){c.img={},this._footageLoaded()}).bind(this)),c}function o(y,c){this.imagesLoadedCb=c;var p,d=y.length;for(p=0;p<d;p+=1)y[p].layers||(!y[p].t||y[p].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[p]))):y[p].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[p]))))}function m(y){this.path=y||""}function g(y){this.assetsPath=y||""}function _(y){for(var c=0,p=this.images.length;c<p;){if(this.images[c].assetData===y)return this.images[c].img;c+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function w(){return this.totalImages===this.loadedAssets}function k(){return this.totalFootages===this.loadedFootagesCount}function v(y,c){y==="svg"?(this._elementHelper=c,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function D(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return D.prototype={loadAssets:o,setAssetsPath:g,setPath:m,loadedImages:w,loadedFootages:k,destroy:f,getAsset:_,createImgData:n,createImageData:a,imageLoaded:e,footageLoaded:i,setCacheType:v},D}();function Ri(){}Ri.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),(function(){this.removeEventListener(t,e)}).bind(this)},removeEventListener:function(t,e){if(!e)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,s-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var Vs=function(){function t(e){for(var i=e.split(`\r
2`),s={},r,a=0,n=0;n<i.length;n+=1)r=i[n].split(":"),r.length===2&&(s[r[0]]=r[1].trim(),a+=1);if(a===0)throw new Error;return s}return function(e){for(var i=[],s=0;s<e.length;s+=1){var r=e[s],a={time:r.tm,duration:r.dr};try{a.payload=JSON.parse(e[s].cm)}catch{try{a.payload=t(e[s].cm)}catch{a.payload={name:e[s].cm}}}i.push(a)}return i}}(),Rs=function(){function t(e){this.compositions.push(e)}return function(){function e(i){for(var s=0,r=this.compositions.length;s<r;){if(this.compositions[s].data&&this.compositions[s].data.nm===i)return this.compositions[s].prepareFrame&&this.compositions[s].data.xt&&this.compositions[s].prepareFrame(this.currentFrame),this.compositions[s].compInterface;s+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),Ce={},zs=function(t,e){Ce[t]=e};function Os(t){return Ce[t]}function Ns(){if(Ce.canvas)return"canvas";for(var t in Ce)if(Ce[t])return t;return""}function xe(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xe=function(e){return typeof e}:xe=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xe(t)}var q=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=mt(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Fs(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Rs(),this.imagePreloader=new Is,this.audioController=Ps(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ai("drawnFrame",0,0,0),this.expressionsPlugin=Re()};Y([Ri],q),q.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=Os(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),be.loadAnimation(t.path,this.configAnimation,this.onSetupError))},q.prototype.onSetupError=function(){this.trigger("data_failed")},q.prototype.setupAnimation=function(t){be.completeAnimation(t,this.configAnimation)},q.prototype.setData=function(t,e){e&&xe(e)!=="object"&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},s=t.attributes;i.path=s.getNamedItem("data-animation-path")?s.getNamedItem("data-animation-path").value:s.getNamedItem("data-bm-path")?s.getNamedItem("data-bm-path").value:s.getNamedItem("bm-path")?s.getNamedItem("bm-path").value:"",i.animType=s.getNamedItem("data-anim-type")?s.getNamedItem("data-anim-type").value:s.getNamedItem("data-bm-type")?s.getNamedItem("data-bm-type").value:s.getNamedItem("bm-type")?s.getNamedItem("bm-type").value:s.getNamedItem("data-bm-renderer")?s.getNamedItem("data-bm-renderer").value:s.getNamedItem("bm-renderer")?s.getNamedItem("bm-renderer").value:Ns()||"canvas";var r=s.getNamedItem("data-anim-loop")?s.getNamedItem("data-anim-loop").value:s.getNamedItem("data-bm-loop")?s.getNamedItem("data-bm-loop").value:s.getNamedItem("bm-loop")?s.getNamedItem("bm-loop").value:"";r==="false"?i.loop=!1:r==="true"?i.loop=!0:r!==""&&(i.loop=parseInt(r,10));var a=s.getNamedItem("data-anim-autoplay")?s.getNamedItem("data-anim-autoplay").value:s.getNamedItem("data-bm-autoplay")?s.getNamedItem("data-bm-autoplay").value:s.getNamedItem("bm-autoplay")?s.getNamedItem("bm-autoplay").value:!0;i.autoplay=a!=="false",i.name=s.getNamedItem("data-name")?s.getNamedItem("data-name").value:s.getNamedItem("data-bm-name")?s.getNamedItem("data-bm-name").value:s.getNamedItem("bm-name")?s.getNamedItem("bm-name").value:"";var n=s.getNamedItem("data-anim-prerender")?s.getNamedItem("data-anim-prerender").value:s.getNamedItem("data-bm-prerender")?s.getNamedItem("data-bm-prerender").value:s.getNamedItem("bm-prerender")?s.getNamedItem("bm-prerender").value:"";n==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},q.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,i,s=e.length,r=t.layers,a,n=r.length;for(a=0;a<n;a+=1)for(i=0;i<s;){if(e[i].id===r[a].id){e[i]=r[a];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(s=t.assets.length,i=0;i<s;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,be.completeAnimation(this.animationData,this.onSegmentComplete)},q.prototype.onSegmentComplete=function(t){this.animationData=t;var e=Re();e&&e.initExpressions(this),this.loadNextSegment()},q.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,be.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},q.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},q.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},q.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},q.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=Vs(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},q.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},q.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=Re();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},q.prototype.resize=function(t,e){var i=typeof t=="number"?t:void 0,s=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(i,s)},q.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},q.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")},q.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},q.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},q.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},q.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},q.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},q.prototype.getMarkerData=function(t){for(var e,i=0;i<this.markers.length;i+=1)if(e=this.markers[i],e.payload&&e.payload.name===t)return e;return null},q.prototype.goToAndStop=function(t,e,i){if(!(i&&this.name!==i)){var s=Number(t);if(isNaN(s)){var r=this.getMarkerData(t);r&&this.goToAndStop(r.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},q.prototype.goToAndPlay=function(t,e,i){if(!(i&&this.name!==i)){var s=Number(t);if(isNaN(s)){var r=this.getMarkerData(t);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(s,e,i);this.play()}},q.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(i=!0,e=0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},q.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},q.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},q.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),xe(t[0])==="object"){var i,s=t.length;for(i=0;i<s;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},q.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},q.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},q.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},q.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},q.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},q.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},q.prototype.setLoop=function(t){this.loop=t},q.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},q.prototype.getVolume=function(){return this.audioController.getVolume()},q.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},q.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},q.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},q.prototype.getPath=function(){return this.path},q.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},q.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},q.prototype.hide=function(){this.renderer.hide()},q.prototype.show=function(){this.renderer.show()},q.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},q.prototype.updateDocumentData=function(t,e,i){try{var s=this.renderer.getElementByPath(t);s.updateDocumentData(e,i)}catch{}},q.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new ai(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new Ti(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new Mi(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new Fi(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new Ei(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ai(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Ti(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new Mi(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Fi(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Ei(t,this))},q.prototype.triggerRenderFrameError=function(t){var e=new Ss(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},q.prototype.triggerConfigError=function(t){var e=new Ms(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var rt=function(){var t={},e=[],i=0,s=0,r=0,a=!0,n=!1;function l(u){for(var C=0,h=u.target;C<s;)e[C].animation===h&&(e.splice(C,1),C-=1,s-=1,h.isPaused||_()),C+=1}function o(u,C){if(!u)return null;for(var h=0;h<s;){if(e[h].elem===u&&e[h].elem!==null)return e[h].animation;h+=1}var b=new q;return f(b,u),b.setData(u,C),b}function m(){var u,C=e.length,h=[];for(u=0;u<C;u+=1)h.push(e[u].animation);return h}function g(){r+=1,N()}function _(){r-=1}function f(u,C){u.addEventListener("destroy",l),u.addEventListener("_active",g),u.addEventListener("_idle",_),e.push({elem:C,animation:u}),s+=1}function w(u){var C=new q;return f(C,null),C.setParams(u),C}function k(u,C){var h;for(h=0;h<s;h+=1)e[h].animation.setSpeed(u,C)}function v(u,C){var h;for(h=0;h<s;h+=1)e[h].animation.setDirection(u,C)}function D(u){var C;for(C=0;C<s;C+=1)e[C].animation.play(u)}function y(u){var C=u-i,h;for(h=0;h<s;h+=1)e[h].animation.advanceTime(C);i=u,r&&!n?window.requestAnimationFrame(y):a=!0}function c(u){i=u,window.requestAnimationFrame(y)}function p(u){var C;for(C=0;C<s;C+=1)e[C].animation.pause(u)}function d(u,C,h){var b;for(b=0;b<s;b+=1)e[b].animation.goToAndStop(u,C,h)}function x(u){var C;for(C=0;C<s;C+=1)e[C].animation.stop(u)}function A(u){var C;for(C=0;C<s;C+=1)e[C].animation.togglePause(u)}function M(u){var C;for(C=s-1;C>=0;C-=1)e[C].animation.destroy(u)}function T(u,C,h){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),S,P=b.length;for(S=0;S<P;S+=1)h&&b[S].setAttribute("data-bm-type",h),o(b[S],u);if(C&&P===0){h||(h="svg");var j=document.getElementsByTagName("body")[0];j.innerText="";var R=Ct("div");R.style.width="100%",R.style.height="100%",R.setAttribute("data-bm-type",h),j.appendChild(R),o(R,u)}}function I(){var u;for(u=0;u<s;u+=1)e[u].animation.resize()}function N(){!n&&r&&a&&(window.requestAnimationFrame(c),a=!1)}function O(){n=!0}function V(){n=!1,N()}function B(u,C){var h;for(h=0;h<s;h+=1)e[h].animation.setVolume(u,C)}function F(u){var C;for(C=0;C<s;C+=1)e[C].animation.mute(u)}function E(u){var C;for(C=0;C<s;C+=1)e[C].animation.unmute(u)}return t.registerAnimation=o,t.loadAnimation=w,t.setSpeed=k,t.setDirection=v,t.play=D,t.pause=p,t.stop=x,t.togglePause=A,t.searchAnimations=T,t.resize=I,t.goToAndStop=d,t.destroy=M,t.freeze=O,t.unfreeze=V,t.setVolume=B,t.mute=F,t.unmute=E,t.getRegisteredAnimations=m,t}(),_e=function(){var t={};t.getBezierEasing=i;var e={};function i(c,p,d,x,A){var M=A||("bez_"+c+"_"+p+"_"+d+"_"+x).replace(/\./g,"p");if(e[M])return e[M];var T=new y([c,p,d,x]);return e[M]=T,T}var s=4,r=.001,a=1e-7,n=10,l=11,o=1/(l-1),m=typeof Float32Array=="function";function g(c,p){return 1-3*p+3*c}function _(c,p){return 3*p-6*c}function f(c){return 3*c}function w(c,p,d){return((g(p,d)*c+_(p,d))*c+f(p))*c}function k(c,p,d){return 3*g(p,d)*c*c+2*_(p,d)*c+f(p)}function v(c,p,d,x,A){var M,T,I=0;do T=p+(d-p)/2,M=w(T,x,A)-c,M>0?d=T:p=T;while(Math.abs(M)>a&&++I<n);return T}function D(c,p,d,x){for(var A=0;A<s;++A){var M=k(p,d,x);if(M===0)return p;var T=w(p,d,x)-c;p-=T/M}return p}function y(c){this._p=c,this._mSampleValues=m?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return y.prototype={get:function(c){var p=this._p[0],d=this._p[1],x=this._p[2],A=this._p[3];return this._precomputed||this._precompute(),p===d&&x===A?c:c===0?0:c===1?1:w(this._getTForX(c),d,A)},_precompute:function(){var c=this._p[0],p=this._p[1],d=this._p[2],x=this._p[3];this._precomputed=!0,(c!==p||d!==x)&&this._calcSampleValues()},_calcSampleValues:function(){for(var c=this._p[0],p=this._p[2],d=0;d<l;++d)this._mSampleValues[d]=w(d*o,c,p)},_getTForX:function(c){for(var p=this._p[0],d=this._p[2],x=this._mSampleValues,A=0,M=1,T=l-1;M!==T&&x[M]<=c;++M)A+=o;--M;var I=(c-x[M])/(x[M+1]-x[M]),N=A+I*o,O=k(N,p,d);return O>=r?D(c,N,p,d):O===0?N:v(c,A,A+o,p,d)}},t}(),zi=function(){function t(e){return e.concat(Z(e.length))}return{double:t}}(),Be=function(){return function(t,e,i){var s=0,r=t,a=Z(r),n={newElement:l,release:o};function l(){var m;return s?(s-=1,m=a[s]):m=e(),m}function o(m){s===r&&(a=zi.double(a),r*=2),i&&i(m),a[s]=m,s+=1}return n}}(),Oi=function(){function t(){return{addedLength:0,percents:at("float32",Oe()),lengths:at("float32",Oe())}}return Be(8,t)}(),Ni=function(){function t(){return{lengths:[],totalLength:0}}function e(i){var s,r=i.lengths.length;for(s=0;s<r;s+=1)Oi.release(i.lengths[s]);i.lengths.length=0}return Be(8,t,e)}();function Bs(){var t=Math;function e(f,w,k,v,D,y){var c=f*v+w*D+k*y-D*v-y*f-k*w;return c>-.001&&c<.001}function i(f,w,k,v,D,y,c,p,d){if(k===0&&y===0&&d===0)return e(f,w,v,D,c,p);var x=t.sqrt(t.pow(v-f,2)+t.pow(D-w,2)+t.pow(y-k,2)),A=t.sqrt(t.pow(c-f,2)+t.pow(p-w,2)+t.pow(d-k,2)),M=t.sqrt(t.pow(c-v,2)+t.pow(p-D,2)+t.pow(d-y,2)),T;return x>A?x>M?T=x-A-M:T=M-A-x:M>A?T=M-A-x:T=A-x-M,T>-1e-4&&T<1e-4}var s=function(){return function(f,w,k,v){var D=Oe(),y,c,p,d,x,A=0,M,T=[],I=[],N=Oi.newElement();for(p=k.length,y=0;y<D;y+=1){for(x=y/(D-1),M=0,c=0;c<p;c+=1)d=Mt(1-x,3)*f[c]+3*Mt(1-x,2)*x*k[c]+3*(1-x)*Mt(x,2)*v[c]+Mt(x,3)*w[c],T[c]=d,I[c]!==null&&(M+=Mt(T[c]-I[c],2)),I[c]=T[c];M&&(M=Ai(M),A+=M),N.percents[y]=x,N.lengths[y]=A}return N.addedLength=A,N}}();function r(f){var w=Ni.newElement(),k=f.c,v=f.v,D=f.o,y=f.i,c,p=f._length,d=w.lengths,x=0;for(c=0;c<p-1;c+=1)d[c]=s(v[c],v[c+1],D[c],y[c+1]),x+=d[c].addedLength;return k&&p&&(d[c]=s(v[c],v[0],D[c],y[0]),x+=d[c].addedLength),w.totalLength=x,w}function a(f){this.segmentLength=0,this.points=new Array(f)}function n(f,w){this.partialLength=f,this.point=w}var l=function(){var f={};return function(w,k,v,D){var y=(w[0]+"_"+w[1]+"_"+k[0]+"_"+k[1]+"_"+v[0]+"_"+v[1]+"_"+D[0]+"_"+D[1]).replace(/\./g,"p");if(!f[y]){var c=Oe(),p,d,x,A,M,T=0,I,N,O=null;w.length===2&&(w[0]!==k[0]||w[1]!==k[1])&&e(w[0],w[1],k[0],k[1],w[0]+v[0],w[1]+v[1])&&e(w[0],w[1],k[0],k[1],k[0]+D[0],k[1]+D[1])&&(c=2);var V=new a(c);for(x=v.length,p=0;p<c;p+=1){for(N=Z(x),M=p/(c-1),I=0,d=0;d<x;d+=1)A=Mt(1-M,3)*w[d]+3*Mt(1-M,2)*M*(w[d]+v[d])+3*(1-M)*Mt(M,2)*(k[d]+D[d])+Mt(M,3)*k[d],N[d]=A,O!==null&&(I+=Mt(N[d]-O[d],2));I=Ai(I),T+=I,V.points[p]=new n(I,N),O=N}V.segmentLength=T,f[y]=V}return f[y]}}();function o(f,w){var k=w.percents,v=w.lengths,D=k.length,y=ft((D-1)*f),c=f*w.addedLength,p=0;if(y===D-1||y===0||c===v[y])return k[y];for(var d=v[y]>c?-1:1,x=!0;x;)if(v[y]<=c&&v[y+1]>c?(p=(c-v[y])/(v[y+1]-v[y]),x=!1):y+=d,y<0||y>=D-1){if(y===D-1)return k[y];x=!1}return k[y]+(k[y+1]-k[y])*p}function m(f,w,k,v,D,y){var c=o(D,y),p=1-c,d=t.round((p*p*p*f[0]+(c*p*p+p*c*p+p*p*c)*k[0]+(c*c*p+p*c*c+c*p*c)*v[0]+c*c*c*w[0])*1e3)/1e3,x=t.round((p*p*p*f[1]+(c*p*p+p*c*p+p*p*c)*k[1]+(c*c*p+p*c*c+c*p*c)*v[1]+c*c*c*w[1])*1e3)/1e3;return[d,x]}var g=at("float32",8);function _(f,w,k,v,D,y,c){D<0?D=0:D>1&&(D=1);var p=o(D,c);y=y>1?1:y;var d=o(y,c),x,A=f.length,M=1-p,T=1-d,I=M*M*M,N=p*M*M*3,O=p*p*M*3,V=p*p*p,B=M*M*T,F=p*M*T+M*p*T+M*M*d,E=p*p*T+M*p*d+p*M*d,u=p*p*d,C=M*T*T,h=p*T*T+M*d*T+M*T*d,b=p*d*T+M*d*d+p*T*d,S=p*d*d,P=T*T*T,j=d*T*T+T*d*T+T*T*d,R=d*d*T+T*d*d+d*T*d,X=d*d*d;for(x=0;x<A;x+=1)g[x*4]=t.round((I*f[x]+N*k[x]+O*v[x]+V*w[x])*1e3)/1e3,g[x*4+1]=t.round((B*f[x]+F*k[x]+E*v[x]+u*w[x])*1e3)/1e3,g[x*4+2]=t.round((C*f[x]+h*k[x]+b*v[x]+S*w[x])*1e3)/1e3,g[x*4+3]=t.round((P*f[x]+j*k[x]+R*v[x]+X*w[x])*1e3)/1e3;return g}return{getSegmentsLength:r,getNewSegment:_,getPointInSegment:m,buildBezierData:l,pointOnLine2D:e,pointOnLine3D:i}}var Tt=Bs(),ee=si,Bi=Math.abs;function qi(t,e){var i=this.offsetTime,s;this.propType==="multidimensional"&&(s=at("float32",this.pv.length));for(var r=e.lastIndex,a=r,n=this.keyframes.length-1,l=!0,o,m,g;l;){if(o=this.keyframes[a],m=this.keyframes[a+1],a===n-1&&t>=m.t-i){o.h&&(o=m),r=0;break}if(m.t-i>t){r=a;break}a<n-1?a+=1:(r=0,l=!1)}g=this.keyframesMetadata[a]||{};var _,f,w,k,v,D,y=m.t-i,c=o.t-i,p;if(o.to){g.bezierData||(g.bezierData=Tt.buildBezierData(o.s,m.s||o.e,o.to,o.ti));var d=g.bezierData;if(t>=y||t<c){var x=t>=y?d.points.length-1:0;for(f=d.points[x].point.length,_=0;_<f;_+=1)s[_]=d.points[x].point[_]}else{g.__fnct?D=g.__fnct:(D=_e.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,g.__fnct=D),w=D((t-c)/(y-c));var A=d.segmentLength*w,M,T=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(v=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,l=!0,k=d.points.length;l;){if(T+=d.points[v].partialLength,A===0||w===0||v===d.points.length-1){for(f=d.points[v].point.length,_=0;_<f;_+=1)s[_]=d.points[v].point[_];break}else if(A>=T&&A<T+d.points[v+1].partialLength){for(M=(A-T)/d.points[v+1].partialLength,f=d.points[v].point.length,_=0;_<f;_+=1)s[_]=d.points[v].point[_]+(d.points[v+1].point[_]-d.points[v].point[_])*M;break}v<k-1?v+=1:l=!1}e._lastPoint=v,e._lastAddedLength=T-d.points[v].partialLength,e._lastKeyframeIndex=a}}else{var I,N,O,V,B;if(n=o.s.length,p=m.s||o.e,this.sh&&o.h!==1)if(t>=y)s[0]=p[0],s[1]=p[1],s[2]=p[2];else if(t<=c)s[0]=o.s[0],s[1]=o.s[1],s[2]=o.s[2];else{var F=Wi(o.s),E=Wi(p),u=(t-c)/(y-c);Ws(s,qs(F,E,u))}else for(a=0;a<n;a+=1)o.h!==1&&(t>=y?w=1:t<c?w=0:(o.o.x.constructor===Array?(g.__fnct||(g.__fnct=[]),g.__fnct[a]?D=g.__fnct[a]:(I=o.o.x[a]===void 0?o.o.x[0]:o.o.x[a],N=o.o.y[a]===void 0?o.o.y[0]:o.o.y[a],O=o.i.x[a]===void 0?o.i.x[0]:o.i.x[a],V=o.i.y[a]===void 0?o.i.y[0]:o.i.y[a],D=_e.getBezierEasing(I,N,O,V).get,g.__fnct[a]=D)):g.__fnct?D=g.__fnct:(I=o.o.x,N=o.o.y,O=o.i.x,V=o.i.y,D=_e.getBezierEasing(I,N,O,V).get,o.keyframeMetadata=D),w=D((t-c)/(y-c)))),p=m.s||o.e,B=o.h===1?o.s[a]:o.s[a]+(p[a]-o.s[a])*w,this.propType==="multidimensional"?s[a]=B:s=B}return e.lastIndex=r,s}function qs(t,e,i){var s=[],r=t[0],a=t[1],n=t[2],l=t[3],o=e[0],m=e[1],g=e[2],_=e[3],f,w,k,v,D;return w=r*o+a*m+n*g+l*_,w<0&&(w=-w,o=-o,m=-m,g=-g,_=-_),1-w>1e-6?(f=Math.acos(w),k=Math.sin(f),v=Math.sin((1-i)*f)/k,D=Math.sin(i*f)/k):(v=1-i,D=i),s[0]=v*r+D*o,s[1]=v*a+D*m,s[2]=v*n+D*g,s[3]=v*l+D*_,s}function Ws(t,e){var i=e[0],s=e[1],r=e[2],a=e[3],n=Math.atan2(2*s*a-2*i*r,1-2*s*s-2*r*r),l=Math.asin(2*i*s+2*r*a),o=Math.atan2(2*i*a-2*s*r,1-2*i*i-2*r*r);t[0]=n/$,t[1]=l/$,t[2]=o/$}function Wi(t){var e=t[0]*$,i=t[1]*$,s=t[2]*$,r=Math.cos(e/2),a=Math.cos(i/2),n=Math.cos(s/2),l=Math.sin(e/2),o=Math.sin(i/2),m=Math.sin(s/2),g=r*a*n-l*o*m,_=l*o*n+r*a*m,f=l*a*n+r*o*m,w=r*o*n-l*a*m;return[_,f,w,g]}function ji(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==ee&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(t,this._caching);this.pv=s}return this._caching.lastFrame=t,this.pv}function qe(t){var e;if(this.propType==="unidimensional")e=t*this.mult,Bi(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,Bi(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=1}function We(){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 t,e=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function je(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function js(t,e,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=We,this.setVValue=qe,this.addEffect=je}function Ys(t,e,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,a=e.k.length;for(this.v=at("float32",a),this.pv=at("float32",a),this.vel=at("float32",a),r=0;r<a;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=We,this.setVValue=qe,this.addEffect=je}function Gs(t,e,i,s){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:ee,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.v=ee,this.pv=ee,this._isFirstFrame=!0,this.getValue=We,this.setVValue=qe,this.interpolateValue=qi,this.effectsSequence=[ji.bind(this)],this.addEffect=je}function Xs(t,e,i,s){this.propType="multidimensional";var r,a=e.k.length,n,l,o,m;for(r=0;r<a-1;r+=1)e.k[r].to&&e.k[r].s&&e.k[r+1]&&e.k[r+1].s&&(n=e.k[r].s,l=e.k[r+1].s,o=e.k[r].to,m=e.k[r].ti,(n.length===2&&!(n[0]===l[0]&&n[1]===l[1])&&Tt.pointOnLine2D(n[0],n[1],l[0],l[1],n[0]+o[0],n[1]+o[1])&&Tt.pointOnLine2D(n[0],n[1],l[0],l[1],l[0]+m[0],l[1]+m[1])||n.length===3&&!(n[0]===l[0]&&n[1]===l[1]&&n[2]===l[2])&&Tt.pointOnLine3D(n[0],n[1],n[2],l[0],l[1],l[2],n[0]+o[0],n[1]+o[1],n[2]+o[2])&&Tt.pointOnLine3D(n[0],n[1],n[2],l[0],l[1],l[2],l[0]+m[0],l[1]+m[1],l[2]+m[2]))&&(e.k[r].to=null,e.k[r].ti=null),n[0]===l[0]&&n[1]===l[1]&&o[0]===0&&o[1]===0&&m[0]===0&&m[1]===0&&(n.length===2||n[2]===l[2]&&o[2]===0&&m[2]===0)&&(e.k[r].to=null,e.k[r].ti=null));this.effectsSequence=[ji.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=We,this.setVValue=qe,this.interpolateValue=qi,this.frameId=-1;var g=e.k[0].s.length;for(this.v=at("float32",g),this.pv=at("float32",g),r=0;r<g;r+=1)this.v[r]=ee,this.pv[r]=ee;this._caching={lastFrame:ee,lastIndex:0,value:at("float32",g)},this.addEffect=je}var L=function(){function t(i,s,r,a,n){s.sid&&(s=i.globalData.slotManager.getProp(s));var l;if(!s.k.length)l=new js(i,s,a,n);else if(typeof s.k[0]=="number")l=new Ys(i,s,a,n);else switch(r){case 0:l=new Gs(i,s,a,n);break;case 1:l=new Xs(i,s,a,n);break}return l.effectsSequence.length&&n.addDynamicProperty(l),l}var e={getProp:t};return e}();function ht(){}ht.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var ie=function(){function t(){return at("float32",2)}return Be(8,t)}();function Nt(){this.c=!1,this._length=0,this._maxLength=8,this.v=Z(this._maxLength),this.o=Z(this._maxLength),this.i=Z(this._maxLength)}Nt.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=ie.newElement(),this.o[i]=ie.newElement(),this.i[i]=ie.newElement(),i+=1},Nt.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},Nt.prototype.doubleArrayLength=function(){this.v=this.v.concat(Z(this._maxLength)),this.i=this.i.concat(Z(this._maxLength)),this.o=this.o.concat(Z(this._maxLength)),this._maxLength*=2},Nt.prototype.setXYAt=function(t,e,i,s,r){var a;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[s]||a[s]&&!r)&&(a[s]=ie.newElement()),a[s][0]=t,a[s][1]=e},Nt.prototype.setTripleAt=function(t,e,i,s,r,a,n,l){this.setXYAt(t,e,"v",n,l),this.setXYAt(i,s,"o",n,l),this.setXYAt(r,a,"i",n,l)},Nt.prototype.reverse=function(){var t=new Nt;t.setPathData(this.c,this._length);var e=this.v,i=this.o,s=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1);var a=this._length-1,n=this._length,l;for(l=r;l<n;l+=1)t.setTripleAt(e[a][0],e[a][1],s[a][0],s[a][1],i[a][0],i[a][1],l,!1),a-=1;return t},Nt.prototype.length=function(){return this._length};var ct=function(){function t(){return new Nt}function e(r){var a=r._length,n;for(n=0;n<a;n+=1)ie.release(r.v[n]),ie.release(r.i[n]),ie.release(r.o[n]),r.v[n]=null,r.i[n]=null,r.o[n]=null;r._length=0,r.c=!1}function i(r){var a=s.newElement(),n,l=r._length===void 0?r.v.length:r._length;for(a.setLength(l),a.c=r.c,n=0;n<l;n+=1)a.setTripleAt(r.v[n][0],r.v[n][1],r.o[n][0],r.o[n][1],r.i[n][0],r.i[n][1],n);return a}var s=Be(4,t,e);return s.clone=i,s}();function oi(){this._length=0,this._maxLength=4,this.shapes=Z(this._maxLength)}oi.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(Z(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},oi.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)ct.release(this.shapes[t]);this._length=0};var le=function(){var t={newShapeCollection:r,release:a},e=0,i=4,s=Z(i);function r(){var n;return e?(e-=1,n=s[e]):n=new oi,n}function a(n){var l,o=n._length;for(l=0;l<o;l+=1)ct.release(n.shapes[l]);n._length=0,e===i&&(s=zi.double(s),i*=2),s[e]=n,e+=1}return t}(),pe=function(){var t=-999999;function e(y,c,p){var d=p.lastIndex,x,A,M,T,I,N,O,V,B,F=this.keyframes;if(y<F[0].t-this.offsetTime)x=F[0].s[0],M=!0,d=0;else if(y>=F[F.length-1].t-this.offsetTime)x=F[F.length-1].s?F[F.length-1].s[0]:F[F.length-2].e[0],M=!0;else{for(var E=d,u=F.length-1,C=!0,h,b,S;C&&(h=F[E],b=F[E+1],!(b.t-this.offsetTime>y));)E<u-1?E+=1:C=!1;if(S=this.keyframesMetadata[E]||{},M=h.h===1,d=E,!M){if(y>=b.t-this.offsetTime)V=1;else if(y<h.t-this.offsetTime)V=0;else{var P;S.__fnct?P=S.__fnct:(P=_e.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y).get,S.__fnct=P),V=P((y-(h.t-this.offsetTime))/(b.t-this.offsetTime-(h.t-this.offsetTime)))}A=b.s?b.s[0]:h.e[0]}x=h.s[0]}for(N=c._length,O=x.i[0].length,p.lastIndex=d,T=0;T<N;T+=1)for(I=0;I<O;I+=1)B=M?x.i[T][I]:x.i[T][I]+(A.i[T][I]-x.i[T][I])*V,c.i[T][I]=B,B=M?x.o[T][I]:x.o[T][I]+(A.o[T][I]-x.o[T][I])*V,c.o[T][I]=B,B=M?x.v[T][I]:x.v[T][I]+(A.v[T][I]-x.v[T][I])*V,c.v[T][I]=B}function i(){var y=this.comp.renderedFrame-this.offsetTime,c=this.keyframes[0].t-this.offsetTime,p=this.keyframes[this.keyframes.length-1].t-this.offsetTime,d=this._caching.lastFrame;return d!==t&&(d<c&&y<c||d>p&&y>p)||(this._caching.lastIndex=d<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function s(){this.paths=this.localShapeCollection}function r(y,c){if(y._length!==c._length||y.c!==c.c)return!1;var p,d=y._length;for(p=0;p<d;p+=1)if(y.v[p][0]!==c.v[p][0]||y.v[p][1]!==c.v[p][1]||y.o[p][0]!==c.o[p][0]||y.o[p][1]!==c.o[p][1]||y.i[p][0]!==c.i[p][0]||y.i[p][1]!==c.i[p][1])return!1;return!0}function a(y){r(this.v,y)||(this.v=ct.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function n(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var c,p=this.effectsSequence.length;for(c=0;c<p;c+=1)y=this.effectsSequence[c](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(y,c,p){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=c,this.k=!1,this.kf=!1,this._mdf=!1;var d=p===3?c.pt.k:c.ks.k;this.v=ct.clone(d),this.pv=ct.clone(this.v),this.localShapeCollection=le.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function o(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this)}l.prototype.interpolateShape=e,l.prototype.getValue=n,l.prototype.setVValue=a,l.prototype.addEffect=o;function m(y,c,p){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=p===3?c.pt.k:c.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var d=this.keyframes[0].s[0].i.length;this.v=ct.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,d),this.pv=ct.clone(this.v),this.localShapeCollection=le.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=s,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}m.prototype.getValue=n,m.prototype.interpolateShape=e,m.prototype.setVValue=a,m.prototype.addEffect=o;var g=function(){var y=Gt;function c(p,d){this.v=ct.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=le.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=d.d,this.elem=p,this.comp=p.comp,this.frameId=-1,this.initDynamicPropertyContainer(p),this.p=L.getProp(p,d.p,1,0,this),this.s=L.getProp(p,d.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return c.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var p=this.p.v[0],d=this.p.v[1],x=this.s.v[0]/2,A=this.s.v[1]/2,M=this.d!==3,T=this.v;T.v[0][0]=p,T.v[0][1]=d-A,T.v[1][0]=M?p+x:p-x,T.v[1][1]=d,T.v[2][0]=p,T.v[2][1]=d+A,T.v[3][0]=M?p-x:p+x,T.v[3][1]=d,T.i[0][0]=M?p-x*y:p+x*y,T.i[0][1]=d-A,T.i[1][0]=M?p+x:p-x,T.i[1][1]=d-A*y,T.i[2][0]=M?p+x*y:p-x*y,T.i[2][1]=d+A,T.i[3][0]=M?p-x:p+x,T.i[3][1]=d+A*y,T.o[0][0]=M?p+x*y:p-x*y,T.o[0][1]=d-A,T.o[1][0]=M?p+x:p-x,T.o[1][1]=d+A*y,T.o[2][0]=M?p-x*y:p+x*y,T.o[2][1]=d+A,T.o[3][0]=M?p-x:p+x,T.o[3][1]=d-A*y}},Y([ht],c),c}(),_=function(){function y(c,p){this.v=ct.newElement(),this.v.setPathData(!0,0),this.elem=c,this.comp=c.comp,this.data=p,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(c),p.sy===1?(this.ir=L.getProp(c,p.ir,0,0,this),this.is=L.getProp(c,p.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=L.getProp(c,p.pt,0,0,this),this.p=L.getProp(c,p.p,1,0,this),this.r=L.getProp(c,p.r,0,$,this),this.or=L.getProp(c,p.or,0,0,this),this.os=L.getProp(c,p.os,0,.01,this),this.localShapeCollection=le.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return y.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var c=Math.floor(this.pt.v)*2,p=Math.PI*2/c,d=!0,x=this.or.v,A=this.ir.v,M=this.os.v,T=this.is.v,I=2*Math.PI*x/(c*2),N=2*Math.PI*A/(c*2),O,V,B,F,E=-Math.PI/2;E+=this.r.v;var u=this.data.d===3?-1:1;for(this.v._length=0,O=0;O<c;O+=1){V=d?x:A,B=d?M:T,F=d?I:N;var C=V*Math.cos(E),h=V*Math.sin(E),b=C===0&&h===0?0:h/Math.sqrt(C*C+h*h),S=C===0&&h===0?0:-C/Math.sqrt(C*C+h*h);C+=+this.p.v[0],h+=+this.p.v[1],this.v.setTripleAt(C,h,C-b*F*B*u,h-S*F*B*u,C+b*F*B*u,h+S*F*B*u,O,!0),d=!d,E+=p*u}},convertPolygonToPath:function(){var c=Math.floor(this.pt.v),p=Math.PI*2/c,d=this.or.v,x=this.os.v,A=2*Math.PI*d/(c*4),M,T=-Math.PI*.5,I=this.data.d===3?-1:1;for(T+=this.r.v,this.v._length=0,M=0;M<c;M+=1){var N=d*Math.cos(T),O=d*Math.sin(T),V=N===0&&O===0?0:O/Math.sqrt(N*N+O*O),B=N===0&&O===0?0:-N/Math.sqrt(N*N+O*O);N+=+this.p.v[0],O+=+this.p.v[1],this.v.setTripleAt(N,O,N-V*A*x*I,O-B*A*x*I,N+V*A*x*I,O+B*A*x*I,M,!0),T+=p*I}this.paths.length=0,this.paths[0]=this.v}},Y([ht],y),y}(),f=function(){function y(c,p){this.v=ct.newElement(),this.v.c=!0,this.localShapeCollection=le.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=c,this.comp=c.comp,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(c),this.p=L.getProp(c,p.p,1,0,this),this.s=L.getProp(c,p.s,1,0,this),this.r=L.getProp(c,p.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return y.prototype={convertRectToPath:function(){var c=this.p.v[0],p=this.p.v[1],d=this.s.v[0]/2,x=this.s.v[1]/2,A=As(d,x,this.r.v),M=A*(1-Gt);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(c+d,p-x+A,c+d,p-x+A,c+d,p-x+M,0,!0),this.v.setTripleAt(c+d,p+x-A,c+d,p+x-M,c+d,p+x-A,1,!0),A!==0?(this.v.setTripleAt(c+d-A,p+x,c+d-A,p+x,c+d-M,p+x,2,!0),this.v.setTripleAt(c-d+A,p+x,c-d+M,p+x,c-d+A,p+x,3,!0),this.v.setTripleAt(c-d,p+x-A,c-d,p+x-A,c-d,p+x-M,4,!0),this.v.setTripleAt(c-d,p-x+A,c-d,p-x+M,c-d,p-x+A,5,!0),this.v.setTripleAt(c-d+A,p-x,c-d+A,p-x,c-d+M,p-x,6,!0),this.v.setTripleAt(c+d-A,p-x,c+d-M,p-x,c+d-A,p-x,7,!0)):(this.v.setTripleAt(c-d,p+x,c-d+M,p+x,c-d,p+x,2),this.v.setTripleAt(c-d,p-x,c-d,p-x+M,c-d,p-x,3))):(this.v.setTripleAt(c+d,p-x+A,c+d,p-x+M,c+d,p-x+A,0,!0),A!==0?(this.v.setTripleAt(c+d-A,p-x,c+d-A,p-x,c+d-M,p-x,1,!0),this.v.setTripleAt(c-d+A,p-x,c-d+M,p-x,c-d+A,p-x,2,!0),this.v.setTripleAt(c-d,p-x+A,c-d,p-x+A,c-d,p-x+M,3,!0),this.v.setTripleAt(c-d,p+x-A,c-d,p+x-M,c-d,p+x-A,4,!0),this.v.setTripleAt(c-d+A,p+x,c-d+A,p+x,c-d+M,p+x,5,!0),this.v.setTripleAt(c+d-A,p+x,c+d-M,p+x,c+d-A,p+x,6,!0),this.v.setTripleAt(c+d,p+x-A,c+d,p+x-A,c+d,p+x-M,7,!0)):(this.v.setTripleAt(c-d,p-x,c-d+M,p-x,c-d,p-x,1,!0),this.v.setTripleAt(c-d,p+x,c-d,p+x-M,c-d,p+x,2,!0),this.v.setTripleAt(c+d,p+x,c+d-M,p+x,c+d,p+x,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:s},Y([ht],y),y}();function w(y,c,p){var d;if(p===3||p===4){var x=p===3?c.pt:c.ks,A=x.k;A.length?d=new m(y,c,p):d=new l(y,c,p)}else p===5?d=new f(y,c):p===6?d=new g(y,c):p===7&&(d=new _(y,c));return d.k&&y.addDynamicProperty(d),d}function k(){return l}function v(){return m}var D={};return D.getShapeProp=w,D.getConstructorFunction=k,D.getKeyframedConstructorFunction=v,D}(),tt=function(){var t=Math.cos,e=Math.sin,i=Math.tan,s=Math.round;function r(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(h){if(h===0)return this;var b=t(h),S=e(h);return this._t(b,-S,0,0,S,b,0,0,0,0,1,0,0,0,0,1)}function n(h){if(h===0)return this;var b=t(h),S=e(h);return this._t(1,0,0,0,0,b,-S,0,0,S,b,0,0,0,0,1)}function l(h){if(h===0)return this;var b=t(h),S=e(h);return this._t(b,0,S,0,0,1,0,0,-S,0,b,0,0,0,0,1)}function o(h){if(h===0)return this;var b=t(h),S=e(h);return this._t(b,-S,0,0,S,b,0,0,0,0,1,0,0,0,0,1)}function m(h,b){return this._t(1,b,h,1,0,0)}function g(h,b){return this.shear(i(h),i(b))}function _(h,b){var S=t(b),P=e(b);return this._t(S,P,0,0,-P,S,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(h),1,0,0,0,0,1,0,0,0,0,1)._t(S,-P,0,0,P,S,0,0,0,0,1,0,0,0,0,1)}function f(h,b,S){return!S&&S!==0&&(S=1),h===1&&b===1&&S===1?this:this._t(h,0,0,0,0,b,0,0,0,0,S,0,0,0,0,1)}function w(h,b,S,P,j,R,X,G,it,st,gt,zt,yt,pt,_t,H){return this.props[0]=h,this.props[1]=b,this.props[2]=S,this.props[3]=P,this.props[4]=j,this.props[5]=R,this.props[6]=X,this.props[7]=G,this.props[8]=it,this.props[9]=st,this.props[10]=gt,this.props[11]=zt,this.props[12]=yt,this.props[13]=pt,this.props[14]=_t,this.props[15]=H,this}function k(h,b,S){return S=S||0,h!==0||b!==0||S!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,h,b,S,1):this}function v(h,b,S,P,j,R,X,G,it,st,gt,zt,yt,pt,_t,H){var z=this.props;if(h===1&&b===0&&S===0&&P===0&&j===0&&R===1&&X===0&&G===0&&it===0&&st===0&&gt===1&&zt===0)return z[12]=z[12]*h+z[15]*yt,z[13]=z[13]*R+z[15]*pt,z[14]=z[14]*gt+z[15]*_t,z[15]*=H,this._identityCalculated=!1,this;var qt=z[0],Zt=z[1],Wt=z[2],Ot=z[3],jt=z[4],Yt=z[5],vt=z[6],Qt=z[7],$t=z[8],At=z[9],te=z[10],St=z[11],oe=z[12],$e=z[13],ti=z[14],ei=z[15];return z[0]=qt*h+Zt*j+Wt*it+Ot*yt,z[1]=qt*b+Zt*R+Wt*st+Ot*pt,z[2]=qt*S+Zt*X+Wt*gt+Ot*_t,z[3]=qt*P+Zt*G+Wt*zt+Ot*H,z[4]=jt*h+Yt*j+vt*it+Qt*yt,z[5]=jt*b+Yt*R+vt*st+Qt*pt,z[6]=jt*S+Yt*X+vt*gt+Qt*_t,z[7]=jt*P+Yt*G+vt*zt+Qt*H,z[8]=$t*h+At*j+te*it+St*yt,z[9]=$t*b+At*R+te*st+St*pt,z[10]=$t*S+At*X+te*gt+St*_t,z[11]=$t*P+At*G+te*zt+St*H,z[12]=oe*h+$e*j+ti*it+ei*yt,z[13]=oe*b+$e*R+ti*st+ei*pt,z[14]=oe*S+$e*X+ti*gt+ei*_t,z[15]=oe*P+$e*G+ti*zt+ei*H,this._identityCalculated=!1,this}function D(h){var b=h.props;return this.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15])}function y(){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 c(h){for(var b=0;b<16;){if(h.props[b]!==this.props[b])return!1;b+=1}return!0}function p(h){var b;for(b=0;b<16;b+=1)h.props[b]=this.props[b];return h}function d(h){var b;for(b=0;b<16;b+=1)this.props[b]=h[b]}function x(h,b,S){return{x:h*this.props[0]+b*this.props[4]+S*this.props[8]+this.props[12],y:h*this.props[1]+b*this.props[5]+S*this.props[9]+this.props[13],z:h*this.props[2]+b*this.props[6]+S*this.props[10]+this.props[14]}}function A(h,b,S){return h*this.props[0]+b*this.props[4]+S*this.props[8]+this.props[12]}function M(h,b,S){return h*this.props[1]+b*this.props[5]+S*this.props[9]+this.props[13]}function T(h,b,S){return h*this.props[2]+b*this.props[6]+S*this.props[10]+this.props[14]}function I(){var h=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/h,S=-this.props[1]/h,P=-this.props[4]/h,j=this.props[0]/h,R=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/h,X=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/h,G=new tt;return G.props[0]=b,G.props[1]=S,G.props[4]=P,G.props[5]=j,G.props[12]=R,G.props[13]=X,G}function N(h){var b=this.getInverseMatrix();return b.applyToPointArray(h[0],h[1],h[2]||0)}function O(h){var b,S=h.length,P=[];for(b=0;b<S;b+=1)P[b]=N(h[b]);return P}function V(h,b,S){var P=at("float32",6);if(this.isIdentity())P[0]=h[0],P[1]=h[1],P[2]=b[0],P[3]=b[1],P[4]=S[0],P[5]=S[1];else{var j=this.props[0],R=this.props[1],X=this.props[4],G=this.props[5],it=this.props[12],st=this.props[13];P[0]=h[0]*j+h[1]*X+it,P[1]=h[0]*R+h[1]*G+st,P[2]=b[0]*j+b[1]*X+it,P[3]=b[0]*R+b[1]*G+st,P[4]=S[0]*j+S[1]*X+it,P[5]=S[0]*R+S[1]*G+st}return P}function B(h,b,S){var P;return this.isIdentity()?P=[h,b,S]:P=[h*this.props[0]+b*this.props[4]+S*this.props[8]+this.props[12],h*this.props[1]+b*this.props[5]+S*this.props[9]+this.props[13],h*this.props[2]+b*this.props[6]+S*this.props[10]+this.props[14]],P}function F(h,b){if(this.isIdentity())return h+","+b;var S=this.props;return Math.round((h*S[0]+b*S[4]+S[12])*100)/100+","+Math.round((h*S[1]+b*S[5]+S[13])*100)/100}function E(){for(var h=0,b=this.props,S="matrix3d(",P=1e4;h<16;)S+=s(b[h]*P)/P,S+=h===15?")":",",h+=1;return S}function u(h){var b=1e4;return h<1e-6&&h>0||h>-1e-6&&h<0?s(h*b)/b:h}function C(){var h=this.props,b=u(h[0]),S=u(h[1]),P=u(h[4]),j=u(h[5]),R=u(h[12]),X=u(h[13]);return"matrix("+b+","+S+","+P+","+j+","+R+","+X+")"}return function(){this.reset=r,this.rotate=a,this.rotateX=n,this.rotateY=l,this.rotateZ=o,this.skew=g,this.skewFromAxis=_,this.shear=m,this.scale=f,this.setTransform=w,this.translate=k,this.transform=v,this.multiply=D,this.applyToPoint=x,this.applyToX=A,this.applyToY=M,this.applyToZ=T,this.applyToPointArray=B,this.applyToTriplePoints=V,this.applyToPointStringified=F,this.toCSS=E,this.to2dCSS=C,this.clone=p,this.cloneFromProps=d,this.equals=c,this.inversePoints=O,this.inversePoint=N,this.getInverseMatrix=I,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=at("float32",16),this.reset()}}();function Ye(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ye=function(e){return typeof e}:Ye=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ye(t)}var K={};function Js(t){ks(t)}function Yi(){rt.searchAnimations()}function Ks(t){Ts(t)}function Hs(t){Ls(t)}function Us(t){return rt.loadAnimation(t)}function Zs(t){if(typeof t=="string")switch(t){case"high":ze(200);break;default:case"medium":ze(50);break;case"low":ze(10);break}else!isNaN(t)&&t>1&&ze(t)}function Qs(){return typeof navigator<"u"}function $s(t,e){t==="expressions"&&Es(e)}function ta(t){switch(t){case"propertyFactory":return L;case"shapePropertyFactory":return pe;case"matrix":return tt;default:return null}}K.play=rt.play,K.pause=rt.pause,K.setLocationHref=Js,K.togglePause=rt.togglePause,K.setSpeed=rt.setSpeed,K.setDirection=rt.setDirection,K.stop=rt.stop,K.searchAnimations=Yi,K.registerAnimation=rt.registerAnimation,K.loadAnimation=Us,K.setSubframeRendering=Ks,K.resize=rt.resize,K.goToAndStop=rt.goToAndStop,K.destroy=rt.destroy,K.setQuality=Zs,K.inBrowser=Qs,K.installPlugin=$s,K.freeze=rt.freeze,K.unfreeze=rt.unfreeze,K.setVolume=rt.setVolume,K.mute=rt.mute,K.unmute=rt.unmute,K.getRegisteredAnimations=rt.getRegisteredAnimations,K.useWebWorker=xs,K.setIDPrefix=Hs,K.__getFactory=ta,K.version="5.12.2";function ea(){document.readyState==="complete"&&(clearInterval(aa),Yi())}function ia(t){for(var e=Gi.split("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}return null}var Gi="";{var Xi=document.getElementsByTagName("script"),sa=Xi.length-1,Ji=Xi[sa]||{src:""};Gi=Ji.src?Ji.src.replace(/^[^\?]+\??/,""):"",ia("renderer")}var aa=setInterval(ea,100);try{!((typeof Ve>"u"?"undefined":Ye(Ve))==="object"&&typeof ii<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=K)}catch{}var Ft=function(){var t={},e={};t.registerModifier=i,t.getModifier=s;function i(r,a){e[r]||(e[r]=a)}function s(r,a,n){return new e[r](a,n)}return t}();function kt(){}kt.prototype.initModifierProperties=function(){},kt.prototype.addShapeToModifier=function(){},kt.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:le.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},kt.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=si,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},kt.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},Y([ht],kt);function Dt(){}Y([kt],Dt),Dt.prototype.initModifierProperties=function(t,e){this.s=L.getProp(t,e.s,0,.01,this),this.e=L.getProp(t,e.e,0,.01,this),this.o=L.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},Dt.prototype.addShapeToModifier=function(t){t.pathsData=[]},Dt.prototype.calculateShapeEdges=function(t,e,i,s,r){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n=[],l,o=a.length,m;for(l=0;l<o;l+=1)if(m=a[l],!(m.e*r<s||m.s*r>s+i)){var g,_;m.s*r<=s?g=0:g=(m.s*r-s)/i,m.e*r>=s+i?_=1:_=(m.e*r-s)/i,n.push([g,_])}return n.length||n.push([0,0]),n},Dt.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)Ni.release(t[e]);return t.length=0,t},Dt.prototype.processShapes=function(t){var e,i;if(this._mdf||t){var s=this.o.v%360/360;if(s<0&&(s+=1),this.s.v>1?e=1+s:this.s.v<0?e=0+s:e=this.s.v+s,this.e.v>1?i=1+s:this.e.v<0?i=0+s:i=this.e.v+s,e>i){var r=e;e=i,i=r}e=Math.round(e*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var a,n,l=this.shapes.length,o,m,g,_,f,w=0;if(i===e)for(n=0;n<l;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(n=0;n<l;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var k=[],v,D;for(n=0;n<l;n+=1)if(v=this.shapes[n],!v.shape._mdf&&!this._mdf&&!t&&this.m!==2)v.shape.paths=v.localShapeCollection;else{if(a=v.shape.paths,m=a._length,f=0,!v.shape._mdf&&v.pathsData.length)f=v.totalShapeLength;else{for(g=this.releasePathsData(v.pathsData),o=0;o<m;o+=1)_=Tt.getSegmentsLength(a.shapes[o]),g.push(_),f+=_.totalLength;v.totalShapeLength=f,v.pathsData=g}w+=f,v.shape._mdf=!0}var y=e,c=i,p=0,d;for(n=l-1;n>=0;n-=1)if(v=this.shapes[n],v.shape._mdf){for(D=v.localShapeCollection,D.releaseShapes(),this.m===2&&l>1?(d=this.calculateShapeEdges(e,i,v.totalShapeLength,p,w),p+=v.totalShapeLength):d=[[y,c]],m=d.length,o=0;o<m;o+=1){y=d[o][0],c=d[o][1],k.length=0,c<=1?k.push({s:v.totalShapeLength*y,e:v.totalShapeLength*c}):y>=1?k.push({s:v.totalShapeLength*(y-1),e:v.totalShapeLength*(c-1)}):(k.push({s:v.totalShapeLength*y,e:v.totalShapeLength}),k.push({s:0,e:v.totalShapeLength*(c-1)}));var x=this.addShapes(v,k[0]);if(k[0].s!==k[0].e){if(k.length>1){var A=v.shape.paths.shapes[v.shape.paths._length-1];if(A.c){var M=x.pop();this.addPaths(x,D),x=this.addShapes(v,k[1],M)}else this.addPaths(x,D),x=this.addShapes(v,k[1])}this.addPaths(x,D)}}v.shape.paths=D}}},Dt.prototype.addPaths=function(t,e){var i,s=t.length;for(i=0;i<s;i+=1)e.addShape(t[i])},Dt.prototype.addSegment=function(t,e,i,s,r,a,n){r.setXYAt(e[0],e[1],"o",a),r.setXYAt(i[0],i[1],"i",a+1),n&&r.setXYAt(t[0],t[1],"v",a),r.setXYAt(s[0],s[1],"v",a+1)},Dt.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},Dt.prototype.addShapes=function(t,e,i){var s=t.pathsData,r=t.shape.paths.shapes,a,n=t.shape.paths._length,l,o,m=0,g,_,f,w,k=[],v,D=!0;for(i?(_=i._length,v=i._length):(i=ct.newElement(),_=0,v=0),k.push(i),a=0;a<n;a+=1){for(f=s[a].lengths,i.c=r[a].c,o=r[a].c?f.length:f.length+1,l=1;l<o;l+=1)if(g=f[l-1],m+g.addedLength<e.s)m+=g.addedLength,i.c=!1;else if(m>e.e){i.c=!1;break}else e.s<=m&&e.e>=m+g.addedLength?(this.addSegment(r[a].v[l-1],r[a].o[l-1],r[a].i[l],r[a].v[l],i,_,D),D=!1):(w=Tt.getNewSegment(r[a].v[l-1],r[a].v[l],r[a].o[l-1],r[a].i[l],(e.s-m)/g.addedLength,(e.e-m)/g.addedLength,f[l-1]),this.addSegmentFromArray(w,i,_,D),D=!1,i.c=!1),m+=g.addedLength,_+=1;if(r[a].c&&f.length){if(g=f[l-1],m<=e.e){var y=f[l-1].addedLength;e.s<=m&&e.e>=m+y?(this.addSegment(r[a].v[l-1],r[a].o[l-1],r[a].i[0],r[a].v[0],i,_,D),D=!1):(w=Tt.getNewSegment(r[a].v[l-1],r[a].v[0],r[a].o[l-1],r[a].i[0],(e.s-m)/y,(e.e-m)/y,f[l-1]),this.addSegmentFromArray(w,i,_,D),D=!1,i.c=!1)}else i.c=!1;m+=g.addedLength,_+=1}if(i._length&&(i.setXYAt(i.v[v][0],i.v[v][1],"i",v),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),m>e.e)break;a<n-1&&(i=ct.newElement(),D=!0,k.push(i),_=0)}return k};function ke(){}Y([kt],ke),ke.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=L.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},ke.prototype.processPath=function(t,e){var i=e/100,s=[0,0],r=t._length,a=0;for(a=0;a<r;a+=1)s[0]+=t.v[a][0],s[1]+=t.v[a][1];s[0]/=r,s[1]/=r;var n=ct.newElement();n.c=t.c;var l,o,m,g,_,f;for(a=0;a<r;a+=1)l=t.v[a][0]+(s[0]-t.v[a][0])*i,o=t.v[a][1]+(s[1]-t.v[a][1])*i,m=t.o[a][0]+(s[0]-t.o[a][0])*-i,g=t.o[a][1]+(s[1]-t.o[a][1])*-i,_=t.i[a][0]+(s[0]-t.i[a][0])*-i,f=t.i[a][1]+(s[1]-t.i[a][1])*-i,n.setTripleAt(l,o,m,g,_,f,a);return n},ke.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,n=this.amount.v;if(n!==0){var l,o;for(i=0;i<s;i+=1){if(l=this.shapes[i],o=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!t))for(o.releaseShapes(),l.shape._mdf=!0,e=l.shape.paths.shapes,a=l.shape.paths._length,r=0;r<a;r+=1)o.addShape(this.processPath(e[r],n));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Ge=function(){var t=[0,0];function e(o){var m=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||m,this.a&&o.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&o.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&o.skewFromAxis(-this.sk.v,this.sa.v),this.r?o.rotate(-this.r.v):o.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?o.translate(this.px.v,this.py.v,-this.pz.v):o.translate(this.px.v,this.py.v,0):o.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(o){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||o){var m;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 g,_;if(m=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(g=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/m,0),_=this.p.getValueAtTime(this.p.keyframes[0].t/m,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(g=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/m,0),_=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/m,0)):(g=this.p.pv,_=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/m,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){g=[],_=[];var f=this.px,w=this.py;f._caching.lastFrame+f.offsetTime<=f.keyframes[0].t?(g[0]=f.getValueAtTime((f.keyframes[0].t+.01)/m,0),g[1]=w.getValueAtTime((w.keyframes[0].t+.01)/m,0),_[0]=f.getValueAtTime(f.keyframes[0].t/m,0),_[1]=w.getValueAtTime(w.keyframes[0].t/m,0)):f._caching.lastFrame+f.offsetTime>=f.keyframes[f.keyframes.length-1].t?(g[0]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/m,0),g[1]=w.getValueAtTime(w.keyframes[w.keyframes.length-1].t/m,0),_[0]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/m,0),_[1]=w.getValueAtTime((w.keyframes[w.keyframes.length-1].t-.01)/m,0)):(g=[f.pv,w.pv],_[0]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/m,f.offsetTime),_[1]=w.getValueAtTime((w._caching.lastFrame+w.offsetTime-.01)/m,w.offsetTime))}else _=t,g=_;this.v.rotate(-Math.atan2(g[1]-_[1],g[0]-_[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function s(){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 r(){}function a(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function n(o,m,g){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=m,this.v=new tt,this.pre=new tt,this.appliedTransformations=0,this.initDynamicPropertyContainer(g||o),m.p&&m.p.s?(this.px=L.getProp(o,m.p.x,0,0,this),this.py=L.getProp(o,m.p.y,0,0,this),m.p.z&&(this.pz=L.getProp(o,m.p.z,0,0,this))):this.p=L.getProp(o,m.p||{k:[0,0,0]},1,0,this),m.rx){if(this.rx=L.getProp(o,m.rx,0,$,this),this.ry=L.getProp(o,m.ry,0,$,this),this.rz=L.getProp(o,m.rz,0,$,this),m.or.k[0].ti){var _,f=m.or.k.length;for(_=0;_<f;_+=1)m.or.k[_].to=null,m.or.k[_].ti=null}this.or=L.getProp(o,m.or,1,$,this),this.or.sh=!0}else this.r=L.getProp(o,m.r||{k:0},0,$,this);m.sk&&(this.sk=L.getProp(o,m.sk,0,$,this),this.sa=L.getProp(o,m.sa,0,$,this)),this.a=L.getProp(o,m.a||{k:[0,0,0]},1,0,this),this.s=L.getProp(o,m.s||{k:[100,100,100]},1,.01,this),m.o?this.o=L.getProp(o,m.o,0,.01,o):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}n.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:s,autoOrient:r},Y([ht],n),n.prototype.addDynamicProperty=a,n.prototype._addDynamicProperty=ht.prototype.addDynamicProperty;function l(o,m,g){return new n(o,m,g)}return{getTransformProperty:l}}();function Et(){}Y([kt],Et),Et.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=L.getProp(t,e.c,0,null,this),this.o=L.getProp(t,e.o,0,null,this),this.tr=Ge.getTransformProperty(t,e.tr,this),this.so=L.getProp(t,e.tr.so,0,.01,this),this.eo=L.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new tt,this.rMatrix=new tt,this.sMatrix=new tt,this.tMatrix=new tt,this.matrix=new tt},Et.prototype.applyTransforms=function(t,e,i,s,r,a){var n=a?-1:1,l=s.s.v[0]+(1-s.s.v[0])*(1-r),o=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*n*r,s.p.v[1]*n*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*n*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(a?1/l:l,a?1/o:o),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},Et.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);i>0;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Et.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,t[e].ty==="gr"&&this.resetElements(t[e].it)},Et.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},Et.prototype.changeGroupRender=function(t,e){var i,s=t.length;for(i=0;i<s;i+=1)t[i]._render=e,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,e)},Et.prototype.processShapes=function(t){var e,i,s,r,a,n=!1;if(this._mdf||t){var l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var o={it:this.cloneElements(this._elements),ty:"gr"};o.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,o),this._groups.splice(0,0,o),this._currentCopies+=1}this.elem.reloadShapes(),n=!0}a=0;var m;for(s=0;s<=this._groups.length-1;s+=1){if(m=a<l,this._groups[s]._render=m,this.changeGroupRender(this._groups[s].it,m),!m){var g=this.elemsData[s].it,_=g[g.length-1];_.transform.op.v!==0?(_.transform.op._mdf=!0,_.transform.op.v=0):_.transform.op._mdf=!1}a+=1}this._currentCopies=l;var f=this.o.v,w=f%1,k=f>0?Math.floor(f):Math.ceil(f),v=this.pMatrix.props,D=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var c=0;if(f>0){for(;c<k;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),c+=1;w&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,w,!1),c+=w)}else if(f<0){for(;c>k;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),c-=1;w&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-w,!0),c-=w)}s=this.data.m===1?0:this._currentCopies-1,r=this.data.m===1?1:-1,a=this._currentCopies;for(var p,d;a;){if(e=this.elemsData[s].it,i=e[e.length-1].transform.mProps.v.props,d=i.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(s/(this._currentCopies-1)),c!==0){for((s!==0&&r===1||s!==this._currentCopies-1&&r===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(D[0],D[1],D[2],D[3],D[4],D[5],D[6],D[7],D[8],D[9],D[10],D[11],D[12],D[13],D[14],D[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),p=0;p<d;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<d;p+=1)i[p]=this.matrix.props[p];c+=1,a-=1,s+=r}}else for(a=this._currentCopies,s=0,r=1;a;)e=this.elemsData[s].it,i=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,s+=r;return n},Et.prototype.addShape=function(){};function we(){}Y([kt],we),we.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=L.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},we.prototype.processPath=function(t,e){var i=ct.newElement();i.c=t.c;var s,r=t._length,a,n,l,o,m,g,_=0,f,w,k,v,D,y;for(s=0;s<r;s+=1)a=t.v[s],l=t.o[s],n=t.i[s],a[0]===l[0]&&a[1]===l[1]&&a[0]===n[0]&&a[1]===n[1]?(s===0||s===r-1)&&!t.c?(i.setTripleAt(a[0],a[1],l[0],l[1],n[0],n[1],_),_+=1):(s===0?o=t.v[r-1]:o=t.v[s-1],m=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),g=m?Math.min(m/2,e)/m:0,D=a[0]+(o[0]-a[0])*g,f=D,y=a[1]-(a[1]-o[1])*g,w=y,k=f-(f-a[0])*Gt,v=w-(w-a[1])*Gt,i.setTripleAt(f,w,k,v,D,y,_),_+=1,s===r-1?o=t.v[0]:o=t.v[s+1],m=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),g=m?Math.min(m/2,e)/m:0,k=a[0]+(o[0]-a[0])*g,f=k,v=a[1]+(o[1]-a[1])*g,w=v,D=f-(f-a[0])*Gt,y=w-(w-a[1])*Gt,i.setTripleAt(f,w,k,v,D,y,_),_+=1):(i.setTripleAt(t.v[s][0],t.v[s][1],t.o[s][0],t.o[s][1],t.i[s][0],t.i[s][1],_),_+=1);return i},we.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,n=this.rd.v;if(n!==0){var l,o;for(i=0;i<s;i+=1){if(l=this.shapes[i],o=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!t))for(o.releaseShapes(),l.shape._mdf=!0,e=l.shape.paths.shapes,a=l.shape.paths._length,r=0;r<a;r+=1)o.addShape(this.processPath(e[r],n));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Xe(t,e){return Math.abs(t-e)*1e5<=Math.min(Math.abs(t),Math.abs(e))}function hi(t){return Math.abs(t)<=1e-5}function Ki(t,e,i){return t*(1-i)+e*i}function Xt(t,e,i){return[Ki(t[0],e[0],i),Ki(t[1],e[1],i)]}function ra(t,e,i){if(t===0)return[];var s=e*e-4*t*i;if(s<0)return[];var r=-e/(2*t);if(s===0)return[r];var a=Math.sqrt(s)/(2*t);return[r-a,r+a]}function Hi(t,e,i,s){return[-t+3*e-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function Ui(t){return new et(t,t,t,t,!1)}function et(t,e,i,s,r){r&&ce(t,e)&&(e=Xt(t,s,1/3)),r&&ce(i,s)&&(i=Xt(t,s,2/3));var a=Hi(t[0],e[0],i[0],s[0]),n=Hi(t[1],e[1],i[1],s[1]);this.a=[a[0],n[0]],this.b=[a[1],n[1]],this.c=[a[2],n[2]],this.d=[a[3],n[3]],this.points=[t,e,i,s]}et.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},et.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},et.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},et.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},et.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(hi(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var s=Math.sqrt(i);return hi(s)?s>0&&s<1?[e]:[]:[e-s,e+s].filter(function(r){return r>0&&r<1})},et.prototype.split=function(t){if(t<=0)return[Ui(this.points[0]),this];if(t>=1)return[this,Ui(this.points[this.points.length-1])];var e=Xt(this.points[0],this.points[1],t),i=Xt(this.points[1],this.points[2],t),s=Xt(this.points[2],this.points[3],t),r=Xt(e,i,t),a=Xt(i,s,t),n=Xt(r,a,t);return[new et(this.points[0],e,r,n,!0),new et(n,a,s,this.points[3],!0)]};function Zi(t,e){var i=t.points[0][e],s=t.points[t.points.length-1][e];if(i>s){var r=s;s=i,i=r}for(var a=ra(3*t.a[e],2*t.b[e],t.c[e]),n=0;n<a.length;n+=1)if(a[n]>0&&a[n]<1){var l=t.point(a[n])[e];l<i?i=l:l>s&&(s=l)}return{min:i,max:s}}et.prototype.bounds=function(){return{x:Zi(this,0),y:Zi(this,1)}},et.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function Je(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}function Qi(t){var e=t.bez.split(.5);return[Je(e[0],t.t1,t.t),Je(e[1],t.t,t.t2)]}function na(t,e){return Math.abs(t.cx-e.cx)*2<t.width+e.width&&Math.abs(t.cy-e.cy)*2<t.height+e.height}function Pe(t,e,i,s,r,a){if(na(t,e)){if(i>=a||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s){r.push([t.t,e.t]);return}var n=Qi(t),l=Qi(e);Pe(n[0],l[0],i+1,s,r,a),Pe(n[0],l[1],i+1,s,r,a),Pe(n[1],l[0],i+1,s,r,a),Pe(n[1],l[1],i+1,s,r,a)}}et.prototype.intersections=function(t,e,i){e===void 0&&(e=2),i===void 0&&(i=7);var s=[];return Pe(Je(this,0,1),Je(t,0,1),0,e,s,i),s},et.shapeSegment=function(t,e){var i=(e+1)%t.length();return new et(t.v[e],t.o[e],t.i[i],t.v[i],!0)},et.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new et(t.v[i],t.i[i],t.o[e],t.v[e],!0)};function li(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Ke(t,e,i,s){var r=[t[0],t[1],1],a=[e[0],e[1],1],n=[i[0],i[1],1],l=[s[0],s[1],1],o=li(li(r,a),li(n,l));return hi(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function fe(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}function pi(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function ce(t,e){return Xe(t[0],e[0])&&Xe(t[1],e[1])}function De(){}Y([kt],De),De.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=L.getProp(t,e.s,0,null,this),this.frequency=L.getProp(t,e.r,0,null,this),this.pointsType=L.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function $i(t,e,i,s,r,a,n){var l=i-Math.PI/2,o=i+Math.PI/2,m=e[0]+Math.cos(i)*s*r,g=e[1]-Math.sin(i)*s*r;t.setTripleAt(m,g,m+Math.cos(l)*a,g-Math.sin(l)*a,m+Math.cos(o)*n,g-Math.sin(o)*n,t.length())}function oa(t,e){var i=[e[0]-t[0],e[1]-t[1]],s=-Math.PI*.5,r=[Math.cos(s)*i[0]-Math.sin(s)*i[1],Math.sin(s)*i[0]+Math.cos(s)*i[1]];return r}function ha(t,e){var i=e===0?t.length()-1:e-1,s=(e+1)%t.length(),r=t.v[i],a=t.v[s],n=oa(r,a);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function ts(t,e,i,s,r,a,n){var l=ha(e,i),o=e.v[i%e._length],m=e.v[i===0?e._length-1:i-1],g=e.v[(i+1)%e._length],_=a===2?Math.sqrt(Math.pow(o[0]-m[0],2)+Math.pow(o[1]-m[1],2)):0,f=a===2?Math.sqrt(Math.pow(o[0]-g[0],2)+Math.pow(o[1]-g[1],2)):0;$i(t,e.v[i%e._length],l,n,s,f/((r+1)*2),_/((r+1)*2))}function la(t,e,i,s,r,a){for(var n=0;n<s;n+=1){var l=(n+1)/(s+1),o=r===2?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,m=e.normalAngle(l),g=e.point(l);$i(t,g,m,a,i,o/((s+1)*2),o/((s+1)*2)),a=-a}return a}De.prototype.processPath=function(t,e,i,s){var r=t._length,a=ct.newElement();if(a.c=t.c,t.c||(r-=1),r===0)return a;var n=-1,l=et.shapeSegment(t,0);ts(a,t,0,e,i,s,n);for(var o=0;o<r;o+=1)n=la(a,l,e,i,s,-n),o===r-1&&!t.c?l=null:l=et.shapeSegment(t,(o+1)%r),ts(a,t,o+1,e,i,s,n);return a},De.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,n=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(n!==0){var m,g;for(i=0;i<s;i+=1){if(m=this.shapes[i],g=m.localShapeCollection,!(!m.shape._mdf&&!this._mdf&&!t))for(g.releaseShapes(),m.shape._mdf=!0,e=m.shape.paths.shapes,a=m.shape.paths._length,r=0;r<a;r+=1)g.addShape(this.processPath(e[r],n,l,o));m.shape.paths=m.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function fi(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[fe(t,s,i),fe(e,s,i)]}function de(t,e){var i,s,r,a,n,l,o;o=fi(t.points[0],t.points[1],e),i=o[0],s=o[1],o=fi(t.points[1],t.points[2],e),r=o[0],a=o[1],o=fi(t.points[2],t.points[3],e),n=o[0],l=o[1];var m=Ke(i,s,r,a);m===null&&(m=s);var g=Ke(n,l,r,a);return g===null&&(g=n),new et(i,m,g,l)}function es(t,e,i,s,r){var a=e.points[3],n=i.points[0];if(s===3||ce(a,n))return a;if(s===2){var l=-e.tangentAngle(1),o=-i.tangentAngle(0)+Math.PI,m=Ke(a,fe(a,l+Math.PI/2,100),n,fe(n,l+Math.PI/2,100)),g=m?pi(m,a):pi(a,n)/2,_=fe(a,l,2*g*Gt);return t.setXYAt(_[0],_[1],"o",t.length()-1),_=fe(n,o,2*g*Gt),t.setTripleAt(n[0],n[1],n[0],n[1],_[0],_[1],t.length()),n}var f=ce(a,e.points[2])?e.points[0]:e.points[2],w=ce(n,i.points[1])?i.points[3]:i.points[1],k=Ke(f,a,n,w);return k&&pi(k,a)<r?(t.setTripleAt(k[0],k[1],k[0],k[1],k[0],k[1],t.length()),k):a}function is(t,e){var i=t.intersections(e);return i.length&&Xe(i[0][0],1)&&i.shift(),i.length?i[0]:null}function ss(t,e){var i=t.slice(),s=e.slice(),r=is(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),t.length>1&&e.length>1&&(r=is(t[0],e[e.length-1]),r)?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function pa(t){for(var e,i=1;i<t.length;i+=1)e=ss(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return t.length>1&&(e=ss(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function as(t,e){var i=t.inflectionPoints(),s,r,a,n;if(i.length===0)return[de(t,e)];if(i.length===1||Xe(i[1],1))return a=t.split(i[0]),s=a[0],r=a[1],[de(s,e),de(r,e)];a=t.split(i[0]),s=a[0];var l=(i[1]-i[0])/(1-i[0]);return a=a[1].split(l),n=a[0],r=a[1],[de(s,e),de(n,e),de(r,e)]}function Ae(){}Y([kt],Ae),Ae.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=L.getProp(t,e.a,0,null,this),this.miterLimit=L.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Ae.prototype.processPath=function(t,e,i,s){var r=ct.newElement();r.c=t.c;var a=t.length();t.c||(a-=1);var n,l,o,m=[];for(n=0;n<a;n+=1)o=et.shapeSegment(t,n),m.push(as(o,e));if(!t.c)for(n=a-1;n>=0;n-=1)o=et.shapeSegmentInverted(t,n),m.push(as(o,e));m=pa(m);var g=null,_=null;for(n=0;n<m.length;n+=1){var f=m[n];for(_&&(g=es(r,_,f[0],i,s)),_=f[f.length-1],l=0;l<f.length;l+=1)o=f[l],g&&ce(o.points[0],g)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],r.length()),r.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],r.length()),g=o.points[3]}return m.length&&es(r,_,m[0][0],i,s),r},Ae.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,n=this.amount.v,l=this.miterLimit.v,o=this.lineJoin;if(n!==0){var m,g;for(i=0;i<s;i+=1){if(m=this.shapes[i],g=m.localShapeCollection,!(!m.shape._mdf&&!this._mdf&&!t))for(g.releaseShapes(),m.shape._mdf=!0,e=m.shape.paths.shapes,a=m.shape.paths._length,r=0;r<a;r+=1)g.addShape(this.processPath(e[r],n,o,l));m.shape.paths=m.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function rs(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",s="normal",r=e.length,a,n=0;n<r;n+=1)switch(a=e[n].toLowerCase(),a){case"italic":s="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:s,weight:t.fWeight||i}}var se=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.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 s=127988,r=917631,a=917601,n=917626,l=65039,o=8205,m=127462,g=127487,_=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(u){var C=u.split(","),h,b=C.length,S=[];for(h=0;h<b;h+=1)C[h]!=="sans-serif"&&C[h]!=="monospace"&&S.push(C[h]);return S.join(",")}function w(u,C){var h=Ct("span");h.setAttribute("aria-hidden",!0),h.style.fontFamily=C;var b=Ct("span");b.innerText="giItT1WQy@!-/#",h.style.position="absolute",h.style.left="-10000px",h.style.top="-10000px",h.style.fontSize="300px",h.style.fontVariant="normal",h.style.fontStyle="normal",h.style.fontWeight="normal",h.style.letterSpacing="0",h.appendChild(b),document.body.appendChild(h);var S=b.offsetWidth;return b.style.fontFamily=f(u)+", "+C,{node:b,w:S,parent:h}}function k(){var u,C=this.fonts.length,h,b,S=C;for(u=0;u<C;u+=1)this.fonts[u].loaded?S-=1:this.fonts[u].fOrigin==="n"||this.fonts[u].origin===0?this.fonts[u].loaded=!0:(h=this.fonts[u].monoCase.node,b=this.fonts[u].monoCase.w,h.offsetWidth!==b?(S-=1,this.fonts[u].loaded=!0):(h=this.fonts[u].sansCase.node,b=this.fonts[u].sansCase.w,h.offsetWidth!==b&&(S-=1,this.fonts[u].loaded=!0)),this.fonts[u].loaded&&(this.fonts[u].sansCase.parent.parentNode.removeChild(this.fonts[u].sansCase.parent),this.fonts[u].monoCase.parent.parentNode.removeChild(this.fonts[u].monoCase.parent)));S!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function v(u,C){var h=document.body&&C?"svg":"canvas",b,S=rs(u);if(h==="svg"){var P=W("text");P.style.fontSize="100px",P.setAttribute("font-family",u.fFamily),P.setAttribute("font-style",S.style),P.setAttribute("font-weight",S.weight),P.textContent="1",u.fClass?(P.style.fontFamily="inherit",P.setAttribute("class",u.fClass)):P.style.fontFamily=u.fFamily,C.appendChild(P),b=P}else{var j=new OffscreenCanvas(500,500).getContext("2d");j.font=S.style+" "+S.weight+" 100px "+u.fFamily,b=j}function R(X){return h==="svg"?(b.textContent=X,b.getComputedTextLength()):b.measureText(X).width}return{measureText:R}}function D(u,C){if(!u){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=u.list;return}if(!document.body){this.isLoaded=!0,u.list.forEach(function(gt){gt.helper=v(gt),gt.cache={}}),this.fonts=u.list;return}var h=u.list,b,S=h.length,P=S;for(b=0;b<S;b+=1){var j=!0,R,X;if(h[b].loaded=!1,h[b].monoCase=w(h[b].fFamily,"monospace"),h[b].sansCase=w(h[b].fFamily,"sans-serif"),!h[b].fPath)h[b].loaded=!0,P-=1;else if(h[b].fOrigin==="p"||h[b].origin===3){if(R=document.querySelectorAll('style[f-forigin="p"][f-family="'+h[b].fFamily+'"], style[f-origin="3"][f-family="'+h[b].fFamily+'"]'),R.length>0&&(j=!1),j){var G=Ct("style");G.setAttribute("f-forigin",h[b].fOrigin),G.setAttribute("f-origin",h[b].origin),G.setAttribute("f-family",h[b].fFamily),G.type="text/css",G.innerText="@font-face {font-family: "+h[b].fFamily+"; font-style: normal; src: url('"+h[b].fPath+"');}",C.appendChild(G)}}else if(h[b].fOrigin==="g"||h[b].origin===1){for(R=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),X=0;X<R.length;X+=1)R[X].href.indexOf(h[b].fPath)!==-1&&(j=!1);if(j){var it=Ct("link");it.setAttribute("f-forigin",h[b].fOrigin),it.setAttribute("f-origin",h[b].origin),it.type="text/css",it.rel="stylesheet",it.href=h[b].fPath,document.body.appendChild(it)}}else if(h[b].fOrigin==="t"||h[b].origin===2){for(R=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),X=0;X<R.length;X+=1)h[b].fPath===R[X].src&&(j=!1);if(j){var st=Ct("link");st.setAttribute("f-forigin",h[b].fOrigin),st.setAttribute("f-origin",h[b].origin),st.setAttribute("rel","stylesheet"),st.setAttribute("href",h[b].fPath),C.appendChild(st)}}h[b].helper=v(h[b],C),h[b].cache={},this.fonts.push(h[b])}P===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function y(u){if(u){this.chars||(this.chars=[]);var C,h=u.length,b,S=this.chars.length,P;for(C=0;C<h;C+=1){for(b=0,P=!1;b<S;)this.chars[b].style===u[C].style&&this.chars[b].fFamily===u[C].fFamily&&this.chars[b].ch===u[C].ch&&(P=!0),b+=1;P||(this.chars.push(u[C]),S+=1)}}}function c(u,C,h){for(var b=0,S=this.chars.length;b<S;){if(this.chars[b].ch===u&&this.chars[b].style===C&&this.chars[b].fFamily===h)return this.chars[b];b+=1}return(typeof u=="string"&&u.charCodeAt(0)!==13||!u)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",u,C,h)),e}function p(u,C,h){var b=this.getFontByName(C),S=u;if(!b.cache[S]){var P=b.helper;if(u===" "){var j=P.measureText("|"+u+"|"),R=P.measureText("||");b.cache[S]=(j-R)/100}else b.cache[S]=P.measureText(u)/100}return b.cache[S]*h}function d(u){for(var C=0,h=this.fonts.length;C<h;){if(this.fonts[C].fName===u)return this.fonts[C];C+=1}return this.fonts[0]}function x(u){var C=0,h=u.charCodeAt(0);if(h>=55296&&h<=56319){var b=u.charCodeAt(1);b>=56320&&b<=57343&&(C=(h-55296)*1024+b-56320+65536)}return C}function A(u,C){var h=u.toString(16)+C.toString(16);return _.indexOf(h)!==-1}function M(u){return u===o}function T(u){return u===l}function I(u){var C=x(u);return C>=m&&C<=g}function N(u){return I(u.substr(0,2))&&I(u.substr(2,2))}function O(u){return i.indexOf(u)!==-1}function V(u,C){var h=x(u.substr(C,2));if(h!==s)return!1;var b=0;for(C+=2;b<5;){if(h=x(u.substr(C,2)),h<a||h>n)return!1;b+=1,C+=2}return x(u.substr(C,2))===r}function B(){this.isLoaded=!0}var F=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)};F.isModifier=A,F.isZeroWidthJoiner=M,F.isFlagEmoji=N,F.isRegionalCode=I,F.isCombinedCharacter=O,F.isRegionalFlag=V,F.isVariationSelector=T,F.BLACK_FLAG_CODE_POINT=s;var E={addChars:y,addFonts:D,getCharData:c,getFontByName:d,measureText:p,checkLoadedFonts:k,setIsLoaded:B};return F.prototype=E,F}();function ns(t){this.animationData=t}ns.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function fa(t){return new ns(t)}function Jt(){}Jt.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var He=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function ca(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function da(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function ma(t,e,i){this.p=L.getProp(e,t.v,1,0,i)}function ua(t,e,i){this.p=L.getProp(e,t.v,1,0,i)}function ga(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function ya(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function va(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function ba(){this.p={}}function os(t,e){var i=t.ef||[];this.effectElements=[];var s,r=i.length,a;for(s=0;s<r;s+=1)a=new Se(i[s],e),this.effectElements.push(a)}function Se(t,e){this.init(t,e)}Y([ht],Se),Se.prototype.getValue=Se.prototype.iterateDynamicProperties,Se.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,s=this.data.ef.length,r,a=this.data.ef;for(i=0;i<s;i+=1){switch(r=null,a[i].ty){case 0:r=new ca(a[i],e,this);break;case 1:r=new da(a[i],e,this);break;case 2:r=new ma(a[i],e,this);break;case 3:r=new ua(a[i],e,this);break;case 4:case 7:r=new va(a[i],e,this);break;case 10:r=new ga(a[i],e,this);break;case 11:r=new ya(a[i],e,this);break;case 5:r=new os(a[i],e);break;default:r=new ba(a[i]);break}r&&this.effectElements.push(r)}};function wt(){}wt.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){},setBlendMode:function(){var t=He(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=mt(),this.data.sr||(this.data.sr=1),this.effectsManager=new os(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Pt(){}Pt.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,s=this.dynamicProperties.length;for(i=0;i<s;i+=1)(e||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function Kt(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}Kt.prototype.prepareFrame=function(){},Y([Jt,wt,Pt],Kt),Kt.prototype.getBaseElement=function(){return null},Kt.prototype.renderFrame=function(){},Kt.prototype.destroy=function(){},Kt.prototype.initExpressions=function(){},Kt.prototype.getFootageData=function(){return this.footageData};function ut(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;var s=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(s),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?L.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=L.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}ut.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},Y([Jt,wt,Pt],ut),ut.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))},ut.prototype.show=function(){},ut.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},ut.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},ut.prototype.resume=function(){this._canPlay=!0},ut.prototype.setRate=function(t){this.audio.rate(t)},ut.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},ut.prototype.getBaseElement=function(){return null},ut.prototype.destroy=function(){},ut.prototype.sourceRectAtTime=function(){},ut.prototype.initExpressions=function(){};function lt(){}lt.prototype.checkLayers=function(t){var e,i=this.layers.length,s;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(s=this.layers[e],s.ip-s.st<=t-this.layers[e].st&&s.op-s.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},lt.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},lt.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},lt.prototype.createAudio=function(t){return new ut(t,this.globalData,this)},lt.prototype.createFootage=function(t){return new Kt(t,this.globalData,this)},lt.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},lt.prototype.includeLayers=function(t){this.completeLayers=!1;var e,i=t.length,s,r=this.layers.length;for(e=0;e<i;e+=1)for(s=0;s<r;){if(this.layers[s].id===t[e].id){this.layers[s]=t[e];break}s+=1}},lt.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},lt.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},lt.prototype.buildElementParenting=function(t,e,i){for(var s=this.elements,r=this.layers,a=0,n=r.length;a<n;)r[a].ind==e&&(!s[a]||s[a]===!0?(this.buildItem(a),this.addPendingElement(t)):(i.push(s[a]),s[a].setAsParent(),r[a].parent!==void 0?this.buildElementParenting(t,r[a].parent,i):t.setHierarchy(i))),a+=1},lt.prototype.addPendingElement=function(t){this.pendingElements.push(t)},lt.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var s=this.createComp(t[e]);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},lt.prototype.getElementById=function(t){var e,i=this.elements.length;for(e=0;e<i;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},lt.prototype.getElementByPath=function(t){var e=t.shift(),i;if(typeof e=="number")i=this.elements[e];else{var s,r=this.elements.length;for(s=0;s<r;s+=1)if(this.elements[s].data.nm===e){i=this.elements[s];break}}return t.length===0?i:i.getElementByPath(t)},lt.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new se,this.globalData.slotManager=fa(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var hs={TRANSFORM_EFFECT:"transformEFfect"};function Lt(){}Lt.prototype={initTransform:function(){var t=new tt;this.finalTransform={mProp:this.data.ks?Ge.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}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 t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var r=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)r*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(hs.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new tt;var e=0,i=t.length;for(e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;var r,a=e.length,n;for(r=0;r<a;r+=1)n=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-n[0],t[1]-n[1],0];return t},mHelper:new tt};function Ht(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r,a=this.masksProperties?this.masksProperties.length:0;this.viewData=Z(a),this.solidPath="";var n,l=this.masksProperties,o=0,m=[],g,_,f=mt(),w,k,v,D,y="clipPath",c="clip-path";for(r=0;r<a;r+=1)if((l[r].mode!=="a"&&l[r].mode!=="n"||l[r].inv||l[r].o.k!==100||l[r].o.x)&&(y="mask",c="mask"),(l[r].mode==="s"||l[r].mode==="i")&&o===0?(w=W("rect"),w.setAttribute("fill","#ffffff"),w.setAttribute("width",this.element.comp.data.w||0),w.setAttribute("height",this.element.comp.data.h||0),m.push(w)):w=null,n=W("path"),l[r].mode==="n")this.viewData[r]={op:L.getProp(this.element,l[r].o,0,.01,this.element),prop:pe.getShapeProp(this.element,l[r],3),elem:n,lastPath:""},s.appendChild(n);else{o+=1,n.setAttribute("fill",l[r].mode==="s"?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero");var p;if(l[r].x.k!==0?(y="mask",c="mask",D=L.getProp(this.element,l[r].x,0,null,this.element),p=mt(),k=W("filter"),k.setAttribute("id",p),v=W("feMorphology"),v.setAttribute("operator","erode"),v.setAttribute("in","SourceGraphic"),v.setAttribute("radius","0"),k.appendChild(v),s.appendChild(k),n.setAttribute("stroke",l[r].mode==="s"?"#000000":"#ffffff")):(v=null,D=null),this.storedData[r]={elem:n,x:D,expan:v,lastPath:"",lastOperator:"",filterId:p,lastRadius:0},l[r].mode==="i"){_=m.length;var d=W("g");for(g=0;g<_;g+=1)d.appendChild(m[g]);var x=W("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",f+"_"+o),x.appendChild(n),s.appendChild(x),d.setAttribute("mask","url("+bt()+"#"+f+"_"+o+")"),m.length=0,m.push(d)}else m.push(n);l[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:n,lastPath:"",op:L.getProp(this.element,l[r].o,0,.01,this.element),prop:pe.getShapeProp(this.element,l[r],3),invRect:w},this.viewData[r].prop.k||this.drawPath(l[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=W(y),a=m.length,r=0;r<a;r+=1)this.maskElement.appendChild(m[r]);o>0&&(this.maskElement.setAttribute("id",f),this.element.maskedElement.setAttribute(c,"url("+bt()+"#"+f+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ht.prototype.getMaskProperty=function(t){return this.viewData[t].prop},Ht.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,i,s=this.masksProperties.length;for(i=0;i<s;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var r=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+bt()+"#"+this.storedData[i].filterId+")")),r.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},Ht.prototype.getMaskelement=function(){return this.maskElement},Ht.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},Ht.prototype.drawPath=function(t,e,i){var s=" M"+e.v[0][0]+","+e.v[0][1],r,a;for(a=e._length,r=1;r<a;r+=1)s+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[r][0]+","+e.i[r][1]+" "+e.v[r][0]+","+e.v[r][1];if(e.c&&a>1&&(s+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==s){var n="";i.elem&&(e.c&&(n=t.inv?this.solidPath+s:s),i.elem.setAttribute("d",n)),i.lastPath=s}},Ht.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Me=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=i;function e(s,r){var a=W("filter");return a.setAttribute("id",s),r!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function i(){var s=W("feColorMatrix");return s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),s}return t}(),Ue=function(){var t={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))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),ci={},ls="filter_result_";function di(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=mt(),a=Me.createFilter(r,!0),n=0;this.filters=[];var l;for(e=0;e<s;e+=1){l=null;var o=t.data.ef[e].ty;if(ci[o]){var m=ci[o].effect;l=new m(a,t.effectsManager.effectElements[e],t,ls+n,i),i=ls+n,ci[o].countsAsEffect&&(n+=1)}l&&this.filters.push(l)}n&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+bt()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}di.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},di.prototype.getEffects=function(t){var e,i=this.filters.length,s=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&s.push(this.filters[e]);return s};function Te(){}Te.prototype={initRendererElement:function(){this.layerElement=W("g")},createContainerElements:function(){this.matteElement=W("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=W("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=W("clipPath"),s=W("path");s.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var r=mt();if(i.setAttribute("id",r),i.appendChild(s),this.globalData.defs.appendChild(i),this.checkMasks()){var a=W("g");a.setAttribute("clip-path","url("+bt()+"#"+r+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+bt()+"#"+r+")")}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 Ht(this.data,this,this.globalData),this.renderableEffectsManager=new di(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e=this.layerId+"_"+t,i,s,r,a;if(t===1||t===3){var n=W("mask");n.setAttribute("id",e),n.setAttribute("mask-type",t===3?"luminance":"alpha"),r=W("use"),r.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),n.appendChild(r),this.globalData.defs.appendChild(n),!Ue.maskType&&t===1&&(n.setAttribute("mask-type","luminance"),i=mt(),s=Me.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(Me.createAlphaToLuminanceFilter()),a=W("g"),a.appendChild(r),n.appendChild(a),a.setAttribute("filter","url("+bt()+"#"+i+")"))}else if(t===2){var l=W("mask");l.setAttribute("id",e),l.setAttribute("mask-type","alpha");var o=W("g");l.appendChild(o),i=mt(),s=Me.createFilter(i);var m=W("feComponentTransfer");m.setAttribute("in","SourceGraphic"),s.appendChild(m);var g=W("feFuncA");g.setAttribute("type","table"),g.setAttribute("tableValues","1.0 0.0"),m.appendChild(g),this.globalData.defs.appendChild(s);var _=W("rect");_.setAttribute("width",this.comp.data.w),_.setAttribute("height",this.comp.data.h),_.setAttribute("x","0"),_.setAttribute("y","0"),_.setAttribute("fill","#ffffff"),_.setAttribute("op
2acity","0"),o.setAttribute("filter","url("+bt()+"#"+i+")"),o.appendChild(_),r=W("use"),r.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),Ue.maskType||(l.setAttribute("mask-type","luminance"),s.appendChild(Me.createAlphaToLuminanceFilter()),a=W("g"),o.appendChild(_),a.appendChild(this.layerElement),o.appendChild(a)),this.globalData.defs.appendChild(l)}this.matteMasks[t]=e}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+bt()+"#"+t+")")}};function It(){}It.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function me(){}(function(){var t={initElement:function(e,i,s){this.initFrame(),this.initBaseData(e,i,s),this.initTransform(e,i,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var e=this.baseElement||this.layerElement;e.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var e=this.baseElement||this.layerElement;e.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(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};Y([Jt,ws(t)],me)})();function ae(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}Y([wt,Lt,Te,It,Pt,me],ae),ae.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=W("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},ae.prototype.sourceRectAtTime=function(){return this.sourceRect};function Ca(t,e){this.elem=t,this.pos=e}function mi(){}mi.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=0,i=this.shapeModifiers.length;e<i;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();e=this.shapeModifiers.length;var i;for(t=e-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(s-=1,i[s].elem===t){i[s].pos=e;return}i.push(new Ca(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var ui={1:"butt",2:"round",3:"square"},gi={1:"miter",2:"round",3:"bevel"};function yi(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}yi.prototype.setAsAnimated=function(){this._isAnimated=!0};function ps(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=W("path"),this.msElem=null}ps.prototype.reset=function(){this.d="",this._mdf=!1};function Fe(t,e,i,s){this.elem=t,this.frameId=-1,this.dataProps=Z(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=at("float32",e.length?e.length-1:0),this.dashoffset=at("float32",1),this.initDynamicPropertyContainer(s);var r,a=e.length||0,n;for(r=0;r<a;r+=1)n=L.getProp(t,e[r].v,0,0,this),this.k=n.k||this.k,this.dataProps[r]={n:e[r].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k}Fe.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&
vendor: 36,819 bytes, line 2
2!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<i;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},Y([ht],Fe);function fs(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=L.getProp(t,e.o,0,.01,this),this.w=L.getProp(t,e.w,0,null,this),this.d=new Fe(t,e.d||{},"svg",this),this.c=L.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}Y([ht],fs);function cs(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=L.getProp(t,e.o,0,.01,this),this.c=L.getProp(t,e.c,1,255,this),this.style=i}Y([ht],cs);function ds(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}Y([ht],ds);function ue(t,e,i){this.data=e,this.c=at("uint8c",e.p*4);var s=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=at("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=L.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ue.prototype.comparePoints=function(t,e){for(var i=0,s=this.o.length/2,r;i<s;){if(r=Math.abs(t[i*4]-t[e*4+i*2]),r>.01)return!1;i+=1}return!0},ue.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},ue.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,i=this.data.p*4,s,r;for(e=0;e<i;e+=1)s=e%4===0?100:255,r=Math.round(this.prop.v[e]*s),this.c[e]!==r&&(this.c[e]=r,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=this.data.p*4;e<i;e+=1)s=e%2===0?100:1,r=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==r&&(this.o[e-this.data.p*4]=r,this._omdf=!t);this._mdf=!t}},Y([ht],ue);function ge(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}ge.prototype.initGradientData=function(t,e,i){this.o=L.getProp(t,e.o,0,.01,this),this.s=L.getProp(t,e.s,1,null,this),this.e=L.getProp(t,e.e,1,null,this),this.h=L.getProp(t,e.h||{k:0},0,.01,this),this.a=L.getProp(t,e.a||{k:0},0,$,this),this.g=new ue(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},ge.prototype.setGradientData=function(t,e){var i=mt(),s=W(e.t===1?"linearGradient":"radialGradient");s.setAttribute("id",i),s.setAttribute("spreadMethod","pad"),s.setAttribute("gradientUnits","userSpaceOnUse");var r=[],a,n,l;for(l=e.g.p*4,n=0;n<l;n+=4)a=W("stop"),s.appendChild(a),r.push(a);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+bt()+"#"+i+")"),this.gf=s,this.cst=r},ge.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,s,r,a=W("mask"),n=W("path");a.appendChild(n);var l=mt(),o=mt();a.setAttribute("id",o);var m=W(t.t===1?"linearGradient":"radialGradient");m.setAttribute("id",l),m.setAttribute("spreadMethod","pad"),m.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var g=this.stops;for(s=t.g.p*4;s<r;s+=2)i=W("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),m.appendChild(i),g.push(i);n.setAttribute(t.ty==="gf"?"fill":"stroke","url("+bt()+"#"+l+")"),t.ty==="gs"&&(n.setAttribute("stroke-linecap",ui[t.lc||2]),n.setAttribute("stroke-linejoin",gi[t.lj||2]),t.lj===1&&n.setAttribute("stroke-miterlimit",t.ml)),this.of=m,this.ms=a,this.ost=g,this.maskId=o,e.msElem=n}},Y([ht],ge);function ms(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=L.getProp(t,e.w,0,null,this),this.d=new Fe(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}Y([ge,ht],ms);function xa(){this.it=[],this.prevViewData=[],this.gr=W("g")}function _a(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var us=function(t,e,i,s){if(e===0)return"";var r=t.o,a=t.i,n=t.v,l,o=" M"+s.applyToPointStringified(n[0][0],n[0][1]);for(l=1;l<e;l+=1)o+=" C"+s.applyToPointStringified(r[l-1][0],r[l-1][1])+" "+s.applyToPointStringified(a[l][0],a[l][1])+" "+s.applyToPointStringified(n[l][0],n[l][1]);return i&&e&&(o+=" C"+s.applyToPointStringified(r[l-1][0],r[l-1][1])+" "+s.applyToPointStringified(a[0][0],a[0][1])+" "+s.applyToPointStringified(n[0][0],n[0][1]),o+="z"),o},ka=function(){var t=new tt,e=new tt,i={createRenderFunction:s};function s(_){switch(_.ty){case"fl":return l;case"gf":return m;case"gs":return o;case"st":return g;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r;case"no":return a;default:return null}}function r(_,f,w){(w||f.transform.op._mdf)&&f.transform.container.setAttribute("opacity",f.transform.op.v),(w||f.transform.mProps._mdf)&&f.transform.container.setAttribute("transform",f.transform.mProps.v.to2dCSS())}function a(){}function n(_,f,w){var k,v,D,y,c,p,d=f.styles.length,x=f.lvl,A,M,T,I;for(p=0;p<d;p+=1){if(y=f.sh._mdf||w,f.styles[p].lvl<x){for(M=e.reset(),T=x-f.styles[p].lvl,I=f.transformers.length-1;!y&&T>0;)y=f.transformers[I].mProps._mdf||y,T-=1,I-=1;if(y)for(T=x-f.styles[p].lvl,I=f.transformers.length-1;T>0;)M.multiply(f.transformers[I].mProps.v),T-=1,I-=1}else M=t;if(A=f.sh.paths,v=A._length,y){for(D="",k=0;k<v;k+=1)c=A.shapes[k],c&&c._length&&(D+=us(c,c._length,c.c,M));f.caches[p]=D}else D=f.caches[p];f.styles[p].d+=_.hd===!0?"":D,f.styles[p]._mdf=y||f.styles[p]._mdf}}function l(_,f,w){var k=f.style;(f.c._mdf||w)&&k.pElem.setAttribute("fill","rgb("+ft(f.c.v[0])+","+ft(f.c.v[1])+","+ft(f.c.v[2])+")"),(f.o._mdf||w)&&k.pElem.setAttribute("fill-opacity",f.o.v)}function o(_,f,w){m(_,f,w),g(_,f,w)}function m(_,f,w){var k=f.gf,v=f.g._hasOpacity,D=f.s.v,y=f.e.v;if(f.o._mdf||w){var c=_.ty==="gf"?"fill-opacity":"stroke-opacity";f.style.pElem.setAttribute(c,f.o.v)}if(f.s._mdf||w){var p=_.t===1?"x1":"cx",d=p==="x1"?"y1":"cy";k.setAttribute(p,D[0]),k.setAttribute(d,D[1]),v&&!f.g._collapsable&&(f.of.setAttribute(p,D[0]),f.of.setAttribute(d,D[1]))}var x,A,M,T;if(f.g._cmdf||w){x=f.cst;var I=f.g.c;for(M=x.length,A=0;A<M;A+=1)T=x[A],T.setAttribute("offset",I[A*4]+"%"),T.setAttribute("stop-color","rgb("+I[A*4+1]+","+I[A*4+2]+","+I[A*4+3]+")")}if(v&&(f.g._omdf||w)){var N=f.g.o;for(f.g._collapsable?x=f.cst:x=f.ost,M=x.length,A=0;A<M;A+=1)T=x[A],f.g._collapsable||T.setAttribute("offset",N[A*2]+"%"),T.setAttribute("stop-opacity",N[A*2+1])}if(_.t===1)(f.e._mdf||w)&&(k.setAttribute("x2",y[0]),k.setAttribute("y2",y[1]),v&&!f.g._collapsable&&(f.of.setAttribute("x2",y[0]),f.of.setAttribute("y2",y[1])));else{var O;if((f.s._mdf||f.e._mdf||w)&&(O=Math.sqrt(Math.pow(D[0]-y[0],2)+Math.pow(D[1]-y[1],2)),k.setAttribute("r",O),v&&!f.g._collapsable&&f.of.setAttribute("r",O)),f.e._mdf||f.h._mdf||f.a._mdf||w){O||(O=Math.sqrt(Math.pow(D[0]-y[0],2)+Math.pow(D[1]-y[1],2)));var V=Math.atan2(y[1]-D[1],y[0]-D[0]),B=f.h.v;B>=1?B=.99:B<=-1&&(B=-.99);var F=O*B,E=Math.cos(V+f.a.v)*F+D[0],u=Math.sin(V+f.a.v)*F+D[1];k.setAttribute("fx",E),k.setAttribute("fy",u),v&&!f.g._collapsable&&(f.of.setAttribute("fx",E),f.of.setAttribute("fy",u))}}}function g(_,f,w){var k=f.style,v=f.d;v&&(v._mdf||w)&&v.dashStr&&(k.pElem.setAttribute("stroke-dasharray",v.dashStr),k.pElem.setAttribute("stroke-dashoffset",v.dashoffset[0])),f.c&&(f.c._mdf||w)&&k.pElem.setAttribute("stroke","rgb("+ft(f.c.v[0])+","+ft(f.c.v[1])+","+ft(f.c.v[2])+")"),(f.o._mdf||w)&&k.pElem.setAttribute("stroke-opacity",f.o.v),(f.w._mdf||w)&&(k.pElem.setAttribute("stroke-width",f.w.v),k.msElem&&k.msElem.setAttribute("stroke-width",f.w.v))}return i}();function Q(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}Y([wt,Lt,Te,mi,It,Pt,me],Q),Q.prototype.initSecondaryElement=function(){},Q.prototype.identityMatrix=new tt,Q.prototype.buildExpressionInterface=function(){},Q.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Q.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,i,s,r=this.stylesList.length,a,n=[],l=!1;for(s=0;s<r;s+=1){for(a=this.stylesList[s],l=!1,n.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(a)!==-1&&(n.push(i),l=i._isAnimated||l);n.length>1&&l&&this.setShapesAsAnimated(n)}},Q.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},Q.prototype.createStyleElement=function(t,e){var i,s=new ps(t,e),r=s.pElem;if(t.ty==="st")i=new fs(this,t,s);else if(t.ty==="fl")i=new cs(this,t,s);else if(t.ty==="gf"||t.ty==="gs"){var a=t.ty==="gf"?ge:ms;i=new a(this,t,s),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),r.setAttribute("mask","url("+bt()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new ds(this,t,s));return(t.ty==="st"||t.ty==="gs")&&(r.setAttribute("stroke-linecap",ui[t.lc||2]),r.setAttribute("stroke-linejoin",gi[t.lj||2]),r.setAttribute("fill-opacity","0"),t.lj===1&&r.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&r.setAttribute("fill-rule","evenodd"),t.ln&&r.setAttribute("id",t.ln),t.cl&&r.setAttribute("class",t.cl),t.bm&&(r.style["mix-blend-mode"]=He(t.bm)),this.stylesList.push(s),this.addToAnimatedContents(t,i),i},Q.prototype.createGroupElement=function(t){var e=new xa;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=He(t.bm)),e},Q.prototype.createTransformElement=function(t,e){var i=Ge.getTransformProperty(this,t,this),s=new _a(i,i.o,e);return this.addToAnimatedContents(t,s),s},Q.prototype.createShapeElement=function(t,e,i){var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7);var r=pe.getShapeProp(this,t,s,this),a=new yi(e,i,r);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},Q.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:ka.createRenderFunction(t),element:e,data:t})},Q.prototype.setElementStyles=function(t){var e=t.styles,i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||e.push(this.stylesList[i])},Q.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},Q.prototype.searchShapes=function(t,e,i,s,r,a,n){var l=[].concat(a),o,m=t.length-1,g,_,f=[],w=[],k,v,D;for(o=m;o>=0;o-=1){if(D=this.searchProcessedElement(t[o]),D?e[o]=i[D-1]:t[o]._render=n,t[o].ty==="fl"||t[o].ty==="st"||t[o].ty==="gf"||t[o].ty==="gs"||t[o].ty==="no")D?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],r),t[o]._render&&e[o].style.pElem.parentNode!==s&&s.appendChild(e[o].style.pElem),f.push(e[o].style);else if(t[o].ty==="gr"){if(!D)e[o]=this.createGroupElement(t[o]);else for(_=e[o].it.length,g=0;g<_;g+=1)e[o].prevViewData[g]=e[o].it[g];this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,r+1,l,n),t[o]._render&&e[o].gr.parentNode!==s&&s.appendChild(e[o].gr)}else t[o].ty==="tr"?(D||(e[o]=this.createTransformElement(t[o],s)),k=e[o].transform,l.push(k)):t[o].ty==="sh"||t[o].ty==="rc"||t[o].ty==="el"||t[o].ty==="sr"?(D||(e[o]=this.createShapeElement(t[o],l,r)),this.setElementStyles(e[o])):t[o].ty==="tm"||t[o].ty==="rd"||t[o].ty==="ms"||t[o].ty==="pb"||t[o].ty==="zz"||t[o].ty==="op"?(D?(v=e[o],v.closed=!1):(v=Ft.getModifier(t[o].ty),v.init(this,t[o]),e[o]=v,this.shapeModifiers.push(v)),w.push(v)):t[o].ty==="rp"&&(D?(v=e[o],v.closed=!0):(v=Ft.getModifier(t[o].ty),e[o]=v,v.init(this,t,o,e),this.shapeModifiers.push(v),n=!1),w.push(v));this.addProcessedElement(t[o],o+1)}for(m=f.length,o=0;o<m;o+=1)f[o].closed=!0;for(m=w.length,o=0;o<m;o+=1)w[o].closed=!0},Q.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},Q.prototype.renderShape=function(){var t,e=this.animatedContents.length,i;for(t=0;t<e;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},Q.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function vi(t,e,i,s,r,a){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,m:!0,p:!0}}vi.prototype.update=function(t,e,i,s,r,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var n=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,n=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,n=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,n=!0),this.fc!==s&&(this.fc=s,this._mdf.fc=!0,n=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,n=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,n=!0),n};function dt(t,e){this._frameId=si,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}dt.prototype.defaultBoxWidth=[0,0],dt.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},dt.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},dt.prototype.searchProperty=function(){return this.searchKeyframes()},dt.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},dt.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},dt.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var s,r=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(s=0;s<r;s+=1)i!==this.keysIndex?a=this.effectsSequence[s](a,a.t):a=this.effectsSequence[s](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},dt.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},dt.prototype.buildFinalText=function(t){for(var e=[],i=0,s=t.length,r,a,n=!1,l=!1,o="";i<s;)n=l,l=!1,r=t.charCodeAt(i),o=t.charAt(i),se.isCombinedCharacter(r)?n=!0:r>=55296&&r<=56319?se.isRegionalFlag(t,i)?o=t.substr(i,14):(a=t.charCodeAt(i+1),a>=56320&&a<=57343&&(se.isModifier(r,a)?(o=t.substr(i,2),n=!0):se.isFlagEmoji(t.substr(i,4))?o=t.substr(i,4):o=t.substr(i,2))):r>56319?(a=t.charCodeAt(i+1),se.isVariationSelector(r)&&(n=!0)):se.isZeroWidthJoiner(r)&&(n=!0,l=!0),n?(e[e.length-1]+=o,n=!1):e.push(o),i+=o.length;return e},dt.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,s=[],r,a,n,l=0,o,m=i.m.g,g=0,_=0,f=0,w=[],k=0,v=0,D,y,c=e.getFontByName(t.f),p,d=0,x=rs(c);t.fWeight=x.weight,t.fStyle=x.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var A=t.tr/1e3*t.finalSize,M;if(t.sz)for(var T=!0,I=t.sz[0],N=t.sz[1],O,V;T;){V=this.buildFinalText(t.t),O=0,k=0,a=V.length,A=t.tr/1e3*t.finalSize;var B=-1;for(r=0;r<a;r+=1)M=V[r].charCodeAt(0),n=!1,V[r]===" "?B=r:(M===13||M===3)&&(k=0,n=!0,O+=t.finalLineHeight||t.finalSize*1.2),e.chars?(p=e.getCharData(V[r],c.fStyle,c.fFamily),d=n?0:p.w*t.finalSize/100):d=e.measureText(V[r],t.f,t.finalSize),k+d>I&&V[r]!==" "?(B===-1?a+=1:r=B,O+=t.finalLineHeight||t.finalSize*1.2,V.splice(r,B===r?1:0,"\r"),B=-1,k=0):(k+=d,k+=A);O+=c.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&N<O?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=V,a=t.finalText.length,T=!1)}k=-A,d=0;var F=0,E;for(r=0;r<a;r+=1)if(n=!1,E=t.finalText[r],M=E.charCodeAt(0),M===13||M===3?(F=0,w.push(k),v=k>v?k:v,k=-2*A,o="",n=!0,f+=1):o=E,e.chars?(p=e.getCharData(E,c.fStyle,e.getFontByName(t.f).fFamily),d=n?0:p.w*t.finalSize/100):d=e.measureText(o,t.f,t.finalSize),E===" "?F+=d+A:(k+=d+A+F,F=0),s.push({l:d,an:d,add:g,n,anIndexes:[],val:o,line:f,animatorJustifyOffset:0}),m==2){if(g+=d,o===""||o===" "||r===a-1){for((o===""||o===" ")&&(g-=d);_<=r;)s[_].an=g,s[_].ind=l,s[_].extra=d,_+=1;l+=1,g=0}}else if(m==3){if(g+=d,o===""||r===a-1){for(o===""&&(g-=d);_<=r;)s[_].an=g,s[_].ind=l,s[_].extra=d,_+=1;g=0,l+=1}}else s[l].ind=l,s[l].extra=0,l+=1;if(t.l=s,v=k>v?k:v,w.push(k),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=w;var u=i.a,C,h;y=u.length;var b,S,P=[];for(D=0;D<y;D+=1){for(C=u[D],C.a.sc&&(t.strokeColorAnim=!0),C.a.sw&&(t.strokeWidthAnim=!0),(C.a.fc||C.a.fh||C.a.fs||C.a.fb)&&(t.fillColorAnim=!0),S=0,b=C.s.b,r=0;r<a;r+=1)h=s[r],h.anIndexes[D]=S,(b==1&&h.val!==""||b==2&&h.val!==""&&h.val!==" "||b==3&&(h.n||h.val==" "||r==a-1)||b==4&&(h.n||r==a-1))&&(C.s.rn===1&&P.push(S),S+=1);i.a[D].s.totalChars=S;var j=-1,R;if(C.s.rn===1)for(r=0;r<a;r+=1)h=s[r],j!=h.anIndexes[D]&&(j=h.anIndexes[D],R=P.splice(Math.floor(Math.random()*P.length),1)[0]),h.anIndexes[D]=R}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=c.ascent*t.finalSize/100},dt.prototype.updateDocumentData=function(t,e){e=e===void 0?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},dt.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},dt.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},dt.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var wa=function(){var t=Math.max,e=Math.min,i=Math.floor;function s(a,n){this._currentTextLength=-1,this.k=!1,this.data=n,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=L.getProp(a,n.s||{k:0},0,0,this),"e"in n?this.e=L.getProp(a,n.e,0,0,this):this.e={v:100},this.o=L.getProp(a,n.o||{k:0},0,0,this),this.xe=L.getProp(a,n.xe||{k:0},0,0,this),this.ne=L.getProp(a,n.ne||{k:0},0,0,this),this.sm=L.getProp(a,n.sm||{k:100},0,0,this),this.a=L.getProp(a,n.a,0,.01,this),this.dynamicProperties.length||this.getValue()}s.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var n=0,l=0,o=1,m=1;this.ne.v>0?n=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?o=1-this.xe.v/100:m=1+this.xe.v/100;var g=_e.getBezierEasing(n,l,o,m).get,_=0,f=this.finalS,w=this.finalE,k=this.data.sh;if(k===2)w===f?_=a>=w?1:0:_=t(0,e(.5/(w-f)+(a-f)/(w-f),1)),_=g(_);else if(k===3)w===f?_=a>=w?0:1:_=1-t(0,e(.5/(w-f)+(a-f)/(w-f),1)),_=g(_);else if(k===4)w===f?_=0:(_=t(0,e(.5/(w-f)+(a-f)/(w-f),1)),_<.5?_*=2:_=1-2*(_-.5)),_=g(_);else if(k===5){if(w===f)_=0;else{var v=w-f;a=e(t(0,a+.5-f),w-f);var D=-v/2+a,y=v/2;_=Math.sqrt(1-D*D/(y*y))}_=g(_)}else k===6?(w===f?_=0:(a=e(t(0,a+.5-f),w-f),_=(1+Math.cos(Math.PI+Math.PI*2*a/(w-f)))/2),_=g(_)):(a>=i(f)&&(a-f<0?_=t(0,e(e(w,1)-(f-a),1)):_=t(0,e(w-a,1))),_=g(_));if(this.sm.v!==100){var c=this.sm.v*.01;c===0&&(c=1e-8);var p=.5-c*.5;_<p?_=0:(_=(_-p)/c,_>1&&(_=1))}return _*this.a.v},getValue:function(a){this.iterateDynamicProperties(),this._mdf=a||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,a&&this.data.r===2&&(this.e.v=this._currentTextLength);var n=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/n,o=this.s.v/n+l,m=this.e.v/n+l;if(o>m){var g=o;o=m,m=g}this.finalS=o,this.finalE=m}},Y([ht],s);function r(a,n,l){return new s(a,n)}return{getTextSelectorProp:r}}();function Pa(t,e,i){var s={propType:!1},r=L.getProp,a=e.a;this.a={r:a.r?r(t,a.r,0,$,i):s,rx:a.rx?r(t,a.rx,0,$,i):s,ry:a.ry?r(t,a.ry,0,$,i):s,sk:a.sk?r(t,a.sk,0,$,i):s,sa:a.sa?r(t,a.sa,0,$,i):s,s:a.s?r(t,a.s,1,.01,i):s,a:a.a?r(t,a.a,1,0,i):s,o:a.o?r(t,a.o,0,.01,i):s,p:a.p?r(t,a.p,1,0,i):s,sw:a.sw?r(t,a.sw,0,0,i):s,sc:a.sc?r(t,a.sc,1,0,i):s,fc:a.fc?r(t,a.fc,1,0,i):s,fh:a.fh?r(t,a.fh,0,0,i):s,fs:a.fs?r(t,a.fs,0,.01,i):s,fb:a.fb?r(t,a.fb,0,.01,i):s,t:a.t?r(t,a.t,0,0,i):s},this.s=wa.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function re(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=Z(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}re.prototype.searchProperties=function(){var t,e=this._textData.a.length,i,s=L.getProp;for(t=0;t<e;t+=1)i=this._textData.a[t],this._animatorsData[t]=new Pa(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:s(this._elem,this._textData.p.a,0,0,this),f:s(this._elem,this._textData.p.f,0,0,this),l:s(this._elem,this._textData.p.l,0,0,this),r:s(this._elem,this._textData.p.r,0,0,this),p:s(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=s(this._elem,this._textData.m.a,1,0,this)},re.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,s=this._animatorsData,r=this._textData,a=this.mHelper,n=this._renderType,l=this.renderedLetters.length,o,m,g,_,f=t.l,w,k,v,D,y,c,p,d,x,A,M,T,I,N,O;if(this._hasMaskedPath){if(O=this._pathData.m,!this._pathData.n||this._pathData._mdf){var V=O.v;this._pathData.r.v&&(V=V.reverse()),w={tLength:0,segments:[]},_=V._length-1;var B;for(T=0,g=0;g<_;g+=1)B=Tt.buildBezierData(V.v[g],V.v[g+1],[V.o[g][0]-V.v[g][0],V.o[g][1]-V.v[g][1]],[V.i[g+1][0]-V.v[g+1][0],V.i[g+1][1]-V.v[g+1][1]]),w.tLength+=B.segmentLength,w.segments.push(B),T+=B.segmentLength;g=_,O.v.c&&(B=Tt.buildBezierData(V.v[g],V.v[0],[V.o[g][0]-V.v[g][0],V.o[g][1]-V.v[g][1]],[V.i[0][0]-V.v[0][0],V.i[0][1]-V.v[0][1]]),w.tLength+=B.segmentLength,w.segments.push(B),T+=B.segmentLength),this._pathData.pi=w}if(w=this._pathData.pi,k=this._pathData.f.v,p=0,c=1,D=0,y=!0,A=w.segments,k<0&&O.v.c)for(w.tLength<Math.abs(k)&&(k=-Math.abs(k)%w.tLength),p=A.length-1,x=A[p].points,c=x.length-1;k<0;)k+=x[c].partialLength,c-=1,c<0&&(p-=1,x=A[p].points,c=x.length-1);x=A[p].points,d=x[c-1],v=x[c],M=v.partialLength}_=f.length,o=0,m=0;var F=t.finalSize*1.2*.714,E=!0,u,C,h,b,S;b=s.length;var P,j=-1,R,X,G,it=k,st=p,gt=c,zt=-1,yt,pt,_t,H,z,qt,Zt,Wt,Ot="",jt=this.defaultPropsArray,Yt;if(t.j===2||t.j===1){var vt=0,Qt=0,$t=t.j===2?-.5:-1,At=0,te=!0;for(g=0;g<_;g+=1)if(f[g].n){for(vt&&(vt+=Qt);At<g;)f[At].animatorJustifyOffset=vt,At+=1;vt=0,te=!0}else{for(h=0;h<b;h+=1)u=s[h].a,u.t.propType&&(te&&t.j===2&&(Qt+=u.t.v*$t),C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),P.length?vt+=u.t.v*P[0]*$t:vt+=u.t.v*P*$t);te=!1}for(vt&&(vt+=Qt);At<g;)f[At].animatorJustifyOffset=vt,At+=1}for(g=0;g<_;g+=1){if(a.reset(),yt=1,f[g].n)o=0,m+=t.yOffset,m+=E?1:0,k=it,E=!1,this._hasMaskedPath&&(p=st,c=gt,x=A[p].points,d=x[c-1],v=x[c],M=v.partialLength,D=0),Ot="",Wt="",qt="",Yt="",jt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(zt!==f[g].line){switch(t.j){case 1:k+=T-t.lineWidths[f[g].line];break;case 2:k+=(T-t.lineWidths[f[g].line])/2;break}zt=f[g].line}j!==f[g].ind&&(f[j]&&(k+=f[j].extra),k+=f[g].an/2,j=f[g].ind),k+=i[0]*f[g].an*.005;var St=0;for(h=0;h<b;h+=1)u=s[h].a,u.p.propType&&(C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),P.length?St+=u.p.v[0]*P[0]:St+=u.p.v[0]*P),u.a.propType&&(C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),P.length?St+=u.a.v[0]*P[0]:St+=u.a.v[0]*P);for(y=!0,this._pathData.a.v&&(k=f[0].an*.5+(T-this._pathData.f.v-f[0].an*.5-f[f.length-1].an*.5)*j/(_-1),k+=this._pathData.f.v);y;)D+M>=k+St||!x?(I=(k+St-D)/v.partialLength,X=d.point[0]+(v.point[0]-d.point[0])*I,G=d.point[1]+(v.point[1]-d.point[1])*I,a.translate(-i[0]*f[g].an*.005,-(i[1]*F)*.01),y=!1):x&&(D+=v.partialLength,c+=1,c>=x.length&&(c=0,p+=1,A[p]?x=A[p].points:O.v.c?(c=0,p=0,x=A[p].points):(D-=v.partialLength,x=null)),x&&(d=v,v=x[c],M=v.partialLength));R=f[g].an/2-f[g].add,a.translate(-R,0,0)}else R=f[g].an/2-f[g].add,a.translate(-R,0,0),a.translate(-i[0]*f[g].an*.005,-i[1]*F*.01,0);for(h=0;h<b;h+=1)u=s[h].a,u.t.propType&&(C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),(o!==0||t.j!==0)&&(this._hasMaskedPath?P.length?k+=u.t.v*P[0]:k+=u.t.v*P:P.length?o+=u.t.v*P[0]:o+=u.t.v*P));for(t.strokeWidthAnim&&(_t=t.sw||0),t.strokeColorAnim&&(t.sc?pt=[t.sc[0],t.sc[1],t.sc[2]]:pt=[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),h=0;h<b;h+=1)u=s[h].a,u.a.propType&&(C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),P.length?a.translate(-u.a.v[0]*P[0],-u.a.v[1]*P[1],u.a.v[2]*P[2]):a.translate(-u.a.v[0]*P,-u.a.v[1]*P,u.a.v[2]*P));for(h=0;h<b;h+=1)u=s[h].a,u.s.propType&&(C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),P.length?a.scale(1+(u.s.v[0]-1)*P[0],1+(u.s.v[1]-1)*P[1],1):a.scale(1+(u.s.v[0]-1)*P,1+(u.s.v[1]-1)*P,1));for(h=0;h<b;h+=1){if(u=s[h].a,C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),u.sk.propType&&(P.length?a.skewFromAxis(-u.sk.v*P[0],u.sa.v*P[1]):a.skewFromAxis(-u.sk.v*P,u.sa.v*P)),u.r.propType&&(P.length?a.rotateZ(-u.r.v*P[2]):a.rotateZ(-u.r.v*P)),u.ry.propType&&(P.length?a.rotateY(u.ry.v*P[1]):a.rotateY(u.ry.v*P)),u.rx.propType&&(P.length?a.rotateX(u.rx.v*P[0]):a.rotateX(u.rx.v*P)),u.o.propType&&(P.length?yt+=(u.o.v*P[0]-yt)*P[0]:yt+=(u.o.v*P-yt)*P),t.strokeWidthAnim&&u.sw.propType&&(P.length?_t+=u.sw.v*P[0]:_t+=u.sw.v*P),t.strokeColorAnim&&u.sc.propType)for(z=0;z<3;z+=1)P.length?pt[z]+=(u.sc.v[z]-pt[z])*P[0]:pt[z]+=(u.sc.v[z]-pt[z])*P;if(t.fillColorAnim&&t.fc){if(u.fc.propType)for(z=0;z<3;z+=1)P.length?H[z]+=(u.fc.v[z]-H[z])*P[0]:H[z]+=(u.fc.v[z]-H[z])*P;u.fh.propType&&(P.length?H=Vi(H,u.fh.v*P[0]):H=Vi(H,u.fh.v*P)),u.fs.propType&&(P.length?H=Li(H,u.fs.v*P[0]):H=Li(H,u.fs.v*P)),u.fb.propType&&(P.length?H=Ii(H,u.fb.v*P[0]):H=Ii(H,u.fb.v*P))}}for(h=0;h<b;h+=1)u=s[h].a,u.p.propType&&(C=s[h].s,P=C.getMult(f[g].anIndexes[h],r.a[h].s.totalChars),this._hasMaskedPath?P.length?a.translate(0,u.p.v[1]*P[0],-u.p.v[2]*P[1]):a.translate(0,u.p.v[1]*P,-u.p.v[2]*P):P.length?a.translate(u.p.v[0]*P[0],u.p.v[1]*P[1],-u.p.v[2]*P[2]):a.translate(u.p.v[0]*P,u.p.v[1]*P,-u.p.v[2]*P));if(t.strokeWidthAnim&&(qt=_t<0?0:_t),t.strokeColorAnim&&(Zt="rgb("+Math.round(pt[0]*255)+","+Math.round(pt[1]*255)+","+Math.round(pt[2]*255)+")"),t.fillColorAnim&&t.fc&&(Wt="rgb("+Math.round(H[0]*255)+","+Math.round(H[1]*255)+","+Math.round(H[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-t.ls),a.translate(0,i[1]*F*.01+m,0),this._pathData.p.v){N=(v.point[1]-d.point[1])/(v.point[0]-d.point[0]);var oe=Math.atan(N)*180/Math.PI;v.point[0]<d.point[0]&&(oe+=180),a.rotate(-oe*Math.PI/180)}a.translate(X,G,0),k-=i[0]*f[g].an*.005,f[g+1]&&j!==f[g+1].ind&&(k+=f[g].an/2,k+=t.tr*.001*t.finalSize)}else{switch(a.translate(o,m,0),t.ps&&a.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:a.translate(f[g].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[g].line]),0,0);break;case 2:a.translate(f[g].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[g].line])/2,0,0);break}a.translate(0,-t.ls),a.translate(R,0,0),a.translate(i[0]*f[g].an*.005,i[1]*F*.01,0),o+=f[g].l+t.tr*.001*t.finalSize}n==="html"?Ot=a.toCSS():n==="svg"?Ot=a.to2dCSS():jt=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Yt=yt}l<=g?(S=new vi(Yt,qt,Zt,Wt,Ot,jt),this.renderedLetters.push(S),l+=1,this.lettersChangedFlag=!0):(S=this.renderedLetters[g],this.lettersChangedFlag=S.update(Yt,qt,Zt,Wt,Ot,jt)||this.lettersChangedFlag)}}},re.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},re.prototype.mHelper=new tt,re.prototype.defaultPropsArray=[],Y([ht],re);function xt(){}xt.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new dt(this,t.t,this.dynamicProperties),this.textAnimator=new re(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},xt.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},xt.prototype.createPathShape=function(t,e){var i,s=e.length,r,a="";for(i=0;i<s;i+=1)e[i].ty==="sh"&&(r=e[i].ks.k,a+=us(r,r.i.length,!0,t));return a},xt.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},xt.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},xt.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},xt.prototype.applyTextPropertiesToMatrix=function(t,e,i,s,r){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break}e.translate(s,r,0)},xt.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},xt.prototype.emptyProp=new vi,xt.prototype.destroy=function(){},xt.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Da={shapes:[]};function Bt(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}Y([wt,Lt,Te,It,Pt,me,xt],Bt),Bt.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=W("text"))},Bt.prototype.buildTextContents=function(t){for(var e=0,i=t.length,s=[],r="";e<i;)t[e]==="\r"||t[e]==="�"?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},Bt.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var s=i.it[i.it.length-1];s.s&&(s.s.k[0]=e,s.s.k[1]=e)}}return t},Bt.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData;this.renderedLetters=Z(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var s=this.globalData.fontManager.getFontByName(i.f);if(s.fClass)this.layerElement.setAttribute("class",s.fClass);else{this.layerElement.setAttribute("font-family",s.fFamily);var r=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",i.t);var n=i.l||[],l=!!this.globalData.fontManager.chars;e=n.length;var o,m=this.mHelper,g="",_=this.data.singleShape,f=0,w=0,k=!0,v=i.tr*.001*i.finalSize;if(_&&!l&&!i.sz){var D=this.textContainer,y="start";switch(i.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}D.setAttribute("text-anchor",y),D.setAttribute("letter-spacing",v);var c=this.buildTextContents(i.finalText);for(e=c.length,w=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)o=this.textSpans[t].span||W("tspan"),o.textContent=c[t],o.setAttribute("x",0),o.setAttribute("y",w),o.style.display="inherit",D.appendChild(o),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=o,w+=i.finalLineHeight;this.layerElement.appendChild(D)}else{var p=this.textSpans.length,d;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!_||t===0){if(o=p>t?this.textSpans[t].span:W(l?"g":"text"),p<=t){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=o,l){var x=W("g");o.appendChild(x),this.textSpans[t].childSpan=x}this.textSpans[t].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(m.reset(),_&&(n[t].n&&(f=-v,w+=i.yOffset,w+=k?1:0,k=!1),this.applyTextPropertiesToMatrix(i,m,n[t].line,f,w),f+=n[t].l||0,f+=v),l){d=this.globalData.fontManager.getCharData(i.finalText[t],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var A;if(d.t===1)A=new Ee(d.data,this.globalData,this);else{var M=Da;d.data&&d.data.shapes&&(M=this.buildShapeData(d.data,i.finalSize)),A=new Q(M,this.globalData,this)}if(this.textSpans[t].glyph){var T=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(T.layerElement),T.destroy()}this.textSpans[t].glyph=A,A._debug=!0,A.prepareFrame(0),A.renderFrame(),this.textSpans[t].childSpan.appendChild(A.layerElement),d.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else _&&o.setAttribute("transform","translate("+m.props[12]+","+m.props[13]+")"),o.textContent=n[t].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}_&&o&&o.setAttribute("d",g)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},Bt.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},Bt.prototype.getValue=function(){var t,e=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},Bt.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 t,e,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;e=s.length;var r,a,n;for(t=0;t<e;t+=1)s[t].n||(r=i[t],a=this.textSpans[t].span,n=this.textSpans[t].glyph,n&&n.renderFrame(),r._mdf.m&&a.setAttribute("transform",r.m),r._mdf.o&&a.setAttribute("op
2acity",r.o),r._mdf.sw&&a.setAttribute("stroke-width",r.sw),r._mdf.sc&&a.setAttribute("stroke",r.sc),r._mdf.fc&&a.setAttribute("fill",r.fc))}};function bi(t,e,i){this.initElement(t,e,i)}Y([ae],bi),bi.prototype.createContent=function(){var t=W("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function Ut(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}Ut.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Ut.prototype.renderFrame=function(){},Ut.prototype.getBaseElement=function(){return null},Ut.prototype.destroy=function(){},Ut.prototype.sourceRectAtTime=function(){},Ut.prototype.hide=function(){},Y([wt,Lt,It,Pt],Ut);function nt(){}Y([lt],nt),nt.prototype.createNull=function(t){return new Ut(t,this.globalData,this)},nt.prototype.createShape=function(t){return new Q(t,this.globalData,this)},nt.prototype.createText=function(t){return new Bt(t,this.globalData,this)},nt.prototype.createImage=function(t){return new ae(t,this.globalData,this)},nt.prototype.createSolid=function(t){return new bi(t,this.globalData,this)},nt.prototype.configAnimation=function(t){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 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=W("clipPath"),s=W("rect");s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0);var r=mt();i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+bt()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=Z(t.layers.length)},nt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},nt.prototype.updateContainerSize=function(){},nt.prototype.findIndexByInd=function(t){var e=0,i=this.layers.length;for(e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},nt.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){e[t]=!0;var i=this.createItem(this.layers[t]);if(e[t]=i,Re()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var s="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(s===-1)return;if(!this.elements[s]||this.elements[s]===!0)this.buildItem(s),this.addPendingElement(i);else{var r=e[s],a=r.getMatte(this.layers[t].tt);i.setMatte(a)}}}},nt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,r=this.elements[s],a=r.getMatte(this.layers[e].tt);t.setMatte(a);break}e+=1}}},nt.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},nt.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var s=0,r;s<e;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement()&&
vendor: 37,361 bytes, line 2
2(r=this.elements[s].getBaseElement()),s+=1;r?this.layerElement.insertBefore(i,r):this.layerElement.appendChild(i)}},nt.prototype.hide=function(){this.layerElement.style.display="none"},nt.prototype.show=function(){this.layerElement.style.display="block"};function Vt(){}Y([wt,Lt,It,Pt,me],Vt),Vt.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},Vt.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var i,s=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},Vt.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},Vt.prototype.setElements=function(t){this.elements=t},Vt.prototype.getElements=function(){return this.elements},Vt.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},Vt.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Ee(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?Z(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?L.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}Y([nt,Vt,Te],Ee),Ee.prototype.createComp=function(t){return new Ee(t,this.globalData,this)};function Ci(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=W("svg");var i="";if(e&&e.title){var s=W("title"),r=mt();s.setAttribute("id",r),s.textContent=e.title,this.svgElement.appendChild(s),i+=r}if(e&&e.description){var a=W("desc"),n=mt();a.setAttribute("id",n),a.textContent=e.description,this.svgElement.appendChild(a),i+=" "+n}i&&this.svgElement.setAttribute("aria-labelledby",i);var l=W("defs");this.svgElement.appendChild(l);var o=W("g");this.svgElement.appendChild(o),this.layerElement=o,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:l,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}Y([nt],Ci),Ci.prototype.createComp=function(t){return new Ee(t,this.globalData,this)};function gs(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}gs.prototype={addTransformSequence:function(t){var e,i=t.length,s="_";for(e=0;e<i;e+=1)s+=t[e].transform.key+"_";var r=this.sequences[s];return r||(r={transforms:[].concat(t),finalTransform:new tt,_mdf:!1},this.sequences[s]=r,this.sequenceList.push(r)),r},processSequence:function(t,e){for(var i=0,s=t.transforms.length,r=e;i<s&&!e;){if(t.transforms[i].transform.mProps._mdf){r=!0;break}i+=1}if(r)for(t.finalTransform.reset(),i=s-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=r},processSequences:function(t){var e,i=this.sequenceList.length;for(e=0;e<i;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var ys=function(){var t="__lottie_element_luma_buffer",e=null,i=null,s=null;function r(){var l=W("svg"),o=W("filter"),m=W("feColorMatrix");return o.setAttribute("id",t),m.setAttribute("type","matrix"),m.setAttribute("color-interpolation-filters","sRGB"),m.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"),o.appendChild(m),l.appendChild(o),l.setAttribute("id",t+"_svg"),Ue.svgLumaHidden&&(l.style.display="none"),l}function a(){e||(s=r(),document.body.appendChild(s),e=Ct("canvas"),i=e.getContext("2d"),i.filter="url(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function n(l){return e||a(),e.width=l.width,e.height=l.height,i.filter="url(#"+t+")",e}return{load:a,get:n}};function Aa(t,e){if(Ue.offscreenCanvas)return new OffscreenCanvas(t,e);var i=Ct("canvas");return i.width=t,i.height=e,i}var Ze=function(){return{loadLumaCanvas:ys.load,getLumaCanvas:ys.get,createCanvas:Aa}}(),vs={};function xi(t){var e,i=t.data.ef?t.data.ef.length:0;this.filters=[];var s;for(e=0;e<i;e+=1){s=null;var r=t.data.ef[e].ty;if(vs[r]){var a=vs[r].effect;s=new a(t.effectsManager.effectElements[e],t)}s&&this.filters.push(s)}this.filters.length&&t.addRenderableComponent(this)}xi.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},xi.prototype.getEffects=function(t){var e,i=this.filters.length,s=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&s.push(this.filters[e]);return s};function Qe(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=Z(this.masksProperties.length);var i,s=this.masksProperties.length,r=!1;for(i=0;i<s;i+=1)this.masksProperties[i].mode!=="n"&&(r=!0),this.viewData[i]=pe.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=r,r&&this.element.addRenderableComponent(this)}Qe.prototype.renderFrame=function(){if(this.hasMasks){var t=this.element.finalTransform.mat,e=this.element.canvasContext,i,s=this.masksProperties.length,r,a,n;for(e.beginPath(),i=0;i<s;i+=1)if(this.masksProperties[i].mode!=="n"){this.masksProperties[i].inv&&(e.moveTo(0,0),e.lineTo(this.element.globalData.compSize.w,0),e.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),e.lineTo(0,this.element.globalData.compSize.h),e.lineTo(0,0)),n=this.viewData[i].v,r=t.applyToPointArray(n.v[0][0],n.v[0][1],0),e.moveTo(r[0],r[1]);var l,o=n._length;for(l=1;l<o;l+=1)a=t.applyToTriplePoints(n.o[l-1],n.i[l],n.v[l]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=t.applyToTriplePoints(n.o[l-1],n.i[0],n.v[0]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),e.clip()}},Qe.prototype.getMaskProperty=Ht.prototype.getMaskProperty,Qe.prototype.destroy=function(){this.element=null};function Rt(){}var Sa={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};Rt.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=Ze.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var i=Ze.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&Ze.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new xi(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=He(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new Qe(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(hs.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=Ze.getLumaCanvas(this.canvasContext.canvas),r=s.getContext("2d");r.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,0,0)}this.canvasContext.globalCompositeOperation=Sa[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new tt},Rt.prototype.hide=Rt.prototype.hideElement,Rt.prototype.show=Rt.prototype.showElement;function bs(t,e,i,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r=4;e.ty==="rc"?r=5:e.ty==="el"?r=6:e.ty==="sr"&&(r=7),this.sh=pe.getShapeProp(t,e,r,t);var a,n=i.length,l;for(a=0;a<n;a+=1)i[a].closed||(l={transforms:s.addTransformSequence(i[a].transforms),trNodes:[]},this.styledShapes.push(l),i[a].elements.push(l))}bs.prototype.setAsAnimated=yi.prototype.setAsAnimated;function U(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new gs,this.initElement(t,e,i)}Y([wt,Lt,Rt,mi,It,Pt,Jt],U),U.prototype.initElement=me.prototype.initElement,U.prototype.transformHelper={opacity:1,_opMdf:!1},U.prototype.dashResetter=[],U.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},U.prototype.createStyleElement=function(t,e){var i={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:t.hd===!0},s={};if(t.ty==="fl"||t.ty==="st"?(s.c=L.getProp(this,t.c,1,255,this),s.c.k||(i.co="rgb("+ft(s.c.v[0])+","+ft(s.c.v[1])+","+ft(s.c.v[2])+")")):(t.ty==="gf"||t.ty==="gs")&&(s.s=L.getProp(this,t.s,1,null,this),s.e=L.getProp(this,t.e,1,null,this),s.h=L.getProp(this,t.h||{k:0},0,.01,this),s.a=L.getProp(this,t.a||{k:0},0,$,this),s.g=new ue(this,t.g,this)),s.o=L.getProp(this,t.o,0,.01,this),t.ty==="st"||t.ty==="gs"){if(i.lc=ui[t.lc||2],i.lj=gi[t.lj||2],t.lj==1&&(i.ml=t.ml),s.w=L.getProp(this,t.w,0,null,this),s.w.k||(i.wi=s.w.v),t.d){var r=new Fe(this,t.d,"canvas",this);s.d=r,s.d.k||(i.da=s.d.dashArray,i.do=s.d.dashoffset[0])}}else i.r=t.r===2?"evenodd":"nonzero";return this.stylesList.push(i),s.style=i,s},U.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},U.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:L.getProp(this,t.o,0,.01,this),mProps:Ge.getTransformProperty(this,t,this)}};return e},U.prototype.createShapeElement=function(t){var e=new bs(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},U.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},U.prototype.addTransformToStyleList=function(t){var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},U.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},U.prototype.closeStyles=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].closed=!0},U.prototype.searchShapes=function(t,e,i,s,r){var a,n=t.length-1,l,o,m=[],g=[],_,f,w,k=[].concat(r);for(a=n;a>=0;a-=1){if(_=this.searchProcessedElement(t[a]),_?e[a]=i[_-1]:t[a]._shouldRender=s,t[a].ty==="fl"||t[a].ty==="st"||t[a].ty==="gf"||t[a].ty==="gs")_?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],k),m.push(e[a].style);else if(t[a].ty==="gr"){if(!_)e[a]=this.createGroupElement(t[a]);else for(o=e[a].it.length,l=0;l<o;l+=1)e[a].prevViewData[l]=e[a].it[l];this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,s,k)}else t[a].ty==="tr"?(_||(w=this.createTransformElement(t[a]),e[a]=w),k.push(e[a]),this.addTransformToStyleList(e[a])):t[a].ty==="sh"||t[a].ty==="rc"||t[a].ty==="el"||t[a].ty==="sr"?_||(e[a]=this.createShapeElement(t[a])):t[a].ty==="tm"||t[a].ty==="rd"||t[a].ty==="pb"||t[a].ty==="zz"||t[a].ty==="op"?(_?(f=e[a],f.closed=!1):(f=Ft.getModifier(t[a].ty),f.init(this,t[a]),e[a]=f,this.shapeModifiers.push(f)),g.push(f)):t[a].ty==="rp"&&(_?(f=e[a],f.closed=!0):(f=Ft.getModifier(t[a].ty),e[a]=f,f.init(this,t,a,e),this.shapeModifiers.push(f),s=!1),g.push(f));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(m),n=g.length,a=0;a<n;a+=1)g[a].closed=!0},U.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)},U.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},U.prototype.drawLayer=function(){var t,e=this.stylesList.length,i,s,r,a,n,l,o=this.globalData.renderer,m=this.globalData.canvasContext,g,_;for(t=0;t<e;t+=1)if(_=this.stylesList[t],g=_.type,!((g==="st"||g==="gs")&&_.wi===0||!_.data._shouldRender||_.coOp===0||this.globalData.currentGlobalAlpha===0)){for(o.save(),n=_.elements,g==="st"||g==="gs"?(o.ctxStrokeStyle(g==="st"?_.co:_.grd),o.ctxLineWidth(_.wi),o.ctxLineCap(_.lc),o.ctxLineJoin(_.lj),o.ctxMiterLimit(_.ml||0)):o.ctxFillStyle(g==="fl"?_.co:_.grd),o.ctxOpacity(_.coOp),g!=="st"&&g!=="gs"&&m.beginPath(),o.ctxTransform(_.preTransforms.finalTransform.props),s=n.length,i=0;i<s;i+=1){for((g==="st"||g==="gs")&&(m.beginPath(),_.da&&(m.setLineDash(_.da),m.lineDashOffset=_.do)),l=n[i].trNodes,a=l.length,r=0;r<a;r+=1)l[r].t==="m"?m.moveTo(l[r].p[0],l[r].p[1]):l[r].t==="c"?m.bezierCurveTo(l[r].pts[0],l[r].pts[1],l[r].pts[2],l[r].pts[3],l[r].pts[4],l[r].pts[5]):m.closePath();(g==="st"||g==="gs")&&(o.ctxStroke(),_.da&&m.setLineDash(this.dashResetter))}g!=="st"&&g!=="gs"&&this.globalData.renderer.ctxFill(_.r),o.restore()}},U.prototype.renderShape=function(t,e,i,s){var r,a=e.length-1,n;for(n=t,r=a;r>=0;r-=1)e[r].ty==="tr"?(n=i[r].transform,this.renderShapeTransform(t,n)):e[r].ty==="sh"||e[r].ty==="el"||e[r].ty==="rc"||e[r].ty==="sr"?this.renderPath(e[r],i[r]):e[r].ty==="fl"?this.renderFill(e[r],i[r],n):e[r].ty==="st"?this.renderStroke(e[r],i[r],n):e[r].ty==="gf"||e[r].ty==="gs"?this.renderGradientFill(e[r],i[r],n):e[r].ty==="gr"?this.renderShape(n,e[r].it,i[r].it):e[r].ty;s&&this.drawLayer()},U.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i=t.trNodes,s=e.paths,r,a,n,l=s._length;i.length=0;var o=t.transforms.finalTransform;for(n=0;n<l;n+=1){var m=s.shapes[n];if(m&&m.v){for(a=m._length,r=1;r<a;r+=1)r===1&&i.push({t:"m",p:o.applyToPointArray(m.v[0][0],m.v[0][1],0)}),i.push({t:"c",pts:o.applyToTriplePoints(m.o[r-1],m.i[r],m.v[r])});a===1&&i.push({t:"m",p:o.applyToPointArray(m.v[0][0],m.v[0][1],0)}),m.c&&a&&(i.push({t:"c",pts:o.applyToTriplePoints(m.o[r-1],m.i[0],m.v[0])}),i.push({t:"z"}))}}t.trNodes=i}},U.prototype.renderPath=function(t,e){if(t.hd!==!0&&t._shouldRender){var i,s=e.styledShapes.length;for(i=0;i<s;i+=1)this.renderStyledShape(e.styledShapes[i],e.sh)}},U.prototype.renderFill=function(t,e,i){var s=e.style;(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+ft(e.c.v[0])+","+ft(e.c.v[1])+","+ft(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity)},U.prototype.renderGradientFill=function(t,e,i){var s=e.style,r;if(!s.grd||e.g._mdf||e.s._mdf||e.e._mdf||t.t!==1&&(e.h._mdf||e.a._mdf)){var a=this.globalData.canvasContext,n=e.s.v,l=e.e.v;if(t.t===1)r=a.createLinearGradient(n[0],n[1],l[0],l[1]);else{var o=Math.sqrt(Math.pow(n[0]-l[0],2)+Math.pow(n[1]-l[1],2)),m=Math.atan2(l[1]-n[1],l[0]-n[0]),g=e.h.v;g>=1?g=.99:g<=-1&&(g=-.99);var _=o*g,f=Math.cos(m+e.a.v)*_+n[0],w=Math.sin(m+e.a.v)*_+n[1];r=a.createRadialGradient(f,w,0,n[0],n[1],o)}var k,v=t.g.p,D=e.g.c,y=1;for(k=0;k<v;k+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[k*2+1]),r.addColorStop(D[k*4]/100,"rgba("+D[k*4+1]+","+D[k*4+2]+","+D[k*4+3]+","+y+")");s.grd=r}s.coOp=e.o.v*i.opacity},U.prototype.renderStroke=function(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||this._isFirstFrame)&&(s.da=r.dashArray,s.do=r.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+ft(e.c.v[0])+","+ft(e.c.v[1])+","+ft(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(s.wi=e.w.v)},U.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function Le(t,e,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,i)}Y([wt,Lt,Rt,It,Pt,Jt,xt],Le),Le.prototype.tHelper=Ct("canvas").getContext("2d"),Le.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=Z(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var i=!1;t.sc&&(i=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var s=this.globalData.fontManager.getFontByName(t.f),r,a,n=t.l,l=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,a=t.finalText.length;var o,m,g,_,f,w,k,v,D,y,c=this.data.singleShape,p=t.tr*.001*t.finalSize,d=0,x=0,A=!0,M=0;for(r=0;r<a;r+=1){o=this.globalData.fontManager.getCharData(t.finalText[r],s.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),m=o&&o.data||{},l.reset(),c&&n[r].n&&(d=-p,x+=t.yOffset,x+=A?1:0,A=!1),f=m.shapes?m.shapes[0].it:[],k=f.length,l.scale(t.finalSize/100,t.finalSize/100),c&&this.applyTextPropertiesToMatrix(t,l,n[r].line,d,x),D=Z(k-1);var T=0;for(w=0;w<k;w+=1)if(f[w].ty==="sh"){for(_=f[w].ks.k.i.length,v=f[w].ks.k,y=[],g=1;g<_;g+=1)g===1&&y.push(l.applyToX(v.v[0][0],v.v[0][1],0),l.applyToY(v.v[0][0],v.v[0][1],0)),y.push(l.applyToX(v.o[g-1][0],v.o[g-1][1],0),l.applyToY(v.o[g-1][0],v.o[g-1][1],0),l.applyToX(v.i[g][0],v.i[g][1],0),l.applyToY(v.i[g][0],v.i[g][1],0),l.applyToX(v.v[g][0],v.v[g][1],0),l.applyToY(v.v[g][0],v.v[g][1],0));y.push(l.applyToX(v.o[g-1][0],v.o[g-1][1],0),l.applyToY(v.o[g-1][0],v.o[g-1][1],0),l.applyToX(v.i[0][0],v.i[0][1],0),l.applyToY(v.i[0][0],v.i[0][1],0),l.applyToX(v.v[0][0],v.v[0][1],0),l.applyToY(v.v[0][0],v.v[0][1],0)),D[T]=y,T+=1}c&&(d+=n[r].l,d+=p),this.textSpans[M]?this.textSpans[M].elem=D:this.textSpans[M]={elem:D},M+=1}},Le.prototype.renderInnerContent=function(){this.validateText();var t=this.canvasContext;t.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 e,i,s,r,a,n,l=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;i=o.length;var m,g=null,_=null,f=null,w,k,v=this.globalData.renderer;for(e=0;e<i;e+=1)if(!o[e].n){if(m=l[e],m&&(v.save(),v.ctxTransform(m.p),v.ctxOpacity(m.o)),this.fill){for(m&&m.fc?g!==m.fc&&(v.ctxFillStyle(m.fc),g=m.fc):g!==this.values.fill&&(g=this.values.fill,v.ctxFillStyle(this.values.fill)),w=this.textSpans[e].elem,r=w.length,this.globalData.canvasContext.beginPath(),s=0;s<r;s+=1)for(k=w[s],n=k.length,this.globalData.canvasContext.moveTo(k[0],k[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(k[a],k[a+1],k[a+2],k[a+3],k[a+4],k[a+5]);this.globalData.canvasContext.closePath(),v.ctxFill()}if(this.stroke){for(m&&m.sw?f!==m.sw&&(f=m.sw,v.ctxLineWidth(m.sw)):f!==this.values.sWidth&&(f=this.values.sWidth,v.ctxLineWidth(this.values.sWidth)),m&&m.sc?_!==m.sc&&(_=m.sc,v.ctxStrokeStyle(m.sc)):_!==this.values.stroke&&(_=this.values.stroke,v.ctxStrokeStyle(this.values.stroke)),w=this.textSpans[e].elem,r=w.length,this.globalData.canvasContext.beginPath(),s=0;s<r;s+=1)for(k=w[s],n=k.length,this.globalData.canvasContext.moveTo(k[0],k[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(k[a],k[a+1],k[a+2],k[a+3],k[a+4],k[a+5]);this.globalData.canvasContext.closePath(),v.ctxStroke()}m&&this.globalData.renderer.restore()}};function ne(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}Y([wt,Lt,Rt,It,Pt,Jt],ne),ne.prototype.initElement=Q.prototype.initElement,ne.prototype.prepareFrame=ae.prototype.prepareFrame,ne.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=Ct("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e=t.getContext("2d"),i=this.img.width,s=this.img.height,r=i/s,a=this.assetData.w/this.assetData.h,n,l,o=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;r>a&&o==="xMidYMid slice"||r<a&&o!=="xMidYMid slice"?(l=s,n=l*a):(n=i,l=n/a),e.drawImage(this.img,(i-n)/2,(s-l)/2,n,l,0,0,this.assetData.w,this.assetData.h),this.img=t}},ne.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},ne.prototype.destroy=function(){this.img=null};function Ie(t,e,i){this.initElement(t,e,i)}Y([wt,Lt,Rt,It,Pt,Jt],Ie),Ie.prototype.initElement=Q.prototype.initElement,Ie.prototype.prepareFrame=ae.prototype.prepareFrame,Ie.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function J(){}Y([lt],J),J.prototype.createShape=function(t){return new U(t,this.globalData,this)},J.prototype.createText=function(t){return new Le(t,this.globalData,this)},J.prototype.createImage=function(t){return new ne(t,this.globalData,this)},J.prototype.createSolid=function(t){return new Ie(t,this.globalData,this)},J.prototype.createNull=Ci.prototype.createNull,J.prototype.ctxTransform=function(t){t[0]===1&&t[1]===0&&t[4]===0&&t[5]===1&&t[12]===0&&t[13]===0||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},J.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},J.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},J.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},J.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},J.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},J.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},J.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},J.prototype.ctxFill=function(t){this.canvasContext.fill(t)},J.prototype.ctxFillRect=function(t,e,i,s){this.canvasContext.fillRect(t,e,i,s)},J.prototype.ctxStroke=function(){this.canvasContext.stroke()},J.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},J.prototype.save=function(){this.canvasContext.save()},J.prototype.restore=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)},J.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=Ct("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var i="0px 0px 0px";e.transformOrigin=i,e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=Z(t.layers.length),this.updateContainerSize()},J.prototype.updateContainerSize=function(t,e){this.reset();var i,s;t?(i=t,s=e,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=s):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,s=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr);var r,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var n=this.renderConfig.preserveAspectRatio.split(" "),l=n[1]||"meet",o=n[0]||"xMidYMid",m=o.substr(0,4),g=o.substr(4);r=i/s,a=this.transformCanvas.w/this.transformCanvas.h,a>r&&l==="meet"||a<r&&l==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),m==="xMid"&&(a<r&&l==="meet"||a>r&&l==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:m==="xMax"&&(a<r&&l==="meet"||a>r&&l==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,g==="YMid"&&(a>r&&l==="meet"||a<r&&l==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:g==="YMax"&&(a>r&&l==="meet"||a<r&&l==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(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)},J.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},J.prototype.renderFrame=function(t,e){if(!(this.renderedFrame===t&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||t===-1)){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i,s=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},J.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){var i=this.createItem(this.layers[t],this,this.globalData);e[t]=i,i.initExpressions()}},J.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},J.prototype.hide=function(){this.animationItem.container.style.display="none"},J.prototype.show=function(){this.animationItem.container.style.display="block"};function Cs(){this.opacity=-1,this.transform=at("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function ot(){this.stack=[],this.cArrPos=0,this.cTr=new tt;var t,e=15;for(t=0;t<e;t+=1){var i=new Cs;this.stack[t]=i}this._length=e,this.nativeContext=null,this.transformMat=new tt,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=""}ot.prototype.duplicate=function(){var t=this._length*2,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new Cs;this._length=t},ot.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},ot.prototype.restore=function(t){this.cArrPos-=1;var e=this.stack[this.cArrPos],i=e.transform,s,r=this.cTr.props;for(s=0;s<16;s+=1)r[s]=i[s];if(t){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),(t||e.opacity!==-1&&this.currentOpacity!==e.opacity)&&(this.nativeContext.globalAlpha=e.opacity,this.currentOpacity=e.opacity),this.currentFillStyle=e.fillStyle,this.currentStrokeStyle=e.strokeStyle,this.currentLineWidth=e.lineWidth,this.currentLineCap=e.lineCap,this.currentLineJoin=e.lineJoin,this.currentMiterLimit=e.miterLimit},ot.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var i=this.stack[this.cArrPos],s;for(s=0;s<16;s+=1)i.transform[s]=e[s];this.cArrPos+=1;var r=this.stack[this.cArrPos];r.opacity=i.opacity,r.fillStyle=i.fillStyle,r.strokeStyle=i.strokeStyle,r.lineWidth=i.lineWidth,r.lineCap=i.lineCap,r.lineJoin=i.lineJoin,r.miterLimit=i.miterLimit},ot.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},ot.prototype.setContext=function(t){this.nativeContext=t},ot.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},ot.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},ot.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},ot.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},ot.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},ot.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},ot.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var i=e.props;this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])},ot.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},ot.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},ot.prototype.fillRect=function(t,e,i,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,i,s)},ot.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 ye(t,e,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=Z(this.layers.length),this.initElement(t,e,i),this.tm=t.tm?L.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}Y([J,Vt,Rt],ye),ye.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,i=this.layers.length;for(e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ye.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},ye.prototype.createComp=function(t){return new ye(t,this.globalData,this)};function _i(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new ot,this.elements=[],this.pendingElements=[],this.transformMat=ne
2w tt,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))}return Y([J],_i),_i.prototype.createComp=function(t){return new ye(t,this.globalData,this)},zs("canvas",_i),Ft.registerModifier("tm",Dt),Ft.registerModifier("pb",ke),Ft.registerModifier("rp",Et),Ft.registerModifier("rd",we),Ft.registerModifier("zz",De),Ft.registerModifier("op",Ae),K})}),Ea=Ta();/*! Bundled license information:
3
4lottie-web/build/player/lottie_light_canvas.js:
5  (*!
6   Transformation Matrix v2.0
7   (c) Epistemex 2014-2015
8   www.epistemex.com
9   By Ken Fyrstenberg
10   Contributions by leeoniya.
11   License: MIT, header required.
12   *)
13*/export{Ea as default};
14//# sourceMappingURL=lottie_light_canvas-B5UTTNXA-PRI6IBWW.CUHJdCDM.min.js.map

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.