Files
appco_dist/.output/server/node_modules/@lottiefiles/dotlottie-web/dist/index.cjs
T

28 lines
500 KiB
JavaScript
Raw Normal View History

2025-07-23 16:57:31 +03:30
'use strict';
var x4=Object.defineProperty,R4=Object.defineProperties;var j4=Object.getOwnPropertyDescriptors;var N1=Object.getOwnPropertySymbols;var $3=Object.prototype.hasOwnProperty,W3=Object.prototype.propertyIsEnumerable;var _2=(v,r,a)=>r in v?x4(v,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):v[r]=a,D=(v,r)=>{for(var a in r||(r={}))$3.call(r,a)&&_2(v,a,r[a]);if(N1)for(var a of N1(r))W3.call(r,a)&&_2(v,a,r[a]);return v},z=(v,r)=>R4(v,j4(r));var V1=(v,r)=>{var a={};for(var h in v)$3.call(v,h)&&r.indexOf(h)<0&&(a[h]=v[h]);if(v!=null&&N1)for(var h of N1(v))r.indexOf(h)<0&&W3.call(v,h)&&(a[h]=v[h]);return a};var b=(v,r,a)=>_2(v,typeof r!="symbol"?r+"":r,a);var E=(v,r,a)=>new Promise((h,d)=>{var g=j=>{try{R(a.next(j));}catch($){d($);}},T=j=>{try{R(a.throw(j));}catch($){d($);}},R=j=>j.done?h(j.value):Promise.resolve(j.value).then(g,T);R((a=a.apply(v,r)).next());});var y2=class{requestAnimationFrame(r){return requestAnimationFrame(r)}cancelAnimationFrame(r){cancelAnimationFrame(r);}},g2=class{constructor(){b(this,"_lastHandleId",0);b(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);}},q1=class{constructor(){b(this,"_strategy");this._strategy=typeof requestAnimationFrame=="function"?new y2:new g2;}requestAnimationFrame(r){return this._strategy.requestAnimationFrame(r)}cancelAnimationFrame(r){this._strategy.cancelAnimationFrame(r);}};var O=typeof window!="undefined"&&typeof window.document!="undefined";var J1=new Uint8Array([80,75,3,4]),z3=["v","ip","op","layers","fr","w","h"],w2="0.44.0",C2="@lottiefiles/dotlottie-web",U3=.75;var A4=(()=>{var r;var v=typeof document!="undefined"?(r=document.currentScript)==null?void 0:r.src:void 0;return function(a={}){var h,d=a,g,T,R=new Promise((t,e)=>{g=t,T=e;}),j=Object.assign({},d),$="./this.program",U="",l1;typeof document!="undefined"&&document.currentScript&&(U=document.currentScript.src),v&&(U=v),U.startsWith("blob:")?U="":U=U.substr(0,U.replace(/[?#].*/,"").lastIndexOf("/")+1),l1=t=>fetch(t,{credentials:"same-origin"}).then(e=>e.ok?e.arrayBuffer():Promise.reject(Error(e.status+" : "+e.url)));var T1=d.print||console.log.bind(console),K=d.printErr||console.error.bind(console);Object.assign(d,j),j=null,d.thisProgram&&($=d.thisProgram);var F1=d.wasmBinary,x1,R1=!1,K1,X,k,a1,f1,t1,F,S2,T2;function F2(){var t=x1.buffer;d.HEAP8=X=new Int8Array(t),d.HEAP16=a1=new Int16Array(t),d.HEAPU8=k=new Uint8Array(t),d.HEAPU16=f1=new Uint16Array(t),d.HEAP32=t1=new Int32Array(t),d.HEAPU32=F=new Uint32Array(t),d.HEAPF32=S2=new Float32Array(t),d.HEAPF64=T2=new Float64Array(t);}var x2=[],R2=[],j2=[];function K3(){var t=d.preRun.shift();x2.unshift(t);}var n1=0,p1=null;function j1(t){var e;throw (e=d.onAbort)==null||e.call(d,t),t="Aborted("+t+")",K(t),R1=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),T(t),t}var A2=t=>t.startsWith("data:application/octet-stream;base64,"),v1;function k2(t){if(t==v1&&F1)return new Uint8Array(F1);throw "both async and sync fetching of the wasm failed"}function X3(t){return F1?Promise.resolve().then(()=>k2(t)):l1(t).then(e=>new Uint8Array(e),()=>k2(t))}function D2(t,e,n){return X3(t).then(i=>WebAssembly.instantiate(i,e)).then(n,i=>{K(`failed to asynchronously prepare wasm: ${i}`),j1(i);})}function Z3(t,e){var n=v1;return F1||typeof WebAssembly.instantiateStreaming!="function"||A2(n)||typeof fetch!="function"?D2(n,t,e):fetch(n,{credentials:"same-origin"}).then(i=>WebAssembly.instantiateStreaming(i,t).then(e,function(o){return K(`wasm streaming compile failed: ${o}`),K("falling back to ArrayBuffer instantiation"),D2(n,t,e)}))}class O2{constructor(e){b(this,"name","ExitStatus");this.message=`Program terminated with exit(${e})`,this.status=e;}}var Z1=t=>{for(;0<t.length;)t.shift()(d);},Q1=d.noExitRuntime||!0,$2=typeof TextDecoder!="undefined"?new TextDecoder:void 0,m1=(t,e=0,n=NaN)=>{var i=e+n;for(n=e
`+i.replace(/^Error(:[^\n]*)?\n/,""));});return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},n},H2,N2,A=t=>{for(var e="";k[t];)e+=N2[k[t++]];return e},g1={},n2=(t,e)=>{if(e===void 0)throw new M("ptr should not be undefined");for(;t.ic;)e=t.tc(e),t=t.ic;return e},i1={},V2=t=>{t=a3(t);var e=A(t);return Q(t),e},w1=(t,e)=>{var n=i1[t];if(n===void 0)throw t=`${e} has unknown type ${V2(t)}`,new M(t);return n},A1=()=>{},r2=!1,q2=(t,e,n)=>e===n?t:n.ic===void 0?null:(t=q2(t,e,n.ic),t===null?null:n.Ec(t)),J2={},e0=(t,e)=>(e=n2(t,e),g1[e]),C1,k1=(t,e)=>{if(!e.fc||!e.dc)throw new C1("makeClassHandle requires ptr and ptrType");if(!!e.lc!=!!e.jc)throw new C1("Both smartPtrType and smartPtr must be specified");return e.count={value:1},d1(Object.create(t,{cc:{value:e,writable:!0}}))},d1=t=>typeof FinalizationRegistry=="undefined"?(d1=e=>e,t):(r2=new FinalizationRegistry(e=>{e=e.cc,--e.count.value,e.count.value===0&&(e.jc?e.lc.nc(e.jc):e.fc.ec.nc(e.dc));}),d1=e=>{var n=e.cc;return n.jc&&r2.register(e,{cc:n},e),e},A1=e=>{r2.unregister(e);},d1(t)),D1={},i2=t=>{for(;t.length;){var e=t.pop();t.pop()(e);}};function b1(t){return this.fromWireType(F[t>>2])}var u1={},O1={},G=(t,e,n)=>{function i(c){if(c=n(c),c.length!==t.length)throw new C1("Mismatched type converter count");for(var l=0;l<t.length;++l)J(t[l],c[l]);}t.forEach(c=>O1[c]=e);var o=Array(e.length),s=[],u=0;e.forEach((c,l)=>{i1.hasOwnProperty(c)?o[l]=i1[c]:(s.push(c),u1.hasOwnProperty(c)||(u1[c]=[]),u1[c].push(()=>{o[l]=i1[c],++u,u===s.length&&i(o);}));}),s.length===0&&i(o);};function t0(t,e,n={}){var i=e.name;if(!t)throw new M(`type "${i}" must have a positive integer typeid pointer`);if(i1.hasOwnProperty(t)){if(n.Mc)return;throw new M(`Cannot register type '${i}' twice`)}i1[t]=e,delete O1[t],u1.hasOwnProperty(t)&&(e=u1[t],delete u1[t],e.forEach(o=>o()));}function J(t,e,n={}){return t0(t,e,n)}var o2=t=>{throw new M(t.cc.fc.ec.name+" instance already deleted")};function $1(){}var a2=(t,e,n)=>{if(t[e].hc===void 0){var i=t[e];t[e]=function(...o){if(!t[e].hc.hasOwnProperty(o.length))throw new M(`Function '${n}' called with an invalid number of arguments (${o.length}) - expects one of (${t[e].hc})!`);return t[e].hc[o.length].apply(this,o)},t[e].hc=[],t[e].hc[i.pc]=i;}},s2=(t,e,n)=>{if(d.hasOwnProperty(t)){if(n===void 0||d[t].hc!==void 0&&d[t].hc[n]!==void 0)throw new M(`Cannot register public name '${t}' twice`);if(a2(d,t,t),d[t].hc.hasOwnProperty(n))throw new M(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`);d[t].hc[n]=e;}else d[t]=e,d[t].pc=n;},r0=t=>{t=t.replace(/[^a-zA-Z0-9_]/g,"$");var e=t.charCodeAt(0);return 48<=e&&57>=e?`_${t}`:t};function i0(t,e,n,i,o,s,u,c){this.name=t,this.constructor=e,this.oc=n,this.nc=i,this.ic=o,this.Hc=s,this.tc=u,this.Ec=c,this.Bc=[];}var c2=(t,e,n)=>{for(;e!==n;){if(!e.tc)throw new M(`Expected null or instance of ${n.name}, got an instance of ${e.name}`);t=e.tc(t),e=e.ic;}return t};function o0(t,e){if(e===null){if(this.xc)throw new M(`null is not a valid ${this.name}`);return 0}if(!e.cc)throw new M(`Cannot pass "${h2(e)}" as a ${this.name}`);if(!e.cc.dc)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);return c2(e.cc.dc,e.cc.fc.ec,this.ec)}function a0(t,e){if(e===null){if(this.xc)throw new M(`null is not a valid ${this.name}`);if(this.wc){var n=this.yc();return t!==null&&t.push(this.nc,n),n}return 0}if(!e||!e.cc)throw new M(`Cannot pass "${h2(e)}" as a ${this.name}`);if(!e.cc.dc)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.vc&&e.cc.fc.vc)throw new M(`Cannot convert argument of type ${e.cc.lc?e.cc.lc.name:e.cc.fc.name} to parameter type ${this.name}`);if(n=c2(e.cc.dc,e.cc.fc.ec,this.ec),this.wc){if(e.cc.jc===void 0)throw new M("Passing raw pointer to smart pointer is illegal");switch(this.Tc){case 0:if(e.cc.lc===this)n=e.cc.jc;else throw new M(`Cannot convert argument of type ${e.cc.lc?e.cc.lc.name:e.cc.fc.name} to paramete
`,l&&(f+=`var destructors = [];
`);var C=l?"destructors":"null",L="humanName throwBindingError invoker fn runDestructors retType classParam".split(" ");for(c&&(f+=`var thisWired = classParam['toWireType'](${C}, this);
`),u=0;u<o;++u)f+=`var arg${u}Wired = argType${u}['toWireType'](${C}, arg${u});
`,L.push(`argType${u}`);if(f+=(n||s?"var rv = ":"")+`invoker(${p});
`,l)f+=`runDestructors(destructors);
`;else for(u=c?1:2;u<e.length;++u)s=u===1?"thisWired":"arg"+(u-2)+"Wired",e[u].kc!==null&&(f+=`${s}_dtor(${s});
`,L.push(`${s}_dtor`));n&&(f+=`var ret = retType['fromWireType'](rv);
return ret;
`);let[I,S]=[L,f+`}
`];return I.push(S),e=X2(I)(...i),r1(t,e)}var z1=(t,e)=>{for(var n=[],i=0;i<t;i++)n.push(F[e+4*i>>2]);return n},d2=t=>{t=t.trim();let e=t.indexOf("(");return e!==-1?t.substr(0,e):t},u2=t=>{9<t&&--Z[t+1]===0&&(Z[t]=void 0,t2.push(t));},Z2={name:"emscripten::val",fromWireType:t=>{var e=c1(t);return u2(t),e},toWireType:(t,e)=>y1(e),mc:8,readValueFromPointer:b1,kc:null},u0=(t,e,n)=>{switch(e){case 1:return n?function(i){return this.fromWireType(X[i])}:function(i){return this.fromWireType(k[i])};case 2:return n?function(i){return this.fromWireType(a1[i>>1])}:function(i){return this.fromWireType(f1[i>>1])};case 4:return n?function(i){return this.fromWireType(t1[i>>2])}:function(i){return this.fromWireType(F[i>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},h2=t=>{if(t===null)return "null";var e=typeof t;return e==="object"||e==="array"||e==="function"?t.toString():""+t},h0=(t,e)=>{switch(e){case 4:return function(n){return this.fromWireType(S2[n>>2])};case 8:return function(n){return this.fromWireType(T2[n>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},l0=(t,e,n)=>{switch(e){case 1:return n?i=>X[i]:i=>k[i];case 2:return n?i=>a1[i>>1]:i=>f1[i>>1];case 4:return n?i=>t1[i>>2]:i=>F[i>>2];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},f0=Object.assign({optional:!0},Z2),Q2=typeof TextDecoder!="undefined"?new TextDecoder("utf-16le"):void 0,p0=(t,e)=>{for(var n=t>>1,i=n+e/2;!(n>=i)&&f1[n];)++n;if(n<<=1,32<n-t&&Q2)return Q2.decode(k.subarray(t,n));for(n="",i=0;!(i>=e/2);++i){var o=a1[t+2*i>>1];if(o==0)break;n+=String.fromCharCode(o);}return n},v0=(t,e,n)=>{if(n!=null||(n=2147483647),2>n)return 0;n-=2;var i=e;n=n<2*t.length?n/2:t.length;for(var o=0;o<n;++o)a1[e>>1]=t.charCodeAt(o),e+=2;return a1[e>>1]=0,e-i},m0=t=>2*t.length,_0=(t,e)=>{for(var n=0,i="";!(n>=e/4);){var o=t1[t+4*n>>2];if(o==0)break;++n,65536<=o?(o-=65536,i+=String.fromCharCode(55296|o>>10,56320|o&1023)):i+=String.fromCharCode(o);}return i},y0=(t,e,n)=>{if(n!=null||(n=2147483647),4>n)return 0;var i=e;n=i+n-4;for(var o=0;o<t.length;++o){var s=t.charCodeAt(o);if(55296<=s&&57343>=s){var u=t.charCodeAt(++o);s=65536+((s&1023)<<10)|u&1023;}if(t1[e>>2]=s,e+=4,e+4>n)break}return t1[e>>2]=0,e-i},g0=t=>{for(var e=0,n=0;n<t.length;++n){var i=t.charCodeAt(n);55296<=i&&57343>=i&&++n,e+=4;}return e},l2=0,e3=(t,e,n)=>{var i=[];return t=t.toWireType(i,n),i.length&&(F[e>>2]=y1(i)),t},U1=[],w0={},C0=t=>{var e=U1.length;return U1.push(t),e},b0=(t,e)=>{for(var n=Array(t),i=0;i<t;++i)n[i]=w1(F[e+4*i>>2],"parameter "+i);return n},E1={},t3=t=>{if(!(t instanceof O2||t=="unwind"))throw t},n3=t=>{var e;throw K1=t,Q1||0<l2||((e=d.onExit)==null||e.call(d,t),R1=!0),new O2(t)},L0=t=>{if(!R1)try{if(t(),!(Q1||0<l2))try{K1=t=K1,n3(t);}catch(e){t3(e);}}catch(e){t3(e);}},f2={},r3=()=>{if(!p2){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",_:$||"./this.program"},e;for(e in f2)f2[e]===void 0?delete t[e]:t[e]=f2[e];var n=[];for(e in t)n.push(`${e}=${t[e]}`);p2=n;}return p2},p2,M0=[null,[],[]],E0=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return t=>crypto.getRandomValues(t);j1("initRandomDevice");},i3=t=>(i3=E0())(t);M=d.BindingError=class extends Error{constructor(t){super(t),this.name="BindingError";}},Z.push(0,1,void 0,1,null,1,!0,1,!1,1),d.count_emval_handles=()=>Z.length/2-5-t2.length,H2=d.PureVirtualError=B2("PureVirtualError");for(var o3=Array(256),B1=0;256>B1;++B1)o3[B1]=String.fromCharCode(B1);N2=o3,C1=d.InternalError=class extends Error{constructor(t){super(t),this.name="InternalError";}},Object.assign($1.prototype,{isAliasOf:function(t){if(!(this instanceof $1&&t instanceof $1))return !1;var e=this.cc.fc.ec,n=this.cc.dc;t.cc=t.cc;var i=t.cc.fc.ec;for(t=t.cc.dc;e.ic;)n=e.tc(n),e=e.ic;for(;i.ic;)t=i.tc(t),i=i.ic;return e===i&&n===t},clone:function(){if(this.cc.dc||o2(this),this.cc.rc)return this.cc.count.value+=1,this;var t=d1,e=Object,n=e.create,i=Object.ge
`,s=0,u=[];n===0&&u.push("obj");for(var c=["retType"],l=[i],f=0;f<t;++f)u.push("arg"+f),c.push("argType"+f),l.push(e[f]),o+=` var arg${f} = argType${f}.readValueFromPointer(args${s?"+"+s:""});
`,s+=e[f].mc;return o+=` var rv = ${n===1?"new func":"func.call"}(${u.join(", ")});
`,i.Nc||(c.push("emval_returnValue"),l.push(e3),o+=` return emval_returnValue(retType, destructorsRef, rv);
`),c.push(o+`};
`),t=X2(c)(...l),n=`methodCaller<(${e.map(p=>p.name).join(", ")}) => ${i.name}>`,C0(r1(n,t))},Ta:t=>{9<t&&(Z[t+1]+=1);},Ra:t=>{var e=c1(t);i2(e),u2(t);},F:(t,e)=>(t=w1(t,"_emval_take_value"),t=t.readValueFromPointer(e),y1(t)),oa:(t,e)=>{if(E1[t]&&(clearTimeout(E1[t].id),delete E1[t]),!e)return 0;var n=setTimeout(()=>{delete E1[t],L0(()=>s3(t,performance.now()));},e);return E1[t]={id:n,Uc:e},0},pa:(t,e,n,i)=>{var o=new Date().getFullYear(),s=new Date(o,0,1).getTimezoneOffset();o=new Date(o,6,1).getTimezoneOffset(),F[t>>2]=60*Math.max(s,o),t1[e>>2]=+(s!=o),e=u=>{var c=Math.abs(u);return `UTC${0<=u?"-":"+"}${String(Math.floor(c/60)).padStart(2,"0")}${String(c%60).padStart(2,"0")}`},t=e(s),e=e(o),o<s?(_1(t,n,17),_1(e,i,17)):(_1(t,i,17),_1(e,n,17));},qa:t=>{var e=k.length;if(t>>>=0,2147483648<t)return !1;for(var n=1;4>=n;n*=2){var i=e*(1+.2/n);i=Math.min(i,t+100663296);e:{i=(Math.min(2147483648,65536*Math.ceil(Math.max(t,i)/65536))-x1.buffer.byteLength+65535)/65536|0;try{x1.grow(i),F2();var o=1;break e}catch(s){}o=void 0;}if(o)return !0}return !1},Ca:(t,e)=>{var n=0;return r3().forEach((i,o)=>{var s=e+n;for(o=F[t+4*o>>2]=s,s=0;s<i.length;++s)X[o++]=i.charCodeAt(s);X[o]=0,n+=i.length+1;}),0},Da:(t,e)=>{var n=r3();F[t>>2]=n.length;var i=0;return n.forEach(o=>i+=o.length+1),F[e>>2]=i,0},za:()=>52,xa:()=>52,U:(t,e,n,i)=>{for(var o=0,s=0;s<n;s++){var u=F[e>>2],c=F[e+4>>2];e+=8;for(var l=0;l<c;l++){var f=t,p=k[u+l],C=M0[f];p===0||p===10?((f===1?T1:K)(m1(C)),C.length=0):C.push(p);}o+=c;}return F[i>>2]=o,0},Ia:Q0,n:D0,$:j0,La:J0,g:x0,u:O0,Na:A0,G:z0,J:N0,f:R0,_:q0,h:$0,Ma:B0,k:U0,R:H0,t:W0,V:a4,W:o4,Xa:I4,bb:C4,ha:l4,ka:d4,la:c4,fa:p4,db:g4,I:s4,a:S0,B:Z0,E:k0,X:r4,c:I0,Ka:G0,Ha:e4,e:T0,Y:t4,Q:i4,j:F0,y:n4,i:V0,p:Y0,s:K0,Z:X0,Wa:S4,Za:E4,Ya:P4,ab:b4,$a:L4,_a:M4,cb:w4,ia:h4,ga:f4,Va:T4,fb:_4,ea:v4,gb:m4,ja:u4,Ua:F4,eb:y4,q:t=>t,Ba:n3,sa:(t,e)=>(i3(k.subarray(t,t+e)),0)},w=function(){var n;function t(i){var o;return w=i.exports,x1=w.hb,F2(),P=w.mb,R2.unshift(w.ib),n1--,(o=d.monitorRunDependencies)==null||o.call(d,n1),n1==0&&(p1&&(i=p1,p1=null,i())),w}n1++,(n=d.monitorRunDependencies)==null||n.call(d,n1);var e={a:P0};if(d.instantiateWasm)try{return d.instantiateWasm(e,t)}catch(i){K(`Module.instantiateWasm callback failed with error: ${i}`),T(i);}return v1!=null||(v1=A2("DotLottiePlayer.wasm")?"DotLottiePlayer.wasm":d.locateFile?d.locateFile("DotLottiePlayer.wasm",U):U+"DotLottiePlayer.wasm"),Z3(e,function(i){t(i.instance);}).catch(T),{}}(),v2=t=>(v2=w.jb)(t),a3=t=>(a3=w.kb)(t),Q=t=>(Q=w.lb)(t),s3=(t,e)=>(s3=w.nb)(t,e),m=(t,e)=>(m=w.ob)(t,e),P1=t=>(P1=w.pb)(t),_=t=>(_=w.qb)(t),y=()=>(y=w.rb)(),c3=t=>(c3=w.sb)(t),d3=t=>(d3=w.tb)(t),u3=(t,e,n)=>(u3=w.ub)(t,e,n),h3=t=>(h3=w.vb)(t),l3=d.dynCall_ji=(t,e)=>(l3=d.dynCall_ji=w.wb)(t,e),f3=d.dynCall_viji=(t,e,n,i,o)=>(f3=d.dynCall_viji=w.xb)(t,e,n,i,o),p3=d.dynCall_jii=(t,e,n)=>(p3=d.dynCall_jii=w.yb)(t,e,n);d.dynCall_iijj=(t,e,n,i,o,s)=>(d.dynCall_iijj=w.zb)(t,e,n,i,o,s),d.dynCall_vijj=(t,e,n,i,o,s)=>(d.dynCall_vijj=w.Ab)(t,e,n,i,o,s);var v3=d.dynCall_vjiii=(t,e,n,i,o,s)=>(v3=d.dynCall_vjiii=w.Bb)(t,e,n,i,o,s),m3=d.dynCall_vij=(t,e,n,i)=>(m3=d.dynCall_vij=w.Cb)(t,e,n,i),_3=d.dynCall_viijii=(t,e,n,i,o,s,u)=>(_3=d.dynCall_viijii=w.Db)(t,e,n,i,o,s,u),y3=d.dynCall_jjji=(t,e,n,i,o,s)=>(y3=d.dynCall_jjji=w.Eb)(t,e,n,i,o,s),g3=d.dynCall_viijj=(t,e,n,i,o,s,u)=>(g3=d.dynCall_viijj=w.Fb)(t,e,n,i,o,s,u),w3=d.dynCall_viijji=(t,e,n,i,o,s,u,c)=>(w3=d.dynCall_viijji=w.Gb)(t,e,n,i,o,s,u,c),C3=d.dynCall_viij=(t,e,n,i,o)=>(C3=d.dynCall_viij=w.Hb)(t,e,n,i,o),b3=d.dynCall_iiiijj=(t,e,n,i,o,s,u,c)=>(b3=d.dynCall_iiiijj=w.Ib)(t,e,n,i,o,s,u,c),L3=d.dynCall_viiij=(t,e,n,i,o,s)=>(L3=d.dynCall_viiij=w.Jb)(t,e,n,i,o,s),M3=d.dynCall_viiji=(t,e,n,i,o,s)=>(M3=d.dynCall_viiji=w.Kb)(t,e,n,i,o,s),E3=d.dynCall_jiii=(t,e,n,i)=>(E3=d.dynCall_jiii=w.Lb)(t,e,n,i),P3=d.dynCall_viiiji=(t,e,n,i,o,s,u)=>(P3=d.dynCall_viiiji=w.Mb)(t,e,n,i,o,s,u),I3=d.dynCall_viiijj=(t,e,n,i,o,s,u,c)=>(I3=d.dynCall_viiijj=w.Nb)(t,e,n,i,o,s,u,c),S3=d.dynCall_viiiijjiiiiii=(t,e,n,i,o,s,u,c,l,f,p,C,L,I,S)=>(S3=d.dynCall_viiiijjiiiiii=w.Ob)(t,e,n,i,o,s,u,c,l
- string (Lottie JSON),
- ArrayBuffer (dotLottie),
- object (Lottie JSON).
Received: ${typeof r}`);return}d?(this._eventManager.dispatch({type:"load"}),O&&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")),O&&this._canvas instanceof HTMLCanvasElement&&(this._renderConfig.freezeOnOffscreen&&H.observe(this._canvas,this),this._renderConfig.autoResize&&N.observe(this._canvas,this))):this._dispatchError("Failed to load animation data");}_loadFromSrc(r){this._fetchData(r).then(a=>this._loadFromData(a)).catch(a=>this._dispatchError(`Failed to load animation data from URL: ${r}. ${a}`));}get buffer(){return this._dotLottieCore?this._dotLottieCore.buffer():null}get activeAnimationId(){var r;return (r=this._dotLottieCore)==null?void 0:r.activeAnimationId()}get activeThemeId(){var r;return (r=this._dotLottieCore)==null?void 0:r.activeThemeId()}get layout(){var a;let r=(a=this._dotLottieCore)==null?void 0:a.config().layout;if(r)return {align:[r.align.get(0),r.align.get(1)],fit:(()=>{var h,d,g,T,R,j;switch(r.fit){case((h=x._wasmModule)==null?void 0:h.Fit.Contain):return "contain";case((d=x._wasmModule)==null?void 0:d.Fit.Cover):return "cover";case((g=x._wasmModule)==null?void 0:g.Fit.Fill):return "fill";case((T=x._wasmModule)==null?void 0:T.Fit.FitHeight):return "fit-height";case((R=x._wasmModule)==null?void 0:R.Fit.FitWidth):return "fit-width";case((j=x._wasmModule)==null?void 0:j.Fit.None):return "none";default:return "contain"}})()}}get marker(){var a;return (a=this._dotLottieCore)==null?void 0:a.config().marker}get manifest(){var r;try{let a=(r=this._dotLottieCore)==null?void 0:r.manifestString();if(this._dotLottieCore===null||!a)return null;let h=JSON.parse(a);return Object.keys(h).length===0?null:h}catch(a){return null}}get renderConfig(){return this._renderConfig}get segment(){var a;let r=(a=this._dotLottieCore)==null?void 0:a.config().segment;if(r&&r.size()===2)return [r.get(0),r.get(1)]}get loop(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.config().loopAnimation)!=null?a:!1}get mode(){var a,h,d,g;let r=(a=this._dotLottieCore)==null?void 0:a.config().mode;return r===((h=x._wasmModule)==null?void 0:h.Mode.Reverse)?"reverse":r===((d=x._wasmModule)==null?void 0:d.Mode.Bounce)?"bounce":r===((g=x._wasmModule)==null?void 0:g.Mode.ReverseBounce)?"reverse-bounce":"forward"}get isFrozen(){return this._isFrozen}get backgroundColor(){var r;return (r=this._backgroundColor)!=null?r:""}get autoplay(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.config().autoplay)!=null?a:!1}get useFrameInterpolation(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.config().useFrameInterpolation)!=null?a:!1}get speed(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.config().speed)!=null?a:0}get isReady(){return this._dotLottieCore!==null}get isLoaded(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.isLoaded())!=null?a:!1}get isPlaying(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.isPlaying())!=null?a:!1}get isPaused(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.isPaused())!=null?a:!1}get isStopped(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.isStopped())!=null?a:!1}get currentFrame(){return this._dotLottieCore?Math.round(this._dotLottieCore.currentFrame()*100)/100:0}get loopCount(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.loopCount())!=null?a:0}get totalFrames(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.totalFrames())!=null?a:0}get duration(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.duration())!=null?a:0}get segmentDuration(){var r,a;return (a=(r=this._dotLottieCore)==null?void 0:r.segmentDuration())!=null?a:0}get canvas(){return this._canvas}load(r){var a,h,d,g,T,R,j,$,U;this._dotLottieCore===null||x._wasmModule===null||(th
exports.DotLottie = V3;
exports.DotLottieWorker = Y3;
//# sourceMappingURL=index.cjs.map
//# sourceMappingURL=index.cjs.map