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