PageSourceSearch

https://www.tkstairs.com/_nuxt/BlU-pBPK.js

js tkstairs.com collected 2026-10-08 12:15:17 UTC 192,970 bytes, 2 lines download raw bytes

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

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.