var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}Module["arguments"]=[window.location.search.substr(1)];Module["thisProgram"]="./this.program";Module["quit"]=(function(status,toThrow){throw toThrow});Module["preRun"]=[];Module["postRun"]=[];var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;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;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}else{return scriptDirectory+path}}if(ENVIRONMENT_IS_NODE){scriptDirectory=__dirname+"/";var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){var ret;if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);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};if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));process["on"]("unhandledRejection",(function(reason,p){process["exit"](1)}));Module["quit"]=(function(status){process["exit"](status)});Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){Module["read"]=function shell_read(f){return read(f)}}Module["readBinary"]=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}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}if(typeof quit==="function"){Module["quit"]=(function(status){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WEB){var currentScript=document.currentScript;if(currentScript.src.indexOf("blob:")!==0){scriptDirectory=currentScript.src.split("/").slice(0,-1).join("/")+"/"}}else if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href.split("/").slice(0,-1).join("/")+"/"}Module["read"]=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}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);return}onerror()};xhr.onerror=onerror;xhr.send(null)};Module["setWindowTitle"]=(function(title){document.title=title})}else{}var out=Module["print"]||(typeof console!=="undefined"?console.log.bind(console):typeof print!=="undefined"?print:null);var err=Module["printErr"]||(typeof printErr!=="undefined"?printErr:typeof console!=="undefined"&&console.warn.bind(console)||out);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var STACK_ALIGN=16;function staticAlloc(size){var ret=STATICTOP;STATICTOP=STATICTOP+size+15&-16;return ret}function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=ret;return 0}}return ret}function alignMemory(size,factor){if(!factor)factor=STACK_ALIGN;var ret=size=Math.ceil(size/factor)*factor;return ret}function getNativeTypeSize(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 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var jsCallStartIndex=1;var functionPointers=new Array(0);function addFunction(func,sig){var base=0;for(var i=base;i>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)}}var ALLOC_NORMAL=0;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;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:staticAlloc,stackAlloc,staticAlloc,dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var stop;ptr=ret;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(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>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 UTF8ToString(ptr)}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)}}}}function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=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}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=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}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);stringToUTF8Array(str,HEAP8,ret,size);return ret}function demangle(func){return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,(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)}var WASM_PAGE_SIZE=65536;var ASMJS_PAGE_SIZE=16777216;var MIN_TOTAL_MEMORY=16777216;function alignUp(x,multiple){if(x%multiple>0){x+=multiple-x%multiple}return x}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBuffer(buf){Module["buffer"]=buffer=buf}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 allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}if(!Module["reallocBuffer"])Module["reallocBuffer"]=(function(size){var ret;try{if(ArrayBuffer.transfer){ret=ArrayBuffer.transfer(buffer,size)}else{var oldHEAP8=HEAP8;ret=new ArrayBuffer(size);var temp=new Int8Array(ret);temp.set(oldHEAP8)}}catch(e){return false}var success=_emscripten_replace_memory(ret);if(!success)return false;return ret});function enlargeMemory(){var PAGE_MULTIPLE=Module["usingWasm"]?WASM_PAGE_SIZE:ASMJS_PAGE_SIZE;var LIMIT=2147483648-PAGE_MULTIPLE;if(HEAP32[DYNAMICTOP_PTR>>2]>LIMIT){return false}var OLD_TOTAL_MEMORY=TOTAL_MEMORY;TOTAL_MEMORY=Math.max(TOTAL_MEMORY,MIN_TOTAL_MEMORY);while(TOTAL_MEMORY>2]){if(TOTAL_MEMORY<=536870912){TOTAL_MEMORY=alignUp(2*TOTAL_MEMORY,PAGE_MULTIPLE)}else{TOTAL_MEMORY=Math.min(alignUp((3*TOTAL_MEMORY+2147483648)/4,PAGE_MULTIPLE),LIMIT)}}var replacement=Module["reallocBuffer"](TOTAL_MEMORY);if(!replacement||replacement.byteLength!=TOTAL_MEMORY){TOTAL_MEMORY=OLD_TOTAL_MEMORY;return false}updateGlobalBuffer(replacement);updateGlobalBufferViews();return true}var byteLength;try{byteLength=Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get);byteLength(new ArrayBuffer(4))}catch(e){byteLength=(function(buffer){return buffer.byteLength})}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;if(TOTAL_MEMORY0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["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)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}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["preloadedImages"]={};Module["preloadedAudios"]={};var memoryInitializer=null;var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var ASM_CONSTS=[(function($0){err('emscripten_fetch("'+Pointer_stringify($0)+'") failed! Synchronous blocking XHRs and IndexedDB operations are not supported on the main browser thread. Try dropping the EMSCRIPTEN_FETCH_SYNCHRONOUS flag, or run with the linker flag --proxy-to-worker to decouple main C runtime thread from the main browser thread.')}),(function(){return screen.width}),(function(){return screen.height}),(function($0){if(typeof Module["setWindowTitle"]!=="undefined"){Module["setWindowTitle"](Module["Pointer_stringify"]($0))}return 0}),(function($0,$1,$2){var w=$0;var h=$1;var pixels=$2;if(!Module["SDL2"])Module["SDL2"]={};var SDL2=Module["SDL2"];if(SDL2.ctxCanvas!==Module["canvas"]){SDL2.ctx=Module["createContext"](Module["canvas"],false,true);SDL2.ctxCanvas=Module["canvas"]}if(SDL2.w!==w||SDL2.h!==h||SDL2.imageCtx!==SDL2.ctx){SDL2.image=SDL2.ctx.createImageData(w,h);SDL2.w=w;SDL2.h=h;SDL2.imageCtx=SDL2.ctx}var data=SDL2.image.data;var src=pixels>>2;var dst=0;var num;if(typeof CanvasPixelArray!=="undefined"&&data instanceof CanvasPixelArray){num=data.length;while(dst>8&255;data[dst+2]=val>>16&255;data[dst+3]=255;src++;dst+=4}}else{if(SDL2.data32Data!==data){SDL2.data32=new Int32Array(data.buffer);SDL2.data8=new Uint8Array(data.buffer)}var data32=SDL2.data32;num=data32.length;data32.set(HEAP32.subarray(src,src+num));var data8=SDL2.data8;var i=3;var j=i+4*num;if(num%8==0){while(i>2;var dst=0;var num;if(typeof CanvasPixelArray!=="undefined"&&data instanceof CanvasPixelArray){num=data.length;while(dst>8&255;data[dst+2]=val>>16&255;data[dst+3]=val>>24&255;src++;dst+=4}}else{var data32=new Int32Array(data.buffer);num=data32.length;data32.set(HEAP32.subarray(src,src+num))}ctx.putImageData(image,0,0);var url="url("+canvas.toDataURL()+"), auto";var urlBuf=_malloc(url.length+1);stringToUTF8(url,urlBuf,url.length+1);return urlBuf}),(function($0){if(Module["canvas"]){Module["canvas"].style["cursor"]=Module["Pointer_stringify"]($0)}return 0}),(function(){if(Module["canvas"]){Module["canvas"].style["cursor"]="none"}}),(function(){if(typeof AudioContext!=="undefined"){return 1}else if(typeof webkitAudioContext!=="undefined"){return 1}return 0}),(function(){if(typeof navigator.mediaDevices!=="undefined"&&typeof navigator.mediaDevices.getUserMedia!=="undefined"){return 1}else if(typeof navigator.webkitGetUserMedia!=="undefined"){return 1}return 0}),(function($0){if(typeof SDL2==="undefined"){SDL2={}}if(!$0){SDL2.audio={}}else{SDL2.capture={}}if(!SDL2.audioContext){if(typeof AudioContext!=="undefined"){SDL2.audioContext=new AudioContext}else if(typeof webkitAudioContext!=="undefined"){SDL2.audioContext=new webkitAudioContext}}return SDL2.audioContext===undefined?-1:0}),(function(){return SDL2.audioContext.sampleRate}),(function($0,$1,$2,$3){var have_microphone=(function(stream){if(SDL2.capture.silenceTimer!==undefined){clearTimeout(SDL2.capture.silenceTimer);SDL2.capture.silenceTimer=undefined}SDL2.capture.mediaStreamNode=SDL2.audioContext.createMediaStreamSource(stream);SDL2.capture.scriptProcessorNode=SDL2.audioContext.createScriptProcessor($1,$0,1);SDL2.capture.scriptProcessorNode.onaudioprocess=(function(audioProcessingEvent){if(SDL2===undefined||SDL2.capture===undefined){return}audioProcessingEvent.outputBuffer.getChannelData(0).fill(0);SDL2.capture.currentCaptureBuffer=audioProcessingEvent.inputBuffer;Runtime.dynCall("vi",$2,[$3])});SDL2.capture.mediaStreamNode.connect(SDL2.capture.scriptProcessorNode);SDL2.capture.scriptProcessorNode.connect(SDL2.audioContext.destination);SDL2.capture.stream=stream});var no_microphone=(function(error){});SDL2.capture.silenceBuffer=SDL2.audioContext.createBuffer($0,$1,SDL2.audioContext.sampleRate);SDL2.capture.silenceBuffer.getChannelData(0).fill(0);var silence_callback=(function(){SDL2.capture.currentCaptureBuffer=SDL2.capture.silenceBuffer;Runtime.dynCall("vi",$2,[$3])});SDL2.capture.silenceTimer=setTimeout(silence_callback,$1/SDL2.audioContext.sampleRate*1e3);if(navigator.mediaDevices!==undefined&&navigator.mediaDevices.getUserMedia!==undefined){navigator.mediaDevices.getUserMedia({audio:true,video:false}).then(have_microphone).catch(no_microphone)}else if(navigator.webkitGetUserMedia!==undefined){navigator.webkitGetUserMedia({audio:true,video:false},have_microphone,no_microphone)}}),(function($0,$1,$2,$3){SDL2.audio.scriptProcessorNode=SDL2.audioContext["createScriptProcessor"]($1,0,$0);SDL2.audio.scriptProcessorNode["onaudioprocess"]=(function(e){if(SDL2===undefined||SDL2.audio===undefined){return}SDL2.audio.currentOutputBuffer=e["outputBuffer"];Runtime.dynCall("vi",$2,[$3])});SDL2.audio.scriptProcessorNode["connect"](SDL2.audioContext["destination"])}),(function($0){if($0){if(SDL2.capture.silenceTimer!==undefined){clearTimeout(SDL2.capture.silenceTimer)}if(SDL2.capture.stream!==undefined){var tracks=SDL2.capture.stream.getAudioTracks();for(var i=0;i>2]}}})];function _emscripten_asm_const_i(code){return ASM_CONSTS[code]()}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiiii(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iii(code,a0,a1){return ASM_CONSTS[code](a0,a1)}function _emscripten_asm_const_iiii(code,a0,a1,a2){return ASM_CONSTS[code](a0,a1,a2)}STATIC_BASE=GLOBAL_BASE;STATICTOP=STATIC_BASE+505040;__ATINIT__.push({func:(function(){__GLOBAL__I_000101()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_Group_cpp()})},{func:(function(){__GLOBAL__sub_I_iostream_cpp()})},{func:(function(){___emscripten_environ_constructor()})},{func:(function(){__GLOBAL__sub_I_osgdb_png_cpp()})},{func:(function(){__GLOBAL__sub_I_osg_01_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_Transform_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_Object_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_Node_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_MatrixTransform_cpp()})},{func:(function(){__GLOBAL__sub_I_main_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_Geometry_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_Geode_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_Drawable_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_serializers_osg_LibraryWrapper_cpp()})},{func:(function(){__GLOBAL__sub_I_osgdb_osg_cpp()})},{func:(function(){__GLOBAL__sub_I_osgDB_cpp()})},{func:(function(){__GLOBAL__sub_I_osgUtil_cpp()})},{func:(function(){__GLOBAL__sub_I_osgViewer_cpp()})});memoryInitializer="ogs-mahjong_2-demo-2.html.mem";var tempDoublePtr=STATICTOP;STATICTOP+=16;function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"])}var ENV={};function ___buildEnvironment(environ){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.UTF-8";ENV["_"]=Module["thisProgram"];poolPtr=getMemory(TOTAL_ENV_SIZE);envPtr=getMemory(MAX_ENV_VALUES*4);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>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}function ___cxa_allocate_exception(size){return _malloc(size)}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:(function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var key in EXCEPTIONS.infos){var ptr=+key;var info=EXCEPTIONS.infos[ptr];if(info.adjusted===adjusted){return ptr}}return adjusted}),addRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount++}),decRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];assert(info.refcount>0);info.refcount--;if(info.refcount===0&&!info.rethrown){if(info.destructor){Module["dynCall_vi"](info.destructor,ptr)}delete EXCEPTIONS.infos[ptr];___cxa_free_exception(ptr)}}),clearRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0})};function ___cxa_begin_catch(ptr){var info=EXCEPTIONS.infos[ptr];if(info&&!info.caught){info.caught=true;__ZSt18uncaught_exceptionv.uncaught_exception--}if(info)info.rethrown=false;EXCEPTIONS.caught.push(ptr);EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));return ptr}function ___cxa_pure_virtual(){ABORT=true;throw"Pure virtual function called!"}function ___resumeException(ptr){if(!EXCEPTIONS.last){EXCEPTIONS.last=ptr}throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function ___cxa_find_matching_catch(){var thrown=EXCEPTIONS.last;if(!thrown){return(setTempRet0(0),0)|0}var info=EXCEPTIONS.infos[thrown];var throwntype=info.type;if(!throwntype){return(setTempRet0(0),thrown)|0}var typeArray=Array.prototype.slice.call(arguments);var pointer=Module["___cxa_is_pointer_type"](throwntype);if(!___cxa_find_matching_catch.buffer)___cxa_find_matching_catch.buffer=_malloc(4);HEAP32[___cxa_find_matching_catch.buffer>>2]=thrown;thrown=___cxa_find_matching_catch.buffer;for(var i=0;i>2];info.adjusted=thrown;return(setTempRet0(typeArray[i]),thrown)|0}}thrown=HEAP32[thrown>>2];return(setTempRet0(throwntype),thrown)|0}function ___cxa_throw(ptr,type,destructor){EXCEPTIONS.infos[ptr]={ptr:ptr,adjusted:ptr,type:type,destructor:destructor,refcount:0,caught:false,rethrown:false};EXCEPTIONS.last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exception=1}else{__ZSt18uncaught_exceptionv.uncaught_exception++}throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function ___cxa_uncaught_exception(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}function ___gxx_personality_v0(){}function ___lock(){}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};function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}function ___map_file(pathname,size){___setErrNo(ERRNO_CODES.EPERM);return-1}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"};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=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;i0){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){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}})},default_tty1_ops:{put_char:(function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){err(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;inode.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*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.lengthnewSize)node.contents.length=newSize;else while(node.contents.length=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;i0||position+lengthe2.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/);var flags=process["binding"]("constants");if(flags["fs"]){flags=flags["fs"]}NODEFS.flagsForNodeMap={"1024":flags["O_APPEND"],"64":flags["O_CREAT"],"128":flags["O_EXCL"],"0":flags["O_RDONLY"],"2":flags["O_RDWR"],"4096":flags["O_SYNC"],"512":flags["O_TRUNC"],"1":flags["O_WRONLY"]}}),bufferFrom:(function(arrayBuffer){return Buffer.alloc?Buffer.from(arrayBuffer):new Buffer(arrayBuffer)}),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&292)>>2}}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)}),flagsForNode:(function(flags){flags&=~2097152;flags&=~2048;flags&=~32768;flags&=~524288;var newFlags=0;for(var k in NODEFS.flagsForNodeMap){if(flags&k){newFlags|=NODEFS.flagsForNodeMap[k];flags^=k}}if(!flags){return newFlags}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.flagsForNode(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;try{return fs.readSync(stream.nfd,NODEFS.bufferFrom(buffer.buffer),offset,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),write:(function(stream,buffer,offset,length,position){try{return fs.writeSync(stream.nfd,NODEFS.bufferFrom(buffer.buffer),offset,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),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=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:{},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;i40){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>>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"}))}),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;ithis.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>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>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>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 ___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;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 ___syscall195(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall197(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall220(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),dirp=SYSCALLS.get(),count=SYSCALLS.get();if(!stream.getdents){stream.getdents=FS.readdir(stream.path)}var pos=0;while(stream.getdents.length>0&&pos+268<=count){var id;var type;var name=stream.getdents.pop();if(name[0]==="."){id=1;type=4}else{var child=FS.lookupNode(stream.node,name);id=child.id;type=FS.isChrdev(child.mode)?2:FS.isDir(child.mode)?4:FS.isLink(child.mode)?10:8}HEAP32[dirp+pos>>2]=id;HEAP32[dirp+pos+4>>2]=stream.position;HEAP16[dirp+pos+8>>1]=268;HEAP8[dirp+pos+10>>0]=type;stringToUTF8(name,dirp+pos+11,256);pos+=268}return pos}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}}function ___syscall33(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),amode=SYSCALLS.get();return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall39(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),mode=SYSCALLS.get();return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}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 ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21509:case 21505:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{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)};case 21523:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21524:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}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}}function ___syscall85(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get(),bufsize=SYSCALLS.get();return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function _abort(){Module["abort"]()}function _atexit(func,arg){__ATEXIT__.unshift({func:func,arg:arg})}function _emscripten_get_now(){abort()}function _emscripten_get_now_is_monotonic(){return ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined"||(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if(clk_id===1&&_emscripten_get_now_is_monotonic()){now=_emscripten_get_now()}else{___setErrNo(ERRNO_CODES.EINVAL);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}var DLFCN={error:null,errorMsg:null,loadedLibs:{},loadedLibNames:{}};function _dlclose(handle){if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlclose() unopened handle: "+handle;return 1}else{var lib_record=DLFCN.loadedLibs[handle];if(--lib_record.refcount==0){if(lib_record.module.cleanups){lib_record.module.cleanups.forEach((function(cleanup){cleanup()}))}delete DLFCN.loadedLibNames[lib_record.name];delete DLFCN.loadedLibs[handle]}return 0}}function _dlerror(){if(DLFCN.errorMsg===null){return 0}else{if(DLFCN.error)_free(DLFCN.error);var msgArr=intArrayFromString(DLFCN.errorMsg);DLFCN.error=allocate(msgArr,"i8",ALLOC_NORMAL);DLFCN.errorMsg=null;return DLFCN.error}}function _dlopen(filename,flag){abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking");var searchpaths=[];if(filename===0){filename="__self__"}else{var strfilename=Pointer_stringify(filename);var isValidFile=(function(filename){var target=FS.findObject(filename);return target&&!target.isFolder&&!target.isDevice});if(isValidFile(strfilename)){filename=strfilename}else{if(ENV["LD_LIBRARY_PATH"]){searchpaths=ENV["LD_LIBRARY_PATH"].split(":")}for(var ident in searchpaths){var searchfile=PATH.join2(searchpaths[ident],strfilename);if(isValidFile(searchfile)){filename=searchfile;break}}}}if(DLFCN.loadedLibNames[filename]){var handle=DLFCN.loadedLibNames[filename];DLFCN.loadedLibs[handle].refcount++;return handle}var lib_module;if(filename==="__self__"){var handle=-1;lib_module=Module}else{if(Module["preloadedWasm"]!==undefined&&Module["preloadedWasm"][filename]!==undefined){lib_module=Module["preloadedWasm"][filename]}else{var target=FS.findObject(filename);if(!target||target.isFolder||target.isDevice){DLFCN.errorMsg="Could not find dynamic lib: "+filename;return 0}FS.forceLoadFile(target);try{var lib_data=FS.readFile(filename,{encoding:"utf8"});lib_module=eval(lib_data)(alignFunctionTables(),Module)}catch(e){DLFCN.errorMsg="Could not evaluate dynamic lib: "+filename+"\n"+e;return 0}}var handle=1;for(var key in DLFCN.loadedLibs){if(DLFCN.loadedLibs.hasOwnProperty(key))handle++}if(flag&256){for(var ident in lib_module){if(lib_module.hasOwnProperty(ident)){if(ident[0]=="_"){Module[ident]=lib_module[ident]}}}}}DLFCN.loadedLibs[handle]={refcount:1,name:filename,module:lib_module};DLFCN.loadedLibNames[filename]=handle;return handle}function _dlsym(handle,symbol){symbol=Pointer_stringify(symbol);if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlsym() from an unopened handle: "+handle;return 0}else{var lib=DLFCN.loadedLibs[handle];symbol="_"+symbol;if(!lib.module.hasOwnProperty(symbol)){DLFCN.errorMsg='Tried to lookup unknown symbol "'+symbol+'" in dynamic lib: '+lib.name;return 0}else{var result=lib.module[symbol];if(typeof result==="function"){return addFunction(result)}return result}}}function _emscripten_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){return 1}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setTimeout(){var timeUntilNextTick=Math.max(0,Browser.mainLoop.tickStartTime+value-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,timeUntilNextTick)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_rAF(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}else if(mode==2){if(typeof setImmediate==="undefined"){var setImmediates=[];var emscriptenMainLoopMessageId="setimmediate";function Browser_setImmediate_messageHandler(event){if(event.data===emscriptenMainLoopMessageId||event.data.target===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}}addEventListener("message",Browser_setImmediate_messageHandler,true);setImmediate=function Browser_emulated_setImmediate(func){setImmediates.push(func);if(ENVIRONMENT_IS_WORKER){if(Module["setImmediates"]===undefined)Module["setImmediates"]=[];Module["setImmediates"].push(func);postMessage({target:emscriptenMainLoopMessageId})}else postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){setImmediate(Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){Module["noExitRuntime"]=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var browserIterationFunc;if(typeof arg!=="undefined"){browserIterationFunc=(function(){Module["dynCall_vi"](func,arg)})}else{browserIterationFunc=(function(){Module["dynCall_v"](func)})}var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}if(Browser.mainLoop.method==="timeout"&&Module.ctx){err("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!");Browser.mainLoop.method=""}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"SimulateInfiniteLoop"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:(function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++}),resume:(function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()}),updateStatus:(function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout((function(){finish(audio)}),1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||(function(){});canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||(function(){});canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",(function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}}),false)}}}),createContext:(function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach((function(callback){callback()}));Browser.init()}return ctx}),destroyContext:(function(canvas,useWebGL,setInModule){}),fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:(function(lockPointer,resizeCanvas,vrDevice){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;Browser.vrDevice=vrDevice;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;if(typeof Browser.vrDevice==="undefined")Browser.vrDevice=null;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||(function(){});canvas.exitFullscreen=canvas.exitFullscreen.bind(document);if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?(function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}):null)||(canvasContainer["webkitRequestFullScreen"]?(function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}):null);if(vrDevice){canvasContainer.requestFullscreen({vrDisplay:vrDevice})}else{canvasContainer.requestFullscreen()}}),requestFullScreen:(function(lockPointer,resizeCanvas,vrDevice){err("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead.");Browser.requestFullScreen=(function(lockPointer,resizeCanvas,vrDevice){return Browser.requestFullscreen(lockPointer,resizeCanvas,vrDevice)});return Browser.requestFullscreen(lockPointer,resizeCanvas,vrDevice)}),nextRAF:0,fakeRequestAnimationFrame:(function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)}),requestAnimationFrame:function requestAnimationFrame(func){if(typeof window==="undefined"){Browser.fakeRequestAnimationFrame(func)}else{if(!window.requestAnimationFrame){window.requestAnimationFrame=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||Browser.fakeRequestAnimationFrame}window.requestAnimationFrame(func)}},safeCallback:(function(func){return(function(){if(!ABORT)return func.apply(null,arguments)})}),allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=false}),resumeAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach((function(func){func()}))}}),safeRequestAnimationFrame:(function(func){return Browser.requestAnimationFrame((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}))}),safeSetTimeout:(function(func,timeout){Module["noExitRuntime"]=true;return setTimeout((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}),timeout)}),safeSetInterval:(function(func,timeout){Module["noExitRuntime"]=true;return setInterval((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}}),timeout)}),getMimetype:(function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]}),getUserMedia:(function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)}),getMovementX:(function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0}),getMovementY:(function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0}),getMouseWheelDelta:(function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail;break;case"mousewheel":delta=event.wheelDelta;break;case"wheel":delta=event["deltaY"];break;default:throw"unrecognized mouse wheel event: "+event.type}return delta}),mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:(function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}}),asyncLoad:(function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";Module["readAsync"](url,(function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)}),(function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}}));if(dep)addRunDependency(dep)}),resizeListeners:[],updateResizeListeners:(function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach((function(listener){listener(canvas.width,canvas.height)}))}),setCanvasSize:(function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()}),windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()}),setWindowedCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()}),updateCanvasDimensions:(function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]=1}if(config&&config_size>0){HEAP32[config>>2]=62002}EGL.setErrorCode(12288);return 1})};function _eglBindAPI(api){if(api==12448){EGL.setErrorCode(12288);return 1}else{EGL.setErrorCode(12300);return 0}}function _eglChooseConfig(display,attrib_list,configs,config_size,numConfigs){return EGL.chooseConfig(display,attrib_list,configs,config_size,numConfigs)}var GLUT={initTime:null,idleFunc:null,displayFunc:null,keyboardFunc:null,keyboardUpFunc:null,specialFunc:null,specialUpFunc:null,reshapeFunc:null,motionFunc:null,passiveMotionFunc:null,mouseFunc:null,buttons:0,modifiers:0,initWindowWidth:256,initWindowHeight:256,initDisplayMode:18,windowX:0,windowY:0,windowWidth:0,windowHeight:0,requestedAnimationFrame:false,saveModifiers:(function(event){GLUT.modifiers=0;if(event["shiftKey"])GLUT.modifiers+=1;if(event["ctrlKey"])GLUT.modifiers+=2;if(event["altKey"])GLUT.modifiers+=4}),onMousemove:(function(event){var lastX=Browser.mouseX;var lastY=Browser.mouseY;Browser.calculateMouseEvent(event);var newX=Browser.mouseX;var newY=Browser.mouseY;if(newX==lastX&&newY==lastY)return;if(GLUT.buttons==0&&event.target==Module["canvas"]&&GLUT.passiveMotionFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_vii"](GLUT.passiveMotionFunc,lastX,lastY)}else if(GLUT.buttons!=0&&GLUT.motionFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_vii"](GLUT.motionFunc,lastX,lastY)}}),getSpecialKey:(function(keycode){var key=null;switch(keycode){case 8:key=120;break;case 46:key=111;break;case 112:key=1;break;case 113:key=2;break;case 114:key=3;break;case 115:key=4;break;case 116:key=5;break;case 117:key=6;break;case 118:key=7;break;case 119:key=8;break;case 120:key=9;break;case 121:key=10;break;case 122:key=11;break;case 123:key=12;break;case 37:key=100;break;case 38:key=101;break;case 39:key=102;break;case 40:key=103;break;case 33:key=104;break;case 34:key=105;break;case 36:key=106;break;case 35:key=107;break;case 45:key=108;break;case 16:case 5:key=112;break;case 6:key=113;break;case 17:case 3:key=114;break;case 4:key=115;break;case 18:case 2:key=116;break;case 1:key=117;break}return key}),getASCIIKey:(function(event){if(event["ctrlKey"]||event["altKey"]||event["metaKey"])return null;var keycode=event["keyCode"];if(48<=keycode&&keycode<=57)return keycode;if(65<=keycode&&keycode<=90)return event["shiftKey"]?keycode:keycode+32;if(96<=keycode&&keycode<=105)return keycode-48;if(106<=keycode&&keycode<=111)return keycode-106+42;switch(keycode){case 9:case 13:case 27:case 32:case 61:return keycode}var s=event["shiftKey"];switch(keycode){case 186:return s?58:59;case 187:return s?43:61;case 188:return s?60:44;case 189:return s?95:45;case 190:return s?62:46;case 191:return s?63:47;case 219:return s?123:91;case 220:return s?124:47;case 221:return s?125:93;case 222:return s?34:39}return null}),onKeydown:(function(event){if(GLUT.specialFunc||GLUT.keyboardFunc){var key=GLUT.getSpecialKey(event["keyCode"]);if(key!==null){if(GLUT.specialFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viii"](GLUT.specialFunc,key,Browser.mouseX,Browser.mouseY)}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viii"](GLUT.keyboardFunc,key,Browser.mouseX,Browser.mouseY)}}}}),onKeyup:(function(event){if(GLUT.specialUpFunc||GLUT.keyboardUpFunc){var key=GLUT.getSpecialKey(event["keyCode"]);if(key!==null){if(GLUT.specialUpFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viii"](GLUT.specialUpFunc,key,Browser.mouseX,Browser.mouseY)}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardUpFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viii"](GLUT.keyboardUpFunc,key,Browser.mouseX,Browser.mouseY)}}}}),touchHandler:(function(event){if(event.target!=Module["canvas"]){return}var touches=event.changedTouches,main=touches[0],type="";switch(event.type){case"touchstart":type="mousedown";break;case"touchmove":type="mousemove";break;case"touchend":type="mouseup";break;default:return}var simulatedEvent=document.createEvent("MouseEvent");simulatedEvent.initMouseEvent(type,true,true,window,1,main.screenX,main.screenY,main.clientX,main.clientY,false,false,false,false,0,null);main.target.dispatchEvent(simulatedEvent);event.preventDefault()}),onMouseButtonDown:(function(event){Browser.calculateMouseEvent(event);GLUT.buttons|=1<0?Math.max(delta,1):Math.min(delta,-1);var button=3;if(delta<0){button=4}if(GLUT.mouseFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viiii"](GLUT.mouseFunc,button,0,Browser.mouseX,Browser.mouseY)}}),onFullscreenEventChange:(function(event){var width;var height;if(document["fullscreen"]||document["fullScreen"]||document["mozFullScreen"]||document["webkitIsFullScreen"]){width=screen["width"];height=screen["height"]}else{width=GLUT.windowWidth;height=GLUT.windowHeight;document.removeEventListener("fullscreenchange",GLUT.onFullscreenEventChange,true);document.removeEventListener("mozfullscreenchange",GLUT.onFullscreenEventChange,true);document.removeEventListener("webkitfullscreenchange",GLUT.onFullscreenEventChange,true)}Browser.setCanvasSize(width,height,true);if(GLUT.reshapeFunc){Module["dynCall_vii"](GLUT.reshapeFunc,width,height)}_glutPostRedisplay()}),requestFullscreen:(function(){Browser.requestFullscreen(false,false)}),requestFullScreen:(function(){err("GLUT.requestFullScreen() is deprecated. Please call GLUT.requestFullscreen instead.");GLUT.requestFullScreen=(function(){return GLUT.requestFullscreen()});return GLUT.requestFullscreen()}),exitFullscreen:(function(){var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||(function(){});CFS.apply(document,[])}),cancelFullScreen:(function(){err("GLUT.cancelFullScreen() is deprecated. Please call GLUT.exitFullscreen instead.");GLUT.cancelFullScreen=(function(){return GLUT.exitFullscreen()});return GLUT.exitFullscreen()})};function _glutInitDisplayMode(mode){GLUT.initDisplayMode=mode}function _glutCreateWindow(name){var contextAttributes={antialias:(GLUT.initDisplayMode&128)!=0,depth:(GLUT.initDisplayMode&16)!=0,stencil:(GLUT.initDisplayMode&32)!=0,alpha:(GLUT.initDisplayMode&8)!=0};Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);return Module.ctx?1:0}var GL={counter:1,lastError:0,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],uniforms:[],shaders:[],vaos:[],contexts:[],currentContext:null,offscreenCanvases:{},timerQueriesEXT:[],byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],programInfos:{},stringCache:{},tempFixedLengthArray:[],packAlignment:4,unpackAlignment:4,init:(function(){GL.miniTempBuffer=new Float32Array(GL.MINI_TEMP_BUFFER_SIZE);for(var i=0;i>2];if(len<0){frag=Pointer_stringify(HEAP32[string+i*4>>2])}else{frag=Pointer_stringify(HEAP32[string+i*4>>2],len)}}else{frag=Pointer_stringify(HEAP32[string+i*4>>2])}source+=frag}return source}),createContext:(function(canvas,webGLContextAttributes){if(typeof webGLContextAttributes["majorVersion"]==="undefined"&&typeof webGLContextAttributes["minorVersion"]==="undefined"){webGLContextAttributes["majorVersion"]=1;webGLContextAttributes["minorVersion"]=0}var ctx;var errorInfo="?";function onContextCreationError(event){errorInfo=event.statusMessage||errorInfo}try{canvas.addEventListener("webglcontextcreationerror",onContextCreationError,false);try{if(webGLContextAttributes["majorVersion"]==1&&webGLContextAttributes["minorVersion"]==0){ctx=canvas.getContext("webgl",webGLContextAttributes)||canvas.getContext("experimental-webgl",webGLContextAttributes)}else if(webGLContextAttributes["majorVersion"]==2&&webGLContextAttributes["minorVersion"]==0){ctx=canvas.getContext("webgl2",webGLContextAttributes)}else{throw"Unsupported WebGL context version "+majorVersion+"."+minorVersion+"!"}}finally{canvas.removeEventListener("webglcontextcreationerror",onContextCreationError,false)}if(!ctx)throw":("}catch(e){out("Could not create canvas: "+[errorInfo,e,JSON.stringify(webGLContextAttributes)]);return 0}if(!ctx)return 0;var context=GL.registerContext(ctx,webGLContextAttributes);return context}),registerContext:(function(ctx,webGLContextAttributes){var handle=GL.getNewId(GL.contexts);var context={handle:handle,attributes:webGLContextAttributes,version:webGLContextAttributes["majorVersion"],GLctx:ctx};if(ctx.canvas)ctx.canvas.GLctxObject=context;GL.contexts[handle]=context;if(typeof webGLContextAttributes["enableExtensionsByDefault"]==="undefined"||webGLContextAttributes["enableExtensionsByDefault"]){GL.initExtensions(context)}return handle}),makeContextCurrent:(function(contextHandle){var context=GL.contexts[contextHandle];if(!context)return false;GLctx=Module.ctx=context.GLctx;GL.currentContext=context;return true}),getContext:(function(contextHandle){return GL.contexts[contextHandle]}),deleteContext:(function(contextHandle){if(GL.currentContext===GL.contexts[contextHandle])GL.currentContext=null;if(typeof JSEvents==="object")JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);if(GL.contexts[contextHandle]&&GL.contexts[contextHandle].GLctx.canvas)GL.contexts[contextHandle].GLctx.canvas.GLctxObject=undefined;GL.contexts[contextHandle]=null}),initExtensions:(function(context){if(!context)context=GL.currentContext;if(context.initExtensionsDone)return;context.initExtensionsDone=true;var GLctx=context.GLctx;context.maxVertexAttribs=GLctx.getParameter(GLctx.MAX_VERTEX_ATTRIBS);if(context.version<2){var instancedArraysExt=GLctx.getExtension("ANGLE_instanced_arrays");if(instancedArraysExt){GLctx["vertexAttribDivisor"]=(function(index,divisor){instancedArraysExt["vertexAttribDivisorANGLE"](index,divisor)});GLctx["drawArraysInstanced"]=(function(mode,first,count,primcount){instancedArraysExt["drawArraysInstancedANGLE"](mode,first,count,primcount)});GLctx["drawElementsInstanced"]=(function(mode,count,type,indices,primcount){instancedArraysExt["drawElementsInstancedANGLE"](mode,count,type,indices,primcount)})}var vaoExt=GLctx.getExtension("OES_vertex_array_object");if(vaoExt){GLctx["createVertexArray"]=(function(){return vaoExt["createVertexArrayOES"]()});GLctx["deleteVertexArray"]=(function(vao){vaoExt["deleteVertexArrayOES"](vao)});GLctx["bindVertexArray"]=(function(vao){vaoExt["bindVertexArrayOES"](vao)});GLctx["isVertexArray"]=(function(vao){return vaoExt["isVertexArrayOES"](vao)})}var drawBuffersExt=GLctx.getExtension("WEBGL_draw_buffers");if(drawBuffersExt){GLctx["drawBuffers"]=(function(n,bufs){drawBuffersExt["drawBuffersWEBGL"](n,bufs)})}}GLctx.disjointTimerQueryExt=GLctx.getExtension("EXT_disjoint_timer_query");var automaticallyEnabledExtensions=["OES_texture_float","OES_texture_half_float","OES_standard_derivatives","OES_vertex_array_object","WEBGL_compressed_texture_s3tc","WEBGL_depth_texture","OES_element_index_uint","EXT_texture_filter_anisotropic","ANGLE_instanced_arrays","OES_texture_float_linear","OES_texture_half_float_linear","WEBGL_compressed_texture_atc","WEBKIT_WEBGL_compressed_texture_pvrtc","WEBGL_compressed_texture_pvrtc","EXT_color_buffer_half_float","WEBGL_color_buffer_float","EXT_frag_depth","EXT_sRGB","WEBGL_draw_buffers","WEBGL_shared_resources","EXT_shader_texture_lod","EXT_color_buffer_float"];var exts=GLctx.getSupportedExtensions();if(exts&&exts.length>0){GLctx.getSupportedExtensions().forEach((function(ext){if(automaticallyEnabledExtensions.indexOf(ext)!=-1){GLctx.getExtension(ext)}}))}}),populateUniformTable:(function(program){var p=GL.programs[program];GL.programInfos[program]={uniforms:{},maxUniformLength:0,maxAttributeLength:-1,maxUniformBlockNameLength:-1};var ptable=GL.programInfos[program];var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,GLctx.ACTIVE_UNIFORMS);for(var i=0;i>2];if(param==12440){glesContextVersion=HEAP32[contextAttribs+4>>2]}else if(param==12344){break}else{EGL.setErrorCode(12292);return 0}contextAttribs+=8}if(glesContextVersion!=2){EGL.setErrorCode(12293);return 0}_glutInitDisplayMode(178);EGL.windowID=_glutCreateWindow();if(EGL.windowID!=0){EGL.setErrorCode(12288);return 62004}else{EGL.setErrorCode(12297);return 0}}function _eglCreateWindowSurface(display,config,win,attrib_list){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(config!=62002){EGL.setErrorCode(12293);return 0}EGL.setErrorCode(12288);return 62006}function _glutDestroyWindow(name){Module.ctx=Browser.destroyContext(Module["canvas"],true,true);return 1}function _eglDestroyContext(display,context){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(context!=62004){EGL.setErrorCode(12294);return 0}EGL.setErrorCode(12288);return 1}function _eglDestroySurface(display,surface){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(surface!=62006){EGL.setErrorCode(12301);return 1}if(EGL.currentReadSurface==surface){EGL.currentReadSurface=0}if(EGL.currentDrawSurface==surface){EGL.currentDrawSurface=0}EGL.setErrorCode(12288);return 1}function _eglGetConfigAttrib(display,config,attribute,value){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(config!=62002){EGL.setErrorCode(12293);return 0}if(!value){EGL.setErrorCode(12300);return 0}EGL.setErrorCode(12288);switch(attribute){case 12320:HEAP32[value>>2]=32;return 1;case 12321:HEAP32[value>>2]=8;return 1;case 12322:HEAP32[value>>2]=8;return 1;case 12323:HEAP32[value>>2]=8;return 1;case 12324:HEAP32[value>>2]=8;return 1;case 12325:HEAP32[value>>2]=24;return 1;case 12326:HEAP32[value>>2]=8;return 1;case 12327:HEAP32[value>>2]=12344;return 1;case 12328:HEAP32[value>>2]=62002;return 1;case 12329:HEAP32[value>>2]=0;return 1;case 12330:HEAP32[value>>2]=4096;return 1;case 12331:HEAP32[value>>2]=16777216;return 1;case 12332:HEAP32[value>>2]=4096;return 1;case 12333:HEAP32[value>>2]=0;return 1;case 12334:HEAP32[value>>2]=0;return 1;case 12335:HEAP32[value>>2]=12344;return 1;case 12337:HEAP32[value>>2]=4;return 1;case 12338:HEAP32[value>>2]=1;return 1;case 12339:HEAP32[value>>2]=4;return 1;case 12340:HEAP32[value>>2]=12344;return 1;case 12341:case 12342:case 12343:HEAP32[value>>2]=-1;return 1;case 12345:case 12346:HEAP32[value>>2]=0;return 1;case 12347:case 12348:HEAP32[value>>2]=1;return 1;case 12349:case 12350:HEAP32[value>>2]=0;return 1;case 12351:HEAP32[value>>2]=12430;return 1;case 12352:HEAP32[value>>2]=4;return 1;case 12354:HEAP32[value>>2]=0;return 1;default:EGL.setErrorCode(12292);return 0}}function _eglGetDisplay(nativeDisplayType){EGL.setErrorCode(12288);return 62e3}function _eglGetProcAddress(name_){return _emscripten_GetProcAddress(name_)}function _eglInitialize(display,majorVersion,minorVersion){if(display==62e3){if(majorVersion){HEAP32[majorVersion>>2]=1}if(minorVersion){HEAP32[minorVersion>>2]=4}EGL.defaultDisplayInitialized=true;EGL.setErrorCode(12288);return 1}else{EGL.setErrorCode(12296);return 0}}function _eglMakeCurrent(display,draw,read,context){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(context!=0&&context!=62004){EGL.setErrorCode(12294);return 0}if(read!=0&&read!=62006||draw!=0&&draw!=62006){EGL.setErrorCode(12301);return 0}EGL.currentContext=context;EGL.currentDrawSurface=draw;EGL.currentReadSurface=read;EGL.setErrorCode(12288);return 1}function _eglSwapBuffers(){if(!EGL.defaultDisplayInitialized){EGL.setErrorCode(12289)}else if(!Module.ctx){EGL.setErrorCode(12290)}else if(Module.ctx.isContextLost()){EGL.setErrorCode(12302)}else{EGL.setErrorCode(12288);return 1}return 0}function _eglSwapInterval(display,interval){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(interval==0)_emscripten_set_main_loop_timing(0,0);else _emscripten_set_main_loop_timing(1,interval);EGL.setErrorCode(12288);return 1}function _eglTerminate(display){if(display!=62e3){EGL.setErrorCode(12296);return 0}EGL.currentContext=0;EGL.currentReadSurface=0;EGL.currentDrawSurface=0;EGL.defaultDisplayInitialized=false;EGL.setErrorCode(12288);return 1}function _eglWaitClient(){EGL.setErrorCode(12288);return 1}function _eglWaitGL(){return _eglWaitClient.apply(null,arguments)}function _eglWaitNative(nativeEngineId){EGL.setErrorCode(12288);return 1}var JSEvents={keyEvent:0,mouseEvent:0,wheelEvent:0,uiEvent:0,focusEvent:0,deviceOrientationEvent:0,deviceMotionEvent:0,fullscreenChangeEvent:0,pointerlockChangeEvent:0,visibilityChangeEvent:0,touchEvent:0,lastGamepadState:null,lastGamepadStateFrame:null,numGamepadsConnected:0,previousFullscreenElement:null,previousScreenX:null,previousScreenY:null,removeEventListenersRegistered:false,staticInit:(function(){if(typeof window!=="undefined"){window.addEventListener("gamepadconnected",(function(){++JSEvents.numGamepadsConnected}));window.addEventListener("gamepaddisconnected",(function(){--JSEvents.numGamepadsConnected}));var firstState=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():null;if(firstState){JSEvents.numGamepadsConnected=firstState.length}}}),registerRemoveEventListeners:(function(){if(!JSEvents.removeEventListenersRegistered){__ATEXIT__.push((function(){for(var i=JSEvents.eventHandlers.length-1;i>=0;--i){JSEvents._removeHandler(i)}}));JSEvents.removeEventListenersRegistered=true}}),findEventTarget:(function(target){if(target){if(typeof target=="number"){target=Pointer_stringify(target)}if(target=="#window")return window;else if(target=="#document")return document;else if(target=="#screen")return window.screen;else if(target=="#canvas")return Module["canvas"];if(typeof target=="string")return document.getElementById(target);else return target}else{return window}}),deferredCalls:[],deferCall:(function(targetFunction,precedence,argsList){function arraysHaveEqualContent(arrA,arrB){if(arrA.length!=arrB.length)return false;for(var i in arrA){if(arrA[i]!=arrB[i])return false}return true}for(var i in JSEvents.deferredCalls){var call=JSEvents.deferredCalls[i];if(call.targetFunction==targetFunction&&arraysHaveEqualContent(call.argsList,argsList)){return}}JSEvents.deferredCalls.push({targetFunction:targetFunction,precedence:precedence,argsList:argsList});JSEvents.deferredCalls.sort((function(x,y){return x.precedence0}),removeAllHandlersOnTarget:(function(target,eventTypeString){for(var i=0;i>2]=e.location;HEAP32[JSEvents.keyEvent+68>>2]=e.ctrlKey;HEAP32[JSEvents.keyEvent+72>>2]=e.shiftKey;HEAP32[JSEvents.keyEvent+76>>2]=e.altKey;HEAP32[JSEvents.keyEvent+80>>2]=e.metaKey;HEAP32[JSEvents.keyEvent+84>>2]=e.repeat;stringToUTF8(e.locale?e.locale:"",JSEvents.keyEvent+88,32);stringToUTF8(e.char?e.char:"",JSEvents.keyEvent+120,32);HEAP32[JSEvents.keyEvent+152>>2]=e.charCode;HEAP32[JSEvents.keyEvent+156>>2]=e.keyCode;HEAP32[JSEvents.keyEvent+160>>2]=e.which;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.keyEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:JSEvents.isInternetExplorer()?false:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),getBoundingClientRectOrZeros:(function(target){return target.getBoundingClientRect?target.getBoundingClientRect():{left:0,top:0}}),fillMouseEventData:(function(eventStruct,e,target){HEAPF64[eventStruct>>3]=JSEvents.tick();HEAP32[eventStruct+8>>2]=e.screenX;HEAP32[eventStruct+12>>2]=e.screenY;HEAP32[eventStruct+16>>2]=e.clientX;HEAP32[eventStruct+20>>2]=e.clientY;HEAP32[eventStruct+24>>2]=e.ctrlKey;HEAP32[eventStruct+28>>2]=e.shiftKey;HEAP32[eventStruct+32>>2]=e.altKey;HEAP32[eventStruct+36>>2]=e.metaKey;HEAP16[eventStruct+40>>1]=e.button;HEAP16[eventStruct+42>>1]=e.buttons;HEAP32[eventStruct+44>>2]=e["movementX"]||e["mozMovementX"]||e["webkitMovementX"]||e.screenX-JSEvents.previousScreenX;HEAP32[eventStruct+48>>2]=e["movementY"]||e["mozMovementY"]||e["webkitMovementY"]||e.screenY-JSEvents.previousScreenY;if(Module["canvas"]){var rect=Module["canvas"].getBoundingClientRect();HEAP32[eventStruct+60>>2]=e.clientX-rect.left;HEAP32[eventStruct+64>>2]=e.clientY-rect.top}else{HEAP32[eventStruct+60>>2]=0;HEAP32[eventStruct+64>>2]=0}if(target){var rect=JSEvents.getBoundingClientRectOrZeros(target);HEAP32[eventStruct+52>>2]=e.clientX-rect.left;HEAP32[eventStruct+56>>2]=e.clientY-rect.top}else{HEAP32[eventStruct+52>>2]=0;HEAP32[eventStruct+56>>2]=0}if(e.type!=="wheel"&&e.type!=="mousewheel"){JSEvents.previousScreenX=e.screenX;JSEvents.previousScreenY=e.screenY}}),registerMouseEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.mouseEvent){JSEvents.mouseEvent=_malloc(72)}target=JSEvents.findEventTarget(target);var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.mouseEvent,e,target);var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.mouseEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:eventTypeString!="mousemove"&&eventTypeString!="mouseenter"&&eventTypeString!="mouseleave",eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};if(JSEvents.isInternetExplorer()&&eventTypeString=="mousedown")eventHandler.allowsDeferredCalls=false;JSEvents.registerOrRemoveHandler(eventHandler)}),registerWheelEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.wheelEvent){JSEvents.wheelEvent=_malloc(104)}target=JSEvents.findEventTarget(target);var wheelHandlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.wheelEvent,e,target);HEAPF64[JSEvents.wheelEvent+72>>3]=e["deltaX"];HEAPF64[JSEvents.wheelEvent+80>>3]=e["deltaY"];HEAPF64[JSEvents.wheelEvent+88>>3]=e["deltaZ"];HEAP32[JSEvents.wheelEvent+96>>2]=e["deltaMode"];var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.wheelEvent,userData);if(shouldCancel){e.preventDefault()}});var mouseWheelHandlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.wheelEvent,e,target);HEAPF64[JSEvents.wheelEvent+72>>3]=e["wheelDeltaX"]||0;HEAPF64[JSEvents.wheelEvent+80>>3]=-(e["wheelDeltaY"]?e["wheelDeltaY"]:e["wheelDelta"]);HEAPF64[JSEvents.wheelEvent+88>>3]=0;HEAP32[JSEvents.wheelEvent+96>>2]=0;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.wheelEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:eventTypeString=="wheel"?wheelHandlerFunc:mouseWheelHandlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),pageScrollPos:(function(){if(window.pageXOffset>0||window.pageYOffset>0){return[window.pageXOffset,window.pageYOffset]}if(typeof document.documentElement.scrollLeft!=="undefined"||typeof document.documentElement.scrollTop!=="undefined"){return[document.documentElement.scrollLeft,document.documentElement.scrollTop]}return[document.body.scrollLeft|0,document.body.scrollTop|0]}),registerUiEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.uiEvent){JSEvents.uiEvent=_malloc(36)}if(eventTypeString=="scroll"&&!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;if(e.target!=target){return}var scrollPos=JSEvents.pageScrollPos();HEAP32[JSEvents.uiEvent>>2]=e.detail;HEAP32[JSEvents.uiEvent+4>>2]=document.body.clientWidth;HEAP32[JSEvents.uiEvent+8>>2]=document.body.clientHeight;HEAP32[JSEvents.uiEvent+12>>2]=window.innerWidth;HEAP32[JSEvents.uiEvent+16>>2]=window.innerHeight;HEAP32[JSEvents.uiEvent+20>>2]=window.outerWidth;HEAP32[JSEvents.uiEvent+24>>2]=window.outerHeight;HEAP32[JSEvents.uiEvent+28>>2]=scrollPos[0];HEAP32[JSEvents.uiEvent+32>>2]=scrollPos[1];var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.uiEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),getNodeNameForTarget:(function(target){if(!target)return"";if(target==window)return"#window";if(target==window.screen)return"#screen";return target&&target.nodeName?target.nodeName:""}),registerFocusEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.focusEvent){JSEvents.focusEvent=_malloc(256)}var handlerFunc=(function(event){var e=event||window.event;var nodeName=JSEvents.getNodeNameForTarget(e.target);var id=e.target.id?e.target.id:"";stringToUTF8(nodeName,JSEvents.focusEvent+0,128);stringToUTF8(id,JSEvents.focusEvent+128,128);var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.focusEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),tick:(function(){if(window["performance"]&&window["performance"]["now"])return window["performance"]["now"]();else return Date.now()}),registerDeviceOrientationEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.deviceOrientationEvent){JSEvents.deviceOrientationEvent=_malloc(40)}var handlerFunc=(function(event){var e=event||window.event;HEAPF64[JSEvents.deviceOrientationEvent>>3]=JSEvents.tick();HEAPF64[JSEvents.deviceOrientationEvent+8>>3]=e.alpha;HEAPF64[JSEvents.deviceOrientationEvent+16>>3]=e.beta;HEAPF64[JSEvents.deviceOrientationEvent+24>>3]=e.gamma;HEAP32[JSEvents.deviceOrientationEvent+32>>2]=e.absolute;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.deviceOrientationEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerDeviceMotionEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.deviceMotionEvent){JSEvents.deviceMotionEvent=_malloc(80)}var handlerFunc=(function(event){var e=event||window.event;HEAPF64[JSEvents.deviceMotionEvent>>3]=JSEvents.tick();HEAPF64[JSEvents.deviceMotionEvent+8>>3]=e.acceleration.x;HEAPF64[JSEvents.deviceMotionEvent+16>>3]=e.acceleration.y;HEAPF64[JSEvents.deviceMotionEvent+24>>3]=e.acceleration.z;HEAPF64[JSEvents.deviceMotionEvent+32>>3]=e.accelerationIncludingGravity.x;HEAPF64[JSEvents.deviceMotionEvent+40>>3]=e.accelerationIncludingGravity.y;HEAPF64[JSEvents.deviceMotionEvent+48>>3]=e.accelerationIncludingGravity.z;HEAPF64[JSEvents.deviceMotionEvent+56>>3]=e.rotationRate.alpha;HEAPF64[JSEvents.deviceMotionEvent+64>>3]=e.rotationRate.beta;HEAPF64[JSEvents.deviceMotionEvent+72>>3]=e.rotationRate.gamma;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.deviceMotionEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),screenOrientation:(function(){if(!window.screen)return undefined;return window.screen.orientation||window.screen.mozOrientation||window.screen.webkitOrientation||window.screen.msOrientation}),fillOrientationChangeEventData:(function(eventStruct,e){var orientations=["portrait-primary","portrait-secondary","landscape-primary","landscape-secondary"];var orientations2=["portrait","portrait","landscape","landscape"];var orientationString=JSEvents.screenOrientation();var orientation=orientations.indexOf(orientationString);if(orientation==-1){orientation=orientations2.indexOf(orientationString)}HEAP32[eventStruct>>2]=1<>2]=window.orientation}),registerOrientationChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.orientationChangeEvent){JSEvents.orientationChangeEvent=_malloc(8)}if(!target){target=window.screen}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillOrientationChangeEventData(JSEvents.orientationChangeEvent,e);var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.orientationChangeEvent,userData);if(shouldCancel){e.preventDefault()}});if(eventTypeString=="orientationchange"&&window.screen.mozOrientation!==undefined){eventTypeString="mozorientationchange"}var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),fullscreenEnabled:(function(){return document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled}),fillFullscreenChangeEventData:(function(eventStruct,e){var fullscreenElement=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;var isFullscreen=!!fullscreenElement;HEAP32[eventStruct>>2]=isFullscreen;HEAP32[eventStruct+4>>2]=JSEvents.fullscreenEnabled();var reportedElement=isFullscreen?fullscreenElement:JSEvents.previousFullscreenElement;var nodeName=JSEvents.getNodeNameForTarget(reportedElement);var id=reportedElement&&reportedElement.id?reportedElement.id:"";stringToUTF8(nodeName,eventStruct+8,128);stringToUTF8(id,eventStruct+136,128);HEAP32[eventStruct+264>>2]=reportedElement?reportedElement.clientWidth:0;HEAP32[eventStruct+268>>2]=reportedElement?reportedElement.clientHeight:0;HEAP32[eventStruct+272>>2]=screen.width;HEAP32[eventStruct+276>>2]=screen.height;if(isFullscreen){JSEvents.previousFullscreenElement=fullscreenElement}}),registerFullscreenChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.fullscreenChangeEvent){JSEvents.fullscreenChangeEvent=_malloc(280)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillFullscreenChangeEventData(JSEvents.fullscreenChangeEvent,e);var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.fullscreenChangeEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),resizeCanvasForFullscreen:(function(target,strategy){var restoreOldStyle=__registerRestoreOldStyle(target);var cssWidth=strategy.softFullscreen?window.innerWidth:screen.width;var cssHeight=strategy.softFullscreen?window.innerHeight:screen.height;var rect=target.getBoundingClientRect();var windowedCssWidth=rect.right-rect.left;var windowedCssHeight=rect.bottom-rect.top;var windowedRttWidth=target.width;var windowedRttHeight=target.height;if(strategy.scaleMode==3){__setLetterbox(target,(cssHeight-windowedCssHeight)/2,(cssWidth-windowedCssWidth)/2);cssWidth=windowedCssWidth;cssHeight=windowedCssHeight}else if(strategy.scaleMode==2){if(cssWidth*windowedRttHeight>2]=isPointerlocked;var nodeName=JSEvents.getNodeNameForTarget(pointerLockElement);var id=pointerLockElement&&pointerLockElement.id?pointerLockElement.id:"";stringToUTF8(nodeName,eventStruct+4,128);stringToUTF8(id,eventStruct+132,128)}),registerPointerlockChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.pointerlockChangeEvent){JSEvents.pointerlockChangeEvent=_malloc(260)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillPointerlockChangeEventData(JSEvents.pointerlockChangeEvent,e);var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.pointerlockChangeEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerPointerlockErrorEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,0,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),requestPointerLock:(function(target){if(target.requestPointerLock){target.requestPointerLock()}else if(target.mozRequestPointerLock){target.mozRequestPointerLock()}else if(target.webkitRequestPointerLock){target.webkitRequestPointerLock()}else if(target.msRequestPointerLock){target.msRequestPointerLock()}else{if(document.body.requestPointerLock||document.body.mozRequestPointerLock||document.body.webkitRequestPointerLock||document.body.msRequestPointerLock){return-3}else{return-1}}return 0}),fillVisibilityChangeEventData:(function(eventStruct,e){var visibilityStates=["hidden","visible","prerender","unloaded"];var visibilityState=visibilityStates.indexOf(document.visibilityState);HEAP32[eventStruct>>2]=document.hidden;HEAP32[eventStruct+4>>2]=visibilityState}),registerVisibilityChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.visibilityChangeEvent){JSEvents.visibilityChangeEvent=_malloc(8)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillVisibilityChangeEventData(JSEvents.visibilityChangeEvent,e);var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.visibilityChangeEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerTouchEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.touchEvent){JSEvents.touchEvent=_malloc(1684)}target=JSEvents.findEventTarget(target);var handlerFunc=(function(event){var e=event||window.event;var touches={};for(var i=0;i>2]=e.ctrlKey;HEAP32[ptr+8>>2]=e.shiftKey;HEAP32[ptr+12>>2]=e.altKey;HEAP32[ptr+16>>2]=e.metaKey;ptr+=20;var canvasRect=Module["canvas"]?Module["canvas"].getBoundingClientRect():undefined;var targetRect=JSEvents.getBoundingClientRectOrZeros(target);var numTouches=0;for(var i in touches){var t=touches[i];HEAP32[ptr>>2]=t.identifier;HEAP32[ptr+4>>2]=t.screenX;HEAP32[ptr+8>>2]=t.screenY;HEAP32[ptr+12>>2]=t.clientX;HEAP32[ptr+16>>2]=t.clientY;HEAP32[ptr+20>>2]=t.pageX;HEAP32[ptr+24>>2]=t.pageY;HEAP32[ptr+28>>2]=t.changed;HEAP32[ptr+32>>2]=t.onTarget;if(canvasRect){HEAP32[ptr+44>>2]=t.clientX-canvasRect.left;HEAP32[ptr+48>>2]=t.clientY-canvasRect.top}else{HEAP32[ptr+44>>2]=0;HEAP32[ptr+48>>2]=0}HEAP32[ptr+36>>2]=t.clientX-targetRect.left;HEAP32[ptr+40>>2]=t.clientY-targetRect.top;ptr+=52;if(++numTouches>=32){break}}HEAP32[JSEvents.touchEvent>>2]=numTouches;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.touchEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:eventTypeString=="touchstart"||eventTypeString=="touchend",eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),fillGamepadEventData:(function(eventStruct,e){HEAPF64[eventStruct>>3]=e.timestamp;for(var i=0;i>3]=e.axes[i]}for(var i=0;i>3]=e.buttons[i].value}else{HEAPF64[eventStruct+i*8+528>>3]=e.buttons[i]}}for(var i=0;i>2]=e.buttons[i].pressed}else{HEAP32[eventStruct+i*4+1040>>2]=e.buttons[i]==1}}HEAP32[eventStruct+1296>>2]=e.connected;HEAP32[eventStruct+1300>>2]=e.index;HEAP32[eventStruct+8>>2]=e.axes.length;HEAP32[eventStruct+12>>2]=e.buttons.length;stringToUTF8(e.id,eventStruct+1304,64);stringToUTF8(e.mapping,eventStruct+1368,64)}),registerGamepadEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.gamepadEvent){JSEvents.gamepadEvent=_malloc(1432)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillGamepadEventData(JSEvents.gamepadEvent,e.gamepad);var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.gamepadEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerBeforeUnloadEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){var handlerFunc=(function(event){var e=event||window.event;var confirmationMessage=Module["dynCall_iiii"](callbackfunc,eventTypeId,0,userData);if(confirmationMessage){confirmationMessage=Pointer_stringify(confirmationMessage)}if(confirmationMessage){e.preventDefault();e.returnValue=confirmationMessage;return confirmationMessage}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),battery:(function(){return navigator.battery||navigator.mozBattery||navigator.webkitBattery}),fillBatteryEventData:(function(eventStruct,e){HEAPF64[eventStruct>>3]=e.chargingTime;HEAPF64[eventStruct+8>>3]=e.dischargingTime;HEAPF64[eventStruct+16>>3]=e.level;HEAP32[eventStruct+24>>2]=e.charging}),registerBatteryEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.batteryEvent){JSEvents.batteryEvent=_malloc(32)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillBatteryEventData(JSEvents.batteryEvent,JSEvents.battery());var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,JSEvents.batteryEvent,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerWebGlEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!target){target=Module["canvas"]}var handlerFunc=(function(event){var e=event||window.event;var shouldCancel=Module["dynCall_iiii"](callbackfunc,eventTypeId,0,userData);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)})};var __currentFullscreenStrategy={};function _emscripten_exit_fullscreen(){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;JSEvents.removeDeferredCalls(JSEvents.requestFullscreen);if(document.exitFullscreen){document.exitFullscreen()}else if(document.msExitFullscreen){document.msExitFullscreen()}else if(document.mozCancelFullScreen){document.mozCancelFullScreen()}else if(document.webkitExitFullscreen){document.webkitExitFullscreen()}else{return-1}if(__currentFullscreenStrategy.canvasResizedCallback){Module["dynCall_iiii"](__currentFullscreenStrategy.canvasResizedCallback,37,0,__currentFullscreenStrategy.canvasResizedCallbackUserData)}return 0}function _emscripten_exit_pointerlock(){JSEvents.removeDeferredCalls(JSEvents.requestPointerLock);if(document.exitPointerLock){document.exitPointerLock()}else if(document.msExitPointerLock){document.msExitPointerLock()}else if(document.mozExitPointerLock){document.mozExitPointerLock()}else if(document.webkitExitPointerLock){document.webkitExitPointerLock()}else{return-1}return 0}function _emscripten_get_device_pixel_ratio(){return window.devicePixelRatio||1}function _emscripten_get_element_css_size(target,width,height){if(!target){target=Module["canvas"]}else{target=JSEvents.findEventTarget(target)}if(!target)return-4;if(target.getBoundingClientRect){var rect=target.getBoundingClientRect();HEAPF64[width>>3]=rect.right-rect.left;HEAPF64[height>>3]=rect.bottom-rect.top}else{HEAPF64[width>>3]=target.clientWidth;HEAPF64[height>>3]=target.clientHeight}return 0}function __emscripten_sample_gamepad_data(){if(!JSEvents.numGamepadsConnected)return;if(Browser.mainLoop.currentFrameNumber!==JSEvents.lastGamepadStateFrame||!Browser.mainLoop.currentFrameNumber){JSEvents.lastGamepadState=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads:null;JSEvents.lastGamepadStateFrame=Browser.mainLoop.currentFrameNumber}}function _emscripten_get_gamepad_status(index,gamepadState){__emscripten_sample_gamepad_data();if(!JSEvents.lastGamepadState)return-1;if(index<0||index>=JSEvents.lastGamepadState.length)return-5;if(!JSEvents.lastGamepadState[index])return-7;JSEvents.fillGamepadEventData(gamepadState,JSEvents.lastGamepadState[index]);return 0}function _emscripten_get_num_gamepads(){if(!JSEvents.numGamepadsConnected)return 0;__emscripten_sample_gamepad_data();if(!JSEvents.lastGamepadState)return-1;return JSEvents.lastGamepadState.length}function _emscripten_get_pointerlock_status(pointerlockStatus){if(pointerlockStatus)JSEvents.fillPointerlockChangeEventData(pointerlockStatus);if(!document.body||!document.body.requestPointerLock&&!document.body.mozRequestPointerLock&&!document.body.webkitRequestPointerLock&&!document.body.msRequestPointerLock){return-1}return 0}function _emscripten_glActiveTexture(x0){GLctx["activeTexture"](x0)}function _emscripten_glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glBeginConditionalRender(){err("missing function: emscripten_glBeginConditionalRender");abort(-1)}function _emscripten_glBeginTransformFeedback(){err("missing function: emscripten_glBeginTransformFeedback");abort(-1)}function _emscripten_glBindAttribLocation(program,index,name){name=Pointer_stringify(name);GLctx.bindAttribLocation(GL.programs[program],index,name)}function _emscripten_glBindBuffer(target,buffer){var bufferObj=buffer?GL.buffers[buffer]:null;GLctx.bindBuffer(target,bufferObj)}function _emscripten_glBindBufferBase(){err("missing function: emscripten_glBindBufferBase");abort(-1)}function _emscripten_glBindBufferRange(){err("missing function: emscripten_glBindBufferRange");abort(-1)}function _emscripten_glBindFragDataLocation(){err("missing function: emscripten_glBindFragDataLocation");abort(-1)}function _emscripten_glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,framebuffer?GL.framebuffers[framebuffer]:null)}function _emscripten_glBindProgramARB(){err("missing function: emscripten_glBindProgramARB");abort(-1)}function _emscripten_glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,renderbuffer?GL.renderbuffers[renderbuffer]:null)}function _emscripten_glBindTexture(target,texture){GLctx.bindTexture(target,texture?GL.textures[texture]:null)}function _emscripten_glBindVertexArray(vao){GLctx["bindVertexArray"](GL.vaos[vao])}function _emscripten_glBlendColor(x0,x1,x2,x3){GLctx["blendColor"](x0,x1,x2,x3)}function _emscripten_glBlendEquation(x0){GLctx["blendEquation"](x0)}function _emscripten_glBlendEquationSeparate(x0,x1){GLctx["blendEquationSeparate"](x0,x1)}function _emscripten_glBlendFunc(x0,x1){GLctx["blendFunc"](x0,x1)}function _emscripten_glBlendFuncSeparate(x0,x1,x2,x3){GLctx["blendFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glBufferData(target,size,data,usage){if(!data){GLctx.bufferData(target,size,usage)}else{GLctx.bufferData(target,HEAPU8.subarray(data,data+size),usage)}}function _emscripten_glBufferSubData(target,offset,size,data){GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _emscripten_glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _emscripten_glClampColor(){err("missing function: emscripten_glClampColor");abort(-1)}function _emscripten_glClear(x0){GLctx["clear"](x0)}function _emscripten_glClearBufferfi(){err("missing function: emscripten_glClearBufferfi");abort(-1)}function _emscripten_glClearBufferfv(){err("missing function: emscripten_glClearBufferfv");abort(-1)}function _emscripten_glClearBufferiv(){err("missing function: emscripten_glClearBufferiv");abort(-1)}function _emscripten_glClearBufferuiv(){err("missing function: emscripten_glClearBufferuiv");abort(-1)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _emscripten_glClearDepth(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearDepthf(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearStencil(x0){GLctx["clearStencil"](x0)}function _emscripten_glClientActiveTexture(){err("missing function: emscripten_glClientActiveTexture");abort(-1)}function _emscripten_glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _emscripten_glColorMaski(){err("missing function: emscripten_glColorMaski");abort(-1)}function _emscripten_glColorPointer(){err("missing function: emscripten_glColorPointer");abort(-1)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexSubImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _emscripten_glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _emscripten_glCullFace(x0){GLctx["cullFace"](x0)}function _emscripten_glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GL.currArrayBuffer)GL.currArrayBuffer=0;if(id==GL.currElementArrayBuffer)GL.currElementArrayBuffer=0}}function _emscripten_glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _emscripten_glDeleteObjectARB(){err("missing function: emscripten_glDeleteObjectARB");abort(-1)}function _emscripten_glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _emscripten_glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _emscripten_glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _emscripten_glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDepthFunc(x0){GLctx["depthFunc"](x0)}function _emscripten_glDepthMask(flag){GLctx.depthMask(!!flag)}function _emscripten_glDepthRange(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDepthRangef(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glDisable(x0){GLctx["disable"](x0)}function _emscripten_glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _emscripten_glDisablei(){err("missing function: emscripten_glDisablei");abort(-1)}function _emscripten_glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawBuffers(n,bufs){var bufArray=GL.tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawRangeElements(){err("missing function: emscripten_glDrawRangeElements");abort(-1)}function _emscripten_glEnable(x0){GLctx["enable"](x0)}function _emscripten_glEnableClientState(){err("missing function: emscripten_glEnableClientState");abort(-1)}function _emscripten_glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _emscripten_glEnablei(){err("missing function: emscripten_glEnablei");abort(-1)}function _emscripten_glEndConditionalRender(){err("missing function: emscripten_glEndConditionalRender");abort(-1)}function _emscripten_glEndTransformFeedback(){err("missing function: emscripten_glEndTransformFeedback");abort(-1)}function _emscripten_glFinish(){GLctx["finish"]()}function _emscripten_glFlush(){GLctx["flush"]()}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _emscripten_glFrontFace(x0){GLctx["frontFace"](x0)}function _emscripten_glFrustum(){err("missing function: emscripten_glFrustum");abort(-1)}function _emscripten_glGenBuffers(n,buffers){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.buffers);buffer.name=id;GL.buffers[id]=buffer;HEAP32[buffers+i*4>>2]=id}}function _emscripten_glGenFramebuffers(n,ids){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.framebuffers);framebuffer.name=id;GL.framebuffers[id]=framebuffer;HEAP32[ids+i*4>>2]=id}}function _emscripten_glGenRenderbuffers(n,renderbuffers){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.renderbuffers);renderbuffer.name=id;GL.renderbuffers[id]=renderbuffer;HEAP32[renderbuffers+i*4>>2]=id}}function _emscripten_glGenTextures(n,textures){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.textures);texture.name=id;GL.textures[id]=texture;HEAP32[textures+i*4>>2]=id}}function _emscripten_glGenVertexArrays(n,arrays){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.vaos);vao.name=id;GL.vaos[id]=vao;HEAP32[arrays+i*4>>2]=id}}function _emscripten_glGenerateMipmap(x0){GLctx["generateMipmap"](x0)}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveAttrib(program,index);if(!info)return;if(bufSize>0&&name){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveUniform(program,index);if(!info)return;if(bufSize>0&&name){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glGetActiveUniformBlockName(){err("missing function: emscripten_glGetActiveUniformBlockName");abort(-1)}function _emscripten_glGetActiveUniformBlockiv(){err("missing function: emscripten_glGetActiveUniformBlockiv");abort(-1)}function _emscripten_glGetActiveUniformName(){err("missing function: emscripten_glGetActiveUniformName");abort(-1)}function _emscripten_glGetActiveUniformsiv(){err("missing function: emscripten_glGetActiveUniformsiv");abort(-1)}function _emscripten_glGetAttachedShaders(program,maxCount,count,shaders){var result=GLctx.getAttachedShaders(GL.programs[program]);var len=result.length;if(len>maxCount){len=maxCount}HEAP32[count>>2]=len;for(var i=0;i>2]=id}}function _emscripten_glGetAttribLocation(program,name){program=GL.programs[program];name=Pointer_stringify(name);return GLctx.getAttribLocation(program,name)}function _emscripten_glGetBooleani_v(){err("missing function: emscripten_glGetBooleani_v");abort(-1)}function emscriptenWebGLGet(name_,p,type){if(!p){GL.recordError(1281);return}var ret=undefined;switch(name_){case 36346:ret=1;break;case 36344:if(type!=="Integer"&&type!=="Integer64"){GL.recordError(1280)}return;case 36345:ret=0;break;case 34466:var formats=GLctx.getParameter(34467);ret=formats.length;break}if(ret===undefined){var result=GLctx.getParameter(name_);switch(typeof result){case"number":ret=result;break;case"boolean":ret=result?1:0;break;case"string":GL.recordError(1280);return;case"object":if(result===null){switch(name_){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34068:{ret=0;break};default:{GL.recordError(1280);return}}}else if(result instanceof Float32Array||result instanceof Uint32Array||result instanceof Int32Array||result instanceof Array){for(var i=0;i>2]=result[i];break;case"Float":HEAPF32[p+i*4>>2]=result[i];break;case"Boolean":HEAP8[p+i>>0]=result[i]?1:0;break;default:throw"internal glGet error, bad type: "+type}}return}else if(result instanceof WebGLBuffer||result instanceof WebGLProgram||result instanceof WebGLFramebuffer||result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){ret=result.name|0}else{GL.recordError(1280);return}break;default:GL.recordError(1280);return}}switch(type){case"Integer64":tempI64=[ret>>>0,(tempDouble=ret,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[p>>2]=tempI64[0],HEAP32[p+4>>2]=tempI64[1];break;case"Integer":HEAP32[p>>2]=ret;break;case"Float":HEAPF32[p>>2]=ret;break;case"Boolean":HEAP8[p>>0]=ret?1:0;break;default:throw"internal glGet error, bad type: "+type}}function _emscripten_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,"Boolean")}function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetError(){if(GL.lastError){var error=GL.lastError;GL.lastError=0;return error}else{return GLctx.getError()}}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,"Float")}function _emscripten_glGetFragDataLocation(){err("missing function: emscripten_glGetFragDataLocation");abort(-1)}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);if(result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){result=result.name|0}HEAP32[params>>2]=result}function _emscripten_glGetInfoLogARB(){err("missing function: emscripten_glGetInfoLogARB");abort(-1)}function _emscripten_glGetIntegeri_v(){err("missing function: emscripten_glGetIntegeri_v");abort(-1)}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,"Integer")}function _emscripten_glGetObjectParameterivARB(){err("missing function: emscripten_glGetObjectParameterivARB");abort(-1)}function _emscripten_glGetPointerv(){err("missing function: emscripten_glGetPointerv");abort(-1)}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";if(maxLength>0&&infoLog){var numBytesWrittenExclNull=stringToUTF8(log,infoLog,maxLength);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,GLctx.ACTIVE_ATTRIBUTES);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,GLctx.ACTIVE_UNIFORM_BLOCKS);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";if(maxLength>0&&infoLog){var numBytesWrittenExclNull=stringToUTF8(log,infoLog,maxLength);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetShaderPrecisionFormat(shaderType,precisionType,range,precision){var result=GLctx.getShaderPrecisionFormat(shaderType,precisionType);HEAP32[range>>2]=result.rangeMin;HEAP32[range+4>>2]=result.rangeMax;HEAP32[precision>>2]=result.precision}function _emscripten_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;if(bufSize>0&&source){var numBytesWrittenExclNull=stringToUTF8(result,source,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source===null||source.length==0?0:source.length+1;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7936:case 7937:case 37445:case 37446:ret=allocate(intArrayFromString(GLctx.getParameter(name_)),"i8",ALLOC_NORMAL);break;case 7938:var glVersion=GLctx.getParameter(GLctx.VERSION);{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=allocate(intArrayFromString(glVersion),"i8",ALLOC_NORMAL);break;case 7939:var exts=GLctx.getSupportedExtensions();var gl_exts=[];for(var i=0;i>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTransformFeedbackVarying(){err("missing function: emscripten_glGetTransformFeedbackVarying");abort(-1)}function _emscripten_glGetUniformBlockIndex(){err("missing function: emscripten_glGetUniformBlockIndex");abort(-1)}function _emscripten_glGetUniformIndices(){err("missing function: emscripten_glGetUniformIndices");abort(-1)}function _emscripten_glGetUniformLocation(program,name){name=Pointer_stringify(name);var arrayOffset=0;if(name.indexOf("]",name.length-1)!==-1){var ls=name.lastIndexOf("[");var arrayIndex=name.slice(ls+1,-1);if(arrayIndex.length>0){arrayOffset=parseInt(arrayIndex);if(arrayOffset<0){return-1}}name=name.slice(0,ls)}var ptable=GL.programInfos[program];if(!ptable){return-1}var utable=ptable.uniforms;var uniformInfo=utable[name];if(uniformInfo&&arrayOffset>2]=data;break;case"Float":HEAPF32[params>>2]=data;break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}else{for(var i=0;i>2]=data[i];break;case"Float":HEAPF32[params+i*4>>2]=data[i];break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}}}function _emscripten_glGetUniformfv(program,location,params){emscriptenWebGLGetUniform(program,location,params,"Float")}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,"Integer")}function _emscripten_glGetUniformuiv(){err("missing function: emscripten_glGetUniformuiv");abort(-1)}function _emscripten_glGetVertexAttribIiv(){err("missing function: emscripten_glGetVertexAttribIiv");abort(-1)}function _emscripten_glGetVertexAttribIuiv(){err("missing function: emscripten_glGetVertexAttribIuiv");abort(-1)}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getVertexAttrib(index,pname);if(pname==34975){HEAP32[params>>2]=data["name"]}else if(typeof data=="number"||typeof data=="boolean"){switch(type){case"Integer":HEAP32[params>>2]=data;break;case"Float":HEAPF32[params>>2]=data;break;case"FloatToInteger":HEAP32[params>>2]=Math.fround(data);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+type}}else{for(var i=0;i>2]=data[i];break;case"Float":HEAPF32[params+i*4>>2]=data[i];break;case"FloatToInteger":HEAP32[params+i*4>>2]=Math.fround(data[i]);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+type}}}}function _emscripten_glGetVertexAttribfv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,"Float")}function _emscripten_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,"FloatToInteger")}function _emscripten_glHint(x0,x1){GLctx["hint"](x0,x1)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glIsEnabled(x0){return GLctx["isEnabled"](x0)}function _emscripten_glIsEnabledi(){err("missing function: emscripten_glIsEnabledi");abort(-1)}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glIsProgram(program){program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function _emscripten_glIsRenderbuffer(renderbuffer){var rb=GL.renderbuffers[renderbuffer];if(!rb)return 0;return GLctx.isRenderbuffer(rb)}function _emscripten_glIsShader(shader){var s=GL.shaders[shader];if(!s)return 0;return GLctx.isShader(s)}function _emscripten_glIsTexture(texture){var texture=GL.textures[texture];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glIsVertexArray(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glLineWidth(x0){GLctx["lineWidth"](x0)}function _emscripten_glLinkProgram(program){GLctx.linkProgram(GL.programs[program]);GL.programInfos[program]=null;GL.populateUniformTable(program)}function _emscripten_glLoadIdentity(){throw"Legacy GL function (glLoadIdentity) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _emscripten_glLoadMatrixf(){err("missing function: emscripten_glLoadMatrixf");abort(-1)}function _emscripten_glMatrixMode(){throw"Legacy GL function (glMatrixMode) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _emscripten_glNormalPointer(){err("missing function: emscripten_glNormalPointer");abort(-1)}function _emscripten_glPixelStorei(pname,param){if(pname==3333){GL.packAlignment=param}else if(pname==3317){GL.unpackAlignment=param}GLctx.pixelStorei(pname,param)}function _emscripten_glPolygonOffset(x0,x1){GLctx["polygonOffset"](x0,x1)}function emscriptenWebGLComputeImageSize(width,height,sizePerPixel,alignment){function roundedToNextMultipleOf(x,y){return Math.floor((x+y-1)/y)*y}var plainRowSize=width*sizePerPixel;var alignedRowSize=roundedToNextMultipleOf(plainRowSize,alignment);return height<=0?0:(height-1)*alignedRowSize+plainRowSize}function emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat){var sizePerPixel;var numChannels;switch(format){case 6406:case 6409:case 6402:numChannels=1;break;case 6410:numChannels=2;break;case 6407:case 35904:numChannels=3;break;case 6408:case 35906:numChannels=4;break;default:GL.recordError(1280);return null}switch(type){case 5121:sizePerPixel=numChannels*1;break;case 5123:case 36193:sizePerPixel=numChannels*2;break;case 5125:case 5126:sizePerPixel=numChannels*4;break;case 34042:sizePerPixel=4;break;case 33635:case 32819:case 32820:sizePerPixel=2;break;default:GL.recordError(1280);return null}var bytes=emscriptenWebGLComputeImageSize(width,height,sizePerPixel,GL.unpackAlignment);switch(type){case 5121:return HEAPU8.subarray(pixels,pixels+bytes);case 5126:return HEAPF32.subarray(pixels>>2,pixels+bytes>>2);case 5125:case 34042:return HEAPU32.subarray(pixels>>2,pixels+bytes>>2);case 5123:case 33635:case 32819:case 32820:case 36193:return HEAPU16.subarray(pixels>>1,pixels+bytes>>1);default:GL.recordError(1280);return null}}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _emscripten_glReleaseShaderCompiler(){}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _emscripten_glRotatef(){err("missing function: emscripten_glRotatef");abort(-1)}function _emscripten_glSampleCoverage(value,invert){GLctx.sampleCoverage(value,!!invert)}function _emscripten_glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _emscripten_glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glStencilMask(x0){GLctx["stencilMask"](x0)}function _emscripten_glStencilMaskSeparate(x0,x1){GLctx["stencilMaskSeparate"](x0,x1)}function _emscripten_glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _emscripten_glTexCoordPointer(){err("missing function: emscripten_glTexCoordPointer");abort(-1)}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixelData)}function _emscripten_glTexImage3D(){err("missing function: emscripten_glTexImage3D");abort(-1)}function _emscripten_glTexParameterIiv(){err("missing function: emscripten_glTexParameterIiv");abort(-1)}function _emscripten_glTexParameterIuiv(){err("missing function: emscripten_glTexParameterIuiv");abort(-1)}function _emscripten_glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glTexStorage2D(){err("missing function: emscripten_glTexStorage2D");abort(-1)}function _emscripten_glTexStorage3D(){err("missing function: emscripten_glTexStorage3D");abort(-1)}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _emscripten_glTexSubImage3D(){err("missing function: emscripten_glTexSubImage3D");abort(-1)}function _emscripten_glTransformFeedbackVaryings(){err("missing function: emscripten_glTransformFeedbackVaryings");abort(-1)}function _emscripten_glUniform1f(location,v0){GLctx.uniform1f(GL.uniforms[location],v0)}function _emscripten_glUniform1fv(location,count,value){var view;if(count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[count-1];for(var i=0;i>2]}}else{view=HEAPF32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1fv(GL.uniforms[location],view)}function _emscripten_glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}function _emscripten_glUniform1iv(location,count,value){GLctx.uniform1iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*4>>2))}function _emscripten_glUniform1ui(){err("missing function: emscripten_glUniform1ui");abort(-1)}function _emscripten_glUniform2f(location,v0,v1){GLctx.uniform2f(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2fv(location,count,value){var view;if(2*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2fv(GL.uniforms[location],view)}function _emscripten_glUniform2i(location,v0,v1){GLctx.uniform2i(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2iv(location,count,value){GLctx.uniform2iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*8>>2))}function _emscripten_glUniform2ui(){err("missing function: emscripten_glUniform2ui");abort(-1)}function _emscripten_glUniform3f(location,v0,v1,v2){GLctx.uniform3f(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3fv(location,count,value){var view;if(3*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3fv(GL.uniforms[location],view)}function _emscripten_glUniform3i(location,v0,v1,v2){GLctx.uniform3i(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3iv(location,count,value){GLctx.uniform3iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*12>>2))}function _emscripten_glUniform3ui(){err("missing function: emscripten_glUniform3ui");abort(-1)}function _emscripten_glUniform4f(location,v0,v1,v2,v3){GLctx.uniform4f(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4fv(location,count,value){var view;if(4*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(GL.uniforms[location],view)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){GLctx.uniform4i(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4iv(location,count,value){GLctx.uniform4iv(GL.uniforms[location],HEAP32.subarray(value>>2,value+count*16>>2))}function _emscripten_glUniform4ui(){err("missing function: emscripten_glUniform4ui");abort(-1)}function _emscripten_glUniformBlockBinding(){err("missing function: emscripten_glUniformBlockBinding");abort(-1)}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){var view;if(4*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){var view;if(9*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[9*count-1];for(var i=0;i<9*count;i+=9){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*36>>2)}GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){var view;if(16*count<=GL.MINI_TEMP_BUFFER_SIZE){view=GL.miniTempBufferViews[16*count-1];for(var i=0;i<16*count;i+=16){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2];view[i+9]=HEAPF32[value+(4*i+36)>>2];view[i+10]=HEAPF32[value+(4*i+40)>>2];view[i+11]=HEAPF32[value+(4*i+44)>>2];view[i+12]=HEAPF32[value+(4*i+48)>>2];view[i+13]=HEAPF32[value+(4*i+52)>>2];view[i+14]=HEAPF32[value+(4*i+56)>>2];view[i+15]=HEAPF32[value+(4*i+60)>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUseProgram(program){GLctx.useProgram(program?GL.programs[program]:null)}function _emscripten_glValidateProgram(program){GLctx.validateProgram(GL.programs[program])}function _emscripten_glVertexAttrib1f(x0,x1){GLctx["vertexAttrib1f"](x0,x1)}function _emscripten_glVertexAttrib1fv(index,v){GLctx.vertexAttrib1f(index,HEAPF32[v>>2])}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx["vertexAttrib2f"](x0,x1,x2)}function _emscripten_glVertexAttrib2fv(index,v){GLctx.vertexAttrib2f(index,HEAPF32[v>>2],HEAPF32[v+4>>2])}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx["vertexAttrib3f"](x0,x1,x2,x3)}function _emscripten_glVertexAttrib3fv(index,v){GLctx.vertexAttrib3f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2])}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx["vertexAttrib4f"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttrib4fv(index,v){GLctx.vertexAttrib4f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2],HEAPF32[v+12>>2])}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribI1i(){err("missing function: emscripten_glVertexAttribI1i");abort(-1)}function _emscripten_glVertexAttribI1iv(){err("missing function: emscripten_glVertexAttribI1iv");abort(-1)}function _emscripten_glVertexAttribI1ui(){err("missing function: emscripten_glVertexAttribI1ui");abort(-1)}function _emscripten_glVertexAttribI1uiv(){err("missing function: emscripten_glVertexAttribI1uiv");abort(-1)}function _emscripten_glVertexAttribI2i(){err("missing function: emscripten_glVertexAttribI2i");abort(-1)}function _emscripten_glVertexAttribI2iv(){err("missing function: emscripten_glVertexAttribI2iv");abort(-1)}function _emscripten_glVertexAttribI2ui(){err("missing function: emscripten_glVertexAttribI2ui");abort(-1)}function _emscripten_glVertexAttribI2uiv(){err("missing function: emscripten_glVertexAttribI2uiv");abort(-1)}function _emscripten_glVertexAttribI3i(){err("missing function: emscripten_glVertexAttribI3i");abort(-1)}function _emscripten_glVertexAttribI3iv(){err("missing function: emscripten_glVertexAttribI3iv");abort(-1)}function _emscripten_glVertexAttribI3ui(){err("missing function: emscripten_glVertexAttribI3ui");abort(-1)}function _emscripten_glVertexAttribI3uiv(){err("missing function: emscripten_glVertexAttribI3uiv");abort(-1)}function _emscripten_glVertexAttribI4bv(){err("missing function: emscripten_glVertexAttribI4bv");abort(-1)}function _emscripten_glVertexAttribI4i(){err("missing function: emscripten_glVertexAttribI4i");abort(-1)}function _emscripten_glVertexAttribI4iv(){err("missing function: emscripten_glVertexAttribI4iv");abort(-1)}function _emscripten_glVertexAttribI4sv(){err("missing function: emscripten_glVertexAttribI4sv");abort(-1)}function _emscripten_glVertexAttribI4ubv(){err("missing function: emscripten_glVertexAttribI4ubv");abort(-1)}function _emscripten_glVertexAttribI4ui(){err("missing function: emscripten_glVertexAttribI4ui");abort(-1)}function _emscripten_glVertexAttribI4uiv(){err("missing function: emscripten_glVertexAttribI4uiv");abort(-1)}function _emscripten_glVertexAttribI4usv(){err("missing function: emscripten_glVertexAttribI4usv");abort(-1)}function _emscripten_glVertexAttribIPointer(){err("missing function: emscripten_glVertexAttribIPointer");abort(-1)}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _emscripten_glVertexPointer(){throw"Legacy GL function (glVertexPointer) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _emscripten_glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}function _emscripten_is_main_browser_thread(){return!ENVIRONMENT_IS_WORKER}function _longjmp(env,value){Module["setThrew"](env,value||1);throw"longjmp"}function _emscripten_longjmp(env,value){_longjmp(env,value)}function __setLetterbox(element,topBottom,leftRight){if(JSEvents.isInternetExplorer()){element.style.marginLeft=element.style.marginRight=leftRight+"px";element.style.marginTop=element.style.marginBottom=topBottom+"px"}else{element.style.paddingLeft=element.style.paddingRight=leftRight+"px";element.style.paddingTop=element.style.paddingBottom=topBottom+"px"}}function _emscripten_do_request_fullscreen(target,strategy){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;if(!JSEvents.fullscreenEnabled())return-3;if(!target)target="#canvas";target=JSEvents.findEventTarget(target);if(!target)return-4;if(!target.requestFullscreen&&!target.msRequestFullscreen&&!target.mozRequestFullScreen&&!target.mozRequestFullscreen&&!target.webkitRequestFullscreen){return-3}var canPerformRequests=JSEvents.canPerformEventHandlerRequests();if(!canPerformRequests){if(strategy.deferUntilInEventHandler){JSEvents.deferCall(JSEvents.requestFullscreen,1,[target,strategy]);return 1}else{return-2}}return JSEvents.requestFullscreen(target,strategy)}function __registerRestoreOldStyle(canvas){var oldWidth=canvas.width;var oldHeight=canvas.height;var oldCssWidth=canvas.style.width;var oldCssHeight=canvas.style.height;var oldBackgroundColor=canvas.style.backgroundColor;var oldDocumentBackgroundColor=document.body.style.backgroundColor;var oldPaddingLeft=canvas.style.paddingLeft;var oldPaddingRight=canvas.style.paddingRight;var oldPaddingTop=canvas.style.paddingTop;var oldPaddingBottom=canvas.style.paddingBottom;var oldMarginLeft=canvas.style.marginLeft;var oldMarginRight=canvas.style.marginRight;var oldMarginTop=canvas.style.marginTop;var oldMarginBottom=canvas.style.marginBottom;var oldDocumentBodyMargin=document.body.style.margin;var oldDocumentOverflow=document.documentElement.style.overflow;var oldDocumentScroll=document.body.scroll;var oldImageRendering=canvas.style.imageRendering;function restoreOldStyle(){var fullscreenElement=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;if(!fullscreenElement){document.removeEventListener("fullscreenchange",restoreOldStyle);document.removeEventListener("mozfullscreenchange",restoreOldStyle);document.removeEventListener("webkitfullscreenchange",restoreOldStyle);document.removeEventListener("MSFullscreenChange",restoreOldStyle);canvas.width=oldWidth;canvas.height=oldHeight;canvas.style.width=oldCssWidth;canvas.style.height=oldCssHeight;canvas.style.backgroundColor=oldBackgroundColor;if(!oldDocumentBackgroundColor)document.body.style.backgroundColor="white";document.body.style.backgroundColor=oldDocumentBackgroundColor;canvas.style.paddingLeft=oldPaddingLeft;canvas.style.paddingRight=oldPaddingRight;canvas.style.paddingTop=oldPaddingTop;canvas.style.paddingBottom=oldPaddingBottom;canvas.style.marginLeft=oldMarginLeft;canvas.style.marginRight=oldMarginRight;canvas.style.marginTop=oldMarginTop;canvas.style.marginBottom=oldMarginBottom;document.body.style.margin=oldDocumentBodyMargin;document.documentElement.style.overflow=oldDocumentOverflow;document.body.scroll=oldDocumentScroll;canvas.style.imageRendering=oldImageRendering;if(canvas.GLctxObject)canvas.GLctxObject.GLctx.viewport(0,0,oldWidth,oldHeight);if(__currentFullscreenStrategy.canvasResizedCallback){Module["dynCall_iiii"](__currentFullscreenStrategy.canvasResizedCallback,37,0,__currentFullscreenStrategy.canvasResizedCallbackUserData)}}}document.addEventListener("fullscreenchange",restoreOldStyle);document.addEventListener("mozfullscreenchange",restoreOldStyle);document.addEventListener("webkitfullscreenchange",restoreOldStyle);document.addEventListener("MSFullscreenChange",restoreOldStyle);return restoreOldStyle}function _emscripten_request_fullscreen_strategy(target,deferUntilInEventHandler,fullscreenStrategy){var strategy={};strategy.scaleMode=HEAP32[fullscreenStrategy>>2];strategy.canvasResolutionScaleMode=HEAP32[fullscreenStrategy+4>>2];strategy.filteringMode=HEAP32[fullscreenStrategy+8>>2];strategy.deferUntilInEventHandler=deferUntilInEventHandler;strategy.canvasResizedCallback=HEAP32[fullscreenStrategy+12>>2];strategy.canvasResizedCallbackUserData=HEAP32[fullscreenStrategy+16>>2];__currentFullscreenStrategy=strategy;return _emscripten_do_request_fullscreen(target,strategy)}function _emscripten_request_pointerlock(target,deferUntilInEventHandler){if(!target)target="#canvas";target=JSEvents.findEventTarget(target);if(!target)return-4;if(!target.requestPointerLock&&!target.mozRequestPointerLock&&!target.webkitRequestPointerLock&&!target.msRequestPointerLock){return-1}var canPerformRequests=JSEvents.canPerformEventHandlerRequests();if(!canPerformRequests){if(deferUntilInEventHandler){JSEvents.deferCall(JSEvents.requestPointerLock,2,[target]);return 1}else{return-2}}return JSEvents.requestPointerLock(target)}function _emscripten_set_blur_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,12,"blur");return 0}function _emscripten_set_canvas_size(width,height){Browser.setCanvasSize(width,height)}function _emscripten_set_element_css_size(target,width,height){if(!target){target=Module["canvas"]}else{target=JSEvents.findEventTarget(target)}if(!target)return-4;target.style.setProperty("width",width+"px");target.style.setProperty("height",height+"px");return 0}function _emscripten_set_focus_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,13,"focus");return 0}function _emscripten_set_fullscreenchange_callback(target,userData,useCapture,callbackfunc){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;if(!target)target=document;else{target=JSEvents.findEventTarget(target);if(!target)return-4}JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"fullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"mozfullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"webkitfullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"msfullscreenchange");return 0}function _emscripten_set_gamepadconnected_callback(userData,useCapture,callbackfunc){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;JSEvents.registerGamepadEventCallback(window,userData,useCapture,callbackfunc,26,"gamepadconnected");return 0}function _emscripten_set_gamepaddisconnected_callback(userData,useCapture,callbackfunc){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;JSEvents.registerGamepadEventCallback(window,userData,useCapture,callbackfunc,27,"gamepaddisconnected");return 0}function _emscripten_set_keydown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,2,"keydown");return 0}function _emscripten_set_keypress_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,1,"keypress");return 0}function _emscripten_set_keyup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,3,"keyup");return 0}function _emscripten_set_mousedown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,5,"mousedown");return 0}function _emscripten_set_mouseenter_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,33,"mouseenter");return 0}function _emscripten_set_mouseleave_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,34,"mouseleave");return 0}function _emscripten_set_mousemove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,8,"mousemove");return 0}function _emscripten_set_mouseup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,6,"mouseup");return 0}function _emscripten_set_resize_callback(target,userData,useCapture,callbackfunc){JSEvents.registerUiEventCallback(target,userData,useCapture,callbackfunc,10,"resize");return 0}function _emscripten_set_touchcancel_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,25,"touchcancel");return 0}function _emscripten_set_touchend_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,23,"touchend");return 0}function _emscripten_set_touchmove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,24,"touchmove");return 0}function _emscripten_set_touchstart_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,22,"touchstart");return 0}function _emscripten_set_visibilitychange_callback(userData,useCapture,callbackfunc){JSEvents.registerVisibilityChangeEventCallback(document,userData,useCapture,callbackfunc,21,"visibilitychange");return 0}function _emscripten_set_wheel_callback(target,userData,useCapture,callbackfunc){target=JSEvents.findEventTarget(target);if(typeof target.onwheel!=="undefined"){JSEvents.registerWheelEventCallback(target,userData,useCapture,callbackfunc,9,"wheel");return 0}else if(typeof target.onmousewheel!=="undefined"){JSEvents.registerWheelEventCallback(target,userData,useCapture,callbackfunc,9,"mousewheel");return 0}else{return-1}}var Fetch={attr_t_offset_requestMethod:0,attr_t_offset_userData:32,attr_t_offset_onsuccess:36,attr_t_offset_onerror:40,attr_t_offset_onprogress:44,attr_t_offset_attributes:48,attr_t_offset_timeoutMSecs:52,attr_t_offset_withCredentials:56,attr_t_offset_destinationPath:60,attr_t_offset_userName:64,attr_t_offset_password:68,attr_t_offset_requestHeaders:72,attr_t_offset_overriddenMimeType:76,attr_t_offset_requestData:80,attr_t_offset_requestDataSize:84,fetch_t_offset_id:0,fetch_t_offset_userData:4,fetch_t_offset_url:8,fetch_t_offset_data:12,fetch_t_offset_numBytes:16,fetch_t_offset_dataOffset:24,fetch_t_offset_totalBytes:32,fetch_t_offset_readyState:40,fetch_t_offset_status:42,fetch_t_offset_statusText:44,fetch_t_offset___proxyState:108,fetch_t_offset___attributes:112,xhrs:[],worker:undefined,dbInstance:undefined,setu64:(function(addr,val){HEAPU32[addr>>2]=val;HEAPU32[addr+4>>2]=val/4294967296|0}),openDatabase:(function(dbname,dbversion,onsuccess,onerror){try{var openRequest=indexedDB.open(dbname,dbversion)}catch(e){return onerror(e)}openRequest.onupgradeneeded=(function(event){var db=event.target.result;if(db.objectStoreNames.contains("FILES")){db.deleteObjectStore("FILES")}db.createObjectStore("FILES")});openRequest.onsuccess=(function(event){onsuccess(event.target.result)});openRequest.onerror=(function(error){onerror(error)})}),initFetchWorker:(function(){var stackSize=128*1024;var stack=allocate(stackSize>>2,"i32*",ALLOC_DYNAMIC);Fetch.worker.postMessage({cmd:"init",TOTAL_MEMORY:TOTAL_MEMORY,DYNAMICTOP_PTR:DYNAMICTOP_PTR,STACKTOP:stack,STACK_MAX:stack+stackSize,queuePtr:_fetch_work_queue,buffer:HEAPU8.buffer})}),staticInit:(function(){var onsuccess=(function(db){Fetch.dbInstance=db;if(typeof ENVIRONMENT_IS_FETCH_WORKER==="undefined"||!ENVIRONMENT_IS_FETCH_WORKER)removeRunDependency("library_fetch_init")});var onerror=(function(){Fetch.dbInstance=false});Fetch.openDatabase("emscripten_filesystem",1,onsuccess,onerror);if(typeof ENVIRONMENT_IS_FETCH_WORKER==="undefined"||!ENVIRONMENT_IS_FETCH_WORKER)addRunDependency("library_fetch_init")})};function __emscripten_fetch_xhr(fetch,onsuccess,onerror,onprogress){var url=HEAPU32[fetch+Fetch.fetch_t_offset_url>>2];if(!url){onerror(fetch,0,"no url specified!");return}var url_=Pointer_stringify(url);var fetch_attr=fetch+Fetch.fetch_t_offset___attributes;var requestMethod=Pointer_stringify(fetch_attr);if(!requestMethod)requestMethod="GET";var userData=HEAPU32[fetch_attr+Fetch.attr_t_offset_userData>>2];var fetchAttributes=HEAPU32[fetch_attr+Fetch.attr_t_offset_attributes>>2];var timeoutMsecs=HEAPU32[fetch_attr+Fetch.attr_t_offset_timeoutMSecs>>2];var withCredentials=!!HEAPU32[fetch_attr+Fetch.attr_t_offset_withCredentials>>2];var destinationPath=HEAPU32[fetch_attr+Fetch.attr_t_offset_destinationPath>>2];var userName=HEAPU32[fetch_attr+Fetch.attr_t_offset_userName>>2];var password=HEAPU32[fetch_attr+Fetch.attr_t_offset_password>>2];var requestHeaders=HEAPU32[fetch_attr+Fetch.attr_t_offset_requestHeaders>>2];var overriddenMimeType=HEAPU32[fetch_attr+Fetch.attr_t_offset_overriddenMimeType>>2];var dataPtr=HEAPU32[fetch_attr+Fetch.attr_t_offset_requestData>>2];var dataLength=HEAPU32[fetch_attr+Fetch.attr_t_offset_requestDataSize>>2];var fetchAttrLoadToMemory=!!(fetchAttributes&1);var fetchAttrStreamData=!!(fetchAttributes&2);var fetchAttrSynchronous=!!(fetchAttributes&64);var userNameStr=userName?Pointer_stringify(userName):undefined;var passwordStr=password?Pointer_stringify(password):undefined;var overriddenMimeTypeStr=overriddenMimeType?Pointer_stringify(overriddenMimeType):undefined;var xhr=new XMLHttpRequest;xhr.withCredentials=withCredentials;xhr.open(requestMethod,url_,!fetchAttrSynchronous,userNameStr,passwordStr);if(!fetchAttrSynchronous)xhr.timeout=timeoutMsecs;xhr.url_=url_;xhr.responseType=fetchAttrStreamData?"moz-chunked-arraybuffer":"arraybuffer";if(overriddenMimeType){xhr.overrideMimeType(overriddenMimeTypeStr)}if(requestHeaders){for(;;){var key=HEAPU32[requestHeaders>>2];if(!key)break;var value=HEAPU32[requestHeaders+4>>2];if(!value)break;requestHeaders+=8;var keyStr=Pointer_stringify(key);var valueStr=Pointer_stringify(value);xhr.setRequestHeader(keyStr,valueStr)}}Fetch.xhrs.push(xhr);var id=Fetch.xhrs.length;HEAPU32[fetch+Fetch.fetch_t_offset_id>>2]=id;var data=dataPtr&&dataLength?HEAPU8.slice(dataPtr,dataPtr+dataLength):null;xhr.onload=(function(e){var len=xhr.response?xhr.response.byteLength:0;var ptr=0;var ptrLen=0;if(fetchAttrLoadToMemory&&!fetchAttrStreamData){ptrLen=len;ptr=_malloc(ptrLen);HEAPU8.set(new Uint8Array(xhr.response),ptr)}HEAPU32[fetch+Fetch.fetch_t_offset_data>>2]=ptr;Fetch.setu64(fetch+Fetch.fetch_t_offset_numBytes,ptrLen);Fetch.setu64(fetch+Fetch.fetch_t_offset_dataOffset,0);if(len){Fetch.setu64(fetch+Fetch.fetch_t_offset_totalBytes,len)}HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=xhr.readyState;if(xhr.readyState===4&&xhr.status===0){if(len>0)xhr.status=200;else xhr.status=404}HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=xhr.status;if(xhr.statusText)stringToUTF8(xhr.statusText,fetch+Fetch.fetch_t_offset_statusText,64);if(xhr.status==200){if(onsuccess)onsuccess(fetch,xhr,e)}else{if(onerror)onerror(fetch,xhr,e)}});xhr.onerror=(function(e){var status=xhr.status;if(xhr.readyState==4&&status==0)status=404;HEAPU32[fetch+Fetch.fetch_t_offset_data>>2]=0;Fetch.setu64(fetch+Fetch.fetch_t_offset_numBytes,0);Fetch.setu64(fetch+Fetch.fetch_t_offset_dataOffset,0);Fetch.setu64(fetch+Fetch.fetch_t_offset_totalBytes,0);HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=xhr.readyState;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=status;if(onerror)onerror(fetch,xhr,e)});xhr.ontimeout=(function(e){if(onerror)onerror(fetch,xhr,e)});xhr.onprogress=(function(e){var ptrLen=fetchAttrLoadToMemory&&fetchAttrStreamData&&xhr.response?xhr.response.byteLength:0;var ptr=0;if(fetchAttrLoadToMemory&&fetchAttrStreamData){ptr=_malloc(ptrLen);HEAPU8.set(new Uint8Array(xhr.response),ptr)}HEAPU32[fetch+Fetch.fetch_t_offset_data>>2]=ptr;Fetch.setu64(fetch+Fetch.fetch_t_offset_numBytes,ptrLen);Fetch.setu64(fetch+Fetch.fetch_t_offset_dataOffset,e.loaded-ptrLen);Fetch.setu64(fetch+Fetch.fetch_t_offset_totalBytes,e.total);HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=xhr.readyState;if(xhr.readyState>=3&&xhr.status===0&&e.loaded>0)xhr.status=200;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=xhr.status;if(xhr.statusText)stringToUTF8(xhr.statusText,fetch+Fetch.fetch_t_offset_statusText,64);if(onprogress)onprogress(fetch,xhr,e)});try{xhr.send(data)}catch(e){if(onerror)onerror(fetch,xhr,e)}}function __emscripten_fetch_cache_data(db,fetch,data,onsuccess,onerror){if(!db){onerror(fetch,0,"IndexedDB not available!");return}var fetch_attr=fetch+Fetch.fetch_t_offset___attributes;var destinationPath=HEAPU32[fetch_attr+Fetch.attr_t_offset_destinationPath>>2];if(!destinationPath)destinationPath=HEAPU32[fetch+Fetch.fetch_t_offset_url>>2];var destinationPathStr=Pointer_stringify(destinationPath);try{var transaction=db.transaction(["FILES"],"readwrite");var packages=transaction.objectStore("FILES");var putRequest=packages.put(data,destinationPathStr);putRequest.onsuccess=(function(event){HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=4;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=200;stringToUTF8("OK",fetch+Fetch.fetch_t_offset_statusText,64);onsuccess(fetch,0,destinationPathStr)});putRequest.onerror=(function(error){HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=4;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=413;stringToUTF8("Payload Too Large",fetch+Fetch.fetch_t_offset_statusText,64);onerror(fetch,0,error)})}catch(e){onerror(fetch,0,e)}}function __emscripten_fetch_load_cached_data(db,fetch,onsuccess,onerror){if(!db){onerror(fetch,0,"IndexedDB not available!");return}var fetch_attr=fetch+Fetch.fetch_t_offset___attributes;var path=HEAPU32[fetch_attr+Fetch.attr_t_offset_destinationPath>>2];if(!path)path=HEAPU32[fetch+Fetch.fetch_t_offset_url>>2];var pathStr=Pointer_stringify(path);try{var transaction=db.transaction(["FILES"],"readonly");var packages=transaction.objectStore("FILES");var getRequest=packages.get(pathStr);getRequest.onsuccess=(function(event){if(event.target.result){var value=event.target.result;var len=value.byteLength||value.length;var ptr=_malloc(len);HEAPU8.set(new Uint8Array(value),ptr);HEAPU32[fetch+Fetch.fetch_t_offset_data>>2]=ptr;Fetch.setu64(fetch+Fetch.fetch_t_offset_numBytes,len);Fetch.setu64(fetch+Fetch.fetch_t_offset_dataOffset,0);Fetch.setu64(fetch+Fetch.fetch_t_offset_totalBytes,len);HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=4;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=200;stringToUTF8("OK",fetch+Fetch.fetch_t_offset_statusText,64);onsuccess(fetch,0,value)}else{HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=4;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=404;stringToUTF8("Not Found",fetch+Fetch.fetch_t_offset_statusText,64);onerror(fetch,0,"no data")}});getRequest.onerror=(function(error){HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=4;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=404;stringToUTF8("Not Found",fetch+Fetch.fetch_t_offset_statusText,64);onerror(fetch,0,error)})}catch(e){onerror(fetch,0,e)}}function __emscripten_fetch_delete_cached_data(db,fetch,onsuccess,onerror){if(!db){onerror(fetch,0,"IndexedDB not available!");return}var fetch_attr=fetch+Fetch.fetch_t_offset___attributes;var path=HEAPU32[fetch_attr+Fetch.attr_t_offset_destinationPath>>2];if(!path)path=HEAPU32[fetch+Fetch.fetch_t_offset_url>>2];var pathStr=Pointer_stringify(path);try{var transaction=db.transaction(["FILES"],"readwrite");var packages=transaction.objectStore("FILES");var request=packages.delete(pathStr);request.onsuccess=(function(event){var value=event.target.result;HEAPU32[fetch+Fetch.fetch_t_offset_data>>2]=0;Fetch.setu64(fetch+Fetch.fetch_t_offset_numBytes,0);Fetch.setu64(fetch+Fetch.fetch_t_offset_dataOffset,0);Fetch.setu64(fetch+Fetch.fetch_t_offset_dataOffset,0);HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=4;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=200;stringToUTF8("OK",fetch+Fetch.fetch_t_offset_statusText,64);onsuccess(fetch,0,value)});request.onerror=(function(error){HEAPU16[fetch+Fetch.fetch_t_offset_readyState>>1]=4;HEAPU16[fetch+Fetch.fetch_t_offset_status>>1]=404;stringToUTF8("Not Found",fetch+Fetch.fetch_t_offset_statusText,64);onerror(fetch,0,error)})}catch(e){onerror(fetch,0,e)}}var _fetch_work_queue=allocate(12,"i32*",ALLOC_STATIC);function __emscripten_get_fetch_work_queue(){return _fetch_work_queue}function _emscripten_is_main_runtime_thread(){return 1}function _emscripten_start_fetch(fetch,successcb,errorcb,progresscb){if(typeof Module!=="undefined")Module["noExitRuntime"]=true;var fetch_attr=fetch+Fetch.fetch_t_offset___attributes;var requestMethod=Pointer_stringify(fetch_attr);var onsuccess=HEAPU32[fetch_attr+Fetch.attr_t_offset_onsuccess>>2];var onerror=HEAPU32[fetch_attr+Fetch.attr_t_offset_onerror>>2];var onprogress=HEAPU32[fetch_attr+Fetch.attr_t_offset_onprogress>>2];var fetchAttributes=HEAPU32[fetch_attr+Fetch.attr_t_offset_attributes>>2];var fetchAttrPersistFile=!!(fetchAttributes&4);var fetchAttrReplace=!!(fetchAttributes&16);var fetchAttrNoDownload=!!(fetchAttributes&32);var reportSuccess=(function(fetch,xhr,e){if(onsuccess&&typeof dynCall==="function")Module["dynCall_vi"](onsuccess,fetch);else if(successcb)successcb(fetch)});var cacheResultAndReportSuccess=(function(fetch,xhr,e){var storeSuccess=(function(fetch,xhr,e){if(onsuccess&&typeof dynCall==="function")Module["dynCall_vi"](onsuccess,fetch);else if(successcb)successcb(fetch)});var storeError=(function(fetch,xhr,e){if(onsuccess&&typeof dynCall==="function")Module["dynCall_vi"](onsuccess,fetch);else if(successcb)successcb(fetch)});__emscripten_fetch_cache_data(Fetch.dbInstance,fetch,xhr.response,storeSuccess,storeError)});var reportProgress=(function(fetch,xhr,e){if(onprogress&&typeof dynCall==="function")Module["dynCall_vi"](onprogress,fetch);else if(progresscb)progresscb(fetch)});var reportError=(function(fetch,xhr,e){if(onerror&&typeof dynCall==="function")Module["dynCall_vi"](onerror,fetch);else if(errorcb)errorcb(fetch)});var performUncachedXhr=(function(fetch,xhr,e){__emscripten_fetch_xhr(fetch,reportSuccess,reportError,reportProgress)});var performCachedXhr=(function(fetch,xhr,e){__emscripten_fetch_xhr(fetch,cacheResultAndReportSuccess,reportError,reportProgress)});if(!fetchAttrReplace||requestMethod==="EM_IDB_STORE"||requestMethod==="EM_IDB_DELETE"){if(!Fetch.dbInstance){reportError(fetch,0,"IndexedDB is not open");return 0}if(requestMethod==="EM_IDB_STORE"){var dataPtr=HEAPU32[fetch_attr+Fetch.attr_t_offset_requestData>>2];var dataLength=HEAPU32[fetch_attr+Fetch.attr_t_offset_requestDataSize>>2];var data=HEAPU8.slice(dataPtr,dataPtr+dataLength);__emscripten_fetch_cache_data(Fetch.dbInstance,fetch,data,reportSuccess,reportError)}else if(requestMethod==="EM_IDB_DELETE"){__emscripten_fetch_delete_cached_data(Fetch.dbInstance,fetch,reportSuccess,reportError)}else if(fetchAttrNoDownload){__emscripten_fetch_load_cached_data(Fetch.dbInstance,fetch,reportSuccess,reportError)}else if(fetchAttrPersistFile){__emscripten_fetch_load_cached_data(Fetch.dbInstance,fetch,reportSuccess,performCachedXhr)}else{__emscripten_fetch_load_cached_data(Fetch.dbInstance,fetch,reportSuccess,performUncachedXhr)}}else if(!fetchAttrNoDownload){if(fetchAttrPersistFile){__emscripten_fetch_xhr(fetch,cacheResultAndReportSuccess,reportError,reportProgress)}else{__emscripten_fetch_xhr(fetch,reportSuccess,reportError,reportProgress)}}else{return 0}return fetch}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=allocateUTF8(ENV[name]);return _getenv.ret}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _glBindTexture(target,texture){GLctx.bindTexture(target,texture?GL.textures[texture]:null)}function _glBlendFunc(x0,x1){GLctx["blendFunc"](x0,x1)}function _glClear(x0){GLctx["clear"](x0)}function _glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _glClearDepthf(x0){GLctx["clearDepth"](x0)}function _glClearStencil(x0){GLctx["clearStencil"](x0)}function _glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexSubImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _glDepthMask(flag){GLctx.depthMask(!!flag)}function _glDisable(x0){GLctx["disable"](x0)}function _glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _glEnable(x0){GLctx["enable"](x0)}function _glFinish(){GLctx["finish"]()}function _glFlush(){GLctx["flush"]()}function _glGenTextures(n,textures){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.textures);texture.name=id;GL.textures[id]=texture;HEAP32[textures+i*4>>2]=id}}function _glGetError(){if(GL.lastError){var error=GL.lastError;GL.lastError=0;return error}else{return GLctx.getError()}}function _glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,"Integer")}function _glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7936:case 7937:case 37445:case 37446:ret=allocate(intArrayFromString(GLctx.getParameter(name_)),"i8",ALLOC_NORMAL);break;case 7938:var glVersion=GLctx.getParameter(GLctx.VERSION);{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=allocate(intArrayFromString(glVersion),"i8",ALLOC_NORMAL);break;case 7939:var exts=GLctx.getSupportedExtensions();var gl_exts=[];for(var i=0;i>2];GLctx.texParameterf(target,pname,param)}function _glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}var _llvm_ceil_f64=Math_ceil;function _llvm_exp2_f32(x){return Math.pow(2,x)}var _llvm_fabs_f32=Math_abs;var _llvm_fabs_f64=Math_abs;var _llvm_floor_f32=Math_floor;var _llvm_floor_f64=Math_floor;function _llvm_stackrestore(p){var self=_llvm_stacksave;var ret=self.LLVM_SAVEDSTACKS[p];self.LLVM_SAVEDSTACKS.splice(p,1);stackRestore(ret)}function _llvm_stacksave(){var self=_llvm_stacksave;if(!self.LLVM_SAVEDSTACKS){self.LLVM_SAVEDSTACKS=[]}self.LLVM_SAVEDSTACKS.push(stackSave());return self.LLVM_SAVEDSTACKS.length-1}function _llvm_trap(){abort("trap!")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}function _usleep(useconds){var msec=useconds/1e3;if((ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]){var start=self["performance"]["now"]();while(self["performance"]["now"]()-start>2];var nanoseconds=HEAP32[rqtp+4>>2];if(rmtp!==0){HEAP32[rmtp>>2]=0;HEAP32[rmtp+4>>2]=0}return _usleep(seconds*1e6+nanoseconds/1e3)}function _pthread_attr_getstacksize(){err("missing function: pthread_attr_getstacksize");abort(-1)}function _pthread_attr_init(attr){return 0}function _pthread_attr_setstacksize(){}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 _pthread_cleanup_push(routine,arg){__ATEXIT__.push((function(){Module["dynCall_vi"](routine,arg)}));_pthread_cleanup_push.level=__ATEXIT__.length}function _pthread_cond_destroy(){return 0}function _pthread_cond_init(){return 0}function _pthread_cond_signal(){return 0}function _pthread_cond_timedwait(){return 0}function _pthread_cond_wait(){return 0}function _pthread_create(){return 11}var PTHREAD_SPECIFIC={};function _pthread_getspecific(key){return PTHREAD_SPECIFIC[key]||0}function _pthread_join(){}var PTHREAD_SPECIFIC_NEXT_KEY=1;function _pthread_key_create(key,destructor){if(key==0){return ERRNO_CODES.EINVAL}HEAP32[key>>2]=PTHREAD_SPECIFIC_NEXT_KEY;PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY]=0;PTHREAD_SPECIFIC_NEXT_KEY++;return 0}function _pthread_mutex_destroy(){}function _pthread_mutex_init(){}function _pthread_mutexattr_init(){}function _pthread_mutexattr_settype(){}function _pthread_once(ptr,func){if(!_pthread_once.seen)_pthread_once.seen={};if(ptr in _pthread_once.seen)return;Module["dynCall_v"](func);_pthread_once.seen[ptr]=1}function _pthread_setspecific(key,value){if(!(key in PTHREAD_SPECIFIC)){return ERRNO_CODES.EINVAL}PTHREAD_SPECIFIC[key]=value;return 0}function _sigaction(signum,act,oldact){return 0}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?Pointer_stringify(tm_zone):""};var pattern=Pointer_stringify(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":(function(date){return WEEKDAYS[date.tm_wday].substring(0,3)}),"%A":(function(date){return WEEKDAYS[date.tm_wday]}),"%b":(function(date){return MONTHS[date.tm_mon].substring(0,3)}),"%B":(function(date){return MONTHS[date.tm_mon]}),"%C":(function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)}),"%d":(function(date){return leadingNulls(date.tm_mday,2)}),"%e":(function(date){return leadingSomething(date.tm_mday,2," ")}),"%g":(function(date){return getWeekBasedYear(date).toString().substring(2)}),"%G":(function(date){return getWeekBasedYear(date)}),"%H":(function(date){return leadingNulls(date.tm_hour,2)}),"%I":(function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)}),"%j":(function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)}),"%m":(function(date){return leadingNulls(date.tm_mon+1,2)}),"%M":(function(date){return leadingNulls(date.tm_min,2)}),"%n":(function(){return"\n"}),"%p":(function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}}),"%S":(function(date){return leadingNulls(date.tm_sec,2)}),"%t":(function(){return"\t"}),"%u":(function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()||7}),"%U":(function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"}),"%V":(function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)}),"%Z":(function(date){return date.tm_zone}),"%%":(function(){return"%"})};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}FS.staticInit();__ATINIT__.unshift((function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()}));__ATMAIN__.push((function(){FS.ignorePermissions=false}));__ATEXIT__.push((function(){FS.quit()}));__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()}if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function _emscripten_get_now_actual(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else if(typeof self==="object"&&self["performance"]&&typeof self["performance"]["now"]==="function"){_emscripten_get_now=(function(){return self["performance"]["now"]()})}else if(typeof performance==="object"&&typeof performance["now"]==="function"){_emscripten_get_now=(function(){return performance["now"]()})}else{_emscripten_get_now=Date.now}Module["requestFullScreen"]=function Module_requestFullScreen(lockPointer,resizeCanvas,vrDevice){err("Module.requestFullScreen is deprecated. Please call Module.requestFullscreen instead.");Module["requestFullScreen"]=Module["requestFullscreen"];Browser.requestFullScreen(lockPointer,resizeCanvas,vrDevice)};Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas,vrDevice){Browser.requestFullscreen(lockPointer,resizeCanvas,vrDevice)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var GLctx;GL.init();JSEvents.staticInit();Fetch.staticInit();DYNAMICTOP_PTR=staticAlloc(4);STACK_BASE=STACKTOP=alignMemory(STATICTOP);STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=alignMemory(STACK_MAX);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;staticSealed=true;var ASSERTIONS=false;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}function invoke_di(index,a1){var sp=stackSave();try{return Module["dynCall_di"](index,a1)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_dii(index,a1,a2){var sp=stackSave();try{return Module["dynCall_dii"](index,a1,a2)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_diii(index,a1,a2,a3){var sp=stackSave();try{return Module["dynCall_diii"](index,a1,a2,a3)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_i(index){var sp=stackSave();try{return Module["dynCall_i"](index)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_ii(index,a1){var sp=stackSave();try{return Module["dynCall_ii"](index,a1)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iidd(index,a1,a2,a3){var sp=stackSave();try{return Module["dynCall_iidd"](index,a1,a2,a3)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiddd(index,a1,a2,a3,a4){var sp=stackSave();try{return Module["dynCall_iiddd"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iidii(index,a1,a2,a3,a4){var sp=stackSave();try{return Module["dynCall_iidii"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return Module["dynCall_iii"](index,a1,a2)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return Module["dynCall_iiiiid"](index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiidii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return Module["dynCall_iiiiidii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiid(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return Module["dynCall_iiiiiid"](index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return Module["dynCall_iiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{return Module["dynCall_iiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_v(index){var sp=stackSave();try{Module["dynCall_v"](index)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vd(index,a1){var sp=stackSave();try{Module["dynCall_vd"](index,a1)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vdd(index,a1,a2){var sp=stackSave();try{Module["dynCall_vdd"](index,a1,a2)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vdddd(index,a1,a2,a3,a4){var sp=stackSave();try{Module["dynCall_vdddd"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vdddddd(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{Module["dynCall_vdddddd"](index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vdi(index,a1,a2){var sp=stackSave();try{Module["dynCall_vdi"](index,a1,a2)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{Module["dynCall_vi"](index,a1)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vid(index,a1,a2){var sp=stackSave();try{Module["dynCall_vid"](index,a1,a2)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vidd(index,a1,a2,a3){var sp=stackSave();try{Module["dynCall_vidd"](index,a1,a2,a3)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viddd(index,a1,a2,a3,a4){var sp=stackSave();try{Module["dynCall_viddd"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vidddd(index,a1,a2,a3,a4,a5){var sp=stackSave();try{Module["dynCall_vidddd"](index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viddddd(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{Module["dynCall_viddddd"](index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viddi(index,a1,a2,a3,a4){var sp=stackSave();try{Module["dynCall_viddi"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vidi(index,a1,a2,a3){var sp=stackSave();try{Module["dynCall_vidi"](index,a1,a2,a3)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{Module["dynCall_vii"](index,a1,a2)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viid(index,a1,a2,a3){var sp=stackSave();try{Module["dynCall_viid"](index,a1,a2,a3)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viidi(index,a1,a2,a3,a4){var sp=stackSave();try{Module["dynCall_viidi"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viidiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{Module["dynCall_viidiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{Module["dynCall_viii"](index,a1,a2,a3)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiid(index,a1,a2,a3,a4){var sp=stackSave();try{Module["dynCall_viiid"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiidiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{Module["dynCall_viiidiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiidiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{Module["dynCall_viiiidiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{Module["dynCall_viiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{Module["dynCall_viiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{Module["dynCall_viiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{Module["dynCall_viiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{Module["dynCall_viiiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(typeof e!=="number"&&e!=="longjmp")throw e;Module["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,"byteLength":byteLength};Module.asmLibraryArg={"abort":abort,"assert":assert,"enlargeMemory":enlargeMemory,"getTotalMemory":getTotalMemory,"abortOnCannotGrowMemory":abortOnCannotGrowMemory,"invoke_di":invoke_di,"invoke_dii":invoke_dii,"invoke_diii":invoke_diii,"invoke_i":invoke_i,"invoke_ii":invoke_ii,"invoke_iidd":invoke_iidd,"invoke_iiddd":invoke_iiddd,"invoke_iidii":invoke_iidii,"invoke_iii":invoke_iii,"invoke_iiii":invoke_iiii,"invoke_iiiii":invoke_iiiii,"invoke_iiiiid":invoke_iiiiid,"invoke_iiiiidii":invoke_iiiiidii,"invoke_iiiiii":invoke_iiiiii,"invoke_iiiiiid":invoke_iiiiiid,"invoke_iiiiiii":invoke_iiiiiii,"invoke_iiiiiiii":invoke_iiiiiiii,"invoke_iiiiiiiii":invoke_iiiiiiiii,"invoke_iiiiiiiiii":invoke_iiiiiiiiii,"invoke_v":invoke_v,"invoke_vd":invoke_vd,"invoke_vdd":invoke_vdd,"invoke_vdddd":invoke_vdddd,"invoke_vdddddd":invoke_vdddddd,"invoke_vdi":invoke_vdi,"invoke_vi":invoke_vi,"invoke_vid":invoke_vid,"invoke_vidd":invoke_vidd,"invoke_viddd":invoke_viddd,"invoke_vidddd":invoke_vidddd,"invoke_viddddd":invoke_viddddd,"invoke_viddi":invoke_viddi,"invoke_vidi":invoke_vidi,"invoke_vii":invoke_vii,"invoke_viid":invoke_viid,"invoke_viidi":invoke_viidi,"invoke_viidiii":invoke_viidiii,"invoke_viii":invoke_viii,"invoke_viiid":invoke_viiid,"invoke_viiidiii":invoke_viiidiii,"invoke_viiii":invoke_viiii,"invoke_viiiidiii":invoke_viiiidiii,"invoke_viiiii":invoke_viiiii,"invoke_viiiiii":invoke_viiiiii,"invoke_viiiiiii":invoke_viiiiiii,"invoke_viiiiiiii":invoke_viiiiiiii,"invoke_viiiiiiiii":invoke_viiiiiiiii,"invoke_viiiiiiiiii":invoke_viiiiiiiiii,"invoke_viiiiiiiiiii":invoke_viiiiiiiiiii,"___assert_fail":___assert_fail,"___buildEnvironment":___buildEnvironment,"___cxa_allocate_exception":___cxa_allocate_exception,"___cxa_begin_catch":___cxa_begin_catch,"___cxa_find_matching_catch":___cxa_find_matching_catch,"___cxa_pure_virtual":___cxa_pure_virtual,"___cxa_throw":___cxa_throw,"___cxa_uncaught_exception":___cxa_uncaught_exception,"___gxx_personality_v0":___gxx_personality_v0,"___lock":___lock,"___map_file":___map_file,"___resumeException":___resumeException,"___setErrNo":___setErrNo,"___syscall140":___syscall140,"___syscall145":___syscall145,"___syscall146":___syscall146,"___syscall195":___syscall195,"___syscall197":___syscall197,"___syscall220":___syscall220,"___syscall221":___syscall221,"___syscall33":___syscall33,"___syscall39":___syscall39,"___syscall5":___syscall5,"___syscall54":___syscall54,"___syscall6":___syscall6,"___syscall85":___syscall85,"___syscall91":___syscall91,"___unlock":___unlock,"__addDays":__addDays,"__arraySum":__arraySum,"__emscripten_fetch_cache_data":__emscripten_fetch_cache_data,"__emscripten_fetch_delete_cached_data":__emscripten_fetch_delete_cached_data,"__emscripten_fetch_load_cached_data":__emscripten_fetch_load_cached_data,"__emscripten_fetch_xhr":__emscripten_fetch_xhr,"__emscripten_get_fetch_work_queue":__emscripten_get_fetch_work_queue,"__emscripten_sample_gamepad_data":__emscripten_sample_gamepad_data,"__isLeapYear":__isLeapYear,"__registerRestoreOldStyle":__registerRestoreOldStyle,"__setLetterbox":__setLetterbox,"_abort":_abort,"_atexit":_atexit,"_clock_gettime":_clock_gettime,"_dlclose":_dlclose,"_dlerror":_dlerror,"_dlopen":_dlopen,"_dlsym":_dlsym,"_eglBindAPI":_eglBindAPI,"_eglChooseConfig":_eglChooseConfig,"_eglCreateContext":_eglCreateContext,"_eglCreateWindowSurface":_eglCreateWindowSurface,"_eglDestroyContext":_eglDestroyContext,"_eglDestroySurface":_eglDestroySurface,"_eglGetConfigAttrib":_eglGetConfigAttrib,"_eglGetDisplay":_eglGetDisplay,"_eglGetProcAddress":_eglGetProcAddress,"_eglInitialize":_eglInitialize,"_eglMakeCurrent":_eglMakeCurrent,"_eglSwapBuffers":_eglSwapBuffers,"_eglSwapInterval":_eglSwapInterval,"_eglTerminate":_eglTerminate,"_eglWaitClient":_eglWaitClient,"_eglWaitGL":_eglWaitGL,"_eglWaitNative":_eglWaitNative,"_emscripten_asm_const_i":_emscripten_asm_const_i,"_emscripten_asm_const_ii":_emscripten_asm_const_ii,"_emscripten_asm_const_iii":_emscripten_asm_const_iii,"_emscripten_asm_const_iiii":_emscripten_asm_const_iiii,"_emscripten_asm_const_iiiii":_emscripten_asm_const_iiiii,"_emscripten_do_request_fullscreen":_emscripten_do_request_fullscreen,"_emscripten_exit_fullscreen":_emscripten_exit_fullscreen,"_emscripten_exit_pointerlock":_emscripten_exit_pointerlock,"_emscripten_get_device_pixel_ratio":_emscripten_get_device_pixel_ratio,"_emscripten_get_element_css_size":_emscripten_get_element_css_size,"_emscripten_get_gamepad_status":_emscripten_get_gamepad_status,"_emscripten_get_now":_emscripten_get_now,"_emscripten_get_now_is_monotonic":_emscripten_get_now_is_monotonic,"_emscripten_get_num_gamepads":_emscripten_get_num_gamepads,"_emscripten_get_pointerlock_status":_emscripten_get_pointerlock_status,"_emscripten_glActiveTexture":_emscripten_glActiveTexture,"_emscripten_glAttachShader":_emscripten_glAttachShader,"_emscripten_glBeginConditionalRender":_emscripten_glBeginConditionalRender,"_emscripten_glBeginTransformFeedback":_emscripten_glBeginTransformFeedback,"_emscripten_glBindAttribLocation":_emscripten_glBindAttribLocation,"_emscripten_glBindBuffer":_emscripten_glBindBuffer,"_emscripten_glBindBufferBase":_emscripten_glBindBufferBase,"_emscripten_glBindBufferRange":_emscripten_glBindBufferRange,"_emscripten_glBindFragDataLocation":_emscripten_glBindFragDataLocation,"_emscripten_glBindFramebuffer":_emscripten_glBindFramebuffer,"_emscripten_glBindProgramARB":_emscripten_glBindProgramARB,"_emscripten_glBindRenderbuffer":_emscripten_glBindRenderbuffer,"_emscripten_glBindTexture":_emscripten_glBindTexture,"_emscripten_glBindVertexArray":_emscripten_glBindVertexArray,"_emscripten_glBlendColor":_emscripten_glBlendColor,"_emscripten_glBlendEquation":_emscripten_glBlendEquation,"_emscripten_glBlendEquationSeparate":_emscripten_glBlendEquationSeparate,"_emscripten_glBlendFunc":_emscripten_glBlendFunc,"_emscripten_glBlendFuncSeparate":_emscripten_glBlendFuncSeparate,"_emscripten_glBufferData":_emscripten_glBufferData,"_emscripten_glBufferSubData":_emscripten_glBufferSubData,"_emscripten_glCheckFramebufferStatus":_emscripten_glCheckFramebufferStatus,"_emscripten_glClampColor":_emscripten_glClampColor,"_emscripten_glClear":_emscripten_glClear,"_emscripten_glClearBufferfi":_emscripten_glClearBufferfi,"_emscripten_glClearBufferfv":_emscripten_glClearBufferfv,"_emscripten_glClearBufferiv":_emscripten_glClearBufferiv,"_emscripten_glClearBufferuiv":_emscripten_glClearBufferuiv,"_emscripten_glClearColor":_emscripten_glClearColor,"_emscripten_glClearDepth":_emscripten_glClearDepth,"_emscripten_glClearDepthf":_emscripten_glClearDepthf,"_emscripten_glClearStencil":_emscripten_glClearStencil,"_emscripten_glClientActiveTexture":_emscripten_glClientActiveTexture,"_emscripten_glColorMask":_emscripten_glColorMask,"_emscripten_glColorMaski":_emscripten_glColorMaski,"_emscripten_glColorPointer":_emscripten_glColorPointer,"_emscripten_glCompileShader":_emscripten_glCompileShader,"_emscripten_glCompressedTexImage2D":_emscripten_glCompressedTexImage2D,"_emscripten_glCompressedTexSubImage2D":_emscripten_glCompressedTexSubImage2D,"_emscripten_glCopyTexImage2D":_emscripten_glCopyTexImage2D,"_emscripten_glCopyTexSubImage2D":_emscripten_glCopyTexSubImage2D,"_emscripten_glCreateProgram":_emscripten_glCreateProgram,"_emscripten_glCreateShader":_emscripten_glCreateShader,"_emscripten_glCullFace":_emscripten_glCullFace,"_emscripten_glDeleteBuffers":_emscripten_glDeleteBuffers,"_emscripten_glDeleteFramebuffers":_emscripten_glDeleteFramebuffers,"_emscripten_glDeleteObjectARB":_emscripten_glDeleteObjectARB,"_emscripten_glDeleteProgram":_emscripten_glDeleteProgram,"_emscripten_glDeleteRenderbuffers":_emscripten_glDeleteRenderbuffers,"_emscripten_glDeleteShader":_emscripten_glDeleteShader,"_emscripten_glDeleteTextures":_emscripten_glDeleteTextures,"_emscripten_glDeleteVertexArrays":_emscripten_glDeleteVertexArrays,"_emscripten_glDepthFunc":_emscripten_glDepthFunc,"_emscripten_glDepthMask":_emscripten_glDepthMask,"_emscripten_glDepthRange":_emscripten_glDepthRange,"_emscripten_glDepthRangef":_emscripten_glDepthRangef,"_emscripten_glDetachShader":_emscripten_glDetachShader,"_emscripten_glDisable":_emscripten_glDisable,"_emscripten_glDisableVertexAttribArray":_emscripten_glDisableVertexAttribArray,"_emscripten_glDisablei":_emscripten_glDisablei,"_emscripten_glDrawArrays":_emscripten_glDrawArrays,"_emscripten_glDrawArraysInstanced":_emscripten_glDrawArraysInstanced,"_emscripten_glDrawBuffers":_emscripten_glDrawBuffers,"_emscripten_glDrawElements":_emscripten_glDrawElements,"_emscripten_glDrawElementsInstanced":_emscripten_glDrawElementsInstanced,"_emscripten_glDrawRangeElements":_emscripten_glDrawRangeElements,"_emscripten_glEnable":_emscripten_glEnable,"_emscripten_glEnableClientState":_emscripten_glEnableClientState,"_emscripten_glEnableVertexAttribArray":_emscripten_glEnableVertexAttribArray,"_emscripten_glEnablei":_emscripten_glEnablei,"_emscripten_glEndConditionalRender":_emscripten_glEndConditionalRender,"_emscripten_glEndTransformFeedback":_emscripten_glEndTransformFeedback,"_emscripten_glFinish":_emscripten_glFinish,"_emscripten_glFlush":_emscripten_glFlush,"_emscripten_glFramebufferRenderbuffer":_emscripten_glFramebufferRenderbuffer,"_emscripten_glFramebufferTexture2D":_emscripten_glFramebufferTexture2D,"_emscripten_glFrontFace":_emscripten_glFrontFace,"_emscripten_glFrustum":_emscripten_glFrustum,"_emscripten_glGenBuffers":_emscripten_glGenBuffers,"_emscripten_glGenFramebuffers":_emscripten_glGenFramebuffers,"_emscripten_glGenRenderbuffers":_emscripten_glGenRenderbuffers,"_emscripten_glGenTextures":_emscripten_glGenTextures,"_emscripten_glGenVertexArrays":_emscripten_glGenVertexArrays,"_emscripten_glGenerateMipmap":_emscripten_glGenerateMipmap,"_emscripten_glGetActiveAttrib":_emscripten_glGetActiveAttrib,"_emscripten_glGetActiveUniform":_emscripten_glGetActiveUniform,"_emscripten_glGetActiveUniformBlockName":_emscripten_glGetActiveUniformBlockName,"_emscripten_glGetActiveUniformBlockiv":_emscripten_glGetActiveUniformBlockiv,"_emscripten_glGetActiveUniformName":_emscripten_glGetActiveUniformName,"_emscripten_glGetActiveUniformsiv":_emscripten_glGetActiveUniformsiv,"_emscripten_glGetAttachedShaders":_emscripten_glGetAttachedShaders,"_emscripten_glGetAttribLocation":_emscripten_glGetAttribLocation,"_emscripten_glGetBooleani_v":_emscripten_glGetBooleani_v,"_emscripten_glGetBooleanv":_emscripten_glGetBooleanv,"_emscripten_glGetBufferParameteriv":_emscripten_glGetBufferParameteriv,"_emscripten_glGetError":_emscripten_glGetError,"_emscripten_glGetFloatv":_emscripten_glGetFloatv,"_emscripten_glGetFragDataLocation":_emscripten_glGetFragDataLocation,"_emscripten_glGetFramebufferAttachmentParameteriv":_emscripten_glGetFramebufferAttachmentParameteriv,"_emscripten_glGetInfoLogARB":_emscripten_glGetInfoLogARB,"_emscripten_glGetIntegeri_v":_emscripten_glGetIntegeri_v,"_emscripten_glGetIntegerv":_emscripten_glGetIntegerv,"_emscripten_glGetObjectParameterivARB":_emscripten_glGetObjectParameterivARB,"_emscripten_glGetPointerv":_emscripten_glGetPointerv,"_emscripten_glGetProgramInfoLog":_emscripten_glGetProgramInfoLog,"_emscripten_glGetProgramiv":_emscripten_glGetProgramiv,"_emscripten_glGetRenderbufferParameteriv":_emscripten_glGetRenderbufferParameteriv,"_emscripten_glGetShaderInfoLog":_emscripten_glGetShaderInfoLog,"_emscripten_glGetShaderPrecisionFormat":_emscripten_glGetShaderPrecisionFormat,"_emscripten_glGetShaderSource":_emscripten_glGetShaderSource,"_emscripten_glGetShaderiv":_emscripten_glGetShaderiv,"_emscripten_glGetString":_emscripten_glGetString,"_emscripten_glGetStringi":_emscripten_glGetStringi,"_emscripten_glGetTexParameterIiv":_emscripten_glGetTexParameterIiv,"_emscripten_glGetTexParameterIuiv":_emscripten_glGetTexParameterIuiv,"_emscripten_glGetTexParameterfv":_emscripten_glGetTexParameterfv,"_emscripten_glGetTexParameteriv":_emscripten_glGetTexParameteriv,"_emscripten_glGetTransformFeedbackVarying":_emscripten_glGetTransformFeedbackVarying,"_emscripten_glGetUniformBlockIndex":_emscripten_glGetUniformBlockIndex,"_emscripten_glGetUniformIndices":_emscripten_glGetUniformIndices,"_emscripten_glGetUniformLocation":_emscripten_glGetUniformLocation,"_emscripten_glGetUniformfv":_emscripten_glGetUniformfv,"_emscripten_glGetUniformiv":_emscripten_glGetUniformiv,"_emscripten_glGetUniformuiv":_emscripten_glGetUniformuiv,"_emscripten_glGetVertexAttribIiv":_emscripten_glGetVertexAttribIiv,"_emscripten_glGetVertexAttribIuiv":_emscripten_glGetVertexAttribIuiv,"_emscripten_glGetVertexAttribPointerv":_emscripten_glGetVertexAttribPointerv,"_emscripten_glGetVertexAttribfv":_emscripten_glGetVertexAttribfv,"_emscripten_glGetVertexAttribiv":_emscripten_glGetVertexAttribiv,"_emscripten_glHint":_emscripten_glHint,"_emscripten_glIsBuffer":_emscripten_glIsBuffer,"_emscripten_glIsEnabled":_emscripten_glIsEnabled,"_emscripten_glIsEnabledi":_emscripten_glIsEnabledi,"_emscripten_glIsFramebuffer":_emscripten_glIsFramebuffer,"_emscripten_glIsProgram":_emscripten_glIsProgram,"_emscripten_glIsRenderbuffer":_emscripten_glIsRenderbuffer,"_emscripten_glIsShader":_emscripten_glIsShader,"_emscripten_glIsTexture":_emscripten_glIsTexture,"_emscripten_glIsVertexArray":_emscripten_glIsVertexArray,"_emscripten_glLineWidth":_emscripten_glLineWidth,"_emscripten_glLinkProgram":_emscripten_glLinkProgram,"_emscripten_glLoadIdentity":_emscripten_glLoadIdentity,"_emscripten_glLoadMatrixf":_emscripten_glLoadMatrixf,"_emscripten_glMatrixMode":_emscripten_glMatrixMode,"_emscripten_glNormalPointer":_emscripten_glNormalPointer,"_emscripten_glPixelStorei":_emscripten_glPixelStorei,"_emscripten_glPolygonOffset":_emscripten_glPolygonOffset,"_emscripten_glReadPixels":_emscripten_glReadPixels,"_emscripten_glReleaseShaderCompiler":_emscripten_glReleaseShaderCompiler,"_emscripten_glRenderbufferStorage":_emscripten_glRenderbufferStorage,"_emscripten_glRotatef":_emscripten_glRotatef,"_emscripten_glSampleCoverage":_emscripten_glSampleCoverage,"_emscripten_glScissor":_emscripten_glScissor,"_emscripten_glShaderBinary":_emscripten_glShaderBinary,"_emscripten_glShaderSource":_emscripten_glShaderSource,"_emscripten_glStencilFunc":_emscripten_glStencilFunc,"_emscripten_glStencilFuncSeparate":_emscripten_glStencilFuncSeparate,"_emscripten_glStencilMask":_emscripten_glStencilMask,"_emscripten_glStencilMaskSeparate":_emscripten_glStencilMaskSeparate,"_emscripten_glStencilOp":_emscripten_glStencilOp,"_emscripten_glStencilOpSeparate":_emscripten_glStencilOpSeparate,"_emscripten_glTexCoordPointer":_emscripten_glTexCoordPointer,"_emscripten_glTexImage2D":_emscripten_glTexImage2D,"_emscripten_glTexImage3D":_emscripten_glTexImage3D,"_emscripten_glTexParameterIiv":_emscripten_glTexParameterIiv,"_emscripten_glTexParameterIuiv":_emscripten_glTexParameterIuiv,"_emscripten_glTexParameterf":_emscripten_glTexParameterf,"_emscripten_glTexParameterfv":_emscripten_glTexParameterfv,"_emscripten_glTexParameteri":_emscripten_glTexParameteri,"_emscripten_glTexParameteriv":_emscripten_glTexParameteriv,"_emscripten_glTexStorage2D":_emscripten_glTexStorage2D,"_emscripten_glTexStorage3D":_emscripten_glTexStorage3D,"_emscripten_glTexSubImage2D":_emscripten_glTexSubImage2D,"_emscripten_glTexSubImage3D":_emscripten_glTexSubImage3D,"_emscripten_glTransformFeedbackVaryings":_emscripten_glTransformFeedbackVaryings,"_emscripten_glUniform1f":_emscripten_glUniform1f,"_emscripten_glUniform1fv":_emscripten_glUniform1fv,"_emscripten_glUniform1i":_emscripten_glUniform1i,"_emscripten_glUniform1iv":_emscripten_glUniform1iv,"_emscripten_glUniform1ui":_emscripten_glUniform1ui,"_emscripten_glUniform2f":_emscripten_glUniform2f,"_emscripten_glUniform2fv":_emscripten_glUniform2fv,"_emscripten_glUniform2i":_emscripten_glUniform2i,"_emscripten_glUniform2iv":_emscripten_glUniform2iv,"_emscripten_glUniform2ui":_emscripten_glUniform2ui,"_emscripten_glUniform3f":_emscripten_glUniform3f,"_emscripten_glUniform3fv":_emscripten_glUniform3fv,"_emscripten_glUniform3i":_emscripten_glUniform3i,"_emscripten_glUniform3iv":_emscripten_glUniform3iv,"_emscripten_glUniform3ui":_emscripten_glUniform3ui,"_emscripten_glUniform4f":_emscripten_glUniform4f,"_emscripten_glUniform4fv":_emscripten_glUniform4fv,"_emscripten_glUniform4i":_emscripten_glUniform4i,"_emscripten_glUniform4iv":_emscripten_glUniform4iv,"_emscripten_glUniform4ui":_emscripten_glUniform4ui,"_emscripten_glUniformBlockBinding":_emscripten_glUniformBlockBinding,"_emscripten_glUniformMatrix2fv":_emscripten_glUniformMatrix2fv,"_emscripten_glUniformMatrix3fv":_emscripten_glUniformMatrix3fv,"_emscripten_glUniformMatrix4fv":_emscripten_glUniformMatrix4fv,"_emscripten_glUseProgram":_emscripten_glUseProgram,"_emscripten_glValidateProgram":_emscripten_glValidateProgram,"_emscripten_glVertexAttrib1f":_emscripten_glVertexAttrib1f,"_emscripten_glVertexAttrib1fv":_emscripten_glVertexAttrib1fv,"_emscripten_glVertexAttrib2f":_emscripten_glVertexAttrib2f,"_emscripten_glVertexAttrib2fv":_emscripten_glVertexAttrib2fv,"_emscripten_glVertexAttrib3f":_emscripten_glVertexAttrib3f,"_emscripten_glVertexAttrib3fv":_emscripten_glVertexAttrib3fv,"_emscripten_glVertexAttrib4f":_emscripten_glVertexAttrib4f,"_emscripten_glVertexAttrib4fv":_emscripten_glVertexAttrib4fv,"_emscripten_glVertexAttribDivisor":_emscripten_glVertexAttribDivisor,"_emscripten_glVertexAttribI1i":_emscripten_glVertexAttribI1i,"_emscripten_glVertexAttribI1iv":_emscripten_glVertexAttribI1iv,"_emscripten_glVertexAttribI1ui":_emscripten_glVertexAttribI1ui,"_emscripten_glVertexAttribI1uiv":_emscripten_glVertexAttribI1uiv,"_emscripten_glVertexAttribI2i":_emscripten_glVertexAttribI2i,"_emscripten_glVertexAttribI2iv":_emscripten_glVertexAttribI2iv,"_emscripten_glVertexAttribI2ui":_emscripten_glVertexAttribI2ui,"_emscripten_glVertexAttribI2uiv":_emscripten_glVertexAttribI2uiv,"_emscripten_glVertexAttribI3i":_emscripten_glVertexAttribI3i,"_emscripten_glVertexAttribI3iv":_emscripten_glVertexAttribI3iv,"_emscripten_glVertexAttribI3ui":_emscripten_glVertexAttribI3ui,"_emscripten_glVertexAttribI3uiv":_emscripten_glVertexAttribI3uiv,"_emscripten_glVertexAttribI4bv":_emscripten_glVertexAttribI4bv,"_emscripten_glVertexAttribI4i":_emscripten_glVertexAttribI4i,"_emscripten_glVertexAttribI4iv":_emscripten_glVertexAttribI4iv,"_emscripten_glVertexAttribI4sv":_emscripten_glVertexAttribI4sv,"_emscripten_glVertexAttribI4ubv":_emscripten_glVertexAttribI4ubv,"_emscripten_glVertexAttribI4ui":_emscripten_glVertexAttribI4ui,"_emscripten_glVertexAttribI4uiv":_emscripten_glVertexAttribI4uiv,"_emscripten_glVertexAttribI4usv":_emscripten_glVertexAttribI4usv,"_emscripten_glVertexAttribIPointer":_emscripten_glVertexAttribIPointer,"_emscripten_glVertexAttribPointer":_emscripten_glVertexAttribPointer,"_emscripten_glVertexPointer":_emscripten_glVertexPointer,"_emscripten_glViewport":_emscripten_glViewport,"_emscripten_is_main_browser_thread":_emscripten_is_main_browser_thread,"_emscripten_is_main_runtime_thread":_emscripten_is_main_runtime_thread,"_emscripten_longjmp":_emscripten_longjmp,"_emscripten_memcpy_big":_emscripten_memcpy_big,"_emscripten_request_fullscreen_strategy":_emscripten_request_fullscreen_strategy,"_emscripten_request_pointerlock":_emscripten_request_pointerlock,"_emscripten_set_blur_callback":_emscripten_set_blur_callback,"_emscripten_set_canvas_size":_emscripten_set_canvas_size,"_emscripten_set_element_css_size":_emscripten_set_element_css_size,"_emscripten_set_focus_callback":_emscripten_set_focus_callback,"_emscripten_set_fullscreenchange_callback":_emscripten_set_fullscreenchange_callback,"_emscripten_set_gamepadconnected_callback":_emscripten_set_gamepadconnected_callback,"_emscripten_set_gamepaddisconnected_callback":_emscripten_set_gamepaddisconnected_callback,"_emscripten_set_keydown_callback":_emscripten_set_keydown_callback,"_emscripten_set_keypress_callback":_emscripten_set_keypress_callback,"_emscripten_set_keyup_callback":_emscripten_set_keyup_callback,"_emscripten_set_main_loop":_emscripten_set_main_loop,"_emscripten_set_main_loop_timing":_emscripten_set_main_loop_timing,"_emscripten_set_mousedown_callback":_emscripten_set_mousedown_callback,"_emscripten_set_mouseenter_callback":_emscripten_set_mouseenter_callback,"_emscripten_set_mouseleave_callback":_emscripten_set_mouseleave_callback,"_emscripten_set_mousemove_callback":_emscripten_set_mousemove_callback,"_emscripten_set_mouseup_callback":_emscripten_set_mouseup_callback,"_emscripten_set_resize_callback":_emscripten_set_resize_callback,"_emscripten_set_touchcancel_callback":_emscripten_set_touchcancel_callback,"_emscripten_set_touchend_callback":_emscripten_set_touchend_callback,"_emscripten_set_touchmove_callback":_emscripten_set_touchmove_callback,"_emscripten_set_touchstart_callback":_emscripten_set_touchstart_callback,"_emscripten_set_visibilitychange_callback":_emscripten_set_visibilitychange_callback,"_emscripten_set_wheel_callback":_emscripten_set_wheel_callback,"_emscripten_start_fetch":_emscripten_start_fetch,"_getenv":_getenv,"_gettimeofday":_gettimeofday,"_glBindTexture":_glBindTexture,"_glBlendFunc":_glBlendFunc,"_glClear":_glClear,"_glClearColor":_glClearColor,"_glClearDepthf":_glClearDepthf,"_glClearStencil":_glClearStencil,"_glColorMask":_glColorMask,"_glCopyTexImage2D":_glCopyTexImage2D,"_glCopyTexSubImage2D":_glCopyTexSubImage2D,"_glDeleteTextures":_glDeleteTextures,"_glDepthMask":_glDepthMask,"_glDisable":_glDisable,"_glDrawArrays":_glDrawArrays,"_glDrawElements":_glDrawElements,"_glEnable":_glEnable,"_glFinish":_glFinish,"_glFlush":_glFlush,"_glGenTextures":_glGenTextures,"_glGetError":_glGetError,"_glGetIntegerv":_glGetIntegerv,"_glGetString":_glGetString,"_glPixelStorei":_glPixelStorei,"_glReadPixels":_glReadPixels,"_glScissor":_glScissor,"_glShaderBinary":_glShaderBinary,"_glStencilFunc":_glStencilFunc,"_glStencilMask":_glStencilMask,"_glStencilOp":_glStencilOp,"_glTexImage2D":_glTexImage2D,"_glTexParameterf":_glTexParameterf,"_glTexParameterfv":_glTexParameterfv,"_glTexParameteri":_glTexParameteri,"_glTexParameteriv":_glTexParameteriv,"_glTexSubImage2D":_glTexSubImage2D,"_glViewport":_glViewport,"_glutCreateWindow":_glutCreateWindow,"_glutDestroyWindow":_glutDestroyWindow,"_glutInitDisplayMode":_glutInitDisplayMode,"_llvm_ceil_f64":_llvm_ceil_f64,"_llvm_exp2_f32":_llvm_exp2_f32,"_llvm_fabs_f32":_llvm_fabs_f32,"_llvm_fabs_f64":_llvm_fabs_f64,"_llvm_floor_f32":_llvm_floor_f32,"_llvm_floor_f64":_llvm_floor_f64,"_llvm_stackrestore":_llvm_stackrestore,"_llvm_stacksave":_llvm_stacksave,"_llvm_trap":_llvm_trap,"_longjmp":_longjmp,"_nanosleep":_nanosleep,"_pthread_attr_getstacksize":_pthread_attr_getstacksize,"_pthread_attr_init":_pthread_attr_init,"_pthread_attr_setstacksize":_pthread_attr_setstacksize,"_pthread_cleanup_pop":_pthread_cleanup_pop,"_pthread_cleanup_push":_pthread_cleanup_push,"_pthread_cond_destroy":_pthread_cond_destroy,"_pthread_cond_init":_pthread_cond_init,"_pthread_cond_signal":_pthread_cond_signal,"_pthread_cond_timedwait":_pthread_cond_timedwait,"_pthread_cond_wait":_pthread_cond_wait,"_pthread_create":_pthread_create,"_pthread_getspecific":_pthread_getspecific,"_pthread_join":_pthread_join,"_pthread_key_create":_pthread_key_create,"_pthread_mutex_destroy":_pthread_mutex_destroy,"_pthread_mutex_init":_pthread_mutex_init,"_pthread_mutexattr_init":_pthread_mutexattr_init,"_pthread_mutexattr_settype":_pthread_mutexattr_settype,"_pthread_once":_pthread_once,"_pthread_setspecific":_pthread_setspecific,"_sigaction":_sigaction,"_signal":_signal,"_strftime":_strftime,"_strftime_l":_strftime_l,"_time":_time,"_usleep":_usleep,"emscriptenWebGLComputeImageSize":emscriptenWebGLComputeImageSize,"emscriptenWebGLGet":emscriptenWebGLGet,"emscriptenWebGLGetTexPixelData":emscriptenWebGLGetTexPixelData,"emscriptenWebGLGetUniform":emscriptenWebGLGetUniform,"emscriptenWebGLGetVertexAttrib":emscriptenWebGLGetVertexAttrib,"DYNAMICTOP_PTR":DYNAMICTOP_PTR,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX};// EMSCRIPTEN_START_ASM
var asm=(/** @suppress {uselessCode} */ function(global,env,buffer) {
"almost asm";var a=global.Int8Array;var b=new a(buffer);var c=global.Int16Array;var d=new c(buffer);var e=global.Int32Array;var f=new e(buffer);var g=global.Uint8Array;var h=new g(buffer);var i=global.Uint16Array;var j=new i(buffer);var k=global.Uint32Array;var l=new k(buffer);var m=global.Float32Array;var n=new m(buffer);var o=global.Float64Array;var p=new o(buffer);var q=global.byteLength;var r=env.DYNAMICTOP_PTR|0;var s=env.tempDoublePtr|0;var t=env.ABORT|0;var u=env.STACKTOP|0;var v=env.STACK_MAX|0;var w=0;var x=0;var y=0;var z=0;var A=global.NaN,B=global.Infinity;var C=0,D=0,E=0,F=0,G=0.0;var H=0;var I=global.Math.floor;var J=global.Math.abs;var K=global.Math.sqrt;var L=global.Math.pow;var M=global.Math.cos;var N=global.Math.sin;var O=global.Math.tan;var P=global.Math.acos;var Q=global.Math.asin;var R=global.Math.atan;var S=global.Math.atan2;var T=global.Math.exp;var U=global.Math.log;var V=global.Math.ceil;var W=global.Math.imul;var X=global.Math.min;var Y=global.Math.max;var Z=global.Math.clz32;var _=env.abort;var $=env.assert;var aa=env.enlargeMemory;var ba=env.getTotalMemory;var ca=env.abortOnCannotGrowMemory;var da=env.invoke_di;var ea=env.invoke_dii;var fa=env.invoke_diii;var ga=env.invoke_i;var ha=env.invoke_ii;var ia=env.invoke_iidd;var ja=env.invoke_iiddd;var ka=env.invoke_iidii;var la=env.invoke_iii;var ma=env.invoke_iiii;var na=env.invoke_iiiii;var oa=env.invoke_iiiiid;var pa=env.invoke_iiiiidii;var qa=env.invoke_iiiiii;var ra=env.invoke_iiiiiid;var sa=env.invoke_iiiiiii;var ta=env.invoke_iiiiiiii;var ua=env.invoke_iiiiiiiii;var va=env.invoke_iiiiiiiiii;var wa=env.invoke_v;var xa=env.invoke_vd;var ya=env.invoke_vdd;var za=env.invoke_vdddd;var Aa=env.invoke_vdddddd;var Ba=env.invoke_vdi;var Ca=env.invoke_vi;var Da=env.invoke_vid;var Ea=env.invoke_vidd;var Fa=env.invoke_viddd;var Ga=env.invoke_vidddd;var Ha=env.invoke_viddddd;var Ia=env.invoke_viddi;var Ja=env.invoke_vidi;var Ka=env.invoke_vii;var La=env.invoke_viid;var Ma=env.invoke_viidi;var Na=env.invoke_viidiii;var Oa=env.invoke_viii;var Pa=env.invoke_viiid;var Qa=env.invoke_viiidiii;var Ra=env.invoke_viiii;var Sa=env.invoke_viiiidiii;var Ta=env.invoke_viiiii;var Ua=env.invoke_viiiiii;var Va=env.invoke_viiiiiii;var Wa=env.invoke_viiiiiiii;var Xa=env.invoke_viiiiiiiii;var Ya=env.invoke_viiiiiiiiii;var Za=env.invoke_viiiiiiiiiii;var _a=env.___assert_fail;var $a=env.___buildEnvironment;var ab=env.___cxa_allocate_exception;var bb=env.___cxa_begin_catch;var cb=env.___cxa_find_matching_catch;var db=env.___cxa_pure_virtual;var eb=env.___cxa_throw;var fb=env.___cxa_uncaught_exception;var gb=env.___gxx_personality_v0;var hb=env.___lock;var ib=env.___map_file;var jb=env.___resumeException;var kb=env.___setErrNo;var lb=env.___syscall140;var mb=env.___syscall145;var nb=env.___syscall146;var ob=env.___syscall195;var pb=env.___syscall197;var qb=env.___syscall220;var rb=env.___syscall221;var sb=env.___syscall33;var tb=env.___syscall39;var ub=env.___syscall5;var vb=env.___syscall54;var wb=env.___syscall6;var xb=env.___syscall85;var yb=env.___syscall91;var zb=env.___unlock;var Ab=env.__addDays;var Bb=env.__arraySum;var Cb=env.__emscripten_fetch_cache_data;var Db=env.__emscripten_fetch_delete_cached_data;var Eb=env.__emscripten_fetch_load_cached_data;var Fb=env.__emscripten_fetch_xhr;var Gb=env.__emscripten_get_fetch_work_queue;var Hb=env.__emscripten_sample_gamepad_data;var Ib=env.__isLeapYear;var Jb=env.__registerRestoreOldStyle;var Kb=env.__setLetterbox;var Lb=env._abort;var Mb=env._atexit;var Nb=env._clock_gettime;var Ob=env._dlclose;var Pb=env._dlerror;var Qb=env._dlopen;var Rb=env._dlsym;var Sb=env._eglBindAPI;var Tb=env._eglChooseConfig;var Ub=env._eglCreateContext;var Vb=env._eglCreateWindowSurface;var Wb=env._eglDestroyContext;var Xb=env._eglDestroySurface;var Yb=env._eglGetConfigAttrib;var Zb=env._eglGetDisplay;var _b=env._eglGetProcAddress;var $b=env._eglInitialize;var ac=env._eglMakeCurrent;var bc=env._eglSwapBuffers;var cc=env._eglSwapInterval;var dc=env._eglTerminate;var ec=env._eglWaitClient;var fc=env._eglWaitGL;var gc=env._eglWaitNative;var hc=env._emscripten_asm_const_i;var ic=env._emscripten_asm_const_ii;var jc=env._emscripten_asm_const_iii;var kc=env._emscripten_asm_const_iiii;var lc=env._emscripten_asm_const_iiiii;var mc=env._emscripten_do_request_fullscreen;var nc=env._emscripten_exit_fullscreen;var oc=env._emscripten_exit_pointerlock;var pc=env._emscripten_get_device_pixel_ratio;var qc=env._emscripten_get_element_css_size;var rc=env._emscripten_get_gamepad_status;var sc=env._emscripten_get_now;var tc=env._emscripten_get_now_is_monotonic;var uc=env._emscripten_get_num_gamepads;var vc=env._emscripten_get_pointerlock_status;var wc=env._emscripten_glActiveTexture;var xc=env._emscripten_glAttachShader;var yc=env._emscripten_glBeginConditionalRender;var zc=env._emscripten_glBeginTransformFeedback;var Ac=env._emscripten_glBindAttribLocation;var Bc=env._emscripten_glBindBuffer;var Cc=env._emscripten_glBindBufferBase;var Dc=env._emscripten_glBindBufferRange;var Ec=env._emscripten_glBindFragDataLocation;var Fc=env._emscripten_glBindFramebuffer;var Gc=env._emscripten_glBindProgramARB;var Hc=env._emscripten_glBindRenderbuffer;var Ic=env._emscripten_glBindTexture;var Jc=env._emscripten_glBindVertexArray;var Kc=env._emscripten_glBlendColor;var Lc=env._emscripten_glBlendEquation;var Mc=env._emscripten_glBlendEquationSeparate;var Nc=env._emscripten_glBlendFunc;var Oc=env._emscripten_glBlendFuncSeparate;var Pc=env._emscripten_glBufferData;var Qc=env._emscripten_glBufferSubData;var Rc=env._emscripten_glCheckFramebufferStatus;var Sc=env._emscripten_glClampColor;var Tc=env._emscripten_glClear;var Uc=env._emscripten_glClearBufferfi;var Vc=env._emscripten_glClearBufferfv;var Wc=env._emscripten_glClearBufferiv;var Xc=env._emscripten_glClearBufferuiv;var Yc=env._emscripten_glClearColor;var Zc=env._emscripten_glClearDepth;var _c=env._emscripten_glClearDepthf;var $c=env._emscripten_glClearStencil;var ad=env._emscripten_glClientActiveTexture;var bd=env._emscripten_glColorMask;var cd=env._emscripten_glColorMaski;var dd=env._emscripten_glColorPointer;var ed=env._emscripten_glCompileShader;var fd=env._emscripten_glCompressedTexImage2D;var gd=env._emscripten_glCompressedTexSubImage2D;var hd=env._emscripten_glCopyTexImage2D;var id=env._emscripten_glCopyTexSubImage2D;var jd=env._emscripten_glCreateProgram;var kd=env._emscripten_glCreateShader;var ld=env._emscripten_glCullFace;var md=env._emscripten_glDeleteBuffers;var nd=env._emscripten_glDeleteFramebuffers;var od=env._emscripten_glDeleteObjectARB;var pd=env._emscripten_glDeleteProgram;var qd=env._emscripten_glDeleteRenderbuffers;var rd=env._emscripten_glDeleteShader;var sd=env._emscripten_glDeleteTextures;var td=env._emscripten_glDeleteVertexArrays;var ud=env._emscripten_glDepthFunc;var vd=env._emscripten_glDepthMask;var wd=env._emscripten_glDepthRange;var xd=env._emscripten_glDepthRangef;var yd=env._emscripten_glDetachShader;var zd=env._emscripten_glDisable;var Ad=env._emscripten_glDisableVertexAttribArray;var Bd=env._emscripten_glDisablei;var Cd=env._emscripten_glDrawArrays;var Dd=env._emscripten_glDrawArraysInstanced;var Ed=env._emscripten_glDrawBuffers;var Fd=env._emscripten_glDrawElements;var Gd=env._emscripten_glDrawElementsInstanced;var Hd=env._emscripten_glDrawRangeElements;var Id=env._emscripten_glEnable;var Jd=env._emscripten_glEnableClientState;var Kd=env._emscripten_glEnableVertexAttribArray;var Ld=env._emscripten_glEnablei;var Md=env._emscripten_glEndConditionalRender;var Nd=env._emscripten_glEndTransformFeedback;var Od=env._emscripten_glFinish;var Pd=env._emscripten_glFlush;var Qd=env._emscripten_glFramebufferRenderbuffer;var Rd=env._emscripten_glFramebufferTexture2D;var Sd=env._emscripten_glFrontFace;var Td=env._emscripten_glFrustum;var Ud=env._emscripten_glGenBuffers;var Vd=env._emscripten_glGenFramebuffers;var Wd=env._emscripten_glGenRenderbuffers;var Xd=env._emscripten_glGenTextures;var Yd=env._emscripten_glGenVertexArrays;var Zd=env._emscripten_glGenerateMipmap;var _d=env._emscripten_glGetActiveAttrib;var $d=env._emscripten_glGetActiveUniform;var ae=env._emscripten_glGetActiveUniformBlockName;var be=env._emscripten_glGetActiveUniformBlockiv;var ce=env._emscripten_glGetActiveUniformName;var de=env._emscripten_glGetActiveUniformsiv;var ee=env._emscripten_glGetAttachedShaders;var fe=env._emscripten_glGetAttribLocation;var ge=env._emscripten_glGetBooleani_v;var he=env._emscripten_glGetBooleanv;var ie=env._emscripten_glGetBufferParameteriv;var je=env._emscripten_glGetError;var ke=env._emscripten_glGetFloatv;var le=env._emscripten_glGetFragDataLocation;var me=env._emscripten_glGetFramebufferAttachmentParameteriv;var ne=env._emscripten_glGetInfoLogARB;var oe=env._emscripten_glGetIntegeri_v;var pe=env._emscripten_glGetIntegerv;var qe=env._emscripten_glGetObjectParameterivARB;var re=env._emscripten_glGetPointerv;var se=env._emscripten_glGetProgramInfoLog;var te=env._emscripten_glGetProgramiv;var ue=env._emscripten_glGetRenderbufferParameteriv;var ve=env._emscripten_glGetShaderInfoLog;var we=env._emscripten_glGetShaderPrecisionFormat;var xe=env._emscripten_glGetShaderSource;var ye=env._emscripten_glGetShaderiv;var ze=env._emscripten_glGetString;var Ae=env._emscripten_glGetStringi;var Be=env._emscripten_glGetTexParameterIiv;var Ce=env._emscripten_glGetTexParameterIuiv;var De=env._emscripten_glGetTexParameterfv;var Ee=env._emscripten_glGetTexParameteriv;var Fe=env._emscripten_glGetTransformFeedbackVarying;var Ge=env._emscripten_glGetUniformBlockIndex;var He=env._emscripten_glGetUniformIndices;var Ie=env._emscripten_glGetUniformLocation;var Je=env._emscripten_glGetUniformfv;var Ke=env._emscripten_glGetUniformiv;var Le=env._emscripten_glGetUniformuiv;var Me=env._emscripten_glGetVertexAttribIiv;var Ne=env._emscripten_glGetVertexAttribIuiv;var Oe=env._emscripten_glGetVertexAttribPointerv;var Pe=env._emscripten_glGetVertexAttribfv;var Qe=env._emscripten_glGetVertexAttribiv;var Re=env._emscripten_glHint;var Se=env._emscripten_glIsBuffer;var Te=env._emscripten_glIsEnabled;var Ue=env._emscripten_glIsEnabledi;var Ve=env._emscripten_glIsFramebuffer;var We=env._emscripten_glIsProgram;var Xe=env._emscripten_glIsRenderbuffer;var Ye=env._emscripten_glIsShader;var Ze=env._emscripten_glIsTexture;var _e=env._emscripten_glIsVertexArray;var $e=env._emscripten_glLineWidth;var af=env._emscripten_glLinkProgram;var bf=env._emscripten_glLoadIdentity;var cf=env._emscripten_glLoadMatrixf;var df=env._emscripten_glMatrixMode;var ef=env._emscripten_glNormalPointer;var ff=env._emscripten_glPixelStorei;var gf=env._emscripten_glPolygonOffset;var hf=env._emscripten_glReadPixels;var jf=env._emscripten_glReleaseShaderCompiler;var kf=env._emscripten_glRenderbufferStorage;var lf=env._emscripten_glRotatef;var mf=env._emscripten_glSampleCoverage;var nf=env._emscripten_glScissor;var of=env._emscripten_glShaderBinary;var pf=env._emscripten_glShaderSource;var qf=env._emscripten_glStencilFunc;var rf=env._emscripten_glStencilFuncSeparate;var sf=env._emscripten_glStencilMask;var tf=env._emscripten_glStencilMaskSeparate;var uf=env._emscripten_glStencilOp;var vf=env._emscripten_glStencilOpSeparate;var wf=env._emscripten_glTexCoordPointer;var xf=env._emscripten_glTexImage2D;var yf=env._emscripten_glTexImage3D;var zf=env._emscripten_glTexParameterIiv;var Af=env._emscripten_glTexParameterIuiv;var Bf=env._emscripten_glTexParameterf;var Cf=env._emscripten_glTexParameterfv;var Df=env._emscripten_glTexParameteri;var Ef=env._emscripten_glTexParameteriv;var Ff=env._emscripten_glTexStorage2D;var Gf=env._emscripten_glTexStorage3D;var Hf=env._emscripten_glTexSubImage2D;var If=env._emscripten_glTexSubImage3D;var Jf=env._emscripten_glTransformFeedbackVaryings;var Kf=env._emscripten_glUniform1f;var Lf=env._emscripten_glUniform1fv;var Mf=env._emscripten_glUniform1i;var Nf=env._emscripten_glUniform1iv;var Of=env._emscripten_glUniform1ui;var Pf=env._emscripten_glUniform2f;var Qf=env._emscripten_glUniform2fv;var Rf=env._emscripten_glUniform2i;var Sf=env._emscripten_glUniform2iv;var Tf=env._emscripten_glUniform2ui;var Uf=env._emscripten_glUniform3f;var Vf=env._emscripten_glUniform3fv;var Wf=env._emscripten_glUniform3i;var Xf=env._emscripten_glUniform3iv;var Yf=env._emscripten_glUniform3ui;var Zf=env._emscripten_glUniform4f;var _f=env._emscripten_glUniform4fv;var $f=env._emscripten_glUniform4i;var ag=env._emscripten_glUniform4iv;var bg=env._emscripten_glUniform4ui;var cg=env._emscripten_glUniformBlockBinding;var dg=env._emscripten_glUniformMatrix2fv;var eg=env._emscripten_glUniformMatrix3fv;var fg=env._emscripten_glUniformMatrix4fv;var gg=env._emscripten_glUseProgram;var hg=env._emscripten_glValidateProgram;var ig=env._emscripten_glVertexAttrib1f;var jg=env._emscripten_glVertexAttrib1fv;var kg=env._emscripten_glVertexAttrib2f;var lg=env._emscripten_glVertexAttrib2fv;var mg=env._emscripten_glVertexAttrib3f;var ng=env._emscripten_glVertexAttrib3fv;var og=env._emscripten_glVertexAttrib4f;var pg=env._emscripten_glVertexAttrib4fv;var qg=env._emscripten_glVertexAttribDivisor;var rg=env._emscripten_glVertexAttribI1i;var sg=env._emscripten_glVertexAttribI1iv;var tg=env._emscripten_glVertexAttribI1ui;var ug=env._emscripten_glVertexAttribI1uiv;var vg=env._emscripten_glVertexAttribI2i;var wg=env._emscripten_glVertexAttribI2iv;var xg=env._emscripten_glVertexAttribI2ui;var yg=env._emscripten_glVertexAttribI2uiv;var zg=env._emscripten_glVertexAttribI3i;var Ag=env._emscripten_glVertexAttribI3iv;var Bg=env._emscripten_glVertexAttribI3ui;var Cg=env._emscripten_glVertexAttribI3uiv;var Dg=env._emscripten_glVertexAttribI4bv;var Eg=env._emscripten_glVertexAttribI4i;var Fg=env._emscripten_glVertexAttribI4iv;var Gg=env._emscripten_glVertexAttribI4sv;var Hg=env._emscripten_glVertexAttribI4ubv;var Ig=env._emscripten_glVertexAttribI4ui;var Jg=env._emscripten_glVertexAttribI4uiv;var Kg=env._emscripten_glVertexAttribI4usv;var Lg=env._emscripten_glVertexAttribIPointer;var Mg=env._emscripten_glVertexAttribPointer;var Ng=env._emscripten_glVertexPointer;var Og=env._emscripten_glViewport;var Pg=env._emscripten_is_main_browser_thread;var Qg=env._emscripten_is_main_runtime_thread;var Rg=env._emscripten_longjmp;var Sg=env._emscripten_memcpy_big;var Tg=env._emscripten_request_fullscreen_strategy;var Ug=env._emscripten_request_pointerlock;var Vg=env._emscripten_set_blur_callback;var Wg=env._emscripten_set_canvas_size;var Xg=env._emscripten_set_element_css_size;var Yg=env._emscripten_set_focus_callback;var Zg=env._emscripten_set_fullscreenchange_callback;var _g=env._emscripten_set_gamepadconnected_callback;var $g=env._emscripten_set_gamepaddisconnected_callback;var ah=env._emscripten_set_keydown_callback;var bh=env._emscripten_set_keypress_callback;var ch=env._emscripten_set_keyup_callback;var dh=env._emscripten_set_main_loop;var eh=env._emscripten_set_main_loop_timing;var fh=env._emscripten_set_mousedown_callback;var gh=env._emscripten_set_mouseenter_callback;var hh=env._emscripten_set_mouseleave_callback;var ih=env._emscripten_set_mousemove_callback;var jh=env._emscripten_set_mouseup_callback;var kh=env._emscripten_set_resize_callback;var lh=env._emscripten_set_touchcancel_callback;var mh=env._emscripten_set_touchend_callback;var nh=env._emscripten_set_touchmove_callback;var oh=env._emscripten_set_touchstart_callback;var ph=env._emscripten_set_visibilitychange_callback;var qh=env._emscripten_set_wheel_callback;var rh=env._emscripten_start_fetch;var sh=env._getenv;var th=env._gettimeofday;var uh=env._glBindTexture;var vh=env._glBlendFunc;var wh=env._glClear;var xh=env._glClearColor;var yh=env._glClearDepthf;var zh=env._glClearStencil;var Ah=env._glColorMask;var Bh=env._glCopyTexImage2D;var Ch=env._glCopyTexSubImage2D;var Dh=env._glDeleteTextures;var Eh=env._glDepthMask;var Fh=env._glDisable;var Gh=env._glDrawArrays;var Hh=env._glDrawElements;var Ih=env._glEnable;var Jh=env._glFinish;var Kh=env._glFlush;var Lh=env._glGenTextures;var Mh=env._glGetError;var Nh=env._glGetIntegerv;var Oh=env._glGetString;var Ph=env._glPixelStorei;var Qh=env._glReadPixels;var Rh=env._glScissor;var Sh=env._glShaderBinary;var Th=env._glStencilFunc;var Uh=env._glStencilMask;var Vh=env._glStencilOp;var Wh=env._glTexImage2D;var Xh=env._glTexParameterf;var Yh=env._glTexParameterfv;var Zh=env._glTexParameteri;var _h=env._glTexParameteriv;var $h=env._glTexSubImage2D;var ai=env._glViewport;var bi=env._glutCreateWindow;var ci=env._glutDestroyWindow;var di=env._glutInitDisplayMode;var ei=env._llvm_ceil_f64;var fi=env._llvm_exp2_f32;var gi=env._llvm_fabs_f32;var hi=env._llvm_fabs_f64;var ii=env._llvm_floor_f32;var ji=env._llvm_floor_f64;var ki=env._llvm_stackrestore;var li=env._llvm_stacksave;var mi=env._llvm_trap;var ni=env._longjmp;var oi=env._nanosleep;var pi=env._pthread_attr_getstacksize;var qi=env._pthread_attr_init;var ri=env._pthread_attr_setstacksize;var si=env._pthread_cleanup_pop;var ti=env._pthread_cleanup_push;var ui=env._pthread_cond_destroy;var vi=env._pthread_cond_init;var wi=env._pthread_cond_signal;var xi=env._pthread_cond_timedwait;var yi=env._pthread_cond_wait;var zi=env._pthread_create;var Ai=env._pthread_getspecific;var Bi=env._pthread_join;var Ci=env._pthread_key_create;var Di=env._pthread_mutex_destroy;var Ei=env._pthread_mutex_init;var Fi=env._pthread_mutexattr_init;var Gi=env._pthread_mutexattr_settype;var Hi=env._pthread_once;var Ii=env._pthread_setspecific;var Ji=env._sigaction;var Ki=env._signal;var Li=env._strftime;var Mi=env._strftime_l;var Ni=env._time;var Oi=env._usleep;var Pi=env.emscriptenWebGLComputeImageSize;var Qi=env.emscriptenWebGLGet;var Ri=env.emscriptenWebGLGetTexPixelData;var Si=env.emscriptenWebGLGetUniform;var Ti=env.emscriptenWebGLGetVertexAttrib;var Ui=0.0;function Vi(newBuffer){if(q(newBuffer)&16777215||q(newBuffer)<=16777215||q(newBuffer)>2147483648)return false;b=new a(newBuffer);d=new c(newBuffer);f=new e(newBuffer);h=new g(newBuffer);j=new i(newBuffer);l=new k(newBuffer);n=new m(newBuffer);p=new o(newBuffer);buffer=newBuffer;return true}
// EMSCRIPTEN_START_FUNCS
function gN(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0;q=u;u=u+16|0;i=q;m=q+8|0;k=a+208|0;if(!(f[(f[k>>2]|0)+116>>2]|0)){u=q;return}n=a+100|0;o=f[n>>2]|0;c=f[a+200>>2]|0;e=o+180|0;d=f[e>>2]|0;if((d|0)!=(c|0)){f[e>>2]=c;if(c|0){j=c+8|0;f[j>>2]=(f[j>>2]|0)+1}if(d|0?(c=d+8|0,j=f[c>>2]|0,f[c>>2]=j-1,(j|0)==1):0)Rua(d,1,1)}j=a+224|0;c=f[j>>2]|0;if(((c|0?(g=o+360|0,h=f[g>>2]|0,(h|0)!=(c|0)):0)?(f[g>>2]=c,g=c+8|0,f[g>>2]=(f[g>>2]|0)+1,h|0):0)?(d=h+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(h,1,1);tj[f[(f[o>>2]|0)+12>>2]&2047](o);h=Uza(f[o+124>>2]|0)|0;Bj[f[(f[h>>2]|0)+12>>2]&1023](h,f[e>>2]|0);if(!(b[a+136>>0]|0))tj[f[(f[a>>2]|0)+196>>2]&2047](a);c=a+246|0;if(b[c>>0]|0){p[i>>3]=.005;Bj[f[(f[a>>2]|0)+220>>2]&1023](a,i)}b[c>>0]=b[a+245>>0]|0;f[m>>2]=0;c=f[j>>2]|0;a:do if((c|0)!=0?(b[c+16>>0]|0)!=0:0)switch(f[c+20>>2]|0){case 0:{d=a+96|0;FZa(f[d>>2]|0,f[(f[k>>2]|0)+288>>2]|0,0);c=f2a(f[d>>2]|0,25,0)|0;if(!c){c=EBb(60)|0;pZa(c);f[c>>2]=341216;f[c+56>>2]=16843009;FZa(f[d>>2]|0,c,0)}else{b[c+56>>0]=1;b[c+57>>0]=1;b[c+58>>0]=1;b[c+59>>0]=1}h=a+172|0;d=(f[h>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,k=c+8|0,f[k>>2]=(f[k>>2]|0)+1,e|0):0)?(j=e+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(e,1,1);e=a+188|0;g=(f[e>>2]|0)+172|0;d=f[g>>2]|0;if(((d|0)!=(c|0)?(f[g>>2]=c,a=c+8|0,f[a>>2]=(f[a>>2]|0)+1,d|0):0)?(k=d+8|0,a=f[k>>2]|0,f[k>>2]=a-1,(a|0)==1):0)Rua(d,1,1);a=f[h>>2]|0;f[a+152>>2]=1026;b[a+156>>0]=1;f[a+160>>2]=1026;b[a+164>>0]=1;k=f[e>>2]|0;f[k+152>>2]=1027;b[k+156>>0]=1;f[k+160>>2]=1027;b[k+164>>0]=1;Fj[f[(f[a>>2]|0)+216>>2]&511](a,n,m);a=f[e>>2]|0;Fj[f[(f[a>>2]|0)+216>>2]&511](a,n,m);a=f[h>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);a=f[e>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);break a}case 1:{c=f[k>>2]|0;if(!(f[c+148>>2]&131072)){j=f[a+172>>2]|0;i=f[c+568>>2]|0;f[j+152>>2]=i;b[j+156>>0]=1;f[j+160>>2]=i;b[j+164>>0]=1;j=f[a+188>>2]|0;f[j+152>>2]=i;b[j+156>>0]=1;f[j+160>>2]=i;b[j+164>>0]=1}i=a+96|0;c=f2a(f[i>>2]|0,25,0)|0;if(!c){c=EBb(60)|0;pZa(c);f[c>>2]=341216;f[c+56>>2]=16843009;FZa(f[i>>2]|0,c,0)}else{b[c+56>>0]=1;b[c+57>>0]=1;b[c+58>>0]=1;b[c+59>>0]=1}g=a+172|0;d=(f[g>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,j=c+8|0,f[j>>2]=(f[j>>2]|0)+1,e|0):0)?(h=e+8|0,j=f[h>>2]|0,f[h>>2]=j-1,(j|0)==1):0)Rua(e,1,1);h=a+188|0;d=(f[h>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,a=c+8|0,f[a>>2]=(f[a>>2]|0)+1,e|0):0)?(j=e+8|0,a=f[j>>2]|0,f[j>>2]=a-1,(a|0)==1):0)Rua(e,1,1);FZa(f[i>>2]|0,f[(f[k>>2]|0)+288>>2]|0,0);c=f[g>>2]|0;Fj[f[(f[c>>2]|0)+216>>2]&511](c,n,m);c=f[h>>2]|0;Fj[f[(f[c>>2]|0)+216>>2]&511](c,n,m);c=f[(f[g>>2]|0)+172>>2]|0;if(!c){c=EBb(60)|0;UZa(c);d=(f[g>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,a=c+8|0,f[a>>2]=(f[a>>2]|0)+1,(e|0)!=0):0)?(k=e+8|0,a=f[k>>2]|0,f[k>>2]=a-1,(a|0)==1):0)Rua(e,1,1)}b[c+56>>0]=1;b[c+57>>0]=0;b[c+58>>0]=0;b[c+59>>0]=1;FZa(f[i>>2]|0,c,0);c=f[g>>2]|0;Fj[f[(f[c>>2]|0)+196>>2]&511](c,n,m);c=f[(f[h>>2]|0)+172>>2]|0;if(!c){c=EBb(60)|0;UZa(c);d=(f[h>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,a=c+8|0,f[a>>2]=(f[a>>2]|0)+1,(e|0)!=0):0)?(k=e+8|0,a=f[k>>2]|0,f[k>>2]=a-1,(a|0)==1):0)Rua(e,1,1)}b[c+56>>0]=0;b[c+57>>0]=1;b[c+58>>0]=1;b[c+59>>0]=1;FZa(f[i>>2]|0,c,0);a=f[h>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);break a}case 2:{c=f[k>>2]|0;if(!(f[c+148>>2]&131072)){i=f[a+172>>2]|0;h=f[c+568>>2]|0;f[i+152>>2]=h;b[i+156>>0]=1;f[i+160>>2]=h;b[i+164>>0]=1;i=f[a+188>>2]|0;f[i+152>>2]=h;b[i+156>>0]=1;f[i+160>>2]=h;b[i+164>>0]=1}i=a+96|0;c=f2a(f[i>>2]|0,25,0)|0;if(!c){c=EBb(60)|0;pZa(c);f[c>>2]=341216;f[c+56>>2]=16843009;FZa(f[i>>2]|0,c,0)}else{b[c+56>>0]=1;b[c+57>>0]=1;b[c+58>>0]=1;b[c+59>>0]=1}h=a+172|0;d=(f[h>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,g=c+8|0,f[g>>2]=(f[g>>2]|0)+1,e|0):0)?(d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);g=a+188|0;d=(f[g>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,d=c+8|0,f[d>>2]=(f[d>>2]|0)+1,e|0):0)?(c=e+8|0,d=f[c>>2]|0,f[c>>2]=d-1,(d|0)==1):0)Rua(e,1,1);d=a+176|0;FZa(f[i>>2]|0,f[d>>2]|0,0);e=f[h>>2]|0;Fj[f[(f[e>>2]|0)+216>>2]&511](e,n,m);e=a+192|0;FZa(f[i>>2]|0,f[e>>2]|0,0);c=f[g>>2]|0;Fj[f[(f[c>>2]|0)+216>>2]&511](c,n,m);c=f[(f[j>>2]|0)+44>>2]|0;if((c|0)>0){k=f[(f[k>>2]|0)+288>>2]|0;yN(a,~~(+p[k+56>>3]+(+p[k+72>>3]-+(c|0))*.5),~~+p[k+64>>3],c,~~+p[k+80>>3],(f[h>>2]|0)+176|0)}FZa(f[i>>2]|0,f[d>>2]|0,0);a=f[h>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);FZa(f[i>>2]|0,f[e>>2]|0,0);a=f[g>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);break a}case 3:{c=f[k>>2]|0;if(!(f[c+148>>2]&131072)){i=f[a+172>>2]|0;h=f[c+568>>2]|0;f[i+152>>2]=h;b[i+156>>0]=1;f[i+160>>2]=h;b[i+164>>0]=1;i=f[a+188>>2]|0;f[i+152>>2]=h;b[i+156>>0]=1;f[i+160>>2]=h;b[i+164>>0]=1}i=a+96|0;c=f2a(f[i>>2]|0,25,0)|0;if(!c){c=EBb(60)|0;pZa(c);f[c>>2]=341216;f[c+56>>2]=16843009;FZa(f[i>>2]|0,c,0)}else{b[c+56>>0]=1;b[c+57>>0]=1;b[c+58>>0]=1;b[c+59>>0]=1}h=a+172|0;d=(f[h>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,g=c+8|0,f[g>>2]=(f[g>>2]|0)+1,e|0):0)?(d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);g=a+188|0;d=(f[g>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,d=c+8|0,f[d>>2]=(f[d>>2]|0)+1,e|0):0)?(c=e+8|0,d=f[c>>2]|0,f[c>>2]=d-1,(d|0)==1):0)Rua(e,1,1);d=a+176|0;FZa(f[i>>2]|0,f[d>>2]|0,0);e=f[h>>2]|0;Fj[f[(f[e>>2]|0)+216>>2]&511](e,n,m);e=a+192|0;FZa(f[i>>2]|0,f[e>>2]|0,0);c=f[g>>2]|0;Fj[f[(f[c>>2]|0)+216>>2]&511](c,n,m);c=f[(f[j>>2]|0)+52>>2]|0;if((c|0)>0){k=f[(f[k>>2]|0)+288>>2]|0;yN(a,~~+p[k+56>>3],~~(+p[k+64>>3]+(+p[k+80>>3]-+(c|0))*.5),~~+p[k+72>>3],c,(f[h>>2]|0)+176|0)}FZa(f[i>>2]|0,f[d>>2]|0,0);a=f[h>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);FZa(f[i>>2]|0,f[e>>2]|0,0);a=f[g>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);break a}case 4:case 5:{c=f[k>>2]|0;if(!(f[c+148>>2]&131072)){j=f[a+156>>2]|0;i=f[c+568>>2]|0;f[j+152>>2]=i;b[j+156>>0]=1;f[j+160>>2]=i;b[j+164>>0]=1}h=a+96|0;c=f2a(f[h>>2]|0,25,0)|0;if(!c){c=EBb(60)|0;pZa(c);f[c>>2]=341216;f[c+56>>2]=16843009;FZa(f[h>>2]|0,c,0)}else{b[c+56>>0]=1;b[c+57>>0]=1;b[c+58>>0]=1;b[c+59>>0]=1}g=a+156|0;d=(f[g>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,a=c+8|0,f[a>>2]=(f[a>>2]|0)+1,e|0):0)?(j=e+8|0,a=f[j>>2]|0,f[j>>2]=a-1,(a|0)==1):0)Rua(e,1,1);d=(f[g>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,a=c+8|0,f[a>>2]=(f[a>>2]|0)+1,e|0):0)?(j=e+8|0,a=f[j>>2]|0,f[j>>2]=a-1,(a|0)==1):0)Rua(e,1,1);FZa(f[h>>2]|0,f[(f[k>>2]|0)+288>>2]|0,0);a=f[g>>2]|0;Fj[f[(f[a>>2]|0)+216>>2]&511](a,n,m);a=f[g>>2]|0;Fj[f[(f[a>>2]|0)+196>>2]&511](a,n,m);break a}case 8:case 6:case 7:{if(!(qZa(3)|0))break a;n=Nu(Hua(3)|0,381682,109)|0;Drb(i,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);m=utb(i,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(i);ksb(n,m)|0;Krb(n)|0;break a}default:{if(!(qZa(3)|0))break a;n=Nu(Hua(3)|0,381792,41)|0;Drb(i,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);m=utb(i,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(i);ksb(n,m)|0;Krb(n)|0;break a}}else l=106;while(0);if((l|0)==106){d=f[k>>2]|0;c=f[d+148>>2]|0;if(!(c&131072)){l=f[a+156>>2]|0;k=f[d+568>>2]|0;f[l+152>>2]=k;b[l+156>>0]=1;f[l+160>>2]=k;b[l+164>>0]=1}if(!(c&262144)){l=f[a+156>>2]|0;f[l+160>>2]=f[d+572>>2];b[l+164>>0]=1}e=a+96|0;FZa(f[e>>2]|0,f[d+288>>2]|0,0);if(b[a+288>>0]|0){c=f2a(f[e>>2]|0,25,0)|0;if(!c){g=EBb(60)|0;pZa(g);f[g>>2]=341216;f[g+56>>2]=16843009;FZa(f[e>>2]|0,g,0)}else{b[c+56>>0]=1;b[c+57>>0]=1;b[c+58>>0]=1;b[c+59>>0]=1;g=c}c=a+156|0;d=(f[c>>2]|0)+172|0;e=f[d>>2]|0;if(((e|0)!=(g|0)?(f[d>>2]=g,l=g+8|0,f[l>>2]=(f[l>>2]|0)+1,(e|0)!=0):0)?(a=e+8|0,l=f[a>>2]|0,f[a>>2]=l-1,(l|0)==1):0)Rua(e,1,1)}else c=a+156|0;l=f[c>>2]|0;Fj[f[(f[l>>2]|0)+216>>2]&511](l,n,m);l=f[c>>2]|0;Fj[f[(f[l>>2]|0)+196>>2]&511](l,n,m)}v1a(o);I1a(o);c=o+368|0;if(f[c>>2]|0?TIa(o,381834,0)|0:0)f[c>>2]=2;u=q;return}function hN(a){a=a|0;var b=0;b=f[a+204>>2]|0;if(!b)return;if(!(f[b+24>>2]|0))return;b=f[a+208>>2]|0;if(!b)return;Bj[f[(f[b>>2]|0)+160>>2]&1023](b,f[a+100>>2]|0);return}function iN(a){a=a|0;b[a+246>>0]=0;c$a(f[(f[a+100>>2]|0)+124>>2]|0);return}function jN(a,c){a=a|0;c=c|0;var d=0.0,e=0;e=f[a+100>>2]|0;b[a+246>>0]=0;a=f[e+180>>2]|0;if(!a)d=0.0;else d=+p[a+16>>3];b$a(f[e+124>>2]|0,d,c);return}function kN(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0;y=u;u=u+16|0;n=y;r=a+204|0;j=f[r>>2]|0;if(!j){h=0;u=y;return h|0}if(!(f[j+24>>2]|0)){h=0;u=y;return h|0}t=a+208|0;if(!((i|0)!=0&(f[t>>2]|0)!=0)){h=0;u=y;return h|0}x=EBb(160)|0;v_a(x,0);v=x+12|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[x+24>>2]=2;f[x+28>>2]=0;p[x+32>>3]=+p[c>>3];p[x+40>>3]=+p[c+8>>3];p[x+48>>3]=+p[c+16>>3];p[x+56>>3]=+p[c+24>>3];p[x+64>>3]=+p[c+32>>3];p[x+72>>3]=+p[c+40>>3];p[x+80>>3]=+p[c+48>>3];p[x+88>>3]=+p[c+56>>3];p[x+96>>3]=+p[c+64>>3];p[x+104>>3]=+p[c+72>>3];p[x+112>>3]=+p[c+80>>3];p[x+120>>3]=+p[c+88>>3];p[x+128>>3]=+p[c+96>>3];p[x+136>>3]=+p[c+104>>3];p[x+144>>3]=+p[c+112>>3];p[x+152>>3]=+p[c+120>>3];f[x>>2]=313412;v=x+8|0;f[v>>2]=(f[v>>2]|0)+1;w=EBb(160)|0;v_a(w,0);s=w+12|0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[w+24>>2]=2;f[w+28>>2]=0;p[w+32>>3]=+p[d>>3];p[w+40>>3]=+p[d+8>>3];p[w+48>>3]=+p[d+16>>3];p[w+56>>3]=+p[d+24>>3];p[w+64>>3]=+p[d+32>>3];p[w+72>>3]=+p[d+40>>3];p[w+80>>3]=+p[d+48>>3];p[w+88>>3]=+p[d+56>>3];p[w+96>>3]=+p[d+64>>3];p[w+104>>3]=+p[d+72>>3];p[w+112>>3]=+p[d+80>>3];p[w+120>>3]=+p[d+88>>3];p[w+128>>3]=+p[d+96>>3];p[w+136>>3]=+p[d+104>>3];p[w+144>>3]=+p[d+112>>3];p[w+152>>3]=+p[d+120>>3];f[w>>2]=313412;s=w+8|0;f[s>>2]=(f[s>>2]|0)+1;a:do if(h0a(f[t>>2]|0)|0){o=a+196|0;if((((f[o>>2]|0)==0?(k=EBb(432)|0,mEa(k),l=f[o>>2]|0,(l|0)!=(k|0)):0)?(f[o>>2]=k,q=k+(f[(f[k>>2]|0)+-12>>2]|0)+8|0,f[q>>2]=(f[q>>2]|0)+1,l|0):0)?(m=l+(f[(f[l>>2]|0)+-12>>2]|0)|0,l=m+8|0,q=f[l>>2]|0,f[l>>2]=q-1,(q|0)==1):0)Rua(m,1,1);c=(f[o>>2]|0)+56|0;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,a+32|0);c=f[o>>2]|0;tj[f[(f[c>>2]|0)+76>>2]&2047](c);c=a+200|0;j=f[c>>2]|0;d=(f[o>>2]|0)+12|0;k=f[d>>2]|0;if((k|0)!=(j|0)){f[d>>2]=j;if(j|0){q=j+8|0;f[q>>2]=(f[q>>2]|0)+1}if(k|0?(m=k+8|0,q=f[m>>2]|0,f[m>>2]=q-1,(q|0)==1):0)Rua(k,1,1);j=f[c>>2]|0}if(!j)j=f[o>>2]|0;else{q=f[o>>2]|0;f[q+8>>2]=f[j+12>>2];j=q}p_a(j+56|0,i);jEa((f[o>>2]|0)+56|0,x);QDa((f[o>>2]|0)+56|0,w,1);j=f[o>>2]|0;c=f[t>>2]|0;switch(f[j+16>>2]|0){case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,j);break}case 0:break;default:Bj[f[(f[c>>2]|0)+220>>2]&1023](c,j)}RDa((f[o>>2]|0)+56|0);kEa((f[o>>2]|0)+56|0);r_a((f[o>>2]|0)+56|0);WZa(f[o>>2]|0);if(qZa(5)|0){q=Nu(Hua(5)|0,381641,40)|0;q=esb(q,f[(f[o>>2]|0)+392>>2]|0)|0;Drb(n,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);m=utb(n,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(n);ksb(q,m)|0;Krb(q)|0}m=e+120|0;c=f[m>>2]|0;n=e+124|0;j=f[n>>2]|0;if((j|0)!=(c|0))do{j=j+-80|0;qN(j)}while((j|0)!=(c|0));f[n>>2]=c;k=f[o>>2]|0;j=f[k+384>>2]|0;k=k+388|0;if((j|0)!=(k|0)){l=e+128|0;d=j;while(1){j=d+16|0;if((c|0)==(f[l>>2]|0))sN(m,j);else{rN(c,j);f[n>>2]=(f[n>>2]|0)+80}j=f[d+4>>2]|0;if(!j){c=d+8|0;j=f[c>>2]|0;if((f[j>>2]|0)!=(d|0))do{q=f[c>>2]|0;c=q+8|0;j=f[c>>2]|0}while((f[j>>2]|0)!=(q|0))}else while(1){c=f[j>>2]|0;if(!c)break;else j=c}if((j|0)==(k|0))break a;d=j;c=f[n>>2]|0}}}while(0);tj[f[(f[e>>2]|0)+76>>2]&2047](e);c=a+200|0;j=f[c>>2]|0;d=e+12|0;k=f[d>>2]|0;if((k|0)!=(j|0)){f[d>>2]=j;if(j|0){q=j+8|0;f[q>>2]=(f[q>>2]|0)+1}if(k|0?(o=k+8|0,q=f[o>>2]|0,f[o>>2]=q-1,(q|0)==1):0)Rua(k,1,1);j=f[c>>2]|0}if(j|0)f[e+8>>2]=f[j+12>>2];n=e+56|0;Bj[f[(f[n>>2]|0)+12>>2]&1023](n,a+32|0);j=e+372|0;c=f[j>>2]|0;if((c|0)!=(g|0)){f[j>>2]=g;if(g|0){q=g+8|0;f[q>>2]=(f[q>>2]|0)+1}if(c|0?(o=c+8|0,q=f[o>>2]|0,f[o>>2]=q-1,(q|0)==1):0)Rua(c,1,1)}q=e+376|0;f[q>>2]=g;j=e+380|0;c=f[j>>2]|0;if((c|0)!=(h|0)){f[j>>2]=h;if(h|0){o=h+8|0;f[o>>2]=(f[o>>2]|0)+1}if(c|0?(m=c+8|0,o=f[m>>2]|0,f[m>>2]=o-1,(o|0)==1):0)Rua(c,1,1)}o=e+384|0;f[o>>2]=h;tN(e+440|0,a+100|0)|0;tj[f[(f[h>>2]|0)+164>>2]&2047](h);oI(g);j=h+148|0;c=f[j>>2]|0;if(((c|0)!=(w|0)?(f[j>>2]=w,f[s>>2]=(f[s>>2]|0)+1,c|0):0)?(l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1);j=h+144|0;c=f[j>>2]|0;if(((c|0)!=(i|0)?(f[j>>2]=i,m=i+8|0,f[m>>2]=(f[m>>2]|0)+1,c|0):0)?(l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1);j=(f[t>>2]|0)+240|0;c=h+176|0;f[c>>2]=f[j>>2];f[c+4>>2]=f[j+4>>2];f[c+8>>2]=f[j+8>>2];f[c+12>>2]=f[j+12>>2];c=f[t>>2]|0;p[h+208>>3]=+p[c+272>>3];c=c+256|0;j=h+192|0;f[j>>2]=f[c>>2];f[j+4>>2]=f[c+4>>2];f[j+8>>2]=f[c+8>>2];f[j+12>>2]=f[c+12>>2];j=f[t>>2]|0;f[h+216>>2]=f[j+280>>2];f[h+168>>2]=f[j+236>>2];c=f[r>>2]|0;if(!c)k=0;else k=(f[c+24>>2]|0)==0?0:j;l=h+232|0;if((f[l>>2]|0)!=(k|0)){if(!k)j=0;else j=cCa(k)|0;c=h+228|0;d=f[c>>2]|0;if((d|0)!=(j|0)){f[c>>2]=j;if(j|0){m=j+8|0;f[m>>2]=(f[m>>2]|0)+1}if(d|0?(j=d+8|0,m=f[j>>2]|0,f[j>>2]=m-1,(m|0)==1):0)Rua(d,1,1);j=f[c>>2]|0}if(!j)j=0;else j=(f[j+24>>2]|0)==0?0:k;f[l>>2]=j;b[h+220>>0]=1}m=a+216|0;j=f[m>>2]|0;if(j|0)dH(e,j);l=a+228|0;j=f[l>>2]|0;if(j|0)dH(e,j);k=a+96|0;j=f[k>>2]|0;if(j|0)dH(e,j);p_a(n,i);jEa(n,x);QDa(n,w,1);c=f[t>>2]|0;d=f[c+100>>2]|0;b:do if(!d)switch(f[e+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,e);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,e);break b}}else{j=f[r>>2]|0;if(!j)j=0;else j=(f[j+24>>2]|0)==0?0:c;dj[f[(f[d>>2]|0)+92>>2]&255](d,j,e+(f[(f[e>>2]|0)+-12>>2]|0)|0)|0}while(0);RDa(n);tj[f[(f[e>>2]|0)+204>>2]&2047](e);r_a(n);if(f[k>>2]|0){k=f[q>>2]|0;j=f[k+16>>2]|0;d=f[j+120>>2]|0;if(d&2|0){r=e+436|0;f[r>>2]=(f[r>>2]|0)+-1}do if(d|0){c=b[j+128+11>>0]|0;if(c<<24>>24<0)j=f[j+132>>2]|0;else j=c&255;if(!j)break;if(!((d&4|0)!=0|(f[e+436>>2]|0)==0))break;j=e+392|0;c=f[j>>2]|0;if((f[e+388>>2]|0)==(c|0)){f[o>>2]=f[(f[o>>2]|0)+44>>2];break}else{r=c+-4|0;f[o>>2]=f[r>>2];f[j>>2]=r;break}}while(0);f[q>>2]=f[k+12>>2]}if(f[l>>2]|0){k=f[q>>2]|0;j=f[k+16>>2]|0;d=f[j+120>>2]|0;if(d&2|0){r=e+436|0;f[r>>2]=(f[r>>2]|0)+-1}do if(d|0){c=b[j+128+11>>0]|0;if(c<<24>>24<0)j=f[j+132>>2]|0;else j=c&255;if(!j)break;if(!((d&4|0)!=0|(f[e+436>>2]|0)==0))break;j=e+392|0;c=f[j>>2]|0;if((f[e+388>>2]|0)==(c|0)){f[o>>2]=f[(f[o>>2]|0)+44>>2];break}else{r=c+-4|0;f[o>>2]=f[r>>2];f[j>>2]=r;break}}while(0);f[q>>2]=f[k+12>>2]}if(f[m>>2]|0){k=f[q>>2]|0;j=f[k+16>>2]|0;d=f[j+120>>2]|0;if(d&2|0){r=e+436|0;f[r>>2]=(f[r>>2]|0)+-1}do if(d|0){c=b[j+128+11>>0]|0;if(c<<24>>24<0)j=f[j+132>>2]|0;else j=c&255;if(!j)break;if(!((d&4|0)!=0|(f[e+436>>2]|0)==0))break;j=e+392|0;c=f[j>>2]|0;if((f[e+388>>2]|0)==(c|0)){f[o>>2]=f[(f[o>>2]|0)+44>>2];break}else{r=c+-4|0;f[o>>2]=f[r>>2];f[j>>2]=r;break}}while(0);f[q>>2]=f[k+12>>2]}tj[f[(f[h>>2]|0)+168>>2]&2047](h);pI(g);g=_i[f[(f[h>>2]|0)+204>>2]&2047](h)|0;h=a+284|0;f[h>>2]=(f[h>>2]|0)+g;do if(!(f[e+68>>2]|0))j=0;else{h=f[t>>2]|0;if(!(_i[f[(f[h>>2]|0)+248>>2]&2047](h)|0)){j=0;break}j=(f[f[(f[t>>2]|0)+124>>2]>>2]|0)!=0}while(0);h=f[s>>2]|0;f[s>>2]=h-1;if((h|0)==1)Rua(w,1,1);h=f[v>>2]|0;f[v>>2]=h-1;if((h|0)!=1){h=j;u=y;return h|0}Rua(x,1,1);h=j;u=y;return h|0}function lN(a){a=a|0;QM(a+-32|0);return}function mN(a){a=a|0;a=a+-32|0;QM(a);GBb(a);return}function nN(a){a=a|0;a=a+-32|0;Bj[f[(f[a>>2]|0)+168>>2]&1023](a,29);return}function oN(a,b){a=a|0;b=b|0;a=a+-32|0;Fj[f[(f[a>>2]|0)+192>>2]&511](a,b,f[a+36>>2]|0);return}function pN(a,b,c){a=a|0;b=b|0;c=c|0;cN(a+-32|0,b,c);return}function qN(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;d=a+68|0;e=f[d>>2]|0;if(e|0){g=a+72|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{c=f[b+-12>>2]|0;if(c|0){f[b+-8>>2]=c;GBb(c)}c=f[b+-24>>2]|0;if(c|0){f[b+-20>>2]=c;GBb(c)}c=f[b+-44>>2]|0;if(c|0){f[b+-40>>2]=c;GBb(c)}b=b+-48|0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=f[a+56>>2]|0;if(b|0){f[a+60>>2]=b;GBb(b)}b=f[a+44>>2]|0;if(b|0){f[a+48>>2]=b;GBb(b)}b=f[a+24>>2]|0;if(b|0){f[a+28>>2]=b;GBb(b)}b=a+16|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function rN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;f[a>>2]=f[b>>2];e=a+4|0;g=b+4|0;f[e>>2]=0;k=a+8|0;f[k>>2]=0;h=a+12|0;f[h>>2]=0;j=b+8|0;c=(f[j>>2]|0)-(f[g>>2]|0)|0;d=c>>2;if(c|0){if(d>>>0>1073741823)DCb(e);i=EBb(c)|0;f[k>>2]=i;f[e>>2]=i;f[h>>2]=i+(d<<2);d=f[g>>2]|0;c=(f[j>>2]|0)-d|0;if((c|0)>0){YDb(i|0,d|0,c|0)|0;f[k>>2]=i+(c>>>2<<2)}}c=f[b+16>>2]|0;f[a+16>>2]=c;if(!c){j=a+20|0;k=b+20|0;wN(j,k);a=a+68|0;b=b+68|0;xN(a,b);return}j=c+8|0;f[j>>2]=(f[j>>2]|0)+1;j=a+20|0;k=b+20|0;wN(j,k);a=a+68|0;b=b+68|0;xN(a,b);return}function sN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=a+4|0;c=f[a>>2]|0;e=((f[i>>2]|0)-c|0)/80|0;d=e+1|0;if(d>>>0>53687091)DCb(a);j=a+8|0;h=((f[j>>2]|0)-c|0)/80|0;g=h<<1;g=h>>>0<26843545?(g>>>0>>0?d:g):53687091;do if(g)if(g>>>0>53687091){j=ab(8)|0;KBb(j,410101);f[j>>2]=362060;eb(j|0,302144,1464)}else{c=EBb(g*80|0)|0;break}else c=0;while(0);e=c+(e*80|0)|0;d=e;h=c+(g*80|0)|0;rN(e,b);b=e+80|0;g=f[a>>2]|0;c=f[i>>2]|0;if((c|0)==(g|0)){e=g;c=g}else{while(1){c=c+-80|0;rN(e+-80|0,c);e=d+-80|0;if((c|0)==(g|0))break;else d=e}d=e;e=f[a>>2]|0;c=f[i>>2]|0}f[a>>2]=d;f[i>>2]=b;f[j>>2]=h;d=e;if((c|0)!=(d|0))do{c=c+-80|0;qN(c)}while((c|0)!=(d|0));if(!e)return;GBb(e);return}function tN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[a>>2]|0;d=f[b>>2]|0;if((c|0)!=(d|0)){f[a>>2]=d;if(d|0){e=d+8|0;f[e>>2]=(f[e>>2]|0)+1}if(c|0?(d=c+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(c,1,1)}f[a+4>>2]=f[b+4>>2];if((a|0)!=(b|0)){uN(a+8|0,f[b+8>>2]|0,f[b+12>>2]|0);vN(a+20|0,f[b+20>>2]|0,f[b+24>>2]|0)}d=a+32|0;e=f[d>>2]|0;c=f[b+32>>2]|0;if((e|0)==(c|0))return a|0;f[d>>2]=c;if(c|0){b=c+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!e)return a|0;d=e+8|0;b=f[d>>2]|0;f[d>>2]=b-1;if((b|0)!=1)return a|0;Rua(e,1,1);return a|0}function uN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c;h=b;g=k-h|0;e=g>>2;i=a+8|0;d=f[i>>2]|0;l=f[a>>2]|0;j=l;if(e>>>0<=d-l>>2>>>0){g=a+4|0;a=(f[g>>2]|0)-l>>2;e=e>>>0>a>>>0;a=e?b+(a<<2)|0:c;c=a;d=c-h|0;if(d|0)ZDb(l|0,b|0,d|0)|0;if(!e){f[g>>2]=j+(d>>2<<2);return}d=k-c|0;if((d|0)<=0)return;YDb(f[g>>2]|0,a|0,d|0)|0;f[g>>2]=(f[g>>2]|0)+(d>>>2<<2);return}if(l){d=a+4|0;f[d>>2]=l;GBb(l);f[i>>2]=0;f[d>>2]=0;f[a>>2]=0;d=0}if(e>>>0>1073741823)DCb(a);l=d>>1;e=d>>2>>>0<536870911?(l>>>0>>0?e:l):1073741823;if(e>>>0>1073741823)DCb(a);d=EBb(e<<2)|0;c=a+4|0;f[c>>2]=d;f[a>>2]=d;f[i>>2]=d+(e<<2);if((g|0)<=0)return;YDb(d|0,b|0,g|0)|0;f[c>>2]=d+(g>>>2<<2);return}function vN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c;h=b;g=k-h|0;e=g>>2;i=a+8|0;d=f[i>>2]|0;l=f[a>>2]|0;j=l;if(e>>>0<=d-l>>2>>>0){g=a+4|0;a=(f[g>>2]|0)-l>>2;e=e>>>0>a>>>0;a=e?b+(a<<2)|0:c;c=a;d=c-h|0;if(d|0)ZDb(l|0,b|0,d|0)|0;if(!e){f[g>>2]=j+(d>>2<<2);return}d=k-c|0;if((d|0)<=0)return;YDb(f[g>>2]|0,a|0,d|0)|0;f[g>>2]=(f[g>>2]|0)+(d>>>2<<2);return}if(l){d=a+4|0;f[d>>2]=l;GBb(l);f[i>>2]=0;f[d>>2]=0;f[a>>2]=0;d=0}if(e>>>0>1073741823)DCb(a);l=d>>1;e=d>>2>>>0<536870911?(l>>>0>>0?e:l):1073741823;if(e>>>0>1073741823)DCb(a);d=EBb(e<<2)|0;c=a+4|0;f[c>>2]=d;f[a>>2]=d;f[i>>2]=d+(e<<2);if((g|0)<=0)return;YDb(d|0,b|0,g|0)|0;f[c>>2]=d+(g>>>2<<2);return}function wN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;f[a>>2]=f[b>>2];e=a+4|0;g=b+4|0;f[e>>2]=0;k=a+8|0;f[k>>2]=0;h=a+12|0;f[h>>2]=0;j=b+8|0;c=(f[j>>2]|0)-(f[g>>2]|0)|0;d=c>>2;if(c|0){if(d>>>0>1073741823)DCb(e);i=EBb(c)|0;f[k>>2]=i;f[e>>2]=i;f[h>>2]=i+(d<<2);d=f[g>>2]|0;c=(f[j>>2]|0)-d|0;if((c|0)>0){YDb(i|0,d|0,c|0)|0;f[k>>2]=i+(c>>>2<<2)}}f[a+16>>2]=f[b+16>>2];f[a+20>>2]=f[b+20>>2];cK(a+24|0,b+24|0);i=a+36|0;j=b+36|0;f[i>>2]=0;k=a+40|0;f[k>>2]=0;e=a+44|0;f[e>>2]=0;g=b+40|0;c=(f[g>>2]|0)-(f[j>>2]|0)|0;d=(c|0)/12|0;if(!c)return;if(d>>>0>357913941)DCb(i);h=EBb(c)|0;f[k>>2]=h;f[i>>2]=h;f[e>>2]=h+(d*12|0);d=f[j>>2]|0;c=(f[g>>2]|0)-d|0;if((c|0)<=0)return;YDb(h|0,d|0,c|0)|0;f[k>>2]=h+(((c>>>0)/12|0)*12|0);return}function xN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;f[a>>2]=0;h=a+4|0;f[h>>2]=0;d=a+8|0;f[d>>2]=0;g=b+4|0;c=(f[g>>2]|0)-(f[b>>2]|0)|0;e=(c|0)/48|0;if(!c)return;if(e>>>0>89478485)DCb(a);c=EBb(c)|0;f[h>>2]=c;f[a>>2]=c;f[d>>2]=c+(e*48|0);a=f[b>>2]|0;b=f[g>>2]|0;if((a|0)==(b|0))return;do{wN(c,a);a=a+48|0;c=(f[h>>2]|0)+48|0;f[h>>2]=c}while((a|0)!=(b|0));return}function yN(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0,i=0;h=EBb(88)|0;_2a(h);i=h+8|0;f[i>>2]=(f[i>>2]|0)+1;p[h+56>>3]=+(b|0);p[h+64>>3]=+(c|0);p[h+72>>3]=+(d|0);p[h+80>>3]=+(e|0);mJ(f[a+100>>2]|0,h)|0;Rh(b|0,c|0,d|0,e|0);Ih(3089);Ah(1,1,1,1);xh(+(+n[g>>2]),+(+n[g+4>>2]),+(+n[g+8>>2]),+(+n[g+12>>2]));wh(16384);Fh(3089);g=f[i>>2]|0;f[i>>2]=g-1;if((g|0)!=1)return;Rua(h,1,1);return}function zN(a){a=a|0;var c=0,d=0,e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0.0;s=u;u=u+128|0;r=s;q=a+96|0;c=f[q>>2]|0;if(!c){c=EBb(160)|0;jBa(c);d=f[q>>2]|0;if((d|0)!=(c|0)){f[q>>2]=c;o=c+8|0;f[o>>2]=(f[o>>2]|0)+1;if(d|0?(l=d+8|0,o=f[l>>2]|0,f[l>>2]=o-1,(o|0)==1):0)Rua(d,1,1);c=f[q>>2]|0;if(!c){u=s;return}else d=c}else d=c}else d=c;o=a+248|0;c=f[o>>2]|0;if((c&1|0)!=0?(g=a+200|0,(f[g>>2]|0)!=0):0){c=EBb(16)|0;f[r>>2]=c;f[r+8>>2]=-2147483632;f[r+4>>2]=15;j=c;k=382257;l=j+15|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[c+15>>0]=0;c=g2a(d,r,5125,1)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);O2a(c,f[(f[g>>2]|0)+12>>2]|0)|0;c=f[o>>2]|0}if((c&2|0)!=0?(h=a+200|0,(f[h>>2]|0)!=0):0){c=f[q>>2]|0;d=EBb(16)|0;f[r>>2]=d;f[r+8>>2]=-2147483632;f[r+4>>2]=13;j=d;k=382273;l=j+13|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[d+13>>0]=0;c=g2a(c,r,5126,1)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);N2a(c,+p[(f[h>>2]|0)+16>>3])|0;c=f[o>>2]|0}if((c&4|0)!=0?(i=f[a+200>>2]|0,(i|0)!=0):0){c=a+256|0;e=+p[c>>3];t=+p[i+16>>3];e=e!=0.0?t-e:0.0;p[c>>3]=t;c=f[q>>2]|0;d=EBb(32)|0;f[r>>2]=d;f[r+8>>2]=-2147483616;f[r+4>>2]=18;j=d;k=382287;l=j+18|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[d+18>>0]=0;c=g2a(c,r,5126,1)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);N2a(c,e)|0;c=f[o>>2]|0}if((c&8|0)!=0?(m=a+200|0,(f[m>>2]|0)!=0):0){c=f[q>>2]|0;d=EBb(32)|0;f[r>>2]=d;f[r+8>>2]=-2147483616;f[r+4>>2]=18;j=d;k=382306;l=j+18|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[d+18>>0]=0;c=g2a(c,r,5126,1)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);N2a(c,+p[(f[m>>2]|0)+24>>3])|0;c=f[o>>2]|0}if((c&16|0)!=0?(n=f[a+200>>2]|0,(n|0)!=0):0){c=a+264|0;e=+p[c>>3];t=+p[n+24>>3];e=e!=0.0?t-e:0.0;p[c>>3]=t;c=f[q>>2]|0;d=EBb(32)|0;f[r>>2]=d;f[r+8>>2]=-2147483616;f[r+4>>2]=23;j=d;k=382325;l=j+23|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[d+23>>0]=0;c=g2a(c,r,5126,1)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);N2a(c,e)|0;c=f[o>>2]|0}if(c&32){c=f[q>>2]|0;d=EBb(16)|0;f[r>>2]=d;f[r+8>>2]=-2147483632;f[r+4>>2]=14;j=d;k=382349;l=j+14|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[d+14>>0]=0;c=g2a(c,r,35676,1)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);Y1a(c,(f[a+208>>2]|0)+432|0)|0;c=f[o>>2]|0}if(!(c&64)){u=s;return}c=f[q>>2]|0;d=EBb(32)|0;f[r>>2]=d;f[r+8>>2]=-2147483616;f[r+4>>2]=21;j=d;k=382364;l=j+21|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[d+21>>0]=0;d=g2a(c,r,35676,1)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);a=f[a+208>>2]|0;c=a+432|0;f3a(r);if(((+p[a+456>>3]==0.0?+p[a+488>>3]==0.0:0)?+p[a+520>>3]==0.0:0)?+p[a+552>>3]==1.0:0)o3a(r,c)|0;else p3a(r,c)|0;Y1a(d,r)|0;u=s;return}function AN(){var a=0;if(b[497136]|0)return 498920;if(!(DDb(497136)|0))return 498920;a=EBb(536)|0;BN(a);f[124730]=a;a=a+(f[(f[a>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;return 498920}function BN(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+504|0;rZa(c);f[c>>2]=338032;b=a+516|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+528>>2]=2;f[a+532>>2]=0;VZa(a,312584,4,3);b=a+56|0;cDa(b);f[a>>2]=312004;f[c>>2]=312416;f[b>>2]=312228;b=a+372|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[b+12>>2]=0;f[b+16>>2]=0;f[b+20>>2]=0;f[b+24>>2]=0;p[a+400>>3]=3402823466385288598117041.0e14;p[a+408>>3]=-3402823466385288598117041.0e14;b=a+476|0;f[a+480>>2]=0;f[a+484>>2]=0;c=a+480|0;d=a+416|0;e=d+60|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));f[b>>2]=c;f[a+492>>2]=0;f[a+496>>2]=0;f[a+488>>2]=a+492;a=a+500|0;f[a>>2]=0;b=EBb(12)|0;rZa(b);f[b>>2]=310576;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;e=b+8|0;f[e>>2]=(f[e>>2]|0)+1;if(!c)return;d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1)return;Rua(c,1,1);return}function CN(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0.0,k=0.0;if(!b)return;h=a+176|0;if((((f[h>>2]|0)==0?(e=EBb(88)|0,_2a(e),g=f[h>>2]|0,(g|0)!=(e|0)):0)?(f[h>>2]=e,e=e+8|0,f[e>>2]=(f[e>>2]|0)+1,g|0):0)?(i=g+8|0,e=f[i>>2]|0,f[i>>2]=e-1,(e|0)==1):0)Rua(g,1,1);a=f[a+224>>2]|0;if(!a){a=f[h>>2]|0;if((a|0)==(b|0))return;p[a+56>>3]=+p[b+56>>3];p[a+64>>3]=+p[b+64>>3];p[a+72>>3]=+p[b+72>>3];p[a+80>>3]=+p[b+80>>3];return}switch(f[a+20>>2]|0){case 2:{c=+(f[a+44>>2]|0);d=+p[b+72>>3];if(!(f[a+40>>2]|0)){i=f[h>>2]|0;k=+p[b+64>>3];j=+p[b+80>>3];p[i+56>>3]=+p[b+56>>3];p[i+64>>3]=k;p[i+72>>3]=(d-c)*.5;p[i+80>>3]=j;return}else{j=(d+c)*.5;i=f[h>>2]|0;c=+p[b+64>>3];k=+p[b+80>>3];p[i+56>>3]=j+ +p[b+56>>3];p[i+64>>3]=c;p[i+72>>3]=d-j;p[i+80>>3]=k;return}}case 3:{c=+(f[a+52>>2]|0);d=+p[b+80>>3];if(!(f[a+48>>2]|0)){k=(d+c)*.5;i=f[h>>2]|0;c=k+ +p[b+64>>3];j=+p[b+72>>3];p[i+56>>3]=+p[b+56>>3];p[i+64>>3]=c;p[i+72>>3]=j;p[i+80>>3]=d-k;return}else{i=f[h>>2]|0;j=+p[b+64>>3];k=+p[b+72>>3];p[i+56>>3]=+p[b+56>>3];p[i+64>>3]=j;p[i+72>>3]=k;p[i+80>>3]=(d-c)*.5;return}}default:{a=f[h>>2]|0;if((a|0)==(b|0))return;p[a+56>>3]=+p[b+56>>3];p[a+64>>3]=+p[b+64>>3];p[a+72>>3]=+p[b+72>>3];p[a+80>>3]=+p[b+80>>3];return}}}function DN(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0.0,k=0.0;if(!b)return;h=a+192|0;if((((f[h>>2]|0)==0?(e=EBb(88)|0,_2a(e),g=f[h>>2]|0,(g|0)!=(e|0)):0)?(f[h>>2]=e,e=e+8|0,f[e>>2]=(f[e>>2]|0)+1,g|0):0)?(i=g+8|0,e=f[i>>2]|0,f[i>>2]=e-1,(e|0)==1):0)Rua(g,1,1);a=f[a+224>>2]|0;if(!a){a=f[h>>2]|0;if((a|0)==(b|0))return;p[a+56>>3]=+p[b+56>>3];p[a+64>>3]=+p[b+64>>3];p[a+72>>3]=+p[b+72>>3];p[a+80>>3]=+p[b+80>>3];return}switch(f[a+20>>2]|0){case 2:{c=+(f[a+44>>2]|0);d=+p[b+72>>3];if(!(f[a+40>>2]|0)){j=(d+c)*.5;i=f[h>>2]|0;k=+p[b+64>>3];c=+p[b+80>>3];p[i+56>>3]=j+ +p[b+56>>3];p[i+64>>3]=k;p[i+72>>3]=d-j;p[i+80>>3]=c;return}else{i=f[h>>2]|0;j=+p[b+64>>3];k=+p[b+80>>3];p[i+56>>3]=+p[b+56>>3];p[i+64>>3]=j;p[i+72>>3]=(d-c)*.5;p[i+80>>3]=k;return}}case 3:{c=+(f[a+52>>2]|0);d=+p[b+80>>3];if(!(f[a+48>>2]|0)){i=f[h>>2]|0;j=+p[b+64>>3];k=+p[b+72>>3];p[i+56>>3]=+p[b+56>>3];p[i+64>>3]=j;p[i+72>>3]=k;p[i+80>>3]=(d-c)*.5;return}else{k=(d+c)*.5;i=f[h>>2]|0;c=k+ +p[b+64>>3];j=+p[b+72>>3];p[i+56>>3]=+p[b+56>>3];p[i+64>>3]=c;p[i+72>>3]=j;p[i+80>>3]=d-k;return}}default:{a=f[h>>2]|0;if((a|0)==(b|0))return;p[a+56>>3]=+p[b+56>>3];p[a+64>>3]=+p[b+64>>3];p[a+72>>3]=+p[b+72>>3];p[a+80>>3]=+p[b+80>>3];return}}}function EN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;d=e;if(!a){if(!(qZa(2)|0)){d=0;u=e;return d|0}c=Nu(Hua(2)|0,409863,88)|0;Drb(d,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);b=utb(d,504576)|0;b=cj[f[(f[b>>2]|0)+28>>2]&1023](b,10)|0;vtb(d);ksb(c,b)|0;Krb(c)|0;d=0;u=e;return d|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,b)|0;b=(a|0)==0;if(!b?(c=a+8|0,f[c>>2]=(f[c>>2]|0)+1,c=WCb(a,295088,281840,0)|0,c|0):0){v0a(a)|0;d=c;u=e;return d|0}if(qZa(2)|0){c=Nu(Hua(2)|0,409774,88)|0;Drb(d,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);g=utb(d,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(d);ksb(c,g)|0;Krb(c)|0}if(b){g=0;u=e;return g|0}d=a+8|0;g=f[d>>2]|0;f[d>>2]=g-1;if((g|0)!=1){g=0;u=e;return g|0}Rua(a,1,1);g=0;u=e;return g|0}function FN(a){a=a|0;dDa(a,316148);Gva(a+56|0);return}function GN(a){a=a|0;dDa(a,316148);Gva(a+56|0);GBb(a);return}function HN(a){a=a|0;return 377210}function IN(a){a=a|0;return 382386}function JN(a){a=a|0;return a|0}function KN(a){a=a|0;return a|0}function LN(a){a=a|0;return}function MN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;e=f[b+84>>2]|0;do if(e|0){g=_i[f[(f[e>>2]|0)+60>>2]&2047](e)|0;c=_i[f[(f[e>>2]|0)+36>>2]&2047](e)|0;d=(g|0)!=0;if(d)Fj[f[(f[g>>2]|0)+32>>2]&511](g,a,b);if(c|0){Fj[f[(f[c>>2]|0)+32>>2]&511](c,b,a);break}if(!d)dj[f[(f[e>>2]|0)+92>>2]&255](e,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0}while(0);b=f[b+120>>2]|0;if(!b)return;if((f[b+144>>2]|0)==0?(f[b+148>>2]|0)==0:0)return;p2a(b,a);return}function NN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function ON(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function PN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function QN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function RN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function SN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function TN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function UN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function VN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function WN(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+144>>2]|0)==0?(f[c+148>>2]|0)==0:0)break;p2a(c,a)}while(0);c=f[b+84>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}if(!(f[b+88>>2]|0))return;switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function XN(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,316148);Gva(a+56|0);return}function YN(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,316148);Gva(a+56|0);GBb(a);return}function ZN(a){a=a|0;return 377210}function _N(a){a=a|0;return 382386}function $N(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);d=a+32|0;BZa(d,c+32|0);f[a>>2]=315888;f[d>>2]=316124;d=a+140|0;h=a+200|0;j=a+204|0;k=a+208|0;l=a+212|0;i=a+224|0;e=a+96|0;g=e+40|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));e=d;g=e+92|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));d=EBb(72)|0;R_a(d);e=f[h>>2]|0;if(((e|0)!=(d|0)?(f[h>>2]=d,h=d+8|0,f[h>>2]=(f[h>>2]|0)+1,e|0):0)?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);d=f[i>>2]|0;e=f[c+224>>2]|0;if((d|0)!=(e|0)){f[i>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if(d|0?(h=d+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(d,1,1)}f[a+232>>2]=f[c+232>>2];f[a+236>>2]=f[c+236>>2];f[a+240>>2]=f[c+240>>2];b[a+244>>0]=b[c+244>>0]|0;if((c|0)!=(a|0)){d=f[j>>2]|0;e=f[c+204>>2]|0;if((d|0)!=(e|0)){f[j>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if(d|0?(i=d+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(d,1,1)}f[k>>2]=f[c+208>>2]}d=f[l>>2]|0;e=f[c+212>>2]|0;if((d|0)!=(e|0)){f[l>>2]=e;if(e|0){l=e+8|0;f[l>>2]=(f[l>>2]|0)+1}if(d|0?(k=d+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(d,1,1)}b[a+136>>0]=0;b[a+245>>0]=b[c+245>>0]|0;b[a+246>>0]=0;f[a+248>>2]=f[c+248>>2];l=a+256|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;b[a+272>>0]=b[c+272>>0]|0;f[a+276>>2]=f[c+276>>2];f[a+280>>2]=f[c+280>>2];f[a+284>>2]=0;b[a+288>>0]=b[c+288>>0]|0;return}function aO(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;rZa(a);f[a>>2]=338032;d=a+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;d=a+32|0;f[d>>2]=340996;f[a+60>>2]=0;tj[f[341004>>2]&2047](d);iBa(d);f[a>>2]=315888;f[d>>2]=316124;d=a+140|0;h=a+200|0;j=a+208|0;i=a+224|0;e=a+96|0;g=e+40|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));e=d;g=e+92|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));d=EBb(72)|0;R_a(d);e=f[h>>2]|0;if(((e|0)!=(d|0)?(f[h>>2]=d,h=d+8|0,f[h>>2]=(f[h>>2]|0)+1,e|0):0)?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);d=f[i>>2]|0;if((d|0)!=(c|0)){f[i>>2]=c;if(c|0){i=c+8|0;f[i>>2]=(f[i>>2]|0)+1}if(d|0?(c=d+8|0,i=f[c>>2]|0,f[c>>2]=i-1,(i|0)==1):0)Rua(d,1,1)}f[a+232>>2]=1;n[a+236>>2]=1.0;f[a+240>>2]=0;b[a+244>>0]=0;d=EBb(656)|0;hBa(d);bO(a,d,1);d=f[j>>2]|0;i=EBb(88)|0;_2a(i);IZa(d,i);i=f[j>>2]|0;n[i+240>>2]=.20000000298023224;n[i+244>>2]=.20000000298023224;n[i+248>>2]=.4000000059604645;n[i+252>>2]=1.0;d=i+148|0;if(!(f[i+152>>2]|0))f[d>>2]=f[d>>2]&-8193;b[a+136>>0]=0;j=f[j>>2]|0;f[j+568>>2]=1029;d=j+148|0;if(f[j+152>>2]|0){i=a+245|0;b[i>>0]=1;i=a+246|0;b[i>>0]=0;i=a+248|0;f[i>>2]=127;i=a+256|0;j=a+272|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;b[j>>0]=1;j=a+276|0;f[j>>2]=0;j=a+280|0;f[j>>2]=0;j=a+284|0;f[j>>2]=0;a=a+288|0;b[a>>0]=1;return}f[d>>2]=f[d>>2]&-131073;i=a+245|0;b[i>>0]=1;i=a+246|0;b[i>>0]=0;i=a+248|0;f[i>>2]=127;i=a+256|0;j=a+272|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;b[j>>0]=1;j=a+276|0;f[j>>2]=0;j=a+280|0;f[j>>2]=0;j=a+284|0;f[j>>2]=0;a=a+288|0;b[a>>0]=1;return}function bO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=u;u=u+16|0;d=h;if(!b){if(qZa(3)|0){b=Nu(Hua(3)|0,382436,68)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);g=utb(d,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(d);ksb(b,g)|0;Krb(b)|0}}else{d=cCa(b)|0;e=a+204|0;g=f[e>>2]|0;if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}if(g|0?(i=g+8|0,d=f[i>>2]|0,f[i>>2]=d-1,(d|0)==1):0)Rua(g,1,1);d=f[e>>2]|0}if(!d)d=0;else d=(f[d+24>>2]|0)==0?0:b;f[a+208>>2]=d}if(!c){d=a+212|0;e=f[d>>2]|0;if(!e){u=h;return}f[d>>2]=0;a=e+8|0;i=f[a>>2]|0;f[a>>2]=i-1;if((i|0)!=1){u=h;return}Rua(e,1,1);u=h;return}i=f[a+204>>2]|0;if((i|0)!=0?(f[i+24>>2]|0)!=0:0)g=f[a+208>>2]|0;else g=0;d=a+212|0;e=f[d>>2]|0;if((e|0)==(g|0)){u=h;return}f[d>>2]=g;if(g|0){i=g+8|0;f[i>>2]=(f[i>>2]|0)+1}if(!e){u=h;return}a=e+8|0;i=f[a>>2]|0;f[a>>2]=i-1;if((i|0)!=1){u=h;return}Rua(e,1,1);u=h;return}function cO(a){a=a|0;f[a>>2]=316712;Jv(a+68|0,f[a+72>>2]|0);Kv(a+52|0,f[a+56>>2]|0);return}function dO(a){a=a|0;f[a>>2]=316712;Jv(a+68|0,f[a+72>>2]|0);Kv(a+52|0,f[a+56>>2]|0);GBb(a);return}function eO(a,b,c){a=a|0;b=b|0;c=c|0;c=a+48|0;f[c>>2]=(f[c>>2]|0)+b;return}function fO(a,b,c){a=a|0;b=b|0;c=c|0;c=a+48|0;f[c>>2]=(f[c>>2]|0)+b;return}function gO(a,b,c){a=a|0;b=b|0;c=c|0;c=a+48|0;f[c>>2]=(f[c>>2]|0)+b;return}function hO(a,b,c){a=a|0;b=b|0;c=c|0;c=a+48|0;f[c>>2]=(f[c>>2]|0)+b;return}function iO(a,b,c){a=a|0;b=b|0;c=c|0;c=a+48|0;f[c>>2]=(f[c>>2]|0)+b;return}function jO(a,b,c){a=a|0;b=b|0;c=c|0;c=a+48|0;f[c>>2]=(f[c>>2]|0)+b;return}function kO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=a+52|0;e=a+56|0;c=f[e>>2]|0;do if(c){g=a+56|0;while(1){e=f[c+16>>2]|0;if(e>>>0>b>>>0){e=f[c>>2]|0;if(!e){e=5;break}else{g=c;c=e}}else{if(e>>>0>=b>>>0){e=9;break}g=c+4|0;e=f[g>>2]|0;if(!e){e=8;break}else c=e}}if((e|0)==5){h=c;g=c;break}else if((e|0)==8){h=c;break}else if((e|0)==9){h=c;break}}else{h=e;g=e}while(0);c=f[g>>2]|0;if(!c){c=EBb(28)|0;f[c+16>>2]=b;f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=h;f[g>>2]=c;e=f[f[i>>2]>>2]|0;if(!e)e=c;else{f[i>>2]=e;e=f[g>>2]|0}Xo(f[a+56>>2]|0,e);i=a+60|0;f[i>>2]=(f[i>>2]|0)+1}i=c+20|0;f[i>>2]=(f[i>>2]|0)+1;i=c+24|0;f[i>>2]=(f[i>>2]|0)+d;switch(b|0){case 9:case 2:case 0:break;case 1:{d=(d|0)/2|0;break}case 3:{d=d+-1|0;break}case 4:{d=(d|0)/3|0;break}case 6:case 5:{d=d+-2|0;break}case 7:{d=(d|0)/4|0;break}case 8:{d=((d|0)/2|0)+-1|0;break}default:d=0}i=a+68|0;e=a+72|0;c=f[e>>2]|0;do if(c){g=a+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>b>>>0){e=f[c>>2]|0;if(!e){e=28;break}else{g=c;c=e}}else{if(e>>>0>=b>>>0){e=32;break}g=c+4|0;e=f[g>>2]|0;if(!e){e=31;break}else c=e}}if((e|0)==28){h=c;g=c;break}else if((e|0)==31){h=c;break}else if((e|0)==32){h=c;break}}else{h=e;g=e}while(0);c=f[g>>2]|0;if(c|0){a=c;a=a+20|0;b=f[a>>2]|0;b=b+d|0;f[a>>2]=b;return}e=EBb(24)|0;f[e+16>>2]=b;f[e+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=h;f[g>>2]=e;c=f[f[i>>2]>>2]|0;if(!c)c=e;else{f[i>>2]=c;c=f[g>>2]|0}Xo(f[a+72>>2]|0,c);a=a+76|0;f[a>>2]=(f[a>>2]|0)+1;a=e;a=a+20|0;b=f[a>>2]|0;b=b+d|0;f[a>>2]=b;return}function lO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=a+52|0;e=a+56|0;d=f[e>>2]|0;do if(d){g=a+56|0;while(1){e=f[d+16>>2]|0;if(e>>>0>b>>>0){e=f[d>>2]|0;if(!e){e=5;break}else{g=d;d=e}}else{if(e>>>0>=b>>>0){e=9;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=8;break}else d=e}}if((e|0)==5){h=d;g=d;break}else if((e|0)==8){h=d;break}else if((e|0)==9){h=d;break}}else{h=e;g=e}while(0);d=f[g>>2]|0;if(!d){d=EBb(28)|0;f[d+16>>2]=b;f[d+20>>2]=0;f[d+24>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[i>>2]>>2]|0;if(!e)e=d;else{f[i>>2]=e;e=f[g>>2]|0}Xo(f[a+56>>2]|0,e);i=a+60|0;f[i>>2]=(f[i>>2]|0)+1}i=d+20|0;f[i>>2]=(f[i>>2]|0)+1;i=d+24|0;f[i>>2]=(f[i>>2]|0)+c;switch(b|0){case 9:case 2:case 0:break;case 1:{c=(c|0)/2|0;break}case 3:{c=c+-1|0;break}case 4:{c=(c|0)/3|0;break}case 6:case 5:{c=c+-2|0;break}case 7:{c=(c|0)/4|0;break}case 8:{c=((c|0)/2|0)+-1|0;break}default:c=0}i=a+68|0;e=a+72|0;d=f[e>>2]|0;do if(d){g=a+72|0;while(1){e=f[d+16>>2]|0;if(e>>>0>b>>>0){e=f[d>>2]|0;if(!e){e=28;break}else{g=d;d=e}}else{if(e>>>0>=b>>>0){e=32;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=31;break}else d=e}}if((e|0)==28){h=d;g=d;break}else if((e|0)==31){h=d;break}else if((e|0)==32){h=d;break}}else{h=e;g=e}while(0);d=f[g>>2]|0;if(d|0){a=d;a=a+20|0;b=f[a>>2]|0;b=b+c|0;f[a>>2]=b;return}e=EBb(24)|0;f[e+16>>2]=b;f[e+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=h;f[g>>2]=e;d=f[f[i>>2]>>2]|0;if(!d)d=e;else{f[i>>2]=d;d=f[g>>2]|0}Xo(f[a+72>>2]|0,d);a=a+76|0;f[a>>2]=(f[a>>2]|0)+1;a=e;a=a+20|0;b=f[a>>2]|0;b=b+c|0;f[a>>2]=b;return}function mO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=a+52|0;e=a+56|0;d=f[e>>2]|0;do if(d){g=a+56|0;while(1){e=f[d+16>>2]|0;if(e>>>0>b>>>0){e=f[d>>2]|0;if(!e){e=5;break}else{g=d;d=e}}else{if(e>>>0>=b>>>0){e=9;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=8;break}else d=e}}if((e|0)==5){h=d;g=d;break}else if((e|0)==8){h=d;break}else if((e|0)==9){h=d;break}}else{h=e;g=e}while(0);d=f[g>>2]|0;if(!d){d=EBb(28)|0;f[d+16>>2]=b;f[d+20>>2]=0;f[d+24>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[i>>2]>>2]|0;if(!e)e=d;else{f[i>>2]=e;e=f[g>>2]|0}Xo(f[a+56>>2]|0,e);i=a+60|0;f[i>>2]=(f[i>>2]|0)+1}i=d+20|0;f[i>>2]=(f[i>>2]|0)+1;i=d+24|0;f[i>>2]=(f[i>>2]|0)+c;switch(b|0){case 9:case 2:case 0:break;case 1:{c=(c|0)/2|0;break}case 3:{c=c+-1|0;break}case 4:{c=(c|0)/3|0;break}case 6:case 5:{c=c+-2|0;break}case 7:{c=(c|0)/4|0;break}case 8:{c=((c|0)/2|0)+-1|0;break}default:c=0}i=a+68|0;e=a+72|0;d=f[e>>2]|0;do if(d){g=a+72|0;while(1){e=f[d+16>>2]|0;if(e>>>0>b>>>0){e=f[d>>2]|0;if(!e){e=28;break}else{g=d;d=e}}else{if(e>>>0>=b>>>0){e=32;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=31;break}else d=e}}if((e|0)==28){h=d;g=d;break}else if((e|0)==31){h=d;break}else if((e|0)==32){h=d;break}}else{h=e;g=e}while(0);d=f[g>>2]|0;if(d|0){a=d;a=a+20|0;b=f[a>>2]|0;b=b+c|0;f[a>>2]=b;return}e=EBb(24)|0;f[e+16>>2]=b;f[e+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=h;f[g>>2]=e;d=f[f[i>>2]>>2]|0;if(!d)d=e;else{f[i>>2]=d;d=f[g>>2]|0}Xo(f[a+72>>2]|0,d);a=a+76|0;f[a>>2]=(f[a>>2]|0)+1;a=e;a=a+20|0;b=f[a>>2]|0;b=b+c|0;f[a>>2]=b;return}function nO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=a+52|0;e=a+56|0;d=f[e>>2]|0;do if(d){g=a+56|0;while(1){e=f[d+16>>2]|0;if(e>>>0>b>>>0){e=f[d>>2]|0;if(!e){e=5;break}else{g=d;d=e}}else{if(e>>>0>=b>>>0){e=9;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=8;break}else d=e}}if((e|0)==5){h=d;g=d;break}else if((e|0)==8){h=d;break}else if((e|0)==9){h=d;break}}else{h=e;g=e}while(0);d=f[g>>2]|0;if(!d){d=EBb(28)|0;f[d+16>>2]=b;f[d+20>>2]=0;f[d+24>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[i>>2]>>2]|0;if(!e)e=d;else{f[i>>2]=e;e=f[g>>2]|0}Xo(f[a+56>>2]|0,e);i=a+60|0;f[i>>2]=(f[i>>2]|0)+1}i=d+20|0;f[i>>2]=(f[i>>2]|0)+1;i=d+24|0;f[i>>2]=(f[i>>2]|0)+c;switch(b|0){case 9:case 2:case 0:break;case 1:{c=(c|0)/2|0;break}case 3:{c=c+-1|0;break}case 4:{c=(c|0)/3|0;break}case 6:case 5:{c=c+-2|0;break}case 7:{c=(c|0)/4|0;break}case 8:{c=((c|0)/2|0)+-1|0;break}default:c=0}i=a+68|0;e=a+72|0;d=f[e>>2]|0;do if(d){g=a+72|0;while(1){e=f[d+16>>2]|0;if(e>>>0>b>>>0){e=f[d>>2]|0;if(!e){e=28;break}else{g=d;d=e}}else{if(e>>>0>=b>>>0){e=32;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=31;break}else d=e}}if((e|0)==28){h=d;g=d;break}else if((e|0)==31){h=d;break}else if((e|0)==32){h=d;break}}else{h=e;g=e}while(0);d=f[g>>2]|0;if(d|0){a=d;a=a+20|0;b=f[a>>2]|0;b=b+c|0;f[a>>2]=b;return}e=EBb(24)|0;f[e+16>>2]=b;f[e+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=h;f[g>>2]=e;d=f[f[i>>2]>>2]|0;if(!d)d=e;else{f[i>>2]=d;d=f[g>>2]|0}Xo(f[a+72>>2]|0,d);a=a+76|0;f[a>>2]=(f[a>>2]|0)+1;a=e;a=a+20|0;b=f[a>>2]|0;b=b+c|0;f[a>>2]=b;return}function oO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;f[a+64>>2]=b;h=a+52|0;d=a+56|0;c=f[d>>2]|0;do if(c){e=a+56|0;while(1){d=f[c+16>>2]|0;if(d>>>0>b>>>0){d=f[c>>2]|0;if(!d){d=5;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=9;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=8;break}else c=d}}if((d|0)==5){g=c;e=c;break}else if((d|0)==8){g=c;break}else if((d|0)==9){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(c|0){h=c;h=h+20|0;b=f[h>>2]|0;b=b+1|0;f[h>>2]=b;a=a+84|0;f[a>>2]=0;return}d=EBb(28)|0;f[d+16>>2]=b;f[d+20>>2]=0;f[d+24>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[e>>2]=d;c=f[f[h>>2]>>2]|0;if(!c)c=d;else{f[h>>2]=c;c=f[e>>2]|0}Xo(f[a+56>>2]|0,c);h=a+60|0;f[h>>2]=(f[h>>2]|0)+1;h=d;h=h+20|0;b=f[h>>2]|0;b=b+1|0;f[h>>2]=b;a=a+84|0;f[a>>2]=0;return}function pO(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0,g=0,h=0,i=0,j=0,k=0;k=a+52|0;j=a+64|0;e=a+56|0;g=f[e>>2]|0;do if(g){i=f[j>>2]|0;h=a+56|0;e=g;while(1){g=f[e+16>>2]|0;if(i>>>0>>0){g=f[e>>2]|0;if(!g){g=5;break}else{h=e;e=g}}else{if(g>>>0>=i>>>0){g=9;break}h=e+4|0;g=f[h>>2]|0;if(!g){g=8;break}else e=g}}if((g|0)==5){i=e;h=e;break}else if((g|0)==8){i=e;break}else if((g|0)==9){i=e;break}}else{i=e;h=e}while(0);e=f[h>>2]|0;if(e|0){k=e;k=k+24|0;j=f[k>>2]|0;j=j+1|0;f[k>>2]=j;a=a+84|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return}g=EBb(28)|0;f[g+16>>2]=f[j>>2];f[g+20>>2]=0;f[g+24>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=i;f[h>>2]=g;e=f[f[k>>2]>>2]|0;if(!e)e=g;else{f[k>>2]=e;e=f[h>>2]|0}Xo(f[a+56>>2]|0,e);k=a+60|0;f[k>>2]=(f[k>>2]|0)+1;k=g;k=k+24|0;j=f[k>>2]|0;j=j+1|0;f[k>>2]=j;a=a+84|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return}function qO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+52|0;g=a+64|0;b=a+56|0;c=f[b>>2]|0;do if(c){e=f[g>>2]|0;d=a+56|0;b=c;while(1){c=f[b+16>>2]|0;if(e>>>0>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=e>>>0){c=9;break}d=b+4|0;c=f[d>>2]|0;if(!c){c=8;break}else b=c}}if((c|0)==5){e=b;d=b;break}else if((c|0)==8){e=b;break}else if((c|0)==9){e=b;break}}else{e=b;d=b}while(0);b=f[d>>2]|0;if(b|0){h=b;h=h+24|0;g=f[h>>2]|0;g=g+1|0;f[h>>2]=g;a=a+84|0;h=f[a>>2]|0;h=h+1|0;f[a>>2]=h;return}c=EBb(28)|0;f[c+16>>2]=f[g>>2];f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[d>>2]=c;b=f[f[h>>2]>>2]|0;if(!b)b=c;else{f[h>>2]=b;b=f[d>>2]|0}Xo(f[a+56>>2]|0,b);h=a+60|0;f[h>>2]=(f[h>>2]|0)+1;h=c;h=h+24|0;g=f[h>>2]|0;g=g+1|0;f[h>>2]=g;a=a+84|0;h=f[a>>2]|0;h=h+1|0;f[a>>2]=h;return}function rO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+52|0;g=a+64|0;b=a+56|0;c=f[b>>2]|0;do if(c){e=f[g>>2]|0;d=a+56|0;b=c;while(1){c=f[b+16>>2]|0;if(e>>>0>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=e>>>0){c=9;break}d=b+4|0;c=f[d>>2]|0;if(!c){c=8;break}else b=c}}if((c|0)==5){e=b;d=b;break}else if((c|0)==8){e=b;break}else if((c|0)==9){e=b;break}}else{e=b;d=b}while(0);b=f[d>>2]|0;if(b|0){h=b;h=h+24|0;g=f[h>>2]|0;g=g+1|0;f[h>>2]=g;a=a+84|0;h=f[a>>2]|0;h=h+1|0;f[a>>2]=h;return}c=EBb(28)|0;f[c+16>>2]=f[g>>2];f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[d>>2]=c;b=f[f[h>>2]>>2]|0;if(!b)b=c;else{f[h>>2]=b;b=f[d>>2]|0}Xo(f[a+56>>2]|0,b);h=a+60|0;f[h>>2]=(f[h>>2]|0)+1;h=c;h=h+24|0;g=f[h>>2]|0;g=g+1|0;f[h>>2]=g;a=a+84|0;h=f[a>>2]|0;h=h+1|0;f[a>>2]=h;return}function sO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+52|0;g=a+64|0;b=a+56|0;c=f[b>>2]|0;do if(c){e=f[g>>2]|0;d=a+56|0;b=c;while(1){c=f[b+16>>2]|0;if(e>>>0>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=e>>>0){c=9;break}d=b+4|0;c=f[d>>2]|0;if(!c){c=8;break}else b=c}}if((c|0)==5){e=b;d=b;break}else if((c|0)==8){e=b;break}else if((c|0)==9){e=b;break}}else{e=b;d=b}while(0);b=f[d>>2]|0;if(b|0){h=b;h=h+24|0;g=f[h>>2]|0;g=g+1|0;f[h>>2]=g;a=a+84|0;h=f[a>>2]|0;h=h+1|0;f[a>>2]=h;return}c=EBb(28)|0;f[c+16>>2]=f[g>>2];f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[d>>2]=c;b=f[f[h>>2]>>2]|0;if(!b)b=c;else{f[h>>2]=b;b=f[d>>2]|0}Xo(f[a+56>>2]|0,b);h=a+60|0;f[h>>2]=(f[h>>2]|0)+1;h=c;h=h+24|0;g=f[h>>2]|0;g=g+1|0;f[h>>2]=g;a=a+84|0;h=f[a>>2]|0;h=h+1|0;f[a>>2]=h;return}function tO(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,g=0,h=0,i=0,j=0;j=a+52|0;i=a+64|0;d=a+56|0;e=f[d>>2]|0;do if(e){h=f[i>>2]|0;g=a+56|0;d=e;while(1){e=f[d+16>>2]|0;if(h>>>0>>0){e=f[d>>2]|0;if(!e){e=5;break}else{g=d;d=e}}else{if(e>>>0>=h>>>0){e=9;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=8;break}else d=e}}if((e|0)==5){h=d;g=d;break}else if((e|0)==8){h=d;break}else if((e|0)==9){h=d;break}}else{h=d;g=d}while(0);d=f[g>>2]|0;if(d|0){j=d;j=j+24|0;i=f[j>>2]|0;i=i+1|0;f[j>>2]=i;a=a+84|0;j=f[a>>2]|0;j=j+1|0;f[a>>2]=j;return}e=EBb(28)|0;f[e+16>>2]=f[i>>2];f[e+20>>2]=0;f[e+24>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=h;f[g>>2]=e;d=f[f[j>>2]>>2]|0;if(!d)d=e;else{f[j>>2]=d;d=f[g>>2]|0}Xo(f[a+56>>2]|0,d);j=a+60|0;f[j>>2]=(f[j>>2]|0)+1;j=e;j=j+24|0;i=f[j>>2]|0;i=i+1|0;f[j>>2]=i;a=a+84|0;j=f[a>>2]|0;j=j+1|0;f[a>>2]=j;return}function uO(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+52|0;k=a+64|0;g=a+56|0;h=f[g>>2]|0;do if(h){j=f[k>>2]|0;i=a+56|0;g=h;while(1){h=f[g+16>>2]|0;if(j>>>0>>0){h=f[g>>2]|0;if(!h){h=5;break}else{i=g;g=h}}else{if(h>>>0>=j>>>0){h=9;break}i=g+4|0;h=f[i>>2]|0;if(!h){h=8;break}else g=h}}if((h|0)==5){j=g;i=g;break}else if((h|0)==8){j=g;break}else if((h|0)==9){j=g;break}}else{j=g;i=g}while(0);g=f[i>>2]|0;if(g|0){l=g;l=l+24|0;k=f[l>>2]|0;k=k+1|0;f[l>>2]=k;a=a+84|0;l=f[a>>2]|0;l=l+1|0;f[a>>2]=l;return}h=EBb(28)|0;f[h+16>>2]=f[k>>2];f[h+20>>2]=0;f[h+24>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=j;f[i>>2]=h;g=f[f[l>>2]>>2]|0;if(!g)g=h;else{f[l>>2]=g;g=f[i>>2]|0}Xo(f[a+56>>2]|0,g);l=a+60|0;f[l>>2]=(f[l>>2]|0)+1;l=h;l=l+24|0;k=f[l>>2]|0;k=k+1|0;f[l>>2]=k;a=a+84|0;l=f[a>>2]|0;l=l+1|0;f[a>>2]=l;return}function vO(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=f[a+64>>2]|0;j=a+84|0;b=f[j>>2]|0;switch(i|0){case 9:case 2:case 0:break;case 1:{b=(b|0)/2|0;break}case 3:{b=b+-1|0;break}case 4:{b=(b|0)/3|0;break}case 6:case 5:{b=b+-2|0;break}case 7:{b=(b|0)/4|0;break}case 8:{b=((b|0)/2|0)+-1|0;break}default:b=0}h=a+68|0;d=a+72|0;c=f[d>>2]|0;do if(c){e=a+72|0;while(1){d=f[c+16>>2]|0;if(i>>>0>>0){d=f[c>>2]|0;if(!d){d=13;break}else{e=c;c=d}}else{if(d>>>0>=i>>>0){d=17;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=16;break}else c=d}}if((d|0)==13){g=c;e=c;break}else if((d|0)==16){g=c;break}else if((d|0)==17){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(c|0){i=c;i=i+20|0;h=f[i>>2]|0;h=h+b|0;f[i>>2]=h;i=f[j>>2]|0;j=a+48|0;a=f[j>>2]|0;a=a+i|0;f[j>>2]=a;return}d=EBb(24)|0;f[d+16>>2]=i;f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[e>>2]=d;c=f[f[h>>2]>>2]|0;if(!c)c=d;else{f[h>>2]=c;c=f[e>>2]|0}Xo(f[a+72>>2]|0,c);i=a+76|0;f[i>>2]=(f[i>>2]|0)+1;i=d;i=i+20|0;h=f[i>>2]|0;h=h+b|0;f[i>>2]=h;i=f[j>>2]|0;j=a+48|0;a=f[j>>2]|0;a=a+i|0;f[j>>2]=a;return}function wO(a){a=a|0;Gv(a,317348);Gva(a+376|0);return}function xO(a){a=a|0;Gv(a,317348);Gva(a+376|0);GBb(a);return}function yO(a){a=a|0;return 377210}function zO(a){a=a|0;return 382549}function AO(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+92|0;c=a+96|0;d=a+56|0;e=d+36|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Nv(b,f[c>>2]|0);f[a+100>>2]=0;f[b>>2]=c;f[c>>2]=0;b=a+104|0;c=a+108|0;Nv(b,f[c>>2]|0);f[a+112>>2]=0;f[b>>2]=c;f[c>>2]=0;c=a+116|0;b=a+120|0;Nv(c,f[b>>2]|0);f[a+124>>2]=0;f[c>>2]=b;f[b>>2]=0;b=a+128|0;c=a+132|0;Nv(b,f[c>>2]|0);f[a+136>>2]=0;f[b>>2]=c;f[c>>2]=0;c=a+140|0;b=a+144|0;Nv(c,f[b>>2]|0);f[a+148>>2]=0;f[c>>2]=b;f[b>>2]=0;b=a+152|0;c=a+156|0;Mv(b,f[c>>2]|0);f[a+160>>2]=0;f[b>>2]=c;f[c>>2]=0;c=a+164|0;b=a+168|0;Mv(c,f[b>>2]|0);f[a+172>>2]=0;f[c>>2]=b;f[b>>2]=0;b=a+176|0;c=a+180|0;Mv(b,f[c>>2]|0);f[a+184>>2]=0;f[b>>2]=c;f[c>>2]=0;c=a+188|0;b=a+192|0;Lv(c,f[b>>2]|0);f[a+196>>2]=0;f[c>>2]=b;f[b>>2]=0;b=a+252|0;c=a+256|0;d=a+204|0;e=d+48|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Kv(b,f[c>>2]|0);f[a+260>>2]=0;f[b>>2]=c;f[c>>2]=0;f[a+264>>2]=0;c=a+268|0;b=a+272|0;Jv(c,f[b>>2]|0);f[a+276>>2]=0;f[c>>2]=b;f[b>>2]=0;f[a+280>>2]=0;f[a+284>>2]=0;b=a+340|0;c=a+344|0;d=a+292|0;e=d+48|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Kv(b,f[c>>2]|0);f[a+348>>2]=0;f[b>>2]=c;f[c>>2]=0;f[a+352>>2]=0;d=a+356|0;e=a+360|0;Jv(d,f[e>>2]|0);f[a+364>>2]=0;f[d>>2]=e;f[e>>2]=0;f[a+368>>2]=0;f[a+372>>2]=0;return}function BO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=f[b+120>>2]|0;if(c|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);i=a+76|0;f[i>>2]=(f[i>>2]|0)+1;Bj[f[(f[b>>2]|0)+284>>2]&1023](b,a+288|0);i=a+152|0;h=b;d=a+156|0;c=f[d>>2]|0;do if(c){e=a+156|0;while(1){d=f[c+16>>2]|0;if(d>>>0>b>>>0){d=f[c>>2]|0;if(!d){d=7;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=11;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=10;break}else c=d}}if((d|0)==7){g=c;e=c;break}else if((d|0)==10){g=c;break}else if((d|0)==11){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=h;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[i>>2]>>2]|0;if(d){f[i>>2]=d;c=f[e>>2]|0}Xo(f[a+156>>2]|0,c);i=a+160|0;f[i>>2]=(f[i>>2]|0)+1}i=_i[f[(f[b>>2]|0)+164>>2]&2047](b)|0;if(!i)return;h=a+80|0;f[h>>2]=(f[h>>2]|0)+1;h=a+164|0;b=i;d=a+168|0;c=f[d>>2]|0;do if(c){e=a+168|0;while(1){d=f[c+16>>2]|0;if(i>>>0>>0){d=f[c>>2]|0;if(!d){d=23;break}else{e=c;c=d}}else{if(d>>>0>=i>>>0){d=27;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=26;break}else c=d}}if((d|0)==23){g=c;e=c;break}else if((d|0)==26){g=c;break}else if((d|0)==27){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=b;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[h>>2]>>2]|0;if(d){f[h>>2]=d;c=f[e>>2]|0}Xo(f[a+168>>2]|0,c);h=a+172|0;f[h>>2]=(f[h>>2]|0)+1}h=a+84|0;f[h>>2]=(f[h>>2]|0)+1;h=a+176|0;d=a+180|0;c=f[d>>2]|0;do if(c){e=a+180|0;while(1){d=f[c+16>>2]|0;if(i>>>0>>0){d=f[c>>2]|0;if(!d){d=38;break}else{e=c;c=d}}else{if(d>>>0>=i>>>0){d=42;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=41;break}else c=d}}if((d|0)==38){g=c;e=c;break}else if((d|0)==41){g=c;break}else if((d|0)==42){g=c;break}}else{g=d;e=d}while(0);if(f[e>>2]|0)return;c=EBb(20)|0;f[c+16>>2]=b;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[h>>2]>>2]|0;if(d){f[h>>2]=d;c=f[e>>2]|0}Xo(f[a+180>>2]|0,c);a=a+184|0;f[a>>2]=(f[a>>2]|0)+1;return}function CO(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;if(c|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function DO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=f[b+120>>2]|0;if(c|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);i=a+72|0;f[i>>2]=(f[i>>2]|0)+1;i=a+140|0;h=b;d=a+144|0;c=f[d>>2]|0;do if(c){e=a+144|0;while(1){d=f[c+16>>2]|0;if(b>>>0>>0){d=f[c>>2]|0;if(!d){d=7;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=11;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=10;break}else c=d}}if((d|0)==7){g=c;e=c;break}else if((d|0)==10){g=c;break}else if((d|0)==11){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=h;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[i>>2]>>2]|0;if(d){f[i>>2]=d;c=f[e>>2]|0}Xo(f[a+144>>2]|0,c);i=a+148|0;f[i>>2]=(f[i>>2]|0)+1}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function EO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=f[b+120>>2]|0;if(c|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);i=a+56|0;f[i>>2]=(f[i>>2]|0)+1;i=a+92|0;h=b;d=a+96|0;c=f[d>>2]|0;do if(c){e=a+96|0;while(1){d=f[c+16>>2]|0;if(b>>>0>>0){d=f[c>>2]|0;if(!d){d=7;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=11;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=10;break}else c=d}}if((d|0)==7){g=c;e=c;break}else if((d|0)==10){g=c;break}else if((d|0)==11){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=h;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[i>>2]>>2]|0;if(d){f[i>>2]=d;c=f[e>>2]|0}Xo(f[a+96>>2]|0,c);i=a+100|0;f[i>>2]=(f[i>>2]|0)+1}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function FO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=f[b+120>>2]|0;if(c|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);i=a+68|0;f[i>>2]=(f[i>>2]|0)+1;i=a+104|0;h=b;d=a+108|0;c=f[d>>2]|0;do if(c){e=a+108|0;while(1){d=f[c+16>>2]|0;if(b>>>0>>0){d=f[c>>2]|0;if(!d){d=7;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=11;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=10;break}else c=d}}if((d|0)==7){g=c;e=c;break}else if((d|0)==10){g=c;break}else if((d|0)==11){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=h;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[i>>2]>>2]|0;if(d){f[i>>2]=d;c=f[e>>2]|0}Xo(f[a+108>>2]|0,c);i=a+112|0;f[i>>2]=(f[i>>2]|0)+1}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function GO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=f[b+120>>2]|0;if(c|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);i=a+60|0;f[i>>2]=(f[i>>2]|0)+1;i=a+128|0;h=b;d=a+132|0;c=f[d>>2]|0;do if(c){e=a+132|0;while(1){d=f[c+16>>2]|0;if(b>>>0>>0){d=f[c>>2]|0;if(!d){d=7;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=11;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=10;break}else c=d}}if((d|0)==7){g=c;e=c;break}else if((d|0)==10){g=c;break}else if((d|0)==11){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=h;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[i>>2]>>2]|0;if(d){f[i>>2]=d;c=f[e>>2]|0}Xo(f[a+132>>2]|0,c);i=a+136|0;f[i>>2]=(f[i>>2]|0)+1}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function HO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=f[b+120>>2]|0;if(c|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);i=a+64|0;f[i>>2]=(f[i>>2]|0)+1;i=a+116|0;h=b;d=a+120|0;c=f[d>>2]|0;do if(c){e=a+120|0;while(1){d=f[c+16>>2]|0;if(b>>>0>>0){d=f[c>>2]|0;if(!d){d=7;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=11;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=10;break}else c=d}}if((d|0)==7){g=c;e=c;break}else if((d|0)==10){g=c;break}else if((d|0)==11){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=h;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[i>>2]>>2]|0;if(d){f[i>>2]=d;c=f[e>>2]|0}Xo(f[a+120>>2]|0,c);i=a+124|0;f[i>>2]=(f[i>>2]|0)+1}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function IO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+88|0;f[h>>2]=(f[h>>2]|0)+1;h=a+188|0;g=b;d=a+192|0;c=f[d>>2]|0;do if(c){e=a+192|0;while(1){d=f[c+16>>2]|0;if(d>>>0>b>>>0){d=f[c>>2]|0;if(!d){d=5;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=9;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=8;break}else c=d}}if((d|0)==5){b=c;e=c;break}else if((d|0)==8){b=c;break}else if((d|0)==9){b=c;break}}else{b=d;e=d}while(0);if(f[e>>2]|0)return;c=EBb(20)|0;f[c+16>>2]=g;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=b;f[e>>2]=c;d=f[f[h>>2]>>2]|0;if(d){f[h>>2]=d;c=f[e>>2]|0}Xo(f[a+192>>2]|0,c);a=a+196|0;f[a>>2]=(f[a>>2]|0)+1;return}function JO(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=a+252|0;c=a+256|0;d=a+204|0;e=d+48|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Kv(b,f[c>>2]|0);f[a+260>>2]=0;f[b>>2]=c;f[c>>2]=0;f[a+264>>2]=0;g=a+268|0;b=a+272|0;Jv(g,f[b>>2]|0);f[a+276>>2]=0;f[g>>2]=b;f[b>>2]=0;f[a+280>>2]=0;f[a+284>>2]=0;b=f[a+152>>2]|0;g=a+156|0;if((b|0)==(g|0))return;e=a+200|0;d=b;while(1){b=f[d+16>>2]|0;Bj[f[(f[b>>2]|0)+284>>2]&1023](b,e);b=f[d+4>>2]|0;if(!b){c=d+8|0;b=f[c>>2]|0;if((f[b>>2]|0)!=(d|0))do{a=f[c>>2]|0;c=a+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(a|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(g|0))break;else d=b}return}function KO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;n=o;c=f[a+268>>2]|0;h=a+272|0;if((c|0)==(h|0))m=0;else{d=0;while(1){g=(f[c+20>>2]|0)+d|0;d=f[c+4>>2]|0;if(!d){d=c+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(c|0))c=e;else do{m=f[d>>2]|0;d=m+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(m|0))}else{c=d;while(1){d=f[c>>2]|0;if(!d)break;else c=d}}if((c|0)==(h|0)){m=g;break}else d=g}}c=f[a+356>>2]|0;h=a+360|0;if((c|0)==(h|0))l=0;else{d=0;while(1){g=(f[c+20>>2]|0)+d|0;d=f[c+4>>2]|0;if(!d){d=c+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(c|0))c=e;else do{l=f[d>>2]|0;d=l+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(l|0))}else{c=d;while(1){d=f[c>>2]|0;if(!d)break;else c=d}}if((c|0)==(h|0)){l=g;break}else d=g}}c=f[a+188>>2]|0;i=a+192|0;if((c|0)==(i|0)){k=0;h=0;j=0}else{g=0;h=0;e=0;while(1){d=f[c+16>>2]|0;j=e+((f[d+24>>2]|0)==0&1)|0;if(f[d+120>>2]|0){g=g+((f[d+124>>2]|0)==10&1)|0;h=h+1|0}d=f[c+4>>2]|0;if(!d){d=c+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(c|0))c=e;else do{k=f[d>>2]|0;d=k+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(k|0))}else{c=d;while(1){d=f[c>>2]|0;if(!d)break;else c=d}}if((c|0)==(i|0)){k=g;break}else e=j}}d=f[a+152>>2]|0;i=a+156|0;if((d|0)==(i|0))c=0;else{c=0;do{c=c+((f[(f[d+16>>2]|0)+24>>2]|0)==0&1)|0;e=f[d+4>>2]|0;if(!e){e=d+8|0;g=f[e>>2]|0;if((f[g>>2]|0)==(d|0))d=g;else do{g=f[e>>2]|0;e=g+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(g|0))}else{d=e;while(1){e=f[d>>2]|0;if(!e)break;else d=e}}}while((d|0)!=(i|0))}f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;d=Nu(b,382562,11)|0;f[d+(f[(f[d>>2]|0)+-12>>2]|0)+12>>2]=10;d=Nu(d,382574,6)|0;f[d+(f[(f[d>>2]|0)+-12>>2]|0)+12>>2]=10;d=Nu(d,382581,9)|0;e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;if(!(c|j)){Drb(n,e);i=utb(n,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(n);ksb(d,i)|0;Krb(d)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;i=Nu(b,382599,11)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;i=Nu(i,382611,6)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;i=Nu(i,382618,9)|0;Drb(n,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);g=utb(n,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(n);ksb(i,g)|0;Krb(i)|0}else{f[e+12>>2]=10;i=Nu(d,382591,7)|0;Drb(n,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);g=utb(n,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(n);ksb(i,g)|0;Krb(i)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;i=Nu(b,382599,11)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;i=Nu(i,382611,6)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;i=Nu(i,382618,9)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;i=Nu(i,382618,9)|0;Drb(n,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);g=utb(n,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(n);ksb(i,g)|0;Krb(i)|0}f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;i=Nu(b,382628,11)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;i=esb(i,f[a+196>>2]|0)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;i=csb(i,f[a+88>>2]|0)|0;f[i+(f[(f[i>>2]|0)+-12>>2]|0)+12>>2]=10;j=csb(i,j)|0;Drb(n,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(n,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(n);ksb(j,i)|0;Krb(j)|0;if(k|0){f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;j=Nu(b,382640,11)|0;f[j+(f[(f[j>>2]|0)+-12>>2]|0)+12>>2]=10;j=csb(j,k)|0;Drb(n,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(n,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(n);ksb(j,i)|0;Krb(j)|0}if(h|0){f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;j=Nu(b,382652,11)|0;f[j+(f[(f[j>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(j,h-k|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0}f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382664,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+100>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+56>>2]|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382676,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+112>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+68>>2]|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382688,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+124>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+64>>2]|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382700,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+136>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+60>>2]|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382712,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+148>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+72>>2]|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382724,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+160>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+76>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,c)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382736,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+172>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+80>>2]|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382748,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=esb(k,f[a+184>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+84>>2]|0)|0;Drb(n,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(k,j)|0;Krb(k)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;k=Nu(b,382760,11)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;k=csb(k,f[a+248>>2]|0)|0;f[k+(f[(f[k>>2]|0)+-12>>2]|0)+12>>2]=10;a=csb(k,f[a+336>>2]|0)|0;Drb(n,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);k=utb(n,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(n);ksb(a,k)|0;Krb(a)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=12;b=Nu(b,382772,11)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=10;b=csb(b,m)|0;f[b+(f[(f[b>>2]|0)+-12>>2]|0)+12>>2]=10;b=csb(b,l)|0;Drb(n,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(n,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(n);ksb(b,a)|0;Krb(b)|0;u=o;return}function LO(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Gv(a,317348);Gva(a+376|0);return}function MO(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Gv(a,317348);Gva(a+376|0);GBb(a);return}function NO(a){a=a|0;return 377210}function OO(a){a=a|0;return 382549}function PO(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=f[a>>2]|0;if(!d)return;e=a+4|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));b=f[a>>2]|0}f[e>>2]=d;GBb(b);return}function QO(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;b=a+376|0;rZa(b);f[b>>2]=338032;c=a+388|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+400>>2]=2;f[a+404>>2]=0;ZZa(a,317352,2);f[a>>2]=316804;f[b>>2]=317184;f[a+96>>2]=0;f[a+100>>2]=0;b=a+96|0;c=a+92|0;i=a+56|0;j=i+36|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));f[c>>2]=b;f[a+108>>2]=0;f[a+112>>2]=0;f[a+104>>2]=a+108;f[a+120>>2]=0;f[a+124>>2]=0;f[a+116>>2]=a+120;f[a+132>>2]=0;f[a+136>>2]=0;f[a+128>>2]=a+132;f[a+144>>2]=0;f[a+148>>2]=0;f[a+140>>2]=a+144;f[a+156>>2]=0;f[a+160>>2]=0;f[a+152>>2]=a+156;f[a+168>>2]=0;f[a+172>>2]=0;f[a+164>>2]=a+168;f[a+180>>2]=0;f[a+184>>2]=0;f[a+176>>2]=a+180;f[a+192>>2]=0;f[a+196>>2]=0;f[a+188>>2]=a+192;f[a+200>>2]=316712;b=a+260|0;c=a+256|0;d=a+252|0;e=a+268|0;f[a+272>>2]=0;g=a+276|0;f[g>>2]=0;h=a+272|0;f[e>>2]=h;i=a+204|0;j=i+48|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));f[b>>2]=0;f[d>>2]=c;f[c>>2]=0;f[a+264>>2]=0;Jv(e,0);f[g>>2]=0;f[e>>2]=h;f[h>>2]=0;f[a+280>>2]=0;f[a+284>>2]=0;f[a+288>>2]=316712;b=a+348|0;c=a+344|0;d=a+340|0;e=a+356|0;f[a+360>>2]=0;g=a+364|0;f[g>>2]=0;h=a+360|0;f[e>>2]=h;i=a+292|0;j=i+48|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));f[b>>2]=0;f[d>>2]=c;f[c>>2]=0;f[a+352>>2]=0;Jv(e,0);f[g>>2]=0;f[e>>2]=h;f[h>>2]=0;f[a+368>>2]=0;f[a+372>>2]=0;return}function RO(a){a=a|0;dDa(a,317936);Gva(a+64|0);return}function SO(a){a=a|0;dDa(a,317936);Gva(a+64|0);GBb(a);return}function TO(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,317936);Gva(a+64|0);return}function UO(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,317936);Gva(a+64|0);GBb(a);return}function VO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;g=d;if(e-d>>2>>>0>=b>>>0){d=b;e=g;while(1){f[e>>2]=f[c>>2];d=d+-1|0;if(!d)break;else e=e+4|0}f[n>>2]=g+(b<<2);return}l=f[a>>2]|0;k=d-l|0;g=k>>2;d=g+b|0;if(d>>>0>1073741823)DCb(a);i=e-l|0;j=i>>1;d=i>>2>>>0<536870911?(j>>>0>>0?d:j):1073741823;do if(d)if(d>>>0>1073741823){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{j=EBb(d<<2)|0;i=j;break}else{i=0;j=0}while(0);h=i+(g<<2)|0;e=i+(d<<2)|0;d=b;g=h;while(1){f[g>>2]=f[c>>2];d=d+-1|0;if(!d)break;else g=g+4|0}if((k|0)>0)YDb(j|0,l|0,k|0)|0;f[a>>2]=i;f[n>>2]=h+(b<<2);f[m>>2]=e;if(!l)return;GBb(l);return}function WO(a){a=a|0;return}function XO(a,b){a=a|0;b=b|0;return}function YO(a,b){a=a|0;b=b|0;return}function ZO(a,b){a=a|0;b=b|0;return}function _O(a,b){a=a|0;b=b|0;return}function $O(a,b){a=a|0;b=b|0;return}function aP(a,b){a=a|0;b=b|0;return}function bP(a,b){a=a|0;b=b|0;return}function cP(a,b){a=a|0;b=b|0;return}function dP(a,b){a=a|0;b=b|0;return}function eP(a,b){a=a|0;b=b|0;return}function fP(a,b){a=a|0;b=b|0;return}function gP(a,b){a=a|0;b=b|0;return}function hP(a,b){a=a|0;b=b|0;return}function iP(a,b){a=a|0;b=b|0;return}function jP(a){a=a|0;var b=0;f[a+72>>2]=317956;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function kP(a){a=a|0;var b=0;f[a+72>>2]=317956;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function lP(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=32;f[a+56>>2]=4;f[a+60>>2]=5130;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=317972;f[a+72>>2]=318212;return a|0}function mP(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;EP(c,a,b);return c|0}function nP(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function oP(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function pP(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+136>>2]&1023](b,a);return}function qP(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+136>>2]&1023](b,a);return}function rP(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+132>>2]&1023](c,(f[a+76>>2]|0)+(b<<5)|0);return}function sP(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+132>>2]&1023](c,(f[a+76>>2]|0)+(b<<5)|0);return}function tP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;a=f[a+76>>2]|0;d=+p[a+(b<<5)>>3];e=+p[a+(c<<5)>>3];if(de)){d=+p[a+(b<<5)+8>>3];e=+p[a+(c<<5)+8>>3];if(de)){d=+p[a+(b<<5)+16>>3];e=+p[a+(c<<5)+16>>3];if(de)?+p[a+(b<<5)+24>>3]<+p[a+(c<<5)+24>>3]:0){c=-1;return c|0}}d=+p[a+(c<<5)+8>>3];e=+p[a+(b<<5)+8>>3];if(!(de){c=0;return c|0}d=+p[a+(c<<5)+16>>3];e=+p[a+(b<<5)+16>>3];if(!(de){c=0;return c|0}if(!(+p[a+(c<<5)+24>>3]<+p[a+(b<<5)+24>>3])){c=0;return c|0}}}}c=1;return c|0}function uP(a){a=a|0;return 32}function vP(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<5)|0)|0}function wP(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>5|0}function xP(a,b){a=a|0;b=b|0;DP(a+76|0,b);return}function yP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+32|0;e=h;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[e+16>>2]=0;f[e+20>>2]=0;f[e+24>>2]=0;f[e+28>>2]=0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>5;if(d>>>0>>0){CP(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<5);u=h;return}function zP(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=317956;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>5;if(e){if(b>>>0>134217727)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<5)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>5<<5)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=317956;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function AP(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=317956;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function BP(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=317956;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function CP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+8|0;g=f[k>>2]|0;l=a+4|0;d=f[l>>2]|0;if(g-d>>5>>>0>=b>>>0){do{f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[d+12>>2]=f[c+12>>2];f[d+16>>2]=f[c+16>>2];f[d+20>>2]=f[c+20>>2];f[d+24>>2]=f[c+24>>2];f[d+28>>2]=f[c+28>>2];d=(f[l>>2]|0)+32|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=d-e>>5;j=h+b|0;if(j>>>0>134217727)DCb(a);i=g-e|0;d=i>>4;d=i>>5>>>0<67108863?(d>>>0>>0?j:d):134217727;do if(d)if(d>>>0>134217727){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d<<5)|0;break}else i=0;while(0);g=i+(h<<5)|0;h=i+(d<<5)|0;d=g;while(1){f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[d+12>>2]=f[c+12>>2];f[d+16>>2]=f[c+16>>2];f[d+20>>2]=f[c+20>>2];f[d+24>>2]=f[c+24>>2];f[d+28>>2]=f[c+28>>2];b=b+-1|0;if(!b)break;else d=d+32|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(0-(e>>5)<<5)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j<<5);f[k>>2]=h;if(!b)return;GBb(b);return}function DP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>5>>>0>=b>>>0)return;h=a+4|0;if(b>>>0>134217727){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<5)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>5<<5);f[e>>2]=d+(b<<5);if(!g)return;GBb(g);return}function EP(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=317956;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>5;if(!d){f[a>>2]=317972;f[k>>2]=318212;return}if(c>>>0>134217727)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<5);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=317972;f[k>>2]=318212;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>5<<5);f[a>>2]=317972;f[k>>2]=318212;return}function FP(a){a=a|0;var b=0;f[a>>2]=317956;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function GP(a){a=a|0;var b=0;f[a>>2]=317956;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function HP(a){a=a|0;var b=0;f[a+72>>2]=318228;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function IP(a){a=a|0;var b=0;f[a+72>>2]=318228;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function JP(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=31;f[a+56>>2]=3;f[a+60>>2]=5130;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=318244;f[a+72>>2]=318484;return a|0}function KP(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;aQ(c,a,b);return c|0}function LP(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function MP(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function NP(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+132>>2]&1023](b,a);return}function OP(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+132>>2]&1023](b,a);return}function PP(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+128>>2]&1023](c,(f[a+76>>2]|0)+(b*24|0)|0);return}function QP(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+128>>2]&1023](c,(f[a+76>>2]|0)+(b*24|0)|0);return}function RP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;a=f[a+76>>2]|0;d=+p[a+(b*24|0)>>3];e=+p[a+(c*24|0)>>3];if(de)){d=+p[a+(b*24|0)+8>>3];e=+p[a+(c*24|0)+8>>3];if(de)?+p[a+(b*24|0)+16>>3]<+p[a+(c*24|0)+16>>3]:0){c=-1;return c|0}d=+p[a+(c*24|0)+8>>3];e=+p[a+(b*24|0)+8>>3];if(!(de){c=0;return c|0}if(!(+p[a+(c*24|0)+16>>3]<+p[a+(b*24|0)+16>>3])){c=0;return c|0}}}c=1;return c|0}function SP(a){a=a|0;return 24}function TP(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b*24|0)|0)|0}function UP(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/24|0|0}function VP(a,b){a=a|0;b=b|0;$P(a+76|0,b);return}function WP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+32|0;e=h;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[e+16>>2]=0;f[e+20>>2]=0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=((f[a>>2]|0)-c|0)/24|0;if(d>>>0>>0){_P(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b*24|0);u=h;return}function XP(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;g=o;f[g>>2]=318228;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=(e|0)/24|0;if(e){if(b>>>0>178956970)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b*24|0)|0;f[k>>2]=b;d=c;if((e|0)>0){YDb(c|0,n|0,e|0)|0;c=c+(((e>>>0)/24|0)*24|0)|0;f[j>>2]=c;e=d}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;m=a+84|0;f[k>>2]=f[m>>2];f[m>>2]=b;f[g>>2]=318228;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function YP(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=318228;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function ZP(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=318228;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function _P(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+8|0;g=f[k>>2]|0;l=a+4|0;d=f[l>>2]|0;if(((g-d|0)/24|0)>>>0>=b>>>0){do{f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[d+12>>2]=f[c+12>>2];f[d+16>>2]=f[c+16>>2];f[d+20>>2]=f[c+20>>2];d=(f[l>>2]|0)+24|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=(d-e|0)/24|0;j=h+b|0;if(j>>>0>178956970)DCb(a);i=(g-e|0)/24|0;d=i<<1;d=i>>>0<89478485?(d>>>0>>0?j:d):178956970;do if(d)if(d>>>0>178956970){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d*24|0)|0;break}else i=0;while(0);g=i+(h*24|0)|0;h=i+(d*24|0)|0;d=g;while(1){f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[d+12>>2]=f[c+12>>2];f[d+16>>2]=f[c+16>>2];f[d+20>>2]=f[c+20>>2];b=b+-1|0;if(!b)break;else d=d+24|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(((e|0)/-24|0)*24|0)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j*24|0);f[k>>2]=h;if(!b)return;GBb(b);return}function $P(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;g=a+8|0;i=f[a>>2]|0;if((((f[g>>2]|0)-i|0)/24|0)>>>0>=b>>>0)return;j=a+4|0;if(b>>>0>178956970){j=ab(8)|0;KBb(j,410101);f[j>>2]=362060;eb(j|0,302144,1464)}c=(f[j>>2]|0)-i|0;d=EBb(b*24|0)|0;e=d+(((c|0)/24|0)*24|0)|0;h=e+(((c|0)/-24|0)*24|0)|0;if((c|0)>0)YDb(h|0,i|0,c|0)|0;f[a>>2]=h;f[j>>2]=e;f[g>>2]=d+(b*24|0);if(!i)return;GBb(i);return}function aQ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=318228;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=(d|0)/24|0;if(!d){f[a>>2]=318244;f[k>>2]=318484;return}if(c>>>0>178956970)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c*24|0);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=318244;f[k>>2]=318484;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/24|0)*24|0);f[a>>2]=318244;f[k>>2]=318484;return}function bQ(a){a=a|0;var b=0;f[a>>2]=318228;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function cQ(a){a=a|0;var b=0;f[a>>2]=318228;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function dQ(a){a=a|0;var b=0;f[a+72>>2]=318500;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function eQ(a){a=a|0;var b=0;f[a+72>>2]=318500;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function fQ(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=30;f[a+56>>2]=2;f[a+60>>2]=5130;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=318516;f[a+72>>2]=318756;return a|0}function gQ(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;yQ(c,a,b);return c|0}function hQ(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function iQ(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function jQ(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+128>>2]&1023](b,a);return}function kQ(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+128>>2]&1023](b,a);return}function lQ(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+124>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function mQ(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+124>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function nQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;a=f[a+76>>2]|0;d=+p[a+(b<<4)>>3];e=+p[a+(c<<4)>>3];if(de)){if(+p[a+(b<<4)+8>>3]<+p[a+(c<<4)+8>>3]){c=-1;return c|0}if(!(+p[a+(c<<4)+8>>3]<+p[a+(b<<4)+8>>3])){c=0;return c|0}}c=1;return c|0}function oQ(a){a=a|0;return 16}function pQ(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<4)|0)|0}function qQ(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>4|0}function rQ(a,b){a=a|0;b=b|0;xQ(a+76|0,b);return}function sQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>4;if(d>>>0>>0){wQ(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<4);u=h;return}function tQ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=318500;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>4;if(e){if(b>>>0>268435455)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<4)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>4<<4)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=318500;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function uQ(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=318500;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function vQ(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=318500;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function wQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+8|0;g=f[k>>2]|0;l=a+4|0;d=f[l>>2]|0;if(g-d>>4>>>0>=b>>>0){do{f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[d+12>>2]=f[c+12>>2];d=(f[l>>2]|0)+16|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=d-e>>4;j=h+b|0;if(j>>>0>268435455)DCb(a);i=g-e|0;d=i>>3;d=i>>4>>>0<134217727?(d>>>0>>0?j:d):268435455;do if(d)if(d>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d<<4)|0;break}else i=0;while(0);g=i+(h<<4)|0;h=i+(d<<4)|0;d=g;while(1){f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[d+12>>2]=f[c+12>>2];b=b+-1|0;if(!b)break;else d=d+16|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(0-(e>>4)<<4)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j<<4);f[k>>2]=h;if(!b)return;GBb(b);return}function xQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>4>>>0>=b>>>0)return;h=a+4|0;if(b>>>0>268435455){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<4)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>4<<4);f[e>>2]=d+(b<<4);if(!g)return;GBb(g);return}function yQ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=318500;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>4;if(!d){f[a>>2]=318516;f[k>>2]=318756;return}if(c>>>0>268435455)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<4);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=318516;f[k>>2]=318756;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>4<<4);f[a>>2]=318516;f[k>>2]=318756;return}function zQ(a){a=a|0;var b=0;f[a>>2]=318500;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function AQ(a){a=a|0;var b=0;f[a>>2]=318500;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function BQ(a){a=a|0;var b=0;f[a+72>>2]=318772;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function CQ(a){a=a|0;var b=0;f[a+72>>2]=318772;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function DQ(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=20;f[a+56>>2]=4;f[a+60>>2]=5121;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=318788;f[a+72>>2]=319028;return a|0}function EQ(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;WQ(c,a,b);return c|0}function FQ(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function GQ(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function HQ(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a);return}function IQ(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a);return}function JQ(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+84>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function KQ(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+84>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function LQ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=f[a+76>>2]|0;a=b[g+(c<<2)>>0]|0;e=b[g+(d<<2)>>0]|0;if((a&255)<(e&255)){d=-1;return d|0}if((a&255)<=(e&255)){a=b[g+(c<<2)+1>>0]|0;e=b[g+(d<<2)+1>>0]|0;if((a&255)<(e&255)){d=-1;return d|0}if((a&255)<=(e&255)){a=b[g+(c<<2)+2>>0]|0;e=b[g+(d<<2)+2>>0]|0;if((a&255)<(e&255)){d=-1;return d|0}if((a&255)<=(e&255)?(h[g+(c<<2)+3>>0]|0)<(h[g+(d<<2)+3>>0]|0):0){d=-1;return d|0}}a=b[g+(d<<2)+1>>0]|0;e=b[g+(c<<2)+1>>0]|0;if((a&255)>=(e&255)){if((a&255)>(e&255)){d=0;return d|0}a=b[g+(d<<2)+2>>0]|0;e=b[g+(c<<2)+2>>0]|0;if((a&255)>=(e&255)){if((a&255)>(e&255)){d=0;return d|0}if((h[g+(d<<2)+3>>0]|0)>=(h[g+(c<<2)+3>>0]|0)){d=0;return d|0}}}}d=1;return d|0}function MQ(a){a=a|0;return 4}function NQ(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<2)|0)|0}function OQ(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>2|0}function PQ(a,b){a=a|0;b=b|0;VQ(a+76|0,b);return}function QQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;f[e>>2]=0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>2;if(d>>>0>>0){UQ(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<2);u=h;return}function RQ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=u;u=u+16|0;g=p;f[g>>2]=318772;i=g+4|0;j=a+76|0;f[i>>2]=0;k=g+8|0;f[k>>2]=0;l=g+12|0;f[l>>2]=0;m=a+80|0;n=f[m>>2]|0;o=f[j>>2]|0;e=n-o|0;b=e>>2;h=o;if(e){if(b>>>0>1073741823)DCb(i);c=EBb(e)|0;f[k>>2]=c;f[i>>2]=c;b=c+(b<<2)|0;f[l>>2]=b;d=c;if((e|0)>0){q=c+(e>>>2<<2)|0;YDb(c|0,h|0,e|0)|0;f[k>>2]=q;e=d;c=q}else{e=d;c=d}}else{e=0;c=0;b=0}f[i>>2]=o;f[j>>2]=e;f[k>>2]=n;f[m>>2]=c;q=a+84|0;f[l>>2]=f[q>>2];f[q>>2]=b;f[g>>2]=318772;if(!o){u=p;return}f[k>>2]=o;GBb(h);u=p;return}function SQ(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=318772;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function TQ(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=318772;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function UQ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;i=f[m>>2]|0;n=a+4|0;e=f[n>>2]|0;if(i-e>>2>>>0>=c>>>0){do{m=h[d>>0]|h[d+1>>0]<<8|h[d+2>>0]<<16|h[d+3>>0]<<24;b[e>>0]=m;b[e+1>>0]=m>>8;b[e+2>>0]=m>>16;b[e+3>>0]=m>>24;e=(f[n>>2]|0)+4|0;f[n>>2]=e;c=c+-1|0}while((c|0)!=0);return}g=f[a>>2]|0;j=e-g>>2;l=j+c|0;if(l>>>0>1073741823)DCb(a);k=i-g|0;e=k>>1;e=k>>2>>>0<536870911?(e>>>0>>0?l:e):1073741823;do if(e)if(e>>>0>1073741823){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{k=EBb(e<<2)|0;break}else k=0;while(0);i=k+(j<<2)|0;j=k+(e<<2)|0;e=i;while(1){g=h[d>>0]|h[d+1>>0]<<8|h[d+2>>0]<<16|h[d+3>>0]<<24;b[e>>0]=g;b[e+1>>0]=g>>8;b[e+2>>0]=g>>16;b[e+3>>0]=g>>24;c=c+-1|0;if(!c)break;else e=e+4|0}c=f[a>>2]|0;g=(f[n>>2]|0)-c|0;e=i+(0-(g>>2)<<2)|0;if((g|0)>0)YDb(e|0,c|0,g|0)|0;f[a>>2]=e;f[n>>2]=k+(l<<2);f[m>>2]=j;if(!c)return;GBb(c);return}function VQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=a+8|0;g=f[a>>2]|0;h=g;if((f[e>>2]|0)-g>>2>>>0>=b>>>0)return;i=a+4|0;if(b>>>0>1073741823){i=ab(8)|0;KBb(i,410101);f[i>>2]=362060;eb(i|0,302144,1464)}c=(f[i>>2]|0)-g|0;d=EBb(b<<2)|0;if((c|0)>0)YDb(d|0,h|0,c|0)|0;f[a>>2]=d;f[i>>2]=d+(c>>2<<2);f[e>>2]=d+(b<<2);if(!g)return;GBb(h);return}function WQ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=318772;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){f[a>>2]=318788;f[k>>2]=319028;return}if(c>>>0>1073741823)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<2);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=318788;f[k>>2]=319028;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>2<<2);f[a>>2]=318788;f[k>>2]=319028;return}function XQ(a){a=a|0;var b=0;f[a>>2]=318772;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function YQ(a){a=a|0;var b=0;f[a>>2]=318772;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function ZQ(a){a=a|0;var b=0;f[a+72>>2]=319044;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function _Q(a){a=a|0;var b=0;f[a+72>>2]=319044;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function $Q(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=14;f[a+56>>2]=4;f[a+60>>2]=5122;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=319060;f[a+72>>2]=319300;return a|0}function aR(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;sR(c,a,b);return c|0}function bR(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function cR(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function dR(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+64>>2]&1023](b,a);return}function eR(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+64>>2]&1023](b,a);return}function fR(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+60>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function gR(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+60>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function hR(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0;g=f[a+76>>2]|0;a=d[g+(b<<3)>>1]|0;e=d[g+(c<<3)>>1]|0;if(a<<16>>16>16){c=-1;return c|0}if(a<<16>>16<=e<<16>>16){a=d[g+(b<<3)+2>>1]|0;e=d[g+(c<<3)+2>>1]|0;if(a<<16>>16>16){c=-1;return c|0}if(a<<16>>16<=e<<16>>16){a=d[g+(b<<3)+4>>1]|0;e=d[g+(c<<3)+4>>1]|0;if(a<<16>>16>16){c=-1;return c|0}if(a<<16>>16<=e<<16>>16?(d[g+(b<<3)+6>>1]|0)<(d[g+(c<<3)+6>>1]|0):0){c=-1;return c|0}}a=d[g+(c<<3)+2>>1]|0;e=d[g+(b<<3)+2>>1]|0;if(a<<16>>16>=e<<16>>16){if(a<<16>>16>e<<16>>16){c=0;return c|0}a=d[g+(c<<3)+4>>1]|0;e=d[g+(b<<3)+4>>1]|0;if(a<<16>>16>=e<<16>>16){if(a<<16>>16>e<<16>>16){c=0;return c|0}if((d[g+(c<<3)+6>>1]|0)>=(d[g+(b<<3)+6>>1]|0)){c=0;return c|0}}}}c=1;return c|0}function iR(a){a=a|0;return 8}function jR(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<3)|0)|0}function kR(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>3|0}function lR(a,b){a=a|0;b=b|0;rR(a+76|0,b);return}function mR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;g=e;f[g>>2]=0;f[g+4>>2]=0;g=a+76|0;d=a+80|0;a=f[g>>2]|0;c=(f[d>>2]|0)-a>>3;if(c>>>0>>0){qR(g,b-c|0,e);u=h;return}if(c>>>0<=b>>>0){u=h;return}f[d>>2]=a+(b<<3);u=h;return}function nR(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=319044;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>3;if(e){if(b>>>0>536870911)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<3)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>3<<3)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=319044;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function oR(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319044;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function pR(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319044;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function qR(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=a+8|0;h=f[m>>2]|0;n=a+4|0;e=f[n>>2]|0;if(h-e>>3>>>0>=b>>>0){do{a=c;k=a;k=j[k>>1]|j[k+2>>1]<<16;a=a+4|0;a=j[a>>1]|j[a+2>>1]<<16;m=e;l=m;d[l>>1]=k;d[l+2>>1]=k>>>16;m=m+4|0;d[m>>1]=a;d[m+2>>1]=a>>>16;e=(f[n>>2]|0)+8|0;f[n>>2]=e;b=b+-1|0}while((b|0)!=0);return}g=f[a>>2]|0;i=e-g>>3;l=i+b|0;if(l>>>0>536870911)DCb(a);k=h-g|0;e=k>>2;e=k>>3>>>0<268435455?(e>>>0>>0?l:e):536870911;do if(e)if(e>>>0>536870911){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{k=EBb(e<<3)|0;break}else k=0;while(0);h=k+(i<<3)|0;i=k+(e<<3)|0;e=h;while(1){o=c;q=o;q=j[q>>1]|j[q+2>>1]<<16;o=o+4|0;o=j[o>>1]|j[o+2>>1]<<16;g=e;p=g;d[p>>1]=q;d[p+2>>1]=q>>>16;g=g+4|0;d[g>>1]=o;d[g+2>>1]=o>>>16;b=b+-1|0;if(!b)break;else e=e+8|0}b=f[a>>2]|0;g=(f[n>>2]|0)-b|0;e=h+(0-(g>>3)<<3)|0;if((g|0)>0)YDb(e|0,b|0,g|0)|0;f[a>>2]=e;f[n>>2]=k+(l<<3);f[m>>2]=i;if(!b)return;GBb(b);return}function rR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>3>>>0>=b>>>0)return;h=a+4|0;if(b>>>0>536870911){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<3)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>3<<3);f[e>>2]=d+(b<<3);if(!g)return;GBb(g);return}function sR(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=319044;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>3;if(!d){f[a>>2]=319060;f[k>>2]=319300;return}if(c>>>0>536870911)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<3);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=319060;f[k>>2]=319300;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>3<<3);f[a>>2]=319060;f[k>>2]=319300;return}function tR(a){a=a|0;var b=0;f[a>>2]=319044;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function uR(a){a=a|0;var b=0;f[a>>2]=319044;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function vR(a){a=a|0;var b=0;f[a+72>>2]=319316;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function wR(a){a=a|0;var b=0;f[a+72>>2]=319316;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function xR(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=13;f[a+56>>2]=3;f[a+60>>2]=5122;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=319332;f[a+72>>2]=319572;return a|0}function yR(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;QR(c,a,b);return c|0}function zR(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function AR(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function BR(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+60>>2]&1023](b,a);return}function CR(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+60>>2]&1023](b,a);return}function DR(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+56>>2]&1023](c,(f[a+76>>2]|0)+(b*6|0)|0);return}function ER(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+56>>2]&1023](c,(f[a+76>>2]|0)+(b*6|0)|0);return}function FR(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0;g=f[a+76>>2]|0;a=d[g+(b*6|0)>>1]|0;e=d[g+(c*6|0)>>1]|0;if(a<<16>>16>16){c=-1;return c|0}if(a<<16>>16<=e<<16>>16){a=d[g+(b*6|0)+2>>1]|0;e=d[g+(c*6|0)+2>>1]|0;if(a<<16>>16>16){c=-1;return c|0}if(a<<16>>16<=e<<16>>16?(d[g+(b*6|0)+4>>1]|0)<(d[g+(c*6|0)+4>>1]|0):0){c=-1;return c|0}a=d[g+(c*6|0)+2>>1]|0;e=d[g+(b*6|0)+2>>1]|0;if(a<<16>>16>=e<<16>>16){if(a<<16>>16>e<<16>>16){c=0;return c|0}if((d[g+(c*6|0)+4>>1]|0)>=(d[g+(b*6|0)+4>>1]|0)){c=0;return c|0}}}c=1;return c|0}function GR(a){a=a|0;return 6}function HR(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b*6|0)|0)|0}function IR(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/6|0|0}function JR(a,b){a=a|0;b=b|0;PR(a+76|0,b);return}function KR(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;d[g>>1]=0;d[g+2>>1]=0;d[g+4>>1]=0;h=a+76|0;c=a+80|0;e=f[h>>2]|0;a=((f[c>>2]|0)-e|0)/6|0;if(a>>>0>>0){OR(h,b-a|0,g);u=i;return}if(a>>>0<=b>>>0){u=i;return}f[c>>2]=e+(b*6|0);u=i;return}function LR(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;g=o;f[g>>2]=319316;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=(e|0)/6|0;if(e){if(b>>>0>715827882)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b*6|0)|0;f[k>>2]=b;d=c;if((e|0)>0){YDb(c|0,n|0,e|0)|0;c=c+(((e>>>0)/6|0)*6|0)|0;f[j>>2]=c;e=d}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;m=a+84|0;f[k>>2]=f[m>>2];f[m>>2]=b;f[g>>2]=319316;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function MR(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319316;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function NR(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319316;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function OR(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=a+8|0;h=f[l>>2]|0;m=a+4|0;e=f[m>>2]|0;if(((h-e|0)/6|0)>>>0>=b>>>0){do{d[e>>1]=d[c>>1]|0;d[e+2>>1]=d[c+2>>1]|0;d[e+4>>1]=d[c+4>>1]|0;e=(f[m>>2]|0)+6|0;f[m>>2]=e;b=b+-1|0}while((b|0)!=0);return}g=f[a>>2]|0;i=(e-g|0)/6|0;k=i+b|0;if(k>>>0>715827882)DCb(a);j=(h-g|0)/6|0;e=j<<1;e=j>>>0<357913941?(e>>>0>>0?k:e):715827882;do if(e)if(e>>>0>715827882){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e*6|0)|0;break}else j=0;while(0);h=j+(i*6|0)|0;i=j+(e*6|0)|0;e=h;while(1){d[e>>1]=d[c>>1]|0;d[e+2>>1]=d[c+2>>1]|0;d[e+4>>1]=d[c+4>>1]|0;b=b+-1|0;if(!b)break;else e=e+6|0}b=f[a>>2]|0;g=(f[m>>2]|0)-b|0;e=h+(((g|0)/-6|0)*6|0)|0;if((g|0)>0)YDb(e|0,b|0,g|0)|0;f[a>>2]=e;f[m>>2]=j+(k*6|0);f[l>>2]=i;if(!b)return;GBb(b);return}function PR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;g=a+8|0;i=f[a>>2]|0;if((((f[g>>2]|0)-i|0)/6|0)>>>0>=b>>>0)return;j=a+4|0;if(b>>>0>715827882){j=ab(8)|0;KBb(j,410101);f[j>>2]=362060;eb(j|0,302144,1464)}c=(f[j>>2]|0)-i|0;d=EBb(b*6|0)|0;e=d+(((c|0)/6|0)*6|0)|0;h=e+(((c|0)/-6|0)*6|0)|0;if((c|0)>0)YDb(h|0,i|0,c|0)|0;f[a>>2]=h;f[j>>2]=e;f[g>>2]=d+(b*6|0);if(!i)return;GBb(i);return}function QR(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=319316;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=(d|0)/6|0;if(!d){f[a>>2]=319332;f[k>>2]=319572;return}if(c>>>0>715827882)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c*6|0);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=319332;f[k>>2]=319572;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/6|0)*6|0);f[a>>2]=319332;f[k>>2]=319572;return}function RR(a){a=a|0;var b=0;f[a>>2]=319316;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function SR(a){a=a|0;var b=0;f[a>>2]=319316;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function TR(a){a=a|0;var b=0;f[a+72>>2]=319588;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function UR(a){a=a|0;var b=0;f[a+72>>2]=319588;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function VR(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=12;f[a+56>>2]=2;f[a+60>>2]=5122;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=319604;f[a+72>>2]=319844;return a|0}function WR(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;mS(c,a,b);return c|0}function XR(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function YR(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function ZR(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+56>>2]&1023](b,a);return}function _R(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+56>>2]&1023](b,a);return}function $R(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+52>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function aS(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+52>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function bS(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0;a=f[a+76>>2]|0;e=d[a+(b<<2)>>1]|0;g=d[a+(c<<2)>>1]|0;if(e<<16>>16>16){c=-1;return c|0}if(e<<16>>16<=g<<16>>16){if((d[a+(b<<2)+2>>1]|0)<(d[a+(c<<2)+2>>1]|0)){c=-1;return c|0}if((d[a+(c<<2)+2>>1]|0)>=(d[a+(b<<2)+2>>1]|0)){c=0;return c|0}}c=1;return c|0}function cS(a){a=a|0;return 4}function dS(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<2)|0)|0}function eS(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>2|0}function fS(a,b){a=a|0;b=b|0;lS(a+76|0,b);return}function gS(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;d[g>>1]=0;d[g+2>>1]=0;h=a+76|0;a=a+80|0;c=f[h>>2]|0;e=(f[a>>2]|0)-c>>2;if(e>>>0>>0){kS(h,b-e|0,g);u=i;return}if(e>>>0<=b>>>0){u=i;return}f[a>>2]=c+(b<<2);u=i;return}function hS(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=319588;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>2;if(e){if(b>>>0>1073741823)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<2)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>2<<2)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=319588;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function iS(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319588;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function jS(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319588;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function kS(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;m=a+8|0;h=f[m>>2]|0;n=a+4|0;e=f[n>>2]|0;if(h-e>>2>>>0>=b>>>0){do{m=j[c>>1]|j[c+2>>1]<<16;d[e>>1]=m;d[e+2>>1]=m>>>16;e=(f[n>>2]|0)+4|0;f[n>>2]=e;b=b+-1|0}while((b|0)!=0);return}g=f[a>>2]|0;i=e-g>>2;l=i+b|0;if(l>>>0>1073741823)DCb(a);k=h-g|0;e=k>>1;e=k>>2>>>0<536870911?(e>>>0>>0?l:e):1073741823;do if(e)if(e>>>0>1073741823){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{k=EBb(e<<2)|0;break}else k=0;while(0);h=k+(i<<2)|0;i=k+(e<<2)|0;e=h;while(1){g=j[c>>1]|j[c+2>>1]<<16;d[e>>1]=g;d[e+2>>1]=g>>>16;b=b+-1|0;if(!b)break;else e=e+4|0}b=f[a>>2]|0;g=(f[n>>2]|0)-b|0;e=h+(0-(g>>2)<<2)|0;if((g|0)>0)YDb(e|0,b|0,g|0)|0;f[a>>2]=e;f[n>>2]=k+(l<<2);f[m>>2]=i;if(!b)return;GBb(b);return}function lS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>2>>>0>=b>>>0)return;h=a+4|0;if(b>>>0>1073741823){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<2)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>2<<2);f[e>>2]=d+(b<<2);if(!g)return;GBb(g);return}function mS(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=319588;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){f[a>>2]=319604;f[k>>2]=319844;return}if(c>>>0>1073741823)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<2);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=319604;f[k>>2]=319844;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>2<<2);f[a>>2]=319604;f[k>>2]=319844;return}function nS(a){a=a|0;var b=0;f[a>>2]=319588;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function oS(a){a=a|0;var b=0;f[a>>2]=319588;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function pS(a){a=a|0;var b=0;f[a+72>>2]=319860;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function qS(a){a=a|0;var b=0;f[a+72>>2]=319860;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function rS(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=11;f[a+56>>2]=4;f[a+60>>2]=5120;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=319876;f[a+72>>2]=320116;return a|0}function sS(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;KS(c,a,b);return c|0}function tS(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function uS(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function vS(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+52>>2]&1023](b,a);return}function wS(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+52>>2]&1023](b,a);return}function xS(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+48>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function yS(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+48>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function zS(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=f[a+76>>2]|0;a=b[g+(c<<2)>>0]|0;e=b[g+(d<<2)>>0]|0;if(a<<24>>24>24){d=-1;return d|0}if(a<<24>>24<=e<<24>>24){a=b[g+(c<<2)+1>>0]|0;e=b[g+(d<<2)+1>>0]|0;if(a<<24>>24>24){d=-1;return d|0}if(a<<24>>24<=e<<24>>24){a=b[g+(c<<2)+2>>0]|0;e=b[g+(d<<2)+2>>0]|0;if(a<<24>>24>24){d=-1;return d|0}if(a<<24>>24<=e<<24>>24?(b[g+(c<<2)+3>>0]|0)<(b[g+(d<<2)+3>>0]|0):0){d=-1;return d|0}}a=b[g+(d<<2)+1>>0]|0;e=b[g+(c<<2)+1>>0]|0;if(a<<24>>24>=e<<24>>24){if(a<<24>>24>e<<24>>24){d=0;return d|0}a=b[g+(d<<2)+2>>0]|0;e=b[g+(c<<2)+2>>0]|0;if(a<<24>>24>=e<<24>>24){if(a<<24>>24>e<<24>>24){d=0;return d|0}if((b[g+(d<<2)+3>>0]|0)>=(b[g+(c<<2)+3>>0]|0)){d=0;return d|0}}}}d=1;return d|0}function AS(a){a=a|0;return 4}function BS(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<2)|0)|0}function CS(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>2|0}function DS(a,b){a=a|0;b=b|0;JS(a+76|0,b);return}function ES(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;f[e>>2]=0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>2;if(d>>>0>>0){IS(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<2);u=h;return}function FS(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=u;u=u+16|0;g=p;f[g>>2]=319860;i=g+4|0;j=a+76|0;f[i>>2]=0;k=g+8|0;f[k>>2]=0;l=g+12|0;f[l>>2]=0;m=a+80|0;n=f[m>>2]|0;o=f[j>>2]|0;e=n-o|0;b=e>>2;h=o;if(e){if(b>>>0>1073741823)DCb(i);c=EBb(e)|0;f[k>>2]=c;f[i>>2]=c;b=c+(b<<2)|0;f[l>>2]=b;d=c;if((e|0)>0){q=c+(e>>>2<<2)|0;YDb(c|0,h|0,e|0)|0;f[k>>2]=q;e=d;c=q}else{e=d;c=d}}else{e=0;c=0;b=0}f[i>>2]=o;f[j>>2]=e;f[k>>2]=n;f[m>>2]=c;q=a+84|0;f[l>>2]=f[q>>2];f[q>>2]=b;f[g>>2]=319860;if(!o){u=p;return}f[k>>2]=o;GBb(h);u=p;return}function GS(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319860;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function HS(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=319860;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function IS(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;i=f[m>>2]|0;n=a+4|0;e=f[n>>2]|0;if(i-e>>2>>>0>=c>>>0){do{m=h[d>>0]|h[d+1>>0]<<8|h[d+2>>0]<<16|h[d+3>>0]<<24;b[e>>0]=m;b[e+1>>0]=m>>8;b[e+2>>0]=m>>16;b[e+3>>0]=m>>24;e=(f[n>>2]|0)+4|0;f[n>>2]=e;c=c+-1|0}while((c|0)!=0);return}g=f[a>>2]|0;j=e-g>>2;l=j+c|0;if(l>>>0>1073741823)DCb(a);k=i-g|0;e=k>>1;e=k>>2>>>0<536870911?(e>>>0>>0?l:e):1073741823;do if(e)if(e>>>0>1073741823){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{k=EBb(e<<2)|0;break}else k=0;while(0);i=k+(j<<2)|0;j=k+(e<<2)|0;e=i;while(1){g=h[d>>0]|h[d+1>>0]<<8|h[d+2>>0]<<16|h[d+3>>0]<<24;b[e>>0]=g;b[e+1>>0]=g>>8;b[e+2>>0]=g>>16;b[e+3>>0]=g>>24;c=c+-1|0;if(!c)break;else e=e+4|0}c=f[a>>2]|0;g=(f[n>>2]|0)-c|0;e=i+(0-(g>>2)<<2)|0;if((g|0)>0)YDb(e|0,c|0,g|0)|0;f[a>>2]=e;f[n>>2]=k+(l<<2);f[m>>2]=j;if(!c)return;GBb(c);return}function JS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=a+8|0;g=f[a>>2]|0;h=g;if((f[e>>2]|0)-g>>2>>>0>=b>>>0)return;i=a+4|0;if(b>>>0>1073741823){i=ab(8)|0;KBb(i,410101);f[i>>2]=362060;eb(i|0,302144,1464)}c=(f[i>>2]|0)-g|0;d=EBb(b<<2)|0;if((c|0)>0)YDb(d|0,h|0,c|0)|0;f[a>>2]=d;f[i>>2]=d+(c>>2<<2);f[e>>2]=d+(b<<2);if(!g)return;GBb(h);return}function KS(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=319860;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){f[a>>2]=319876;f[k>>2]=320116;return}if(c>>>0>1073741823)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<2);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=319876;f[k>>2]=320116;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>2<<2);f[a>>2]=319876;f[k>>2]=320116;return}function LS(a){a=a|0;var b=0;f[a>>2]=319860;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function MS(a){a=a|0;var b=0;f[a>>2]=319860;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function NS(a){a=a|0;var b=0;f[a+72>>2]=320132;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function OS(a){a=a|0;var b=0;f[a+72>>2]=320132;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function PS(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=10;f[a+56>>2]=3;f[a+60>>2]=5120;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=320148;f[a+72>>2]=320388;return a|0}function QS(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;gT(c,a,b);return c|0}function RS(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function SS(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function TS(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+48>>2]&1023](b,a);return}function US(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+48>>2]&1023](b,a);return}function VS(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+44>>2]&1023](c,(f[a+76>>2]|0)+(b*3|0)|0);return}function WS(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+44>>2]&1023](c,(f[a+76>>2]|0)+(b*3|0)|0);return}function XS(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=f[a+76>>2]|0;a=b[g+(c*3|0)>>0]|0;e=b[g+(d*3|0)>>0]|0;if(a<<24>>24>24){d=-1;return d|0}if(a<<24>>24<=e<<24>>24){a=b[g+(c*3|0)+1>>0]|0;e=b[g+(d*3|0)+1>>0]|0;if(a<<24>>24>24){d=-1;return d|0}if(a<<24>>24<=e<<24>>24?(b[g+(c*3|0)+2>>0]|0)<(b[g+(d*3|0)+2>>0]|0):0){d=-1;return d|0}a=b[g+(d*3|0)+1>>0]|0;e=b[g+(c*3|0)+1>>0]|0;if(a<<24>>24>=e<<24>>24){if(a<<24>>24>e<<24>>24){d=0;return d|0}if((b[g+(d*3|0)+2>>0]|0)>=(b[g+(c*3|0)+2>>0]|0)){d=0;return d|0}}}d=1;return d|0}function YS(a){a=a|0;return 3}function ZS(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b*3|0)|0)|0}function _S(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/3|0|0}function $S(a,b){a=a|0;b=b|0;fT(a+76|0,b);return}function aT(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;b[g>>0]=0;b[g+1>>0]=0;b[g+2>>0]=0;h=a+76|0;d=a+80|0;e=f[h>>2]|0;a=((f[d>>2]|0)-e|0)/3|0;if(a>>>0>>0){eT(h,c-a|0,g);u=i;return}if(a>>>0<=c>>>0){u=i;return}f[d>>2]=e+(c*3|0);u=i;return}function bT(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;g=p;f[g>>2]=320132;i=g+4|0;j=a+76|0;f[i>>2]=0;k=g+8|0;f[k>>2]=0;l=g+12|0;f[l>>2]=0;m=a+80|0;n=f[m>>2]|0;o=f[j>>2]|0;e=n-o|0;b=(e|0)/3|0;h=o;if(e){if(b>>>0>1431655765)DCb(i);c=EBb(e)|0;f[k>>2]=c;f[i>>2]=c;b=c+(b*3|0)|0;f[l>>2]=b;d=c;if((e|0)>0){YDb(c|0,h|0,e|0)|0;c=c+(((e>>>0)/3|0)*3|0)|0;f[k>>2]=c;e=d}else{e=d;c=d}}else{e=0;c=0;b=0}f[i>>2]=o;f[j>>2]=e;f[k>>2]=n;f[m>>2]=c;n=a+84|0;f[l>>2]=f[n>>2];f[n>>2]=b;f[g>>2]=320132;if(!o){u=p;return}f[k>>2]=o;GBb(h);u=p;return}function cT(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320132;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function dT(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320132;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function eT(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=a+8|0;h=f[l>>2]|0;m=a+4|0;e=f[m>>2]|0;if(((h-e|0)/3|0)>>>0>=c>>>0){do{b[e>>0]=b[d>>0]|0;b[e+1>>0]=b[d+1>>0]|0;b[e+2>>0]=b[d+2>>0]|0;e=(f[m>>2]|0)+3|0;f[m>>2]=e;c=c+-1|0}while((c|0)!=0);return}g=f[a>>2]|0;i=(e-g|0)/3|0;k=i+c|0;if(k>>>0>1431655765)DCb(a);j=(h-g|0)/3|0;e=j<<1;e=j>>>0<715827882?(e>>>0>>0?k:e):1431655765;do if(e)if(e>>>0>1431655765){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e*3|0)|0;break}else j=0;while(0);h=j+(i*3|0)|0;i=j+(e*3|0)|0;e=h;while(1){b[e>>0]=b[d>>0]|0;b[e+1>>0]=b[d+1>>0]|0;b[e+2>>0]=b[d+2>>0]|0;c=c+-1|0;if(!c)break;else e=e+3|0}c=f[a>>2]|0;g=(f[m>>2]|0)-c|0;e=h+(((g|0)/-3|0)*3|0)|0;if((g|0)>0)YDb(e|0,c|0,g|0)|0;f[a>>2]=e;f[m>>2]=j+(k*3|0);f[l>>2]=i;if(!c)return;GBb(c);return}function fT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;g=a+8|0;i=f[a>>2]|0;j=i;if((((f[g>>2]|0)-i|0)/3|0)>>>0>=b>>>0)return;k=a+4|0;if(b>>>0>1431655765){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}c=(f[k>>2]|0)-i|0;d=EBb(b*3|0)|0;e=d+(((c|0)/3|0)*3|0)|0;h=e+(((c|0)/-3|0)*3|0)|0;if((c|0)>0)YDb(h|0,j|0,c|0)|0;f[a>>2]=h;f[k>>2]=e;f[g>>2]=d+(b*3|0);if(!i)return;GBb(j);return}function gT(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=320132;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=(d|0)/3|0;if(!d){f[a>>2]=320148;f[k>>2]=320388;return}if(c>>>0>1431655765)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c*3|0);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=320148;f[k>>2]=320388;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/3|0)*3|0);f[a>>2]=320148;f[k>>2]=320388;return}function hT(a){a=a|0;var b=0;f[a>>2]=320132;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function iT(a){a=a|0;var b=0;f[a>>2]=320132;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function jT(a){a=a|0;var b=0;f[a+72>>2]=320404;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function kT(a){a=a|0;var b=0;f[a+72>>2]=320404;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function lT(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=9;f[a+56>>2]=2;f[a+60>>2]=5120;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=320420;f[a+72>>2]=320660;return a|0}function mT(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;ET(c,a,b);return c|0}function nT(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function oT(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function pT(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+44>>2]&1023](b,a);return}function qT(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+44>>2]&1023](b,a);return}function rT(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+40>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function sT(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+40>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function tT(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;a=f[a+76>>2]|0;e=b[a+(c<<1)>>0]|0;g=b[a+(d<<1)>>0]|0;if(e<<24>>24>24){d=-1;return d|0}if(e<<24>>24<=g<<24>>24){if((b[a+(c<<1)+1>>0]|0)<(b[a+(d<<1)+1>>0]|0)){d=-1;return d|0}if((b[a+(d<<1)+1>>0]|0)>=(b[a+(c<<1)+1>>0]|0)){d=0;return d|0}}d=1;return d|0}function uT(a){a=a|0;return 2}function vT(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<1)|0)|0}function wT(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>1|0}function xT(a,b){a=a|0;b=b|0;DT(a+76|0,b);return}function yT(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;b[g>>0]=0;b[g+1>>0]=0;h=a+76|0;a=a+80|0;d=f[h>>2]|0;e=(f[a>>2]|0)-d>>1;if(e>>>0>>0){CT(h,c-e|0,g);u=i;return}if(e>>>0<=c>>>0){u=i;return}f[a>>2]=d+(c<<1);u=i;return}function zT(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=u;u=u+16|0;b=q;f[b>>2]=320404;e=b+4|0;j=a+76|0;f[e>>2]=0;k=b+8|0;f[k>>2]=0;l=b+12|0;f[l>>2]=0;m=a+80|0;n=f[m>>2]|0;o=f[j>>2]|0;p=n-o|0;c=p>>1;d=o;do if(p)if((p|0)<0)DCb(e);else{g=EBb(p)|0;f[e>>2]=g;i=g+(c<<1)|0;f[l>>2]=i;h=g+(p>>>1<<1)|0;YDb(g|0,d|0,p|0)|0;f[k>>2]=h;break}else{g=0;h=0;i=0}while(0);f[e>>2]=o;f[j>>2]=g;f[k>>2]=n;f[m>>2]=h;p=a+84|0;f[l>>2]=f[p>>2];f[p>>2]=i;f[b>>2]=320404;if(!o){u=q;return}f[k>>2]=o;GBb(d);u=q;return}function AT(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320404;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function BT(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320404;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function CT(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;i=f[m>>2]|0;n=a+4|0;e=f[n>>2]|0;if(i-e>>1>>>0>=c>>>0){do{m=h[d>>0]|h[d+1>>0]<<8;b[e>>0]=m;b[e+1>>0]=m>>8;e=(f[n>>2]|0)+2|0;f[n>>2]=e;c=c+-1|0}while((c|0)!=0);return}g=f[a>>2]|0;j=e-g>>1;l=j+c|0;if((l|0)<0)DCb(a);e=i-g|0;e=e>>1>>>0<1073741823?(e>>>0>>0?l:e):2147483647;do if(e)if((e|0)<0){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{k=EBb(e<<1)|0;break}else k=0;while(0);i=k+(j<<1)|0;j=k+(e<<1)|0;e=i;while(1){g=h[d>>0]|h[d+1>>0]<<8;b[e>>0]=g;b[e+1>>0]=g>>8;c=c+-1|0;if(!c)break;else e=e+2|0}c=f[a>>2]|0;g=(f[n>>2]|0)-c|0;e=i+(0-(g>>1)<<1)|0;if((g|0)>0)YDb(e|0,c|0,g|0)|0;f[a>>2]=e;f[n>>2]=k+(l<<1);f[m>>2]=j;if(!c)return;GBb(c);return}function DT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=a+8|0;g=f[a>>2]|0;h=g;if((f[e>>2]|0)-g>>1>>>0>=b>>>0)return;i=a+4|0;if((b|0)<0){i=ab(8)|0;KBb(i,410101);f[i>>2]=362060;eb(i|0,302144,1464)}c=(f[i>>2]|0)-g|0;d=EBb(b<<1)|0;if((c|0)>0)YDb(d|0,h|0,c|0)|0;f[a>>2]=d;f[i>>2]=d+(c>>1<<1);f[e>>2]=d+(b<<1);if(!g)return;GBb(h);return}function ET(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=320404;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;if(!d){f[a>>2]=320420;f[k>>2]=320660;return}if((d|0)<0)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(d>>1<<1);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=320420;f[k>>2]=320660;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>1<<1);f[a>>2]=320420;f[k>>2]=320660;return}function FT(a){a=a|0;var b=0;f[a>>2]=320404;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function GT(a){a=a|0;var b=0;f[a>>2]=320404;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function HT(a){a=a|0;var b=0;f[a+72>>2]=320676;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function IT(a){a=a|0;var b=0;f[a+72>>2]=320676;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function JT(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=8;f[a+56>>2]=1;f[a+60>>2]=5130;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=320692;f[a+72>>2]=320932;return a|0}function KT(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;aU(c,a,b);return c|0}function LT(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function MT(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function NT(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+40>>2]&1023](b,a);return}function OT(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+40>>2]&1023](b,a);return}function PT(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+36>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function QT(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+36>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function RT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;a=f[a+76>>2]|0;d=+p[a+(b<<3)>>3];e=+p[a+(c<<3)>>3];return (d>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<3)|0)|0}function UT(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>3|0}function VT(a,b){a=a|0;b=b|0;$T(a+76|0,b);return}function WT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;p[e>>3]=0.0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>3;if(d>>>0>>0){_T(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<3);u=h;return}function XT(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=320676;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>3;if(e){if(b>>>0>536870911)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<3)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>3<<3)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=320676;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function YT(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320676;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function ZT(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320676;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function _T(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;g=d;if(e-d>>3>>>0>=b>>>0){d=b;e=g;while(1){p[e>>3]=+p[c>>3];d=d+-1|0;if(!d)break;else e=e+8|0}f[n>>2]=g+(b<<3);return}l=f[a>>2]|0;k=d-l|0;g=k>>3;d=g+b|0;if(d>>>0>536870911)DCb(a);i=e-l|0;j=i>>2;d=i>>3>>>0<268435455?(j>>>0>>0?d:j):536870911;do if(d)if(d>>>0>536870911){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{j=EBb(d<<3)|0;i=j;break}else{i=0;j=0}while(0);h=i+(g<<3)|0;e=i+(d<<3)|0;d=b;g=h;while(1){p[g>>3]=+p[c>>3];d=d+-1|0;if(!d)break;else g=g+8|0}if((k|0)>0)YDb(j|0,l|0,k|0)|0;f[a>>2]=i;f[n>>2]=h+(b<<3);f[m>>2]=e;if(!l)return;GBb(l);return}function $T(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>3>>>0>=b>>>0)return;h=a+4|0;if(b>>>0>536870911){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<3)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>3<<3);f[e>>2]=d+(b<<3);if(!g)return;GBb(g);return}function aU(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=320676;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>3;if(!d){f[a>>2]=320692;f[k>>2]=320932;return}if(c>>>0>536870911)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<3);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=320692;f[k>>2]=320932;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>3<<3);f[a>>2]=320692;f[k>>2]=320932;return}function bU(a){a=a|0;var b=0;f[a>>2]=320676;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function cU(a){a=a|0;var b=0;f[a>>2]=320676;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function dU(a){a=a|0;var b=0;f[a+72>>2]=320948;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function eU(a){a=a|0;var b=0;f[a+72>>2]=320948;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function fU(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=7;f[a+56>>2]=1;f[a+60>>2]=5126;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=320964;f[a+72>>2]=321204;return a|0}function gU(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;yU(c,a,b);return c|0}function hU(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function iU(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function jU(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+36>>2]&1023](b,a);return}function kU(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+36>>2]&1023](b,a);return}function lU(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+32>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function mU(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+32>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function nU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;a=f[a+76>>2]|0;d=+n[a+(b<<2)>>2];e=+n[a+(c<<2)>>2];return (d>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<2)|0)|0}function qU(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>2|0}function rU(a,b){a=a|0;b=b|0;xU(a+76|0,b);return}function sU(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;n[e>>2]=0.0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>2;if(d>>>0>>0){wU(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<2);u=h;return}function tU(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=320948;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>2;if(e){if(b>>>0>1073741823)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<2)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>2<<2)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=320948;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function uU(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320948;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function vU(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=320948;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function wU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;g=d;if(e-d>>2>>>0>=b>>>0){d=b;e=g;while(1){f[e>>2]=f[c>>2];d=d+-1|0;if(!d)break;else e=e+4|0}f[n>>2]=g+(b<<2);return}l=f[a>>2]|0;k=d-l|0;g=k>>2;d=g+b|0;if(d>>>0>1073741823)DCb(a);i=e-l|0;j=i>>1;d=i>>2>>>0<536870911?(j>>>0>>0?d:j):1073741823;do if(d)if(d>>>0>1073741823){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{j=EBb(d<<2)|0;i=j;break}else{i=0;j=0}while(0);h=i+(g<<2)|0;e=i+(d<<2)|0;d=b;g=h;while(1){f[g>>2]=f[c>>2];d=d+-1|0;if(!d)break;else g=g+4|0}if((k|0)>0)YDb(j|0,l|0,k|0)|0;f[a>>2]=i;f[n>>2]=h+(b<<2);f[m>>2]=e;if(!l)return;GBb(l);return}function xU(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>2>>>0>=b>>>0)return;h=a+4|0;if(b>>>0>1073741823){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<2)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>2<<2);f[e>>2]=d+(b<<2);if(!g)return;GBb(g);return}function yU(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=349568;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;k=a+72|0;f[k>>2]=320948;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){f[a>>2]=320964;f[k>>2]=321204;return}if(c>>>0>1073741823)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<2);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=320964;f[k>>2]=321204;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>2<<2);f[a>>2]=320964;f[k>>2]=321204;return}function zU(a){a=a|0;var b=0;f[a>>2]=320948;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function AU(a){a=a|0;var b=0;f[a>>2]=320948;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function BU(a){a=a|0;var b=0;f[a+72>>2]=321464;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function CU(a){a=a|0;var b=0;f[a+72>>2]=321464;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function DU(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=6;f[a+56>>2]=1;f[a+60>>2]=5125;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=321480;f[a+72>>2]=321724;return a|0}function EU(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;WU(c,a,b);return c|0}function FU(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,285152,0)|0)!=0;return b|0}function GU(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function HU(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function IU(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+32>>2]&1023](b,a);return}function JU(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+32>>2]&1023](b,a);return}function KU(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+28>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function LU(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+28>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function MU(a,b,c){a=a|0;b=b|0;c=c|0;a=f[a+76>>2]|0;b=f[a+(b<<2)>>2]|0;c=f[a+(c<<2)>>2]|0;return (b>>>0>>0?-1:c>>>0>>0&1)|0}function NU(a){a=a|0;return 4}function OU(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<2)|0)|0}function PU(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>2|0}function QU(a,b){a=a|0;b=b|0;zM(a+76|0,b);return}function RU(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;f[e>>2]=0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>2;if(d>>>0>>0){VO(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<2);u=h;return}function SU(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=321464;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>2;if(e){if(b>>>0>1073741823)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<2)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>2<<2)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=321464;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function TU(a,b){a=a|0;b=b|0;return f[(f[a+76>>2]|0)+(b<<2)>>2]|0}function UU(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=321464;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function VU(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=321464;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function WU(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;f[a>>2]=321220;k=a+72|0;f[k>>2]=321464;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){f[a>>2]=321480;f[k>>2]=321724;return}if(c>>>0>1073741823)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<2);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=321480;f[k>>2]=321724;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>2<<2);f[a>>2]=321480;f[k>>2]=321724;return}function XU(a){a=a|0;var b=0;f[a>>2]=321464;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function YU(a){a=a|0;var b=0;f[a>>2]=321464;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function ZU(a){a=a|0;mi()}function _U(a){a=a|0;return}function $U(a){a=a|0;var b=0;f[a+72>>2]=321740;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function aV(a){a=a|0;var b=0;f[a+72>>2]=321740;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function bV(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=5;f[a+56>>2]=1;f[a+60>>2]=5123;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=321756;f[a+72>>2]=322e3;return a|0}function cV(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;vV(c,a,b);return c|0}function dV(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function eV(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function fV(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+28>>2]&1023](b,a);return}function gV(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+28>>2]&1023](b,a);return}function hV(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+20>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function iV(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+20>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function jV(a,b,c){a=a|0;b=b|0;c=c|0;a=f[a+76>>2]|0;b=d[a+(b<<1)>>1]|0;c=d[a+(c<<1)>>1]|0;return ((b&65535)<(c&65535)?-1:(c&65535)<(b&65535)&1)|0}function kV(a){a=a|0;return 2}function lV(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<1)|0)|0}function mV(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>1|0}function nV(a,b){a=a|0;b=b|0;uV(a+76|0,b);return}function oV(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;d[g>>1]=0;h=a+76|0;a=a+80|0;c=f[h>>2]|0;e=(f[a>>2]|0)-c>>1;if(e>>>0>>0){tV(h,b-e|0,g);u=i;return}if(e>>>0<=b>>>0){u=i;return}f[a>>2]=c+(b<<1);u=i;return}function pV(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;b=p;f[b>>2]=321740;d=b+4|0;i=a+76|0;f[d>>2]=0;j=b+8|0;f[j>>2]=0;k=b+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;o=m-n|0;c=o>>1;do if(o)if((o|0)<0)DCb(d);else{e=EBb(o)|0;f[d>>2]=e;h=e+(c<<1)|0;f[k>>2]=h;g=e+(o>>>1<<1)|0;YDb(e|0,n|0,o|0)|0;f[j>>2]=g;break}else{e=0;g=0;h=0}while(0);f[d>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=g;o=a+84|0;f[k>>2]=f[o>>2];f[o>>2]=h;f[b>>2]=321740;if(!n){u=p;return}f[j>>2]=n;GBb(n);u=p;return}function qV(a,b){a=a|0;b=b|0;return j[(f[a+76>>2]|0)+(b<<1)>>1]|0|0}function rV(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=321740;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function sV(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=321740;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function tV(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=a+8|0;g=f[n>>2]|0;o=a+4|0;e=f[o>>2]|0;h=e;if(g-e>>1>>>0>=b>>>0){e=b;g=h;while(1){d[g>>1]=d[c>>1]|0;e=e+-1|0;if(!e)break;else g=g+2|0}f[o>>2]=h+(b<<1);return}m=f[a>>2]|0;l=e-m|0;h=l>>1;e=h+b|0;if((e|0)<0)DCb(a);k=g-m|0;e=k>>1>>>0<1073741823?(k>>>0>>0?e:k):2147483647;do if(e)if((e|0)<0){o=ab(8)|0;KBb(o,410101);f[o>>2]=362060;eb(o|0,302144,1464)}else{k=EBb(e<<1)|0;j=k;break}else{j=0;k=0}while(0);i=j+(h<<1)|0;g=j+(e<<1)|0;e=b;h=i;while(1){d[h>>1]=d[c>>1]|0;e=e+-1|0;if(!e)break;else h=h+2|0}if((l|0)>0)YDb(k|0,m|0,l|0)|0;f[a>>2]=j;f[o>>2]=i+(b<<1);f[n>>2]=g;if(!m)return;GBb(m);return}function uV(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>1>>>0>=b>>>0)return;h=a+4|0;if((b|0)<0){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<1)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>1<<1);f[e>>2]=d+(b<<1);if(!g)return;GBb(g);return}function vV(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;f[a>>2]=321220;k=a+72|0;f[k>>2]=321740;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;if(!d){f[a>>2]=321756;f[k>>2]=322e3;return}if((d|0)<0)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(d>>1<<1);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=321756;f[k>>2]=322e3;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>1<<1);f[a>>2]=321756;f[k>>2]=322e3;return}function wV(a){a=a|0;var b=0;f[a>>2]=321740;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function xV(a){a=a|0;var b=0;f[a>>2]=321740;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function yV(a){a=a|0;var b=0;f[a+72>>2]=322016;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function zV(a){a=a|0;var b=0;f[a+72>>2]=322016;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function AV(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=4;f[a+56>>2]=1;f[a+60>>2]=5121;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=322032;f[a+72>>2]=322276;return a|0}function BV(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;TV(c,a,b);return c|0}function CV(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function DV(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function EV(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+24>>2]&1023](b,a);return}function FV(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+24>>2]&1023](b,a);return}function GV(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+24>>2]&1023](c,(f[a+76>>2]|0)+b|0);return}function HV(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+24>>2]&1023](c,(f[a+76>>2]|0)+b|0);return}function IV(a,c,d){a=a|0;c=c|0;d=d|0;a=f[a+76>>2]|0;c=b[a+c>>0]|0;d=b[a+d>>0]|0;return ((c&255)<(d&255)?-1:(d&255)<(c&255)&1)|0}function JV(a){a=a|0;return 1}function KV(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+b|0)|0}function LV(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function MV(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=a+76|0;g=a+84|0;h=f[e>>2]|0;i=h;if(((f[g>>2]|0)-h|0)>>>0>=b>>>0)return;d=a+80|0;a=(f[d>>2]|0)-h|0;c=EBb(b)|0;if((a|0)>0)YDb(c|0,i|0,a|0)|0;f[e>>2]=c;f[d>>2]=c+a;f[g>>2]=c+b;if(!h)return;GBb(i);return}function NV(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;b[g>>0]=0;h=a+76|0;a=a+80|0;d=f[h>>2]|0;e=(f[a>>2]|0)-d|0;if(e>>>0>>0){SV(h,c-e|0,g);u=i;return}if(e>>>0<=c>>>0){u=i;return}f[a>>2]=d+c;u=i;return}function OV(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;b=o;f[b>>2]=322016;g=b+4|0;h=a+76|0;f[g>>2]=0;i=b+8|0;f[i>>2]=0;j=b+12|0;f[j>>2]=0;k=a+80|0;l=f[k>>2]|0;m=f[h>>2]|0;n=l-m|0;c=m;do if(n)if((n|0)<0)DCb(g);else{d=EBb(n)|0;f[g>>2]=d;e=d+n|0;f[j>>2]=e;YDb(d|0,c|0,n|0)|0;f[i>>2]=e;break}else{d=0;e=0}while(0);f[g>>2]=m;f[h>>2]=d;f[i>>2]=l;f[k>>2]=e;n=a+84|0;f[j>>2]=f[n>>2];f[n>>2]=e;f[b>>2]=322016;if(!m){u=o;return}f[i>>2]=m;GBb(c);u=o;return}function PV(a,b){a=a|0;b=b|0;return h[(f[a+76>>2]|0)+b>>0]|0|0}function QV(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322016;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function RV(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322016;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function SV(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;h=f[m>>2]|0;n=a+4|0;e=f[n>>2]|0;if((h-e|0)>>>0>=c>>>0){do{b[e>>0]=b[d>>0]|0;e=(f[n>>2]|0)+1|0;f[n>>2]=e;c=c+-1|0}while((c|0)!=0);return}j=f[a>>2]|0;i=e-j|0;g=i+c|0;if((g|0)<0)DCb(a);k=h-j|0;l=k<<1;g=k>>>0<1073741823?(l>>>0>>0?g:l):2147483647;if(!g)l=0;else l=EBb(g)|0;i=l+i|0;k=l+g|0;h=e+c-j|0;e=i;while(1){b[e>>0]=b[d>>0]|0;c=c+-1|0;if(!c)break;else e=e+1|0}c=f[a>>2]|0;g=(f[n>>2]|0)-c|0;e=i+(0-g)|0;if((g|0)>0)YDb(e|0,c|0,g|0)|0;f[a>>2]=e;f[n>>2]=l+h;f[m>>2]=k;if(!c)return;GBb(c);return}function TV(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;f[a>>2]=321220;k=a+72|0;f[k>>2]=322016;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;if(!d){f[a>>2]=322032;f[k>>2]=322276;return}if((d|0)<0)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+d;c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=322032;f[k>>2]=322276;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+d;f[a>>2]=322032;f[k>>2]=322276;return}function UV(a){a=a|0;var b=0;f[a>>2]=322016;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function VV(a){a=a|0;var b=0;f[a>>2]=322016;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function WV(a){a=a|0;var b=0;f[a+72>>2]=322292;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function XV(a){a=a|0;var b=0;f[a+72>>2]=322292;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function YV(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=3;f[a+56>>2]=1;f[a+60>>2]=5124;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=322308;f[a+72>>2]=322552;return a|0}function ZV(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;qW(c,a,b);return c|0}function _V(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function $V(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function aW(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+20>>2]&1023](b,a);return}function bW(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+20>>2]&1023](b,a);return}function cW(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function dW(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function eW(a,b,c){a=a|0;b=b|0;c=c|0;a=f[a+76>>2]|0;b=f[a+(b<<2)>>2]|0;c=f[a+(c<<2)>>2]|0;return ((b|0)<(c|0)?-1:(c|0)<(b|0)&1)|0}function fW(a){a=a|0;return 4}function gW(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<2)|0)|0}function hW(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>2|0}function iW(a,b){a=a|0;b=b|0;pW(a+76|0,b);return}function jW(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;f[e>>2]=0;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>2;if(d>>>0>>0){oW(g,b-d|0,e);u=h;return}if(d>>>0<=b>>>0){u=h;return}f[a>>2]=c+(b<<2);u=h;return}function kW(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;g=o;f[g>>2]=322292;h=g+4|0;i=a+76|0;f[h>>2]=0;j=g+8|0;f[j>>2]=0;k=g+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;e=m-n|0;b=e>>2;if(e){if(b>>>0>1073741823)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b<<2)|0;f[k>>2]=b;d=c;if((e|0)>0){p=c+(e>>>2<<2)|0;YDb(c|0,n|0,e|0)|0;f[j>>2]=p;e=d;c=p}else{e=d;c=d}}else{e=0;c=0;b=0}f[h>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=c;p=a+84|0;f[k>>2]=f[p>>2];f[p>>2]=b;f[g>>2]=322292;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function lW(a,b){a=a|0;b=b|0;return f[(f[a+76>>2]|0)+(b<<2)>>2]|0}function mW(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322292;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function nW(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322292;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function oW(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;g=d;if(e-d>>2>>>0>=b>>>0){d=b;e=g;while(1){f[e>>2]=f[c>>2];d=d+-1|0;if(!d)break;else e=e+4|0}f[n>>2]=g+(b<<2);return}l=f[a>>2]|0;k=d-l|0;g=k>>2;d=g+b|0;if(d>>>0>1073741823)DCb(a);i=e-l|0;j=i>>1;d=i>>2>>>0<536870911?(j>>>0>>0?d:j):1073741823;do if(d)if(d>>>0>1073741823){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{j=EBb(d<<2)|0;i=j;break}else{i=0;j=0}while(0);h=i+(g<<2)|0;e=i+(d<<2)|0;d=b;g=h;while(1){f[g>>2]=f[c>>2];d=d+-1|0;if(!d)break;else g=g+4|0}if((k|0)>0)YDb(j|0,l|0,k|0)|0;f[a>>2]=i;f[n>>2]=h+(b<<2);f[m>>2]=e;if(!l)return;GBb(l);return}function pW(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>2>>>0>=b>>>0)return;h=a+4|0;if(b>>>0>1073741823){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<2)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>2<<2);f[e>>2]=d+(b<<2);if(!g)return;GBb(g);return}function qW(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;f[a>>2]=321220;k=a+72|0;f[k>>2]=322292;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){f[a>>2]=322308;f[k>>2]=322552;return}if(c>>>0>1073741823)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c<<2);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=322308;f[k>>2]=322552;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>2<<2);f[a>>2]=322308;f[k>>2]=322552;return}function rW(a){a=a|0;var b=0;f[a>>2]=322292;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function sW(a){a=a|0;var b=0;f[a>>2]=322292;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function tW(a){a=a|0;var b=0;f[a+72>>2]=322568;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function uW(a){a=a|0;var b=0;f[a+72>>2]=322568;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function vW(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=2;f[a+56>>2]=1;f[a+60>>2]=5122;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=322584;f[a+72>>2]=322828;return a|0}function wW(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;PW(c,a,b);return c|0}function xW(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function yW(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function zW(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+16>>2]&1023](b,a);return}function AW(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+16>>2]&1023](b,a);return}function BW(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function CW(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function DW(a,b,c){a=a|0;b=b|0;c=c|0;a=f[a+76>>2]|0;b=d[a+(b<<1)>>1]|0;c=d[a+(c<<1)>>1]|0;return (b<<16>>16>16?-1:c<<16>>16>16&1)|0}function EW(a){a=a|0;return 2}function FW(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+(b<<1)|0)|0}function GW(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>1|0}function HW(a,b){a=a|0;b=b|0;OW(a+76|0,b);return}function IW(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;d[g>>1]=0;h=a+76|0;a=a+80|0;c=f[h>>2]|0;e=(f[a>>2]|0)-c>>1;if(e>>>0>>0){NW(h,b-e|0,g);u=i;return}if(e>>>0<=b>>>0){u=i;return}f[a>>2]=c+(b<<1);u=i;return}function JW(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;b=p;f[b>>2]=322568;d=b+4|0;i=a+76|0;f[d>>2]=0;j=b+8|0;f[j>>2]=0;k=b+12|0;f[k>>2]=0;l=a+80|0;m=f[l>>2]|0;n=f[i>>2]|0;o=m-n|0;c=o>>1;do if(o)if((o|0)<0)DCb(d);else{e=EBb(o)|0;f[d>>2]=e;h=e+(c<<1)|0;f[k>>2]=h;g=e+(o>>>1<<1)|0;YDb(e|0,n|0,o|0)|0;f[j>>2]=g;break}else{e=0;g=0;h=0}while(0);f[d>>2]=n;f[i>>2]=e;f[j>>2]=m;f[l>>2]=g;o=a+84|0;f[k>>2]=f[o>>2];f[o>>2]=h;f[b>>2]=322568;if(!n){u=p;return}f[j>>2]=n;GBb(n);u=p;return}function KW(a,b){a=a|0;b=b|0;return d[(f[a+76>>2]|0)+(b<<1)>>1]|0}function LW(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322568;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function MW(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322568;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function NW(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=a+8|0;g=f[n>>2]|0;o=a+4|0;e=f[o>>2]|0;h=e;if(g-e>>1>>>0>=b>>>0){e=b;g=h;while(1){d[g>>1]=d[c>>1]|0;e=e+-1|0;if(!e)break;else g=g+2|0}f[o>>2]=h+(b<<1);return}m=f[a>>2]|0;l=e-m|0;h=l>>1;e=h+b|0;if((e|0)<0)DCb(a);k=g-m|0;e=k>>1>>>0<1073741823?(k>>>0>>0?e:k):2147483647;do if(e)if((e|0)<0){o=ab(8)|0;KBb(o,410101);f[o>>2]=362060;eb(o|0,302144,1464)}else{k=EBb(e<<1)|0;j=k;break}else{j=0;k=0}while(0);i=j+(h<<1)|0;g=j+(e<<1)|0;e=b;h=i;while(1){d[h>>1]=d[c>>1]|0;e=e+-1|0;if(!e)break;else h=h+2|0}if((l|0)>0)YDb(k|0,m|0,l|0)|0;f[a>>2]=j;f[o>>2]=i+(b<<1);f[n>>2]=g;if(!m)return;GBb(m);return}function OW(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+8|0;g=f[a>>2]|0;if((f[e>>2]|0)-g>>1>>>0>=b>>>0)return;h=a+4|0;if((b|0)<0){h=ab(8)|0;KBb(h,410101);f[h>>2]=362060;eb(h|0,302144,1464)}c=(f[h>>2]|0)-g|0;d=EBb(b<<1)|0;if((c|0)>0)YDb(d|0,g|0,c|0)|0;f[a>>2]=d;f[h>>2]=d+(c>>1<<1);f[e>>2]=d+(b<<1);if(!g)return;GBb(g);return}function PW(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;f[a>>2]=321220;k=a+72|0;f[k>>2]=322568;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;if(!d){f[a>>2]=322584;f[k>>2]=322828;return}if((d|0)<0)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(d>>1<<1);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=322584;f[k>>2]=322828;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>1<<1);f[a>>2]=322584;f[k>>2]=322828;return}function QW(a){a=a|0;var b=0;f[a>>2]=322568;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function RW(a){a=a|0;var b=0;f[a>>2]=322568;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function SW(a){a=a|0;var b=0;f[a+72>>2]=322844;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function TW(a){a=a|0;var b=0;f[a+72>>2]=322844;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function UW(a){a=a|0;var c=0;a=EBb(88)|0;v_a(a,1);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[a+52>>2]=1;f[a+56>>2]=1;f[a+60>>2]=5120;f[a+64>>2]=-1;b[a+68>>0]=0;b[a+69>>0]=0;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;f[a>>2]=322860;f[a+72>>2]=323104;return a|0}function VW(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;lX(c,a,b);return c|0}function WW(a){a=a|0;var b=0;b=f[a+76>>2]|0;return ((b|0)==(f[a+80>>2]|0)?0:b)|0}function XW(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function YW(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+12>>2]&1023](b,a);return}function ZW(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+12>>2]&1023](b,a);return}function _W(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+8>>2]&1023](c,(f[a+76>>2]|0)+b|0);return}function $W(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+8>>2]&1023](c,(f[a+76>>2]|0)+b|0);return}function aX(a,c,d){a=a|0;c=c|0;d=d|0;a=f[a+76>>2]|0;c=b[a+c>>0]|0;d=b[a+d>>0]|0;return (c<<24>>24>24?-1:d<<24>>24>24&1)|0}function bX(a){a=a|0;return 1}function cX(a,b){a=a|0;b=b|0;var c=0;c=f[a+76>>2]|0;return ((c|0)==(f[a+80>>2]|0)?0:c+b|0)|0}function dX(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function eX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=a+76|0;g=a+84|0;h=f[e>>2]|0;i=h;if(((f[g>>2]|0)-h|0)>>>0>=b>>>0)return;d=a+80|0;a=(f[d>>2]|0)-h|0;c=EBb(b)|0;if((a|0)>0)YDb(c|0,i|0,a|0)|0;f[e>>2]=c;f[d>>2]=c+a;f[g>>2]=c+b;if(!h)return;GBb(i);return}function fX(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;g=i;b[g>>0]=0;h=a+76|0;a=a+80|0;d=f[h>>2]|0;e=(f[a>>2]|0)-d|0;if(e>>>0>>0){kX(h,c-e|0,g);u=i;return}if(e>>>0<=c>>>0){u=i;return}f[a>>2]=d+c;u=i;return}function gX(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;b=o;f[b>>2]=322844;g=b+4|0;h=a+76|0;f[g>>2]=0;i=b+8|0;f[i>>2]=0;j=b+12|0;f[j>>2]=0;k=a+80|0;l=f[k>>2]|0;m=f[h>>2]|0;n=l-m|0;c=m;do if(n)if((n|0)<0)DCb(g);else{d=EBb(n)|0;f[g>>2]=d;e=d+n|0;f[j>>2]=e;YDb(d|0,c|0,n|0)|0;f[i>>2]=e;break}else{d=0;e=0}while(0);f[g>>2]=m;f[h>>2]=d;f[i>>2]=l;f[k>>2]=e;n=a+84|0;f[j>>2]=f[n>>2];f[n>>2]=e;f[b>>2]=322844;if(!m){u=o;return}f[i>>2]=m;GBb(c);u=o;return}function hX(a,c){a=a|0;c=c|0;return b[(f[a+76>>2]|0)+c>>0]|0}function iX(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322844;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function jX(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=322844;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function kX(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+8|0;h=f[m>>2]|0;n=a+4|0;e=f[n>>2]|0;if((h-e|0)>>>0>=c>>>0){do{b[e>>0]=b[d>>0]|0;e=(f[n>>2]|0)+1|0;f[n>>2]=e;c=c+-1|0}while((c|0)!=0);return}j=f[a>>2]|0;i=e-j|0;g=i+c|0;if((g|0)<0)DCb(a);k=h-j|0;l=k<<1;g=k>>>0<1073741823?(l>>>0>>0?g:l):2147483647;if(!g)l=0;else l=EBb(g)|0;i=l+i|0;k=l+g|0;h=e+c-j|0;e=i;while(1){b[e>>0]=b[d>>0]|0;c=c+-1|0;if(!c)break;else e=e+1|0}c=f[a>>2]|0;g=(f[n>>2]|0)-c|0;e=i+(0-g)|0;if((g|0)>0)YDb(e|0,c|0,g|0)|0;f[a>>2]=e;f[n>>2]=l+h;f[m>>2]=k;if(!c)return;GBb(c);return}function lX(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;Fva(a,c,d);f[a>>2]=339744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[c+44>>2]|0;f[a+44>>2]=d;if(d|0){l=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}f[a+48>>2]=0;f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;b[a+69>>0]=b[c+69>>0]|0;f[a>>2]=321220;k=a+72|0;f[k>>2]=322844;e=a+76|0;g=c+76|0;f[e>>2]=0;l=a+80|0;f[l>>2]=0;h=a+84|0;f[h>>2]=0;i=c+80|0;d=(f[i>>2]|0)-(f[g>>2]|0)|0;if(!d){f[a>>2]=322860;f[k>>2]=323104;return}if((d|0)<0)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+d;c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=322860;f[k>>2]=323104;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+d;f[a>>2]=322860;f[k>>2]=323104;return}function mX(a){a=a|0;var b=0;f[a>>2]=322844;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function nX(a){a=a|0;var b=0;f[a>>2]=322844;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function oX(a,b){a=a|0;b=b|0;if(!b)return;else{oX(a,f[b>>2]|0);oX(a,f[b+4>>2]|0);GBb(b);return}}function pX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function qX(a){a=a|0;mi()}function rX(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298152,0)|0)!=0;return b|0}function sX(a){a=a|0;return 409756}function tX(a){a=a|0;return 384489}function uX(a){a=a|0;return 0}function vX(a){a=a|0;return 0}function wX(a){a=a|0;return 0}function xX(a){a=a|0;return 0}function yX(a){a=a|0;return a|0}function zX(a){a=a|0;return a|0}function AX(a){a=a|0;return 0}function BX(a){a=a|0;return a|0}function CX(a){a=a|0;return a|0}function DX(a){a=a|0;return}function EX(a){a=a|0;return}function FX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=a+8|0;c=f[a>>2]|0;i=c;if((f[l>>2]|0)-c>>2>>>0>=b>>>0)return;m=a+4|0;if(b>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}d=f[m>>2]|0;e=d-c|0;g=EBb(b<<2)|0;h=g+(e>>2<<2)|0;k=h;j=g+(b<<2)|0;if((d|0)!=(i|0)){g=g+(e+-4-(d+-4+(0-c)&-4))|0;c=h;while(1){d=d+-4|0;b=f[d>>2]|0;f[c+-4>>2]=b;if(b|0){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}if((d|0)==(i|0))break;else c=c+-4|0}c=f[a>>2]|0;b=f[m>>2]|0;e=c;f[a>>2]=g;f[m>>2]=k;f[l>>2]=j;if((b|0)!=(e|0))do{b=b+-4|0;d=f[b>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[b>>2]=0}while((b|0)!=(e|0))}else{f[a>>2]=k;f[m>>2]=k;f[l>>2]=j}if(!c)return;GBb(c);return}function GX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function HX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function IX(a,b){a=a|0;b=b|0;return}function JX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=a+4|0;d=f[l>>2]|0;m=f[a>>2]|0;h=d-m>>7;c=h+1|0;j=m;if(c>>>0>33554431)DCb(a);k=a+8|0;i=(f[k>>2]|0)-m|0;e=i>>6;e=i>>7>>>0<16777215?(e>>>0>>0?c:e):33554431;do if(e)if(e>>>0>33554431){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(e<<7)|0;break}else g=0;while(0);c=g+(h<<7)|0;i=g+(e<<7)|0;p[c>>3]=+p[b>>3];p[g+(h<<7)+8>>3]=+p[b+8>>3];p[g+(h<<7)+16>>3]=+p[b+16>>3];p[g+(h<<7)+24>>3]=+p[b+24>>3];p[g+(h<<7)+32>>3]=+p[b+32>>3];p[g+(h<<7)+40>>3]=+p[b+40>>3];p[g+(h<<7)+48>>3]=+p[b+48>>3];p[g+(h<<7)+56>>3]=+p[b+56>>3];p[g+(h<<7)+64>>3]=+p[b+64>>3];p[g+(h<<7)+72>>3]=+p[b+72>>3];p[g+(h<<7)+80>>3]=+p[b+80>>3];p[g+(h<<7)+88>>3]=+p[b+88>>3];p[g+(h<<7)+96>>3]=+p[b+96>>3];p[g+(h<<7)+104>>3]=+p[b+104>>3];p[g+(h<<7)+112>>3]=+p[b+112>>3];p[g+(h<<7)+120>>3]=+p[b+120>>3];b=c+128|0;if((d|0)!=(j|0)){g=d+-128-m|0;e=c;do{h=e;e=e+-128|0;n=d;d=d+-128|0;p[e>>3]=+p[d>>3];p[h+-120>>3]=+p[n+-120>>3];p[h+-112>>3]=+p[n+-112>>3];p[h+-104>>3]=+p[n+-104>>3];p[h+-96>>3]=+p[n+-96>>3];p[h+-88>>3]=+p[n+-88>>3];p[h+-80>>3]=+p[n+-80>>3];p[h+-72>>3]=+p[n+-72>>3];p[h+-64>>3]=+p[n+-64>>3];p[h+-56>>3]=+p[n+-56>>3];p[h+-48>>3]=+p[n+-48>>3];p[h+-40>>3]=+p[n+-40>>3];p[h+-32>>3]=+p[n+-32>>3];p[h+-24>>3]=+p[n+-24>>3];p[h+-16>>3]=+p[n+-16>>3];p[h+-8>>3]=+p[n+-8>>3]}while((d|0)!=(j|0));c=c+(~(g>>>7)<<7)|0}f[a>>2]=c;f[l>>2]=b;f[k>>2]=i;if(!m)return;GBb(m);return}function KX(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=f[c+48>>2]|0;if(d&16|0){d=c+44|0;e=f[d>>2]|0;g=f[c+24>>2]|0;if(e>>>0>>0)f[d>>2]=g;else g=e;d=f[c+20>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;c=g-d|0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11)b[a+11>>0]=c;else{h=c+16&-16;e=EBb(h)|0;f[a>>2]=e;f[a+8>>2]=h|-2147483648;f[a+4>>2]=c;a=e}if((d|0)!=(g|0)){e=a;while(1){b[e>>0]=b[d>>0]|0;d=d+1|0;if((d|0)==(g|0))break;else e=e+1|0}a=a+c|0}b[a>>0]=0;return}if(!(d&8)){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;return}d=f[c+8>>2]|0;g=f[c+16>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;c=g-d|0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11)b[a+11>>0]=c;else{e=c+16&-16;h=EBb(e)|0;f[a>>2]=h;f[a+8>>2]=e|-2147483648;f[a+4>>2]=c;a=h}if((d|0)!=(g|0)){e=a;while(1){b[e>>0]=b[d>>0]|0;d=d+1|0;if((d|0)==(g|0))break;else e=e+1|0}a=a+c|0}b[a>>0]=0;return}function LX(a){a=a|0;var c=0,d=0,e=0;f[a>>2]=323388;c=a+64|0;f[c>>2]=323428;f[a+8>>2]=323408;d=a+12|0;f[d>>2]=304196;e=a+44|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);yrb(a,323440);kqb(c);return}function MX(a){a=a|0;var c=0,d=0,e=0;f[a>>2]=323388;c=a+64|0;f[c>>2]=323428;f[a+8>>2]=323408;d=a+12|0;f[d>>2]=304196;e=a+44|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);yrb(a,323440);kqb(c);GBb(a);return}function NX(a){a=a|0;var c=0,d=0,e=0;a=a+-8|0;f[a>>2]=323388;c=a+64|0;f[c>>2]=323428;f[a+8>>2]=323408;d=a+12|0;f[d>>2]=304196;e=a+44|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);yrb(a,323440);kqb(c);return}function OX(a){a=a|0;var c=0,d=0,e=0;a=a+-8|0;f[a>>2]=323388;c=a+64|0;f[c>>2]=323428;f[a+8>>2]=323408;d=a+12|0;f[d>>2]=304196;e=a+44|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);yrb(a,323440);kqb(c);GBb(a);return}function PX(a){a=a|0;var c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[a>>2]=323388;c=a+64|0;f[c>>2]=323428;f[a+8>>2]=323408;d=a+12|0;f[d>>2]=304196;e=a+44|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);yrb(a,323440);kqb(c);return}function QX(a){a=a|0;var c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[a>>2]=323388;c=a+64|0;f[c>>2]=323428;f[a+8>>2]=323408;d=a+12|0;f[d>>2]=304196;e=a+44|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);yrb(a,323440);kqb(c);GBb(a);return}function RX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+4|0;j=f[a>>2]|0;k=(f[i>>2]|0)-j|0;g=k>>2;c=g+1|0;if(c>>>0>1073741823)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>1;h=e>>2>>>0<536870911?(h>>>0>>0?c:h):1073741823;do if(h)if(h>>>0>1073741823){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<2)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<2)|0;f[c>>2]=f[b>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+4;f[l>>2]=d+(h<<2);if(!j)return;GBb(j);return}function SX(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c-b>>2;j=a+8|0;d=f[j>>2]|0;g=f[a>>2]|0;e=g;if(i>>>0>d-g>>2>>>0){if(g){h=a+4|0;d=f[h>>2]|0;if((d|0)==(e|0))d=g;else{do{d=d+-4|0;g=f[d>>2]|0;if(g|0?(l=g+8|0,k=f[l>>2]|0,f[l>>2]=k-1,(k|0)==1):0)Rua(g,1,1);f[d>>2]=0}while((d|0)!=(e|0));d=f[a>>2]|0}f[h>>2]=e;GBb(d);f[j>>2]=0;f[h>>2]=0;f[a>>2]=0;d=0}if(i>>>0>1073741823)DCb(a);l=d>>1;d=d>>2>>>0<536870911?(l>>>0>>0?i:l):1073741823;if(d>>>0>1073741823)DCb(a);e=EBb(d<<2)|0;g=a+4|0;f[g>>2]=e;f[a>>2]=e;f[j>>2]=e+(d<<2);if((b|0)==(c|0))return;do{d=f[b>>2]|0;f[e>>2]=d;if(d|0){l=d+8|0;f[l>>2]=(f[l>>2]|0)+1}b=b+4|0;e=(f[g>>2]|0)+4|0;f[g>>2]=e}while((b|0)!=(c|0));return}j=a+4|0;d=(f[j>>2]|0)-g>>2;i=i>>>0>d>>>0;d=b+(d<<2)|0;a=i?d:c;if((a|0)==(b|0))b=e;else{do{g=f[e>>2]|0;h=f[b>>2]|0;if((g|0)!=(h|0)){f[e>>2]=h;if(h|0){l=h+8|0;f[l>>2]=(f[l>>2]|0)+1}if(g|0?(k=g+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(g,1,1)}b=b+4|0;e=e+4|0}while((b|0)!=(a|0));b=e}if(i){if((a|0)==(c|0))return;b=f[j>>2]|0;do{e=f[d>>2]|0;f[b>>2]=e;if(e|0){l=e+8|0;f[l>>2]=(f[l>>2]|0)+1}d=d+4|0;b=(f[j>>2]|0)+4|0;f[j>>2]=b}while((d|0)!=(c|0));return}d=f[j>>2]|0;if((d|0)!=(b|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(k=e+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(b|0));f[j>>2]=b;return}function TX(a,b){a=a|0;b=b|0;return}function UX(a,b){a=a|0;b=b|0;return}function VX(a,b){a=a|0;b=b|0;return}function WX(a,b){a=a|0;b=b|0;return}function XX(a,b){a=a|0;b=b|0;return}function YX(a,b){a=a|0;b=b|0;return}function ZX(a,b){a=a|0;b=b|0;return}function _X(a){a=a|0;dDa(a,317372);Gva(a+64|0);return}function $X(a){a=a|0;dDa(a,317372);Gva(a+64|0);GBb(a);return}function aY(a,b){a=a|0;b=b|0;a=f[b+120>>2]|0;if(a|0)tj[f[(f[a>>2]|0)+140>>2]&2047](a);tj[f[(f[b>>2]|0)+140>>2]&2047](b);return}function bY(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+140>>2]&2047](c);switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);return}case 0:return;default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);return}}}function cY(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,317372);Gva(a+64|0);return}function dY(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,317372);Gva(a+64|0);GBb(a);return}function eY(a,b){a=a|0;b=b|0;if(!b)return;else{eY(a,f[b>>2]|0);eY(a,f[b+4>>2]|0);GBb(b);return}}function fY(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0;g=u;u=u+32|0;c=g+12|0;d=g;n[124731]=1.0;n[124732]=0.0;n[124733]=0.0;n[124734]=0.0;n[124735]=1.0;n[124736]=0.0;n[124737]=0.0;n[124738]=0.0;n[124739]=1.0;a=EBb(48)|0;f[c>>2]=a;f[c+8>>2]=-2147483600;f[c+4>>2]=42;e=a;h=384643;i=e+42|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+42>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(96)|0;f[d>>2]=a;f[d+8>>2]=-2147483552;f[d+4>>2]=85;e=a;h=384686;i=e+85|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+85>>0]=0;jZa(iZa()|0,2,c,d);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=EBb(48)|0;f[c>>2]=a;f[c+8>>2]=-2147483600;f[c+4>>2]=46;e=a;h=384772;i=e+46|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+46>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(80)|0;f[d>>2]=a;f[d+8>>2]=-2147483568;f[d+4>>2]=72;e=a;h=384819;i=e+72|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+72>>0]=0;jZa(iZa()|0,2,c,d);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=EBb(48)|0;f[c>>2]=a;f[c+8>>2]=-2147483600;f[c+4>>2]=35;e=a;h=384892;i=e+35|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+35>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(80)|0;f[d>>2]=a;f[d+8>>2]=-2147483568;f[d+4>>2]=73;e=a;h=384928;i=e+73|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+73>>0]=0;jZa(iZa()|0,2,c,d);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=EBb(32)|0;f[c>>2]=a;f[c+8>>2]=-2147483616;f[c+4>>2]=31;e=a;h=385002;i=e+31|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+31>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;i=EBb(496)|0;f[d>>2]=i;f[d+8>>2]=-2147483152;f[d+4>>2]=494;YDb(i|0,385034,494)|0;b[i+494>>0]=0;jZa(iZa()|0,2,c,d);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);jH()|0;a=EBb(48)|0;f[c>>2]=a;f[c+8>>2]=-2147483600;f[c+4>>2]=32;e=a;h=385529;i=e+32|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+32>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(96)|0;f[d>>2]=a;f[d+8>>2]=-2147483552;f[d+4>>2]=90;e=a;h=385562;i=e+90|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+90>>0]=0;jZa(iZa()|0,2,c,d);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[c+11>>0]|0)>=0){u=g;return}GBb(f[c>>2]|0);u=g;return}function gY(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+128|0;rZa(c);f[c>>2]=338032;d=a+140|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[a+152>>2]=2;f[a+156>>2]=0;ZZa(a,314440,0);f[a>>2]=313904;f[c>>2]=314272;c=a+60|0;d=c+36|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));f[a+104>>2]=0;f[a+108>>2]=0;f[a+100>>2]=a+104;f[a+116>>2]=0;f[a+120>>2]=0;f[a+112>>2]=a+116;f[a+124>>2]=0;f[a+16>>2]=2;f[a+56>>2]=b;f[a+96>>2]=2;return}function hY(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+60|0;if(!(f[d>>2]|0))return;Bj[f[(f[b>>2]|0)+212>>2]&1023](b,a);if(f[a+124>>2]|0?(tj[f[(f[(f[d>>2]|0)+832>>2]|0)+176>>2]&2047](0),c=(f[d>>2]|0)+708|0,f[c>>2]|0):0)f[c>>2]=0;if(!(f[a+96>>2]|0))return;TIa(f[d>>2]|0,385653,0)|0;return}function iY(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0;ZZa(a,c+4|0,2);g=f[c>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+12>>2];f[a+60>>2]=0;f[a+64>>2]=0;f[a+56>>2]=a+60;f[a+72>>2]=0;f[a+76>>2]=0;f[a+68>>2]=a+72;f[a+80>>2]=d;f[a+88>>2]=0;f[a+92>>2]=0;f[a+84>>2]=a+88;f[a+100>>2]=0;f[a+104>>2]=0;f[a+96>>2]=a+100;f[a+112>>2]=0;f[a+116>>2]=0;f[a+108>>2]=a+112;b[a+120>>0]=0;f[a+124>>2]=0;f[a+128>>2]=e;if(!e)return;g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;return}function jY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=(b|0)==0;if(!c){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}d=EBb(12)|0;f[d>>2]=0;f[d+8>>2]=b;if(!c){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}f[d+4>>2]=a;e=f[a>>2]|0;f[d>>2]=e;f[e+4>>2]=d;f[a>>2]=d;e=a+8|0;f[e>>2]=(f[e>>2]|0)+1;if(c)return;d=b+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1)return;Rua(b,1,1);return}function kY(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=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;if(!(f[b+8>>2]|0))return;if((f[c+104>>2]|0)==0?(f[c+116>>2]|0)==0:0){if(!(f[c+92>>2]|0))return;if(!(f[c+92>>2]|0))return}d=f[b>>2]|0;m=b+4|0;if((d|0)==(m|0))return;n=a+12|0;o=a+32|0;p=a+36|0;q=a+36|0;r=c+84|0;s=c+88|0;i=a+40|0;j=c+96|0;k=c+100|0;l=c+108|0;h=c+112|0;while(1){f[n>>2]=(f[n>>2]|0)+1;g=d+16|0;b=f[p>>2]|0;do if(b){e=f[g>>2]|0;c=q;while(1){a=f[b+16>>2]|0;if(e>>>0>>0){a=f[b>>2]|0;if(!a){a=12;break}}else{if(a>>>0>=e>>>0){a=16;break}c=b+4|0;a=f[c>>2]|0;if(!a){a=15;break}else b=c}c=b;b=a}if((a|0)==12){e=b;c=b;break}else if((a|0)==15){e=b;break}else if((a|0)==16){e=b;break}}else{e=p;c=p}while(0);b=f[c>>2]|0;if(!b){b=EBb(32)|0;f[b+16>>2]=f[g>>2];a=b+20|0;f[a>>2]=a;f[b+24>>2]=a;f[b+28>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[c>>2]=b;a=f[f[o>>2]>>2]|0;if(!a)a=b;else{f[o>>2]=a;a=f[c>>2]|0}Xo(f[q>>2]|0,a);f[i>>2]=(f[i>>2]|0)+1}e=b+20|0;b=f[r>>2]|0;if((b|0)!=(s|0)){c=b;while(1){b=f[c+16>>2]|0;a=EBb(16)|0;rZa(a);f[a>>2]=315028;f[a+12>>2]=b;if(b|0){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}jY(e,a);b=f[c+4>>2]|0;if(!b){a=c+8|0;b=f[a>>2]|0;if((f[b>>2]|0)!=(c|0))do{g=f[a>>2]|0;a=g+8|0;b=f[a>>2]|0}while((f[b>>2]|0)!=(g|0))}else while(1){a=f[b>>2]|0;if(!a)break;else b=a}if((b|0)==(s|0))break;else c=b}}b=f[j>>2]|0;if((b|0)!=(k|0)){c=b;while(1){b=f[c+16>>2]|0;a=EBb(16)|0;rZa(a);f[a>>2]=315056;f[a+12>>2]=b;if(b|0){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}jY(e,a);b=f[c+4>>2]|0;if(!b){a=c+8|0;b=f[a>>2]|0;if((f[b>>2]|0)!=(c|0))do{g=f[a>>2]|0;a=g+8|0;b=f[a>>2]|0}while((f[b>>2]|0)!=(g|0))}else while(1){a=f[b>>2]|0;if(!a)break;else b=a}if((b|0)==(k|0))break;else c=b}}b=f[l>>2]|0;if((b|0)!=(h|0)){c=b;while(1){b=f[c+16>>2]|0;a=EBb(16)|0;rZa(a);f[a>>2]=315084;f[a+12>>2]=b;if(b|0){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}jY(e,a);b=f[c+4>>2]|0;if(!b){a=c+8|0;b=f[a>>2]|0;if((f[b>>2]|0)!=(c|0))do{g=f[a>>2]|0;a=g+8|0;b=f[a>>2]|0}while((f[b>>2]|0)!=(g|0))}else while(1){a=f[b>>2]|0;if(!a)break;else b=a}if((b|0)==(h|0))break;else c=b}}b=f[d+4>>2]|0;if(!b){a=d+8|0;b=f[a>>2]|0;if((f[b>>2]|0)!=(d|0))do{g=f[a>>2]|0;a=g+8|0;b=f[a>>2]|0}while((f[b>>2]|0)!=(g|0))}else while(1){a=f[b>>2]|0;if(!a)break;else b=a}if((b|0)==(m|0))break;else d=b}return}function lY(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+176|0;h=j;if(!(f[c+8>>2]|0)){u=j;return}i=a+24|0;if(!(f[i>>2]|0)){u=j;return}e=f[a+44>>2]|0;g=h+132|0;rZa(g);f[g>>2]=338032;k=h+144|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[h+156>>2]=2;f[h+160>>2]=0;ZZa(h,315008,2);f[h>>2]=314464;f[g>>2]=314840;f[h+60>>2]=0;f[h+64>>2]=0;f[h+56>>2]=h+60;f[h+72>>2]=0;f[h+76>>2]=0;f[h+68>>2]=h+72;f[h+80>>2]=d;f[h+88>>2]=0;f[h+92>>2]=0;f[h+84>>2]=h+88;f[h+100>>2]=0;f[h+104>>2]=0;f[h+96>>2]=h+100;f[h+112>>2]=0;f[h+116>>2]=0;f[h+108>>2]=h+112;b[h+120>>0]=0;f[h+124>>2]=0;f[h+128>>2]=e;if(e|0){k=e+8|0;f[k>>2]=(f[k>>2]|0)+1}k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+212>>2]&1023](k,h);kY(a,c,h);DK(h,315004);Gva(g);u=j;return}function mY(a){a=a|0;Gva(a);GBb(a);return}function nY(a){a=a|0;var b=0;a=EBb(32)|0;rZa(a);b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=323484;return a|0}function oY(a,b){a=a|0;b=b|0;var c=0;c=EBb(32)|0;Fva(c,a,b);f[c>>2]=323484;return c|0}function pY(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,285536,0)|0)!=0;return b|0}function qY(a){a=a|0;return 409756}function rY(a){a=a|0;return 385702}function sY(a,b){a=a|0;b=b|0;var c=0;c=f[b>>2]|0;b=b+4|0;if((c|0)==(f[b>>2]|0))return;do{tY(a,f[c>>2]|0);c=c+4|0}while((c|0)!=(f[b>>2]|0));return}function tY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=b;h=a+124|0;e=a+128|0;c=f[e>>2]|0;a:do if(c|0){while(1){d=f[c+16>>2]|0;if(d>>>0<=b>>>0){if(d>>>0>=b>>>0)break;c=c+4|0}c=f[c>>2]|0;if(!c)break a}return}while(0);v$a(b,a);c=f[e>>2]|0;do if(c){e=a+128|0;while(1){d=f[c+16>>2]|0;if(d>>>0>b>>>0){d=f[c>>2]|0;if(!d){d=12;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=16;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=15;break}else c=d}}if((d|0)==12){b=c;e=c;break}else if((d|0)==15){b=c;break}else if((d|0)==16){b=c;break}}else b=e;while(0);if(f[e>>2]|0)return;c=EBb(20)|0;f[c+16>>2]=g;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=b;f[e>>2]=c;d=f[f[h>>2]>>2]|0;if(d){f[h>>2]=d;c=f[e>>2]|0}Xo(f[a+128>>2]|0,c);a=a+132|0;f[a>>2]=(f[a>>2]|0)+1;return}function uY(a,b){a=a|0;b=b|0;if(!(f[a+132>>2]|0)){b=0;return b|0}if(f[b+104>>2]|0){b=1;return b|0}if(f[b+116>>2]|0){b=1;return b|0}b=(f[b+92>>2]|0)!=0;return b|0}function vY(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;h=i;if(!b){u=i;return}d=b+44|0;e=f[d>>2]|0;g=f[a+136>>2]|0;if((e|0)!=(g|0)){f[d>>2]=g;if(g|0){g=g+8|0;f[g>>2]=(f[g>>2]|0)+1}if(e|0?(d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1)}d=f[b+24>>2]|0;if(d|0)Hv(d)|0;if(c)lY(b,a+124|0,12);if(qZa(4)|0){c=Nu(_rb(Nu(Nu(jsb(Nu(Hua(4)|0,385734,46)|0,b)|0,414635,2)|0,414635,2)|0,c)|0,409404,1)|0;Drb(h,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);g=utb(h,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(h);ksb(c,g)|0;Krb(c)|0}d=a+76|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;h=b+8|0;f[h>>2]=(f[h>>2]|0)+1;c=a+88|0;g=EBb(12)|0;f[g>>2]=0;f[g+8>>2]=b;f[h>>2]=(f[h>>2]|0)+1;f[g+4>>2]=c;e=f[c>>2]|0;f[g>>2]=e;f[e+4>>2]=g;f[c>>2]=g;a=a+96|0;f[a>>2]=(f[a>>2]|0)+1;a=f[h>>2]|0;f[h>>2]=a-1;if((a|0)==1)Rua(b,1,1);_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;u=i;return}function wY(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=323656;b=a+44|0;c=f[b>>2]|0;if(c|0?(g=c+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(c,1,1);f[b>>2]=0;yY(a+32|0,f[a+36>>2]|0);b=a+28|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+24|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+16|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Uua(a);return}e=c+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){f[b>>2]=0;Uua(a);return}Rua(c,1,1);f[b>>2]=0;Uua(a);return}function xY(a){a=a|0;wY(a);GBb(a);return}function yY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;if(!b)return;yY(a,f[b>>2]|0);yY(a,f[b+4>>2]|0);e=b+20|0;a=b+28|0;if(f[a>>2]|0?(c=f[b+24>>2]|0,d=(f[e>>2]|0)+4|0,g=f[c>>2]|0,f[g+4>>2]=f[d>>2],f[f[d>>2]>>2]=g,f[a>>2]=0,(c|0)!=(e|0)):0){a=c;do{c=a;a=f[a+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(h=d+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(d,1,1);GBb(c)}while((a|0)!=(e|0))}GBb(b);return}function zY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;if(!b)return;i=a+76|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;c=f[a+92>>2]|0;h=a+88|0;d=c;a:do if((h|0)!=(d|0)){g=c;c=d;while(1){d=c+4|0;e=f[d>>2]|0;if((f[g+8>>2]|0)==(b|0))break;c=e;if((h|0)==(c|0))break a;else g=e}b=f[c>>2]|0;f[b+4>>2]=e;f[f[d>>2]>>2]=b;b=a+96|0;f[b>>2]=(f[b>>2]|0)+-1;c=f[c+8>>2]|0;if(c|0?(a=c+8|0,b=f[a>>2]|0,f[a>>2]=b-1,(b|0)==1):0)Rua(c,1,1);GBb(g);_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;return}while(0);_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;i=a+100|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;c=f[a+116>>2]|0;h=a+112|0;d=c;b:do if((h|0)!=(d|0)){g=c;while(1){c=d+4|0;e=f[c>>2]|0;if((f[g+8>>2]|0)==(b|0))break;d=e;if((h|0)==(d|0))break b;else g=e}b=f[d>>2]|0;f[b+4>>2]=e;f[f[c>>2]>>2]=b;c=a+120|0;f[c>>2]=(f[c>>2]|0)+-1;c=f[d+8>>2]|0;if(c|0?(a=c+8|0,b=f[a>>2]|0,f[a>>2]=b-1,(b|0)==1):0)Rua(c,1,1);GBb(g)}while(0);_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;return}function AY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=u;u=u+16|0;e=i;h=a+100|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;if(b|0)f[a+64>>2]=f[b+12>>2];g=a+112|0;d=a+116|0;b=f[d>>2]|0;c=b;if((g|0)!=(c|0))do{b=f[b+8>>2]|0;f[e>>2]=0;if(BY(b+16|0,e)|0){j=f[e>>2]|0;cj[f[(f[j>>2]|0)+228>>2]&1023](j,f[b+24>>2]|0)|0}b=f[e>>2]|0;if(b|0?(k=b+8|0,j=f[k>>2]|0,f[k>>2]=j-1,(j|0)==1):0)Rua(b,1,1);b=f[c+4>>2]|0;c=b}while((g|0)!=(c|0));c=a+120|0;if(!(f[c>>2]|0)){k=f[h>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](h)|0;u=i;return}b=f[d>>2]|0;k=(f[g>>2]|0)+4|0;j=f[b>>2]|0;f[j+4>>2]=f[k>>2];f[f[k>>2]>>2]=j;f[c>>2]=0;if((b|0)==(g|0)){k=f[h>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](h)|0;u=i;return}do{c=b;b=f[b+4>>2]|0;a=f[c+8>>2]|0;if(a|0?(j=a+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(a,1,1);GBb(c)}while((b|0)!=(g|0));k=f[h>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](h)|0;u=i;return}function BY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[a>>2]|0;if(!c){c=f[b>>2]|0;if(!c){b=0;return b|0}f[b>>2]=0;d=c+8|0;b=f[d>>2]|0;f[d>>2]=b-1;if((b|0)!=1){b=0;return b|0}Rua(c,1,1);b=0;return b|0}d=u0a(c)|0;if(!d){c=f[b>>2]|0;if(!c){b=0;return b|0}f[b>>2]=0;d=c+8|0;b=f[d>>2]|0;f[d>>2]=b-1;if((b|0)!=1){b=0;return b|0}Rua(c,1,1);b=0;return b|0}c=f[a+4>>2]|0;a=f[b>>2]|0;if((a|0)!=(c|0)){f[b>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(a|0?(e=a+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(a,1,1)}v0a(d)|0;e=(f[b>>2]|0)!=0;return e|0}function CY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;e=(b|0)==0;if(!e){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}g=a+56|0;h=a+64|0;if(f[h>>2]|0?(c=f[a+60>>2]|0,d=(f[g>>2]|0)+4|0,a=f[c>>2]|0,f[a+4>>2]=f[d>>2],f[f[d>>2]>>2]=a,f[h>>2]=0,(c|0)!=(g|0)):0)do{a=c;c=f[c+4>>2]|0;d=f[a+8>>2]|0;if(d|0?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|0)==1):0)Rua(d,1,1);GBb(a)}while((c|0)!=(g|0));if(e)return;a=b+8|0;f[a>>2]=(f[a>>2]|0)+1;j=EBb(12)|0;f[j>>2]=0;f[j+8>>2]=b;f[a>>2]=(f[a>>2]|0)+1;f[j+4>>2]=g;i=f[g>>2]|0;f[j>>2]=i;f[i+4>>2]=j;f[g>>2]=j;f[h>>2]=(f[h>>2]|0)+1;j=f[a>>2]|0;f[a>>2]=j-1;if((j|0)==1)Rua(b,1,1);j=f[a>>2]|0;f[a>>2]=j-1;if((j|0)!=1)return;Rua(b,1,1);return}function DY(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0;k=a+160|0;rZa(k);f[k>>2]=338032;i=a+172|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a+184>>2]=2;f[a+188>>2]=0;VZa(a,315652,5,3);f[a>>2]=315116;f[k>>2]=315484;k=a+56|0;f[k>>2]=k;f[a+60>>2]=k;f[a+64>>2]=0;k=a+72|0;f[k>>2]=0;i=a+76|0;f[i>>2]=i;f[a+80>>2]=i;f[a+84>>2]=0;i=a+88|0;f[i>>2]=i;f[a+92>>2]=i;f[a+96>>2]=0;i=a+100|0;f[i>>2]=i;f[a+104>>2]=i;f[a+108>>2]=0;i=a+112|0;f[i>>2]=i;f[a+116>>2]=i;i=a+120|0;e=a+124|0;g=a+128|0;h=a+132|0;n[a+148>>2]=0.0;n[a+152>>2]=0.0;n[a+156>>2]=0.0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;b[a+68>>0]=1;b[a+69>>0]=0;f[a+140>>2]=0;i=a+144|0;b[i>>0]=1;if((c|0)!=0?(j=WCb(c,283304,283880,0)|0,(j|0)!=0):0){m=+p[j+40>>3];l=+p[j+48>>3];n[e>>2]=+p[j+32>>3];n[g>>2]=m;n[h>>2]=l;b[i>>0]=1;e=f[j+12>>2]|0}else{n[e>>2]=0.0;n[g>>2]=0.0;n[h>>2]=0.0;b[i>>0]=1;e=2}f[a+136>>2]=e;CY(a,c);e=f[k>>2]|0;if((e|0)==(d|0))return;f[k>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}if(!e)return;k=e+8|0;d=f[k>>2]|0;f[k>>2]=d-1;if((d|0)!=1)return;Rua(e,1,1);return}function EY(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;rZa(a);f[a+12>>2]=b;f[a+16>>2]=g;f[a+20>>2]=0;f[a+24>>2]=0;f[a>>2]=315672;f[a+28>>2]=e;g=a+32|0;f[g>>2]=f[c>>2];f[g+4>>2]=f[c+4>>2];f[g+8>>2]=f[c+8>>2];f[g+12>>2]=f[c+12>>2];f[g+16>>2]=f[c+16>>2];f[g+20>>2]=f[c+20>>2];g=a+56|0;f[g>>2]=f[d>>2];f[g+4>>2]=f[d+4>>2];f[g+8>>2]=f[d+8>>2];f[g+12>>2]=f[d+12>>2];f[g+16>>2]=f[d+16>>2];f[g+20>>2]=f[d+20>>2];f[a+84>>2]=0;f[a+88>>2]=0;f[a+80>>2]=a+84;return}function FY(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;var e=0.0,g=0,h=0,i=0,j=0;rZa(a);f[a+12>>2]=b;f[a+16>>2]=0;f[a+20>>2]=0;f[a+24>>2]=0;f[a>>2]=315672;f[a+84>>2]=0;f[a+88>>2]=0;g=a+84|0;h=a+80|0;i=a+28|0;j=i+52|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));f[h>>2]=g;switch(b|0){case 3:case 2:case 0:{e=0.0;break}case 1:{e=-1.0;break}default:return}p[a+32>>3]=c;p[a+40>>3]=d;p[a+48>>3]=e;p[a+56>>3]=c;p[a+64>>3]=d;p[a+72>>3]=1.0;return}function GY(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=b;f[a+16>>2]=0;f[a+20>>2]=0;f[a+24>>2]=0;f[a>>2]=315832;f[a+84>>2]=0;f[a+88>>2]=0;e=a+84|0;g=a+80|0;h=a+28|0;i=h+52|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));f[g>>2]=e;switch(b|0){case 0:{p[a+32>>3]=c;p[a+40>>3]=d;p[a+48>>3]=0.0;i=a+56|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;break}case 1:{p[a+32>>3]=c;p[a+40>>3]=d;p[a+48>>3]=-1.0;i=a+56|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;break}case 2:{p[a+32>>3]=c;p[a+40>>3]=d;p[a+48>>3]=0.0;i=a+56|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;break}case 3:{p[a+32>>3]=c;p[a+40>>3]=d;p[a+48>>3]=0.0;i=a+56|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;break}default:return}p[a+72>>3]=1.0;return}function HY(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,o=0.0,q=0,r=0.0,s=0.0;k=a+20|0;d=f[k>>2]|0;if(!d){c=0;return c|0}g=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;if(!g){c=0;return c|0}d=f[g+232>>2]|0;if(!d){c=0;return c|0}if(!(WCb(d,295184,279368,0)|0)){c=0;return c|0}j=f[a+68>>2]|0;d=j;do if(((f[a+72>>2]|0)-j|0)==12?(j=f[a+80>>2]|0,e=j,((f[a+84>>2]|0)-j|0)==24):0){i=f[d>>2]|0;j=f[d+4>>2]|0;h=f[d+8>>2]|0;m=+p[e>>3];o=+p[e+8>>3];l=+p[e+16>>3];if((f[g+256>>2]|0)==(f[g+252>>2]|0)){c=0;return c|0}d=U_a(g,0)|0;if(!d){c=0;return c|0}e=WCb(d,295184,285080,0)|0;g=WCb(d,295184,279400,0)|0;d=WCb(d,295184,279368,0)|0;if(e|0){g=f[e+76>>2]|0;n[c>>2]=+n[g+(i<<2)>>2]*m+ +n[g+(j<<2)>>2]*o+ +n[g+(h<<2)>>2]*l;break}if(g|0){g=f[g+76>>2]|0;n[c>>2]=+n[g+(i<<3)>>2]*m+ +n[g+(j<<3)>>2]*o+ +n[g+(h<<3)>>2]*l;n[c+4>>2]=+n[g+(i<<3)+4>>2]*m+ +n[g+(j<<3)+4>>2]*o+ +n[g+(h<<3)+4>>2]*l;break}if(!d){c=0;return c|0}else{g=f[d+76>>2]|0;n[c>>2]=+n[g+(i*12|0)>>2]*m+ +n[g+(j*12|0)>>2]*o+ +n[g+(h*12|0)>>2]*l;n[c+4>>2]=+n[g+(i*12|0)+4>>2]*m+ +n[g+(j*12|0)+4>>2]*o+ +n[g+(h*12|0)+4>>2]*l;n[c+8>>2]=+n[g+(i*12|0)+8>>2]*m+ +n[g+(j*12|0)+8>>2]*o+ +n[g+(h*12|0)+8>>2]*l;break}}while(0);d=f[(f[k>>2]|0)+120>>2]|0;if(d){d=h2a(d,0,19)|0;if(!d)h=0;else h=WCb(d,282664,298696,0)|0;d=h2a(f[(f[k>>2]|0)+120>>2]|0,0,0)|0;if(!d)d=0;else d=WCb(d,282664,298168,0)|0}else{h=0;d=0}e=f[a+12>>2]|0;a=a+8|0;a:do if((e|0)==(f[a>>2]|0))q=23;else{k=e;while(1){e=(h|0)!=0;i=(d|0)==0;if(!(i|e^1))break a;k=k+-4|0;j=(f[k>>2]|0)+120|0;g=f[j>>2]|0;if(g){if(!e){e=i2a(g,0,19)|0;if(!e)h=0;else h=WCb(e,282664,298696,0)|0}if(i){d=i2a(f[j>>2]|0,0,0)|0;if(!d)d=0;else d=WCb(d,282664,298168,0)|0}}if((k|0)==(f[a>>2]|0)){q=23;break}}}while(0);if((q|0)==23)if(!h){c=d;return c|0}e=c+4|0;g=c+8|0;s=+n[c>>2];r=+n[e>>2];l=+n[g>>2];m=+p[h+64>>3]*s+ +p[h+96>>3]*r+ +p[h+128>>3]*l+ +p[h+160>>3]*0.0;o=+p[h+72>>3]*s+ +p[h+104>>3]*r+ +p[h+136>>3]*l+ +p[h+168>>3]*0.0;n[c>>2]=+p[h+56>>3]*s+ +p[h+88>>3]*r+ +p[h+120>>3]*l+ +p[h+152>>3]*0.0;n[e>>2]=m;n[g>>2]=o;if(!d){c=0;return c|0}if(!(b[h+184>>0]|0)){c=d;return c|0}s=+(_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0);n[c>>2]=+n[c>>2]*s;s=+(_i[f[(f[d>>2]|0)+220>>2]&2047](d)|0);n[e>>2]=+n[e>>2]*s;s=+(_i[f[(f[d>>2]|0)+224>>2]&2047](d)|0);n[g>>2]=+n[g>>2]*s;c=d;return c|0}function IY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=b+12|0;f[j>>2]=(f[j>>2]|0)+1;j=a+76|0;k=f[j>>2]|0;c=f[a+72>>2]|0;i=b+44|0;f[i>>2]=(k-c>>2)+(f[i>>2]|0);if((c|0)==(k|0))c=0;else{g=b+4|0;h=b+20|0;i=b+8|0;do{d=f[c>>2]|0;e=f[d+16>>2]|0;f[g>>2]=(f[g>>2]|0)+1;if(_i[f[(f[e>>2]|0)+168>>2]&2047](e)|0)f[h>>2]=(f[h>>2]|0)+1;if(f[d+24>>2]|0)f[i>>2]=(f[i>>2]|0)+1;Bj[f[(f[e>>2]|0)+284>>2]&1023](e,b);c=c+4|0}while((c|0)!=(f[j>>2]|0));c=1}k=a+64|0;e=f[k>>2]|0;d=f[a+60>>2]|0;j=b+16|0;f[j>>2]=(e-d>>2)+(f[j>>2]|0);if((d|0)!=(e|0)){h=b+4|0;i=b+20|0;j=b+8|0;c=e;do{g=f[d>>2]|0;e=f[g+36>>2]|0;if((e|0)!=(f[g+40>>2]|0)){do{c=f[e>>2]|0;g=f[c+16>>2]|0;f[h>>2]=(f[h>>2]|0)+1;if(_i[f[(f[g>>2]|0)+168>>2]&2047](g)|0)f[i>>2]=(f[i>>2]|0)+1;if(f[c+24>>2]|0)f[j>>2]=(f[j>>2]|0)+1;Bj[f[(f[g>>2]|0)+284>>2]&1023](g,b);e=e+4|0}while((e|0)!=(f[(f[d>>2]|0)+40>>2]|0));c=f[k>>2]|0}d=d+4|0}while((d|0)!=(c|0));c=1}d=f[a+48>>2]|0;h=a+52|0;if((d|0)==(h|0)){b=c;return b|0}do{c=c|(IY(f[d+20>>2]|0,b)|0);e=f[d+4>>2]|0;if(!e){e=d+8|0;g=f[e>>2]|0;if((f[g>>2]|0)==(d|0))d=g;else do{a=f[e>>2]|0;e=a+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(a|0))}else{d=e;while(1){e=f[d>>2]|0;if(!e)break;else d=e}}}while((d|0)!=(h|0));return c|0}function JY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;d=f[a+112>>2]|0;g=a+108|0;e=d;if((g|0)==(e|0))c=0;else{c=0;do{c=c|(JY(f[d+12>>2]|0,b)|0);d=f[e+4>>2]|0;e=d}while((g|0)!=(e|0))}d=f[a+124>>2]|0;g=a+120|0;e=d;if((g|0)==(e|0)){g=c;b=IY(a,b)|0;b=g|b;return b|0}do{c=c|(JY(f[d+12>>2]|0,b)|0);d=f[e+4>>2]|0;e=d}while((g|0)!=(e|0));b=IY(a,b)|0;b=c|b;return b|0}function KY(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=u;u=u+16|0;i=m;j=a+132|0;d=f[j>>2]|0;k=a+136|0;b=f[k>>2]|0;if((b|0)!=(d|0))do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));f[k>>2]=d;b=f[a+112>>2]|0;e=a+108|0;c=b;if((e|0)!=(c|0)){g=a+140|0;do{b=b+12|0;KY(f[b>>2]|0);b=f[b>>2]|0;d=f[b+228>>2]|0;if((d|0?f[d+24>>2]|0:0)?(h=f[b+232>>2]|0,h|0):0){f[i>>2]=h;b=h+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[k>>2]|0;if(b>>>0<(f[g>>2]|0)>>>0){d=f[i>>2]|0;f[b>>2]=d;if(d){b=d+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[k>>2]|0}f[k>>2]=b+4}else LY(j,i);b=f[i>>2]|0;if(b|0?(n=b+8|0,d=f[n>>2]|0,f[n>>2]=d-1,(d|0)==1):0)Rua(b,1,1)}b=f[c+4>>2]|0;c=b}while((e|0)!=(c|0))}b=f[a+124>>2]|0;g=a+120|0;c=b;if((g|0)==(c|0)){u=m;return}e=a+140|0;d=c;do{b=b+12|0;KY(f[b>>2]|0);b=f[b>>2]|0;n=f[b+228>>2]|0;if((n|0?f[n+24>>2]|0:0)?(l=f[b+232>>2]|0,l|0):0){f[i>>2]=l;b=l+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[k>>2]|0;if(b>>>0<(f[e>>2]|0)>>>0){c=f[i>>2]|0;f[b>>2]=c;if(c){b=c+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[k>>2]|0}f[k>>2]=b+4}else LY(j,i);b=f[i>>2]|0;if(b|0?(a=b+8|0,n=f[a>>2]|0,f[a>>2]=n-1,(n|0)==1):0)Rua(b,1,1)}b=f[d+4>>2]|0;d=b}while((g|0)!=(d|0));u=m;return}function LY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function MY(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=f[a+112>>2]|0;d=a+108|0;c=b;if((d|0)!=(c|0))do{MY(f[b+12>>2]|0);b=f[c+4>>2]|0;c=b}while((d|0)!=(c|0));b=f[a+124>>2]|0;d=a+120|0;c=b;if((d|0)!=(c|0))do{MY(f[b+12>>2]|0);b=f[c+4>>2]|0;c=b}while((d|0)!=(c|0));e=f[a+132>>2]|0;d=a+136|0;b=f[d>>2]|0;if((b|0)==(e|0)){f[d>>2]=e;return}do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(g=c+8|0,a=f[g>>2]|0,f[g>>2]=a-1,(a|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));f[d>>2]=e;return}function NY(a){a=a|0;var b=0,c=0;b=a+56|0;rZa(b);f[b>>2]=338032;c=a+68|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+80>>2]=2;f[a+84>>2]=0;VZa(a,316148,1,2);f[a>>2]=316172;f[b>>2]=316540;return}function OY(a,c){a=a|0;c=c|0;var d=0;d=f[a+224>>2]|0;if(d|0?b[d+16>>0]|0:0)switch(f[d+20>>2]|0){case 8:case 6:case 7:case 3:case 2:case 1:case 0:{d=(JY(f[a+172>>2]|0,c)|0)&(JY(f[a+188>>2]|0,c)|0);return d|0}default:{d=JY(f[a+156>>2]|0,c)|0;return d|0}}d=JY(f[a+156>>2]|0,c)|0;return d|0}function PY(a){a=a|0;var b=0;b=f[a+156>>2]|0;if(b|0)KY(b);b=f[a+172>>2]|0;if(b|0)KY(b);b=f[a+188>>2]|0;if(!b)return;KY(b);return}function QY(a){a=a|0;var b=0;b=f[a+156>>2]|0;if(b|0)MY(b);b=f[a+172>>2]|0;if(b|0)MY(b);b=f[a+188>>2]|0;if(!b)return;MY(b);return}function RY(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=316712;b=a+52|0;f[a+56>>2]=0;c=a+60|0;f[c>>2]=0;d=a+56|0;f[b>>2]=d;e=a+68|0;f[a+72>>2]=0;g=a+76|0;f[g>>2]=0;h=a+72|0;f[e>>2]=h;i=a+4|0;j=i+48|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));Kv(b,0);f[c>>2]=0;f[b>>2]=d;f[d>>2]=0;f[a+64>>2]=0;Jv(e,f[h>>2]|0);f[g>>2]=0;f[e>>2]=h;f[h>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;return}function SY(a){a=a|0;var b=0;a=EBb(68)|0;v_a(a,1);b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=323676;b=a+36|0;f[b>>2]=0;f[a+40>>2]=0;f[a+32>>2]=b;b=a+48|0;f[b>>2]=0;f[a+52>>2]=0;f[a+44>>2]=b;b=a+60|0;f[b>>2]=0;f[a+64>>2]=0;f[a+56>>2]=b;return a|0}function TY(a,b){a=a|0;b=b|0;var c=0;c=EBb(68)|0;Fva(c,a,b);f[c>>2]=323676;b=c+36|0;f[b>>2]=0;f[c+40>>2]=0;f[c+32>>2]=b;b=c+48|0;f[b>>2]=0;f[c+52>>2]=0;f[c+44>>2]=b;b=c+60|0;f[b>>2]=0;f[c+64>>2]=0;f[c+56>>2]=b;return c|0}function UY(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,285584,0)|0)!=0;return b|0}function VY(a){a=a|0;return a+32|0}function WY(a){a=a|0;return a+44|0}function XY(a){a=a|0;return a+56|0}function YY(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;o=p;OBb(o,c);g=o+11|0;e=b[g>>0]|0;d=e<<24>>24<0;h=o+4|0;c=f[h>>2]|0;if((d?c:e&255)|0){d=d?f[o>>2]|0:o;do{e=(fnb(b[d>>0]|0)|0)&255;b[d>>0]=e;d=d+1|0;e=b[g>>0]|0;l=e<<24>>24<0;c=f[h>>2]|0}while((d|0)!=((l?f[o>>2]|0:o)+(l?c:e&255)|0))}d=f[a+36>>2]|0;a:do if(!d)c=0;else{l=e<<24>>24<0;k=l?c:e&255;l=l?f[o>>2]|0:o;while(1){c=d+16|0;h=b[c+11>>0]|0;g=h<<24>>24<0;h=g?f[d+20>>2]|0:h&255;j=h>>>0>>0;i=j?h:k;a=(i|0)==0;if(!a?(m=g?f[c>>2]|0:c,n=anb(l,m,i)|0,(n|0)!=0):0)if((n|0)<0)g=10;else{c=m;g=13}else if(k>>>0>=h>>>0)if(a)g=14;else{c=g?f[c>>2]|0:c;g=13}else g=10;if((g|0)==10)g=0;else if((g|0)==13){c=anb(c,l,i)|0;if(c)if((c|0)<0)g=16;else{c=1;break a}else g=14}if((g|0)==14)if(j)g=16;else{c=1;break a}if((g|0)==16)d=d+4|0;d=f[d>>2]|0;if(!d){c=0;break}}}while(0);if(e<<24>>24>=0){u=p;return c|0}GBb(f[o>>2]|0);u=p;return c|0}function ZY(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=u;u=u+32|0;p=q+20|0;o=q;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Ij[f[(f[a>>2]|0)+200>>2]&127](o,a,p,0);e=(f[o>>2]|0)!=0;c=o+16|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=o+4|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);g=e&1;Ij[f[(f[a>>2]|0)+204>>2]&127](o,a,p,0);e=(f[o>>2]|0)==0;c=o+16|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=o+4|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);g=e?g:g|2;Ij[f[(f[a>>2]|0)+208>>2]&127](o,a,p,0);e=(f[o>>2]|0)==0;c=o+16|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=o+4|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);g=e?g:g|4;Ij[f[(f[a>>2]|0)+216>>2]&127](o,a,p,0);e=(f[o>>2]|0)==0;c=o+16|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=o+4|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);g=e?g:g|16;Ij[f[(f[a>>2]|0)+212>>2]&127](o,a,p,0);e=(f[o>>2]|0)==0;c=o+16|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=o+4|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);e=e?g:g|8;k=EBb(140)|0;J$a(k);l=k+8|0;f[l>>2]=(f[l>>2]|0)+1;m=EBb(112)|0;S0a(m);n=m+8|0;f[n>>2]=(f[n>>2]|0)+1;g=EBb(152)|0;SRa(g,-1);h=g+8|0;f[h>>2]=(f[h>>2]|0)+1;i=EBb(124)|0;y_a(i);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;Kj[f[(f[a>>2]|0)+224>>2]&63](o,a,k,p,0);c=(f[o>>2]|0)==0;d=o+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);e=c?e:e|32;Kj[f[(f[a>>2]|0)+228>>2]&63](o,a,k,p,0);c=(f[o>>2]|0)==0;d=o+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);e=c?e:e|64;Kj[f[(f[a>>2]|0)+232>>2]&63](o,a,m,p,0);c=(f[o>>2]|0)==0;d=o+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);e=c?e:e|128;Kj[f[(f[a>>2]|0)+240>>2]&63](o,a,g,p,0);c=(f[o>>2]|0)==0;d=o+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);e=c?e:e|512;Kj[f[(f[a>>2]|0)+236>>2]&63](o,a,i,p,0);d=(f[o>>2]|0)==0;c=o+4|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=d?e:e|256;o=f[j>>2]|0;f[j>>2]=o-1;if((o|0)==1)Rua(i,1,1);o=f[h>>2]|0;f[h>>2]=o-1;if((o|0)==1)Rua(g,1,1);o=f[n>>2]|0;f[n>>2]=o-1;if((o|0)==1)Rua(m,1,1);o=f[l>>2]|0;f[l>>2]=o-1;if((o|0)==1)Rua(k,1,1);if((b[p+11>>0]|0)>=0){u=q;return c|0}GBb(f[p>>2]|0);u=q;return c|0}function _Y(a,c,d){a=a|0;c=c|0;d=d|0;return (cqb((b[c+11>>0]|0)<0?f[c>>2]|0:c,0)|0)==0|0}function $Y(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function aZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function bZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function cZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function dZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function eZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function fZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function gZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function hZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function iZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function jZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function kZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function lZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function mZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function nZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function oZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function pZ(a){a=a|0;f[a>>2]=323676;Ak(a+56|0,f[a+60>>2]|0);Ak(a+44|0,f[a+48>>2]|0);Ak(a+32|0,f[a+36>>2]|0);Gva(a);return}function qZ(a){a=a|0;f[a>>2]=323676;Ak(a+56|0,f[a+60>>2]|0);Ak(a+44|0,f[a+48>>2]|0);Ak(a+32|0,f[a+36>>2]|0);Gva(a);GBb(a);return}function rZ(a){a=a|0;return 385833}function sZ(a){a=a|0;return 385862}function tZ(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;o=p;OBb(o,c);g=o+11|0;e=b[g>>0]|0;d=e<<24>>24<0;h=o+4|0;c=f[h>>2]|0;if((d?c:e&255)|0){d=d?f[o>>2]|0:o;do{e=(fnb(b[d>>0]|0)|0)&255;b[d>>0]=e;d=d+1|0;e=b[g>>0]|0;l=e<<24>>24<0;c=f[h>>2]|0}while((d|0)!=((l?f[o>>2]|0:o)+(l?c:e&255)|0))}d=f[a+48>>2]|0;a:do if(!d)c=0;else{l=e<<24>>24<0;k=l?c:e&255;l=l?f[o>>2]|0:o;while(1){c=d+16|0;h=b[c+11>>0]|0;g=h<<24>>24<0;h=g?f[d+20>>2]|0:h&255;j=h>>>0>>0;i=j?h:k;a=(i|0)==0;if(!a?(m=g?f[c>>2]|0:c,n=anb(l,m,i)|0,(n|0)!=0):0)if((n|0)<0)g=10;else{c=m;g=13}else if(k>>>0>=h>>>0)if(a)g=14;else{c=g?f[c>>2]|0:c;g=13}else g=10;if((g|0)==10)g=0;else if((g|0)==13){c=anb(c,l,i)|0;if(c)if((c|0)<0)g=16;else{c=1;break a}else g=14}if((g|0)==14)if(j)g=16;else{c=1;break a}if((g|0)==16)d=d+4|0;d=f[d>>2]|0;if(!d){c=0;break}}}while(0);if(e<<24>>24>=0){u=p;return c|0}GBb(f[o>>2]|0);u=p;return c|0}function uZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function vZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function wZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function xZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function yZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;return}function zZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function AZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function BZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function CZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function DZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function EZ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;g=u;u=u+16|0;b=g;f[a>>2]=323980;if(qZa(4)|0){e=Nu(Hua(4)|0,385892,63)|0;Drb(b,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);d=utb(b,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(b);ksb(e,d)|0;Krb(e)|0}e=a+16|0;d=a+20|0;b=f[d>>2]|0;c=b;if((e|0)!=(c|0))do{HZ(a,f[b+8>>2]|0);b=f[c+4>>2]|0;c=b}while((e|0)!=(c|0));R3a(a+28|0);c=a+24|0;if(!(f[c>>2]|0)){Uua(a);u=g;return}b=f[d>>2]|0;d=(f[e>>2]|0)+4|0;h=f[b>>2]|0;f[h+4>>2]=f[d>>2];f[f[d>>2]>>2]=h;f[c>>2]=0;if((b|0)==(e|0)){Uua(a);u=g;return}do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(i=d+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(d,1,1);GBb(c)}while((b|0)!=(e|0));Uua(a);u=g;return}function FZ(a){a=a|0;EZ(a);GBb(a);return}function GZ(a){a=a|0;return}function HZ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=u;u=u+16|0;c=e;f[c>>2]=0;if(JZ(b+92|0,c)|0?(d=f[(f[a+12>>2]|0)+132>>2]|0,d|0):0)zY(d,f[c>>2]|0);KZ(b);a=f[c>>2]|0;if(!a){u=e;return}c=a+8|0;d=f[c>>2]|0;f[c>>2]=d-1;if((d|0)!=1){u=e;return}Rua(a,1,1);u=e;return}function IZ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=a+8|0;if(!(f[b>>2]|0))return;c=f[a+4>>2]|0;d=(f[a>>2]|0)+4|0;e=f[c>>2]|0;f[e+4>>2]=f[d>>2];f[f[d>>2]>>2]=e;f[b>>2]=0;if((c|0)==(a|0))return;do{b=c;c=f[c+4>>2]|0;d=f[b+8>>2]|0;if(d|0?(g=d+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(d,1,1);GBb(b)}while((c|0)!=(a|0));return}function JZ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[a>>2]|0;if(!c){c=f[b>>2]|0;if(!c){b=0;return b|0}f[b>>2]=0;d=c+8|0;b=f[d>>2]|0;f[d>>2]=b-1;if((b|0)!=1){b=0;return b|0}Rua(c,1,1);b=0;return b|0}d=u0a(c)|0;if(!d){c=f[b>>2]|0;if(!c){b=0;return b|0}f[b>>2]=0;d=c+8|0;b=f[d>>2]|0;f[d>>2]=b-1;if((b|0)!=1){b=0;return b|0}Rua(c,1,1);b=0;return b|0}c=f[a+4>>2]|0;a=f[b>>2]|0;if((a|0)!=(c|0)){f[b>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(a|0?(e=a+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(a,1,1)}v0a(d)|0;e=(f[b>>2]|0)!=0;return e|0}function KZ(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;if(qZa(4)|0){d=Nu(Hua(4)|0,385956,48)|0;Drb(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);g=utb(c,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(c);ksb(d,g)|0;Krb(d)|0}b[a+12>>0]=0;c=a+80|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1);c=a+92|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[a+96>>2]=0;c=a+88|0;d=f[c>>2]|0;if(!d){u=e;return}f[c>>2]=0;a=d+8|0;g=f[a>>2]|0;f[a>>2]=g-1;if((g|0)!=1){u=e;return}Rua(d,1,1);u=e;return}function LZ(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=324004;g=a+72|0;c=a+80|0;if(f[c>>2]|0?(d=f[a+76>>2]|0,e=(f[g>>2]|0)+4|0,h=f[d>>2]|0,f[h+4>>2]=f[e>>2],f[f[e>>2]>>2]=h,f[c>>2]=0,(d|0)!=(g|0)):0)do{c=d;d=f[d+4>>2]|0;e=f[c+8>>2]|0;if(e|0?(i=e+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(e,1,1);GBb(c)}while((d|0)!=(g|0));R3a(a+60|0);c=a+48|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);d=a+44|0;c=f[d>>2]|0;if(!c){f[d>>2]=0;EZ(a);return}c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;h=c+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[d>>2]=0;EZ(a);return}Rua(c,1,1);f[d>>2]=0;EZ(a);return}function MZ(a){a=a|0;LZ(a);GBb(a);return}function NZ(a){a=a|0;var c=0,d=0,e=0;d=f[a+44>>2]|0;e=d+4|0;if((f[a+24>>2]|0)==0?(f[a+80>>2]|0)==0:0)a=0;else a=(b[(f[a+12>>2]|0)+54>>0]|0)==0;c=d+24|0;if((a&1|0)==(h[c>>0]|0))return;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;if(!a){b[c>>0]=0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;return}if(!(b[c>>0]|0)){b[c>>0]=1;P3a(d+16|0)|0}_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;return}function OZ(a){a=a|0;var c=0,d=0;f[a>>2]=324028;c=a+12|0;f[c>>2]=324056;QZ(a)|0;d=a+36|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);A3a(c);Uua(a);return}function PZ(a){a=a|0;OZ(a);GBb(a);return}function QZ(a){a=a|0;var c=0,d=0,e=0;e=a+12|0;if(!(h4a(e)|0))return 0;f[a+20>>2]=1;switch(f[a+32>>2]|0){case 0:{a=f[(f[(f[a+28>>2]|0)+88>>2]|0)+44>>2]|0;c=a+4|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+24|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;break}case 1:{a=f[(f[(f[a+28>>2]|0)+88>>2]|0)+44>>2]|0;c=a+4|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+24|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;break}case 2:{a=f[(f[(f[a+28>>2]|0)+92>>2]|0)+44>>2]|0;c=a+4|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+24|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;break}default:{}}d4a(e)|0;return 0}function RZ(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=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,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;Aa=u;u=u+256|0;pa=Aa;ra=Aa+224|0;sa=Aa+212|0;wa=Aa+192|0;xa=Aa+180|0;ya=Aa+232|0;if(qZa(4)|0){ja=Hua(4)|0;ka=a+36|0;ta=b[ka+11>>0]|0;la=ta<<24>>24<0;ta=Nu(Nu(ja,la?f[ka>>2]|0:ka,la?f[a+40>>2]|0:ta&255)|0,386077,36)|0;Drb(pa,ta+(f[(f[ta>>2]|0)+-12>>2]|0)|0);la=utb(pa,504576)|0;la=cj[f[(f[la>>2]|0)+28>>2]&1023](la,10)|0;vtb(pa);ksb(ta,la)|0;Krb(ta)|0}ta=a+32|0;switch(f[ta>>2]|0){case 0:{c=a+28|0;d=f[(f[c>>2]|0)+88>>2]|0;if(!d){e=0;d=0}else{e=d+8|0;f[e>>2]=(f[e>>2]|0)+1;e=0}break}case 1:{c=a+28|0;e=f[c>>2]|0;d=f[e+88>>2]|0;if(!d)d=0;else{e=d+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[c>>2]|0}e=f[e+92>>2]|0;if(!e)e=0;else{la=e+8|0;f[la>>2]=(f[la>>2]|0)+1}break}case 2:{c=a+28|0;d=f[(f[c>>2]|0)+92>>2]|0;if(!d){e=0;d=0}else{e=d+8|0;f[e>>2]=(f[e>>2]|0)+1;e=0}break}default:{c=a+28|0;e=0;d=0}}Z=a+24|0;_=d+44|0;$=a+20|0;aa=a+36|0;ba=aa+11|0;ca=a+40|0;da=pa+4|0;ea=pa+8|0;fa=d+28|0;ga=d+72|0;ha=d+80|0;ia=d+24|0;ja=d+76|0;ka=sa+11|0;la=pa+4|0;F=a+12|0;G=wa+16|0;H=e+28|0;I=sa+4|0;J=ya+4|0;L=J+11|0;M=wa+4|0;N=M+11|0;O=xa+11|0;P=xa+4|0;Q=xa+11|0;R=pa+12|0;S=pa+12|0;T=pa+4|0;U=pa+8|0;V=pa+4|0;W=pa+8|0;X=pa+148|0;Y=pa+144|0;C=1;while(1){b[Z>>0]=0;a=f[_>>2]|0;g=a+4|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;if(!(b[a+24>>0]|0))M3a(a+16|0,g)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if(f[$>>2]|0)break;b[Z>>0]=1;if(qZa(4)|0){q=Hua(4)|0;D=b[ba>>0]|0;E=D<<24>>24<0;D=Nu(Nu(q,E?f[aa>>2]|0:aa,E?f[ca>>2]|0:D&255)|0,386114,18)|0;_i[f[(f[fa>>2]|0)+8>>2]&2047](fa)|0;E=f[ia>>2]|0;_i[f[(f[fa>>2]|0)+12>>2]&2047](fa)|0;E=Nu(csb(D,E)|0,386133,13)|0;E=esb(E,f[ha>>2]|0)|0;Drb(pa,E+(f[(f[E>>2]|0)+-12>>2]|0)|0);D=utb(pa,504576)|0;D=cj[f[(f[D>>2]|0)+28>>2]&1023](D,10)|0;vtb(pa);ksb(E,D)|0;Krb(E)|0}if(b[(f[c>>2]|0)+116>>0]|0){f[pa>>2]=pa;f[da>>2]=pa;f[ea>>2]=0;_i[f[(f[fa>>2]|0)+8>>2]&2047](fa)|0;a=f[ha>>2]|0;if(a|0){E=f[ea>>2]|0;f[ea>>2]=a;f[ha>>2]=E;o=pa;m=f[o>>2]|0;o=f[o+4>>2]|0;l=ga;D=f[l+4>>2]|0;q=pa;f[q>>2]=f[l>>2];f[q+4>>2]=D;q=ga;f[q>>2]=m;f[q+4>>2]=o;f[D>>2]=pa;f[(f[pa>>2]|0)+4>>2]=pa;if(!E){f[ga>>2]=ga;a=ja}else{f[f[ja>>2]>>2]=ga;a=(f[ga>>2]|0)+4|0}f[a>>2]=ga;tj[f[(f[d>>2]|0)+12>>2]&2047](d)}_i[f[(f[fa>>2]|0)+12>>2]&2047](fa)|0;if(f[ea>>2]|0?(qa=f[da>>2]|0,E=(f[pa>>2]|0)+4|0,D=f[qa>>2]|0,f[D+4>>2]=f[E>>2],f[f[E>>2]>>2]=D,f[ea>>2]=0,(qa|0)!=(pa|0)):0){a=qa;do{g=a;a=f[a+4>>2]|0;h=f[g+8>>2]|0;if(h|0?(D=h+8|0,E=f[D>>2]|0,f[D>>2]=E-1,(E|0)==1):0)Rua(h,1,1);GBb(g)}while((a|0)!=(pa|0))}}f[ra>>2]=0;XZ(d,ra);a=(YZ(0)|0)+20|0;a=f[a>>2]|0;m=(a|0)==0;if(!m){E=a+8|0;f[E>>2]=(f[E>>2]|0)+1}g=(YZ(0)|0)+56|0;g=f[g>>2]|0;o=(g|0)==0;if(!o){E=g+(f[(f[g>>2]|0)+-12>>2]|0)+8|0;f[E>>2]=(f[E>>2]|0)+1};f[sa>>2]=0;f[sa+4>>2]=0;f[sa+8>>2]=0;a:do if(f[ra>>2]|0){l=(f[c>>2]|0)+24|0;_i[f[(f[l>>2]|0)+8>>2]&2047](l)|0;h=f[(f[ra>>2]|0)+84>>2]|0;if(!h){h=EBb(148)|0;v_a(h,1);i=h+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[h+24>>2]=2;f[h+28>>2]=0;f[h>>2]=324084;i=h+68|0;j=h+32|0;k=j+36|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(k|0));f[i>>2]=8;k=h+72|0;j=h+92|0;f[j>>2]=0;f[h+96>>2]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[h+88>>2]=j;j=h+104|0;f[j>>2]=0;f[h+108>>2]=0;f[h+100>>2]=j;j=h+112|0;k=j+36|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(k|0));E=h+8|0;f[E>>2]=(f[E>>2]|0)+1;E=h}else{f[pa>>2]=346256;f[la>>2]=0;h=cj[f[(f[h>>2]|0)+16>>2]&1023](h,pa)|0;if(!h)h=0;else{E=h+8|0;f[E>>2]=(f[E>>2]|0)+1}E=h}h=f[ra>>2]|0;i=h+64|0;j=E+132|0;if((j|0)!=(i|0)){k=f[j>>2]|0;i=f[i>>2]|0;if((k|0)!=(i|0)){f[j>>2]=i;if(i|0){D=i+8|0;f[D>>2]=(f[D>>2]|0)+1}if(k|0?(q=k+8|0,D=f[q>>2]|0,f[q>>2]=D-1,(D|0)==1):0)Rua(k,1,1)}f[E+136>>2]=f[h+68>>2];h=f[ra>>2]|0}i=h+72|0;j=E+140|0;if((j|0)!=(i|0)){k=f[j>>2]|0;i=f[i>>2]|0;if((k|0)!=(i|0)){f[j>>2]=i;if(i|0){D=i+8|0;f[D>>2]=(f[D>>2]|0)+1}if(k|0?(q=k+8|0,D=f[q>>2]|0,f[q>>2]=D-1,(D|0)==1):0)Rua(k,1,1)}f[E+144>>2]=f[h+76>>2];h=f[ra>>2]|0}UBb(sa,h+16|0)|0;q=f[(f[ra>>2]|0)+44>>2]|0;_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0;h=f[E+128>>2]|0;if(!((h|0)==0|(a|0)==(h|0))){D=h+8|0;f[D>>2]=(f[D>>2]|0)+1;if(!m?(m=a+8|0,D=f[m>>2]|0,f[m>>2]=D-1,(D|0)==1):0){Rua(a,1,1);a=h}else a=h}h=f[E+124>>2]|0;if((h|0)==0|(g|0)==(h|0))if(o){D=0;k=0}else ma=68;else{ma=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[ma>>2]=(f[ma>>2]|0)+1;if(!o?(ua=g+(f[(f[g>>2]|0)+-12>>2]|0)|0,D=ua+8|0,ma=f[D>>2]|0,f[D>>2]=ma-1,(ma|0)==1):0){Rua(ua,1,1);g=h;ma=68}else{g=h;ma=68}}if((ma|0)==68){ma=0;if(!(_i[f[(f[g>>2]|0)+4>>2]&2047](g)|0))if((a|0)!=0?(o=a+8|0,D=f[o>>2]|0,f[o>>2]=D-1,(D|0)==1):0){Rua(a,1,1);D=g;a=0;k=1}else{D=g;a=0;k=1}else{D=g;k=1}}if(f[E+68>>2]&1|0){g=(YZ(0)|0)+212|0;g=f[g>>2]|0;if(g){ZZ(pa,g,sa,0);g=f[pa>>2]|0;if(!g)ma=76;else{na=g;ma=88}}else{f[pa>>2]=0;ma=76}do if((ma|0)==76?(ma=0,a|0):0){if(!(cj[f[(f[a>>2]|0)+12>>2]&1023](a,sa)|0))break;if(!(cj[f[(f[a>>2]|0)+20>>2]&1023](a,sa)|0))break;g=YZ(0)|0;Fj[f[(f[a>>2]|0)+16>>2]&511](xa,a,sa);g=f[g+212>>2]|0;do if(!g)f[wa>>2]=0;else{ZZ(wa,g,xa,0);g=f[wa>>2]|0;if(!g)break;f[pa>>2]=g;g=g+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[wa>>2]|0;if(!g)break;m=g+8|0;o=f[m>>2]|0;f[m>>2]=o-1;if((o|0)!=1)break;Rua(g,1,1)}while(0);f[wa>>2]=0;if((b[Q>>0]|0)<0)GBb(f[xa>>2]|0);g=f[pa>>2]|0;if(g|0){na=g;ma=88}}while(0);if((ma|0)==88?(ma=0,va=WCb(na,295088,295136,0)|0,va|0):0){g=(f[c>>2]|0)+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;h=(f[ra>>2]|0)+80|0;i=f[h>>2]|0;do if((i|0)!=(va|0)){f[h>>2]=va;q=va+8|0;f[q>>2]=(f[q>>2]|0)+1;if(!i)break;o=i+8|0;q=f[o>>2]|0;f[o>>2]=q-1;if((q|0)!=1)break;Rua(i,1,1)}while(0);_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;g=(f[(f[c>>2]|0)+100>>2]|0)+28|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;_Z(f[(f[c>>2]|0)+100>>2]|0,f[ra>>2]|0);h=f[ra>>2]|0;do if(h|0){f[ra>>2]=0;o=h+8|0;q=f[o>>2]|0;f[o>>2]=q-1;if((q|0)!=1)break;Rua(h,1,1)}while(0);_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;g=f[pa>>2]|0;do if(g|0){o=g+8|0;q=f[o>>2]|0;f[o>>2]=q-1;if((q|0)!=1)break;Rua(g,1,1)}while(0);i=C;h=E;g=D;break}j=(f[c>>2]|0)+24|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;g=EBb(36)|0;v_a(g,1);f[g>>2]=324256;h=g+16|0;f[h>>2]=0;f[g+20>>2]=0;f[g+12>>2]=h;t4a(g+24|0,0);h=(f[ra>>2]|0)+88|0;i=f[h>>2]|0;do if((i|0)!=(g|0)){f[h>>2]=g;C=g+8|0;f[C>>2]=(f[C>>2]|0)+1;if(!i)break;o=i+8|0;C=f[o>>2]|0;f[o>>2]=C-1;if((C|0)!=1)break;Rua(i,1,1)}while(0);g=f[(f[ra>>2]|0)+88>>2]|0;h=E+72|0;i=f[h>>2]|0;do if((i|0)!=(g|0)){f[h>>2]=g;if(g|0){C=g+8|0;f[C>>2]=(f[C>>2]|0)+1}if(!i)break;o=i+8|0;C=f[o>>2]|0;f[o>>2]=C-1;if((C|0)!=1)break;Rua(i,1,1)}while(0);_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;g=f[pa>>2]|0;do if(g|0){o=g+8|0;C=f[o>>2]|0;f[o>>2]=C-1;if((C|0)!=1)break;Rua(g,1,1)}while(0)}b:do if(((f[(f[c>>2]|0)+84>>2]|0)-q|0)>>>0>=2){g=f[ra>>2]|0;if(!g){i=0;h=E;g=D;break a}f[ra>>2]=0;q=g+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)==1){Rua(g,1,1);h=0}else h=0}else{switch(f[ta>>2]|0){case 0:{if(!a){h=0;break b}if(!(cj[f[(f[a>>2]|0)+12>>2]&1023](a,sa)|0)){h=0;break b}h=cj[f[(f[a>>2]|0)+20>>2]&1023](a,sa)|0;break b}case 1:break;default:{h=0;break b}}do if(!k){if(!a){h=0;break b}if(cj[f[(f[a>>2]|0)+12>>2]&1023](a,sa)|0){oa=a;ma=125}else{h=0;break b}}else{if((dj[f[f[D>>2]>>2]&255](D,sa,E)|0)!=1){h=0;break b}if(!a)break;oa=a;ma=125}while(0);if((ma|0)==125?(ma=0,cj[f[(f[oa>>2]|0)+20>>2]&1023](a,sa)|0):0){h=1;break}if(qZa(4)|0){q=Hua(4)|0;o=b[ba>>0]|0;C=o<<24>>24<0;o=Nu(Nu(q,C?f[aa>>2]|0:aa,C?f[ca>>2]|0:o&255)|0,386147,29)|0;C=b[ka>>0]|0;q=C<<24>>24<0;C=Nu(o,q?f[sa>>2]|0:sa,q?f[I>>2]|0:C&255)|0;Drb(pa,C+(f[(f[C>>2]|0)+-12>>2]|0)|0);q=utb(pa,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(pa);ksb(C,q)|0;Krb(C)|0}g=f[ra>>2]|0;_i[f[(f[H>>2]|0)+8>>2]&2047](H)|0;_Z(e,g);_i[f[(f[H>>2]|0)+12>>2]&2047](H)|0;g=f[ra>>2]|0;if(!g){i=0;h=E;g=D;break a}f[ra>>2]=0;q=g+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1){h=0;break}Rua(g,1,1);h=0}while(0);if(!(f[ra>>2]|0)){i=0;h=E;g=D}else{if(h)Kj[f[(f[a>>2]|0)+48>>2]&63](wa,a,sa,E,0);else a_(wa,YZ(0)|0,sa,E,0);g=f[G>>2]|0;do if(!g)g=0;else{g=WCb(g,295088,295136,0)|0;if(!g){g=0;break}C=g+8|0;f[C>>2]=(f[C>>2]|0)+1}while(0);do if((f[wa>>2]|1|0)!=5){if(!(qZa(2)|0))break;q=Nu(Hua(2)|0,386177,22)|0;o=b[ka>>0]|0;C=o<<24>>24<0;o=Nu(Nu(q,C?f[sa>>2]|0:sa,C?f[I>>2]|0:o&255)|0,386200,3)|0;b_(xa,wa);C=b[O>>0]|0;q=C<<24>>24<0;C=Nu(o,q?f[xa>>2]|0:xa,q?f[P>>2]|0:C&255)|0;Drb(pa,C+(f[(f[C>>2]|0)+-12>>2]|0)|0);q=utb(pa,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(pa);ksb(C,q)|0;Krb(C)|0;if((b[O>>0]|0)<0)GBb(f[xa>>2]|0)}while(0);do if((a|0)!=0&(g|0)!=0){if(h|(cj[f[(f[a>>2]|0)+12>>2]&1023](a,sa)|0)^1)break;Kj[f[(f[a>>2]|0)+52>>2]&63](ya,a,g,sa,E);if((b[L>>0]|0)>=0)break;GBb(f[J>>2]|0)}while(0);h=(f[c>>2]|0)+24|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;do if(((f[(f[c>>2]|0)+84>>2]|0)-(f[(f[ra>>2]|0)+44>>2]|0)|0)>>>0>1){if(qZa(4)|0){o=Hua(4)|0;C=b[ba>>0]|0;q=C<<24>>24<0;C=Nu(Nu(o,q?f[aa>>2]|0:aa,q?f[ca>>2]|0:C&255)|0,386204,44)|0;Drb(pa,C+(f[(f[C>>2]|0)+-12>>2]|0)|0);q=utb(pa,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(pa);ksb(C,q)|0;Krb(C)|0}if(!g){g=0;break}q=g+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1){g=0;break}Rua(g,1,1);g=0}while(0);_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;do if(g|0){k=g+68|0;if(!(b[k>>0]|0)){h=g+32|0;l=g+52|0;f[l>>2]=f[h>>2];f[l+4>>2]=f[h+4>>2];f[l+8>>2]=f[h+8>>2];f[l+12>>2]=f[h+12>>2];h=f[g+48>>2]|0;if(!h){Bj[f[(f[g>>2]|0)+224>>2]&1023](pa,g);s=+n[R>>2];do if(s>=0.0){h=g+64|0;p=+n[h>>2];if(!(p>=0.0)){f[l>>2]=f[pa>>2];f[l+4>>2]=f[pa+4>>2];f[l+8>>2]=f[pa+8>>2];n[h>>2]=s;break}t=+n[l>>2];v=+n[pa>>2];r=t-v;i=g+56|0;w=+n[i>>2];x=+n[T>>2];B=w-x;j=g+60|0;y=+n[j>>2];z=+n[U>>2];A=y-z;A=+K(+(r*r+B*B+A*A));B=s;if(B+A<=p)break;r=p+A;if(!(r<=B)){B=(r+B)*.5;A=(B-p)/A;n[l>>2]=A*(v-t)+t;n[i>>2]=A*(x-w)+w;n[j>>2]=A*(z-y)+y;n[h>>2]=B;break}else{f[l>>2]=f[pa>>2];f[l+4>>2]=f[pa+4>>2];f[l+8>>2]=f[pa+8>>2];n[h>>2]=s;break}}while(0)}else{Fj[f[(f[h>>2]|0)+164>>2]&511](pa,h,g);s=+n[S>>2];do if(s>=0.0){h=g+64|0;p=+n[h>>2];if(!(p>=0.0)){f[l>>2]=f[pa>>2];f[l+4>>2]=f[pa+4>>2];f[l+8>>2]=f[pa+8>>2];n[h>>2]=s;break}t=+n[l>>2];v=+n[pa>>2];r=t-v;i=g+56|0;w=+n[i>>2];x=+n[V>>2];B=w-x;j=g+60|0;y=+n[j>>2];z=+n[W>>2];A=y-z;A=+K(+(r*r+B*B+A*A));B=s;if(B+A<=p)break;r=p+A;if(!(r<=B)){B=(r+B)*.5;A=(B-p)/A;n[l>>2]=A*(v-t)+t;n[i>>2]=A*(x-w)+w;n[j>>2]=A*(z-y)+y;n[h>>2]=B;break}else{f[l>>2]=f[pa>>2];f[l+4>>2]=f[pa+4>>2];f[l+8>>2]=f[pa+8>>2];n[h>>2]=s;break}}while(0)}b[k>>0]=1}do if((f[wa>>2]|0)==5){if(!(qZa(3)|0)){i=0;j=0;break}i=Nu(Hua(3)|0,386249,23)|0;Drb(pa,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);j=utb(pa,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(pa);ksb(i,j)|0;Krb(i)|0;i=0;j=0}else{h=f[c>>2]|0;c_(pa,h,f[h+164>>2]|0);Bj[f[(f[g>>2]|0)+212>>2]&1023](g,pa);h=f[c>>2]|0;do if(!(b[h+128>>0]|0)){j=0;i=0}else{h=f[h+132>>2]|0;if(!h){j=0;i=0;break}if(!(uY(h,pa)|0)){j=0;i=0;break}j=EBb(48)|0;rZa(j);f[j>>2]=323656;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[j+24>>2]=g;i=g+8|0;f[i>>2]=(f[i>>2]|0)+1;i=j+28|0;f[i>>2]=0;k=j+36|0;f[k>>2]=0;f[j+40>>2]=0;f[j+32>>2]=k;f[j+44>>2]=0;k=j+8|0;f[k>>2]=(f[k>>2]|0)+1;kY(j,(f[(f[c>>2]|0)+132>>2]|0)+124|0,pa);k=EBb(24)|0;C=f[c>>2]|0;h=f[ra>>2]|0;q=k+12|0;rZa(q);f[k>>2]=324280;f[q>>2]=324308;f[k+4>>2]=C;f[k+8>>2]=h;if(h|0){C=h+8|0;f[C>>2]=(f[C>>2]|0)+1}h=f[i>>2]|0;do if((h|0)!=(k|0)){f[i>>2]=k;C=k+(f[(f[k>>2]|0)+-12>>2]|0)+8|0;f[C>>2]=(f[C>>2]|0)+1;if(!h)break;h=h+(f[(f[h>>2]|0)+-12>>2]|0)|0;q=h+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1)break;Rua(h,1,1)}while(0);vY(f[(f[c>>2]|0)+132>>2]|0,j,0);i=1}while(0);f[pa>>2]=324332;f[X>>2]=324708;h=f[Y>>2]|0;do if(h|0){h=h+(f[(f[h>>2]|0)+-12>>2]|0)|0;q=h+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1)break;Rua(h,1,1)}while(0);f[Y>>2]=0;DK(pa,324876);Gva(X)}while(0);o=(f[c>>2]|0)+24|0;_i[f[(f[o>>2]|0)+8>>2]&2047](o)|0;h=(f[ra>>2]|0)+80|0;k=f[h>>2]|0;do if((k|0)!=(g|0)){f[h>>2]=g;C=g+8|0;f[C>>2]=(f[C>>2]|0)+1;if(!k)break;q=k+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1)break;Rua(k,1,1)}while(0);m=f[ra>>2]|0;q=(j|0)==0;if(q)h=0;else h=cCa(j)|0;k=m+92|0;l=f[k>>2]|0;if((l|0)!=(h|0)){f[k>>2]=h;if(h|0){C=h+8|0;f[C>>2]=(f[C>>2]|0)+1}do if(l|0){h=l+8|0;C=f[h>>2]|0;f[h>>2]=C-1;if((C|0)!=1)break;Rua(l,1,1)}while(0);h=f[k>>2]|0}if(!h)h=0;else h=(f[h+24>>2]|0)==0?0:j;f[m+96>>2]=h;_i[f[(f[o>>2]|0)+12>>2]&2047](o)|0;h=f[c>>2]|0;if(i){h=(f[h+96>>2]|0)+28|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;_Z(f[(f[c>>2]|0)+96>>2]|0,f[ra>>2]|0);i=f[ra>>2]|0;do if(i|0){f[ra>>2]=0;o=i+8|0;C=f[o>>2]|0;f[o>>2]=C-1;if((C|0)!=1)break;Rua(i,1,1)}while(0);_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0}else{h=(f[h+100>>2]|0)+28|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;_Z(f[(f[c>>2]|0)+100>>2]|0,f[ra>>2]|0);i=f[ra>>2]|0;do if(i|0){f[ra>>2]=0;o=i+8|0;C=f[o>>2]|0;f[o>>2]=C-1;if((C|0)!=1)break;Rua(i,1,1)}while(0);_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0}do if(!q){q=j+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1)break;Rua(j,1,1)}while(0);q=g+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1)break;Rua(g,1,1)}while(0);g=f[G>>2]|0;do if(g|0){q=g+8|0;C=f[q>>2]|0;f[q>>2]=C-1;if((C|0)!=1)break;Rua(g,1,1)}while(0);f[G>>2]=0;if((b[N>>0]|0)<0)GBb(f[M>>2]|0);i=0;h=E;g=D}}else{i=0;h=0}while(0);if((b[ka>>0]|0)<0)GBb(f[sa>>2]|0);if(h|0?(D=h+8|0,E=f[D>>2]|0,f[D>>2]=E-1,(E|0)==1):0)Rua(h,1,1);if(g|0?(za=g+(f[(f[g>>2]|0)+-12>>2]|0)|0,D=za+8|0,E=f[D>>2]|0,f[D>>2]=E-1,(E|0)==1):0)Rua(za,1,1);if(a|0?(D=a+8|0,E=f[D>>2]|0,f[D>>2]=E-1,(E|0)==1):0)Rua(a,1,1);a=f[ra>>2]|0;if(a|0?(D=a+8|0,E=f[D>>2]|0,f[D>>2]=E-1,(E|0)==1):0)Rua(a,1,1);if(l4a(F)|0)break;if(!(f[$>>2]|0))C=i;else break}if(e|0?(ya=e+8|0,za=f[ya>>2]|0,f[ya>>2]=za-1,(za|0)==1):0)Rua(e,1,1);if(!d){u=Aa;return}ya=d+8|0;za=f[ya>>2]|0;f[ya>>2]=za-1;if((za|0)!=1){u=Aa;return}Rua(d,1,1);u=Aa;return}function SZ(a){a=a|0;OZ(a+-12|0);return}function TZ(a){a=a|0;a=a+-12|0;OZ(a);GBb(a);return}function UZ(a){a=a|0;QZ(a+-12|0)|0;return 0}function VZ(a){a=a|0;RZ(a+-12|0);return}function WZ(a){a=a|0;return}function XZ(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0.0,m=0,o=0.0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0;x=u;u=u+16|0;t=x;v=a+28|0;_i[f[(f[v>>2]|0)+8>>2]&2047](v)|0;s=a+16|0;w=a+24|0;if(!(f[w>>2]|0)){w=f[v>>2]|0;w=w+12|0;w=f[w>>2]|0;_i[w&2047](v)|0;u=x;return}h=s;k=a+12|0;r=f[(f[k>>2]|0)+84>>2]|0;d=f[a+20>>2]|0;e=d;if((s|0)!=(e|0))do{j=(f[k>>2]|0)+24|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;g=d+8|0;i=f[g>>2]|0;if((b[i+12>>0]|0)!=0?(r-(f[i+44>>2]|0)|0)>>>0<2:0){if((s|0)!=(h|0)?(l=+p[i+48>>3],m=f[h+8>>2]|0,o=+p[m+48>>3],!(l>o)):0){if(!(l>2]>+n[m+56>>2]:0)q=10}else q=10;if((q|0)==10){q=0;h=d}d=f[e+4>>2]|0}else{HZ(a,i);if(qZa(4)|0){i=Nu(Hua(4)|0,394005,50)|0;i=jsb(i,f[g>>2]|0)|0;Drb(t,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);g=utb(t,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(t);ksb(i,g)|0;Krb(i)|0}i=e+4|0;g=f[i>>2]|0;y=f[e>>2]|0;f[y+4>>2]=g;f[f[i>>2]>>2]=y;f[w>>2]=(f[w>>2]|0)+-1;e=f[e+8>>2]|0;if(e|0?(i=e+8|0,y=f[i>>2]|0,f[i>>2]=y-1,(y|0)==1):0)Rua(e,1,1);GBb(d);d=g}_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;e=d}while((s|0)!=(e|0));f[a+40>>2]=r;g=h;if((s|0)==(g|0)){if(qZa(4)|0){y=Nu(Hua(4)|0,394128,83)|0;y=esb(y,f[w>>2]|0)|0;Drb(t,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);w=utb(t,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(t);ksb(y,w)|0;Krb(y)|0}}else{d=f[c>>2]|0;e=f[h+8>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){y=e+8|0;f[y>>2]=(f[y>>2]|0)+1}if(d|0?(c=d+8|0,y=f[c>>2]|0,f[c>>2]=y-1,(y|0)==1):0)Rua(d,1,1)}d=g+4|0;y=f[g>>2]|0;f[y+4>>2]=f[d>>2];f[f[d>>2]>>2]=y;f[w>>2]=(f[w>>2]|0)+-1;d=f[g+8>>2]|0;if(d|0?(c=d+8|0,y=f[c>>2]|0,f[c>>2]=y-1,(y|0)==1):0)Rua(d,1,1);GBb(h);if(qZa(4)|0){y=Nu(Hua(4)|0,394056,71)|0;y=esb(y,f[w>>2]|0)|0;Drb(t,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);w=utb(t,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(t);ksb(y,w)|0;Krb(y)|0}}tj[f[(f[a>>2]|0)+12>>2]&2047](a);y=f[v>>2]|0;y=y+12|0;y=f[y>>2]|0;_i[y&2047](v)|0;u=x;return}function YZ(a){a=a|0;var c=0,d=0;if((b[497144]|0)==0?DDb(497144)|0:0){d=EBb(248)|0;Z$(d);f[124740]=d;d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}if((a?(_$(f[124740]|0),c=f[124740]|0,c|0):0)?(f[124740]=0,a=c+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(c,1,1);return f[124740]|0}function ZZ(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=u;u=u+16|0;i=k;j=c+24|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;e=H$(c,d,e)|0;if((e|0)==(c+16|0)){f[a>>2]=0;a=f[j>>2]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](j)|0;u=k;return}g=f[e+28>>2]|0;h=(g|0)==0;if(h){if(qZa(5)|0){n=Nu(Hua(5)|0,387645,6)|0;l=b[d+11>>0]|0;m=l<<24>>24<0;d=jsb(Nu(Nu(n,m?f[d>>2]|0:d,m?f[d+4>>2]|0:l&255)|0,387670,16)|0,c)|0;Drb(i,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);c=utb(i,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(i);ksb(d,c)|0;Krb(d)|0}}else{n=g+8|0;f[n>>2]=(f[n>>2]|0)+1;if(qZa(5)|0){m=Nu(Hua(5)|0,387645,6)|0;l=b[d+11>>0]|0;n=l<<24>>24<0;d=Nu(Nu(m,n?f[d>>2]|0:d,n?f[d+4>>2]|0:l&255)|0,386719,15)|0;l=g+32|0;n=b[l+11>>0]|0;m=n<<24>>24<0;n=jsb(Nu(Nu(d,m?f[l>>2]|0:l,m?f[g+36>>2]|0:n&255)|0,387652,17)|0,c)|0;Drb(i,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);m=utb(i,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(i);ksb(n,m)|0;Krb(n)|0}}e=f[e+32>>2]|0;f[a>>2]=e;if(e|0){n=e+8|0;f[n>>2]=(f[n>>2]|0)+1}if(h){n=f[j>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](j)|0;u=k;return}m=g+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)!=1){n=f[j>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](j)|0;u=k;return}Rua(g,1,1);n=f[j>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](j)|0;u=k;return}function _Z(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=a+16|0;d=(b|0)==0;if(!d){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}e=EBb(12)|0;f[e>>2]=0;f[e+8>>2]=b;if(!d){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}f[e+4>>2]=c;g=f[c>>2]|0;f[e>>2]=g;f[g+4>>2]=e;f[c>>2]=e;g=a+24|0;f[g>>2]=(f[g>>2]|0)+1;if(!d?(e=b+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(b,1,1);tj[f[(f[a>>2]|0)+12>>2]&2047](a);return}function $Z(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;$Z(a,f[c>>2]|0);$Z(a,f[c+4>>2]|0);e=c+16|0;a=c+32|0;d=f[a>>2]|0;if(d|0?(h=d+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[a>>2]=0;a=c+28|0;d=f[a>>2]|0;if(d|0?(g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[a>>2]=0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);GBb(c);return}function a_(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+32|0;k=m;f[a>>2]=1;i=a+4|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;if((e|0)!=0?(h=f[e+116>>2]|0,(h|0)!=0):0){Ij[f[(f[h>>2]|0)+16>>2]&127](k,h,d,e);if((k|0)!=(a|0)){f[a>>2]=f[k>>2];UBb(i,k+4|0)|0;d=a+16|0;i=f[d>>2]|0;h=k+16|0;j=f[h>>2]|0;if((i|0)!=(j|0)){f[d>>2]=j;if(j|0){l=j+8|0;f[l>>2]=(f[l>>2]|0)+1}if((i|0)!=0?(j=i+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0){Rua(i,1,1);l=11}else l=11}else{d=h;h=j}}else{h=k+16|0;l=11}if((l|0)==11){d=h;h=f[h>>2]|0}if(h|0?(i=h+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(h,1,1);f[d>>2]=0;h=k+4|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}else l=18;do if((l|0)==18){h=f[c+48>>2]|0;if(!h){t_(k,c,d,e);if((k|0)!=(a|0)){f[a>>2]=f[k>>2];UBb(i,k+4|0)|0;d=a+16|0;i=f[d>>2]|0;h=k+16|0;j=f[h>>2]|0;if((i|0)!=(j|0)){f[d>>2]=j;if(j|0){l=j+8|0;f[l>>2]=(f[l>>2]|0)+1}if((i|0)!=0?(j=i+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0){Rua(i,1,1);l=42}else l=42}else{d=h;h=j}}else{h=k+16|0;l=42}if((l|0)==42){d=h;h=f[h>>2]|0}if(h|0?(j=h+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(h,1,1);f[d>>2]=0;h=k+4|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}else{Ij[f[(f[h>>2]|0)+16>>2]&127](k,h,d,e);if((k|0)!=(a|0)){f[a>>2]=f[k>>2];UBb(i,k+4|0)|0;d=a+16|0;i=f[d>>2]|0;h=k+16|0;j=f[h>>2]|0;if((i|0)!=(j|0)){f[d>>2]=j;if(j|0){l=j+8|0;f[l>>2]=(f[l>>2]|0)+1}if((i|0)!=0?(j=i+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0){Rua(i,1,1);l=27}else l=27}else{d=h;h=j}}else{h=k+16|0;l=27}if((l|0)==27){d=h;h=f[h>>2]|0}if(h|0?(j=h+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(h,1,1);f[d>>2]=0;h=k+4|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}}while(0);if(!g){u=m;return}u_(c,a,e);u=m;return}function b_(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+32|0;e=i+12|0;g=i;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;switch(f[c>>2]|0){case 0:{cCb(a,386501)|0;break}case 1:{cCb(a,386517)|0;break}case 2:{cCb(a,386534)|0;break}case 3:{cCb(a,386549)|0;break}case 4:{cCb(a,386560)|0;break}case 5:{cCb(a,386572)|0;break}case 6:{cCb(a,386595)|0;break}case 7:{cCb(a,386610)|0;break}default:{}}h=c+4|0;d=b[h+11>>0]|0;if(d<<24>>24<0)c=f[c+8>>2]|0;else c=d&255;if(!c){u=i;return}CCb(g,386638,h);h=cCb(g,409404)|0;f[e>>2]=f[h>>2];f[e+4>>2]=f[h+4>>2];f[e+8>>2]=f[h+8>>2];f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;h=e+11|0;d=b[h>>0]|0;c=d<<24>>24<0;bCb(a,c?f[e>>2]|0:e,c?f[e+4>>2]|0:d&255)|0;if((b[h>>0]|0)<0)GBb(f[e>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);u=i;return}function c_(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=a+148|0;rZa(g);f[g>>2]=338032;h=a+160|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[a+172>>2]=2;f[a+176>>2]=0;iY(a,324876,12,d);f[a>>2]=324332;f[g>>2]=324708;f[a+132>>2]=c;g=a+144|0;f[g>>2]=0;b[a+120>>0]=b[c+108>>0]|0;b[a+136>>0]=b[c+109>>0]|0;b[a+137>>0]=b[c+110>>0]|0;b[a+138>>0]=b[c+111>>0]|0;f[a+140>>2]=f[c+112>>2];switch(f[c+104>>2]|0){case 3:{a=a+80|0;d=f[a>>2]&-196|130;e=5;break}case 1:{a=a+80|0;d=f[a>>2]&-194|129;e=5;break}case 2:{a=a+80|0;d=f[a>>2]|64;e=5;break}default:{}}if((e|0)==5)f[a>>2]=d;h=(YZ(0)|0)+12|0;if((f[h>>2]|0)!=2)return;h=(YZ(0)|0)+16|0;if(!(f[h>>2]|0))return;d=(YZ(0)|0)+16|0;d=f[d>>2]|0;d=_i[f[(f[d>>2]|0)+200>>2]&2047](d)|0;a=f[g>>2]|0;if((a|0)==(d|0))return;f[g>>2]=d;if(d|0){h=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1}if(!a)return;d=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)return;Rua(d,1,1);return}function d_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=324332;b=a+148|0;f[b>>2]=324708;c=a+144|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=e+8|0,d=f[g>>2]|0,f[g>>2]=d-1,(d|0)==1):0)Rua(e,1,1);f[c>>2]=0;DK(a,324876);Gva(b);return}function e_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=324332;b=a+148|0;f[b>>2]=324708;c=a+144|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=e+8|0,d=f[g>>2]|0,f[g>>2]=d-1,(d|0)==1):0)Rua(e,1,1);f[c>>2]=0;DK(a,324876);Gva(b);GBb(a);return}function f_(a){a=a|0;return 386307}function g_(a){a=a|0;return 386273}function h_(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+144|0;if((f[c>>2]|0)!=0?(d=f[a+128>>2]|0,(d|0)!=(_i[f[(f[b>>2]|0)+148>>2]&2047](b)|0)):0){Bj[f[(f[b>>2]|0)+212>>2]&1023](b,f[c>>2]|0);c=b;d=b}else{c=b;d=b}xK(a,b);if(_i[f[(f[c>>2]|0)+148>>2]&2047](d)|0)return;Bj[f[(f[b>>2]|0)+144>>2]&1023](d,f[a+128>>2]|0);return}function i_(a,c){a=a|0;c=c|0;var d=0,e=0.0;if((f[c+24>>2]|0)!=1?(d=f[a+128>>2]|0,(d|0)!=(_i[f[(f[c>>2]|0)+148>>2]&2047](c)|0)):0){if(b[a+136>>0]|0)b[c+137>>0]=b[a+137>>0]|0;if((b[a+138>>0]|0)!=0?(e=+n[a+140>>2],+n[c+104>>2]!=e):0){C2a(c,e);d=c}else d=c}else d=c;AK(a,c);if(_i[f[(f[d>>2]|0)+148>>2]&2047](c)|0)return;Bj[f[(f[c>>2]|0)+144>>2]&1023](c,f[a+128>>2]|0);return}function j_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=324332;b=a+148|0;f[b>>2]=324708;c=a+144|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=e+8|0,d=f[g>>2]|0,f[g>>2]=d-1,(d|0)==1):0)Rua(e,1,1);f[c>>2]=0;DK(a,324876);Gva(b);return}function k_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=324332;b=a+148|0;f[b>>2]=324708;c=a+144|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=e+8|0,d=f[g>>2]|0,f[g>>2]=d-1,(d|0)==1):0)Rua(e,1,1);f[c>>2]=0;DK(a,324876);Gva(b);GBb(a);return}function l_(a){a=a|0;return 386307}function m_(a){a=a|0;return 386273}function n_(a,b){a=a|0;b=b|0;var c=0;c=f[a+4>>2]|0;a=f[a+8>>2]|0;s_(f[c+96>>2]|0,a);c=f[c+100>>2]|0;b=c+28|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;_Z(c,a);_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;return 1}function o_(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=324280;c=a+12|0;f[c>>2]=324308;a=a+8|0;b=f[a>>2]|0;if(b|0?(e=b+8|0,d=f[e>>2]|0,f[e>>2]=d-1,(d|0)==1):0)Rua(b,1,1);f[a>>2]=0;Uua(c);return}function p_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=324280;b=a+12|0;f[b>>2]=324308;c=a+8|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(d,1,1);f[c>>2]=0;Uua(b);GBb(a);return}function q_(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[b>>2]=324280;a=b+12|0;f[a>>2]=324308;b=b+8|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,d=f[e>>2]|0,f[e>>2]=d-1,(d|0)==1):0)Rua(c,1,1);f[b>>2]=0;Uua(a);return}function r_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=324280;b=a+12|0;f[b>>2]=324308;c=a+8|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(d,1,1);f[c>>2]=0;Uua(b);GBb(a);return}function s_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=a+28|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;c=f[a+20>>2]|0;h=a+16|0;d=c;a:do if((h|0)!=(d|0)){g=c;c=d;while(1){d=c+4|0;e=f[d>>2]|0;if((f[g+8>>2]|0)==(b|0))break;c=e;if((h|0)==(c|0))break a;else g=e}h=f[c>>2]|0;f[h+4>>2]=e;f[f[d>>2]>>2]=h;h=a+24|0;f[h>>2]=(f[h>>2]|0)+-1;c=f[c+8>>2]|0;if(c|0?(b=c+8|0,h=f[b>>2]|0,f[b>>2]=h-1,(h|0)==1):0)Rua(c,1,1);GBb(g)}while(0);_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;return}function t_(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;i=u;u=u+32|0;g=i;rZa(g);f[g>>2]=324904;h=g+12|0;OBb(h,d);f[g+24>>2]=e;f[g>>2]=324940;v_(a,c,g,1);f[g>>2]=324904;if((b[h+11>>0]|0)>=0){Uua(g);u=i;return}GBb(f[h>>2]|0);Uua(g);u=i;return}function u_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!((c|0)!=0?(d=f[c+80>>2]|0,(d|0)!=0):0))d=f[a+12>>2]|0;if((d|0)!=2)return;c=f[a+16>>2]|0;if(!c)return;a=b+16|0;d=f[a>>2]|0;if(!d)return;if(!(WCb(d,295088,295136,0)|0))return;c=_i[f[(f[c>>2]|0)+200>>2]&2047](c)|0;b=(c|0)==0;if(!b){d=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}d=f[a>>2]|0;if(!d)d=0;else d=WCb(d,295088,295136,0)|0;Bj[f[(f[d>>2]|0)+212>>2]&1023](d,c);if(b)return;d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;a=d+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(d,1,1);return}function v_(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|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;t=u;u=u+48|0;r=t+36|0;s=t+24|0;g=t+20|0;q=t;OBb(s,d+12|0);n=f[d+24>>2]|0;h=(n|0)!=0;if(h?(i=f[n+72>>2]|0,(i|0)!=0):0)if((e|0)==8)m=49;else{l=1;m=5}else if((e|0)==8|(f[c+212>>2]|0)==0|h^1)m=49;else{l=0;i=0;m=5}if((m|0)==5)if(!(f[n+68>>2]&e))m=49;else{if(l){ZZ(g,i,s,n);h=f[g>>2]|0;if(!h)m=9;else m=15}else{f[g>>2]=0;m=9}do if((m|0)==9){e=c+212|0;h=f[e>>2]|0;if(h|0){ZZ(r,h,s,n);h=f[r>>2]|0;if((h|0?(f[g>>2]=h,j=h+8|0,f[j>>2]=(f[j>>2]|0)+1,j=f[r>>2]|0,j|0):0)?(h=j+8|0,m=f[h>>2]|0,f[h>>2]=m-1,(m|0)==1):0)Rua(j,1,1);h=f[g>>2]|0;if(h|0){m=15;break}}w_(q,c,d);c=q+16|0;do if(!(f[c>>2]|0))if(qZa(4)|0){n=Nu(Hua(4)|0,386684,26)|0;m=b[s+11>>0]|0;d=m<<24>>24<0;m=Nu(n,d?f[s>>2]|0:s,d?f[s+4>>2]|0:m&255)|0;Drb(r,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);d=utb(r,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(r);ksb(m,d)|0;Krb(m)|0;m=37}else m=37;else{ZZ(r,f[e>>2]|0,s,n);h=f[r>>2]|0;if((h|0?(f[g>>2]=h,k=h+8|0,f[k>>2]=(f[k>>2]|0)+1,k=f[r>>2]|0,k|0):0)?(j=k+8|0,m=f[j>>2]|0,f[j>>2]=m-1,(m|0)==1):0)Rua(k,1,1);h=f[g>>2]|0;if(!h){if(l){x_(i,s,f[c>>2]|0,0.0,n);m=37;break}h=f[e>>2]|0;if(!h){m=37;break}x_(h,s,f[c>>2]|0,0.0,n);m=37;break}if(cj[f[(f[d>>2]|0)+20>>2]&1023](d,h)|0){f[a>>2]=5;m=a+4|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[a+16>>2]=h;m=h+8|0;f[m>>2]=(f[m>>2]|0)+1;m=39;break};f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;h=EBb(48)|0;f[r>>2]=h;f[r+8>>2]=-2147483600;f[r+4>>2]=42;i=h;e=386641;j=i+42|0;do{b[i>>0]=b[e>>0]|0;i=i+1|0;e=e+1|0}while((i|0)<(j|0));b[h+42>>0]=0;f[a>>2]=3;OBb(a+4|0,r);f[a+16>>2]=0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);m=39}while(0);if((m|0)==37?(f[a>>2]=f[q>>2],OBb(a+4|0,q+4|0),p=f[c>>2]|0,f[a+16>>2]=p,p|0):0){m=p+8|0;f[m>>2]=(f[m>>2]|0)+1;m=39}if(((m|0)==39?(o=f[c>>2]|0,o|0):0)?(r=o+8|0,a=f[r>>2]|0,f[r>>2]=a-1,(a|0)==1):0)Rua(o,1,1);f[c>>2]=0;h=q+4|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}while(0);do if((m|0)==15){if(cj[f[(f[d>>2]|0)+20>>2]&1023](d,h)|0){f[a>>2]=5;r=a+4|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[a+16>>2]=h;a=h+8|0;f[a>>2]=(f[a>>2]|0)+1;break};f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;h=EBb(48)|0;f[r>>2]=h;f[r+8>>2]=-2147483600;f[r+4>>2]=42;i=h;e=386641;j=i+42|0;do{b[i>>0]=b[e>>0]|0;i=i+1|0;e=e+1|0}while((i|0)<(j|0));b[h+42>>0]=0;f[a>>2]=3;OBb(a+4|0,r);f[a+16>>2]=0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0)}while(0);h=f[g>>2]|0;if(h|0?(r=h+8|0,a=f[r>>2]|0,f[r>>2]=a-1,(a|0)==1):0)Rua(h,1,1);f[g>>2]=0}if((m|0)==49)w_(a,c,d);if((b[s+11>>0]|0)>=0){u=t;return}GBb(f[s>>2]|0);u=t;return}function w_(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=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,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;Y=u;u=u+96|0;T=Y;X=Y+84|0;U=Y+64|0;V=Y+44|0;W=Y+32|0;S=Y+20|0;e=f[c+224>>2]|0;r=c+228|0;a:do if((e|0)==(f[r>>2]|0)){s=a+4|0;w=a;x=s;t=s+11|0;P=a+16|0}else{s=d+12|0;v=s+11|0;w=T+11|0;x=T+4|0;y=d+16|0;A=X+11|0;B=X+4|0;C=T+11|0;D=T+4|0;E=U+11|0;F=U+4|0;G=d+24|0;P=a+16|0;H=V+11|0;I=V+4|0;J=T+4|0;K=(T|0)==(a|0);L=T+16|0;M=T+4|0;O=a+4|0;N=M+11|0;t=O+11|0;while(1){CCb(X,486551,e);B_(T,X,47);g=b[v>>0]|0;i=g<<24>>24<0;j=i?f[s>>2]|0:s;m=b[w>>0]|0;p=m<<24>>24<0;q=f[T>>2]|0;l=p?q:T;m=p?f[x>>2]|0:m&255;if(!m)g=0;else{i=i?f[y>>2]|0:g&255;n=j+i|0;g=n;o=j;b:do if((i|0)<(m|0))i=n;else{k=h[l>>0]|0;while(1){i=i-m+1|0;if(!i){i=n;break b}j=Ymb(j,k,i)|0;if(!j){i=n;break b}if(!(anb(j,l,m)|0))break;j=j+1|0;i=g-j|0;if((i|0)<(m|0)){i=n;break b}}i=j;g=j}while(0);g=(i|0)==(n|0)?-1:g-o|0}if(p)GBb(q);if((g|0)==-1){B_(T,X,92);g=b[v>>0]|0;i=g<<24>>24<0;j=i?f[s>>2]|0:s;m=b[C>>0]|0;p=m<<24>>24<0;q=f[T>>2]|0;l=p?q:T;m=p?f[D>>2]|0:m&255;if(!m)g=0;else{i=i?f[y>>2]|0:g&255;n=j+i|0;g=n;o=j;c:do if((i|0)<(m|0))i=n;else{k=h[l>>0]|0;while(1){i=i-m+1|0;if(!i){i=n;break c}j=Ymb(j,k,i)|0;if(!j){i=n;break c}if(!(anb(j,l,m)|0))break;j=j+1|0;i=g-j|0;if((i|0)<(m|0)){i=n;break c}}i=j;g=j}while(0);g=(i|0)==(n|0)?-1:g-o|0}if(p)GBb(q);if((g|0)==-1)Q=82;else Q=29}else Q=29;if((Q|0)==29){Q=0;q=b[A>>0]|0;q=(q<<24>>24<0?f[B>>2]|0:q&255)+g|0;SBb(U,s,0,q,s);SBb(V,s,q+1|0,-1,s);if(qZa(4)|0){o=Nu(Hua(4)|0,386770,19)|0;q=b[v>>0]|0;p=q<<24>>24<0;q=Nu(o,p?f[s>>2]|0:s,p?f[y>>2]|0:q&255)|0;Drb(T,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);p=utb(T,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(T);ksb(q,p)|0;Krb(q)|0}if(qZa(4)|0){o=Nu(Hua(4)|0,386790,19)|0;q=b[E>>0]|0;p=q<<24>>24<0;q=Nu(o,p?f[U>>2]|0:U,p?f[F>>2]|0:q&255)|0;Drb(T,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);p=utb(T,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(T);ksb(q,p)|0;Krb(q)|0}if(qZa(4)|0){o=Nu(Hua(4)|0,386810,20)|0;q=b[H>>0]|0;p=q<<24>>24<0;q=Nu(o,p?f[V>>2]|0:V,p?f[I>>2]|0:q&255)|0;Drb(T,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);p=utb(T,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(T);ksb(q,p)|0;Krb(q)|0}C_(a,c,U,0,4096,f[G>>2]|0);g=f[P>>2]|0;do if((g|0)!=0?(z=WCb(g,295088,285568,0)|0,(z|0)!=0):0){g=f[G>>2]|0;if(!g){g=EBb(148)|0;v_a(g,1);i=g+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[g+24>>2]=2;f[g+28>>2]=0;f[g>>2]=324084;i=g+68|0;j=g+32|0;k=j+36|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(k|0));f[i>>2]=8;k=g+72|0;j=g+92|0;f[j>>2]=0;f[g+96>>2]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[g+88>>2]=j;j=g+104|0;f[j>>2]=0;f[g+108>>2]=0;f[g+100>>2]=j;j=g+112|0;k=j+36|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(k|0));q=g+8|0;f[q>>2]=(f[q>>2]|0)+1;q=g;i=0}else{f[T>>2]=346256;f[J>>2]=0;g=cj[f[(f[g>>2]|0)+16>>2]&1023](g,T)|0;i=(g|0)==0;if(!i){q=g+8|0;f[q>>2]=(f[q>>2]|0)+1}q=g}l=q+44|0;D_(l);n=q+52|0;j=f[n>>2]|0;o=q+48|0;g=f[o>>2]|0;Z=j-g|0;m=q+60|0;p=q+64|0;k=(f[p>>2]|0)+(f[m>>2]|0)|0;if((((Z|0)==0?0:((Z>>2)*341|0)+-1|0)|0)==(k|0)){E_(l);k=(f[m>>2]|0)+(f[p>>2]|0)|0;j=f[n>>2]|0;g=f[o>>2]|0}if((j|0)==(g|0))g=0;else{Z=(k>>>0)/341|0;g=(f[g+(Z<<2)>>2]|0)+((k-(Z*341|0)|0)*12|0)|0}OBb(g,U);f[p>>2]=(f[p>>2]|0)+1;k=dj[f[(f[d>>2]|0)+24>>2]&255](d,V,q)|0;if(k|0){Z=k+8|0;f[Z>>2]=(f[Z>>2]|0)+1}Fj[f[(f[k>>2]|0)+12>>2]&511](T,k,z);do if(!K){f[a>>2]=f[T>>2];UBb(O,M)|0;j=f[P>>2]|0;g=f[L>>2]|0;if((j|0)!=(g|0)){f[P>>2]=g;if(g|0){Z=g+8|0;f[Z>>2]=(f[Z>>2]|0)+1}if(!j){Q=55;break}Q=j+8|0;Z=f[Q>>2]|0;f[Q>>2]=Z-1;if((Z|0)!=1){Q=55;break}Rua(j,1,1);Q=55}}else Q=55;while(0);if((Q|0)==55){Q=0;g=f[L>>2]|0}do if(g|0){p=g+8|0;Z=f[p>>2]|0;f[p>>2]=Z-1;if((Z|0)!=1)break;Rua(g,1,1)}while(0);f[L>>2]=0;if((b[N>>0]|0)<0)GBb(f[M>>2]|0);Z=cj[f[(f[k>>2]|0)+16>>2]&1023](k,a)|0;g=qZa(4)|0;do if(Z){if(!g){g=1;j=1;break}g=Nu(Hua(4)|0,386831,24)|0;Drb(T,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);j=utb(T,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(T);ksb(g,j)|0;Krb(g)|0;g=1;j=1}else{if(!g){g=0;j=0;break}g=Nu(Hua(4)|0,386856,34)|0;Drb(T,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);j=utb(T,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(T);ksb(g,j)|0;Krb(g)|0;g=0;j=0}while(0);p=k+8|0;Z=f[p>>2]|0;f[p>>2]=Z-1;if((Z|0)==1)Rua(k,1,1);do if(!i){p=q+8|0;Z=f[p>>2]|0;f[p>>2]=Z-1;if((Z|0)!=1)break;Rua(q,1,1)}while(0);if(j)break;i=f[P>>2]|0;do if(i|0){q=i+8|0;Z=f[q>>2]|0;f[q>>2]=Z-1;if((Z|0)!=1)break;Rua(i,1,1)}while(0);f[P>>2]=0;if((b[t>>0]|0)>=0)break;GBb(f[O>>2]|0)}else g=1;while(0);if((b[H>>0]|0)<0)GBb(f[V>>2]|0);if((b[E>>0]|0)<0)GBb(f[U>>2]|0);if(!g)Q=82;else g=1}if((Q|0)==82){Q=0;g=0}if((b[A>>0]|0)<0)GBb(f[X>>2]|0);e=e+12|0;if(g|0)break;if((e|0)==(f[r>>2]|0)){w=a;x=O;s=O;break a}}u=Y;return}while(0);f[X>>2]=0;y=X+4|0;f[y>>2]=0;q=X+8|0;f[q>>2]=0;m=c+60|0;f[U>>2]=c+72;r=U+4|0;f[r>>2]=m;f[U+12>>2]=0;f[U+16>>2]=0;v=U+12|0;f[U+8>>2]=v;while(1){_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;k=f[U>>2]|0;e=f[k>>2]|0;k=f[k+4>>2]|0;d:do if((e|0)==(k|0))e=0;else{l=f[v>>2]|0;if(!l){e=f[e>>2]|0;break}j=e;while(1){e=f[j>>2]|0;g=v;i=l;do{Z=(f[i+16>>2]|0)>>>0>>0;g=Z?g:i;i=f[(Z?i+4|0:i)>>2]|0}while((i|0)!=0);if((g|0)==(v|0))break d;j=j+4|0;if(e>>>0<(f[g+16>>2]|0)>>>0)break d;if((j|0)==(k|0)){e=0;break}}}while(0);_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;if(!e){Q=118;break}m=f[(f[d>>2]|0)+12>>2]|0;n=f[r>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;k=f[U>>2]|0;e=f[k>>2]|0;k=f[k+4>>2]|0;e:do if((e|0)==(k|0))e=0;else{l=f[v>>2]|0;if(!l){e=f[e>>2]|0;break}j=e;while(1){e=f[j>>2]|0;g=v;i=l;do{Z=(f[i+16>>2]|0)>>>0>>0;g=Z?g:i;i=f[(Z?i+4|0:i)>>2]|0}while((i|0)!=0);if((g|0)==(v|0))break e;j=j+4|0;if(e>>>0<(f[g+16>>2]|0)>>>0)break e;if((j|0)==(k|0)){e=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Fj[m&511](a,d,e);if(cj[f[(f[d>>2]|0)+16>>2]&1023](d,a)|0)break;e=f[y>>2]|0;if((e|0)==(f[q>>2]|0))F_(X,a);else{f[e>>2]=f[w>>2];OBb(e+4|0,x);g=f[P>>2]|0;f[e+16>>2]=g;if(g|0){Z=g+8|0;f[Z>>2]=(f[Z>>2]|0)+1}f[y>>2]=(f[y>>2]|0)+20}e=f[P>>2]|0;if(e|0?(O=e+8|0,Z=f[O>>2]|0,f[O>>2]=Z-1,(Z|0)==1):0)Rua(e,1,1);f[P>>2]=0;if((b[t>>0]|0)<0)GBb(f[s>>2]|0);G_(U);m=f[r>>2]|0}if((Q|0)==118){m=c+108|0;f[V>>2]=c+120;o=V+4|0;f[o>>2]=m;f[V+12>>2]=0;f[V+16>>2]=0;p=V+12|0;f[V+8>>2]=p;while(1){_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;k=f[V>>2]|0;e=f[k>>2]|0;k=k+4|0;f:do if((e|0)==(k|0))e=0;else{l=f[p>>2]|0;if(!l){e=f[e+28>>2]|0;break}j=e;while(1){e=f[j+28>>2]|0;g=p;i=l;do{Z=(f[i+16>>2]|0)>>>0>>0;g=Z?g:i;i=f[(Z?i+4|0:i)>>2]|0}while((i|0)!=0);if((g|0)==(p|0))break f;if(e>>>0<(f[g+16>>2]|0)>>>0)break f;e=f[j+4>>2]|0;if(!e){g=j+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(j|0))do{Z=f[g>>2]|0;g=Z+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(Z|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(k|0)){e=0;break}else j=e}}while(0);_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;if(!e){Q=165;break}m=f[(f[d>>2]|0)+12>>2]|0;n=f[o>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;k=f[V>>2]|0;e=f[k>>2]|0;k=k+4|0;g:do if((e|0)==(k|0))e=0;else{l=f[p>>2]|0;if(!l){e=f[e+28>>2]|0;break}j=e;while(1){e=f[j+28>>2]|0;g=p;i=l;do{Z=(f[i+16>>2]|0)>>>0>>0;g=Z?g:i;i=f[(Z?i+4|0:i)>>2]|0}while((i|0)!=0);if((g|0)==(p|0))break g;if(e>>>0<(f[g+16>>2]|0)>>>0)break g;e=f[j+4>>2]|0;if(!e){g=j+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(j|0))do{Z=f[g>>2]|0;g=Z+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(Z|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(k|0)){e=0;break}else j=e}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Fj[m&511](a,d,e);if(cj[f[(f[d>>2]|0)+16>>2]&1023](d,a)|0)break;e=f[w>>2]|0;do if((e|0)!=2){g=f[y>>2]|0;if((g|0)==(f[q>>2]|0)){F_(X,a);break}f[g>>2]=e;OBb(g+4|0,x);e=f[P>>2]|0;f[g+16>>2]=e;if(e|0){Z=e+8|0;f[Z>>2]=(f[Z>>2]|0)+1}f[y>>2]=(f[y>>2]|0)+20}while(0);e=f[P>>2]|0;if(e|0?(O=e+8|0,Z=f[O>>2]|0,f[O>>2]=Z-1,(Z|0)==1):0)Rua(e,1,1);f[P>>2]=0;if((b[t>>0]|0)<0)GBb(f[s>>2]|0);H_(V);m=f[o>>2]|0}if((Q|0)==165){o=d+12|0;I_(T,o);J_(W,c,T);if((b[T+11>>0]|0)<0)GBb(f[T>>2]|0);h:do if(!(K_(c,W)|0))Q=200;else while(1){m=f[r>>2]|0;_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;k=f[U>>2]|0;e=f[k>>2]|0;k=f[k+4>>2]|0;i:do if((e|0)==(k|0))e=0;else{l=f[v>>2]|0;if(!l){e=f[e>>2]|0;break}j=e;while(1){e=f[j>>2]|0;g=v;i=l;do{Z=(f[i+16>>2]|0)>>>0>>0;g=Z?g:i;i=f[(Z?i+4|0:i)>>2]|0}while((i|0)!=0);if((g|0)==(v|0))break i;j=j+4|0;if(e>>>0<(f[g+16>>2]|0)>>>0)break i;if((j|0)==(k|0)){e=0;break}}}while(0);_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;if(!e){Q=200;break h}m=f[(f[d>>2]|0)+12>>2]|0;n=f[r>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;k=f[U>>2]|0;e=f[k>>2]|0;k=f[k+4>>2]|0;j:do if((e|0)==(k|0))e=0;else{l=f[v>>2]|0;if(!l){e=f[e>>2]|0;break}j=e;while(1){e=f[j>>2]|0;g=v;i=l;do{Z=(f[i+16>>2]|0)>>>0>>0;g=Z?g:i;i=f[(Z?i+4|0:i)>>2]|0}while((i|0)!=0);if((g|0)==(v|0))break j;j=j+4|0;if(e>>>0<(f[g+16>>2]|0)>>>0)break j;if((j|0)==(k|0)){e=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Fj[m&511](a,d,e);if(cj[f[(f[d>>2]|0)+16>>2]&1023](d,a)|0)break h;e=f[y>>2]|0;if((e|0)==(f[q>>2]|0))F_(X,a);else{f[e>>2]=f[w>>2];OBb(e+4|0,x);g=f[P>>2]|0;f[e+16>>2]=g;if(g|0){Z=g+8|0;f[Z>>2]=(f[Z>>2]|0)+1}f[y>>2]=(f[y>>2]|0)+20}e=f[P>>2]|0;if(e|0?(O=e+8|0,Z=f[O>>2]|0,f[O>>2]=Z-1,(Z|0)==1):0)Rua(e,1,1);f[P>>2]=0;if((b[t>>0]|0)<0)GBb(f[s>>2]|0);G_(U)}while(0);do if((Q|0)==200){if(!(L_(o)|0)){e=f[X>>2]|0;g=f[y>>2]|0;if((e|0)==(g|0)){CCb(S,386948,o);Z=cCb(S,386998)|0;f[T>>2]=f[Z>>2];f[T+4>>2]=f[Z+4>>2];f[T+8>>2]=f[Z+8>>2];f[Z>>2]=0;f[Z+4>>2]=0;f[Z+8>>2]=0;f[w>>2]=3;OBb(x,T);f[P>>2]=0;if((b[T+11>>0]|0)<0)GBb(f[T>>2]|0);if((b[S+11>>0]|0)<0)GBb(f[S>>2]|0);break}N_(e,g,T);e=f[y>>2]|0;f[T>>2]=f[e+-20>>2];g=T+4|0;OBb(g,e+-16|0);i=T+16|0;e=f[e+-4>>2]|0;f[i>>2]=e;if(e|0){Z=e+8|0;f[Z>>2]=(f[Z>>2]|0)+1}f[w>>2]=f[T>>2];OBb(x,g);e=f[i>>2]|0;f[P>>2]=e;if((e|0?(R=e+8|0,f[R>>2]=(f[R>>2]|0)+1,R=f[i>>2]|0,R|0):0)?(T=R+8|0,Z=f[T>>2]|0,f[T>>2]=Z-1,(Z|0)==1):0)Rua(R,1,1);f[i>>2]=0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);break}g=b[o+11>>0]|0;k=g<<24>>24<0;e=k?f[o>>2]|0:o;g=k?f[d+16>>2]|0:g&255;k=e+g|0;i=k;j=e;k:do if((g|0)>=3){while(1){g=g+-2|0;if(!g){Q=209;break k}g=Ymb(e,58,g)|0;if(!g){Q=209;break k}if(!(anb(g,386891,3)|0))break;e=g+1|0;g=i-e|0;if((g|0)<3){Q=209;break k}}e=g-j|0;if(!((g|0)==(k|0)|(e|0)==-1))SBb(T,o,0,e,o);else Q=209}else Q=209;while(0);if((Q|0)==209){f[T>>2]=0;f[T+4>>2]=0;f[T+8>>2]=0}I_(S,o);e=M_(c,T,S)|0;if((b[S+11>>0]|0)<0)GBb(f[S>>2]|0);if((b[T+11>>0]|0)<0)GBb(f[T>>2]|0);if(e|0){Fj[f[(f[d>>2]|0)+12>>2]&511](a,d,e);break};f[T>>2]=0;f[T+4>>2]=0;f[T+8>>2]=0;e=EBb(64)|0;f[T>>2]=e;f[T+8>>2]=-2147483584;f[T+4>>2]=52;j=e;g=386895;k=j+52|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[e+52>>0]=0;f[w>>2]=3;OBb(x,T);f[P>>2]=0;if((b[T+11>>0]|0)<0)GBb(f[T>>2]|0)}while(0);if((b[W+11>>0]|0)<0)GBb(f[W>>2]|0)}O_(V+8|0,f[p>>2]|0)}P_(U+8|0,f[v>>2]|0);j=f[X>>2]|0;if(j|0){e=f[y>>2]|0;if((e|0)==(j|0))e=j;else{do{g=e+-4|0;i=f[g>>2]|0;if(i|0?(W=i+8|0,Z=f[W>>2]|0,f[W>>2]=Z-1,(Z|0)==1):0)Rua(i,1,1);f[g>>2]=0;g=e+-16|0;e=e+-20|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0)}while((e|0)!=(j|0));e=f[X>>2]|0}f[y>>2]=j;GBb(e)}u=Y;return}function x_(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=+e;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,v=0;t=u;u=u+64|0;r=t+40|0;s=t+24|0;n=t+8|0;h=t;if(!d){u=t;return}q=a+24|0;_i[f[(f[q>>2]|0)+8>>2]&2047](q)|0;m=d+8|0;f[m>>2]=(f[m>>2]|0)+1;o=(g|0)!=0;if(o){f[h>>2]=346256;f[h+4>>2]=0;l=1;h=y_(g,h)|0}else{l=0;h=0}OBb(n,c);k=n+12|0;f[k>>2]=h;if(h|0){j=h+8|0;f[j>>2]=(f[j>>2]|0)+1}f[s>>2]=n;z_(r,a+12|0,n,505017,s,t+48|0);h=f[r>>2]|0;i=h+32|0;j=f[i>>2]|0;if(((j|0)!=(d|0)?(f[i>>2]=d,f[m>>2]=(f[m>>2]|0)+1,j|0):0)?(v=j+8|0,i=f[v>>2]|0,f[v>>2]=i-1,(i|0)==1):0)Rua(j,1,1);p[h+40>>3]=e;h=f[k>>2]|0;if(h|0?(j=h+8|0,v=f[j>>2]|0,f[j>>2]=v-1,(v|0)==1):0)Rua(h,1,1);f[k>>2]=0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);v=f[m>>2]|0;f[m>>2]=v-1;if((v|0)==1)Rua(d,1,1);if(qZa(5)|0){n=Nu(Hua(5)|0,386711,7)|0;k=b[c+11>>0]|0;v=k<<24>>24<0;k=Nu(Nu(n,v?f[c>>2]|0:c,v?f[c+4>>2]|0:k&255)|0,386719,15)|0;if(o){OBb(s,g+32|0);i=s+11|0;h=i;i=b[i>>0]|0;j=f[s+4>>2]|0}else{f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;h=s+11|0;i=0;j=0}v=i<<24>>24<0;v=jsb(Nu(Nu(k,v?f[s>>2]|0:s,v?j:i&255)|0,386735,17)|0,a)|0;Drb(r,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);a=utb(r,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(r);ksb(v,a)|0;Krb(v)|0;if((b[h>>0]|0)<0)GBb(f[s>>2]|0)}_i[f[(f[q>>2]|0)+12>>2]&2047](q)|0;u=t;return}function y_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;d=e;if(!a){if(!(qZa(2)|0)){d=0;u=e;return d|0}c=Nu(Hua(2)|0,409863,88)|0;Drb(d,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);b=utb(d,504576)|0;b=cj[f[(f[b>>2]|0)+28>>2]&1023](b,10)|0;vtb(d);ksb(c,b)|0;Krb(c)|0;d=0;u=e;return d|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,b)|0;b=(a|0)==0;if(!b?(c=a+8|0,f[c>>2]=(f[c>>2]|0)+1,c=WCb(a,295088,286816,0)|0,c|0):0){v0a(a)|0;d=c;u=e;return d|0}if(qZa(2)|0){c=Nu(Hua(2)|0,409774,88)|0;Drb(d,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);g=utb(d,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(d);ksb(c,g)|0;Krb(c)|0}if(b){g=0;u=e;return g|0}d=a+8|0;g=f[d>>2]|0;f[d>>2]=g-1;if((g|0)!=1){g=0;u=e;return g|0}Rua(a,1,1);g=0;u=e;return g|0}function z_(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0,j=0;h=c+4|0;e=f[h>>2]|0;do if(e){i=c+4|0;while(1){h=e+16|0;if(A_(0,d,h)|0){h=f[e>>2]|0;if(!h){h=5;break}else{i=e;e=h}}else{if(!(A_(0,h,d)|0)){h=9;break}i=e+4|0;h=f[i>>2]|0;if(!h){h=8;break}else e=h}}if((h|0)==5){d=e;i=e;break}else if((h|0)==8){d=e;break}else if((h|0)==9){d=e;break}}else{d=h;i=h}while(0);e=f[i>>2]|0;if(e|0){c=e;g=0;f[a>>2]=c;c=a+4|0;b[c>>0]=g;return}h=EBb(48)|0;j=h+16|0;e=f[g>>2]|0;f[j>>2]=f[e>>2];f[j+4>>2]=f[e+4>>2];f[j+8>>2]=f[e+8>>2];f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;e=f[e+12>>2]|0;f[h+28>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}f[h+32>>2]=0;p[h+40>>3]=0.0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=d;f[i>>2]=h;e=f[f[c>>2]>>2]|0;if(!e)e=h;else{f[c>>2]=e;e=f[i>>2]|0}Xo(f[c+4>>2]|0,e);j=c+8|0;f[j>>2]=(f[j>>2]|0)+1;j=h;c=1;f[a>>2]=j;j=a+4|0;b[j>>0]=c;return}function A_(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=b[d+11>>0]|0;i=j<<24>>24<0;j=i?f[d+4>>2]|0:j&255;a=b[c+11>>0]|0;k=a<<24>>24<0;a=k?f[c+4>>2]|0:a&255;o=j>>>0>>0;n=o?j:a;g=(n|0)==0;if(!g?(m=k?f[c>>2]|0:c,h=i?f[d>>2]|0:d,l=anb(m,h,n)|0,(l|0)!=0):0)if((l|0)<0){d=1;return d|0}else{a=m;g=7}else{if(a>>>0>>0){d=1;return d|0}if(g)g=8;else{h=i?f[d>>2]|0:d;a=k?f[c>>2]|0:c;g=7}}if((g|0)==7){a=anb(h,a,n)|0;if(a){if((a|0)<0){d=0;return d|0}}else g=8}if((g|0)==8?o:0){d=0;return d|0}g=f[c+12>>2]|0;a=f[d+12>>2]|0;if((g|0)==(a|0)){d=0;return d|0}if(!((g|0)!=0&(a|0)!=0)){d=g>>>0>>0;return d|0}h=g+32|0;k=a+32|0;j=b[k+11>>0]|0;l=j<<24>>24<0;j=l?f[a+36>>2]|0:j&255;a=b[h+11>>0]|0;if(a<<24>>24<0){i=f[g+36>>2]|0;h=f[h>>2]|0}else i=a&255;g=j>>>0>>0;a=g?j:i;if(!((a|0)!=0?(e=anb(h,l?f[k>>2]|0:k,a)|0,(e|0)!=0):0))e=i>>>0>>0?-1:g&1;d=(e|0)<0;return d|0}function B_(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;g=b[c+11>>0]|0;e=g<<24>>24<0;g=e?f[c+4>>2]|0:g&255;e=e?f[c>>2]|0:c;c=g+1|0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11){b[a+11>>0]=g;if(!g){e=a;g=e+g|0;b[g>>0]=0;dCb(a,d);return}else c=a}else{h=g+17&-16;c=EBb(h)|0;f[a>>2]=c;f[a+8>>2]=h|-2147483648;f[a+4>>2]=g}YDb(c|0,e|0,g|0)|0;h=c;h=h+g|0;b[h>>0]=0;dCb(a,d);return}function C_(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+64|0;m=o+36|0;l=o;k=c+108|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;j=p$(c+120|0,d)|0;if((j|0)!=(c+124|0)?(i=f[j+28>>2]|0,(i|0)!=0):0){j=i+8|0;f[j>>2]=(f[j>>2]|0)+1}else i=0;_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;if(i|0){f[a>>2]=4;n=a+4|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[a+16>>2]=i;n=i+8|0;f[n>>2]=(f[n>>2]|0)+1;a=f[n>>2]|0;f[n>>2]=a-1;if((a|0)!=1){u=o;return}Rua(i,1,1);u=o;return}rZa(l);f[l>>2]=324904;i=l+12|0;OBb(i,d);f[l+24>>2]=h;f[l>>2]=324996;f[l+28>>2]=e;f[l+32>>2]=g;v_(m,c,l,8);f[l>>2]=324904;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);Uua(l);k=m+16|0;i=f[k>>2]|0;do if(i|0?WCb(i,295088,285568,0)|0:0){if(h|0?(f[h+68>>2]&8|0)==0:0)break;q$(c,d,WCb(i,295088,285568,0)|0)}while(0);f[a>>2]=f[m>>2];i=m+4|0;OBb(a+4|0,i);j=f[k>>2]|0;f[a+16>>2]=j;if((j|0?(n=j+8|0,f[n>>2]=(f[n>>2]|0)+1,n=f[k>>2]|0,n|0):0)?(m=n+8|0,a=f[m>>2]|0,f[m>>2]=a-1,(a|0)==1):0)Rua(n,1,1);f[k>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);u=o;return}function D_(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=a+4|0;h=f[k>>2]|0;l=a+16|0;e=f[l>>2]|0;g=(e>>>0)/341|0;d=h+(g<<2)|0;j=a+8|0;c=f[j>>2]|0;if((c|0)==(h|0)){g=0;i=0;a=a+20|0}else{a=a+20|0;m=(f[a>>2]|0)+e|0;i=(m>>>0)/341|0;g=(f[d>>2]|0)+((e-(g*341|0)|0)*12|0)|0;i=(f[h+(i<<2)>>2]|0)+((m-(i*341|0)|0)*12|0)|0}e=g;if((i|0)==(e|0)){g=j;e=h;d=h}else{c=g;do{if((b[c+11>>0]|0)<0)GBb(f[e>>2]|0);c=e+12|0;if((c-(f[d>>2]|0)|0)==4092){c=d+4|0;d=c;c=f[c>>2]|0}e=c}while((i|0)!=(e|0));d=f[k>>2]|0;g=j;e=d;c=f[j>>2]|0}f[a>>2]=0;c=c-e>>2;if(c>>>0>2)do{GBb(f[d>>2]|0);d=(f[k>>2]|0)+4|0;f[k>>2]=d;c=(f[g>>2]|0)-d>>2}while(c>>>0>2);switch(c|0){case 1:{c=170;break}case 2:{c=341;break}default:return}f[l>>2]=c;return}function E_(a){a=a|0;var b=0,c=0,d=0,e=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;r=u;u=u+32|0;k=r+4|0;g=r;b=a+16|0;c=f[b>>2]|0;if(c>>>0>340){f[b>>2]=c+-341;o=a+4|0;m=f[o>>2]|0;q=f[m>>2]|0;m=m+4|0;f[o>>2]=m;p=a+8|0;b=f[p>>2]|0;n=a+12|0;l=f[n>>2]|0;d=l;do if((b|0)==(l|0)){i=m;c=f[a>>2]|0;e=c;if(m>>>0>c>>>0){d=((i-e>>2)+1|0)/-2|0;e=m+(d<<2)|0;c=b-i|0;if(!c)b=e;else{ZDb(e|0,m|0,c|0)|0;b=(f[o>>2]|0)+(d<<2)|0}a=e+(c>>2<<2)|0;f[p>>2]=a;f[o>>2]=b;b=a;break}e=d-e|0;e=(e|0)==0?1:e>>1;g=e>>>2;do if(e)if(e>>>0>1073741823){r=ab(8)|0;KBb(r,410101);f[r>>2]=362060;eb(r|0,302144,1464)}else{h=EBb(e<<2)|0;break}else h=0;while(0);k=h;d=h+(g<<2)|0;l=d;j=h+(e<<2)|0;if((m|0)==(b|0))b=l;else{e=((b+-4-i|0)>>>2)+1|0;c=m;while(1){f[d>>2]=f[c>>2];c=c+4|0;if((c|0)==(b|0))break;else d=d+4|0}b=h+(e+g<<2)|0;c=f[a>>2]|0}f[a>>2]=k;f[o>>2]=l;f[p>>2]=b;f[n>>2]=j;if(c){GBb(c);b=f[p>>2]|0}}while(0);f[b>>2]=q;f[p>>2]=(f[p>>2]|0)+4;u=r;return}q=a+8|0;b=f[q>>2]|0;p=a+4|0;e=b-(f[p>>2]|0)>>2;o=a+12|0;c=f[o>>2]|0;d=c-(f[a>>2]|0)|0;if(e>>>0>=d>>2>>>0){b=(d|0)==0?1:d>>1;i=k+12|0;f[i>>2]=0;f[k+16>>2]=a+12;do if(b)if(b>>>0>1073741823){r=ab(8)|0;KBb(r,410101);f[r>>2]=362060;eb(r|0,302144,1464)}else{c=EBb(b<<2)|0;break}else c=0;while(0);f[k>>2]=c;n=c+(e<<2)|0;j=k+8|0;f[j>>2]=n;h=k+4|0;f[h>>2]=n;f[i>>2]=c+(b<<2);b=EBb(4092)|0;f[g>>2]=b;n$(k,g);b=f[q>>2]|0;c=f[p>>2]|0;if((b|0)!=(c|0)){do{b=b+-4|0;o$(k,b);c=f[p>>2]|0}while((b|0)!=(c|0));b=f[q>>2]|0}d=c;e=f[a>>2]|0;f[a>>2]=f[k>>2];f[k>>2]=e;f[p>>2]=f[h>>2];f[h>>2]=d;f[q>>2]=f[j>>2];f[j>>2]=b;a=f[o>>2]|0;f[o>>2]=f[i>>2];f[i>>2]=a;if((c|0)!=(b|0))f[j>>2]=b+(~((b+-4-d|0)>>>2)<<2);if(e|0)GBb(e);u=r;return}if((c|0)!=(b|0)){q=EBb(4092)|0;f[k>>2]=q;l$(a,k);u=r;return}m=EBb(4092)|0;f[k>>2]=m;m$(a,k);m=f[p>>2]|0;n=f[m>>2]|0;m=m+4|0;f[p>>2]=m;b=f[q>>2]|0;l=f[o>>2]|0;d=l;do if((b|0)==(l|0)){j=m;c=f[a>>2]|0;e=c;if(m>>>0>c>>>0){d=((j-e>>2)+1|0)/-2|0;e=m+(d<<2)|0;c=b-j|0;if(!c)b=e;else{ZDb(e|0,m|0,c|0)|0;b=(f[p>>2]|0)+(d<<2)|0}a=e+(c>>2<<2)|0;f[q>>2]=a;f[p>>2]=b;b=a;break}e=d-e|0;e=(e|0)==0?1:e>>1;g=e>>>2;do if(e)if(e>>>0>1073741823){r=ab(8)|0;KBb(r,410101);f[r>>2]=362060;eb(r|0,302144,1464)}else{h=EBb(e<<2)|0;break}else h=0;while(0);k=h;d=h+(g<<2)|0;l=d;i=h+(e<<2)|0;if((m|0)==(b|0))b=l;else{e=((b+-4-j|0)>>>2)+1|0;c=m;while(1){f[d>>2]=f[c>>2];c=c+4|0;if((c|0)==(b|0))break;else d=d+4|0}b=h+(e+g<<2)|0;c=f[a>>2]|0}f[a>>2]=k;f[p>>2]=l;f[q>>2]=b;f[o>>2]=i;if(c){GBb(c);b=f[q>>2]|0}}while(0);f[b>>2]=n;f[q>>2]=(f[q>>2]|0)+4;u=r;return}function F_(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+4|0;d=f[a>>2]|0;h=((f[m>>2]|0)-d|0)/20|0;e=h+1|0;if(e>>>0>214748364)DCb(a);n=a+8|0;l=((f[n>>2]|0)-d|0)/20|0;d=l<<1;d=l>>>0<107374182?(d>>>0>>0?e:d):214748364;do if(d)if(d>>>0>214748364){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{e=EBb(d*20|0)|0;break}else e=0;while(0);g=e+(h*20|0)|0;i=g;l=e+(d*20|0)|0;f[g>>2]=f[c>>2];OBb(e+(h*20|0)+4|0,c+4|0);d=f[c+16>>2]|0;f[e+(h*20|0)+16>>2]=d;if(d|0){k=d+8|0;f[k>>2]=(f[k>>2]|0)+1}k=g+20|0;j=f[a>>2]|0;d=f[m>>2]|0;if((d|0)==(j|0)){d=i;h=j;g=j}else{c=i;while(1){e=d;d=d+-20|0;f[g+-20>>2]=f[d>>2];OBb(g+-16|0,e+-16|0);e=f[e+-4>>2]|0;f[g+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}e=c+-20|0;if((d|0)==(j|0))break;else{c=e;g=e}}d=e;h=f[a>>2]|0;g=f[m>>2]|0}f[a>>2]=d;f[m>>2]=k;f[n>>2]=l;c=h;if((g|0)!=(c|0))do{d=g+-4|0;e=f[d>>2]|0;if(e|0?(m=e+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(e,1,1);f[d>>2]=0;d=g+-16|0;g=g+-20|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((g|0)!=(c|0));if(!h)return;GBb(h);return}function G_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+8|0;j=f[a+4>>2]|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;g=f[a>>2]|0;b=f[g>>2]|0;g=f[g+4>>2]|0;a:do if((b|0)==(g|0))e=0;else{h=a+12|0;i=f[h>>2]|0;if(!i){e=f[b>>2]|0;break}while(1){e=f[b>>2]|0;c=h;d=i;do{l=(f[d+16>>2]|0)>>>0>>0;c=l?c:d;d=f[(l?d+4|0:d)>>2]|0}while((d|0)!=0);if((c|0)==(h|0))break a;b=b+4|0;if(e>>>0<(f[c+16>>2]|0)>>>0)break a;if((b|0)==(g|0)){e=0;break}}}while(0);_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;g=e;c=a+12|0;b=f[c>>2]|0;do if(b){d=a+12|0;while(1){c=f[b+16>>2]|0;if(e>>>0>>0){c=f[b>>2]|0;if(!c){c=14;break}else{d=b;b=c}}else{if(c>>>0>=e>>>0){c=18;break}d=b+4|0;c=f[d>>2]|0;if(!c){c=17;break}else b=c}}if((c|0)==14){e=b;d=b;break}else if((c|0)==17){e=b;break}else if((c|0)==18){e=b;break}}else{e=c;d=c}while(0);if(f[d>>2]|0)return;b=EBb(20)|0;f[b+16>>2]=g;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[k>>2]>>2]|0;if(c){f[k>>2]=c;b=f[d>>2]|0}Xo(f[a+12>>2]|0,b);l=a+16|0;f[l>>2]=(f[l>>2]|0)+1;return}function H_(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+8|0;j=f[a+4>>2]|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;i=f[a>>2]|0;b=f[i>>2]|0;i=i+4|0;a:do if((b|0)==(i|0))e=0;else{g=a+12|0;h=f[g>>2]|0;if(!h){e=f[b+28>>2]|0;break}e=b;while(1){d=f[e+28>>2]|0;b=g;c=h;do{l=(f[c+16>>2]|0)>>>0>>0;b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)==(g|0)){e=d;break a}if(d>>>0<(f[b+16>>2]|0)>>>0){e=d;break a}b=f[e+4>>2]|0;if(!b){c=e+8|0;b=f[c>>2]|0;if((f[b>>2]|0)!=(e|0))do{l=f[c>>2]|0;c=l+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(l|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(i|0)){e=0;break}else e=b}}while(0);_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;g=e;c=a+12|0;b=f[c>>2]|0;do if(b){d=a+12|0;while(1){c=f[b+16>>2]|0;if(e>>>0>>0){c=f[b>>2]|0;if(!c){c=21;break}else{d=b;b=c}}else{if(c>>>0>=e>>>0){c=25;break}d=b+4|0;c=f[d>>2]|0;if(!c){c=24;break}else b=c}}if((c|0)==21){e=b;d=b;break}else if((c|0)==24){e=b;break}else if((c|0)==25){e=b;break}}else{e=c;d=c}while(0);if(f[d>>2]|0)return;b=EBb(20)|0;f[b+16>>2]=g;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[k>>2]>>2]|0;if(c){f[k>>2]=c;b=f[d>>2]|0}Xo(f[a+12>>2]|0,b);l=a+16|0;f[l>>2]=(f[l>>2]|0)+1;return}function I_(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0;e=mCb(c,46,-1)|0;d=b[c+11>>0]|0;i=d<<24>>24<0;g=i?f[c>>2]|0:c;d=i?f[c+4>>2]|0:d&255;a:do if(!d)c=-1;else{c=g+d|0;while(1){c=c+-1|0;if(Ymb(387257,h[c>>0]|0,2)|0)break;if((c|0)==(g|0)){c=-1;break a}}c=c-g|0}while(0);if((e|0)!=-1?!((c|0)!=-1&e>>>0>>0):0){i=g+e+1|0;g=g+d|0;d=i;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;c=g-d|0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11)b[a+11>>0]=c;else{j=c+16&-16;e=EBb(j)|0;f[a>>2]=e;f[a+8>>2]=j|-2147483648;f[a+4>>2]=c;a=e}if((i|0)!=(g|0)){e=g+(0-d)|0;d=a;c=i;while(1){b[d>>0]=b[c>>0]|0;c=c+1|0;if((c|0)==(g|0))break;else d=d+1|0}a=a+e|0}b[a>>0]=0;return};f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;return}function J_(a,c,d){a=a|0;c=c|0;d=d|0;var e=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,v=0;v=u;u=u+80|0;t=v+60|0;o=v+48|0;p=v+36|0;q=v+24|0;r=v+12|0;n=v;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;g=d+11|0;m=b[g>>0]|0;e=m<<24>>24<0;h=d+4|0;if((e?f[h>>2]|0:m&255)|0){e=e?f[d>>2]|0:d;do{dCb(t,(fnb(b[e>>0]|0)|0)&255);e=e+1|0;m=b[g>>0]|0;l=m<<24>>24<0}while((e|0)!=((l?f[d>>2]|0:d)+(l?f[h>>2]|0:m&255)|0))}i=Qp(c+136|0,t)|0;a:do if((i|0)==(c+140|0))s=15;else{m=i+28|0;g=b[g>>0]|0;l=g<<24>>24<0;g=g&255;k=l?f[h>>2]|0:g;j=b[m+11>>0]|0;e=j<<24>>24<0;do if((k|0)==((e?f[i+32>>2]|0:j&255)|0)){i=f[d>>2]|0;j=l?i:d;e=e?f[m>>2]|0:m;h=(k|0)==0;i=i&255;if(l){if(h){s=15;break a}if(!(anb(j,e,k)|0)){s=15;break a}else break}if(h){s=15;break a}if((b[e>>0]|0)==i<<24>>24)do{g=g+-1|0;d=d+1|0;if(!g){s=15;break a}e=e+1|0}while((b[d>>0]|0)==(b[e>>0]|0))}while(0);J_(a,c,m);e=t+11|0}while(0);if((s|0)==15){f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;e=EBb(16)|0;f[q>>2]=e;f[q+8>>2]=-2147483632;f[q+4>>2]=11;g=e;d=387479;h=g+11|0;do{b[g>>0]=b[d>>0]|0;g=g+1|0;d=d+1|0}while((g|0)<(h|0));b[e+11>>0]=0;d=Q2a()|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;h=Rmb(d)|0;if(h>>>0>4294967279)MBb(r);if(h>>>0<11){e=r+11|0;b[e>>0]=h;if(!h)g=r;else{g=r;s=20}}else{e=h+16&-16;g=EBb(e)|0;f[r>>2]=g;f[r+8>>2]=e|-2147483648;f[r+4>>2]=h;e=r+11|0;s=20}if((s|0)==20)YDb(g|0,d|0,h|0)|0;b[g+h>>0]=0;s=b[e>>0]|0;c=s<<24>>24<0;s=bCb(q,c?f[r>>2]|0:r,c?f[r+4>>2]|0:s&255)|0;f[p>>2]=f[s>>2];f[p+4>>2]=f[s+4>>2];f[p+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;s=n+11|0;b[s>>0]=1;b[n>>0]=47;b[n+1>>0]=0;c=bCb(p,n,1)|0;f[o>>2]=f[c>>2];f[o+4>>2]=f[c+4>>2];f[o+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;if((b[s>>0]|0)<0)GBb(f[n>>2]|0);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);if((b[e>>0]|0)<0)GBb(f[r>>2]|0);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);j$(r,o,387491);e=t+11|0;s=b[e>>0]|0;n=s<<24>>24<0;s=bCb(r,n?f[t>>2]|0:t,n?f[t+4>>2]|0:s&255)|0;f[q>>2]=f[s>>2];f[q+4>>2]=f[s+4>>2];f[q+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;s=cCb(q,505031)|0;f[p>>2]=f[s>>2];f[p+4>>2]=f[s+4>>2];f[p+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;s=cCb(p,387498)|0;f[a>>2]=f[s>>2];f[a+4>>2]=f[s+4>>2];f[a+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0)}if((b[e>>0]|0)>=0){u=v;return}GBb(f[t>>2]|0);u=v;return}function K_(a,c){a=a|0;c=c|0;var d=0,e=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;r=u;u=u+16|0;o=r;q=a+60|0;_i[f[(f[q>>2]|0)+8>>2]&2047](q)|0;d=f[a+96>>2]|0;p=a+100|0;m=f[p>>2]|0;a:do if((d|0)==(m|0)){l=d;n=15}else{j=b[c+11>>0]|0;k=j<<24>>24<0;j=k?f[c+4>>2]|0:j&255;k=k?f[c>>2]|0:c;if(!j)while(1){j=f[d>>2]|0;k=b[j+16+11>>0]|0;if(!((k<<24>>24<0?f[j+20>>2]|0:k&255)|0)){l=d;n=15;break a}d=d+4|0;if((d|0)==(m|0))break a}do{i=f[d>>2]|0;h=i+16|0;e=b[h+11>>0]|0;g=e<<24>>24<0;e=e&255;do if(((g?f[i+20>>2]|0:e)|0)==(j|0)){i=f[h>>2]|0;if(g)if(!(anb(i,k,j)|0)){l=d;n=15;break a}else break;if((b[k>>0]|0)==(i&255)<<24>>24){g=k;do{e=e+-1|0;h=h+1|0;if(!e){l=d;n=15;break a}g=g+1|0}while((b[h>>0]|0)==(b[g>>0]|0))}}while(0);d=d+4|0}while((d|0)!=(m|0))}while(0);if((n|0)==15?(l|0)!=(m|0):0){p=1;o=f[q>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](q)|0;u=r;return p|0}e=a+96|0;n=a+132|0;b[n>>0]=1;d=Z_(c)|0;b[n>>0]=0;if(!d){p=0;o=f[q>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](q)|0;u=r;return p|0}f[o>>2]=d;d=d+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[p>>2]|0;if(d>>>0<(f[a+104>>2]|0)>>>0){e=f[o>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[p>>2]|0}f[p>>2]=d+4}else __(e,o);d=f[o>>2]|0;if(d|0?(o=d+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(d,1,1);p=2;o=f[q>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](q)|0;u=r;return p|0}function L_(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;c=b[a+11>>0]|0;i=c<<24>>24<0;d=i?f[a>>2]|0:a;c=i?f[a+4>>2]|0:c&255;i=d+c|0;g=i;h=d;if((c|0)<3){j=0;u=k;return j|0}while(1){c=c+-2|0;if(!c){c=0;d=11;break}e=Ymb(d,58,c)|0;if(!e){c=0;d=11;break}if(!(anb(e,386891,3)|0)){d=7;break}d=e+1|0;c=g-d|0;if((c|0)<3){c=0;d=11;break}}if((d|0)==7){c=e-h|0;if((e|0)==(i|0)|(c|0)==-1){j=0;u=k;return j|0}SBb(j,a,0,c,a);c=X_(YZ(0)|0,j)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);j=c;u=k;return j|0}else if((d|0)==11){u=k;return c|0}return 0}function M_(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=u;u=u+32|0;m=n+12|0;k=n;e=V_(a,d)|0;if(e|0?cj[f[(f[e>>2]|0)+180>>2]&1023](e,c)|0:0){m=e;u=n;return m|0}f[m>>2]=0;l=m+4|0;f[l>>2]=0;i=m+8|0;f[i>>2]=0;e=f[a+72>>2]|0;j=a+76|0;do if((e|0)!=(f[j>>2]|0)){do{h=f[e>>2]|0;do if(cj[f[(f[h>>2]|0)+180>>2]&1023](h,c)|0){g=f[l>>2]|0;if((g|0)==(f[i>>2]|0)){W_(m,e);break}h=f[e>>2]|0;f[g>>2]=h;if(h){g=h+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[l>>2]|0}f[l>>2]=g+4}while(0);e=e+4|0}while((e|0)!=(f[j>>2]|0));g=f[m>>2]|0;if((g|0)!=(f[l>>2]|0)){j=k+11|0;c=k+1|0;e=0;i=g;while(1){g=f[i>>2]|0;h=f[(f[g>>2]|0)+176>>2]|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;b[j>>0]=1;b[k>>0]=42;b[c>>0]=0;g=cj[h&1023](g,k)|0;if((b[j>>0]|0)<0)GBb(f[k>>2]|0);h=f[i>>2]|0;if(!g){if(cj[f[(f[h>>2]|0)+176>>2]&1023](h,d)|0){g=19;break}}else e=h;g=i+4|0;if((g|0)==(f[l>>2]|0)){g=20;break}else i=g}if((g|0)==19){e=f[i>>2]|0;break}else if((g|0)==20)if(!e){g=21;break}else break}else g=21}else g=21;while(0);if((g|0)==21){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;d=k+11|0;b[d>>0]=4;f[k>>2]=1819440483;b[k+4>>0]=0;e=V_(a,k)|0;if((b[d>>0]|0)<0)GBb(f[k>>2]|0)}i=f[m>>2]|0;if(i|0){g=f[l>>2]|0;if((g|0)==(i|0))g=i;else{do{g=g+-4|0;h=f[g>>2]|0;if(h|0?(a=h+8|0,k=f[a>>2]|0,f[a>>2]=k-1,(k|0)==1):0)Rua(h,1,1);f[g>>2]=0}while((g|0)!=(i|0));g=f[m>>2]|0}f[l>>2]=i;GBb(g)}m=e;u=n;return m|0}function N_(a,c,d){a=a|0;c=c|0;d=d|0;var e=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,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;R=u;u=u+32|0;N=R;G=N+4|0;H=N+16|0;I=G+11|0;J=N+4|0;K=N+16|0;L=N+4|0;r=N+16|0;s=L+11|0;t=N+4|0;v=N+16|0;w=N+4|0;x=N+16|0;y=J+11|0;z=t+11|0;B=w+11|0;M=c;a:while(1){m=M;p=M+-20|0;n=M+-40|0;o=M;q=a;b:while(1){a=m-q|0;switch((a|0)/20|0|0){case 2:{Q=4;break a}case 3:{Q=28;break a}case 4:{Q=29;break a}case 5:{Q=30;break a}case 1:case 0:{Q=183;break a}default:{}}if((a|0)<140){Q=32;break a}k=q+(((a>>>0)/40|0)*20|0)|0;if((a|0)>19980){a=(a>>>0)/80|0;a=S_(q,q+(a*20|0)|0,k,k+(a*20|0)|0,p,d)|0}else a=Q_(q,k,p,d)|0;h=f[q>>2]|0;g=f[k>>2]|0;if((h|0)<(g|0))e=p;else{if((q|0)==(n|0)){Q=40;break}i=p;e=n;while(1){if((f[e>>2]|0)<(g|0))break;c=e+-20|0;if((q|0)==(c|0)){Q=40;break b}else{i=e;e=c}}f[N>>2]=h;g=q+4|0;OBb(t,g);j=q+16|0;c=f[j>>2]|0;f[v>>2]=c;if(c|0){l=c+8|0;f[l>>2]=(f[l>>2]|0)+1}f[q>>2]=f[e>>2];h=i+-16|0;UBb(g,h)|0;g=f[j>>2]|0;i=i+-4|0;c=f[i>>2]|0;if((g|0)!=(c|0)){f[j>>2]=c;if(c|0){l=c+8|0;f[l>>2]=(f[l>>2]|0)+1}if(g|0?(j=g+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(g,1,1)}if((N|0)!=(e|0)){f[e>>2]=f[N>>2];UBb(h,t)|0;c=f[i>>2]|0;g=f[v>>2]|0;if((c|0)!=(g|0)){f[i>>2]=g;if(g|0){Q=g+8|0;f[Q>>2]=(f[Q>>2]|0)+1}if((c|0)!=0?(l=c+8|0,Q=f[l>>2]|0,f[l>>2]=Q-1,(Q|0)==1):0){Rua(c,1,1);Q=113}else Q=113}}else Q=113;if((Q|0)==113){Q=0;c=f[v>>2]|0}if(c|0?(j=c+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(c,1,1);f[v>>2]=0;if((b[z>>0]|0)<0)GBb(f[t>>2]|0);a=a+1|0}c=q+20|0;c:do if(c>>>0>>0)while(1){h=f[k>>2]|0;while(1){g=f[c>>2]|0;l=c+20|0;if((g|0)<(h|0))c=l;else break}while(1){j=e+-20|0;if((f[j>>2]|0)<(h|0))break;else e=j}if(c>>>0>j>>>0)break c;f[N>>2]=g;g=c+4|0;OBb(G,g);h=c+16|0;i=f[h>>2]|0;f[H>>2]=i;if(i|0){i=i+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)!=(j|0)?(f[c>>2]=f[j>>2],UBb(g,e+-16|0)|0,D=f[h>>2]|0,E=f[e+-4>>2]|0,(D|0)!=(E|0)):0){f[h>>2]=E;if(E|0){i=E+8|0;f[i>>2]=(f[i>>2]|0)+1}if(D|0?(h=D+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(D,1,1)}if((N|0)!=(j|0)){f[j>>2]=f[N>>2];UBb(e+-16|0,G)|0;g=e+-4|0;e=f[g>>2]|0;h=f[H>>2]|0;if((e|0)!=(h|0)){f[g>>2]=h;if(h|0){Q=h+8|0;f[Q>>2]=(f[Q>>2]|0)+1}if((e|0)!=0?(i=e+8|0,Q=f[i>>2]|0,f[i>>2]=Q-1,(Q|0)==1):0){Rua(e,1,1);Q=143}else Q=143}}else Q=143;if((Q|0)==143){Q=0;e=f[H>>2]|0}if(e|0?(h=e+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(e,1,1);f[H>>2]=0;if((b[I>>0]|0)<0)GBb(f[G>>2]|0);k=(k|0)==(c|0)?j:k;e=j;c=l;a=a+1|0}while(0);if((c|0)!=(k|0)?(F=f[c>>2]|0,(f[k>>2]|0)<(F|0)):0){f[N>>2]=F;g=c+4|0;OBb(J,g);i=c+16|0;e=f[i>>2]|0;f[K>>2]=e;if(e|0){l=e+8|0;f[l>>2]=(f[l>>2]|0)+1}f[c>>2]=f[k>>2];h=k+4|0;UBb(g,h)|0;e=f[i>>2]|0;j=k+16|0;g=f[j>>2]|0;if((e|0)!=(g|0)){f[i>>2]=g;if(g|0){l=g+8|0;f[l>>2]=(f[l>>2]|0)+1}if(e|0?(i=e+8|0,l=f[i>>2]|0,f[i>>2]=l-1,(l|0)==1):0)Rua(e,1,1)}if((N|0)!=(k|0)){f[k>>2]=f[N>>2];UBb(h,J)|0;e=f[j>>2]|0;g=f[K>>2]|0;if((e|0)!=(g|0)){f[j>>2]=g;if(g|0){Q=g+8|0;f[Q>>2]=(f[Q>>2]|0)+1}if((e|0)!=0?(l=e+8|0,Q=f[l>>2]|0,f[l>>2]=Q-1,(Q|0)==1):0){Rua(e,1,1);Q=167}else Q=167}}else Q=167;if((Q|0)==167){Q=0;e=f[K>>2]|0}if(e|0?(k=e+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(e,1,1);f[K>>2]=0;if((b[y>>0]|0)<0)GBb(f[J>>2]|0);a=a+1|0}if(!a){g=U_(q,c,d)|0;a=c+20|0;if(U_(a,M,d)|0){Q=176;break}if(g){e=2;c=M;Q=181;break}}l=c;if(((l-q|0)/20|0|0)>=((o-l|0)/20|0|0)){Q=180;break}N_(q,c,d);q=c+20|0}d:do if((Q|0)==40){Q=0;a=q+20|0;if((h|0)>=(f[p>>2]|0)){if((a|0)==(p|0)){Q=183;break a}while(1){c=f[a>>2]|0;if((h|0)<(c|0))break;a=a+20|0;if((a|0)==(p|0)){Q=183;break a}}f[N>>2]=c;e=a+4|0;OBb(w,e);h=a+16|0;c=f[h>>2]|0;f[x>>2]=c;if(c|0){o=c+8|0;f[o>>2]=(f[o>>2]|0)+1}f[a>>2]=f[p>>2];g=M+-16|0;UBb(e,g)|0;c=f[h>>2]|0;i=M+-4|0;e=f[i>>2]|0;if((c|0)!=(e|0)){f[h>>2]=e;if(e|0){o=e+8|0;f[o>>2]=(f[o>>2]|0)+1}if(c|0?(n=c+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(c,1,1)}if((N|0)!=(p|0)){f[p>>2]=f[N>>2];UBb(g,w)|0;c=f[i>>2]|0;e=f[x>>2]|0;if((c|0)!=(e|0)){f[i>>2]=e;if(e|0){Q=e+8|0;f[Q>>2]=(f[Q>>2]|0)+1}if((c|0)!=0?(o=c+8|0,Q=f[o>>2]|0,f[o>>2]=Q-1,(Q|0)==1):0){Rua(c,1,1);Q=59}else Q=59}}else Q=59;if((Q|0)==59){Q=0;c=f[x>>2]|0}if(c|0?(n=c+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(c,1,1);f[x>>2]=0;if((b[B>>0]|0)<0)GBb(f[w>>2]|0);a=a+20|0}if((a|0)==(p|0)){Q=183;break a}c=p;while(1){g=f[q>>2]|0;while(1){e=f[a>>2]|0;j=a+20|0;if((g|0)<(e|0))break;else a=j}while(1){i=c+-20|0;if((g|0)<(f[i>>2]|0))c=i;else break}if(a>>>0>=i>>>0){e=4;c=M;Q=181;break d}f[N>>2]=e;e=a+4|0;OBb(L,e);g=a+16|0;h=f[g>>2]|0;f[r>>2]=h;if(h|0){p=h+8|0;f[p>>2]=(f[p>>2]|0)+1}if((a|0)!=(i|0)?(f[a>>2]=f[i>>2],UBb(e,c+-16|0)|0,A=f[g>>2]|0,C=f[c+-4>>2]|0,(A|0)!=(C|0)):0){f[g>>2]=C;if(C|0){p=C+8|0;f[p>>2]=(f[p>>2]|0)+1}if(A|0?(o=A+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(A,1,1)}if((N|0)!=(i|0)){f[i>>2]=f[N>>2];UBb(c+-16|0,L)|0;c=c+-4|0;a=f[c>>2]|0;e=f[r>>2]|0;if((a|0)!=(e|0)){f[c>>2]=e;if(e|0){Q=e+8|0;f[Q>>2]=(f[Q>>2]|0)+1}if((a|0)!=0?(p=a+8|0,Q=f[p>>2]|0,f[p>>2]=Q-1,(Q|0)==1):0){Rua(a,1,1);Q=90}else Q=90}}else Q=90;if((Q|0)==90){Q=0;a=f[r>>2]|0}if(a|0?(o=a+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(a,1,1);f[r>>2]=0;if((b[s>>0]|0)<0)GBb(f[L>>2]|0);c=i;a=j}}else if((Q|0)==176){e=g?1:2;a=q;c=g?M:c;Q=181}else if((Q|0)==180){Q=0;N_(c+20|0,M,d);a=q}while(0);if((Q|0)==181){Q=0;switch(e&7){case 2:case 4:case 0:break;default:{Q=183;break a}}}M=c}if((Q|0)==4){g=M+-20|0;a=f[q>>2]|0;if((f[g>>2]|0)>=(a|0)){u=R;return}f[N>>2]=a;h=N+4|0;a=q+4|0;OBb(h,a);i=N+16|0;c=q+16|0;e=f[c>>2]|0;f[i>>2]=e;if(e|0){L=e+8|0;f[L>>2]=(f[L>>2]|0)+1}if((q|0)!=(g|0)?(f[q>>2]=f[g>>2],UBb(a,M+-16|0)|0,O=f[c>>2]|0,P=f[M+-4>>2]|0,(O|0)!=(P|0)):0){f[c>>2]=P;if(P|0){P=P+8|0;f[P>>2]=(f[P>>2]|0)+1}if(O|0?(L=O+8|0,P=f[L>>2]|0,f[L>>2]=P-1,(P|0)==1):0)Rua(O,1,1)}if((N|0)!=(g|0)){f[g>>2]=f[N>>2];UBb(M+-16|0,h)|0;c=M+-4|0;a=f[c>>2]|0;e=f[i>>2]|0;if((a|0)!=(e|0)){f[c>>2]=e;if(e|0){Q=e+8|0;f[Q>>2]=(f[Q>>2]|0)+1}if((a|0)!=0?(P=a+8|0,Q=f[P>>2]|0,f[P>>2]=Q-1,(Q|0)==1):0){Rua(a,1,1);Q=21}else Q=21}}else Q=21;if((Q|0)==21)a=f[i>>2]|0;if(a|0?(P=a+8|0,Q=f[P>>2]|0,f[P>>2]=Q-1,(Q|0)==1):0)Rua(a,1,1);f[i>>2]=0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);u=R;return}else if((Q|0)==28){Q_(q,q+20|0,M+-20|0,d)|0;u=R;return}else if((Q|0)==29){R_(q,q+20|0,q+40|0,M+-20|0,d)|0;u=R;return}else if((Q|0)==30){S_(q,q+20|0,q+40|0,q+60|0,M+-20|0,d)|0;u=R;return}else if((Q|0)==32){T_(q,M,d);u=R;return}else if((Q|0)==183){u=R;return}}function O_(a,b){a=a|0;b=b|0;if(!b)return;else{O_(a,f[b>>2]|0);O_(a,f[b+4>>2]|0);GBb(b);return}}function P_(a,b){a=a|0;b=b|0;if(!b)return;else{P_(a,f[b>>2]|0);P_(a,f[b+4>>2]|0);GBb(b);return}}function Q_(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|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,v=0,w=0,x=0;w=u;u=u+32|0;v=w;e=f[c>>2]|0;g=f[a>>2]|0;h=(f[d>>2]|0)<(e|0);if((e|0)>=(g|0)){if(!h){x=0;u=w;return x|0}f[v>>2]=e;i=v+4|0;k=c+4|0;OBb(i,k);j=v+16|0;l=c+16|0;e=f[l>>2]|0;f[j>>2]=e;if(e|0){r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}if((c|0)!=(d|0)?(f[c>>2]=f[d>>2],UBb(k,d+4|0)|0,o=f[l>>2]|0,p=f[d+16>>2]|0,(o|0)!=(p|0)):0){f[l>>2]=p;if(p|0){r=p+8|0;f[r>>2]=(f[r>>2]|0)+1}if(o|0?(q=o+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(o,1,1)}if((v|0)!=(d|0)){f[d>>2]=f[v>>2];UBb(d+4|0,i)|0;g=d+16|0;e=f[g>>2]|0;h=f[j>>2]|0;if((e|0)!=(h|0)){f[g>>2]=h;if(h|0){x=h+8|0;f[x>>2]=(f[x>>2]|0)+1}if((e|0)!=0?(d=e+8|0,x=f[d>>2]|0,f[d>>2]=x-1,(x|0)==1):0){Rua(e,1,1);x=19}else x=19}}else x=19;if((x|0)==19)e=f[j>>2]|0;if(e|0?(r=e+8|0,d=f[r>>2]|0,f[r>>2]=d-1,(d|0)==1):0)Rua(e,1,1);f[j>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);e=f[a>>2]|0;if((f[c>>2]|0)>=(e|0)){x=1;u=w;return x|0}f[v>>2]=e;i=v+4|0;e=a+4|0;OBb(i,e);j=v+16|0;g=a+16|0;h=f[g>>2]|0;f[j>>2]=h;if(h|0){d=h+8|0;f[d>>2]=(f[d>>2]|0)+1}if((a|0)!=(c|0)?(f[a>>2]=f[c>>2],UBb(e,k)|0,s=f[g>>2]|0,t=f[l>>2]|0,(s|0)!=(t|0)):0){f[g>>2]=t;if(t|0){d=t+8|0;f[d>>2]=(f[d>>2]|0)+1}if(s|0?(a=s+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(s,1,1)}if((v|0)!=(c|0)){f[c>>2]=f[v>>2];UBb(k,i)|0;e=f[l>>2]|0;g=f[j>>2]|0;if((e|0)!=(g|0)){f[l>>2]=g;if(g|0){x=g+8|0;f[x>>2]=(f[x>>2]|0)+1}if((e|0)!=0?(v=e+8|0,x=f[v>>2]|0,f[v>>2]=x-1,(x|0)==1):0){Rua(e,1,1);x=42}else x=42}}else x=42;if((x|0)==42)e=f[j>>2]|0;if(e|0?(v=e+8|0,x=f[v>>2]|0,f[v>>2]=x-1,(x|0)==1):0)Rua(e,1,1);f[j>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);x=2;u=w;return x|0}if(h){f[v>>2]=g;i=v+4|0;e=a+4|0;OBb(i,e);j=v+16|0;g=a+16|0;h=f[g>>2]|0;f[j>>2]=h;if(h|0){c=h+8|0;f[c>>2]=(f[c>>2]|0)+1}if((a|0)!=(d|0)?(f[a>>2]=f[d>>2],UBb(e,d+4|0)|0,k=f[g>>2]|0,l=f[d+16>>2]|0,(k|0)!=(l|0)):0){f[g>>2]=l;if(l|0){c=l+8|0;f[c>>2]=(f[c>>2]|0)+1}if(k|0?(a=k+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(k,1,1)}if((v|0)!=(d|0)){f[d>>2]=f[v>>2];UBb(d+4|0,i)|0;g=d+16|0;e=f[g>>2]|0;h=f[j>>2]|0;if((e|0)!=(h|0)){f[g>>2]=h;if(h|0){x=h+8|0;f[x>>2]=(f[x>>2]|0)+1}if((e|0)!=0?(v=e+8|0,x=f[v>>2]|0,f[v>>2]=x-1,(x|0)==1):0){Rua(e,1,1);x=66}else x=66}}else x=66;if((x|0)==66)e=f[j>>2]|0;if(e|0?(v=e+8|0,x=f[v>>2]|0,f[v>>2]=x-1,(x|0)==1):0)Rua(e,1,1);f[j>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);x=1;u=w;return x|0}f[v>>2]=g;i=v+4|0;e=a+4|0;OBb(i,e);j=v+16|0;g=a+16|0;h=f[g>>2]|0;f[j>>2]=h;if(h|0){t=h+8|0;f[t>>2]=(f[t>>2]|0)+1}if((a|0)!=(c|0)?(f[a>>2]=f[c>>2],UBb(e,c+4|0)|0,m=f[g>>2]|0,n=f[c+16>>2]|0,(m|0)!=(n|0)):0){f[g>>2]=n;if(n|0){a=n+8|0;f[a>>2]=(f[a>>2]|0)+1}if(m|0?(t=m+8|0,a=f[t>>2]|0,f[t>>2]=a-1,(a|0)==1):0)Rua(m,1,1)}if((v|0)!=(c|0)){f[c>>2]=f[v>>2];UBb(c+4|0,i)|0;g=c+16|0;e=f[g>>2]|0;h=f[j>>2]|0;if((e|0)!=(h|0)){f[g>>2]=h;if(h|0){x=h+8|0;f[x>>2]=(f[x>>2]|0)+1}if((e|0)!=0?(a=e+8|0,x=f[a>>2]|0,f[a>>2]=x-1,(x|0)==1):0){Rua(e,1,1);x=89}else x=89}}else x=89;if((x|0)==89)e=f[j>>2]|0;if(e|0?(t=e+8|0,a=f[t>>2]|0,f[t>>2]=a-1,(a|0)==1):0)Rua(e,1,1);f[j>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);e=f[c>>2]|0;if((f[d>>2]|0)>=(e|0)){x=1;u=w;return x|0}f[v>>2]=e;i=v+4|0;e=c+4|0;OBb(i,e);j=v+16|0;g=c+16|0;h=f[g>>2]|0;f[j>>2]=h;if(h|0){a=h+8|0;f[a>>2]=(f[a>>2]|0)+1}if((c|0)!=(d|0)?(f[c>>2]=f[d>>2],UBb(e,d+4|0)|0,q=f[g>>2]|0,r=f[d+16>>2]|0,(q|0)!=(r|0)):0){f[g>>2]=r;if(r|0){c=r+8|0;f[c>>2]=(f[c>>2]|0)+1}if(q|0?(a=q+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(q,1,1)}if((v|0)!=(d|0)){f[d>>2]=f[v>>2];UBb(d+4|0,i)|0;g=d+16|0;e=f[g>>2]|0;h=f[j>>2]|0;if((e|0)!=(h|0)){f[g>>2]=h;if(h|0){x=h+8|0;f[x>>2]=(f[x>>2]|0)+1}if((e|0)!=0?(v=e+8|0,x=f[v>>2]|0,f[v>>2]=x-1,(x|0)==1):0){Rua(e,1,1);x=112}else x=112}}else x=112;if((x|0)==112)e=f[j>>2]|0;if(e|0?(v=e+8|0,x=f[v>>2]|0,f[v>>2]=x-1,(x|0)==1):0)Rua(e,1,1);f[j>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);x=2;u=w;return x|0}function R_(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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,v=0,w=0;w=u;u=u+32|0;s=w;t=Q_(a,c,d,g)|0;g=f[d>>2]|0;if((f[e>>2]|0)>=(g|0)){v=t;u=w;return v|0}f[s>>2]=g;j=s+4|0;l=d+4|0;OBb(j,l);k=s+16|0;n=d+16|0;g=f[n>>2]|0;f[k>>2]=g;if(g|0){m=g+8|0;f[m>>2]=(f[m>>2]|0)+1}if((d|0)!=(e|0)?(f[d>>2]=f[e>>2],UBb(l,e+4|0)|0,h=f[n>>2]|0,i=f[e+16>>2]|0,(h|0)!=(i|0)):0){f[n>>2]=i;if(i|0){m=i+8|0;f[m>>2]=(f[m>>2]|0)+1}if(h|0?(i=h+8|0,m=f[i>>2]|0,f[i>>2]=m-1,(m|0)==1):0)Rua(h,1,1)}if((s|0)!=(e|0)){f[e>>2]=f[s>>2];UBb(e+4|0,j)|0;h=e+16|0;g=f[h>>2]|0;i=f[k>>2]|0;if((g|0)!=(i|0)){f[h>>2]=i;if(i|0){v=i+8|0;f[v>>2]=(f[v>>2]|0)+1}if((g|0)!=0?(m=g+8|0,v=f[m>>2]|0,f[m>>2]=v-1,(v|0)==1):0){Rua(g,1,1);v=18}else v=18}}else v=18;if((v|0)==18)g=f[k>>2]|0;if(g|0?(e=g+8|0,m=f[e>>2]|0,f[e>>2]=m-1,(m|0)==1):0)Rua(g,1,1);f[k>>2]=0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);g=f[c>>2]|0;if((f[d>>2]|0)>=(g|0)){v=t+1|0;u=w;return v|0}f[s>>2]=g;i=s+4|0;k=c+4|0;OBb(i,k);e=s+16|0;m=c+16|0;g=f[m>>2]|0;f[e>>2]=g;if(g|0){j=g+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)!=(d|0)?(f[c>>2]=f[d>>2],UBb(k,l)|0,o=f[m>>2]|0,p=f[n>>2]|0,(o|0)!=(p|0)):0){f[m>>2]=p;if(p|0){p=p+8|0;f[p>>2]=(f[p>>2]|0)+1}if(o|0?(j=o+8|0,p=f[j>>2]|0,f[j>>2]=p-1,(p|0)==1):0)Rua(o,1,1)}if((s|0)!=(d|0)){f[d>>2]=f[s>>2];UBb(l,i)|0;g=f[n>>2]|0;h=f[e>>2]|0;if((g|0)!=(h|0)){f[n>>2]=h;if(h|0){v=h+8|0;f[v>>2]=(f[v>>2]|0)+1}if((g|0)!=0?(p=g+8|0,v=f[p>>2]|0,f[p>>2]=v-1,(v|0)==1):0){Rua(g,1,1);v=41}else v=41}}else v=41;if((v|0)==41)g=f[e>>2]|0;if(g|0?(o=g+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(g,1,1);f[e>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);g=f[a>>2]|0;if((f[c>>2]|0)>=(g|0)){v=t+2|0;u=w;return v|0}f[s>>2]=g;e=s+4|0;g=a+4|0;OBb(e,g);j=s+16|0;h=a+16|0;i=f[h>>2]|0;f[j>>2]=i;if(i|0){p=i+8|0;f[p>>2]=(f[p>>2]|0)+1}if((a|0)!=(c|0)?(f[a>>2]=f[c>>2],UBb(g,k)|0,q=f[h>>2]|0,r=f[m>>2]|0,(q|0)!=(r|0)):0){f[h>>2]=r;if(r|0){r=r+8|0;f[r>>2]=(f[r>>2]|0)+1}if(q|0?(a=q+8|0,r=f[a>>2]|0,f[a>>2]=r-1,(r|0)==1):0)Rua(q,1,1)}do if((s|0)!=(c|0)){f[c>>2]=f[s>>2];UBb(k,e)|0;g=f[m>>2]|0;h=f[j>>2]|0;if((g|0)!=(h|0)){f[m>>2]=h;if(h|0){v=h+8|0;f[v>>2]=(f[v>>2]|0)+1}if(!g)v=64;else{s=g+8|0;v=f[s>>2]|0;f[s>>2]=v-1;if((v|0)!=1){v=64;break}Rua(g,1,1);v=64}}}else v=64;while(0);if((v|0)==64)g=f[j>>2]|0;if(g|0?(s=g+8|0,v=f[s>>2]|0,f[s>>2]=v-1,(v|0)==1):0)Rua(g,1,1);f[j>>2]=0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);v=t+3|0;u=w;return v|0}function S_(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;x=u;u=u+32|0;t=x;v=R_(a,c,d,e,h)|0;h=f[e>>2]|0;if((f[g>>2]|0)>=(h|0)){w=v;u=x;return w|0}f[t>>2]=h;k=t+4|0;m=e+4|0;OBb(k,m);l=t+16|0;o=e+16|0;h=f[o>>2]|0;f[l>>2]=h;if(h|0){n=h+8|0;f[n>>2]=(f[n>>2]|0)+1}if((e|0)!=(g|0)?(f[e>>2]=f[g>>2],UBb(m,g+4|0)|0,i=f[o>>2]|0,j=f[g+16>>2]|0,(i|0)!=(j|0)):0){f[o>>2]=j;if(j|0){n=j+8|0;f[n>>2]=(f[n>>2]|0)+1}if(i|0?(j=i+8|0,n=f[j>>2]|0,f[j>>2]=n-1,(n|0)==1):0)Rua(i,1,1)}if((t|0)!=(g|0)){f[g>>2]=f[t>>2];UBb(g+4|0,k)|0;i=g+16|0;h=f[i>>2]|0;j=f[l>>2]|0;if((h|0)!=(j|0)){f[i>>2]=j;if(j|0){w=j+8|0;f[w>>2]=(f[w>>2]|0)+1}if((h|0)!=0?(n=h+8|0,w=f[n>>2]|0,f[n>>2]=w-1,(w|0)==1):0){Rua(h,1,1);w=18}else w=18}}else w=18;if((w|0)==18)h=f[l>>2]|0;if(h|0?(g=h+8|0,n=f[g>>2]|0,f[g>>2]=n-1,(n|0)==1):0)Rua(h,1,1);f[l>>2]=0;if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);h=f[d>>2]|0;if((f[e>>2]|0)>=(h|0)){w=v+1|0;u=x;return w|0}f[t>>2]=h;j=t+4|0;k=d+4|0;OBb(j,k);g=t+16|0;n=d+16|0;h=f[n>>2]|0;f[g>>2]=h;if(h|0){l=h+8|0;f[l>>2]=(f[l>>2]|0)+1}if((d|0)!=(e|0)?(f[d>>2]=f[e>>2],UBb(k,m)|0,p=f[n>>2]|0,q=f[o>>2]|0,(p|0)!=(q|0)):0){f[n>>2]=q;if(q|0){q=q+8|0;f[q>>2]=(f[q>>2]|0)+1}if(p|0?(l=p+8|0,q=f[l>>2]|0,f[l>>2]=q-1,(q|0)==1):0)Rua(p,1,1)}if((t|0)!=(e|0)){f[e>>2]=f[t>>2];UBb(m,j)|0;h=f[o>>2]|0;i=f[g>>2]|0;if((h|0)!=(i|0)){f[o>>2]=i;if(i|0){w=i+8|0;f[w>>2]=(f[w>>2]|0)+1}if((h|0)!=0?(q=h+8|0,w=f[q>>2]|0,f[q>>2]=w-1,(w|0)==1):0){Rua(h,1,1);w=41}else w=41}}else w=41;if((w|0)==41)h=f[g>>2]|0;if(h|0?(p=h+8|0,q=f[p>>2]|0,f[p>>2]=q-1,(q|0)==1):0)Rua(h,1,1);f[g>>2]=0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);h=f[c>>2]|0;if((f[d>>2]|0)>=(h|0)){w=v+2|0;u=x;return w|0}f[t>>2]=h;j=t+4|0;l=c+4|0;OBb(j,l);g=t+16|0;m=c+16|0;h=f[m>>2]|0;f[g>>2]=h;if(h|0){q=h+8|0;f[q>>2]=(f[q>>2]|0)+1}if((c|0)!=(d|0)?(f[c>>2]=f[d>>2],UBb(l,k)|0,r=f[m>>2]|0,s=f[n>>2]|0,(r|0)!=(s|0)):0){f[m>>2]=s;if(s|0){s=s+8|0;f[s>>2]=(f[s>>2]|0)+1}if(r|0?(q=r+8|0,s=f[q>>2]|0,f[q>>2]=s-1,(s|0)==1):0)Rua(r,1,1)}do if((t|0)!=(d|0)){f[d>>2]=f[t>>2];UBb(k,j)|0;h=f[n>>2]|0;i=f[g>>2]|0;if((h|0)!=(i|0)){f[n>>2]=i;if(i|0){w=i+8|0;f[w>>2]=(f[w>>2]|0)+1}if(!h)w=64;else{d=h+8|0;w=f[d>>2]|0;f[d>>2]=w-1;if((w|0)!=1){w=64;break}Rua(h,1,1);w=64}}}else w=64;while(0);if((w|0)==64)h=f[g>>2]|0;if(h|0?(s=h+8|0,d=f[s>>2]|0,f[s>>2]=d-1,(d|0)==1):0)Rua(h,1,1);f[g>>2]=0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);h=f[a>>2]|0;if((f[c>>2]|0)>=(h|0)){w=v+3|0;u=x;return w|0}f[t>>2]=h;g=t+4|0;h=a+4|0;OBb(g,h);k=t+16|0;j=a+16|0;i=f[j>>2]|0;f[k>>2]=i;if(i|0){d=i+8|0;f[d>>2]=(f[d>>2]|0)+1}do if((a|0)!=(c|0)){f[a>>2]=f[c>>2];UBb(h,l)|0;h=f[j>>2]|0;i=f[m>>2]|0;if((h|0)==(i|0))break;f[j>>2]=i;if(i|0){a=i+8|0;f[a>>2]=(f[a>>2]|0)+1}if(!h)break;d=h+8|0;a=f[d>>2]|0;f[d>>2]=a-1;if((a|0)!=1)break;Rua(h,1,1)}while(0);do if((t|0)==(c|0))w=87;else{f[c>>2]=f[t>>2];UBb(l,g)|0;h=f[m>>2]|0;i=f[k>>2]|0;if((h|0)==(i|0))break;f[m>>2]=i;if(i|0){w=i+8|0;f[w>>2]=(f[w>>2]|0)+1}if(!h){w=87;break}t=h+8|0;w=f[t>>2]|0;f[t>>2]=w-1;if((w|0)!=1){w=87;break}Rua(h,1,1);w=87}while(0);if((w|0)==87)h=f[k>>2]|0;do if(h|0){t=h+8|0;w=f[t>>2]|0;f[t>>2]=w-1;if((w|0)!=1)break;Rua(h,1,1)}while(0);f[k>>2]=0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);w=v+4|0;u=x;return w|0}function T_(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+32|0;m=o;e=a+40|0;Q_(a,a+20|0,e,d)|0;d=a+60|0;if((d|0)==(c|0)){u=o;return}k=m+4|0;l=m+16|0;j=k+11|0;i=d;d=e;while(1){e=f[i>>2]|0;if((e|0)<(f[d>>2]|0)){f[m>>2]=e;OBb(k,i+4|0);e=f[i+16>>2]|0;f[l>>2]=e;if(e|0){h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}e=i;while(1){f[e>>2]=f[d>>2];UBb(e+4|0,d+4|0)|0;e=e+16|0;g=f[e>>2]|0;h=f[d+16>>2]|0;if((g|0)!=(h|0)){f[e>>2]=h;if(h|0){h=h+8|0;f[h>>2]=(f[h>>2]|0)+1}if(g|0?(e=g+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(g,1,1)}if((d|0)==(a|0)){d=a;break}e=d+-20|0;if((f[m>>2]|0)<(f[e>>2]|0)){h=d;d=e;e=h}else break}if((d|0)!=(m|0)){f[d>>2]=f[m>>2];UBb(d+4|0,k)|0;e=d+16|0;d=f[e>>2]|0;g=f[l>>2]|0;if((d|0)!=(g|0)){f[e>>2]=g;if(g|0){n=g+8|0;f[n>>2]=(f[n>>2]|0)+1}if((d|0)!=0?(h=d+8|0,n=f[h>>2]|0,f[h>>2]=n-1,(n|0)==1):0){Rua(d,1,1);n=23}else n=23}}else n=23;if((n|0)==23){n=0;d=f[l>>2]|0}if(d|0?(g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[l>>2]=0;if((b[j>>0]|0)<0)GBb(f[k>>2]|0)}d=i+20|0;if((d|0)==(c|0))break;else{h=i;i=d;d=h}}u=o;return}function U_(a,c,d){a=a|0;c=c|0;d=d|0;var e=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;r=u;u=u+32|0;p=r;switch((c-a|0)/20|0|0){case 2:{h=c+-20|0;d=f[a>>2]|0;if((f[h>>2]|0)>=(d|0)){q=1;u=r;return q|0}f[p>>2]=d;i=p+4|0;d=a+4|0;OBb(i,d);j=p+16|0;e=a+16|0;g=f[e>>2]|0;f[j>>2]=g;if(g|0){o=g+8|0;f[o>>2]=(f[o>>2]|0)+1}if((h|0)!=(a|0)?(f[a>>2]=f[h>>2],UBb(d,c+-16|0)|0,k=f[e>>2]|0,l=f[c+-4>>2]|0,(k|0)!=(l|0)):0){f[e>>2]=l;if(l|0){a=l+8|0;f[a>>2]=(f[a>>2]|0)+1}if(k|0?(o=k+8|0,a=f[o>>2]|0,f[o>>2]=a-1,(a|0)==1):0)Rua(k,1,1)}if((p|0)!=(h|0)){f[h>>2]=f[p>>2];UBb(c+-16|0,i)|0;e=c+-4|0;d=f[e>>2]|0;g=f[j>>2]|0;if((d|0)!=(g|0)){f[e>>2]=g;if(g|0){q=g+8|0;f[q>>2]=(f[q>>2]|0)+1}if((d|0)!=0?(p=d+8|0,q=f[p>>2]|0,f[p>>2]=q-1,(q|0)==1):0){Rua(d,1,1);q=19}else q=19}}else q=19;if((q|0)==19)d=f[j>>2]|0;if(d|0?(p=d+8|0,q=f[p>>2]|0,f[p>>2]=q-1,(q|0)==1):0)Rua(d,1,1);f[j>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);q=1;u=r;return q|0}case 3:{Q_(a,a+20|0,c+-20|0,d)|0;q=1;u=r;return q|0}case 4:{R_(a,a+20|0,a+40|0,c+-20|0,d)|0;q=1;u=r;return q|0}case 5:{S_(a,a+20|0,a+40|0,a+60|0,c+-20|0,d)|0;q=1;u=r;return q|0}case 1:case 0:{q=1;u=r;return q|0}default:{e=a+40|0;Q_(a,a+20|0,e,d)|0;d=a+60|0;if((d|0)==(c|0)){q=1;u=r;return q|0}j=p+4|0;k=p+16|0;l=j+11|0;i=0;while(1){g=f[d>>2]|0;if((g|0)<(f[e>>2]|0)){f[p>>2]=g;OBb(j,d+4|0);g=f[d+16>>2]|0;f[k>>2]=g;if(g|0){h=g+8|0;f[h>>2]=(f[h>>2]|0)+1}g=d;while(1){if((g|0)!=(e|0)?(f[g>>2]=f[e>>2],UBb(g+4|0,e+4|0)|0,m=g+16|0,n=f[m>>2]|0,o=f[e+16>>2]|0,(n|0)!=(o|0)):0){f[m>>2]=o;if(o|0){h=o+8|0;f[h>>2]=(f[h>>2]|0)+1}if(n|0?(g=n+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(n,1,1)}if((e|0)==(a|0)){e=a;break}g=e+-20|0;if((f[p>>2]|0)<(f[g>>2]|0)){h=e;e=g;g=h}else break}if((e|0)!=(p|0)){f[e>>2]=f[p>>2];UBb(e+4|0,j)|0;e=e+16|0;g=f[e>>2]|0;h=f[k>>2]|0;if((g|0)!=(h|0)){f[e>>2]=h;if(h|0){q=h+8|0;f[q>>2]=(f[q>>2]|0)+1}if((g|0)!=0?(h=g+8|0,q=f[h>>2]|0,f[h>>2]=q-1,(q|0)==1):0){Rua(g,1,1);q=51}else q=51}}else q=51;if((q|0)==51){q=0;h=f[k>>2]|0}e=i+1|0;g=(e|0)==8;if(h|0?(s=h+8|0,i=f[s>>2]|0,f[s>>2]=i-1,(i|0)==1):0)Rua(h,1,1);f[k>>2]=0;if((b[l>>0]|0)<0)GBb(f[j>>2]|0);if(g)break}else e=i;g=d+20|0;if((g|0)==(c|0)){d=1;q=60;break}else{s=d;d=g;i=e;e=s}}if((q|0)==60){u=r;return d|0}s=(d+20|0)==(c|0);u=r;return s|0}}return 0}function V_(a,c){a=a|0;c=c|0;var d=0,e=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,v=0,w=0,x=0;x=u;u=u+32|0;n=x+24|0;s=x+12|0;t=x;o=s+4|0;f[o>>2]=0;p=s+8|0;f[p>>2]=0;v=s+4|0;f[s>>2]=v;w=a+60|0;_i[f[(f[w>>2]|0)+8>>2]&2047](w)|0;m=a+72|0;g=f[m>>2]|0;r=a+76|0;a:do if((g|0)!=(f[r>>2]|0)){while(1){i=f[g>>2]|0;l=i;h=f[v>>2]|0;do if(h){k=o;while(1){j=f[h+16>>2]|0;if(i>>>0>>0){j=f[h>>2]|0;if(!j){q=8;break}else{k=h;h=j}}else{if(j>>>0>=i>>>0){q=12;break}k=h+4|0;j=f[k>>2]|0;if(!j){q=11;break}else h=j}}if((q|0)==8){q=0;j=h;k=h;break}else if((q|0)==11){q=0;j=h;break}else if((q|0)==12){q=0;j=h;break}}else{j=v;k=v}while(0);if(!(f[k>>2]|0)){h=EBb(20)|0;f[h+16>>2]=l;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=j;f[k>>2]=h;i=f[f[s>>2]>>2]|0;if(i){f[s>>2]=i;h=f[k>>2]|0}Xo(f[o>>2]|0,h);f[p>>2]=(f[p>>2]|0)+1;i=f[g>>2]|0}h=g+4|0;if(cj[f[(f[i>>2]|0)+176>>2]&1023](i,c)|0)break;if((h|0)==(f[r>>2]|0))break a;else g=h}t=f[g>>2]|0;r=f[w>>2]|0;r=r+12|0;r=f[r>>2]|0;_i[r&2047](w)|0;w=f[v>>2]|0;P_(s,w);u=x;return t|0}while(0);J_(t,a,c);if(qZa(4)|0){l=Nu(Hua(4)|0,387001,25)|0;p=b[t+11>>0]|0;o=p<<24>>24<0;p=Nu(l,o?f[t>>2]|0:t,o?f[t+4>>2]|0:p&255)|0;Drb(n,p+(f[(f[p>>2]|0)+-12>>2]|0)|0);o=utb(n,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(n);ksb(p,o)|0;Krb(p)|0}b:do if((K_(a,t)|0)==2?(d=f[m>>2]|0,e=f[r>>2]|0,(d|0)!=(e|0)):0){while(1){i=f[d>>2]|0;g=f[v>>2]|0;if(g){h=v;do{p=(f[g+16>>2]|0)>>>0>>0;h=p?h:g;g=f[(p?g+4|0:g)>>2]|0}while((g|0)!=0);if(!((h|0)!=(v|0)?i>>>0>=(f[h+16>>2]|0)>>>0:0))q=30}else q=30;if((q|0)==30){q=0;if(cj[f[(f[i>>2]|0)+176>>2]&1023](i,c)|0)break;e=f[r>>2]|0}d=d+4|0;if((d|0)==(e|0)){d=0;break b}}d=f[d>>2]|0}else d=0;while(0);if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);t=d;r=f[w>>2]|0;r=r+12|0;r=f[r>>2]|0;_i[r&2047](w)|0;w=f[v>>2]|0;P_(s,w);u=x;return t|0}function W_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function X_(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;h=u;u=u+16|0;g=h;OBb(g,c);e=g+11|0;i=b[e>>0]|0;c=i<<24>>24<0;d=g+4|0;if((c?f[d>>2]|0:i&255)|0){c=c?f[g>>2]|0:g;do{i=(fnb(b[c>>0]|0)|0)&255;b[c>>0]=i;c=c+1|0;i=b[e>>0]|0;j=i<<24>>24<0}while((c|0)!=((j?f[g>>2]|0:g)+(j?f[d>>2]|0:i&255)|0))}c=(Y_(a+32|0,g)|0)!=(a+36|0);if((b[e>>0]|0)>=0){u=h;return c|0}GBb(f[g>>2]|0);u=h;return c|0}function Y_(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+4|0;d=f[m>>2]|0;do if(d|0){l=b[c+11>>0]|0;k=l<<24>>24<0;l=k?f[c+4>>2]|0:l&255;k=k?f[c>>2]|0:c;a=m;do{e=d+16|0;h=b[e+11>>0]|0;g=h<<24>>24<0;h=g?f[d+20>>2]|0:h&255;i=l>>>0>>0;c=i?l:h;if((c|0)!=0?(j=anb(g?f[e>>2]|0:e,k,c)|0,(j|0)!=0):0)c=j;else c=h>>>0>>0?-1:i&1;i=(c|0)<0;a=i?a:d;d=f[(i?d+4|0:d)>>2]|0}while((d|0)!=0);if((a|0)!=(m|0)){d=a+16|0;g=b[d+11>>0]|0;e=g<<24>>24<0;g=e?f[a+20>>2]|0:g&255;c=g>>>0>>0?g:l;if(c|0?(n=anb(k,e?f[d>>2]|0:d,c)|0,n|0):0){if((n|0)<0)break;return a|0}if(l>>>0>=g>>>0){n=a;return n|0}}}while(0);n=m;return n|0}function Z_(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;h=j+12|0;i=j;c=YZ(0)|0;g=(YZ(0)|0)+160|0;g=f[g>>2]|0;if((g|0)!=0?(d=f[g+112>>2]|0,(d|0)!=0):0)Kj[f[(f[d>>2]|0)+4>>2]&63](i,d,a,g,0);else e=4;do if((e|0)==4){c=f[c+44>>2]|0;if(!c){$_(i,0,a,0,0);break}else{Kj[f[(f[c>>2]|0)+4>>2]&63](i,c,a,g,0);break}}while(0);d=i+11|0;g=b[d>>0]|0;if(!((g<<24>>24<0?f[i+4>>2]|0:g&255)|0))c=a$(a)|0;else c=a$(i)|0;if(!c)if(qZa(4)|0){e=Nu(Hua(4)|0,387027,32)|0;c=b[a+11>>0]|0;g=c<<24>>24<0;c=Nu(Nu(e,g?f[a>>2]|0:a,g?f[a+4>>2]|0:c&255)|0,437848,1)|0;Drb(h,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);a=utb(h,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(h);ksb(c,a)|0;Krb(c)|0;c=0}else c=0;else{h=EBb(40)|0;b$(h,a,c);c=h}if((b[d>>0]|0)>=0){u=j;return c|0}GBb(f[i>>2]|0);u=j;return c|0}function __(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function $_(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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;s=u;u=u+48|0;o=s+24|0;p=s+12|0;r=s;c=d+11|0;q=b[c>>0]|0;h=d+4|0;if(!((q<<24>>24<0?f[h>>2]|0:q&255)|0)){OBb(a,d);u=s;return}l=(YZ(0)|0)+188|0;f$(p,d,l,g);m=p+11|0;q=b[m>>0]|0;n=p+4|0;do if(!((q<<24>>24<0?f[n>>2]|0:q&255)|0)){if(!(cqb((b[c>>0]|0)<0?f[d>>2]|0:d,0)|0)){if(qZa(5)|0){r=Nu(Hua(5)|0,387260,15)|0;q=b[c>>0]|0;g=q<<24>>24<0;q=Nu(Nu(r,g?f[d>>2]|0:d,g?f[h>>2]|0:q&255)|0,387276,13)|0;g=b[c>>0]|0;r=g<<24>>24<0;g=Nu(q,r?f[d>>2]|0:d,r?f[h>>2]|0:g&255)|0;Drb(o,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);r=utb(o,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(o);ksb(g,r)|0;Krb(g)|0}OBb(a,d);break}e$(o,d);q=o+11|0;e=b[q>>0]|0;j=e<<24>>24<0;e=e&255;k=j?f[o+4>>2]|0:e;i=b[c>>0]|0;c=i<<24>>24<0;a:do if((k|0)==((c?f[h>>2]|0:i&255)|0)){t=f[o>>2]|0;i=j?t:o;c=c?f[d>>2]|0:d;h=(k|0)==0;d=t&255;if(j){if(h){c=23;break}if(!(anb(i,c,k)|0)){c=23;break}else{c=18;break}}if(!h)if((b[c>>0]|0)==d<<24>>24){h=o;while(1){e=e+-1|0;h=h+1|0;if(!e){c=23;break a}c=c+1|0;if((b[h>>0]|0)!=(b[c>>0]|0)){c=18;break}}}else c=18;else c=23}else c=18;while(0);if((c|0)==18){f$(r,o,l,g);if((b[m>>0]|0)<0){b[f[p>>2]>>0]=0;f[n>>2]=0}else{b[p>>0]=0;b[m>>0]=0}YBb(p,0);f[p>>2]=f[r>>2];f[p+4>>2]=f[r+4>>2];f[p+8>>2]=f[r+8>>2];t=b[m>>0]|0;if(!((t<<24>>24<0?f[n>>2]|0:t&255)|0))c=23;else{f[a>>2]=f[p>>2];f[a+4>>2]=f[p+4>>2];f[a+8>>2]=f[p+8>>2];f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0}}if((c|0)==23){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}if((b[q>>0]|0)<0)GBb(f[o>>2]|0)}else{f[a>>2]=f[p>>2];f[a+4>>2]=f[p+4>>2];f[a+8>>2]=f[p+8>>2];f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0}while(0);if((b[m>>0]|0)<0)GBb(f[p>>2]|0);u=s;return}function a$(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+32|0;l=p+12|0;m=p;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;e$(l,a);n=a+11|0;d=b[n>>0]|0;i=d<<24>>24<0;o=a+4|0;d=d&255;j=i?f[o>>2]|0:d;h=b[l+11>>0]|0;k=h<<24>>24<0;a:do if((j|0)==((k?f[l+4>>2]|0:h&255)|0)){h=f[a>>2]|0;e=i?h:a;c=k?f[l>>2]|0:l;g=(j|0)==0;h=h&255;if(i){if(g){c=1;break}c=(anb(e,c,j)|0)==0;break}if(!g)if((b[c>>0]|0)==h<<24>>24){e=a;while(1){d=d+-1|0;e=e+1|0;if(!d){c=1;break a}c=c+1|0;if((b[e>>0]|0)!=(b[c>>0]|0)){c=0;break}}}else c=0;else c=1}else c=0;while(0);if(k)GBb(f[l>>2]|0);if(c){CCb(l,387132,a);c=m+11|0;if((b[c>>0]|0)<0){b[f[m>>2]>>0]=0;f[m+4>>2]=0}else{b[m>>0]=0;b[c>>0]=0}YBb(m,0);f[m>>2]=f[l>>2];f[m+4>>2]=f[l+4>>2];f[m+8>>2]=f[l+8>>2]}else{UBb(m,a)|0;c=m+11|0}d=Qb(((b[c>>0]|0)<0?f[m>>2]|0:m)|0,257)|0;do if(!d)if(!(cqb((b[c>>0]|0)<0?f[m>>2]|0:m,0)|0)){if(qZa(2)|0){j=Nu(Hua(2)|0,387135,26)|0;n=b[n>>0]|0;k=n<<24>>24<0;o=Nu(Nu(j,k?f[a>>2]|0:a,k?f[o>>2]|0:n&255)|0,387162,56)|0;Drb(l,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(l,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(l);ksb(o,n)|0;Krb(o)|0}if(!(qZa(2)|0))break;n=Hua(2)|0;o=Pb()|0;o=Nu(n,o,Rmb(o)|0)|0;Drb(l,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(l,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(l);ksb(o,n)|0;Krb(o)|0;break}else{if(qZa(4)|0){j=Nu(Hua(4)|0,387135,26)|0;n=b[n>>0]|0;k=n<<24>>24<0;o=Nu(Nu(j,k?f[a>>2]|0:a,k?f[o>>2]|0:n&255)|0,387219,37)|0;Drb(l,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(l,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(l);ksb(o,n)|0;Krb(o)|0}if(!(qZa(4)|0))break;n=Hua(4)|0;o=Pb()|0;o=Nu(n,o,Rmb(o)|0)|0;Drb(l,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(l,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(l);ksb(o,n)|0;Krb(o)|0;break}while(0);if((b[c>>0]|0)>=0){u=p;return d|0}GBb(f[m>>2]|0);u=p;return d|0}function b$(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;h=u;u=u+16|0;e=h;rZa(a);f[a>>2]=324976;g=a+16|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[g+16>>2]=0;f[g+20>>2]=0;UBb(g,c)|0;f[a+12>>2]=d;if(!(qZa(4)|0)){u=h;return}i=Nu(Hua(4)|0,387060,22)|0;d=b[g+11>>0]|0;c=d<<24>>24<0;g=Nu(i,c?f[g>>2]|0:g,c?f[a+20>>2]|0:d&255)|0;Drb(e,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);d=utb(e,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(e);ksb(g,d)|0;Krb(g)|0;u=h;return}function c$(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;e=u;u=u+16|0;c=e;f[a>>2]=324976;d=a+12|0;if(f[d>>2]|0){if(qZa(4)|0){j=Nu(Hua(4)|0,387083,23)|0;i=a+16|0;g=b[i+11>>0]|0;h=g<<24>>24<0;g=Nu(j,h?f[i>>2]|0:i,h?f[a+20>>2]|0:g&255)|0;Drb(c,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);h=utb(c,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(c);ksb(g,h)|0;Krb(g)|0}Ob(f[d>>2]|0)|0}c=a+28|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+16|0;if((b[c+11>>0]|0)>=0){Uua(a);u=e;return}GBb(f[c>>2]|0);Uua(a);u=e;return}function d$(a){a=a|0;c$(a);GBb(a);return}function e$(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0;d=b[c+11>>0]|0;i=d<<24>>24<0;e=i?f[c>>2]|0:c;d=i?f[c+4>>2]|0:d&255;a:do if(d|0){i=e+d|0;g=i;while(1){d=g+-1|0;if(Ymb(387257,h[d>>0]|0,2)|0)break;if((d|0)==(e|0))break a;else g=d}if((d-e|0)!=-1){c=g;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;d=i-c|0;if(d>>>0>4294967279)MBb(a);if(d>>>0<11)b[a+11>>0]=d;else{j=d+16&-16;e=EBb(j)|0;f[a>>2]=e;f[a+8>>2]=j|-2147483648;f[a+4>>2]=d;a=e}if((g|0)!=(i|0)){e=i+(0-c)|0;c=a;d=g;while(1){b[c>>0]=b[d>>0]|0;d=d+1|0;if((d|0)==(i|0))break;else c=c+1|0}a=a+e|0}b[a>>0]=0;return}}while(0);OBb(a,c);return}function f$(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|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,v=0,w=0,x=0,y=0;y=u;u=u+32|0;x=y+12|0;v=y;t=b[c+11>>0]|0;if(!((t<<24>>24<0?f[c+4>>2]|0:t&255)|0)){OBb(a,c);u=y;return}if((lCb(c,92,0)|0)!=-1){OBb(x,c);g=lCb(x,92,0)|0;if((g|0)!=-1){h=x+11|0;do{b[((b[h>>0]|0)<0?f[x>>2]|0:x)+g>>0]=47;g=lCb(x,92,g)|0}while((g|0)!=-1)}f$(a,x,d,e);if((b[x+11>>0]|0)<0)GBb(f[x>>2]|0);u=y;return}r=d+4|0;l=f[r>>2]|0;s=d+16|0;k=f[s>>2]|0;g=(k>>>0)/341|0;j=l+(g<<2)|0;t=d+8|0;i=f[t>>2]|0;if((i|0)==(l|0))h=0;else h=(f[j>>2]|0)+((k-(g*341|0)|0)*12|0)|0;o=d+20|0;p=x+11|0;q=x+4|0;e=(e|0)==1;m=a+11|0;n=a+4|0;g=k;d=l;while(1){g=g+(f[o>>2]|0)|0;if((i|0)==(d|0))g=0;else{l=(g>>>0)/341|0;g=(f[d+(l<<2)>>2]|0)+((g-(l*341|0)|0)*12|0)|0}d=h;if((g|0)==(d|0))break;if(qZa(5)|0){i=Nu(Hua(5)|0,387290,5)|0;g=h+11|0;l=b[g>>0]|0;k=l<<24>>24<0;Nu(Nu(i,k?f[d>>2]|0:h,k?f[d+4>>2]|0:l&255)|0,387296,2)|0}else g=h+11|0;g=b[g>>0]|0;if(g<<24>>24<0)g=f[d+4>>2]|0;else g=g&255;if(!g)OBb(x,c);else g$(x,d,c);h$(v,x);if((b[p>>0]|0)<0){b[f[x>>2]>>0]=0;f[q>>2]=0}else{b[x>>0]=0;b[p>>0]=0}YBb(x,0);f[x>>2]=f[v>>2];f[x+4>>2]=f[v+4>>2];f[x+8>>2]=f[v+8>>2];if(qZa(5)|0){i=Nu(Hua(5)|0,387299,26)|0;l=b[p>>0]|0;k=l<<24>>24<0;Nu(Nu(i,k?f[x>>2]|0:x,k?f[q>>2]|0:l&255)|0,387326,5)|0}do if(!(cqb((b[p>>0]|0)<0?f[x>>2]|0:x,0)|0)){if(qZa(5)|0){i=Nu(Hua(5)|0,387332,25)|0;l=b[p>>0]|0;k=l<<24>>24<0;Nu(Nu(i,k?f[x>>2]|0:x,k?f[q>>2]|0:l&255)|0,474250,1)|0};f[a>>2]=f[x>>2];f[a+4>>2]=f[x+4>>2];f[a+8>>2]=f[x+8>>2];f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;g=1}else{if(e){i$(a,c,d,1);g=b[m>>0]|0;l=g<<24>>24<0;g=((l?f[n>>2]|0:g&255)|0)==0;if(l&g)GBb(f[a>>2]|0);if(!g){g=1;break}}g=0}while(0);if((b[p>>0]|0)<0)GBb(f[x>>2]|0);if(g|0){w=46;break}h=d+12|0;if((h-(f[j>>2]|0)|0)==4092){h=j+4|0;g=h;h=f[h>>2]|0}else g=j;j=g;g=f[s>>2]|0;i=f[t>>2]|0;d=f[r>>2]|0}if((w|0)==46){u=y;return};f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;u=y;return}function g$(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;j=u;u=u+32|0;g=j+12|0;h=j;e=b[c+11>>0]|0;i=e<<24>>24<0;e=i?f[c+4>>2]|0:e&255;if(!e){OBb(a,d);u=j;return}e=e+-1|0;switch(b[(i?f[c>>2]|0:c)+e>>0]|0){case 47:{qL(a,c,d);u=j;return}case 92:{SBb(h,c,0,e,c);dCb(h,47);f[g>>2]=f[h>>2];f[g+4>>2]=f[h+4>>2];f[g+8>>2]=f[h+8>>2];f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=b[d+11>>0]|0;c=i<<24>>24<0;i=bCb(g,c?f[d>>2]|0:d,c?f[d+4>>2]|0:i&255)|0;f[a>>2]=f[i>>2];f[a+4>>2]=f[i+4>>2];f[a+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);u=j;return}default:{B_(g,c,47);i=b[d+11>>0]|0;h=i<<24>>24<0;i=bCb(g,h?f[d>>2]|0:d,h?f[d+4>>2]|0:i&255)|0;f[a>>2]=f[i>>2];f[a+4>>2]=f[i+4>>2];f[a+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);u=j;return}}}function h$(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+4096|0;d=g;if(!(eqb((b[c+11>>0]|0)<0?f[c>>2]|0:c,d)|0)){OBb(a,c);u=g;return};f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;c=Rmb(d)|0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11){b[a+11>>0]=c;if(c)e=7}else{h=c+16&-16;e=EBb(h)|0;f[a>>2]=e;f[a+8>>2]=h|-2147483648;f[a+4>>2]=c;a=e;e=7}if((e|0)==7)YDb(a|0,d|0,c|0)|0;b[a+c>>0]=0;u=g;return}function i$(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=u;u=u+80|0;A=E+60|0;B=E+48|0;C=E+36|0;w=E+24|0;v=E+12|0;t=E;OBb(B,e);OBb(C,c);e$(A,c);q=c+11|0;j=b[q>>0]|0;k=j<<24>>24<0;r=c+4|0;j=j&255;l=k?f[r>>2]|0:j;z=b[A+11>>0]|0;p=z<<24>>24<0;a:do if((l|0)==((p?f[A+4>>2]|0:z&255)|0)){o=f[c>>2]|0;m=k?o:c;i=p?f[A>>2]|0:A;n=(l|0)==0;o=o&255;if(k){if(n){i=0;break}i=(anb(m,i,l)|0)!=0;break}if(!n)if((b[i>>0]|0)==o<<24>>24){k=c;while(1){j=j+-1|0;k=k+1|0;if(!j){i=0;break a}i=i+1|0;if((b[k>>0]|0)!=(b[i>>0]|0)){i=1;break}}}else i=1;else i=0}else i=1;while(0);if(p)GBb(f[A>>2]|0);z=B+11|0;if(i){i=b[z>>0]|0;s=B+4|0;k=f[s>>2]|0;j=i&255;switch((i<<24>>24<0?k:j)|0){case 0:{j=b[q>>0]|0;y=j<<24>>24<0;k=y?f[c>>2]|0:c;j=y?f[r>>2]|0:j&255;b:do if(j){j=k+j|0;while(1){j=j+-1|0;if(Ymb(387257,h[j>>0]|0,2)|0)break;if((j|0)==(k|0)){D=20;break b}}j=j-k|0;if((j|0)!=-1){SBb(w,c,0,j,A);i=b[z>>0]|0}else D=20}else D=20;while(0);if((D|0)==20){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0}if(i<<24>>24<0){b[f[B>>2]>>0]=0;f[s>>2]=0}else{b[B>>0]=0;b[z>>0]=0}YBb(B,0);f[B>>2]=f[w>>2];f[B+4>>2]=f[w+4>>2];f[B+8>>2]=f[w+8>>2];break}case 1:{if(!(nCb(B,0,-1,486551,1)|0))D=33;else{i=b[z>>0]|0;j=i&255;k=f[s>>2]|0;D=28}break}default:D=28}c:do if((D|0)==28){if(((i<<24>>24<0?k:j)|0)==2){if(!(nCb(B,0,-1,387132,2)|0)){D=33;break}i=b[z>>0]|0;j=i&255;k=f[s>>2]|0}if(((i<<24>>24<0?k:j)|0)==2?(nCb(B,0,-1,387358,2)|0)==0:0){D=33;break}n=e+11|0;o=b[n>>0]|0;y=o<<24>>24<0;p=e+4|0;i=f[p>>2]|0;j=f[e>>2]|0;l=o&255;switch(b[(y?j:e)+((y?i:l)+-1)>>0]|0){case 92:case 47:{k=b[q>>0]|0;y=k<<24>>24<0;m=y?f[c>>2]|0:c;k=y?f[r>>2]|0:k&255;d:do if(k){k=m+k|0;while(1){k=k+-1|0;if(Ymb(387257,h[k>>0]|0,2)|0)break;if((k|0)==(m|0)){D=52;break d}}k=k-m|0;if((k|0)!=-1){SBb(v,c,0,k,A);k=b[n>>0]|0;l=k&255;j=f[e>>2]|0;i=f[p>>2]|0}else D=52}else D=52;while(0);if((D|0)==52){f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;k=o}y=k<<24>>24<0;y=eCb(v,0,y?j:e,y?i:l)|0;i=f[y>>2]|0;j=y+4|0;f[w>>2]=f[j>>2];d[w+4>>1]=d[j+4>>1]|0;b[w+6>>0]=b[j+6>>0]|0;j=b[y+11>>0]|0;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;if((b[z>>0]|0)<0){b[f[B>>2]>>0]=0;f[s>>2]=0}else{b[B>>0]=0;b[z>>0]=0}YBb(B,0);f[B>>2]=i;f[s>>2]=f[w>>2];d[s+4>>1]=d[w+4>>1]|0;b[s+6>>0]=b[w+6>>0]|0;b[B+11>>0]=j;f[w>>2]=0;d[w+4>>1]=0;b[w+6>>0]=0;if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);break c}default:{}}j$(v,e,432091);i=b[q>>0]|0;y=i<<24>>24<0;j=y?f[c>>2]|0:c;i=y?f[r>>2]|0:i&255;e:do if(i){i=j+i|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0)break;if((i|0)==(j|0)){D=65;break e}}i=i-j|0;if((i|0)!=-1){SBb(t,c,0,i,A);i=t+11|0;l=i;m=t;i=b[i>>0]|0;j=f[t>>2]|0;k=f[t+4>>2]|0}else D=65}else D=65;while(0);if((D|0)==65){f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;l=t+11|0;m=t;i=0;j=0;k=0}y=i<<24>>24<0;y=bCb(v,y?j:t,y?k:i&255)|0;i=f[y>>2]|0;j=y+4|0;f[w>>2]=f[j>>2];d[w+4>>1]=d[j+4>>1]|0;b[w+6>>0]=b[j+6>>0]|0;j=b[y+11>>0]|0;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;if((b[z>>0]|0)<0){b[f[B>>2]>>0]=0;f[s>>2]=0}else{b[B>>0]=0;b[z>>0]=0}YBb(B,0);f[B>>2]=i;f[s>>2]=f[w>>2];d[s+4>>1]=d[w+4>>1]|0;b[s+6>>0]=b[w+6>>0]|0;b[B+11>>0]=j;f[w>>2]=0;d[w+4>>1]=0;b[w+6>>0]=0;if((b[l>>0]|0)<0)GBb(f[m>>2]|0);if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0)}while(0);if((D|0)==33){i=b[q>>0]|0;y=i<<24>>24<0;j=y?f[c>>2]|0:c;i=y?f[r>>2]|0:i&255;f:do if(i){i=j+i|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0)break;if((i|0)==(j|0)){D=38;break f}}i=i-j|0;if((i|0)!=-1)SBb(v,c,0,i,A);else D=38}else D=38;while(0);if((D|0)==38){f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0}y=fCb(v,0,387132)|0;i=f[y>>2]|0;j=y+4|0;f[w>>2]=f[j>>2];d[w+4>>1]=d[j+4>>1]|0;b[w+6>>0]=b[j+6>>0]|0;j=b[y+11>>0]|0;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;if((b[z>>0]|0)<0){b[f[B>>2]>>0]=0;f[s>>2]=0}else{b[B>>0]=0;b[z>>0]=0}YBb(B,0);f[B>>2]=i;f[s>>2]=f[w>>2];d[s+4>>1]=d[w+4>>1]|0;b[s+6>>0]=b[w+6>>0]|0;b[B+11>>0]=j;f[w>>2]=0;d[w+4>>1]=0;b[w+6>>0]=0;if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0)}e$(A,c);i=C+11|0;if((b[i>>0]|0)<0){b[f[C>>2]>>0]=0;f[C+4>>2]=0}else{b[C>>0]=0;b[i>>0]=0}YBb(C,0);f[C>>2]=f[A>>2];f[C+4>>2]=f[A+4>>2];f[C+8>>2]=f[A+8>>2];m=s}else m=B+4|0;i=b[z>>0]|0;j=i<<24>>24<0;i=j?f[m>>2]|0:i&255;g:do if(i>>>0>2){i=i+-1|0;switch(b[(j?f[B>>2]|0:B)+i>>0]|0){case 47:case 92:break;default:break g}hCb(B,i,1)|0;if(qZa(5)|0){c=Nu(Hua(5)|0,387361,75)|0;y=b[z>>0]|0;x=y<<24>>24<0;y=Nu(c,x?f[B>>2]|0:B,x?f[m>>2]|0:y&255)|0;Drb(A,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);x=utb(A,504576)|0;x=cj[f[(f[x>>2]|0)+28>>2]&1023](x,10)|0;vtb(A);ksb(y,x)|0;Krb(y)|0}}while(0);if(qZa(5)|0){x=Nu(Hua(5)|0,387437,36)|0;c=b[C+11>>0]|0;y=c<<24>>24<0;c=Nu(Nu(x,y?f[C>>2]|0:C,y?f[C+4>>2]|0:c&255)|0,387474,4)|0;y=b[z>>0]|0;x=y<<24>>24<0;y=Nu(c,x?f[B>>2]|0:B,x?f[m>>2]|0:y&255)|0;Drb(A,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);x=utb(A,504576)|0;x=cj[f[(f[x>>2]|0)+28>>2]&1023](x,10)|0;vtb(A);ksb(y,x)|0;Krb(y)|0}k=b[z>>0]|0;j=f[m>>2]|0;i=k&255;switch((k<<24>>24<0?j:i)|0){case 0:{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;b[w+11>>0]=1;b[w>>0]=46;b[w+1>>0]=0;k$(A,w);x=0;w=0;y=f[A>>2]|0;i=f[A+4>>2]|0;break}case 1:{if(!(nCb(B,0,-1,486551,1)|0))D=95;else{k=b[z>>0]|0;i=k&255;j=f[m>>2]|0;D=89}break}default:D=89}h:do if((D|0)==89){if(((k<<24>>24<0?j:i)|0)==2){if(!(nCb(B,0,-1,387132,2)|0)){D=95;break}k=b[z>>0]|0;i=k&255;j=f[m>>2]|0}if(((k<<24>>24<0?j:i)|0)==2){if(!(nCb(B,0,-1,387358,2)|0)){D=95;break}k=b[z>>0]|0;i=k&255;j=f[m>>2]|0}if(((k<<24>>24<0?j:i)|0)==1?(nCb(B,0,-1,432091,1)|0)==0:0){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;b[w+11>>0]=1;b[w>>0]=47;b[w+1>>0]=0;k$(A,w);x=1;w=0;y=f[A>>2]|0;i=f[A+4>>2]|0;break}if((g|0)!=1){k$(A,B);j=f[A>>2]|0;i=f[A+4>>2]|0;y=b[z>>0]|0;x=y<<24>>24<0;switch(b[(x?f[B>>2]|0:B)+((x?f[m>>2]|0:y&255)+-1)>>0]|0){case 92:case 47:{x=1;w=0;y=j;break h}default:{}}x=1;w=1;y=j;break}i=b[z>>0]|0;y=i<<24>>24<0;j=y?f[B>>2]|0:B;i=y?f[m>>2]|0:i&255;i:do if(i){i=j+i|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0)break;if((i|0)==(j|0)){D=105;break i}}i=i-j|0;if((i|0)!=-1)SBb(w,B,0,i,A);else D=105}else D=105;while(0);if((D|0)==105){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0}e$(A,B);l=w+11|0;y=b[l>>0]|0;if(((y<<24>>24<0?f[w+4>>2]|0:y&255)|0)==0?(y=b[A+11>>0]|0,((y<<24>>24<0?f[A+4>>2]|0:y&255)|0)!=0):0){switch(b[((b[z>>0]|0)<0?f[B>>2]|0:B)>>0]|0){case 92:case 47:{f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;i=47;break}default:{f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;i=46}}b[v+11>>0]=1;b[v>>0]=i;b[v+1>>0]=0;i$(t,A,v,1);if((b[z>>0]|0)<0){b[f[B>>2]>>0]=0;f[m>>2]=0}else{b[B>>0]=0;b[z>>0]=0}YBb(B,0);f[B>>2]=f[t>>2];f[B+4>>2]=f[t+4>>2];f[B+8>>2]=f[t+8>>2];k$(t,B);j=f[t>>2]|0;i=f[t+4>>2]|0;if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);k=1}else D=118;j:do if((D|0)==118){i$(v,A,w,1);if((b[z>>0]|0)<0){b[f[B>>2]>>0]=0;f[m>>2]=0}else{b[B>>0]=0;b[z>>0]=0}YBb(B,0);f[B>>2]=f[v>>2];f[B+4>>2]=f[v+4>>2];f[B+8>>2]=f[v+8>>2];k$(v,B);j=f[v>>2]|0;i=f[v+4>>2]|0;y=b[z>>0]|0;x=y<<24>>24<0;switch(b[(x?f[B>>2]|0:B)+((x?f[m>>2]|0:y&255)+-1)>>0]|0){case 92:case 47:{k=0;break j}default:{}}k=1}while(0);if((b[A+11>>0]|0)<0)GBb(f[A>>2]|0);if((b[l>>0]|0)<0)GBb(f[w>>2]|0);x=1;w=k<<24>>24!=0;y=j}while(0);if((D|0)==95){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;b[w+11>>0]=1;b[w>>0]=46;b[w+1>>0]=0;k$(A,w);x=0;w=0;y=f[A>>2]|0;i=f[A+4>>2]|0}v=y;t=(v|0)==(i|0);k:do if(t){j=C+11|0;D=165}else{j=C+11|0;r=b[j>>0]|0;q=r<<24>>24<0;r=r&255;e=q?f[C+4>>2]|0:r;s=q?f[C>>2]|0:C;p=s+e|0;c=(e|0)==0;l:do if((g|0)==1){k=v;while(1){o=b[k+11>>0]|0;n=o<<24>>24<0;o=(e|0)==((n?f[k+4>>2]|0:o&255)|0);m:do if(o){if(c)break l;l=s;m=n?f[k>>2]|0:k;while(1){g=fnb(b[l>>0]|0)|0;if((g|0)!=(fnb(b[m>>0]|0)|0))break;l=l+1|0;if((l|0)==(p|0))break l;else m=m+1|0}if(o){l=n?f[k>>2]|0:k;if(q){if(c)break l;if(!(anb(s,l,e)|0))break l;else break}if(c)break l;m=C;n=r;while(1){if((b[m>>0]|0)!=(b[l>>0]|0))break m;n=n+-1|0;if(!n)break l;else{m=m+1|0;l=l+1|0}}}}while(0);k=k+12|0;if((k|0)==(i|0)){D=165;break k}}}else{k=v;while(1){g=b[k+11>>0]|0;l=g<<24>>24<0;n:do if((e|0)==((l?f[k+4>>2]|0:g&255)|0)){l=l?f[k>>2]|0:k;if(q){if(c)break l;if(!(anb(s,l,e)|0))break l;else break}if(c)break l;m=C;n=r;while(1){if((b[m>>0]|0)!=(b[l>>0]|0))break n;n=n+-1|0;if(!n)break l;else{m=m+1|0;l=l+1|0}}}while(0);k=k+12|0;if((k|0)==(i|0)){D=165;break k}}}while(0);if(!x){OBb(a,k);break}if(!w){qL(a,B,k);break}B_(A,B,47);g=b[k+11>>0]|0;x=g<<24>>24<0;g=bCb(A,x?f[k>>2]|0:k,x?f[k+4>>2]|0:g&255)|0;f[a>>2]=f[g>>2];f[a+4>>2]=f[g+4>>2];f[a+8>>2]=f[g+8>>2];f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if((b[A+11>>0]|0)<0)GBb(f[A>>2]|0)}while(0);if((D|0)==165){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}if((b[j>>0]|0)<0)GBb(f[C>>2]|0);if((b[z>>0]|0)<0)GBb(f[B>>2]|0);if(!y){u=E;return}if(!t)do{i=i+-12|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}while((i|0)!=(v|0));GBb(y);u=E;return}function j$(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;e=b[c+11>>0]|0;if(e<<24>>24<0){g=f[c+4>>2]|0;h=Rmb(d)|0;c=f[c>>2]|0}else{h=Rmb(d)|0;g=e&255}e=g+h|0;if(e>>>0>4294967279)MBb(a);if(e>>>0<11){b[a+11>>0]=g;e=a}else{i=e+16&-16;e=EBb(i)|0;f[a>>2]=e;f[a+8>>2]=i|-2147483648;f[a+4>>2]=g}if(!g){i=e+g|0;b[i>>0]=0;bCb(a,d,h)|0;return}YDb(e|0,c|0,g|0)|0;i=e+g|0;b[i>>0]=0;bCb(a,d,h)|0;return}function k$(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;k=o;f[a>>2]=0;l=a+4|0;f[l>>2]=0;m=a+8|0;f[m>>2]=0;g=upb((b[c+11>>0]|0)<0?f[c>>2]|0:c)|0;if(!g){u=o;return}h=k+11|0;i=k+8|0;j=k+4|0;while(1){c=wpb(g)|0;if(!c)break;d=c+11|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;e=Rmb(d)|0;if(e>>>0>4294967279){n=5;break}if(e>>>0<11){b[h>>0]=e;if(!e)c=k;else{c=k;n=9}}else{n=e+16&-16;c=EBb(n)|0;f[k>>2]=c;f[i>>2]=n|-2147483648;f[j>>2]=e;n=9}if((n|0)==9){n=0;YDb(c|0,d|0,e|0)|0}b[c+e>>0]=0;c=f[l>>2]|0;if(c>>>0>=(f[m>>2]|0)>>>0){Pu(a,k);if((b[h>>0]|0)<0)GBb(f[k>>2]|0)}else{f[c>>2]=f[k>>2];f[c+4>>2]=f[k+4>>2];f[c+8>>2]=f[k+8>>2];f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[l>>2]=(f[l>>2]|0)+12}}if((n|0)==5)MBb(k);vpb(g)|0;u=o;return}function l$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=a+8|0;c=f[q>>2]|0;n=a+12|0;p=f[n>>2]|0;g=p;do if((c|0)==(p|0)){p=a+4|0;o=f[p>>2]|0;j=o;d=f[a>>2]|0;e=d;if(o>>>0>d>>>0){e=((j-e>>2)+1|0)/-2|0;g=o+(e<<2)|0;d=c-j|0;if(!d)c=g;else{ZDb(g|0,o|0,d|0)|0;c=(f[p>>2]|0)+(e<<2)|0}o=g+(d>>2<<2)|0;f[q>>2]=o;f[p>>2]=c;c=o;break}g=g-e|0;g=(g|0)==0?1:g>>1;h=g>>>2;do if(g)if(g>>>0>1073741823){q=ab(8)|0;KBb(q,410101);f[q>>2]=362060;eb(q|0,302144,1464)}else{i=EBb(g<<2)|0;break}else i=0;while(0);l=i;e=i+(h<<2)|0;m=e;k=i+(g<<2)|0;if((o|0)==(c|0))c=m;else{g=h+((c+-4-j|0)>>>2)+1|0;d=o;while(1){f[e>>2]=f[d>>2];d=d+4|0;if((d|0)==(c|0))break;else e=e+4|0}c=i+(g<<2)|0;d=f[a>>2]|0}f[a>>2]=l;f[p>>2]=m;f[q>>2]=c;f[n>>2]=k;if(d){GBb(d);c=f[q>>2]|0}}while(0);f[c>>2]=f[b>>2];f[q>>2]=(f[q>>2]|0)+4;return}function m$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=a+4|0;o=f[q>>2]|0;j=o;p=f[a>>2]|0;d=p;do if((o|0)==(p|0)){p=a+8|0;m=f[p>>2]|0;n=a+12|0;l=f[n>>2]|0;c=l;if(m>>>0>>0){d=m;g=((c-d>>2)+1|0)/2|0;e=m+(g<<2)|0;d=d-j|0;c=e+(0-(d>>2)<<2)|0;if(!d){c=e;d=e}else{ZDb(c|0,o|0,d|0)|0;d=(f[p>>2]|0)+(g<<2)|0}f[q>>2]=c;f[p>>2]=d;break}d=c-d|0;d=(d|0)==0?1:d>>1;e=(d+3|0)>>>2;do if(d)if(d>>>0>1073741823){q=ab(8)|0;KBb(q,410101);f[q>>2]=362060;eb(q|0,302144,1464)}else{h=EBb(d<<2)|0;break}else h=0;while(0);k=h;c=h+(e<<2)|0;l=c;i=h+(d<<2)|0;if((o|0)==(m|0)){e=l;d=o}else{g=((m+-4-j|0)>>>2)+e+1|0;e=c;d=o;while(1){f[e>>2]=f[d>>2];d=d+4|0;if((d|0)==(m|0))break;else e=e+4|0}e=h+(g<<2)|0;d=f[a>>2]|0}f[a>>2]=k;f[q>>2]=l;f[p>>2]=e;f[n>>2]=i;if(d){GBb(d);c=f[q>>2]|0}}else c=o;while(0);f[c+-4>>2]=f[b>>2];f[q>>2]=(f[q>>2]|0)+-4;return}function n$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=a+8|0;c=f[q>>2]|0;n=a+12|0;p=f[n>>2]|0;g=p;do if((c|0)==(p|0)){p=a+4|0;o=f[p>>2]|0;j=o;d=f[a>>2]|0;e=d;if(o>>>0>d>>>0){e=((j-e>>2)+1|0)/-2|0;g=o+(e<<2)|0;d=c-j|0;if(!d)c=g;else{ZDb(g|0,o|0,d|0)|0;c=(f[p>>2]|0)+(e<<2)|0}o=g+(d>>2<<2)|0;f[q>>2]=o;f[p>>2]=c;c=o;break}g=g-e|0;g=(g|0)==0?1:g>>1;h=g>>>2;do if(g)if(g>>>0>1073741823){q=ab(8)|0;KBb(q,410101);f[q>>2]=362060;eb(q|0,302144,1464)}else{i=EBb(g<<2)|0;break}else i=0;while(0);l=i;e=i+(h<<2)|0;m=e;k=i+(g<<2)|0;if((o|0)==(c|0))c=m;else{g=h+((c+-4-j|0)>>>2)+1|0;d=o;while(1){f[e>>2]=f[d>>2];d=d+4|0;if((d|0)==(c|0))break;else e=e+4|0}c=i+(g<<2)|0;d=f[a>>2]|0}f[a>>2]=l;f[p>>2]=m;f[q>>2]=c;f[n>>2]=k;if(d){GBb(d);c=f[q>>2]|0}}while(0);f[c>>2]=f[b>>2];f[q>>2]=(f[q>>2]|0)+4;return}function o$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=a+4|0;o=f[q>>2]|0;j=o;p=f[a>>2]|0;d=p;do if((o|0)==(p|0)){p=a+8|0;m=f[p>>2]|0;n=a+12|0;l=f[n>>2]|0;c=l;if(m>>>0>>0){d=m;g=((c-d>>2)+1|0)/2|0;e=m+(g<<2)|0;d=d-j|0;c=e+(0-(d>>2)<<2)|0;if(!d){c=e;d=e}else{ZDb(c|0,o|0,d|0)|0;d=(f[p>>2]|0)+(g<<2)|0}f[q>>2]=c;f[p>>2]=d;break}d=c-d|0;d=(d|0)==0?1:d>>1;e=(d+3|0)>>>2;do if(d)if(d>>>0>1073741823){q=ab(8)|0;KBb(q,410101);f[q>>2]=362060;eb(q|0,302144,1464)}else{h=EBb(d<<2)|0;break}else h=0;while(0);k=h;c=h+(e<<2)|0;l=c;i=h+(d<<2)|0;if((o|0)==(m|0)){e=l;d=o}else{g=((m+-4-j|0)>>>2)+e+1|0;e=c;d=o;while(1){f[e>>2]=f[d>>2];d=d+4|0;if((d|0)==(m|0))break;else e=e+4|0}e=h+(g<<2)|0;d=f[a>>2]|0}f[a>>2]=k;f[q>>2]=l;f[p>>2]=e;f[n>>2]=i;if(d){GBb(d);c=f[q>>2]|0}}else c=o;while(0);f[c+-4>>2]=f[b>>2];f[q>>2]=(f[q>>2]|0)+-4;return}function p$(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+4|0;d=f[m>>2]|0;do if(d|0){l=b[c+11>>0]|0;k=l<<24>>24<0;l=k?f[c+4>>2]|0:l&255;k=k?f[c>>2]|0:c;a=m;do{e=d+16|0;h=b[e+11>>0]|0;g=h<<24>>24<0;h=g?f[d+20>>2]|0:h&255;i=l>>>0>>0;c=i?l:h;if((c|0)!=0?(j=anb(g?f[e>>2]|0:e,k,c)|0,(j|0)!=0):0)c=j;else c=h>>>0>>0?-1:i&1;i=(c|0)<0;a=i?a:d;d=f[(i?d+4|0:d)>>2]|0}while((d|0)!=0);if((a|0)!=(m|0)){d=a+16|0;g=b[d+11>>0]|0;e=g<<24>>24<0;g=e?f[a+20>>2]|0:g&255;c=g>>>0>>0?g:l;if(c|0?(n=anb(k,e?f[d>>2]|0:d,c)|0,n|0):0){if((n|0)<0)break;return a|0}if(l>>>0>=g>>>0){n=a;return n|0}}}while(0);n=m;return n|0}function q$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+108|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;a=r$(a+120|0,b)|0;b=f[a>>2]|0;if((b|0)!=(c|0)){f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(b|0?(a=b+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(b,1,1)}_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;return}function r$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;e=s$(a,d,b)|0;c=f[e>>2]|0;if(c|0){a=c;a=a+28|0;u=h;return a|0}g=EBb(32)|0;OBb(g+16|0,b);f[g+28>>2]=0;c=f[d>>2]|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=c;f[e>>2]=g;c=f[f[a>>2]>>2]|0;if(!c)c=g;else{f[a>>2]=c;c=f[e>>2]|0}Xo(f[a+4>>2]|0,c);a=a+8|0;f[a>>2]=(f[a>>2]|0)+1;a=g;a=a+28|0;u=h;return a|0}function s$(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=a+4|0;h=f[e>>2]|0;if(!h){f[c>>2]=e;o=e;return o|0}m=b[d+11>>0]|0;l=m<<24>>24<0;m=l?f[d+4>>2]|0:m&255;l=l?f[d>>2]|0:d;g=a+4|0;e=h;while(1){d=e+16|0;h=b[d+11>>0]|0;a=h<<24>>24<0;h=a?f[e+20>>2]|0:h&255;k=h>>>0>>0;j=k?h:m;i=(j|0)==0;if(!i?(n=a?f[d>>2]|0:d,o=anb(l,n,j)|0,(o|0)!=0):0)if((o|0)<0)a=7;else{d=n;a=11}else if(m>>>0>=h>>>0)if(i)a=12;else{d=a?f[d>>2]|0:d;a=11}else a=7;if((a|0)==7){a=0;d=f[e>>2]|0;if(!d){a=8;break}else{g=e;e=d}}else if((a|0)==11){d=anb(d,l,j)|0;if(d)if((d|0)<0)a=14;else{a=16;break}else a=12}if((a|0)==12)if(k)a=14;else{a=16;break}if((a|0)==14){d=e+4|0;a=f[d>>2]|0;if(!a){a=15;break}else{g=d;e=a}}}if((a|0)==8){f[c>>2]=e;o=e;return o|0}else if((a|0)==15){f[c>>2]=e;o=d;return o|0}else if((a|0)==16){f[c>>2]=e;o=g;return o|0}return 0}function t$(a){a=a|0;var c=0;f[a>>2]=324904;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function u$(a){a=a|0;var c=0;f[a>>2]=324904;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function v$(a,b,c){a=a|0;b=b|0;c=c|0;Lj[f[(f[c>>2]|0)+192>>2]&15](a,c,b+12|0,f[b+28>>2]|0,f[b+32>>2]|0,f[b+24>>2]|0);return}function w$(a,b){a=a|0;b=b|0;a=f[b+16>>2]|0;if(!a){b=0;return b|0}b=(WCb(a,295088,285568,0)|0)!=0;return b|0}function x$(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,285568,0)|0)!=0;return b|0}function y$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=EBb(36)|0;e=f[a+28>>2]|0;a=f[a+32>>2]|0;rZa(d);f[d>>2]=324904;OBb(d+12|0,b);f[d+24>>2]=c;f[d>>2]=324996;f[d+28>>2]=e;f[d+32>>2]=a;return d|0}function z$(a){a=a|0;var c=0;f[a>>2]=324904;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function A$(a,b,c){a=a|0;b=b|0;c=c|0;Ij[f[(f[c>>2]|0)+212>>2]&127](a,c,b+12|0,f[b+24>>2]|0);return}function B$(a,b){a=a|0;b=b|0;a=f[b+16>>2]|0;if(!a){b=0;return b|0}b=(WCb(a,295088,295136,0)|0)!=0;return b|0}function C$(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295136,0)|0)!=0;return b|0}function D$(a,b,c){a=a|0;b=b|0;c=c|0;a=EBb(28)|0;rZa(a);f[a>>2]=324904;OBb(a+12|0,b);f[a+24>>2]=c;f[a>>2]=324940;return a|0}function E$(a){a=a|0;mi()}function F$(a){a=a|0;f[a>>2]=324256;R3a(a+24|0);$Z(a+12|0,f[a+16>>2]|0);Uua(a);return}function G$(a){a=a|0;f[a>>2]=324256;R3a(a+24|0);$Z(a+12|0,f[a+16>>2]|0);Uua(a);GBb(a);return}function H$(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=f[a+12>>2]|0;p=a+16|0;if((i|0)==(p|0)){p=i;return p|0}o=b[c+11>>0]|0;j=o<<24>>24<0;o=j?f[c+4>>2]|0:o&255;j=j?f[c>>2]|0:c;k=d+32|0;l=k+11|0;m=d+36|0;n=(o|0)==0;if(!d){h=i;a:while(1){d=h+16|0;a=b[d+11>>0]|0;c=a<<24>>24<0;a=a&255;b:do if(((c?f[h+20>>2]|0:a)|0)==(o|0)){g=f[d>>2]|0;e=c?g:d;g=g&255;c:do if(c){if(!n?anb(e,j,o)|0:0)break b}else if(!n){if((b[j>>0]|0)!=g<<24>>24)break b;c=j;while(1){a=a+-1|0;d=d+1|0;if(!a)break c;c=c+1|0;if((b[d>>0]|0)!=(b[c>>0]|0))break b}}while(0);if(!(f[h+28>>2]|0)){a=h;c=47;break a}}while(0);a=f[h+4>>2]|0;if(!a){c=h+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(h|0))do{h=f[c>>2]|0;c=h+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(h|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(p|0)){a=p;c=47;break}else h=a}if((c|0)==47)return a|0}d:while(1){d=i+16|0;a=b[d+11>>0]|0;c=a<<24>>24<0;a=a&255;e:do if(((c?f[i+20>>2]|0:a)|0)==(o|0)){g=f[d>>2]|0;e=c?g:d;g=g&255;f:do if(c){if(!n?anb(e,j,o)|0:0)break e}else if(!n){if((b[j>>0]|0)!=g<<24>>24)break e;c=j;while(1){a=a+-1|0;d=d+1|0;if(!a)break f;c=c+1|0;if((b[d>>0]|0)!=(b[c>>0]|0))break e}}while(0);a=f[i+28>>2]|0;if(a|0){d=a+32|0;h=b[l>>0]|0;g=h<<24>>24<0;h=g?f[m>>2]|0:h&255;c=b[d+11>>0]|0;if(c<<24>>24<0){e=f[a+36>>2]|0;d=f[d>>2]|0}else e=c&255;c=h>>>0>>0;a=c?h:e;if(a|0?anb(d,g?f[k>>2]|0:k,a)|0:0)break;if(e>>>0>=h>>>0&(c^1)){a=i;c=47;break d}}}while(0);a=f[i+4>>2]|0;if(!a){c=i+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(i|0))do{i=f[c>>2]|0;c=i+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(i|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(p|0)){a=p;c=47;break}else i=a}if((c|0)==47)return a|0;return 0}function I$(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;f[a>>2]=324084;c=a+140|0;d=f[c>>2]|0;if(d|0?(k=d+8|0,j=f[k>>2]|0,f[k>>2]=j-1,(j|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+132|0;d=f[c>>2]|0;if(d|0?(j=d+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+128|0;d=f[c>>2]|0;if(d|0?(j=d+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+124|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,j=e+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(e,1,1);f[c>>2]=0;c=a+120|0;d=f[c>>2]|0;if(d|0?(g=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,j=g+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(g,1,1);f[c>>2]=0;c=a+116|0;d=f[c>>2]|0;if(d|0?(h=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,j=h+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(h,1,1);f[c>>2]=0;c=a+112|0;d=f[c>>2]|0;if(d|0?(i=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,j=i+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(i,1,1);f[c>>2]=0;Ak(a+100|0,f[a+104>>2]|0);T$(a+88|0,f[a+92>>2]|0);c=a+84|0;d=f[c>>2]|0;if(d|0?(j=d+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+72|0;d=f[c>>2]|0;if(d|0?(j=d+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0;g=a+44|0;D_(g);d=a+48|0;c=f[d>>2]|0;h=a+52|0;e=f[h>>2]|0;if((c|0)!=(e|0)){do{GBb(f[c>>2]|0);c=c+4|0}while((c|0)!=(e|0));c=f[d>>2]|0;d=f[h>>2]|0;if((d|0)!=(c|0))f[h>>2]=d+(~((d+-4-c|0)>>>2)<<2)}c=f[g>>2]|0;if(c|0)GBb(c);c=a+32|0;if((b[c+11>>0]|0)>=0){Gva(a);return}GBb(f[c>>2]|0);Gva(a);return}function J$(a){a=a|0;I$(a);GBb(a);return}function K$(a){a=a|0;var b=0,c=0,d=0;a=EBb(148)|0;v_a(a,1);b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=324084;b=a+68|0;c=a+32|0;d=c+36|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));f[b>>2]=8;d=a+72|0;c=a+92|0;f[c>>2]=0;f[a+96>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[a+88>>2]=c;c=a+104|0;f[c>>2]=0;f[a+108>>2]=0;f[a+100>>2]=c;c=a+112|0;d=c+36|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));return a|0}function L$(a,b){a=a|0;b=b|0;var c=0;c=EBb(148)|0;P$(c,a,b);return c|0}function M$(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,286816,0)|0)!=0;return b|0}function N$(a){a=a|0;return 385833}function O$(a){a=a|0;return 387687}function P$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+16|0;j=l+4|0;k=l;Fva(a,b,c);f[a>>2]=324084;OBb(a+32|0,b+32|0);Q$(a+44|0,b+44|0);f[a+68>>2]=f[b+68>>2];c=f[b+72>>2]|0;f[a+72>>2]=c;if(c|0){i=c+8|0;f[i>>2]=(f[i>>2]|0)+1}f[a+76>>2]=f[b+76>>2];f[a+80>>2]=f[b+80>>2];f[a+84>>2]=0;h=a+88|0;f[a+92>>2]=0;f[a+96>>2]=0;c=a+92|0;f[h>>2]=c;d=f[b+88>>2]|0;i=b+92|0;if((d|0)!=(i|0)){g=c;while(1){c=d+16|0;f[k>>2]=g;f[j>>2]=f[k>>2];R$(h,j,c,c)|0;c=f[d+4>>2]|0;if(!c){e=d+8|0;c=f[e>>2]|0;if((f[c>>2]|0)!=(d|0)){d=e;do{e=f[d>>2]|0;d=e+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(e|0))}}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(i|0))break;else d=c}}h=a+100|0;f[a+104>>2]=0;f[a+108>>2]=0;c=a+104|0;f[h>>2]=c;d=f[b+100>>2]|0;i=b+104|0;if((d|0)!=(i|0)){g=c;while(1){c=d+16|0;f[k>>2]=g;f[j>>2]=f[k>>2];S$(h,j,c,c)|0;c=f[d+4>>2]|0;if(!c){e=d+8|0;c=f[e>>2]|0;if((f[c>>2]|0)!=(d|0)){d=e;do{e=f[d>>2]|0;d=e+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(e|0))}}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(i|0))break;else d=c}}c=f[b+112>>2]|0;f[a+112>>2]=c;if(c|0){k=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[k>>2]=(f[k>>2]|0)+1}c=f[b+116>>2]|0;f[a+116>>2]=c;if(c|0){k=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[k>>2]=(f[k>>2]|0)+1}c=f[b+120>>2]|0;f[a+120>>2]=c;if(c|0){k=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[k>>2]=(f[k>>2]|0)+1}c=f[b+124>>2]|0;f[a+124>>2]=c;if(c|0){k=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[k>>2]=(f[k>>2]|0)+1}c=f[b+128>>2]|0;f[a+128>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}c=f[b+132>>2]|0;f[a+132>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}f[a+136>>2]=f[b+136>>2];c=f[b+140>>2]|0;f[a+140>>2]=c;if(!c){a=a+144|0;b=b+144|0;b=f[b>>2]|0;f[a>>2]=b;u=l;return}k=c+8|0;f[k>>2]=(f[k>>2]|0)+1;a=a+144|0;b=b+144|0;b=f[b>>2]|0;f[a>>2]=b;u=l;return}function Q$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+32|0;j=m+24|0;i=m+16|0;k=m+8|0;l=m;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;f[a+20>>2]=0;g=f[b+4>>2]|0;d=f[b+16>>2]|0;c=(d>>>0)/341|0;e=g+(c<<2)|0;h=(f[b+8>>2]|0)==(g|0);if(h)c=0;else c=(f[e>>2]|0)+((d-(c*341|0)|0)*12|0)|0;f[k>>2]=e;f[k+4>>2]=c;c=(f[b+20>>2]|0)+d|0;b=(c>>>0)/341|0;d=g+(b<<2)|0;if(h)c=0;else c=(f[d>>2]|0)+((c-(b*341|0)|0)*12|0)|0;f[l>>2]=d;f[l+4>>2]=c;f[i>>2]=f[k>>2];f[i+4>>2]=f[k+4>>2];f[j>>2]=f[l>>2];f[j+4>>2]=f[l+4>>2];X$(a,i,j,0);u=m;return}function R$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;h=u;u=u+16|0;e=h+12|0;g=h+8|0;i=h;f[i>>2]=f[b>>2];f[e>>2]=f[i>>2];e=V$(a,e,g,h+4|0,c)|0;b=f[e>>2]|0;if(b|0){i=b;u=h;return i|0}c=EBb(32)|0;OBb(c+16|0,d);f[c+28>>2]=f[d+12>>2];b=f[g>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=b;f[e>>2]=c;b=f[f[a>>2]>>2]|0;if(!b)b=c;else{f[a>>2]=b;b=f[e>>2]|0}Xo(f[a+4>>2]|0,b);i=a+8|0;f[i>>2]=(f[i>>2]|0)+1;i=c;u=h;return i|0}function S$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;h=u;u=u+16|0;e=h+12|0;g=h+8|0;i=h;f[i>>2]=f[b>>2];f[e>>2]=f[i>>2];e=U$(a,e,g,h+4|0,c)|0;b=f[e>>2]|0;if(b|0){i=b;u=h;return i|0}c=EBb(40)|0;OBb(c+16|0,d);OBb(c+28|0,d+12|0);b=f[g>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=b;f[e>>2]=c;b=f[f[a>>2]>>2]|0;if(!b)b=c;else{f[a>>2]=b;b=f[e>>2]|0}Xo(f[a+4>>2]|0,b);i=a+8|0;f[i>>2]=(f[i>>2]|0)+1;i=c;u=h;return i|0}function T$(a,c){a=a|0;c=c|0;if(!c)return;T$(a,f[c>>2]|0);T$(a,f[c+4>>2]|0);a=c+16|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function U$(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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;q=a+4|0;v=f[c>>2]|0;c=v;do if((v|0)!=(q|0)){m=v+16|0;k=b[m+11>>0]|0;j=k<<24>>24<0;k=j?f[v+20>>2]|0:k&255;t=b[g+11>>0]|0;s=t<<24>>24<0;t=s?f[g+4>>2]|0:t&255;p=k>>>0>>0;o=p?k:t;l=(o|0)==0;if(!l?(h=s?f[g>>2]|0:g,i=j?f[m>>2]|0:m,n=anb(h,i,o)|0,(n|0)!=0):0)if((n|0)<0)break;else w=23;else{if(t>>>0>>0)break;if(l)w=24;else{i=j?f[m>>2]|0:m;h=s?f[g>>2]|0:g;w=23}}if((w|0)==23){h=anb(i,h,o)|0;if(h){if((h|0)>=0)w=42}else w=24}if((w|0)==24?!p:0)w=42;if((w|0)==42){f[d>>2]=c;f[e>>2]=c;d=e;return d|0}h=f[v+4>>2]|0;if(!h){i=v+8|0;h=f[i>>2]|0;if((f[h>>2]|0)!=(v|0))do{r=f[i>>2]|0;i=r+8|0;h=f[i>>2]|0}while((f[h>>2]|0)!=(r|0))}else while(1){i=f[h>>2]|0;if(!i)break;else h=i}do if((h|0)!=(q|0)){j=h+16|0;l=b[j+11>>0]|0;k=l<<24>>24<0;l=k?f[h+20>>2]|0:l&255;i=l>>>0>>0?l:t;if((i|0)!=0?(u=anb(s?f[g>>2]|0:g,k?f[j>>2]|0:j,i)|0,(u|0)!=0):0){if((u|0)<0)break}else w=36;if((w|0)==36?t>>>0>>0:0)break;d=Qu(a,d,g)|0;return d|0}while(0);if(!(f[v+4>>2]|0)){f[d>>2]=c;d=v+4|0;return d|0}else{f[d>>2]=h;d=h;return d|0}}while(0);n=f[v>>2]|0;do if((f[a>>2]|0)!=(v|0)){if(!n){c=v;do{u=c;c=f[c+8>>2]|0}while((f[c>>2]|0)==(u|0));h=c}else{c=n;while(1){h=f[c+4>>2]|0;if(!h){h=c;break}else c=h}}c=h;j=h+16|0;l=b[g+11>>0]|0;k=l<<24>>24<0;l=k?f[g+4>>2]|0:l&255;i=b[j+11>>0]|0;m=i<<24>>24<0;i=m?f[h+20>>2]|0:i&255;h=l>>>0>>0?l:i;if((h|0)!=0?(r=anb(m?f[j>>2]|0:j,k?f[g>>2]|0:g,h)|0,(r|0)!=0):0){if((r|0)<0)break}else w=15;if((w|0)==15?i>>>0>>0:0)break;d=Qu(a,d,g)|0;return d|0}while(0);if(!n){f[d>>2]=v;d=v;return d|0}else{f[d>>2]=c;d=c+4|0;return d|0}return 0}function V$(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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;q=a+4|0;v=f[c>>2]|0;c=v;do if((v|0)!=(q|0)){m=v+16|0;k=b[m+11>>0]|0;j=k<<24>>24<0;k=j?f[v+20>>2]|0:k&255;t=b[g+11>>0]|0;s=t<<24>>24<0;t=s?f[g+4>>2]|0:t&255;p=k>>>0>>0;o=p?k:t;l=(o|0)==0;if(!l?(h=s?f[g>>2]|0:g,i=j?f[m>>2]|0:m,n=anb(h,i,o)|0,(n|0)!=0):0)if((n|0)<0)break;else w=23;else{if(t>>>0>>0)break;if(l)w=24;else{i=j?f[m>>2]|0:m;h=s?f[g>>2]|0:g;w=23}}if((w|0)==23){h=anb(i,h,o)|0;if(h){if((h|0)>=0)w=42}else w=24}if((w|0)==24?!p:0)w=42;if((w|0)==42){f[d>>2]=c;f[e>>2]=c;d=e;return d|0}h=f[v+4>>2]|0;if(!h){i=v+8|0;h=f[i>>2]|0;if((f[h>>2]|0)!=(v|0))do{r=f[i>>2]|0;i=r+8|0;h=f[i>>2]|0}while((f[h>>2]|0)!=(r|0))}else while(1){i=f[h>>2]|0;if(!i)break;else h=i}do if((h|0)!=(q|0)){j=h+16|0;l=b[j+11>>0]|0;k=l<<24>>24<0;l=k?f[h+20>>2]|0:l&255;i=l>>>0>>0?l:t;if((i|0)!=0?(u=anb(s?f[g>>2]|0:g,k?f[j>>2]|0:j,i)|0,(u|0)!=0):0){if((u|0)<0)break}else w=36;if((w|0)==36?t>>>0>>0:0)break;d=W$(a,d,g)|0;return d|0}while(0);if(!(f[v+4>>2]|0)){f[d>>2]=c;d=v+4|0;return d|0}else{f[d>>2]=h;d=h;return d|0}}while(0);n=f[v>>2]|0;do if((f[a>>2]|0)!=(v|0)){if(!n){c=v;do{u=c;c=f[c+8>>2]|0}while((f[c>>2]|0)==(u|0));h=c}else{c=n;while(1){h=f[c+4>>2]|0;if(!h){h=c;break}else c=h}}c=h;j=h+16|0;l=b[g+11>>0]|0;k=l<<24>>24<0;l=k?f[g+4>>2]|0:l&255;i=b[j+11>>0]|0;m=i<<24>>24<0;i=m?f[h+20>>2]|0:i&255;h=l>>>0>>0?l:i;if((h|0)!=0?(r=anb(m?f[j>>2]|0:j,k?f[g>>2]|0:g,h)|0,(r|0)!=0):0){if((r|0)<0)break}else w=15;if((w|0)==15?i>>>0>>0:0)break;d=W$(a,d,g)|0;return d|0}while(0);if(!n){f[d>>2]=v;d=v;return d|0}else{f[d>>2]=c;d=c+4|0;return d|0}return 0}function W$(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=a+4|0;h=f[e>>2]|0;if(!h){f[c>>2]=e;o=e;return o|0}m=b[d+11>>0]|0;l=m<<24>>24<0;m=l?f[d+4>>2]|0:m&255;l=l?f[d>>2]|0:d;g=a+4|0;e=h;while(1){d=e+16|0;h=b[d+11>>0]|0;a=h<<24>>24<0;h=a?f[e+20>>2]|0:h&255;k=h>>>0>>0;j=k?h:m;i=(j|0)==0;if(!i?(n=a?f[d>>2]|0:d,o=anb(l,n,j)|0,(o|0)!=0):0)if((o|0)<0)a=7;else{d=n;a=11}else if(m>>>0>=h>>>0)if(i)a=12;else{d=a?f[d>>2]|0:d;a=11}else a=7;if((a|0)==7){a=0;d=f[e>>2]|0;if(!d){a=8;break}else{g=e;e=d}}else if((a|0)==11){d=anb(d,l,j)|0;if(d)if((d|0)<0)a=14;else{a=16;break}else a=12}if((a|0)==12)if(k)a=14;else{a=16;break}if((a|0)==14){d=e+4|0;a=f[d>>2]|0;if(!a){a=15;break}else{g=d;e=a}}}if((a|0)==8){f[c>>2]=e;o=e;return o|0}else if((a|0)==15){f[c>>2]=e;o=d;return o|0}else if((a|0)==16){f[c>>2]=e;o=g;return o|0}return 0}function X$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=b;m=f[g>>2]|0;g=f[g+4>>2]|0;e=c;d=f[e>>2]|0;e=f[e+4>>2]|0;if((e|0)==(g|0))d=0;else d=((e-(f[d>>2]|0)|0)/12|0)+((d-m>>2)*341|0)+((g-(f[m>>2]|0)|0)/-12|0)|0;l=a+8|0;e=f[l>>2]|0;k=a+4|0;g=f[k>>2]|0;j=e-g|0;h=a+16|0;n=a+20|0;i=(f[n>>2]|0)+(f[h>>2]|0)|0;j=((j|0)==0?0:((j>>2)*341|0)+-1|0)-i|0;if(d>>>0>j>>>0){Y$(a,d-j|0);i=(f[h>>2]|0)+(f[n>>2]|0)|0;g=f[k>>2]|0;e=f[l>>2]|0}d=(i>>>0)/341|0;h=g+(d<<2)|0;if((e|0)==(g|0))e=0;else e=(f[h>>2]|0)+((i-(d*341|0)|0)*12|0)|0;j=b+4|0;d=f[j>>2]|0;i=f[c+4>>2]|0;if((d|0)==(i|0))return;g=m;do{OBb(e,d);e=e+12|0;if((e-(f[h>>2]|0)|0)==4092){e=h+4|0;h=e;e=f[e>>2]|0}d=d+12|0;f[j>>2]=d;if((d-(f[g>>2]|0)|0)==4092){g=g+4|0;f[b>>2]=g;d=f[g>>2]|0;f[j>>2]=d}f[n>>2]=(f[n>>2]|0)+1}while((d|0)!=(i|0));return}function Y$(a,b){a=a|0;b=b|0;var c=0,d=0,e=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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=u;u=u+32|0;D=G+4|0;z=G;E=a+8|0;d=f[E>>2]|0;F=a+4|0;t=f[F>>2]|0;C=((d|0)==(t|0)&1)+b|0;v=(C>>>0)/341|0;v=v+((C-(v*341|0)|0)!=0&1)|0;C=a+16|0;c=f[C>>2]|0;w=(c>>>0)/341|0;B=v>>>0>>0?v:w;b=v-B|0;s=d;if(!b){A=(W(B,-341)|0)+c|0;f[C>>2]=A;if(!B){u=G;return}r=a+12|0;c=B;g=t;a:while(1){q=f[g>>2]|0;p=g+4|0;f[F>>2]=p;A=f[r>>2]|0;i=A;do if((d|0)==(A|0)){l=p;g=f[a>>2]|0;h=g;if(p>>>0>g>>>0){d=((l-h>>2)+1|0)/-2|0;h=p+(d<<2)|0;g=i-l|0;if(!g)d=h;else{ZDb(h|0,p|0,g|0)|0;d=(f[F>>2]|0)+(d<<2)|0}A=h+(g>>2<<2)|0;f[E>>2]=A;f[F>>2]=d;d=A;break}i=i-h|0;i=(i|0)==0?1:i>>1;j=i>>>2;if(!i)k=0;else{if(i>>>0>1073741823){g=11;break a}k=EBb(i<<2)|0}n=k;h=k+(j<<2)|0;o=h;m=k+(i<<2)|0;if((p|0)==(d|0))d=o;else{i=((d+-4-l|0)>>>2)+1|0;g=p;while(1){f[h>>2]=f[g>>2];g=g+4|0;if((g|0)==(d|0))break;else h=h+4|0}d=k+(i+j<<2)|0;g=f[a>>2]|0}f[a>>2]=n;f[F>>2]=o;f[E>>2]=d;f[r>>2]=m;if(g){GBb(g);d=f[E>>2]|0}}while(0);f[d>>2]=q;d=(f[E>>2]|0)+4|0;f[E>>2]=d;c=c+-1|0;if(!c){g=82;break}g=f[F>>2]|0}if((g|0)==11){G=ab(8)|0;KBb(G,410101);f[G>>2]=362060;eb(G|0,302144,1464)}else if((g|0)==82){u=G;return}}A=a+12|0;c=f[A>>2]|0;q=c-(f[a>>2]|0)|0;r=s-t>>2;if(b>>>0<=((q>>2)-r|0)>>>0){b:do if((c|0)==(s|0)){y=b;g=27}else{c=b;while(1){t=EBb(4092)|0;f[D>>2]=t;l$(a,D);c=c+-1|0;if(!c)break;if((f[A>>2]|0)==(f[E>>2]|0)){y=c;g=27;break b}}x=B;e=f[C>>2]|0}while(0);if((g|0)==27){d=~(v>>>0>w>>>0?w:v);c=y;do{e=EBb(4092)|0;f[D>>2]=e;m$(a,D);c=c+-1|0;e=(((f[E>>2]|0)-(f[F>>2]|0)|0)==4?340:341)+(f[C>>2]|0)|0;f[C>>2]=e}while((c|0)!=0);x=y+-1-d|0}y=e+(W(x,-341)|0)|0;f[C>>2]=y;if(!x){u=G;return}o=x;c=f[E>>2]|0;c:while(1){n=f[F>>2]|0;p=f[n>>2]|0;n=n+4|0;f[F>>2]=n;y=f[A>>2]|0;g=y;do if((c|0)==(y|0)){j=n;d=f[a>>2]|0;e=d;if(n>>>0>d>>>0){c=((j-e>>2)+1|0)/-2|0;e=n+(c<<2)|0;d=g-j|0;if(!d)c=e;else{ZDb(e|0,n|0,d|0)|0;c=(f[F>>2]|0)+(c<<2)|0}y=e+(d>>2<<2)|0;f[E>>2]=y;f[F>>2]=c;c=y;break}g=g-e|0;g=(g|0)==0?1:g>>1;h=g>>>2;if(!g)i=0;else{if(g>>>0>1073741823){g=39;break c}i=EBb(g<<2)|0}l=i;e=i+(h<<2)|0;m=e;k=i+(g<<2)|0;if((n|0)==(c|0))c=m;else{g=((c+-4-j|0)>>>2)+1|0;d=n;while(1){f[e>>2]=f[d>>2];d=d+4|0;if((d|0)==(c|0))break;else e=e+4|0}c=i+(g+h<<2)|0;d=f[a>>2]|0}f[a>>2]=l;f[F>>2]=m;f[E>>2]=c;f[A>>2]=k;if(d){GBb(d);c=f[E>>2]|0}}while(0);f[c>>2]=p;c=(f[E>>2]|0)+4|0;f[E>>2]=c;o=o+-1|0;if(!o){g=82;break}}if((g|0)==39){G=ab(8)|0;KBb(G,410101);f[G>>2]=362060;eb(G|0,302144,1464)}else if((g|0)==82){u=G;return}}e=q>>1;c=r+b|0;e=e>>>0>>0?c:e;c=r-B|0;r=D+12|0;f[r>>2]=0;f[D+16>>2]=a+12;do if(e)if(e>>>0>1073741823){G=ab(8)|0;KBb(G,410101);f[G>>2]=362060;eb(G|0,302144,1464)}else{d=EBb(e<<2)|0;break}else d=0;while(0);f[D>>2]=d;y=d+(c<<2)|0;s=D+8|0;f[s>>2]=y;q=D+4|0;f[q>>2]=y;f[r>>2]=d+(e<<2);do{y=EBb(4092)|0;f[z>>2]=y;n$(D,z);b=b+-1|0}while((b|0)!=0);d:do if(!B)c=f[F>>2]|0;else{p=B;b=f[s>>2]|0;c=f[F>>2]|0;e:while(1){z=f[r>>2]|0;g=z;do if((b|0)==(z|0)){o=f[q>>2]|0;k=o;n=f[D>>2]|0;d=n;if(o>>>0>n>>>0){b=((k-d>>2)+1|0)/-2|0;e=o+(b<<2)|0;d=g-k|0;if(!d)b=e;else{ZDb(e|0,o|0,d|0)|0;b=(f[q>>2]|0)+(b<<2)|0}z=e+(d>>2<<2)|0;f[s>>2]=z;f[q>>2]=b;b=z;break}d=g-d|0;d=(d|0)==0?1:d>>1;h=d>>>2;if(!d)i=0;else{if(d>>>0>1073741823)break e;i=EBb(d<<2)|0}l=i;e=i+(h<<2)|0;m=e;j=i+(d<<2)|0;if((o|0)==(b|0))b=m;else{g=((b+-4-k|0)>>>2)+1|0;d=o;while(1){f[e>>2]=f[d>>2];d=d+4|0;if((d|0)==(b|0))break;else e=e+4|0}b=i+(g+h<<2)|0}f[D>>2]=l;f[q>>2]=m;f[s>>2]=b;f[r>>2]=j;if(n){GBb(n);b=f[s>>2]|0}}while(0);f[b>>2]=f[c>>2];b=(f[s>>2]|0)+4|0;f[s>>2]=b;c=(f[F>>2]|0)+4|0;f[F>>2]=c;p=p+-1|0;if(!p)break d}G=ab(8)|0;KBb(G,410101);f[G>>2]=362060;eb(G|0,302144,1464)}while(0);b=f[E>>2]|0;if((b|0)!=(c|0)){do{b=b+-4|0;o$(D,b);c=f[F>>2]|0}while((b|0)!=(c|0));b=f[E>>2]|0}d=c;e=f[a>>2]|0;f[a>>2]=f[D>>2];f[D>>2]=e;f[F>>2]=f[q>>2];f[q>>2]=d;f[E>>2]=f[s>>2];f[s>>2]=b;F=f[A>>2]|0;f[A>>2]=f[r>>2];f[r>>2]=F;F=(f[C>>2]|0)+(W(B,-341)|0)|0;f[C>>2]=F;if((c|0)!=(b|0))f[s>>2]=b+(~((b+-4-d|0)>>>2)<<2);if(e|0)GBb(e);u=G;return}function Z$(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=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,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,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,pb=0,qb=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.0;Eb=u;u=u+1424|0;yb=Eb+1400|0;o=Eb+1388|0;q=Eb+1376|0;r=Eb+1364|0;s=Eb+1352|0;t=Eb+1340|0;v=Eb+1328|0;y=Eb+1316|0;z=Eb+1304|0;A=Eb+1292|0;B=Eb+1280|0;C=Eb+1268|0;D=Eb+1256|0;E=Eb+1244|0;F=Eb+1232|0;G=Eb+1220|0;H=Eb+1208|0;I=Eb+1196|0;J=Eb+1184|0;K=Eb+1172|0;L=Eb+1160|0;M=Eb+1148|0;N=Eb+1136|0;O=Eb+1124|0;P=Eb+1112|0;Q=Eb+1100|0;R=Eb+1088|0;S=Eb+1076|0;T=Eb+1064|0;U=Eb+1052|0;V=Eb+1040|0;W=Eb+1028|0;X=Eb+1016|0;Y=Eb+1004|0;Z=Eb+992|0;_=Eb+980|0;$=Eb+968|0;aa=Eb+956|0;ba=Eb+944|0;ca=Eb+932|0;da=Eb+920|0;ea=Eb+908|0;fa=Eb+896|0;ga=Eb+884|0;ha=Eb+872|0;ia=Eb+860|0;ja=Eb+848|0;ka=Eb+836|0;la=Eb+824|0;ma=Eb+812|0;na=Eb+800|0;oa=Eb+788|0;pa=Eb+776|0;qa=Eb+764|0;ra=Eb+752|0;sa=Eb+740|0;ta=Eb+728|0;ua=Eb+716|0;va=Eb+704|0;wa=Eb+692|0;xa=Eb+680|0;ya=Eb+668|0;za=Eb+656|0;Aa=Eb+644|0;Ba=Eb+632|0;Ca=Eb+620|0;Da=Eb+608|0;Ea=Eb+596|0;Fa=Eb+584|0;Ga=Eb+572|0;Ha=Eb+560|0;Ia=Eb+548|0;Ja=Eb+536|0;Ka=Eb+524|0;La=Eb+512|0;Ma=Eb+500|0;Na=Eb+128|0;Oa=Eb+488|0;Pa=Eb+112|0;Qa=Eb+476|0;Ra=Eb+96|0;Sa=Eb+464|0;Ta=Eb+80|0;Ua=Eb+452|0;Va=Eb+64|0;Wa=Eb+440|0;Xa=Eb+48|0;Ya=Eb+428|0;Za=Eb+32|0;_a=Eb+416|0;$a=Eb+16|0;ab=Eb+404|0;bb=Eb+392|0;cb=Eb+380|0;db=Eb+368|0;eb=Eb+356|0;fb=Eb+344|0;gb=Eb+332|0;hb=Eb+320|0;ib=Eb+308|0;jb=Eb+296|0;kb=Eb+284|0;lb=Eb+272|0;mb=Eb;nb=Eb+260|0;ob=Eb+248|0;pb=Eb+236|0;qb=Eb+224|0;rb=Eb+212|0;sb=Eb+200|0;tb=Eb+188|0;vb=Eb+176|0;wb=Eb+164|0;zb=Eb+152|0;Ab=Eb+140|0;rZa(a);f[a>>2]=325032;g=a+16|0;f[g>>2]=0;j=a+20|0;f[j>>2]=0;f[a+24>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+32>>2]=a+36;w=a+44|0;c=a+60|0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[w+12>>2]=0;t4a(c,1);f[c>>2]=311972;c=a+108|0;w=a+72|0;x=w+36|0;do{f[w>>2]=0;w=w+4|0}while((w|0)<(x|0));t4a(c,1);f[c>>2]=311972;f[a+124>>2]=0;f[a+128>>2]=0;f[a+120>>2]=a+124;ub=a+136|0;f[a+140>>2]=0;f[a+144>>2]=0;f[ub>>2]=a+140;xb=a+148|0;f[a+152>>2]=0;f[a+156>>2]=0;f[xb>>2]=a+152;k=a+212|0;l=a+224|0;m=a+228|0;n=a+232|0;Cb=a+240|0;Db=a+244|0;i=a+12|0;f[i>>2]=0;w=a+160|0;x=w+56|0;do{f[w>>2]=0;w=w+4|0}while((w|0)<(x|0));f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;f[l+16>>2]=0;f[l+20>>2]=0;c=EBb(104)|0;X$a(c);e=f[g>>2]|0;if(((e|0)!=(c|0)?(f[g>>2]=c,x=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0,f[x>>2]=(f[x>>2]|0)+1,e|0):0)?(h=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,w=h+8|0,x=f[w>>2]|0,f[w>>2]=x-1,(x|0)==1):0)Rua(h,1,1);c=sh(387695)|0;if(c|0){if(((cnb(c,453525)|0)!=0?(cnb(c,411012)|0)!=0:0)?(cnb(c,387713)|0)!=0:0)c=2;else c=1;f[i>>2]=c}c=a+216|0;p[c>>3]=10.0;e=sh(387717)|0;if(e|0?(Fb=+Oza(e),p[c>>3]=Fb,qZa(4)|0):0){x=Nu(Hua(4)|0,387734,26)|0;x=isb(x,+p[c>>3])|0;Drb(yb,x+(f[(f[x>>2]|0)+-12>>2]|0)|0);w=utb(yb,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(yb);ksb(x,w)|0;Krb(x)|0}e=sh(387761)|0;if(e|0){h=EBb(36)|0;f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;g=Rmb(e)|0;if(g>>>0>4294967279)MBb(yb);if(g>>>0<11){b[yb+11>>0]=g;if(!g)c=yb;else{c=yb;Bb=20}}else{Bb=g+16&-16;c=EBb(Bb)|0;f[yb>>2]=c;f[yb+8>>2]=Bb|-2147483648;f[yb+4>>2]=g;Bb=20}if((Bb|0)==20)YDb(c|0,e|0,g|0)|0;b[c+g>>0]=0;a0(h,yb);c=f[j>>2]|0;if(((c|0)!=(h|0)?(f[j>>2]=h,x=h+8|0,f[x>>2]=(f[x>>2]|0)+1,c|0):0)?(w=c+8|0,x=f[w>>2]|0,f[w>>2]=x-1,(x|0)==1):0)Rua(c,1,1);if((b[yb+11>>0]|0)<0)GBb(f[yb>>2]|0)}c=EBb(36)|0;v_a(c,1);f[c>>2]=324256;e=c+16|0;f[e>>2]=0;f[c+20>>2]=0;f[c+12>>2]=e;t4a(c+24|0,0);e=f[k>>2]|0;if(((e|0)!=(c|0)?(f[k>>2]=c,x=c+8|0,f[x>>2]=(f[x>>2]|0)+1,e|0):0)?(w=e+8|0,x=f[w>>2]|0,f[w>>2]=x-1,(x|0)==1):0)Rua(e,1,1);b[a+28>>0]=0;b[a+132>>0]=0;f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;c=yb+11|0;b[c>>0]=4;f[yb>>2]=1634169711;b[yb+4>>0]=0;e=f[m>>2]|0;if(e>>>0>=(f[n>>2]|0)>>>0){Pu(l,yb);if((b[c>>0]|0)<0)GBb(f[yb>>2]|0)}else{f[e>>2]=f[yb>>2];f[e+4>>2]=f[yb+4>>2];f[e+8>>2]=f[yb+8>>2];f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;f[m>>2]=(f[m>>2]|0)+12}c=yb+4|0;f[c>>2]=0;f[c+4>>2]=0;c=yb+11|0;b[c>>0]=3;b[yb>>0]=b[387776]|0;b[yb+1>>0]=b[387777]|0;b[yb+2>>0]=b[387778]|0;b[yb+3>>0]=0;e=f[m>>2]|0;if(e>>>0>=(f[n>>2]|0)>>>0){Pu(l,yb);if((b[c>>0]|0)<0)GBb(f[yb>>2]|0)}else{f[e>>2]=f[yb>>2];f[e+4>>2]=f[yb+4>>2];f[e+8>>2]=f[yb+8>>2];f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;f[m>>2]=(f[m>>2]|0)+12}b0(a);c0(a);c=sh(387780)|0;if(!c){c=r+4|0;f[c>>2]=0;f[c+4>>2]=0;c=r+11|0;b[c>>0]=3;b[r>>0]=b[387807]|0;b[r+1>>0]=b[387808]|0;b[r+2>>0]=b[387809]|0;b[r+3>>0]=0;e=s+11|0;b[e>>0]=10;w=s;g=387811;x=w+10|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[s+10>>0]=0;UBb(ck(ub,r)|0,s)|0;if((b[e>>0]|0)<0)GBb(f[s>>2]|0);if((b[c>>0]|0)<0)GBb(f[r>>2]|0)}else if(!(cnb(c,387803)|0)){c=o+4|0;f[c>>2]=0;f[c+4>>2]=0;c=o+11|0;b[c>>0]=3;b[o>>0]=b[387807]|0;b[o+1>>0]=b[387808]|0;b[o+2>>0]=b[387809]|0;b[o+3>>0]=0;e=q+11|0;b[e>>0]=10;w=q;g=387811;x=w+10|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[q+10>>0]=0;UBb(ck(ub,o)|0,q)|0;if((b[e>>0]|0)<0)GBb(f[q>>2]|0);if((b[c>>0]|0)<0)GBb(f[o>>2]|0)};f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;c=t+11|0;b[c>>0]=4;f[t>>2]=1936159599;b[t+4>>0]=0;x=v+4|0;f[x>>2]=0;f[x+4>>2]=0;x=v+11|0;b[x>>0]=3;b[v>>0]=b[409756]|0;b[v+1>>0]=b[409757]|0;b[v+2>>0]=b[409758]|0;b[v+3>>0]=0;UBb(ck(ub,t)|0,v)|0;if((b[x>>0]|0)<0)GBb(f[v>>2]|0);if((b[c>>0]|0)<0)GBb(f[t>>2]|0);f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;c=y+11|0;b[c>>0]=4;f[y>>2]=1952936815;b[y+4>>0]=0;x=z+4|0;f[x>>2]=0;f[x+4>>2]=0;x=z+11|0;b[x>>0]=3;b[z>>0]=b[409756]|0;b[z+1>>0]=b[409757]|0;b[z+2>>0]=b[409758]|0;b[z+3>>0]=0;UBb(ck(ub,y)|0,z)|0;if((b[x>>0]|0)<0)GBb(f[z>>2]|0);if((b[c>>0]|0)<0)GBb(f[y>>2]|0);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;c=A+11|0;b[c>>0]=4;f[A>>2]=1650946927;b[A+4>>0]=0;z=B+4|0;f[z>>2]=0;f[z+4>>2]=0;z=B+11|0;b[z>>0]=3;b[B>>0]=b[409756]|0;b[B+1>>0]=b[409757]|0;b[B+2>>0]=b[409758]|0;b[B+3>>0]=0;UBb(ck(ub,A)|0,B)|0;if((b[z>>0]|0)<0)GBb(f[B>>2]|0);if((b[c>>0]|0)<0)GBb(f[A>>2]|0);f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;c=C+11|0;b[c>>0]=4;f[C>>2]=2020045679;b[C+4>>0]=0;B=D+4|0;f[B>>2]=0;f[B+4>>2]=0;B=D+11|0;b[B>>0]=3;b[D>>0]=b[409756]|0;b[D+1>>0]=b[409757]|0;b[D+2>>0]=b[409758]|0;b[D+3>>0]=0;UBb(ck(ub,C)|0,D)|0;if((b[B>>0]|0)<0)GBb(f[D>>2]|0);if((b[c>>0]|0)<0)GBb(f[C>>2]|0);f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;c=E+11|0;b[c>>0]=6;b[E>>0]=b[387822]|0;b[E+1>>0]=b[387823]|0;b[E+2>>0]=b[387824]|0;b[E+3>>0]=b[387825]|0;b[E+4>>0]=b[387826]|0;b[E+5>>0]=b[387827]|0;b[E+6>>0]=0;f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;e=F+11|0;b[e>>0]=9;w=F;g=387829;x=w+9|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[F+9>>0]=0;UBb(ck(ub,E)|0,F)|0;if((b[e>>0]|0)<0)GBb(f[F>>2]|0);if((b[c>>0]|0)<0)GBb(f[E>>2]|0);f[G+8>>2]=0;c=G+11|0;b[c>>0]=7;b[G>>0]=b[387839]|0;b[G+1>>0]=b[387840]|0;b[G+2>>0]=b[387841]|0;b[G+3>>0]=b[387842]|0;b[G+4>>0]=b[387843]|0;b[G+5>>0]=b[387844]|0;b[G+6>>0]=b[387845]|0;b[G+7>>0]=0;e=H+11|0;b[e>>0]=10;w=H;g=387847;x=w+10|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[H+10>>0]=0;UBb(ck(ub,G)|0,H)|0;if((b[e>>0]|0)<0)GBb(f[H>>2]|0);if((b[c>>0]|0)<0)GBb(f[G>>2]|0);f[I>>2]=0;f[I+4>>2]=0;f[I+8>>2]=0;c=I+11|0;b[c>>0]=4;f[I>>2]=2003134838;b[I+4>>0]=0;f[J>>2]=0;f[J+4>>2]=0;f[J+8>>2]=0;e=J+11|0;b[e>>0]=9;w=J;g=387858;x=w+9|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[J+9>>0]=0;UBb(ck(ub,I)|0,J)|0;if((b[e>>0]|0)<0)GBb(f[J>>2]|0);if((b[c>>0]|0)<0)GBb(f[I>>2]|0);c=K+4|0;f[c>>2]=0;f[c+4>>2]=0;c=K+11|0;b[c>>0]=3;b[K>>0]=b[387868]|0;b[K+1>>0]=b[387869]|0;b[K+2>>0]=b[387870]|0;b[K+3>>0]=0;J=L+4|0;f[J>>2]=0;f[J+4>>2]=0;J=L+11|0;b[J>>0]=3;b[L>>0]=b[387872]|0;b[L+1>>0]=b[387873]|0;b[L+2>>0]=b[387874]|0;b[L+3>>0]=0;UBb(ck(ub,K)|0,L)|0;if((b[J>>0]|0)<0)GBb(f[L>>2]|0);if((b[c>>0]|0)<0)GBb(f[K>>2]|0);f[M>>2]=0;f[M+4>>2]=0;f[M+8>>2]=0;c=M+11|0;b[c>>0]=4;f[M>>2]=1633838962;b[M+4>>0]=0;L=N+4|0;f[L>>2]=0;f[L+4>>2]=0;L=N+11|0;b[L>>0]=3;b[N>>0]=b[387872]|0;b[N+1>>0]=b[387873]|0;b[N+2>>0]=b[387874]|0;b[N+3>>0]=0;UBb(ck(ub,M)|0,N)|0;if((b[L>>0]|0)<0)GBb(f[N>>2]|0);if((b[c>>0]|0)<0)GBb(f[M>>2]|0);c=O+4|0;f[c>>2]=0;f[c+4>>2]=0;c=O+11|0;b[c>>0]=3;b[O>>0]=b[439539]|0;b[O+1>>0]=b[439540]|0;b[O+2>>0]=b[439541]|0;b[O+3>>0]=0;N=P+4|0;f[N>>2]=0;f[N+4>>2]=0;N=P+11|0;b[N>>0]=3;b[P>>0]=b[387872]|0;b[P+1>>0]=b[387873]|0;b[P+2>>0]=b[387874]|0;b[P+3>>0]=0;UBb(ck(ub,O)|0,P)|0;if((b[N>>0]|0)<0)GBb(f[P>>2]|0);if((b[c>>0]|0)<0)GBb(f[O>>2]|0);f[Q>>2]=0;f[Q+4>>2]=0;f[Q+8>>2]=0;c=Q+11|0;b[c>>0]=4;f[Q>>2]=1635020393;b[Q+4>>0]=0;P=R+4|0;f[P>>2]=0;f[P+4>>2]=0;P=R+11|0;b[P>>0]=3;b[R>>0]=b[387872]|0;b[R+1>>0]=b[387873]|0;b[R+2>>0]=b[387874]|0;b[R+3>>0]=0;UBb(ck(ub,Q)|0,R)|0;if((b[P>>0]|0)<0)GBb(f[R>>2]|0);if((b[c>>0]|0)<0)GBb(f[Q>>2]|0);f[S>>2]=0;f[S+4>>2]=0;f[S+8>>2]=0;c=S+11|0;b[c>>0]=2;d[S>>1]=30562;b[S+2>>0]=0;R=T+4|0;f[R>>2]=0;f[R+4>>2]=0;R=T+11|0;b[R>>0]=3;b[T>>0]=b[387872]|0;b[T+1>>0]=b[387873]|0;b[T+2>>0]=b[387874]|0;b[T+3>>0]=0;UBb(ck(ub,S)|0,T)|0;if((b[R>>0]|0)<0)GBb(f[T>>2]|0);if((b[c>>0]|0)<0)GBb(f[S>>2]|0);c=U+4|0;f[c>>2]=0;f[c+4>>2]=0;c=U+11|0;b[c>>0]=3;b[U>>0]=b[387876]|0;b[U+1>>0]=b[387877]|0;b[U+2>>0]=b[387878]|0;b[U+3>>0]=0;f[V>>2]=0;f[V+4>>2]=0;f[V+8>>2]=0;T=V+11|0;b[T>>0]=2;d[V>>1]=31335;b[V+2>>0]=0;UBb(ck(ub,U)|0,V)|0;if((b[T>>0]|0)<0)GBb(f[V>>2]|0);if((b[c>>0]|0)<0)GBb(f[U>>2]|0);c=W+4|0;f[c>>2]=0;f[c+4>>2]=0;c=W+11|0;b[c>>0]=3;b[W>>0]=b[387880]|0;b[W+1>>0]=b[387881]|0;b[W+2>>0]=b[387882]|0;b[W+3>>0]=0;f[X>>2]=0;f[X+4>>2]=0;f[X+8>>2]=0;V=X+11|0;b[V>>0]=2;d[X>>1]=31335;b[X+2>>0]=0;UBb(ck(ub,W)|0,X)|0;if((b[V>>0]|0)<0)GBb(f[X>>2]|0);if((b[c>>0]|0)<0)GBb(f[W>>2]|0);c=Y+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Y+11|0;b[c>>0]=3;b[Y>>0]=b[387884]|0;b[Y+1>>0]=b[387885]|0;b[Y+2>>0]=b[387886]|0;b[Y+3>>0]=0;f[Z>>2]=0;f[Z+4>>2]=0;f[Z+8>>2]=0;X=Z+11|0;b[X>>0]=5;b[Z>>0]=b[387888]|0;b[Z+1>>0]=b[387889]|0;b[Z+2>>0]=b[387890]|0;b[Z+3>>0]=b[387891]|0;b[Z+4>>0]=b[387892]|0;b[Z+5>>0]=0;UBb(ck(ub,Y)|0,Z)|0;if((b[X>>0]|0)<0)GBb(f[Z>>2]|0);if((b[c>>0]|0)<0)GBb(f[Y>>2]|0);f[_>>2]=0;f[_+4>>2]=0;f[_+8>>2]=0;c=_+11|0;b[c>>0]=2;d[_>>1]=26736;b[_+2>>0]=0;f[$>>2]=0;f[$+4>>2]=0;f[$+8>>2]=0;Z=$+11|0;b[Z>>0]=5;b[$>>0]=b[387888]|0;b[$+1>>0]=b[387889]|0;b[$+2>>0]=b[387890]|0;b[$+3>>0]=b[387891]|0;b[$+4>>0]=b[387892]|0;b[$+5>>0]=0;UBb(ck(ub,_)|0,$)|0;if((b[Z>>0]|0)<0)GBb(f[$>>2]|0);if((b[c>>0]|0)<0)GBb(f[_>>2]|0);c=aa+4|0;f[c>>2]=0;f[c+4>>2]=0;c=aa+11|0;b[c>>0]=3;b[aa>>0]=b[387894]|0;b[aa+1>>0]=b[387895]|0;b[aa+2>>0]=b[387896]|0;b[aa+3>>0]=0;f[ba>>2]=0;f[ba+4>>2]=0;f[ba+8>>2]=0;$=ba+11|0;b[$>>0]=5;b[ba>>0]=b[387888]|0;b[ba+1>>0]=b[387889]|0;b[ba+2>>0]=b[387890]|0;b[ba+3>>0]=b[387891]|0;b[ba+4>>0]=b[387892]|0;b[ba+5>>0]=0;UBb(ck(ub,aa)|0,ba)|0;if((b[$>>0]|0)<0)GBb(f[ba>>2]|0);if((b[c>>0]|0)<0)GBb(f[aa>>2]|0);c=ca+4|0;f[c>>2]=0;f[c+4>>2]=0;c=ca+11|0;b[c>>0]=3;b[ca>>0]=b[387898]|0;b[ca+1>>0]=b[387899]|0;b[ca+2>>0]=b[387900]|0;b[ca+3>>0]=0;f[da>>2]=0;f[da+4>>2]=0;f[da+8>>2]=0;ba=da+11|0;b[ba>>0]=5;b[da>>0]=b[387888]|0;b[da+1>>0]=b[387889]|0;b[da+2>>0]=b[387890]|0;b[da+3>>0]=b[387891]|0;b[da+4>>0]=b[387892]|0;b[da+5>>0]=0;UBb(ck(ub,ca)|0,da)|0;if((b[ba>>0]|0)<0)GBb(f[da>>2]|0);if((b[c>>0]|0)<0)GBb(f[ca>>2]|0);c=ea+4|0;f[c>>2]=0;f[c+4>>2]=0;c=ea+11|0;b[c>>0]=3;b[ea>>0]=b[387902]|0;b[ea+1>>0]=b[387903]|0;b[ea+2>>0]=b[387904]|0;b[ea+3>>0]=0;f[fa>>2]=0;f[fa+4>>2]=0;f[fa+8>>2]=0;da=fa+11|0;b[da>>0]=5;b[fa>>0]=b[387888]|0;b[fa+1>>0]=b[387889]|0;b[fa+2>>0]=b[387890]|0;b[fa+3>>0]=b[387891]|0;b[fa+4>>0]=b[387892]|0;b[fa+5>>0]=0;UBb(ck(ub,ea)|0,fa)|0;if((b[da>>0]|0)<0)GBb(f[fa>>2]|0);if((b[c>>0]|0)<0)GBb(f[ea>>2]|0);f[ga>>2]=0;f[ga+4>>2]=0;f[ga+8>>2]=0;c=ga+11|0;b[c>>0]=2;d[ga>>1]=27751;b[ga+2>>0]=0;f[ha>>2]=0;f[ha+4>>2]=0;f[ha+8>>2]=0;fa=ha+11|0;b[fa>>0]=4;f[ha>>2]=1819503719;b[ha+4>>0]=0;UBb(ck(ub,ga)|0,ha)|0;if((b[fa>>0]|0)<0)GBb(f[ha>>2]|0);if((b[c>>0]|0)<0)GBb(f[ga>>2]|0);f[ia>>2]=0;f[ia+4>>2]=0;f[ia+8>>2]=0;c=ia+11|0;b[c>>0]=4;f[ia>>2]=1953654134;b[ia+4>>0]=0;f[ja>>2]=0;f[ja+4>>2]=0;f[ja+8>>2]=0;ha=ja+11|0;b[ha>>0]=4;f[ja>>2]=1819503719;b[ja+4>>0]=0;UBb(ck(ub,ia)|0,ja)|0;if((b[ha>>0]|0)<0)GBb(f[ja>>2]|0);if((b[c>>0]|0)<0)GBb(f[ia>>2]|0);f[ka>>2]=0;f[ka+4>>2]=0;f[ka+8>>2]=0;c=ka+11|0;b[c>>0]=4;f[ka>>2]=1734439526;b[ka+4>>0]=0;f[la>>2]=0;f[la+4>>2]=0;f[la+8>>2]=0;ja=la+11|0;b[ja>>0]=4;f[la>>2]=1819503719;b[la+4>>0]=0;UBb(ck(ub,ka)|0,la)|0;if((b[ja>>0]|0)<0)GBb(f[la>>2]|0);if((b[c>>0]|0)<0)GBb(f[ka>>2]|0);f[ma>>2]=0;f[ma+4>>2]=0;f[ma+8>>2]=0;c=ma+11|0;b[c>>0]=4;f[ma>>2]=1836016999;b[ma+4>>0]=0;f[na>>2]=0;f[na+4>>2]=0;f[na+8>>2]=0;la=na+11|0;b[la>>0]=4;f[na>>2]=1819503719;b[na+4>>0]=0;UBb(ck(ub,ma)|0,na)|0;if((b[la>>0]|0)<0)GBb(f[na>>2]|0);if((b[c>>0]|0)<0)GBb(f[ma>>2]|0);f[oa>>2]=0;f[oa+4>>2]=0;f[oa+8>>2]=0;c=oa+11|0;b[c>>0]=5;b[oa>>0]=b[387906]|0;b[oa+1>>0]=b[387907]|0;b[oa+2>>0]=b[387908]|0;b[oa+3>>0]=b[387909]|0;b[oa+4>>0]=b[387910]|0;b[oa+5>>0]=0;f[pa>>2]=0;f[pa+4>>2]=0;f[pa+8>>2]=0;na=pa+11|0;b[na>>0]=4;f[pa>>2]=1819503719;b[pa+4>>0]=0;UBb(ck(ub,oa)|0,pa)|0;if((b[na>>0]|0)<0)GBb(f[pa>>2]|0);if((b[c>>0]|0)<0)GBb(f[oa>>2]|0);f[qa>>2]=0;f[qa+4>>2]=0;f[qa+8>>2]=0;c=qa+11|0;b[c>>0]=5;b[qa>>0]=b[387912]|0;b[qa+1>>0]=b[387913]|0;b[qa+2>>0]=b[387914]|0;b[qa+3>>0]=b[387915]|0;b[qa+4>>0]=b[387916]|0;b[qa+5>>0]=0;f[ra>>2]=0;f[ra+4>>2]=0;f[ra+8>>2]=0;pa=ra+11|0;b[pa>>0]=4;f[ra>>2]=1819503719;b[ra+4>>0]=0;UBb(ck(ub,qa)|0,ra)|0;if((b[pa>>0]|0)<0)GBb(f[ra>>2]|0);if((b[c>>0]|0)<0)GBb(f[qa>>2]|0);f[sa+8>>2]=0;c=sa+11|0;b[c>>0]=7;b[sa>>0]=b[387918]|0;b[sa+1>>0]=b[387919]|0;b[sa+2>>0]=b[387920]|0;b[sa+3>>0]=b[387921]|0;b[sa+4>>0]=b[387922]|0;b[sa+5>>0]=b[387923]|0;b[sa+6>>0]=b[387924]|0;b[sa+7>>0]=0;f[ta>>2]=0;f[ta+4>>2]=0;f[ta+8>>2]=0;ra=ta+11|0;b[ra>>0]=4;f[ta>>2]=1819503719;b[ta+4>>0]=0;UBb(ck(ub,sa)|0,ta)|0;if((b[ra>>0]|0)<0)GBb(f[ta>>2]|0);if((b[c>>0]|0)<0)GBb(f[sa>>2]|0);f[ua>>2]=0;f[ua+4>>2]=0;f[ua+8>>2]=0;c=ua+11|0;b[c>>0]=2;d[ua>>1]=29558;b[ua+2>>0]=0;f[va>>2]=0;f[va+4>>2]=0;f[va+8>>2]=0;ta=va+11|0;b[ta>>0]=4;f[va>>2]=1819503719;b[va+4>>0]=0;UBb(ck(ub,ua)|0,va)|0;if((b[ta>>0]|0)<0)GBb(f[va>>2]|0);if((b[c>>0]|0)<0)GBb(f[ua>>2]|0);f[wa>>2]=0;f[wa+4>>2]=0;f[wa+8>>2]=0;c=wa+11|0;b[c>>0]=2;d[wa>>1]=29542;b[wa+2>>0]=0;f[xa>>2]=0;f[xa+4>>2]=0;f[xa+8>>2]=0;va=xa+11|0;b[va>>0]=4;f[xa>>2]=1819503719;b[xa+4>>0]=0;UBb(ck(ub,wa)|0,xa)|0;if((b[va>>0]|0)<0)GBb(f[xa>>2]|0);if((b[c>>0]|0)<0)GBb(f[wa>>2]|0);f[ya>>2]=0;f[ya+4>>2]=0;f[ya+8>>2]=0;c=ya+11|0;b[c>>0]=2;d[ya>>1]=29539;b[ya+2>>0]=0;f[za>>2]=0;f[za+4>>2]=0;f[za+8>>2]=0;xa=za+11|0;b[xa>>0]=4;f[za>>2]=1819503719;b[za+4>>0]=0;UBb(ck(ub,ya)|0,za)|0;if((b[xa>>0]|0)<0)GBb(f[za>>2]|0);if((b[c>>0]|0)<0)GBb(f[ya>>2]|0);f[Aa>>2]=0;f[Aa+4>>2]=0;f[Aa+8>>2]=0;c=Aa+11|0;b[c>>0]=2;d[Aa>>1]=29543;b[Aa+2>>0]=0;f[Ba>>2]=0;f[Ba+4>>2]=0;f[Ba+8>>2]=0;za=Ba+11|0;b[za>>0]=4;f[Ba>>2]=1819503719;b[Ba+4>>0]=0;UBb(ck(ub,Aa)|0,Ba)|0;if((b[za>>0]|0)<0)GBb(f[Ba>>2]|0);if((b[c>>0]|0)<0)GBb(f[Aa>>2]|0);f[Ca>>2]=0;f[Ca+4>>2]=0;f[Ca+8>>2]=0;c=Ca+11|0;b[c>>0]=2;d[Ca>>1]=29546;b[Ca+2>>0]=0;f[Da>>2]=0;f[Da+4>>2]=0;f[Da+8>>2]=0;Ba=Da+11|0;b[Ba>>0]=2;d[Da>>1]=14422;b[Da+2>>0]=0;UBb(ck(ub,Ca)|0,Da)|0;if((b[Ba>>0]|0)<0)GBb(f[Da>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ca>>2]|0);c=Ea+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Ea+11|0;b[c>>0]=3;b[Ea>>0]=b[387926]|0;b[Ea+1>>0]=b[387927]|0;b[Ea+2>>0]=b[387928]|0;b[Ea+3>>0]=0;f[Fa>>2]=0;f[Fa+4>>2]=0;f[Fa+8>>2]=0;Da=Fa+11|0;b[Da>>0]=4;f[Fa>>2]=1734701162;b[Fa+4>>0]=0;UBb(ck(ub,Ea)|0,Fa)|0;if((b[Da>>0]|0)<0)GBb(f[Fa>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ea>>2]|0);c=Ga+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Ga+11|0;b[c>>0]=3;b[Ga>>0]=b[387930]|0;b[Ga+1>>0]=b[387931]|0;b[Ga+2>>0]=b[387932]|0;b[Ga+3>>0]=0;f[Ha>>2]=0;f[Ha+4>>2]=0;f[Ha+8>>2]=0;Fa=Ha+11|0;b[Fa>>0]=4;f[Ha>>2]=1734701162;b[Ha+4>>0]=0;UBb(ck(ub,Ga)|0,Ha)|0;if((b[Fa>>0]|0)<0)GBb(f[Ha>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ga>>2]|0);c=Ia+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Ia+11|0;b[c>>0]=3;b[Ia>>0]=b[387934]|0;b[Ia+1>>0]=b[387935]|0;b[Ia+2>>0]=b[387936]|0;b[Ia+3>>0]=0;f[Ja>>2]=0;f[Ja+4>>2]=0;f[Ja+8>>2]=0;Ha=Ja+11|0;b[Ha>>0]=4;f[Ja>>2]=1717987700;b[Ja+4>>0]=0;UBb(ck(ub,Ia)|0,Ja)|0;if((b[Ha>>0]|0)<0)GBb(f[Ja>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ia>>2]|0);f[Ka>>2]=0;f[Ka+4>>2]=0;f[Ka+8>>2]=0;c=Ka+11|0;b[c>>0]=2;d[Ka>>1]=30572;b[Ka+2>>0]=0;Ja=La+4|0;f[Ja>>2]=0;f[Ja+4>>2]=0;Ja=La+11|0;b[Ja>>0]=3;b[La>>0]=b[387938]|0;b[La+1>>0]=b[387939]|0;b[La+2>>0]=b[387940]|0;b[La+3>>0]=0;UBb(ck(ub,Ka)|0,La)|0;if((b[Ja>>0]|0)<0)GBb(f[La>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ka>>2]|0);c=Ma+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Ma+11|0;b[c>>0]=3;b[Ma>>0]=b[387942]|0;b[Ma+1>>0]=b[387943]|0;b[Ma+2>>0]=b[387944]|0;b[Ma+3>>0]=0;f[Na>>2]=0;f[Na+4>>2]=0;f[Na+8>>2]=0;La=Na+11|0;b[La>>0]=8;Ka=Na;f[Ka>>2]=1701147238;f[Ka+4>>2]=1701869940;b[Na+8>>0]=0;UBb(ck(ub,Ma)|0,Na)|0;if((b[La>>0]|0)<0)GBb(f[Na>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ma>>2]|0);c=Oa+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Oa+11|0;b[c>>0]=3;b[Oa>>0]=b[387946]|0;b[Oa+1>>0]=b[387947]|0;b[Oa+2>>0]=b[387948]|0;b[Oa+3>>0]=0;f[Pa>>2]=0;f[Pa+4>>2]=0;f[Pa+8>>2]=0;Na=Pa+11|0;b[Na>>0]=8;Ma=Pa;f[Ma>>2]=1701147238;f[Ma+4>>2]=1701869940;b[Pa+8>>0]=0;UBb(ck(ub,Oa)|0,Pa)|0;if((b[Na>>0]|0)<0)GBb(f[Pa>>2]|0);if((b[c>>0]|0)<0)GBb(f[Oa>>2]|0);c=Qa+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Qa+11|0;b[c>>0]=3;b[Qa>>0]=b[387950]|0;b[Qa+1>>0]=b[387951]|0;b[Qa+2>>0]=b[387952]|0;b[Qa+3>>0]=0;f[Ra>>2]=0;f[Ra+4>>2]=0;f[Ra+8>>2]=0;Pa=Ra+11|0;b[Pa>>0]=8;Oa=Ra;f[Oa>>2]=1701147238;f[Oa+4>>2]=1701869940;b[Ra+8>>0]=0;UBb(ck(ub,Qa)|0,Ra)|0;if((b[Pa>>0]|0)<0)GBb(f[Ra>>2]|0);if((b[c>>0]|0)<0)GBb(f[Qa>>2]|0);c=Sa+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Sa+11|0;b[c>>0]=3;b[Sa>>0]=b[387954]|0;b[Sa+1>>0]=b[387955]|0;b[Sa+2>>0]=b[387956]|0;b[Sa+3>>0]=0;f[Ta>>2]=0;f[Ta+4>>2]=0;f[Ta+8>>2]=0;Ra=Ta+11|0;b[Ra>>0]=8;Qa=Ta;f[Qa>>2]=1701147238;f[Qa+4>>2]=1701869940;b[Ta+8>>0]=0;UBb(ck(ub,Sa)|0,Ta)|0;if((b[Ra>>0]|0)<0)GBb(f[Ta>>2]|0);if((b[c>>0]|0)<0)GBb(f[Sa>>2]|0);c=Ua+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Ua+11|0;b[c>>0]=3;b[Ua>>0]=b[387958]|0;b[Ua+1>>0]=b[387959]|0;b[Ua+2>>0]=b[387960]|0;b[Ua+3>>0]=0;f[Va>>2]=0;f[Va+4>>2]=0;f[Va+8>>2]=0;Ta=Va+11|0;b[Ta>>0]=8;Sa=Va;f[Sa>>2]=1701147238;f[Sa+4>>2]=1701869940;b[Va+8>>0]=0;UBb(ck(ub,Ua)|0,Va)|0;if((b[Ta>>0]|0)<0)GBb(f[Va>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ua>>2]|0);c=Wa+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Wa+11|0;b[c>>0]=3;b[Wa>>0]=b[387962]|0;b[Wa+1>>0]=b[387963]|0;b[Wa+2>>0]=b[387964]|0;b[Wa+3>>0]=0;f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;Va=Xa+11|0;b[Va>>0]=8;Ua=Xa;f[Ua>>2]=1701147238;f[Ua+4>>2]=1701869940;b[Xa+8>>0]=0;UBb(ck(ub,Wa)|0,Xa)|0;if((b[Va>>0]|0)<0)GBb(f[Xa>>2]|0);if((b[c>>0]|0)<0)GBb(f[Wa>>2]|0);c=Ya+4|0;f[c>>2]=0;f[c+4>>2]=0;c=Ya+11|0;b[c>>0]=3;b[Ya>>0]=b[387966]|0;b[Ya+1>>0]=b[387967]|0;b[Ya+2>>0]=b[387968]|0;b[Ya+3>>0]=0;f[Za>>2]=0;f[Za+4>>2]=0;f[Za+8>>2]=0;Xa=Za+11|0;b[Xa>>0]=8;Wa=Za;f[Wa>>2]=1701147238;f[Wa+4>>2]=1701869940;b[Za+8>>0]=0;UBb(ck(ub,Ya)|0,Za)|0;if((b[Xa>>0]|0)<0)GBb(f[Za>>2]|0);if((b[c>>0]|0)<0)GBb(f[Ya>>2]|0);f[_a>>2]=0;f[_a+4>>2]=0;f[_a+8>>2]=0;c=_a+11|0;b[c>>0]=6;b[_a>>0]=b[387970]|0;b[_a+1>>0]=b[387971]|0;b[_a+2>>0]=b[387972]|0;b[_a+3>>0]=b[387973]|0;b[_a+4>>0]=b[387974]|0;b[_a+5>>0]=b[387975]|0;b[_a+6>>0]=0;f[$a>>2]=0;f[$a+4>>2]=0;f[$a+8>>2]=0;Za=$a+11|0;b[Za>>0]=8;Ya=$a;f[Ya>>2]=1701147238;f[Ya+4>>2]=1701869940;b[$a+8>>0]=0;UBb(ck(ub,_a)|0,$a)|0;if((b[Za>>0]|0)<0)GBb(f[$a>>2]|0);if((b[c>>0]|0)<0)GBb(f[_a>>2]|0);f[ab>>2]=0;f[ab+4>>2]=0;f[ab+8>>2]=0;c=ab+11|0;b[c>>0]=6;b[ab>>0]=b[387977]|0;b[ab+1>>0]=b[387978]|0;b[ab+2>>0]=b[387979]|0;b[ab+3>>0]=b[387980]|0;b[ab+4>>0]=b[387981]|0;b[ab+5>>0]=b[387982]|0;b[ab+6>>0]=0;f[bb>>2]=0;f[bb+4>>2]=0;f[bb+8>>2]=0;$a=bb+11|0;b[$a>>0]=2;d[bb>>1]=26228;b[bb+2>>0]=0;UBb(ck(ub,ab)|0,bb)|0;if((b[$a>>0]|0)<0)GBb(f[bb>>2]|0);if((b[c>>0]|0)<0)GBb(f[ab>>2]|0);c=cb+4|0;f[c>>2]=0;f[c+4>>2]=0;c=cb+11|0;b[c>>0]=3;b[cb>>0]=b[387984]|0;b[cb+1>>0]=b[387985]|0;b[cb+2>>0]=b[387986]|0;b[cb+3>>0]=0;bb=db+4|0;f[bb>>2]=0;f[bb+4>>2]=0;bb=db+11|0;b[bb>>0]=3;b[db>>0]=b[387988]|0;b[db+1>>0]=b[387989]|0;b[db+2>>0]=b[387990]|0;b[db+3>>0]=0;UBb(ck(ub,cb)|0,db)|0;if((b[bb>>0]|0)<0)GBb(f[db>>2]|0);if((b[c>>0]|0)<0)GBb(f[cb>>2]|0);c=eb+4|0;f[c>>2]=0;f[c+4>>2]=0;c=eb+11|0;b[c>>0]=3;b[eb>>0]=b[387992]|0;b[eb+1>>0]=b[387993]|0;b[eb+2>>0]=b[387994]|0;b[eb+3>>0]=0;db=fb+4|0;f[db>>2]=0;f[db+4>>2]=0;db=fb+11|0;b[db>>0]=3;b[fb>>0]=b[387988]|0;b[fb+1>>0]=b[387989]|0;b[fb+2>>0]=b[387990]|0;b[fb+3>>0]=0;UBb(ck(ub,eb)|0,fb)|0;if((b[db>>0]|0)<0)GBb(f[fb>>2]|0);if((b[c>>0]|0)<0)GBb(f[eb>>2]|0);c=gb+4|0;f[c>>2]=0;f[c+4>>2]=0;c=gb+11|0;b[c>>0]=3;b[gb>>0]=b[387996]|0;b[gb+1>>0]=b[387997]|0;b[gb+2>>0]=b[387998]|0;b[gb+3>>0]=0;fb=hb+4|0;f[fb>>2]=0;f[fb+4>>2]=0;fb=hb+11|0;b[fb>>0]=3;b[hb>>0]=b[387988]|0;b[hb+1>>0]=b[387989]|0;b[hb+2>>0]=b[387990]|0;b[hb+3>>0]=0;UBb(ck(ub,gb)|0,hb)|0;if((b[fb>>0]|0)<0)GBb(f[hb>>2]|0);if((b[c>>0]|0)<0)GBb(f[gb>>2]|0);f[ib>>2]=0;f[ib+4>>2]=0;f[ib+8>>2]=0;c=ib+11|0;b[c>>0]=5;b[ib>>0]=b[388e3]|0;b[ib+1>>0]=b[388001]|0;b[ib+2>>0]=b[388002]|0;b[ib+3>>0]=b[388003]|0;b[ib+4>>0]=b[388004]|0;b[ib+5>>0]=0;f[jb>>2]=0;f[jb+4>>2]=0;f[jb+8>>2]=0;e=jb+11|0;b[e>>0]=9;w=jb;g=388006;x=w+9|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[jb+9>>0]=0;UBb(ck(ub,ib)|0,jb)|0;if((b[e>>0]|0)<0)GBb(f[jb>>2]|0);if((b[c>>0]|0)<0)GBb(f[ib>>2]|0);f[kb+8>>2]=0;c=kb+11|0;b[c>>0]=7;b[kb>>0]=b[388016]|0;b[kb+1>>0]=b[388017]|0;b[kb+2>>0]=b[388018]|0;b[kb+3>>0]=b[388019]|0;b[kb+4>>0]=b[388020]|0;b[kb+5>>0]=b[388021]|0;b[kb+6>>0]=b[388022]|0;b[kb+7>>0]=0;f[lb>>2]=0;f[lb+4>>2]=0;f[lb+8>>2]=0;e=lb+11|0;b[e>>0]=9;w=lb;g=388006;x=w+9|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[lb+9>>0]=0;UBb(ck(ub,kb)|0,lb)|0;if((b[e>>0]|0)<0)GBb(f[lb>>2]|0);if((b[c>>0]|0)<0)GBb(f[kb>>2]|0);f[mb>>2]=0;f[mb+4>>2]=0;f[mb+8>>2]=0;c=mb+11|0;b[c>>0]=8;e=mb;f[e>>2]=1768189805;f[e+4>>2]=1684367718;b[mb+8>>0]=0;f[nb>>2]=0;f[nb+4>>2]=0;f[nb+8>>2]=0;e=nb+11|0;b[e>>0]=9;w=nb;g=388006;x=w+9|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[nb+9>>0]=0;UBb(ck(ub,mb)|0,nb)|0;if((b[e>>0]|0)<0)GBb(f[nb>>2]|0);if((b[c>>0]|0)<0)GBb(f[mb>>2]|0);c=ob+4|0;f[c>>2]=0;f[c+4>>2]=0;c=ob+11|0;b[c>>0]=3;b[ob>>0]=b[388024]|0;b[ob+1>>0]=b[388025]|0;b[ob+2>>0]=b[388026]|0;b[ob+3>>0]=0;f[pb>>2]=0;f[pb+4>>2]=0;f[pb+8>>2]=0;e=EBb(16)|0;f[pb>>2]=e;f[pb+8>>2]=-2147483632;f[pb+4>>2]=11;w=e;g=388028;x=w+11|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[e+11>>0]=0;UBb(ck(ub,ob)|0,pb)|0;if((b[pb+11>>0]|0)<0)GBb(f[pb>>2]|0);if((b[c>>0]|0)<0)GBb(f[ob>>2]|0);f[qb>>2]=0;f[qb+4>>2]=0;f[qb+8>>2]=0;c=qb+11|0;b[c>>0]=4;f[qb>>2]=1885697139;b[qb+4>>0]=0;f[rb>>2]=0;f[rb+4>>2]=0;f[rb+8>>2]=0;e=EBb(16)|0;f[rb>>2]=e;f[rb+8>>2]=-2147483632;f[rb+4>>2]=11;w=e;g=388028;x=w+11|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[e+11>>0]=0;UBb(ck(ub,qb)|0,rb)|0;if((b[rb+11>>0]|0)<0)GBb(f[rb>>2]|0);if((b[c>>0]|0)<0)GBb(f[qb>>2]|0);c=sb+4|0;f[c>>2]=0;f[c+4>>2]=0;c=sb+11|0;b[c>>0]=3;b[sb>>0]=b[388040]|0;b[sb+1>>0]=b[388041]|0;b[sb+2>>0]=b[388042]|0;b[sb+3>>0]=0;f[tb>>2]=0;f[tb+4>>2]=0;f[tb+8>>2]=0;e=EBb(16)|0;f[tb>>2]=e;f[tb+8>>2]=-2147483632;f[tb+4>>2]=11;w=e;g=388028;x=w+11|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[e+11>>0]=0;UBb(ck(ub,sb)|0,tb)|0;if((b[tb+11>>0]|0)<0)GBb(f[tb>>2]|0);if((b[c>>0]|0)<0)GBb(f[sb>>2]|0);f[vb>>2]=0;f[vb+4>>2]=0;f[vb+8>>2]=0;c=vb+11|0;b[c>>0]=4;f[vb>>2]=1936025449;b[vb+4>>0]=0;f[wb>>2]=0;f[wb+4>>2]=0;f[wb+8>>2]=0;e=EBb(16)|0;f[wb>>2]=e;f[wb+8>>2]=-2147483632;f[wb+4>>2]=11;w=e;g=388028;x=w+11|0;do{b[w>>0]=b[g>>0]|0;w=w+1|0;g=g+1|0}while((w|0)<(x|0));b[e+11>>0]=0;UBb(ck(ub,vb)|0,wb)|0;if((b[wb+11>>0]|0)<0)GBb(f[wb>>2]|0);if((b[c>>0]|0)<0)GBb(f[vb>>2]|0);f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;c=Rmb(390788)|0;if(c>>>0>4294967279)MBb(yb);i=yb+11|0;j=yb+4|0;k=yb+8|0;l=Ab+11|0;m=Ab+8|0;n=Ab+4|0;o=zb+11|0;h=0;g=390788;while(1){if(c>>>0<11){b[i>>0]=c;if(!c)e=yb;else{e=yb;Bb=272}}else{Bb=c+16&-16;e=EBb(Bb)|0;f[yb>>2]=e;f[k>>2]=Bb|-2147483648;f[j>>2]=c;Bb=272}if((Bb|0)==272){Bb=0;YDb(e|0,g|0,c|0)|0}b[e+c>>0]=0;wb=b[i>>0]|0;c=wb<<24>>24<0;if(!((c?f[j>>2]|0:wb&255)|0)){Bb=287;break}OBb(zb,yb);e=f[219904+((h|1)<<2)>>2]|0;f[Ab>>2]=0;f[Ab+4>>2]=0;f[Ab+8>>2]=0;g=Rmb(e)|0;if(g>>>0>4294967279){Bb=275;break}if(g>>>0<11){b[l>>0]=g;if(!g)c=Ab;else{c=Ab;Bb=279}}else{Bb=g+16&-16;c=EBb(Bb)|0;f[Ab>>2]=c;f[m>>2]=Bb|-2147483648;f[n>>2]=g;Bb=279}if((Bb|0)==279){Bb=0;YDb(c|0,e|0,g|0)|0}b[c+g>>0]=0;UBb(ck(xb,zb)|0,Ab)|0;if((b[l>>0]|0)<0)GBb(f[Ab>>2]|0);if((b[o>>0]|0)<0)GBb(f[zb>>2]|0);if((b[i>>0]|0)<0)GBb(f[yb>>2]|0);h=h+2|0;g=f[219904+(h<<2)>>2]|0;f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;c=Rmb(g)|0;if(c>>>0>4294967279){Bb=268;break}}if((Bb|0)==268)MBb(yb);else if((Bb|0)==275)MBb(Ab);else if((Bb|0)==287){if(c)GBb(f[yb>>2]|0);f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;Bb=yb+11|0;b[Bb>>0]=4;f[yb>>2]=1886680168;b[yb+4>>0]=0;d0(a,yb);if((b[Bb>>0]|0)<0)GBb(f[yb>>2]|0);f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;Bb=yb+11|0;b[Bb>>0]=5;b[yb>>0]=b[388044]|0;b[yb+1>>0]=b[388045]|0;b[yb+2>>0]=b[388046]|0;b[yb+3>>0]=b[388047]|0;b[yb+4>>0]=b[388048]|0;b[yb+5>>0]=0;d0(a,yb);if((b[Bb>>0]|0)<0)GBb(f[yb>>2]|0);Bb=yb+4|0;f[Bb>>2]=0;f[Bb+4>>2]=0;Bb=yb+11|0;b[Bb>>0]=3;b[yb>>0]=b[388050]|0;b[yb+1>>0]=b[388051]|0;b[yb+2>>0]=b[388052]|0;b[yb+3>>0]=0;d0(a,yb);if((b[Bb>>0]|0)<0)GBb(f[yb>>2]|0);f[yb>>2]=0;f[yb+4>>2]=0;f[yb+8>>2]=0;Bb=yb+11|0;b[Bb>>0]=4;f[yb>>2]=1936749670;b[yb+4>>0]=0;d0(a,yb);if((b[Bb>>0]|0)<0)GBb(f[yb>>2]|0);c=EBb(60)|0;e0(c);e=f[Cb>>2]|0;do if((e|0)!=(c|0)){f[Cb>>2]=c;Cb=c+8|0;f[Cb>>2]=(f[Cb>>2]|0)+1;if(!e)break;Bb=e+8|0;Cb=f[Bb>>2]|0;f[Bb>>2]=Cb-1;if((Cb|0)!=1)break;Rua(e,1,1)}while(0);c=EBb(108)|0;rZa(c);f[c>>2]=325052;e=c+16|0;f[e>>2]=0;f[c+20>>2]=0;f[c+12>>2]=e;e=c+28|0;f[e>>2]=0;f[c+32>>2]=0;f[c+24>>2]=e;e=c+40|0;f[e>>2]=0;f[c+44>>2]=0;f[c+36>>2]=e;e=c+52|0;f[e>>2]=0;f[c+56>>2]=0;f[c+48>>2]=e;e=c+64|0;f[e>>2]=0;f[c+68>>2]=0;f[c+60>>2]=e;e=c+76|0;f[e>>2]=0;f[c+80>>2]=0;f[c+72>>2]=e;e=c+88|0;f[e>>2]=0;f[c+92>>2]=0;f[c+84>>2]=e;e=c+100|0;f[e>>2]=0;f[c+104>>2]=0;f[c+96>>2]=e;e=f[Db>>2]|0;if((e|0)==(c|0)){u=Eb;return}f[Db>>2]=c;Db=c+8|0;f[Db>>2]=(f[Db>>2]|0)+1;if(!e){u=Eb;return}Cb=e+8|0;Db=f[Cb>>2]|0;f[Cb>>2]=Db-1;if((Db|0)!=1){u=Eb;return}Rua(e,1,1);u=Eb;return}}function _$(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;b=a+236|0;c=f[b>>2]|0;if(c|0?(f[b>>2]=0,d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);c=a+20|0;b=f[c>>2]|0;if(b|0?(f[c>>2]=0,e=b+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(b,1,1);b=f[a+212>>2]|0;if(b|0){g=b+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;d=b+12|0;e=b+16|0;$Z(d,f[e>>2]|0);f[b+20>>2]=0;f[d>>2]=e;f[e>>2]=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0}b=f[c>>2]|0;if(b|0?(f[c>>2]=0,e=b+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(b,1,1);e=a+108|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;d=a+120|0;g=a+124|0;$$(d,f[g>>2]|0);f[a+128>>2]=0;f[d>>2]=g;f[g>>2]=0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;e=a+60|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;g=f[a+96>>2]|0;d=a+100|0;b=f[d>>2]|0;if((b|0)==(g|0)){f[d>>2]=g;a=f[e>>2]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](e)|0;return}do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,a=f[h>>2]|0,f[h>>2]=a-1,(a|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(g|0));f[d>>2]=g;h=f[e>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](e)|0;return}function $$(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;$$(a,f[c>>2]|0);$$(a,f[c+4>>2]|0);a=c+16|0;d=c+28|0;e=f[d>>2]|0;if(e|0?(h=e+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(e,1,1);f[d>>2]=0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function a0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;e=u;u=u+16|0;d=e;v_a(a,1);f[a>>2]=325092;OBb(a+12|0,c);g=a+24|0;f[g>>2]=g;f[a+28>>2]=g;f[a+32>>2]=0;if(!(qZa(4)|0)){u=e;return}h=Nu(Hua(4)|0,392901,24)|0;g=b[c+11>>0]|0;a=g<<24>>24<0;g=Nu(h,a?f[c>>2]|0:c,a?f[c+4>>2]|0:g&255)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);c=utb(d,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(d);ksb(g,c)|0;Krb(g)|0;u=e;return}function b0(a){a=a|0;var c=0,d=0,e=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;r=u;u=u+64|0;l=r+48|0;k=r+40|0;m=r+32|0;n=r+24|0;q=r;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0;f[q+16>>2]=0;f[q+20>>2]=0;d=sh(392875)|0;if(!d){d=sh(392889)|0;if(d|0){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;e=Rmb(d)|0;if(e>>>0>4294967279)MBb(l);if(e>>>0<11){b[l+11>>0]=e;if(!e)c=l;else{c=l;p=17}}else{p=e+16&-16;c=EBb(p)|0;f[l>>2]=c;f[l+8>>2]=p|-2147483648;f[l+4>>2]=e;p=17}if((p|0)==17)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;v0(l,q);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0)}}else{f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;e=Rmb(d)|0;if(e>>>0>4294967279)MBb(l);if(e>>>0<11){b[l+11>>0]=e;if(!e)c=l;else{c=l;p=7}}else{p=e+16&-16;c=EBb(p)|0;f[l>>2]=c;f[l+8>>2]=p|-2147483648;f[l+4>>2]=e;p=7}if((p|0)==7)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;v0(l,q);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0)}h=a+164|0;o=q+4|0;if((h|0)==(q|0)){l=q+16|0;j=q+8|0}else{a=f[o>>2]|0;i=q+16|0;d=f[i>>2]|0;c=(d>>>0)/341|0;e=a+(c<<2)|0;j=q+8|0;g=(f[j>>2]|0)==(a|0);if(g)c=0;else c=(f[e>>2]|0)+((d-(c*341|0)|0)*12|0)|0;f[m>>2]=e;f[m+4>>2]=c;c=(f[q+20>>2]|0)+d|0;d=(c>>>0)/341|0;e=a+(d<<2)|0;if(g)c=0;else c=(f[e>>2]|0)+((c-(d*341|0)|0)*12|0)|0;f[n>>2]=e;f[n+4>>2]=c;f[k>>2]=f[m>>2];f[k+4>>2]=f[m+4>>2];f[l>>2]=f[n>>2];f[l+4>>2]=f[n+4>>2];x0(h,k,l,0);l=i}i=f[o>>2]|0;c=f[l>>2]|0;d=(c>>>0)/341|0;a=i+(d<<2)|0;g=f[j>>2]|0;if((g|0)==(i|0)){c=0;h=0;k=q+20|0}else{k=q+20|0;n=(f[k>>2]|0)+c|0;h=(n>>>0)/341|0;c=(f[a>>2]|0)+((c-(d*341|0)|0)*12|0)|0;h=(f[i+(h<<2)>>2]|0)+((n-(h*341|0)|0)*12|0)|0}e=c;if((h|0)==(e|0)){h=j;d=i;a=g;e=g;g=i;c=i}else{d=a;do{if((b[c+11>>0]|0)<0)GBb(f[e>>2]|0);c=e+12|0;if((c-(f[d>>2]|0)|0)==4092){c=d+4|0;d=c;c=f[c>>2]|0}e=c}while((h|0)!=(e|0));e=f[j>>2]|0;c=f[o>>2]|0;h=j;d=c;a=e;g=c}f[k>>2]=0;d=a-d>>2;if(d>>>0>2)do{GBb(f[c>>2]|0);c=(f[o>>2]|0)+4|0;f[o>>2]=c;e=f[h>>2]|0;d=e-c>>2}while(d>>>0>2);else c=g;switch(d|0){case 1:{d=170;p=46;break}case 2:{d=341;p=46;break}default:{}}if((p|0)==46)f[l>>2]=d;if((c|0)!=(e|0)){do{GBb(f[c>>2]|0);c=c+4|0}while((c|0)!=(e|0));c=f[o>>2]|0;d=f[j>>2]|0;if((d|0)!=(c|0))f[j>>2]=d+(~((d+-4-c|0)>>>2)<<2)}c=f[q>>2]|0;if(!c){u=r;return}GBb(c);u=r;return}function c0(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;h=i;d=sh(392796)|0;if(d|0){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;e=Rmb(d)|0;if(e>>>0>4294967279)MBb(h);if(e>>>0<11){b[h+11>>0]=e;if(!e)c=h;else{c=h;g=7}}else{g=e+16&-16;c=EBb(g)|0;f[h>>2]=c;f[h+8>>2]=g|-2147483648;f[h+4>>2]=e;g=7}if((g|0)==7)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;c=a+188|0;D_(c);v0(h,c);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);h=c;w0(h);u=i;return}d=sh(392813)|0;if(!d){h=a+188|0;w0(h);u=i;return};f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;e=Rmb(d)|0;if(e>>>0>4294967279)MBb(h);if(e>>>0<11){b[h+11>>0]=e;if(!e)c=h;else{c=h;g=18}}else{g=e+16&-16;c=EBb(g)|0;f[h>>2]=c;f[h+8>>2]=g|-2147483648;f[h+4>>2]=e;g=18}if((g|0)==18)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;c=a+188|0;D_(c);v0(h,c);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);h=c;w0(h);u=i;return}function d0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=u;u=u+16|0;g=k+12|0;j=k;h=a+32|0;OBb(j,c);i=j+11|0;e=b[i>>0]|0;c=e<<24>>24<0;d=j+4|0;if((c?f[d>>2]|0:e&255)|0){c=c?f[j>>2]|0:j;do{e=(fnb(b[c>>0]|0)|0)&255;b[c>>0]=e;c=c+1|0;e=b[i>>0]|0;l=e<<24>>24<0}while((c|0)!=((l?f[j>>2]|0:j)+(l?f[d>>2]|0:e&255)|0))}e=u0(h,g,j)|0;if(!(f[e>>2]|0)){c=EBb(28)|0;d=c+16|0;f[d>>2]=f[j>>2];f[d+4>>2]=f[j+4>>2];f[d+8>>2]=f[j+8>>2];f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;d=f[g>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[h>>2]>>2]|0;if(d){f[h>>2]=d;c=f[e>>2]|0}Xo(f[a+36>>2]|0,c);l=a+40|0;f[l>>2]=(f[l>>2]|0)+1}if((b[i>>0]|0)>=0){u=k;return}GBb(f[j>>2]|0);u=k;return}function e0(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=u;u=u+16|0;i=n+12|0;m=n;rZa(a);f[a>>2]=325072;j=a+12|0;t4a(j,1);f[j>>2]=311972;f[a+28>>2]=0;f[a+32>>2]=0;f[a+24>>2]=a+28;f[a+40>>2]=0;f[a+44>>2]=0;f[a+36>>2]=a+40;j=a+48|0;k=a+52|0;f[k>>2]=0;l=a+56|0;f[l>>2]=0;f[j>>2]=a+52;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;g=m+11|0;b[g>>0]=2;d[m>>1]=19527;b[m+2>>0]=0;e=j0(j,i,m)|0;a=f[e>>2]|0;if(!a){a=EBb(52)|0;c=a+16|0;f[c>>2]=f[m>>2];f[c+4>>2]=f[m+4>>2];f[c+8>>2]=f[m+8>>2];f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;c=a+32|0;f[c>>2]=0;f[a+36>>2]=0;f[a+28>>2]=c;c=a+44|0;f[c>>2]=0;f[a+48>>2]=0;f[a+40>>2]=c;c=f[i>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=c;f[e>>2]=a;c=f[f[j>>2]>>2]|0;if(!c)c=a;else{f[j>>2]=c;c=f[e>>2]|0}Xo(f[k>>2]|0,c);f[l>>2]=(f[l>>2]|0)+1}a=a+28|0;if((b[g>>0]|0)<0)GBb(f[m>>2]|0);k0(a,442899,3008);k0(a,388095,3042);k0(a,388104,3058);k0(a,443010,2903);k0(a,388122,2884);k0(a,388135,2929);k0(a,443003,2912);k0(a,388149,34820);k0(a,388173,2852);k0(a,388189,2832);k0(a,388205,34913);k0(a,388225,32823);k0(a,388248,10754);k0(a,388271,10753);k0(a,388295,2882);k0(a,388314,3089);k0(a,388330,2960);k0(a,388346,35088);k0(a,388371,34336);k0(a,388393,33880);k0(a,442534,2896);k0(a,388406,2977);k0(a,388419,32826);k0(a,442626,3552);k0(a,442640,3553);k0(a,442654,32879);k0(a,388437,34067);k0(a,442668,34037);k0(a,442882,3171);k0(a,442865,3170);k0(a,442831,3168);k0(a,442848,3169);k0(a,442913,12288);k0(a,442928,12289);k0(a,442943,12290);k0(a,442958,12291);k0(a,442973,12292);k0(a,442988,12293);k0(a,442546,16384);k0(a,442556,16385);k0(a,442566,16386);k0(a,442576,16387);k0(a,442586,16388);k0(a,442596,16389);k0(a,442606,16390);k0(a,442616,16391);k0(a,388457,34370);k0(a,388486,34371);k0(a,388513,512);k0(a,388519,513);k0(a,388524,514);k0(a,388530,515);k0(a,388537,516);k0(a,388545,517);k0(a,388554,518);k0(a,409324,519);k0(a,388561,7681);k0(a,388569,8448);k0(a,388578,260);k0(a,388582,34164);k0(a,388593,34165);k0(a,388605,34023);k0(a,388614,34478);k0(a,388623,34479);k0(a,388633,34166);k0(a,388642,34167);k0(a,388656,34168);k0(a,388665,5890);k0(a,388673,33984);k0(a,388682,33985);k0(a,388691,33986);k0(a,388700,33987);k0(a,388709,33988);k0(a,388718,33989);k0(a,388727,33990);k0(a,388736,33991);k0(a,388745,10496);k0(a,388751,33071);k0(a,388765,33069);k0(a,388781,10497);k0(a,388788,33648);k0(a,388795,9729);k0(a,388802,9987);k0(a,388823,9985);k0(a,388845,9728);k0(a,388853,9986);k0(a,388875,9984);k0(a,454444,32841);k0(a,454457,6409);k0(a,388898,6406);k0(a,388907,6410);k0(a,443041,6407);k0(a,443048,6408);k0(a,388926,34025);k0(a,388950,34026);k0(a,388978,34028);k0(a,389006,34027);k0(a,389040,34029);k0(a,389062,34030);k0(a,389085,33776);k0(a,389117,33777);k0(a,389150,33778);k0(a,389183,33779);k0(a,389216,35840);k0(a,389251,35841);k0(a,389286,35842);k0(a,389322,35843);k0(a,389358,36196);k0(a,389375,37492);k0(a,389399,37493);k0(a,389424,37494);k0(a,389468,37495);k0(a,389513,37496);k0(a,389542,37497);k0(a,389578,37488);k0(a,389600,37489);k0(a,389629,37490);k0(a,389652,37491);k0(a,389682,5120);k0(a,389690,5122);k0(a,389699,5124);k0(a,389706,5126);k0(a,389715,5130);k0(a,389725,5121);k0(a,389742,5123);k0(a,389760,5125);k0(a,389776,772);k0(a,389786,774);k0(a,389796,1);k0(a,389800,773);k0(a,389820,775);k0(a,389840,771);k0(a,389860,769);k0(a,389880,770);k0(a,389890,776);k0(a,389909,768);k0(a,389919,32769);k0(a,389934,32770);k0(a,389959,32771);k0(a,389974,32772);k0(a,389999,0);k0(a,390004,33873);k0(a,411672,33874);k0(a,390015,3156);k0(a,390024,33170);k0(a,390045,3154);k0(a,390062,3152);k0(a,390090,3153);k0(a,390108,3155);k0(a,390128,34031);k0(a,390153,35723);k0(a,390185,6912);k0(a,390191,6913);k0(a,390196,6914);k0(a,390201,1029);k0(a,390206,1028);k0(a,390212,1032);k0(a,390227,35101);k0(a,390238,4353);k0(a,390246,4354);k0(a,390253,4352);f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;h=m+11|0;b[h>>0]=9;c=m;e=390263;g=c+9|0;do{b[c>>0]=b[e>>0]|0;c=c+1|0;e=e+1|0}while((c|0)<(g|0));b[m+9>>0]=0;e=j0(j,i,m)|0;a=f[e>>2]|0;if(!a){a=EBb(52)|0;c=a+16|0;f[c>>2]=f[m>>2];f[c+4>>2]=f[m+4>>2];f[c+8>>2]=f[m+8>>2];f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;c=a+32|0;f[c>>2]=0;f[a+36>>2]=0;f[a+28>>2]=c;c=a+44|0;f[c>>2]=0;f[a+48>>2]=0;f[a+40>>2]=c;c=f[i>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=c;f[e>>2]=a;c=f[f[j>>2]>>2]|0;if(!c)c=a;else{f[j>>2]=c;c=f[e>>2]|0}Xo(f[k>>2]|0,c);f[l>>2]=(f[l>>2]|0)+1}a=a+28|0;if((b[h>>0]|0)<0)GBb(f[m>>2]|0);k0(a,442120,0);k0(a,442150,1);k0(a,442130,2);k0(a,442161,3);k0(a,442141,4);k0(a,442173,5);k0(a,442183,6);k0(a,442194,7);k0(a,442206,8);k0(a,442217,9);k0(a,442228,10);k0(a,442305,21);k0(a,442317,22);k0(a,442329,11);k0(a,442239,12);k0(a,442250,13);k0(a,442261,14);k0(a,442341,23);k0(a,442353,24);k0(a,442365,25);k0(a,390273,15);k0(a,390284,16);k0(a,390295,17);k0(a,442443,18);k0(a,442454,19);k0(a,442465,20);k0(a,442272,26);k0(a,442283,27);k0(a,442294,28);k0(a,442377,29);k0(a,442389,30);k0(a,442401,31);f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;a=EBb(16)|0;f[m>>2]=a;f[m+8>>2]=-2147483632;f[m+4>>2]=13;c=a;e=390306;g=c+13|0;do{b[c>>0]=b[e>>0]|0;c=c+1|0;e=e+1|0}while((c|0)<(g|0));b[a+13>>0]=0;e=j0(j,i,m)|0;a=f[e>>2]|0;if(!a){a=EBb(52)|0;c=a+16|0;f[c>>2]=f[m>>2];f[c+4>>2]=f[m+4>>2];f[c+8>>2]=f[m+8>>2];f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;c=a+32|0;f[c>>2]=0;f[a+36>>2]=0;f[a+28>>2]=c;c=a+44|0;f[c>>2]=0;f[a+48>>2]=0;f[a+40>>2]=c;c=f[i>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=c;f[e>>2]=a;c=f[f[j>>2]>>2]|0;if(!c)c=a;else{f[j>>2]=c;c=f[e>>2]|0}Xo(f[k>>2]|0,c);f[l>>2]=(f[l>>2]|0)+1}a=a+28|0;if((b[m+11>>0]|0)>=0){k0(a,442031,50);k0(a,390320,51);k0(a,437730,52);k0(a,437551,53);k0(a,437774,54);k0(a,390337,0);k0(a,390347,1);k0(a,390356,3);k0(a,390370,2);k0(a,390383,4);k0(a,390396,5);k0(a,390414,6);k0(a,390430,7);k0(a,390439,8);k0(a,390453,9);l0(a,390464,390487,10);l0(a,390506,390534,11);l0(a,390558,390585,12);l0(a,390608,390640,13);k0(a,390668,14);u=n;return}GBb(f[m>>2]|0);k0(a,442031,50);k0(a,390320,51);k0(a,437730,52);k0(a,437551,53);k0(a,437774,54);k0(a,390337,0);k0(a,390347,1);k0(a,390356,3);k0(a,390370,2);k0(a,390383,4);k0(a,390396,5);k0(a,390414,6);k0(a,390430,7);k0(a,390439,8);k0(a,390453,9);l0(a,390464,390487,10);l0(a,390506,390534,11);l0(a,390558,390585,12);l0(a,390608,390640,13);k0(a,390668,14);u=n;return}function f0(a,c){a=a|0;c=c|0;if(!c)return;f0(a,f[c>>2]|0);f0(a,f[c+4>>2]|0);a=c+16|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function g0(a){a=a|0;f[a>>2]=325052;i0(a+96|0,f[a+100>>2]|0);i0(a+84|0,f[a+88>>2]|0);i0(a+72|0,f[a+76>>2]|0);i0(a+60|0,f[a+64>>2]|0);i0(a+48|0,f[a+52>>2]|0);i0(a+36|0,f[a+40>>2]|0);i0(a+24|0,f[a+28>>2]|0);i0(a+12|0,f[a+16>>2]|0);Uua(a);return}function h0(a){a=a|0;f[a>>2]=325052;i0(a+96|0,f[a+100>>2]|0);i0(a+84|0,f[a+88>>2]|0);i0(a+72|0,f[a+76>>2]|0);i0(a+60|0,f[a+64>>2]|0);i0(a+48|0,f[a+52>>2]|0);i0(a+36|0,f[a+40>>2]|0);i0(a+24|0,f[a+28>>2]|0);i0(a+12|0,f[a+16>>2]|0);Uua(a);GBb(a);return}function i0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;i0(a,f[c>>2]|0);i0(a,f[c+4>>2]|0);a=c+16|0;d=c+28|0;e=f[d>>2]|0;if(e|0?(h=e+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(e,1,1);f[d>>2]=0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function j0(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=a+4|0;h=f[e>>2]|0;if(!h){f[c>>2]=e;o=e;return o|0}m=b[d+11>>0]|0;l=m<<24>>24<0;m=l?f[d+4>>2]|0:m&255;l=l?f[d>>2]|0:d;g=a+4|0;e=h;while(1){d=e+16|0;h=b[d+11>>0]|0;a=h<<24>>24<0;h=a?f[e+20>>2]|0:h&255;k=h>>>0>>0;j=k?h:m;i=(j|0)==0;if(!i?(n=a?f[d>>2]|0:d,o=anb(l,n,j)|0,(o|0)!=0):0)if((o|0)<0)a=7;else{d=n;a=11}else if(m>>>0>=h>>>0)if(i)a=12;else{d=a?f[d>>2]|0:d;a=11}else a=7;if((a|0)==7){a=0;d=f[e>>2]|0;if(!d){a=8;break}else{g=e;e=d}}else if((a|0)==11){d=anb(d,l,j)|0;if(d)if((d|0)<0)a=14;else{a=16;break}else a=12}if((a|0)==12)if(k)a=14;else{a=16;break}if((a|0)==14){d=e+4|0;a=f[d>>2]|0;if(!a){a=15;break}else{g=d;e=a}}}if((a|0)==8){f[c>>2]=e;o=e;return o|0}else if((a|0)==15){f[c>>2]=e;o=d;return o|0}else if((a|0)==16){f[c>>2]=e;o=g;return o|0}return 0}function k0(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;m=o+12|0;n=o;l=a+12|0;k=a+16|0;e=f[k>>2]|0;do if(e){g=k;h=e;do{j=(f[h+16>>2]|0)<(d|0);g=j?g:h;h=f[(j?h+4|0:h)>>2]|0}while((h|0)!=0);if((g|0)!=(k|0)?(f[g+16>>2]|0)<=(d|0):0){i=Nu(bsb(Nu(Hua(4)|0,390679,21)|0,d)|0,390701,18)|0;e=f[k>>2]|0;do if(e){h=a+16|0;while(1){g=f[e+16>>2]|0;if((g|0)>(d|0)){g=f[e>>2]|0;if(!g){j=10;break}}else{if((g|0)>=(d|0)){j=14;break}h=e+4|0;g=f[h>>2]|0;if(!g){j=13;break}else e=h}h=e;e=g}if((j|0)==10){g=e;h=e;break}else if((j|0)==13){g=e;break}else if((j|0)==14){g=e;break}}else{g=k;h=k}while(0);e=f[h>>2]|0;if(!e){e=EBb(32)|0;f[e+16>>2]=d;j=e+20|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[l>>2]>>2]|0;if(!g)g=e;else{f[l>>2]=g;g=f[h>>2]|0}Xo(f[a+16>>2]|0,g);j=a+20|0;f[j>>2]=(f[j>>2]|0)+1}g=e+20|0;j=b[g+11>>0]|0;h=j<<24>>24<0;e=Nu(Nu(i,h?f[g>>2]|0:g,h?f[e+24>>2]|0:j&255)|0,390739,17)|0;e=Nu(e,c,Rmb(c)|0)|0;Drb(m,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);j=utb(m,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(m);ksb(e,j)|0;Krb(e)|0;e=f[k>>2]|0}if(e){h=a+16|0;while(1){g=f[e+16>>2]|0;if((g|0)>(d|0)){g=f[e>>2]|0;if(!g){j=26;break}else{h=e;e=g}}else{if((g|0)>=(d|0)){j=30;break}h=e+4|0;g=f[h>>2]|0;if(!g){j=29;break}else e=g}}if((j|0)==26){g=e;h=e;break}else if((j|0)==29){g=e;break}else if((j|0)==30){g=e;break}}else j=32}else j=32;while(0);if((j|0)==32){g=k;h=k}e=f[h>>2]|0;if(!e){e=EBb(32)|0;f[e+16>>2]=d;k=e+20|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[l>>2]>>2]|0;if(!g)g=e;else{f[l>>2]=g;g=f[h>>2]|0}Xo(f[a+16>>2]|0,g);l=a+20|0;f[l>>2]=(f[l>>2]|0)+1}ZBb(e+20|0,c)|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(n);if(g>>>0<11){b[n+11>>0]=g;if(!g)e=n;else{e=n;j=42}}else{j=g+16&-16;e=EBb(j)|0;f[n>>2]=e;f[n+8>>2]=j|-2147483648;f[n+4>>2]=g;j=42}if((j|0)==42)YDb(e|0,c|0,g|0)|0;b[e+g>>0]=0;h=r0(a,m,n)|0;e=f[h>>2]|0;if(!e){e=EBb(32)|0;g=e+16|0;f[g>>2]=f[n>>2];f[g+4>>2]=f[n+4>>2];f[g+8>>2]=f[n+8>>2];f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[e+28>>2]=0;g=f[m>>2]|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[a>>2]>>2]|0;if(!g)g=e;else{f[a>>2]=g;g=f[h>>2]|0}Xo(f[a+4>>2]|0,g);a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}f[e+28>>2]=d;if((b[n+11>>0]|0)>=0){u=o;return}GBb(f[n>>2]|0);u=o;return}function l0(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;n=p+12|0;o=p;m=a+12|0;k=a+16|0;g=f[k>>2]|0;do if(g){h=k;i=g;do{l=(f[i+16>>2]|0)<(e|0);h=l?h:i;i=f[(l?i+4|0:i)>>2]|0}while((i|0)!=0);if((h|0)!=(k|0)?(f[h+16>>2]|0)<=(e|0):0){j=Nu(bsb(Nu(Hua(4)|0,390679,21)|0,e)|0,390701,18)|0;g=f[k>>2]|0;do if(g){i=a+16|0;while(1){h=f[g+16>>2]|0;if((h|0)>(e|0)){h=f[g>>2]|0;if(!h){l=10;break}}else{if((h|0)>=(e|0)){l=14;break}i=g+4|0;h=f[i>>2]|0;if(!h){l=13;break}else g=i}i=g;g=h}if((l|0)==10){h=g;i=g;break}else if((l|0)==13){h=g;break}else if((l|0)==14){h=g;break}}else{h=k;i=k}while(0);g=f[i>>2]|0;if(!g){g=EBb(32)|0;f[g+16>>2]=e;l=g+20|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[i>>2]=g;h=f[f[m>>2]>>2]|0;if(!h)h=g;else{f[m>>2]=h;h=f[i>>2]|0}Xo(f[a+16>>2]|0,h);l=a+20|0;f[l>>2]=(f[l>>2]|0)+1}h=g+20|0;l=b[h+11>>0]|0;i=l<<24>>24<0;g=Nu(Nu(j,i?f[h>>2]|0:h,i?f[g+24>>2]|0:l&255)|0,390720,18)|0;g=Nu(Nu(g,c,Rmb(c)|0)|0,454302,5)|0;g=Nu(g,d,Rmb(d)|0)|0;Drb(n,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);l=utb(n,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(n);ksb(g,l)|0;Krb(g)|0;g=f[k>>2]|0}if(g){i=a+16|0;while(1){h=f[g+16>>2]|0;if((h|0)>(e|0)){h=f[g>>2]|0;if(!h){l=26;break}else{i=g;g=h}}else{if((h|0)>=(e|0)){l=30;break}i=g+4|0;h=f[i>>2]|0;if(!h){l=29;break}else g=h}}if((l|0)==26){h=g;i=g;break}else if((l|0)==29){h=g;break}else if((l|0)==30){h=g;break}}else l=32}else l=32;while(0);if((l|0)==32){h=k;i=k}g=f[i>>2]|0;if(!g){g=EBb(32)|0;f[g+16>>2]=e;k=g+20|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[i>>2]=g;h=f[f[m>>2]>>2]|0;if(!h)h=g;else{f[m>>2]=h;h=f[i>>2]|0}Xo(f[a+16>>2]|0,h);m=a+20|0;f[m>>2]=(f[m>>2]|0)+1}ZBb(g+20|0,d)|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;h=Rmb(d)|0;if(h>>>0>4294967279)MBb(o);if(h>>>0<11){b[o+11>>0]=h;if(!h)g=o;else{g=o;l=42}}else{l=h+16&-16;g=EBb(l)|0;f[o>>2]=g;f[o+8>>2]=l|-2147483648;f[o+4>>2]=h;l=42}if((l|0)==42)YDb(g|0,d|0,h|0)|0;b[g+h>>0]=0;i=r0(a,n,o)|0;g=f[i>>2]|0;if(!g){g=EBb(32)|0;h=g+16|0;f[h>>2]=f[o>>2];f[h+4>>2]=f[o+4>>2];f[h+8>>2]=f[o+8>>2];f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[g+28>>2]=0;h=f[n>>2]|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[i>>2]=g;h=f[f[a>>2]>>2]|0;if(!h)h=g;else{f[a>>2]=h;h=f[i>>2]|0}Xo(f[a+4>>2]|0,h);d=a+8|0;f[d>>2]=(f[d>>2]|0)+1}f[g+28>>2]=e;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;h=Rmb(c)|0;if(h>>>0>4294967279)MBb(o);if(h>>>0<11){b[o+11>>0]=h;if(!h)g=o;else{g=o;l=54}}else{l=h+16&-16;g=EBb(l)|0;f[o>>2]=g;f[o+8>>2]=l|-2147483648;f[o+4>>2]=h;l=54}if((l|0)==54)YDb(g|0,c|0,h|0)|0;b[g+h>>0]=0;i=r0(a,n,o)|0;g=f[i>>2]|0;if(!g){g=EBb(32)|0;h=g+16|0;f[h>>2]=f[o>>2];f[h+4>>2]=f[o+4>>2];f[h+8>>2]=f[o+8>>2];f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[g+28>>2]=0;h=f[n>>2]|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[i>>2]=g;h=f[f[a>>2]>>2]|0;if(!h)h=g;else{f[a>>2]=h;h=f[i>>2]|0}Xo(f[a+4>>2]|0,h);a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}f[g+28>>2]=e;if((b[o+11>>0]|0)>=0){u=p;return}GBb(f[o>>2]|0);u=p;return}function m0(a,c){a=a|0;c=c|0;if(!c)return;m0(a,f[c>>2]|0);m0(a,f[c+4>>2]|0);a=c+16|0;p0(c+40|0,f[c+44>>2]|0);q0(c+28|0,f[c+32>>2]|0);if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function n0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;n0(a,f[c>>2]|0);n0(a,f[c+4>>2]|0);a=c+16|0;d=c+28|0;e=f[d>>2]|0;if(e|0?(h=e+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(e,1,1);f[d>>2]=0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function o0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;o0(a,f[c>>2]|0);o0(a,f[c+4>>2]|0);a=c+16|0;d=c+28|0;e=f[d>>2]|0;if(e|0?(h=e+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(e,1,1);f[d>>2]=0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function p0(a,c){a=a|0;c=c|0;if(!c)return;p0(a,f[c>>2]|0);p0(a,f[c+4>>2]|0);a=c+20|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function q0(a,c){a=a|0;c=c|0;if(!c)return;q0(a,f[c>>2]|0);q0(a,f[c+4>>2]|0);a=c+16|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function r0(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=a+4|0;h=f[e>>2]|0;if(!h){f[c>>2]=e;o=e;return o|0}m=b[d+11>>0]|0;l=m<<24>>24<0;m=l?f[d+4>>2]|0:m&255;l=l?f[d>>2]|0:d;g=a+4|0;e=h;while(1){d=e+16|0;h=b[d+11>>0]|0;a=h<<24>>24<0;h=a?f[e+20>>2]|0:h&255;k=h>>>0>>0;j=k?h:m;i=(j|0)==0;if(!i?(n=a?f[d>>2]|0:d,o=anb(l,n,j)|0,(o|0)!=0):0)if((o|0)<0)a=7;else{d=n;a=11}else if(m>>>0>=h>>>0)if(i)a=12;else{d=a?f[d>>2]|0:d;a=11}else a=7;if((a|0)==7){a=0;d=f[e>>2]|0;if(!d){a=8;break}else{g=e;e=d}}else if((a|0)==11){d=anb(d,l,j)|0;if(d)if((d|0)<0)a=14;else{a=16;break}else a=12}if((a|0)==12)if(k)a=14;else{a=16;break}if((a|0)==14){d=e+4|0;a=f[d>>2]|0;if(!a){a=15;break}else{g=d;e=a}}}if((a|0)==8){f[c>>2]=e;o=e;return o|0}else if((a|0)==15){f[c>>2]=e;o=d;return o|0}else if((a|0)==16){f[c>>2]=e;o=g;return o|0}return 0}function s0(a){a=a|0;f[a>>2]=325072;m0(a+48|0,f[a+52>>2]|0);n0(a+36|0,f[a+40>>2]|0);o0(a+24|0,f[a+28>>2]|0);R3a(a+12|0);Uua(a);return}function t0(a){a=a|0;f[a>>2]=325072;m0(a+48|0,f[a+52>>2]|0);n0(a+36|0,f[a+40>>2]|0);o0(a+24|0,f[a+28>>2]|0);R3a(a+12|0);Uua(a);GBb(a);return}function u0(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=a+4|0;h=f[e>>2]|0;if(!h){f[c>>2]=e;o=e;return o|0}m=b[d+11>>0]|0;l=m<<24>>24<0;m=l?f[d+4>>2]|0:m&255;l=l?f[d>>2]|0:d;g=a+4|0;e=h;while(1){d=e+16|0;h=b[d+11>>0]|0;a=h<<24>>24<0;h=a?f[e+20>>2]|0:h&255;k=h>>>0>>0;j=k?h:m;i=(j|0)==0;if(!i?(n=a?f[d>>2]|0:d,o=anb(l,n,j)|0,(o|0)!=0):0)if((o|0)<0)a=7;else{d=n;a=11}else if(m>>>0>=h>>>0)if(i)a=12;else{d=a?f[d>>2]|0:d;a=11}else a=7;if((a|0)==7){a=0;d=f[e>>2]|0;if(!d){a=8;break}else{g=e;e=d}}else if((a|0)==11){d=anb(d,l,j)|0;if(d)if((d|0)<0)a=14;else{a=16;break}else a=12}if((a|0)==12)if(k)a=14;else{a=16;break}if((a|0)==14){d=e+4|0;a=f[d>>2]|0;if(!a){a=15;break}else{g=d;e=a}}}if((a|0)==8){f[c>>2]=e;o=e;return o|0}else if((a|0)==15){f[c>>2]=e;o=d;return o|0}else if((a|0)==16){f[c>>2]=e;o=g;return o|0}return 0}function v0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=u;u=u+16|0;n=o;m=o+12|0;l=b[a+11>>0]|0;if(!((l<<24>>24<0?f[a+4>>2]|0:l&255)|0)){u=o;return}e=lCb(a,58,0)|0;if((e|0)==-1)d=0;else{i=c+8|0;j=c+4|0;k=c+16|0;l=c+20|0;d=0;do{SBb(n,a,d,e-d|0,m);h=f[i>>2]|0;g=f[j>>2]|0;p=h-g|0;d=(f[l>>2]|0)+(f[k>>2]|0)|0;if((((p|0)==0?0:((p>>2)*341|0)+-1|0)|0)==(d|0)){E_(c);d=(f[k>>2]|0)+(f[l>>2]|0)|0;h=f[i>>2]|0;g=f[j>>2]|0}if((h|0)==(g|0))d=0;else{p=(d>>>0)/341|0;d=(f[g+(p<<2)>>2]|0)+((d-(p*341|0)|0)*12|0)|0};f[d>>2]=f[n>>2];f[d+4>>2]=f[n+4>>2];f[d+8>>2]=f[n+8>>2];f[l>>2]=(f[l>>2]|0)+1;d=e+1|0;e=lCb(a,58,d)|0}while((e|0)!=-1)}SBb(n,a,d,-1,m);l=n+11|0;d=b[l>>0]|0;if((d<<24>>24<0?f[n+4>>2]|0:d&255)|0){i=c+8|0;e=f[i>>2]|0;j=c+4|0;d=f[j>>2]|0;p=e-d|0;h=c+16|0;k=c+20|0;g=(f[k>>2]|0)+(f[h>>2]|0)|0;if((((p|0)==0?0:((p>>2)*341|0)+-1|0)|0)==(g|0)){E_(c);g=(f[h>>2]|0)+(f[k>>2]|0)|0;e=f[i>>2]|0;d=f[j>>2]|0}if((e|0)==(d|0))d=0;else{p=(g>>>0)/341|0;d=(f[d+(p<<2)>>2]|0)+((g-(p*341|0)|0)*12|0)|0}OBb(d,n);f[k>>2]=(f[k>>2]|0)+1;d=b[l>>0]|0}if(d<<24>>24<0)GBb(f[n>>2]|0);u=o;return}function w0(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;h=i;d=sh(392833)|0;if(d|0){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;e=Rmb(d)|0;if(e>>>0>4294967279)MBb(h);if(e>>>0<11){b[h+11>>0]=e;if(!e)c=h;else{c=h;g=7}}else{g=e+16&-16;c=EBb(g)|0;f[h>>2]=c;f[h+8>>2]=g|-2147483648;f[h+4>>2]=e;g=7}if((g|0)==7)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;v0(h,a);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}c=EBb(32)|0;f[h>>2]=c;f[h+8>>2]=-2147483616;f[h+4>>2]=25;d=c;e=392849;g=d+25|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+25>>0]=0;v0(h,a);if((b[h+11>>0]|0)>=0){u=i;return}GBb(f[h>>2]|0);u=i;return}function x0(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=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,v=0,w=0,x=0,y=0;x=u;u=u+112|0;s=x+96|0;w=x+88|0;v=x+80|0;n=x+40|0;o=x+32|0;p=x+72|0;t=x+56|0;q=x+24|0;r=x+16|0;h=x+64|0;j=x+8|0;k=x;l=x+48|0;d=f[c+4>>2]|0;e=f[b+4>>2]|0;g=e;if((d|0)!=(e|0)?(y=f[c>>2]|0,e=f[b>>2]|0,i=e,m=f[a+20>>2]|0,(((y-i>>2)*341|0)+((d-(f[y>>2]|0)|0)/12|0)+((g-(f[e>>2]|0)|0)/-12|0)|0)>>>0>m>>>0):0){h=b;e=f[h>>2]|0;h=f[h+4>>2]|0;b=e;do if(m){d=((h-(f[e>>2]|0)|0)/12|0)+m|0;if((d|0)>0){g=(d>>>0)/341|0;y=b+(g<<2)|0;i=y;g=(f[y>>2]|0)+((d-(g*341|0)|0)*12|0)|0;break}else{g=340-d|0;y=b+(((g|0)/-341|0)<<2)|0;i=y;g=(f[y>>2]|0)+((340-((g|0)%341|0)|0)*12|0)|0;break}}while(0);y=n;f[y>>2]=e;f[y+4>>2]=h;f[o>>2]=i;f[o+4>>2]=g;y=f[a+4>>2]|0;d=f[a+16>>2]|0;b=(d>>>0)/341|0;e=y+(b<<2)|0;if((f[a+8>>2]|0)==(y|0))d=0;else d=(f[e>>2]|0)+((d-(b*341|0)|0)*12|0)|0;f[p>>2]=e;f[p+4>>2]=d;f[v>>2]=f[n>>2];f[v+4>>2]=f[n+4>>2];f[w>>2]=f[o>>2];f[w+4>>2]=f[o+4>>2];f[s>>2]=f[p>>2];f[s+4>>2]=f[p+4>>2];y0(t,v,w,s);f[q>>2]=i;f[q+4>>2]=g;t=c;v=f[t+4>>2]|0;y=r;f[y>>2]=f[t>>2];f[y+4>>2]=v;f[w>>2]=f[q>>2];f[w+4>>2]=f[q+4>>2];f[s>>2]=f[r>>2];f[s+4>>2]=f[r+4>>2];X$(a,w,s,0);u=x;return}y=b;d=f[y+4>>2]|0;b=j;f[b>>2]=f[y>>2];f[b+4>>2]=d;b=c;d=f[b+4>>2]|0;y=k;f[y>>2]=f[b>>2];f[y+4>>2]=d;y=f[a+4>>2]|0;d=f[a+16>>2]|0;b=(d>>>0)/341|0;e=y+(b<<2)|0;if((f[a+8>>2]|0)==(y|0))d=0;else d=(f[e>>2]|0)+((d-(b*341|0)|0)*12|0)|0;f[l>>2]=e;f[l+4>>2]=d;f[v>>2]=f[j>>2];f[v+4>>2]=f[j+4>>2];f[w>>2]=f[k>>2];f[w+4>>2]=f[k+4>>2];f[s>>2]=f[l>>2];f[s+4>>2]=f[l+4>>2];y0(t,v,w,s);f[h>>2]=f[t>>2];f[h+4>>2]=f[t+4>>2];f[s>>2]=f[h>>2];f[s+4>>2]=f[h+4>>2];z0(a,s);u=x;return}function y0(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=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;g=f[c+4>>2]|0;u=b+4|0;i=f[u>>2]|0;h=i;if((g|0)!=(i|0)?(t=f[c>>2]|0,e=f[b>>2]|0,e=((t-e>>2)*341|0)+((g-(f[t>>2]|0)|0)/12|0)+((h-(f[e>>2]|0)|0)/-12|0)|0,(e|0)>0):0){c=d;t=e;e=f[c>>2]|0;c=f[c+4>>2]|0;s=h;h=f[b>>2]|0;g=i;while(1){q=(f[h>>2]|0)+4092|0;r=(q-g|0)/12|0;p=(r|0)>(t|0);q=p?g+(t*12|0)|0:q;r=p?t:r;if((g|0)!=(q|0)){p=q;o=g;n=e;m=c;k=c;while(1){j=((f[n>>2]|0)+4092-m|0)/12|0;l=(p-o|0)/12|0;v=(l|0)>(j|0);l=v?j:l;i=o;o=v?o+(j*12|0)|0:q;if((i|0)!=(o|0)){j=m;while(1){UBb(j,i)|0;i=i+12|0;if((i|0)==(o|0))break;else j=j+12|0}}do if(l){c=((k-(f[n>>2]|0)|0)/12|0)+l|0;if((c|0)>0){j=(c>>>0)/341|0;e=n+(j<<2)|0;j=(f[e>>2]|0)+((c-(j*341|0)|0)*12|0)|0;c=j;k=c;i=e;break}else{j=340-c|0;e=n+(((j|0)/-341|0)<<2)|0;j=(f[e>>2]|0)+((340-((j|0)%341|0)|0)*12|0)|0;c=j;k=c;i=e;break}}else{i=n;j=m}while(0);if((o|0)==(q|0))break;else{n=i;m=j}}}v=d;f[v>>2]=e;f[v+4>>2]=c;t=t-r|0;if(!r)i=s;else{g=((s-(f[h>>2]|0)|0)/12|0)+r|0;if((g|0)>0){v=(g>>>0)/341|0;s=h+(v<<2)|0;f[b>>2]=s;h=s;g=(f[s>>2]|0)+((g-(v*341|0)|0)*12|0)|0}else{g=340-g|0;v=h+(((g|0)/-341|0)<<2)|0;f[b>>2]=v;h=v;g=(f[v>>2]|0)+((340-((g|0)%341|0)|0)*12|0)|0}f[u>>2]=g;i=g}if((t|0)<=0)break;else s=i}v=a;a=v;f[a>>2]=e;v=v+4|0;f[v>>2]=c;return}u=d;d=f[u>>2]|0;u=f[u+4>>2]|0;v=a;a=v;f[a>>2]=d;v=v+4|0;f[v>>2]=u;return}function z0(a,c){a=a|0;c=c|0;var d=0,e=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;v=a+20|0;h=f[v>>2]|0;w=a+16|0;r=f[w>>2]|0;d=r+h|0;t=a+4|0;m=f[t>>2]|0;e=(d>>>0)/341|0;i=m+(e<<2)|0;u=a+8|0;a=f[u>>2]|0;j=(a|0)==(m|0);p=a;g=m;if(j)q=0;else q=(f[i>>2]|0)+((d-(e*341|0)|0)*12|0)|0;n=f[c+4>>2]|0;if((q|0)==(n|0))return;l=f[c>>2]|0;k=l;l=n-(f[l>>2]|0)|0;s=((i-k>>2)*341|0)+((q-(f[i>>2]|0)|0)/12|0)+((l|0)/-12|0)|0;if((s|0)<=0)return;d=(r>>>0)/341|0;i=m+(d<<2)|0;if(j)e=0;else e=(f[i>>2]|0)+((r-(d*341|0)|0)*12|0)|0;d=i;c=e;do if((n|0)!=(e|0)?(o=((k-d>>2)*341|0)+((l|0)/12|0)+((c-(f[i>>2]|0)|0)/-12|0)|0,(o|0)!=0):0){e=((c-(f[i>>2]|0)|0)/12|0)+o|0;if((e|0)>0){c=(e>>>0)/341|0;o=i+(c<<2)|0;d=o;c=(f[o>>2]|0)+((e-(c*341|0)|0)*12|0)|0;break}else{c=340-e|0;o=i+(((c|0)/-341|0)<<2)|0;d=o;c=(f[o>>2]|0)+((340-((c|0)%341|0)|0)*12|0)|0;break}}while(0);e=c;if((q|0)==(e|0)){c=t;e=p;d=r}else{a=c;do{if((b[a+11>>0]|0)<0)GBb(f[e>>2]|0);a=e+12|0;if((a-(f[d>>2]|0)|0)==4092){a=d+4|0;d=a;a=f[a>>2]|0}e=a}while((q|0)!=(e|0));e=f[u>>2]|0;c=t;a=e;h=f[v>>2]|0;g=f[t>>2]|0;d=f[w>>2]|0}t=h-s|0;f[v>>2]=t;s=e-g|0;if((((s|0)==0?0:((s>>2)*341|0)+-1|0)-(t+d)|0)>>>0<=681)return;do{GBb(f[a+-4>>2]|0);a=(f[u>>2]|0)+-4|0;f[u>>2]=a;t=a-(f[c>>2]|0)|0}while((((t|0)==0?0:((t>>2)*341|0)+-1|0)-((f[v>>2]|0)+(f[w>>2]|0))|0)>>>0>681);return}function A0(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;h=u;u=u+16|0;c=h;f[a>>2]=325092;if(qZa(4)|0){g=Nu(Hua(4)|0,393946,21)|0;Drb(c,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(c,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(c);ksb(g,e)|0;Krb(g)|0}g=a+24|0;c=a+32|0;if(f[c>>2]|0?(d=f[a+28>>2]|0,e=(f[g>>2]|0)+4|0,i=f[d>>2]|0,f[i+4>>2]=f[e>>2],f[f[e>>2]>>2]=i,f[c>>2]=0,(d|0)!=(g|0)):0){c=d;do{d=c;c=f[c+4>>2]|0;e=f[d+8>>2]|0;if(e|0?(j=e+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|0)==1):0)Rua(e,1,1);GBb(d)}while((c|0)!=(g|0))}c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);u=h;return}GBb(f[c>>2]|0);Uua(a);u=h;return}function B0(a){a=a|0;A0(a);GBb(a);return}function C0(a,b){a=a|0;b=b|0;return L_(b)|0}function D0(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=u;u=u+64|0;e=k+48|0;g=k+36|0;h=k+24|0;i=k+12|0;j=k;F1(g,d);j$(i,c+12|0,432091);c=g+11|0;l=b[c>>0]|0;n=l<<24>>24<0;m=g+4|0;l=bCb(i,n?f[g>>2]|0:g,n?f[m>>2]|0:l&255)|0;f[h>>2]=f[l>>2];f[h+4>>2]=f[l+4>>2];f[h+8>>2]=f[l+8>>2];f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;l=b[c>>0]|0;l=cCb(h,((l<<24>>24<0?f[m>>2]|0:l&255)|0)==0?505031:432091)|0;f[e>>2]=f[l>>2];f[e+4>>2]=f[l+4>>2];f[e+8>>2]=f[l+8>>2];f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;G1(j,d);l=j+11|0;m=b[l>>0]|0;n=m<<24>>24<0;m=bCb(e,n?f[j>>2]|0:j,n?f[j+4>>2]|0:m&255)|0;f[a>>2]=f[m>>2];f[a+4>>2]=f[m+4>>2];f[a+8>>2]=f[m+8>>2];f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;if((b[l>>0]|0)<0)GBb(f[j>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);if(qZa(5)|0){m=Nu(Hua(5)|0,393909,31)|0;l=b[d+11>>0]|0;n=l<<24>>24<0;l=Nu(Nu(m,n?f[d>>2]|0:d,n?f[d+4>>2]|0:l&255)|0,393941,4)|0;n=b[a+11>>0]|0;m=n<<24>>24<0;n=Nu(l,m?f[a>>2]|0:a,m?f[a+4>>2]|0:n&255)|0;Drb(e,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(e);ksb(n,m)|0;Krb(n)|0}if((b[c>>0]|0)>=0){u=k;return}GBb(f[g>>2]|0);u=k;return}function E0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+16|0;e=g;Fj[f[(f[a>>2]|0)+16>>2]&511](e,a,c);h=e+11|0;d=(cqb((b[h>>0]|0)<0?f[e>>2]|0:e,0)|0)==0;if((b[h>>0]|0)<0)GBb(f[e>>2]|0);if(!d){h=0;u=g;return h|0}e=f[a+28>>2]|0;a=a+24|0;d=e;if((a|0)==(d|0)){h=1;u=g;return h|0}while(1){if(D1(f[e+8>>2]|0,c)|0){d=0;e=8;break}e=f[d+4>>2]|0;d=e;if((a|0)==(d|0)){d=1;e=8;break}}if((e|0)==8){u=g;return d|0}return 0}function F0(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=u;u=u+16|0;h=m+12|0;k=m;Fj[f[(f[c>>2]|0)+16>>2]&511](k,c,d);j=k+11|0;n=b[j>>0]|0;c=n<<24>>24<0;g=k+4|0;do if(((c?f[g>>2]|0:n&255)|0)!=0?(cqb(c?f[k>>2]|0:k,0)|0)==0:0){if(qZa(4)|0){o=Nu(Hua(4)|0,393780,30)|0;c=b[d+11>>0]|0;n=c<<24>>24<0;c=Nu(Nu(o,n?f[d>>2]|0:d,n?f[d+4>>2]|0:c&255)|0,392992,5)|0;n=b[j>>0]|0;d=n<<24>>24<0;n=Nu(c,d?f[k>>2]|0:k,d?f[g>>2]|0:n&255)|0;Drb(h,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);d=utb(h,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(h);ksb(n,d)|0;Krb(n)|0}g=YZ(0)|0;if(e|0?(i=f[e+116>>2]|0,i|0):0){Ij[f[(f[i>>2]|0)+8>>2]&127](a,i,k,e);break}c=f[g+48>>2]|0;if(!c){x1(a,g,k,e);break}else{Ij[f[(f[c>>2]|0)+8>>2]&127](a,c,k,e);break}}else l=11;while(0);if((l|0)==11){f[a>>2]=4;o=a+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0}if((b[j>>0]|0)>=0){u=m;return}GBb(f[k>>2]|0);u=m;return}function G0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=u;u=u+48|0;q=t+24|0;s=t+12|0;o=t;Fj[f[(f[c>>2]|0)+16>>2]&511](s,c,e);r=s+11|0;i=b[r>>0]|0;j=i<<24>>24<0;n=s+4|0;k=j?f[n>>2]|0:i&255;if(!k){f[a>>2]=1;r=a+4|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0}else{j=j?f[s>>2]|0:s;i=j+k|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0){k=5;break}if((i|0)==(j|0)){k=6;break}}if((k|0)==5){i=i-j|0;if((i|0)==-1)k=6;else{SBb(o,s,0,i,q);i=o+11|0;l=i;m=o;i=(b[i>>0]|0)<0?f[o>>2]|0:o}}if((k|0)==6){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;l=o+11|0;m=o;i=o}if((cqb(i,0)|0)!=0?!(P0(o)|0):0){if(qZa(3)|0){g=Nu(Hua(3)|0,392926,34)|0;e=b[l>>0]|0;c=e<<24>>24<0;e=Nu(g,c?f[m>>2]|0:o,c?f[o+4>>2]|0:e&255)|0;Drb(q,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);c=utb(q,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(q);ksb(e,c)|0;Krb(e)|0}f[a>>2]=2;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}else{if(qZa(4)|0){j=Nu(Hua(4)|0,393703,29)|0;i=b[e+11>>0]|0;o=i<<24>>24<0;i=Nu(Nu(j,o?f[e>>2]|0:e,o?f[e+4>>2]|0:i&255)|0,392992,5)|0;o=b[r>>0]|0;j=o<<24>>24<0;o=Nu(i,j?f[s>>2]|0:s,j?f[n>>2]|0:o&255)|0;Drb(q,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(q,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(q);ksb(o,n)|0;Krb(o)|0}j=YZ(0)|0;if((g|0)!=0?(p=f[g+120>>2]|0,(p|0)!=0):0)Kj[f[(f[p>>2]|0)+4>>2]&63](q,p,d,s,g);else k=18;do if((k|0)==18){i=f[j+52>>2]|0;if(!i){w1(q,j,d,s,g);break}else{Kj[f[(f[i>>2]|0)+4>>2]&63](q,i,d,s,g);break}}while(0);i=f[q>>2]|0;if((i|0)==3){R0(c,e)|0;i=f[q>>2]|0}f[a>>2]=i;i=q+4|0;OBb(a+4|0,i);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}if((b[l>>0]|0)<0)GBb(f[m>>2]|0);i=b[r>>0]|0}if(i<<24>>24>=0){u=t;return}GBb(f[s>>2]|0);u=t;return}function H0(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=u;u=u+16|0;i=k+12|0;j=k;Fj[f[(f[c>>2]|0)+16>>2]&511](j,c,d);h=j+11|0;l=b[h>>0]|0;c=l<<24>>24<0;g=j+4|0;if(((c?f[g>>2]|0:l&255)|0)!=0?(cqb(c?f[j>>2]|0:j,0)|0)==0:0){if(qZa(4)|0){m=Nu(Hua(4)|0,393634,31)|0;c=b[d+11>>0]|0;l=c<<24>>24<0;c=Nu(Nu(m,l?f[d>>2]|0:d,l?f[d+4>>2]|0:c&255)|0,392992,5)|0;l=b[h>>0]|0;d=l<<24>>24<0;l=Nu(c,d?f[j>>2]|0:j,d?f[g>>2]|0:l&255)|0;Drb(i,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);d=utb(i,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(i);ksb(l,d)|0;Krb(l)|0}p1(a,YZ(0)|0,j,e,1)}else{f[a>>2]=4;m=a+4|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0}if((b[h>>0]|0)>=0){u=k;return}GBb(f[j>>2]|0);u=k;return}function I0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=u;u=u+48|0;q=t+24|0;s=t+12|0;o=t;Fj[f[(f[c>>2]|0)+16>>2]&511](s,c,e);r=s+11|0;i=b[r>>0]|0;j=i<<24>>24<0;n=s+4|0;k=j?f[n>>2]|0:i&255;if(!k){f[a>>2]=1;r=a+4|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0}else{j=j?f[s>>2]|0:s;i=j+k|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0){k=5;break}if((i|0)==(j|0)){k=6;break}}if((k|0)==5){i=i-j|0;if((i|0)==-1)k=6;else{SBb(o,s,0,i,q);i=o+11|0;l=i;m=o;i=(b[i>>0]|0)<0?f[o>>2]|0:o}}if((k|0)==6){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;l=o+11|0;m=o;i=o}if((cqb(i,0)|0)!=0?!(P0(o)|0):0){if(qZa(3)|0){g=Nu(Hua(3)|0,392926,34)|0;e=b[l>>0]|0;c=e<<24>>24<0;e=Nu(g,c?f[m>>2]|0:o,c?f[o+4>>2]|0:e&255)|0;Drb(q,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);c=utb(q,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(q);ksb(e,c)|0;Krb(e)|0}f[a>>2]=2;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}else{if(qZa(4)|0){j=Nu(Hua(4)|0,393603,30)|0;i=b[e+11>>0]|0;o=i<<24>>24<0;i=Nu(Nu(j,o?f[e>>2]|0:e,o?f[e+4>>2]|0:i&255)|0,392992,5)|0;o=b[r>>0]|0;j=o<<24>>24<0;o=Nu(i,j?f[s>>2]|0:s,j?f[n>>2]|0:o&255)|0;Drb(q,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(q,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(q);ksb(o,n)|0;Krb(o)|0}j=YZ(0)|0;if((g|0)!=0?(p=f[g+120>>2]|0,(p|0)!=0):0)Kj[f[f[p>>2]>>2]&63](q,p,d,s,g);else k=18;do if((k|0)==18){i=f[j+52>>2]|0;if(!i){U0(q,j,d,s,g);break}else{Kj[f[f[i>>2]>>2]&63](q,i,d,s,g);break}}while(0);i=f[q>>2]|0;if((i|0)==3){R0(c,e)|0;i=f[q>>2]|0}f[a>>2]=i;i=q+4|0;OBb(a+4|0,i);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}if((b[l>>0]|0)<0)GBb(f[m>>2]|0);i=b[r>>0]|0}if(i<<24>>24>=0){u=t;return}GBb(f[s>>2]|0);u=t;return}function J0(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=u;u=u+16|0;h=m+12|0;k=m;Fj[f[(f[c>>2]|0)+16>>2]&511](k,c,d);j=k+11|0;n=b[j>>0]|0;c=n<<24>>24<0;g=k+4|0;do if(((c?f[g>>2]|0:n&255)|0)!=0?(cqb(c?f[k>>2]|0:k,0)|0)==0:0){if(qZa(4)|0){o=Nu(Hua(4)|0,393524,36)|0;c=b[d+11>>0]|0;n=c<<24>>24<0;c=Nu(Nu(o,n?f[d>>2]|0:d,n?f[d+4>>2]|0:c&255)|0,392992,5)|0;n=b[j>>0]|0;d=n<<24>>24<0;n=Nu(c,d?f[k>>2]|0:k,d?f[g>>2]|0:n&255)|0;Drb(h,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);d=utb(h,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(h);ksb(n,d)|0;Krb(n)|0}g=YZ(0)|0;if(e|0?(i=f[e+116>>2]|0,i|0):0){Ij[f[(f[i>>2]|0)+12>>2]&127](a,i,k,e);break}c=f[g+48>>2]|0;if(!c){j1(a,g,k,e);break}else{Ij[f[(f[c>>2]|0)+12>>2]&127](a,c,k,e);break}}else l=11;while(0);if((l|0)==11){f[a>>2]=4;o=a+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0}if((b[j>>0]|0)>=0){u=m;return}GBb(f[k>>2]|0);u=m;return}function K0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=u;u=u+48|0;q=t+24|0;s=t+12|0;o=t;Fj[f[(f[c>>2]|0)+16>>2]&511](s,c,e);r=s+11|0;i=b[r>>0]|0;j=i<<24>>24<0;n=s+4|0;k=j?f[n>>2]|0:i&255;if(!k){f[a>>2]=1;r=a+4|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0}else{j=j?f[s>>2]|0:s;i=j+k|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0){k=5;break}if((i|0)==(j|0)){k=6;break}}if((k|0)==5){i=i-j|0;if((i|0)==-1)k=6;else{SBb(o,s,0,i,q);i=o+11|0;l=i;m=o;i=(b[i>>0]|0)<0?f[o>>2]|0:o}}if((k|0)==6){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;l=o+11|0;m=o;i=o}if((cqb(i,0)|0)!=0?!(P0(o)|0):0){if(qZa(3)|0){g=Nu(Hua(3)|0,392926,34)|0;e=b[l>>0]|0;c=e<<24>>24<0;e=Nu(g,c?f[m>>2]|0:o,c?f[o+4>>2]|0:e&255)|0;Drb(q,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);c=utb(q,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(q);ksb(e,c)|0;Krb(e)|0}f[a>>2]=2;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}else{if(qZa(4)|0){j=Nu(Hua(4)|0,393435,35)|0;i=b[e+11>>0]|0;o=i<<24>>24<0;i=Nu(Nu(j,o?f[e>>2]|0:e,o?f[e+4>>2]|0:i&255)|0,392992,5)|0;o=b[r>>0]|0;j=o<<24>>24<0;o=Nu(i,j?f[s>>2]|0:s,j?f[n>>2]|0:o&255)|0;Drb(q,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(q,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(q);ksb(o,n)|0;Krb(o)|0}j=YZ(0)|0;if((g|0)!=0?(p=f[g+120>>2]|0,(p|0)!=0):0)Kj[f[(f[p>>2]|0)+8>>2]&63](q,p,d,s,g);else k=18;do if((k|0)==18){i=f[j+52>>2]|0;if(!i){i1(q,j,d,s,g);break}else{Kj[f[(f[i>>2]|0)+8>>2]&63](q,i,d,s,g);break}}while(0);i=f[q>>2]|0;if((i|0)==3){R0(c,e)|0;i=f[q>>2]|0}f[a>>2]=i;i=q+4|0;OBb(a+4|0,i);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}if((b[l>>0]|0)<0)GBb(f[m>>2]|0);i=b[r>>0]|0}if(i<<24>>24>=0){u=t;return}GBb(f[s>>2]|0);u=t;return}function L0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=u;u=u+16|0;j=l+12|0;k=l;Fj[f[(f[c>>2]|0)+16>>2]&511](k,c,d);c=k+11|0;m=b[c>>0]|0;h=m<<24>>24<0;i=k+4|0;if(((h?f[i>>2]|0:m&255)|0)!=0?(cqb(h?f[k>>2]|0:k,0)|0)==0:0){if(qZa(4)|0){n=Nu(Hua(4)|0,393405,29)|0;h=b[d+11>>0]|0;m=h<<24>>24<0;h=Nu(Nu(n,m?f[d>>2]|0:d,m?f[d+4>>2]|0:h&255)|0,392992,5)|0;m=b[c>>0]|0;d=m<<24>>24<0;m=Nu(h,d?f[k>>2]|0:k,d?f[i>>2]|0:m&255)|0;Drb(j,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);d=utb(j,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(j);ksb(m,d)|0;Krb(m)|0}a_(a,YZ(0)|0,k,e,g)}else{f[a>>2]=4;n=a+4|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0}if((b[c>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function M0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=u;u=u+48|0;q=t+24|0;s=t+12|0;o=t;Fj[f[(f[c>>2]|0)+16>>2]&511](s,c,e);r=s+11|0;i=b[r>>0]|0;j=i<<24>>24<0;n=s+4|0;k=j?f[n>>2]|0:i&255;if(!k){f[a>>2]=1;r=a+4|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0}else{j=j?f[s>>2]|0:s;i=j+k|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0){k=5;break}if((i|0)==(j|0)){k=6;break}}if((k|0)==5){i=i-j|0;if((i|0)==-1)k=6;else{SBb(o,s,0,i,q);i=o+11|0;l=i;m=o;i=(b[i>>0]|0)<0?f[o>>2]|0:o}}if((k|0)==6){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;l=o+11|0;m=o;i=o}if((cqb(i,0)|0)!=0?!(P0(o)|0):0){if(qZa(3)|0){g=Nu(Hua(3)|0,392926,34)|0;e=b[l>>0]|0;c=e<<24>>24<0;e=Nu(g,c?f[m>>2]|0:o,c?f[o+4>>2]|0:e&255)|0;Drb(q,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);c=utb(q,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(q);ksb(e,c)|0;Krb(e)|0}f[a>>2]=2;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}else{if(qZa(4)|0){j=Nu(Hua(4)|0,393329,28)|0;i=b[e+11>>0]|0;o=i<<24>>24<0;i=Nu(Nu(j,o?f[e>>2]|0:e,o?f[e+4>>2]|0:i&255)|0,392992,5)|0;o=b[r>>0]|0;j=o<<24>>24<0;o=Nu(i,j?f[s>>2]|0:s,j?f[n>>2]|0:o&255)|0;Drb(q,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(q,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(q);ksb(o,n)|0;Krb(o)|0}j=YZ(0)|0;if((g|0)!=0?(p=f[g+120>>2]|0,(p|0)!=0):0)Kj[f[(f[p>>2]|0)+12>>2]&63](q,p,d,s,g);else k=18;do if((k|0)==18){i=f[j+52>>2]|0;if(!i){h1(q,j,d,s,g);break}else{Kj[f[(f[i>>2]|0)+12>>2]&63](q,i,d,s,g);break}}while(0);i=f[q>>2]|0;if((i|0)==3){R0(c,e)|0;i=f[q>>2]|0}f[a>>2]=i;i=q+4|0;OBb(a+4|0,i);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}if((b[l>>0]|0)<0)GBb(f[m>>2]|0);i=b[r>>0]|0}if(i<<24>>24>=0){u=t;return}GBb(f[s>>2]|0);u=t;return}function N0(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=u;u=u+16|0;h=m+12|0;k=m;Fj[f[(f[c>>2]|0)+16>>2]&511](k,c,d);j=k+11|0;n=b[j>>0]|0;c=n<<24>>24<0;g=k+4|0;do if(((c?f[g>>2]|0:n&255)|0)!=0?(cqb(c?f[k>>2]|0:k,0)|0)==0:0){if(qZa(4)|0){o=Nu(Hua(4)|0,393260,31)|0;c=b[d+11>>0]|0;n=c<<24>>24<0;c=Nu(Nu(o,n?f[d>>2]|0:d,n?f[d+4>>2]|0:c&255)|0,392992,5)|0;n=b[j>>0]|0;d=n<<24>>24<0;n=Nu(c,d?f[k>>2]|0:k,d?f[g>>2]|0:n&255)|0;Drb(h,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);d=utb(h,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(h);ksb(n,d)|0;Krb(n)|0}g=YZ(0)|0;if(e|0?(i=f[e+116>>2]|0,i|0):0){Ij[f[(f[i>>2]|0)+20>>2]&127](a,i,k,e);break}c=f[g+48>>2]|0;if(!c){b1(a,g,k,e);break}else{Ij[f[(f[c>>2]|0)+20>>2]&127](a,c,k,e);break}}else l=11;while(0);if((l|0)==11){f[a>>2]=4;o=a+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0}if((b[j>>0]|0)>=0){u=m;return}GBb(f[k>>2]|0);u=m;return}function O0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=u;u=u+48|0;q=t+24|0;s=t+12|0;o=t;Fj[f[(f[c>>2]|0)+16>>2]&511](s,c,e);r=s+11|0;i=b[r>>0]|0;j=i<<24>>24<0;n=s+4|0;k=j?f[n>>2]|0:i&255;if(!k){f[a>>2]=1;r=a+4|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0}else{j=j?f[s>>2]|0:s;i=j+k|0;while(1){i=i+-1|0;if(Ymb(387257,h[i>>0]|0,2)|0){k=5;break}if((i|0)==(j|0)){k=6;break}}if((k|0)==5){i=i-j|0;if((i|0)==-1)k=6;else{SBb(o,s,0,i,q);i=o+11|0;l=i;m=o;i=(b[i>>0]|0)<0?f[o>>2]|0:o}}if((k|0)==6){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;l=o+11|0;m=o;i=o}if((cqb(i,0)|0)!=0?!(P0(o)|0):0){if(qZa(3)|0){g=Nu(Hua(3)|0,392926,34)|0;e=b[l>>0]|0;c=e<<24>>24<0;e=Nu(g,c?f[m>>2]|0:o,c?f[o+4>>2]|0:e&255)|0;Drb(q,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);c=utb(q,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(q);ksb(e,c)|0;Krb(e)|0}f[a>>2]=2;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}else{if(qZa(4)|0){j=Nu(Hua(4)|0,392961,30)|0;i=b[e+11>>0]|0;o=i<<24>>24<0;i=Nu(Nu(j,o?f[e>>2]|0:e,o?f[e+4>>2]|0:i&255)|0,392992,5)|0;o=b[r>>0]|0;j=o<<24>>24<0;o=Nu(i,j?f[s>>2]|0:s,j?f[n>>2]|0:o&255)|0;Drb(q,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(q,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(q);ksb(o,n)|0;Krb(o)|0}j=YZ(0)|0;if((g|0)!=0?(p=f[g+120>>2]|0,(p|0)!=0):0)Kj[f[(f[p>>2]|0)+16>>2]&63](q,p,d,s,g);else k=18;do if((k|0)==18){i=f[j+52>>2]|0;if(!i){Q0(q,j,d,s,g);break}else{Kj[f[(f[i>>2]|0)+16>>2]&63](q,i,d,s,g);break}}while(0);i=f[q>>2]|0;if((i|0)==3){R0(c,e)|0;i=f[q>>2]|0}f[a>>2]=i;i=q+4|0;OBb(a+4|0,i);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}if((b[l>>0]|0)<0)GBb(f[m>>2]|0);i=b[r>>0]|0}if(i<<24>>24>=0){u=t;return}GBb(f[s>>2]|0);u=t;return}function P0(a){a=a|0;var c=0,d=0,e=0,g=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;s=u;u=u+128|0;o=s+124|0;m=s+48|0;r=s+24|0;p=s+12|0;n=s;c=a+11|0;l=b[c>>0]|0;d=l<<24>>24<0;e=a+4|0;if(!((d?f[e>>2]|0:l&255)|0)){if(!(qZa(5)|0)){r=0;u=s;return r|0}r=Nu(Hua(5)|0,393138,56)|0;Drb(o,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(o,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(o);ksb(r,q)|0;Krb(r)|0;r=0;u=s;return r|0}if(!(Qob(d?f[a>>2]|0:a,m)|0))if((f[m+12>>2]&61440|0)!=16384)if(qZa(5)|0){p=Nu(Hua(5)|0,393195,24)|0;r=b[c>>0]|0;q=r<<24>>24<0;a=Nu(Nu(p,q?f[a>>2]|0:a,q?f[e>>2]|0:r&255)|0,393220,39)|0;Drb(o,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);r=utb(o,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(o);ksb(a,r)|0;Krb(a)|0;a=0}else a=0;else a=1;else{f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[r+12>>2]=0;f[r+16>>2]=0;f[r+20>>2]=0;OBb(p,a);e=p+11|0;l=b[e>>0]|0;a=l<<24>>24<0;g=p+4|0;a:do if(!((a?f[g>>2]|0:l&255)|0))q=33;else{l=r+8|0;j=r+4|0;k=r+16|0;i=r+20|0;b:while(1){if((Qob(a?f[p>>2]|0:p,m)|0)<0){d=Mmb()|0;switch(f[d>>2]|0){case 20:case 2:break;default:break b}d=f[l>>2]|0;c=f[j>>2]|0;t=d-c|0;a=(f[i>>2]|0)+(f[k>>2]|0)|0;if((((t|0)==0?0:((t>>2)*341|0)+-1|0)|0)==(a|0)){E_(r);a=(f[k>>2]|0)+(f[i>>2]|0)|0;d=f[l>>2]|0;c=f[j>>2]|0}if((d|0)==(c|0))a=0;else{t=(a>>>0)/341|0;a=(f[c+(t<<2)>>2]|0)+((a-(t*341|0)|0)*12|0)|0}OBb(a,p);f[i>>2]=(f[i>>2]|0)+1}a=b[e>>0]|0;c=a<<24>>24<0;d=c?f[p>>2]|0:p;c=c?f[g>>2]|0:a&255;c:do if(c){c=d+c|0;while(1){c=c+-1|0;if(Ymb(387257,h[c>>0]|0,2)|0)break;if((c|0)==(d|0)){q=24;break c}}c=c-d|0;if((c|0)!=-1){SBb(n,p,0,c,o);a=b[e>>0]|0}else q=24}else q=24;while(0);if((q|0)==24){q=0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0}if(a<<24>>24<0){b[f[p>>2]>>0]=0;f[g>>2]=0}else{b[p>>0]=0;b[e>>0]=0}YBb(p,0);f[p>>2]=f[n>>2];f[p+4>>2]=f[n+4>>2];f[p+8>>2]=f[n+8>>2];t=b[e>>0]|0;a=t<<24>>24<0;if(!((a?f[g>>2]|0:t&255)|0)){q=33;break a}}if(qZa(5)|0){n=Nu(Hua(5)|0,393195,24)|0;t=Mmb()|0;t=nnb(f[t>>2]|0)|0;t=Nu(n,t,Rmb(t)|0)|0;Drb(o,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);n=utb(o,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(o);ksb(t,n)|0;Krb(t)|0}if((b[e>>0]|0)<0)GBb(f[p>>2]|0);a=0;o=j;n=k}while(0);d:do if((q|0)==33){if(a)GBb(f[p>>2]|0);g=r+20|0;a=f[g>>2]|0;if(!a){a=1;o=r+4|0;n=r+16|0;l=r+8|0;break}k=r+16|0;j=r+4|0;i=p+11|0;l=r+8|0;while(1){n=a+-1+(f[k>>2]|0)|0;t=(n>>>0)/341|0;OBb(p,(f[(f[j>>2]|0)+(t<<2)>>2]|0)+((n-(t*341|0)|0)*12|0)|0);if((Pob((b[i>>0]|0)<0?f[p>>2]|0:p,493)|0)<0?cqb((b[i>>0]|0)<0?f[p>>2]|0:p,0)|0:0)break;a=(f[g>>2]|0)+-1|0;d=a+(f[k>>2]|0)|0;e=f[j>>2]|0;c=(d>>>0)/341|0;c=(f[e+(c<<2)>>2]|0)+((d-(c*341|0)|0)*12|0)|0;if((b[c+11>>0]|0)<0){GBb(f[c>>2]|0);d=(f[g>>2]|0)+-1|0;a=d;d=(f[k>>2]|0)+d|0;c=f[j>>2]|0}else c=e;f[g>>2]=a;a=f[l>>2]|0;t=a-c|0;if((((t|0)==0?0:((t>>2)*341|0)+-1|0)-d|0)>>>0>681){GBb(f[a+-4>>2]|0);f[l>>2]=(f[l>>2]|0)+-4}if((b[i>>0]|0)<0)GBb(f[p>>2]|0);a=f[g>>2]|0;if(!a){a=1;o=j;n=k;break d}}if(qZa(5)|0){n=Nu(Hua(5)|0,393195,24)|0;t=Mmb()|0;t=nnb(f[t>>2]|0)|0;t=Nu(n,t,Rmb(t)|0)|0;Drb(o,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);n=utb(o,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(o);ksb(t,n)|0;Krb(t)|0;if((b[i>>0]|0)<0)GBb(f[p>>2]|0);a=0;o=j;n=k;break}else{if((b[i>>0]|0)<0)GBb(f[p>>2]|0);a=0;o=j;n=k;break}}while(0);k=f[o>>2]|0;c=f[n>>2]|0;d=(c>>>0)/341|0;g=k+(d<<2)|0;i=f[l>>2]|0;if((i|0)==(k|0)){c=0;j=0;m=r+20|0}else{m=r+20|0;t=(f[m>>2]|0)+c|0;j=(t>>>0)/341|0;c=(f[g>>2]|0)+((c-(d*341|0)|0)*12|0)|0;j=(f[k+(j<<2)>>2]|0)+((t-(j*341|0)|0)*12|0)|0}e=c;if((j|0)==(e|0)){j=l;d=k;g=i;e=i;i=k;c=k}else{d=g;do{if((b[c+11>>0]|0)<0)GBb(f[e>>2]|0);c=e+12|0;if((c-(f[d>>2]|0)|0)==4092){c=d+4|0;d=c;c=f[c>>2]|0}e=c}while((j|0)!=(e|0));e=f[l>>2]|0;c=f[o>>2]|0;j=l;d=c;g=e;i=c}f[m>>2]=0;d=g-d>>2;if(d>>>0>2)do{GBb(f[c>>2]|0);c=(f[o>>2]|0)+4|0;f[o>>2]=c;e=f[j>>2]|0;d=e-c>>2}while(d>>>0>2);else c=i;switch(d|0){case 1:{d=170;q=73;break}case 2:{d=341;q=73;break}default:{}}if((q|0)==73)f[n>>2]=d;if((c|0)!=(e|0)){do{GBb(f[c>>2]|0);c=c+4|0}while((c|0)!=(e|0));c=f[o>>2]|0;d=f[l>>2]|0;if((d|0)!=(c|0))f[l>>2]=d+(~((d+-4-c|0)>>>2)<<2)}c=f[r>>2]|0;if(c|0)GBb(c)}t=a;u=s;return t|0}function Q0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=u;u=u+80|0;w=B;z=B+60|0;x=B+40|0;y=B+28|0;s=B+16|0;f[z>>2]=0;A=z+4|0;f[A>>2]=0;o=z+8|0;f[o>>2]=0;n=c+60|0;f[x>>2]=c+72;p=x+4|0;f[p>>2]=n;f[x+12>>2]=0;f[x+16>>2]=0;t=x+12|0;f[x+8>>2]=t;v=a+4|0;q=v+11|0;while(1){_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;a:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break a;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break a;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=28;break}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;b:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break b;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break b;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+240>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x);n=f[p>>2]|0}if((r|0)==28){j=f[z>>2]|0;h=f[A>>2]|0;if((h|0)!=(j|0))do{i=h+-12|0;h=h+-16|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}while((h|0)!=(j|0));f[A>>2]=j;I_(w,e);J_(y,c,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c:do if((K_(c,y)|0)==2)while(1){n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;d:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break d;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break d;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=63;break c}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;e:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break e;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break e;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+240>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break c;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x)}else r=63;while(0);do if((r|0)==63){h=f[z>>2]|0;i=f[A>>2]|0;if((h|0)!=(i|0)){X0(h,i,w);C=f[A>>2]|0;f[w>>2]=f[C+-16>>2];h=w+4|0;OBb(h,C+-12|0);f[a>>2]=f[w>>2];OBb(v,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}CCb(s,393090,e);C=cCb(s,386998)|0;f[w>>2]=f[C>>2];f[w+4>>2]=f[C+4>>2];f[w+8>>2]=f[C+8>>2];f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;f[a>>2]=2;OBb(v,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0)}while(0);if((b[y+11>>0]|0)<0)GBb(f[y>>2]|0)}P_(x+8|0,f[t>>2]|0);j=f[z>>2]|0;if(!j){u=B;return}h=f[A>>2]|0;if((h|0)==(j|0))h=j;else{do{i=h+-12|0;h=h+-16|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}while((h|0)!=(j|0));h=f[z>>2]|0}f[A>>2]=j;GBb(h);u=B;return}function R0(a,c){a=a|0;c=c|0;var d=0,e=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,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=u;u=u+48|0;w=B+24|0;x=B+12|0;y=B;d=f[a+28>>2]|0;z=a+24|0;e=d;if((z|0)==(e|0)){u=B;return 0}A=c+11|0;n=c+4|0;o=w+11|0;p=x+11|0;q=x+4|0;r=x+11|0;s=x+4|0;t=x+11|0;v=x+4|0;do{m=f[d+8>>2]|0;i=m+32|0;j=i+11|0;d=b[j>>0]|0;k=d<<24>>24<0;if(k)g=f[m+36>>2]|0;else g=d&255;l=b[A>>0]|0;if(g>>>0<(l<<24>>24<0?f[n>>2]|0:l&255)>>>0){if(k){l=m+36|0;h=f[l>>2]|0;d=d&255;g=h}else{h=d&255;g=m+36|0;d=h;l=g;g=f[g>>2]|0}if(!(nCb(c,0,h,k?f[i>>2]|0:i,k?g:d)|0)){d=b[j>>0]|0;g=d<<24>>24<0;if(g)h=f[l>>2]|0;else h=d&255;if(!h)d=0;else{if(g)d=f[l>>2]|0;else d=d&255;d=d+1|0}SBb(w,c,d,-1,x);d=f[m+44>>2]|0;j=m+48|0;if((d|0)!=(f[j>>2]|0)){i=d;do{h=f[i>>2]|0;g=h+44|0;d=f[g>>2]|0;if(d|0?S0(d,w)|0:0){OBb(x,(f[g>>2]|0)+12|0);if(L_(x)|0){Fj[f[(f[a>>2]|0)+16>>2]&511](y,a,x);if((b[p>>0]|0)<0){b[f[x>>2]>>0]=0;f[q>>2]=0}else{b[x>>0]=0;b[p>>0]=0}YBb(x,0);f[x>>2]=f[y>>2];f[x+4>>2]=f[y+4>>2];f[x+8>>2]=f[y+8>>2]}d=b[p>>0]|0;if((d<<24>>24<0?f[q>>2]|0:d&255)|0){m=f[g>>2]|0;d=(YZ(0)|0)+160|0;T0(m,x,f[d>>2]|0)|0;d=b[p>>0]|0}if(d<<24>>24<0)GBb(f[x>>2]|0)}g=h+48|0;d=f[g>>2]|0;if(d|0?S0(d,w)|0:0){OBb(x,(f[g>>2]|0)+12|0);if(L_(x)|0){Fj[f[(f[a>>2]|0)+16>>2]&511](y,a,x);if((b[r>>0]|0)<0){b[f[x>>2]>>0]=0;f[s>>2]=0}else{b[x>>0]=0;b[r>>0]=0}YBb(x,0);f[x>>2]=f[y>>2];f[x+4>>2]=f[y+4>>2];f[x+8>>2]=f[y+8>>2]}d=b[r>>0]|0;if((d<<24>>24<0?f[s>>2]|0:d&255)|0){m=f[g>>2]|0;d=(YZ(0)|0)+160|0;T0(m,x,f[d>>2]|0)|0;d=b[r>>0]|0}if(d<<24>>24<0)GBb(f[x>>2]|0)}g=h+52|0;d=f[g>>2]|0;if(d|0?S0(d,w)|0:0){OBb(x,(f[g>>2]|0)+12|0);if(L_(x)|0){Fj[f[(f[a>>2]|0)+16>>2]&511](y,a,x);if((b[t>>0]|0)<0){b[f[x>>2]>>0]=0;f[v>>2]=0}else{b[x>>0]=0;b[t>>0]=0}YBb(x,0);f[x>>2]=f[y>>2];f[x+4>>2]=f[y+4>>2];f[x+8>>2]=f[y+8>>2]}d=b[t>>0]|0;if((d<<24>>24<0?f[v>>2]|0:d&255)|0){m=f[g>>2]|0;d=(YZ(0)|0)+160|0;T0(m,x,f[d>>2]|0)|0;d=b[t>>0]|0}if(d<<24>>24<0)GBb(f[x>>2]|0)}i=i+4|0}while((i|0)!=(f[j>>2]|0))}if((b[o>>0]|0)<0)GBb(f[w>>2]|0)}}d=f[e+4>>2]|0;e=d}while((z|0)!=(e|0));u=B;return 0}function S0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;e=a+32|0;g=Y_(e,c)|0;if((g|0)==(a+36|0)){g=0;return g|0}c=f[g+4>>2]|0;if(!c){d=g+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(g|0))do{h=f[d>>2]|0;d=h+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(h|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((f[e>>2]|0)==(g|0))f[e>>2]=c;c=a+40|0;f[c>>2]=(f[c>>2]|0)+-1;Zq(f[a+36>>2]|0,g);c=g+16|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);GBb(g);h=1;return h|0}function T0(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+48|0;h=l+32|0;k=l+16|0;i=l;j=YZ(0)|0;if((d|0)!=0?(e=f[d+120>>2]|0,(e|0)!=0):0)Kj[f[f[e>>2]>>2]&63](k,e,a,c,d);else g=4;do if((g|0)==4){e=f[j+52>>2]|0;if(!e){U0(k,j,a,c,d);break}else{Kj[f[f[e>>2]>>2]&63](k,e,a,c,d);break}}while(0);if(((f[k>>2]|0)!=3?qZa(2)|0:0)?(d=Nu(Hua(2)|0,392998,19)|0,a=b[c+11>>0]|0,j=a<<24>>24<0,a=Nu(Nu(d,j?f[c>>2]|0:c,j?f[c+4>>2]|0:a&255)|0,438125,2)|0,V0(i,k),j=i+11|0,d=b[j>>0]|0,c=d<<24>>24<0,d=Nu(a,c?f[i>>2]|0:i,c?f[i+4>>2]|0:d&255)|0,Drb(h,d+(f[(f[d>>2]|0)+-12>>2]|0)|0),c=utb(h,504576)|0,c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0,vtb(h),ksb(d,c)|0,Krb(d)|0,(b[j>>0]|0)<0):0)GBb(f[i>>2]|0);g=(f[k>>2]|0)==3;e=k+4|0;if((b[e+11>>0]|0)>=0){u=l;return g|0}GBb(f[e>>2]|0);u=l;return g|0}function U0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=u;u=u+80|0;w=B;z=B+60|0;x=B+40|0;y=B+28|0;s=B+16|0;f[z>>2]=0;A=z+4|0;f[A>>2]=0;o=z+8|0;f[o>>2]=0;n=c+60|0;f[x>>2]=c+72;p=x+4|0;f[p>>2]=n;f[x+12>>2]=0;f[x+16>>2]=0;t=x+12|0;f[x+8>>2]=t;v=a+4|0;q=v+11|0;while(1){_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;a:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break a;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break a;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=28;break}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;b:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break b;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break b;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+224>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x);n=f[p>>2]|0}if((r|0)==28){I_(w,e);J_(y,c,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c:do if((K_(c,y)|0)==2)while(1){n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;d:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break d;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break d;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=58;break c}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;e:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break e;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break e;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+224>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break c;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x)}else r=58;while(0);do if((r|0)==58){h=f[z>>2]|0;i=f[A>>2]|0;if((h|0)!=(i|0)){X0(h,i,w);C=f[A>>2]|0;f[w>>2]=f[C+-16>>2];h=w+4|0;OBb(h,C+-12|0);f[a>>2]=f[w>>2];OBb(v,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}CCb(s,393041,e);C=cCb(s,386998)|0;f[w>>2]=f[C>>2];f[w+4>>2]=f[C+4>>2];f[w+8>>2]=f[C+8>>2];f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;f[a>>2]=2;OBb(v,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0)}while(0);if((b[y+11>>0]|0)<0)GBb(f[y>>2]|0)}P_(x+8|0,f[t>>2]|0);j=f[z>>2]|0;if(!j){u=B;return}h=f[A>>2]|0;if((h|0)==(j|0))h=j;else{do{i=h+-12|0;h=h+-16|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}while((h|0)!=(j|0));h=f[z>>2]|0}f[A>>2]=j;GBb(h);u=B;return}function V0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+32|0;e=i+12|0;g=i;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;switch(f[c>>2]|0){case 0:{cCb(a,386501)|0;break}case 1:{cCb(a,386517)|0;break}case 2:{cCb(a,393018)|0;break}case 3:{cCb(a,393030)|0;break}default:{}}h=c+4|0;d=b[h+11>>0]|0;if(d<<24>>24<0)c=f[c+8>>2]|0;else c=d&255;if(!c){u=i;return}CCb(g,386638,h);h=cCb(g,409404)|0;f[e>>2]=f[h>>2];f[e+4>>2]=f[h+4>>2];f[e+8>>2]=f[h+8>>2];f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;h=e+11|0;d=b[h>>0]|0;c=d<<24>>24<0;bCb(a,c?f[e>>2]|0:e,c?f[e+4>>2]|0:d&255)|0;if((b[h>>0]|0)<0)GBb(f[e>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);u=i;return}function W0(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=a+4|0;d=f[a>>2]|0;h=(f[l>>2]|0)-d>>4;e=h+1|0;if(e>>>0>268435455)DCb(a);m=a+8|0;k=(f[m>>2]|0)-d|0;d=k>>3;d=k>>4>>>0<134217727?(d>>>0>>0?e:d):268435455;do if(d)if(d>>>0>268435455){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(d<<4)|0;break}else g=0;while(0);i=g+(h<<4)|0;e=i;k=g+(d<<4)|0;f[i>>2]=f[c>>2];OBb(g+(h<<4)+4|0,c+4|0);j=i+16|0;h=f[a>>2]|0;d=f[l>>2]|0;if((d|0)==(h|0)){c=h;d=h}else{g=i;while(1){i=d;d=d+-16|0;f[g+-16>>2]=f[d>>2];OBb(g+-12|0,i+-12|0);g=e+-16|0;if((d|0)==(h|0))break;else e=g}e=g;c=f[a>>2]|0;d=f[l>>2]|0}f[a>>2]=e;f[l>>2]=j;f[m>>2]=k;g=c;if((d|0)!=(g|0))do{e=d+-12|0;d=d+-16|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((d|0)!=(g|0));if(!c)return;GBb(c);return}function X0(a,c,d){a=a|0;c=c|0;d=d|0;var e=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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=u;u=u+16|0;D=E;x=D+4|0;y=x+11|0;z=D+4|0;A=D+4|0;B=A+11|0;C=D+4|0;r=z+11|0;s=D+4|0;t=C+11|0;v=s+11|0;q=c;a:while(1){l=q;o=q+-16|0;m=q+-32|0;n=q;p=a;b:while(1){a=l-p|0;c=a>>4;switch(c|0){case 2:{h=4;break a}case 3:{h=12;break a}case 4:{h=13;break a}case 5:{h=14;break a}case 1:case 0:{h=82;break a}default:{}}if((a|0)<112){h=16;break a}h=p+(((c|0)/2|0)<<4)|0;if((a|0)>15984){a=(c|0)/4|0;a=_0(p,p+(a<<4)|0,h,h+(a<<4)|0,o,d)|0}else a=Y0(p,h,o,d)|0;i=f[p>>2]|0;g=f[h>>2]|0;if((i|0)<(g|0))e=o;else{if((p|0)==(m|0)){h=24;break}c=o;e=m;while(1){if((f[e>>2]|0)<(g|0))break;c=e+-16|0;if((p|0)==(c|0)){h=24;break b}else{k=e;e=c;c=k}}f[D>>2]=i;k=p+4|0;OBb(C,k);f[p>>2]=f[e>>2];c=c+-12|0;UBb(k,c)|0;if((D|0)!=(e|0)){f[e>>2]=f[D>>2];UBb(c,C)|0}if((b[t>>0]|0)<0)GBb(f[C>>2]|0);a=a+1|0}c=p+16|0;c:do if(c>>>0>>0){k=h;while(1){i=f[k>>2]|0;while(1){g=f[c>>2]|0;j=c+16|0;if((g|0)<(i|0))c=j;else break}while(1){h=e+-16|0;if((f[h>>2]|0)<(i|0))break;else e=h}if(c>>>0>h>>>0){g=k;break c}f[D>>2]=g;g=c+4|0;OBb(x,g);if((c|0)!=(h|0)){f[c>>2]=f[h>>2];UBb(g,e+-12|0)|0}if((D|0)!=(h|0)){f[h>>2]=f[D>>2];UBb(e+-12|0,x)|0}if((b[y>>0]|0)<0)GBb(f[x>>2]|0);k=(k|0)==(c|0)?h:k;e=h;c=j;a=a+1|0}}else g=h;while(0);if((c|0)!=(g|0)?(w=f[c>>2]|0,(f[g>>2]|0)<(w|0)):0){f[D>>2]=w;k=c+4|0;OBb(z,k);f[c>>2]=f[g>>2];e=g+4|0;UBb(k,e)|0;if((D|0)!=(g|0)){f[g>>2]=f[D>>2];UBb(e,z)|0}if((b[r>>0]|0)<0)GBb(f[z>>2]|0);a=a+1|0}if(!a){g=a1(p,c,d)|0;a=c+16|0;if(a1(a,q,d)|0){h=75;break}if(g){e=2;c=q;h=80;break}}k=c;if((k-p|0)>=(n-k|0)){h=79;break}X0(p,c,d);p=c+16|0}d:do if((h|0)==24){a=p+16|0;if((i|0)>=(f[o>>2]|0)){if((a|0)==(o|0)){h=82;break a}while(1){c=f[a>>2]|0;if((i|0)<(c|0))break;a=a+16|0;if((a|0)==(o|0)){h=82;break a}}f[D>>2]=c;n=a+4|0;OBb(s,n);f[a>>2]=f[o>>2];c=q+-12|0;UBb(n,c)|0;if((D|0)!=(o|0)){f[o>>2]=f[D>>2];UBb(c,s)|0}if((b[v>>0]|0)<0)GBb(f[s>>2]|0);a=a+16|0}if((a|0)==(o|0)){h=82;break a}c=o;while(1){h=f[p>>2]|0;while(1){e=f[a>>2]|0;i=a+16|0;if((h|0)<(e|0))break;else a=i}while(1){g=c+-16|0;if((h|0)<(f[g>>2]|0))c=g;else break}if(a>>>0>=g>>>0){e=4;c=q;h=80;break d}f[D>>2]=e;o=a+4|0;OBb(A,o);f[a>>2]=f[g>>2];a=c+-12|0;UBb(o,a)|0;if((D|0)!=(g|0)){f[g>>2]=f[D>>2];UBb(a,A)|0}if((b[B>>0]|0)<0)GBb(f[A>>2]|0);c=g;a=i}}else if((h|0)==75){e=g?1:2;a=p;c=g?q:c;h=80}else if((h|0)==79){h=0;X0(c+16|0,q,d);a=p}while(0);if((h|0)==80)switch(e&7){case 2:case 4:case 0:break;default:{h=82;break a}}q=c}if((h|0)==4){e=q+-16|0;a=f[p>>2]|0;if((f[e>>2]|0)>=(a|0)){u=E;return}f[D>>2]=a;a=D+4|0;c=p+4|0;OBb(a,c);if((p|0)!=(e|0)){f[p>>2]=f[e>>2];UBb(c,q+-12|0)|0}if((D|0)!=(e|0)){f[e>>2]=f[D>>2];UBb(q+-12|0,a)|0}if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);u=E;return}else if((h|0)==12){Y0(p,p+16|0,q+-16|0,d)|0;u=E;return}else if((h|0)==13){Z0(p,p+16|0,p+32|0,q+-16|0,d)|0;u=E;return}else if((h|0)==14){_0(p,p+16|0,p+32|0,p+48|0,q+-16|0,d)|0;u=E;return}else if((h|0)==16){$0(p,q,d);u=E;return}else if((h|0)==82){u=E;return}}function Y0(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0;j=u;u=u+16|0;i=j;e=f[c>>2]|0;g=f[a>>2]|0;h=(f[d>>2]|0)<(e|0);if((e|0)>=(g|0)){if(!h){i=0;u=j;return i|0}f[i>>2]=e;e=i+4|0;h=c+4|0;OBb(e,h);if((c|0)!=(d|0)){f[c>>2]=f[d>>2];UBb(h,d+4|0)|0}if((i|0)!=(d|0)){f[d>>2]=f[i>>2];UBb(d+4|0,e)|0}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);e=f[a>>2]|0;if((f[c>>2]|0)>=(e|0)){i=1;u=j;return i|0}f[i>>2]=e;e=i+4|0;g=a+4|0;OBb(e,g);if((a|0)!=(c|0)){f[a>>2]=f[c>>2];UBb(g,h)|0}if((i|0)!=(c|0)){f[c>>2]=f[i>>2];UBb(h,e)|0}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);i=2;u=j;return i|0}if(h){f[i>>2]=g;e=i+4|0;g=a+4|0;OBb(e,g);if((a|0)!=(d|0)){f[a>>2]=f[d>>2];UBb(g,d+4|0)|0}if((i|0)!=(d|0)){f[d>>2]=f[i>>2];UBb(d+4|0,e)|0}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);i=1;u=j;return i|0}f[i>>2]=g;e=i+4|0;g=a+4|0;OBb(e,g);if((a|0)!=(c|0)){f[a>>2]=f[c>>2];UBb(g,c+4|0)|0}if((i|0)!=(c|0)){f[c>>2]=f[i>>2];UBb(c+4|0,e)|0}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);e=f[c>>2]|0;if((f[d>>2]|0)>=(e|0)){i=1;u=j;return i|0}f[i>>2]=e;e=i+4|0;g=c+4|0;OBb(e,g);if((c|0)!=(d|0)){f[c>>2]=f[d>>2];UBb(g,d+4|0)|0}if((i|0)!=(d|0)){f[d>>2]=f[i>>2];UBb(d+4|0,e)|0}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);i=2;u=j;return i|0}function Z0(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=u;u=u+16|0;k=l;j=Y0(a,c,d,g)|0;g=f[d>>2]|0;if((f[e>>2]|0)>=(g|0)){k=j;u=l;return k|0}f[k>>2]=g;g=k+4|0;h=d+4|0;OBb(g,h);if((d|0)!=(e|0)){f[d>>2]=f[e>>2];UBb(h,e+4|0)|0}if((k|0)!=(e|0)){f[e>>2]=f[k>>2];UBb(e+4|0,g)|0}if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=f[c>>2]|0;if((f[d>>2]|0)>=(g|0)){k=j+1|0;u=l;return k|0}f[k>>2]=g;g=k+4|0;i=c+4|0;OBb(g,i);if((c|0)!=(d|0)){f[c>>2]=f[d>>2];UBb(i,h)|0}if((k|0)!=(d|0)){f[d>>2]=f[k>>2];UBb(h,g)|0}if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=f[a>>2]|0;if((f[c>>2]|0)>=(g|0)){k=j+2|0;u=l;return k|0}f[k>>2]=g;g=k+4|0;e=a+4|0;OBb(g,e);if((a|0)!=(c|0)){f[a>>2]=f[c>>2];UBb(e,i)|0}if((k|0)!=(c|0)){f[c>>2]=f[k>>2];UBb(i,g)|0}if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);k=j+3|0;u=l;return k|0}function _0(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;l=u;u=u+16|0;k=l;j=Z0(a,c,d,e,h)|0;h=f[e>>2]|0;if((f[g>>2]|0)>=(h|0)){k=j;u=l;return k|0}f[k>>2]=h;h=k+4|0;i=e+4|0;OBb(h,i);if((e|0)!=(g|0)){f[e>>2]=f[g>>2];UBb(i,g+4|0)|0}if((k|0)!=(g|0)){f[g>>2]=f[k>>2];UBb(g+4|0,h)|0}if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);h=f[d>>2]|0;if((f[e>>2]|0)>=(h|0)){k=j+1|0;u=l;return k|0}f[k>>2]=h;h=k+4|0;g=d+4|0;OBb(h,g);if((d|0)!=(e|0)){f[d>>2]=f[e>>2];UBb(g,i)|0}if((k|0)!=(e|0)){f[e>>2]=f[k>>2];UBb(i,h)|0}if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);h=f[c>>2]|0;if((f[d>>2]|0)>=(h|0)){k=j+2|0;u=l;return k|0}f[k>>2]=h;h=k+4|0;i=c+4|0;OBb(h,i);if((c|0)!=(d|0)){f[c>>2]=f[d>>2];UBb(i,g)|0}if((k|0)!=(d|0)){f[d>>2]=f[k>>2];UBb(g,h)|0}if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);h=f[a>>2]|0;if((f[c>>2]|0)>=(h|0)){k=j+3|0;u=l;return k|0}f[k>>2]=h;h=k+4|0;g=a+4|0;OBb(h,g);if((a|0)!=(c|0)){f[a>>2]=f[c>>2];UBb(g,i)|0}if((k|0)!=(c|0)){f[c>>2]=f[k>>2];UBb(i,h)|0}if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);k=j+4|0;u=l;return k|0}function $0(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=u;u=u+16|0;j=k;e=a+32|0;Y0(a,a+16|0,e,d)|0;d=a+48|0;if((d|0)==(c|0)){u=k;return}h=j+4|0;i=h+11|0;g=d;d=e;while(1){e=f[g>>2]|0;if((e|0)<(f[d>>2]|0)){f[j>>2]=e;OBb(h,g+4|0);e=g;while(1){f[e>>2]=f[d>>2];UBb(e+4|0,d+4|0)|0;if((d|0)==(a|0)){d=a;break}e=d+-16|0;if((f[j>>2]|0)<(f[e>>2]|0)){l=d;d=e;e=l}else break}if((d|0)!=(j|0)){f[d>>2]=f[j>>2];UBb(d+4|0,h)|0}if((b[i>>0]|0)<0)GBb(f[h>>2]|0)}d=g+16|0;if((d|0)==(c|0))break;else{l=g;g=d;d=l}}u=k;return}function a1(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=u;u=u+16|0;l=m;switch(c-a>>4|0){case 2:{g=c+-16|0;d=f[a>>2]|0;if((f[g>>2]|0)>=(d|0)){l=1;u=m;return l|0}f[l>>2]=d;d=l+4|0;e=a+4|0;OBb(d,e);if((g|0)!=(a|0)){f[a>>2]=f[g>>2];UBb(e,c+-12|0)|0}if((l|0)!=(g|0)){f[g>>2]=f[l>>2];UBb(c+-12|0,d)|0}if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);l=1;u=m;return l|0}case 3:{Y0(a,a+16|0,c+-16|0,d)|0;l=1;u=m;return l|0}case 4:{Z0(a,a+16|0,a+32|0,c+-16|0,d)|0;l=1;u=m;return l|0}case 5:{_0(a,a+16|0,a+32|0,a+48|0,c+-16|0,d)|0;l=1;u=m;return l|0}case 1:case 0:{l=1;u=m;return l|0}default:{g=a+32|0;Y0(a,a+16|0,g,d)|0;d=a+48|0;if((d|0)==(c|0)){l=1;u=m;return l|0}i=l+4|0;j=i+11|0;e=0;while(1){h=f[d>>2]|0;if((h|0)<(f[g>>2]|0)){f[l>>2]=h;OBb(i,d+4|0);h=d;while(1){if((h|0)!=(g|0)){f[h>>2]=f[g>>2];UBb(h+4|0,g+4|0)|0}if((g|0)==(a|0)){g=a;break}h=g+-16|0;if((f[l>>2]|0)<(f[h>>2]|0)){n=g;g=h;h=n}else break}if((g|0)!=(l|0)){f[g>>2]=f[l>>2];UBb(g+4|0,i)|0}e=e+1|0;if((b[j>>0]|0)<0)GBb(f[i>>2]|0);if((e|0)==8)break}g=d+16|0;if((g|0)==(c|0)){d=1;k=28;break}else{n=d;d=g;g=n}}if((k|0)==28){u=m;return d|0}n=(d+16|0)==(c|0);u=m;return n|0}}return 0}function b1(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;i=u;u=u+32|0;g=i;rZa(g);f[g>>2]=324904;h=g+12|0;OBb(h,d);f[g+24>>2]=e;f[g>>2]=325164;v_(a,c,g,32);f[g>>2]=324904;if((b[h+11>>0]|0)>=0){Uua(g);u=i;return}GBb(f[h>>2]|0);Uua(g);u=i;return}function c1(a){a=a|0;var c=0;f[a>>2]=324904;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function d1(a,b,c){a=a|0;b=b|0;c=c|0;Ij[f[(f[c>>2]|0)+216>>2]&127](a,c,b+12|0,f[b+24>>2]|0);return}function e1(a,b){a=a|0;b=b|0;a=f[b+16>>2]|0;if(!a){b=0;return b|0}b=(WCb(a,295088,298568,0)|0)!=0;return b|0}function f1(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298568,0)|0)!=0;return b|0}function g1(a,b,c){a=a|0;b=b|0;c=c|0;a=EBb(28)|0;rZa(a);f[a>>2]=324904;OBb(a+12|0,b);f[a+24>>2]=c;f[a>>2]=325164;return a|0}function h1(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=u;u=u+80|0;w=B;z=B+60|0;x=B+40|0;y=B+28|0;s=B+16|0;f[z>>2]=0;A=z+4|0;f[A>>2]=0;o=z+8|0;f[o>>2]=0;n=c+60|0;f[x>>2]=c+72;p=x+4|0;f[p>>2]=n;f[x+12>>2]=0;f[x+16>>2]=0;t=x+12|0;f[x+8>>2]=t;v=a+4|0;q=v+11|0;while(1){_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;a:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break a;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break a;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=28;break}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;b:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break b;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break b;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+236>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x);n=f[p>>2]|0}if((r|0)==28){I_(w,e);J_(y,c,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c:do if((K_(c,y)|0)==2)while(1){n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;d:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break d;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break d;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=58;break c}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;e:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break e;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break e;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+236>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break c;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x)}else r=58;while(0);do if((r|0)==58){h=f[z>>2]|0;i=f[A>>2]|0;if((h|0)!=(i|0)){X0(h,i,w);C=f[A>>2]|0;f[w>>2]=f[C+-16>>2];h=w+4|0;OBb(h,C+-12|0);f[a>>2]=f[w>>2];OBb(v,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}CCb(s,393358,e);C=cCb(s,386998)|0;f[w>>2]=f[C>>2];f[w+4>>2]=f[C+4>>2];f[w+8>>2]=f[C+8>>2];f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;f[a>>2]=2;OBb(v,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0)}while(0);if((b[y+11>>0]|0)<0)GBb(f[y>>2]|0)}P_(x+8|0,f[t>>2]|0);j=f[z>>2]|0;if(!j){u=B;return}h=f[A>>2]|0;if((h|0)==(j|0))h=j;else{do{i=h+-12|0;h=h+-16|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}while((h|0)!=(j|0));h=f[z>>2]|0}f[A>>2]=j;GBb(h);u=B;return}function i1(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=u;u=u+80|0;w=B;z=B+60|0;x=B+40|0;y=B+28|0;s=B+16|0;f[z>>2]=0;A=z+4|0;f[A>>2]=0;o=z+8|0;f[o>>2]=0;n=c+60|0;f[x>>2]=c+72;p=x+4|0;f[p>>2]=n;f[x+12>>2]=0;f[x+16>>2]=0;t=x+12|0;f[x+8>>2]=t;v=a+4|0;q=v+11|0;while(1){_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;a:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break a;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break a;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=28;break}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;b:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break b;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break b;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+232>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x);n=f[p>>2]|0}if((r|0)==28){I_(w,e);J_(y,c,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c:do if((K_(c,y)|0)==2)while(1){n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;d:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break d;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break d;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=58;break c}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;e:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break e;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break e;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+232>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break c;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x)}else r=58;while(0);do if((r|0)==58){h=f[z>>2]|0;i=f[A>>2]|0;if((h|0)!=(i|0)){X0(h,i,w);C=f[A>>2]|0;f[w>>2]=f[C+-16>>2];h=w+4|0;OBb(h,C+-12|0);f[a>>2]=f[w>>2];OBb(v,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}CCb(s,393471,e);C=cCb(s,386998)|0;f[w>>2]=f[C>>2];f[w+4>>2]=f[C+4>>2];f[w+8>>2]=f[C+8>>2];f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;f[a>>2]=2;OBb(v,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0)}while(0);if((b[y+11>>0]|0)<0)GBb(f[y>>2]|0)}P_(x+8|0,f[t>>2]|0);j=f[z>>2]|0;if(!j){u=B;return}h=f[A>>2]|0;if((h|0)==(j|0))h=j;else{do{i=h+-12|0;h=h+-16|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}while((h|0)!=(j|0));h=f[z>>2]|0}f[A>>2]=j;GBb(h);u=B;return}function j1(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;i=u;u=u+32|0;g=i;rZa(g);f[g>>2]=324904;h=g+12|0;OBb(h,d);f[g+24>>2]=e;f[g>>2]=325200;v_(a,c,g,4);f[g>>2]=324904;if((b[h+11>>0]|0)>=0){Uua(g);u=i;return}GBb(f[h>>2]|0);Uua(g);u=i;return}function k1(a){a=a|0;var c=0;f[a>>2]=324904;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function l1(a,b,c){a=a|0;b=b|0;c=c|0;Ij[f[(f[c>>2]|0)+208>>2]&127](a,c,b+12|0,f[b+24>>2]|0);return}function m1(a,b){a=a|0;b=b|0;a=f[b+16>>2]|0;if(!a){b=0;return b|0}b=(WCb(a,295088,298616,0)|0)!=0;return b|0}function n1(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298616,0)|0)!=0;return b|0}function o1(a,b,c){a=a|0;b=b|0;c=c|0;a=EBb(28)|0;rZa(a);f[a>>2]=324904;OBb(a+12|0,b);f[a+24>>2]=c;f[a>>2]=325200;return a|0}function p1(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+32|0;k=m;f[a>>2]=1;i=a+4|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;if((e|0)!=0?(h=f[e+116>>2]|0,(h|0)!=0):0){Ij[f[(f[h>>2]|0)+4>>2]&127](k,h,d,e);if((k|0)!=(a|0)){f[a>>2]=f[k>>2];UBb(i,k+4|0)|0;d=a+16|0;i=f[d>>2]|0;h=k+16|0;j=f[h>>2]|0;if((i|0)!=(j|0)){f[d>>2]=j;if(j|0){l=j+8|0;f[l>>2]=(f[l>>2]|0)+1}if((i|0)!=0?(j=i+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0){Rua(i,1,1);l=11}else l=11}else{d=h;h=j}}else{h=k+16|0;l=11}if((l|0)==11){d=h;h=f[h>>2]|0}if(h|0?(i=h+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(h,1,1);f[d>>2]=0;h=k+4|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}else l=18;do if((l|0)==18){h=f[c+48>>2]|0;if(!h){q1(k,c,d,e);if((k|0)!=(a|0)){f[a>>2]=f[k>>2];UBb(i,k+4|0)|0;d=a+16|0;i=f[d>>2]|0;h=k+16|0;j=f[h>>2]|0;if((i|0)!=(j|0)){f[d>>2]=j;if(j|0){l=j+8|0;f[l>>2]=(f[l>>2]|0)+1}if((i|0)!=0?(j=i+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0){Rua(i,1,1);l=42}else l=42}else{d=h;h=j}}else{h=k+16|0;l=42}if((l|0)==42){d=h;h=f[h>>2]|0}if(h|0?(j=h+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(h,1,1);f[d>>2]=0;h=k+4|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}else{Ij[f[(f[h>>2]|0)+4>>2]&127](k,h,d,e);if((k|0)!=(a|0)){f[a>>2]=f[k>>2];UBb(i,k+4|0)|0;d=a+16|0;i=f[d>>2]|0;h=k+16|0;j=f[h>>2]|0;if((i|0)!=(j|0)){f[d>>2]=j;if(j|0){l=j+8|0;f[l>>2]=(f[l>>2]|0)+1}if((i|0)!=0?(j=i+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0){Rua(i,1,1);l=27}else l=27}else{d=h;h=j}}else{h=k+16|0;l=27}if((l|0)==27){d=h;h=f[h>>2]|0}if(h|0?(j=h+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(h,1,1);f[d>>2]=0;h=k+4|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}}while(0);if(!g){u=m;return}u_(c,a,e);u=m;return}function q1(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;i=u;u=u+32|0;g=i;rZa(g);f[g>>2]=324904;h=g+12|0;OBb(h,d);f[g+24>>2]=e;f[g>>2]=325236;v_(a,c,g,16);f[g>>2]=324904;if((b[h+11>>0]|0)>=0){Uua(g);u=i;return}GBb(f[h>>2]|0);Uua(g);u=i;return}function r1(a){a=a|0;var c=0;f[a>>2]=324904;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function s1(a,b,c){a=a|0;b=b|0;c=c|0;Ij[f[(f[c>>2]|0)+200>>2]&127](a,c,b+12|0,f[b+24>>2]|0);return}function t1(a,b){a=a|0;b=b|0;return (f[b+16>>2]|0)!=0|0}function u1(a,b){a=a|0;b=b|0;return (b|0)!=0|0}function v1(a,b,c){a=a|0;b=b|0;c=c|0;a=EBb(28)|0;rZa(a);f[a>>2]=324904;OBb(a+12|0,b);f[a+24>>2]=c;f[a>>2]=325236;return a|0}function w1(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=u;u=u+80|0;w=B;z=B+60|0;x=B+40|0;y=B+28|0;s=B+16|0;f[z>>2]=0;A=z+4|0;f[A>>2]=0;o=z+8|0;f[o>>2]=0;n=c+60|0;f[x>>2]=c+72;p=x+4|0;f[p>>2]=n;f[x+12>>2]=0;f[x+16>>2]=0;t=x+12|0;f[x+8>>2]=t;v=a+4|0;q=v+11|0;while(1){_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;a:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break a;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break a;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=28;break}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;b:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break b;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break b;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+228>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x);n=f[p>>2]|0}if((r|0)==28){I_(w,e);J_(y,c,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c:do if((K_(c,y)|0)==2)while(1){n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;d:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break d;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break d;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;if(!h){r=58;break c}n=f[p>>2]|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=f[x>>2]|0;h=f[l>>2]|0;l=f[l+4>>2]|0;e:do if((h|0)==(l|0))h=0;else{m=f[t>>2]|0;if(!m){h=f[h>>2]|0;break}k=h;while(1){h=f[k>>2]|0;i=t;j=m;do{C=(f[j+16>>2]|0)>>>0>>0;i=C?i:j;j=f[(C?j+4|0:j)>>2]|0}while((j|0)!=0);if((i|0)==(t|0))break e;k=k+4|0;if(h>>>0<(f[i+16>>2]|0)>>>0)break e;if((k|0)==(l|0)){h=0;break}}}while(0);_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0;Kj[f[(f[h>>2]|0)+228>>2]&63](a,h,d,e,g);h=f[a>>2]|0;if((h|0)==3)break c;i=f[A>>2]|0;if((i|0)==(f[o>>2]|0))W0(z,a);else{f[i>>2]=h;OBb(i+4|0,v);f[A>>2]=(f[A>>2]|0)+16}if((b[q>>0]|0)<0)GBb(f[v>>2]|0);G_(x)}else r=58;while(0);do if((r|0)==58){h=f[z>>2]|0;i=f[A>>2]|0;if((h|0)!=(i|0)){X0(h,i,w);C=f[A>>2]|0;f[w>>2]=f[C+-16>>2];h=w+4|0;OBb(h,C+-12|0);f[a>>2]=f[w>>2];OBb(v,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}CCb(s,393733,e);C=cCb(s,386998)|0;f[w>>2]=f[C>>2];f[w+4>>2]=f[C+4>>2];f[w+8>>2]=f[C+8>>2];f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;f[a>>2]=2;OBb(v,w);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0)}while(0);if((b[y+11>>0]|0)<0)GBb(f[y>>2]|0)}P_(x+8|0,f[t>>2]|0);j=f[z>>2]|0;if(!j){u=B;return}h=f[A>>2]|0;if((h|0)==(j|0))h=j;else{do{i=h+-12|0;h=h+-16|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}while((h|0)!=(j|0));h=f[z>>2]|0}f[A>>2]=j;GBb(h);u=B;return}function x1(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;i=u;u=u+32|0;g=i;rZa(g);f[g>>2]=324904;h=g+12|0;OBb(h,d);f[g+24>>2]=e;f[g>>2]=325272;v_(a,c,g,2);f[g>>2]=324904;if((b[h+11>>0]|0)>=0){Uua(g);u=i;return}GBb(f[h>>2]|0);Uua(g);u=i;return}function y1(a){a=a|0;var c=0;f[a>>2]=324904;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function z1(a,b,c){a=a|0;b=b|0;c=c|0;Ij[f[(f[c>>2]|0)+204>>2]&127](a,c,b+12|0,f[b+24>>2]|0);return}function A1(a,b){a=a|0;b=b|0;a=f[b+16>>2]|0;if(!a){b=0;return b|0}b=(WCb(a,295088,297384,0)|0)!=0;return b|0}function B1(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,297384,0)|0)!=0;return b|0}function C1(a,b,c){a=a|0;b=b|0;c=c|0;a=EBb(28)|0;rZa(a);f[a>>2]=324904;OBb(a+12|0,b);f[a+24>>2]=c;f[a>>2]=325272;return a|0}function D1(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;d=f[a+44>>2]|0;a=a+48|0;if((d|0)==(f[a>>2]|0)){g=0;u=h;return g|0}while(1){if(E1(f[d>>2]|0,c)|0)break;d=d+4|0;if((d|0)==(f[a>>2]|0)){d=0;g=7;break}}if((g|0)==7){u=h;return d|0}if(!(qZa(4)|0)){g=1;u=h;return g|0}d=Nu(Hua(4)|0,393847,21)|0;g=b[c+11>>0]|0;a=g<<24>>24<0;g=Nu(d,a?f[c>>2]|0:c,a?f[c+4>>2]|0:g&255)|0;Drb(e,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);c=utb(e,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(e);ksb(g,c)|0;Krb(g)|0;g=1;u=h;return g|0}function E1(a,c){a=a|0;c=c|0;var d=0,e=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;t=u;u=u+16|0;s=t;l=t+12|0;if(qZa(4)|0){h=Nu(Hua(4)|0,393869,17)|0;j=a+12|0;i=b[j+11>>0]|0;k=i<<24>>24<0;i=Nu(Nu(h,k?f[j>>2]|0:j,k?f[a+16>>2]|0:i&255)|0,393887,21)|0;k=b[c+11>>0]|0;j=k<<24>>24<0;k=Nu(Nu(i,j?f[c>>2]|0:c,j?f[c+4>>2]|0:k&255)|0,409404,1)|0;Drb(s,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(s,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(s);ksb(k,j)|0;Krb(k)|0}h=a+32|0;i=h+11|0;d=b[i>>0]|0;j=d<<24>>24<0;if(j)e=f[a+36>>2]|0;else e=d&255;k=b[c+11>>0]|0;if(e>>>0>=(k<<24>>24<0?f[c+4>>2]|0:k&255)>>>0){s=0;u=t;return s|0}if(j){k=a+36|0;g=f[k>>2]|0;d=d&255;e=g}else{g=d&255;e=a+36|0;d=g;k=e;e=f[e>>2]|0}if(nCb(c,0,g,j?f[h>>2]|0:h,j?e:d)|0){s=0;u=t;return s|0}d=b[i>>0]|0;e=d<<24>>24<0;if(e)g=f[k>>2]|0;else g=d&255;if(!g)d=0;else{if(e)d=f[k>>2]|0;else d=d&255;d=d+1|0}SBb(s,c,d,-1,l);d=f[a+48>>2]|0;a:do if((d|0)!=0?(m=f[d+36>>2]|0,(m|0)!=0):0){c=b[s+11>>0]|0;l=c<<24>>24<0;c=l?f[s+4>>2]|0:c&255;l=l?f[s>>2]|0:s;d=m;while(1){e=d+16|0;h=b[e+11>>0]|0;g=h<<24>>24<0;h=g?f[d+20>>2]|0:h&255;k=h>>>0>>0;j=k?h:c;i=(j|0)==0;if(!i?(n=g?f[e>>2]|0:e,o=anb(l,n,j)|0,(o|0)!=0):0)if((o|0)<0)g=26;else{e=n;g=29}else if(c>>>0>=h>>>0)if(i)g=30;else{e=g?f[e>>2]|0:e;g=29}else g=26;if((g|0)==26)g=0;else if((g|0)==29){g=0;e=anb(e,l,j)|0;if(e)if((e|0)<0)g=32;else{d=1;break a}else g=30}if((g|0)==30){g=0;if(k)g=32;else{d=1;break a}}if((g|0)==32)d=d+4|0;d=f[d>>2]|0;if(!d){g=34;break}}}else g=34;while(0);b:do if((g|0)==34){d=f[a+52>>2]|0;if((d|0)!=0?(p=f[d+36>>2]|0,(p|0)!=0):0){c=b[s+11>>0]|0;l=c<<24>>24<0;c=l?f[s+4>>2]|0:c&255;l=l?f[s>>2]|0:s;d=p;while(1){e=d+16|0;h=b[e+11>>0]|0;g=h<<24>>24<0;h=g?f[d+20>>2]|0:h&255;k=h>>>0>>0;j=k?h:c;i=(j|0)==0;if(!i?(q=g?f[e>>2]|0:e,r=anb(l,q,j)|0,(r|0)!=0):0)if((r|0)<0)g=41;else{e=q;g=44}else if(c>>>0>=h>>>0)if(i)g=45;else{e=g?f[e>>2]|0:e;g=44}else g=41;if((g|0)==41)g=0;else if((g|0)==44){e=anb(e,l,j)|0;if(e)if((e|0)<0)g=47;else{d=1;break b}else g=45}if((g|0)==45)if(k)g=47;else{d=1;break b}if((g|0)==47)d=d+4|0;d=f[d>>2]|0;if(!d){d=0;break}}}else d=0}while(0);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);s=d;u=t;return s|0}function F1(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;d=b[c+11>>0]|0;i=d<<24>>24<0;e=i?f[c>>2]|0:c;d=i?f[c+4>>2]|0:d&255;i=e+d|0;g=i;h=e;a:do if((d|0)>=3){while(1){d=d+-2|0;if(!d)break a;d=Ymb(e,58,d)|0;if(!d)break a;if(!(anb(d,386891,3)|0))break;e=d+1|0;d=g-e|0;if((d|0)<3)break a}g=d-h|0;if(!((d|0)==(i|0)|(g|0)==-1)){d=g+3|0;e=lCb(c,47,d)|0;if((e|0)==-1){SBb(a,c,d,-1,c);return}else{SBb(a,c,d,-3-g+e|0,c);return}}}while(0);f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;return}function G1(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;d=b[c+11>>0]|0;i=d<<24>>24<0;e=i?f[c>>2]|0:c;d=i?f[c+4>>2]|0:d&255;i=e+d|0;g=i;h=e;a:do if((d|0)>=3){while(1){d=d+-2|0;if(!d)break a;e=Ymb(e,58,d)|0;if(!e)break a;if(!(anb(e,386891,3)|0))break;e=e+1|0;d=g-e|0;if((d|0)<3)break a}d=e-h|0;if(!((e|0)==(i|0)|(d|0)==-1)){d=lCb(c,47,d+3|0)|0;if((d|0)==-1){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;return}else{SBb(a,c,d+1|0,-1,c);return}}}while(0);OBb(a,c);return}function H1(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=a+8|0;if(!(f[b>>2]|0))return;c=f[a+4>>2]|0;d=(f[a>>2]|0)+4|0;e=f[c>>2]|0;f[e+4>>2]=f[d>>2];f[f[d>>2]>>2]=e;f[b>>2]=0;if((c|0)==(a|0))return;do{b=c;c=f[c+4>>2]|0;d=f[b+8>>2]|0;if(d|0?(g=d+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(d,1,1);GBb(b)}while((c|0)!=(a|0));return}function I1(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f[a>>2]=325032;_$(a);c=a+244|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+240|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+236|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);f[c>>2]=0;d=a+224|0;e=f[d>>2]|0;if(e|0){g=a+228|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{c=c+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}c=a+212|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[c>>2]=0;g=a+188|0;D_(g);d=a+192|0;c=f[d>>2]|0;h=a+196|0;e=f[h>>2]|0;if((c|0)!=(e|0)){do{GBb(f[c>>2]|0);c=c+4|0}while((c|0)!=(e|0));c=f[d>>2]|0;d=f[h>>2]|0;if((d|0)!=(c|0))f[h>>2]=d+(~((d+-4-c|0)>>>2)<<2)}c=f[g>>2]|0;if(c|0)GBb(c);g=a+164|0;D_(g);d=a+168|0;c=f[d>>2]|0;h=a+172|0;e=f[h>>2]|0;if((c|0)!=(e|0)){do{GBb(f[c>>2]|0);c=c+4|0}while((c|0)!=(e|0));c=f[d>>2]|0;d=f[h>>2]|0;if((d|0)!=(c|0))f[h>>2]=d+(~((d+-4-c|0)>>>2)<<2)}c=f[g>>2]|0;if(c|0)GBb(c);c=a+160|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[c>>2]=0;Ak(a+148|0,f[a+152>>2]|0);Ak(a+136|0,f[a+140>>2]|0);$$(a+120|0,f[a+124>>2]|0);R3a(a+108|0);e=a+96|0;h=f[e>>2]|0;if(h|0){g=a+100|0;c=f[g>>2]|0;if((c|0)==(h|0))c=h;else{do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(n=d+8|0,m=f[n>>2]|0,f[n>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(h|0));c=f[e>>2]|0}f[g>>2]=h;GBb(c)}e=a+84|0;g=f[e>>2]|0;if(g|0){h=a+88|0;c=f[h>>2]|0;if((c|0)==(g|0))c=g;else{do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}e=a+72|0;g=f[e>>2]|0;if(g|0){h=a+76|0;c=f[h>>2]|0;if((c|0)==(g|0))c=g;else{do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}R3a(a+60|0);c=a+56|0;d=f[c>>2]|0;if(d|0?(i=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,m=i+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(i,1,1);f[c>>2]=0;c=a+52|0;d=f[c>>2]|0;if(d|0?(j=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,m=j+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(j,1,1);f[c>>2]=0;c=a+48|0;d=f[c>>2]|0;if(d|0?(k=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,m=k+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(k,1,1);f[c>>2]=0;c=a+44|0;d=f[c>>2]|0;if(d|0?(l=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,m=l+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(l,1,1);f[c>>2]=0;f0(a+32|0,f[a+36>>2]|0);c=a+24|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+20|0;d=f[c>>2]|0;do if(d|0){m=d+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;d=a+16|0;c=f[d>>2]|0;if(!c){f[d>>2]=0;Uua(a);return}c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;m=c+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)!=1){f[d>>2]=0;Uua(a);return}Rua(c,1,1);f[d>>2]=0;Uua(a);return}function J1(a){a=a|0;I1(a);GBb(a);return}function K1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function L1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function M1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function N1(a){a=a|0;var c=0,d=0,e=0;d=f[a>>2]|0;if(!d)return;e=a+4|0;c=f[e>>2]|0;if((c|0)==(d|0))c=d;else{do{c=c+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(d|0));c=f[a>>2]|0}f[e>>2]=d;GBb(c);return}function O1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function P1(a){a=a|0;var b=0,c=0,d=0,e=0;D_(a);c=a+4|0;b=f[c>>2]|0;e=a+8|0;d=f[e>>2]|0;if((b|0)!=(d|0)){do{GBb(f[b>>2]|0);b=b+4|0}while((b|0)!=(d|0));b=f[c>>2]|0;c=f[e>>2]|0;if((c|0)!=(b|0))f[e>>2]=c+(~((c+-4-b|0)>>>2)<<2)}b=f[a>>2]|0;if(!b)return;GBb(b);return}function Q1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function R1(a){a=a|0;Ak(a,f[a+4>>2]|0);return}function S1(a){a=a|0;$$(a,f[a+4>>2]|0);return}function T1(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=f[a>>2]|0;if(!d)return;e=a+4|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));b=f[a>>2]|0}f[e>>2]=d;GBb(b);return}function U1(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=f[a>>2]|0;if(!d)return;e=a+4|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));b=f[a>>2]|0}f[e>>2]=d;GBb(b);return}function V1(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=f[a>>2]|0;if(!d)return;e=a+4|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));b=f[a>>2]|0}f[e>>2]=d;GBb(b);return}function W1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function X1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function Y1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function Z1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function _1(a){a=a|0;f0(a,f[a+4>>2]|0);return}function $1(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function a2(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function b2(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function c2(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f[a>>2]=325308;h2(a)|0;l=a+56|0;d=f[l>>2]|0;m=a+60|0;b=f[m>>2]|0;if((b|0)!=(d|0))do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,k=f[i>>2]|0,f[i>>2]=k-1,(k|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));f[m>>2]=d;k=a+88|0;b=f[k>>2]|0;if(b|0?(f[k>>2]=0,h=b+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(b,1,1);i=a+92|0;b=f[i>>2]|0;if(b|0?(f[i>>2]=0,e=b+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(b,1,1);h=a+96|0;b=f[h>>2]|0;if(b|0?(f[h>>2]=0,d=b+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(b,1,1);e=a+100|0;b=f[e>>2]|0;if(b|0?(f[e>>2]=0,c=b+8|0,d=f[c>>2]|0,f[c>>2]=d-1,(d|0)==1):0)Rua(b,1,1);d=a+132|0;b=f[d>>2]|0;if(b|0?(f[d>>2]=0,g=b+(f[(f[b>>2]|0)+-12>>2]|0)|0,b=g+8|0,c=f[b>>2]|0,f[b>>2]=c-1,(c|0)==1):0)Rua(g,1,1);b=a+164|0;c=f[b>>2]|0;if(c|0?(n=c+8|0,g=f[n>>2]|0,f[n>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=f[d>>2]|0;if(b|0?(j=b+(f[(f[b>>2]|0)+-12>>2]|0)|0,g=j+8|0,n=f[g>>2]|0,f[g>>2]=n-1,(n|0)==1):0)Rua(j,1,1);f[d>>2]=0;b=a+120|0;c=f[b>>2]|0;if(c|0?(j=c+8|0,n=f[j>>2]|0,f[j>>2]=n-1,(n|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=f[e>>2]|0;if(b|0?(j=b+8|0,n=f[j>>2]|0,f[j>>2]=n-1,(n|0)==1):0)Rua(b,1,1);f[e>>2]=0;b=f[h>>2]|0;if(b|0?(j=b+8|0,n=f[j>>2]|0,f[j>>2]=n-1,(n|0)==1):0)Rua(b,1,1);f[h>>2]=0;b=f[i>>2]|0;if(b|0?(j=b+8|0,n=f[j>>2]|0,f[j>>2]=n-1,(n|0)==1):0)Rua(b,1,1);f[i>>2]=0;b=f[k>>2]|0;if(b|0?(j=b+8|0,n=f[j>>2]|0,f[j>>2]=n-1,(n|0)==1):0)Rua(b,1,1);f[k>>2]=0;R3a(a+72|0);d=f[l>>2]|0;if(!d){m=a+40|0;n=a+44|0;n=f[n>>2]|0;iv(m,n);n=a+24|0;R3a(n);n=a+12|0;R3a(n);Uua(a);return}b=f[m>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(k=c+8|0,n=f[k>>2]|0,f[k>>2]=n-1,(n|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));b=f[l>>2]|0}f[m>>2]=d;GBb(b);m=a+40|0;n=a+44|0;n=f[n>>2]|0;iv(m,n);n=a+24|0;R3a(n);n=a+12|0;R3a(n);Uua(a);return}function d2(a){a=a|0;c2(a);GBb(a);return}function e2(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=+e;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,o=0,q=0.0,r=0,s=0,t=0,v=0,w=0,x=0,y=0;x=u;u=u+16|0;w=x;if((i|0)!=0?(j=WCb(i,295048,286816,0)|0,(j|0)!=0):0)v=j;else{v=(YZ(0)|0)+160|0;v=f[v>>2]|0}if(!(b[a+53>>0]|0)){u=x;return}j=d+4|0;i=f[j>>2]|0;if((f[d>>2]|0)==(i|0)){if(!(qZa(3)|0)){u=x;return}a=Nu(Hua(3)|0,394825,104)|0;Drb(w,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);v=utb(w,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(w);ksb(a,v)|0;Krb(a)|0;u=x;return}t=f[i+-4>>2]|0;t=_i[f[(f[t>>2]|0)+172>>2]&2047](t)|0;if(!t){if(!(qZa(3)|0)){u=x;return}a=Nu(Hua(3)|0,394930,133)|0;Drb(w,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);v=utb(w,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(w);ksb(a,v)|0;Krb(a)|0;u=x;return}j=f[j>>2]|0;if((j|0)==(f[d>>2]|0))s=0;else{i=0;do{j=j+-4|0;s=f[j>>2]|0;if(_i[f[(f[s>>2]|0)+204>>2]&2047](s)|0)i=f[j>>2]|0}while((j|0)!=(f[d>>2]|0));s=i}if(!g){r=f[a+84>>2]|0;q=0.0}else{r=f[g+12>>2]|0;q=+p[g+16>>3]}i=f[h>>2]|0;if((i|0)!=0?(k=WCb(i,295048,287656,0)|0,(k|0)!=0):0){g=a+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;i=k+12|0;o=(b[i>>0]|0)==0;j=qZa(4)|0;do if(o)if(j){d=Nu(Hua(4)|0,395064,85)|0;Drb(w,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);i=utb(w,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(w);ksb(d,i)|0;Krb(d)|0;d=0;i=0;j=0}else{d=0;i=0;j=0}else{if(j){d=Nu(Hua(4)|0,395150,31)|0;o=b[c+11>>0]|0;m=o<<24>>24<0;o=Nu(Nu(d,m?f[c>>2]|0:c,m?f[c+4>>2]|0:o&255)|0,395182,28)|0;Drb(w,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);m=utb(w,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(w);ksb(o,m)|0;Krb(o)|0}b[i>>0]=1;i=k+44|0;f[i>>2]=r;j=k+48|0;p[j>>3]=q;d=k+56|0;n[d>>2]=e;o=k+60|0;f[o>>2]=(f[o>>2]|0)+1;if((f[(f[h>>2]|0)+8>>2]|0)==1){if(qZa(4)|0){y=Nu(Hua(4)|0,395150,31)|0;o=b[c+11>>0]|0;m=o<<24>>24<0;o=Nu(Nu(y,m?f[c>>2]|0:c,m?f[c+4>>2]|0:o&255)|0,395211,25)|0;Drb(w,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);m=utb(w,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(w);ksb(o,m)|0;Krb(o)|0}f[i>>2]=r;p[j>>3]=q;n[d>>2]=e;i=cCa(t)|0;j=k+72|0;d=f[j>>2]|0;if((d|0)!=(i|0)){f[j>>2]=i;if(i|0){y=i+8|0;f[y>>2]=(f[y>>2]|0)+1}if(d|0?(o=d+8|0,y=f[o>>2]|0,f[o>>2]=y-1,(y|0)==1):0)Rua(d,1,1);i=f[j>>2]|0}if(!i)i=0;else i=(f[i+24>>2]|0)==0?0:t;f[k+76>>2]=i;j=k+64|0;if(!s)i=0;else i=cCa(s)|0;d=f[j>>2]|0;if((d|0)!=(i|0)){f[j>>2]=i;if(i|0){y=i+8|0;f[y>>2]=(f[y>>2]|0)+1}do if(d|0){o=d+8|0;y=f[o>>2]|0;f[o>>2]=y-1;if((y|0)!=1)break;Rua(d,1,1)}while(0);i=f[j>>2]|0}if(!i)i=0;else i=(f[i+24>>2]|0)==0?0:s;f[k+68>>2]=i;i=k+84|0;j=f[i>>2]|0;do if((j|0)!=(v|0)){f[i>>2]=v;if(v|0){y=v+8|0;f[y>>2]=(f[y>>2]|0)+1}if(!j)break;o=j+8|0;y=f[o>>2]|0;f[o>>2]=y-1;if((y|0)!=1)break;Rua(j,1,1)}while(0);i=k+88|0;j=f[i>>2]|0;if(!j){d=1;i=k;j=1;break}f[i>>2]=0;o=j+8|0;y=f[o>>2]|0;f[o>>2]=y-1;if((y|0)!=1){d=1;i=k;j=1;break}Rua(j,1,1);d=1;i=k;j=1}else{d=0;i=k;j=1}}while(0);_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if(d){o=f[a+88>>2]|0;y=o+28|0;_i[f[(f[y>>2]|0)+8>>2]&2047](y)|0;_Z(o,i);_i[f[(f[y>>2]|0)+12>>2]&2047](y)|0}if(!j)l=61}else l=61;if((l|0)==61){if(qZa(4)|0){m=Nu(Hua(4)|0,395237,34)|0;y=b[c+11>>0]|0;o=y<<24>>24<0;y=Nu(Nu(m,o?f[c>>2]|0:c,o?f[c+4>>2]|0:y&255)|0,409404,1)|0;Drb(w,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);o=utb(w,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(w);ksb(y,o)|0;Krb(y)|0}l=a+88|0;m=(f[l>>2]|0)+28|0;_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;y=f[h>>2]|0;if(!((y|0)!=0?(f[y+8>>2]|0)!=1:0)){o=EBb(104)|0;v_a(o,1);f[o>>2]=325988;d=o+12|0;b[d>>0]=0;g=o+16|0;i=g;j=i+84|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));b[g+84>>0]=0;k=o+8|0;f[k>>2]=(f[k>>2]|0)+1;i=f[h>>2]|0;if(((i|0)!=(o|0)?(f[h>>2]=o,f[k>>2]=(f[k>>2]|0)+1,i|0):0)?(h=i+8|0,y=f[h>>2]|0,f[h>>2]=y-1,(y|0)==1):0)Rua(i,1,1);b[d>>0]=1;UBb(g,c)|0;f[o+28>>2]=r;p[o+32>>3]=q;n[o+40>>2]=e;f[o+44>>2]=r;p[o+48>>3]=q;n[o+56>>2]=e;i=cCa(t)|0;j=o+72|0;d=f[j>>2]|0;if((d|0)!=(i|0)){f[j>>2]=i;if(i|0){y=i+8|0;f[y>>2]=(f[y>>2]|0)+1}if(d|0?(h=d+8|0,y=f[h>>2]|0,f[h>>2]=y-1,(y|0)==1):0)Rua(d,1,1);i=f[j>>2]|0}if(!i)i=0;else i=(f[i+24>>2]|0)==0?0:t;f[o+76>>2]=i;j=o+64|0;if(!s)i=0;else i=cCa(s)|0;d=f[j>>2]|0;if((d|0)!=(i|0)){f[j>>2]=i;if(i|0){y=i+8|0;f[y>>2]=(f[y>>2]|0)+1}do if(d|0){t=d+8|0;y=f[t>>2]|0;f[t>>2]=y-1;if((y|0)!=1)break;Rua(d,1,1)}while(0);i=f[j>>2]|0}if(!i)i=0;else i=(f[i+24>>2]|0)==0?0:s;f[o+68>>2]=i;i=o+84|0;j=f[i>>2]|0;do if((j|0)!=(v|0)){f[i>>2]=v;if(v|0){y=v+8|0;f[y>>2]=(f[y>>2]|0)+1}if(!j)break;v=j+8|0;y=f[v>>2]|0;f[v>>2]=y-1;if((y|0)!=1)break;Rua(j,1,1)}while(0);i=o+88|0;j=f[i>>2]|0;do if(j|0){f[i>>2]=0;v=j+8|0;y=f[v>>2]|0;f[v>>2]=y-1;if((y|0)!=1)break;Rua(j,1,1)}while(0);_Z(f[l>>2]|0,o);y=f[k>>2]|0;f[k>>2]=y-1;if((y|0)==1)Rua(o,1,1)}_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0}g=a+36|0;if(b[g>>0]|0){u=x;return}l=a+12|0;_i[f[(f[l>>2]|0)+8>>2]&2047](l)|0;if(!(b[g>>0]|0)){if(qZa(4)|0){y=Nu(Hua(4)|0,394671,28)|0;Drb(w,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);v=utb(w,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(w);ksb(y,v)|0;Krb(y)|0}d=a+56|0;i=f[d>>2]|0;k=a+60|0;j=f[k>>2]|0;if((i|0)==(j|0)){j=Dxa()|0;j=f[(f[j>>2]|0)+96>>2]|0;i=Dxa()|0;R2(a,j,f[(f[i>>2]|0)+100>>2]|0);i=f[d>>2]|0;j=f[k>>2]|0}b[g>>0]=1;b[a+52>>0]=0;if((i|0)!=(j|0))do{k4a((f[i>>2]|0)+12|0)|0;i=i+4|0}while((i|0)!=(f[k>>2]|0))}_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0;u=x;return}function f2(a){a=a|0;return 394811}function g2(a){a=a|0;var b=0;b=EBb(168)|0;J2(b,a);return b|0}function h2(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=a+56|0;c=f[g>>2]|0;h=a+60|0;if((c|0)!=(f[h>>2]|0))do{f[(f[c>>2]|0)+20>>2]=1;c=c+4|0}while((c|0)!=(f[h>>2]|0));e=f[(f[a+88>>2]|0)+44>>2]|0;c=e+4|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=e+24|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(e+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;c=f[(f[a+92>>2]|0)+44>>2]|0;d=c+4|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;e=c+24|0;if(!(b[e>>0]|0)){b[e>>0]=1;P3a(c+16|0)|0}_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;c=f[g>>2]|0;if((c|0)==(f[h>>2]|0)){h=a+52|0;b[h>>0]=1;h=a+36|0;b[h>>0]=0;return 0}do{g=f[c>>2]|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;c=c+4|0}while((c|0)!=(f[h>>2]|0));h=a+52|0;b[h>>0]=1;h=a+36|0;b[h>>0]=0;return 0}function i2(a){a=a|0;var b=0;b=f[a+56>>2]|0;a=a+60|0;if((b|0)==(f[a>>2]|0)){a=0;return a|0}while(1){if(h4a((f[b>>2]|0)+12|0)|0){b=1;a=5;break}b=b+4|0;if((b|0)==(f[a>>2]|0)){b=0;a=5;break}}if((a|0)==5)return b|0;return 0}function j2(a){a=a|0;I2(f[a+88>>2]|0);I2(f[a+92>>2]|0);I2(f[a+96>>2]|0);I2(f[a+100>>2]|0);a=f[a+120>>2]|0;tj[f[(f[a>>2]|0)+16>>2]&2047](a);return}function k2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;d=i+12|0;c=i+8|0;e=i+4|0;g=i;h=a+40|0;if((h|0)!=(b|0)){f[e>>2]=f[b>>2];f[g>>2]=b+4;f[c>>2]=f[e>>2];f[d>>2]=f[g>>2];hw(h,c,d)}c=f[a+56>>2]|0;d=a+60|0;if((c|0)==(f[d>>2]|0)){u=i;return}do{g4a((f[c>>2]|0)+12|0,h)|0;c=c+4|0}while((c|0)!=(f[d>>2]|0));u=i;return}function l2(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=u;u=u+16|0;h=k;if(qZa(4)|0){g=Nu(Hua(4)|0,394635,35)|0;j=b[d+11>>0]|0;i=j<<24>>24<0;j=Nu(g,i?f[d>>2]|0:d,i?f[d+4>>2]|0:j&255)|0;Drb(h,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(h,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(h);ksb(j,i)|0;Krb(j)|0}e=a+56|0;g=a+60|0;i=(f[g>>2]|0)-(f[e>>2]|0)>>2;l=EBb(48)|0;rZa(l);j=l+12|0;X3a(j);f[l>>2]=324028;f[j>>2]=324056;f[l+20>>2]=0;b[l+24>>0]=0;f[l+28>>2]=a;f[l+32>>2]=c;OBb(l+36|0,d);g4a(j,a+40|0)|0;f[h>>2]=l;c=l+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[g>>2]|0;if(c>>>0<(f[a+64>>2]|0)>>>0){d=f[h>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[g>>2]|0}f[g>>2]=c+4}else H2(e,h);c=f[h>>2]|0;if(c|0?(g=c+8|0,l=f[g>>2]|0,f[g>>2]=l-1,(l|0)==1):0)Rua(c,1,1);if(!(b[a+36>>0]|0)){u=k;return i|0}if(qZa(4)|0){l=Nu(Hua(4)|0,394671,28)|0;Drb(h,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);a=utb(h,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(h);ksb(l,a)|0;Krb(l)|0}k4a(j)|0;u=k;return i|0}function m2(a,b){a=a|0;b=b|0;if(!b)return;G2(f[a+96>>2]|0)|0;f[a+84>>2]=f[b+12>>2];return}function n2(a){a=a|0;return}function o2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;e=u;u=u+96|0;d=e;if(!b){u=e;return}g=f[a+120>>2]|0;a=d+64|0;rZa(a);f[a>>2]=338032;h=d+76|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[d+88>>2]=2;f[d+92>>2]=0;ZZa(d,325376,2);f[d>>2]=325400;f[a>>2]=325768;f[d+56>>2]=g;f[d+60>>2]=c;Bj[f[(f[b>>2]|0)+212>>2]&1023](b,d);dDa(d,325376);Gva(a);u=e;return}function p2(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+60>>2]&1023](a,b);r2(a,b);return}function q2(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0.0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,q=0,r=0,s=0,t=0.0,v=0,w=0,x=0,y=0,z=0,A=0;z=u;u=u+16|0;x=z+12|0;y=z;k=c+12|0;if(!(f[k>>2]|0)){u=z;return}v=e$a(d$a()|0)|0;w=H;s=a+120|0;g=f[s>>2]|0;g=_i[f[(f[g>>2]|0)+20>>2]&2047](g)|0;l=e$a(d$a()|0)|0;m=H;e=d$a()|0;if(m>>>0>w>>>0|(m|0)==(w|0)&l>>>0>v>>>0){r=NDb(l|0,m|0,v|0,w|0)|0;h=+p[e+8>>3]*(+(r>>>0)+4294967296.0*+(H>>>0))}else{r=NDb(v|0,w|0,l|0,m|0)|0;h=-(+p[e+8>>3]*(+(r>>>0)+4294967296.0*+(H>>>0)))}t=h*1.0e3;p[62144]=+p[62144]+1.0;p[62145]=t+ +p[62145];if(+p[62146]>2]|0;if(g>>>0<=e>>>0){u=z;return}e=g-e|0;f[y>>2]=y;q=y+4|0;f[q>>2]=y;r=y+8|0;f[r>>2]=0;h=+p[c+16>>3]+-.1;g=(f[k>>2]|0)+-1|0;if((e|0)>0){n=f[s>>2]|0;Ej[f[(f[n>>2]|0)+24>>2]&1](n,e,h,g,y,0)}e=f[s>>2]|0;e=_i[f[(f[e>>2]|0)+20>>2]&2047](e)|0;e=e-(f[i>>2]|0)|0;if((e|0)>0){n=f[s>>2]|0;Ej[f[(f[n>>2]|0)+24>>2]&1](n,e,h,g,y,1)}k=e$a(d$a()|0)|0;n=H;e=d$a()|0;if(n>>>0>m>>>0|(n|0)==(m|0)&k>>>0>l>>>0){m=NDb(k|0,n|0,l|0,m|0)|0;h=+p[e+8>>3]*(+(m>>>0)+4294967296.0*+(H>>>0))}else{m=NDb(l|0,m|0,k|0,n|0)|0;h=-(+p[e+8>>3]*(+(m>>>0)+4294967296.0*+(H>>>0)))}o=h*1.0e3;p[62147]=+p[62147]+1.0;p[62148]=o+ +p[62148];if(+p[62149]>2]|0){if(b[a+116>>0]|0){g=a+88|0;e=(f[g>>2]|0)+28|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;g=f[g>>2]|0;c=g+72|0;i=f[r>>2]|0;if(i|0){l=f[q>>2]|0;m=f[y>>2]|0;a=m+4|0;A=f[l>>2]|0;f[A+4>>2]=f[a>>2];f[f[a>>2]>>2]=A;A=f[c>>2]|0;f[A+4>>2]=l;f[l>>2]=A;f[c>>2]=m;f[a>>2]=c;a=g+80|0;f[a>>2]=(f[a>>2]|0)+i;f[r>>2]=0}tj[f[(f[g>>2]|0)+12>>2]&2047](g);_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;break}e=f[q>>2]|0;A=(f[y>>2]|0)+4|0;a=f[e>>2]|0;f[a+4>>2]=f[A>>2];f[f[A>>2]>>2]=a;f[r>>2]=0;if((e|0)!=(y|0))do{g=e;e=f[e+4>>2]|0;c=f[g+8>>2]|0;if(c|0?(a=c+8|0,A=f[a>>2]|0,f[a>>2]=A-1,(A|0)==1):0)Rua(c,1,1);GBb(g)}while((e|0)!=(y|0))}while(0);c=e$a(d$a()|0)|0;i=H;e=d$a()|0;if(i>>>0>n>>>0|(i|0)==(n|0)&c>>>0>k>>>0){A=NDb(c|0,i|0,k|0,n|0)|0;h=+p[e+8>>3]*(+(A>>>0)+4294967296.0*+(H>>>0))}else{A=NDb(k|0,n|0,c|0,i|0)|0;h=-(+p[e+8>>3]*(+(A>>>0)+4294967296.0*+(H>>>0)))}j=h*1.0e3;p[62150]=+p[62150]+1.0;p[62151]=j+ +p[62151];if(+p[62152]>2]|0;g=Nu(csb(e,_i[f[(f[g>>2]|0)+20>>2]&2047](g)|0)|0,394260,11)|0;e=d$a()|0;if(i>>>0>w>>>0|(i|0)==(w|0)&c>>>0>v>>>0){A=NDb(c|0,i|0,v|0,w|0)|0;h=+p[e+8>>3]*(+(A>>>0)+4294967296.0*+(H>>>0))}else{A=NDb(v|0,w|0,c|0,i|0)|0;h=-(+p[e+8>>3]*(+(A>>>0)+4294967296.0*+(H>>>0)))}A=Nu(isb(Nu(isb(g,h*1.0e3)|0,394272,3)|0,t)|0,394276,5)|0;A=Nu(isb(A,+p[62145]/+p[62144])|0,394282,7)|0;A=Nu(isb(Nu(isb(A,+p[62146])|0,394290,3)|0,o)|0,394276,5)|0;A=Nu(isb(A,+p[62148]/+p[62147])|0,394282,7)|0;A=Nu(isb(Nu(isb(A,+p[62149])|0,394294,3)|0,j)|0,394276,5)|0;A=Nu(isb(A,+p[62151]/+p[62150])|0,394282,7)|0;A=isb(A,+p[62152])|0;Drb(x,A+(f[(f[A>>2]|0)+-12>>2]|0)|0);w=utb(x,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(x);ksb(A,w)|0;Krb(A)|0}if(f[r>>2]|0?(d=f[q>>2]|0,A=(f[y>>2]|0)+4|0,x=f[d>>2]|0,f[x+4>>2]=f[A>>2],f[f[A>>2]>>2]=x,f[r>>2]=0,(d|0)!=(y|0)):0)do{e=d;d=f[d+4>>2]|0;g=f[e+8>>2]|0;if(g|0?(x=g+8|0,A=f[x>>2]|0,f[x>>2]=A-1,(A|0)==1):0)Rua(g,1,1);GBb(e)}while((d|0)!=(y|0));u=z;return}function r2(a,c){a=a|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,K=0;J=u;u=u+32|0;G=J+16|0;I=J;z=J+12|0;A=+p[c+16>>3];w=f[c+12>>2]|0;C=e$a(d$a()|0)|0;D=H;f[I>>2]=I;E=I+4|0;f[E>>2]=I;F=I+8|0;f[F>>2]=0;c=f[a+100>>2]|0;i=c+28|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;e=c+16|0;s=c+24|0;h=f[s>>2]|0;v=f[F>>2]|0;f[s>>2]=v;f[F>>2]=h;s=e;r=f[s>>2]|0;s=f[s+4>>2]|0;q=I;d=f[q+4>>2]|0;t=e;f[t>>2]=f[q>>2];f[t+4>>2]=d;t=I;f[t>>2]=r;f[t+4>>2]=s;if(!v){f[e>>2]=e;c=c+20|0}else{f[d>>2]=e;c=(f[e>>2]|0)+4|0}f[c>>2]=e;if(!h){f[I>>2]=I;c=E}else{f[f[E>>2]>>2]=I;c=(f[I>>2]|0)+4|0}f[c>>2]=I;_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;t=e$a(d$a()|0)|0;v=H;c=f[E>>2]|0;d=c;if((I|0)!=(d|0)){m=a+120|0;n=a+136|0;o=a+144|0;q=G+4|0;r=a+152|0;s=a+160|0;l=d;do{k=f[c+8>>2]|0;f[z>>2]=0;if((b[k+100>>0]|0)==0?BY(k+72|0,z)|0:0){j=(YZ(0)|0)+236|0;if(f[j>>2]|0){e=(YZ(0)|0)+236|0;e=f[e>>2]|0;i=f[k+80>>2]|0;j=e+116|0;f[j>>2]=0;Bj[f[(f[i>>2]|0)+212>>2]&1023](i,e);i=e+80|0;h=e+84|0;s2(i,f[h>>2]|0);f[e+88>>2]=0;f[i>>2]=h;f[h>>2]=0;h=e+92|0;i=e+96|0;t2(h,f[i>>2]|0);f[e+100>>2]=0;f[h>>2]=i;f[i>>2]=0;f[j>>2]=0}c=f[z>>2]|0;do if(c){e=WCb(c,295168,298344,0)|0;if(e|0){c=_i[f[(f[e>>2]|0)+248>>2]&2047](e)|0;L0a(e,c);d=e+200|0;p[(f[d>>2]|0)+(c<<6)+40>>3]=A;c=_i[f[(f[e>>2]|0)+248>>2]&2047](e)|0;L0a(e,c);f[(f[d>>2]|0)+(c<<6)+48>>2]=w;c=_i[f[(f[e>>2]|0)+248>>2]&2047](e)|0;c=(f[d>>2]|0)+(c<<6)+56|0;d=f[c>>2]|0;if(!d){c=1;break}f[c>>2]=0;i=d+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1){c=1;break}Rua(d,1,1);c=1;break}c=WCb(c,295168,298584,0)|0;if(((c|0)!=0?(x=_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0,x=(f[c+136>>2]|0)+(x<<4)+12|0,y=f[x>>2]|0,(y|0)!=0):0)?(f[x>>2]=0,i=y+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0){Rua(y,1,1);e=0;c=0}else{e=0;c=0}}else{e=0;c=0}while(0);i=f[z>>2]|0;j=k+80|0;cj[f[(f[i>>2]|0)+228>>2]&1023](i,f[j>>2]|0)|0;if(c){h=f[m>>2]|0;i=f[(f[h>>2]|0)+36>>2]|0;f[G>>2]=0;c=cCa(e)|0;d=f[G>>2]|0;if((d|0)!=(c|0)){f[G>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(K=d+8|0,c=f[K>>2]|0,f[K>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[G>>2]|0}if(!c)c=0;else c=(f[c+24>>2]|0)==0?0:e;f[q>>2]=c;d=cj[i&1023](h,G)|0;c=f[G>>2]|0;if(c|0?(i=c+8|0,K=f[i>>2]|0,f[i>>2]=K-1,(K|0)==1):0)Rua(c,1,1);c=f[(f[a>>2]|0)+52>>2]|0;if(d)B=39;else Fj[c&511](a,e,w)}else{c=f[(f[a>>2]|0)+52>>2]|0;B=39}if((B|0)==39){B=0;Fj[c&511](a,f[j>>2]|0,w)}c=k+88|0;if(f[c>>2]|0?(K=(YZ(0)|0)+212|0,f[K>>2]|0):0){K=(YZ(0)|0)+212|0;u2(f[K>>2]|0,f[c>>2]|0)}g=A-+p[k+32>>3];if(g<+p[n>>3])p[n>>3]=g;if(g>+p[o>>3])p[o>>3]=g;p[r>>3]=g+ +p[r>>3];f[s>>2]=(f[s>>2]|0)+1}else B=48;if((B|0)==48?(B=0,qZa(4)|0):0){K=Nu(Hua(4)|0,394298,94)|0;Drb(G,K+(f[(f[K>>2]|0)+-12>>2]|0)|0);j=utb(G,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(G);ksb(K,j)|0;Krb(K)|0}c=k+80|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,k=d+8|0,K=f[k>>2]|0,f[k>>2]=K-1,(K|0)==1):0)Rua(d,1,1);c=f[z>>2]|0;if(c|0?(k=c+8|0,K=f[k>>2]|0,f[k>>2]=K-1,(K|0)==1):0)Rua(c,1,1);c=f[l+4>>2]|0;l=c}while((I|0)!=(l|0))}e=e$a(d$a()|0)|0;h=H;if(!(f[F>>2]|0)){u=J;return}if(qZa(4)|0){d=Nu(Hua(4)|0,394393,45)|0;c=d$a()|0;if(v>>>0>D>>>0|(v|0)==(D|0)&t>>>0>C>>>0){K=NDb(t|0,v|0,C|0,D|0)|0;g=+p[c+8>>3]*(+(K>>>0)+4294967296.0*+(H>>>0))}else{K=NDb(C|0,D|0,t|0,v|0)|0;g=-(+p[c+8>>3]*(+(K>>>0)+4294967296.0*+(H>>>0)))}d=Nu(isb(d,g*1.0e3)|0,394439,4)|0;c=d$a()|0;if(h>>>0>v>>>0|(h|0)==(v|0)&e>>>0>t>>>0){K=NDb(e|0,h|0,t|0,v|0)|0;g=+p[c+8>>3]*(+(K>>>0)+4294967296.0*+(H>>>0))}else{K=NDb(t|0,v|0,e|0,h|0)|0;g=-(+p[c+8>>3]*(+(K>>>0)+4294967296.0*+(H>>>0)))}K=Nu(Nu(isb(d,g*1.0e3)|0,413892,2)|0,394444,9)|0;K=esb(K,f[F>>2]|0)|0;Drb(G,K+(f[(f[K>>2]|0)+-12>>2]|0)|0);D=utb(G,504576)|0;D=cj[f[(f[D>>2]|0)+28>>2]&1023](D,10)|0;vtb(G);ksb(K,D)|0;Krb(K)|0;Drb(G,K+(f[(f[K>>2]|0)+-12>>2]|0)|0);D=utb(G,504576)|0;D=cj[f[(f[D>>2]|0)+28>>2]&1023](D,10)|0;vtb(G);ksb(K,D)|0;Krb(K)|0}if(!(f[F>>2]|0)){u=J;return}c=f[E>>2]|0;K=(f[I>>2]|0)+4|0;G=f[c>>2]|0;f[G+4>>2]=f[K>>2];f[f[K>>2]>>2]=G;f[F>>2]=0;if((c|0)==(I|0)){u=J;return}do{d=c;c=f[c+4>>2]|0;e=f[d+8>>2]|0;if(e|0?(G=e+8|0,K=f[G>>2]|0,f[G>>2]=K-1,(K|0)==1):0)Rua(e,1,1);GBb(d)}while((c|0)!=(I|0));u=J;return}function s2(a,b){a=a|0;b=b|0;if(!b)return;else{s2(a,f[b>>2]|0);s2(a,f[b+4>>2]|0);GBb(b);return}}function t2(a,b){a=a|0;b=b|0;if(!b)return;else{t2(a,f[b>>2]|0);t2(a,f[b+4>>2]|0);GBb(b);return}}function u2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+16|0;h=l+4|0;i=l;if((b|0)==(a|0)){u=l;return}j=a+24|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;k=b+24|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;if(qZa(5)|0){g=Nu(Hua(5)|0,394454,38)|0;g=esb(g,f[b+20>>2]|0)|0;Drb(h,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(h,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(h);ksb(g,e)|0;Krb(g)|0}c=f[b+12>>2]|0;e=b+16|0;if((c|0)!=(e|0)){g=a+16|0;d=a+12|0;while(1){b=c+16|0;f[i>>2]=g;f[h>>2]=f[i>>2];v2(d,h,b,b)|0;b=f[c+4>>2]|0;if(!b){a=c+8|0;b=f[a>>2]|0;if((f[b>>2]|0)!=(c|0))do{c=f[a>>2]|0;a=c+8|0;b=f[a>>2]|0}while((f[b>>2]|0)!=(c|0))}else while(1){a=f[b>>2]|0;if(!a)break;else b=a}if((b|0)==(e|0))break;else c=b}}_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;u=l;return}function v2(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;h=u;u=u+16|0;e=h+12|0;g=h+8|0;i=h;f[i>>2]=f[b>>2];f[e>>2]=f[i>>2];e=w2(a,e,g,h+4|0,c)|0;b=f[e>>2]|0;if(b|0){i=b;u=h;return i|0}c=EBb(48)|0;OBb(c+16|0,d);b=f[d+12>>2]|0;f[c+28>>2]=b;if(b|0){i=b+8|0;f[i>>2]=(f[i>>2]|0)+1}b=f[d+16>>2]|0;f[c+32>>2]=b;if(b|0){i=b+8|0;f[i>>2]=(f[i>>2]|0)+1}p[c+40>>3]=+p[d+24>>3];b=f[g>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=b;f[e>>2]=c;b=f[f[a>>2]>>2]|0;if(!b)b=c;else{f[a>>2]=b;b=f[e>>2]|0}Xo(f[a+4>>2]|0,b);i=a+8|0;f[i>>2]=(f[i>>2]|0)+1;i=c;u=h;return i|0}function w2(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0;i=a+4|0;h=f[b>>2]|0;b=h;if((h|0)!=(i|0)?(g=h+16|0,!(A_(0,e,g)|0)):0){if(!(A_(0,g,e)|0)){f[c>>2]=b;f[d>>2]=b;c=d;return c|0}d=f[h+4>>2]|0;if(!d){g=h+8|0;d=f[g>>2]|0;if((f[d>>2]|0)!=(h|0))do{j=f[g>>2]|0;g=j+8|0;d=f[g>>2]|0}while((f[d>>2]|0)!=(j|0))}else while(1){g=f[d>>2]|0;if(!g)break;else d=g}if((d|0)!=(i|0)?!(A_(0,e,d+16|0)|0):0){b=f[i>>2]|0;if(!b){f[c>>2]=i;j=i;return j|0}g=a+4|0;while(1){d=b+16|0;if(A_(0,e,d)|0){d=f[b>>2]|0;if(!d){a=42;break}else{g=b;b=d}}else{if(!(A_(0,d,e)|0)){a=46;break}g=b+4|0;d=f[g>>2]|0;if(!d){a=45;break}else b=d}}if((a|0)==42){f[c>>2]=b;j=b;return j|0}else if((a|0)==45){f[c>>2]=b;j=g;return j|0}else if((a|0)==46){f[c>>2]=b;j=g;return j|0}}if(!(f[h+4>>2]|0)){f[c>>2]=b;j=h+4|0;return j|0}else{f[c>>2]=d;j=d;return j|0}}g=f[h>>2]|0;if((f[a>>2]|0)!=(h|0)){if(!g){b=h;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0))}else{b=g;while(1){d=f[b+4>>2]|0;if(!d)break;else b=d}}if(!(A_(0,b+16|0,e)|0)){b=f[i>>2]|0;if(!b){f[c>>2]=i;j=i;return j|0}g=a+4|0;while(1){d=b+16|0;if(A_(0,e,d)|0){d=f[b>>2]|0;if(!d){a=18;break}else{g=b;b=d}}else{if(!(A_(0,d,e)|0)){a=22;break}g=b+4|0;d=f[g>>2]|0;if(!d){a=21;break}else b=d}}if((a|0)==18){f[c>>2]=b;j=b;return j|0}else if((a|0)==21){f[c>>2]=b;j=g;return j|0}else if((a|0)==22){f[c>>2]=b;j=g;return j|0}}}if(!g){f[c>>2]=h;j=h;return j|0}else{f[c>>2]=b;j=b+4|0;return j|0}return 0}function x2(a){a=a|0;dDa(a,325376);Gva(a+64|0);return}function y2(a){a=a|0;dDa(a,325376);Gva(a+64|0);GBb(a);return}function z2(a){a=a|0;return 386307}function A2(a){a=a|0;return 394493}function B2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;e=g;f[b+188>>2]=f[a+60>>2];f[e>>2]=0;d=cCa(b)|0;if((d|0)!=0?(f[e>>2]=d,c=d+8|0,f[c>>2]=(f[c>>2]|0)+1,c=f[e>>2]|0,(c|0)!=0):0)c=(f[c+24>>2]|0)==0?0:b;else c=0;f[e+4>>2]=c;d=f[a+56>>2]|0;Bj[f[(f[d>>2]|0)+32>>2]&1023](d,e);switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);break}case 0:break;default:Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a)}c=f[e>>2]|0;if(!c){u=g;return}b=c+8|0;e=f[b>>2]|0;f[b>>2]=e-1;if((e|0)!=1){u=g;return}Rua(c,1,1);u=g;return}function C2(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,325376);Gva(a+64|0);return}function D2(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,325376);Gva(a+64|0);GBb(a);return}function E2(a){a=a|0;return 386307}function F2(a){a=a|0;return 394493}function G2(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=u;u=u+16|0;i=p;m=a+28|0;_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;n=a+12|0;o=f[(f[n>>2]|0)+84>>2]|0;j=a+40|0;if((f[j>>2]|0)==(o|0)){o=a+24|0;o=f[o>>2]|0;n=f[m>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](m)|0;o=(o|0)==0;u=p;return o|0}c=f[a+20>>2]|0;k=a+16|0;d=c;if((k|0)!=(d|0)){l=a+24|0;do{h=(f[n>>2]|0)+24|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;e=c+8|0;g=f[e>>2]|0;if((b[g+12>>0]|0)!=0?(o-(f[g+44>>2]|0)|0)>>>0<2:0)c=f[d+4>>2]|0;else{HZ(a,g);if(qZa(4)|0){g=Nu(Hua(4)|0,394562,72)|0;g=jsb(g,f[e>>2]|0)|0;Drb(i,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(i,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(i);ksb(g,e)|0;Krb(g)|0}g=d+4|0;e=f[g>>2]|0;q=f[d>>2]|0;f[q+4>>2]=e;f[f[g>>2]>>2]=q;f[l>>2]=(f[l>>2]|0)+-1;d=f[d+8>>2]|0;if(d|0?(g=d+8|0,q=f[g>>2]|0,f[g>>2]=q-1,(q|0)==1):0)Rua(d,1,1);GBb(c);c=e}_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;d=c}while((k|0)!=(d|0))}f[j>>2]=o;tj[f[(f[a>>2]|0)+12>>2]&2047](a);q=a+24|0;q=f[q>>2]|0;o=f[m>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](m)|0;q=(q|0)==0;u=p;return q|0}function H2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function I2(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;h=a+28|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;i=a+16|0;g=a+20|0;c=f[g>>2]|0;d=c;if((i|0)!=(d|0)){e=a+12|0;do{j=(f[e>>2]|0)+24|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;HZ(a,f[c+8>>2]|0);_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;c=f[d+4>>2]|0;d=c}while((i|0)!=(d|0))}c=a+24|0;if(f[c>>2]|0?(b=f[g>>2]|0,j=(f[i>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[j>>2],f[f[j>>2]>>2]=g,f[c>>2]=0,(b|0)!=(i|0)):0)do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(g=d+8|0,j=f[g>>2]|0,f[g>>2]=j-1,(j|0)==1):0)Rua(d,1,1);GBb(c)}while((b|0)!=(i|0));f[a+40>>2]=f[(f[a+12>>2]|0)+84>>2];tj[f[(f[a>>2]|0)+12>>2]&2047](a);_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;return}function J2(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;t=u;u=u+16|0;q=t;v_a(a,1);f[a>>2]=325308;t4a(a+12|0,0);t4a(a+24|0,0);f[a+44>>2]=0;f[a+48>>2]=0;f[a+40>>2]=a+44;r=a+56|0;f[r>>2]=0;n=a+60|0;f[n>>2]=0;o=a+64|0;f[o>>2]=0;t4a(a+72|0,0);d=a+84|0;f[d>>2]=0;j=a+88|0;k=a+92|0;l=a+96|0;m=a+100|0;s=a+120|0;f[s>>2]=0;f[a+132>>2]=0;e=a+164|0;f[e>>2]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;g=EBb(32)|0;rZa(g);h=g+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[g+24>>2]=2;f[g+28>>2]=0;f[g>>2]=323484;h=f[e>>2]|0;if(((h|0)!=(g|0)?(f[e>>2]=g,i=g+8|0,f[i>>2]=(f[i>>2]|0)+1,h|0):0)?(g=h+8|0,i=f[g>>2]|0,f[g>>2]=i-1,(i|0)==1):0)Rua(h,1,1);jx(f[e>>2]|0,394700);b[a+36>>0]=0;b[a+52>>0]=0;b[a+53>>0]=1;b[a+54>>0]=0;f[a+68>>2]=0;f[d>>2]=0;f[a+104>>2]=f[c+104>>2];b[a+108>>0]=b[c+108>>0]|0;b[a+109>>0]=b[c+109>>0]|0;b[a+110>>0]=b[c+110>>0]|0;b[a+111>>0]=b[c+111>>0]|0;f[a+112>>2]=f[c+112>>2];b[a+116>>0]=b[c+116>>0]|0;f[a+124>>2]=f[c+124>>2];b[a+128>>0]=b[c+128>>0]|0;e=EBb(84)|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;d=EBb(32)|0;f[q>>2]=d;f[q+8>>2]=-2147483616;f[q+4>>2]=16;g=d;h=394739;i=g+16|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+16>>0]=0;K2(e,a,q);d=f[j>>2]|0;if(((d|0)!=(e|0)?(f[j>>2]=e,j=e+8|0,f[j>>2]=(f[j>>2]|0)+1,d|0):0)?(i=d+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(d,1,1);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);e=EBb(84)|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;d=EBb(32)|0;f[q>>2]=d;f[q+8>>2]=-2147483616;f[q+4>>2]=16;g=d;h=394756;i=g+16|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+16>>0]=0;K2(e,a,q);d=f[k>>2]|0;if(((d|0)!=(e|0)?(f[k>>2]=e,k=e+8|0,f[k>>2]=(f[k>>2]|0)+1,d|0):0)?(j=d+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(d,1,1);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);d=EBb(44)|0;L2(d,a);e=f[l>>2]|0;if(((e|0)!=(d|0)?(f[l>>2]=d,l=d+8|0,f[l>>2]=(f[l>>2]|0)+1,e|0):0)?(k=e+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(e,1,1);d=EBb(44)|0;L2(d,a);e=f[m>>2]|0;if(((e|0)!=(d|0)?(f[m>>2]=d,m=d+8|0,f[m>>2]=(f[m>>2]|0)+1,e|0):0)?(l=e+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(e,1,1);d=f[c+56>>2]|0;h=c+60|0;if((d|0)!=(f[h>>2]|0))do{e=EBb(48)|0;m=f[d>>2]|0;rZa(e);l=e+12|0;X3a(l);f[e>>2]=324028;f[l>>2]=324056;f[e+20>>2]=0;b[e+24>>0]=0;f[e+28>>2]=a;f[e+32>>2]=f[m+32>>2];OBb(e+36|0,m+36|0);f[q>>2]=e;e=e+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[n>>2]|0;if(e>>>0<(f[o>>2]|0)>>>0){g=f[q>>2]|0;f[e>>2]=g;if(g){e=g+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[n>>2]|0}f[n>>2]=e+4}else H2(r,q);e=f[q>>2]|0;if(e|0?(l=e+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(e,1,1);d=d+4|0}while((d|0)!=(f[h>>2]|0));Bj[f[(f[a>>2]|0)+36>>2]&1023](a,c+40|0);d=f[c+120>>2]|0;d=_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;e=f[s>>2]|0;if((e|0)==(d|0)){x_a(100);s=a+136|0;p[s>>3]=1797693134862315708145274.0e284;s=a+144|0;p[s>>3]=-1797693134862315708145274.0e284;s=a+152|0;p[s>>3]=0.0;s=a+160|0;f[s>>2]=0;u=t;return}f[s>>2]=d;if(d|0){s=d+8|0;f[s>>2]=(f[s>>2]|0)+1}if(!e){x_a(100);s=a+136|0;p[s>>3]=1797693134862315708145274.0e284;s=a+144|0;p[s>>3]=-1797693134862315708145274.0e284;s=a+152|0;p[s>>3]=0.0;s=a+160|0;f[s>>2]=0;u=t;return}r=e+8|0;s=f[r>>2]|0;f[r>>2]=s-1;if((s|0)!=1){x_a(100);s=a+136|0;p[s>>3]=1797693134862315708145274.0e284;s=a+144|0;p[s>>3]=-1797693134862315708145274.0e284;s=a+152|0;p[s>>3]=0.0;s=a+160|0;f[s>>2]=0;u=t;return}Rua(e,1,1);x_a(100);s=a+136|0;p[s>>3]=1797693134862315708145274.0e284;s=a+144|0;p[s>>3]=-1797693134862315708145274.0e284;s=a+152|0;p[s>>3]=0.0;s=a+160|0;f[s>>2]=0;u=t;return}function K2(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;L2(a,c);f[a>>2]=324004;e=a+44|0;f[e>>2]=0;OBb(a+48|0,d);t4a(a+60|0,0);c=a+72|0;f[c>>2]=c;f[a+76>>2]=c;f[a+80>>2]=0;a=EBb(40)|0;c=a+28|0;v_a(c,1);t4a(a+4|0,0);s4a(a+16|0);b[a+24>>0]=0;f[a>>2]=325944;f[c>>2]=325968;c=f[e>>2]|0;if((c|0)==(a|0))return;f[e>>2]=a;e=a+36|0;f[e>>2]=(f[e>>2]|0)+1;if(!c)return;c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1)return;Rua(c,1,1);return}function L2(a,b){a=a|0;b=b|0;rZa(a);f[a>>2]=323980;f[a+12>>2]=b;b=a+16|0;f[b>>2]=b;f[a+20>>2]=b;f[a+24>>2]=0;t4a(a+28|0,0);f[a+40>>2]=-1;return}function M2(a){a=a|0;Q2(a+4|0);Uua(a+28|0);return}function N2(a){a=a|0;Q2(a+4|0);Uua(a+28|0);GBb(a);return}function O2(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Q2(a+4|0);Uua(a+28|0);return}function P2(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Q2(a+4|0);Uua(a+28|0);GBb(a);return}function Q2(a){a=a|0;var c=0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;c=a+20|0;if(!(b[c>>0]|0)){b[c>>0]=1;P3a(a+12|0)|0}_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;K3a(a+12|0);R3a(a);return}function R2(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;o=p;h=f[a+56>>2]|0;i=a+60|0;e=f[i>>2]|0;if((e|0)!=(h|0))do{e=e+-4|0;g=f[e>>2]|0;if(g|0?(m=g+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(g,1,1);f[e>>2]=0}while((e|0)!=(h|0));f[i>>2]=h;k=c>>>0>d>>>0?c-d|0:1;e=(k|0)!=0;if(!d){if(!e){u=p;return}g=o+8|0;c=o+4|0;h=o+11|0;e=0;do{i=f[(f[a>>2]|0)+40>>2]|0;j=EBb(32)|0;f[o>>2]=j;f[g>>2]=-2147483616;f[c>>2]=19;l=j;m=395272;n=l+19|0;do{b[l>>0]=b[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0));b[j+19>>0]=0;dj[i&255](a,0,o)|0;if((b[h>>0]|0)<0)GBb(f[o>>2]|0);e=e+1|0}while(e>>>0>>0);u=p;return}if(e){g=o+8|0;c=o+4|0;h=o+11|0;e=0;do{i=f[(f[a>>2]|0)+40>>2]|0;j=EBb(16)|0;f[o>>2]=j;f[g>>2]=-2147483632;f[c>>2]=15;l=j;m=395292;n=l+15|0;do{b[l>>0]=b[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0));b[j+15>>0]=0;dj[i&255](a,1,o)|0;if((b[h>>0]|0)<0)GBb(f[o>>2]|0);e=e+1|0}while(e>>>0>>0)}g=o+8|0;c=o+4|0;h=o+11|0;e=0;do{i=f[(f[a>>2]|0)+40>>2]|0;j=EBb(32)|0;f[o>>2]=j;f[g>>2]=-2147483616;f[c>>2]=16;l=j;m=395308;n=l+16|0;do{b[l>>0]=b[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0));b[j+16>>0]=0;dj[i&255](a,2,o)|0;if((b[h>>0]|0)<0)GBb(f[o>>2]|0);e=e+1|0}while(e>>>0>>0);u=p;return}function S2(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=325988;c=a+92|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+88|0;d=f[c>>2]|0;if(d|0?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+84|0;d=f[c>>2]|0;if(d|0?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+80|0;d=f[c>>2]|0;if(d|0?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+72|0;d=f[c>>2]|0;if(d|0?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+64|0;d=f[c>>2]|0;if(d|0?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+16|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function T2(a){a=a|0;S2(a);GBb(a);return}function U2(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function V2(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function W2(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function X2(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function Y2(a){a=a|0;var b=0,c=0,d=0;b=f[a>>2]|0;if(b|0?(d=b+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[a>>2]=0;return}function Z2(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=f[a>>2]|0;if(!d)return;e=a+4|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));b=f[a>>2]|0}f[e>>2]=d;GBb(b);return}function _2(a){a=a|0;iv(a,f[a+4>>2]|0);return}function $2(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;h=u;u=u+16|0;e=h+12|0;g=h+8|0;i=h;f[i>>2]=f[b>>2];f[e>>2]=f[i>>2];e=a3(a,e,g,h+4|0,c)|0;b=f[e>>2]|0;if(b|0){i=b;u=h;return i|0}c=EBb(28)|0;OBb(c+16|0,d);b=f[g>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=b;f[e>>2]=c;b=f[f[a>>2]>>2]|0;if(!b)b=c;else{f[a>>2]=b;b=f[e>>2]|0}Xo(f[a+4>>2]|0,b);i=a+8|0;f[i>>2]=(f[i>>2]|0)+1;i=c;u=h;return i|0}function a3(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var 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;q=a+4|0;v=f[c>>2]|0;c=v;do if((v|0)!=(q|0)){m=v+16|0;k=b[m+11>>0]|0;j=k<<24>>24<0;k=j?f[v+20>>2]|0:k&255;t=b[g+11>>0]|0;s=t<<24>>24<0;t=s?f[g+4>>2]|0:t&255;p=k>>>0>>0;o=p?k:t;l=(o|0)==0;if(!l?(h=s?f[g>>2]|0:g,i=j?f[m>>2]|0:m,n=anb(h,i,o)|0,(n|0)!=0):0)if((n|0)<0)break;else w=23;else{if(t>>>0>>0)break;if(l)w=24;else{i=j?f[m>>2]|0:m;h=s?f[g>>2]|0:g;w=23}}if((w|0)==23){h=anb(i,h,o)|0;if(h){if((h|0)>=0)w=42}else w=24}if((w|0)==24?!p:0)w=42;if((w|0)==42){f[d>>2]=c;f[e>>2]=c;d=e;return d|0}h=f[v+4>>2]|0;if(!h){i=v+8|0;h=f[i>>2]|0;if((f[h>>2]|0)!=(v|0))do{r=f[i>>2]|0;i=r+8|0;h=f[i>>2]|0}while((f[h>>2]|0)!=(r|0))}else while(1){i=f[h>>2]|0;if(!i)break;else h=i}do if((h|0)!=(q|0)){j=h+16|0;l=b[j+11>>0]|0;k=l<<24>>24<0;l=k?f[h+20>>2]|0:l&255;i=l>>>0>>0?l:t;if((i|0)!=0?(u=anb(s?f[g>>2]|0:g,k?f[j>>2]|0:j,i)|0,(u|0)!=0):0){if((u|0)<0)break}else w=36;if((w|0)==36?t>>>0>>0:0)break;d=u0(a,d,g)|0;return d|0}while(0);if(!(f[v+4>>2]|0)){f[d>>2]=c;d=v+4|0;return d|0}else{f[d>>2]=h;d=h;return d|0}}while(0);n=f[v>>2]|0;do if((f[a>>2]|0)!=(v|0)){if(!n){c=v;do{u=c;c=f[c+8>>2]|0}while((f[c>>2]|0)==(u|0));h=c}else{c=n;while(1){h=f[c+4>>2]|0;if(!h){h=c;break}else c=h}}c=h;j=h+16|0;l=b[g+11>>0]|0;k=l<<24>>24<0;l=k?f[g+4>>2]|0:l&255;i=b[j+11>>0]|0;m=i<<24>>24<0;i=m?f[h+20>>2]|0:i&255;h=l>>>0>>0?l:i;if((h|0)!=0?(r=anb(m?f[j>>2]|0:j,k?f[g>>2]|0:g,h)|0,(r|0)!=0):0){if((r|0)<0)break}else w=15;if((w|0)==15?i>>>0>>0:0)break;d=u0(a,d,g)|0;return d|0}while(0);if(!n){f[d>>2]=v;d=v;return d|0}else{f[d>>2]=c;d=c+4|0;return d|0}return 0}function b3(a){a=a|0;var b=0;f[a>>2]=220812;b=a+108|0;f[b>>2]=220832;es(a+8|0);crb(a,326048);kqb(b);return}function c3(a){a=a|0;var b=0;f[a>>2]=220812;b=a+108|0;f[b>>2]=220832;es(a+8|0);crb(a,326048);kqb(b);GBb(a);return}function d3(a){a=a|0;var b=0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[b>>2]=220812;a=b+108|0;f[a>>2]=220832;es(b+8|0);crb(b,326048);kqb(a);return}function e3(a){a=a|0;var b=0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[a>>2]=220812;b=a+108|0;f[b>>2]=220832;es(a+8|0);crb(a,326048);kqb(b);GBb(a);return}function f3(a){a=a|0;var b=0;f[a>>2]=220860;b=a+104|0;f[b>>2]=220880;es(a+4|0);mrb(a,326112);kqb(b);return}function g3(a){a=a|0;var b=0;f[a>>2]=220860;b=a+104|0;f[b>>2]=220880;es(a+4|0);mrb(a,326112);kqb(b);GBb(a);return}function h3(a){a=a|0;var b=0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[b>>2]=220860;a=b+104|0;f[a>>2]=220880;es(b+4|0);mrb(b,326112);kqb(a);return}function i3(a){a=a|0;var b=0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[a>>2]=220860;b=a+104|0;f[b>>2]=220880;es(a+4|0);mrb(a,326112);kqb(b);GBb(a);return}function j3(a){a=a|0;var b=0;f[a>>2]=220860;b=a+104|0;f[b>>2]=220880;es(a+4|0);mrb(a,326132);kqb(b);return}function k3(a){a=a|0;var b=0;f[a>>2]=220860;b=a+104|0;f[b>>2]=220880;es(a+4|0);mrb(a,326132);kqb(b);GBb(a);return}function l3(a){a=a|0;var b=0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[b>>2]=220860;a=b+104|0;f[a>>2]=220880;es(b+4|0);mrb(b,326132);kqb(a);return}function m3(a){a=a|0;var b=0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[a>>2]=220860;b=a+104|0;f[b>>2]=220880;es(a+4|0);mrb(a,326132);kqb(b);GBb(a);return}function n3(a){a=a|0;var c=0,d=0;f[a>>2]=326152;c=a+12|0;f[c>>2]=326180;d=a+32|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);A3a(c);Uua(a);return}function o3(a){a=a|0;var c=0,d=0;f[a>>2]=326152;c=a+12|0;f[c>>2]=326180;d=a+32|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);A3a(c);Uua(a);GBb(a);return}function p3(a){a=a|0;var c=0,d=0,e=0;e=a+12|0;if(!(h4a(e)|0))return 0;b[a+20>>0]=1;switch(f[a+24>>2]|0){case 0:{a=f[(f[(f[a+28>>2]|0)+44>>2]|0)+36>>2]|0;c=a+4|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+24|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;break}case 1:{a=f[(f[(f[a+28>>2]|0)+44>>2]|0)+36>>2]|0;c=a+4|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+24|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;break}case 2:{a=f[(f[(f[a+28>>2]|0)+44>>2]|0)+36>>2]|0;c=a+4|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+24|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;break}default:{}}d4a(e)|0;return 0}function q3(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=u;u=u+16|0;l=q+4|0;m=q;if(qZa(4)|0){k=jsb(Nu(Hua(4)|0,395518,31)|0,a)|0;Drb(l,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(l,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(l);ksb(k,j)|0;Krb(k)|0}switch(f[a+24>>2]|0){case 0:{c=a+28|0;d=f[(f[c>>2]|0)+44>>2]|0;if(!d)d=0;else{k=d+8|0;f[k>>2]=(f[k>>2]|0)+1}break}case 1:{c=a+28|0;d=f[(f[c>>2]|0)+44>>2]|0;if(!d)d=0;else{k=d+8|0;f[k>>2]=(f[k>>2]|0)+1}break}case 2:{c=a+28|0;d=f[(f[c>>2]|0)+44>>2]|0;if(!d)d=0;else{k=d+8|0;f[k>>2]=(f[k>>2]|0)+1}break}default:{c=a+28|0;d=0}}j=d+36|0;k=a+12|0;i=a+20|0;do{a=f[j>>2]|0;e=a+4|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;if(!(b[a+24>>0]|0))M3a(a+16|0,e)|0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;f[l>>2]=0;v3(d,l);a=f[l>>2]|0;if(a|0){w3(m,a+24|0,f[a+60>>2]|0);a=f[m>>2]|0;do if(a|0){e=f[l>>2]|0;h=f[e+40>>2]|0;do if((((h|0)!=0?(f[h+24>>2]|0)!=0:0)?(n=f[e+44>>2]|0,(n|0)!=0):0)?(o=WCb(n,295088,297400,0)|0,(o|0)!=0):0){e=f[e+48>>2]|0;if((e|0)>-1){V$a(o,e,a);break}else{W$a(o,a);break}}else p=23;while(0);if((p|0)==23){p=0;e=e+52|0;g=f[e>>2]|0;if(((g|0)!=(a|0)?(f[e>>2]=a,h=a+8|0,f[h>>2]=(f[h>>2]|0)+1,g|0):0)?(e=g+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(g,1,1);h=(f[(f[c>>2]|0)+60>>2]|0)+24|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;e=f[(f[c>>2]|0)+60>>2]|0;g=e+16|0;a=f[g>>2]|0;if((a|0)==(f[e+20>>2]|0))x3(e+12|0,l);else{e=f[l>>2]|0;f[a>>2]=e;if(e){a=e+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[g>>2]|0}f[g>>2]=a+4}_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;a=f[m>>2]|0;if(!a)break}g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)==1)Rua(a,1,1)}while(0)}a=f[l>>2]|0;if(a|0?(g=a+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(a,1,1);if(l4a(k)|0)break}while(!(b[i>>0]|0));if(qZa(4)|0){p=Nu(Hua(4)|0,395550,31)|0;Drb(l,p+(f[(f[p>>2]|0)+-12>>2]|0)|0);o=utb(l,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(l);ksb(p,o)|0;Krb(p)|0}if(!d){u=q;return}o=d+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1){u=q;return}Rua(d,1,1);u=q;return}function r3(a){a=a|0;var c=0,d=0;a=a+-12|0;f[a>>2]=326152;c=a+12|0;f[c>>2]=326180;d=a+32|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);A3a(c);Uua(a);return}function s3(a){a=a|0;var c=0,d=0;a=a+-12|0;f[a>>2]=326152;c=a+12|0;f[c>>2]=326180;d=a+32|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);A3a(c);Uua(a);GBb(a);return}function t3(a){a=a|0;p3(a+-12|0)|0;return 0}function u3(a){a=a|0;q3(a+-12|0);return}function v3(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=u;u=u+16|0;e=n;m=a+24|0;_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;i=a+12|0;g=f[i>>2]|0;k=a+16|0;d=f[k>>2]|0;if((g|0)==(d|0)){l=f[m>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](m)|0;u=n;return}l=a+12|0;y3(g,d,e);if(qZa(4)|0){g=Nu(Hua(4)|0,395602,45)|0;g=esb(g,(f[k>>2]|0)-(f[i>>2]|0)>>2)|0;Drb(e,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);d=utb(e,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(e);ksb(g,d)|0;Krb(g)|0}d=f[c>>2]|0;e=f[f[i>>2]>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1}if(d|0?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1)}f[(f[c>>2]|0)+56>>2]=0;e=f[i>>2]|0;d=e+4|0;i=f[k>>2]|0;if((d|0)!=(i|0)){do{g=f[e>>2]|0;c=f[d>>2]|0;if((g|0)!=(c|0)){f[e>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(g|0?(o=g+8|0,c=f[o>>2]|0,f[o>>2]=c-1,(c|0)==1):0)Rua(g,1,1)}d=d+4|0;e=e+4|0}while((d|0)!=(i|0));d=f[k>>2]|0;if((d|0)==(e|0))d=e;else{g=e;j=20}}else{g=e;j=20}if((j|0)==20){do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(j=e+8|0,o=f[j>>2]|0,f[j>>2]=o-1,(o|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));d=g}f[k>>2]=d;g=f[a+36>>2]|0;c=g+4|0;if((f[l>>2]|0)==(d|0))d=0;else d=(b[(f[a+40>>2]|0)+26>>0]|0)==0;e=g+24|0;if((d&1|0)==(h[e>>0]|0)){o=f[m>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](m)|0;u=n;return}_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;if(!d){b[e>>0]=0;_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;o=f[m>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](m)|0;u=n;return}if(!(b[e>>0]|0)){b[e>>0]=1;P3a(g+16|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;o=f[m>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](m)|0;u=n;return}function w3(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+48|0;j=m+32|0;l=m+12|0;k=m;h=YZ(0)|0;if((d|0)!=0?(e=f[d+116>>2]|0,(e|0)!=0):0)Ij[f[(f[e>>2]|0)+8>>2]&127](l,e,c,d);else g=4;do if((g|0)==4){e=f[h+48>>2]|0;if(!e){x1(l,h,c,d);break}else{Ij[f[(f[e>>2]|0)+8>>2]&127](l,e,c,d);break}}while(0);g=l+16|0;e=f[g>>2]|0;if((e|0)!=0?(i=WCb(e,295088,297384,0)|0,(i|0)!=0):0){f[a>>2]=i;k=i+8|0;f[k>>2]=(f[k>>2]|0)+1}else{if(((f[l>>2]|1|0)!=5?qZa(2)|0:0)?(h=Nu(Hua(2)|0,395582,19)|0,d=b[c+11>>0]|0,i=d<<24>>24<0,d=Nu(Nu(h,i?f[c>>2]|0:c,i?f[c+4>>2]|0:d&255)|0,438125,2)|0,b_(k,l),i=k+11|0,c=b[i>>0]|0,h=c<<24>>24<0,c=Nu(d,h?f[k>>2]|0:k,h?f[k+4>>2]|0:c&255)|0,Drb(j,c+(f[(f[c>>2]|0)+-12>>2]|0)|0),h=utb(j,504576)|0,h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0,vtb(j),ksb(c,h)|0,Krb(c)|0,(b[i>>0]|0)<0):0)GBb(f[k>>2]|0);f[a>>2]=0}e=f[g>>2]|0;if(e|0?(j=e+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(e,1,1);f[g>>2]=0;e=l+4|0;if((b[e+11>>0]|0)>=0){u=m;return}GBb(f[e>>2]|0);u=m;return}function x3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;c=f[m>>2]|0;d=f[a>>2]|0;i=c-d>>2;e=i+1|0;g=d;if(e>>>0>1073741823)DCb(a);l=a+8|0;j=(f[l>>2]|0)-d|0;k=j>>1;e=j>>2>>>0<536870911?(k>>>0>>0?e:k):1073741823;do if(e)if(e>>>0>1073741823){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{j=EBb(e<<2)|0;break}else j=0;while(0);d=j+(i<<2)|0;k=j+(e<<2)|0;e=f[b>>2]|0;f[d>>2]=e;if(e){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0;c=f[m>>2]|0}h=d+4|0;e=g;if((c|0)==(g|0))b=e;else{b=i+-1-((c+-4-e|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}d=j+(b<<2)|0;b=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=d;f[m>>2]=h;f[l>>2]=k;e=b;if((c|0)!=(e|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));if(!b)return;GBb(b);return}function y3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,g=0,h=0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0.0;a:while(1){n=b;g=b+-4|0;o=b+-8|0;q=b;t=a;b:while(1){a=n-t|0;d=a>>2;switch(d|0){case 2:{k=4;break a}case 3:{k=6;break a}case 4:{k=14;break a}case 5:{k=26;break a}case 1:case 0:{k=79;break a}default:{}}if((a|0)<28){k=28;break a}m=t+(((d|0)/2|0)<<2)|0;do if((a|0)<=3996){d=f[m>>2]|0;j=+p[d+16>>3];i=f[t>>2]|0;e=+p[i+16>>3];h=f[g>>2]|0;a=+p[h+16>>3]>2]=h;f[g>>2]=d;a=f[m>>2]|0;d=f[t>>2]|0;if(!(+p[a+16>>3]<+p[d+16>>3])){a=1;d=m;l=t;break}f[t>>2]=a;f[m>>2]=d;a=2;d=m;l=t;break}if(a){f[t>>2]=h;f[g>>2]=i;a=1;d=m;l=t;break}f[t>>2]=d;f[m>>2]=i;a=f[g>>2]|0;if(+p[a+16>>3]