1import{c as At}from"./vendor-react-DKbe1Umz.js";function Rn(D,Pe){for(var re=0;re<Pe.length;re++){const Y=Pe[re];if(typeof Y!="string"&&!Array.isArray(Y)){for(const R in Y)if(R!=="default"&&!(R in D)){const i=Object.getOwnPropertyDescriptor(Y,R);i&&Object.defineProperty(D,R,i.get?i:{enumerable:!0,get:()=>Y[R]})}}}return Object.freeze(Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}))}var H={},It={exports:{}};(function(D,Pe){var re=(()=>{var Y=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(R){R=R||{};var i=typeof R<"u"?R:{},Be,Se;i.ready=new Promise(function(e,t){Be=e,Se=t}),["_main","___getTypeName","__embind_initialize_bindings","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(i.ready,e)||Object.defineProperty(i.ready,e,{get:()=>A("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>A("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var Je=Object.assign({},i),Ke="./this.program",Mt=!0;if(i.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var W="";function Dt(e){return i.locateFile?i.locateFile(e,W):W+e}var Lt;if(typeof document<"u"&&document.currentScript&&(W=document.currentScript.src),Y&&(W=Y),W.indexOf("blob:")!==0?W=W.substr(0,W.replace(/[?#].*/,"").lastIndexOf("/")+1):W="",!(typeof window=="object"||typeof importScripts=="function"))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var Ut=i.print||console.log.bind(console),S=i.printErr||console.warn.bind(console);Object.assign(i,Je),Je=null,Sn(),i.arguments&&i.arguments,L("arguments","arguments_"),i.thisProgram&&(Ke=i.thisProgram),L("thisProgram","thisProgram"),i.quit&&i.quit,L("quit","quit_"),p(typeof i.memoryInitializerPrefixURL>"u","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),p(typeof i.pthreadMainPrefixURL>"u","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),p(typeof i.cdInitializerPrefixURL>"u","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),p(typeof i.filePackagePrefixURL>"u","Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),p(typeof i.read>"u","Module.read option was removed (modify read_ in JS)"),p(typeof i.readAsync>"u","Module.readAsync option was removed (modify readAsync in JS)"),p(typeof i.readBinary>"u","Module.readBinary option was removed (modify readBinary in JS)"),p(typeof i.setWindowTitle>"u","Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),p(typeof i.TOTAL_MEMORY>"u","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),L("read","read_"),L("readAsync","readAsync"),L("readBinary","readBinary"),L("setWindowTitle","setWindowTitle"),p(!0,"worker environment detected but not enabled at build time. Add 'worker' to `-sENVIRONMENT` to enable."),p(!0,"node environment detected but not enabled at build time. Add 'node' to `-sENVIRONMENT` to enable."),p(!0,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable.");function L(e,t){Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){A("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function $t(e){Object.getOwnPropertyDescriptor(i,e)&&A("`Module."+e+"` was supplied but `"+e+"` not included in INCOMING_MODULE_JS_API")}function qe(e){return e==="FS_createPath"||e==="FS_createDataFile"||e==="FS_createPreloadedFile"||e==="FS_unlink"||e==="addRunDependency"||e==="FS_createLazyFile"||e==="FS_createDevice"||e==="removeRunDependency"}function Nt(e){typeof globalThis<"u"&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line";qe(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),J(t)}})}function Wt(e){Object.getOwnPropertyDescriptor(i,e)||Object.defineProperty(i,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";qe(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),A(t)}
1})}var ne;i.wasmBinary&&(ne=i.wasmBinary),L("wasmBinary","wasmBinary"),i.noExitRuntime,L("noExitRuntime","noExitRuntime"),typeof WebAssembly!="object"&&A("no native wasm support detected");var ie,pe=!1;function p(e,t){e||A("Assertion failed"+(t?": "+t:""))}var Xe=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Qe(e,t,r){for(var n=t+r,a=t;e[a]&&!(a>=n);)++a;if(a-t>16&&e.buffer&&Xe)return Xe.decode(e.subarray(t,a));for(var s="";t<a;){var l=e[t++];if(!(l&128)){s+=String.fromCharCode(l);continue}var o=e[t++]&63;if((l&224)==192){s+=String.fromCharCode((l&31)<<6|o);continue}var c=e[t++]&63;if((l&240)==224?l=(l&15)<<12|o<<6|c:((l&248)!=240&&J("Invalid UTF-8 leading byte 0x"+l.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),l=(l&7)<<18|o<<12|c<<6|e[t++]&63),l<65536)s+=String.fromCharCode(l);else{var f=l-65536;s+=String.fromCharCode(55296|f>>10,56320|f&1023)}}return s}function Fe(e,t){return e?Qe(F,e,t):""}function Ze(e,t,r,n){if(!(n>0))return 0;for(var a=r,s=r+n-1,l=0;l<e.length;++l){var o=e.charCodeAt(l);if(o>=55296&&o<=57343){var c=e.charCodeAt(++l);o=65536+((o&1023)<<10)|c&1023}if(o<=127){if(r>=s)break;t[r++]=o}else if(o<=2047){if(r+1>=s)break;t[r++]=192|o>>6,t[r++]=128|o&63}else if(o<=65535){if(r+2>=s)break;t[r++]=224|o>>12,t[r++]=128|o>>6&63,t[r++]=128|o&63}else{if(r+3>=s)break;o>1114111&&J("Invalid Unicode code point 0x"+o.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF)."),t[r++]=240|o>>18,t[r++]=128|o>>12&63,t[r++]=128|o>>6&63,t[r++]=128|o&63}}return t[r]=0,r-a}function xt(e,t,r){return p(typeof r=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),Ze(e,F,t,r)}function et(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t}var ge,U,F,q,me,y,v,tt,rt;function nt(e){ge=e,i.HEAP8=U=new Int8Array(e),i.HEAP16=q=new Int16Array(e),i.HEAP32=y=new Int32Array(e),i.HEAPU8=F=new Uint8Array(e),i.HEAPU16=me=new Uint16Array(e),i.HEAPU32=v=new Uint32Array(e),i.HEAPF32=tt=new Float32Array(e),i.HEAPF64=rt=new Float64Array(e)}var Ae=65536;i.TOTAL_STACK&&p(Ae===i.TOTAL_STACK,"the stack size can no longer be determined at runtime");var Ie=i.INITIAL_MEMORY||262144;L("INITIAL_MEMORY","INITIAL_MEMORY"),p(Ie>=Ae,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+Ie+"! (TOTAL_STACK="+Ae+")"),p(typeof Int32Array<"u"&&typeof Float64Array<"u"&&Int32Array.prototype.subarray!=null&&Int32Array.prototype.set!=null,"JS engine does not provide full typed array support"),p(!i.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),p(Ie==262144,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var _e;function jt(){var e=ze();p((e&3)==0),v[e>>2]=34821223,v[e+4>>2]=2310721022,v[0]=1668509029}function ke(){if(!pe){var e=ze(),t=v[e>>2],r=v[e+4>>2];(t!=34821223||r!=2310721022)&&A("Stack overflow! Stack cookie has been overwritten at 0x"+e.toString(16)+", expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+r.toString(16)+" 0x"+t.toString(16)),v[0]!==1668509029&&A("Runtime error: The application has corrupted its heap memory area (address zero)!")}}(function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,t[0]!==115||t[1]!==99)throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"})();var it=[],at=[],ot=[],Oe=!1;function Ht(){if(i.preRun)for(typeof i.preRun=="function"&&(i.preRun=[i.preRun]);i.preRun.length;)zt(i.preRun.shift());Re(it)}function Yt(){p(!Oe),Oe=!0,ke(),Re(at)}function Gt(){if(ke(),i.postRun)for(typeof i.postRun=="function"&&(i.postRun=[i.postRun]);i.postRun.length;)Bt(i.postRun.shift());Re(ot)}function zt(e){it.unshift(e)}function Vt(e){at.unshift(e)}function Bt(e){ot.unshift(e)}p(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),p(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),p(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),p(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var V=0,B=null,ae=null,oe={};function Jt(e){V++,i.monitorRunDependencies&&i.monitorRunDependencies(V),p(!oe[e]),oe[e]=1,B===null&&typeof setInterval<"u"&&(B=setInterval(function(){if(pe){clearInterval(B),B=null;return}var t=!1;for(var r in oe)t||(t=!0,S("still waiting on run dependencies:")),S("dependency: "+r);t&&S("(end of list)")},1e4))}function Kt(e){if(V--,i.monitorRunDependencies&&i.monitorRunDependencies(V),p(oe[e]),delete oe[e],V==0&&(B!==null&&(clearInterval(B),B=null),ae)){var t=ae;ae=null,t()}}function A(e){i.onAbort&&i.onAbort(e),e="Aborted("+e+")",S(e),pe=!0;var t=new WebAssembly.RuntimeError(e);throw Se(t),t}var k={error:function(){A("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){k.error()},createDataFile:function(){k.error()},createPreloadedFile:function(){k.error()},createLazyFile:function(){k.error()},open:function(){k.error()},mkdev:function(){k.error()},registerDevice:function(){k.error()},analyzePath:function(){k.error()},loadFilesFromDB:function(){k.error()},ErrnoError:function(){k.error()}};i.FS_createDataFile=k.createDataFile,i.FS_createPreloadedFile=k.createPreloadedFile;var qt="data:application/octet-stream;base64,";function st(e){return e.startsWith(qt)}function Xt(e){return e.startsWith("file://")}function w(e,t){return function(){var r=e,n=t;return n=i.asm,p(Oe,"native function `"+r+"` called before runtime initialization"),n[e]||p(n[e],"exported native function `"+r+"` not found"),n[e].apply(null,arguments)}}var I;I="laz-perf.wasm",st(I)||(I=Dt(I));function lt(e){try{if(e==I&&ne)return new Uint8Array(ne);throw"both async and sync fetching of the wasm failed"}catch(t){A(t)}}function Qt(){return!ne&&Mt&&typeof fetch=="function"?fetch(I,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+I+"'";return e.arrayBuffer()}).catch(function(){return lt(I)}):Promise.resolve().then(function(){return lt(I)})}function Zt(){var e={env:Pt,wasi_snapshot_preview1:Pt};function t(o,c){var f=o.exports;i.asm=f,ie=i.asm.memory,p(ie,"memory not found in wasm exports"),nt(ie.buffer),_e=i.asm.__indirect_function_table,p(_e,"table not found in wasm exports"),Vt(i.asm.__wasm_call_ctors),Kt("wasm-instantiate")}Jt("wasm-instantiate");var r=i;function n(o){p(i===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),r=null,t(o.instance)}function a(o){return Qt().then(function(c){return WebAssembly.instantiate(c,e)}).then(function(c){return c}).then(o,function(c){S("failed to asynchronously prepare wasm: "+c),Xt(I)&&S("warning: Loading from a file URI ("+I+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),A(c)})}function s(){return!ne&&typeof WebAssembly.instantiateStreaming=="function"&&!st(I)&&typeof fetch=="function"?fetch(I,{credentials:"same-origin"}).then(function(o){var c=WebAssembly.instantiateStreaming(o,e);return c.then(n,function(f){return S("wasm streaming compile failed: "+f),S("falling back to ArrayBuffer instantiation"),a(n)})}):a(n)}if(i.instantiateWasm)try{var l=i.instantiateWasm(e,t);return l}catch(o){return S("Module.instantiateWasm callback failed with error: "+o),!1}return s().catch(Se),{}}function Re(e){for(;e.length>0;)e.shift()(i)}
1function J(e){J.shown||(J.shown={}),J.shown[e]||(J.shown[e]=1,S(e))}function er(e,t){p(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),U.set(e,t)}function tr(e){return Ge(e+24)+24}function rr(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(t){v[this.ptr+4>>2]=t},this.get_type=function(){return v[this.ptr+4>>2]},this.set_destructor=function(t){v[this.ptr+8>>2]=t},this.get_destructor=function(){return v[this.ptr+8>>2]},this.set_refcount=function(t){y[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,U[this.ptr+12>>0]=t},this.get_caught=function(){return U[this.ptr+12>>0]!=0},this.set_rethrown=function(t){t=t?1:0,U[this.ptr+13>>0]=t},this.get_rethrown=function(){return U[this.ptr+13>>0]!=0},this.init=function(t,r){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(r),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=y[this.ptr>>2];y[this.ptr>>2]=t+1},this.release_ref=function(){var t=y[this.ptr>>2];return y[this.ptr>>2]=t-1,p(t>0),t===1},this.set_adjusted_ptr=function(t){v[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return v[this.ptr+16>>2]},this.get_exception_ptr=function(){var t=An(this.get_type());if(t)return v[this.excPtr>>2];var r=this.get_adjusted_ptr();return r!==0?r:this.excPtr}}function nr(e,t,r){var n=new rr(e);throw n.init(t,r),e+" - Exception catching is disabled, this exception cannot be caught. Compile with -sNO_DISABLE_EXCEPTION_CATCHING or -sEXCEPTION_CATCHING_ALLOWED=[..] to catch."}function ir(e,t,r,n,a){}function Me(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}function ar(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);ut=e}var ut=void 0;function O(e){for(var t="",r=e;F[r];)t+=ut[F[r++]];return t}var X={},Q={},he={},or=48,sr=57;function ct(e){if(e===void 0)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=or&&t<=sr?"_"+e:e}function ft(e,t){return e=ct(e),function(){return t.apply(this,arguments)}}function De(e,t){var r=ft(t,function(n){this.name=t,this.message=n;var a=new Error(n).stack;a!==void 0&&(this.stack=this.toString()+` 2`+a.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},r}var Z=void 0;function h(e){throw new Z(e)}var dt=void 0;function ve(e){throw new dt(e)}function se(e,t,r){e.forEach(function(o){he[o]=t});function n(o){var c=r(o);c.length!==e.length&&ve("Mismatched type converter count");for(var f=0;f<e.length;++f)x(e[f],c[f])}var a=new Array(t.length),s=[],l=0;t.forEach((o,c)=>{Q.hasOwnProperty(o)?a[c]=Q[o]:(s.push(o),X.hasOwnProperty(o)||(X[o]=[]),X[o].push(()=>{a[c]=Q[o],++l,l===s.length&&n(a)}))}),s.length===0&&n(a)}function x(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=t.name;if(e||h('type "'+n+'" must have a positive integer typeid pointer'),Q.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;h("Cannot register type '"+n+"' twice")}if(Q[e]=t,delete he[e],X.hasOwnProperty(e)){var a=X[e];delete X[e],a.forEach(s=>s())}}function lr(e,t,r,n,a){var s=Me(r);t=O(t),x(e,{name:t,fromWireType:function(l){return!!l},toWireType:function(l,o){return o?n:a},argPackAdvance:8,readValueFromPointer:function(l){var o;if(r===1)o=U;else if(r===2)o=q;else if(r===4)o=y;else throw new TypeError("Unknown boolean type size: "+t);return this.fromWireType(o[l>>s])},destructorFunction:null})}function ur(e){if(!(this instanceof G)||!(e instanceof G))return!1;for(var t=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=e.$$.ptrType.registeredClass,a=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)a=n.upcast(a),n=n.baseClass;return t===n&&r===a}function cr(e){return{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}}function Le(e){function t(r){return r.$$.ptrType.registeredClass.name}h(t(e)+" instance already deleted")}var Ue=!1;function pt(e){}function fr(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}function gt(e){e.count.value-=1;var t=e.count.value===0;t&&fr(e)}function mt(e,t,r){if(t===r)return e;if(r.baseClass===void 0)return null;var n=mt(e,t,r.baseClass);return n===null?null:r.downcast(n)}var _t={};function dr(){return Object.keys(ce).length}function pr(){var e=[];for(var t in ce)ce.hasOwnProperty(t)&&e.push(ce[t]);return e}var le=[];function $e(){for(;le.length;){var e=le.pop();e.$$.deleteScheduled=!1,e.delete()}}var ue=void 0;function gr(e){ue=e,le.length&&ue&&ue($e)}function mr(){i.getInheritedInstanceCount=dr,i.getLiveInheritedInstances=pr,i.flushPendingDeletes=$e,i.setDelayFunction=gr}var ce={};function _r(e,t){for(t===void 0&&h("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t}function hr(e,t){return t=_r(e,t),ce[t]}
2function ye(e,t){(!t.ptrType||!t.ptr)&&ve("makeClassHandle requires ptr and ptrType");var r=!!t.smartPtrType,n=!!t.smartPtr;return r!==n&&ve("Both smartPtrType and smartPtr must be specified"),t.count={value:1},fe(Object.create(e,{$$:{value:t}}))}function ht(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=hr(this.registeredClass,t);if(r!==void 0){if(r.$$.count.value===0)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function a(){return this.isSmartPointer?ye(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):ye(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var s=this.registeredClass.getActualType(t),l=_t[s];if(!l)return a.call(this);var o;this.isConst?o=l.constPointerType:o=l.pointerType;var c=mt(t,this.registeredClass,o.registeredClass);return c===null?a.call(this):this.isSmartPointer?ye(o.registeredClass.instancePrototype,{ptrType:o,ptr:c,smartPtrType:this,smartPtr:e}):ye(o.registeredClass.instancePrototype,{ptrType:o,ptr:c})}function fe(e){return typeof FinalizationRegistry>"u"?(fe=t=>t,e):(Ue=new FinalizationRegistry(t=>{console.warn(t.leakWarning.stack.replace(/^Error: /,"")),gt(t.$$)}),fe=t=>{var r=t.$$,n=!!r.smartPtr;if(n){var a={$$:r},s=r.ptrType.registeredClass;a.leakWarning=new Error("Embind found a leaked C++ instance "+s.name+" <0x"+r.ptr.toString(16)+`>. 3We'll free it automatically in this case, but this functionality is not reliable across various environments. 4Make sure to invoke .delete() manually once you're done with the instance instead. 5Originally allocated`),"captureStackTrace"in Error&&Error.captureStackTrace(a.leakWarning,ht),Ue.register(t,a,t)}return t},pt=t=>Ue.unregister(t),fe(e))}function vr(){if(this.$$.ptr||Le(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=fe(Object.create(Object.getPrototypeOf(this),{$$:{value:cr(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function yr(){this.$$.ptr||Le(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&h("Object already scheduled for deletion"),pt(this),gt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function br(){return!this.$$.ptr}function Tr(){return this.$$.ptr||Le(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&h("Object already scheduled for deletion"),le.push(this),le.length===1&&ue&&ue($e),this.$$.deleteScheduled=!0,this}function wr(){G.prototype.isAliasOf=ur,G.prototype.clone=vr,G.prototype.delete=yr,G.prototype.isDeleted=br,G.prototype.deleteLater=Tr}function G(){}function vt(e,t,r){if(e[t].overloadTable===void 0){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||h("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[t].overloadTable+")!"),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}}function Cr(e,t,r){i.hasOwnProperty(e)?(h("Cannot register public name '"+e+"' twice"),vt(i,e,e),i.hasOwnProperty(r)&&h("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),i[e].overloadTable[r]=t):i[e]=t}function Er(e,t,r,n,a,s,l,o){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=a,this.getActualType=s,this.upcast=l,this.downcast=o,this.pureVirtualFunctions=[]}function Ne(e,t,r){for(;t!==r;)t.upcast||h("Expected null or instance of "+r.name+", got an instance of "+t.name),e=t.upcast(e),t=t.baseClass;return e}function Pr(e,t){if(t===null)return this.isReference&&h("null is not a valid "+this.name),0;t.$$||h('Cannot pass "'+te(t)+'" as a '+this.name),t.$$.ptr||h("Cannot pass deleted object as a pointer of type "+this.name);var r=t.$$.ptrType.registeredClass,n=Ne(t.$$.ptr,r,this.registeredClass);return n}function Sr(e,t){var r;if(t===null)return this.isReference&&h("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,r),r):0;t.$$||h('Cannot pass "'+te(t)+'" as a '+this.name),t.$$.ptr||h("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&t.$$.ptrType.isConst&&h("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);var n=t.$$.ptrType.registeredClass;if(r=Ne(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&h("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:h("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var a=t.clone();r=this.rawShare(r,He.toHandle(function(){a.delete()})),e!==null&&e.push(this.rawDestructor,r)}break;default:h("Unsupporting sharing policy")}return r}function Fr(e,t){if(t===null)return this.isReference&&h("null is not a valid "+this.name),0;t.$$||h('Cannot pass "'+te(t)+'" as a '+this.name),t.$$.ptr||h("Cannot pass deleted object as a pointer of type "+this.name),t.$$.ptrType.isConst&&h("Cannot convert argument of type "+t.$$.ptrType.name+" to parameter type "+this.name);var r=t.$$.ptrType.registeredClass,n=Ne(t.$$.ptr,r,this.registeredClass);return n}function be(e){return this.fromWireType(y[e>>2])}function Ar(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function Ir(e){this.rawDestructor&&this.rawDestructor(e)}function kr(e){e!==null&&e.delete()}function Or(){j.prototype.getPointee=Ar,j.prototype.destructor=Ir,j.prototype.argPackAdvance=8,j.prototype.readValueFromPointer=be,j.prototype.deleteObject=kr,j.prototype.fromWireType=ht}function j(e,t,r,n,a,s,l,o,c,f,m){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=a,this.pointeeType=s,this.sharingPolicy=l,this.rawGetPointee=o,this.rawConstructor=c,this.rawShare=f,this.rawDestructor=m,!a&&t.baseClass===void 0?n?(this.toWireType=Pr,this.destructorFunction=null):(this.toWireType=Fr,this.destructorFunction=null):this.toWireType=Sr}function Rr(e,t,r){i.hasOwnProperty(e)||ve("Replacing nonexistant public symbol"),i[e].overloadTable!==void 0&&r!==void 0||(i[e]=t,i[e].argCount=r)}function Mr(e,t,r){p("dynCall_"+e in i,"bad function pointer type - no table for sig '"+e+"'"),r&&r.length?p(r.length===e.substring(1).replace(/j/g,"--").length):p(e.length==1);var n=i["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}var Te=[];function We(e){var t=Te[e];return t||(e>=Te.length&&(Te.length=e+1),Te[e]=t=_e.get(e)),p(_e.get(e)==t,"JavaScript-side Wasm function table mirror is out of date!"),t}function Dr(e,t,r){if(e.includes("j"))return Mr(e,t,r);p(We(t),"missing table entry in dynCall: "+t);var n=We(t).apply(null,r);return n}function Lr(e,t){p(e.includes("j")||e.includes("p"),"getDynCaller should only be called with i64 sigs");var r=[];return function(){return r.length=0,Object.assign(r,arguments),Dr(e,t,r)}}function ee(e,t){e=O(e);function r(){return e.includes("j")?Lr(e,t):We(t)}var n=r();return typeof n!="function"&&h("unknown function pointer with signature "+e+": "+t),n}var yt=void 0;function Ur(e){var t=Fn(e),r=O(t);return z(t),r}function xe(e,t){var r=[],n={};
5function a(s){if(!n[s]&&!Q[s]){if(he[s]){he[s].forEach(a);return}r.push(s),n[s]=!0}}throw t.forEach(a),new yt(e+": "+r.map(Ur).join([", "]))}function $r(e,t,r,n,a,s,l,o,c,f,m,_,g){m=O(m),s=ee(a,s),o&&(o=ee(l,o)),f&&(f=ee(c,f)),g=ee(_,g);var b=ct(m);Cr(b,function(){xe("Cannot construct "+m+" due to unbound types",[n])}),se([e,t,r],n?[n]:[],function(E){E=E[0];var T,M;n?(T=E.registeredClass,M=T.instancePrototype):M=G.prototype;var N=ft(b,function(){if(Object.getPrototypeOf(this)!==u)throw new Z("Use 'new' to construct "+m);if(d.constructor_body===void 0)throw new Z(m+" has no accessible constructor");var Ee=d.constructor_body[arguments.length];if(Ee===void 0)throw new Z("Tried to invoke ctor of "+m+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(d.constructor_body).toString()+") parameters instead!");return Ee.apply(this,arguments)}),u=Object.create(M,{constructor:{value:N}});N.prototype=u;var d=new Er(m,N,u,g,T,s,o,f),P=new j(m,d,!0,!1,!1),C=new j(m+"*",d,!1,!1,!1),K=new j(m+" const*",d,!1,!0,!1);return _t[e]={pointerType:C,constPointerType:K},Rr(b,N),[P,C,K]})}function bt(e,t){for(var r=[],n=0;n<e;n++)r.push(v[t+n*4>>2]);return r}function Nr(e){for(;e.length;){var t=e.pop(),r=e.pop();r(t)}}function Tt(e,t,r,n,a){var s=t.length;s<2&&h("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var l=t[1]!==null&&r!==null,o=!1,c=1;c<t.length;++c)if(t[c]!==null&&t[c].destructorFunction===void 0){o=!0;break}var f=t[0].name!=="void",m=s-2,_=new Array(m),g=[],b=[];return function(){arguments.length!==m&&h("function "+e+" called with "+arguments.length+" arguments, expected "+m+" args!"),b.length=0;var E;g.length=l?2:1,g[0]=a,l&&(E=t[1].toWireType(b,this),g[1]=E);for(var T=0;T<m;++T)_[T]=t[T+2].toWireType(b,arguments[T]),g.push(_[T]);var M=n.apply(null,g);function N(u){if(o)Nr(b);else for(var d=l?1:2;d<t.length;d++){var P=d===1?E:_[d-2];t[d].destructorFunction!==null&&t[d].destructorFunction(P)}if(f)return t[0].fromWireType(u)}return N(M)}}function Wr(e,t,r,n,a,s){p(t>0);var l=bt(t,r);a=ee(n,a),se([],[e],function(o){o=o[0];var c="constructor "+o.name;if(o.registeredClass.constructor_body===void 0&&(o.registeredClass.constructor_body=[]),o.registeredClass.constructor_body[t-1]!==void 0)throw new Z("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+o.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return o.registeredClass.constructor_body[t-1]=()=>{xe("Cannot construct "+o.name+" due to unbound types",l)},se([],l,function(f){return f.splice(1,0,null),o.registeredClass.constructor_body[t-1]=Tt(c,f,null,a,s),[]}),[]})}function xr(e,t,r,n,a,s,l,o){var c=bt(r,n);t=O(t),s=ee(a,s),se([],[e],function(f){f=f[0];var m=f.name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),o&&f.registeredClass.pureVirtualFunctions.push(t);function _(){xe("Cannot call "+m+" due to unbound types",c)}var g=f.registeredClass.instancePrototype,b=g[t];return b===void 0||b.overloadTable===void 0&&b.className!==f.name&&b.argCount===r-2?(_.argCount=r-2,_.className=f.name,g[t]=_):(vt(g,t,m),g[t].overloadTable[r-2]=_),se([],c,function(E){var T=Tt(m,E,f,s,l);return g[t].overloadTable===void 0?(T.argCount=r-2,g[t]=T):g[t].overloadTable[r-2]=T,[]}),[]})}var je=[],$=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function jr(e){e>4&&--$[e].refcount===0&&($[e]=void 0,je.push(e))}function Hr(){for(var e=0,t=5;t<$.length;++t)$[t]!==void 0&&++e;return e}function Yr(){for(var e=5;e<$.length;++e)if($[e]!==void 0)return $[e];return null}function Gr(){i.count_emval_handles=Hr,i.get_first_emval=Yr}var He={toValue:e=>(e||h("Cannot use deleted val. handle = "+e),$[e].value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:{var t=je.length?je.pop():$.length;return $[t]={refcount:1,value:e},t}}}};function zr(e,t){t=O(t),x(e,{name:t,fromWireType:function(r){var n=He.toValue(r);return jr(r),n},toWireType:function(r,n){return He.toHandle(n)},argPackAdvance:8,readValueFromPointer:be,destructorFunction:null})}function te(e){if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e}function Vr(e,t){switch(t){case 2:return function(r){return this.fromWireType(tt[r>>2])};case 3:return function(r){return this.fromWireType(rt[r>>3])};default:throw new TypeError("Unknown float type: "+e)}}function Br(e,t,r){var n=Me(r);t=O(t),x(e,{name:t,fromWireType:function(a){return a},toWireType:function(a,s){if(typeof s!="number"&&typeof s!="boolean")throw new TypeError('Cannot convert "'+te(s)+'" to '+this.name);return s},argPackAdvance:8,readValueFromPointer:Vr(t,n),destructorFunction:null})}function Jr(e,t,r){switch(t){case 0:return r?function(a){return U[a]}:function(a){return F[a]};case 1:return r?function(a){return q[a>>1]}:function(a){return me[a>>1]};case 2:return r?function(a){return y[a>>2]}:function(a){return v[a>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function Kr(e,t,r,n,a){t=O(t),a===-1&&(a=4294967295);var s=Me(r),l=_=>_;if(n===0){var o=32-8*r;l=_=>_<<o>>>o}var c=t.includes("unsigned"),f=(_,g)=>{if(typeof _!="number"&&typeof _!="boolean")throw new TypeError('Cannot convert "'+te(_)+'" to '+g);if(_<n||_>a)throw new TypeError('Passing a number "'+te(_)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+a+"]!")},m;c?m=function(_,g){return f(g,this.name),g>>>0}:m=function(_,g){return f(g,this.name),g},x(e,{name:t,fromWireType:l,toWireType:m,argPackAdvance:8,readValueFromPointer:Jr(t,s,n!==0),destructorFunction:null})}function qr(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array
5],a=n[t];function s(l){l=l>>2;var o=v,c=o[l],f=o[l+1];return new a(ge,f,c)}r=O(r),x(e,{name:r,fromWireType:s,argPackAdvance:8,readValueFromPointer:s},{ignoreDuplicateRegistrations:!0})}function Xr(e,t){t=O(t);var r=t==="std::string";x(e,{name:t,fromWireType:function(n){var a=v[n>>2],s=n+4,l;if(r)for(var o=s,c=0;c<=a;++c){var f=s+c;if(c==a||F[f]==0){var m=f-o,_=Fe(o,m);l===void 0?l=_:(l+="\0",l+=_),o=f+1}}else{for(var g=new Array(a),c=0;c<a;++c)g[c]=String.fromCharCode(F[s+c]);l=g.join("")}return z(n),l},toWireType:function(n,a){a instanceof ArrayBuffer&&(a=new Uint8Array(a));var s,l=typeof a=="string";l||a instanceof Uint8Array||a instanceof Uint8ClampedArray||a instanceof Int8Array||h("Cannot pass non-string to std::string"),r&&l?s=et(a):s=a.length;var o=Ge(4+s+1),c=o+4;if(v[o>>2]=s,r&&l)xt(a,c,s+1);else if(l)for(var f=0;f<s;++f){var m=a.charCodeAt(f);m>255&&(z(c),h("String has UTF-16 code units that do not fit in 8 bits")),F[c+f]=m}else for(var f=0;f<s;++f)F[c+f]=a[f];return n!==null&&n.push(z,o),o},argPackAdvance:8,readValueFromPointer:be,destructorFunction:function(n){z(n)}})}var wt=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0;function Qr(e,t){p(e%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");for(var r=e,n=r>>1,a=n+t/2;!(n>=a)&&me[n];)++n;if(r=n<<1,r-e>32&&wt)return wt.decode(F.subarray(e,r));for(var s="",l=0;!(l>=t/2);++l){var o=q[e+l*2>>1];if(o==0)break;s+=String.fromCharCode(o)}return s}function Zr(e,t,r){if(p(t%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),p(typeof r=="number","stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),r===void 0&&(r=2147483647),r<2)return 0;r-=2;for(var n=t,a=r<e.length*2?r/2:e.length,s=0;s<a;++s){var l=e.charCodeAt(s);q[t>>1]=l,t+=2}return q[t>>1]=0,t-n}function en(e){return e.length*2}function tn(e,t){p(e%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");for(var r=0,n="";!(r>=t/4);){var a=y[e+r*4>>2];if(a==0)break;if(++r,a>=65536){var s=a-65536;n+=String.fromCharCode(55296|s>>10,56320|s&1023)}else n+=String.fromCharCode(a)}return n}function rn(e,t,r){if(p(t%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),p(typeof r=="number","stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),r===void 0&&(r=2147483647),r<4)return 0;for(var n=t,a=n+r-4,s=0;s<e.length;++s){var l=e.charCodeAt(s);if(l>=55296&&l<=57343){var o=e.charCodeAt(++s);l=65536+((l&1023)<<10)|o&1023}if(y[t>>2]=l,t+=4,t+4>a)break}return y[t>>2]=0,t-n}function nn(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t}function an(e,t,r){r=O(r);var n,a,s,l,o;t===2?(n=Qr,a=Zr,l=en,s=()=>me,o=1):t===4&&(n=tn,a=rn,l=nn,s=()=>v,o=2),x(e,{name:r,fromWireType:function(c){for(var f=v[c>>2],m=s(),_,g=c+4,b=0;b<=f;++b){var E=c+4+b*t;if(b==f||m[E>>o]==0){var T=E-g,M=n(g,T);_===void 0?_=M:(_+="\0",_+=M),g=E+t}}return z(c),_},toWireType:function(c,f){typeof f!="string"&&h("Cannot pass non-string to C++ string type "+r);var m=l(f),_=Ge(4+m+t);return v[_>>2]=m>>o,a(f,_+4,m+t),c!==null&&c.push(z,_),_},argPackAdvance:8,readValueFromPointer:be,destructorFunction:function(c){z(c)}})}function on(e,t){t=O(t),x(e,{isVoid:!0,name:t,argPackAdvance:0,fromWireType:function(){},toWireType:function(r,n){}})}function sn(){A("native code called abort()")}function ln(e,t,r){F.copyWithin(e,t,t+r)}function un(){return 2147483648}function cn(e){try{return ie.grow(e-ge.byteLength+65535>>>16),nt(ie.buffer),1}catch(t){S("emscripten_realloc_buffer: Attempted to grow heap from "+ge.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}function fn(e){var t=F.length;e=e>>>0,p(e>t);var r=un();if(e>r)return S("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+r+" bytes!"),!1;let n=(c,f)=>c+(f-c%f)%f;for(var a=1;a<=4;a*=2){var s=t*(1+.2/a);s=Math.min(s,e+100663296);var l=Math.min(r,n(Math.max(e,s),65536)),o=cn(l);if(o)return!0}return S("Failed to grow the heap from "+t+" bytes to "+l+" bytes, not enough memory!"),!1}var Ye={};function dn(){return Ke||"./this.program"}function de(){if(!de.strings){var e=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:dn()};for(var r in Ye)Ye[r]===void 0?delete t[r]:t[r]=Ye[r];var n=[];for(var r in t)n.push(r+"="+t[r]);de.strings=n}return de.strings}function pn(e,t,r){for(var n=0;n<e.length;++n)p(e.charCodeAt(n)===(e.charCodeAt(n)&255)),U[t++>>0]=e.charCodeAt(n);U[t>>0]=0}function gn(e,t){var r=0;
5return de().forEach(function(n,a){var s=t+r;v[e+a*4>>2]=s,pn(n,s),r+=n.length+1}),0}function mn(e,t){var r=de();v[e>>2]=r.length;var n=0;return r.forEach(function(a){n+=a.length+1}),v[t>>2]=n,0}function _n(e){A("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")}function hn(e,t,r,n,a){return 70}var vn=[null,[],[]];function yn(e,t){var r=vn[e];p(r),t===0||t===10?((e===1?Ut:S)(Qe(r,0)),r.length=0):r.push(t)}function bn(e,t,r,n){for(var a=0,s=0;s<r;s++){var l=v[t>>2],o=v[t+4>>2];t+=8;for(var c=0;c<o;c++)yn(e,F[l+c]);a+=o}return v[n>>2]=a,0}function we(e){return e%4===0&&(e%100!==0||e%400===0)}function Tn(e,t){for(var r=0,n=0;n<=t;r+=e[n++]);return r}var Ct=[31,29,31,30,31,30,31,31,30,31,30,31],Et=[31,28,31,30,31,30,31,31,30,31,30,31];function wn(e,t){for(var r=new Date(e.getTime());t>0;){var n=we(r.getFullYear()),a=r.getMonth(),s=(n?Ct:Et)[a];if(t>s-r.getDate())t-=s-r.getDate()+1,r.setDate(1),a<11?r.setMonth(a+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1));else return r.setDate(r.getDate()+t),r}return r}function Cn(e,t,r){var n=et(e)+1,a=new Array(n);return Ze(e,a,0,a.length),a}function En(e,t,r,n){var a=y[n+40>>2],s={tm_sec:y[n>>2],tm_min:y[n+4>>2],tm_hour:y[n+8>>2],tm_mday:y[n+12>>2],tm_mon:y[n+16>>2],tm_year:y[n+20>>2],tm_wday:y[n+24>>2],tm_yday:y[n+28>>2],tm_isdst:y[n+32>>2],tm_gmtoff:y[n+36>>2],tm_zone:a?Fe(a):""},l=Fe(r),o={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var c in o)l=l.replace(new RegExp(c,"g"),o[c]);var f=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],m=["January","February","March","April","May","June","July","August","September","October","November","December"];function _(u,d,P){for(var C=typeof u=="number"?u.toString():u||"";C.length<d;)C=P[0]+C;return C}function g(u,d){return _(u,d,"0")}function b(u,d){function P(K){return K<0?-1:K>0?1:0}var C;return(C=P(u.getFullYear()-d.getFullYear()))===0&&(C=P(u.getMonth()-d.getMonth()))===0&&(C=P(u.getDate()-d.getDate())),C}function E(u){switch(u.getDay()){case 0:return new Date(u.getFullYear()-1,11,29);case 1:return u;case 2:return new Date(u.getFullYear(),0,3);case 3:return new Date(u.getFullYear(),0,2);case 4:return new Date(u.getFullYear(),0,1);case 5:return new Date(u.getFullYear()-1,11,31);case 6:return new Date(u.getFullYear()-1,11,30)}}function T(u){var d=wn(new Date(u.tm_year+1900,0,1),u.tm_yday),P=new Date(d.getFullYear(),0,4),C=new Date(d.getFullYear()+1,0,4),K=E(P),Ee=E(C);return b(K,d)<=0?b(Ee,d)<=0?d.getFullYear()+1:d.getFullYear():d.getFullYear()-1}var M={"%a":function(u){return f[u.tm_wday].substring(0,3)},"%A":function(u){return f[u.tm_wday]},"%b":function(u){return m[u.tm_mon].substring(0,3)},"%B":function(u){return m[u.tm_mon]},"%C":function(u){var d=u.tm_year+1900;return g(d/100|0,2)},"%d":function(u){return g(u.tm_mday,2)},"%e":function(u){return _(u.tm_mday,2," ")},"%g":function(u){return T(u).toString().substring(2)},"%G":function(u){return T(u)},"%H":function(u){return g(u.tm_hour,2)},"%I":function(u){var d=u.tm_hour;return d==0?d=12:d>12&&(d-=12),g(d,2)},"%j":function(u){return g(u.tm_mday+Tn(we(u.tm_year+1900)?Ct:Et,u.tm_mon-1),3)},"%m":function(u){return g(u.tm_mon+1,2)},"%M":function(u){return g(u.tm_min,2)},"%n":function(){return` 6`},"%p":function(u){return u.tm_hour>=0&&u.tm_hour<12?"AM":"PM"},"%S":function(u){return g(u.tm_sec,2)},"%t":function(){return" "},"%u":function(u){return u.tm_wday||7},"%U":function(u){var d=u.tm_yday+7-u.tm_wday;return g(Math.floor(d/7),2)},"%V":function(u){var d=Math.floor((u.tm_yday+7-(u.tm_wday+6)%7)/7);if((u.tm_wday+371-u.tm_yday-2)%7<=2&&d++,d){if(d==53){var C=(u.tm_wday+371-u.tm_yday)%7;C!=4&&(C!=3||!we(u.tm_year))&&(d=1)}}else{d=52;var P=(u.tm_wday+7-u.tm_yday-1)%7;(P==4||P==5&&we(u.tm_year%400-1))&&d++}return g(d,2)},"%w":function(u){return u.tm_wday},"%W":function(u){var d=u.tm_yday+7-(u.tm_wday+6)%7;return g(Math.floor(d/7),2)},"%y":function(u){return(u.tm_year+1900).toString().substring(2)},"%Y":function(u){return u.tm_year+1900},"%z":function(u){var d=u.tm_gmtoff,P=d>=0;return d=Math.abs(d)/60,d=d/60*100+d%60,(P?"+":"-")+("0000"+d).slice(-4)},"%Z":function(u){return u.tm_zone},"%%":function(){return"%"}};l=l.replace(/%%/g,"\0\0");for(var c in M)l.includes(c)&&(l=l.replace(new RegExp(c,"g"),M[c](s)));l=l.replace(/\0\0/g,"%");var N=Cn(l);return N.length>t?0:(er(N,e),N.length-1)}function Pn(e,t,r,n){return En(e,t,r,n)}ar(),Z=i.BindingError=De(Error,"BindingError"),dt=i.InternalError=De(Error,"InternalError"),wr(),mr(),Or(),yt=i.UnboundTypeError=De(Error,"UnboundTypeError"),Gr();function Sn(){$t("fetchSettings")}var Pt={__cxa_allocate_exception:tr,__cxa_throw:nr,_embind_register_bigint:ir,_embind_register_bool:lr,_embind_register_class:$r,_embind_register_class_constructor:Wr,_embind_register_class_function:xr,_embind_register_emval:zr,_embind_register_float:Br,_embind_register_integer:Kr,_embind_register_memory_view:qr,_embind_register_std_string:Xr,_embind_register_std_wstring:an,_embind_register_void:on,abort:sn,emscripten_memcpy_big:ln,emscripten_resize_heap:fn,environ_get:gn,environ_sizes_get:mn,fd_close:_n,fd_seek:hn,fd_write:bn,strftime_l:Pn};Zt(),i.___wasm_call_ctors=w("__wasm_call_ctors");var Ge=i._malloc=w("malloc"),z=i._free=w("free"),Fn=i.___getTypeName=w("__getTypeName");i.__embind_initialize_bindings=w("_embind_initialize_bindings"),i.___errno_location=w("__errno_location"),i._fflush=w("fflush");var St=i._emscripten_stack_init=function(){return(St=i._emscripten_stack_init=i.asm.emscripten_stack_init).apply(null,arguments)};i._emscripten_stack_get_free=function(){return(i._emscripten_stack_get_free=i.asm.emscripten_stack_get_free).apply(null,arguments)},i._emscripten_stack_get_base=function(){return(i._emscripten_stack_get_base=i.asm.emscripten_stack_get_base).apply(null,arguments)};var ze=i._emscripten_stack_get_end=function(){return(ze=i._emscripten_stack_get_end=i.asm.emscripten_stack_get_end).apply(null,arguments)};i.stackSave=w("stackSave"),i.stackRestore=w("stackRestore"),i.stackAlloc=w("stackAlloc");var An=i.___cxa_is_pointer_type=w("__cxa_is_pointer_type");i.dynCall_viijii=w("dynCall_viijii"),i.dynCall_ji=w("dynCall_ji"),i.dynCall_jiji=w("dynCall_jiji"),i.dynCall_iiiiij=w("dynCall_iiiiij"),i.dynCall_iiiiijj=w("dynCall_iiiiijj"),i.dynCall_iiiiiijj=w("dynCall_iiiiiijj");var In=["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","print","printErr","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","
6stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readAsmConstArgsArray","readAsmConstArgs","mainThreadEM_ASM","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate","InternalError","BindingError","UnboundTypeError","PureVirtualError","init_embind","throwInternalError","throwBindingError","throwUnboundTypeError","ensureOverloadTable","exposePublicSymbol","replacePublicSymbol","extendError","createNamedFunction","embindRepr","registeredInstances","getBasestPointer","registerInheritedInstance","unregisterInheritedInstance","getInheritedInstance","getInheritedInstanceCount","getLiveInheritedInstances","registeredTypes","awaitingDependencies","typeDependencies","registeredPointers","registerType","whenDependentTypesAreResolved","embind_charCodes","embind_init_charCo
6des","readLatin1String","getTypeName","heap32VectorToArray","requireRegisteredType","getShiftFromSize","integerReadValueFromPointer","enumReadValueFromPointer","floatReadValueFromPointer","simpleReadValueFromPointer","runDestructors","new_","craftInvokerFunction","embind__requireFunction","tupleRegistrations","structRegistrations","genericPointerToWireType","constNoSmartPtrRawPointerToWireType","nonConstNoSmartPtrRawPointerToWireType","init_RegisteredPointer","RegisteredPointer","RegisteredPointer_getPointee","RegisteredPointer_destructor","RegisteredPointer_deleteObject","RegisteredPointer_fromWireType","runDestructor","releaseClassHandle","finalizationRegistry","detachFinalizer_deps","detachFinalizer","attachFinalizer","makeClassHandle","init_ClassHandle","ClassHandle","ClassHandle_isAliasOf","throwInstanceAlreadyDeleted","ClassHandle_clone","ClassHandle_delete","deletionQueue","ClassHandle_isDeleted","ClassHandle_deleteLater","flushPendingDeletes","delayFunction","setDelayFunction","RegisteredClass","shallowCopyInternalPointer","downcastPointer","upcastPointer","validateThis","char_0","char_9","makeLegalFunctionName","emval_handle_array","emval_free_list","emval_symbols","init_emval","count_emval_handles","get_first_emval","getStringOrSymbol","Emval","emval_newers","craftEmvalAllocator","emval_get_global","emval_lookupTypes","emval_allocateDestructors","emval_methodCallers","emval_addMethodCaller","emval_registeredMethods"];In.forEach(Wt);var kn=["ptrToString","zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readAsmConstArgs","mainThreadEM_ASM","jstoi_q","jstoi_s","listenOnce","autoResumeAudioContext","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","
6writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","reallyNegative","unSign","strLen","reSign","formatString","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","checkWasiClock","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","registerInheritedInstance","unregisterInheritedInstance","requireRegisteredType","enumReadValueFromPointer","validateThis","getStringOrSymbol","craftEmvalAllocator","emval_get_global","emval_lookupTypes","emval_allocateDestructors","emval_addMethodCaller"];kn.forEach(Nt);var Ce;ae=function e(){Ce||Ft(),Ce||(ae=e)};function On(){St(),jt()}function Ft(e){if(V>0||(On(),Ht(),V>0))return;function t(){Ce||(Ce=!0,i.calledRun=!0,!pe&&(Yt(),Be(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),p(!i._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),Gt()))}i.setStatus?(i.setStatus("Running..."),setTimeout(function(){setTimeout(function(){i.setStatus("")},1),t()},1)):t(),ke()}if(i.preInit)for(typeof i.preInit=="function"&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Ft(),R.ready}})();D.exports=re})(It);var Mn=It.exports,Dn=At&&At.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(H,"__esModule",{value:!0});var kt=H.LazPerf=Rt=H.create=Ot=H.createLazPerf=void 0;const Ve=Dn(Mn);var Ot=H.createLazPerf=Ve.default,Rt=H.create=Ve.default;kt=H.LazPerf={create:Ve.default};const Un=Rn({__proto__:null,get LazPerf(){return kt},get create(){return Rt},get createLazPerf(){return Ot},default:H},[H]);export{Un as i};
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.