@miris-inc/core 0.0.8-bed26f0 → 0.0.8-ccd19da

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ async function Li(Le={}){var $r,l=Le,ze=!1,Br=!0,zi=!1,Yi=!1,Ye=[],Lr="./this.program",zr=(e,r)=>{throw r},Ne=import.meta.url,wr="";function Ge(e){return l.locateFile?l.locateFile(e,wr):wr+e}var Yr,Tr;if(ze||Br){try{wr=new URL(".",Ne).href}catch{}Br&&(Tr=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),Yr=async e=>{var r=await fetch(e,{credentials:"same-origin"});if(r.ok)return r.arrayBuffer();throw new Error(r.status+" : "+r.url)}}var Nr=console.log.bind(console),B=console.error.bind(console),G,Q=!1,rr;function Ni(e,r){e||z(r)}var Gi=e=>e.startsWith("file://"),Gr,qr,er,k,A,U,L,T,w,tr,nr,V,Xr,Jr=!1;function Kr(){var e=er.buffer;l.HEAP8=k=new Int8Array(e),U=new Int16Array(e),l.HEAPU8=A=new Uint8Array(e),L=new Uint16Array(e),l.HEAP32=T=new Int32Array(e),l.HEAPU32=w=new Uint32Array(e),l.HEAPF32=tr=new Float32Array(e),l.HEAPF64=nr=new Float64Array(e),V=new BigInt64Array(e),Xr=new BigUint64Array(e)}function qe(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)at(l.preRun.shift());Qr(ee)}function Xe(){Jr=!0,H.__wasm_call_ctors()}function Je(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)it(l.postRun.shift());Qr(re)}function z(e){l.onAbort?.(e),e="Aborted("+e+")",B(e),Q=!0,e+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(e);throw qr?.(r),r}var Fr;function Ke(){return l.locateFile?Ge("aqua-parser.wasm"):new URL("aqua-parser.wasm",import.meta.url).href}function Ze(e){if(e==Fr&&G)return new Uint8Array(G);if(Tr)return Tr(e);throw"both async and sync fetching of the wasm failed"}async function Qe(e){if(!G)try{var r=await Yr(e);return new Uint8Array(r)}catch{}return Ze(e)}async function rt(e,r){try{var t=await Qe(e),n=await WebAssembly.instantiate(t,r);return n}catch(i){B(`failed to asynchronously prepare wasm: ${i}`),z(i)}}async function et(e,r,t){if(!e)try{var n=fetch(r,{credentials:"same-origin"}),i=await WebAssembly.instantiateStreaming(n,t);return i}catch(a){B(`wasm streaming compile failed: ${a}`),B("falling back to ArrayBuffer instantiation")}return rt(r,t)}function tt(){return{env:Ie,wasi_snapshot_preview1:Ie}}async function nt(){function e(a,s){return H=a.exports,er=H.memory,Kr(),fe=H.__indirect_function_table,si(H),H}function r(a){return e(a.instance)}var t=tt();if(l.instantiateWasm)return new Promise((a,s)=>{l.instantiateWasm(t,(o,u)=>{a(e(o,u))})});Fr??=Ke();var n=await et(G,Fr,t),i=r(n);return i}class Zr{name="ExitStatus";constructor(r){this.message=`Program terminated with exit(${r})`,this.status=r}}var Qr=e=>{for(;e.length>0;)e.shift()(l)},re=[],it=e=>re.push(e),ee=[],at=e=>ee.push(e);function qi(e,r="i8"){switch(r.endsWith("*")&&(r="*"),r){case"i1":return k[e];case"i8":return k[e];case"i16":return U[e>>1];case"i32":return T[e>>2];case"i64":return V[e>>3];case"float":return tr[e>>2];case"double":return nr[e>>3];case"*":return w[e>>2];default:z(`invalid type for getValue: ${r}`)}}var Cr=!0;function Xi(e,r,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":k[e]=r;break;case"i8":k[e]=r;break;case"i16":U[e>>1]=r;break;case"i32":T[e>>2]=r;break;case"i64":V[e>>3]=BigInt(r);break;case"float":tr[e>>2]=r;break;case"double":nr[e>>3]=r;break;case"*":w[e>>2]=r;break;default:z(`invalid type for setValue: ${t}`)}}var y=e=>De(e),m=()=>xe(),ir=[],ar=0,st=e=>{var r=new Pr(e);return r.get_caught()||(r.set_caught(!0),ar--),r.set_rethrown(!1),ir.push(r),Ue(e),je(e)},x=0,ot=()=>{g(0,0);var e=ir.pop();Oe(e.excPtr),x=0};class Pr{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){w[this.ptr+4>>2]=r}get_type(){return w[this.ptr+4>>2]}set_destructor(r){w[this.ptr+8>>2]=r}get_destructor(){return w[this.ptr+8>>2]}set_caught(r){r=r?1:0,k[this.ptr+12]=r}get_caught(){return k[this.ptr+12]!=0}set_rethrown(r){r=r?1:0,k[this.ptr+13]=r}get_rethrown(){return k[this.ptr+13]!=0}init(r,t){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(t)}set_adjusted_ptr(r){w[this.ptr+16>>2]=r}get_adjusted_ptr(){return w[this.ptr+16>>2]}}var sr=e=>Re(e),kr=e=>{var r=x;if(!r)return sr(0),0;var t=new Pr(r);t.set_adjusted_ptr(r);var n=t.get_type();if(!n)return sr(0),r;for(var i of e){if(i===0||i===n)break;var a=t.ptr+16;if(Ve(i,n,a))return sr(i),r}return sr(n),r},ut=()=>kr([]),ct=e=>kr([e]),ft=(e,r)=>kr([e,r]),lt=()=>{var e=ir.pop();e||z("no exception to throw");var r=e.excPtr;throw e.get_rethrown()||(ir.push(e),e.set_rethrown(!0),e.set_caught(!1),ar++),x=r,x},vt=(e,r,t)=>{var n=new Pr(e);throw n.init(r,t),x=e,ar++,x},_t=()=>ar,dt=e=>{throw x||(x=e),x},pt=()=>z(""),C=e=>{for(var r="";;){var t=A[e++];if(!t)return r;r+=String.fromCharCode(t)}},Y={},j={},or={},q=class extends Error{constructor(r){super(r),this.name="BindingError"}},h=e=>{throw new q(e)};function ht(e,r,t={}){var n=r.name;if(e||h(`type "${n}" must have a positive integer typeid pointer`),j.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;h(`Cannot register type '${n}' twice`)}if(j[e]=r,delete or[e],Y.hasOwnProperty(e)){var i=Y[e];delete Y[e],i.forEach(a=>a())}}function E(e,r,t={}){return ht(e,r,t)}var te=(e,r,t)=>{switch(r){case 1:return t?n=>k[n]:n=>A[n];case 2:return t?n=>U[n>>1]:n=>L[n>>1];case 4:return t?n=>T[n>>2]:n=>w[n>>2];case 8:return t?n=>V[n>>3]:n=>Xr[n>>3];default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},gt=(e,r,t,n,i)=>{r=C(r);const a=n===0n;let s=o=>o;if(a){const o=t*8;s=u=>BigInt.asUintN(o,u),i=s(i)}E(e,{name:r,fromWireType:s,toWireType:(o,u)=>(typeof u=="number"&&(u=BigInt(u)),u),readValueFromPointer:te(r,t,!a),destructorFunction:null})},yt=(e,r,t,n)=>{r=C(r),E(e,{name:r,fromWireType:function(i){return!!i},toWireType:function(i,a){return a?t:n},readValueFromPointer:function(i){return this.fromWireType(A[i])},destructorFunction:null})},mt=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),Sr=e=>{function r(t){return t.$$.ptrType.registeredClass.name}h(r(e)+" instance already deleted")},Ar=!1,ne=e=>{},bt=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},ie=e=>{e.count.value-=1;var r=e.count.value===0;r&&bt(e)},X=e=>typeof FinalizationRegistry>"u"?(X=r=>r,e):(Ar=new FinalizationRegistry(r=>{ie(r.$$)}),X=r=>{var t=r.$$,n=!!t.smartPtr;if(n){var i={$$:t};Ar.register(r,i,r)}return r},ne=r=>Ar.unregister(r),X(e)),ur=[],$t=()=>{for(;ur.length;){var e=ur.pop();e.$$.deleteScheduled=!1,e.delete()}},ae,wt=()=>{let e=cr.prototype;Object.assign(e,{isAliasOf(t){if(!(this instanceof cr)||!(t instanceof cr))return!1;var n=this.$$.ptrType.registeredClass,i=this.$$.ptr;t.$$=t.$$;for(var a=t.$$.ptrType.registeredClass,s=t.$$.ptr;n.baseClass;)i=n.upcast(i),n=n.baseClass;for(;a.baseClass;)s=a.upcast(s),a=a.baseClass;return n===a&&i===s},clone(){if(this.$$.ptr||Sr(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t=X(Object.create(Object.getPrototypeOf(this),{$$:{value:mt(this.$$)}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||Sr(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&h("Object already scheduled for deletion"),ne(this),ie(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||Sr(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&h("Object already scheduled for deletion"),ur.push(this),ur.length===1&&ae&&ae($t),this.$$.deleteScheduled=!0,this}});const r=Symbol.dispose;r&&(e[r]=e.delete)};function cr(){}var fr=(e,r)=>Object.defineProperty(r,"name",{value:e}),se={},Er=(e,r,t)=>{if(e[r].overloadTable===void 0){var n=e[r];e[r]=function(...i){return e[r].overloadTable.hasOwnProperty(i.length)||h(`Function '${t}' called with an invalid number of arguments (${i.length}) - expects one of (${e[r].overloadTable})!`),e[r].overloadTable[i.length].apply(this,i)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}},Rr=(e,r,t)=>{l.hasOwnProperty(e)?((t===void 0||l[e].overloadTable!==void 0&&l[e].overloadTable[t]!==void 0)&&h(`Cannot register public name '${e}' twice`),Er(l,e,e),l[e].overloadTable.hasOwnProperty(t)&&h(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),l[e].overloadTable[t]=r):(l[e]=r,l[e].argCount=t)},Tt=48,Ft=57,Ct=e=>{e=e.replace(/[^a-zA-Z0-9_]/g,"$");var r=e.charCodeAt(0);return r>=Tt&&r<=Ft?`_${e}`:e};function Pt(e,r,t,n,i,a,s,o){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=i,this.getActualType=a,this.upcast=s,this.downcast=o,this.pureVirtualFunctions=[]}var lr=(e,r,t)=>{for(;r!==t;)r.upcast||h(`Expected null or instance of ${t.name}, got an instance of ${r.name}`),e=r.upcast(e),r=r.baseClass;return e},Dr=e=>{if(e===null)return"null";var r=typeof e;return r==="object"||r==="array"||r==="function"?e.toString():""+e};function kt(e,r){if(r===null)return this.isReference&&h(`null is not a valid ${this.name}`),0;r.$$||h(`Cannot pass "${Dr(r)}" as a ${this.name}`),r.$$.ptr||h(`Cannot pass deleted object as a pointer of type ${this.name}`);var t=r.$$.ptrType.registeredClass,n=lr(r.$$.ptr,t,this.registeredClass);return n}function St(e,r){var t;if(r===null)return this.isReference&&h(`null is not a valid ${this.name}`),this.isSmartPointer?(t=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,t),t):0;(!r||!r.$$)&&h(`Cannot pass "${Dr(r)}" as a ${this.name}`),r.$$.ptr||h(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&r.$$.ptrType.isConst&&h(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);var n=r.$$.ptrType.registeredClass;if(t=lr(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(r.$$.smartPtr===void 0&&h("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:h(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var i=r.clone();t=this.rawShare(t,W.toHandle(()=>i.delete())),e!==null&&e.push(this.rawDestructor,t)}break;default:h("Unsupporting sharing policy")}return t}function At(e,r){if(r===null)return this.isReference&&h(`null is not a valid ${this.name}`),0;r.$$||h(`Cannot pass "${Dr(r)}" as a ${this.name}`),r.$$.ptr||h(`Cannot pass deleted object as a pointer of type ${this.name}`),r.$$.ptrType.isConst&&h(`Cannot convert argument of type ${r.$$.ptrType.name} to parameter type ${this.name}`);var t=r.$$.ptrType.registeredClass,n=lr(r.$$.ptr,t,this.registeredClass);return n}function vr(e){return this.fromWireType(w[e>>2])}var oe=(e,r,t)=>{if(r===t)return e;if(t.baseClass===void 0)return null;var n=oe(e,r,t.baseClass);return n===null?null:t.downcast(n)},Et={},Rt=(e,r)=>{for(r===void 0&&h("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r},Dt=(e,r)=>(r=Rt(e,r),Et[r]),Wt=class extends Error{constructor(r){super(r),this.name="InternalError"}},_r=e=>{throw new Wt(e)},dr=(e,r)=>{(!r.ptrType||!r.ptr)&&_r("makeClassHandle requires ptr and ptrType");var t=!!r.smartPtrType,n=!!r.smartPtr;return t!==n&&_r("Both smartPtrType and smartPtr must be specified"),r.count={value:1},X(Object.create(e,{$$:{value:r,writable:!0}}))};function xt(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=Dt(this.registeredClass,r);if(t!==void 0){if(t.$$.count.value===0)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function i(){return this.isSmartPointer?dr(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):dr(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var a=this.registeredClass.getActualType(r),s=se[a];if(!s)return i.call(this);var o;this.isConst?o=s.constPointerType:o=s.pointerType;var u=oe(r,this.registeredClass,o.registeredClass);return u===null?i.call(this):this.isSmartPointer?dr(o.registeredClass.instancePrototype,{ptrType:o,ptr:u,smartPtrType:this,smartPtr:e}):dr(o.registeredClass.instancePrototype,{ptrType:o,ptr:u})}var Ot=()=>{Object.assign(pr.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor?.(e)},readValueFromPointer:vr,fromWireType:xt})};function pr(e,r,t,n,i,a,s,o,u,c,f){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=i,this.pointeeType=a,this.sharingPolicy=s,this.rawGetPointee=o,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,!i&&r.baseClass===void 0?n?(this.toWireType=kt,this.destructorFunction=null):(this.toWireType=At,this.destructorFunction=null):this.toWireType=St}var ue=(e,r,t)=>{l.hasOwnProperty(e)||_r("Replacing nonexistent public symbol"),l[e].overloadTable!==void 0&&t!==void 0?l[e].overloadTable[t]=r:(l[e]=r,l[e].argCount=t)},ce=[],fe,b=e=>{var r=ce[e];return r||(ce[e]=r=fe.get(e)),r},R=(e,r,t=!1)=>{e=C(e);function n(){var a=b(r);return a}var i=n();return typeof i!="function"&&h(`unknown function pointer with signature ${e}: ${r}`),i};class Ut extends Error{}var le=e=>{var r=Ae(e),t=C(r);return O(r),t},I=(e,r)=>{var t=[],n={};function i(a){if(!n[a]&&!j[a]){if(or[a]){or[a].forEach(i);return}t.push(a),n[a]=!0}}throw r.forEach(i),new Ut(`${e}: `+t.map(le).join([", "]))},D=(e,r,t)=>{e.forEach(o=>or[o]=r);function n(o){var u=t(o);u.length!==e.length&&_r("Mismatched type converter count");for(var c=0;c<e.length;++c)E(e[c],u[c])}var i=new Array(r.length),a=[],s=0;r.forEach((o,u)=>{j.hasOwnProperty(o)?i[u]=j[o]:(a.push(o),Y.hasOwnProperty(o)||(Y[o]=[]),Y[o].push(()=>{i[u]=j[o],++s,s===a.length&&n(i)}))}),a.length===0&&n(i)},Vt=(e,r,t,n,i,a,s,o,u,c,f,_,d)=>{f=C(f),a=R(i,a),o&&=R(s,o),c&&=R(u,c),d=R(_,d);var p=Ct(f);Rr(p,function(){I(`Cannot construct ${f} due to unbound types`,[n])}),D([e,r,t],n?[n]:[],v=>{v=v[0];var $,P;n?($=v.registeredClass,P=$.instancePrototype):P=cr.prototype;var F=fr(f,function(...Hr){if(Object.getPrototypeOf(this)!==Z)throw new q(`Use 'new' to construct ${f}`);if(S.constructor_body===void 0)throw new q(`${f} has no accessible constructor`);var Be=S.constructor_body[Hr.length];if(Be===void 0)throw new q(`Tried to invoke ctor of ${f} with invalid number of parameters (${Hr.length}) - expected (${Object.keys(S.constructor_body).toString()}) parameters instead!`);return Be.apply(this,Hr)}),Z=Object.create(P,{constructor:{value:F}});F.prototype=Z;var S=new Pt(f,F,Z,d,$,a,o,c);S.baseClass&&(S.baseClass.__derivedClasses??=[],S.baseClass.__derivedClasses.push(S));var Bi=new pr(f,S,!0,!1,!1),Me=new pr(f+"*",S,!1,!1,!1),He=new pr(f+" const*",S,!1,!0,!1);return se[e]={pointerType:Me,constPointerType:He},ue(p,F),[Bi,Me,He]})},Wr=e=>{for(;e.length;){var r=e.pop(),t=e.pop();t(r)}};function ve(e){for(var r=1;r<e.length;++r)if(e[r]!==null&&e[r].destructorFunction===void 0)return!0;return!1}function jt(e,r,t,n){var i=ve(e),a=e.length-2,s=[],o=["fn"];r&&o.push("thisWired");for(var u=0;u<a;++u)s.push(`arg${u}`),o.push(`arg${u}Wired`);s=s.join(","),o=o.join(",");var c=`return function (${s}) {
2
+ `;i&&(c+=`var destructors = [];
3
+ `);var f=i?"destructors":"null",_=["humanName","throwBindingError","invoker","fn","runDestructors","fromRetWire","toClassParamWire"];r&&(c+=`var thisWired = toClassParamWire(${f}, this);
4
+ `);for(var u=0;u<a;++u){var d=`toArg${u}Wire`;c+=`var arg${u}Wired = ${d}(${f}, arg${u});
5
+ `,_.push(d)}c+=(t||n?"var rv = ":"")+`invoker(${o});
6
+ `;var p=t?"rv":"";if(i)c+=`runDestructors(destructors);
7
+ `;else for(var u=r?1:2;u<e.length;++u){var v=u===1?"thisWired":"arg"+(u-2)+"Wired";e[u].destructorFunction!==null&&(c+=`${v}_dtor(${v});
8
+ `,_.push(`${v}_dtor`))}return t&&(c+=`var ret = fromRetWire(rv);
9
+ return ret;
10
+ `),c+=`}
11
+ `,new Function(_,c)}function hr(e,r,t,n,i,a){var s=r.length;s<2&&h("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var o=r[1]!==null&&t!==null,u=ve(r),c=!r[0].isVoid,f=s-2,_=r[0],d=r[1],p=[e,h,n,i,Wr,_.fromWireType.bind(_),d?.toWireType.bind(d)],v=2;v<s;++v){var $=r[v];p.push($.toWireType.bind($))}if(!u)for(var v=o?1:2;v<r.length;++v)r[v].destructorFunction!==null&&p.push(r[v].destructorFunction);var F=jt(r,o,c,a)(...p);return fr(e,F)}var gr=(e,r)=>{for(var t=[],n=0;n<e;n++)t.push(w[r+n*4>>2]);return t},xr=e=>{e=e.trim();const r=e.indexOf("(");return r===-1?e:e.slice(0,r)},It=(e,r,t,n,i,a,s,o,u)=>{var c=gr(t,n);r=C(r),r=xr(r),a=R(i,a,o),D([],[e],f=>{f=f[0];var _=`${f.name}.${r}`;function d(){I(`Cannot call ${_} due to unbound types`,c)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]);var p=f.registeredClass.constructor;return p[r]===void 0?(d.argCount=t-1,p[r]=d):(Er(p,r,_),p[r].overloadTable[t-1]=d),D([],c,v=>{var $=[v[0],null].concat(v.slice(1)),P=hr(_,$,null,a,s,o);if(p[r].overloadTable===void 0?(P.argCount=t-1,p[r]=P):p[r].overloadTable[t-1]=P,f.registeredClass.__derivedClasses)for(const F of f.registeredClass.__derivedClasses)F.constructor.hasOwnProperty(r)||(F.constructor[r]=P);return[]}),[]})},Mt=(e,r,t,n,i,a)=>{var s=gr(r,t);i=R(n,i);var o=[a],u=[];D([],[e],c=>{c=c[0];var f=`constructor ${c.name}`;if(c.registeredClass.constructor_body===void 0&&(c.registeredClass.constructor_body=[]),c.registeredClass.constructor_body[r-1]!==void 0)throw new q(`Cannot register multiple constructors with identical number of parameters (${r-1}) for class '${c.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return c.registeredClass.constructor_body[r-1]=()=>{I(`Cannot construct ${c.name} due to unbound types`,s)},D([],s,_=>(_.splice(1,0,null),c.registeredClass.constructor_body[r-1]=hr(f,_,null,i,a),[])),[]})},Ht=(e,r,t,n,i,a,s,o,u,c)=>{var f=gr(t,n);r=C(r),r=xr(r),a=R(i,a,u),D([],[e],_=>{_=_[0];var d=`${_.name}.${r}`;r.startsWith("@@")&&(r=Symbol[r.substring(2)]),o&&_.registeredClass.pureVirtualFunctions.push(r);function p(){I(`Cannot call ${d} due to unbound types`,f)}var v=_.registeredClass.instancePrototype,$=v[r];return $===void 0||$.overloadTable===void 0&&$.className!==_.name&&$.argCount===t-2?(p.argCount=t-2,p.className=_.name,v[r]=p):(Er(v,r,d),v[r].overloadTable[t-2]=p),D([],f,P=>{var F=hr(d,P,_,a,s,u);return v[r].overloadTable===void 0?(F.argCount=t-2,v[r]=F):v[r].overloadTable[t-2]=F,[]}),[]})},_e=(e,r,t)=>(e instanceof Object||h(`${t} with invalid "this": ${e}`),e instanceof r.registeredClass.constructor||h(`${t} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||h(`cannot call emscripten binding method ${t} on deleted object`),lr(e.$$.ptr,e.$$.ptrType.registeredClass,r.registeredClass)),Bt=(e,r,t,n,i,a,s,o,u,c)=>{r=C(r),i=R(n,i),D([],[e],f=>{f=f[0];var _=`${f.name}.${r}`,d={get(){I(`Cannot access ${_} due to unbound types`,[t,s])},enumerable:!0,configurable:!0};return u?d.set=()=>I(`Cannot access ${_} due to unbound types`,[t,s]):d.set=p=>h(_+" is a read-only property"),Object.defineProperty(f.registeredClass.instancePrototype,r,d),D([],u?[t,s]:[t],p=>{var v=p[0],$={get(){var F=_e(this,f,_+" getter");return v.fromWireType(i(a,F))},enumerable:!0};if(u){u=R(o,u);var P=p[1];$.set=function(F){var Z=_e(this,f,_+" setter"),S=[];u(c,Z,P.toWireType(S,F)),Wr(S)}}return Object.defineProperty(f.registeredClass.instancePrototype,r,$),[]}),[]})},de=[],N=[0,1,,1,null,1,!0,1,!1,1],Or=e=>{e>9&&--N[e+1]===0&&(N[e]=void 0,de.push(e))},W={toValue:e=>(e||h(`Cannot use deleted val. handle = ${e}`),N[e]),toHandle:e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const r=de.pop()||N.length;return N[r]=e,N[r+1]=1,r}}}},Lt={name:"emscripten::val",fromWireType:e=>{var r=W.toValue(e);return Or(e),r},toWireType:(e,r)=>W.toHandle(r),readValueFromPointer:vr,destructorFunction:null},zt=e=>E(e,Lt),Yt=(e,r,t)=>{switch(r){case 1:return t?function(n){return this.fromWireType(k[n])}:function(n){return this.fromWireType(A[n])};case 2:return t?function(n){return this.fromWireType(U[n>>1])}:function(n){return this.fromWireType(L[n>>1])};case 4:return t?function(n){return this.fromWireType(T[n>>2])}:function(n){return this.fromWireType(w[n>>2])};default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},Nt=(e,r,t,n)=>{r=C(r);function i(){}i.values={},E(e,{name:r,constructor:i,fromWireType:function(a){return this.constructor.values[a]},toWireType:(a,s)=>s.value,readValueFromPointer:Yt(r,t,n),destructorFunction:null}),Rr(r,i)},pe=(e,r)=>{var t=j[e];return t===void 0&&h(`${r} has unknown type ${le(e)}`),t},Gt=(e,r,t)=>{var n=pe(e,"enum");r=C(r);var i=n.constructor,a=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:fr(`${n.name}_${r}`,function(){})}});i.values[t]=a,i[r]=a},qt=(e,r)=>{switch(r){case 4:return function(t){return this.fromWireType(tr[t>>2])};case 8:return function(t){return this.fromWireType(nr[t>>3])};default:throw new TypeError(`invalid float width (${r}): ${e}`)}},Xt=(e,r,t)=>{r=C(r),E(e,{name:r,fromWireType:n=>n,toWireType:(n,i)=>i,readValueFromPointer:qt(r,t),destructorFunction:null})},Jt=(e,r,t,n,i,a,s,o)=>{var u=gr(r,t);e=C(e),e=xr(e),i=R(n,i,s),Rr(e,function(){I(`Cannot call ${e} due to unbound types`,u)},r-1),D([],u,c=>{var f=[c[0],null].concat(c.slice(1));return ue(e,hr(e,f,null,i,a,s),r-1),[]})},Kt=(e,r,t,n,i)=>{r=C(r);const a=n===0;let s=u=>u;if(a){var o=32-8*t;s=u=>u<<o>>>o,i=s(i)}E(e,{name:r,fromWireType:s,toWireType:(u,c)=>c,readValueFromPointer:te(r,t,n!==0),destructorFunction:null})},Zt=(e,r,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array],i=n[r];function a(s){var o=w[s>>2],u=w[s+4>>2];return new i(k.buffer,u,o)}t=C(t),E(e,{name:t,fromWireType:a,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},Qt=(e,r,t,n)=>{if(!(n>0))return 0;for(var i=t,a=t+n-1,s=0;s<e.length;++s){var o=e.codePointAt(s);if(o<=127){if(t>=a)break;r[t++]=o}else if(o<=2047){if(t+1>=a)break;r[t++]=192|o>>6,r[t++]=128|o&63}else if(o<=65535){if(t+2>=a)break;r[t++]=224|o>>12,r[t++]=128|o>>6&63,r[t++]=128|o&63}else{if(t+3>=a)break;r[t++]=240|o>>18,r[t++]=128|o>>12&63,r[t++]=128|o>>6&63,r[t++]=128|o&63,s++}}return r[t]=0,t-i},M=(e,r,t)=>Qt(e,A,r,t),Ur=e=>{for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n<=127?r++:n<=2047?r+=2:n>=55296&&n<=57343?(r+=4,++t):r+=3}return r},he=typeof TextDecoder<"u"?new TextDecoder:void 0,ge=(e,r,t,n)=>{var i=r+t;if(n)return i;for(;e[r]&&!(r>=i);)++r;return r},ye=(e,r=0,t,n)=>{var i=ge(e,r,t,n);if(i-r>16&&e.buffer&&he)return he.decode(e.subarray(r,i));for(var a="";r<i;){var s=e[r++];if(!(s&128)){a+=String.fromCharCode(s);continue}var o=e[r++]&63;if((s&224)==192){a+=String.fromCharCode((s&31)<<6|o);continue}var u=e[r++]&63;if((s&240)==224?s=(s&15)<<12|o<<6|u:s=(s&7)<<18|o<<12|u<<6|e[r++]&63,s<65536)a+=String.fromCharCode(s);else{var c=s-65536;a+=String.fromCharCode(55296|c>>10,56320|c&1023)}}return a},yr=(e,r,t)=>e?ye(A,e,r,t):"",rn=(e,r)=>{r=C(r);var t=!0;E(e,{name:r,fromWireType(n){var i=w[n>>2],a=n+4,s;if(t)s=yr(a,i,!0);else{s="";for(var o=0;o<i;++o)s+=String.fromCharCode(A[a+o])}return O(n),s},toWireType(n,i){i instanceof ArrayBuffer&&(i=new Uint8Array(i));var a,s=typeof i=="string";s||ArrayBuffer.isView(i)&&i.BYTES_PER_ELEMENT==1||h("Cannot pass non-string to std::string"),t&&s?a=Ur(i):a=i.length;var o=Mr(4+a+1),u=o+4;if(w[o>>2]=a,s)if(t)M(i,u,a+1);else for(var c=0;c<a;++c){var f=i.charCodeAt(c);f>255&&(O(o),h("String has UTF-16 code units that do not fit in 8 bits")),A[u+c]=f}else A.set(i,u);return n!==null&&n.push(O,o),o},readValueFromPointer:vr,destructorFunction(n){O(n)}})},me=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,en=(e,r,t)=>{var n=e>>1,i=ge(L,n,r/2,t);if(i-n>16&&me)return me.decode(L.subarray(n,i));for(var a="",s=n;s<i;++s){var o=L[s];a+=String.fromCharCode(o)}return a},tn=(e,r,t)=>{if(t??=2147483647,t<2)return 0;t-=2;for(var n=r,i=t<e.length*2?t/2:e.length,a=0;a<i;++a){var s=e.charCodeAt(a);U[r>>1]=s,r+=2}return U[r>>1]=0,r-n},nn=e=>e.length*2,an=(e,r,t)=>{for(var n="",i=e>>2,a=0;!(a>=r/4);a++){var s=w[i+a];if(!s&&!t)break;n+=String.fromCodePoint(s)}return n},sn=(e,r,t)=>{if(t??=2147483647,t<4)return 0;for(var n=r,i=n+t-4,a=0;a<e.length;++a){var s=e.codePointAt(a);if(s>65535&&a++,T[r>>2]=s,r+=4,r+4>i)break}return T[r>>2]=0,r-n},on=e=>{for(var r=0,t=0;t<e.length;++t){var n=e.codePointAt(t);n>65535&&t++,r+=4}return r},un=(e,r,t)=>{t=C(t);var n,i,a;r===2?(n=en,i=tn,a=nn):(n=an,i=sn,a=on),E(e,{name:t,fromWireType:s=>{var o=w[s>>2],u=n(s+4,o*r,!0);return O(s),u},toWireType:(s,o)=>{typeof o!="string"&&h(`Cannot pass non-string to C++ string type ${t}`);var u=a(o),c=Mr(4+u+r);return w[c>>2]=u/r,i(o,c+4,u+r),s!==null&&s.push(O,c),c},readValueFromPointer:vr,destructorFunction(s){O(s)}})},cn=(e,r)=>{r=C(r),E(e,{isVoid:!0,name:r,fromWireType:()=>{},toWireType:(t,n)=>{}})},be=0,fn=()=>{Cr=!1,be=0},Vr=[],ln=e=>{var r=Vr.length;return Vr.push(e),r},vn=(e,r)=>{for(var t=new Array(e),n=0;n<e;++n)t[n]=pe(w[r+n*4>>2],`parameter ${n}`);return t},_n=(e,r,t)=>{var n=[],i=e(n,t);return n.length&&(w[r>>2]=W.toHandle(n)),i},dn={},pn=e=>{var r=dn[e];return r===void 0?C(e):r},hn=(e,r,t)=>{var n=8,[i,...a]=vn(e,r),s=i.toWireType.bind(i),o=a.map(p=>p.readValueFromPointer.bind(p));e--;var u={toValue:W.toValue},c=o.map((p,v)=>{var $=`argFromPtr${v}`;return u[$]=p,`${$}(args${v?"+"+v*n:""})`}),f;switch(t){case 0:f="toValue(handle)";break;case 2:f="new (toValue(handle))";break;case 3:f="";break;case 1:u.getStringOrSymbol=pn,f="toValue(handle)[getStringOrSymbol(methodName)]";break}f+=`(${c})`,i.isVoid||(u.toReturnWire=s,u.emval_returnValue=_n,f=`return emval_returnValue(toReturnWire, destructorsRef, ${f})`),f=`return function (handle, methodName, destructorsRef, args) {
12
+ ${f}
13
+ }`;var _=new Function(Object.keys(u),f)(...Object.values(u)),d=`methodCaller<(${a.map(p=>p.name)}) => ${i.name}>`;return ln(fr(d,_))},gn=(e,r,t,n,i)=>Vr[e](r,t,n,i),yn=()=>W.toHandle({}),mn=e=>{var r=W.toValue(e);Wr(r),Or(e)},bn=(e,r,t)=>{e=W.toValue(e),r=W.toValue(r),t=W.toValue(t),e[r]=t},$n=9007199254740992,wn=-9007199254740992,mr=e=>e<wn||e>$n?NaN:Number(e);function Tn(e,r){e=mr(e);var t=new Date(e*1e3);T[r>>2]=t.getUTCSeconds(),T[r+4>>2]=t.getUTCMinutes(),T[r+8>>2]=t.getUTCHours(),T[r+12>>2]=t.getUTCDate(),T[r+16>>2]=t.getUTCMonth(),T[r+20>>2]=t.getUTCFullYear()-1900,T[r+24>>2]=t.getUTCDay();var n=Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0),i=(t.getTime()-n)/(1e3*60*60*24)|0;T[r+28>>2]=i}var Fn=e=>e%4===0&&(e%100!==0||e%400===0),Cn=[0,31,60,91,121,152,182,213,244,274,305,335],Pn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=e=>{var r=Fn(e.getFullYear()),t=r?Cn:Pn,n=t[e.getMonth()]+e.getDate()-1;return n};function Sn(e,r){e=mr(e);var t=new Date(e*1e3);T[r>>2]=t.getSeconds(),T[r+4>>2]=t.getMinutes(),T[r+8>>2]=t.getHours(),T[r+12>>2]=t.getDate(),T[r+16>>2]=t.getMonth(),T[r+20>>2]=t.getFullYear()-1900,T[r+24>>2]=t.getDay();var n=kn(t)|0;T[r+28>>2]=n,T[r+36>>2]=-(t.getTimezoneOffset()*60);var i=new Date(t.getFullYear(),0,1),a=new Date(t.getFullYear(),6,1).getTimezoneOffset(),s=i.getTimezoneOffset(),o=(a!=s&&t.getTimezoneOffset()==Math.min(s,a))|0;T[r+32>>2]=o}var J={},$e=e=>{if(e instanceof Zr||e=="unwind")return rr;zr(1,e)},we=()=>Cr||be>0,Te=e=>{rr=e,we()||(l.onExit?.(e),Q=!0),zr(e,new Zr(e))},An=(e,r)=>{rr=e,Te(e)},En=An,Rn=()=>{if(!we())try{En(rr)}catch(e){$e(e)}},Dn=e=>{if(!Q)try{e(),Rn()}catch(r){$e(r)}},Fe=()=>performance.now(),Wn=(e,r)=>{if(J[e]&&(clearTimeout(J[e].id),delete J[e]),!r)return 0;var t=setTimeout(()=>{delete J[e],Dn(()=>Ee(e,Fe()))},r);return J[e]={id:t,timeout_ms:r},0},xn=(e,r,t,n)=>{var i=new Date().getFullYear(),a=new Date(i,0,1),s=new Date(i,6,1),o=a.getTimezoneOffset(),u=s.getTimezoneOffset(),c=Math.max(o,u);w[e>>2]=c*60,T[r>>2]=+(o!=u);var f=p=>{var v=p>=0?"-":"+",$=Math.abs(p),P=String(Math.floor($/60)).padStart(2,"0"),F=String($%60).padStart(2,"0");return`UTC${v}${P}${F}`},_=f(o),d=f(u);u<o?(M(_,t,17),M(d,n,17)):(M(_,n,17),M(d,t,17))},On=()=>Date.now(),Un=1,Vn=e=>e>=0&&e<=3;function jn(e,r,t){if(r=mr(r),!Vn(e))return 28;var n;if(e===0)n=On();else if(Un)n=Fe();else return 52;var i=Math.round(n*1e3*1e3);return V[t>>3]=BigInt(i),0}var Ce=()=>2147483648,In=()=>Ce(),Mn=(e,r)=>Math.ceil(e/r)*r,Hn=e=>{var r=er.buffer.byteLength,t=(e-r+65535)/65536|0;try{return er.grow(t),Kr(),1}catch{}},Bn=e=>{var r=A.length;e>>>=0;var t=Ce();if(e>t)return!1;for(var n=1;n<=4;n*=2){var i=r*(1+.2/n);i=Math.min(i,e+100663296);var a=Math.min(t,Mn(Math.max(e,i),65536)),s=Hn(a);if(s)return!0}return!1},br={},Ln=()=>Lr||"./this.program",K=()=>{if(!K.strings){var e=(typeof navigator=="object"&&navigator.language||"C").replace("-","_")+".UTF-8",r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:Ln()};for(var t in br)br[t]===void 0?delete r[t]:r[t]=br[t];var n=[];for(var t in r)n.push(`${t}=${r[t]}`);K.strings=n}return K.strings},zn=(e,r)=>{var t=0,n=0;for(var i of K()){var a=r+t;w[e+n>>2]=a,t+=M(i,a,1/0)+1,n+=4}return 0},Yn=(e,r)=>{var t=K();w[e>>2]=t.length;var n=0;for(var i of t)n+=Ur(i)+1;return w[r>>2]=n,0},Nn=e=>52,Ji={varargs:void 0,getStr(e){var r=yr(e);return r}},Gn=(e,r)=>{var t=0,n=0,i=0;{var a=2;e==0?t=2:(e==1||e==2)&&(t=64),i=1}return k[r]=a,U[r+2>>1]=i,V[r+8>>3]=BigInt(t),V[r+16>>3]=BigInt(n),0};function qn(e,r,t,n){return r=mr(r),70}var jr=[null,[],[]],Ir=(e,r)=>{var t=jr[e];r===0||r===10?((e===1?Nr:B)(ye(t)),t.length=0):t.push(r)},Ki=()=>{jr[1].length&&Ir(1,10),jr[2].length&&Ir(2,10)},Xn=(e,r,t,n)=>{for(var i=0,a=0;a<t;a++){var s=w[r>>2],o=w[r+4>>2];r+=8;for(var u=0;u<o;u++)Ir(e,A[s+u]);i+=o}return w[n>>2]=i,0},Jn=e=>e,Zi=e=>(e>>>=0,"0x"+e.toString(16).padStart(8,"0")),Pe=e=>{var r=l["_"+e];return r},Kn=(e,r)=>{k.set(e,r)},ke=e=>We(e),Zn=e=>{var r=Ur(e)+1,t=ke(r);return M(e,t,r),t},Se=(e,r,t,n,i)=>{var a={string:v=>{var $=0;return v!=null&&v!==0&&($=Zn(v)),$},array:v=>{var $=ke(v.length);return Kn(v,$),$}};function s(v){return r==="string"?yr(v):r==="boolean"?!!v:v}var o=Pe(e),u=[],c=0;if(n)for(var f=0;f<n.length;f++){var _=a[t[f]];_?(c===0&&(c=m()),u[f]=_(n[f])):u[f]=n[f]}var d=o(...u);function p(v){return c!==0&&y(c),s(v)}return d=p(d),d},Qn=(e,r,t,n)=>{var i=!t||t.every(s=>s==="number"||s==="boolean"),a=r!=="string";return a&&i&&!n?Pe(e):(...s)=>Se(e,r,t,s,n)};if(wt(),Ot(),l.noExitRuntime&&(Cr=l.noExitRuntime),l.print&&(Nr=l.print),l.printErr&&(B=l.printErr),l.wasmBinary&&(G=l.wasmBinary),l.arguments&&(Ye=l.arguments),l.thisProgram&&(Lr=l.thisProgram),l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.shift()();l.ENV=br,l.ccall=Se,l.cwrap=Qn;function Qi(e,r){typeof globalThis.Sentry<"u"&&typeof globalThis.Sentry.captureException=="function"&&globalThis.Sentry.captureException(new Error(yr(e,r)))}var Ae,Mr,ri,ei,ti,ni,ii,ai,O,Ee,g,Re,De,We,xe,Oe,Ue,Ve,je;function si(e){Ae=e.__getTypeName,l._malloc=Mr=e.malloc,l._parseDropFile=ri=e.parseDropFile,l._getAttributeFromDropFile=ei=e.getAttributeFromDropFile,l._takeAttributeFromDropFile=ti=e.takeAttributeFromDropFile,l._flattenDropFile=ni=e.flattenDropFile,l._destroyDropFileHandle=ii=e.destroyDropFileHandle,ai=e.__cxa_free_exception,l._free=O=e.free,Ee=e._emscripten_timeout,g=e.setThrew,Re=e._emscripten_tempret_set,De=e._emscripten_stack_restore,We=e._emscripten_stack_alloc,xe=e.emscripten_stack_get_current,Oe=e.__cxa_decrement_exception_refcount,Ue=e.__cxa_increment_exception_refcount,Ve=e.__cxa_can_catch,je=e.__cxa_get_exception_ptr}var Ie={__cxa_begin_catch:st,__cxa_end_catch:ot,__cxa_find_matching_catch_2:ut,__cxa_find_matching_catch_3:ct,__cxa_find_matching_catch_4:ft,__cxa_rethrow:lt,__cxa_throw:vt,__cxa_uncaught_exceptions:_t,__resumeException:dt,_abort_js:pt,_embind_register_bigint:gt,_embind_register_bool:yt,_embind_register_class:Vt,_embind_register_class_class_function:It,_embind_register_class_constructor:Mt,_embind_register_class_function:Ht,_embind_register_class_property:Bt,_embind_register_emval:zt,_embind_register_enum:Nt,_embind_register_enum_value:Gt,_embind_register_float:Xt,_embind_register_function:Jt,_embind_register_integer:Kt,_embind_register_memory_view:Zt,_embind_register_std_string:rn,_embind_register_std_wstring:un,_embind_register_void:cn,_emscripten_runtime_keepalive_clear:fn,_emval_create_invoker:hn,_emval_decref:Or,_emval_invoke:gn,_emval_new_object:yn,_emval_run_destructors:mn,_emval_set_property:bn,_gmtime_js:Tn,_localtime_js:Sn,_setitimer_js:Wn,_tzset_js:xn,clock_time_get:jn,emscripten_get_heap_max:In,emscripten_resize_heap:Bn,environ_get:zn,environ_sizes_get:Yn,fd_close:Nn,fd_fdstat_get:Gn,fd_seek:qn,fd_write:Xn,invoke_diii:Wi,invoke_fi:Ti,invoke_fiii:Di,invoke_i:Ci,invoke_ii:ui,invoke_iii:ci,invoke_iiii:mi,invoke_iiiid:Oi,invoke_iiiii:wi,invoke_iiiiid:Ai,invoke_iiiiii:hi,invoke_iiiiiii:Ui,invoke_iiiiiiii:Ei,invoke_iiiiiiiiii:yi,invoke_iiiiiiiiiii:_i,invoke_iiiiiiiiiiii:di,invoke_iiiiijj:Vi,invoke_iiiijj:ji,invoke_iiij:Pi,invoke_j:ki,invoke_jiiii:Ri,invoke_v:pi,invoke_vi:oi,invoke_vii:li,invoke_viii:fi,invoke_viiii:vi,invoke_viiiii:bi,invoke_viiiiii:gi,invoke_viiiiiii:xi,invoke_viiiiiiii:Fi,invoke_viiiiiiiiii:Ii,invoke_viiiiiiiiiiiiiii:Mi,invoke_viiji:Si,invoke_viijii:$i,llvm_eh_typeid_for:Jn,proc_exit:Te};function oi(e,r){var t=m();try{b(e)(r)}catch(n){if(y(t),n!==n+0)throw n;g(1,0)}}function ui(e,r){var t=m();try{return b(e)(r)}catch(n){if(y(t),n!==n+0)throw n;g(1,0)}}function ci(e,r,t){var n=m();try{return b(e)(r,t)}catch(i){if(y(n),i!==i+0)throw i;g(1,0)}}function fi(e,r,t,n){var i=m();try{b(e)(r,t,n)}catch(a){if(y(i),a!==a+0)throw a;g(1,0)}}function li(e,r,t){var n=m();try{b(e)(r,t)}catch(i){if(y(n),i!==i+0)throw i;g(1,0)}}function vi(e,r,t,n,i){var a=m();try{b(e)(r,t,n,i)}catch(s){if(y(a),s!==s+0)throw s;g(1,0)}}function _i(e,r,t,n,i,a,s,o,u,c,f){var _=m();try{return b(e)(r,t,n,i,a,s,o,u,c,f)}catch(d){if(y(_),d!==d+0)throw d;g(1,0)}}function di(e,r,t,n,i,a,s,o,u,c,f,_){var d=m();try{return b(e)(r,t,n,i,a,s,o,u,c,f,_)}catch(p){if(y(d),p!==p+0)throw p;g(1,0)}}function pi(e){var r=m();try{b(e)()}catch(t){if(y(r),t!==t+0)throw t;g(1,0)}}function hi(e,r,t,n,i,a){var s=m();try{return b(e)(r,t,n,i,a)}catch(o){if(y(s),o!==o+0)throw o;g(1,0)}}function gi(e,r,t,n,i,a,s){var o=m();try{b(e)(r,t,n,i,a,s)}catch(u){if(y(o),u!==u+0)throw u;g(1,0)}}function yi(e,r,t,n,i,a,s,o,u,c){var f=m();try{return b(e)(r,t,n,i,a,s,o,u,c)}catch(_){if(y(f),_!==_+0)throw _;g(1,0)}}function mi(e,r,t,n){var i=m();try{return b(e)(r,t,n)}catch(a){if(y(i),a!==a+0)throw a;g(1,0)}}function bi(e,r,t,n,i,a){var s=m();try{b(e)(r,t,n,i,a)}catch(o){if(y(s),o!==o+0)throw o;g(1,0)}}function $i(e,r,t,n,i,a){var s=m();try{b(e)(r,t,n,i,a)}catch(o){if(y(s),o!==o+0)throw o;g(1,0)}}function wi(e,r,t,n,i){var a=m();try{return b(e)(r,t,n,i)}catch(s){if(y(a),s!==s+0)throw s;g(1,0)}}function Ti(e,r){var t=m();try{return b(e)(r)}catch(n){if(y(t),n!==n+0)throw n;g(1,0)}}function Fi(e,r,t,n,i,a,s,o,u){var c=m();try{b(e)(r,t,n,i,a,s,o,u)}catch(f){if(y(c),f!==f+0)throw f;g(1,0)}}function Ci(e){var r=m();try{return b(e)()}catch(t){if(y(r),t!==t+0)throw t;g(1,0)}}function Pi(e,r,t,n){var i=m();try{return b(e)(r,t,n)}catch(a){if(y(i),a!==a+0)throw a;g(1,0)}}function ki(e){var r=m();try{return b(e)()}catch(t){if(y(r),t!==t+0)throw t;return g(1,0),0n}}function Si(e,r,t,n,i){var a=m();try{b(e)(r,t,n,i)}catch(s){if(y(a),s!==s+0)throw s;g(1,0)}}function Ai(e,r,t,n,i,a){var s=m();try{return b(e)(r,t,n,i,a)}catch(o){if(y(s),o!==o+0)throw o;g(1,0)}}function Ei(e,r,t,n,i,a,s,o){var u=m();try{return b(e)(r,t,n,i,a,s,o)}catch(c){if(y(u),c!==c+0)throw c;g(1,0)}}function Ri(e,r,t,n,i){var a=m();try{return b(e)(r,t,n,i)}catch(s){if(y(a),s!==s+0)throw s;return g(1,0),0n}}function Di(e,r,t,n){var i=m();try{return b(e)(r,t,n)}catch(a){if(y(i),a!==a+0)throw a;g(1,0)}}function Wi(e,r,t,n){var i=m();try{return b(e)(r,t,n)}catch(a){if(y(i),a!==a+0)throw a;g(1,0)}}function xi(e,r,t,n,i,a,s,o){var u=m();try{b(e)(r,t,n,i,a,s,o)}catch(c){if(y(u),c!==c+0)throw c;g(1,0)}}function Oi(e,r,t,n,i){var a=m();try{return b(e)(r,t,n,i)}catch(s){if(y(a),s!==s+0)throw s;g(1,0)}}function Ui(e,r,t,n,i,a,s){var o=m();try{return b(e)(r,t,n,i,a,s)}catch(u){if(y(o),u!==u+0)throw u;g(1,0)}}function Vi(e,r,t,n,i,a,s){var o=m();try{return b(e)(r,t,n,i,a,s)}catch(u){if(y(o),u!==u+0)throw u;g(1,0)}}function ji(e,r,t,n,i,a){var s=m();try{return b(e)(r,t,n,i,a)}catch(o){if(y(s),o!==o+0)throw o;g(1,0)}}function Ii(e,r,t,n,i,a,s,o,u,c,f){var _=m();try{b(e)(r,t,n,i,a,s,o,u,c,f)}catch(d){if(y(_),d!==d+0)throw d;g(1,0)}}function Mi(e,r,t,n,i,a,s,o,u,c,f,_,d,p,v,$){var P=m();try{b(e)(r,t,n,i,a,s,o,u,c,f,_,d,p,v,$)}catch(F){if(y(P),F!==F+0)throw F;g(1,0)}}function Hi(){qe();function e(){l.calledRun=!0,!Q&&(Xe(),Gr?.(l),l.onRuntimeInitialized?.(),Je())}l.setStatus?(l.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>l.setStatus(""),1),e()},1)):e()}var H;return H=await nt(),Hi(),Jr?$r=l:$r=new Promise((e,r)=>{Gr=e,qr=r}),$r}export default Li;
14
+ //# sourceMappingURL=aqua-parser.js.map
Binary file