varModule;if(!Module)Module=(typeofModule!=="undefined"?Module:null)||{};varmoduleOverrides={};for(varkeyinModule){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}varENVIRONMENT_IS_WEB=false;varENVIRONMENT_IS_WORKER=false;varENVIRONMENT_IS_NODE=false;varENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}elseif(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}elseif(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}elseif(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{thrownewError("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeofwindow==="object";ENVIRONMENT_IS_WORKER=typeofimportScripts==="function";ENVIRONMENT_IS_NODE=typeofprocess==="object"&&typeofrequire==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;varnodeFS;varnodePath;Module["read"]=functionshell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);varret=nodeFS["readFileSync"](filename);returnbinary?ret:ret.toString()};Module["readBinary"]=functionreadBinary(filename){varret=Module["read"](filename,true);if(!ret.buffer){ret=newUint8Array(ret)}assert(ret.buffer);returnret};Module["load"]=functionload(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);process["on"]("uncaughtException",(function(ex){if(!(exinstanceofExitStatus)){throwex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}elseif(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeofprintErr!="undefined")Module["printErr"]=printErr;if(typeofread!="undefined"){Module["read"]=read}else{Module["read"]=functionshell_read(){throw"no read() available"}}Module["readBinary"]=functionreadBinary(f){if(typeofreadbuffer==="function"){returnnewUint8Array(readbuffer(f))}vardata=read(f,"binary");assert(typeofdata==="object");returndata};if(typeofscriptArgs!="undefined"){Module["arguments"]=scriptArgs}elseif(typeofarguments!="undefined"){Module["arguments"]=arguments}if(typeofquit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}elseif(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=functionshell_read(url){varxhr=newXMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);returnxhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=functionreadBinary(url){varxhr=newXMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);returnnewUint8Array(xhr.response)}}Module["readAsync"]=functionreadAsync(url,onload,onerror){varxhr=newXMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=functionxhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeofarguments!="undefined"){Module["arguments"]=arguments}if(typeofconsole!=="undefined"){if(!Module["print"])Module["print"]=functionshell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=functionshell_printErr(x){console.warn(x)}}else{varTRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeofdump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeofModule["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}functionglobalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=functionload(f){globalEval(Mod