@lottiefiles/dotlottie-wc
Version:
Web component wrapper around the dotlottie-web library
6 lines • 477 kB
JavaScript
import {a}from'./chunk-SI7D3PZW.js';var g4=Object.defineProperty,y4=a((y,r,c)=>r in y?g4(y,r,{enumerable:true,configurable:true,writable:true,value:c}):y[r]=c,"g4"),L=a((y,r,c)=>y4(y,typeof r!="symbol"?r+"":r,c),"w"),a1,w4=(a1=class{requestAnimationFrame(r){return requestAnimationFrame(r)}cancelAnimationFrame(r){cancelAnimationFrame(r);}},a(a1,"i2"),a1),s1,C4=(s1=class{constructor(){L(this,"_lastHandleId",0),L(this,"_lastImmediate",null);}requestAnimationFrame(r){return this._lastHandleId>=Number.MAX_SAFE_INTEGER&&(this._lastHandleId=0),this._lastHandleId+=1,this._lastImmediate=setImmediate(()=>{r(Date.now());}),this._lastHandleId}cancelAnimationFrame(r){this._lastImmediate&&clearImmediate(this._lastImmediate);}},a(s1,"r2"),s1),o1,L4=(o1=class{constructor(){L(this,"_strategy"),this._strategy=typeof requestAnimationFrame=="function"?new w4:new C4;}requestAnimationFrame(r){return this._strategy.requestAnimationFrame(r)}cancelAnimationFrame(r){this._strategy.cancelAnimationFrame(r);}},a(o1,"R1"),o1),D=typeof window<"u"&&typeof window.document<"u",d2=new Uint8Array([80,75,3,4]),M4=["v","ip","op","layers","fr","w","h"],S3="0.46.0",E3="@lottiefiles/dotlottie-web",b4=.75,I4=(()=>{var y=typeof document<"u"?document.currentScript?.src:void 0;return function(r={}){var n1,r1;var c,h=r,M,T,N=new Promise((t,e)=>{M=t,T=e;}),z=Object.assign({},h),E1="./this.program",R="",_2;typeof document<"u"&&document.currentScript&&(R=document.currentScript.src),y&&(R=y),R.startsWith("blob:")?R="":R=R.substr(0,R.replace(/[?#].*/,"").lastIndexOf("/")+1),_2=a(async t=>{if(t=await fetch(t,{credentials:"same-origin"}),t.ok)return t.arrayBuffer();throw Error(t.status+" : "+t.url)},"f2");var k3=h.print||console.log.bind(console),t1=h.printErr||console.error.bind(console);Object.assign(h,z),z=null,h.thisProgram&&(E1=h.thisProgram);var P1=h.wasmBinary,F1,j1=false,N1,V,k,e1,v1,X,P,m2,p2;function g2(){var t=F1.buffer;h.HEAP8=V=new Int8Array(t),h.HEAP16=e1=new Int16Array(t),h.HEAPU8=k=new Uint8Array(t),h.HEAPU16=v1=new Uint16Array(t),h.HEAP32=X=new Int32Array(t),h.HEAPU32=P=new Uint32Array(t),h.HEAPF32=m2=new Float32Array(t),h.HEAPF64=p2=new Float64Array(t);}a(g2,"m2");var y2=[],w2=[],C2=[];function A3(){var t=h.preRun.shift();y2.unshift(t);}a(A3,"F3");var Y=0,_1=null;function k1(t){throw h.onAbort?.(t),t="Aborted("+t+")",t1(t),j1=true,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),T(t),t}a(k1,"b1");var L2=a(t=>t.startsWith("data:application/octet-stream;base64,"),"w2"),A1;async function D3(t){if(!P1)try{var e=await _2(t);return new Uint8Array(e)}catch{}if(t==A1&&P1)t=new Uint8Array(P1);else throw "both async and sync fetching of the wasm failed";return t}a(D3,"x3");async function T3(t,e){try{var i=await D3(t);return await WebAssembly.instantiate(i,e)}catch(n){t1(`failed to asynchronously prepare wasm: ${n}`),k1(n);}}a(T3,"R3");async function $3(t){var e=A1;if(!P1&&typeof WebAssembly.instantiateStreaming=="function"&&!L2(e)&&typeof fetch=="function")try{var i=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(i,t)}catch(n){t1(`wasm streaming compile failed: ${n}`),t1("falling back to ArrayBuffer instantiation");}return T3(e,t)}a($3,"k3");let M2=(n1=class{constructor(e){L(this,"name","ExitStatus"),this.message=`Program terminated with exit(${e})`,this.status=e;}},a(n1,"b2"),n1);var V1=a(t=>{for(;0<t.length;)t.shift()(h);},"z1"),q1=h.noExitRuntime||true,b2=typeof TextDecoder<"u"?new TextDecoder:void 0,m1=a((t,e=0,i=NaN)=>{var n=e+i;for(i=e;t[i]&&!(i>=n);)++i;if(16<i-e&&t.buffer&&b2)return b2.decode(t.subarray(e,i));for(n="";e<i;){var a=t[e++];if(a&128){var s=t[e++]&63;if((a&224)==192)n+=String.fromCharCode((a&31)<<6|s);else {var l=t[e++]&63;a=(a&240)==224?(a&15)<<12|s<<6|l:(a&7)<<18|s<<12|l<<6|t[e++]&63,65536>a?n+=String.fromCharCode(a):(a-=65536,n+=String.fromCharCode(55296|a>>10,56320|a&1023));}}else n+=String.fromCharCode(a);}return n},"a1"),I2=[],S2=0,K=0;let J1=(r1=class{constructor(e){this.Ec=e,this.dc=e-24;}},a(r1,"$1"),r1);var E2=a(t=>{var e=K;if(!e)return b1(0),0;var i=new J1(e);P[i.dc+16>>2]=e;var n=P[i.dc+4>>2];if(!n)return b1(0),e;for(var a of t){if(a===0||a===n)break;if(X2(a,n,i.dc+16))return b1(a),e}return b1(n),e},"E2"),p1=a((t,e,i)=>{var n=k;if(0<i){i=e+i-1;for(var a=0;a<t.length;++a){var s=t.charCodeAt(a);if(55296<=s&&57343>=s){var l=t.charCodeAt(++a);s=65536+((s&1023)<<10)|l&1023;}if(127>=s){if(e>=i)break;n[e++]=s;}else {if(2047>=s){if(e+1>=i)break;n[e++]=192|s>>6;}else {if(65535>=s){if(e+2>=i)break;n[e++]=224|s>>12;}else {if(e+3>=i)break;n[e++]=240|s>>18,n[e++]=128|s>>12&63;}n[e++]=128|s>>6&63;}n[e++]=128|s&63;}}n[e]=0;}},"s1"),D1={},G1=a(t=>{for(;t.length;){var e=t.pop();t.pop()(e);}},"U1");function g1(t){return this.fromWireType(P[t>>2])}a(g1,"c1");var i1={},Q={},T1={},y1,G=a((t,e,i)=>{function n(d){if(d=i(d),d.length!==t.length)throw new y1("Mismatched type converter count");for(var u=0;u<t.length;++u)U(t[u],d[u]);}a(n,"i"),t.forEach(d=>T1[d]=e);var a$1=Array(e.length),s=[],l=0;e.forEach((d,u)=>{Q.hasOwnProperty(d)?a$1[u]=Q[d]:(s.push(d),i1.hasOwnProperty(d)||(i1[d]=[]),i1[d].push(()=>{a$1[u]=Q[d],++l,l===s.length&&n(a$1);}));}),s.length===0&&n(a$1);},"G"),P2,A=a(t=>{for(var e="";k[t];)e+=P2[k[t++]];return e},"R"),I;function x3(t,e,i={}){var n=e.name;if(!t)throw new I(`type "${n}" must have a positive integer typeid pointer`);if(Q.hasOwnProperty(t)){if(i.Lc)return;throw new I(`Cannot register type '${n}' twice`)}Q[t]=e,delete T1[t],i1.hasOwnProperty(t)&&(e=i1[t],delete i1[t],e.forEach(a=>a()));}a(x3,"A3");function U(t,e,i={}){return x3(t,e,i)}a(U,"U");var X1=a(t=>{throw new I(t.cc.fc.ec.name+" instance already deleted")},"H1"),Y1=false,F2=a(()=>{},"I2"),j2=a((t,e,i)=>e===i?t:i.jc===void 0?null:(t=j2(t,e,i.jc),t===null?null:i.Dc(t)),"S2"),k2={},R3={},O3=a((t,e)=>{if(e===void 0)throw new I("ptr should not be undefined");for(;t.jc;)e=t.tc(e),t=t.jc;return R3[e]},"D3"),$1=a((t,e)=>{if(!e.fc||!e.dc)throw new y1("makeClassHandle requires ptr and ptrType");if(!!e.kc!=!!e.ic)throw new y1("Both smartPtrType and smartPtr must be specified");return e.count={value:1},w1(Object.create(t,{cc:{value:e,writable:true}}))},"M1"),w1=a(t=>typeof FinalizationRegistry>"u"?(w1=a(e=>e,"u1"),t):(Y1=new FinalizationRegistry(e=>{e=e.cc,--e.count.value,e.count.value===0&&(e.ic?e.kc.nc(e.ic):e.fc.ec.nc(e.dc));}),w1=a(e=>{var i=e.cc;return i.ic&&Y1.register(e,{cc:i},e),e},"u1"),F2=a(e=>{Y1.unregister(e);},"I2"),w1(t)),"u1");function x1(){}a(x1,"E1");var C1=a((t,e)=>Object.defineProperty(e,"name",{value:t}),"h1"),A2=a((t,e,i)=>{if(t[e].hc===void 0){var n=t[e];t[e]=function(...a){if(!t[e].hc.hasOwnProperty(a.length))throw new I(`Function '${i}' called with an invalid number of arguments (${a.length}) - expects one of (${t[e].hc})!`);return t[e].hc[a.length].apply(this,a)},t[e].hc=[],t[e].hc[n.qc]=n;}},"F2"),K1=a((t,e,i)=>{if(h.hasOwnProperty(t)){if(i===void 0||h[t].hc!==void 0&&h[t].hc[i]!==void 0)throw new I(`Cannot register public name '${t}' twice`);if(A2(h,t,t),h[t].hc.hasOwnProperty(i))throw new I(`Cannot register multiple overloads of a function with the same number of arguments (${i})!`);h[t].hc[i]=e;}else h[t]=e,h[t].qc=i;},"N1"),W3=a(t=>{t=t.replace(/[^a-zA-Z0-9_]/g,"$");var e=t.charCodeAt(0);return 48<=e&&57>=e?`_${t}`:t},"z3");function z3(t,e,i,n,a,s,l,d){this.name=t,this.constructor=e,this.pc=i,this.nc=n,this.jc=a,this.Gc=s,this.tc=l,this.Dc=d,this.Nc=[];}a(z3,"W3");var Q1=a((t,e,i)=>{for(;e!==i;){if(!e.tc)throw new I(`Expected null or instance of ${i.name}, got an instance of ${e.name}`);t=e.tc(t),e=e.jc;}return t},"V1");function U3(t,e){if(e===null){if(this.wc)throw new I(`null is not a valid ${this.name}`);return 0}if(!e.cc)throw new I(`Cannot pass "${n2(e)}" as a ${this.name}`);if(!e.cc.dc)throw new I(`Cannot pass deleted object as a pointer of type ${this.name}`);return Q1(e.cc.dc,e.cc.fc.ec,this.ec)}a(U3,"$3");function B3(t,e){if(e===null){if(this.wc)throw new I(`null is not a valid ${this.name}`);if(this.vc){var i=this.xc();return t!==null&&t.push(this.nc,i),i}return 0}if(!e||!e.cc)throw new I(`Cannot pass "${n2(e)}" as a ${this.name}`);if(!e.cc.dc)throw new I(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.uc&&e.cc.fc.uc)throw new I(`Cannot convert argument of type ${e.cc.kc?e.cc.kc.name:e.cc.fc.name} to parameter type ${this.name}`);if(i=Q1(e.cc.dc,e.cc.fc.ec,this.ec),this.vc){if(e.cc.ic===void 0)throw new I("Passing raw pointer to smart pointer is illegal");switch(this.Sc){case 0:if(e.cc.kc===this)i=e.cc.ic;else throw new I(`Cannot convert argument of type ${e.cc.kc?e.cc.kc.name:e.cc.fc.name} to parameter type ${this.name}`);break;case 1:i=e.cc.ic;break;case 2:if(e.cc.kc===this)i=e.cc.ic;else {var n=e.clone();i=this.Oc(i,W1(()=>n.delete())),t!==null&&t.push(this.nc,i);}break;default:throw new I("Unsupporting sharing policy")}}return i}a(B3,"U3");function H3(t,e){if(e===null){if(this.wc)throw new I(`null is not a valid ${this.name}`);return 0}if(!e.cc)throw new I(`Cannot pass "${n2(e)}" as a ${this.name}`);if(!e.cc.dc)throw new I(`Cannot pass deleted object as a pointer of type ${this.name}`);if(e.cc.fc.uc)throw new I(`Cannot convert argument of type ${e.cc.fc.name} to parameter type ${this.name}`);return Q1(e.cc.dc,e.cc.fc.ec,this.ec)}a(H3,"H3");function L1(t,e,i,n,a,s,l,d,u,f,v){this.name=t,this.ec=e,this.wc=i,this.uc=n,this.vc=a,this.Mc=s,this.Sc=l,this.Bc=d,this.xc=u,this.Oc=f,this.nc=v,a||e.jc!==void 0?this.toWireType=B3:(this.toWireType=n?U3:H3,this.mc=null);}a(L1,"l1");var D2=a((t,e,i)=>{if(!h.hasOwnProperty(t))throw new y1("Replacing nonexistent public symbol");h[t].hc!==void 0&&i!==void 0?h[t].hc[i]=e:(h[t]=e,h[t].qc=i);},"x2"),C,N3=a((t,e,i=[])=>(t.includes("j")?(t=t.replace(/p/g,"i"),e=(0, h["dynCall_"+t])(e,...i)):e=C.get(e)(...i),e),"B3"),V3=a((t,e)=>(...i)=>N3(t,e,i),"N3"),$=a((t,e)=>{t=A(t);var i=t.includes("j")?V3(t,e):C.get(e);if(typeof i!="function")throw new I(`unknown function pointer with signature ${t}: ${e}`);return i},"A"),T2,$2=a(t=>{t=V2(t);var e=A(t);return J(t),e},"k2"),R1=a((t,e)=>{function i(s){a$1[s]||Q[s]||(T1[s]?T1[s].forEach(i):(n.push(s),a$1[s]=true));}a(i,"n");var n=[],a$1={};throw e.forEach(i),new T2(`${t}: `+n.map($2).join([", "]))},"P1"),Z1=a((t,e)=>{for(var i=[],n=0;n<t;n++)i.push(P[e+4*n>>2]);return i},"q1");function q3(t){for(var e=1;e<t.length;++e)if(t[e]!==null&&t[e].mc===void 0)return true;return false}a(q3,"V3");function t2(t,e,i,n,a){var s=e.length;if(2>s)throw new I("argTypes array size mismatch! Must at least get return value and 'this' types!");var l=e[1]!==null&&i!==null,d=q3(e),u=e[0].name!=="void",f=s-2,v=Array(f),g=[],b=[];return C1(t,function(...F){if(b.length=0,g.length=l?2:1,g[0]=a,l){var S=e[1].toWireType(b,this);g[1]=S;}for(var j=0;j<f;++j)v[j]=e[j+2].toWireType(b,F[j]),g.push(v[j]);if(F=n(...g),d)G1(b);else for(j=l?1:2;j<e.length;j++){var x=j===1?S:v[j-2];e[j].mc!==null&&e[j].mc(x);}return S=u?e[0].fromWireType(F):void 0,S})}a(t2,"J1");var x2=a(t=>{t=t.trim();let e=t.indexOf("(");return e!==-1?t.substr(0,e):t},"A2"),e2=[],q=[],i2=a(t=>{9<t&&--q[t+1]===0&&(q[t]=void 0,e2.push(t));},"K1"),O1=a(t=>{if(!t)throw new I("Cannot use deleted val. handle = "+t);return q[t]},"I1"),W1=a(t=>{switch(t){case void 0:return 2;case null:return 4;case true:return 6;case false:return 8;default:let e=e2.pop()||q.length;return q[e]=t,q[e+1]=1,e}},"S1"),R2={name:"emscripten::val",fromWireType:a(t=>{var e=O1(t);return i2(t),e},"fromWireType"),toWireType:a((t,e)=>W1(e),"toWireType"),lc:8,readValueFromPointer:g1,mc:null},J3=a((t,e,i)=>{switch(e){case 1:return i?function(n){return this.fromWireType(V[n])}:function(n){return this.fromWireType(k[n])};case 2:return i?function(n){return this.fromWireType(e1[n>>1])}:function(n){return this.fromWireType(v1[n>>1])};case 4:return i?function(n){return this.fromWireType(X[n>>2])}:function(n){return this.fromWireType(P[n>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},"q3"),z1=a((t,e)=>{var i=Q[t];if(i===void 0)throw t=`${e} has unknown type ${$2(t)}`,new I(t);return i},"T1"),n2=a(t=>{if(t===null)return "null";var e=typeof t;return e==="object"||e==="array"||e==="function"?t.toString():""+t},"Y1"),G3=a((t,e)=>{switch(e){case 4:return function(i){return this.fromWireType(m2[i>>2])};case 8:return function(i){return this.fromWireType(p2[i>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},"J3"),X3=a((t,e,i)=>{switch(e){case 1:return i?n=>V[n]:n=>k[n];case 2:return i?n=>e1[n>>1]:n=>v1[n>>1];case 4:return i?n=>X[n>>2]:n=>P[n>>2];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},"G3"),Y3=Object.assign({optional:true},R2),O2=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,K3=a((t,e)=>{for(var i=t>>1,n=i+e/2;!(i>=n)&&v1[i];)++i;if(i<<=1,32<i-t&&O2)return O2.decode(k.subarray(t,i));for(i="",n=0;!(n>=e/2);++n){var a=e1[t+2*n>>1];if(a==0)break;i+=String.fromCharCode(a);}return i},"Y3"),Q3=a((t,e,i)=>{if(i??(i=2147483647),2>i)return 0;i-=2;var n=e;i=i<2*t.length?i/2:t.length;for(var a=0;a<i;++a)e1[e>>1]=t.charCodeAt(a),e+=2;return e1[e>>1]=0,e-n},"X3"),Z3=a(t=>2*t.length,"Z3"),t0=a((t,e)=>{for(var i=0,n="";!(i>=e/4);){var a=X[t+4*i>>2];if(a==0)break;++i,65536<=a?(a-=65536,n+=String.fromCharCode(55296|a>>10,56320|a&1023)):n+=String.fromCharCode(a);}return n},"Q3"),e0=a((t,e,i)=>{if(i??(i=2147483647),4>i)return 0;var n=e;i=n+i-4;for(var a=0;a<t.length;++a){var s=t.charCodeAt(a);if(55296<=s&&57343>=s){var l=t.charCodeAt(++a);s=65536+((s&1023)<<10)|l&1023;}if(X[e>>2]=s,e+=4,e+4>i)break}return X[e>>2]=0,e-n},"e0"),i0=a(t=>{for(var e=0,i=0;i<t.length;++i){var n=t.charCodeAt(i);55296<=n&&57343>=n&&++i,e+=4;}return e},"t0"),r2=0,W2=a((t,e,i)=>{var n=[];return t=t.toWireType(n,i),n.length&&(P[e>>2]=W1(n)),t},"O2"),a2=[],n0=a(t=>{var e=a2.length;return a2.push(t),e},"n0"),r0=a((t,e)=>{for(var i=Array(t),n=0;n<t;++n)i[n]=z1(P[e+4*n>>2],"parameter "+n);return i},"i0"),a0=Reflect.construct,M1={},z2=a(t=>{if(!(t instanceof M2||t=="unwind"))throw t},"z2"),U2=a(t=>{throw N1=t,q1||0<r2||(h.onExit?.(t),j1=true),new M2(t)},"W2"),s0=a(t=>{if(!j1)try{if(t(),!(q1||0<r2))try{N1=t=N1,U2(t);}catch(e){z2(e);}}catch(e){z2(e);}},"o0"),s2={},B2=a(()=>{if(!o2){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:E1||"./this.program"},e;for(e in s2)s2[e]===void 0?delete t[e]:t[e]=s2[e];var i=[];for(e in t)i.push(`${e}=${t[e]}`);o2=i;}return o2},"$2"),o2,o0=[null,[],[]],c0=a(()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return t=>crypto.getRandomValues(t);k1("initRandomDevice");},"s0"),H2=a(t=>(H2=c0())(t),"U2");y1=h.InternalError=class extends Error{constructor(t){super(t),this.name="InternalError";}};for(var N2=Array(256),U1=0;256>U1;++U1)N2[U1]=String.fromCharCode(U1);P2=N2,I=h.BindingError=class extends Error{constructor(t){super(t),this.name="BindingError";}},Object.assign(x1.prototype,{isAliasOf:a(function(t){if(!(this instanceof x1&&t instanceof x1))return false;var e=this.cc.fc.ec,i=this.cc.dc;t.cc=t.cc;var n=t.cc.fc.ec;for(t=t.cc.dc;e.jc;)i=e.tc(i),e=e.jc;for(;n.jc;)t=n.tc(t),n=n.jc;return e===n&&i===t},"isAliasOf"),clone:a(function(){if(this.cc.dc||X1(this),this.cc.sc)return this.cc.count.value+=1,this;var t=w1,e=Object,i=e.create,n=Object.getPrototypeOf(this),a=this.cc;return t=t(i.call(e,n,{cc:{value:{count:a.count,rc:a.rc,sc:a.sc,dc:a.dc,fc:a.fc,ic:a.ic,kc:a.kc}}})),t.cc.count.value+=1,t.cc.rc=false,t},"clone"),delete(){if(this.cc.dc||X1(this),this.cc.rc&&!this.cc.sc)throw new I("Object already scheduled for deletion");F2(this);var t=this.cc;--t.count.value,t.count.value===0&&(t.ic?t.kc.nc(t.ic):t.fc.ec.nc(t.dc)),this.cc.sc||(this.cc.ic=void 0,this.cc.dc=void 0);},isDeleted:a(function(){return !this.cc.dc},"isDeleted"),deleteLater:a(function(){if(this.cc.dc||X1(this),this.cc.rc&&!this.cc.sc)throw new I("Object already scheduled for deletion");return this.cc.rc=true,this},"deleteLater")}),Object.assign(L1.prototype,{Hc(t){return this.Bc&&(t=this.Bc(t)),t},zc(t){this.nc?.(t);},lc:8,readValueFromPointer:g1,fromWireType:a(function(t){function e(){return this.vc?$1(this.ec.pc,{fc:this.Mc,dc:i,kc:this,ic:t}):$1(this.ec.pc,{fc:this,dc:t})}a(e,"t");var i=this.Hc(t);if(!i)return this.zc(t),null;var n=O3(this.ec,i);if(n!==void 0)return n.cc.count.value===0?(n.cc.dc=i,n.cc.ic=t,n.clone()):(n=n.clone(),this.zc(t),n);if(n=this.ec.Gc(i),n=k2[n],!n)return e.call(this);n=this.uc?n.Cc:n.pointerType;var a$1=j2(i,this.ec,n.ec);return a$1===null?e.call(this):this.vc?$1(n.ec.pc,{fc:n,dc:a$1,kc:this,ic:t}):$1(n.ec.pc,{fc:n,dc:a$1})},"fromWireType")}),T2=h.UnboundTypeError=((t,e)=>{var i=C1(e,function(n){this.name=e,this.message=n,n=Error(n).stack,n!==void 0&&(this.stack=this.toString()+`
`+n.replace(/^Error(:[^\n]*)?\n/,""));});return i.prototype=Object.create(t.prototype),i.prototype.constructor=i,i.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},i})(Error,"UnboundTypeError"),q.push(0,1,void 0,1,null,1,true,1,false,1),h.count_emval_handles=()=>q.length/2-5-e2.length;var h0={l:a((t,e,i,n)=>k1(`Assertion failed: ${t?m1(k,t):""}, at: `+[e?e?m1(k,e):"":"unknown filename",i,n?n?m1(k,n):"":"unknown function"]),"l"),Ca:a(t=>{var e=new J1(t);return V[e.dc+12]==0&&(V[e.dc+12]=1,S2--),V[e.dc+13]=0,I2.push(e),G2(t),Y2(t)},"Ca"),Ba:a(()=>{_(0,0);var t=I2.pop();J2(t.Ec),K=0;},"Ba"),b:a(()=>E2([]),"b"),o:a((t,e)=>E2([t,e]),"o"),u:a((t,e,i)=>{var n=new J1(t);throw P[n.dc+16>>2]=0,P[n.dc+4>>2]=e,P[n.dc+8>>2]=i,K=t,S2++,K},"u"),d:a(t=>{throw K||(K=t),K},"d"),ra:a(()=>{},"ra"),oa:a(()=>{},"oa"),pa:a(()=>{},"pa"),ta:a(function(){},"ta"),qa:a(()=>{},"qa"),va:a(()=>k1(""),"va"),J:a(t=>{var e=D1[t];delete D1[t];var i=e.xc,n=e.nc,a$1=e.Ac,s=a$1.map(l=>l.Kc).concat(a$1.map(l=>l.Qc));G([t],s,l=>{var d={};return a$1.forEach((u,f)=>{var v=l[f],g=u.Ic,b=u.Jc,F=l[f+a$1.length],S=u.Pc,j=u.Rc;d[u.Fc]={read:a(x=>v.fromWireType(g(b,x)),"read"),write:a((x,I1)=>{var O=[];S(j,x,F.toWireType(O,I1)),G1(O);},"write")};}),[{name:e.name,fromWireType:a(u=>{var f={},v;for(v in d)f[v]=d[v].read(u);return n(u),f},"fromWireType"),toWireType:a((u,f)=>{for(var v in d)if(!(v in f))throw new TypeError(`Missing field: "${v}"`);var g=i();for(v in d)d[v].write(g,f[v]);return u!==null&&u.push(n,g),g},"toWireType"),lc:8,readValueFromPointer:g1,mc:n}]});},"J"),ga:a(()=>{},"ga"),Na:a((t,e,i,n)=>{e=A(e),U(t,{name:e,fromWireType:a(function(a){return !!a},"fromWireType"),toWireType:a(function(a,s){return s?i:n},"toWireType"),lc:8,readValueFromPointer:a(function(a){return this.fromWireType(k[a])},"readValueFromPointer"),mc:null});},"Na"),H:a((t,e,i,n,a,s,l,d,u,f,v,g,b)=>{v=A(v),s=$(a,s),d&&(d=$(l,d)),f&&(f=$(u,f)),b=$(g,b);var F=W3(v);K1(F,function(){R1(`Cannot construct ${v} due to unbound types`,[n]);}),G([t,e,i],n?[n]:[],S=>{if(S=S[0],n)var j=S.ec,x=j.pc;else x=x1.prototype;S=C1(v,function(...h2){if(Object.getPrototypeOf(this)!==I1)throw new I("Use 'new' to construct "+v);if(O.oc===void 0)throw new I(v+" has no accessible constructor");var w3=O.oc[h2.length];if(w3===void 0)throw new I(`Tried to invoke ctor of ${v} with invalid number of parameters (${h2.length}) - expected (${Object.keys(O.oc).toString()}) parameters instead!`);return w3.apply(this,h2)});var I1=Object.create(x,{constructor:{value:S}});S.prototype=I1;var O=new z3(v,S,I1,b,j,s,d,f);if(O.jc){var S1;(S1=O.jc).yc??(S1.yc=[]),O.jc.yc.push(O);}return j=new L1(v,O,true,false,false),S1=new L1(v+"*",O,false,false,false),x=new L1(v+" const*",O,false,true,false),k2[t]={pointerType:S1,Cc:x},D2(F,S),[j,S1,x]});},"H"),G:a((t,e,i,n,a,s)=>{var l=Z1(e,i);a=$(n,a),G([],[t],d=>{d=d[0];var u=`constructor ${d.name}`;if(d.ec.oc===void 0&&(d.ec.oc=[]),d.ec.oc[e-1]!==void 0)throw new I(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${d.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return d.ec.oc[e-1]=()=>{R1(`Cannot construct ${d.name} due to unbound types`,l);},G([],l,f=>(f.splice(1,0,null),d.ec.oc[e-1]=t2(u,f,null,a,s),[])),[]});},"G"),m:a((t,e,i,n,a$1,s,l,d)=>{var u=Z1(i,n);e=A(e),e=x2(e),s=$(a$1,s),G([],[t],f=>{function v(){R1(`Cannot call ${g} due to unbound types`,u);}a(v,"f"),f=f[0];var g=`${f.name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]),d&&f.ec.Nc.push(e);var b=f.ec.pc,F=b[e];return F===void 0||F.hc===void 0&&F.className!==f.name&&F.qc===i-2?(v.qc=i-2,v.className=f.name,b[e]=v):(A2(b,e,g),b[e].hc[i-2]=v),G([],u,S=>(S=t2(g,S,f,s,l),b[e].hc===void 0?(S.qc=i-2,b[e]=S):b[e].hc[i-2]=S,[])),[]});},"m"),La:a(t=>U(t,R2),"La"),L:a((t,e,i,n)=>{function a$1(){}a(a$1,"o"),e=A(e),a$1.values={},U(t,{name:e,constructor:a$1,fromWireType:a(function(s){return this.constructor.values[s]},"fromWireType"),toWireType:a((s,l)=>l.value,"toWireType"),lc:8,readValueFromPointer:J3(e,i,n),mc:null}),K1(e,a$1);},"L"),v:a((t,e,i)=>{var n=z1(t,"enum");e=A(e),t=n.constructor,n=Object.create(n.constructor.prototype,{value:{value:i},constructor:{value:C1(`${n.name}_${e}`,function(){})}}),t.values[i]=n,t[e]=n;},"v"),_:a((t,e,i)=>{e=A(e),U(t,{name:e,fromWireType:a(n=>n,"fromWireType"),toWireType:a((n,a)=>a,"toWireType"),lc:8,readValueFromPointer:G3(e,i),mc:null});},"_"),I:a((t,e,i,n,a,s)=>{var l=Z1(e,i);t=A(t),t=x2(t),a=$(n,a),K1(t,function(){R1(`Cannot call ${t} due to unbound types`,l);},e-1),G([],l,d=>(D2(t,t2(t,[d[0],null].concat(d.slice(1)),null,a,s),e-1),[]));},"I"),z:a((t,e,i,n,a$1)=>{if(e=A(e),a$1===-1&&(a$1=4294967295),a$1=a(d=>d,"o"),n===0){var s=32-8*i;a$1=a(d=>d<<s>>>s,"o");}var l=e.includes("unsigned")?function(d,u){return u>>>0}:function(d,u){return u};U(t,{name:e,fromWireType:a$1,toWireType:l,lc:8,readValueFromPointer:X3(e,i,n!==0),mc:null});},"z"),s:a((t,e,i)=>{function n(s){return new a$1(V.buffer,P[s+4>>2],P[s>>2])}a(n,"i");var a$1=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];i=A(i),U(t,{name:i,fromWireType:n,lc:8,readValueFromPointer:n},{Lc:true});},"s"),K:a(t=>{U(t,Y3);},"K"),Ta:a((t,e,i,n,a,s,l,d,u,f,v,g)=>{i=A(i),s=$(a,s),d=$(l,d),f=$(u,f),g=$(v,g),G([t],[e],b=>(b=b[0],[new L1(i,b.ec,false,false,true,b,n,s,d,f,g)]));},"Ta"),Ma:a((t,e)=>{e=A(e),U(t,{name:e,fromWireType:a(function(i){for(var n=P[i>>2],a=i+4,s,l=a,d=0;d<=n;++d){var u=a+d;(d==n||k[u]==0)&&(l=l?m1(k,l,u-l):"",s===void 0?s=l:(s+="\0",s+=l),l=u+1);}return J(i),s},"fromWireType"),toWireType:a(function(i,n){n instanceof ArrayBuffer&&(n=new Uint8Array(n));var a,s=typeof n=="string";if(!(s||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int8Array))throw new I("Cannot pass non-string to std::string");if(s)for(var l=a=0;l<n.length;++l){var d=n.charCodeAt(l);127>=d?a++:2047>=d?a+=2:55296<=d&&57343>=d?(a+=4,++l):a+=3;}else a=n.length;if(l=c2(4+a+1),d=l+4,P[l>>2]=a,s)p1(n,d,a+1);else if(s)for(s=0;s<a;++s){var u=n.charCodeAt(s);if(255<u)throw J(d),new I("String has UTF-16 code units that do not fit in 8 bits");k[d+s]=u;}else for(s=0;s<a;++s)k[d+s]=n[s];return i!==null&&i.push(J,l),l},"toWireType"),lc:8,readValueFromPointer:g1,mc(i){J(i);}});},"Ma"),Q:a((t,e,i)=>{if(i=A(i),e===2)var n=K3,a$1=Q3,s=Z3,l=a(d=>v1[d>>1],"u");else e===4&&(n=t0,a$1=e0,s=i0,l=a(d=>P[d>>2],"u"));U(t,{name:i,fromWireType:a(d=>{for(var u=P[d>>2],f,v=d+4,g=0;g<=u;++g){var b=d+4+g*e;(g==u||l(b)==0)&&(v=n(v,b-v),f===void 0?f=v:(f+="\0",f+=v),v=b+e);}return J(d),f},"fromWireType"),toWireType:a((d,u)=>{if(typeof u!="string")throw new I(`Cannot pass non-string to C++ string type ${i}`);var f=s(u),v=c2(4+f+e);return P[v>>2]=f/e,a$1(u,v+4,f+e),d!==null&&d.push(J,v),v},"toWireType"),lc:8,readValueFromPointer:g1,mc(d){J(d);}});},"Q"),E:a((t,e,i,n,a,s)=>{D1[t]={name:A(e),xc:$(i,n),nc:$(a,s),Ac:[]};},"E"),x:a((t,e,i,n,a,s,l,d,u,f)=>{D1[t].Ac.push({Fc:A(e),Kc:i,Ic:$(n,a),Jc:s,Qc:l,Pc:$(d,u),Rc:f});},"x"),Oa:a((t,e)=>{e=A(e),U(t,{Tc:true,name:e,lc:0,fromWireType:a(()=>{},"fromWireType"),toWireType:a(()=>{},"toWireType")});},"Oa"),Da:a(function(){return Date.now()},"Da"),ma:a(()=>{q1=false,r2=0;},"ma"),ha:a(()=>{throw 1/0},"ha"),$:a((t,e,i)=>(t=O1(t),e=z1(e,"emval::as"),W2(e,i,t)),"$"),Ra:a((t,e,i,n)=>(t=a2[t],e=O1(e),t(null,e,i,n)),"Ra"),Ga:i2,Qa:a((t,e,i)=>{var n=r0(t,e),a=n.shift();t--;var s=Array(t);return e=`methodCaller<(${n.map(l=>l.name).join(", ")}) => ${a.name}>`,n0(C1(e,(l,d,u,f)=>{for(var v=0,g=0;g<t;++g)s[g]=n[g].readValueFromPointer(f+v),v+=n[g].lc;return l=i===1?a0(d,s):d.apply(l,s),W2(a,u,l)}))},"Qa"),Sa:a(t=>{9<t&&(q[t+1]+=1);},"Sa"),Pa:a(t=>{var e=O1(t);G1(e),i2(t);},"Pa"),D:a((t,e)=>(t=z1(t,"_emval_take_value"),t=t.readValueFromPointer(e),W1(t)),"D"),ja:a((t,e)=>{if(M1[t]&&(clearTimeout(M1[t].id),delete M1[t]),!e)return 0;var i=setTimeout(()=>{delete M1[t],s0(()=>q2(t,performance.now()));},e);return M1[t]={id:i,Uc:e},0},"ja"),ka:a((t,e,i,n)=>{var a$1=new Date().getFullYear(),s=new Date(a$1,0,1).getTimezoneOffset();a$1=new Date(a$1,6,1).getTimezoneOffset(),P[t>>2]=60*Math.max(s,a$1),X[e>>2]=+(s!=a$1),e=a(l=>{var d=Math.abs(l);return `UTC${0<=l?"-":"+"}${String(Math.floor(d/60)).padStart(2,"0")}${String(d%60).padStart(2,"0")}`},"t"),t=e(s),e=e(a$1),a$1<s?(p1(t,i,17),p1(e,n,17)):(p1(t,n,17),p1(e,i,17));},"ka"),la:a(t=>{var e=k.length;if(t>>>=0,2147483648<t)return false;for(var i=1;4>=i;i*=2){var n=e*(1+.2/i);n=Math.min(n,t+100663296);t:{n=(Math.min(2147483648,65536*Math.ceil(Math.max(t,n)/65536))-F1.buffer.byteLength+65535)/65536|0;try{F1.grow(n),g2();var a=1;break t}catch{}a=void 0;}if(a)return true}return false},"la"),xa:a((t,e)=>{var i=0;return B2().forEach((n,a)=>{var s=e+i;for(a=P[t+4*a>>2]=s,s=0;s<n.length;++s)V[a++]=n.charCodeAt(s);V[a]=0,i+=n.length+1;}),0},"xa"),ya:a((t,e)=>{var i=B2();P[t>>2]=i.length;var n=0;return i.forEach(a=>n+=a.length+1),P[e>>2]=n,0},"ya"),ua:a(()=>52,"ua"),sa:a(()=>52,"sa"),R:a((t,e,i,n)=>{for(var a=0,s=0;s<i;s++){var l=P[e>>2],d=P[e+4>>2];e+=8;for(var u=0;u<d;u++){var f=t,v=k[l+u],g=o0[f];v===0||v===10?((f===1?k3:t1)(m1(g)),g.length=0):g.push(v);}a+=d;}return P[n>>2]=a,0},"R"),za:G0,Aa:J0,ia:X0,Ha:R0,n:w0,Z:m0,Ia:F0,g:v0,w:g0,P:y0,C:j0,F:S0,f:_0,Y:P0,h:L0,Ka:b0,k:I0,O:k0,q:M0,N:x0,T:V0,U:N0,Wa:_4,ab:h4,ba:t4,ea:K0,fa:Y0,hb:i4,cb:o4,S:q0,a:l0,A:T0,B:C0,V:U0,c:d0,Ja:E0,Ea:B0,Fa:O0,e:u0,W:W0,M:H0,j:f0,y:z0,i:p0,p:A0,t:D0,X:$0,Ya:f4,Xa:v4,$a:d4,_a:l4,Za:u4,bb:c4,ca:Z0,aa:e4,Va:m4,eb:a4,gb:n4,fb:r4,da:Q0,Ua:p4,db:s4,r:a(t=>t,"r"),wa:U2,na:a((t,e)=>(H2(k.subarray(t,t+e)),0),"na")},w;(async function(){function t(n){return w=n.exports,F1=w.ib,g2(),C=w.nb,w2.unshift(w.jb),Y--,h.monitorRunDependencies?.(Y),Y==0&&_1&&(n=_1,_1=null,n()),w}a(t,"e"),Y++,h.monitorRunDependencies?.(Y);var e={a:h0};if(h.instantiateWasm)try{return h.instantiateWasm(e,t)}catch(n){t1(`Module.instantiateWasm callback failed with error: ${n}`),T(n);}A1??(A1=L2("DotLottiePlayer.wasm")?"DotLottiePlayer.wasm":h.locateFile?h.locateFile("DotLottiePlayer.wasm",R):R+"DotLottiePlayer.wasm");try{var i=await $3(e);return t(i.instance),i}catch(n){T(n);}})();var c2=a(t=>(c2=w.kb)(t),"t2"),V2=a(t=>(V2=w.lb)(t),"B2"),J=a(t=>(J=w.mb)(t),"q"),q2=a((t,e)=>(q2=w.ob)(t,e),"N2"),_=a((t,e)=>(_=w.pb)(t,e),"v"),b1=a(t=>(b1=w.qb)(t),"v1"),m=a(t=>(m=w.rb)(t),"p"),p=a(()=>(p=w.sb)(),"m"),J2=a(t=>(J2=w.tb)(t),"V2"),G2=a(t=>(G2=w.ub)(t),"q2"),X2=a((t,e,i)=>(X2=w.vb)(t,e,i),"J2"),Y2=a(t=>(Y2=w.wb)(t),"G2"),K2=h.dynCall_ji=(t,e)=>(K2=h.dynCall_ji=w.xb)(t,e),Q2=h.dynCall_viji=(t,e,i,n,a)=>(Q2=h.dynCall_viji=w.yb)(t,e,i,n,a),Z2=h.dynCall_jii=(t,e,i)=>(Z2=h.dynCall_jii=w.zb)(t,e,i);h.dynCall_iijj=(t,e,i,n,a,s)=>(h.dynCall_iijj=w.Ab)(t,e,i,n,a,s),h.dynCall_vijj=(t,e,i,n,a,s)=>(h.dynCall_vijj=w.Bb)(t,e,i,n,a,s);var t3=h.dynCall_vjiii=(t,e,i,n,a,s)=>(t3=h.dynCall_vjiii=w.Cb)(t,e,i,n,a,s),e3=h.dynCall_vij=(t,e,i,n)=>(e3=h.dynCall_vij=w.Db)(t,e,i,n),i3=h.dynCall_viijii=(t,e,i,n,a,s,l)=>(i3=h.dynCall_viijii=w.Eb)(t,e,i,n,a,s,l),n3=h.dynCall_jjji=(t,e,i,n,a,s)=>(n3=h.dynCall_jjji=w.Fb)(t,e,i,n,a,s),r3=h.dynCall_viijj=(t,e,i,n,a,s,l)=>(r3=h.dynCall_viijj=w.Gb)(t,e,i,n,a,s,l),a3=h.dynCall_viijji=(t,e,i,n,a,s,l,d)=>(a3=h.dynCall_viijji=w.Hb)(t,e,i,n,a,s,l,d),s3=h.dynCall_viij=(t,e,i,n,a)=>(s3=h.dynCall_viij=w.Ib)(t,e,i,n,a),o3=h.dynCall_iiiijj=(t,e,i,n,a,s,l,d)=>(o3=h.dynCall_iiiijj=w.Jb)(t,e,i,n,a,s,l,d),c3=h.dynCall_viiij=(t,e,i,n,a,s)=>(c3=h.dynCall_viiij=w.Kb)(t,e,i,n,a,s),h3=h.dynCall_viiji=(t,e,i,n,a,s)=>(h3=h.dynCall_viiji=w.Lb)(t,e,i,n,a,s),d3=h.dynCall_jiii=(t,e,i,n)=>(d3=h.dynCall_jiii=w.Mb)(t,e,i,n),l3=h.dynCall_viiiji=(t,e,i,n,a,s,l)=>(l3=h.dynCall_viiiji=w.Nb)(t,e,i,n,a,s,l),u3=h.dynCall_viiijj=(t,e,i,n,a,s,l,d)=>(u3=h.dynCall_viiijj=w.Ob)(t,e,i,n,a,s,l,d),f3=h.dynCall_viiiijjiiiiii=(t,e,i,n,a,s,l,d,u,f,v,g,b,F,S)=>(f3=h.dynCall_viiiijjiiiiii=w.Pb)(t,e,i,n,a,s,l,d,u,f,v,g,b,F,S),v3=h.dynCall_viiiijjiiii=(t,e,i,n,a,s,l,d,u,f,v,g,b)=>(v3=h.dynCall_viiiijjiiii=w.Qb)(t,e,i,n,a,s,l,d,u,f,v,g,b),_3=h.dynCall_iiiiiijjii=(t,e,i,n,a,s,l,d,u,f,v,g)=>(_3=h.dynCall_iiiiiijjii=w.Rb)(t,e,i,n,a,s,l,d,u,f,v,g),m3=h.dynCall_viijiii=(t,e,i,n,a,s,l,d)=>(m3=h.dynCall_viijiii=w.Sb)(t,e,i,n,a,s,l,d),p3=h.dynCall_iji=(t,e,i,n)=>(p3=h.dynCall_iji=w.Tb)(t,e,i,n),g3=h.dynCall_vijjjj=(t,e,i,n,a,s,l,d,u,f)=>(g3=h.dynCall_vijjjj=w.Ub)(t,e,i,n,a,s,l,d,u,f);h.dynCall_vjii=(t,e,i,n,a)=>(h.dynCall_vjii=w.Vb)(t,e,i,n,a),h.dynCall_vjfii=(t,e,i,n,a,s)=>(h.dynCall_vjfii=w.Wb)(t,e,i,n,a,s),h.dynCall_vj=(t,e,i)=>(h.dynCall_vj=w.Xb)(t,e,i),h.dynCall_vjiiiii=(t,e,i,n,a,s,l,d)=>(h.dynCall_vjiiiii=w.Yb)(t,e,i,n,a,s,l,d),h.dynCall_vjiffii=(t,e,i,n,a,s,l,d)=>(h.dynCall_vjiffii=w.Zb)(t,e,i,n,a,s,l,d),h.dynCall_vjiiii=(t,e,i,n,a,s,l)=>(h.dynCall_vjiiii=w._b)(t,e,i,n,a,s,l),h.dynCall_iiiiij=(t,e,i,n,a,s,l)=>(h.dynCall_iiiiij=w.$b)(t,e,i,n,a,s,l),h.dynCall_iiiiijj=(t,e,i,n,a,s,l,d,u)=>(h.dynCall_iiiiijj=w.ac)(t,e,i,n,a,s,l,d,u),h.dynCall_iiiiiijj=(t,e,i,n,a,s,l,d,u,f)=>(h.dynCall_iiiiiijj=w.bc)(t,e,i,n,a,s,l,d,u,f);function d0(t,e,i){var n=p();try{C.get(t)(e,i);}catch(a){if(m(n),a!==a+0)throw a;_(1,0);}}a(d0,"d0");function l0(t,e){var i=p();try{C.get(t)(e);}catch(n){if(m(i),n!==n+0)throw n;_(1,0);}}a(l0,"u0");function u0(t,e,i,n){var a=p();try{C.get(t)(e,i,n);}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(u0,"h0");function f0(t,e,i,n,a){var s=p();try{C.get(t)(e,i,n,a);}catch(l){if(m(s),l!==l+0)throw l;_(1,0);}}a(f0,"l0");function v0(t,e){var i=p();try{return C.get(t)(e)}catch(n){if(m(i),n!==n+0)throw n;_(1,0);}}a(v0,"f0");function _0(t,e,i){var n=p();try{return C.get(t)(e,i)}catch(a){if(m(n),a!==a+0)throw a;_(1,0);}}a(_0,"v0");function m0(t,e,i){var n=p();try{return C.get(t)(e,i)}catch(a){if(m(n),a!==a+0)throw a;_(1,0);}}a(m0,"p0");function p0(t,e,i,n,a,s){var l=p();try{C.get(t)(e,i,n,a,s);}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(p0,"m0");function g0(t,e,i){var n=p();try{return C.get(t)(e,i)}catch(a){if(m(n),a!==a+0)throw a;_(1,0);}}a(g0,"_0");function y0(t,e,i,n){var a=p();try{return C.get(t)(e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(y0,"g0");function w0(t,e){var i=p();try{return C.get(t)(e)}catch(n){if(m(i),n!==n+0)throw n;_(1,0);}}a(w0,"y0");function C0(t,e,i){var n=p();try{C.get(t)(e,i);}catch(a){if(m(n),a!==a+0)throw a;_(1,0);}}a(C0,"w0");function L0(t,e,i,n){var a=p();try{return C.get(t)(e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(L0,"b0");function M0(t,e,i,n,a,s){var l=p();try{return C.get(t)(e,i,n,a,s)}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(M0,"C0");function b0(t,e,i,n,a){var s=p();try{return C.get(t)(e,i,n,a)}catch(l){if(m(s),l!==l+0)throw l;_(1,0);}}a(b0,"L0");function I0(t,e,i,n,a){var s=p();try{return C.get(t)(e,i,n,a)}catch(l){if(m(s),l!==l+0)throw l;_(1,0);}}a(I0,"M0");function S0(t,e,i,n,a,s){var l=p();try{return C.get(t)(e,i,n,a,s)}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(S0,"E0");function E0(t,e,i,n,a){var s=p();try{C.get(t)(e,i,n,a);}catch(l){if(m(s),l!==l+0)throw l;_(1,0);}}a(E0,"P0");function P0(t,e,i,n){var a=p();try{return C.get(t)(e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(P0,"I0");function F0(t,e,i,n){var a=p();try{return C.get(t)(e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(F0,"S0");function j0(t,e,i,n,a,s){var l=p();try{return C.get(t)(e,i,n,a,s)}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(j0,"T0");function k0(t,e,i,n,a,s,l){var d=p();try{return C.get(t)(e,i,n,a,s,l)}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(k0,"F0");function A0(t,e,i,n,a,s,l){var d=p();try{C.get(t)(e,i,n,a,s,l);}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(A0,"x0");function D0(t,e,i,n,a,s,l,d){var u=p();try{C.get(t)(e,i,n,a,s,l,d);}catch(f){if(m(u),f!==f+0)throw f;_(1,0);}}a(D0,"R0");function T0(t,e,i,n){var a=p();try{C.get(t)(e,i,n);}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(T0,"k0");function $0(t,e,i,n,a,s,l,d,u){var f=p();try{C.get(t)(e,i,n,a,s,l,d,u);}catch(v){if(m(f),v!==v+0)throw v;_(1,0);}}a($0,"A0");function x0(t,e,i,n,a,s,l){var d=p();try{return C.get(t)(e,i,n,a,s,l)}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(x0,"j0");function R0(t,e,i,n){var a=p();try{return C.get(t)(e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(R0,"D0");function O0(t,e,i,n,a,s,l){var d=p();try{C.get(t)(e,i,n,a,s,l);}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(O0,"O0");function W0(t,e,i,n,a){var s=p();try{C.get(t)(e,i,n,a);}catch(l){if(m(s),l!==l+0)throw l;_(1,0);}}a(W0,"z0");function z0(t,e,i,n,a,s,l,d){var u=p();try{C.get(t)(e,i,n,a,s,l,d);}catch(f){if(m(u),f!==f+0)throw f;_(1,0);}}a(z0,"W0");function U0(t,e,i,n){var a=p();try{C.get(t)(e,i,n);}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(U0,"$0");function B0(t,e,i,n,a,s,l){var d=p();try{C.get(t)(e,i,n,a,s,l);}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(B0,"U0");function H0(t,e,i,n,a,s){var l=p();try{C.get(t)(e,i,n,a,s);}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(H0,"H0");function N0(t,e,i,n,a,s,l,d,u){var f=p();try{return C.get(t)(e,i,n,a,s,l,d,u)}catch(v){if(m(f),v!==v+0)throw v;_(1,0);}}a(N0,"B0");function V0(t,e,i,n,a,s,l,d){var u=p();try{return C.get(t)(e,i,n,a,s,l,d)}catch(f){if(m(u),f!==f+0)throw f;_(1,0);}}a(V0,"N0");function q0(t){var e=p();try{C.get(t)();}catch(i){if(m(e),i!==i+0)throw i;_(1,0);}}a(q0,"V0");function J0(t,e,i,n){var a=p();try{return C.get(t)(e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(J0,"q0");function G0(t,e){var i=p();try{return C.get(t)(e)}catch(n){if(m(i),n!==n+0)throw n;_(1,0);}}a(G0,"J0");function X0(t,e,i){var n=p();try{return C.get(t)(e,i)}catch(a){if(m(n),a!==a+0)throw a;_(1,0);}}a(X0,"G0");function Y0(t,e,i){var n=p();try{return Z2(t,e,i)}catch(a){if(m(n),a!==a+0)throw a;_(1,0);}}a(Y0,"K0");function K0(t,e){var i=p();try{return K2(t,e)}catch(n){if(m(i),n!==n+0)throw n;_(1,0);}}a(K0,"Y0");function Q0(t,e,i,n,a){var s=p();try{Q2(t,e,i,n,a);}catch(l){if(m(s),l!==l+0)throw l;_(1,0);}}a(Q0,"X0");function Z0(t,e,i,n,a,s){var l=p();try{h3(t,e,i,n,a,s);}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(Z0,"Z0");function t4(t,e,i,n){var a=p();try{return p3(t,e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(t4,"Q0");function e4(t,e,i,n,a,s,l){var d=p();try{i3(t,e,i,n,a,s,l);}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(e4,"e4");function i4(t,e,i,n){var a=p();try{return d3(t,e,i,n)}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(i4,"t4");function n4(t,e,i,n,a,s,l,d){var u=p();try{a3(t,e,i,n,a,s,l,d);}catch(f){if(m(u),f!==f+0)throw f;_(1,0);}}a(n4,"n4");function r4(t,e,i,n){var a=p();try{e3(t,e,i,n);}catch(s){if(m(a),s!==s+0)throw s;_(1,0);}}a(r4,"i4");function a4(t,e,i,n,a,s,l){var d=p();try{r3(t,e,i,n,a,s,l);}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(a4,"r4");function s4(t,e,i,n,a,s){var l=p();try{t3(t,e,i,n,a,s);}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(s4,"o4");function o4(t,e,i,n,a,s){var l=p();try{return n3(t,e,i,n,a,s)}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(o4,"a4");function c4(t,e,i,n,a){var s=p();try{s3(t,e,i,n,a);}catch(l){if(m(s),l!==l+0)throw l;_(1,0);}}a(c4,"s4");function h4(t,e,i,n,a,s,l,d){var u=p();try{return o3(t,e,i,n,a,s,l,d)}catch(f){if(m(u),f!==f+0)throw f;_(1,0);}}a(h4,"c4");function d4(t,e,i,n,a,s){var l=p();try{c3(t,e,i,n,a,s);}catch(d){if(m(l),d!==d+0)throw d;_(1,0);}}a(d4,"d4");function l4(t,e,i,n,a,s,l){var d=p();try{l3(t,e,i,n,a,s,l);}catch(u){if(m(d),u!==u+0)throw u;_(1,0);}}a(l4,"u4");function u4(t,e,i,n,a,s,l,d){var u=p();try{u3(t,e,i,n,a,s,l,d);}catch(f){if(m(u),f!==f+0)throw f;_(1,0);}}a(u4,"h4");function f4(t,e,i,n,a,s,l,d,u,f,v,g,b){var F=p();try{v3(t,e,i,n,a,s,l,d,u,f,v,g,b);}catch(S){if(m(F),S!==S+0)throw S;_(1,0);}}a(f4,"l4");function v4(t,e,i,n,a,s,l,d,u,f,v,g,b,F,S){var j=p();try{f3(t,e,i,n,a,s,l,d,u,f,v,g,b,F,S);}catch(x){if(m(j),x!==x+0)throw x;_(1,0);}}a(v4,"f4");function _4(t,e,i,n,a,s,l,d,u,f,v,g){var b=p();try{return _3(t,e,i,n,a,s,l,d,u,f,v,g)}catch(F){if(m(b),F!==F+0)throw F;_(1,0);}}a(_4,"v4");function m4(t,e,i,n,a,s,l,d){var u=p();try{m3(t,e,i,n,a,s,l,d);}catch(f){if(m(u),f!==f+0)throw f;_(1,0);}}a(m4,"p4");function p4(t,e,i,n,a,s,l,d,u,f){var v=p();try{g3(t,e,i,n,a,s,l,d,u,f);}catch(g){if(m(v),g!==g+0)throw g;_(1,0);}}a(p4,"m4");var B1;_1=a(function t(){B1||y3(),B1||(_1=t);},"e");function y3(){function t(){if(!B1&&(B1=true,h.calledRun=true,!j1)){if(V1(w2),M(h),h.onRuntimeInitialized?.(),h.postRun)for(typeof h.postRun=="function"&&(h.postRun=[h.postRun]);h.postRun.length;){var e=h.postRun.shift();C2.unshift(e);}V1(C2);}}if(a(t,"e"),!(0<Y)){if(h.preRun)for(typeof h.preRun=="function"&&(h.preRun=[h.preRun]);h.preRun.length;)A3();V1(y2),0<Y||(h.setStatus?(h.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>h.setStatus(""),1),t();},1)):t());}}if(a(y3,"_3"),h.preInit)for(typeof h.preInit=="function"&&(h.preInit=[h.preInit]);0<h.preInit.length;)h.preInit.pop()();return y3(),c=N,c}})(),S4=I4,c1,H1=(c1=class{constructor(){throw new Error("RendererLoader is a static class and cannot be instantiated.")}static async _tryLoad(r){return await S4({locateFile:a(()=>r,"locateFile")})}static async _loadWithBackup(){return this._ModulePromise||(this._ModulePromise=this._tryLoad(this._wasmURL).catch(async r=>{let c=`https://unpkg.com/${E3}@${S3}/dist/dotlottie-player.wasm`;console.warn(`Primary WASM load failed from ${this._wasmURL}. Error: ${r.message}`),console.warn(`Attempting to load WASM from backup URL: ${c}`);try{return await this._tryLoad(c)}catch(h){throw console.error(`Primary WASM URL failed: ${r.message}`),console.error(`Backup WASM URL failed: ${h.message}`),new Error("WASM loading failed from all sources.")}})),this._ModulePromise}static async load(){return this._loadWithBackup()}static setWasmUrl(r){r!==this._wasmURL&&(this._wasmURL=r,this._ModulePromise=null);}},a(c1,"Z"),c1);L(H1,"_ModulePromise",null),L(H1,"_wasmURL",`https://cdn.jsdelivr.net/npm/${E3}@${S3}/dist/dotlottie-player.wasm`);var h1,P3=(h1=class{constructor(){L(this,"_eventListeners",new Map);}addEventListener(r,c){let h=this._eventListeners.get(r);h||(h=new Set,this._eventListeners.set(r,h)),h.add(c);}removeEventListener(r,c){let h=this._eventListeners.get(r);h&&(c?(h.delete(c),h.size===0&&this._eventListeners.delete(r)):this._eventListeners.delete(r));}dispatch(r){this._eventListeners.get(r.type)?.forEach(c=>c(r));}removeAllEventListeners(){this._eventListeners.clear();}},a(h1,"i1"),h1),d1,B=(d1=class{static _initializeObserver(){if(this._observer)return;let r=a(c=>{c.forEach(h=>{let M=this._observedCanvases.get(h.target);M&&(h.isIntersecting?M.unfreeze():M.freeze());});},"r");this._observer=new IntersectionObserver(r,{threshold:0});}static observe(r,c){this._initializeObserver(),!this._observedCanvases.has(r)&&(this._observedCanvases.set(r,c),this._observer?.observe(r));}static unobserve(r){this._observer?.unobserve(r),this._observedCanvases.delete(r),this._observedCanvases.size===0&&(this._observer?.disconnect(),this._observer=null);}},a(d1,"O"),d1);L(B,"_observer",null),L(B,"_observedCanvases",new Map);var l1,H=(l1=class{static _initializeObserver(){if(this._observer)return;let r=a(c=>{c.forEach(h=>{let M=this._observedCanvases.get(h.target);if(!M)return;let[T,N]=M;clearTimeout(N);let z=setTimeout(()=>{T.resize();},100);this._observedCanvases.set(h.target,[T,z]);});},"r");this._observer=new ResizeObserver(r);}static observe(r,c){this._initializeObserver(),!this._observedCanvases.has(r)&&(this._observedCanvases.set(r,[c,0]),this._observer?.observe(r));}static unobserve(r){let c=this._observedCanvases.get(r);if(c){let h=c[1];h&&clearTimeout(h);}this._observer?.unobserve(r),this._observedCanvases.delete(r),!this._observedCanvases.size&&this._observer&&(this._observer.disconnect(),this._observer=null);}},a(l1,"z"),l1);L(H,"_observer",null),L(H,"_observedCanvases",new Map);function E4(y){return /^#([\da-f]{6}|[\da-f]{8})$/iu.test(y)}a(E4,"w4");function P4(y){if(!E4(y))return 0;let r=y.replace("#","");return r=r.length===6?`${r}ff`:r,parseInt(r,16)}a(P4,"L3");function C3(y){if(y.byteLength<4)return false;let r=new Uint8Array(y.slice(0,d2.byteLength));for(let c=0;c<d2.length;c+=1)if(d2[c]!==r[c])return false;return true}a(C3,"s2");function L3(y){return M4.every(r=>Object.prototype.hasOwnProperty.call(y,r))}a(L3,"C3");function M3(y){if(typeof y=="string")try{return L3(JSON.parse(y))}catch{return false}else return L3(y)}a(M3,"c2");function Z(){return 1+((D?window.devicePixelRatio:1)-1)*b4}a(Z,"J");function F3(y){let r=y.getBoundingClientRect();return r.top>=0&&r.left>=0&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&r.right<=(window.innerWidth||document.documentElement.clientWidth)}a(F3,"A1");var l2=a((y,r)=>y==="reverse"?r.Mode.Reverse:y==="bounce"?r.Mode.Bounce:y==="reverse-bounce"?r.Mode.ReverseBounce:r.Mode.Forward,"d2"),F4=a((y,r)=>y==="contain"?r.Fit.Contain:y==="cover"?r.Fit.Cover:y==="fill"?r.Fit.Fill:y==="fit-height"?r.Fit.FitHeight:y==="fit-width"?r.Fit.FitWidth:r.Fit.None,"b4"),j4=a((y,r)=>{let c=new r.VectorFloat;return c.push_back(y[0]),c.push_back(y[1]),c},"C4"),u2=a((y,r)=>{let c=new r.VectorFloat;return y.length!==2||(c.push_back(y[0]),c.push_back(y[1])),c},"u2"),f2=a((y,r)=>y?{align:j4(y.align??[.5,.5],r),fit:F4(y.fit??"contain",r)}:r.createDefaultLayout(),"h2"),E,j3=(E=class{constructor(r){L(this,"_canvas"),L(this,"_context",null),L(this,"_eventManager"),L(this,"_animationFrameId",null),L(this,"_frameManager"),L(this,"_dotLottieCore",null),L(this,"_renderConfig",{}),L(this,"_isFrozen",false),L(this,"_backgroundColor",null),L(this,"_pointerUpMethod"),L(this,"_pointerDownMethod"),L(this,"_pointerMoveMethod"),L(this,"_pointerEnterMethod"),L(this,"_pointerExitMethod"),this._canvas=r.canvas,this._eventManager=new P3,this._frameManager=new L4,this._renderConfig={...r.renderConfig,devicePixelRatio:r.renderConfig?.devicePixelRatio||Z(),freezeOnOffscreen:r.renderConfig?.freezeOnOffscreen??true},H1.load().then(c=>{E._wasmModule=c,this._dotLottieCore=new c.DotLottiePlayer({animationId:r.animationId??"",themeId:r.themeId??"",stateMachineId:"",autoplay:r.autoplay??false,backgroundColor:0,loopAnimation:r.loop??false,mode:l2(r.mode??"forward",c),segment:u2(r.segment??[],c),speed:r.speed??1,useFrameInterpolation:r.useFrameInterpolation??true,marker:r.marker??"",layout:f2(r.layout,c)}),this._eventManager.dispatch({type:"ready"}),r.data?this._loadFromData(r.data):r.src&&this._loadFromSrc(r.src),r.backgroundColor&&this.setBackgroundColor(r.backgroundColor);}).catch(c=>{this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to load wasm module: ${c}`)});}),this._pointerUpMethod=this._onPointerUp.bind(this),this._pointerDownMethod=this._onPointerDown.bind(this),this._pointerMoveMethod=this._onPointerMove.bind(this),this._pointerEnterMethod=this._onPointerEnter.bind(this),this._pointerExitMethod=this._onPointerLeave.bind(this);}_dispatchError(r){console.error(r),this._eventManager.dispatch({type:"loadError",error:new Error(r)});}async _fetchData(r){let c=await fetch(r);if(!c.ok)throw new Error(`Failed to fetch animation data from URL: ${r}. ${c.status}: ${c.statusText}`);let h=await c.arrayBuffer();return C3(h)?h:new TextDecoder().decode(h)}_loadFromData(r){if(this._dotLottieCore===null)return;let c=this._canvas.width,h=this._canvas.height,M=false;if(typeof r=="string"){if(!M3(r)){this._dispatchError("Invalid Lottie JSON string: The provided string does not conform to the Lottie JSON format.");return}M=this._dotLottieCore.loadAnimationData(r,c,h);}else if(r instanceof ArrayBuffer){if(!C3(r)){this._dispatchError("Invalid dotLottie ArrayBuffer: The provided ArrayBuffer does not conform to the dotLottie format.");return}M=this._dotLottieCore.loadDotLottieData(r,c,h);}else if(typeof r=="object"){if(!M3(r)){this._dispatchError("Invalid Lottie JSON object: The provided object does not conform to the Lottie JSON format.");return}M=this._dotLottieCore.loadAnimationData(JSON.stringify(r),c,h);}else {this._dispatchError(`Unsupported data type for animation data. Expected:
- string (Lottie JSON),
- ArrayBuffer (dotLottie),
- object (Lottie JSON).
Received: ${typeof r}`);return}M?(this._eventManager.dispatch({type:"load"}),D&&this.resize(),this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame}),this._render(),this._dotLottieCore.config().autoplay&&(this._dotLottieCore.play(),this._dotLottieCore.isPlaying()?(this._eventManager.dispatch({type:"play"}),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this))):console.error("something went wrong, the animation was suppose to autoplay")),D&&this._canvas instanceof HTMLCanvasElement&&(this._renderConfig.freezeOnOffscreen&&B.observe(this._canvas,this),this._renderConfig.autoResize&&H.observe(this._canvas,this))):this._dispatchError("Failed to load animation data");}_loadFromSrc(r){this._fetchData(r).then(c=>this._loadFromData(c)).catch(c=>this._dispatchError(`Failed to load animation data from URL: ${r}. ${c}`));}get buffer(){return this._dotLottieCore?this._dotLottieCore.buffer():null}get activeAnimationId(){return this._dotLottieCore?.activeAnimationId()}get activeThemeId(){return this._dotLottieCore?.activeThemeId()}get layout(){let r=this._dotLottieCore?.config().layout;if(r)return {align:[r.align.get(0),r.align.get(1)],fit:(()=>{switch(r.fit){case E._wasmModule?.Fit.Contain:return "contain";case E._wasmModule?.Fit.Cover:return "cover";case E._wasmModule?.Fit.Fill:return "fill";case E._wasmModule?.Fit.FitHeight:return "fit-height";case E._wasmModule?.Fit.FitWidth:return "fit-width";case E._wasmModule?.Fit.None:return "none";default:return "contain"}})()}}get marker(){return this._dotLottieCore?.config().marker}get manifest(){try{let r=this._dotLottieCore?.manifestString();if(this._dotLottieCore===null||!r)return null;let c=JSON.parse(r);return Object.keys(c).length===0?null:c}catch{return null}}get renderConfig(){return this._renderConfig}get segment(){let r=this._dotLottieCore?.config().segment;if(r&&r.size()===2)return [r.get(0),r.get(1)]}get loop(){return this._dotLottieCore?.config().loopAnimation??false}get mode(){let r=this._dotLottieCore?.config().mode;return r===E._wasmModule?.Mode.Reverse?"reverse":r===E._wasmModule?.Mode.Bounce?"bounce":r===E._wasmModule?.Mode.ReverseBounce?"reverse-bounce":"forward"}get isFrozen(){return this._isFrozen}get backgroundColor(){return this._backgroundColor??""}get autoplay(){return this._dotLottieCore?.config().autoplay??false}get useFrameInterpolation(){return this._dotLottieCore?.config().useFrameInterpolation??false}get speed(){return this._dotLottieCore?.config().speed??0}get isReady(){return this._dotLottieCore!==null}get isLoaded(){return this._dotLottieCore?.isLoaded()??false}get isPlaying(){return this._dotLottieCore?.isPlaying()??false}get isPaused(){return this._dotLottieCore?.isPaused()??false}get isStopped(){return this._dotLottieCore?.isStopped()??false}get currentFrame(){return this._dotLottieCore?Math.round(this._dotLottieCore.currentFrame()*100)/100:0}get loopCount(){return this._dotLottieCore?.loopCount()??0}get totalFrames(){return this._dotLottieCore?.totalFrames()??0}get duration(){return this._dotLottieCore?.duration()??0}get segmentDuration(){return this._dotLottieCore?.segmentDuration()??0}get canvas(){return this._canvas}load(r){this._dotLottieCore===null||E._wasmModule===null||(this._animationFrameId!==null&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null),this._isFrozen=false,this._dotLottieCore.setConfig({animationId:r.animationId??"",themeId:r.themeId??"",stateMachineId:"",autoplay:r.autoplay??false,backgroundColor:0,loopAnimation:r.loop??false,mode:l2(r.mode??"forward",E._wasmModule),segment:u2(r.segment??[],E._wasmModule),speed:r.speed??1,useFrameInterpolation:r.useFrameInterpolation??true,marker:r.marker??"",layout:f2(r.layout,E._wasmModule)}),r.data?this._loadFromData(r.data):r.src&&this._loadFromSrc(r.src),this.setBackgroundColor(r.backgroundColor??""));}_render(){if(this._dotLottieCore===null)return false;if(!this._context&&"getContext"in this._canvas&&typeof this._canvas.getContext=="function"&&(this._context=this._canvas.getContext("2d")),this._dotLottieCore.render()){if(this._context){let r=this._dotLottieCore.buffer(),c=new Uint8ClampedArray(r,0,this._canvas.width*this._canvas.height*4),h=null;typeof ImageData>"u"?(h=this._context.createImageData(this._canvas.width,this._canvas.height),h.data.set(c)):h=new ImageData(c,this._canvas.width,this._canvas.height),this._context.putImageData(h,0,0);}return this._eventManager.dispatch({type:"render",currentFrame:this.currentFrame}),true}return false}_draw(){if(!(this._dotLottieCore===null||!this._dotLottieCore.isPlaying()))try{let r=Math.round(this._dotLottieCore.requestFrame()*1e3)/1e3;if(this._dotLottieCore.setFrame(r)&&(this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame}),this._render()&&this._dotLottieCore.isComplete()))if(this._dotLottieCore.config().loopAnimation)this._eventManager.dispatch({type:"loop",loopCount:this._dotLottieCore.loopCount()});else {this._eventManager.dispatch({type:"complete"});return}this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this));}catch(r){console.error("Error in animation frame:",r),this._eventManager.dispa