!function(e){varr={};functiont(n){if(r[n])returnr[n].exports;varo=r[n]={i:n,l:!1,exports:{}};returne[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)returne;if(4&r&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeofe)for(varoine)t.d(n,o,function(r){returne[r]}.bind(null,o));returnn},t.n=function(e){varr=e&&e.__esModule?function(){returne.default}:function(){returne};returnt.d(r,"a",r),r},t.o=function(e,r){returnObject.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=0)}([function(e,r,t){"use strict";t.r(r);newSet(["newMessage","newScheduledMessage","deleteMessages","deleteScheduledMessages","deleteHistory"]),"undefined"!=typeofwindow&&window.innerHeight;self.onerror=e=>{console.error(e),o({type:"unhandledError",error:{message:e.error.message||"Uncaught exception in worker"}})},self.addEventListener("unhandledrejection",e=>{console.error(e),o({type:"unhandledError",error:{message:e.reason.message||"Uncaught rejection in worker"}})});constn=newMap;functiono(e,r){r?postMessage(e,r):postMessage(e)}lets;self.importScripts("rlottie-wasm.js");consta=newPromise(e=>{Module.onRuntimeInitialized=()=>{s={init:Module.cwrap("lottie_init","",[]),destroy:Module.cwrap("lottie_destroy","",["number"]),resize:Module.cwrap("lottie_resize","",["number","number","number"]),buffer:Module.cwrap("lottie_buffer","number",["number"]),render:Module.cwrap("lottie_render","",["number","number"]),loadFromData:Module.cwrap("lottie_load_from_data","number",["number","number"])},e()}}),i=newMap;varc;c={init:asyncfunction(e,r,t,n,o,c){s||awaita;constl=JSON.stringify(r),u=allocate(intArrayFromString(l),"i8",0),d=s.init(),f=s.loadFromData(d,u);s.resize(d,t,t),i.set(e,{imgSize:t,reduceFactor:o,handle:d}),c(Math.ceil(f/o))},renderFrames:asyncfunction(e,r,t,n){s||awaita;const{imgSize:o,reduceFactor:c,handle:l}=i.get(e);for(lete=r;e<=t;e++){constr=e*c;s.render(l,r);constt=s.buffer(l),a=Module.HEAPU8.subarray(t,t+o*o*4);n(e,newUint8ClampedArray(a).buffer)}},destroy:function(e){constr=i.get(e);s.destroy(r.handle),i.delete(e)}},onmessage=asynce=>{const{data:r}=e;switch(r.type){case"callMethod":{const{messageId:e,name:t,args:s}=r;try{if(e){constr=(...r)=>{constt=r[r.length-1];o({type:"methodCallback",messageId:e,callbackArgs:r},tinstanceofArrayBuffer?[t]:void0)};n.set(e,r),s.push(r)}const[r,a]=awaitc[t](...s)||[];e&&o({type:"methodResponse",messageId:e,response:r},a)}catch(r){console.error(r),e&&o({type:"methodResponse",messageId:e,error:{message:r.message}})}e&&n.delete(e);break}case"cancelProgress":{conste=n.get(r.messageId);e&&(e.isCanceled=!0);break}}}}]);