1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-03 04:29:33 +00:00
8bitworkshop/src/worker/xasm6809.js
2017-01-21 14:00:56 -05:00

24 lines
257 KiB
JavaScript

var xasm6809 = function(xasm6809) {
xasm6809 = xasm6809 || {};
var Module = xasm6809;
var Module;if(!Module)Module=(typeof xasm6809!=="undefined"?xasm6809:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="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;var nodeFS;var nodePath;Module["read"]=function read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(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(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(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.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i<Runtime.functionPointers.length;i++){if(!Runtime.functionPointers[i]){Runtime.functionPointers[i]=func;return 2*(1+i)}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}),removeFunction:(function(index){Runtime.functionPointers[(index-2)/2]=null}),warnOnce:(function(text){if(!Runtime.warnOnce.shown)Runtime.warnOnce.shown={};if(!Runtime.warnOnce.shown[text]){Runtime.warnOnce.shown[text]=1;Module.printErr(text)}}),funcWrappers:{},getFuncWrapper:(function(func,sig){assert(sig);if(!Runtime.funcWrappers[sig]){Runtime.funcWrappers[sig]={}}var sigCache=Runtime.funcWrappers[sig];if(!sigCache[func]){if(sig.length===1){sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func)}}else if(sig.length===2){sigCache[func]=function dynCall_wrapper(arg){return Runtime.dynCall(sig,func,[arg])}}else{sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func,Array.prototype.slice.call(arguments))}}}return sigCache[func]}),getCompilerSetting:(function(name){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"}),stackAlloc:(function(size){var ret=STACKTOP;STACKTOP=STACKTOP+size|0;STACKTOP=STACKTOP+15&-16;return ret}),staticAlloc:(function(size){var ret=STATICTOP;STATICTOP=STATICTOP+size|0;STATICTOP=STATICTOP+15&-16;return ret}),dynamicAlloc:(function(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=(ret+size+15|0)&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=0;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=Runtime.stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=Runtime.stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);if(returnType==="string")ret=Pointer_stringify(ret);if(stack!==0){if(opts&&opts.async){EmterpreterAsync.asyncFinalizers.push((function(){Runtime.stackRestore(stack)}));return}Runtime.stackRestore(stack)}return ret};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(jsfunc){var parsed=jsfunc.toString().match(sourceRegex).slice(1);return{arguments:parsed[0],body:parsed[1],returnValue:parsed[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource){JSsource={};for(var fun in JSfuncs){if(JSfuncs.hasOwnProperty(fun)){JSsource[fun]=parseJSFunc(JSfuncs[fun])}}}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident);var numericArgs=argTypes.every((function(type){return type==="number"}));var numericRet=returnType!=="string";if(numericRet&&numericArgs){return cfunc}var argNames=argTypes.map((function(x,i){return"$"+i}));var funcstr="(function("+argNames.join(",")+") {";var nargs=argTypes.length;if(!numericArgs){ensureJSsource();funcstr+="var stack = "+JSsource["stackSave"].body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type==="number")continue;var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";";funcstr+=convertCode.body+";";funcstr+=arg+"=("+convertCode.returnValue+");"}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");";if(!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}if(!numericArgs){ensureJSsource();funcstr+=JSsource["stackRestore"].body.replace("()","(stack)")+";"}funcstr+="return ret})";return eval(funcstr)}}))();Module["ccall"]=ccall;Module["cwrap"]=cwrap;function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[ptr++>>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i];if(typeof curr==="function"){curr=Runtime.getFunctionIndex(curr)}type=singleType||types[i];if(type===0){i++;continue}if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=Runtime.getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}Module["allocate"]=allocate;function getMemory(size){if(!staticSealed)return Runtime.staticAlloc(size);if(!runtimeInitialized)return Runtime.dynamicAlloc(size);return _malloc(size)}Module["getMemory"]=getMemory;function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){t=HEAPU8[ptr+i>>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx){var endPtr=idx;while(u8Array[endPtr])++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){var hasLibcxxabi=!!Module["___cxa_demangle"];if(hasLibcxxabi){try{var s=func.substr(1);var len=lengthBytesUTF8(s)+1;var buf=_malloc(len);stringToUTF8(s,buf,len);var status=_malloc(4);var ret=Module["___cxa_demangle"](buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}return func}Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling");return func}function demangleAll(text){return text.replace(/__Z[\w\d_]+/g,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}Module["stackTrace"]=stackTrace;var HEAP;var buffer;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var STATIC_BASE,STATICTOP,staticSealed;var STACK_BASE,STACKTOP,STACK_MAX;var DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0;staticSealed=false;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;var WASM_PAGE_SIZE=64*1024;var totalMemory=WASM_PAGE_SIZE;while(totalMemory<TOTAL_MEMORY||totalMemory<2*TOTAL_STACK){if(totalMemory<16*1024*1024){totalMemory*=2}else{totalMemory+=16*1024*1024}}if(totalMemory!==TOTAL_MEMORY){TOTAL_MEMORY=totalMemory}if(Module["buffer"]){buffer=Module["buffer"]}else{{buffer=new ArrayBuffer(TOTAL_MEMORY)}}updateGlobalBufferViews();function getTotalMemory(){return TOTAL_MEMORY}HEAP32[0]=1668509029;HEAP16[1]=25459;if(HEAPU8[2]!==115||HEAPU8[3]!==99)throw"Runtime error: expected the system to be little-endian!";Module["HEAP"]=HEAP;Module["buffer"]=buffer;Module["HEAP8"]=HEAP8;Module["HEAP16"]=HEAP16;Module["HEAP32"]=HEAP32;Module["HEAPU8"]=HEAPU8;Module["HEAPU16"]=HEAPU16;Module["HEAPU32"]=HEAPU32;Module["HEAPF32"]=HEAPF32;Module["HEAPF64"]=HEAPF64;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Runtime.dynCall("v",func)}else{Runtime.dynCall("vi",func,[callback.arg])}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];if(!Math["trunc"])Math["trunc"]=(function(x){return x<0?Math.ceil(x):Math.floor(x)});Math.trunc=Math["trunc"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_round=Math.round;var Math_min=Math.min;var Math_clz32=Math.clz32;var Math_trunc=Math.trunc;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var ASM_CONSTS=[];STATIC_BASE=8;STATICTOP=STATIC_BASE+20864;__ATINIT__.push();allocate([6,0,0,0,16,0,0,0,32,0,0,0,64,0,0,0,64,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,87,32,0,0,0,0,0,0,58,0,0,0,3,0,0,0,1,0,0,0,91,32,0,0,1,0,0,0,137,0,0,0,2,0,0,0,2,0,0,0,96,32,0,0,1,0,0,0,201,0,0,0,2,0,0,0,2,0,0,0,101,32,0,0,7,0,0,0,137,0,0,0,5,0,0,0,3,0,0,0,106,32,0,0,36,0,0,0,49,0,0,0,4,0,0,0,4,0,0,0,111,32,0,0,1,0,0,0,139,0,0,0,2,0,0,0,2,0,0,0,116,32,0,0,1,0,0,0,203,0,0,0,2,0,0,0,2,0,0,0,121,32,0,0,16,0,0,0,195,0,0,0,4,0,0,0,5,0,0,0,126,32,0,0,8,0,0,0,139,0,0,0,3,0,0,0,6,0,0,0,131,32,0,0,8,0,0,0,203,0,0,0,3,0,0,0,6,0,0,0,136,32,0,0,36,0,0,0,48,0,0,0,4,0,0,0,4,0,0,0,141,32,0,0,1,0,0,0,2,0,0,0,7,0,0,0,7,0,0,0,145,32,0,0,1,0,0,0,132,0,0,0,2,0,0,0,2,0,0,0,150,32,0,0,1,0,0,0,196,0,0,0,2,0,0,0,2,0,0,0,155,32,0,0,2,0,0,0,28,0,0,0,3,0,0,0,8,0,0,0,161,32,0,0,7,0,0,0,132,0,0,0,7,0,0,0,3,0,0,0,166,32,0,0,36,0,0,0,52,0,0,0,4,0,0,0,4,0,0,0,171,32,0,0,15,0,0,0,8,0,0,0,4,0,0,0,9,0,0,0,175,32,0,0,0,0,0,0,72,0,0,0,2,0,0,0,1,0,0,0,180,32,0,0,0,0,0,0,88,0,0,0,2,0,0,0,1,0,0,0,185,32,0,0,0,0,0,0,72,0,0,0,2,0,0,0,10,0,0,0,190,32,0,0,15,0,0,0,7,0,0,0,4,0,0,0,9,0,0,0,194,32,0,0,0,0,0,0,71,0,0,0,2,0,0,0,1,0,0,0,199,32,0,0,0,0,0,0,87,0,0,0,2,0,0,0,1,0,0,0,204,32,0,0,13,0,0,0,71,0,0,0,2,0,0,0,10,0,0,0,209,32,0,0,3,0,0,0,36,0,0,0,3,0,0,0,11,0,0,0,213,32,0,0,3,0,0,0,37,0,0,0,3,0,0,0,11,0,0,0,217,32,0,0,3,0,0,0,39,0,0,0,3,0,0,0,11,0,0,0,221,32,0,0,3,0,0,0,44,0,0,0,3,0,0,0,11,0,0,0,225,32,0,0,3,0,0,0,46,0,0,0,3,0,0,0,11,0,0,0,229,32,0,0,3,0,0,0,34,0,0,0,3,0,0,0,11,0,0,0,233,32,0,0,3,0,0,0,36,0,0,0,3,0,0,0,11,0,0,0,237,32,0,0,1,0,0,0,133,0,0,0,2,0,0,0,2,0,0,0,242,32,0,0,1,0,0,0,197,0,0,0,2,0,0,0,2,0,0,0,247,32,0,0,7,0,0,0,133,0,0,0,2,0,0,0,3,0,0,0,252,32,0,0,38,0,0,0,60,0,0,0,3,0,0,0,12,0,0,0,2,33,0,0,3,0,0,0,47,0,0,0,3,0,0,0,11,0,0,0,6,33,0,0,3,0,0,0,37,0,0,0,3,0,0,0,11,0,0,0,10,33,0,0,3,0,0,0,35,0,0,0,3,0,0,0,11,0,0,0,14,33,0,0,3,0,0,0,45,0,0,0,3,0,0,0,11,0,0,0,18,33,0,0,3,0,0,0,43,0,0,0,3,0,0,0,11,0,0,0,22,33,0,0,3,0,0,0,38,0,0,0,3,0,0,0,11,0,0,0,26,33,0,0,3,0,0,0,42,0,0,0,3,0,0,0,11,0,0,0,30,33,0,0,3,0,0,0,32,0,0,0,3,0,0,0,11,0,0,0,34,33,0,0,3,0,0,0,33,0,0,0,3,0,0,0,11,0,0,0,38,33,0,0,3,0,0,0,141,0,0,0,7,0,0,0,11,0,0,0,42,33,0,0,3,0,0,0,40,0,0,0,3,0,0,0,11,0,0,0,46,33,0,0,3,0,0,0,41,0,0,0,3,0,0,0,11,0,0,0,50,33,0,0,15,0,0,0,15,0,0,0,4,0,0,0,9,0,0,0,54,33,0,0,0,0,0,0,79,0,0,0,2,0,0,0,1,0,0,0,59,33,0,0,0,0,0,0,95,0,0,0,2,0,0,0,1,0,0,0,64,33,0,0,13,0,0,0,79,0,0,0,2,0,0,0,10,0,0,0,69,33,0,0,14,0,0,0,79,0,0,0,2,0,0,0,13,0,0,0,74,33,0,0,14,0,0,0,95,0,0,0,2,0,0,0,13,0,0,0,79,33,0,0,13,0,0,0,95,0,0,0,2,0,0,0,10,0,0,0,84,33,0,0,1,0,0,0,129,0,0,0,2,0,0,0,2,0,0,0,89,33,0,0,1,0,0,0,193,0,0,0,2,0,0,0,2,0,0,0,94,33,0,0,7,0,0,0,131,0,0,0,5,0,0,0,3,0,0,0,99,33,0,0,8,0,0,0,129,0,0,0,5,0,0,0,14,0,0,0,104,33,0,0,8,0,0,0,193,0,0,0,5,0,0,0,14,0,0,0,109,33,0,0,36,0,0,0,55,0,0,0,4,0,0,0,4,0,0,0,114,33,0,0,8,0,0,0,140,0,0,0,5,0,0,0,6,0,0,0,119,33,0,0,8,0,0,0,131,0,0,0,5,0,0,0,6,0,0,0,124,33,0,0,7,0,0,0,129,0,0,0,5,0,0,0,3,0,0,0,129,33,0,0,16,0,0,0,140,0,0,0,4,0,0,0,5,0,0,0,134,33,0,0,7,0,0,0,140,0,0,0,5,0,0,0,3,0,0,0,139,33,0,0,15,0,0,0,3,0,0,0,4,0,0,0,9,0,0,0,143,33,0,0,0,0,0,0,67,0,0,0,2,0,0,0,1,0,0,0,148,33,0,0,0,0,0,0,83,0,0,0,2,0,0,0,1,0,0,0,153,33,0,0,13,0,0,0,67,0,0,0,4,0,0,0,10,0,0,0,158,33,0,0,14,0,0,0,67,0,0,0,3,0,0,0,13,0,0,0,163,33,0,0,14,0,0,0,83,0,0,0,3,0,0,0,13,0,0,0,168,33,0,0,13,0,0,0,83,0,0,0,4,0,0,0,10,0,0,0,173,33,0,0,16,0,0,0,140,0,0,0,4,0,0,0,5,0,0,0,177,33,0,0,2,0,0,0,60,0,0,0,20,0,0,0,8,0,0,0,182,33,0,0,0,0,0,0,25,0,0,0,2,0,0,0,1,0,0,0,186,33,0,0,15,0,0,0,10,0,0,0,4,0,0,0,9,0,0,0,190,33,0,0,0,0,0,0,74,0,0,0,2,0,0,0,1,0,0,0,195,33,0,0,0,0,0,0,90,0,0,0,2,0,0,0,1,0,0,0,200,33,0,0,13,0,0,0,74,0,0,0,4,0,0,0,10,0,0,0,205,33,0,0,14,0,0,0,74,0,0,0,3,0,0,0,13,0,0,0,210,33,0,0,14,0,0,0,90,0,0,0,3,0,0,0,13,0,0,0,215,33,0,0,13,0,0,0,90,0,0,0,4,0,0,0,10,0,0,0,220,33,0,0,8,0,0,0,141,0,0,0,12,0,0,0,6,0,0,0,225,33,0,0,8,0,0,0,142,0,0,0,12,0,0,0,6,0,0,0,230,33,0,0,1,0,0,0,5,0,0,0,7,0,0,0,7,0,0,0,234,33,0,0,1,0,0,0,136,0,0,0,2,0,0,0,2,0,0,0,239,33,0,0,1,0,0,0,200,0,0,0,2,0,0,0,2,0,0,0,244,33,0,0,7,0,0,0,136,0,0,0,4,0,0,0,3,0,0,0,249,33,0,0,36,0,0,0,54,0,0,0,4,0,0,0,4,0,0,0,254,33,0,0,9,0,0,0,30,0,0,0,8,0,0,0,15,0,0,0,2,34,0,0,15,0,0,0,12,0,0,0,4,0,0,0,9,0,0,0,6,34,0,0,0,0,0,0,76,0,0,0,2,0,0,0,1,0,0,0,11,34,0,0,0,0,0,0,92,0,0,0,2,0,0,0,1,0,0,0,16,34,0,0,13,0,0,0,76,0,0,0,4,0,0,0,10,0,0,0,21,34,0,0,14,0,0,0,76,0,0,0,3,0,0,0,13,0,0,0,26,34,0,0,14,0,0,0,92,0,0,0,3,0,0,0,13,0,0,0,31,34,0,0,13,0,0,0,92,0,0,0,4,0,0,0,10,0,0,0,36,34,0,0,15,0,0,0,14,0,0,0,1,0,0,0,9,0,0,0,40,34,0,0,6,0,0,0,141,0,0,0,5,0,0,0,16,0,0,0,44,34,0,0,4,0,0,0,36,0,0,0,6,0,0,0,17,0,0,0,49,34,0,0,4,0,0,0,37,0,0,0,6,0,0,0,17,0,0,0,54,34,0,0,4,0,0,0,39,0,0,0,6,0,0,0,17,0,0,0,59,34,0,0,4,0,0,0,44,0,0,0,6,0,0,0,17,0,0,0,64,34,0,0,4,0,0,0,46,0,0,0,6,0,0,0,17,0,0,0,69,34,0,0,4,0,0,0,34,0,0,0,6,0,0,0,17,0,0,0,74,34,0,0,4,0,0,0,36,0,0,0,6,0,0,0,17,0,0,0,79,34,0,0,4,0,0,0,47,0,0,0,6,0,0,0,17,0,0,0,84,34,0,0,4,0,0,0,37,0,0,0,6,0,0,0,17,0,0,0,89,34,0,0,4,0,0,0,35,0,0,0,6,0,0,0,17,0,0,0,94,34,0,0,4,0,0,0,45,0,0,0,6,0,0,0,17,0,0,0,99,34,0,0,4,0,0,0,43,0,0,0,6,0,0,0,17,0,0,0,104,34,0,0,4,0,0,0,38,0,0,0,6,0,0,0,17,0,0,0,109,34,0,0,4,0,0,0,42,0,0,0,6,0,0,0,17,0,0,0,114,34,0,0,5,0,0,0,22,0,0,0,5,0,0,0,18,0,0,0,119,34,0,0,4,0,0,0,33,0,0,0,5,0,0,0,17,0,0,0,124,34,0,0,5,0,0,0,23,0,0,0,9,0,0,0,18,0,0,0,129,34,0,0,4,0,0,0,40,0,0,0,6,0,0,0,17,0,0,0,134,34,0,0,4,0,0,0,41,0,0,0,6,0,0,0,17,0,0,0,139,34,0,0,1,0,0,0,134,0,0,0,2,0,0,0,2,0,0,0,143,34,0,0,1,0,0,0,198,0,0,0,2,0,0,0,2,0,0,0,147,34,0,0,16,0,0,0,204,0,0,0,3,0,0,0,5,0,0,0,151,34,0,0,8,0,0,0,134,0,0,0,3,0,0,0,14,0,0,0,155,34,0,0,8,0,0,0,198,0,0,0,3,0,0,0,14,0,0,0,159,34,0,0,38,0,0,0,61,0,0,0,3,0,0,0,12,0,0,0,164,34,0,0,7,0,0,0,220,0,0,0,4,0,0,0,19,0,0,0,168,34,0,0,7,0,0,0,206,0,0,0,4,0,0,0,3,0,0,0,172,34,0,0,16,0,0,0,206,0,0,0,3,0,0,0,5,0,0,0,176,34,0,0,7,0,0,0,134,0,0,0,4,0,0,0,3,0,0,0,180,34,0,0,16,0,0,0,142,0,0,0,3,0,0,0,5,0,0,0,184,34,0,0,7,0,0,0,142,0,0,0,4,0,0,0,3,0,0,0,188,34,0,0,10,0,0,0,50,0,0,0,2,0,0,0,20,0,0,0,193,34,0,0,10,0,0,0,51,0,0,0,2,0,0,0,20,0,0,0,198,34,0,0,10,0,0,0,48,0,0,0,2,0,0,0,20,0,0,0,203,34,0,0,10,0,0,0,49,0,0,0,2,0,0,0,20,0,0,0,208,34,0,0,15,0,0,0,8,0,0,0,4,0,0,0,9,0,0,0,212,34,0,0,0,0,0,0,72,0,0,0,2,0,0,0,1,0,0,0,217,34,0,0,0,0,0,0,88,0,0,0,2,0,0,0,1,0,0,0,222,34,0,0,13,0,0,0,72,0,0,0,3,0,0,0,10,0,0,0,227,34,0,0,15,0,0,0,4,0,0,0,4,0,0,0,9,0,0,0,231,34,0,0,0,0,0,0,68,0,0,0,2,0,0,0,1,0,0,0,236,34,0,0,0,0,0,0,84,0,0,0,2,0,0,0,1,0,0,0,241,34,0,0,13,0,0,0,68,0,0,0,3,0,0,0,10,0,0,0,246,34,0,0,0,0,0,0,61,0,0,0,11,0,0,0,1,0,0,0,250,34,0,0,8,0,0,0,143,0,0,0,11,0,0,0,6,0,0,0,255,34,0,0,15,0,0,0,0,0,0,0,4,0,0,0,9,0,0,0,3,35,0,0,0,0,0,0,64,0,0,0,2,0,0,0,1,0,0,0,8,35,0,0,0,0,0,0,80,0,0,0,2,0,0,0,1,0,0,0,13,35,0,0,13,0,0,0,64,0,0,0,4,0,0,0,10,0,0,0,18,35,0,0,0,0,0,0,18,0,0,0,2,0,0,0,1,0,0,0,22,35,0,0,1,0,0,0,1,0,0,0,7,0,0,0,7,0,0,0,26,35,0,0,1,0,0,0,138,0,0,0,2,0,0,0,2,0,0,0,30,35,0,0,1,0,0,0,202,0,0,0,2,0,0,0,2,0,0,0,34,35,0,0,2,0,0,0,26,0,0,0,3,0,0,0,8,0,0,0,39,35,0,0,7,0,0,0,138,0,0,0,4,0,0,0,3,0,0,0,43,35,0,0,36,0,0,0,53,0,0,0,4,0,0,0,4,0,0,0,47,35,0,0,34,0,0,0,63,0,0,0,19,0,0,0,21,0,0,0,51,35,0,0,11,0,0,0,52,0,0,0,5,0,0,0,22,0,0,0,56,35,0,0,13,0,0,0,56,0,0,0,5,0,0,0,10,0,0,0,62,35,0,0,11,0,0,0,54,0,0,0,5,0,0,0,22,0,0,0,67,35,0,0,13,0,0,0,58,0,0,0,5,0,0,0,10,0,0,0,73,35,0,0,11,0,0,0,53,0,0,0,5,0,0,0,22,0,0,0,78,35,0,0,13,0,0,0,57,0,0,0,5,0,0,0,10,0,0,0,84,35,0,0,11,0,0,0,55,0,0,0,5,0,0,0,22,0,0,0,89,35,0,0,13,0,0,0,59,0,0,0,5,0,0,0,10,0,0,0,95,35,0,0,15,0,0,0,9,0,0,0,4,0,0,0,9,0,0,0,99,35,0,0,0,0,0,0,73,0,0,0,2,0,0,0,1,0,0,0,104,35,0,0,0,0,0,0,89,0,0,0,2,0,0,0,1,0,0,0,109,35,0,0,13,0,0,0,73,0,0,0,4,0,0,0,10,0,0,0,114,35,0,0,13,0,0,0,89,0,0,0,4,0,0,0,10,0,0,0,119,35,0,0,15,0,0,0,6,0,0,0,4,0,0,0,9,0,0,0,123,35,0,0,0,0,0,0,70,0,0,0,2,0,0,0,1,0,0,0,128,35,0,0,0,0,0,0,86,0,0,0,2,0,0,0,1,0,0,0,133,35,0,0,13,0,0,0,70,0,0,0,4,0,0,0,10,0,0,0,138,35,0,0,13,0,0,0,70,0,0,0,4,0,0,0,10,0,0,0,143,35,0,0,0,0,0,0,59,0,0,0,15,0,0,0,1,0,0,0,147,35,0,0,0,0,0,0,57,0,0,0,5,0,0,0,1,0,0,0,151,35,0,0,1,0,0,0,130,0,0,0,2,0,0,0,2,0,0,0,156,35,0,0,1,0,0,0,194,0,0,0,2,0,0,0,2,0,0,0,161,35,0,0,7,0,0,0,130,0,0,0,5,0,0,0,3,0,0,0,166,35,0,0,36,0,0,0,51,0,0,0,4,0,0,0,4,0,0,0,171,35,0,0,0,0,0,0,29,0,0,0,2,0,0,0,1,0,0,0,175,35,0,0,0,0,0,0,20,0,0,0,2,0,0,0,1,0,0,0,180,35,0,0,6,0,0,0,135,0,0,0,2,0,0,0,16,0,0,0,184,35,0,0,6,0,0,0,199,0,0,0,2,0,0,0,16,0,0,0,188,35,0,0,6,0,0,0,205,0,0,0,3,0,0,0,16,0,0,0,192,35,0,0,39,0,0,0,135,0,0,0,3,0,0,0,23,0,0,0,196,35,0,0,39,0,0,0,199,0,0,0,3,0,0,0,23,0,0,0,200,35,0,0,12,0,0,0,205,0,0,0,4,0,0,0,24,0,0,0,204,35,0,0,12,0,0,0,207,0,0,0,4,0,0,0,24,0,0,0,208,35,0,0,6,0,0,0,207,0,0,0,3,0,0,0,16,0,0,0,212,35,0,0,12,0,0,0,135,0,0,0,4,0,0,0,24,0,0,0,216,35,0,0,6,0,0,0,143,0,0,0,3,0,0,0,16,0,0,0,220,35,0,0,12,0,0,0,143,0,0,0,4,0,0,0,24,0,0,0,224,35,0,0,1,0,0,0,128,0,0,0,2,0,0,0,2,0,0,0,229,35,0,0,1,0,0,0,192,0,0,0,2,0,0,0,2,0,0,0,234,35,0,0,16,0,0,0,131,0,0,0,4,0,0,0,5,0,0,0,239,35,0,0,36,0,0,0,50,0,0,0,4,0,0,0,4,0,0,0,244,35,0,0,7,0,0,0,128,0,0,0,4,0,0,0,3,0,0,0,249,35,0,0,0,0,0,0,63,0,0,0,19,0,0,0,1,0,0,0,253,35,0,0,13,0,0,0,63,0,0,0,20,0,0,0,10,0,0,0,2,36,0,0,14,0,0,0,63,0,0,0,20,0,0,0,13,0,0,0,7,36,0,0,0,0,0,0,19,0,0,0,4,0,0,0,1,0,0,0,12,36,0,0,37,0,0,0,56,0,0,0,6,0,0,0,25,0,0,0,16,36,0,0,9,0,0,0,31,0,0,0,6,0,0,0,15,0,0,0,20,36,0,0,1,0,0,0,11,0,0,0,7,0,0,0,7,0,0,0,24,36,0,0,15,0,0,0,13,0,0,0,4,0,0,0,9,0,0,0,28,36,0,0,0,0,0,0,77,0,0,0,2,0,0,0,1,0,0,0,33,36,0,0,0,0,0,0,93,0,0,0,2,0,0,0,1,0,0,0,38,36,0,0,13,0,0,0,77,0,0,0,4,0,0,0,10,0,0,0,43,36,0,0,14,0,0,0,77,0,0,0,3,0,0,0,13,0,0,0,48,36,0,0,14,0,0,0,93,0,0,0,3,0,0,0,13,0,0,0,53,36,0,0,13,0,0,0,93,0,0,0,4,0,0,0,10,0,0,0,58,36,0,0,35,0,0,0,9,0,0,0,0,0,0,0,1,0,0,0,67,36,0,0,35,0,0,0,6,0,0,0,0,0,0,0,2,0,0,0,71,36,0,0,35,0,0,0,9,0,0,0,0,0,0,0,1,0,0,0,76,36,0,0,35,0,0,0,1,0,0,0,1,0,0,0,3,0,0,0,79,36,0,0,35,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,82,36,0,0,35,0,0,0,2,0,0,0,1,0,0,0,5,0,0,0,85,36,0,0,35,0,0,0,24,0,0,0,0,0,0,0,6,0,0,0,90,36,0,0,35,0,0,0,22,0,0,0,0,0,0,0,7,0,0,0,95,36,0,0,35,0,0,0,9,0,0,0,0,0,0,0,8,0,0,0,99,36,0,0,35,0,0,0,20,0,0,0,0,0,0,0,9,0,0,0,104,36,0,0,35,0,0,0,5,0,0,0,1,0,0,0,10,0,0,0,108,36,0,0,35,0,0,0,1,0,0,0,1,0,0,0,3,0,0,0,112,36,0,0,35,0,0,0,3,0,0,0,2,0,0,0,11,0,0,0,116,36,0,0,35,0,0,0,11,0,0,0,2,0,0,0,12,0,0,0,120,36,0,0,35,0,0,0,2,0,0,0,1,0,0,0,5,0,0,0,124,36,0,0,35,0,0,0,7,0,0,0,1,0,0,0,13,0,0,0,129,36,0,0,35,0,0,0,14,0,0,0,1,0,0,0,14,0,0,0,134,36,0,0,35,0,0,0,16,0,0,0,1,0,0,0,15,0,0,0,139,36,0,0,35,0,0,0,17,0,0,0,1,0,0,0,16,0,0,0,144,36,0,0,35,0,0,0,18,0,0,0,1,0,0,0,17,0,0,0,149,36,0,0,35,0,0,0,19,0,0,0,1,0,0,0,18,0,0,0,154,36,0,0,35,0,0,0,15,0,0,0,1,0,0,0,19,0,0,0,159,36,0,0,35,0,0,0,12,0,0,0,0,0,0,0,20,0,0,0,164,36,0,0,35,0,0,0,13,0,0,0,0,0,0,0,21,0,0,0,169,36,0,0,35,0,0,0,21,0,0,0,1,0,0,0,22,0,0,0,173,36,0,0,35,0,0,0,9,0,0,0,4,0,0,0,23,0,0,0,177,36,0,0,35,0,0,0,9,0,0,0,4,0,0,0,23,0,0,0,182,36,0,0,35,0,0,0,8,0,0,0,1,0,0,0,24,0,0,0,186,36,0,0,35,0,0,0,4,0,0,0,1,0,0,0,25,0,0,0,190,36,0,0,35,0,0,0,4,0,0,0,1,0,0,0,25,0,0,0,197,36,0,0,35,0,0,0,10,0,0,0,0,0,0,0,26,0,0,0,201,36,0,0,35,0,0,0,10,0,0,0,0,0,0,0,26,0,0,0,206,36,0,0,35,0,0,0,9,0,0,0,0,0,0,0,1,0,0,0,212,36,0,0,35,0,0,0,9,0,0,0,0,0,0,0,1,0,0,0,218,36,0,0,35,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,227,36,0,0,35,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,231,36,0,0,35,0,0,0,5,0,0,0,1,0,0,0,27,0,0,0,235,36,0,0,35,0,0,0,5,0,0,0,1,0,0,0,28,0,0,0,241,36,0,0,35,0,0,0,9,0,0,0,0,0,0,0,29,0,0,0,245,36,0,0,35,0,0,0,9,0,0,0,4,0,0,0,30,0,0,0,249,36,0,0,35,0,0,0,23,0,0,0,1,0,0,0,31,0,0,0,253,36,0,0,35,0,0,0,6,0,0,0,1,0,0,0,2,0,0,0,119,37,0,0,100,20,0,0,5,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,113,77,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,216,20,0,0,5,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,121,77,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,216,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,83,121,110,116,97,120,58,32,37,115,32,91,60,111,112,116,115,62,93,32,91,102,105,108,101,41,93,32,91,60,111,112,116,115,62,93,10,0,70,117,110,99,116,105,111,110,58,32,79,83,45,57,47,54,56,48,57,32,97,115,115,101,109,98,108,101,114,10,0,79,112,116,105,111,110,115,58,10,0,32,32,32,32,45,97,60,115,121,109,62,91,61,60,118,97,108,62,93,32,97,115,115,105,103,110,32,118,97,108,32,116,111,32,115,121,109,10,0,32,32,32,32,45,98,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,111,32,98,105,110,97,114,121,32,105,109,97,103,101,32,102,105,108,101,32,111,117,116,112,117,116,10,0,32,32,32,32,45,99,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,114,111,115,115,32,114,101,102,101,114,101,110,99,101,32,111,117,116,112,117,116,10,0,32,32,32,32,45,100,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,101,98,117,103,32,109,111,100,101,10,0,32,32,32,32,45,104,32,32,32,32,32,32,32,32,32,32,32,32,32,32,73,110,116,101,108,32,104,101,120,32,102,105,108,101,32,111,117,116,112,117,116,10,0,32,32,32,32,45,105,91,61,93,60,100,105,114,62,32,32,32,32,32,32,97,100,100,105,116,105,111,110,97,108,32,105,110,99,108,117,100,101,32,100,105,114,101,99,116,111,114,105,101,115,10,0,32,32,32,32,45,108,32,32,32,32,32,32,32,32,32,32,32,32,32,32,108,105,115,116,32,102,105,108,101,10,0,32,32,32,32,45,108,115,32,32,32,32,32,32,32,32,32,32,32,32,32,115,111,117,114,99,101,32,111,110,108,121,32,108,105,115,116,10,0,32,32,32,32,45,111,91,61,93,60,102,105,108,101,62,32,32,32,32,32,111,117,116,112,117,116,32,116,111,32,102,105,108,101,10,0,32,32,32,32,45,112,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,111,110,39,116,32,97,115,115,101,109,98,108,101,44,32,106,117,115,116,32,112,97,114,115,101,10,0,32,32,32,32,45,113,32,32,32,32,32,32,32,32,32,32,32,32,32,32,113,117,105,101,116,32,109,111,100,101,10,0,32,32,32,32,45,115,32,32,32,32,32,32,32,32,32,32,32,32,32,32,115,121,109,98,111,108,32,116,97,98,108,101,32,100,117,109,112,10,0,32,32,32,32,45,121,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,110,99,108,117,100,101,32,105,110,115,116,114,117,99,116,105,111,110,32,99,121,99,108,101,32,99,111,117,110,116,10,0,85,110,107,110,111,119,110,32,111,112,116,105,111,110,10,0,37,115,58,32,99,97,110,39,116,32,111,112,101,110,32,37,115,10,0,82,101,105,110,105,116,105,97,108,105,122,105,110,103,10,0,10,45,45,45,45,45,45,0,10,80,97,115,115,32,37,100,0,10,45,45,45,45,45,45,10,0,85,110,114,101,99,111,103,110,105,122,101,100,32,77,110,101,109,111,110,105,99,0,76,97,98,101,108,32,32,32,32,32,32,37,115,10,0,79,112,32,32,32,32,32,32,32,32,32,37,115,10,0,79,112,101,114,97,110,100,32,32,32,32,37,115,10,0,73,110,105,116,105,97,108,105,122,105,110,103,10,0,111,117,116,112,117,116,58,32,32,37,115,10,0,119,98,0,67,97,110,39,116,32,99,114,101,97,116,101,32,111,98,106,101,99,116,32,102,105,108,101,0,82,101,115,117,108,116,32,62,50,53,53,0,77,105,115,115,105,110,103,32,39,93,39,0,68,80,32,111,117,116,32,111,102,32,114,97,110,103,101,0,85,110,107,110,111,119,110,32,65,100,100,114,101,115,115,105,110,103,32,77,111,100,101,0,65,117,116,111,32,73,110,99,47,68,101,99,32,73,108,108,101,103,97,108,32,111,110,32,80,67,0,79,102,102,115,101,116,32,109,117,115,116,32,98,101,32,90,101,114,111,0,65,117,116,111,32,73,110,99,47,68,101,99,32,98,121,32,49,32,111,114,32,50,32,111,110,108,121,0,78,111,32,65,117,116,111,32,73,110,99,47,68,101,99,32,98,121,32,49,32,102,111,114,32,73,110,100,105,114,101,99,116,0,67,97,110,39,116,32,100,111,32,98,111,116,104,33,0,79,110,108,121,32,44,45,45,87,32,97,110,100,32,44,87,43,43,32,97,108,108,111,119,101,100,32,102,111,114,32,87,32,105,110,100,101,120,105,110,103,0,118,97,108,117,101,32,111,117,116,32,111,102,32,114,97,110,103,101,32,50,0,66,121,116,101,32,105,110,100,101,120,105,110,103,32,105,115,32,105,110,118,97,108,105,100,32,102,111,114,32,87,0,73,108,108,101,103,97,108,32,82,101,103,105,115,116,101,114,32,102,111,114,32,73,110,100,101,120,101,100,0,67,97,110,110,111,116,32,117,115,101,32,87,32,102,111,114,32,114,101,103,105,115,116,101,114,32,105,110,100,105,114,101,99,116,0,68,0,100,0,88,0,120,0,89,0,121,0,85,0,117,0,83,0,115,0,80,67,0,112,99,0,87,0,119,0,86,0,118,0,80,67,82,0,112,99,114,0,65,0,97,0,66,0,98,0,67,67,0,99,99,0,68,80,0,100,112,0,48,0,90,0,122,0,69,0,101,0,70,0,102,0,73,109,109,101,100,105,97,116,101,32,79,112,101,114,97,110,100,32,82,101,113,117,105,114,101,100,0,67,111,109,109,97,32,114,101,113,117,105,114,101,100,32,98,101,116,119,101,101,110,32,111,112,101,114,97,110,100,115,0,73,109,109,101,100,105,97,116,101,32,65,100,100,114,101,115,115,105,110,103,32,73,108,108,101,103,97,108,0,73,110,100,101,120,101,100,32,65,100,100,114,101,115,115,105,110,103,32,73,108,108,101,103,97,108,0,66,114,97,110,99,104,32,111,117,116,32,111,102,32,82,97,110,103,101,0,82,101,103,105,115,116,101,114,32,78,97,109,101,32,82,101,113,117,105,114,101,100,0,77,105,115,115,105,110,103,32,44,0,80,67,82,32,105,108,108,101,103,97,108,32,104,101,114,101,0,68,101,115,116,105,110,97,116,105,111,110,32,90,101,114,111,32,114,101,103,105,115,116,101,114,32,105,115,32,105,108,108,101,103,97,108,0,82,101,103,105,115,116,101,114,32,83,105,122,101,32,77,105,115,109,97,116,99,104,0,73,110,118,97,108,105,100,32,116,114,97,105,108,105,110,103,32,116,101,120,116,0,73,110,118,97,108,105,100,32,116,101,120,116,0,73,110,118,97,108,105,100,32,82,101,103,105,115,116,101,114,0,85,110,101,120,112,101,99,116,101,100,32,116,114,97,105,108,105,110,103,32,39,43,39,0,85,110,101,120,112,101,99,116,101,100,32,116,114,97,105,108,105,110,103,32,39,45,39,0,69,120,112,101,99,116,101,100,32,97,100,100,114,101,115,115,105,110,103,32,109,111,100,101,32,39,43,39,32,111,114,32,39,45,39,0,73,110,100,101,120,101,100,32,65,100,100,114,101,115,115,105,110,103,32,82,101,113,117,105,114,101,100,0,82,101,103,105,115,116,101,114,32,76,105,115,116,32,82,101,113,117,105,114,101,100,0,73,108,108,101,103,97,108,32,82,101,103,105,115,116,101,114,32,78,97,109,101,0,67,97,110,39,116,32,80,117,115,104,32,83,32,111,110,32,83,0,67,97,110,39,116,32,80,117,115,104,32,85,32,111,110,32,85,0,67,97,110,39,116,32,80,117,108,108,32,83,32,102,114,111,109,32,83,0,67,97,110,39,116,32,80,117,108,108,32,85,32,102,114,111,109,32,85,0,88,65,83,77,68,69,70,68,73,82,0,69,118,97,108,117,97,116,105,110,103,32,37,115,10,0,82,101,115,117,108,116,32,32,32,32,32,36,37,120,10,0,70,111,114,99,101,95,98,121,116,101,32,37,100,10,0,70,111,114,99,101,95,119,111,114,100,32,37,100,10,0,43,45,42,47,38,37,124,94,33,0,85,110,98,97,108,97,110,99,101,100,32,101,120,112,114,101,115,115,105,111,110,0,77,105,115,109,97,116,99,104,101,100,32,98,114,97,99,101,0,48,49,0,48,49,50,51,52,53,54,55,0,48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,65,66,67,68,69,70,0,48,49,50,51,52,53,54,55,56,57,0,70,119,100,95,114,101,102,115,0,67,97,110,39,116,32,99,114,101,97,116,101,32,116,101,109,112,32,102,105,108,101,0,70,111,114,119,97,114,100,32,114,101,102,32,102,105,108,101,32,104,97,115,32,103,111,110,101,46,0,70,105,114,115,116,32,102,119,100,32,114,101,102,58,32,37,100,44,37,100,10,0,70,102,110,32,115,116,97,116,61,37,100,32,0,70,95,114,101,102,32,115,116,97,116,61,37,100,32,32,0,78,101,120,116,32,70,119,100,32,114,101,102,58,32,37,100,44,37,100,10,0,37,45,49,48,115,32,37,48,52,120,0,37,45,49,48,115,32,37,48,52,120,32,42,0,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,37,48,52,100,32,0,37,48,53,100,32,0,32,37,99,32,0,37,48,52,88,32,0,32,32,32,32,32,0,91,37,50,100,93,32,0,37,48,50,88,0,32,32,0,32,32,32,0,37,115,0,37,45,56,115,32,37,45,52,115,32,32,37,115,0,37,45,56,115,32,37,45,52,115,32,32,37,45,49,48,115,32,37,115,0,10,37,48,53,100,32,32,32,37,48,52,88,32,0,37,48,50,120,0,88,65,115,109,32,79,83,45,57,32,67,114,111,115,115,32,65,115,115,101,109,98,108,101,114,32,86,101,114,115,105,111,110,32,48,49,46,48,48,46,48,48,32,32,32,32,37,48,50,100,47,37,48,50,100,47,37,48,50,100,32,37,48,50,100,58,37,48,50,100,58,37,48,50,100,32,32,32,32,32,32,80,97,103,101,32,37,48,51,100,10,0,37,115,32,45,32,37,115,10,0,37,48,53,100,32,101,114,114,111,114,40,115,41,10,0,37,48,53,100,32,119,97,114,110,105,110,103,40,115,41,10,0,36,37,48,52,88,32,37,48,53,100,32,112,114,111,103,114,97,109,32,98,121,116,101,115,32,103,101,110,101,114,97,116,101,100,10,0,36,37,48,52,88,32,37,48,53,100,32,100,97,116,97,32,98,121,116,101,115,32,103,101,110,101,114,97,116,101,100,10,0,108,97,98,101,108,32,110,111,116,32,97,108,108,111,119,101,100,0,85,110,100,101,102,105,110,101,100,32,79,112,101,114,97,110,100,32,100,117,114,105,110,103,32,80,97,115,115,32,79,110,101,0,66,97,100,32,102,105,108,108,0,86,97,108,117,101,32,116,114,117,110,99,97,116,101,100,0,77,105,115,115,105,110,103,32,68,101,108,105,109,105,116,101,114,0,69,81,85,32,114,101,113,117,105,114,101,115,32,108,97,98,101,108,0,83,69,84,32,114,101,113,117,105,114,101,115,32,108,97,98,101,108,0,111,112,116,32,108,105,115,116,0,12,0,37,45,49,48,115,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,112,97,103,101,32,37,51,100,10,0,67,111,110,100,105,116,105,111,110,97,108,32,115,116,97,99,107,32,111,118,101,114,102,108,111,119,33,0,101,110,100,99,32,119,105,116,104,111,117,116,32,97,32,99,111,110,100,105,116,105,111,110,97,108,32,105,102,33,0,44,0,77,105,115,115,105,110,103,32,112,97,114,97,109,101,116,101,114,0,114,0,47,0,67,97,110,110,111,116,32,111,112,101,110,32,102,105,108,101,10,0,97,98,120,0,97,100,99,97,0,97,100,99,98,0,97,100,99,100,0,97,100,99,114,0,97,100,100,97,0,97,100,100,98,0,97,100,100,100,0,97,100,100,101,0,97,100,100,102,0,97,100,100,114,0,97,105,109,0,97,110,100,97,0,97,110,100,98,0,97,110,100,99,99,0,97,110,100,100,0,97,110,100,114,0,97,115,108,0,97,115,108,97,0,97,115,108,98,0,97,115,108,100,0,97,115,114,0,97,115,114,97,0,97,115,114,98,0,97,115,114,100,0,98,99,99,0,98,99,115,0,98,101,113,0,98,103,101,0,98,103,116,0,98,104,105,0,98,104,115,0,98,105,116,97,0,98,105,116,98,0,98,105,116,100,0,98,105,116,109,100,0,98,108,101,0,98,108,111,0,98,108,115,0,98,108,116,0,98,109,105,0,98,110,101,0,98,112,108,0,98,114,97,0,98,114,110,0,98,115,114,0,98,118,99,0,98,118,115,0,99,108,114,0,99,108,114,97,0,99,108,114,98,0,99,108,114,100,0,99,108,114,101,0,99,108,114,102,0,99,108,114,119,0,99,109,112,97,0,99,109,112,98,0,99,109,112,100,0,99,109,112,101,0,99,109,112,102,0,99,109,112,114,0,99,109,112,115,0,99,109,112,117,0,99,109,112,119,0,99,109,112,120,0,99,109,112,121,0,99,111,109,0,99,111,109,97,0,99,111,109,98,0,99,111,109,100,0,99,111,109,101,0,99,111,109,102,0,99,111,109,119,0,99,112,120,0,99,119,97,105,0,100,97,97,0,100,101,99,0,100,101,99,97,0,100,101,99,98,0,100,101,99,100,0,100,101,99,101,0,100,101,99,102,0,100,101,99,119,0,100,105,118,100,0,100,105,118,113,0,101,105,109,0,101,111,114,97,0,101,111,114,98,0,101,111,114,100,0,101,111,114,114,0,101,120,103,0,105,110,99,0,105,110,99,97,0,105,110,99,98,0,105,110,99,100,0,105,110,99,101,0,105,110,99,102,0,105,110,99,119,0,106,109,112,0,106,115,114,0,108,98,99,99,0,108,98,99,115,0,108,98,101,113,0,108,98,103,101,0,108,98,103,116,0,108,98,104,105,0,108,98,104,115,0,108,98,108,101,0,108,98,108,111,0,108,98,108,115,0,108,98,108,116,0,108,98,109,105,0,108,98,110,101,0,108,98,112,108,0,108,98,114,97,0,108,98,114,110,0,108,98,115,114,0,108,98,118,99,0,108,98,118,115,0,108,100,97,0,108,100,98,0,108,100,100,0,108,100,101,0,108,100,102,0,108,100,109,100,0,108,100,113,0,108,100,115,0,108,100,117,0,108,100,119,0,108,100,120,0,108,100,121,0,108,101,97,115,0,108,101,97,117,0,108,101,97,120,0,108,101,97,121,0,108,115,108,0,108,115,108,97,0,108,115,108,98,0,108,115,108,100,0,108,115,114,0,108,115,114,97,0,108,115,114,98,0,108,115,114,100,0,109,117,108,0,109,117,108,100,0,110,101,103,0,110,101,103,97,0,110,101,103,98,0,110,101,103,100,0,110,111,112,0,111,105,109,0,111,114,97,0,111,114,98,0,111,114,99,99,0,111,114,100,0,111,114,114,0,111,115,57,0,112,115,104,115,0,112,115,104,115,119,0,112,115,104,117,0,112,115,104,117,119,0,112,117,108,115,0,112,117,108,115,119,0,112,117,108,117,0,112,117,108,117,119,0,114,111,108,0,114,111,108,97,0,114,111,108,98,0,114,111,108,100,0,114,111,108,119,0,114,111,114,0,114,111,114,97,0,114,111,114,98,0,114,111,114,100,0,114,111,114,119,0,114,116,105,0,114,116,115,0,115,98,99,97,0,115,98,99,98,0,115,98,99,100,0,115,98,99,114,0,115,101,120,0,115,101,120,119,0,115,116,97,0,115,116,98,0,115,116,100,0,115,116,101,0,115,116,102,0,115,116,113,0,115,116,115,0,115,116,117,0,115,116,119,0,115,116,120,0,115,116,121,0,115,117,98,97,0,115,117,98,98,0,115,117,98,100,0,115,117,98,114,0,115,117,98,119,0,115,119,105,0,115,119,105,50,0,115,119,105,51,0,115,121,110,99,0,116,102,109,0,116,102,114,0,116,105,109,0,116,115,116,0,116,115,116,97,0,116,115,116,98,0,116,115,116,100,0,116,115,116,101,0,116,115,116,102,0,116,115,116,119,0,97,98,115,111,108,117,116,101,0,98,115,122,0,99,111,100,101,0,100,98,0,100,115,0,100,119,0,101,108,115,101,0,101,109,111,100,0,101,110,100,0,101,110,100,99,0,101,113,117,0,102,99,98,0,102,99,99,0,102,99,115,0,102,100,98,0,102,105,108,108,0,105,102,101,113,0,105,102,103,101,0,105,102,103,116,0,105,102,108,101,0,105,102,108,116,0,105,102,110,101,0,105,102,112,49,0,105,102,112,50,0,109,111,100,0,110,97,109,0,110,97,109,101,0,111,112,116,0,111,114,103,0,111,114,105,103,105,110,0,112,97,103,0,112,97,103,101,0,112,97,103,101,48,0,112,97,103,101,49,0,114,101,108,97,116,105,118,101,0,114,109,98,0,115,101,116,0,115,101,116,100,112,0,115,112,99,0,116,116,108,0,117,115,101,0,122,109,98,0,73,108,108,101,103,97,108,32,83,121,109,98,111,108,32,78,97,109,101,0,80,104,97,115,105,110,103,32,69,114,114,111,114,0,83,121,109,98,111,108,32,82,101,100,101,102,105,110,101,100,0,73,110,115,116,97,108,108,105,110,103,32,37,115,32,97,115,32,36,37,120,10,0,83,121,109,98,111,108,32,116,97,98,108,101,32,102,117,108,108,0,115,121,109,98,111,108,32,85,110,100,101,102,105,110,101,100,32,111,110,32,112,97,115,115,32,50,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,0,37,115,10,0,10,42,42,42,42,42,32,69,114,114,111,114,58,32,37,115,10,0,10,87,97,114,110,105,110,103,58,32,108,105,110,101,58,32,37,45,53,100,32,105,110,32,37,45,50,48,115,32,32,32,32,37,115,10,0,32,9,10,0,69,109,105,116,32,32,32,32,32,32,32,37,48,52,120,91,37,48,50,120,93,10,0,58,0,83,49,0,10,0,37,99,37,99,0,58,48,48,48,48,48,48,48,49,70,70,10,0,83,57,48,51,48,48,48,48,70,67,10,0,32,9,10,44,43,45,93,59,42,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);allocate([48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0,114,119,97,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+10240);var tempDoublePtr=STATICTOP;STATICTOP+=16;Module["_i64Subtract"]=_i64Subtract;Module["_i64Add"]=_i64Add;Module["_memset"]=_memset;function _pthread_cleanup_push(routine,arg){__ATEXIT__.push((function(){Runtime.dynCall("vi",routine,[arg])}));_pthread_cleanup_push.level=__ATEXIT__.length}Module["_bitshift64Lshr"]=_bitshift64Lshr;var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"};function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}var PATH={splitPath:(function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)}),normalizeArray:(function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}),normalize:(function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path}),dirname:(function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir}),basename:(function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)}),extname:(function(path){return PATH.splitPath(path)[3]}),join:(function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))}),join2:(function(l,r){return PATH.normalize(l+"/"+r)}),resolve:(function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter((function(p){return!!p})),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."}),relative:(function(from,to){from=PATH.resolve(from).substr(1);to=PATH.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")})};var TTY={ttys:[],init:(function(){}),shutdown:(function(){}),register:(function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)}),stream_ops:{open:(function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}stream.tty=tty;stream.seekable=false}),close:(function(stream){stream.tty.ops.flush(stream.tty)}),flush:(function(stream){stream.tty.ops.flush(stream.tty)}),read:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}for(var i=0;i<length;i++){try{stream.tty.ops.put_char(stream.tty,buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})},default_tty_ops:{get_char:(function(tty){if(!tty.input.length){var result=null;if(ENVIRONMENT_IS_NODE){var BUFSIZE=256;var buf=new Buffer(BUFSIZE);var bytesRead=0;var isPosixPlatform=process.platform!="win32";var fd=process.stdin.fd;if(isPosixPlatform){var usingDevice=false;try{fd=fs.openSync("/dev/stdin","r");usingDevice=true}catch(e){}}try{bytesRead=fs.readSync(fd,buf,0,BUFSIZE,null)}catch(e){if(e.toString().indexOf("EOF")!=-1)bytesRead=0;else throw e}if(usingDevice){fs.closeSync(fd)}if(bytesRead>0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()}),put_char:(function(tty,val){if(val===null||val===10){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}})},default_tty1_ops:{put_char:(function(tty,val){if(val===null||val===10){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}})}};var MEMFS={ops_table:null,mount:(function(mount){return MEMFS.createNode(null,"/",16384|511,0)}),createNode:(function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node}),getFileDataAsRegularArray:(function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i<node.usedBytes;++i)arr.push(node.contents[i]);return arr}return node.contents}),getFileDataAsTypedArray:(function(node){if(!node.contents)return new Uint8Array;if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)}),expandFileStorage:(function(node,newCapacity){if(node.contents&&node.contents.subarray&&newCapacity>node.contents.length){node.contents=MEMFS.getFileDataAsRegularArray(node);node.usedBytes=node.contents.length}if(!node.contents||node.contents.subarray){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)|0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.length<newCapacity)node.contents.push(0)}),resizeFileStorage:(function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length<newSize)node.contents.push(0);node.usedBytes=newSize}),node_ops:{getattr:(function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr}),setattr:(function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}}),lookup:(function(parent,name){throw FS.genericErrors[ERRNO_CODES.ENOENT]}),mknod:(function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)}),rename:(function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}}}delete old_node.parent.contents[old_node.name];old_node.name=new_name;new_dir.contents[new_name]=old_node;old_node.parent=new_dir}),unlink:(function(parent,name){delete parent.contents[name]}),rmdir:(function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}delete parent.contents[name]}),readdir:(function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries}),symlink:(function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node}),readlink:(function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return node.link})},stream_ops:{read:(function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);assert(size>=0);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i<size;i++)buffer[offset+i]=contents[position+i]}return size}),write:(function(stream,buffer,offset,length,position,canOwn){if(!length)return 0;var node=stream.node;node.timestamp=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=new Uint8Array(buffer.subarray(offset,offset+length));node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray)node.contents.set(buffer.subarray(offset,offset+length),position);else{for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}}node.usedBytes=Math.max(node.usedBytes,position+length);return length}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.usedBytes}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position}),allocate:(function(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&(contents.buffer===buffer||contents.buffer===buffer.buffer)){allocated=false;ptr=contents.byteOffset}else{if(position>0||position+length<stream.node.usedBytes){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}allocated=true;ptr=_malloc(length);if(!ptr){throw new FS.ErrnoError(ERRNO_CODES.ENOMEM)}buffer.set(contents,ptr)}return{ptr:ptr,allocated:allocated}}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(mmapFlags&2){return 0}var bytesWritten=MEMFS.stream_ops.write(stream,buffer,0,length,offset,false);return 0})}};var IDBFS={dbs:{},indexedDB:(function(){if(typeof indexedDB!=="undefined")return indexedDB;var ret=null;if(typeof window==="object")ret=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;assert(ret,"IDBFS used, but indexedDB not supported");return ret}),DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:(function(mount){return MEMFS.mount.apply(null,arguments)}),syncfs:(function(mount,populate,callback){IDBFS.getLocalSet(mount,(function(err,local){if(err)return callback(err);IDBFS.getRemoteSet(mount,(function(err,remote){if(err)return callback(err);var src=populate?remote:local;var dst=populate?local:remote;IDBFS.reconcile(src,dst,callback)}))}))}),getDB:(function(name,callback){var db=IDBFS.dbs[name];if(db){return callback(null,db)}var req;try{req=IDBFS.indexedDB().open(name,IDBFS.DB_VERSION)}catch(e){return callback(e)}if(!req){return callback("Unable to connect to IndexedDB")}req.onupgradeneeded=(function(e){var db=e.target.result;var transaction=e.target.transaction;var fileStore;if(db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)){fileStore=transaction.objectStore(IDBFS.DB_STORE_NAME)}else{fileStore=db.createObjectStore(IDBFS.DB_STORE_NAME)}if(!fileStore.indexNames.contains("timestamp")){fileStore.createIndex("timestamp","timestamp",{unique:false})}});req.onsuccess=(function(){db=req.result;IDBFS.dbs[name]=db;callback(null,db)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),getLocalSet:(function(mount,callback){var entries={};function isRealDir(p){return p!=="."&&p!==".."}function toAbsolute(root){return(function(p){return PATH.join2(root,p)})}var check=FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));while(check.length){var path=check.pop();var stat;try{stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){check.push.apply(check,FS.readdir(path).filter(isRealDir).map(toAbsolute(path)))}entries[path]={timestamp:stat.mtime}}return callback(null,{type:"local",entries:entries})}),getRemoteSet:(function(mount,callback){var entries={};IDBFS.getDB(mount.mountpoint,(function(err,db){if(err)return callback(err);var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readonly");transaction.onerror=(function(e){callback(this.error);e.preventDefault()});var store=transaction.objectStore(IDBFS.DB_STORE_NAME);var index=store.index("timestamp");index.openKeyCursor().onsuccess=(function(event){var cursor=event.target.result;if(!cursor){return callback(null,{type:"remote",db:db,entries:entries})}entries[cursor.primaryKey]={timestamp:cursor.key};cursor.continue()})}))}),loadLocalEntry:(function(path,callback){var stat,node;try{var lookup=FS.lookupPath(path);node=lookup.node;stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){return callback(null,{timestamp:stat.mtime,mode:stat.mode})}else if(FS.isFile(stat.mode)){node.contents=MEMFS.getFileDataAsTypedArray(node);return callback(null,{timestamp:stat.mtime,mode:stat.mode,contents:node.contents})}else{return callback(new Error("node type not supported"))}}),storeLocalEntry:(function(path,entry,callback){try{if(FS.isDir(entry.mode)){FS.mkdir(path,entry.mode)}else if(FS.isFile(entry.mode)){FS.writeFile(path,entry.contents,{encoding:"binary",canOwn:true})}else{return callback(new Error("node type not supported"))}FS.chmod(path,entry.mode);FS.utime(path,entry.timestamp,entry.timestamp)}catch(e){return callback(e)}callback(null)}),removeLocalEntry:(function(path,callback){try{var lookup=FS.lookupPath(path);var stat=FS.stat(path);if(FS.isDir(stat.mode)){FS.rmdir(path)}else if(FS.isFile(stat.mode)){FS.unlink(path)}}catch(e){return callback(e)}callback(null)}),loadRemoteEntry:(function(store,path,callback){var req=store.get(path);req.onsuccess=(function(event){callback(null,event.target.result)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),storeRemoteEntry:(function(store,path,entry,callback){var req=store.put(entry,path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),removeRemoteEntry:(function(store,path,callback){var req=store.delete(path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),reconcile:(function(src,dst,callback){var total=0;var create=[];Object.keys(src.entries).forEach((function(key){var e=src.entries[key];var e2=dst.entries[key];if(!e2||e.timestamp>e2.timestamp){create.push(key);total++}}));var remove=[];Object.keys(dst.entries).forEach((function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}}));if(!total){return callback(null)}var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=(function(e){done(this.error);e.preventDefault()});create.sort().forEach((function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,(function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)}))}else{IDBFS.loadLocalEntry(path,(function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)}))}}));remove.sort().reverse().forEach((function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}}))})};var NODEFS={isWindows:false,staticInit:(function(){NODEFS.isWindows=!!process.platform.match(/^win/)}),mount:(function(mount){assert(ENVIRONMENT_IS_NODE);return NODEFS.createNode(null,"/",NODEFS.getMode(mount.opts.root),0)}),createNode:(function(parent,name,mode,dev){if(!FS.isDir(mode)&&!FS.isFile(mode)&&!FS.isLink(mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=FS.createNode(parent,name,mode);node.node_ops=NODEFS.node_ops;node.stream_ops=NODEFS.stream_ops;return node}),getMode:(function(path){var stat;try{stat=fs.lstatSync(path);if(NODEFS.isWindows){stat.mode=stat.mode|(stat.mode&146)>>1}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return stat.mode}),realPath:(function(node){var parts=[];while(node.parent!==node){parts.push(node.name);node=node.parent}parts.push(node.mount.opts.root);parts.reverse();return PATH.join.apply(null,parts)}),flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:(function(flags){flags&=~2097152;flags&=~2048;flags&=~32768;flags&=~524288;if(flags in NODEFS.flagsToPermissionStringMap){return NODEFS.flagsToPermissionStringMap[flags]}else{throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}}),node_ops:{getattr:(function(node){var path=NODEFS.realPath(node);var stat;try{stat=fs.lstatSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(NODEFS.isWindows&&!stat.blksize){stat.blksize=4096}if(NODEFS.isWindows&&!stat.blocks){stat.blocks=(stat.size+stat.blksize-1)/stat.blksize|0}return{dev:stat.dev,ino:stat.ino,mode:stat.mode,nlink:stat.nlink,uid:stat.uid,gid:stat.gid,rdev:stat.rdev,size:stat.size,atime:stat.atime,mtime:stat.mtime,ctime:stat.ctime,blksize:stat.blksize,blocks:stat.blocks}}),setattr:(function(node,attr){var path=NODEFS.realPath(node);try{if(attr.mode!==undefined){fs.chmodSync(path,attr.mode);node.mode=attr.mode}if(attr.timestamp!==undefined){var date=new Date(attr.timestamp);fs.utimesSync(path,date,date)}if(attr.size!==undefined){fs.truncateSync(path,attr.size)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),lookup:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);var mode=NODEFS.getMode(path);return NODEFS.createNode(parent,name,mode)}),mknod:(function(parent,name,mode,dev){var node=NODEFS.createNode(parent,name,mode,dev);var path=NODEFS.realPath(node);try{if(FS.isDir(node.mode)){fs.mkdirSync(path,node.mode)}else{fs.writeFileSync(path,"",{mode:node.mode})}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return node}),rename:(function(oldNode,newDir,newName){var oldPath=NODEFS.realPath(oldNode);var newPath=PATH.join2(NODEFS.realPath(newDir),newName);try{fs.renameSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),unlink:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.unlinkSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),rmdir:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.rmdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readdir:(function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),symlink:(function(parent,newName,oldPath){var newPath=PATH.join2(NODEFS.realPath(parent),newName);try{fs.symlinkSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readlink:(function(node){var path=NODEFS.realPath(node);try{path=fs.readlinkSync(path);path=NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root),path);return path}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}})},stream_ops:{open:(function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsToPermissionString(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),close:(function(stream){try{if(FS.isFile(stream.node.mode)&&stream.nfd){fs.closeSync(stream.nfd)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),read:(function(stream,buffer,offset,length,position){if(length===0)return 0;var nbuffer=new Buffer(length);var res;try{res=fs.readSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(res>0){for(var i=0;i<res;i++){buffer[offset+i]=nbuffer[i]}}return res}),write:(function(stream,buffer,offset,length,position){var nbuffer=new Buffer(buffer.subarray(offset,offset+length));var res;try{res=fs.writeSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}return res}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){try{var stat=fs.fstatSync(stream.nfd);position+=stat.size}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};var WORKERFS={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:(function(mount){assert(ENVIRONMENT_IS_WORKER);if(!WORKERFS.reader)WORKERFS.reader=new FileReaderSync;var root=WORKERFS.createNode(null,"/",WORKERFS.DIR_MODE,0);var createdParents={};function ensureParent(path){var parts=path.split("/");var parent=root;for(var i=0;i<parts.length-1;i++){var curr=parts.slice(0,i+1).join("/");if(!createdParents[curr]){createdParents[curr]=WORKERFS.createNode(parent,parts[i],WORKERFS.DIR_MODE,0)}parent=createdParents[curr]}return parent}function base(path){var parts=path.split("/");return parts[parts.length-1]}Array.prototype.forEach.call(mount.opts["files"]||[],(function(file){WORKERFS.createNode(ensureParent(file.name),base(file.name),WORKERFS.FILE_MODE,0,file,file.lastModifiedDate)}));(mount.opts["blobs"]||[]).forEach((function(obj){WORKERFS.createNode(ensureParent(obj["name"]),base(obj["name"]),WORKERFS.FILE_MODE,0,obj["data"])}));(mount.opts["packages"]||[]).forEach((function(pack){pack["metadata"].files.forEach((function(file){var name=file.filename.substr(1);WORKERFS.createNode(ensureParent(name),base(name),WORKERFS.FILE_MODE,0,pack["blob"].slice(file.start,file.end))}))}));return root}),createNode:(function(parent,name,mode,dev,contents,mtime){var node=FS.createNode(parent,name,mode);node.mode=mode;node.node_ops=WORKERFS.node_ops;node.stream_ops=WORKERFS.stream_ops;node.timestamp=(mtime||new Date).getTime();assert(WORKERFS.FILE_MODE!==WORKERFS.DIR_MODE);if(mode===WORKERFS.FILE_MODE){node.size=contents.size;node.contents=contents}else{node.size=4096;node.contents={}}if(parent){parent.contents[name]=node}return node}),node_ops:{getattr:(function(node){return{dev:1,ino:undefined,mode:node.mode,nlink:1,uid:0,gid:0,rdev:undefined,size:node.size,atime:new Date(node.timestamp),mtime:new Date(node.timestamp),ctime:new Date(node.timestamp),blksize:4096,blocks:Math.ceil(node.size/4096)}}),setattr:(function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}}),lookup:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}),mknod:(function(parent,name,mode,dev){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),rename:(function(oldNode,newDir,newName){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),unlink:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),rmdir:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),readdir:(function(node){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),symlink:(function(parent,newName,oldPath){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),readlink:(function(node){throw new FS.ErrnoError(ERRNO_CODES.EPERM)})},stream_ops:{read:(function(stream,buffer,offset,length,position){if(position>=stream.node.size)return 0;var chunk=stream.node.contents.slice(position,position+length);var ab=WORKERFS.reader.readAsArrayBuffer(chunk);buffer.set(new Uint8Array(ab),offset);return chunk.size}),write:(function(stream,buffer,offset,length,position){throw new FS.ErrnoError(ERRNO_CODES.EIO)}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.size}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};STATICTOP+=16;STATICTOP+=16;STATICTOP+=16;var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:(function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)}),lookupPath:(function(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}var parts=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),false);var current=FS.root;var current_path="/";for(var i=0;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}current=FS.lookupNode(current,parts[i]);current_path=PATH.join2(current_path,parts[i]);if(FS.isMountpoint(current)){if(!islast||islast&&opts.follow_mount){current=current.mounted.root}}if(!islast||opts.follow){var count=0;while(FS.isLink(current.mode)){var link=FS.readlink(current_path);current_path=PATH.resolve(PATH.dirname(current_path),link);var lookup=FS.lookupPath(current_path,{recurse_count:opts.recurse_count});current=lookup.node;if(count++>40){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}}}return{path:current_path,node:current}}),getPath:(function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}}),hashName:(function(parentid,name){var hash=0;for(var i=0;i<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>0)%FS.nameTable.length}),hashAddNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node}),hashRemoveNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}}),lookupNode:(function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)}),createNode:(function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=(function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev});FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:(function(){return(this.mode&readMode)===readMode}),set:(function(val){val?this.mode|=readMode:this.mode&=~readMode})},write:{get:(function(){return(this.mode&writeMode)===writeMode}),set:(function(val){val?this.mode|=writeMode:this.mode&=~writeMode})},isFolder:{get:(function(){return FS.isDir(this.mode)})},isDevice:{get:(function(){return FS.isChrdev(this.mode)})}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node}),destroyNode:(function(node){FS.hashRemoveNode(node)}),isRoot:(function(node){return node===node.parent}),isMountpoint:(function(node){return!!node.mounted}),isFile:(function(mode){return(mode&61440)===32768}),isDir:(function(mode){return(mode&61440)===16384}),isLink:(function(mode){return(mode&61440)===40960}),isChrdev:(function(mode){return(mode&61440)===8192}),isBlkdev:(function(mode){return(mode&61440)===24576}),isFIFO:(function(mode){return(mode&61440)===4096}),isSocket:(function(mode){return(mode&49152)===49152}),flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:(function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags}),flagsToPermissionString:(function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms}),nodePermissions:(function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return ERRNO_CODES.EACCES}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return ERRNO_CODES.EACCES}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return ERRNO_CODES.EACCES}return 0}),mayLookup:(function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return ERRNO_CODES.EACCES;return 0}),mayCreate:(function(dir,name){try{var node=FS.lookupNode(dir,name);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(dir,"wx")}),mayDelete:(function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return ERRNO_CODES.ENOTDIR}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return ERRNO_CODES.EBUSY}}else{if(FS.isDir(node.mode)){return ERRNO_CODES.EISDIR}}return 0}),mayOpen:(function(node,flags){if(!node){return ERRNO_CODES.ENOENT}if(FS.isLink(node.mode)){return ERRNO_CODES.ELOOP}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return ERRNO_CODES.EISDIR}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))}),MAX_OPEN_FDS:4096,nextfd:(function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(ERRNO_CODES.EMFILE)}),getStream:(function(fd){return FS.streams[fd]}),createStream:(function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=(function(){});FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:(function(){return this.node}),set:(function(val){this.node=val})},isRead:{get:(function(){return(this.flags&2097155)!==1})},isWrite:{get:(function(){return(this.flags&2097155)!==0})},isAppend:{get:(function(){return this.flags&1024})}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream}),closeStream:(function(fd){FS.streams[fd]=null}),chrdev_stream_ops:{open:(function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}}),llseek:(function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)})},major:(function(dev){return dev>>8}),minor:(function(dev){return dev&255}),makedev:(function(ma,mi){return ma<<8|mi}),registerDevice:(function(dev,ops){FS.devices[dev]={stream_ops:ops}}),getDevice:(function(dev){return FS.devices[dev]}),getMounts:(function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts}),syncfs:(function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){assert(FS.syncFSRequests>0);FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach((function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)}))}),mount:(function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot}),unmount:(function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach((function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}}));node.mounted=null;var idx=node.mount.mounts.indexOf(mount);assert(idx!==-1);node.mount.mounts.splice(idx,1)}),lookup:(function(parent,name){return parent.node_ops.lookup(parent,name)}),mknod:(function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.mknod(parent,name,mode,dev)}),create:(function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)}),mkdir:(function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)}),mkdirTree:(function(path,mode){var dirs=path.split("/");var d="";for(var i=0;i<dirs.length;++i){if(!dirs[i])continue;d+="/"+dirs[i];try{FS.mkdir(d,mode)}catch(e){if(e.errno!=ERRNO_CODES.EEXIST)throw e}}}),mkdev:(function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)}),symlink:(function(oldpath,newpath){if(!PATH.resolve(oldpath)){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var newname=PATH.basename(newpath);var err=FS.mayCreate(parent,newname);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.symlink(parent,newname,oldpath)}),rename:(function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;try{lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!old_dir||!new_dir)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(ERRNO_CODES.EXDEV)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}relative=PATH.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var err=FS.mayDelete(old_dir,old_name,isdir);if(err){throw new FS.ErrnoError(err)}err=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(err){throw new FS.ErrnoError(err)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(new_dir!==old_dir){err=FS.nodePermissions(old_dir,"w");if(err){throw new FS.ErrnoError(err)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){console.log("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){console.log("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}}),rmdir:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,true);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}return node.node_ops.readdir(node)}),unlink:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,false);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readlink:(function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!link.node_ops.readlink){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return PATH.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))}),stat:(function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!node.node_ops.getattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return node.node_ops.getattr(node)}),lstat:(function(path){return FS.stat(path,true)}),chmod:(function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})}),lchmod:(function(path,mode){FS.chmod(path,mode,true)}),fchmod:(function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chmod(stream.node,mode)}),chown:(function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{timestamp:Date.now()})}),lchown:(function(path,uid,gid){FS.chown(path,uid,gid,true)}),fchown:(function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chown(stream.node,uid,gid)}),truncate:(function(path,len){if(len<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.nodePermissions(node,"w");if(err){throw new FS.ErrnoError(err)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})}),ftruncate:(function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}FS.truncate(stream.node,len)}),utime:(function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})}),open:(function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}if(!created){var err=FS.mayOpen(node,flags);if(err){throw new FS.ErrnoError(err)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;Module["printErr"]("read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){console.log("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream}),close:(function(stream){if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}}),llseek:(function(stream,offset,whence){if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position}),read:(function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.read){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead}),write:(function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.write){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(stream.flags&1024){FS.llseek(stream,0,2)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return bytesWritten}),allocate:(function(stream,offset,length){if(offset<0||length<=0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}stream.stream_ops.allocate(stream,offset,length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EACCES)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}return stream.stream_ops.mmap(stream,buffer,offset,length,position,prot,flags)}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)}),munmap:(function(stream){return 0}),ioctl:(function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(ERRNO_CODES.ENOTTY)}return stream.stream_ops.ioctl(stream,cmd,arg)}),readFile:(function(path,opts){opts=opts||{};opts.flags=opts.flags||"r";opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret}),writeFile:(function(path,data,opts){opts=opts||{};opts.flags=opts.flags||"w";opts.encoding=opts.encoding||"utf8";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var stream=FS.open(path,opts.flags,opts.mode);if(opts.encoding==="utf8"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,0,opts.canOwn)}else if(opts.encoding==="binary"){FS.write(stream,data,0,data.length,0,opts.canOwn)}FS.close(stream)}),cwd:(function(){return FS.currentPath}),chdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var err=FS.nodePermissions(lookup.node,"x");if(err){throw new FS.ErrnoError(err)}FS.currentPath=lookup.path}),createDefaultDirectories:(function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")}),createDefaultDevices:(function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:(function(){return 0}),write:(function(stream,buffer,offset,length,pos){return length})});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device;if(typeof crypto!=="undefined"){var randomBuffer=new Uint8Array(1);random_device=(function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]})}else if(ENVIRONMENT_IS_NODE){random_device=(function(){return require("crypto").randomBytes(1)[0]})}else{random_device=(function(){return Math.random()*256|0})}FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")}),createSpecialDirectories:(function(){FS.mkdir("/proc");FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:(function(){var node=FS.createNode("/proc/self","fd",16384|511,73);node.node_ops={lookup:(function(parent,name){var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:(function(){return stream.path})}};ret.parent=ret;return ret})};return node})},{},"/proc/self/fd")}),createStandardStreams:(function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin","r");assert(stdin.fd===0,"invalid handle for stdin ("+stdin.fd+")");var stdout=FS.open("/dev/stdout","w");assert(stdout.fd===1,"invalid handle for stdout ("+stdout.fd+")");var stderr=FS.open("/dev/stderr","w");assert(stderr.fd===2,"invalid handle for stderr ("+stderr.fd+")")}),ensureErrnoError:(function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=(function(errno){this.errno=errno;for(var key in ERRNO_CODES){if(ERRNO_CODES[key]===errno){this.code=key;break}}});this.setErrno(errno);this.message=ERRNO_MESSAGES[errno]};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[ERRNO_CODES.ENOENT].forEach((function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack="<generic error, no stack>"}))}),staticInit:(function(){FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS,"IDBFS":IDBFS,"NODEFS":NODEFS,"WORKERFS":WORKERFS}}),init:(function(input,output,error){assert(!FS.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)");FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()}),quit:(function(){FS.init.initialized=false;var fflush=Module["_fflush"];if(fflush)fflush(0);for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}}),getMode:(function(canRead,canWrite){var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode}),joinPath:(function(parts,forceRelative){var path=PATH.join.apply(null,parts);if(forceRelative&&path[0]=="/")path=path.substr(1);return path}),absolutePath:(function(relative,base){return PATH.resolve(base,relative)}),standardizePath:(function(path){return PATH.normalize(path)}),findObject:(function(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(ret.exists){return ret.object}else{___setErrNo(ret.error);return null}}),analyzePath:(function(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret}),createFolder:(function(parent,name,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.mkdir(path,mode)}),createPath:(function(parent,path,canRead,canWrite){parent=typeof parent==="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current}),createFile:(function(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)}),createDataFile:(function(parent,name,data,canRead,canWrite,canOwn){var path=name?PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name):parent;var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data==="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,"w");FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}return node}),createDevice:(function(parent,name,input,output){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:(function(stream){stream.seekable=false}),close:(function(stream){if(output&&output.buffer&&output.buffer.length){output(10)}}),read:(function(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})});return FS.mkdev(path,mode,dev)}),createLink:(function(parent,name,target,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);return FS.symlink(target,path)}),forceLoadFile:(function(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;var success=true;if(typeof XMLHttpRequest!=="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(Module["read"]){try{obj.contents=intArrayFromString(Module["read"](obj.url),true);obj.usedBytes=obj.contents.length}catch(e){success=false}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}if(!success)___setErrNo(ERRNO_CODES.EIO);return success}),createLazyFile:(function(parent,name,url,canRead,canWrite){function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}});var lazyArray=this;lazyArray.setDataGetter((function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]}));if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;console.log("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._length})},chunkSize:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize})}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:(function(){return this.contents.length})}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach((function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return fn.apply(null,arguments)}}));stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);assert(size>=0);if(contents.slice){for(var i=0;i<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size};node.stream_ops=stream_ops;return node}),createPreloadedFile:(function(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish){Browser.init();var fullname=name?PATH.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}var handled=false;Module["preloadPlugins"].forEach((function(plugin){if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,(function(){if(onerror)onerror();removeRunDependency(dep)}));handled=true}}));if(!handled)finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){Browser.asyncLoad(url,(function(byteArray){processData(byteArray)}),onerror)}else{processData(url)}}),indexedDB:(function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB}),DB_NAME:(function(){return"EM_FS_"+window.location.pathname}),DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=function openRequest_onupgradeneeded(){console.log("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=function putRequest_onsuccess(){ok++;if(ok+fail==total)finish()};putRequest.onerror=function putRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror}),loadFilesFromDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var getRequest=files.get(path);getRequest.onsuccess=function getRequest_onsuccess(){if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=function getRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror})};var SYSCALLS={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:(function(dirfd,path){if(path[0]!=="/"){var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=FS.getStream(dirfd);if(!dirstream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);dir=dirstream.path}path=PATH.join2(dir,path)}return path}),doStat:(function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-ERRNO_CODES.ENOTDIR}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;HEAP32[buf+36>>2]=stat.size;HEAP32[buf+40>>2]=4096;HEAP32[buf+44>>2]=stat.blocks;HEAP32[buf+48>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+52>>2]=0;HEAP32[buf+56>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ino;return 0}),doMsync:(function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)}),doMkdir:(function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0}),doMknod:(function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}FS.mknod(path,mode,dev);return 0}),doReadlink:(function(path,buf,bufsize){if(bufsize<=0)return-ERRNO_CODES.EINVAL;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len}),doAccess:(function(path,amode){if(amode&~7){return-ERRNO_CODES.EINVAL}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-ERRNO_CODES.EACCES}return 0}),doDup:(function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd}),doReadv:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len)break}return ret}),doWritev:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}),varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),getStreamFromFD:(function(){var stream=FS.getStream(SYSCALLS.get());if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return stream}),getSocketFromFD:(function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return socket}),getSocketAddress:(function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall10(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}Module["_bitshift64Shl"]=_bitshift64Shl;function _pthread_cleanup_pop(){assert(_pthread_cleanup_push.level==__ATEXIT__.length,"cannot pop if something else added meanwhile!");__ATEXIT__.pop();_pthread_cleanup_push.level=__ATEXIT__.length}function _abort(){Module["abort"]()}function ___syscall3(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var _environ=STATICTOP;STATICTOP+=16;function ___buildEnvironment(env){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]=ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C";ENV["_"]=Module["thisProgram"];poolPtr=allocate(TOTAL_ENV_SIZE,"i8",ALLOC_STATIC);envPtr=allocate(MAX_ENV_VALUES*4,"i8*",ALLOC_STATIC);HEAP32[envPtr>>2]=poolPtr;HEAP32[_environ>>2]=envPtr}else{envPtr=HEAP32[_environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in env){if(typeof env[key]==="string"){var line=key+"="+env[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i<strings.length;i++){var line=strings[i];writeAsciiToMemory(line,poolPtr);HEAP32[envPtr+i*ptrSize>>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}var ENV={};function _getenv(name){if(name===0)return 0;name=Pointer_stringify(name);if(!ENV.hasOwnProperty(name))return 0;if(_getenv.ret)_free(_getenv.ret);_getenv.ret=allocate(intArrayFromString(ENV[name]),"i8",ALLOC_NORMAL);return _getenv.ret}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___lock(){}function ___unlock(){}function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);Module["_llvm_cttz_i32"]=_llvm_cttz_i32;Module["___udivmoddi4"]=___udivmoddi4;Module["___udivdi3"]=___udivdi3;Module["_sbrk"]=_sbrk;Module["___uremdi3"]=___uremdi3;function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;function ___syscall4(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.write(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function __exit(status){Module["exit"](status)}function _exit(status){__exit(status)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}Module["_pthread_self"]=_pthread_self;function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;assert(offset_high===0);FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall145(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doReadv(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doWritev(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21505:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21506:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21519:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0};case 21520:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return-ERRNO_CODES.EINVAL};case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)};default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-ERRNO_CODES.EINVAL}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd};case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0};case 12:case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0};case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:___setErrNo(ERRNO_CODES.EINVAL);return-1;default:{return-ERRNO_CODES.EINVAL}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var ___tm_current=STATICTOP;STATICTOP+=48;var ___tm_timezone=allocate(intArrayFromString("GMT"),"i8",ALLOC_STATIC);var _tzname=STATICTOP;STATICTOP+=16;var _daylight=STATICTOP;STATICTOP+=16;var _timezone=STATICTOP;STATICTOP+=16;function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[_timezone>>2]=-(new Date).getTimezoneOffset()*60;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);HEAP32[_daylight>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()<winter.getTimezoneOffset()){HEAP32[_tzname>>2]=winterNamePtr;HEAP32[_tzname+4>>2]=summerNamePtr}else{HEAP32[_tzname>>2]=summerNamePtr;HEAP32[_tzname+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=(new Date(2e3,6,1)).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=date.getTimezoneOffset()==Math.min(winterOffset,summerOffset)|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[_tzname+(dst?Runtime.QUANTUM_SIZE:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}FS.staticInit();__ATINIT__.unshift((function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()}));__ATMAIN__.push((function(){FS.ignorePermissions=false}));__ATEXIT__.push((function(){FS.quit()}));Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;__ATINIT__.unshift((function(){TTY.init()}));__ATEXIT__.push((function(){TTY.shutdown()}));if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}___buildEnvironment(ENV);DYNAMICTOP_PTR=allocate(1,"i32",ALLOC_STATIC);STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=Runtime.alignMemory(STACK_MAX);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;staticSealed=true;function invoke_i(index){try{return Module["dynCall_i"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"enlargeMemory":enlargeMemory,"getTotalMemory":getTotalMemory,"abortOnCannotGrowMemory":abortOnCannotGrowMemory,"invoke_i":invoke_i,"invoke_ii":invoke_ii,"invoke_iiii":invoke_iiii,"invoke_vi":invoke_vi,"_pthread_cleanup_pop":_pthread_cleanup_pop,"___syscall221":___syscall221,"_abort":_abort,"_pthread_cleanup_push":_pthread_cleanup_push,"___buildEnvironment":___buildEnvironment,"_localtime_r":_localtime_r,"_tzset":_tzset,"___setErrNo":___setErrNo,"_emscripten_memcpy_big":_emscripten_memcpy_big,"__exit":__exit,"_getenv":_getenv,"___syscall54":___syscall54,"___unlock":___unlock,"___syscall10":___syscall10,"___syscall3":___syscall3,"___lock":___lock,"___syscall6":___syscall6,"___syscall5":___syscall5,"___syscall4":___syscall4,"_time":_time,"___syscall140":___syscall140,"_localtime":_localtime,"_exit":_exit,"___syscall145":___syscall145,"___syscall146":___syscall146,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"DYNAMICTOP_PTR":DYNAMICTOP_PTR,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.DYNAMICTOP_PTR|0;var l=env.tempDoublePtr|0;var m=env.ABORT|0;var n=env.cttz_i8|0;var o=0;var p=0;var q=0;var r=0;var s=global.NaN,t=global.Infinity;var u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0.0;var D=0;var E=global.Math.floor;var F=global.Math.abs;var G=global.Math.sqrt;var H=global.Math.pow;var I=global.Math.cos;var J=global.Math.sin;var K=global.Math.tan;var L=global.Math.acos;var M=global.Math.asin;var N=global.Math.atan;var O=global.Math.atan2;var P=global.Math.exp;var Q=global.Math.log;var R=global.Math.ceil;var S=global.Math.imul;var T=global.Math.min;var U=global.Math.max;var V=global.Math.clz32;var W=env.abort;var X=env.assert;var Y=env.enlargeMemory;var Z=env.getTotalMemory;var _=env.abortOnCannotGrowMemory;var $=env.invoke_i;var aa=env.invoke_ii;var ba=env.invoke_iiii;var ca=env.invoke_vi;var da=env._pthread_cleanup_pop;var ea=env.___syscall221;var fa=env._abort;var ga=env._pthread_cleanup_push;var ha=env.___buildEnvironment;var ia=env._localtime_r;var ja=env._tzset;var ka=env.___setErrNo;var la=env._emscripten_memcpy_big;var ma=env.__exit;var na=env._getenv;var oa=env.___syscall54;var pa=env.___unlock;var qa=env.___syscall10;var ra=env.___syscall3;var sa=env.___lock;var ta=env.___syscall6;var ua=env.___syscall5;var va=env.___syscall4;var wa=env._time;var xa=env.___syscall140;var ya=env._localtime;var za=env._exit;var Aa=env.___syscall145;var Ba=env.___syscall146;var Ca=0.0;
// EMSCRIPTEN_START_FUNCS
function Ha(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;return b|0}function Ia(){return i|0}function Ja(a){a=a|0;i=a}function Ka(a,b){a=a|0;b=b|0;i=a;j=b}function La(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Ma(a){a=a|0;D=a}function Na(){return D|0}function Oa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=i;i=i+192|0;f=e+160|0;g=e+152|0;h=e+144|0;j=e+136|0;k=e+128|0;l=e;m=e+184|0;n=e+180|0;o=e+176|0;p=e+172|0;q=e+168|0;r=e+164|0;c[e+188>>2]=0;c[m>>2]=b;c[n>>2]=d;c[q>>2]=0;c[3043]=c[n>>2];Pa();if((c[m>>2]|0)<2){d=c[1304]|0;c[l>>2]=c[c[n>>2]>>2];Rd(d,5564,l)|0;Rd(c[1304]|0,5602,e+8|0)|0;Rd(c[1304]|0,5633,e+16|0)|0;Rd(c[1304]|0,5643,e+24|0)|0;Rd(c[1304]|0,5682,e+32|0)|0;Rd(c[1304]|0,5731,e+40|0)|0;Rd(c[1304]|0,5775,e+48|0)|0;Rd(c[1304]|0,5807,e+56|0)|0;Rd(c[1304]|0,5850,e+64|0)|0;Rd(c[1304]|0,5902,e+72|0)|0;Rd(c[1304]|0,5933,e+80|0)|0;Rd(c[1304]|0,5971,e+88|0)|0;Rd(c[1304]|0,6007,e+96|0)|0;Rd(c[1304]|0,6055,e+104|0)|0;Rd(c[1304]|0,6087,e+112|0)|0;Rd(c[1304]|0,6126,e+120|0)|0;za(1)}c[q>>2]=1;a:while(1){if((c[q>>2]|0)>=(c[m>>2]|0))break;b:do if((a[c[(c[n>>2]|0)+(c[q>>2]<<2)>>2]>>0]|0)!=45){if(((c[3072]|0)+1|0)<16){e=c[(c[n>>2]|0)+(c[q>>2]<<2)>>2]|0;l=c[3072]|0;c[3072]=l+1;c[12292+(l<<2)>>2]=e}}else do switch(Yc(a[(c[(c[n>>2]|0)+(c[q>>2]<<2)>>2]|0)+1>>0]|0)|0){case 97:{c[o>>2]=(c[(c[n>>2]|0)+(c[q>>2]<<2)>>2]|0)+2;if(!(a[c[o>>2]>>0]|0))break b;c[p>>2]=c[o>>2];while(1){if((a[c[p>>2]>>0]|0)!=61)s=(a[c[p>>2]>>0]|0)!=0;else s=0;t=c[p>>2]|0;if(!s)break;c[p>>2]=t+1}if((a[t>>0]|0)==61){a[c[p>>2]>>0]=0;c[p>>2]=(c[p>>2]|0)+1;c[r>>2]=Xd(c[p>>2]|0)|0}else c[r>>2]=1;tc(c[o>>2]|0,c[r>>2]|0,1)|0;break b;break}case 98:{c[3044]=0;break b;break}case 104:{c[3045]=1;break b;break}case 105:{if(((c[3046]|0)+1|0)==16)break b;c[o>>2]=(c[(c[n>>2]|0)+(c[q>>2]<<2)>>2]|0)+2;if((a[c[o>>2]>>0]|0)==61)c[o>>2]=(c[o>>2]|0)+1;e=c[o>>2]|0;l=c[3046]|0;c[3046]=l+1;c[12188+(l<<2)>>2]=e;break b;break}case 108:{if((Yc(a[(c[(c[n>>2]|0)+(c[q>>2]<<2)>>2]|0)+2>>0]|0)|0)==115){c[3063]=1;c[3064]=256}c[3065]=1;break b;break}case 111:{c[o>>2]=(c[(c[n>>2]|0)+(c[q>>2]<<2)>>2]|0)+2;if((a[c[o>>2]>>0]|0)==61)c[o>>2]=(c[o>>2]|0)+1;td(16188,c[o>>2]|0,63)|0;break b;break}case 112:{c[3066]=0;break b;break}case 113:{c[3067]=1;break b;break}case 115:{c[3068]=1;break b;break}case 100:{c[3069]=1;break b;break}case 99:{c[3070]=1;break b;break}case 121:{c[3071]=1;break b;break}default:{u=35;break a}}while(0);while(0);c[q>>2]=(c[q>>2]|0)+1}if((u|0)==35){Rd(c[1304]|0,6179,k)|0;za(0)}Qa();c[3089]=0;c[3090]=1;while(1){if((c[3090]|0)>(c[3072]|0))break;k=Md(c[12292+((c[3072]|0)-1<<2)>>2]|0,8257)|0;c[12364+((c[3089]|0)*72|0)>>2]=k;if(!k){u=42;break}td(12364+((c[3089]|0)*72|0)+4|0,c[12292+((c[3072]|0)-1<<2)>>2]|0,64)|0;c[12364+((c[3089]|0)*72|0)+68>>2]=0;Ra();c[3090]=(c[3090]|0)+1}if((u|0)==42){u=c[12292+((c[3072]|0)-1<<2)>>2]|0;c[j>>2]=c[c[n>>2]>>2];c[j+4>>2]=u;Vd(6195,j)|0;za(1)}if(!(c[3667]|0)){c[3668]=(c[3668]|0)+1;Sa();c[3089]=0;c[3090]=1;while(1){if((c[3090]|0)>(c[3072]|0))break;j=Md(c[12292+((c[3072]|0)-1<<2)>>2]|0,8257)|0;c[12364+((c[3089]|0)*72|0)>>2]=j;if(j|0){td(12364+((c[3089]|0)*72|0)+4|0,c[12292+((c[3072]|0)-1<<2)>>2]|0,64)|0;c[12364+((c[3089]|0)*72|0)+68>>2]=0;Ra()}c[3090]=(c[3090]|0)+1}if((c[3068]|0)==1){Vd(8124,h)|0;Kb(c[3669]|0);Vd(9699,g)|0}if((c[3070]|0)==1){Vd(8124,f)|0;Lb(c[3669]|0)}Ic()}else Ed(16188)|0;if(!((c[3067]|0)==0&(c[3063]|0)==0)){Gb();v=c[3667]|0;za(v|0)}Pb();Gb();v=c[3667]|0;za(v|0);return 0}function Pa(){c[3667]=0;a[16252]=0;a[17532]=0;a[17548]=0;a[17558]=0;a[18582]=0;c[3683]=0;c[3684]=1;c[3685]=0;c[3671]=0;c[3676]=0;c[3677]=0;c[3686]=0;c[3682]=0;c[3687]=0;c[3668]=0;c[3688]=0;c[3689]=0;c[3690]=0;c[3043]=0;c[3678]=0;c[3691]=0;c[3767]=0;c[3680]=0;c[3679]=0;c[3768]=0;c[3681]=0;c[3672]=0;c[3673]=0;c[3892]=2;c[3070]=0;c[3071]=0;c[3893]=1;c[3894]=66;c[3895]=1;c[3896]=0;c[3897]=0;c[3065]=0;c[3898]=0;c[3899]=0;c[3067]=0;c[3068]=0;c[3064]=80;c[3069]=0;c[3044]=1;c[3045]=0;c[3675]=0;a[16188]=0;c[3669]=0;c[3089]=0;c[3900]=0;a[19606]=-1;a[19607]=-1;a[19608]=-1;c[3901]=16777215;c[3066]=1;c[3046]=0;c[3072]=0;c[3902]=0;c[3903]=1;c[3904]=3;c[3905]=3;return}function Qa(){var b=0,d=0;b=i;i=i+16|0;d=b+8|0;if(c[3069]|0)Vd(6323,b)|0;c[3667]=0;c[3670]=0;c[3671]=0;c[3668]=1;c[3672]=0;c[3673]=0;a[17275]=10;c[3108]=0;c[3674]=0;a[17276+(c[3674]|0)>>0]=1;if(!(a[16188]|0)){Fb();Wa();Bb();i=b;return}if(!(c[3067]|0)){c[d>>2]=16188;Vd(6337,d)|0}d=Md(16188,6350)|0;c[3675]=d;if(d|0){Fb();Wa();Bb();i=b;return}wc(6353);Fb();Wa();Bb();i=b;return}function Ra(){var a=0,b=0,d=0;a=i;i=i+32|0;b=a+8|0;if(c[3069]|0){Vd(6230,a)|0;c[b>>2]=c[3668];Vd(6238,b)|0;Vd(6247,a+16|0)|0}while(1){if((c[3089]|0)<0)break;while(1){b=(Td(16252,1023,c[12364+((c[3089]|0)*72|0)>>2]|0)|0)!=0;d=12364+((c[3089]|0)*72|0)|0;if(!b)break;b=d+68|0;c[b>>2]=(c[b>>2]|0)+1;c[3680]=0;c[3673]=0;b=(Ta()|0)!=0;if(b&(c[3066]|0)==1)Ua();else Mb(0,32,0);c[3679]=0;c[3681]=0}Ud(c[d>>2]|0)|0;if((c[3668]|0)==2&(c[3089]|0)>0)c[12364+(((c[3089]|0)-1|0)*72|0)+68>>2]=c[12364+((c[3089]|0)*72|0)+68>>2];c[3089]=(c[3089]|0)+-1}Gc();i=a;return}function Sa(){var b=0;b=i;i=i+16|0;if(c[3069]|0)Vd(6214,b)|0;c[3670]=0;c[3671]=0;c[3676]=0;c[3677]=0;c[3678]=0;c[3679]=0;c[3672]=0;c[3673]=0;c[3108]=0;Hb();c[3674]=0;a[17276+(c[3674]|0)>>0]=1;i=b;return}function Ta(){var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;b=i;i=i+48|0;d=b+24|0;e=b+16|0;f=b+8|0;g=b;h=b+40|0;j=b+36|0;k=b+32|0;l=b+28|0;m=b+44|0;c[j>>2]=16252;c[k>>2]=17532;a[17532]=0;a[17548]=0;a[17558]=0;a[18582]=0;if((((a[c[j>>2]>>0]|0)!=42?(a[c[j>>2]>>0]|0)!=10:0)?(a[c[j>>2]>>0]|0)!=59:0)?(a[c[j>>2]>>0]|0)!=35:0){while(1){if(zc(a[c[j>>2]>>0]|0)|0)break;n=c[j>>2]|0;c[j>>2]=n+1;o=a[n>>0]|0;n=c[k>>2]|0;c[k>>2]=n+1;a[n>>0]=o}if((c[k>>2]|0)>>>0>17532>>>0?(o=(c[k>>2]|0)+-1|0,c[k>>2]=o,(a[o>>0]|0)!=58):0)c[k>>2]=(c[k>>2]|0)+1;a[c[k>>2]>>0]=0;c[j>>2]=Bc(c[j>>2]|0)|0;c[k>>2]=17548;while(1){if(zc(a[c[j>>2]>>0]|0)|0)break;o=c[j>>2]|0;c[j>>2]=o+1;n=Jc(a[o>>0]|0)|0;o=c[k>>2]|0;c[k>>2]=o+1;a[o>>0]=n}a[c[k>>2]>>0]=0;c[j>>2]=Bc(c[j>>2]|0)|0;c[l>>2]=vc(17548)|0;do if(c[l>>2]|0){if(!((a[(c[l>>2]|0)+4>>0]|0)==35?(a[(c[l>>2]|0)+12>>0]&1|0)==1:0)){if(!(a[(c[l>>2]|0)+4>>0]|0))break;if((a[(c[l>>2]|0)+4>>0]|0)==13)break;if((a[(c[l>>2]|0)+4>>0]|0)==14)break}c[k>>2]=17558;if((a[(c[l>>2]|0)+4>>0]|0)==35?(a[(c[l>>2]|0)+12>>0]|0)==2:0){a[m>>0]=a[c[j>>2]>>0]|0;do{n=c[j>>2]|0;c[j>>2]=n+1;o=a[n>>0]|0;n=c[k>>2]|0;c[k>>2]=n+1;a[n>>0]=o;if(!(a[c[j>>2]>>0]|0))break}while((a[c[j>>2]>>0]|0)!=(a[m>>0]|0));o=c[j>>2]|0;c[j>>2]=o+1;n=a[o>>0]|0;o=c[k>>2]|0;c[k>>2]=o+1;a[o>>0]=n}else p=29;a:do if((p|0)==29){if((a[(c[l>>2]|0)+4>>0]|0)==35?(a[(c[l>>2]|0)+12>>0]|0)==4:0)while(1){n=c[j>>2]|0;c[j>>2]=n+1;o=a[n>>0]|0;n=c[k>>2]|0;c[k>>2]=n+1;a[n>>0]=o;if(!(a[c[j>>2]>>0]|0))break a;if((a[c[j>>2]>>0]|0)==10)break a}while(1){if(zc(a[c[j>>2]>>0]|0)|0)break a;o=c[j>>2]|0;c[j>>2]=o+1;n=a[o>>0]|0;o=c[k>>2]|0;c[k>>2]=o+1;a[o>>0]=n}}while(0);a[c[k>>2]>>0]=0;c[j>>2]=Bc(c[j>>2]|0)|0}while(0);c[k>>2]=18582;while(1){if((a[c[j>>2]>>0]|0)==10)break;l=c[j>>2]|0;c[j>>2]=l+1;p=a[l>>0]|0;l=c[k>>2]|0;c[k>>2]=l+1;a[l>>0]=p}a[c[k>>2]>>0]=0;if(c[3906]|0){c[3906]=0;wd(17532,19737)|0}if((a[17548]|0)!=59){if(c[3069]|0){Vd(9699,g)|0;c[f>>2]=17532;Vd(6278,f)|0;c[e>>2]=17548;Vd(6293,e)|0;c[d>>2]=17558;Vd(6308,d)|0}c[h>>2]=1;q=c[h>>2]|0;i=b;return q|0}if(!(a[17532]|0)){c[h>>2]=0;q=c[h>>2]|0;i=b;return q|0}else{wd(19737,17532)|0;c[3906]=1;c[h>>2]=0;q=c[h>>2]|0;i=b;return q|0}}wd(18582,16252)|0;c[k>>2]=18582;while(1){r=c[k>>2]|0;if((a[c[k>>2]>>0]|0)==10)break;c[k>>2]=r+1}a[r>>0]=0;c[h>>2]=0;q=c[h>>2]|0;i=b;return q|0}function Ua(){var b=0,d=0,e=0;b=i;i=i+16|0;d=b;c[3682]=c[3671];c[3683]=17558;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=vc(17548)|0;if(!(c[d>>2]|0)){i=b;return}if((a[(c[d>>2]|0)+4>>0]|0)!=35){i=b;return}Da[c[(c[d>>2]|0)+16>>2]&31]()|0;i=b;return}if(!(a[17548]|0)){if(!(a[17532]|0)){i=b;return}tc(17532,c[3671]|0,0)|0;Mb(0,32,0);i=b;return}e=vc(17548)|0;c[d>>2]=e;if(!e){xc(6256);i=b;return}if((a[(c[d>>2]|0)+4>>0]|0)==35){Da[c[(c[d>>2]|0)+16>>2]&31]()|0;if((c[3678]|0)<16){i=b;return}Gc();i=b;return}if(a[17532]|0)tc(17532,c[3671]|0,0)|0;if(c[3071]|0)c[3681]=a[(c[d>>2]|0)+12>>0];Ea[c[(c[d>>2]|0)+16>>2]&31](c[(c[d>>2]|0)+8>>2]|0)|0;if((c[3678]|0)>=16)Gc();if(!(c[3071]|0)){i=b;return}c[3672]=(c[3672]|0)+(c[3681]|0);i=b;return}function Va(b){b=b|0;var c=0,e=0;c=i;i=i+16|0;e=c;a[e>>0]=b;a[e>>0]=d[e>>0]^a[19606];a[19606]=a[19607]|0;a[19607]=a[19608]|0;a[19607]=a[19607]^d[e>>0]>>7;a[19608]=d[e>>0]<<1;a[19607]=a[19607]^d[e>>0]>>2;a[19608]=a[19608]^d[e>>0]<<6;a[e>>0]=d[e>>0]^d[e>>0]<<1;a[e>>0]=d[e>>0]^d[e>>0]<<2;a[e>>0]=d[e>>0]^d[e>>0]<<4;if(!(d[e>>0]&128)){i=c;return}a[19606]=a[19606]^128;a[19608]=a[19608]^33;i=c;return}function Wa(){return}function Xa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(c[d>>2]|0);Mb(0,32,c[3682]|0);i=b;return 0}function Ya(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(16);a=Xa(c[d>>2]|0)|0;i=b;return a|0}function Za(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(17);a=Xa(c[d>>2]|0)|0;i=b;return a|0}function _a(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[d>>2]=a;c[e>>2]=$a()|0;ab(c[d>>2]|0,c[e>>2]|0)|0;Mb(0,32,c[3682]|0);i=b;return 0}function $a(){var b=0,d=0,e=0,f=0;b=i;i=i+16|0;d=b+4|0;e=b;do if((a[17558]|0)!=35){c[e>>2]=17558;while(1){if(!(a[c[e>>2]>>0]|0))break;if((a[c[e>>2]>>0]|0)==32)break;if((a[c[e>>2]>>0]|0)==9)break;if((a[c[e>>2]>>0]|0)==44){f=8;break}c[e>>2]=(c[e>>2]|0)+1}if((f|0)==8){c[d>>2]=1;break}if((a[17558]|0)==91){c[d>>2]=2;break}else{c[d>>2]=3;break}}else c[d>>2]=0;while(0);i=b;return c[d>>2]|0}function ab(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+16|0;f=e+12|0;g=e+8|0;h=e+4|0;j=e;c[g>>2]=b;c[h>>2]=d;do if(c[h>>2]|0){if((c[h>>2]|0)==1){bb((c[g>>2]|0)+32|0)|0;c[f>>2]=0;break}if((c[h>>2]|0)==2){c[3683]=(c[3683]|0)+1;Ec((c[g>>2]|0)+32|0);Ec(159);Cb(j,14732)|0;Cc(c[j>>2]|0);c[3681]=(c[3681]|0)+7;if((a[c[3683]>>0]|0)==93){c[3683]=(c[3683]|0)+1;c[f>>2]=0;break}else{xc(6390);c[f>>2]=0;break}}if((c[h>>2]|0)!=3){xc(6418);c[f>>2]=0;break}Cb(j,14732)|0;if(c[3684]|0){d=Dc(c[j>>2]|0)|0;if((d|0)==(c[3676]|0))c[3677]=1;Ec((c[g>>2]|0)+48|0);Cc(c[j>>2]|0);c[3681]=(c[3681]|0)+3;c[f>>2]=0;break}if(c[3685]|0){Ec((c[g>>2]|0)+16|0);d=Dc(c[j>>2]|0)|0;if((d|0)!=(c[3676]|0)){xc(6402);c[f>>2]=0;break}else{Ec(Fc(c[j>>2]|0)|0);c[3681]=(c[3681]|0)+2;c[f>>2]=0;break}}else{d=Dc(c[j>>2]|0)|0;b=c[g>>2]|0;if((d|0)==(c[3676]|0)){Ec(b+16|0);Ec(Fc(c[j>>2]|0)|0);c[3681]=(c[3681]|0)+2;c[f>>2]=0;break}else{Ec(b+48|0);Cc(c[j>>2]|0);c[3681]=(c[3681]|0)+3;c[f>>2]=0;break}}}else{c[3683]=(c[3683]|0)+1;Ec(c[g>>2]|0);Cb(j,14732)|0;if(Dc(c[j>>2]|0)|0?(Dc(c[j>>2]|0)|0)!=255:0){xc(6378);c[f>>2]=0;break}Ec(Fc(c[j>>2]|0)|0);c[f>>2]=0}while(0);i=e;return c[f>>2]|0}function bb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;i=i+32|0;e=d+28|0;f=d+24|0;g=d+20|0;h=d+16|0;j=d+12|0;k=d+8|0;l=d+4|0;m=d;c[f>>2]=b;c[3681]=(c[3681]|0)+2;c[k>>2]=0;c[l>>2]=0;c[g>>2]=128;Ec(c[f>>2]|0);if((a[c[3683]>>0]|0)==91){c[g>>2]=c[g>>2]|16;c[3683]=(c[3683]|0)+1;if(!(Ac(93,c[3683]|0)|0))xc(6390);c[3681]=(c[3681]|0)+3}c[h>>2]=cb()|0;if((c[h>>2]|0)==8){c[3681]=(c[3681]|0)+1;db((c[g>>2]|0)+6|0)|0;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[h>>2]|0)==9){c[3681]=(c[3681]|0)+1;db((c[g>>2]|0)+5|0)|0;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if(!(c[h>>2]|0)){c[3681]=(c[3681]|0)+4;db((c[g>>2]|0)+11|0)|0;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[h>>2]|0)==14){c[3681]=(c[3681]|0)+1;db((c[g>>2]|0)+7|0)|0;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[h>>2]|0)==15){c[3681]=(c[3681]|0)+1;db((c[g>>2]|0)+10|0)|0;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[h>>2]|0)==6){c[3681]=(c[3681]|0)+4;db((c[g>>2]|0)+14|0)|0;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}Cb(m,14732)|0;c[3683]=(c[3683]|0)+1;while(1){if((a[c[3683]>>0]|0)!=45)break;c[k>>2]=(c[k>>2]|0)+1;c[3683]=(c[3683]|0)+1}c[h>>2]=cb()|0;while(1){if(!(Lc(a[c[3683]>>0]|0)|0))break;c[3683]=(c[3683]|0)+1}while(1){if((a[c[3683]>>0]|0)!=43)break;c[l>>2]=(c[l>>2]|0)+1;c[3683]=(c[3683]|0)+1}if((c[h>>2]|0)==5|(c[h>>2]|0)==13){if(!(c[3685]|0))c[3684]=1;if((c[l>>2]|0)!=0|(c[k>>2]|0)!=0){xc(6442);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if(c[3684]|0){Ec((c[g>>2]|0)+13|0);Cc((c[m>>2]|0)-((c[3671]|0)+2)|0);c[3681]=(c[3681]|0)+5;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if(c[3685]|0){Ec((c[g>>2]|0)+12|0);Ec(Fc((c[m>>2]|0)-((c[3671]|0)+1)|0)|0);c[3681]=(c[3681]|0)+1;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}c[j>>2]=(c[m>>2]|0)-((c[3671]|0)+2);f=c[g>>2]|0;if((c[j>>2]|0)>=-128&(c[j>>2]|0)<=127){Ec(f+12|0);Ec(Fc((c[m>>2]|0)-((c[3671]|0)+1)|0)|0);c[3681]=(c[3681]|0)+1;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}else{Ec(f+13|0);Cc((c[m>>2]|0)-((c[3671]|0)+2)|0);c[3681]=(c[3681]|0)+5;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}}a:do if((c[k>>2]|0)!=0|(c[l>>2]|0)!=0){if(c[m>>2]|0){xc(6469);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[k>>2]|0)>2|(c[l>>2]|0)>2){xc(6489);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if(!((c[k>>2]|0)==1?(c[g>>2]&16|0)!=0:0))o=44;do if((o|0)==44){if((c[l>>2]|0)==1?c[g>>2]&16|0:0)break;if((c[k>>2]|0)!=0&(c[l>>2]|0)!=0){xc(6551);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}c[h>>2]=eb(c[h>>2]|0)|0;f=c[k>>2]|0;if((c[h>>2]|0)<256){if(f|0)c[g>>2]=(c[g>>2]|0)+((c[k>>2]|0)+1);if(c[l>>2]|0)c[g>>2]=(c[g>>2]|0)+((c[l>>2]|0)-1);c[g>>2]=(c[g>>2]|0)+(c[h>>2]|0);Ec(c[g>>2]|0);c[3681]=(c[3681]|0)+(1+(c[k>>2]|0)+(c[l>>2]|0));c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((f|0)!=2&(c[l>>2]|0)!=2){xc(6566);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}f=(c[k>>2]|0)==2;if(c[g>>2]&16|0){if(f){Ec(240);c[3681]=(c[3681]|0)+6;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[l>>2]|0)!=2)break a;Ec(208);c[3681]=(c[3681]|0)+6;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}else{if(f){Ec(239);c[3681]=(c[3681]|0)+2;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[l>>2]|0)!=2)break a;Ec(207);c[3681]=(c[3681]|0)+2;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}}while(0);xc(6517);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}while(0);c[h>>2]=eb(c[h>>2]|0)|0;if((c[h>>2]|0)==256){if(c[3685]|0){xc(6629);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}l=(c[3684]|0)!=0|(c[m>>2]|0)!=0;if(c[g>>2]&16|0)if(l){Ec(176);Cc(c[m>>2]|0);c[3681]=(c[3681]|0)+6;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}else{Ec(144);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}else if(l){Ec(175);Cc(c[m>>2]|0);c[3681]=(c[3681]|0)+3;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}else{Ec(143);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}}c[g>>2]=(c[g>>2]|0)+(c[h>>2]|0);if(c[3684]|0){if(!(Dc(c[m>>2]|0)|0))c[3677]=1;Ec((c[g>>2]|0)+9|0);Cc(c[m>>2]|0);c[3681]=(c[3681]|0)+4;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if(c[3685]|0){Ec((c[g>>2]|0)+8|0);if((c[m>>2]|0)<-128|(c[m>>2]|0)>127){xc(6608);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[m>>2]|0)>=-16&(c[m>>2]|0)<=15?(c[g>>2]&16|0)==0:0)c[3677]=1;Ec(Fc(c[m>>2]|0)|0);c[3681]=(c[3681]|0)+1;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if(!(c[m>>2]|0)){Ec((c[g>>2]|0)+4|0);c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}if((c[m>>2]|0)>=-16&(c[m>>2]|0)<=15?(c[g>>2]&16|0)==0:0){c[g>>2]=c[g>>2]&127;c[g>>2]=(c[g>>2]|0)+(c[m>>2]&31);Ec(c[g>>2]|0);c[3681]=(c[3681]|0)+1;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}h=c[g>>2]|0;if((c[m>>2]|0)>=-128&(c[m>>2]|0)<=127){Ec(h+8|0);Ec(Fc(c[m>>2]|0)|0);c[3681]=(c[3681]|0)+1;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}else{Ec(h+9|0);Cc(c[m>>2]|0);c[3681]=(c[3681]|0)+4;c[e>>2]=0;n=c[e>>2]|0;i=d;return n|0}return 0}function cb(){var a=0,b=0;a=i;i=i+16|0;b=a;do if(!(Kc(c[3683]|0,6724)|0)){if(Kc(c[3683]|0,6726)|0){c[b>>2]=0;break}if(Kc(c[3683]|0,6728)|0){c[b>>2]=1;break}if(Kc(c[3683]|0,6730)|0){c[b>>2]=1;break}if(Kc(c[3683]|0,6732)|0){c[b>>2]=2;break}if(Kc(c[3683]|0,6734)|0){c[b>>2]=2;break}if(Kc(c[3683]|0,6736)|0){c[b>>2]=3;break}if(Kc(c[3683]|0,6738)|0){c[b>>2]=3;break}if(Kc(c[3683]|0,6740)|0){c[b>>2]=4;break}if(Kc(c[3683]|0,6742)|0){c[b>>2]=4;break}if(Kc(c[3683]|0,6744)|0){c[b>>2]=5;break}if(Kc(c[3683]|0,6747)|0){c[b>>2]=5;break}if(Kc(c[3683]|0,6750)|0){c[b>>2]=6;break}if(Kc(c[3683]|0,6752)|0){c[b>>2]=6;break}if(Kc(c[3683]|0,6754)|0){c[b>>2]=7;break}if(Kc(c[3683]|0,6756)|0){c[b>>2]=7;break}if(Kc(c[3683]|0,6758)|0){c[b>>2]=13;break}if(Kc(c[3683]|0,6762)|0){c[b>>2]=13;break}if(Kc(c[3683]|0,6766)|0){c[b>>2]=8;break}if(Kc(c[3683]|0,6768)|0){c[b>>2]=8;break}if(Kc(c[3683]|0,6770)|0){c[b>>2]=9;break}if(Kc(c[3683]|0,6772)|0){c[b>>2]=9;break}if(Kc(c[3683]|0,6774)|0){c[b>>2]=10;break}if(Kc(c[3683]|0,6777)|0){c[b>>2]=10;break}if(Kc(c[3683]|0,6780)|0){c[b>>2]=11;break}if(Kc(c[3683]|0,6783)|0){c[b>>2]=11;break}if(Kc(c[3683]|0,6786)|0){c[b>>2]=12;break}if(Kc(c[3683]|0,6788)|0){c[b>>2]=12;break}if(Kc(c[3683]|0,6790)|0){c[b>>2]=12;break}if(Kc(c[3683]|0,6792)|0){c[b>>2]=14;break}if(Kc(c[3683]|0,6794)|0){c[b>>2]=14;break}if(Kc(c[3683]|0,6796)|0){c[b>>2]=15;break}if(Kc(c[3683]|0,6798)|0){c[b>>2]=15;break}else{c[b>>2]=-1;break}}else c[b>>2]=0;while(0);i=a;return c[b>>2]|0}function db(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+8|0;e=b+4|0;f=b;c[e>>2]=a;c[3683]=(c[3683]|0)+2;c[f>>2]=cb()|0;c[f>>2]=eb(c[f>>2]|0)|0;if((c[f>>2]|0)==256){xc(6689);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}else{c[e>>2]=(c[e>>2]|0)+(c[f>>2]|0);Ec(c[e>>2]|0);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}return 0}function eb(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[e>>2]=a;switch(c[e>>2]|0){case 1:{c[d>>2]=0;break}case 2:{c[d>>2]=32;break}case 3:{c[d>>2]=64;break}case 4:{c[d>>2]=96;break}case 6:{c[d>>2]=256;break}default:{xc(6660);c[d>>2]=0}}i=b;return c[d>>2]|0}function fb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;d=i;i=i+32|0;e=d+20|0;f=d+16|0;g=d+12|0;h=d+8|0;j=d+4|0;k=d;c[f>>2]=b;c[h>>2]=$a()|0;if(c[h>>2]|0){xc(6800);c[e>>2]=0;l=c[e>>2]|0;i=d;return l|0}c[3683]=(c[3683]|0)+1;Cb(g,14732)|0;if(Dc(c[g>>2]|0)|0?(Dc(c[g>>2]|0)|0)!=255:0){xc(6378);c[e>>2]=0;l=c[e>>2]|0;i=d;return l|0}b=c[3683]|0;c[3683]=b+1;if((a[b>>0]|0)!=44){xc(6827);c[e>>2]=0;l=c[e>>2]|0;i=d;return l|0}while(1){m=c[3683]|0;if((a[c[3683]>>0]|0)!=32)break;c[3683]=m+1}if((a[m>>0]|0)==35){xc(6859);c[e>>2]=0;l=c[e>>2]|0;i=d;return l|0}if((a[c[3683]>>0]|0)==91){xc(6888);c[e>>2]=0;l=c[e>>2]|0;i=d;return l|0}c[h>>2]=3;c[k>>2]=c[3683];while(1){if(!(a[c[k>>2]>>0]|0))break;if((a[c[k>>2]>>0]|0)==32)break;if((a[c[k>>2]>>0]|0)==9)break;if((a[c[k>>2]>>0]|0)==44){n=19;break}c[k>>2]=(c[k>>2]|0)+1}if((n|0)==19)c[h>>2]=1;c[j>>2]=c[3678];Ec(Fc(c[g>>2]|0)|0);ab(c[f>>2]|0,c[h>>2]|0)|0;c[14764+(c[j>>2]<<2)>>2]=c[14764+((c[j>>2]|0)+1<<2)>>2];c[14764+((c[j>>2]|0)+1<<2)>>2]=c[g>>2];c[3768]=c[3769];c[3769]=c[g>>2];g=14764+(c[j>>2]<<2)|0;j=c[g>>2]|0;if((c[3768]&240|0)==16){c[g>>2]=j&15;c[3768]=c[3768]&15}else{c[g>>2]=j|64;c[3768]=c[3768]|64}Mb(0,32,c[3682]|0);c[e>>2]=0;l=c[e>>2]|0;i=d;return l|0}function gb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;i=i+16|0;d=b+12|0;e=b+8|0;f=b+4|0;g=b;c[e>>2]=a;c[g>>2]=$a()|0;if(c[g>>2]|0){xc(6800);c[d>>2]=0;h=c[d>>2]|0;i=b;return h|0}c[3683]=(c[3683]|0)+1;Cb(f,14732)|0;Ec(c[e>>2]|0);if(Dc(c[f>>2]|0)|0?(Dc(c[f>>2]|0)|0)!=255:0){xc(6378);c[d>>2]=0;h=c[d>>2]|0;i=b;return h|0}Ec(Fc(c[f>>2]|0)|0);Mb(0,32,c[3682]|0);c[d>>2]=0;h=c[d>>2]|0;i=b;return h|0}function hb(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(17);a=gb(c[d>>2]|0)|0;i=b;return a|0}function ib(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;i=i+16|0;d=b+12|0;e=b+8|0;f=b+4|0;g=b;c[e>>2]=a;Cb(f,14732)|0;c[g>>2]=(c[f>>2]|0)-((c[3671]|0)+2);Ec(c[e>>2]|0);if(((c[g>>2]|0)>127|(c[g>>2]|0)<-128)&(c[3668]|0)==2){xc(6915);Ec(Fc(-2)|0);c[d>>2]=0;h=c[d>>2]|0;i=b;return h|0}else{Ec(Fc(c[g>>2]|0)|0);Mb(0,32,c[3682]|0);c[d>>2]=0;h=c[d>>2]|0;i=b;return h|0}return 0}function jb(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;i=i+16|0;d=b+8|0;e=b+4|0;f=b;c[d>>2]=a;Cb(e,14732)|0;c[f>>2]=(c[e>>2]|0)-((c[3671]|0)+4);Ec(16);Ec(c[d>>2]|0);if((c[f>>2]|0)>-128&(c[f>>2]|0)<127)c[3677]=1;Cc(c[f>>2]|0);Mb(0,32,c[3682]|0);i=b;return 0}function kb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+12|0;e=b+8|0;f=b+4|0;g=b;c[d>>2]=a;c[f>>2]=$a()|0;if(!(c[f>>2]|0))c[3683]=(c[3683]|0)+1;Cb(e,14732)|0;c[g>>2]=(c[e>>2]|0)-((c[3671]|0)+3);if((c[g>>2]|0)>-128&(c[g>>2]|0)<127)c[3677]=1;Ec(c[d>>2]|0);Cc(c[g>>2]|0);Mb(0,32,c[3682]|0);i=b;return 0}function lb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+8|0;e=b+4|0;f=b;c[e>>2]=a;c[f>>2]=$a()|0;if(!(c[f>>2]|0)){xc(6859);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}else{ab(c[e>>2]|0,c[f>>2]|0)|0;Mb(0,32,c[3682]|0);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}return 0}function mb(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(16);a=lb(c[d>>2]|0)|0;i=b;return a|0}function nb(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(17);a=lb(c[d>>2]|0)|0;i=b;return a|0}function ob(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+12|0;e=b+4|0;f=b;c[b+8>>2]=a;c[e>>2]=$a()|0;if(!(c[e>>2]|0)){Cb(f,14732)|0;Ec(205);Ec((c[f>>2]|0)>>>24&255);Ec((c[f>>2]|0)>>>16&255);Ec((c[f>>2]|0)>>>8&255);Ec(c[f>>2]&255);Mb(0,32,c[3682]|0);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}else{c[d>>2]=pb(204)|0;g=c[d>>2]|0;i=b;return g|0}return 0}function pb(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[d>>2]=a;Ec(16);c[e>>2]=$a()|0;a=qb(c[d>>2]|0,c[e>>2]|0)|0;i=b;return a|0}function qb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d+12|0;f=d+8|0;g=d+4|0;h=d;c[f>>2]=a;c[g>>2]=b;b=c[f>>2]|0;if(!((c[g>>2]|0)==0|(c[g>>2]|0)==4)){ab(b,c[g>>2]|0)|0;Mb(0,32,c[3682]|0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}Ec(b);c[3683]=(c[3683]|0)+1;Cb(h,14732)|0;b=c[h>>2]|0;if(!(c[g>>2]|0))Cc(b);else Ec(Fc(b)|0);Mb(0,32,c[3682]|0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}function rb(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[d>>2]=a;Ec(17);c[e>>2]=$a()|0;a=qb(c[d>>2]|0,c[e>>2]|0)|0;i=b;return a|0}function sb(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[d>>2]=a;Ec(17);a=$a()|0;c[e>>2]=a;c[e>>2]=(c[e>>2]|0)==0?4:a;a=qb(c[d>>2]|0,c[e>>2]|0)|0;i=b;return a|0}function tb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d+12|0;f=d+8|0;g=d+4|0;h=d;c[f>>2]=b;Ec(c[f>>2]|0);c[g>>2]=cb()|0;while(1){if((Lc(a[c[3683]>>0]|0)|0)==0?(a[c[3683]>>0]|0)!=48:0)break;c[3683]=(c[3683]|0)+1}if((c[g>>2]|0)==-1){xc(6935);Ec(0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}f=c[3683]|0;c[3683]=f+1;if((a[f>>0]|0)!=44){xc(6958);Ec(0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}c[h>>2]=cb()|0;while(1){if(!(Lc(a[c[3683]>>0]|0)|0))break;c[3683]=(c[3683]|0)+1}if((c[h>>2]|0)==-1){xc(6935);Ec(0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}if((c[g>>2]|0)==13|(c[h>>2]|0)==13){xc(6968);Ec(0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}if((c[h>>2]|0)==12){xc(6985);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}do if((c[g>>2]|0)!=12){if(!((c[g>>2]|0)<8&(c[h>>2]|0)>=8)?!((c[g>>2]|0)>=8&(c[h>>2]|0)<8):0)break;xc(7022);Ec(0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}while(0);if((a[c[3683]>>0]|0?(a[c[3683]>>0]|0)!=32:0)?(a[c[3683]>>0]|0)!=9:0){xc(7045);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}Ec((c[g>>2]<<4)+(c[h>>2]|0)|0);Mb(0,32,c[3682]|0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}function ub(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(16);a=tb(c[d>>2]|0)|0;i=b;return a|0}function vb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+32|0;e=d+16|0;f=d+12|0;g=d+8|0;h=d+4|0;j=d;c[f>>2]=b;c[j>>2]=0;c[g>>2]=cb()|0;while(1){if((Lc(a[c[3683]>>0]|0)|0)==0?(a[c[3683]>>0]|0)!=48:0)break;c[3683]=(c[3683]|0)+1}a:do if((c[g>>2]|0)==-1){xc(6935);c[e>>2]=0}else{switch(a[c[3683]>>0]|0){case 43:{c[j>>2]=1;c[3683]=(c[3683]|0)+1;break}case 45:{c[j>>2]=2;c[3683]=(c[3683]|0)+1;break}case 44:break;default:{xc(7067);c[e>>2]=0;break a}}b=c[3683]|0;c[3683]=b+1;if((a[b>>0]|0)!=44){xc(6958);Ec(0);c[e>>2]=0;break}c[h>>2]=cb()|0;while(1){if(!(Lc(a[c[3683]>>0]|0)|0))break;c[3683]=(c[3683]|0)+1}if((c[h>>2]|0)==-1){xc(6935);c[e>>2]=0;break}if((c[g>>2]|0)==13|(c[h>>2]|0)==13){xc(6968);c[e>>2]=0;break}if((c[h>>2]|0)==12){xc(6985);c[e>>2]=0;break}if((c[h>>2]|0)<=4?!((c[g>>2]|0)>4&(c[g>>2]|0)!=12):0){b:do switch(a[c[3683]>>0]|0){case 43:{if(!(c[j>>2]|0)){c[j>>2]=4;c[3683]=(c[3683]|0)+1;break b}if((c[j>>2]|0)==1){c[3683]=(c[3683]|0)+1;break b}else{xc(7097);c[e>>2]=0;break a}break}case 45:{if((c[j>>2]|0)==2){c[3683]=(c[3683]|0)+1;break b}else{xc(7121);c[e>>2]=0;break a}break}default:if((c[j>>2]|0)==1){c[j>>2]=3;break b}else{xc(7145);c[e>>2]=0;break a}}while(0);if((a[c[3683]>>0]|0?(a[c[3683]>>0]|0)!=32:0)?(a[c[3683]>>0]|0)!=9:0){xc(7045);c[e>>2]=0;break}Ec(17);Ec((c[f>>2]|0)+(c[j>>2]|0)-1|0);Ec((c[g>>2]<<4)+(c[h>>2]|0)|0);Mb(0,32,c[3682]|0);c[e>>2]=0;break}xc(7080);c[e>>2]=0}while(0);i=d;return c[e>>2]|0}function wb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d+8|0;f=d+4|0;g=d;c[f>>2]=b;c[g>>2]=$a()|0;if((a[c[3683]>>0]|0)==35){c[3683]=(c[3683]|0)+1;c[g>>2]=1}if((c[g>>2]|0)!=1){xc(7181);c[e>>2]=0;h=c[e>>2]|0;i=d;return h|0}else{bb(c[f>>2]|0)|0;Mb(0,32,c[3682]|0);c[e>>2]=0;h=c[e>>2]|0;i=d;return h|0}return 0}function xb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d+12|0;f=d+8|0;g=d+4|0;h=d;c[f>>2]=b;if(!(a[17558]|0)){xc(7209);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}Ec(c[f>>2]|0);c[g>>2]=0;do{c[h>>2]=cb()|0;do if(!((c[h>>2]|0)==-1|(c[h>>2]|0)==13)){if((c[h>>2]|0)==4&(c[f>>2]|0)==52){xc(7254);break}if((c[h>>2]|0)==3&(c[f>>2]|0)==54){xc(7272);break}if((c[h>>2]|0)==4&(c[f>>2]|0)==53){xc(7290);break}if((c[h>>2]|0)==3&(c[f>>2]|0)==55){xc(7310);break}else{c[g>>2]=c[g>>2]|c[8+(c[h>>2]<<2)>>2];c[3681]=(c[3681]|0)+(c[60+(c[h>>2]<<2)>>2]|0);break}}else xc(7232);while(0);while(1){if(!(a[c[3683]>>0]|0))break;if(!(Lc(a[c[3683]>>0]|0)|0))break;c[3683]=(c[3683]|0)+1}b=c[3683]|0;c[3683]=b+1}while((a[b>>0]|0)==44);Ec(Fc(c[g>>2]|0)|0);Mb(0,32,c[3682]|0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}function yb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+8|0;e=b+4|0;f=b;c[d>>2]=a;c[f>>2]=$a()|0;a=c[d>>2]|0;if(!(c[f>>2]|0)){Ec(a);c[3683]=(c[3683]|0)+1;Cb(e,14732)|0;Cc(c[e>>2]|0);g=c[3682]|0;Mb(0,32,g);i=b;return 0}else{ab(a,c[f>>2]|0)|0;g=c[3682]|0;Mb(0,32,g);i=b;return 0}return 0}function zb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;i=i+16|0;e=d+12|0;f=d+8|0;g=d+4|0;h=d;c[f>>2]=b;c[h>>2]=$a()|0;if((c[h>>2]|0)==1){bb((c[f>>2]|0)+96|0)|0;Mb(0,32,c[3682]|0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}if((c[h>>2]|0)==2){c[3683]=(c[3683]|0)+1;Ec((c[f>>2]|0)+96|0);Ec(159);Cb(g,14732)|0;Cc(c[g>>2]|0);c[3681]=(c[3681]|0)+7;if((a[c[3683]>>0]|0)==93){c[3683]=(c[3683]|0)+1;Mb(0,32,c[3682]|0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}else{xc(6390);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}}Cb(g,14732)|0;do if(c[3684]|0){Ec((c[f>>2]|0)+112|0);Cc(c[g>>2]|0);c[3681]=(c[3681]|0)+3}else{h=(c[3685]|0)!=0;b=Dc(c[g>>2]|0)|0;k=c[3676]|0;if(!h){h=c[f>>2]|0;if((b|0)==(k|0)){Ec(h);Ec(Fc(c[g>>2]|0)|0);c[3681]=(c[3681]|0)+2;break}else{Ec(h+112|0);Cc(c[g>>2]|0);c[3681]=(c[3681]|0)+3;break}}if((b|0)==(k|0)){Ec(c[f>>2]|0);Ec(Fc(c[g>>2]|0)|0);c[3681]=(c[3681]|0)+2;break}xc(6402);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}while(0);Mb(0,32,c[3682]|0);c[e>>2]=0;j=c[e>>2]|0;i=d;return j|0}function Ab(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[d>>2]=a;Ec(16);Ec(c[d>>2]|0);Cb(e,14732)|0;Ec(Fc(c[e>>2]|0)|0);Mb(0,32,c[3682]|0);i=b;return 0}function Bb(){var a=0,b=0,d=0;a=i;i=i+16|0;b=a;c[b>>2]=na(7330)|0;if(!(c[b>>2]|0)){i=a;return}d=c[b>>2]|0;b=c[3046]|0;c[3046]=b+1;c[12188+(b<<2)>>2]=d;i=a;return}function Cb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;i=i+64|0;f=e+24|0;g=e+16|0;h=e+8|0;j=e;k=e+44|0;l=e+40|0;m=e+36|0;n=e+32|0;o=e+28|0;p=e+48|0;c[l>>2]=b;c[m>>2]=d;if(c[3069]|0){c[j>>2]=c[c[m>>2]>>2];Vd(7341,j)|0}c[3685]=0;c[3684]=0;if((a[c[c[m>>2]>>2]>>0]|0)!=60){if((a[c[c[m>>2]>>2]>>0]|0)==62){c[3684]=1;j=c[m>>2]|0;c[j>>2]=(c[j>>2]|0)+1}}else{c[3685]=1;j=c[m>>2]|0;c[j>>2]=(c[j>>2]|0)+1}j=(Db(n,c[m>>2]|0)|0)==0;if(j&(c[3907]|0)==0){c[c[l>>2]>>2]=(c[3676]<<8)+254;c[k>>2]=0;q=c[k>>2]|0;i=e;return q|0}a:while(1){if(!(Eb(a[c[c[m>>2]>>2]>>0]|0)|0))break;j=c[m>>2]|0;d=c[j>>2]|0;c[j>>2]=d+1;a[p>>0]=a[d>>0]|0;if(!(Db(o,c[m>>2]|0)|0)){r=11;break}switch(a[p>>0]|0){case 43:{c[n>>2]=(c[n>>2]|0)+(c[o>>2]|0);continue a;break}case 45:{c[n>>2]=(c[n>>2]|0)-(c[o>>2]|0);continue a;break}case 42:{c[n>>2]=S(c[n>>2]|0,c[o>>2]|0)|0;continue a;break}case 47:{c[n>>2]=(c[n>>2]|0)/(c[o>>2]|0)|0;continue a;break}case 33:case 124:{c[n>>2]=c[n>>2]|c[o>>2];continue a;break}case 38:{c[n>>2]=c[n>>2]&c[o>>2];continue a;break}case 37:{c[n>>2]=(c[n>>2]|0)%(c[o>>2]|0)|0;continue a;break}case 94:{c[n>>2]=c[n>>2]^c[o>>2];continue a;break}default:continue a}}if((r|0)==11){c[c[l>>2]>>2]=(c[3676]<<8)+254;c[k>>2]=0;q=c[k>>2]|0;i=e;return q|0}c[c[l>>2]>>2]=c[n>>2];if(c[3069]|0){c[h>>2]=c[c[l>>2]>>2];Vd(7356,h)|0;c[g>>2]=c[3685];Vd(7372,g)|0;c[f>>2]=c[3684];Vd(7387,f)|0}c[k>>2]=1;q=c[k>>2]|0;i=e;return q|0}function Db(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=i;i=i+1072|0;f=e+40|0;g=e+36|0;h=e+32|0;j=e+48|0;k=e+28|0;l=e+24|0;m=e+20|0;n=e+16|0;o=e+12|0;p=e+8|0;q=e+4|0;r=e;c[g>>2]=b;c[h>>2]=d;c[l>>2]=0;c[3907]=0;if(!(a[c[c[h>>2]>>2]>>0]|0)){xc(7412);c[f>>2]=0;s=c[f>>2]|0;i=e;return s|0}d=c[h>>2]|0;b=c[d>>2]|0;if((a[c[c[h>>2]>>2]>>0]|0)==40){c[d>>2]=b+1;Cb(l,c[h>>2]|0)|0;if((a[c[c[h>>2]>>2]>>0]|0)!=41){xc(7434);c[f>>2]=0;s=c[f>>2]|0;i=e;return s|0}}else if((a[b>>0]|0)==41){xc(7434);c[f>>2]=0;s=c[f>>2]|0;i=e;return s|0}if((a[c[c[h>>2]>>2]>>0]|0)==45){b=c[h>>2]|0;c[b>>2]=(c[b>>2]|0)+1;c[m>>2]=1}else c[m>>2]=0;while(1){b=c[h>>2]|0;t=c[b>>2]|0;if((a[c[c[h>>2]>>2]>>0]|0)!=35)break;c[b>>2]=t+1}b=c[h>>2]|0;d=c[b>>2]|0;if((a[t>>0]|0)==94){c[b>>2]=d+1;c[r>>2]=Db(q,c[h>>2]|0)|0;c[c[g>>2]>>2]=~c[q>>2];c[f>>2]=c[r>>2];s=c[f>>2]|0;i=e;return s|0}r=c[h>>2]|0;q=c[r>>2]|0;a:do if((a[d>>0]|0)!=37){b=c[h>>2]|0;t=c[b>>2]|0;if((a[q>>0]|0)==64){c[b>>2]=t+1;while(1){if(!(Ac(a[c[c[h>>2]>>2]>>0]|0,7454)|0))break a;b=c[l>>2]<<3;u=c[h>>2]|0;v=c[u>>2]|0;c[u>>2]=v+1;c[l>>2]=b+((a[v>>0]|0)-48)}}v=c[h>>2]|0;b=c[v>>2]|0;if((a[t>>0]|0)==36){c[v>>2]=b+1;while(1){if(!(Ac(a[c[c[h>>2]>>2]>>0]|0,7463)|0))break a;v=c[l>>2]<<4;if((a[c[c[h>>2]>>2]>>0]|0)>57){u=c[h>>2]|0;w=c[u>>2]|0;c[u>>2]=w+1;c[l>>2]=v+10+(((Jc(a[w>>0]|0)|0)<<24>>24)-97);continue}else{w=c[h>>2]|0;u=c[w>>2]|0;c[w>>2]=u+1;c[l>>2]=v+((a[u>>0]|0)-48);continue}}}if(Ac(a[b>>0]|0,7486)|0)while(1){if((a[c[c[h>>2]>>2]>>0]|0)<48)break a;if((a[c[c[h>>2]>>2]>>0]|0)>57)break a;t=(c[l>>2]|0)*10|0;u=c[h>>2]|0;v=c[u>>2]|0;c[u>>2]=v+1;c[l>>2]=t+((a[v>>0]|0)-48)}b=c[h>>2]|0;v=c[b>>2]|0;if((a[c[c[h>>2]>>2]>>0]|0)==42){c[b>>2]=v+1;c[l>>2]=c[3682];break}b=c[h>>2]|0;t=c[b>>2]|0;if((a[v>>0]|0)==46){c[b>>2]=t+1;c[l>>2]=c[3670];break}b=c[h>>2]|0;v=c[b>>2]|0;if((a[t>>0]|0)==39){c[b>>2]=v+1;if(!(a[c[c[h>>2]>>2]>>0]|0)){c[l>>2]=0;break}else{b=c[h>>2]|0;t=c[b>>2]|0;c[b>>2]=t+1;c[l>>2]=a[t>>0];break}}if(!(Lc(a[v>>0]|0)|0))if((a[c[c[h>>2]>>2]>>0]|0)==41){v=c[h>>2]|0;c[v>>2]=(c[v>>2]|0)+1;break}else{c[l>>2]=0;break}c[k>>2]=j;while(1){if(!(Mc(a[c[c[h>>2]>>2]>>0]|0)|0))break;v=c[h>>2]|0;t=c[v>>2]|0;c[v>>2]=t+1;v=a[t>>0]|0;t=c[k>>2]|0;c[k>>2]=t+1;a[t>>0]=v}a[c[k>>2]>>0]=0;c[n>>2]=uc(j)|0;v=c[3668]|0;if(!(c[n>>2]|0)){if((v|0)==1){Ib();c[3907]=1;c[c[g>>2]>>2]=0;c[f>>2]=0;s=c[f>>2]|0;i=e;return s|0}}else{if((v|0)==2){c[o>>2]=c[(c[n>>2]|0)+16>>2];c[p>>2]=0;while(1){if(!(c[o>>2]|0))break;c[p>>2]=c[o>>2];c[o>>2]=c[(c[o>>2]|0)+4>>2]}c[o>>2]=Nc(8)|0;v=c[o>>2]|0;if(!(c[p>>2]|0))c[(c[n>>2]|0)+16>>2]=v;else c[(c[p>>2]|0)+4>>2]=v;c[c[o>>2]>>2]=c[12364+((c[3089]|0)*72|0)+68>>2];c[(c[o>>2]|0)+4>>2]=0}c[l>>2]=c[3687]}if(((c[3668]|0)==2?(c[12364+((c[3089]|0)*72|0)+68>>2]|0)==(c[3690]|0):0)?(c[3090]|0)==(c[3689]|0):0)Jb()}else{c[r>>2]=q+1;while(1){if(!(Ac(a[c[c[h>>2]>>2]>>0]|0,7451)|0))break a;v=c[l>>2]<<1;t=c[h>>2]|0;b=c[t>>2]|0;c[t>>2]=b+1;c[l>>2]=v+((a[b>>0]|0)-48)}}while(0);h=c[l>>2]|0;if(c[m>>2]|0){c[c[g>>2]>>2]=0-h;c[f>>2]=1;s=c[f>>2]|0;i=e;return s|0}else{c[c[g>>2]>>2]=h;c[f>>2]=1;s=c[f>>2]|0;i=e;return s|0}return 0}function Eb(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;e=d;f=d+4|0;a[f>>0]=b;if(Ac(a[f>>0]|0,7402)|0)c[e>>2]=1;else c[e>>2]=0;i=d;return c[e>>2]|0}function Fb(){var a=0;a=i;i=i+16|0;c[3908]=Wd(7497,420)|0;if((c[3908]|0)<0)wc(7506);zd(c[3908]|0)|0;c[3908]=Ad(7497,2,a)|0;if((c[3908]|0)>=0){i=a;return}wc(7529);i=a;return}function Gb(){if((c[3908]|0)<=0)return;zd(c[3908]|0)|0;Ed(7497)|0;return}function Hb(){var a=0,b=0,d=0;a=i;i=i+16|0;b=a;c[3690]=0;c[3689]=0;Cd(c[3908]|0,0,0)|0;Fd(c[3908]|0,14756,4)|0;Fd(c[3908]|0,14760,4)|0;if(!(c[3069]|0)){i=a;return}d=c[3690]|0;c[b>>2]=c[3689];c[b+4>>2]=d;Vd(7556,b)|0;i=a;return}function Ib(){Dd(c[3908]|0,12360,4)|0;Dd(c[3908]|0,12364+((c[3089]|0)*72|0)+68|0,4)|0;return}function Jb(){var a=0,b=0,d=0,e=0,f=0;a=i;i=i+32|0;b=a+16|0;d=a+8|0;e=a;f=a+24|0;c[f>>2]=Fd(c[3908]|0,14756,4)|0;if(c[3069]|0){c[e>>2]=c[f>>2];Vd(7578,e)|0}c[f>>2]=Fd(c[3908]|0,14760,4)|0;if(c[3069]|0){c[d>>2]=c[f>>2];Vd(7591,d)|0}if((c[f>>2]|0)<2){c[3690]=0;c[3689]=0}if(!(c[3069]|0)){i=a;return}f=c[3690]|0;c[b>>2]=c[3689];c[b+4>>2]=f;Vd(7607,b)|0;i=a;return}function Kb(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+32|0;d=b;e=b+20|0;c[e>>2]=a;if(!(c[e>>2]|0)){i=b;return}Kb(c[(c[e>>2]|0)+8>>2]|0);a=c[(c[e>>2]|0)+4>>2]|0;c[d>>2]=c[c[e>>2]>>2];c[d+4>>2]=a;Vd(7628,d)|0;c[3909]=(c[3909]|0)+1;if((c[3909]|0)>=4){Vd(9699,b+8|0)|0;c[3909]=0}else Vd(7699,b+16|0)|0;Kb(c[(c[e>>2]|0)+12>>2]|0);i=b;return}function Lb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;b=i;i=i+48|0;d=b+24|0;e=b+16|0;f=b+8|0;g=b;h=b+36|0;j=b+32|0;k=b+28|0;c[h>>2]=a;c[k>>2]=1;if(!(c[h>>2]|0)){i=b;return}Lb(c[(c[h>>2]|0)+8>>2]|0);a=c[(c[h>>2]|0)+4>>2]|0;c[g>>2]=c[c[h>>2]>>2];c[g+4>>2]=a;Vd(7639,g)|0;c[j>>2]=c[(c[h>>2]|0)+16>>2];while(1){if(!(c[j>>2]|0))break;g=c[k>>2]|0;c[k>>2]=g+1;if((g|0)>10){c[k>>2]=1;Vd(7652,f)|0}c[e>>2]=c[c[j>>2]>>2];Vd(7676,e)|0;c[j>>2]=c[(c[j>>2]|0)+4>>2]}Vd(9699,d)|0;Lb(c[(c[h>>2]|0)+12>>2]|0);i=b;return}function Mb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=i;i=i+1152|0;g=f+96|0;h=f+88|0;j=f+80|0;k=f+64|0;l=f+48|0;m=f+40|0;n=f+32|0;o=f+24|0;p=f+16|0;q=f+8|0;r=f;s=f+112|0;t=f+1144|0;u=f+108|0;v=f+104|0;w=f+632|0;x=f+120|0;y=f+100|0;c[s>>2]=b;a[t>>0]=d;c[u>>2]=e;a[x>>0]=0;do if(!(c[s>>2]|0)){if(!((c[3668]|0)==1|(c[3065]|0)==0|(c[3673]|0)!=0)?a[17276+(c[3674]|0)>>0]|0:0)break;c[3677]=0;i=f;return}while(0);if(!(c[3063]|0)){if(!(c[3902]|0))Nb();c[r>>2]=c[12364+((c[3089]|0)*72|0)+68>>2];bd(w,7682,r)|0;Kd(x,w)|0;if((a[t>>0]|0)==32&(c[3677]|0)!=0)a[t>>0]=87;if(c[3677]|0)c[3686]=(c[3686]|0)+1;c[q>>2]=a[t>>0];bd(w,7688,q)|0;Kd(x,w)|0;if((c[3679]|0)!=0|(c[3680]|0)!=0){c[p>>2]=c[u>>2];bd(w,7693,p)|0;Kd(x,w)|0}else Kd(x,7699)|0;do if(c[3071]|0)if(c[3681]|0){c[o>>2]=c[3681];bd(w,7705,o)|0;Kd(x,w)|0;break}else{Kd(x,7699)|0;break}while(0);c[v>>2]=0;while(1){if(!((c[v>>2]|0)<(c[3679]|0)?(c[v>>2]|0)<4:0))break;c[n>>2]=Fc(c[15072+(c[v>>2]<<2)>>2]|0)|0;bd(w,7712,n)|0;Kd(x,w)|0;c[v>>2]=(c[v>>2]|0)+1}while(1){if((c[v>>2]|0)>=4)break;Kd(x,7717)|0;c[v>>2]=(c[v>>2]|0)+1}Kd(x,7720)|0}c[3902]=(c[3902]|0)+1;Ta()|0;if(((a[17532]|0)==0?(a[17548]|0)==0:0)?(a[17558]|0)==0:0){if(a[18582]|0){c[m>>2]=18582;bd(w,7724,m)|0;Kd(x,w)|0}}else z=30;do if((z|0)==30)if(!(a[18582]|0)){c[l>>2]=17532;c[l+4>>2]=17548;c[l+8>>2]=17558;bd(w,7727,l)|0;Kd(x,w)|0;break}else{c[k>>2]=17532;c[k+4>>2]=17548;c[k+8>>2]=17558;c[k+12>>2]=18582;bd(w,7741,k)|0;Kd(x,w)|0;break}while(0);a:do if((c[3897]|0)==1){c[y>>2]=c[3682];while(1){if((c[v>>2]|0)>=(c[3679]|0))break a;if(!((c[v>>2]|0)%4|0)){k=12364+((c[3089]|0)*72|0)+68|0;c[k>>2]=(c[k>>2]|0)+1;c[y>>2]=(c[y>>2]|0)+4;k=c[y>>2]|0;c[j>>2]=c[12364+((c[3089]|0)*72|0)+68>>2];c[j+4>>2]=k;bd(w,7761,j)|0;Kd(x,w)|0}c[h>>2]=Fc(c[15072+(c[v>>2]<<2)>>2]|0)|0;bd(w,7775,h)|0;Kd(x,w)|0;c[v>>2]=(c[v>>2]|0)+1}}while(0);td(w,x,c[3064]|0)|0;a[w+(c[3064]|0)>>0]=0;c[g>>2]=w;Vd(9608,g)|0;if((c[3063]|0)==0?(c[3902]|0)==((c[3894]|0)-(c[3905]|0)|0):0){Ob();c[3902]=0;c[3903]=(c[3903]|0)+1}c[3677]=0;i=f;return}function Nb(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;a=i;i=i+64|0;b=a+32|0;d=a;e=a+48|0;f=a+44|0;c[e>>2]=wa(0)|0;c[f>>2]=ya(e|0)|0;e=c[(c[f>>2]|0)+12>>2]|0;g=c[(c[f>>2]|0)+20>>2]|0;h=c[(c[f>>2]|0)+8>>2]|0;j=c[(c[f>>2]|0)+4>>2]|0;k=c[c[f>>2]>>2]|0;l=c[3903]|0;c[d>>2]=(c[(c[f>>2]|0)+16>>2]|0)+1;c[d+4>>2]=e;c[d+8>>2]=g;c[d+12>>2]=h;c[d+16>>2]=j;c[d+20>>2]=k;c[d+24>>2]=l;Vd(7780,d)|0;c[b>>2]=19609;c[b+4>>2]=19673;Vd(7872,b)|0;Vd(9699,a+40|0)|0;c[3902]=(c[3902]|0)+(c[3904]|0);i=a;return}function Ob(){var a=0;a=i;i=i+32|0;Vd(9699,a)|0;Vd(9699,a+8|0)|0;Vd(9699,a+16|0)|0;c[3902]=(c[3902]|0)+(c[3905]|0);i=a;return}function Pb(){var a=0,b=0,d=0,e=0,f=0;a=i;i=i+48|0;b=a+32|0;d=a+24|0;e=a+16|0;f=a+8|0;Vd(9699,a)|0;c[f>>2]=c[3667];Vd(7881,f)|0;c[e>>2]=c[3686];Vd(7896,e)|0;e=c[3671]|0;c[d>>2]=c[3671];c[d+4>>2]=e;Vd(7913,d)|0;d=c[3670]|0;c[b>>2]=c[3670];c[b+4>>2]=d;Vd(7949,b)|0;i=a;return}function Qb(){var b=0,d=0;b=i;i=i+16|0;d=b;do if(a[17276+(c[3674]|0)>>0]|0){if((c[3089]|0)>0){c[d>>2]=0;break}if(a[17532]|0){xc(7982);c[d>>2]=0;break}else{td(19609,c[3683]|0,63)|0;Mb(0,32,0);c[d>>2]=0;break}}else c[d>>2]=0;while(0);i=b;return c[d>>2]|0}function Rb(){var b=0,d=0;b=i;i=i+16|0;d=b;do if(a[17276+(c[3674]|0)>>0]|0){if((c[3089]|0)>0){c[d>>2]=0;break}if(a[17532]|0){xc(7982);c[d>>2]=0;break}else{td(19673,c[3683]|0,63)|0;Mb(0,32,0);c[d>>2]=0;break}}else c[d>>2]=0;while(0);i=b;return c[d>>2]|0}function Sb(){var b=0,d=0,e=0,f=0;b=i;i=i+16|0;d=b+4|0;e=b;c[3680]=1;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}if(Cb(e,14732)|0){if(a[17532]|0)tc(17532,c[3670]|0,0)|0;c[3670]=(c[3670]|0)+(c[e>>2]|0);Gc();Mb(0,68,c[3670]|0)}else xc(8e3);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function Tb(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;c[3680]=1;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}if(Cb(e,14732)|0){while(1){g=c[e>>2]|0;c[e>>2]=g+-1;if(!g)break;Ec(0)}Mb(0,32,c[3682]|0)}else xc(8e3);if(a[17532]|0)tc(17532,c[3682]|0,0)|0;c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function Ub(){var b=0,d=0,e=0,f=0,g=0,h=0;b=i;i=i+16|0;d=b+8|0;e=b+4|0;f=b;c[3680]=1;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}Cb(f,14732)|0;c[e>>2]=c[f>>2];h=c[3683]|0;c[3683]=h+1;if((a[h>>0]|0)!=44)xc(8034);else{c[3683]=Bc(c[3683]|0)|0;Cb(f,14732)|0;while(1){h=c[f>>2]|0;c[f>>2]=h+-1;if(!h)break;Ec(c[e>>2]|0)}Mb(0,32,c[3682]|0)}if(a[17532]|0)tc(17532,c[3682]|0,0)|0;c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}function Vb(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}do{c[3683]=Bc(c[3683]|0)|0;Cb(e,14732)|0;if((c[e>>2]|0)>255){if(!(c[3685]|0))yc(8043);c[e>>2]=Fc(c[e>>2]|0)|0}Ec(c[e>>2]|0);g=c[3683]|0;c[3683]=g+1}while((a[g>>0]|0)==44);if(a[17532]|0)tc(17532,c[3682]|0,0)|0;Mb(0,32,c[3682]|0);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function Wb(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}do{c[3683]=Bc(c[3683]|0)|0;Cb(e,14732)|0;Cc(c[e>>2]|0);g=c[3683]|0;c[3683]=g+1}while((a[g>>0]|0)==44);if(a[17532]|0)tc(17532,c[3682]|0,0)|0;Mb(0,32,c[3682]|0);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function Xb(){var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;i=i+16|0;d=b;e=b+4|0;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}if(!(a[17558]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=c[3683]|0;c[3683]=g+1;a[e>>0]=a[g>>0]|0;while(1){if(a[c[3683]>>0]|0)h=(a[c[3683]>>0]|0)!=(a[e>>0]|0);else h=0;j=c[3683]|0;if(!h)break;c[3683]=j+1;Ec(a[j>>0]|0)}if((a[j>>0]|0)!=(a[e>>0]|0)){xc(8059);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}c[3683]=(c[3683]|0)+1;if(a[17532]|0)tc(17532,c[3682]|0,0)|0;Mb(0,32,c[3682]|0);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function Yb(){var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;i=i+16|0;d=b;e=b+4|0;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}if(!(a[17558]|0)){c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=c[3683]|0;c[3683]=g+1;a[e>>0]=a[g>>0]|0;while(1){if(a[c[3683]>>0]|0)h=(a[c[3683]>>0]|0)!=(a[e>>0]|0);else h=0;j=c[3683]|0;if(!h)break;g=c[3683]|0;if((a[j+1>>0]|0)!=(a[e>>0]|0)){c[3683]=g+1;Ec(a[g>>0]|0);continue}else{Ec((a[g>>0]|0)+128|0);c[3683]=(c[3683]|0)+1;continue}}if((a[j>>0]|0)!=(a[e>>0]|0)){xc(8059);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}c[3683]=(c[3683]|0)+1;if(a[17532]|0)tc(17532,c[3682]|0,0)|0;Mb(0,32,c[3682]|0);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function Zb(){var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[3680]=1;do if(a[17276+(c[3674]|0)>>0]|0)if(Cb(e,14732)|0){c[3670]=c[e>>2];Gc();Mb(0,68,c[3670]|0);c[d>>2]=0;break}else{xc(8e3);c[d>>2]=0;break}else c[d>>2]=0;while(0);i=b;return c[d>>2]|0}function _b(){var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[3680]=1;do if(a[17276+(c[3674]|0)>>0]|0){if(!(a[17532]|0)){xc(8077);c[d>>2]=0;break}if(Cb(e,14732)|0){tc(17532,c[e>>2]|0,0)|0;c[3682]=c[e>>2];Mb(0,32,c[e>>2]|0);c[d>>2]=0;break}else{xc(8e3);c[d>>2]=0;break}}else c[d>>2]=0;while(0);i=b;return c[d>>2]|0}function $b(){var b=0,d=0,e=0;b=i;i=i+16|0;d=b+4|0;e=b;c[3680]=1;do if(!(a[17276+(c[3674]|0)>>0]|0))c[d>>2]=0;else{if(!(a[17532]|0)){xc(8096);c[d>>2]=0;break}if(Cb(e,14732)|0){tc(17532,c[e>>2]|0,1)|0;c[3682]=c[e>>2]}Mb(0,32,c[e>>2]|0);c[d>>2]=0}while(0);i=b;return c[d>>2]|0}function ac(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+8|0;e=b+4|0;f=b;c[e>>2]=17558;c[f>>2]=1;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}if(a[17532]|0){xc(7982);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}if((c[3089]|0)>0){Mb(0,32,0);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}c[3680]=0;if((a[c[e>>2]>>0]|0)==45){c[e>>2]=(c[e>>2]|0)+1;c[f>>2]=0}a:do switch(Yc(a[c[e>>2]>>0]|0)|0){case 99:{c[3893]=c[f>>2];break}case 100:{c[3894]=Xd((c[e>>2]|0)+1|0)|0;break}case 101:{c[3895]=c[f>>2];break}case 102:{c[3896]=c[f>>2];break}case 103:{c[3897]=c[f>>2];break}case 108:{c[3065]=c[f>>2];break}case 109:{c[3898]=c[f>>2];break}case 110:{c[3899]=c[f>>2];break}case 111:{if(!(c[f>>2]|0)){td(16188,(c[3683]|0)+1|0,63)|0;break a}else{a[16188]=0;break a}break}case 115:{c[3068]=c[f>>2];break}case 119:{c[3064]=Xd((c[e>>2]|0)+1|0)|0;break}default:xc(8115)}while(0);Mb(0,32,0);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}function bc(){var a=0,b=0,d=0;a=i;i=i+32|0;b=a+24|0;d=a+8|0;c[3680]=0;c[3673]=1;if(!((c[3668]|0)==2&(c[3065]|0)==1)){Mb(0,32,0);i=a;return 0}Vd(8124,a)|0;c[d>>2]=c[12292+((c[3072]|0)-1<<2)>>2];Vd(8126,d)|0;Vd(8132,a+16|0)|0;d=c[3892]|0;c[3892]=d+1;c[b>>2]=d;Vd(8168,b)|0;Mb(0,32,0);i=a;return 0}function cc(){c[3680]=0;return 0}function dc(){var b=0,d=0,e=0,f=0;b=i;i=i+16|0;d=b+4|0;e=b;if((c[3893]|0)==1)Mb(0,32,0);do if(a[17276+(c[3674]|0)>>0]|0)if((c[3668]|0)==1){c[e>>2]=1;break}else{c[e>>2]=0;break}else c[e>>2]=0;while(0);c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}else{a[17276+(c[3674]|0)>>0]=c[e>>2];c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}return 0}function ec(){var b=0,d=0,e=0,f=0;b=i;i=i+16|0;d=b+4|0;e=b;if((c[3893]|0)==1)Mb(0,32,0);do if(a[17276+(c[3674]|0)>>0]|0)if((c[3668]|0)==2){c[e>>2]=1;break}else{c[e>>2]=0;break}else c[e>>2]=0;while(0);c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}else{a[17276+(c[3674]|0)>>0]=c[e>>2];c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}return 0}function fc(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(a[17276+(c[3674]|0)>>0]|0){Cb(e,14732)|0;if((c[3893]|0)==1)Mb(0,32,0)}else c[e>>2]=1;c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=17276+(c[3674]|0)|0;if(!(c[e>>2]|0))a[g>>0]=1;else a[g>>0]=0;c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function gc(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(a[17276+(c[3674]|0)>>0]|0){Cb(e,14732)|0;if((c[3893]|0)==1)Mb(0,32,0)}else c[e>>2]=0;c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=17276+(c[3674]|0)|0;if((c[e>>2]|0)==1)a[g>>0]=1;else a[g>>0]=0;c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function hc(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(a[17276+(c[3674]|0)>>0]|0){Cb(e,14732)|0;if((c[3893]|0)==1)Mb(0,32,0)}else c[e>>2]=0;c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=17276+(c[3674]|0)|0;if((c[e>>2]|0)<0)a[g>>0]=1;else a[g>>0]=0;c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function ic(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(a[17276+(c[3674]|0)>>0]|0){Cb(e,14732)|0;if((c[3893]|0)==1)Mb(0,32,0)}else c[e>>2]=0;c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=17276+(c[3674]|0)|0;if((c[e>>2]|0)<=0)a[g>>0]=1;else a[g>>0]=0;c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function jc(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(a[17276+(c[3674]|0)>>0]|0){Cb(e,14732)|0;if((c[3893]|0)==1)Mb(0,32,0)}else c[e>>2]=0;c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=17276+(c[3674]|0)|0;if((c[e>>2]|0)>0)a[g>>0]=1;else a[g>>0]=0;c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function kc(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b+4|0;e=b;if(a[17276+(c[3674]|0)>>0]|0){Cb(e,14732)|0;if((c[3893]|0)==1)Mb(0,32,0)}else c[e>>2]=0;c[3674]=(c[3674]|0)+1;if((c[3674]|0)>256){xc(8178);c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}g=17276+(c[3674]|0)|0;if((c[e>>2]|0)>=0)a[g>>0]=1;else a[g>>0]=0;c[d>>2]=0;f=c[d>>2]|0;i=b;return f|0}function lc(){var a=0,b=0,d=0;a=i;i=i+16|0;b=a;c[3674]=(c[3674]|0)+-1;if((c[3674]|0)<0){xc(8206);c[b>>2]=0;d=c[b>>2]|0;i=a;return d|0}if((c[3893]|0)==1)Mb(0,32,0);c[b>>2]=0;d=c[b>>2]|0;i=a;return d|0}function mc(){var b=0,d=0,e=0;b=i;i=i+16|0;d=b;if((c[3674]|0)>0?(a[17276+((c[3674]|0)-1)>>0]|0)==0:0){c[d>>2]=0;e=c[d>>2]|0;i=b;return e|0}if((c[3893]|0)==1)Mb(0,32,0);a[17276+(c[3674]|0)>>0]=((a[17276+(c[3674]|0)>>0]|0)!=0^1)&1;Mb(0,32,0);c[d>>2]=0;e=c[d>>2]|0;i=b;return e|0}function nc(){var b=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;b=i;i=i+64|0;e=b+44|0;f=b+40|0;g=b+48|0;h=b+16|0;j=b+8|0;k=b+4|0;l=b;c[3671]=0;c[3682]=0;c[3670]=0;Gc();c[3900]=1;a[19606]=-1;a[19607]=-1;a[19608]=-1;if(!(a[17276+(c[3674]|0)>>0]|0)){c[e>>2]=0;m=c[e>>2]|0;i=b;return m|0}if((c[3668]|0)==1?a[17532]|0:0)tc(17532,c[3682]|0,0)|0;n=Id(c[3683]|0,8237)|0;c[f>>2]=n;if(!n){xc(8239);c[e>>2]=0;m=c[e>>2]|0;i=b;return m|0}Cb(h,f)|0;c[j>>2]=1;while(1){if((c[j>>2]|0)>=6)break;n=Id(0,8237)|0;c[f>>2]=n;if(!n){o=11;break}Cb(h+(c[j>>2]<<2)|0,f)|0;c[j>>2]=(c[j>>2]|0)+1}if((o|0)==11){xc(8239);c[e>>2]=0;m=c[e>>2]|0;i=b;return m|0}a[g>>0]=0;Cc(34765);a[g>>0]=d[g>>0]^135;a[g>>0]=d[g>>0]^205;c[k>>2]=c[h>>2];Cc(c[k>>2]|0);a[g>>0]=d[g>>0]^c[k>>2]>>8;a[g>>0]=d[g>>0]^c[k>>2]&255;c[l>>2]=c[h+4>>2];Cc(c[l>>2]|0);a[g>>0]=d[g>>0]^c[l>>2]>>8;a[g>>0]=d[g>>0]^c[l>>2]&255;Ec(c[h+8>>2]|0);a[g>>0]=d[g>>0]^c[h+8>>2];Ec(c[h+12>>2]|0);a[g>>0]=d[g>>0]^c[h+12>>2];Ec(~d[g>>0]);switch(c[h+8>>2]&240|0){case 224:case 208:case 192:case 176:case 160:case 144:case 128:case 112:case 96:case 80:case 64:case 48:case 32:case 16:{Cc(c[h+16>>2]|0);Cc(c[h+20>>2]|0);break}case 240:{Cc(c[h+16>>2]|0);Cc(c[h+20>>2]|0);break}default:{}}Mb(0,32,0);c[e>>2]=0;m=c[e>>2]|0;i=b;return m|0}function oc(){var b=0,d=0,e=0;b=i;i=i+16|0;d=b;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;e=c[d>>2]|0;i=b;return e|0}else{Gc();c[3900]=0;a[19606]=a[19606]^255;a[19607]=a[19607]^255;a[19608]=a[19608]^255;Ec(a[19606]|0);Ec(a[19607]|0);Ec(a[19608]|0);Gc();Mb(0,32,0);c[d>>2]=0;e=c[d>>2]|0;i=b;return e|0}return 0}function pc(){var a=0,b=0;a=i;i=i+16|0;b=a;c[3680]=1;Cb(b,14732)|0;c[3676]=c[b>>2];c[3670]=c[b>>2];Gc();Mb(0,68,c[3670]|0);i=a;return 0}function qc(){var a=0;a=i;i=i+16|0;c[a>>2]=Xd(17558)|0;i=a;return 0}function rc(){var b=0,d=0,e=0,f=0,g=0,h=0;b=i;i=i+144|0;d=b+4|0;e=b+8|0;f=b;if(!(a[17276+(c[3674]|0)>>0]|0)){c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}if(a[17532]|0)xc(7982);Mb(0,32,0);wd(e,c[3683]|0)|0;c[3089]=(c[3089]|0)+1;h=Md(e,8257)|0;c[12364+((c[3089]|0)*72|0)>>2]=h;if(!h){c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[3046]|0))break;wd(e,c[12188+(c[f>>2]<<2)>>2]|0)|0;Kd(e,8259)|0;Kd(e,c[3683]|0)|0;h=Md(e,8257)|0;c[12364+((c[3089]|0)*72|0)>>2]=h;if(h|0)break;c[f>>2]=(c[f>>2]|0)+1}if(!(c[12364+((c[3089]|0)*72|0)>>2]|0)){c[3089]=(c[3089]|0)+-1;xc(8261);c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}}td(12364+((c[3089]|0)*72|0)+4|0,e,63)|0;e=c[3089]|0;if((c[3668]|0)==1)c[12364+(e*72|0)+68>>2]=0;else c[12364+((c[3089]|0)*72|0)+68>>2]=c[12364+((e-1|0)*72|0)+68>>2];c[d>>2]=0;g=c[d>>2]|0;i=b;return g|0}function sc(){var b=0,d=0;b=i;i=i+16|0;d=b;do if(!(a[17276+(c[3674]|0)>>0]|0))c[d>>2]=0;else{if(a[17532]|0){xc(7982);c[d>>2]=0;break}Mb(0,32,0);do{}while((Td(16252,1023,c[12364+((c[3089]|0)*72|0)>>2]|0)|0)!=0);c[d>>2]=0}while(0);i=b;return c[d>>2]|0}function tc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=i;i=i+48|0;g=f;h=f+40|0;j=f+36|0;k=f+32|0;l=f+28|0;m=f+24|0;n=f+20|0;o=f+16|0;p=f+12|0;q=f+8|0;c[j>>2]=b;c[k>>2]=d;c[l>>2]=e;if(!(Lc(a[c[j>>2]>>0]|0)|0)){xc(9473);c[h>>2]=0;r=c[h>>2]|0;i=f;return r|0}if((c[l>>2]|0)==0?(l=uc(c[j>>2]|0)|0,c[n>>2]=l,l|0):0){if((c[3668]|0)!=2){xc(9507);c[h>>2]=0;r=c[h>>2]|0;i=f;return r|0}if((c[(c[n>>2]|0)+4>>2]|0)==(c[k>>2]|0)){c[h>>2]=1;r=c[h>>2]|0;i=f;return r|0}else{xc(9493);c[h>>2]=0;r=c[h>>2]|0;i=f;return r|0}}if(c[3069]|0){l=c[k>>2]|0;c[g>>2]=c[j>>2];c[g+4>>2]=l;Vd(9524,g)|0}c[n>>2]=Nc(20)|0;if((c[n>>2]|0)==(-1|0)){xc(9546);c[h>>2]=0;r=c[h>>2]|0;i=f;return r|0}g=Nc((vd(c[j>>2]|0)|0)+1|0)|0;c[c[n>>2]>>2]=g;if((c[c[n>>2]>>2]|0)==(-1|0)){xc(9546);c[h>>2]=0;r=c[h>>2]|0;i=f;return r|0}wd(c[c[n>>2]>>2]|0,c[j>>2]|0)|0;c[(c[n>>2]|0)+4>>2]=c[k>>2];c[(c[n>>2]|0)+8>>2]=0;c[(c[n>>2]|0)+12>>2]=0;c[m>>2]=Nc(8)|0;c[(c[n>>2]|0)+16>>2]=c[m>>2];c[c[m>>2]>>2]=c[12364+((c[3089]|0)*72|0)+68>>2];c[(c[m>>2]|0)+4>>2]=0;c[o>>2]=c[3669];c[p>>2]=0;while(1){if(!(c[o>>2]|0))break;c[p>>2]=c[o>>2];c[q>>2]=Gd(c[j>>2]|0,c[c[o>>2]>>2]|0)|0;m=c[o>>2]|0;if((c[q>>2]|0)<0){c[o>>2]=c[m+8>>2];continue}else{c[o>>2]=c[m+12>>2];continue}}do if(c[p>>2]|0){o=(Gd(c[j>>2]|0,c[c[p>>2]>>2]|0)|0)<0;q=c[n>>2]|0;m=c[p>>2]|0;if(o){c[m+8>>2]=q;break}else{c[m+12>>2]=q;break}}else c[3669]=c[n>>2];while(0);c[h>>2]=1;r=c[h>>2]|0;i=f;return r|0}function uc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;i=i+16|0;d=b+12|0;e=b+8|0;f=b+4|0;g=b;c[e>>2]=a;c[f>>2]=c[3669];while(1){if(!(c[f>>2]|0))break;c[g>>2]=Gd(c[e>>2]|0,c[c[f>>2]>>2]|0)|0;if(!(c[g>>2]|0)){h=4;break}a=c[f>>2]|0;if((c[g>>2]|0)<0){c[f>>2]=c[a+8>>2];continue}else{c[f>>2]=c[a+12>>2];continue}}if((h|0)==4){c[3687]=c[(c[f>>2]|0)+4>>2];c[d>>2]=c[f>>2];j=c[d>>2]|0;i=b;return j|0}c[3687]=0;if((c[3668]|0)==2)xc(9564);c[d>>2]=0;j=c[d>>2]|0;i=b;return j|0}function vc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;i=i+32|0;d=b+20|0;e=b+16|0;f=b+12|0;g=b+8|0;h=b+4|0;j=b;c[e>>2]=a;c[f>>2]=112;c[g>>2]=4352;while(1){if((c[f>>2]|0)>>>0>(c[g>>2]|0)>>>0)break;c[h>>2]=(c[f>>2]|0)+(((((c[g>>2]|0)-(c[f>>2]|0)|0)/20|0|0)/2|0)*20|0);a=Gd(c[e>>2]|0,c[c[h>>2]>>2]|0)|0;c[j>>2]=a;if((a|0)<0){c[g>>2]=(c[h>>2]|0)+-20;continue}k=c[h>>2]|0;if((c[j>>2]|0)<=0){l=7;break}c[f>>2]=k+20}if((l|0)==7){c[d>>2]=k;m=c[d>>2]|0;i=b;return m|0}c[f>>2]=4372;c[g>>2]=5192;while(1){if((c[f>>2]|0)>>>0>(c[g>>2]|0)>>>0){l=15;break}c[h>>2]=(c[f>>2]|0)+(((((c[g>>2]|0)-(c[f>>2]|0)|0)/20|0|0)/2|0)*20|0);k=Gd(c[e>>2]|0,c[c[h>>2]>>2]|0)|0;c[j>>2]=k;if((k|0)<0){c[g>>2]=(c[h>>2]|0)+-20;continue}n=c[h>>2]|0;if((c[j>>2]|0)<=0){l=14;break}c[f>>2]=n+20}if((l|0)==14){c[d>>2]=n;m=c[d>>2]|0;i=b;return m|0}else if((l|0)==15){c[d>>2]=0;m=c[d>>2]|0;i=b;return m|0}return 0}function wc(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b;e=b+4|0;c[e>>2]=a;a=c[1304]|0;c[d>>2]=c[e>>2];Rd(a,9608,d)|0;za(-1)}function xc(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b;e=b+4|0;c[e>>2]=a;if(!(c[3902]|0))Nb();c[3902]=(c[3902]|0)+1;c[d>>2]=c[e>>2];Vd(9612,d)|0;Mb(1,69,c[3682]|0);c[3667]=(c[3667]|0)+1;i=b;return}function yc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;i=i+32|0;d=b+16|0;e=b;f=b+20|0;c[f>>2]=a;a=c[1304]|0;g=12364+((c[3089]|0)*72|0)+4|0;h=c[f>>2]|0;c[e>>2]=c[12364+((c[3089]|0)*72|0)+68>>2];c[e+4>>2]=g;c[e+8>>2]=h;Rd(a,9630,e)|0;e=c[1304]|0;c[d>>2]=16252;Rd(e,9608,d)|0;i=b;return}function zc(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;e=d;f=d+4|0;a[f>>0]=b;if(Ac(a[f>>0]|0,9667)|0)c[e>>2]=1;else c[e>>2]=0;i=d;return c[e>>2]|0}function Ac(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+16|0;f=e+4|0;g=e+8|0;h=e;a[g>>0]=b;c[h>>2]=d;while(1){if(!(a[c[h>>2]>>0]|0)){j=5;break}d=c[h>>2]|0;c[h>>2]=d+1;if((a[d>>0]|0)==(a[g>>0]|0)){j=4;break}}if((j|0)==4){c[f>>2]=1;k=c[f>>2]|0;i=e;return k|0}else if((j|0)==5){c[f>>2]=0;k=c[f>>2]|0;i=e;return k|0}return 0}function Bc(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;e=d;c[e>>2]=b;while(1){if((a[c[e>>2]>>0]|0)==32)f=1;else f=(a[c[e>>2]>>0]|0)==9;g=c[e>>2]|0;if(!f)break;c[e>>2]=g+1}i=d;return g|0}function Cc(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;Ec(Dc(c[d>>2]|0)|0);Ec(Fc(c[d>>2]|0)|0);i=b;return}function Dc(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;i=b;return c[d>>2]>>8&255|0}function Ec(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=b;e=b+8|0;c[e>>2]=a;if(c[3069]|0){a=c[e>>2]|0;c[d>>2]=c[3671];c[d+4>>2]=a;Vd(9671,d)|0}if((c[3668]|0)==1){c[3671]=(c[3671]|0)+1;i=b;return}if((c[3679]|0)<64){d=c[e>>2]|0;a=c[3679]|0;c[3679]=a+1;c[15072+(a<<2)>>2]=d}d=c[e>>2]|0;e=c[3678]|0;c[3678]=e+1;c[14764+(e<<2)>>2]=d;c[3671]=(c[3671]|0)+1;i=b;return}function Fc(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;i=b;return c[d>>2]&255|0}function Gc(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0;a=i;i=i+32|0;b=a+16|0;d=a+8|0;e=a;f=a+24|0;g=a+20|0;if((c[3668]|0)==1){i=a;return}if(!(c[3678]|0)){c[3767]=c[3671];i=a;return}c[g>>2]=c[3678];h=Fc(c[3767]|0)|0;c[g>>2]=(c[g>>2]|0)+h;c[g>>2]=(c[g>>2]|0)+(c[3767]>>8);a:do if((c[3900]|0)==1&(c[3668]|0)==2){c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[3678]|0))break a;Va(c[14764+(c[f>>2]<<2)>>2]&255);c[f>>2]=(c[f>>2]|0)+1}}while(0);if(!((c[3045]|0)!=0&(c[3675]|0)!=0)){if((c[3044]|0)==0&(c[3675]|0)!=0){c[g>>2]=(c[g>>2]|0)+3;Rd(c[3675]|0,9696,d)|0;Hc((c[3678]|0)+3|0)}}else{Rd(c[3675]|0,9694,e)|0;Hc(c[3678]|0)}b:do if(!((c[3044]|0)!=0&(c[3675]|0)!=0)){if(c[3675]|0){Hc(c[3767]>>8);Hc(Fc(c[3767]|0)|0);if(c[3045]|0)Hc(0);c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[3678]|0))break;e=Fc(c[14764+(c[f>>2]<<2)>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+e;Hc(Fc(c[14764+(c[f>>2]<<2)>>2]|0)|0);c[f>>2]=(c[f>>2]|0)+1}c[g>>2]=~c[g>>2];if(c[3045]|0)c[g>>2]=(c[g>>2]|0)+1;Hc(Fc(c[g>>2]|0)|0);Rd(c[3675]|0,9699,b)|0}}else{c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[3678]|0))break b;Sd(c[14764+(c[f>>2]<<2)>>2]|0,c[3675]|0)|0;c[f>>2]=(c[f>>2]|0)+1}}while(0);c[3767]=c[3671];c[3678]=0;i=a;return}function Hc(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;e=d;f=d+8|0;c[f>>2]=b;if(!(c[3675]|0)){i=d;return}c[f>>2]=Fc(c[f>>2]|0)|0;b=c[3675]|0;g=a[(c[1303]|0)+(c[f>>2]&15)>>0]|0;c[e>>2]=a[(c[1303]|0)+(c[f>>2]>>4)>>0];c[e+4>>2]=g;Rd(b,9701,e)|0;i=d;return}function Ic(){var a=0,b=0,d=0,e=0;a=i;i=i+16|0;b=a+8|0;d=a;if(!(c[3675]|0)){i=a;return}do if(!(c[3044]|0)){e=c[3675]|0;if(c[3045]|0){Rd(e,9706,d)|0;break}else{Rd(e,9719,b)|0;break}}while(0);Ud(c[3675]|0)|0;i=a;return}function Jc(b){b=b|0;var c=0,d=0,e=0,f=0;c=i;i=i+16|0;d=c+1|0;e=c;a[e>>0]=b;if((a[e>>0]|0)>=65?(a[e>>0]|0)<=90:0){a[d>>0]=(a[e>>0]|0)+32;f=a[d>>0]|0;i=c;return f|0}a[d>>0]=a[e>>0]|0;f=a[d>>0]|0;i=c;return f|0}function Kc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+16|0;f=e+8|0;g=e+4|0;h=e;c[g>>2]=b;c[h>>2]=d;while(1){if(!(a[c[g>>2]>>0]|0))break;if(!(a[c[h>>2]>>0]|0))break;if((a[c[g>>2]>>0]|0)!=(a[c[h>>2]>>0]|0))break;c[g>>2]=(c[g>>2]|0)+1;c[h>>2]=(c[h>>2]|0)+1}if((a[c[g>>2]>>0]|0)==(a[c[h>>2]>>0]|0)){c[f>>2]=1;j=c[f>>2]|0;i=e;return j|0}if((a[c[h>>2]>>0]|0)==0?Ac(a[c[g>>2]>>0]|0,9731)|0:0){c[f>>2]=1;j=c[f>>2]|0;i=e;return j|0}c[f>>2]=0;j=c[f>>2]|0;i=e;return j|0}function Lc(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;e=d;f=d+4|0;a[f>>0]=b;if((a[f>>0]|0)<=122?(a[f>>0]|0)>=97:0)c[e>>2]=1;else g=4;do if((g|0)==4){if((a[f>>0]|0)<=90?(a[f>>0]|0)>=65:0){c[e>>2]=1;break}if((a[f>>0]|0)==95){c[e>>2]=1;break}if((a[f>>0]|0)==46){c[e>>2]=1;break}else{c[e>>2]=0;break}}while(0);i=d;return c[e>>2]|0}function Mc(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;e=d;f=d+4|0;a[f>>0]=b;do if(!(Lc(a[f>>0]|0)|0)){if((a[f>>0]|0)<=57?(a[f>>0]|0)>=48:0){c[e>>2]=1;break}if((a[f>>0]|0)==36){c[e>>2]=1;break}else{c[e>>2]=0;break}}else c[e>>2]=1;while(0);i=d;return c[e>>2]|0}function Nc(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;a=Yd(c[d>>2]|0)|0;i=b;return a|0}function Oc(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=c[a+60>>2];a=Rc(ta(6,d|0)|0)|0;i=b;return a|0}function Pc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=i;i=i+48|0;g=f+16|0;h=f;j=f+32|0;c[j>>2]=d;k=j+4|0;l=b+48|0;m=c[l>>2]|0;c[k>>2]=e-((m|0)!=0&1);n=b+44|0;c[j+8>>2]=c[n>>2];c[j+12>>2]=m;if(!(c[3910]|0)){c[g>>2]=c[b+60>>2];c[g+4>>2]=j;c[g+8>>2]=2;o=Rc(Aa(145,g|0)|0)|0}else{ga(1,b|0);c[h>>2]=c[b+60>>2];c[h+4>>2]=j;c[h+8>>2]=2;j=Rc(Aa(145,h|0)|0)|0;da(0);o=j}if((o|0)>=1){j=c[k>>2]|0;if(o>>>0>j>>>0){k=c[n>>2]|0;n=b+4|0;c[n>>2]=k;h=k;c[b+8>>2]=h+(o-j);if(!(c[l>>2]|0))p=e;else{c[n>>2]=h+1;a[d+(e+-1)>>0]=a[h>>0]|0;p=e}}else p=o}else{c[b>>2]=c[b>>2]|o&48^16;c[b+8>>2]=0;c[b+4>>2]=0;p=o}i=f;return p|0}function Qc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+32|0;f=e;g=e+20|0;c[f>>2]=c[a+60>>2];c[f+4>>2]=0;c[f+8>>2]=b;c[f+12>>2]=g;c[f+16>>2]=d;if((Rc(xa(140,f|0)|0)|0)<0){c[g>>2]=-1;h=-1}else h=c[g>>2]|0;i=e;return h|0}function Rc(a){a=a|0;var b=0;if(a>>>0>4294963200){c[(Sc()|0)>>2]=0-a;b=-1}else b=a;return b|0}function Sc(){var a=0;if(!(c[3910]|0))a=15684;else a=c[(ke()|0)+64>>2]|0;return a|0}function Tc(a){a=a|0;if(!(c[a+68>>2]|0))Uc(a);return}function Uc(a){a=a|0;return}function Vc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=i;i=i+48|0;f=e+16|0;g=e;h=e+32|0;j=a+28|0;k=c[j>>2]|0;c[h>>2]=k;l=a+20|0;m=(c[l>>2]|0)-k|0;c[h+4>>2]=m;c[h+8>>2]=b;c[h+12>>2]=d;b=a+60|0;k=a+44|0;n=2;o=m+d|0;m=h;while(1){if(!(c[3910]|0)){c[f>>2]=c[b>>2];c[f+4>>2]=m;c[f+8>>2]=n;p=Rc(Ba(146,f|0)|0)|0}else{ga(2,a|0);c[g>>2]=c[b>>2];c[g+4>>2]=m;c[g+8>>2]=n;h=Rc(Ba(146,g|0)|0)|0;da(0);p=h}if((o|0)==(p|0)){q=6;break}if((p|0)<0){q=8;break}h=o-p|0;r=c[m+4>>2]|0;if(p>>>0<=r>>>0)if((n|0)==2){c[j>>2]=(c[j>>2]|0)+p;s=p;t=2;u=m;v=r}else{s=p;t=n;u=m;v=r}else{w=c[k>>2]|0;c[j>>2]=w;c[l>>2]=w;s=p-r|0;t=n+-1|0;u=m+8|0;v=c[m+12>>2]|0}c[u>>2]=(c[u>>2]|0)+s;c[u+4>>2]=v-s;n=t;o=h;m=u}if((q|0)==6){u=c[k>>2]|0;c[a+16>>2]=u+(c[a+48>>2]|0);k=u;c[j>>2]=k;c[l>>2]=k;x=d}else if((q|0)==8){c[a+16>>2]=0;c[j>>2]=0;c[l>>2]=0;c[a>>2]=c[a>>2]|32;if((n|0)==2)x=0;else x=d-(c[m+4>>2]|0)|0}i=e;return x|0}function Wc(a){a=a|0;if(!(c[a+68>>2]|0))Uc(a);return}function Xc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+80|0;g=f;c[b+36>>2]=1;if((c[b>>2]&64|0)==0?(c[g>>2]=c[b+60>>2],c[g+4>>2]=21505,c[g+8>>2]=f+12,oa(54,g|0)|0):0)a[b+75>>0]=-1;g=Vc(b,d,e)|0;i=f;return g|0}function Yc(a){a=a|0;var b=0;b=(Zc(a)|0)==0;return (b?a:a|32)|0}function Zc(a){a=a|0;return (a+-65|0)>>>0<26|0}function _c(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function $c(a){a=a|0;var b=0,e=0,f=0;b=i;i=i+16|0;e=b;if((c[a+8>>2]|0)==0?(ad(a)|0)!=0:0)f=-1;else if((Fa[c[a+32>>2]&7](a,e,1)|0)==1)f=d[e>>0]|0;else f=-1;i=b;return f|0}function ad(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=b+20|0;d=b+44|0;if((c[e>>2]|0)>>>0>(c[d>>2]|0)>>>0)Fa[c[b+36>>2]&7](b,0,0)|0;c[b+16>>2]=0;c[b+28>>2]=0;c[e>>2]=0;e=c[b>>2]|0;if(e&20)if(!(e&4))f=-1;else{c[b>>2]=e|32;f=-1}else{e=c[d>>2]|0;c[b+8>>2]=e;c[b+4>>2]=e;f=0}return f|0}function bd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=e;c[f>>2]=d;d=cd(a,b,f)|0;i=e;return d|0}function cd(a,b,c){a=a|0;b=b|0;c=c|0;return dd(a,2147483647,b,c)|0}function dd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=i;i=i+128|0;h=g+112|0;j=g;k=j;l=5452;m=k+112|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(m|0));if((d+-1|0)>>>0>2147483646)if(!d){n=h;o=1;p=4}else{c[(Sc()|0)>>2]=75;q=-1}else{n=b;o=d;p=4}if((p|0)==4){p=-2-n|0;d=o>>>0>p>>>0?p:o;c[j+48>>2]=d;o=j+20|0;c[o>>2]=n;c[j+44>>2]=n;p=n+d|0;n=j+16|0;c[n>>2]=p;c[j+28>>2]=p;p=ed(j,e,f)|0;if(!d)q=p;else{d=c[o>>2]|0;a[d+(((d|0)==(c[n>>2]|0))<<31>>31)>>0]=0;q=p}}i=g;return q|0}function ed(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=i;i=i+224|0;g=f+120|0;h=f+80|0;j=f;k=f+136|0;l=h;m=l+40|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));c[g>>2]=c[e>>2];if((fd(0,d,g,j,h)|0)<0)n=-1;else{if((c[b+76>>2]|0)>-1)o=gd(b)|0;else o=0;e=c[b>>2]|0;l=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;e=b+48|0;if(!(c[e>>2]|0)){m=b+44|0;p=c[m>>2]|0;c[m>>2]=k;q=b+28|0;c[q>>2]=k;r=b+20|0;c[r>>2]=k;c[e>>2]=80;s=b+16|0;c[s>>2]=k+80;k=fd(b,d,g,j,h)|0;if(!p)t=k;else{Fa[c[b+36>>2]&7](b,0,0)|0;u=(c[r>>2]|0)==0?-1:k;c[m>>2]=p;c[e>>2]=0;c[s>>2]=0;c[q>>2]=0;c[r>>2]=0;t=u}}else t=fd(b,d,g,j,h)|0;h=c[b>>2]|0;c[b>>2]=h|l;if(o|0)Uc(b);n=(h&32|0)==0?t:-1}i=f;return n|0}function fd(e,f,g,j,k){e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0.0,ab=0.0,bb=0,cb=0,db=0,eb=0,fb=0.0,gb=0,hb=0.0,ib=0,jb=0,kb=0,lb=0.0,mb=0,nb=0,ob=0,pb=0,qb=0.0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0.0,Pb=0.0,Qb=0.0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0;m=i;i=i+624|0;n=m+24|0;o=m+16|0;p=m+588|0;q=m+576|0;r=m;s=m+536|0;t=m+8|0;u=m+528|0;v=(e|0)!=0;w=s+40|0;x=w;y=s+39|0;s=t+4|0;z=p;A=0-z|0;B=q+12|0;C=q+11|0;q=B;E=q-z|0;F=-2-z|0;G=q+2|0;H=n+288|0;I=p+9|0;J=I;K=p+8|0;L=0;M=0;N=0;O=f;a:while(1){do if((M|0)>-1)if((L|0)>(2147483647-M|0)){c[(Sc()|0)>>2]=75;P=-1;break}else{P=L+M|0;break}else P=M;while(0);f=a[O>>0]|0;if(!(f<<24>>24)){Q=243;break}else{R=O;T=f}b:while(1){switch(T<<24>>24){case 37:{U=R;V=R;Q=9;break b;break}case 0:{W=R;X=R;break b;break}default:{}}f=R+1|0;R=f;T=a[f>>0]|0}c:do if((Q|0)==9)while(1){Q=0;if((a[V+1>>0]|0)!=37){W=U;X=V;break c}f=U+1|0;Y=V+2|0;if((a[Y>>0]|0)==37){U=f;V=Y;Q=9}else{W=f;X=Y;break}}while(0);Y=W-O|0;if(v?(c[e>>2]&32|0)==0:0)hd(O,Y,e)|0;if(Y|0){L=Y;M=P;O=X;continue}Y=X+1|0;f=a[Y>>0]|0;Z=(f<<24>>24)+-48|0;if(Z>>>0<10){_=(a[X+2>>0]|0)==36;$=_?X+3|0:Y;aa=_?Z:-1;ba=_?1:N;ca=a[$>>0]|0;da=$}else{aa=-1;ba=N;ca=f;da=Y}Y=(ca<<24>>24)+-32|0;d:do if(Y>>>0<32){f=0;$=Y;_=ca;Z=da;while(1){if(!(1<<$&75913)){ea=f;fa=_;ga=Z;break d}ha=1<<(_<<24>>24)+-32|f;ia=Z+1|0;ja=a[ia>>0]|0;$=(ja<<24>>24)+-32|0;if($>>>0>=32){ea=ha;fa=ja;ga=ia;break}else{f=ha;_=ja;Z=ia}}}else{ea=0;fa=ca;ga=da}while(0);do if(fa<<24>>24!=42){Y=(fa<<24>>24)+-48|0;if(Y>>>0<10){Z=0;_=ga;f=Y;do{Z=(Z*10|0)+f|0;_=_+1|0;ka=a[_>>0]|0;f=(ka<<24>>24)+-48|0}while(f>>>0<10);if((Z|0)<0){la=-1;break a}else{ma=Z;na=ea;oa=ba;pa=_;qa=ka}}else{ma=0;na=ea;oa=ba;pa=ga;qa=fa}}else{f=ga+1|0;Y=a[f>>0]|0;$=(Y<<24>>24)+-48|0;if($>>>0<10?(a[ga+2>>0]|0)==36:0){c[k+($<<2)>>2]=10;ra=c[j+((a[f>>0]|0)+-48<<3)>>2]|0;sa=1;ta=ga+3|0}else{if(ba|0){la=-1;break a}if(!v){ma=0;na=ea;oa=0;pa=f;qa=Y;break}Y=(c[g>>2]|0)+(4-1)&~(4-1);$=c[Y>>2]|0;c[g>>2]=Y+4;ra=$;sa=0;ta=f}f=(ra|0)<0;ma=f?0-ra|0:ra;na=f?ea|8192:ea;oa=sa;pa=ta;qa=a[ta>>0]|0}while(0);e:do if(qa<<24>>24==46){f=pa+1|0;$=a[f>>0]|0;if($<<24>>24!=42){Y=($<<24>>24)+-48|0;if(Y>>>0<10){ua=0;va=f;wa=Y}else{xa=0;ya=f;break}while(1){f=(ua*10|0)+wa|0;Y=va+1|0;wa=(a[Y>>0]|0)+-48|0;if(wa>>>0>=10){xa=f;ya=Y;break e}else{ua=f;va=Y}}}_=pa+2|0;Z=(a[_>>0]|0)+-48|0;if(Z>>>0<10?(a[pa+3>>0]|0)==36:0){c[k+(Z<<2)>>2]=10;xa=c[j+((a[_>>0]|0)+-48<<3)>>2]|0;ya=pa+4|0;break}if(oa|0){la=-1;break a}if(v){Z=(c[g>>2]|0)+(4-1)&~(4-1);Y=c[Z>>2]|0;c[g>>2]=Z+4;xa=Y;ya=_}else{xa=0;ya=_}}else{xa=-1;ya=pa}while(0);_=0;Y=ya;while(1){Z=(a[Y>>0]|0)+-65|0;if(Z>>>0>57){la=-1;break a}za=Y+1|0;Aa=a[9741+(_*58|0)+Z>>0]|0;Ba=Aa&255;if((Ba+-1|0)>>>0<8){_=Ba;Y=za}else break}if(!(Aa<<24>>24)){la=-1;break}Z=(aa|0)>-1;do if(Aa<<24>>24==19)if(Z){la=-1;break a}else Q=51;else{if(Z){c[k+(aa<<2)>>2]=Ba;f=j+(aa<<3)|0;$=c[f+4>>2]|0;ia=r;c[ia>>2]=c[f>>2];c[ia+4>>2]=$;Q=51;break}if(!v){la=0;break a}id(r,Ba,g)}while(0);if((Q|0)==51?(Q=0,!v):0){L=0;M=P;N=oa;O=za;continue}Z=a[Y>>0]|0;$=(_|0)!=0&(Z&15|0)==3?Z&-33:Z;Z=na&-65537;ia=(na&8192|0)==0?na:Z;f:do switch($|0){case 110:{switch((_&255)<<24>>24){case 0:{c[c[r>>2]>>2]=P;L=0;M=P;N=oa;O=za;continue a;break}case 1:{c[c[r>>2]>>2]=P;L=0;M=P;N=oa;O=za;continue a;break}case 2:{f=c[r>>2]|0;c[f>>2]=P;c[f+4>>2]=((P|0)<0)<<31>>31;L=0;M=P;N=oa;O=za;continue a;break}case 3:{b[c[r>>2]>>1]=P;L=0;M=P;N=oa;O=za;continue a;break}case 4:{a[c[r>>2]>>0]=P;L=0;M=P;N=oa;O=za;continue a;break}case 6:{c[c[r>>2]>>2]=P;L=0;M=P;N=oa;O=za;continue a;break}case 7:{f=c[r>>2]|0;c[f>>2]=P;c[f+4>>2]=((P|0)<0)<<31>>31;L=0;M=P;N=oa;O=za;continue a;break}default:{L=0;M=P;N=oa;O=za;continue a}}break}case 112:{Ca=120;Da=xa>>>0>8?xa:8;Ea=ia|8;Q=63;break}case 88:case 120:{Ca=$;Da=xa;Ea=ia;Q=63;break}case 111:{f=r;ja=c[f>>2]|0;ha=c[f+4>>2]|0;if((ja|0)==0&(ha|0)==0)Fa=w;else{f=w;Ga=ja;ja=ha;while(1){ha=f+-1|0;a[ha>>0]=Ga&7|48;Ga=ce(Ga|0,ja|0,3)|0;ja=D;if((Ga|0)==0&(ja|0)==0){Fa=ha;break}else f=ha}}if(!(ia&8)){Ha=Fa;Ia=0;Ja=10221;Ka=xa;La=ia;Q=76}else{f=x-Fa|0;Ha=Fa;Ia=0;Ja=10221;Ka=(xa|0)>(f|0)?xa:f+1|0;La=ia;Q=76}break}case 105:case 100:{f=r;ja=c[f>>2]|0;Ga=c[f+4>>2]|0;if((Ga|0)<0){f=$d(0,0,ja|0,Ga|0)|0;ha=D;Ma=r;c[Ma>>2]=f;c[Ma+4>>2]=ha;Na=1;Oa=10221;Pa=f;Qa=ha;Q=75;break f}if(!(ia&2048)){ha=ia&1;Na=ha;Oa=(ha|0)==0?10221:10223;Pa=ja;Qa=Ga;Q=75}else{Na=1;Oa=10222;Pa=ja;Qa=Ga;Q=75}break}case 117:{Ga=r;Na=0;Oa=10221;Pa=c[Ga>>2]|0;Qa=c[Ga+4>>2]|0;Q=75;break}case 99:{a[y>>0]=c[r>>2];Ra=y;Sa=0;Ta=10221;Ua=w;Va=1;Wa=Z;break}case 109:{Xa=kd(c[(Sc()|0)>>2]|0)|0;Q=81;break}case 115:{Ga=c[r>>2]|0;Xa=Ga|0?Ga:10231;Q=81;break}case 67:{c[t>>2]=c[r>>2];c[s>>2]=0;c[r>>2]=t;Ya=-1;Za=t;Q=85;break}case 83:{Ga=c[r>>2]|0;if(!xa){md(e,32,ma,0,ia);_a=0;Q=96}else{Ya=xa;Za=Ga;Q=85}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{$a=+h[r>>3];c[o>>2]=0;h[l>>3]=$a;if((c[l+4>>2]|0)>=0){Ga=ia&1;if(!(ia&2048)){ab=$a;bb=Ga;cb=(Ga|0)==0?10239:10244}else{ab=$a;bb=1;cb=10241}}else{ab=-$a;bb=1;cb=10238}h[l>>3]=ab;Ga=c[l+4>>2]&2146435072;do if(Ga>>>0<2146435072|(Ga|0)==2146435072&0<0){$a=+od(ab,o)*2.0;ja=$a!=0.0;if(ja)c[o>>2]=(c[o>>2]|0)+-1;ha=$|32;if((ha|0)==97){f=$&32;Ma=(f|0)==0?cb:cb+9|0;db=bb|2;eb=12-xa|0;do if(!(xa>>>0>11|(eb|0)==0)){fb=8.0;gb=eb;do{gb=gb+-1|0;fb=fb*16.0}while((gb|0)!=0);if((a[Ma>>0]|0)==45){hb=-(fb+(-$a-fb));break}else{hb=$a+fb-fb;break}}else hb=$a;while(0);eb=c[o>>2]|0;gb=(eb|0)<0?0-eb|0:eb;ib=jd(gb,((gb|0)<0)<<31>>31,B)|0;if((ib|0)==(B|0)){a[C>>0]=48;jb=C}else jb=ib;a[jb+-1>>0]=(eb>>31&2)+43;eb=jb+-2|0;a[eb>>0]=$+15;ib=(xa|0)<1;gb=(ia&8|0)==0;kb=p;lb=hb;while(1){mb=~~lb;nb=kb+1|0;a[kb>>0]=d[10205+mb>>0]|f;lb=(lb-+(mb|0))*16.0;do if((nb-z|0)==1){if(gb&(ib&lb==0.0)){ob=nb;break}a[nb>>0]=46;ob=kb+2|0}else ob=nb;while(0);if(!(lb!=0.0))break;else kb=ob}kb=ob;ib=eb;gb=(xa|0)!=0&(F+kb|0)<(xa|0)?G+xa-ib|0:E-ib+kb|0;f=gb+db|0;md(e,32,ma,f,ia);if(!(c[e>>2]&32))hd(Ma,db,e)|0;md(e,48,ma,f,ia^65536);nb=kb-z|0;if(!(c[e>>2]&32))hd(p,nb,e)|0;kb=q-ib|0;md(e,48,gb-(nb+kb)|0,0,0);if(!(c[e>>2]&32))hd(eb,kb,e)|0;md(e,32,ma,f,ia^8192);pb=(f|0)<(ma|0)?ma:f;break}f=(xa|0)<0?6:xa;if(ja){kb=(c[o>>2]|0)+-28|0;c[o>>2]=kb;qb=$a*268435456.0;rb=kb}else{qb=$a;rb=c[o>>2]|0}kb=(rb|0)<0?n:H;nb=kb;lb=qb;do{gb=~~lb>>>0;c[nb>>2]=gb;nb=nb+4|0;lb=(lb-+(gb>>>0))*1.0e9}while(lb!=0.0);if((rb|0)>0){ja=kb;eb=nb;db=rb;while(1){Ma=(db|0)>29?29:db;gb=eb+-4|0;do if(gb>>>0<ja>>>0)sb=ja;else{ib=gb;mb=0;do{tb=de(c[ib>>2]|0,0,Ma|0)|0;ub=ae(tb|0,D|0,mb|0,0)|0;tb=D;vb=ie(ub|0,tb|0,1e9,0)|0;c[ib>>2]=vb;mb=ge(ub|0,tb|0,1e9,0)|0;ib=ib+-4|0}while(ib>>>0>=ja>>>0);if(!mb){sb=ja;break}ib=ja+-4|0;c[ib>>2]=mb;sb=ib}while(0);gb=eb;while(1){if(gb>>>0<=sb>>>0)break;ib=gb+-4|0;if(!(c[ib>>2]|0))gb=ib;else break}ib=(c[o>>2]|0)-Ma|0;c[o>>2]=ib;if((ib|0)>0){ja=sb;eb=gb;db=ib}else{wb=sb;xb=gb;yb=ib;break}}}else{wb=kb;xb=nb;yb=rb}if((yb|0)<0){db=((f+25|0)/9|0)+1|0;eb=(ha|0)==102;ja=wb;ib=xb;tb=yb;while(1){ub=0-tb|0;vb=(ub|0)>9?9:ub;do if(ja>>>0<ib>>>0){ub=(1<<vb)+-1|0;zb=1e9>>>vb;Ab=0;Bb=ja;do{Cb=c[Bb>>2]|0;c[Bb>>2]=(Cb>>>vb)+Ab;Ab=S(Cb&ub,zb)|0;Bb=Bb+4|0}while(Bb>>>0<ib>>>0);Bb=(c[ja>>2]|0)==0?ja+4|0:ja;if(!Ab){Db=Bb;Eb=ib;break}c[ib>>2]=Ab;Db=Bb;Eb=ib+4|0}else{Db=(c[ja>>2]|0)==0?ja+4|0:ja;Eb=ib}while(0);gb=eb?kb:Db;Ma=(Eb-gb>>2|0)>(db|0)?gb+(db<<2)|0:Eb;tb=(c[o>>2]|0)+vb|0;c[o>>2]=tb;if((tb|0)>=0){Fb=Db;Gb=Ma;break}else{ja=Db;ib=Ma}}}else{Fb=wb;Gb=xb}ib=kb;do if(Fb>>>0<Gb>>>0){ja=(ib-Fb>>2)*9|0;tb=c[Fb>>2]|0;if(tb>>>0<10){Hb=ja;break}else{Ib=ja;Jb=10}while(1){Jb=Jb*10|0;ja=Ib+1|0;if(tb>>>0<Jb>>>0){Hb=ja;break}else Ib=ja}}else Hb=0;while(0);tb=(ha|0)==103;vb=(f|0)!=0;ja=f-((ha|0)!=102?Hb:0)+((vb&tb)<<31>>31)|0;if((ja|0)<(((Gb-ib>>2)*9|0)+-9|0)){db=ja+9216|0;ja=kb+4+(((db|0)/9|0)+-1024<<2)|0;eb=((db|0)%9|0)+1|0;if((eb|0)<9){db=eb;eb=10;while(1){nb=eb*10|0;db=db+1|0;if((db|0)==9){Kb=nb;break}else eb=nb}}else Kb=10;eb=c[ja>>2]|0;db=(eb>>>0)%(Kb>>>0)|0;ha=(ja+4|0)==(Gb|0);do if(ha&(db|0)==0){Lb=ja;Mb=Hb;Nb=Fb}else{lb=(((eb>>>0)/(Kb>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;nb=(Kb|0)/2|0;if(db>>>0<nb>>>0)Ob=.5;else Ob=ha&(db|0)==(nb|0)?1.0:1.5;do if(!bb){Pb=Ob;Qb=lb}else{if((a[cb>>0]|0)!=45){Pb=Ob;Qb=lb;break}Pb=-Ob;Qb=-lb}while(0);nb=eb-db|0;c[ja>>2]=nb;if(!(Qb+Pb!=Qb)){Lb=ja;Mb=Hb;Nb=Fb;break}Ma=nb+Kb|0;c[ja>>2]=Ma;if(Ma>>>0>999999999){Ma=ja;nb=Fb;while(1){gb=Ma+-4|0;c[Ma>>2]=0;if(gb>>>0<nb>>>0){Bb=nb+-4|0;c[Bb>>2]=0;Rb=Bb}else Rb=nb;Bb=(c[gb>>2]|0)+1|0;c[gb>>2]=Bb;if(Bb>>>0>999999999){Ma=gb;nb=Rb}else{Sb=gb;Tb=Rb;break}}}else{Sb=ja;Tb=Fb}nb=(ib-Tb>>2)*9|0;Ma=c[Tb>>2]|0;if(Ma>>>0<10){Lb=Sb;Mb=nb;Nb=Tb;break}else{Ub=nb;Vb=10}while(1){Vb=Vb*10|0;nb=Ub+1|0;if(Ma>>>0<Vb>>>0){Lb=Sb;Mb=nb;Nb=Tb;break}else Ub=nb}}while(0);ja=Lb+4|0;Wb=Mb;Xb=Gb>>>0>ja>>>0?ja:Gb;Yb=Nb}else{Wb=Hb;Xb=Gb;Yb=Fb}ja=0-Wb|0;db=Xb;while(1){if(db>>>0<=Yb>>>0){Zb=0;break}eb=db+-4|0;if(!(c[eb>>2]|0))db=eb;else{Zb=1;break}}do if(tb){eb=(vb&1^1)+f|0;if((eb|0)>(Wb|0)&(Wb|0)>-5){_b=$+-1|0;$b=eb+-1-Wb|0}else{_b=$+-2|0;$b=eb+-1|0}eb=ia&8;if(eb|0){ac=_b;bc=$b;cc=eb;break}do if(Zb){eb=c[db+-4>>2]|0;if(!eb){dc=9;break}if(!((eb>>>0)%10|0)){ec=0;fc=10}else{dc=0;break}while(1){fc=fc*10|0;ha=ec+1|0;if((eb>>>0)%(fc>>>0)|0|0){dc=ha;break}else ec=ha}}else dc=9;while(0);eb=((db-ib>>2)*9|0)+-9|0;if((_b|32|0)==102){Ab=eb-dc|0;ha=(Ab|0)<0?0:Ab;ac=_b;bc=($b|0)<(ha|0)?$b:ha;cc=0;break}else{ha=eb+Wb-dc|0;eb=(ha|0)<0?0:ha;ac=_b;bc=($b|0)<(eb|0)?$b:eb;cc=0;break}}else{ac=$;bc=f;cc=ia&8}while(0);f=bc|cc;ib=(f|0)!=0&1;vb=(ac|32|0)==102;if(vb){gc=0;hc=(Wb|0)>0?Wb:0}else{tb=(Wb|0)<0?ja:Wb;eb=jd(tb,((tb|0)<0)<<31>>31,B)|0;if((q-eb|0)<2){tb=eb;while(1){ha=tb+-1|0;a[ha>>0]=48;if((q-ha|0)<2)tb=ha;else{ic=ha;break}}}else ic=eb;a[ic+-1>>0]=(Wb>>31&2)+43;tb=ic+-2|0;a[tb>>0]=ac;gc=tb;hc=q-tb|0}tb=bb+1+bc+ib+hc|0;md(e,32,ma,tb,ia);if(!(c[e>>2]&32))hd(cb,bb,e)|0;md(e,48,ma,tb,ia^65536);do if(vb){ja=Yb>>>0>kb>>>0?kb:Yb;ha=ja;do{Ab=jd(c[ha>>2]|0,0,I)|0;do if((ha|0)==(ja|0)){if((Ab|0)!=(I|0)){jc=Ab;break}a[K>>0]=48;jc=K}else{if(Ab>>>0<=p>>>0){jc=Ab;break}be(p|0,48,Ab-z|0)|0;Ma=Ab;while(1){nb=Ma+-1|0;if(nb>>>0>p>>>0)Ma=nb;else{jc=nb;break}}}while(0);if(!(c[e>>2]&32))hd(jc,J-jc|0,e)|0;ha=ha+4|0}while(ha>>>0<=kb>>>0);do if(f|0){if(c[e>>2]&32|0)break;hd(10273,1,e)|0}while(0);if((bc|0)>0&ha>>>0<db>>>0){ja=bc;Ab=ha;while(1){Ma=jd(c[Ab>>2]|0,0,I)|0;if(Ma>>>0>p>>>0){be(p|0,48,Ma-z|0)|0;nb=Ma;while(1){gb=nb+-1|0;if(gb>>>0>p>>>0)nb=gb;else{kc=gb;break}}}else kc=Ma;if(!(c[e>>2]&32))hd(kc,(ja|0)>9?9:ja,e)|0;Ab=Ab+4|0;nb=ja+-9|0;if(!((ja|0)>9&Ab>>>0<db>>>0)){lc=nb;break}else ja=nb}}else lc=bc;md(e,48,lc+9|0,9,0)}else{ja=Zb?db:Yb+4|0;if((bc|0)>-1){Ab=(cc|0)==0;ha=bc;nb=Yb;while(1){gb=jd(c[nb>>2]|0,0,I)|0;if((gb|0)==(I|0)){a[K>>0]=48;mc=K}else mc=gb;do if((nb|0)==(Yb|0)){gb=mc+1|0;if(!(c[e>>2]&32))hd(mc,1,e)|0;if(Ab&(ha|0)<1){nc=gb;break}if(c[e>>2]&32|0){nc=gb;break}hd(10273,1,e)|0;nc=gb}else{if(mc>>>0<=p>>>0){nc=mc;break}be(p|0,48,mc+A|0)|0;gb=mc;while(1){Bb=gb+-1|0;if(Bb>>>0>p>>>0)gb=Bb;else{nc=Bb;break}}}while(0);Ma=J-nc|0;if(!(c[e>>2]&32))hd(nc,(ha|0)>(Ma|0)?Ma:ha,e)|0;gb=ha-Ma|0;nb=nb+4|0;if(!(nb>>>0<ja>>>0&(gb|0)>-1)){oc=gb;break}else ha=gb}}else oc=bc;md(e,48,oc+18|0,18,0);if(c[e>>2]&32|0)break;hd(gc,q-gc|0,e)|0}while(0);md(e,32,ma,tb,ia^8192);pb=(tb|0)<(ma|0)?ma:tb}else{db=($&32|0)!=0;f=ab!=ab|0.0!=0.0;kb=f?0:bb;vb=kb+3|0;md(e,32,ma,vb,Z);ib=c[e>>2]|0;if(!(ib&32)){hd(cb,kb,e)|0;pc=c[e>>2]|0}else pc=ib;if(!(pc&32))hd(f?(db?10265:10269):db?10257:10261,3,e)|0;md(e,32,ma,vb,ia^8192);pb=(vb|0)<(ma|0)?ma:vb}while(0);L=pb;M=P;N=oa;O=za;continue a;break}default:{Ra=O;Sa=0;Ta=10221;Ua=w;Va=xa;Wa=ia}}while(0);g:do if((Q|0)==63){Q=0;$=r;_=c[$>>2]|0;Y=c[$+4>>2]|0;$=Ca&32;if((_|0)==0&(Y|0)==0){qc=w;rc=0;sc=0}else{Ga=w;vb=_;_=Y;do{Ga=Ga+-1|0;a[Ga>>0]=d[10205+(vb&15)>>0]|$;vb=ce(vb|0,_|0,4)|0;_=D}while(!((vb|0)==0&(_|0)==0));_=r;qc=Ga;rc=c[_>>2]|0;sc=c[_+4>>2]|0}_=(Ea&8|0)==0|(rc|0)==0&(sc|0)==0;Ha=qc;Ia=_?0:2;Ja=_?10221:10221+(Ca>>4)|0;Ka=Da;La=Ea;Q=76}else if((Q|0)==75){Q=0;Ha=jd(Pa,Qa,w)|0;Ia=Na;Ja=Oa;Ka=xa;La=ia;Q=76}else if((Q|0)==81){Q=0;_=ld(Xa,0,xa)|0;vb=(_|0)==0;Ra=Xa;Sa=0;Ta=10221;Ua=vb?Xa+xa|0:_;Va=vb?xa:_-Xa|0;Wa=Z}else if((Q|0)==85){Q=0;_=Za;vb=0;$=0;while(1){Y=c[_>>2]|0;if(!Y){tc=vb;uc=$;break}db=nd(u,Y)|0;if((db|0)<0|db>>>0>(Ya-vb|0)>>>0){tc=vb;uc=db;break}Y=db+vb|0;if(Ya>>>0>Y>>>0){_=_+4|0;vb=Y;$=db}else{tc=Y;uc=db;break}}if((uc|0)<0){la=-1;break a}md(e,32,ma,tc,ia);if(!tc){_a=0;Q=96}else{$=Za;vb=0;while(1){_=c[$>>2]|0;if(!_){_a=tc;Q=96;break g}Ga=nd(u,_)|0;vb=Ga+vb|0;if((vb|0)>(tc|0)){_a=tc;Q=96;break g}if(!(c[e>>2]&32))hd(u,Ga,e)|0;if(vb>>>0>=tc>>>0){_a=tc;Q=96;break}else $=$+4|0}}}while(0);if((Q|0)==96){Q=0;md(e,32,ma,_a,ia^8192);L=(ma|0)>(_a|0)?ma:_a;M=P;N=oa;O=za;continue}if((Q|0)==76){Q=0;Z=(Ka|0)>-1?La&-65537:La;$=r;vb=(c[$>>2]|0)!=0|(c[$+4>>2]|0)!=0;if((Ka|0)!=0|vb){$=(vb&1^1)+(x-Ha)|0;Ra=Ha;Sa=Ia;Ta=Ja;Ua=w;Va=(Ka|0)>($|0)?Ka:$;Wa=Z}else{Ra=w;Sa=Ia;Ta=Ja;Ua=w;Va=0;Wa=Z}}Z=Ua-Ra|0;$=(Va|0)<(Z|0)?Z:Va;vb=$+Sa|0;Ga=(ma|0)<(vb|0)?vb:ma;md(e,32,Ga,vb,Wa);if(!(c[e>>2]&32))hd(Ta,Sa,e)|0;md(e,48,Ga,vb,Wa^65536);md(e,48,$,Z,0);if(!(c[e>>2]&32))hd(Ra,Z,e)|0;md(e,32,Ga,vb,Wa^8192);L=Ga;M=P;N=oa;O=za}h:do if((Q|0)==243)if(!e)if(!N)la=0;else{za=1;while(1){O=c[k+(za<<2)>>2]|0;if(!O){vc=za;break}id(j+(za<<3)|0,O,g);za=za+1|0;if((za|0)>=10){la=1;break h}}while(1){if(c[k+(vc<<2)>>2]|0){la=-1;break h}vc=vc+1|0;if((vc|0)>=10){la=1;break}}}else la=P;while(0);i=m;return la|0}function gd(a){a=a|0;return 0}function hd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(rd(e)|0)){h=c[f>>2]|0;i=5}else j=0;else{h=g;i=5}a:do if((i|0)==5){g=e+20|0;f=c[g>>2]|0;k=f;if((h-f|0)>>>0<d>>>0){j=Fa[c[e+36>>2]&7](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){f=d;while(1){if(!f){l=d;m=b;n=0;o=k;break b}p=f+-1|0;if((a[b+p>>0]|0)==10)break;else f=p}if((Fa[c[e+36>>2]&7](e,b,f)|0)>>>0<f>>>0){j=f;break a}l=d-f|0;m=b+f|0;n=f;o=c[g>>2]|0}else{l=d;m=b;n=0;o=k}while(0);je(o|0,m|0,l|0)|0;c[g>>2]=(c[g>>2]|0)+l;j=n+l|0}while(0);return j|0}function id(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f;break a;break}case 10:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a;break}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=f;c[e+4>>2]=0;break a;break}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);f=e;g=c[f>>2]|0;i=c[f+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=g;c[e+4>>2]=i;break a;break}case 13:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&65535)<<16>>16;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 14:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&65535;c[i+4>>2]=0;break a;break}case 15:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&255)<<24>>24;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 16:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&255;c[i+4>>2]=0;break a;break}case 17:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}case 18:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}default:break a}while(0);while(0);return}function jd(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){e=d;f=b;g=c;while(1){c=ie(f|0,g|0,10,0)|0;e=e+-1|0;a[e>>0]=c|48;c=f;f=ge(f|0,g|0,10,0)|0;if(!(g>>>0>9|(g|0)==9&c>>>0>4294967295))break;else g=D}h=f;i=e}else{h=b;i=d}if(!h)j=i;else{d=h;h=i;while(1){i=h+-1|0;a[i>>0]=(d>>>0)%10|0|48;if(d>>>0<10){j=i;break}else{d=(d>>>0)/10|0;h=i}}}return j|0}function kd(b){b=b|0;var c=0,e=0,f=0,g=0,h=0,i=0;c=0;while(1){if((d[10275+c>>0]|0)==(b|0)){e=2;break}f=c+1|0;if((f|0)==87){g=10363;h=87;e=5;break}else c=f}if((e|0)==2)if(!c)i=10363;else{g=10363;h=c;e=5}if((e|0)==5)while(1){e=0;c=g;do{b=c;c=c+1|0}while((a[b>>0]|0)!=0);h=h+-1|0;if(!h){i=c;break}else{g=c;e=5}}return i|0}function ld(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=d&255;g=(e|0)!=0;a:do if(g&(b&3|0)!=0){h=d&255;i=b;j=e;while(1){if((a[i>>0]|0)==h<<24>>24){k=i;l=j;m=6;break a}n=i+1|0;o=j+-1|0;p=(o|0)!=0;if(p&(n&3|0)!=0){i=n;j=o}else{q=n;r=o;s=p;m=5;break}}}else{q=b;r=e;s=g;m=5}while(0);if((m|0)==5)if(s){k=q;l=r;m=6}else{t=q;u=0}b:do if((m|0)==6){q=d&255;if((a[k>>0]|0)==q<<24>>24){t=k;u=l}else{r=S(f,16843009)|0;c:do if(l>>>0>3){s=k;g=l;while(1){e=c[s>>2]^r;if((e&-2139062144^-2139062144)&e+-16843009|0)break;e=s+4|0;b=g+-4|0;if(b>>>0>3){s=e;g=b}else{v=e;w=b;m=11;break c}}x=s;y=g}else{v=k;w=l;m=11}while(0);if((m|0)==11)if(!w){t=v;u=0;break}else{x=v;y=w}while(1){if((a[x>>0]|0)==q<<24>>24){t=x;u=y;break b}r=x+1|0;y=y+-1|0;if(!y){t=r;u=0;break}else x=r}}}while(0);return (u|0?t:0)|0}function md(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=i;i=i+256|0;h=g;do if((d|0)>(e|0)&(f&73728|0)==0){j=d-e|0;be(h|0,b|0,(j>>>0>256?256:j)|0)|0;k=c[a>>2]|0;l=(k&32|0)==0;if(j>>>0>255){m=d-e|0;n=j;o=k;k=l;while(1){if(k){hd(h,256,a)|0;p=c[a>>2]|0}else p=o;n=n+-256|0;k=(p&32|0)==0;if(n>>>0<=255)break;else o=p}if(k)q=m&255;else break}else if(l)q=j;else break;hd(h,q,a)|0}while(0);i=g;return}function nd(a,b){a=a|0;b=b|0;var c=0;if(!a)c=0;else c=qd(a,b,0)|0;return c|0}function od(a,b){a=+a;b=b|0;return +(+pd(a,b))}function pd(a,b){a=+a;b=b|0;var d=0,e=0,f=0,g=0.0,i=0.0,j=0,k=0.0;h[l>>3]=a;d=c[l>>2]|0;e=c[l+4>>2]|0;f=ce(d|0,e|0,52)|0;switch(f&2047){case 0:{if(a!=0.0){g=+pd(a*18446744073709551616.0,b);i=g;j=(c[b>>2]|0)+-64|0}else{i=a;j=0}c[b>>2]=j;k=i;break}case 2047:{k=a;break}default:{c[b>>2]=(f&2047)+-1022;c[l>>2]=d;c[l+4>>2]=e&-2146435073|1071644672;k=+h[l>>3]}}return +k}function qd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;do if(b){if(d>>>0<128){a[b>>0]=d;f=1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;f=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;f=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;f=4;break}else{c[(Sc()|0)>>2]=84;f=-1;break}}else f=1;while(0);return f|0}function rd(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=c[b>>2]|0;if(!(e&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);f=0}else{c[b>>2]=e|32;f=-1}return f|0}function sd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+20|0;f=c[e>>2]|0;g=(c[a+16>>2]|0)-f|0;a=g>>>0>d>>>0?d:g;je(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function td(a,b,c){a=a|0;b=b|0;c=c|0;ud(a,b,c)|0;return a|0}function ud(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;f=d;do if(!((f^b)&3)){g=(e|0)!=0;a:do if(g&(f&3|0)!=0){h=e;i=d;j=b;while(1){k=a[i>>0]|0;a[j>>0]=k;if(!(k<<24>>24)){l=h;m=i;n=j;break a}k=h+-1|0;o=i+1|0;p=j+1|0;q=(k|0)!=0;if(q&(o&3|0)!=0){h=k;i=o;j=p}else{r=k;s=o;t=p;u=q;v=5;break}}}else{r=e;s=d;t=b;u=g;v=5}while(0);if((v|0)==5)if(u){l=r;m=s;n=t}else{w=t;x=0;break}if(!(a[m>>0]|0)){w=n;x=l}else{b:do if(l>>>0>3){g=n;j=m;i=l;while(1){h=c[j>>2]|0;if((h&-2139062144^-2139062144)&h+-16843009|0){y=j;z=g;A=i;break b}c[g>>2]=h;h=i+-4|0;q=j+4|0;p=g+4|0;if(h>>>0>3){g=p;j=q;i=h}else{y=q;z=p;A=h;break}}}else{y=m;z=n;A=l}while(0);B=y;C=z;D=A;v=11}}else{B=d;C=b;D=e;v=11}while(0);c:do if((v|0)==11)if(!D){w=C;x=0}else{e=B;b=C;d=D;while(1){A=a[e>>0]|0;a[b>>0]=A;if(!(A<<24>>24)){w=b;x=d;break c}d=d+-1|0;A=b+1|0;if(!d){w=A;x=0;break}else{e=e+1|0;b=A}}}while(0);be(w|0,0,x|0)|0;return w|0}function vd(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=b;a:do if(!(d&3)){e=b;f=4}else{g=b;h=d;while(1){if(!(a[g>>0]|0)){i=h;break a}j=g+1|0;h=j;if(!(h&3)){e=j;f=4;break}else g=j}}while(0);if((f|0)==4){f=e;while(1){k=c[f>>2]|0;if(!((k&-2139062144^-2139062144)&k+-16843009))f=f+4|0;else break}if(!((k&255)<<24>>24))l=f;else{k=f;while(1){f=k+1|0;if(!(a[f>>0]|0)){l=f;break}else k=f}}i=l}return i-d|0}function wd(a,b){a=a|0;b=b|0;xd(a,b)|0;return a|0}function xd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=d;a:do if(!((e^b)&3)){if(!(e&3)){f=d;g=b}else{h=d;i=b;while(1){j=a[h>>0]|0;a[i>>0]=j;if(!(j<<24>>24)){k=i;break a}j=h+1|0;l=i+1|0;if(!(j&3)){f=j;g=l;break}else{h=j;i=l}}}i=c[f>>2]|0;if(!((i&-2139062144^-2139062144)&i+-16843009)){h=g;l=f;j=i;while(1){i=l+4|0;m=h+4|0;c[h>>2]=j;j=c[i>>2]|0;if((j&-2139062144^-2139062144)&j+-16843009|0){n=i;o=m;break}else{h=m;l=i}}}else{n=f;o=g}p=n;q=o;r=8}else{p=d;q=b;r=8}while(0);if((r|0)==8){r=a[p>>0]|0;a[q>>0]=r;if(!(r<<24>>24))k=q;else{r=q;q=p;while(1){q=q+1|0;p=r+1|0;b=a[q>>0]|0;a[p>>0]=b;if(!(b<<24>>24)){k=p;break}else r=p}}}return k|0}function yd(b,c){b=b|0;c=c|0;var d=0;d=Bd(b,c)|0;return ((a[d>>0]|0)==(c&255)<<24>>24?d:0)|0}function zd(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;a=ta(6,d|0)|0;d=Rc((a|0)==-4?-115:a)|0;i=b;return d|0}function Ad(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+32|0;f=e;g=e+16|0;c[g>>2]=d;d=(c[g>>2]|0)+(4-1)&~(4-1);h=c[d>>2]|0;c[g>>2]=d+4;c[f>>2]=a;c[f+4>>2]=b|32768;c[f+8>>2]=h;h=Rc(ua(5,f|0)|0)|0;i=e;return h|0}function Bd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=d&255;a:do if(!e)f=b+(vd(b)|0)|0;else{if(!(b&3))g=b;else{h=d&255;i=b;while(1){j=a[i>>0]|0;if(j<<24>>24==0?1:j<<24>>24==h<<24>>24){f=i;break a}j=i+1|0;if(!(j&3)){g=j;break}else i=j}}i=S(e,16843009)|0;h=c[g>>2]|0;b:do if(!((h&-2139062144^-2139062144)&h+-16843009)){j=g;k=h;while(1){l=k^i;if((l&-2139062144^-2139062144)&l+-16843009|0){m=j;break b}l=j+4|0;k=c[l>>2]|0;if((k&-2139062144^-2139062144)&k+-16843009|0){m=l;break}else j=l}}else m=g;while(0);i=d&255;h=m;while(1){j=a[h>>0]|0;if(j<<24>>24==0?1:j<<24>>24==i<<24>>24){f=h;break}else h=h+1|0}}while(0);return f|0}function Cd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+32|0;f=e;g=e+20|0;c[f>>2]=a;c[f+4>>2]=0;c[f+8>>2]=b;c[f+12>>2]=g;c[f+16>>2]=d;d=(Rc(xa(140,f|0)|0)|0)!=0;i=e;return (d?-1:c[g>>2]|0)|0}function Dd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=e;c[f>>2]=a;c[f+4>>2]=b;c[f+8>>2]=d;d=Rc(va(4,f|0)|0)|0;i=e;return d|0}function Ed(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=a;a=Rc(qa(10,d|0)|0)|0;i=b;return a|0}function Fd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=e;c[f>>2]=a;c[f+4>>2]=b;c[f+8>>2]=d;d=Rc(ra(3,f|0)|0)|0;i=e;return d|0}function Gd(b,c){b=b|0;c=c|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=a[b>>0]|0;a:do if(!(e<<24>>24)){f=c;g=0}else{h=b;i=c;j=e&255;k=e;while(1){l=a[i>>0]|0;if(!(l<<24>>24)){f=i;g=k;break a}if(k<<24>>24!=l<<24>>24?(m=Yc(j)|0,(m|0)!=(Yc(l&255)|0)):0){f=i;g=k;break a}h=h+1|0;l=i+1|0;m=a[h>>0]|0;if(!(m<<24>>24)){f=l;g=0;break}else{i=l;j=m&255;k=m}}}while(0);e=Yc(g&255)|0;return e-(Yc(d[f>>0]|0)|0)|0}function Hd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;i=i+32|0;f=e;g=a[d>>0]|0;if(g<<24>>24!=0?(a[d+1>>0]|0)!=0:0){c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;h=d;d=g;do{j=f+(((d&255)>>>5&255)<<2)|0;c[j>>2]=c[j>>2]|1<<(d&31);h=h+1|0;d=a[h>>0]|0}while(d<<24>>24!=0);d=a[b>>0]|0;a:do if(!(d<<24>>24))k=b;else{h=b;j=d;while(1){if(c[f+(((j&255)>>>5&255)<<2)>>2]&1<<(j&31)|0){k=h;break a}l=h+1|0;j=a[l>>0]|0;if(!(j<<24>>24)){k=l;break}else h=l}}while(0);m=k-b|0}else m=(Bd(b,g<<24>>24)|0)-b|0;i=e;return m|0}function Id(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if(!b){e=c[3922]|0;if(!e)f=0;else{g=e;h=3}}else{g=b;h=3}do if((h|0)==3){b=g+(Jd(g,d)|0)|0;if(!(a[b>>0]|0)){c[3922]=0;f=0;break}e=b+(Hd(b,d)|0)|0;c[3922]=e;if(!(a[e>>0]|0)){c[3922]=0;f=b;break}else{c[3922]=e+1;a[e>>0]=0;f=b;break}}while(0);return f|0}function Jd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;i=i+32|0;f=e;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;g=a[d>>0]|0;do if(!(g<<24>>24))h=0;else{if(!(a[d+1>>0]|0)){j=b;while(1)if((a[j>>0]|0)==g<<24>>24)j=j+1|0;else break;h=j-b|0;break}else{k=d;l=g}do{m=f+(((l&255)>>>5&255)<<2)|0;c[m>>2]=c[m>>2]|1<<(l&31);k=k+1|0;l=a[k>>0]|0}while(l<<24>>24!=0);j=a[b>>0]|0;a:do if(!(j<<24>>24))n=b;else{m=b;o=j;while(1){if(!(c[f+(((o&255)>>>5&255)<<2)>>2]&1<<(o&31))){n=m;break a}p=m+1|0;o=a[p>>0]|0;if(!(o<<24>>24)){n=p;break}else m=p}}while(0);h=n-b|0}while(0);i=e;return h|0}function Kd(a,b){a=a|0;b=b|0;wd(a+(vd(a)|0)|0,b)|0;return a|0}function Ld(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;f=i;i=i+16|0;g=f;h=e&255;a[g>>0]=h;j=b+16|0;k=c[j>>2]|0;if(!k)if(!(rd(b)|0)){l=c[j>>2]|0;m=4}else n=-1;else{l=k;m=4}do if((m|0)==4){k=b+20|0;j=c[k>>2]|0;if(j>>>0<l>>>0?(o=e&255,(o|0)!=(a[b+75>>0]|0)):0){c[k>>2]=j+1;a[j>>0]=h;n=o;break}if((Fa[c[b+36>>2]&7](b,g,1)|0)==1)n=d[g>>0]|0;else n=-1}while(0);i=f;return n|0}function Md(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+32|0;f=e+16|0;g=e;if(ld(12167,a[d>>0]|0,4)|0){h=Nd(d)|0|32768;c[g>>2]=b;c[g+4>>2]=h;c[g+8>>2]=438;h=Rc(ua(5,g|0)|0)|0;if((h|0)>=0){g=Od(h,d)|0;if(!g){c[f>>2]=h;ta(6,f|0)|0;j=0}else j=g}else j=0}else{c[(Sc()|0)>>2]=22;j=0}i=e;return j|0}function Nd(b){b=b|0;var c=0,d=0,e=0,f=0;c=(yd(b,43)|0)==0;d=a[b>>0]|0;e=c?d<<24>>24!=114&1:2;c=(yd(b,120)|0)==0;f=c?e:e|128;e=(yd(b,101)|0)==0;b=e?f:f|524288;f=d<<24>>24==114?b:b|64;b=d<<24>>24==119?f|512:f;return (d<<24>>24==97?b|1024:b)|0}function Od(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;i=i+112|0;f=e+40|0;g=e+24|0;h=e+16|0;j=e;k=e+52|0;l=a[d>>0]|0;if(ld(12167,l<<24>>24,4)|0){m=Yd(1144)|0;if(!m)n=0;else{o=m;p=o+112|0;do{c[o>>2]=0;o=o+4|0}while((o|0)<(p|0));if(!(yd(d,43)|0))c[m>>2]=l<<24>>24==114?8:4;if(!(yd(d,101)|0))q=l;else{c[j>>2]=b;c[j+4>>2]=2;c[j+8>>2]=1;ea(221,j|0)|0;q=a[d>>0]|0}if(q<<24>>24==97){c[h>>2]=b;c[h+4>>2]=3;q=ea(221,h|0)|0;if(!(q&1024)){c[g>>2]=b;c[g+4>>2]=4;c[g+8>>2]=q|1024;ea(221,g|0)|0}g=c[m>>2]|128;c[m>>2]=g;r=g}else r=c[m>>2]|0;c[m+60>>2]=b;c[m+44>>2]=m+120;c[m+48>>2]=1024;g=m+75|0;a[g>>0]=-1;if((r&8|0)==0?(c[f>>2]=b,c[f+4>>2]=21505,c[f+8>>2]=k,(oa(54,f|0)|0)==0):0)a[g>>0]=10;c[m+32>>2]=5;c[m+36>>2]=1;c[m+40>>2]=2;c[m+12>>2]=26;if(!(c[3911]|0))c[m+76>>2]=-1;sa(15668);g=c[3916]|0;c[m+56>>2]=g;if(g|0)c[g+52>>2]=m;c[3916]=m;pa(15668);n=m}}else{c[(Sc()|0)>>2]=22;n=0}i=e;return n|0}function Pd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;do if(a){if((c[a+76>>2]|0)<=-1){b=Qd(a)|0;break}d=(gd(a)|0)==0;e=Qd(a)|0;if(d)b=e;else{Uc(a);b=e}}else{if(!(c[1362]|0))f=0;else f=Pd(c[1362]|0)|0;sa(15668);e=c[3916]|0;if(!e)g=f;else{d=e;e=f;while(1){if((c[d+76>>2]|0)>-1)h=gd(d)|0;else h=0;if((c[d+20>>2]|0)>>>0>(c[d+28>>2]|0)>>>0)i=Qd(d)|0|e;else i=e;if(h|0)Uc(d);d=c[d+56>>2]|0;if(!d){g=i;break}else e=i}}pa(15668);b=g}while(0);return b|0}function Qd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a+20|0;d=a+28|0;if((c[b>>2]|0)>>>0>(c[d>>2]|0)>>>0?(Fa[c[a+36>>2]&7](a,0,0)|0,(c[b>>2]|0)==0):0)e=-1;else{f=a+4|0;g=c[f>>2]|0;h=a+8|0;i=c[h>>2]|0;if(g>>>0<i>>>0)Fa[c[a+40>>2]&7](a,g-i|0,1)|0;c[a+16>>2]=0;c[d>>2]=0;c[b>>2]=0;c[h>>2]=0;c[f>>2]=0;e=0}return e|0}function Rd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=e;c[f>>2]=d;d=ed(a,b,f)|0;i=e;return d|0}function Sd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if((c[d+76>>2]|0)>=0?(gd(d)|0)!=0:0){if((a[d+75>>0]|0)!=(b|0)?(e=d+20|0,f=c[e>>2]|0,f>>>0<(c[d+16>>2]|0)>>>0):0){c[e>>2]=f+1;a[f>>0]=b;g=b&255}else g=Ld(d,b)|0;Uc(d);h=g}else i=3;do if((i|0)==3){if((a[d+75>>0]|0)!=(b|0)?(g=d+20|0,f=c[g>>2]|0,f>>>0<(c[d+16>>2]|0)>>>0):0){c[g>>2]=f+1;a[f>>0]=b;h=b&255;break}h=Ld(d,b)|0}while(0);return h|0}function Td(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((c[f+76>>2]|0)>-1)g=gd(f)|0;else g=0;h=e+-1|0;if((e|0)<2){e=f+74|0;i=a[e>>0]|0;a[e>>0]=i+255|i;if(g|0)Uc(f);if(!h){a[b>>0]=0;j=b}else j=0}else{a:do if(h){i=f+4|0;e=f+8|0;k=h;l=b;while(1){m=c[i>>2]|0;n=m;o=(c[e>>2]|0)-n|0;p=ld(m,10,o)|0;q=(p|0)==0;r=q?o:1-n+p|0;p=r>>>0<k>>>0?r:k;je(l|0,m|0,p|0)|0;m=(c[i>>2]|0)+p|0;c[i>>2]=m;s=l+p|0;r=k-p|0;if(!(q&(r|0)!=0)){t=s;u=17;break a}if(m>>>0>=(c[e>>2]|0)>>>0){q=$c(f)|0;if((q|0)<0)break;else v=q}else{c[i>>2]=m+1;v=d[m>>0]|0}k=r+-1|0;r=s+1|0;a[s>>0]=v;if(!((k|0)!=0&(v&255|0)!=10)){t=r;u=17;break a}else l=r}if((s|0)!=(b|0)?(c[f>>2]&16|0)!=0:0){t=s;u=17}else w=0}else{t=b;u=17}while(0);if((u|0)==17)if(!b)w=0;else{a[t>>0]=0;w=b}if(!g)j=w;else{Uc(f);j=w}}return j|0}function Ud(a){a=a|0;var b=0,d=0,e=0,f=0;if((c[a+76>>2]|0)>-1)gd(a)|0;b=(c[a>>2]&1|0)!=0;if(!b){sa(15668);d=c[a+52>>2]|0;e=a+56|0;if(d|0)c[d+56>>2]=c[e>>2];f=c[e>>2]|0;if(f|0)c[f+52>>2]=d;if((c[3916]|0)==(a|0))c[3916]=f;pa(15668)}f=Pd(a)|0;d=Ea[c[a+12>>2]&31](a)|0|f;f=c[a+92>>2]|0;if(f|0)Zd(f);if(!b)Zd(a);return d|0}function Vd(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;e=d;c[e>>2]=b;b=ed(c[1333]|0,a,e)|0;i=d;return b|0}function Wd(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;e=d;c[e>>2]=b;b=Ad(a,577,e)|0;i=d;return b|0}function Xd(b){b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=b;while(1){d=a[c>>0]|0;e=d<<24>>24;f=c+1|0;if(!(_c(e)|0))break;else c=f}switch(e|0){case 45:{g=1;h=5;break}case 43:{g=0;h=5;break}default:{i=0;j=c;k=d}}if((h|0)==5){i=g;j=f;k=a[f>>0]|0}f=(k<<24>>24)+-48|0;if(f>>>0<10){k=0;g=j;j=f;while(1){g=g+1|0;f=(k*10|0)-j|0;j=(a[g>>0]|0)+-48|0;if(j>>>0>=10){l=f;break}else k=f}}else l=0;return (i|0?l:0-l|0)|0}function Yd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;b=i;i=i+16|0;d=b;do if(a>>>0<245){e=a>>>0<11?16:a+11&-8;f=e>>>3;g=c[3923]|0;h=g>>>f;if(h&3|0){j=(h&1^1)+f|0;k=15732+(j<<1<<2)|0;l=k+8|0;m=c[l>>2]|0;n=m+8|0;o=c[n>>2]|0;do if((k|0)!=(o|0)){if(o>>>0<(c[3927]|0)>>>0)fa();p=o+12|0;if((c[p>>2]|0)==(m|0)){c[p>>2]=k;c[l>>2]=o;break}else fa()}else c[3923]=g&~(1<<j);while(0);o=j<<3;c[m+4>>2]=o|3;l=m+o+4|0;c[l>>2]=c[l>>2]|1;q=n;i=b;return q|0}l=c[3925]|0;if(e>>>0>l>>>0){if(h|0){o=2<<f;k=h<<f&(o|0-o);o=(k&0-k)+-1|0;k=o>>>12&16;p=o>>>k;o=p>>>5&8;r=p>>>o;p=r>>>2&4;s=r>>>p;r=s>>>1&2;t=s>>>r;s=t>>>1&1;u=(o|k|p|r|s)+(t>>>s)|0;s=15732+(u<<1<<2)|0;t=s+8|0;r=c[t>>2]|0;p=r+8|0;k=c[p>>2]|0;do if((s|0)!=(k|0)){if(k>>>0<(c[3927]|0)>>>0)fa();o=k+12|0;if((c[o>>2]|0)==(r|0)){c[o>>2]=s;c[t>>2]=k;v=g;break}else fa()}else{o=g&~(1<<u);c[3923]=o;v=o}while(0);k=(u<<3)-e|0;c[r+4>>2]=e|3;t=r+e|0;c[t+4>>2]=k|1;c[t+k>>2]=k;if(l|0){s=c[3928]|0;f=l>>>3;h=15732+(f<<1<<2)|0;n=1<<f;if(v&n){f=h+8|0;m=c[f>>2]|0;if(m>>>0<(c[3927]|0)>>>0)fa();else{w=m;x=f}}else{c[3923]=v|n;w=h;x=h+8|0}c[x>>2]=s;c[w+12>>2]=s;c[s+8>>2]=w;c[s+12>>2]=h}c[3925]=k;c[3928]=t;q=p;i=b;return q|0}t=c[3924]|0;if(t){k=(t&0-t)+-1|0;h=k>>>12&16;s=k>>>h;k=s>>>5&8;n=s>>>k;s=n>>>2&4;f=n>>>s;n=f>>>1&2;m=f>>>n;f=m>>>1&1;j=c[15996+((k|h|s|n|f)+(m>>>f)<<2)>>2]|0;f=j;m=j;n=(c[j+4>>2]&-8)-e|0;while(1){j=c[f+16>>2]|0;if(!j){s=c[f+20>>2]|0;if(!s)break;else y=s}else y=j;j=(c[y+4>>2]&-8)-e|0;s=j>>>0<n>>>0;f=y;m=s?y:m;n=s?j:n}f=c[3927]|0;if(m>>>0<f>>>0)fa();p=m+e|0;if(m>>>0>=p>>>0)fa();r=c[m+24>>2]|0;u=c[m+12>>2]|0;do if((u|0)==(m|0)){j=m+20|0;s=c[j>>2]|0;if(!s){h=m+16|0;k=c[h>>2]|0;if(!k){z=0;break}else{A=k;B=h}}else{A=s;B=j}while(1){j=A+20|0;s=c[j>>2]|0;if(s|0){A=s;B=j;continue}j=A+16|0;s=c[j>>2]|0;if(!s)break;else{A=s;B=j}}if(B>>>0<f>>>0)fa();else{c[B>>2]=0;z=A;break}}else{j=c[m+8>>2]|0;if(j>>>0<f>>>0)fa();s=j+12|0;if((c[s>>2]|0)!=(m|0))fa();h=u+8|0;if((c[h>>2]|0)==(m|0)){c[s>>2]=u;c[h>>2]=j;z=u;break}else fa()}while(0);do if(r|0){u=c[m+28>>2]|0;f=15996+(u<<2)|0;if((m|0)==(c[f>>2]|0)){c[f>>2]=z;if(!z){c[3924]=t&~(1<<u);break}}else{if(r>>>0<(c[3927]|0)>>>0)fa();u=r+16|0;if((c[u>>2]|0)==(m|0))c[u>>2]=z;else c[r+20>>2]=z;if(!z)break}u=c[3927]|0;if(z>>>0<u>>>0)fa();c[z+24>>2]=r;f=c[m+16>>2]|0;do if(f|0)if(f>>>0<u>>>0)fa();else{c[z+16>>2]=f;c[f+24>>2]=z;break}while(0);f=c[m+20>>2]|0;if(f|0)if(f>>>0<(c[3927]|0)>>>0)fa();else{c[z+20>>2]=f;c[f+24>>2]=z;break}}while(0);if(n>>>0<16){r=n+e|0;c[m+4>>2]=r|3;t=m+r+4|0;c[t>>2]=c[t>>2]|1}else{c[m+4>>2]=e|3;c[p+4>>2]=n|1;c[p+n>>2]=n;if(l|0){t=c[3928]|0;r=l>>>3;f=15732+(r<<1<<2)|0;u=1<<r;if(g&u){r=f+8|0;j=c[r>>2]|0;if(j>>>0<(c[3927]|0)>>>0)fa();else{C=j;D=r}}else{c[3923]=g|u;C=f;D=f+8|0}c[D>>2]=t;c[C+12>>2]=t;c[t+8>>2]=C;c[t+12>>2]=f}c[3925]=n;c[3928]=p}q=m+8|0;i=b;return q|0}else E=e}else E=e}else if(a>>>0<=4294967231){f=a+11|0;t=f&-8;u=c[3924]|0;if(u){r=0-t|0;j=f>>>8;if(j)if(t>>>0>16777215)F=31;else{f=(j+1048320|0)>>>16&8;h=j<<f;j=(h+520192|0)>>>16&4;s=h<<j;h=(s+245760|0)>>>16&2;k=14-(j|f|h)+(s<<h>>>15)|0;F=t>>>(k+7|0)&1|k<<1}else F=0;k=c[15996+(F<<2)>>2]|0;a:do if(!k){G=0;H=0;I=r;J=86}else{h=0;s=r;f=k;j=t<<((F|0)==31?0:25-(F>>>1)|0);o=0;while(1){K=(c[f+4>>2]&-8)-t|0;if(K>>>0<s>>>0)if(!K){L=f;M=0;N=f;J=90;break a}else{O=f;P=K}else{O=h;P=s}K=c[f+20>>2]|0;f=c[f+16+(j>>>31<<2)>>2]|0;Q=(K|0)==0|(K|0)==(f|0)?o:K;K=(f|0)==0;if(K){G=Q;H=O;I=P;J=86;break}else{h=O;s=P;j=j<<(K&1^1);o=Q}}}while(0);if((J|0)==86){if((G|0)==0&(H|0)==0){k=2<<F;r=u&(k|0-k);if(!r){E=t;break}k=(r&0-r)+-1|0;r=k>>>12&16;e=k>>>r;k=e>>>5&8;m=e>>>k;e=m>>>2&4;p=m>>>e;m=p>>>1&2;n=p>>>m;p=n>>>1&1;R=c[15996+((k|r|e|m|p)+(n>>>p)<<2)>>2]|0}else R=G;if(!R){S=H;T=I}else{L=H;M=I;N=R;J=90}}if((J|0)==90)while(1){J=0;p=(c[N+4>>2]&-8)-t|0;n=p>>>0<M>>>0;m=n?p:M;p=n?N:L;n=c[N+16>>2]|0;if(n|0){L=p;M=m;N=n;J=90;continue}N=c[N+20>>2]|0;if(!N){S=p;T=m;break}else{L=p;M=m;J=90}}if((S|0)!=0?T>>>0<((c[3925]|0)-t|0)>>>0:0){m=c[3927]|0;if(S>>>0<m>>>0)fa();p=S+t|0;if(S>>>0>=p>>>0)fa();n=c[S+24>>2]|0;e=c[S+12>>2]|0;do if((e|0)==(S|0)){r=S+20|0;k=c[r>>2]|0;if(!k){g=S+16|0;l=c[g>>2]|0;if(!l){U=0;break}else{V=l;W=g}}else{V=k;W=r}while(1){r=V+20|0;k=c[r>>2]|0;if(k|0){V=k;W=r;continue}r=V+16|0;k=c[r>>2]|0;if(!k)break;else{V=k;W=r}}if(W>>>0<m>>>0)fa();else{c[W>>2]=0;U=V;break}}else{r=c[S+8>>2]|0;if(r>>>0<m>>>0)fa();k=r+12|0;if((c[k>>2]|0)!=(S|0))fa();g=e+8|0;if((c[g>>2]|0)==(S|0)){c[k>>2]=e;c[g>>2]=r;U=e;break}else fa()}while(0);do if(n){e=c[S+28>>2]|0;m=15996+(e<<2)|0;if((S|0)==(c[m>>2]|0)){c[m>>2]=U;if(!U){m=u&~(1<<e);c[3924]=m;X=m;break}}else{if(n>>>0<(c[3927]|0)>>>0)fa();m=n+16|0;if((c[m>>2]|0)==(S|0))c[m>>2]=U;else c[n+20>>2]=U;if(!U){X=u;break}}m=c[3927]|0;if(U>>>0<m>>>0)fa();c[U+24>>2]=n;e=c[S+16>>2]|0;do if(e|0)if(e>>>0<m>>>0)fa();else{c[U+16>>2]=e;c[e+24>>2]=U;break}while(0);e=c[S+20>>2]|0;if(e)if(e>>>0<(c[3927]|0)>>>0)fa();else{c[U+20>>2]=e;c[e+24>>2]=U;X=u;break}else X=u}else X=u;while(0);do if(T>>>0>=16){c[S+4>>2]=t|3;c[p+4>>2]=T|1;c[p+T>>2]=T;u=T>>>3;if(T>>>0<256){n=15732+(u<<1<<2)|0;e=c[3923]|0;m=1<<u;if(e&m){u=n+8|0;r=c[u>>2]|0;if(r>>>0<(c[3927]|0)>>>0)fa();else{Y=r;Z=u}}else{c[3923]=e|m;Y=n;Z=n+8|0}c[Z>>2]=p;c[Y+12>>2]=p;c[p+8>>2]=Y;c[p+12>>2]=n;break}n=T>>>8;if(n)if(T>>>0>16777215)_=31;else{m=(n+1048320|0)>>>16&8;e=n<<m;n=(e+520192|0)>>>16&4;u=e<<n;e=(u+245760|0)>>>16&2;r=14-(n|m|e)+(u<<e>>>15)|0;_=T>>>(r+7|0)&1|r<<1}else _=0;r=15996+(_<<2)|0;c[p+28>>2]=_;e=p+16|0;c[e+4>>2]=0;c[e>>2]=0;e=1<<_;if(!(X&e)){c[3924]=X|e;c[r>>2]=p;c[p+24>>2]=r;c[p+12>>2]=p;c[p+8>>2]=p;break}e=T<<((_|0)==31?0:25-(_>>>1)|0);u=c[r>>2]|0;while(1){if((c[u+4>>2]&-8|0)==(T|0)){J=148;break}$=u+16+(e>>>31<<2)|0;r=c[$>>2]|0;if(!r){J=145;break}else{e=e<<1;u=r}}if((J|0)==145)if($>>>0<(c[3927]|0)>>>0)fa();else{c[$>>2]=p;c[p+24>>2]=u;c[p+12>>2]=p;c[p+8>>2]=p;break}else if((J|0)==148){e=u+8|0;r=c[e>>2]|0;m=c[3927]|0;if(r>>>0>=m>>>0&u>>>0>=m>>>0){c[r+12>>2]=p;c[e>>2]=p;c[p+8>>2]=r;c[p+12>>2]=u;c[p+24>>2]=0;break}else fa()}}else{r=T+t|0;c[S+4>>2]=r|3;e=S+r+4|0;c[e>>2]=c[e>>2]|1}while(0);q=S+8|0;i=b;return q|0}else E=t}else E=t}else E=-1;while(0);S=c[3925]|0;if(S>>>0>=E>>>0){T=S-E|0;$=c[3928]|0;if(T>>>0>15){_=$+E|0;c[3928]=_;c[3925]=T;c[_+4>>2]=T|1;c[_+T>>2]=T;c[$+4>>2]=E|3}else{c[3925]=0;c[3928]=0;c[$+4>>2]=S|3;T=$+S+4|0;c[T>>2]=c[T>>2]|1}q=$+8|0;i=b;return q|0}$=c[3926]|0;if($>>>0>E>>>0){T=$-E|0;c[3926]=T;S=c[3929]|0;_=S+E|0;c[3929]=_;c[_+4>>2]=T|1;c[S+4>>2]=E|3;q=S+8|0;i=b;return q|0}if(!(c[4041]|0)){c[4043]=4096;c[4042]=4096;c[4044]=-1;c[4045]=-1;c[4046]=0;c[4034]=0;S=d&-16^1431655768;c[d>>2]=S;c[4041]=S;aa=4096}else aa=c[4043]|0;S=E+48|0;d=E+47|0;T=aa+d|0;_=0-aa|0;aa=T&_;if(aa>>>0<=E>>>0){q=0;i=b;return q|0}X=c[4033]|0;if(X|0?(Y=c[4031]|0,Z=Y+aa|0,Z>>>0<=Y>>>0|Z>>>0>X>>>0):0){q=0;i=b;return q|0}b:do if(!(c[4034]&4)){X=c[3929]|0;c:do if(X){Z=16140;while(1){Y=c[Z>>2]|0;if(Y>>>0<=X>>>0?(ba=Z+4|0,(Y+(c[ba>>2]|0)|0)>>>0>X>>>0):0)break;Y=c[Z+8>>2]|0;if(!Y){J=172;break c}else Z=Y}u=T-$&_;if(u>>>0<2147483647){Y=he(u|0)|0;if((Y|0)==((c[Z>>2]|0)+(c[ba>>2]|0)|0)){if((Y|0)!=(-1|0)){ca=u;da=Y;J=190;break b}}else{ea=Y;ga=u;J=180}}}else J=172;while(0);do if(((J|0)==172?(X=he(0)|0,(X|0)!=(-1|0)):0)?(t=X,u=c[4042]|0,Y=u+-1|0,U=((Y&t|0)==0?0:(Y+t&0-u)-t|0)+aa|0,t=c[4031]|0,u=U+t|0,U>>>0>E>>>0&U>>>0<2147483647):0){Y=c[4033]|0;if(Y|0?u>>>0<=t>>>0|u>>>0>Y>>>0:0)break;Y=he(U|0)|0;if((Y|0)==(X|0)){ca=U;da=X;J=190;break b}else{ea=Y;ga=U;J=180}}while(0);d:do if((J|0)==180){U=0-ga|0;do if(S>>>0>ga>>>0&(ga>>>0<2147483647&(ea|0)!=(-1|0))?(Y=c[4043]|0,X=d-ga+Y&0-Y,X>>>0<2147483647):0)if((he(X|0)|0)==(-1|0)){he(U|0)|0;break d}else{ha=X+ga|0;break}else ha=ga;while(0);if((ea|0)!=(-1|0)){ca=ha;da=ea;J=190;break b}}while(0);c[4034]=c[4034]|4;J=187}else J=187;while(0);if((((J|0)==187?aa>>>0<2147483647:0)?(ea=he(aa|0)|0,aa=he(0)|0,ea>>>0<aa>>>0&((ea|0)!=(-1|0)&(aa|0)!=(-1|0))):0)?(ha=aa-ea|0,ha>>>0>(E+40|0)>>>0):0){ca=ha;da=ea;J=190}if((J|0)==190){ea=(c[4031]|0)+ca|0;c[4031]=ea;if(ea>>>0>(c[4032]|0)>>>0)c[4032]=ea;ea=c[3929]|0;do if(ea){ha=16140;while(1){ia=c[ha>>2]|0;ja=ha+4|0;ka=c[ja>>2]|0;if((da|0)==(ia+ka|0)){J=200;break}aa=c[ha+8>>2]|0;if(!aa)break;else ha=aa}if(((J|0)==200?(c[ha+12>>2]&8|0)==0:0)?ea>>>0<da>>>0&ea>>>0>=ia>>>0:0){c[ja>>2]=ka+ca;aa=ea+8|0;ga=(aa&7|0)==0?0:0-aa&7;aa=ea+ga|0;d=ca-ga+(c[3926]|0)|0;c[3929]=aa;c[3926]=d;c[aa+4>>2]=d|1;c[aa+d+4>>2]=40;c[3930]=c[4045];break}d=c[3927]|0;if(da>>>0<d>>>0){c[3927]=da;la=da}else la=d;d=da+ca|0;aa=16140;while(1){if((c[aa>>2]|0)==(d|0)){J=208;break}ga=c[aa+8>>2]|0;if(!ga){ma=16140;break}else aa=ga}if((J|0)==208)if(!(c[aa+12>>2]&8)){c[aa>>2]=da;ha=aa+4|0;c[ha>>2]=(c[ha>>2]|0)+ca;ha=da+8|0;ga=da+((ha&7|0)==0?0:0-ha&7)|0;ha=d+8|0;S=d+((ha&7|0)==0?0:0-ha&7)|0;ha=ga+E|0;ba=S-ga-E|0;c[ga+4>>2]=E|3;do if((S|0)!=(ea|0)){if((S|0)==(c[3928]|0)){_=(c[3925]|0)+ba|0;c[3925]=_;c[3928]=ha;c[ha+4>>2]=_|1;c[ha+_>>2]=_;break}_=c[S+4>>2]|0;if((_&3|0)==1){$=_&-8;T=_>>>3;e:do if(_>>>0>=256){U=c[S+24>>2]|0;Z=c[S+12>>2]|0;do if((Z|0)==(S|0)){X=S+16|0;Y=X+4|0;u=c[Y>>2]|0;if(!u){t=c[X>>2]|0;if(!t){na=0;break}else{oa=t;pa=X}}else{oa=u;pa=Y}while(1){Y=oa+20|0;u=c[Y>>2]|0;if(u|0){oa=u;pa=Y;continue}Y=oa+16|0;u=c[Y>>2]|0;if(!u)break;else{oa=u;pa=Y}}if(pa>>>0<la>>>0)fa();else{c[pa>>2]=0;na=oa;break}}else{Y=c[S+8>>2]|0;if(Y>>>0<la>>>0)fa();u=Y+12|0;if((c[u>>2]|0)!=(S|0))fa();X=Z+8|0;if((c[X>>2]|0)==(S|0)){c[u>>2]=Z;c[X>>2]=Y;na=Z;break}else fa()}while(0);if(!U)break;Z=c[S+28>>2]|0;Y=15996+(Z<<2)|0;do if((S|0)!=(c[Y>>2]|0)){if(U>>>0<(c[3927]|0)>>>0)fa();X=U+16|0;if((c[X>>2]|0)==(S|0))c[X>>2]=na;else c[U+20>>2]=na;if(!na)break e}else{c[Y>>2]=na;if(na|0)break;c[3924]=c[3924]&~(1<<Z);break e}while(0);Z=c[3927]|0;if(na>>>0<Z>>>0)fa();c[na+24>>2]=U;Y=S+16|0;X=c[Y>>2]|0;do if(X|0)if(X>>>0<Z>>>0)fa();else{c[na+16>>2]=X;c[X+24>>2]=na;break}while(0);X=c[Y+4>>2]|0;if(!X)break;if(X>>>0<(c[3927]|0)>>>0)fa();else{c[na+20>>2]=X;c[X+24>>2]=na;break}}else{X=c[S+8>>2]|0;Z=c[S+12>>2]|0;U=15732+(T<<1<<2)|0;do if((X|0)!=(U|0)){if(X>>>0<la>>>0)fa();if((c[X+12>>2]|0)==(S|0))break;fa()}while(0);if((Z|0)==(X|0)){c[3923]=c[3923]&~(1<<T);break}do if((Z|0)==(U|0))qa=Z+8|0;else{if(Z>>>0<la>>>0)fa();Y=Z+8|0;if((c[Y>>2]|0)==(S|0)){qa=Y;break}fa()}while(0);c[X+12>>2]=Z;c[qa>>2]=X}while(0);ra=S+$|0;sa=$+ba|0}else{ra=S;sa=ba}T=ra+4|0;c[T>>2]=c[T>>2]&-2;c[ha+4>>2]=sa|1;c[ha+sa>>2]=sa;T=sa>>>3;if(sa>>>0<256){_=15732+(T<<1<<2)|0;U=c[3923]|0;Y=1<<T;do if(!(U&Y)){c[3923]=U|Y;ta=_;ua=_+8|0}else{T=_+8|0;u=c[T>>2]|0;if(u>>>0>=(c[3927]|0)>>>0){ta=u;ua=T;break}fa()}while(0);c[ua>>2]=ha;c[ta+12>>2]=ha;c[ha+8>>2]=ta;c[ha+12>>2]=_;break}Y=sa>>>8;do if(!Y)va=0;else{if(sa>>>0>16777215){va=31;break}U=(Y+1048320|0)>>>16&8;$=Y<<U;T=($+520192|0)>>>16&4;u=$<<T;$=(u+245760|0)>>>16&2;t=14-(T|U|$)+(u<<$>>>15)|0;va=sa>>>(t+7|0)&1|t<<1}while(0);Y=15996+(va<<2)|0;c[ha+28>>2]=va;_=ha+16|0;c[_+4>>2]=0;c[_>>2]=0;_=c[3924]|0;t=1<<va;if(!(_&t)){c[3924]=_|t;c[Y>>2]=ha;c[ha+24>>2]=Y;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}t=sa<<((va|0)==31?0:25-(va>>>1)|0);_=c[Y>>2]|0;while(1){if((c[_+4>>2]&-8|0)==(sa|0)){J=278;break}wa=_+16+(t>>>31<<2)|0;Y=c[wa>>2]|0;if(!Y){J=275;break}else{t=t<<1;_=Y}}if((J|0)==275)if(wa>>>0<(c[3927]|0)>>>0)fa();else{c[wa>>2]=ha;c[ha+24>>2]=_;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}else if((J|0)==278){t=_+8|0;Y=c[t>>2]|0;$=c[3927]|0;if(Y>>>0>=$>>>0&_>>>0>=$>>>0){c[Y+12>>2]=ha;c[t>>2]=ha;c[ha+8>>2]=Y;c[ha+12>>2]=_;c[ha+24>>2]=0;break}else fa()}}else{Y=(c[3926]|0)+ba|0;c[3926]=Y;c[3929]=ha;c[ha+4>>2]=Y|1}while(0);q=ga+8|0;i=b;return q|0}else ma=16140;while(1){ha=c[ma>>2]|0;if(ha>>>0<=ea>>>0?(xa=ha+(c[ma+4>>2]|0)|0,xa>>>0>ea>>>0):0)break;ma=c[ma+8>>2]|0}ga=xa+-47|0;ha=ga+8|0;ba=ga+((ha&7|0)==0?0:0-ha&7)|0;ha=ea+16|0;ga=ba>>>0<ha>>>0?ea:ba;ba=ga+8|0;S=da+8|0;d=(S&7|0)==0?0:0-S&7;S=da+d|0;aa=ca+-40-d|0;c[3929]=S;c[3926]=aa;c[S+4>>2]=aa|1;c[S+aa+4>>2]=40;c[3930]=c[4045];aa=ga+4|0;c[aa>>2]=27;c[ba>>2]=c[4035];c[ba+4>>2]=c[4036];c[ba+8>>2]=c[4037];c[ba+12>>2]=c[4038];c[4035]=da;c[4036]=ca;c[4038]=0;c[4037]=ba;ba=ga+24|0;do{ba=ba+4|0;c[ba>>2]=7}while((ba+4|0)>>>0<xa>>>0);if((ga|0)!=(ea|0)){ba=ga-ea|0;c[aa>>2]=c[aa>>2]&-2;c[ea+4>>2]=ba|1;c[ga>>2]=ba;S=ba>>>3;if(ba>>>0<256){d=15732+(S<<1<<2)|0;Y=c[3923]|0;t=1<<S;if(Y&t){S=d+8|0;$=c[S>>2]|0;if($>>>0<(c[3927]|0)>>>0)fa();else{ya=$;za=S}}else{c[3923]=Y|t;ya=d;za=d+8|0}c[za>>2]=ea;c[ya+12>>2]=ea;c[ea+8>>2]=ya;c[ea+12>>2]=d;break}d=ba>>>8;if(d)if(ba>>>0>16777215)Aa=31;else{t=(d+1048320|0)>>>16&8;Y=d<<t;d=(Y+520192|0)>>>16&4;S=Y<<d;Y=(S+245760|0)>>>16&2;$=14-(d|t|Y)+(S<<Y>>>15)|0;Aa=ba>>>($+7|0)&1|$<<1}else Aa=0;$=15996+(Aa<<2)|0;c[ea+28>>2]=Aa;c[ea+20>>2]=0;c[ha>>2]=0;Y=c[3924]|0;S=1<<Aa;if(!(Y&S)){c[3924]=Y|S;c[$>>2]=ea;c[ea+24>>2]=$;c[ea+12>>2]=ea;c[ea+8>>2]=ea;break}S=ba<<((Aa|0)==31?0:25-(Aa>>>1)|0);Y=c[$>>2]|0;while(1){if((c[Y+4>>2]&-8|0)==(ba|0)){J=304;break}Ba=Y+16+(S>>>31<<2)|0;$=c[Ba>>2]|0;if(!$){J=301;break}else{S=S<<1;Y=$}}if((J|0)==301)if(Ba>>>0<(c[3927]|0)>>>0)fa();else{c[Ba>>2]=ea;c[ea+24>>2]=Y;c[ea+12>>2]=ea;c[ea+8>>2]=ea;break}else if((J|0)==304){S=Y+8|0;ba=c[S>>2]|0;ha=c[3927]|0;if(ba>>>0>=ha>>>0&Y>>>0>=ha>>>0){c[ba+12>>2]=ea;c[S>>2]=ea;c[ea+8>>2]=ba;c[ea+12>>2]=Y;c[ea+24>>2]=0;break}else fa()}}}else{ba=c[3927]|0;if((ba|0)==0|da>>>0<ba>>>0)c[3927]=da;c[4035]=da;c[4036]=ca;c[4038]=0;c[3932]=c[4041];c[3931]=-1;ba=0;do{S=15732+(ba<<1<<2)|0;c[S+12>>2]=S;c[S+8>>2]=S;ba=ba+1|0}while((ba|0)!=32);ba=da+8|0;Y=(ba&7|0)==0?0:0-ba&7;ba=da+Y|0;S=ca+-40-Y|0;c[3929]=ba;c[3926]=S;c[ba+4>>2]=S|1;c[ba+S+4>>2]=40;c[3930]=c[4045]}while(0);ca=c[3926]|0;if(ca>>>0>E>>>0){da=ca-E|0;c[3926]=da;ca=c[3929]|0;ea=ca+E|0;c[3929]=ea;c[ea+4>>2]=da|1;c[ca+4>>2]=E|3;q=ca+8|0;i=b;return q|0}}c[(Sc()|0)>>2]=12;q=0;i=b;return q|0}function Zd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if(!a)return;b=a+-8|0;d=c[3927]|0;if(b>>>0<d>>>0)fa();e=c[a+-4>>2]|0;a=e&3;if((a|0)==1)fa();f=e&-8;g=b+f|0;do if(!(e&1)){h=c[b>>2]|0;if(!a)return;i=b+(0-h)|0;j=h+f|0;if(i>>>0<d>>>0)fa();if((i|0)==(c[3928]|0)){k=g+4|0;l=c[k>>2]|0;if((l&3|0)!=3){m=i;n=j;break}c[3925]=j;c[k>>2]=l&-2;c[i+4>>2]=j|1;c[i+j>>2]=j;return}l=h>>>3;if(h>>>0<256){h=c[i+8>>2]|0;k=c[i+12>>2]|0;o=15732+(l<<1<<2)|0;if((h|0)!=(o|0)){if(h>>>0<d>>>0)fa();if((c[h+12>>2]|0)!=(i|0))fa()}if((k|0)==(h|0)){c[3923]=c[3923]&~(1<<l);m=i;n=j;break}if((k|0)!=(o|0)){if(k>>>0<d>>>0)fa();o=k+8|0;if((c[o>>2]|0)==(i|0))p=o;else fa()}else p=k+8|0;c[h+12>>2]=k;c[p>>2]=h;m=i;n=j;break}h=c[i+24>>2]|0;k=c[i+12>>2]|0;do if((k|0)==(i|0)){o=i+16|0;l=o+4|0;q=c[l>>2]|0;if(!q){r=c[o>>2]|0;if(!r){s=0;break}else{t=r;u=o}}else{t=q;u=l}while(1){l=t+20|0;q=c[l>>2]|0;if(q|0){t=q;u=l;continue}l=t+16|0;q=c[l>>2]|0;if(!q)break;else{t=q;u=l}}if(u>>>0<d>>>0)fa();else{c[u>>2]=0;s=t;break}}else{l=c[i+8>>2]|0;if(l>>>0<d>>>0)fa();q=l+12|0;if((c[q>>2]|0)!=(i|0))fa();o=k+8|0;if((c[o>>2]|0)==(i|0)){c[q>>2]=k;c[o>>2]=l;s=k;break}else fa()}while(0);if(h){k=c[i+28>>2]|0;l=15996+(k<<2)|0;if((i|0)==(c[l>>2]|0)){c[l>>2]=s;if(!s){c[3924]=c[3924]&~(1<<k);m=i;n=j;break}}else{if(h>>>0<(c[3927]|0)>>>0)fa();k=h+16|0;if((c[k>>2]|0)==(i|0))c[k>>2]=s;else c[h+20>>2]=s;if(!s){m=i;n=j;break}}k=c[3927]|0;if(s>>>0<k>>>0)fa();c[s+24>>2]=h;l=i+16|0;o=c[l>>2]|0;do if(o|0)if(o>>>0<k>>>0)fa();else{c[s+16>>2]=o;c[o+24>>2]=s;break}while(0);o=c[l+4>>2]|0;if(o)if(o>>>0<(c[3927]|0)>>>0)fa();else{c[s+20>>2]=o;c[o+24>>2]=s;m=i;n=j;break}else{m=i;n=j}}else{m=i;n=j}}else{m=b;n=f}while(0);if(m>>>0>=g>>>0)fa();f=g+4|0;b=c[f>>2]|0;if(!(b&1))fa();if(!(b&2)){if((g|0)==(c[3929]|0)){s=(c[3926]|0)+n|0;c[3926]=s;c[3929]=m;c[m+4>>2]=s|1;if((m|0)!=(c[3928]|0))return;c[3928]=0;c[3925]=0;return}if((g|0)==(c[3928]|0)){s=(c[3925]|0)+n|0;c[3925]=s;c[3928]=m;c[m+4>>2]=s|1;c[m+s>>2]=s;return}s=(b&-8)+n|0;d=b>>>3;do if(b>>>0>=256){t=c[g+24>>2]|0;u=c[g+12>>2]|0;do if((u|0)==(g|0)){p=g+16|0;a=p+4|0;e=c[a>>2]|0;if(!e){o=c[p>>2]|0;if(!o){v=0;break}else{w=o;x=p}}else{w=e;x=a}while(1){a=w+20|0;e=c[a>>2]|0;if(e|0){w=e;x=a;continue}a=w+16|0;e=c[a>>2]|0;if(!e)break;else{w=e;x=a}}if(x>>>0<(c[3927]|0)>>>0)fa();else{c[x>>2]=0;v=w;break}}else{a=c[g+8>>2]|0;if(a>>>0<(c[3927]|0)>>>0)fa();e=a+12|0;if((c[e>>2]|0)!=(g|0))fa();p=u+8|0;if((c[p>>2]|0)==(g|0)){c[e>>2]=u;c[p>>2]=a;v=u;break}else fa()}while(0);if(t|0){u=c[g+28>>2]|0;j=15996+(u<<2)|0;if((g|0)==(c[j>>2]|0)){c[j>>2]=v;if(!v){c[3924]=c[3924]&~(1<<u);break}}else{if(t>>>0<(c[3927]|0)>>>0)fa();u=t+16|0;if((c[u>>2]|0)==(g|0))c[u>>2]=v;else c[t+20>>2]=v;if(!v)break}u=c[3927]|0;if(v>>>0<u>>>0)fa();c[v+24>>2]=t;j=g+16|0;i=c[j>>2]|0;do if(i|0)if(i>>>0<u>>>0)fa();else{c[v+16>>2]=i;c[i+24>>2]=v;break}while(0);i=c[j+4>>2]|0;if(i|0)if(i>>>0<(c[3927]|0)>>>0)fa();else{c[v+20>>2]=i;c[i+24>>2]=v;break}}}else{i=c[g+8>>2]|0;u=c[g+12>>2]|0;t=15732+(d<<1<<2)|0;if((i|0)!=(t|0)){if(i>>>0<(c[3927]|0)>>>0)fa();if((c[i+12>>2]|0)!=(g|0))fa()}if((u|0)==(i|0)){c[3923]=c[3923]&~(1<<d);break}if((u|0)!=(t|0)){if(u>>>0<(c[3927]|0)>>>0)fa();t=u+8|0;if((c[t>>2]|0)==(g|0))y=t;else fa()}else y=u+8|0;c[i+12>>2]=u;c[y>>2]=i}while(0);c[m+4>>2]=s|1;c[m+s>>2]=s;if((m|0)==(c[3928]|0)){c[3925]=s;return}else z=s}else{c[f>>2]=b&-2;c[m+4>>2]=n|1;c[m+n>>2]=n;z=n}n=z>>>3;if(z>>>0<256){b=15732+(n<<1<<2)|0;f=c[3923]|0;s=1<<n;if(f&s){n=b+8|0;y=c[n>>2]|0;if(y>>>0<(c[3927]|0)>>>0)fa();else{A=y;B=n}}else{c[3923]=f|s;A=b;B=b+8|0}c[B>>2]=m;c[A+12>>2]=m;c[m+8>>2]=A;c[m+12>>2]=b;return}b=z>>>8;if(b)if(z>>>0>16777215)C=31;else{A=(b+1048320|0)>>>16&8;B=b<<A;b=(B+520192|0)>>>16&4;s=B<<b;B=(s+245760|0)>>>16&2;f=14-(b|A|B)+(s<<B>>>15)|0;C=z>>>(f+7|0)&1|f<<1}else C=0;f=15996+(C<<2)|0;c[m+28>>2]=C;c[m+20>>2]=0;c[m+16>>2]=0;B=c[3924]|0;s=1<<C;do if(B&s){A=z<<((C|0)==31?0:25-(C>>>1)|0);b=c[f>>2]|0;while(1){if((c[b+4>>2]&-8|0)==(z|0)){D=130;break}E=b+16+(A>>>31<<2)|0;n=c[E>>2]|0;if(!n){D=127;break}else{A=A<<1;b=n}}if((D|0)==127)if(E>>>0<(c[3927]|0)>>>0)fa();else{c[E>>2]=m;c[m+24>>2]=b;c[m+12>>2]=m;c[m+8>>2]=m;break}else if((D|0)==130){A=b+8|0;j=c[A>>2]|0;n=c[3927]|0;if(j>>>0>=n>>>0&b>>>0>=n>>>0){c[j+12>>2]=m;c[A>>2]=m;c[m+8>>2]=j;c[m+12>>2]=b;c[m+24>>2]=0;break}else fa()}}else{c[3924]=B|s;c[f>>2]=m;c[m+24>>2]=f;c[m+12>>2]=m;c[m+8>>2]=m}while(0);m=(c[3931]|0)+-1|0;c[3931]=m;if(!m)F=16148;else return;while(1){m=c[F>>2]|0;if(!m)break;else F=m+8|0}c[3931]=-1;return}function _d(){}function $d(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=b-d>>>0;e=b-d-(c>>>0>a>>>0|0)>>>0;return (D=e,a-c>>>0|0)|0}function ae(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+c>>>0;return (D=b+d+(e>>>0<a>>>0|0)>>>0,e|0)|0}function be(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;if((e|0)>=20){d=d&255;g=b&3;h=d|d<<8|d<<16|d<<24;i=f&~3;if(g){g=b+4-g|0;while((b|0)<(g|0)){a[b>>0]=d;b=b+1|0}}while((b|0)<(i|0)){c[b>>2]=h;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return b-e|0}function ce(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}D=0;return b>>>c-32|0}function de(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}D=a<<c-32;return 0}function ee(b){b=b|0;var c=0;c=a[n+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[n+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[n+(b>>>24)>>0]|0)+24|0}function fe(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0;g=a;h=b;i=h;j=d;k=e;l=k;if(!i){m=(f|0)!=0;if(!l){if(m){c[f>>2]=(g>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(g>>>0)/(j>>>0)>>>0;return (D=n,o)|0}else{if(!m){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;o=0;return (D=n,o)|0}}m=(l|0)==0;do if(j){if(!m){p=(V(l|0)|0)-(V(i|0)|0)|0;if(p>>>0<=31){q=p+1|0;r=31-p|0;s=p-31>>31;t=q;u=g>>>(q>>>0)&s|i<<r;v=i>>>(q>>>0)&s;w=0;x=g<<r;break}if(!f){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}r=j-1|0;if(r&j|0){s=(V(j|0)|0)+33-(V(i|0)|0)|0;q=64-s|0;p=32-s|0;y=p>>31;z=s-32|0;A=z>>31;t=s;u=p-1>>31&i>>>(z>>>0)|(i<<p|g>>>(s>>>0))&A;v=A&i>>>(s>>>0);w=g<<q&y;x=(i<<q|g>>>(z>>>0))&y|g<<p&s-33>>31;break}if(f|0){c[f>>2]=r&g;c[f+4>>2]=0}if((j|0)==1){n=h|b&0;o=a|0|0;return (D=n,o)|0}else{r=ee(j|0)|0;n=i>>>(r>>>0)|0;o=i<<32-r|g>>>(r>>>0)|0;return (D=n,o)|0}}else{if(m){if(f|0){c[f>>2]=(i>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(i>>>0)/(j>>>0)>>>0;return (D=n,o)|0}if(!g){if(f|0){c[f>>2]=0;c[f+4>>2]=(i>>>0)%(l>>>0)}n=0;o=(i>>>0)/(l>>>0)>>>0;return (D=n,o)|0}r=l-1|0;if(!(r&l)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=r&i|b&0}n=0;o=i>>>((ee(l|0)|0)>>>0);return (D=n,o)|0}r=(V(l|0)|0)-(V(i|0)|0)|0;if(r>>>0<=30){s=r+1|0;p=31-r|0;t=s;u=i<<p|g>>>(s>>>0);v=i>>>(s>>>0);w=0;x=g<<p;break}if(!f){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}while(0);if(!t){B=x;C=w;E=v;F=u;G=0;H=0}else{b=d|0|0;d=k|e&0;e=ae(b|0,d|0,-1,-1)|0;k=D;h=x;x=w;w=v;v=u;u=t;t=0;do{a=h;h=x>>>31|h<<1;x=t|x<<1;g=v<<1|a>>>31|0;a=v>>>31|w<<1|0;$d(e|0,k|0,g|0,a|0)|0;i=D;l=i>>31|((i|0)<0?-1:0)<<1;t=l&1;v=$d(g|0,a|0,l&b|0,(((i|0)<0?-1:0)>>31|((i|0)<0?-1:0)<<1)&d|0)|0;w=D;u=u-1|0}while((u|0)!=0);B=h;C=x;E=w;F=v;G=0;H=t}t=C;C=0;if(f|0){c[f>>2]=F;c[f+4>>2]=E}n=(t|0)>>>31|(B|C)<<1|(C<<1|t>>>31)&0|G;o=(t<<1|0>>>31)&-2|H;return (D=n,o)|0}function ge(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return fe(a,b,c,d,0)|0}function he(a){a=a|0;var b=0,d=0;a=a+15&-16|0;b=c[k>>2]|0;d=b+a|0;if((a|0)>0&(d|0)<(b|0)|(d|0)<0){_()|0;ka(12);return -1}c[k>>2]=d;if((d|0)>(Z()|0)?(Y()|0)==0:0){ka(12);c[k>>2]=b;return -1}return b|0}function ie(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;g=f|0;fe(a,b,d,e,g)|0;i=f;return (D=c[g+4>>2]|0,c[g>>2]|0)|0}function je(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((e|0)>=4096)return la(b|0,d|0,e|0)|0;f=b|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}while((e|0)>=4){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0;e=e-4|0}}while((e|0)>0){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}return f|0}function ke(){return 0}function le(a){a=a|0;return Da[a&31]()|0}function me(a,b){a=a|0;b=b|0;return Ea[a&31](b|0)|0}function ne(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Fa[a&7](b|0,c|0,d|0)|0}function oe(a,b){a=a|0;b=b|0;Ga[a&3](b|0)}function pe(){W(0);return 0}function qe(a){a=a|0;W(1);return 0}function re(a,b,c){a=a|0;b=b|0;c=c|0;W(2);return 0}function se(a){a=a|0;W(3)}
// EMSCRIPTEN_END_FUNCS
var Da=[pe,cc,Tb,Vb,Sb,Wb,mc,oc,sc,lc,_b,Xb,Yb,Ub,fc,kc,jc,ic,hc,gc,dc,ec,nc,Qb,ac,Zb,bc,$b,pc,qc,Rb,rc];var Ea=[qe,Xa,_a,pb,ub,yb,rb,fb,gb,zb,Ya,ib,hb,Za,sb,tb,lb,jb,kb,ob,wb,Ab,xb,nb,mb,vb,Oc,qe,qe,qe,qe,qe];var Fa=[re,Vc,Qc,Xc,sd,Pc,re,re];var Ga=[se,Tc,Wc,se];return{_sbrk:he,_i64Subtract:$d,_free:Zd,_main:Oa,_i64Add:ae,_pthread_self:ke,_memset:be,_llvm_cttz_i32:ee,_malloc:Yd,_memcpy:je,_bitshift64Shl:de,_bitshift64Lshr:ce,_fflush:Pd,___udivdi3:ge,___uremdi3:ie,___errno_location:Sc,___udivmoddi4:fe,runPostSets:_d,stackAlloc:Ha,stackSave:Ia,stackRestore:Ja,establishStackSpace:Ka,setThrew:La,setTempRet0:Ma,getTempRet0:Na,dynCall_i:le,dynCall_ii:me,dynCall_iiii:ne,dynCall_vi:oe}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);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"];var runPostSets=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 _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _fflush=Module["_fflush"]=asm["_fflush"];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"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_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;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=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{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{if(e&&typeof e==="object"&&e.stack)Module.printErr("exception thrown: "+[e,e.stack]);throw e}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){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;function exit(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)}else if(ENVIRONMENT_IS_SHELL&&typeof quit==="function"){quit(status)}throw new ExitStatus(status)}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"]){shouldRunNow=false}run()
return xasm6809;
};