varModule=moduleArg;varreadyPromiseResolve,readyPromiseReject;Module["ready"]=newPromise((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});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";varENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;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);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(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{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"];if(!Module.wrapException){Module.wrapException=e=>e}vardynamicLibraries=Module["dynamicLibraries"]||[];varwasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];if(typeofWebAssembly!="object"){abort("no native wasm support detected")}functionintArrayFromBase64(s){if(typeofENVIRONMENT_IS_NODE!="undefined"&&ENVIRONMENT_IS_NODE){varbuf=Buffer.from(s,"base64");returnnewUint8Array(buf.buffer,buf.byteOffset,buf.length)}vardecoded=atob(s);varbytes=newUint8Array(decoded.length);for(vari=0;i<decoded.length;++i){bytes[i]=decoded.charCodeAt(i)}returnbytes}functiontryParseAsDataURI(filename){if(!isDataURI(filename)){return}returnintArrayFromBase64(filename.slice(dataURIPrefix.length))}varwasmMemory;varABORT=false;varEXITSTATUS;functionassert(condition,text){if(!condition){abort(text)}}varHEAP,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAP64,HEAPU64,HEAPF64;functionupdateMemoryViews(){varb=wasmMemory.buffer;Module["HEAP8"]=HEAP8=newInt8Array(b);Module["HEAP16"]=HEAP16=newInt16Array(b);Module["HEAPU8"]=HEAPU8=newUint8Array(b);Module["HEAPU16"]=HEAPU16=newUi