vue3-lottie.es-65ac3410.js 332 KB

123456789
  1. import{aU as createNamespace,d as defineComponent,bu as useChildren,w as watch,bY as useCustomFieldValue,f as createVNode,bk as numericProp,bN as unknownProp,aX as withInstall,by as makeStringProp,bi as extend,bl as makeRequiredProp,bx as truthProp,l as ref,e as computed,I as Icon,bI as addUnit,bo as useParent,bv as pick,bC as mergeProps,bZ as commonjsGlobal,c as onMounted,b_ as openBlock,b$ as createElementBlock,c0 as normalizeStyle}from"./index-369af630.js";const[name$1,bem$1]=createNamespace("radio-group"),radioGroupProps={disabled:Boolean,iconSize:numericProp,direction:String,modelValue:unknownProp,checkedColor:String},RADIO_KEY=Symbol(name$1);var stdin_default$2=defineComponent({name:name$1,props:radioGroupProps,emits:["change","update:modelValue"],setup(t,{emit:e,slots:r}){const{linkChildren:i}=useChildren(RADIO_KEY),s=a=>e("update:modelValue",a);return watch(()=>t.modelValue,a=>e("change",a)),i({props:t,updateValue:s}),useCustomFieldValue(()=>t.modelValue),()=>{var a;return createVNode("div",{class:bem$1([t.direction]),role:"radiogroup"},[(a=r.default)==null?void 0:a.call(r)])}}});const RadioGroup=withInstall(stdin_default$2),checkerProps={name:unknownProp,shape:makeStringProp("round"),disabled:Boolean,iconSize:numericProp,modelValue:unknownProp,checkedColor:String,labelPosition:String,labelDisabled:Boolean};var stdin_default$1=defineComponent({props:extend({},checkerProps,{bem:makeRequiredProp(Function),role:String,parent:Object,checked:Boolean,bindGroup:truthProp}),emits:["click","toggle"],setup(t,{emit:e,slots:r}){const i=ref(),s=P=>{if(t.parent&&t.bindGroup)return t.parent.props[P]},a=computed(()=>s("disabled")||t.disabled),n=computed(()=>s("direction")),l=computed(()=>{const P=t.checkedColor||s("checkedColor");if(P&&t.checked&&!a.value)return{borderColor:P,backgroundColor:P}}),o=P=>{const{target:f}=P,b=i.value,y=b===f||(b==null?void 0:b.contains(f));!a.value&&(y||!t.labelDisabled)&&e("toggle"),e("click",P)},h=()=>{const{bem:P,shape:f,checked:b}=t,y=t.iconSize||s("iconSize");return createVNode("div",{ref:i,class:P("icon",[f,{disabled:a.value,checked:b}]),style:{fontSize:addUnit(y)}},[r.icon?r.icon({checked:b,disabled:a.value}):createVNode(Icon,{name:"success",style:l.value},null)])},m=()=>{if(r.default)return createVNode("span",{class:t.bem("label",[t.labelPosition,{disabled:a.value}])},[r.default()])};return()=>{const P=t.labelPosition==="left"?[m(),h()]:[h(),m()];return createVNode("div",{role:t.role,class:t.bem([{disabled:a.value,"label-disabled":t.labelDisabled},n.value]),tabindex:a.value?void 0:0,"aria-checked":t.checked,onClick:o},[P])}}});const[name,bem]=createNamespace("radio");var stdin_default=defineComponent({name,props:checkerProps,emits:["update:modelValue"],setup(t,{emit:e,slots:r}){const{parent:i}=useParent(RADIO_KEY),s=()=>(i?i.props.modelValue:t.modelValue)===t.name,a=()=>{i?i.updateValue(t.name):e("update:modelValue",t.name)};return()=>createVNode(stdin_default$1,mergeProps({bem,role:"radio",parent:i,checked:s(),onToggle:a},t),pick(r,["default","icon"]))}});const Radio=withInstall(stdin_default);var lottieExports={},lottie={get exports(){return lottieExports},set exports(t){lottieExports=t}};(function(module,exports){typeof navigator<"u"&&function(t,e){module.exports=e()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i=t.length,s;for(r=0;r<i;r+=1){s=t[r].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e.prototype[a]=s[a])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(r,i){var s=0,a=[],n;switch(r){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(s=0;s<i;s+=1)a.push(n);return a}function e(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):t(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var r=createSizedArray(t.length),i,s=t.length;for(i=0;i<s;i+=1)r[i]=Math.abs(t[i]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,r){var i,s,a,n,l,o,h,m;switch(n=Math.floor(t*6),l=t*6-n,o=r*(1-e),h=r*(1-l*e),m=r*(1-(1-l)*e),n%6){case 0:i=r,s=m,a=o;break;case 1:i=h,s=r,a=o;break;case 2:i=o,s=r,a=m;break;case 3:i=o,s=h,a=r;break;case 4:i=m,s=o,a=r;break;case 5:i=r,s=o,a=h;break}return[i,s,a]}function RGBtoHSV(t,e,r){var i=Math.max(t,e,r),s=Math.min(t,e,r),a=i-s,n,l=i===0?0:a/i,o=i/255;switch(i){case s:n=0;break;case t:n=e-r+a*(e<r?6:0),n/=6*a;break;case e:n=r-t+a*2,n/=6*a;break;case r:n=t-e+a*4,n/=6*a;break}return[n,l,o]}function addSaturationToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+t[i]+t[s]+t[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,s={onmessage:function(){},postMessage:function(b){r({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function n(f){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",f.toString()],{type:"text/javascript"}),y=URL.createObjectURL(b);return new Worker(y)}return r=f,s}function l(){i||(i=n(function(b){function y(){function C(L,T){var M,g,S=L.length,w,F,B,G;for(g=0;g<S;g+=1)if(M=L[g],"ks"in M&&!M.completed){if(M.completed=!0,M.hasMask){var z=M.masksProperties;for(F=z.length,w=0;w<F;w+=1)if(z[w].pt.k.i)E(z[w].pt.k);else for(G=z[w].pt.k.length,B=0;B<G;B+=1)z[w].pt.k[B].s&&E(z[w].pt.k[B].s[0]),z[w].pt.k[B].e&&E(z[w].pt.k[B].e[0])}M.ty===0?(M.layers=p(M.refId,T),C(M.layers,T)):M.ty===4?v(M.shapes):M.ty===5&&D(M)}}function c(L,T){if(L){var M=0,g=L.length;for(M=0;M<g;M+=1)L[M].t===1&&(L[M].data.layers=p(L[M].data.refId,T),C(L[M].data.layers,T))}}function u(L,T){for(var M=0,g=T.length;M<g;){if(T[M].id===L)return T[M];M+=1}return null}function p(L,T){var M=u(L,T);return M?M.layers.__used?JSON.parse(JSON.stringify(M.layers)):(M.layers.__used=!0,M.layers):null}function v(L){var T,M=L.length,g,S;for(T=M-1;T>=0;T-=1)if(L[T].ty==="sh")if(L[T].ks.k.i)E(L[T].ks.k);else for(S=L[T].ks.k.length,g=0;g<S;g+=1)L[T].ks.k[g].s&&E(L[T].ks.k[g].s[0]),L[T].ks.k[g].e&&E(L[T].ks.k[g].e[0]);else L[T].ty==="gr"&&v(L[T].it)}function E(L){var T,M=L.i.length;for(T=0;T<M;T+=1)L.i[T][0]+=L.v[T][0],L.i[T][1]+=L.v[T][1],L.o[T][0]+=L.v[T][0],L.o[T][1]+=L.v[T][1]}function _(L,T){var M=T?T.split("."):[100,100,100];return L[0]>M[0]?!0:M[0]>L[0]?!1:L[1]>M[1]?!0:M[1]>L[1]?!1:L[2]>M[2]?!0:M[2]>L[2]?!1:null}var A=function(){var L=[4,4,14];function T(g){var S=g.t.d;g.t.d={k:[{s:S,t:0}]}}function M(g){var S,w=g.length;for(S=0;S<w;S+=1)g[S].ty===5&&T(g[S])}return function(g){if(_(L,g.v)&&(M(g.layers),g.assets)){var S,w=g.assets.length;for(S=0;S<w;S+=1)g.assets[S].layers&&M(g.assets[S].layers)}}}(),x=function(){var L=[4,7,99];return function(T){if(T.chars&&!_(L,T.v)){var M,g=T.chars.length;for(M=0;M<g;M+=1){var S=T.chars[M];S.data&&S.data.shapes&&(v(S.data.shapes),S.data.ip=0,S.data.op=99999,S.data.st=0,S.data.sr=1,S.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}},T.chars[M].t||(S.data.shapes.push({ty:"no"}),S.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"})))}}}}(),k=function(){var L=[5,7,15];function T(g){var S=g.t.p;typeof S.a=="number"&&(S.a={a:0,k:S.a}),typeof S.p=="number"&&(S.p={a:0,k:S.p}),typeof S.r=="number"&&(S.r={a:0,k:S.r})}function M(g){var S,w=g.length;for(S=0;S<w;S+=1)g[S].ty===5&&T(g[S])}return function(g){if(_(L,g.v)&&(M(g.layers),g.assets)){var S,w=g.assets.length;for(S=0;S<w;S+=1)g.assets[S].layers&&M(g.assets[S].layers)}}}(),R=function(){var L=[4,1,9];function T(g){var S,w=g.length,F,B;for(S=0;S<w;S+=1)if(g[S].ty==="gr")T(g[S].it);else if(g[S].ty==="fl"||g[S].ty==="st")if(g[S].c.k&&g[S].c.k[0].i)for(B=g[S].c.k.length,F=0;F<B;F+=1)g[S].c.k[F].s&&(g[S].c.k[F].s[0]/=255,g[S].c.k[F].s[1]/=255,g[S].c.k[F].s[2]/=255,g[S].c.k[F].s[3]/=255),g[S].c.k[F].e&&(g[S].c.k[F].e[0]/=255,g[S].c.k[F].e[1]/=255,g[S].c.k[F].e[2]/=255,g[S].c.k[F].e[3]/=255);else g[S].c.k[0]/=255,g[S].c.k[1]/=255,g[S].c.k[2]/=255,g[S].c.k[3]/=255}function M(g){var S,w=g.length;for(S=0;S<w;S+=1)g[S].ty===4&&T(g[S].shapes)}return function(g){if(_(L,g.v)&&(M(g.layers),g.assets)){var S,w=g.assets.length;for(S=0;S<w;S+=1)g.assets[S].layers&&M(g.assets[S].layers)}}}(),V=function(){var L=[4,4,18];function T(g){var S,w=g.length,F,B;for(S=w-1;S>=0;S-=1)if(g[S].ty==="sh")if(g[S].ks.k.i)g[S].ks.k.c=g[S].closed;else for(B=g[S].ks.k.length,F=0;F<B;F+=1)g[S].ks.k[F].s&&(g[S].ks.k[F].s[0].c=g[S].closed),g[S].ks.k[F].e&&(g[S].ks.k[F].e[0].c=g[S].closed);else g[S].ty==="gr"&&T(g[S].it)}function M(g){var S,w,F=g.length,B,G,z,N;for(w=0;w<F;w+=1){if(S=g[w],S.hasMask){var j=S.masksProperties;for(G=j.length,B=0;B<G;B+=1)if(j[B].pt.k.i)j[B].pt.k.c=j[B].cl;else for(N=j[B].pt.k.length,z=0;z<N;z+=1)j[B].pt.k[z].s&&(j[B].pt.k[z].s[0].c=j[B].cl),j[B].pt.k[z].e&&(j[B].pt.k[z].e[0].c=j[B].cl)}S.ty===4&&T(S.shapes)}}return function(g){if(_(L,g.v)&&(M(g.layers),g.assets)){var S,w=g.assets.length;for(S=0;S<w;S+=1)g.assets[S].layers&&M(g.assets[S].layers)}}}();function I(L){L.__complete||(R(L),A(L),x(L),k(L),V(L),C(L.layers,L.assets),c(L.chars,L.assets),L.__complete=!0)}function D(L){L.t.a.length===0&&"m"in L.t.p}var O={};return O.completeData=I,O.checkColors=R,O.checkChars=x,O.checkPathProperties=k,O.checkShapes=V,O.completeLayers=C,O}if(a.dataManager||(a.dataManager=y()),a.assetLoader||(a.assetLoader=function(){function C(u){var p=u.getResponseHeader("content-type");return p&&u.responseType==="json"&&p.indexOf("json")!==-1||u.response&&_typeof$5(u.response)==="object"?u.response:u.response&&typeof u.response=="string"?JSON.parse(u.response):u.responseText?JSON.parse(u.responseText):null}function c(u,p,v,E){var _,A=new XMLHttpRequest;try{A.responseType="json"}catch(x){}A.onreadystatechange=function(){if(A.readyState===4)if(A.status===200)_=C(A),v(_);else try{_=C(A),v(_)}catch(x){E&&E(x)}};try{A.open(["G","E","T"].join(""),u,!0)}catch(x){A.open(["G","E","T"].join(""),p+"/"+u,!0)}A.send()}return{load:c}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(C){a.dataManager.completeData(C),a.postMessage({id:b.data.id,payload:C,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var d=b.data.animation;a.dataManager.completeData(d),a.postMessage({id:b.data.id,payload:d,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(C){a.postMessage({id:b.data.id,payload:C,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),i.onmessage=function(f){var b=f.data,y=b.id,d=e[y];e[y]=null,b.status==="success"?d.onComplete(b.payload):d.onError&&d.onError()})}function o(f,b){t+=1;var y="processId_"+t;return e[y]={onComplete:f,onError:b},y}function h(f,b,y){l();var d=o(b,y);i.postMessage({type:"loadAnimation",path:f,fullPath:window.location.origin+window.location.pathname,id:d})}function m(f,b,y){l();var d=o(b,y);i.postMessage({type:"loadData",path:f,fullPath:window.location.origin+window.location.pathname,id:d})}function P(f,b,y){l();var d=o(b,y);i.postMessage({type:"complete",animation:f,id:d})}return{loadAnimation:h,loadData:m,completeAnimation:P}}(),ImagePreloader=function(){var t=function(){var c=createTag("canvas");c.width=1,c.height=1;var u=c.getContext("2d");return u.fillStyle="rgba(0,0,0,0)",u.fillRect(0,0,1,1),c}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(c,u,p){var v="";if(c.e)v=c.p;else if(u){var E=c.p;E.indexOf("images/")!==-1&&(E=E.split("/")[1]),v=u+E}else v=p,v+=c.u?c.u:"",v+=c.p;return v}function s(c){var u=0,p=setInterval(function(){var v=c.getBBox();(v.width||u>500)&&(this._imageLoaded(),clearInterval(p)),u+=1}.bind(this),50)}function a(c){var u=i(c,this.assetsPath,this.path),p=createNS("image");isSafari?this.testImageLoaded(p):p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",function(){v.img=t,this._imageLoaded()}.bind(this),!1),p.setAttributeNS("http://www.w3.org/1999/xlink","href",u),this._elementHelper.append?this._elementHelper.append(p):this._elementHelper.appendChild(p);var v={img:p,assetData:c};return v}function n(c){var u=i(c,this.assetsPath,this.path),p=createTag("img");p.crossOrigin="anonymous",p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",function(){v.img=t,this._imageLoaded()}.bind(this),!1),p.src=u;var v={img:p,assetData:c};return v}function l(c){var u={assetData:c},p=i(c,this.assetsPath,this.path);return dataManager.loadData(p,function(v){u.img=v,this._footageLoaded()}.bind(this),function(){u.img={},this._footageLoaded()}.bind(this)),u}function o(c,u){this.imagesLoadedCb=u;var p,v=c.length;for(p=0;p<v;p+=1)c[p].layers||(!c[p].t||c[p].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(c[p]))):c[p].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(c[p]))))}function h(c){this.path=c||""}function m(c){this.assetsPath=c||""}function P(c){for(var u=0,p=this.images.length;u<p;){if(this.images[u].assetData===c)return this.images[u].img;u+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function y(){return this.totalFootages===this.loadedFootagesCount}function d(c,u){c==="svg"?(this._elementHelper=u,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:o,setAssetsPath:m,setPath:h,loadedImages:b,loadedFootages:y,destroy:f,getAsset:P,createImgData:n,createImageData:a,imageLoaded:e,footageLoaded:r,setCacheType:d},C}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,r){if(this._cbs[e])for(var i=this._cbs[e],s=0;s<i.length;s+=1)i[s](r)},addEventListener:function(e,r){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(r),function(){this.removeEventListener(e,r)}.bind(this)},removeEventListener:function(e,r){if(!r)this._cbs[e]=null;else if(this._cbs[e]){for(var i=0,s=this._cbs[e].length;i<s;)this._cbs[e][i]===r&&(this._cbs[e].splice(i,1),i-=1,s-=1),i+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var markerParser=function(){function t(e){for(var r=e.split(`\r
  2. `),i={},s,a=0,n=0;n<r.length;n+=1)s=r[n].split(":"),s.length===2&&(i[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var s=e[i],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(e[i].cm)}catch(n){try{a.payload=t(e[i].cm)}catch(l){a.payload={name:e[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(r){for(var i=0,s=this.compositions.length;i<s;){if(this.compositions[i].data&&this.compositions[i].data.nm===r)return this.compositions[i].prepareFrame&&this.compositions[i].data.xt&&this.compositions[i].prepareFrame(this.currentFrame),this.compositions[i].compInterface;i+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(e,r){renderers[e]=r};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(r){return typeof r}:_typeof$4=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(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 r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";s==="false"?r.loop=!1:s==="true"?r.loop=!0:s!==""&&(r.loop=parseInt(s,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=a!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var n=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";n==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,i=e.length,s=t.layers,a,n=s.length;for(a=0;a<n;a+=1)for(r=0;r<i;){if(e[r].id===s[a].id){e[r]=s[a];break}r+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(t.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(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=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var r=typeof t=="number"?t:void 0,i=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.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")))},AnimationItem.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())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if(e=this.markers[r],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!(r&&this.name!==r)){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&this.goToAndStop(s.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!(r&&this.name!==r)){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.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")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},AnimationItem.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)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{var i=this.renderer.getElementByPath(t);i.updateDocumentData(e,r)}catch(s){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(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 BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,i=0,s=0,a=!0,n=!1;function l(T){for(var M=0,g=T.target;M<i;)e[M].animation===g&&(e.splice(M,1),M-=1,i-=1,g.isPaused||P()),M+=1}function o(T,M){if(!T)return null;for(var g=0;g<i;){if(e[g].elem===T&&e[g].elem!==null)return e[g].animation;g+=1}var S=new AnimationItem;return f(S,T),S.setData(T,M),S}function h(){var T,M=e.length,g=[];for(T=0;T<M;T+=1)g.push(e[T].animation);return g}function m(){s+=1,R()}function P(){s-=1}function f(T,M){T.addEventListener("destroy",l),T.addEventListener("_active",m),T.addEventListener("_idle",P),e.push({elem:M,animation:T}),i+=1}function b(T){var M=new AnimationItem;return f(M,null),M.setParams(T),M}function y(T,M){var g;for(g=0;g<i;g+=1)e[g].animation.setSpeed(T,M)}function d(T,M){var g;for(g=0;g<i;g+=1)e[g].animation.setDirection(T,M)}function C(T){var M;for(M=0;M<i;M+=1)e[M].animation.play(T)}function c(T){var M=T-r,g;for(g=0;g<i;g+=1)e[g].animation.advanceTime(M);r=T,s&&!n?window.requestAnimationFrame(c):a=!0}function u(T){r=T,window.requestAnimationFrame(c)}function p(T){var M;for(M=0;M<i;M+=1)e[M].animation.pause(T)}function v(T,M,g){var S;for(S=0;S<i;S+=1)e[S].animation.goToAndStop(T,M,g)}function E(T){var M;for(M=0;M<i;M+=1)e[M].animation.stop(T)}function _(T){var M;for(M=0;M<i;M+=1)e[M].animation.togglePause(T)}function A(T){var M;for(M=i-1;M>=0;M-=1)e[M].animation.destroy(T)}function x(T,M,g){var S=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),w,F=S.length;for(w=0;w<F;w+=1)g&&S[w].setAttribute("data-bm-type",g),o(S[w],T);if(M&&F===0){g||(g="svg");var B=document.getElementsByTagName("body")[0];B.innerText="";var G=createTag("div");G.style.width="100%",G.style.height="100%",G.setAttribute("data-bm-type",g),B.appendChild(G),o(G,T)}}function k(){var T;for(T=0;T<i;T+=1)e[T].animation.resize()}function R(){!n&&s&&a&&(window.requestAnimationFrame(u),a=!1)}function V(){n=!0}function I(){n=!1,R()}function D(T,M){var g;for(g=0;g<i;g+=1)e[g].animation.setVolume(T,M)}function O(T){var M;for(M=0;M<i;M+=1)e[M].animation.mute(T)}function L(T){var M;for(M=0;M<i;M+=1)e[M].animation.unmute(T)}return t.registerAnimation=o,t.loadAnimation=b,t.setSpeed=y,t.setDirection=d,t.play=C,t.pause=p,t.stop=E,t.togglePause=_,t.searchAnimations=x,t.resize=k,t.goToAndStop=v,t.destroy=A,t.freeze=V,t.unfreeze=I,t.setVolume=D,t.mute=O,t.unmute=L,t.getRegisteredAnimations=h,t}(),BezierFactory=function(){var t={};t.getBezierEasing=r;var e={};function r(u,p,v,E,_){var A=_||("bez_"+u+"_"+p+"_"+v+"_"+E).replace(/\./g,"p");if(e[A])return e[A];var x=new c([u,p,v,E]);return e[A]=x,x}var i=4,s=.001,a=1e-7,n=10,l=11,o=1/(l-1),h=typeof Float32Array=="function";function m(u,p){return 1-3*p+3*u}function P(u,p){return 3*p-6*u}function f(u){return 3*u}function b(u,p,v){return((m(p,v)*u+P(p,v))*u+f(p))*u}function y(u,p,v){return 3*m(p,v)*u*u+2*P(p,v)*u+f(p)}function d(u,p,v,E,_){var A,x,k=0;do x=p+(v-p)/2,A=b(x,E,_)-u,A>0?v=x:p=x;while(Math.abs(A)>a&&++k<n);return x}function C(u,p,v,E){for(var _=0;_<i;++_){var A=y(p,v,E);if(A===0)return p;var x=b(p,v,E)-u;p-=x/A}return p}function c(u){this._p=u,this._mSampleValues=h?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(p){var v=this._p[0],E=this._p[1],_=this._p[2],A=this._p[3];return this._precomputed||this._precompute(),v===E&&_===A?p:p===0?0:p===1?1:b(this._getTForX(p),E,A)},_precompute:function(){var p=this._p[0],v=this._p[1],E=this._p[2],_=this._p[3];this._precomputed=!0,(p!==v||E!==_)&&this._calcSampleValues()},_calcSampleValues:function(){for(var p=this._p[0],v=this._p[2],E=0;E<l;++E)this._mSampleValues[E]=b(E*o,p,v)},_getTForX:function(p){for(var v=this._p[0],E=this._p[2],_=this._mSampleValues,A=0,x=1,k=l-1;x!==k&&_[x]<=p;++x)A+=o;--x;var R=(p-_[x])/(_[x+1]-_[x]),V=A+R*o,I=y(V,v,E);return I>=s?C(p,V,v,E):I===0?V:d(p,A,A+o,v,E)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var i=0,s=t,a=createSizedArray(s),n={newElement:l,release:o};function l(){var h;return i?(i-=1,h=a[i]):h=e(),h}function o(h){i===s&&(a=pooling.double(a),s*=2),r&&r(h),a[i]=h,i+=1}return n}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var i,s=r.lengths.length;for(i=0;i<s;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(f,b,y,d,C,c){var u=f*d+b*C+y*c-C*d-c*f-y*b;return u>-.001&&u<.001}function r(f,b,y,d,C,c,u,p,v){if(y===0&&c===0&&v===0)return e(f,b,d,C,u,p);var E=t.sqrt(t.pow(d-f,2)+t.pow(C-b,2)+t.pow(c-y,2)),_=t.sqrt(t.pow(u-f,2)+t.pow(p-b,2)+t.pow(v-y,2)),A=t.sqrt(t.pow(u-d,2)+t.pow(p-C,2)+t.pow(v-c,2)),x;return E>_?E>A?x=E-_-A:x=A-_-E:A>_?x=A-_-E:x=_-E-A,x>-1e-4&&x<1e-4}var i=function(){return function(f,b,y,d){var C=getDefaultCurveSegments(),c,u,p,v,E,_=0,A,x=[],k=[],R=bezierLengthPool.newElement();for(p=y.length,c=0;c<C;c+=1){for(E=c/(C-1),A=0,u=0;u<p;u+=1)v=bmPow(1-E,3)*f[u]+3*bmPow(1-E,2)*E*y[u]+3*(1-E)*bmPow(E,2)*d[u]+bmPow(E,3)*b[u],x[u]=v,k[u]!==null&&(A+=bmPow(x[u]-k[u],2)),k[u]=x[u];A&&(A=bmSqrt(A),_+=A),R.percents[c]=E,R.lengths[c]=_}return R.addedLength=_,R}}();function s(f){var b=segmentsLengthPool.newElement(),y=f.c,d=f.v,C=f.o,c=f.i,u,p=f._length,v=b.lengths,E=0;for(u=0;u<p-1;u+=1)v[u]=i(d[u],d[u+1],C[u],c[u+1]),E+=v[u].addedLength;return y&&p&&(v[u]=i(d[u],d[0],C[u],c[0]),E+=v[u].addedLength),b.totalLength=E,b}function a(f){this.segmentLength=0,this.points=new Array(f)}function n(f,b){this.partialLength=f,this.point=b}var l=function(){var f={};return function(b,y,d,C){var c=(b[0]+"_"+b[1]+"_"+y[0]+"_"+y[1]+"_"+d[0]+"_"+d[1]+"_"+C[0]+"_"+C[1]).replace(/\./g,"p");if(!f[c]){var u=getDefaultCurveSegments(),p,v,E,_,A,x=0,k,R,V=null;b.length===2&&(b[0]!==y[0]||b[1]!==y[1])&&e(b[0],b[1],y[0],y[1],b[0]+d[0],b[1]+d[1])&&e(b[0],b[1],y[0],y[1],y[0]+C[0],y[1]+C[1])&&(u=2);var I=new a(u);for(E=d.length,p=0;p<u;p+=1){for(R=createSizedArray(E),A=p/(u-1),k=0,v=0;v<E;v+=1)_=bmPow(1-A,3)*b[v]+3*bmPow(1-A,2)*A*(b[v]+d[v])+3*(1-A)*bmPow(A,2)*(y[v]+C[v])+bmPow(A,3)*y[v],R[v]=_,V!==null&&(k+=bmPow(R[v]-V[v],2));k=bmSqrt(k),x+=k,I.points[p]=new n(k,R),V=R}I.segmentLength=x,f[c]=I}return f[c]}}();function o(f,b){var y=b.percents,d=b.lengths,C=y.length,c=bmFloor((C-1)*f),u=f*b.addedLength,p=0;if(c===C-1||c===0||u===d[c])return y[c];for(var v=d[c]>u?-1:1,E=!0;E;)if(d[c]<=u&&d[c+1]>u?(p=(u-d[c])/(d[c+1]-d[c]),E=!1):c+=v,c<0||c>=C-1){if(c===C-1)return y[c];E=!1}return y[c]+(y[c+1]-y[c])*p}function h(f,b,y,d,C,c){var u=o(C,c),p=1-u,v=t.round((p*p*p*f[0]+(u*p*p+p*u*p+p*p*u)*y[0]+(u*u*p+p*u*u+u*p*u)*d[0]+u*u*u*b[0])*1e3)/1e3,E=t.round((p*p*p*f[1]+(u*p*p+p*u*p+p*p*u)*y[1]+(u*u*p+p*u*u+u*p*u)*d[1]+u*u*u*b[1])*1e3)/1e3;return[v,E]}var m=createTypedArray("float32",8);function P(f,b,y,d,C,c,u){C<0?C=0:C>1&&(C=1);var p=o(C,u);c=c>1?1:c;var v=o(c,u),E,_=f.length,A=1-p,x=1-v,k=A*A*A,R=p*A*A*3,V=p*p*A*3,I=p*p*p,D=A*A*x,O=p*A*x+A*p*x+A*A*v,L=p*p*x+A*p*v+p*A*v,T=p*p*v,M=A*x*x,g=p*x*x+A*v*x+A*x*v,S=p*v*x+A*v*v+p*x*v,w=p*v*v,F=x*x*x,B=v*x*x+x*v*x+x*x*v,G=v*v*x+x*v*v+v*x*v,z=v*v*v;for(E=0;E<_;E+=1)m[E*4]=t.round((k*f[E]+R*y[E]+V*d[E]+I*b[E])*1e3)/1e3,m[E*4+1]=t.round((D*f[E]+O*y[E]+L*d[E]+T*b[E])*1e3)/1e3,m[E*4+2]=t.round((M*f[E]+g*y[E]+S*d[E]+w*b[E])*1e3)/1e3,m[E*4+3]=t.round((F*f[E]+B*y[E]+G*d[E]+z*b[E])*1e3)/1e3;return m}return{getSegmentsLength:s,getNewSegment:P,getPointInSegment:h,buildBezierData:l,pointOnLine2D:e,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var r=this.offsetTime,i;this.propType==="multidimensional"&&(i=createTypedArray("float32",this.pv.length));for(var s=e.lastIndex,a=s,n=this.keyframes.length-1,l=!0,o,h,m;l;){if(o=this.keyframes[a],h=this.keyframes[a+1],a===n-1&&t>=h.t-r){o.h&&(o=h),s=0;break}if(h.t-r>t){s=a;break}a<n-1?a+=1:(s=0,l=!1)}m=this.keyframesMetadata[a]||{};var P,f,b,y,d,C,c=h.t-r,u=o.t-r,p;if(o.to){m.bezierData||(m.bezierData=bez.buildBezierData(o.s,h.s||o.e,o.to,o.ti));var v=m.bezierData;if(t>=c||t<u){var E=t>=c?v.points.length-1:0;for(f=v.points[E].point.length,P=0;P<f;P+=1)i[P]=v.points[E].point[P]}else{m.__fnct?C=m.__fnct:(C=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,m.__fnct=C),b=C((t-u)/(c-u));var _=v.segmentLength*b,A,x=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(d=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,l=!0,y=v.points.length;l;){if(x+=v.points[d].partialLength,_===0||b===0||d===v.points.length-1){for(f=v.points[d].point.length,P=0;P<f;P+=1)i[P]=v.points[d].point[P];break}else if(_>=x&&_<x+v.points[d+1].partialLength){for(A=(_-x)/v.points[d+1].partialLength,f=v.points[d].point.length,P=0;P<f;P+=1)i[P]=v.points[d].point[P]+(v.points[d+1].point[P]-v.points[d].point[P])*A;break}d<y-1?d+=1:l=!1}e._lastPoint=d,e._lastAddedLength=x-v.points[d].partialLength,e._lastKeyframeIndex=a}}else{var k,R,V,I,D;if(n=o.s.length,p=h.s||o.e,this.sh&&o.h!==1)if(t>=c)i[0]=p[0],i[1]=p[1],i[2]=p[2];else if(t<=u)i[0]=o.s[0],i[1]=o.s[1],i[2]=o.s[2];else{var O=createQuaternion(o.s),L=createQuaternion(p),T=(t-u)/(c-u);quaternionToEuler(i,slerp(O,L,T))}else for(a=0;a<n;a+=1)o.h!==1&&(t>=c?b=1:t<u?b=0:(o.o.x.constructor===Array?(m.__fnct||(m.__fnct=[]),m.__fnct[a]?C=m.__fnct[a]:(k=o.o.x[a]===void 0?o.o.x[0]:o.o.x[a],R=o.o.y[a]===void 0?o.o.y[0]:o.o.y[a],V=o.i.x[a]===void 0?o.i.x[0]:o.i.x[a],I=o.i.y[a]===void 0?o.i.y[0]:o.i.y[a],C=BezierFactory.getBezierEasing(k,R,V,I).get,m.__fnct[a]=C)):m.__fnct?C=m.__fnct:(k=o.o.x,R=o.o.y,V=o.i.x,I=o.i.y,C=BezierFactory.getBezierEasing(k,R,V,I).get,o.keyframeMetadata=C),b=C((t-u)/(c-u)))),p=h.s||o.e,D=o.h===1?o.s[a]:o.s[a]+(p[a]-o.s[a])*b,this.propType==="multidimensional"?i[a]=D:i=D}return e.lastIndex=s,i}function slerp(t,e,r){var i=[],s=t[0],a=t[1],n=t[2],l=t[3],o=e[0],h=e[1],m=e[2],P=e[3],f,b,y,d,C;return b=s*o+a*h+n*m+l*P,b<0&&(b=-b,o=-o,h=-h,m=-m,P=-P),1-b>1e-6?(f=Math.acos(b),y=Math.sin(f),d=Math.sin((1-r)*f)/y,C=Math.sin(r*f)/y):(d=1-r,C=r),i[0]=d*s+C*o,i[1]=d*a+C*h,i[2]=d*n+C*m,i[3]=d*l+C*P,i}function quaternionToEuler(t,e){var r=e[0],i=e[1],s=e[2],a=e[3],n=Math.atan2(2*i*a-2*r*s,1-2*i*i-2*s*s),l=Math.asin(2*r*i+2*s*a),o=Math.atan2(2*r*a-2*i*s,1-2*r*r-2*s*s);t[0]=n/degToRads,t[1]=l/degToRads,t[2]=o/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,s=Math.cos(e/2),a=Math.cos(r/2),n=Math.cos(i/2),l=Math.sin(e/2),o=Math.sin(r/2),h=Math.sin(i/2),m=s*a*n-l*o*h,P=l*o*n+s*a*h,f=l*a*n+s*o*h,b=s*o*n-l*a*h;return[P,f,b,m]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||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 setVValue(t){var e;if(this.propType==="unidimensional")e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)e=t[r]*this.mult,mathAbs(this.v[r]-e)>1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r: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=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,r,i){this.propType="multidimensional",this.mult=r||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 s,a=e.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,r,i){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,r,i){this.propType="multidimensional";var s,a=e.k.length,n,l,o,h;for(s=0;s<a-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(n=e.k[s].s,l=e.k[s+1].s,o=e.k[s].to,h=e.k[s].ti,(n.length===2&&!(n[0]===l[0]&&n[1]===l[1])&&bez.pointOnLine2D(n[0],n[1],l[0],l[1],n[0]+o[0],n[1]+o[1])&&bez.pointOnLine2D(n[0],n[1],l[0],l[1],l[0]+h[0],l[1]+h[1])||n.length===3&&!(n[0]===l[0]&&n[1]===l[1]&&n[2]===l[2])&&bez.pointOnLine3D(n[0],n[1],n[2],l[0],l[1],l[2],n[0]+o[0],n[1]+o[1],n[2]+o[2])&&bez.pointOnLine3D(n[0],n[1],n[2],l[0],l[1],l[2],l[0]+h[0],l[1]+h[1],l[2]+h[2]))&&(e.k[s].to=null,e.k[s].ti=null),n[0]===l[0]&&n[1]===l[1]&&o[0]===0&&o[1]===0&&h[0]===0&&h[1]===0&&(n.length===2||n[2]===l[2]&&o[2]===0&&h[2]===0)&&(e.k[s].to=null,e.k[s].ti=null));this.effectsSequence=[getValueAtCurrentTime.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=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var m=e.k[0].s.length;for(this.v=createTypedArray("float32",m),this.pv=createTypedArray("float32",m),s=0;s<m;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",m)},this.addEffect=addEffect}var PropertyFactory=function(){function t(r,i,s,a,n){i.sid&&(i=r.globalData.slotManager.getProp(i));var l;if(!i.k.length)l=new ValueProperty(r,i,a,n);else if(typeof i.k[0]=="number")l=new MultiDimensionalProperty(r,i,a,n);else switch(s){case 0:l=new KeyframedValueProperty(r,i,a,n);break;case 1:l=new KeyframedMultidimensionalProperty(r,i,a,n);break}return l.effectsSequence.length&&n.addDynamicProperty(l),l}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,r=this.dynamicProperties.length;for(e=0;e<r;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,s){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,l){this.setXYAt(t,e,"v",n,l),this.setXYAt(r,i,"o",n,l),this.setXYAt(s,a,"i",n,l)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a=this._length-1,n=this._length,l;for(l=s;l<n;l+=1)t.setTripleAt(e[a][0],e[a][1],i[a][0],i[a][1],r[a][0],r[a][1],l,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(s){var a=s._length,n;for(n=0;n<a;n+=1)pointPool.release(s.v[n]),pointPool.release(s.i[n]),pointPool.release(s.o[n]),s.v[n]=null,s.i[n]=null,s.o[n]=null;s._length=0,s.c=!1}function r(s){var a=i.newElement(),n,l=s._length===void 0?s.v.length:s._length;for(a.setLength(l),a.c=s.c,n=0;n<l;n+=1)a.setTripleAt(s.v[n][0],s.v[n][1],s.o[n][0],s.o[n][1],s.i[n][0],s.i[n][1],n);return a}var i=poolFactory(4,t,e);return i.clone=r,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:s,release:a},e=0,r=4,i=createSizedArray(r);function s(){var n;return e?(e-=1,n=i[e]):n=new ShapeCollection,n}function a(n){var l,o=n._length;for(l=0;l<o;l+=1)shapePool.release(n.shapes[l]);n._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=n,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(c,u,p){var v=p.lastIndex,E,_,A,x,k,R,V,I,D,O=this.keyframes;if(c<O[0].t-this.offsetTime)E=O[0].s[0],A=!0,v=0;else if(c>=O[O.length-1].t-this.offsetTime)E=O[O.length-1].s?O[O.length-1].s[0]:O[O.length-2].e[0],A=!0;else{for(var L=v,T=O.length-1,M=!0,g,S,w;M&&(g=O[L],S=O[L+1],!(S.t-this.offsetTime>c));)L<T-1?L+=1:M=!1;if(w=this.keyframesMetadata[L]||{},A=g.h===1,v=L,!A){if(c>=S.t-this.offsetTime)I=1;else if(c<g.t-this.offsetTime)I=0;else{var F;w.__fnct?F=w.__fnct:(F=BezierFactory.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y).get,w.__fnct=F),I=F((c-(g.t-this.offsetTime))/(S.t-this.offsetTime-(g.t-this.offsetTime)))}_=S.s?S.s[0]:g.e[0]}E=g.s[0]}for(R=u._length,V=E.i[0].length,p.lastIndex=v,x=0;x<R;x+=1)for(k=0;k<V;k+=1)D=A?E.i[x][k]:E.i[x][k]+(_.i[x][k]-E.i[x][k])*I,u.i[x][k]=D,D=A?E.o[x][k]:E.o[x][k]+(_.o[x][k]-E.o[x][k])*I,u.o[x][k]=D,D=A?E.v[x][k]:E.v[x][k]+(_.v[x][k]-E.v[x][k])*I,u.v[x][k]=D}function r(){var c=this.comp.renderedFrame-this.offsetTime,u=this.keyframes[0].t-this.offsetTime,p=this.keyframes[this.keyframes.length-1].t-this.offsetTime,v=this._caching.lastFrame;return v!==t&&(v<u&&c<u||v>p&&c>p)||(this._caching.lastIndex=v<c?this._caching.lastIndex:0,this.interpolateShape(c,this.pv,this._caching)),this._caching.lastFrame=c,this.pv}function i(){this.paths=this.localShapeCollection}function s(c,u){if(c._length!==u._length||c.c!==u.c)return!1;var p,v=c._length;for(p=0;p<v;p+=1)if(c.v[p][0]!==u.v[p][0]||c.v[p][1]!==u.v[p][1]||c.o[p][0]!==u.o[p][0]||c.o[p][1]!==u.o[p][1]||c.i[p][0]!==u.i[p][0]||c.i[p][1]!==u.i[p][1])return!1;return!0}function a(c){s(this.v,c)||(this.v=shapePool.clone(c),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function n(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var c;this.kf?c=this.pv:this.data.ks?c=this.data.ks.k:c=this.data.pt.k;var u,p=this.effectsSequence.length;for(u=0;u<p;u+=1)c=this.effectsSequence[u](c);this.setVValue(c),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(c,u,p){this.propType="shape",this.comp=c.comp,this.container=c,this.elem=c,this.data=u,this.k=!1,this.kf=!1,this._mdf=!1;var v=p===3?u.pt.k:u.ks.k;this.v=shapePool.clone(v),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function o(c){this.effectsSequence.push(c),this.container.addDynamicProperty(this)}l.prototype.interpolateShape=e,l.prototype.getValue=n,l.prototype.setVValue=a,l.prototype.addEffect=o;function h(c,u,p){this.propType="shape",this.comp=c.comp,this.elem=c,this.container=c,this.offsetTime=c.data.st,this.keyframes=p===3?u.pt.k:u.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var v=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,v),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}h.prototype.getValue=n,h.prototype.interpolateShape=e,h.prototype.setVValue=a,h.prototype.addEffect=o;var m=function(){var c=roundCorner;function u(p,v){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=v.d,this.elem=p,this.comp=p.comp,this.frameId=-1,this.initDynamicPropertyContainer(p),this.p=PropertyFactory.getProp(p,v.p,1,0,this),this.s=PropertyFactory.getProp(p,v.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return u.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 v=this.p.v[0],E=this.p.v[1],_=this.s.v[0]/2,A=this.s.v[1]/2,x=this.d!==3,k=this.v;k.v[0][0]=v,k.v[0][1]=E-A,k.v[1][0]=x?v+_:v-_,k.v[1][1]=E,k.v[2][0]=v,k.v[2][1]=E+A,k.v[3][0]=x?v-_:v+_,k.v[3][1]=E,k.i[0][0]=x?v-_*c:v+_*c,k.i[0][1]=E-A,k.i[1][0]=x?v+_:v-_,k.i[1][1]=E-A*c,k.i[2][0]=x?v+_*c:v-_*c,k.i[2][1]=E+A,k.i[3][0]=x?v-_:v+_,k.i[3][1]=E+A*c,k.o[0][0]=x?v+_*c:v-_*c,k.o[0][1]=E-A,k.o[1][0]=x?v+_:v-_,k.o[1][1]=E+A*c,k.o[2][0]=x?v-_*c:v+_*c,k.o[2][1]=E+A,k.o[3][0]=x?v-_:v+_,k.o[3][1]=E-A*c}},extendPrototype([DynamicPropertyContainer],u),u}(),P=function(){function c(u,p){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=u,this.comp=u.comp,this.data=p,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(u),p.sy===1?(this.ir=PropertyFactory.getProp(u,p.ir,0,0,this),this.is=PropertyFactory.getProp(u,p.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(u,p.pt,0,0,this),this.p=PropertyFactory.getProp(u,p.p,1,0,this),this.r=PropertyFactory.getProp(u,p.r,0,degToRads,this),this.or=PropertyFactory.getProp(u,p.or,0,0,this),this.os=PropertyFactory.getProp(u,p.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return c.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=Math.floor(this.pt.v)*2,v=Math.PI*2/p,E=!0,_=this.or.v,A=this.ir.v,x=this.os.v,k=this.is.v,R=2*Math.PI*_/(p*2),V=2*Math.PI*A/(p*2),I,D,O,L,T=-Math.PI/2;T+=this.r.v;var M=this.data.d===3?-1:1;for(this.v._length=0,I=0;I<p;I+=1){D=E?_:A,O=E?x:k,L=E?R:V;var g=D*Math.cos(T),S=D*Math.sin(T),w=g===0&&S===0?0:S/Math.sqrt(g*g+S*S),F=g===0&&S===0?0:-g/Math.sqrt(g*g+S*S);g+=+this.p.v[0],S+=+this.p.v[1],this.v.setTripleAt(g,S,g-w*L*O*M,S-F*L*O*M,g+w*L*O*M,S+F*L*O*M,I,!0),E=!E,T+=v*M}},convertPolygonToPath:function(){var p=Math.floor(this.pt.v),v=Math.PI*2/p,E=this.or.v,_=this.os.v,A=2*Math.PI*E/(p*4),x,k=-Math.PI*.5,R=this.data.d===3?-1:1;for(k+=this.r.v,this.v._length=0,x=0;x<p;x+=1){var V=E*Math.cos(k),I=E*Math.sin(k),D=V===0&&I===0?0:I/Math.sqrt(V*V+I*I),O=V===0&&I===0?0:-V/Math.sqrt(V*V+I*I);V+=+this.p.v[0],I+=+this.p.v[1],this.v.setTripleAt(V,I,V-D*A*_*R,I-O*A*_*R,V+D*A*_*R,I+O*A*_*R,x,!0),k+=v*R}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],c),c}(),f=function(){function c(u,p){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=u,this.comp=u.comp,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(u),this.p=PropertyFactory.getProp(u,p.p,1,0,this),this.s=PropertyFactory.getProp(u,p.s,1,0,this),this.r=PropertyFactory.getProp(u,p.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return c.prototype={convertRectToPath:function(){var p=this.p.v[0],v=this.p.v[1],E=this.s.v[0]/2,_=this.s.v[1]/2,A=bmMin(E,_,this.r.v),x=A*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(p+E,v-_+A,p+E,v-_+A,p+E,v-_+x,0,!0),this.v.setTripleAt(p+E,v+_-A,p+E,v+_-x,p+E,v+_-A,1,!0),A!==0?(this.v.setTripleAt(p+E-A,v+_,p+E-A,v+_,p+E-x,v+_,2,!0),this.v.setTripleAt(p-E+A,v+_,p-E+x,v+_,p-E+A,v+_,3,!0),this.v.setTripleAt(p-E,v+_-A,p-E,v+_-A,p-E,v+_-x,4,!0),this.v.setTripleAt(p-E,v-_+A,p-E,v-_+x,p-E,v-_+A,5,!0),this.v.setTripleAt(p-E+A,v-_,p-E+A,v-_,p-E+x,v-_,6,!0),this.v.setTripleAt(p+E-A,v-_,p+E-x,v-_,p+E-A,v-_,7,!0)):(this.v.setTripleAt(p-E,v+_,p-E+x,v+_,p-E,v+_,2),this.v.setTripleAt(p-E,v-_,p-E,v-_+x,p-E,v-_,3))):(this.v.setTripleAt(p+E,v-_+A,p+E,v-_+x,p+E,v-_+A,0,!0),A!==0?(this.v.setTripleAt(p+E-A,v-_,p+E-A,v-_,p+E-x,v-_,1,!0),this.v.setTripleAt(p-E+A,v-_,p-E+x,v-_,p-E+A,v-_,2,!0),this.v.setTripleAt(p-E,v-_+A,p-E,v-_+A,p-E,v-_+x,3,!0),this.v.setTripleAt(p-E,v+_-A,p-E,v+_-x,p-E,v+_-A,4,!0),this.v.setTripleAt(p-E+A,v+_,p-E+A,v+_,p-E+x,v+_,5,!0),this.v.setTripleAt(p+E-A,v+_,p+E-x,v+_,p+E-A,v+_,6,!0),this.v.setTripleAt(p+E,v+_-A,p+E,v+_-A,p+E,v+_-x,7,!0)):(this.v.setTripleAt(p-E,v-_,p-E+x,v-_,p-E,v-_,1,!0),this.v.setTripleAt(p-E,v+_,p-E,v+_-x,p-E,v+_,2,!0),this.v.setTripleAt(p+E,v+_,p+E-x,v+_,p+E,v+_,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],c),c}();function b(c,u,p){var v;if(p===3||p===4){var E=p===3?u.pt:u.ks,_=E.k;_.length?v=new h(c,u,p):v=new l(c,u,p)}else p===5?v=new f(c,u):p===6?v=new m(c,u):p===7&&(v=new P(c,u));return v.k&&c.addDynamicProperty(v),v}function y(){return l}function d(){return h}var C={};return C.getShapeProp=b,C.getConstructorFunction=y,C.getKeyframedConstructorFunction=d,C}();/*!
  3. Transformation Matrix v2.0
  4. (c) Epistemex 2014-2015
  5. www.epistemex.com
  6. By Ken Fyrstenberg
  7. Contributions by leeoniya.
  8. License: MIT, header required.
  9. */var Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=Math.round;function s(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(g){if(g===0)return this;var S=t(g),w=e(g);return this._t(S,-w,0,0,w,S,0,0,0,0,1,0,0,0,0,1)}function n(g){if(g===0)return this;var S=t(g),w=e(g);return this._t(1,0,0,0,0,S,-w,0,0,w,S,0,0,0,0,1)}function l(g){if(g===0)return this;var S=t(g),w=e(g);return this._t(S,0,w,0,0,1,0,0,-w,0,S,0,0,0,0,1)}function o(g){if(g===0)return this;var S=t(g),w=e(g);return this._t(S,-w,0,0,w,S,0,0,0,0,1,0,0,0,0,1)}function h(g,S){return this._t(1,S,g,1,0,0)}function m(g,S){return this.shear(r(g),r(S))}function P(g,S){var w=t(S),F=e(S);return this._t(w,F,0,0,-F,w,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(g),1,0,0,0,0,1,0,0,0,0,1)._t(w,-F,0,0,F,w,0,0,0,0,1,0,0,0,0,1)}function f(g,S,w){return!w&&w!==0&&(w=1),g===1&&S===1&&w===1?this:this._t(g,0,0,0,0,S,0,0,0,0,w,0,0,0,0,1)}function b(g,S,w,F,B,G,z,N,j,q,U,Q,Y,W,X,H){return this.props[0]=g,this.props[1]=S,this.props[2]=w,this.props[3]=F,this.props[4]=B,this.props[5]=G,this.props[6]=z,this.props[7]=N,this.props[8]=j,this.props[9]=q,this.props[10]=U,this.props[11]=Q,this.props[12]=Y,this.props[13]=W,this.props[14]=X,this.props[15]=H,this}function y(g,S,w){return w=w||0,g!==0||S!==0||w!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,g,S,w,1):this}function d(g,S,w,F,B,G,z,N,j,q,U,Q,Y,W,X,H){var $=this.props;if(g===1&&S===0&&w===0&&F===0&&B===0&&G===1&&z===0&&N===0&&j===0&&q===0&&U===1&&Q===0)return $[12]=$[12]*g+$[15]*Y,$[13]=$[13]*G+$[15]*W,$[14]=$[14]*U+$[15]*X,$[15]*=H,this._identityCalculated=!1,this;var et=$[0],at=$[1],rt=$[2],tt=$[3],it=$[4],st=$[5],K=$[6],nt=$[7],ot=$[8],Z=$[9],lt=$[10],J=$[11],ht=$[12],ft=$[13],pt=$[14],ct=$[15];return $[0]=et*g+at*B+rt*j+tt*Y,$[1]=et*S+at*G+rt*q+tt*W,$[2]=et*w+at*z+rt*U+tt*X,$[3]=et*F+at*N+rt*Q+tt*H,$[4]=it*g+st*B+K*j+nt*Y,$[5]=it*S+st*G+K*q+nt*W,$[6]=it*w+st*z+K*U+nt*X,$[7]=it*F+st*N+K*Q+nt*H,$[8]=ot*g+Z*B+lt*j+J*Y,$[9]=ot*S+Z*G+lt*q+J*W,$[10]=ot*w+Z*z+lt*U+J*X,$[11]=ot*F+Z*N+lt*Q+J*H,$[12]=ht*g+ft*B+pt*j+ct*Y,$[13]=ht*S+ft*G+pt*q+ct*W,$[14]=ht*w+ft*z+pt*U+ct*X,$[15]=ht*F+ft*N+pt*Q+ct*H,this._identityCalculated=!1,this}function C(g){var S=g.props;return this.transform(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[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 u(g){for(var S=0;S<16;){if(g.props[S]!==this.props[S])return!1;S+=1}return!0}function p(g){var S;for(S=0;S<16;S+=1)g.props[S]=this.props[S];return g}function v(g){var S;for(S=0;S<16;S+=1)this.props[S]=g[S]}function E(g,S,w){return{x:g*this.props[0]+S*this.props[4]+w*this.props[8]+this.props[12],y:g*this.props[1]+S*this.props[5]+w*this.props[9]+this.props[13],z:g*this.props[2]+S*this.props[6]+w*this.props[10]+this.props[14]}}function _(g,S,w){return g*this.props[0]+S*this.props[4]+w*this.props[8]+this.props[12]}function A(g,S,w){return g*this.props[1]+S*this.props[5]+w*this.props[9]+this.props[13]}function x(g,S,w){return g*this.props[2]+S*this.props[6]+w*this.props[10]+this.props[14]}function k(){var g=this.props[0]*this.props[5]-this.props[1]*this.props[4],S=this.props[5]/g,w=-this.props[1]/g,F=-this.props[4]/g,B=this.props[0]/g,G=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/g,z=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/g,N=new Matrix;return N.props[0]=S,N.props[1]=w,N.props[4]=F,N.props[5]=B,N.props[12]=G,N.props[13]=z,N}function R(g){var S=this.getInverseMatrix();return S.applyToPointArray(g[0],g[1],g[2]||0)}function V(g){var S,w=g.length,F=[];for(S=0;S<w;S+=1)F[S]=R(g[S]);return F}function I(g,S,w){var F=createTypedArray("float32",6);if(this.isIdentity())F[0]=g[0],F[1]=g[1],F[2]=S[0],F[3]=S[1],F[4]=w[0],F[5]=w[1];else{var B=this.props[0],G=this.props[1],z=this.props[4],N=this.props[5],j=this.props[12],q=this.props[13];F[0]=g[0]*B+g[1]*z+j,F[1]=g[0]*G+g[1]*N+q,F[2]=S[0]*B+S[1]*z+j,F[3]=S[0]*G+S[1]*N+q,F[4]=w[0]*B+w[1]*z+j,F[5]=w[0]*G+w[1]*N+q}return F}function D(g,S,w){var F;return this.isIdentity()?F=[g,S,w]:F=[g*this.props[0]+S*this.props[4]+w*this.props[8]+this.props[12],g*this.props[1]+S*this.props[5]+w*this.props[9]+this.props[13],g*this.props[2]+S*this.props[6]+w*this.props[10]+this.props[14]],F}function O(g,S){if(this.isIdentity())return g+","+S;var w=this.props;return Math.round((g*w[0]+S*w[4]+w[12])*100)/100+","+Math.round((g*w[1]+S*w[5]+w[13])*100)/100}function L(){for(var g=0,S=this.props,w="matrix3d(",F=1e4;g<16;)w+=i(S[g]*F)/F,w+=g===15?")":",",g+=1;return w}function T(g){var S=1e4;return g<1e-6&&g>0||g>-1e-6&&g<0?i(g*S)/S:g}function M(){var g=this.props,S=T(g[0]),w=T(g[1]),F=T(g[4]),B=T(g[5]),G=T(g[12]),z=T(g[13]);return"matrix("+S+","+w+","+F+","+B+","+G+","+z+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=l,this.rotateZ=o,this.skew=m,this.skewFromAxis=P,this.shear=h,this.scale=f,this.setTransform=b,this.translate=y,this.transform=d,this.multiply=C,this.applyToPoint=E,this.applyToX=_,this.applyToY=A,this.applyToZ=x,this.applyToPointArray=D,this.applyToTriplePoints=I,this.applyToPointStringified=O,this.toCSS=L,this.to2dCSS=M,this.clone=p,this.cloneFromProps=v,this.equals=u,this.inversePoints=V,this.inversePoint=R,this.getInverseMatrix=k,this._t=this.transform,this.isIdentity=c,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return animationManager.loadAnimation(t)}function setQuality(t){if(typeof t=="string")switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t)}function inBrowser(){return typeof navigator<"u"}function installPlugin(t,e){t==="expressions"&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=r,t.getModifier=i;function r(s,a){e[s]||(e[s]=a)}function i(s,a,n){return new e[s](a,n)}return t}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.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},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,s){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n=[],l,o=a.length,h;for(l=0;l<o;l+=1)if(h=a[l],!(h.e*s<i||h.s*s>i+r)){var m,P;h.s*s<=i?m=0:m=(h.s*s-i)/r,h.e*s>=i+r?P=1:P=(h.e*s-i)/r,n.push([m,P])}return n.length||n.push([0,0]),n},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r;if(this._mdf||t){var i=this.o.v%360/360;if(i<0&&(i+=1),this.s.v>1?e=1+i:this.s.v<0?e=0+i:e=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,e>r){var s=e;e=r,r=s}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var a,n,l=this.shapes.length,o,h,m,P,f,b=0;if(r===e)for(n=0;n<l;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(r===1&&e===0||r===0&&e===1){if(this._mdf)for(n=0;n<l;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var y=[],d,C;for(n=0;n<l;n+=1)if(d=this.shapes[n],!d.shape._mdf&&!this._mdf&&!t&&this.m!==2)d.shape.paths=d.localShapeCollection;else{if(a=d.shape.paths,h=a._length,f=0,!d.shape._mdf&&d.pathsData.length)f=d.totalShapeLength;else{for(m=this.releasePathsData(d.pathsData),o=0;o<h;o+=1)P=bez.getSegmentsLength(a.shapes[o]),m.push(P),f+=P.totalLength;d.totalShapeLength=f,d.pathsData=m}b+=f,d.shape._mdf=!0}var c=e,u=r,p=0,v;for(n=l-1;n>=0;n-=1)if(d=this.shapes[n],d.shape._mdf){for(C=d.localShapeCollection,C.releaseShapes(),this.m===2&&l>1?(v=this.calculateShapeEdges(e,r,d.totalShapeLength,p,b),p+=d.totalShapeLength):v=[[c,u]],h=v.length,o=0;o<h;o+=1){c=v[o][0],u=v[o][1],y.length=0,u<=1?y.push({s:d.totalShapeLength*c,e:d.totalShapeLength*u}):c>=1?y.push({s:d.totalShapeLength*(c-1),e:d.totalShapeLength*(u-1)}):(y.push({s:d.totalShapeLength*c,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(u-1)}));var E=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1){var _=d.shape.paths.shapes[d.shape.paths._length-1];if(_.c){var A=E.pop();this.addPaths(E,C),E=this.addShapes(d,y[1],A)}else this.addPaths(E,C),E=this.addShapes(d,y[1])}this.addPaths(E,C)}}d.shape.paths=C}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,s,a,n){s.setXYAt(e[0],e[1],"o",a),s.setXYAt(r[0],r[1],"i",a+1),n&&s.setXYAt(t[0],t[1],"v",a),s.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i=t.pathsData,s=t.shape.paths.shapes,a,n=t.shape.paths._length,l,o,h=0,m,P,f,b,y=[],d,C=!0;for(r?(P=r._length,d=r._length):(r=shapePool.newElement(),P=0,d=0),y.push(r),a=0;a<n;a+=1){for(f=i[a].lengths,r.c=s[a].c,o=s[a].c?f.length:f.length+1,l=1;l<o;l+=1)if(m=f[l-1],h+m.addedLength<e.s)h+=m.addedLength,r.c=!1;else if(h>e.e){r.c=!1;break}else e.s<=h&&e.e>=h+m.addedLength?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[l],s[a].v[l],r,P,C),C=!1):(b=bez.getNewSegment(s[a].v[l-1],s[a].v[l],s[a].o[l-1],s[a].i[l],(e.s-h)/m.addedLength,(e.e-h)/m.addedLength,f[l-1]),this.addSegmentFromArray(b,r,P,C),C=!1,r.c=!1),h+=m.addedLength,P+=1;if(s[a].c&&f.length){if(m=f[l-1],h<=e.e){var c=f[l-1].addedLength;e.s<=h&&e.e>=h+c?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[0],s[a].v[0],r,P,C),C=!1):(b=bez.getNewSegment(s[a].v[l-1],s[a].v[0],s[a].o[l-1],s[a].i[0],(e.s-h)/c,(e.e-h)/c,f[l-1]),this.addSegmentFromArray(b,r,P,C),C=!1,r.c=!1)}else r.c=!1;h+=m.addedLength,P+=1}if(r._length&&(r.setXYAt(r.v[d][0],r.v[d][1],"i",d),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),h>e.e)break;a<n-1&&(r=shapePool.newElement(),C=!0,y.push(r),P=0)}return y};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,i=[0,0],s=t._length,a=0;for(a=0;a<s;a+=1)i[0]+=t.v[a][0],i[1]+=t.v[a][1];i[0]/=s,i[1]/=s;var n=shapePool.newElement();n.c=t.c;var l,o,h,m,P,f;for(a=0;a<s;a+=1)l=t.v[a][0]+(i[0]-t.v[a][0])*r,o=t.v[a][1]+(i[1]-t.v[a][1])*r,h=t.o[a][0]+(i[0]-t.o[a][0])*-r,m=t.o[a][1]+(i[1]-t.o[a][1])*-r,P=t.i[a][0]+(i[0]-t.i[a][0])*-r,f=t.i[a][1]+(i[1]-t.i[a][1])*-r,n.setTripleAt(l,o,h,m,P,f,a);return n},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,a,n=this.amount.v;if(n!==0){var l,o;for(r=0;r<i;r+=1){if(l=this.shapes[r],o=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!t))for(o.releaseShapes(),l.shape._mdf=!0,e=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)o.addShape(this.processPath(e[s],n));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(o){var h=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||h,this.a&&o.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&o.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&o.skewFromAxis(-this.sk.v,this.sa.v),this.r?o.rotate(-this.r.v):o.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?o.translate(this.px.v,this.py.v,-this.pz.v):o.translate(this.px.v,this.py.v,0):o.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(o){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||o){var h;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 m,P;if(h=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(m=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/h,0),P=this.p.getValueAtTime(this.p.keyframes[0].t/h,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(m=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/h,0),P=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/h,0)):(m=this.p.pv,P=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/h,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){m=[],P=[];var f=this.px,b=this.py;f._caching.lastFrame+f.offsetTime<=f.keyframes[0].t?(m[0]=f.getValueAtTime((f.keyframes[0].t+.01)/h,0),m[1]=b.getValueAtTime((b.keyframes[0].t+.01)/h,0),P[0]=f.getValueAtTime(f.keyframes[0].t/h,0),P[1]=b.getValueAtTime(b.keyframes[0].t/h,0)):f._caching.lastFrame+f.offsetTime>=f.keyframes[f.keyframes.length-1].t?(m[0]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/h,0),m[1]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/h,0),P[0]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/h,0),P[1]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/h,0)):(m=[f.pv,b.pv],P[0]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/h,f.offsetTime),P[1]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/h,b.offsetTime))}else P=t,m=P;this.v.rotate(-Math.atan2(m[1]-P[1],m[0]-P[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function s(){}function a(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function n(o,h,m){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=h,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(m||o),h.p&&h.p.s?(this.px=PropertyFactory.getProp(o,h.p.x,0,0,this),this.py=PropertyFactory.getProp(o,h.p.y,0,0,this),h.p.z&&(this.pz=PropertyFactory.getProp(o,h.p.z,0,0,this))):this.p=PropertyFactory.getProp(o,h.p||{k:[0,0,0]},1,0,this),h.rx){if(this.rx=PropertyFactory.getProp(o,h.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(o,h.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(o,h.rz,0,degToRads,this),h.or.k[0].ti){var P,f=h.or.k.length;for(P=0;P<f;P+=1)h.or.k[P].to=null,h.or.k[P].ti=null}this.or=PropertyFactory.getProp(o,h.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(o,h.r||{k:0},0,degToRads,this);h.sk&&(this.sk=PropertyFactory.getProp(o,h.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(o,h.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(o,h.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(o,h.s||{k:[100,100,100]},1,.01,this),h.o?this.o=PropertyFactory.getProp(o,h.o,0,.01,o):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}n.prototype={applyToMatrix:e,getValue:r,precalculateMatrix:i,autoOrient:s},extendPrototype([DynamicPropertyContainer],n),n.prototype.addDynamicProperty=a,n.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function l(o,h,m){return new n(o,h,m)}return{getTransformProperty:l}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.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 Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,s,a){var n=a?-1:1,l=i.s.v[0]+(1-i.s.v[0])*(1-s),o=i.s.v[1]+(1-i.s.v[1])*(1-s);t.translate(i.p.v[0]*n*s,i.p.v[1]*n*s,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*n*s),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/l:l,a?1/o:o),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,t[e].ty==="gr"&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,t[r].ty==="gr"&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,s,a,n=!1;if(this._mdf||t){var l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var o={it:this.cloneElements(this._elements),ty:"gr"};o.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,o),this._groups.splice(0,0,o),this._currentCopies+=1}this.elem.reloadShapes(),n=!0}a=0;var h;for(i=0;i<=this._groups.length-1;i+=1){if(h=a<l,this._groups[i]._render=h,this.changeGroupRender(this._groups[i].it,h),!h){var m=this.elemsData[i].it,P=m[m.length-1];P.transform.op.v!==0?(P.transform.op._mdf=!0,P.transform.op.v=0):P.transform.op._mdf=!1}a+=1}this._currentCopies=l;var f=this.o.v,b=f%1,y=f>0?Math.floor(f):Math.ceil(f),d=this.pMatrix.props,C=this.rMatrix.props,c=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var u=0;if(f>0){for(;u<y;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),u+=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,b,!1),u+=b)}else if(f<0){for(;u>y;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),u-=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-b,!0),u-=b)}i=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var p,v;a;){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,v=r.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)),u!==0){for((i!==0&&s===1||i!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),this.matrix.transform(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(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),p=0;p<v;p+=1)r[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<v;p+=1)r[p]=this.matrix.props[p];u+=1,a-=1,i+=s}}else for(a=this._currentCopies,i=0,s=1;a;)e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,i+=s;return n},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r=shapePool.newElement();r.c=t.c;var i,s=t._length,a,n,l,o,h,m,P=0,f,b,y,d,C,c;for(i=0;i<s;i+=1)a=t.v[i],l=t.o[i],n=t.i[i],a[0]===l[0]&&a[1]===l[1]&&a[0]===n[0]&&a[1]===n[1]?(i===0||i===s-1)&&!t.c?(r.setTripleAt(a[0],a[1],l[0],l[1],n[0],n[1],P),P+=1):(i===0?o=t.v[s-1]:o=t.v[i-1],h=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),m=h?Math.min(h/2,e)/h:0,C=a[0]+(o[0]-a[0])*m,f=C,c=a[1]-(a[1]-o[1])*m,b=c,y=f-(f-a[0])*roundCorner,d=b-(b-a[1])*roundCorner,r.setTripleAt(f,b,y,d,C,c,P),P+=1,i===s-1?o=t.v[0]:o=t.v[i+1],h=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),m=h?Math.min(h/2,e)/h:0,y=a[0]+(o[0]-a[0])*m,f=y,d=a[1]+(o[1]-a[1])*m,b=d,C=f-(f-a[0])*roundCorner,c=b-(b-a[1])*roundCorner,r.setTripleAt(f,b,y,d,C,c,P),P+=1):(r.setTripleAt(t.v[i][0],t.v[i][1],t.o[i][0],t.o[i][1],t.i[i][0],t.i[i][1],P),P+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,a,n=this.rd.v;if(n!==0){var l,o;for(r=0;r<i;r+=1){if(l=this.shapes[r],o=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!t))for(o.releaseShapes(),l.shape._mdf=!0,e=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)o.addShape(this.processPath(e[s],n));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(t,e){return Math.abs(t-e)*1e5<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,r){return t*(1-r)+e*r}function lerpPoint(t,e,r){return[lerp(t[0],e[0],r),lerp(t[1],e[1],r)]}function quadRoots(t,e,r){if(t===0)return[];var i=e*e-4*t*r;if(i<0)return[];var s=-e/(2*t);if(i===0)return[s];var a=Math.sqrt(i)/(2*t);return[s-a,s+a]}function polynomialCoefficients(t,e,r,i){return[-t+3*e-3*r+i,3*t-6*e+3*r,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,r,i,s){s&&pointEqual(t,e)&&(e=lerpPoint(t,i,1/3)),s&&pointEqual(r,i)&&(r=lerpPoint(t,i,2/3));var a=polynomialCoefficients(t[0],e[0],r[0],i[0]),n=polynomialCoefficients(t[1],e[1],r[1],i[1]);this.a=[a[0],n[0]],this.b=[a[1],n[1]],this.c=[a[2],n[2]],this.d=[a[3],n[3]],this.points=[t,e,r,i]}PolynomialBezier.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]]},PolynomialBezier.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]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,r=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[e]:[]:[e-i,e+i].filter(function(s){return s>0&&s<1})},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),i=lerpPoint(this.points[2],this.points[3],t),s=lerpPoint(e,r,t),a=lerpPoint(r,i,t),n=lerpPoint(s,a,t);return[new PolynomialBezier(this.points[0],e,s,n,!0),new PolynomialBezier(n,a,i,this.points[3],!0)]};function extrema(t,e){var r=t.points[0][e],i=t.points[t.points.length-1][e];if(r>i){var s=i;i=r,r=s}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),n=0;n<a.length;n+=1)if(a[n]>0&&a[n]<1){var l=t.point(a[n])[e];l<r?r=l:l>i&&(i=l)}return{min:r,max:i}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function intersectData(t,e,r){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return Math.abs(t.cx-e.cx)*2<t.width+e.width&&Math.abs(t.cy-e.cy)*2<t.height+e.height}function intersectsImpl(t,e,r,i,s,a){if(boxIntersect(t,e)){if(r>=a||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i){s.push([t.t,e.t]);return}var n=splitData(t),l=splitData(e);intersectsImpl(n[0],l[0],r+1,i,s,a),intersectsImpl(n[0],l[1],r+1,i,s,a),intersectsImpl(n[1],l[0],r+1,i,s,a),intersectsImpl(n[1],l[1],r+1,i,s,a)}}PolynomialBezier.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,i,r),i},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)};function crossProduct(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 lineIntersection(t,e,r,i){var s=[t[0],t[1],1],a=[e[0],e[1],1],n=[r[0],r[1],1],l=[i[0],i[1],1],o=crossProduct(crossProduct(s,a),crossProduct(n,l));return floatZero(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(t,e,r,i,s,a,n){var l=r-Math.PI/2,o=r+Math.PI/2,h=e[0]+Math.cos(r)*i*s,m=e[1]-Math.sin(r)*i*s;t.setTripleAt(h,m,h+Math.cos(l)*a,m-Math.sin(l)*a,h+Math.cos(o)*n,m-Math.sin(o)*n,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=-Math.PI*.5,s=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return s}function getProjectingAngle(t,e){var r=e===0?t.length()-1:e-1,i=(e+1)%t.length(),s=t.v[r],a=t.v[i],n=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(t,e,r,i,s,a,n){var l=getProjectingAngle(e,r),o=e.v[r%e._length],h=e.v[r===0?e._length-1:r-1],m=e.v[(r+1)%e._length],P=a===2?Math.sqrt(Math.pow(o[0]-h[0],2)+Math.pow(o[1]-h[1],2)):0,f=a===2?Math.sqrt(Math.pow(o[0]-m[0],2)+Math.pow(o[1]-m[1],2)):0;setPoint(t,e.v[r%e._length],l,n,i,f/((s+1)*2),P/((s+1)*2))}function zigZagSegment(t,e,r,i,s,a){for(var n=0;n<i;n+=1){var l=(n+1)/(i+1),o=s===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,h=e.normalAngle(l),m=e.point(l);setPoint(t,m,h,a,r,o/((i+1)*2),o/((i+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(t,e,r,i){var s=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(s-=1),s===0)return a;var n=-1,l=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,r,i,n);for(var o=0;o<s;o+=1)n=zigZagSegment(a,l,e,r,i,-n),o===s-1&&!t.c?l=null:l=PolynomialBezier.shapeSegment(t,(o+1)%s),zigZagCorner(a,t,o+1,e,r,i,n);return a},ZigZagModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,a,n=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(n!==0){var h,m;for(r=0;r<i;r+=1){if(h=this.shapes[r],m=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!t))for(m.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,a=h.shape.paths._length,s=0;s<a;s+=1)m.addShape(this.processPath(e[s],n,l,o));h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(t,e,r){var i=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,i,r),polarOffset(e,i,r)]}function offsetSegment(t,e){var r,i,s,a,n,l,o;o=linearOffset(t.points[0],t.points[1],e),r=o[0],i=o[1],o=linearOffset(t.points[1],t.points[2],e),s=o[0],a=o[1],o=linearOffset(t.points[2],t.points[3],e),n=o[0],l=o[1];var h=lineIntersection(r,i,s,a);h===null&&(h=i);var m=lineIntersection(n,l,s,a);return m===null&&(m=n),new PolynomialBezier(r,h,m,l)}function joinLines(t,e,r,i,s){var a=e.points[3],n=r.points[0];if(i===3||pointEqual(a,n))return a;if(i===2){var l=-e.tangentAngle(1),o=-r.tangentAngle(0)+Math.PI,h=lineIntersection(a,polarOffset(a,l+Math.PI/2,100),n,polarOffset(n,l+Math.PI/2,100)),m=h?pointDistance(h,a):pointDistance(a,n)/2,P=polarOffset(a,l,2*m*roundCorner);return t.setXYAt(P[0],P[1],"o",t.length()-1),P=polarOffset(n,o,2*m*roundCorner),t.setTripleAt(n[0],n[1],n[0],n[1],P[0],P[1],t.length()),n}var f=pointEqual(a,e.points[2])?e.points[0]:e.points[2],b=pointEqual(n,r.points[1])?r.points[3]:r.points[1],y=lineIntersection(f,a,n,b);return y&&pointDistance(y,a)<s?(t.setTripleAt(y[0],y[1],y[0],y[1],y[0],y[1],t.length()),y):a}function getIntersection(t,e){var r=t.intersections(e);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(t,e){var r=t.slice(),i=e.slice(),s=getIntersection(t[t.length-1],e[0]);return s&&(r[t.length-1]=t[t.length-1].split(s[0])[0],i[0]=e[0].split(s[1])[1]),t.length>1&&e.length>1&&(s=getIntersection(t[0],e[e.length-1]),s)?[[t[0].split(s[0])[0]],[e[e.length-1].split(s[1])[1]]]:[r,i]}function pruneIntersections(t){for(var e,r=1;r<t.length;r+=1)e=pruneSegmentIntersection(t[r-1],t[r]),t[r-1]=e[0],t[r]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r=t.inflectionPoints(),i,s,a,n;if(r.length===0)return[offsetSegment(t,e)];if(r.length===1||floatEqual(r[1],1))return a=t.split(r[0]),i=a[0],s=a[1],[offsetSegment(i,e),offsetSegment(s,e)];a=t.split(r[0]),i=a[0];var l=(r[1]-r[0])/(1-r[0]);return a=a[1].split(l),n=a[0],s=a[1],[offsetSegment(i,e),offsetSegment(n,e),offsetSegment(s,e)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(t,e,r,i){var s=shapePool.newElement();s.c=t.c;var a=t.length();t.c||(a-=1);var n,l,o,h=[];for(n=0;n<a;n+=1)o=PolynomialBezier.shapeSegment(t,n),h.push(offsetSegmentSplit(o,e));if(!t.c)for(n=a-1;n>=0;n-=1)o=PolynomialBezier.shapeSegmentInverted(t,n),h.push(offsetSegmentSplit(o,e));h=pruneIntersections(h);var m=null,P=null;for(n=0;n<h.length;n+=1){var f=h[n];for(P&&(m=joinLines(s,P,f[0],r,i)),P=f[f.length-1],l=0;l<f.length;l+=1)o=f[l],m&&pointEqual(o.points[0],m)?s.setXYAt(o.points[1][0],o.points[1][1],"o",s.length()-1):s.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],s.length()),s.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],s.length()),m=o.points[3]}return h.length&&joinLines(s,P,h[0][0],r,i),s},OffsetPathModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,a,n=this.amount.v,l=this.miterLimit.v,o=this.lineJoin;if(n!==0){var h,m;for(r=0;r<i;r+=1){if(h=this.shapes[r],m=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!t))for(m.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,a=h.shape.paths._length,s=0;s<a;s+=1)m.addShape(this.processPath(e[s],n,o,l));h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",s=e.length,a,n=0;n<s;n+=1)switch(a=e[n].toLowerCase(),a){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200";break}return{style:i,weight:t.fWeight||r}}var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=127988,s=917631,a=917601,n=917626,l=65039,o=8205,h=127462,m=127487,P=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(T){var M=T.split(","),g,S=M.length,w=[];for(g=0;g<S;g+=1)M[g]!=="sans-serif"&&M[g]!=="monospace"&&w.push(M[g]);return w.join(",")}function b(T,M){var g=createTag("span");g.setAttribute("aria-hidden",!0),g.style.fontFamily=M;var S=createTag("span");S.innerText="giItT1WQy@!-/#",g.style.position="absolute",g.style.left="-10000px",g.style.top="-10000px",g.style.fontSize="300px",g.style.fontVariant="normal",g.style.fontStyle="normal",g.style.fontWeight="normal",g.style.letterSpacing="0",g.appendChild(S),document.body.appendChild(g);var w=S.offsetWidth;return S.style.fontFamily=f(T)+", "+M,{node:S,w,parent:g}}function y(){var T,M=this.fonts.length,g,S,w=M;for(T=0;T<M;T+=1)this.fonts[T].loaded?w-=1:this.fonts[T].fOrigin==="n"||this.fonts[T].origin===0?this.fonts[T].loaded=!0:(g=this.fonts[T].monoCase.node,S=this.fonts[T].monoCase.w,g.offsetWidth!==S?(w-=1,this.fonts[T].loaded=!0):(g=this.fonts[T].sansCase.node,S=this.fonts[T].sansCase.w,g.offsetWidth!==S&&(w-=1,this.fonts[T].loaded=!0)),this.fonts[T].loaded&&(this.fonts[T].sansCase.parent.parentNode.removeChild(this.fonts[T].sansCase.parent),this.fonts[T].monoCase.parent.parentNode.removeChild(this.fonts[T].monoCase.parent)));w!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function d(T,M){var g=document.body&&M?"svg":"canvas",S,w=getFontProperties(T);if(g==="svg"){var F=createNS("text");F.style.fontSize="100px",F.setAttribute("font-family",T.fFamily),F.setAttribute("font-style",w.style),F.setAttribute("font-weight",w.weight),F.textContent="1",T.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",T.fClass)):F.style.fontFamily=T.fFamily,M.appendChild(F),S=F}else{var B=new OffscreenCanvas(500,500).getContext("2d");B.font=w.style+" "+w.weight+" 100px "+T.fFamily,S=B}function G(z){return g==="svg"?(S.textContent=z,S.getComputedTextLength()):S.measureText(z).width}return{measureText:G}}function C(T,M){if(!T){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=T.list;return}if(!document.body){this.isLoaded=!0,T.list.forEach(function(U){U.helper=d(U),U.cache={}}),this.fonts=T.list;return}var g=T.list,S,w=g.length,F=w;for(S=0;S<w;S+=1){var B=!0,G,z;if(g[S].loaded=!1,g[S].monoCase=b(g[S].fFamily,"monospace"),g[S].sansCase=b(g[S].fFamily,"sans-serif"),!g[S].fPath)g[S].loaded=!0,F-=1;else if(g[S].fOrigin==="p"||g[S].origin===3){if(G=document.querySelectorAll('style[f-forigin="p"][f-family="'+g[S].fFamily+'"], style[f-origin="3"][f-family="'+g[S].fFamily+'"]'),G.length>0&&(B=!1),B){var N=createTag("style");N.setAttribute("f-forigin",g[S].fOrigin),N.setAttribute("f-origin",g[S].origin),N.setAttribute("f-family",g[S].fFamily),N.type="text/css",N.innerText="@font-face {font-family: "+g[S].fFamily+"; font-style: normal; src: url('"+g[S].fPath+"');}",M.appendChild(N)}}else if(g[S].fOrigin==="g"||g[S].origin===1){for(G=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),z=0;z<G.length;z+=1)G[z].href.indexOf(g[S].fPath)!==-1&&(B=!1);if(B){var j=createTag("link");j.setAttribute("f-forigin",g[S].fOrigin),j.setAttribute("f-origin",g[S].origin),j.type="text/css",j.rel="stylesheet",j.href=g[S].fPath,document.body.appendChild(j)}}else if(g[S].fOrigin==="t"||g[S].origin===2){for(G=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),z=0;z<G.length;z+=1)g[S].fPath===G[z].src&&(B=!1);if(B){var q=createTag("link");q.setAttribute("f-forigin",g[S].fOrigin),q.setAttribute("f-origin",g[S].origin),q.setAttribute("rel","stylesheet"),q.setAttribute("href",g[S].fPath),M.appendChild(q)}}g[S].helper=d(g[S],M),g[S].cache={},this.fonts.push(g[S])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function c(T){if(T){this.chars||(this.chars=[]);var M,g=T.length,S,w=this.chars.length,F;for(M=0;M<g;M+=1){for(S=0,F=!1;S<w;)this.chars[S].style===T[M].style&&this.chars[S].fFamily===T[M].fFamily&&this.chars[S].ch===T[M].ch&&(F=!0),S+=1;F||(this.chars.push(T[M]),w+=1)}}}function u(T,M,g){for(var S=0,w=this.chars.length;S<w;){if(this.chars[S].ch===T&&this.chars[S].style===M&&this.chars[S].fFamily===g)return this.chars[S];S+=1}return(typeof T=="string"&&T.charCodeAt(0)!==13||!T)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",T,M,g)),e}function p(T,M,g){var S=this.getFontByName(M),w=T;if(!S.cache[w]){var F=S.helper;if(T===" "){var B=F.measureText("|"+T+"|"),G=F.measureText("||");S.cache[w]=(B-G)/100}else S.cache[w]=F.measureText(T)/100}return S.cache[w]*g}function v(T){for(var M=0,g=this.fonts.length;M<g;){if(this.fonts[M].fName===T)return this.fonts[M];M+=1}return this.fonts[0]}function E(T){var M=0,g=T.charCodeAt(0);if(g>=55296&&g<=56319){var S=T.charCodeAt(1);S>=56320&&S<=57343&&(M=(g-55296)*1024+S-56320+65536)}return M}function _(T,M){var g=T.toString(16)+M.toString(16);return P.indexOf(g)!==-1}function A(T){return T===o}function x(T){return T===l}function k(T){var M=E(T);return M>=h&&M<=m}function R(T){return k(T.substr(0,2))&&k(T.substr(2,2))}function V(T){return r.indexOf(T)!==-1}function I(T,M){var g=E(T.substr(M,2));if(g!==i)return!1;var S=0;for(M+=2;S<5;){if(g=E(T.substr(M,2)),g<a||g>n)return!1;S+=1,M+=2}return E(T.substr(M,2))===s}function D(){this.isLoaded=!0}var O=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)};O.isModifier=_,O.isZeroWidthJoiner=A,O.isFlagEmoji=R,O.isRegionalCode=k,O.isCombinedCharacter=V,O.isRegionalFlag=I,O.isVariationSelector=x,O.BLACK_FLAG_CODE_POINT=i;var L={addChars:c,addFonts:C,getCharData:u,getFontByName:v,measureText:p,checkLoadedFonts:y,setIsLoaded:D};return O.prototype=L,O}();function SlotManager(t){this.animationData=t}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?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 e,r=this.renderableComponents.length;for(e=0;e<r;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r=t.ef||[];this.effectElements=[];var i,s=r.length,a;for(i=0;i<s;i+=1)a=new GroupEffect(r[i],e),this.effectElements.push(a)}function GroupEffect(t,e){this.init(t,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,i=this.data.ef.length,s,a=this.data.ef;for(r=0;r<i;r+=1){switch(s=null,a[r].ty){case 0:s=new SliderEffect(a[r],e,this);break;case 1:s=new AngleEffect(a[r],e,this);break;case 2:s=new ColorEffect(a[r],e,this);break;case 3:s=new PointEffect(a[r],e,this);break;case 4:case 7:s=new CheckboxEffect(a[r],e,this);break;case 10:s=new LayerIndexEffect(a[r],e,this);break;case 11:s=new MaskIndexEffect(a[r],e,this);break;case 5:s=new EffectsManager(a[r],e);break;default:s=new NoValueEffect(a[r]);break}s&&this.effectElements.push(s)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,r=this.data.masksProperties.length;e<r;){if(this.data.masksProperties[e].mode!=="n"&&this.data.masksProperties[e].cl!==!1)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var r=e("layer"),i=e("effects"),s=e("shape"),a=e("text"),n=e("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var l=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(l),this.data.ty===0||this.data.xt?this.compInterface=n(this):this.data.ty===4?(this.layerInterface.shapeInterface=s(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=e},initBaseData:function(e,r,i){this.globalData=r,this.comp=i,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,r){var i,s=this.dynamicProperties.length;for(i=0;i<s;i+=1)(r||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&this.dynamicProperties.push(e)}};function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}AudioElement.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 r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(t){var e,r=this.layers.length,i;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(i=this.layers[e],i.ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,r=t.length,i,s=this.layers.length;for(e=0;e<r;e+=1)for(i=0;i<s;){if(this.layers[i].id===t[e].id){this.layers[i]=t[e];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,s=this.layers,a=0,n=s.length;a<n;)s[a].ind==e&&(!i[a]||i[a]===!0?(this.buildItem(a),this.addPendingElement(t)):(r.push(i[a]),i[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(t,s[a].parent,r):t.setHierarchy(r))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(t){var e,r=this.elements.length;for(e=0;e<r;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e=t.shift(),r;if(typeof e=="number")r=this.elements[e];else{var i,s=this.elements.length;for(i=0;i<s;i+=1)if(this.elements[i].data.nm===e){r=this.elements[i];break}}return t.length===0?r:r.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(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 effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,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 e,r=this.finalTransform.mat,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,r.cloneFromProps(e),i=0;i<s;i+=1)r.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,r=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<r;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),e=1;e<r;e+=1){var s=this.localTransforms[e].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(e=0;e<r;e+=1)a*=this.localTransforms[e].opacity*.01;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var r=0,i=e.length;for(r=0;r<i;r+=1)this.localTransforms.push(e[r])}}},globalToLocal:function(e){var r=[];r.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&r.splice(0,0,s.finalTransform),s=s.comp):i=!1;var a,n=r.length,l;for(a=0;a<n;a+=1)l=r[a].mat.applyToPointArray(0,0,0),e=[e[0]-l[0],e[1]-l[1],0];return e},mHelper:new Matrix};function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i=this.globalData.defs,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var n,l=this.masksProperties,o=0,h=[],m,P,f=createElementID(),b,y,d,C,c="clipPath",u="clip-path";for(s=0;s<a;s+=1)if((l[s].mode!=="a"&&l[s].mode!=="n"||l[s].inv||l[s].o.k!==100||l[s].o.x)&&(c="mask",u="mask"),(l[s].mode==="s"||l[s].mode==="i")&&o===0?(b=createNS("rect"),b.setAttribute("fill","#ffffff"),b.setAttribute("width",this.element.comp.data.w||0),b.setAttribute("height",this.element.comp.data.h||0),h.push(b)):b=null,n=createNS("path"),l[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),elem:n,lastPath:""},i.appendChild(n);else{o+=1,n.setAttribute("fill",l[s].mode==="s"?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero");var p;if(l[s].x.k!==0?(c="mask",u="mask",C=PropertyFactory.getProp(this.element,l[s].x,0,null,this.element),p=createElementID(),y=createNS("filter"),y.setAttribute("id",p),d=createNS("feMorphology"),d.setAttribute("operator","erode"),d.setAttribute("in","SourceGraphic"),d.setAttribute("radius","0"),y.appendChild(d),i.appendChild(y),n.setAttribute("stroke",l[s].mode==="s"?"#000000":"#ffffff")):(d=null,C=null),this.storedData[s]={elem:n,x:C,expan:d,lastPath:"",lastOperator:"",filterId:p,lastRadius:0},l[s].mode==="i"){P=h.length;var v=createNS("g");for(m=0;m<P;m+=1)v.appendChild(h[m]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",f+"_"+o),E.appendChild(n),i.appendChild(E),v.setAttribute("mask","url("+getLocationHref()+"#"+f+"_"+o+")"),h.length=0,h.push(v)}else h.push(n);l[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),invRect:b},this.viewData[s].prop.k||this.drawPath(l[s],this.viewData[s].prop.v,this.viewData[s])}for(this.maskElement=createNS(c),a=h.length,s=0;s<a;s+=1)this.maskElement.appendChild(h[s]);o>0&&(this.maskElement.setAttribute("id",f),this.element.maskedElement.setAttribute(u,"url("+getLocationHref()+"#"+f+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r<i;r+=1)if((this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),this.masksProperties[r].mode!=="n"&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||t))){var s=this.storedData[r].expan;this.storedData[r].x.v<0?(this.storedData[r].lastOperator!=="erode"&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),s.setAttribute("radius",-this.storedData[r].x.v)):(this.storedData[r].lastOperator!=="dilate"&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",this.storedData[r].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var 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},MaskElement.prototype.drawPath=function(t,e,r){var i=" M"+e.v[0][0]+","+e.v[0][1],s,a;for(a=e._length,s=1;s<a;s+=1)i+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[s][0]+","+e.i[s][1]+" "+e.v[s][0]+","+e.v[s][1];if(e.c&&a>1&&(i+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==i){var n="";r.elem&&(e.c&&(n=t.inv?this.solidPath+i:i),r.elem.setAttribute("d",n)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(i,s){var a=createNS("filter");return a.setAttribute("id",i),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return t}(),featureSupport=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}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,r="SourceGraphic",i=t.data.ef?t.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),n=0;this.filters=[];var l;for(e=0;e<i;e+=1){l=null;var o=t.data.ef[e].ty;if(registeredEffects$1[o]){var h=registeredEffects$1[o].effect;l=new h(a,t.effectsManager.effectElements[e],t,idPrefix+n,r),r=idPrefix+n,registeredEffects$1[o].countsAsEffect&&(n+=1)}l&&this.filters.push(l)}n&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&t.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,r=this.filters.length,i=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&i.push(this.filters[e]);return i};function registerEffect$1(t,e,r){registeredEffects$1[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var r=createNS("g");r.setAttribute("id",this.layerId),r.appendChild(this.layerElement),e=r,this.globalData.defs.appendChild(r)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),s=createNS("path");s.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(i.setAttribute("id",a),i.appendChild(s),this.globalData.defs.appendChild(i),this.checkMasks()){var n=createNS("g");n.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),n.appendChild(this.layerElement),this.transformedElement=n,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+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 MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var r=this.layerId+"_"+e,i,s,a,n;if(e===1||e===3){var l=createNS("mask");l.setAttribute("id",r),l.setAttribute("mask-type",e===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(a),this.globalData.defs.appendChild(l),!featureSupport.maskType&&e===1&&(l.setAttribute("mask-type","luminance"),i=createElementID(),s=filtersFactory.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),n.appendChild(a),l.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(e===2){var o=createNS("mask");o.setAttribute("id",r),o.setAttribute("mask-type","alpha");var h=createNS("g");o.appendChild(h),i=createElementID(),s=filtersFactory.createFilter(i);var m=createNS("feComponentTransfer");m.setAttribute("in","SourceGraphic"),s.appendChild(m);var P=createNS("feFuncA");P.setAttribute("type","table"),P.setAttribute("tableValues","1.0 0.0"),m.appendChild(P),this.globalData.defs.appendChild(s);var f=createNS("rect");f.setAttribute("width",this.comp.data.w),f.setAttribute("height",this.comp.data.h),f.setAttribute("x","0"),f.setAttribute("y","0"),f.setAttribute("fill","#ffffff"),f.setAttribute("opacity","0"),h.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),h.appendChild(f),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(a),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),h.appendChild(f),n.appendChild(this.layerElement),h.appendChild(n)),this.globalData.defs.appendChild(o)}this.matteMasks[e]=r}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var t={initElement:function(r,i,s){this.initFrame(),this.initBaseData(r,i,s),this.initTransform(r,i,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var r=this.baseElement||this.layerElement;r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var r=this.baseElement||this.layerElement;r.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(r){this._mdf=!1,this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)})();function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(e){var r,i=this.shapeModifiers.length;for(r=0;r<i;r+=1)this.shapeModifiers[r].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var r=0,i=this.shapeModifiers.length;r<i;)if(this.shapeModifiers[r].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,r=this.shapes.length;for(e=0;e<r;e+=1)this.shapes[e].sh.reset();r=this.shapeModifiers.length;var i;for(e=r-1;e>=0&&(i=this.shapeModifiers[e].processShapes(this._isFirstFrame),!i);e-=1);}},searchProcessedElement:function(e){for(var r=this.processedElements,i=0,s=r.length;i<s;){if(r[i].elem===e)return r[i].pos;i+=1}return 0},addProcessedElement:function(e,r){for(var i=this.processedElements,s=i.length;s;)if(s-=1,i[s].elem===e){i[s].pos=r;return}i.push(new ProcessedElement(e,r))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,s=t.length;i<s;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(t,e,r,i){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,a=e.length||0,n;for(s=0;s<a;s+=1)n=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=n.k||this.k,this.dataProps[s]={n:e[s].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.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,r=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<r;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}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var i=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2,s;r<i;){if(s=Math.abs(t[r*4]-t[e*4+r*2]),s>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var 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},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r=this.data.p*4,i,s;for(e=0;e<r;e+=1)i=e%4===0?100:255,s=Math.round(this.prop.v[e]*i),this.c[e]!==s&&(this.c[e]=s,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=this.data.p*4;e<r;e+=1)i=e%2===0?100:1,s=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==s&&(this.o[e-this.data.p*4]=s,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(e.t===1?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s=[],a,n,l;for(l=e.g.p*4,n=0;n<l;n+=4)a=createNS("stop"),i.appendChild(a),s.push(a);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,s,a=createNS("mask"),n=createNS("path");a.appendChild(n);var l=createElementID(),o=createElementID();a.setAttribute("id",o);var h=createNS(t.t===1?"linearGradient":"radialGradient");h.setAttribute("id",l),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var m=this.stops;for(i=t.g.p*4;i<s;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(r),m.push(r);n.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),t.ty==="gs"&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&n.setAttribute("stroke-miterlimit",t.ml)),this.of=h,this.ms=a,this.ost=m,this.maskId=o,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(e,r,i,s){if(r===0)return"";var a=e.o,n=e.i,l=e.v,o,h=" M"+s.applyToPointStringified(l[0][0],l[0][1]);for(o=1;o<r;o+=1)h+=" C"+s.applyToPointStringified(a[o-1][0],a[o-1][1])+" "+s.applyToPointStringified(n[o][0],n[o][1])+" "+s.applyToPointStringified(l[o][0],l[o][1]);return i&&r&&(h+=" C"+s.applyToPointStringified(a[o-1][0],a[o-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(l[0][0],l[0][1]),h+="z"),h},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,r={createRenderFunction:i};function i(P){switch(P.ty){case"fl":return l;case"gf":return h;case"gs":return o;case"st":return m;case"sh":case"el":case"rc":case"sr":return n;case"tr":return s;case"no":return a;default:return null}}function s(P,f,b){(b||f.transform.op._mdf)&&f.transform.container.setAttribute("opacity",f.transform.op.v),(b||f.transform.mProps._mdf)&&f.transform.container.setAttribute("transform",f.transform.mProps.v.to2dCSS())}function a(){}function n(P,f,b){var y,d,C,c,u,p,v=f.styles.length,E=f.lvl,_,A,x,k;for(p=0;p<v;p+=1){if(c=f.sh._mdf||b,f.styles[p].lvl<E){for(A=e.reset(),x=E-f.styles[p].lvl,k=f.transformers.length-1;!c&&x>0;)c=f.transformers[k].mProps._mdf||c,x-=1,k-=1;if(c)for(x=E-f.styles[p].lvl,k=f.transformers.length-1;x>0;)A.multiply(f.transformers[k].mProps.v),x-=1,k-=1}else A=t;if(_=f.sh.paths,d=_._length,c){for(C="",y=0;y<d;y+=1)u=_.shapes[y],u&&u._length&&(C+=buildShapeString(u,u._length,u.c,A));f.caches[p]=C}else C=f.caches[p];f.styles[p].d+=P.hd===!0?"":C,f.styles[p]._mdf=c||f.styles[p]._mdf}}function l(P,f,b){var y=f.style;(f.c._mdf||b)&&y.pElem.setAttribute("fill","rgb("+bmFloor(f.c.v[0])+","+bmFloor(f.c.v[1])+","+bmFloor(f.c.v[2])+")"),(f.o._mdf||b)&&y.pElem.setAttribute("fill-opacity",f.o.v)}function o(P,f,b){h(P,f,b),m(P,f,b)}function h(P,f,b){var y=f.gf,d=f.g._hasOpacity,C=f.s.v,c=f.e.v;if(f.o._mdf||b){var u=P.ty==="gf"?"fill-opacity":"stroke-opacity";f.style.pElem.setAttribute(u,f.o.v)}if(f.s._mdf||b){var p=P.t===1?"x1":"cx",v=p==="x1"?"y1":"cy";y.setAttribute(p,C[0]),y.setAttribute(v,C[1]),d&&!f.g._collapsable&&(f.of.setAttribute(p,C[0]),f.of.setAttribute(v,C[1]))}var E,_,A,x;if(f.g._cmdf||b){E=f.cst;var k=f.g.c;for(A=E.length,_=0;_<A;_+=1)x=E[_],x.setAttribute("offset",k[_*4]+"%"),x.setAttribute("stop-color","rgb("+k[_*4+1]+","+k[_*4+2]+","+k[_*4+3]+")")}if(d&&(f.g._omdf||b)){var R=f.g.o;for(f.g._collapsable?E=f.cst:E=f.ost,A=E.length,_=0;_<A;_+=1)x=E[_],f.g._collapsable||x.setAttribute("offset",R[_*2]+"%"),x.setAttribute("stop-opacity",R[_*2+1])}if(P.t===1)(f.e._mdf||b)&&(y.setAttribute("x2",c[0]),y.setAttribute("y2",c[1]),d&&!f.g._collapsable&&(f.of.setAttribute("x2",c[0]),f.of.setAttribute("y2",c[1])));else{var V;if((f.s._mdf||f.e._mdf||b)&&(V=Math.sqrt(Math.pow(C[0]-c[0],2)+Math.pow(C[1]-c[1],2)),y.setAttribute("r",V),d&&!f.g._collapsable&&f.of.setAttribute("r",V)),f.e._mdf||f.h._mdf||f.a._mdf||b){V||(V=Math.sqrt(Math.pow(C[0]-c[0],2)+Math.pow(C[1]-c[1],2)));var I=Math.atan2(c[1]-C[1],c[0]-C[0]),D=f.h.v;D>=1?D=.99:D<=-1&&(D=-.99);var O=V*D,L=Math.cos(I+f.a.v)*O+C[0],T=Math.sin(I+f.a.v)*O+C[1];y.setAttribute("fx",L),y.setAttribute("fy",T),d&&!f.g._collapsable&&(f.of.setAttribute("fx",L),f.of.setAttribute("fy",T))}}}function m(P,f,b){var y=f.style,d=f.d;d&&(d._mdf||b)&&d.dashStr&&(y.pElem.setAttribute("stroke-dasharray",d.dashStr),y.pElem.setAttribute("stroke-dashoffset",d.dashoffset[0])),f.c&&(f.c._mdf||b)&&y.pElem.setAttribute("stroke","rgb("+bmFloor(f.c.v[0])+","+bmFloor(f.c.v[1])+","+bmFloor(f.c.v[2])+")"),(f.o._mdf||b)&&y.pElem.setAttribute("stroke-opacity",f.o.v),(f.w._mdf||b)&&(y.pElem.setAttribute("stroke-width",f.w.v),y.msElem&&y.msElem.setAttribute("stroke-width",f.w.v))}return r}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,r,i,s=this.stylesList.length,a,n=[],l=!1;for(i=0;i<s;i+=1){for(a=this.stylesList[i],l=!1,n.length=0,t=0;t<e;t+=1)r=this.shapes[t],r.styles.indexOf(a)!==-1&&(n.push(r),l=r._isAnimated||l);n.length>1&&l&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),s=i.pElem;if(t.ty==="st")r=new SVGStrokeStyleData(this,t,i);else if(t.ty==="fl")r=new SVGFillStyleData(this,t,i);else if(t.ty==="gf"||t.ty==="gs"){var a=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new a(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),s.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else t.ty==="no"&&(r=new SVGNoStyleData(this,t,i));return(t.ty==="st"||t.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),t.lj===1&&s.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;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"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;t.ty==="rc"?i=5:t.ty==="el"?i=6:t.ty==="sr"&&(i=7);var s=ShapePropertyFactory.getShapeProp(this,t,i,this),a=new SVGShapeData(e,r,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e=t.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)this.stylesList[r].closed||e.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,s,a,n){var l=[].concat(a),o,h=t.length-1,m,P,f=[],b=[],y,d,C;for(o=h;o>=0;o-=1){if(C=this.searchProcessedElement(t[o]),C?e[o]=r[C-1]:t[o]._render=n,t[o].ty==="fl"||t[o].ty==="st"||t[o].ty==="gf"||t[o].ty==="gs"||t[o].ty==="no")C?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],s),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),f.push(e[o].style);else if(t[o].ty==="gr"){if(!C)e[o]=this.createGroupElement(t[o]);else for(P=e[o].it.length,m=0;m<P;m+=1)e[o].prevViewData[m]=e[o].it[m];this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,s+1,l,n),t[o]._render&&e[o].gr.parentNode!==i&&i.appendChild(e[o].gr)}else t[o].ty==="tr"?(C||(e[o]=this.createTransformElement(t[o],i)),y=e[o].transform,l.push(y)):t[o].ty==="sh"||t[o].ty==="rc"||t[o].ty==="el"||t[o].ty==="sr"?(C||(e[o]=this.createShapeElement(t[o],l,s)),this.setElementStyles(e[o])):t[o].ty==="tm"||t[o].ty==="rd"||t[o].ty==="ms"||t[o].ty==="pb"||t[o].ty==="zz"||t[o].ty==="op"?(C?(d=e[o],d.closed=!1):(d=ShapeModifiers.getModifier(t[o].ty),d.init(this,t[o]),e[o]=d,this.shapeModifiers.push(d)),b.push(d)):t[o].ty==="rp"&&(C?(d=e[o],d.closed=!0):(d=ShapeModifiers.getModifier(t[o].ty),e[o]=d,d.init(this,t,o,e),this.shapeModifiers.push(d),n=!1),b.push(d));this.addProcessedElement(t[o],o+1)}for(h=f.length,o=0;o<h;o+=1)f[o].closed=!0;for(h=b.length,o=0;o<h;o+=1)b[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e=this.animatedContents.length,r;for(t=0;t<e;t+=1)r=this.animatedContents[t],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(t,e,r,i,s,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(t,e,r,i,s,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var n=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,n=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,n=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,n=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,n=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,n=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,n=!0),n};function TextProperty(t,e){this._frameId=initialDefaultFrame,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)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.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,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)r!==this.keysIndex?a=this.effectsSequence[i](a,a.t):a=this.effectsSequence[i](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&!(r===i-1||t[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],r=0,i=t.length,s,a,n=!1,l=!1,o="";r<i;)n=l,l=!1,s=t.charCodeAt(r),o=t.charAt(r),FontManager.isCombinedCharacter(s)?n=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(t,r)?o=t.substr(r,14):(a=t.charCodeAt(r+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(o=t.substr(r,2),n=!0):FontManager.isFlagEmoji(t.substr(r,4))?o=t.substr(r,4):o=t.substr(r,2))):s>56319?(a=t.charCodeAt(r+1),FontManager.isVariationSelector(s)&&(n=!0)):FontManager.isZeroWidthJoiner(s)&&(n=!0,l=!0),n?(e[e.length-1]+=o,n=!1):e.push(o),r+=o.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,i=[],s,a,n,l=0,o,h=r.m.g,m=0,P=0,f=0,b=[],y=0,d=0,C,c,u=e.getFontByName(t.f),p,v=0,E=getFontProperties(u);t.fWeight=E.weight,t.fStyle=E.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var _=t.tr/1e3*t.finalSize,A;if(t.sz)for(var x=!0,k=t.sz[0],R=t.sz[1],V,I;x;){I=this.buildFinalText(t.t),V=0,y=0,a=I.length,_=t.tr/1e3*t.finalSize;var D=-1;for(s=0;s<a;s+=1)A=I[s].charCodeAt(0),n=!1,I[s]===" "?D=s:(A===13||A===3)&&(y=0,n=!0,V+=t.finalLineHeight||t.finalSize*1.2),e.chars?(p=e.getCharData(I[s],u.fStyle,u.fFamily),v=n?0:p.w*t.finalSize/100):v=e.measureText(I[s],t.f,t.finalSize),y+v>k&&I[s]!==" "?(D===-1?a+=1:s=D,V+=t.finalLineHeight||t.finalSize*1.2,I.splice(s,D===s?1:0,"\r"),D=-1,y=0):(y+=v,y+=_);V+=u.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&R<V?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=I,a=t.finalText.length,x=!1)}y=-_,v=0;var O=0,L;for(s=0;s<a;s+=1)if(n=!1,L=t.finalText[s],A=L.charCodeAt(0),A===13||A===3?(O=0,b.push(y),d=y>d?y:d,y=-2*_,o="",n=!0,f+=1):o=L,e.chars?(p=e.getCharData(L,u.fStyle,e.getFontByName(t.f).fFamily),v=n?0:p.w*t.finalSize/100):v=e.measureText(o,t.f,t.finalSize),L===" "?O+=v+_:(y+=v+_+O,O=0),i.push({l:v,an:v,add:m,n,anIndexes:[],val:o,line:f,animatorJustifyOffset:0}),h==2){if(m+=v,o===""||o===" "||s===a-1){for((o===""||o===" ")&&(m-=v);P<=s;)i[P].an=m,i[P].ind=l,i[P].extra=v,P+=1;l+=1,m=0}}else if(h==3){if(m+=v,o===""||s===a-1){for(o===""&&(m-=v);P<=s;)i[P].an=m,i[P].ind=l,i[P].extra=v,P+=1;m=0,l+=1}}else i[l].ind=l,i[l].extra=0,l+=1;if(t.l=i,d=y>d?y:d,b.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=d,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=b;var T=r.a,M,g;c=T.length;var S,w,F=[];for(C=0;C<c;C+=1){for(M=T[C],M.a.sc&&(t.strokeColorAnim=!0),M.a.sw&&(t.strokeWidthAnim=!0),(M.a.fc||M.a.fh||M.a.fs||M.a.fb)&&(t.fillColorAnim=!0),w=0,S=M.s.b,s=0;s<a;s+=1)g=i[s],g.anIndexes[C]=w,(S==1&&g.val!==""||S==2&&g.val!==""&&g.val!==" "||S==3&&(g.n||g.val==" "||s==a-1)||S==4&&(g.n||s==a-1))&&(M.s.rn===1&&F.push(w),w+=1);r.a[C].s.totalChars=w;var B=-1,G;if(M.s.rn===1)for(s=0;s<a;s+=1)g=i[s],B!=g.anIndexes[C]&&(B=g.anIndexes[C],G=F.splice(Math.floor(Math.random()*F.length),1)[0]),g.anIndexes[C]=G}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=u.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=e===void 0?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(a,n){this._currentTextLength=-1,this.k=!1,this.data=n,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,n.s||{k:0},0,0,this),"e"in n?this.e=PropertyFactory.getProp(a,n.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,n.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,n.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,n.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,n.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,n.a,0,.01,this),this.dynamicProperties.length||this.getValue()}i.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var l=0,o=0,h=1,m=1;this.ne.v>0?l=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?h=1-this.xe.v/100:m=1+this.xe.v/100;var P=BezierFactory.getBezierEasing(l,o,h,m).get,f=0,b=this.finalS,y=this.finalE,d=this.data.sh;if(d===2)y===b?f=n>=y?1:0:f=t(0,e(.5/(y-b)+(n-b)/(y-b),1)),f=P(f);else if(d===3)y===b?f=n>=y?0:1:f=1-t(0,e(.5/(y-b)+(n-b)/(y-b),1)),f=P(f);else if(d===4)y===b?f=0:(f=t(0,e(.5/(y-b)+(n-b)/(y-b),1)),f<.5?f*=2:f=1-2*(f-.5)),f=P(f);else if(d===5){if(y===b)f=0;else{var C=y-b;n=e(t(0,n+.5-b),y-b);var c=-C/2+n,u=C/2;f=Math.sqrt(1-c*c/(u*u))}f=P(f)}else d===6?(y===b?f=0:(n=e(t(0,n+.5-b),y-b),f=(1+Math.cos(Math.PI+Math.PI*2*n/(y-b)))/2),f=P(f)):(n>=r(b)&&(n-b<0?f=t(0,e(e(y,1)-(b-n),1)):f=t(0,e(y-n,1))),f=P(f));if(this.sm.v!==100){var p=this.sm.v*.01;p===0&&(p=1e-8);var v=.5-p*.5;f<v?f=0:(f=(f-v)/p,f>1&&(f=1))}return f*this.a.v},getValue:function(n){this.iterateDynamicProperties(),this._mdf=n||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,n&&this.data.r===2&&(this.e.v=this._currentTextLength);var l=this.data.r===2?1:100/this.data.totalChars,o=this.o.v/l,h=this.s.v/l+o,m=this.e.v/l+o;if(h>m){var P=h;h=m,m=P}this.finalS=h,this.finalE=m}},extendPrototype([DynamicPropertyContainer],i);function s(a,n,l){return new i(a,n)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,r):i,rx:a.rx?s(t,a.rx,0,degToRads,r):i,ry:a.ry?s(t,a.ry,0,degToRads,r):i,sk:a.sk?s(t,a.sk,0,degToRads,r):i,sa:a.sa?s(t,a.sa,0,degToRads,r):i,s:a.s?s(t,a.s,1,.01,r):i,a:a.a?s(t,a.a,1,0,r):i,o:a.o?s(t,a.o,0,.01,r):i,p:a.p?s(t,a.p,1,0,r):i,sw:a.sw?s(t,a.sw,0,0,r):i,sc:a.sc?s(t,a.sc,1,0,r):i,fc:a.fc?s(t,a.fc,1,0,r):i,fh:a.fh?s(t,a.fh,0,0,r):i,fs:a.fs?s(t,a.fs,0,.01,r):i,fb:a.fb?s(t,a.fb,0,.01,r):i,t:a.t?s(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,r,i=PropertyFactory.getProp;for(t=0;t<e;t+=1)r=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,r,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var r=this._moreOptions.alignment.v,i=this._animatorsData,s=this._textData,a=this.mHelper,n=this._renderType,l=this.renderedLetters.length,o,h,m,P,f=t.l,b,y,d,C,c,u,p,v,E,_,A,x,k,R,V;if(this._hasMaskedPath){if(V=this._pathData.m,!this._pathData.n||this._pathData._mdf){var I=V.v;this._pathData.r.v&&(I=I.reverse()),b={tLength:0,segments:[]},P=I._length-1;var D;for(x=0,m=0;m<P;m+=1)D=bez.buildBezierData(I.v[m],I.v[m+1],[I.o[m][0]-I.v[m][0],I.o[m][1]-I.v[m][1]],[I.i[m+1][0]-I.v[m+1][0],I.i[m+1][1]-I.v[m+1][1]]),b.tLength+=D.segmentLength,b.segments.push(D),x+=D.segmentLength;m=P,V.v.c&&(D=bez.buildBezierData(I.v[m],I.v[0],[I.o[m][0]-I.v[m][0],I.o[m][1]-I.v[m][1]],[I.i[0][0]-I.v[0][0],I.i[0][1]-I.v[0][1]]),b.tLength+=D.segmentLength,b.segments.push(D),x+=D.segmentLength),this._pathData.pi=b}if(b=this._pathData.pi,y=this._pathData.f.v,p=0,u=1,C=0,c=!0,_=b.segments,y<0&&V.v.c)for(b.tLength<Math.abs(y)&&(y=-Math.abs(y)%b.tLength),p=_.length-1,E=_[p].points,u=E.length-1;y<0;)y+=E[u].partialLength,u-=1,u<0&&(p-=1,E=_[p].points,u=E.length-1);E=_[p].points,v=E[u-1],d=E[u],A=d.partialLength}P=f.length,o=0,h=0;var O=t.finalSize*1.2*.714,L=!0,T,M,g,S,w;S=i.length;var F,B=-1,G,z,N,j=y,q=p,U=u,Q=-1,Y,W,X,H,$,et,at,rt,tt="",it=this.defaultPropsArray,st;if(t.j===2||t.j===1){var K=0,nt=0,ot=t.j===2?-.5:-1,Z=0,lt=!0;for(m=0;m<P;m+=1)if(f[m].n){for(K&&(K+=nt);Z<m;)f[Z].animatorJustifyOffset=K,Z+=1;K=0,lt=!0}else{for(g=0;g<S;g+=1)T=i[g].a,T.t.propType&&(lt&&t.j===2&&(nt+=T.t.v*ot),M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),F.length?K+=T.t.v*F[0]*ot:K+=T.t.v*F*ot);lt=!1}for(K&&(K+=nt);Z<m;)f[Z].animatorJustifyOffset=K,Z+=1}for(m=0;m<P;m+=1){if(a.reset(),Y=1,f[m].n)o=0,h+=t.yOffset,h+=L?1:0,y=j,L=!1,this._hasMaskedPath&&(p=q,u=U,E=_[p].points,v=E[u-1],d=E[u],A=d.partialLength,C=0),tt="",rt="",et="",st="",it=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==f[m].line){switch(t.j){case 1:y+=x-t.lineWidths[f[m].line];break;case 2:y+=(x-t.lineWidths[f[m].line])/2;break}Q=f[m].line}B!==f[m].ind&&(f[B]&&(y+=f[B].extra),y+=f[m].an/2,B=f[m].ind),y+=r[0]*f[m].an*.005;var J=0;for(g=0;g<S;g+=1)T=i[g].a,T.p.propType&&(M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),F.length?J+=T.p.v[0]*F[0]:J+=T.p.v[0]*F),T.a.propType&&(M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),F.length?J+=T.a.v[0]*F[0]:J+=T.a.v[0]*F);for(c=!0,this._pathData.a.v&&(y=f[0].an*.5+(x-this._pathData.f.v-f[0].an*.5-f[f.length-1].an*.5)*B/(P-1),y+=this._pathData.f.v);c;)C+A>=y+J||!E?(k=(y+J-C)/d.partialLength,z=v.point[0]+(d.point[0]-v.point[0])*k,N=v.point[1]+(d.point[1]-v.point[1])*k,a.translate(-r[0]*f[m].an*.005,-(r[1]*O)*.01),c=!1):E&&(C+=d.partialLength,u+=1,u>=E.length&&(u=0,p+=1,_[p]?E=_[p].points:V.v.c?(u=0,p=0,E=_[p].points):(C-=d.partialLength,E=null)),E&&(v=d,d=E[u],A=d.partialLength));G=f[m].an/2-f[m].add,a.translate(-G,0,0)}else G=f[m].an/2-f[m].add,a.translate(-G,0,0),a.translate(-r[0]*f[m].an*.005,-r[1]*O*.01,0);for(g=0;g<S;g+=1)T=i[g].a,T.t.propType&&(M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),(o!==0||t.j!==0)&&(this._hasMaskedPath?F.length?y+=T.t.v*F[0]:y+=T.t.v*F:F.length?o+=T.t.v*F[0]:o+=T.t.v*F));for(t.strokeWidthAnim&&(X=t.sw||0),t.strokeColorAnim&&(t.sc?W=[t.sc[0],t.sc[1],t.sc[2]]:W=[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),g=0;g<S;g+=1)T=i[g].a,T.a.propType&&(M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),F.length?a.translate(-T.a.v[0]*F[0],-T.a.v[1]*F[1],T.a.v[2]*F[2]):a.translate(-T.a.v[0]*F,-T.a.v[1]*F,T.a.v[2]*F));for(g=0;g<S;g+=1)T=i[g].a,T.s.propType&&(M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),F.length?a.scale(1+(T.s.v[0]-1)*F[0],1+(T.s.v[1]-1)*F[1],1):a.scale(1+(T.s.v[0]-1)*F,1+(T.s.v[1]-1)*F,1));for(g=0;g<S;g+=1){if(T=i[g].a,M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),T.sk.propType&&(F.length?a.skewFromAxis(-T.sk.v*F[0],T.sa.v*F[1]):a.skewFromAxis(-T.sk.v*F,T.sa.v*F)),T.r.propType&&(F.length?a.rotateZ(-T.r.v*F[2]):a.rotateZ(-T.r.v*F)),T.ry.propType&&(F.length?a.rotateY(T.ry.v*F[1]):a.rotateY(T.ry.v*F)),T.rx.propType&&(F.length?a.rotateX(T.rx.v*F[0]):a.rotateX(T.rx.v*F)),T.o.propType&&(F.length?Y+=(T.o.v*F[0]-Y)*F[0]:Y+=(T.o.v*F-Y)*F),t.strokeWidthAnim&&T.sw.propType&&(F.length?X+=T.sw.v*F[0]:X+=T.sw.v*F),t.strokeColorAnim&&T.sc.propType)for($=0;$<3;$+=1)F.length?W[$]+=(T.sc.v[$]-W[$])*F[0]:W[$]+=(T.sc.v[$]-W[$])*F;if(t.fillColorAnim&&t.fc){if(T.fc.propType)for($=0;$<3;$+=1)F.length?H[$]+=(T.fc.v[$]-H[$])*F[0]:H[$]+=(T.fc.v[$]-H[$])*F;T.fh.propType&&(F.length?H=addHueToRGB(H,T.fh.v*F[0]):H=addHueToRGB(H,T.fh.v*F)),T.fs.propType&&(F.length?H=addSaturationToRGB(H,T.fs.v*F[0]):H=addSaturationToRGB(H,T.fs.v*F)),T.fb.propType&&(F.length?H=addBrightnessToRGB(H,T.fb.v*F[0]):H=addBrightnessToRGB(H,T.fb.v*F))}}for(g=0;g<S;g+=1)T=i[g].a,T.p.propType&&(M=i[g].s,F=M.getMult(f[m].anIndexes[g],s.a[g].s.totalChars),this._hasMaskedPath?F.length?a.translate(0,T.p.v[1]*F[0],-T.p.v[2]*F[1]):a.translate(0,T.p.v[1]*F,-T.p.v[2]*F):F.length?a.translate(T.p.v[0]*F[0],T.p.v[1]*F[1],-T.p.v[2]*F[2]):a.translate(T.p.v[0]*F,T.p.v[1]*F,-T.p.v[2]*F));if(t.strokeWidthAnim&&(et=X<0?0:X),t.strokeColorAnim&&(at="rgb("+Math.round(W[0]*255)+","+Math.round(W[1]*255)+","+Math.round(W[2]*255)+")"),t.fillColorAnim&&t.fc&&(rt="rgb("+Math.round(H[0]*255)+","+Math.round(H[1]*255)+","+Math.round(H[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-t.ls),a.translate(0,r[1]*O*.01+h,0),this._pathData.p.v){R=(d.point[1]-v.point[1])/(d.point[0]-v.point[0]);var ht=Math.atan(R)*180/Math.PI;d.point[0]<v.point[0]&&(ht+=180),a.rotate(-ht*Math.PI/180)}a.translate(z,N,0),y-=r[0]*f[m].an*.005,f[m+1]&&B!==f[m+1].ind&&(y+=f[m].an/2,y+=t.tr*.001*t.finalSize)}else{switch(a.translate(o,h,0),t.ps&&a.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:a.translate(f[m].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[m].line]),0,0);break;case 2:a.translate(f[m].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[m].line])/2,0,0);break}a.translate(0,-t.ls),a.translate(G,0,0),a.translate(r[0]*f[m].an*.005,r[1]*O*.01,0),o+=f[m].l+t.tr*.001*t.finalSize}n==="html"?tt=a.toCSS():n==="svg"?tt=a.to2dCSS():it=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],st=Y}l<=m?(w=new LetterProps(st,et,at,rt,tt,it),this.renderedLetters.push(w),l+=1,this.lettersChangedFlag=!0):(w=this.renderedLetters[m],this.lettersChangedFlag=w.update(st,et,at,rt,tt,it)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var r,i=e.length,s,a="";for(r=0;r<i;r+=1)e[r].ty==="sh"&&(s=e[r].ks.k,a+=buildShapeString(s,s.i.length,!0,t));return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,s){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[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0);break}e.translate(i,s,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,i=[],s="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(s),s=""):s+=t[e],e+=1;return i.push(s),i},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var s=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",r.t);var n=r.l||[],l=!!this.globalData.fontManager.chars;e=n.length;var o,h=this.mHelper,m="",P=this.data.singleShape,f=0,b=0,y=!0,d=r.tr*.001*r.finalSize;if(P&&!l&&!r.sz){var C=this.textContainer,c="start";switch(r.j){case 1:c="end";break;case 2:c="middle";break;default:c="start";break}C.setAttribute("text-anchor",c),C.setAttribute("letter-spacing",d);var u=this.buildTextContents(r.finalText);for(e=u.length,b=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)o=this.textSpans[t].span||createNS("tspan"),o.textContent=u[t],o.setAttribute("x",0),o.setAttribute("y",b),o.style.display="inherit",C.appendChild(o),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=o,b+=r.finalLineHeight;this.layerElement.appendChild(C)}else{var p=this.textSpans.length,v;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!P||t===0){if(o=p>t?this.textSpans[t].span:createNS(l?"g":"text"),p<=t){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=o,l){var E=createNS("g");o.appendChild(E),this.textSpans[t].childSpan=E}this.textSpans[t].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(h.reset(),P&&(n[t].n&&(f=-d,b+=r.yOffset,b+=y?1:0,y=!1),this.applyTextPropertiesToMatrix(r,h,n[t].line,f,b),f+=n[t].l||0,f+=d),l){v=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var _;if(v.t===1)_=new SVGCompElement(v.data,this.globalData,this);else{var A=emptyShapeData;v.data&&v.data.shapes&&(A=this.buildShapeData(v.data,r.finalSize)),_=new SVGShapeElement(A,this.globalData,this)}if(this.textSpans[t].glyph){var x=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[t].glyph=_,_._debug=!0,_.prepareFrame(0),_.renderFrame(),this.textSpans[t].childSpan.appendChild(_.layerElement),v.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else P&&o.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),o.textContent=n[t].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}P&&o&&o.setAttribute("d",m)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)r=this.textSpans[t].glyph,r&&(r.prepareFrame(this.comp.renderedFrame-this.data.st),r._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,e,r=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;e=i.length;var s,a,n;for(t=0;t<e;t+=1)i[t].n||(s=r[t],a=this.textSpans[t].span,n=this.textSpans[t].glyph,n&&n.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.fc))}};function ISolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.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 r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var s=createElementID();r.setAttribute("id",s),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,r=this.layers.length;for(e=0;e<r;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){e[t]=!0;var r=this.createItem(this.layers[t]);if(e[t]=r,getExpressionsPlugin()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt){var i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(i===-1)return;if(!this.elements[i]||this.elements[i]===!0)this.buildItem(i),this.addPendingElement(r);else{var s=e[i],a=s.getMatte(this.layers[t].tt);r.setMatte(a)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){var i="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[i],a=s.getMatte(this.layers[e].tt);t.setMatte(a);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-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<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var i=0,s;i<e;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&(s=this.elements[i].getBaseElement()),i+=1;s?this.layerElement.insertBefore(r,s):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.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 r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),r+=s}if(e&&e.description){var a=createNS("desc"),n=createElementID();a.setAttribute("id",n),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+n}r&&this.svgElement.setAttribute("aria-labelledby",r);var l=createNS("defs");this.svgElement.appendChild(l);var o=createNS("g");this.svgElement.appendChild(o),this.layerElement=o,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:l,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(e){var r,i=e.length,s="_";for(r=0;r<i;r+=1)s+=e[r].transform.key+"_";var a=this.sequences[s];return a||(a={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[s]=a,this.sequenceList.push(a)),a},processSequence:function(e,r){for(var i=0,s=e.transforms.length,a=r;i<s&&!r;){if(e.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(e.finalTransform.reset(),i=s-1;i>=0;i-=1)e.finalTransform.multiply(e.transforms[i].transform.mProps.v);e._mdf=a},processSequences:function(e){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",r=null,i=null,s=null;function a(){var o=createNS("svg"),h=createNS("filter"),m=createNS("feColorMatrix");return h.setAttribute("id",e),m.setAttribute("type","matrix"),m.setAttribute("color-interpolation-filters","sRGB"),m.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),h.appendChild(m),o.appendChild(h),o.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(o.style.display="none"),o}function n(){r||(s=a(),document.body.appendChild(s),r=createTag("canvas"),i=r.getContext("2d"),i.filter="url(#"+e+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function l(o){return r||n(),r.width=o.width,r.height=o.height,i.filter="url(#"+e+")",r}return{load:n,get:l}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var r=createTag("canvas");return r.width=t,r.height=e,r}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(t){var e,r=t.data.ef?t.data.ef.length:0;this.filters=[];var i;for(e=0;e<r;e+=1){i=null;var s=t.data.ef[e].ty;if(registeredEffects[s]){var a=registeredEffects[s].effect;i=new a(t.effectsManager.effectElements[e],t)}i&&this.filters.push(i)}this.filters.length&&t.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,r=this.filters.length,i=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&i.push(this.filters[e]);return i};function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,s=!1;for(r=0;r<i;r+=1)this.masksProperties[r].mode!=="n"&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t=this.element.finalTransform.mat,e=this.element.canvasContext,r,i=this.masksProperties.length,s,a,n;for(e.beginPath(),r=0;r<i;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(e.moveTo(0,0),e.lineTo(this.element.globalData.compSize.w,0),e.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),e.lineTo(0,this.element.globalData.compSize.h),e.lineTo(0,0)),n=this.viewData[r].v,s=t.applyToPointArray(n.v[0][0],n.v[0][1],0),e.moveTo(s[0],s[1]);var l,o=n._length;for(l=1;l<o;l+=1)a=t.applyToTriplePoints(n.o[l-1],n.i[l],n.v[l]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=t.applyToTriplePoints(n.o[l-1],n.i[0],n.v[0]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),e.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r);var i=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=s.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;e.ty==="rc"?s=5:e.ty==="el"?s=6:e.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,s,t);var a,n=r.length,l;for(a=0;a<n;a+=1)r[a].closed||(l={transforms:i.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(l),r[a].elements.push(l))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:t.hd===!0},i={};if(t.ty==="fl"||t.ty==="st"?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):(t.ty==="gf"||t.ty==="gs")&&(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.o=PropertyFactory.getProp(this,t.o,0,.01,this),t.ty==="st"||t.ty==="gs"){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],t.lj==1&&(r.ml=t.ml),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var s=new DashProperty(this,t.d,"canvas",this);i.d=s,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=t.r===2?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,s){var a,n=t.length-1,l,o,h=[],m=[],P,f,b,y=[].concat(s);for(a=n;a>=0;a-=1){if(P=this.searchProcessedElement(t[a]),P?e[a]=r[P-1]:t[a]._shouldRender=i,t[a].ty==="fl"||t[a].ty==="st"||t[a].ty==="gf"||t[a].ty==="gs")P?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],y),h.push(e[a].style);else if(t[a].ty==="gr"){if(!P)e[a]=this.createGroupElement(t[a]);else for(o=e[a].it.length,l=0;l<o;l+=1)e[a].prevViewData[l]=e[a].it[l];this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,i,y)}else t[a].ty==="tr"?(P||(b=this.createTransformElement(t[a]),e[a]=b),y.push(e[a]),this.addTransformToStyleList(e[a])):t[a].ty==="sh"||t[a].ty==="rc"||t[a].ty==="el"||t[a].ty==="sr"?P||(e[a]=this.createShapeElement(t[a])):t[a].ty==="tm"||t[a].ty==="rd"||t[a].ty==="pb"||t[a].ty==="zz"||t[a].ty==="op"?(P?(f=e[a],f.closed=!1):(f=ShapeModifiers.getModifier(t[a].ty),f.init(this,t[a]),e[a]=f,this.shapeModifiers.push(f)),m.push(f)):t[a].ty==="rp"&&(P?(f=e[a],f.closed=!0):(f=ShapeModifiers.getModifier(t[a].ty),e[a]=f,f.init(this,t,a,e),this.shapeModifiers.push(f),i=!1),m.push(f));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),n=m.length,a=0;a<n;a+=1)m[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e=this.stylesList.length,r,i,s,a,n,l,o=this.globalData.renderer,h=this.globalData.canvasContext,m,P;for(t=0;t<e;t+=1)if(P=this.stylesList[t],m=P.type,!((m==="st"||m==="gs")&&P.wi===0||!P.data._shouldRender||P.coOp===0||this.globalData.currentGlobalAlpha===0)){for(o.save(),n=P.elements,m==="st"||m==="gs"?(o.ctxStrokeStyle(m==="st"?P.co:P.grd),o.ctxLineWidth(P.wi),o.ctxLineCap(P.lc),o.ctxLineJoin(P.lj),o.ctxMiterLimit(P.ml||0)):o.ctxFillStyle(m==="fl"?P.co:P.grd),o.ctxOpacity(P.coOp),m!=="st"&&m!=="gs"&&h.beginPath(),o.ctxTransform(P.preTransforms.finalTransform.props),i=n.length,r=0;r<i;r+=1){for((m==="st"||m==="gs")&&(h.beginPath(),P.da&&(h.setLineDash(P.da),h.lineDashOffset=P.do)),l=n[r].trNodes,a=l.length,s=0;s<a;s+=1)l[s].t==="m"?h.moveTo(l[s].p[0],l[s].p[1]):l[s].t==="c"?h.bezierCurveTo(l[s].pts[0],l[s].pts[1],l[s].pts[2],l[s].pts[3],l[s].pts[4],l[s].pts[5]):h.closePath();(m==="st"||m==="gs")&&(o.ctxStroke(),P.da&&h.setLineDash(this.dashResetter))}m!=="st"&&m!=="gs"&&this.globalData.renderer.ctxFill(P.r),o.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var s,a=e.length-1,n;for(n=t,s=a;s>=0;s-=1)e[s].ty==="tr"?(n=r[s].transform,this.renderShapeTransform(t,n)):e[s].ty==="sh"||e[s].ty==="el"||e[s].ty==="rc"||e[s].ty==="sr"?this.renderPath(e[s],r[s]):e[s].ty==="fl"?this.renderFill(e[s],r[s],n):e[s].ty==="st"?this.renderStroke(e[s],r[s],n):e[s].ty==="gf"||e[s].ty==="gs"?this.renderGradientFill(e[s],r[s],n):e[s].ty==="gr"?this.renderShape(n,e[s].it,r[s].it):e[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r=t.trNodes,i=e.paths,s,a,n,l=i._length;r.length=0;var o=t.transforms.finalTransform;for(n=0;n<l;n+=1){var h=i.shapes[n];if(h&&h.v){for(a=h._length,s=1;s<a;s+=1)s===1&&r.push({t:"m",p:o.applyToPointArray(h.v[0][0],h.v[0][1],0)}),r.push({t:"c",pts:o.applyToTriplePoints(h.o[s-1],h.i[s],h.v[s])});a===1&&r.push({t:"m",p:o.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&a&&(r.push({t:"c",pts:o.applyToTriplePoints(h.o[s-1],h.i[0],h.v[0])}),r.push({t:"z"}))}}t.trNodes=r}},CVShapeElement.prototype.renderPath=function(t,e){if(t.hd!==!0&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i=e.style,s;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||t.t!==1&&(e.h._mdf||e.a._mdf)){var a=this.globalData.canvasContext,n=e.s.v,l=e.e.v;if(t.t===1)s=a.createLinearGradient(n[0],n[1],l[0],l[1]);else{var o=Math.sqrt(Math.pow(n[0]-l[0],2)+Math.pow(n[1]-l[1],2)),h=Math.atan2(l[1]-n[1],l[0]-n[0]),m=e.h.v;m>=1?m=.99:m<=-1&&(m=-.99);var P=o*m,f=Math.cos(h+e.a.v)*P+n[0],b=Math.sin(h+e.a.v)*P+n[1];s=a.createRadialGradient(f,b,0,n[0],n[1],o)}var y,d=t.g.p,C=e.g.c,c=1;for(y=0;y<d;y+=1)e.g._hasOpacity&&e.g._collapsable&&(c=e.g.o[y*2+1]),s.addColorStop(C[y*4]/100,"rgba("+C[y*4+1]+","+C[y*4+2]+","+C[y*4+3]+","+c+")");i.grd=s}i.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i=this.globalData.fontManager.getFontByName(t.f),s,a,n=t.l,l=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,a=t.finalText.length;var o,h,m,P,f,b,y,d,C,c,u=this.data.singleShape,p=t.tr*.001*t.finalSize,v=0,E=0,_=!0,A=0;for(s=0;s<a;s+=1){o=this.globalData.fontManager.getCharData(t.finalText[s],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),h=o&&o.data||{},l.reset(),u&&n[s].n&&(v=-p,E+=t.yOffset,E+=_?1:0,_=!1),f=h.shapes?h.shapes[0].it:[],y=f.length,l.scale(t.finalSize/100,t.finalSize/100),u&&this.applyTextPropertiesToMatrix(t,l,n[s].line,v,E),C=createSizedArray(y-1);var x=0;for(b=0;b<y;b+=1)if(f[b].ty==="sh"){for(P=f[b].ks.k.i.length,d=f[b].ks.k,c=[],m=1;m<P;m+=1)m===1&&c.push(l.applyToX(d.v[0][0],d.v[0][1],0),l.applyToY(d.v[0][0],d.v[0][1],0)),c.push(l.applyToX(d.o[m-1][0],d.o[m-1][1],0),l.applyToY(d.o[m-1][0],d.o[m-1][1],0),l.applyToX(d.i[m][0],d.i[m][1],0),l.applyToY(d.i[m][0],d.i[m][1],0),l.applyToX(d.v[m][0],d.v[m][1],0),l.applyToY(d.v[m][0],d.v[m][1],0));c.push(l.applyToX(d.o[m-1][0],d.o[m-1][1],0),l.applyToY(d.o[m-1][0],d.o[m-1][1],0),l.applyToX(d.i[0][0],d.i[0][1],0),l.applyToY(d.i[0][0],d.i[0][1],0),l.applyToX(d.v[0][0],d.v[0][1],0),l.applyToY(d.v[0][0],d.v[0][1],0)),C[x]=c,x+=1}u&&(v+=n[s].l,v+=p),this.textSpans[A]?this.textSpans[A].elem=C:this.textSpans[A]={elem:C},A+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var t=this.canvasContext;t.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var e,r,i,s,a,n,l=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;r=o.length;var h,m=null,P=null,f=null,b,y,d=this.globalData.renderer;for(e=0;e<r;e+=1)if(!o[e].n){if(h=l[e],h&&(d.save(),d.ctxTransform(h.p),d.ctxOpacity(h.o)),this.fill){for(h&&h.fc?m!==h.fc&&(d.ctxFillStyle(h.fc),m=h.fc):m!==this.values.fill&&(m=this.values.fill,d.ctxFillStyle(this.values.fill)),b=this.textSpans[e].elem,s=b.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(y=b[i],n=y.length,this.globalData.canvasContext.moveTo(y[0],y[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(y[a],y[a+1],y[a+2],y[a+3],y[a+4],y[a+5]);this.globalData.canvasContext.closePath(),d.ctxFill()}if(this.stroke){for(h&&h.sw?f!==h.sw&&(f=h.sw,d.ctxLineWidth(h.sw)):f!==this.values.sWidth&&(f=this.values.sWidth,d.ctxLineWidth(this.values.sWidth)),h&&h.sc?P!==h.sc&&(P=h.sc,d.ctxStrokeStyle(h.sc)):P!==this.values.stroke&&(P=this.values.stroke,d.ctxStrokeStyle(this.values.stroke)),b=this.textSpans[e].elem,s=b.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(y=b[i],n=y.length,this.globalData.canvasContext.moveTo(y[0],y[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(y[a],y[a+1],y[a+2],y[a+3],y[a+4],y[a+5]);this.globalData.canvasContext.closePath(),d.ctxStroke()}h&&this.globalData.renderer.restore()}};function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e=t.getContext("2d"),r=this.img.width,i=this.img.height,s=r/i,a=this.assetData.w/this.assetData.h,n,l,o=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&o==="xMidYMid slice"||s<a&&o!=="xMidYMid slice"?(l=i,n=l*a):(n=r,l=n/a),e.drawImage(this.img,(r-n)/2,(i-l)/2,n,l,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){t[0]===1&&t[1]===0&&t[4]===0&&t[5]===1&&t[12]===0&&t[13]===0||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,r,i){this.canvasContext.fillRect(t,e,r,i)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){this.reset();var r,i;t?(r=t,i=e,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr);var s,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var n=this.renderConfig.preserveAspectRatio.split(" "),l=n[1]||"meet",o=n[0]||"xMidYMid",h=o.substr(0,4),m=o.substr(4);s=r/i,a=this.transformCanvas.w/this.transformCanvas.h,a>s&&l==="meet"||a<s&&l==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),h==="xMid"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:h==="xMax"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,m==="YMid"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:m==="YMax"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if(!(this.renderedFrame===t&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||t===-1)){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var t,e=15;for(t=0;t<e;t+=1){var r=new CanvasContext;this.stack[t]=r}this._length=e,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var t=this._length*2,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e=this.stack[this.cArrPos],r=e.transform,i,s=this.cTr.props;for(i=0;i<16;i+=1)s[i]=r[i];if(t){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(t||e.opacity!==-1&&this.currentOpacity!==e.opacity)&&(this.nativeContext.globalAlpha=e.opacity,this.currentOpacity=e.opacity),this.currentFillStyle=e.fillStyle,this.currentStrokeStyle=e.strokeStyle,this.currentLineWidth=e.lineWidth,this.currentLineCap=e.lineCap,this.currentLineJoin=e.lineJoin,this.currentMiterLimit=e.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.stack[this.cArrPos],i;for(i=0;i<16;i+=1)r.transform[i]=e[i];this.cArrPos+=1;var s=this.stack[this.cArrPos];s.opacity=r.opacity,s.fillStyle=r.fillStyle,s.strokeStyle=r.strokeStyle,s.lineWidth=r.lineWidth,s.lineCap=r.lineCap,s.lineJoin=r.lineJoin,s.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var r=e.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,r,i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,r,i)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,r=this.layers.length;for(e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();e.transform=r,e.webkitTransform=r}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)};function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r=t.sh.v,i=t.transformers,s,a=r._length,n,l,o,h;if(!(a<=1)){for(s=0;s<a-1;s+=1)n=this.getTransformedPoint(i,r.v[s]),l=this.getTransformedPoint(i,r.o[s]),o=this.getTransformedPoint(i,r.i[s+1]),h=this.getTransformedPoint(i,r.v[s+1]),this.checkBounds(n,l,o,h,e);r.c&&(n=this.getTransformedPoint(i,r.v[s]),l=this.getTransformedPoint(i,r.o[s]),o=this.getTransformedPoint(i,r.i[0]),h=this.getTransformedPoint(i,r.v[0]),this.checkBounds(n,l,o,h,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,s){this.getBoundsOfCurve(t,e,r,i);var a=this.shapeBoundingBox;s.x=bmMin(a.left,s.x),s.xMax=bmMax(a.right,s.xMax),s.y=bmMin(a.top,s.y),s.yMax=bmMax(a.bottom,s.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var s=[[t[0],i[0]],[t[1],i[1]]],a,n,l,o,h,m,P,f=0;f<2;++f)n=6*t[f]-12*e[f]+6*r[f],a=-3*t[f]+9*e[f]-9*r[f]+3*i[f],l=3*e[f]-3*t[f],n|=0,a|=0,l|=0,a===0&&n===0||(a===0?(o=-l/n,o>0&&o<1&&s[f].push(this.calculateF(o,t,e,r,i,f))):(h=n*n-4*l*a,h>=0&&(m=(-n+bmSqrt(h))/(2*a),m>0&&m<1&&s[f].push(this.calculateF(m,t,e,r,i,f)),P=(-n-bmSqrt(h))/(2*a),P>0&&P<1&&s[f].push(this.calculateF(P,t,e,r,i,f)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,s,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it?this.calculateBoundingBox(t[r].it,e):t[r]&&t[r].style&&t[r].w&&this.expandStrokeBoundingBox(t[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var r=0;if(t.keyframes){for(var i=0;i<t.keyframes.length;i+=1){var s=t.keyframes[i].s;s>r&&(r=s)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=s,i.webkitTransform=s}}};function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{e.fontFamily=i.fFamily;var s=t.fWeight,a=t.fStyle;e.fontStyle=a,e.fontWeight=s}var n,l,o=t.l;l=o.length;var h,m,P,f=this.mHelper,b,y="",d=0;for(n=0;n<l;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[d]?h=this.textPaths[d]:(h=createNS("path"),h.setAttribute("stroke-linecap",lineCapEnum[1]),h.setAttribute("stroke-linejoin",lineJoinEnum[2]),h.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?(m=this.textSpans[d],P=m.children[0]):(m=createTag("div"),m.style.lineHeight=0,P=createNS("svg"),P.appendChild(h),styleDiv(m)))):this.isMasked?h=this.textPaths[d]?this.textPaths[d]:createNS("text"):this.textSpans[d]?(m=this.textSpans[d],h=this.textPaths[d]):(m=createTag("span"),styleDiv(m),h=createTag("span"),styleDiv(h),m.appendChild(h)),this.globalData.fontManager.chars){var C=this.globalData.fontManager.getCharData(t.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),c;if(C?c=C.data:c=null,f.reset(),c&&c.shapes&&c.shapes.length&&(b=c.shapes[0].it,f.scale(t.finalSize/100,t.finalSize/100),y=this.createPathShape(f,b),h.setAttribute("d",y)),this.isMasked)this.innerElem.appendChild(h);else{if(this.innerElem.appendChild(m),c&&c.shapes){document.body.appendChild(P);var u=P.getBBox();P.setAttribute("width",u.width+2),P.setAttribute("height",u.height+2),P.setAttribute("viewBox",u.x-1+" "+(u.y-1)+" "+(u.width+2)+" "+(u.height+2));var p=P.style,v="translate("+(u.x-1)+"px,"+(u.y-1)+"px)";p.transform=v,p.webkitTransform=v,o[n].yOffset=u.y-1}else P.setAttribute("width",1),P.setAttribute("height",1);m.appendChild(P)}}else if(h.textContent=o[n].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(h);else{this.innerElem.appendChild(m);var E=h.style,_="translate3d(0,"+-t.finalSize/1.2+"px,0)";E.transform=_,E.webkitTransform=_}this.isMasked?this.textSpans[d]=h:this.textSpans[d]=m,this.textSpans[d].style.display="block",this.textPaths[d]=h,d+=1}for(;d<this.textSpans.length;)this.textSpans[d].style.display="none",d+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var r,i,s=0,a=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;i=n.length;var l,o,h;for(r=0;r<i;r+=1)n[r].n?s+=1:(o=this.textSpans[r],h=this.textPaths[r],l=a[s],s+=1,l._mdf.m&&(this.isMasked?o.setAttribute("transform",l.m):(o.style.webkitTransform=l.m,o.style.transform=l.m)),o.style.opacity=l.o,l.sw&&l._mdf.sw&&h.setAttribute("stroke-width",l.sw),l.sc&&l._mdf.sc&&h.setAttribute("stroke",l.sc),l.fc&&l._mdf.fc&&(h.setAttribute("fill",l.fc),h.style.color=l.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var m=this.innerElem.getBBox();this.currentBBox.w!==m.width&&(this.currentBBox.w=m.width,this.svgElement.setAttribute("width",m.width)),this.currentBBox.h!==m.height&&(this.currentBBox.h=m.height,this.svgElement.setAttribute("height",m.height));var P=1;if(this.currentBBox.w!==m.width+P*2||this.currentBBox.h!==m.height+P*2||this.currentBBox.x!==m.x-P||this.currentBBox.y!==m.y-P){this.currentBBox.w=m.width+P*2,this.currentBBox.h=m.height+P*2,this.currentBBox.x=m.x-P,this.currentBBox.y=m.y-P,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var f="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=f,t.webkitTransform=f}}}};function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var s,a=t.ks.or.k.length;for(s=0;s<a;s+=1)t.ks.or.k[s].to=null,t.ks.or.k[s].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e=this.comp.threeDElements.length,r,i,s;for(t=0;t<e;t+=1)if(r=this.comp.threeDElements[t],r.type==="3d"){i=r.perspectiveElem.style,s=r.container.style;var a=this.pe.v+"px",n="0px 0px 0px",l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=a,i.webkitPerspective=a,s.transformOrigin=n,s.mozTransformOrigin=n,s.webkitTransformOrigin=n,i.transform=l,i.webkitTransform=l}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t=this._isFirstFrame,e,r;if(this.hierarchy)for(r=this.hierarchy.length,e=0;e<r;e+=1)t=this.hierarchy[e].finalTransform.mProp._mdf||t;if(t||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(r=this.hierarchy.length-1,e=r;e>=0;e-=1){var i=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],l=Math.sqrt(n[2]*n[2]+n[0]*n[0]),o=Math.atan2(n[1],l),h=Math.atan2(n[0],-n[2]);this.mat.rotateY(h).rotateX(-o)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var m=!this._prevMat.equals(this.mat);if((m||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var P,f,b;for(e=0;e<r;e+=1)if(P=this.comp.threeDElements[e],P.type==="3d"){if(m){var y=this.mat.toCSS();b=P.container.style,b.transform=y,b.webkitTransform=y}this.pe._mdf&&(f=P.perspectiveElem.style,f.perspective=this.pe.v+"px",f.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(!i.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var s=0,a,n,l;s<e;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(n=this.elements[s],l=this.layers[s].ddd?this.getThreeDContainerByPos(s):n.getBaseElement(),a=l||a),s+=1;a?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,a):(!i.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,e)}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r=createTag("div"),i,s;styleDiv(r);var a=createTag("div");if(styleDiv(a),e==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var n="50% 50%";i.webkitTransformOrigin=n,i.mozTransformOrigin=n,i.transformOrigin=n,s=a.style;var l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=l,s.webkitTransform=l}r.appendChild(a);var o={container:a,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(o),o},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,r,i="";for(t=0;t<e;t+=1)this.layers[t].ddd&&this.layers[t].ty!==3?(i!=="3d"&&(i="3d",r=this.createThreeDContainer(t,"3d")),r.endPos=Math.max(r.endPos,t)):(i!=="2d"&&(i="2d",r=this.createThreeDContainer(t,"2d")),r.endPos=Math.max(r.endPos,t));for(e=this.threeDElements.length,t=e-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;r<i;){if(e<=this.threeDElements[r].endPos){for(var s=this.threeDElements[r].startPos,a;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=1;a?this.threeDElements[r].container.insertBefore(t,a):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,i=e.style;i.width=t.w+"px",i.height=t.h+"px",this.resizerElem=e,styleDiv(e),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),i.overflow="hidden";var s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var a=createNS("defs");s.appendChild(a),this.data=t,this.setupGlobalData(t,s),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,r=t/e,i=this.globalData.compSize.w/this.globalData.compSize.h,s,a,n,l;i>r?(s=t/this.globalData.compSize.w,a=t/this.globalData.compSize.w,n=0,l=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(s=e/this.globalData.compSize.h,a=e/this.globalData.compSize.h,n=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,l=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+n+","+l+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t=this.globalData.compSize.w,e=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r<i;r+=1){var s=this.threeDElements[r].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var s=this.createComp(t[e],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}};function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var r=0,i;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(){return function(t){function e(r){for(var i=0,s=t.layers.length;i<s;){if(t.layers[i].nm===r||t.layers[i].ind===r)return t.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}();function _typeof$2(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(r){return typeof r}:_typeof$2=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$2(t)}function seedRandom(t,e){var r=this,i=256,s=6,a=52,n="random",l=e.pow(i,s),o=e.pow(2,a),h=o*2,m=i-1,P;function f(p,v,E){var _=[];v=v===!0?{entropy:!0}:v||{};var A=C(d(v.entropy?[p,u(t)]:p===null?c():p,3),_),x=new b(_),k=function(){for(var V=x.g(s),I=l,D=0;V<o;)V=(V+D)*i,I*=i,D=x.g(1);for(;V>=h;)V/=2,I/=2,D>>>=1;return(V+D)/I};return k.int32=function(){return x.g(4)|0},k.quick=function(){return x.g(4)/4294967296},k.double=k,C(u(x.S),t),(v.pass||E||function(R,V,I,D){return D&&(D.S&&y(D,x),R.state=function(){return y(x,{})}),I?(e[n]=R,V):R})(k,A,"global"in v?v.global:this==e,v.state)}e["seed"+n]=f;function b(p){var v,E=p.length,_=this,A=0,x=_.i=_.j=0,k=_.S=[];for(E||(p=[E++]);A<i;)k[A]=A++;for(A=0;A<i;A++)k[A]=k[x=m&x+p[A%E]+(v=k[A])],k[x]=v;_.g=function(R){for(var V,I=0,D=_.i,O=_.j,L=_.S;R--;)V=L[D=m&D+1],I=I*i+L[m&(L[D]=L[O=m&O+V])+(L[O]=V)];return _.i=D,_.j=O,I}}function y(p,v){return v.i=p.i,v.j=p.j,v.S=p.S.slice(),v}function d(p,v){var E=[],_=_typeof$2(p),A;if(v&&_=="object")for(A in p)try{E.push(d(p[A],v-1))}catch(x){}return E.length?E:_=="string"?p:p+"\0"}function C(p,v){for(var E=p+"",_,A=0;A<E.length;)v[m&A]=m&(_^=v[m&A]*19)+E.charCodeAt(A++);return u(v)}function c(){try{var p=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(p),u(p)}catch(_){var v=r.navigator,E=v&&v.plugins;return[+new Date,r,E,r.screen,u(t)]}}function u(p){return String.fromCharCode.apply(0,p)}C(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(r){return typeof r}:_typeof$1=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return t==="number"||e instanceof Number||t==="boolean"||t==="string"}function $bm_neg(t){var e=_typeof$1(t);if(e==="number"||t instanceof Number||e==="boolean")return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,s=[];for(r=0;r<i;r+=1)s[r]=-t[r];return s}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=_typeof$1(t),i=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(i,e)||r==="string"||i==="string")return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,l=[];s<a||s<n;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?l[s]=t[s]+e[s]:l[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return l}return 0}var add=sum;function sub(t,e){var r=_typeof$1(t),i=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(i,e))return r==="string"&&(t=parseInt(t,10)),i==="string"&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,l=[];s<a||s<n;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?l[s]=t[s]-e[s]:l[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return l}return 0}function mul(t,e){var r=_typeof$1(t),i=_typeof$1(e),s;if(isNumerable(r,t)&&isNumerable(i,e))return t*e;var a,n;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(n=t.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t[a]*e;return s}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t*e[a];return s}return 0}function div(t,e){var r=_typeof$1(t),i=_typeof$1(e),s;if(isNumerable(r,t)&&isNumerable(i,e))return t/e;var a,n;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(n=t.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t[a]/e;return s}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,s=createTypedArray("float32",n),a=0;a<n;a+=1)s[a]=t/e[a];return s}return 0}function mod(t,e){return typeof t=="string"&&(t=parseInt(t,10)),typeof e=="string"&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if(typeof t=="number"||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,i=Math.min(t.length,e.length),s=0;for(r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],r=t[1],i=t[2],s=Math.max(e,r,i),a=Math.min(e,r,i),n,l,o=(s+a)/2;if(s===a)n=0,l=0;else{var h=s-a;switch(l=o>.5?h/(2-s-a):h/(s+a),s){case e:n=(r-i)/h+(r<i?6:0);break;case r:n=(i-e)/h+2;break;case i:n=(e-r)/h+4;break}n/=6}return[n,l,o,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e=t[0],r=t[1],i=t[2],s,a,n;if(r===0)s=i,n=i,a=i;else{var l=i<.5?i*(1+r):i+r-i*r,o=2*i-l;s=hue2rgb(o,l,e+1/3),a=hue2rgb(o,l,e),n=hue2rgb(o,l,e-1/3)}return[s,a,n,t[3]]}function linear(t,e,r,i,s){if((i===void 0||s===void 0)&&(i=e,s=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return i;if(t>=r)return s;var n=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*n;var l,o=i.length,h=createTypedArray("float32",o);for(l=0;l<o;l+=1)h[l]=i[l]+(s[l]-i[l])*n;return h}function random(t,e){if(e===void 0&&(t===void 0?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var s=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)s[r]=t[r]+a*(e[r]-t[r]);return s}t===void 0&&(t=0);var n=BMMath.random();return t+n*(e-t)}function createPath(t,e,r,i){var s,a=t.length,n=shapePool.newElement();n.setPathData(!!i,a);var l=[0,0],o,h;for(s=0;s<a;s+=1)o=e&&e[s]?e[s]:l,h=r&&r[s]?r[s]:l,n.setTripleAt(t[s][0],t[s][1],h[0]+t[s][0],h[1]+t[s][1],o[0]+t[s][0],o[1]+t[s][1],s,!0);return n}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function t(e,r){var i,s,a=this.pv.length?this.pv.length:1,n=createTypedArray("float32",a);e=5;var l=Math.floor(time*e);for(i=0,s=0;i<l;){for(s=0;s<a;s+=1)n[s]+=-r+r*2*BMMath.random();i+=1}var o=time*e,h=o-Math.floor(o),m=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)m[s]=this.pv[s]+n[s]+(-r+r*2*BMMath.random())*h;return m}return this.pv+n[0]+(-r+r*2*BMMath.random())*h}.bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,s=-Math.atan2(r[1],r[2])/degToRads;return[s,i,0]}function easeOut(t,e,r,i,s){return applyEase(easeOutBez,t,e,r,i,s)}function easeIn(t,e,r,i,s){return applyEase(easeInBez,t,e,r,i,s)}function ease(t,e,r,i,s){return applyEase(easeInOutBez,t,e,r,i,s)}function applyEase(t,e,r,i,s,a){s===void 0?(s=r,a=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var n=t(e);if($bm_isInstanceOfArray(s)){var l,o=s.length,h=createTypedArray("float32",o);for(l=0;l<o;l+=1)h[l]=(a[l]-s[l])*n+s[l];return h}return(a-s)*n+s}function nearestKey(t){var e,r=data.k.length,i,s;if(!data.k.length||typeof data.k[0]=="number")i=0,s=0;else if(i=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)i=1,s=data.k[0].t;else{for(e=0;e<r-1;e+=1)if(t===data.k[e].t){i=e+1,s=data.k[e].t;break}else if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(i=e+2,s=data.k[e+1].t):(i=e+1,s=data.k[e].t);break}i===-1&&(i=e+1,s=data.k[e].t)}var a={};return a.index=i,a.time=s/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;r<i;r+=1)e[r]=s[r],e.value[r]=s[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return!t&&t!==0&&(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return typeof value=="string"?e===void 0?value.substring(t):value.substring(t,e):""}function substr(t,e){return typeof value=="string"?e===void 0?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=t===0?0:Math.floor(time*t)/t,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};t.initExpressions=e,t.resetFrame=ExpressionManager.resetFrame;function e(r){var i=0,s=[];function a(){i+=1}function n(){i-=1,i===0&&o()}function l(h){s.indexOf(h)===-1&&s.push(h)}function o(){var h,m=s.length;for(h=0;h<m;h+=1)s[h].release();s.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=a,r.renderer.globalData.popExpression=n,r.renderer.globalData.registerExpressionProperty=l}return t}(),MaskManagerInterface=function(){function t(r,i){this._mask=r,this._data=i}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var e=function(i){var s=createSizedArray(i.viewData.length),a,n=i.viewData.length;for(a=0;a<n;a+=1)s[a]=new t(i.viewData[a],i.masksProperties[a]);var l=function(h){for(a=0;a<n;){if(i.masksProperties[a].nm===h)return s[a];a+=1}return null};return l};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(n,l,o){Object.defineProperty(n,"velocity",{get:function(){return l.getVelocityAtTime(l.comp.currentFrame)}}),n.numKeys=l.keyframes?l.keyframes.length:0,n.key=function(h){if(!n.numKeys)return 0;var m="";"s"in l.keyframes[h-1]?m=l.keyframes[h-1].s:"e"in l.keyframes[h-2]?m=l.keyframes[h-2].e:m=l.keyframes[h-2].s;var P=o==="unidimensional"?new Number(m):Object.assign({},m);return P.time=l.keyframes[h-1].t/l.elem.comp.globalData.frameRate,P.value=o==="unidimensional"?m[0]:m,P},n.valueAtTime=l.getValueAtTime,n.speedAtTime=l.getSpeedAtTime,n.velocityAtTime=l.getVelocityAtTime,n.propertyGroup=l.propertyGroup}function i(n){(!n||!("pv"in n))&&(n=t);var l=1/n.mult,o=n.pv*l,h=new Number(o);return h.value=o,r(h,n,"unidimensional"),function(){return n.k&&n.getValue(),o=n.v*l,h.value!==o&&(h=new Number(o),h.value=o,r(h,n,"unidimensional")),h}}function s(n){(!n||!("pv"in n))&&(n=e);var l=1/n.mult,o=n.data&&n.data.l||n.pv.length,h=createTypedArray("float32",o),m=createTypedArray("float32",o);return h.value=m,r(h,n,"multidimensional"),function(){n.k&&n.getValue();for(var P=0;P<o;P+=1)m[P]=n.v[P]*l,h[P]=m[P];return h}}function a(){return t}return function(n){return n?n.propType==="unidimensional"?i(n):s(n):a}}(),TransformExpressionInterface=function(){return function(t){function e(n){switch(n){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)});var r,i,s,a;return t.p?a=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(s=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[r(),i(),s?s():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(h){var m=new Matrix;if(h!==void 0){var P=this._elem.finalTransform.mProp.getValueAtTime(h);P.clone(m)}else{var f=this._elem.finalTransform.mProp;f.applyToMatrix(m)}return m}function e(h,m){var P=this.getMatrix(m);return P.props[12]=0,P.props[13]=0,P.props[14]=0,this.applyPoint(P,h)}function r(h,m){var P=this.getMatrix(m);return this.applyPoint(P,h)}function i(h,m){var P=this.getMatrix(m);return P.props[12]=0,P.props[13]=0,P.props[14]=0,this.invertPoint(P,h)}function s(h,m){var P=this.getMatrix(m);return this.invertPoint(P,h)}function a(h,m){if(this._elem.hierarchy&&this._elem.hierarchy.length){var P,f=this._elem.hierarchy.length;for(P=0;P<f;P+=1)this._elem.hierarchy[P].finalTransform.mProp.applyToMatrix(h)}return h.applyToPointArray(m[0],m[1],m[2]||0)}function n(h,m){if(this._elem.hierarchy&&this._elem.hierarchy.length){var P,f=this._elem.hierarchy.length;for(P=0;P<f;P+=1)this._elem.hierarchy[P].finalTransform.mProp.applyToMatrix(h)}return h.inversePoint(m)}function l(h){var m=new Matrix;if(m.reset(),this._elem.finalTransform.mProp.applyToMatrix(m),this._elem.hierarchy&&this._elem.hierarchy.length){var P,f=this._elem.hierarchy.length;for(P=0;P<f;P+=1)this._elem.hierarchy[P].finalTransform.mProp.applyToMatrix(m);return m.inversePoint(h)}return m.inversePoint(h)}function o(){return[1,1,1,1]}return function(h){var m;function P(d){b.mask=new MaskManagerInterface(d,h)}function f(d){b.effect=d}function b(d){switch(d){case"ADBE Root Vectors Group":case"Contents":case 2:return b.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return m;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return b.effect;case"ADBE Text Properties":return b.textInterface;default:return null}}b.getMatrix=t,b.invertPoint=n,b.applyPoint=a,b.toWorld=r,b.toWorldVec=e,b.fromWorld=s,b.fromWorldVec=i,b.toComp=r,b.fromComp=l,b.sampleImage=o,b.sourceRectAtTime=h.sourceRectAtTime.bind(h),b._elem=h,m=TransformExpressionInterface(h.finalTransform.mProp);var y=getDescriptor(m,"anchorPoint");return Object.defineProperties(b,{hasParent:{get:function(){return h.hierarchy.length}},parent:{get:function(){return h.hierarchy[0].layerInterface}},rotation:getDescriptor(m,"rotation"),scale:getDescriptor(m,"scale"),position:getDescriptor(m,"position"),opacity:getDescriptor(m,"opacity"),anchorPoint:y,anchor_point:y,transform:{get:function(){return m}},active:{get:function(){return h.isInRange}}}),b.startTime=h.data.st,b.index=h.data.ind,b.source=h.data.refId,b.height=h.data.ty===0?h.data.h:100,b.width=h.data.ty===0?h.data.w:100,b.inPoint=h.data.ip/h.comp.globalData.frameRate,b.outPoint=h.data.op/h.comp.globalData.frameRate,b._name=h.data.nm,b.registerMaskInterface=P,b.registerEffectsInterface=f,b}}(),propertyGroupFactory=function(){return function(t,e){return function(r){return r=r===void 0?1:r,r<=0?t:e(r-1)}}}(),PropertyInterface=function(){return function(t,e){var r={_name:t};function i(s){return s=s===void 0?1:s,s<=0?r:e(s-1)}return i}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(s,a){if(s.effectsManager){var n=[],l=s.data.ef,o,h=s.effectsManager.effectElements.length;for(o=0;o<h;o+=1)n.push(r(l[o],s.effectsManager.effectElements[o],a,s));var m=s.data.ef||[],P=function(b){for(o=0,h=m.length;o<h;){if(b===m[o].nm||b===m[o].mn||b===m[o].ix)return n[o];o+=1}return null};return Object.defineProperty(P,"numProperties",{get:function(){return m.length}}),P}return null}function r(s,a,n,l){function o(b){for(var y=s.ef,d=0,C=y.length;d<C;){if(b===y[d].nm||b===y[d].mn||b===y[d].ix)return y[d].ty===5?m[d]:m[d]();d+=1}throw new Error}var h=propertyGroupFactory(o,n),m=[],P,f=s.ef.length;for(P=0;P<f;P+=1)s.ef[P].ty===5?m.push(r(s.ef[P],a.effectElements[P],a.effectElements[P].propertyGroup,l)):m.push(i(a.effectElements[P],s.ef[P].ty,l,h));return s.mn==="ADBE Color Control"&&Object.defineProperty(o,"color",{get:function(){return m[0]()}}),Object.defineProperties(o,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:h}}),o.enabled=s.en!==0,o.active=o.enabled,o}function i(s,a,n,l){var o=ExpressionPropertyInterface(s.p);function h(){return a===10?n.comp.compInterface(s.p.v):o()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",l)),h}return t}(),ShapePathInterface=function(){return function(e,r,i){var s=r.sh;function a(l){return l==="Shape"||l==="shape"||l==="Path"||l==="path"||l==="ADBE Vector Shape"||l===2?a.path:null}var n=propertyGroupFactory(a,i);return s.setGroupProperty(PropertyInterface("Path",n)),Object.defineProperties(a,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:i}}),a}}(),ShapeExpressionInterface=function(){function t(y,d,C){var c=[],u,p=y?y.length:0;for(u=0;u<p;u+=1)y[u].ty==="gr"?c.push(r(y[u],d[u],C)):y[u].ty==="fl"?c.push(i(y[u],d[u],C)):y[u].ty==="st"?c.push(n(y[u],d[u],C)):y[u].ty==="tm"?c.push(l(y[u],d[u],C)):y[u].ty==="tr"||(y[u].ty==="el"?c.push(h(y[u],d[u],C)):y[u].ty==="sr"?c.push(m(y[u],d[u],C)):y[u].ty==="sh"?c.push(ShapePathInterface(y[u],d[u],C)):y[u].ty==="rc"?c.push(P(y[u],d[u],C)):y[u].ty==="rd"?c.push(f(y[u],d[u],C)):y[u].ty==="rp"?c.push(b(y[u],d[u],C)):y[u].ty==="gf"?c.push(s(y[u],d[u],C)):c.push(a(y[u],d[u])));return c}function e(y,d,C){var c,u=function(E){for(var _=0,A=c.length;_<A;){if(c[_]._name===E||c[_].mn===E||c[_].propertyIndex===E||c[_].ix===E||c[_].ind===E)return c[_];_+=1}return typeof E=="number"?c[E-1]:null};u.propertyGroup=propertyGroupFactory(u,C),c=t(y.it,d.it,u.propertyGroup),u.numProperties=c.length;var p=o(y.it[y.it.length-1],d.it[d.it.length-1],u.propertyGroup);return u.transform=p,u.propertyIndex=y.cix,u._name=y.nm,u}function r(y,d,C){var c=function(E){switch(E){case"ADBE Vectors Group":case"Contents":case 2:return c.content;default:return c.transform}};c.propertyGroup=propertyGroupFactory(c,C);var u=e(y,d,c.propertyGroup),p=o(y.it[y.it.length-1],d.it[d.it.length-1],c.propertyGroup);return c.content=u,c.transform=p,Object.defineProperty(c,"_name",{get:function(){return y.nm}}),c.numProperties=y.np,c.propertyIndex=y.ix,c.nm=y.nm,c.mn=y.mn,c}function i(y,d,C){function c(u){return u==="Color"||u==="color"?c.color:u==="Opacity"||u==="opacity"?c.opacity:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(d.c)},opacity:{get:ExpressionPropertyInterface(d.o)},_name:{value:y.nm},mn:{value:y.mn}}),d.c.setGroupProperty(PropertyInterface("Color",C)),d.o.setGroupProperty(PropertyInterface("Opacity",C)),c}function s(y,d,C){function c(u){return u==="Start Point"||u==="start point"?c.startPoint:u==="End Point"||u==="end point"?c.endPoint:u==="Opacity"||u==="opacity"?c.opacity:null}return Object.defineProperties(c,{startPoint:{get:ExpressionPropertyInterface(d.s)},endPoint:{get:ExpressionPropertyInterface(d.e)},opacity:{get:ExpressionPropertyInterface(d.o)},type:{get:function(){return"a"}},_name:{value:y.nm},mn:{value:y.mn}}),d.s.setGroupProperty(PropertyInterface("Start Point",C)),d.e.setGroupProperty(PropertyInterface("End Point",C)),d.o.setGroupProperty(PropertyInterface("Opacity",C)),c}function a(){function y(){return null}return y}function n(y,d,C){var c=propertyGroupFactory(A,C),u=propertyGroupFactory(_,c);function p(x){Object.defineProperty(_,y.d[x].nm,{get:ExpressionPropertyInterface(d.d.dataProps[x].p)})}var v,E=y.d?y.d.length:0,_={};for(v=0;v<E;v+=1)p(v),d.d.dataProps[v].p.setGroupProperty(u);function A(x){return x==="Color"||x==="color"?A.color:x==="Opacity"||x==="opacity"?A.opacity:x==="Stroke Width"||x==="stroke width"?A.strokeWidth:null}return Object.defineProperties(A,{color:{get:ExpressionPropertyInterface(d.c)},opacity:{get:ExpressionPropertyInterface(d.o)},strokeWidth:{get:ExpressionPropertyInterface(d.w)},dash:{get:function(){return _}},_name:{value:y.nm},mn:{value:y.mn}}),d.c.setGroupProperty(PropertyInterface("Color",c)),d.o.setGroupProperty(PropertyInterface("Opacity",c)),d.w.setGroupProperty(PropertyInterface("Stroke Width",c)),A}function l(y,d,C){function c(p){return p===y.e.ix||p==="End"||p==="end"?c.end:p===y.s.ix?c.start:p===y.o.ix?c.offset:null}var u=propertyGroupFactory(c,C);return c.propertyIndex=y.ix,d.s.setGroupProperty(PropertyInterface("Start",u)),d.e.setGroupProperty(PropertyInterface("End",u)),d.o.setGroupProperty(PropertyInterface("Offset",u)),c.propertyIndex=y.ix,c.propertyGroup=C,Object.defineProperties(c,{start:{get:ExpressionPropertyInterface(d.s)},end:{get:ExpressionPropertyInterface(d.e)},offset:{get:ExpressionPropertyInterface(d.o)},_name:{value:y.nm}}),c.mn=y.mn,c}function o(y,d,C){function c(p){return y.a.ix===p||p==="Anchor Point"?c.anchorPoint:y.o.ix===p||p==="Opacity"?c.opacity:y.p.ix===p||p==="Position"?c.position:y.r.ix===p||p==="Rotation"||p==="ADBE Vector Rotation"?c.rotation:y.s.ix===p||p==="Scale"?c.scale:y.sk&&y.sk.ix===p||p==="Skew"?c.skew:y.sa&&y.sa.ix===p||p==="Skew Axis"?c.skewAxis:null}var u=propertyGroupFactory(c,C);return d.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",u)),d.transform.mProps.p.setGroupProperty(PropertyInterface("Position",u)),d.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",u)),d.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",u)),d.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",u)),d.transform.mProps.sk&&(d.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",u)),d.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",u))),d.transform.op.setGroupProperty(PropertyInterface("Opacity",u)),Object.defineProperties(c,{opacity:{get:ExpressionPropertyInterface(d.transform.mProps.o)},position:{get:ExpressionPropertyInterface(d.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(d.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(d.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(d.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(d.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(d.transform.mProps.sa)},_name:{value:y.nm}}),c.ty="tr",c.mn=y.mn,c.propertyGroup=C,c}function h(y,d,C){function c(v){return y.p.ix===v?c.position:y.s.ix===v?c.size:null}var u=propertyGroupFactory(c,C);c.propertyIndex=y.ix;var p=d.sh.ty==="tm"?d.sh.prop:d.sh;return p.s.setGroupProperty(PropertyInterface("Size",u)),p.p.setGroupProperty(PropertyInterface("Position",u)),Object.defineProperties(c,{size:{get:ExpressionPropertyInterface(p.s)},position:{get:ExpressionPropertyInterface(p.p)},_name:{value:y.nm}}),c.mn=y.mn,c}function m(y,d,C){function c(v){return y.p.ix===v?c.position:y.r.ix===v?c.rotation:y.pt.ix===v?c.points:y.or.ix===v||v==="ADBE Vector Star Outer Radius"?c.outerRadius:y.os.ix===v?c.outerRoundness:y.ir&&(y.ir.ix===v||v==="ADBE Vector Star Inner Radius")?c.innerRadius:y.is&&y.is.ix===v?c.innerRoundness:null}var u=propertyGroupFactory(c,C),p=d.sh.ty==="tm"?d.sh.prop:d.sh;return c.propertyIndex=y.ix,p.or.setGroupProperty(PropertyInterface("Outer Radius",u)),p.os.setGroupProperty(PropertyInterface("Outer Roundness",u)),p.pt.setGroupProperty(PropertyInterface("Points",u)),p.p.setGroupProperty(PropertyInterface("Position",u)),p.r.setGroupProperty(PropertyInterface("Rotation",u)),y.ir&&(p.ir.setGroupProperty(PropertyInterface("Inner Radius",u)),p.is.setGroupProperty(PropertyInterface("Inner Roundness",u))),Object.defineProperties(c,{position:{get:ExpressionPropertyInterface(p.p)},rotation:{get:ExpressionPropertyInterface(p.r)},points:{get:ExpressionPropertyInterface(p.pt)},outerRadius:{get:ExpressionPropertyInterface(p.or)},outerRoundness:{get:ExpressionPropertyInterface(p.os)},innerRadius:{get:ExpressionPropertyInterface(p.ir)},innerRoundness:{get:ExpressionPropertyInterface(p.is)},_name:{value:y.nm}}),c.mn=y.mn,c}function P(y,d,C){function c(v){return y.p.ix===v?c.position:y.r.ix===v?c.roundness:y.s.ix===v||v==="Size"||v==="ADBE Vector Rect Size"?c.size:null}var u=propertyGroupFactory(c,C),p=d.sh.ty==="tm"?d.sh.prop:d.sh;return c.propertyIndex=y.ix,p.p.setGroupProperty(PropertyInterface("Position",u)),p.s.setGroupProperty(PropertyInterface("Size",u)),p.r.setGroupProperty(PropertyInterface("Rotation",u)),Object.defineProperties(c,{position:{get:ExpressionPropertyInterface(p.p)},roundness:{get:ExpressionPropertyInterface(p.r)},size:{get:ExpressionPropertyInterface(p.s)},_name:{value:y.nm}}),c.mn=y.mn,c}function f(y,d,C){function c(v){return y.r.ix===v||v==="Round Corners 1"?c.radius:null}var u=propertyGroupFactory(c,C),p=d;return c.propertyIndex=y.ix,p.rd.setGroupProperty(PropertyInterface("Radius",u)),Object.defineProperties(c,{radius:{get:ExpressionPropertyInterface(p.rd)},_name:{value:y.nm}}),c.mn=y.mn,c}function b(y,d,C){function c(v){return y.c.ix===v||v==="Copies"?c.copies:y.o.ix===v||v==="Offset"?c.offset:null}var u=propertyGroupFactory(c,C),p=d;return c.propertyIndex=y.ix,p.c.setGroupProperty(PropertyInterface("Copies",u)),p.o.setGroupProperty(PropertyInterface("Offset",u)),Object.defineProperties(c,{copies:{get:ExpressionPropertyInterface(p.c)},offset:{get:ExpressionPropertyInterface(p.o)},_name:{value:y.nm}}),c.mn=y.mn,c}return function(y,d,C){var c;function u(v){if(typeof v=="number")return v=v===void 0?1:v,v===0?C:c[v-1];for(var E=0,_=c.length;E<_;){if(c[E]._name===v)return c[E];E+=1}return null}function p(){return C}return u.propertyGroup=propertyGroupFactory(u,p),c=t(y,d,u.propertyGroup),u.numProperties=c.length,u._name="Contents",u}}(),TextExpressionInterface=function(){return function(t){var e;function r(i){switch(i){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var s=t.textProperty.currentData.t;return(!e||s!==e.value)&&(e=new String(s),e.value=s||new String(s),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),r}}();function _typeof(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(t)}var FootageInterface=function(){var t=function(i){var s="",a=i.getFootageData();function n(){return s="",a=i.getFootageData(),l}function l(o){if(a[o])return s=o,a=a[o],_typeof(a)==="object"?l:a;var h=o.indexOf(s);if(h!==-1){var m=parseInt(o.substr(h+s.length),10);return a=a[m],_typeof(a)==="object"?l:a}return""}return n},e=function(i){function s(a){return a==="Outline"?s.outlineInterface():null}return s._name="Outline",s.outlineInterface=t(i),s};return function(r){function i(s){return s==="Data"?i.dataInterface:null}return i._name="Data",i.dataInterface=e(r),i}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers=function(){function t(n,l,o){l.x&&(o.k=!0,o.x=!0,o.initiateExpression=ExpressionManager.initiateExpression,o.effectsSequence.push(o.initiateExpression(n,l,o).bind(o)))}function e(n){return n*=this.elem.globalData.frameRate,n-=this.offsetTime,n!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<n?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(n,this._cachingAtTime),this._cachingAtTime.lastFrame=n),this._cachingAtTime.value}function r(n){var l=-.01,o=this.getValueAtTime(n),h=this.getValueAtTime(n+l),m=0;if(o.length){var P;for(P=0;P<o.length;P+=1)m+=Math.pow(h[P]-o[P],2);m=Math.sqrt(m)*100}else m=0;return m}function i(n){if(this.vel!==void 0)return this.vel;var l=-.001,o=this.getValueAtTime(n),h=this.getValueAtTime(n+l),m;if(o.length){m=createTypedArray("float32",o.length);var P;for(P=0;P<o.length;P+=1)m[P]=(h[P]-o[P])/l}else m=(h-o)/l;return m}function s(){return this.pv}function a(n){this.propertyGroup=n}return{searchExpressions:t,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:e,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function t(f,b,y){if(!this.k||!this.keyframes)return this.pv;f=f?f.toLowerCase():"";var d=this.comp.renderedFrame,C=this.keyframes,c=C[C.length-1].t;if(d<=c)return this.pv;var u,p;y?(b?u=Math.abs(c-this.elem.comp.globalData.frameRate*b):u=Math.max(0,c-this.elem.data.ip),p=c-u):((!b||b>C.length-1)&&(b=C.length-1),p=C[C.length-1-b].t,u=c-p);var v,E,_;if(f==="pingpong"){var A=Math.floor((d-p)/u);if(A%2!==0)return this.getValueAtTime((u-(d-p)%u+p)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var x=this.getValueAtTime(p/this.comp.globalData.frameRate,0),k=this.getValueAtTime(c/this.comp.globalData.frameRate,0),R=this.getValueAtTime(((d-p)%u+p)/this.comp.globalData.frameRate,0),V=Math.floor((d-p)/u);if(this.pv.length){for(_=new Array(x.length),E=_.length,v=0;v<E;v+=1)_[v]=(k[v]-x[v])*V+R[v];return _}return(k-x)*V+R}else if(f==="continue"){var I=this.getValueAtTime(c/this.comp.globalData.frameRate,0),D=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(_=new Array(I.length),E=_.length,v=0;v<E;v+=1)_[v]=I[v]+(I[v]-D[v])*((d-c)/this.comp.globalData.frameRate)/5e-4;return _}return I+(I-D)*((d-c)/.001)}return this.getValueAtTime(((d-p)%u+p)/this.comp.globalData.frameRate,0)}function e(f,b,y){if(!this.k)return this.pv;f=f?f.toLowerCase():"";var d=this.comp.renderedFrame,C=this.keyframes,c=C[0].t;if(d>=c)return this.pv;var u,p;y?(b?u=Math.abs(this.elem.comp.globalData.frameRate*b):u=Math.max(0,this.elem.data.op-c),p=c+u):((!b||b>C.length-1)&&(b=C.length-1),p=C[b].t,u=p-c);var v,E,_;if(f==="pingpong"){var A=Math.floor((c-d)/u);if(A%2===0)return this.getValueAtTime(((c-d)%u+c)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var x=this.getValueAtTime(c/this.comp.globalData.frameRate,0),k=this.getValueAtTime(p/this.comp.globalData.frameRate,0),R=this.getValueAtTime((u-(c-d)%u+c)/this.comp.globalData.frameRate,0),V=Math.floor((c-d)/u)+1;if(this.pv.length){for(_=new Array(x.length),E=_.length,v=0;v<E;v+=1)_[v]=R[v]-(k[v]-x[v])*V;return _}return R-(k-x)*V}else if(f==="continue"){var I=this.getValueAtTime(c/this.comp.globalData.frameRate,0),D=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(_=new Array(I.length),E=_.length,v=0;v<E;v+=1)_[v]=I[v]+(I[v]-D[v])*(c-d)/.001;return _}return I+(I-D)*(c-d)/.001}return this.getValueAtTime((u-((c-d)%u+c))/this.comp.globalData.frameRate,0)}function r(f,b){if(!this.k)return this.pv;if(f=(f||.4)*.5,b=Math.floor(b||5),b<=1)return this.pv;var y=this.comp.renderedFrame/this.comp.globalData.frameRate,d=y-f,C=y+f,c=b>1?(C-d)/(b-1):1,u=0,p=0,v;this.pv.length?v=createTypedArray("float32",this.pv.length):v=0;for(var E;u<b;){if(E=this.getValueAtTime(d+u*c),this.pv.length)for(p=0;p<this.pv.length;p+=1)v[p]+=E[p];else v+=E;u+=1}if(this.pv.length)for(p=0;p<this.pv.length;p+=1)v[p]/=b;else v/=b;return v}function i(f){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var b=this._transformCachingAtTime.v;if(b.cloneFromProps(this.pre.props),this.appliedTransformations<1){var y=this.a.getValueAtTime(f);b.translate(-y[0]*this.a.mult,-y[1]*this.a.mult,y[2]*this.a.mult)}if(this.appliedTransformations<2){var d=this.s.getValueAtTime(f);b.scale(d[0]*this.s.mult,d[1]*this.s.mult,d[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var C=this.sk.getValueAtTime(f),c=this.sa.getValueAtTime(f);b.skewFromAxis(-C*this.sk.mult,c*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var u=this.r.getValueAtTime(f);b.rotate(-u*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var p=this.rz.getValueAtTime(f),v=this.ry.getValueAtTime(f),E=this.rx.getValueAtTime(f),_=this.or.getValueAtTime(f);b.rotateZ(-p*this.rz.mult).rotateY(v*this.ry.mult).rotateX(E*this.rx.mult).rotateZ(-_[2]*this.or.mult).rotateY(_[1]*this.or.mult).rotateX(_[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var A=this.px.getValueAtTime(f),x=this.py.getValueAtTime(f);if(this.data.p.z){var k=this.pz.getValueAtTime(f);b.translate(A*this.px.mult,x*this.py.mult,-k*this.pz.mult)}else b.translate(A*this.px.mult,x*this.py.mult,0)}else{var R=this.p.getValueAtTime(f);b.translate(R[0]*this.p.mult,R[1]*this.p.mult,-R[2]*this.p.mult)}return b}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(f,b,y){var d=a(f,b,y);return d.dynamicProperties.length?d.getValueAtTime=i.bind(d):d.getValueAtTime=s.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d};var n=PropertyFactory.getProp;PropertyFactory.getProp=function(f,b,y,d,C){var c=n(f,b,y,d,C);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=t,c.loopIn=e,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=b.a===1?b.k.length:0,c.propertyIndex=b.ix;var u=0;return y!==0&&(u=createTypedArray("float32",b.a===1?b.k[0].s.length:b.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(f,b,c),c.k&&C.addDynamicProperty(c),c};function l(f){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),f*=this.elem.globalData.frameRate,f-=this.offsetTime,f!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<f?this._caching.lastIndex:0,this._cachingAtTime.lastTime=f,this.interpolateShape(f,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var o=ShapePropertyFactory.getConstructorFunction(),h=ShapePropertyFactory.getKeyframedConstructorFunction();function m(){}m.prototype={vertices:function(b,y){this.k&&this.getValue();var d=this.v;y!==void 0&&(d=this.getValueAtTime(y,0));var C,c=d._length,u=d[b],p=d.v,v=createSizedArray(c);for(C=0;C<c;C+=1)b==="i"||b==="o"?v[C]=[u[C][0]-p[C][0],u[C][1]-p[C][1]]:v[C]=[u[C][0],u[C][1]];return v},points:function(b){return this.vertices("v",b)},inTangents:function(b){return this.vertices("i",b)},outTangents:function(b){return this.vertices("o",b)},isClosed:function(){return this.v.c},pointOnPath:function(b,y){var d=this.v;y!==void 0&&(d=this.getValueAtTime(y,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(d));for(var C=this._segmentsLength,c=C.lengths,u=C.totalLength*b,p=0,v=c.length,E=0,_;p<v;){if(E+c[p].addedLength>u){var A=p,x=d.c&&p===v-1?0:p+1,k=(u-E)/c[p].addedLength;_=bez.getPointInSegment(d.v[A],d.v[x],d.o[A],d.i[x],k,c[p]);break}else E+=c[p].addedLength;p+=1}return _||(_=d.c?[d.v[0][0],d.v[0][1]]:[d.v[d._length-1][0],d.v[d._length-1][1]]),_},vectorOnPath:function(b,y,d){b==1?b=this.v.c:b==0&&(b=.999);var C=this.pointOnPath(b,y),c=this.pointOnPath(b+.001,y),u=c[0]-C[0],p=c[1]-C[1],v=Math.sqrt(Math.pow(u,2)+Math.pow(p,2));if(v===0)return[0,0];var E=d==="tangent"?[u/v,p/v]:[-p/v,u/v];return E},tangentOnPath:function(b,y){return this.vectorOnPath(b,y,"tangent")},normalOnPath:function(b,y){return this.vectorOnPath(b,y,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([m],o),extendPrototype([m],h),h.prototype.getValueAtTime=l,h.prototype.initiateExpression=ExpressionManager.initiateExpression;var P=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(f,b,y,d,C){var c=P(f,b,y,d,C);return c.propertyIndex=b.ix,c.lock=!1,y===3?expressionHelpers.searchExpressions(f,b.pt,c):y===4&&expressionHelpers.searchExpressions(f,b.ks,c),c.k&&f.addDynamicProperty(c),c}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(e,r){var i=this.calculateExpression(r);if(e.t!==i){var s={};return this.copyData(s,e),s.t=i.toString(),s.__complete=!1,s}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),r=this.searchExpressions();return this.kf=e||r,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,r){var i=createNS("feMerge");i.setAttribute("result",e);var s,a;for(a=0;a<r.length;a+=1)s=createNS("feMergeNode"),s.setAttribute("in",r[a]),i.appendChild(s),i.appendChild(s);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,r,i,s){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",i+"_tint_1"),t.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),t.appendChild(a),this.matrixFilter=a;var n=this.createMergeNode(i,[s,i+"_tint_1",i+"_tint_2"]);t.appendChild(n)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+i+" 0"),this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}};function SVGFillFilter(t,e,r,i){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",i),t.appendChild(s),this.matrixFilter=s}SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}};function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var t=this.elem.layerElement.children||this.elem.layerElement.childNodes,e,r,i,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,s=i+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),i;i<s;i+=1)e=createNS("path"),r.appendChild(e),this.paths.push({p:e,m:i});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),n=createElementID();a.setAttribute("id",n),a.setAttribute("mask-type","alpha"),a.appendChild(r),this.elem.globalData.defs.appendChild(a);var l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+n+")");t[0];)l.appendChild(t[0]);this.elem.layerElement.appendChild(l),this.masker=a,r.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(t=this.elem.layerElement.children||this.elem.layerElement.childNodes;t.length;)this.elem.layerElement.removeChild(t[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,r=this.paths.length,i,s;for(e=0;e<r;e+=1)if(this.paths[e].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[e].m],s=this.paths[e].p,(t||this.filterManager._mdf||i.prop._mdf)&&s.setAttribute("d",i.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var n=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,o=s.getTotalLength();a="0 0 0 "+o*n+" ";var h=o*(l-n),m=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,P=Math.floor(h/m),f;for(f=0;f<P;f+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+o*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(t||this.filterManager.effectElements[3].p._mdf)){var b=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(b[0]*255)+","+bmFloor(b[1]*255)+","+bmFloor(b[2]*255)+")")}};function SVGTritoneFilter(t,e,r,i){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(s);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var n=createNS("feFuncR");n.setAttribute("type","table"),a.appendChild(n),this.feFuncR=n;var l=createNS("feFuncG");l.setAttribute("type","table"),a.appendChild(l),this.feFuncG=l;var o=createNS("feFuncB");o.setAttribute("type","table"),a.appendChild(o),this.feFuncB=o,t.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,s=i[0]+" "+r[0]+" "+e[0],a=i[1]+" "+r[1]+" "+e[1],n=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",n)}};function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var s=this.filterManager.effectElements,a=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(a)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),t.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,s){for(var a=0,n=256,l,o=Math.min(t,e),h=Math.max(t,e),m=Array.call(null,{length:n}),P,f=0,b=s-i,y=e-t;a<=256;)l=a/256,l<=o?P=y<0?s:i:l>=h?P=y<0?i:s:P=i+b*Math.pow((l-t)/y,1/r),m[f]=P,f+=1,a+=256/(n-1);return m.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(t,e,r,i,s){var a=e.container.globalData.renderConfig.filterSize,n=e.data.fs||a;t.setAttribute("x",n.x||a.x),t.setAttribute("y",n.y||a.y),t.setAttribute("width",n.width||a.width),t.setAttribute("height",n.height||a.height),this.filterManager=e;var l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",i+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,t.appendChild(l);var o=createNS("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in",i+"_drop_shadow_1"),o.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=o,t.appendChild(o);var h=createNS("feFlood");h.setAttribute("flood-color","#00ff00"),h.setAttribute("flood-opacity","1"),h.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=h,t.appendChild(h);var m=createNS("feComposite");m.setAttribute("in",i+"_drop_shadow_3"),m.setAttribute("in2",i+"_drop_shadow_2"),m.setAttribute("operator","in"),m.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(m);var P=this.createMergeNode(i,[i+"_drop_shadow_4",s]);t.appendChild(P)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var i=r.children,s=0,a=i.length;s<a&&i[s]!==t.layerElement;)s+=1;var n;s<=a-2&&(n=i[s+1]);var l=createNS("use");l.setAttribute("href","#"+e),n?r.insertBefore(l,n):r.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var s=t.globalData.defs;s.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),s.appendChild(a);var n=createNS("use");n.setAttribute("href","#"+r),i.appendChild(n),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(t,e,r,i){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("result",i),t.appendChild(s),this.feGaussianBlur=s}SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,r=this.filterManager.effectElements[0].p.v*e,i=this.filterManager.effectElements[1].p.v,s=i==3?0:r,a=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+a);var n=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",n)}};function TransformEffect(){}TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,r=e[0].p.v,i=e[1].p.v,s=e[2].p.v===1,a=e[3].p.v,n=s?a:e[4].p.v,l=e[5].p.v,o=e[6].p.v,h=e[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(n*.01,a*.01,1),this.matrix.rotate(-h*degToRads),this.matrix.skewFromAxis(-l*degToRads,(o+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(t,e){this.init(e)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(t){this.init(t)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie,lottieExports);const Lottie=lottieExports;var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$e=Object.prototype,hasOwnProperty$b=objectProto$e.hasOwnProperty,nativeObjectToString$1=objectProto$e.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(t){var e=hasOwnProperty$b.call(t,symToStringTag$1),r=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var i=!0}catch(a){}var s=nativeObjectToString$1.call(t);return i&&(e?t[symToStringTag$1]=r:delete t[symToStringTag$1]),s}var objectProto$d=Object.prototype,nativeObjectToString=objectProto$d.toString;function objectToString(t){return nativeObjectToString.call(t)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(t){return t==null?t===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString(t)}function isObjectLike(t){return t!=null&&typeof t=="object"}var isArray=Array.isArray,isArray$1=isArray;function isObject(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(t){if(!isObject(t))return!1;var e=baseGetTag(t);return e==funcTag$2||e==genTag$1||e==asyncTag||e==proxyTag}var coreJsData=root$1["__core-js_shared__"],coreJsData$1=coreJsData,maskSrcKey=function(){var t=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function isMasked(t){return!!maskSrcKey&&maskSrcKey in t}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(t){if(t!=null){try{return funcToString$1.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$c=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$a=objectProto$c.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(t){if(!isObject(t)||isMasked(t))return!1;var e=isFunction(t)?reIsNative:reIsHostCtor;return e.test(toSource(t))}function getValue(t,e){return t==null?void 0:t[e]}function getNative(t,e){var r=getValue(t,e);return baseIsNative(r)?r:void 0}var WeakMap=getNative(root$1,"WeakMap"),WeakMap$1=WeakMap,objectCreate=Object.create,baseCreate=function(){function t(){}return function(e){if(!isObject(e))return{};if(objectCreate)return objectCreate(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),baseCreate$1=baseCreate;function copyArray(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r<i;)e[r]=t[r];return e}var defineProperty=function(){try{var t=getNative(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),defineProperty$1=defineProperty;function arrayEach(t,e){for(var r=-1,i=t==null?0:t.length;++r<i&&e(t[r],r,t)!==!1;);return t}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(t,e){var r=typeof t;return e=e==null?MAX_SAFE_INTEGER$1:e,!!e&&(r=="number"||r!="symbol"&&reIsUint.test(t))&&t>-1&&t%1==0&&t<e}function baseAssignValue(t,e,r){e=="__proto__"&&defineProperty$1?defineProperty$1(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function eq(t,e){return t===e||t!==t&&e!==e}var objectProto$b=Object.prototype,hasOwnProperty$9=objectProto$b.hasOwnProperty;function assignValue(t,e,r){var i=t[e];(!(hasOwnProperty$9.call(t,e)&&eq(i,r))||r===void 0&&!(e in t))&&baseAssignValue(t,e,r)}function copyObject(t,e,r,i){var s=!r;r||(r={});for(var a=-1,n=e.length;++a<n;){var l=e[a],o=i?i(r[l],t[l],l,r,t):void 0;o===void 0&&(o=t[l]),s?baseAssignValue(r,l,o):assignValue(r,l,o)}return r}var MAX_SAFE_INTEGER=9007199254740991;function isLength(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=MAX_SAFE_INTEGER}function isArrayLike(t){return t!=null&&isLength(t.length)&&!isFunction(t)}var objectProto$a=Object.prototype;function isPrototype(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||objectProto$a;return t===r}function baseTimes(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}var argsTag$3="[object Arguments]";function baseIsArguments(t){return isObjectLike(t)&&baseGetTag(t)==argsTag$3}var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty,propertyIsEnumerable$1=objectProto$9.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(t){return isObjectLike(t)&&hasOwnProperty$8.call(t,"callee")&&!propertyIsEnumerable$1.call(t,"callee")},isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$1=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$1?Buffer$1.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,isBuffer$1=isBuffer,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(t){return isObjectLike(t)&&isLength(t.length)&&!!typedArrayTags[baseGetTag(t)]}function baseUnary(t){return function(e){return t(e)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var t=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return t||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeUtil$1=nodeUtil,nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray$1=isTypedArray,objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function arrayLikeKeys(t,e){var r=isArray$1(t),i=!r&&isArguments$1(t),s=!r&&!i&&isBuffer$1(t),a=!r&&!i&&!s&&isTypedArray$1(t),n=r||i||s||a,l=n?baseTimes(t.length,String):[],o=l.length;for(var h in t)(e||hasOwnProperty$7.call(t,h))&&!(n&&(h=="length"||s&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||isIndex(h,o)))&&l.push(h);return l}function overArg(t,e){return function(r){return t(e(r))}}var nativeKeys=overArg(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeys(t){if(!isPrototype(t))return nativeKeys$1(t);var e=[];for(var r in Object(t))hasOwnProperty$6.call(t,r)&&r!="constructor"&&e.push(r);return e}function keys(t){return isArrayLike(t)?arrayLikeKeys(t):baseKeys(t)}function nativeKeysIn(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function baseKeysIn(t){if(!isObject(t))return nativeKeysIn(t);var e=isPrototype(t),r=[];for(var i in t)i=="constructor"&&(e||!hasOwnProperty$5.call(t,i))||r.push(i);return r}function keysIn(t){return isArrayLike(t)?arrayLikeKeys(t,!0):baseKeysIn(t)}var nativeCreate=getNative(Object,"create"),nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function hashGet(t){var e=this.__data__;if(nativeCreate$1){var r=e[t];return r===HASH_UNDEFINED$2?void 0:r}return hasOwnProperty$4.call(e,t)?e[t]:void 0}var objectProto$4=Object.prototype,hasOwnProperty$3=objectProto$4.hasOwnProperty;function hashHas(t){var e=this.__data__;return nativeCreate$1?e[t]!==void 0:hasOwnProperty$3.call(e,t)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=nativeCreate$1&&e===void 0?HASH_UNDEFINED$1:e,this}function Hash(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(t,e){for(var r=t.length;r--;)if(eq(t[r][0],e))return r;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(t){var e=this.__data__,r=assocIndexOf(e,t);if(r<0)return!1;var i=e.length-1;return r==i?e.pop():splice.call(e,r,1),--this.size,!0}function listCacheGet(t){var e=this.__data__,r=assocIndexOf(e,t);return r<0?void 0:e[r][1]}function listCacheHas(t){return assocIndexOf(this.__data__,t)>-1}function listCacheSet(t,e){var r=this.__data__,i=assocIndexOf(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}function ListCache(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map=getNative(root$1,"Map"),Map$1=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function getMapData(t,e){var r=t.__data__;return isKeyable(e)?r[typeof e=="string"?"string":"hash"]:r.map}function mapCacheDelete(t){var e=getMapData(this,t).delete(t);return this.size-=e?1:0,e}function mapCacheGet(t){return getMapData(this,t).get(t)}function mapCacheHas(t){return getMapData(this,t).has(t)}function mapCacheSet(t,e){var r=getMapData(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}function MapCache(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function arrayPush(t,e){for(var r=-1,i=e.length,s=t.length;++r<i;)t[s+r]=e[r];return t}var getPrototype=overArg(Object.getPrototypeOf,Object),getPrototype$1=getPrototype;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function stackGet(t){return this.__data__.get(t)}function stackHas(t){return this.__data__.has(t)}var LARGE_ARRAY_SIZE=200;function stackSet(t,e){var r=this.__data__;if(r instanceof ListCache){var i=r.__data__;if(!Map$1||i.length<LARGE_ARRAY_SIZE-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new MapCache(i)}return r.set(t,e),this.size=r.size,this}function Stack(t){var e=this.__data__=new ListCache(t);this.size=e.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign(t,e){return t&&copyObject(e,keys(e),t)}function baseAssignIn(t,e){return t&&copyObject(e,keysIn(e),t)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer(t,e){if(e)return t.slice();var r=t.length,i=allocUnsafe?allocUnsafe(r):new t.constructor(r);return t.copy(i),i}function arrayFilter(t,e){for(var r=-1,i=t==null?0:t.length,s=0,a=[];++r<i;){var n=t[r];e(n,r,t)&&(a[s++]=n)}return a}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(t){return t==null?[]:(t=Object(t),arrayFilter(nativeGetSymbols$1(t),function(e){return propertyIsEnumerable.call(t,e)}))}:stubArray,getSymbols$1=getSymbols;function copySymbols(t,e){return copyObject(t,getSymbols$1(t),e)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(t){for(var e=[];t;)arrayPush(e,getSymbols$1(t)),t=getPrototype$1(t);return e}:stubArray,getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(t,e){return copyObject(t,getSymbolsIn$1(t),e)}function baseGetAllKeys(t,e,r){var i=e(t);return isArray$1(t)?i:arrayPush(i,r(t))}function getAllKeys(t){return baseGetAllKeys(t,keys,getSymbols$1)}function getAllKeysIn(t){return baseGetAllKeys(t,keysIn,getSymbolsIn$1)}var DataView=getNative(root$1,"DataView"),DataView$1=DataView,Promise$1=getNative(root$1,"Promise"),Promise$2=Promise$1,Set=getNative(root$1,"Set"),Set$1=Set,mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$1),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$1&&getTag(new Map$1)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$1&&getTag(new Set$1)!=setTag$4||WeakMap$1&&getTag(new WeakMap$1)!=weakMapTag$1)&&(getTag=function(t){var e=baseGetTag(t),r=e==objectTag$2?t.constructor:void 0,i=r?toSource(r):"";if(i)switch(i){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return e});var getTag$1=getTag,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function initCloneArray(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&hasOwnProperty$2.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var Uint8Array$1=root$1.Uint8Array,Uint8Array$1$1=Uint8Array$1;function cloneArrayBuffer(t){var e=new t.constructor(t.byteLength);return new Uint8Array$1$1(e).set(new Uint8Array$1$1(t)),e}function cloneDataView(t,e){var r=e?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var reFlags=/\w*$/;function cloneRegExp(t){var e=new t.constructor(t.source,reFlags.exec(t));return e.lastIndex=t.lastIndex,e}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(t){return symbolValueOf$1?Object(symbolValueOf$1.call(t)):{}}function cloneTypedArray(t,e){var r=e?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(t,e,r){var i=t.constructor;switch(e){case arrayBufferTag$2:return cloneArrayBuffer(t);case boolTag$2:case dateTag$2:return new i(+t);case dataViewTag$2:return cloneDataView(t,r);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(t,r);case mapTag$3:return new i;case numberTag$2:case stringTag$2:return new i(t);case regexpTag$2:return cloneRegExp(t);case setTag$3:return new i;case symbolTag$2:return cloneSymbol(t)}}function initCloneObject(t){return typeof t.constructor=="function"&&!isPrototype(t)?baseCreate$1(getPrototype$1(t)):{}}var mapTag$2="[object Map]";function baseIsMap(t){return isObjectLike(t)&&getTag$1(t)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,isMap$1=isMap,setTag$2="[object Set]";function baseIsSet(t){return isObjectLike(t)&&getTag$1(t)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,isSet$1=isSet,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(t,e,r,i,s,a){var n,l=e&CLONE_DEEP_FLAG$1,o=e&CLONE_FLAT_FLAG,h=e&CLONE_SYMBOLS_FLAG$1;if(r&&(n=s?r(t,i,s,a):r(t)),n!==void 0)return n;if(!isObject(t))return t;var m=isArray$1(t);if(m){if(n=initCloneArray(t),!l)return copyArray(t,n)}else{var P=getTag$1(t),f=P==funcTag||P==genTag;if(isBuffer$1(t))return cloneBuffer(t,l);if(P==objectTag$1||P==argsTag$1||f&&!s){if(n=o||f?{}:initCloneObject(t),!l)return o?copySymbolsIn(t,baseAssignIn(n,t)):copySymbols(t,baseAssign(n,t))}else{if(!cloneableTags[P])return s?t:{};n=initCloneByTag(t,P,l)}}a||(a=new Stack);var b=a.get(t);if(b)return b;a.set(t,n),isSet$1(t)?t.forEach(function(C){n.add(baseClone(C,e,r,C,t,a))}):isMap$1(t)&&t.forEach(function(C,c){n.set(c,baseClone(C,e,r,c,t,a))});var y=h?o?getAllKeysIn:getAllKeys:o?keysIn:keys,d=m?void 0:y(t);return arrayEach(d||t,function(C,c){d&&(c=C,C=t[c]),assignValue(n,c,baseClone(C,e,r,c,t,a))}),n}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(t){return baseClone(t,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(t){return this.__data__.set(t,HASH_UNDEFINED),this}function setCacheHas(t){return this.__data__.has(t)}function SetCache(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new MapCache;++e<r;)this.add(t[e])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(t,e){for(var r=-1,i=t==null?0:t.length;++r<i;)if(e(t[r],r,t))return!0;return!1}function cacheHas(t,e){return t.has(e)}var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(t,e,r,i,s,a){var n=r&COMPARE_PARTIAL_FLAG$3,l=t.length,o=e.length;if(l!=o&&!(n&&o>l))return!1;var h=a.get(t),m=a.get(e);if(h&&m)return h==e&&m==t;var P=-1,f=!0,b=r&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(a.set(t,e),a.set(e,t);++P<l;){var y=t[P],d=e[P];if(i)var C=n?i(d,y,P,e,t,a):i(y,d,P,t,e,a);if(C!==void 0){if(C)continue;f=!1;break}if(b){if(!arraySome(e,function(c,u){if(!cacheHas(b,u)&&(y===c||s(y,c,r,i,a)))return b.push(u)})){f=!1;break}}else if(!(y===d||s(y,d,r,i,a))){f=!1;break}}return a.delete(t),a.delete(e),f}function mapToArray(t){var e=-1,r=Array(t.size);return t.forEach(function(i,s){r[++e]=[s,i]}),r}function setToArray(t){var e=-1,r=Array(t.size);return t.forEach(function(i){r[++e]=i}),r}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(t,e,r,i,s,a,n){switch(r){case dataViewTag:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case arrayBufferTag:return!(t.byteLength!=e.byteLength||!a(new Uint8Array$1$1(t),new Uint8Array$1$1(e)));case boolTag:case dateTag:case numberTag:return eq(+t,+e);case errorTag:return t.name==e.name&&t.message==e.message;case regexpTag:case stringTag:return t==e+"";case mapTag:var l=mapToArray;case setTag:var o=i&COMPARE_PARTIAL_FLAG$2;if(l||(l=setToArray),t.size!=e.size&&!o)return!1;var h=n.get(t);if(h)return h==e;i|=COMPARE_UNORDERED_FLAG,n.set(t,e);var m=equalArrays(l(t),l(e),i,s,a,n);return n.delete(t),m;case symbolTag:if(symbolValueOf)return symbolValueOf.call(t)==symbolValueOf.call(e)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(t,e,r,i,s,a){var n=r&COMPARE_PARTIAL_FLAG$1,l=getAllKeys(t),o=l.length,h=getAllKeys(e),m=h.length;if(o!=m&&!n)return!1;for(var P=o;P--;){var f=l[P];if(!(n?f in e:hasOwnProperty$1.call(e,f)))return!1}var b=a.get(t),y=a.get(e);if(b&&y)return b==e&&y==t;var d=!0;a.set(t,e),a.set(e,t);for(var C=n;++P<o;){f=l[P];var c=t[f],u=e[f];if(i)var p=n?i(u,c,f,e,t,a):i(c,u,f,t,e,a);if(!(p===void 0?c===u||s(c,u,r,i,a):p)){d=!1;break}C||(C=f=="constructor")}if(d&&!C){var v=t.constructor,E=e.constructor;v!=E&&"constructor"in t&&"constructor"in e&&!(typeof v=="function"&&v instanceof v&&typeof E=="function"&&E instanceof E)&&(d=!1)}return a.delete(t),a.delete(e),d}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(t,e,r,i,s,a){var n=isArray$1(t),l=isArray$1(e),o=n?arrayTag:getTag$1(t),h=l?arrayTag:getTag$1(e);o=o==argsTag?objectTag:o,h=h==argsTag?objectTag:h;var m=o==objectTag,P=h==objectTag,f=o==h;if(f&&isBuffer$1(t)){if(!isBuffer$1(e))return!1;n=!0,m=!1}if(f&&!m)return a||(a=new Stack),n||isTypedArray$1(t)?equalArrays(t,e,r,i,s,a):equalByTag(t,e,o,r,i,s,a);if(!(r&COMPARE_PARTIAL_FLAG)){var b=m&&hasOwnProperty.call(t,"__wrapped__"),y=P&&hasOwnProperty.call(e,"__wrapped__");if(b||y){var d=b?t.value():t,C=y?e.value():e;return a||(a=new Stack),s(d,C,r,i,a)}}return f?(a||(a=new Stack),equalObjects(t,e,r,i,s,a)):!1}function baseIsEqual(t,e,r,i,s){return t===e?!0:t==null||e==null||!isObjectLike(t)&&!isObjectLike(e)?t!==t&&e!==e:baseIsEqualDeep(t,e,r,i,baseIsEqual,s)}function isEqual(t,e){return baseIsEqual(t,e)}var _export_sfc=(t,e)=>{const r=t.__vccOpts||t;for(const[i,s]of e)r[i]=s;return r};const _sfc_main=defineComponent({props:{animationData:{type:Object,default:()=>({})},animationLink:{type:String,default:""},loop:{type:[Boolean,Number],default:!0},autoPlay:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},speed:{type:Number,default:1},delay:{type:Number,default:0},direction:{type:String,default:"forward"},pauseOnHover:{type:Boolean,default:!1},playOnHover:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},pauseAnimation:{type:Boolean,default:!1},renderer:{type:String,default:"svg"},rendererSettings:{type:Object,default:()=>({})},assetsPath:{type:String,default:""}},emits:{onComplete:null,onLoopComplete:null,onEnterFrame:null,onSegmentStart:null,onAnimationLoaded:null},setup(t,{emit:e}){let r=ref(null);const i=ref("");let s=1;const a=x=>document.querySelector(`[data-id="${x}"]`)!==null,n=async x=>{let k=t.autoPlay;t.playOnHover&&(k=!1);let R={};if(isEqual(t.animationData,{})===!1&&(R=cloneDeep(t.animationData)),t.animationLink!="")try{R=await(await fetch(t.animationLink)).json()}catch(D){console.error(D);return}let V=t.loop;typeof V=="number"&&V>0&&(V=V-1),t.delay>0&&(k=!1);const I={container:x,renderer:t.renderer,loop:V,autoplay:k,animationData:R,assetsPath:t.assetsPath};isEqual(t.rendererSettings,{})===!1&&(I.rendererSettings=t.rendererSettings),r=Lottie.loadAnimation(I),setTimeout(()=>{k=t.autoPlay,t.playOnHover?r.pause():k?r.play():r.pause(),e("onAnimationLoaded")},t.delay),r.setSpeed(t.speed),t.direction==="reverse"&&r.setDirection(-1),t.direction==="normal"&&r.setDirection(1),(t.pauseAnimation||t.playOnHover)&&r.pause(),r.addEventListener("loopComplete",()=>{t.direction==="alternate"&&(r.stop(),s=s*-1,r.setDirection(s),r.play()),e("onLoopComplete")}),r.addEventListener("complete",()=>{e("onComplete")}),r.addEventListener("enterFrame",()=>{e("onEnterFrame")}),r.addEventListener("segmentStart",()=>{e("onSegmentStart")})},l=computed(()=>{let x=t.width,k=t.height;return typeof t.width=="number"&&(x=`${t.width}px`),typeof t.height=="number"&&(k=`${t.height}px`),{"--lottie-animation-container-width":x,"--lottie-animation-container-height":k,"--lottie-animation-container-background-color":t.backgroundColor}}),o=()=>{r&&t.pauseOnHover&&r.pause(),r&&t.playOnHover&&r.play()},h=()=>{r&&t.pauseOnHover&&r.play(),r&&t.playOnHover&&r.pause()};watch(()=>t.pauseAnimation,()=>{if((t.pauseOnHover||t.playOnHover)&&t.pauseAnimation){console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover");return}r&&(t.pauseAnimation?r.pause():r.play())});const m=()=>{r&&r.play()},P=()=>{r&&r.pause()},f=()=>{r&&r.stop()},b=()=>{r&&r.destroy()},y=(x=1)=>{if(x<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(x)},d=x=>{r&&(x==="forward"?r.setDirection(1):x==="reverse"&&r.setDirection(-1))},C=(x,k=!0)=>{r&&r.goToAndStop(x,k)},c=(x,k=!0)=>{r&&r.goToAndPlay(x,k)},u=(x,k=!1)=>{r&&r.playSegments(x,k)},p=(x=!0)=>{r&&r.setSubframe(x)},v=(x=!0)=>{if(r)return r.getDuration(x)},E=(x,k=0)=>{r&&r.renderer.elements[k].updateDocumentData(x)},_=x=>{for(var k="",R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",V=R.length,I=0;I<x;I++)k+=R.charAt(Math.floor(Math.random()*V));return k},A=x=>{if(t.pauseOnHover&&t.playOnHover)throw new Error("You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.");if(t.animationLink===""&&isEqual(t.animationData,{}))throw new Error("You must provide either animationLink or animationData");const k=setInterval(()=>{if(a(x)){clearInterval(k);const R=document.querySelector(`[data-id="${x}" ]`);R&&n(R)}},0)};return onMounted(async()=>{i.value=_(20),A(i.value)}),{elementid:i,hoverEnded:h,hoverStarted:o,getCurrentStyle:l,play:m,pause:P,stop:f,destroy:b,setSpeed:y,setDirection:d,goToAndStop:C,goToAndPlay:c,playSegments:u,setSubFrame:p,getDuration:v,updateDocumentData:E}}}),_hoisted_1=["data-id"];function _sfc_render(t,e,r,i,s,a){return openBlock(),createElementBlock("div",{"data-id":t.elementid,class:"lottie-animation-container",style:normalizeStyle(t.getCurrentStyle),onMouseenter:e[0]||(e[0]=(...n)=>t.hoverStarted&&t.hoverStarted(...n)),onMouseleave:e[1]||(e[1]=(...n)=>t.hoverEnded&&t.hoverEnded(...n))},null,44,_hoisted_1)}var Vue3Lottie=_export_sfc(_sfc_main,[["render",_sfc_render]]);export{RadioGroup as R,Vue3Lottie as V,Radio as a};