varModule;if(!Module)Module=(typeofACME!=="undefined"?ACME: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"]=functionread(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);if(typeofmodule!=="undefined"){module["exports"]=Module}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"]=functionread(){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}}elseif(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=functionread(url){varxhr=newXMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);returnxhr.responseText};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"]=functionprint(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=functionprintErr(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(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"]
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var___muldsi3=Module["___muldsi3"]=asm["___muldsi3"];var_malloc=Module["_malloc"]=asm["_malloc"];var_i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var_free=Module["_free"]=asm["_free"];var_main=Module["_main"]=asm["_main"];var_i64Add=Module["_i64Add"]=asm["_i64Add"];varrunPostSets=Module["runPostSets"]=asm["runPostSets"];var___udivmoddi4=Module["___udivmoddi4"]=asm["___udivmoddi4"];var_pthread_self=Module["_pthread_self"]=asm["_pthread_self"];var_memset=Module["_memset"]=asm["_memset"];var_llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var_sbrk=Module["_sbrk"]=asm["_sbrk"];var_memcpy=Module["_memcpy"]=asm["_memcpy"];var___muldi3=Module["___muldi3"]=asm["___muldi3"];var_bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var___errno_location=Module["___errno_location"]=asm["___errno_location"];var_bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];vardynCall_i=Module["dynCall_i"]=asm["dynCall_i"];vardynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];vardynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];vardynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];vardynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];Runtime.stackAlloc=asm["stackAlloc"];Runtime.stackSave=asm["stackSave"];Runtime.stackRestore=asm["stackRestore"];Runtime.establishStackSpace=asm["establishStackSpace"];Runtime.setTempRet0=asm["setTempRet0"];Runtime.getTempRet0=asm["getTempRet0"];Module["FS"]=FS;functionExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=newError;ExitStatus.prototype.constructor=ExitStatus;varinitialStackTop;varpreloadStartTime=null;varcalledMain=false;dependenciesFulfilled=functionrunCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=functioncallMain(args){args=args||[];ensureInitRuntime();varargc=args.length+1;functionpad(){for(vari=0;i<4-1;i++){argv.push(0)}}varargv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(vari=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);try{varret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(einstanceofExitStatus){return}elseif(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{if(e&&typeofe==="object"&&e.stack)Module.printErr("exception thrown: "+[e,e.stack]);throwe}}finally{calledMain=true}};functionrun(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;functiondoRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;functionexit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}elseif(ENVIRONMENT_IS_SHELL&&typeofquit==="function"){quit(status)}thrownewExitStatus(status)}Module["exit"]=Module.exit=exit;varabortDecorators=[];functionabort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;varextra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";varoutput="abort("+what+") at "+stackTrace()+extra;if(abo