PageSourceSearch

https://www.auto.co.il/scripts/plugins/dotlottie-player.js

js auto.co.il collected 2026-10-02 19:42:35 UTC 617,946 bytes, 877 lines download raw bytes

1(function (global, factory) {
2  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3  typeof define === 'function' && define.amd ? define(['exports'], factory) :
4  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.DotLottiePlayer = {}));
5})(this, (function (exports) { 'use strict';
6
7  var nl=Object.defineProperty;var al=Object.getOwnPropertyDescriptor;var Ot=(t,e,r,i)=>{for(var s=i>1?void 0:i?al(e,r):e,n=t.length-1,a;n>=0;n--)(a=t[n])&&(s=(i?a(e,r,s):a(s))||s);return i&&s&&nl(e,r,s),s};function bt(t,e="dotLottie-common"){return new Error(`[${e}]: ${t}`)}function Be(t,e="dotLottie-common",...r){console.error(`[${e}]:`,t,...r);}function ze(t,e="dotLottie-common",...r){console.warn(`[${e}]:`,t,...r);}function pi(t=""){let e=t.trim(),r=e.lastIndexOf("/"),i=e.substring(r+1),s=i.indexOf(".");return s!==-1?i.substring(0,s):i}function _e(t){return ["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}function ci(t){try{let e=JSON.parse(t);return _e(e)}catch{return !1}}var zs={},ol=function(t,e,r,i,s){var n=new Worker(zs[e]||(zs[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return n.onmessage=function(a){var o=a.data,l=o.$e$;if(l){var h=new Error(l[0]);h.code=l[1],h.stack=l[2],s(h,null);}else s(null,o);},n.postMessage(r,i),n},zt=Uint8Array,ue=Uint16Array,gi=Uint32Array,vi=new zt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),bi=new zt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ws=new zt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Js=function(t,e){for(var r=new ue(31),i=0;i<31;++i)r[i]=e+=1<<t[i-1];for(var s=new gi(r[30]),i=1;i<30;++i)for(var n=r[i];n<r[i+1];++n)s[n]=n-r[i]<<5|i;return [r,s]},Ks=Js(vi,2),xi=Ks[0],ll=Ks[1];xi[28]=258,ll[258]=28;var hl=Js(bi,0),Ys=hl[0],Er=new ue(32768);for(gt=0;gt<32768;++gt)oe=(gt&43690)>>>1|(gt&21845)<<1,oe=(oe&52428)>>>2|(oe&13107)<<2,oe=(oe&61680)>>>4|(oe&3855)<<4,Er[gt]=((oe&65280)>>>8|(oe&255)<<8)>>>1;var oe,gt,Ne=function(t,e,r){for(var i=t.length,s=0,n=new ue(e);s<i;++s)t[s]&&++n[t[s]-1];var a=new ue(e);for(s=0;s<e;++s)a[s]=a[s-1]+n[s-1]<<1;var o;if(r){o=new ue(1<<e);var l=15-e;for(s=0;s<i;++s)if(t[s])for(var h=s<<4|t[s],u=e-t[s],c=a[t[s]-1]++<<u,d=c|(1<<u)-1;c<=d;++c)o[Er[c]>>>l]=h;}else for(o=new ue(i),s=0;s<i;++s)t[s]&&(o[s]=Er[a[t[s]-1]++]>>>15-t[s]);return o},Ze=new zt(288);for(gt=0;gt<144;++gt)Ze[gt]=8;var gt;for(gt=144;gt<256;++gt)Ze[gt]=9;var gt;for(gt=256;gt<280;++gt)Ze[gt]=7;var gt;for(gt=280;gt<288;++gt)Ze[gt]=8;var gt,Zs=new zt(32);for(gt=0;gt<32;++gt)Zs[gt]=5;var gt,Xs=Ne(Ze,9,1),Qs=Ne(Zs,5,1),_r=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},Yt=function(t,e,r){var i=e/8|0;return (t[i]|t[i+1]<<8)>>(e&7)&r},Cr=function(t,e){var r=e/8|0;return (t[r]|t[r+1]<<8|t[r+2]<<16)>>(e&7)},tn=function(t){return (t+7)/8|0},Ar=function(t,e,r){(e==null||e<0)&&(e=0),(r==null||r>t.length)&&(r=t.length);var i=new(t.BYTES_PER_ELEMENT==2?ue:t.BYTES_PER_ELEMENT==4?gi:zt)(r-e);return i.set(t.subarray(e,r)),i}
vendor: 5,905 bytes, line 7
7,en=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],jt=function(t,e,r){var i=new Error(e||en[t]);if(i.code=t,Error.captureStackTrace&&Error.captureStackTrace(i,jt),!r)throw i;return i},rn=function(t,e,r){var i=t.length;if(!i||r&&r.f&&!r.l)return e||new zt(0);var s=!e||r,n=!r||r.i;r||(r={}),e||(e=new zt(i*3));var a=function(Q){var rt=e.length;if(Q>rt){var st=new zt(Math.max(rt*2,Q));st.set(e),e=st;}},o=r.f||0,l=r.p||0,h=r.b||0,u=r.l,c=r.d,d=r.m,m=r.n,p=i*8;do{if(!u){o=Yt(t,l,1);var f=Yt(t,l+1,3);if(l+=3,f)if(f==1)u=Xs,c=Qs,d=9,m=5;else if(f==2){var v=Yt(t,l,31)+257,y=Yt(t,l+10,15)+4,g=v+Yt(t,l+5,31)+1;l+=14;for(var b=new zt(g),x=new zt(19),S=0;S<y;++S)x[Ws[S]]=Yt(t,l+S*3,7);l+=y*3;for(var C=_r(x),P=(1<<C)-1,T=Ne(x,C,1),S=0;S<g;){var V=T[Yt(t,l,P)];l+=V&15;var $=V>>>4;if($<16)b[S++]=$;else {var R=0,j=0;for($==16?(j=3+Yt(t,l,3),l+=2,R=b[S-1]):$==17?(j=3+Yt(t,l,7),l+=3):$==18&&(j=11+Yt(t,l,127),l+=7);j--;)b[S++]=R;}}var q=b.subarray(0,v),F=b.subarray(v);d=_r(q),m=_r(F),u=Ne(q,d,1),c=Ne(F,m,1);}else jt(1);else {var $=tn(l)+4,U=t[$-4]|t[$-3]<<8,A=$+U;if(A>i){n&&jt(0);break}s&&a(h+U),e.set(t.subarray($,A),h),r.b=h+=U,r.p=l=A*8,r.f=o;continue}if(l>p){n&&jt(0);break}}s&&a(h+131072);for(var M=(1<<d)-1,_=(1<<m)-1,E=l;;E=l){var R=u[Cr(t,l)&M],L=R>>>4;if(l+=R&15,l>p){n&&jt(0);break}if(R||jt(2),L<256)e[h++]=L;else if(L==256){E=l,u=null;break}else {var I=L-254;if(L>264){var S=L-257,X=vi[S];I=Yt(t,l,(1<<X)-1)+xi[S],l+=X;}var Y=c[Cr(t,l)&_],H=Y>>>4;Y||jt(3),l+=Y&15;var F=Ys[H];if(H>3){var X=bi[H];F+=Cr(t,l)&(1<<X)-1,l+=X;}if(l>p){n&&jt(0);break}s&&a(h+131072);for(var G=h+I;h<G;h+=4)e[h]=e[h-F],e[h+1]=e[h+1-F],e[h+2]=e[h+2-F],e[h+3]=e[h+3-F];h=G;}}r.l=u,r.p=E,r.b=h,r.f=o,u&&(o=1,r.m=d,r.d=c,r.n=m);}while(!o);return h==e.length?e:Ar(e,0,h)},pl=new zt(0),cl=function(t,e){var r={};for(var i in t)r[i]=t[i];for(var i in e)r[i]=e[i];return r},Ns=function(t,e,r){for(var i=t(),s=t.toString(),n=s.slice(s.indexOf("[")+1,s.lastIndexOf("]")).replace(/\s+/g,"").split(","),a=0;a<i.length;++a){var o=i[a],l=n[a];if(typeof o=="function"){e+=";"+l+"=";var h=o.toString();if(o.prototype)if(h.indexOf("[native code]")!=-1){var u=h.indexOf(" ",8)+1;e+=h.slice(u,h.indexOf("(",u));}else {e+=h;for(var c in o.prototype)e+=";"+l+".prototype."+c+"="+o.prototype[c].toString();}else e+=h;}else r[l]=o;}return [e,r]},kr=[],fl=function(t){var e=[];for(var r in t)t[r].buffer&&e.push((t[r]=new t[r].constructor(t[r])).buffer);return e},ul=function(t,e,r,i){var s;if(!kr[r]){for(var n="",a={},o=t.length-1,l=0;l<o;++l)s=Ns(t[l],n,a),n=s[0],a=s[1];kr[r]=Ns(t[o],n,a);}var h=cl({},kr[r][1]);return ol(kr[r][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",r,h,fl(h),i)},dl=function(){return [zt,ue,gi,vi,bi,Ws,xi,Ys,Xs,Qs,Er,en,Ne,_r,Yt,Cr,tn,Ar,jt,rn,Si,sn,nn]},sn=function(t){return postMessage(t,[t.buffer])},nn=function(t){return t&&t.size&&new zt(t.size)},ml=function(t,e,r,i,s,n){var a=ul(r,i,s,function(o,l){a.terminate(),n(o,l);});return a.postMessage([t,e],e.consume?[t.buffer]:[]),function(){a.terminate();}},ie=function(t,e){return t[e]|t[e+1]<<8},ee=function(t,e){return (t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},fi=function(t,e){return ee(t,e)+ee(t,e+4)*4294967296};function yl(t,e,r){return r||(r=e,e={}),typeof r!="function"&&jt(7),ml(t,e,[dl],function(i){return sn(Si(i.data[0],nn(i.data[1])))},1,r)}function Si(t,e){return rn(t,e)}var di=typeof TextDecoder<"u"&&new TextDecoder,gl=0;try{di.decode(pl,{stream:!0}),gl=1;}catch{}var vl=function(t){for(var e="",r=0;;){var i=t[r++],s=(i>127)+(i>223)+(i>239);if(r+s>t.length)return [e,Ar(t,r-1)];s?s==3?(i=((i&15)<<18|(t[r++]&63)<<12|(t[r++]&63)<<6|t[r++]&63)-65536,e+=String.fromCharCode(55296|i>>10,56320|i&1023)):s&1?e+=String.fromCharCode((i&31)<<6|t[r++]&63):e+=String.fromCharCode((i&15)<<12|(t[r++]&63)<<6|t[r++]&63):e+=String.fromCharCode(i);}};function Tr(t,e){if(e){for(var r="",i=0;i<t.length;i+=16384)r+=String.fromCharCode.apply(null,t.subarray(i,i+16384));return r}else {if(di)return di.decode(t);var s=vl(t),n=s[0],a=s[1];return a.length&&jt(8),n}}var bl=function(t,e){return e+30+ie(t,e+26)+ie(t,e+28)},xl=function(t,e,r){var i=ie(t,e+28),s=Tr(t.subarray(e+46,e+46+i),!(ie(t,e+8)&2048)),n=e+46+i,a=ee(t,e+20),o=r&&a==4294967295?Sl(t,n):[a,ee(t,e+24),ee(t,e+42)],l=o[0],h=o[1],u=o[2];return [ie(t,e+10),l,h,s,n+ie(t,e+30)+ie(t,e+32),u]},Sl=function(t,e){for(;ie(t,e)!=1;e+=4+ie(t,e+2));return [fi(t,e+12),fi(t,e+4),fi(t,e+20)]},$s=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(t){t();};function wl(t,e,r){r||(r=e,e={}),typeof r!="function"&&jt(7);var i=[],s=function(){for(var v=0;v<i.length;++v)i[v]();},n={},a=function(v,y){$s(function(){r(v,y);});};$s(function(){a=r;});for(var o=t.length-22;ee(t,o)!=101010256;--o)if(!o||t.length-o>65558)return a(jt(13,0,1),null),s;var l=ie(t,o+8);if(l){var h=l,u=ee(t,o+16),c=u==4294967295||h==65535;if(c){var d=ee(t,o-12);c=ee(t,d)==101075792,c&&(h=l=ee(t,d+32),u=ee(t,d+48));}for(var m=e&&e.filter,p=function(v){var y=xl(t,u,c),g=y[0],b=y[1],x=y[2],S=y[3],C=y[4],P=y[5],T=bl(t,P);u=C;var V=function(R,j){R?(s(),a(R,null)):(j&&(n[S]=j),--l||a(null,n));};if(!m||m({name:S,size:b,originalSize:x,compression:g}))if(!g)V(null,Ar(t,T,T+b));else if(g==8){var $=t.subarray(T,T+b);if(b<32e4)try{V(null,Si($,new zt(x)));}catch(R){V(R,null);}else i.push(yl($,{size:x},V));}else V(jt(14,"unknown compression type "+g,1),null);else V(null,null);},f=0;f<h;++f)p(f);}else a(null,{});return s}function kl(t){return t.issues.reduce((e,r)=>{if(r.path){let i=r.path.map(({key:s})=>s).join(".");e.nested[i]=[...e.nested[i]||[],r.message];}else e.root=[...e.root||[],r.message];return e},{nested:{}})}
7var Wt=class extends Error{issues;constructor(t){super(t[0].message),this.name="ValiError",this.issues=t;}};function Pe(t,e,r){let i=t,s=[];if(e.forEach(n=>{try{i=n(i,r);}catch(a){if(r.abortEarly||r.abortPipeEarly)throw a;s.push(...a.issues);}}),s.length)throw new Wt(s);return i}function wi(t,e){return [...t?.path||[],e]}function Ce(t,e){let[r,i=[]]=!t||typeof t=="string"?[t,e]:[void 0,t];return {error:r,pipe:i}}function _l(t=[]){return {schema:"any",async:!1,parse(e,r){return Pe(e,t,{...r,reason:"any"})}}}function mi(t,e,r){let{error:i,pipe:s}=Ce(e,r);return {schema:"array",array:{item:t},async:!1,parse(n,a){if(!Array.isArray(n))throw new Wt([{reason:"type",validation:"array",origin:"value",message:i||"Invalid type",input:n,...a}]);let o=[],l=[];if(n.forEach((h,u)=>{try{o.push(t.parse(h,{...a,path:wi(a,{schema:"array",input:n,key:u,value:h})}));}catch(c){if(a?.abortEarly)throw c;l.push(...c.issues);}}),l.length)throw new Wt(l);return Pe(o,s,{...a,reason:"array"})}}}function ui(t,e){let{error:r,pipe:i}=Ce(t,e);return {schema:"boolean",async:!1,parse(s,n){if(typeof s!="boolean")throw new Wt([{reason:"type",validation:"boolean",origin:"value",message:r||"Invalid type",input:s,...n}]);return Pe(s,i,{...n,reason:"boolean"})}}}function js(t,e){return {schema:"literal",literal:t,async:!1,parse(r,i){if(r!==t)throw new Wt([{reason:"type",validation:"literal",origin:"value",message:e||"Invalid type",input:r,...i}]);return r}}}function Cl(t,e){return {schema:"native_enum",nativeEnum:t,async:!1,parse(r,i){if(!Object.values(t).includes(r))throw new Wt([{reason:"type",validation:"native_enum",origin:"value",message:e||"Invalid type",input:r,...i}]);return r}}}function Pr(t,e){let{error:r,pipe:i}=Ce(t,e);return {schema:"number",async:!1,parse(s,n){if(typeof s!="number")throw new Wt([{reason:"type",validation:"number",origin:"value",message:r||"Invalid type",input:s,...n}]);return Pe(s,i,{...n,reason:"number"})}}}function ki(t,e,r){let{error:i,pipe:s}=Ce(e,r);return {schema:"object",object:t,async:!1,parse(n,a){if(!n||typeof n!="object"||n.toString()!=="[object Object]")throw new Wt([{reason:"type",validation:"object",origin:"value",message:i||"Invalid type",input:n,...a}]);let o={},l=[];if(Object.entries(t).forEach(([h,u])=>{try{let c=n[h];o[h]=u.parse(c,{...a,path:wi(a,{schema:"object",input:n,key:h,value:c})});}catch(c){if(a?.abortEarly)throw c;l.push(...c.issues);}}),l.length)throw new Wt(l);return Pe(o,s,{...a,reason:"object"})}}}function Tt(t){return {schema:"optional",wrapped:t,async:!1,parse(e,r){return e===void 0?e:t.parse(e,r)}}}function Ut(t,e){let{error:r,pipe:i}=Ce(t,e);return {schema:"string",async:!1,parse(s,n){if(typeof s!="string")throw new Wt([{reason:"type",validation:"string",origin:"value",message:r||"Invalid type",input:s,...n}]);return Pe(s,i,{...n,reason:"string"})}}}function Pl(t,e,r,i){let{key:s,value:n,error:a,pipe:o}=typeof e=="object"&&!Array.isArray(e)?{key:t,value:e,...Ce(r,i)}:{key:Ut(),value:t,...Ce(e,r)};return {schema:"record",record:{key:s,value:n},async:!1,parse(l,h){if(!l||typeof l!="object"||l.toString()!=="[object Object]")throw new Wt([{reason:"type",validation:"record",origin:"value",message:a||"Invalid type",input:l,...h}]);let u={},c=[];if(Object.entries(l).forEach(([d,m])=>{let p=wi(h,{schema:"record",input:l,key:d,value:m}),f;try{f=s.parse(d,{...h,origin:"key",path:p});}
vendor: 4,099 bytes, line 7
7catch(y){if(h?.abortEarly)throw y;c.push(...y.issues);}let v;try{v=[n.parse(m,{...h,path:p})];}catch(y){if(h?.abortEarly)throw y;c.push(...y.issues);}f&&v&&(u[f]=v[0]);}),c.length)throw new Wt(c);return Pe(u,o,{...h,reason:"record"})}}}function Gs(t,e){return {schema:"union",union:t,async:!1,parse(r,i){let s,n=[];for(let a of t)try{s=[a.parse(r,i)];break}catch(o){n.push(...o.issues);}if(!s)throw new Wt([{reason:"type",validation:"union",origin:"value",message:e||"Invalid type",input:r,issues:n,...i}]);return s[0]}}}function El(t,e,r){try{return {success:!0,data:t.parse(e,r)}}catch(i){return {success:!1,error:i}}}var Al=Object.create,_i=Object.defineProperty,Tl=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyNames,Ml=Object.getPrototypeOf,Dl=Object.prototype.hasOwnProperty,Fl=(t,e,r)=>e in t?_i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Xe=(t,e)=>function(){return e||(0, t[an(t)[0]])((e={exports:{}}).exports,e),e.exports},Il=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of an(e))!Dl.call(t,s)&&s!==r&&_i(t,s,{get:()=>e[s],enumerable:!(i=Tl(e,s))||i.enumerable});return t},Ll=(t,e,r)=>(r=t!=null?Al(Ml(t)):{},Il(e||!t||!t.__esModule?_i(r,"default",{value:t,enumerable:!0}):r,t)),Ol=(t,e,r)=>(Fl(t,typeof e!="symbol"?e+"":e,r),r),Vl=Xe({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/copy/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.copy=void 0;var e=(r,i,s=0,n=0,a=r.width-s,o=r.height-n,l=0,h=0)=>{if(s=s|0,n=n|0,a=a|0,o=o|0,l=l|0,h=h|0,a<=0||o<=0)return;let u=new Uint32Array(r.data.buffer),c=new Uint32Array(i.data.buffer);for(let d=0;d<o;d++){let m=n+d;if(m<0||m>=r.height)continue;let p=h+d;if(!(p<0||p>=i.height))for(let f=0;f<a;f++){let v=s+f;if(v<0||v>=r.width)continue;let y=l+f;if(y<0||y>=i.width)continue;let g=m*r.width+v,b=p*i.width+y;c[b]=u[g];}}};t.copy=e;}}),Rl=Xe({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/create-image/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CreateImageFactory=(e=[0,0,0,0],r=4)=>{if(r=Math.floor(r),isNaN(r)||r<1)throw TypeError("channels should be a positive non-zero number");if(!("length"in e)||e.length<r)throw TypeError(`fill should be iterable with at least ${r} members`);e=new Uint8ClampedArray(e).slice(0,r);let i=e.every(s=>s===0);return (s,n,a)=>{if(s===void 0||n===void 0)throw TypeError("Not enough arguments");if(s=Math.floor(s),n=Math.floor(n),isNaN(s)||s<1||isNaN(n)||n<1)throw TypeError("Index or size is negative or greater than the allowed amount");let o=s*n*r;if(a===void 0&&(a=new Uint8ClampedArray(o)),a instanceof Uint8ClampedArray){if(a.length!==o)throw TypeError("Index or size is negative or greater than the allowed amount");if(!i)for(let l=0;l<n;l++)for(let h=0;h<s;h++){let u=(l*s+h)*r;for(let c=0;c<r;c++)a[u+c]=e[c];}return {get width(){return s},get height(){return n},get data(){return a}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory();}}),Bl=Xe({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/filters.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var e=14,r=(n,a)=>{if(n<=-a||n>=a||n==0)return 0;let o=n*Math.PI;return Math.sin(o)/o*Math.sin(o/a)/(o/a)},i=n=>Math.round(n*((1<<e)-1)),s=(n,a,o,l,h)=>{let u=h?2:3,c=1/o,d=Math.min(1,o),m=u/d,p=Math.floor((m+1)*2),f=new Int16Array((p+2)*a),v=0;for(let y=0;y<a;y++){let g=(y+.5)*c+l,b=Math.max(0,Math.floor(g-m)),x=Math.min(n-1,Math.ceil(g+m)),S=x-b+1,C=new Float32Array(S),P=new Int16Array(S),T=0,V=0;for(let U=b;U<=x;U++){let A=r((U+.5-g)*d,u);T+=A,C[V]=A,V++;}let $=0;for(let U=0;U<C.length;U++){let A=C[U]/T;$+=A,P[U]=i(A);}P[a>>1]+=i(1-$);let R=0;for(;R<P.length&&P[R]===0;)R++;let j=P.length-1;for(;j>0&&P[j]===0;)j--;let q=b+R,F=j-R+1;f[v++]=q,f[v++]=F,f.set(P.subarray(R,j+1),v),v+=F;}return f};t.filters=s;}}),zl=Xe({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/convolve.js"(t){Object.defineProperty(t,"__esMo
7dule",{value:!0}),t.convolve=void 0;var e=14,r=(i,s,n,a,o,l)=>{let h=0,u=0;for(let c=0;c<a;c++){let d=0;for(let m=0;m<o;m++){let p=l[d++],f=h+p*4|0,v=0,y=0,g=0,b=0;for(let x=l[d++];x>0;x--){let S=l[d++];v=v+S*i[f]|0,y=y+S*i[f+1]|0,g=g+S*i[f+2]|0,b=b+S*i[f+3]|0,f=f+4|0;}s[u]=v+8192>>e,s[u+1]=y+8192>>e,s[u+2]=g+8192>>e,s[u+3]=b+8192>>e,u=u+a*4|0;}u=(c+1)*4|0,h=(c+1)*n*4|0;}};t.convolve=r;}}),Nl=Xe({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.lanczos2=t.lanczos=void 0;var e=Vl(),r=Rl(),i=Bl(),s=zl(),n=(l,h,u=!1)=>{let c=h.width/l.width,d=h.height/l.height,m=i.filters(l.width,h.width,c,0,u),p=i.filters(l.height,h.height,d,0,u),f=new Uint8ClampedArray(h.width*l.height*4);s.convolve(l.data,f,l.width,l.height,h.width,m),s.convolve(f,h.data,l.height,h.width,h.height,p);},a=(l,h,u=0,c=0,d=l.width-u,m=l.height-c,p=0,f=0,v=h.width-p,y=h.height-f)=>{if(u=u|0,c=c|0,d=d|0,m=m|0,p=p|0,f=f|0,v=v|0,y=y|0,d<=0||m<=0||v<=0||y<=0)return;if(u===0&&c===0&&d===l.width&&m===l.height&&p===0&&f===0&&v===h.width&&y===h.height){n(l,h);return}let g=r.createImage(d,m),b=r.createImage(v,y);e.copy(l,g,u,c),n(g,b),e.copy(b,h,0,0,b.width,b.height,p,f);};t.lanczos=a;var o=(l,h,u=0,c=0,d=l.width-u,m=l.height-c,p=0,f=0,v=h.width-p,y=h.height-f)=>{if(u=u|0,c=c|0,d=d|0,m=m|0,p=p|0,f=f|0,v=v|0,y=y|0,d<=0||m<=0||v<=0||y<=0)return;if(u===0&&c===0&&d===l.width&&m===l.height&&p===0&&f===0&&v===h.width&&y===h.height){n(l,h,!0);return}let g=r.createImage(d,m),b=r.createImage(v,y);e.copy(l,g,u,c),n(g,b,!0),e.copy(b,h,0,0,b.width,b.height,p,f);};t.lanczos2=o;}}),on=(t=>(t.Bounce="bounce",t.Normal="normal",t))(on||{}),$l=Cl(on),jl=ki({autoplay:Tt(ui()),defaultTheme:Tt(Ut()),direction:Tt(Gs([js(1),js(-1)])),hover:Tt(ui()),id:Ut(),intermission:Tt(Pr()),loop:Tt(Gs([ui(),Pr()])),playMode:Tt($l),speed:Tt(Pr()),themeColor:Tt(Ut())}),Gl=ki({animations:mi(Ut()),id:Ut()}),Hl=ki({activeAnimationId:Tt(Ut()),animations:mi(jl),author:Tt(Ut()),custom:Tt(Pl(Ut(),_l())),description:Tt(Ut()),generator:Tt(Ut()),keywords:Tt(Ut()),revision:Tt(Pr()),themes:Tt(mi(Gl)),version:Tt(Ut())}),ql={jpeg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp"},Hs={jpeg:[255,216,255],png:[137,80,78,71,13,10,26,10],gif:[71,73,70],bmp:[66,77],webp:[82,73,70,70,87,69,66,80],svg:[60,63,120]},Ul=t=>{let e=null,r=[];if(!t)return null;let i=t.substring(t.indexOf(",")+1);typeof window>"u"?e=Buffer.from(i,"base64").toString("binary"):e=atob(i);let s=new Uint8Array(e.length);for(let n=0;n<e.length;n+=1)s[n]=e.charCodeAt(n);r=Array.from(s.subarray(0,8));for(let n in Hs){let a=Hs[n];if(a&&r.every((o,l)=>o===a[l]))return ql[n]}return null},Ci=class extends Error{constructor(t,e){super(t),Ol(this,"code"),this.name="[dotlottie-js]",this.code=e;}};function Wl(t){let e;if(typeof window>"u")e=Buffer.from(t).toString("base64");else {let r=Array.prototype.map.call(t,i=>String.fromCharCode(i)).join("");e=window.btoa(r);}return `data:${Ul(e)};base64,${e}`}function qs(t){return "w"in t&&"h"in t&&!("xt"in t)&&"p"in t}async function Pi(t,e=()=>!0){if(!(t instanceof Uint8Array))throw new Ci("DotLottie not found","INVALID_DOTLOTTIE");return await new Promise((r,i)=>{wl(t,{filter:e},(s,n)=>{s&&i(s),r(n);});})}async function ln(t,e,r){if(!(t instanceof Uint8Array))throw new Ci("DotLottie not found","INVALID_DOTLOTTIE");return (await Pi(t,i=>i.name===e&&(!r||r(i))))[e]}async function yi(t){let e="manifest.json",r=(await Pi(t,i=>i.name===e))[e];if(!(typeof r>"u"))return JSON.parse(Tr(r,!1))}async function Jl(t){if(!(t instanceof Uint8Array))return {success:!1,error:"DotLottie not found"};let e=await yi(t);if(typeof e>"u")return {success:!1,error:"Invalid .lottie file, manifest.json is missing"};let r=El(Hl,e);return r.success?{success:!0}:{success:!1,error:`Invalid .lottie file, manifest.json structure is invalid, ${JSON.stringify(kl(r.error).nested,null,2)}`}}async function Us(t){let e=new Uint8Array(t),r=await Jl(e);if(r.error)throw new Ci(r.error,"INVALID_DOTLOTTIE");return e}async function Kl(t,e){let r=await Pi(t,s=>{let n=s.name.replace("images/","");return s.name.startsWith("images/")&&(!e||e({...s,name:n}))}),i={};for(let s in r){let n=r[s];if(n instanceof Uint8Array){let a=s.replace("images/","");i[a]=Wl(n);}}return i}async function Yl(t,e){let r=new Map;for(let[s,n]of Object.entries(e))for(let a of n.assets||[])if(qs(a)){let o=a.p;r.has(o)||r.set(o,new Set),r.get(o)?.add(s);}let i=await Kl(t,s=>r.has(s.name));for(let[s,n]of r){let a=i[s];if(a)for(let o of n){let l=e[o];for(let h of l?.assets||[])qs(h)&&h.p===s&&(h.p=a,h.u="",h.e=1);}}}async function Zl(t,e,{inlineAssets:r}={},i){let s=`animations/${e}.json`,n=await ln(t,s,i);if(typeof n>"u")return;let a=JSON.parse(Tr(n,!1));if(!r)return a;let o={[e]:a};return await Yl(t,o),a}async function Xl(t,e,r){let i=`themes/${e}.lss`,s=await ln(t,i,r);if(!(typeof s>"u"))return Tr(s,!1)}Ll(Nl());var hn=class{_dotLottie;_animationsMap=new Map;_themeMap=new Map;_manifest;get dotLottie(){return this._dotLottie}get animationsMap(){return this._animationsMap}get themeMap(){return this._themeMap}get manifest(){return this._manifest}async loadFromUrl(t){let e=await fetch(t,{method:"GET",mode:"cors"});if(!e.ok)throw new Error(`Failed to load dotLottie from ${t} with status ${e.status}`);if(e.headers.get("content-type")==="application/json"){let r=await e.json();if(!_e(r))throw new Error(`Invalid lottie JSON at ${t}`);let i=pi(t);this._animationsMap.set(i,r);let s={activeAnimationId:i,animations:[{id:i}]};this._manifest=s;}
vendor: 5,599 bytes, line 7
7else {this._dotLottie=await Us(await e.arrayBuffer());let r=await yi(this._dotLottie);if(!r)throw new Error("Manifest not found");this._manifest=r;}}loadFromLottieJSON(t){if(!_e(t))throw new Error("Invalid lottie JSON");let e="my-animation";this._animationsMap.set(e,t);let r={activeAnimationId:e,animations:[{id:e}]};this._manifest=r;}async loadFromArrayBuffer(t){this._dotLottie=await Us(t);let e=await yi(this._dotLottie);if(!e)throw new Error("Manifest not found");this._manifest=e;}async getAnimation(t){if(this._animationsMap.get(t))return this._animationsMap.get(t);if(!this._dotLottie)return;let e=await Zl(this._dotLottie,t,{inlineAssets:!0});return e&&this._animationsMap.set(t,e),e}async getTheme(t){if(this._themeMap.get(t))return this._themeMap.get(t);if(!this._dotLottie)return;let e=await Xl(this._dotLottie,t);return e&&this._themeMap.set(t,e),e}};function Dr(){throw new Error("Cycle detected")}function Ai(){if($e>1)$e--;else {for(var t,e=!1;Qe!==void 0;){var r=Qe;for(Qe=void 0,Ei++;r!==void 0;){var i=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&cn(r))try{r.c();}catch(s){e||(t=s,e=!0);}r=i;}}if(Ei=0,$e--,e)throw t}}var Et=void 0,Qe=void 0,$e=0,Ei=0,Mr=0;function pn(t){if(Et!==void 0){var e=t.n;if(e===void 0||e.t!==Et)return e={i:0,S:t,p:Et.s,n:void 0,t:Et,e:void 0,x:void 0,r:e},Et.s!==void 0&&(Et.s.n=e),Et.s=e,t.n=e,32&Et.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=Et.s,e.n=void 0,Et.s.n=e,Et.s=e),e}}function Gt(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0;}Gt.prototype.h=function(){return !0};Gt.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t);};Gt.prototype.U=function(t){if(this.t!==void 0){var e=t.e,r=t.x;e!==void 0&&(e.x=r,t.e=void 0),r!==void 0&&(r.e=e,t.x=void 0),t===this.t&&(this.t=r);}};Gt.prototype.subscribe=function(t){var e=this;return eh(function(){var r=e.value,i=32&this.f;this.f&=-33;try{t(r);}finally{this.f|=i;}})};Gt.prototype.valueOf=function(){return this.value};Gt.prototype.toString=function(){return this.value+""};Gt.prototype.toJSON=function(){return this.value};Gt.prototype.peek=function(){return this.v};Object.defineProperty(Gt.prototype,"value",{get:function(){var t=pn(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(Et instanceof Ee&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){Ei>100&&Dr(),this.v=t,this.i++,Mr++,$e++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N();}finally{Ai();}}}});function Ql(t){return new Gt(t)}function cn(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return !0;return !1}function fn(t){for(var e=t.s;e!==void 0;e=e.n){var r=e.S.n;if(r!==void 0&&(e.r=r),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function un(t){for(var e=t.s,r=void 0;e!==void 0;){var i=e.p;e.i===-1?(e.S.U(e),i!==void 0&&(i.n=e.n),e.n!==void 0&&(e.n.p=i)):r=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=i;}t.s=r;}function Ee(t){Gt.call(this,void 0),this.x=t,this.s=void 0,this.g=Mr-1,this.f=4;}(Ee.prototype=new Gt).h=function(){if(this.f&=-3,1&this.f)return !1;if((36&this.f)==32||(this.f&=-5,this.g===Mr))return !0;if(this.g=Mr,this.f|=1,this.i>0&&!cn(this))return this.f&=-2,!0;var t=Et;try{fn(this),Et=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++);}catch(r){this.v=r,this.f|=16,this.i++;}return Et=t,un(this),this.f&=-2,!0};Ee.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e);}Gt.prototype.S.call(this,t);};Ee.prototype.U=function(t){if(this.t!==void 0&&(Gt.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e);}};Ee.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N();}};Ee.prototype.peek=function(){if(this.h()||Dr(),16&this.f)throw this.v;return this.v};Object.defineProperty(Ee.prototype,"value",{get:function(){1&this.f&&Dr();var t=pn(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function dn(t){var e=t.u;if(t.u=void 0,typeof e=="function"){$e++;var r=Et;Et=void 0;try{e();}catch(i){throw t.f&=-2,t.f|=8,Ti(t),i}finally{Et=r,Ai();}}}function Ti(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,dn(t);}function th(t){if(Et!==this)throw new Error("Out-of-order effect");un(this),Et=t,this.f&=-2,8&this.f&&Ti(this),Ai();}function tr(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32;}tr.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e);}finally{t();}};tr.prototype.S=function(){1&this.f&&Dr(),this.f|=1,this.f&=-9,dn(this),fn(this),$e++;var t=Et;return Et=this,th.bind(this,t)};tr.prototype.N=function(){2&this.f||(this.f|=2,this.o=Qe,Qe=this);};tr.prototype.d=function(){this.f|=8,1&this.f||Ti(this);};function eh(t){var e=new tr(t);try{e.c();}catch(r){throw e.d(),r}return e.d.bind(e)}var mn=class{_state;_prevState;constructor(t){this._prevState=t,this._state=Ql(t);}setState(t){this._prevState=this._state.value,this._state.value=t;}subscribe(t){return this._state.subscribe(e=>t(e,this._prevState))}};var rh=Object.create,yn=Object.defineProperty,ih=Object.getOwnPropertyDescriptor,sh=Object.getOwnPropertyNames,nh=Object.getPrototypeOf,ah=Object.prototype.hasOwnProperty,et=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),oh=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of sh(e))!ah.call(t,s)&&s!==r&&yn(t,s,{get:()=>e[s],enumerable:!(i=ih(e,s))||i.enumerable});return t},re=(t,e,r)=>(r=t!=null?rh(nh(t)):{}
vendor: 6,729 bytes, lines 7-23
7,oh(e||!t||!t.__esModule?yn(r,"default",{value:t,enumerable:!0}):r,t));var Hn=et((t,e)=>{var r=String,i=function(){return {isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}};e.exports=i(),e.exports.createColors=i;}),qn=et(()=>{}),Ji=et((t,e)=>{var r=Hn(),i=qn(),s=class extends Error{constructor(n,a,o,l,h,u){super(n),this.name="CssSyntaxError",this.reason=n,h&&(this.file=h),l&&(this.source=l),u&&(this.plugin=u),typeof a<"u"&&typeof o<"u"&&(typeof a=="number"?(this.line=a,this.column=o):(this.line=a.line,this.column=a.column,this.endLine=o.line,this.endColumn=o.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s);}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason;}showSourceCode(n){if(!this.source)return "";let a=this.source;n==null&&(n=r.isColorSupported),i&&n&&(a=i(a));let o=a.split(/\r?\n/),l=Math.max(this.line-3,0),h=Math.min(this.line+2,o.length),u=String(h).length,c,d;if(n){let{bold:m,red:p,gray:f}=r.createColors(!0);c=v=>m(p(v)),d=v=>f(v);}else c=d=m=>m;return o.slice(l,h).map((m,p)=>{let f=l+1+p,v=" "+(" "+f).slice(-u)+" | ";if(f===this.line){let y=d(v.replace(/\d/g," "))+m.slice(0,this.column-1).replace(/[^\t]/g," ");return c(">")+d(v)+m+`
8 `+y+c("^")}return " "+d(v)+m}).join(`
9`)}toString(){let n=this.showSourceCode();return n&&(n=`
10
11`+n+`
12`),this.name+": "+this.message+n}};e.exports=s,s.default=s;}),Ki=et((t,e)=>{e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my");}),Un=et((t,e)=>{var r={colon:": ",indent:"    ",beforeDecl:`
13`,beforeRule:`
14`,beforeOpen:" ",beforeClose:`
15`,beforeComment:`
16`,after:`
17`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function i(n){return n[0].toUpperCase()+n.slice(1)}var s=class{constructor(n){this.builder=n;}stringify(n,a){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,a);}document(n){this.body(n);}root(n){this.body(n),n.raws.after&&this.builder(n.raws.after);}comment(n){let a=this.raw(n,"left","commentLeft"),o=this.raw(n,"right","commentRight");this.builder("/*"+a+n.text+o+"*/",n);}decl(n,a){let o=this.raw(n,"between","colon"),l=n.prop+o+this.rawValue(n,"value");n.important&&(l+=n.raws.important||" !important"),a&&(l+=";"),this.builder(l,n);}rule(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end");}atrule(n,a){let o="@"+n.name,l=n.params?this.rawValue(n,"params"):"";if(typeof n.raws.afterName<"u"?o+=n.raws.afterName:l&&(o+=" "),n.nodes)this.block(n,o+l);else {let h=(n.raws.between||"")+(a?";":"");this.builder(o+l+h,n);}}body(n){let a=n.nodes.length-1;for(;a>0&&n.nodes[a].type==="comment";)a-=1;let o=this.raw(n,"semicolon");for(let l=0;l<n.nodes.length;l++){let h=n.nodes[l],u=this.raw(h,"before");u&&this.builder(u),this.stringify(h,a!==l||o);}}block(n,a){let o=this.raw(n,"between","beforeOpen");this.builder(a+o+"{",n,"start");let l;n.nodes&&n.nodes.length?(this.body(n),l=this.raw(n,"after")):l=this.raw(n,"after","emptyBody"),l&&this.builder(l),this.builder("}",n,"end");}raw(n,a,o){let l;if(o||(o=a),a&&(l=n.raws[a],typeof l<"u"))return l;let h=n.parent;if(o==="before"&&(!h||h.type==="root"&&h.first===n||h&&h.type==="document"))return "";if(!h)return r[o];let u=n.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(n,o);{let c="raw"+i(o);this[c]?l=this[c](u,n):u.walk(d=>{if(l=d.raws[a],typeof l<"u")return !1});}return typeof l>"u"&&(l=r[o]),u.rawCache[o]=l,l}rawSemicolon(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(a=o.raws.semicolon,typeof a<"u"))return !1}),a}rawEmptyBody(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length===0&&(a=o.raws.after,typeof a<"u"))return !1}),a}rawIndent(n){if(n.raws.indent)return n.raws.indent;let a;return n.walk(o=>{let l=o.parent;if(l&&l!==n&&l.parent&&l.parent===n&&typeof o.raws.before<"u"){let h=o.raws.before.split(`
18`);return a=h[h.length-1],a=a.replace(/\S/g,""),!1}}),a}rawBeforeComment(n,a){let o;return n.walkComments(l=>{if(typeof l.raws.before<"u")return o=l.raws.before,o.includes(`
19`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(a,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeDecl(n,a){let o;return n.walkDecls(l=>{if(typeof l.raws.before<"u")return o=l.raws.before,o.includes(`
20`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(a,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeRule(n){let a;return n.walk(o=>{if(o.nodes&&(o.parent!==n||n.first!==o)&&typeof o.raws.before<"u")return a=o.raws.before,a.includes(`
21`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeClose(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return a=o.raws.after,a.includes(`
22`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(n){let a;return n.walk(o=>{if(o.type!=="decl"&&(a=o.raws.between,typeof a<"u"))return !1}),a}rawColon(n){let a;return n.walkDecls(o=>{if(typeof o.raws.between<"u")return a=o.raws.between.replace(/[^\s:]/g,""),!1}),a}beforeAfter(n,a){let o;n.type==="decl"?o=this.raw(n,null,"beforeDecl"):n.type==="comment"?o=this.raw(n,null,"beforeComment"):a==="before"?o=this.raw(n,null,"beforeRule"):o=this.raw(n,null,"beforeClose");let l=n.parent,h=0;for(;l&&l.type!=="root";)h+=1,l=l.parent;if(o.includes(`
23`)){let u=this.raw(n,null,"indent");if(u.length)for(let c=0;c<h;c++)o+=u;}return o}rawValue(n,a){let o=n[a],l=n.raws[a];return l&&l.value===o?l.raw:o}};e.exports=s,s.default=s;}),Vr=et((t,e)=>{var r=Un();function i(s,n){new r(n).stringify(s);}e.exports=i,i.default=i;}),Rr=et((t,e)=>{var{isClean:r,my:i}=Ki(),s=Ji(),n=Un(),a=Vr();function o(h,u){let c=new h.constructor;for(let d in h){if(!Object.prototype.hasOwnProperty.call(h,d)||d==="proxyCache")continue;let m=h[d],p=typeof m;d==="parent"&&p==="object"?u&&(c[d]=u):d==="source"?c[d]=m:Array.isArray(m)?c[d]=m.map(f=>o(f,c)):(p==="object"&&m!==null&&(m=o(m)),c[d]=m);}return c}var l=class{constructor(h={}){this.raws={},this[r]=!1,this[i]=!0;for(let u in h)if(u==="nodes"){this.nodes=[];for(let c of h[u])typeof c.clone=="function"?this.append(c.clone()):this.append(c);}else this[u]=h[u];}error(h,u={}){if(this.source){let{start:c,end:d}=this.rangeBy(u);return this.source.input.error(h,{line:c.line,column:c.column}
vendor: 3,296 bytes, lines 23-24
23,{line:d.line,column:d.column},u)}return new s(h)}warn(h,u,c){let d={node:this};for(let m in c)d[m]=c[m];return h.warn(u,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(h=a){h.stringify&&(h=h.stringify);let u="";return h(this,c=>{u+=c;}),u}assign(h={}){for(let u in h)this[u]=h[u];return this}clone(h={}){let u=o(this);for(let c in h)u[c]=h[c];return u}cloneBefore(h={}){let u=this.clone(h);return this.parent.insertBefore(this,u),u}cloneAfter(h={}){let u=this.clone(h);return this.parent.insertAfter(this,u),u}replaceWith(...h){if(this.parent){let u=this,c=!1;for(let d of h)d===this?c=!0:c?(this.parent.insertAfter(u,d),u=d):this.parent.insertBefore(u,d);c||this.remove();}return this}next(){if(!this.parent)return;let h=this.parent.index(this);return this.parent.nodes[h+1]}prev(){if(!this.parent)return;let h=this.parent.index(this);return this.parent.nodes[h-1]}before(h){return this.parent.insertBefore(this,h),this}after(h){return this.parent.insertAfter(this,h),this}root(){let h=this;for(;h.parent&&h.parent.type!=="document";)h=h.parent;return h}raw(h,u){return new n().raw(this,h,u)}cleanRaws(h){delete this.raws.before,delete this.raws.after,h||delete this.raws.between;}toJSON(h,u){let c={},d=u==null;u=u||new Map;let m=0;for(let p in this){if(!Object.prototype.hasOwnProperty.call(this,p)||p==="parent"||p==="proxyCache")continue;let f=this[p];if(Array.isArray(f))c[p]=f.map(v=>typeof v=="object"&&v.toJSON?v.toJSON(null,u):v);else if(typeof f=="object"&&f.toJSON)c[p]=f.toJSON(null,u);else if(p==="source"){let v=u.get(f.input);v==null&&(v=m,u.set(f.input,m),m++),c[p]={inputId:v,start:f.start,end:f.end};}else c[p]=f;}return d&&(c.inputs=[...u.keys()].map(p=>p.toJSON())),c}positionInside(h){let u=this.toString(),c=this.source.start.column,d=this.source.start.line;for(let m=0;m<h;m++)u[m]===`
24`?(c=1,d+=1):c+=1;return {line:d,column:c}}positionBy(h){let u=this.source.start;if(h.index)u=this.positionInside(h.index);else if(h.word){let c=this.toString().indexOf(h.word);c!==-1&&(u=this.positionInside(c));}return u}rangeBy(h){let u={line:this.source.start.line,column:this.source.start.column},c=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:u.line,column:u.column+1};if(h.word){let d=this.toString().indexOf(h.word);d!==-1&&(u=this.positionInside(d),c=this.positionInside(d+h.word.length));}else h.start?u={line:h.start.line,column:h.start.column}:h.index&&(u=this.positionInside(h.index)),h.end?c={line:h.end.line,column:h.end.column}:h.endIndex?c=this.positionInside(h.endIndex):h.index&&(c=this.positionInside(h.index+1));return (c.line<u.line||c.line===u.line&&c.column<=u.column)&&(c={line:u.line,column:u.column+1}),{start:u,end:c}}getProxyProcessor(){return {set(h,u,c){return h[u]===c||(h[u]=c,(u==="prop"||u==="value"||u==="name"||u==="params"||u==="important"||u==="text")&&h.markDirty()),!0},get(h,u){return u==="proxyOf"?h:u==="root"?()=>h.root().toProxy():h[u]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(h){if(h.postcssNode=this,h.stack&&this.source&&/\n\s{4}at /.test(h.stack)){let u=this.source;h.stack=h.stack.replace(/\n\s{4}at /,`$&${u.input.from}:${u.start.line}:${u.start.column}$&`);}return h}
24markDirty(){if(this[r]){this[r]=!1;let h=this;for(;h=h.parent;)h[r]=!1;}}get proxyOf(){return this}};e.exports=l,l.default=l;}),Br=et((t,e)=>{var r=Rr(),i=class extends r{constructor(s){s&&typeof s.value<"u"&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl";}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};e.exports=i,i.default=i;}),ar=et(()=>{}),or=et(()=>{}),Yi=et(()=>{}),Wn=et((t,e)=>{var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",i=(n,a=21)=>(o=a)=>{let l="",h=o;for(;h--;)l+=n[Math.random()*n.length|0];return l},s=(n=21)=>{let a="",o=n;for(;o--;)a+=r[Math.random()*64|0];return a};e.exports={nanoid:s,customAlphabet:i};}),Jn=et(()=>{}),Kn=et((t,e)=>{var{SourceMapConsumer:r,SourceMapGenerator:i}=ar(),{existsSync:s,readFileSync:n}=Jn(),{dirname:a,join:o}=or();function l(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}var h=class{constructor(u,c){if(c.map===!1)return;this.loadAnnotation(u),this.inline=this.startWith(this.annotation,"data:");let d=c.map?c.map.prev:void 0,m=this.loadMap(c.from,d);!this.mapFile&&c.from&&(this.mapFile=c.from),this.mapFile&&(this.root=a(this.mapFile)),m&&(this.text=m);}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}withContent(){return !!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(u,c){return u?u.substr(0,c.length)===c:!1}getAnnotationURL(u){return u.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(u){let c=u.match(/\/\*\s*# sourceMappingURL=/gm);if(!c)return;let d=u.lastIndexOf(c.pop()),m=u.indexOf("*/",d);d>-1&&m>-1&&(this.annotation=this.getAnnotationURL(u.substring(d,m)));}decodeInline(u){let c=/^data:application\/json;charset=utf-?8;base64,/,d=/^data:application\/json;base64,/,m=/^data:application\/json;charset=utf-?8,/,p=/^data:application\/json,/;if(m.test(u)||p.test(u))return decodeURIComponent(u.substr(RegExp.lastMatch.length));if(c.test(u)||d.test(u))return l(u.substr(RegExp.lastMatch.length));let f=u.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+f)}loadFile(u){if(this.root=a(u),s(u))return this.mapFile=u,n(u,"utf-8").toString().trim()}loadMap(u,c){if(c===!1)return !1;if(c){if(typeof c=="string")return c;if(typeof c=="function"){let d=c(u);if(d){let m=this.loadFile(d);if(!m)throw new Error("Unable to load previous source map: "+d.toString());return m}}else {if(c instanceof r)return i.fromSourceMap(c).toString();if(c instanceof i)return c.toString();if(this.isMap(c))return JSON.stringify(c);throw new Error("Unsupported previous source map format: "+c.toString())}}else {if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let d=this.annotation;return u&&(d=o(a(u),d)),this.loadFile(d)}}}isMap(u){return typeof u!="object"?!1:typeof u.mappings=="string"||typeof u._mappings=="string"||Array.isArray(u.sections)}};e.exports=h,h.default=h;}),zr=et((t,e)=>{var{SourceMapConsumer:r,SourceMapGenerator:i}=ar(),{fileURLToPath:s,pathToFileURL:n}=Yi(),{resolve:a,isAbsolute:o}=or(),{nanoid:l}
vendor: 5,184 bytes, lines 24-25
24=Wn(),h=qn(),u=Ji(),c=Kn(),d=Symbol("fromOffsetCache"),m=!!(r&&i),p=!!(a&&o),f=class{constructor(v,y={}){if(v===null||typeof v>"u"||typeof v=="object"&&!v.toString)throw new Error(`PostCSS received ${v} instead of CSS string`);if(this.css=v.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!p||/^\w+:\/\//.test(y.from)||o(y.from)?this.file=y.from:this.file=a(y.from)),p&&m){let g=new c(this.css,y);if(g.text){this.map=g;let b=g.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b));}}this.file||(this.id="<input css "+l(6)+">"),this.map&&(this.map.file=this.from);}fromOffset(v){let y,g;if(this[d])g=this[d];else {let x=this.css.split(`
25`);g=new Array(x.length);let S=0;for(let C=0,P=x.length;C<P;C++)g[C]=S,S+=x[C].length+1;this[d]=g;}y=g[g.length-1];let b=0;if(v>=y)b=g.length-1;else {let x=g.length-2,S;for(;b<x;)if(S=b+(x-b>>1),v<g[S])x=S-1;else if(v>=g[S+1])b=S+1;else {b=S;break}}return {line:b+1,col:v-g[b]+1}}error(v,y,g,b={}){let x,S,C;if(y&&typeof y=="object"){let T=y,V=g;if(typeof T.offset=="number"){let $=this.fromOffset(T.offset);y=$.line,g=$.col;}else y=T.line,g=T.column;if(typeof V.offset=="number"){let $=this.fromOffset(V.offset);S=$.line,C=$.col;}else S=V.line,C=V.column;}else if(!g){let T=this.fromOffset(y);y=T.line,g=T.col;}let P=this.origin(y,g,S,C);return P?x=new u(v,P.endLine===void 0?P.line:{line:P.line,column:P.column},P.endLine===void 0?P.column:{line:P.endLine,column:P.endColumn},P.source,P.file,b.plugin):x=new u(v,S===void 0?y:{line:y,column:g},S===void 0?g:{line:S,column:C},this.css,this.file,b.plugin),x.input={line:y,column:g,endLine:S,endColumn:C,source:this.css},this.file&&(n&&(x.input.url=n(this.file).toString()),x.input.file=this.file),x}origin(v,y,g,b){if(!this.map)return !1;let x=this.map.consumer(),S=x.originalPositionFor({line:v,column:y});if(!S.source)return !1;let C;typeof g=="number"&&(C=x.originalPositionFor({line:g,column:b}));let P;o(S.source)?P=n(S.source):P=new URL(S.source,this.map.consumer().sourceRoot||n(this.map.mapFile));let T={url:P.toString(),line:S.line,column:S.column,endLine:C&&C.line,endColumn:C&&C.column};if(P.protocol==="file:")if(s)T.file=s(P);else throw new Error("file: protocol is not available in this PostCSS build");let V=x.sourceContentFor(S.source);return V&&(T.source=V),T}mapResolve(v){return /^\w+:\/\//.test(v)?v:a(this.map.consumer().sourceRoot||this.map.root||".",v)}get from(){return this.file||this.id}toJSON(){let v={};for(let y of ["hasBOM","css","file","id"])this[y]!=null&&(v[y]=this[y]);return this.map&&(v.map={...this.map},v.map.consumerCache&&(v.map.consumerCache=void 0)),v}};e.exports=f,f.default=f,h&&h.registerInput&&h.registerInput(f);}),Yn=et((t,e)=>{var{SourceMapConsumer:r,SourceMapGenerator:i}=ar(),{dirname:s,resolve:n,relative:a,sep:o}=or(),{pathToFileURL:l}=Yi(),h=zr(),u=!!(r&&i),c=!!(s&&n&&a&&o),d=class{constructor(m,p,f,v){this.stringify=m,this.mapOpts=f.map||{},this.root=p,this.opts=f,this.css=v,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute;}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(m=>{if(m.source&&m.source.input.map){let p=m.source.input.map;this.previousMaps.includes(p)||this.previousMaps.push(p);}});else {let m=new h(this.css,this.opts);m.map&&this.previousMaps.push(m.map);}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let m=this.mapOpts.annotation;return typeof m<"u"&&m!==!0?!1:this.previous().length?this.previous().some(p=>p.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(m=>m.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let m;for(let p=this.root.nodes.length-1;p>=0;p--)m=this.root.nodes[p],m.type==="comment"&&m.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(p);}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""));}setSourcesContent(){let m={};if(this.root)this.root.walk(p=>{if(p.source){let f=p.source.input.from;if(f&&!m[f]){m[f]=!0;let v=this.usesFileUrls?this.toFileUrl(f):this.toUrl(this.path(f));this.map.setSourceContent(v,p.source.input.css);}}});else if(this.css){let p=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(p,this.css);}}applyPrevMaps(){for(let m of this.previous()){let p=this.toUrl(this.path(m.file)),f=m.root||s(m.file),v;this.mapOpts.sourcesContent===!1?(v=new r(m.text),v.sourcesContent&&(v.sourcesContent=v.sourcesContent.map(()=>null))):v=m.consumer(),this.map.applySourceMap(v,p,this.toUrl(this.path(f)));}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(m=>m.annotation):!0}toBase64(m){return Buffer?Buffer.from(m).toString("base64"):window.btoa(unescape(encodeURIComponent(m)))}addAnnotation(){let m;this.isInline()?m="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="str
25ing"?m=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?m=this.mapOpts.annotation(this.opts.to,this.root):m=this.outputFile()+".map";let p=`
26`;this.css.includes(`\r
27`)&&(p=`\r
28`),this.css+=p+"/*# sourceMappingURL="+m+" */";}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let m=this.previous()[0].consumer();m.file=this.outputFile(),this.map=i.fromSourceMap(m);}else this.map=new i({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(m){if(m.indexOf("<")===0||/^\w+:\/\//.test(m)||this.mapOpts.absolute)return m;let p=this.opts.to?s(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(p=s(n(p,this.mapOpts.annotation))),m=a(p,m),m}toUrl(m){return o==="\\"&&(m=m.replace(/\\/g,"/")),encodeURI(m).replace(/[#?]/g,encodeURIComponent)}toFileUrl(m){if(l)return l(m).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(m){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(m.source.input.from):this.toUrl(this.path(m.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let m=1,p=1,f="<no source>",v={source:"",generated:{line:0,column:0},original:{line:0,column:0}},y,g;this.stringify(this.root,(b,x,S)=>{if(this.css+=b,x&&S!=="end"&&(v.generated.line=m,v.generated.column=p-1,x.source&&x.source.start?(v.source=this.sourcePath(x),v.original.line=x.source.start.line,v.original.column=x.source.start.column-1,this.map.addMapping(v)):(v.source=f,v.original.line=1,v.original.column=0,this.map.addMapping(v))),y=b.match(/\n/g),y?(m+=y.length,g=b.lastIndexOf(`
29`),p=b.length-g):p+=b.length,x&&S!=="start"){let C=x.parent||{raws:{}};(!(x.type==="decl"||x.type==="atrule"&&!x.nodes)||x!==C.last||C.raws.semicolon)&&(x.source&&x.source.end?(v.source=this.sourcePath(x),v.original.line=x.source.end.line,v.original.column=x.source.end.column-1,v.generated.line=m,v.generated.column=p-2,this.map.addMapping(v)):(v.source=f,v.original.line=1,v.original.column=0,v.generated.line=m,v.generated.column=p-1,this.map.addMapping(v)));}});}generate(){if(this.clearAnnotation(),c&&u&&this.isMap())return this.generateMap();{let m="";return this.stringify(this.root,p=>{m+=p;}),[m]}}};e.exports=d;}),Nr=et((t,e)=>{var r=Rr(),i=class extends r{constructor(s){super(s),this.type="comment";}};e.exports=i,i.default=i;}),Ae=et((t,e)=>{var{isClean:r,my:i}=Ki(),s=Br(),n=Nr(),a=Rr(),o,l,h,u;function c(p){return p.map(f=>(f.nodes&&(f.nodes=c(f.nodes)),delete f.source,f))}function d(p){if(p[r]=!1,p.proxyOf.nodes)for(let f of p.proxyOf.nodes)d(f);}var m=class extends a{push(p){return p.parent=this,this.proxyOf.nodes.push(p),this}each(p){if(!this.proxyOf.nodes)return;let f=this.getIterator(),v,y;for(;this.indexes[f]<this.proxyOf.nodes.length&&(v=this.indexes[f],y=p(this.proxyOf.nodes[v],v),y!==!1);)this.indexes[f]+=1;return delete this.indexes[f],y}walk(p){return this.each((f,v)=>{let y;try{y=p(f,v);}catch(g){throw f.addToError(g)}return y!==!1&&f.walk&&(y=f.walk(p)),y})}walkDecls(p,f){return f?p instanceof RegExp?this.walk((v,y)=>{if(v.type==="decl"&&p.test(v.prop))return f(v,y)}):this.walk((v,y)=>{if(v.type==="decl"&&v.prop===p)return f(v,y)}):(f=p,this.walk((v,y)=>{if(v.type==="decl")return f(v,y)}))}walkRules(p,f){return f?p instanceof RegExp?this.walk((v,y)=>{if(v.type==="rule"&&p.test(v.selector))return f(v,y)}):this.walk((v,y)=>{if(v.type==="rule"&&v.selector===p)return f(v,y)}):(f=p,this.walk((v,y)=>{if(v.type==="rule")return f(v,y)}))}walkAtRules(p,f){return f?p instanceof RegExp?this.walk((v,y)=>{if(v.type==="atrule"&&p.test(v.name))return f(v,y)}):this.walk((v,y)=>{if(v.type==="atrule"&&v.name===p)return f(v,y)}):(f=p,this.walk((v,y)=>{if(v.type==="atrule")return f(v,y)}))}walkComments(p){return this.walk((f,v)=>{if(f.type==="comment")return p(f,v)})}append(...p){for(let f of p){let v=this.normalize(f,this.last);for(let y of v)this.proxyOf.nodes.push(y);}return this.markDirty(),this}prepend(...p){p=p.reverse();
vendor: 5,702 bytes, lines 29-30
29for(let f of p){let v=this.normalize(f,this.first,"prepend").reverse();for(let y of v)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+v.length;}return this.markDirty(),this}cleanRaws(p){if(super.cleanRaws(p),this.nodes)for(let f of this.nodes)f.cleanRaws(p);}insertBefore(p,f){let v=this.index(p),y=v===0?"prepend":!1,g=this.normalize(f,this.proxyOf.nodes[v],y).reverse();v=this.index(p);for(let x of g)this.proxyOf.nodes.splice(v,0,x);let b;for(let x in this.indexes)b=this.indexes[x],v<=b&&(this.indexes[x]=b+g.length);return this.markDirty(),this}insertAfter(p,f){let v=this.index(p),y=this.normalize(f,this.proxyOf.nodes[v]).reverse();v=this.index(p);for(let b of y)this.proxyOf.nodes.splice(v+1,0,b);let g;for(let b in this.indexes)g=this.indexes[b],v<g&&(this.indexes[b]=g+y.length);return this.markDirty(),this}removeChild(p){p=this.index(p),this.proxyOf.nodes[p].parent=void 0,this.proxyOf.nodes.splice(p,1);let f;for(let v in this.indexes)f=this.indexes[v],f>=p&&(this.indexes[v]=f-1);return this.markDirty(),this}removeAll(){for(let p of this.proxyOf.nodes)p.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(p,f,v){return v||(v=f,f={}),this.walkDecls(y=>{f.props&&!f.props.includes(y.prop)||f.fast&&!y.value.includes(f.fast)||(y.value=y.value.replace(p,v));}),this.markDirty(),this}every(p){return this.nodes.every(p)}some(p){return this.nodes.some(p)}index(p){return typeof p=="number"?p:(p.proxyOf&&(p=p.proxyOf),this.proxyOf.nodes.indexOf(p))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(p,f){if(typeof p=="string")p=c(o(p).nodes);else if(Array.isArray(p)){p=p.slice(0);for(let v of p)v.parent&&v.parent.removeChild(v,"ignore");}else if(p.type==="root"&&this.type!=="document"){p=p.nodes.slice(0);for(let v of p)v.parent&&v.parent.removeChild(v,"ignore");}else if(p.type)p=[p];else if(p.prop){if(typeof p.value>"u")throw new Error("Value field is missed in node creation");typeof p.value!="string"&&(p.value=String(p.value)),p=[new s(p)];}else if(p.selector)p=[new l(p)];else if(p.name)p=[new h(p)];else if(p.text)p=[new n(p)];else throw new Error("Unknown node type in node creation");return p.map(v=>(v[i]||m.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[r]&&d(v),typeof v.raws.before>"u"&&f&&typeof f.raws.before<"u"&&(v.raws.before=f.raws.before.replace(/\S/g,"")),v.parent=this.proxyOf,v))}getProxyProcessor(){return {set(p,f,v){return p[f]===v||(p[f]=v,(f==="name"||f==="params"||f==="selector")&&p.markDirty()),!0},get(p,f){return f==="proxyOf"?p:p[f]?f==="each"||typeof f=="string"&&f.startsWith("walk")?(...v)=>p[f](...v.map(y=>typeof y=="function"?(g,b)=>y(g.toProxy(),b):y)):f==="every"||f==="some"?v=>p[f]((y,...g)=>v(y.toProxy(),...g)):f==="root"?()=>p.root().toProxy():f==="nodes"?p.nodes.map(v=>v.toProxy()):f==="first"||f==="last"?p[f].toProxy():p[f]:p[f]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let p=this.lastEach;return this.indexes[p]=0,p}};m.registerParse=p=>{o=p;},m.registerRule=p=>{l=p;},m.registerAtRule=p=>{h=p;},m.registerRoot=p=>{u=p;},e.exports=m,m.default=m,m.rebuild=p=>{p.type==="atrule"?Object.setPrototypeOf(p,h.prototype):p.type==="rule"?Object.setPrototypeOf(p,l.prototype):p.type==="decl"?Object.setPrototypeOf(p,s.prototype):p.type==="comment"?Object.setPrototypeOf(p,n.prototype):p.type==="root"&&Object.setPrototypeOf(p,u.prototype),p[i]=!0,p.nodes&&p.nodes.forEach(f=>{m.rebuild(f);});};}),Zi=et((t,e)=>{var r=Ae(),i,s,n=class extends r{constructor(a){super({type:"document",...a}),this.nodes||(this.nodes=[]);}toResult(a={}){return new i(new s,this,a).stringify()}};n.registerLazyResult=a=>{i=a;},n.registerProcessor=a=>{s=a;},e.exports=n,n.default=n;}),Zn=et((t,e)=>{var r={};e.exports=function(i){r[i]||(r[i]=!0,typeof console<"u"&&console.warn&&console.warn(i));};}),Xn=et((t,e)=>{var r=class{constructor(i,s={}){if(this.type="warning",this.text=i,s.node&&s.node.source){let n=s.node.rangeBy(s);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column;}for(let n in s)this[n]=s[n];}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};e.exports=r,r.default=r;}),Xi=et((t,e)=>{var r=Xn(),i=class{constructor(s,n,a){this.processor=s,this.messages=[],this.root=n,this.opts=a,this.css=void 0,this.map=void 0;}toString(){return this.css}warn(s,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let a=new r(s,n);return this.messages.push(a),a}warnings(){return this.messages.filter(s=>s.type==="warning")}get content(){return this.css}};e.exports=i,i.default=i;}),lh=et((t,e)=>{var r="'".charCodeAt(0),i='"'.charCodeAt(0),s="\\".charCodeAt(0),n="/".charCodeAt(0),a=`
30`.charCodeAt(0),o=" ".charCodeAt(0),l="\f".charCodeAt(0),h="	".charCodeAt(0),u="\r".charCodeAt(0),c="[".charCodeAt(0),d="]".charCodeAt(0),m="(".charCodeAt(0),p=")".charCodeAt(0),f="{".charCodeAt(0),v="}".charCodeAt(0),y=";".charCodeAt(0),g="*".charCodeAt(0),b=":".charCodeAt(0),x="@".charCodeAt(0),S=/[\t\n\f\r "#'()/;[\\\]{}]/g,C=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,P=/.[\n"'(/\\]/,T=/[\da-f]/i;e.exports=function(V,$={}){let R=V.css.valueOf(),j=$.ignoreErrors,q,F,U,A,M,_,E,L,I,X,Y=R.length,H=0,G=[],Q=[];function rt(){return H}function st(ht){throw V.error("Unclosed "+ht,H)}function ut(){return Q.length===0&&H>=Y}function dt(ht){if(Q.length)return Q.pop();if(H>=Y)return;let nt=ht?ht.ignoreUnclosed:!1;
vendor: 19,031 bytes, lines 30-31
30switch(q=R.charCodeAt(H),q){case a:case o:case h:case u:case l:{F=H;do F+=1,q=R.charCodeAt(F);while(q===o||q===a||q===h||q===u||q===l);X=["space",R.slice(H,F)],H=F-1;break}case c:case d:case f:case v:case b:case y:case p:{let tt=String.fromCharCode(q);X=[tt,tt,H];break}case m:{if(L=G.length?G.pop()[1]:"",I=R.charCodeAt(H+1),L==="url"&&I!==r&&I!==i&&I!==o&&I!==a&&I!==h&&I!==l&&I!==u){F=H;do{if(_=!1,F=R.indexOf(")",F+1),F===-1)if(j||nt){F=H;break}else st("bracket");for(E=F;R.charCodeAt(E-1)===s;)E-=1,_=!_;}while(_);X=["brackets",R.slice(H,F+1),H,F],H=F;}else F=R.indexOf(")",H+1),A=R.slice(H,F+1),F===-1||P.test(A)?X=["(","(",H]:(X=["brackets",A,H,F],H=F);break}case r:case i:{U=q===r?"'":'"',F=H;do{if(_=!1,F=R.indexOf(U,F+1),F===-1)if(j||nt){F=H+1;break}else st("string");for(E=F;R.charCodeAt(E-1)===s;)E-=1,_=!_;}while(_);X=["string",R.slice(H,F+1),H,F],H=F;break}case x:{S.lastIndex=H+1,S.test(R),S.lastIndex===0?F=R.length-1:F=S.lastIndex-2,X=["at-word",R.slice(H,F+1),H,F],H=F;break}case s:{for(F=H,M=!0;R.charCodeAt(F+1)===s;)F+=1,M=!M;if(q=R.charCodeAt(F+1),M&&q!==n&&q!==o&&q!==a&&q!==h&&q!==u&&q!==l&&(F+=1,T.test(R.charAt(F)))){for(;T.test(R.charAt(F+1));)F+=1;R.charCodeAt(F+1)===o&&(F+=1);}X=["word",R.slice(H,F+1),H,F],H=F;break}default:{q===n&&R.charCodeAt(H+1)===g?(F=R.indexOf("*/",H+2)+1,F===0&&(j||nt?F=R.length:st("comment")),X=["comment",R.slice(H,F+1),H,F],H=F):(C.lastIndex=H+1,C.test(R),C.lastIndex===0?F=R.length-1:F=C.lastIndex-2,X=["word",R.slice(H,F+1),H,F],G.push(X),H=F);break}}return H++,X}function ot(ht){Q.push(ht);}return {back:ot,nextToken:dt,endOfFile:ut,position:rt}};}),Qi=et((t,e)=>{var r=Ae(),i=class extends r{constructor(s){super(s),this.type="atrule";}append(...s){return this.proxyOf.nodes||(this.nodes=[]),super.append(...s)}prepend(...s){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...s)}};e.exports=i,i.default=i,r.registerAtRule(i);}),lr=et((t,e)=>{var r=Ae(),i,s,n=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[]);}removeChild(a,o){let l=this.index(a);return !o&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),super.removeChild(a)}normalize(a,o,l){let h=super.normalize(a);if(o){if(l==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let u of h)u.raws.before=o.raws.before;}return h}toResult(a={}){return new i(new s,this,a).stringify()}};n.registerLazyResult=a=>{i=a;},n.registerProcessor=a=>{s=a;},e.exports=n,n.default=n,r.registerRoot(n);}),Qn=et((t,e)=>{var r={split(i,s,n){let a=[],o="",l=!1,h=0,u=!1,c="",d=!1;for(let m of i)d?d=!1:m==="\\"?d=!0:u?m===c&&(u=!1):m==='"'||m==="'"?(u=!0,c=m):m==="("?h+=1:m===")"?h>0&&(h-=1):h===0&&s.includes(m)&&(l=!0),l?(o!==""&&a.push(o.trim()),o="",l=!1):o+=m;return (n||o!=="")&&a.push(o.trim()),a},space(i){let s=[" ",`
31`,"	"];return r.split(i,s)},comma(i){return r.split(i,[","],!0)}};e.exports=r,r.default=r;}),ts=et((t,e)=>{var r=Ae(),i=Qn(),s=class extends r{constructor(n){super(n),this.type="rule",this.nodes||(this.nodes=[]);}get selectors(){return i.comma(this.selector)}set selectors(n){let a=this.selector?this.selector.match(/,\s*/):null,o=a?a[0]:","+this.raw("between","beforeOpen");this.selector=n.join(o);}};e.exports=s,s.default=s,r.registerRule(s);}),hh=et((t,e)=>{var r=Br(),i=lh(),s=Nr(),n=Qi(),a=lr(),o=ts(),l={empty:!0,space:!0};function h(c){for(let d=c.length-1;d>=0;d--){let m=c[d],p=m[3]||m[2];if(p)return p}}var u=class{constructor(c){this.input=c,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:c,start:{offset:0,line:1,column:1}};}createTokenizer(){this.tokenizer=i(this.input);}parse(){let c;for(;!this.tokenizer.endOfFile();)switch(c=this.tokenizer.nextToken(),c[0]){case"space":this.spaces+=c[1];break;case";":this.freeSemicolon(c);break;case"}":this.end(c);break;case"comment":this.comment(c);break;case"at-word":this.atrule(c);break;case"{":this.emptyRule(c);break;default:this.other(c);break}this.endFile();}comment(c){let d=new s;this.init(d,c[2]),d.source.end=this.getPosition(c[3]||c[2]);let m=c[1].slice(2,-2);if(/^\s*$/.test(m))d.text="",d.raws.left=m,d.raws.right="";else {let p=m.match(/^(\s*)([^]*\S)(\s*)$/);d.text=p[2],d.raws.left=p[1],d.raws.right=p[3];}}emptyRule(c){let d=new o;this.init(d,c[2]),d.selector="",d.raws.between="",this.current=d;}other(c){let d=!1,m=null,p=!1,f=null,v=[],y=c[1].startsWith("--"),g=[],b=c;for(;b;){if(m=b[0],g.push(b),m==="("||m==="[")f||(f=b),v.push(m==="("?")":"]");else if(y&&p&&m==="{")f||(f=b),v.push("}");else if(v.length===0)if(m===";")if(p){this.decl(g,y);return}else break;else if(m==="{"){this.rule(g);return}else if(m==="}"){this.tokenizer.back(g.pop()),d=!0;break}else m===":"&&(p=!0);else m===v[v.length-1]&&(v.pop(),v.length===0&&(f=null));b=this.tokenizer.nextToken();}if(this.tokenizer.endOfFile()&&(d=!0),v.length>0&&this.unclosedBracket(f),d&&p){if(!y)for(;g.length&&(b=g[g.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,y);}else this.unknownWord(g);}rule(c){c.pop();let d=new o;this.init(d,c[0][2]),d.raws.between=this.spacesAndCommentsFromEnd(c),this.raw(d,"selector",c),this.current=d;}decl(c,d){let m=new r;this.init(m,c[0][2]);let p=c[c.length-1];for(p[0]===";"&&(this.semicolon=!0,c.pop()),m.source.end=this.getPosition(p[3]||p[2]||h(c));c[0][0]!=="word";)c.length===1&&this.unknownWord(c),m.raws.before+=c.shift()[1];for(m.source.start=this.getPosition(c[0][2]),m.prop="";c.length;){let g=c[0][0];if(g===":"||g==="space"||g==="comment")break;m.prop+=c.shift()[1];}m.raws.between="";let f;for(;c.length;)if(f=c.shift(),f[0]===":"){m.raws.between+=f[1];break}else f[0]==="word"&&/\w/.test(f[1])&&this.unknownWord([f]),m.raws.between+=f[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let v=[],y;for(;c.length&&(y=c[0][0],!(y!=="space"&&y!=="comment"));)v.push(c.shift());this.precheckMissedSemicolon(c);for(let g=c.length-1;g>=0;g--){if(f=c[g],f[1].toLowerCase()==="!important"){m.important=!0;let b=this.stringFrom(c,g);b=this.spacesFromEnd(c)+b,b!==" !important"&&(m.raws.important=b);break}else if(f[1].toLowerCase()==="important"){let b=c.slice(0),x="";for(let S=g;S>0;S--){let C=b[S][0];if(x.trim().indexOf("!")===0&&C!=="space")break;x=b.pop()[1]+x;}x.trim().indexOf("!")===0&&(m.important=!0,m.raws.important=x,c=b);}if(f[0]!=="space"&&f[0]!=="comment")break}c.some(g=>g[0]!=="space"&&g[0]!=="comment")&&(m.raws.between+=v.map(g=>g[1]).join(""),v=[]),this.raw(m,"value",v.concat(c),d),m.value.includes(":")&&!d&&this.checkMissedSemicolon(c);}atrule(c){let d=new n;d.name=c[1].slice(1),d.name===""&&this.unnamedAtrule(d,c),this.init(d,c[2]);let m,p,f,v=!1,y=!1,g=[],b=[];for(;!this.tokenizer.endOfFile();){if(c=this.tokenizer.nextToken(),m=c[0],m==="("||m==="["?b.push(m==="("?")":"]"):m==="{"&&b.length>0?b.push("}"):m===b[b.length-1]&&b.pop(),b.length===0)if(m===";"){d.source.end=this.getPosition(c[2]),this.semicolon=!0;break}else if(m==="{"){y=!0;break}else if(m==="}"){if(g.length>0){for(f=g.length-1,p=g[f];p&&p[0]==="space";)p=g[--f];p&&(d.source.end=this.getPosition(p[3]||p[2]));}this.end(c);break}else g.push(c);else g.push(c);if(this.tokenizer.endOfFile()){v=!0;break}}d.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(d.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(d,"params",g),v&&(c=g[g.length-1],d.source.end=this.getPosition(c[3]||c[2]),this.spaces=d.raws.between,d.raws.between="")):(d.raws.afterName="",d.params=""),y&&(d.nodes=[],this.current=d);}end(c){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(c[2]),this.current=this.current.parent):this.unexpectedClose(c);}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;}freeSemicolon(c){if(this.spaces+=c[1],this.current.nodes){let d=this.current.nodes[this.current.nodes.length-1];d&&d.type==="rule"&&!d.raws.ownSemicolon&&(d.raws.ownSemicolon=this.spaces,this.spaces="");}}getPosition(c){let d=this.input.fromOffset(c);return {offset:c,line:d.line,column:d.col}}init(c,d){this.current.push(c),c.source={start:this.getPosition(d),input:this.input},c.raws.before=this.spaces,this.spaces="",c.type!=="comment"&&(this.semicolon=!1);}raw(c,d,m,p){let f,v,y=m.length,g="",b=!0,x,S;for(let C=0;C<y;C+=1)f=m[C],v=f[0],v==="space"&&C===y-1&&!p?b=!1:v==="comment"?(S=m[C-1]?m[C-1][0]:"empty",x=m[C+1]?m[C+1][0]:"empty",!l[S]&&!l[x]?g.slice(-1)===","?b=!1:g+=f[1]:b=!1):g+=f[1];if(!b){let C=m.reduce((P,T)=>P+T[1],"");c.raws[d]={value:g,raw:C};}c[d]=g;}spacesAndCommentsFromEnd(c){let d,m="";for(;c.length&&(d=c[c.length-1][0],!(d!=="space"&&d!=="comment"));)m=c.pop()[1]+m;return m}spacesAndCommentsFromStart(c){let d,m="";for(;c.length&&(d=c[0][0],!(d!=="space"&&d!=="comment"));)m+=c.shift()[1];return m}spacesFromEnd(c){let d,m="";for(;c.length&&(d=c[c.length-1][0],d==="space");)m=c.pop()[1]+m;return m}stringFrom(c,d){let m="";for(let p=d;p<c.length;p++)m+=c[p][1];return c.splice(d,c.length-d),m}colon(c){let d=0,m,p,f;for(let[v,y]of c.entries()){if(m=y,p=m[0],p==="("&&(d+=1),p===")"&&(d-=1),d===0&&p===":")if(!f)this.doubleColon(m);else {if(f[0]==="word"&&f[1]==="progid")continue;return v}f=m;}return !1}unclosedBracket(c){throw this.input.error("Unclosed bracket",{offset:c[2]},{offset:c[2]+1})}unknownWord(c){throw this.input.error("Unknown word",{offset:c[0][2]},{offset:c[0][2]+c[0][1].length})}unexpectedClose(c){throw this.input.error("Unexpected }",{offset:c[2]},{offset:c[2]+1})}unclosedBlock(){let c=this.current.source.start;throw this.input.error("Unclosed block",c.line,c.column)}doubleColon(c){throw this.input.error("Double colon",{offset:c[2]},{offset:c[2]+c[1].length})}unnamedAtrule(c,d){throw this.input.error("At-rule without name",{offset:d[2]},{offset:d[2]+d[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(c){let d=this.colon(c);if(d===!1)return;let m=0,p;for(let f=d-1;f>=0&&(p=c[f],!(p[0]!=="space"&&(m+=1,m===2)));f--);throw this.input.error("Missed semicolon",p[0]==="word"?p[3]+1:p[2])}};e.exports=u;}),es=et((t,e)=>{var r=Ae(),i=hh(),s=zr();function n(a,o){let l=new s(a,o),h=new i(l);try{h.parse();}catch(u){throw u}return h.root}e.exports=n,n.default=n,r.registerParse(n);}),ta=et((t,e)=>{var{isClean:r,my:i}=Ki(),s=Yn(),n=Vr(),a=Ae(),o=Zi();Zn();var l=Xi(),h=es(),u=lr(),c={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},d={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},m={postcssPlugin:!0,prepare:!0,Once:!0},p=0;function f(S){return typeof S=="object"&&typeof S.then=="function"}function v(S){let C=!1,P=c[S.type];return S.type==="decl"?C=S.prop.toLowerCase():S.type==="atrule"&&(C=S.name.toLowerCase()),C&&S.append?[P,P+"-"+C,p,P+"Exit",P+"Exit-"+C]:C?[P,P+"-"+C,P+"Exit",P+"Exit-"+C]:S.append?[P,p,P+"Exit"]:[P,P+"Exit"]}function y(S){let C;return S.type==="document"?C=["Document",p,"DocumentExit"]:S.type==="root"?C=["Root",p,"RootExit"]:C=v(S),{node:S,events:C,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function g(S){return S[r]=!1,S.nodes&&S.nodes.forEach(C=>g(C)),S}var b={},x=class{constructor(S,C,P){this.stringified=!1,this.processed=!1;let T;if(typeof C=="object"&&C!==null&&(C.type==="root"||C.type==="document"))T=g(C);else if(C instanceof x||C instanceof l)T=g(C.root),C.map&&(typeof P.map>"u"&&(P.map={}),P.map.inline||(P.map.inline=!1),P.map.prev=C.map);else {let V=h;P.syntax&&(V=P.syntax.parse),P.parser&&(V=P.parser),V.parse&&(V=V.parse);try{T=V(C,P);}catch($){this.processed=!0,this.error=$;}T&&!T[i]&&a.rebuild(T);}this.result=new l(S,T,P),this.helpers={...b,result:this.result,postcss:b},this.plugins=this.processor.plugins.map(V=>typeof V=="object"&&V.prepare?{...V,...V.prepare(this.result)}:V);}get[Symbol.toStringTag](){return "LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(S,C){return this.async().then(S,C)}catch(S){return this.async().catch(S)}finally(S){return this.async().then(S,S)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let S of this.plugins){let C=this.runOnRoot(S);if(f(C))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let S=this.result.root;for(;!S[r];)S[r]=!0,this.walkSync(S);if(this.listeners.OnceExit)if(S.type==="document")for(let C of S.nodes)this.visitSync(this.listeners.OnceExit,C);else this.visitSync(this.listeners.OnceExit,S);}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let S=this.result.opts,C=n;S.syntax&&(C=S.syntax.stringify),S.stringifier&&(C=S.stringifier),C.stringify&&(C=C.stringify);let P=new s(C,this.result.root,this.result.opts).generate();return this.result.css=P[0],this.result.map=P[1],this.result}walkSync(S){S[r]=!0;let C=v(S);for(let P of C)if(P===p)S.nodes&&S.each(T=>{T[r]||this.walkSync(T);});else {let T=this.listeners[P];if(T&&this.visitSync(T,S.toProxy()))return}}visitSync(S,C){for(let[P,T]of S){this.result.lastPlugin=P;let V;try{V=T(C,this.helpers);}catch($){throw this.handleError($,C.proxyOf)}if(C.type!=="root"&&C.type!=="document"&&!C.parent)return !0;if(f(V))throw this.getAsyncError()}}runOnRoot(S){this.result.lastPlugin=S;try{if(typeof S=="object"&&S.Once){if(this.result.root.type==="document"){let C=this.result.root.nodes.map(P=>S.Once(P,this.helpers));return f(C[0])?Promise.all(C):C}return S.Once(this.result.root,this.helpers)}else if(typeof S=="function")return S(this.result.root,this.result)}catch(C){throw this.handleError(C)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(S,C){let P=this.result.lastPlugin;try{C&&C.addToError(S),this.error=S,S.name==="CssSyntaxError"&&!S.plugin?(S.plugin=P.postcssPlugin,S.setMessage()):P.postcssVersion;}catch(T){console&&console.error&&console.error(T);}return S}async runAsync(){this.plugin=0;for(let S=0;S<this.plugins.length;S++){let C=this.plugins[S],P=this.runOnRoot(C);if(f(P))try{await P;}catch(T){throw this.handleError(T)}}if(this.prepareVisitors(),this.hasListener){let S=this.result.root;for(;!S[r];){S[r]=!0;let C=[y(S)];for(;C.length>0;){let P=this.visitTick(C);if(f(P))try{await P;}catch(T){let V=C[C.length-1].node;throw this.handleError(T,V)}}}if(this.listeners.OnceExit)for(let[C,P]of this.listeners.OnceExit){this.result.lastPlugin=C;try{if(S.type==="document"){let T=S.nodes.map(V=>P(V,this.helpers));await Promise.all(T);}else await P(S,this.helpers);}catch(T){throw this.handleError(T)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let S=(C,P,T)=>{this.listeners[P]||(this.listeners[P]=[]),this.listeners[P].push([C,T]);};for(let C of this.plugins)if(typeof C=="object")for(let P in C){if(!d[P]&&/^[A-Z]/.test(P))throw new Error(`Unknown event ${P} in ${C.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!m[P])if(typeof C[P]=="object")for(let T in C[P])T==="*"?S(C,P,C[P][T]):S(C,P+"-"+T.toLowerCase(),C[P][T]);else typeof C[P]=="function"&&S(C,P,C[P]);}this.hasListener=Object.keys(this.listeners).length>0;}visitTick(S){let C=S[S.length-1],{node:P,visitors:T}=C;if(P.type!=="root"&&P.type!=="document"&&!P.parent){S.pop();return}if(T.length>0&&C.visitorIndex<T.length){let[$,R]=T[C.visitorIndex];C.visitorIndex+=1,C.visitorIndex===T.length&&(C.visitors=[],C.visitorIndex=0),this.result.lastPlugin=$;try{return R(P.toProxy(),this.helpers)}catch(j){throw this.handleError(j,P)}}if(C.iterator!==0){let $=C.iterator,R;for(;R=P.nodes[P.indexes[$]];)if(P.indexes[$]+=1,!R[r]){R[r]=!0,S.push(y(R));return}C.iterator=0,delete P.indexes[$];}let V=C.events;for(;C.eventIndex<V.length;){let $=V[C.eventIndex];if(C.eventIndex+=1,$===p){P.nodes&&P.nodes.length&&(P[r]=!0,C.iterator=P.getIterator());return}else if(this.listeners[$]){C.visitors=this.listeners[$];return}}S.pop();}};x.registerPostcss=S=>{b=S;},e.exports=x,x.default=x,u.registerLazyResult(x),o.registerLazyResult(x);}),ph=et((t,e)=>{var r=Yn(),i=Vr();Zn();var s=es(),n=Xi(),a=class{constructor(o,l,h){l=l.toString(),this.stringified=!1,this._processor=o,this._css=l,this._opts=h,this._map=void 0;let u,c=i;this.result=new n(this._processor,u,this._opts),this.result.css=l;let d=this;Object.defineProperty(this.result,"root",{get(){return d.root}});let m=new r(c,u,this._opts,l);if(m.isMap()){let[p,f]=m.generate();p&&(this.result.css=p),f&&(this.result.map=f);}}get[Symbol.toStringTag](){return "NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let o,l=s;try{o=l(this._css,this._opts);}catch(h){this.error=h;}if(this.error)throw this.error;return this._root=o,o}get messages(){return []}warnings(){return []}toString(){return this._css}then(o,l){return this.async().then(o,l)}catch(o){return this.async().catch(o)}finally(o){return this.async().then(o,o)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};e.exports=a,a.default=a;}),ch=et((t,e)=>{var r=ph(),i=ta(),s=Zi(),n=lr(),a=class{constructor(o=[]){this.version="8.4.24",this.plugins=this.normalize(o);}use(o){return this.plugins=this.plugins.concat(this.normalize([o])),this}process(o,l={}){return this.plugins.length===0&&typeof l.parser>"u"&&typeof l.stringifier>"u"&&typeof l.syntax>"u"?new r(this,o,l):new i(this,o,l)}normalize(o){let l=[];for(let h of o)if(h.postcss===!0?h=h():h.postcss&&(h=h.postcss),typeof h=="object"&&Array.isArray(h.plugins))l=l.concat(h.plugins);else if(typeof h=="object"&&h.postcssPlugin)l.push(h);else if(typeof h=="function")l.push(h);else if(!(typeof h=="object"&&(h.parse||h.stringify)))throw new Error(h+" is not a PostCSS plugin");return l}};e.exports=a,a.default=a,n.registerProcessor(a),s.registerProcessor(a);}),fh=et((t,e)=>{var r=Br(),i=Kn(),s=Nr(),n=Qi(),a=zr(),o=lr(),l=ts();
vendor: 4,625 bytes, lines 31-38
31function h(u,c){if(Array.isArray(u))return u.map(p=>h(p));let{inputs:d,...m}=u;if(d){c=[];for(let p of d){let f={...p,__proto__:a.prototype};f.map&&(f.map={...f.map,__proto__:i.prototype}),c.push(f);}}if(m.nodes&&(m.nodes=u.nodes.map(p=>h(p,c))),m.source){let{inputId:p,...f}=m.source;m.source=f,p!=null&&(m.source.input=c[p]);}if(m.type==="root")return new o(m);if(m.type==="decl")return new r(m);if(m.type==="rule")return new l(m);if(m.type==="comment")return new s(m);if(m.type==="atrule")return new n(m);throw new Error("Unknown node type: "+u.type)}e.exports=h,h.default=h;}),uh=et((t,e)=>{var r=Ji(),i=Br(),s=ta(),n=Ae(),a=ch(),o=Vr(),l=fh(),h=Zi(),u=Xn(),c=Nr(),d=Qi(),m=Xi(),p=zr(),f=es(),v=Qn(),y=ts(),g=lr(),b=Rr();function x(...S){return S.length===1&&Array.isArray(S[0])&&(S=S[0]),new a(S)}x.plugin=function(S,C){let P=!1;function T(...$){console&&console.warn&&!P&&(P=!0,console.warn(S+`: postcss.plugin was deprecated. Migration guide:
32https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(S+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
33https://www.w3ctech.com/topic/2226`));let R=C(...$);return R.postcssPlugin=S,R.postcssVersion=new a().version,R}let V;return Object.defineProperty(T,"postcss",{get(){return V||(V=T()),V}}),T.process=function($,R,j){return x([T(j)]).process($,R)},T},x.stringify=o,x.parse=f,x.fromJSON=l,x.list=v,x.comment=S=>new c(S),x.atRule=S=>new d(S),x.decl=S=>new i(S),x.rule=S=>new y(S),x.root=S=>new g(S),x.document=S=>new h(S),x.CssSyntaxError=r,x.Declaration=i,x.Container=n,x.Processor=a,x.Document=h,x.Comment=c,x.Warning=u,x.AtRule=d,x.Result=m,x.Input=p,x.Rule=y,x.Root=g,x.Node=b,s.registerPostcss(x),e.exports=x,x.default=x;}),ea=et(()=>{}),ra=et((t,e)=>{var r=Hn(),i=ea(),s=class extends Error{constructor(n,a,o,l,h,u){super(n),this.name="CssSyntaxError",this.reason=n,h&&(this.file=h),l&&(this.source=l),u&&(this.plugin=u),typeof a<"u"&&typeof o<"u"&&(typeof a=="number"?(this.line=a,this.column=o):(this.line=a.line,this.column=a.column,this.endLine=o.line,this.endColumn=o.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s);}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason;}showSourceCode(n){if(!this.source)return "";let a=this.source;n==null&&(n=r.isColorSupported),i&&n&&(a=i(a));let o=a.split(/\r?\n/),l=Math.max(this.line-3,0),h=Math.min(this.line+2,o.length),u=String(h).length,c,d;if(n){let{bold:m,red:p,gray:f}=r.createColors(!0);c=v=>m(p(v)),d=v=>f(v);}else c=d=m=>m;return o.slice(l,h).map((m,p)=>{let f=l+1+p,v=" "+(" "+f).slice(-u)+" | ";if(f===this.line){let y=d(v.replace(/\d/g," "))+m.slice(0,this.column-1).replace(/[^\t]/g," ");return c(">")+d(v)+m+`
34 `+y+c("^")}return " "+d(v)+m}).join(`
35`)}toString(){let n=this.showSourceCode();return n&&(n=`
36
37`+n+`
38`),this.name+": "+this.message+n}};e.exports=s,s.default=s;}),dh=et((t,e)=>{var{SourceMapConsumer:r,SourceMapGenerator:i}=ar(),{existsSync:s,readFileSync:n}=Jn(),{dirname:a,join:o}=or();function l(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}var h=class{constructor(u,c){if(c.map===!1)return;this.loadAnnotation(u),this.inline=this.startWith(this.annotation,"data:");let d=c.map?c.map.prev:void 0,m=this.loadMap(c.from,d);!this.mapFile&&c.from&&(this.mapFile=c.from),this.mapFile&&(this.root=a(this.mapFile)),m&&(this.text=m);}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}withContent(){return !!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(u,c){return u?u.substr(0,c.length)===c:!1}getAnnotationURL(u){return u.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(u){let c=u.match(/\/\*\s*# sourceMappingURL=/gm);if(!c)return;let d=u.lastIndexOf(c.pop()),m=u.indexOf("*/",d);d>-1&&m>-1&&(this.annotation=this.getAnnotationURL(u.substring(d,m)));}decodeInline(u){let c=/^data:application\/json;charset=utf-?8;base64,/,d=/^data:application\/json;base64,/,m=/^data:application\/json;charset=utf-?8,/,p=/^data:application\/json,/;if(m.test(u)||p.test(u))return decodeURIComponent(u.substr(RegExp.lastMatch.length));if(c.test(u)||d.test(u))return l(u.substr(RegExp.lastMatch.length));let f=u.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+f)}loadFile(u){if(this.root=a(u),s(u))return this.mapFile=u,n(u,"utf-8").toString().trim()}
vendor: 4,853 bytes, lines 38-44
38loadMap(u,c){if(c===!1)return !1;if(c){if(typeof c=="string")return c;if(typeof c=="function"){let d=c(u);if(d){let m=this.loadFile(d);if(!m)throw new Error("Unable to load previous source map: "+d.toString());return m}}else {if(c instanceof r)return i.fromSourceMap(c).toString();if(c instanceof i)return c.toString();if(this.isMap(c))return JSON.stringify(c);throw new Error("Unsupported previous source map format: "+c.toString())}}else {if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let d=this.annotation;return u&&(d=o(a(u),d)),this.loadFile(d)}}}isMap(u){return typeof u!="object"?!1:typeof u.mappings=="string"||typeof u._mappings=="string"||Array.isArray(u.sections)}};e.exports=h,h.default=h;}),ia=et((t,e)=>{var{SourceMapConsumer:r,SourceMapGenerator:i}=ar(),{fileURLToPath:s,pathToFileURL:n}=Yi(),{resolve:a,isAbsolute:o}=or(),{nanoid:l}=Wn(),h=ea(),u=ra(),c=dh(),d=Symbol("fromOffsetCache"),m=!!(r&&i),p=!!(a&&o),f=class{constructor(v,y={}){if(v===null||typeof v>"u"||typeof v=="object"&&!v.toString)throw new Error(`PostCSS received ${v} instead of CSS string`);if(this.css=v.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!p||/^\w+:\/\//.test(y.from)||o(y.from)?this.file=y.from:this.file=a(y.from)),p&&m){let g=new c(this.css,y);if(g.text){this.map=g;let b=g.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b));}}this.file||(this.id="<input css "+l(6)+">"),this.map&&(this.map.file=this.from);}fromOffset(v){let y,g;if(this[d])g=this[d];else {let x=this.css.split(`
39`);g=new Array(x.length);let S=0;for(let C=0,P=x.length;C<P;C++)g[C]=S,S+=x[C].length+1;this[d]=g;}y=g[g.length-1];let b=0;if(v>=y)b=g.length-1;else {let x=g.length-2,S;for(;b<x;)if(S=b+(x-b>>1),v<g[S])x=S-1;else if(v>=g[S+1])b=S+1;else {b=S;break}}return {line:b+1,col:v-g[b]+1}}error(v,y,g,b={}){let x,S,C;if(y&&typeof y=="object"){let T=y,V=g;if(typeof T.offset=="number"){let $=this.fromOffset(T.offset);y=$.line,g=$.col;}else y=T.line,g=T.column;if(typeof V.offset=="number"){let $=this.fromOffset(V.offset);S=$.line,C=$.col;}else S=V.line,C=V.column;}else if(!g){let T=this.fromOffset(y);y=T.line,g=T.col;}let P=this.origin(y,g,S,C);return P?x=new u(v,P.endLine===void 0?P.line:{line:P.line,column:P.column},P.endLine===void 0?P.column:{line:P.endLine,column:P.endColumn},P.source,P.file,b.plugin):x=new u(v,S===void 0?y:{line:y,column:g},S===void 0?g:{line:S,column:C},this.css,this.file,b.plugin),x.input={line:y,column:g,endLine:S,endColumn:C,source:this.css},this.file&&(n&&(x.input.url=n(this.file).toString()),x.input.file=this.file),x}origin(v,y,g,b){if(!this.map)return !1;let x=this.map.consumer(),S=x.originalPositionFor({line:v,column:y});if(!S.source)return !1;let C;typeof g=="number"&&(C=x.originalPositionFor({line:g,column:b}));let P;o(S.source)?P=n(S.source):P=new URL(S.source,this.map.consumer().sourceRoot||n(this.map.mapFile));let T={url:P.toString(),line:S.line,column:S.column,endLine:C&&C.line,endColumn:C&&C.column};if(P.protocol==="file:")if(s)T.file=s(P);else throw new Error("file: protocol is not available in this PostCSS build");let V=x.sourceContentFor(S.source);return V&&(T.source=V),T}mapResolve(v){return /^\w+:\/\//.test(v)?v:a(this.map.consumer().sourceRoot||this.map.root||".",v)}get from(){return this.file||this.id}toJSON(){let v={};for(let y of ["hasBOM","css","file","id"])this[y]!=null&&(v[y]=this[y]);return this.map&&(v.map={...this.map},v.map.consumerCache&&(v.map.consumerCache=void 0)),v}};e.exports=f,f.default=f,h&&h.registerInput&&h.registerInput(f);}),sa=et((t,e)=>{e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my");}),rs=et((t,e)=>{var r={colon:": ",indent:"    ",beforeDecl:`
40`,beforeRule:`
41`,beforeOpen:" ",beforeClose:`
42`,beforeComment:`
43`,after:`
44`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function i(n){return n[0].toUpperCase()+n.slice(1)}var s=class{constructor(n){this.builder=n;}stringify(n,a){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,a);}document(n){this.body(n);}root(n){this.body(n),n.raws.after&&this.builder(n.raws.after);}comment(n){let a=this.raw(n,"left","commentLeft"),o=this.raw(n,"right","commentRight");this.builder("/*"+a+n.text+o+"*/",n);}decl(n,a){let o=this.raw(n,"between","colon"),l=n.prop+o+this.rawValue(n,"value");n.important&&(l+=n.raws.important||" !important"),a&&(l+=";"),this.builder(l,n);}rule(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end");}atrule(n,a){let o="@"+n.name,l=n.params?this.rawValue(n,"params"):"";if(typeof n.raws.afterName<"u"?o+=n.raws.afterName:l&&(o+=" "),n.nodes)this.block(n,o+l);else {let h=(n.raws.between||"")+(a?";":"");this.builder(o+l+h,n);}}
vendor: 5,672 bytes, lines 44-51
44body(n){let a=n.nodes.length-1;for(;a>0&&n.nodes[a].type==="comment";)a-=1;let o=this.raw(n,"semicolon");for(let l=0;l<n.nodes.length;l++){let h=n.nodes[l],u=this.raw(h,"before");u&&this.builder(u),this.stringify(h,a!==l||o);}}block(n,a){let o=this.raw(n,"between","beforeOpen");this.builder(a+o+"{",n,"start");let l;n.nodes&&n.nodes.length?(this.body(n),l=this.raw(n,"after")):l=this.raw(n,"after","emptyBody"),l&&this.builder(l),this.builder("}",n,"end");}raw(n,a,o){let l;if(o||(o=a),a&&(l=n.raws[a],typeof l<"u"))return l;let h=n.parent;if(o==="before"&&(!h||h.type==="root"&&h.first===n||h&&h.type==="document"))return "";if(!h)return r[o];let u=n.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(n,o);{let c="raw"+i(o);this[c]?l=this[c](u,n):u.walk(d=>{if(l=d.raws[a],typeof l<"u")return !1});}return typeof l>"u"&&(l=r[o]),u.rawCache[o]=l,l}rawSemicolon(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(a=o.raws.semicolon,typeof a<"u"))return !1}),a}rawEmptyBody(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length===0&&(a=o.raws.after,typeof a<"u"))return !1}),a}rawIndent(n){if(n.raws.indent)return n.raws.indent;let a;return n.walk(o=>{let l=o.parent;if(l&&l!==n&&l.parent&&l.parent===n&&typeof o.raws.before<"u"){let h=o.raws.before.split(`
45`);return a=h[h.length-1],a=a.replace(/\S/g,""),!1}}),a}rawBeforeComment(n,a){let o;return n.walkComments(l=>{if(typeof l.raws.before<"u")return o=l.raws.before,o.includes(`
46`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(a,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeDecl(n,a){let o;return n.walkDecls(l=>{if(typeof l.raws.before<"u")return o=l.raws.before,o.includes(`
47`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(a,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeRule(n){let a;return n.walk(o=>{if(o.nodes&&(o.parent!==n||n.first!==o)&&typeof o.raws.before<"u")return a=o.raws.before,a.includes(`
48`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeClose(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return a=o.raws.after,a.includes(`
49`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(n){let a;return n.walk(o=>{if(o.type!=="decl"&&(a=o.raws.between,typeof a<"u"))return !1}),a}rawColon(n){let a;return n.walkDecls(o=>{if(typeof o.raws.between<"u")return a=o.raws.between.replace(/[^\s:]/g,""),!1}),a}beforeAfter(n,a){let o;n.type==="decl"?o=this.raw(n,null,"beforeDecl"):n.type==="comment"?o=this.raw(n,null,"beforeComment"):a==="before"?o=this.raw(n,null,"beforeRule"):o=this.raw(n,null,"beforeClose");let l=n.parent,h=0;for(;l&&l.type!=="root";)h+=1,l=l.parent;if(o.includes(`
50`)){let u=this.raw(n,null,"indent");if(u.length)for(let c=0;c<h;c++)o+=u;}return o}rawValue(n,a){let o=n[a],l=n.raws[a];return l&&l.value===o?l.raw:o}};e.exports=s,s.default=s;}),mh=et((t,e)=>{var r=rs();function i(s,n){new r(n).stringify(s);}e.exports=i,i.default=i;}),hr=et((t,e)=>{var{isClean:r,my:i}=sa(),s=ra(),n=rs(),a=mh();function o(h,u){let c=new h.constructor;for(let d in h){if(!Object.prototype.hasOwnProperty.call(h,d)||d==="proxyCache")continue;let m=h[d],p=typeof m;d==="parent"&&p==="object"?u&&(c[d]=u):d==="source"?c[d]=m:Array.isArray(m)?c[d]=m.map(f=>o(f,c)):(p==="object"&&m!==null&&(m=o(m)),c[d]=m);}return c}var l=class{constructor(h={}){this.raws={},this[r]=!1,this[i]=!0;for(let u in h)if(u==="nodes"){this.nodes=[];for(let c of h[u])typeof c.clone=="function"?this.append(c.clone()):this.append(c);}else this[u]=h[u];}error(h,u={}){if(this.source){let{start:c,end:d}=this.rangeBy(u);return this.source.input.error(h,{line:c.line,column:c.column},{line:d.line,column:d.column},u)}return new s(h)}warn(h,u,c){let d={node:this};for(let m in c)d[m]=c[m];return h.warn(u,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(h=a){h.stringify&&(h=h.stringify);let u="";return h(this,c=>{u+=c;}),u}assign(h={}){for(let u in h)this[u]=h[u];return this}clone(h={}){let u=o(this);for(let c in h)u[c]=h[c];return u}cloneBefore(h={}){let u=this.clone(h);return this.parent.insertBefore(this,u),u}cloneAfter(h={}){let u=this.clone(h);return this.parent.insertAfter(this,u),u}replaceWith(...h){if(this.parent){let u=this,c=!1;for(let d of h)d===this?c=!0:c?(this.parent.insertAfter(u,d),u=d):this.parent.insertBefore(u,d);c||this.remove();}return this}next(){if(!this.parent)return;let h=this.parent.index(this);return this.parent.nodes[h+1]}prev(){if(!this.parent)return;let h=this.parent.index(this);return this.parent.nodes[h-1]}before(h){return this.parent.insertBefore(this,h),this}after(h){return this.parent.insertAfter(this,h),this}root(){let h=this;for(;h.parent&&h.parent.type!=="document";)h=h.parent;return h}raw(h,u){return new n().raw(this,h,u)}cleanRaws(h){delete this.raws.before,delete this.raws.after,h||delete this.raws.between;}toJSON(h,u){let c={},d=u==null;u=u||new Map;let m=0;for(let p in this){if(!Object.prototype.hasOwnProperty.call(this,p)||p==="parent"||p==="proxyCache")continue;let f=this[p];if(Array.isArray(f))c[p]=f.map(v=>typeof v=="object"&&v.toJSON?v.toJSON(null,u):v);else if(typeof f=="object"&&f.toJSON)c[p]=f.toJSON(null,u);else if(p==="source"){let v=u.get(f.input);v==null&&(v=m,u.set(f.input,m),m++),c[p]={inputId:v,start:f.start,end:f.end};}else c[p]=f;}return d&&(c.inputs=[...u.keys()].map(p=>p.toJSON())),c}positionInside(h){let u=this.toString(),c=this.source.start.column,d=this.source.start.line;for(let m=0;m<h;m++)u[m]===`
51`?(c=1,d+=1):c+=1;return {line:d,column:c}
vendor: 1,395 bytes, line 51
51}positionBy(h){let u=this.source.start;if(h.index)u=this.positionInside(h.index);else if(h.word){let c=this.toString().indexOf(h.word);c!==-1&&(u=this.positionInside(c));}return u}rangeBy(h){let u={line:this.source.start.line,column:this.source.start.column},c=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:u.line,column:u.column+1};if(h.word){let d=this.toString().indexOf(h.word);d!==-1&&(u=this.positionInside(d),c=this.positionInside(d+h.word.length));}else h.start?u={line:h.start.line,column:h.start.column}:h.index&&(u=this.positionInside(h.index)),h.end?c={line:h.end.line,column:h.end.column}:h.endIndex?c=this.positionInside(h.endIndex):h.index&&(c=this.positionInside(h.index+1));return (c.line<u.line||c.line===u.line&&c.column<=u.column)&&(c={line:u.line,column:u.column+1}),{start:u,end:c}}getProxyProcessor(){return {set(h,u,c){return h[u]===c||(h[u]=c,(u==="prop"||u==="value"||u==="name"||u==="params"||u==="important"||u==="text")&&h.markDirty()),!0},get(h,u){return u==="proxyOf"?h:u==="root"?()=>h.root().toProxy():h[u]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(h){if(h.postcssNode=this,h.stack&&this.source&&/\n\s{4}at /.test(h.stack)){let u=this.source;h.stack=h.stack.replace(/\n\s{4}at /,`$&${u.input.from}:${u.start.line}:${u.start.column}$&`);}return h}
51markDirty(){if(this[r]){this[r]=!1;let h=this;for(;h=h.parent;)h[r]=!1;}}get proxyOf(){return this}};e.exports=l,l.default=l;}),na=et((t,e)=>{var r=hr(),i=class extends r{constructor(s){s&&typeof s.value<"u"&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl";}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};e.exports=i,i.default=i;}),aa=et((t,e)=>{var r="'".charCodeAt(0),i='"'.charCodeAt(0),s="\\".charCodeAt(0),n="/".charCodeAt(0),a=`
52`.charCodeAt(0),o=" ".charCodeAt(0),l="\f".charCodeAt(0),h="	".charCodeAt(0),u="\r".charCodeAt(0),c="[".charCodeAt(0),d="]".charCodeAt(0),m="(".charCodeAt(0),p=")".charCodeAt(0),f="{".charCodeAt(0),v="}".charCodeAt(0),y=";".charCodeAt(0),g="*".charCodeAt(0),b=":".charCodeAt(0),x="@".charCodeAt(0),S=/[\t\n\f\r "#'()/;[\\\]{}]/g,C=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,P=/.[\n"'(/\\]/,T=/[\da-f]/i;e.exports=function(V,$={}){let R=V.css.valueOf(),j=$.ignoreErrors,q,F,U,A,M,_,E,L,I,X,Y=R.length,H=0,G=[],Q=[];function rt(){return H}function st(ht){throw V.error("Unclosed "+ht,H)}function ut(){return Q.length===0&&H>=Y}function dt(ht){if(Q.length)return Q.pop();if(H>=Y)return;let nt=ht?ht.ignoreUnclosed:!1;
vendor: 13,751 bytes, lines 52-53
52switch(q=R.charCodeAt(H),q){case a:case o:case h:case u:case l:{F=H;do F+=1,q=R.charCodeAt(F);while(q===o||q===a||q===h||q===u||q===l);X=["space",R.slice(H,F)],H=F-1;break}case c:case d:case f:case v:case b:case y:case p:{let tt=String.fromCharCode(q);X=[tt,tt,H];break}case m:{if(L=G.length?G.pop()[1]:"",I=R.charCodeAt(H+1),L==="url"&&I!==r&&I!==i&&I!==o&&I!==a&&I!==h&&I!==l&&I!==u){F=H;do{if(_=!1,F=R.indexOf(")",F+1),F===-1)if(j||nt){F=H;break}else st("bracket");for(E=F;R.charCodeAt(E-1)===s;)E-=1,_=!_;}while(_);X=["brackets",R.slice(H,F+1),H,F],H=F;}else F=R.indexOf(")",H+1),A=R.slice(H,F+1),F===-1||P.test(A)?X=["(","(",H]:(X=["brackets",A,H,F],H=F);break}case r:case i:{U=q===r?"'":'"',F=H;do{if(_=!1,F=R.indexOf(U,F+1),F===-1)if(j||nt){F=H+1;break}else st("string");for(E=F;R.charCodeAt(E-1)===s;)E-=1,_=!_;}while(_);X=["string",R.slice(H,F+1),H,F],H=F;break}case x:{S.lastIndex=H+1,S.test(R),S.lastIndex===0?F=R.length-1:F=S.lastIndex-2,X=["at-word",R.slice(H,F+1),H,F],H=F;break}case s:{for(F=H,M=!0;R.charCodeAt(F+1)===s;)F+=1,M=!M;if(q=R.charCodeAt(F+1),M&&q!==n&&q!==o&&q!==a&&q!==h&&q!==u&&q!==l&&(F+=1,T.test(R.charAt(F)))){for(;T.test(R.charAt(F+1));)F+=1;R.charCodeAt(F+1)===o&&(F+=1);}X=["word",R.slice(H,F+1),H,F],H=F;break}default:{q===n&&R.charCodeAt(H+1)===g?(F=R.indexOf("*/",H+2)+1,F===0&&(j||nt?F=R.length:st("comment")),X=["comment",R.slice(H,F+1),H,F],H=F):(C.lastIndex=H+1,C.test(R),C.lastIndex===0?F=R.length-1:F=C.lastIndex-2,X=["word",R.slice(H,F+1),H,F],G.push(X),H=F);break}}return H++,X}function ot(ht){Q.push(ht);}return {back:ot,nextToken:dt,endOfFile:ut,position:rt}};}),is=et((t,e)=>{var r=hr(),i=class extends r{constructor(s){super(s),this.type="comment";}};e.exports=i,i.default=i;}),pr=et((t,e)=>{var{isClean:r,my:i}=sa(),s=na(),n=is(),a=hr(),o,l,h,u;function c(p){return p.map(f=>(f.nodes&&(f.nodes=c(f.nodes)),delete f.source,f))}function d(p){if(p[r]=!1,p.proxyOf.nodes)for(let f of p.proxyOf.nodes)d(f);}var m=class extends a{push(p){return p.parent=this,this.proxyOf.nodes.push(p),this}each(p){if(!this.proxyOf.nodes)return;let f=this.getIterator(),v,y;for(;this.indexes[f]<this.proxyOf.nodes.length&&(v=this.indexes[f],y=p(this.proxyOf.nodes[v],v),y!==!1);)this.indexes[f]+=1;return delete this.indexes[f],y}walk(p){return this.each((f,v)=>{let y;try{y=p(f,v);}catch(g){throw f.addToError(g)}return y!==!1&&f.walk&&(y=f.walk(p)),y})}walkDecls(p,f){return f?p instanceof RegExp?this.walk((v,y)=>{if(v.type==="decl"&&p.test(v.prop))return f(v,y)}):this.walk((v,y)=>{if(v.type==="decl"&&v.prop===p)return f(v,y)}):(f=p,this.walk((v,y)=>{if(v.type==="decl")return f(v,y)}))}walkRules(p,f){return f?p instanceof RegExp?this.walk((v,y)=>{if(v.type==="rule"&&p.test(v.selector))return f(v,y)}):this.walk((v,y)=>{if(v.type==="rule"&&v.selector===p)return f(v,y)}):(f=p,this.walk((v,y)=>{if(v.type==="rule")return f(v,y)}))}walkAtRules(p,f){return f?p instanceof RegExp?this.walk((v,y)=>{if(v.type==="atrule"&&p.test(v.name))return f(v,y)}):this.walk((v,y)=>{if(v.type==="atrule"&&v.name===p)return f(v,y)}):(f=p,this.walk((v,y)=>{if(v.type==="atrule")return f(v,y)}))}walkComments(p){return this.walk((f,v)=>{if(f.type==="comment")return p(f,v)})}append(...p){for(let f of p){let v=this.normalize(f,this.last);for(let y of v)this.proxyOf.nodes.push(y);}return this.markDirty(),this}prepend(...p){p=p.reverse();for(let f of p){let v=this.normalize(f,this.first,"prepend").reverse();for(let y of v)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+v.length;}return this.markDirty(),this}cleanRaws(p){if(super.cleanRaws(p),this.nodes)for(let f of this.nodes)f.cleanRaws(p);}insertBefore(p,f){let v=this.index(p),y=v===0?"prepend":!1,g=this.normalize(f,this.proxyOf.nodes[v],y).reverse();v=this.index(p);for(let x of g)this.proxyOf.nodes.splice(v,0,x);let b;for(let x in this.indexes)b=this.indexes[x],v<=b&&(this.indexes[x]=b+g.length);return this.markDirty(),this}insertAfter(p,f){let v=this.index(p),y=this.normalize(f,this.proxyOf.nodes[v]).reverse();v=this.index(p);for(let b of y)this.proxyOf.nodes.splice(v+1,0,b);let g;for(let b in this.indexes)g=this.indexes[b],v<g&&(this.indexes[b]=g+y.length);return this.markDirty(),this}removeChild(p){p=this.index(p),this.proxyOf.nodes[p].parent=void 0,this.proxyOf.nodes.splice(p,1);let f;for(let v in this.indexes)f=this.indexes[v],f>=p&&(this.indexes[v]=f-1);return this.markDirty(),this}removeAll(){for(let p of this.proxyOf.nodes)p.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(p,f,v){return v||(v=f,f={}),this.walkDecls(y=>{f.props&&!f.props.includes(y.prop)||f.fast&&!y.value.includes(f.fast)||(y.value=y.value.replace(p,v));}),this.markDirty(),this}every(p){return this.nodes.every(p)}some(p){return this.nodes.some(p)}index(p){return typeof p=="number"?p:(p.proxyOf&&(p=p.proxyOf),this.proxyOf.nodes.indexOf(p))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(p,f){if(typeof p=="string")p=c(o(p).nodes);else if(Array.isArray(p)){p=p.slice(0);for(let v of p)v.parent&&v.parent.removeChild(v,"ignore");}else if(p.type==="root"&&this.type!=="document"){p=p.nodes.slice(0);for(let v of p)v.parent&&v.parent.removeChild(v,"ignore");}else if(p.type)p=[p];else if(p.prop){if(typeof p.value>"u")throw new Error("Value field is missed in node creation");typeof p.value!="string"&&(p.value=String(p.value)),p=[new s(p)];}else if(p.selector)p=[new l(p)];else if(p.name)p=[new h(p)];else if(p.text)p=[new n(p)];else throw new Error("Unknown node type in node creation");return p.map(v=>(v[i]||m.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[r]&&d(v),typeof v.raws.before>"u"&&f&&typeof f.raws.before<"u"&&(v.raws.before=f.raws.before.replace(/\S/g,"")),v.parent=this.proxyOf,v))}getProxyProcessor(){return {set(p,f,v){return p[f]===v||(p[f]=v,(f==="name"||f==="params"||f==="selector")&&p.markDirty()),!0},get(p,f){return f==="proxyOf"?p:p[f]?f==="each"||typeof f=="string"&&f.startsWith("walk")?(...v)=>p[f](...v.map(y=>typeof y=="function"?(g,b)=>y(g.toProxy(),b):y)):f==="every"||f==="some"?v=>p[f]((y,...g)=>v(y.toProxy(),...g)):f==="root"?()=>p.root().toProxy():f==="nodes"?p.nodes.map(v=>v.toProxy()):f==="first"||f==="last"?p[f].toProxy():p[f]:p[f]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let p=this.lastEach;return this.indexes[p]=0,p}};m.registerParse=p=>{o=p;},m.registerRule=p=>{l=p;},m.registerAtRule=p=>{h=p;},m.registerRoot=p=>{u=p;},e.exports=m,m.default=m,m.rebuild=p=>{p.type==="atrule"?Object.setPrototypeOf(p,h.prototype):p.type==="rule"?Object.setPrototypeOf(p,l.prototype):p.type==="decl"?Object.setPrototypeOf(p,s.prototype):p.type==="comment"?Object.setPrototypeOf(p,n.prototype):p.type==="root"&&Object.setPrototypeOf(p,u.prototype),p[i]=!0,p.nodes&&p.nodes.forEach(f=>{m.rebuild(f);});};}),yh=et((t,e)=>{var r=pr(),i=class extends r{constructor(s){super(s),this.type="atrule";}append(...s){return this.proxyOf.nodes||(this.nodes=[]),super.append(...s)}prepend(...s){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...s)}};e.exports=i,i.default=i,r.registerAtRule(i);}),gh=et((t,e)=>{var r=pr(),i,s,n=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[]);}removeChild(a,o){let l=this.index(a);return !o&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),super.removeChild(a)}normalize(a,o,l){let h=super.normalize(a);if(o){if(l==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let u of h)u.raws.before=o.raws.before;}return h}toResult(a={}){return new i(new s,this,a).stringify()}};n.registerLazyResult=a=>{i=a;},n.registerProcessor=a=>{s=a;},e.exports=n,n.default=n,r.registerRoot(n);}),vh=et((t,e)=>{var r={split(i,s,n){let a=[],o="",l=!1,h=0,u=!1,c="",d=!1;for(let m of i)d?d=!1:m==="\\"?d=!0:u?m===c&&(u=!1):m==='"'||m==="'"?(u=!0,c=m):m==="("?h+=1:m===")"?h>0&&(h-=1):h===0&&s.includes(m)&&(l=!0),l?(o!==""&&a.push(o.trim()),o="",l=!1):o+=m;return (n||o!=="")&&a.push(o.trim()),a},space(i){let s=[" ",`
53`,"	"];return r.split(i,s)},comma(i){return r.split(i,[","],!0)}};e.exports=r,r.default=r;}),bh=et((t,e)=>{var r=pr(),i=vh(),s=class extends r{constructor(n){super(n),this.type="rule",this.nodes||(this.nodes=[]);}get selectors(){return i.comma(this.selector)}set selectors(n){let a=this.selector?this.selector.match(/,\s*/):null,o=a?a[0]:","+this.raw("between","beforeOpen");this.selector=n.join(o);}};e.exports=s,s.default=s,r.registerRule(s);}),xh=et((t,e)=>{var r=na(),i=aa(),s=is(),n=yh(),a=gh(),o=bh(),l={empty:!0,space:!0};function h(c){for(let d=c.length-1;d>=0;d--){let m=c[d],p=m[3]||m[2];if(p)return p}}var u=class{constructor(c){this.input=c,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:c,start:{offset:0,line:1,column:1}};}createTokenizer(){this.tokenizer=i(this.input);}parse(){let c;for(;!this.tokenizer.endOfFile();)switch(c=this.tokenizer.nextToken(),c[0]){case"space":this.spaces+=c[1];break;case";":this.freeSemicolon(c);break;case"}":this.end(c);break;case"comment":this.comment(c);break;case"at-word":this.atrule(c);break;case"{":this.emptyRule(c);break;default:this.other(c);break}this.endFile();}comment(c){let d=new s;this.init(d,c[2]),d.source.end=this.getPosition(c[3]||c[2]);let m=c[1].slice(2,-2);if(/^\s*$/.test(m))d.text="",d.raws.left=m,d.raws.right="";else {let p=m.match(/^(\s*)([^]*\S)(\s*)$/);d.text=p[2],d.raws.left=p[1],d.raws.right=p[3];}}emptyRule(c){let d=new o;this.init(d,c[2]),d.selector="",d.raws.between="",this.current=d;}other(c){let d=!1,m=null,p=!1,f=null,v=[],y=c[1].startsWith("--"),g=[],b=c;for(;b;){if(m=b[0],g.push(b),m==="("||m==="[")f||(f=b),v.push(m==="("?")":"]");else if(y&&p&&m==="{")f||(f=b),v.push("}");else if(v.length===0)if(m===";")if(p){this.decl(g,y);return}else break;else if(m==="{"){this.rule(g);return}else if(m==="}"){this.tokenizer.back(g.pop()),d=!0;break}else m===":"&&(p=!0);else m===v[v.length-1]&&(v.pop(),v.length===0&&(f=null));b=this.tokenizer.nextToken();}if(this.tokenizer.endOfFile()&&(d=!0),v.length>0&&this.unclosedBracket(f),d&&p){if(!y)for(;g.length&&(b=g[g.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,y);}else this.unknownWord(g);}rule(c){c.pop();let d=new o;this.init(d,c[0][2]),d.raws.between=this.spacesAndCommentsFromEnd(c),this.raw(d,"selector",c),this.current=d;}decl(c,d){let m=new r;this.init(m,c[0][2]);let p=c[c.length-1];for(p[0]===";"&&(this.semicolon=!0,c.pop()),m.source.end=this.getPosition(p[3]||p[2]||h(c));c[0][0]!=="word";)c.length===1&&this.unknownWord(c),m.raws.before+=c.shift()[1];for(m.source.start=this.getPosition(c[0][2]),m.prop="";c.length;){let g=c[0][0];if(g===":"||g==="space"||g==="comment")break;m.prop+=c.shift()[1];}m.raws.between="";let f;for(;c.length;)if(f=c.shift(),f[0]===":"){m.raws.between+=f[1];break}else f[0]==="word"&&/\w/.test(f[1])&&this.unknownWord([f]),m.raws.between+=f[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let v=[],y;for(;c.length&&(y=c[0][0],!(y!=="space"&&y!=="comment"));)v.push(c.shift());this.precheckMissedSemicolon(c);for(let g=c.length-1;g>=0;g--){if(f=c[g],f[1].toLowerCase()==="!important"){m.important=!0;let b=this.stringFrom(c,g);b=this.spacesFromEnd(c)+b,b!==" !important"&&(m.raws.important=b);break}else if(f[1].toLowerCase()==="important"){let b=c.slice(0),x="";for(let S=g;S>0;S--){let C=b[S][0];if(x.trim().indexOf("!")===0&&C!=="space")break;x=b.pop()[1]+x;}x.trim().indexOf("!")===0&&(m.important=!0,m.raws.important=x,c=b);}if(f[0]!=="space"&&f[0]!=="comment")break}c.some(g=>g[0]!=="space"&&g[0]!=="comment")&&(m.raws.between+=v.map(g=>g[1]).join(""),v=[]),this.raw(m,"value",v.concat(c),d),m.value.includes(":")&&!d&&this.checkMissedSemicolon(c);}atrule(c){let d=new n;d.name=c[1].slice(1),d.name===""&&this.unnamedAtrule(d,c),this.init(d,c[2]);let m,p,f,v=!1,y=!1,g=[],b=[];for(;!this.tokenizer.endOfFile();){if(c=this.tokenizer.nextToken(),m=c[0],m==="("||m==="["?b.push(m==="("?")":"]"):m==="{"&&b.length>0?b.push("}"):m===b[b.length-1]&&b.pop(),b.length===0)if(m===";"){d.source.end=this.getPosition(c[2]),this.semicolon=!0;break}else if(m==="{"){y=!0;break}else if(m==="}"){if(g.length>0){for(f=g.length-1,p=g[f];p&&p[0]==="space";)p=g[--f];p&&(d.source.end=this.getPosition(p[3]||p[2]));}this.end(c);break}else g.push(c);else g.push(c);if(this.tokenizer.endOfFile()){v=!0;break}}d.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(d.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(d,"params",g),v&&(c=g[g.length-1],d.source.end=this.getPosition(c[3]||c[2]),this.spaces=d.raws.between,d.raws.between="")):(d.raws.afterName="",d.params=""),y&&(d.nodes=[],this.current=d);}end(c){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(c[2]),this.current=this.current.parent):this.unexpectedClose(c);}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;}freeSemicolon(c){if(this.spaces+=c[1],this.current.nodes){let d=this.current.nodes[this.current.nodes.length-1];d&&d.type==="rule"&&!d.raws.ownSemicolon&&(d.raws.ownSemicolon=this.spaces,this.spaces="");}}getPosition(c){let d=this.input.fromOffset(c);
53return {offset:c,line:d.line,column:d.col}}init(c,d){this.current.push(c),c.source={start:this.getPosition(d),input:this.input},c.raws.before=this.spaces,this.spaces="",c.type!=="comment"&&(this.semicolon=!1);}raw(c,d,m,p){let f,v,y=m.length,g="",b=!0,x,S;for(let C=0;C<y;C+=1)f=m[C],v=f[0],v==="space"&&C===y-1&&!p?b=!1:v==="comment"?(S=m[C-1]?m[C-1][0]:"empty",x=m[C+1]?m[C+1][0]:"empty",!l[S]&&!l[x]?g.slice(-1)===","?b=!1:g+=f[1]:b=!1):g+=f[1];if(!b){let C=m.reduce((P,T)=>P+T[1],"");c.raws[d]={value:g,raw:C};}c[d]=g;}spacesAndCommentsFromEnd(c){let d,m="";for(;c.length&&(d=c[c.length-1][0],!(d!=="space"&&d!=="comment"));)m=c.pop()[1]+m;return m}spacesAndCommentsFromStart(c){let d,m="";for(;c.length&&(d=c[0][0],!(d!=="space"&&d!=="comment"));)m+=c.shift()[1];return m}spacesFromEnd(c){let d,m="";for(;c.length&&(d=c[c.length-1][0],d==="space");)m=c.pop()[1]+m;return m}stringFrom(c,d){let m="";for(let p=d;p<c.length;p++)m+=c[p][1];return c.splice(d,c.length-d),m}colon(c){let d=0,m,p,f;for(let[v,y]of c.entries()){if(m=y,p=m[0],p==="("&&(d+=1),p===")"&&(d-=1),d===0&&p===":")if(!f)this.doubleColon(m);else {if(f[0]==="word"&&f[1]==="progid")continue;return v}f=m;}return !1}unclosedBracket(c){throw this.input.error("Unclosed bracket",{offset:c[2]},{offset:c[2]+1})}unknownWord(c){throw this.input.error("Unknown word",{offset:c[0][2]},{offset:c[0][2]+c[0][1].length})}unexpectedClose(c){throw this.input.error("Unexpected }",{offset:c[2]},{offset:c[2]+1})}unclosedBlock(){let c=this.current.source.start;throw this.input.error("Unclosed block",c.line,c.column)}doubleColon(c){throw this.input.error("Double colon",{offset:c[2]},{offset:c[2]+c[1].length})}unnamedAtrule(c,d){throw this.input.error("At-rule without name",{offset:d[2]},{offset:d[2]+d[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(c){let d=this.colon(c);if(d===!1)return;let m=0,p;for(let f=d-1;f>=0&&(p=c[f],!(p[0]!=="space"&&(m+=1,m===2)));f--);throw this.input.error("Missed semicolon",p[0]==="word"?p[3]+1:p[2])}};e.exports=u;}),pe=et((t,e)=>{var r=pr(),i=s=>{let n=`walk${s.name}`;n.lastIndexOf("s")!==n.length-1&&(n+="s"),!r.prototype[n]&&(r.prototype[n]=function(a){return this.walkType(s,a)});};r.prototype.walkType=function(s,n){if(!s||!n)throw new Error("Parameters {type} and {callback} are required.");let a=typeof s=="function";return this.walk((o,l)=>{if(a&&o instanceof s||!a&&o.type===s)return n.call(this,o,l)})},e.exports={registerWalker:i};}),cr=et((t,e)=>{var r=rs();e.exports=class oa extends r{static stringify(s,n){new oa(n).stringify(s);}basic(s,n){let a=n||s.value,o=s.raws.after&&this.raw(s,"after")||"";this.builder(a,s,"start"),this.builder(o,s,"end");}atword(...s){this.atrule(...s);}comment(s){if(s.inline){let n=this.raw(s,"left","commentLeft"),a=this.raw(s,"right","commentRight");this.builder(`//${n}${s.text}${a}`,s);}else super.comment(s);}func(s){let n=this.raw(s,"after")||"";this.builder(`${s.name}(`,s,"start");for(let a of s.nodes){let o=a.raws.before?this.raw(a,"before"):"";o&&this.builder(o),this.stringify(a);}this.builder(`)${n}`,s,"end");}interpolation(s){this.basic(s,s.prefix+s.params);}numeric(s){let n=s.value+s.unit;this.basic(s,n);}operator(s){this.basic(s);}punctuation(s){this.basic(s);}quoted(s){this.basic(s);}unicodeRange(s){this.basic(s);}word(s){this.basic(s);}};}),Sh=et((t,e)=>{var r=hr(),{registerWalker:i}=pe(),{stringify:s}=cr(),n=class extends r{toString(a=s){return super.toString(a)}};i(n),e.exports=n;}),wh=et((t,e)=>{var r=is(),{stringify:i}=cr(),s=/(\/\/)/,n=class extends r{static testInline(a){return s.test(a[1])}static tokenizeNext(a,o){let[l]=a,h=a.findIndex(f=>/\n/.test(f[1])),u=a,c=[];h>=0&&(u=a.slice(0,h),c=a.slice(h)),u=u.map(f=>f[1]);let d=u.concat("~~").join(""),m=u[u.length-1],p=["comment",d,l[2],l[3],m[2],m[3]];o.back([p,...c]);}static tokenizeInline(a,o){let[l,...h]=a,u=l[1].split(/(\/\/.+)/).filter(v=>!!v),c=[],[,,d,,m]=l,[,,,p,,f]=l;for(let v of u){let y=v.slice(0,2)==="//",g=y?"comment":"word";y&&(v+="~~"),v!==u[0]&&(p=f+1),f=p+v.length-1,c.push([g,v,d,p,m,f]);}o.back(c.concat(h));}toString(a=i){return super.toString(a)}};e.exports=n;}),la=et((t,e)=>{var r=ia(),i=aa(),s=["*","-","%","+","/"],n=/([*/])/g,a=(c,d)=>{let[,,m,p,f,v]=c,y=c[1].slice(1,c[1].length-1),g=l(y);for(let x of g)if(x[0]!=="space"){let S=x[5]-x[3];x[2]=m,x[3]+=p,x[4]+=f-1,x[5]=x[3]+S;}let b=[["(","(",m,p,m,p],...g];b.push([")",")",m,v,f,v]);for(let x of b.reverse())d.back(x);},o=(c,d)=>{let m=c[1].split(/([,])/),p=[],[,,f,,v]=c,[,,,y,,g]=c;for(let b of m){b=b||",";let x=b===","?"comma":"word";b!==m[0]&&(y=g+1),g=y+b.length-1,p.push([x,b,f,y,v,g]);}for(let b of p.reverse())d.back(b);},l=c=>{let d=new r(c,{}),m=u(d),p=[];for(;!m.endOfFile();){let f=m.nextToken();p.push(f);}return p},h=(c,d)=>{let[,m,p,,f,v]=c,y=m.split(n),[,,,g]=c,b=y.map(x=>{let S=[s.includes(x)?"operator":"word",x,p,g,f,v];return g+=x.length,S});for(let x of b.reverse())d.back(x);},u=(...c)=>{let d=i(...c),m=d.nextToken;return d.nextToken=(...p)=>{let f=m(...p);if(!f)return f;let[v,y]=f;return v==="brackets"?(a(f,d),f=m(...p)):v==="word"&&(s.includes(y)?f[0]="operator":n.test(y)?(h(f,d),f=m(...p)):y.length>1&&y.includes(",")&&(o(f,d),f=m(...p))),f},d};e.exports={getTokens:l,tokenizer:u};}),ha=et((t,e)=>{var r=pr(),{stringify:i}=cr(),s=class extends r{toString(n=i){return super.toString(n)}};e.exports=s;}),He=et((t,e)=>{var r=hr(),{stringify:i}=cr(),s=class extends r{toString(n=i){return super.toString(n||{})}};e.exports=s;}),pa=et((t,e)=>{var{getTokens:r}=la(),{registerWalker:i}
53=pe(),s=He(),n=class extends s{constructor(a){super(a),this.type="punctuation";}static get chars(){return [",",":","(",")","[","]","{","}"]}static fromTokens(a,o){o.fromFirst(a,n);}static tokenizeBrackets(a,o){let[l,...h]=a,u=l[1].split(/([()])/g).filter(v=>!!v),c=[],[,,d,,m]=l,[,,,p,,f]=l;for(let v of u){let y=v==="("?"(":v===")"?")":"word";if(/^\s+$/.test(v)&&(y="space"),v!==u[0]&&(p=f+1),f=p+v.length-1,y==="word"){let g=r(v);for(let b of g)b[3]+=p-1,c.push(b);}else c.push([y,v,d,p,m,f]);}o.back(c.concat(h));}static tokenizeCommas(a,o){let[l,...h]=a,u=l[1].split(/([,])/g).filter(v=>!!v),c=[],[,,d,,m]=l,[,,,p,,f]=l;for(let v of u)v!==u[0]&&(p=f+1),f=p+v.length-1,c.push(["word",v,d,p,m,f]);o.back(c.concat(h));}};i(n),e.exports=n;}),kh=et((t,e)=>{var{getTokens:r}=la(),{registerWalker:i}=pe(),s=ha(),n=pa(),a=["annotation","attr","blur","brightness","calc","character-variant","circle","contrast","cubic-bezier","dir","drop-shadow","element","ellipse","grayscale","hsl","hsla","hue-rotate","image","inset","invert","lang","linear-gradient","matrix","matrix3d","minmax","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","opacity","ornaments","perspective","polygon","radial-gradient","rect","repeat","repeating-linear-gradient","repeating-radial-gradient","rgb","rgba","rotate","rotatex","rotatey","rotatez","rotate3d","saturate","scale","scalex","scaley","scalez","scale3d","sepia","skew","skewx","skewy","steps","styleset","stylistic","swash","symbols","translate","translatex","translatey","translatez","translate3d","url","var"],o=["-webkit-","-moz-","-ms-","-o-"],l=new RegExp(`^(${o.join("|")})?(${a.join("|")})`,"i"),h=new RegExp(`^(\\${n.chars.join("|\\")})`),u=/^(hsla?|hwb|lab|lch|rgba?)$/i,c=/^var$/i,d=/^--[^\s]+$/,m=class extends s{constructor(p={}){super(p),this.type="func",this.isColor=!1,this.isVar=!1,this.name=p.name||"",this.nodes||(this.nodes=[]);}static test(p){return p.length>1&&p[0][0]==="word"&&!h.test(p[0][1])&&(p[1][0]==="brackets"||p[1][0]==="(")}static fromTokens(p,f){let[[,,v,y]]=p,[g,b]=p.splice(0,2),x=new m({name:g[1]}),S=0,C=1,P=b;if(!l.test(x.name)&&!/^[a-zA-Z\-\.]+$/.test(x.name)){let j=r(x.name);p.unshift(...j,b),f.back(p);return}f.init(x,v,y),f.current=x,b[0]==="brackets"&&(C=b[1].match(/[(]/g).length-1);let T=[];for(let j of p)S<C?(j[1]===")"?S+=1:j[1]==="("&&(C+=1),b[1]+=j[1],P=j):T.push(j);S!==C&&f.unclosedBracket(b),[,x.params]=b;let V=b[1].slice(1,-1);if(V.length){let j=f.options;x.name==="url"&&(j=Object.assign({},f.options,{ignoreUnknownWords:!0})),j.parentNode=x;let{parse:q}=ss(),F=q(V,j),{nodes:U}=F;for(let A of U)x.push(A);F.raws.after&&(x.last.raws.after=F.raws.after);}f.end(P),f.back(T);let{lastNode:$}=f,{nodes:R}=x;$.isColor=u.test($.name),$.isVar=c.test($.name)&&R.length&&d.test(R[0].value);}};i(m),e.exports=m;}),_h=et((t,e)=>{var{registerWalker:r}=pe(),i=ha(),s=class extends i{constructor(n={}){super(n),this.type="interpolation",this.prefix=n.prefix||"",this.nodes||(this.nodes=[]);}static test(n,a){let{prefix:o}=a.options.interpolation,[l,h]=n;return n.length>1&&l[0]==="word"&&o===l[1]&&h[0]==="{"}static fromTokens(n,a){let[[,,o,l]]=n,[h]=n.splice(0,2),[,u]=h,c=new s({prefix:u}),d=[],m=!1,p,f="{";a.init(c,o,l),a.current=c;for(let y of n)m?d.push(y):(y[1]==="}"&&(m=!0),f+=y[1],p=y);m||a.unclosedBracket(h),c.params=f;let v=f.slice(1,-1);if(v.length){let{parse:y}=ss(),{nodes:g}=y(v,a.options);for(let b of g)c.push(b);}a.end(p),a.back(d);}};r(s),e.exports=s;}),Ch=et((t,e)=>{var{registerWalker:r}=pe(),i=He(),s=/^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)$/,n=/^(-?(?:[-A-Z_a-z]|[^\x00-\x7F]|\\[^\n\f\r])(?:[-\w]|[^\x00-\x7F]|\\[^\n\f\r])*|%)$/,a=new RegExp(`^${s.source.slice(1,-1)+n.source.slice(1,-1)}?$`),o=class extends i{constructor(l={}){super(l),this.type="numeric",this.unit=l.unit||"";}static fromTokens(l,h){h.fromFirst(l,o);let[[,u]]=l,[,c,d=""]=u.match(a),{lastNode:m}=h;m.unit=d,m.value=c;}static test(l){return a.test(l)}};r(o),e.exports=o;}),Ph=et((t,e)=>{var{registerWalker:r}=pe(),i=He(),s=["+","-","/","*","%","=","<=",">=","<",">"],n=new RegExp("([/|*}])"),a=/^[*/]\b/,o=class extends i{constructor(l){super(l),this.type="operator";}static get chars(){return s}static fromTokens(l,h){h.fromFirst(l,o);}static get regex(){return n}static test(l,h){let[u]=l,[,c]=u,{lastNode:d}=h;return d&&d.type==="func"&&a.test(c)}static tokenize(l,h){let[u,...c]=l,[,d,m,,p,f]=u,v=d.split(n).filter(b=>!!b),[,,,y]=u,g=v.map(b=>{let x=["word",b,m,y,p,f];return y+=b.length,x});h.back(g.concat(c));}};r(o),e.exports=o;}),Eh=et(t=>{var e=t.single=function(i){return "'"+i.replace(/\\|'/g,function(s){return "\\"+s})+"'"},r=t.double=function(i){return '"'+i.replace(/\\|"/g,function(s){return "\\"+s})+'"'};t.quote=function(i){return /'/.test(i)?r(i):e(i)},t.unquote=function(i){var s=i[0],n=s==="'";return i.substring(1,i.length-1).replace(/\\\\/g,"\\").replace(n?/\\'/g:/\\"/g,s)};}),Ah=et((t,e)=>{var{unquote:r}=Eh(),{registerWalker:i}
53=pe(),s=He(),n=class extends s{constructor(a){super(a),this.type="quoted",a&&a.value&&(this.contents=r(a.value),[this.quote]=a.value);}static fromTokens(a,o){o.fromFirst(a,n);}};i(n),e.exports=n;}),Th=et((t,e)=>{var{registerWalker:r}=pe(),i=He(),s=class extends i{constructor(n){super(n),this.type="unicodeRange";}static fromTokens(n,a){a.fromFirst(n,s);}static test(n){return /U\+(\d|\w)+(-\w+)?(\?+)?/.test(n)}};r(s),e.exports=s;}),Mh=et((t,e)=>{e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}),Dh=et((t,e)=>{e.exports=r=>{if(typeof r!="string")throw new TypeError("Expected a string");try{return new URL(r),!0}catch{return !1}};}),Fh=et((t,e)=>{var r=Mh(),i=Dh(),{registerWalker:s}=pe(),n=He(),a=/^\\(.+)/,o=/^#(.+)/,l=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,h=Object.keys(r),u=class extends n{constructor(c){super(c),this.type="word",this.isColor=!1,this.isHex=!1,this.isUrl=!1,this.isVariable=!1;}static fromTokens(c,d){d.fromFirst(c,u);let{lastNode:m}=d,{value:p}=m;m.isColor=l.test(p)||h.includes(p.toLowerCase()),m.isHex=o.test(p),m.isUrl=p.startsWith("//")?i(`http:${p}`):i(p),m.isVariable=u.testVariable(c[0],d);}static testEscaped(c){let[d,m]=c,[p,f]=d;return p==="word"&&(a.test(f)||f==="\\"&&m&&!/^\s+$/.test(m[1]))}static testHex(c){let[d,m]=c;return d==="word"&&o.test(m)}static testVariable(c,d){let[m,p]=c,{prefixes:f}=d.options.variables,v=new RegExp(`^(${f.join("|")})`);return m==="word"&&v.test(p)}static testWord(c,d){let[m]=c;return u.testEscaped(c)||u.testHex(m)||u.testVariable(m,d)}};s(u),e.exports=u;}),Ih=et((t,e)=>{var r=xh(),i=Sh(),s=wh(),n=kh(),a=_h(),o=Ch(),l=Ph(),h=pa(),u=Ah(),c=Th(),d=Fh(),m={ignoreUnknownWords:!1,interpolation:!1,parentNode:null,variables:{prefixes:["--"]}};e.exports=class extends r{constructor(p,f={}){super(p),this.lastNode=null,this.options=Object.assign({},m,f),this.parentNode=this.options.parentNode;}back(p){for(let f of p.reverse())this.tokenizer.back(f);}comment(p){super.comment(p);let f=s.testInline(p),v=this.lastNode;v.inline=f,Object.setPrototypeOf(v,s.prototype);}fromFirst(p,f){let[v]=p,[,y,g,b]=v,x=new f({value:y});this.init(x,g,b),this.current=x,this.end(v),this.back(p.slice(1));}init(p,f,v){super.init(p,f,v),this.lastNode=p;}other(p){let f=[],v=[],y=p,g=null,b=null;for(;y;)[g]=y,v.push(y),g==="("||g==="["?(b||(b=y),f.push(g==="("?")":"]")):g===f[f.length-1]&&(f.pop(),f.length===0&&(b=null)),y=this.tokenizer.nextToken();f.length>0&&this.unclosedBracket(b),this.unknownWord(v);}parse(){let p;for(;!this.tokenizer.endOfFile();)switch(p=this.tokenizer.nextToken(),p[0]){case"space":this.spaces+=p[1];break;case"comment":this.comment(p);break;case"at-word":this.atrule(p),Object.setPrototypeOf(this.lastNode,i.prototype),this.lastNode.type="atword";break;default:this.other(p);break}this.endFile();}unknownWord(p){let[f]=p,[v,y]=f;if(h.chars.includes(v))h.fromTokens(p,this);else if(v==="word"&&l.test(p,this))l.fromTokens(p,this);else if(n.test(p))n.fromTokens(p,this);else if(this.options.interpolation&&a.test(p,this))a.fromTokens(p,this);else if(v==="brackets")h.tokenizeBrackets(p,this);else if(v==="comma")h.fromTokens(p,this);else if(v==="operator")l.fromTokens(p,this);else if(v==="string")u.fromTokens(p,this);else if(v==="word")if(y===",")h.fromTokens(p,this);else if(y==="//")s.tokenizeNext(p,this);else if(s.testInline(f)){let{parentNode:g}=this;
vendor: 6,369 bytes, line 53
53g&&g.type==="func"&&g.name==="url"?d.fromTokens(p,this):s.tokenizeInline(p,this);}else y.includes(",")?h.tokenizeCommas(p,this):d.testWord(p,this)?d.fromTokens(p,this):o.test(y)?o.fromTokens(p,this):c.test(y)?c.fromTokens(p,this):l.chars.includes(y)?l.fromTokens(p,this):/^[\w-]+$/.test(y)?d.fromTokens(p,this):l.regex.test(y)?l.tokenize(p,this):this.options.ignoreUnknownWords?d.fromTokens(p,this):super.unknownWord(p);else super.unknownWord(p);}};}),ss=et((t,e)=>{var r=ia(),i=Ih(),{stringify:s}=cr();e.exports={parse(n,a){let o=new r(n,a),l=new i(o,a);l.parse();let{root:h}=l,u=h.toString;function c(d){return u.bind(h)(d||e.exports.stringify)}return h.toString=c.bind(h),l.root},stringify:s,nodeToString(n){let a="";return e.exports.stringify(n,o=>{a+=o;}),a}};}),Lh=et(t=>{var e=e||{};e.stringify=function(){var r={"visit_linear-gradient":function(i){return r.visit_gradient(i)},"visit_repeating-linear-gradient":function(i){return r.visit_gradient(i)},"visit_radial-gradient":function(i){return r.visit_gradient(i)},"visit_repeating-radial-gradient":function(i){return r.visit_gradient(i)},visit_gradient:function(i){var s=r.visit(i.orientation);return s&&(s+=", "),i.type+"("+s+r.visit(i.colorStops)+")"},visit_shape:function(i){var s=i.value,n=r.visit(i.at),a=r.visit(i.style);return a&&(s+=" "+a),n&&(s+=" at "+n),s},"visit_default-radial":function(i){var s="",n=r.visit(i.at);return n&&(s+=n),s},"visit_extent-keyword":function(i){var s=i.value,n=r.visit(i.at);return n&&(s+=" at "+n),s},"visit_position-keyword":function(i){return i.value},visit_position:function(i){return r.visit(i.value.x)+" "+r.visit(i.value.y)},"visit_%":function(i){return i.value+"%"},visit_em:function(i){return i.value+"em"},visit_px:function(i){return i.value+"px"},visit_literal:function(i){return r.visit_color(i.value,i)},visit_hex:function(i){return r.visit_color("#"+i.value,i)},visit_rgb:function(i){return r.visit_color("rgb("+i.value.join(", ")+")",i)},visit_rgba:function(i){return r.visit_color("rgba("+i.value.join(", ")+")",i)},visit_color:function(i,s){var n=i,a=r.visit(s.length);return a&&(n+=" "+a),n},visit_angular:function(i){return i.value+"deg"},visit_directional:function(i){return "to "+i.value},visit_array:function(i){var s="",n=i.length;return i.forEach(function(a,o){s+=r.visit(a),o<n-1&&(s+=", ");}),s},visit:function(i){if(!i)return "";var s="";if(i instanceof Array)return r.visit_array(i,s);if(i.type){var n=r["visit_"+i.type];if(n)return n(i);throw Error("Missing visitor visit_"+i.type)}else throw Error("Invalid node.")}};return function(i){return r.visit(i)}}();var e=e||{};e.parse=function(){var r={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},i="";function s(E){var L=new Error(i+": "+E);throw L.source=i,L}function n(){var E=a();return i.length>0&&s("Invalid input not EOF"),E}function a(){return S(o)}function o(){return l("linear-gradient",r.linearGradient,u)||l("repeating-linear-gradient",r.repeatingLinearGradient,u)||l("radial-gradient",r.radialGradient,m)||l("repeating-radial-gradient",r.repeatingRadialGradient,m)}function l(E,L,I){return h(L,function(X){var Y=I();return Y&&(M(r.comma)||s("Missing comma before color stops")),{type:E,orientation:Y,colorStops:S(C)}})}function h(E,L){var I=M(E);if(I){M(r.startCall)||s("Missing (");var X=L(I);return M(r.endCall)||s("Missing )"),X}}function u(){return c()||d()}function c(){return A("directional",r.sideOrCorner,1)}function d(){return A("angular",r.angleValue,1)}function m(){var E,L=p(),I;return L&&(E=[],E.push(L),I=i,M(r.comma)&&(L=p(),L?E.push(L):i=I)),E}function p(){var E=f()||v();if(E)E.at=g();else {var L=y();if(L){E=L;var I=g();I&&(E.at=I);}else {var X=b();X&&(E={type:"default-radial",at:X});}}return E}function f(){var E=A("shape",/^(circle)/i,0);return E&&(E.style=U()||y()),E}function v(){var E=A("shape",/^(ellipse)/i,0);return E&&(E.style=q()||y()),E}function y(){return A("extent-keyword",r.extentKeywords,1)}function g(){if(A("position",/^at/,0)){var E=b();return E||s("Missing positioning value"),E}}function b(){var E=x();if(E.x||E.y)return {type:"position",value:E}}function x(){return {x:q(),y:q()}}function S(E){var L=E(),I=[];if(L)for(I.push(L);M(r.comma);)L=E(),L?I.push(L):s("One extra comma");return I}function C(){var E=P();return E||s("Expected color definition"),E.length=q(),E}function P(){return V()||R()||$()||T()}function T(){return A("literal",r.literalColor,0)}function V(){return A("hex",r.hexColor,1)}function $(){return h(r.rgbColor,function(){return {type:"rgb",value:S(j)}})}function R(){return h(r.rgbaColor,function(){return {type:"rgba",value:S(j)}})}function j(){return M(r.number)[1]}function q(){return A("%",r.percentageValue,1)||F()||U()}function F(){return A("position-keyword",r.positionKeywords,1)}function U(){return A("px",r.pixelValue,1)||A("em",r.emValue,1)}function A(E,L,I){var X=M(L);if(X)return {type:E,value:X[I]}}function M(E){var L,I;return I=/^[\n\r\t\s]+/.exec(i),I&&_(I[0].length),L=E.exec(i),L&&_(L[0].length),L}function _(E){i=i.substr(E);}return function(E){return i=E.toString(),n()}}(),t.parse=e.parse,t.stringify=e.stringify;}),ca=et((t,e)=>{var r=200,i="__lodash_hash_undefined__",s=800,n=16,a=9007199254740991,o="[object Arguments]",l="[object Array]",h="[object AsyncFunction]",u="[object Boolean]",c="[object Date]",d="[object Error]",m="[object Function]",p="[object GeneratorFunction]",f="[object Map]",v="[object Number]",y="[object Null]",g="[object Object]",b="[object Proxy]",x="[object RegExp]",S="[object Set]",C="[object String]",P="[object Undef
53ined]",T="[object WeakMap]",V="[object ArrayBuffer]",$="[object DataView]",R="[object Float32Array]",j="[object Float64Array]",q="[object Int8Array]",F="[object Int16Array]",U="[object Int32Array]",A="[object Uint8Array]",M="[object Uint8ClampedArray]",_="[object Uint16Array]",E="[object Uint32Array]",L=/[\\^$.*+?()[\]{}|]/g,I=/^\[object .+?Constructor\]$/,X=/^(?:0|[1-9]\d*)$/,Y={};Y[R]=Y[j]=Y[q]=Y[F]=Y[U]=Y[A]=Y[M]=Y[_]=Y[E]=!0,Y[o]=Y[l]=Y[V]=Y[u]=Y[$]=Y[c]=Y[d]=Y[m]=Y[f]=Y[v]=Y[g]=Y[x]=Y[S]=Y[C]=Y[T]=!1;var H=typeof global=="object"&&global&&global.Object===Object&&global,G=typeof self=="object"&&self&&self.Object===Object&&self,Q=H||G||Function("return this")(),rt=typeof t=="object"&&t&&!t.nodeType&&t,st=rt&&typeof e=="object"&&e&&!e.nodeType&&e,ut=st&&st.exports===rt,dt=ut&&H.process,ot=function(){try{var D=st&&st.require&&st.require("util").types;return D||dt&&dt.binding&&dt.binding("util")}catch{}}(),ht=ot&&ot.isTypedArray;function nt(D,O,N){switch(N.length){case 0:return D.call(O);case 1:return D.call(O,N[0]);case 2:return D.call(O,N[0],N[1]);case 3:return D.call(O,N[0],N[1],N[2])}return D.apply(O,N)}function tt(D,O){for(var N=-1,it=Array(D);++N<D;)it[N]=O(N);return it}function It(D){return function(O){return D(O)}}function $t(D,O){return D?.[O]}function Bt(D,O){return function(N){return D(O(N))}}var Lt=Array.prototype,wt=Function.prototype,At=Object.prototype,pt=Q["__core-js_shared__"],J=wt.toString,K=At.hasOwnProperty,at=function(){var D=/[^.]+$/.exec(pt&&pt.keys&&pt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),ft=At.toString,Pt=J.call(Object),te=RegExp("^"+J.call(K).replace(L,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=ut?Q.Buffer:void 0,be=Q.Symbol,xe=Q.Uint8Array,_s=ne?ne.allocUnsafe:void 0,Cs=Bt(Object.getPrototypeOf,Object),Ps=Object.create,to=At.propertyIsEnumerable,eo=Lt.splice,Se=be?be.toStringTag:void 0,vr=function(){try{var D=ri(Object,"defineProperty");return D({},"",{}),D}catch{}}(),ro=ne?ne.isBuffer:void 0,Es=Math.max,io=Date.now,As=ri(Q,"Map"),Je=ri(Object,"create"),so=function(){function D(){}return function(O){if(!ke(O))return {};if(Ps)return Ps(O);D.prototype=O;var N=new D;return D.prototype=void 0,N}}();function we(D){var O=-1,N=D==null?0:D.length;for(this.clear();++O<N;){var it=D[O];this.set(it[0],it[1]);}}
vendor: 6,565 bytes, line 53
53function no(){this.__data__=Je?Je(null):{},this.size=0;}function ao(D){var O=this.has(D)&&delete this.__data__[D];return this.size-=O?1:0,O}function oo(D){var O=this.__data__;if(Je){var N=O[D];return N===i?void 0:N}return K.call(O,D)?O[D]:void 0}function lo(D){var O=this.__data__;return Je?O[D]!==void 0:K.call(O,D)}function ho(D,O){var N=this.__data__;return this.size+=this.has(D)?0:1,N[D]=Je&&O===void 0?i:O,this}we.prototype.clear=no,we.prototype.delete=ao,we.prototype.get=oo,we.prototype.has=lo,we.prototype.set=ho;function ae(D){var O=-1,N=D==null?0:D.length;for(this.clear();++O<N;){var it=D[O];this.set(it[0],it[1]);}}function po(){this.__data__=[],this.size=0;}function co(D){var O=this.__data__,N=br(O,D);if(N<0)return !1;var it=O.length-1;return N==it?O.pop():eo.call(O,N,1),--this.size,!0}function fo(D){var O=this.__data__,N=br(O,D);return N<0?void 0:O[N][1]}function uo(D){return br(this.__data__,D)>-1}function mo(D,O){var N=this.__data__,it=br(N,D);return it<0?(++this.size,N.push([D,O])):N[it][1]=O,this}ae.prototype.clear=po,ae.prototype.delete=co,ae.prototype.get=fo,ae.prototype.has=uo,ae.prototype.set=mo;function Ve(D){var O=-1,N=D==null?0:D.length;for(this.clear();++O<N;){var it=D[O];this.set(it[0],it[1]);}}function yo(){this.size=0,this.__data__={hash:new we,map:new(As||ae),string:new we};}function go(D){var O=Sr(this,D).delete(D);return this.size-=O?1:0,O}function vo(D){return Sr(this,D).get(D)}function bo(D){return Sr(this,D).has(D)}function xo(D,O){var N=Sr(this,D),it=N.size;return N.set(D,O),this.size+=N.size==it?0:1,this}Ve.prototype.clear=yo,Ve.prototype.delete=go,Ve.prototype.get=vo,Ve.prototype.has=bo,Ve.prototype.set=xo;function Re(D){var O=this.__data__=new ae(D);this.size=O.size;}function So(){this.__data__=new ae,this.size=0;}function wo(D){var O=this.__data__,N=O.delete(D);return this.size=O.size,N}function ko(D){return this.__data__.get(D)}function _o(D){return this.__data__.has(D)}function Co(D,O){var N=this.__data__;if(N instanceof ae){var it=N.__data__;if(!As||it.length<r-1)return it.push([D,O]),this.size=++N.size,this;N=this.__data__=new Ve(it);}return N.set(D,O),this.size=N.size,this}Re.prototype.clear=So,Re.prototype.delete=wo,Re.prototype.get=ko,Re.prototype.has=_o,Re.prototype.set=Co;function Po(D,O){var N=ni(D),it=!N&&si(D),yt=!N&&!it&&Is(D),xt=!N&&!it&&!yt&&Os(D),kt=N||it||yt||xt,mt=kt?tt(D.length,String):[],_t=mt.length;for(var Kt in D)(O||K.call(D,Kt))&&!(kt&&(Kt=="length"||yt&&(Kt=="offset"||Kt=="parent")||xt&&(Kt=="buffer"||Kt=="byteLength"||Kt=="byteOffset")||Ds(Kt,_t)))&&mt.push(Kt);return mt}function ti(D,O,N){(N!==void 0&&!wr(D[O],N)||N===void 0&&!(O in D))&&ei(D,O,N);}function Eo(D,O,N){var it=D[O];(!(K.call(D,O)&&wr(it,N))||N===void 0&&!(O in D))&&ei(D,O,N);}function br(D,O){for(var N=D.length;N--;)if(wr(D[N][0],O))return N;return -1}function ei(D,O,N){O=="__proto__"&&vr?vr(D,O,{configurable:!0,enumerable:!0,value:N,writable:!0}):D[O]=N;}var Ao=$o();function xr(D){return D==null?D===void 0?P:y:Se&&Se in Object(D)?jo(D):Jo(D)}function Ts(D){return Ke(D)&&xr(D)==o}function To(D){if(!ke(D)||Uo(D))return !1;var O=oi(D)?te:I;return O.test(Xo(D))}function Mo(D){return Ke(D)&&Ls(D.length)&&!!Y[xr(D)]}function Do(D){if(!ke(D))return Wo(D);var O=Fs(D),N=[];for(var it in D)it=="constructor"&&(O||!K.call(D,it))||N.push(it);return N}function Ms(D,O,N,it,yt){D!==O&&Ao(O,function(xt,kt){if(yt||(yt=new Re),ke(xt))Fo(D,O,kt,N,Ms,it,yt);else {var mt=it?it(ii(D,kt),xt,kt+"",D,O,yt):void 0;mt===void 0&&(mt=xt),ti(D,kt,mt);}},Vs);}function Fo(D,O,N,it,yt,xt,kt){var mt=ii(D,N),_t=ii(O,N),Kt=kt.get(_t);if(Kt){ti(D,N,Kt);return}var qt=xt?xt(mt,_t,N+"",D,O,kt):void 0,Ye=qt===void 0;if(Ye){var li=ni(_t),hi=!li&&Is(_t),Bs=!li&&!hi&&Os(_t);qt=_t,li||hi||Bs?ni(mt)?qt=mt:Qo(mt)?qt=Bo(mt):hi?(Ye=!1,qt=Oo(_t,!0)):Bs?(Ye=!1,qt=Ro(_t,!0)):qt=[]:tl(_t)||si(_t)?(qt=mt,si(mt)?qt=el(mt):(!ke(mt)||oi(mt))&&(qt=Go(_t))):Ye=!1;}Ye&&(kt.set(_t,qt),yt(qt,_t,it,xt,kt),kt.delete(_t)),ti(D,N,qt);}function Io(D,O){return Yo(Ko(D,O,Rs),D+"")}var Lo=vr?function(D,O){return vr(D,"toString",{configurable:!0,enumerable:!1,value:il(O),writable:!0})}:Rs;function Oo(D,O){if(O)return D.slice();var N=D.length,it=_s?_s(N):new D.constructor(N);return D.copy(it),it}function Vo(D){var O=new D.constructor(D.byteLength);return new xe(O).set(new xe(D)),O}function Ro(D,O){var N=O?Vo(D.buffer):D.buffer;return new D.constructor(N,D.byteOffset,D.length)}function Bo(D,O){var N=-1,it=D.length;for(O||(O=Array(it));++N<it;)O[N]=D[N];return O}function zo(D,O,N,it){var yt=!N;N||(N={});for(var xt=-1,kt=O.length;++xt<kt;){var mt=O[xt],_t=it?it(N[mt],D[mt],mt,N,D):void 0;_t===void 0&&(_t=D[mt]),yt?ei(N,mt,_t):Eo(N,mt,_t);}return N}function No(D){return Io(function(O,N){var it=-1,yt=N.length,xt=yt>1?N[yt-1]:void 0,kt=yt>2?N[2]:void 0;for(xt=D.length>3&&typeof xt=="function"?(yt--,xt):void 0,kt&&Ho(N[0],N[1],kt)&&(xt=yt<3?void 0:xt,yt=1),O=Object(O);++it<yt;){var mt=N[it];mt&&D(O,mt,it,xt);}return O})}function $o(D){return function(O,N,it){for(var yt=-1,xt=Object(O),kt=it(O),mt=kt.length;mt--;){var _t=kt[D?mt:++yt];if(N(xt[_t],_t,xt)===!1)break}return O}}function Sr(D,O){var N=D.__data__;return qo(O)?N[typeof O=="string"?"string":"hash"]:N.map}function ri(D,O){var N=$t(D,O);return To(N)?N:void 0}function jo(D){var O=K.call(D,Se),N=D[Se];try{D[Se]=void 0;var it=!0;}catch{}var yt=ft.call(D);return it&&(O?D[Se]=N:delete D[Se]),yt}function Go(D){return typeof D.constructor=="function"&&!Fs(D)?so(Cs(D)):{}}function Ds(D,O){var N=typeof D;return O=O??a,!!O&&(N=="number"||N!="symbol"&&X.test(D))&&D>-1&&D%1==0&&D<O}function Ho(D,O,N){if(!ke(N))return !1;var it=typeof O;return (it=="number"?ai(N)&&Ds(O,N.length):it=="string"&&O in N)?wr(N[O],D):!1}function qo(D){var O=typeof D;return O=="string"||O=="number"||O=="symbol"||O=="boolean"?D!=="__proto__":D===null}function Uo(D){return !!at&&at in D}function Fs(D){var O=D&&D.constructor,N=typeof O=="function"&&O.prototype||At;return D===N}function Wo(D){var O=[];if(D!=null)for(var N in Object(D))O.push(N);return O}function Jo(D){return ft.call(D)}function Ko(D,O,N){return O=Es(O===void 0?D.length-1:O,0),function(){for(var it=arguments,yt=-1,xt=Es(it.length-O,0),kt=Array(xt);++yt<xt;)kt[yt]=it[O+yt];yt=-1;for(var mt=Array(O+1);++yt<O;)mt[yt]=it[yt];return mt[O]=N(kt),nt(D,this,mt)}}function ii(D,O){if(!(O==="constructor"&&typeof D[O]=="function")&&O!="__proto__")return D[O]}var Yo=Zo(Lo);function Zo(D){var O=0,N=0;return function(){var it=io(),yt=n-(it-N);if(N=it,yt>0){if(++O>=s)return arguments[0]}else O=0;return D.apply(void 0,arguments)}}
53function Xo(D){if(D!=null){try{return J.call(D)}catch{}try{return D+""}catch{}}return ""}function wr(D,O){return D===O||D!==D&&O!==O}var si=Ts(function(){return arguments}())?Ts:function(D){return Ke(D)&&K.call(D,"callee")&&!to.call(D,"callee")},ni=Array.isArray;function ai(D){return D!=null&&Ls(D.length)&&!oi(D)}function Qo(D){return Ke(D)&&ai(D)}var Is=ro||sl;function oi(D){if(!ke(D))return !1;var O=xr(D);return O==m||O==p||O==h||O==b}function Ls(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=a}function ke(D){var O=typeof D;return D!=null&&(O=="object"||O=="function")}function Ke(D){return D!=null&&typeof D=="object"}function tl(D){if(!Ke(D)||xr(D)!=g)return !1;var O=Cs(D);if(O===null)return !0;var N=K.call(O,"constructor")&&O.constructor;return typeof N=="function"&&N instanceof N&&J.call(N)==Pt}var Os=ht?It(ht):Mo;function el(D){return zo(D,Vs(D))}function Vs(D){return ai(D)?Po(D,!0):Do(D)}var rl=No(function(D,O,N){Ms(D,O,N);});function il(D){return function(){return D}}function Rs(D){return D}function sl(){return !1}e.exports=rl;}),Oh=et(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e="[",r="]",i="{",s="}",n=":",a=",",o="true",l="false",h="null",u='"',c=new Map([["t",o],["f",l],["n",h]]),d=new Map([[u,u],["\\","\\"],["/","/"],["b","\b"],["n",`
54`],["f","\f"],["r","\r"],["t","	"]]),m=new Map([[e,"Punctuator"],[r,"Punctuator"],[i,"Punctuator"],[s,"Punctuator"],[n,"Punctuator"],[a,"Punctuator"],[o,"Boolean"],[l,"Boolean"],[h,"Null"]]),p=class extends Error{constructor(G,{line:Q,column:rt,index:st}){super(`${G} (${Q}:${rt})`),this.line=Q,this.column=rt,this.index=st;}},f=class extends p{constructor(G,Q){super(`Unexpected character ${G} found.`,Q);}},v=class extends p{constructor(G){super(`Unexpected token ${G.type}(${G.value}) found.`,G.loc.start);}},y=class extends p{constructor(G){super("Unexpected end of input found.",G);}},g='"',b="/",x="*",S={comments:!1,ranges:!1};function C(G){return /[\s\n]/.test(G)}function P(G){return G>="0"&&G<="9"}function T(G){return P(G)||/[a-f]/i.test(G)}function V(G){return G>="1"&&G<="9"}function $(G){return /[tfn]/.test(G)}function R(G){return P(G)||G==="."||G==="-"}function j(G,Q){Q=Object.freeze({...S,...Q});let rt=-1,st=1,ut=0,dt=!1,ot=[];function ht(J,K,at,ft){let Pt=at.offset+K.length,te=Q.ranges?{range:[at.offset,Pt]}:void 0;return {type:J,value:K,loc:{start:at,end:ft||{line:at.line,column:at.column+K.length,offset:Pt}},...te}}function nt(){let J=G.charAt(++rt);return dt?(st++,ut=1,dt=!1):ut++,J==="\r"?(dt=!0,G.charAt(rt+1)===`
55`&&rt++):J===`
56`&&(dt=!0),J}function tt(){return {line:st,column:ut,offset:rt}}function It(J){let K=c.get(J);if(G.slice(rt,rt+K.length)===K)return rt+=K.length-1,ut+=K.length-1,{value:K,c:nt()};for(let at=1;at<K.length;at++)K[at]!==G.charAt(rt+at)&&wt(nt());}function $t(J){let K=J;for(J=nt();J&&J!==g;){if(J==="\\")if(K+=J,J=nt(),d.has(J))K+=J;else if(J==="u"){K+=J;for(let at=0;at<4;at++)J=nt(),T(J)?K+=J:wt(J);}else wt(J);else K+=J;J=nt();}return J||At(),K+=J,{value:K,c:nt()}}function Bt(J){let K="";if(J==="-"&&(K+=J,J=nt(),P(J)||wt(J)),J==="0")K+=J,J=nt(),P(J)&&wt(J);else {V(J)||wt(J);do K+=J,J=nt();while(P(J))}if(J===".")do K+=J,J=nt();while(P(J));if(J==="e"||J==="E")for(K+=J,J=nt(),(J==="+"||J==="-")&&(K+=J,J=nt());P(J);)K+=J,J=nt();return {value:K,c:J}}function Lt(J){let K=J;if(J=nt(),J==="/"){do K+=J,J=nt();while(J&&J!=="\r"&&J!==`
57`);return {value:K,c:J}}if(J===x){for(;J;)if(K+=J,J=nt(),J===x&&(K+=J,J=nt(),J===b))return K+=J,J=nt(),{value:K,c:J};At();}wt(J);}function wt(J){throw new f(J,tt())}function At(){throw new y(tt())}let pt=nt();for(;rt<G.length;){for(;C(pt);)pt=nt();if(!pt)break;let J=tt();if(m.has(pt))ot.push(ht(m.get(pt),pt,J)),pt=nt();else if($(pt)){let K=It(pt),at=K.value;pt=K.c,ot.push(ht(m.get(at),at,J));}else if(R(pt)){let K=Bt(pt),at=K.value;pt=K.c,ot.push(ht("Number",at,J));}else if(pt===g){let K=$t(pt),at=K.value;pt=K.c,ot.push(ht("String",at,J));}else if(pt===b&&Q.comments){let K=Lt(pt),at=K.value;pt=K.c,ot.push(ht(at.startsWith("//")?"LineComment":"BlockComment",at,J,tt()));}else wt(pt);}return ot}var q={document(G,Q={}){return {type:"Document",body:G,...Q}},string(G,Q={}){return {type:"String",value:G,...Q}},number(G,Q={}){return {type:"Number",value:G,...Q}},boolean(G,Q={}){return {type:"Boolean",value:G,...Q}},null(G={}){return {type:"Null",value:"null",...G}},array(G,Q={}){return {type:"Array",elements:G,...Q}},object(G,Q={}){return {type:"Object",members:G,...Q}},member(G,Q,rt={}){return {type:"Member",name:G,value:Q,...rt}}},F={tokens:!1,comments:!1,ranges:!1};function U(G){let Q=G.value.slice(1,-1),rt="",st=Q.indexOf("\\"),ut=0;for(;st>=0;){rt+=Q.slice(ut,st);let dt=Q.charAt(st+1);if(d.has(dt))rt+=d.get(dt),ut=st+2;else if(dt==="u"){let ot=Q.slice(st+2,st+6);if(ot.length<4||/[^0-9a-f]/i.test(ot))throw new p(`Invalid unicode escape \\u${ot}.`,{line:G.loc.start.line,column:G.loc.start.column+st,offset:G.loc.start.offset+st});rt+=String.fromCharCode(parseInt(ot,16)),ut=st+6;}else throw new p(`Invalid escape \\${dt}.`,{line:G.loc.start.line,column:G.loc.start.column+st,offset:G.loc.start.offset+st});st=Q.indexOf("\\",ut);}return rt+=Q.slice(ut),rt}function A(G){switch(G.type){case"Boolean":return G.value==="true";case"Number":return Number(G.value);case"Null":return null;case"String":return U(G)}}function M(G,Q){Q=Object.freeze({...F,...Q});let rt=j(G,{comments:!!Q.comments,ranges:!!Q.ranges}),st=0;function ut(){return rt[st++]}function dt(){let K=rt[st++];return K&&K.type.endsWith("Comment")?dt():K}let ot=Q.comments?dt:ut;function ht(K,at){if(!K||K.value!==at)throw new v(K)}function nt(K,at){if(!K||K.type!==at)throw new v(K)}function tt(K,at){return Q.ranges?{range:[K.offset,at.offset]}:void 0}function It(K){let at=tt(K.loc.start,K.loc.end);return {type:K.type,value:A(K),loc:{start:{...K.loc.start},end:{...K.loc.end}},...at}}function $t(K){nt(K,"String");let at=It(K);K=ot(),ht(K,":");let ft=wt(),Pt=tt(at.loc.start,ft.loc.end);return q.member(at,ft,{loc:{start:{...at.loc.start},end:{...ft.loc.end}},...Pt})}function Bt(K){ht(K,"{");let at=[],ft=ot();if(ft&&ft.value!=="}")do if(at.push($t(ft)),ft=ot(),ft.value===",")ft=ot();else break;while(ft);ht(ft,"}");let Pt=tt(K.loc.start,ft.loc.end);return q.object(at,{loc:{start:{...K.loc.start},end:{...ft.loc.end}},...Pt})}function Lt(K){ht(K,"[");let at=[],ft=ot();if(ft&&ft.value!=="]")do if(at.push(wt(ft)),ft=ot(),ft.value===",")ft=ot();else break;while(ft);ht(ft,"]");let Pt=tt(K.loc.start,ft.loc.end);return q.array(at,{type:"Array",elements:at,loc:{start:{...K.loc.start},end:{...ft.loc.end}},...Pt})}function wt(K){switch(K=K||ot(),K.type){case"String":case"Boolean":case"Number":case"Null":return It(K);case"Punctuator":if(K.value==="{")return Bt(K);if(K.value==="[")return Lt(K);default:throw new v(K)}}let At=wt(),pt=ot();if(pt)throw new v(pt);let J={loc:{start:{line:1,column:1,offset:0},end:{...At.loc.end}}};return Q.tokens&&(J.tokens=rt),Q.ranges&&(J.range=tt(J.loc.start,J.loc.end)),q.document(At,J)}var _=new Map([["Document",["body"]],["Object",["members"]],["Member",["name","value"]],["Array",["elements"]],["String",[]],["Number",[]],["Boolean",[]],["Null",[]]]);function E(G){return G&&typeof G=="object"}function L(G){return E(G)&&typeof G.type=="string"}function I(G,Q){function rt(st,ut){typeof Q.enter=="function"&&Q.enter(st,ut);for(let dt of _.get(st.type)){let ot=st[dt];E(ot)&&(Array.isArray(ot)?ot.forEach(ht=>rt(ht,st)):L(ot)&&rt(ot,st));}typeof Q.exit=="function"&&Q.exit(st,ut);}rt(G);}function X(G,Q=()=>!0){let rt=[];return I(G,{enter(st,ut){rt.push({node:st,parent:ut,phase:"enter"});},exit(st,ut){rt.push({node:st,parent:ut,phase:"exit"});}}),rt.filter(Q).values()}function Y(G){switch(G.type){case"String":case"Number":case"Boolean":return G.value;case"Null":return null;case"Array":return G.elements.map(Y);case"Object":{let Q={};
vendor: 8,631 bytes, line 57
57return G.members.forEach(rt=>{Q[Y(rt.name)]=Y(rt.value);}),Q}case"Document":return Y(G.body);case"Property":throw new Error("Cannot evaluate object property outside of an object.");default:throw new Error(`Unknown node type ${G.type}.`)}}function H(G,{indent:Q=0}={}){let rt=Y(G);return JSON.stringify(rt,null,Q)}t.evaluate=Y,t.iterator=X,t.parse=M,t.print=H,t.tokenize=j,t.traverse=I,t.types=q;}),fa=et((t,e)=>{e.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)};}),Vh=et((t,e)=>{var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(u){return typeof Array.isArray=="function"?Array.isArray(u):i.call(u)==="[object Array]"},o=function(u){if(!u||i.call(u)!=="[object Object]")return !1;var c=r.call(u,"constructor"),d=u.constructor&&u.constructor.prototype&&r.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!c&&!d)return !1;var m;for(m in u);return typeof m>"u"||r.call(u,m)},l=function(u,c){s&&c.name==="__proto__"?s(u,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):u[c.name]=c.newValue;},h=function(u,c){if(c==="__proto__")if(r.call(u,c)){if(n)return n(u,c).value}else return;return u[c]};e.exports=function u(){var c,d,m,p,f,v,y=arguments[0],g=1,b=arguments.length,x=!1;for(typeof y=="boolean"&&(x=y,y=arguments[1]||{},g=2),(y==null||typeof y!="object"&&typeof y!="function")&&(y={});g<b;++g)if(c=arguments[g],c!=null)for(d in c)m=h(y,d),p=h(c,d),y!==p&&(x&&p&&(o(p)||(f=a(p)))?(f?(f=!1,v=m&&a(m)?m:[]):v=m&&o(m)?m:{},l(y,{name:d,newValue:u(x,v,p)})):typeof p<"u"&&l(y,{name:d,newValue:p}));return y};}),Rh=et((exports,module)=>{typeof navigator<"u"&&function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.lottie=e());}(exports,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t;},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t;},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 n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e.prototype[n]=s[n]);}}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(e){this.audios.push(e);},pause:function(){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].pause();},resume:function(){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].resume();},setRate:function(e){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].setRate(e);},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0;},seek:function(){this.isPlaying=!1;},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e;},setVolume:function(e){this._volume=e,this._updateVolume();},mute:function(){this._isMuted=!0,this._updateVolume();},unmute:function(){this._isMuted=!1,this._updateVolume();},getVolume:function(){return this._volume},_updateVolume:function(){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1));}},function(){return new t}}(),createTypedArray=function(){function t(r,i){var s=0,n=[],a;switch(r){case"int16":case"uint8c":a=1;break;default:a=1.1;break}for(s=0;s<i;s+=1)n.push(a);return n}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){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(e){return typeof e}:_typeof$6=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_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,n,a,o,l,h,u;switch(a=Math.floor(t*6),o=t*6-a,l=r*(1-e),h=r*(1-o*e),u=r*(1-(1-o)*e),a%6){case 0:i=r,s=u,n=l;break;case 1:i=h,s=r,n=l;break;case 2:i=l,s=r,n=u;break;case 3:i=l,s=h,n=r;break;case 4:i=u,s=l,n=r;break;case 5:i=r,s=l,n=h;break}return [i,s,n]}function RGBtoHSV(t,e,r){var i=Math.max(t,e,r),s=Math.min(t,e,r),n=i-s,a,o=i===0?0:n/i,l=i/255;switch(i){case s:a=0;break;case t:a=e-r+n*(e<r?6:0),a/=6*n;break;case e:a=r-t+n*2,a/=6*n;break;case r:a=t-e+n*4,a/=6*n;break}return [a,o,l]}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,n){return i<0&&(i=0),s<0&&(s=0),n<0&&(n=0),"#"+t[i]+t[s]+t[n]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t;},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t;},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t;},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t;},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t;};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(e){return typeof e}:_typeof$5=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,s={onmessage:function(){},postMessage:function(d){r({data:d});}},n={postMessage:function(d){s.onmessage({data:d});}};
vendor: 20,864 bytes, lines 57-58
57function a(d){if(window.Worker&&window.Blob&&getWebWorker()){var m=new Blob(["var _workerSelf = self; self.onmessage = ",d.toString()],{type:"text/javascript"}),p=URL.createObjectURL(m);return new Worker(p)}return r=d,s}function o(){i||(i=a(function(d){function m(){function f(F,U){var A,M,_=F.length,E,L,I,X;for(M=0;M<_;M+=1)if(A=F[M],"ks"in A&&!A.completed){if(A.completed=!0,A.hasMask){var Y=A.masksProperties;for(L=Y.length,E=0;E<L;E+=1)if(Y[E].pt.k.i)x(Y[E].pt.k);else for(X=Y[E].pt.k.length,I=0;I<X;I+=1)Y[E].pt.k[I].s&&x(Y[E].pt.k[I].s[0]),Y[E].pt.k[I].e&&x(Y[E].pt.k[I].e[0]);}A.ty===0?(A.layers=g(A.refId,U),f(A.layers,U)):A.ty===4?b(A.shapes):A.ty===5&&j(A);}}function v(F,U){if(F){var A=0,M=F.length;for(A=0;A<M;A+=1)F[A].t===1&&(F[A].data.layers=g(F[A].data.refId,U),f(F[A].data.layers,U));}}function y(F,U){for(var A=0,M=U.length;A<M;){if(U[A].id===F)return U[A];A+=1;}return null}function g(F,U){var A=y(F,U);return A?A.layers.__used?JSON.parse(JSON.stringify(A.layers)):(A.layers.__used=!0,A.layers):null}function b(F){var U,A=F.length,M,_;for(U=A-1;U>=0;U-=1)if(F[U].ty==="sh")if(F[U].ks.k.i)x(F[U].ks.k);else for(_=F[U].ks.k.length,M=0;M<_;M+=1)F[U].ks.k[M].s&&x(F[U].ks.k[M].s[0]),F[U].ks.k[M].e&&x(F[U].ks.k[M].e[0]);else F[U].ty==="gr"&&b(F[U].it);}function x(F){var U,A=F.i.length;for(U=0;U<A;U+=1)F.i[U][0]+=F.v[U][0],F.i[U][1]+=F.v[U][1],F.o[U][0]+=F.v[U][0],F.o[U][1]+=F.v[U][1];}function S(F,U){var A=U?U.split("."):[100,100,100];return F[0]>A[0]?!0:A[0]>F[0]?!1:F[1]>A[1]?!0:A[1]>F[1]?!1:F[2]>A[2]?!0:A[2]>F[2]?!1:null}var C=function(){var F=[4,4,14];function U(M){var _=M.t.d;M.t.d={k:[{s:_,t:0}]};}function A(M){var _,E=M.length;for(_=0;_<E;_+=1)M[_].ty===5&&U(M[_]);}return function(M){if(S(F,M.v)&&(A(M.layers),M.assets)){var _,E=M.assets.length;for(_=0;_<E;_+=1)M.assets[_].layers&&A(M.assets[_].layers);}}}(),P=function(){var F=[4,7,99];return function(U){if(U.chars&&!S(F,U.v)){var A,M=U.chars.length;for(A=0;A<M;A+=1){var _=U.chars[A];_.data&&_.data.shapes&&(b(_.data.shapes),_.data.ip=0,_.data.op=99999,_.data.st=0,_.data.sr=1,_.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},U.chars[A].t||(_.data.shapes.push({ty:"no"}),_.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})));}}}}(),T=function(){var F=[5,7,15];function U(M){var _=M.t.p;typeof _.a=="number"&&(_.a={a:0,k:_.a}),typeof _.p=="number"&&(_.p={a:0,k:_.p}),typeof _.r=="number"&&(_.r={a:0,k:_.r});}function A(M){var _,E=M.length;for(_=0;_<E;_+=1)M[_].ty===5&&U(M[_]);}return function(M){if(S(F,M.v)&&(A(M.layers),M.assets)){var _,E=M.assets.length;for(_=0;_<E;_+=1)M.assets[_].layers&&A(M.assets[_].layers);}}}(),V=function(){var F=[4,1,9];function U(M){var _,E=M.length,L,I;for(_=0;_<E;_+=1)if(M[_].ty==="gr")U(M[_].it);else if(M[_].ty==="fl"||M[_].ty==="st")if(M[_].c.k&&M[_].c.k[0].i)for(I=M[_].c.k.length,L=0;L<I;L+=1)M[_].c.k[L].s&&(M[_].c.k[L].s[0]/=255,M[_].c.k[L].s[1]/=255,M[_].c.k[L].s[2]/=255,M[_].c.k[L].s[3]/=255),M[_].c.k[L].e&&(M[_].c.k[L].e[0]/=255,M[_].c.k[L].e[1]/=255,M[_].c.k[L].e[2]/=255,M[_].c.k[L].e[3]/=255);else M[_].c.k[0]/=255,M[_].c.k[1]/=255,M[_].c.k[2]/=255,M[_].c.k[3]/=255;}function A(M){var _,E=M.length;for(_=0;_<E;_+=1)M[_].ty===4&&U(M[_].shapes);}return function(M){if(S(F,M.v)&&(A(M.layers),M.assets)){var _,E=M.assets.length;for(_=0;_<E;_+=1)M.assets[_].layers&&A(M.assets[_].layers);}}}(),$=function(){var F=[4,4,18];function U(M){var _,E=M.length,L,I;for(_=E-1;_>=0;_-=1)if(M[_].ty==="sh")if(M[_].ks.k.i)M[_].ks.k.c=M[_].closed;else for(I=M[_].ks.k.length,L=0;L<I;L+=1)M[_].ks.k[L].s&&(M[_].ks.k[L].s[0].c=M[_].closed),M[_].ks.k[L].e&&(M[_].ks.k[L].e[0].c=M[_].closed);else M[_].ty==="gr"&&U(M[_].it);}function A(M){var _,E,L=M.length,I,X,Y,H;for(E=0;E<L;E+=1){if(_=M[E],_.hasMask){var G=_.masksProperties;for(X=G.length,I=0;I<X;I+=1)if(G[I].pt.k.i)G[I].pt.k.c=G[I].cl;else for(H=G[I].pt.k.length,Y=0;Y<H;Y+=1)G[I].pt.k[Y].s&&(G[I].pt.k[Y].s[0].c=G[I].cl),G[I].pt.k[Y].e&&(G[I].pt.k[Y].e[0].c=G[I].cl);}_.ty===4&&U(_.shapes);}}return function(M){if(S(F,M.v)&&(A(M.layers),M.assets)){var _,E=M.assets.length;for(_=0;_<E;_+=1)M.assets[_].layers&&A(M.assets[_].layers);}}}();function R(F){F.__complete||(V(F),C(F),P(F),T(F),$(F),f(F.layers,F.assets),v(F.chars,F.assets),F.__complete=!0);}function j(F){F.t.a.length===0&&"m"in F.t.p;}var q={};return q.completeData=R,q.checkColors=V,q.checkChars=P,q.checkPathProperties=T,q.checkShapes=$,q.completeLayers=f,q}if(n.dataManager||(n.dataManager=m()),n.assetLoader||(n.assetLoader=function(){function f(y){var g=y.getResponseHeader("content-type");return g&&y.responseType==="json"&&g.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function v(y,g,b,x){var S,C=new XMLHttpRequest;try{C.responseType="json";}catch{}C.onreadystatechange=function(){if(C.readyState===4)if(C.status===200)S=f(C),b(S);else try{S=f(C),b(S);}catch(P){x&&x(P);}};try{C.open(["G","E","T"].join(""),y,!0);}catch{C.open(["G","E","T"].join(""),g+"/"+y,!0);}C.send();}return {load:v}}()),d.data.type==="loadAnimation")n.assetLoader.load(d.data.path,d.data.fullPath,function(f){n.dataManager.completeData(f),n.postMessage({id:d.data.id,payload:f,status:"success"});},function(){n.postMessage({id:d.data.id,status:"error"});});else if(d.data.type==="complete"){var p=d.data.animation;n.dataManager.completeData(p),n.postMessage({id:d.data.id,payload:p,status:"success"});}else d.data.type==="loadData"&&n.assetLoader.load(d.data.path,d.data.fullPath,function(f){n.postMessage({id:d.data.id,payload:f,status:"success"});},function(){n.postMessage({id:d.data.id,status:"error"});});}),i.onmessage=function(d){var m=d.data,p=m.id,f=e[p];e[p]=null,m.status==="success"?f.onComplete(m.payload):f.onError&&f.onError();});}function l(d,m){t+=1;var p="processId_"+t;return e[p]={onComplete:d,onError:m},p}function h(d,m,p){o();var f=l(m,p);i.postMessage({type:"loadAnimation",path:d,fullPath:window.location.origin+window.location.pathname,id:f});}function u(d,m,p){o();var f=l(m,p);i.postMessage({type:"loadData",path:d,fullPath:window.location.origin+window.location.pathname,id:f});}function c(d,m,p){o();var f=l(m,p);i.postMessage({type:"complete",animation:d,id:f});}return {loadAnimation:h,loadData:u,completeAnimation:c}}(),ImagePreloader=function(){var t=function(){var y=createTag("canvas");y.width=1,y.height=1;var g=y.getContext("2d");return g.fillStyle="rgba(0,0,0,0)",g.fillRect(0,0,1,1),y}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function i(y,g,b){var x="";if(y.e)x=y.p;else if(g){var S=y.p;S.indexOf("images/")!==-1&&(S=S.split("/")[1]),x=g+S;}else x=b,x+=y.u?y.u:"",x+=y.p;return x}function s(y){var g=0,b=setInterval(function(){var x=y.getBBox();(x.width||g>500)&&(this._imageLoaded(),clearInterval(b)),g+=1;}.bind(this),50);}function n(y){var g=i(y,this.assetsPath,this.path),b=createNS("image");isSafari?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",function(){x.img=t,this._imageLoaded();}.bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",g),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var x={img:b,assetData:y};return x}function a(y){var g=i(y,this.assetsPath,this.path),b=createTag("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",function(){x.img=t,this._imageLoaded();}.bind(this),!1),b.src=g;var x={img:b,assetData:y};return x}function o(y){var g={assetData:y},b=i(y,this.assetsPath,this.path);return dataManager.loadData(b,function(x){g.img=x,this._footageLoaded();}.bind(this),function(){g.img={},this._footageLoaded();}.bind(this)),g}function l(y,g){this.imagesLoadedCb=g;var b,x=y.length;for(b=0;b<x;b+=1)y[b].layers||(!y[b].t||y[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[b]))):y[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[b]))));}function h(y){this.path=y||"";}function u(y){this.assetsPath=y||"";}function c(y){for(var g=0,b=this.images.length;g<b;){if(this.images[g].assetData===y)return this.images[g].img;g+=1;}return null}function d(){this.imagesLoadedCb=null,this.images.length=0;}function m(){return this.totalImages===this.loadedAssets}function p(){return this.totalFootages===this.loadedFootagesCount}function f(y,g){y==="svg"?(this._elementHelper=g,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this);}function v(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[];}return v.prototype={loadAssets:l,setAssetsPath:u,setPath:h,loadedImages:m,loadedFootages:p,destroy:d,getAsset:c,createImgData:a,createImageData:n,imageLoaded:e,footageLoaded:r,setCacheType:f},v}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i<r.length;i+=1)r[i](e);},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e);}.bind(this)},removeEventListener:function(t,e){if(!e)this._cbs[t]=null;else if(this._cbs[t]){for(var r=0,i=this._cbs[t].length;r<i;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null);}}};var markerParser=function(){function t(e){for(var r=e.split(`\r
58`),i={},s,n=0,a=0;a<r.length;a+=1)s=r[a].split(":"),s.length===2&&(i[s[0]]=s[1].trim(),n+=1);if(n===0)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var s=e[i],n={time:s.tm,duration:s.dr};try{n.payload=JSON.parse(e[i].cm);}catch{try{n.payload=t(e[i].cm);}catch{n.payload={name:e[i].cm};}}r.push(n);}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(t,e){renderers[t]=e;};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){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(e){return typeof e}:_typeof$4=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_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 n=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=n!=="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 a=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:"";a==="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,n,a=s.length;for(n=0;n<a;n+=1)for(r=0;r<i;){if(e[r].id===s[n].id){e[r]=s[n];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
vendor: 6,319 bytes, line 58
58.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{}},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,
vendor: 67,931 bytes, line 58
58s=0,n=!0,a=!1;function o(A){for(var M=0,_=A.target;M<i;)e[M].animation===_&&(e.splice(M,1),M-=1,i-=1,_.isPaused||c()),M+=1;}function l(A,M){if(!A)return null;for(var _=0;_<i;){if(e[_].elem===A&&e[_].elem!==null)return e[_].animation;_+=1;}var E=new AnimationItem;return d(E,A),E.setData(A,M),E}function h(){var A,M=e.length,_=[];for(A=0;A<M;A+=1)_.push(e[A].animation);return _}function u(){s+=1,$();}function c(){s-=1;}function d(A,M){A.addEventListener("destroy",o),A.addEventListener("_active",u),A.addEventListener("_idle",c),e.push({elem:M,animation:A}),i+=1;}function m(A){var M=new AnimationItem;return d(M,null),M.setParams(A),M}function p(A,M){var _;for(_=0;_<i;_+=1)e[_].animation.setSpeed(A,M);}function f(A,M){var _;for(_=0;_<i;_+=1)e[_].animation.setDirection(A,M);}function v(A){var M;for(M=0;M<i;M+=1)e[M].animation.play(A);}function y(A){var M=A-r,_;for(_=0;_<i;_+=1)e[_].animation.advanceTime(M);r=A,s&&!a?window.requestAnimationFrame(y):n=!0;}function g(A){r=A,window.requestAnimationFrame(y);}function b(A){var M;for(M=0;M<i;M+=1)e[M].animation.pause(A);}function x(A,M,_){var E;for(E=0;E<i;E+=1)e[E].animation.goToAndStop(A,M,_);}function S(A){var M;for(M=0;M<i;M+=1)e[M].animation.stop(A);}function C(A){var M;for(M=0;M<i;M+=1)e[M].animation.togglePause(A);}function P(A){var M;for(M=i-1;M>=0;M-=1)e[M].animation.destroy(A);}function T(A,M,_){var E=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),L,I=E.length;for(L=0;L<I;L+=1)_&&E[L].setAttribute("data-bm-type",_),l(E[L],A);if(M&&I===0){_||(_="svg");var X=document.getElementsByTagName("body")[0];X.innerText="";var Y=createTag("div");Y.style.width="100%",Y.style.height="100%",Y.setAttribute("data-bm-type",_),X.appendChild(Y),l(Y,A);}}function V(){var A;for(A=0;A<i;A+=1)e[A].animation.resize();}function $(){!a&&s&&n&&(window.requestAnimationFrame(g),n=!1);}function R(){a=!0;}function j(){a=!1,$();}function q(A,M){var _;for(_=0;_<i;_+=1)e[_].animation.setVolume(A,M);}function F(A){var M;for(M=0;M<i;M+=1)e[M].animation.mute(A);}function U(A){var M;for(M=0;M<i;M+=1)e[M].animation.unmute(A);}return t.registerAnimation=l,t.loadAnimation=m,t.setSpeed=p,t.setDirection=f,t.play=v,t.pause=b,t.stop=S,t.togglePause=C,t.searchAnimations=T,t.resize=V,t.goToAndStop=x,t.destroy=P,t.freeze=R,t.unfreeze=j,t.setVolume=q,t.mute=F,t.unmute=U,t.getRegisteredAnimations=h,t}(),BezierFactory=function(){var t={};t.getBezierEasing=r;var e={};function r(g,b,x,S,C){var P=C||("bez_"+g+"_"+b+"_"+x+"_"+S).replace(/\./g,"p");if(e[P])return e[P];var T=new y([g,b,x,S]);return e[P]=T,T}var i=4,s=.001,n=1e-7,a=10,o=11,l=1/(o-1),h=typeof Float32Array=="function";function u(g,b){return 1-3*b+3*g}function c(g,b){return 3*b-6*g}function d(g){return 3*g}function m(g,b,x){return ((u(b,x)*g+c(b,x))*g+d(b))*g}function p(g,b,x){return 3*u(b,x)*g*g+2*c(b,x)*g+d(b)}function f(g,b,x,S,C){var P,T,V=0;do T=b+(x-b)/2,P=m(T,S,C)-g,P>0?x=T:b=T;while(Math.abs(P)>n&&++V<a);return T}function v(g,b,x,S){for(var C=0;C<i;++C){var P=p(b,x,S);if(P===0)return b;var T=m(b,x,S)-g;b-=T/P;}return b}function y(g){this._p=g,this._mSampleValues=h?new Float32Array(o):new Array(o),this._precomputed=!1,this.get=this.get.bind(this);}return y.prototype={get:function(g){var b=this._p[0],x=this._p[1],S=this._p[2],C=this._p[3];return this._precomputed||this._precompute(),b===x&&S===C?g:g===0?0:g===1?1:m(this._getTForX(g),x,C)},_precompute:function(){var g=this._p[0],b=this._p[1],x=this._p[2],S=this._p[3];this._precomputed=!0,(g!==b||x!==S)&&this._calcSampleValues();},_calcSampleValues:function(){for(var g=this._p[0],b=this._p[2],x=0;x<o;++x)this._mSampleValues[x]=m(x*l,g,b);},_getTForX:function(g){for(var b=this._p[0],x=this._p[2],S=this._mSampleValues,C=0,P=1,T=o-1;P!==T&&S[P]<=g;++P)C+=l;--P;var V=(g-S[P])/(S[P+1]-S[P]),$=C+V*l,R=p($,b,x);return R>=s?v(g,$,b,x):R===0?$:f(g,C,C+l,b,x)}},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,n=createSizedArray(s),a={newElement:o,release:l};function o(){var h;return i?(i-=1,h=n[i]):h=e(),h}function l(h){i===s&&(n=pooling.double(n),s*=2),r&&r(h),n[i]=h,i+=1;}return a}}(),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(d,m,p,f,v,y){var g=d*f+m*v+p*y-v*f-y*d-p*m;return g>-.001&&g<.001}function r(d,m,p,f,v,y,g,b,x){if(p===0&&y===0&&x===0)return e(d,m,f,v,g,b);var S=t.sqrt(t.pow(f-d,2)+t.pow(v-m,2)+t.pow(y-p,2)),C=t.sqrt(t.pow(g-d,2)+t.pow(b-m,2)+t.pow(x-p,2)),P=t.sqrt(t.pow(g-f,2)+t.pow(b-v,2)+t.pow(x-y,2)),T;return S>C?S>P?T=S-C-P:T=P-C-S:P>C?T=P-C-S:T=C-S-P,T>-1e-4&&T<1e-4}var i=function(){return function(d,m,p,f){var v=getDefaultCurveSegments(),y,g,b,x,S,C=0,P,T=[],V=[],$=bezierLengthPool.newElement();for(b=p.length,y=0;y<v;y+=1){for(S=y/(v-1),P=0,g=0;g<b;g+=1)x=bmPow(1-S,3)*d[g]+3*bmPow(1-S,2)*S*p[g]+3*(1-S)*bmPow(S,2)*f[g]+bmPow(S,3)*m[g],T[g]=x,V[g]!==null&&(P+=bmPow(T[g]-V[g],2)),V[g]=T[g];P&&(P=bmSqrt(P),C+=P),$.percents[y]=S,$.lengths[y]=C;}return $.addedLength=C,$}}();function s(d){var m=segmentsLengthPool.newElement(),p=d.c,f=d.v,v=d.o,y=d.i,g,b=d._length,x=m.lengths,S=0;for(g=0;g<b-1;g+=1)x[g]=i(f[g],f[g+1],v[g],y[g+1]),S+=x[g].addedLength;return p&&b&&(x[g]=i(f[g],f[0],v[g],y[0]),S+=x[g].addedLength),m.totalLength=S,m}function n(d){this.segmentLength=0,this.points=new Array(d);}function a(d,m){this.partialLength=d,this.point=m;}var o=function(){var d={};return function(m,p,f,v){var y=(m[0]+"_"+m[1]+"_"+p[0]+"_"+p[1]+"_"+f[0]+"_"+f[1]+"_"+v[0]+"_"+v[1]).replace(/\./g,"p");if(!d[y]){var g=getDefaultCurveSegments(),b,x,S,C,P,T=0,V,$,R=null;m.length===2&&(m[0]!==p[0]||m[1]!==p[1])&&e(m[0],m[1],p[0],p[1],m[0]+f[0],m[1]+f[1])&&e(m[0],m[1],p[0],p[1],p[0]+v[0],p[1]+v[1])&&(g=2);var j=new n(g);for(S=f.length,b=0;b<g;b+=1){for($=createSizedArray(S),P=b/(g-1),V=0,x=0;x<S;x+=1)C=bmPow(1-P,3)*m[x]+3*bmPow(1-P,2)*P*(m[x]+f[x])+3*(1-P)*bmPow(P,2)*(p[x]+v[x])+bmPow(P,3)*p[x],$[x]=C,R!==null&&(V+=bmPow($[x]-R[x],2));V=bmSqrt(V),T+=V,j.points[b]=new a(V,$),R=$;}j.segmentLength=T,d[y]=j;}return d[y]}}();function l(d,m){var p=m.percents,f=m.lengths,v=p.length,y=bmFloor((v-1)*d),g=d*m.addedLength,b=0;if(y===v-1||y===0||g===f[y])return p[y];for(var x=f[y]>g?-1:1,S=!0;S;)if(f[y]<=g&&f[y+1]>g?(b=(g-f[y])/(f[y+1]-f[y]),S=!1):y+=x,y<0||y>=v-1){if(y===v-1)return p[y];S=!1;}return p[y]+(p[y+1]-p[y])*b}function h(d,m,p,f,v,y){var g=l(v,y),b=1-g,x=t.round((b*b*b*d[0]+(g*b*b+b*g*b+b*b*g)*p[0]+(g*g*b+b*g*g+g*b*g)*f[0]+g*g*g*m[0])*1e3)/1e3,S=t.round((b*b*b*d[1]+(g*b*b+b*g*b+b*b*g)*p[1]+(g*g*b+b*g*g+g*b*g)*f[1]+g*g*g*m[1])*1e3)/1e3;return [x,S]}var u=createTypedArray("float32",8);function c(d,m,p,f,v,y,g){v<0?v=0:v>1&&(v=1);var b=l(v,g);y=y>1?1:y;var x=l(y,g),S,C=d.length,P=1-b,T=1-x,V=P*P*P,$=b*P*P*3,R=b*b*P*3,j=b*b*b,q=P*P*T,F=b*P*T+P*b*T+P*P*x,U=b*b*T+P*b*x+b*P*x,A=b*b*x,M=P*T*T,_=b*T*T+P*x*T+P*T*x,E=b*x*T+P*x*x+b*T*x,L=b*x*x,I=T*T*T,X=x*T*T+T*x*T+T*T*x,Y=x*x*T+T*x*x+x*T*x,H=x*x*x;for(S=0;S<C;S+=1)u[S*4]=t.round((V*d[S]+$*p[S]+R*f[S]+j*m[S])*1e3)/1e3,u[S*4+1]=t.round((q*d[S]+F*p[S]+U*f[S]+A*m[S])*1e3)/1e3,u[S*4+2]=t.round((M*d[S]+_*p[S]+E*f[S]+L*m[S])*1e3)/1e3,u[S*4+3]=t.round((I*d[S]+X*p[S]+Y*f[S]+H*m[S])*1e3)/1e3;return u}return {getSegmentsLength:s,getNewSegment:c,getPointInSegment:h,buildBezierData:o,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,n=s,a=this.keyframes.length-1,o=!0,l,h,u;o;){if(l=this.keyframes[n],h=this.keyframes[n+1],n===a-1&&t>=h.t-r){l.h&&(l=h),s=0;break}if(h.t-r>t){s=n;break}n<a-1?n+=1:(s=0,o=!1);}u=this.keyframesMetadata[n]||{};var c,d,m,p,f,v,y=h.t-r,g=l.t-r,b;if(l.to){u.bezierData||(u.bezierData=bez.buildBezierData(l.s,h.s||l.e,l.to,l.ti));var x=u.bezierData;if(t>=y||t<g){var S=t>=y?x.points.length-1:0;for(d=x.points[S].point.length,c=0;c<d;c+=1)i[c]=x.points[S].point[c];}else {u.__fnct?v=u.__fnct:(v=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,u.__fnct=v),m=v((t-g)/(y-g));var C=x.segmentLength*m,P,T=e.lastFrame<t&&e._lastKeyframeIndex===n?e._lastAddedLength:0;for(f=e.lastFrame<t&&e._lastKeyframeIndex===n?e._lastPoint:0,o=!0,p=x.points.length;o;){if(T+=x.points[f].partialLength,C===0||m===0||f===x.points.length-1){for(d=x.points[f].point.length,c=0;c<d;c+=1)i[c]=x.points[f].point[c];break}else if(C>=T&&C<T+x.points[f+1].partialLength){for(P=(C-T)/x.points[f+1].partialLength,d=x.points[f].point.length,c=0;c<d;c+=1)i[c]=x.points[f].point[c]+(x.points[f+1].point[c]-x.points[f].point[c])*P;break}f<p-1?f+=1:o=!1;}e._lastPoint=f,e._lastAddedLength=T-x.points[f].partialLength,e._lastKeyframeIndex=n;}}else {var V,$,R,j,q;if(a=l.s.length,b=h.s||l.e,this.sh&&l.h!==1)if(t>=y)i[0]=b[0],i[1]=b[1],i[2]=b[2];else if(t<=g)i[0]=l.s[0],i[1]=l.s[1],i[2]=l.s[2];else {var F=createQuaternion(l.s),U=createQuaternion(b),A=(t-g)/(y-g);quaternionToEuler(i,slerp(F,U,A));}else for(n=0;n<a;n+=1)l.h!==1&&(t>=y?m=1:t<g?m=0:(l.o.x.constructor===Array?(u.__fnct||(u.__fnct=[]),u.__fnct[n]?v=u.__fnct[n]:(V=l.o.x[n]===void 0?l.o.x[0]:l.o.x[n],$=l.o.y[n]===void 0?l.o.y[0]:l.o.y[n],R=l.i.x[n]===void 0?l.i.x[0]:l.i.x[n],j=l.i.y[n]===void 0?l.i.y[0]:l.i.y[n],v=BezierFactory.getBezierEasing(V,$,R,j).get,u.__fnct[n]=v)):u.__fnct?v=u.__fnct:(V=l.o.x,$=l.o.y,R=l.i.x,j=l.i.y,v=BezierFactory.getBezierEasing(V,$,R,j).get,l.keyframeMetadata=v),m=v((t-g)/(y-g)))),b=h.s||l.e,q=l.h===1?l.s[n]:l.s[n]+(b[n]-l.s[n])*m,this.propType==="multidimensional"?i[n]=q:i=q;}return e.lastIndex=s,i}function slerp(t,e,r){var i=[],s=t[0],n=t[1],a=t[2],o=t[3],l=e[0],h=e[1],u=e[2],c=e[3],d,m,p,f,v;return m=s*l+n*h+a*u+o*c,m<0&&(m=-m,l=-l,h=-h,u=-u,c=-c),1-m>1e-6?(d=Math.acos(m),p=Math.sin(d),f=Math.sin((1-r)*d)/p,v=Math.sin(r*d)/p):(f=1-r,v=r),i[0]=f*s+v*l,i[1]=f*n+v*h,i[2]=f*a+v*u,i[3]=f*o+v*c,i}function quaternionToEuler(t,e){var r=e[0],i=e[1],s=e[2],n=e[3],a=Math.atan2(2*i*n-2*r*s,1-2*i*i-2*s*s),o=Math.asin(2*r*i+2*s*n),l=Math.atan2(2*r*n-2*i*s,1-2*r*r-2*s*s);t[0]=a/degToRads,t[1]=o/degToRads,t[2]=l/degToRads;}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,s=Math.cos(e/2),n=Math.cos(r/2),a=Math.cos(i/2),o=Math.sin(e/2),l=Math.sin(r/2),h=Math.sin(i/2),u=s*n*a-o*l*h,c=o*l*a+s*n*h,d=o*n*a+s*l*h,m=s*l*a-o*n*h;return [c,d,m,u]}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,n=e.k.length;for(this.v=createTypedArray("float32",n),this.pv=createTypedArray("float32",n),this.vel=createTypedArray("float32",n),s=0;s<n;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,n=e.k.length,a,o,l,h;for(s=0;s<n-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(a=e.k[s].s,o=e.k[s+1].s,l=e.k[s].to,h=e.k[s].ti,(a.length===2&&!(a[0]===o[0]&&a[1]===o[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],a[0]+l[0],a[1]+l[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],o[0]+h[0],o[1]+h[1])||a.length===3&&!(a[0]===o[0]&&a[1]===o[1]&&a[2]===o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],a[0]+l[0],a[1]+l[1],a[2]+l[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],o[0]+h[0],o[1]+h[1],o[2]+h[2]))&&(e.k[s].to=null,e.k[s].ti=null),a[0]===o[0]&&a[1]===o[1]&&l[0]===0&&l[1]===0&&h[0]===0&&h[1]===0&&(a.length===2||a[2]===o[2]&&l[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 u=e.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),s=0;s<u;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect;}var PropertyFactory=function(){function t(r,i,s,n,a){i.sid&&(i=r.globalData.slotManager.getProp(i));var o;if(!i.k.length)o=new ValueProperty(r,i,n,a);else if(typeof i.k[0]=="number")o=new MultiDimensionalProperty(r,i,n,a);else switch(s){case 0:o=new KeyframedValueProperty(r,i,n,a);break;case 1:o=new KeyframedMultidimensionalProperty(r,i,n,a);break}return o.effectsSequence.length&&a.addDynamicProperty(o),o}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0);},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0);},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1;}};var 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 n;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[];break}(!n[i]||n[i]&&!s)&&(n[i]=pointPool.newElement()),n[i][0]=t,n[i][1]=e;},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(r,i,"o",a,o),this.setXYAt(s,n,"i",a,o);},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 n=this._length-1,a=this._length,o;for(o=s;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],i[n][0],i[n][1],r[n][0],r[n][1],o,!1),n-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(s){var n=s._length,a;for(a=0;a<n;a+=1)pointPool.release(s.v[a]),pointPool.release(s.i[a]),pointPool.release(s.o[a]),s.v[a]=null,s.i[a]=null,s.o[a]=null;s._length=0,s.c=!1;}function r(s){var n=i.newElement(),a,o=s._length===void 0?s.v.length:s._length;for(n.setLength(o),n.c=s.c,a=0;a<o;a+=1)n.setTripleAt(s.v[a][0],s.v[a][1],s.o[a][0],s.o[a][1],s.i[a][0],s.i[a][1],a);return n}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:n},e=0,r=4,i=createSizedArray(r);function s(){var a;return e?(e-=1,a=i[e]):a=new ShapeCollection,a}function n(a){var o,l=a._length;for(o=0;o<l;o+=1)shapePool.release(a.shapes[o]);a._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=a,e+=1;}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(y,g,b){var x=b.lastIndex,S,C,P,T,V,$,R,j,q,F=this.keyframes;if(y<F[0].t-this.offsetTime)S=F[0].s[0],P=!0,x=0;else if(y>=F[F.length-1].t-this.offsetTime)S=F[F.length-1].s?F[F.length-1].s[0]:F[F.length-2].e[0],P=!0;else {for(var U=x,A=F.length-1,M=!0,_,E,L;M&&(_=F[U],E=F[U+1],!(E.t-this.offsetTime>y));)U<A-1?U+=1:M=!1;if(L=this.keyframesMetadata[U]||{},P=_.h===1,x=U,!P){if(y>=E.t-this.offsetTime)j=1;else if(y<_.t-this.offsetTime)j=0;else {var I;L.__fnct?I=L.__fnct:(I=BezierFactory.getBezierEasing(_.o.x,_.o.y,_.i.x,_.i.y).get,L.__fnct=I),j=I((y-(_.t-this.offsetTime))/(E.t-this.offsetTime-(_.t-this.offsetTime)));}C=E.s?E.s[0]:_.e[0];}S=_.s[0];}for($=g._length,R=S.i[0].length,b.lastIndex=x,T=0;T<$;T+=1)for(V=0;V<R;V+=1)q=P?S.i[T][V]:S.i[T][V]+(C.i[T][V]-S.i[T][V])*j,g.i[T][V]=q,q=P?S.o[T][V]:S.o[T][V]+(C.o[T][V]-S.o[T][V])*j,g.o[T][V]=q,q=P?S.v[T][V]:S.v[T][V]+(C.v[T][V]-S.v[T][V])*j,g.v[T][V]=q;}function r(){var y=this.comp.renderedFrame-this.offsetTime,g=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,x=this._caching.lastFrame;return x!==t&&(x<g&&y<g||x>b&&y>b)||(this._caching.lastIndex=x<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function i(){this.paths=this.localShapeCollection;}function s(y,g){if(y._length!==g._length||y.c!==g.c)return !1;var b,x=y._length;for(b=0;b<x;b+=1)if(y.v[b][0]!==g.v[b][0]||y.v[b][1]!==g.v[b][1]||y.o[b][0]!==g.o[b][0]||y.o[b][1]!==g.o[b][1]||y.i[b][0]!==g.i[b][0]||y.i[b][1]!==g.i[b][1])return !1;return !0}function n(y){s(this.v,y)||(this.v=shapePool.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection);}function a(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var g,b=this.effectsSequence.length;for(g=0;g<b;g+=1)y=this.effectsSequence[g](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function o(y,g,b){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=g,this.k=!1,this.kf=!1,this._mdf=!1;var x=b===3?g.pt.k:g.ks.k;this.v=shapePool.clone(x),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 l(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this);}o.prototype.interpolateShape=e,o.prototype.getValue=a,o.prototype.setVValue=n,o.prototype.addEffect=l;function h(y,g,b){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=b===3?g.pt.k:g.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var x=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,x),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=a,h.prototype.interpolateShape=e,h.prototype.setVValue=n,h.prototype.addEffect=l;var u=function(){var y=roundCorner;function g(b,x){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=x.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=PropertyFactory.getProp(b,x.p,1,0,this),this.s=PropertyFactory.getProp(b,x.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath());}return g.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 b=this.p.v[0],x=this.p.v[1],S=this.s.v[0]/2,C=this.s.v[1]/2,P=this.d!==3,T=this.v;T.v[0][0]=b,T.v[0][1]=x-C,T.v[1][0]=P?b+S:b-S,T.v[1][1]=x,T.v[2][0]=b,T.v[2][1]=x+C,T.v[3][0]=P?b-S:b+S,T.v[3][1]=x,T.i[0][0]=P?b-S*y:b+S*y,T.i[0][1]=x-C,T.i[1][0]=P?b+S:b-S,T.i[1][1]=x-C*y,T.i[2][0]=P?b+S*y:b-S*y,T.i[2][1]=x+C,T.i[3][0]=P?b-S:b+S,T.i[3][1]=x+C*y,T.o[0][0]=P?b+S*y:b-S*y,T.o[0][1]=x-C,T.o[1][0]=P?b+S:b-S,T.o[1][1]=x+C*y,T.o[2][0]=P?b-S*y:b+S*y,T.o[2][1]=x+C,T.o[3][0]=P?b-S:b+S,T.o[3][1]=x-C*y;}},extendPrototype([DynamicPropertyContainer],g),g}(),c=function(){function y(g,b){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=g,this.comp=g.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(g),b.sy===1?(this.ir=PropertyFactory.getProp(g,b.ir,0,0,this),this.is=PropertyFactory.getProp(g,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(g,b.pt,0,0,this),this.p=PropertyFactory.getProp(g,b.p,1,0,this),this.r=PropertyFactory.getProp(g,b.r,0,degToRads,this),this.or=PropertyFactory.getProp(g,b.or,0,0,this),this.os=PropertyFactory.getProp(g,b.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 y.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 g=Math.floor(this.pt.v)*2,b=Math.PI*2/g,x=!0,S=this.or.v,C=this.ir.v,P=this.os.v,T=this.is.v,V=2*Math.PI*S/(g*2),$=2*Math.PI*C/(g*2),R,j,q,F,U=-Math.PI/2;U+=this.r.v;var A=this.data.d===3?-1:1;for(this.v._length=0,R=0;R<g;R+=1){j=x?S:C,q=x?P:T,F=x?V:$;var M=j*Math.cos(U),_=j*Math.sin(U),E=M===0&&_===0?0:_/Math.sqrt(M*M+_*_),L=M===0&&_===0?0:-M/Math.sqrt(M*M+_*_);M+=+this.p.v[0],_+=+this.p.v[1],this.v.setTripleAt(M,_,M-E*F*q*A,_-L*F*q*A,M+E*F*q*A,_+L*F*q*A,R,!0),x=!x,U+=b*A;}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),b=Math.PI*2/g,x=this.or.v,S=this.os.v,C=2*Math.PI*x/(g*4),P,T=-Math.PI*.5,V=this.data.d===3?-1:1;for(T+=this.r.v,this.v._length=0,P=0;P<g;P+=1){var $=x*Math.cos(T),R=x*Math.sin(T),j=$===0&&R===0?0:R/Math.sqrt($*$+R*R),q=$===0&&R===0?0:-$/Math.sqrt($*$+R*R);$+=+this.p.v[0],R+=+this.p.v[1],this.v.setTripleAt($,R,$-j*C*S*V,R-q*C*S*V,$+j*C*S*V,R+q*C*S*V,P,!0),T+=b*V;}this.paths.length=0,this.paths[0]=this.v;}},extendPrototype([DynamicPropertyContainer],y),y}(),d=function(){function y(g,b){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=g,this.comp=g.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(g),this.p=PropertyFactory.getProp(g,b.p,1,0,this),this.s=PropertyFactory.getProp(g,b.s,1,0,this),this.r=PropertyFactory.getProp(g,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath());}return y.prototype={convertRectToPath:function(){var g=this.p.v[0],b=this.p.v[1],x=this.s.v[0]/2,S=this.s.v[1]/2,C=bmMin(x,S,this.r.v),P=C*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+x,b-S+C,g+x,b-S+C,g+x,b-S+P,0,!0),this.v.setTripleAt(g+x,b+S-C,g+x,b+S-P,g+x,b+S-C,1,!0),C!==0?(this.v.setTripleAt(g+x-C,b+S,g+x-C,b+S,g+x-P,b+S,2,!0),this.v.setTripleAt(g-x+C,b+S,g-x+P,b+S,g-x+C,b+S,3,!0),this.v.setTripleAt(g-x,b+S-C,g-x,b+S-C,g-x,b+S-P,4,!0),this.v.setTripleAt(g-x,b-S+C,g-x,b-S+P,g-x,b-S+C,5,!0),this.v.setTripleAt(g-x+C,b-S,g-x+C,b-S,g-x+P,b-S,6,!0),this.v.setTripleAt(g+x-C,b-S,g+x-P,b-S,g+x-C,b-S,7,!0)):(this.v.setTripleAt(g-x,b+S,g-x+P,b+S,g-x,b+S,2),this.v.setTripleAt(g-x,b-S,g-x,b-S+P,g-x,b-S,3))):(this.v.setTripleAt(g+x,b-S+C,g+x,b-S+P,g+x,b-S+C,0,!0),C!==0?(this.v.setTripleAt(g+x-C,b-S,g+x-C,b-S,g+x-P,b-S,1,!0),this.v.setTripleAt(g-x+C,b-S,g-x+P,b-S,g-x+C,b-S,2,!0),this.v.setTripleAt(g-x,b-S+C,g-x,b-S+C,g-x,b-S+P,3,!0),this.v.setTripleAt(g-x,b+S-C,g-x,b+S-P,g-x,b+S-C,4,!0),this.v.setTripleAt(g-x+C,b+S,g-x+C,b+S,g-x+P,b+S,5,!0),this.v.setTripleAt(g+x-C,b+S,g+x-P,b+S,g+x-C,b+S,6,!0),this.v.setTripleAt(g+x,b+S-C,g+x,b+S-C,g+x,b+S-P,7,!0)):(this.v.setTripleAt(g-x,b-S,g-x+P,b-S,g-x,b-S,1,!0),this.v.setTripleAt(g-x,b+S,g-x,b+S-P,g-x,b+S,2,!0),this.v.setTripleAt(g+x,b+S,g+x-P,b+S,g+x,b+S,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],y),y}();function m(y,g,b){var x;if(b===3||b===4){var S=b===3?g.pt:g.ks,C=S.k;C.length?x=new h(y,g,b):x=new o(y,g,b);}else b===5?x=new d(y,g):b===6?x=new u(y,g):b===7&&(x=new c(y,g));return x.k&&y.addDynamicProperty(x),x}function p(){return o}function f(){return h}var v={};return v.getShapeProp=m,v.getConstructorFunction=p,v.getKeyframedConstructorFunction=f,v}(),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 n(_){if(_===0)return this;var E=t(_),L=e(_);return this._t(E,-L,0,0,L,E,0,0,0,0,1,0,0,0,0,1)}function a(_){if(_===0)return this;var E=t(_),L=e(_);return this._t(1,0,0,0,0,E,-L,0,0,L,E,0,0,0,0,1)}function o(_){if(_===0)return this;var E=t(_),L=e(_);return this._t(E,0,L,0,0,1,0,0,-L,0,E,0,0,0,0,1)}function l(_){if(_===0)return this;var E=t(_),L=e(_);return this._t(E,-L,0,0,L,E,0,0,0,0,1,0,0,0,0,1)}function h(_,E){return this._t(1,E,_,1,0,0)}function u(_,E){return this.shear(r(_),r(E))}function c(_,E){var L=t(E),I=e(E);return this._t(L,I,0,0,-I,L,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(_),1,0,0,0,0,1,0,0,0,0,1)._t(L,-I,0,0,I,L,0,0,0,0,1,0,0,0,0,1)}function d(_,E,L){return !L&&L!==0&&(L=1),_===1&&E===1&&L===1?this:this._t(_,0,0,0,0,E,0,0,0,0,L,0,0,0,0,1)}function m(_,E,L,I,X,Y,H,G,Q,rt,st,ut,dt,ot,ht,nt){return this.props[0]=_,this.props[1]=E,this.props[2]=L,this.props[3]=I,this.props[4]=X,this.props[5]=Y,this.props[6]=H,this.props[7]=G,this.props[8]=Q,this.props[9]=rt,this.props[10]=st,this.props[11]=ut,this.props[12]=dt,this.props[13]=ot,this.props[14]=ht,this.props[15]=nt,this}function p(_,E,L){return L=L||0,_!==0||E!==0||L!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,_,E,L,1):this}function f(_,E,L,I,X,Y,H,G,Q,rt,st,ut,dt,ot,ht,nt){var tt=this.props;if(_===1&&E===0&&L===0&&I===0&&X===0&&Y===1&&H===0&&G===0&&Q===0&&rt===0&&st===1&&ut===0)return tt[12]=tt[12]*_+tt[15]*dt,tt[13]=tt[13]*Y+tt[15]*ot,tt[14]=tt[14]*st+tt[15]*ht,tt[15]*=nt,this._identityCalculated=!1,this;var It=tt[0],$t=tt[1],Bt=tt[2],Lt=tt[3],wt=tt[4],At=tt[5],pt=tt[6],J=tt[7],K=tt[8],at=tt[9],ft=tt[10],Pt=tt[11],te=tt[12],ne=tt[13],be=tt[14],xe=tt[15];return tt[0]=It*_+$t*X+Bt*Q+Lt*dt,tt[1]=It*E+$t*Y+Bt*rt+Lt*ot,tt[2]=It*L+$t*H+Bt*st+Lt*ht,tt[3]=It*I+$t*G+Bt*ut+Lt*nt,tt[4]=wt*_+At*X+pt*Q+J*dt,tt[5]=wt*E+At*Y+pt*rt+J*ot,tt[6]=wt*L+At*H+pt*st+J*ht,tt[7]=wt*I+At*G+pt*ut+J*nt,tt[8]=K*_+at*X+ft*Q+Pt*dt,tt[9]=K*E+at*Y+ft*rt+Pt*ot,tt[10]=K*L+at*H+ft*st+Pt*ht,tt[11]=K*I+at*G+ft*ut+Pt*nt,tt[12]=te*_+ne*X+be*Q+xe*dt,tt[13]=te*E+ne*Y+be*rt+xe*ot,tt[14]=te*L+ne*H+be*st+xe*ht,tt[15]=te*I+ne*G+be*ut+xe*nt,this._identityCalculated=!1,this}function v(_){var E=_.props;return this.transform(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],E[9],E[10],E[11],E[12],E[13],E[14],E[15])}function y(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function g(_){for(var E=0;E<16;){if(_.props[E]!==this.props[E])return !1;E+=1;}return !0}function b(_){var E;for(E=0;E<16;E+=1)_.props[E]=this.props[E];return _}function x(_){var E;for(E=0;E<16;E+=1)this.props[E]=_[E];}function S(_,E,L){return {x:_*this.props[0]+E*this.props[4]+L*this.props[8]+this.props[12],y:_*this.props[1]+E*this.props[5]+L*this.props[9]+this.props[13],z:_*this.props[2]+E*this.props[6]+L*this.props[10]+this.props[14]}}function C(_,E,L){return _*this.props[0]+E*this.props[4]+L*this.props[8]+this.props[12]}function P(_,E,L){return _*this.props[1]+E*this.props[5]+L*this.props[9]+this.props[13]}function T(_,E,L){return _*this.props[2]+E*this.props[6]+L*this.props[10]+this.props[14]}function V(){var _=this.props[0]*this.props[5]-this.props[1]*this.props[4],E=this.props[5]/_,L=-this.props[1]/_,I=-this.props[4]/_,X=this.props[0]/_,Y=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/_,H=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/_,G=new Matrix;return G.props[0]=E,G.props[1]=L,G.props[4]=I,G.props[5]=X,G.props[12]=Y,G.props[13]=H,G}function $(_){var E=this.getInverseMatrix();return E.applyToPointArray(_[0],_[1],_[2]||0)}function R(_){var E,L=_.length,I=[];for(E=0;E<L;E+=1)I[E]=$(_[E]);return I}function j(_,E,L){var I=createTypedArray("float32",6);if(this.isIdentity())I[0]=_[0],I[1]=_[1],I[2]=E[0],I[3]=E[1],I[4]=L[0],I[5]=L[1];else {var X=this.props[0],Y=this.props[1],H=this.props[4],G=this.props[5],Q=this.props[12],rt=this.props[13];I[0]=_[0]*X+_[1]*H+Q,I[1]=_[0]*Y+_[1]*G+rt,I[2]=E[0]*X+E[1]*H+Q,I[3]=E[0]*Y+E[1]*G+rt,I[4]=L[0]*X+L[1]*H+Q,I[5]=L[0]*Y+L[1]*G+rt;}return I}function q(_,E,L){var I;return this.isIdentity()?I=[_,E,L]:I=[_*this.props[0]+E*this.props[4]+L*this.props[8]+this.props[12],_*this.props[1]+E*this.props[5]+L*this.props[9]+this.props[13],_*this.props[2]+E*this.props[6]+L*this.props[10]+this.props[14]],I}function F(_,E){if(this.isIdentity())return _+","+E;var L=this.props;return Math.round((_*L[0]+E*L[4]+L[12])*100)/100+","+Math.round((_*L[1]+E*L[5]+L[13])*100)/100}function U(){for(var _=0,E=this.props,L="matrix3d(",I=1e4;_<16;)L+=i(E[_]*I)/I,L+=_===15?")":",",_+=1;return L}function A(_){var E=1e4;return _<1e-6&&_>0||_>-1e-6&&_<0?i(_*E)/E:_}function M(){var _=this.props,E=A(_[0]),L=A(_[1]),I=A(_[4]),X=A(_[5]),Y=A(_[12]),H=A(_[13]);return "matrix("+E+","+L+","+I+","+X+","+Y+","+H+")"}return function(){this.reset=s,this.rotate=n,this.rotateX=a,this.rotateY=o,this.rotateZ=l,this.skew=u,this.skewFromAxis=c,this.shear=h,this.scale=d,this.setTransform=m,this.translate=p,this.transform=f,this.multiply=v,this.applyToPoint=S,this.applyToX=C,this.applyToY=P,this.applyToZ=T,this.applyToPointArray=q,this.applyToTriplePoints=j,this.applyToPointStringified=F,this.toCSS=U,this.to2dCSS=M,this.clone=b,this.cloneFromProps=x,this.equals=g,this.inversePoints=R,this.inversePoint=$,this.getInverseMatrix=V,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset();}}();function _typeof$3(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(e){return typeof e}:_typeof$3=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_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 exports>"u"?"undefined":_typeof$3(exports))==="object"&&typeof module<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=lottie);}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=r,t.getModifier=i;function r(s,n){e[s]||(e[s]=n);}function i(s,n,a){return new e[s](n,a)}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 n=[];e<=1?n.push({s:t,e}):t>=1?n.push({s:t-1,e:e-1}):(n.push({s:t,e:1}),n.push({s:0,e:e-1}));var a=[],o,l=n.length,h;for(o=0;o<l;o+=1)if(h=n[o],!(h.e*s<i||h.s*s>i+r)){var u,c;h.s*s<=i?u=0:u=(h.s*s-i)/r,h.e*s>=i+r?c=1:c=(h.e*s-i)/r,a.push([u,c]);}return a.length||a.push([0,0]),a},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 n,a,o=this.shapes.length,l,h,u,c,d,m=0;if(r===e)for(a=0;a<o;a+=1)this.shapes[a].localShapeCollection.releaseShapes(),this.shapes[a].shape._mdf=!0,this.shapes[a].shape.paths=this.shapes[a].localShapeCollection,this._mdf&&(this.shapes[a].pathsData.length=0);else if(r===1&&e===0||r===0&&e===1){if(this._mdf)for(a=0;a<o;a+=1)this.shapes[a].pathsData.length=0,this.shapes[a].shape._mdf=!0;}else {var p=[],f,v;for(a=0;a<o;a+=1)if(f=this.shapes[a],!f.shape._mdf&&!this._mdf&&!t&&this.m!==2)f.shape.paths=f.localShapeCollection;else {if(n=f.shape.paths,h=n._length,d=0,!f.shape._mdf&&f.pathsData.length)d=f.totalShapeLength;else {for(u=this.releasePathsData(f.pathsData),l=0;l<h;l+=1)c=bez.getSegmentsLength(n.shapes[l]),u.push(c),d+=c.totalLength;f.totalShapeLength=d,f.pathsData=u;}m+=d,f.shape._mdf=!0;}var y=e,g=r,b=0,x;for(a=o-1;a>=0;a-=1)if(f=this.shapes[a],f.shape._mdf){for(v=f.localShapeCollection,v.releaseShapes(),this.m===2&&o>1?(x=this.calculateShapeEdges(e,r,f.totalShapeLength,b,m),b+=f.totalShapeLength):x=[[y,g]],h=x.length,l=0;l<h;l+=1){y=x[l][0],g=x[l][1],p.length=0,g<=1?p.push({s:f.totalShapeLength*y,e:f.totalShapeLength*g}):y>=1?p.push({s:f.totalShapeLength*(y-1),e:f.totalShapeLength*(g-1)}):(p.push({s:f.totalShapeLength*y,e:f.totalShapeLength}),p.push({s:0,e:f.totalShapeLength*(g-1)}));var S=this.addShapes(f,p[0]);if(p[0].s!==p[0].e){if(p.length>1){var C=f.shape.paths.shapes[f.shape.paths._length-1];if(C.c){var P=S.pop();this.addPaths(S,v),S=this.addShapes(f,p[1],P);}else this.addPaths(S,v),S=this.addShapes(f,p[1]);}this.addPaths(S,v);}}f.shape.paths=v;}}},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,n,a){s.setXYAt(e[0],e[1],"o",n),s.setXYAt(r[0],r[1],"i",n+1),a&&s.setXYAt(t[0],t[1],"v",n),s.setXYAt(i[0],i[1],"v",n+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,n,a=t.shape.paths._length,o,l,h=0,u,c,d,m,p=[],f,v=!0;for(r?(c=r._length,f=r._length):(r=shapePool.newElement(),c=0,f=0),p.push(r),n=0;n<a;n+=1){for(d=i[n].lengths,r.c=s[n].c,l=s[n].c?d.length:d.length+1,o=1;o<l;o+=1)if(u=d[o-1],h+u.addedLength<e.s)h+=u.addedLength,r.c=!1;else if(h>e.e){r.c=!1;break}else e.s<=h&&e.e>=h+u.addedLength?(this.addSegment(s[n].v[o-1],s[n].o[o-1],s[n].i[o],s[n].v[o],r,c,v),v=!1):(m=bez.getNewSegment(s[n].v[o-1],s[n].v[o],s[n].o[o-1],s[n].i[o],(e.s-h)/u.addedLength,(e.e-h)/u.addedLength,d[o-1]),this.addSegmentFromArray(m,r,c,v),v=!1,r.c=!1),h+=u.addedLength,c+=1;if(s[n].c&&d.length){if(u=d[o-1],h<=e.e){var y=d[o-1].addedLength;e.s<=h&&e.e>=h+y?(this.addSegment(s[n].v[o-1],s[n].o[o-1],s[n].i[0],s[n].v[0],r,c,v),v=!1):(m=bez.getNewSegment(s[n].v[o-1],s[n].v[0],s[n].o[o-1],s[n].i[0],(e.s-h)/y,(e.e-h)/y,d[o-1]),this.addSegmentFromArray(m,r,c,v),v=!1,r.c=!1);}else r.c=!1;h+=u.addedLength,c+=1;}if(r._length&&(r.setXYAt(r.v[f][0],r.v[f][1],"i",f),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),h>e.e)break;n<a-1&&(r=shapePool.newElement(),v=!0,p.push(r),c=0);}return p};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,n=0;for(n=0;n<s;n+=1)i[0]+=t.v[n][0],i[1]+=t.v[n][1];i[0]/=s,i[1]/=s;var a=shapePool.newElement();a.c=t.c;var o,l,h,u,c,d;for(n=0;n<s;n+=1)o=t.v[n][0]+(i[0]-t.v[n][0])*r,l=t.v[n][1]+(i[1]-t.v[n][1])*r,h=t.o[n][0]+(i[0]-t.o[n][0])*-r,u=t.o[n][1]+(i[1]-t.o[n][1])*-r,c=t.i[n][0]+(i[0]-t.i[n][0])*-r,d=t.i[n][1]+(i[1]-t.i[n][1])*-r,a.setTripleAt(o,l,h,u,c,d,n);return a},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,n,a=this.amount.v;if(a!==0){var o,l;for(r=0;r<i;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!t))for(l.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,n=o.shape.paths._length,s=0;s<n;s+=1)l.addShape(this.processPath(e[s],a));o.shape.paths=o.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};var TransformPropertyFactory=function(){var t=[0,0];function e(l){var h=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||h,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.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?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2]);}function r(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){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 u,c;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?(u=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/h,0),c=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?(u=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/h,0),c=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/h,0)):(u=this.p.pv,c=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){u=[],c=[];var d=this.px,m=this.py;d._caching.lastFrame+d.offsetTime<=d.keyframes[0].t?(u[0]=d.getValueAtTime((d.keyframes[0].t+.01)/h,0),u[1]=m.getValueAtTime((m.keyframes[0].t+.01)/h,0),c[0]=d.getValueAtTime(d.keyframes[0].t/h,0),c[1]=m.getValueAtTime(m.keyframes[0].t/h,0)):d._caching.lastFrame+d.offsetTime>=d.keyframes[d.keyframes.length-1].t?(u[0]=d.getValueAtTime(d.keyframes[d.keyframes.length-1].t/h,0),u[1]=m.getValueAtTime(m.keyframes[m.keyframes.length-1].t/h,0),c[0]=d.getValueAtTime((d.keyframes[d.keyframes.length-1].t-.01)/h,0),c[1]=m.getValueAtTime((m.keyframes[m.keyframes.length-1].t-.01)/h,0)):(u=[d.pv,m.pv],c[0]=d.getValueAtTime((d._caching.lastFrame+d.offsetTime-.01)/h,d.offsetTime),c[1]=m.getValueAtTime((m._caching.lastFrame+m.offsetTime-.01)/h,m.offsetTime));}else c=t,u=c;this.v.rotate(-Math.atan2(u[1]-c[1],u[0]-c[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 n(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0;}function a(l,h,u){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=h,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(u||l),h.p&&h.p.s?(this.px=PropertyFactory.getProp(l,h.p.x,0,0,this),this.py=PropertyFactory.getProp(l,h.p.y,0,0,this),h.p.z&&(this.pz=PropertyFactory.getProp(l,h.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,h.p||{k:[0,0,0]},1,0,this),h.rx){if(this.rx=PropertyFactory.getProp(l,h.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,h.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,h.rz,0,degToRads,this),h.or.k[0].ti){var c,d=h.or.k.length;for(c=0;c<d;c+=1)h.or.k[c].to=null,h.or.k[c].ti=null;}this.or=PropertyFactory.getProp(l,h.or,1,degToRads,this),this.or.sh=!0;}else this.r=PropertyFactory.getProp(l,h.r||{k:0},0,degToRads,this);h.sk&&(this.sk=PropertyFactory.getProp(l,h.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,h.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,h.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,h.s||{k:[100,100,100]},1,.01,this),h.o?this.o=PropertyFactory.getProp(l,h.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0);}a.prototype={applyToMatrix:e,getValue:r,precalculateMatrix:i,autoOrient:s},extendPrototype([DynamicPropertyContainer],a),a.prototype.addDynamicProperty=n,a.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function o(l,h,u){return new a(l,h,u)}return {getTransformProperty:o}}();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,n){var a=n?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-s),l=i.s.v[1]+(1-i.s.v[1])*(1-s);t.translate(i.p.v[0]*a*s,i.p.v[1]*a*s,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*a*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(n?1/o:o,n?1/l:l),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,n,a=!1;if(this._mdf||t){var o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.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,l),this._groups.splice(0,0,l),this._currentCopies+=1;}this.elem.reloadShapes(),a=!0;}n=0;var h;for(i=0;i<=this._groups.length-1;i+=1){if(h=n<o,this._groups[i]._render=h,this.changeGroupRender(this._groups[i].it,h),!h){var u=this.elemsData[i].it,c=u[u.length-1];c.transform.op.v!==0?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1;}n+=1;}this._currentCopies=o;var d=this.o.v,m=d%1,p=d>0?Math.floor(d):Math.ceil(d),f=this.pMatrix.props,v=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var g=0;if(d>0){for(;g<p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;m&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,m,!1),g+=m);}else if(d<0){for(;g>p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),g-=1;m&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-m,!0),g-=m);}i=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,n=this._currentCopies;for(var b,x;n;){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,x=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)),g!==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(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),b=0;b<x;b+=1)r[b]=this.matrix.props[b];this.matrix.reset();}else for(this.matrix.reset(),b=0;b<x;b+=1)r[b]=this.matrix.props[b];g+=1,n-=1,i+=s;}}else for(n=this._currentCopies,i=0,s=1;n;)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,n-=1,i+=s;return a},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,n,a,o,l,h,u,c=0,d,m,p,f,v,y;for(i=0;i<s;i+=1)n=t.v[i],o=t.o[i],a=t.i[i],n[0]===o[0]&&n[1]===o[1]&&n[0]===a[0]&&n[1]===a[1]?(i===0||i===s-1)&&!t.c?(r.setTripleAt(n[0],n[1],o[0],o[1],a[0],a[1],c),c+=1):(i===0?l=t.v[s-1]:l=t.v[i-1],h=Math.sqrt(Math.pow(n[0]-l[0],2)+Math.pow(n[1]-l[1],2)),u=h?Math.min(h/2,e)/h:0,v=n[0]+(l[0]-n[0])*u,d=v,y=n[1]-(n[1]-l[1])*u,m=y,p=d-(d-n[0])*roundCorner,f=m-(m-n[1])*roundCorner,r.setTripleAt(d,m,p,f,v,y,c),c+=1,i===s-1?l=t.v[0]:l=t.v[i+1],h=Math.sqrt(Math.pow(n[0]-l[0],2)+Math.pow(n[1]-l[1],2)),u=h?Math.min(h/2,e)/h:0,p=n[0]+(l[0]-n[0])*u,d=p,f=n[1]+(l[1]-n[1])*u,m=f,v=d-(d-n[0])*roundCorner,y=m-(m-n[1])*roundCorner,r.setTripleAt(d,m,p,f,v,y,c),c+=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],c),c+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,n,a=this.rd.v;if(a!==0){var o,l;for(r=0;r<i;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!t))for(l.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,n=o.shape.paths._length,s=0;s<n;s+=1)l.addShape(this.processPath(e[s],a));o.shape.paths=o.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 n=Math.sqrt(i)/(2*t);return [s-n,s+n]}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 n=polynomialCoefficients(t[0],e[0],r[0],i[0]),a=polynomialCoefficients(t[1],e[1],r[1],i[1]);this.a=[n[0],a[0]],this.b=[n[1],a[1]],this.c=[n[2],a[2]],this.d=[n[3],a[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),n=lerpPoint(r,i,t),a=lerpPoint(s,n,t);return [new PolynomialBezier(this.points[0],e,s,a,!0),new PolynomialBezier(a,n,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 n=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<n.length;a+=1)if(n[a]>0&&n[a]<1){var o=t.point(n[a])[e];o<r?r=o:o>i&&(i=o);}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,n){if(boxIntersect(t,e)){if(r>=n||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i){s.push([t.t,e.t]);return}var a=splitData(t),o=splitData(e);intersectsImpl(a[0],o[0],r+1,i,s,n),intersectsImpl(a[0],o[1],r+1,i,s,n),intersectsImpl(a[1],o[0],r+1,i,s,n),intersectsImpl(a[1],o[1],r+1,i,s,n);}}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],n=[e[0],e[1],1],a=[r[0],r[1],1],o=[i[0],i[1],1],l=crossProduct(crossProduct(s,n),crossProduct(a,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[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,n,a){var o=r-Math.PI/2,l=r+Math.PI/2,h=e[0]+Math.cos(r)*i*s,u=e[1]-Math.sin(r)*i*s;t.setTripleAt(h,u,h+Math.cos(o)*n,u-Math.sin(o)*n,h+Math.cos(l)*a,u-Math.sin(l)*a,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],n=t.v[i],a=getPerpendicularVector(s,n);return Math.atan2(0,1)-Math.atan2(a[1],a[0])}function zigZagCorner(t,e,r,i,s,n,a){var o=getProjectingAngle(e,r),l=e.v[r%e._length],h=e.v[r===0?e._length-1:r-1],u=e.v[(r+1)%e._length],c=n===2?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0,d=n===2?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0;setPoint(t,e.v[r%e._length],o,a,i,d/((s+1)*2),c/((s+1)*2));}function zigZagSegment(t,e,r,i,s,n){for(var a=0;a<i;a+=1){var o=(a+1)/(i+1),l=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(o),u=e.point(o);setPoint(t,u,h,n,r,l/((i+1)*2),l/((i+1)*2)),n=-n;}return n}ZigZagModifier.prototype.processPath=function(t,e,r,i){var s=t._length,n=shapePool.newElement();if(n.c=t.c,t.c||(s-=1),s===0)return n;var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(n,t,0,e,r,i,a);for(var l=0;l<s;l+=1)a=zigZagSegment(n,o,e,r,i,-a),l===s-1&&!t.c?o=null:o=PolynomialBezier.shapeSegment(t,(l+1)%s),zigZagCorner(n,t,l+1,e,r,i,a);return n},ZigZagModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,n,a=this.amplitude.v,o=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(a!==0){var h,u;for(r=0;r<i;r+=1){if(h=this.shapes[r],u=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!t))for(u.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,n=h.shape.paths._length,s=0;s<n;s+=1)u.addShape(this.processPath(e[s],a,o,l));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,n,a,o,l;l=linearOffset(t.points[0],t.points[1],e),r=l[0],i=l[1],l=linearOffset(t.points[1],t.points[2],e),s=l[0],n=l[1],l=linearOffset(t.points[2],t.points[3],e),a=l[0],o=l[1];var h=lineIntersection(r,i,s,n);h===null&&(h=i);var u=lineIntersection(a,o,s,n);return u===null&&(u=a),new PolynomialBezier(r,h,u,o)}function joinLines(t,e,r,i,s){var n=e.points[3],a=r.points[0];if(i===3||pointEqual(n,a))return n;if(i===2){var o=-e.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,h=lineIntersection(n,polarOffset(n,o+Math.PI/2,100),a,polarOffset(a,o+Math.PI/2,100)),u=h?pointDistance(h,n):pointDistance(n,a)/2,c=polarOffset(n,o,2*u*roundCorner);return t.setXYAt(c[0],c[1],"o",t.length()-1),c=polarOffset(a,l,2*u*roundCorner),t.setTripleAt(a[0],a[1],a[0],a[1],c[0],c[1],t.length()),a}var d=pointEqual(n,e.points[2])?e.points[0]:e.points[2],m=pointEqual(a,r.points[1])?r.points[3]:r.points[1],p=lineIntersection(d,n,a,m);return p&&pointDistance(p,n)<s?(t.setTripleAt(p[0],p[1],p[0],p[1],p[0],p[1],t.length()),p):n}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,n,a;if(r.length===0)return [offsetSegment(t,e)];if(r.length===1||floatEqual(r[1],1))return n=t.split(r[0]),i=n[0],s=n[1],[offsetSegment(i,e),offsetSegment(s,e)];n=t.split(r[0]),i=n[0];var o=(r[1]-r[0])/(1-r[0]);return n=n[1].split(o),a=n[0],s=n[1],[offsetSegment(i,e),offsetSegment(a,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 n=t.length();t.c||(n-=1);var a,o,l,h=[];for(a=0;a<n;a+=1)l=PolynomialBezier.shapeSegment(t,a),h.push(offsetSegmentSplit(l,e));if(!t.c)for(a=n-1;a>=0;a-=1)l=PolynomialBezier.shapeSegmentInverted(t,a),h.push(offsetSegmentSplit(l,e));h=pruneIntersections(h);var u=null,c=null;for(a=0;a<h.length;a+=1){var d=h[a];for(c&&(u=joinLines(s,c,d[0],r,i)),c=d[d.length-1],o=0;o<d.length;o+=1)l=d[o],u&&pointEqual(l.points[0],u)?s.setXYAt(l.points[1][0],l.points[1][1],"o",s.length()-1):s.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],s.length()),s.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],s.length()),u=l.points[3];}return h.length&&joinLines(s,c,h[0][0],r,i),s},OffsetPathModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,s,n,a=this.amount.v,o=this.miterLimit.v,l=this.lineJoin;if(a!==0){var h,u;for(r=0;r<i;r+=1){if(h=this.shapes[r],u=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!t))for(u.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,n=h.shape.paths._length,s=0;s<n;s+=1)u.addShape(this.processPath(e[s],a,l,o));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,n,a=0;a<s;a+=1)switch(n=e[a].toLowerCase(),n){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,n=917601,a=917626,o=65039,l=8205,h=127462,u=127487,c=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function d(A){var M=A.split(","),_,E=M.length,L=[];for(_=0;_<E;_+=1)M[_]!=="sans-serif"&&M[_]!=="monospace"&&L.push(M[_]);return L.join(",")}function m(A,M){var _=createTag("span");_.setAttribute("aria-hidden",!0),_.style.fontFamily=M;var E=createTag("span");E.innerText="giItT1WQy@!-/#",_.style.position="absolute",_.style.left="-10000px",_.style.top="-10000px",_.style.fontSize="300
58px",_.style.fontVariant="normal",_.style.fontStyle="normal",_.style.fontWeight="normal",_.style.letterSpacing="0",_.appendChild(E),document.body.appendChild(_);var L=E.offsetWidth;return E.style.fontFamily=d(A)+", "+M,{node:E,w:L,parent:_}}function p(){var A,M=this.fonts.length,_,E,L=M;for(A=0;A<M;A+=1)this.fonts[A].loaded?L-=1:this.fonts[A].fOrigin==="n"||this.fonts[A].origin===0?this.fonts[A].loaded=!0:(_=this.fonts[A].monoCase.node,E=this.fonts[A].monoCase.w,_.offsetWidth!==E?(L-=1,this.fonts[A].loaded=!0):(_=this.fonts[A].sansCase.node,E=this.fonts[A].sansCase.w,_.offsetWidth!==E&&(L-=1,this.fonts[A].loaded=!0)),this.fonts[A].loaded&&(this.fonts[A].sansCase.parent.parentNode.removeChild(this.fonts[A].sansCase.parent),this.fonts[A].monoCase.parent.parentNode.removeChild(this.fonts[A].monoCase.parent)));L!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10);}function f(A,M){var _=document.body&&M?"svg":"canvas",E,L=getFontProperties(A);if(_==="svg"){var I=createNS("text");I.style.fontSize="100px",I.setAttribute("font-family",A.fFamily),I.setAttribute("font-style",L.style),I.setAttribute("font-weight",L.weight),I.textContent="1",A.fClass?(I.style.fontFamily="inherit",I.setAttribute("class",A.fClass)):I.style.fontFamily=A.fFamily,M.appendChild(I),E=I;}else {var X=new OffscreenCanvas(500,500).getContext("2d");X.font=L.style+" "+L.weight+" 100px "+A.fFamily,E=X;}function Y(H){return _==="svg"?(E.textContent=H,E.getComputedTextLength()):E.measureText(H).width}return {measureText:Y}}function v(A,M){if(!A){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=A.list;return}if(!document.body){this.isLoaded=!0,A.list.forEach(function(st){st.helper=f(st),st.cache={};}),this.fonts=A.list;return}var _=A.list,E,L=_.length,I=L;for(E=0;E<L;E+=1){var X=!0,Y,H;if(_[E].loaded=!1,_[E].monoCase=m(_[E].fFamily,"monospace"),_[E].sansCase=m(_[E].fFamily,"sans-serif"),!_[E].fPath)_[E].loaded=!0,I-=1;else if(_[E].fOrigin==="p"||_[E].origin===3){if(Y=document.querySelectorAll('style[f-forigin="p"][f-family="'+_[E].fFamily+'"], style[f-origin="3"][f-family="'+_[E].fFamily+'"]'),Y.length>0&&(X=!1),X){var G=createTag("style");G.setAttribute("f-forigin",_[E].fOrigin),G.setAttribute("f-origin",_[E].origin),G.setAttribute("f-family",_[E].fFamily),G.type="text/css",G.innerText="@font-face {font-family: "+_[E].fFamily+"; font-style: normal; src: url('"+_[E].fPath+"');}",M.appendChild(G);}}else if(_[E].fOrigin==="g"||_[E].origin===1){for(Y=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),H=0;H<Y.length;H+=1)Y[H].href.indexOf(_[E].fPath)!==-1&&(X=!1);if(X){var Q=createTag("link");Q.setAttribute("f-forigin",_[E].fOrigin),Q.setAttribute("f-origin",_[E].origin),Q.type="text/css",Q.rel="stylesheet",Q.href=_[E].fPath,document.body.appendChild(Q);}}else if(_[E].fOrigin==="t"||_[E].origin===2){for(Y=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),H=0;H<Y.length;H+=1)_[E].fPath===Y[H].src&&(X=!1);if(X){var rt=createTag("link");rt.setAttribute("f-forigin",_[E].fOrigin),rt.setAttribute("f-origin",_[E].origin),rt.setAttribute("rel","stylesheet"),rt.setAttribute("href",_[E].fPath),M.appendChild(rt);}}_[E].helper=f(_[E],M),_[E].cache={},this.fonts.push(_[E]);}I===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100);}function y(A){if(A){this.chars||(this.chars=[]);var M,_=A.length,E,L=this.chars.length,I;for(M=0;M<_;M+=1){for(E=0,I=!1;E<L;)this.chars[E].style===A[M].style&&this.chars[E].fFamily===A[M].fFamily&&this.chars[E].ch===A[M].ch&&(I=!0),E+=1;I||(this.chars.push(A[M]),L+=1);}}}function g(A,M,_){for(var E=0,L=this.chars.length;E<L;){if(this.chars[E].ch===A&&this.chars[E].style===M&&this.chars[E].fFamily===_)return this.chars[E];E+=1;}return (typeof A=="string"&&A.charCodeAt(0)!==13||!A)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",A,M,_)),e}function b(A,M,_){var E=this.getFontByName(M),L=A;if(!E.cache[L]){var I=E.helper;if(A===" "){var X=I.measureText("|"+A+"|"),Y=I.measureText("||");E.cache[L]=(X-Y)/100;}else E.cache[L]=I.measureText(A)/100;}return E.cache[L]*_}function x(A){for(var M=0,_=this.fonts.length;M<_;){if(this.fonts[M].fName===A)return this.fonts[M];M+=1;}return this.fonts[0]}function S(A){var M=0,_=A.charCodeAt(0);if(_>=55296&&_<=56319){var E=A.charCodeAt(1);E>=56320&&E<=57343&&(M=(_-55296)*1024+E-56320+65536);}return M}function C(A,M){var _=A.toString(16)+M.toString(16);return c.indexOf(_)!==-1}function P(A){return A===l}function T(A){return A===o}function V(A){var M=S(A);return M>=h&&M<=u}function $(A){return V(A.substr(0,2))&&V(A.substr(2,2))}function R(A){return r.indexOf(A)!==-1}function j(A,M){var _=S(A.substr(M,2));if(_!==i)return !1;var E=0;for(M+=2;E<5;){if(_=S(A.substr(M,2)),_<n||_>a)return !1;E+=1,M+=2;}return S(A.substr(M,2))===s}function q(){this.isLoaded=!0;}var F=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this);};F.isModifier=C,F.isZeroWidthJoiner=P,F.isFlagEmoji=$,F.isRegionalCode=V,F.isCombinedCharacter=R,F.isRegionalFlag=j,F.isVariationSelector=T,F.BLACK_FLAG_CODE_POINT=i;var U={addChars:y,addFonts:v,getCharData:g,getFontByName:x,measureText:b,checkLoadedFonts:p,setIsLoaded:q};return F.prototype=U,F}();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)}
vendor: 71,169 bytes, line 58
58function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[];},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t);},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1);},prepareRenderableFrame:function(t){this.checkLayerLimits(t);},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show());},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide());},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame);},sourceRectAtTime:function(){return {top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var 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,n;for(i=0;i<s;i+=1)n=new GroupEffect(r[i],e),this.effectElements.push(n);}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,n=this.data.ef;for(r=0;r<i;r+=1){switch(s=null,n[r].ty){case 0:s=new SliderEffect(n[r],e,this);break;case 1:s=new AngleEffect(n[r],e,this);break;case 2:s=new ColorEffect(n[r],e,this);break;case 3:s=new PointEffect(n[r],e,this);break;case 4:case 7:s=new CheckboxEffect(n[r],e,this);break;case 10:s=new LayerIndexEffect(n[r],e,this);break;case 11:s=new MaskIndexEffect(n[r],e,this);break;case 5:s=new EffectsManager(n[r],e);break;default:s=new NoValueEffect(n[r]);break}s&&this.effectElements.push(s);}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return !1;for(var t=0,e=this.data.masksProperties.length;t<e;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return !0;t+=1;}return !1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),r=t("effects"),i=t("shape"),s=t("text"),n=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),this.data.ty===0||this.data.xt?this.compInterface=n(this):this.data.ty===4?(this.layerInterface.shapeInterface=i(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=s(this),this.layerInterface.text=this.layerInterface.textInterface);}},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t;},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,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(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&this.dynamicProperties[r].propType==="transform")&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0));},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t);}};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,n=0,a=s.length;n<a;)s[n].ind==e&&(!i[n]||i[n]===!0?(this.buildItem(n),this.addPendingElement(t)):(r.push(i[n]),i[n].setAsParent(),s[n].parent!==void 0?this.buildElementParenting(t,s[n].parent,r):t.setHierarchy(r))),n+=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 t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty;},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1;}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)e.multiply(this.hierarchy[r].finalTransform.mProp.v);}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v);},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),t=1;t<e;t+=1){var i=this.localTransforms[t].matrix;r.multiply(i);}r.multiply(this.finalTransform.mat);}if(this.finalTransform._opMdf){var s=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)s*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=s;}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,r=t.length;for(e=0;e<r;e+=1)this.localTransforms.push(t[e]);}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r=!0,i=this.comp;r;)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):r=!1;var s,n=e.length,a;for(s=0;s<n;s+=1)a=e[s].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},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,n=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(n),this.solidPath="";var a,o=this.masksProperties,l=0,h=[],u,c,d=createElementID(),m,p,f,v,y="clipPath",g="clip-path";for(s=0;s<n;s+=1)if((o[s].mode!=="a"&&o[s].mode!=="n"||o[s].inv||o[s].o.k!==100||o[s].o.x)&&(y="mask",g="mask"),(o[s].mode==="s"||o[s].mode==="i")&&l===0?(m=createNS("rect"),m.setAttribute("fill","#ffffff"),m.setAttribute("width",this.element.comp.data.w||0),m.setAttribute("height",this.element.comp.data.h||0),h.push(m)):m=null,a=createNS("path"),o[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,o[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[s],3),elem:a,lastPath:""},i.appendChild(a);else {l+=1,a.setAttribute("fill",o[s].mode==="s"?"#000000":"#ffffff"),a.setAttribute("clip-rule","nonzero");var b;if(o[s].x.k!==0?(y="mask",g="mask",v=PropertyFactory.getProp(this.element,o[s].x,0,null,this.element),b=createElementID(),p=createNS("filter"),p.setAttribute("id",b),f=createNS("feMorphology"),f.setAttribute("operator","erode"),f.setAttribute("in","SourceGraphic"),f.setAttribute("radius","0"),p.appendChild(f),i.appendChild(p),a.setAttribute("stroke",o[s].mode==="s"?"#000000":"#ffffff")):(f=null,v=null),this.storedData[s]={elem:a,x:v,expan:f,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},o[s].mode==="i"){c=h.length;var x=createNS("g");for(u=0;u<c;u+=1)x.appendChild(h[u]);var S=createNS("mask");S.setAttribute("mask-type","alpha"),S.setAttribute("id",d+"_"+l),S.appendChild(a),i.appendChild(S),x.setAttribute("mask","url("+getLocationHref()+"#"+d+"_"+l+")"),h.length=0,h.push(x);}else h.push(a);o[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:a,lastPath:"",op:PropertyFactory.getProp(this.element,o[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[s],3),invRect:m},this.viewData[s].prop.k||this.drawPath(o[s],this.viewData[s].prop.v,this.viewData[s]);}for(this.maskElement=createNS(y),n=h.length,s=0;s<n;s+=1)this.maskElement.appendChild(h[s]);l>0&&(this.maskElement.setAttribute("id",d),this.element.maskedElement.setAttribute(g,"url("+getLocationHref()+"#"+d+")"),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,n;for(n=e._length,s=1;s<n;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&&n>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 a="";r.elem&&(e.c&&(a=t.inv?this.solidPath+i:i),r.elem.setAttribute("d",a)),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 n=createNS("filter");return n.setAttribute("id",i),s!==!0&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n}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(),n=filtersFactory.createFilter(s,!0),a=0;this.filters=[];var o;for(e=0;e<i;e+=1){o=null;var l=t.data.ef[e].ty;if(registeredEffects$1[l]){var h=registeredEffects$1[l].effect;o=new h(n,t.effectsManager.effectElements[e],t,idPrefix+a,r),r=idPrefix+a,registeredEffects$1[l].countsAsEffect&&(a+=1);}o&&this.filters.push(o);}a&&(t.globalData.defs.appendChild(n),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 t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e);}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var r=createNS("clipPath"),i=createNS("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var s=createElementID();if(r.setAttribute("id",s),r.appendChild(i),this.globalData.defs.appendChild(r),this.checkMasks()){var n=createNS("g");n.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),n.appendChild(this.layerElement),this.transformedElement=n,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement;}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")");}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(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e=this.layerId+"_"+t,r,i,s,n;if(t===1||t===3){var a=createNS("mask");a.setAttribute("id",e),a.setAttribute("mask-type",t===3?"luminance":"alpha"),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(s),this.globalData.defs.appendChild(a),!featureSupport.maskType&&t===1&&(a.setAttribute("mask-type","luminance"),r=createElementID(),i=filtersFactory.createFilter(r),this.globalData.defs.appendChild(i),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),n.appendChild(s),a.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+r+")"));}else if(t===2){var o=createNS("mask");o.setAttribute("id",e),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),r=createElementID(),i=filtersFactory.createFilter(r);var h=createNS("feComponentTransfer");h.setAttribute("in","SourceGraphic"),i.appendChild(h);var u=createNS("feFuncA");u.setAttribute("type","table"),u.setAttribute("tableValues","1.0 0.0"),h.appendChild(u),this.globalData.defs.appendChild(i);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+r+")"),l.appendChild(c),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(s),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),l.appendChild(c),n.appendChild(this.layerElement),l.appendChild(n)),this.globalData.defs.appendChild(o);}this.matteMasks[t]=e;}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")");}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting();},setHierarchy:function(t){this.hierarchy=t;},setAsParent:function(){this._isParent=!0;},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[]);}};function RenderableDOMElement(){}(function(){var t={initElement:function(e,r,i){this.initFrame(),this.initBaseData(e,r,i),this.initTransform(e,r,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide();},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var e=this.baseElement||this.layerElement;e.style.display="none",this.hidden=!0;}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var e=this.baseElement||this.layerElement;e.style.display="block";}this.hidden=!1,this._isFirstFrame=!0;}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1));},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency();},destroy:function(){this.innerElem=null,this.destroyBaseElement();}};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(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t);},isShapeInAnimatedModifiers:function(t){for(var e=0,r=this.shapeModifiers.length;e<r;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return !0;return !1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();e=this.shapeModifiers.length;var r;for(t=e-1;t>=0&&(r=this.shapeModifiers[t].processShapes(this._isFirstFrame),!r);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r<i;){if(e[r].elem===t)return e[r].pos;r+=1;}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,i=r.length;i;)if(i-=1,r[i].elem===t){r[i].pos=e;return}r.push(new ProcessedElement(t,e));},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,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,n=e.length||0,a;for(s=0;s<n;s+=1)a=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=a.k||this.k,this.dataProps[s]={n:e[s].n,p:a};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=[],n,a,o;for(o=e.g.p*4,a=0;a<o;a+=4)n=createNS("stop"),i.appendChild(n),s.push(n);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,n=createNS("mask"),a=createNS("path");n.appendChild(a);var o=createElementID(),l=createElementID();n.setAttribute("id",l);var h=createNS(t.t===1?"linearGradient":"radialGradient");h.setAttribute("id",o),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 u=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),u.push(r);a.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),t.ty==="gs"&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=h,this.ms=n,this.ost=u,this.maskId=l,e.msElem=a;}},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(t,e,r,i){if(e===0)return "";var s=t.o,n=t.i,a=t.v,o,l=" M"+i.applyToPointStringified(a[0][0],a[0][1]);for(o=1;o<e;o+=1)l+=" C"+i.applyToPointStringified(s[o-1][0],s[o-1][1])+" "+i.applyToPointStringified(n[o][0],n[o][1])+" "+i.applyToPointStringified(a[o][0],a[o][1]);return r&&e&&(l+=" C"+i.applyToPointStringified(s[o-1][0],s[o-1][1])+" "+i.applyToPointStringified(n[0][0],n[0][1])+" "+i.applyToPointStringified(a[0][0],a[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,r={createRenderFunction:i};function i(c){switch(c.ty){case"fl":return o;case"gf":return h;case"gs":return l;case"st":return u;case"sh":case"el":case"rc":case"sr":return a;case"tr":return s;case"no":return n;default:return null}}function s(c,d,m){(m||d.transform.op._mdf)&&d.transform.container.setAttribute("opacity",d.transform.op.v),(m||d.transform.mProps._mdf)&&d.transform.container.setAttribute("transform",d.transform.mProps.v.to2dCSS());}function n(){}function a(c,d,m){var p,f,v,y,g,b,x=d.styles.length,S=d.lvl,C,P,T,V;for(b=0;b<x;b+=1){if(y=d.sh._mdf||m,d.styles[b].lvl<S){for(P=e.reset(),T=S-d.styles[b].lvl,V=d.transformers.length-1;!y&&T>0;)y=d.transformers[V].mProps._mdf||y,T-=1,V-=1;if(y)for(T=S-d.styles[b].lvl,V=d.transformers.length-1;T>0;)P.multiply(d.transformers[V].mProps.v),T-=1,V-=1;}else P=t;if(C=d.sh.paths,f=C._length,y){for(v="",p=0;p<f;p+=1)g=C.shapes[p],g&&g._length&&(v+=buildShapeString(g,g._length,g.c,P));d.caches[b]=v;}else v=d.caches[b];d.styles[b].d+=c.hd===!0?"":v,d.styles[b]._mdf=y||d.styles[b]._mdf;}}function o(c,d,m){var p=d.style;(d.c._mdf||m)&&p.pElem.setAttribute("fill","rgb("+bmFloor(d.c.v[0])+","+bmFloor(d.c.v[1])+","+bmFloor(d.c.v[2])+")"),(d.o._mdf||m)&&p.pElem.setAttribute("fill-opacity",d.o.v);}function l(c,d,m){h(c,d,m),u(c,d,m);}function h(c,d,m){var p=d.gf,f=d.g._hasOpacity,v=d.s.v,y=d.e.v;if(d.o._mdf||m){var g=c.ty==="gf"?"fill-opacity":"stroke-opacity";d.style.pElem.setAttribute(g,d.o.v);}if(d.s._mdf||m){var b=c.t===1?"x1":"cx",x=b==="x1"?"y1":"cy";p.setAttribute(b,v[0]),p.setAttribute(x,v[1]),f&&!d.g._collapsable&&(d.of.setAttribute(b,v[0]),d.of.setAttribute(x,v[1]));}var S,C,P,T;if(d.g._cmdf||m){S=d.cst;var V=d.g.c;for(P=S.length,C=0;C<P;C+=1)T=S[C],T.setAttribute("offset",V[C*4]+"%"),T.setAttribute("stop-color","rgb("+V[C*4+1]+","+V[C*4+2]+","+V[C*4+3]+")");}if(f&&(d.g._omdf||m)){var $=d.g.o;for(d.g._collapsable?S=d.cst:S=d.ost,P=S.length,C=0;C<P;C+=1)T=S[C],d.g._collapsable||T.setAttribute("offset",$[C*2]+"%"),T.setAttribute("stop-opacity",$[C*2+1]);}if(c.t===1)(d.e._mdf||m)&&(p.setAttribute("x2",y[0]),p.setAttribute("y2",y[1]),f&&!d.g._collapsable&&(d.of.setAttribute("x2",y[0]),d.of.setAttribute("y2",y[1])));else {var R;if((d.s._mdf||d.e._mdf||m)&&(R=Math.sqrt(Math.pow(v[0]-y[0],2)+Math.pow(v[1]-y[1],2)),p.setAttribute("r",R),f&&!d.g._collapsable&&d.of.setAttribute("r",R)),d.e._mdf||d.h._mdf||d.a._mdf||m){R||(R=Math.sqrt(Math.pow(v[0]-y[0],2)+Math.pow(v[1]-y[1],2)));var j=Math.atan2(y[1]-v[1],y[0]-v[0]),q=d.h.v;q>=1?q=.99:q<=-1&&(q=-.99);var F=R*q,U=Math.cos(j+d.a.v)*F+v[0],A=Math.sin(j+d.a.v)*F+v[1];p.setAttribute("fx",U),p.setAttribute("fy",A),f&&!d.g._collapsable&&(d.of.setAttribute("fx",U),d.of.setAttribute("fy",A));}}}function u(c,d,m){var p=d.style,f=d.d;f&&(f._mdf||m)&&f.dashStr&&(p.pElem.setAttribute("stroke-dasharray",f.dashStr),p.pElem.setAttribute("stroke-dashoffset",f.dashoffset[0])),d.c&&(d.c._mdf||m)&&p.pElem.setAttribute("stroke","rgb("+bmFloor(d.c.v[0])+","+bmFloor(d.c.v[1])+","+bmFloor(d.c.v[2])+")"),(d.o._mdf||m)&&p.pElem.setAttribute("stroke-opacity",d.o.v),(d.w._mdf||m)&&(p.pElem.setAttribute("stroke-width",d.w.v),p.msElem&&p.msElem.setAttribute("stroke-width",d.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,n,a=[],o=!1;for(i=0;i<s;i+=1){for(n=this.stylesList[i],o=!1,a.length=0,t=0;t<e;t+=1)r=this.shapes[t],r.styles.indexOf(n)!==-1&&(a.push(r),o=r._isAnimated||o);a.length>1&&o&&this.setShapesAsAnimated(a);}},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 n=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new n(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),n=new SVGShapeData(e,r,s);return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(t,n),n},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,n,a){var o=[].concat(n),l,h=t.length-1,u,c,d=[],m=[],p,f,v;for(l=h;l>=0;l-=1){if(v=this.searchProcessedElement(t[l]),v?e[l]=r[v-1]:t[l]._render=a,t[l].ty==="fl"||t[l].ty==="st"||t[l].ty==="gf"||t[l].ty==="gs"||t[l].ty==="no")v?e[l].style.closed=!1:e[l]=this.createStyleElement(t[l],s),t[l]._render&&e[l].style.pElem.parentNode!==i&&i.appendChild(e[l].style.pElem),d.push(e[l].style);else if(t[l].ty==="gr"){if(!v)e[l]=this.createGroupElement(t[l]);else for(c=e[l].it.length,u=0;u<c;u+=1)e[l].prevViewData[u]=e[l].it[u];this.searchShapes(t[l].it,e[l].it,e[l].prevViewData,e[l].gr,s+1,o,a),t[l]._render&&e[l].gr.parentNode!==i&&i.appendChild(e[l].gr);}else t[l].ty==="tr"?(v||(e[l]=this.createTransformElement(t[l],i)),p=e[l].transform,o.push(p)):t[l].ty==="sh"||t[l].ty==="rc"||t[l].ty==="el"||t[l].ty==="sr"?(v||(e[l]=this.createShapeElement(t[l],o,s)),this.setElementStyles(e[l])):t[l].ty==="tm"||t[l].ty==="rd"||t[l].ty==="ms"||t[l].ty==="pb"||t[l].ty==="zz"||t[l].ty==="op"?(v?(f=e[l],f.closed=!1):(f=ShapeModifiers.getModifier(t[l].ty),f.init(this,t[l]),e[l]=f,this.shapeModifiers.push(f)),m.push(f)):t[l].ty==="rp"&&(v?(f=e[l],f.closed=!0):(f=ShapeModifiers.getModifier(t[l].ty),e[l]=f,f.init(this,t,l,e),this.shapeModifiers.push(f),a=!1),m.push(f));this.addProcessedElement(t[l],l+1);}for(h=d.length,l=0;l<h;l+=1)d[l].closed=!0;for(h=m.length,l=0;l<h;l+=1)m[l].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,n){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=s,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0};}LetterProps.prototype.update=function(t,e,r,i,s,n){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 a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,a=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,a=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,a=!0),n.length&&(this.p[0]!==n[0]||this.p[1]!==n[1]||this.p[4]!==n[4]||this.p[5]!==n[5]||this.p[12]!==n[12]||this.p[13]!==n[13])&&(this.p=n,this._mdf.p=!0,a=!0),a};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,n=t||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)r!==this.keysIndex?n=this.effectsSequence[i](n,n.t):n=this.effectsSequence[i](this.currentData,n.t);e!==n&&this.setCurrentData(n),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,n,a=!1,o=!1,l="";r<i;)a=o,o=!1,s=t.charCodeAt(r),l=t.charAt(r),FontManager.isCombinedCharacter(s)?a=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(t,r)?l=t.substr(r,14):(n=t.charCodeAt(r+1),n>=56320&&n<=57343&&(FontManager.isModifier(s,n)?(l=t.substr(r,2),a=!0):FontManager.isFlagEmoji(t.substr(r,4))?l=t.substr(r,4):l=t.substr(r,2))):s>56319?(n=t.charCodeAt(r+1),FontManager.isVariationSelector(s)&&(a=!0)):FontManager.isZeroWidthJoiner(s)&&(a=!0,o=!0),a?(e[e.length-1]+=l,a=!1):e.push(l),r+=l.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,i=[],s,n,a,o=0,l,h=r.m.g,u=0,c=0,d=0,m=[],p=0,f=0,v,y,g=e.getFontByName(t.f),b,x=0,S=getFontProperties(g);t.fWeight=S.weight,t.fStyle=S.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),n=t.finalText.length,t.finalLineHeight=t.lh;var C=t.tr/1e3*t.finalSize,P;if(t.sz)for(var T=!0,V=t.sz[0],$=t.sz[1],R,j;T;){j=this.buildFinalText(t.t),R=0,p=0,n=j.length,C=t.tr/1e3*t.finalSize;var q=-1;for(s=0;s<n;s+=1)P=j[s].charCodeAt(0),a=!1,j[s]===" "?q=s:(P===13||P===3)&&(p=0,a=!0,R+=t.finalLineHeight||t.finalSize*1.2),e.chars?(b=e.getCharData(j[s],g.fStyle,g.fFamily),x=a?0:b.w*t.finalSize/100):x=e.measureText(j[s],t.f,t.finalSize),p+x>V&&j[s]!==" "?(q===-1?n+=1:s=q,R+=t.finalLineHeight||t.finalSize*1.2,j.splice(s,q===s?1:0,"\r"),q=-1,p=0):(p+=x,p+=C);R+=g.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&$<R?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=j,n=t.finalText.length,T=!1);}p=-C,x=0;var F=0,U;for(s=0;s<n;s+=1)if(a=!1,U=t.finalText[s],P=U.charCodeAt(0),P===13||P===3?(F=0,m.push(p),f=p>f?p:f,p=-2*C,l="",a=!0,d+=1):l=U,e.chars?(b=e.getCharData(U,g.fStyle,e.getFontByName(t.f).fFamily),x=a?0:b.w*t.finalSize/100):x=e.measureText(l,t.f,t.finalSize),U===" "?F+=x+C:(p+=x+C+F,F=0),i.push({l:x,an:x,add:u,n:a,anIndexes:[],val:l,line:d,animatorJustifyOffset:0}),h==2){if(u+=x,l===""||l===" "||s===n-1){for((l===""||l===" ")&&(u-=x);c<=s;)i[c].an=u,i[c].ind=o,i[c].extra=x,c+=1;o+=1,u=0;}}else if(h==3){if(u+=x,l===""||s===n-1){for(l===""&&(u-=x);c<=s;)i[c].an=u,i[c].ind=o,i[c].extra=x,c+=1;u=0,o+=1;}}else i[o].ind=o,i[o].extra=0,o+=1;if(t.l=i,f=p>f?p:f,m.push(p),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=f,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0;}t.lineWidths=m;var A=r.a,M,_;y=A.length;var E,L,I=[];for(v=0;v<y;v+=1){for(M=A[v],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),L=0,E=M.s.b,s=0;s<n;s+=1)_=i[s],_.anIndexes[v]=L,(E==1&&_.val!==""||E==2&&_.val!==""&&_.val!==" "||E==3&&(_.n||_.val==" "||s==n-1)||E==4&&(_.n||s==n-1))&&(M.s.rn===1&&I.push(L),L+=1);r.a[v].s.totalChars=L;var X=-1,Y;if(M.s.rn===1)for(s=0;s<n;s+=1)_=i[s],X!=_.anIndexes[v]&&(X=_.anIndexes[v],Y=I.splice(Math.floor(Math.random()*I.length),1)[0]),_.anIndexes[v]=Y;}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=g.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(n,a){this._currentTextLength=-1,this.k=!1,this.data=a,this.elem=n,this.comp=n.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(n),this.s=PropertyFactory.getProp(n,a.s||{k:0},0,0,this),"e"in a?this.e=PropertyFactory.getProp(n,a.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(n,a.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(n,a.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(n,a.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(n,a.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(n,a.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 a=0,o=0,l=1,h=1;this.ne.v>0?a=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?l=1-this.xe.v/100:h=1+this.xe.v/100;var u=BezierFactory.getBezierEasing(a,o,l,h).get,c=0,d=this.finalS,m=this.finalE,p=this.data.sh;if(p===2)m===d?c=n>=m?1:0:c=t(0,e(.5/(m-d)+(n-d)/(m-d),1)),c=u(c);else if(p===3)m===d?c=n>=m?0:1:c=1-t(0,e(.5/(m-d)+(n-d)/(m-d),1)),c=u(c);else if(p===4)m===d?c=0:(c=t(0,e(.5/(m-d)+(n-d)/(m-d),1)),c<.5?c*=2:c=1-2*(c-.5)),c=u(c);else if(p===5){if(m===d)c=0;else {var f=m-d;n=e(t(0,n+.5-d),m-d);var v=-f/2+n,y=f/2;c=Math.sqrt(1-v*v/(y*y));}c=u(c);}else p===6?(m===d?c=0:(n=e(t(0,n+.5-d),m-d),c=(1+Math.cos(Math.PI+Math.PI*2*n/(m-d)))/2),c=u(c)):(n>=r(d)&&(n-d<0?c=t(0,e(e(m,1)-(d-n),1)):c=t(0,e(m-n,1))),c=u(c));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var b=.5-g*.5;c<b?c=0:(c=(c-b)/g,c>1&&(c=1));}return c*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 a=this.data.r===2?1:100/this.data.totalChars,o=this.o.v/a,l=this.s.v/a+o,h=this.e.v/a+o;if(l>h){var u=l;l=h,h=u;}this.finalS=l,this.finalE=h;}},extendPrototype([DynamicPropertyContainer],i);function s(n,a,o){return new i(n,a)}return {getTextSelectorProp:s}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,n=e.a;this.a={r:n.r?s(t,n.r,0,degToRads,r):i,rx:n.rx?s(t,n.rx,0,degToRads,r):i,ry:n.ry?s(t,n.ry,0,degToRads,r):i,sk:n.sk?s(t,n.sk,0,degToRads,r):i,sa:n.sa?s(t,n.sa,0,degToRads,r):i,s:n.s?s(t,n.s,1,.01,r):i,a:n.a?s(t,n.a,1,0,r):i,o:n.o?s(t,n.o,0,.01,r):i,p:n.p?s(t,n.p,1,0,r):i,sw:n.sw?s(t,n.sw,0,0,r):i,sc:n.sc?s(t,n.sc,1,0,r):i,fc:n.fc?s(t,n.fc,1,0,r):i,fh:n.fh?s(t,n.fh,0,0,r):i,fs:n.fs?s(t,n.fs,0,.01,r):i,fb:n.fb?s(t,n.fb,0,.01,r):i,t:n.t?s(t,n.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,n=this.mHelper,a=this._renderType,o=this.renderedLetters.length,l,h,u,c,d=t.l,m,p,f,v,y,g,b,x,S,C,P,T,V,$,R;if(this._hasMaskedPath){if(R=this._pathData.m,!this._pathData.n||this._pathData._mdf){var j=R.v;this._pathData.r.v&&(j=j.reverse()),m={tLength:0,segments:[]},c=j._length-1;var q;for(T=0,u=0;u<c;u+=1)q=bez.buildBezierData(j.v[u],j.v[u+1],[j.o[u][0]-j.v[u][0],j.o[u][1]-j.v[u][1]],[j.i[u+1][0]-j.v[u+1][0],j.i[u+1][1]-j.v[u+1][1]]),m.tLength+=q.segmentLength,m.segments.push(q),T+=q.segmentLength;u=c,R.v.c&&(q=bez.buildBezierData(j.v[u],j.v[0],[j.o[u][0]-j.v[u][0],j.o[u][1]-j.v[u][1]],[j.i[0][0]-j.v[0][0],j.i[0][1]-j.v[0][1]]),m.tLength+=q.segmentLength,m.segments.push(q),T+=q.segmentLength),this._pathData.pi=m;}if(m=this._pathData.pi,p=this._pathData.f.v,b=0,g=1,v=0,y=!0,C=m.segments,p<0&&R.v.c)for(m.tLength<Math.abs(p)&&(p=-Math.abs(p)%m.tLength),b=C.length-1,S=C[b].points,g=S.length-1;p<0;)p+=S[g].partialLength,g-=1,g<0&&(b-=1,S=C[b].points,g=S.length-1);S=C[b].points,x=S[g-1],f=S[g],P=f.partialLength;}c=d.length,l=0,h=0;var F=t.finalSize*1.2*.714,U=!0,A,M,_,E,L;E=i.length;var I,X=-1,Y,H,G,Q=p,rt=b,st=g,ut=-1,dt,ot,ht,nt,tt,It,$t,Bt,Lt="",wt=this.defaultPropsArray,At;if(t.j===2||t.j===1){var pt=0,J=0,K=t.j===2?-.5:-1,at=0,ft=!0;for(u=0;u<c;u+=1)if(d[u].n){for(pt&&(pt+=J);at<u;)d[at].animatorJustifyOffset=pt,at+=1;pt=0,ft=!0;}else {for(_=0;_<E;_+=1)A=i[_].a,A.t.propType&&(ft&&t.j===2&&(J+=A.t.v*K),M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),I.length?pt+=A.t.v*I[0]*K:pt+=A.t.v*I*K);ft=!1;}for(pt&&(pt+=J);at<u;)d[at].animatorJustifyOffset=pt,at+=1;}for(u=0;u<c;u+=1){if(n.reset(),dt=1,d[u].n)l=0,h+=t.yOffset,h+=U?1:0,p=Q,U=!1,this._hasMaskedPath&&(b=rt,g=st,S=C[b].points,x=S[g-1],f=S[g],P=f.partialLength,v=0),Lt="",Bt="",It="",At="",wt=this.defaultPropsArray;else {if(this._hasMaskedPath){if(ut!==d[u].line){switch(t.j){case 1:p+=T-t.lineWidths[d[u].line];break;case 2:p+=(T-t.lineWidths[d[u].line])/2;break}ut=d[u].line;}X!==d[u].ind&&(d[X]&&(p+=d[X].extra),p+=d[u].an/2,X=d[u].ind),p+=r[0]*d[u].an*.005;var Pt=0;for(_=0;_<E;_+=1)A=i[_].a,A.p.propType&&(M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),I.length?Pt+=A.p.v[0]*I[0]:Pt+=A.p.v[0]*I),A.a.propType&&(M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),I.length?Pt+=A.a.v[0]*I[0]:Pt+=A.a.v[0]*I);for(y=!0,this._pathData.a.v&&(p=d[0].an*.5+(T-this._pathData.f.v-d[0].an*.5-d[d.length-1].an*.5)*X/(c-1),p+=this._pathData.f.v);y;)v+P>=p+Pt||!S?(V=(p+Pt-v)/f.partialLength,H=x.point[0]+(f.point[0]-x.point[0])*V,G=x.point[1]+(f.point[1]-x.point[1])*V,n.translate(-r[0]*d[u].an*.005,-(r[1]*F)*.01),y=!1):S&&(v+=f.partialLength,g+=1,g>=S.length&&(g=0,b+=1,C[b]?S=C[b].points:R.v.c?(g=0,b=0,S=C[b].points):(v-=f.partialLength,S=null)),S&&(x=f,f=S[g],P=f.partialLength));Y=d[u].an/2-d[u].add,n.translate(-Y,0,0);}else Y=d[u].an/2-d[u].add,n.translate(-Y,0,0),n.translate(-r[0]*d[u].an*.005,-r[1]*F*.01,0);for(_=0;_<E;_+=1)A=i[_].a,A.t.propType&&(M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),(l!==0||t.j!==0)&&(this._hasMaskedPath?I.length?p+=A.t.v*I[0]:p+=A.t.v*I:I.length?l+=A.t.v*I[0]:l+=A.t.v*I));for(t.strokeWidthAnim&&(ht=t.sw||0),t.strokeColorAnim&&(t.sc?ot=[t.sc[0],t.sc[1],t.sc[2]]:ot=[0,0,0]),t.fillColorAnim&&t.fc&&(nt=[t.fc[0],t.fc[1],t.fc[2]]),_=0;_<E;_+=1)A=i[_].a,A.a.propType&&(M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),I.length?n.translate(-A.a.v[0]*I[0],-A.a.v[1]*I[1],A.a.v[2]*I[2]):n.translate(-A.a.v[0]*I,-A.a.v[1]*I,A.a.v[2]*I));for(_=0;_<E;_+=1)A=i[_].a,A.s.propType&&(M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),I.length?n.scale(1+(A.s.v[0]-1)*I[0],1+(A.s.v[1]-1)*I[1],1):n.scale(1+(A.s.v[0]-1)*I,1+(A.s.v[1]-1)*I,1));for(_=0;_<E;_+=1){if(A=i[_].a,M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),A.sk.propType&&(I.length?n.skewFromAxis(-A.sk.v*I[0],A.sa.v*I[1]):n.skewFromAxis(-A.sk.v*I,A.sa.v*I)),A.r.propType&&(I.length?n.rotateZ(-A.r.v*I[2]):n.rotateZ(-A.r.v*I)),A.ry.propType&&(I.length?n.rotateY(A.ry.v*I[1]):n.rotateY(A.ry.v*I)),A.rx.propType&&(I.length?n.rotateX(A.rx.v*I[0]):n.rotateX(A.rx.v*I)),A.o.propType&&(I.length?dt+=(A.o.v*I[0]-dt)*I[0]:dt+=(A.o.v*I-dt)*I),t.strokeWidthAnim&&A.sw.propType&&(I.length?ht+=A.sw.v*I[0]:ht+=A.sw.v*I),t.strokeColorAnim&&A.sc.propType)for(tt=0;tt<3;tt+=1)I.length?ot[tt]+=(A.sc.v[tt]-ot[tt])*I[0]:ot[tt]+=(A.sc.v[tt]-ot[tt])*I;if(t.fillColorAnim&&t.fc){if(A.fc.propType)for(tt=0;tt<3;tt+=1)I.length?nt[tt]+=(A.fc.v[tt]-nt[tt])*I[0]:nt[tt]+=(A.fc.v[tt]-nt[tt])*I;A.fh.propType&&(I.length?nt=addHueToRGB(nt,A.fh.v*I[0]):nt=addHueToRGB(nt,A.fh.v*I)),A.fs.propType&&(I.length?nt=addSaturationToRGB(nt,A.fs.v*I[0]):nt=addSaturationToRGB(nt,A.fs.v*I)),A.fb.propType&&(I.length?nt=addBrightnessToRGB(nt,A.fb.v*I[0]):nt=addBrightnessToRGB(nt,A.fb.v*I));}}for(_=0;_<E;_+=1)A=i[_].a,A.p.propType&&(M=i[_].s,I=M.getMult(d[u].anIndexes[_],s.a[_].s.totalChars),this._hasMaskedPath?I.length?n.translate(0,A.p.v[1]*I[0],-A.p.v[2]*I[1]):n.translate(0,A.p.v[1]*I,-A.p.v[2]*I):I.length?n.translate(A.p.v[0]*I[0],A.p.v[1]*I[1],-A.p.v[2]*I[2]):n.translate(A.p.v[0]*I,A.p.v[1]*I,-A.p.v[2]*I));if(t.strokeWidthAnim&&(It=ht<0?0:ht),t.strokeColorAnim&&($t="rgb("+Math.round(ot[0]*255)+","+Math.round(ot[1]*255)+","+Math.round(ot[2]*255)+")"),t.fillColorAnim&&t.fc&&(Bt="rgb("+Math.round(nt[0]*255)+","+Math.round(nt[1]*255)+","+Math.round(nt[2]*255)+")"),this._hasMaskedPath){if(n.translate(0,-t.ls),n.translate(0,r[1]*F*.01+h,0),this._pathData.p.v){$=(f.point[1]-x.point[1])/(f.point[0]-x.point[0]);var te=Math.atan($)*180/Math.PI;f.point[0]<x.point[0]&&(te+=180),n.rotate(-te*Math.PI/180);}n.translate(H,G,0),p-=r[0]*d[u].an*.005,d[u+1]&&X!==d[u+1].ind&&(p+=d[u].an/2,p+=t.tr*.001*t.finalSize);}else {switch(n.translate(l,h,0),t.ps&&n.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:n.translate(d[u].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[d[u].line]),0,0);break;case 2:n.translate(d[u].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[d[u].line])/2,0,0);break}n.translate(0,-t.ls),n.translate(Y,0,0),n.translate(r[0]*d[u].an*.005,r[1]*F*.01,0),l+=d[u].l+t.tr*.001*t.finalSize;}a==="html"?Lt=n.toCSS():a==="svg"?Lt=n.to2dCSS():wt=[n.props[0],n.props[1],n.props[2],n.props[3],n.props[4],n.props[5],n.props[6],n.props[7],n.props[8],n.props[9],n.props[10],n.props[11],n.props[12],n.props[13],n.props[14],n.props[15]],At=dt;}o<=u?(L=new LetterProps(At,It,$t,Bt,Lt,wt),this.renderedLetters.push(L),o+=1,this.lettersChangedFlag=!0):(L=this.renderedLetters[u],this.lettersChangedFlag=L.update(At,It,$t,Bt,Lt,wt)||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,n="";for(r=0;r<i;r+=1)e[r].ty==="sh"&&(s=e[r].ks.k,n+=buildShapeString(s,s.i.length,!0,t));return n},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,n=r.fStyle;this.layerElement.setAttribute("font-style",n),this.layerElement.setAttribute("font-weight",s);}this.layerElement.setAttribute("aria-label",r.t);var a=r.l||[],o=!!this.globalData.fontManager.chars;e=a.length;var l,h=this.mHelper,u="",c=this.data.singleShape,d=0,m=0,p=!0,f=r.tr*.001*r.finalSize;if(c&&!o&&!r.sz){var v=this.textContainer,y="start";switch(r.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}v.setAttribute("text-anchor",y),v.setAttribute("letter-spacing",f);var g=this.buildTextContents(r.finalText);for(e=g.length,m=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)l=this.textSpans[t].span||createNS("tspan"),l.textContent=g[t],l.setAttribute("x",0),l.setAttribute("y",m),l.style.display="inherit",v.appendChild(l),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=l,m+=r.finalLineHeight;this.layerElement.appendChild(v);}else {var b=this.textSpans.length,x;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!o||!c||t===0){if(l=b>t?this.textSpans[t].span:createNS(o?"g":"text"),b<=t){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=l,o){var S=createNS("g");l.appendChild(S),this.textSpans[t].childSpan=S;}this.textSpans[t].span=l,this.layerElement.appendChild(l);}l.style.display="inherit";}if(h.reset(),c&&(a[t].n&&(d=-f,m+=r.yOffset,m+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(r,h,a[t].line,d,m),d+=a[t].l||0,d+=f),o){x=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var C;if(x.t===1)C=new SVGCompElement(x.data,this.globalData,this);else {var P=emptyShapeData;x.data&&x.data.shapes&&(P=this.buildShapeData(x.data,r.finalSize)),C=new SVGShapeElement(P,this.globalData,this);}if(this.textSpans[t].glyph){var T=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(T.layerElement),T.destroy();}this.textSpans[t].glyph=C,C._debug=!0,C.prepareFrame(0),C.renderFrame(),this.textSpans[t].childSpan.appendChild(C.layerElement),x.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")");}else c&&l.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),l.textContent=a[t].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");}c&&l&&l.setAttribute("d",u);}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,n,a;for(t=0;t<e;t+=1)i[t].n||(s=r[t],n=this.textSpans[t].span,a=this.textSpans[t].glyph,a&&a.renderFrame(),s._mdf.m&&n.setAttribute("transform",s.m),s._mdf.o&&n.setAttribute("opacity",s.o),s._mdf.sw&&n.setAttribute("stroke-width",s.sw),s._mdf.sc&&n.setAttribute("stroke",s.sc),s._mdf.fc&&n.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,
580,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],n=s.getMatte(this.layers[t].tt);r.setMatte(n);}}}},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],n=s.getMatte(this.layers[e].tt);t.setMatte(n);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="";
vendor: 2,978 bytes, line 58
58if(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 n=createNS("desc"),a=createElementID();n.setAttribute("id",a),n.textContent=e.description,this.svgElement.appendChild(n),r+=" "+a;}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,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:o,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(t){var e,r=t.length,i="_";for(e=0;e<r;e+=1)i+=t[e].transform.key+"_";var s=this.sequences[i];return s||(s={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=s,this.sequenceList.push(s)),s},processSequence:function(t,e){for(var r=0,i=t.transforms.length,s=e;r<i&&!e;){if(t.transforms[r].transform.mProps._mdf){s=!0;break}r+=1;}if(s)for(t.finalTransform.reset(),r=i-1;r>=0;r-=1)t.finalTransform.multiply(t.transforms[r].transform.mProps.v);t._mdf=s;},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t);},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,r=null,i=null;function s(){var o=createNS("svg"),l=createNS("filter"),h=createNS("feColorMatrix");return l.setAttribute("id",t),h.setAttribute("type","matrix"),h.setAttribute("color-interpolation-filters","sRGB"),h.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"),l.appendChild(h),o.appendChild(l),o.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(o.style.display="none"),o}function n(){e||(i=s(),document.body.appendChild(i),e=createTag("canvas"),r=e.getContext("2d"),r.filter="url
58(#"+t+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1));}function a(o){return e||n(),e.width=o.width,e.height=o.height,r.filter="url(#"+t+")",e}return {load:n,get:a}};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 n=registeredEffects[s].effect;i=new n(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,n,a;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)),a=this.viewData[r].v,s=t.applyToPointArray(a.v[0][0],a.v[0][1],0),e.moveTo(s[0],s[1]);var o,l=a._length;for(o=1;o<l;o+=1)n=t.applyToTriplePoints(a.o[o-1],a.i[o],a.v[o]),e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=t.applyToTriplePoints(a.o[o-1],a.i[0],a.v[0]),e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[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 t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r),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 t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e;}},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(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy);},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var r=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(r.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var i=assetLoader.getLumaCanvas(this.canvasContext.canvas),s=i.getContext("2d");s.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(i,0,0);}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over";}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1);}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy();},mHelper:new 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 n,a=r.length,o;for(n=0;n<a;n+=1)r[n].closed||(o={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(o),r[n].elements.push(o));}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;
vendor: 105,172 bytes, line 58
58e+=1)t[e].closed=!0;},CVShapeElement.prototype.searchShapes=function(t,e,r,i,s){var n,a=t.length-1,o,l,h=[],u=[],c,d,m,p=[].concat(s);for(n=a;n>=0;n-=1){if(c=this.searchProcessedElement(t[n]),c?e[n]=r[c-1]:t[n]._shouldRender=i,t[n].ty==="fl"||t[n].ty==="st"||t[n].ty==="gf"||t[n].ty==="gs")c?e[n].style.closed=!1:e[n]=this.createStyleElement(t[n],p),h.push(e[n].style);else if(t[n].ty==="gr"){if(!c)e[n]=this.createGroupElement(t[n]);else for(l=e[n].it.length,o=0;o<l;o+=1)e[n].prevViewData[o]=e[n].it[o];this.searchShapes(t[n].it,e[n].it,e[n].prevViewData,i,p);}else t[n].ty==="tr"?(c||(m=this.createTransformElement(t[n]),e[n]=m),p.push(e[n]),this.addTransformToStyleList(e[n])):t[n].ty==="sh"||t[n].ty==="rc"||t[n].ty==="el"||t[n].ty==="sr"?c||(e[n]=this.createShapeElement(t[n])):t[n].ty==="tm"||t[n].ty==="rd"||t[n].ty==="pb"||t[n].ty==="zz"||t[n].ty==="op"?(c?(d=e[n],d.closed=!1):(d=ShapeModifiers.getModifier(t[n].ty),d.init(this,t[n]),e[n]=d,this.shapeModifiers.push(d)),u.push(d)):t[n].ty==="rp"&&(c?(d=e[n],d.closed=!0):(d=ShapeModifiers.getModifier(t[n].ty),e[n]=d,d.init(this,t,n,e),this.shapeModifiers.push(d),i=!1),u.push(d));this.addProcessedElement(t[n],n+1);}for(this.removeTransformFromStyleList(),this.closeStyles(h),a=u.length,n=0;n<a;n+=1)u[n].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,n,a,o,l=this.globalData.renderer,h=this.globalData.canvasContext,u,c;for(t=0;t<e;t+=1)if(c=this.stylesList[t],u=c.type,!((u==="st"||u==="gs")&&c.wi===0||!c.data._shouldRender||c.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),a=c.elements,u==="st"||u==="gs"?(l.ctxStrokeStyle(u==="st"?c.co:c.grd),l.ctxLineWidth(c.wi),l.ctxLineCap(c.lc),l.ctxLineJoin(c.lj),l.ctxMiterLimit(c.ml||0)):l.ctxFillStyle(u==="fl"?c.co:c.grd),l.ctxOpacity(c.coOp),u!=="st"&&u!=="gs"&&h.beginPath(),l.ctxTransform(c.preTransforms.finalTransform.props),i=a.length,r=0;r<i;r+=1){for((u==="st"||u==="gs")&&(h.beginPath(),c.da&&(h.setLineDash(c.da),h.lineDashOffset=c.do)),o=a[r].trNodes,n=o.length,s=0;s<n;s+=1)o[s].t==="m"?h.moveTo(o[s].p[0],o[s].p[1]):o[s].t==="c"?h.bezierCurveTo(o[s].pts[0],o[s].pts[1],o[s].pts[2],o[s].pts[3],o[s].pts[4],o[s].pts[5]):h.closePath();(u==="st"||u==="gs")&&(l.ctxStroke(),c.da&&h.setLineDash(this.dashResetter));}u!=="st"&&u!=="gs"&&this.globalData.renderer.ctxFill(c.r),l.restore();}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var s,n=e.length-1,a;for(a=t,s=n;s>=0;s-=1)e[s].ty==="tr"?(a=r[s].transform,this.renderShapeTransform(t,a)):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],a):e[s].ty==="st"?this.renderStroke(e[s],r[s],a):e[s].ty==="gf"||e[s].ty==="gs"?this.renderGradientFill(e[s],r[s],a):e[s].ty==="gr"?this.renderShape(a,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,n,a,o=i._length;r.length=0;var l=t.transforms.finalTransform;for(a=0;a<o;a+=1){var h=i.shapes[a];if(h&&h.v){for(n=h._length,s=1;s<n;s+=1)s===1&&r.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),r.push({t:"c",pts:l.applyToTriplePoints(h.o[s-1],h.i[s],h.v[s])});n===1&&r.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&n&&(r.push({t:"c",pts:l.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 n=this.globalData.canvasContext,a=e.s.v,o=e.e.v;if(t.t===1)s=n.createLinearGradient(a[0],a[1],o[0],o[1]);else {var l=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),h=Math.atan2(o[1]-a[1],o[0]-a[0]),u=e.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var c=l*u,d=Math.cos(h+e.a.v)*c+a[0],m=Math.sin(h+e.a.v)*c+a[1];s=n.createRadialGradient(d,m,0,a[0],a[1],l);}var p,f=t.g.p,v=e.g.c,y=1;for(p=0;p<f;p+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[p*2+1]),s.addColorStop(v[p*4]/100,"rgba("+v[p*4+1]+","+v[p*4+2]+","+v[p*4+3]+","+y+")");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,n,a=t.l,o=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,n=t.finalText.length;var l,h,u,c,d,m,p,f,v,y,g=this.data.singleShape,b=t.tr*.001*t.finalSize,x=0,S=0,C=!0,P=0;for(s=0;s<n;s+=1){l=this.globalData.fontManager.getCharData(t.finalText[s],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),h=l&&l.data||{},o.reset(),g&&a[s].n&&(x=-b,S+=t.yOffset,S+=C?1:0,C=!1),d=h.shapes?h.shapes[0].it:[],p=d.length,o.scale(t.finalSize/100,t.finalSize/100),g&&this.applyTextPropertiesToMatrix(t,o,a[s].line,x,S),v=createSizedArray(p-1);var T=0;for(m=0;m<p;m+=1)if(d[m].ty==="sh"){for(c=d[m].ks.k.i.length,f=d[m].ks.k,y=[],u=1;u<c;u+=1)u===1&&y.push(o.applyToX(f.v[0][0],f.v[0][1],0),o.applyToY(f.v[0][0],f.v[0][1],0)),y.push(o.applyToX(f.o[u-1][0],f.o[u-1][1],0),o.applyToY(f.o[u-1][0],f.o[u-1][1],0),o.applyToX(f.i[u][0],f.i[u][1],0),o.applyToY(f.i[u][0],f.i[u][1],0),o.applyToX(f.v[u][0],f.v[u][1],0),o.applyToY(f.v[u][0],f.v[u][1],0));y.push(o.applyToX(f.o[u-1][0],f.o[u-1][1],0),o.applyToY(f.o[u-1][0],f.o[u-1][1],0),o.applyToX(f.i[0][0],f.i[0][1],0),o.applyToY(f.i[0][0],f.i[0][1],0),o.applyToX(f.v[0][0],f.v[0][1],0),o.applyToY(f.v[0][0],f.v[0][1],0)),v[T]=y,T+=1;}g&&(x+=a[s].l,x+=b),this.textSpans[P]?this.textSpans[P].elem=v:this.textSpans[P]={elem:v},P+=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,n,a,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var h,u=null,c=null,d=null,m,p,f=this.globalData.renderer;for(e=0;e<r;e+=1)if(!l[e].n){if(h=o[e],h&&(f.save(),f.ctxTransform(h.p),f.ctxOpacity(h.o)),this.fill){for(h&&h.fc?u!==h.fc&&(f.ctxFillStyle(h.fc),u=h.fc):u!==this.values.fill&&(u=this.values.fill,f.ctxFillStyle(this.values.fill)),m=this.textSpans[e].elem,s=m.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(p=m[i],a=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(p[n],p[n+1],p[n+2],p[n+3],p[n+4],p[n+5]);this.globalData.canvasContext.closePath(),f.ctxFill();}if(this.stroke){for(h&&h.sw?d!==h.sw&&(d=h.sw,f.ctxLineWidth(h.sw)):d!==this.values.sWidth&&(d=this.values.sWidth,f.ctxLineWidth(this.values.sWidth)),h&&h.sc?c!==h.sc&&(c=h.sc,f.ctxStrokeStyle(h.sc)):c!==this.values.stroke&&(c=this.values.stroke,f.ctxStrokeStyle(this.values.stroke)),m=this.textSpans[e].elem,s=m.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(p=m[i],a=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(p[n],p[n+1],p[n+2],p[n+3],p[n+4],p[n+5]);this.globalData.canvasContext.closePath(),f.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,n=this.assetData.w/this.assetData.h,a,o,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>n&&l==="xMidYMid slice"||s<n&&l!=="xMidYMid slice"?(o=i,a=o*n):(a=r,o=a/n),e.drawImage(this.img,(r-a)/2,(i-o)/2,a,o,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,n;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var a=this.renderConfig.preserveAspectRatio.split(" "),o=a[1]||"meet",l=a[0]||"xMidYMid",h=l.substr(0,4),u=l.substr(4);s=r/i,n=this.transformCanvas.w/this.transformCanvas.h,n>s&&o==="meet"||n<s&&o==="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"&&(n<s&&o==="meet"||n>s&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:h==="xMax"&&(n<s&&o==="meet"||n>s&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,u==="YMid"&&(n>s&&o==="meet"||n<s&&o==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:u==="YMax"&&(n>s&&o==="meet"||n<s&&o==="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 n=this.stack[this.cArrPos+1];this.appliedFillStyle=n.fillStyle,this.appliedStrokeStyle=n.strokeStyle,this.appliedLineWidth=n.lineWidth,this.appliedLineCap=n.lineCap,this.appliedLineJoin=n.lineJoin,this.appliedMiterLimit=n.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 t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e;}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v);},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1));},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null);},createRenderableComponents:function(){this.maskManager=new 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,n=r._length,a,o,l,h;if(!(n<=1)){for(s=0;s<n-1;s+=1)a=this.getTransformedPoint(i,r.v[s]),o=this.getTransformedPoint(i,r.o[s]),l=this.getTransformedPoint(i,r.i[s+1]),h=this.getTransformedPoint(i,r.v[s+1]),this.checkBounds(a,o,l,h,e);r.c&&(a=this.getTransformedPoint(i,r.v[s]),o=this.getTransformedPoint(i,r.o[s]),l=this.getTransformedPoint(i,r.i[0]),h=this.getTransformedPoint(i,r.v[0]),this.checkBounds(a,o,l,h,e));}},HShapeElement.prototype.checkBounds=function(t,e,r,i,s){this.getBoundsOfCurve(t,e,r,i);var n=this.shapeBoundingBox;s.x=bmMin(n.left,s.x),s.xMax=bmMax(n.right,s.xMax),s.y=bmMin(n.top,s.y),s.yMax=bmMax(n.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]]],n,a,o,l,h,u,c,d=0;d<2;++d)a=6*t[d]-12*e[d]+6*r[d],n=-3*t[d]+9*e[d]-9*r[d]+3*i[d],o=3*e[d]-3*t[d],a|=0,n|=0,o|=0,n===0&&a===0||(n===0?(l=-o/a,l>0&&l<1&&s[d].push(this.calculateF(l,t,e,r,i,d))):(h=a*a-4*o*n,h>=0&&(u=(-a+bmSqrt(h))/(2*n),u>0&&u<1&&s[d].push(this.calculateF(u,t,e,r,i,d)),c=(-a-bmSqrt(h))/(2*n),c>0&&c<1&&s[d].push(this.calculateF(c,t,e,r,i,d)))));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,n){return bmPow(1-t,3)*e[n]+3*bmPow(1-t,2)*t*r[n]+3*(1-t)*bmPow(t,2)*i[n]+bmPow(t,3)*s[n]},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,n=t.fStyle;e.fontStyle=n,e.fontWeight=s;}var a,o,l=t.l;o=l.length;var h,u,c,d=this.mHelper,m,p="",f=0;for(a=0;a<o;a+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?h=this.textPaths[f]:(h=createNS("path"),h.setAttribute("stroke-linecap",lineCapEnum[1]),h.setAttribute("stroke-linejoin",lineJoinEnum[2]),h.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?(u=this.textSpans[f],c=u.children[0]):(u=createTag("div"),u.style.lineHeight=0,c=createNS("svg"),c.appendChild(h),styleDiv(u)))):this.isMasked?h=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(u=this.textSpans[f],h=this.textPaths[f]):(u=createTag("span"),styleDiv(u),h=createTag("span"),styleDiv(h),u.appendChild(h)),this.globalData.fontManager.chars){var v=this.globalData.fontManager.getCharData(t.finalText[a],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),y;if(v?y=v.data:y=null,d.reset(),y&&y.shapes&&y.shapes.length&&(m=y.shapes[0].it,d.scale(t.finalSize/100,t.finalSize/100),p=this.createPathShape(d,m),h.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(h);else {if(this.innerElem.appendChild(u),y&&y.shapes){document.body.appendChild(c);var g=c.getBBox();c.setAttribute("width",g.width+2),c.setAttribute("height",g.height+2),c.setAttribute("viewBox",g.x-1+" "+(g.y-1)+" "+(g.width+2)+" "+(g.height+2));var b=c.style,x="translate("+(g.x-1)+"px,"+(g.y-1)+"px)";b.transform=x,b.webkitTransform=x,l[a].yOffset=g.y-1;}else c.setAttribute("width",1),c.setAttribute("height",1);u.appendChild(c);}}else if(h.textContent=l[a].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(h);else {this.innerElem.appendChild(u);var S=h.style,C="translate3d(0,"+-t.finalSize/1.2+"px,0)";S.transform=C,S.webkitTransform=C;}this.isMasked?this.textSpans[f]=h:this.textSpans[f]=u,this.textSpans[f].style.display="block",this.textPaths[f]=h,f+=1;}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=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,n=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;i=a.length;var o,l,h;for(r=0;r<i;r+=1)a[r].n?s+=1:(l=this.textSpans[r],h=this.textPaths[r],o=n[s],s+=1,o._mdf.m&&(this.isMasked?l.setAttribute("transform",o.m):(l.style.webkitTransform=o.m,l.style.transform=o.m)),l.style.opacity=o.o,o.sw&&o._mdf.sw&&h.setAttribute("stroke-width",o.sw),o.sc&&o._mdf.sc&&h.setAttribute("stroke",o.sc),o.fc&&o._mdf.fc&&(h.setAttribute("fill",o.fc),h.style.color=o.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height));var c=1;if(this.currentBBox.w!==u.width+c*2||this.currentBBox.h!==u.height+c*2||this.currentBBox.x!==u.x-c||this.currentBBox.y!==u.y-c){this.currentBBox.w=u.width+c*2,this.currentBBox.h=u.height+c*2,this.currentBBox.x=u.x-c,this.currentBBox.y=u.y-c,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=d,t.webkitTransform=d;}}}};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,n=t.ks.or.k.length;for(s=0;s<n;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 n=this.pe.v+"px",a="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=n,i.webkitPerspective=n,s.transformOrigin=a,s.mozTransformOrigin=a,s.webkitTransformOrigin=a,i.transform=o,i.webkitTransform=o;}},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 n=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),a=[s[0]/n,s[1]/n,s[2]/n],o=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],o),h=Math.atan2(a[0],-a[2]);this.mat.rotateY(h).rotateX(-l);}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 u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var c,d,m;for(e=0;e<r;e+=1)if(c=this.comp.threeDElements[e],c.type==="3d"){if(u){var p=this.mat.toCSS();m=c.container.style,m.transform=p,m.webkitTransform=p;}this.pe._mdf&&(d=c.perspectiveElem.style,d.perspective=this.pe.v+"px",d.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,n,a,o;s<e;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(a=this.elements[s],o=this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement(),n=o||n),s+=1;n?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,n):(!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 n=createTag("div");if(styleDiv(n),e==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var a="50% 50%";i.webkitTransformOrigin=a,i.mozTransformOrigin=a,i.transformOrigin=a,s=n.style;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=o,s.webkitTransform=o;}r.appendChild(n);var l={container:n,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},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,n;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(n=this.elements[s].getBaseElement()),s+=1;n?this.threeDElements[r].container.insertBefore(t,n):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 n=createNS("defs");s.appendChild(n),this.data=t,this.setupGlobalData(t,s),this.globalData.defs=n,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,n,a,o;i>r?(s=t/this.globalData.compSize.w,n=t/this.globalData.compSize.w,a=0,o=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(s=e/this.globalData.compSize.h,n=e/this.globalData.compSize.h,a=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,o=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+s+",0,0,0,0,"+n+",0,0,0,0,1,0,"+a+","+o+",0,1)",l.transform=l.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){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(e){return typeof e}:_typeof$2=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(t)}function seedRandom(t,e){var r=this,i=256,s=6,n=52,a="random",o=e.pow(i,s),l=e.pow(2,n),h=l*2,u=i-1;function d(b,x,S){var C=[];x=x===!0?{entropy:!0}:x||{};var P=v(f(x.entropy?[b,g(t)]:b===null?y():b,3),C),T=new m(C),V=function(){for(var $=T.g(s),R=o,j=0;$<l;)$=($+j)*i,R*=i,j=T.g(1);for(;$>=h;)$/=2,R/=2,j>>>=1;return ($+j)/R};return V.int32=function(){return T.g(4)|0},V.quick=function(){return T.g(4)/4294967296},V.double=V,v(g(T.S),t),(x.pass||S||function($,R,j,q){return q&&(q.S&&p(q,T),$.state=function(){return p(T,{})}),j?(e[a]=$,R):$})(V,P,"global"in x?x.global:this==e,x.state)}e["seed"+a]=d;function m(b){var x,S=b.length,C=this,P=0,T=C.i=C.j=0,V=C.S=[];for(S||(b=[S++]);P<i;)V[P]=P++;for(P=0;P<i;P++)V[P]=V[T=u&T+b[P%S]+(x=V[P])],V[T]=x;C.g=function($){for(var R,j=0,q=C.i,F=C.j,U=C.S;$--;)R=U[q=u&q+1],j=j*i+U[u&(U[q]=U[F=u&F+R])+(U[F]=R)];return C.i=q,C.j=F,j};}function p(b,x){return x.i=b.i,x.j=b.j,x.S=b.S.slice(),x}function f(b,x){var S=[],C=_typeof$2(b),P;if(x&&C=="object")for(P in b)try{S.push(f(b[P],x-1));}catch{}return S.length?S:C=="string"?b:b+"\0"}function v(b,x){for(var S=b+"",C,P=0;P<S.length;)x[u&P]=u&(C^=x[u&P]*19)+S.charCodeAt(P++);return g(x)}function y(){try{var b=new Uint8Array(i);return (r.crypto||r.msCrypto).getRandomValues(b),g(b)}catch{var x=r.navigator,S=x&&x.plugins;return [+new Date,r,S,r.screen,g(t)]}}function g(b){return String.fromCharCode.apply(0,b)}v(e.random(),t);}function initialize$2(t){seedRandom([],t);}var propTypes={SHAPE:"shape"};function _typeof$1(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(e){return typeof e}:_typeof$1=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_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,n=t.length,a=e.length,o=[];s<n||s<a;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?o[s]=t[s]+e[s]:o[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return o}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,n=t.length,a=e.length,o=[];s<n||s<a;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?o[s]=t[s]-e[s]:o[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return o}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 n,a;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(a=t.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=t[n]*e;return s}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=t*e[n];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 n,a;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(a=t.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=t[n]/e;return s}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=t/e[n];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),n=Math.min(e,r,i),a,o,l=(s+n)/2;if(s===n)a=0,o=0;else {var h=s-n;switch(o=l>.5?h/(2-s-n):h/(s+n),s){case e:a=(r-i)/h+(r<i?6:0);break;case r:a=(i-e)/h+2;break;case i:a=(e-r)/h+4;break}a/=6;}return [a,o,l,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,n,a;if(r===0)s=i,a=i,n=i;else {var o=i<.5?i*(1+r):i+r-i*r,l=2*i-o;s=hue2rgb(l,o,e+1/3),n=hue2rgb(l,o,e),a=hue2rgb(l,o,e-1/3);}return [s,n,a,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 n=r;r=e,e=n;}if(t<=e)return i;if(t>=r)return s;var a=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*a;var o,l=i.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=i[o]+(s[o]-i[o])*a;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),n=BMMath.random();for(r=0;r<i;r+=1)s[r]=t[r]+n*(e[r]-t[r]);return s}t===void 0&&(t=0);var a=BMMath.random();return t+a*(e-t)}function createPath(t,e,r,i){var s,n=t.length,a=shapePool.newElement();a.setPathData(!!i,n);var o=[0,0],l,h;for(s=0;s<n;s+=1)l=e&&e[s]?e[s]:o,h=r&&r[s]?r[s]:o,a.setTripleAt(t[s][0],t[s][1],h[0]+t[s][0],h[1]+t[s][1],l[0]+t[s][0],l[1]+t[s][1],s,!0);return a}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,n=this.pv.length?this.pv.length:1,a=createTypedArray("float32",n);e=5;var o=Math.floor(time*e);for(i=0,s=0;i<o;){for(s=0;s<n;s+=1)a[s]+=-r+r*2*BMMath.random();i+=1;}var l=time*e,h=l-Math.floor(l),u=createTypedArray("float32",n);if(n>1){for(s=0;s<n;s+=1)u[s]=this.pv[s]+a[s]+(-r+r*2*BMMath.random())*h;return u}return this.pv+a[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,n){s===void 0?(s=r,n=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(s)){var o,l=s.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=(n[o]-s[o])*a+s[o];return h}return (n-s)*a+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 n={};return n.index=i,n.time=s/elem.comp.globalData.frameRate,n}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 n(){i+=1;}function a(){i-=1,i===0&&l();}function o(h){s.indexOf(h)===-1&&s.push(h);}function l(){var h,u=s.length;for(h=0;h<u;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=n,r.renderer.globalData.popExpression=a,r.renderer.globalData.registerExpressionProperty=o;}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(r){var i=createSizedArray(r.viewData.length),s,n=r.viewData.length;for(s=0;s<n;s+=1)i[s]=new t(r.viewData[s],r.masksProperties[s]);var a=function(o){for(s=0;s<n;){if(r.masksProperties[s].nm===o)return i[s];s+=1;}return null};return a};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(a,o,l){Object.defineProperty(a,"velocity",{get:function(){return o.getVelocityAtTime(o.comp.currentFrame)}}),a.numKeys=o.keyframes?o.keyframes.length:0,a.key=function(h){if(!a.numKeys)return 0;var u="";"s"in o.keyframes[h-1]?u=o.keyframes[h-1].s:"e"in o.keyframes[h-2]?u=o.keyframes[h-2].e:u=o.keyframes[h-2].s;var c=l==="unidimensional"?new Number(u):Object.assign({},u);return c.time=o.keyframes[h-1].t/o.elem.comp.globalData.frameRate,c.value=l==="unidimensional"?u[0]:u,c},a.valueAtTime=o.getValueAtTime,a.speedAtTime=o.getSpeedAtTime,a.velocityAtTime=o.getVelocityAtTime,a.propertyGroup=o.propertyGroup;}function i(a){(!a||!("pv"in a))&&(a=t);var o=1/a.mult,l=a.pv*o,h=new Number(l);return h.value=l,r(h,a,"unidimensional"),function(){return a.k&&a.getValue(),l=a.v*o,h.value!==l&&(h=new Number(l),h.value=l,r(h,a,"unidimensional")),h}}function s(a){(!a||!("pv"in a))&&(a=e);var o=1/a.mult,l=a.data&&a.data.l||a.pv.length,h=createTypedArray("float32",l),u=createTypedArray("float32",l);return h.value=u,r(h,a,"multidimensional"),function(){a.k&&a.getValue();for(var c=0;c<l;c+=1)u[c]=a.v[c]*o,h[c]=u[c];return h}}function n(){return t}return function(a){return a?a.propType==="unidimensional"?i(a):s(a):n}}(),TransformExpressionInterface=function(){return function(t){function e(a){switch(a){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,n;return t.p?n=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?n():[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 u=new Matrix;if(h!==void 0){var c=this._elem.finalTransform.mProp.getValueAtTime(h);c.clone(u);}else {var d=this._elem.finalTransform.mProp;d.applyToMatrix(u);}return u}function e(h,u){var c=this.getMatrix(u);return c.props[12]=0,c.props[13]=0,c.props[14]=0,this.applyPoint(c,h)}function r(h,u){var c=this.getMatrix(u);return this.applyPoint(c,h)}function i(h,u){var c=this.getMatrix(u);return c.props[12]=0,c.props[13]=0,c.props[14]=0,this.invertPoint(c,h)}function s(h,u){var c=this.getMatrix(u);return this.invertPoint(c,h)}function n(h,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var c,d=this._elem.hierarchy.length;for(c=0;c<d;c+=1)this._elem.hierarchy[c].finalTransform.mProp.applyToMatrix(h);}return h.applyToPointArray(u[0],u[1],u[2]||0)}function a(h,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var c,d=this._elem.hierarchy.length;for(c=0;c<d;c+=1)this._elem.hierarchy[c].finalTransform.mProp.applyToMatrix(h);}return h.inversePoint(u)}function o(h){var u=new Matrix;if(u.reset(),this._elem.finalTransform.mProp.applyToMatrix(u),this._elem.hierarchy&&this._elem.hierarchy.length){var c,d=this._elem.hierarchy.length;for(c=0;c<d;c+=1)this._elem.hierarchy[c].finalTransform.mProp.applyToMatrix(u);return u.inversePoint(h)}return u.inversePoint(h)}function l(){return [1,1,1,1]}return function(h){var u;function c(f){m.mask=new MaskManagerInterface(f,h);}function d(f){m.effect=f;}function m(f){switch(f){case"ADBE Root Vectors Group":case"Contents":case 2:return m.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return m.effect;case"ADBE Text Properties":return m.textInterface;default:return null}}m.getMatrix=t,m.invertPoint=a,m.applyPoint=n,m.toWorld=r,m.toWorldVec=e,m.fromWorld=s,m.fromWorldVec=i,m.toComp=r,m.fromComp=o,m.sampleImage=l,m.sourceRectAtTime=h.sourceRectAtTime.bind(h),m._elem=h,u=TransformExpressionInterface(h.finalTransform.mProp);var p=getDescriptor(u,"anchorPoint");return Object.defineProperties(m,{hasParent:{get:function(){return h.hierarchy.length}},parent:{get:function(){return h.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:p,anchor_point:p,transform:{get:function(){return u}},active:{get:function(){return h.isInRange}}}),m.startTime=h.data.st,m.index=h.data.ind,m.source=h.data.refId,m.height=h.data.ty===0?h.data.h:100,m.width=h.data.ty===0?h.data.w:100,m.inPoint=h.data.ip/h.comp.globalData.frameRate,m.outPoint=h.data.op/h.comp.globalData.frameRate,m._name=h.data.nm,m.registerMaskInterface=c,m.registerEffectsInterface=d,m}}(),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,n){if(s.effectsManager){var a=[],o=s.data.ef,l,h=s.effectsManager.effectElements.length;for(l=0;l<h;l+=1)a.push(r(o[l],s.effectsManager.effectElements[l],n,s));var u=s.data.ef||[],c=function(d){for(l=0,h=u.length;l<h;){if(d===u[l].nm||d===u[l].mn||d===u[l].ix)return a[l];l+=1;}return null};return Object.defineProperty(c,"numProperties",{get:function(){return u.length}}),c}return null}function r(s,n,a,o){function l(m){for(var p=s.ef,f=0,v=p.length;f<v;){if(m===p[f].nm||m===p[f].mn||m===p[f].ix)return p[f].ty===5?u[f]:u[f]();f+=1;}throw new Error}var h=propertyGroupFactory(l,a),u=[],c,d=s.ef.length;for(c=0;c<d;c+=1)s.ef[c].ty===5?u.push(r(s.ef[c],n.effectElements[c],n.effectElements[c].propertyGroup,o)):u.push(i(n.effectElements[c],s.ef[c].ty,o,h));return s.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return u[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:h}}),l.enabled=s.en!==0,l.active=l.enabled,l}function i(s,n,a,o){var l=ExpressionPropertyInterface(s.p);function h(){return n===10?a.comp.compInterface(s.p.v):l()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",o)),h}return t}(),ShapePathInterface=function(){return function(t,e,r){var i=e.sh;function s(a){return a==="Shape"||a==="shape"||a==="Path"||a==="path"||a==="ADBE Vector Shape"||a===2?s.path:null}var n=propertyGroupFactory(s,r);return i.setGroupProperty(PropertyInterface("Path",n)),Object.defineProperties(s,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),s}}(),ShapeExpressionInterface=function(){function t(p,f,v){var y=[],g,b=p?p.length:0;for(g=0;g<b;g+=1)p[g].ty==="gr"?y.push(r(p[g],f[g],v)):p[g].ty==="fl"?y.push(i(p[g],f[g],v)):p[g].ty==="st"?y.push(a(p[g],f[g],v)):p[g].ty==="tm"?y.push(o(p[g],f[g],v)):p[g].ty==="tr"||(p[g].ty==="el"?y.push(h(p[g],f[g],v)):p[g].ty==="sr"?y.push(u(p[g],f[g],v)):p[g].ty==="sh"?y.push(ShapePathInterface(p[g],f[g],v)):p[g].ty==="rc"?y.push(c(p[g],f[g],v)):p[g].ty==="rd"?y.push(d(p[g],f[g],v)):p[g].ty==="rp"?y.push(m(p[g],f[g],v)):p[g].ty==="gf"?y.push(s(p[g],f[g],v)):y.push(n(p[g],f[g])));return y}function e(p,f,v){var y,g=function(x){for(var S=0,C=y.length;S<C;){if(y[S]._name===x||y[S].mn===x||y[S].propertyIndex===x||y[S].ix===x||y[S].ind===x)return y[S];S+=1;}return typeof x=="number"?y[x-1]:null};g.propertyGroup=propertyGroupFactory(g,v),y=t(p.it,f.it,g.propertyGroup),g.numProperties=y.length;var b=l(p.it[p.it.length-1],f.it[f.it.length-1],g.propertyGroup);return g.transform=b,g.propertyIndex=p.cix,g._name=p.nm,g}function r(p,f,v){var y=function(x){switch(x){case"ADBE Vectors Group":case"Contents":case 2:return y.content;default:return y.transform}};y.propertyGroup=propertyGroupFactory(y,v);var g=e(p,f,y.propertyGroup),b=l(p.it[p.it.length-1],f.it[f.it.length-1],y.propertyGroup);return y.content=g,y.transform=b,Object.defineProperty(y,"_name",{get:function(){return p.nm}}),y.numProperties=p.np,y.propertyIndex=p.ix,y.nm=p.nm,y.mn=p.mn,y}function i(p,f,v){function y(g){return g==="Color"||g==="color"?y.color:g==="Opacity"||g==="opacity"?y.opacity:null}return Object.defineProperties(y,{color:{get:ExpressionPropertyInterface(f.c)},opacity:{get:ExpressionPropertyInterface(f.o)},_name:{value:p.nm},mn:{value:p.mn}}),f.c.setGroupProperty(PropertyInterface("Color",v)),f.o.setGroupProperty(PropertyInterface("Opacity",v)),y}function s(p,f,v){function y(g){return g==="Start Point"||g==="start point"?y.startPoint:g==="End Point"||g==="end point"?y.endPoint:g==="Opacity"||g==="opacity"?y.opacity:null}return Object.defineProperties(y,{startPoint:{get:ExpressionPropertyInterface(f.s)},endPoint:{get:ExpressionPropertyInterface(f.e)},opacity:{get:ExpressionPropertyInterface(f.o)},type:{get:function(){return "a"}},_name:{value:p.nm},mn:{value:p.mn}}),f.s.setGroupProperty(PropertyInterface("Start Point",v)),f.e.setGroupProperty(PropertyInterface("End Point",v)),f.o.setGroupProperty(PropertyInterface("Opacity",v)),y}function n(){function p(){return null}return p}function a(p,f,v){var y=propertyGroupFactory(P,v),g=propertyGroupFactory(C,y);function b(T){Object.defineProperty(C,p.d[T].nm,{get:ExpressionPropertyInterface(f.d.dataProps[T].p)});}var x,S=p.d?p.d.length:0,C={};for(x=0;x<S;x+=1)b(x),f.d.dataProps[x].p.setGroupProperty(g);function P(T){return T==="Color"||T==="color"?P.color:T==="Opacity"||T==="opacity"?P.opacity:T==="Stroke Width"||T==="stroke width"?P.strokeWidth:null}return Object.defineProperties(P,{color:{get:ExpressionPropertyInterface(f.c)},opacity:{get:ExpressionPropertyInterface(f.o)},strokeWidth:{get:ExpressionPropertyInterface(f.w)},dash:{get:function(){return C}},_name:{value:p.nm},mn:{value:p.mn}}),f.c.setGroupProperty(PropertyInterface("Color",y)),f.o.setGroupProperty(PropertyInterface("Opacity",y)),f.w.setGroupProperty(PropertyInterface("Stroke Width",y)),P}function o(p,f,v){function y(b){return b===p.e.ix||b==="End"||b==="end"?y.end:b===p.s.ix?y.start:b===p.o.ix?y.offset:null}var g=propertyGroupFactory(y,v);return y.propertyIndex=p.ix,f.s.setGroupProperty(PropertyInterface("Start",g)),f.e.setGroupProperty(PropertyInterface("End",g)),f.o.setGroupProperty(PropertyInterface("Offset",g)),y.propertyIndex=p.ix,y.propertyGroup=v,Object.defineProperties(y,{start:{get:ExpressionPropertyInterface(f.s)},end:{get:ExpressionPropertyInterface(f.e)},offset:{get:ExpressionPropertyInterface(f.o)},_name:{value:p.nm}}),y.mn=p.mn,y}function l(p,f,v){function y(b){return p.a.ix===b||b==="Anchor Point"?y.anchorPoint:p.o.ix===b||b==="Opacity"?y.opacity:p.p.ix===b||b==="Position"?y.position:p.r.ix===b||b==="Rotation"||b==="ADBE Vector Rotation"?y.rotation:p.s.ix===b||b==="Scale"?y.scale:p.sk&&p.sk.ix===b||b==="Skew"?y.skew:p.sa&&p.sa.ix===b||b==="Skew Axis"?y.skewAxis:null}var g=propertyGroupFactory(y,v);return f.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",g)),f.transform.mProps.p.setGroupProperty(PropertyInterface("Position",g)),f.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",g)),f.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",g)),f.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",g)),f.transform.mProps.sk&&(f.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",g)),f.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",g))),f.transform.op.setGroupProperty(PropertyInterface("Opacity",g)),Object.defineProperties(y,{opacity:{get:ExpressionPropertyInterface(f.transform.mProps.o)},position:{get:ExpressionPropertyInterface(f.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(f.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(f.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(f.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(f.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(f.transform.mProps.sa)},_name:{value:p.nm}}),y.ty="tr",y.mn=p.mn,y.propertyGroup=v,y}function h(p,f,v){function y(x){return p.p.ix===x?y.position:p.s.ix===x?y.size:null}var g=propertyGroupFactory(y,v);y.propertyIndex=p.ix;var b=f.sh.ty==="tm"?f.sh.prop:f.sh;return b.s.setGroupProperty(PropertyInterface("Size",g)),b.p.setGroupProperty(PropertyInterface("Position",g)),Object.defineProperties(y,{size:{get:ExpressionPropertyInterface(b.s)},position:{get:ExpressionPropertyInterface(b.p)},_name:{value:p.nm}}),y.mn=p.mn,y}function u(p,f,v){function y(x){return p.p.ix===x?y.position:p.r.ix===x?y.rotation:p.pt.ix===x?y.points:p.or.ix===x||x==="ADBE Vector Star Outer Radius"?y.outerRadius:p.os.ix===x?y.outerRoundness:p.ir&&(p.ir.ix===x||x==="ADBE Vector Star Inner Radius")?y.innerRadius:p.is&&p.is.ix===x?y.innerRoundness:null}var g=propertyGroupFactory(y,v),b=f.sh.ty==="tm"?f.sh.prop:f.sh;return y.propertyIndex=p.ix,b.or.setGroupProperty(PropertyInterface("Outer Radius",g)),b.os.setGroupProperty(PropertyInterface("Outer Roundness",g)),b.pt.setGroupProperty(PropertyInterface("Points",g)),b.p.setGroupProperty(PropertyInterface("Position",g)),b.r.setGroupProperty(PropertyInterface("Rotation",g)),p.ir&&(b.ir.setGroupProperty(PropertyInterface("Inner Radius",g)),b.is.setGroupProperty(PropertyInterface("Inner Roundness",g))),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(b.p)},rotation:{get:ExpressionPropertyInterface(b.r)},points:{get:ExpressionPropertyInterface(b.pt)},outerRadius:{get:ExpressionPropertyInterface(b.or)},outerRoundness:{get:ExpressionPropertyInterface(b.os)},innerRadius:{get:ExpressionPropertyInterface(b.ir)},innerRoundness:{get:ExpressionPropertyInterface(b.is)},_name:{value:p.nm}}),y.mn=p.mn,y}function c(p,f,v){function y(x){return p.p.ix===x?y.position:p.r.ix===x?y.roundness:p.s.ix===x||x==="Size"||x==="ADBE Vector Rect Size"?y.size:null}var g=propertyGroupFactory(y,v),b=f.sh.ty==="tm"?f.sh.prop:f.sh;return y.propertyIndex=p.ix,b.p.setGroupProperty(PropertyInterface("Position",g)),b.s.setGroupProperty(PropertyInterface("Size",g)),b.r.setGroupProperty(PropertyInterface("Rotation",g)),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(b.p)},roundness:{get:ExpressionPropertyInterface(b.r)},size:{get:ExpressionPropertyInterface(b.s)},_name:{value:p.nm}}),y.mn=p.mn,y}function d(p,f,v){function y(x){return p.r.ix===x||x==="Round Corners 1"?y.radius:null}var g=propertyGroupFactory(y,v),b=f;return y.propertyIndex=p.ix,b.rd.setGroupProperty(PropertyInterface("Radius",g)),Object.defineProperties(y,{radius:{get:ExpressionPropertyInterface(b.rd)},_name:{value:p.nm}}),y.mn=p.mn,y}function m(p,f,v){function y(x){return p.c.ix===x||x==="Copies"?y.copies:p.o.ix===x||x==="Offset"?y.offset:null}var g=propertyGroupFactory(y,v),b=f;return y.propertyIndex=p.ix,b.c.setGroupProperty(PropertyInterface("Copies",g)),b.o.setGroupProperty(PropertyInterface("Offset",g)),Object.defineProperties(y,{copies:{get:ExpressionPropertyInterface(b.c)},offset:{get:ExpressionPropertyInterface(b.o)},_name:{value:p.nm}}),y.mn=p.mn,y}return function(p,f,v){var y;function g(x){if(typeof x=="number")return x=x===void 0?1:x,x===0?v:y[x-1];for(var S=0,C=y.length;S<C;){if(y[S]._name===x)return y[S];S+=1;}return null}function b(){return v}return g.propertyGroup=propertyGroupFactory(g,b),y=t(p,f,g.propertyGroup),g.numProperties=y.length,g._name="Contents",g}}(),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 i=t.textProperty.currentData.t;return (!e||i!==e.value)&&(e=new String(i),e.value=i||new String(i),Object.defineProperty(e,"style",{get:function(){return {fillColor:t.textProperty.currentData.fc}}})),e}}),r}}();function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(e){return typeof e}:_typeof=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(t)}var FootageInterface=function(){var t=function(r){var i="",s=r.getFootageData();function n(){return i="",s=r.getFootageData(),a}function a(o){if(s[o])return i=o,s=s[o],_typeof(s)==="object"?a:s;var l=o.indexOf(i);if(l!==-1){var h=parseInt(o.substr(l+i.length),10);return s=s[h],_typeof(s)==="object"?a:s}return ""}return n},e=function(r){function i(s){return s==="Outline"?i.outlineInterface():null}return i._name="Outline",i.outlineInterface=t(r),i};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(a,o,l){o.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(a,o,l).bind(l)));}function e(a){return a*=this.elem.globalData.frameRate,a-=this.offsetTime,a!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<a?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(a,this._cachingAtTime),this._cachingAtTime.lastFrame=a),this._cachingAtTime.value}function r(a){var o=-.01,l=this.getValueAtTime(a),h=this.getValueAtTime(a+o),u=0;if(l.length){var c;for(c=0;c<l.length;c+=1)u+=Math.pow(h[c]-l[c],2);u=Math.sqrt(u)*100;}else u=0;return u}function i(a){if(this.vel!==void 0)return this.vel;var o=-.001,l=this.getValueAtTime(a),h=this.getValueAtTime(a+o),u;if(l.length){u=createTypedArray("float32",l.length);var c;for(c=0;c<l.length;c+=1)u[c]=(h[c]-l[c])/o;}else u=(h-l)/o;return u}function s(){return this.pv}function n(a){this.propertyGroup=a;}return {searchExpressions:t,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:e,getStaticValueAtTime:s,setGroupProperty:n}}();function addPropertyDecorator(){function t(d,m,p){if(!this.k||!this.keyframes)return this.pv;d=d?d.toLowerCase():"";var f=this.comp.renderedFrame,v=this.keyframes,y=v[v.length-1].t;if(f<=y)return this.pv;var g,b;p?(m?g=Math.abs(y-this.elem.comp.globalData.frameRate*m):g=Math.max(0,y-this.elem.data.ip),b=y-g):((!m||m>v.length-1)&&(m=v.length-1),b=v[v.length-1-m].t,g=y-b);var x,S,C;if(d==="pingpong"){var P=Math.floor((f-b)/g);if(P%2!==0)return this.getValueAtTime((g-(f-b)%g+b)/this.comp.globalData.frameRate,0)}else if(d==="offset"){var T=this.getValueAtTime(b/this.comp.globalData.frameRate,0),V=this.getValueAtTime(y/this.comp.globalData.frameRate,0),$=this.getValueAtTime(((f-b)%g+b)/this.comp.globalData.frameRate,0),R=Math.floor((f-b)/g);if(this.pv.length){for(C=new Array(T.length),S=C.length,x=0;x<S;x+=1)C[x]=(V[x]-T[x])*R+$[x];return C}return (V-T)*R+$}else if(d==="continue"){var j=this.getValueAtTime(y/this.comp.globalData.frameRate,0),q=this.getValueAtTime((y-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(C=new Array(j.length),S=C.length,x=0;x<S;x+=1)C[x]=j[x]+(j[x]-q[x])*((f-y)/this.comp.globalData.frameRate)/5e-4;return C}return j+(j-q)*((f-y)/.001)}return this.getValueAtTime(((f-b)%g+b)/this.comp.globalData.frameRate,0)}function e(d,m,p){if(!this.k)return this.pv;d=d?d.toLowerCase():"";var f=this.comp.renderedFrame,v=this.keyframes,y=v[0].t;if(f>=y)return this.pv;var g,b;p?(m?g=Math.abs(this.elem.comp.globalData.frameRate*m):g=Math.max(0,this.elem.data.op-y),b=y+g):((!m||m>v.length-1)&&(m=v.length-1),b=v[m].t,g=b-y);var x,S,C;if(d==="pingpong"){var P=Math.floor((y-f)/g);if(P%2===0)return this.getValueAtTime(((y-f)%g+y)/this.comp.globalData.frameRate,0)}else if(d==="offset"){var T=this.getValueAtTime(y/this.comp.globalData.frameRate,0),V=this.getValueAtTime(b/this.comp.globalData.frameRate,0),$=this.getValueAtTime((g-(y-f)%g+y)/this.comp.globalData.frameRate,0),R=Math.floor((y-f)/g)+1;if(this.pv.length){for(C=new Array(T.length),S=C.length,x=0;x<S;x+=1)C[x]=$[x]-(V[x]-T[x])*R;return C}return $-(V-T)*R}else if(d==="continue"){var j=this.getValueAtTime(y/this.comp.globalData.frameRate,0),q=this.getValueAtTime((y+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(C=new Array(j.length),S=C.length,x=0;x<S;x+=1)C[x]=j[x]+(j[x]-q[x])*(y-f)/.001;return C}return j+(j-q)*(y-f)/.001}return this.getValueAtTime((g-((y-f)%g+y))/this.comp.globalData.frameRate,0)}function r(d,m){if(!this.k)return this.pv;if(d=(d||.4)*.5,m=Math.floor(m||5),m<=1)return this.pv;var p=this.comp.renderedFrame/this.comp.globalData.frameRate,f=p-d,v=p+d,y=m>1?(v-f)/(m-1):1,g=0,b=0,x;this.pv.length?x=createTypedArray("float32",this.pv.length):x=0;for(var S;g<m;){if(S=this.getValueAtTime(f+g*y),this.pv.length)for(b=0;b<this.pv.length;b+=1)x[b]+=S[b];else x+=S;g+=1;}if(this.pv.length)for(b=0;b<this.pv.length;b+=1)x[b]/=m;else x/=m;return x}function i(d){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var m=this._transformCachingAtTime.v;if(m.cloneFromProps(this.pre.props),this.appliedTransformations<1){var p=this.a.getValueAtTime(d);m.translate(-p[0]*this.a.mult,-p[1]*this.a.mult,p[2]*this.a.mult);}if(this.appliedTransformations<2){var f=this.s.getValueAtTime(d);m.scale(f[0]*this.s.mult,f[1]*this.s.mult,f[2]*this.s.mult);}if(this.sk&&this.appliedTransformations<3){var v=this.sk.getValueAtTime(d),y=this.sa.getValueAtTime(d);m.skewFromAxis(-v*this.sk.mult,y*this.sa.mult);}if(this.r&&this.appliedTransformations<4){var g=this.r.getValueAtTime(d);m.rotate(-g*this.r.mult);}else if(!this.r&&this.appliedTransformations<4){var b=this.rz.getValueAtTime(d),x=this.ry.getValueAtTime(d),S=this.rx.getValueAtTime(d),C=this.or.getValueAtTime(d);m.rotateZ(-b*this.rz.mult).rotateY(x*this.ry.mult).rotateX(S*this.rx.mult).rotateZ(-C[2]*this.or.mult).rotateY(C[1]*this.or.mult).rotateX(C[0]*this.or.mult);}if(this.data.p&&this.data.p.s){var P=this.px.getValueAtTime(d),T=this.py.getValueAtTime(d);if(this.data.p.z){var V=this.pz.getValueAtTime(d);m.translate(P*this.px.mult,T*this.py.mult,-V*this.pz.mult);}else m.translate(P*this.px.mult,T*this.py.mult,0);}else {var $=this.p.getValueAtTime(d);m.translate($[0]*this.p.mult,$[1]*this.p.mult,-$[2]*this.p.mult);}return m}function s(){return this.v.clone(new Matrix)}var n=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(d,m,p){var f=n(d,m,p);return f.dynamicProperties.length?f.getValueAtTime=i.bind(f):f.getValueAtTime=s.bind(f),f.setGroupProperty=expressionHelpers.setGroupProperty,f};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(d,m,p,f,v){var y=a(d,m,p,f,v);y.kf?y.getValueAtTime=expressionHelpers.getValueAtTime.bind(y):y.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y.loopOut=t,y.loopIn=e,y.smooth=r,y.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(y),y.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(y),y.numKeys=m.a===1?m.k.length:0,y.propertyIndex=m.ix;var g=0;return p!==0&&(g=createTypedArray("float32",m.a===1?m.k[0].s.length:m.k.length)),y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:g},expressionHelpers.searchExpressions(d,m,y),y.k&&v.addDynamicProperty(y),y};function o(d){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),d*=this.elem.globalData.frameRate,d-=this.offsetTime,d!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<d?this._caching.lastIndex:0,this._cachingAtTime.lastTime=d,this.interpolateShape(d,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),h=ShapePropertyFactory.getKeyframedConstructorFunction();function u(){}u.prototype={vertices:function(d,m){this.k&&this.getValue();var p=this.v;m!==void 0&&(p=this.getValueAtTime(m,0));var f,v=p._length,y=p[d],g=p.v,b=createSizedArray(v);for(f=0;f<v;f+=1)d==="i"||d==="o"?b[f]=[y[f][0]-g[f][0],y[f][1]-g[f][1]]:b[f]=[y[f][0],y[f][1]];return b},points:function(d){return this.vertices("v",d)},inTangents:function(d){return this.vertices("i",d)},outTangents:function(d){return this.vertices("o",d)},isClosed:function(){return this.v.c},pointOnPath:function(d,m){var p=this.v;m!==void 0&&(p=this.getValueAtTime(m,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(p));for(var f=this._segmentsLength,v=f.lengths,y=f.totalLength*d,g=0,b=v.length,x=0,S;g<b;){if(x+v[g].addedLength>y){var C=g,P=p.c&&g===b-1?0:g+1,T=(y-x)/v[g].addedLength;S=bez.getPointInSegment(p.v[C],p.v[P],p.o[C],p.i[P],T,v[g]);break}else x+=v[g].addedLength;g+=1;}return S||(S=p.c?[p.v[0][0],p.v[0][1]]:[p.v[p._length-1][0],p.v[p._length-1][1]]),S},vectorOnPath:function(d,m,p){d==1?d=this.v.c:d==0&&(d=.999);var f=this.pointOnPath(d,m),v=this.pointOnPath(d+.001,m),y=v[0]-f[0],g=v[1]-f[1],b=Math.sqrt(Math.pow(y,2)+Math.pow(g,2));if(b===0)return [0,0];var x=p==="tangent"?[y/b,g/b]:[-g/b,y/b];return x},tangentOnPath:function(d,m){return this.vectorOnPath(d,m,"tangent")},normalOnPath:function(d,m){return this.vectorOnPath(d,m,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],l),extendPrototype([u],h),h.prototype.getValueAtTime=o,h.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(d,m,p,f,v){var y=c(d,m,p,f,v);return y.propertyIndex=m.ix,y.lock=!1,p===3?expressionHelpers.searchExpressions(d,m.pt,y):p===4&&expressionHelpers.searchExpressions(d,m.ks,y),y.k&&d.addDynamicProperty(y),y};}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,n;for(n=0;n<r.length;n+=1)s=createNS("feMergeNode"),s.setAttribute("in",r[n]),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 n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=n,n.setAttribute("result",i+"_tint_1"),t.appendChild(n),n=createNS("feColorMatrix"),n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i+"_tint_2"),t.appendChild(n),this.matrixFilter=n;var a=this.createMergeNode(i,[s,i+"_tint_1",i+"_tint_2"]);t.appendChild(a);}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 n=createNS("mask"),a=createElementID();n.setAttribute("id",a),n.setAttribute("mask-type","alpha"),n.appendChild(r),this.elem.globalData.defs.appendChild(n);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");t[0];)o.appendChild(t[0]);this.elem.layerElement.appendChild(o),this.masker=n,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 n;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var a=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=s.getTotalLength();n="0 0 0 "+l*a+" ";var h=l*(o-a),u=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,c=Math.floor(h/u),d;for(d=0;d<c;d+=1)n+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";n+="0 "+l*10+" 0 0";}else n="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.setAttribute("stroke-dasharray",n);}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 m=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(m[0]*255)+","+bmFloor(m[1]*255)+","+bmFloor(m[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 n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("result",i),this.matrixFilter=n;var a=createNS("feFuncR");a.setAttribute("type","table"),n.appendChild(a),this.feFuncR=a;var o=createNS("feFuncG");o.setAttribute("type","table"),n.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),n.appendChild(l),this.feFuncB=l,t.appendChild(n);}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],n=i[1]+" "+r[1]+" "+e[1],a=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",n),this.feFuncB.setAttribute("tableValues",a);}};function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var s=this.filterManager.effectElements,n=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",n)),(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",n)),(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",n)),(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",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n)),(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)&&(n=createNS("feComponentTransfer"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("result",i),t.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n));}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 n=0,a=256,o,l=Math.min(t,e),h=Math.max(t,e),u=Array.call(null,{length:a}),c,d=0,m=s-i,p=e-t;n<=256;)o=n/256,o<=l?c=p<0?s:i:o>=h?c=p<0?i:s:c=i+m*Math.pow((o-t)/p,1/r),u[d]=c,d+=1,n+=256/(a-1);return u.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 n=e.container.globalData.renderConfig.filterSize,a=e.data.fs||n;t.setAttribute("x",a.x||n.x),t.setAttribute("y",a.y||n.y),t.setAttribute("width",a.width||n.width),t.setAttribute("height",a.height||n.height),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",i+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,t.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",i+"_drop_shadow_1"),l.setAttribute("result",i+"_drop_shadow_2"),this.feOff
58set=l,t.appendChild(l);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 u=createNS("feComposite");u.setAttribute("in",i+"_drop_shadow_3"),u.setAttribute("in2",i+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(u);var c=this.createMergeNode(i,[i+"_drop_shadow_4",s]);t.appendChild(c);}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),n=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",n);}}};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,n=i.length;s<n&&i[s]!==t.layerElement;)s+=1;var a;s<=n-2&&(a=i[s+1]);var o=createNS("use");o.setAttribute("href","#"+e),a?r.insertBefore(o,a):r.appendChild(o);}},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 n=createNS("symbol");n.setAttribute("id",r),this.replaceInParent(e,r),n.appendChild(e.layerElement),s.appendChild(n);var a=createNS("use");a.setAttribute("href","#"+r),i.appendChild(a),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,n=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+n);var a=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a);}};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,n=e[3].p.v,a=s?n:e[4].p.v,o=e[5].p.v,l=e[6].p.v,h=e[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(a*.01,n*.01,1),this.matrix.rotate(-h*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+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});}),Ct=re(uh(),1);Ct.default.stringify;Ct.default.fromJSON;Ct.default.plugin;var Bh=Ct.default.parse;Ct.default.list;Ct.default.document;Ct.default.comment;Ct.default.atRule;Ct.default.rule;Ct.default.decl;Ct.default.root;Ct.default.CssSyntaxError;Ct.default.Declaration;Ct.default.Container;Ct.default.Processor;Ct.default.Document;Ct.default.Comment;Ct.default.Warning;Ct.default.AtRule;Ct.default.Result;Ct.default.Input;Ct.default.Rule;Ct.default.Root;Ct.default.Node;var Mi=function(t,e,r){let i={type:String(t)};return r==null&&(typeof e=="string"||Array.isArray(e))?r=e:Object.assign(i,e),Array.isArray(r)?i.children=r:r!=null&&(i.value=String(r)),i},zh="root",Nh="rule",$h="declaration";function jh(t){let e=Mi(zh,[]);return Bh(t).walkRules(r=>{let i=Mi(Nh,{selectors:[],selector:""},[]);i.selectors=[...r.selectors],i.selector=r.selector,r.walkDecls(s=>{let n=Mi($h,{important:s.important,property:s.prop,value:s.value});i.children.push(n);}),e.children.push(i);}),e}var Gh={grad:.9,turn:360,rad:360/(2*Math.PI)},le=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},Mt=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},Xt=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},ua=function(t){return (t=isFinite(t)?t%360:0)>0?t:t+360},gn=function(t){return {r:Xt(t.r,0,255),g:Xt(t.g,0,255),b:Xt(t.b,0,255),a:Xt(t.a)}},Di=function(t){return {r:Mt(t.r),g:Mt(t.g),b:Mt(t.b),a:Mt(t.a,3)}},Hh=/^#([0-9a-f]{3,8})$/i,Fr=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},da=function(t){var e=t.r,r=t.g,i=t.b,s=t.a,n=Math.max(e,r,i),a=n-Math.min(e,r,i),o=a?n===e?(r-i)/a:n===r?2+(i-e)/a:4+(e-r)/a:0;return {h:60*(o<0?o+6:o),s:n?a/n*100:0,v:n/255*100,a:s}},ma=function(t){var e=t.h,r=t.s,i=t.v,s=t.a;e=e/360*6,r/=100,i/=100;var n=Math.floor(e),a=i*(1-r),o=i*(1-(e-n)*r),l=i*(1-(1-e+n)*r),h=n%6;return {r:255*[i,o,a,a,l,i][h],g:255*[l,i,i,o,a,a][h],b:255*[a,a,l,i,i,o][h],a:s}},vn=function(t){return {h:ua(t.h),s:Xt(t.s,0,100),l:Xt(t.l,0,100),a:Xt(t.a)}},bn=function(t){return {h:Mt(t.h),s:Mt(t.s),l:Mt(t.l),a:Mt(t.a,3)}},xn=function(t){return ma((r=(e=t).s,{h:e.h,s:(r*=((i=e.l)<50?i:100-i)/100)>0?2*r/(i+r)*100:0,v:i+r,a:e.a}));var e,r,i;}
vendor: 7,335 bytes, line 58
58,sr=function(t){return {h:(e=da(t)).h,s:(s=(200-(r=e.s))*(i=e.v)/100)>0&&s<200?r*i/100/(s<=100?s:200-s)*100:0,l:s/2,a:e.a};var e,r,i,s;},qh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Uh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Wh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ji={string:[[function(t){var e=Hh.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?Mt(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?Mt(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Wh.exec(t)||Jh.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:gn({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=qh.exec(t)||Uh.exec(t);if(!e)return null;var r,i,s=vn({h:(r=e[1],i=e[2],i===void 0&&(i="deg"),Number(r)*(Gh[i]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return xn(s)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,i=t.b,s=t.a,n=s===void 0?1:s;return le(e)&&le(r)&&le(i)?gn({r:Number(e),g:Number(r),b:Number(i),a:Number(n)}):null},"rgb"],[function(t){var e=t.h,r=t.s,i=t.l,s=t.a,n=s===void 0?1:s;if(!le(e)||!le(r)||!le(i))return null;var a=vn({h:Number(e),s:Number(r),l:Number(i),a:Number(n)});return xn(a)},"hsl"],[function(t){var e=t.h,r=t.s,i=t.v,s=t.a,n=s===void 0?1:s;if(!le(e)||!le(r)||!le(i))return null;var a=function(o){return {h:ua(o.h),s:Xt(o.s,0,100),v:Xt(o.v,0,100),a:Xt(o.a)}}({h:Number(e),s:Number(r),v:Number(i),a:Number(n)});return ma(a)},"hsv"]]},Sn=function(t,e){for(var r=0;r<e.length;r++){var i=e[r][0](t);if(i)return [i,e[r][1]]}return [null,void 0]},Kh=function(t){return typeof t=="string"?Sn(t.trim(),ji.string):typeof t=="object"&&t!==null?Sn(t,ji.object):[null,void 0]},Fi=function(t,e){var r=sr(t);return {h:r.h,s:Xt(r.s+100*e,0,100),l:r.l,a:r.a}},Ii=function(t){return (299*t.r+587*t.g+114*t.b)/1e3/255},wn=function(t,e){var r=sr(t);return {h:r.h,s:r.s,l:Xt(r.l+100*e,0,100),a:r.a}},Gi=function(){function t(e){this.parsed=Kh(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1};}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return Mt(Ii(this.rgba),2)},t.prototype.isDark=function(){return Ii(this.rgba)<.5},t.prototype.isLight=function(){return Ii(this.rgba)>=.5},t.prototype.toHex=function(){return e=Di(this.rgba),r=e.r,i=e.g,s=e.b,a=(n=e.a)<1?Fr(Mt(255*n)):"","#"+Fr(r)+Fr(i)+Fr(s)+a;var e,r,i,s,n,a;},t.prototype.toRgb=function(){return Di(this.rgba)},t.prototype.toRgbString=function(){return e=Di(this.rgba),r=e.r,i=e.g,s=e.b,(n=e.a)<1?"rgba("+r+", "+i+", "+s+", "+n+")":"rgb("+r+", "+i+", "+s+")";var e,r,i,s,n;},t.prototype.toHsl=function(){return bn(sr(this.rgba))},t.prototype.toHslString=function(){return e=bn(sr(this.rgba)),r=e.h,i=e.s,s=e.l,(n=e.a)<1?"hsla("+r+", "+i+"%, "+s+"%, "+n+")":"hsl("+r+", "+i+"%, "+s+"%)";var e,r,i,s,n;},t.prototype.toHsv=function(){return e=da(this.rgba),{h:Mt(e.h),s:Mt(e.s),v:Mt(e.v),a:Mt(e.a,3)};var e;},t.prototype.invert=function(){return Ht({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e;},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Ht(Fi(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Ht(Fi(this.rgba,-e))},t.prototype.grayscale=function(){return Ht(Fi(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Ht(wn(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ht(wn(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Ht({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):Mt(this.rgba.a,3);var r;},t.prototype.hue=function(e){var r=sr(this.rgba);return typeof e=="number"?Ht({h:e,s:r.s,l:r.l,a:r.a}):Mt(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Ht(e).toHex()},t}(),Ht=function(t){return t instanceof Gi?t:new Gi(t)},kn=[],ya=function(t){t.forEach(function(e){kn.indexOf(e)<0&&(e(Gi,ji),kn.push(e));});};function ga(t,e){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",s
58andybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},i={};for(var s in r)i[r[s]]=s;var n={};t.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return "transparent";var o,l,h=i[this.toHex()];if(h)return h;if(a?.closest){var u=this.toRgb(),c=1/0,d="black";if(!n.length)for(var m in r)n[m]=new t(r[m]).toRgb();for(var p in r){var f=(o=u,l=n[p],Math.pow(o.r-l.r,2)+Math.pow(o.g-l.g,2)+Math.pow(o.b-l.b,2));f<c&&(c=f,d=p);}return d}},e.string.push([function(a){var o=a.toLowerCase(),l=o==="transparent"?"#0000":r[o];return l?new t(l).toRgb():null},"name"]);}var Lr={attribute:/\[\s*(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)\s*(?:(?<operator>\W?=)\s*(?<value>.+?)\s*(\s(?<caseSensitive>[iIsS]))?\s*)?\]/gu,id:/#(?<name>[-\w\P{ASCII}]+)/gu,class:/\.(?<name>[-\w\P{ASCII}]+)/gu,comma:/\s*,\s*/g,combinator:/\s*[\s>+~]\s*/g,"pseudo-element":/::(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,"pseudo-class":/:(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,universal:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?\*/gu,type:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)/gu},Yh=new Set(["combinator","comma"]),Zh=new Set(["not","is","where","has","matches","-moz-any","-webkit-any","nth-child","nth-last-child"]),_n=/(?<index>[\dn+-]+)\s+of\s+(?<subtree>.+)/,Xh={"nth-child":_n,"nth-last-child":_n},Qh=t=>{switch(t){case"pseudo-element":case"pseudo-class":return new RegExp(Lr[t].source.replace("(?<argument>\xB6*)","(?<argument>.*)"),"gu");default:return Lr[t]}};function tp(t,e){let r=0,i="";for(;e<t.length;e++){let s=t[e];switch(s){case"(":++r;break;case")":--r;break}if(i+=s,r===0)return i}return i}function ep(t,e=Lr){if(!t)return [];let r=[t];for(let[s,n]of Object.entries(e))for(let a=0;a<r.length;a++){let o=r[a];if(typeof o!="string")continue;n.lastIndex=0;let l=n.exec(o);if(!l)continue;let h=l.index-1,u=[],c=l[0],d=o.slice(0,h+1);d&&u.push(d),u.push({...l.groups,type:s,content:c});let m=o.slice(h+c.length+1);m&&u.push(m),r.splice(a,1,...u);}let i=0;for(let s of r)switch(typeof s){case"string":throw new Error(`Unexpected sequence ${s} found at index ${i}`);case"object":i+=s.content.length,s.pos=[i-s.content.length,i],Yh.has(s.type)&&(s.content=s.content.trim()||" ");break}return r}var rp=/(['"])([^\\\n]+?)\1/g,ip=/\\./g;function sp(t,e=Lr){if(t=t.trim(),t==="")return [];let r=[];t=t.replace(ip,(n,a)=>(r.push({value:n,offset:a}),"\uE000".repeat(n.length))),t=t.replace(rp,(n,a,o,l)=>(r.push({value:n,offset:l}),`${a}${"\uE001".repeat(o.length)}${a}`));{let n=0,a;for(;(a=t.indexOf("(",n))>-1;){let o=tp(t,a);r.push({value:o,offset:a}),t=`${t.substring(0,a)}(${"\xB6".repeat(o.length-2)})${t.substring(a+o.length)}`,n=a+o.length;}}let i=ep(t,e),s=new Set;for(let n of r.reverse())for(let a of i){let{offset:o,value:l}=n;if(!(a.pos[0]<=o&&o+l.length<=a.pos[1]))continue;let{content:h}=a,u=o-a.pos[0];a.content=h.slice(0,u)+l+h.slice(u+l.length),a.content!==h&&s.add(a);}for(let n of s){let a=Qh(n.type);if(!a)throw new Error(`Unknown token type: ${n.type}`);a.lastIndex=0;let o=a.exec(n.content);if(!o)throw new Error(`Unable to parse content for ${n.type}: ${n.content}`);Object.assign(n,o.groups);}return i}function rr(t,{list:e=!0}={}){if(e&&t.find(r=>r.type==="comma")){let r=[],i=[];for(let s=0;s<t.length;s++)if(t[s].type==="comma"){if(i.length===0)throw new Error("Incorrect comma at "+s);r.push(rr(i,{list:!1})),i.length=0;}else i.push(t[s]);if(i.length===0)throw new Error("Trailing comma");return r.push(rr(i,{list:!1})),{type:"list",list:r}}for(let r=t.length-1;r>=0;r--){let i=t[r];if(i.type==="combinator"){let s=t.slice(0,r),n=t.slice(r+1);return {type:"complex",combinator:i.content,left:rr(s),right:rr(n)}}}switch(t.length){case 0:throw new Error("Could not build AST.");case 1:return t[0];default:return {type:"compound",list:[...t]}}}function*nr(t,e){switch(t.type){case"list":for(let r of t.list)yield*nr(r,t);break;case"complex":yield*nr(t.left,t),yield*nr(t.right,t);break;case"compound":yield*t.list.map(r=>[r,t]);break;default:yield [t,e];}}function np(t,e,r){if(t)for(let[i,s]of nr(t,r))e(i,s);}function va(t,{recursive:e=!0,list:r=!0}={}){let i=sp(t);if(!i)return;let s=rr(i,{list:r});if(!e)return s;
58for(let[n]of nr(s)){if(n.type!=="pseudo-class"||!n.argument||!Zh.has(n.name))continue;let a=n.argument,o=Xh[n.name];if(o){let l=o.exec(a);if(!l)continue;Object.assign(n,l.groups),a=l.groups.subtree;}a&&Object.assign(n,{subtree:va(a,{recursive:!0,list:!0})});}return s}var ap=re(ss(),1),ba=function(t){if(t==null)return pp;if(typeof t=="string")return hp(t);if(typeof t=="object")return Array.isArray(t)?op(t):lp(t);if(typeof t=="function")return $r(t);throw new Error("Expected function, string, or object as test")};function op(t){let e=[],r=-1;for(;++r<t.length;)e[r]=ba(t[r]);return $r(i);function i(...s){let n=-1;for(;++n<e.length;)if(e[n].call(this,...s))return !0;return !1}}function lp(t){return $r(e);function e(r){let i;for(i in t)if(r[i]!==t[i])return !1;return !0}}function hp(t){return $r(e);function e(r){return r&&r.type===t}}function $r(t){return e;function e(r,...i){return !!(r&&typeof r=="object"&&"type"in r&&t.call(this,r,...i))}}function pp(){return !0}var Hi=!0,Or=!1,cp="skip",fp=function(t,e,r,i){typeof e=="function"&&typeof r!="function"&&(i=r,r=e,e=null);let s=ba(e),n=i?-1:1;a(t,void 0,[])();function a(o,l,h){let u=o&&typeof o=="object"?o:{};if(typeof u.type=="string"){let d=typeof u.tagName=="string"?u.tagName:typeof u.name=="string"?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+(o.type+(d?"<"+d+">":""))+")"});}return c;function c(){let d=[],m,p,f;if((!e||s(o,l,h[h.length-1]||null))&&(d=up(r(o,h)),d[0]===Or))return d;if(o.children&&d[0]!==cp)for(p=(i?o.children.length:-1)+n,f=h.concat(o);p>-1&&p<o.children.length;){if(m=a(o.children[p],p,f)(),m[0]===Or)return m;p=typeof m[1]=="number"?m[1]:p+n;}return d}}};function up(t){return Array.isArray(t)?t:typeof t=="number"?[Hi,t]:[t]}var Nt=function(t,e,r,i){typeof e=="function"&&typeof r!="function"&&(i=r,r=e,e=null),fp(t,e,s,i);function s(n,a){let o=a[a.length-1];return r(n,o?o.children.indexOf(n):null,o)}},ns=re(Lh(),1);ya([ga]);var xa=t=>{try{if(!t.startsWith("linear-gradient"))return !1;let e=(0,ns.parse)(t);return !(e.length===0||e[0]?.type!=="linear-gradient")}catch{return !1}},Sa=t=>{try{if(!t.startsWith("radial-gradient"))return !1;let e=(0,ns.parse)(t);return !(e.length===0||e[0]?.type!=="radial-gradient")}catch{return !1}},Cn=t=>{let e=[],r=[];if(!(xa(t)||Sa(t)))return [];let i=(0, ns.parse)(t)[0];return i?.colorStops.forEach((s,n)=>{let a=[],o=0;if(s.type==="hex"||s.type==="literal"){let h=Ht(s.value);a.push(parseFloat((h.rgba.r/255).toFixed(2)),parseFloat((h.rgba.g/255).toFixed(2)),parseFloat((h.rgba.b/255).toFixed(2))),o=h.rgba.a;}else if(["rgb","rgba"].includes(s.type)){let h=Ht({r:Number(s.value[0]),g:Number(s.value[1]),b:Number(s.value[2]),a:s.value[3]?Number(s.value[3]):1});a.push(parseFloat((h.rgba.r/255).toFixed(2)),parseFloat((h.rgba.g/255).toFixed(2)),parseFloat((h.rgba.b/255).toFixed(2))),o=h.rgba.a;}let l=parseFloat((n/(i.colorStops.length-1||1)).toFixed(2));s.length?.value&&Number(s.length.value)>0&&(l=parseFloat((Number(s.length.value)/100).toFixed(2))),e.push(l,...a),r.push(l,o);}),e.push(...r),e},Pn=(t,e,r)=>{if(!["shape-gradient-fill","shape-gradient-stroke"].includes(t.title))return;let i=e.length/6;Nt(t,"attribute",s=>{s.title==="gradient-type"&&s.children[0]?s.children[0].value=r==="linear"?1:2:s.title==="count"&&s.children[0]&&(s.children[0].value=i);}),Nt(t,"collection",s=>{if(s.title==="static-values"&&typeof s.key=="object"&&s.key.value==="k"&&s.children[0]){let n=s.children[0];n.children=e.map(a=>({type:"primitive",valueType:"number",value:a}));}});};ya([ga]);var Ir=(t,e,r,i=!1)=>{let s=new Set,n=Array.isArray(t)?t:[t];for(let a of n)Nt(a,"attribute",(o,l,h)=>{o.title===r&&o.children[0]?.value===e&&h&&h.type!=="root"&&(i?h===a&&s.add(h):s.add(h));});return Array.from(s)},dp=(t,e)=>{let r=[];for(let i of e){let s=[],n=va(i);np(n,(a,o)=>{let l=s.length>0?s:t;if(a.type==="id")s=Ir(l,a.name,"layer-xml-id",o?.type==="compound");else if(a.type==="class")s=Ir(l,a.name,"css-class",o?.type==="compound");else if(a.type==="type"){let h="",u=null;a.name==="FillShape"?(u="shape-type",h="fl"):a.name==="StrokeShape"?(u="shape-type",h="st"):a.name==="GradientFillShape"?(u="shape-type",h="gf"):a.name==="GradientStrokeShape"?(u="shape-type",h="gs"):a.name==="ShapeLayer"?(u="layer-type",h=4):a.name==="SolidColorLayer"?(u="layer-type",h=1):a.name==="ImageLayer"&&(u="layer-type",h=2),u&&h&&(s=Ir(l,h,u));}else if(a.type==="attribute"){let h=null,u=a.value;a.name==="id"?h="layer-xml-id":a.name==="class"?h="css-class":a.name==="name"?h="name":a.name==="shape-type"?h="shape-type":a.name==="layer-type"&&(h="layer-type",u=Number(a.value)),h&&u&&["number","string"].includes(typeof u)&&(s=Ir(l,u,h,o?.type==="compound"));}}),r.push(...s);}return Array.from(new Set(r))},Li=t=>t.includes("-color"),mp=t=>t==="nonzero"||t==="evenodd",yp=t=>t.endsWith("%")?parseFloat(t):parseFloat(t)*100,gp=t=>t==="nonzero"?1:2,vp=t=>{try{new URL(t);}catch{return !1}return !0},bp=t=>{let e=(0, ap.parse)(t).nodes;if(e.length===1){let r=e[0];
58if(r&&r.type==="func"&&r.name==="url"){let i=r.nodes;if(i.length===1){let s=i[0];if(s&&s.type==="quoted")return s.contents}}}return ""},xp=t=>{let e={};for(let r of t)if(Li(r.property)&&Ht(r.value).isValid()){let i=Ht(r.value).rgba,s=[i.r/255,i.g/255,i.b/255,i.a];switch(r.property){case"fill-color":e["fill-color"]=s;break;case"stroke-color":e["stroke-color"]=s;break}}else if(Li(r.property)&&xa(r.value)){let i=Cn(r.value);switch(r.property){case"fill-color":e["linear-gradient-fill-color"]=i;break;case"stroke-color":e["linear-gradient-stroke-color"]=i;break}}else if(Li(r.property)&&Sa(r.value)){let i=Cn(r.value);switch(r.property){case"fill-color":e["radial-gradient-fill-color"]=i;break;case"stroke-color":e["radial-gradient-stroke-color"]=i;break}}else if(r.property==="stroke-width")e["stroke-width"]=Number(r.value);else if(r.property==="fill-rule"&&mp(r.value))e["fill-rule"]=gp(r.value);else if(r.property==="opacity"){let i=yp(r.value);if(Number.isNaN(i))continue;i<0?e.opacity=0:i>100?e.opacity=100:e.opacity=i;}else if(r.property==="visibility")e.hidden=r.value==="hidden";else if(r.property==="src"){let i=bp(r.value);vp(i)&&(e.src=i);}return e},Sp=(t,e,r)=>{for(let i in e)switch(i){case"fill-color":let s=e[i];t.title==="shape-fill"?Array.isArray(s)&&Nt(t,"array",n=>n.title==="color-rgba-children"&&n.children.length===4?(n.children=n.children.map((a,o)=>({...a,value:s[o]})),Or):Hi):t.title==="layer-solid-color"&&Nt(t,"attribute",n=>{if(n.title==="hex-color"&&n.children[0]?.value&&s?.length===4){let a=Ht({r:s[0]*255,g:s[1]*255,b:s[2]*255,a:s[3]}).toHex();n.children[0].value=a;}});break;case"stroke-color":if(t.title==="shape-stroke"){let n=e[i];Array.isArray(n)&&Nt(t,"array",a=>a.title==="static-values-children"&&a.children.length===4?(a.children=a.children.map((o,l)=>({...o,value:n[l]})),Or):Hi);}break;case"stroke-width":(t.title==="shape-stroke"||t.title==="shape-gradient-stroke")&&Nt(t,"element",n=>{n.title==="stroke-width"&&Nt(n,"attribute",(a,o,l)=>{a.title==="static-value"&&a.children[0]?.value&&a.children[0].valueType==="number"&&l?.title==="animated-value-static"&&(a.children[0].value=e[i]);});});break;case"fill-rule":["shape-fill","shape-gradient-fill"].includes(t.title)&&Nt(t,"attribute",n=>{n.title==="fill-rule-value"&&n.children[0]?.value&&(n.children[0].value=e[i]);});break;case"opacity":["shape-stroke","shape-fill","shape-gradient-fill","shape-gradient-stroke"].includes(t.title)&&Nt(t,"element",n=>{["stroke-opacity","opacity"].includes(n.title)&&Nt(n,"attribute",(a,o,l)=>{a.title==="static-value"&&a.children[0]?.value&&a.children[0].valueType==="number"&&l?.title==="animated-value-static"&&(a.children[0].value=e[i]);});});break;case"hidden":(t.title.includes("shape")||t.title.includes("layer"))&&Nt(t,"attribute",n=>{n.title==="hidden"&&n.children[0]&&(n.children[0].value=e[i]);});break;case"linear-gradient-fill-color":case"linear-gradient-stroke-color":Pn(t,e[i],"linear");break;case"radial-gradient-fill-color":case"radial-gradient-stroke-color":Pn(t,e[i],"radial");break;case"src":if(t.title==="layer-image"){let n=t.children.find(a=>a.title==="image-id");if(n?.type==="attribute"){let a=n.children[0]?.value;Nt(r,"object",o=>{o.title==="asset-image"&&o.children.some(l=>l.title==="id"&&l.children[0]?.type==="primitive"&&l.children[0].value===a)&&Nt(o,"attribute",l=>{l.title==="embedded"&&l.children[0]?l.children[0].value=0:l.title==="path"&&l.children[0]?l.children[0].value="":l.title==="filename"&&l.children[0]&&(l.children[0].value=e[i]);});});}}break}},wp=(t={lss:""})=>async e=>{let r=jh(t.lss);Nt(r,"rule",i=>{let s=dp(e,i.selectors),n=xp(i.children);for(let a of s)Sp(a,n,e);});},kp=wp,_p=re(ca(),1),En=re(Oh(),1),wa={custom:"custom",string:{assetImageType:"asset-image-type",assetType:"asset-type",author:"author",character:"character",cssClass:"css-class",description:"description",expression:"expression",filename:"filename",fontCssClass:"font-css-class",fontFamily:"font-family",fontName:"font-name",fontPath:"font-path",fontStyle:"font-style",fontWeight:"font-weight",generator:"generator",hexColor:"hex-color",id:"id",idDataSource:"data-source-id",idImage:"image-id",idLayerXml:"layer-xml-id",idReference:"reference-id",idSound:"sound-id",keyword:"keyword",layerXmlTagName:"layer-xml-tag-name",markerComment:"marker-comment",maskMode:"mask-mode",matchName:"match-name",name:"name",path:"path",referenceId:"reference-id",shapeType:"shape-type",strokeDashType:"stroke-dash-type",text:"text",themeColor:"theme-color",version:"version"},number:{adaptiveSampleLimit:"adaptive-sample-limit",ascent:"ascent",basedOn:"based-on",baselineShift:"baseline-shift",blendMode:"blend-mode",composite:"composite",compositionIndex:"composition-index",count:"count",dataSourceType:"data-source-type",effectListIndex:"effect-list-index",effectParametersIndex:"effect-parameters-index",effectType:"effect-type",effectValueType:"effect-value-type",expressionPropertyIndex:"expression-property-index",fillRuleValue:"fill-rule-value",fontSize:"font-size",framerate:"framerate",gradientType:"gradient-type",height:"height",inPoint:"in-point",layerStyleType:"layer-style-type",layerType:"layer-type",length:"length",lineCapType:"line-cap-type",lineHeight:"line-height",lineJoin:"line-join",lineJoinType:"line-join-type",markerDuration:"marker-duration",markerTime:"marker-time",matteMode:"matte-mode",matteTarget:"matte-target",mergeMode:"merge-mode",miterLimitValue:"miter-limit-value",multiple:"multiple",numberOfProperties:"number-of-properties",outPoint:"out-point",parentIndex:"parent-index",propertyIndex:"property-index",rangeUnits:"range-units",samplesPerFrame:"samples-per-frame",shapeDirection:"shape-direction",shapePathIndex:"shape-path-index",shapePolygonStarType:"shape-polygon-star-type",shutterAngle:"shutter-angle",shutterPhase:"shutter-phase",staticValue:"static-value",textMask:"text-mask",textRangeSelectorMode:"text-range-selector-mode",textTracking:"text-tracking",textType:"text-type",textTypeCaps:"text-type-caps",textTypeGrouping:"text-type-grouping",textTypeJustify:"text-type-justify",textTypeShape:"text-type-shape",textTypeVerticalJustify:"text-type-vertical-justify",time:"time",timeStart:"start-time",timeStretch:"time-stretch",value:"value",width:"width"},intBoolean:{animated:"animated",autoOrient:"auto-orient",embedded:"embedded",enabled:"enabled",expressible:"expressible",extraComposition:"extra-composition",hold:"hold",randomize:"randomize",threedimensional:"threedimensional",xAxisValue:"x-axis-value",yAxisValue:"y-axis-value"},boolean:{closed:"closed",collapseTransform:"collapse-transform",hasMask:"has-mask",hidden:"hidden",inverted:"inverted",motionBlurEnabled:"motion-blur-enabled",splitEnabled:"split-enabled",strokeOverFill:"stroke-over-fill"},object:{animatedColor:"animated-color",animatedColorStatic:"animated-color-static",animatedMultidimensional:"animated-multidimensional",animatedMultidimensionalStatic:"animated-multidimensional-static",animatedPosition:"animated-position",animatedPositionStatic:"animated-position-static",animatedShape:"animated-shape",animatedShapeStatic:"animated-shape-static",animatedValue:"animated-value",animatedValueStatic:"animated-value-static",animation:"animation",assetDataSource:"asset-data-source",assetImage:"asset-image",assetPrecomposition:"asset-precomposition",bezier:"bezier",characterData:"character-data",characterPrecomp:"character-precomp",characterShapes:"character-shapes",effect:"effect",effectCustom:"effect-custom",effectDisplacementMap:"effect-displacement-map",effectDropShadow:"effect-drop-shadow",effectFill:"effect-fill",effectGaussianBlur:"effect-gaussian-blur",effectMatte3:"effect-matte3",effectMeshWarp:"effect-mesh-warp",effectPaintOverTransparent:"effect-paint-over-transparent",effectProLevels:"effect-pro-levels",effectPuppet:"effect-puppet",effectRadialWipe:"effect-radial-wipe",effectSpherize:"effect-spherize",effectStroke:"effect-stroke",effectTint:"effect-tint",effectTritone:"effect-tritone",effectValueAngle:"effect-value-angle",effectValueCheckbox:"effect-value-checkbox",effectValueColor:"effect-value-color",effectValueDropdown:"effect-value-dropdown",effectValueIgnored:"effect-value-ignored",effectValueLayer:"effect-value-layer",effectValueNoValue:"effect-value-no-value",effectValuePoint:"effect-value-point",effectValueSlider:"effect-value-slider",effectWavy:"effect-wavy",endOpacity:"end-opacity",gradientOverlay:"gradient-overlay",keyframe:"keyframe",keyframeBezierHandle:"keyframe-bezier-handle",layerAdjustment:"layer-adjustment",layerAudio:"layer-audio",layerCamera:"layer-camera",layerData:"layer-data",layerGuide:"layer-guide",layerImage:"layer-image",layerImagePlaceholder:"layer-image-placeholder",layerImageSequence:"layer-image-sequence",layerLight:"layer-light",layerNull:"layer-null",layerPrecomposition:"layer-precomposition",layerShape:"layer-shape",layerSolidColor:"layer-solid-color",layerStyleBevelEmboss:"layer-style-bevel-emboss",layerStyleChokeSpread:"layer-style-choke-spread",layerStyleColorOverlay:"layer-style-color-overlay",layerStyleDropShadow:"layer-style-drop-shadow",layerStyleGradientOverlay:"layer-style-gradient-overlay",layerStyleInnerGlow:"layer-style-inner-glow",layerStyleInnerShadow:"layer-style-inner-shadow",layerStyleOuterGlow:"layer-style-outer-glow",layerStyleSatin:"layer-style-satin",layerStyleStroke:"layer-style-stroke",layerText:"layer-text",layerVideo:"layer-video",layerVideoPlaceholder:"layer-video-placeholder",marker:"marker",mask:"mask",positionKeyframe:"position-keyframe",shapeEllipse:"shape-ellipse",shapeFill:"shape-fill",shapeGradientFill:"shape-gradient-fill",shapeGradientStroke:"shape-gradient-stroke",shapeGroup:"shape-group",shapeKeyframe:"shape-keyframe",shapeMerge:"shape-merge",shapeOffsetPath:"shape-offset-path",shapePath:"shape-path",shapePolygon:"shape-polygon",shapePolyStar:"shape-poly-star",shapePuckerBloat:"shape-pucker-bloat",shapeRectangle:"shape-rectangle",shapeRepeater:"shape-repeater",shapeRoundedCorners:"shape-rounded-corners",shapeStar:"shape-star",shapeStroke:"shape-stroke",shapeTransform:"shape-transform",shapeTr
58im:"shape-trim",shapeTwist:"shape-twist",shapeZigZags:"shape-zig-zag",splitVector:"split-vector",strokeDashDefault:"stroke-dash-default",strokeDashGap:"stroke-dash-gap",strokeDashLength:"stroke-dash-length",strokeDashOffset:"stroke-dash-offset",textFont:"text-font",textRange:"text-range",textDocumentKeyframe:"text-document-keyframe"},array:{outTangentsValue:"out-tangents-value"},collection:{assets:"assets",composition:"composition",effectList:"effect-list",effectParameters:"effect-parameters",extraCompositions:"extra-compositions",inTangents:"in-tangents",keyframeEndValue:"keyframe-end-value",keyframeList:"keyframe-list",keyframeValue:"keyframe-value",keywords:"keywords",layerStyle:"layer-style",layerStyleList:"layer-style-list",markers:"markers",masksProperties:"masks-properties",outTangents:"out-tangents",positionKeyframeList:"position-keyframe-list",shapeKeyframeList:"shape-keyframe-list",shapeKeyframeStart:"shape-keyframe-start",shapeList:"shape-list",staticValues:"static-values",strokeDashList:"stroke-dash-list",textRanges:"text-ranges",textCharacters:"text-characters",textDocumentKeyframes:"text-document-keyframes",textFontList:"text-font-list",valueInTangent:"value-in-tangent",valueOutTangent:"value-out-tangent",vertices:"vertices",xAxis:"x-axis",yAxis:"y-axis",colorRgba:"color-rgba",documentFillColor:"document-fill-color",documentStrokeColor:"document-stroke-color",wrapPosition:"wrap-position",wrapSize:"wrap-size"},element:{align:"align",altitude:"altitude",amount:"amount",anchorPoint:"anchor-point",angle:"angle",animatedColorProp:"animated-color-prop",animatedGradientColors:"animated-gradient-colors",animatedMultidimensionalProp:"animated-multidimensional-prop",animatedPositionProp:"animated-position-prop",animatedShapeBezier:"animated-shape-bezier",animatedShapeProp:"animated-shape-prop",animatedValueProp:"animated-value-prop",bevelStyle:"bevel-style",blur:"blur",blurSize:"blur-size",center:"center",chokeSpread:"choke-spread",copies:"copies",dilate:"dilate",distance:"distance",effectValueAngleValue:"effect-value-angle-value",effectValueCheckboxValue:"effect-value-checkbox-value",effectValueColorValue:"effect-value-color-value",effectValueDropdownValue:"effect-value-dropdown-value",effectValueIgnoredValue:"effect-value-ignored-value",effectValueLayerValue:"effect-value-layer-value",effectValuePointValue:"effect-value-point-value",effectValueSliderValue:"effect-value-slider-value",endPoint:"end-point",fillBrightness:"fill-brightness",fillColor:"fill-color",fillHue:"fill-hue",fillOpacity:"fill-opacity",fillRule:"fill-rule",fillSaturation:"fill-saturation",firstMargin:"first-margin",forceAlignment:"force-alignment",globalAngle:"global-angle",gradientOverlayScale:"gradient-overlay-scale",highlightAngle:"highlight-angle",highlightColor:"highlight-color",highlightLength:"highlight-length",highlightMode:"highlight-mode",highlightOpacity:"highlight-opacity",innerRadius:"inner-radius",innerRoundness:"inner-roundness",invert:"invert",inTangent:"in-tangent",jitter:"jitter",lastMargin:"last-margin",layerAudioSettings:"layer-audio-settings",layerConceal:"layer-conceal",layerStyleBlendMode:"layer-style-blend-mode",layerStyleColor:"layer-style-color",layerTransform:"layer-transform",level:"level",lineSpacing:"line-spacing",maskOpacity:"mask-opacity",maskVertices:"mask-vertices",maxAmount:"max-amount",maxEase:"max-ease",metadata:"metadata",minEase:"min-ease",miterLimit:"miter-limit",miter
58LimitAlternative:"miter-limit-alternative",motionBlur:"motion-blur",noise:"noise",offset:"offset",opacity:"opacity",orientation:"orientation",outerRadius:"outer-radius",outerRoundness:"outer-roundness",outTangent:"out-tangent",perpendicularToPath:"perpendicular-to-path",perspective:"perspective",points:"points",polygonRotationClockwise:"polygon-rotation-clockwise",radius:"radius",range:"range",reverse:"reverse",reversePath:"reverse-path",rotationClockwise:"rotation-clockwise",rotationX:"rotation-x",rotationY:"rotation-y",rotationZ:"rotation-z",rounded:"rounded",roundness:"roundness",scale:"scale",selectorSmoothness:"selector-smoothness",shadowColor:"shadow-color",shadowMode:"shadow-mode",shadowOpacity:"shadow-opacity",shape:"shape",shapeEllipseSize:"shape-ellipse-size",shapeFillColor:"shape-fill-color",shapeStrokeColor:"shape-stroke-color",shapeTrimEnd:"shape-trim-end",shapeTrimStart:"shape-trim-start",shapeZigZagSize:"shape-zig-zag-size",size:"size",skew:"skew",skewAxis:"skew-axis",smoothness:"smoothness",soften:"soften",source:"source",splitX:"split-x",splitY:"split-y",splitZ:"split-z",startOpacity:"start-opacity",startPoint:"start-point",strength:"strength",strokeBrightness:"stroke-brightness",strokeColor:"stroke-color",strokeHue:"stroke-hue",strokeLength:"stroke-length",strokeOpacity:"stroke-opacity",strokeSaturation:"stroke-saturation",strokeWidth:"stroke-width",technique:"technique",textAnimatorData:"text-animator-data",textCharacterData:"text-character-data",textData:"text-data",textStyle:"text-style",textAnimatedDocument:"text-animated-document",textDocument:"text-document",textFonts:"text-fonts",textGroupAlignment:"text-group-alignment",textFollowPath:"text-follow-path",textAlignmentOptions:"text-alignment-options",textSelector:"text-selector",textSelectorEnd:"text-selector-end",textSelectorStart:"text-selector-start",timeRemapping:"time-remapping",letterSpacing:"letter-spacing",transformOpacity:"transform-opacity",transformRepeater:"transform-repeater",translation:"translation",userMetadata:"user-metadata"}},me=function(t,e,r){var i={type:String(t)};return r==null&&(typeof e=="string"||Array.isArray(e))?r=e:Object.assign(i,e),Array.isArray(r)?i.children=r:r!=null&&(i.value=String(r)),i};function jr(t){if(Array.isArray(t))return t;if(typeof t=="function"){let e=t();return jr(e)}else return typeof t>"u"?[]:[t]}function Gr(t){if(Array.isArray(t))return t.length>0?[t[0]]:[];if(typeof t=="function"){let e=t();return Gr(e)}else return typeof t>"u"?[]:[t]}function Cp(t){return t===void 0?"empty":t}var Pp=(t,e)=>me("primitive",{value:Cp(t),...e}),Ep=(t,e)=>me("key",{...e},t),An=(t,e,r)=>me("object",{title:t,...r},[...jr(e)]),Tn=(t,e,r)=>me("array",{title:t,...r},[...jr(e)]),Ap=(t,e,r,i)=>me("attribute",{key:t,title:e,...i},Gr(r)),Tp=(t,e,r,i)=>me("element",{key:t,title:e,...i},Gr(r)),Mp=(t,e,r,i)=>me("collection",{key:t,title:e,...i},Gr(r)),Dp=(t,e)=>me("root",{title:wa.object.animation,hasExpressions:!1,...e},[...jr(t)]),Fp=re(ca(),1),Ge=function t(e,r,i,s,n){let a=ka(r);if(i!=null&&(typeof i!="number"||i<0||i===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(s!=null&&(!t(s)||!s.children))throw new Error("Expected parent node");if(s==null!=(i==null))throw new Error("Expected both parent and index");return e&&e.type&&typeof e.type=="string"?!!a.call(n,e,i,s):!1},ka=function(t){if(t==null)return Vp;if(typeof t=="string")return Op(t);if(typeof t=="object")return Array.isArray(t)?Ip(t):Lp(t);if(typeof t=="function")return Hr(t);throw new Error("Expected function, string, or object as test")};function Ip(t){let e=[],r=-1;for(;++r<t.length;)e[r]=ka(t[r]);return Hr(i);function i(...s){let n=-1;for(;++n<e.length;)if(e[n].call(this,...s))return !0;return !1}}function Lp(t){return Hr(e);function e(r){let i;for(i in t)if(r[i]!==t[i])return !1;return !0}}function Op(t){return Hr(e);function e(r){return r&&r.type===t}}function Hr(t){return e;function e(...r){return !!t.call(this,...r)}}function Vp(){return !0}var Rp=Object.defineProperty,Bp=(t,e,r)=>e in t?Rp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Mn=(t,e,r)=>(Bp(t,typeof e!="symbol"?e+"":e,r),r),{boolean:St,collection:B,custom:ir,element:k,intBoolean:lt,number:z,object:w,string:W}=wa,fr=(t,e)=>({defaultTitle:`${t}
58-static`,dependents:[{key:"k",type:"Array",title:e,childType:"Object",parentTitle:t},{key:"a",type:"Constant",title:lt.animated,parentTitle:{defaultValue:0,values:{0:`${t}-static`,1:t}}}]}),Z={...fr(w.animatedValue,B.keyframeList)},Oi={...fr(w.animatedShape,B.shapeKeyframeList)},Dn={...fr(w.animatedPosition,B.positionKeyframeList)},de={...fr(w.animatedColor,B.keyframeList)},Zt={...fr(w.animatedMultidimensional,B.keyframeList)},_a={[B.composition]:{defaultTitle:w.layerPrecomposition,dependents:[{key:"ty",type:"Constant",title:z.layerType,parentTitle:{prefix:"layer",defaultValue:0,values:{0:"precomposition",1:"solid-color",2:"image",3:"null",4:"shape",5:"text",6:"audio",7:"video-placeholder",8:"image-sequence",9:"video",10:"image-placeholder",11:"guide",12:"adjustment",13:"camera",14:"light",15:"data"}}}]},[B.shapeList]:{defaultTitle:w.shapeRectangle,dependents:[{key:"ty",type:"Constant",title:W.shapeType,parentTitle:{prefix:"shape",defaultValue:"rc",values:{rc:"rectangle",el:"ellipse",sr:"star",sh:"path",fl:"fill",st:"stroke",gf:"gradient-fill",gs:"gradient-stroke",gr:"group",tr:"transform",rd:"rounded-corners",pb:"pucker-bloat",mm:"merge",tw:"twist",op:"offset-path",zz:"zig-zag","":"modifier",rp:"repeater",tm:"trim"}}},{key:"sy",type:"Constant",title:z.shapePolygonStarType,parentTitle:{prefix:"shape",defaultValue:1,values:{1:"star",2:"polygon"}}}]},assets:{defaultTitle:w.assetPrecomposition,dependents:[{key:"w",type:"Number",title:z.width,parentTitle:w.assetImage},{key:"h",type:"Number",title:z.height,parentTitle:w.assetImage},{key:"t",type:"Constant",title:W.assetType,parentTitle:{prefix:"asset",defaultValue:"seq",values:{seq:"image",3:"data-source"}}},{key:"layers",type:"Array",title:B.composition,parentTitle:w.assetPrecomposition},{key:"mn",type:"String",title:W.matchName,parentTitle:w.assetPrecomposition},{key:"fr",type:"Number",title:z.framerate,parentTitle:w.assetPrecomposition},{key:"xt",type:"Number",title:lt.extraComposition,parentTitle:w.assetPrecomposition}]},[B.effectList]:{defaultTitle:w.effectCustom,dependents:[{key:"ty",type:"Constant",title:z.effectType,parentTitle:{prefix:"effect",defaultValue:5,values:{25:"drop-shadow",21:"fill",29:"gaussian-blur",28:"matte3",24:"pro-levels",22:"stroke",20:"tint",23:"tritone",26:"radial-wipe",32:"wavy",34:"puppet",33:"spherize",7:"paint-over-transparent",31:"mesh-warp",27:"displacement-map",5:"custom"}}}]},[B.effectParameters]:{defaultTitle:w.effectValueSlider,dependents:[{key:"ty",type:"Constant",title:z.effectValueType,parentTitle:{defaultValue:0,prefix:"effect-value",values:{4:"checkbox",2:"color",7:"dropdown",6:"ignored",10:"layer",3:"point",0:"slider",1:"angle"}}}]},[B.layerStyleList]:{defaultTitle:w.layerStyleStroke,dependents:[{key:"ty",type:"Constant",title:z.layerStyleType,parentTitle:{prefix:B.layerStyle,defaultValue:0,values:{0:"stroke",1:"drop-shadow",2:"inner-shadow",3:"outer-glow",4:"inner-glow",5:"bevel-emboss",6:"satin",7:"color-overlay",8:"gradient-overlay"}}}]},[k.animatedPositionProp]:{...Dn},[k.animatedShapeProp]:{...Oi},[k.animatedShapeBezier]:{defaultTitle:w.bezier},[k.animatedColorProp]:{...de},[k.animatedMultidimensionalProp]:{...Zt},[k.anchorPoint]:{...Dn},[B.keyframeList]:{defaultTitle:w.keyframe},[B.keyframeValue]:{defaultTitle:w.bezier},[B.keyframeEndValue]:{defaultTitle:w.bezier},[B.positionKeyframeList]:{defaultTitle:w.positionKeyframe},[k.inTangent]:{defaultTitle:w.keyframeBezierHandle},[k.outTangent]:{defaultTitle:w.keyframeBezierHandle},[k.translation]:{defaultTitle:w.animatedPositionStatic,dependents:[{key:"k",type:"Array",title:B.positionKeyframeList,childType:"Object",parentTitle:w.animatedPosition},{key:"a",type:"Constant",title:lt.animated,parentTitle:{defaultValue:0,values:{0:w.animatedPositionStatic,1:w.animatedPosition}}},{key:"s",type:"Boolean",title:St.splitEnabled,parentTitle:w.splitVector},{key:"x",type:"Object",title:k.animatedValueProp,parentTitle:w.splitVector},{key:"y",type:"Object",title:k.animatedValueProp,parentTitle:w.splitVector},{key:"z",type:"Object",title:k.animatedValueProp,parentTitle:w.splitVector}]},[k.scale]:{...Zt},[k.rotationClockwise]:{...Z},[k.polygonRotationClockwise]:{...Z},[k.rotationX]:{...Z},[k.rotationY]:{...Z},[k.rotationZ]:{...Z},[k.skew]:{...Z},[k.skewAxis]:{...Z},[k.orientation]:{...Zt},[k.size]:{...Zt},[k.rounded]:{...Z},[k.level]:{...Zt},[k.shapeEllipseSize]:{...Zt},[k.startPoint]:{...Zt},[k.endPoint]:{...Zt},[k.splitX]:{...Z},[k.splitY]:{...Z},[k.splitZ]:{...Z},[k.effectValueAngleValue]:{...Z},[k.effectValueCheckboxValue]:{...Z},[k.effectValueColorValue]:{...de},[k.effectValueDropdownValue]:{...Z},[k.effectValueLayerValue]:{...Z},[k.effectValuePointValue]:{...Zt},[k.effectValueSliderValue]:{...Z},[k.opacity]:{...Z},[k.transformOpacity]:{...Z},[k.maskOpacity]:{...Z},[k.timeRemapping]:{...Z},[k.dilate]:{...Z},[k.perspective]:{...Z},[k.highlightLength]:{...Z},[k.highlightAngle]:{...Z},[w.strokeDashDefault]:{...Z},[k.miterLimitAlternative]:{...Z},[k.strokeWidth]:{...Z},[k.outerRadius]:{...Z},[k.outerRoundness]:{...Z},[k.points]:{...Z},[k.innerRadius]:{...Z},[k.innerRoundness]:{...Z},[k.amount]:{...Z},[k.copies]:{...Z},[k.offset]:{...Z},[k.radius]:{...Z},[B.shapeKeyframeList]:{defaultTitle:w.shapeKeyframe},[B.shapeKeyframeStart]:{defaultTitle:w.bezier},[w.animatedShapeStatic]:{defaultTitle:w.bezier},[k.shapeTrimStart]:{...Z},[k.shapeTrimEnd]:{...Z},[k.angle]:{...Z},[k.miterLimit]:{...Z},[k.roundness]:{...Z},[k.shapeZigZagSize]:{...Z},[w.layerStyleChokeSpread]:{...Z},[k.chokeSpread]:{...Z},[k.layerStyleBlendMode]:{...Z},[k.blurSize]:{...Z},[k.noise]:{...Z},[k.distance]:{...Z},[k.layerStyleColor]:{...de},[k.layerConceal]:{...Z},[k.range]:{...Z},[k.jitter]:{...Z},[k.source]:{...Z},[k.strength]:{...Z},[k.bevelStyle]:{...Z},[k.technique]:{...Z},[k.soften]:{...Z},[k.globalAngle]:{...Z},[k.altitude]:{...Z},[k.highlightMode]:{...Z},[k.highlightColor]:{...Z},[k.highlightOpacity]:{...Z},[k.shadowMode]:{...Z},[k.shadowColor]:{...de},[k.shadowOpacity]:{...Z},[k.invert]:{...Z},[k.smoothness]:{...Z},[k.reverse]:{...Z},[k.align]:{...Z},[w.gradientOverlay]:{...Z},[k.firstMargin]:{...Z},[k.lastMargin]:{...Z},[k.reversePath]:{...Z},[k.forceAlignment]:{...Z},[k.perpendicularToPath]:{...Z},[k.strokeWidth]:{...Z},[k.strokeHue]:{...Z},[k.strokeSaturation]:{...Z},[k.strokeBrightness]:{...Z},[k.strokeOpacity]:{...Z},[k.strokeHue]:{...Z},[k.fillColor]:{...de},[k.fillHue]:{...Z},[k.fillSaturation]:{...Z},[k.fillOpacity]:{...Z},[k.fillBrightness]:{...Z},[k.letterSpacing]:{...Z},[k.blur]:{...Z},[k.lineSpacing]:{...Z},[k.minEase]:{...Z},[k.maxEase]:{...Z},[k.maxAmount]:{...Z},[k.textSelectorStart]:{...Z},[k.textSelectorEnd]:{...Z},[k.shape]:{...Oi},[k.maskVertices]:{...Oi},[k.shapeFillColor]:{...de},[k.shapeStrokeColor]:{...Zt},[B.documentStrokeColor]:{...de},[B.documentFillColor]:{...de},[k.center]:{...Zt},[k.textGroupAlignment]:{...Zt},[B.masksProperties]:{defaultTitle:w.mask},[B.textFontList]:{defaultTitle:w.textFont},[k.startOpacity]:{...Z},[w.endOpacity]:{...Z},[B.strokeDashList]:{defaultTitle:w.strokeDashDefault,dependents:[{key:"n",type:"Constant",title:W.strokeDashType,parentTitle:{prefix:"stroke-dash",defaultValue:"d",values:{d:"default",g:"gap",o:"offset"}}}]},[k.strokeLength]:{...Z},[B.markers]:{defaultTitle:w.marker},[k.textCharacterData]:{defaultTitle:w.characterShapes,dependents:[{key:"shapes",type:"Array",title:B.shapeList,parentTitle:w.characterShapes},{key:"refId",type:"String",title:W.referenceId,parentTitle:w.characterPrecomp},{key:"ks",type:"Object",title:k.layerTransform,parentTitle:w.characterPrecomp},{key:"ip",type:"Number",title:z.inPoint,parentTitle:w.characterPrecomp},{key:"op",type:"Number",title:z.outPoint,parentTitle:w.characterPrecomp},{key:"sr",type:"Number",title:z.timeStretch,parentTitle:w.characterPrecomp},{key:"st",type:"Number",title:z.timeStart,parentTitle:w.characterPrecomp}]},[B.textDocumentKeyframes]:{defaultTitle:w.textDocumentKeyframe},[B.textRanges]:{defaultTitle:w.textRange}},ct=(t,e,r="ty")=>{let i=_a[t]?.dependents?.find(h=>h.key===r);if(i?.type!=="Constant")return {};let{prefix:s,values:n}=i.parentTitle,a=s?`${s}-`:"",o=Object.values(n),l={};for(let h of o)typeof h=="string"&&(l[a+h]=e);return l},zp={},Ca=(t,e)=>{switch(t.type){case"Object":return _a[e]||{defaultTitle:e};case"Array":return zp[e]||{defaultTitle:e};default:throw new Error("The node.type has to be 'Array' or 'Object'")}},Np={required:{p:{[w.assetImage]:W.filename,[w.assetPrecomposition]:W.filename,[w.assetDataSource]:W.filename},sc:{[w.layerSolidColor]:W.hexColor},ch:{[B.textCharacters]:W.character},fName:{[w.textFont]:W.fontName},fStyle:{[w.textFont]:W.fontStyle},style:{[B.textCharacters]:W.fontStyle},fFamily:{[w.textFont]:W.fontFamily,[B.textCharacters]:W.fontFamily},f:{[k.textDocument]:W.fontFamily},t:{[k.textDocument]:W.text}},known:{x:{[w.animatedValue]:W.expression,[w.animatedValueStatic]:W.expression,[w.animatedShape]:W.expression,[w.animatedShapeStatic]:W.expression,[w.animatedPosition]:W.expression,[w.animatedPositionStatic]:W.expression,[w.animatedColor]:W.expression,[w.animatedColorStatic]:W.expression,[w.animatedMultidimensional]:W.expression,[w.animatedMultidimensionalStatic]:W.expression,[k.textAnimatedDocument]:W.expression},v:{[w.animation]:W.version},cm:{[w.marker]:W.markerComment},a:{[k.metadata]:W.author},k:{[k.metadata]:W.keyword},d:{[k.metadata]:W.description},tc:{[k.metadata]:W.themeColor},g:{[k.metadata]:W.generator},id:{[w.assetImage]:W.id,[w.assetPrecomposition]:W.id,[w.assetDataSource]:W.id},refId:{[w.layerAudio]:W.idSound,[w.layerPrecomposition]:W.idReference,[w.layerImage]:W.idImage,[w.layerData]:W.idDataSource,[w.characterPrecomp]:W.idReference},u:{[w.assetImage]:W.path,[w.assetPrecomposition]:W.path,[w.assetDataSource]:W.path}
58,nm:{[w.animation]:W.name,[w.assetImage]:W.name,[w.assetPrecomposition]:W.name,[w.assetDataSource]:W.name,[w.textRange]:W.name,[k.transformRepeater]:W.name,[w.animatedValue]:W.name,[w.animatedValueStatic]:W.name,[w.animatedShape]:W.name,[w.animatedShapeStatic]:W.name,[w.animatedPosition]:W.name,[w.animatedPositionStatic]:W.name,[w.animatedColor]:W.name,[w.animatedColorStatic]:W.name,[w.animatedMultidimensional]:W.name,[w.animatedMultidimensionalStatic]:W.name,...ct(B.effectParameters,W.name),...ct(B.effectList,W.name),[w.mask]:W.name,...ct(B.composition,W.name),...ct(B.shapeList,W.name),[w.strokeDashDefault]:W.name,[w.strokeDashGap]:W.name,[w.strokeDashOffset]:W.name,[w.layerStyleBevelEmboss]:W.name,[w.layerStyleColorOverlay]:W.name,[w.layerStyleDropShadow]:W.name,[w.layerStyleGradientOverlay]:W.name,[w.layerStyleInnerShadow]:W.name,[w.layerStyleOuterGlow]:W.name,[w.layerStyleSatin]:W.name,[w.layerStyleStroke]:W.name,[k.layerTransform]:W.name},mn:{[w.animation]:W.matchName,[w.animatedValue]:W.matchName,[w.animatedValueStatic]:W.matchName,[w.animatedShape]:W.matchName,[w.animatedShapeStatic]:W.matchName,[w.animatedPosition]:W.matchName,[w.animatedPositionStatic]:W.matchName,[w.animatedColor]:W.matchName,[w.animatedColorStatic]:W.matchName,[w.animatedMultidimensional]:W.matchName,[w.animatedMultidimensionalStatic]:W.matchName,...ct(B.effectParameters,W.matchName),...ct(B.effectList,W.matchName),[w.mask]:W.matchName,...ct(B.composition,W.matchName),...ct(B.shapeList,W.matchName),[w.strokeDashDefault]:W.matchName,[w.strokeDashGap]:W.matchName,[w.strokeDashOffset]:W.matchName,[w.layerStyleBevelEmboss]:W.name,[w.layerStyleColorOverlay]:W.name,[w.layerStyleDropShadow]:W.name,[w.layerStyleGradientOverlay]:W.name,[w.layerStyleInnerShadow]:W.name,[w.layerStyleOuterGlow]:W.name,[w.layerStyleSatin]:W.name,[w.layerStyleStroke]:W.name,[k.transformRepeater]:W.matchName},ln:{...ct(B.composition,W.idLayerXml),...ct(B.shapeList,W.idLayerXml)},cl:{...ct(B.composition,W.cssClass),...ct(B.shapeList,W.cssClass)},fPath:{[w.textFont]:W.fontPath},fWeight:{[w.textFont]:W.fontWeight},fClass:{[w.textFont]:W.fontCssClass},tg:{...ct(B.composition,W.layerXmlTagName)},t:{[w.assetImage]:W.assetImageType}}},$p={required:{ty:{...ct(B.composition,z.layerType),...ct(B.shapeList,W.shapeType)}},known:{mode:{[w.mask]:W.maskMode},n:{[w.strokeDashDefault]:W.strokeDashType,[w.strokeDashGap]:W.strokeDashType,[w.strokeDashOffset]:W.strokeDashType},t:{[w.assetImage]:W.assetImageType}}},jp={required:{ip:{[w.animation]:z.inPoint,...ct(B.composition,z.inPoint)},op:{[w.animation]:z.outPoint,...ct(B.composition,z.outPoint),[w.characterPrecomp]:z.outPoint},p:{[k.animatedGradientColors]:z.count},k:{[w.animatedValueStatic]:z.staticValue,[w.animatedMultidimensionalStatic]:z.staticValue,[w.animatedPositionStatic]:z.staticValue,[w.animatedValue]:z.staticValue},w:{[w.animation]:z.width,[w.assetImage]:z.width,[w.assetPrecomposition]:z.width,[B.textCharacters]:z.width,[w.layerPrecomposition]:z.width},sw:{[w.layerSolidColor]:z.width},h:{[w.animation]:z.height,[w.assetImage]:z.height,[w.assetPrecomposition]:z.height,[w.layerPrecomposition]:z.height},sh:{[w.layerSolidColor]:z.height},size:{[B.textCharacters]:z.fontSize},ls:{[k.textDocument]:z.baselineShift},t:{[w.keyframe]:z.time,[B.keyframeList]:z.time,[B.keyframeValue]:z.time,[w.positionKeyframe]:z.time,[B.positionKeyframeList]:z.time,[w.keyframeBezierHandle]:z.time,[w.shapeKeyframe]:z.time,[w.textDocumentKeyframe]:z.timeStart},s:{[k.textDocument]:z.fontSize}},known:{v:{[w.effectValueIgnored]:z.value},tm:{[w.marker]:z.markerTime},dr:{[w.marker]:z.markerDuration},sa:{[k.motionBlur]:z.shutterAngle},sp:{[k.motionBlur]:z.shutterPhase},spf:{[k.motionBlur]:z.samplesPerFrame},asl:{[k.motionBlur]:z.adaptiveSampleLimit},ix:{...ct(B.shapeList,z.propertyIndex),...ct(B.effectList,z.propertyIndex),...ct(B.effectParameters,z.propertyIndex),[w.animatedValue]:z.propertyIndex,[w.animatedValueStatic]:z.propertyIndex,[w.animatedShape]:z.propertyIndex,[w.animatedShapeStatic]:z.propertyIndex,[w.animatedPosition]:z.propertyIndex,[w.animatedPositionStatic]:z.propertyIndex,[w.animatedColor]:z.propertyIndex,[w.animatedColorStatic]:z.propertyIndex,[w.animatedMultidimensional]:z.propertyIndex,[w.animatedMultidimensionalStatic]:z.propertyIndex},ind:{...ct(B.composition,z.compositionIndex),[w.shapePath]:z.shapePathIndex,...ct(B.effectParameters,z.effectParametersIndex),...ct(B.effectList,z.effectListIndex)},cix:{...ct(B.shapeList,z.expressionPropertyIndex)},fr:{[w.animation]:z.framerate,[w.assetPrecomposition]:z.framerate},sr:{...ct(B.composition,z.timeStretch),[w.characterPrecomp]:z.timeStretch},st:{...ct(B.composition,z.timeStart),[w.characterPrecomp]:z.timeStart},l:{[w.animatedMultidimensional]:z.length,[w.animatedMultidimensionalStatic]:z.length,[w.animatedPosition]:z.length,[w.animatedPositionStatic]:z.length,[k.translation]:z.length},parent:{...ct(B.composition,z.parentIndex)},td:{[w.layerPrecomposition]:z.matteTarget,[w.layerShape]:z.matteTarget,[w.layerSolidColor]:z.matteTarget,[w.layerImage]:z.matteTarget,[w.layerNull]:z.matteTarget,[w.layerText]:z.matteTarget},ml:{[w.shapeGradientStroke]:z.miterLimitValue,[w.shapeStroke]:z.miterLimitValue},np:{[w.shapeGroup]:z.numberOfProperties,[k.effectValueAngleValue]:z.numberOfProperties,[k.effectValueCheckboxValue]:z.numberOfProperties,[k.effectValueColorValue]:z.numberOfProperties,[k.effectValueDropdownValue]:z.numberOfProperties,[k.effectValueIgnoredValue]:z.numberOfProperties,[k.effectValueLayerValue]:z.numberOfProperties,[k.effectValuePointValue]:z.numberOfProperties,[k.effectValueSliderValue]:z.numberOfProperties,[w.effect]:z.numberOfProperties,[B.effectList]:z.numberOfProperties,[B.effectParameters]:z.numberOfProperties,...ct(B.effectList,z.numberOfProperties),...ct(B.effectParameters,z.numberOfProperties)},mm:{[w.shapeMerge]:z.mergeMode},ip:{[w.characterPrecomp]:z.inPoint},ascent:{[w.textFont]:z.ascent},r:{[k.textSelector]:z.rangeUnits},lh:{[k.textDocument]:z.lineHeight},tr:{[k.textDocument]:z.textTracking},ls:{[k.textDocument]:z.baselineShift}}},Gp={required:{ty:{...ct(B.composition,z.layerType),...ct(B.layerStyleList,z.layerStyleType),...ct(B.effectParameters,z.effectType),...ct(B.effectList,z.effectType)},bm:{...ct(B.composition,z.blendMode),...ct(B.shapeList,z.blendMode)},d:{[w.shapeEllipse]:z.shapeDirection,[w.shapePath]:z.shapeDirection,[w.shapePolygon]:z.shapeDirection,[w.shapeStar]:z.shapeDirection,[w.shapeRectangle]:z.shapeDirection}
58,t:{[w.assetDataSource]:z.dataSourceType},origin:{[w.textFont]:z.textType},b:{[k.textSelector]:z.basedOn},sh:{[k.textSelector]:z.textTypeShape}},known:{tt:{[w.layerPrecomposition]:z.matteMode,[w.layerShape]:z.matteMode,[w.layerSolidColor]:z.matteMode,[w.layerImage]:z.matteMode,[w.layerNull]:z.matteMode,[w.layerText]:z.matteMode},m:{[w.shapeRepeater]:z.composite,[w.shapeTrim]:z.multiple,[k.textFollowPath]:z.textMask},r:{[w.shapeFill]:z.fillRuleValue,[w.shapeGradientFill]:z.fillRuleValue},t:{[w.shapeGradientFill]:z.gradientType,[w.shapeGradientStroke]:z.gradientType},gt:{[w.layerStyleGradientOverlay]:z.gradientType},lc:{[w.shapeGradientStroke]:z.lineCapType,[w.shapeStroke]:z.lineCapType},lj:{[w.shapeGradientStroke]:z.lineJoinType,[w.shapeStroke]:z.lineJoinType,[w.shapeOffsetPath]:z.lineJoin},sy:{[w.shapePolygon]:z.shapePolygonStarType,[w.shapeStar]:z.shapePolygonStarType},g:{[k.textAlignmentOptions]:z.textTypeGrouping},j:{[k.textDocument]:z.textTypeJustify},ca:{[k.textDocument]:z.textTypeCaps},vj:{[k.textDocument]:z.textTypeVerticalJustify}}},Hp={required:{},known:{}},qp={required:{x:{[w.keyframe]:lt.xAxisValue,[B.keyframeList]:lt.xAxisValue,[B.keyframeValue]:lt.xAxisValue,[w.positionKeyframe]:lt.xAxisValue,[B.positionKeyframeList]:lt.xAxisValue,[w.keyframeBezierHandle]:lt.xAxisValue},y:{[w.keyframe]:lt.yAxisValue,[B.keyframeList]:lt.yAxisValue,[B.keyframeValue]:lt.yAxisValue,[w.positionKeyframe]:lt.yAxisValue,[B.positionKeyframeList]:lt.yAxisValue,[w.keyframeBezierHandle]:lt.yAxisValue},t:{[k.textSelector]:lt.expressible}},known:{rn:{[k.textSelector]:lt.randomize},ddd:{[w.animation]:lt.threedimensional,...ct(B.composition,lt.threedimensional)},ao:{[w.layerPrecomposition]:lt.autoOrient,[w.layerShape]:lt.autoOrient,[w.layerSolidColor]:lt.autoOrient,[w.layerImage]:lt.autoOrient,[w.layerNull]:lt.autoOrient,[w.layerText]:lt.autoOrient},a:{[w.animatedValue]:lt.animated,[w.animatedValueStatic]:lt.animated,[w.animatedShape]:lt.animated,[w.animatedShapeStatic]:lt.animated,[w.animatedPosition]:lt.animated,[w.animatedPositionStatic]:lt.animated,[w.animatedColor]:lt.animated,[w.animatedColorStatic]:lt.animated,[w.animatedMultidimensional]:lt.animated,[w.animatedMultidimensionalStatic]:lt.animated},e:{[w.assetImage]:lt.embedded,[w.assetDataSource]:lt.embedded},en:{...ct(B.effectList,lt.enabled)},xt:{[w.assetPrecomposition]:lt.extraComposition},h:{[w.keyframe]:lt.hold,[B.keyframeList]:lt.hold,[B.keyframeValue]:lt.hold,[w.positionKeyframe]:lt.hold,[B.positionKeyframeList]:lt.hold,[w.keyframeBezierHandle]:lt.hold,[w.shapeKeyframe]:lt.hold}}},Up={required:{s:{[w.splitVector]:St.splitEnabled}},known:{c:{[w.bezier]:St.closed},inv:{[w.mask]:St.inverted},hd:{...ct(B.composition,St.hidden),...ct(B.shapeList,St.hidden)},cp:{[w.layerPrecomposition]:St.collapseTransform,[w.layerShape]:St.collapseTransform,[w.layerSolidColor]:St.collapseTransform,[w.layerImage]:St.collapseTransform,[w.layerNull]:St.collapseTransform,[w.layerText]:St.collapseTransform},hasMask:{[w.layerPrecomposition]:St.hasMask,[w.layerShape]:St.hasMask,[w.layerSolidColor]:St.hasMask,[w.layerImage]:St.hasMask,[w.layerNull]:St.hasMask,[w.layerText]:St.hasMask},mb:{[w.layerPrecomposition]:St.motionBlurEnabled,[w.layerShape]:St.motionBlurEnabled,[w.layerSolidColor]:St.motionBlurEnabled,[w.layerImage]:St.motionBlurEnabled,[w.layerNull]:St.motionBlurEnabled,[w.layerText]:St.motionBlurEnabled},of:{[k.textDocument]:St.strokeOverFill}}},Wp={required:{assets:{[w.animation]:B.assets},layers:{[w.animation]:B.composition,[w.assetPrecomposition]:B.composition},shapes:{[w.layerShape]:B.shapeList,[w.characterShapes]:B.shapeList},ef:{[w.effect]:B.effectParameters,...ct(B.effectList,B.effectParameters)},i:{[w.bezier]:B.inTangents},o:{[w.bezier]:B.outTangents},v:{[w.bezier]:B.vertices},k:{[k.textAnimatedDocument]:B.textDocumentKeyframes,[w.animatedValue]:B.keyframeList,[w.animatedValueStatic]:B.staticValues,[w.animatedMultidimensional]:B.keyframeList,[w.animatedMultidimensionalStatic]:B.staticValues,[w.animatedPosition]:B.positionKeyframeList,[w.animatedPositionStatic]:B.staticValues,[w.animatedColor]:B.keyframeList,[w.animatedShape]:B.shapeKeyframeList,[w.animatedColorStatic]:B.colorRgba},a:{[k.textAnimatorData]:B.textRanges},x:{[w.keyframeBezierHandle]:B.xAxis},y:{[w.keyframeBezierHandle]:B.yAxis},s:{[w.shapeKeyframe]:B.shapeKeyframeStart},fc:{[k.textDocument]:B.documentFillColor}},known:{k:{[k.metadata]:B.keywords},comps:{[w.animation]:B.extraCompositions},chars:{[w.animation]:B.textCharacters},markers:{[w.animation]:B.markers},masksProperties:{[w.layerPrecomposition]:B.masksProperties,[w.layerShape]:B.masksProperties,[w.layerSolidColor]:B.masksProperties,[w.layerImage]:B.masksProperties,[w.layerNull]:B.masksProperties,[w.layerText]:B.masksProperties},ef:{[w.layerPrecomposition]:B.effectList,[w.layerShape]:B.effectList,[w.layerSolidColor]:B.effectList,[w.layerImage]:B.effectList,[w.layerNull]:B.effectList,[w.layerText]:B.effectList},sy:{[w.layerPrecomposition]:B.layerStyle,[w.layerShape]:B.layerStyle,[w.layerSolidColor]:B.layerStyle,[w.layerImage]:B.layerStyle,[w.layerNull]:B.layerStyle,[w.layerText]:B.layerStyle},d:{[w.shapeGradientStroke]:B.strokeDashList,[w.shapeStroke]:B.strokeDashList},it:{[w.shapeGroup]:B.shapeList},s:{[w.keyframe]:B.keyframeValue,[B.keyframeList]:B.keyframeValue,[w.positionKeyframe]:B.keyframeValue,[B.positionKeyframeList]:B.keyframeValue,[w.keyframeBezierHandle]:B.keyframeValue},e:{[w.keyframe]:B.keyframeEndValue,[B.keyframeList]:B.keyframeEndValue,[B.keyframeValue]:B.keyframeEndValue,[w.positionKeyframe]:B.keyframeEndValue,[B.positionKeyframeList]:B.keyframeEndValue,[w.keyframeBezierHandle]:B.keyframeEndValue,[w.shapeKeyframe]:B.keyframeEndValue},to:{[w.positionKeyframe]:B.valueOutTangent},ti:{[w.positionKeyframe]:B.valueInTangent},sz:{[k.textDocument]:B.wrapSize},sc:{[k.textDocument]:B.documentStrokeColor},ps:{[k.textDocument]:B.wrapPosition},list:{[k.textFonts]:B.textFontList}}},Jp={required:{r:{[k.layerTransform]:k.rotationClockwise,[w.shapeTransform]:k.rotationClockwise,[k.transformRepeater]:k.rotationClockwise,[k.textStyle]:k.rotationClockwise,[w.shapePolygon]:k.polygonRotationClockwise,[w.shapeStar]:k.polygonRotationClockwise,[w.shapeRectangle]:k.rounded,[w.shapeRoundedCorners]:k.radius},au:{[w.layerAudio]:k.layerAudioSettings},t:{[w.layerText]:k.textAnimatorData},pe:{[w.layerCamera]:k.perspective},ks:{[w.layerPrecomposition]:k.layerTransform,[w.layerShape]:k.layerTransform,[w.layerSolidColor]:k.layerTransform,[w.layerImage]:k.layerTransform,[w.layerNull]:k.layerTransform,[w.layerText]:k.layerTransform,[w.layerCamera]:k.layerTransform,[w.shapePath]:k.animatedShapeProp},p:{[w.shapeEllipse]:k.animatedPositionProp,[w.shapePolygon]:k.animatedPositionProp,[w.shapeStar]:k.animatedPositionProp,[w.shapeRectangle]:k.animatedPositionProp,[k.textAnimatorData]:k.textFollowPath},s:{[w.shapeEllipse]:k.shapeEllipseSize,[w.shapeGradientFill]:k.startPoint,[w.shapeGradientStroke]:k.startPoint,[w.shapeRectangle]:k.size,[w.shapeTrim]:k.shapeTrimStart,[w.textDocumentKeyframe]:k.textDocument,[w.layerStyleStroke]:k.blurSize,[w.layerStyleDropShadow]:k.blurSize,[w.layerStyleInnerShadow]:k.blurSize,[w.layerStyleBevelEmboss]:k.blurSize,[w.layerStyleSatin]:k.blurSize}
58,o:{[w.shapeFill]:k.opacity,[w.shapeGradientFill]:k.opacity,[w.shapeTrim]:k.offset,[w.shapeGradientStroke]:k.strokeOpacity,[w.shapeStroke]:k.strokeOpacity},c:{[w.shapeFill]:k.shapeFillColor,[w.shapeRepeater]:k.copies,[w.shapeStroke]:k.shapeStrokeColor},e:{[w.shapeGradientFill]:k.endPoint,[w.shapeGradientStroke]:k.endPoint,[w.shapeTrim]:k.shapeTrimEnd},g:{[w.shapeGradientFill]:k.animatedGradientColors,[w.shapeGradientStroke]:k.animatedGradientColors},or:{[w.shapePolygon]:k.outerRadius,[w.shapeStar]:k.outerRadius},os:{[w.shapePolygon]:k.outerRoundness,[w.shapeStar]:k.outerRoundness},pt:{[w.shapePolygon]:k.points,[w.shapeStar]:k.points},ir:{[w.shapeStar]:k.innerRadius},is:{[w.shapeStar]:k.innerRoundness},tr:{[w.shapeRepeater]:k.transformRepeater},data:{[B.textCharacters]:k.textCharacterData},a:{[k.textSelector]:k.maxAmount},d:{[k.textAnimatorData]:k.textAnimatedDocument},k:{[w.animatedShapeStatic]:k.animatedShapeBezier,[k.animatedGradientColors]:k.animatedMultidimensionalProp},lv:{[k.layerAudioSettings]:k.level},x:{[w.splitVector]:k.splitX},y:{[w.splitVector]:k.splitY},z:{[w.splitVector]:k.splitZ},lc:{[w.layerStyleDropShadow]:k.layerConceal},m:{[k.textAnimatorData]:k.textAlignmentOptions},w:{[w.shapeGradientStroke]:k.strokeWidth,[w.shapeStroke]:k.strokeWidth}},known:{xe:{[k.textSelector]:k.maxEase},ne:{[k.textSelector]:k.minEase},meta:{[w.animation]:k.metadata},[k.metadata]:{[w.animation]:k.userMetadata},mb:{[w.animation]:k.motionBlur},fonts:{[w.animation]:k.textFonts},v:{...ct(B.effectParameters,z.value),[w.strokeDashDefault]:k.strokeLength,[w.strokeDashGap]:k.strokeLength,[w.strokeDashOffset]:k.strokeLength,[w.effectValueAngle]:k.effectValueAngleValue,[w.effectValueCheckbox]:k.effectValueCheckboxValue,[w.effectValueColor]:k.effectValueColorValue,[w.effectValueDropdown]:k.effectValueDropdownValue,[w.effectValueIgnored]:k.effectValueIgnoredValue,[w.effectValueLayer]:k.effectValueLayerValue,[w.effectValuePoint]:k.effectValuePointValue,[w.effectValueSlider]:k.effectValueSliderValue},rx:{[k.layerTransform]:k.rotationX,[w.shapeTransform]:k.rotationX,[k.transformRepeater]:k.rotationX,[k.textStyle]:k.rotationX},ry:{[k.layerTransform]:k.rotationY,[w.shapeTransform]:k.rotationY,[k.transformRepeater]:k.rotationY,[k.textStyle]:k.rotationY},rz:{[k.layerTransform]:k.rotationZ,[w.shapeTransform]:k.rotationZ,[k.transformRepeater]:k.rotationZ,[k.textStyle]:k.rotationZ},or:{[k.layerTransform]:k.orientation,[w.shapeTransform]:k.orientation,[k.transformRepeater]:k.orientation,[k.textStyle]:k.orientation},a:{[k.layerTransform]:k.anchorPoint,[k.transformRepeater]:k.anchorPoint,[w.shapeTransform]:k.anchorPoint,[k.textStyle]:k.anchorPoint,[w.shapeGradientFill]:k.highlightAngle,[w.shapeGradientStroke]:k.highlightAngle,[w.shapePuckerBloat]:k.amount,[w.shapeTwist]:k.angle,[w.shapeOffsetPath]:k.amount,[w.textRange]:k.textStyle,[k.textFollowPath]:k.forceAlignment,[k.textSelector]:k.maxAmount,[k.textAlignmentOptions]:k.textGroupAlignment,[w.layerStyleDropShadow]:k.angle,[w.layerStyleInnerShadow]:k.angle,[w.layerStyleBevelEmboss]:k.angle,[w.layerStyleSatin]:k.angle,[w.layerStyleGradientOverlay]:k.angle},s:{[k.layerTransform]:k.scale,[w.shapeTransform]:k.scale,[k.transformRepeater]:k.scale,[k.textStyle]:k.scale,[w.shapeZigZags]:k.shapeZigZagSize,[w.textRange]:k.textSelector,[w.layerStyleStroke]:k.size,[w.layerStyleGradientOverlay]:k.gradientOverlayScale,[k.textSelector]:k.textSelectorStart},o:{[k.layerTransform]:k.transformOpacity,[w.shapeTransform]:k.transformOpacity,[k.transformRepeater]:k.transformOpacity,[k.textStyle]:k.transformOpacity,[k.textSelector]:k.offset,[w.shapeFill]:k.opacity,[w.shapeGradientFill]:k.opacity,[w.shapeGradientStroke]:k.opacity,[w.shapeStroke]:k.opacity,[w.mask]:k.maskOpacity,[w.shapeGradientFill]:k.opacity,[w.shapeRepeater]:k.offset,[w.keyframe]:k.outTangent,[B.keyframeList]:k.outTangent,[B.keyframeValue]:k.outTangent,[w.positionKeyframe]:k.outTangent,[B.positionKeyframeList]:k.outTangent,[w.keyframeBezierHandle]:k.outTangent,[w.shapeKeyframe]:k.outTangent,[w.layerStyleDropShadow]:k.opacity,[w.layerStyleInnerShadow]:k.opacity,[w.layerStyleBevelEmboss]:k.opacity,[w.layerStyleSatin]:k.opacity,[w.layerStyleColorOverlay]:k.opacity,[w.layerStyleGradientOverlay]:k.opacity},i:{[w.keyframe]:k.inTangent,[B.keyframeList]:k.inTangent,[B.keyframeValue]:k.inTangent,[w.positionKeyframe]:k.inTangent,[B.positionKeyframeList]:k.inTangent,[w.keyframeBezierHandle]:k.inTangent,[w.shapeKeyframe]:k.inTangent},sk:{[k.layerTransform]:k.skew,[w.shapeTransform]:k.skew,[k.transformRepeater]:k.skew,[k.textStyle]:k.skew},sa:{[k.layerTransform]:k.skewAxis,[w.shapeTransform]:k.skewAxis,[k.transformRepeater]:k.skewAxis,[k.textStyle]:k.skewAxis},p:{[k.layerTransform]:k.translation,[w.shapeTransform]:k.translation,[k.transformRepeater]:k.translation,[k.textStyle]:k.translation,[k.textFollowPath]:k.perpendicularToPath},pt:{[w.mask]:k.maskVertices,[w.shapeZigZags]:k.points},x:{[w.mask]:k.dilate},tm:{[w.layerPrecomposition]:k.timeRemapping},h:{[w.shapeGradientFill]:k.highlightLength,[w.shapeGradientStroke]:k.highlightLength},r:{[w.shapeGradientFill]:k.fillRule,[w.shapeZigZags]:k.roundness,[k.textFollowPath]:k.reversePath,[w.layerStyleOuterGlow]:k.range},ml2:{[w.shapeGradientStroke]:k.miterLimitAlternative,[w.shapeStroke]:k.miterLimitAlternative},w:{[w.shapeGradientStroke]:k.strokeWidth,[w.shapeStroke]:k.strokeWidth},c:{[w.shapeTrim]:k.center,[w.layerStyleStroke]:k.layerStyleColor,[w.layerStyleDropShadow]:k.layerStyleColor,[w.layerStyleInnerShadow]:k.layerStyleColor,[w.layerStyleBevelEmboss]:k.layerStyleColor,[w.layerStyleOuterGlow]:k.layerStyleColor},ml:{[w.shapeOffsetPath]:k.miterLimit},so:{[w.layerStyleBevelEmboss]:k.shadowOpacity,[w.layerStyleColorOverlay]:k.opacity,[k.transformRepeater]:k.startOpacity},eo:{[k.transformRepeater]:k.startOpacity},ks:{[w.characterPrecomp]:k.layerTransform,[w.shapePath]:k.shape},f:{[k.textFollowPath]:k.firstMargin},l:{[k.textFollowPath]:k.lastMargin},sw:{[k.textStyle]:k.strokeWidth,[k.textDocument]:k.strokeWidth},sc:{[k.textStyle]:k.strokeColor,[k.textDocument]:k.strokeColor,[w.layerStyleBevelEmboss]:k.shadowColor},sh:{[k.textStyle]:k.strokeHue},ss:{[k.textStyle]:k.strokeSaturation},sb:{[k.textStyle]:k.strokeBrightness},fc:{[k.textStyle]:k.fillColor},fh:{[k.textStyle]:k.fillHue},fs:{[k.textStyle]:k.fillSaturation},fo:{[k.textStyle]:k.fillOpacity},fb:{[k.textStyle]:k.fillBrightness},t:{[k.textStyle]:k.letterSpacing},bl:{[k.textStyle]:k.blur},ls:{[k.textStyle]:k.lineSpacing},sm:{[k.textSelector]:k.selectorSmoothness,[w.layerStyleBevelEmboss]:k.shadowMode},e:{[k.textSelector]:k.textSelectorEnd},gf:{[w.layerStyleGradientOverlay]:k.animatedGradientColors},ch:{[w.layerStyleDropShadow]:k.chokeSpread,[w.layerStyleInnerShadow]:k.chokeSpread,[w.layerStyleBevelEmboss]:k.chokeSpread,[w.layerStyleOuterGlow]:k.chokeSpread},bm:{[w.layerStyleDropShadow]:k.layerStyleBlendMode,[w.layerStyleInnerShadow]:k.layerStyleBlendMode,[w.layerStyleBevelEmboss]:k.layerStyleBlendMode,[w.layerStyleSatin]:k.layerStyleBlendMode,[w.layerStyleColorOverlay]:k.layerStyleBlendMode,[w.layerStyleGradientOverlay]:k.layerStyleBlendMode},no:{[w.layerStyleDropShadow]:k.noise,[w.layerStyleInnerShadow]:k.noise,[w.layerStyleOuterGlow]:k.noise,[w.layerStyleInnerGlow]:k.noise},d:{[w.layerStyleDropShadow]:k.distance,[w.layerStyleInnerShadow]:k.distance,[w.layerStyleBevelEmboss]:k.distance,[w.layerStyleOuterGlow]:k.distance},j:{[w.layerStyleOuterGlow]:k.jitter},sr:{[w.layerStyleInnerGlow]:k.source,[w.layerStyleBevelEmboss]:k.strength},bs:{[w.layerStyleBevelEmboss]:k.bevelStyle},bt:{[w.layerStyleBevelEmboss]:k.technique},sf:{[w.layerStyleBevelEmboss]:k.soften},ga:{[w.layerStyleBevelEmboss]:k.globalAngle},ll:{[w.layerStyleBevelEmboss]:k.altitude},hm:{[w.layerStyleBevelEmboss]:k.highlightMode},hc:{[w.layerStyleBevelEmboss]:k.highlightColor},ho:{[w.layerStyleBevelEmboss]:k.highlightOpacity},in:{[w.layerStyleSatin]:k.invert},gs:{[w.layerStyleGradientOverlay]:k.smoothness},re:{[w.layerStyleGradientOverlay]:k.reverse},al:{[w.layerStyleGradientOverlay]:k.align},of:{[w.layerStyleGradientOverlay]:k.offset}}},he=(t,e,r,i)=>{let s=(r.required[t]||{})[e];if(s)return {type:i,title:s,parentTitle:e,required:!0};let n=(r.known[t]||{})[e]||ir;return {type:i,title:n,parentTitle:e,required:!1}},Kp=(t,e)=>he(t,e,Wp,"collection"),Yp=(t,e)=>he(t,e,Jp,"element"),Zp=(t,e,r)=>{switch(e.value.type){case"String":let i=he(t,r,Np,"attribute");return i.title===ir?he(t,r,$p,"constant"):i;case"Boolean":return he(t,r,Up,"attribute");case"Number":let s=he(t,r,jp,"attribute");if(s.title===ir){let n=he(t,r,Gp,"constant");return n.title===ir?he(t,r,qp,"integer-boolean"):n}else return s;case"Null":return he(t,r,Hp,"attribute");default:return {type:"missing",title:ir,parentTitle:r,required:!1}}},Xp=(t,e,r)=>{switch(e.value.type){case"Array":return Kp(t,r);case"Object":return Yp(t,r);default:return Zp(t,e,r)}},Qp=class{constructor(t=1/0){this._capacity=t,Mn(this,"_keys",[]),Mn(this,"_storage",new WeakMap);}peek(){let t=this.size(),e=this._keys[t-1];return e?this._storage.get(e):void 0}pop(){let t=this._keys.pop();if(t!==void 0){let e=this._storage.get(t);return this._storage.delete(t),e}}push(t){if(this.size()===this._capacity)throw Error("Stack has reached max capacity, you cannot add more items");
58let e={i:this._keys.length};this._storage.set(e,t),this._keys.push(e);}size(){return this._keys.length}},tc={position:!0,valueType:!0,messages:{warning:!1}},Fn=(t,e,r)=>{r.messages.warning&&t.message(e);},ec=(t,e)=>!e.valueType||t.type==="Array"||t.type==="Object"||t.type==="Document"?{}:{valueType:t.type.toLowerCase()},qr=(t,e)=>e.position?{position:{...t.loc}}:{},In=(t,e)=>{let r=qr(t,e),i=ec(t,e);return Pp(t.value,{...r,...i})},rc=(t,e)=>{let r=t.name.value;if(e.position){let i=qr(t.name,e);return Ep(r,{...i})}else return r},ic=(t,e,r)=>{let i=rc(t,r),s=typeof i=="string"?i:i.value,n={...qr(t,r)},{title:a}=Xp(s,t,e);switch(t.value.type){case"Array":return Mp(i,a,[],{...n});case"Object":return Tp(i,a,[],{...n});default:return Ap(i,a,[],{...n})}},Pa=(t,e)=>e.loc.end.column===t.loc.end.column;function Vt(t,e,r){Ge(t,e)||r.fail(`Unexpected node type found ${t?.type}, has to be 'array'`);}var sc=t=>{let e=[];return t.elements.forEach(r=>{Ge(r,"Object")&&r.members.forEach(i=>e.push(i));}),e},nc=(t,e,r,i,s)=>{let{key:n,parentTitle:a,type:o}=r;switch(o){case"Constant":if(!Ge(t,"String")&&!Ge(t,"Number"))break;let{defaultValue:l,prefix:h,values:u}=a,c=u[l];if(!c)throw new Error(`[${e}] '${l}' has to present in "dependent.parentTitle.values"`);let d=t.value,m=u[d];if(!m){let v=`[${e}] '${d}' is missing in "dependent.parentTitle.values"`;Fn(i,v,s);}let p=typeof m>"u"?c:m;return h&&h.length>0?`${h}-${p}`:p;case"Array":if(!Ge(t,"Array"))break;let f=r.childType;if(!(f&&t.elements.find(v=>v.type===f)))break;return a;default:if(o!==t.type){let v=`${e}'s '${n}' type is ${t.type} but has to be ${o}`;Fn(i,v,s);break}return a}},Ea=(t,e,r,i,s)=>{let n=e.reduce((a,o)=>{let l=o.name.value;return a[l]=o.value,a},{});for(let a of r){let{key:o}=a,l=n[o];if(!l)continue;let h=nc(l,t,a,i,s);if(h)return h}},Ln=(t,e,r,i)=>{let s=Ca(t,e),{defaultTitle:n,dependents:a}=s;return a&&Ea(e,t.members,a,r,i)||n},On=(t,e,r,i)=>{let s=Ca(t,e),{defaultTitle:n,dependents:a}=s;if(!a)return n;let o=sc(t);return Ea(e,o,a,r,i)||n},ac=(t,e,r,i,s)=>{let n=qr(t,s);switch(t.type){case"Document":t.body.type!=="Object"&&i.fail(new Error(`Lottie must be "Object" but it's "${t.body.type}"`));break;case"Member":let a=r.peek();r.push(ic(t,a.title,s));break;case"Object":switch(e.type){case"Document":r.push(Dp([],{...n}));break;case"Member":let o=r.peek();Vt(o,"element",i);let l=Ln(t,o.title,i,s);r.push(An(l,[],{...n}));break;case"Array":let h=r.peek();Vt(h,"array",i);let u=Ln(t,h.title,i,s);r.push(An(u,[],{...n}));break}break;case"Array":switch(e.type){case"Member":let o=r.peek();Vt(o,"collection",i);let l=On(t,o.title,i,s);r.push(Tn(l,[],{...n}));break;case"Array":let h=r.peek();Vt(h,"array",i);let u=On(t,h.title,i,s);r.push(Tn(u,[],{...n}));break}break;default:switch(e.type){case"Member":Pa(t,e)&&r.push(In(t,s));break;case"Array":r.push(In(t,s));break}break}},oc=(t,e,r,i,s,n)=>{switch(t.type){case"Document":break;case"Member":let a=r.pop();switch(a.type){case"element":break;case"collection":break;case"attribute":!n.hasExpressions&&a.title==="expression"&&(n.hasExpressions=!0);break;default:i.fail("Node's type has to be 'element', 'collection or 'attribute'");}let o=r.peek();switch(o.type){case"object":break;case"root":break;default:i.fail("ParentNode's type has to be 'object' or 'root'");}o.children.push(a);break;case"Object":switch(e.type){case"Document":break;case"Member":let l=r.pop();Vt(l,"object",i);let h=r.peek();Vt(h,"element",i),l.title===h.title&&(l.title=`${h.title}-children`),h.children=[l];break;case"Array":let u=r.pop();Vt(u,"object",i);let c=r.peek();Vt(c,"array",i),c.children.push(u);break}break;case"Array":switch(e.type){case"Member":let l=r.pop();Vt(l,"array",i);let h=r.peek();Vt(h,"collection",i),l.title===h.title&&(l.title=`${h.title}-children`),h.children=[l];break;case"Array":let u=r.pop();Vt(u,"array",i);let c=r.peek();Vt(c,"array",i),c.children.push(u);break}break;default:switch(e.type){case"Member":if(Pa(t,e)){let u=r.pop();Vt(u,"primitive",i);let c=r.peek();Vt(c,"attribute",i),c.children=[u];}break;case"Array":let l=r.pop();Vt(l,"primitive",i);let h=r.peek();Vt(h,"array",i),h.children.push(l);break}break}};function lc(t,e,r={}){let i=(0, En.parse)(t,{tokens:!0}),s=(0, Fp.default)(tc,r.parse),n=i.tokens.length,a=new Qp(n),o={hasExpressions:!1};(0, En.traverse)(i,{enter(u,c){ac(u,c,a,e,s);},exit(u,c){oc(u,c,a,e,s,o);}});let l={parse:{...s.messages.warning&&e.messages.length>0?{messages:e.messages}:{}}};Object.assign(e.data,l);let h=a.pop();if(Ge(h,"root"))return h.hasExpressions=o.hasExpressions,h;e.fail(`Stack's last item has to be "root" but it's "${h?.type}"`,h);}var hc=function(t={}){let e=this.data("settings")||{parse:{}};e.parse=(0, _p.default)(e.parse,t),Object.assign(this,{Parser:(r,i)=>lc(r,i,e)});},pc=hc;function je(t){let e=r=>{let i={};
58return r.children.forEach(s=>{let n=typeof s.key=="string"?s.key:s.key.value,a=s.children[0];a&&(i[n]=je(a));}),i};switch(t.type){case"primitive":switch(typeof t.value){case"number":return t.value;case"string":return t.value;case"boolean":return t.value;case"object":return null;default:throw new Error(`Unknown Primitive type ${t.type}.`)}case"attribute":return t.children[0]?je(t.children[0]):null;case"collection":return t.children[0]?je(t.children[0]):null;case"element":return t.children[0]?je(t.children[0]):null;case"array":return t.children.map(je);case"root":return e(t);case"object":return e(t);default:throw new Error(`Unknown node type ${t.type}.`)}}var cc={indent:0};function fc(t,e,r={}){let i={...cc,...r.stringify},s=je(t);return JSON.stringify(s,null,i.indent)}var uc=function(t={}){let e=this.data("settings")||{stringify:{}};e.stringify={...e.stringify,...t},Object.assign(this,{Compiler:(r,i)=>fc(r,i,e)});},dc=uc;function Vn(t){if(t)throw t}var mc=re(fa(),1),Rn=re(Vh(),1);function qi(t){if(typeof t!="object"||t===null)return !1;let e=Object.getPrototypeOf(t);return (e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function yc(){let t=[],e={run:r,use:i};return e;function r(...s){let n=-1,a=s.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...s);function o(l,...h){let u=t[++n],c=-1;if(l){a(l);return}for(;++c<s.length;)(h[c]===null||h[c]===void 0)&&(h[c]=s[c]);s=h,u?gc(u,o)(...h):a(null,...h);}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),e}}function gc(t,e){let r;return i;function i(...a){let o=t.length>a.length,l;o&&a.push(s);try{l=t.apply(this,a);}catch(h){let u=h;if(o&&r)throw u;return s(u)}o||(l instanceof Promise?l.then(n,s):l instanceof Error?s(l):n(l));}function s(a,...o){r||(r=!0,e(a,...o));}function n(a){s(null,a);}}var vc=re(fa(),1);function bc(t){return !t||typeof t!="object"?"":"position"in t||"type"in t?Bn(t.position):"start"in t||"end"in t?Bn(t):"line"in t||"column"in t?Ui(t):""}function Ui(t){return zn(t&&t.line)+":"+zn(t&&t.column)}function Bn(t){return Ui(t&&t.start)+"-"+Ui(t&&t.end)}function zn(t){return t&&typeof t=="number"?t:1}var Qt=class extends Error{constructor(t,e,r){let i=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(r=e,e=void 0),typeof r=="string"){let n=r.indexOf(":");n===-1?i[1]=r:(i[0]=r.slice(0,n),i[1]=r.slice(n+1));}e&&("type"in e||"position"in e?e.position&&(s=e.position):"start"in e||"end"in e?s=e:("line"in e||"column"in e)&&(s.start=e)),this.name=bc(e)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.position=s,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note;}};Qt.prototype.file="";Qt.prototype.name="";Qt.prototype.reason="";Qt.prototype.message="";Qt.prototype.stack="";Qt.prototype.fatal=null;Qt.prototype.column=null;Qt.prototype.line=null;Qt.prototype.source=null;Qt.prototype.ruleId=null;Qt.prototype.position=null;var se={basename:xc,dirname:Sc,extname:wc,join:kc,sep:"/"};function xc(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');ur(t);let r=0,i=-1,s=t.length,n;if(e===void 0||e.length===0||e.length>t.length){for(;s--;)if(t.charCodeAt(s)===47){if(n){r=s+1;break}}else i<0&&(n=!0,i=s+1);return i<0?"":t.slice(r,i)}if(e===t)return "";let a=-1,o=e.length-1;for(;s--;)if(t.charCodeAt(s)===47){if(n){r=s+1;break}}else a<0&&(n=!0,a=s+1),o>-1&&(t.charCodeAt(s)===e.charCodeAt(o--)?o<0&&(i=s):(o=-1,i=a));return r===i?i=a:i<0&&(i=t.length),t.slice(r,i)}function Sc(t){if(ur(t),t.length===0)return ".";let e=-1,r=t.length,i;for(;--r;)if(t.charCodeAt(r)===47){if(i){e=r;break}}else i||(i=!0);return e<0?t.charCodeAt(0)===47?"/":".":e===1&&t.charCodeAt(0)===47?"//":t.slice(0,e)}function wc(t){ur(t);let e=t.length,r=-1,i=0,s=-1,n=0,a;for(;e--;){let o=t.charCodeAt(e);if(o===47){if(a){i=e+1;break}continue}r<0&&(a=!0,r=e+1),o===46?s<0?s=e:n!==1&&(n=1):s>-1&&(n=-1);}return s<0||r<0||n===0||n===1&&s===r-1&&s===i+1?"":t.slice(s,r)}function kc(...t){let e=-1,r;for(;++e<t.length;)ur(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":_c(r)}function _c(t){ur(t);let e=t.charCodeAt(0)===47,r=Cc(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.charCodeAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function Cc(t,e){let r="",i=0,s=-1,n=0,a=-1,o,l;for(;++a<=t.length;){if(a<t.length)o=t.charCodeAt(a);else {if(o===47)break;o=47;}if(o===47){if(!(s===a-1||n===1))if(s!==a-1&&n===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",i=0):(r=r.slice(0,l),i=r.length-1-r.lastIndexOf("/")),s=a,n=0;continue}}else if(r.length>0){r="",i=0,s=a,n=0;continue}}e&&(r=r.length>0?r+"/..":"..",i=2);}else r.length>0?r+="/"+t.slice(s+1,a):r=t.slice(s+1,a),i=a-s-1;s=a,n=0;}else o===46&&n>-1?n++:n=-1;}return r}function ur(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var Pc={cwd:Ec};function Ec(){return "/"}function Wi(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}function Ac(t){if(typeof t=="string")t=new URL(t);else if(!Wi(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Tc(t)}function Tc(t){if(t.hostname!==""){let i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let e=t.pathname,r=-1;for(;++r<e.length;)if(e.charCodeAt(r)===37&&e.charCodeAt(r+1)===50){let i=e.charCodeAt(r+2);if(i===70||i===102){let s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(e)}var Vi=["history","path","basename","stem","extname","dirname"],Mc=class{constructor(t){let e;t?typeof t=="string"||Dc(t)?e={value:t}:Wi(t)?e={path:t}:e=t:e={},this.data={},this.messages=[],this.history=[],this.cwd=Pc.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<Vi.length;){let s=Vi[r];s in e&&e[s]!==void 0&&e[s]!==null&&(this[s]=s==="history"?[...e[s]]:e[s]);}let i;for(i in e)Vi.includes(i)||(this[i]=e[i]);}get path(){return this.history[this.history.length-1]}set path(t){Wi(t)&&(t=Ac(t)),Bi(t,"path"),this.path!==t&&this.history.push(t);}get dirname(){return typeof this.path=="string"?se.dirname(this.path):void 0}set dirname(t){Nn(this.basename,"dirname"),this.path=se.join(t||"",this.basename);}get basename(){return typeof this.path=="string"?se.basename(this.path):void 0}
58set basename(t){Bi(t,"basename"),Ri(t,"basename"),this.path=se.join(this.dirname||"",t);}get extname(){return typeof this.path=="string"?se.extname(this.path):void 0}set extname(t){if(Ri(t,"extname"),Nn(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=se.join(this.dirname,this.stem+(t||""));}get stem(){return typeof this.path=="string"?se.basename(this.path,this.extname):void 0}set stem(t){Bi(t,"stem"),Ri(t,"stem"),this.path=se.join(this.dirname||"",t+(this.extname||""));}toString(t){return (this.value||"").toString(t||void 0)}message(t,e,r){let i=new Qt(t,e,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(t,e,r){let i=this.message(t,e,r);return i.fatal=null,i}fail(t,e,r){let i=this.message(t,e,r);throw i.fatal=!0,i}};function Ri(t,e){if(t&&t.includes(se.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+se.sep+"`")}function Bi(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function Nn(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function Dc(t){return (0, vc.default)(t)}var Fc=Ta().freeze(),Aa={}.hasOwnProperty;function Ta(){let t=yc(),e=[],r={},i,s=-1;return n.data=a,n.Parser=void 0,n.Compiler=void 0,n.freeze=o,n.attachers=e,n.use=l,n.parse=h,n.stringify=u,n.run=c,n.runSync=d,n.process=m,n.processSync=p,n;function n(){let f=Ta(),v=-1;for(;++v<e.length;)f.use(...e[v]);return f.data((0, Rn.default)(!0,{},r)),f}function a(f,v){return typeof f=="string"?arguments.length===2?($i("data",i),r[f]=v,n):Aa.call(r,f)&&r[f]||null:f?($i("data",i),r=f,n):r}function o(){if(i)return n;for(;++s<e.length;){let[f,...v]=e[s];if(v[0]===!1)continue;v[0]===!0&&(v[0]=void 0);let y=f.call(n,...v);typeof y=="function"&&t.use(y);}return i=!0,s=Number.POSITIVE_INFINITY,n}function l(f,...v){let y;if($i("use",i),f!=null)if(typeof f=="function")S(f,...v);else if(typeof f=="object")Array.isArray(f)?x(f):b(f);else throw new TypeError("Expected usable value, not `"+f+"`");return y&&(r.settings=Object.assign(r.settings||{},y)),n;function g(C){if(typeof C=="function")S(C);else if(typeof C=="object")if(Array.isArray(C)){let[P,...T]=C;S(P,...T);}else b(C);else throw new TypeError("Expected usable value, not `"+C+"`")}function b(C){x(C.plugins),C.settings&&(y=Object.assign(y||{},C.settings));}function x(C){let P=-1;if(C!=null)if(Array.isArray(C))for(;++P<C.length;){let T=C[P];g(T);}else throw new TypeError("Expected a list of plugins, not `"+C+"`")}function S(C,P){let T=-1,V;for(;++T<e.length;)if(e[T][0]===C){V=e[T];break}V?(qi(V[1])&&qi(P)&&(P=(0, Rn.default)(!0,V[1],P)),V[1]=P):e.push([...arguments]);}}function h(f){n.freeze();let v=er(f),y=n.Parser;return zi("parse",y),$n(y,"parse")?new y(String(v),v).parse():y(String(v),v)}function u(f,v){n.freeze();let y=er(v),g=n.Compiler;return Ni("stringify",g),jn(f),$n(g,"compile")?new g(f,y).compile():g(f,y)}function c(f,v,y){if(jn(f),n.freeze(),!y&&typeof v=="function"&&(y=v,v=void 0),!y)return new Promise(g);g(null,y);function g(b,x){t.run(f,er(v),S);function S(C,P,T){P=P||f,C?x(C):b?b(P):y(null,P,T);}}}function d(f,v){let y,g;return n.run(f,v,b),Gn("runSync","run",g),y;function b(x,S){Vn(x),y=S,g=!0;}}function m(f,v){if(n.freeze(),zi("process",n.Parser),Ni("process",n.Compiler),!v)return new Promise(y);y(null,v);function y(g,b){let x=er(f);n.run(n.parse(x),x,(C,P,T)=>{if(C||!P||!T)S(C);else {let V=n.stringify(P,T);V==null||(Oc(V)?T.value=V:T.result=V),S(C,T);}});function S(C,P){C||!P?b(C):g?g(P):v(null,P);}}}function p(f){let v;n.freeze(),zi("processSync",n.Parser),Ni("processSync",n.Compiler);let y=er(f);return n.process(y,g),Gn("processSync","process",v),y;function g(b){v=!0,Vn(b);}}}function $n(t,e){return typeof t=="function"&&t.prototype&&(Ic(t.prototype)||e in t.prototype)}function Ic(t){let e;for(e in t)if(Aa.call(t,e))return !0;return !1}function zi(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Ni(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function $i(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function jn(t){if(!qi(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Gn(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function er(t){return Lc(t)?t:new Mc(t)}function Lc(t){return !!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Oc(t){return typeof t=="string"||(0, mc.default)(t)}var Vc=Fc().use(pc).use(dc).freeze(),Rc=re(Rh(),1),Bc={name:"@dotlottie/common",version:"0.3.0",type:"module",description:"",author:"Afsal <[email protected]>, Sam Osborne <[email protected]>",license:"MIT",private:!0,engines:{node:">18.0.0"},module:"dist/index.js",types:"dist/index.d.ts",files:["dist"],keywords:[],scripts:{build:"tsup",dev:"tsup --watch",lint:"eslint .","type-check":"tsc --noEmit"},dependencies:{"@dotlottie/dotlottie-js":"^0.4.2","@lottiefiles/relottie":"1.0.0","@lottiefiles/relottie-style":"0.4.1","@preact/signals-core":"^1.2.3","lottie-web":"^5.12.2"},devDependencies:{"@lottiefiles/lottie-types":"^1.2.0",tsup:"^6.1.3",typescript:"^4.7.4"},publishConfig:{access:"restricted"}},ce=(t=>(t.Complete="complete",t.DataFail="data_fail",t.DataReady="data_ready",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.L
58oopComplete="loopComplete",t.Pause="pause",t.Play="play",t.Ready="ready",t.Stop="stop",t))(ce||{}),ye=(t=>(t.Error="error",t.Fetching="fetching",t.Frozen="frozen",t.Initial="initial",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Ready="ready",t.Stopped="stopped",t))(ye||{}),Ur=(t=>(t.Bounce="bounce",t.Normal="normal",t))(Ur||{}),Jt={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""},Wr={autoplay:!1,currentState:"initial",frame:0,seeker:0,direction:1,hover:!1,loop:!1,playMode:"normal",speed:1,background:"transparent",intermission:0,currentAnimationId:void 0},Jr=class{_lottie;_src;_animationConfig;_playbackOptions;_hover=!1;_loop=!1;_counter=0;_intermission=0;_counterInterval=null;_container=null;_name;_mode="normal";_background="transparent";_animation;_defaultTheme;_activeAnimationId;_currentAnimationId;_testId;_listeners=new Map;_currentState="initial";_stateBeforeFreeze="initial";state=new mn(Wr);_frame=0;_seeker=0;_dotLottieLoader=new hn;constructor(t,e,r){this._src=t,r?.testId&&(this._testId=r.testId),this._defaultTheme=r?.defaultTheme||"",this._playbackOptions=this._validatePlaybackOptions(r||{}),typeof r?.activeAnimationId=="string"&&(this._activeAnimationId=r.activeAnimationId),this._container=e||null,typeof r?.background=="string"&&this.setBackground(r.background),this._animationConfig={loop:!1,autoplay:!1,renderer:"svg",rendererSettings:{clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0},...r||{}},this._listenToHover(),this._listenToVisibilityChange();}_listenToHover(){let t=()=>{this._hover&&this.currentState!=="playing"&&this.play();},e=()=>{this._hover&&this.currentState==="playing"&&this.stop();};this._container?.removeEventListener("mouseenter",t),this._container?.removeEventListener("mouseleave",e),this._container?.addEventListener("mouseleave",e),this._container?.addEventListener("mouseenter",t);}_onVisibilityChange(){!this._lottie||typeof document>"u"||(document.hidden&&this.currentState==="playing"?this.freeze():this.currentState==="frozen"&&this.unfreeze());}_listenToVisibilityChange(){typeof document<"u"&&typeof document.hidden<"u"&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange());}_getOption(t){if(typeof this._playbackOptions[t]<"u")return this._playbackOptions[t];let e=this._dotLottieLoader.manifest?.animations.find(r=>r.id===this._currentAnimationId);return e&&typeof e[t]<"u"?e[t]:Jt[t]}_getPlaybackOptions(){let t={};for(let e in Jt)typeof Jt[e]<"u"&&(t[e]=this._getOption(e));return t}_getOptionsFromAnimation(t){let{id:e,...r}=t;return {...Jt,...r}}_updateTestData(){!this._testId||!this._lottie||(window.dotLottiePlayer||(window.dotLottiePlayer={[this._testId]:{}}),window.dotLottiePlayer[this._testId]={direction:this._lottie.playDirection,currentState:this._currentState,loop:this.loop,mode:this._mode,speed:this._lottie.playSpeed});}get currentState(){return this._currentState}clearCountTimer(){this._counterInterval&&clearInterval(this._counterInterval);}setCurrentState(t){this._currentState=t,this._notify(),this._updateTestData();}static isPathJSON(t){return t.split(".").pop()?.toLowerCase()==="json"}get src(){return this._src}updateSrc(t){this._src!==t&&(this._src=t,this._activeAnimationId=void 0,this._currentAnimationId=void 0,this.load());}get intermission(){return this._intermission}get hover(){return this.hover}setHover(t){typeof t=="boolean"&&(this._hover=t,this._playbackOptions.hover=t,this._notify());}setIntermission(t){this._intermission=t,this._playbackOptions.intermission=t,this._notify();}get mode(){return this._mode}get animations(){return this._dotLottieLoader.animationsMap}get themes(){return this._dotLottieLoader.themeMap}setMode(t){typeof t=="string"&&(this._mode=t,this._playbackOptions.playMode=t,this._notify(),this._updateTestData());}get container(){if(this._container)return this._container}goToAndPlay(t,e,r){this._lottie&&(this._lottie.goToAndPlay(t,e,r),this.setCurrentState("playing"));}goToAndStop(t,e,r){this._lottie&&(this._lottie.goToAndStop(t,e,r),this.setCurrentState("stopped"));}seek(t){if(!this._lottie)return;let e=t;typeof e=="number"&&(e=Math.round(e));let r=/^(\d+)(%?)$/u.exec(e.toString());if(!r)return;let i=r[2]==="%"?this.totalFrames*Number(r[1])/100:r[1];i!==void 0&&(this._lottie.goToAndPlay(i,!0),this.currentState==="playing"?this.play():this.currentState==="frozen"?this.freeze():this.pause());}_validatePlaybackOptions(t){if(!t)return {};let e={};
58for(let[r,i]of Object.entries(t))switch(r){case"autoplay":typeof i=="boolean"&&(e.autoplay=i);break;case"direction":typeof i=="number"&&[1,-1].includes(i)&&(e.direction=i);break;case"loop":(typeof i=="boolean"||typeof i=="number")&&(e.loop=i);break;case"playMode":typeof i=="string"&&["normal","bounce"].includes(i)&&(e.playMode=i);break;case"speed":typeof i=="number"&&(e.speed=i);break;case"themeColor":typeof i=="string"&&(e.themeColor=i);break;case"hover":typeof i=="boolean"&&(e.hover=i);break;case"intermission":typeof i=="number"&&(e.intermission=i);break;case"defaultTheme":typeof i=="string"&&(e.defaultTheme=i);break}return this._requireValidPlaybackOptions(e),e}_requireAnimationsInTheManifest(){if(!this._dotLottieLoader.manifest?.animations.length)throw bt("No animations found in manifest.")}_requireAnimationsToBeLoaded(){if(this._dotLottieLoader.animationsMap.size===0)throw bt("No animations have been loaded.")}play(t,e){if(this._lottie){if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),!t||typeof t=="string"&&t===this._currentAnimationId){this._lottie.playDirection===-1&&this._lottie.currentFrame===0?this._lottie.goToAndPlay(this._lottie.totalFrames,!0):this._lottie.play(),this.setCurrentState("playing");return}if(typeof t=="number"){let r=this._dotLottieLoader.manifest?.animations[t];if(!r)throw bt("animation not found.");typeof e=="function"?this.render({id:r.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))}):this.render({id:r.id});}if(typeof t=="string"){let r=this._dotLottieLoader.manifest?.animations.find(i=>i.id===t);if(!r)throw bt("animation not found.");typeof e=="function"?this.render({id:r.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))}):this.render({id:r.id});}}}togglePlay(){this.currentState==="playing"?this.pause():this.play();}_getAnimationByIdOrIndex(t){if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),typeof t=="number"){let e=this._dotLottieLoader.manifest?.animations[t];if(!e)throw bt("animation not found.");return e}if(typeof t=="string"){let e=this._dotLottieLoader.manifest?.animations.find(r=>r.id===t);if(!e)throw bt("animation not found.");return e}throw bt("first param must be a number or string")}get activeAnimationId(){return this._getActiveAnimationId()}get currentAnimationId(){return this._currentAnimationId}reset(){let t=this._getActiveAnimationId(),e=this._dotLottieLoader.manifest?.animations.find(r=>r.id===t);if(!e)throw bt("animation not found.");this.render(e);}previous(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw bt("manifest not found.");let e=this._dotLottieLoader.manifest.animations.findIndex(i=>i.id===this._currentAnimationId);if(e===-1)throw bt("animation not found.");let r=this._dotLottieLoader.manifest.animations[(e-1+this._dotLottieLoader.manifest.animations.length)%this._dotLottieLoader.manifest.animations.length];if(!r||!r.id)throw bt("animation not found.");typeof t=="function"?this.render({id:r.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))}):this.render({id:r.id});}next(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw bt("manifest not found.");let e=this._dotLottieLoader.manifest.animations.findIndex(i=>i.id===this._currentAnimationId);if(e===-1)throw bt("animation not found.");let r=this._dotLottieLoader.manifest.animations[(e+1)%this._dotLottieLoader.manifest.animations.length];if(!r||!r.id)throw bt("animation not found.");typeof t=="function"?this.render({id:r.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))}):this.render({id:r.id});}getManifest(){return this._dotLottieLoader.manifest}resize(){this._lottie&&this._lottie.resize();}stop(){this._lottie&&(this.clearCountTimer(),this._counter=0,this.setDirection(this._getOption("direction")),this._lottie.stop(),this.setCurrentState("stopped"));}pause(){this._lottie&&(this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused"));}freeze(){this._lottie&&(this.currentState!=="frozen"&&(this._stateBeforeFreeze=this.currentState),this._lottie.pause(),this.setCurrentState("frozen"));}unfreeze(){this._lottie&&(this._stateBeforeFreeze==="playing"?this.play():this.pause());}destroy(){this._container?.__lottie&&(this._container.__lottie.destroy(),this._container.__lottie=null),this.clearCountTimer(),typeof document<"u"&&document.removeEventListener("visibilitychange",()=>this._onVisibilityChange()),this._counter=0,this._lottie?.destroy();}getAnimationInstance(){return this._lottie}static getLottieWebVersion(){return `${Bc.dependencies["lottie-web"]}`}addEventListener(t,e){this._listeners.set([t,e],e);try{this._lottie?.addEventListener(t,e);}catch(r){Be(`addEventListener ${r}`);}}
58getState(){return {autoplay:this._lottie?.autoplay??!1,currentState:this._currentState,frame:this._frame,seeker:this._seeker,direction:this._lottie?.playDirection??1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:this._lottie?.playSpeed??1,background:this._background,intermission:this._intermission,defaultTheme:this._defaultTheme,currentAnimationId:this._currentAnimationId}}_notify(){this.state.setState(this.getState());}get totalFrames(){return this._lottie?.totalFrames||0}get direction(){return this._lottie?this._lottie.playDirection:1}setDirection(t){this._requireValidDirection(t),this._lottie?.setDirection(t),this._playbackOptions.direction=t,this._notify(),this._updateTestData();}get speed(){return this._lottie?.playSpeed||1}setSpeed(t){this._requireValidSpeed(t),this._lottie?.setSpeed(t),this._playbackOptions.speed=t,this._notify(),this._updateTestData();}get autoplay(){return this._lottie?.autoplay??!1}setAutoplay(t){this._requireValidAutoplay(t),this._lottie&&(this._lottie.autoplay=t,this._playbackOptions.autoplay=t,this._notify(),this._updateTestData());}toggleAutoplay(){this._lottie&&this.setAutoplay(!this._lottie.autoplay);}get defaultTheme(){return this._defaultTheme}setDefaultTheme(t){this._defaultTheme=t,this._playbackOptions.defaultTheme=t,this._animation&&this.render(),this._notify();}get loop(){return this._loop}setLoop(t){this._requireValidLoop(t),this.clearCountTimer(),this._loop=t,this._lottie?.setLoop(!!t),this._playbackOptions.loop=t,this._notify(),this._updateTestData();}toggleLoop(){this._lottie&&this.setLoop(!this._loop);}get background(){return this._background}setBackground(t){this._requireValidBackground(t),this._container&&(this._background=t,this._container.style.backgroundColor=t);}async revertToManifestValues(t){let e;!Array.isArray(t)||t.length===0?e=["autoplay","defaultTheme","direction","hover","intermission","loop","playMode","speed","activeAnimationId"]:e=t;let r=!1;if(e.includes("activeAnimationId")){let i=this._dotLottieLoader.manifest?.activeAnimationId,s=this._getAnimationByIdOrIndex(i||0);this._activeAnimationId=i,await this._setCurrentAnimation(s.id),r=!0;}e.forEach(i=>{switch(i){case"autoplay":delete this._playbackOptions.autoplay,this.setAutoplay(this._getOption("autoplay"));break;case"defaultTheme":delete this._playbackOptions.defaultTheme,this.setDefaultTheme(this._getOption("defaultTheme"));break;case"direction":delete this._playbackOptions.direction,this.setDirection(this._getOption("direction"));break;case"hover":delete this._playbackOptions.hover,this.setHover(this._getOption("hover"));break;case"intermission":delete this._playbackOptions.intermission,this.setIntermission(this._getOption("intermission"));break;case"loop":delete this._playbackOptions.loop,this.setLoop(this._getOption("loop"));break;case"playMode":delete this._playbackOptions.playMode,this.setMode(this._getOption("playMode")),this.setDirection(this._getOption("direction"));break;case"speed":delete this._playbackOptions.speed,this.setSpeed(this._getOption("speed"));break}}),r&&this.render();}removeEventListener(t,e){try{e?this._lottie?.removeEventListener(t,e):this._lottie?.removeEventListener(t),this._listeners.delete([t,e]);}catch(r){Be("removeEventListener",r);}}addEventListeners(){if(this._lottie){this._lottie.addEventListener("enterFrame",()=>{this._lottie&&(this._frame=this._lottie.currentFrame,this._seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this._notify());}),this._lottie.addEventListener("loopComplete",()=>{if(!this._lottie)return;this.intermission>0&&this.pause();let t=this._lottie.playDirection;this._mode==="bounce"&&typeof t=="number"&&(t=Number(t)*-1);let e=t===-1?this._lottie.totalFrames-1:0;this.intermission?(this._lottie.goToAndPlay(e,!0),this._lottie.pause(),this._counterInterval=window.setTimeout(()=>{this._lottie&&(this._lottie.setDirection(t),this._lottie.goToAndPlay(e,!0));},this._intermission)):(this._lottie.setDirection(t),this._lottie.goToAndPlay(t===-1?this._lottie.totalFrames-1:0,!0));}),this._lottie.addEventListener("complete",()=>{if(this._lottie&&typeof this._loop=="number"&&this._loop>0){if(this._counter+=this._mode==="bounce"?.5:1,this._counter>=this._loop){this.stop();return}this._counterInterval=window.setTimeout(()=>{if(!this._lottie)return;let t=this._lottie.playDirection;this._mode==="bounce"&&typeof t=="number"&&(t=Number(t)*-1);let e=t===-1?this._lottie.totalFrames-1:0;this._lottie.setDirection(t),this._lottie.goToAndPlay(e,!0);},this._intermission);}else this.stop(),this.setCurrentState("stopped");});for(let[[t],e]of this._listeners)this._lottie.addEventListener(t,e);}}async _setCurrentAnimation(t){let e=await this._dotLottieLoader.getAnimation(t);this._currentAnimationId=t,this._animation=e;}async render(t){if(t?.id)await this._setCurrentAnimation(t.id);else if(!this._animation)throw bt("no animation selected");this.destroy();let e=Jt.loop,r=Jt.autoplay,i=Jt.playMode,s=Jt.intermission,n=Jt.hover,a=Jt.direction,o=Jt.speed,l=Jt.defaultTheme;e=t?.loop??this._getOption("loop"),r=t?.autoplay??this._getOption("autoplay"),i=t?.playMode??this._getOption("playMode"),s=t?.intermission??this._getOption("intermission"),n=t?.hover??this._getOption("hover"),a=t?.direction??this._getOption("direction"),o=t?.speed??this._getOption("speed"),l=t?.defaultTheme??this._getOption("defaultTheme");let h={...this._animationConfig,autoplay:n?!1:r,loop:typeof e=="number"?!1:e};this._mode=i,this._intermission=s,this._hover=n,this._loop=e;let u=await this._dotLottieLoader.getTheme(l);if(u){let c=await Vc().use(kp,{lss:u}).process(JSON.stringify(this._animation));this._animation=JSON.parse(c.value);}else this._animation=await this._dotLottieLoader.getAnimation(this._currentAnimationId??"");this._lottie=Rc.default.loadAnimation({...h,container:this._container,animationData:this._animation}),this.addEventListeners(),this._container&&(this._container.__lottie=this._lottie),this.setCurrentState("ready"),this._lottie.setDirection(a),this._lottie.setSpeed(o),r&&!n&&this.play(),this._updateTestData();}_getActiveAnimationId(){let t=this._dotLottieLoader.manifest;return this._activeAnimationId??t?.activeAnimationId??t?.animations[0]?.id??void 0}async load(t){if(this._currentState==="loading"){ze("Loading in progress..");return}try{if(this.setCurrentState("loading"),typeof this._src=="string")if(ci(this._src)){let r=JSON.parse(this._src);this._dotLottieLoader.loadFromLottieJSON(r);}else {let r=new URL(this._src,window.location.href);await this._dotLottieLoader.loadFromUrl(r.toString());}else if(typeof this._src=="object"&&_e(this._src))this._dotLottieLoader.loadFromLottieJSON(this._src);else throw bt("Invalid src provided");
vendor: 5,159 bytes, line 58
58if(!this._dotLottieLoader.manifest)throw bt("No manifest found");let e=this._getActiveAnimationId();if(!e)throw bt("No active animation found");await this._setCurrentAnimation(e),await this.render(t);}catch(e){this.setCurrentState("error"),e instanceof Error&&Be(`Error loading animation: ${e.message}`);}}setErrorState(t){this.setCurrentState("error"),Be(t);}_requireValidDirection(t){if(t!==-1&&t!==1)throw bt("Direction can only be -1 (backwards) or 1 (forwards)")}_requireValidIntermission(t){if(t<0||!Number.isInteger(t))throw bt("intermission must be a positive number")}_requireValidLoop(t){if(typeof t=="number"&&(!Number.isInteger(t)||t<0))throw bt("loop must be a positive number or boolean")}_requireValidSpeed(t){if(typeof t!="number")throw bt("speed must be a number")}_requireValidBackground(t){if(typeof t!="string")throw bt("background must be a string")}_requireValidAutoplay(t){if(typeof t!="boolean")throw bt("autoplay must be a boolean")}_requireValidPlaybackOptions(t){t.direction&&this._requireValidDirection(t.direction),t.intermission&&this._requireValidIntermission(t.intermission),t.loop&&this._requireValidLoop(t.loop),t.speed&&this._requireValidSpeed(t.speed);}};var Kr=window,Yr=Kr.ShadowRoot&&(Kr.ShadyCSS===void 0||Kr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,as=Symbol(),Ma=new WeakMap,dr=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==as)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r;}get styleSheet(){let e=this.o,r=this.t;if(Yr&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=Ma.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Ma.set(r,e));}return e}toString(){return this.cssText}},Da=t=>new dr(typeof t=="string"?t:t+"",void 0,as),os=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((i,s,n)=>i+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1],t[0]);return new dr(r,t,as)},ls=(t,e)=>{Yr?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let i=document.createElement("style"),s=Kr.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=r.cssText,t.appendChild(i);});},Zr=Yr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return Da(r)})(t):t;var hs,Xr=window,Fa=Xr.trustedTypes,zc=Fa?Fa.emptyScript:"",Ia=Xr.reactiveElementPolyfillSupport,cs={toAttribute(t,e){switch(e){case Boolean:t=t?zc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t);}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t);}catch{r=null;}}return r}},La=(t,e)=>e!==t&&(e==e||t==t),ps={attribute:!0,type:String,converter:cs,reflect:!1,hasChanged:La},fs="finalized",fe=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(e){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(e);}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((r,i)=>{let s=this._$Ep(i,r);s!==void 0&&(this._$Ev.set(s,i),e.push(s));}),e}static createProperty(e,r=ps){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(e,r),!r.noAccessor&&!this.prototype.hasOwnProperty(e)){let i=typeof e=="symbol"?Symbol():"__"+e,s=this.getPropertyDescriptor(e,i,r);s!==void 0&&Object.defineProperty(this.prototype,e,s);}}static getPropertyDescriptor(e,r,i){return {get(){return this[r]},set(s){let n=this[e];this[r]=s,this.requestUpdate(e,n,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||ps}static finalize(){if(this.hasOwnProperty(fs))return !1;this[fs]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,i=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let s of i)this.createProperty(s,r[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let s of i)r.unshift(Zr(s));}else e!==void 0&&r.push(Zr(e));return r}static _$Ep(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(r=>r(this));}addController(e){var r,i;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((i=e.hostConnected)===null||i===void 0||i.call(e));}removeController(e){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(e)>>>0,1);}
vendor: 6,540 bytes, lines 58-60
58_$Eg(){this.constructor.elementProperties.forEach((e,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r]);});}createRenderRoot(){var e;let r=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return ls(r,this.constructor.elementStyles),r}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var i;return (i=r.hostConnected)===null||i===void 0?void 0:i.call(r)});}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(r=>{var i;return (i=r.hostDisconnected)===null||i===void 0?void 0:i.call(r)});}attributeChangedCallback(e,r,i){this._$AK(e,i);}_$EO(e,r,i=ps){var s;let n=this.constructor._$Ep(e,i);if(n!==void 0&&i.reflect===!0){let a=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:cs).toAttribute(r,i.type);this._$El=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$El=null;}}_$AK(e,r){var i;let s=this.constructor,n=s._$Ev.get(e);if(n!==void 0&&this._$El!==n){let a=s.getPropertyOptions(n),o=typeof a.converter=="function"?{fromAttribute:a.converter}:((i=a.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?a.converter:cs;this._$El=n,this[n]=o.fromAttribute(r,a.type),this._$El=null;}}requestUpdate(e,r,i){let s=!0;e!==void 0&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||La)(this[e],r)?(this._$AL.has(e)||this._$AL.set(e,r),i.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(r){Promise.reject(r);}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,n)=>this[n]=s),this._$Ei=void 0);let r=!1,i=this._$AL;try{r=this.shouldUpdate(i),r?(this.willUpdate(i),(e=this._$ES)===null||e===void 0||e.forEach(s=>{var n;return (n=s.hostUpdate)===null||n===void 0?void 0:n.call(s)}),this.update(i)):this._$Ek();}catch(s){throw r=!1,this._$Ek(),s}r&&this._$AE(i);}willUpdate(e){}_$AE(e){var r;(r=this._$ES)===null||r===void 0||r.forEach(i=>{var s;return (s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return !0}update(e){this._$EC!==void 0&&(this._$EC.forEach((r,i)=>this._$EO(i,this[i],r)),this._$EC=void 0),this._$Ek();}updated(e){}firstUpdated(e){}};fe[fs]=!0,fe.elementProperties=new Map,fe.elementStyles=[],fe.shadowRootOptions={mode:"open"},Ia?.({ReactiveElement:fe}),((hs=Xr.reactiveElementVersions)!==null&&hs!==void 0?hs:Xr.reactiveElementVersions=[]).push("1.6.3");var us,Qr=window,qe=Qr.trustedTypes,Oa=qe?qe.createPolicy("lit-html",{createHTML:t=>t}):void 0,ms="$lit$",ge=`lit$${(Math.random()+"").slice(9)}$`,ja="?"+ge,Nc=`<${ja}>`,De=document,yr=()=>De.createComment(""),gr=t=>t===null||typeof t!="object"&&typeof t!="function",Ga=Array.isArray,$c=t=>Ga(t)||typeof t?.[Symbol.iterator]=="function",ds=`[ 	
59\f\r]`,mr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Va=/-->/g,Ra=/>/g,Te=RegExp(`>|${ds}(?:([^\\s"'>=/]+)(${ds}*=${ds}*(?:[^ 	
60\f\r"'\`<>=]|("|')|))|$)`,"g"),Ba=/'/g,za=/"/g,Ha=/^(?:script|style|textarea|title)$/i,qa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),vt=qa(1),Fe=Symbol.for("lit-noChange"),Dt=Symbol.for("lit-nothing"),Na=new WeakMap,Me=De.createTreeWalker(De,129,null,!1);function Ua(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Oa!==void 0?Oa.createHTML(e):e}var jc=(t,e)=>{let r=t.length-1,i=[],s,n=e===2?"<svg>":"",a=mr;for(let o=0;o<r;o++){let l=t[o],h,u,c=-1,d=0;for(;d<l.length&&(a.lastIndex=d,u=a.exec(l),u!==null);)d=a.lastIndex,a===mr?u[1]==="!--"?a=Va:u[1]!==void 0?a=Ra:u[2]!==void 0?(Ha.test(u[2])&&(s=RegExp("</"+u[2],"g")),a=Te):u[3]!==void 0&&(a=Te):a===Te?u[0]===">"?(a=s??mr,c=-1):u[1]===void 0?c=-2:(c=a.lastIndex-u[2].length,h=u[1],a=u[3]===void 0?Te:u[3]==='"'?za:Ba):a===za||a===Ba?a=Te:a===Va||a===Ra?a=mr:(a=Te,s=void 0);let m=a===Te&&t[o+1].startsWith("/>")?" ":"";n+=a===mr?l+Nc:c>=0?(i.push(h),l.slice(0,c)+ms+l.slice(c)+ge+m):l+ge+(c===-2?(i.push(void 0),o):m);}return [Ua(t,n+(t[r]||"<?>")+(e===2?"</svg>":"")),i]},Ie=class{constructor({strings:e,_$litType$:r},i){let s;this.parts=[];let n=0,a=0,o=e.length-1,l=this.parts,[h,u]=jc(e,r);if(this.el=Ie.createElement(h,i),Me.currentNode=this.el.content,r===2){let c=this.el.content,d=c.firstChild;d.remove(),c.append(...d.childNodes);}for(;(s=Me.nextNode())!==null&&l.length<o;){if(s.nodeType===1){if(s.hasAttributes()){let c=[];for(let d of s.getAttributeNames())if(d.endsWith(ms)||d.startsWith(ge)){let m=u[a++];if(c.push(d),m!==void 0){let p=s.getAttribute(m.toLowerCase()+ms).split(ge),f=/([.?@])?(.*)/.exec(m);l.push({type:1,index:n,name:f[2],strings:p,ctor:f[1]==="."?gs:f[1]==="?"?vs:f[1]==="@"?bs:We});}else l.push({type:6,index:n});}for(let d of c)s.removeAttribute(d);}if(Ha.test(s.tagName)){let c=s.textContent.split(ge),d=c.length-1;if(d>0){s.textContent=qe?qe.emptyScript:"";for(let m=0;m<d;m++)s.append(c[m],yr()),Me.nextNode(),l.push({type:2,index:++n});s.append(c[d],yr());}}}else if(s.nodeType===8)if(s.data===ja)l.push({type:2,index:n});else {let c=-1;for(;(c=s.data.indexOf(ge,c+1))!==-1;)l.push({type:7,index:n}),c+=ge.length-1;}n++;}}static createElement(e,r){let i=De.createElement("template");return i.innerHTML=e,i}};function Ue(t,e,r=t,i){var s,n,a,o;if(e===Fe)return e;let l=i!==void 0?(s=r._$Co)===null||s===void 0?void 0:s[i]:r._$Cl,h=gr(e)?void 0:e._$litDirective$;return l?.constructor!==h&&((n=l?._$AO)===null||n===void 0||n.call(l,!1),h===void 0?l=void 0:(l=new h(t),l._$AT(t,r,i)),i!==void 0?((a=(o=r)._$Co)!==null&&a!==void 0?a:o._$Co=[])[i]=l:r._$Cl=l),l!==void 0&&(e=Ue(t,l._$AS(t,e.values),l,i)),e}var ys=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var r;let{el:{content:i},parts:s}=this._$AD,n=((r=e?.creationScope)!==null&&r!==void 0?r:De).importNode(i,!0);Me.currentNode=n;let a=Me.nextNode(),o=0,l=0,h=s[0];for(;h!==void 0;){if(o===h.index){let u;
vendor: 9,160 bytes, lines 60-116
60h.type===2?u=new Le(a,a.nextSibling,this,e):h.type===1?u=new h.ctor(a,h.name,h.strings,this,e):h.type===6&&(u=new xs(a,this,e)),this._$AV.push(u),h=s[++l];}o!==h?.index&&(a=Me.nextNode(),o++);}return Me.currentNode=De,n}v(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++;}},Le=class{constructor(e,r,i,s){var n;this.type=2,this._$AH=Dt,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=s,this._$Cp=(n=s?.isConnected)===null||n===void 0||n;}get _$AU(){var e,r;return (r=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&r!==void 0?r:this._$Cp}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Ue(this,e,r),gr(e)?e===Dt||e==null||e===""?(this._$AH!==Dt&&this._$AR(),this._$AH=Dt):e!==this._$AH&&e!==Fe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):$c(e)?this.T(e):this._(e);}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e));}_(e){this._$AH!==Dt&&gr(this._$AH)?this._$AA.nextSibling.data=e:this.$(De.createTextNode(e)),this._$AH=e;}g(e){var r;let{values:i,_$litType$:s}=e,n=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=Ie.createElement(Ua(s.h,s.h[0]),this.options)),s);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===n)this._$AH.v(i);else {let a=new ys(n,this),o=a.u(this.options);a.v(i),this.$(o),this._$AH=a;}}_$AC(e){let r=Na.get(e.strings);return r===void 0&&Na.set(e.strings,r=new Ie(e)),r}T(e){Ga(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,s=0;for(let n of e)s===r.length?r.push(i=new Le(this.k(yr()),this.k(yr()),this,this.options)):i=r[s],i._$AI(n),s++;s<r.length&&(this._$AR(i&&i._$AB.nextSibling,s),r.length=s);}_$AR(e=this._$AA.nextSibling,r){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,r);e&&e!==this._$AB;){let s=e.nextSibling;e.remove(),e=s;}}setConnected(e){var r;this._$AM===void 0&&(this._$Cp=e,(r=this._$AP)===null||r===void 0||r.call(this,e));}},We=class{constructor(e,r,i,s,n){this.type=1,this._$AH=Dt,this._$AN=void 0,this.element=e,this.name=r,this._$AM=s,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Dt;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,r=this,i,s){let n=this.strings,a=!1;if(n===void 0)e=Ue(this,e,r,0),a=!gr(e)||e!==this._$AH&&e!==Fe,a&&(this._$AH=e);else {let o=e,l,h;for(e=n[0],l=0;l<n.length-1;l++)h=Ue(this,o[i+l],r,l),h===Fe&&(h=this._$AH[l]),a||(a=!gr(h)||h!==this._$AH[l]),h===Dt?e=Dt:e!==Dt&&(e+=(h??"")+n[l+1]),this._$AH[l]=h;}a&&!s&&this.j(e);}j(e){e===Dt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"");}},gs=class extends We{constructor(){super(...arguments),this.type=3;}j(e){this.element[this.name]=e===Dt?void 0:e;}},Gc=qe?qe.emptyScript:"",vs=class extends We{constructor(){super(...arguments),this.type=4;}j(e){e&&e!==Dt?this.element.setAttribute(this.name,Gc):this.element.removeAttribute(this.name);}},bs=class extends We{constructor(e,r,i,s,n){super(e,r,i,s,n),this.type=5;}_$AI(e,r=this){var i;if((e=(i=Ue(this,e,r,0))!==null&&i!==void 0?i:Dt)===Fe)return;let s=this._$AH,n=e===Dt&&s!==Dt||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,a=e!==Dt&&(s===Dt||n);n&&this.element.removeEventListener(this.name,this,s),a&&this.element.addEventListener(this.name,this,e),this._$AH=e;}handleEvent(e){var r,i;typeof this._$AH=="function"?this._$AH.call((i=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&i!==void 0?i:this.element,e):this._$AH.handleEvent(e);}},xs=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i;}get _$AU(){return this._$AM._$AU}_$AI(e){Ue(this,e);}};var $a=Qr.litHtmlPolyfillSupport;$a?.(Ie,Le),((us=Qr.litHtmlVersions)!==null&&us!==void 0?us:Qr.litHtmlVersions=[]).push("2.8.0");var Wa=(t,e,r)=>{var i,s;let n=(i=r?.renderBefore)!==null&&i!==void 0?i:e,a=n._$litPart$;if(a===void 0){let o=(s=r?.renderBefore)!==null&&s!==void 0?s:null;n._$litPart$=a=new Le(e.insertBefore(yr(),o),o,void 0,r??{});}return a._$AI(t),a};var Ss,ws;var ve=class extends fe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var e,r;let i=super.createRenderRoot();return (e=(r=this.renderOptions).renderBefore)!==null&&e!==void 0||(r.renderBefore=i.firstChild),i}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Wa(r,this.renderRoot,this.renderOptions);}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0);}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1);}render(){return Fe}};ve.finalized=!0,ve._$litElement$=!0,(Ss=globalThis.litElementHydrateSupport)===null||Ss===void 0||Ss.call(globalThis,{LitElement:ve});var Ja=globalThis.litElementPolyfillSupport;Ja?.({LitElement:ve});((ws=globalThis.litElementVersions)!==null&&ws!==void 0?ws:globalThis.litElementVersions=[]).push("3.3.3");var Hc=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(r){r.createProperty(e.key,t);}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this));},finisher(r){r.createProperty(e.key,t);}},qc=(t,e,r)=>{e.constructor.createProperty(r,t);};function Rt(t){return (e,r)=>r!==void 0?qc(t,e,r):Hc(t,e)}function Ka(t){return Rt({...t,state:!0})}var Oe=({finisher:t,descriptor:e})=>(r,i)=>{var s;if(i===void 0){let n=(s=r.originalKey)!==null&&s!==void 0?s:r.key,a=e!=null?{kind:"method",placement:"prototype",key:n,descriptor:e(r.key)}:{...r,key:n};return t!=null&&(a.finisher=function(o){t(o,n);}),a}{let n=r.constructor;e!==void 0&&Object.defineProperty(r,i,e(i)),t?.(n,i);}};function Ya(t,e){return Oe({descriptor:r=>{let i={get(){var s,n;return (n=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(t))!==null&&n!==void 0?n:null},enumerable:!0,configurable:!0};if(e){let s=typeof r=="symbol"?Symbol():"__"+r;i.get=function(){var n,a;return this[s]===void 0&&(this[s]=(a=(n=this.renderRoot)===null||n===void 0?void 0:n.querySelector(t))!==null&&a!==void 0?a:null),this[s]};}return i}})}var ks;((ks=window.HTMLSlotElement)===null||ks===void 0?void 0:ks.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(r=>r.nodeType===Node.ELEMENT_NODE);var Za={name:"@dotlottie/player-component",version:"2.3.0",description:"dotLottie animation player web component.",repository:"https://github.com/dotlottie/player-component.git",homepage:"https://dotlottie.com/players",bugs:"https://github.com/dotlottie/player-component/issues",author:"Jawish Hameed <[email protected]>",license:"MIT",main:"dist/dotlottie-player.js",module:"dist/dotlottie-player.mjs",types:"dist/dotlottie-player.d.ts",files:["dist"],keywords:["dotlottie","animation","web component","component","lit-element","player"],scripts:{build:"tsup","cypress:open":"cypress open --component",dev:"tsup --watch",lint:"eslint .","lint:fix":"eslint --fix",test:"cypress run --component","type-check":"tsc --noEmit"},dependencies:{lit:"^2.7.5"},devDependencies:{"@dotlottie/common":"workspace:^","@vitejs/plugin-legacy":"^4.1.0","axe-core":"^4.7.2",cypress:"^12.11.0","cypress-axe":"^1.4.0","cypress-ct-lit":"^0.3.2","lottie-web":"^5.12.2",terser:"^5.19.0",tsup:"^6.1.3",typescript:"^4.7.4",vite:"^4.3.9"},publishConfig:{access:"public"},browserslist:["> 3%"]};var Xa=os`
61  @font-face {
62    font-family: 'Karla';
63    font-weight: regular;
64    src: url('./fonts/Karla-regular.woff') format('woff');
65  }
66
67  * {
68    box-sizing: border-box;
69  }
70
71  :host {
72    --lottie-player-toolbar-height: 35px;
73    --lottie-player-toolbar-background-color: transparent;
74    --lottie-player-toolbar-hover-background-color: #f3f6f8;
75    --lottie-player-toolbar-icon-color: #20272c;
76    --lottie-player-toolbar-icon-hover-color: #f3f6f8;
77    --lottie-player-toolbar-icon-active-color: #00ddb3;
78    --lottie-player-seeker-track-color: #00ddb3;
79    --lottie-player-seeker-accent-color: #00c1a2;
80    --lottie-player-seeker-thumb-color: #00c1a2;
81    --lottie-player-options-separator: #d9e0e6;
82
83    display: block;
84    width: 100%;
85    height: 100%;
86
87    font-family: 'Karla', sans-serif;
88    font-style: normal;
89    -webkit-font-smoothing: antialiased;
90    -moz-osx-font-smoothing: grayscale;
91  }
92
93  .active {
94    color: var(--lottie-player-toolbar-icon-active-color) !important;
95  }
96
97  .main {
98    position: relative;
99    display: flex;
100    flex-direction: column;
101    height: 100%;
102    width: 100%;
103  }
104
105  .animation {
106    position: relative;
107    width: 100%;
108    height: 100%;
109    display: flex;
110  }
111  .animation.controls {
112    height: calc(100% - var(--lottie-player-toolbar-height));
113  }
114
115  .toolbar {
116    display: flex;
117    align-items: center;
118    justify-items: center;
119    background-color: var(--lottie-player-toolbar-background-color);
120    margin: 0 8px;
121    height: var(--lottie-player-toolbar-height);
122  }
123
124  .btn-spacing-left {
125    margin-right: 4px;
126    margin-left: 8px;
127  }
128
129  .btn-spacing-center {
130    margin-right: 4px;
131    margin-left: 4px;
132  }
133
134  .btn-spacing-right {
135    margin-right: 8px;
136    margin-left: 4px;
137  }
138
139  .toolbar button {
140    color: #20272c;
141    cursor: pointer;
142    fill: var(--lottie-player-toolbar-icon-color);
143    display: flex;
144    background: none;
145    border: 0px;
146    border-radius: 4px;
147    padding: 4px;
148    outline: none;
149    width: 24px;
150    height: 24px;
151    align-items: center;
152  }
153
154  .toolbar button:hover {
155    background-color: var(--lottie-player-toolbar-icon-hover-color);
156    border-style: solid;
157    border-radius: 2px;
158  }
159
160  .toolbar button.active {
161    fill: var(--lottie-player-toolbar-icon-active-color);
162  }
163
164  .toolbar button.active:hover {
165    fill: var(--lottie-player-toolbar-icon-hover-color);
166    border-radius: 4px;
167  }
168
169  .toolbar button:focus-visible {
170    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
171    border-radius: 4px;
172    box-sizing: border-box;
173  }
174
175  .toolbar button svg {
176    width: 16px;
177    height: 16px;
178  }
179
180  .toolbar button.disabled svg {
181    display: none;
182  }
183
184  .popover {
185    position: absolute;
186    bottom: 40px;
187    left: calc(100% - 239px);
188    width: 224px;
189    min-height: 84px;
190    max-height: 300px;
191    background-color: #ffffff;
192    box-shadow: 0px 8px 48px 0px rgba(243, 246, 248, 0.15), 0px 8px 16px 0px rgba(61, 72, 83, 0.16),
193      0px 0px 1px 0px rgba(61, 72, 83, 0.36);
194    border-radius: 8px;
195    padding: 8px;
196    z-index: 100;
197    overflow-y: scroll;
198    scrollbar-width: none;
199  }
200  .popover:focus-visible {
201    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
202    border-radius: 4px;
203    box-sizing: border-box;
204  }
205
206  .popover::-webkit-scrollbar {
207    width: 0px;
208  }
209
210  .popover-button {
211    background: none;
212    border: none;
213    font-family: inherit;
214    width: 100%;
215    flex-direction: row;
216    cursor: pointer;
217    height: 32px;
218    color: #20272c;
219    justify-content: space-between;
220    display: flex;
221    padding: 4px 8px;
222    align-items: flex-start;
223    gap: 8px;
224    align-self: stretch;
225    border-radius: 4px;
226  }
227
228  .popover-button:focus-visible {
229    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
230    border-radius: 4px;
231    box-sizing: border-box;
232  }
233
234  .popover-button:hover {
235    background-color: var(--lottie-player-toolbar-hover-background-color);
236  }
237
238  .popover-button-text {
239    display: flex;
240    color: #20272c;
241    flex-direction: column;
242    align-self: stretch;
243    justify-content: center;
244    font-family: inherit;
245    font-size: 14px;
246    font-style: normal;
247    font-weight: 400;
248    line-height: 150%;
249    letter-spacing: -0.28px;
250  }
251
252  .reset-btn {
253    font-size: 12px;
254    cursor: pointer;
255    font-family: inherit;
256    background: none;
257    border: none;
258    font-weight: 400;
259    line-height: 18px;
260    letter-spacing: 0em;
261    text-align: left;
262    color: #63727e;
263    padding: 0;
264    width: 31px;
265    height: 18px;
266  }
267  .reset-btn:focus-visible {
268    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
269    border-radius: 4px;
270    box-sizing: border-box;
271  }
272  .reset-btn:hover {
273    color: #20272c;
274  }
275
276  .option-title-button {
277    display: flex;
278    flex-direction: row;
279    width: 100%;
280    height: 32px;
281    align-items: center;
282    gap: 4px;
283    align-self: stretch;
284    cursor: pointer;
285    color: var(--lottie-player-toolbar-icon-color);
286    border: none;
287    background: none;
288    padding: 4px;
289    font-family: inherit;
290    font-size: 16px;
291    font-weight: 700;
292    line-height: 150%;
293    letter-spacing: -0.32px;
294  }
295  .option-title-button.themes {
296    width: auto;
297    padding: 0;
298  }
299  .option-title-button:hover {
300    background-color: var(--lottie-player-toolbar-icon-hover-color);
301  }
302
303  .option-title-themes-row {
304    display: flex;
305    align-items: center;
306    gap: 8px;
307    flex: 1 0 0;
308  }
309  .option-title-themes-row:hover {
310    background-color: var(--lottie-player-toolbar-icon-hover-color);
311  }
312
313  .option-title-button:focus-visible {
314    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
315    border-radius: 4px;
316    box-sizing: border-box;
317  }
318
319  .option-title-text {
320    font-size: 16px;
321    font-style: normal;
322    font-weight: 700;
323    line-height: 150%;
324    letter-spacing: -0.32px;
325  }
326
327  .option-title-separator {
328    margin: 8px -8px;
329    border-bottom: 1px solid var(--lottie-player-options-separator);
330  }
331
332  .option-title-chevron {
333    display: flex;
334    padding: 4px;
335    border-radius: 8px;
336    justify-content: center;
337    align-items: center;
338    gap: 8px;
339  }
340
341  .option-row {
342    display: flex;
343    flex-direction: column;
344  }
345  .option-row > ul {
346    padding: 0;
347    margin: 0;
348  }
349
350  .option-button {
351    width: 100%;
352    background: none;
353    border: none;
354    font-family: inherit;
355    display: flex;
356    padding: 4px 8px;
357    color: #20272c;
358    overflow: hidden;
359    align-items: center;
360    gap: 8px;
361    align-self: stretch;
362    cursor: pointer;
363    height: 32px;
364    font-family: inherit;
365    font-size: 14px;
366    border-radius: 4px;
367  }
368  .option-button:hover {
369    background-color: var(--lottie-player-toolbar-hover-background-color);
370  }
371  .option-button:focus-visible {
372    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
373    border-radius: 4px;
374    box-sizing: border-box;
375  }
376
377  .option-tick {
378    display: flex;
379    width: 24px;
380    height: 24px;
381    align-items: flex-start;
382    gap: 8px;
383  }
384
385  .seeker {
386    height: 4px;
387    width: 95%;
388    outline: none;
389    -webkit-appearance: none;
390    -moz-apperance: none;
391    border-radius: 9999px;
392    cursor: pointer;
393    background-image: linear-gradient(
394      to right,
395      rgb(0, 221, 179) calc(var(--seeker) * 1%),
396      rgb(217, 224, 230) calc(var(--seeker) * 1%)
397    );
398  }
399  .seeker.to-left {
400    background-image: linear-gradient(
401      to right,
402      rgb(217, 224, 230) calc(var(--seeker) * 1%),
403      rgb(0, 221, 179) calc(var(--seeker) * 1%)
404    );
405  }
406  .seeker::-webkit-slider-runnable-track:focus-visible {
407    color: #f07167;
408    accent-color: #00ddb3;
409  }
410
411  .seeker::-webkit-slider-runnable-track {
412    width: 100%;
413    height: 5px;
414    cursor: pointer;
415  }
416  .seeker::-webkit-slider-thumb {
417    -webkit-appearance: none;
418    height: 16px;
419    width: 16px;
420    border-radius: 50%;
421    background: var(--lottie-player-seeker-thumb-color);
422    cursor: pointer;
423    margin-top: -5px;
424  }
425  .seeker:focus-visible::-webkit-slider-thumb {
426    background: var(--lottie-player-seeker-thumb-color);
427    outline: 2px solid var(--lottie-player-seeker-track-color);
428    border: 1.5px solid #ffffff;
429  }
430  .seeker::-webkit-slider-thumb:hover {
431    background: #019d91;
432  }
433  .seeker::-moz-range-thumb {
434    appearance: none;
435    height: 16px;
436    width: 16px;
437    border-radius: 50%;
438    background: var(--lottie-player-seeker-thumb-color);
439    cursor: pointer;
440    margin-top: -5px;
441    border-color: transparent;
442  }
443  .seeker:focus-visible::-moz-range-thumb {
444    background: var(--lottie-player-seeker-thumb-color);
445    outline: 2px solid var(--lottie-player-seeker-track-color);
446    border: 1.5px solid #ffffff;
447  }
448
449  .error {
450    display: flex;
451    justify-content: center;
452    margin: auto;
453    height: 100%;
454    align-items: center;
455  }
456`;var Qa="dotlottie-player";var Ft=class extends ve{defaultTheme="";container;playMode=Ur.Normal;autoplay=!1;background="transparent";controls=!1;direction=1;hover=!1;loop;renderer="svg";speed=1;src;intermission=0;activeAnimationId=null;_seeker=0;_dotLottieCommonPlayer;_io;_loop;_renderer="svg";_unsubscribeListeners;_hasMultipleAnimations=!1;_popoverIsOpen=!1;_animationsTabIsOpen=!1;_styleTabIsOpen=!1;_themesForCurrentAnimation=[];_parseLoop(e){let r=parseInt(e,10);return Number.isInteger(r)&&r>0?(this._loop=r,r):typeof e=="string"&&["true","false"].includes(e)?(this._loop=e==="true",this._loop):(ze("loop must be a positive integer or a boolean"),!1)}_handleSeekChange(e){let r=e.currentTarget;try{let i=parseInt(r.value,10);if(!this._dotLottieCommonPlayer)return;let s=i/100*this._dotLottieCommonPlayer.totalFrames;this.seek(s);}catch{throw bt("Error while seeking animation")}}_initListeners(){let e=this._dotLottieCommonPlayer;if(e===void 0){ze("player not initialized - cannot add event listeners","dotlottie-player-component");return}this._unsubscribeListeners=e.state.subscribe((r,i)=>{this._seeker=r.seeker,this.requestUpdate(),i.currentState!==r.currentState&&this.dispatchEvent(new CustomEvent(r.currentState)),this.dispatchEvent(new CustomEvent(ce.Frame,{detail:{frame:r.frame,seeker:r.seeker}}));}),e.addEventListener("complete",()=>{this.dispatchEvent(new CustomEvent(ce.Complete));}),e.addEventListener("loopComplete",()=>{this.dispatchEvent(new CustomEvent(ce.LoopComplete));}),e.addEventListener("DOMLoaded",()=>{let r=this.getManifest();r&&r.themes&&(this._themesForCurrentAnimation=r.themes.filter(i=>i.animations.includes(this.getCurrentAnimationId()||""))),this.dispatchEvent(new CustomEvent(ce.Ready));}),e.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(ce.DataReady));}),e.addEventListener("data_failed",()=>{this.dispatchEvent(new CustomEvent(ce.DataFail));}),window&&window.addEventListener("click",r=>this._clickOutListener(r));}
456async load(e,r,i){if(!this.shadowRoot)return;this._dotLottieCommonPlayer=new Jr(e,this.container,{rendererSettings:r??{scaleMode:"noScale",clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0},hover:this.hasAttribute("hover")?this.hover:void 0,renderer:this.hasAttribute("renderer")?this._renderer:void 0,loop:this.hasAttribute("loop")?this._loop:void 0,direction:this.hasAttribute("direction")?this.direction===1?1:-1:void 0,speed:this.hasAttribute("speed")?this.speed:void 0,intermission:this.hasAttribute("intermission")?Number(this.intermission):void 0,playMode:this.hasAttribute("playMode")?this.playMode:void 0,autoplay:this.hasAttribute("autoplay")?this.autoplay:void 0,activeAnimationId:this.hasAttribute("activeAnimationId")?this.activeAnimationId:void 0,defaultTheme:this.hasAttribute("defaultTheme")?this.defaultTheme:void 0}),await this._dotLottieCommonPlayer.load(i),this._hasMultipleAnimations=this.animationCount()>1;let s=this.getManifest();s&&s.themes&&(this._themesForCurrentAnimation=s.themes.filter(n=>n.animations.includes(this.getCurrentAnimationId()||""))),this._initListeners();}getCurrentAnimationId(){return this._dotLottieCommonPlayer?.currentAnimationId}animationCount(){return this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.getManifest()?.animations.length||0}animations(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getManifest()?.animations.map(r=>r.id)||[]:[]}currentAnimation(){return !this._dotLottieCommonPlayer||!this._dotLottieCommonPlayer.currentAnimationId?"":this._dotLottieCommonPlayer.currentAnimationId}getState(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getState():Wr}getManifest(){return this._dotLottieCommonPlayer?.getManifest()}getLottie(){return this._dotLottieCommonPlayer?.getAnimationInstance()}getVersions(){return {lottieWebVersion:Jr.getLottieWebVersion(),dotLottiePlayerVersion:`${Za.version}`}}previous(e){this._dotLottieCommonPlayer?.previous(e);}next(e){this._dotLottieCommonPlayer?.next(e);}reset(){this._dotLottieCommonPlayer?.reset();}play(e,r){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.play(e,r);}pause(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.pause();}stop(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stop();}seek(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.seek(e);}snapshot(e=!0){if(!this.shadowRoot)return "";let r=this.shadowRoot.querySelector(".animation svg"),i=new XMLSerializer().serializeToString(r);if(e){let s=document.createElement("a");s.href=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(i)}`,s.download=`download_${this._seeker}.svg`,document.body.appendChild(s),s.click(),document.body.removeChild(s);}return i}setTheme(e){this._dotLottieCommonPlayer?.setDefaultTheme(e);}themes(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getManifest()?.themes?.map(r=>r.id)||[]:[]}getDefaultTheme(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.defaultTheme:""}_freeze(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.freeze();}setSpeed(e=1){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setSpeed(e);}setDirection(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setDirection(e);}setLooping(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setLoop(e);}isLooping(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.loop:!1}togglePlay(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.togglePlay();}toggleLooping(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.toggleLoop();}setPlayMode(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setMode(e);}revertToManifestValues(e){this._dotLottieCommonPlayer?.revertToManifestValues(e);}static get styles(){return Xa}async firstUpdated(){this.container=this.shadowRoot?.querySelector("#animation"),"IntersectionObserver"in window&&(this._io=new IntersectionObserver(e=>{e[0]!==void 0&&e[0].isIntersecting?this._dotLottieCommonPlayer?.currentState===ye.Frozen&&this.play():this._dotLottieCommonPlayer?.currentState===ye.Playing&&this._freeze();}),this._io.observe(this.container)),this.loop?this._parseLoop(this.loop):this.hasAttribute("loop")&&this._parseLoop("true"),this.renderer==="svg"?this._renderer="svg":this.renderer==="canvas"?this._renderer="canvas":this.renderer==="html"&&(this._renderer="html"),this.src&&await this.load(this.src);}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),this._dotLottieCommonPlayer?.destroy(),this._unsubscribeListeners?.(),window&&window.removeEventListener("click",e=>this._clickOutListener(e));}_clickOutListener(e){!e.composedPath().some(i=>i instanceof HTMLElement?i.classList.contains("popover")||i.id==="lottie-animation-options":!1)&&this._popoverIsOpen&&(this._popoverIsOpen=!1,this.requestUpdate());}renderControls(){let e=this._dotLottieCommonPlayer?.currentState===ye.Playing,r=this._dotLottieCommonPlayer?.currentState===ye.Paused;return vt`
457      <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">
458        ${this._hasMultipleAnimations?vt`
459              <button @click=${()=>this.previous()} aria-label="Previous animation" class="btn-spacing-left">
460                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
461                  <path
462                    fill-rule="evenodd"
463                    clip-rule="evenodd"
464                    d="M1.69214 13.5C1.69214 13.7761 1.916 14 2.19214 14C2.46828 14 2.69214 13.7761 2.69214 13.5L2.69214 2.5C2.69214 2.22386 2.46828 2 2.19214 2C1.916 2 1.69214 2.22386 1.69214 2.5V13.5ZM12.5192 13.7828C13.1859 14.174 14.0254 13.6933 14.0254 12.9204L14.0254 3.0799C14.0254 2.30692 13.1859 1.8262 12.5192 2.21747L4.13612 7.13769C3.47769 7.52414 3.47769 8.4761 4.13612 8.86255L12.5192 13.7828Z"
465                    fill="#20272C"
466                  />
467                </svg>
468              </button>
469            `:vt``}
470        <button
471          id="lottie-play-button"
472          @click=${()=>{this.togglePlay();}}
473          class=${e||r?`active ${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`:`${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`}
474          aria-label="play / pause animation"
475        >
476          ${e?vt`
477                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
478                  <path
479                    d="M3.99996 2C3.26358 2 2.66663 2.59695 2.66663 3.33333V12.6667C2.66663 13.403 3.26358 14 3.99996 14H5.33329C6.06967 14 6.66663 13.403 6.66663 12.6667V3.33333C6.66663 2.59695 6.06967 2 5.33329 2H3.99996Z"
480                    fill="#20272C"
481                  />
482                  <path
483                    d="M10.6666 2C9.93025 2 9.33329 2.59695 9.33329 3.33333V12.6667C9.33329 13.403 9.93025 14 10.6666 14H12C12.7363 14 13.3333 13.403 13.3333 12.6667V3.33333C13.3333 2.59695 12.7363 2 12 2H10.6666Z"
484                    fill="#20272C"
485                  />
486                </svg>
487              `:vt`
488                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
489                  <path
490                    d="M3.33337 3.46787C3.33337 2.52312 4.35948 1.93558 5.17426 2.41379L12.8961 6.94592C13.7009 7.41824 13.7009 8.58176 12.8961 9.05408L5.17426 13.5862C4.35948 14.0644 3.33337 13.4769 3.33337 12.5321V3.46787Z"
491                    fill="#20272C"
492                  />
493                </svg>
494              `}
495        </button>
496        ${this._hasMultipleAnimations?vt`
497              <button @click=${()=>this.next()} aria-label="Next animation" class="btn-spacing-right">
498                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
499                  <path
500                    fill-rule="evenodd"
501                    clip-rule="evenodd"
502                    d="M14.3336 2.5C14.3336 2.22386 14.1097 2 13.8336 2C13.5574 2 13.3336 2.22386 13.3336 2.5V13.5C13.3336 13.7761 13.5574 14 13.8336 14C14.1097 14 14.3336 13.7761 14.3336 13.5V2.5ZM3.50618 2.21722C2.83954 1.82595 2 2.30667 2 3.07965V12.9201C2 13.6931 2.83954 14.1738 3.50618 13.7825L11.8893 8.86231C12.5477 8.47586 12.5477 7.52389 11.8893 7.13745L3.50618 2.21722Z"
503                    fill="#20272C"
504                  />
505                </svg>
506              </button>
507            `:vt``}
508        <input
509          id="lottie-seeker-input"
510          class="seeker ${this._dotLottieCommonPlayer?.direction===-1?"to-left":""}"
511          type="range"
512          min="0"
513          step="1"
514          max="100"
515          .value=${this._seeker}
516          @input=${i=>this._handleSeekChange(i)}
517          @mousedown=${()=>{this._freeze();}}
518          @mouseup=${()=>{this._dotLottieCommonPlayer?.unfreeze();}}
519          aria-valuemin="1"
520          aria-valuemax="100"
521          role="slider"
522          aria-valuenow=${this._seeker}
523          aria-label="lottie-seek-input"
524          style=${`--seeker: ${this._seeker}`}
525        />
526        <button
527          id="lottie-loop-toggle"
528          @click=${()=>this.toggleLooping()}
529          class=${this._dotLottieCommonPlayer?.loop?"active btn-spacing-left":"btn-spacing-left"}
530          aria-label="loop-toggle"
531        >
532          <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
533            <path
534              d="M10.8654 2.31319C11.0607 2.11793 11.3772 2.11793 11.5725 2.31319L13.4581 4.19881C13.6534 4.39407 13.6534 4.71066 13.4581 4.90592L11.5725 6.79154C11.3772 6.9868 11.0607 6.9868 10.8654 6.79154C10.6701 6.59628 10.6701 6.27969 10.8654 6.08443L11.6162 5.33362H4V6.66695C4 7.03514 3.70152 7.33362 3.33333 7.33362C2.96514 7.33362 2.66666 7.03514 2.66666 6.66695L2.66666 4.66695C2.66666 4.29876 2.96514 4.00028 3.33333 4.00028H11.8454L10.8654 3.0203C10.6701 2.82504 10.6701 2.50846 10.8654 2.31319Z"
535              fill="currentColor"
536            />
537            <path
538              d="M12.4375 11.9999C12.8057 11.9999 13.1042 11.7014 13.1042 11.3332V9.33321C13.1042 8.96502 12.8057 8.66655 12.4375 8.66655C12.0693 8.66655 11.7708 8.96502 11.7708 9.33321V10.6665H4.15462L4.90543 9.91573C5.10069 9.72047 5.10069 9.40389 4.90543 9.20862C4.71017 9.01336 4.39359 9.01336 4.19832 9.20862L2.31271 11.0942C2.11744 11.2895 2.11744 11.6061 2.31271 11.8013L4.19832 13.687C4.39359 13.8822 4.71017 13.8822 4.90543 13.687C5.10069 13.4917 5.10069 13.1751 4.90543 12.9799L3.92545 11.9999H12.4375Z"
539              fill="currentColor"
540            />
541          </svg>
542        </button>
543        ${this._hasMultipleAnimations?vt`
544              <button
545                id="lottie-animation-options"
546                @click=${()=>{this._popoverIsOpen=!this._popoverIsOpen,this.requestUpdate();}}
547                aria-label="options"
548                class="btn-spacing-right"
549                style=${`background-color: ${this._popoverIsOpen?"var(--lottie-player-toolbar-icon-hover-color)":""}`}
550              >
551                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
552                  <path
553                    d="M8.33337 11.6666C7.78109 11.6666 7.33337 12.1143 7.33337 12.6666C7.33337 13.2189 7.78109 13.6666 8.33337 13.6666C8.88566 13.6666 9.33337 13.2189 9.33337 12.6666C9.33337 12.1143 8.88566 11.6666 8.33337 11.6666Z"
554                    fill="#20272C"
555                  />
556                  <path
557                    d="M7.33337 7.99992C7.33337 7.44763 7.78109 6.99992 8.33337 6.99992C8.88566 6.99992 9.33338 7.44763 9.33338 7.99992C9.33338 8.5522 8.88566 8.99992 8.33337 8.99992C7.78109 8.99992 7.33337 8.5522 7.33337 7.99992Z"
558                    fill="#20272C"
559                  />
560                  <path
561                    d="M7.33337 3.33325C7.33337 2.78097 7.78109 2.33325 8.33337 2.33325C8.88566 2.33325 9.33338 2.78097 9.33338 3.33325C9.33338 3.88554 8.88566 4.33325 8.33337 4.33325C7.78109 4.33325 7.33337 3.88554 7.33337 3.33325Z"
562                    fill="#20272C"
563                  />
564                </svg>
565              </button>
566            `:vt``}
567      </div>
568      ${this._popoverIsOpen?vt`
569            <div
570              id="popover"
571              class="popover"
572              tabindex="0"
573              aria-label="lottie animations themes popover"
574              style="min-height: ${this.themes().length>0?"84px":"auto"}"
575            >
576              ${!this._animationsTabIsOpen&&!this._styleTabIsOpen?vt`
577                    <button
578                      class="popover-button"
579                      tabindex="0"
580                      aria-label="animations"
581                      @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate();}}
582                      @keydown=${i=>{(i.code==="Space"||i.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate());}}
583                    >
584                      <div class="popover-button-text">Animations</div>
585                      <div>
586                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
587                          <path
588                            fill-rule="evenodd"
589                            clip-rule="evenodd"
590                            d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"
591                            fill="#4C5863"
592                          />
593                        </svg>
594                      </div>
595                    </button>
596                  `:vt``}
597              ${this.themes().length>0&&!this._styleTabIsOpen&&!this._animationsTabIsOpen?vt` <button
598                    class="popover-button"
599                    aria-label="Themes"
600                    @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate();}}
601                    @keydown=${i=>{(i.code==="Space"||i.code==="Enter")&&(this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate());}}
602                  >
603                    <div class="popover-button-text">Themes</div>
604                    <div>
605                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
606                        <path
607                          fill-rule="evenodd"
608                          clip-rule="evenodd"
609                          d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"
610                          fill="#4C5863"
611                        />
612                      </svg>
613                    </div>
614                  </button>`:""}
615              ${this._animationsTabIsOpen?vt`<button
616                      class="option-title-button"
617                      aria-label="Back to main popover menu"
618                      @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate();}}
619                    >
620                      <div class="option-title-chevron">
621                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
622                          <path
623                            fill-rule="evenodd"
624                            clip-rule="evenodd"
625                            d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"
626                            fill="#20272C"
627                          />
628                        </svg>
629                      </div>
630                      <div>Animations</div>
631                    </button>
632                    <div class="option-title-separator"></div>
633                    <div class="option-row">
634                      <ul>
635                        ${this.animations().map(i=>vt`
636                            <li>
637                              <button
638                                class="option-button"
639                                aria-label=${`${i}`}
640                                @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.setTheme(""),this.play(i),this.requestUpdate();}}
641                                @keydown=${s=>{(s.code==="Space"||s.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.setTheme(""),this.play(i),this.requestUpdate());}}
642                              >
643                                <div class="option-tick">
644                                  ${this.currentAnimation()===i?vt`
645                                        <svg
646                                          width="24"
647                                          height="24"
648                                          viewBox="0 0 24 24"
649                                          fill="none"
650                                          xmlns="http://www.w3.org/2000/svg"
651                                        >
652                                          <path
653                                            fill-rule="evenodd"
654                                            clip-rule="evenodd"
655                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"
656                                            fill="#20272C"
657                                          />
658                                        </svg>
659                                      `:vt``}
660                                </div>
661                                <div>${i}</div>
662                              </button>
663                            </li>
664                          `)}
665                      </ul>
666                    </div> `:vt``}
667              ${this._styleTabIsOpen?vt`<div class="option-title-themes-row">
668                      <button
669                        class="option-title-button themes"
670                        aria-label="Back to main popover menu"
671                        @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate();}}
672                      >
673                        <div class="option-title-chevron">
674                          <svg
675                            width="24"
676                            height="24"
677                            viewBox="0 0 24 24"
678                            fill="none"
679                            xmlns="http://www.w3.org/2000/svg"
680                          >
681                            <path
682                              fill-rule="evenodd"
683                              clip-rule="evenodd"
684                              d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"
685                              fill="#20272C"
686                            />
687                          </svg>
688                        </div>
689                        <div class="option-title-text">Themes</div>
690                        ${this._dotLottieCommonPlayer?.defaultTheme===""?vt``:vt`
691                              <button
692                                class="reset-btn"
693                                @click=${()=>{this.setTheme(""),this.requestUpdate();}}
694                              >
695                                Reset
696                              </button>
697                            `}
698                      </button>
699                    </div>
700                    <div class="option-title-separator"></div>
701                    <div class="option-row">
702                      <ul>
703                        ${this._themesForCurrentAnimation.map(i=>vt`
704                            <li>
705                              <button
706                                class="option-button"
707                                aria-label="${i.id}"
708                                @click=${()=>{this.setTheme(i.id);}}
709                                @keydown=${s=>{(s.code==="Space"||s.code==="Enter")&&this.setTheme(i.id);}}
710                              >
711                                <div class="option-tick">
712                                  ${this.getDefaultTheme()===i.id?vt`
713                                        <svg
714                                          width="24"
715                                          height="24"
716                                          viewBox="0 0 24 24"
717                                          fill="none"
718                                          xmlns="http://www.w3.org/2000/svg"
719                                        >
720                                          <path
721                                            fill-rule="evenodd"
722                                            clip-rule="evenodd"
723                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"
724                                            fill="#20272C"
725                                          />
726                                        </svg>
727                                      `:vt``}
728                                </div>
729                                <div>${i.id}</div>
730                              </button>
731                            </li>
732                          `)}
733                      </ul>
734                    </div>`:vt``}
735            </div>
736          `:vt``}
737    `}render(){let e=this.controls?"main controls":"main",r=this.controls?"animation controls":"animation";return vt`
738      <div id="animation-container" class=${e} lang="en" role="img" aria-label="lottie-animation-container">
739        <div id="animation" class=${r} style="background:${this.background};">
740          ${this._dotLottieCommonPlayer?.currentState===ye.Error?vt` <div class="error">⚠️</div> `:void 0}
741        </div>
742        ${this.controls?this.renderControls():void 0}
743      </div>
744    `}};Ot([Rt({type:String})],Ft.prototype,"defaultTheme",2),Ot([Ya("#animation")],Ft.prototype,"container",2),Ot([Rt()],Ft.prototype,"playMode",2),Ot([Rt({type:Boolean})],Ft.prototype,"autoplay",2),Ot([Rt({type:String})],Ft.prototype,"background",2),Ot([Rt({type:Boolean})],Ft.prototype,"controls",2),Ot([Rt({type:Number})],Ft.prototype,"direction",2),Ot([Rt({type:Boolean})],Ft.prototype,"hover",2),Ot([Rt({type:String})],Ft.prototype,"loop",2),Ot([Rt({type:String})],Ft.prototype,"renderer",2),Ot([Rt({type:Number})],Ft.prototype,"speed",2),Ot([Rt({type:String})],Ft.prototype,"src",2),Ot([Rt()],Ft.prototype,"intermission",2),Ot([Rt({type:String})],Ft.prototype,"activeAnimationId",2),Ot([Ka()],Ft.prototype,"_seeker",2);customElements.get(Qa)||customElements.define(Qa,Ft);/*! Bundled license information:
745
746  is-buffer/index.js:
747    (*!
748     * Determine if an object is a Buffer
749     *
750     * @author   Feross Aboukhadijeh <https://feross.org>
751     * @license  MIT
752     *)
753
754  lottie-web/build/player/lottie.js:
755    (*!
756     Transformation Matrix v2.0
757     (c) Epistemex 2014-2015
758     www.epistemex.com
759     By Ken Fyrstenberg
760     Contributions by leeoniya.
761     License: MIT, header required.
762     *)
763  */
764  /*! Bundled license information:
765
766  @lit/reactive-element/css-tag.js:
767    (**
768     * @license
769     * Copyright 2019 Google LLC
770     * SPDX-License-Identifier: BSD-3-Clause
771     *)
772
773  @lit/reactive-element/reactive-element.js:
774    (**
775     * @license
776     * Copyright 2017 Google LLC
777     * SPDX-License-Identifier: BSD-3-Clause
778     *)
779
780  lit-html/lit-html.js:
781    (**
782     * @license
783     * Copyright 2017 Google LLC
784     * SPDX-License-Identifier: BSD-3-Clause
785     *)
786
787  lit-element/lit-element.js:
788    (**
789     * @license
790     * Copyright 2017 Google LLC
791     * SPDX-License-Identifier: BSD-3-Clause
792     *)
793
794  lit-html/is-server.js:
795    (**
796     * @license
797     * Copyright 2022 Google LLC
798     * SPDX-License-Identifier: BSD-3-Clause
799     *)
800
801  @lit/reactive-element/decorators/custom-element.js:
802    (**
803     * @license
804     * Copyright 2017 Google LLC
805     * SPDX-License-Identifier: BSD-3-Clause
806     *)
807
808  @lit/reactive-element/decorators/property.js:
809    (**
810     * @license
811     * Copyright 2017 Google LLC
812     * SPDX-License-Identifier: BSD-3-Clause
813     *)
814
815  @lit/reactive-element/decorators/state.js:
816    (**
817     * @license
818     * Copyright 2017 Google LLC
819     * SPDX-License-Identifier: BSD-3-Clause
820     *)
821
822  @lit/reactive-element/decorators/base.js:
823    (**
824     * @license
825     * Copyright 2017 Google LLC
826     * SPDX-License-Identifier: BSD-3-Clause
827     *)
828
829  @lit/reactive-element/decorators/event-options.js:
830    (**
831     * @license
832     * Copyright 2017 Google LLC
833     * SPDX-License-Identifier: BSD-3-Clause
834     *)
835
836  @lit/reactive-element/decorators/query.js:
837    (**
838     * @license
839     * Copyright 2017 Google LLC
840     * SPDX-License-Identifier: BSD-3-Clause
841     *)
842
843  @lit/reactive-element/decorators/query-all.js:
844    (**
845     * @license
846     * Copyright 2017 Google LLC
847     * SPDX-License-Identifier: BSD-3-Clause
848     *)
849
850  @lit/reactive-element/decorators/query-async.js:
851    (**
852     * @license
853     * Copyright 2017 Google LLC
854     * SPDX-License-Identifier: BSD-3-Clause
855     *)
856
857  @lit/reactive-element/decorators/query-assigned-elements.js:
858    (**
859     * @license
860     * Copyright 2021 Google LLC
861     * SPDX-License-Identifier: BSD-3-Clause
862     *)
863
864  @lit/reactive-element/decorators/query-assigned-nodes.js:
865    (**
866     * @license
867     * Copyright 2017 Google LLC
868     * SPDX-License-Identifier: BSD-3-Clause
869     *)
870  */
871
872  exports.DotLottiePlayer = Ft;
873  exports.PlayMode = Ur;
874
875}));
876//# sourceMappingURL=out.js.map
877//# sourceMappingURL=dotlottie-player.js.map

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