"use strict";varloadPyodide=(()=>{varce=Object.create;varb=Object.defineProperty;varle=Object.getOwnPropertyDescriptor;varde=Object.getOwnPropertyNames;varfe=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty;varf=(t,e)=>b(t,"name",{value:e,configurable:!0}),y=(t=>typeofrequire<"u"?require:typeofProxy<"u"?newProxy(t,{get:(e,c)=>(typeofrequire<"u"?require:e)[c]}):t)(function(t){if(typeofrequire<"u")returnrequire.apply(this,arguments);thrownewError('Dynamic require of "'+t+'" is not supported')});var$=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),pe=(t,e)=>{for(varcine)b(t,c,{get:e[c],enumerable:!0})},M=(t,e,c,o)=>{if(e&&typeofe=="object"||typeofe=="function")for(letaofde(e))!ue.call(t,a)&&a!==c&&b(t,a,{get:()=>e[a],enumerable:!(o=le(e,a))||o.enumerable});returnt};varv=(t,e,c)=>(c=t!=null?ce(fe(t)):{},M(e||!t||!t.__esModule?b(c,"default",{value:t,enumerable:!0}):c,t)),me=t=>M(b({},"__esModule",{value:!0}),t);varC=$((k,U)=>{(function(t,e){"use strict";typeofdefine=="function"&&define.amd?define("stackframe",[],e):typeofk=="object"?U.exports=e():t.StackFrame=e()})(k,function(){"use strict";functiont(d){return!isNaN(parseFloat(d))&&isFinite(d)}f(t,"_isNumber");functione(d){returnd.charAt(0).toUpperCase()+d.substring(1)}f(e,"_capitalize");functionc(d){returnfunction(){returnthis[d]}}f(c,"_getter");varo=["isConstructor","isEval","isNative","isToplevel"],a=["columnNumber","lineNumber"],r=["fileName","functionName","source"],n=["args"],u=["evalOrigin"],i=o.concat(a,r,n,u);functions(d){if(d)for(varg=0;g<i.length;g++)d[i[g]]!==void0&&this["set"+e(i[g])](d[i[g]])}f(s,"StackFrame"),s.prototype={getArgs:function(){returnthis.args},setArgs:function(d){if(Object.prototype.toString.call(d)!=="[object Array]")thrownewTypeError("Args must be an Array");this.args=d},getEvalOrigin:function(){returnthis.evalOrigin},setEvalOrigin:function(d){if(dinstanceofs)this.evalOrigin=d;elseif(dinstanceofObject)this.evalOrigin=news(d);elsethrownewTypeError("Eval Origin must be an Object or StackFrame")},toString:function(){vard=this.getFileName()||"",g=this.getLineNumber()||"",w=this.getColumnNumber()||"",_=this.getFunctionName()||"";returnthis.getIsEval()?d?"[eval] ("+d+":"+g+":"+w+")":"[eval]:"+g+":"+w:_?_+" ("+d+":"+g+":"+w+")":d+":"+g+":"+w}},s.fromString=f(function(g){varw=g.indexOf("("),_=g.lastIndexOf(")"),ne=g.substring(0,w),ie=g.substring(w+1,_).split(","),T=g.substring(_+1);if(T.indexOf("@")===0)varR=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(T,""),oe=R[1],ae=R[2],se=R[3];returnnews({functionName:ne,args:ie||void0,fileName:oe,lineNumber:ae||void0,columnNumber:se||void0})},"StackFrame$$fromString");for(varl=0;l<o.length;l++)s.prototype["get"+e(o[l])]=c(o[l]),s.prototype["set"+e(o[l])]=function(d){returnfunction(g){this[d]=!!g}}(o[l]);for(varm=0;m<a.length;m++)s.prototype["get"+e(a[m])]=c(a[m]),s.prototype["set"+e(a[m])]=function(d){returnfunction(g){if(!t(g))thrownewTypeError(d+" must be a Number");this[d]=Number(g)}}(a[m]);for(varp=0;p<r.length;p++)s.prototype["get"+e(r[p])]=c(r[p]),s.prototype["set"+e(r[p])]=function(d){returnfunction(g){this[d]=String(g)}}(r[p]);returns})});varW=$((x,B)=>{(function(t,e){"use strict";typeofdefine=="function"&&define.amd?define("error-stack-parser",["stackframe"],e):typeofx=="object"?B.exports=e(C()):t.ErrorStackParser=e(t.StackFrame)})(x,f(function(e){"use strict";varc=/(^|@)\S+:\d+/,o=/^\s*at .*(\S+:\d+|\(native\))/m,a=/^(eval@)?(\[native code])?$/;return{parse:f(function(n){if(typeofn.stacktrace<"u"||typeofn["opera#sourceloc"]<"u")returnthis.parseOpera(n);if(n.stack&&n.stack.match(o))returnthis.parseV8OrIE(n);if(n.stack)returnthis.parseFFOrSafari(n);thrownewError("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:f(function(n){if(n.indexOf(":")===-1)return[n];varu=/(.+?)(?::(\d+))?(?::(\d+))?$/,i=u.exec(n.replace(/[()]/g,""));return[i[1],i[2]||void0,i[3]||void0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:f(function(n){varu=n.stack.split(`
`).filter(function(i){return!!i.match(o)},this);return u.map(function(i){i.indexOf("(eval ")>-1&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var s=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),l=s.match(/ (\(.+\)$)/);s=l?s.replace(l[0],""):s;var m=this.extractLocation(l?l[1]:s),p=l&&s||void 0,d=["eval","<anonymous>"].indexOf(m[0])>-1?void 0:m[0];return new e({functionName:p,fileName:d,lineNumber:m[1],columnNumber:m[2],source:i})},this)},"ErrorStackParser$$parseV8OrIE"),parseFFOrSafari:f(function(n){var u=n.stack.split(`
`).filter(function(i){return!i.match(a)},this);return u.map(function(i){if(i.indexOf(" > eval")>-1&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),i.indexOf("@")===-1&&i.indexOf(":")===-1)return new e({functionName:i});var s=/((.*".+"[^@]*)?[^@]*)(?:@)/,l=i.match(s),m=l&&l[1]?l[1]:void 0,p=this.extractLocation(i.replace(s,""));return new e({functionName:m,fileName:p[0],lineNumber:p[1],columnNumber:p[2],source:i})},this)},"ErrorStackParser$$parseFFOrSafari"),parseOpera:f(function(n){return!n.stacktrace||n.message.indexOf(`