varModule=typeofModule!="undefined"?Module:{};varmoduleOverrides=Object.assign({},Module);vararguments_=[];varthisProgram="./this.program";varquit_=(status,toThrow)=>{throwtoThrow};varENVIRONMENT_IS_WEB=typeofwindow=="object";varENVIRONMENT_IS_WORKER=typeofimportScripts=="function";varENVIRONMENT_IS_NODE=typeofprocess=="object"&&typeofprocess.versions=="object"&&typeofprocess.versions.node=="string";varscriptDirectory="";functionlocateFile(path){if(Module["locateFile"]){returnModule["locateFile"](path,scriptDirectory)}returnscriptDirectory+path}varread_,readAsync,readBinary;if(ENVIRONMENT_IS_NODE){varfs=require("fs");varnodePath=require("path");if(ENVIRONMENT_IS_WORKER){scriptDirectory=nodePath.dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=(filename,binary)=>{filename=isFileURI(filename)?newURL(filename):nodePath.normalize(filename);returnfs.readFileSync(filename,binary?undefined:"utf8")};readBinary=filename=>{varret=read_(filename,true);if(!ret.buffer){ret=newUint8Array(ret)}returnret};readAsync=(filename,onload,onerror,binary=true)=>{filename=isFileURI(filename)?newURL(filename):nodePath.normalize(filename);fs.readFile(filename,binary?undefined:"utf8",(err,data)=>{if(err)onerror(err);elseonload(binary?data.buffer:data)})};if(!Module["thisProgram"]&&process.argv.length>1){thisProgram=process.argv[1].replace(/\\/g,"/")}arguments_=process.argv.slice(2);if(typeofmodule!="undefined"){module["exports"]=Module}process.on("uncaughtException",ex=>{if(ex!=="unwind"&&!(exinstanceofExitStatus)&&!(ex.contextinstanceofExitStatus)){throwex}});quit_=(status,toThrow)=>{process.exitCode=status;throwtoThrow}}elseif(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}elseif(typeofdocument!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.startsWith("blob:")){scriptDirectory=""}else{scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}{read_=url=>{varxhr=newXMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);returnxhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{varxhr=newXMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);returnnewUint8Array(xhr.response)}}readAsync=(url,onload,onerror)=>{varxhr=newXMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}}else{}varout=Module["print"]||console.log.bind(console);varerr=Module["printErr"]||console.error.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];varwasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];if(typeofWebAssembly!="object"){abort("no native wasm support detected")}varwasmMemory;varABORT=false;varEXITSTATUS;functionassert(condition,text){if(!condition){abort(text)}}varHEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;functionupdateMemoryViews(){varb=wasmMemory.buffer;Module["HEAP8"]=HEAP8=newInt8Array(b);Module["HEAP16"]=HEAP16=newInt16Array(b);Module["HEAPU8"]=HEAPU8=newUint8Array(b);Module["HEAPU16"]=HEAPU16=newUint16Array(b);Module["HEAP32"]=HEAP32=newInt32Array(b);Module["HEAPU32"]=HEAPU32=newUint32Array(b);Module["HEAPF32"]=HEAPF32=newFloat32Array(b);Module["HEAPF64"]=HEAPF64=newFloat64Array(b)}var__ATPRERUN__=[];var__ATINIT__=[];var__ATMAIN__=[];var__ATPOSTRUN__=[];varruntimeInitialized=false;functionpreRun(){if(Module["preRun"]){if(typeofModule["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}functioninitRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();FS.ignorePermissions=false;TTY