Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

23 Zeilen
5.1MB

  1. 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<base+0;i++){if(!functionPointers[i]){functionPointers[i]=func;return jsCallStartIndex+i}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}var funcWrappers={};function dynCall(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}var Runtime={dynCall:dynCall};var GLOBAL_BASE=8;var ABORT=0;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}var JSfuncs={"stackSave":(function(){stackSave()}),"stackRestore":(function(){stackRestore()}),"arrayToC":(function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};function ccall(ident,returnType,argTypes,args,opts){function convertReturnValue(ret){if(returnType==="string")return Pointer_stringify(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);ret=convertReturnValue(ret);if(stack!==0)stackRestore(stack);return ret}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}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<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[ptr++>>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i];type=singleType||types[i];if(type===0){i++;continue}if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}function getMemory(size){if(!staticSealed)return staticAlloc(size);if(!runtimeInitialized)return dynamicAlloc(size);return _malloc(size)}function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){t=HEAPU8[ptr+i>>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return 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<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}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<HEAP32[DYNAMICTOP_PTR>>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_MEMORY<TOTAL_STACK)err("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+TOTAL_MEMORY+"! (TOTAL_STACK="+TOTAL_STACK+")");if(Module["buffer"]){buffer=Module["buffer"]}else{{buffer=new ArrayBuffer(TOTAL_MEMORY)}Module["buffer"]=buffer}updateGlobalBufferViews();function getTotalMemory(){return TOTAL_MEMORY}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){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<str.length;++i){HEAP8[buffer++>>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<num){var val=HEAP32[src];data[dst]=val&255;data[dst+1]=val>>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<j){data8[i]=255;i=i+4|0;data8[i]=255;i=i+4|0;data8[i]=255;i=i+4|0;data8[i]=255;i=i+4|0;data8[i]=255;i=i+4|0;data8[i]=255;i=i+4|0;data8[i]=255;i=i+4|0;data8[i]=255;i=i+4|0}}else{while(i<j){data8[i]=255;i=i+4|0}}}SDL2.ctx.putImageData(SDL2.image,0,0);return 0}),(function($0,$1,$2){var w=$0;var h=$1;var pixels=$2;var canvas=document.createElement("canvas");canvas.width=w;canvas.height=h;var ctx=canvas.getContext("2d");var image=ctx.createImageData(w,h);var data=image.data;var src=pixels>>2;var dst=0;var num;if(typeof CanvasPixelArray!=="undefined"&&data instanceof CanvasPixelArray){num=data.length;while(dst<num){var val=HEAP32[src];data[dst]=val&255;data[dst+1]=val>>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<tracks.length;i++){SDL2.capture.stream.removeTrack(tracks[i])}SDL2.capture.stream=undefined}if(SDL2.capture.scriptProcessorNode!==undefined){SDL2.capture.scriptProcessorNode.onaudioprocess=(function(audioProcessingEvent){});SDL2.capture.scriptProcessorNode.disconnect();SDL2.capture.scriptProcessorNode=undefined}if(SDL2.capture.mediaStreamNode!==undefined){SDL2.capture.mediaStreamNode.disconnect();SDL2.capture.mediaStreamNode=undefined}if(SDL2.capture.silenceBuffer!==undefined){SDL2.capture.silenceBuffer=undefined}SDL2.capture=undefined}else{if(SDL2.audio.scriptProcessorNode!=undefined){SDL2.audio.scriptProcessorNode.disconnect();SDL2.audio.scriptProcessorNode=undefined}SDL2.audio=undefined}if(SDL2.audioContext!==undefined&&SDL2.audio===undefined&&SDL2.capture===undefined){SDL2.audioContext.close();SDL2.audioContext=undefined}}),(function($0,$1){var numChannels=SDL2.capture.currentCaptureBuffer.numberOfChannels;if(numChannels==1){var channelData=SDL2.capture.currentCaptureBuffer.getChannelData(0);if(channelData.length!=$1){throw"Web Audio capture buffer length mismatch! Destination size: "+channelData.length+" samples vs expected "+$1+" samples!"}for(var j=0;j<$1;++j){setValue($0+j*4,channelData[j],"float")}}else{for(var c=0;c<numChannels;++c){var channelData=SDL2.capture.currentCaptureBuffer.getChannelData(c);if(channelData.length!=$1){throw"Web Audio capture buffer length mismatch! Destination size: "+channelData.length+" samples vs expected "+$1+" samples!"}for(var j=0;j<$1;++j){setValue($0+(j*numChannels+c)*4,channelData[j],"float")}}}}),(function($0,$1){var numChannels=SDL2.audio.currentOutputBuffer["numberOfChannels"];for(var c=0;c<numChannels;++c){var channelData=SDL2.audio.currentOutputBuffer["getChannelData"](c);if(channelData.length!=$1){throw"Web Audio output buffer length mismatch! Destination size: "+channelData.length+" samples vs expected "+$1+" samples!"}for(var j=0;j<$1;++j){channelData[j]=HEAPF32[$0+(j*numChannels+c<<2)>>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<strings.length;i++){var line=strings[i];writeAsciiToMemory(line,poolPtr);HEAP32[envPtr+i*ptrSize>>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}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<typeArray.length;i++){if(typeArray[i]&&Module["___cxa_can_catch"](typeArray[i],throwntype,thrown)){thrown=HEAP32[thrown>>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<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")})};var TTY={ttys:[],init:(function(){}),shutdown:(function(){}),register:(function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)}),stream_ops:{open:(function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}stream.tty=tty;stream.seekable=false}),close:(function(stream){stream.tty.ops.flush(stream.tty)}),flush:(function(stream){stream.tty.ops.flush(stream.tty)}),read:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(ERRNO_CODES.ENXIO)}for(var i=0;i<length;i++){try{stream.tty.ops.put_char(stream.tty,buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})},default_tty_ops:{get_char:(function(tty){if(!tty.input.length){var result=null;if(ENVIRONMENT_IS_NODE){var BUFSIZE=256;var buf=new Buffer(BUFSIZE);var bytesRead=0;var isPosixPlatform=process.platform!="win32";var fd=process.stdin.fd;if(isPosixPlatform){var usingDevice=false;try{fd=fs.openSync("/dev/stdin","r");usingDevice=true}catch(e){}}try{bytesRead=fs.readSync(fd,buf,0,BUFSIZE,null)}catch(e){if(e.toString().indexOf("EOF")!=-1)bytesRead=0;else throw e}if(usingDevice){fs.closeSync(fd)}if(bytesRead>0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()}),put_char:(function(tty,val){if(val===null||val===10){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;i<node.usedBytes;++i)arr.push(node.contents[i]);return arr}return node.contents}),getFileDataAsTypedArray:(function(node){if(!node.contents)return new Uint8Array;if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)}),expandFileStorage:(function(node,newCapacity){if(node.contents&&node.contents.subarray&&newCapacity>node.contents.length){node.contents=MEMFS.getFileDataAsRegularArray(node);node.usedBytes=node.contents.length}if(!node.contents||node.contents.subarray){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)|0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.length<newCapacity)node.contents.push(0)}),resizeFileStorage:(function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length<newSize)node.contents.push(0);node.usedBytes=newSize}),node_ops:{getattr:(function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr}),setattr:(function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}}),lookup:(function(parent,name){throw FS.genericErrors[ERRNO_CODES.ENOENT]}),mknod:(function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)}),rename:(function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}}}delete old_node.parent.contents[old_node.name];old_node.name=new_name;new_dir.contents[new_name]=old_node;old_node.parent=new_dir}),unlink:(function(parent,name){delete parent.contents[name]}),rmdir:(function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}delete parent.contents[name]}),readdir:(function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries}),symlink:(function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node}),readlink:(function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return node.link})},stream_ops:{read:(function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);assert(size>=0);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i<size;i++)buffer[offset+i]=contents[position+i]}return size}),write:(function(stream,buffer,offset,length,position,canOwn){if(!length)return 0;var node=stream.node;node.timestamp=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=new Uint8Array(buffer.subarray(offset,offset+length));node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray)node.contents.set(buffer.subarray(offset,offset+length),position);else{for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}}node.usedBytes=Math.max(node.usedBytes,position+length);return length}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.usedBytes}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position}),allocate:(function(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&(contents.buffer===buffer||contents.buffer===buffer.buffer)){allocated=false;ptr=contents.byteOffset}else{if(position>0||position+length<stream.node.usedBytes){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}allocated=true;ptr=_malloc(length);if(!ptr){throw new FS.ErrnoError(ERRNO_CODES.ENOMEM)}buffer.set(contents,ptr)}return{ptr:ptr,allocated:allocated}}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(mmapFlags&2){return 0}var bytesWritten=MEMFS.stream_ops.write(stream,buffer,0,length,offset,false);return 0})}};var IDBFS={dbs:{},indexedDB:(function(){if(typeof indexedDB!=="undefined")return indexedDB;var ret=null;if(typeof window==="object")ret=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;assert(ret,"IDBFS used, but indexedDB not supported");return ret}),DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:(function(mount){return MEMFS.mount.apply(null,arguments)}),syncfs:(function(mount,populate,callback){IDBFS.getLocalSet(mount,(function(err,local){if(err)return callback(err);IDBFS.getRemoteSet(mount,(function(err,remote){if(err)return callback(err);var src=populate?remote:local;var dst=populate?local:remote;IDBFS.reconcile(src,dst,callback)}))}))}),getDB:(function(name,callback){var db=IDBFS.dbs[name];if(db){return callback(null,db)}var req;try{req=IDBFS.indexedDB().open(name,IDBFS.DB_VERSION)}catch(e){return callback(e)}if(!req){return callback("Unable to connect to IndexedDB")}req.onupgradeneeded=(function(e){var db=e.target.result;var transaction=e.target.transaction;var fileStore;if(db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)){fileStore=transaction.objectStore(IDBFS.DB_STORE_NAME)}else{fileStore=db.createObjectStore(IDBFS.DB_STORE_NAME)}if(!fileStore.indexNames.contains("timestamp")){fileStore.createIndex("timestamp","timestamp",{unique:false})}});req.onsuccess=(function(){db=req.result;IDBFS.dbs[name]=db;callback(null,db)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),getLocalSet:(function(mount,callback){var entries={};function isRealDir(p){return p!=="."&&p!==".."}function toAbsolute(root){return(function(p){return PATH.join2(root,p)})}var check=FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));while(check.length){var path=check.pop();var stat;try{stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){check.push.apply(check,FS.readdir(path).filter(isRealDir).map(toAbsolute(path)))}entries[path]={timestamp:stat.mtime}}return callback(null,{type:"local",entries:entries})}),getRemoteSet:(function(mount,callback){var entries={};IDBFS.getDB(mount.mountpoint,(function(err,db){if(err)return callback(err);try{var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readonly");transaction.onerror=(function(e){callback(this.error);e.preventDefault()});var store=transaction.objectStore(IDBFS.DB_STORE_NAME);var index=store.index("timestamp");index.openKeyCursor().onsuccess=(function(event){var cursor=event.target.result;if(!cursor){return callback(null,{type:"remote",db:db,entries:entries})}entries[cursor.primaryKey]={timestamp:cursor.key};cursor.continue()})}catch(e){return callback(e)}}))}),loadLocalEntry:(function(path,callback){var stat,node;try{var lookup=FS.lookupPath(path);node=lookup.node;stat=FS.stat(path)}catch(e){return callback(e)}if(FS.isDir(stat.mode)){return callback(null,{timestamp:stat.mtime,mode:stat.mode})}else if(FS.isFile(stat.mode)){node.contents=MEMFS.getFileDataAsTypedArray(node);return callback(null,{timestamp:stat.mtime,mode:stat.mode,contents:node.contents})}else{return callback(new Error("node type not supported"))}}),storeLocalEntry:(function(path,entry,callback){try{if(FS.isDir(entry.mode)){FS.mkdir(path,entry.mode)}else if(FS.isFile(entry.mode)){FS.writeFile(path,entry.contents,{canOwn:true})}else{return callback(new Error("node type not supported"))}FS.chmod(path,entry.mode);FS.utime(path,entry.timestamp,entry.timestamp)}catch(e){return callback(e)}callback(null)}),removeLocalEntry:(function(path,callback){try{var lookup=FS.lookupPath(path);var stat=FS.stat(path);if(FS.isDir(stat.mode)){FS.rmdir(path)}else if(FS.isFile(stat.mode)){FS.unlink(path)}}catch(e){return callback(e)}callback(null)}),loadRemoteEntry:(function(store,path,callback){var req=store.get(path);req.onsuccess=(function(event){callback(null,event.target.result)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),storeRemoteEntry:(function(store,path,entry,callback){var req=store.put(entry,path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),removeRemoteEntry:(function(store,path,callback){var req=store.delete(path);req.onsuccess=(function(){callback(null)});req.onerror=(function(e){callback(this.error);e.preventDefault()})}),reconcile:(function(src,dst,callback){var total=0;var create=[];Object.keys(src.entries).forEach((function(key){var e=src.entries[key];var e2=dst.entries[key];if(!e2||e.timestamp>e2.timestamp){create.push(key);total++}}));var remove=[];Object.keys(dst.entries).forEach((function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}}));if(!total){return callback(null)}var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=(function(e){done(this.error);e.preventDefault()});create.sort().forEach((function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,(function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)}))}else{IDBFS.loadLocalEntry(path,(function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)}))}}));remove.sort().reverse().forEach((function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}}))})};var NODEFS={isWindows:false,staticInit:(function(){NODEFS.isWindows=!!process.platform.match(/^win/);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<parts.length-1;i++){var curr=parts.slice(0,i+1).join("/");if(!createdParents[curr]){createdParents[curr]=WORKERFS.createNode(parent,parts[i],WORKERFS.DIR_MODE,0)}parent=createdParents[curr]}return parent}function base(path){var parts=path.split("/");return parts[parts.length-1]}Array.prototype.forEach.call(mount.opts["files"]||[],(function(file){WORKERFS.createNode(ensureParent(file.name),base(file.name),WORKERFS.FILE_MODE,0,file,file.lastModifiedDate)}));(mount.opts["blobs"]||[]).forEach((function(obj){WORKERFS.createNode(ensureParent(obj["name"]),base(obj["name"]),WORKERFS.FILE_MODE,0,obj["data"])}));(mount.opts["packages"]||[]).forEach((function(pack){pack["metadata"].files.forEach((function(file){var name=file.filename.substr(1);WORKERFS.createNode(ensureParent(name),base(name),WORKERFS.FILE_MODE,0,pack["blob"].slice(file.start,file.end))}))}));return root}),createNode:(function(parent,name,mode,dev,contents,mtime){var node=FS.createNode(parent,name,mode);node.mode=mode;node.node_ops=WORKERFS.node_ops;node.stream_ops=WORKERFS.stream_ops;node.timestamp=(mtime||new Date).getTime();assert(WORKERFS.FILE_MODE!==WORKERFS.DIR_MODE);if(mode===WORKERFS.FILE_MODE){node.size=contents.size;node.contents=contents}else{node.size=4096;node.contents={}}if(parent){parent.contents[name]=node}return node}),node_ops:{getattr:(function(node){return{dev:1,ino:undefined,mode:node.mode,nlink:1,uid:0,gid:0,rdev:undefined,size:node.size,atime:new Date(node.timestamp),mtime:new Date(node.timestamp),ctime:new Date(node.timestamp),blksize:4096,blocks:Math.ceil(node.size/4096)}}),setattr:(function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}}),lookup:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}),mknod:(function(parent,name,mode,dev){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),rename:(function(oldNode,newDir,newName){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),unlink:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),rmdir:(function(parent,name){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),readdir:(function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries}),symlink:(function(parent,newName,oldPath){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}),readlink:(function(node){throw new FS.ErrnoError(ERRNO_CODES.EPERM)})},stream_ops:{read:(function(stream,buffer,offset,length,position){if(position>=stream.node.size)return 0;var chunk=stream.node.contents.slice(position,position+length);var ab=WORKERFS.reader.readAsArrayBuffer(chunk);buffer.set(new Uint8Array(ab),offset);return chunk.size}),write:(function(stream,buffer,offset,length,position){throw new FS.ErrnoError(ERRNO_CODES.EIO)}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.size}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};STATICTOP+=16;STATICTOP+=16;STATICTOP+=16;var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:(function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)}),lookupPath:(function(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}var parts=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),false);var current=FS.root;var current_path="/";for(var i=0;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}current=FS.lookupNode(current,parts[i]);current_path=PATH.join2(current_path,parts[i]);if(FS.isMountpoint(current)){if(!islast||islast&&opts.follow_mount){current=current.mounted.root}}if(!islast||opts.follow){var count=0;while(FS.isLink(current.mode)){var link=FS.readlink(current_path);current_path=PATH.resolve(PATH.dirname(current_path),link);var lookup=FS.lookupPath(current_path,{recurse_count:opts.recurse_count});current=lookup.node;if(count++>40){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}}}return{path:current_path,node:current}}),getPath:(function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}}),hashName:(function(parentid,name){var hash=0;for(var i=0;i<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>0)%FS.nameTable.length}),hashAddNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node}),hashRemoveNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}}),lookupNode:(function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)}),createNode:(function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=(function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev});FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:(function(){return(this.mode&readMode)===readMode}),set:(function(val){val?this.mode|=readMode:this.mode&=~readMode})},write:{get:(function(){return(this.mode&writeMode)===writeMode}),set:(function(val){val?this.mode|=writeMode:this.mode&=~writeMode})},isFolder:{get:(function(){return FS.isDir(this.mode)})},isDevice:{get:(function(){return FS.isChrdev(this.mode)})}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node}),destroyNode:(function(node){FS.hashRemoveNode(node)}),isRoot:(function(node){return node===node.parent}),isMountpoint:(function(node){return!!node.mounted}),isFile:(function(mode){return(mode&61440)===32768}),isDir:(function(mode){return(mode&61440)===16384}),isLink:(function(mode){return(mode&61440)===40960}),isChrdev:(function(mode){return(mode&61440)===8192}),isBlkdev:(function(mode){return(mode&61440)===24576}),isFIFO:(function(mode){return(mode&61440)===4096}),isSocket:(function(mode){return(mode&49152)===49152}),flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:(function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags}),flagsToPermissionString:(function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms}),nodePermissions:(function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return ERRNO_CODES.EACCES}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return ERRNO_CODES.EACCES}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return ERRNO_CODES.EACCES}return 0}),mayLookup:(function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return ERRNO_CODES.EACCES;return 0}),mayCreate:(function(dir,name){try{var node=FS.lookupNode(dir,name);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(dir,"wx")}),mayDelete:(function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return ERRNO_CODES.ENOTDIR}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return ERRNO_CODES.EBUSY}}else{if(FS.isDir(node.mode)){return ERRNO_CODES.EISDIR}}return 0}),mayOpen:(function(node,flags){if(!node){return ERRNO_CODES.ENOENT}if(FS.isLink(node.mode)){return ERRNO_CODES.ELOOP}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return ERRNO_CODES.EISDIR}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))}),MAX_OPEN_FDS:4096,nextfd:(function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(ERRNO_CODES.EMFILE)}),getStream:(function(fd){return FS.streams[fd]}),createStream:(function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=(function(){});FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:(function(){return this.node}),set:(function(val){this.node=val})},isRead:{get:(function(){return(this.flags&2097155)!==1})},isWrite:{get:(function(){return(this.flags&2097155)!==0})},isAppend:{get:(function(){return this.flags&1024})}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream}),closeStream:(function(fd){FS.streams[fd]=null}),chrdev_stream_ops:{open:(function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}}),llseek:(function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)})},major:(function(dev){return dev>>8}),minor:(function(dev){return dev&255}),makedev:(function(ma,mi){return ma<<8|mi}),registerDevice:(function(dev,ops){FS.devices[dev]={stream_ops:ops}}),getDevice:(function(dev){return FS.devices[dev]}),getMounts:(function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts}),syncfs:(function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){assert(FS.syncFSRequests>0);FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach((function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)}))}),mount:(function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot}),unmount:(function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach((function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}}));node.mounted=null;var idx=node.mount.mounts.indexOf(mount);assert(idx!==-1);node.mount.mounts.splice(idx,1)}),lookup:(function(parent,name){return parent.node_ops.lookup(parent,name)}),mknod:(function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.mknod(parent,name,mode,dev)}),create:(function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)}),mkdir:(function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)}),mkdirTree:(function(path,mode){var dirs=path.split("/");var d="";for(var i=0;i<dirs.length;++i){if(!dirs[i])continue;d+="/"+dirs[i];try{FS.mkdir(d,mode)}catch(e){if(e.errno!=ERRNO_CODES.EEXIST)throw e}}}),mkdev:(function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)}),symlink:(function(oldpath,newpath){if(!PATH.resolve(oldpath)){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var newname=PATH.basename(newpath);var err=FS.mayCreate(parent,newname);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.symlink(parent,newname,oldpath)}),rename:(function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;try{lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!old_dir||!new_dir)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(ERRNO_CODES.EXDEV)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}relative=PATH.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var err=FS.mayDelete(old_dir,old_name,isdir);if(err){throw new FS.ErrnoError(err)}err=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(err){throw new FS.ErrnoError(err)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(new_dir!==old_dir){err=FS.nodePermissions(old_dir,"w");if(err){throw new FS.ErrnoError(err)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){console.log("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){console.log("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}}),rmdir:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,true);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}return node.node_ops.readdir(node)}),unlink:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,false);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readlink:(function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!link.node_ops.readlink){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return PATH.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))}),stat:(function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!node.node_ops.getattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return node.node_ops.getattr(node)}),lstat:(function(path){return FS.stat(path,true)}),chmod:(function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})}),lchmod:(function(path,mode){FS.chmod(path,mode,true)}),fchmod:(function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chmod(stream.node,mode)}),chown:(function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{timestamp:Date.now()})}),lchown:(function(path,uid,gid){FS.chown(path,uid,gid,true)}),fchown:(function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chown(stream.node,uid,gid)}),truncate:(function(path,len){if(len<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.nodePermissions(node,"w");if(err){throw new FS.ErrnoError(err)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})}),ftruncate:(function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}FS.truncate(stream.node,len)}),utime:(function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})}),open:(function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}if(!created){var err=FS.mayOpen(node,flags);if(err){throw new FS.ErrnoError(err)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;err("read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){console.log("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream}),close:(function(stream){if(FS.isClosed(stream)){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null}),isClosed:(function(stream){return stream.fd===null}),llseek:(function(stream,offset,whence){if(FS.isClosed(stream)){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position}),read:(function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(FS.isClosed(stream)){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.read){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var seeking=typeof position!=="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead}),write:(function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(FS.isClosed(stream)){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.write){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!=="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return bytesWritten}),allocate:(function(stream,offset,length){if(FS.isClosed(stream)){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(offset<0||length<=0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}stream.stream_ops.allocate(stream,offset,length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EACCES)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}return stream.stream_ops.mmap(stream,buffer,offset,length,position,prot,flags)}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)}),munmap:(function(stream){return 0}),ioctl:(function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(ERRNO_CODES.ENOTTY)}return stream.stream_ops.ioctl(stream,cmd,arg)}),readFile:(function(path,opts){opts=opts||{};opts.flags=opts.flags||"r";opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret}),writeFile:(function(path,data,opts){opts=opts||{};opts.flags=opts.flags||"w";var stream=FS.open(path,opts.flags,opts.mode);if(typeof data==="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)}),cwd:(function(){return FS.currentPath}),chdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var err=FS.nodePermissions(lookup.node,"x");if(err){throw new FS.ErrnoError(err)}FS.currentPath=lookup.path}),createDefaultDirectories:(function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")}),createDefaultDevices:(function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:(function(){return 0}),write:(function(stream,buffer,offset,length,pos){return length})});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device;if(typeof crypto!=="undefined"){var randomBuffer=new Uint8Array(1);random_device=(function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]})}else if(ENVIRONMENT_IS_NODE){random_device=(function(){return require("crypto")["randomBytes"](1)[0]})}else{random_device=(function(){return Math.random()*256|0})}FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")}),createSpecialDirectories:(function(){FS.mkdir("/proc");FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:(function(){var node=FS.createNode("/proc/self","fd",16384|511,73);node.node_ops={lookup:(function(parent,name){var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:(function(){return stream.path})}};ret.parent=ret;return ret})};return node})},{},"/proc/self/fd")}),createStandardStreams:(function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin","r");assert(stdin.fd===0,"invalid handle for stdin ("+stdin.fd+")");var stdout=FS.open("/dev/stdout","w");assert(stdout.fd===1,"invalid handle for stdout ("+stdout.fd+")");var stderr=FS.open("/dev/stderr","w");assert(stderr.fd===2,"invalid handle for stderr ("+stderr.fd+")")}),ensureErrnoError:(function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=(function(errno){this.errno=errno;for(var key in ERRNO_CODES){if(ERRNO_CODES[key]===errno){this.code=key;break}}});this.setErrno(errno);this.message=ERRNO_MESSAGES[errno];if(this.stack)Object.defineProperty(this,"stack",{value:(new Error).stack,writable:true})};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[ERRNO_CODES.ENOENT].forEach((function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack="<generic error, no stack>"}))}),staticInit:(function(){FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS,"IDBFS":IDBFS,"NODEFS":NODEFS,"WORKERFS":WORKERFS}}),init:(function(input,output,error){assert(!FS.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)");FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()}),quit:(function(){FS.init.initialized=false;var fflush=Module["_fflush"];if(fflush)fflush(0);for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}}),getMode:(function(canRead,canWrite){var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode}),joinPath:(function(parts,forceRelative){var path=PATH.join.apply(null,parts);if(forceRelative&&path[0]=="/")path=path.substr(1);return path}),absolutePath:(function(relative,base){return PATH.resolve(base,relative)}),standardizePath:(function(path){return PATH.normalize(path)}),findObject:(function(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(ret.exists){return ret.object}else{___setErrNo(ret.error);return null}}),analyzePath:(function(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret}),createFolder:(function(parent,name,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.mkdir(path,mode)}),createPath:(function(parent,path,canRead,canWrite){parent=typeof parent==="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current}),createFile:(function(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)}),createDataFile:(function(parent,name,data,canRead,canWrite,canOwn){var path=name?PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name):parent;var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data==="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,"w");FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}return node}),createDevice:(function(parent,name,input,output){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:(function(stream){stream.seekable=false}),close:(function(stream){if(output&&output.buffer&&output.buffer.length){output(10)}}),read:(function(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead}),write:(function(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}}if(length){stream.node.timestamp=Date.now()}return i})});return FS.mkdev(path,mode,dev)}),createLink:(function(parent,name,target,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);return FS.symlink(target,path)}),forceLoadFile:(function(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;var success=true;if(typeof XMLHttpRequest!=="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(Module["read"]){try{obj.contents=intArrayFromString(Module["read"](obj.url),true);obj.usedBytes=obj.contents.length}catch(e){success=false}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}if(!success)___setErrNo(ERRNO_CODES.EIO);return success}),createLazyFile:(function(parent,name,url,canRead,canWrite){function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}});var lazyArray=this;lazyArray.setDataGetter((function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]}));if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;console.log("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._length})},chunkSize:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize})}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:(function(){return this.contents.length})}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach((function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return fn.apply(null,arguments)}}));stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);assert(size>=0);if(contents.slice){for(var i=0;i<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size};node.stream_ops=stream_ops;return node}),createPreloadedFile:(function(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish){Browser.init();var fullname=name?PATH.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}var handled=false;Module["preloadPlugins"].forEach((function(plugin){if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,(function(){if(onerror)onerror();removeRunDependency(dep)}));handled=true}}));if(!handled)finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){Browser.asyncLoad(url,(function(byteArray){processData(byteArray)}),onerror)}else{processData(url)}}),indexedDB:(function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB}),DB_NAME:(function(){return"EM_FS_"+window.location.pathname}),DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=function openRequest_onupgradeneeded(){console.log("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=function putRequest_onsuccess(){ok++;if(ok+fail==total)finish()};putRequest.onerror=function putRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror}),loadFilesFromDB:(function(paths,onload,onerror){onload=onload||(function(){});onerror=onerror||(function(){});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach((function(path){var getRequest=files.get(path);getRequest.onsuccess=function getRequest_onsuccess(){if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=function getRequest_onerror(){fail++;if(ok+fail==total)finish()}}));transaction.onerror=onerror};openRequest.onerror=onerror})};var SYSCALLS={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:(function(dirfd,path){if(path[0]!=="/"){var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=FS.getStream(dirfd);if(!dirstream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);dir=dirstream.path}path=PATH.join2(dir,path)}return path}),doStat:(function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-ERRNO_CODES.ENOTDIR}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;HEAP32[buf+36>>2]=stat.size;HEAP32[buf+40>>2]=4096;HEAP32[buf+44>>2]=stat.blocks;HEAP32[buf+48>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+52>>2]=0;HEAP32[buf+56>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ino;return 0}),doMsync:(function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)}),doMkdir:(function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0}),doMknod:(function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}FS.mknod(path,mode,dev);return 0}),doReadlink:(function(path,buf,bufsize){if(bufsize<=0)return-ERRNO_CODES.EINVAL;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len}),doAccess:(function(path,amode){if(amode&~7){return-ERRNO_CODES.EINVAL}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-ERRNO_CODES.EACCES}return 0}),doDup:(function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd}),doReadv:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len)break}return ret}),doWritev:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}),varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),getStreamFromFD:(function(){var stream=FS.getStream(SYSCALLS.get());if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return stream}),getSocketFromFD:(function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return socket}),getSocketAddress:(function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___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(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;setTimeout(Browser.mainLoop.runner,0);return}if(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;Browser.mainLoop.currentFrameNumber=Browser.mainLoop.currentFrameNumber+1|0;if(Browser.mainLoop.timingMode==1&&Browser.mainLoop.timingValue>1&&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(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;if(typeof SDL==="object"&&SDL.audio&&SDL.audio.queueNewAudioData)SDL.audio.queueNewAudioData();Browser.mainLoop.scheduler()};if(!noSetTiming){if(fps&&fps>0)_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<expected){Module["setStatus"](message+" ("+(expected-remaining)+"/"+expected+")")}else{Module["setStatus"](message)}}else{Module["setStatus"]("")}}}),runIter:(function(func){if(ABORT)return;if(Module["preMainLoop"]){var preRet=Module["preMainLoop"]();if(preRet===false){return}}try{func()}catch(e){if(e instanceof ExitStatus){return}else{if(e&&typeof e==="object"&&e.stack)err("exception thrown: "+[e,e.stack]);throw e}}if(Module["postMainLoop"])Module["postMainLoop"]()})},isFullscreen:false,pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],init:(function(){if(!Module["preloadPlugins"])Module["preloadPlugins"]=[];if(Browser.initted)return;Browser.initted=true;try{new Blob;Browser.hasBlobConstructor=true}catch(e){Browser.hasBlobConstructor=false;console.log("warning: no blob constructor, cannot create blobs with mimetypes")}Browser.BlobBuilder=typeof MozBlobBuilder!="undefined"?MozBlobBuilder:typeof WebKitBlobBuilder!="undefined"?WebKitBlobBuilder:!Browser.hasBlobConstructor?console.log("warning: no BlobBuilder"):null;Browser.URLObject=typeof window!="undefined"?window.URL?window.URL:window.webkitURL:undefined;if(!Module.noImageDecoding&&typeof Browser.URLObject==="undefined"){console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");Module.noImageDecoding=true}var imagePlugin={};imagePlugin["canHandle"]=function imagePlugin_canHandle(name){return!Module.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(name)};imagePlugin["handle"]=function imagePlugin_handle(byteArray,name,onload,onerror){var b=null;if(Browser.hasBlobConstructor){try{b=new Blob([byteArray],{type:Browser.getMimetype(name)});if(b.size!==byteArray.length){b=new Blob([(new Uint8Array(byteArray)).buffer],{type:Browser.getMimetype(name)})}}catch(e){warnOnce("Blob constructor present but fails: "+e+"; falling back to blob builder")}}if(!b){var bb=new Browser.BlobBuilder;bb.append((new Uint8Array(byteArray)).buffer);b=bb.getBlob()}var url=Browser.URLObject.createObjectURL(b);var img=new Image;img.onload=function img_onload(){assert(img.complete,"Image "+name+" could not be decoded");var canvas=document.createElement("canvas");canvas.width=img.width;canvas.height=img.height;var ctx=canvas.getContext("2d");ctx.drawImage(img,0,0);Module["preloadedImages"][name]=canvas;Browser.URLObject.revokeObjectURL(url);if(onload)onload(byteArray)};img.onerror=function img_onerror(event){console.log("Image "+url+" could not be decoded");if(onerror)onerror()};img.src=url};Module["preloadPlugins"].push(imagePlugin);var audioPlugin={};audioPlugin["canHandle"]=function audioPlugin_canHandle(name){return!Module.noAudioDecoding&&name.substr(-4)in{".ogg":1,".wav":1,".mp3":1}};audioPlugin["handle"]=function audioPlugin_handle(byteArray,name,onload,onerror){var done=false;function finish(audio){if(done)return;done=true;Module["preloadedAudios"][name]=audio;if(onload)onload(byteArray)}function fail(){if(done)return;done=true;Module["preloadedAudios"][name]=new Audio;if(onerror)onerror()}if(Browser.hasBlobConstructor){try{var b=new Blob([byteArray],{type:Browser.getMimetype(name)})}catch(e){return fail()}var url=Browser.URLObject.createObjectURL(b);var audio=new Audio;audio.addEventListener("canplaythrough",(function(){finish(audio)}),false);audio.onerror=function audio_onerror(event){if(done)return;console.log("warning: browser could not fully decode audio "+name+", trying slower base64 approach");function encode64(data){var BASE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var PAD="=";var ret="";var leftchar=0;var leftbits=0;for(var i=0;i<data.length;i++){leftchar=leftchar<<8|data[i];leftbits+=8;while(leftbits>=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<Module["forcedAspectRatio"]){w=Math.round(h*Module["forcedAspectRatio"])}else{h=Math.round(w/Module["forcedAspectRatio"])}}if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvas.parentNode&&typeof screen!="undefined"){var factor=Math.min(screen.width/w,screen.height/h);w=Math.round(w*factor);h=Math.round(h*factor)}if(Browser.resizeCanvas){if(canvas.width!=w)canvas.width=w;if(canvas.height!=h)canvas.height=h;if(typeof canvas.style!="undefined"){canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}else{if(canvas.width!=wNative)canvas.width=wNative;if(canvas.height!=hNative)canvas.height=hNative;if(typeof canvas.style!="undefined"){if(w!=wNative||h!=hNative){canvas.style.setProperty("width",w+"px","important");canvas.style.setProperty("height",h+"px","important")}else{canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}}}),wgetRequests:{},nextWgetRequestHandle:0,getNextWgetRequestHandle:(function(){var handle=Browser.nextWgetRequestHandle;Browser.nextWgetRequestHandle++;return handle})};var EGL={errorCode:12288,defaultDisplayInitialized:false,currentContext:0,currentReadSurface:0,currentDrawSurface:0,stringCache:{},setErrorCode:(function(code){EGL.errorCode=code}),chooseConfig:(function(display,attribList,config,config_size,numConfigs){if(display!=62e3){EGL.setErrorCode(12296);return 0}if((!config||!config_size)&&!numConfigs){EGL.setErrorCode(12300);return 0}if(numConfigs){HEAP32[numConfigs>>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<<event["button"];if(event.target==Module["canvas"]&&GLUT.mouseFunc){try{event.target.setCapture()}catch(e){}event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viiii"](GLUT.mouseFunc,event["button"],0,Browser.mouseX,Browser.mouseY)}}),onMouseButtonUp:(function(event){Browser.calculateMouseEvent(event);GLUT.buttons&=~(1<<event["button"]);if(GLUT.mouseFunc){event.preventDefault();GLUT.saveModifiers(event);Module["dynCall_viiii"](GLUT.mouseFunc,event["button"],1,Browser.mouseX,Browser.mouseY)}}),onMouseWheel:(function(event){Browser.calculateMouseEvent(event);var e=window.event||event;var delta=-Browser.getMouseWheelDelta(event);delta=delta==0?0:delta>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<GL.MINI_TEMP_BUFFER_SIZE;i++){GL.miniTempBufferViews[i]=GL.miniTempBuffer.subarray(0,i+1)}for(var i=0;i<32;i++){GL.tempFixedLengthArray.push(new Array(i))}}),recordError:function recordError(errorCode){if(!GL.lastError){GL.lastError=errorCode}},getNewId:(function(table){var ret=GL.counter++;for(var i=table.length;i<ret;i++){table[i]=null}return ret}),MINI_TEMP_BUFFER_SIZE:256,miniTempBuffer:null,miniTempBufferViews:[0],getSource:(function(shader,count,string,length){var source="";for(var i=0;i<count;++i){var frag;if(length){var len=HEAP32[length+i*4>>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<numUniforms;++i){var u=GLctx.getActiveUniform(p,i);var name=u.name;ptable.maxUniformLength=Math.max(ptable.maxUniformLength,name.length+1);if(name.indexOf("]",name.length-1)!==-1){var ls=name.lastIndexOf("[");name=name.slice(0,ls)}var loc=GLctx.getUniformLocation(p,name);if(loc!=null){var id=GL.getNewId(GL.uniforms);utable[name]=[u.size,id];GL.uniforms[id]=loc;for(var j=1;j<u.size;++j){var n=name+"["+j+"]";loc=GLctx.getUniformLocation(p,n);id=GL.getNewId(GL.uniforms);GL.uniforms[id]=loc}}}})};function _eglCreateContext(display,config,hmm,contextAttribs){if(display!=62e3){EGL.setErrorCode(12296);return 0}var glesContextVersion=1;for(;;){var param=HEAP32[contextAttribs>>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.precedence<y.precedence}))}),removeDeferredCalls:(function(targetFunction){for(var i=0;i<JSEvents.deferredCalls.length;++i){if(JSEvents.deferredCalls[i].targetFunction==targetFunction){JSEvents.deferredCalls.splice(i,1);--i}}}),canPerformEventHandlerRequests:(function(){return JSEvents.inEventHandler&&JSEvents.currentEventHandler.allowsDeferredCalls}),runDeferredCalls:(function(){if(!JSEvents.canPerformEventHandlerRequests()){return}for(var i=0;i<JSEvents.deferredCalls.length;++i){var call=JSEvents.deferredCalls[i];JSEvents.deferredCalls.splice(i,1);--i;call.targetFunction.apply(this,call.argsList)}}),inEventHandler:0,currentEventHandler:null,eventHandlers:[],isInternetExplorer:(function(){return navigator.userAgent.indexOf("MSIE")!==-1||navigator.appVersion.indexOf("Trident/")>0}),removeAllHandlersOnTarget:(function(target,eventTypeString){for(var i=0;i<JSEvents.eventHandlers.length;++i){if(JSEvents.eventHandlers[i].target==target&&(!eventTypeString||eventTypeString==JSEvents.eventHandlers[i].eventTypeString)){JSEvents._removeHandler(i--)}}}),_removeHandler:(function(i){var h=JSEvents.eventHandlers[i];h.target.removeEventListener(h.eventTypeString,h.eventListenerFunc,h.useCapture);JSEvents.eventHandlers.splice(i,1)}),registerOrRemoveHandler:(function(eventHandler){var jsEventHandler=function jsEventHandler(event){++JSEvents.inEventHandler;JSEvents.currentEventHandler=eventHandler;JSEvents.runDeferredCalls();eventHandler.handlerFunc(event);JSEvents.runDeferredCalls();--JSEvents.inEventHandler};if(eventHandler.callbackfunc){eventHandler.eventListenerFunc=jsEventHandler;eventHandler.target.addEventListener(eventHandler.eventTypeString,jsEventHandler,eventHandler.useCapture);JSEvents.eventHandlers.push(eventHandler);JSEvents.registerRemoveEventListeners()}else{for(var i=0;i<JSEvents.eventHandlers.length;++i){if(JSEvents.eventHandlers[i].target==eventHandler.target&&JSEvents.eventHandlers[i].eventTypeString==eventHandler.eventTypeString){JSEvents._removeHandler(i--)}}}}),registerKeyEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.keyEvent){JSEvents.keyEvent=_malloc(164)}var handlerFunc=(function(event){var e=event||window.event;stringToUTF8(e.key?e.key:"",JSEvents.keyEvent+0,32);stringToUTF8(e.code?e.code:"",JSEvents.keyEvent+32,32);HEAP32[JSEvents.keyEvent+64>>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<<orientation;HEAP32[eventStruct+4>>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<windowedRttWidth*cssHeight){var desiredCssHeight=windowedRttHeight*cssWidth/windowedRttWidth;__setLetterbox(target,(cssHeight-desiredCssHeight)/2,0);cssHeight=desiredCssHeight}else{var desiredCssWidth=windowedRttWidth*cssHeight/windowedRttHeight;__setLetterbox(target,0,(cssWidth-desiredCssWidth)/2);cssWidth=desiredCssWidth}}if(!target.style.backgroundColor)target.style.backgroundColor="black";if(!document.body.style.backgroundColor)document.body.style.backgroundColor="black";target.style.width=cssWidth+"px";target.style.height=cssHeight+"px";if(strategy.filteringMode==1){target.style.imageRendering="optimizeSpeed";target.style.imageRendering="-moz-crisp-edges";target.style.imageRendering="-o-crisp-edges";target.style.imageRendering="-webkit-optimize-contrast";target.style.imageRendering="optimize-contrast";target.style.imageRendering="crisp-edges";target.style.imageRendering="pixelated"}var dpiScale=strategy.canvasResolutionScaleMode==2?window.devicePixelRatio:1;if(strategy.canvasResolutionScaleMode!=0){target.width=cssWidth*dpiScale;target.height=cssHeight*dpiScale;if(target.GLctxObject)target.GLctxObject.GLctx.viewport(0,0,target.width,target.height)}return restoreOldStyle}),requestFullscreen:(function(target,strategy){if(strategy.scaleMode!=0||strategy.canvasResolutionScaleMode!=0){JSEvents.resizeCanvasForFullscreen(target,strategy)}if(target.requestFullscreen){target.requestFullscreen()}else if(target.msRequestFullscreen){target.msRequestFullscreen()}else if(target.mozRequestFullScreen){target.mozRequestFullScreen()}else if(target.mozRequestFullscreen){target.mozRequestFullscreen()}else if(target.webkitRequestFullscreen){target.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}else{if(typeof JSEvents.fullscreenEnabled()==="undefined"){return-1}else{return-3}}if(strategy.canvasResizedCallback){Module["dynCall_iiii"](strategy.canvasResizedCallback,37,0,strategy.canvasResizedCallbackUserData)}return 0}),fillPointerlockChangeEventData:(function(eventStruct,e){var pointerLockElement=document.pointerLockElement||document.mozPointerLockElement||document.webkitPointerLockElement||document.msPointerLockElement;var isPointerlocked=!!pointerLockElement;HEAP32[eventStruct>>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<e.touches.length;++i){var touch=e.touches[i];touches[touch.identifier]=touch}for(var i=0;i<e.changedTouches.length;++i){var touch=e.changedTouches[i];touches[touch.identifier]=touch;touch.changed=true}for(var i=0;i<e.targetTouches.length;++i){var touch=e.targetTouches[i];touches[touch.identifier].onTarget=true}var ptr=JSEvents.touchEvent;HEAP32[ptr+4>>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<e.axes.length;++i){HEAPF64[eventStruct+i*8+16>>3]=e.axes[i]}for(var i=0;i<e.buttons.length;++i){if(typeof e.buttons[i]==="object"){HEAPF64[eventStruct+i*8+528>>3]=e.buttons[i].value}else{HEAPF64[eventStruct+i*8+528>>3]=e.buttons[i]}}for(var i=0;i<e.buttons.length;++i){if(typeof e.buttons[i]==="object"){HEAP32[eventStruct+i*4+1040>>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<n;i++){var id=HEAP32[buffers+i*4>>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<n;++i){var id=HEAP32[framebuffers+i*4>>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<n;i++){var id=HEAP32[renderbuffers+i*4>>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<n;i++){var id=HEAP32[textures+i*4>>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<n;i++){var id=HEAP32[vaos+i*4>>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<n;i++){bufArray[i]=HEAP32[bufs+i*4>>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<n;i++){var buffer=GLctx.createBuffer();if(!buffer){GL.recordError(1282);while(i<n)HEAP32[buffers+i++*4>>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<n;++i){var framebuffer=GLctx.createFramebuffer();if(!framebuffer){GL.recordError(1282);while(i<n)HEAP32[ids+i++*4>>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<n;i++){var renderbuffer=GLctx.createRenderbuffer();if(!renderbuffer){GL.recordError(1282);while(i<n)HEAP32[renderbuffers+i++*4>>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<n;i++){var texture=GLctx.createTexture();if(!texture){GL.recordError(1282);while(i<n)HEAP32[textures+i++*4>>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<n;i++){var vao=GLctx["createVertexArray"]();if(!vao){GL.recordError(1282);while(i<n)HEAP32[arrays+i++*4>>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<len;++i){var id=GL.shaders.indexOf(result[i]);HEAP32[shaders+i*4>>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<result.length;++i){switch(type){case"Integer":HEAP32[p+i*4>>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<numAttribs;++i){var activeAttrib=GLctx.getActiveAttrib(program,i);ptable.maxAttributeLength=Math.max(ptable.maxAttributeLength,activeAttrib.name.length+1)}}HEAP32[p>>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<numBlocks;++i){var activeBlockName=GLctx.getActiveUniformBlockName(program,i);ptable.maxUniformBlockNameLength=Math.max(ptable.maxUniformBlockNameLength,activeBlockName.length+1)}}HEAP32[p>>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<exts.length;++i){gl_exts.push(exts[i]);gl_exts.push("GL_"+exts[i])}ret=allocate(intArrayFromString(gl_exts.join(" ")),"i8",ALLOC_NORMAL);break;case 35724:var glslVersion=GLctx.getParameter(GLctx.SHADING_LANGUAGE_VERSION);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=allocate(intArrayFromString(glslVersion),"i8",ALLOC_NORMAL);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _emscripten_glGetStringi(){err("missing function: emscripten_glGetStringi");abort(-1)}function _emscripten_glGetTexParameterIiv(){err("missing function: emscripten_glGetTexParameterIiv");abort(-1)}function _emscripten_glGetTexParameterIuiv(){err("missing function: emscripten_glGetTexParameterIuiv");abort(-1)}function _emscripten_glGetTexParameterfv(target,pname,params){if(!params){GL.recordError(1281);return}HEAPF32[params>>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<uniformInfo[0]){return uniformInfo[1]+arrayOffset}else{return-1}}function emscriptenWebGLGetUniform(program,location,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getUniform(GL.programs[program],GL.uniforms[location]);if(typeof data=="number"||typeof data=="boolean"){switch(type){case"Integer":HEAP32[params>>2]=data;break;case"Float":HEAPF32[params>>2]=data;break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}else{for(var i=0;i<data.length;i++){switch(type){case"Integer":HEAP32[params+i*4>>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<data.length;i++){switch(type){case"Integer":HEAP32[params+i*4>>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<count;++i){view[i]=HEAPF32[value+4*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<n;i++){var id=HEAP32[textures+i*4>>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<n;i++){var texture=GLctx.createTexture();if(!texture){GL.recordError(1282);while(i<n)HEAP32[textures+i++*4>>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<exts.length;++i){gl_exts.push(exts[i]);gl_exts.push("GL_"+exts[i])}ret=allocate(intArrayFromString(gl_exts.join(" ")),"i8",ALLOC_NORMAL);break;case 35724:var glslVersion=GLctx.getParameter(GLctx.SHADING_LANGUAGE_VERSION);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=allocate(intArrayFromString(glslVersion),"i8",ALLOC_NORMAL);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _glPixelStorei(pname,param){if(pname==3333){GL.packAlignment=param}else if(pname==3317){GL.unpackAlignment=param}GLctx.pixelStorei(pname,param)}function _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 _glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _glShaderBinary(){GL.recordError(1280)}function _glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _glStencilMask(x0){GLctx["stencilMask"](x0)}function _glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _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 _glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _glTexParameterfv(target,pname,params){var param=HEAPF32[params>>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<msec){}}else{var start=Date.now();while(Date.now()-start<msec){}}return 0}function _nanosleep(rqtp,rmtp){var seconds=HEAP32[rqtp>>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.length<digits){str=character[0]+str}return str}function leadingNulls(value,digits){return leadingSomething(value,digits,"0")}function compareByDay(date1,date2){function sgn(value){return value<0?-1:value>0?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()<date.tm_year+1900){daysDifference=date.tm_yday+32-firstWeekStartThisYear.getDate()}else{daysDifference=date.tm_yday+1-firstWeekStartThisYear.getDate()}return leadingNulls(Math.ceil(daysDifference/7),2)}),"%w":(function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()}),"%W":(function(date){var janFirst=new Date(date.tm_year,0,1);var firstMonday=janFirst.getDay()===1?janFirst:__addDays(janFirst,janFirst.getDay()===0?1:7-janFirst.getDay()+1);var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstMonday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstMondayUntilEndJanuary=31-firstMonday.getDate();var days=firstMondayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstMonday,janFirst)===0?"01":"00"}),"%y":(function(date){return(date.tm_year+1900).toString().substring(2)}),"%Y":(function(date){return date.tm_year+1900}),"%z":(function(date){var off=date.tm_gmtoff;var ahead=off>=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
  2. var asm=(/** @suppress {uselessCode} */ function(global,env,buffer) {
  3. "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}
  4. // EMSCRIPTEN_START_FUNCS
  5. 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<d>>>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<e>>>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<e>>>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<g>>>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<c>>>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<c>>>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<c>>>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<e>>>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<h>>>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<d>>>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<d>>>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<d>>>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<d>>>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<d>>>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<d>>>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<d>>>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<d>>>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<d>>>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(d<e){c=-1;return c|0}if(!(d>e)){d=+p[a+(b<<5)+8>>3];e=+p[a+(c<<5)+8>>3];if(d<e){c=-1;return c|0}if(!(d>e)){d=+p[a+(b<<5)+16>>3];e=+p[a+(c<<5)+16>>3];if(d<e){c=-1;return c|0}if(!(d>e)?+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(!(d<e)){if(d>e){c=0;return c|0}d=+p[a+(c<<5)+16>>3];e=+p[a+(b<<5)+16>>3];if(!(d<e)){if(d>e){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<b>>>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<j>>>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(d<e){c=-1;return c|0}if(!(d>e)){d=+p[a+(b*24|0)+8>>3];e=+p[a+(c*24|0)+8>>3];if(d<e){c=-1;return c|0}if(!(d>e)?+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(!(d<e)){if(d>e){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<b>>>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<j>>>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(d<e){c=-1;return c|0}if(!(d>e)){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<b>>>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<j>>>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<b>>>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<l>>>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<e<<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<e<<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<e<<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<b>>>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<l>>>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<e<<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<e<<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<b>>>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<k>>>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<g<<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<b>>>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<l>>>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<e<<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<e<<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<e<<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<b>>>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<l>>>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<e<<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<e<<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<c>>>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<k>>>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<g<<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<c>>>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<l>>>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<e?-1:e<d&1)|0}function ST(a){a=a|0;return 8}function TT(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 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<b>>>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<d>>>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<e?-1:e<d&1)|0}function oU(a){a=a|0;return 4}function pU(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 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<b>>>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<d>>>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<c>>>0?-1:c>>>0<b>>>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<b>>>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<b>>>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<e>>>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<c>>>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<g>>>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<b>>>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<d>>>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<c<<16>>16?-1:c<<16>>16<b<<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<b>>>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<e>>>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<d<<24>>24?-1:d<<24>>24<c<<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<c>>>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<g>>>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<e>>>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<e>>>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<e>>>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<c>>>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<g>>>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<c>>>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<i>>>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<a>>>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<e>>>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<k>>>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<k>>>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<o)?+n[i+56>>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<e>>>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<e>>>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<e>>>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<e>>>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<e>>>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<e>>>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<a>>>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<j>>>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<a>>>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<i>>>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<j>>>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<e>>>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<e>>>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<c>>>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<d>>>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<c>>>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<c>>>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<e>>>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<j>>>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<i>>>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<e>>>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<h>>>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<l>>>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<l>>>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<e>>>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<l>>>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<l>>>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<h>>>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<l>>>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<l>>>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<m>>>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<e>>>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<t>>>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<k>>>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<t>>>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<l>>>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<i>>>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<l>>>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<t>>>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<k>>>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<t>>>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<l>>>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<i>>>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<l>>>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<m>>>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<w>>>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<c>>>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<m>>>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<m>>>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<m>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<e>>>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<e>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<h>>>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<c>>>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<c>>>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]<t)p[62146]=t;i=a+124|0;e=f[i>>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]<o)p[62149]=o;do if(f[r>>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]<j)p[62152]=j;if(qZa(4)|0){e=Nu(Hua(4)|0,394252,7)|0;g=f[s>>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<e>>>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<k>>>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<k>>>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<d>>>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<t>>>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<k>>>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<t>>>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<l>>>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<i>>>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<l>>>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<e>>>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]<j;if(!(j<e)){if(!a){a=0;d=m;l=t;break}f[m>>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]<e){f[m>>2]=a;f[g>>2]=i;a=2;d=m;l=t}else{a=1;d=m;l=t}}else{a=(d|0)/4|0;a=z3(t,t+(a<<2)|0,m,m+(a<<2)|0,g,c)|0;d=m;l=t}while(0);i=f[l>>2]|0;j=+p[i+16>>3];e=+p[(f[d>>2]|0)+16>>3];if(j<e)d=g;else{if((t|0)==(o|0)){k=43;break}d=o;while(1){h=f[d>>2]|0;if(+p[h+16>>3]<e)break;d=d+-4|0;if((t|0)==(d|0)){k=43;break b}}f[t>>2]=h;f[d>>2]=i;a=a+1|0}h=t+4|0;c:do if(h>>>0<d>>>0)while(1){e=+p[(f[m>>2]|0)+16>>3];while(1){i=f[h>>2]|0;l=h+4|0;if(+p[i+16>>3]<e)h=l;else break}do{d=d+-4|0;k=f[d>>2]|0}while(!(+p[k+16>>3]<e));if(h>>>0>d>>>0){d=m;break c}f[h>>2]=k;f[d>>2]=i;m=(m|0)==(h|0)?d:m;h=l;a=a+1|0}else d=m;while(0);if((h|0)!=(d|0)?(r=f[d>>2]|0,s=f[h>>2]|0,+p[r+16>>3]<+p[s+16>>3]):0){f[h>>2]=r;f[d>>2]=s;a=a+1|0}if(!a){i=B3(t,h,c)|0;a=h+4|0;if(B3(a,b,c)|0){k=72;break}if(i){d=2;k=77;break}}m=h;if((m-t|0)>=(q-m|0)){k=76;break}y3(t,h,c);t=h+4|0}d:do if((k|0)==43){a=t+4|0;t=f[g>>2]|0;h=t;if(!(j<+p[t+16>>3])){if((a|0)==(g|0)){k=79;break a}while(1){d=f[a>>2]|0;if(j<+p[d+16>>3])break;a=a+4|0;if((a|0)==(g|0)){k=79;break a}}f[a>>2]=h;f[g>>2]=d;a=a+4|0}if((a|0)==(g|0)){k=79;break a}while(1){e=+p[(f[l>>2]|0)+16>>3];while(1){d=f[a>>2]|0;i=a+4|0;if(e<+p[d+16>>3])break;else a=i}do{g=g+-4|0;h=f[g>>2]|0}while(e<+p[h+16>>3]);if(a>>>0>=g>>>0){d=4;k=77;break d}f[a>>2]=h;f[g>>2]=d;a=i}}else if((k|0)==72){d=i?1:2;a=t;b=i?b:h;k=77}else if((k|0)==76){k=0;y3(h+4|0,b,c);a=t;b=h}while(0);if((k|0)==77)switch(d&7){case 2:case 4:case 0:break;default:{k=79;break a}}}if((k|0)==4){a=b+-4|0;b=f[a>>2]|0;d=f[t>>2]|0;if(!(+p[b+16>>3]<+p[d+16>>3]))return;f[t>>2]=b;f[a>>2]=d;return}else if((k|0)==6){i=t+4|0;g=b+-4|0;b=f[i>>2]|0;j=+p[b+16>>3];h=f[t>>2]|0;e=+p[h+16>>3];d=f[g>>2]|0;a=+p[d+16>>3]<j;if(!(j<e)){if(!a)return;f[i>>2]=d;f[g>>2]=b;a=f[i>>2]|0;b=f[t>>2]|0;if(!(+p[a+16>>3]<+p[b+16>>3]))return;f[t>>2]=a;f[i>>2]=b;return}if(a){f[t>>2]=d;f[g>>2]=h;return}f[t>>2]=b;f[i>>2]=h;a=f[g>>2]|0;if(!(+p[a+16>>3]<e))return;f[i>>2]=a;f[g>>2]=h;return}else if((k|0)==14){n=t+4|0;m=t+8|0;l=b+-4|0;b=f[n>>2]|0;d=b+16|0;u=+p[d>>3];k=f[t>>2]|0;a=k+16|0;e=+p[a>>3];i=f[m>>2]|0;g=i+16|0;j=+p[g>>3];h=j<u;do if(u<e){if(h){f[t>>2]=i;f[m>>2]=k;d=a;b=k;break}f[t>>2]=b;f[n>>2]=k;if(j<e){f[n>>2]=i;f[m>>2]=k;d=a;b=k}else{d=g;b=i}}else if(h){f[n>>2]=i;f[m>>2]=b;if(j<e){f[t>>2]=i;f[n>>2]=k}}else{d=g;b=i}while(0);a=f[l>>2]|0;if(!(+p[a+16>>3]<+p[d>>3]))return;f[m>>2]=a;f[l>>2]=b;a=f[m>>2]|0;e=+p[a+16>>3];b=f[n>>2]|0;if(!(e<+p[b+16>>3]))return;d=a;f[n>>2]=d;f[m>>2]=b;a=f[t>>2]|0;if(!(e<+p[a+16>>3]))return;f[t>>2]=d;f[n>>2]=a;return}else if((k|0)==26){z3(t,t+4|0,t+8|0,t+12|0,b+-4|0,c)|0;return}else if((k|0)==28){A3(t,b,c);return}else if((k|0)==79)return}function z3(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,j=0,k=0.0,l=0,m=0,n=0,o=0,q=0.0;m=f[b>>2]|0;l=m+16|0;q=+p[l>>3];n=f[a>>2]|0;i=n+16|0;k=+p[i>>3];h=f[c>>2]|0;j=h+16|0;g=+p[j>>3]<q;do if(q<k){if(g){f[a>>2]=h;f[c>>2]=n;o=1;h=n;break}f[a>>2]=m;f[b>>2]=n;h=f[c>>2]|0;g=h+16|0;if(+p[g>>3]<k){f[b>>2]=h;f[c>>2]=n;o=2;h=n}else{o=1;i=g}}else if(g){f[b>>2]=h;f[c>>2]=m;g=f[b>>2]|0;h=f[a>>2]|0;if(+p[g+16>>3]<+p[h+16>>3]){f[a>>2]=g;f[b>>2]=h;h=f[c>>2]|0;o=2;i=h+16|0}else{o=1;i=l;h=m}}else{o=0;i=j}while(0);g=f[d>>2]|0;if(+p[g+16>>3]<+p[i>>3]){f[c>>2]=g;f[d>>2]=h;g=o+1|0;h=f[c>>2]|0;i=f[b>>2]|0;if(+p[h+16>>3]<+p[i+16>>3]){f[b>>2]=h;f[c>>2]=i;g=f[b>>2]|0;h=f[a>>2]|0;if(+p[g+16>>3]<+p[h+16>>3]){f[a>>2]=g;f[b>>2]=h;i=o+3|0}else i=o+2|0}else i=g}else i=o;g=f[e>>2]|0;h=f[d>>2]|0;if(!(+p[g+16>>3]<+p[h+16>>3])){b=i;return b|0}f[d>>2]=g;f[e>>2]=h;g=f[d>>2]|0;h=f[c>>2]|0;if(!(+p[g+16>>3]<+p[h+16>>3])){b=i+1|0;return b|0}f[c>>2]=g;f[d>>2]=h;g=f[c>>2]|0;h=f[b>>2]|0;if(!(+p[g+16>>3]<+p[h+16>>3])){b=i+2|0;return b|0}f[b>>2]=g;f[c>>2]=h;g=f[b>>2]|0;h=f[a>>2]|0;if(!(+p[g+16>>3]<+p[h+16>>3])){b=i+3|0;return b|0}f[a>>2]=g;f[b>>2]=h;b=i+4|0;return b|0}function A3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0.0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,q=0.0;n=a+8|0;k=a+4|0;l=f[k>>2]|0;q=+p[l+16>>3];m=f[a>>2]|0;h=+p[m+16>>3];d=f[n>>2]|0;i=+p[d+16>>3];c=i<q;e=l;g=d;j=m;do if(q<h){if(c){f[a>>2]=g;f[n>>2]=j;d=m;break}f[a>>2]=e;f[k>>2]=j;if(i<h){f[k>>2]=g;f[n>>2]=j;d=m}}else if(c){f[k>>2]=g;f[n>>2]=e;if(i<h){f[a>>2]=g;f[k>>2]=j;d=l}else d=l}while(0);c=a+12|0;if((c|0)==(b|0))return;m=c;c=n;while(1){k=f[m>>2]|0;j=k+16|0;if(+p[j>>3]<+p[d+16>>3]){l=(k|0)==0;if(!l){d=k+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[c>>2]|0}g=m;while(1){e=f[g>>2]|0;if((e|0)!=(d|0)){f[g>>2]=d;if(d|0){n=d+8|0;f[n>>2]=(f[n>>2]|0)+1}if(e|0?(g=e+8|0,n=f[g>>2]|0,f[g>>2]=n-1,(n|0)==1):0)Rua(e,1,1)}if((c|0)==(a|0)){c=a;break}e=c+-4|0;d=f[e>>2]|0;if(!(+p[j>>3]<+p[d+16>>3])){o=24;break}else{g=c;c=e}}if((o|0)==24)o=0;d=f[c>>2]|0;if((d|0)!=(k|0)){f[c>>2]=k;if(!l){n=k+8|0;f[n>>2]=(f[n>>2]|0)+1}if(d|0?(j=d+8|0,n=f[j>>2]|0,f[j>>2]=n-1,(n|0)==1):0)Rua(d,1,1)}if(!l?(l=k+8|0,n=f[l>>2]|0,f[l>>2]=n-1,(n|0)==1):0)Rua(k,1,1)}c=m+4|0;if((c|0)==(b|0))break;d=f[m>>2]|0;n=m;m=c;c=n}return}function B3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,q=0.0;switch(b-a>>2|0){case 2:{d=b+-4|0;e=f[d>>2]|0;c=f[a>>2]|0;if(!(+p[e+16>>3]<+p[c+16>>3])){a=1;return a|0}f[a>>2]=e;f[d>>2]=c;a=1;return a|0}case 3:{j=a+4|0;h=b+-4|0;d=f[j>>2]|0;k=+p[d+16>>3];i=f[a>>2]|0;g=+p[i+16>>3];e=f[h>>2]|0;c=+p[e+16>>3]<k;if(!(k<g)){if(!c){a=1;return a|0}f[j>>2]=e;f[h>>2]=d;c=f[j>>2]|0;d=f[a>>2]|0;if(!(+p[c+16>>3]<+p[d+16>>3])){a=1;return a|0}f[a>>2]=c;f[j>>2]=d;a=1;return a|0}if(c){f[a>>2]=e;f[h>>2]=i;a=1;return a|0}f[a>>2]=d;f[j>>2]=i;c=f[h>>2]|0;if(!(+p[c+16>>3]<g)){a=1;return a|0}f[j>>2]=c;f[h>>2]=i;a=1;return a|0}case 4:{o=a+4|0;n=a+8|0;m=b+-4|0;d=f[o>>2]|0;e=d+16|0;q=+p[e>>3];l=f[a>>2]|0;c=l+16|0;g=+p[c>>3];j=f[n>>2]|0;h=j+16|0;k=+p[h>>3];i=k<q;do if(q<g){if(i){f[a>>2]=j;f[n>>2]=l;e=c;d=l;break}f[a>>2]=d;f[o>>2]=l;if(k<g){f[o>>2]=j;f[n>>2]=l;e=c;d=l}else{e=h;d=j}}else if(i){f[o>>2]=j;f[n>>2]=d;if(k<g){f[a>>2]=j;f[o>>2]=l}}else{e=h;d=j}while(0);c=f[m>>2]|0;if(!(+p[c+16>>3]<+p[e>>3])){a=1;return a|0}f[n>>2]=c;f[m>>2]=d;c=f[n>>2]|0;g=+p[c+16>>3];d=f[o>>2]|0;if(!(g<+p[d+16>>3])){a=1;return a|0}e=c;f[o>>2]=e;f[n>>2]=d;c=f[a>>2]|0;if(!(g<+p[c+16>>3])){a=1;return a|0}f[a>>2]=e;f[o>>2]=c;a=1;return a|0}case 5:{z3(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;a=1;return a|0}case 1:case 0:{a=1;return a|0}default:{d=a+8|0;l=a+4|0;m=f[l>>2]|0;q=+p[m+16>>3];n=f[a>>2]|0;k=+p[n+16>>3];e=f[d>>2]|0;g=+p[e+16>>3];c=g<q;h=m;i=e;j=n;do if(q<k){if(c){f[a>>2]=i;f[d>>2]=j;e=n;break}f[a>>2]=h;f[l>>2]=j;if(g<k){f[l>>2]=i;f[d>>2]=j;e=n}}else if(c){f[l>>2]=i;f[d>>2]=h;if(g<k){f[a>>2]=i;f[l>>2]=j;e=m}else e=m}while(0);c=a+12|0;if((c|0)==(b|0)){a=1;return a|0}n=c;c=0;while(1){l=f[n>>2]|0;j=l+16|0;if(+p[j>>3]<+p[e+16>>3]){m=(l|0)==0;if(!m){e=l+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[d>>2]|0}i=n;while(1){h=f[i>>2]|0;if((h|0)!=(e|0)){f[i>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if(h|0?(e=h+8|0,i=f[e>>2]|0,f[e>>2]=i-1,(i|0)==1):0)Rua(h,1,1)}if((d|0)==(a|0)){d=a;break}h=d+-4|0;e=f[h>>2]|0;if(!(+p[j>>3]<+p[e+16>>3])){o=47;break}else{i=d;d=h}}if((o|0)==47)o=0;e=f[d>>2]|0;if((e|0)!=(l|0)){f[d>>2]=l;if(!m){j=l+8|0;f[j>>2]=(f[j>>2]|0)+1}if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1)}c=c+1|0;d=(c|0)==8;if(!m?(j=l+8|0,m=f[j>>2]|0,f[j>>2]=m-1,(m|0)==1):0)Rua(l,1,1);if(d)break}d=n+4|0;if((d|0)==(b|0)){c=1;o=61;break}e=f[n>>2]|0;m=n;n=d;d=m}if((o|0)==61)return c|0;a=(n+4|0)==(b|0);return a|0}}return 0}function C3(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=326208;P3(a)|0;b=a+60|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;d=a+48|0;g=f[d>>2]|0;if(g|0){e=a+52|0;b=f[e>>2]|0;if((b|0)==(g|0))b=g;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(g|0));b=f[d>>2]|0}f[e>>2]=g;GBb(b)}b=a+44|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;R3a(a+32|0);R3a(a+12|0);Uua(a);return}function D3(a){a=a|0;C3(a);GBb(a);return}function E3(a){a=a|0;return +(+p[a+64>>3])}function F3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!d)b=0;else b=WCb(d,295048,286816,0)|0;w3(a,c,b);return}function G3(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=+g;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;if(!((j|0)!=0?(l=WCb(j,295048,286816,0)|0,(l|0)!=0):0)){l=(YZ(0)|0)+160|0;l=f[l>>2]|0}h=f[i>>2]|0;if((h|0?WCb(h,295048,287864,0)|0:0)?(f[h+8>>2]|0)>1:0)return;r=EBb(64)|0;v_a(r,1);f[r>>2]=326256;n=r+48|0;h=r+12|0;j=h+36|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(j|0));f[n>>2]=-1;f[r+52>>2]=0;m=r+56|0;f[m>>2]=0;o=r+60|0;f[o>>2]=0;q=r+8|0;f[q>>2]=(f[q>>2]|0)+1;p[r+16>>3]=g;UBb(r+24|0,c)|0;j=r+40|0;if(!d)h=0;else h=cCa(d)|0;c=f[j>>2]|0;if((c|0)!=(h|0)){f[j>>2]=h;if(h|0){h=h+8|0;f[h>>2]=(f[h>>2]|0)+1}if(c|0?(t=c+8|0,h=f[t>>2]|0,f[t>>2]=h-1,(h|0)==1):0)Rua(c,1,1);h=f[j>>2]|0}if(!h)h=0;else h=(f[h+24>>2]|0)==0?0:d;f[r+44>>2]=h;f[n>>2]=e;j=a+44|0;f[m>>2]=f[j>>2];h=f[o>>2]|0;if((h|0)!=(l|0)){f[o>>2]=l;if(l|0){t=l+8|0;f[t>>2]=(f[t>>2]|0)+1}if(h|0?(e=h+8|0,t=f[e>>2]|0,f[e>>2]=t-1,(t|0)==1):0)Rua(h,1,1)}h=f[i>>2]|0;if(((h|0)!=(r|0)?(f[i>>2]=r,f[q>>2]=(f[q>>2]|0)+1,h|0):0)?(i=h+8|0,t=f[i>>2]|0,f[i>>2]=t-1,(t|0)==1):0)Rua(h,1,1);L3(f[j>>2]|0,r);h=a+24|0;if(!(b[h>>0]|0)){j=a+12|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;if((b[h>>0]|0)==0?(b[h>>0]=1,b[a+25>>0]=0,k=f[a+48>>2]|0,s=a+52|0,(k|0)!=(f[s>>2]|0)):0)do{k4a((f[k>>2]|0)+12|0)|0;k=k+4|0}while((k|0)!=(f[s>>2]|0));_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0}t=f[q>>2]|0;f[q>>2]=t-1;if((t|0)!=1)return;Rua(r,1,1);return}function H3(a){a=a|0;a=f[a+60>>2]|0;return (f[a+12>>2]|0)!=(f[a+16>>2]|0)|0}function I3(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=u;u=u+16|0;d=j;a=a+60|0;i=(f[a>>2]|0)+24|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;b=f[a>>2]|0;c=f[b+12>>2]|0;b=b+16|0;if((c|0)==(f[b>>2]|0)){h=b;g=c;f[h>>2]=g;h=f[i>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](i)|0;u=j;return}do{b=f[c>>2]|0;k=f[b+40>>2]|0;if((((k|0)!=0?(f[k+24>>2]|0)!=0:0)?(e=f[b+44>>2]|0,(e|0)!=0):0)?(g=WCb(e,295088,298168,0)|0,(g|0)!=0):0){k=f[b+48>>2]|0;Fj[f[(f[g>>2]|0)+232>>2]&511](g,(k|0)>0?k:0,f[b+52>>2]|0)}else h=15;if((h|0)==15?(h=0,qZa(3)|0):0){k=Nu(Hua(3)|0,395682,86)|0;Drb(d,k+(f[(f[k>>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(k,b)|0;Krb(k)|0}c=c+4|0;b=f[a>>2]|0}while((c|0)!=(f[b+16>>2]|0));a=b+16|0;b=f[b+12>>2]|0;if((c|0)==(b|0)){k=a;h=b;f[k>>2]=h;k=f[i>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](i)|0;u=j;return}do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(h=d+8|0,k=f[h>>2]|0,f[h>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(b|0));f[a>>2]=b;k=f[i>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](i)|0;u=j;return}function J3(a,b){a=a|0;b=b|0;if(!b)return;f[a+28>>2]=f[b+12>>2];return}function K3(a){a=a|0;return}function L3(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;l=u;u=u+16|0;g=l;k=a+24|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;i=a+12|0;f[g>>2]=c;if(c|0){j=c+8|0;f[j>>2]=(f[j>>2]|0)+1}j=a+16|0;d=f[j>>2]|0;if(d>>>0<(f[a+20>>2]|0)>>>0){e=f[g>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[j>>2]|0}f[j>>2]=d+4}else M3(i,g);d=f[g>>2]|0;if(d|0?(m=d+8|0,e=f[m>>2]|0,f[m>>2]=e-1,(e|0)==1):0)Rua(d,1,1);f[c+56>>2]=a;if(qZa(4)|0){n=Nu(Hua(4)|0,395769,27)|0;d=c+24|0;m=b[d+11>>0]|0;e=m<<24>>24<0;m=Nu(Nu(n,e?f[d>>2]|0:d,e?f[c+28>>2]|0:m&255)|0,395797,10)|0;m=esb(m,(f[j>>2]|0)-(f[i>>2]|0)>>2)|0;Drb(g,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);i=utb(g,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(g);ksb(m,i)|0;Krb(m)|0}c=f[a+36>>2]|0;g=c+4|0;if((f[a+12>>2]|0)==(f[j>>2]|0))d=0;else d=(b[(f[a+40>>2]|0)+26>>0]|0)==0;e=c+24|0;if((d&1|0)==(h[e>>0]|0)){n=f[k>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](k)|0;u=l;return}_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;if(!d){b[e>>0]=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;n=f[k>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](k)|0;u=l;return}if(!(b[e>>0]|0)){b[e>>0]=1;P3a(c+16|0)|0}_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;n=f[k>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](k)|0;u=l;return}function M3(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<e>>>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 N3(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=326256;c=a+60|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+52|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+40|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+36|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+24|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function O3(a){a=a|0;N3(a);GBb(a);return}function P3(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=a+48|0;c=f[g>>2]|0;h=a+52|0;d=f[h>>2]|0;if((c|0)!=(d|0))do{b[(f[c>>2]|0)+20>>0]=1;c=c+4|0}while((c|0)!=(d|0));e=f[(f[a+44>>2]|0)+36>>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[g>>2]|0;if((c|0)==(f[h>>2]|0)){h=a+25|0;b[h>>0]=1;h=a+24|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+25|0;b[h>>0]=1;h=a+24|0;b[h>>0]=0;return 0}function Q3(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 R3(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 S3(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 T3(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=326276;c=f[a+128>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);c=a+124|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+120|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+116|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+112|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;d=a+100|0;e=f[d>>2]|0;if(e|0){g=a+104|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)}q0(a+80|0,f[a+84>>2]|0);V3(a+68|0,f[a+72>>2]|0);W3(a+56|0,f[a+60>>2]|0);c=a+40|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+4|0;if((b[c+11>>0]|0)>=0)return;GBb(f[c>>2]|0);return}function U3(a){a=a|0;T3(a);GBb(a);return}function V3(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;V3(a,f[b>>2]|0);V3(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function W3(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;W3(a,f[b>>2]|0);W3(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function X3(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;e=i+4|0;g=i;f[a>>2]=326292;if(!(YZ(0)|0))b=a+4|0;else{h=(YZ(0)|0)+240|0;h=f[h>>2]|0;b=a+4|0;a=f[b>>2]|0;if(!a){h=b;f[h>>2]=0;u=i;return}c=h+12|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=h+24|0;a=Z3(d,a+28|0)|0;if((a|0)!=(h+28|0)){f[g>>2]=a;f[e>>2]=f[g>>2];_3(d,e)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0}a=f[b>>2]|0;if(!a){h=b;f[h>>2]=0;u=i;return}g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){h=b;f[h>>2]=0;u=i;return}Rua(a,1,1);h=b;f[h>>2]=0;u=i;return}function Y3(a){a=a|0;X3(a);GBb(a);return}function Z3(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<h>>>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<l>>>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<l>>>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 _3(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;g=f[c>>2]|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{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((f[a>>2]|0)==(g|0))f[a>>2]=c;d=a+8|0;f[d>>2]=(f[d>>2]|0)+-1;Zq(f[a+4>>2]|0,g);d=g+16|0;a=g+28|0;e=f[a>>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);f[a>>2]=0;if((b[d+11>>0]|0)>=0){GBb(g);return c|0}GBb(f[d>>2]|0);GBb(g);return c|0}function $3(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 a4(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=326308;c=a+300|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+296|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+292|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+148|0;f[c>>2]=323388;d=a+212|0;f[d>>2]=323428;f[a+156>>2]=323408;e=a+160|0;f[e>>2]=304196;g=a+192|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);yrb(c,323440);kqb(d);c=a+136|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+124|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);d=a+112|0;e=f[d>>2]|0;if(e|0){g=a+116|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)}Ak(a+100|0,f[a+104>>2]|0);q0(a+80|0,f[a+84>>2]|0);eY(a+68|0,f[a+72>>2]|0);oX(a+56|0,f[a+60>>2]|0);c=a+40|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+4|0;if((b[c+11>>0]|0)>=0)return;GBb(f[c>>2]|0);return}function b4(a){a=a|0;a4(a);GBb(a);return}function c4(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=326324;b=a+588|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;Y4(a+576|0,f[a+580>>2]|0);Z4(a);return}function d4(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=326324;b=a+588|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;Y4(a+576|0,f[a+580>>2]|0);Z4(a);GBb(a);return}function e4(a){a=a|0;if(f[a+568>>2]|0){a=0;return a|0}a=(b[a+12>>0]|0)!=0;return a|0}function f4(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=u;u=u+16|0;d=c;e=(YZ(0)|0)+244|0;e=f[e>>2]|0;f[d>>2]=326424;f[d+4>>2]=b;b=U4(e,d,a)|0;u=c;return b|0}function g4(a,b){a=a|0;b=b|0;var c=0;c=(YZ(0)|0)+244|0;return U4(f[c>>2]|0,b,a)|0}function h4(a){a=a|0;var b=0;b=(YZ(0)|0)+244|0;return T4(f[b>>2]|0,a)|0}function i4(a){a=a|0;var b=0;b=(YZ(0)|0)+244|0;return S4(f[b>>2]|0,a)|0}function j4(a){a=a|0;var b=0;b=(YZ(0)|0)+244|0;return R4(f[b>>2]|0,a)|0}function k4(a){a=a|0;var b=0;b=(YZ(0)|0)+244|0;return Q4(f[b>>2]|0,a)|0}function l4(a){a=a|0;var b=0;b=(YZ(0)|0)+244|0;return P4(f[b>>2]|0,a)|0}function m4(a){a=a|0;var b=0;b=(YZ(0)|0)+244|0;return O4(f[b>>2]|0,a)|0}function n4(a){a=a|0;var b=0;b=(YZ(0)|0)+244|0;return A4(f[b>>2]|0,a)|0}function o4(a,b,c){a=a|0;b=b|0;c=c|0;z4(a,c,f[b+588>>2]|0);return}function p4(a,b,c){a=a|0;b=b|0;c=c|0;w3(a,c,f[b+588>>2]|0);return}function q4(a,b,c){a=a|0;b=b|0;c=c|0;y4(a,c,f[b+588>>2]|0);return}function r4(a,b,c){a=a|0;b=b|0;c=c|0;x4(a,c,f[b+588>>2]|0);return}function s4(a,b){a=a|0;b=b|0;b=w4(a+576|0,b)|0;if((b|0)==(a+580|0)){a=0;return a|0}a=f[b+28>>2]|0;return a|0}function t4(a,b,c){a=a|0;b=b|0;c=c|0;a=u4(a+576|0,b)|0;b=f[a>>2]|0;if((b|0)==(c|0))return;f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(!b)return;a=b+8|0;c=f[a>>2]|0;f[a>>2]=c-1;if((c|0)!=1)return;Rua(b,1,1);return}function u4(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=v4(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 v4(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<m>>>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 w4(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<h>>>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<l>>>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<l>>>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 x4(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)+20>>2]&127](l,e,c,d);else g=4;do if((g|0)==4){e=f[h+48>>2]|0;if(!e){b1(l,h,c,d);break}else{Ij[f[(f[e>>2]|0)+20>>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,298568,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 y4(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+48|0;g=k+32|0;j=k+12|0;h=k;a_(j,YZ(0)|0,c,d,1);i=j+16|0;d=f[i>>2]|0;if((d|0)!=0?(e=WCb(d,295088,295136,0)|0,(e|0)!=0):0){f[a>>2]=e;h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}else{if(((f[j>>2]|1|0)!=5?qZa(2)|0:0)?(d=Nu(Hua(2)|0,395582,19)|0,l=b[c+11>>0]|0,e=l<<24>>24<0,l=Nu(Nu(d,e?f[c>>2]|0:c,e?f[c+4>>2]|0:l&255)|0,438125,2)|0,b_(h,j),e=h+11|0,c=b[e>>0]|0,d=c<<24>>24<0,c=Nu(l,d?f[h>>2]|0:h,d?f[h+4>>2]|0:c&255)|0,Drb(g,c+(f[(f[c>>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(c,d)|0,Krb(c)|0,(b[e>>0]|0)<0):0)GBb(f[h>>2]|0);f[a>>2]=0}d=f[i>>2]|0;if(d|0?(h=d+8|0,l=f[h>>2]|0,f[h>>2]=l-1,(l|0)==1):0)Rua(d,1,1);f[i>>2]=0;d=j+4|0;if((b[d+11>>0]|0)>=0){u=k;return}GBb(f[d>>2]|0);u=k;return}function z4(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;j=u;u=u+48|0;e=j+32|0;i=j+12|0;g=j;p1(i,YZ(0)|0,c,d,1);h=i+16|0;d=f[h>>2]|0;if(!d){if(((f[i>>2]|1|0)!=5?qZa(2)|0:0)?(k=Nu(Hua(2)|0,395582,19)|0,l=b[c+11>>0]|0,d=l<<24>>24<0,l=Nu(Nu(k,d?f[c>>2]|0:c,d?f[c+4>>2]|0:l&255)|0,438125,2)|0,b_(g,i),c=g+11|0,d=b[c>>0]|0,k=d<<24>>24<0,d=Nu(l,k?f[g>>2]|0:g,k?f[g+4>>2]|0:d&255)|0,Drb(e,d+(f[(f[d>>2]|0)+-12>>2]|0)|0),k=utb(e,504576)|0,k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0,vtb(e),ksb(d,k)|0,Krb(d)|0,(b[c>>0]|0)<0):0)GBb(f[g>>2]|0);f[a>>2]=0}else{f[a>>2]=d;l=d+8|0;f[l>>2]=(f[l>>2]|0)+1}d=f[h>>2]|0;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);f[h>>2]=0;d=i+4|0;if((b[d+11>>0]|0)>=0){u=j;return}GBb(f[d>>2]|0);u=j;return}function A4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;g=B4(c,0)|0;h=g+16|0;d=f[h>>2]|0;if((d|0)==7){d=f[g+12>>2]|0;if(d|0){e=C4(d,(b[g+20>>0]|0)!=0)|0;f[h>>2]=e;i=4}}else{e=d;i=4}if(((i|0)==4?(e|0)==3:0)?(cnb(f[g+12>>2]|0,395981)|0)==0:0){h=(B4(c,1)|0)+8|0;if(!(f[h>>2]|0)){j=0;u=k;return j|0}e=f[(f[c>>2]|0)+64>>2]|0;a=B4(c,1)|0;a=(f[a+8>>2]|0)==0?0:f[a+12>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=Rmb(a)|0;if(g>>>0>4294967279)MBb(j);if(g>>>0<11){b[j+11>>0]=g;if(!g)d=j;else{d=j;i=12}}else{i=g+16&-16;d=EBb(i)|0;f[j>>2]=d;f[j+8>>2]=i|-2147483648;f[j+4>>2]=g;i=12}if((i|0)==12)YDb(d|0,a|0,g|0)|0;b[d+g>>0]=0;d=cj[e&1023](c,j)|0;if(!d)d=0;else d=WCb(d,295088,298568,0)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(!d){j=0;u=k;return j|0}D4(c,2)|0;j=d;u=k;return j|0}d=E4(a,a+84|0,c)|0;if(!d){j=0;u=k;return j|0}a=WCb(d,295088,298568,0)|0;if(a|0){j=a;u=k;return j|0}c=d+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)!=1){j=0;u=k;return j|0}Rua(d,1,1);j=0;u=k;return j|0}function B4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;if((c|0)<0){f[a+556>>2]=f[a+16>>2];k=a+532|0;return k|0}k=a+568|0;e=f[k>>2]|0;if((e|0)>(c|0)){k=f[(f[a+564>>2]|0)+(c<<2)>>2]|0;return k|0}j=a+572|0;d=f[j>>2]|0;if((d|0)<=(c|0)){i=d<<1;i=(i|0)>10?i:10;while(1)if((e|0)<(i|0))break;else i=i<<1;h=FBb(i>>>0>1073741823?-1:i<<2)|0;if((d|0)>0){g=a+564|0;e=0;do{f[h+(e<<2)>>2]=f[(f[g>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(d|0))}else d=0;if(d>>>0<i>>>0){g=d<<2;_Db(h+g|0,0,(i<<2)-g|0)|0}d=a+564|0;e=f[d>>2]|0;if(e|0)HBb(e);f[d>>2]=h;f[j>>2]=i}h=a+4|0;i=a+12|0;a:do if(!(b[i>>0]|0)){j=a+564|0;do{e=f[k>>2]|0;if((e|0)>(c|0))break a;g=(f[j>>2]|0)+(e<<2)|0;d=f[g>>2]|0;if(!d){d=EBb(28)|0;f[d>>2]=326404;f[d+4>>2]=256;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=7;b[d+20>>0]=0;f[d+24>>2]=0;f[g>>2]=d;d=f[(f[j>>2]|0)+(e<<2)>>2]|0}if(J4(h,d)|0)f[k>>2]=(f[k>>2]|0)+1}while(!(b[i>>0]|0))}while(0);if((f[k>>2]|0)>(c|0)){k=f[(f[a+564>>2]|0)+(c<<2)>>2]|0;return k|0}else{f[a+556>>2]=f[a+16>>2];k=a+532|0;return k|0}return 0}function C4(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a){j=6;return j|0}j=b[a>>0]|0;d=j<<24>>24==0;if(d|c){j=d?6:2;return j|0}a:do if(!(dnb(a,428263,2)|0)){d=a+2|0;c=b[d>>0]|0;if(!(c<<24>>24)){j=5;return j|0}while(1){if((c+-48&255)>=10)switch(c<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break a}d=d+1|0;c=b[d>>0]|0;if(!(c<<24>>24)){c=5;break}}return c|0}while(0);h=0;g=1;c=0;e=0;f=0;i=j;b:while(1){c:do switch(i<<24>>24){case 45:case 43:{f=f^1;d=f;g=g&f;f=1;break}default:{if((i+-48&255)<10){h=h+1|0;d=1;break c}switch(i<<24>>24){case 46:{d=e^1;g=0;e=1;break c}case 69:case 101:{k=(h|0)==0;i=c|k;h=i?h:0;d=i^1;g=0;c=c|k^1;e=e&i;f=f&i;break c}default:{e=15;break b}}}}while(0);a=a+1|0;i=b[a>>0]|0;if(!(d&i<<24>>24!=0)){e=19;break}}if((e|0)==15){d=0;c=(h|0)>0}else if((e|0)==19){c=(h|0)>0;if(g&c){k=5;return k|0}}return (d&c?4:j<<24>>24==123?0:j<<24>>24==125?1:3)|0}function D4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=a+568|0;j=f[k>>2]|0;if((j|0)<(c|0)){d=a+4|0;e=a+12|0;a:do if((b[e>>0]|0)==0&(j|0)<(c|0))do{J4(d,0)|0;if(b[e>>0]|0)break a;c=c+-1|0}while((c|0)>(f[k>>2]|0));while(0);f[k>>2]=0;return a|0}if((c|0)<=0)return a|0;h=FBb(c>>>0>1073741823?-1:c<<2)|0;i=a+564|0;g=f[i>>2]|0;e=0;do{f[h+(e<<2)>>2]=f[g+(e<<2)>>2];e=e+1|0}while((e|0)!=(c|0));if((j|0)>(c|0)?(f[g>>2]=f[g+(c<<2)>>2],d=c+1|0,(d|0)!=(j|0)):0)do{g=f[i>>2]|0;f[g+(d-c<<2)>>2]=f[g+(d<<2)>>2];d=d+1|0}while((d|0)!=(j|0));e=j-c|0;f[k>>2]=e;d=0;do{f[(f[i>>2]|0)+(d+e<<2)>>2]=f[h+(d<<2)>>2];d=d+1|0}while((d|0)!=(c|0));HBb(h);return a|0}function E4(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;G=u;u=u+48|0;D=G+36|0;E=G+24|0;B=G+12|0;C=G;g=B4(d,0)|0;if(!(f[g+8>>2]|0)){F=0;u=G;return F|0}i=f[g+12>>2]|0;if(!i){F=0;u=G;return F|0};f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;j=Rmb(i)|0;if(j>>>0>4294967279)MBb(E);if(j>>>0<11){b[E+11>>0]=j;if(!j)g=E;else{g=E;F=8}}else{F=j+16&-16;g=EBb(F)|0;f[E>>2]=g;f[E+8>>2]=F|-2147483648;f[E+4>>2]=j;F=8}if((F|0)==8)YDb(g|0,i|0,j|0)|0;b[g+j>>0]=0;g=F4(c,E)|0;do if((g|0)==(c+4|0)){e=B4(d,0)|0;e=(f[e+8>>2]|0)==0?0:f[e+12>>2]|0;f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;j=Rmb(e)|0;if(j>>>0>4294967279)MBb(D);if(j>>>0<11){i=D+11|0;b[i>>0]=j;if(!j){g=D;k=i}else{g=D;F=15}}else{i=j+16&-16;g=EBb(i)|0;f[D>>2]=g;f[D+8>>2]=i|-2147483648;f[D+4>>2]=j;i=D+11|0;F=15}if((F|0)==15){YDb(g|0,e|0,j|0)|0;k=i}b[g+j>>0]=0;e=b[k>>0]|0;j=e<<24>>24<0;i=j?f[D>>2]|0:D;e=j?f[D+4>>2]|0:e&255;j=i+e|0;a:do if((e|0)>=2){while(1){e=e+-1|0;if((b[i+e>>0]|0)==58){g=i+e|0;if((b[g+-1>>0]|0)==58)break;if((e|0)==1){e=0;F=39;break a}}else if((e|0)==1){e=0;F=39;break a}}A=g+-1|0;e=A-i|0;if(!((A|0)==(j|0)|(e|0)==-1)){SBb(B,D,0,e,C);f[C>>2]=C;i=C+4|0;f[i>>2]=C;j=C+8|0;f[j>>2]=0;b:do if(G4(0,B,C)|0?(l=f[i>>2]|0,m=l,(C|0)!=(m|0)):0){g=l;e=m;while(1){if((K_(YZ(0)|0,g+8|0)|0)==2)break;g=f[e+4>>2]|0;e=g;if((C|0)==(e|0)){g=0;e=0;break b}}g=1;e=E4(a,c,d)|0}else{g=0;e=0}while(0);if(f[j>>2]|0?(h=f[i>>2]|0,d=(f[C>>2]|0)+4|0,A=f[h>>2]|0,f[A+4>>2]=f[d>>2],f[f[d>>2]>>2]=A,f[j>>2]=0,(h|0)!=(C|0)):0)do{i=h;h=f[h+4>>2]|0;j=i+8|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);GBb(i)}while((h|0)!=(C|0));if((b[B+11>>0]|0)<0)GBb(f[B>>2]|0);if(!g)F=39}else{e=0;F=39}}else{e=0;F=39}while(0);if((F|0)==39)g=0;if((b[k>>0]|0)<0)GBb(f[D>>2]|0);if(!g)F=103}else{z=B4(d,1)|0;if((f[z+8>>2]|0)==1?(b[f[z+12>>2]>>0]|0)==123:0){h=f[g+28>>2]|0;g=f[h+12>>2]|0;if(!g){if(!(qZa(2)|0)){e=0;break}C=Nu(Hua(2)|0,395985,6)|0;e=B4(d,0)|0;e=(f[e+8>>2]|0)==0?0:f[e+12>>2]|0;e=Nu(Nu(C,e,Rmb(e)|0)|0,395992,41)|0;Drb(D,e+(f[(f[e>>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(e,C)|0;Krb(e)|0;e=0;break}z=(B4(d,0)|0)+24|0;z=f[z>>2]|0;D4(d,2)|0;x=_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;y=h+28|0;v=h+32|0;w=a+12|0;c=a+16|0;a=D+11|0;n=D+4|0;o=C+4|0;p=C+8|0;q=B+11|0;r=D+11|0;s=D+8|0;t=D+4|0;while(1){if(_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0){F=102;break}m=(B4(d,0)|0)+24|0;if((f[m>>2]|0)<=(z|0)){F=102;break}i=B4(d,0)|0;h=i+16|0;g=f[h>>2]|0;if((g|0)==7){g=f[i+12>>2]|0;if(!g)g=0;else{g=C4(g,(b[i+20>>0]|0)!=0)|0;f[h>>2]=g;F=54}}else F=54;if((F|0)==54){F=0;if(((g|0)==3?(cnb(f[i+12>>2]|0,396034)|0)==0:0)?(m=(B4(d,1)|0)+8|0,(f[m>>2]|0)!=0):0){i=f[(f[d>>2]|0)+68>>2]|0;h=B4(d,1)|0;h=(f[h+8>>2]|0)==0?0:f[h+12>>2]|0;f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;j=Rmb(h)|0;if(j>>>0>4294967279){F=58;break}if(j>>>0<11){b[r>>0]=j;if(!j)g=D;else{g=D;F=62}}else{F=j+16&-16;g=EBb(F)|0;f[D>>2]=g;f[s>>2]=F|-2147483648;f[t>>2]=j;F=62}if((F|0)==62){F=0;YDb(g|0,h|0,j|0)|0}b[g+j>>0]=0;Fj[i&511](d,D,x);if((b[r>>0]|0)<0)GBb(f[D>>2]|0);D4(d,2)|0;g=1}else g=0}h=f[y>>2]|0;if((h|0)!=(f[v>>2]|0)){m=h;do{h=F4(w,m)|0;if((h|0)==(c|0)){OBb(D,m);i=b[a>>0]|0;h=i<<24>>24<0;k=h?f[D>>2]|0:D;h=h?f[n>>2]|0:i&255;l=k+h|0;c:do if((h|0)<2)h=c;else{while(1){h=h+-1|0;if((b[k+h>>0]|0)==58){j=k+h|0;if((b[j+-1>>0]|0)==58)break;if((h|0)==1){h=c;break c}}else if((h|0)==1){h=c;break c}}j=j+-1|0;h=j-k|0;if((j|0)==(l|0)|(h|0)==-1){h=c;break}SBb(B,D,0,h,C);f[C>>2]=C;f[o>>2]=C;f[p>>2]=0;do if(G4(0,B,C)|0){h=f[o>>2]|0;i=h;if((C|0)==(i|0)){h=c;break}j=h;do{if((K_(YZ(0)|0,j+8|0)|0)==2)h=F4(w,m)|0;else h=c;j=f[i+4>>2]|0;i=j}while(!((h|0)!=(c|0)|(C|0)==(i|0)))}else h=c;while(0);do if(f[p>>2]|0){i=f[o>>2]|0;l=(f[C>>2]|0)+4|0;k=f[i>>2]|0;f[k+4>>2]=f[l>>2];f[f[l>>2]>>2]=k;f[p>>2]=0;if((i|0)==(C|0))break;do{j=i;i=f[i+4>>2]|0;k=j+8|0;if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);GBb(j)}while((i|0)!=(C|0))}while(0);if((b[q>>0]|0)<0)GBb(f[B>>2]|0);i=b[a>>0]|0}while(0);if(i<<24>>24<0)GBb(f[D>>2]|0)}if((h|0)!=(c|0)?(A=f[(f[h+28>>2]|0)+40>>2]|0,(A|0)!=0):0)g=g|(cj[A&1023](x,d)|0);m=m+12|0}while((m|0)!=(f[v>>2]|0))}if(!g)H4(d)}if((F|0)==58)MBb(D);else if((F|0)==102){D4(d,1)|0;e=x;break}}else F=103}while(0);if((F|0)==103)e=0;if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0);F=e;u=G;return F|0}function F4(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<h>>>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<l>>>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<l>>>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 G4(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;r=u;u=u+48|0;q=r+36|0;g=r+24|0;h=r+12|0;i=r;n=d+8|0;p=f[n>>2]|0;YZ(0)|0;I4(q,0,c);o=q+11|0;l=b[o>>0]|0;m=q+4|0;if((l<<24>>24<0?f[m>>2]|0:l&255)|0){l=EBb(20)|0;f[l>>2]=0;OBb(l+8|0,q);f[l+4>>2]=d;k=f[d>>2]|0;f[l>>2]=k;f[k+4>>2]=l;f[d>>2]=l;f[n>>2]=(f[n>>2]|0)+1}a=YZ(0)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;e=EBb(16)|0;f[i>>2]=e;f[i+8>>2]=-2147483632;f[i+4>>2]=11;j=e;k=396043;l=j+11|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[e+11>>0]=0;l=b[c+11>>0]|0;k=l<<24>>24<0;l=bCb(i,k?f[c>>2]|0:c,k?f[c+4>>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;J_(g,a,h);if((b[o>>0]|0)<0){b[f[q>>2]>>0]=0;f[m>>2]=0}else{b[q>>0]=0;b[o>>0]=0}YBb(q,0);f[q>>2]=f[g>>2];f[q+4>>2]=f[g+4>>2];f[q+8>>2]=f[g+8>>2];f[g>>2]=0;f[g+4>>2]=0;f[g+8>>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);l=b[o>>0]|0;if((l<<24>>24<0?f[m>>2]|0:l&255)|0){l=EBb(20)|0;f[l>>2]=0;OBb(l+8|0,q);f[l+4>>2]=d;k=f[d>>2]|0;f[l>>2]=k;f[k+4>>2]=l;f[d>>2]=l;f[n>>2]=(f[n>>2]|0)+1}J_(g,YZ(0)|0,c);if((b[o>>0]|0)<0){b[f[q>>2]>>0]=0;f[m>>2]=0}else{b[q>>0]=0;b[o>>0]=0}YBb(q,0);f[q>>2]=f[g>>2];f[q+4>>2]=f[g+4>>2];f[q+8>>2]=f[g+8>>2];e=b[o>>0]|0;if(!((e<<24>>24<0?f[m>>2]|0:e&255)|0))a=f[n>>2]|0;else{a=EBb(20)|0;f[a>>2]=0;OBb(a+8|0,q);f[a+4>>2]=d;e=f[d>>2]|0;f[a>>2]=e;f[e+4>>2]=a;f[d>>2]=a;a=(f[n>>2]|0)+1|0;f[n>>2]=a;e=b[o>>0]|0}a=(a|0)!=(p|0);if(e<<24>>24>=0){u=r;return a|0}GBb(f[q>>2]|0);u=r;return a|0}function H4(a){a=a|0;var c=0,d=0;c=B4(a,0)|0;if((f[c+8>>2]|0)==1?(b[f[c+12>>2]>>0]|0)==123:0){c=(B4(a,0)|0)+24|0;c=f[c>>2]|0;a:do if(!(_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0))do{d=(B4(a,0)|0)+24|0;if((f[d>>2]|0)<(c|0))break a;D4(a,1)|0}while(!(_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0));while(0);D4(a,1)|0;return}D4(a,1)|0;return}function I4(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+32|0;c=g+12|0;e=g;CCb(e,396055,d);d=cCb(e,505031)|0;f[c>>2]=f[d>>2];f[c+4>>2]=f[d+4>>2];f[c+8>>2]=f[d+8>>2];f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;d=cCb(c,387498)|0;f[a>>2]=f[d>>2];f[a+4>>2]=f[d+4>>2];f[a+8>>2]=f[d+8>>2];f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[e+11>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function J4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=(c|0)!=0;if(i){f[c+8>>2]=0;d=f[c+12>>2]|0;if(d|0)b[d>>0]=0;b[c+20>>0]=0;f[c+24>>2]=0}if(_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0){i=0;return i|0}h=a+4|0;d=Vrb(f[h>>2]|0)|0;a:do if((d|0)!=-1){while(1){e=f[h>>2]|0;if(!(b[a+16+d>>0]|0))break;Urb(e,1,-1)|0;d=Vrb(f[h>>2]|0)|0;if((d|0)==-1)break a}d=Vrb(e)|0;switch(d|0){case -1:{b[a+8>>0]=1;if(!i){i=0;return i|0}f[c+24>>2]=f[a+12>>2];i=(f[c+8>>2]|0)!=0;return i|0}case 34:{b:do if(i){b[c+20>>0]=1;f[c+16>>2]=7;f[c+24>>2]=f[a+12>>2];Urb(f[h>>2]|0,1,-1)|0;e=0;while(1){d=Vrb(f[h>>2]|0)|0;c:do switch(d|0){case -1:break b;case 92:{d=f[h>>2]|0;if(e){d=Trb(d)|0;K4(c,(d|0)==-1?92:d&255);d=0;break c}else{Urb(d,1,-1)|0;d=1;break c}}case 34:{d=f[h>>2]|0;if(!e){g=35;break b}d=Trb(d)|0;K4(c,(d|0)==-1?34:d&255);d=0;break}default:{if(e)K4(c,92);e=Trb(f[h>>2]|0)|0;K4(c,((e|0)==-1?d:e)&255);d=0}}while(0);e=d}}else{Urb(f[h>>2]|0,1,-1)|0;e=0;while(1){d:do switch(Vrb(f[h>>2]|0)|0){case -1:break b;case 92:{d=f[h>>2]|0;if(e){Trb(d)|0;d=0;break d}else{Urb(d,1,-1)|0;d=1;break d}}case 34:{d=f[h>>2]|0;if(!e){g=35;break b}Trb(d)|0;d=0;break}default:{Trb(f[h>>2]|0)|0;d=0}}while(0);e=d}}while(0);if((g|0)==35){Urb(d,1,-1)|0;return i|0}b[a+8>>0]=1;if(!i){i=0;return i|0}i=(f[c+8>>2]|0)!=0;return i|0}case 39:{if(i){b[c+20>>0]=1;f[c+16>>2]=7;f[c+24>>2]=f[a+12>>2]}Urb(f[h>>2]|0,1,-1)|0;d=Vrb(f[h>>2]|0)|0;e:do if((d|0)!=-1){f:do if(i){g=0;e=d;while(1){do if(g|(e|0)!=92){if((e|0)==39){d=f[h>>2]|0;if(!g)break f;d=Trb(d)|0;K4(c,(d|0)==-1?39:d&255);d=0;break}if(g)K4(c,92);d=Trb(f[h>>2]|0)|0;K4(c,((d|0)==-1?e:d)&255);d=0}else{Urb(f[h>>2]|0,1,-1)|0;d=1}while(0);e=Vrb(f[h>>2]|0)|0;if((e|0)==-1)break e;else g=d}}else{e=0;g=d;while(1){do if(e|(g|0)!=92){d=f[h>>2]|0;if((g|0)!=39){Trb(d)|0;d=0;break}if(!e)break f;Trb(d)|0;d=0}else{Urb(f[h>>2]|0,1,-1)|0;d=1}while(0);g=Vrb(f[h>>2]|0)|0;if((g|0)==-1)break e;else e=d}}while(0);Urb(d,1,-1)|0;return i|0}while(0);b[a+8>>0]=1;if(!i){i=0;return i|0}i=(f[c+8>>2]|0)!=0;return i|0}default:{if(b[a+272+d>>0]|0){d=(Trb(f[h>>2]|0)|0)&255;if(i)K4(c,d);switch(d<<24>>24){case 123:{d=1;g=68;break}case 125:{d=-1;g=68;break}default:{}}if((g|0)==68){h=a+12|0;f[h>>2]=(f[h>>2]|0)+d}if(!i){i=0;return i|0}f[c+24>>2]=f[a+12>>2];i=(f[c+8>>2]|0)!=0;return i|0}if(i)f[c+24>>2]=f[a+12>>2];d=Vrb(f[h>>2]|0)|0;g:do if((d|0)!=-1){h:do if(i)while(1){e=d<<24>>24;if(b[a+16+e>>0]|0){g=83;break h}if(b[a+272+e>>0]|0){g=86;break h}g=Trb(f[h>>2]|0)|0;K4(c,((g|0)==-1?d:g)&255);d=Vrb(f[h>>2]|0)|0;if((d|0)==-1)break g}else while(1){d=d<<24>>24;if(b[a+16+d>>0]|0){g=83;break h}if(b[a+272+d>>0]|0){g=86;break h}Trb(f[h>>2]|0)|0;d=Vrb(f[h>>2]|0)|0;if((d|0)==-1)break g}while(0);if((g|0)==83){Urb(f[h>>2]|0,1,-1)|0;if(!i){i=0;return i|0}i=(f[c+8>>2]|0)!=0;return i|0}else if((g|0)==86){if(!i){i=0;return i|0}i=(f[c+8>>2]|0)!=0;return i|0}}while(0);b[a+8>>0]=1;if(!i){i=0;return i|0}i=(f[c+8>>2]|0)!=0;return i|0}}}while(0);b[a+8>>0]=1;i=0;return i|0}function K4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;j=a+12|0;d=f[j>>2]|0;if(d){h=a+8|0;i=f[h>>2]|0;g=a+4|0;e=f[g>>2]|0;if((i|0)<(e+-1|0)){g=h;e=i}else{if((e|0)<256){f[g>>2]=256;e=256}if((i|0)>=(e+-1|0)){do e=e<<1;while((i|0)>=(e+-1|0));f[g>>2]=e}g=FBb((e|0)>-1?e:-1)|0;f[j>>2]=g;_Db(g|0,0,e|0)|0;_mb(g,d,i)|0;HBb(d);g=h;e=f[h>>2]|0;d=f[j>>2]|0}}else{e=a+4|0;d=f[e>>2]|0;if((d|0)<256){f[e>>2]=256;d=256}i=FBb(d)|0;f[j>>2]=i;_Db(i|0,0,d|0)|0;g=a+8|0;f[g>>2]=0;e=0;d=i}f[g>>2]=e+1;b[d+e>>0]=c;b[(f[j>>2]|0)+(f[g>>2]|0)>>0]=0;f[a+16>>2]=7;return}function L4(a){a=a|0;var c=0,d=0;f[a>>2]=326404;c=a+12|0;d=f[c>>2]|0;if(d|0)HBb(d);f[a+4>>2]=256;f[a+8>>2]=0;f[c>>2]=0;f[a+16>>2]=7;b[a+20>>0]=0;f[a+24>>2]=0;return}function M4(a){a=a|0;var b=0;f[a>>2]=326404;b=f[a+12>>2]|0;if(!b){GBb(a);return}HBb(b);GBb(a);return}function N4(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;if((a|0)==(c|0))return a|0;k=a+12|0;d=f[k>>2]|0;if(d|0)HBb(d);g=a+4|0;f[g>>2]=256;h=a+8|0;f[h>>2]=0;f[k>>2]=0;i=a+16|0;f[i>>2]=7;j=a+20|0;b[j>>0]=0;d=a+24|0;f[d>>2]=0;e=c+12|0;if(!(f[e>>2]|0)){f[g>>2]=0;f[h>>2]=0;f[k>>2]=0}else{l=f[c+4>>2]|0;f[g>>2]=l;f[h>>2]=f[c+8>>2];h=FBb((l|0)>-1?l:-1)|0;f[k>>2]=h;_mb(h,f[e>>2]|0,l)|0}f[i>>2]=f[c+16>>2];b[j>>0]=b[c+20>>0]|0;f[d>>2]=f[c+24>>2];return a|0}function O4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;g=B4(c,0)|0;h=g+16|0;d=f[h>>2]|0;if((d|0)==7){d=f[g+12>>2]|0;if(d|0){e=C4(d,(b[g+20>>0]|0)!=0)|0;f[h>>2]=e;i=4}}else{e=d;i=4}if(((i|0)==4?(e|0)==3:0)?(cnb(f[g+12>>2]|0,395981)|0)==0:0){h=(B4(c,1)|0)+8|0;if(!(f[h>>2]|0)){j=0;u=k;return j|0}e=f[(f[c>>2]|0)+64>>2]|0;a=B4(c,1)|0;a=(f[a+8>>2]|0)==0?0:f[a+12>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=Rmb(a)|0;if(g>>>0>4294967279)MBb(j);if(g>>>0<11){b[j+11>>0]=g;if(!g)d=j;else{d=j;i=12}}else{i=g+16&-16;d=EBb(i)|0;f[j>>2]=d;f[j+8>>2]=i|-2147483648;f[j+4>>2]=g;i=12}if((i|0)==12)YDb(d|0,a|0,g|0)|0;b[d+g>>0]=0;d=cj[e&1023](c,j)|0;if(!d)d=0;else d=WCb(d,295088,295136,0)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(!d){j=0;u=k;return j|0}D4(c,2)|0;j=d;u=k;return j|0}d=E4(a,a+72|0,c)|0;if(!d){j=0;u=k;return j|0}a=WCb(d,295088,295136,0)|0;if(a|0){j=a;u=k;return j|0}c=d+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)!=1){j=0;u=k;return j|0}Rua(d,1,1);j=0;u=k;return j|0}function P4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;g=B4(c,0)|0;h=g+16|0;d=f[h>>2]|0;if((d|0)==7){d=f[g+12>>2]|0;if(d|0){e=C4(d,(b[g+20>>0]|0)!=0)|0;f[h>>2]=e;i=4}}else{e=d;i=4}if(((i|0)==4?(e|0)==3:0)?(cnb(f[g+12>>2]|0,395981)|0)==0:0){h=(B4(c,1)|0)+8|0;if(!(f[h>>2]|0)){j=0;u=k;return j|0}e=f[(f[c>>2]|0)+64>>2]|0;a=B4(c,1)|0;a=(f[a+8>>2]|0)==0?0:f[a+12>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=Rmb(a)|0;if(g>>>0>4294967279)MBb(j);if(g>>>0<11){b[j+11>>0]=g;if(!g)d=j;else{d=j;i=12}}else{i=g+16&-16;d=EBb(i)|0;f[j>>2]=d;f[j+8>>2]=i|-2147483648;f[j+4>>2]=g;i=12}if((i|0)==12)YDb(d|0,a|0,g|0)|0;b[d+g>>0]=0;d=cj[e&1023](c,j)|0;if(!d)d=0;else d=WCb(d,295088,298120,0)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(!d){j=0;u=k;return j|0}D4(c,2)|0;j=d;u=k;return j|0}d=E4(a,a+60|0,c)|0;if(!d){j=0;u=k;return j|0}j=WCb(d,295088,298120,0)|0;u=k;return j|0}function Q4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;g=B4(c,0)|0;h=g+16|0;d=f[h>>2]|0;if((d|0)==7){d=f[g+12>>2]|0;if(d|0){e=C4(d,(b[g+20>>0]|0)!=0)|0;f[h>>2]=e;i=4}}else{e=d;i=4}if(((i|0)==4?(e|0)==3:0)?(cnb(f[g+12>>2]|0,395981)|0)==0:0){h=(B4(c,1)|0)+8|0;if(!(f[h>>2]|0)){j=0;u=k;return j|0}e=f[(f[c>>2]|0)+64>>2]|0;a=B4(c,1)|0;a=(f[a+8>>2]|0)==0?0:f[a+12>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=Rmb(a)|0;if(g>>>0>4294967279)MBb(j);if(g>>>0<11){b[j+11>>0]=g;if(!g)d=j;else{d=j;i=12}}else{i=g+16&-16;d=EBb(i)|0;f[j>>2]=d;f[j+8>>2]=i|-2147483648;f[j+4>>2]=g;i=12}if((i|0)==12)YDb(d|0,a|0,g|0)|0;b[d+g>>0]=0;d=cj[e&1023](c,j)|0;if(!d)d=0;else d=WCb(d,295088,282664,0)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(!d){j=0;u=k;return j|0}D4(c,2)|0;j=d;u=k;return j|0}d=E4(a,a+48|0,c)|0;if(!d){j=0;u=k;return j|0}j=WCb(d,295088,282664,0)|0;u=k;return j|0}function R4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;g=B4(c,0)|0;h=g+16|0;d=f[h>>2]|0;if((d|0)==7){d=f[g+12>>2]|0;if(d|0){e=C4(d,(b[g+20>>0]|0)!=0)|0;f[h>>2]=e;i=4}}else{e=d;i=4}if(((i|0)==4?(e|0)==3:0)?(cnb(f[g+12>>2]|0,395981)|0)==0:0){h=(B4(c,1)|0)+8|0;if(!(f[h>>2]|0)){j=0;u=k;return j|0}e=f[(f[c>>2]|0)+64>>2]|0;a=B4(c,1)|0;a=(f[a+8>>2]|0)==0?0:f[a+12>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=Rmb(a)|0;if(g>>>0>4294967279)MBb(j);if(g>>>0<11){b[j+11>>0]=g;if(!g)d=j;else{d=j;i=12}}else{i=g+16&-16;d=EBb(i)|0;f[j>>2]=d;f[j+8>>2]=i|-2147483648;f[j+4>>2]=g;i=12}if((i|0)==12)YDb(d|0,a|0,g|0)|0;b[d+g>>0]=0;d=cj[e&1023](c,j)|0;if(!d)d=0;else d=WCb(d,295088,296768,0)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(!d){j=0;u=k;return j|0}D4(c,2)|0;j=d;u=k;return j|0}d=E4(a,a+36|0,c)|0;if(!d){j=0;u=k;return j|0}a=WCb(d,295088,296768,0)|0;if(a|0){j=a;u=k;return j|0}c=d+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)!=1){j=0;u=k;return j|0}Rua(d,1,1);j=0;u=k;return j|0}function S4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;g=B4(c,0)|0;h=g+16|0;d=f[h>>2]|0;if((d|0)==7){d=f[g+12>>2]|0;if(d|0){e=C4(d,(b[g+20>>0]|0)!=0)|0;f[h>>2]=e;i=4}}else{e=d;i=4}if(((i|0)==4?(e|0)==3:0)?(cnb(f[g+12>>2]|0,395981)|0)==0:0){h=(B4(c,1)|0)+8|0;if(!(f[h>>2]|0)){j=0;u=k;return j|0}e=f[(f[c>>2]|0)+64>>2]|0;a=B4(c,1)|0;a=(f[a+8>>2]|0)==0?0:f[a+12>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=Rmb(a)|0;if(g>>>0>4294967279)MBb(j);if(g>>>0<11){b[j+11>>0]=g;if(!g)d=j;else{d=j;i=12}}else{i=g+16&-16;d=EBb(i)|0;f[j>>2]=d;f[j+8>>2]=i|-2147483648;f[j+4>>2]=g;i=12}if((i|0)==12)YDb(d|0,a|0,g|0)|0;b[d+g>>0]=0;d=cj[e&1023](c,j)|0;if(!d)d=0;else d=WCb(d,295088,297384,0)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(!d){j=0;u=k;return j|0}D4(c,2)|0;j=d;u=k;return j|0}d=E4(a,a+24|0,c)|0;if(!d){j=0;u=k;return j|0}a=WCb(d,295088,297384,0)|0;if(a|0){j=a;u=k;return j|0}c=d+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)!=1){j=0;u=k;return j|0}Rua(d,1,1);j=0;u=k;return j|0}function T4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k;g=B4(c,0)|0;h=g+16|0;d=f[h>>2]|0;if((d|0)==7){d=f[g+12>>2]|0;if(d|0){e=C4(d,(b[g+20>>0]|0)!=0)|0;f[h>>2]=e;i=4}}else{e=d;i=4}if(((i|0)==4?(e|0)==3:0)?(cnb(f[g+12>>2]|0,395981)|0)==0:0){h=(B4(c,1)|0)+8|0;if(!(f[h>>2]|0)){j=0;u=k;return j|0}e=f[(f[c>>2]|0)+64>>2]|0;a=B4(c,1)|0;a=(f[a+8>>2]|0)==0?0:f[a+12>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=Rmb(a)|0;if(g>>>0>4294967279)MBb(j);if(g>>>0<11){b[j+11>>0]=g;if(!g)d=j;else{d=j;i=12}}else{i=g+16&-16;d=EBb(i)|0;f[j>>2]=d;f[j+8>>2]=i|-2147483648;f[j+4>>2]=g;i=12}if((i|0)==12)YDb(d|0,a|0,g|0)|0;b[d+g>>0]=0;d=cj[e&1023](c,j)|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(!d){j=0;u=k;return j|0}D4(c,2)|0;j=d;u=k;return j|0}j=E4(a,a+12|0,c)|0;u=k;return j|0}function U4(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;F=u;u=u+48|0;C=F+36|0;D=F+24|0;A=F+12|0;B=F;e=B4(d,0)|0;if(!(f[e+8>>2]|0)){E=0;u=F;return E|0}l=f[e+12>>2]|0;if(!l){E=0;u=F;return E|0}j=B4(d,0)|0;g=j+16|0;e=f[g>>2]|0;if((e|0)==7){e=f[j+12>>2]|0;if(!e)e=0;else{e=C4(e,(b[j+20>>0]|0)!=0)|0;f[g>>2]=e;E=6}}else E=6;if((E|0)==6)if((e|0)==3?(cnb(f[j+12>>2]|0,395981)|0)==0:0){y=(B4(d,1)|0)+8|0;if(!(f[y>>2]|0)){E=0;u=F;return E|0}j=f[(f[d>>2]|0)+64>>2]|0;g=B4(d,1)|0;g=(f[g+8>>2]|0)==0?0:f[g+12>>2]|0;f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;k=Rmb(g)|0;if(k>>>0>4294967279)MBb(C);if(k>>>0<11){b[C+11>>0]=k;if(!k)e=C;else{e=C;E=14}}else{E=k+16&-16;e=EBb(E)|0;f[C>>2]=e;f[C+8>>2]=E|-2147483648;f[C+4>>2]=k;E=14}if((E|0)==14)YDb(e|0,g|0,k|0)|0;b[e+k>>0]=0;e=cj[j&1023](d,C)|0;if((b[C+11>>0]|0)<0)GBb(f[C>>2]|0);if(e){if(cj[f[(f[c>>2]|0)+8>>2]&1023](c,e)|0){D4(d,2)|0;E=e;u=F;return E|0}}else e=0}else e=0;f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;j=Rmb(l)|0;if(j>>>0>4294967279)MBb(D);if(j>>>0<11){b[D+11>>0]=j;if(!j)g=D;else{g=D;E=25}}else{E=j+16&-16;g=EBb(E)|0;f[D>>2]=g;f[D+8>>2]=E|-2147483648;f[D+4>>2]=j;E=25}if((E|0)==25)YDb(g|0,l|0,j|0)|0;b[g+j>>0]=0;x=a+12|0;g=F4(x,D)|0;y=a+16|0;do if((g|0)==(y|0)){g=B4(d,0)|0;g=(f[g+8>>2]|0)==0?0:f[g+12>>2]|0;f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;l=Rmb(g)|0;if(l>>>0>4294967279)MBb(C);if(l>>>0<11){k=C+11|0;b[k>>0]=l;if(!l)j=C;else{j=C;E=32}}else{k=l+16&-16;j=EBb(k)|0;f[C>>2]=j;f[C+8>>2]=k|-2147483648;f[C+4>>2]=l;k=C+11|0;E=32}if((E|0)==32)YDb(j|0,g|0,l|0)|0;b[j+l>>0]=0;g=b[k>>0]|0;m=g<<24>>24<0;l=m?f[C>>2]|0:C;g=m?f[C+4>>2]|0:g&255;m=l+g|0;a:do if((g|0)>=2){while(1){g=g+-1|0;if((b[l+g>>0]|0)==58){j=l+g|0;if((b[j+-1>>0]|0)==58)break;if((g|0)==1){E=56;break a}}else if((g|0)==1){E=56;break a}}z=j+-1|0;g=z-l|0;if(!((z|0)==(m|0)|(g|0)==-1)){SBb(A,C,0,g,B);f[B>>2]=B;j=B+4|0;f[j>>2]=B;l=B+8|0;f[l>>2]=0;b:do if(G4(0,A,B)|0?(i=f[j>>2]|0,n=i,(B|0)!=(n|0)):0){g=n;while(1){if((K_(YZ(0)|0,i+8|0)|0)==2)break;i=f[g+4>>2]|0;g=i;if((B|0)==(g|0)){g=0;break b}}g=1;e=U4(a,c,d)|0}else g=0;while(0);if(f[l>>2]|0?(h=f[j>>2]|0,d=(f[B>>2]|0)+4|0,z=f[h>>2]|0,f[z+4>>2]=f[d>>2],f[f[d>>2]>>2]=z,f[l>>2]=0,(h|0)!=(B|0)):0)do{i=h;h=f[h+4>>2]|0;j=i+8|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);GBb(i)}while((h|0)!=(B|0));if((b[A+11>>0]|0)<0)GBb(f[A>>2]|0);if(!g)E=56}else E=56}else E=56;while(0);if((E|0)==56)g=0;if((b[k>>0]|0)<0)GBb(f[C>>2]|0);if(!g)E=121;else z=e}else{w=B4(d,1)|0;if((f[w+8>>2]|0)==1?(b[f[w+12>>2]>>0]|0)==123:0){g=f[g+28>>2]|0;e=f[g+12>>2]|0;if(!e){if(!(qZa(2)|0)){z=0;break}B=Nu(Hua(2)|0,395985,6)|0;z=B4(d,0)|0;z=(f[z+8>>2]|0)==0?0:f[z+12>>2]|0;z=Nu(Nu(B,z,Rmb(z)|0)|0,395992,41)|0;Drb(C,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);B=utb(C,504576)|0;B=cj[f[(f[B>>2]|0)+28>>2]&1023](B,10)|0;vtb(C);ksb(z,B)|0;Krb(z)|0;z=0;break}if(cj[f[(f[c>>2]|0)+8>>2]&1023](c,e)|0){w=(B4(d,0)|0)+24|0;w=f[w>>2]|0;D4(d,2)|0;t=_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;v=g+28|0;m=g+32|0;n=C+11|0;a=C+4|0;c=B+4|0;o=B+8|0;p=A+11|0;q=C+11|0;r=C+8|0;s=C+4|0;while(1){if(_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0){E=120;break}l=(B4(d,0)|0)+24|0;if((f[l>>2]|0)<=(w|0)){E=120;break}h=B4(d,0)|0;g=h+16|0;e=f[g>>2]|0;if((e|0)==7){e=f[h+12>>2]|0;if(!e)e=0;else{e=C4(e,(b[h+20>>0]|0)!=0)|0;f[g>>2]=e;E=72}}else E=72;if((E|0)==72){E=0;if(((e|0)==3?(cnb(f[h+12>>2]|0,396034)|0)==0:0)?(l=(B4(d,1)|0)+8|0,(f[l>>2]|0)!=0):0){h=f[(f[d>>2]|0)+68>>2]|0;g=B4(d,1)|0;g=(f[g+8>>2]|0)==0?0:f[g+12>>2]|0;f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;i=Rmb(g)|0;if(i>>>0>4294967279){E=76;break}if(i>>>0<11){b[q>>0]=i;if(!i)e=C;else{e=C;E=80}}else{E=i+16&-16;e=EBb(E)|0;f[C>>2]=e;f[r>>2]=E|-2147483648;f[s>>2]=i;E=80}if((E|0)==80){E=0;YDb(e|0,g|0,i|0)|0}b[e+i>>0]=0;Fj[h&511](d,C,t);if((b[q>>0]|0)<0)GBb(f[C>>2]|0);D4(d,2)|0;e=1}else e=0}g=f[v>>2]|0;if((g|0)!=(f[m>>2]|0)){l=g;do{g=F4(x,l)|0;if((g|0)==(y|0)){OBb(C,l);h=b[n>>0]|0;g=h<<24>>24<0;j=g?f[C>>2]|0:C;g=g?f[a>>2]|0:h&255;k=j+g|0;c:do if((g|0)<2)g=y;else{while(1){g=g+-1|0;if((b[j+g>>0]|0)==58){i=j+g|0;if((b[i+-1>>0]|0)==58)break;if((g|0)==1){g=y;break c}}else if((g|0)==1){g=y;break c}}i=i+-1|0;g=i-j|0;if((i|0)==(k|0)|(g|0)==-1){g=y;break}SBb(A,C,0,g,B);f[B>>2]=B;f[c>>2]=B;f[o>>2]=0;do if(G4(0,A,B)|0){g=f[c>>2]|0;h=g;if((B|0)==(h|0)){g=y;break}i=g;do{if((K_(YZ(0)|0,i+8|0)|0)==2)g=F4(x,l)|0;else g=y;i=f[h+4>>2]|0;h=i}while(!((g|0)!=(y|0)|(B|0)==(h|0)))}else g=y;while(0);do if(f[o>>2]|0){h=f[c>>2]|0;k=(f[B>>2]|0)+4|0;j=f[h>>2]|0;f[j+4>>2]=f[k>>2];f[f[k>>2]>>2]=j;f[o>>2]=0;if((h|0)==(B|0))break;do{i=h;h=f[h+4>>2]|0;j=i+8|0;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);GBb(i)}while((h|0)!=(B|0))}while(0);if((b[p>>0]|0)<0)GBb(f[A>>2]|0);h=b[n>>0]|0}while(0);if(h<<24>>24<0)GBb(f[C>>2]|0)}do if((g|0)!=(y|0)){g=f[(f[g+28>>2]|0)+40>>2]|0;if(!g)break;e=e|(cj[g&1023](t,d)|0)}while(0);l=l+12|0}while((l|0)!=(f[m>>2]|0))}if(!e)H4(d)}if((E|0)==76)MBb(C);else if((E|0)==120){D4(d,1)|0;z=t;break}}else z=0}else E=121}while(0);if((E|0)==121)z=0;if((b[D+11>>0]|0)<0)GBb(f[D>>2]|0);E=z;u=F;return E|0}function V4(a){a=a|0;return}function W4(a){a=a|0;GBb(a);return}function X4(a,b){a=a|0;b=b|0;a=f[a+4>>2]|0;return cj[f[(f[a>>2]|0)+20>>2]&1023](a,b)|0}function Y4(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;Y4(a,f[c>>2]|0);Y4(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 Z4(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=326444;j=a+560|0;c=f[j>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);i=a+564|0;c=f[i>>2]|0;do if(c|0){h=a+572|0;d=f[h>>2]|0;if((d|0)>0){g=0;do{c=c+(g<<2)|0;e=f[c>>2]|0;if(e){tj[f[(f[e>>2]|0)+4>>2]&2047](e);c=(f[i>>2]|0)+(g<<2)|0;d=f[h>>2]|0}f[c>>2]=0;g=g+1|0;c=f[i>>2]|0}while((g|0)<(d|0));if(!c)break}HBb(c)}while(0);f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[a+532>>2]=326404;c=a+544|0;d=f[c>>2]|0;if(d|0)HBb(d);f[a+536>>2]=256;f[a+540>>2]=0;f[c>>2]=0;f[a+548>>2]=7;b[a+552>>0]=0;f[a+556>>2]=0;f[a+4>>2]=326464;f[a+8>>2]=0;b[a+12>>0]=1;_Db(a+16|0,0,260)|0;b[a+52>>0]=1;b[a+29>>0]=1;b[a+30>>0]=1;b[a+33>>0]=1;_Db(a+276|0,0,256)|0;b[a+399>>0]=1;b[a+401>>0]=1;b[a+310>>0]=1;b[a+315>>0]=1;return}function _4(a){a=a|0;f[a>>2]=326464;f[a+4>>2]=0;b[a+8>>0]=1;_Db(a+12|0,0,260)|0;b[a+48>>0]=1;b[a+25>>0]=1;b[a+26>>0]=1;b[a+29>>0]=1;_Db(a+272|0,0,256)|0;b[a+395>>0]=1;b[a+397>>0]=1;b[a+306>>0]=1;b[a+311>>0]=1;return}function $4(a){a=a|0;GBb(a);return}function a5(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if((a|0)==(c|0))return a|0;g=a+4|0;f[g>>2]=0;e=a+8|0;b[e>>0]=1;d=a+12|0;_Db(d|0,0,260)|0;b[a+48>>0]=1;b[a+25>>0]=1;b[a+26>>0]=1;b[a+29>>0]=1;_Db(a+272|0,0,256)|0;b[a+395>>0]=1;b[a+397>>0]=1;b[a+306>>0]=1;b[a+311>>0]=1;f[g>>2]=f[c+4>>2];b[e>>0]=b[c+8>>0]|0;f[d>>2]=f[c+12>>2];d=0;do{b[a+16+d>>0]=b[c+16+d>>0]|0;d=d+1|0}while((d|0)!=256);d=0;do{b[a+272+d>>0]=b[c+272+d>>0]|0;d=d+1|0}while((d|0)!=256);return a|0}function b5(a){a=a|0;return (b[a+8>>0]|0)!=0|0}function c5(a){a=a|0;Z4(a);GBb(a);return}function d5(a){a=a|0;q5(a,326556);kqb(a+180|0);return}function e5(a){a=a|0;q5(a,326556);kqb(a+180|0);GBb(a);return}function f5(a,b){a=a|0;b=b|0;var c=0;c=(YZ(0)|0)+244|0;return y5(f[c>>2]|0,b,a)|0}function g5(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;g=a+108|0;if((f[g>>2]|0)>0){d=0;do{b[e>>0]=32;Nu(a,e,1)|0;d=d+1|0}while((d|0)<(f[g>>2]|0))}g=b[c+11>>0]|0;d=g<<24>>24<0;g=Nu(Nu(a,d?f[c>>2]|0:c,d?f[c+4>>2]|0:g&255)|0,396462,2)|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;u=h;return}function h5(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;d=g;e=a+108|0;if((f[e>>2]|0)>0){c=0;do{b[d>>0]=32;Nu(a,d,1)|0;c=c+1|0}while((c|0)<(f[e>>2]|0))}e=Nu(a,402867,1)|0;Drb(d,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(e,a)|0;Krb(e)|0;u=g;return}function i5(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;g=a+108|0;if((f[g>>2]|0)>0){d=0;do{b[e>>0]=32;Nu(a,e,1)|0;d=d+1|0}while((d|0)<(f[g>>2]|0))}d=Nu(a,396457,4)|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;u=h;return}function j5(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;g=a+108|0;if((f[g>>2]|0)>0){d=0;do{b[e>>0]=32;Nu(a,e,1)|0;d=d+1|0}while((d|0)<(f[g>>2]|0))}d=Nu(a,396447,9)|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;u=h;return}function k5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=u;u=u+16|0;d=e;switch(f[b+144>>2]|0){case 1:{if(qZa(2)|0){b=Nu(Hua(2)|0,396299,71)|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}OBb(a,c);u=e;return}case 2:{if(qZa(2)|0){g=Nu(Hua(2)|0,396371,75)|0;Drb(d,g+(f[(f[g>>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(g,b)|0;Krb(g)|0}OBb(a,c);u=e;return}case 3:{e$(a,c);u=e;return}default:{OBb(a,c);u=e;return}}}function l5(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;j=u;u=u+160|0;h=j+136|0;i=j;t5(a,c+132|0);d=c+152|0;if(!(f[d>>2]|0)){cCb(a,396294)|0;i=f[d>>2]|0;i=i+1|0;f[d>>2]=i;u=j;return}e=i+56|0;g=i+4|0;f[i>>2]=288132;f[e>>2]=288152;Brb(i+56|0,g);f[i+128>>2]=0;f[i+132>>2]=-1;f[i>>2]=326600;f[e>>2]=326620;Hrb(g);f[g>>2]=304196;c=i+36|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[i+52>>2]=16;b[h>>0]=95;k=Nu(i,h,1)|0;csb(k,f[d>>2]|0)|0;KX(h,g);k=h+11|0;l=b[k>>0]|0;m=l<<24>>24<0;bCb(a,m?f[h>>2]|0:h,m?f[h+4>>2]|0:l&255)|0;if((b[k>>0]|0)<0)GBb(f[h>>2]|0);f[i>>2]=326600;f[e>>2]=326620;f[g>>2]=304196;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);qqb(g);mrb(i,326632);kqb(e);cCb(a,396294)|0;m=f[d>>2]|0;m=m+1|0;f[d>>2]=m;u=j;return}function m5(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;j=u;u=u+160|0;h=j+136|0;i=j;t5(a,c+132|0);d=c+160|0;if(!(f[d>>2]|0)){cCb(a,396218)|0;i=f[d>>2]|0;i=i+1|0;f[d>>2]=i;u=j;return}e=i+56|0;g=i+4|0;f[i>>2]=288132;f[e>>2]=288152;Brb(i+56|0,g);f[i+128>>2]=0;f[i+132>>2]=-1;f[i>>2]=326600;f[e>>2]=326620;Hrb(g);f[g>>2]=304196;c=i+36|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[i+52>>2]=16;b[h>>0]=95;k=Nu(i,h,1)|0;csb(k,f[d>>2]|0)|0;KX(h,g);k=h+11|0;l=b[k>>0]|0;m=l<<24>>24<0;bCb(a,m?f[h>>2]|0:h,m?f[h+4>>2]|0:l&255)|0;if((b[k>>0]|0)<0)GBb(f[h>>2]|0);f[i>>2]=326600;f[e>>2]=326620;f[g>>2]=304196;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);qqb(g);mrb(i,326632);kqb(e);cCb(a,396218)|0;m=f[d>>2]|0;m=m+1|0;f[d>>2]=m;u=j;return}function n5(a){a=a|0;var c=0;f[a+108>>2]=0;f[a+112>>2]=2;f[a+116>>2]=10;f[a+144>>2]=0;b[a+148>>0]=0;f[a+152>>2]=0;b[a+156>>0]=0;f[a+160>>2]=0;c=a+164|0;b[c>>0]=0;a=sh(396189)|0;if(!a)return;a=(cnb(a,411016)|0)==0&1;b[c>>0]=a;return}function o5(a){a=a|0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;q5(a,326556);kqb(a+180|0);return}function p5(a){a=a|0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;q5(a,326556);kqb(a+180|0);GBb(a);return}function q5(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=f[c>>2]|0;f[a>>2]=d;f[a+(f[d+-12>>2]|0)>>2]=f[c+28>>2];r5(a+168|0,f[a+172>>2]|0);d=a+132|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);s5(a+120|0,f[a+124>>2]|0);d=a+104|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;h=f[c+8>>2]|0;f[a>>2]=h;f[a+(f[h+-12>>2]|0)>>2]=f[c+20>>2];es(a+4|0);mrb(a,c+12|0);return}function r5(a,c){a=a|0;c=c|0;if(!c)return;r5(a,f[c>>2]|0);r5(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 s5(a,c){a=a|0;c=c|0;if(!c)return;s5(a,f[c>>2]|0);s5(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 t5(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0;g=mCb(c,46,-1)|0;e=b[c+11>>0]|0;i=e<<24>>24<0;d=i?f[c>>2]|0:c;e=i?f[c+4>>2]|0:e&255;a:do if(!e)e=-1;else{e=d+e|0;while(1){e=e+-1|0;if(Ymb(387257,h[e>>0]|0,2)|0)break;if((e|0)==(d|0)){e=-1;break a}}e=e-d|0}while(0);if((g|0)!=-1?!((e|0)!=-1&g>>>0<e>>>0):0){i=d+g|0;e=d;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;if(g>>>0>4294967279)MBb(a);if(g>>>0<11){b[a+11>>0]=g;if(g)j=14}else{c=g+16&-16;j=EBb(c)|0;f[a>>2]=j;f[a+8>>2]=c|-2147483648;f[a+4>>2]=g;a=j;j=14}if((j|0)==14){c=i+(0-e)|0;e=a;while(1){b[e>>0]=b[d>>0]|0;d=d+1|0;if((d|0)==(i|0))break;else e=e+1|0}a=a+c|0}b[a>>0]=0;return}OBb(a,c);return}function u5(a){a=a|0;var c=0,d=0,e=0;f[a>>2]=326600;c=a+56|0;f[c>>2]=326620;d=a+4|0;f[d>>2]=304196;e=a+36|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);mrb(a,326632);kqb(c);return}function v5(a){a=a|0;var c=0,d=0,e=0;f[a>>2]=326600;c=a+56|0;f[c>>2]=326620;d=a+4|0;f[d>>2]=304196;e=a+36|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);mrb(a,326632);kqb(c);GBb(a);return}function w5(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]=326600;c=a+56|0;f[c>>2]=326620;d=a+4|0;f[d>>2]=304196;e=a+36|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);mrb(a,326632);kqb(c);return}function x5(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]=326600;c=a+56|0;f[c>>2]=326620;d=a+4|0;f[d>>2]=304196;e=a+36|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);mrb(a,326632);kqb(c);GBb(a);return}function y5(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+336|0;q=E+256|0;x=E;B=E+312|0;C=E+300|0;D=E+288|0;z=E+276|0;A=E+264|0;p=c+8|0;if((f[p>>2]|0)>1?(f[x>>2]=0,f[x+4>>2]=0,f[x+8>>2]=0,h=d+124|0,e=f[h>>2]|0,e|0):0){g=h;do{w=(f[e+16>>2]|0)>>>0<c>>>0;g=w?g:e;e=f[(w?e+4|0:e)>>2]|0}while((e|0)!=0);if((g|0)!=(h|0)?(f[g+16>>2]|0)>>>0<=c>>>0:0){UBb(x,g+20|0)|0;Bj[f[(f[d>>2]|0)+20>>2]&1023](d,x);if((b[x+11>>0]|0)<0)GBb(f[x>>2]|0);D=1;u=E;return D|0}}g=_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0;f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;h=Rmb(g)|0;if(h>>>0>4294967279)MBb(B);if(h>>>0<11){b[B+11>>0]=h;if(!h)e=B;else{e=B;r=14}}else{r=h+16&-16;e=EBb(r)|0;f[B>>2]=e;f[B+8>>2]=r|-2147483648;f[B+4>>2]=h;r=14}if((r|0)==14)YDb(e|0,g|0,h|0)|0;b[e+h>>0]=0;g=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0;f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;h=Rmb(g)|0;if(h>>>0>4294967279)MBb(C);if(h>>>0<11){b[C+11>>0]=h;if(!h)e=C;else{e=C;r=20}}else{r=h+16&-16;e=EBb(r)|0;f[C>>2]=e;f[C+8>>2]=r|-2147483648;f[C+4>>2]=h;r=20}if((r|0)==20)YDb(e|0,g|0,h|0)|0;b[e+h>>0]=0;j$(x,C,428700);w=B+11|0;v=b[w>>0]|0;t=v<<24>>24<0;v=bCb(x,t?f[B>>2]|0:B,t?f[B+4>>2]|0:v&255)|0;f[D>>2]=f[v>>2];f[D+4>>2]=f[v+4>>2];f[D+8>>2]=f[v+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;if((b[x+11>>0]|0)<0)GBb(f[x>>2]|0);h=a+96|0;j=F4(h,D)|0;m=a+100|0;if((j|0)==(m|0)){f[x>>2]=x;i=x+4|0;f[i>>2]=x;l=x+8|0;f[l>>2]=0;a:do if(G4(0,C,x)|0?(k=f[i>>2]|0,n=k,(x|0)!=(n|0)):0){g=k;e=n;while(1){if((K_(YZ(0)|0,g+8|0)|0)==2)break;g=f[e+4>>2]|0;e=g;if((x|0)==(e|0)){r=30;break a}}k=0;e=y5(a,c,d)|0}else r=30;while(0);if((r|0)==30){k=1;e=1;j=F4(h,B)|0}if(f[l>>2]|0?(o=f[i>>2]|0,v=(f[x>>2]|0)+4|0,t=f[o>>2]|0,f[t+4>>2]=f[v>>2],f[f[v>>2]>>2]=t,f[l>>2]=0,(o|0)!=(x|0)):0){g=o;do{h=g;g=f[g+4>>2]|0;i=h+8|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);GBb(h)}while((g|0)!=(x|0))}if(k){e=j;r=38}}else{e=j;r=38}if((r|0)==38)if((e|0)==(m|0))e=0;else{m=f[e+28>>2]|0;v=b[C+11>>0]|0;if(((v<<24>>24<0?f[C+4>>2]|0:v&255)|0)==3?(nCb(C,0,-1,409756,3)|0)==0:0)Bj[f[(f[d>>2]|0)+12>>2]&1023](d,m+16|0);else r=42;b:do if((r|0)==42){k=m+16|0;l=k+11|0;e=b[l>>0]|0;if(e<<24>>24<0){g=f[k>>2]|0;e=f[m+20>>2]|0}else{g=k;e=e&255}h=g+e|0;i=h;j=g;c:do if((e|0)>=2){while(1){e=e+-1|0;if(!e){r=52;break c}g=Ymb(g,58,e)|0;if(!g){r=52;break c}if(!(anb(g,428700,2)|0))break;g=g+1|0;e=i-g|0;if((e|0)<2){r=52;break c}}if((g|0)!=(h|0)){e=f[(f[d>>2]|0)+12>>2]|0;if((g-j|0)!=-1){Bj[e&1023](d,k);break b}}else r=52}else r=52;while(0);if((r|0)==52)e=f[(f[d>>2]|0)+12>>2]|0;j$(z,C,428700);v=b[l>>0]|0;t=v<<24>>24<0;v=bCb(z,t?f[k>>2]|0:k,t?f[m+20>>2]|0:v&255)|0;f[x>>2]=f[v>>2];f[x+4>>2]=f[v+4>>2];f[x+8>>2]=f[v+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;Bj[e&1023](d,x);if((b[x+11>>0]|0)<0)GBb(f[x>>2]|0);if((b[z+11>>0]|0)<0)GBb(f[z>>2]|0)}while(0);t=d+112|0;v=d+108|0;f[v>>2]=(f[v>>2]|0)+(f[t>>2]|0);if((f[p>>2]|0)>1){f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;k=_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0;l=d+128|0;j=f[l>>2]|0;f[q>>2]=k;f[q+4>>2]=j;Snb(x,396465,q)|0;ZBb(z,x)|0;j=c;k=d+120|0;g=d+124|0;e=f[g>>2]|0;do if(e){h=d+124|0;while(1){g=f[e+16>>2]|0;if(g>>>0>c>>>0){g=f[e>>2]|0;if(!g){r=65;break}else{h=e;e=g}}else{if(g>>>0>=c>>>0){r=69;break}h=e+4|0;g=f[h>>2]|0;if(!g){r=68;break}else e=g}}if((r|0)==65){i=e;h=e;break}else if((r|0)==68){i=e;break}else if((r|0)==69){i=e;break}}else{i=g;h=g}while(0);e=f[h>>2]|0;if(!e){e=EBb(32)|0;f[e+16>>2]=j;g=e+20|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=i;f[h>>2]=e;g=f[f[k>>2]>>2]|0;if(!g)g=e;else{f[k>>2]=g;g=f[h>>2]|0}Xo(f[d+124>>2]|0,g);f[l>>2]=(f[l>>2]|0)+1}UBb(e+20|0,z)|0;Bj[f[(f[d>>2]|0)+24>>2]&1023](d,z);if((b[z+11>>0]|0)<0)GBb(f[z>>2]|0)}e=f[m+28>>2]|0;r=m+32|0;if((e|0)!=(f[r>>2]|0)){s=a+12|0;l=a+16|0;m=x+11|0;n=x+4|0;o=A+4|0;p=A+8|0;q=z+11|0;k=e;do{e=F4(s,k)|0;if((e|0)==(l|0)){OBb(x,k);g=b[m>>0]|0;e=g<<24>>24<0;i=e?f[x>>2]|0:x;e=e?f[n>>2]|0:g&255;j=i+e|0;d:do if((e|0)>=2){while(1){e=e+-1|0;if((b[i+e>>0]|0)==58){h=i+e|0;if((b[h+-1>>0]|0)==58)break;if((e|0)==1){e=l;break d}}else if((e|0)==1){e=l;break d}}a=h+-1|0;e=a-i|0;if(!((a|0)==(j|0)|(e|0)==-1)){SBb(z,x,0,e,A);f[A>>2]=A;f[o>>2]=A;f[p>>2]=0;do if(G4(0,z,A)|0){e=f[o>>2]|0;g=e;if((A|0)==(g|0)){e=l;break}h=e;do{if((K_(YZ(0)|0,h+8|0)|0)==2)e=F4(s,k)|0;else e=l;h=f[g+4>>2]|0;g=h}while(!((e|0)!=(l|0)|(A|0)==(g|0)))}else e=l;while(0);do if(f[p>>2]|0){g=f[o>>2]|0;a=(f[A>>2]|0)+4|0;j=f[g>>2]|0;f[j+4>>2]=f[a>>2];f[f[a>>2]>>2]=j;f[p>>2]=0;if((g|0)==(A|0))break;do{h=g;g=f[g+4>>2]|0;i=h+8|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);GBb(h)}while((g|0)!=(A|0))}while(0);if((b[q>>0]|0)<0)GBb(f[z>>2]|0);g=b[m>>0]|0}else e=l}else e=l;while(0);if(g<<24>>24<0)GBb(f[x>>2]|0)}if((e|0)!=(l|0)?(y=f[(f[e+28>>2]|0)+44>>2]|0,y|0):0)cj[y&1023](c,d)|0;k=k+12|0}while((k|0)!=(f[r>>2]|0))}e=(f[v>>2]|0)-(f[t>>2]|0)|0;f[v>>2]=(e|0)>0?e:0;tj[f[(f[d>>2]|0)+16>>2]&2047](d);e=1}if((b[D+11>>0]|0)<0)GBb(f[D>>2]|0);if((b[C+11>>0]|0)<0)GBb(f[C>>2]|0);if((b[w>>0]|0)<0)GBb(f[B>>2]|0);D=e;u=E;return D|0}function z5(){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[124741]=1.0;n[124742]=0.0;n[124743]=0.0;n[124744]=0.0;n[124745]=1.0;n[124746]=0.0;n[124747]=0.0;n[124748]=0.0;n[124749]=1.0;a=EBb(32)|0;f[c>>2]=a;f[c+8>>2]=-2147483616;f[c+4>>2]=27;e=a;h=396487;i=e+27|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+27>>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]=65;e=a;h=396515;i=e+65|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+65>>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]=34;e=a;h=396581;i=e+34|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+34>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;i=EBb(144)|0;f[d>>2]=i;f[d+8>>2]=-2147483504;f[d+4>>2]=141;YDb(i|0,396616,141)|0;b[i+141>>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]=34;e=a;h=396758;i=e+34|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+34>>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]=67;e=a;h=396793;i=e+67|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+67>>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]=22;e=a;h=396861;i=e+22|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+22>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(64)|0;f[d>>2]=a;f[d+8>>2]=-2147483584;f[d+4>>2]=54;e=a;h=396884;i=e+54|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+54>>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]=33;e=a;h=396939;i=e+33|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+33>>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]=87;e=a;h=396973;i=e+87|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+87>>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);A5()|0;f[124750]=0;f[124751]=0;f[124752]=0;a=EBb(32)|0;f[c>>2]=a;f[c+8>>2]=-2147483616;f[c+4>>2]=29;e=a;h=397061;i=e+29|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+29>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(32)|0;f[d>>2]=a;f[d+8>>2]=-2147483616;f[d+4>>2]=28;e=a;h=397091;i=e+28|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+28>>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]=32;e=a;h=397120;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(48)|0;f[d>>2]=a;f[d+8>>2]=-2147483600;f[d+4>>2]=37;e=a;h=397153;i=e+37|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+37>>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]=24;e=a;h=397191;i=e+24|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+24>>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]=74;e=a;h=397216;i=e+74|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+74>>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);YZ(0)|0;B5(505018);a=EBb(32)|0;f[c>>2]=a;f[c+8>>2]=-2147483616;f[c+4>>2]=28;e=a;h=396189;i=e+28|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+28>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;i=d+11|0;b[i>>0]=8;h=d;f[h>>2]=2082491983;f[h+4>>2]=1179012896;b[d+8>>0]=0;jZa(iZa()|0,2,c,d);if((b[i>>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 A5(){var a=0;if(b[497224]|0)return 499012;if(!(DDb(497224)|0))return 499012;a=EBb(168)|0;C5(a);f[124753]=a;a=a+8|0;f[a>>2]=(f[a>>2]|0)+1;return 499012}function B5(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;g=i+4|0;h=i;e=Dxa()|0;if(!(b[(f[e>>2]|0)+212>>0]|0)){u=i;return}if(qZa(4)|0){e=Nu(Hua(4)|0,397291,75)|0;Drb(g,e+(f[(f[e>>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(e,d)|0;Krb(e)|0}a=Dxa()|0;a=f[(f[a>>2]|0)+216>>2]|0;e=Dxa()|0;if((a|0)==(f[(f[e>>2]|0)+220>>2]|0)){u=i;return}do{c=(YZ(0)|0)+160|0;x4(h,a,f[c>>2]|0);c=f[h>>2]|0;if(c|0){if(qZa(4)|0){j=Nu(Hua(4)|0,397367,15)|0;e=b[a+11>>0]|0;d=e<<24>>24<0;e=Nu(j,d?f[a>>2]|0:a,d?f[a+4>>2]|0:e&255)|0;Drb(g,e+(f[(f[e>>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(e,d)|0;Krb(e)|0}d=Dxa()|0;d=u4((f[d>>2]|0)+256|0,a)|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)?(d=e+8|0,j=f[d>>2]|0,f[d>>2]=j-1,(j|0)==1):0)Rua(e,1,1);c=f[h>>2]|0;if(c|0?(e=c+8|0,j=f[e>>2]|0,f[e>>2]=j-1,(j|0)==1):0)Rua(c,1,1)}a=a+12|0;j=Dxa()|0}while((a|0)!=(f[(f[j>>2]|0)+220>>2]|0));u=i;return}function C5(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,q=0,r=0,s=0;s=u;u=u+16|0;k=s;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;f[a+56>>2]=0;q=a+60|0;f[q>>2]=0;f[a+64>>2]=0;t4a(a+72|0,0);e=a+84|0;f[e>>2]=0;j=a+88|0;l=a+92|0;m=a+96|0;o=a+100|0;r=a+120|0;f[r>>2]=0;f[a+132>>2]=0;f[a+164>>2]=0;b[a+36>>0]=0;b[a+52>>0]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;b[a+53>>0]=1;b[a+54>>0]=0;f[a+68>>2]=0;f[e>>2]=0;e=a+104|0;f[e>>2]=0;d=sh(397383)|0;if(!d){d=sh(397411)|0;if(d|0)g=3}else g=3;do if((g|0)==3){if(!(cnb(d,397439)|0)){f[e>>2]=0;break}if(cnb(d,397451)|0?cnb(d,397463)|0:0){if(!(cnb(d,411873)|0)){f[e>>2]=2;break}if(cnb(d,397466)|0?cnb(d,397479)|0:0)break;f[e>>2]=3;break}f[e>>2]=1}while(0);e=a+108|0;b[e>>0]=0;d=sh(397482)|0;if(d|0){if(((cnb(d,474171)|0)!=0?(cnb(d,414658)|0)!=0:0)?(cnb(d,453522)|0)!=0:0)d=(cnb(d,411016)|0)==0;else d=1;b[e>>0]=d&1;if(qZa(3)|0){i=Nu(Hua(3)|0,397507,32)|0;i=_rb(i,(b[e>>0]|0)!=0)|0;Drb(k,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(k,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(k);ksb(i,h)|0;Krb(i)|0}}b[a+109>>0]=1;b[a+110>>0]=0;b[a+111>>0]=0;n[a+112>>2]=1.0;e=a+116|0;b[e>>0]=1;d=sh(397540)|0;if(d|0){if(((cnb(d,474171)|0)!=0?(cnb(d,414658)|0)!=0:0)?(cnb(d,453522)|0)!=0:0)d=(cnb(d,411016)|0)==0;else d=1;b[e>>0]=d&1}d=a+124|0;f[d>>2]=300;e=sh(397570)|0;if(e|0?(i=Tnb(e)|0,f[d>>2]=i,qZa(3)|0):0){i=Nu(Hua(3)|0,397587,32)|0;i=csb(i,f[d>>2]|0)|0;Drb(k,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(k,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(k);ksb(i,h)|0;Krb(i)|0}e=a+128|0;b[e>>0]=1;d=sh(397620)|0;if(d|0){if(((cnb(d,474171)|0)!=0?(cnb(d,414658)|0)!=0:0)?(cnb(d,453522)|0)!=0:0)d=(cnb(d,411016)|0)==0;else d=1;b[e>>0]=d&1}p[a+136>>3]=1797693134862315708145274.0e284;p[a+144>>3]=-1797693134862315708145274.0e284;p[a+152>>3]=0.0;f[a+160>>2]=0;e=EBb(84)|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;d=EBb(32)|0;f[k>>2]=d;f[k+8>>2]=-2147483616;f[k+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,k);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[k+11>>0]|0)<0)GBb(f[k>>2]|0);e=EBb(84)|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;d=EBb(32)|0;f[k>>2]=d;f[k+8>>2]=-2147483616;f[k+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,k);d=f[l>>2]|0;if(((d|0)!=(e|0)?(f[l>>2]=e,l=e+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(j=d+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(d,1,1);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);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=EBb(44)|0;L2(d,a);e=f[o>>2]|0;if(((e|0)!=(d|0)?(f[o>>2]=d,o=d+8|0,f[o>>2]=(f[o>>2]|0)+1,e|0):0)?(m=e+8|0,o=f[m>>2]|0,f[m>>2]=o-1,(o|0)==1):0)Rua(e,1,1);d=sh(397639)|0;a:do if(d|0){if(!(cnb(d,411644)|0)){c=f[a+56>>2]|0;if((c|0)==(f[q>>2]|0))break;while(1){c=c+4|0;if((c|0)==(f[q>>2]|0))break a}}if(!(cnb(d,397667)|0)){c=f[a+56>>2]|0;if((c|0)==(f[q>>2]|0))break;while(1){c=c+4|0;if((c|0)==(f[q>>2]|0))break a}}if(!(cnb(d,397671)|0)){c=f[a+56>>2]|0;if((c|0)==(f[q>>2]|0))break;while(1){c=c+4|0;if((c|0)==(f[q>>2]|0))break a}}if(!(cnb(d,397675)|0)){c=f[a+56>>2]|0;if((c|0)==(f[q>>2]|0))break;while(1){c=c+4|0;if((c|0)==(f[q>>2]|0))break a}}if(!(cnb(d,397683)|0)){c=f[a+56>>2]|0;if((c|0)==(f[q>>2]|0))break;while(1){c=c+4|0;if((c|0)==(f[q>>2]|0))break a}}if((cnb(d,397688)|0)==0?(c=f[a+56>>2]|0,(c|0)!=(f[q>>2]|0)):0)do c=c+4|0;while((c|0)!=(f[q>>2]|0))}while(0);c=EBb(24)|0;rZa(c);f[c>>2]=326652;d=c+16|0;f[d>>2]=0;f[c+20>>2]=0;f[c+12>>2]=d;d=f[r>>2]|0;if((d|0)==(c|0)){u=s;return}f[r>>2]=c;r=c+8|0;f[r>>2]=(f[r>>2]|0)+1;if(!d){u=s;return}q=d+8|0;r=f[q>>2]|0;f[q>>2]=r-1;if((r|0)!=1){u=s;return}Rua(d,1,1);u=s;return}function D5(a){a=a|0;f[a>>2]=326652;_5(a+12|0,f[a+16>>2]|0);Uua(a);return}function E5(a){a=a|0;f[a>>2]=326652;_5(a+12|0,f[a+16>>2]|0);Uua(a);GBb(a);return}function F5(a){a=a|0;var b=0;a=EBb(24)|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;f[a+20>>2]=0;rZa(a);f[a>>2]=326652;b=a+16|0;f[b>>2]=0;f[a+20>>2]=0;f[a+12>>2]=b;return a|0}function G5(a){a=a|0;var b=0,c=0;c=a+12|0;b=a+16|0;_5(c,f[b>>2]|0);f[a+20>>2]=0;f[c>>2]=b;f[b>>2]=0;return}function H5(a){a=a|0;return f[a+20>>2]|0}function I5(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;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,D=0,E=0,F=0,G=0,H=0,I=0,J=0;I=u;u=u+144|0;A=I+128|0;D=I+124|0;E=I+120|0;F=I+20|0;G=I+8|0;B=I;C=a+12|0;h=f[C>>2]|0;m=a+16|0;if(!((h|0)!=(m|0)&(b|0)>0)){u=I;return}n=F+68|0;o=F+80|0;p=F+92|0;q=F+96|0;r=F+60|0;s=F+64|0;t=F+60|0;v=F+56|0;w=G+4|0;x=G+8|0;y=e+8|0;z=F+56|0;a=b;l=h;while(1){f[E>>2]=0;do if(O5(l+16|0,E)|0){if(!((f[(f[E>>2]|0)+188>>2]|0)>>>0>d>>>0^g)){rZa(n);f[n>>2]=338032;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[p>>2]=2;f[q>>2]=0;ZZa(F,326696,2);f[F>>2]=326720;f[n>>2]=327088;f[r>>2]=0;f[s>>2]=0;f[v>>2]=t;f[G>>2]=0;f[w>>2]=0;f[x>>2]=0;h=f[E>>2]|0;bj[f[(f[h>>2]|0)+272>>2]&0](h,c,d,G)|0;h=f[w>>2]|0;b=f[G>>2]|0;if((h|0)==(b|0))i=b;else{i=0;do{h=f[b+(i<<2)>>2]|0;Bj[f[(f[h>>2]|0)+212>>2]&1023](h,F);i=i+1|0;h=f[w>>2]|0;b=f[G>>2]|0}while(i>>>0<h-b>>2>>>0);i=b}b=f[v>>2]|0;if((b|0)==(t|0))b=i;else{do{P5(B,b+16|0);h=f[m>>2]|0;if(h){j=f[B>>2]|0;i=m;do{k=(f[h+16>>2]|0)>>>0<j>>>0;i=k?i:h;h=f[(k?h+4|0:h)>>2]|0}while((h|0)!=0);if((i|0)!=(m|0)?j>>>0>=(f[i+16>>2]|0)>>>0:0){f[D>>2]=i;f[A>>2]=f[D>>2];N5(C,A)|0;a=a+-1|0}else H=17}else H=17;if((H|0)==17)H=0;h=f[B>>2]|0;if(h|0?(j=h+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(h,1,1);h=f[b+4>>2]|0;if(!h){h=b+8|0;i=f[h>>2]|0;if((f[i>>2]|0)==(b|0))b=i;else do{k=f[h>>2]|0;h=k+8|0;b=f[h>>2]|0}while((f[b>>2]|0)!=(k|0))}else{b=h;while(1){h=f[b>>2]|0;if(!h)break;else b=h}}}while((b|0)!=(t|0));b=f[G>>2]|0;h=f[w>>2]|0}if((b|0)==(h|0))i=b;else{do{k=f[b>>2]|0;i=(k|0)==0;if(!i){j=k+8|0;f[j>>2]=(f[j>>2]|0)+1}j=EBb(12)|0;f[j>>2]=0;f[j+8>>2]=k;if(!i){J=k+8|0;f[J>>2]=(f[J>>2]|0)+1}f[j+4>>2]=e;J=f[e>>2]|0;f[j>>2]=J;f[J+4>>2]=j;f[e>>2]=j;f[y>>2]=(f[y>>2]|0)+1;if(!i?(j=k+8|0,J=f[j>>2]|0,f[j>>2]=J-1,(J|0)==1):0)Rua(k,1,1);b=b+4|0}while((b|0)!=(h|0));i=f[G>>2]|0}if(i|0){b=f[w>>2]|0;if((b|0)==(i|0))b=i;else{do{b=b+-4|0;h=f[b>>2]|0;if(h|0?(k=h+8|0,J=f[k>>2]|0,f[k>>2]=J-1,(J|0)==1):0)Rua(h,1,1);f[b>>2]=0}while((b|0)!=(i|0));b=f[G>>2]|0}f[w>>2]=i;GBb(b)}f[F>>2]=326720;f[n>>2]=327088;Q5(z,f[t>>2]|0);dDa(F,326696);Gva(n)}b=f[l+4>>2]|0;if(!b){h=l+8|0;b=f[h>>2]|0;if((f[b>>2]|0)==(l|0))break;do{J=f[h>>2]|0;h=J+8|0;b=f[h>>2]|0}while((f[b>>2]|0)!=(J|0))}else{while(1){h=f[b>>2]|0;if(!h)break;else b=h}break}}else{b=f[l+4>>2]|0;if(!b){h=l+8|0;b=f[h>>2]|0;if((f[b>>2]|0)!=(l|0))do{J=f[h>>2]|0;h=J+8|0;b=f[h>>2]|0}while((f[b>>2]|0)!=(J|0))}else while(1){h=f[b>>2]|0;if(!h)break;else b=h}f[D>>2]=l;f[A>>2]=f[D>>2];N5(C,A)|0;a=a+-1|0;if(qZa(4)|0){J=Nu(Hua(4)|0,397791,91)|0;Drb(A,J+(f[(f[J>>2]|0)+-12>>2]|0)|0);l=utb(A,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(A);ksb(J,l)|0;Krb(J)|0}}while(0);h=f[E>>2]|0;if(h|0?(l=h+8|0,J=f[l>>2]|0,f[l>>2]=J-1,(J|0)==1):0)Rua(h,1,1);if((b|0)!=(m|0)&(a|0)>0)l=b;else break}u=I;return}function J5(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=u;u=u+16|0;i=l+12|0;j=l+8|0;k=l;c=f[b>>2]|0;g=b+4|0;if((c|0)==(f[g>>2]|0)){u=l;return}h=a+16|0;e=a+12|0;do{b=f[c>>2]|0;if(!b)b=0;else b=WCb(b,295136,298344,0)|0;M5(k,b);b=f[h>>2]|0;if(b|0){d=f[k>>2]|0;a=h;do{m=(f[b+16>>2]|0)>>>0<d>>>0;a=m?a:b;b=f[(m?b+4|0:b)>>2]|0}while((b|0)!=0);if((a|0)!=(h|0)?d>>>0>=(f[a+16>>2]|0)>>>0:0){if(qZa(4)|0){m=Nu(Hua(4)|0,397758,32)|0;Drb(i,m+(f[(f[m>>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(m,d)|0;Krb(m)|0}f[j>>2]=a;f[i>>2]=f[j>>2];N5(e,i)|0}}b=f[k>>2]|0;if(b|0?(d=b+8|0,m=f[d>>2]|0,f[d>>2]=m-1,(m|0)==1):0)Rua(b,1,1);c=c+4|0}while((c|0)!=(f[g>>2]|0));u=l;return}function K5(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;k=u;u=u+16|0;g=k;j=a+12|0;d=a+16|0;c=f[d>>2]|0;do if(c){i=f[b>>2]|0;d=c;do{e=f[d+16>>2]|0;if(i>>>0>=e>>>0){if(e>>>0>=i>>>0){h=8;break}d=d+4|0}d=f[d>>2]|0}while((d|0)!=0);if((h|0)==8){if(!(qZa(3)|0)){u=k;return}d=Nu(Hua(3)|0,397692,46)|0;a=f[b>>2]|0;if((a|0)!=0?(f[a+24>>2]|0)!=0:0)c=f[b+4>>2]|0;else c=0;a=Nu(jsb(d,c)|0,397739,18)|0;Drb(g,a+(f[(f[a>>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(a,j)|0;Krb(a)|0;u=k;return}e=a+16|0;while(1){d=f[c+16>>2]|0;if(i>>>0<d>>>0){d=f[c>>2]|0;if(!d){h=16;break}else{e=c;c=d}}else{if(d>>>0>=i>>>0){h=20;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=19;break}else c=d}}if((h|0)==16){g=c;e=c;break}else if((h|0)==19){g=c;break}else if((h|0)==20){g=c;break}}else{g=d;e=d}while(0);if(f[e>>2]|0){u=k;return}c=EBb(24)|0;d=f[b>>2]|0;f[c+16>>2]=d;if(d|0){i=d+8|0;f[i>>2]=(f[i>>2]|0)+1}f[c+20>>2]=f[b+4>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(d){f[j>>2]=d;c=f[e>>2]|0}Xo(f[a+16>>2]|0,c);a=a+20|0;f[a>>2]=(f[a>>2]|0)+1;u=k;return}function L5(a,b){a=a|0;b=b|0;var c=0;a=f[a+16>>2]|0;if(!a){c=0;return c|0}c=f[b>>2]|0;while(1){b=f[a+16>>2]|0;if(c>>>0>=b>>>0){if(b>>>0>=c>>>0){a=1;b=8;break}a=a+4|0}a=f[a>>2]|0;if(!a){a=0;b=8;break}}if((b|0)==8)return a|0;return 0}function M5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;if(!b){d=0;b=a+4|0;f[b>>2]=d;return}c=cCa(b)|0;d=f[a>>2]|0;if((d|0)!=(c|0)){f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[a>>2]|0}if(!c){b=0;e=a+4|0;f[e>>2]=b;return}b=(f[c+24>>2]|0)==0?0:b;e=a+4|0;f[e>>2]=b;return}function N5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=f[b>>2]|0;b=f[d+4>>2]|0;if(!b){b=d+8|0;c=f[b>>2]|0;if((f[c>>2]|0)!=(d|0))do{e=f[b>>2]|0;b=e+8|0;c=f[b>>2]|0}while((f[c>>2]|0)!=(e|0))}else{while(1){c=f[b>>2]|0;if(!c)break;else b=c}c=b}if((f[a>>2]|0)==(d|0))f[a>>2]=c;b=a+8|0;f[b>>2]=(f[b>>2]|0)+-1;Zq(f[a+4>>2]|0,d);b=f[d+16>>2]|0;if(!b){GBb(d);return c|0}a=b+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1){GBb(d);return c|0}Rua(b,1,1);GBb(d);return c|0}function O5(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 P5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;c=f[b>>2]|0;if(!c){d=0;b=a+4|0;f[b>>2]=d;return}c=cCa(c)|0;d=f[a>>2]|0;if((d|0)!=(c|0)){f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[a>>2]|0}if(!c){b=0;e=a+4|0;f[e>>2]=b;return}b=(f[c+24>>2]|0)==0?0:f[b>>2]|0;e=a+4|0;f[e>>2]=b;return}function Q5(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;Q5(a,f[b>>2]|0);Q5(a,f[b+4>>2]|0);a=f[b+16>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function R5(a){a=a|0;var b=0;f[a>>2]=326720;b=a+68|0;f[b>>2]=327088;Q5(a+56|0,f[a+60>>2]|0);dDa(a,326696);Gva(b);return}function S5(a){a=a|0;var b=0;f[a>>2]=326720;b=a+68|0;f[b>>2]=327088;Q5(a+56|0,f[a+60>>2]|0);dDa(a,326696);Gva(b);GBb(a);return}function T5(a){a=a|0;return 386307}function U5(a){a=a|0;return 397883}function V5(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=a+56|0;j=c+8|0;f[j>>2]=(f[j>>2]|0)+1;e=a+60|0;d=f[e>>2]|0;do if(d){g=a+60|0;while(1){e=f[d+16>>2]|0;if(e>>>0>c>>>0){e=f[d>>2]|0;if(!e){e=5;break}else{g=d;d=e}}else{if(e>>>0>=c>>>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);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=c;f[j>>2]=(f[j>>2]|0)+1;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){f[i>>2]=e;d=f[g>>2]|0}Xo(f[a+60>>2]|0,d);i=a+64|0;f[i>>2]=(f[i>>2]|0)+1}i=f[j>>2]|0;f[j>>2]=i-1;if((i|0)==1)Rua(c,1,1);g=f[c+200>>2]|0;j=(f[c+204>>2]|0)-g|0;e=j>>6;if(j|0){d=0;do{h=f[g+(d<<6)+56>>2]|0;if(h|0?(k=WCb(h,295048,287656,0)|0,k|0):0)b[k+100>>0]=1;d=d+1|0}while(d>>>0<e>>>0)}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);return}case 0:return;default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);return}}}function W5(a){a=a|0;var b=0;b=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[b>>2]=326720;a=b+68|0;f[a>>2]=327088;Q5(b+56|0,f[b+60>>2]|0);dDa(b,326696);Gva(a);return}function X5(a){a=a|0;var b=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=326720;b=a+68|0;f[b>>2]=327088;Q5(a+56|0,f[a+60>>2]|0);dDa(a,326696);Gva(b);GBb(a);return}function Y5(a){a=a|0;return 386307}function Z5(a){a=a|0;return 397883}function _5(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;_5(a,f[b>>2]|0);_5(a,f[b+4>>2]|0);a=f[b+16>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function $5(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,j=0,k=0,l=0;k=e+4|0;j=b[k>>0]|0;b[d>>0]=j;switch(f[e>>2]|0){case 0:{g=d;i=a;j=a+c|0;a=6;break}case 1:{g=d;i=a;c=a+c|0;a=12;break}case 2:{g=d;i=a;c=a+c|0;a=18;break}case 3:{g=d;i=a;c=a+c|0;a=24;break}default:{k=0;return k|0}}a:while(1)if((a|0)==6){do{if((i|0)==(j|0)){a=0;break a}a=i;i=i+1|0;a=(h[a>>0]<<24)+-721420288|0;if(a>>>0>1325400064)a=-1;else a=b[220896+(a>>>24)>>0]|0}while((a&128|0)!=0);a=a<<2&255;b[g>>0]=a;c=j;j=a;a=12;continue}else if((a|0)==12){do{if((i|0)==(c|0)){a=1;break a}a=i;i=i+1|0;a=(h[a>>0]<<24)+-721420288|0;if(a>>>0>1325400064)a=-1;else a=b[220896+(a>>>24)>>0]|0}while((a&128|0)!=0);l=g+1|0;b[g>>0]=a>>>4&3|j&255;j=a<<4&255;b[l>>0]=j;g=l;a=18;continue}else if((a|0)==18){do{if((i|0)==(c|0)){a=2;break a}a=i;i=i+1|0;a=(h[a>>0]<<24)+-721420288|0;if(a>>>0>1325400064)a=-1;else a=b[220896+(a>>>24)>>0]|0}while((a&128|0)!=0);l=g+1|0;b[g>>0]=a>>>2&15|j&255;j=a<<6&255;b[l>>0]=j;g=l;a=24;continue}else if((a|0)==24){do{if((i|0)==(c|0)){a=3;break a}a=i;i=i+1|0;a=(h[a>>0]<<24)+-721420288|0;if(a>>>0>1325400064)a=-1;else a=b[220896+(a>>>24)>>0]|0}while((a&128|0)!=0);b[g>>0]=a&63|j&255;g=g+1|0;j=c;a=6;continue}f[e>>2]=a;b[k>>0]=b[g>>0]|0;l=g-d|0;return l|0}function a6(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;k=a+c|0;l=e+4|0;c=b[l>>0]|0;switch(f[e>>2]|0){case 0:{h=c;c=d;g=2;break}case 1:{h=c;c=d;i=a;g=6;break}case 2:{h=c;j=d;c=a;g=10;break}default:{e=0;return e|0}}while(1)if((g|0)==2){if((a|0)==(k|0)){g=0;break}h=b[a>>0]|0;g=h>>>2&63;if((g&255)<<24>>24>63)g=61;else g=b[398017+g>>0]|0;b[c>>0]=g;h=h<<4&48;c=c+1|0;i=a+1|0;g=6;continue}else if((g|0)==6){if((i|0)==(k|0)){g=1;break}a=b[i>>0]|0;g=a>>>4&15|h&255;if((g&255)<<24>>24>63)g=61;else g=b[398017+(g<<24>>24)>>0]|0;b[c>>0]=g;h=a<<2&60;j=c+1|0;c=i+1|0;g=10;continue}else if((g|0)==10){if((c|0)==(k|0)){c=j;g=2;break}a=c+1|0;g=b[c>>0]|0;c=g>>>6&3|h&255;if((c&255)<<24>>24>63)c=61;else c=b[398017+(c<<24>>24)>>0]|0;b[j>>0]=c;c=g&63;h=c&255;if(h<<24>>24>63)g=61;else g=b[398017+c>>0]|0;c=j+2|0;b[j+1>>0]=g;g=e+8|0;i=(f[g>>2]|0)+1|0;f[g>>2]=i;if((i|0)!=18){g=2;continue}b[c>>0]=10;f[g>>2]=0;c=j+3|0;g=2;continue}b[l>>0]=h;f[e>>2]=g;e=c-d|0;return e|0}function b6(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;f[a>>2]=0;i=a+4|0;b[i>>0]=0;j=a+8|0;f[j>>2]=0;g=f[a+12>>2]|0;k=FBb((g|0)>-1?g:-1)|0;h=FBb((g|0)<0?-1:g<<1)|0;e=c+4|0;do{Wrb(c,k,g)|0;l=f[e>>2]|0;lsb(d,h,a6(k,l,h,a)|0)|0}while((l|0)>0?(f[c+(f[(f[c>>2]|0)+-12>>2]|0)+16>>2]|0)==0:0);switch(f[a>>2]|0){case 1:{c=b[i>>0]|0;if(c<<24>>24>63)c=61;else c=b[398017+(c<<24>>24)>>0]|0;b[h>>0]=c;b[h+1>>0]=61;c=h+2|0;e=3;break}case 2:{c=b[i>>0]|0;if(c<<24>>24>63)c=61;else c=b[398017+(c<<24>>24)>>0]|0;b[h>>0]=c;c=h+1|0;e=2;break}default:{l=h;g=l+1|0;b[l>>0]=10;l=h;l=g-l|0;lsb(d,h,l)|0;f[a>>2]=0;b[i>>0]=0;f[j>>2]=0;HBb(h);HBb(k);return}}b[c>>0]=61;l=h+e|0;g=l+1|0;b[l>>0]=10;l=h;l=g-l|0;lsb(d,h,l)|0;f[a>>2]=0;b[i>>0]=0;f[j>>2]=0;HBb(h);HBb(k);return}function c6(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;s=u;u=u+304|0;o=s+160|0;p=s+16|0;j=s;q=o+64|0;n=o+8|0;f[n>>2]=323408;r=o+12|0;f[o>>2]=285412;f[q>>2]=285432;f[o+4>>2]=0;Brb(o+64|0,r);f[o+136>>2]=0;f[o+140>>2]=-1;f[o>>2]=323388;f[q>>2]=323428;f[n>>2]=323408;Hrb(r);f[r>>2]=304196;n=o+44|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;f[o+60>>2]=24;k=p+64|0;m=p+8|0;f[m>>2]=323408;l=p+12|0;f[p>>2]=285412;f[k>>2]=285432;f[p+4>>2]=0;Brb(p+64|0,l);f[p+136>>2]=0;f[p+140>>2]=-1;f[p>>2]=323388;f[k>>2]=323428;f[m>>2]=323408;Hrb(l);f[l>>2]=304196;m=p+44|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[p+60>>2]=24;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;if(d>>>0>4294967279)MBb(j);if(d>>>0<11){h=j+11|0;b[h>>0]=d;if(!d)g=j;else{g=j;i=6}}else{h=d+16&-16;g=EBb(h)|0;f[j>>2]=g;f[j+8>>2]=h|-2147483648;f[j+4>>2]=d;h=j+11|0;i=6}if((i|0)==6)YDb(g|0,c|0,d|0)|0;b[g+d>>0]=0;g=p+8|0;i=b[h>>0]|0;d=i<<24>>24<0;Nu(g,d?f[j>>2]|0:j,d?f[j+4>>2]|0:i&255)|0;if((b[h>>0]|0)<0)GBb(f[j>>2]|0);Zrb(p,0,0,0)|0;h=o+8|0;b6(a,p,h);f[p>>2]=323388;f[k>>2]=323428;f[g>>2]=323408;f[l>>2]=304196;if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);qqb(l);yrb(p,323440);kqb(k);Zrb(o,0,0,0)|0;KX(p,r);g=e+11|0;if((b[g>>0]|0)<0){b[f[e>>2]>>0]=0;f[e+4>>2]=0}else{b[e>>0]=0;b[g>>0]=0}YBb(e,0);f[e>>2]=f[p>>2];f[e+4>>2]=f[p+4>>2];f[e+8>>2]=f[p+8>>2];p=(b[n+11>>0]|0)<0;f[o>>2]=323388;f[q>>2]=323428;f[h>>2]=323408;f[r>>2]=304196;if(!p){qqb(r);yrb(o,323440);kqb(q);u=s;return}GBb(f[n>>2]|0);qqb(r);yrb(o,323440);kqb(q);u=s;return}function d6(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;f[a>>2]=0;g=a+4|0;b[g>>0]=0;h=f[a+8>>2]|0;j=(h|0)>-1?h:-1;i=FBb(j)|0;j=FBb(j)|0;e=c+4|0;do{Wrb(c,i,h)|0;k=f[e>>2]|0;lsb(d,j,$5(i,k,j,a)|0)|0}while((k|0)>0?(f[c+(f[(f[c>>2]|0)+-12>>2]|0)+16>>2]|0)==0:0);f[a>>2]=0;b[g>>0]=0;HBb(i);HBb(j);return}function e6(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;x=u;u=u+304|0;s=x+160|0;t=x+16|0;m=x;v=s+64|0;r=s+8|0;f[r>>2]=323408;w=s+12|0;f[s>>2]=285412;f[v>>2]=285432;f[s+4>>2]=0;Brb(s+64|0,w);f[s+136>>2]=0;f[s+140>>2]=-1;f[s>>2]=323388;f[v>>2]=323428;f[r>>2]=323408;Hrb(w);f[w>>2]=304196;r=s+44|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[r+12>>2]=0;f[s+60>>2]=24;o=t+64|0;q=t+8|0;f[q>>2]=323408;p=t+12|0;f[t>>2]=285412;f[o>>2]=285432;f[t+4>>2]=0;Brb(t+64|0,p);f[t+136>>2]=0;f[t+140>>2]=-1;f[t>>2]=323388;f[o>>2]=323428;f[q>>2]=323408;Hrb(p);f[p>>2]=304196;q=t+44|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0;f[t+60>>2]=24;k=c+4|0;g=f[k>>2]|0;e=f[c>>2]|0;h=(g-e|0)/12|0;l=d+4|0;i=f[d>>2]|0;j=(f[l>>2]|0)-i>>2;if(h>>>0<=j>>>0){if(h>>>0<j>>>0)f[l>>2]=i+(h<<2)}else{AM(d,h-j|0);g=f[k>>2]|0;e=f[c>>2]|0}a:do if((g|0)!=(e|0)){h=t+8|0;i=s+8|0;j=m+8|0;g=0;while(1){Arb(t+(f[(f[t>>2]|0)+-12>>2]|0)|0,0);e=f[c>>2]|0;if((((f[k>>2]|0)-e|0)/12|0)>>>0<=g>>>0){e=12;break}y=e;A=y+(g*12|0)|0;e=b[A+11>>0]|0;z=e<<24>>24<0;Nu(h,z?f[A>>2]|0:A,z?f[y+(g*12|0)+4>>2]|0:e&255)|0;Zrb(t,0,0,0)|0;d6(a,t,i);e=i+(f[(f[i>>2]|0)+-12>>2]|0)|0;if(!(f[e+16>>2]&5)){A=f[e+24>>2]|0;Lj[f[(f[A>>2]|0)+16>>2]&15](m,A,0,0,1,16)}else{A=m;f[A>>2]=0;f[A+4>>2]=0;A=j;f[A>>2]=-1;f[A+4>>2]=-1}e=f[d>>2]|0;if((f[l>>2]|0)-e>>2>>>0<=g>>>0){e=17;break}f[e+(g<<2)>>2]=f[j>>2];g=g+1|0;if(g>>>0>=(((f[k>>2]|0)-(f[c>>2]|0)|0)/12|0)>>>0){n=h;break a}}if((e|0)==12)ECb(c);else if((e|0)==17)ECb(d)}else n=t+8|0;while(0);f[t>>2]=323388;f[o>>2]=323428;f[n>>2]=323408;f[p>>2]=304196;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);qqb(p);yrb(t,323440);kqb(o);KX(t,w);g=b[t+11>>0]|0;A=g<<24>>24<0;e=f[t+4>>2]|0;g=g&255;h=FBb(A?e:g)|0;if(A){A=f[t>>2]|0;YDb(h|0,A|0,e|0)|0;GBb(A)}else YDb(h|0,t|0,g|0)|0;f[s>>2]=323388;f[v>>2]=323428;f[s+8>>2]=323408;f[w>>2]=304196;if((b[r+11>>0]|0)>=0){qqb(w);yrb(s,323440);kqb(v);u=x;return h|0}GBb(f[r>>2]|0);qqb(w);yrb(s,323440);kqb(v);u=x;return h|0}function f6(a){a=a|0;a=f[a+16>>2]|0;if(!a){a=0;return a|0}a=WCb(a,295088,295136,0)|0;return a|0}function g6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+132|0;e=f[d>>2]|0;if((e|0)!=(b|0)){f[d>>2]=b;if(b|0){b=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[b>>2]=(f[b>>2]|0)+1}if(e|0?(c=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,b=c+8|0,e=f[b>>2]|0,f[b>>2]=e-1,(e|0)==1):0)Rua(c,1,1);b=f[d>>2]|0}if(!b)return;d=f[b+136>>2]|0;b=a+164|0;c=f[b>>2]|0;if((c|0)==(d|0))return;f[b>>2]=d;if(d|0){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1}if(!c)return;e=c+8|0;a=f[e>>2]|0;f[e>>2]=a-1;if((a|0)!=1)return;Rua(c,1,1);return}function h6(){var a=0;A5()|0;if(!(f[124753]|0)){a=EBb(168)|0;C5(a);return a|0}else{A5()|0;a=f[124753]|0;a=_i[f[(f[a>>2]|0)+20>>2]&2047](a)|0;return a|0}return 0}function i6(a){a=a|0;var b=0;a=f[a+100>>2]|0;b=a+28|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;a=f[a+24>>2]|0;_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;return (a|0)!=0|0}function j6(a){a=a|0;var b=0;a=f[a+96>>2]|0;b=a+28|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;a=f[a+24>>2]|0;_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;return (a|0)!=0|0}function k6(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;g=j;h=u0(c,g,d)|0;d=f[h>>2]|0;if(d|0){c=d;i=0;f[a>>2]=c;c=a+4|0;b[c>>0]=i;u=j;return}i=EBb(28)|0;OBb(i+16|0,e);d=f[g>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=d;f[h>>2]=i;d=f[f[c>>2]>>2]|0;if(!d)d=i;else{f[c>>2]=d;d=f[h>>2]|0}Xo(f[c+4>>2]|0,d);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=i;i=1;f[a>>2]=c;c=a+4|0;b[c>>0]=i;u=j;return}function l6(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0;i=u;u=u+16|0;g=i;d=b[c+11>>0]|0;j=d<<24>>24<0;e=j?f[c>>2]|0:c;d=j?f[c+4>>2]|0:d&255;a:do if(d|0){d=e+d|0;while(1){d=d+-1|0;if(Ymb(387257,h[d>>0]|0,2)|0)break;if((d|0)==(e|0))break a}d=d-e|0;if((d|0)!=-1){SBb(a,c,0,d,g);u=i;return}}while(0);f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;u=i;return}function m6(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;I_(g,c);OBb(a,g);d=a+11|0;i=b[d>>0]|0;c=i<<24>>24<0;e=a+4|0;if((c?f[e>>2]|0:i&255)|0){c=c?f[a>>2]|0:a;do{i=(fnb(b[c>>0]|0)|0)&255;b[c>>0]=i;c=c+1|0;i=b[d>>0]|0;j=i<<24>>24<0}while((c|0)!=((j?f[a>>2]|0:a)+(j?f[e>>2]|0:i&255)|0))}if((b[g+11>>0]|0)>=0){u=h;return}GBb(f[g>>2]|0);u=h;return}function n6(a,c){a=a|0;c=c|0;var d=0,e=0;if(!c){e=0;return e|0}e=b[a+11>>0]|0;d=e<<24>>24<0;e=d?f[a+4>>2]|0:e&255;if((e|0)!=(Rmb(c)|0)){e=0;return e|0}a=d?f[a>>2]|0:a;d=a+e|0;if(!e){e=1;return e|0}while(1){e=fnb(b[a>>0]|0)|0;if((e|0)!=(fnb(b[c>>0]|0)|0)){a=0;c=7;break}a=a+1|0;if((a|0)==(d|0)){a=1;c=7;break}else c=c+1|0}if((c|0)==7)return a|0;return 0}function o6(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;z=u;u=u+48|0;w=z+24|0;x=z+12|0;y=z;v=d+11|0;s=b[v>>0]|0;t=d+4|0;if(!((s<<24>>24<0?f[t>>2]|0:s&255)|0)){OBb(a,d);u=z;return}if(L_(d)|0){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;u=z;return}i=b[v>>0]|0;c=i<<24>>24<0;i=c?f[t>>2]|0:i&255;do if(i){c=c?f[d>>2]|0:d;h=b[c>>0]|0;if(h<<24>>24!=47){if(i>>>0<2){i=0;break}s=b[c+1>>0]|0;if(!(s<<24>>24==58|h<<24>>24==92&s<<24>>24==92)){i=0;break}}if(!(cqb(c,0)|0)){if(qZa(5)|0){x=Nu(Hua(5)|0,387260,15)|0;g=b[v>>0]|0;y=g<<24>>24<0;g=Nu(Nu(x,y?f[d>>2]|0:d,y?f[t>>2]|0:g&255)|0,387276,13)|0;y=b[v>>0]|0;x=y<<24>>24<0;y=Nu(g,x?f[d>>2]|0:d,x?f[t>>2]|0:y&255)|0;Drb(w,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);x=utb(w,504576)|0;x=cj[f[(f[x>>2]|0)+28>>2]&1023](x,10)|0;vtb(w);ksb(y,x)|0;Krb(y)|0}OBb(a,d);u=z;return}else i=1}else i=0;while(0);f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;s=(e|0)!=0;do if(s?(j=e+44|0,(f[e+64>>2]|0)!=0):0){f$(w,d,j,g);c=x+11|0;if((b[c>>0]|0)<0){b[f[x>>2]>>0]=0;f[x+4>>2]=0}else{b[x>>0]=0;b[c>>0]=0}YBb(x,0);f[x>>2]=f[w>>2];f[x+4>>2]=f[w+4>>2];f[x+8>>2]=f[w+8>>2];r=b[c>>0]|0;if(!((r<<24>>24<0?f[x+4>>2]|0:r&255)|0)){c=p6(j)|0;l=21;break}else{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;break}}else{c=0;l=21}while(0);do if((l|0)==21){r=YZ(0)|0;q=r+164|0;r=r+184|0;if(f[r>>2]|0){f$(w,d,q,g);h=x+11|0;if((b[h>>0]|0)<0){b[f[x>>2]>>0]=0;f[x+4>>2]=0}else{b[x>>0]=0;b[h>>0]=0}YBb(x,0);f[x>>2]=f[w>>2];f[x+4>>2]=f[w+4>>2];f[x+8>>2]=f[w+8>>2];p=b[h>>0]|0;if((p<<24>>24<0?f[x+4>>2]|0:p&255)|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;break}if(!c){k=p6(q)|0;l=29}}else{k=c;l=29}if(((l|0)==29?!(i|k):0)?(cqb((b[v>>0]|0)<0?f[d>>2]|0:d,0)|0)==0:0){OBb(a,d);break}e$(y,d);p=y+11|0;h=b[p>>0]|0;k=h<<24>>24<0;o=y+4|0;h=h&255;l=k?f[o>>2]|0:h;m=b[v>>0]|0;i=m<<24>>24<0;c=f[y>>2]|0;n=k?c:y;a:do if((l|0)==((i?f[t>>2]|0:m&255)|0)){m=i?f[d>>2]|0:d;i=(l|0)==0;j=c&255;if(k){if(i){l=58;break}if(!(anb(n,m,l)|0)){l=58;break}else{l=41;break}}if(!i)if((b[m>>0]|0)==j<<24>>24){i=y;c=m;while(1){h=h+-1|0;i=i+1|0;if(!h){l=58;break a}c=c+1|0;if((b[i>>0]|0)!=(b[c>>0]|0)){c=n;l=41;break}}}else{c=y;l=41}else l=58}else{c=n;l=41}while(0);do if((l|0)==41){if(!(cqb(c,0)|0)){if(qZa(5)|0){s=Nu(Hua(5)|0,387260,15)|0;g=b[v>>0]|0;e=g<<24>>24<0;d=Nu(Nu(s,e?f[d>>2]|0:d,e?f[t>>2]|0:g&255)|0,387276,13)|0;g=b[p>>0]|0;e=g<<24>>24<0;g=Nu(d,e?f[y>>2]|0:y,e?f[o>>2]|0:g&255)|0;Drb(w,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(w,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(w);ksb(g,e)|0;Krb(g)|0};f[a>>2]=f[y>>2];f[a+4>>2]=f[y+4>>2];f[a+8>>2]=f[y+8>>2];f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;break}if(s?f[e+64>>2]|0:0){f$(w,y,e+44|0,g);c=x+11|0;if((b[c>>0]|0)<0){b[f[x>>2]>>0]=0;f[x+4>>2]=0}else{b[x>>0]=0;b[c>>0]=0}YBb(x,0);f[x>>2]=f[w>>2];f[x+4>>2]=f[w+4>>2];f[x+8>>2]=f[w+8>>2];e=b[c>>0]|0;if((e<<24>>24<0?f[x+4>>2]|0:e&255)|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;break}}if(f[r>>2]|0){f$(w,y,q,g);c=x+11|0;if((b[c>>0]|0)<0){b[f[x>>2]>>0]=0;f[x+4>>2]=0}else{b[x>>0]=0;b[c>>0]=0}YBb(x,0);f[x>>2]=f[w>>2];f[x+4>>2]=f[w+4>>2];f[x+8>>2]=f[w+8>>2];w=b[c>>0]|0;if((w<<24>>24<0?f[x+4>>2]|0:w&255)|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}else l=58}else l=58}while(0);if((l|0)==58){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}if((b[p>>0]|0)<0)GBb(f[y>>2]|0)}while(0);if((b[x+11>>0]|0)<0)GBb(f[x>>2]|0);u=z;return}function p6(a){a=a|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;k=l;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;b[k+11>>0]=1;b[k>>0]=46;b[k+1>>0]=0;e=f[a+4>>2]|0;g=f[a+16>>2]|0;c=(g>>>0)/341|0;d=e+(c<<2)|0;if((f[a+8>>2]|0)==(e|0)){k=0;u=l;return k|0}h=(f[d>>2]|0)+((g-(c*341|0)|0)*12|0)|0;j=(f[a+20>>2]|0)+g|0;i=(j>>>0)/341|0;i=(f[e+(i<<2)>>2]|0)+((j-(i*341|0)|0)*12|0)|0;j=b[k>>0]|0;if((i|0)==(h|0)){k=0;u=l;return k|0}c=h;a:while(1){a=b[c+11>>0]|0;g=a<<24>>24<0;if(g)e=f[h+4>>2]|0;else e=a&255;if(!e){c=1;d=17;break}a=a&255;b:do if(((g?f[h+4>>2]|0:a)|0)==1){if(g)if((b[f[h>>2]>>0]|0)==j<<24>>24){c=1;d=17;break a}else break;e=k;while(1){if((b[c>>0]|0)!=(b[e>>0]|0))break b;a=a+-1|0;if(!a){c=1;d=17;break a}else{c=c+1|0;e=e+1|0}}}while(0);c=h+12|0;if((c-(f[d>>2]|0)|0)==4092){c=d+4|0;d=c;c=f[c>>2]|0}h=c;if((i|0)==(h|0)){c=0;d=17;break}}if((d|0)==17){u=l;return c|0}return 0}function q6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=YZ(0)|0;if(c|0?(g=f[c+112>>2]|0,g|0):0){Kj[f[f[g>>2]>>2]&63](a,g,b,c,d);return}e=f[e+44>>2]|0;if(!e){o6(a,0,b,c,d);return}else{Kj[f[f[e>>2]>>2]&63](a,e,b,c,d);return}}function r6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+108|0;e=a+8|0;f[a>>2]=287716;f[d>>2]=287736;f[a+4>>2]=0;Brb(a+108|0,e);f[a+180>>2]=0;f[a+184>>2]=-1;f[a>>2]=220812;f[d>>2]=220832;ds(e);if(t6(e,b,c|8)|0){f[a>>2]=326012;f[d>>2]=326032;return}e=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(e,f[e+16>>2]|4);f[a>>2]=326012;f[d>>2]=326032;return}function s6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+104|0;e=a+4|0;f[a>>2]=287788;f[d>>2]=287808;Brb(a+104|0,e);f[a+176>>2]=0;f[a+180>>2]=-1;f[a>>2]=220860;f[d>>2]=220880;ds(e);if(t6(e,b,c|16)|0){f[a>>2]=326076;f[d>>2]=326096;return}e=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(e,f[e+16>>2]|4);f[a>>2]=326076;f[d>>2]=326096;return}function t6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+64|0;a:do if(!(f[e>>2]|0)){do switch(c&-3|0){case 48:case 16:{d=474619;break}case 1:case 17:{d=474444;break}case 8:{d=474448;break}case 24:{d=398082;break}case 56:{d=398085;break}case 9:case 25:{d=398088;break}case 52:case 20:{d=471598;break}case 5:case 21:{d=398091;break}case 12:{d=471595;break}case 28:{d=398094;break}case 60:{d=398098;break}case 13:case 29:{d=398102;break}default:{a=0;break a}}while(0);d=Kpb(b,d)|0;f[e>>2]=d;if(d){f[a+88>>2]=c;if((c&2|0)!=0?(bqb(d,0,2)|0)!=0:0){Lpb(f[e>>2]|0)|0;f[e>>2]=0;a=0}}else a=0}else a=0;while(0);return a|0}function u6(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;g=b+4|0;e=f[g>>2]|0;f[a>>2]=e;h=b+16|0;f[a+(f[e+-12>>2]|0)>>2]=f[h>>2];e=a+4|0;i=f[b+8>>2]|0;f[a>>2]=i;f[a+(f[i+-12>>2]|0)>>2]=f[b+12>>2];i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Brb(i,e);f[i+72>>2]=0;f[i+76>>2]=-1;g=f[g>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[h>>2];ds(e);if(t6(e,c,d|16)|0){i=f[b>>2]|0;f[a>>2]=i;h=b+20|0;h=f[h>>2]|0;i=i+-12|0;i=f[i>>2]|0;i=a+i|0;f[i>>2]=h;return}i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(i,f[i+16>>2]|4);i=f[b>>2]|0;f[a>>2]=i;h=b+20|0;h=f[h>>2]|0;i=i+-12|0;i=f[i>>2]|0;i=a+i|0;f[i>>2]=h;return}function v6(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;rZa(a);f[a>>2]=327260;f[a+12>>2]=0;f[a+16>>2]=0;f[a+20>>2]=0;t4a(a+24|0,0);f[a>>2]=327280;e=a+36|0;f[e>>2]=0;f[a+40>>2]=c;OBb(a+44|0,d);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;a=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;d=a+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1)return;Rua(a,1,1);return}function w6(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=327280;c=a+44|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+36|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;y6(a);return}function x6(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=327280;c=a+44|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+36|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;f[a>>2]=327260;R3a(a+24|0);e=a+12|0;g=f[e>>2]|0;if(!g){Uua(a);GBb(a);return}h=a+16|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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);Uua(a);GBb(a);return}function y6(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=327260;R3a(a+24|0);d=a+12|0;e=f[d>>2]|0;if(!e){Uua(a);return}g=a+16|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);return}function z6(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=327260;R3a(a+24|0);d=a+12|0;e=f[d>>2]|0;if(!e){Uua(a);GBb(a);return}g=a+16|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);GBb(a);return}function A6(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+32|0;n=q+12|0;o=q;v_a(a,1);f[a>>2]=326208;t4a(a+12|0,0);b[a+25>>0]=0;f[a+28>>2]=0;t4a(a+32|0,0);e=a+44|0;l=a+48|0;m=a+52|0;k=a+56|0;g=a+60|0;b[a+24>>0]=0;b[a+26>>0]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[e+16>>2]=0;d=EBb(56)|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(16)|0;f[n>>2]=c;f[n+8>>2]=-2147483632;f[n+4>>2]=11;h=c;i=398172;j=h+11|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+11>>0]=0;v6(d,a,n);c=f[e>>2]|0;if(((c|0)!=(d|0)?(f[e>>2]=d,j=d+8|0,f[j>>2]=(f[j>>2]|0)+1,c|0):0)?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);c=EBb(36)|0;rZa(c);f[c>>2]=327260;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;t4a(c+24|0,0);d=f[g>>2]|0;if(((d|0)!=(c|0)?(f[g>>2]=c,j=c+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);c=EBb(44)|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;d=EBb(16)|0;f[o>>2]=d;f[o+8>>2]=-2147483632;f[o+4>>2]=14;h=d;i=398184;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+14>>0]=0;rZa(c);j=c+12|0;X3a(j);f[c>>2]=326152;f[j>>2]=326180;b[c+20>>0]=0;f[c+24>>2]=0;f[c+28>>2]=a;OBb(c+32|0,o);f[n>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[m>>2]|0;if(c>>>0<(f[k>>2]|0)>>>0){d=f[n>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[m>>2]|0}f[m>>2]=c+4}else B6(l,n);c=f[n>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[n>>2]=0;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);c=EBb(44)|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;d=EBb(16)|0;f[o>>2]=d;f[o+8>>2]=-2147483632;f[o+4>>2]=14;h=d;i=398199;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+14>>0]=0;rZa(c);j=c+12|0;X3a(j);f[c>>2]=326152;f[j>>2]=326180;b[c+20>>0]=0;f[c+24>>2]=0;f[c+28>>2]=a;OBb(c+32|0,o);f[n>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[m>>2]|0;if(c>>>0<(f[k>>2]|0)>>>0){d=f[n>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[m>>2]|0}f[m>>2]=c+4}else B6(l,n);c=f[n>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[n>>2]=0;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);c=EBb(44)|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;d=EBb(16)|0;f[o>>2]=d;f[o+8>>2]=-2147483632;f[o+4>>2]=14;h=d;i=398214;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+14>>0]=0;rZa(c);j=c+12|0;X3a(j);f[c>>2]=326152;f[j>>2]=326180;b[c+20>>0]=0;f[c+24>>2]=0;f[c+28>>2]=a;OBb(c+32|0,o);f[n>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[m>>2]|0;if(c>>>0<(f[k>>2]|0)>>>0){d=f[n>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[m>>2]|0}f[m>>2]=c+4}else B6(l,n);c=f[n>>2]|0;if(c|0?(l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1);f[n>>2]=0;if((b[o+11>>0]|0)>=0){o=a+64|0;p[o>>3]=1.0;u=q;return}GBb(f[o>>2]|0);o=a+64|0;p[o>>3]=1.0;u=q;return}function B6(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<e>>>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 C6(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;w=u;u=u+224|0;t=w+212|0;s=w+24|0;q=w+12|0;k=w;f[a>>2]=326276;o=a+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;b[o+16>>0]=0;o=a+24|0;f[a+60>>2]=0;f[a+64>>2]=0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;f[o+16>>2]=0;f[o+20>>2]=0;f[o+24>>2]=0;f[o+28>>2]=0;f[a+56>>2]=a+60;f[a+72>>2]=0;f[a+76>>2]=0;f[a+68>>2]=a+72;m=a+80|0;f[a+84>>2]=0;f[a+88>>2]=0;f[m>>2]=a+84;f[a+92>>2]=0;b[a+96>>0]=0;j=a+97|0;b[j>>0]=0;n=a+100|0;d=a+120|0;v=a+124|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;f[n+16>>2]=0;f[n+20>>2]=0;f[n+24>>2]=0;f[n+28>>2]=0;ZBb(o,402865)|0;f[a+36>>2]=2;ZBb(a+40|0,402867)|0;f[a+52>>2]=-2;if(!c){u=w;return}e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,o=c+8|0,f[o>>2]=(f[o>>2]|0)+1,e|0):0)?(n=e+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(e,1,1);f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;d=EBb(32)|0;f[s>>2]=d;f[s+8>>2]=-2147483616;f[s+4>>2]=17;g=d;h=402222;i=g+17|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+17>>0]=0;n=c+100|0;d=Qp(n,s)|0;o=c+104|0;if((d|0)!=(o|0)){OBb(t,d+28|0);c=t+11|0;e=b[c>>0]|0;if(((e<<24>>24<0?f[t+4>>2]|0:e&255)|0)==4){d=(nCb(t,0,-1,489373,4)|0)==0;e=b[c>>0]|0}else d=0;if(e<<24>>24<0)GBb(f[t>>2]|0)}else{f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=0}if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);if(d)b[j>>0]=1;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;d=EBb(16)|0;f[s>>2]=d;f[s+8>>2]=-2147483632;f[s+4>>2]=13;g=d;h=398229;i=g+13|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+13>>0]=0;d=Qp(n,s)|0;if((d|0)!=(o|0)){OBb(t,d+28|0);d=b[t+11>>0]|0;if(d<<24>>24<0){d=(f[t+4>>2]|0)==0;GBb(f[t>>2]|0)}else p=19}else{f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=0;p=19}if((p|0)==19)d=d<<24>>24==0;if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);if(!d){f[t>>2]=0;l=t+4|0;f[l>>2]=0;f[t+8>>2]=0;f[s>>2]=0;j=s+4|0;f[j>>2]=0;f[s+8>>2]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;d=EBb(16)|0;f[k>>2]=d;f[k+8>>2]=-2147483632;f[k+4>>2]=13;g=d;h=398229;i=g+13|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+13>>0]=0;d=Qp(n,k)|0;if((d|0)==(o|0)){f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0}else OBb(q,d+28|0);D6(q,t,59);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);k=f[t>>2]|0;d=k;if((f[l>>2]|0)!=(k|0)){c=0;do{D6(d+(c*12|0)|0,s,58);d=f[j>>2]|0;k=f[s>>2]|0;e=k;if(((d-k|0)/12|0)>>>0>1){d=d+-12|0;if((b[d+11>>0]|0)<0)d=f[d>>2]|0;i=Tnb(d)|0;k=E6(m,e)|0;f[k>>2]=i}c=c+1|0;d=f[t>>2]|0}while(c>>>0<(((f[l>>2]|0)-d|0)/12|0)>>>0)}e=f[s>>2]|0;if(!e)e=d;else{d=f[j>>2]|0;if((d|0)==(e|0))d=e;else{do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));d=f[s>>2]|0}f[j>>2]=e;GBb(d);e=f[t>>2]|0}if(e|0){d=f[l>>2]|0;if((d|0)==(e|0))d=e;else{do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));d=f[t>>2]|0}f[l>>2]=e;GBb(d)}};f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;e=q+11|0;b[e>>0]=10;g=q;h=398243;i=g+10|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[q+10>>0]=0;d=Qp(n,q)|0;if((d|0)!=(o|0)){OBb(s,d+28|0);d=b[s+11>>0]|0;if(d<<24>>24<0){d=(f[s+4>>2]|0)==0;GBb(f[s>>2]|0)}else p=60}else{f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;d=0;p=60}if((p|0)==60)d=d<<24>>24==0;if((b[e>>0]|0)<0)GBb(f[q>>2]|0);a:do if(d){i=t+11|0;d=t+4|0}else{e=q+11|0;b[e>>0]=10;g=q;h=398243;i=g+10|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[q+10>>0]=0;d=Qp(n,q)|0;if((d|0)==(o|0)){f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0}else OBb(s,d+28|0);UBb(t,s)|0;if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);if((b[e>>0]|0)<0)GBb(f[q>>2]|0);c=b[499011]|0;i=c<<24>>24<0;c=c&255;j=i?f[124751]|0:c;l=t+11|0;q=b[l>>0]|0;e=q<<24>>24<0;d=t+4|0;do if((j|0)==((e?f[d>>2]|0:q&255)|0)){h=f[124750]|0;k=i?h:499e3;e=e?f[t>>2]|0:t;g=(j|0)==0;h=h&255;if(i){if(g){i=l;break a}if(!(anb(k,e,j)|0)){i=l;break a}else break}if(g){i=l;break a}if((b[e>>0]|0)==h<<24>>24){h=499e3;g=e;do{c=c+-1|0;h=h+1|0;if(!c){i=l;break a}g=g+1|0}while((b[h>>0]|0)==(b[g>>0]|0))}}else e=e?f[t>>2]|0:t;while(0);r6(s,e,8);if(!(f[s+(f[(f[s>>2]|0)+-12>>2]|0)+16>>2]&5))F6(a,s);e=s+8|0;c=s+72|0;g=f[c>>2]|0;if(!(((g|0)!=0?(r=_i[f[(f[e>>2]|0)+24>>2]&2047](e)|0,(Lpb(g)|0)==0):0)?(f[c>>2]=0,!(r|0)):0)){r=s+(f[(f[s>>2]|0)+-12>>2]|0)|0;Arb(r,f[r+16>>2]|4)}UBb(499e3,t)|0;f[s>>2]=220812;i=s+108|0;f[i>>2]=220832;es(e);crb(s,326048);kqb(i);i=l}while(0);s=b[i>>0]|0;do if(!((s<<24>>24<0?f[d>>2]|0:s&255)|0)){h=(YZ(0)|0)+240|0;h=f[h>>2]|0;d=f[h+24>>2]|0;h=h+28|0;if((d|0)!=(h|0)){g=d;while(1){d=f[g+28>>2]|0;e=f[d+68>>2]|0;c=f[d+64>>2]|0;if((e|0)!=(c|0))G6(d+52|0,c,e);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{s=f[e>>2]|0;e=s+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(s|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(h|0))break;else g=d}}if((b[499011]|0)<0){b[f[124750]>>0]=0;f[124751]=0;break}else{b[499e3]=0;b[499011]=0;break}}while(0);d=EBb(32)|0;rZa(d);e=d+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=323484;e=f[v>>2]|0;if(((e|0)!=(d|0)?(f[v>>2]=d,v=d+8|0,f[v>>2]=(f[v>>2]|0)+1,e|0):0)?(s=e+8|0,v=f[s>>2]|0,f[s>>2]=v-1,(v|0)==1):0)Rua(e,1,1);if((b[i>>0]|0)<0)GBb(f[t>>2]|0);u=w;return}function D6(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;s=u;u=u+16|0;r=s;o=s+12|0;p=a+11|0;e=b[p>>0]|0;n=e<<24>>24<0;q=a+4|0;i=n?f[a>>2]|0:a;e=n?f[q>>2]|0:e&255;if(!e){u=s;return}g=i+e|0;e=i;while(1){if((b[e>>0]|0)!=d<<24>>24)break;h=e+1|0;if((h|0)==(g|0)){j=22;break}else e=h}if((j|0)==22){u=s;return}e=e-i|0;if((e|0)==-1){u=s;return}l=c+4|0;m=c+8|0;n=r+11|0;k=r+11|0;a:while(1){h=lCb(a,d,e)|0;if((h|0)==-1){j=16;break}SBb(r,a,e,h-e|0,o);g=f[l>>2]|0;if(g>>>0>=(f[m>>2]|0)>>>0){Pu(c,r);if((b[k>>0]|0)<0)GBb(f[r>>2]|0)}else{f[g>>2]=f[r>>2];f[g+4>>2]=f[r+4>>2];f[g+8>>2]=f[r+8>>2];f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[l>>2]=(f[l>>2]|0)+12}g=b[p>>0]|0;i=g<<24>>24<0;j=i?f[a>>2]|0:a;g=i?f[q>>2]|0:g&255;if(g>>>0<=h>>>0){j=22;break}i=j+g|0;g=j+h|0;while(1){if((b[g>>0]|0)!=d<<24>>24)break;g=g+1|0;if((g|0)==(i|0)){j=22;break a}}g=g-j|0;if((g|0)==-1){j=22;break}else e=g}if((j|0)==16){p=b[p>>0]|0;SBb(r,a,e,(p<<24>>24<0?f[q>>2]|0:p&255)-e|0,o);e=f[l>>2]|0;if(e>>>0>=(f[m>>2]|0)>>>0){Pu(c,r);if((b[n>>0]|0)<0)GBb(f[r>>2]|0)}else{f[e>>2]=f[r>>2];f[e+4>>2]=f[r+4>>2];f[e+8>>2]=f[r+8>>2];f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[l>>2]=(f[l>>2]|0)+12}u=s;return}else if((j|0)==22){u=s;return}}function E6(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=r0(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 F6(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;p=u;u=u+48|0;h=p+36|0;i=p+24|0;j=p+12|0;k=p;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;l=i+11|0;m=h+4|0;n=h+8|0;o=k+11|0;g=j+11|0;while(1){Drb(h,c+(f[(f[c>>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);e=Wu(c,i,e)|0;a=(b[l>>0]|0)<0;if(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5|0)break;do if((b[(a?f[i>>2]|0:i)>>0]|0)!=35){f[h>>2]=0;f[m>>2]=0;f[n>>2]=0;D6(i,h,61);q=f[m>>2]|0;d=f[h>>2]|0;e=d;a=q;if(((q-d|0)/12|0)>>>0<2){if(d|0){if((a|0)==(e|0))a=d;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(e|0));a=f[h>>2]|0}f[m>>2]=e;GBb(a)}break}H6(j,e);H6(k,(f[h>>2]|0)+12|0);I6(0,j,k);if((b[o>>0]|0)<0)GBb(f[k>>2]|0);if((b[g>>0]|0)<0)GBb(f[j>>2]|0);d=f[h>>2]|0;if(d|0){a=f[m>>2]|0;if((a|0)==(d|0))a=d;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(d|0));a=f[h>>2]|0}f[m>>2]=d;GBb(a)}}while(0)}if(!a){u=p;return}GBb(f[i>>2]|0);u=p;return}function G6(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<i>>>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 H6(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,p=0;p=u;u=u+16|0;m=p;n=p+12|0;e=b[c+11>>0]|0;d=e<<24>>24<0;e=d?f[c+4>>2]|0:e&255;if(!e){OBb(a,c);u=p;return};f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;l=m+11|0;b[l>>0]=6;b[m>>0]=b[398410]|0;b[m+1>>0]=b[398411]|0;b[m+2>>0]=b[398412]|0;b[m+3>>0]=b[398413]|0;b[m+4>>0]=b[398414]|0;b[m+5>>0]=b[398415]|0;b[m+6>>0]=0;k=d?f[c>>2]|0:c;g=k+e|0;d=k;while(1){if(!(Ymb(m,h[d>>0]|0,6)|0)){j=6;break}d=d+1|0;if((d|0)==(g|0)){j=8;break}}do if((j|0)==6){i=k;e=d-i|0;if((e|0)==-1)j=8;else{d=g;do{d=d+-1|0;if(!(Ymb(m,h[d>>0]|0,6)|0)){j=11;break}}while((d|0)!=(k|0));if((j|0)==11?(o=d-i|0,(o|0)!=-1):0){SBb(a,c,e,1-e+o|0,n);if((b[l>>0]|0)>=0)break;GBb(f[m>>2]|0);break};f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}}while(0);if((j|0)==8){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}u=p;return}function I6(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;s=u;u=u+64|0;q=s+40|0;p=s+28|0;n=s+16|0;k=s+4|0;l=s;i=(YZ(0)|0)+240|0;i=J6(f[i>>2]|0,c)|0;if(!i){if(!(qZa(2)|0)){u=s;return}o=Nu(Hua(2)|0,398254,52)|0;r=b[c+11>>0]|0;p=r<<24>>24<0;r=Nu(o,p?f[c>>2]|0:c,p?f[c+4>>2]|0:r&255)|0;Drb(q,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);p=utb(q,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(q);ksb(r,p)|0;Krb(r)|0;u=s;return}f[q>>2]=0;r=q+4|0;f[r>>2]=0;f[q+8>>2]=0;f[p>>2]=0;o=p+4|0;f[o>>2]=0;g=p+8|0;f[g>>2]=0;f[n>>2]=0;m=n+4|0;f[m>>2]=0;f[n+8>>2]=0;f[k>>2]=0;j=k+4|0;f[j>>2]=0;h=k+8|0;f[h>>2]=0;D6(d,q,32);a=f[q>>2]|0;if((a|0)!=(f[r>>2]|0))do{D6(a,n,58);t=f[n>>2]|0;c=t;d=f[o>>2]|0;e=(d|0)==(f[g>>2]|0);if((((f[m>>2]|0)-t|0)/12|0)>>>0>1){if(e)Ru(p,c);else{OBb(d,c);f[o>>2]=(f[o>>2]|0)+12}c=(f[m>>2]|0)+-12|0;if((b[c+11>>0]|0)<0)c=f[c>>2]|0;c=Tnb(c)|0;f[l>>2]=c;d=f[j>>2]|0;if(d>>>0<(f[h>>2]|0)>>>0){f[d>>2]=c;f[j>>2]=d+4}else L6(k,l)}else{if(e)Ru(p,a);else{OBb(d,a);f[o>>2]=(f[o>>2]|0)+12}f[l>>2]=0;c=f[j>>2]|0;if(c>>>0<(f[h>>2]|0)>>>0){f[c>>2]=0;f[j>>2]=c+4}else L6(k,l)}d=f[n>>2]|0;c=f[m>>2]|0;if((c|0)!=(d|0))do{c=c+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(d|0));f[m>>2]=d;a=a+12|0}while((a|0)!=(f[r>>2]|0));K6(i,p,0)|0;a=f[k>>2]|0;if(a|0){f[j>>2]=a;GBb(a)}c=f[n>>2]|0;if(c|0){a=f[m>>2]|0;if((a|0)==(c|0))a=c;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(c|0));a=f[n>>2]|0}f[m>>2]=c;GBb(a)}c=f[p>>2]|0;if(c|0){a=f[o>>2]|0;if((a|0)==(c|0))a=c;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(c|0));a=f[p>>2]|0}f[o>>2]=c;GBb(a)}c=f[q>>2]|0;if(c|0){a=f[r>>2]|0;if((a|0)==(c|0))a=c;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(c|0));a=f[q>>2]|0}f[r>>2]=c;GBb(a)}u=s;return}function J6(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;q=u;u=u+64|0;m=q+48|0;n=q+36|0;o=q+24|0;l=q+12|0;k=q;p=a+12|0;_i[f[(f[p>>2]|0)+8>>2]&2047](p)|0;d=Z3(a+24|0,c)|0;if((d|0)!=(a+28|0)){o=f[d+28>>2]|0;n=f[p>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](p)|0;u=q;return o|0}d=b[c+11>>0]|0;i=d<<24>>24<0;h=i?f[c>>2]|0:c;d=i?f[c+4>>2]|0:d&255;i=h+d|0;if((d|0)<2){o=0;n=f[p>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](p)|0;u=q;return o|0}while(1){d=d+-1|0;if((b[h+d>>0]|0)==58){e=h+d|0;if((b[e+-1>>0]|0)==58){g=10;break}if((d|0)==1){d=0;g=33;break}}else if((d|0)==1){d=0;g=33;break}}if((g|0)==10){j=e+-1|0;d=j-h|0;if((j|0)==(i|0)|(d|0)==-1){o=0;n=f[p>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](p)|0;u=q;return o|0}SBb(m,c,0,d,n);YZ(0)|0;I4(n,0,m);if((K_(YZ(0)|0,n)|0)==2)d=J6(a,c)|0;else d=0;j=YZ(0)|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;e=EBb(16)|0;f[k>>2]=e;f[k+8>>2]=-2147483632;f[k+4>>2]=12;g=e;h=398397;i=g+12|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[e+12>>0]=0;g=m+11|0;i=b[g>>0]|0;h=i<<24>>24<0;i=bCb(k,h?f[m>>2]|0:m,h?f[m+4>>2]|0:i&255)|0;f[l>>2]=f[i>>2];f[l+4>>2]=f[i+4>>2];f[l+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;J_(o,j,l);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((K_(YZ(0)|0,o)|0)==2)d=J6(a,c)|0;J_(l,YZ(0)|0,m);e=o+11|0;if((b[e>>0]|0)<0){b[f[o>>2]>>0]=0;f[o+4>>2]=0}else{b[o>>0]=0;b[e>>0]=0}YBb(o,0);f[o>>2]=f[l>>2];f[o+4>>2]=f[l+4>>2];f[o+8>>2]=f[l+8>>2];if((K_(YZ(0)|0,o)|0)==2)d=J6(a,c)|0;if(d|0)N6(d);if((b[e>>0]|0)<0)GBb(f[o>>2]|0);if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);if((b[g>>0]|0)<0)GBb(f[m>>2]|0);o=d;n=f[p>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](p)|0;u=q;return o|0}else if((g|0)==33){o=f[p>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](p)|0;u=q;return d|0}return 0}function K6(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;C=u;u=u+16|0;z=C;A=a+64|0;B=a+68|0;if((f[B>>2]|0)==(f[A>>2]|0)){x=a+56|0;G6(A,f[a+52>>2]|0,f[x>>2]|0)}else x=a+56|0;y=a+52|0;g=f[y>>2]|0;d=f[x>>2]|0;if((d|0)!=(g|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(v=e+8|0,w=f[v>>2]|0,f[v>>2]=w-1,(w|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[x>>2]=g;w=(f[c+4>>2]|0)-(f[c>>2]|0)|0;r=(w|0)/12|0;s=(f[B>>2]|0)-(f[A>>2]|0)>>2;if(!w){c=f[x>>2]|0;D=f[y>>2]|0;D=c-D|0;D=D>>2;D=(r|0)==(D|0);u=C;return D|0}t=a+60|0;v=a+28|0;w=v+11|0;q=a+32|0;p=0;while(1){if(s>>>0<p>>>0)break;o=f[c>>2]|0;m=o+(p*12|0)|0;d=f[(f[A>>2]|0)+(p<<2)>>2]|0;d=_i[f[(f[d>>2]|0)+28>>2]&2047](d)|0;n=m+11|0;e=b[n>>0]|0;h=e<<24>>24<0;o=o+(p*12|0)+4|0;e=e&255;i=h?f[o>>2]|0:e;l=b[d+11>>0]|0;g=l<<24>>24<0;a:do if((i|0)==((g?f[d+4>>2]|0:l&255)|0)){a=f[m>>2]|0;j=h?a:m;d=g?f[d>>2]|0:d;g=(i|0)==0;a=a&255;b:do if(h){if(!g?anb(j,d,i)|0:0){D=29;break a}}else if(!g){if((b[d>>0]|0)!=a<<24>>24){D=29;break a}g=m;while(1){e=e+-1|0;g=g+1|0;if(!e)break b;d=d+1|0;if((b[g>>0]|0)!=(b[d>>0]|0)){D=29;break a}}}while(0);e=(f[A>>2]|0)+(p<<2)|0;d=f[x>>2]|0;if((d|0)==(f[t>>2]|0)){M6(y,e);break}e=f[e>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[x>>2]|0}f[x>>2]=d+4}else D=29;while(0);do if((D|0)==29){D=0;e=f[A>>2]|0;if((e|0)!=(f[B>>2]|0)){d=0;do{g=f[e>>2]|0;g=_i[f[(f[g>>2]|0)+28>>2]&2047](g)|0;a=b[n>>0]|0;j=a<<24>>24<0;a=a&255;k=j?f[o>>2]|0:a;l=b[g+11>>0]|0;h=l<<24>>24<0;c:do if((k|0)==((h?f[g+4>>2]|0:l&255)|0)){i=f[m>>2]|0;l=j?i:m;g=h?f[g>>2]|0:g;h=(k|0)==0;i=i&255;d:do if(j){if(!h?anb(l,g,k)|0:0)break c}else if(!h){if((b[g>>0]|0)!=i<<24>>24)break c;h=m;while(1){a=a+-1|0;h=h+1|0;if(!a)break d;g=g+1|0;if((b[h>>0]|0)!=(b[g>>0]|0))break c}}while(0);d=f[x>>2]|0;if((d|0)==(f[t>>2]|0)){M6(y,e);d=1;break}g=f[e>>2]|0;f[d>>2]=g;if(g){d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[x>>2]|0}f[x>>2]=d+4;d=1}while(0);e=e+4|0}while((e|0)!=(f[B>>2]|0));if(d)break}if(qZa(2)|0){j=Nu(Hua(2)|0,398307,37)|0;k=b[w>>0]|0;l=k<<24>>24<0;k=Nu(Nu(j,l?f[v>>2]|0:v,l?f[q>>2]|0:k&255)|0,398377,19)|0;n=b[n>>0]|0;l=n<<24>>24<0;o=Nu(k,l?f[m>>2]|0:m,l?f[o>>2]|0:n&255)|0;Drb(z,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(z,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(z);ksb(o,n)|0;Krb(o)|0}}while(0);p=p+1|0;if(p>>>0>=r>>>0){D=50;break}}if((D|0)==50){c=f[x>>2]|0;D=f[y>>2]|0;D=c-D|0;D=D>>2;D=(r|0)==(D|0);u=C;return D|0}if(!(qZa(2)|0)){c=f[x>>2]|0;D=f[y>>2]|0;D=c-D|0;D=D>>2;D=(r|0)==(D|0);u=C;return D|0}B=Nu(Hua(2)|0,398307,37)|0;c=b[w>>0]|0;D=c<<24>>24<0;c=Nu(Nu(B,D?f[v>>2]|0:v,D?f[q>>2]|0:c&255)|0,398345,31)|0;Drb(z,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);D=utb(z,504576)|0;D=cj[f[(f[D>>2]|0)+28>>2]&1023](D,10)|0;vtb(z);ksb(c,D)|0;Krb(c)|0;c=f[x>>2]|0;D=f[y>>2]|0;D=c-D|0;D=D>>2;D=(r|0)==(D|0);u=C;return D|0}function L6(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<c>>>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 M6(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<e>>>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 N6(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;z=a+116|0;if(b[z>>0]|0)return;C=a+44|0;c=f[C>>2]|0;D=a+40|0;d=c;if((D|0)!=(d|0))do{x=(YZ(0)|0)+240|0;c=J6(f[x>>2]|0,c+16|0)|0;if((c|0)!=0&(c|0)!=(a|0)?(y=f[c+44>>2]|0,A=c+40|0,B=y,(A|0)!=(B|0)):0){u=f[C>>2]|0;v=u;w=(D|0)==(v|0);c=y;x=B;do{if(!w){s=c;o=s+8|0;p=s+16|0;q=p+11|0;r=s+20|0;s=s+12|0;c=u;t=v;do{n=c+8|0;h=c+16|0;g=b[h+11>>0]|0;k=g<<24>>24<0;g=g&255;l=k?f[c+20>>2]|0:g;m=b[q>>0]|0;e=m<<24>>24<0;a:do if((l|0)==((e?f[r>>2]|0:m&255)|0)){j=f[h>>2]|0;m=k?j:h;e=e?f[p>>2]|0:p;i=(l|0)==0;j=j&255;b:do if(k){if(!i?anb(m,e,l)|0:0)break a}else if(!i){if((b[e>>0]|0)!=j<<24>>24)break a;while(1){g=g+-1|0;h=h+1|0;if(!g)break b;e=e+1|0;if((b[h>>0]|0)!=(b[e>>0]|0))break a}}while(0);f[n>>2]=f[((f[n>>2]|0)>(f[o>>2]|0)?n:o)>>2];m=c+12|0;f[m>>2]=f[((f[m>>2]|0)<(f[s>>2]|0)?n:o)+4>>2]}while(0);c=f[t+4>>2]|0;t=c}while((D|0)!=(t|0))}c=f[x+4>>2]|0;x=c}while((A|0)!=(x|0))}c=f[d+4>>2]|0;d=c}while((D|0)!=(d|0));b[z>>0]=1;return}function O6(a,c){a=a|0;c=c|0;var d=0;d=b[c+11>>0]|0;do if((d<<24>>24<0?f[c+4>>2]|0:d&255)|0){c=P6(a+80|0,c)|0;if((c|0)==(a+84|0)){d=0;return d|0}else{c=c+28|0;break}}else c=a+92|0;while(0);d=f[c>>2]|0;return d|0}function P6(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<h>>>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<l>>>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<l>>>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 Q6(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;g=a+112|0;R6(f[g>>2]|0);if(!(b[(f[g>>2]|0)+25>>0]|0)){u=i;return}c=EBb(48)|0;f[h>>2]=c;f[h+8>>2]=-2147483600;f[h+4>>2]=40;d=c;e=398417;g=d+40|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+40>>0]=0;e=EBb(36)|0;S6(e,a+100|0,h);c=a+116|0;d=f[c>>2]|0;if(((d|0)!=(e|0)?(f[c>>2]=e,a=e+8|0,f[a>>2]=(f[a>>2]|0)+1,d|0):0)?(g=d+8|0,a=f[g>>2]|0,f[g>>2]=a-1,(a|0)==1):0)Rua(d,1,1);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);u=i;return}function R6(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=u;u=u+32|0;c=g+16|0;d=g;e=a+12|0;h=f[e>>2]|0;if(!(f[h+(f[(f[h>>2]|0)+-12>>2]|0)+16>>2]&4)){u=g;return}if(qZa(3)|0){i=Nu(Hua(3)|0,398483,46)|0;h=f[e>>2]|0;h=csb(Nu(csb(i,f[h+(f[(f[h>>2]|0)+-12>>2]|0)+16>>2]|0)|0,414635,2)|0,4)|0;Drb(c,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);i=utb(c,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(c);ksb(h,i)|0;Krb(h)|0}if(qZa(3)|0){h=Nu(Hua(3)|0,398530,46)|0;Xrb(d,f[e>>2]|0);i=d+8|0;i=fsb(h,f[i>>2]|0,f[i+4>>2]|0)|0;Drb(c,i+(f[(f[i>>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(i,h)|0;Krb(i)|0}b[a+25>>0]=1;u=g;return}function S6(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;rZa(a);f[a>>2]=327300;g=a+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;OBb(a+24|0,d);e=c+4|0;a=f[c>>2]|0;if((f[e>>2]|0)==(a|0))return;d=0;do{i=a;k=i+(d*12|0)|0;h=b[k+11>>0]|0;j=h<<24>>24<0;bCb(g,j?f[k>>2]|0:k,j?f[i+(d*12|0)+4>>2]|0:h&255)|0;cCb(g,432341)|0;d=d+1|0;a=f[c>>2]|0}while(d>>>0<(((f[e>>2]|0)-a|0)/12|0)>>>0);return}function T6(a){a=a|0;var c=0;f[a>>2]=327300;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function U6(a){a=a|0;var c=0;f[a>>2]=327300;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);GBb(a);return}GBb(f[c>>2]|0);Uua(a);GBb(a);return}function V6(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+112|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+8|0);Q6(a);c=f[c>>2]|0;Bj[f[(f[c>>2]|0)+60>>2]&1023](c,b+16|0);Q6(a);return a|0}function W6(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+112|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,a+24|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+8|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+16|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+24|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+32|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+40|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+48|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+56|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+64|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+72|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+80|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+88|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+96|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+104|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+112|0);Q6(a);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,b+120|0);Q6(a);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a+40|0);Q6(a);return a|0}function X6(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+48|0;l=p+32|0;o=p+12|0;j=p;f[l>>2]=0;m=c+4|0;ZBb(m,398577)|0;i=c+112|0;k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+80>>2]&1023](k,m);Q6(c);m=f[i>>2]|0;Bj[f[(f[m>>2]|0)+44>>2]&1023](m,l);Q6(c);m=c+56|0;k=c+60|0;d=f[k>>2]|0;if(d|0){g=f[l>>2]|0;e=k;do{n=(f[d+16>>2]|0)>>>0<g>>>0;e=n?e:d;d=f[(n?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=(k|0)?g>>>0>=(f[e+16>>2]|0)>>>0:0){d=f[e+20>>2]|0;f[a>>2]=d;if(d|0){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1}u=p;return}};f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;n=o+11|0;b[n>>0]=9;e=o;g=390263;h=e+9|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[o+9>>0]=0;h=o+12|0;f[h>>2]=0;b[o+16>>0]=1;i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+80>>2]&1023](i,o);Q6(c);do switch(f[h>>2]|0){case 0:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=1;f[i+56>>2]=1;f[i+60>>2]=5120;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=322860;f[i+72>>2]=323104;Y6(c,i,1,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 1:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=4;f[i+56>>2]=1;f[i+60>>2]=5121;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=322032;f[i+72>>2]=322276;Z6(c,i,1,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 2:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=2;f[i+56>>2]=1;f[i+60>>2]=5122;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=322584;f[i+72>>2]=322828;_6(c,i,1,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 3:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=5;f[i+56>>2]=1;f[i+60>>2]=5123;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=321756;f[i+72>>2]=322e3;$6(c,i,1,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 4:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=3;f[i+56>>2]=1;f[i+60>>2]=5124;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=322308;f[i+72>>2]=322552;a7(c,i,1,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 5:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=6;f[i+56>>2]=1;f[i+60>>2]=5125;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=321480;f[i+72>>2]=321724;b7(c,i,1,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 6:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=7;f[i+56>>2]=1;f[i+60>>2]=5126;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=320964;f[i+72>>2]=321204;c7(c,i,1,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 7:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=8;f[i+56>>2]=1;f[i+60>>2]=5130;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=320692;f[i+72>>2]=320932;d7(c,i,1,8);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 8:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=9;f[i+56>>2]=2;f[i+60>>2]=5120;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=320420;f[i+72>>2]=320660;e7(c,i,2,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 9:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=10;f[i+56>>2]=3;f[i+60>>2]=5120;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=320148;f[i+72>>2]=320388;f7(c,i,3,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 10:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=11;f[i+56>>2]=4;f[i+60>>2]=5120;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=319876;f[i+72>>2]=320116;g7(c,i,4,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 21:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=18;f[i+56>>2]=2;f[i+60>>2]=5121;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=327320;f[i+72>>2]=327560;h7(c,i,2,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 22:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=19;f[i+56>>2]=3;f[i+60>>2]=5121;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=327576;f[i+72>>2]=327816;i7(c,i,3,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 11:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=20;f[i+56>>2]=4;f[i+60>>2]=5121;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=318788;f[i+72>>2]=319028;j7(c,i,4,1);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 12:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=12;f[i+56>>2]=2;f[i+60>>2]=5122;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=319604;f[i+72>>2]=319844;k7(c,i,2,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 13:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=13;f[i+56>>2]=3;f[i+60>>2]=5122;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=319332;f[i+72>>2]=319572;l7(c,i,3,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 14:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=14;f[i+56>>2]=4;f[i+60>>2]=5122;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=319060;f[i+72>>2]=319300;m7(c,i,4,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 23:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=21;f[i+56>>2]=2;f[i+60>>2]=5123;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=327832;f[i+72>>2]=328072;n7(c,i,2,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 24:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=22;f[i+56>>2]=3;f[i+60>>2]=5123;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=328088;f[i+72>>2]=328328;o7(c,i,3,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 25:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=23;f[i+56>>2]=4;f[i+60>>2]=5123;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=328344;f[i+72>>2]=328584;p7(c,i,4,2);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 15:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=27;f[i+56>>2]=2;f[i+60>>2]=5126;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=308660;f[i+72>>2]=308900;q7(c,i,2,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 16:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=28;f[i+56>>2]=3;f[i+60>>2]=5126;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=308404;f[i+72>>2]=308644;r7(c,i,3,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 17:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=29;f[i+56>>2]=4;f[i+60>>2]=5126;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=308148;f[i+72>>2]=308388;s7(c,i,4,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 18:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=30;f[i+56>>2]=2;f[i+60>>2]=5130;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=318516;f[i+72>>2]=318756;t7(c,i,2,8);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 19:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=31;f[i+56>>2]=3;f[i+60>>2]=5130;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=318244;f[i+72>>2]=318484;u7(c,i,3,8);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 20:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=32;f[i+56>>2]=4;f[i+60>>2]=5130;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=317972;f[i+72>>2]=318212;v7(c,i,4,8);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 26:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=15;f[i+56>>2]=2;f[i+60>>2]=5124;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=328600;f[i+72>>2]=328840;w7(c,i,2,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 27:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=16;f[i+56>>2]=3;f[i+60>>2]=5124;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=328856;f[i+72>>2]=329096;x7(c,i,3,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 28:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=17;f[i+56>>2]=4;f[i+60>>2]=5124;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=329112;f[i+72>>2]=329352;y7(c,i,4,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 29:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=24;f[i+56>>2]=2;f[i+60>>2]=5125;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=329368;f[i+72>>2]=329608;z7(c,i,2,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 30:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=25;f[i+56>>2]=3;f[i+60>>2]=5125;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=329624;f[i+72>>2]=329864;A7(c,i,3,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}case 31:{i=EBb(88)|0;v_a(i,1);j=i+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[i+24>>2]=2;j=i+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[i+52>>2]=26;f[i+56>>2]=4;f[i+60>>2]=5125;f[i+64>>2]=-1;b[i+68>>0]=0;b[i+69>>0]=0;f[i+76>>2]=0;f[i+80>>2]=0;f[i+84>>2]=0;f[i>>2]=329880;f[i+72>>2]=330120;B7(c,i,4,4);j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;break}default:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;d=EBb(64)|0;f[j>>2]=d;f[j+8>>2]=-2147483584;f[j+4>>2]=49;e=d;g=398585;h=e+49|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[d+49>>0]=0;d=EBb(36)|0;S6(d,c+100|0,j);e=c+116|0;g=f[e>>2]|0;if(((g|0)!=(d|0)?(f[e>>2]=d,i=d+8|0,f[i>>2]=(f[i>>2]|0)+1,g|0):0)?(h=g+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(g,1,1);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);i=0}}while(0);if(!(f[c+116>>2]|0)){d=f[k>>2]|0;do if(d){h=f[l>>2]|0;g=c+60|0;while(1){e=f[d+16>>2]|0;if(h>>>0<e>>>0){e=f[d>>2]|0;if(!e){e=54;break}else{g=d;d=e}}else{if(e>>>0>=h>>>0){e=58;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=57;break}else d=e}}if((e|0)==54){h=d;g=d;break}else if((e|0)==57){h=d;break}else if((e|0)==58){h=d;break}}else{h=k;g=k}while(0);d=f[g>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=f[l>>2];f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[m>>2]>>2]|0;if(!e)e=d;else{f[m>>2]=e;e=f[g>>2]|0}Xo(f[c+60>>2]|0,e);c=c+64|0;f[c>>2]=(f[c>>2]|0)+1}d=d+20|0;e=f[d>>2]|0;if((e|0)!=(i|0)){f[d>>2]=i;if(i|0){c=i+8|0;f[c>>2]=(f[c>>2]|0)+1}if(e|0?(m=e+8|0,c=f[m>>2]|0,f[m>>2]=c-1,(c|0)==1):0)Rua(e,1,1)}f[a>>2]=i;if(i|0){a=i+8|0;f[a>>2]=(f[a>>2]|0)+1}}else f[a>>2]=0;if((b[n>>0]|0)<0)GBb(f[o>>2]|0);if(!i){u=p;return}o=i+8|0;a=f[o>>2]|0;f[o>>2]=a-1;if((a|0)!=1){u=p;return}Rua(i,1,1);u=p;return}function Y6(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;o=u;u=u+16|0;m=o;l=o+4|0;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){b[l>>0]=0;h=c+76|0;i=c+80|0;k=f[h>>2]|0;j=(f[i>>2]|0)-k|0;if(g>>>0<=j>>>0){if(g>>>0<j>>>0)f[i>>2]=k+g}else kX(h,g-j|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[n>>2]|0;Bj[f[(f[e>>2]|0)+24>>2]&1023](e,(f[g>>2]|0)+c|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function Z6(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;o=u;u=u+16|0;m=o;l=o+4|0;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){b[l>>0]=0;h=c+76|0;i=c+80|0;k=f[h>>2]|0;j=(f[i>>2]|0)-k|0;if(g>>>0<=j>>>0){if(g>>>0<j>>>0)f[i>>2]=k+g}else SV(h,g-j|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[n>>2]|0;Bj[f[(f[e>>2]|0)+28>>2]&1023](e,(f[g>>2]|0)+c|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function _6(a,c,e,g){a=a|0;c=c|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;p=u;u=u+16|0;n=p;m=p+4|0;f[n>>2]=0;o=a+112|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,n);Q6(a);h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,a+24|0);Q6(a);h=f[n>>2]|0;a:do if(h|0){d[m>>1]=0;i=c+76|0;j=c+80|0;k=f[i>>2]|0;l=(f[j>>2]|0)-k>>1;if(h>>>0<=l>>>0){if(h>>>0<l>>>0)f[j>>2]=k+(h<<1)}else NW(i,h-l|0,m);m=f[o>>2]|0;if(!(_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0)){if((f[n>>2]|0)<=0)break;h=c+76|0;c=0;while(1){g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+32>>2]&1023](g,(f[h>>2]|0)+(c<<1)|0);Q6(a);c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}i=f[c+76>>2]|0;m=f[n>>2]|0;c=f[o>>2]|0;n=W(g,e)|0;h=W(m,n)|0;if(h|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,i,h),!((e|0)==0|(m|0)!=0&(g>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){l=0;while(1){j=0;k=i;do{h=k;k=k+g|0;c=k+-1|0;if(c>>>0>h>>>0)do{q=b[h>>0]|0;b[h>>0]=b[c>>0]|0;h=h+1|0;b[c>>0]=q;c=c+-1|0}while(h>>>0<c>>>0);j=j+1|0}while((j|0)!=(e|0));l=l+1|0;if((l|0)==(m|0))break;else i=i+n|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function $6(a,c,e,g){a=a|0;c=c|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;p=u;u=u+16|0;n=p;m=p+4|0;f[n>>2]=0;o=a+112|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,n);Q6(a);h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,a+24|0);Q6(a);h=f[n>>2]|0;a:do if(h|0){d[m>>1]=0;i=c+76|0;j=c+80|0;k=f[i>>2]|0;l=(f[j>>2]|0)-k>>1;if(h>>>0<=l>>>0){if(h>>>0<l>>>0)f[j>>2]=k+(h<<1)}else tV(i,h-l|0,m);m=f[o>>2]|0;if(!(_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0)){if((f[n>>2]|0)<=0)break;h=c+76|0;c=0;while(1){g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,(f[h>>2]|0)+(c<<1)|0);Q6(a);c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}i=f[c+76>>2]|0;m=f[n>>2]|0;c=f[o>>2]|0;n=W(g,e)|0;h=W(m,n)|0;if(h|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,i,h),!((e|0)==0|(m|0)!=0&(g>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){l=0;while(1){j=0;k=i;do{h=k;k=k+g|0;c=k+-1|0;if(c>>>0>h>>>0)do{q=b[h>>0]|0;b[h>>0]=b[c>>0]|0;h=h+1|0;b[c>>0]=q;c=c+-1|0}while(h>>>0<c>>>0);j=j+1|0}while((j|0)!=(e|0));l=l+1|0;if((l|0)==(m|0))break;else i=i+n|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function a7(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;o=u;u=u+16|0;m=o+4|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){f[l>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>2;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<2)}else oW(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[n>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,(f[g>>2]|0)+(c<<2)|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function b7(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;o=u;u=u+16|0;m=o+4|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){f[l>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>2;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<2)}else VO(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[n>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,(f[g>>2]|0)+(c<<2)|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function c7(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,o=0,p=0,q=0;p=u;u=u+16|0;m=p+4|0;l=p;f[m>>2]=0;o=a+112|0;g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){n[l>>2]=0.0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>2;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<2)}else wU(h,g-k|0,l);l=f[o>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+56>>2]&1023](e,(f[g>>2]|0)+(c<<2)|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[o>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{q=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=q;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function d7(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,q=0;o=u;u=u+16|0;m=o+8|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){p[l>>3]=0.0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>3;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<3)}else _T(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[n>>2]|0;Bj[f[(f[e>>2]|0)+60>>2]&1023](e,(f[g>>2]|0)+(c<<3)|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{q=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=q;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);q=f[n>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=o;return}function e7(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;l=p+6|0;m=p+4|0;n=p;f[n>>2]=0;o=a+112|0;g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,n);Q6(a);g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[n>>2]|0;a:do if(g|0){b[l>>0]=0;b[l+1>>0]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>1;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<1)}else CT(h,g-k|0,l);k=f[o>>2]|0;if(!(_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0)){if((f[n>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+20>>2]&1023](d,l);Q6(a);d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+20>>2]&1023](d,m);Q6(a);d=b[m>>0]|0;b[e+(c<<1)>>0]=b[l>>0]|0;b[e+(c<<1)+1>>0]=d;c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}h=f[c+76>>2]|0;l=f[n>>2]|0;c=f[o>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{n=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=n;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);o=f[o>>2]|0;Bj[f[(f[o>>2]|0)+84>>2]&1023](o,a+40|0);Q6(a);u=p;return}function f7(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;q=u;u=u+16|0;l=q+6|0;m=q+5|0;n=q+4|0;o=q;f[o>>2]=0;p=a+112|0;g=f[p>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,o);Q6(a);g=f[p>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[o>>2]|0;if(!g){e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}b[l>>0]=0;b[l+1>>0]=0;b[l+2>>0]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=((f[i>>2]|0)-j|0)/3|0;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g*3|0)}else eT(h,g-k|0,l);k=f[p>>2]|0;if(!(_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0)){if((f[o>>2]|0)<=0){e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}g=c+76|0;c=0;do{e=f[g>>2]|0;k=f[p>>2]|0;Bj[f[(f[k>>2]|0)+20>>2]&1023](k,l);Q6(a);k=f[p>>2]|0;Bj[f[(f[k>>2]|0)+20>>2]&1023](k,m);Q6(a);k=f[p>>2]|0;Bj[f[(f[k>>2]|0)+20>>2]&1023](k,n);Q6(a);k=b[m>>0]|0;d=b[n>>0]|0;b[e+(c*3|0)>>0]=b[l>>0]|0;b[e+(c*3|0)+1>>0]=k;b[e+(c*3|0)+2>>0]=d;c=c+1|0}while((c|0)<(f[o>>2]|0));e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}h=f[c+76>>2]|0;l=f[o>>2]|0;c=f[p>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{o=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=o;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}function g7(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;r=u;u=u+16|0;l=r+4|0;m=r+10|0;n=r+9|0;o=r+8|0;p=r;f[p>>2]=0;q=a+112|0;g=f[q>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,p);Q6(a);g=f[q>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[p>>2]|0;if(!g){e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}f[l>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>2;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<2)}else IS(h,g-k|0,l);k=f[q>>2]|0;if(!(_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0)){if((f[p>>2]|0)<=0){e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}g=c+76|0;c=0;do{e=f[g>>2]|0;j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,l);Q6(a);j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,m);Q6(a);j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,n);Q6(a);j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,o);Q6(a);j=b[m>>0]|0;k=b[n>>0]|0;d=b[o>>0]|0;b[e+(c<<2)>>0]=b[l>>0]|0;b[e+(c<<2)+1>>0]=j;b[e+(c<<2)+2>>0]=k;b[e+(c<<2)+3>>0]=d;c=c+1|0}while((c|0)<(f[p>>2]|0));e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}h=f[c+76>>2]|0;l=f[p>>2]|0;c=f[q>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}function h7(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;l=p+6|0;m=p+4|0;n=p;f[n>>2]=0;o=a+112|0;g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,n);Q6(a);g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[n>>2]|0;a:do if(g|0){b[l>>0]=0;b[l+1>>0]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>1;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<1)}else _ba(h,g-k|0,l);k=f[o>>2]|0;if(!(_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0)){if((f[n>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+28>>2]&1023](d,l);Q6(a);d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+28>>2]&1023](d,m);Q6(a);d=b[m>>0]|0;b[e+(c<<1)>>0]=b[l>>0]|0;b[e+(c<<1)+1>>0]=d;c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}h=f[c+76>>2]|0;l=f[n>>2]|0;c=f[o>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{n=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=n;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);o=f[o>>2]|0;Bj[f[(f[o>>2]|0)+84>>2]&1023](o,a+40|0);Q6(a);u=p;return}function i7(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;q=u;u=u+16|0;l=q+6|0;m=q+5|0;n=q+4|0;o=q;f[o>>2]=0;p=a+112|0;g=f[p>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,o);Q6(a);g=f[p>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[o>>2]|0;if(!g){e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}b[l>>0]=0;b[l+1>>0]=0;b[l+2>>0]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=((f[i>>2]|0)-j|0)/3|0;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g*3|0)}else Cba(h,g-k|0,l);k=f[p>>2]|0;if(!(_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0)){if((f[o>>2]|0)<=0){e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}g=c+76|0;c=0;do{e=f[g>>2]|0;k=f[p>>2]|0;Bj[f[(f[k>>2]|0)+28>>2]&1023](k,l);Q6(a);k=f[p>>2]|0;Bj[f[(f[k>>2]|0)+28>>2]&1023](k,m);Q6(a);k=f[p>>2]|0;Bj[f[(f[k>>2]|0)+28>>2]&1023](k,n);Q6(a);k=b[m>>0]|0;d=b[n>>0]|0;b[e+(c*3|0)>>0]=b[l>>0]|0;b[e+(c*3|0)+1>>0]=k;b[e+(c*3|0)+2>>0]=d;c=c+1|0}while((c|0)<(f[o>>2]|0));e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}h=f[c+76>>2]|0;l=f[o>>2]|0;c=f[p>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{o=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=o;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);e=a+40|0;p=f[p>>2]|0;d=f[p>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](p,e);Q6(a);u=q;return}function j7(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;r=u;u=u+16|0;l=r+4|0;m=r+10|0;n=r+9|0;o=r+8|0;p=r;f[p>>2]=0;q=a+112|0;g=f[q>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,p);Q6(a);g=f[q>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[p>>2]|0;if(!g){e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}f[l>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>2;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<2)}else UQ(h,g-k|0,l);k=f[q>>2]|0;if(!(_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0)){if((f[p>>2]|0)<=0){e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}g=c+76|0;c=0;do{e=f[g>>2]|0;j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,l);Q6(a);j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,m);Q6(a);j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,n);Q6(a);j=f[q>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,o);Q6(a);j=b[m>>0]|0;k=b[n>>0]|0;d=b[o>>0]|0;b[e+(c<<2)>>0]=b[l>>0]|0;b[e+(c<<2)+1>>0]=j;b[e+(c<<2)+2>>0]=k;b[e+(c<<2)+3>>0]=d;c=c+1|0}while((c|0)<(f[p>>2]|0));e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}h=f[c+76>>2]|0;l=f[p>>2]|0;c=f[q>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);e=a+40|0;q=f[q>>2]|0;d=f[q>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](q,e);Q6(a);u=r;return}function k7(a,c,e,g){a=a|0;c=c|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;p=u;u=u+16|0;n=p;m=p+4|0;f[n>>2]=0;o=a+112|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,n);Q6(a);h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,a+24|0);Q6(a);h=f[n>>2]|0;a:do if(h|0){d[m>>1]=0;d[m+2>>1]=0;i=c+76|0;j=c+80|0;k=f[i>>2]|0;l=(f[j>>2]|0)-k>>2;if(h>>>0<=l>>>0){if(h>>>0<l>>>0)f[j>>2]=k+(h<<2)}else kS(i,h-l|0,m);m=f[o>>2]|0;if(!(_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0)){if((f[n>>2]|0)<=0)break;h=c+76|0;c=0;while(1){g=f[h>>2]|0;e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+32>>2]&1023](e,g+(c<<2)|0);Q6(a);e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+32>>2]&1023](e,g+(c<<2)+2|0);Q6(a);c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}i=f[c+76>>2]|0;m=f[n>>2]|0;c=f[o>>2]|0;n=W(g,e)|0;h=W(m,n)|0;if(h|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,i,h),!((e|0)==0|(m|0)!=0&(g>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){l=0;while(1){j=0;k=i;do{h=k;k=k+g|0;c=k+-1|0;if(c>>>0>h>>>0)do{q=b[h>>0]|0;b[h>>0]=b[c>>0]|0;h=h+1|0;b[c>>0]=q;c=c+-1|0}while(h>>>0<c>>>0);j=j+1|0}while((j|0)!=(e|0));l=l+1|0;if((l|0)==(m|0))break;else i=i+n|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function l7(a,c,e,g){a=a|0;c=c|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;p=u;u=u+16|0;n=p;m=p+4|0;f[n>>2]=0;o=a+112|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,n);Q6(a);h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,a+24|0);Q6(a);h=f[n>>2]|0;a:do if(h|0){d[m>>1]=0;d[m+2>>1]=0;d[m+4>>1]=0;i=c+76|0;j=c+80|0;k=f[i>>2]|0;l=((f[j>>2]|0)-k|0)/6|0;if(h>>>0<=l>>>0){if(h>>>0<l>>>0)f[j>>2]=k+(h*6|0)}else OR(i,h-l|0,m);m=f[o>>2]|0;if(!(_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0)){if((f[n>>2]|0)<=0)break;h=c+76|0;c=0;while(1){g=f[h>>2]|0;e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+32>>2]&1023](e,g+(c*6|0)|0);Q6(a);e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+32>>2]&1023](e,g+(c*6|0)+2|0);Q6(a);e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+32>>2]&1023](e,g+(c*6|0)+4|0);Q6(a);c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}i=f[c+76>>2]|0;m=f[n>>2]|0;c=f[o>>2]|0;n=W(g,e)|0;h=W(m,n)|0;if(h|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,i,h),!((e|0)==0|(m|0)!=0&(g>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){l=0;while(1){j=0;k=i;do{h=k;k=k+g|0;c=k+-1|0;if(c>>>0>h>>>0)do{q=b[h>>0]|0;b[h>>0]=b[c>>0]|0;h=h+1|0;b[c>>0]=q;c=c+-1|0}while(h>>>0<c>>>0);j=j+1|0}while((j|0)!=(e|0));l=l+1|0;if((l|0)==(m|0))break;else i=i+n|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function m7(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;o=u;u=u+16|0;m=o+8|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;if(!g){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=l;f[h>>2]=0;f[h+4>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>3;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<3)}else qR(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}g=c+76|0;c=0;do{e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+32>>2]&1023](d,e+(c<<3)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+32>>2]&1023](d,e+(c<<3)+2|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+32>>2]&1023](d,e+(c<<3)+4|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+32>>2]&1023](d,e+(c<<3)+6|0);Q6(a);c=c+1|0}while((c|0)<(f[m>>2]|0));e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);p=a+40|0;n=f[n>>2]|0;e=f[n>>2]|0;e=e+84|0;e=f[e>>2]|0;Bj[e&1023](n,p);Q6(a);u=o;return}function n7(a,c,e,g){a=a|0;c=c|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;p=u;u=u+16|0;n=p;m=p+4|0;f[n>>2]=0;o=a+112|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,n);Q6(a);h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,a+24|0);Q6(a);h=f[n>>2]|0;a:do if(h|0){d[m>>1]=0;d[m+2>>1]=0;i=c+76|0;j=c+80|0;k=f[i>>2]|0;l=(f[j>>2]|0)-k>>2;if(h>>>0<=l>>>0){if(h>>>0<l>>>0)f[j>>2]=k+(h<<2)}else eba(i,h-l|0,m);m=f[o>>2]|0;if(!(_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0)){if((f[n>>2]|0)<=0)break;h=c+76|0;c=0;while(1){g=f[h>>2]|0;e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,g+(c<<2)|0);Q6(a);e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,g+(c<<2)+2|0);Q6(a);c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}i=f[c+76>>2]|0;m=f[n>>2]|0;c=f[o>>2]|0;n=W(g,e)|0;h=W(m,n)|0;if(h|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,i,h),!((e|0)==0|(m|0)!=0&(g>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){l=0;while(1){j=0;k=i;do{h=k;k=k+g|0;c=k+-1|0;if(c>>>0>h>>>0)do{q=b[h>>0]|0;b[h>>0]=b[c>>0]|0;h=h+1|0;b[c>>0]=q;c=c+-1|0}while(h>>>0<c>>>0);j=j+1|0}while((j|0)!=(e|0));l=l+1|0;if((l|0)==(m|0))break;else i=i+n|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function o7(a,c,e,g){a=a|0;c=c|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;p=u;u=u+16|0;n=p;m=p+4|0;f[n>>2]=0;o=a+112|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,n);Q6(a);h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,a+24|0);Q6(a);h=f[n>>2]|0;a:do if(h|0){d[m>>1]=0;d[m+2>>1]=0;d[m+4>>1]=0;i=c+76|0;j=c+80|0;k=f[i>>2]|0;l=((f[j>>2]|0)-k|0)/6|0;if(h>>>0<=l>>>0){if(h>>>0<l>>>0)f[j>>2]=k+(h*6|0)}else Iaa(i,h-l|0,m);m=f[o>>2]|0;if(!(_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0)){if((f[n>>2]|0)<=0)break;h=c+76|0;c=0;while(1){g=f[h>>2]|0;e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,g+(c*6|0)|0);Q6(a);e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,g+(c*6|0)+2|0);Q6(a);e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,g+(c*6|0)+4|0);Q6(a);c=c+1|0;if((c|0)>=(f[n>>2]|0))break a}}i=f[c+76>>2]|0;m=f[n>>2]|0;c=f[o>>2]|0;n=W(g,e)|0;h=W(m,n)|0;if(h|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,i,h),!((e|0)==0|(m|0)!=0&(g>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){l=0;while(1){j=0;k=i;do{h=k;k=k+g|0;c=k+-1|0;if(c>>>0>h>>>0)do{q=b[h>>0]|0;b[h>>0]=b[c>>0]|0;h=h+1|0;b[c>>0]=q;c=c+-1|0}while(h>>>0<c>>>0);j=j+1|0}while((j|0)!=(e|0));l=l+1|0;if((l|0)==(m|0))break;else i=i+n|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function p7(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;o=u;u=u+16|0;m=o+8|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;if(!g){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=l;f[h>>2]=0;f[h+4>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>3;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<3)}else kaa(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}g=c+76|0;c=0;do{e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+36>>2]&1023](d,e+(c<<3)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+36>>2]&1023](d,e+(c<<3)+2|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+36>>2]&1023](d,e+(c<<3)+4|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+36>>2]&1023](d,e+(c<<3)+6|0);Q6(a);c=c+1|0}while((c|0)<(f[m>>2]|0));e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);p=a+40|0;n=f[n>>2]|0;e=f[n>>2]|0;e=e+84|0;e=f[e>>2]|0;Bj[e&1023](n,p);Q6(a);u=o;return}function q7(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,o=0,p=0,q=0;p=u;u=u+16|0;m=p+8|0;l=p;f[m>>2]=0;o=a+112|0;g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){n[l>>2]=0.0;n[l+4>>2]=0.0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>3;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<3)}else Sx(h,g-k|0,l);l=f[o>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c<<3)|0);Q6(a);d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c<<3)+4|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[o>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{q=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=q;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function r7(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,o=0,p=0,q=0;p=u;u=u+16|0;m=p+12|0;l=p;f[m>>2]=0;o=a+112|0;g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){n[l>>2]=0.0;n[l+4>>2]=0.0;n[l+8>>2]=0.0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=((f[i>>2]|0)-j|0)/12|0;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g*12|0)}else mx(h,g-k|0,l);l=f[o>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c*12|0)|0);Q6(a);d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c*12|0)+4|0);Q6(a);d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c*12|0)+8|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[o>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{q=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=q;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);q=f[o>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,a+40|0);Q6(a);u=p;return}function s7(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;o=u;u=u+32|0;m=o+16|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;if(!g){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>4;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<4)}else Ly(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}g=c+76|0;c=0;do{e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c<<4)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c<<4)+4|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c<<4)+8|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+56>>2]&1023](d,e+(c<<4)+12|0);Q6(a);c=c+1|0}while((c|0)<(f[m>>2]|0));e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);p=a+40|0;n=f[n>>2]|0;e=f[n>>2]|0;e=e+84|0;e=f[e>>2]|0;Bj[e&1023](n,p);Q6(a);u=o;return}function t7(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;o=u;u=u+32|0;m=o+16|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>4;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<4)}else wQ(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c<<4)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c<<4)+8|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function u7(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;o=u;u=u+32|0;m=o+24|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|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;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=((f[i>>2]|0)-j|0)/24|0;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g*24|0)}else _P(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c*24|0)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c*24|0)+8|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c*24|0)+16|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function v7(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;o=u;u=u+48|0;m=o+32|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;if(!g){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return};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;f[l+24>>2]=0;f[l+28>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>5;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<5)}else CP(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}g=c+76|0;c=0;do{e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c<<5)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c<<5)+8|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c<<5)+16|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+60>>2]&1023](d,e+(c<<5)+24|0);Q6(a);c=c+1|0}while((c|0)<(f[m>>2]|0));e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);p=a+40|0;n=f[n>>2]|0;e=f[n>>2]|0;e=e+84|0;e=f[e>>2]|0;Bj[e&1023](n,p);Q6(a);u=o;return}function w7(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;o=u;u=u+16|0;m=o+8|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){f[l>>2]=0;f[l+4>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>3;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<3)}else O9(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c<<3)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c<<3)+4|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function x7(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;o=u;u=u+16|0;m=o+12|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=((f[i>>2]|0)-j|0)/12|0;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g*12|0)}else q9(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c*12|0)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c*12|0)+4|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c*12|0)+8|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function y7(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;o=u;u=u+32|0;m=o+16|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;if(!g){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>4;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<4)}else U8(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}g=c+76|0;c=0;do{e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c<<4)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c<<4)+4|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c<<4)+8|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e+(c<<4)+12|0);Q6(a);c=c+1|0}while((c|0)<(f[m>>2]|0));e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);p=a+40|0;n=f[n>>2]|0;e=f[n>>2]|0;e=e+84|0;e=f[e>>2]|0;Bj[e&1023](n,p);Q6(a);u=o;return}function z7(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;o=u;u=u+16|0;m=o+8|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){f[l>>2]=0;f[l+4>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>3;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<3)}else w8(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c<<3)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c<<3)+4|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function A7(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;o=u;u=u+16|0;m=o+12|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;a:do if(g|0){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=((f[i>>2]|0)-j|0)/12|0;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g*12|0)}else _7(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0)break;g=c+76|0;c=0;while(1){e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c*12|0)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c*12|0)+4|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c*12|0)+8|0);Q6(a);c=c+1|0;if((c|0)>=(f[m>>2]|0))break a}}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a)}while(0);p=f[n>>2]|0;Bj[f[(f[p>>2]|0)+84>>2]&1023](p,a+40|0);Q6(a);u=o;return}function B7(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;o=u;u=u+32|0;m=o+16|0;l=o;f[m>>2]=0;n=a+112|0;g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,m);Q6(a);g=f[n>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,a+24|0);Q6(a);g=f[m>>2]|0;if(!g){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;h=c+76|0;i=c+80|0;j=f[h>>2]|0;k=(f[i>>2]|0)-j>>4;if(g>>>0<=k>>>0){if(g>>>0<k>>>0)f[i>>2]=j+(g<<4)}else C7(h,g-k|0,l);l=f[n>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){if((f[m>>2]|0)<=0){e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}g=c+76|0;c=0;do{e=f[g>>2]|0;d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c<<4)|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c<<4)+4|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c<<4)+8|0);Q6(a);d=f[n>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,e+(c<<4)+12|0);Q6(a);c=c+1|0}while((c|0)<(f[m>>2]|0));e=a+40|0;n=f[n>>2]|0;d=f[n>>2]|0;d=d+84|0;d=f[d>>2]|0;Bj[d&1023](n,e);Q6(a);u=o;return}h=f[c+76>>2]|0;l=f[m>>2]|0;c=f[n>>2]|0;m=W(e,d)|0;g=W(l,m)|0;if(g|0?(Fj[f[(f[c>>2]|0)+88>>2]&511](c,h,g),!((d|0)==0|(l|0)!=0&(e>>>0>1&(f[c+20>>2]|0)!=0)^1)):0){k=0;while(1){i=0;j=h;do{g=j;j=j+e|0;c=j+-1|0;if(c>>>0>g>>>0)do{p=b[g>>0]|0;b[g>>0]=b[c>>0]|0;g=g+1|0;b[c>>0]=p;c=c+-1|0}while(g>>>0<c>>>0);i=i+1|0}while((i|0)!=(d|0));k=k+1|0;if((k|0)==(l|0))break;else h=h+m|0}}Q6(a);p=a+40|0;n=f[n>>2]|0;e=f[n>>2]|0;e=e+84|0;e=f[e>>2]|0;Bj[e&1023](n,p);Q6(a);u=o;return}function C7(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<j>>>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 D7(a){a=a|0;var b=0;f[a+72>>2]=330136;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function E7(a){a=a|0;var b=0;f[a+72>>2]=330136;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function F7(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]=26;f[a+56>>2]=4;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]=329880;f[a+72>>2]=330120;return a|0}function G7(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;Z7(c,a,b);return c|0}function H7(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 I7(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function J7(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+112>>2]&1023](b,a);return}function K7(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+112>>2]&1023](b,a);return}function L7(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+108>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function M7(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+108>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function N7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a+76>>2]|0;a=f[e+(b<<4)>>2]|0;d=f[e+(c<<4)>>2]|0;if(a>>>0<d>>>0){c=-1;return c|0}if(a>>>0<=d>>>0){a=f[e+(b<<4)+4>>2]|0;d=f[e+(c<<4)+4>>2]|0;if(a>>>0<d>>>0){c=-1;return c|0}if(a>>>0<=d>>>0){a=f[e+(b<<4)+8>>2]|0;d=f[e+(c<<4)+8>>2]|0;if(a>>>0<d>>>0){c=-1;return c|0}if(a>>>0<=d>>>0?(f[e+(b<<4)+12>>2]|0)>>>0<(f[e+(c<<4)+12>>2]|0)>>>0:0){c=-1;return c|0}}a=f[e+(c<<4)+4>>2]|0;d=f[e+(b<<4)+4>>2]|0;if(a>>>0>=d>>>0){if(a>>>0>d>>>0){c=0;return c|0}a=f[e+(c<<4)+8>>2]|0;d=f[e+(b<<4)+8>>2]|0;if(a>>>0>=d>>>0){if(a>>>0>d>>>0){c=0;return c|0}if((f[e+(c<<4)+12>>2]|0)>>>0>=(f[e+(b<<4)+12>>2]|0)>>>0){c=0;return c|0}}}}c=1;return c|0}function O7(a){a=a|0;return 16}function P7(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 Q7(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>4|0}function R7(a,b){a=a|0;b=b|0;Y7(a+76|0,b);return}function S7(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<b>>>0){C7(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 T7(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]=330136;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]=330136;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function U7(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330136;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function V7(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330136;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function W7(a){a=a|0;var b=0;f[a>>2]=330136;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function X7(a){a=a|0;var b=0;f[a>>2]=330136;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function Y7(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 Z7(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]=330136;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]=329880;f[k>>2]=330120;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]=329880;f[k>>2]=330120;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>4<<4);f[a>>2]=329880;f[k>>2]=330120;return}function _7(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)/12|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];d=(f[l>>2]|0)+12|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=(d-e|0)/12|0;j=h+b|0;if(j>>>0>357913941)DCb(a);i=(g-e|0)/12|0;d=i<<1;d=i>>>0<178956970?(d>>>0<j>>>0?j:d):357913941;do if(d)if(d>>>0>357913941){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d*12|0)|0;break}else i=0;while(0);g=i+(h*12|0)|0;h=i+(d*12|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];b=b+-1|0;if(!b)break;else d=d+12|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(((e|0)/-12|0)*12|0)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j*12|0);f[k>>2]=h;if(!b)return;GBb(b);return}function $7(a){a=a|0;var b=0;f[a+72>>2]=330152;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function a8(a){a=a|0;var b=0;f[a+72>>2]=330152;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function b8(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]=25;f[a+56>>2]=3;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]=329624;f[a+72>>2]=329864;return a|0}function c8(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;v8(c,a,b);return c|0}function d8(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 e8(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function f8(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+108>>2]&1023](b,a);return}function g8(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+108>>2]&1023](b,a);return}function h8(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+104>>2]&1023](c,(f[a+76>>2]|0)+(b*12|0)|0);return}function i8(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+104>>2]&1023](c,(f[a+76>>2]|0)+(b*12|0)|0);return}function j8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a+76>>2]|0;a=f[e+(b*12|0)>>2]|0;d=f[e+(c*12|0)>>2]|0;if(a>>>0<d>>>0){c=-1;return c|0}if(a>>>0<=d>>>0){a=f[e+(b*12|0)+4>>2]|0;d=f[e+(c*12|0)+4>>2]|0;if(a>>>0<d>>>0){c=-1;return c|0}if(a>>>0<=d>>>0?(f[e+(b*12|0)+8>>2]|0)>>>0<(f[e+(c*12|0)+8>>2]|0)>>>0:0){c=-1;return c|0}a=f[e+(c*12|0)+4>>2]|0;d=f[e+(b*12|0)+4>>2]|0;if(a>>>0>=d>>>0){if(a>>>0>d>>>0){c=0;return c|0}if((f[e+(c*12|0)+8>>2]|0)>>>0>=(f[e+(b*12|0)+8>>2]|0)>>>0){c=0;return c|0}}}c=1;return c|0}function k8(a){a=a|0;return 12}function l8(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*12|0)|0)|0}function m8(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/12|0|0}function n8(a,b){a=a|0;b=b|0;u8(a+76|0,b);return}function o8(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;g=a+76|0;c=a+80|0;d=f[g>>2]|0;a=((f[c>>2]|0)-d|0)/12|0;if(a>>>0<b>>>0){_7(g,b-a|0,e);u=h;return}if(a>>>0<=b>>>0){u=h;return}f[c>>2]=d+(b*12|0);u=h;return}function p8(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]=330152;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)/12|0;if(e){if(b>>>0>357913941)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b*12|0)|0;f[k>>2]=b;d=c;if((e|0)>0){YDb(c|0,n|0,e|0)|0;c=c+(((e>>>0)/12|0)*12|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]=330152;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function q8(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330152;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function r8(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330152;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function s8(a){a=a|0;var b=0;f[a>>2]=330152;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function t8(a){a=a|0;var b=0;f[a>>2]=330152;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function u8(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)/12|0)>>>0>=b>>>0)return;j=a+4|0;if(b>>>0>357913941){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*12|0)|0;e=d+(((c|0)/12|0)*12|0)|0;h=e+(((c|0)/-12|0)*12|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*12|0);if(!i)return;GBb(i);return}function v8(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]=330152;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)/12|0;if(!d){f[a>>2]=329624;f[k>>2]=329864;return}if(c>>>0>357913941)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c*12|0);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=329624;f[k>>2]=329864;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/12|0)*12|0);f[a>>2]=329624;f[k>>2]=329864;return}function w8(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;k=a+8|0;g=f[k>>2]|0;l=a+4|0;d=f[l>>2]|0;if(g-d>>3>>>0>=b>>>0){do{j=c;a=f[j+4>>2]|0;k=d;f[k>>2]=f[j>>2];f[k+4>>2]=a;d=(f[l>>2]|0)+8|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=d-e>>3;j=h+b|0;if(j>>>0>536870911)DCb(a);i=g-e|0;d=i>>2;d=i>>3>>>0<268435455?(d>>>0<j>>>0?j:d):536870911;do if(d)if(d>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d<<3)|0;break}else i=0;while(0);g=i+(h<<3)|0;h=i+(d<<3)|0;d=g;while(1){n=c;m=f[n+4>>2]|0;e=d;f[e>>2]=f[n>>2];f[e+4>>2]=m;b=b+-1|0;if(!b)break;else d=d+8|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(0-(e>>3)<<3)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j<<3);f[k>>2]=h;if(!b)return;GBb(b);return}function x8(a){a=a|0;var b=0;f[a+72>>2]=330168;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function y8(a){a=a|0;var b=0;f[a+72>>2]=330168;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function z8(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]=24;f[a+56>>2]=2;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]=329368;f[a+72>>2]=329608;return a|0}function A8(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;T8(c,a,b);return c|0}function B8(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 C8(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function D8(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+104>>2]&1023](b,a);return}function E8(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+104>>2]&1023](b,a);return}function F8(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+100>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function G8(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+100>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function H8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=f[a+76>>2]|0;d=f[a+(b<<3)>>2]|0;e=f[a+(c<<3)>>2]|0;if(d>>>0<e>>>0){c=-1;return c|0}if(d>>>0<=e>>>0){if((f[a+(b<<3)+4>>2]|0)>>>0<(f[a+(c<<3)+4>>2]|0)>>>0){c=-1;return c|0}if((f[a+(c<<3)+4>>2]|0)>>>0>=(f[a+(b<<3)+4>>2]|0)>>>0){c=0;return c|0}}c=1;return c|0}function I8(a){a=a|0;return 8}function J8(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 K8(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>3|0}function L8(a,b){a=a|0;b=b|0;S8(a+76|0,b);return}function M8(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;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>3;if(d>>>0<b>>>0){w8(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 N8(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]=330168;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]=330168;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function O8(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330168;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function P8(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330168;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Q8(a){a=a|0;var b=0;f[a>>2]=330168;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function R8(a){a=a|0;var b=0;f[a>>2]=330168;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function S8(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 T8(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]=330168;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]=329368;f[k>>2]=329608;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]=329368;f[k>>2]=329608;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>3<<3);f[a>>2]=329368;f[k>>2]=329608;return}function U8(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<j>>>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 V8(a){a=a|0;var b=0;f[a+72>>2]=330184;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function W8(a){a=a|0;var b=0;f[a+72>>2]=330184;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function X8(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]=17;f[a+56>>2]=4;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]=329112;f[a+72>>2]=329352;return a|0}function Y8(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;p9(c,a,b);return c|0}function Z8(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 _8(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function $8(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+76>>2]&1023](b,a);return}function a9(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+76>>2]&1023](b,a);return}function b9(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function c9(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function d9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a+76>>2]|0;a=f[e+(b<<4)>>2]|0;d=f[e+(c<<4)>>2]|0;if((a|0)<(d|0)){c=-1;return c|0}if((a|0)<=(d|0)){a=f[e+(b<<4)+4>>2]|0;d=f[e+(c<<4)+4>>2]|0;if((a|0)<(d|0)){c=-1;return c|0}if((a|0)<=(d|0)){a=f[e+(b<<4)+8>>2]|0;d=f[e+(c<<4)+8>>2]|0;if((a|0)<(d|0)){c=-1;return c|0}if((a|0)<=(d|0)?(f[e+(b<<4)+12>>2]|0)<(f[e+(c<<4)+12>>2]|0):0){c=-1;return c|0}}a=f[e+(c<<4)+4>>2]|0;d=f[e+(b<<4)+4>>2]|0;if((a|0)>=(d|0)){if((a|0)>(d|0)){c=0;return c|0}a=f[e+(c<<4)+8>>2]|0;d=f[e+(b<<4)+8>>2]|0;if((a|0)>=(d|0)){if((a|0)>(d|0)){c=0;return c|0}if((f[e+(c<<4)+12>>2]|0)>=(f[e+(b<<4)+12>>2]|0)){c=0;return c|0}}}}c=1;return c|0}function e9(a){a=a|0;return 16}function f9(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 g9(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>4|0}function h9(a,b){a=a|0;b=b|0;o9(a+76|0,b);return}function i9(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<b>>>0){U8(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 j9(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]=330184;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]=330184;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function k9(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330184;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function l9(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330184;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function m9(a){a=a|0;var b=0;f[a>>2]=330184;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function n9(a){a=a|0;var b=0;f[a>>2]=330184;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function o9(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 p9(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]=330184;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]=329112;f[k>>2]=329352;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]=329112;f[k>>2]=329352;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>4<<4);f[a>>2]=329112;f[k>>2]=329352;return}function q9(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)/12|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];d=(f[l>>2]|0)+12|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=(d-e|0)/12|0;j=h+b|0;if(j>>>0>357913941)DCb(a);i=(g-e|0)/12|0;d=i<<1;d=i>>>0<178956970?(d>>>0<j>>>0?j:d):357913941;do if(d)if(d>>>0>357913941){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d*12|0)|0;break}else i=0;while(0);g=i+(h*12|0)|0;h=i+(d*12|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];b=b+-1|0;if(!b)break;else d=d+12|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(((e|0)/-12|0)*12|0)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j*12|0);f[k>>2]=h;if(!b)return;GBb(b);return}function r9(a){a=a|0;var b=0;f[a+72>>2]=330200;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function s9(a){a=a|0;var b=0;f[a+72>>2]=330200;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function t9(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]=16;f[a+56>>2]=3;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]=328856;f[a+72>>2]=329096;return a|0}function u9(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;N9(c,a,b);return c|0}function v9(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 w9(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function x9(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,a);return}function y9(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,a);return}function z9(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+68>>2]&1023](c,(f[a+76>>2]|0)+(b*12|0)|0);return}function A9(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+68>>2]&1023](c,(f[a+76>>2]|0)+(b*12|0)|0);return}function B9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a+76>>2]|0;a=f[e+(b*12|0)>>2]|0;d=f[e+(c*12|0)>>2]|0;if((a|0)<(d|0)){c=-1;return c|0}if((a|0)<=(d|0)){a=f[e+(b*12|0)+4>>2]|0;d=f[e+(c*12|0)+4>>2]|0;if((a|0)<(d|0)){c=-1;return c|0}if((a|0)<=(d|0)?(f[e+(b*12|0)+8>>2]|0)<(f[e+(c*12|0)+8>>2]|0):0){c=-1;return c|0}a=f[e+(c*12|0)+4>>2]|0;d=f[e+(b*12|0)+4>>2]|0;if((a|0)>=(d|0)){if((a|0)>(d|0)){c=0;return c|0}if((f[e+(c*12|0)+8>>2]|0)>=(f[e+(b*12|0)+8>>2]|0)){c=0;return c|0}}}c=1;return c|0}function C9(a){a=a|0;return 12}function D9(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*12|0)|0)|0}function E9(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/12|0|0}function F9(a,b){a=a|0;b=b|0;M9(a+76|0,b);return}function G9(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;g=a+76|0;c=a+80|0;d=f[g>>2]|0;a=((f[c>>2]|0)-d|0)/12|0;if(a>>>0<b>>>0){q9(g,b-a|0,e);u=h;return}if(a>>>0<=b>>>0){u=h;return}f[c>>2]=d+(b*12|0);u=h;return}function H9(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]=330200;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)/12|0;if(e){if(b>>>0>357913941)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b*12|0)|0;f[k>>2]=b;d=c;if((e|0)>0){YDb(c|0,n|0,e|0)|0;c=c+(((e>>>0)/12|0)*12|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]=330200;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function I9(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330200;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function J9(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330200;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function K9(a){a=a|0;var b=0;f[a>>2]=330200;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function L9(a){a=a|0;var b=0;f[a>>2]=330200;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function M9(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)/12|0)>>>0>=b>>>0)return;j=a+4|0;if(b>>>0>357913941){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*12|0)|0;e=d+(((c|0)/12|0)*12|0)|0;h=e+(((c|0)/-12|0)*12|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*12|0);if(!i)return;GBb(i);return}function N9(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]=330200;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)/12|0;if(!d){f[a>>2]=328856;f[k>>2]=329096;return}if(c>>>0>357913941)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c*12|0);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=328856;f[k>>2]=329096;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/12|0)*12|0);f[a>>2]=328856;f[k>>2]=329096;return}function O9(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;k=a+8|0;g=f[k>>2]|0;l=a+4|0;d=f[l>>2]|0;if(g-d>>3>>>0>=b>>>0){do{j=c;a=f[j+4>>2]|0;k=d;f[k>>2]=f[j>>2];f[k+4>>2]=a;d=(f[l>>2]|0)+8|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=d-e>>3;j=h+b|0;if(j>>>0>536870911)DCb(a);i=g-e|0;d=i>>2;d=i>>3>>>0<268435455?(d>>>0<j>>>0?j:d):536870911;do if(d)if(d>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d<<3)|0;break}else i=0;while(0);g=i+(h<<3)|0;h=i+(d<<3)|0;d=g;while(1){n=c;m=f[n+4>>2]|0;e=d;f[e>>2]=f[n>>2];f[e+4>>2]=m;b=b+-1|0;if(!b)break;else d=d+8|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(0-(e>>3)<<3)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j<<3);f[k>>2]=h;if(!b)return;GBb(b);return}function P9(a){a=a|0;var b=0;f[a+72>>2]=330216;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Q9(a){a=a|0;var b=0;f[a+72>>2]=330216;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function R9(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]=15;f[a+56>>2]=2;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]=328600;f[a+72>>2]=328840;return a|0}function S9(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;jaa(c,a,b);return c|0}function T9(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 U9(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function V9(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+68>>2]&1023](b,a);return}function W9(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+68>>2]&1023](b,a);return}function X9(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+64>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function Y9(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+64>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function Z9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=f[a+76>>2]|0;d=f[a+(b<<3)>>2]|0;e=f[a+(c<<3)>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((d|0)<=(e|0)){if((f[a+(b<<3)+4>>2]|0)<(f[a+(c<<3)+4>>2]|0)){c=-1;return c|0}if((f[a+(c<<3)+4>>2]|0)>=(f[a+(b<<3)+4>>2]|0)){c=0;return c|0}}c=1;return c|0}function _9(a){a=a|0;return 8}function $9(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 aaa(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>3|0}function baa(a,b){a=a|0;b=b|0;iaa(a+76|0,b);return}function caa(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;g=a+76|0;a=a+80|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>3;if(d>>>0<b>>>0){O9(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 daa(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]=330216;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]=330216;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function eaa(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330216;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function faa(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330216;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function gaa(a){a=a|0;var b=0;f[a>>2]=330216;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function haa(a){a=a|0;var b=0;f[a>>2]=330216;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function iaa(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 jaa(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]=330216;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]=328600;f[k>>2]=328840;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]=328600;f[k>>2]=328840;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>3<<3);f[a>>2]=328600;f[k>>2]=328840;return}function kaa(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<l>>>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 laa(a){a=a|0;var b=0;f[a+72>>2]=330232;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function maa(a){a=a|0;var b=0;f[a+72>>2]=330232;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function naa(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]=23;f[a+56>>2]=4;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]=328344;f[a+72>>2]=328584;return a|0}function oaa(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;Haa(c,a,b);return c|0}function paa(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 qaa(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function raa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+100>>2]&1023](b,a);return}function saa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+100>>2]&1023](b,a);return}function taa(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+96>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function uaa(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+96>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function vaa(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&65535)<(e&65535)){c=-1;return c|0}if((a&65535)<=(e&65535)){a=d[g+(b<<3)+2>>1]|0;e=d[g+(c<<3)+2>>1]|0;if((a&65535)<(e&65535)){c=-1;return c|0}if((a&65535)<=(e&65535)){a=d[g+(b<<3)+4>>1]|0;e=d[g+(c<<3)+4>>1]|0;if((a&65535)<(e&65535)){c=-1;return c|0}if((a&65535)<=(e&65535)?(j[g+(b<<3)+6>>1]|0)<(j[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&65535)>=(e&65535)){if((a&65535)>(e&65535)){c=0;return c|0}a=d[g+(c<<3)+4>>1]|0;e=d[g+(b<<3)+4>>1]|0;if((a&65535)>=(e&65535)){if((a&65535)>(e&65535)){c=0;return c|0}if((j[g+(c<<3)+6>>1]|0)>=(j[g+(b<<3)+6>>1]|0)){c=0;return c|0}}}}c=1;return c|0}function waa(a){a=a|0;return 8}function xaa(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 yaa(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>3|0}function zaa(a,b){a=a|0;b=b|0;Gaa(a+76|0,b);return}function Aaa(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<b>>>0){kaa(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 Baa(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]=330232;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]=330232;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function Caa(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330232;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Daa(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330232;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Eaa(a){a=a|0;var b=0;f[a>>2]=330232;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function Faa(a){a=a|0;var b=0;f[a>>2]=330232;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function Gaa(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 Haa(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]=330232;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]=328344;f[k>>2]=328584;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]=328344;f[k>>2]=328584;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>3<<3);f[a>>2]=328344;f[k>>2]=328584;return}function Iaa(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<k>>>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 Jaa(a){a=a|0;var b=0;f[a+72>>2]=330248;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Kaa(a){a=a|0;var b=0;f[a+72>>2]=330248;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Laa(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]=22;f[a+56>>2]=3;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]=328088;f[a+72>>2]=328328;return a|0}function Maa(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;dba(c,a,b);return c|0}function Naa(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 Oaa(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function Paa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+96>>2]&1023](b,a);return}function Qaa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+96>>2]&1023](b,a);return}function Raa(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+92>>2]&1023](c,(f[a+76>>2]|0)+(b*6|0)|0);return}function Saa(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+92>>2]&1023](c,(f[a+76>>2]|0)+(b*6|0)|0);return}function Taa(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&65535)<(e&65535)){c=-1;return c|0}if((a&65535)<=(e&65535)){a=d[g+(b*6|0)+2>>1]|0;e=d[g+(c*6|0)+2>>1]|0;if((a&65535)<(e&65535)){c=-1;return c|0}if((a&65535)<=(e&65535)?(j[g+(b*6|0)+4>>1]|0)<(j[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&65535)>=(e&65535)){if((a&65535)>(e&65535)){c=0;return c|0}if((j[g+(c*6|0)+4>>1]|0)>=(j[g+(b*6|0)+4>>1]|0)){c=0;return c|0}}}c=1;return c|0}function Uaa(a){a=a|0;return 6}function Vaa(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 Waa(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/6|0|0}function Xaa(a,b){a=a|0;b=b|0;cba(a+76|0,b);return}function Yaa(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<b>>>0){Iaa(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 Zaa(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]=330248;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]=330248;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function _aa(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330248;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function $aa(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330248;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function aba(a){a=a|0;var b=0;f[a>>2]=330248;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function bba(a){a=a|0;var b=0;f[a>>2]=330248;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function cba(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 dba(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]=330248;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]=328088;f[k>>2]=328328;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]=328088;f[k>>2]=328328;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/6|0)*6|0);f[a>>2]=328088;f[k>>2]=328328;return}function eba(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<l>>>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 fba(a){a=a|0;var b=0;f[a+72>>2]=330264;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function gba(a){a=a|0;var b=0;f[a+72>>2]=330264;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function hba(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]=21;f[a+56>>2]=2;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]=327832;f[a+72>>2]=328072;return a|0}function iba(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;Bba(c,a,b);return c|0}function jba(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 kba(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function lba(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+92>>2]&1023](b,a);return}function mba(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+92>>2]&1023](b,a);return}function nba(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function oba(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,(f[a+76>>2]|0)+(b<<2)|0);return}function pba(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&65535)<(g&65535)){c=-1;return c|0}if((e&65535)<=(g&65535)){if((j[a+(b<<2)+2>>1]|0)<(j[a+(c<<2)+2>>1]|0)){c=-1;return c|0}if((j[a+(c<<2)+2>>1]|0)>=(j[a+(b<<2)+2>>1]|0)){c=0;return c|0}}c=1;return c|0}function qba(a){a=a|0;return 4}function rba(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 sba(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>2|0}function tba(a,b){a=a|0;b=b|0;Aba(a+76|0,b);return}function uba(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<b>>>0){eba(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 vba(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]=330264;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]=330264;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function wba(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330264;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function xba(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330264;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function yba(a){a=a|0;var b=0;f[a>>2]=330264;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function zba(a){a=a|0;var b=0;f[a>>2]=330264;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function Aba(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 Bba(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]=330264;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]=327832;f[k>>2]=328072;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]=327832;f[k>>2]=328072;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>2<<2);f[a>>2]=327832;f[k>>2]=328072;return}function Cba(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<k>>>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 Dba(a){a=a|0;var b=0;f[a+72>>2]=330280;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Eba(a){a=a|0;var b=0;f[a+72>>2]=330280;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Fba(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]=19;f[a+56>>2]=3;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]=327576;f[a+72>>2]=327816;return a|0}function Gba(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;Zba(c,a,b);return c|0}function Hba(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 Iba(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function Jba(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a);return}function Kba(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a);return}function Lba(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+80>>2]&1023](c,(f[a+76>>2]|0)+(b*3|0)|0);return}function Mba(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+80>>2]&1023](c,(f[a+76>>2]|0)+(b*3|0)|0);return}function Nba(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&255)<(e&255)){d=-1;return d|0}if((a&255)<=(e&255)){a=b[g+(c*3|0)+1>>0]|0;e=b[g+(d*3|0)+1>>0]|0;if((a&255)<(e&255)){d=-1;return d|0}if((a&255)<=(e&255)?(h[g+(c*3|0)+2>>0]|0)<(h[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&255)>=(e&255)){if((a&255)>(e&255)){d=0;return d|0}if((h[g+(d*3|0)+2>>0]|0)>=(h[g+(c*3|0)+2>>0]|0)){d=0;return d|0}}}d=1;return d|0}function Oba(a){a=a|0;return 3}function Pba(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 Qba(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/3|0|0}function Rba(a,b){a=a|0;b=b|0;Yba(a+76|0,b);return}function Sba(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<c>>>0){Cba(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 Tba(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]=330280;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]=330280;if(!o){u=p;return}f[k>>2]=o;GBb(h);u=p;return}function Uba(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330280;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Vba(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330280;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Wba(a){a=a|0;var b=0;f[a>>2]=330280;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function Xba(a){a=a|0;var b=0;f[a>>2]=330280;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function Yba(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 Zba(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]=330280;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]=327576;f[k>>2]=327816;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]=327576;f[k>>2]=327816;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/3|0)*3|0);f[a>>2]=327576;f[k>>2]=327816;return}function _ba(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<l>>>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 $ba(a){a=a|0;var b=0;f[a+72>>2]=330296;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function aca(a){a=a|0;var b=0;f[a+72>>2]=330296;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function bca(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]=18;f[a+56>>2]=2;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]=327320;f[a+72>>2]=327560;return a|0}function cca(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;vca(c,a,b);return c|0}function dca(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 eca(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function fca(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+80>>2]&1023](b,a);return}function gca(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+80>>2]&1023](b,a);return}function hca(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+76>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function ica(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+76>>2]&1023](c,(f[a+76>>2]|0)+(b<<1)|0);return}function jca(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&255)<(g&255)){d=-1;return d|0}if((e&255)<=(g&255)){if((h[a+(c<<1)+1>>0]|0)<(h[a+(d<<1)+1>>0]|0)){d=-1;return d|0}if((h[a+(d<<1)+1>>0]|0)>=(h[a+(c<<1)+1>>0]|0)){d=0;return d|0}}d=1;return d|0}function kca(a){a=a|0;return 2}function lca(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 mca(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>1|0}function nca(a,b){a=a|0;b=b|0;uca(a+76|0,b);return}function oca(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<c>>>0){_ba(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 pca(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]=330296;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]=330296;if(!o){u=q;return}f[k>>2]=o;GBb(d);u=q;return}function qca(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330296;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function rca(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=330296;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function sca(a){a=a|0;var b=0;f[a>>2]=330296;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function tca(a){a=a|0;var b=0;f[a>>2]=330296;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function uca(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 vca(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]=330296;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]=327320;f[k>>2]=327560;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]=327320;f[k>>2]=327560;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>1<<1);f[a>>2]=327320;f[k>>2]=327560;return}function wca(a,c){a=a|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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0;y=u;u=u+64|0;w=y+44|0;x=y+24|0;t=y+20|0;s=y+8|0;v=y+4|0;m=y;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;e=EBb(16)|0;f[w>>2]=e;f[w+8>>2]=-2147483632;f[w+4>>2]=13;h=e;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[e+13>>0]=0;g=w+12|0;f[g>>2]=0;b[w+16>>0]=1;f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;e=EBb(16)|0;f[x>>2]=e;f[x+8>>2]=-2147483632;f[x+4>>2]=13;h=e;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[e+13>>0]=0;h=x+12|0;f[h>>2]=0;b[x+16>>0]=1;f[t>>2]=0;r=c+112|0;q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+80>>2]&1023](q,w);Q6(c);q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+80>>2]&1023](q,x);Q6(c);if((f[c+92>>2]|0)>96){q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+44>>2]&1023](q,t);Q6(c)}switch(f[g>>2]|0){case 50:{f[s>>2]=0;f[v>>2]=0;e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,s);Q6(c);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,v);Q6(c);e=EBb(72)|0;q=f[h>>2]|0;r=f[s>>2]|0;s=f[v>>2]|0;v_a(e,1);v=e+12|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[e+24>>2]=2;v=e+28|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[v+12>>2]=0;f[v+16>>2]=0;f[v+20>>2]=0;f[e+52>>2]=1;v=e+56|0;f[v>>2]=0;f[e+60>>2]=q;f[e>>2]=349328;f[e+64>>2]=r;f[e+68>>2]=s;s=e+8|0;f[s>>2]=(f[s>>2]|0)+1;f[v>>2]=f[t>>2];break}case 51:{f[s>>2]=0;f[v>>2]=0;f[m>>2]=0;e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,s);Q6(c);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,m);Q6(c);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);e=EBb(84)|0;j=f[h>>2]|0;s=f[s>>2]|0;v_a(e,1);i=e+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[e+24>>2]=2;i=e+28|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;f[e+52>>2]=2;i=e+56|0;f[i>>2]=0;f[e+60>>2]=j;j=e+68|0;f[j>>2]=0;k=e+72|0;f[k>>2]=0;l=e+76|0;f[l>>2]=0;f[e>>2]=355268;f[e+64>>2]=355508;f[e+80>>2]=s;if(f[m>>2]|0){g=0;do{h=f[r>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,v);Q6(c);h=f[k>>2]|0;if((h|0)==(f[l>>2]|0))Uu(j,v);else{f[h>>2]=f[v>>2];f[k>>2]=h+4}g=g+1|0}while(g>>>0<(f[m>>2]|0)>>>0)}v=f[r>>2]|0;Bj[f[(f[v>>2]|0)+84>>2]&1023](v,c+40|0);Q6(c);v=e+8|0;f[v>>2]=(f[v>>2]|0)+1;f[i>>2]=f[t>>2];break}case 52:{e=EBb(80)|0;n=f[h>>2]|0;v_a(e,1);m=e+12|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[e+24>>2]=2;m=e+28|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;f[m+20>>2]=0;f[e+52>>2]=3;m=e+56|0;f[m>>2]=0;f[e+60>>2]=n;n=e+68|0;f[n>>2]=0;o=e+72|0;f[o>>2]=0;p=e+76|0;f[p>>2]=0;f[e>>2]=347620;f[e+64>>2]=347884;f[s>>2]=0;b[v>>0]=0;q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+44>>2]&1023](q,s);Q6(c);q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,c+24|0);Q6(c);a:do if(f[s>>2]|0){l=0;while(1){g=f[r>>2]|0;Bj[f[(f[g>>2]|0)+28>>2]&1023](g,v);Q6(c);g=f[o>>2]|0;q=f[p>>2]|0;h=q;if((g|0)==(q|0)){q=f[n>>2]|0;j=g-q|0;g=j+1|0;k=q;if((g|0)<0)break;h=h-q|0;i=h<<1;i=h>>>0<1073741823?(i>>>0<g>>>0?g:i):2147483647;if(!i)h=0;else h=EBb(i)|0;g=h+j|0;b[g>>0]=b[v>>0]|0;if((j|0)>0)YDb(h|0,k|0,j|0)|0;f[n>>2]=h;f[o>>2]=g+1;f[p>>2]=h+i;if(q|0)GBb(k)}else{b[g>>0]=b[v>>0]|0;f[o>>2]=(f[o>>2]|0)+1}l=l+1|0;if(l>>>0>=(f[s>>2]|0)>>>0)break a}DCb(n)}while(0);v=f[r>>2]|0;Bj[f[(f[v>>2]|0)+84>>2]&1023](v,c+40|0);Q6(c);v=e+8|0;f[v>>2]=(f[v>>2]|0)+1;f[m>>2]=f[t>>2];break}case 53:{e=EBb(80)|0;i=f[h>>2]|0;v_a(e,1);h=e+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[e+24>>2]=2;h=e+28|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;f[e+52>>2]=4;h=e+56|0;f[h>>2]=0;f[e+60>>2]=i;i=e+68|0;f[i>>2]=0;j=e+72|0;f[j>>2]=0;k=e+76|0;f[k>>2]=0;f[e>>2]=346872;f[e+64>>2]=347136;f[s>>2]=0;d[v>>1]=0;q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+44>>2]&1023](q,s);Q6(c);q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,c+24|0);Q6(c);if(f[s>>2]|0){g=0;do{l=f[r>>2]|0;Bj[f[(f[l>>2]|0)+36>>2]&1023](l,v);Q6(c);l=f[j>>2]|0;if((l|0)==(f[k>>2]|0))Nz(i,v);else{d[l>>1]=d[v>>1]|0;f[j>>2]=l+2}g=g+1|0}while(g>>>0<(f[s>>2]|0)>>>0)}v=f[r>>2]|0;Bj[f[(f[v>>2]|0)+84>>2]&1023](v,c+40|0);Q6(c);v=e+8|0;f[v>>2]=(f[v>>2]|0)+1;f[h>>2]=f[t>>2];break}case 54:{e=EBb(80)|0;i=f[h>>2]|0;v_a(e,1);h=e+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[e+24>>2]=2;h=e+28|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;f[e+52>>2]=5;h=e+56|0;f[h>>2]=0;f[e+60>>2]=i;i=e+68|0;f[i>>2]=0;j=e+72|0;f[j>>2]=0;k=e+76|0;f[k>>2]=0;f[e>>2]=347900;f[e+64>>2]=348164;f[s>>2]=0;f[v>>2]=0;q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+44>>2]&1023](q,s);Q6(c);q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+84>>2]&1023](q,c+24|0);Q6(c);if(f[s>>2]|0){g=0;do{l=f[r>>2]|0;Bj[f[(f[l>>2]|0)+44>>2]&1023](l,v);Q6(c);l=f[j>>2]|0;if((l|0)==(f[k>>2]|0))iw(i,v);else{f[l>>2]=f[v>>2];f[j>>2]=l+4}g=g+1|0}while(g>>>0<(f[s>>2]|0)>>>0)}v=f[r>>2]|0;Bj[f[(f[v>>2]|0)+84>>2]&1023](v,c+40|0);Q6(c);v=e+8|0;f[v>>2]=(f[v>>2]|0)+1;f[h>>2]=f[t>>2];break}default:{f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;e=EBb(64)|0;f[s>>2]=e;f[s+8>>2]=-2147483584;f[s+4>>2]=56;h=e;i=399707;j=h+56|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[e+56>>0]=0;e=EBb(36)|0;S6(e,c+100|0,s);g=c+116|0;h=f[g>>2]|0;if(((h|0)!=(e|0)?(f[g>>2]=e,v=e+8|0,f[v>>2]=(f[v>>2]|0)+1,h|0):0)?(t=h+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(h,1,1);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);e=0}}if(!(f[c+116>>2]|0)){f[a>>2]=e;if(e|0){c=e+8|0;f[c>>2]=(f[c>>2]|0)+1}}else f[a>>2]=0;if((b[x+11>>0]|0)<0)GBb(f[x>>2]|0);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if(!e){u=y;return}w=e+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1){u=y;return}Rua(e,1,1);u=y;return}function xca(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;N=u;u=u+304|0;H=N+280|0;M=N+268|0;I=N+264|0;K=N+252|0;E=N+248|0;k=N+244|0;F=N+224|0;C=N+80|0;x=N+56|0;w=N+44|0;p=N+40|0;q=N+36|0;r=N+32|0;s=N+28|0;o=N+24|0;t=N+12|0;m=N;L=M+11|0;b[L>>0]=10;g=M;h=399764;i=g+10|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[M+10>>0]=0;i=c+4|0;if((f[c+92>>2]|0)>94){ZBb(i,399775)|0;J=c+112|0;G=f[J>>2]|0;Bj[f[(f[G>>2]|0)+80>>2]&1023](G,i);Q6(c);J=f[J>>2]|0;Bj[f[(f[J>>2]|0)+64>>2]&1023](J,M);Q6(c)}f[I>>2]=0;ZBb(i,396034)|0;v=c+112|0;n=f[v>>2]|0;Bj[f[(f[n>>2]|0)+80>>2]&1023](n,i);Q6(c);n=f[v>>2]|0;Bj[f[(f[n>>2]|0)+44>>2]&1023](n,I);Q6(c);n=c+116|0;do if(!(f[n>>2]|0)){J=c+68|0;G=c+72|0;g=f[G>>2]|0;if(g|0){j=f[I>>2]|0;h=G;do{O=(f[g+16>>2]|0)>>>0<j>>>0;h=O?h:g;g=f[(O?g+4|0:g)>>2]|0}while((g|0)!=0);if((h|0)!=(G|0)?j>>>0>=(f[h+16>>2]|0)>>>0:0){e=f[h+20>>2]|0;f[a>>2]=e;if(!e)break;O=e+8|0;f[O>>2]=(f[O>>2]|0)+1;break}};f[K>>2]=0;f[K+4>>2]=0;f[K+8>>2]=0;f[k>>2]=2;ZBb(i,399785)|0;O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+80>>2]&1023](O,i);Q6(c);O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+92>>2]&1023](O,K);Q6(c);ZBb(i,399794)|0;O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+80>>2]&1023](O,i);Q6(c);O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+40>>2]&1023](O,E);Q6(c);O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+40>>2]&1023](O,k);Q6(c);a:do if(!(f[n>>2]|0)){b:do switch(f[k>>2]|0){case 0:{O=f[v>>2]|0;if(_i[f[(f[O>>2]|0)+12>>2]&2047](O)|0){e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,F);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,C);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,x);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,w);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,p);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,q);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,r);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,s);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,o);Q6(c);f[t>>2]=0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,t);Q6(c);e=f[t>>2]|0;do if(e){g=FBb(e)|0;if(!(f[n>>2]|0)){D=f[v>>2]|0;Fj[f[(f[D>>2]|0)+88>>2]&511](D,g,e);e=EBb(140)|0;J$a(e);D=e+8|0;f[D>>2]=(f[D>>2]|0)+1;f[e+68>>2]=f[F>>2];Qj[f[(f[e>>2]|0)+196>>2]&15](e,f[C>>2]|0,f[x>>2]|0,f[w>>2]|0,f[p>>2]|0,f[q>>2]|0,f[r>>2]|0,g,1,f[s>>2]|0,0);D=20;break}else{HBb(g);f[a>>2]=0;g=0;e=0;break}}else{e=0;D=20}while(0);if((D|0)==20){h=f[v>>2]|0;Bj[f[(f[h>>2]|0)+44>>2]&1023](h,H);Q6(c);h=f[H>>2]|0;f[H>>2]=0;i=H+4|0;f[i>>2]=0;d=H+8|0;f[d>>2]=0;if(h|0){if(h>>>0>1073741823)DCb(H);x=h<<2;g=EBb(x)|0;f[H>>2]=g;O=g+(h<<2)|0;f[d>>2]=O;_Db(g|0,0,x|0)|0;f[i>>2]=O;d=0;while(1){O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+44>>2]&1023](O,g+(d<<2)|0);Q6(c);d=d+1|0;if(d>>>0>=h>>>0)break;g=f[H>>2]|0}if(e|0?(l=e+116|0,(l|0)!=(H|0)):0)xC(l,f[H>>2]|0,f[i>>2]|0)}d=f[H>>2]|0;if(d|0){f[i>>2]=d;GBb(d)}d=0;g=1}if(g){D=84;break b}}else{ZBb(i,399804)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,F);Q6(c);ZBb(i,399811)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,C);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,x);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,w);Q6(c);ZBb(i,399816)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,p);Q6(c);ZBb(i,399838)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,q);Q6(c);ZBb(i,399850)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,r);Q6(c);ZBb(i,399859)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,s);Q6(c);ZBb(i,399867)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,o);Q6(c);ZBb(i,406121)|0;e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+80>>2]&1023](e,i);Q6(c);e=f[v>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,H);Q6(c);e=f[H>>2]|0;h=e+-1|0;k=f[v>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+24|0);Q6(c);f[H>>2]=0;k=H+4|0;f[k>>2]=0;f[H+8>>2]=0;if(!e)ECb(H);yca(H,e);e=f[H>>2]|0;if((f[k>>2]|0)==(e|0))ECb(H);j=f[v>>2]|0;Bj[f[(f[j>>2]|0)+92>>2]&1023](j,e);Q6(c);f[t>>2]=0;j=t+4|0;f[j>>2]=0;e=t+8|0;f[e>>2]=0;i=(h|0)==0;c:do if(!i){if(h>>>0>1073741823)DCb(t);l=h<<2;g=EBb(l)|0;f[t>>2]=g;O=g+(h<<2)|0;f[e>>2]=O;_Db(g|0,0,l|0)|0;f[j>>2]=O;e=1;while(1){g=f[H>>2]|0;if((((f[k>>2]|0)-g|0)/12|0)>>>0<=e>>>0)break;O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+92>>2]&1023](O,g+(e*12|0)|0);Q6(c);e=e+1|0;if(e>>>0>h>>>0)break c}ECb(H)}while(0);f[m+8>>2]=8192;f[m>>2]=0;b[m+4>>0]=0;g=e6(m,H,t)|0;f[j>>2]=(f[j>>2]|0)+-4;O=f[v>>2]|0;Bj[f[(f[O>>2]|0)+84>>2]&1023](O,c+40|0);Q6(c);if(!(f[n>>2]|0)){e=EBb(140)|0;J$a(e);O=e+8|0;f[O>>2]=(f[O>>2]|0)+1;f[e+68>>2]=f[F>>2];Qj[f[(f[e>>2]|0)+196>>2]&15](e,f[C>>2]|0,f[x>>2]|0,f[w>>2]|0,f[p>>2]|0,f[q>>2]|0,f[r>>2]|0,g,f[o>>2]|0,f[s>>2]|0,0);if(i){d=0;i=1}else{xC(e+116|0,f[t>>2]|0,f[j>>2]|0);d=0;i=1}}else{f[a>>2]=0;i=0;e=0}g=f[t>>2]|0;if(g|0){f[j>>2]=g;GBb(g)}h=f[H>>2]|0;if(h|0){g=f[k>>2]|0;if((g|0)==(h|0))g=h;else{do{g=g+-12|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0)}while((g|0)!=(h|0));g=f[H>>2]|0}f[k>>2]=h;GBb(g)}if(i){D=84;break b}}if(!e)break a;d=e+8|0;break}case 1:{O=f[v>>2]|0;if(_i[f[(f[O>>2]|0)+12>>2]&2047](O)|0){g=f[v>>2]|0;Bj[f[(f[g>>2]|0)+44>>2]&1023](g,H);Q6(c);g=f[H>>2]|0;if(!g){e=0;D=143}else{l=FBb(g)|0;d=f[v>>2]|0;Fj[f[(f[d>>2]|0)+88>>2]&511](d,l,g);I_(F,K);d=V_(YZ(0)|0,F)|0;if(!d)if(qZa(2)|0){D=Nu(Hua(2)|0,399909,54)|0;e=b[F+11>>0]|0;O=e<<24>>24<0;e=Nu(D,O?f[F>>2]|0:F,O?f[F+4>>2]|0:e&255)|0;Drb(H,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);O=utb(H,504576)|0;O=cj[f[(f[O>>2]|0)+28>>2]&1023](O,10)|0;vtb(H);ksb(e,O)|0;Krb(e)|0;e=0}else e=0;else{h=C+64|0;j=C+8|0;f[j>>2]=323408;i=C+12|0;f[C>>2]=285412;f[h>>2]=285432;f[C+4>>2]=0;Brb(C+64|0,i);f[C+136>>2]=0;f[C+140>>2]=-1;f[C>>2]=323388;f[h>>2]=323428;f[j>>2]=323408;Hrb(i);f[i>>2]=304196;j=C+44|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[C+60>>2]=24;k=C+8|0;lsb(k,l,g)|0;Ij[f[(f[d>>2]|0)+252>>2]&127](x,d,C,0);g=x+16|0;d=f[g>>2]|0;if((d|0)!=0?(e=WCb(d,295088,297384,0)|0,(e|0)!=0):0){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[g>>2]|0;if(d|0?(f[g>>2]=0,D=d+8|0,O=f[D>>2]|0,f[D>>2]=O-1,(O|0)==1):0)Rua(d,1,1);v0a(e)|0;O=e+8|0;f[O>>2]=(f[O>>2]|0)+1}else if(qZa(2)|0){A=Nu(Hua(2)|0,399882,26)|0;b_(w,x);O=w+11|0;D=b[O>>0]|0;B=D<<24>>24<0;D=Nu(A,B?f[w>>2]|0:w,B?f[w+4>>2]|0:D&255)|0;Drb(H,D+(f[(f[D>>2]|0)+-12>>2]|0)|0);B=utb(H,504576)|0;B=cj[f[(f[B>>2]|0)+28>>2]&1023](B,10)|0;vtb(H);ksb(D,B)|0;Krb(D)|0;if((b[O>>0]|0)<0)GBb(f[w>>2]|0);e=0}else e=0;d=f[g>>2]|0;if(d|0?(D=d+8|0,O=f[D>>2]|0,f[D>>2]=O-1,(O|0)==1):0)Rua(d,1,1);f[g>>2]=0;d=x+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[C>>2]=323388;f[h>>2]=323428;f[k>>2]=323408;f[i>>2]=304196;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);qqb(i);yrb(C,323440);kqb(h)}HBb(l);if((b[F+11>>0]|0)<0)GBb(f[F>>2]|0);D=143}}else{e=0;D=84}break}default:{e=0;D=84}}while(0);if((D|0)==84)if(d?(z=K+11|0,O=b[z>>0]|0,A=K+4|0,((O<<24>>24<0?f[A>>2]|0:O&255)|0)!=0):0){g=YZ(0)|0;h=f[c+120>>2]|0;if((h|0)!=0?(y=f[h+116>>2]|0,(y|0)!=0):0)Ij[f[(f[y>>2]|0)+8>>2]&127](F,y,K,h);else D=89;do if((D|0)==89){d=f[g+48>>2]|0;if(!d){x1(F,g,K,h);break}else{Ij[f[(f[d>>2]|0)+8>>2]&127](F,d,K,h);break}}while(0);h=F+16|0;d=f[h>>2]|0;if((d|0)!=0?(B=WCb(d,295088,297384,0)|0,(B|0)!=0):0){d=B+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[h>>2]|0;if(d|0?(f[h>>2]=0,D=d+8|0,O=f[D>>2]|0,f[D>>2]=O-1,(O|0)==1):0)Rua(d,1,1);v0a(B)|0;if((e|0)!=(B|0)){O=B+8|0;f[O>>2]=(f[O>>2]|0)+1;if((e|0)!=0?(D=e+8|0,O=f[D>>2]|0,f[D>>2]=O-1,(O|0)==1):0){Rua(e,1,1);e=B}else e=B}g=(f[F>>2]|0)==5}else if((f[F>>2]|1|0)!=5?qZa(2)|0:0){B=Nu(Hua(2)|0,399882,26)|0;b_(C,F);O=C+11|0;y=b[O>>0]|0;D=y<<24>>24<0;y=Nu(Nu(B,D?f[C>>2]|0:C,D?f[C+4>>2]|0:y&255)|0,399964,12)|0;D=b[z>>0]|0;B=D<<24>>24<0;D=Nu(y,B?f[K>>2]|0:K,B?f[A>>2]|0:D&255)|0;Drb(H,D+(f[(f[D>>2]|0)+-12>>2]|0)|0);B=utb(H,504576)|0;B=cj[f[(f[B>>2]|0)+28>>2]&1023](B,10)|0;vtb(H);ksb(D,B)|0;Krb(D)|0;if((b[O>>0]|0)<0)GBb(f[C>>2]|0);g=0}else g=0;if(!e)if(!(b[c+97>>0]|0))e=0;else{e=EBb(140)|0;J$a(e);O=e+8|0;f[O>>2]=(f[O>>2]|0)+1}d=f[h>>2]|0;if(d|0?(D=d+8|0,O=f[D>>2]|0,f[D>>2]=O-1,(O|0)==1):0)Rua(d,1,1);f[h>>2]=0;d=F+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if(g){f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;d=EBb(16)|0;f[F>>2]=d;f[F+8>>2]=-2147483632;f[F+4>>2]=11;g=d;h=407358;i=g+11|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+11>>0]=0;zca(H,c,F,f[I>>2]|0,f[c+124>>2]|0);if((b[F+11>>0]|0)<0)GBb(f[F>>2]|0);d=f[G>>2]|0;do if(d){i=f[I>>2]|0;h=c+72|0;while(1){g=f[d+16>>2]|0;if(i>>>0<g>>>0){g=f[d>>2]|0;if(!g){D=122;break}else{h=d;d=g}}else{if(g>>>0>=i>>>0){D=126;break}h=d+4|0;g=f[h>>2]|0;if(!g){D=125;break}else d=g}}if((D|0)==122){g=d;h=d;break}else if((D|0)==125){g=d;break}else if((D|0)==126){g=d;break}}else{g=G;h=G}while(0);d=f[h>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=f[I>>2];f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[h>>2]=d;g=f[f[J>>2]>>2]|0;if(!g)g=d;else{f[J>>2]=g;g=f[h>>2]|0}Xo(f[c+72>>2]|0,g);O=c+76|0;f[O>>2]=(f[O>>2]|0)+1}d=d+20|0;g=f[d>>2]|0;do if((g|0)!=(e|0)){f[d>>2]=e;if(e|0){O=e+8|0;f[O>>2]=(f[O>>2]|0)+1}if(!g)break;c=g+8|0;O=f[c>>2]|0;f[c>>2]=O-1;if((O|0)!=1)break;Rua(g,1,1)}while(0);d=f[H>>2]|0;do if(d|0){c=d+8|0;O=f[c>>2]|0;f[c>>2]=O-1;if((O|0)!=1)break;Rua(d,1,1)}while(0);D=182}else D=143}else D=143;if((D|0)==143){f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;d=EBb(16)|0;f[F>>2]=d;f[F+8>>2]=-2147483632;f[F+4>>2]=11;g=d;h=407358;i=g+11|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+11>>0]=0;zca(H,c,F,f[I>>2]|0,e);g=f[H>>2]|0;do if(g){d=WCb(g,295088,297384,0)|0;if(d){g=d+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[H>>2]|0;if(!g)break}else d=0;H=g+8|0;O=f[H>>2]|0;f[H>>2]=O-1;if((O|0)==1)Rua(g,1,1)}else d=0;while(0);if((e|0)!=(d|0)){if(d|0){O=d+8|0;f[O>>2]=(f[O>>2]|0)+1}if((e|0)!=0?(H=e+8|0,O=f[H>>2]|0,f[H>>2]=O-1,(O|0)==1):0){Rua(e,1,1);e=d}else e=d}if(d|0?(H=d+8|0,O=f[H>>2]|0,f[H>>2]=O-1,(O|0)==1):0)Rua(d,1,1);if((b[F+11>>0]|0)<0)GBb(f[F>>2]|0);j=(e|0)==0;if(!j){K$a(e,K);f[e+64>>2]=f[E>>2]}d=f[G>>2]|0;do if(d){i=f[I>>2]|0;h=c+72|0;while(1){g=f[d+16>>2]|0;if(i>>>0<g>>>0){g=f[d>>2]|0;if(!g){D=165;break}else{h=d;d=g}}else{if(g>>>0>=i>>>0){D=169;break}h=d+4|0;g=f[h>>2]|0;if(!g){D=168;break}else d=g}}if((D|0)==165){g=d;h=d;break}else if((D|0)==168){g=d;break}else if((D|0)==169){g=d;break}}else{g=G;h=G}while(0);d=f[h>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=f[I>>2];f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[h>>2]=d;g=f[f[J>>2]>>2]|0;if(!g)g=d;else{f[J>>2]=g;g=f[h>>2]|0}Xo(f[c+72>>2]|0,g);O=c+76|0;f[O>>2]=(f[O>>2]|0)+1}d=d+20|0;g=f[d>>2]|0;if((g|0)!=(e|0)){f[d>>2]=e;if(!j){O=e+8|0;f[O>>2]=(f[O>>2]|0)+1}if((g|0)!=0?(c=g+8|0,O=f[c>>2]|0,f[c>>2]=O-1,(O|0)==1):0){Rua(g,1,1);D=182}else D=182}else D=182}if((D|0)==182){f[a>>2]=e;if(!e)break;d=e+8|0;f[d>>2]=(f[d>>2]|0)+1}O=f[d>>2]|0;f[d>>2]=O-1;if((O|0)==1)Rua(e,1,1)}else f[a>>2]=0;while(0);if((b[K+11>>0]|0)<0)GBb(f[K>>2]|0)}else f[a>>2]=0;while(0);if((b[L>>0]|0)>=0){u=N;return}GBb(f[M>>2]|0);u=N;return}function yca(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+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;k=d;if(((e-d|0)/12|0)>>>0>=c>>>0){do{f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;d=(f[n>>2]|0)+12|0;f[n>>2]=d;c=c+-1|0}while((c|0)!=0);return}l=f[a>>2]|0;d=(d-l|0)/12|0;i=d+c|0;g=l;if(i>>>0>357913941)DCb(a);j=(e-l|0)/12|0;e=j<<1;e=j>>>0<178956970?(e>>>0<i>>>0?i:e):357913941;do if(e)if(e>>>0>357913941){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{h=EBb(e*12|0)|0;break}else h=0;while(0);d=h+(d*12|0)|0;_Db(d|0,0,c*12|0)|0;j=h+(e*12|0)|0;h=h+(i*12|0)|0;if((k|0)==(g|0)){e=d;d=k;c=l}else{c=k;do{d=d+-12|0;c=c+-12|0;f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0}while((c|0)!=(g|0));c=f[a>>2]|0;e=d;g=c;d=f[n>>2]|0}f[a>>2]=e;f[n>>2]=h;f[m>>2]=j;if((d|0)!=(g|0))do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(g|0));if(!c)return;GBb(c);return}function zca(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;v=u;u=u+16|0;t=v;k=(YZ(0)|0)+240|0;k=J6(f[k>>2]|0,d)|0;if(!k){if(qZa(2)|0){r=Nu(Hua(2)|0,399977,53)|0;s=b[d+11>>0]|0;c=s<<24>>24<0;s=Nu(r,c?f[d>>2]|0:d,c?f[d+4>>2]|0:s&255)|0;Drb(t,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);c=utb(t,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(t);ksb(s,c)|0;Krb(s)|0}f[a>>2]=0;u=v;return}d=k+16|0;q=b[d+11>>0]|0;if((q<<24>>24<0?f[k+20>>2]|0:q&255)|0){d=P6(c+80|0,d)|0;if((d|0)==(c+84|0))q=0;else{d=d+28|0;r=9}}else{d=c+92|0;r=9}if((r|0)==9)q=f[d>>2]|0;if(!g){d=Zi[f[k+12>>2]&15]()|0;if(!d){o=1;p=0}else r=12}else{d=g;r=12}if((r|0)==12){o=d+8|0;f[o>>2]=(f[o>>2]|0)+1;o=0;p=d}j=c+68|0;g=c+72|0;d=f[g>>2]|0;do if(d){h=c+72|0;while(1){g=f[d+16>>2]|0;if(g>>>0>e>>>0){g=f[d>>2]|0;if(!g){r=17;break}else{h=d;d=g}}else{if(g>>>0>=e>>>0){r=21;break}h=d+4|0;g=f[h>>2]|0;if(!g){r=20;break}else d=g}}if((r|0)==17){i=d;h=d;break}else if((r|0)==20){i=d;break}else if((r|0)==21){i=d;break}}else{i=g;h=g}while(0);d=f[h>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=e;f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[h>>2]=d;g=f[f[j>>2]>>2]|0;if(!g)g=d;else{f[j>>2]=g;g=f[h>>2]|0}Xo(f[c+72>>2]|0,g);l=c+76|0;f[l>>2]=(f[l>>2]|0)+1}d=d+20|0;g=f[d>>2]|0;if((g|0)!=(p|0)){f[d>>2]=p;if(!o){l=p+8|0;f[l>>2]=(f[l>>2]|0)+1}if(g|0?(e=g+8|0,l=f[e>>2]|0,f[e>>2]=l-1,(l|0)==1):0)Rua(g,1,1)}a:do if((p|0)!=0?(m=f[k+44>>2]|0,s=k+40|0,n=m,(s|0)!=(n|0)):0){j=c+104|0;e=c+108|0;k=c+100|0;l=c+116|0;d=m;i=n;b:while(1){if((f[d+8>>2]|0)<=(q|0)?(q|0)<=(f[d+12>>2]|0):0){h=(YZ(0)|0)+240|0;g=d+16|0;h=J6(f[h>>2]|0,g)|0;do if(!h)if(qZa(2)|0){h=Nu(Hua(2)|0,400031,56)|0;n=b[g+11>>0]|0;m=n<<24>>24<0;d=Nu(h,m?f[g>>2]|0:g,m?f[d+20>>2]|0:n&255)|0;Drb(t,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);n=utb(t,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(t);ksb(d,n)|0;Krb(d)|0;d=4}else d=4;else{d=h+28|0;g=f[j>>2]|0;if((g|0)==(f[e>>2]|0))Ru(k,d);else{OBb(g,d);f[j>>2]=(f[j>>2]|0)+12}Aca(h,c,p)|0;if(f[l>>2]|0){f[a>>2]=0;d=1;break}d=(f[j>>2]|0)+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[j>>2]=d;d=0}while(0);switch(d&7){case 4:case 0:break;default:break b}}d=f[i+4>>2]|0;i=d;if((s|0)==(i|0)){r=53;break a}}if(d)if(o){u=v;return}else{d=p+8|0;break}else r=53}else r=53;while(0);do if((r|0)==53){f[a>>2]=p;if(o){u=v;return}else{d=p+8|0;f[d>>2]=(f[d>>2]|0)+1;break}}while(0);t=f[d>>2]|0;f[d>>2]=t-1;if((t|0)!=1){u=v;return}Rua(p,1,1);u=v;return}function Aca(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;o=u;u=u+16|0;n=o;e=a+16|0;m=b[e+11>>0]|0;if((m<<24>>24<0?f[a+20>>2]|0:m&255)|0){e=P6(c+80|0,e)|0;if((e|0)==(c+84|0))i=0;else i=f[e+28>>2]|0}else i=f[c+92>>2]|0;e=f[a+52>>2]|0;j=a+56|0;if((e|0)==(f[j>>2]|0))h=1;else{k=a+28|0;l=k+11|0;m=a+32|0;h=1;do{g=f[e>>2]|0;if((((f[g+12>>2]|0)<=(i|0)?(i|0)<=(f[g+16>>2]|0):0)?(f[g+20>>2]&1|0)!=0:0)?!(dj[f[(f[g>>2]|0)+20>>2]&255](g,c,d)|0):0)if(qZa(2)|0){h=Nu(Hua(2)|0,400088,46)|0;q=b[l>>0]|0;g=q<<24>>24<0;q=Nu(Nu(h,g?f[k>>2]|0:k,g?f[m>>2]|0:q&255)|0,428700,2)|0;g=f[e>>2]|0;g=_i[f[(f[g>>2]|0)+28>>2]&2047](g)|0;h=b[g+11>>0]|0;p=h<<24>>24<0;h=Nu(q,p?f[g>>2]|0:g,p?f[g+4>>2]|0:h&255)|0;Drb(n,h+(f[(f[h>>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(h,g)|0;Krb(h)|0;h=0}else h=0;e=e+4|0}while((e|0)!=(f[j>>2]|0))}e=f[a+88>>2]|0;g=a+92|0;if((e|0)==(f[g>>2]|0)){u=o;return h|0}do{q=f[e>>2]|0;Fj[f[(f[q>>2]|0)+12>>2]&511](q,c,d);e=e+4|0}while((e|0)!=(f[g>>2]|0));u=o;return h|0}function Bca(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;o=u;u=u+32|0;n=o+8|0;g=o+4|0;l=o;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[g>>2]=0;j=c+112|0;m=f[j>>2]|0;Bj[f[(f[m>>2]|0)+64>>2]&1023](m,n);Q6(c);m=n+11|0;i=b[m>>0]|0;if(((i<<24>>24<0?f[n+4>>2]|0:i&255)|0)==4?(nCb(n,0,-1,400135,4)|0)==0:0)f[a>>2]=0;else e=4;do if((e|0)==4){i=f[j>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,c+24|0);Q6(c);i=c+4|0;ZBb(i,396034)|0;h=f[j>>2]|0;Bj[f[(f[h>>2]|0)+80>>2]&1023](h,i);Q6(c);i=f[j>>2]|0;Bj[f[(f[i>>2]|0)+44>>2]&1023](i,g);Q6(c);if(f[c+116>>2]|0){f[a>>2]=0;break}i=c+72|0;e=f[i>>2]|0;h=f[g>>2]|0;if(e|0){g=i;do{p=(f[e+16>>2]|0)>>>0<h>>>0;g=p?g:e;e=f[(p?e+4|0:e)>>2]|0}while((e|0)!=0);if((g|0)!=(i|0)?h>>>0>=(f[g+16>>2]|0)>>>0:0){e=f[j>>2]|0;tj[f[(f[e>>2]|0)+100>>2]&2047](e);e=f[g+20>>2]|0;f[a>>2]=e;if(!e)break;p=e+8|0;f[p>>2]=(f[p>>2]|0)+1;break}}zca(l,c,n,h,d);e=f[j>>2]|0;tj[f[(f[e>>2]|0)+100>>2]&2047](e);e=f[l>>2]|0;f[a>>2]=e;if((e|0?(k=e+8|0,f[k>>2]=(f[k>>2]|0)+1,k=f[l>>2]|0,k|0):0)?(a=k+8|0,p=f[a>>2]|0,f[a>>2]=p-1,(p|0)==1):0)Rua(k,1,1)}while(0);if((b[m>>0]|0)>=0){u=o;return}GBb(f[n>>2]|0);u=o;return}function Cca(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+64|0;v=x+52|0;p=x+40|0;q=x+28|0;r=x+16|0;s=x+4|0;t=x;h=a+100|0;e=f[h>>2]|0;w=a+104|0;d=f[w>>2]|0;if((d|0)!=(e|0))do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));f[w>>2]=e;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;d=v+11|0;b[d>>0]=5;b[v>>0]=b[400140]|0;b[v+1>>0]=b[400141]|0;b[v+2>>0]=b[400142]|0;b[v+3>>0]=b[400143]|0;b[v+4>>0]=b[400144]|0;b[v+5>>0]=0;if(e>>>0>=(f[a+108>>2]|0)>>>0){Pu(h,v);if((b[d>>0]|0)<0)GBb(f[v>>2]|0)}else{f[e>>2]=f[v>>2];f[e+4>>2]=f[v+4>>2];f[e+8>>2]=f[v+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[w>>2]=(f[w>>2]|0)+12}o=a+112|0;d=f[o>>2]|0;if((d|0)==(c|0))d=c;else{f[o>>2]=c;if(c|0){n=c+8|0;f[n>>2]=(f[n>>2]|0)+1}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);d=f[o>>2]|0}if(!d){d=EBb(48)|0;f[v>>2]=d;f[v+8>>2]=-2147483600;f[v+4>>2]=35;k=d;l=400146;m=k+35|0;do{b[k>>0]=b[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));b[d+35>>0]=0;g=EBb(36)|0;S6(g,h,v);d=a+116|0;e=f[d>>2]|0;if(((e|0)!=(g|0)?(f[d>>2]=g,n=g+8|0,f[n>>2]=(f[n>>2]|0)+1,e|0):0)?(m=e+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(e,1,1);if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0)}else d=a+116|0;if(f[d>>2]|0){w=0;u=x;return w|0}n=f[o>>2]|0;f[n+16>>2]=a;f[v>>2]=0;if(_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0){e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,p);Q6(a);e=f[o>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,v);Q6(a);e=f[p>>2]|0;d=f[o>>2]|0;Bj[f[(f[d>>2]|0)+44>>2]&1023](d,q);Q6(a);d=f[q>>2]|0;if(d&4|0)b[c+24>>0]=1;if(d&2|0)b[a+96>>0]=1;if(d&1|0?(n=f[o>>2]|0,Bj[f[(f[n>>2]|0)+44>>2]&1023](n,r),Q6(a),f[r>>2]|0):0){g=a+80|0;h=s+11|0;d=0;do{f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;m=f[o>>2]|0;Bj[f[(f[m>>2]|0)+64>>2]&1023](m,s);Q6(a);m=f[o>>2]|0;Bj[f[(f[m>>2]|0)+40>>2]&1023](m,t);Q6(a);m=f[t>>2]|0;n=E6(g,s)|0;f[n>>2]=m;if((b[h>>0]|0)<0)GBb(f[s>>2]|0);d=d+1|0}while(d>>>0<(f[r>>2]|0)>>>0)}}else e=0;n=f[o>>2]|0;if(!(_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0)){f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;n=f[o>>2]|0;Bj[f[(f[n>>2]|0)+64>>2]&1023](n,p);Q6(a);n=p+11|0;h=b[n>>0]|0;c=p+4|0;d=f[c>>2]|0;g=h&255;if(((h<<24>>24<0?d:g)|0)==5)if(!(nCb(p,0,-1,400182,5)|0))e=1;else{h=b[n>>0]|0;g=h&255;d=f[c>>2]|0;i=44}else i=44;do if((i|0)==44){if(((h<<24>>24<0?d:g)|0)==5){if(!(nCb(p,0,-1,435510,5)|0)){e=2;break}h=b[n>>0]|0;g=h&255;d=f[c>>2]|0}if(((h<<24>>24<0?d:g)|0)==6){m=(nCb(p,0,-1,400188,6)|0)==0;e=m?3:e}}while(0);f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;g=a+4|0;ZBb(g,400195)|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+80>>2]&1023](h,g);Q6(a);h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+44>>2]&1023](h,v);Q6(a);ZBb(g,400204)|0;h=f[o>>2]|0;Bj[f[(f[h>>2]|0)+80>>2]&1023](h,g);Q6(a);g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+64>>2]&1023](g,q);Q6(a);g=f[o>>2]|0;Bj[f[(f[g>>2]|0)+64>>2]&1023](g,r);Q6(a);g=s+8|0;h=s+4|0;c=s+11|0;i=a+80|0;j=s+11|0;while(1){f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;d=EBb(16)|0;f[s>>2]=d;f[g>>2]=-2147483632;f[h>>2]=13;k=d;l=400215;m=k+13|0;do{b[k>>0]=b[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));b[d+13>>0]=0;d=f[o>>2]|0;d=cj[f[(f[d>>2]|0)+96>>2]&1023](d,s)|0;if((b[c>>0]|0)<0)GBb(f[s>>2]|0);if(!d)break;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;l=f[o>>2]|0;Bj[f[(f[l>>2]|0)+64>>2]&1023](l,s);Q6(a);l=f[o>>2]|0;Bj[f[(f[l>>2]|0)+40>>2]&1023](l,t);Q6(a);l=f[t>>2]|0;m=E6(i,s)|0;f[m>>2]=l;if((b[j>>0]|0)<0)GBb(f[s>>2]|0)}if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[n>>0]|0)<0)GBb(f[p>>2]|0)}f[a+92>>2]=f[v>>2];d=(f[w>>2]|0)+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[w>>2]=d;w=e;u=x;return w|0}function Dca(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+176|0;m=q+152|0;o=q+140|0;p=q;k=a+112|0;n=f[k>>2]|0;if(!(_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0)){u=q;return}j=a+100|0;d=f[j>>2]|0;n=a+104|0;c=f[n>>2]|0;if((c|0)!=(d|0))do{c=c+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(d|0));f[n>>2]=d;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;l=f[k>>2]|0;Bj[f[(f[l>>2]|0)+64>>2]&1023](l,m);Q6(a);l=m+11|0;i=b[l>>0]|0;if(((i<<24>>24<0?f[m+4>>2]|0:i&255)|0)==1?(nCb(m,0,-1,462411,1)|0)==0:0)i=39;else i=9;do if((i|0)==9){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=EBb(16)|0;f[p>>2]=c;f[p+8>>2]=-2147483632;f[p+4>>2]=13;e=c;g=400229;h=e+13|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[c+13>>0]=0;c=f[n>>2]|0;if(c>>>0>=(f[a+108>>2]|0)>>>0){Pu(j,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0)}else{f[c>>2]=f[p>>2];f[c+4>>2]=f[p+4>>2];f[c+8>>2]=f[p+8>>2];f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;f[n>>2]=(f[n>>2]|0)+12}c=(YZ(0)|0)+240|0;c=Eca(f[c>>2]|0,m)|0;if(!c){f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=EBb(64)|0;f[p>>2]=c;f[p+8>>2]=-2147483584;f[p+4>>2]=61;e=c;g=400243;h=e+61|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[c+61>>0]=0;c=EBb(36)|0;S6(c,j,p);d=a+116|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,h=c+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);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0)}else{if(dj[f[(f[c>>2]|0)+16>>2]&255](c,f[(f[k>>2]|0)+12>>2]|0,o)|0)c=a+116|0;else{f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=EBb(48)|0;f[p>>2]=c;f[p+8>>2]=-2147483600;f[p+4>>2]=41;e=c;g=400305;h=e+41|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[c+41>>0]=0;d=EBb(36)|0;S6(d,j,p);c=a+116|0;e=f[c>>2]|0;if(((e|0)!=(d|0)?(f[c>>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);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0)}if(!(f[c>>2]|0)){c=EBb(144)|0;g=c+64|0;h=c+8|0;f[h>>2]=323408;i=c+12|0;f[c>>2]=285412;f[g>>2]=285432;f[c+4>>2]=0;Brb(g,i);f[c+136>>2]=0;f[c+140>>2]=-1;f[c>>2]=323388;f[g>>2]=323428;f[h>>2]=323408;Hrb(i);f[i>>2]=304196;h=c+44|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[c+60>>2]=24;Nr(i,o);f[a+128>>2]=c;f[(f[k>>2]|0)+12>>2]=c;c=(f[n>>2]|0)+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);f[n>>2]=c;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);i=39;break}}if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0)}while(0);if((i|0)==39?b[a+96>>0]|0:0){d=o+11|0;b[d>>0]=10;e=o;g=402307;h=e+10|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[o+10>>0]=0;c=f[n>>2]|0;if(c>>>0>=(f[a+108>>2]|0)>>>0){Pu(j,o);if((b[d>>0]|0)<0)GBb(f[o>>2]|0)}else{f[c>>2]=f[o>>2];f[c+4>>2]=f[o+4>>2];f[c+8>>2]=f[o+8>>2];f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[n>>2]=(f[n>>2]|0)+12};f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;d=f[k>>2]|0;Bj[f[(f[d>>2]|0)+64>>2]&1023](d,o);Q6(a);d=p+60|0;e=p+8|0;f[p>>2]=276076;f[d>>2]=276096;f[p+4>>2]=0;Brb(p+60|0,e);f[p+132>>2]=0;f[p+136>>2]=-1;f[p>>2]=304144;f[d>>2]=304164;Hrb(e);f[e>>2]=304196;g=p+40|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[p+56>>2]=8;Nr(e,o);F6(a,p);c=(f[n>>2]|0)+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);f[n>>2]=c;f[p>>2]=304144;f[d>>2]=304164;f[e>>2]=304196;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);crb(p,304176);kqb(d);if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0)}if((b[l>>0]|0)<0)GBb(f[m>>2]|0);u=q;return}function Eca(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+48|0;m=o+36|0;l=o+24|0;k=o+12|0;j=o;n=a+12|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;d=Fca(a+36|0,c)|0;if((d|0)!=(a+40|0)){m=f[d+28>>2]|0;l=f[n>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](n)|0;u=o;return m|0}YZ(0)|0;I4(m,0,c);if((K_(YZ(0)|0,m)|0)==2)d=Eca(a,c)|0;else{d=YZ(0)|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=EBb(16)|0;f[j>>2]=e;f[j+8>>2]=-2147483632;f[j+4>>2]=11;g=e;h=400347;i=g+11|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[e+11>>0]=0;i=b[c+11>>0]|0;h=i<<24>>24<0;i=bCb(j,h?f[c>>2]|0:c,h?f[c+4>>2]|0:i&255)|0;f[k>>2]=f[i>>2];f[k+4>>2]=f[i+4>>2];f[k+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;J_(l,d,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((K_(YZ(0)|0,l)|0)!=2){J_(k,YZ(0)|0,c);e=l+11|0;if((b[e>>0]|0)<0){b[f[l>>2]>>0]=0;f[l+4>>2]=0}else{b[l>>0]=0;b[e>>0]=0}YBb(l,0);f[l>>2]=f[k>>2];f[l+4>>2]=f[k+4>>2];f[l+8>>2]=f[k+8>>2];if((K_(YZ(0)|0,l)|0)==2)d=Eca(a,c)|0;else d=0}else{d=Eca(a,c)|0;e=l+11|0}if((b[e>>0]|0)<0)GBb(f[l>>2]|0)}if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);m=d;l=f[n>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](n)|0;u=o;return m|0}function Fca(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<h>>>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<l>>>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<l>>>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 Gca(a,b){a=a|0;b=+b;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;g=k+4|0;h=k;i=a+24|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;j=a+12|0;c=f[j>>2]|0;e=a+16|0;if((e|0)==(c|0)){j=f[i>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](i)|0;u=k;return}do do if(!(+p[c+40>>3]<=b)){d=c;c=f[d+4>>2]|0;if(!c){a=d+8|0;c=f[a>>2]|0;if((f[c>>2]|0)==(d|0))break;do{d=f[a>>2]|0;a=d+8|0;c=f[a>>2]|0}while((f[c>>2]|0)!=(d|0))}else{while(1){a=f[c>>2]|0;if(!a)break;else c=a}break}}else{f[h>>2]=c;f[g>>2]=f[h>>2];c=Hca(j,g)|0}while(0);while((e|0)!=(c|0));j=f[i>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](i)|0;u=k;return}function Hca(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;g=f[c>>2]|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{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((f[a>>2]|0)==(g|0))f[a>>2]=c;e=a+8|0;f[e>>2]=(f[e>>2]|0)+-1;Zq(f[a+4>>2]|0,g);e=g+16|0;d=g+32|0;a=f[d>>2]|0;if(a|0?(i=a+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(a,1,1);f[d>>2]=0;d=g+28|0;a=f[d>>2]|0;if(a|0?(h=a+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(a,1,1);f[d>>2]=0;if((b[e+11>>0]|0)>=0){GBb(g);return c|0}GBb(f[e>>2]|0);GBb(g);return c|0}function Ica(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;A=u;u=u+48|0;v=A;w=A+32|0;x=A+44|0;y=A+20|0;z=a+11|0;e=b[z>>0]|0;s=e<<24>>24<0;t=a+4|0;i=s?f[a>>2]|0:a;e=s?f[t>>2]|0:e&255;if(!e){u=A;return}g=i+e|0;e=i;while(1){if((b[e>>0]|0)!=d<<24>>24)break;h=e+1|0;if((h|0)==(g|0)){j=22;break}else e=h}if((j|0)==22){u=A;return}e=e-i|0;if((e|0)==-1){u=A;return}o=v+4|0;p=v+8|0;k=v+4|0;l=v+8|0;q=c+8|0;r=p+11|0;m=l+11|0;s=y+11|0;n=w+11|0;a:while(1){h=lCb(a,d,e)|0;if((h|0)==-1){j=16;break}SBb(w,a,e,h-e|0,x);f[v>>2]=0;f[k>>2]=2147483647;OBb(l,w);j=EBb(28)|0;B=v;g=f[B+4>>2]|0;i=j+8|0;f[i>>2]=f[B>>2];f[i+4>>2]=g;i=j+16|0;f[i>>2]=f[l>>2];f[i+4>>2]=f[l+4>>2];f[i+8>>2]=f[l+8>>2];f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[j+4>>2]=c;i=f[c>>2]|0;f[j>>2]=i;f[i+4>>2]=j;f[c>>2]=j;f[q>>2]=(f[q>>2]|0)+1;if((b[m>>0]|0)<0)GBb(f[l>>2]|0);if((b[n>>0]|0)<0)GBb(f[w>>2]|0);g=b[z>>0]|0;B=g<<24>>24<0;j=B?f[a>>2]|0:a;g=B?f[t>>2]|0:g&255;if(g>>>0<=h>>>0){j=22;break}i=j+g|0;g=j+h|0;while(1){if((b[g>>0]|0)!=d<<24>>24)break;g=g+1|0;if((g|0)==(i|0)){j=22;break a}}g=g-j|0;if((g|0)==-1){j=22;break}else e=g}if((j|0)==16){B=b[z>>0]|0;SBb(y,a,e,(B<<24>>24<0?f[t>>2]|0:B&255)-e|0,x);f[v>>2]=0;f[o>>2]=2147483647;OBb(p,y);B=EBb(28)|0;w=v;x=f[w+4>>2]|0;z=B+8|0;f[z>>2]=f[w>>2];f[z+4>>2]=x;z=B+16|0;f[z>>2]=f[p>>2];f[z+4>>2]=f[p+4>>2];f[z+8>>2]=f[p+8>>2];f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;f[B+4>>2]=c;z=f[c>>2]|0;f[B>>2]=z;f[z+4>>2]=B;f[c>>2]=B;f[q>>2]=(f[q>>2]|0)+1;if((b[r>>0]|0)<0)GBb(f[p>>2]|0);if((b[s>>0]|0)<0)GBb(f[y>>2]|0);u=A;return}else if((j|0)==22){u=A;return}}function Jca(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;rZa(a);f[a>>2]=330312;f[a+12>>2]=c;g=a+16|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;OBb(a+28|0,d);g=a+40|0;f[g>>2]=g;f[a+44>>2]=g;c=a+100|0;f[a+104>>2]=0;f[a+108>>2]=0;d=a+104|0;h=a+48|0;i=h+52|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));f[c>>2]=d;f[a+112>>2]=0;b[a+116>>0]=0;Ica(e,g,32);return}function Kca(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;Kca(a,f[c>>2]|0);Kca(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 Lca(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;f[a>>2]=330312;Kca(a+100|0,f[a+104>>2]|0);e=a+88|0;g=f[e>>2]|0;if(g|0){h=a+92|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?(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}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}c=f[a+76>>2]|0;if(c|0){f[a+80>>2]=c;GBb(c)}e=a+64|0;g=f[e>>2]|0;if(g|0){h=a+68|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?(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}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}e=a+52|0;g=f[e>>2]|0;if(g|0){h=a+56|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?(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}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}g=a+40|0;c=a+48|0;if(f[c>>2]|0?(i=f[a+44>>2]|0,k=(f[g>>2]|0)+4|0,j=f[i>>2]|0,f[j+4>>2]=f[k>>2],f[f[k>>2]>>2]=j,f[c>>2]=0,(i|0)!=(g|0)):0){c=i;do{d=c;c=f[c+4>>2]|0;e=d+16|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);GBb(d)}while((c|0)!=(g|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);return}GBb(f[c>>2]|0);Uua(a);return}function Mca(a){a=a|0;Lca(a);GBb(a);return}function Nca(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;q=u;u=u+16|0;o=q;d=f[a+44>>2]|0;p=a+40|0;e=d;a:do if((p|0)!=(e|0)){l=b[c+11>>0]|0;m=l<<24>>24<0;l=m?f[c+4>>2]|0:l&255;m=m?f[c>>2]|0:c;n=(l|0)==0;b:while(1){k=d;i=k+16|0;g=b[i+11>>0]|0;h=g<<24>>24<0;g=g&255;do if(((h?f[k+20>>2]|0:g)|0)==(l|0)){k=f[i>>2]|0;j=h?k:i;k=k&255;if(h){if(n)break b;if(!(anb(j,m,l)|0))break b;else break}if(n)break b;if((b[m>>0]|0)==k<<24>>24){h=m;do{g=g+-1|0;i=i+1|0;if(!g)break b;h=h+1|0}while((b[i>>0]|0)==(b[h>>0]|0))}}while(0);d=f[e+4>>2]|0;e=d;if((p|0)==(e|0))break a}f[d+8>>2]=f[a+112>>2];u=q;return}while(0);if(!(qZa(2)|0)){u=q;return}p=Nu(Hua(2)|0,400383,56)|0;l=b[c+11>>0]|0;m=l<<24>>24<0;l=Nu(Nu(p,m?f[c>>2]|0:c,m?f[c+4>>2]|0:l&255)|0,400440,25)|0;m=a+28|0;p=b[m+11>>0]|0;n=p<<24>>24<0;p=Nu(l,n?f[m>>2]|0:m,n?f[a+32>>2]|0:p&255)|0;Drb(o,p+(f[(f[p>>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(p,n)|0;Krb(p)|0;u=q;return}function Oca(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;g=i+4|0;f[h>>2]=c;f[b+12>>2]=f[a+112>>2];d=a+52|0;f[g>>2]=b;if(b|0){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}e=a+56|0;c=f[e>>2]|0;if(c>>>0<(f[a+60>>2]|0)>>>0){b=f[g>>2]|0;f[c>>2]=b;if(b){c=b+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[e>>2]|0}f[e>>2]=c+4}else Pca(d,g);c=f[g>>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);c=a+80|0;b=f[c>>2]|0;if((b|0)==(f[a+84>>2]|0)){Qca(a+76|0,h);u=i;return}else{f[b>>2]=f[h>>2];f[c>>2]=b+4;u=i;return}}function Pca(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<e>>>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 Qca(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<c>>>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 Rca(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;d=f[a+52>>2]|0;n=a+56|0;if((d|0)==(f[n>>2]|0))return;o=c+11|0;p=c+4|0;m=a+112|0;do{g=f[d>>2]|0;g=_i[f[(f[g>>2]|0)+28>>2]&2047](g)|0;e=b[g+11>>0]|0;j=e<<24>>24<0;e=e&255;k=j?f[g+4>>2]|0:e;l=b[o>>0]|0;a=l<<24>>24<0;a:do if((k|0)==((a?f[p>>2]|0:l&255)|0)){i=f[g>>2]|0;l=j?i:g;a=a?f[c>>2]|0:c;h=(k|0)==0;i=i&255;b:do if(j){if(!h?anb(l,a,k)|0:0)break a}else if(!h){if((b[a>>0]|0)!=i<<24>>24)break a;while(1){e=e+-1|0;g=g+1|0;if(!e)break b;a=a+1|0;if((b[g>>0]|0)!=(b[a>>0]|0))break a}}while(0);f[(f[d>>2]|0)+16>>2]=(f[m>>2]|0)+-1}while(0);d=d+4|0}while((d|0)!=(f[n>>2]|0));return}function Sca(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;n=u;u=u+16|0;m=n;e=a+16|0;l=b[e+11>>0]|0;if((l<<24>>24<0?f[a+20>>2]|0:l&255)|0){e=P6(c+80|0,e)|0;if((e|0)==(c+84|0))i=0;else i=f[e+28>>2]|0}else i=f[c+304>>2]|0;g=f[a+52>>2]|0;j=a+56|0;if((g|0)==(f[j>>2]|0)){m=1;u=n;return m|0}k=a+28|0;l=k+11|0;h=a+32|0;e=1;do{a=f[g>>2]|0;if((((f[a+12>>2]|0)<=(i|0)?(i|0)<=(f[a+16>>2]|0):0)?(f[a+20>>2]&1|0)!=0:0)?!(dj[f[(f[a>>2]|0)+24>>2]&255](a,c,d)|0):0)if(qZa(2)|0){e=Nu(Hua(2)|0,400466,47)|0;p=b[l>>0]|0;a=p<<24>>24<0;p=Nu(Nu(e,a?f[k>>2]|0:k,a?f[h>>2]|0:p&255)|0,428700,2)|0;a=f[g>>2]|0;a=_i[f[(f[a>>2]|0)+28>>2]&2047](a)|0;e=b[a+11>>0]|0;o=e<<24>>24<0;e=Nu(p,o?f[a>>2]|0:a,o?f[a+4>>2]|0:e&255)|0;Drb(m,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);a=utb(m,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(m);ksb(e,a)|0;Krb(e)|0;e=0}else e=0;g=g+4|0}while((g|0)!=(f[j>>2]|0));u=n;return e|0}function Tca(a,c){a=a|0;c=c|0;var d=0;d=b[c+11>>0]|0;do if((d<<24>>24<0?f[c+4>>2]|0:d&255)|0){c=P6(a+80|0,c)|0;if((c|0)==(a+84|0)){d=0;return d|0}else{c=c+28|0;break}}else c=a+304|0;while(0);d=f[c>>2]|0;return d|0}function Uca(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;h=u;u=u+16|0;g=h;OBb(g,c);e=g+12|0;f[e>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}Vca(a+100|0,g)|0;c=f[e>>2]|0;if(c|0?(a=c+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(c,1,1);f[e>>2]=0;if((b[g+11>>0]|0)>=0){u=h;return}GBb(f[g>>2]|0);u=h;return}function Vca(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;l=EBb(32)|0;e=l+16|0;OBb(e,c);c=f[c+12>>2]|0;f[l+28>>2]=c;if(c|0){j=c+8|0;f[j>>2]=(f[j>>2]|0)+1}d=a+4|0;c=f[d>>2]|0;do if(c){j=b[l+27>>0]|0;i=j<<24>>24<0;j=i?f[l+20>>2]|0:j&255;i=i?f[e>>2]|0:e;h=c;while(1){d=h+16|0;g=b[d+11>>0]|0;e=g<<24>>24<0;g=e?f[h+20>>2]|0:g&255;c=g>>>0<j>>>0?g:j;if((c|0)!=0?(k=anb(i,e?f[d>>2]|0:d,c)|0,(k|0)!=0):0)if((k|0)<0)e=9;else e=11;else if(j>>>0<g>>>0)e=9;else e=11;if((e|0)==9){c=f[h>>2]|0;if(!c){e=10;break}}else if((e|0)==11){c=f[h+4>>2]|0;if(!c){e=12;break}}h=c}if((e|0)==10){c=h;d=h;break}else if((e|0)==12){c=h;d=h+4|0;break}}else c=d;while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=c;f[d>>2]=l;c=f[f[a>>2]>>2]|0;if(!c){k=l;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}f[a>>2]=c;k=f[d>>2]|0;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}function Wca(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;f[a>>2]=326292;g=a+4|0;f[g>>2]=0;h=EBb(120)|0;Jca(h,b,c,d);a=f[g>>2]|0;if(((a|0)!=(h|0)?(f[g>>2]=h,h=h+8|0,f[h>>2]=(f[h>>2]|0)+1,a|0):0)?(d=a+8|0,h=f[d>>2]|0,f[d>>2]=h-1,(h|0)==1):0)Rua(a,1,1);if(e|0)tj[e&2047](f[g>>2]|0);if(!(YZ(0)|0))return;e=(YZ(0)|0)+240|0;Xca(f[e>>2]|0,f[g>>2]|0);return}function Xca(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=u;u=u+16|0;d=i;if(!c){u=i;return}h=a+12|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;e=a+24|0;g=c+28|0;if((Z3(e,g)|0)!=(a+28|0)?qZa(2)|0:0){k=Nu(Hua(2)|0,400514,37)|0;a=b[g+11>>0]|0;j=a<<24>>24<0;a=Nu(Nu(k,j?f[g>>2]|0:g,j?f[c+32>>2]|0:a&255)|0,400552,17)|0;Drb(d,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);j=utb(d,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(d);ksb(a,j)|0;Krb(a)|0}a=Yca(e,g)|0;d=f[a>>2]|0;if(((d|0)!=(c|0)?(f[a>>2]=c,k=c+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);_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;u=i;return}function Yca(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=Zca(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 Zca(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<m>>>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 _ca(a){a=a|0;var b=0,c=0,d=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;c=a+72|0;f[a+92>>2]=0;f[a+96>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+88>>2]=a+92;f[a+104>>2]=0;f[a+108>>2]=0;f[a+100>>2]=a+104;c=a+112|0;d=c+36|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));return}function $ca(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;y=u;u=u+48|0;w=y+36|0;t=y+24|0;p=y+12|0;q=y;f[a>>2]=326308;h=a+4|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;b[h+16>>0]=0;h=a+24|0;i=a+40|0;f[a+60>>2]=0;f[a+64>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;f[h+24>>2]=0;f[h+28>>2]=0;f[a+56>>2]=a+60;f[a+72>>2]=0;f[a+76>>2]=0;f[a+68>>2]=a+72;r=a+80|0;f[a+84>>2]=0;f[a+88>>2]=0;f[r>>2]=a+84;o=a+92|0;f[o>>2]=0;l=a+96|0;b[l>>0]=0;x=a+97|0;b[x>>0]=1;f[a+104>>2]=0;f[a+108>>2]=0;f[a+100>>2]=a+104;m=a+124|0;n=a+136|0;d=a+148|0;e=a+212|0;g=a+156|0;j=a+112|0;k=j+36|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(k|0));f[g>>2]=323408;v=a+160|0;f[d>>2]=285412;f[e>>2]=285432;f[a+152>>2]=0;Brb(a+212|0,v);f[a+284>>2]=0;f[a+288>>2]=-1;f[d>>2]=323388;f[e>>2]=323428;f[g>>2]=323408;Hrb(v);f[v>>2]=304196;e=a+192|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[a+208>>2]=24;f[a+292>>2]=0;f[a+296>>2]=0;e=a+300|0;f[e>>2]=0;v=a+304|0;f[v>>2]=160;ZBb(h,402865)|0;f[a+36>>2]=2;ZBb(i,402867)|0;f[a+52>>2]=-2;if(!c){u=y;return}d=f[e>>2]|0;if(((d|0)!=(c|0)?(f[e>>2]=c,k=c+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);f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=EBb(32)|0;f[t>>2]=d;f[t+8>>2]=-2147483616;f[t+4>>2]=18;j=d;g=400570;k=j+18|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[d+18>>0]=0;i=c+100|0;d=Qp(i,t)|0;c=c+104|0;if((d|0)!=(c|0)){OBb(w,d+28|0);g=w+11|0;e=b[g>>0]|0;if(((e<<24>>24<0?f[w+4>>2]|0:e&255)|0)==5){d=(nCb(w,0,-1,489367,5)|0)==0;e=b[g>>0]|0}else d=0;if(e<<24>>24<0)GBb(f[w>>2]|0)}else{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;d=0}if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);if(d)b[x>>0]=0;a=t+11|0;b[a>>0]=10;j=t;g=402307;k=j+10|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[t+10>>0]=0;d=Qp(i,t)|0;if((d|0)!=(c|0)){OBb(w,d+28|0);g=w+11|0;e=b[g>>0]|0;if(((e<<24>>24<0?f[w+4>>2]|0:e&255)|0)==4){d=(nCb(w,0,-1,489373,4)|0)==0;e=b[g>>0]|0}else d=0;if(e<<24>>24<0)GBb(f[w>>2]|0)}else{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;d=0}if((b[a>>0]|0)<0)GBb(f[t>>2]|0);if(d)b[l>>0]=1;e=t+11|0;b[e>>0]=10;j=t;g=398243;k=j+10|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[t+10>>0]=0;d=Qp(i,t)|0;if((d|0)!=(c|0)){OBb(w,d+28|0);d=b[w+11>>0]|0;if(d<<24>>24<0){d=(f[w+4>>2]|0)==0;GBb(f[w>>2]|0)}else s=29}else{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;d=0;s=29}if((s|0)==29)d=d<<24>>24==0;if((b[e>>0]|0)<0)GBb(f[t>>2]|0);if(!d){e=t+11|0;b[e>>0]=10;j=t;g=398243;k=j+10|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[t+10>>0]=0;d=Qp(i,t)|0;if((d|0)==(c|0)){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0}else OBb(w,d+28|0);UBb(m,w)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[e>>0]|0)<0)GBb(f[t>>2]|0)}e=t+11|0;b[e>>0]=10;j=t;g=400589;k=j+10|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[t+10>>0]=0;d=Qp(i,t)|0;if((d|0)!=(c|0)){OBb(w,d+28|0);d=b[w+11>>0]|0;if(d<<24>>24<0){d=(f[w+4>>2]|0)==0;GBb(f[w>>2]|0)}else s=45}else{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;d=0;s=45}if((s|0)==45)d=d<<24>>24==0;if((b[e>>0]|0)<0)GBb(f[t>>2]|0);if(!d){e=t+11|0;b[e>>0]=10;j=t;g=400589;k=j+10|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[t+10>>0]=0;d=Qp(i,t)|0;if((d|0)==(c|0)){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0}else OBb(w,d+28|0);UBb(n,w)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[e>>0]|0)<0)GBb(f[t>>2]|0)};f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=EBb(16)|0;f[t>>2]=d;f[t+8>>2]=-2147483632;f[t+4>>2]=14;j=d;g=400600;k=j+14|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[d+14>>0]=0;d=Qp(i,t)|0;if((d|0)!=(c|0)){OBb(w,d+28|0);d=b[w+11>>0]|0;if(d<<24>>24<0){d=(f[w+4>>2]|0)==0;GBb(f[w>>2]|0)}else s=61}else{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;d=0;s=61}if((s|0)==61)d=d<<24>>24==0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);if(!d){f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=EBb(16)|0;f[t>>2]=d;f[t+8>>2]=-2147483632;f[t+4>>2]=14;j=d;g=400600;k=j+14|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[d+14>>0]=0;d=Qp(i,t)|0;if((d|0)==(c|0)){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0}else OBb(w,d+28|0);if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);h=w+11|0;g=b[h>>0]|0;a=w+4|0;d=f[a>>2]|0;e=g&255;do if(((g<<24>>24<0?d:e)|0)==11)if(!(nCb(w,0,-1,400615,11)|0)){f[o>>2]=2;break}else{g=b[h>>0]|0;e=g&255;d=f[a>>2]|0;s=75;break}else s=75;while(0);a:do if((s|0)==75){do if(((g<<24>>24<0?d:e)|0)==11)if(!(nCb(w,0,-1,400627,11)|0)){f[o>>2]=3;break a}else{g=b[h>>0]|0;e=g&255;d=f[a>>2]|0;break}while(0);do if(((g<<24>>24<0?d:e)|0)==11)if(!(nCb(w,0,-1,400639,11)|0)){f[o>>2]=1;break a}else{g=b[h>>0]|0;e=g&255;d=f[a>>2]|0;break}while(0);if(((g<<24>>24<0?d:e)|0)!=8)break;if(nCb(w,0,-1,400651,8)|0)break;f[o>>2]=4}while(0);if((b[h>>0]|0)<0)GBb(f[w>>2]|0)};f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=EBb(16)|0;f[t>>2]=d;f[t+8>>2]=-2147483632;f[t+4>>2]=13;j=d;g=398229;k=j+13|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[d+13>>0]=0;d=Qp(i,t)|0;if((d|0)!=(c|0)){OBb(w,d+28|0);d=b[w+11>>0]|0;if(d<<24>>24<0){d=(f[w+4>>2]|0)==0;GBb(f[w>>2]|0)}else s=92}else{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;d=0;s=92}if((s|0)==92)d=d<<24>>24==0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);if(!d){f[w>>2]=0;h=w+4|0;f[h>>2]=0;f[w+8>>2]=0;f[t>>2]=0;a=t+4|0;f[a>>2]=0;f[t+8>>2]=0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;d=EBb(16)|0;f[q>>2]=d;f[q+8>>2]=-2147483632;f[q+4>>2]=13;j=d;g=398229;k=j+13|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[d+13>>0]=0;d=Qp(i,q)|0;if((d|0)==(c|0)){f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0}else OBb(p,d+28|0);D6(p,w,59);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);q=f[w>>2]|0;d=q;if((f[h>>2]|0)!=(q|0)){g=0;do{D6(d+(g*12|0)|0,t,58);d=f[a>>2]|0;q=f[t>>2]|0;e=q;if(((d-q|0)/12|0)>>>0>1){d=d+-12|0;if((b[d+11>>0]|0)<0)d=f[d>>2]|0;p=Tnb(d)|0;q=E6(r,e)|0;f[q>>2]=p}g=g+1|0;d=f[w>>2]|0}while(g>>>0<(((f[h>>2]|0)-d|0)/12|0)>>>0)}e=f[t>>2]|0;if(!e)e=d;else{d=f[a>>2]|0;if((d|0)==(e|0))d=e;else{do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));d=f[t>>2]|0}f[a>>2]=e;GBb(d);e=f[w>>2]|0}if(e|0){d=f[h>>2]|0;if((d|0)==(e|0))d=e;else{do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));d=f[w>>2]|0}f[h>>2]=e;GBb(d)}};f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=EBb(32)|0;f[t>>2]=d;f[t+8>>2]=-2147483616;f[t+4>>2]=17;j=d;g=400660;k=j+17|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[d+17>>0]=0;d=Qp(i,t)|0;do if((d|0)==(c|0)){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;d=0;s=133}else{OBb(w,d+28|0);d=b[w+11>>0]|0;if(d<<24>>24>=0){s=133;break}d=(f[w+4>>2]|0)==0;GBb(f[w>>2]|0)}while(0);if((s|0)==133)d=d<<24>>24==0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);if(!d){f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;d=EBb(32)|0;f[t>>2]=d;f[t+8>>2]=-2147483616;f[t+4>>2]=17;j=d;g=400660;k=j+17|0;do{b[j>>0]=b[g>>0]|0;j=j+1|0;g=g+1|0}while((j|0)<(k|0));b[d+17>>0]=0;d=Qp(i,t)|0;if((d|0)==(c|0)){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0}else OBb(w,d+28|0);if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);e=(b[w+11>>0]|0)<0;g=f[w>>2]|0;d=Tnb(e?g:w)|0;if((d+-1|0)>>>0<160)f[v>>2]=d;if(e)GBb(g)}if((f[v>>2]|0)>=99){u=y;return}b[x>>0]=0;u=y;return}function ada(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+8>>3]);c=f[c>>2]|0;uj[f[(f[c>>2]|0)+64>>2]&31](c,+p[b+16>>3]);return a|0}function bda(a){a=a|0;var b=0,c=0,d=0;b=u;u=u+16|0;d=b;Drb(d,a+(f[(f[a>>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(a,c)|0;Krb(a)|0;u=b;return a|0}function cda(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+8>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+16>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+24>>3]);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+32>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+40>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+48>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+56>>3]);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+64>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+72>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+80>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+88>>3]);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+96>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+104>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+112>>3]);d=f[c>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[b+120>>3]);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);return a|0}function dda(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+32|0;e=l+20|0;j=l;if(!c){u=l;return}b[e>>0]=0;i=eda(a,c,e)|0;h=a+4|0;ZBb(h,398577)|0;k=a+292|0;g=f[k>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,h);h=f[k>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,i);a:do if(!(b[e>>0]|0)){a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027)}else do switch(f[c+52>>2]|0){case 1:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=0;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);fda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 4:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=1;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);gda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 2:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=2;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);hda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 5:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=3;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);ida(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 3:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=4;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);jda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 6:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=5;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);kda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 7:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=6;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);lda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 8:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=7;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);mda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,4);break a}case 9:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=8;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[c+(e<<1)>>0]|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[c+(e<<1)+1>>0]|0);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 10:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=9;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);nda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 11:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=10;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);oda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 18:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=21;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[c+(e<<1)>>0]|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[c+(e<<1)+1>>0]|0);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 19:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=22;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);pda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 20:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=11;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);qda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 12:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=12;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[c+(e<<2)>>1]|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[c+(e<<2)+2>>1]|0);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 13:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=13;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);rda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 14:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=14;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);sda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 21:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=23;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[c+(e<<2)>>1]|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[c+(e<<2)+2>>1]|0);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 22:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=24;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);tda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 23:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=25;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);uda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 27:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=15;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;uj[f[(f[j>>2]|0)+60>>2]&31](j,+n[c+(e<<3)>>2]);j=f[k>>2]|0;uj[f[(f[j>>2]|0)+60>>2]&31](j,+n[c+(e<<3)+4>>2]);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 28:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=16;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);vda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 29:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=17;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);wda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 30:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=18;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;uj[f[(f[j>>2]|0)+64>>2]&31](j,+p[c+(e<<4)>>3]);j=f[k>>2]|0;uj[f[(f[j>>2]|0)+64>>2]&31](j,+p[c+(e<<4)+8>>3]);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 31:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=19;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);xda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 32:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=20;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);yda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 15:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=26;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,f[c+(e<<3)>>2]|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,f[c+(e<<3)+4>>2]|0);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 16:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=27;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);zda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 17:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=28;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);Ada(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 24:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=29;b[j+16>>0]=1;i=f[k>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);h=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,h);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,a+24|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if((h|0)>0){g=c+76|0;e=0;do{c=f[g>>2]|0;j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+40>>2]&1023](j,f[c+(e<<3)>>2]|0);j=f[k>>2]|0;Bj[f[(f[j>>2]|0)+40>>2]&1023](j,f[c+(e<<3)+4>>2]|0);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);e=e+1|0}while((e|0)!=(h|0))}c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+40|0);a=f[k>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);break a}case 25:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=30;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);Bda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}case 26:{f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=9;g=j;h=390263;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[j+9>>0]=0;f[j+12>>2]=31;b[j+16>>0]=1;k=f[k>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,j);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);Cda(a,c,_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0,1);break a}default:{e=EBb(64)|0;f[j>>2]=e;f[j+8>>2]=-2147483584;f[j+4>>2]=51;g=e;h=400678;i=g+51|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[e+51>>0]=0;h=EBb(36)|0;Dda(h,a+112|0,j);e=a+296|0;g=f[e>>2]|0;if(((g|0)!=(h|0)?(f[e>>2]=h,a=h+8|0,f[a>>2]=(f[a>>2]|0)+1,g|0):0)?(k=g+8|0,a=f[k>>2]|0,f[k>>2]=a-1,(a|0)==1):0)Rua(g,1,1);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);break a}}while(0);while(0);u=l;return}function eda(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=c;m=a+56|0;h=a+60|0;i=f[h>>2]|0;do if(i){e=h;g=i;do{k=(f[g+16>>2]|0)>>>0<c>>>0;e=k?e:g;g=f[(k?g+4|0:g)>>2]|0}while((g|0)!=0);if((e|0)!=(h|0)?(f[e+16>>2]|0)>>>0<=c>>>0:0){b[d>>0]=0;d=f[e+20>>2]|0;return d|0}k=a+64|0;j=(f[k>>2]|0)+1|0;h=a+60|0;e=i;while(1){g=f[e+16>>2]|0;if(g>>>0>c>>>0){g=f[e>>2]|0;if(!g){g=9;break}else{h=e;e=g}}else{if(g>>>0>=c>>>0){g=13;break}h=e+4|0;g=f[h>>2]|0;if(!g){g=12;break}else e=g}}if((g|0)==9){c=e;h=e;i=k;break}else if((g|0)==12){c=e;i=k;break}else if((g|0)==13){c=e;i=k;break}}else{j=a+64|0;c=h;i=j;j=(f[j>>2]|0)+1|0}while(0);e=f[h>>2]|0;if(!e){e=EBb(24)|0;f[e+16>>2]=l;f[e+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=c;f[h>>2]=e;g=f[f[m>>2]>>2]|0;if(!g)g=e;else{f[m>>2]=g;g=f[h>>2]|0}Xo(f[a+60>>2]|0,g);f[i>>2]=(f[i>>2]|0)+1}f[e+20>>2]=j;b[d>>0]=1;d=j;return d|0}function fda(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,d);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((d|0)>0){g=c+76|0;c=0;do{e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+20>>2]&1023](e,b[(f[g>>2]|0)+c>>0]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=c+1|0}while((c|0)!=(d|0))}}else{if((d|0)>0){g=c+76|0;c=0;do{if(!((c>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[(f[g>>2]|0)+c>>0]|0)}else{i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[(f[g>>2]|0)+c>>0]|0)}c=c+1|0}while((c|0)!=(d|0))}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027)}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,a+40|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);return}function gda(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,d);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((d|0)>0){g=c+76|0;c=0;do{e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+24>>2]&1023](e,b[(f[g>>2]|0)+c>>0]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=c+1|0}while((c|0)!=(d|0))}}else{if((d|0)>0){g=c+76|0;c=0;do{if(!((c>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[(f[g>>2]|0)+c>>0]|0)}else{i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[(f[g>>2]|0)+c>>0]|0)}c=c+1|0}while((c|0)!=(d|0))}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027)}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,a+40|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);return}function hda(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,c);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((c|0)>0){g=b+76|0;b=0;do{e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+28>>2]&1023](e,d[(f[g>>2]|0)+(b<<1)>>1]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){g=b+76|0;b=0;do{if(!((b>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[(f[g>>2]|0)+(b<<1)>>1]|0)}else{i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[(f[g>>2]|0)+(b<<1)>>1]|0)}b=b+1|0}while((b|0)!=(c|0))}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027)}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,a+40|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);return}function ida(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,c);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((c|0)>0){g=b+76|0;b=0;do{e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+32>>2]&1023](e,d[(f[g>>2]|0)+(b<<1)>>1]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){g=b+76|0;b=0;do{if(!((b>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[(f[g>>2]|0)+(b<<1)>>1]|0)}else{i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[(f[g>>2]|0)+(b<<1)>>1]|0)}b=b+1|0}while((b|0)!=(c|0))}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027)}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,a+40|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);return}function jda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)>0){e=b+76|0;b=0;do{d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+36>>2]&1023](d,f[(f[e>>2]|0)+(b<<2)>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}else{h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027)}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+88>>2]&1023](h,a+40|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);return}function kda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)>0){e=b+76|0;b=0;do{d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,f[(f[e>>2]|0)+(b<<2)>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}else{h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027)}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+88>>2]&1023](h,a+40|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);return}function lda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)>0){e=b+76|0;b=0;do{d=f[g>>2]|0;uj[f[(f[d>>2]|0)+60>>2]&31](d,+n[(f[e>>2]|0)+(b<<2)>>2]);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[(f[e>>2]|0)+(b<<2)>>2])}else{h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[(f[e>>2]|0)+(b<<2)>>2])}b=b+1|0}while((b|0)!=(c|0))}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027)}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+88>>2]&1023](h,a+40|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);return}function mda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)>0){e=b+76|0;b=0;do{d=f[g>>2]|0;uj[f[(f[d>>2]|0)+64>>2]&31](d,+p[(f[e>>2]|0)+(b<<3)>>3]);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[(f[e>>2]|0)+(b<<3)>>3])}else{h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[(f[e>>2]|0)+(b<<3)>>3])}b=b+1|0}while((b|0)!=(c|0))}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027)}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+88>>2]&1023](h,a+40|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);return}function nda(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;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,d);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((d|0)<=0){d=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,d);h=f[h>>2]|0;d=f[h>>2]|0;d=d+72|0;d=f[d>>2]|0;Bj[d&1023](h,1027);return}g=c+76|0;c=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[e+(c*3|0)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[e+(c*3|0)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[e+(c*3|0)+2>>0]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=c+1|0}while((c|0)!=(d|0));i=a+40|0;d=f[h>>2]|0;a=f[d>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](d,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((d|0)>0){g=c+76|0;c=0;do{if(!((c>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[i+(c*3|0)>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[i+(c*3|0)+1>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[i+(c*3|0)+2>>0]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[j+(c*3|0)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[j+(c*3|0)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[j+(c*3|0)+2>>0]|0)}c=c+1|0}while((c|0)!=(d|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;d=f[i>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function oda(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;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,d);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((d|0)<=0){d=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,d);h=f[h>>2]|0;d=f[h>>2]|0;d=d+72|0;d=f[d>>2]|0;Bj[d&1023](h,1027);return}g=c+76|0;c=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[e+(c<<2)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[e+(c<<2)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[e+(c<<2)+2>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[e+(c<<2)+3>>0]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=c+1|0}while((c|0)!=(d|0));i=a+40|0;d=f[h>>2]|0;a=f[d>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](d,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((d|0)>0){g=c+76|0;c=0;do{if(!((c>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[i+(c<<2)>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[i+(c<<2)+1>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[i+(c<<2)+2>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+20>>2]&1023](j,b[i+(c<<2)+3>>0]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[j+(c<<2)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[j+(c<<2)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[j+(c<<2)+2>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+20>>2]&1023](i,b[j+(c<<2)+3>>0]|0)}c=c+1|0}while((c|0)!=(d|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;d=f[i>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function pda(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;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,d);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((d|0)<=0){d=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,d);h=f[h>>2]|0;d=f[h>>2]|0;d=d+72|0;d=f[d>>2]|0;Bj[d&1023](h,1027);return}g=c+76|0;c=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[e+(c*3|0)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[e+(c*3|0)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[e+(c*3|0)+2>>0]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=c+1|0}while((c|0)!=(d|0));i=a+40|0;d=f[h>>2]|0;a=f[d>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](d,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((d|0)>0){g=c+76|0;c=0;do{if(!((c>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[i+(c*3|0)>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[i+(c*3|0)+1>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[i+(c*3|0)+2>>0]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[j+(c*3|0)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[j+(c*3|0)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[j+(c*3|0)+2>>0]|0)}c=c+1|0}while((c|0)!=(d|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;d=f[i>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function qda(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;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,d);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((d|0)<=0){d=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,d);h=f[h>>2]|0;d=f[h>>2]|0;d=d+72|0;d=f[d>>2]|0;Bj[d&1023](h,1027);return}g=c+76|0;c=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[e+(c<<2)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[e+(c<<2)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[e+(c<<2)+2>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[e+(c<<2)+3>>0]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=c+1|0}while((c|0)!=(d|0));i=a+40|0;d=f[h>>2]|0;a=f[d>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](d,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((d|0)>0){g=c+76|0;c=0;do{if(!((c>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[i+(c<<2)>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[i+(c<<2)+1>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[i+(c<<2)+2>>0]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+24>>2]&1023](j,b[i+(c<<2)+3>>0]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[j+(c<<2)>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[j+(c<<2)+1>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[j+(c<<2)+2>>0]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[j+(c<<2)+3>>0]|0)}c=c+1|0}while((c|0)!=(d|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;d=f[i>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function rda(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,c);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((c|0)<=0){c=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,c);h=f[h>>2]|0;c=f[h>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](h,1027);return}g=b+76|0;b=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[e+(b*6|0)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[e+(b*6|0)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[e+(b*6|0)+4>>1]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+1|0}while((b|0)!=(c|0));i=a+40|0;c=f[h>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((c|0)>0){g=b+76|0;b=0;do{if(!((b>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[i+(b*6|0)>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[i+(b*6|0)+2>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[i+(b*6|0)+4>>1]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[j+(b*6|0)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[j+(b*6|0)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[j+(b*6|0)+4>>1]|0)}b=b+1|0}while((b|0)!=(c|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;c=f[i>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function sda(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,c);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((c|0)<=0){c=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,c);h=f[h>>2]|0;c=f[h>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](h,1027);return}g=b+76|0;b=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[e+(b<<3)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[e+(b<<3)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[e+(b<<3)+4>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[e+(b<<3)+6>>1]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+1|0}while((b|0)!=(c|0));i=a+40|0;c=f[h>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((c|0)>0){g=b+76|0;b=0;do{if(!((b>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[i+(b<<3)>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[i+(b<<3)+2>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[i+(b<<3)+4>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+28>>2]&1023](j,d[i+(b<<3)+6>>1]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[j+(b<<3)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[j+(b<<3)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[j+(b<<3)+4>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+28>>2]&1023](i,d[j+(b<<3)+6>>1]|0)}b=b+1|0}while((b|0)!=(c|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;c=f[i>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function tda(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,c);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((c|0)<=0){c=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,c);h=f[h>>2]|0;c=f[h>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](h,1027);return}g=b+76|0;b=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[e+(b*6|0)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[e+(b*6|0)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[e+(b*6|0)+4>>1]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+1|0}while((b|0)!=(c|0));i=a+40|0;c=f[h>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((c|0)>0){g=b+76|0;b=0;do{if(!((b>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[i+(b*6|0)>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[i+(b*6|0)+2>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[i+(b*6|0)+4>>1]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[j+(b*6|0)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[j+(b*6|0)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[j+(b*6|0)+4>>1]|0)}b=b+1|0}while((b|0)!=(c|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;c=f[i>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function uda(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,c);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((c|0)<=0){c=a+40|0;a=f[h>>2]|0;e=f[a>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](a,c);h=f[h>>2]|0;c=f[h>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](h,1027);return}g=b+76|0;b=0;do{e=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[e+(b<<3)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[e+(b<<3)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[e+(b<<3)+4>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[e+(b<<3)+6>>1]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+1|0}while((b|0)!=(c|0));i=a+40|0;c=f[h>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,i);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}if((c|0)>0){g=b+76|0;b=0;do{if(!((b>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[g>>2]|0;j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[i+(b<<3)>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[i+(b<<3)+2>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[i+(b<<3)+4>>1]|0);j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+32>>2]&1023](j,d[i+(b<<3)+6>>1]|0)}else{j=f[g>>2]|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[j+(b<<3)>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[j+(b<<3)+2>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[j+(b<<3)+4>>1]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[j+(b<<3)+6>>1]|0)}b=b+1|0}while((b|0)!=(c|0))}j=f[h>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+40|0;i=f[h>>2]|0;c=f[i>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](i,j);j=f[h>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function vda(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[d+(b*12|0)>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[d+(b*12|0)+4>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[d+(b*12|0)+8>>2]);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;uj[f[(f[i>>2]|0)+60>>2]&31](i,+n[h+(b*12|0)>>2]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+60>>2]&31](i,+n[h+(b*12|0)+4>>2]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+60>>2]&31](i,+n[h+(b*12|0)+8>>2])}else{i=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[i+(b*12|0)>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[i+(b*12|0)+4>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[i+(b*12|0)+8>>2])}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function wda(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[d+(b<<4)>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[d+(b<<4)+4>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[d+(b<<4)+8>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[d+(b<<4)+12>>2]);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;uj[f[(f[i>>2]|0)+60>>2]&31](i,+n[h+(b<<4)>>2]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+60>>2]&31](i,+n[h+(b<<4)+4>>2]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+60>>2]&31](i,+n[h+(b<<4)+8>>2]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+60>>2]&31](i,+n[h+(b<<4)+12>>2])}else{i=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[i+(b<<4)>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[i+(b<<4)+4>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[i+(b<<4)+8>>2]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+60>>2]&31](h,+n[i+(b<<4)+12>>2])}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function xda(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[d+(b*24|0)>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[d+(b*24|0)+8>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[d+(b*24|0)+16>>3]);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;uj[f[(f[i>>2]|0)+64>>2]&31](i,+p[h+(b*24|0)>>3]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+64>>2]&31](i,+p[h+(b*24|0)+8>>3]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+64>>2]&31](i,+p[h+(b*24|0)+16>>3])}else{i=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[i+(b*24|0)>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[i+(b*24|0)+8>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[i+(b*24|0)+16>>3])}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function yda(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[d+(b<<5)>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[d+(b<<5)+8>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[d+(b<<5)+16>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[d+(b<<5)+24>>3]);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;uj[f[(f[i>>2]|0)+64>>2]&31](i,+p[h+(b<<5)>>3]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+64>>2]&31](i,+p[h+(b<<5)+8>>3]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+64>>2]&31](i,+p[h+(b<<5)+16>>3]);i=f[g>>2]|0;uj[f[(f[i>>2]|0)+64>>2]&31](i,+p[h+(b<<5)+24>>3])}else{i=f[e>>2]|0;h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[i+(b<<5)>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[i+(b<<5)+8>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[i+(b<<5)+16>>3]);h=f[g>>2]|0;uj[f[(f[h>>2]|0)+64>>2]&31](h,+p[i+(b<<5)+24>>3])}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function zda(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[d+(b*12|0)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[d+(b*12|0)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[d+(b*12|0)+8>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+36>>2]&1023](i,f[h+(b*12|0)>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+36>>2]&1023](i,f[h+(b*12|0)+4>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+36>>2]&1023](i,f[h+(b*12|0)+8>>2]|0)}else{i=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[i+(b*12|0)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[i+(b*12|0)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[i+(b*12|0)+8>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function Ada(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[d+(b<<4)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[d+(b<<4)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[d+(b<<4)+8>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[d+(b<<4)+12>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+36>>2]&1023](i,f[h+(b<<4)>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+36>>2]&1023](i,f[h+(b<<4)+4>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+36>>2]&1023](i,f[h+(b<<4)+8>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+36>>2]&1023](i,f[h+(b<<4)+12>>2]|0)}else{i=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[i+(b<<4)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[i+(b<<4)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[i+(b<<4)+8>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[i+(b<<4)+12>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function Bda(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[d+(b*12|0)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[d+(b*12|0)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[d+(b*12|0)+8>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,f[h+(b*12|0)>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,f[h+(b*12|0)+4>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,f[h+(b*12|0)+8>>2]|0)}else{i=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[i+(b*12|0)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[i+(b*12|0)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[i+(b*12|0)+8>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function Cda(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;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)<=0){c=a+40|0;a=f[g>>2]|0;d=f[a>>2]|0;d=d+88|0;d=f[d>>2]|0;Bj[d&1023](a,c);g=f[g>>2]|0;c=f[g>>2]|0;c=c+72|0;c=f[c>>2]|0;Bj[c&1023](g,1027);return}e=b+76|0;b=0;do{d=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[d+(b<<4)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[d+(b<<4)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[d+(b<<4)+8>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[d+(b<<4)+12>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0));h=a+40|0;c=f[g>>2]|0;a=f[c>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](c,h);h=f[g>>2]|0;g=f[h>>2]|0;g=g+72|0;g=f[g>>2]|0;Bj[g&1023](h,1027);return}if((c|0)>0){e=b+76|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[e>>2]|0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,f[h+(b<<4)>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,f[h+(b<<4)+4>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,f[h+(b<<4)+8>>2]|0);i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,f[h+(b<<4)+12>>2]|0)}else{i=f[e>>2]|0;h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[i+(b<<4)>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[i+(b<<4)+4>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[i+(b<<4)+8>>2]|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[i+(b<<4)+12>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+40|0;h=f[g>>2]|0;c=f[h>>2]|0;c=c+88|0;c=f[c>>2]|0;Bj[c&1023](h,i);i=f[g>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return}function Dda(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;rZa(a);f[a>>2]=330332;g=a+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;OBb(a+24|0,d);e=c+4|0;a=f[c>>2]|0;if((f[e>>2]|0)==(a|0))return;d=0;do{i=a;k=i+(d*12|0)|0;h=b[k+11>>0]|0;j=h<<24>>24<0;bCb(g,j?f[k>>2]|0:k,j?f[i+(d*12|0)+4>>2]|0:h&255)|0;cCb(g,432341)|0;d=d+1|0;a=f[c>>2]|0}while(d>>>0<(((f[e>>2]|0)-a|0)/12|0)>>>0);return}function Eda(a){a=a|0;var c=0;f[a>>2]=330332;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function Fda(a){a=a|0;var c=0;f[a>>2]=330332;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);GBb(a);return}GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Gda(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;l=u;u=u+32|0;k=l;if(!c){u=l;return}switch(f[c+52>>2]|0){case 1:{d=EBb(16)|0;f[k>>2]=d;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=d;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+13>>0]=0;f[k+12>>2]=50;b[k+16>>0]=1;d=a+292|0;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);e=f[c+60>>2]|0;g=EBb(16)|0;f[k>>2]=g;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=g;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[g+13>>0]=0;f[k+12>>2]=e;b[k+16>>0]=1;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((f[a+304>>2]|0)>96){k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+56>>2]|0)}k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+64>>2]|0);k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+68>>2]|0);k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+72>>2]&1023](k,1027);u=l;return}case 2:{d=EBb(16)|0;f[k>>2]=d;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=d;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+13>>0]=0;f[k+12>>2]=51;b[k+16>>0]=1;d=a+292|0;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);e=f[c+60>>2]|0;g=EBb(16)|0;f[k>>2]=g;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=g;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[g+13>>0]=0;f[k+12>>2]=e;b[k+16>>0]=1;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((f[a+304>>2]|0)>96){k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+56>>2]|0)}k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+80>>2]|0);Hda(a,c,(f[c+72>>2]|0)-(f[c+68>>2]|0)>>2,4);u=l;return}case 3:{d=EBb(16)|0;f[k>>2]=d;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=d;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+13>>0]=0;f[k+12>>2]=52;b[k+16>>0]=1;d=a+292|0;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);e=f[c+60>>2]|0;g=EBb(16)|0;f[k>>2]=g;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=g;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[g+13>>0]=0;f[k+12>>2]=e;b[k+16>>0]=1;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((f[a+304>>2]|0)>96){k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+56>>2]|0)}Ida(a,c,(f[c+72>>2]|0)-(f[c+68>>2]|0)|0,4);u=l;return}case 4:{d=EBb(16)|0;f[k>>2]=d;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=d;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+13>>0]=0;f[k+12>>2]=53;b[k+16>>0]=1;d=a+292|0;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);e=f[c+60>>2]|0;g=EBb(16)|0;f[k>>2]=g;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=g;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[g+13>>0]=0;f[k+12>>2]=e;b[k+16>>0]=1;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((f[a+304>>2]|0)>96){k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+56>>2]|0)}Jda(a,c,(f[c+72>>2]|0)-(f[c+68>>2]|0)>>1,4);u=l;return}case 5:{d=EBb(16)|0;f[k>>2]=d;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=d;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+13>>0]=0;f[k+12>>2]=54;b[k+16>>0]=1;d=a+292|0;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);e=f[c+60>>2]|0;g=EBb(16)|0;f[k>>2]=g;f[k+8>>2]=-2147483632;f[k+4>>2]=13;h=g;i=390306;j=h+13|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[g+13>>0]=0;f[k+12>>2]=e;b[k+16>>0]=1;j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((f[a+304>>2]|0)>96){k=f[d>>2]|0;Bj[f[(f[k>>2]|0)+36>>2]&1023](k,f[c+56>>2]|0)}Kda(a,c,(f[c+72>>2]|0)-(f[c+68>>2]|0)>>2,4);u=l;return}default:{d=EBb(64)|0;f[k>>2]=d;f[k+8>>2]=-2147483584;f[k+4>>2]=62;h=d;i=400756;j=h+62|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[d+62>>0]=0;g=EBb(36)|0;Dda(g,a+112|0,k);d=a+296|0;e=f[d>>2]|0;if(((e|0)!=(g|0)?(f[d>>2]=g,a=g+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);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);u=l;return}}}function Hda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)>0){e=b+68|0;b=0;do{d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+36>>2]&1023](d,f[(f[e>>2]|0)+(b<<2)>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){e=b+68|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}else{h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+36>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027)}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+88>>2]&1023](h,a+40|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);return}function Ida(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,d);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((d|0)>0){g=c+68|0;c=0;do{e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+24>>2]&1023](e,b[(f[g>>2]|0)+c>>0]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=c+1|0}while((c|0)!=(d|0))}}else{if((d|0)>0){g=c+68|0;c=0;do{if(!((c>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[(f[g>>2]|0)+c>>0]|0)}else{i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+24>>2]&1023](i,b[(f[g>>2]|0)+c>>0]|0)}c=c+1|0}while((c|0)!=(d|0))}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027)}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,a+40|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);return}function Jda(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0;h=a+292|0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,c);g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);if(e>>>0<=1){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);if((c|0)>0){g=b+68|0;b=0;do{e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+32>>2]&1023](e,d[(f[g>>2]|0)+(b<<1)>>1]|0);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){g=b+68|0;b=0;do{if(!((b>>>0)%(e>>>0)|0)){i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[(f[g>>2]|0)+(b<<1)>>1]|0)}else{i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+32>>2]&1023](i,d[(f[g>>2]|0)+(b<<1)>>1]|0)}b=b+1|0}while((b|0)!=(c|0))}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027)}i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,a+40|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);return}function Kda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=a+292|0;e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,c);e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);if(d>>>0<=1){d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if((c|0)>0){e=b+68|0;b=0;do{d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,f[(f[e>>2]|0)+(b<<2)>>2]|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=b+1|0}while((b|0)!=(c|0))}}else{if((c|0)>0){e=b+68|0;b=0;do{if(!((b>>>0)%(d>>>0)|0)){h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}else{h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+40>>2]&1023](h,f[(f[e>>2]|0)+(b<<2)>>2]|0)}b=b+1|0}while((b|0)!=(c|0))}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027)}h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+88>>2]&1023](h,a+40|0);h=f[g>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);return}function Lda(a,c){a=a|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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0;x=u;u=u+304|0;t=x+272|0;v=x+256|0;i=x+244|0;w=x+232|0;q=x+208|0;r=x+16|0;o=x;if(!c){u=x;return}g=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;h=Rmb(g)|0;if(h>>>0>4294967279)MBb(v);if(h>>>0<11){b[v+11>>0]=h;if(!h)e=v;else{e=v;n=7}}else{n=h+16&-16;e=EBb(n)|0;f[v>>2]=e;f[v+8>>2]=n|-2147483648;f[v+4>>2]=h;n=7}if((n|0)==7)YDb(e|0,g|0,h|0)|0;b[e+h>>0]=0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;e=i+11|0;b[e>>0]=2;d[i>>1]=14906;b[i+2>>0]=0;s=cCb(i,_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)|0;f[t>>2]=f[s>>2];f[t+4>>2]=f[s+4>>2];f[t+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;s=t+11|0;l=b[s>>0]|0;k=l<<24>>24<0;bCb(v,k?f[t>>2]|0:t,k?f[t+4>>2]|0:l&255)|0;if((b[s>>0]|0)<0)GBb(f[t>>2]|0);if((b[e>>0]|0)<0)GBb(f[i>>2]|0);b[i>>0]=0;e=Mda(a,c,i)|0;k=a+4|0;if((f[a+304>>2]|0)>94){ZBb(k,399775)|0;s=a+292|0;l=f[s>>2]|0;Bj[f[(f[l>>2]|0)+84>>2]&1023](l,k);l=f[s>>2]|0;Bj[f[(f[l>>2]|0)+68>>2]&1023](l,v);s=f[s>>2]|0;Bj[f[(f[s>>2]|0)+72>>2]&1023](s,1027)}ZBb(k,396034)|0;s=a+292|0;j=f[s>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,k);j=f[s>>2]|0;Bj[f[(f[j>>2]|0)+40>>2]&1023](j,e);j=f[s>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);j=a+296|0;if(!((f[j>>2]|0)!=0|(b[i>>0]|0)==0)){e=a+92|0;switch(f[e>>2]|0){case 2:{i=0;break}case 3:{i=1;break}case 4:{i=3;break}case 1:{i=2;break}default:i=(f[c+64>>2]|0)==2?2:0}l=c+52|0;OBb(w,l);if(!((i|0)!=3?(f[e>>2]|0)!=4:0)){g=w+11|0;e=b[g>>0]|0;h=w+4|0;if(!((e<<24>>24<0?f[h>>2]|0:e&255)|0)){if(qZa(3)|0){e=Nu(Hua(3)|0,400819,44)|0;Drb(t,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);y=utb(t,504576)|0;y=cj[f[(f[y>>2]|0)+28>>2]&1023](y,10)|0;vtb(t);ksb(e,y)|0;Krb(e)|0}ZBb(w,400864)|0}e=(YZ(0)|0)+160|0;e=Nda(c,w,f[e>>2]|0)|0;if(qZa(3)|0){z=Nu(Hua(3)|0,400874,62)|0;y=b[g>>0]|0;g=y<<24>>24<0;y=Nu(z,g?f[w>>2]|0:w,g?f[h>>2]|0:y&255)|0;Drb(t,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);h=utb(t,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(t);ksb(y,h)|0;Krb(y)|0}if(!e?qZa(2)|0:0){h=Nu(Hua(2)|0,400937,44)|0;z=b[l+11>>0]|0;y=z<<24>>24<0;z=Nu(h,y?f[l>>2]|0:l,y?f[c+56>>2]|0:z&255)|0;Drb(t,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);y=utb(t,504576)|0;y=cj[f[(f[y>>2]|0)+28>>2]&1023](y,10)|0;vtb(t);ksb(z,y)|0;Krb(z)|0}}ZBb(k,399785)|0;z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+84>>2]&1023](z,k);z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+96>>2]&1023](z,w);z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+72>>2]&1023](z,1027);ZBb(k,399794)|0;z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+84>>2]&1023](z,k);z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+36>>2]&1023](z,f[c+64>>2]|0);if(!(f[j>>2]|0)){z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+36>>2]&1023](z,i);z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+72>>2]&1023](z,1027);a:do switch(i&3){case 0:{z=f[s>>2]|0;if(_i[f[(f[z>>2]|0)+12>>2]&2047](z)|0){n=f[s>>2]|0;Bj[f[(f[n>>2]|0)+36>>2]&1023](n,f[c+68>>2]|0);n=c+72|0;m=f[s>>2]|0;Bj[f[(f[m>>2]|0)+36>>2]&1023](m,f[n>>2]|0);m=c+76|0;l=f[s>>2]|0;Bj[f[(f[l>>2]|0)+36>>2]&1023](l,f[m>>2]|0);l=c+80|0;o=f[s>>2]|0;Bj[f[(f[o>>2]|0)+36>>2]&1023](o,f[l>>2]|0);o=f[s>>2]|0;Bj[f[(f[o>>2]|0)+36>>2]&1023](o,f[c+88>>2]|0);o=c+92|0;p=f[s>>2]|0;Bj[f[(f[p>>2]|0)+40>>2]&1023](p,f[o>>2]|0);p=c+96|0;q=f[s>>2]|0;Bj[f[(f[q>>2]|0)+40>>2]&1023](q,f[p>>2]|0);q=c+100|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,f[q>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,f[c+108>>2]|0);g=hJa(c)|0;e=f[s>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,g);H$a(t,c);g=t+16|0;e=f[g>>2]|0;if(e|0){h=t+20|0;do{z=f[s>>2]|0;Fj[f[(f[z>>2]|0)+92>>2]&511](z,e,f[h>>2]|0);wZa(t);e=f[g>>2]|0}while((e|0)!=0)}z=(f[c+120>>2]|0)-(f[c+116>>2]|0)|0;k=z>>2;y=f[s>>2]|0;Bj[f[(f[y>>2]|0)+40>>2]&1023](y,k);if(!z)break a;i=0;j=0;h=f[l>>2]|0;g=f[m>>2]|0;e=f[n>>2]|0;while(1){j=(mJa(e,g,h,f[o>>2]|0,f[p>>2]|0,f[q>>2]|0,1,1)|0)+j|0;z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+40>>2]&1023](z,j);i=i+1|0;if(i>>>0>=k>>>0)break;else{h=(h|0)<2?1:h>>1;g=(g|0)<2?1:g>>1;e=(e|0)<2?1:e>>1}}}else{ZBb(k,399804)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,f[c+68>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(k,399811)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,f[c+72>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,f[c+76>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,f[c+80>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(k,399816)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,f[c+88>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(k,399838)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,f[c+92>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(k,399850)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,f[c+96>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(k,399859)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,f[c+100>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(k,399867)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+36>>2]&1023](g,f[c+108>>2]|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(k,406121)|0;g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,k);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,((f[c+120>>2]|0)-(f[c+116>>2]|0)>>2)+1|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);g=f[s>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);f[t+12>>2]=8192;f[t>>2]=0;b[t+4>>0]=0;f[t+8>>2]=0;H$a(q,c);g=q+16|0;e=f[g>>2]|0;if(e|0){h=q+20|0;i=r+11|0;do{f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;c6(t,e,f[h>>2]|0,r);z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+96>>2]&1023](z,r);if((b[i>>0]|0)<0)GBb(f[r>>2]|0);wZa(q);e=f[g>>2]|0}while((e|0)!=0)}z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+88>>2]&1023](z,a+40|0);z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+72>>2]&1023](z,1027);break a}break}case 1:{z=f[s>>2]|0;if(_i[f[(f[z>>2]|0)+12>>2]&2047](z)|0){g=f[a+300>>2]|0;e=YZ(0)|0;if((g|0)!=0?(m=f[g+112>>2]|0,(m|0)!=0):0)Kj[f[f[m>>2]>>2]&63](q,m,l,g,0);else n=50;do if((n|0)==50){e=f[e+44>>2]|0;if(!e){o6(q,0,l,g,0);break}else{Kj[f[f[e>>2]>>2]&63](q,e,l,g,0);break}}while(0);i=q+11|0;r6(r,(b[i>>0]|0)<0?f[q>>2]|0:q,12);do if(!(f[r+(f[(f[r>>2]|0)+-12>>2]|0)+16>>2]&5)){Zrb(r,0,0,2)|0;Xrb(o,r);e=f[o+8>>2]|0;z=f[s>>2]|0;Bj[f[(f[z>>2]|0)+40>>2]&1023](z,e);if(e|0){z=FBb(e)|0;Zrb(r,0,0,0)|0;Wrb(r,z,e)|0;y=f[s>>2]|0;Fj[f[(f[y>>2]|0)+92>>2]&511](y,z,e);HBb(z)}e=r+8|0;g=r+72|0;h=f[g>>2]|0;if((h|0?(p=_i[f[(f[e>>2]|0)+24>>2]&2047](e)|0,(Lpb(h)|0)==0):0)?(f[g>>2]=0,(p|0)==0):0){g=r;break}g=r+(f[(f[r>>2]|0)+-12>>2]|0)|0;Arb(g,f[g+16>>2]|4);g=r}else{if(qZa(2)|0){p=Nu(Hua(2)|0,400982,54)|0;z=b[l+11>>0]|0;y=z<<24>>24<0;z=Nu(p,y?f[l>>2]|0:l,y?f[c+56>>2]|0:z&255)|0;Drb(t,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);y=utb(t,504576)|0;y=cj[f[(f[y>>2]|0)+28>>2]&1023](y,10)|0;vtb(t);ksb(z,y)|0;Krb(z)|0}e=f[s>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,0);e=r+8|0;g=r}while(0);f[r>>2]=220812;z=r+108|0;f[z>>2]=220832;es(e);crb(g,326048);kqb(z);if((b[i>>0]|0)<0)GBb(f[q>>2]|0)}break}default:{}}while(0);f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;e=EBb(16)|0;f[t>>2]=e;f[t+8>>2]=-2147483632;f[t+4>>2]=11;g=e;h=407358;i=g+11|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[e+11>>0]=0;Oda(a,c,t);if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0)}if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0)}if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);u=x;return}function Mda(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=c;m=a+68|0;h=a+72|0;i=f[h>>2]|0;do if(i){e=h;g=i;do{k=(f[g+16>>2]|0)>>>0<c>>>0;e=k?e:g;g=f[(k?g+4|0:g)>>2]|0}while((g|0)!=0);if((e|0)!=(h|0)?(f[e+16>>2]|0)>>>0<=c>>>0:0){b[d>>0]=0;d=f[e+20>>2]|0;return d|0}k=a+76|0;j=(f[k>>2]|0)+1|0;h=a+72|0;e=i;while(1){g=f[e+16>>2]|0;if(g>>>0>c>>>0){g=f[e>>2]|0;if(!g){g=9;break}else{h=e;e=g}}else{if(g>>>0>=c>>>0){g=13;break}h=e+4|0;g=f[h>>2]|0;if(!g){g=12;break}else e=g}}if((g|0)==9){c=e;h=e;i=k;break}else if((g|0)==12){c=e;i=k;break}else if((g|0)==13){c=e;i=k;break}}else{j=a+76|0;c=h;i=j;j=(f[j>>2]|0)+1|0}while(0);e=f[h>>2]|0;if(!e){e=EBb(24)|0;f[e+16>>2]=l;f[e+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=c;f[h>>2]=e;g=f[f[m>>2]>>2]|0;if(!g)g=e;else{f[m>>2]=g;g=f[h>>2]|0}Xo(f[a+72>>2]|0,g);f[i>>2]=(f[i>>2]|0)+1}f[e+20>>2]=j;b[d>>0]=1;d=j;return d|0}function Nda(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]|0)+4>>2]&63](k,e,a,c,d);else g=4;do if((g|0)==4){e=f[j+52>>2]|0;if(!e){w1(k,j,a,c,d);break}else{Kj[f[(f[e>>2]|0)+4>>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 Oda(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;Q=u;u=u+192|0;M=Q+172|0;N=Q+160|0;O=Q+16|0;P=Q;g=(YZ(0)|0)+240|0;g=J6(f[g>>2]|0,d)|0;if(!g){if(!(qZa(2)|0)){u=Q;return}N=Nu(Hua(2)|0,401037,55)|0;P=b[d+11>>0]|0;O=P<<24>>24<0;P=Nu(N,O?f[d>>2]|0:d,O?f[d+4>>2]|0:P&255)|0;Drb(M,P+(f[(f[P>>2]|0)+-12>>2]|0)|0);O=utb(M,504576)|0;O=cj[f[(f[O>>2]|0)+28>>2]&1023](O,10)|0;vtb(M);ksb(P,O)|0;Krb(P)|0;u=Q;return}d=g+16|0;L=b[d+11>>0]|0;if((L<<24>>24<0?f[g+20>>2]|0:L&255)|0){d=P6(a+80|0,d)|0;if((d|0)==(a+84|0))L=0;else{d=d+28|0;e=8}}else{d=a+304|0;e=8}if((e|0)==8)L=f[d>>2]|0;d=f[g+44>>2]|0;n=g+40|0;e=d;if((n|0)==(e|0)){u=Q;return}o=a+96|0;p=a+116|0;q=a+120|0;r=a+100|0;s=a+104|0;t=a+112|0;v=a+296|0;w=M+4|0;x=M+8|0;y=N+4|0;z=N+8|0;A=O+64|0;B=O+8|0;C=O+12|0;D=O+4|0;E=O+64|0;F=O+136|0;G=O+140|0;H=O+44|0;I=O+60|0;J=O+8|0;K=H+11|0;a:while(1){do if((f[d+8>>2]|0)<=(L|0)?(L|0)<=(f[d+12>>2]|0):0){l=d+16|0;m=(YZ(0)|0)+240|0;m=J6(f[m>>2]|0,l)|0;if(!m){if(!(qZa(2)|0))break;j=Nu(Hua(2)|0,401093,58)|0;m=b[l+11>>0]|0;k=m<<24>>24<0;m=Nu(j,k?f[l>>2]|0:l,k?f[d+20>>2]|0:m&255)|0;Drb(M,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(M,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(M);ksb(m,l)|0;Krb(m)|0;break}if(b[o>>0]|0?(Qp(r,l)|0)==(s|0):0){f[M>>2]=0;f[w>>2]=0;f[x>>2]=0;f[N>>2]=0;f[y>>2]=0;f[z>>2]=0;d=f[m+52>>2]|0;j=m+80|0;k=m+56|0;if((d|0)==(f[k>>2]|0)){g=0;h=0;i=0;j=0;d=0}else{i=f[m+76>>2]|0;while(1){if((i|0)==(f[j>>2]|0))break;g=f[d>>2]|0;do if(f[g+20>>2]&1|0){g=_i[f[(f[g>>2]|0)+28>>2]&2047](g)|0;h=f[w>>2]|0;if((h|0)==(f[x>>2]|0))Ru(M,g);else{OBb(h,g);f[w>>2]=(f[w>>2]|0)+12}g=f[y>>2]|0;if((g|0)==(f[z>>2]|0)){Qca(N,i);break}else{f[g>>2]=f[i>>2];f[y>>2]=g+4;break}}while(0);d=d+4|0;if((d|0)==(f[k>>2]|0))break;else i=i+4|0}d=f[N>>2]|0;g=f[M>>2]|0;h=f[w>>2]|0;i=d;j=f[y>>2]|0}k=(h-g|0)/12|0;g=j-i>>2;g=k>>>0<g>>>0?k:g;if(g){f[B>>2]=323408;f[O>>2]=285412;f[A>>2]=285432;f[D>>2]=0;Brb(E,C);f[F>>2]=0;f[G>>2]=-1;f[O>>2]=323388;f[A>>2]=323428;f[B>>2]=323408;Hrb(C);f[C>>2]=304196;f[H>>2]=0;f[H+4>>2]=0;f[H+8>>2]=0;f[H+12>>2]=0;f[I>>2]=24;d=0;do{j=f[M>>2]|0;h=j+(d*12|0)|0;k=b[h+11>>0]|0;i=k<<24>>24<0;k=Nu(Nu(J,i?f[h>>2]|0:h,i?f[j+(d*12|0)+4>>2]|0:k&255)|0,428607,1)|0;Nu(bsb(k,f[(f[N>>2]|0)+(d<<2)>>2]|0)|0,432341,1)|0;d=d+1|0}while(d>>>0<g>>>0);KX(P,C);d=ck(r,l)|0;g=d+11|0;if((b[g>>0]|0)<0){b[f[d>>2]>>0]=0;f[d+4>>2]=0}else{b[d>>0]=0;b[g>>0]=0}YBb(d,0);f[d>>2]=f[P>>2];f[d+4>>2]=f[P+4>>2];f[d+8>>2]=f[P+8>>2];l=b[K>>0]|0;f[O>>2]=323388;f[A>>2]=323428;f[J>>2]=323408;f[C>>2]=304196;if(l<<24>>24<0)GBb(f[H>>2]|0);qqb(C);yrb(O,323440);kqb(A);d=f[N>>2]|0}if(d|0){f[y>>2]=d;GBb(d)}g=f[M>>2]|0;if(g|0){d=f[w>>2]|0;if((d|0)==(g|0))d=g;else{do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(g|0));d=f[M>>2]|0}f[w>>2]=g;GBb(d)}}d=m+28|0;g=f[p>>2]|0;if((g|0)==(f[q>>2]|0))Ru(t,d);else{OBb(g,d);f[p>>2]=(f[p>>2]|0)+12}Sca(m,a,c)|0;if(f[v>>2]|0){e=58;break a}d=(f[p>>2]|0)+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[p>>2]=d}while(0);d=f[e+4>>2]|0;e=d;if((n|0)==(e|0)){e=58;break}}if((e|0)==58){u=Q;return}}function Pda(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+48|0;k=m+24|0;l=m+12|0;j=m;if(!c){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;l=k+11|0;b[l>>0]=4;f[k>>2]=1280070990;b[k+4>>0]=0;c=a+292|0;a=f[c>>2]|0;Bj[f[(f[a>>2]|0)+68>>2]&1023](a,k);c=f[c>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);if((b[l>>0]|0)<0)GBb(f[k>>2]|0);u=m;return}g=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;h=Rmb(g)|0;if(h>>>0>4294967279)MBb(k);if(h>>>0<11){b[k+11>>0]=h;if(!h)e=k;else{e=k;i=10}}else{i=h+16&-16;e=EBb(i)|0;f[k>>2]=e;f[k+8>>2]=i|-2147483648;f[k+4>>2]=h;i=10}if((i|0)==10)YDb(e|0,g|0,h|0)|0;b[e+h>>0]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;e=j+11|0;b[e>>0]=2;d[j>>1]=14906;b[j+2>>0]=0;i=cCb(j,_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)|0;f[l>>2]=f[i>>2];f[l+4>>2]=f[i+4>>2];f[l+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;i=l+11|0;h=b[i>>0]|0;g=h<<24>>24<0;bCb(k,g?f[l>>2]|0:l,g?f[l+4>>2]|0:h&255)|0;if((b[i>>0]|0)<0)GBb(f[l>>2]|0);if((b[e>>0]|0)<0)GBb(f[j>>2]|0);b[l>>0]=0;j=Mda(a,c,l)|0;e=a+292|0;i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+68>>2]&1023](i,k);i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,a+24|0);i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);i=a+4|0;ZBb(i,396034)|0;h=f[e>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,i);i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+40>>2]&1023](i,j);j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);if(!(f[a+296>>2]|0)){if(b[l>>0]|0)Qda(a,c);l=f[e>>2]|0;Bj[f[(f[l>>2]|0)+88>>2]&1023](l,a+40|0);l=f[e>>2]|0;Bj[f[(f[l>>2]|0)+72>>2]&1023](l,1027)}if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);u=m;return}function Qda(a,c){a=a|0;c=c|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+24|0;k=m+12|0;l=m;g=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;h=Rmb(g)|0;if(h>>>0>4294967279)MBb(j);if(h>>>0<11){b[j+11>>0]=h;if(!h)e=j;else{e=j;i=6}}else{i=h+16&-16;e=EBb(i)|0;f[j>>2]=e;f[j+8>>2]=i|-2147483648;f[j+4>>2]=h;i=6}if((i|0)==6)YDb(e|0,g|0,h|0)|0;b[e+h>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;e=l+11|0;b[e>>0]=2;d[l>>1]=14906;b[l+2>>0]=0;i=cCb(l,_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)|0;f[k>>2]=f[i>>2];f[k+4>>2]=f[i+4>>2];f[k+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;i=k+11|0;h=b[i>>0]|0;g=h<<24>>24<0;bCb(j,g?f[k>>2]|0:k,g?f[k+4>>2]|0:h&255)|0;if((b[i>>0]|0)<0)GBb(f[k>>2]|0);if((b[e>>0]|0)<0)GBb(f[l>>2]|0);Oda(a,c,j);if((b[j+11>>0]|0)>=0){u=m;return}GBb(f[j>>2]|0);u=m;return}function Rda(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+48|0;s=v+24|0;m=v+12|0;n=v;k=a+112|0;g=f[k>>2]|0;t=a+116|0;e=f[t>>2]|0;if((e|0)!=(g|0))do{e=e+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(g|0));f[t>>2]=g;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;e=s+11|0;b[e>>0]=5;b[s>>0]=b[400140]|0;b[s+1>>0]=b[400141]|0;b[s+2>>0]=b[400142]|0;b[s+3>>0]=b[400143]|0;b[s+4>>0]=b[400144]|0;b[s+5>>0]=0;if(g>>>0>=(f[a+120>>2]|0)>>>0){Pu(k,s);if((b[e>>0]|0)<0)GBb(f[s>>2]|0)}else{f[g>>2]=f[s>>2];f[g+4>>2]=f[s+4>>2];f[g+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[t>>2]=(f[t>>2]|0)+12}r=a+292|0;e=f[r>>2]|0;if((e|0)==(c|0))e=c;else{f[r>>2]=c;if(c|0){j=c+8|0;f[j>>2]=(f[j>>2]|0)+1}if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);e=f[r>>2]|0}if(!e){e=EBb(48)|0;f[s>>2]=e;f[s+8>>2]=-2147483600;f[s+4>>2]=36;g=e;i=401152;j=g+36|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+36>>0]=0;i=EBb(36)|0;Dda(i,k,s);e=a+296|0;g=f[e>>2]|0;if(((g|0)!=(i|0)?(f[e>>2]=i,k=i+8|0,f[k>>2]=(f[k>>2]|0)+1,g|0):0)?(j=g+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(g,1,1);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0)}else e=a+296|0;if(f[e>>2]|0){u=v;return}k=f[r>>2]|0;f[k+16>>2]=a;if(_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0){g=f[r>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,d);g=f[r>>2]|0;Bj[f[(f[g>>2]|0)+40>>2]&1023](g,f[a+304>>2]|0);g=a+88|0;e=(f[g>>2]|0)!=0&1;q=(b[a+96>>0]|0)==0;j=q^1;e=q?e:e|2;if(b[a+97>>0]|0){b[c+20>>0]=1;e=e|4}q=f[r>>2]|0;Bj[f[(f[q>>2]|0)+40>>2]&1023](q,e);e=f[g>>2]|0;if(e|0?(l=f[r>>2]|0,Bj[f[(f[l>>2]|0)+40>>2]&1023](l,e),l=f[a+80>>2]|0,o=a+84|0,(l|0)!=(o|0)):0){h=l;while(1){e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+68>>2]&1023](e,h+16|0);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,f[h+28>>2]|0);e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{q=f[g>>2]|0;g=q+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(q|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(o|0))break;else h=e}}i=a+136|0;g=i+11|0;e=b[g>>0]|0;if(e<<24>>24<0)e=f[a+140>>2]|0;else e=e&255;do if(e){q=(YZ(0)|0)+240|0;if(!(Eca(f[q>>2]|0,i)|0)){if(qZa(2)|0){o=Nu(Hua(2)|0,401189,42)|0;q=b[g>>0]|0;p=q<<24>>24<0;q=Nu(o,p?f[i>>2]|0:i,p?f[a+140>>2]|0:q&255)|0;Drb(s,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);p=utb(s,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(s);ksb(q,p)|0;Krb(q)|0}if((b[g>>0]|0)<0){b[f[i>>2]>>0]=0;f[a+140>>2]=0;e=j;p=51;break}else{b[i>>0]=0;b[g>>0]=0;e=j;h=0;p=53;break}}else{e=1;p=51}}else{e=j;p=51}while(0);if((p|0)==51){g=b[g>>0]|0;if(g<<24>>24<0){g=e;e=f[a+140>>2]|0}else{h=g;p=53}}if((p|0)==53){g=e;e=h&255}if(!e){f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;q=s+11|0;b[q>>0]=1;b[s>>0]=48;b[s+1>>0]=0;p=f[r>>2]|0;Bj[f[(f[p>>2]|0)+68>>2]&1023](p,s);if((b[q>>0]|0)<0)GBb(f[s>>2]|0)}else{s=f[r>>2]|0;Bj[f[(f[s>>2]|0)+68>>2]&1023](s,i)}if(g){s=f[r>>2]|0;tj[f[(f[s>>2]|0)+100>>2]&2047](s);f[(f[r>>2]|0)+12>>2]=a+156}}else{f[s+8>>2]=0;c=s+11|0;b[c>>0]=7;b[s>>0]=b[401232]|0;b[s+1>>0]=b[401233]|0;b[s+2>>0]=b[401234]|0;b[s+3>>0]=b[401235]|0;b[s+4>>0]=b[401236]|0;b[s+5>>0]=b[401237]|0;b[s+6>>0]=b[401238]|0;b[s+7>>0]=0;switch(d|0){case 1:{ZBb(s,400182)|0;break}case 2:{ZBb(s,435510)|0;break}case 3:{ZBb(s,400188)|0;break}default:{}}k=f[r>>2]|0;Bj[f[(f[k>>2]|0)+68>>2]&1023](k,s);k=f[r>>2]|0;Bj[f[(f[k>>2]|0)+72>>2]&1023](k,1027);k=a+4|0;ZBb(k,400195)|0;e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,k);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,160);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);ZBb(k,400204)|0;e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,k);f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;e=EBb(16)|0;f[m>>2]=e;f[m+8>>2]=-2147483632;f[m+4>>2]=14;g=e;i=401240;j=g+14|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+14>>0]=0;g=f[r>>2]|0;Bj[f[(f[g>>2]|0)+68>>2]&1023](g,m);g=Q2a()|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;i=Rmb(g)|0;if(i>>>0>4294967279)MBb(n);if(i>>>0<11){b[n+11>>0]=i;if(!i)e=n;else{e=n;p=70}}else{p=i+16&-16;e=EBb(p)|0;f[n>>2]=e;f[n+8>>2]=p|-2147483648;f[n+4>>2]=i;p=70}if((p|0)==70)YDb(e|0,g|0,i|0)|0;b[e+i>>0]=0;p=f[r>>2]|0;Bj[f[(f[p>>2]|0)+68>>2]&1023](p,n);p=f[r>>2]|0;Bj[f[(f[p>>2]|0)+72>>2]&1023](p,1027);if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);if(f[a+88>>2]|0?(h=f[a+80>>2]|0,q=a+84|0,(h|0)!=(q|0)):0)while(1){ZBb(k,400215)|0;e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,k);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+68>>2]&1023](e,h+16|0);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+36>>2]&1023](e,f[h+28>>2]|0);e=f[r>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{a=f[g>>2]|0;g=a+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(a|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(q|0))break;else h=e}r=f[r>>2]|0;Bj[f[(f[r>>2]|0)+72>>2]&1023](r,1027);if((b[c>>0]|0)<0)GBb(f[s>>2]|0)}e=(f[t>>2]|0)+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[t>>2]=e;u=v;return}function Sda(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;w=u;u=u+192|0;t=w+40|0;r=w+24|0;m=w+12|0;n=w;o=a+112|0;e=f[o>>2]|0;v=a+116|0;d=f[v>>2]|0;if((d|0)!=(e|0))do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));f[v>>2]=e;s=f[a+292>>2]|0;if(!(_i[f[(f[s>>2]|0)+12>>2]&2047](s)|0)){u=w;return}p=t+64|0;s=t+8|0;f[s>>2]=323408;q=t+12|0;f[t>>2]=285412;f[p>>2]=285432;f[t+4>>2]=0;Brb(t+64|0,q);f[t+136>>2]=0;f[t+140>>2]=-1;f[t>>2]=323388;f[p>>2]=323428;f[s>>2]=323408;Hrb(q);f[q>>2]=304196;s=t+44|0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[s+12>>2]=0;f[t+60>>2]=24;l=a+96|0;if(b[l>>0]|0){e=r+11|0;b[e>>0]=10;g=r;h=402307;i=g+10|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[r+10>>0]=0;d=f[v>>2]|0;if(d>>>0>=(f[a+120>>2]|0)>>>0){Pu(o,r);if((b[e>>0]|0)<0)GBb(f[r>>2]|0)}else{f[d>>2]=f[r>>2];f[d+4>>2]=f[r+4>>2];f[d+8>>2]=f[r+8>>2];f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[v>>2]=(f[v>>2]|0)+12};f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;j=a+100|0;d=f[j>>2]|0;k=a+104|0;if((d|0)==(k|0)){g=r+11|0;d=0;e=m}else{h=m+11|0;i=m+4|0;g=d;while(1){B_(m,g+16|0,61);e=b[h>>0]|0;d=e<<24>>24<0;bCb(r,d?f[m>>2]|0:m,d?f[i>>2]|0:e&255)|0;if((b[h>>0]|0)<0)GBb(f[m>>2]|0);x=g+28|0;d=b[x+11>>0]|0;e=d<<24>>24<0;bCb(r,e?f[x>>2]|0:x,e?f[g+32>>2]|0:d&255)|0;dCb(r,10);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{x=f[e>>2]|0;e=x+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(x|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(k|0))break;else g=d}g=r+11|0;d=b[g>>0]|0;d=d<<24>>24<0?f[r+4>>2]|0:d&255;e=m}f[m>>2]=d;d=t+8|0;lsb(d,e,4)|0;lsb(d,(b[g>>0]|0)<0?f[r>>2]|0:r,f[m>>2]|0)|0;Ak(j,f[k>>2]|0);f[a+108>>2]=0;f[j>>2]=k;f[k>>2]=0;d=(f[v>>2]|0)+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[v>>2]=d;if((b[g>>0]|0)<0)GBb(f[r>>2]|0)}e=a+136|0;d=b[e+11>>0]|0;if(d<<24>>24<0)d=f[a+140>>2]|0;else d=d&255;do if(!d){if(b[l>>0]|0){KX(m,q);KX(n,a+160|0);x=n+11|0;v=b[x>>0]|0;o=v<<24>>24<0;v=bCb(m,o?f[n>>2]|0:n,o?f[n+4>>2]|0:v&255)|0;f[r>>2]=f[v>>2];f[r+4>>2]=f[v+4>>2];f[r+8>>2]=f[v+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;if((b[x>>0]|0)<0)GBb(f[n>>2]|0);if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);x=r+11|0;v=b[x>>0]|0;o=v<<24>>24<0;lsb(c,o?f[r>>2]|0:r,o?f[r+4>>2]|0:v&255)|0;if((b[x>>0]|0)<0)GBb(f[r>>2]|0)}}else{f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;d=EBb(16)|0;f[r>>2]=d;f[r+8>>2]=-2147483632;f[r+4>>2]=11;g=d;h=401255;i=g+11|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+11>>0]=0;d=f[v>>2]|0;if(d>>>0>=(f[a+120>>2]|0)>>>0){Pu(o,r);if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0)}else{f[d>>2]=f[r>>2];f[d+4>>2]=f[r+4>>2];f[d+8>>2]=f[r+8>>2];f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[v>>2]=(f[v>>2]|0)+12}d=(YZ(0)|0)+240|0;d=Eca(f[d>>2]|0,e)|0;if(!((c|0)!=0&(d|0)!=0)){d=(f[v>>2]|0)+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[v>>2]=d;break}x=f[(f[d>>2]|0)+12>>2]|0;KX(m,q);KX(n,a+160|0);e=n+11|0;l=b[e>>0]|0;k=l<<24>>24<0;l=bCb(m,k?f[n>>2]|0:n,k?f[n+4>>2]|0:l&255)|0;f[r>>2]=f[l>>2];f[r+4>>2]=f[l+4>>2];f[r+8>>2]=f[l+8>>2];f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;d=dj[x&255](d,c,r)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);if((b[e>>0]|0)<0)GBb(f[n>>2]|0);if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);if(d)d=a+296|0;else{f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;d=EBb(48)|0;f[r>>2]=d;f[r+8>>2]=-2147483600;f[r+4>>2]=40;g=d;h=401267;i=g+40|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[d+40>>0]=0;g=EBb(36)|0;Dda(g,o,r);d=a+296|0;e=f[d>>2]|0;if(((e|0)!=(g|0)?(f[d>>2]=g,x=g+8|0,f[x>>2]=(f[x>>2]|0)+1,e|0):0)?(o=e+8|0,x=f[o>>2]|0,f[o>>2]=x-1,(x|0)==1):0)Rua(e,1,1);if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0)}if(!(f[d>>2]|0)){d=(f[v>>2]|0)+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[v>>2]=d}}while(0);f[t>>2]=323388;f[p>>2]=323428;f[t+8>>2]=323408;f[q>>2]=304196;if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);qqb(q);yrb(t,323440);kqb(p);u=w;return}function Tda(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;s=u;u=u+32|0;p=s+24|0;q=s+12|0;r=s;k=(YZ(0)|0)+240|0;k=f[k>>2]|0;a=f[k+24>>2]|0;k=k+28|0;if((a|0)==(k|0)){u=s;return}l=q+4|0;m=q+8|0;n=r+4|0;o=r+8|0;j=a;while(1){i=j+16|0;d=f[j+28>>2]|0;a=b[i+11>>0]|0;h=a<<24>>24<0;Nu(Nu(c,h?f[i>>2]|0:i,h?f[j+20>>2]|0:a&255)|0,401308,2)|0;f[q>>2]=0;f[l>>2]=0;f[m>>2]=0;f[r>>2]=0;f[n>>2]=0;f[o>>2]=0;a=f[d+52>>2]|0;h=d+80|0;i=d+56|0;if((a|0)==(f[i>>2]|0)){a=0;d=0;e=0;g=0}else{g=f[d+76>>2]|0;while(1){if((g|0)==(f[h>>2]|0))break;d=f[a>>2]|0;do if(f[d+20>>2]&1|0){d=_i[f[(f[d>>2]|0)+28>>2]&2047](d)|0;e=f[l>>2]|0;if((e|0)==(f[m>>2]|0))Ru(q,d);else{OBb(e,d);f[l>>2]=(f[l>>2]|0)+12}d=f[n>>2]|0;if((d|0)==(f[o>>2]|0)){Qca(r,g);break}else{f[d>>2]=f[g>>2];f[n>>2]=d+4;break}}while(0);a=a+4|0;if((a|0)==(f[i>>2]|0))break;else g=g+4|0}a=f[q>>2]|0;d=f[l>>2]|0;e=f[r>>2]|0;g=f[n>>2]|0}i=(d-a|0)/12|0;d=g-e>>2;d=i>>>0<d>>>0?i:d;if(d|0){a=0;do{t=Nu(c,432341,1)|0;h=f[q>>2]|0;e=h+(a*12|0)|0;i=b[e+11>>0]|0;g=i<<24>>24<0;i=Nu(Nu(t,g?f[e>>2]|0:e,g?f[h+(a*12|0)+4>>2]|0:i&255)|0,428607,1)|0;bsb(i,f[(f[r>>2]|0)+(a<<2)>>2]|0)|0;a=a+1|0}while(a>>>0<d>>>0)}Drb(p,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);a=utb(p,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(p);ksb(c,a)|0;Krb(c)|0;a=f[r>>2]|0;if(a|0){f[n>>2]=a;GBb(a)}d=f[q>>2]|0;if(d|0){a=f[l>>2]|0;if((a|0)==(d|0))a=d;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(d|0));a=f[q>>2]|0}f[l>>2]=d;GBb(a)}a=f[j+4>>2]|0;if(!a){d=j+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(j|0))do{t=f[d>>2]|0;d=t+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(t|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(k|0))break;else j=a}u=s;return}function Uda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;d=g;if(!b){u=g;return}e=a+60|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;f[d>>2]=b;c=b+8|0;f[c>>2]=(f[c>>2]|0)+1;c=a+76|0;b=f[c>>2]|0;if(b>>>0<(f[a+80>>2]|0)>>>0){a=f[d>>2]|0;f[b>>2]=a;if(a){b=a+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[c>>2]|0}f[c>>2]=b+4}else Vda(a+72|0,d);b=f[d>>2]|0;if(b|0?(c=b+8|0,d=f[c>>2]|0,f[c>>2]=d-1,(d|0)==1):0)Rua(b,1,1);_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;u=g;return}function Vda(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<e>>>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 Wda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,g=0;c=f[a+212>>2]|0;if(!c)return;e=+p[b+16>>3];g=c+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;a=f[c+12>>2]|0;d=c+16|0;if((a|0)!=(d|0)){c=a;while(1){if((f[(f[c+32>>2]|0)+8>>2]|0)>1)p[c+40>>3]=e;a=f[c+4>>2]|0;if(!a){b=c+8|0;a=f[b>>2]|0;if((f[a>>2]|0)!=(c|0))do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else c=a}}_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;return}function Xda(a,b){a=a|0;b=b|0;var c=0;c=f[a+212>>2]|0;if(!c)return;Gca(c,+p[b+16>>3]-+p[a+216>>3]);return}function Yda(a){a=a|0;a=f[a+16>>2]|0;if(!a){a=0;return a|0}a=WCb(a,295088,297384,0)|0;return a|0}function Zda(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=u;u=u+16|0;h=l+12|0;k=l;i=a+44|0;OBb(k,c);j=k+11|0;g=b[j>>0]|0;c=g<<24>>24<0;e=k+4|0;if((c?f[e>>2]|0:g&255)|0){c=c?f[k>>2]|0:k;do{g=(fnb(b[c>>0]|0)|0)&255;b[c>>0]=g;c=c+1|0;g=b[j>>0]|0;m=g<<24>>24<0}while((c|0)!=((m?f[k>>2]|0:k)+(m?f[e>>2]|0:g&255)|0))}g=Qu(i,h,k)|0;c=f[g>>2]|0;if(!c){c=EBb(40)|0;e=c+16|0;f[e>>2]=f[k>>2];f[e+4>>2]=f[k+4>>2];f[e+8>>2]=f[k+8>>2];f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;e=c+28|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;e=f[h>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;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+48>>2]|0,e);m=a+52|0;f[m>>2]=(f[m>>2]|0)+1}UBb(c+28|0,d)|0;if((b[j>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function _da(a,b,c){a=a|0;b=b|0;c=c|0;UBb(ck(a+56|0,b)|0,c)|0;return}function $da(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<e>>>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 aea(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=u;u=u+16|0;h=k+4|0;i=k;j=a+120|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;e=a+68|0;b=f[e>>2]|0;g=a+72|0;if((b|0)!=(g|0)){d=b;while(1){b=f[d+4>>2]|0;c=(b|0)==0;do if((f[(f[d+16>>2]|0)+8>>2]|0)>=2)if(c){c=d+8|0;b=f[c>>2]|0;if((f[b>>2]|0)==(d|0))break;do{d=f[c>>2]|0;c=d+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(d|0))}else{while(1){c=f[b>>2]|0;if(!c)break;else b=c}break}else{if(c){c=d+8|0;b=f[c>>2]|0;if((f[b>>2]|0)!=(d|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}f[i>>2]=d;f[h>>2]=f[i>>2];bea(e,h)|0}while(0);if((b|0)==(g|0))break;else d=b}}g=a+56|0;b=f[g>>2]|0;e=a+60|0;if((b|0)==(e|0)){l=f[j>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](j)|0;u=k;return}d=b;while(1){b=f[d+4>>2]|0;c=(b|0)==0;do if((f[(f[d+16>>2]|0)+8>>2]|0)>=2)if(c){c=d+8|0;b=f[c>>2]|0;if((f[b>>2]|0)==(d|0))break;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}break}else{if(c){c=d+8|0;b=f[c>>2]|0;if((f[b>>2]|0)!=(d|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}f[i>>2]=d;f[h>>2]=f[i>>2];cea(g,h)|0}while(0);if((b|0)==(e|0))break;else d=b}l=f[j>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](j)|0;u=k;return}function bea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=f[b>>2]|0;b=f[d+4>>2]|0;if(!b){b=d+8|0;c=f[b>>2]|0;if((f[c>>2]|0)!=(d|0))do{e=f[b>>2]|0;b=e+8|0;c=f[b>>2]|0}while((f[c>>2]|0)!=(e|0))}else{while(1){c=f[b>>2]|0;if(!c)break;else b=c}c=b}if((f[a>>2]|0)==(d|0))f[a>>2]=c;b=a+8|0;f[b>>2]=(f[b>>2]|0)+-1;Zq(f[a+4>>2]|0,d);b=f[d+16>>2]|0;if(!b){GBb(d);return c|0}a=b+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1){GBb(d);return c|0}Rua(b,1,1);GBb(d);return c|0}function cea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=f[b>>2]|0;b=f[d+4>>2]|0;if(!b){b=d+8|0;c=f[b>>2]|0;if((f[c>>2]|0)!=(d|0))do{e=f[b>>2]|0;b=e+8|0;c=f[b>>2]|0}while((f[c>>2]|0)!=(e|0))}else{while(1){c=f[b>>2]|0;if(!c)break;else b=c}c=b}if((f[a>>2]|0)==(d|0))f[a>>2]=c;b=a+8|0;f[b>>2]=(f[b>>2]|0)+-1;Zq(f[a+4>>2]|0,d);b=f[d+16>>2]|0;if(!b){GBb(d);return c|0}a=b+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1){GBb(d);return c|0}Rua(b,1,1);GBb(d);return c|0}function dea(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+16|0;d=g;a=f[a+16>>2]|0;if(!a){if(!(qZa(2)|0)){u=g;return}h=Hua(2)|0;e=b[c+11>>0]|0;a=e<<24>>24<0;e=Nu(h,a?f[c>>2]|0:c,a?f[c+4>>2]|0:e&255)|0;Drb(d,e+(f[(f[e>>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(e,c)|0;Krb(e)|0;u=g;return}e=EBb(36)|0;S6(e,a+100|0,c);a=a+116|0;d=f[a>>2]|0;if((d|0)==(e|0)){u=g;return}f[a>>2]=e;h=e+8|0;f[h>>2]=(f[h>>2]|0)+1;if(!d){u=g;return}e=d+8|0;h=f[e>>2]|0;f[e>>2]=h-1;if((h|0)!=1){u=g;return}Rua(d,1,1);u=g;return}function eea(a){a=a|0;var b=0,c=0,d=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=a+4;f[a+16>>2]=0;f[a+20>>2]=0;f[a+12>>2]=a+16;lea(a);f[a+24>>2]=0;d=a+28|0;c=a+136|0;b=a+36|0;f[d>>2]=287716;f[c>>2]=287736;f[a+32>>2]=0;Brb(a+136|0,b);f[a+208>>2]=0;f[a+212>>2]=-1;f[d>>2]=220812;f[c>>2]=220832;ds(b);a=a+216|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;return}function fea(a,c){a=a|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,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,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;ha=u;u=u+48|0;ea=ha+36|0;fa=ha+24|0;Z=ha+12|0;_=ha;ca=a+12|0;e=f[ca>>2]|0;if(!e){f[ca>>2]=4;e=4}da=c+24|0;$=c+216|0;aa=$+11|0;Y=b[aa>>0]|0;ba=c+220|0;do if((f[da>>2]|0)>>>0<(Y<<24>>24<0?f[ba>>2]|0:Y&255)>>>0){s=ea+11|0;t=ea+4|0;v=ea+11|0;w=ea+2|0;x=a+56|0;y=a+60|0;z=a+52|0;A=ea+11|0;B=ea+9|0;C=ea+11|0;D=ea+3|0;E=ea+11|0;F=ea+9|0;G=ea+11|0;H=ea+2|0;I=ea+11|0;J=ea+1|0;K=ea+11|0;L=ea+1|0;M=ea+11|0;N=ea+3|0;O=ea+11|0;P=ea+2|0;Q=a+28|0;R=fa+11|0;S=fa+4|0;T=Z+11|0;U=_+11|0;V=_+4|0;W=Z+4|0;X=ea+4|0;Y=ea+4|0;e=b[aa>>0]|0;g=f[ba>>2]|0;h=f[da>>2]|0;a:while(1){f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[s>>0]=4;f[ea>>2]=757932348;b[t>>0]=0;do if(h>>>0<(e<<24>>24<0?g:e&255)>>>0){e=(nCb($,h,4,ea,4)|0)==0;if((b[s>>0]|0)<0){GBb(f[ea>>2]|0);if(!e){ga=33;break}}else if(!e){ga=33;break}i=EBb(64)|0;rZa(i);f[i>>2]=330352;r=i+16|0;e=i+44|0;f[e>>2]=0;f[i+48>>2]=0;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;f[i+40>>2]=e;f[i+52>>2]=0;f[i+56>>2]=0;f[i+60>>2]=0;f[i+12>>2]=5;f[ea>>2]=i;e=i+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0;if(e>>>0<(f[y>>2]|0)>>>0){g=f[ea>>2]|0;f[e>>2]=g;if(g){e=g+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0}f[x>>2]=e+4}else gea(z,ea);e=f[ea>>2]|0;if(e|0?(q=e+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(e,1,1);p=(f[da>>2]|0)+4|0;h=b[aa>>0]|0;q=h<<24>>24<0;r=f[ba>>2]|0;h=h&255;f[da>>2]=p>>>0<(q?r:h)>>>0?p:q?r:h;h=X;f[h>>2]=0;f[h+4>>2]=0;b[C>>0]=3;b[ea>>0]=b[401311]|0;b[ea+1>>0]=b[401312]|0;b[ea+2>>0]=b[401313]|0;b[D>>0]=0;h=hea(c,ea)|0;if((b[C>>0]|0)<0)GBb(f[ea>>2]|0);e=f[da>>2]|0;r=b[aa>>0]|0;if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0)SBb(ea,$,e,h,$);else{f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0}e=i+28|0;g=i+39|0;if((b[g>>0]|0)<0){b[f[e>>2]>>0]=0;f[i+32>>2]=0}else{b[e>>0]=0;b[g>>0]=0}YBb(e,0);f[e>>2]=f[ea>>2];f[e+4>>2]=f[ea+4>>2];f[e+8>>2]=f[ea+8>>2];if((h|0)==-1)if(qZa(3)|0){p=Nu(Hua(3)|0,401338,32)|0;o=b[g>>0]|0;r=o<<24>>24<0;o=Nu(Nu(p,r?f[e>>2]|0:e,r?f[i+32>>2]|0:o&255)|0,440221,1)|0;Drb(ea,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);r=utb(ea,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(ea);ksb(o,r)|0;Krb(o)|0;o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break}else{o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break}else{if(qZa(4)|0){p=Nu(Hua(4)|0,401315,22)|0;r=b[g>>0]|0;q=r<<24>>24<0;r=Nu(Nu(p,q?f[e>>2]|0:e,q?f[i+32>>2]|0:r&255)|0,440221,1)|0;Drb(ea,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(ea,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(ea);ksb(r,q)|0;Krb(r)|0}o=h+3+(f[da>>2]|0)|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break}}else ga=33;while(0);b:do if((ga|0)==33){ga=0;f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[v>>0]=2;d[ea>>1]=12092;b[w>>0]=0;e=f[da>>2]|0;r=b[aa>>0]|0;do if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0){e=(nCb($,e,2,ea,2)|0)==0;if((b[v>>0]|0)<0){GBb(f[ea>>2]|0);if(e){ga=38;break a}else break}else if(e){ga=38;break a}else break}while(0);f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[A>>0]=9;e=ea;g=401482;h=e+9|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[B>>0]=0;e=f[da>>2]|0;r=b[aa>>0]|0;do if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0){e=(nCb($,e,9,ea,9)|0)==0;if((b[A>>0]|0)<0){GBb(f[ea>>2]|0);if(!e)break}else if(!e)break;i=EBb(64)|0;rZa(i);f[i>>2]=330352;r=i+16|0;e=i+44|0;f[e>>2]=0;f[i+48>>2]=0;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;f[i+40>>2]=e;f[i+52>>2]=0;f[i+56>>2]=0;f[i+60>>2]=0;f[i+12>>2]=6;f[ea>>2]=i;e=i+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0;if(e>>>0<(f[y>>2]|0)>>>0){g=f[ea>>2]|0;f[e>>2]=g;if(g){e=g+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0}f[x>>2]=e+4}else gea(z,ea);e=f[ea>>2]|0;if(e|0?(q=e+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(e,1,1);e=f[da>>2]|0;r=b[aa>>0]|0;if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0)f[da>>2]=e+1;f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[I>>0]=1;b[ea>>0]=62;b[J>>0]=0;h=hea(c,ea)|0;if((b[I>>0]|0)<0)GBb(f[ea>>2]|0);e=f[da>>2]|0;r=b[aa>>0]|0;if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0)SBb(ea,$,e,h,$);else{f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0}e=i+28|0;g=i+39|0;if((b[g>>0]|0)<0){b[f[e>>2]>>0]=0;f[i+32>>2]=0}else{b[e>>0]=0;b[g>>0]=0}YBb(e,0);f[e>>2]=f[ea>>2];f[e+4>>2]=f[ea+4>>2];f[e+8>>2]=f[ea+8>>2];if((h|0)==-1)if(qZa(3)|0){p=Nu(Hua(3)|0,401519,36)|0;o=b[g>>0]|0;r=o<<24>>24<0;o=Nu(Nu(p,r?f[e>>2]|0:e,r?f[i+32>>2]|0:o&255)|0,440221,1)|0;Drb(ea,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);r=utb(ea,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(ea);ksb(o,r)|0;Krb(o)|0;o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}else{o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}else{if(qZa(4)|0){p=Nu(Hua(4)|0,401492,26)|0;r=b[g>>0]|0;q=r<<24>>24<0;r=Nu(Nu(p,q?f[e>>2]|0:e,q?f[i+32>>2]|0:r&255)|0,440221,1)|0;Drb(ea,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(ea,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(ea);ksb(r,q)|0;Krb(r)|0}o=h+2+(f[da>>2]|0)|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}}while(0);f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[E>>0]=9;e=ea;g=401556;h=e+9|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[F>>0]=0;e=f[da>>2]|0;r=b[aa>>0]|0;do if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0){e=(nCb($,e,9,ea,9)|0)==0;if((b[E>>0]|0)<0){GBb(f[ea>>2]|0);if(!e)break}else if(!e)break;i=EBb(64)|0;rZa(i);f[i>>2]=330352;r=i+16|0;e=i+44|0;f[e>>2]=0;f[i+48>>2]=0;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;f[i+40>>2]=e;f[i+52>>2]=0;f[i+56>>2]=0;f[i+60>>2]=0;f[i+12>>2]=6;f[ea>>2]=i;e=i+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0;if(e>>>0<(f[y>>2]|0)>>>0){g=f[ea>>2]|0;f[e>>2]=g;if(g){e=g+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0}f[x>>2]=e+4}else gea(z,ea);e=f[ea>>2]|0;if(e|0?(q=e+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(e,1,1);p=(f[da>>2]|0)+9|0;h=b[aa>>0]|0;q=h<<24>>24<0;r=f[ba>>2]|0;h=h&255;f[da>>2]=p>>>0<(q?r:h)>>>0?p:q?r:h;h=Y;f[h>>2]=0;f[h+4>>2]=0;b[M>>0]=3;b[ea>>0]=b[401566]|0;b[ea+1>>0]=b[401567]|0;b[ea+2>>0]=b[401568]|0;b[N>>0]=0;h=hea(c,ea)|0;if((b[M>>0]|0)<0)GBb(f[ea>>2]|0);e=f[da>>2]|0;r=b[aa>>0]|0;if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0)SBb(ea,$,e,h,$);else{f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0}e=i+28|0;g=i+39|0;if((b[g>>0]|0)<0){b[f[e>>2]>>0]=0;f[i+32>>2]=0}else{b[e>>0]=0;b[g>>0]=0}YBb(e,0);f[e>>2]=f[ea>>2];f[e+4>>2]=f[ea+4>>2];f[e+8>>2]=f[ea+8>>2];if((h|0)==-1)if(qZa(3)|0){p=Nu(Hua(3)|0,401519,36)|0;o=b[g>>0]|0;r=o<<24>>24<0;o=Nu(Nu(p,r?f[e>>2]|0:e,r?f[i+32>>2]|0:o&255)|0,440221,1)|0;Drb(ea,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);r=utb(ea,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(ea);ksb(o,r)|0;Krb(o)|0;o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}else{o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}else{if(qZa(4)|0){p=Nu(Hua(4)|0,401492,26)|0;r=b[g>>0]|0;q=r<<24>>24<0;r=Nu(Nu(p,q?f[e>>2]|0:e,q?f[i+32>>2]|0:r&255)|0,440221,1)|0;Drb(ea,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(ea,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(ea);ksb(r,q)|0;Krb(r)|0}o=h+2+(f[da>>2]|0)|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}}while(0);f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[G>>0]=2;d[ea>>1]=16188;b[H>>0]=0;e=f[da>>2]|0;r=b[aa>>0]|0;do if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0){e=(nCb($,e,2,ea,2)|0)==0;if((b[G>>0]|0)<0){GBb(f[ea>>2]|0);if(!e)break}else if(!e)break;i=EBb(64)|0;rZa(i);f[i>>2]=330352;r=i+16|0;e=i+44|0;f[e>>2]=0;f[i+48>>2]=0;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;f[i+40>>2]=e;f[i+52>>2]=0;f[i+56>>2]=0;f[i+60>>2]=0;f[i+12>>2]=6;f[ea>>2]=i;e=i+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0;if(e>>>0<(f[y>>2]|0)>>>0){g=f[ea>>2]|0;f[e>>2]=g;if(g){e=g+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0}f[x>>2]=e+4}else gea(z,ea);e=f[ea>>2]|0;if(e|0?(q=e+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(e,1,1);p=(f[da>>2]|0)+2|0;h=b[aa>>0]|0;q=h<<24>>24<0;r=f[ba>>2]|0;h=h&255;f[da>>2]=p>>>0<(q?r:h)>>>0?p:q?r:h;f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[O>>0]=2;d[ea>>1]=15935;b[P>>0]=0;h=hea(c,ea)|0;if((b[O>>0]|0)<0)GBb(f[ea>>2]|0);e=f[da>>2]|0;r=b[aa>>0]|0;if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0)SBb(ea,$,e,h,$);else{f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0}e=i+28|0;g=i+39|0;if((b[g>>0]|0)<0){b[f[e>>2]>>0]=0;f[i+32>>2]=0}else{b[e>>0]=0;b[g>>0]=0}YBb(e,0);f[e>>2]=f[ea>>2];f[e+4>>2]=f[ea+4>>2];f[e+8>>2]=f[ea+8>>2];if((h|0)==-1)if(qZa(3)|0){p=Nu(Hua(3)|0,401519,36)|0;o=b[g>>0]|0;r=o<<24>>24<0;o=Nu(Nu(p,r?f[e>>2]|0:e,r?f[i+32>>2]|0:o&255)|0,440221,1)|0;Drb(ea,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);r=utb(ea,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(ea);ksb(o,r)|0;Krb(o)|0;o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}else{o=(f[da>>2]|0)+-1|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}else{if(qZa(4)|0){p=Nu(Hua(4)|0,401492,26)|0;r=b[g>>0]|0;q=r<<24>>24<0;r=Nu(Nu(p,q?f[e>>2]|0:e,q?f[i+32>>2]|0:r&255)|0,440221,1)|0;Drb(ea,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(ea,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(ea);ksb(r,q)|0;Krb(r)|0}o=h+2+(f[da>>2]|0)|0;r=b[aa>>0]|0;p=r<<24>>24<0;q=f[ba>>2]|0;r=r&255;f[da>>2]=o>>>0<(p?q:r)>>>0?o:p?q:r;break b}}while(0);f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;b[K>>0]=1;b[ea>>0]=60;b[L>>0]=0;e=f[da>>2]|0;r=b[aa>>0]|0;do if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0){e=(nCb($,e,1,ea,1)|0)==0;if((b[K>>0]|0)<0){GBb(f[ea>>2]|0);if(!e)break}else if(!e)break;p=EBb(64)|0;rZa(p);f[p>>2]=330352;q=p+16|0;r=p+44|0;f[r>>2]=0;f[p+48>>2]=0;o=p+40|0;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;f[o>>2]=r;f[p+52>>2]=0;f[p+56>>2]=0;f[p+60>>2]=0;r=p+12|0;f[r>>2]=2;f[ea>>2]=p;e=p+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0;if(e>>>0<(f[y>>2]|0)>>>0){g=f[ea>>2]|0;f[e>>2]=g;if(g){e=g+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[x>>2]|0}f[x>>2]=e+4}else gea(z,ea);e=f[ea>>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);h=(f[da>>2]|0)+1|0;i=b[aa>>0]|0;j=i<<24>>24<0;g=f[ba>>2]|0;k=i&255;l=j?g:k;h=h>>>0<l>>>0?h:j?g:k;f[da>>2]=h;c:do if(h>>>0<l>>>0)if(j){e=f[$>>2]|0;while(1){switch(b[e+h>>0]|0){case 10:case 13:case 9:case 32:break;default:break c}h=h+1|0;f[da>>2]=h;if(h>>>0>=g>>>0)break c}}else while(1){switch(b[$+h>>0]|0){case 10:case 13:case 9:case 32:break;default:break c}h=h+1|0;f[da>>2]=h;if(h>>>0>=k>>>0)break c}while(0);if(h>>>0<l>>>0){d:while(1){e=b[(j?f[$>>2]|0:$)+h>>0]|0;if(e<<24>>24<=-1){e=i;break}switch(e<<24>>24|0){case 10:case 13:case 32:case 47:case 62:{e=i;break d}default:{}}dCb(q,e);h=f[da>>2]|0;e=b[aa>>0]|0;j=e<<24>>24<0;g=f[ba>>2]|0;i=j?g:e&255;if(h>>>0<i>>>0){h=h+1|0;f[da>>2]=h}if(h>>>0>=i>>>0)break;else i=e}j=e&255;k=e}else{j=k;k=i}i=k<<24>>24<0;e=i?g:j;if(h>>>0<e>>>0){e=i;n=h;h=k;e:while(1){k=f[$>>2]|0;j=e?k:$;i=b[j+n>>0]|0;if(i<<24>>24<=-1){j=h;h=n;break}switch(i<<24>>24|0){case 47:case 62:{j=h;h=n;break e}default:{}}l=h&255;i=e?g:l;f:do if(n>>>0<i>>>0)if(e){e=n;while(1){switch(b[k+e>>0]|0){case 10:case 13:case 9:case 32:break;default:break f}e=e+1|0;f[da>>2]=e;if(e>>>0>=g>>>0)break f}}else{e=n;while(1){switch(b[$+e>>0]|0){case 10:case 13:case 9:case 32:break;default:break f}e=e+1|0;f[da>>2]=e;if(e>>>0>=l>>>0)break f}}else e=n;while(0);f[fa>>2]=0;f[fa+4>>2]=0;f[fa+8>>2]=0;f[Z>>2]=0;f[Z+4>>2]=0;f[Z+8>>2]=0;do if(e>>>0<i>>>0){if((b[j+e>>0]|0)!=34){ga=210;break}dCb(fa,34);g=f[da>>2]|0;h=b[aa>>0]|0;i=h<<24>>24<0;j=f[ba>>2]|0;e=i?j:h&255;if(g>>>0<e>>>0){g=g+1|0;f[da>>2]=g}g:do if(g>>>0<e>>>0){k=i;while(1){e=b[(k?f[$>>2]|0:$)+g>>0]|0;if(!(e<<24>>24>-1&e<<24>>24!=34))break;do if(e<<24>>24==38){iea(0,fa,c)|0;h=b[aa>>0]|0;e=h&255;j=f[ba>>2]|0;g=f[da>>2]|0}else{dCb(fa,e);g=f[da>>2]|0;h=b[aa>>0]|0;i=f[ba>>2]|0;e=h&255;if(g>>>0>=(h<<24>>24<0?i:e)>>>0){j=i;break}g=g+1|0;f[da>>2]=g;j=i}while(0);i=h<<24>>24<0;e=i?j:e;if(g>>>0<e>>>0)k=i;else break g}i=k;e=k?j:h&255}while(0);if(g>>>0<e>>>0)e=b[(i?f[$>>2]|0:$)+g>>0]|0;else e=-1;dCb(fa,e&255);e=f[da>>2]|0;h=b[aa>>0]|0;i=f[ba>>2]|0;g=h&255;if(e>>>0>=(h<<24>>24<0?i:g)>>>0){l=g;m=i;break}e=e+1|0;f[da>>2]=e;l=g;m=i}else ga=210;while(0);do if((ga|0)==210){ga=0;i=h<<24>>24<0;if(e>>>0>=(i?g:l)>>>0){m=g;break}i=b[(i?k:$)+e>>0]|0;h:do if(i<<24>>24>-1)while(1){switch(i<<24>>24|0){case 10:case 13:case 32:case 34:case 39:case 47:case 61:case 62:break h;default:{}}dCb(fa,i);e=f[da>>2]|0;h=b[aa>>0]|0;i=h<<24>>24<0;g=f[ba>>2]|0;j=i?g:h&255;if(e>>>0<j>>>0){e=e+1|0;f[da>>2]=e}if(e>>>0>=j>>>0)break h;i=b[(i?f[$>>2]|0:$)+e>>0]|0;if(i<<24>>24<=-1)break h}while(0);l=h&255;m=g}while(0);j=h<<24>>24<0;g=j?m:l;i:do if(e>>>0<g>>>0)if(j){i=f[$>>2]|0;while(1){switch(b[i+e>>0]|0){case 10:case 13:case 9:case 32:break;default:break i}e=e+1|0;f[da>>2]=e;if(e>>>0>=m>>>0)break i}}else while(1){switch(b[$+e>>0]|0){case 10:case 13:case 9:case 32:break;default:break i}e=e+1|0;f[da>>2]=e;if(e>>>0>=l>>>0)break i}while(0);j:do if(e>>>0<g>>>0){k=f[$>>2]|0;i=j?k:$;if((b[i+e>>0]|0)!=61)break;e=e+1|0;f[da>>2]=e;k:do if(e>>>0<g>>>0)if(j)while(1){switch(b[k+e>>0]|0){case 10:case 13:case 9:case 32:break;default:break k}e=e+1|0;f[da>>2]=e;if(e>>>0>=m>>>0)break k}else while(1){switch(b[$+e>>0]|0){case 10:case 13:case 9:case 32:break;default:break k}e=e+1|0;f[da>>2]=e;if(e>>>0>=l>>>0)break k}while(0);if(e>>>0>=g>>>0)break;if((b[i+e>>0]|0)==34){e=e+1|0;f[da>>2]=e;l:do if(e>>>0<g>>>0){g=b[(j?k:$)+e>>0]|0;if(g<<24>>24>-1&g<<24>>24!=34)while(1){do if(g<<24>>24==38){iea(0,Z,c)|0;h=b[aa>>0]|0;g=h&255;i=f[ba>>2]|0;e=f[da>>2]|0}else{dCb(Z,g);e=f[da>>2]|0;h=b[aa>>0]|0;i=f[ba>>2]|0;g=h&255;if(e>>>0>=(h<<24>>24<0?i:g)>>>0)break;e=e+1|0;f[da>>2]=e}while(0);j=h<<24>>24<0;g=j?i:g;if(e>>>0>=g>>>0)break l;g=b[(j?f[$>>2]|0:$)+e>>0]|0;if(!(g<<24>>24>-1&g<<24>>24!=34)){g=i;break}}else g=m;g=j?g:h&255}while(0);if(e>>>0>=g>>>0)break;e=e+1|0;f[da>>2]=e;break}l=(b[i+e>>0]|0)==39;e=e+1|0;f[da>>2]=e;i=e>>>0<g>>>0;if(!l){if(!i)break;g=b[(j?k:$)+e>>0]|0;if(g<<24>>24<=-1)break;while(1){switch(g<<24>>24|0){case 10:case 13:case 32:case 34:case 39:case 62:break j;default:{}}dCb(Z,g);e=f[da>>2]|0;h=b[aa>>0]|0;g=h<<24>>24<0;h=g?f[ba>>2]|0:h&255;if(e>>>0<h>>>0){e=e+1|0;f[da>>2]=e}if(e>>>0>=h>>>0)break j;g=b[(g?f[$>>2]|0:$)+e>>0]|0;if(g<<24>>24<=-1)break j}}m:do if(i){g=b[(j?k:$)+e>>0]|0;if(g<<24>>24>-1&g<<24>>24!=39)while(1){do if(g<<24>>24==38){iea(0,Z,c)|0;h=b[aa>>0]|0;g=h&255;i=f[ba>>2]|0;e=f[da>>2]|0}else{dCb(Z,g);e=f[da>>2]|0;h=b[aa>>0]|0;i=f[ba>>2]|0;g=h&255;if(e>>>0>=(h<<24>>24<0?i:g)>>>0)break;e=e+1|0;f[da>>2]=e}while(0);j=h<<24>>24<0;g=j?i:g;if(e>>>0>=g>>>0)break m;g=b[(j?f[$>>2]|0:$)+e>>0]|0;if(!(g<<24>>24>-1&g<<24>>24!=39)){g=i;break}}else g=m;g=j?g:h&255}while(0);if(e>>>0>=g>>>0)break;e=e+1|0;f[da>>2]=e}while(0);do if((n|0)==(e|0)){if(qZa(3)|0){i=Nu(Hua(3)|0,401570,47)|0;e=f[da>>2]|0;n=b[aa>>0]|0;if(e>>>0<(n<<24>>24<0?f[ba>>2]|0:n&255)>>>0){SBb(_,$,e,50,$);e=b[U>>0]|0;g=f[_>>2]|0;h=f[V>>2]|0}else{f[_>>2]=0;f[_+4>>2]=0;f[_+8>>2]=0;e=0;g=0;h=0}n=e<<24>>24<0;n=Nu(i,n?g:_,n?h:e&255)|0;Drb(ea,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);m=utb(ea,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(ea);ksb(n,m)|0;Krb(n)|0;if((b[U>>0]|0)<0)GBb(f[_>>2]|0)}e=f[da>>2]|0;n=b[aa>>0]|0;if(e>>>0>=(n<<24>>24<0?f[ba>>2]|0:n&255)>>>0)break;f[da>>2]=e+1}while(0);n=b[R>>0]|0;if((n<<24>>24<0?f[S>>2]|0:n&255)|0){if(qZa(4)|0){m=Nu(Hua(4)|0,401618,17)|0;l=b[R>>0]|0;n=l<<24>>24<0;l=Nu(Nu(m,n?f[fa>>2]|0:fa,n?f[S>>2]|0:l&255)|0,401636,12)|0;n=b[T>>0]|0;m=n<<24>>24<0;n=Nu(l,m?f[Z>>2]|0:Z,m?f[W>>2]|0:n&255)|0;Drb(ea,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);m=utb(ea,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(ea);ksb(n,m)|0;Krb(n)|0}UBb(ck(o,fa)|0,Z)|0}if((b[T>>0]|0)<0)GBb(f[Z>>2]|0);if((b[R>>0]|0)<0)GBb(f[fa>>2]|0);h=f[da>>2]|0;i=b[aa>>0]|0;e=i<<24>>24<0;g=f[ba>>2]|0;if(h>>>0<(e?g:i&255)>>>0){n=h;h=i}else{j=i;break}}i=e;e=e?g:j&255}if(h>>>0>=e>>>0){ga=309;break a}e=b[(i?f[$>>2]|0:$)+h>>0]|0;if(e<<24>>24<=-1){ga=309;break a}g=e<<24>>24==47;switch(e<<24>>24|0){case 47:case 62:break;default:{ga=309;break a}}f[da>>2]=h+1;if(qZa(4)|0){m=Nu(Hua(4)|0,401649,11)|0;o=b[p+27>>0]|0;n=o<<24>>24<0;q=Nu(Nu(m,n?f[q>>2]|0:q,n?f[p+20>>2]|0:o&255)|0,440221,1)|0;Drb(ea,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(ea,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(ea);ksb(q,o)|0;Krb(q)|0}n:do if(!g){if(!(fea(p,c)|0)){e=0;ga=321;break a}}else{e=f[da>>2]|0;q=b[aa>>0]|0;g=q<<24>>24<0;do if(e>>>0<(g?f[ba>>2]|0:q&255)>>>0){if((b[(g?f[$>>2]|0:$)+e>>0]|0)!=62)break;f[da>>2]=e+1;if(qZa(4)|0){q=Nu(Hua(4)|0,401661,23)|0;Drb(ea,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);p=utb(ea,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(ea);ksb(q,p)|0;Krb(q)|0}f[r>>2]=1;break n}while(0);if(!(qZa(3)|0))break;r=Nu(Hua(3)|0,401685,34)|0;Drb(ea,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(ea,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(ea);ksb(r,q)|0;Krb(r)|0}while(0);if((f[ca>>2]|0)!=2)break b;if((f[z>>2]|0)==(f[x>>2]|0))break b;f[ca>>2]=3;break b}while(0);e=f[da>>2]|0;r=b[aa>>0]|0;g=r<<24>>24<0;if(e>>>0<(g?f[ba>>2]|0:r&255)>>>0){e=b[(g?f[$>>2]|0:$)+e>>0]|0;if(e<<24>>24==38){iea(0,Q,c)|0;break}else e=e<<24>>24}else e=-1;dCb(Q,e&255);e=f[da>>2]|0;r=b[aa>>0]|0;if(e>>>0<(r<<24>>24<0?f[ba>>2]|0:r&255)>>>0)f[da>>2]=e+1}while(0);h=f[da>>2]|0;e=b[aa>>0]|0;g=f[ba>>2]|0;if(h>>>0>=(e<<24>>24<0?g:e&255)>>>0){ga=317;break}}if((ga|0)==38){Z=(f[da>>2]|0)+2|0;ca=b[aa>>0]|0;_=ca<<24>>24<0;e=f[ba>>2]|0;ca=ca&255;f[da>>2]=Z>>>0<(_?e:ca)>>>0?Z:_?e:ca;f[ea>>2]=0;f[ea+4>>2]=0;f[ea+8>>2]=0;ca=ea+11|0;b[ca>>0]=1;b[ea>>0]=62;b[ea+1>>0]=0;e=hea(c,ea)|0;if((b[ca>>0]|0)<0)GBb(f[ea>>2]|0);g=f[da>>2]|0;ca=b[aa>>0]|0;if(g>>>0<(ca<<24>>24<0?f[ba>>2]|0:ca&255)>>>0)SBb(fa,$,g,e,$);else{f[fa>>2]=0;f[fa+4>>2]=0;f[fa+8>>2]=0}do if((e|0)==-1)if(qZa(3)|0){ca=Nu(Hua(3)|0,401387,25)|0;g=b[fa+11>>0]|0;h=g<<24>>24<0;g=Nu(Nu(ca,h?f[fa>>2]|0:fa,h?f[fa+4>>2]|0:g&255)|0,440221,1)|0;Drb(ea,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);h=utb(ea,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(ea);ksb(g,h)|0;Krb(g)|0;g=(f[da>>2]|0)+-1|0;h=b[aa>>0]|0;aa=h<<24>>24<0;ca=f[ba>>2]|0;h=h&255;e=g>>>0<(aa?ca:h)>>>0;h=aa?ca:h;break}else{g=(f[da>>2]|0)+-1|0;h=b[aa>>0]|0;aa=h<<24>>24<0;ca=f[ba>>2]|0;h=h&255;e=g>>>0<(aa?ca:h)>>>0;h=aa?ca:h;break}else{if(qZa(4)|0){_=Nu(Hua(4)|0,401371,15)|0;ca=b[fa+11>>0]|0;$=ca<<24>>24<0;ca=Nu(Nu(_,$?f[fa>>2]|0:fa,$?f[fa+4>>2]|0:ca&255)|0,440221,1)|0;Drb(ea,ca+(f[(f[ca>>2]|0)+-12>>2]|0)|0);$=utb(ea,504576)|0;$=cj[f[(f[$>>2]|0)+28>>2]&1023]($,10)|0;vtb(ea);ksb(ca,$)|0;Krb(ca)|0}g=e+1+(f[da>>2]|0)|0;h=b[aa>>0]|0;aa=h<<24>>24<0;ca=f[ba>>2]|0;h=h&255;e=g>>>0<(aa?ca:h)>>>0;h=aa?ca:h}while(0);f[da>>2]=e?g:h;e=a+16|0;m=fa+11|0;g=b[m>>0]|0;k=g<<24>>24<0;g=g&255;l=k?f[fa+4>>2]|0:g;da=b[e+11>>0]|0;h=da<<24>>24<0;o:do if((l|0)==((h?f[a+20>>2]|0:da&255)|0)){i=f[fa>>2]|0;j=k?i:fa;e=h?f[e>>2]|0:e;h=(l|0)==0;i=i&255;p:do if(k){if(!h?anb(j,e,l)|0:0){ga=61;break o}}else if(!h){if((b[e>>0]|0)!=i<<24>>24){ga=61;break o}h=fa;while(1){g=g+-1|0;h=h+1|0;if(!g)break p;e=e+1|0;if((b[h>>0]|0)!=(b[e>>0]|0)){ga=61;break o}}}while(0);if(qZa(4)|0){a=Nu(Hua(4)|0,401413,28)|0;Drb(ea,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);da=utb(ea,504576)|0;da=cj[f[(f[da>>2]|0)+28>>2]&1023](da,10)|0;vtb(ea);ksb(a,da)|0;Krb(a)|0}}else ga=61;while(0);if((ga|0)==61?qZa(3)|0:0){ga=Nu(Hua(3)|0,401442,39)|0;Drb(ea,ga+(f[(f[ga>>2]|0)+-12>>2]|0)|0);a=utb(ea,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(ea);ksb(ga,a)|0;Krb(ga)|0}if((b[m>>0]|0)<0)GBb(f[fa>>2]|0);ga=1;u=ha;return ga|0}else if((ga|0)==309){if(!(qZa(3)|0)){ga=0;u=ha;return ga|0}a=Nu(Hua(3)|0,401720,14)|0;ga=b[p+27>>0]|0;fa=ga<<24>>24<0;ga=Nu(Nu(a,fa?f[q>>2]|0:q,fa?f[p+20>>2]|0:ga&255)|0,440221,1)|0;Drb(ea,ga+(f[(f[ga>>2]|0)+-12>>2]|0)|0);fa=utb(ea,504576)|0;fa=cj[f[(f[fa>>2]|0)+28>>2]&1023](fa,10)|0;vtb(ea);ksb(ga,fa)|0;Krb(ga)|0;ga=0;u=ha;return ga|0}else if((ga|0)==317){e=f[ca>>2]|0;break}else if((ga|0)==321){u=ha;return e|0}}while(0);if((e|0)!=2){ga=0;u=ha;return ga|0}if((f[a+52>>2]|0)==(f[a+56>>2]|0)){ga=0;u=ha;return ga|0}f[ca>>2]=3;ga=0;u=ha;return ga|0}function gea(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<e>>>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 hea(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;m=f[a+24>>2]|0;i=a+216|0;e=b[i+11>>0]|0;g=e<<24>>24<0;if(g)d=f[a+220>>2]|0;else d=e&255;if(m>>>0>=d>>>0){m=-1;return m|0}if(g){a=f[a+220>>2]|0;i=f[i>>2]|0}else a=e&255;j=b[c+11>>0]|0;l=j<<24>>24<0;k=l?f[c>>2]|0:c;j=l?f[c+4>>2]|0:j&255;if(a>>>0<m>>>0){m=-1;return m|0}do if(j){d=i+m|0;l=i+a|0;g=l;a=g-d|0;if((a|0)<(j|0)){m=-1;return m|0}c=h[k>>0]|0;while(1){a=a-j+1|0;if(!a){a=-1;d=19;break}e=Ymb(d,c,a)|0;if(!e){a=-1;d=19;break}if(!(anb(e,k,j)|0)){d=16;break}d=e+1|0;a=g-d|0;if((a|0)<(j|0)){a=-1;d=19;break}}if((d|0)==16){a=e-i|0;if((e|0)==(l|0)){m=-1;return m|0}if((a|0)==-1)a=-1;else{a=a-m|0;break}return a|0}else if((d|0)==19)return a|0}else a=0;while(0);m=a;return m|0}
  6. function iea(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+16|0;q=v+12|0;t=v;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;k=d+24|0;g=f[k>>2]|0;l=d+216|0;m=l+11|0;a=b[m>>0]|0;h=a<<24>>24<0;j=d+220|0;e=f[j>>2]|0;a:do if(g>>>0<(h?e:a&255)>>>0){i=a;while(1){if(g>>>0<(h?e:i&255)>>>0){f[k>>2]=g+1;e=b[(h?f[l>>2]|0:l)+g>>0]|0;if(e<<24>>24==59){a=59;break a}else a=e<<24>>24}else{a=-1;e=-1}dCb(t,e);g=f[k>>2]|0;i=b[m>>0]|0;h=i<<24>>24<0;e=f[j>>2]|0;if(g>>>0>=(h?e:i&255)>>>0){p=3;break}}}else{a=0;p=3}while(0);if((p|0)==3)a=a&255;dCb(t,a);e=f[d+4>>2]|0;b:do if(!e)p=25;else{a=t+11|0;m=b[a>>0]|0;n=m<<24>>24<0;o=t+4|0;m=n?f[o>>2]|0:m&255;n=n?f[t>>2]|0:t;while(1){g=e+16|0;i=b[g+11>>0]|0;h=i<<24>>24<0;i=h?f[e+20>>2]|0:i&255;l=i>>>0<m>>>0;k=l?i:m;j=(k|0)==0;if(!j?(r=h?f[g>>2]|0:g,s=anb(n,r,k)|0,(s|0)!=0):0)if((s|0)<0)p=13;else{g=r;p=16}else if(m>>>0>=i>>>0)if(j)p=17;else{g=h?f[g>>2]|0:g;p=16}else p=13;if((p|0)==13)p=0;else if((p|0)==16){p=0;g=anb(g,n,k)|0;if(g)if((g|0)<0)p=19;else break;else p=17}if((p|0)==17){p=0;if(l)p=19;else break}if((p|0)==19)e=e+4|0;e=f[e>>2]|0;if(!e){p=25;break b}}e=E6(d,t)|0;e=f[e>>2]|0;if(qZa(4)|0){d=Nu(Hua(4)|0,401735,23)|0;s=b[a>>0]|0;r=s<<24>>24<0;s=Nu(Nu(d,r?f[t>>2]|0:t,r?f[o>>2]|0:s&255)|0,401759,14)|0;e=e&255;b[q>>0]=e;s=Nu(s,q,1)|0;Drb(q,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(q,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(q);ksb(s,r)|0;Krb(s)|0}else e=e&255;dCb(c,e);e=1}while(0);do if((p|0)==25)if(qZa(3)|0){s=Nu(Hua(3)|0,401774,32)|0;a=t+11|0;e=b[a>>0]|0;c=e<<24>>24<0;e=Nu(Nu(s,c?f[t>>2]|0:t,c?f[t+4>>2]|0:e&255)|0,401807,39)|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;e=0;break}else{e=0;a=t+11|0;break}while(0);if((b[a>>0]|0)>=0){u=v;return e|0}GBb(f[t>>2]|0);u=v;return e|0}function jea(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=330352;e=a+52|0;g=f[e>>2]|0;if(g|0){h=a+56|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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)}Ak(a+40|0,f[a+44>>2]|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);return}GBb(f[c>>2]|0);Uua(a);return}function kea(a){a=a|0;jea(a);GBb(a);return}function lea(a){a=a|0;var c=0,d=0,e=0;d=u;u=u+16|0;c=d;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=c+11|0;b[e>>0]=5;b[c>>0]=b[401864]|0;b[c+1>>0]=b[401865]|0;b[c+2>>0]=b[401866]|0;b[c+3>>0]=b[401867]|0;b[c+4>>0]=b[401868]|0;b[c+5>>0]=0;mea(a,c,38);if((b[e>>0]|0)<0)GBb(f[c>>2]|0);f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=c+11|0;b[e>>0]=4;f[c>>2]=997485606;b[c+4>>0]=0;mea(a,c,60);if((b[e>>0]|0)<0)GBb(f[c>>2]|0);f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=c+11|0;b[e>>0]=4;f[c>>2]=997484326;b[c+4>>0]=0;mea(a,c,62);if((b[e>>0]|0)<0)GBb(f[c>>2]|0);f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=c+11|0;b[e>>0]=6;b[c>>0]=b[401870]|0;b[c+1>>0]=b[401871]|0;b[c+2>>0]=b[401872]|0;b[c+3>>0]=b[401873]|0;b[c+4>>0]=b[401874]|0;b[c+5>>0]=b[401875]|0;b[c+6>>0]=0;mea(a,c,34);if((b[e>>0]|0)<0)GBb(f[c>>2]|0);f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=c+11|0;b[e>>0]=6;b[c>>0]=b[401877]|0;b[c+1>>0]=b[401878]|0;b[c+2>>0]=b[401879]|0;b[c+3>>0]=b[401880]|0;b[c+4>>0]=b[401881]|0;b[c+5>>0]=b[401882]|0;b[c+6>>0]=0;mea(a,c,39);if((b[e>>0]|0)<0)GBb(f[c>>2]|0);f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=c+11|0;b[e>>0]=4;f[c>>2]=996961830;b[c+4>>0]=0;mea(a,c,10);if((b[e>>0]|0)>=0){u=d;return}GBb(f[c>>2]|0);u=d;return}function mea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=E6(a,b)|0;f[i>>2]=c;i=a+12|0;e=a+16|0;d=f[e>>2]|0;do if(d){g=a+16|0;while(1){e=f[d+16>>2]|0;if((e|0)>(c|0)){e=f[d>>2]|0;if(!e){e=5;break}else{g=d;d=e}}else{if((e|0)>=(c|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|0){a=d;a=a+20|0;UBb(a,b)|0;return}e=EBb(32)|0;f[e+16>>2]=c;d=e+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>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+16>>2]|0,d);a=a+20|0;f[a>>2]=(f[a>>2]|0)+1;a=e;a=a+20|0;UBb(a,b)|0;return}function nea(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=u;u=u+240|0;d=h+228|0;e=h;eea(e);g=e+28|0;c=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;f[c+24>>2]=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2];Arb(c,0);if(!(f[g+(f[(f[g>>2]|0)+-12>>2]|0)+16>>2]&5)){a=e+216|0;do{c=Trb(g)|0;if(c>>>0<256)dCb(a,c&255)}while(!(f[g+(f[(f[g>>2]|0)+-12>>2]|0)+16>>2]&5|0))}else a=e+216|0;c=a+11|0;a=b[c>>0]|0;if((f[e+24>>2]|0)>>>0>=(a<<24>>24<0?f[e+220>>2]|0:a&255)>>>0)if(qZa(3)|0){a=Nu(Hua(3)|0,401884,31)|0;Drb(d,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(d,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(d);ksb(a,i)|0;Krb(a)|0;a=0}else a=0;else{a=EBb(64)|0;rZa(a);f[a>>2]=330352;d=a+16|0;i=a+44|0;f[i>>2]=0;f[a+48>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[a+40>>2]=i;f[a+52>>2]=0;f[a+56>>2]=0;f[a+60>>2]=0;f[a+12>>2]=0;i=a+8|0;f[i>>2]=(f[i>>2]|0)+1;fea(a,e)|0;v0a(a)|0}if((b[c>>0]|0)<0)GBb(f[e+216>>2]|0);f[g>>2]=220812;i=e+136|0;f[i>>2]=220832;es(e+36|0);crb(g,304300);kqb(i);p0(e+12|0,f[e+16>>2]|0);q0(e,f[e+4>>2]|0);u=h;return a|0}function oea(a){a=a|0;var b=0;rZa(a);f[a>>2]=330352;b=a+16|0;f[a+44>>2]=0;f[a+48>>2]=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[a+40>>2]=a+44;f[a+52>>2]=0;f[a+56>>2]=0;f[a+60>>2]=0;f[a+12>>2]=0;return}function pea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;d=u;u=u+32|0;g=d;f[g+4>>2]=0;f[g+8>>2]=0;e=g+4|0;f[g>>2]=e;f[g+16>>2]=0;f[g+20>>2]=0;h=g+16|0;f[g+12>>2]=h;lea(g);c=qea(a,g,b,c)|0;p0(g+12|0,f[h>>2]|0);q0(g,f[e>>2]|0);u=d;return c|0}function qea(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;s=u;u=u+16|0;r=s;switch(f[a+12>>2]|0){case 0:{if(!(qZa(3)|0)){d=0;u=s;return d|0}d=Nu(Hua(3)|0,401916,10)|0;Drb(r,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(d,q)|0;Krb(d)|0;d=0;u=s;return d|0}case 1:{n=b[e+11>>0]|0;o=n<<24>>24<0;n=Nu(Nu(d,o?f[e>>2]|0:e,o?f[e+4>>2]|0:n&255)|0,401927,1)|0;o=a+16|0;q=b[o+11>>0]|0;p=q<<24>>24<0;Nu(n,p?f[o>>2]|0:o,p?f[a+20>>2]|0:q&255)|0;rea(a,c,d)|0;d=Nu(d,401929,3)|0;Drb(r,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(d,q)|0;Krb(d)|0;d=1;u=s;return d|0}case 4:{g=f[a+52>>2]|0;c=a+56|0;if((g|0)==(f[c>>2]|0)){d=1;u=s;return d|0}while(1){if(!(pea(f[g>>2]|0,d,e)|0)){g=1;q=29;break}g=g+4|0;if((g|0)==(f[c>>2]|0)){g=1;q=29;break}}if((q|0)==29){u=s;return g|0}break}case 2:{k=b[e+11>>0]|0;m=k<<24>>24<0;k=Nu(Nu(d,m?f[e>>2]|0:e,m?f[e+4>>2]|0:k&255)|0,401927,1)|0;e=a+16|0;m=e+11|0;o=b[m>>0]|0;p=o<<24>>24<0;n=a+20|0;Nu(k,p?f[e>>2]|0:e,p?f[n>>2]|0:o&255)|0;rea(a,c,d)|0;Nu(d,401933,1)|0;o=a+28|0;p=o+11|0;k=b[p>>0]|0;g=k<<24>>24<0;l=a+32|0;if((g?f[l>>2]|0:k&255)|0){k=c+16|0;h=g?f[o>>2]|0:o;do{i=b[h>>0]|0;j=i<<24>>24;g=f[k>>2]|0;if(g){c=k;do{a=(f[g+16>>2]|0)<(j|0);c=a?c:g;g=f[(a?g+4|0:g)>>2]|0}while((g|0)!=0);if((c|0)!=(k|0)?(f[c+16>>2]|0)<=(j|0):0){i=c+20|0;a=b[i+11>>0]|0;j=a<<24>>24<0;Nu(d,j?f[i>>2]|0:i,j?f[c+24>>2]|0:a&255)|0}else q=17}else q=17;if((q|0)==17){q=0;ksb(d,i)|0}h=h+1|0;a=b[p>>0]|0;j=a<<24>>24<0}while((h|0)!=((j?f[o>>2]|0:o)+(j?f[l>>2]|0:a&255)|0))}p=Nu(d,401935,2)|0;d=b[m>>0]|0;q=d<<24>>24<0;d=Nu(Nu(p,q?f[e>>2]|0:e,q?f[n>>2]|0:d&255)|0,401933,1)|0;Drb(r,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(d,q)|0;Krb(d)|0;d=1;u=s;return d|0}case 3:{h=e+11|0;p=b[h>>0]|0;j=p<<24>>24<0;i=e+4|0;p=Nu(Nu(d,j?f[e>>2]|0:e,j?f[i>>2]|0:p&255)|0,401927,1)|0;j=a+16|0;k=j+11|0;g=b[k>>0]|0;q=g<<24>>24<0;l=a+20|0;Nu(p,q?f[j>>2]|0:j,q?f[l>>2]|0:g&255)|0;rea(a,c,d)|0;g=Nu(d,401933,1)|0;Drb(r,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);c=utb(r,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(r);ksb(g,c)|0;Krb(g)|0;j$(r,e,401938);g=f[a+52>>2]|0;c=a+56|0;a:do if((g|0)!=(f[c>>2]|0))do{if(!(pea(f[g>>2]|0,d,r)|0))break a;g=g+4|0}while((g|0)!=(f[c>>2]|0));while(0);if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);p=b[h>>0]|0;q=p<<24>>24<0;p=Nu(Nu(d,q?f[e>>2]|0:e,q?f[i>>2]|0:p&255)|0,401935,2)|0;d=b[k>>0]|0;q=d<<24>>24<0;d=Nu(Nu(p,q?f[j>>2]|0:j,q?f[l>>2]|0:d&255)|0,401933,1)|0;Drb(r,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(d,q)|0;Krb(d)|0;d=1;u=s;return d|0}case 5:{o=b[e+11>>0]|0;p=o<<24>>24<0;o=Nu(Nu(d,p?f[e>>2]|0:e,p?f[e+4>>2]|0:o&255)|0,401941,4)|0;p=a+28|0;d=b[p+11>>0]|0;q=d<<24>>24<0;d=Nu(Nu(o,q?f[p>>2]|0:p,q?f[a+32>>2]|0:d&255)|0,401311,3)|0;Drb(r,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(d,q)|0;Krb(d)|0;d=1;u=s;return d|0}case 6:{o=b[e+11>>0]|0;p=o<<24>>24<0;o=Nu(Nu(d,p?f[e>>2]|0:e,p?f[e+4>>2]|0:o&255)|0,401946,2)|0;p=a+28|0;d=b[p+11>>0]|0;q=d<<24>>24<0;d=Nu(Nu(o,q?f[p>>2]|0:p,q?f[a+32>>2]|0:d&255)|0,401949,2)|0;Drb(r,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(d,q)|0;Krb(d)|0;d=1;u=s;return d|0}default:{d=0;u=s;return d|0}}return 0}function rea(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;e=f[a+40>>2]|0;n=a+44|0;if((e|0)==(n|0))return 1;m=c+16|0;while(1){a=Nu(d,432341,1)|0;i=e+16|0;j=b[i+11>>0]|0;k=j<<24>>24<0;Nu(Nu(a,k?f[i>>2]|0:i,k?f[e+20>>2]|0:j&255)|0,401952,2)|0;j=e+28|0;k=j+11|0;i=b[k>>0]|0;a=i<<24>>24<0;l=e+32|0;if((a?f[l>>2]|0:i&255)|0){g=a?f[j>>2]|0:j;do{h=b[g>>0]|0;i=h<<24>>24;a=f[m>>2]|0;if(a){c=m;do{p=(f[a+16>>2]|0)<(i|0);c=p?c:a;a=f[(p?a+4|0:a)>>2]|0}while((a|0)!=0);if((c|0)!=(m|0)?(f[c+16>>2]|0)<=(i|0):0){h=c+20|0;p=b[h+11>>0]|0;i=p<<24>>24<0;Nu(d,i?f[h>>2]|0:h,i?f[c+24>>2]|0:p&255)|0}else o=11}else o=11;if((o|0)==11){o=0;ksb(d,h)|0}g=g+1|0;p=b[k>>0]|0;i=p<<24>>24<0}while((g|0)!=((i?f[j>>2]|0:j)+(i?f[l>>2]|0:p&255)|0))}Nu(d,437848,1)|0;a=f[e+4>>2]|0;if(!a){c=e+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(e|0))do{p=f[c>>2]|0;c=p+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(p|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(n|0))break;else e=a}return 1}function sea(a){a=a|0;var c=0;f[a+4>>2]=326464;f[a+8>>2]=0;b[a+12>>0]=1;_Db(a+16|0,0,260)|0;b[a+52>>0]=1;b[a+29>>0]=1;b[a+30>>0]=1;b[a+33>>0]=1;_Db(a+276|0,0,256)|0;b[a+399>>0]=1;b[a+401>>0]=1;b[a+310>>0]=1;b[a+315>>0]=1;f[a+532>>2]=326404;f[a+536>>2]=256;f[a+540>>2]=0;f[a+544>>2]=0;f[a+548>>2]=7;b[a+552>>0]=0;c=a+556|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[a>>2]=326324;f[a+580>>2]=0;f[a+584>>2]=0;f[a+576>>2]=a+580;f[a+588>>2]=0;return}function tea(a){a=a|0;var c=0,d=0;c=a+180|0;d=a+4|0;f[a>>2]=288092;f[c>>2]=288112;Brb(a+180|0,d);f[a+252>>2]=0;f[a+256>>2]=-1;f[a>>2]=288052;f[c>>2]=288072;ds(d);f[a>>2]=326492;f[c>>2]=326548;f[a+104>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+120>>2]=a+124;c=a+132|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+172>>2]=0;f[a+176>>2]=0;f[a+168>>2]=a+172;f[a+108>>2]=0;f[a+112>>2]=2;f[a+116>>2]=10;f[a+144>>2]=0;b[a+148>>0]=0;f[a+152>>2]=0;b[a+156>>0]=0;f[a+160>>2]=0;a=a+164|0;b[a>>0]=0;c=sh(396189)|0;if(!c)return;d=(cnb(c,411016)|0)==0&1;b[a>>0]=d;return}function uea(a,c){a=a|0;c=c|0;var d=0,e=0;e=a+180|0;f[e>>2]=358656;u6(a,326560,c,16);f[a>>2]=326492;f[e>>2]=326548;f[a+104>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+120>>2]=a+124;e=a+132|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a+172>>2]=0;f[a+176>>2]=0;f[a+168>>2]=a+172;f[a+108>>2]=0;f[a+112>>2]=2;f[a+116>>2]=10;f[a+144>>2]=0;b[a+148>>0]=0;f[a+152>>2]=0;b[a+156>>0]=0;f[a+160>>2]=0;a=a+164|0;b[a>>0]=0;d=sh(396189)|0;if(!d){ZBb(e,c)|0;return}d=(cnb(d,411016)|0)==0&1;b[a>>0]=d;ZBb(e,c)|0;return}function vea(a,b){a=a|0;b=b|0;var c=0;a=a+104|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(c,1,1);return}function wea(a,c){a=a|0;c=c|0;var d=0;f[a+8>>2]=c;if(!c){d=1;c=a+12|0;b[c>>0]=d;return}c=(f[c+(f[(f[c>>2]|0)+-12>>2]|0)+16>>2]|0)>>>1&1;d=a+12|0;b[d>>0]=c;return}function xea(){n[124754]=1.0;n[124755]=0.0;n[124756]=0.0;n[124757]=0.0;n[124758]=1.0;n[124759]=0.0;n[124760]=0.0;n[124761]=0.0;n[124762]=1.0;yea(499052);zea(499056);return}function yea(a){a=a|0;var b=0,c=0,d=0;f[a>>2]=0;if(!(YZ(0)|0))return;b=EBb(84)|0;bia(b);c=f[a>>2]|0;if(((c|0)!=(b|0)?(f[a>>2]=b,b=b+8|0,f[b>>2]=(f[b>>2]|0)+1,c|0):0)?(d=c+8|0,b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(c,1,1);d=YZ(0)|0;Uda(d,f[a>>2]|0);return}function zea(a){a=a|0;var b=0,c=0,d=0;f[a>>2]=0;if(!(YZ(0)|0))return;b=EBb(68)|0;Aea(b);c=f[a>>2]|0;if(((c|0)!=(b|0)?(f[a>>2]=b,b=b+8|0,f[b>>2]=(f[b>>2]|0)+1,c|0):0)?(d=c+8|0,b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(c,1,1);d=YZ(0)|0;Uda(d,f[a>>2]|0);return}function Aea(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=u;u=u+32|0;e=i+12|0;g=i;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;f[a+28>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+32>>2]=a+36;f[a+48>>2]=0;f[a+52>>2]=0;f[a+44>>2]=a+48;f[a+60>>2]=0;f[a+64>>2]=0;f[a+56>>2]=a+60;f[a>>2]=330372;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=4;f[e>>2]=845640559;b[e+4>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(48)|0;f[g>>2]=d;f[g+8>>2]=-2147483600;f[g+4>>2]=32;h=d;j=401955;k=h+32|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+32>>0]=0;Zda(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=4;f[e>>2]=1952936815;b[e+4>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(48)|0;f[g>>2]=d;f[g+8>>2]=-2147483600;f[g+4>>2]=38;h=d;j=401988;k=h+38|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+38>>0]=0;Zda(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=4;f[e>>2]=1650946927;b[e+4>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(48)|0;f[g>>2]=d;f[g+8>>2]=-2147483600;f[g+4>>2]=39;h=d;j=402027;k=h+39|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+39>>0]=0;Zda(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=4;f[e>>2]=2020045679;b[e+4>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(48)|0;f[g>>2]=d;f[g+8>>2]=-2147483600;f[g+4>>2]=36;h=d;j=402067;k=h+36|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+36>>0]=0;Zda(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=5;b[e>>0]=b[402104]|0;b[e+1>>0]=b[402105]|0;b[e+2>>0]=b[402106]|0;b[e+3>>0]=b[402107]|0;b[e+4>>0]=b[402108]|0;b[e+5>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(64)|0;f[g>>2]=d;f[g+8>>2]=-2147483584;f[g+4>>2]=54;h=d;j=402110;k=h+54|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+54>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);c=e+4|0;f[c>>2]=0;f[c+4>>2]=0;c=e+11|0;b[c>>0]=3;b[e>>0]=b[402165]|0;b[e+1>>0]=b[402166]|0;b[e+2>>0]=b[402167]|0;b[e+3>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(64)|0;f[g>>2]=d;f[g+8>>2]=-2147483584;f[g+4>>2]=52;h=d;j=402169;k=h+52|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+52>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=17;h=c;j=402222;k=h+17|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+17>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;c=EBb(80)|0;f[g>>2]=c;f[g+8>>2]=-2147483568;f[g+4>>2]=66;h=c;j=402240;k=h+66|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+66>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);c=e+11|0;b[c>>0]=10;h=e;j=402307;k=h+10|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[e+10>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(64)|0;f[g>>2]=d;f[g+8>>2]=-2147483584;f[g+4>>2]=60;h=d;j=402318;k=h+60|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+60>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=17;h=c;j=402379;k=h+17|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+17>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;c=EBb(64)|0;f[g>>2]=c;f[g+8>>2]=-2147483584;f[g+4>>2]=53;h=c;j=402397;k=h+53|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+53>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=17;h=c;j=402451;k=h+17|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+17>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;c=EBb(64)|0;f[g>>2]=c;f[g+8>>2]=-2147483584;f[g+4>>2]=56;h=c;j=402469;k=h+56|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+56>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=21;h=c;j=402526;k=h+21|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+21>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;k=EBb(256)|0;f[g>>2]=k;f[g+8>>2]=-2147483392;f[g+4>>2]=244;YDb(k|0,402548,244)|0;b[k+244>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)>=0){u=i;return}GBb(f[e>>2]|0);u=i;return}function Bea(a){a=a|0;pZ(a);GBb(a);return}function Cea(a){a=a|0;return 403468}function Dea(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;l=u;u=u+224|0;i=l+204|0;j=l+192|0;g=l+188|0;h=l;f[i>>2]=4;k=i+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;OBb(j,d);f[g>>2]=8;e=aia(c,i,j,g,e)|0;d=f[i>>2]|0;if((d|1|0)!=5){f[a>>2]=d;OBb(a+4|0,k);d=f[i+16>>2]|0;f[a+16>>2]=d;if(d|0){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1}}else{r6(h,(b[j+11>>0]|0)<0?f[j>>2]|0:j,f[g>>2]|0);Ij[f[(f[c>>2]|0)+248>>2]&127](a,c,h,e);b3(h)}if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);d=i+16|0;e=f[d>>2]|0;if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);f[d>>2]=0;if((b[k+11>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function Eea(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;l=u;u=u+224|0;i=l+204|0;j=l+192|0;g=l+188|0;h=l;f[i>>2]=4;k=i+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;OBb(j,d);f[g>>2]=8;e=aia(c,i,j,g,e)|0;d=f[i>>2]|0;if((d|1|0)!=5){f[a>>2]=d;OBb(a+4|0,k);d=f[i+16>>2]|0;f[a+16>>2]=d;if(d|0){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1}}else{r6(h,(b[j+11>>0]|0)<0?f[j>>2]|0:j,f[g>>2]|0);Ij[f[(f[c>>2]|0)+252>>2]&127](a,c,h,e);b3(h)}if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);d=i+16|0;e=f[d>>2]|0;if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);f[d>>2]=0;if((b[k+11>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function Fea(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;l=u;u=u+224|0;i=l+204|0;j=l+192|0;g=l+188|0;h=l;f[i>>2]=4;k=i+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;OBb(j,d);f[g>>2]=8;e=aia(c,i,j,g,e)|0;d=f[i>>2]|0;if((d|1|0)!=5){f[a>>2]=d;OBb(a+4|0,k);d=f[i+16>>2]|0;f[a+16>>2]=d;if(d|0){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1}}else{r6(h,(b[j+11>>0]|0)<0?f[j>>2]|0:j,f[g>>2]|0);Ij[f[(f[c>>2]|0)+260>>2]&127](a,c,h,e);b3(h)}if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);d=i+16|0;e=f[d>>2]|0;if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);f[d>>2]=0;if((b[k+11>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function Gea(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;p=u;u=u+224|0;m=p+208|0;h=p+200|0;n=p+16|0;i=p;f[m>>2]=3;o=m+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[h>>2]=16;j=Zha(c,m,e,h,g)|0;k=(j|0)==0;if(!k){g=j+8|0;f[g>>2]=(f[g>>2]|0)+1}g=f[m>>2]|0;if((g|0)==3){s6(n,(b[e+11>>0]|0)<0?f[e>>2]|0:e,f[h>>2]|0);if(!(f[n+(f[(f[n>>2]|0)+-12>>2]|0)+16>>2]&5)){Kj[f[(f[c>>2]|0)+272>>2]&63](i,c,d,n,j);f[m>>2]=f[i>>2];g=i+4|0;UBb(o,g)|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=n+4|0;c=n+68|0;d=f[c>>2]|0;if(!(((d|0)!=0?(l=_i[f[(f[g>>2]|0)+24>>2]&2047](g)|0,(Lpb(d)|0)==0):0)?(f[c>>2]=0,!(l|0)):0)){l=n+(f[(f[n>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|4)}f[a>>2]=f[m>>2];OBb(a+4|0,o)}else{f[a>>2]=2;m=a+4|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0}f3(n)}else{f[a>>2]=g;OBb(a+4|0,o)}if(!k?(m=j+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(j,1,1);if((b[o+11>>0]|0)>=0){u=p;return}GBb(f[o>>2]|0);u=p;return}function Hea(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;p=u;u=u+224|0;m=p+208|0;h=p+200|0;n=p+16|0;i=p;f[m>>2]=3;o=m+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[h>>2]=16;j=Zha(c,m,e,h,g)|0;k=(j|0)==0;if(!k){g=j+8|0;f[g>>2]=(f[g>>2]|0)+1}g=f[m>>2]|0;if((g|0)==3){s6(n,(b[e+11>>0]|0)<0?f[e>>2]|0:e,f[h>>2]|0);if(!(f[n+(f[(f[n>>2]|0)+-12>>2]|0)+16>>2]&5)){Kj[f[(f[c>>2]|0)+276>>2]&63](i,c,d,n,j);f[m>>2]=f[i>>2];g=i+4|0;UBb(o,g)|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=n+4|0;c=n+68|0;d=f[c>>2]|0;if(!(((d|0)!=0?(l=_i[f[(f[g>>2]|0)+24>>2]&2047](g)|0,(Lpb(d)|0)==0):0)?(f[c>>2]=0,!(l|0)):0)){l=n+(f[(f[n>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|4)}f[a>>2]=f[m>>2];OBb(a+4|0,o)}else{f[a>>2]=2;m=a+4|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0}f3(n)}else{f[a>>2]=g;OBb(a+4|0,o)}if(!k?(m=j+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(j,1,1);if((b[o+11>>0]|0)>=0){u=p;return}GBb(f[o>>2]|0);u=p;return}function Iea(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;p=u;u=u+224|0;m=p+208|0;h=p+200|0;n=p+16|0;i=p;f[m>>2]=3;o=m+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[h>>2]=16;j=Zha(c,m,e,h,g)|0;k=(j|0)==0;if(!k){g=j+8|0;f[g>>2]=(f[g>>2]|0)+1}g=f[m>>2]|0;if((g|0)==3){s6(n,(b[e+11>>0]|0)<0?f[e>>2]|0:e,f[h>>2]|0);if(!(f[n+(f[(f[n>>2]|0)+-12>>2]|0)+16>>2]&5)){Kj[f[(f[c>>2]|0)+284>>2]&63](i,c,d,n,j);f[m>>2]=f[i>>2];g=i+4|0;UBb(o,g)|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=n+4|0;c=n+68|0;d=f[c>>2]|0;if(!(((d|0)!=0?(l=_i[f[(f[g>>2]|0)+24>>2]&2047](g)|0,(Lpb(d)|0)==0):0)?(f[c>>2]=0,!(l|0)):0)){l=n+(f[(f[n>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|4)}f[a>>2]=f[m>>2];OBb(a+4|0,o)}else{f[a>>2]=2;m=a+4|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0}f3(n)}else{f[a>>2]=g;OBb(a+4|0,o)}if(!k?(m=j+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(j,1,1);if((b[o+11>>0]|0)>=0){u=p;return}GBb(f[o>>2]|0);u=p;return}function Jea(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;m=u;u=u+176|0;l=m+36|0;c=m+24|0;h=m+12|0;g=m;k=zga(d,e)|0;if(!k){f[a>>2]=1;l=a+4|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;u=m;return}j=k+8|0;f[j>>2]=(f[j>>2]|0)+1;C6(l,e);do if(!(Cca(l,k)|0)){d=l+116|0;e=f[d>>2]|0;if(!e){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;break}j$(h,e+24|0,402793);g=f[d>>2]|0;d=g+12|0;i=b[d+11>>0]|0;e=i<<24>>24<0;i=bCb(h,e?f[d>>2]|0:d,e?f[g+16>>2]|0:i&255)|0;f[c>>2]=f[i>>2];f[c+4>>2]=f[i+4>>2];f[c+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a>>2]=3;OBb(a+4|0,c);f[a+16>>2]=0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}else{Dca(l);e=l+116|0;d=f[e>>2]|0;if(d|0){j$(h,d+24|0,402793);g=f[e>>2]|0;d=g+12|0;i=b[d+11>>0]|0;e=i<<24>>24<0;i=bCb(h,e?f[d>>2]|0:d,e?f[g+16>>2]|0:i&255)|0;f[c>>2]=f[i>>2];f[c+4>>2]=f[i+4>>2];f[c+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a>>2]=3;OBb(a+4|0,c);f[a+16>>2]=0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}Bca(c,l,0);d=f[e>>2]|0;if(!d){f[a>>2]=4;d=a+4|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;d=f[c>>2]|0;f[a+16>>2]=d;if(d){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1;d=c;i=25}}else{j$(g,d+24|0,402793);e=f[e>>2]|0;n=e+12|0;i=b[n+11>>0]|0;d=i<<24>>24<0;i=bCb(g,d?f[n>>2]|0:n,d?f[e+16>>2]|0:i&255)|0;f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];f[h+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a>>2]=3;OBb(a+4|0,h);f[a+16>>2]=0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);d=c;i=25}if((i|0)==25){c=f[d>>2]|0;if((c|0)!=0?(i=c+8|0,n=f[i>>2]|0,f[i>>2]=n-1,(n|0)==1):0){Rua(c,1,1);c=d}else c=d}f[c>>2]=0}while(0);T3(l);n=f[j>>2]|0;f[j>>2]=n-1;if((n|0)!=1){u=m;return}Rua(k,1,1);u=m;return}function Kea(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;m=u;u=u+176|0;l=m+36|0;c=m+24|0;h=m+12|0;g=m;k=zga(d,e)|0;if(!k){f[a>>2]=1;l=a+4|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;u=m;return}j=k+8|0;f[j>>2]=(f[j>>2]|0)+1;C6(l,e);do if((Cca(l,k)|0)!=2){d=l+116|0;e=f[d>>2]|0;if(!e){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;break}j$(h,e+24|0,402793);g=f[d>>2]|0;d=g+12|0;i=b[d+11>>0]|0;e=i<<24>>24<0;i=bCb(h,e?f[d>>2]|0:d,e?f[g+16>>2]|0:i&255)|0;f[c>>2]=f[i>>2];f[c+4>>2]=f[i+4>>2];f[c+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a>>2]=3;OBb(a+4|0,c);f[a+16>>2]=0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}else{Dca(l);e=l+116|0;d=f[e>>2]|0;if(d|0){j$(h,d+24|0,402793);g=f[e>>2]|0;d=g+12|0;i=b[d+11>>0]|0;e=i<<24>>24<0;i=bCb(h,e?f[d>>2]|0:d,e?f[g+16>>2]|0:i&255)|0;f[c>>2]=f[i>>2];f[c+4>>2]=f[i+4>>2];f[c+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a>>2]=3;OBb(a+4|0,c);f[a+16>>2]=0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}xca(c,l,1);d=f[e>>2]|0;if(!d){f[a>>2]=4;d=a+4|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;d=f[c>>2]|0;f[a+16>>2]=d;if(d){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1;d=c;i=25}}else{j$(g,d+24|0,402793);e=f[e>>2]|0;n=e+12|0;i=b[n+11>>0]|0;d=i<<24>>24<0;i=bCb(g,d?f[n>>2]|0:n,d?f[e+16>>2]|0:i&255)|0;f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];f[h+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a>>2]=3;OBb(a+4|0,h);f[a+16>>2]=0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);d=c;i=25}if((i|0)==25){c=f[d>>2]|0;if((c|0)!=0?(i=c+8|0,n=f[i>>2]|0,f[i>>2]=n-1,(n|0)==1):0){Rua(c,1,1);c=d}else c=d}f[c>>2]=0}while(0);T3(l);n=f[j>>2]|0;f[j>>2]=n-1;if((n|0)!=1){u=m;return}Rua(k,1,1);u=m;return}function Lea(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;l=u;u=u+160|0;h=l+144|0;k=l+12|0;i=l;j=zga(d,e)|0;if(!j){f[a>>2]=1;k=a+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;u=l;return}g=j+8|0;f[g>>2]=(f[g>>2]|0)+1;C6(k,e);a:do if((Cca(k,j)|0|2|0)==3){Dca(k);e=k+116|0;c=f[e>>2]|0;if(c|0){j$(i,c+24|0,402793);d=f[e>>2]|0;m=d+12|0;e=b[m+11>>0]|0;c=e<<24>>24<0;e=bCb(i,c?f[m>>2]|0:m,c?f[d+16>>2]|0:e&255)|0;f[h>>2]=f[e>>2];f[h+4>>2]=f[e+4>>2];f[h+8>>2]=f[e+8>>2];f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a>>2]=3;OBb(a+4|0,h);f[a+16>>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);break}Bca(h,k,0);c=f[h>>2]|0;do if(c){d=WCb(c,295088,295136,0)|0;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[h>>2]|0;if(!c)break}else d=0;n=c+8|0;m=f[n>>2]|0;f[n>>2]=m-1;if((m|0)==1)Rua(c,1,1)}else d=0;while(0);c=f[e>>2]|0;do if(!c)if(!d){f[a>>2]=1;n=a+4|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;break a}else{f[a>>2]=4;c=a+4|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+16>>2]=d;c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;break}else{j$(i,c+24|0,402793);m=f[e>>2]|0;c=m+12|0;n=b[c+11>>0]|0;e=n<<24>>24<0;n=bCb(i,e?f[c>>2]|0:c,e?f[m+16>>2]|0:n&255)|0;f[h>>2]=f[n>>2];f[h+4>>2]=f[n+4>>2];f[h+8>>2]=f[n+8>>2];f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[a>>2]=3;OBb(a+4|0,h);f[a+16>>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(!d)break a;c=d+8|0}while(0);n=f[c>>2]|0;f[c>>2]=n-1;if((n|0)==1)Rua(d,1,1)}else{c=k+116|0;d=f[c>>2]|0;if(!d){f[a>>2]=1;n=a+4|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;break}j$(i,d+24|0,402793);m=f[c>>2]|0;d=m+12|0;n=b[d+11>>0]|0;e=n<<24>>24<0;n=bCb(i,e?f[d>>2]|0:d,e?f[m+16>>2]|0:n&255)|0;f[h>>2]=f[n>>2];f[h+4>>2]=f[n+4>>2];f[h+8>>2]=f[n+8>>2];f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[a>>2]=3;OBb(a+4|0,h);f[a+16>>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)}while(0);T3(k);n=f[g>>2]|0;f[g>>2]=n-1;if((n|0)!=1){u=l;return}Rua(j,1,1);u=l;return}function Mea(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;m=u;u=u+512|0;i=m+200|0;j=m+16|0;h=m;k=Pea(e,g)|0;l=k+8|0;f[l>>2]=(f[l>>2]|0)+1;$ca(i,g);Rda(i,k,3);g=i+296|0;c=f[g>>2]|0;do if(!c){Pda(i,d);c=f[g>>2]|0;if(c|0){j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}Sda(i,e);c=f[g>>2]|0;if(c|0){j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}tj[f[(f[k>>2]|0)+100>>2]&2047](k);c=i+124|0;h=b[c+11>>0]|0;g=h<<24>>24<0;if((g?f[i+128>>2]|0:h&255)|0){s6(j,g?f[c>>2]|0:c,16);if(!(f[j+(f[(f[j>>2]|0)+-12>>2]|0)+16>>2]&5))Tda(i,j);c=j+4|0;g=j+68|0;d=f[g>>2]|0;if(!(((d|0)!=0?(n=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0,(Lpb(d)|0)==0):0)?(f[g>>2]=0,!(n|0)):0)){n=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;Arb(n,f[n+16>>2]|4)}f3(j)}if(!(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5)){f[a>>2]=3;e=a+4|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;break}else{f[a>>2]=2;e=a+4|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;break}}else{j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}while(0);a4(i);e=f[l>>2]|0;f[l>>2]=e-1;if((e|0)!=1){u=m;return}Rua(k,1,1);u=m;return}function Nea(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;m=u;u=u+512|0;i=m+200|0;j=m+16|0;h=m;k=Pea(e,g)|0;l=k+8|0;f[l>>2]=(f[l>>2]|0)+1;$ca(i,g);Rda(i,k,2);g=i+296|0;c=f[g>>2]|0;do if(!c){Lda(i,d);c=f[g>>2]|0;if(c|0){j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}Sda(i,e);c=f[g>>2]|0;if(c|0){j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}tj[f[(f[k>>2]|0)+100>>2]&2047](k);c=i+124|0;h=b[c+11>>0]|0;g=h<<24>>24<0;if((g?f[i+128>>2]|0:h&255)|0){s6(j,g?f[c>>2]|0:c,16);if(!(f[j+(f[(f[j>>2]|0)+-12>>2]|0)+16>>2]&5))Tda(i,j);c=j+4|0;g=j+68|0;d=f[g>>2]|0;if(!(((d|0)!=0?(n=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0,(Lpb(d)|0)==0):0)?(f[g>>2]=0,!(n|0)):0)){n=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;Arb(n,f[n+16>>2]|4)}f3(j)}if(!(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5)){f[a>>2]=3;e=a+4|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;break}else{f[a>>2]=2;e=a+4|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;break}}else{j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}while(0);a4(i);e=f[l>>2]|0;f[l>>2]=e-1;if((e|0)!=1){u=m;return}Rua(k,1,1);u=m;return}function Oea(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;m=u;u=u+512|0;i=m+200|0;j=m+16|0;h=m;k=Pea(e,g)|0;l=k+8|0;f[l>>2]=(f[l>>2]|0)+1;$ca(i,g);Rda(i,k,1);g=i+296|0;c=f[g>>2]|0;do if(!c){Pda(i,d);c=f[g>>2]|0;if(c|0){j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}Sda(i,e);c=f[g>>2]|0;if(c|0){j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);break}tj[f[(f[k>>2]|0)+100>>2]&2047](k);c=i+124|0;h=b[c+11>>0]|0;g=h<<24>>24<0;if((g?f[i+128>>2]|0:h&255)|0){s6(j,g?f[c>>2]|0:c,16);if(!(f[j+(f[(f[j>>2]|0)+-12>>2]|0)+16>>2]&5))Tda(i,j);c=j+4|0;g=j+68|0;d=f[g>>2]|0;if(!(((d|0)!=0?(n=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0,(Lpb(d)|0)==0):0)?(f[g>>2]=0,!(n|0)):0)){n=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;Arb(n,f[n+16>>2]|4)}f3(j)}if(!(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5)){f[a>>2]=3;e=a+4|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;break}else{f[a>>2]=2;e=a+4|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;break}}else{j$(h,c+24|0,402793);n=f[g>>2]|0;g=n+12|0;e=b[g+11>>0]|0;d=e<<24>>24<0;e=bCb(h,d?f[g>>2]|0:g,d?f[n+16>>2]|0:e&255)|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;f[a>>2]=2;OBb(a+4|0,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}while(0);a4(i);e=f[l>>2]|0;f[l>>2]=e-1;if((e|0)!=1){u=m;return}Rua(k,1,1);u=m;return}function Pea(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;s=u;u=u+176|0;p=s;q=s+164|0;r=s+152|0;n=s+140|0;f[q>>2]=-1;if(!c){f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0}else{l=p+60|0;m=p+8|0;f[p>>2]=276076;f[l>>2]=276096;f[p+4>>2]=0;Brb(p+60|0,m);f[p+132>>2]=0;f[p+136>>2]=-1;f[p>>2]=304144;f[l>>2]=304164;Hrb(m);f[m>>2]=304196;i=p+40|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[p+56>>2]=8;Nr(m,c+32|0);f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;j=r+11|0;k=r+4|0;while(1){e=Qea(p,r)|0;h=b[j>>0]|0;g=h<<24>>24<0;if(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5|0)break;e=f[k>>2]|0;d=h&255;if(((g?e:d)|0)==9)if(!(nCb(r,0,-1,402798,9)|0))o=10;else{g=b[j>>0]|0;d=g&255;e=f[k>>2]|0;o=7}else{g=h;o=7}if(((o|0)==7?(o=0,((g<<24>>24<0?e:d)|0)==9):0)?(nCb(r,0,-1,402808,9)|0)==0:0)o=10;if((o|0)==10){o=0;Prb(p,q)|0}}if(g)GBb(f[r>>2]|0);f[p>>2]=304144;f[l>>2]=304164;f[m>>2]=304196;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);qqb(m);crb(p,304176);kqb(l);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;d=p+11|0;b[d>>0]=8;e=p;f[e>>2]=1701603686;f[e+4>>2]=1701869908;b[p+8>>0]=0;e=Qp(c+100|0,p)|0;if((e|0)==(c+104|0)){f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0}else OBb(r,e+28|0);if((b[d>>0]|0)<0)GBb(f[p>>2]|0)}i=r+11|0;g=b[i>>0]|0;h=r+4|0;d=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?d:e)|0)==5){if(nCb(r,0,-1,402104,5)|0){g=b[i>>0]|0;e=g&255;d=f[h>>2]|0;o=29;break};f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=n+11|0;b[c>>0]=6;b[n>>0]=b[402818]|0;b[n+1>>0]=b[402819]|0;b[n+2>>0]=b[402820]|0;b[n+3>>0]=b[402821]|0;b[n+4>>0]=b[402822]|0;b[n+5>>0]=b[402823]|0;b[n+6>>0]=0;m=Nu(a,n,6)|0;b[p>>0]=32;Nu(m,p,1)|0;if((b[c>>0]|0)<0)GBb(f[n>>2]|0);d=EBb(28)|0;e=f[q>>2]|0;rZa(d);f[d+16>>2]=0;b[d+20>>0]=0;f[d>>2]=330676;b[d+21>>0]=0;f[d+24>>2]=0;f[d+12>>2]=a;if((e|0)>0)f[a+(f[(f[a>>2]|0)+-12>>2]|0)+8>>2]=e}else o=29;while(0);do if((o|0)==29){if(((g<<24>>24<0?d:e)|0)==3?(nCb(r,0,-1,402165,3)|0)==0:0){d=EBb(48)|0;e=d;g=402825;h=e+39|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[d+39>>0]=0;o=Nu(a,d,39)|0;Drb(p,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(p,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(p);ksb(o,n)|0;Krb(o)|0;GBb(d);d=EBb(196)|0;Rea(d,a,f[q>>2]|0);break}f[p>>2]=1821445793;f[n>>2]=452674885;lsb(a,p,4)|0;lsb(a,n,4)|0;d=EBb(36)|0;rZa(d);f[d+16>>2]=0;b[d+20>>0]=0;f[d>>2]=330788;f[d+24>>2]=0;f[d+28>>2]=0;f[d+32>>2]=0;f[d+12>>2]=a}while(0);if((b[i>>0]|0)>=0){u=s;return d|0}GBb(f[r>>2]|0);u=s;return d|0}function Qea(a,c){a=a|0;c=c|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+16|0;l=m+4|0;g=m;Jrb(l,a,0);if(!(b[l>>0]|0)){c=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(c,f[c+16>>2]|4);u=m;return a|0}e=c+11|0;if((b[e>>0]|0)<0){b[f[c>>2]>>0]=0;f[c+4>>2]=0}else{b[c>>0]=0;b[e>>0]=0}e=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;l=f[e+12>>2]|0;l=(l|0)<1?2147483647:l;Drb(g,e);e=utb(g,504576)|0;vtb(g);a:do if((l|0)>0){k=e+8|0;e=0;while(1){g=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;i=f[g+12>>2]|0;if((i|0)==(f[g+16>>2]|0)){g=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;if((g|0)==-1){g=2;break a}}else g=h[i>>0]|0;i=g&255;if(i<<24>>24>-1?d[(f[k>>2]|0)+(g<<24>>24<<1)>>1]&8192:0){g=0;break a}dCb(c,i);e=e+1|0;g=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;i=g+12|0;j=f[i>>2]|0;if((j|0)==(f[g+16>>2]|0))_i[f[(f[g>>2]|0)+40>>2]&2047](g)|0;else f[i>>2]=j+1;if((e|0)>=(l|0)){e=1;g=0;break}}}else{e=0;g=0}while(0);c=(f[a>>2]|0)+-12|0;f[a+(f[c>>2]|0)+12>>2]=0;c=a+(f[c>>2]|0)|0;Arb(c,f[c+16>>2]|((e|0)==0?g|4:g));u=m;return a|0}function Rea(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;rZa(a);h=a+12|0;f[h>>2]=0;f[a+16>>2]=0;b[a+20>>0]=0;f[a>>2]=330908;i=a+24|0;g=a+36|0;e=a+40|0;k=a+104|0;j=a+48|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[j>>2]=323408;i=a+52|0;f[e>>2]=285412;f[k>>2]=285432;f[a+44>>2]=0;Brb(a+104|0,i);f[a+176>>2]=0;f[a+180>>2]=-1;f[e>>2]=323388;f[k>>2]=323428;f[j>>2]=323408;Hrb(i);f[i>>2]=304196;i=a+84|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[a+100>>2]=24;f[a+184>>2]=0;f[a+188>>2]=0;b[a+192>>0]=0;f[h>>2]=c;if((d|0)>0)f[e+(f[(f[e>>2]|0)+-12>>2]|0)+8>>2]=d;a=EBb(64)|0;oea(a);c=f[g>>2]|0;if((c|0)==(a|0)){k=f[g>>2]|0;k=k+12|0;f[k>>2]=3;return}f[g>>2]=a;k=a+8|0;f[k>>2]=(f[k>>2]|0)+1;if(!c){k=f[g>>2]|0;k=k+12|0;f[k>>2]=3;return}j=c+8|0;k=f[j>>2]|0;f[j>>2]=k-1;if((k|0)!=1){k=f[g>>2]|0;k=k+12|0;f[k>>2]=3;return}Rua(c,1,1);k=f[g>>2]|0;k=k+12|0;f[k>>2]=3;return}function Sea(a){a=a|0;var b=0;f[a>>2]=330788;b=f[a+24>>2]|0;if(!b){Uua(a);return}f[a+28>>2]=b;GBb(b);Uua(a);return}function Tea(a){a=a|0;var b=0;f[a>>2]=330788;b=f[a+24>>2]|0;if(b|0){f[a+28>>2]=b;GBb(b)}Uua(a);GBb(a);return}function Uea(a){a=a|0;return 1}function Vea(a,c){a=a|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;b[e>>0]=c&1;lsb(f[a+12>>2]|0,e,1)|0;u=d;return}function Wea(a,c){a=a|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;b[e>>0]=c;lsb(f[a+12>>2]|0,e,1)|0;u=d;return}function Xea(a,c){a=a|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;b[e>>0]=c;lsb(f[a+12>>2]|0,e,1)|0;u=d;return}function Yea(a,b){a=a|0;b=b|0;var c=0,e=0;c=u;u=u+16|0;e=c;d[e>>1]=b;lsb(f[a+12>>2]|0,e,2)|0;u=c;return}function Zea(a,b){a=a|0;b=b|0;var c=0,e=0;c=u;u=u+16|0;e=c;d[e>>1]=b;lsb(f[a+12>>2]|0,e,2)|0;u=c;return}function _ea(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;lsb(f[a+12>>2]|0,d,4)|0;u=c;return}function $ea(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;lsb(f[a+12>>2]|0,d,4)|0;u=c;return}function afa(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;lsb(f[a+12>>2]|0,d,4)|0;u=c;return}function bfa(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;lsb(f[a+12>>2]|0,d,4)|0;u=c;return}function cfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=u;u=u+16|0;e=d;g=e;f[g>>2]=b;f[g+4>>2]=c;lsb(f[a+12>>2]|0,e,8)|0;u=d;return}function dfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=u;u=u+16|0;e=d;g=e;f[g>>2]=b;f[g+4>>2]=c;lsb(f[a+12>>2]|0,e,8)|0;u=d;return}function efa(a,b){a=a|0;b=+b;var c=0,d=0;c=u;u=u+16|0;d=c;n[d>>2]=b;lsb(f[a+12>>2]|0,d,4)|0;u=c;return}function ffa(a,b){a=a|0;b=+b;var c=0,d=0;c=u;u=u+16|0;d=c;p[d>>3]=b;lsb(f[a+12>>2]|0,d,8)|0;u=c;return}function gfa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;d=u;u=u+16|0;i=d;g=c+11|0;h=b[g>>0]|0;e=c+4|0;f[i>>2]=h<<24>>24<0?f[e>>2]|0:h&255;h=a+12|0;lsb(f[h>>2]|0,i,4)|0;a=b[g>>0]|0;g=a<<24>>24<0;lsb(f[h>>2]|0,g?f[c>>2]|0:c,g?f[e>>2]|0:a&255)|0;u=d;return}function hfa(a,b){a=a|0;b=b|0;return}function ifa(a,b){a=a|0;b=b|0;return}function jfa(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=f[b>>2];lsb(f[a+12>>2]|0,d,4)|0;u=c;return}function kfa(a,c){a=a|0;c=c|0;if(!(b[c+16>>0]|0))return;lsb(f[a+12>>2]|0,c+12|0,4)|0;return}function lfa(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;q=u;u=u+96|0;o=q+72|0;p=q+56|0;m=q+40|0;n=q+24|0;l=q+8|0;k=q;if(!(b[a+20>>0]|0)){u=q;return}d=f[a+16>>2]|0;if(!d)d=0;else{f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;d=(Tca(d,o)|0)>148;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0)}g=c+11|0;j=b[g>>0]|0;h=c+4|0;if(((j<<24>>24<0?f[h>>2]|0:j&255)|0)==1)e=(nCb(c,0,-1,402865,1)|0)==0;else e=0;if(d){if(e){g=o;f[g>>2]=0;f[g+4>>2]=0;g=a+12|0;d=f[g>>2]|0;d=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;if(!(f[d+16>>2]&5)){n=f[d+24>>2]|0;Lj[f[(f[n>>2]|0)+16>>2]&15](p,n,0,0,1,16)}else{n=p;f[n>>2]=0;f[n+4>>2]=0;n=p+8|0;f[n>>2]=-1;f[n+4>>2]=-1}d=a+28|0;e=f[d>>2]|0;if(e>>>0<(f[a+32>>2]|0)>>>0){f[e>>2]=f[p>>2];f[e+4>>2]=f[p+4>>2];f[e+8>>2]=f[p+8>>2];f[e+12>>2]=f[p+12>>2];f[d>>2]=(f[d>>2]|0)+16}else rfa(a+24|0,p);lsb(f[g>>2]|0,o,8)|0;u=q;return}j=b[g>>0]|0;if(((j<<24>>24<0?f[h>>2]|0:j&255)|0)!=1){u=q;return}if(nCb(c,0,-1,402867,1)|0){u=q;return}i=a+28|0;e=f[i>>2]|0;if((e|0)==(f[a+24>>2]|0)){u=q;return}j=a+12|0;g=f[j>>2]|0;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;if(!(f[d+16>>2]&5)){h=f[d+24>>2]|0;Lj[f[(f[h>>2]|0)+16>>2]&15](l,h,0,0,1,16);h=f[j>>2]|0;c=h;a=h;d=f[i>>2]|0}else{c=l;f[c>>2]=0;f[c+4>>2]=0;c=l+8|0;f[c>>2]=-1;f[c+4>>2]=-1;c=g;a=g;d=e;h=g}t=d+-16|0;r=t;s=f[r>>2]|0;r=f[r+4>>2]|0;g=d+-8|0;e=f[g>>2]|0;g=f[g+4>>2]|0;f[i>>2]=t;d=n;f[d>>2]=s;f[d+4>>2]=r;d=n+8|0;f[d>>2]=e;f[d+4>>2]=g;Lrb(p,h);d=c+(f[(f[a>>2]|0)+-12>>2]|0)|0;if((f[d+16>>2]&5|0)==0?(t=f[d+24>>2]|0,s=f[(f[t>>2]|0)+20>>2]|0,f[o>>2]=f[n>>2],f[o+4>>2]=f[n+4>>2],f[o+8>>2]=f[n+8>>2],f[o+12>>2]=f[n+12>>2],Ij[s&127](m,t,o,16),t=m+8|0,(f[t>>2]|0)==-1?(f[t+4>>2]|0)==-1:0):0){t=c+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(t,f[t+16>>2]|4)}Mrb(p);d=l+8|0;d=NDb(f[d>>2]|0,f[d+4>>2]|0,e|0,g|0)|0;e=k;f[e>>2]=d;f[e+4>>2]=H;lsb(f[j>>2]|0,k,8)|0;e=f[j>>2]|0;f[n>>2]=f[l>>2];f[n+4>>2]=f[l+4>>2];f[n+8>>2]=f[l+8>>2];f[n+12>>2]=f[l+12>>2];Lrb(p,e);d=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;if((f[d+16>>2]&5|0)==0?(t=f[d+24>>2]|0,s=f[(f[t>>2]|0)+20>>2]|0,f[o>>2]=f[n>>2],f[o+4>>2]=f[n+4>>2],f[o+8>>2]=f[n+8>>2],f[o+12>>2]=f[n+12>>2],Ij[s&127](m,t,o,16),t=m+8|0,(f[t>>2]|0)==-1?(f[t+4>>2]|0)==-1:0):0){t=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;Arb(t,f[t+16>>2]|4)}Mrb(p);u=q;return}else{if(e){f[o>>2]=0;g=a+12|0;d=f[g>>2]|0;d=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;if(!(f[d+16>>2]&5)){t=f[d+24>>2]|0;Lj[f[(f[t>>2]|0)+16>>2]&15](p,t,0,0,1,16)}else{t=p;f[t>>2]=0;f[t+4>>2]=0;t=p+8|0;f[t>>2]=-1;f[t+4>>2]=-1}d=a+28|0;e=f[d>>2]|0;if(e>>>0<(f[a+32>>2]|0)>>>0){f[e>>2]=f[p>>2];f[e+4>>2]=f[p+4>>2];f[e+8>>2]=f[p+8>>2];f[e+12>>2]=f[p+12>>2];f[d>>2]=(f[d>>2]|0)+16}else rfa(a+24|0,p);lsb(f[g>>2]|0,o,4)|0;u=q;return}t=b[g>>0]|0;if(((t<<24>>24<0?f[h>>2]|0:t&255)|0)!=1){u=q;return}if(nCb(c,0,-1,402867,1)|0){u=q;return}i=a+28|0;e=f[i>>2]|0;if((e|0)==(f[a+24>>2]|0)){u=q;return}j=a+12|0;g=f[j>>2]|0;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;if(!(f[d+16>>2]&5)){h=f[d+24>>2]|0;Lj[f[(f[h>>2]|0)+16>>2]&15](l,h,0,0,1,16);h=f[j>>2]|0;c=h;a=h;d=f[i>>2]|0}else{c=l;f[c>>2]=0;f[c+4>>2]=0;c=l+8|0;f[c>>2]=-1;f[c+4>>2]=-1;c=g;a=g;d=e;h=g}r=d+-16|0;t=r;s=f[t>>2]|0;t=f[t+4>>2]|0;g=d+-8|0;e=f[g>>2]|0;g=f[g+4>>2]|0;f[i>>2]=r;d=n;f[d>>2]=s;f[d+4>>2]=t;d=n+8|0;f[d>>2]=e;f[d+4>>2]=g;Lrb(p,h);d=a+(f[(f[c>>2]|0)+-12>>2]|0)|0;if((f[d+16>>2]&5|0)==0?(t=f[d+24>>2]|0,s=f[(f[t>>2]|0)+20>>2]|0,f[o>>2]=f[n>>2],f[o+4>>2]=f[n+4>>2],f[o+8>>2]=f[n+8>>2],f[o+12>>2]=f[n+12>>2],Ij[s&127](m,t,o,16),t=m+8|0,(f[t>>2]|0)==-1?(f[t+4>>2]|0)==-1:0):0){t=a+(f[(f[c>>2]|0)+-12>>2]|0)|0;Arb(t,f[t+16>>2]|4)}Mrb(p);d=l+8|0;e=NDb(f[d>>2]|0,f[d+4>>2]|0,e|0,g|0)|0;f[k>>2]=e;lsb(f[j>>2]|0,k,4)|0;e=f[j>>2]|0;f[n>>2]=f[l>>2];f[n+4>>2]=f[l+4>>2];f[n+8>>2]=f[l+8>>2];f[n+12>>2]=f[l+12>>2];Lrb(p,e);d=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;if((f[d+16>>2]&5|0)==0?(t=f[d+24>>2]|0,s=f[(f[t>>2]|0)+20>>2]|0,f[o>>2]=f[n>>2],f[o+4>>2]=f[n+4>>2],f[o+8>>2]=f[n+8>>2],f[o+12>>2]=f[n+12>>2],Ij[s&127](m,t,o,16),t=m+8|0,(f[t>>2]|0)==-1?(f[t+4>>2]|0)==-1:0):0){t=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;Arb(t,f[t+16>>2]|4)}Mrb(p);u=q;return}}function mfa(a,b,c){a=a|0;b=b|0;c=c|0;if(!c)return;lsb(f[a+12>>2]|0,b,c)|0;return}function nfa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+68>>2]&1023](a,b);return}function ofa(a){a=a|0;Krb(f[a+12>>2]|0)|0;return}function pfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=u;u=u+16|0;e=d;g=e;f[g>>2]=b;f[g+4>>2]=c;lsb(f[a+12>>2]|0,e,8)|0;u=d;return}function qfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=u;u=u+16|0;e=d;g=e;f[g>>2]=b;f[g+4>>2]=c;lsb(f[a+12>>2]|0,e,8)|0;u=d;return}function rfa(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>>4;c=g+1|0;if(c>>>0>268435455)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>3;h=e>>4>>>0<134217727?(h>>>0<c>>>0?c:h):268435455;do if(h)if(h>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<4)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<4)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+16;f[l>>2]=d+(h<<4);if(!j)return;GBb(j);return}function sfa(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=330908;c=a+40|0;f[c>>2]=323388;d=a+104|0;f[d>>2]=323428;f[a+48>>2]=323408;e=a+52|0;f[e>>2]=304196;g=a+84|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);yrb(c,323440);kqb(d);c=a+36|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=f[a+24>>2]|0;if(!c){Uua(a);return}f[a+28>>2]=c;GBb(c);Uua(a);return}function tfa(a){a=a|0;sfa(a);GBb(a);return}function ufa(a){a=a|0;return 0}function vfa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;e=d+11|0;if(c){b[e>>0]=4;f[d>>2]=1163219540;b[d+4>>0]=0}else{b[e>>0]=5;b[d>>0]=b[402935]|0;b[d+1>>0]=b[402936]|0;b[d+2>>0]=b[402937]|0;b[d+3>>0]=b[402938]|0;b[d+4>>0]=b[402939]|0;b[d+5>>0]=0}Tfa(a,d,0);if((b[e>>0]|0)>=0){u=g;return}GBb(f[d>>2]|0);u=g;return}function wfa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;$rb(a+48|0,c<<24>>24)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function xfa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;asb(a+48|0,c&255)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function yfa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;$rb(a+48|0,c)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function zfa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;asb(a+48|0,c)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Afa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;bsb(a+48|0,c)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Bfa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;csb(a+48|0,c)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Cfa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;dsb(a+48|0,c)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Dfa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;esb(a+48|0,c)|0;c=a+52|0;KX(d,c);Tfa(a,d,0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Nr(c,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Efa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;fsb(a+48|0,c,d)|0;c=a+52|0;KX(e,c);Tfa(a,e,0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Nr(c,e);if((b[e+11>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function Ffa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;gsb(a+48|0,c,d)|0;c=a+52|0;KX(e,c);Tfa(a,e,0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Nr(c,e);if((b[e+11>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function Gfa(a,c){a=a|0;c=+c;var d=0,e=0,g=0;g=u;u=u+16|0;e=g;hsb(a+48|0,c)|0;d=a+52|0;KX(e,d);Tfa(a,e,0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Nr(d,e);if((b[e+11>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function Hfa(a,c){a=a|0;c=+c;var d=0,e=0,g=0;g=u;u=u+16|0;e=g;isb(a+48|0,c)|0;d=a+52|0;KX(e,d);Tfa(a,e,0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Nr(d,e);if((b[e+11>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function Ifa(a,b){a=a|0;b=b|0;Tfa(a,b,1);return}function Jfa(a,c){a=a|0;c=c|0;var d=0;if((c|0)!=1027){bga(a,c);return}c=a+184|0;switch(f[c>>2]|0){case 5:case 2:{d=a+192|0;if(b[d>>0]|0){b[d>>0]=0;Zfa(a)|0}Zfa(a)|0;break}case 3:{b[a+192>>0]=0;Zfa(a)|0;Zfa(a)|0;break}case 6:{bga(a,1027);break}default:{}}f[a+188>>2]=f[c>>2];f[c>>2]=1;return}function Kfa(a,b){a=a|0;b=b|0;a=a+48|0;_i[b&2047](a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}function Lfa(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0;g=u;u=u+16|0;e=g;c=f[c>>2]|0;i=(YZ(0)|0)+240|0;i=f[i>>2]|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;h=e+11|0;b[h>>0]=2;d[e>>1]=19527;b[e+2>>0]=0;c=Yfa(Xfa(i,e)|0,c)|0;if((b[h>>0]|0)<0)GBb(f[e>>2]|0);Tfa(a,c,1);u=g;return}function Mfa(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;OBb(d,c);a:do if(!(b[c+16>>0]|0)){c=a+184|0;switch(f[c>>2]|0){case 4:case 1:{Ufa(a,d)|0;f[a+188>>2]=f[c>>2];f[c>>2]=2;break a}case 2:{Ufa(a,d)|0;f[a+188>>2]=f[c>>2];f[c>>2]=3;b[a+192>>0]=1;break a}case 3:{Zfa(a)|0;Ufa(a,d)|0;break a}default:break a}}else{h=(YZ(0)|0)+240|0;g=f[c+12>>2]|0;UBb(d,Yfa(Xfa(f[h>>2]|0,c)|0,g)|0)|0;Tfa(a,d,1)}while(0);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Nfa(a,b){a=a|0;b=b|0;b=f[b+12>>2]|0;if((b|0)>0){b=a+184|0;f[a+188>>2]=f[b>>2];f[b>>2]=4;return}if((b|0)>=0)return;b=a+184|0;f[a+188>>2]=f[b>>2];f[b>>2]=5;return}function Ofa(a,b,c){a=a|0;b=b|0;c=c|0;return}function Pfa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;g=j;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;h=c+11|0;e=b[h>>0]|0;d=e<<24>>24<0;i=c+4|0;a:do if((d?f[i>>2]|0:e&255)|0){d=d?f[c>>2]|0:c;while(1){e=b[d>>0]|0;switch(e<<24>>24){case 34:{dCb(g,92);break}case 92:{dCb(g,92);break}default:{}}dCb(g,e);d=d+1|0;e=b[h>>0]|0;k=e<<24>>24<0;if((d|0)==((k?f[c>>2]|0:c)+(k?f[i>>2]|0:e&255)|0))break a}}while(0);gCb(g,0,1,34)|0;dCb(g,34);Tfa(a,g,0);if((b[g+11>>0]|0)>=0){u=j;return}GBb(f[g>>2]|0);u=j;return}function Qfa(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;g=j;h=EBb(64)|0;oea(h);i=h+8|0;f[i>>2]=(f[i>>2]|0)+1;f[h+12>>2]=4;c=f[a+36>>2]|0;f[g>>2]=c;if(c|0){e=c+8|0;f[e>>2]=(f[e>>2]|0)+1}e=h+56|0;c=f[e>>2]|0;if(c>>>0<(f[h+60>>2]|0)>>>0){d=f[g>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[e>>2]|0}f[e>>2]=c+4}else gea(h+52|0,g);c=f[g>>2]|0;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);a=f[a+12>>2]|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;pea(h,a,g)|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=f[i>>2]|0;f[i>>2]=g-1;if((g|0)!=1){u=j;return}Rua(h,1,1);u=j;return}function Rfa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;gsb(a+48|0,c,d)|0;c=a+52|0;KX(e,c);Tfa(a,e,0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Nr(c,e);if((b[e+11>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function Sfa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;fsb(a+48|0,c,d)|0;c=a+52|0;KX(e,c);Tfa(a,e,0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Nr(c,e);if((b[e+11>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function Tfa(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+32|0;j=l+12|0;k=l;e=a+184|0;a:do switch(f[e>>2]|0){case 0:{UBb((f[a+36>>2]|0)+16|0,c)|0;u=l;return}case 1:{if(!d){f[a+188>>2]=1;f[e>>2]=6;break a}Ufa(a,c)|0;f[a+188>>2]=f[e>>2];f[e>>2]=2;u=l;return}case 6:break;default:{d=f[a+28>>2]|0;if((d|0)==(f[a+24>>2]|0)){Ufa(a,c)|0;f[a+188>>2]=f[e>>2];f[e>>2]=2;u=l;return}h=f[d+-4>>2]|0;g=h+40|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;i=k+11|0;b[i>>0]=9;d=k;a=402917;e=d+9|0;do{b[d>>0]=b[a>>0]|0;d=d+1|0;a=a+1|0}while((d|0)<(e|0));b[k+9>>0]=0;e=Qu(g,j,k)|0;a=f[e>>2]|0;if(!a){a=EBb(40)|0;d=a+16|0;f[d>>2]=f[k>>2];f[d+4>>2]=f[k+4>>2];f[d+8>>2]=f[k+8>>2];f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;d=a+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;d=f[j>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=d;f[e>>2]=a;d=f[f[g>>2]>>2]|0;if(!d)d=a;else{f[g>>2]=d;d=f[e>>2]|0}Xo(f[h+44>>2]|0,d);j=h+48|0;f[j>>2]=(f[j>>2]|0)+1}e=a+28|0;if((b[i>>0]|0)<0)GBb(f[k>>2]|0);d=b[e+11>>0]|0;if(d<<24>>24<0)d=f[a+32>>2]|0;else d=d&255;if(d|0)dCb(e,32);k=b[c+11>>0]|0;j=k<<24>>24<0;bCb(e,j?f[c>>2]|0:c,j?f[c+4>>2]|0:k&255)|0;u=l;return}}while(0);h=f[(f[a+28>>2]|0)+-4>>2]|0;e=h+40|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;i=k+11|0;b[i>>0]=4;f[k>>2]=1954047348;b[k+4>>0]=0;g=Qu(e,j,k)|0;d=f[g>>2]|0;if(!d){d=EBb(40)|0;a=d+16|0;f[a>>2]=f[k>>2];f[a+4>>2]=f[k+4>>2];f[a+8>>2]=f[k+8>>2];f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;a=d+28|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;a=f[j>>2]|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=a;f[g>>2]=d;a=f[f[e>>2]>>2]|0;if(!a)a=d;else{f[e>>2]=a;a=f[g>>2]|0}Xo(f[h+44>>2]|0,a);h=h+48|0;f[h>>2]=(f[h>>2]|0)+1}if((b[i>>0]|0)<0)GBb(f[k>>2]|0);B_(j,c,32);c=j+11|0;k=b[c>>0]|0;i=k<<24>>24<0;bCb(d+28|0,i?f[j>>2]|0:j,i?f[j+4>>2]|0:k&255)|0;if((b[c>>0]|0)<0)GBb(f[j>>2]|0);u=l;return}function Ufa(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+32|0;m=o+24|0;n=o+12|0;l=o;p=EBb(64)|0;oea(p);f[m>>2]=p;p=p+8|0;f[p>>2]=(f[p>>2]|0)+1;f[(f[m>>2]|0)+12>>2]=1;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;p=b[c+11>>0]|0;g=p<<24>>24<0;if(((g?f[c+4>>2]|0:p&255)|0)!=0?(b[(g?f[c>>2]|0:c)>>0]|0)==35:0){SBb(l,c,1,-1,c);g=n+11|0;if((b[g>>0]|0)<0){b[f[n>>2]>>0]=0;f[n+4>>2]=0}else{b[n>>0]=0;b[g>>0]=0}YBb(n,0);f[n>>2]=f[l>>2];f[n+4>>2]=f[l+4>>2];f[n+8>>2]=f[l+8>>2]}else h=7;a:do if((h|0)==7?(UBb(n,c)|0,d=b[n+11>>0]|0,k=d<<24>>24<0,e=k?f[n>>2]|0:n,d=k?f[n+4>>2]|0:d&255,k=e+d|0,i=k,j=e,(d|0)>=2):0){while(1){d=d+-1|0;if(!d)break a;e=Ymb(e,58,d)|0;if(!e)break a;if(!(anb(e,428700,2)|0))break;e=e+1|0;d=i-e|0;if((d|0)<2)break a}d=e-j|0;if(!((e|0)==(k|0)|(d|0)==-1))jCb(n,d,2,402927)|0}while(0);g=f[m>>2]|0;UBb(g+16|0,n)|0;h=a+24|0;i=a+28|0;d=f[i>>2]|0;do if((d|0)==(f[h>>2]|0)){e=f[a+36>>2]|0;c=e+56|0;d=f[c>>2]|0;if((d|0)==(f[e+60>>2]|0)){Vfa(e+52|0,m);break}f[d>>2]=g;if(g){d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[c>>2]|0}f[c>>2]=d+4}else{e=f[d+-4>>2]|0;f[e+12>>2]=3;c=e+56|0;d=f[c>>2]|0;if((d|0)==(f[e+60>>2]|0)){Vfa(e+52|0,m);break}f[d>>2]=g;if(g){d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[c>>2]|0}f[c>>2]=d+4}while(0);d=f[m>>2]|0;f[l>>2]=d;e=f[i>>2]|0;if(e>>>0<(f[a+32>>2]|0)>>>0){f[e>>2]=d;f[i>>2]=(f[i>>2]|0)+4}else Wfa(h,l);e=f[m>>2]|0;if((b[n+11>>0]|0)<0){GBb(f[n>>2]|0);d=f[m>>2]|0}else d=e;if(!d){u=o;return e|0}n=d+8|0;p=f[n>>2]|0;f[n>>2]=p-1;if((p|0)!=1){u=o;return e|0}Rua(d,1,1);u=o;return e|0}function Vfa(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<e>>>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 Wfa(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<c>>>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 Xfa(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=u;u=u+16|0;e=k+12|0;j=k;h=a+48|0;c=aga(h,c)|0;if((c|0)!=(a+52|0)){j=c+28|0;u=k;return j|0};f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;i=j+11|0;b[i>>0]=2;d[j>>1]=19527;b[j+2>>0]=0;g=j0(h,e,j)|0;c=f[g>>2]|0;if(!c){c=EBb(52)|0;l=c+16|0;f[l>>2]=f[j>>2];f[l+4>>2]=f[j+4>>2];f[l+8>>2]=f[j+8>>2];f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;l=c+32|0;f[l>>2]=0;f[c+36>>2]=0;f[c+28>>2]=l;l=c+44|0;f[l>>2]=0;f[c+48>>2]=0;f[c+40>>2]=l;e=f[e>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[h>>2]>>2]|0;if(!e)e=c;else{f[h>>2]=e;e=f[g>>2]|0}Xo(f[a+52>>2]|0,e);l=a+56|0;f[l>>2]=(f[l>>2]|0)+1}if((b[i>>0]|0)<0)GBb(f[j>>2]|0);l=c+28|0;u=k;return l|0}function Yfa(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;q=u;u=u+160|0;o=q+144|0;p=q;n=a+12|0;i=a+16|0;d=f[i>>2]|0;if(d|0){e=i;do{m=(f[d+16>>2]|0)<(c|0);e=m?e:d;d=f[(m?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=(i|0)?(f[e+16>>2]|0)<=(c|0):0){p=e+20|0;u=q;return p|0}};f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;j=p+64|0;l=p+8|0;f[l>>2]=323408;k=p+12|0;f[p>>2]=285412;f[j>>2]=285432;f[p+4>>2]=0;Brb(p+64|0,k);f[p+136>>2]=0;f[p+140>>2]=-1;f[p>>2]=323388;f[j>>2]=323428;f[l>>2]=323408;Hrb(k);f[k>>2]=304196;l=p+44|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;f[p+60>>2]=24;m=p+8|0;bsb(m,c)|0;Qea(p,o)|0;d=f[i>>2]|0;do if(d){g=a+16|0;while(1){e=f[d+16>>2]|0;if((e|0)>(c|0)){e=f[d>>2]|0;if(!e){h=10;break}}else{if((e|0)>=(c|0)){h=14;break}g=d+4|0;e=f[g>>2]|0;if(!e){h=13;break}else d=g}g=d;d=e}if((h|0)==10){e=d;g=d;break}else if((h|0)==13){e=d;break}else if((h|0)==14){e=d;break}}else{e=i;g=i}while(0);d=f[g>>2]|0;if(!d){d=EBb(32)|0;f[d+16>>2]=c;h=d+20|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[g>>2]=d;e=f[f[n>>2]>>2]|0;if(!e)e=d;else{f[n>>2]=e;e=f[g>>2]|0}Xo(f[a+16>>2]|0,e);h=a+20|0;f[h>>2]=(f[h>>2]|0)+1}UBb(d+20|0,o)|0;d=f[i>>2]|0;do if(d){g=a+16|0;while(1){e=f[d+16>>2]|0;if((e|0)>(c|0)){e=f[d>>2]|0;if(!e){h=25;break}else{g=d;d=e}}else{if((e|0)>=(c|0)){h=29;break}g=d+4|0;e=f[g>>2]|0;if(!e){h=28;break}else d=e}}if((h|0)==25){e=d;g=d;break}else if((h|0)==28){e=d;break}else if((h|0)==29){e=d;break}}else{e=i;g=i}while(0);d=f[g>>2]|0;if(!d){d=EBb(32)|0;f[d+16>>2]=c;c=d+20|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[g>>2]=d;e=f[f[n>>2]>>2]|0;if(!e)e=d;else{f[n>>2]=e;e=f[g>>2]|0}Xo(f[a+16>>2]|0,e);a=a+20|0;f[a>>2]=(f[a>>2]|0)+1}f[p>>2]=323388;f[j>>2]=323428;f[m>>2]=323408;f[k>>2]=304196;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);qqb(k);yrb(p,323440);kqb(j);if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);p=d+20|0;u=q;return p|0}function Zfa(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;i=k;j=a+28|0;c=f[j>>2]|0;if((c|0)==(f[a+24>>2]|0)){j=0;u=k;return j|0}d=f[c+-4>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;c=i+11|0;b[c>>0]=9;e=i;g=402917;h=e+9|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[i+9>>0]=0;_fa(a,d,i);if((b[c>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;h=i+11|0;b[h>>0]=4;f[i>>2]=1954047348;b[i+4>>0]=0;_fa(a,d,i);if((b[h>>0]|0)<0)GBb(f[i>>2]|0);f[j>>2]=(f[j>>2]|0)+-4;j=d;u=k;return j|0}function _fa(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;o=u;u=u+16|0;l=o+4|0;m=o;n=c+40|0;i=Qp(n,d)|0;k=i;if((i|0)==(c+44|0)){u=o;return}g=i+28|0;e=g+11|0;a=b[e>>0]|0;d=a<<24>>24<0;if(d)c=f[i+32>>2]|0;else c=a&255;do if(c){if(d){a=f[i+32>>2]|0;d=f[g>>2]|0}else{a=a&255;d=g}if(!a){u=o;return}a=d+a|0;while(1){a=a+-1|0;if(!(Ymb(402930,h[a>>0]|0,4)|0))break;if((a|0)==(d|0)){j=20;break}}if((j|0)==20){u=o;return}a=a-d|0;if((a|0)==-1){u=o;return}else{hCb(g,a+1|0,-1)|0;a=b[e>>0]|0;break}}while(0);if(a<<24>>24<0)a=f[i+32>>2]|0;else a=a&255;if(a|0){u=o;return}f[m>>2]=k;f[l>>2]=f[m>>2];$fa(n,l)|0;u=o;return}function $fa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=f[c>>2]|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{g=f[d>>2]|0;d=g+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(g|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((f[a>>2]|0)==(e|0))f[a>>2]=c;d=a+8|0;f[d>>2]=(f[d>>2]|0)+-1;Zq(f[a+4>>2]|0,e);d=e+16|0;a=e+28|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);if((b[d+11>>0]|0)>=0){GBb(e);return c|0}GBb(f[d>>2]|0);GBb(e);return c|0}function aga(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<h>>>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<l>>>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<l>>>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 bga(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;m=u;u=u+48|0;l=m+24|0;j=m+12|0;k=m;d=f[a+28>>2]|0;if((d|0)==(f[a+24>>2]|0)){u=m;return}i=f[d+-4>>2]|0;_i[c&2047](a+48|0)|0;if((f[a+184>>2]|0)==6){d=a+52|0;KX(j,d);f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;h=k+11|0;b[h>>0]=4;f[k>>2]=1954047348;b[k+4>>0]=0;e=i+40|0;g=Qu(e,l,k)|0;a=f[g>>2]|0;if(!a){a=EBb(40)|0;c=a+16|0;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;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=f[l>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=c;f[g>>2]=a;c=f[f[e>>2]>>2]|0;if(!c)c=a;else{f[e>>2]=c;c=f[g>>2]|0}Xo(f[i+44>>2]|0,c);i=i+48|0;f[i>>2]=(f[i>>2]|0)+1}c=j+11|0;i=b[c>>0]|0;g=i<<24>>24<0;bCb(a+28|0,g?f[j>>2]|0:j,g?f[j+4>>2]|0:i&255)|0;if((b[h>>0]|0)<0)GBb(f[k>>2]|0);if((b[c>>0]|0)<0)GBb(f[j>>2]|0)}else{d=a+52|0;KX(j,d);f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;h=k+11|0;b[h>>0]=9;a=k;c=402917;e=a+9|0;do{b[a>>0]=b[c>>0]|0;a=a+1|0;c=c+1|0}while((a|0)<(e|0));b[k+9>>0]=0;e=i+40|0;g=Qu(e,l,k)|0;a=f[g>>2]|0;if(!a){a=EBb(40)|0;c=a+16|0;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;c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=f[l>>2]|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=c;f[g>>2]=a;c=f[f[e>>2]>>2]|0;if(!c)c=a;else{f[e>>2]=c;c=f[g>>2]|0}Xo(f[i+44>>2]|0,c);i=i+48|0;f[i>>2]=(f[i>>2]|0)+1}c=j+11|0;i=b[c>>0]|0;g=i<<24>>24<0;bCb(a+28|0,g?f[j>>2]|0:j,g?f[j+4>>2]|0:i&255)|0;if((b[h>>0]|0)<0)GBb(f[k>>2]|0);if((b[c>>0]|0)<0)GBb(f[j>>2]|0)}f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;Nr(d,l);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);u=m;return}function cga(a){a=a|0;Uua(a);GBb(a);return}function dga(a){a=a|0;return 0}function ega(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}d=f[a+12>>2]|0;if(c){Nu(d,402961,5)|0;u=j;return}else{Nu(d,402967,6)|0;u=j;return}}function fga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=$rb(f[a+12>>2]|0,c<<24>>24)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function gga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=asb(f[a+12>>2]|0,c&255)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function hga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=$rb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function iga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=asb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function jga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=bsb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function kga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=csb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function lga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=dsb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function mga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=esb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function nga(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;i=a+21|0;if(b[i>>0]|0){j=a+24|0;if((f[j>>2]|0)>0){g=a+12|0;e=0;do{l=f[g>>2]|0;b[h>>0]=32;Nu(l,h,1)|0;e=e+1|0}while((e|0)<(f[j>>2]|0))}b[i>>0]=0}l=fsb(f[a+12>>2]|0,c,d)|0;b[h>>0]=32;Nu(l,h,1)|0;u=k;return}function oga(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;i=a+21|0;if(b[i>>0]|0){j=a+24|0;if((f[j>>2]|0)>0){g=a+12|0;e=0;do{l=f[g>>2]|0;b[h>>0]=32;Nu(l,h,1)|0;e=e+1|0}while((e|0)<(f[j>>2]|0))}b[i>>0]=0}l=gsb(f[a+12>>2]|0,c,d)|0;b[h>>0]=32;Nu(l,h,1)|0;u=k;return}function pga(a,c){a=a|0;c=+c;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=hsb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function qga(a,c){a=a|0;c=+c;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=isb(f[a+12>>2]|0,c)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function rga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=b[c+11>>0]|0;i=k<<24>>24<0;k=Nu(f[a+12>>2]|0,i?f[c>>2]|0:c,i?f[c+4>>2]|0:k&255)|0;b[e>>0]=32;Nu(k,e,1)|0;u=j;return}function sga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}_i[c&2047](f[a+12>>2]|0)|0;if((c|0)!=1027){u=j;return}b[g>>0]=1;u=j;return}function tga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j;g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;d=0;do{k=f[i>>2]|0;b[e>>0]=32;Nu(k,e,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[g>>0]=0}k=f[a+12>>2]|0;_i[c&2047](k+(f[(f[k>>2]|0)+-12>>2]|0)|0)|0;u=j;return}function uga(a,c){a=a|0;c=c|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=f[c>>2]|0;h=(YZ(0)|0)+240|0;h=f[h>>2]|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;i=j+11|0;b[i>>0]=2;d[j>>1]=19527;b[j+2>>0]=0;e=Yfa(Xfa(h,j)|0,e)|0;if((b[i>>0]|0)<0)GBb(f[j>>2]|0);g=a+21|0;if(b[g>>0]|0){h=a+24|0;if((f[h>>2]|0)>0){i=a+12|0;c=0;do{l=f[i>>2]|0;b[j>>0]=32;Nu(l,j,1)|0;c=c+1|0}while((c|0)<(f[h>>2]|0))}b[g>>0]=0}l=b[e+11>>0]|0;i=l<<24>>24<0;l=Nu(f[a+12>>2]|0,i?f[e>>2]|0:e,i?f[e+4>>2]|0:l&255)|0;b[j>>0]=32;Nu(l,j,1)|0;u=k;return}function vga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;h=j+12|0;i=j;OBb(i,c);if(b[c+16>>0]|0){e=(YZ(0)|0)+240|0;g=f[c+12>>2]|0;UBb(i,Yfa(Xfa(f[e>>2]|0,c)|0,g)|0)|0}d=a+21|0;if(b[d>>0]|0){e=a+24|0;if((f[e>>2]|0)>0){g=a+12|0;c=0;do{k=f[g>>2]|0;b[h>>0]=32;Nu(k,h,1)|0;c=c+1|0}while((c|0)<(f[e>>2]|0))}b[d>>0]=0}k=i+11|0;g=b[k>>0]|0;e=g<<24>>24<0;a=Nu(f[a+12>>2]|0,e?f[i>>2]|0:i,e?f[i+4>>2]|0:g&255)|0;b[h>>0]=32;Nu(a,h,1)|0;if((b[k>>0]|0)>=0){u=j;return}GBb(f[i>>2]|0);u=j;return}function wga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;g=j;h=a+24|0;d=(f[h>>2]|0)+(f[c+12>>2]|0)|0;f[h>>2]=d;i=a+21|0;if(b[i>>0]|0){if((d|0)>0){e=a+12|0;d=0;do{k=f[e>>2]|0;b[g>>0]=32;Nu(k,g,1)|0;d=d+1|0}while((d|0)<(f[h>>2]|0))}b[i>>0]=0}k=b[c+11>>0]|0;i=k<<24>>24<0;Nu(f[a+12>>2]|0,i?f[c>>2]|0:c,i?f[c+4>>2]|0:k&255)|0;u=j;return}function xga(a,b,c){a=a|0;b=b|0;c=c|0;return}function yga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;i=k+12|0;j=k;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;h=c+11|0;e=b[h>>0]|0;g=e<<24>>24<0?f[c+4>>2]|0:e&255;a:do if(g|0){d=0;while(1){e=b[(e<<24>>24<0?f[c>>2]|0:c)+d>>0]|0;switch(e<<24>>24){case 34:{dCb(j,92);break}case 92:{dCb(j,92);break}default:{}}dCb(j,e);d=d+1|0;if(d>>>0>=g>>>0)break a;e=b[h>>0]|0}}while(0);gCb(j,0,1,34)|0;dCb(j,34);e=a+21|0;if(b[e>>0]|0){c=a+24|0;if((f[c>>2]|0)>0){g=a+12|0;d=0;do{h=f[g>>2]|0;b[i>>0]=32;Nu(h,i,1)|0;d=d+1|0}while((d|0)<(f[c>>2]|0))}b[e>>0]=0}Bj[f[(f[a>>2]|0)+68>>2]&1023](a,j);if((b[j+11>>0]|0)>=0){u=k;return}GBb(f[j>>2]|0);u=k;return}function zga(a,c){a=a|0;c=c|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;l=n+16|0;m=n;k=n+12|0;if(!c){g=0;c=0}else{f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;g=m+11|0;b[g>>0]=8;e=m;f[e>>2]=1701603686;f[e+4>>2]=1701869908;b[m+8>>0]=0;e=Qp(c+100|0,m)|0;if((e|0)==(c+104|0)){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0}else OBb(l,e+28|0);if((b[g>>0]|0)<0)GBb(f[m>>2]|0);i=l+11|0;g=b[i>>0]|0;h=l+4|0;c=f[h>>2]|0;e=g&255;if(((g<<24>>24<0?c:e)|0)==5)if(!(nCb(l,0,-1,402104,5)|0)){e=0;c=1}else{g=b[i>>0]|0;e=g&255;c=f[h>>2]|0;j=10}else j=10;if((j|0)==10)if(((g<<24>>24<0?c:e)|0)==3){e=(nCb(l,0,-1,402165,3)|0)==0;c=0}else{e=0;c=0}if((b[i>>0]|0)<0)GBb(f[l>>2]|0);g=e}do if(!(c|g)){f[m>>2]=0;f[k>>2]=0;Wrb(a,m,4)|0;Wrb(a,k,4)|0;e=f[m>>2]|0;c=f[k>>2]|0;if((e|0)==1821445793&(c|0)==452674885){if(qZa(4)|0){m=Nu(Hua(4)|0,402996,73)|0;Drb(l,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(l,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(l);ksb(m,k)|0;Krb(m)|0}c=EBb(52)|0;rZa(c);e=c+16|0;f[e>>2]=0;f[e+4>>2]=0;d[e+8>>1]=0;f[c>>2]=331028;e=c+28|0;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;e=0}else{if(!((e|0)==-1592880788&(c|0)==1162214170)){Zrb(a,0,0,0)|0;break}if(qZa(4)|0){m=Nu(Hua(4)|0,403070,95)|0;Drb(l,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(l,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(l);ksb(m,k)|0;Krb(m)|0}c=EBb(52)|0;rZa(c);e=c+16|0;f[e>>2]=0;f[e+4>>2]=0;d[e+8>>1]=0;f[c>>2]=331028;e=c+28|0;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;e=1}f[c+12>>2]=a;f[c+20>>2]=e;a=c;u=n;return a|0}while(0);if(!g){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;Qea(a,l)|0;g=l+11|0;k=b[g>>0]|0;if(((k<<24>>24<0?f[l+4>>2]|0:k&255)|0)==6?(nCb(l,0,-1,402818,6)|0)==0:0){e=EBb(40)|0;rZa(e);c=e+16|0;f[c>>2]=0;f[c+4>>2]=0;d[c+8>>1]=0;f[e>>2]=331140;c=e+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[e+12>>2]=a;c=0}else{Zrb(a,0,0,0)|0;c=1;e=0}if((b[g>>0]|0)<0)GBb(f[l>>2]|0);if(!c){a=e;u=n;return a|0}};f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;Drb(l,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);k=utb(l,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(l);Wu(a,m,k)|0;if(!(oCb(m,0,5,403166)|0)){c=EBb(188)|0;Aga(c,a)}else{Zrb(a,0,0,0)|0;c=0}if((b[m+11>>0]|0)>=0){u=n;return c|0}GBb(f[m>>2]|0);u=n;return c|0}function Aga(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;rZa(a);i=a+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;d[i+12>>1]=0;f[a>>2]=331252;e=a+28|0;h=a+32|0;g=a+36|0;c=a+40|0;m=a+44|0;l=a+108|0;k=a+52|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[k>>2]=323408;j=a+56|0;f[m>>2]=285412;f[l>>2]=285432;f[a+48>>2]=0;Brb(a+108|0,j);f[a+180>>2]=0;f[a+184>>2]=-1;f[m>>2]=323388;f[l>>2]=323428;f[k>>2]=323408;Hrb(j);f[j>>2]=304196;j=a+88|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[a+104>>2]=24;f[i>>2]=b;a=nea(b)|0;b=f[c>>2]|0;if((b|0)!=(a|0)){f[c>>2]=a;if(a|0){m=a+8|0;f[m>>2]=(f[m>>2]|0)+1}if(b|0?(l=b+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(b,1,1);a=f[c>>2]|0}if(!a)return;m=f[a+52>>2]|0;b=m;if((f[a+56>>2]|0)==(m|0))return;a=f[h>>2]|0;if((a|0)==(f[g>>2]|0)){Vfa(e,b);return}b=f[b>>2]|0;f[a>>2]=b;if(b){a=b+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[h>>2]|0}f[h>>2]=a+4;return}function Bga(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=331252;c=a+44|0;f[c>>2]=323388;d=a+108|0;f[d>>2]=323428;f[a+52>>2]=323408;e=a+56|0;f[e>>2]=304196;g=a+88|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);yrb(c,323440);kqb(d);c=a+40|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;e=a+28|0;g=f[e>>2]|0;if(!g){Uua(a);return}h=a+32|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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);Uua(a);return}function Cga(a){a=a|0;Bga(a);GBb(a);return}function Dga(a){a=a|0;return 0}function Ega(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(!(_ga(a)|0)){b[c>>0]=0;u=h;return}Qea(a+44|0,g)|0;d=g+11|0;a=b[d>>0]|0;if(((a<<24>>24<0?f[g+4>>2]|0:a&255)|0)==4){e=(nCb(g,0,-1,403239,4)|0)==0&1;a=b[d>>0]|0}else e=0;b[c>>0]=e;if(a<<24>>24>=0){u=h;return}GBb(f[g>>2]|0);u=h;return}function Fga(a,c){a=a|0;c=c|0;var e=0,f=0;f=u;u=u+16|0;e=f;d[e>>1]=0;if(!(_ga(a)|0)){e=0;b[c>>0]=e;u=f;return}Nrb(a+44|0,e)|0;e=d[e>>1]&255;b[c>>0]=e;u=f;return}function Gga(a,c){a=a|0;c=c|0;var e=0,f=0;f=u;u=u+16|0;e=f;d[e>>1]=0;if(!(_ga(a)|0)){e=0;b[c>>0]=e;u=f;return}Nrb(a+44|0,e)|0;e=d[e>>1]&255;b[c>>0]=e;u=f;return}function Hga(a,c){a=a|0;c=c|0;var e=0,f=0;f=u;u=u+16|0;e=f;d[e>>1]=0;if(!(_ga(a)|0)){e=0;b[c>>0]=e;u=f;return}Orb(a+44|0,e)|0;e=d[e>>1]&255;b[c>>0]=e;u=f;return}function Iga(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0;i=u;u=u+16|0;h=i;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,h)|0;a=h+11|0;e=a;g=h;a=(b[a>>0]|0)<0?f[h>>2]|0:h}else{e=h+11|0;g=h;a=h}h=(Lnb(a,0,0)|0)&65535;d[c>>1]=h;if((b[e>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function Jga(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0;i=u;u=u+16|0;h=i;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,h)|0;a=h+11|0;e=a;g=h;a=(b[a>>0]|0)<0?f[h>>2]|0:h}else{e=h+11|0;g=h;a=h}h=(Knb(a,0,0)|0)&65535;d[c>>1]=h;if((b[e>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function Kga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,g)|0;a=g+11|0;d=a;e=g;a=(b[a>>0]|0)<0?f[g>>2]|0:g}else{d=g+11|0;e=g;a=g}g=Lnb(a,0,0)|0;f[c>>2]=g;if((b[d>>0]|0)>=0){u=h;return}GBb(f[e>>2]|0);u=h;return}function Lga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,g)|0;a=g+11|0;d=a;e=g;a=(b[a>>0]|0)<0?f[g>>2]|0:g}else{d=g+11|0;e=g;a=g}g=Knb(a,0,0)|0;f[c>>2]=g;if((b[d>>0]|0)>=0){u=h;return}GBb(f[e>>2]|0);u=h;return}function Mga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,g)|0;a=g+11|0;d=a;e=g;a=(b[a>>0]|0)<0?f[g>>2]|0:g}else{d=g+11|0;e=g;a=g}g=Lnb(a,0,0)|0;f[c>>2]=g;if((b[d>>0]|0)>=0){u=h;return}GBb(f[e>>2]|0);u=h;return}function Nga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,g)|0;a=g+11|0;d=a;e=g;a=(b[a>>0]|0)<0?f[g>>2]|0:g}else{d=g+11|0;e=g;a=g}g=Knb(a,0,0)|0;f[c>>2]=g;if((b[d>>0]|0)>=0){u=h;return}GBb(f[e>>2]|0);u=h;return}function Oga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0.0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,g)|0;a=g+11|0;d=a;e=g;a=(b[a>>0]|0)<0?f[g>>2]|0:g}else{d=g+11|0;e=g;a=g}i=+Oza(a);n[c>>2]=i;if((b[d>>0]|0)>=0){u=h;return}GBb(f[e>>2]|0);u=h;return}function Pga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0.0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(_ga(a)|0){Qea(a+44|0,g)|0;a=g+11|0;d=a;e=g;a=(b[a>>0]|0)<0?f[g>>2]|0:g}else{d=g+11|0;e=g;a=g}i=+Oza(a);p[c>>3]=i;if((b[d>>0]|0)>=0){u=h;return}GBb(f[e>>2]|0);u=h;return}function Qga(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(_ga(a)|0)Qea(a+44|0,c)|0;a=b[c+11>>0]|0;h=a<<24>>24<0;d=h?f[c>>2]|0:c;a=h?f[c+4>>2]|0:a&255;h=d+a|0;e=h;g=d;if((a|0)<2)return;while(1){a=a+-1|0;if(!a){a=11;break}d=Ymb(d,45,a)|0;if(!d){a=11;break}if(!(anb(d,402927,2)|0)){a=9;break}d=d+1|0;a=e-d|0;if((a|0)<2){a=11;break}}if((a|0)==9){a=d-g|0;if((d|0)==(h|0)|(a|0)==-1)return;jCb(c,a,2,428700)|0;return}else if((a|0)==11)return}function Rga(a,b){a=a|0;b=b|0;if(!(_ga(a)|0))return;_i[b&2047](a+44|0)|0;return}function Sga(a,b){a=a|0;b=b|0;a=a+44|0;_i[b&2047](a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}function Tga(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+32|0;g=i+12|0;h=i;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;if(_ga(a)|0)Qea(a+44|0,g)|0;e=(YZ(0)|0)+240|0;e=f[e>>2]|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;j=h+11|0;b[j>>0]=2;d[h>>1]=19527;b[h+2>>0]=0;e=Xfa(e,h)|0;a=g+11|0;e=$ga(e,(b[a>>0]|0)<0?f[g>>2]|0:g)|0;if((b[j>>0]|0)<0)GBb(f[h>>2]|0);f[c>>2]=e;if((b[a>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function Uga(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;A=u;u=u+32|0;y=A+12|0;z=A;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;if(_ga(a)|0)Qea(a+44|0,z)|0;if(!(b[c+16>>0]|0)){a=z+11|0;h=b[a>>0]|0;e=h<<24>>24<0;d=e?f[z>>2]|0:z;x=z+4|0;i=f[x>>2]|0;k=h&255;e=e?i:k;l=d+e|0;g=l;j=d;a:do if((e|0)>=2){while(1){e=e+-1|0;if(!e)break a;e=Ymb(d,45,e)|0;if(!e)break a;if(!(anb(e,402927,2)|0))break;d=e+1|0;e=g-d|0;if((e|0)<2)break a}d=e-j|0;if(!((e|0)==(l|0)|(d|0)==-1)){jCb(z,d,2,428700)|0;h=b[a>>0]|0;k=h&255;i=f[x>>2]|0}}while(0);v=c+11|0;d=b[v>>0]|0;q=d<<24>>24<0;w=c+4|0;g=f[w>>2]|0;e=d&255;l=q?g:e;r=h<<24>>24<0;s=r?i:k;b:do if((l|0)==(s|0)){j=f[c>>2]|0;m=q?j:c;p=r?f[z>>2]|0:z;n=(l|0)==0;o=j&255;if(q){if(n)break;if(!(anb(m,p,l)|0))break;else{t=25;break}}if(!n)if((b[p>>0]|0)==o<<24>>24){l=c;m=e;j=p;while(1){m=m+-1|0;l=l+1|0;if(!m)break b;j=j+1|0;if((b[l>>0]|0)!=(b[j>>0]|0)){t=22;break}}}else t=24}else t=22;while(0);if((t|0)==22)if(q){j=f[c>>2]|0;t=25}else t=24;if((t|0)==24){j=c;t=25}c:do if((t|0)==25){if((b[j>>0]|0)==35){f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;d=s+1|0;if(d>>>0>4294967279)MBb(y);if(d>>>0<11){b[y+11>>0]=1;d=y}else{t=s+17&-16;d=EBb(t)|0;f[y>>2]=d;f[y+8>>2]=t|-2147483648;f[y+4>>2]=1}b[d>>0]=35;b[d+1>>0]=0;bCb(y,r?f[z>>2]|0:z,s)|0;if((b[a>>0]|0)<0){b[f[z>>2]>>0]=0;f[x>>2]=0}else{b[z>>0]=0;b[a>>0]=0}YBb(z,0);f[z>>2]=f[y>>2];f[z+4>>2]=f[y+4>>2];f[z+8>>2]=f[y+8>>2];d=b[v>>0]|0;h=b[a>>0]|0;e=d&255;k=h&255;g=f[w>>2]|0;i=f[x>>2]|0}l=d<<24>>24<0;j=l?g:e;d=h<<24>>24<0;do if((j|0)==((d?i:k)|0)){h=f[c>>2]|0;i=l?h:c;d=d?f[z>>2]|0:z;g=(j|0)==0;h=h&255;if(l){if(g)break c;if(!(anb(i,d,j)|0))break c;else break}if(g)break c;if((b[d>>0]|0)==h<<24>>24){g=c;do{e=e+-1|0;g=g+1|0;if(!e)break c;d=d+1|0}while((b[g>>0]|0)==(b[d>>0]|0))}}while(0);if(qZa(2)|0){r=Nu(Hua(2)|0,403172,53)|0;t=b[a>>0]|0;s=t<<24>>24<0;t=Nu(Nu(r,s?f[z>>2]|0:z,s?f[x>>2]|0:t&255)|0,403226,12)|0;x=b[v>>0]|0;v=x<<24>>24<0;x=Nu(t,v?f[c>>2]|0:c,v?f[w>>2]|0:x&255)|0;Drb(y,x+(f[(f[x>>2]|0)+-12>>2]|0)|0);w=utb(y,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(y);ksb(x,w)|0;Krb(x)|0}}while(0);UBb(c,z)|0;d=0}else{d=(YZ(0)|0)+240|0;d=Xfa(f[d>>2]|0,c)|0;a=z+11|0;d=$ga(d,(b[a>>0]|0)<0?f[z>>2]|0:z)|0}f[c+12>>2]=d;if((b[a>>0]|0)>=0){u=A;return}GBb(f[z>>2]|0);u=A;return}function Vga(a,b){a=a|0;b=b|0;return}function Wga(a,b,c){a=a|0;b=b|0;c=c|0;return}function Xga(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;q=u;u=u+32|0;p=q+12|0;o=q;if(!(_ga(a)|0)){u=q;return}g=a+56|0;d=f[a+68>>2]|0;e=f[a+72>>2]|0;if(d>>>0<e>>>0)i=e-d|0;else i=_i[f[(f[g>>2]|0)+28>>2]&2047](g)|0;KX(p,g);f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;Nr(g,o);if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);n=p+11|0;d=b[n>>0]|0;k=d<<24>>24<0;j=f[p>>2]|0;m=p+4|0;e=f[m>>2]|0;h=d&255;r=k?j:p;k=k?e:h;g=r+(k-i)|0;k=r+k|0;a:do if(!i)l=0;else{b:while(1){i=b[g>>0]|0;switch(i<<24>>24){case 34:{i=1;break b}case 13:case 10:case 32:break;default:{l=10;break b}}g=g+1|0;if((g|0)==(k|0)){l=0;g=k;break a}}if((l|0)==10){dCb(c,i);h=b[n>>0]|0;i=0;d=h;j=f[p>>2]|0;e=f[m>>2]|0;h=h&255}l=i;g=g+1|0}while(0);i=d<<24>>24<0;c:do if(((i?j:p)+(i?e:h)|0)==(g|0)){k=g;h=j}else{if(!l)while(1){h=b[g>>0]|0;if(h<<24>>24==92){g=g+1|0;if((g|0)==((i?j:p)+(i?e:d&255)|0)){k=g;h=j;break c}dCb(c,b[g>>0]|0);d=g}else{dCb(c,h);d=g}g=d+1|0;d=b[n>>0]|0;i=d<<24>>24<0;h=f[p>>2]|0;e=f[m>>2]|0;if(((i?h:p)+(i?e:d&255)|0)==(g|0)){k=g;break c}else j=h}d:while(1){h=b[g>>0]|0;switch(h<<24>>24){case 34:break d;case 92:{g=g+1|0;if((g|0)==((i?j:p)+(i?e:d&255)|0)){k=g;h=j;break c}dCb(c,b[g>>0]|0);d=g;break}default:{dCb(c,h);d=g}}g=d+1|0;d=b[n>>0]|0;i=d<<24>>24<0;h=f[p>>2]|0;e=f[m>>2]|0;if(((i?h:p)+(i?e:d&255)|0)==(g|0)){k=g;break c}else j=h}k=g+1|0;h=j}while(0);g=k;i=(i?h:p)+(i?e:d&255)|0;if((i|0)!=(k|0)){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;d=i-g|0;if(d>>>0>4294967279)MBb(o);if(d>>>0<11){b[o+11>>0]=d;h=o}else{r=d+16&-16;h=EBb(r)|0;f[o>>2]=h;f[o+8>>2]=r|-2147483648;f[o+4>>2]=d}g=i+(0-g)|0;e=h;d=k;while(1){b[e>>0]=b[d>>0]|0;d=d+1|0;if((d|0)==(i|0))break;else e=e+1|0}b[h+g>>0]=0;r=o+11|0;c=b[r>>0]|0;m=c<<24>>24<0;Nu(a+52|0,m?f[o>>2]|0:o,m?f[o+4>>2]|0:c&255)|0;if((b[r>>0]|0)<0)GBb(f[o>>2]|0);d=b[n>>0]|0}if(d<<24>>24<0)GBb(f[p>>2]|0);u=q;return}function Yga(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+32|0;n=o+12|0;l=o;if(!(_ga(a)|0)){n=0;u=o;return n|0}KX(l,a+56|0);H6(n,l);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);m=n+11|0;d=b[m>>0]|0;i=d<<24>>24<0;e=d&255;j=i?f[n+4>>2]|0:e;k=b[c+11>>0]|0;g=k<<24>>24<0;a:do if((j|0)==((g?f[c+4>>2]|0:k&255)|0)){h=f[n>>2]|0;k=i?h:n;c=g?f[c>>2]|0:c;g=(j|0)==0;h=h&255;b:do if(i){if(!g?anb(k,c,j)|0:0){c=0;e=17;break a}}else if(!g){if((b[c>>0]|0)!=h<<24>>24){c=0;e=16;break a}g=n;while(1){e=e+-1|0;g=g+1|0;if(!e)break b;c=c+1|0;if((b[g>>0]|0)!=(b[c>>0]|0)){c=0;e=16;break a}}}while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,l);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);c=1;d=b[m>>0]|0;e=16}else{c=0;e=16}while(0);if((e|0)==16)if(d<<24>>24<0)e=17;if((e|0)==17)GBb(f[n>>2]|0);n=c;u=o;return n|0}function Zga(a){a=a|0;return}function _ga(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;j=p+16|0;k=p+12|0;l=p;m=a+28|0;n=a+32|0;if((f[n>>2]|0)==(f[m>>2]|0)){a=0;u=p;return a|0}e=a+56|0;c=f[a+68>>2]|0;d=f[a+72>>2]|0;if(c>>>0<d>>>0)c=d-c|0;else c=_i[f[(f[e>>2]|0)+28>>2]&2047](e)|0;if((c|0)>0){a=1;u=p;return a|0}c=a+44|0;Arb(c+(f[(f[c>>2]|0)+-12>>2]|0)|0,0);c=f[n>>2]|0;i=f[c+-4>>2]|0;do if((f[i+12>>2]|0)!=5){d=i+16|0;e=d+11|0;c=b[e>>0]|0;if(c<<24>>24<0)c=f[i+20>>2]|0;else c=c&255;if(c|0){Nr(a+56|0,d);if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[i+20>>2]=0;a=1;u=p;return a|0}else{b[d>>0]=0;b[e>>0]=0;a=1;u=p;return a|0}}if(f[i+48>>2]|0){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;h=l+11|0;b[h>>0]=9;c=l;d=402917;e=c+9|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[l+9>>0]=0;e=i+40|0;c=Qp(e,l)|0;g=i+44|0;if((c|0)==(g|0))c=0;else{Nr(a+56|0,c+28|0);f[k>>2]=c;f[j>>2]=f[k>>2];$fa(e,j)|0;c=1}if((b[h>>0]|0)<0)GBb(f[l>>2]|0);if(c){a=1;u=p;return a|0};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;d=l+11|0;b[d>>0]=4;f[l>>2]=1954047348;b[l+4>>0]=0;c=Qp(e,l)|0;if((c|0)==(g|0))c=0;else{Nr(a+56|0,c+28|0);f[k>>2]=c;f[j>>2]=f[k>>2];$fa(e,j)|0;c=1}if((b[d>>0]|0)<0)GBb(f[l>>2]|0);if(c){a=1;u=p;return a|0}}e=i+52|0;i=i+56|0;l=f[e>>2]|0;d=l;if((f[i>>2]|0)==(l|0)){c=f[n>>2]|0;break}c=f[n>>2]|0;if((c|0)==(f[a+36>>2]|0))Vfa(m,d);else{d=f[d>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[n>>2]|0}f[n>>2]=c+4}c=f[e>>2]|0;d=c+4|0;h=f[i>>2]|0;if((d|0)!=(h|0)){do{e=f[c>>2]|0;g=f[d>>2]|0;if((e|0)!=(g|0)){f[c>>2]=g;if(g|0){n=g+8|0;f[n>>2]=(f[n>>2]|0)+1}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)}d=d+4|0;c=c+4|0}while((d|0)!=(h|0));d=f[i>>2]|0;if((d|0)!=(c|0))o=42}else o=42;if((o|0)==42)do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(n=e+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(c|0));f[i>>2]=c;a=_ga(a)|0;u=p;return a|0}while(0);c=c+-4|0;d=f[c>>2]|0;if(d|0?(m=d+8|0,o=f[m>>2]|0,f[m>>2]=o-1,(o|0)==1):0)Rua(d,1,1);f[c>>2]=0;f[n>>2]=c;a=_ga(a)|0;u=p;return a|0}function $ga(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;q=u;u=u+176|0;i=q+164|0;n=q+160|0;p=q+16|0;o=q;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;e=Rmb(c)|0;if(e>>>0>4294967279)MBb(i);if(e>>>0<11){b[i+11>>0]=e;if(!e)d=i;else{d=i;g=6}}else{g=e+16&-16;d=EBb(g)|0;f[i>>2]=d;f[i+8>>2]=g|-2147483648;f[i+4>>2]=e;g=6}if((g|0)==6)YDb(d|0,c|0,e|0)|0;b[d+e>>0]=0;d=aha(a,i)|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);if((d|0)!=(a+4|0)){p=f[d+28>>2]|0;u=q;return p|0}j=p+64|0;l=p+8|0;f[l>>2]=323408;k=p+12|0;f[p>>2]=285412;f[j>>2]=285432;f[p+4>>2]=0;Brb(p+64|0,k);f[p+136>>2]=0;f[p+140>>2]=-1;f[p>>2]=323388;f[j>>2]=323428;f[l>>2]=323408;Hrb(k);f[k>>2]=304196;l=p+44|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;f[p+60>>2]=24;m=p+8|0;Nu(m,c,Rmb(c)|0)|0;Prb(p,n)|0;h=f[n>>2]|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;e=Rmb(c)|0;if(e>>>0>4294967279)MBb(o);if(e>>>0<11){b[o+11>>0]=e;if(!e)d=o;else{d=o;g=15}}else{g=e+16&-16;d=EBb(g)|0;f[o>>2]=d;f[o+8>>2]=g|-2147483648;f[o+4>>2]=e;g=15}if((g|0)==15)YDb(d|0,c|0,e|0)|0;b[d+e>>0]=0;c=r0(a,i,o)|0;d=f[c>>2]|0;if(!d){d=EBb(32)|0;e=d+16|0;f[e>>2]=f[o>>2];f[e+4>>2]=f[o+4>>2];f[e+8>>2]=f[o+8>>2];f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[d+28>>2]=0;e=f[i>>2]|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[c>>2]=d;e=f[f[a>>2]>>2]|0;if(!e)e=d;else{f[a>>2]=e;e=f[c>>2]|0}Xo(f[a+4>>2]|0,e);a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}f[d+28>>2]=h;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);d=f[n>>2]|0;f[p>>2]=323388;f[j>>2]=323428;f[m>>2]=323408;f[k>>2]=304196;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);qqb(k);yrb(p,323440);kqb(j);p=d;u=q;return p|0}function aha(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<h>>>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<l>>>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<l>>>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 bha(a){a=a|0;var c=0;f[a>>2]=331140;c=a+28|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function cha(a){a=a|0;var c=0;f[a>>2]=331140;c=a+28|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function dha(a){a=a|0;return 0}function eha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,g);d=g+11|0;a=b[d>>0]|0;if(((a<<24>>24<0?f[g+4>>2]|0:a&255)|0)==4){e=(nCb(g,0,-1,403239,4)|0)==0&1;a=b[d>>0]|0}else e=0;b[c>>0]=e;if(a<<24>>24>=0){u=h;return}GBb(f[g>>2]|0);u=h;return}function fha(a,c){a=a|0;c=c|0;var e=0,g=0;e=u;u=u+16|0;g=e;d[g>>1]=0;Bj[f[(f[a>>2]|0)+32>>2]&1023](a,g);b[c>>0]=d[g>>1];u=e;return}function gha(a,c){a=a|0;c=c|0;var e=0,g=0;e=u;u=u+16|0;g=e;d[g>>1]=0;Bj[f[(f[a>>2]|0)+32>>2]&1023](a,g);b[c>>0]=d[g>>1];u=e;return}function hha(a,c){a=a|0;c=c|0;var e=0,g=0;e=u;u=u+16|0;g=e;d[g>>1]=0;Bj[f[(f[a>>2]|0)+32>>2]&1023](a,g);b[c>>0]=d[g>>1];u=e;return}function iha(a,c){a=a|0;c=c|0;var e=0,g=0,h=0;g=u;u=u+16|0;e=g;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,e);a=e+11|0;h=(Lnb((b[a>>0]|0)<0?f[e>>2]|0:e,0,0)|0)&65535;d[c>>1]=h;if((b[a>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function jha(a,c){a=a|0;c=c|0;var e=0,g=0,h=0;g=u;u=u+16|0;e=g;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,e);a=e+11|0;h=(Knb((b[a>>0]|0)<0?f[e>>2]|0:e,0,0)|0)&65535;d[c>>1]=h;if((b[a>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function kha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,d);a=d+11|0;g=Lnb((b[a>>0]|0)<0?f[d>>2]|0:d,0,0)|0;f[c>>2]=g;if((b[a>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function lha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,d);a=d+11|0;g=Knb((b[a>>0]|0)<0?f[d>>2]|0:d,0,0)|0;f[c>>2]=g;if((b[a>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function mha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,d);a=d+11|0;g=Lnb((b[a>>0]|0)<0?f[d>>2]|0:d,0,0)|0;f[c>>2]=g;if((b[a>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function nha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,d);a=d+11|0;g=Knb((b[a>>0]|0)<0?f[d>>2]|0:d,0,0)|0;f[c>>2]=g;if((b[a>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function oha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0.0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,d);a=d+11|0;g=+Oza((b[a>>0]|0)<0?f[d>>2]|0:d);n[c>>2]=g;if((b[a>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function pha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0.0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,d);a=d+11|0;g=+Oza((b[a>>0]|0)<0?f[d>>2]|0:d);p[c>>3]=g;if((b[a>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function qha(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=a+28|0;g=e+11|0;d=b[g>>0]|0;if(d<<24>>24<0)d=f[a+32>>2]|0;else d=d&255;if(!d){Qea(f[a+12>>2]|0,c)|0;return}UBb(c,e)|0;if((b[g>>0]|0)<0){b[f[e>>2]>>0]=0;f[a+32>>2]=0;return}else{b[e>>0]=0;b[g>>0]=0;return}}function rha(a,b){a=a|0;b=b|0;_i[b&2047](f[a+12>>2]|0)|0;return}function sha(a,b){a=a|0;b=b|0;a=f[a+12>>2]|0;_i[b&2047](a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}function tha(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+32|0;g=i+12|0;h=i;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,g);e=(YZ(0)|0)+240|0;e=f[e>>2]|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;j=h+11|0;b[j>>0]=2;d[h>>1]=19527;b[h+2>>0]=0;e=Xfa(e,h)|0;a=g+11|0;e=$ga(e,(b[a>>0]|0)<0?f[g>>2]|0:g)|0;if((b[j>>0]|0)<0)GBb(f[h>>2]|0);f[c>>2]=e;if((b[a>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function uha(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+12|0;q=r;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,q);if(!(b[c+16>>0]|0)){l=c+11|0;e=b[l>>0]|0;i=e<<24>>24<0;m=c+4|0;e=e&255;j=i?f[m>>2]|0:e;a=q+11|0;k=b[a>>0]|0;d=k<<24>>24<0;n=q+4|0;a:do if((j|0)==((d?f[n>>2]|0:k&255)|0)){h=f[c>>2]|0;k=i?h:c;d=d?f[q>>2]|0:q;g=(j|0)==0;h=h&255;if(i){if(g)break;if(!(anb(k,d,j)|0))break;else{p=12;break}}if(!g)if((b[d>>0]|0)==h<<24>>24){g=c;while(1){e=e+-1|0;g=g+1|0;if(!e)break a;d=d+1|0;if((b[g>>0]|0)!=(b[d>>0]|0)){p=12;break}}}else p=12}else p=12;while(0);if((p|0)==12?qZa(2)|0:0){j=Nu(Hua(2)|0,403287,55)|0;k=b[a>>0]|0;p=k<<24>>24<0;k=Nu(Nu(j,p?f[q>>2]|0:q,p?f[n>>2]|0:k&255)|0,403226,12)|0;p=b[l>>0]|0;n=p<<24>>24<0;p=Nu(k,n?f[c>>2]|0:c,n?f[m>>2]|0:p&255)|0;Drb(o,p+(f[(f[p>>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(p,n)|0;Krb(p)|0}UBb(c,q)|0;d=0}else{d=(YZ(0)|0)+240|0;d=Xfa(f[d>>2]|0,c)|0;a=q+11|0;d=$ga(d,(b[a>>0]|0)<0?f[q>>2]|0:q)|0}f[c+12>>2]=d;if((b[a>>0]|0)>=0){u=r;return}GBb(f[q>>2]|0);u=r;return}function vha(a,c){a=a|0;c=c|0;var d=0;d=u;u=u+16|0;c=d;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,c);if((b[c+11>>0]|0)>=0){u=d;return}GBb(f[c>>2]|0);u=d;return}function wha(a,b,c){a=a|0;b=b|0;c=c|0;return}function xha(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+28|0;n=m+11|0;d=b[n>>0]|0;e=d<<24>>24<0;if(e)d=f[a+32>>2]|0;else d=d&255;if(!d){k=a+12|0;d=(Trb(f[k>>2]|0)|0)&255;R6(a);l=a}else{if(e){d=f[m>>2]|0;g=d;e=g}else{d=m;e=m;g=m}d=b[d>>0]|0;hCb(m,g-e|0,1)|0;k=a+12|0;l=a}i=a+32|0;j=m;a=m;a:while(1){switch(d<<24>>24){case 34:break a;case 13:case 10:case 32:break;default:{h=51;break a}}e=b[n>>0]|0;g=e<<24>>24<0;if(g)e=f[i>>2]|0;else e=e&255;if(!e){g=Trb(f[k>>2]|0)|0;R6(l);d=(g|0)==-1?d:g&255}else{if(g){d=f[m>>2]|0;g=d;e=g}else{d=m;e=a;g=j}d=b[d>>0]|0;hCb(m,g-e|0,1)|0}}if((h|0)==51){a=m;b:while(1){switch(d<<24>>24){case 10:case 0:case 32:break b;default:{}}dCb(c,d);e=b[n>>0]|0;g=e<<24>>24<0;if(g)e=f[i>>2]|0;else e=e&255;if(!e){h=Trb(f[k>>2]|0)|0;R6(l);d=(h|0)==-1?d:h&255}else{if(g){d=f[m>>2]|0;g=d;e=g}else{d=m;e=a;g=j}d=b[d>>0]|0;hCb(m,g-e|0,1)|0}}return}d=b[n>>0]|0;e=d<<24>>24<0;if(e)d=f[i>>2]|0;else d=d&255;if(!d){d=Trb(f[k>>2]|0)|0;R6(l);d=(d|0)==-1?34:d&255}else{if(e){d=f[m>>2]|0;g=d;e=g}else{d=m;e=m;g=j}d=b[d>>0]|0;hCb(m,g-e|0,1)|0}a=m;h=m;c:while(1){switch(d<<24>>24){case 34:break c;case 92:{d=b[n>>0]|0;e=d<<24>>24<0;if(e)d=f[i>>2]|0;else d=d&255;if(!d){d=Trb(f[k>>2]|0)|0;R6(l);d=(d|0)==-1?92:d&255}else{if(e){d=f[m>>2]|0;g=d;e=g}else{d=m;e=h;g=j}d=b[d>>0]|0;hCb(m,g-e|0,1)|0}dCb(c,d);break}default:dCb(c,d)}e=b[n>>0]|0;g=e<<24>>24<0;if(g)e=f[i>>2]|0;else e=e&255;if(!e){g=Trb(f[k>>2]|0)|0;R6(l);d=(g|0)==-1?d:g&255}else{if(g){d=f[m>>2]|0;g=d;e=g}else{d=m;e=a;g=j}d=b[d>>0]|0;hCb(m,g-e|0,1)|0}}return}function yha(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+28|0;m=l+11|0;d=b[m>>0]|0;if(d<<24>>24<0)e=f[a+32>>2]|0;else e=d&255;if(!e){Qea(f[a+12>>2]|0,l)|0;d=b[m>>0]|0}k=d<<24>>24<0;j=a+32|0;e=d&255;g=k?f[j>>2]|0:e;i=b[c+11>>0]|0;d=i<<24>>24<0;if((g|0)!=((d?f[c+4>>2]|0:i&255)|0)){m=0;return m|0}h=f[l>>2]|0;i=k?h:l;d=d?f[c>>2]|0:c;a=(g|0)==0;c=h&255;if(k){if(!a?anb(i,d,g)|0:0){m=0;return m|0}b[h>>0]=0;f[j>>2]=0;m=1;return m|0}a:do if(!a){if((b[d>>0]|0)!=c<<24>>24){m=0;return m|0}a=l;while(1){e=e+-1|0;a=a+1|0;if(!e)break a;d=d+1|0;if((b[a>>0]|0)!=(b[d>>0]|0)){d=0;break}}return d|0}while(0);b[l>>0]=0;b[m>>0]=0;m=1;return m|0}function zha(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;m=u;u=u+16|0;h=m;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;k=a+12|0;j=f[k>>2]|0;if(f[j+(f[(f[j>>2]|0)+-12>>2]|0)+16>>2]&2|0){u=m;return}i=h+11|0;j=h+4|0;c=0;d=0;a:while(1){if(d<<24>>24<0){b[f[h>>2]>>0]=0;f[j>>2]=0}else{b[h>>0]=0;b[i>>0]=0}Bj[f[(f[a>>2]|0)+64>>2]&1023](a,h);g=b[i>>0]|0;e=f[j>>2]|0;d=g&255;do if(((g<<24>>24<0?e:d)|0)==1){if(nCb(h,0,-1,402867,1)|0){g=b[i>>0]|0;d=g&255;e=f[j>>2]|0;l=11;break}if(!c)break a;c=c+-1|0}else l=11;while(0);if((l|0)==11){l=0;if(((g<<24>>24<0?e:d)|0)==1)c=c+((nCb(h,0,-1,402865,1)|0)==0&1)|0}g=f[k>>2]|0;if(f[g+(f[(f[g>>2]|0)+-12>>2]|0)+16>>2]&2|0)break;d=b[i>>0]|0}if((b[i>>0]|0)>=0){u=m;return}GBb(f[h>>2]|0);u=m;return}function Aha(a){a=a|0;var b=0;f[a>>2]=331028;b=f[a+40>>2]|0;if(b|0){f[a+44>>2]=b;GBb(b)}b=f[a+28>>2]|0;if(!b){Uua(a);return}f[a+32>>2]=b;GBb(b);Uua(a);return}function Bha(a){a=a|0;var b=0;f[a>>2]=331028;b=f[a+40>>2]|0;if(b|0){f[a+44>>2]=b;GBb(b)}b=f[a+28>>2]|0;if(!b){Uua(a);GBb(a);return}f[a+32>>2]=b;GBb(b);Uua(a);GBb(a);return}function Cha(a){a=a|0;return 1}function Dha(a,c){a=a|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;b[e>>0]=0;Wrb(f[a+12>>2]|0,e,1)|0;b[c>>0]=(b[e>>0]|0)!=0&1;u=d;return}function Eha(a,b){a=a|0;b=b|0;Wrb(f[a+12>>2]|0,b,1)|0;return}function Fha(a,b){a=a|0;b=b|0;Wrb(f[a+12>>2]|0,b,1)|0;return}function Gha(a,b){a=a|0;b=b|0;Wrb(f[a+12>>2]|0,b,1)|0;return}function Hha(a,c){a=a|0;c=c|0;var d=0;Wrb(f[a+12>>2]|0,c,2)|0;if(!(f[a+20>>2]|0))return;a=c+2+-1|0;do{d=b[c>>0]|0;b[c>>0]=b[a>>0]|0;c=c+1|0;b[a>>0]=d;a=a+-1|0}while(c>>>0<a>>>0);return}function Iha(a,c){a=a|0;c=c|0;var d=0;Wrb(f[a+12>>2]|0,c,2)|0;if(!(f[a+20>>2]|0))return;a=c+2+-1|0;do{d=b[c>>0]|0;b[c>>0]=b[a>>0]|0;c=c+1|0;b[a>>0]=d;a=a+-1|0}while(c>>>0<a>>>0);return}function Jha(a,c){a=a|0;c=c|0;var d=0;Wrb(f[a+12>>2]|0,c,4)|0;if(!(f[a+20>>2]|0))return;a=c+4+-1|0;do{d=b[c>>0]|0;b[c>>0]=b[a>>0]|0;c=c+1|0;b[a>>0]=d;a=a+-1|0}while(c>>>0<a>>>0);return}function Kha(a,c){a=a|0;c=c|0;var d=0;Wrb(f[a+12>>2]|0,c,4)|0;if(!(f[a+20>>2]|0))return;a=c+4+-1|0;do{d=b[c>>0]|0;b[c>>0]=b[a>>0]|0;c=c+1|0;b[a>>0]=d;a=a+-1|0}while(c>>>0<a>>>0);return}function Lha(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;Wrb(f[a+12>>2]|0,e,4)|0;if(!(f[a+20>>2]|0)){e=f[e>>2]|0;f[c>>2]=e;u=g;return}a=e+4+-1|0;d=e;do{h=b[d>>0]|0;b[d>>0]=b[a>>0]|0;d=d+1|0;b[a>>0]=h;a=a+-1|0}while(d>>>0<a>>>0);h=f[e>>2]|0;f[c>>2]=h;u=g;return}function Mha(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;Wrb(f[a+12>>2]|0,e,4)|0;if(!(f[a+20>>2]|0)){e=f[e>>2]|0;f[c>>2]=e;u=g;return}a=e+4+-1|0;d=e;do{h=b[d>>0]|0;b[d>>0]=b[a>>0]|0;d=d+1|0;b[a>>0]=h;a=a+-1|0}while(d>>>0<a>>>0);h=f[e>>2]|0;f[c>>2]=h;u=g;return}function Nha(a,c){a=a|0;c=c|0;var d=0;Wrb(f[a+12>>2]|0,c,4)|0;if(!(f[a+20>>2]|0))return;a=c+4+-1|0;do{d=b[c>>0]|0;b[c>>0]=b[a>>0]|0;c=c+1|0;b[a>>0]=d;a=a+-1|0}while(c>>>0<a>>>0);return}function Oha(a,c){a=a|0;c=c|0;var d=0;Wrb(f[a+12>>2]|0,c,8)|0;if(!(f[a+20>>2]|0))return;a=c+8+-1|0;do{d=b[c>>0]|0;b[c>>0]=b[a>>0]|0;c=c+1|0;b[a>>0]=d;a=a+-1|0}while(c>>>0<a>>>0);return}function Pha(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;d=i+12|0;h=i;f[d>>2]=0;Bj[f[(f[a>>2]|0)+40>>2]&1023](a,d);e=f[d>>2]|0;if((e|0)>0){_Bb(c,e,0);Wrb(f[a+12>>2]|0,(b[c+11>>0]|0)<0?f[c>>2]|0:c,f[d>>2]|0)|0;u=i;return}if((e|0)>=0){u=i;return}c=EBb(64)|0;f[h>>2]=c;f[h+8>>2]=-2147483584;f[h+4>>2]=59;d=c;e=403364;g=d+59|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+59>>0]=0;dea(a,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);u=i;return}function Qha(a,b){a=a|0;b=b|0;return}function Rha(a,b){a=a|0;b=b|0;return}function Sha(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;f[e>>2]=0;Wrb(f[a+12>>2]|0,e,4)|0;if(!(f[a+20>>2]|0)){e=f[e>>2]|0;f[c>>2]=e;u=g;return}a=e+4+-1|0;d=e;do{h=b[d>>0]|0;b[d>>0]=b[a>>0]|0;d=d+1|0;b[a>>0]=h;a=a+-1|0}while(d>>>0<a>>>0);h=f[e>>2]|0;f[c>>2]=h;u=g;return}function Tha(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;f[e>>2]=0;if(b[c+16>>0]|0?(Wrb(f[a+12>>2]|0,e,4)|0,f[a+20>>2]|0):0){a=e+4+-1|0;d=e;do{h=b[d>>0]|0;b[d>>0]=b[a>>0]|0;d=d+1|0;b[a>>0]=h;a=a+-1|0}while(d>>>0<a>>>0)}f[c+12>>2]=f[e>>2];u=g;return}function Uha(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;l=u;u=u+32|0;j=l+16|0;k=l;if(!(b[a+24>>0]|0)){u=l;return}h=c+11|0;e=b[h>>0]|0;i=c+4|0;d=f[i>>2]|0;g=e&255;do if(((e<<24>>24<0?d:g)|0)==1){if(nCb(c,0,-1,402865,1)|0){e=b[h>>0]|0;g=e&255;d=f[i>>2]|0;break}g=a+12|0;Xrb(j,f[g>>2]|0);d=a+32|0;e=f[d>>2]|0;if(e>>>0<(f[a+36>>2]|0)>>>0){f[e>>2]=f[j>>2];f[e+4>>2]=f[j+4>>2];f[e+8>>2]=f[j+8>>2];f[e+12>>2]=f[j+12>>2];f[d>>2]=(f[d>>2]|0)+16}else rfa(a+28|0,j);d=f[a+16>>2]|0;if(d|0){f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;d=(O6(d,j)|0)>148;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if(d){c=j;f[c>>2]=0;f[c+4>>2]=0;Wrb(f[g>>2]|0,j,8)|0;if(f[a+20>>2]|0){d=j+8+-1|0;e=j;do{c=b[e>>0]|0;b[e>>0]=b[d>>0]|0;e=e+1|0;b[d>>0]=c;d=d+-1|0}while(e>>>0<d>>>0)}e=j;j=f[e>>2]|0;e=f[e+4>>2]|0;d=k;f[d>>2]=0;f[d+4>>2]=0;d=k+8|0;f[d>>2]=j;f[d+4>>2]=e;d=a+44|0;e=f[d>>2]|0;if(e>>>0<(f[a+48>>2]|0)>>>0){f[e>>2]=f[k>>2];f[e+4>>2]=f[k+4>>2];f[e+8>>2]=f[k+8>>2];f[e+12>>2]=f[k+12>>2];f[d>>2]=(f[d>>2]|0)+16}else rfa(a+40|0,k);u=l;return}}f[j>>2]=0;Wrb(f[g>>2]|0,j,4)|0;if(f[a+20>>2]|0){d=j+4+-1|0;e=j;do{c=b[e>>0]|0;b[e>>0]=b[d>>0]|0;e=e+1|0;b[d>>0]=c;d=d+-1|0}while(e>>>0<d>>>0)}e=f[j>>2]|0;d=k;f[d>>2]=0;f[d+4>>2]=0;d=k+8|0;f[d>>2]=e;f[d+4>>2]=((e|0)<0)<<31>>31;d=a+44|0;e=f[d>>2]|0;if(e>>>0<(f[a+48>>2]|0)>>>0){f[e>>2]=f[k>>2];f[e+4>>2]=f[k+4>>2];f[e+8>>2]=f[k+8>>2];f[e+12>>2]=f[k+12>>2];f[d>>2]=(f[d>>2]|0)+16}else rfa(a+40|0,k);u=l;return}while(0);if(((e<<24>>24<0?d:g)|0)!=1){u=l;return}if(nCb(c,0,-1,402867,1)|0){u=l;return}d=a+32|0;e=f[d>>2]|0;if((e|0)==(f[a+28>>2]|0)){u=l;return}f[d>>2]=e+-16;a=a+44|0;f[a>>2]=(f[a>>2]|0)+-16;u=l;return}function Vha(a,b,c){a=a|0;b=b|0;c=c|0;if(!c)return;Wrb(f[a+12>>2]|0,b,c)|0;return}function Wha(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+64>>2]&1023](a,b);return}function Xha(a,b){a=a|0;b=b|0;return 0}function Yha(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;h=u;u=u+32|0;c=h+16|0;d=h;if(!(b[a+24>>0]|0)){u=h;return}g=a+32|0;i=f[g>>2]|0;e=i;if((i|0)==(f[a+28>>2]|0)){u=h;return}k=e+-16|0;l=f[k>>2]|0;k=f[k+4>>2]|0;j=e+-8|0;i=a+44|0;e=(f[i>>2]|0)+-8|0;j=MDb(f[e>>2]|0,f[e+4>>2]|0,f[j>>2]|0,f[j+4>>2]|0)|0;e=f[a+12>>2]|0;a=d;f[a>>2]=l;f[a+4>>2]=k;a=d+8|0;f[a>>2]=j;f[a+4>>2]=H;f[c>>2]=f[d>>2];f[c+4>>2]=f[d+4>>2];f[c+8>>2]=f[d+8>>2];f[c+12>>2]=f[d+12>>2];Yrb(e,c)|0;f[g>>2]=(f[g>>2]|0)+-16;f[i>>2]=(f[i>>2]|0)+-16;u=h;return}function Zha(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;o=u;u=u+48|0;l=o+28|0;m=o;n=o+16|0;m6(l,d);if((!(cj[f[(f[a>>2]|0)+176>>2]&1023](a,l)|0)?(f[m>>2]=1,h=m+4|0,f[h>>2]=0,f[h+4>>2]=0,f[h+8>>2]=0,(m|0)!=(c|0)):0)?(f[c>>2]=1,UBb(c+4|0,h)|0,(b[h+11>>0]|0)<0):0)GBb(f[h>>2]|0);if(!g){c=EBb(148)|0;_ca(c);k=c+8|0;f[k>>2]=(f[k>>2]|0)+1;k=0}else{c=f[(f[g>>2]|0)+16>>2]|0;f[m>>2]=346256;f[m+4>>2]=0;c=cj[c&1023](g,m)|0;a=(c|0)==0;if(!a){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}k=a}l6(m,d);i=c+60|0;a=f[i>>2]|0;if(!a){_ha(c+44|0);a=f[i>>2]|0}p=f[c+48>>2]|0;h=(a>>>0)/341|0;d=p+(h<<2)|0;g=f[d>>2]|0;if((f[c+52>>2]|0)==(p|0))a=0;else a=g+((a-(h*341|0)|0)*12|0)|0;if((a|0)==(g|0))a=(f[d+-4>>2]|0)+4092|0;h=a+-12|0;f[h>>2]=f[m>>2];f[h+4>>2]=f[m+4>>2];f[h+8>>2]=f[m+8>>2];f[i>>2]=(f[i>>2]|0)+-1;i=c+64|0;f[i>>2]=(f[i>>2]|0)+1;i=l+11|0;h=b[i>>0]|0;d=l+4|0;a=f[d>>2]|0;g=h&255;do if(((h<<24>>24<0?a:g)|0)==4){if(nCb(l,0,-1,403446,4)|0){h=b[i>>0]|0;g=h&255;a=f[d>>2]|0;j=25;break};f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;a=m+11|0;b[a>>0]=8;p=m;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[m+8>>0]=0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;p=n+11|0;b[p>>0]=5;b[n>>0]=b[402104]|0;b[n+1>>0]=b[402105]|0;b[n+2>>0]=b[402106]|0;b[n+3>>0]=b[402107]|0;b[n+4>>0]=b[402108]|0;b[n+5>>0]=0;UBb(ck(c+100|0,m)|0,n)|0;if((b[p>>0]|0)<0)GBb(f[n>>2]|0);if((b[a>>0]|0)<0)GBb(f[m>>2]|0)}else j=25;while(0);a:do if((j|0)==25){do if(((h<<24>>24<0?a:g)|0)==4){if(nCb(l,0,-1,403451,4)|0){h=b[i>>0]|0;g=h&255;a=f[d>>2]|0;break};f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;a=m+11|0;b[a>>0]=8;p=m;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[m+8>>0]=0;p=n+4|0;f[p>>2]=0;f[p+4>>2]=0;p=n+11|0;b[p>>0]=3;b[n>>0]=b[402165]|0;b[n+1>>0]=b[402166]|0;b[n+2>>0]=b[402167]|0;b[n+3>>0]=0;UBb(ck(c+100|0,m)|0,n)|0;if((b[p>>0]|0)<0)GBb(f[n>>2]|0);if((b[a>>0]|0)<0)GBb(f[m>>2]|0);break a}while(0);if(((h<<24>>24<0?a:g)|0)==4?(nCb(l,0,-1,403456,4)|0)==0:0){f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;a=m+11|0;b[a>>0]=8;p=m;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[m+8>>0]=0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;p=n+11|0;b[p>>0]=6;b[n>>0]=b[403461]|0;b[n+1>>0]=b[403462]|0;b[n+2>>0]=b[403463]|0;b[n+3>>0]=b[403464]|0;b[n+4>>0]=b[403465]|0;b[n+5>>0]=b[403466]|0;b[n+6>>0]=0;UBb(ck(c+100|0,m)|0,n)|0;if((b[p>>0]|0)<0)GBb(f[n>>2]|0);if((b[a>>0]|0)<0)GBb(f[m>>2]|0);f[e>>2]=f[e>>2]|4;break};f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;a=m+11|0;b[a>>0]=8;p=m;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[m+8>>0]=0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;UBb(ck(c+100|0,m)|0,n)|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);if((b[a>>0]|0)<0)GBb(f[m>>2]|0);f[e>>2]=f[e>>2]|4}while(0);if(!k)v0a(c)|0;if((b[i>>0]|0)>=0){u=o;return c|0}GBb(f[l>>2]|0);u=o;return c|0}function _ha(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,s=0,t=0,v=0,w=0,x=0,y=0;y=u;u=u+32|0;s=y+4|0;g=y;v=a+8|0;c=f[v>>2]|0;w=a+4|0;d=f[w>>2]|0;e=c-d|0;x=a+16|0;b=f[x>>2]|0;if((((e|0)==0?0:((e>>2)*341|0)+-1|0)-((f[a+20>>2]|0)+b)|0)>>>0>340){f[x>>2]=b+341;x=c+-4|0;f[s>>2]=f[x>>2];f[v>>2]=x;$ha(a,s);u=y;return}t=a+12|0;b=f[a>>2]|0;c=(f[t>>2]|0)-b|0;if(e>>>0<c>>>0){if((d|0)==(b|0)){t=EBb(4092)|0;f[s>>2]=t;l$(a,s);t=(f[v>>2]|0)+-4|0;f[s>>2]=f[t>>2];f[v>>2]=t;$ha(a,s)}else{t=EBb(4092)|0;f[s>>2]=t;m$(a,s)}if(((f[v>>2]|0)-(f[w>>2]|0)|0)==4)b=170;else b=(f[x>>2]|0)+341|0;f[x>>2]=b;u=y;return}b=(c|0)==0?1:c>>1;h=s+12|0;f[h>>2]=0;f[s+16>>2]=a+12;do if(b)if(b>>>0>1073741823){y=ab(8)|0;KBb(y,410101);f[y>>2]=362060;eb(y|0,302144,1464)}else{c=EBb(b<<2)|0;break}else c=0;while(0);f[s>>2]=c;r=s+8|0;f[r>>2]=c;i=s+4|0;f[i>>2]=c;f[h>>2]=c+(b<<2);d=EBb(4092)|0;f[g>>2]=d;n$(s,g);d=f[w>>2]|0;b=f[v>>2]|0;do if((d|0)!=(b|0)){b=f[r>>2]|0;a:while(1){q=f[h>>2]|0;g=q;do if((b|0)==(q|0)){q=f[i>>2]|0;o=q;p=f[s>>2]|0;c=p;if(q>>>0>p>>>0){b=((o-c>>2)+1|0)/-2|0;e=q+(b<<2)|0;c=g-o|0;if(!c)b=e;else{ZDb(e|0,q|0,c|0)|0;b=(f[i>>2]|0)+(b<<2)|0}q=e+(c>>2<<2)|0;f[r>>2]=q;f[i>>2]=b;b=q;break}c=g-c|0;c=(c|0)==0?1:c>>1;l=c>>>2;if(!c)j=0;else{if(c>>>0>1073741823){d=26;break a}j=EBb(c<<2)|0}m=j;e=j+(l<<2)|0;n=e;k=j+(c<<2)|0;if((q|0)==(b|0))b=n;else{g=((b+-4-o|0)>>>2)+1|0;c=q;while(1){f[e>>2]=f[c>>2];c=c+4|0;if((c|0)==(b|0))break;else e=e+4|0}b=j+(g+l<<2)|0}f[s>>2]=m;f[i>>2]=n;f[r>>2]=b;f[h>>2]=k;if(p){GBb(p);b=f[r>>2]|0}}while(0);f[b>>2]=f[d>>2];b=(f[r>>2]|0)+4|0;f[r>>2]=b;d=d+4|0;c=f[v>>2]|0;if((d|0)==(c|0)){d=17;break}}if((d|0)==17){j=r;e=s;g=f[w>>2]|0;break}else if((d|0)==26){y=ab(8)|0;KBb(y,410101);f[y>>2]=362060;eb(y|0,302144,1464)}}else{c=b;j=r;e=s;g=d;b=f[r>>2]|0}while(0);d=f[a>>2]|0;f[a>>2]=f[e>>2];f[e>>2]=d;a=f[i>>2]|0;f[w>>2]=a;f[i>>2]=g;f[v>>2]=b;f[j>>2]=c;w=f[t>>2]|0;f[t>>2]=f[h>>2];f[h>>2]=w;if((b-a|0)==4)b=170;else b=(f[x>>2]|0)+341|0;f[x>>2]=b;if((c|0)!=(g|0))f[r>>2]=c+(~((c+-4-g|0)>>>2)<<2);if(d|0)GBb(d);u=y;return}function $ha(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<l>>>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 aia(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;o=u;u=u+48|0;n=o+32|0;l=o;k=o+20|0;m6(n,d);do if(cj[f[(f[a>>2]|0)+176>>2]&1023](a,n)|0){q6(l,d,g,0);a=d+11|0;if((b[a>>0]|0)<0){b[f[d>>2]>>0]=0;f[d+4>>2]=0}else{b[d>>0]=0;b[a>>0]=0}YBb(d,0);f[d>>2]=f[l>>2];f[d+4>>2]=f[l+4>>2];f[d+8>>2]=f[l+8>>2];j=b[a>>0]|0;if(!((j<<24>>24<0?f[d+4>>2]|0:j&255)|0)){f[l>>2]=2;h=l+4|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;if((l|0)!=(c|0)){f[c>>2]=2;UBb(c+4|0,h)|0;g=c+16|0;c=f[g>>2]|0;a=l+16|0;d=f[a>>2]|0;if((c|0)!=(d|0)){f[g>>2]=d;if(d|0){m=d+8|0;f[m>>2]=(f[m>>2]|0)+1}if((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);m=29}else m=29}else{g=a;a=d}}else{a=l+16|0;m=29}if((m|0)==29){g=a;a=f[a>>2]|0}if(a|0?(l=a+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(a,1,1);f[g>>2]=0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);a=0;break}if(!g){a=EBb(148)|0;_ca(a);j=a+8|0;f[j>>2]=(f[j>>2]|0)+1;j=0}else{a=f[(f[g>>2]|0)+16>>2]|0;f[l>>2]=346256;f[l+4>>2]=0;a=cj[a&1023](g,l)|0;g=(a|0)==0;if(!g){j=a+8|0;f[j>>2]=(f[j>>2]|0)+1}j=g}l6(l,d);i=a+60|0;g=f[i>>2]|0;if(!g){_ha(a+44|0);g=f[i>>2]|0}p=f[a+48>>2]|0;c=(g>>>0)/341|0;h=p+(c<<2)|0;d=f[h>>2]|0;if((f[a+52>>2]|0)==(p|0))g=0;else g=d+((g-(c*341|0)|0)*12|0)|0;if((g|0)==(d|0))g=(f[h+-4>>2]|0)+4092|0;h=g+-12|0;f[h>>2]=f[l>>2];f[h+4>>2]=f[l+4>>2];f[h+8>>2]=f[l+8>>2];f[i>>2]=(f[i>>2]|0)+-1;h=a+64|0;f[h>>2]=(f[h>>2]|0)+1;h=n+11|0;c=b[h>>0]|0;i=n+4|0;g=f[i>>2]|0;d=c&255;do if(((c<<24>>24<0?g:d)|0)==4){if(nCb(n,0,-1,403446,4)|0){c=b[h>>0]|0;d=c&255;g=f[i>>2]|0;m=55;break};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;g=l+11|0;b[g>>0]=8;p=l;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[l+8>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;p=k+11|0;b[p>>0]=5;b[k>>0]=b[402104]|0;b[k+1>>0]=b[402105]|0;b[k+2>>0]=b[402106]|0;b[k+3>>0]=b[402107]|0;b[k+4>>0]=b[402108]|0;b[k+5>>0]=0;UBb(ck(a+100|0,l)|0,k)|0;if((b[p>>0]|0)<0)GBb(f[k>>2]|0);if((b[g>>0]|0)<0)GBb(f[l>>2]|0)}else m=55;while(0);a:do if((m|0)==55){do if(((c<<24>>24<0?g:d)|0)==4){if(nCb(n,0,-1,403451,4)|0){c=b[h>>0]|0;d=c&255;g=f[i>>2]|0;break};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;g=l+11|0;b[g>>0]=8;p=l;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[l+8>>0]=0;p=k+4|0;f[p>>2]=0;f[p+4>>2]=0;p=k+11|0;b[p>>0]=3;b[k>>0]=b[402165]|0;b[k+1>>0]=b[402166]|0;b[k+2>>0]=b[402167]|0;b[k+3>>0]=0;UBb(ck(a+100|0,l)|0,k)|0;if((b[p>>0]|0)<0)GBb(f[k>>2]|0);if((b[g>>0]|0)<0)GBb(f[l>>2]|0);break a}while(0);if(((c<<24>>24<0?g:d)|0)==4?(nCb(n,0,-1,403456,4)|0)==0:0){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;g=l+11|0;b[g>>0]=8;p=l;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[l+8>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;p=k+11|0;b[p>>0]=6;b[k>>0]=b[403461]|0;b[k+1>>0]=b[403462]|0;b[k+2>>0]=b[403463]|0;b[k+3>>0]=b[403464]|0;b[k+4>>0]=b[403465]|0;b[k+5>>0]=b[403466]|0;b[k+6>>0]=0;UBb(ck(a+100|0,l)|0,k)|0;if((b[p>>0]|0)<0)GBb(f[k>>2]|0);if((b[g>>0]|0)<0)GBb(f[l>>2]|0);f[e>>2]=f[e>>2]|4;break};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;g=l+11|0;b[g>>0]=8;p=l;f[p>>2]=1701603686;f[p+4>>2]=1701869908;b[l+8>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;UBb(ck(a+100|0,l)|0,k)|0;if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[g>>0]|0)<0)GBb(f[l>>2]|0);f[e>>2]=f[e>>2]|4}while(0);if(!j)v0a(a)|0}else{f[l>>2]=1;h=l+4|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;if((l|0)!=(c|0)){f[c>>2]=1;UBb(c+4|0,h)|0;g=c+16|0;c=f[g>>2]|0;a=l+16|0;d=f[a>>2]|0;if((c|0)!=(d|0)){f[g>>2]=d;if(d|0){p=d+8|0;f[p>>2]=(f[p>>2]|0)+1}if((c|0)!=0?(m=c+8|0,p=f[m>>2]|0,f[m>>2]=p-1,(p|0)==1):0){Rua(c,1,1);m=10}else m=10}else{g=a;a=d}}else{a=l+16|0;m=10}if((m|0)==10){g=a;a=f[a>>2]|0}if(a|0?(m=a+8|0,p=f[m>>2]|0,f[m>>2]=p-1,(p|0)==1):0)Rua(a,1,1);f[g>>2]=0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);a=0}while(0);if((b[n+11>>0]|0)>=0){u=o;return a|0}GBb(f[n>>2]|0);u=o;return a|0}function bia(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=u;u=u+32|0;e=i+12|0;g=i;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;f[a+28>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+32>>2]=a+36;f[a+48>>2]=0;f[a+52>>2]=0;f[a+44>>2]=a+48;f[a+60>>2]=0;f[a+64>>2]=0;f[a+56>>2]=a+60;f[a>>2]=331364;t4a(a+68|0,0);b[a+80>>0]=0;c=e+4|0;f[c>>2]=0;f[c+4>>2]=0;c=e+11|0;b[c>>0]=3;b[e>>0]=b[409756]|0;b[e+1>>0]=b[409757]|0;b[e+2>>0]=b[409758]|0;b[e+3>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(48)|0;f[g>>2]=d;f[g+8>>2]=-2147483600;f[g+4>>2]=32;h=d;j=403530;k=h+32|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+32>>0]=0;Zda(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=4;f[e>>2]=1936159599;b[e+4>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(80)|0;f[g>>2]=d;f[g+8>>2]=-2147483568;f[g+4>>2]=71;h=d;j=403563;k=h+71|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+71>>0]=0;Zda(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=9;h=e;j=402808;k=h+9|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[e+9>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(64)|0;f[g>>2]=d;f[g+8>>2]=-2147483584;f[g+4>>2]=55;h=d;j=403635;k=h+55|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[d+55>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=18;h=c;j=403691;k=h+18|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+18>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;c=EBb(48)|0;f[g>>2]=c;f[g+8>>2]=-2147483600;f[g+4>>2]=36;h=c;j=403710;k=h+36|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+36>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=25;h=c;j=403747;k=h+25|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+25>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;c=EBb(16)|0;f[g>>2]=c;f[g+8>>2]=-2147483632;f[g+4>>2]=13;h=c;j=403773;k=h+13|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+13>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=27;h=c;j=403787;k=h+27|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+27>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;c=EBb(16)|0;f[g>>2]=c;f[g+8>>2]=-2147483632;f[g+4>>2]=13;h=c;j=403773;k=h+13|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+13>>0]=0;_da(a,e,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)>=0){u=i;return}GBb(f[e>>2]|0);u=i;return}function cia(a){a=a|0;f[a>>2]=331364;R3a(a+68|0);pZ(a);return}function dia(a){a=a|0;f[a>>2]=331364;R3a(a+68|0);pZ(a);GBb(a);return}function eia(a){a=a|0;return 404020}function fia(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;p=u;u=u+352|0;m=p+328|0;n=p+188|0;o=p;m6(m,d);do if(!(n6(m,404015)|0)){if(!(cj[f[(f[c>>2]|0)+176>>2]&1023](c,m)|0)){f[a>>2]=1;o=a+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;break}q6(n,d,e,0);l=n+11|0;k=b[l>>0]|0;if((k<<24>>24<0?f[n+4>>2]|0:k&255)|0){if(!e){g=EBb(148)|0;_ca(g);d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=0}else{g=f[(f[e>>2]|0)+16>>2]|0;f[o>>2]=346256;f[o+4>>2]=0;g=cj[g&1023](e,o)|0;d=(g|0)==0;if(!d){k=g+8|0;f[k>>2]=(f[k>>2]|0)+1}}l6(o,n);k=g+60|0;h=f[k>>2]|0;if(!h){_ha(g+44|0);h=f[k>>2]|0}q=f[g+48>>2]|0;e=(h>>>0)/341|0;j=q+(e<<2)|0;i=f[j>>2]|0;if((f[g+52>>2]|0)==(q|0))h=0;else h=i+((h-(e*341|0)|0)*12|0)|0;if((h|0)==(i|0))h=(f[j+-4>>2]|0)+4092|0;q=h+-12|0;f[q>>2]=f[o>>2];f[q+4>>2]=f[o+4>>2];f[q+8>>2]=f[o+8>>2];f[k>>2]=(f[k>>2]|0)+-1;q=g+64|0;f[q>>2]=(f[q>>2]|0)+1;r6(o,(b[l>>0]|0)<0?f[n>>2]|0:n,8);if(!(f[o+(f[(f[o>>2]|0)+-12>>2]|0)+16>>2]&5))Ij[f[(f[c>>2]|0)+248>>2]&127](a,c,o,g);else{f[a>>2]=4;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0}b3(o);if(!d?(o=g+8|0,q=f[o>>2]|0,f[o>>2]=q-1,(q|0)==1):0)Rua(g,1,1)}else{f[a>>2]=2;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0}if((b[l>>0]|0)<0)GBb(f[n>>2]|0)}else{t5(o,d);g=n+60|0;h=n+8|0;f[n>>2]=276076;f[g>>2]=276096;f[n+4>>2]=0;Brb(n+60|0,h);f[n+132>>2]=0;f[n+136>>2]=-1;f[n>>2]=304144;f[g>>2]=304164;Hrb(h);f[h>>2]=304196;d=n+40|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[n+56>>2]=8;Nr(h,o);if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);if(!(f[n+(f[(f[n>>2]|0)+-12>>2]|0)+16>>2]&5))Ij[f[(f[c>>2]|0)+260>>2]&127](a,c,n,e);else{f[a>>2]=3;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0}f[n>>2]=304144;f[g>>2]=304164;f[h>>2]=304196;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);qqb(h);crb(n,304176);kqb(g)}while(0);if((b[m+11>>0]|0)>=0){u=p;return}GBb(f[m>>2]|0);u=p;return}function gia(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;p=u;u=u+352|0;m=p+328|0;n=p+188|0;o=p;m6(m,d);do if(!(n6(m,404015)|0)){if(!(cj[f[(f[c>>2]|0)+176>>2]&1023](c,m)|0)){f[a>>2]=1;o=a+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;break}q6(n,d,e,0);l=n+11|0;k=b[l>>0]|0;if((k<<24>>24<0?f[n+4>>2]|0:k&255)|0){if(!e){g=EBb(148)|0;_ca(g);d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=0}else{g=f[(f[e>>2]|0)+16>>2]|0;f[o>>2]=346256;f[o+4>>2]=0;g=cj[g&1023](e,o)|0;d=(g|0)==0;if(!d){k=g+8|0;f[k>>2]=(f[k>>2]|0)+1}}l6(o,n);k=g+60|0;h=f[k>>2]|0;if(!h){_ha(g+44|0);h=f[k>>2]|0}q=f[g+48>>2]|0;e=(h>>>0)/341|0;j=q+(e<<2)|0;i=f[j>>2]|0;if((f[g+52>>2]|0)==(q|0))h=0;else h=i+((h-(e*341|0)|0)*12|0)|0;if((h|0)==(i|0))h=(f[j+-4>>2]|0)+4092|0;q=h+-12|0;f[q>>2]=f[o>>2];f[q+4>>2]=f[o+4>>2];f[q+8>>2]=f[o+8>>2];f[k>>2]=(f[k>>2]|0)+-1;q=g+64|0;f[q>>2]=(f[q>>2]|0)+1;r6(o,(b[l>>0]|0)<0?f[n>>2]|0:n,8);if(!(f[o+(f[(f[o>>2]|0)+-12>>2]|0)+16>>2]&5))Ij[f[(f[c>>2]|0)+260>>2]&127](a,c,o,g);else{f[a>>2]=4;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0}b3(o);if(!d?(o=g+8|0,q=f[o>>2]|0,f[o>>2]=q-1,(q|0)==1):0)Rua(g,1,1)}else{f[a>>2]=2;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0}if((b[l>>0]|0)<0)GBb(f[n>>2]|0)}else{t5(o,d);g=n+60|0;h=n+8|0;f[n>>2]=276076;f[g>>2]=276096;f[n+4>>2]=0;Brb(n+60|0,h);f[n+132>>2]=0;f[n+136>>2]=-1;f[n>>2]=304144;f[g>>2]=304164;Hrb(h);f[h>>2]=304196;d=n+40|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[n+56>>2]=8;Nr(h,o);if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);if(!(f[n+(f[(f[n>>2]|0)+-12>>2]|0)+16>>2]&5))Ij[f[(f[c>>2]|0)+260>>2]&127](a,c,n,e);else{f[a>>2]=3;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0}f[n>>2]=304144;f[g>>2]=304164;f[h>>2]=304196;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);qqb(h);crb(n,304176);kqb(g)}while(0);if((b[m+11>>0]|0)>=0){u=p;return}GBb(f[m>>2]|0);u=p;return}function hia(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;n=u;u=u+304|0;k=n+280|0;h=n+276|0;l=n+264|0;m=n+4|0;i=n;m6(l,e);if(cj[f[(f[c>>2]|0)+176>>2]&1023](c,l)|0){uea(m,(b[e+11>>0]|0)<0?f[e>>2]|0:e);if(f[m+(f[(f[m>>2]|0)+-12>>2]|0)+16>>2]&5){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=30;e=c;g=403984;d=e+30|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(d|0));b[c+30>>0]=0;f[a>>2]=2;OBb(a+4|0,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0)}else{nia(c)|0;vea(m,g);oia(c,m,g);c=f[(f[m>>2]|0)+-12>>2]|0;e=qBb()|0;c=m+c|0;Drb(i,c);Erb(k,c,e);vtb(k);c=f[c+24>>2]|0;if(c|0){Bj[f[(f[c>>2]|0)+8>>2]&1023](c,e);k=c+4|0;uBb(h,k);xBb(k,e)|0;vtb(h)}vtb(i);f5(m,d)|0;c=m+4|0;e=m+68|0;g=f[e>>2]|0;if(!(((g|0)!=0?(j=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0,(Lpb(g)|0)==0):0)?(f[e>>2]=0,!(j|0)):0)){k=m+(f[(f[m>>2]|0)+-12>>2]|0)|0;Arb(k,f[k+16>>2]|4)}f[a>>2]=3;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}d5(m)}else{f[a>>2]=1;m=a+4|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0}if((b[l+11>>0]|0)>=0){u=n;return}GBb(f[l>>2]|0);u=n;return}function iia(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;o=u;u=u+304|0;l=o+280|0;i=o+276|0;m=o+264|0;n=o+4|0;j=o;I_(m,e);if(cj[f[(f[c>>2]|0)+176>>2]&1023](c,m)|0){uea(n,(b[e+11>>0]|0)<0?f[e>>2]|0:e);if(f[n+(f[(f[n>>2]|0)+-12>>2]|0)+16>>2]&5){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;e=EBb(32)|0;f[l>>2]=e;f[l+8>>2]=-2147483616;f[l+4>>2]=30;h=e;c=403984;d=h+30|0;do{b[h>>0]=b[c>>0]|0;h=h+1|0;c=c+1|0}while((h|0)<(d|0));b[e+30>>0]=0;f[a>>2]=2;OBb(a+4|0,l);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0)}else{nia(c)|0;vea(n,g);e=f[(f[n>>2]|0)+-12>>2]|0;h=qBb()|0;e=n+e|0;Drb(j,e);Erb(l,e,h);vtb(l);e=f[e+24>>2]|0;if(e|0){Bj[f[(f[e>>2]|0)+8>>2]&1023](e,h);l=e+4|0;uBb(i,l);xBb(l,h)|0;vtb(i)}vtb(j);oia(c,n,g);f5(n,d)|0;e=n+4|0;h=n+68|0;c=f[h>>2]|0;if(!(((c|0)!=0?(k=_i[f[(f[e>>2]|0)+24>>2]&2047](e)|0,(Lpb(c)|0)==0):0)?(f[h>>2]=0,!(k|0)):0)){l=n+(f[(f[n>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|4)}f[a>>2]=3;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0}d5(n)}else{f[a>>2]=1;n=a+4|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0}if((b[m+11>>0]|0)>=0){u=o;return}GBb(f[m>>2]|0);u=o;return}function jia(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;l=u;u=u+624|0;k=l+32|0;j=l+16|0;h=l+12|0;i=l;nia(c)|0;g=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;c=qBb()|0;Drb(h,g);Erb(k,g,c);vtb(k);g=f[g+24>>2]|0;if(g|0){Bj[f[(f[g>>2]|0)+8>>2]&1023](g,c);g=g+4|0;uBb(j,g);xBb(g,c)|0;vtb(j)}vtb(h);sea(k);wea(k,d);c=k+588|0;g=f[c>>2]|0;if((g|0)!=(e|0)){f[c>>2]=e;if(e|0){e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}if(g|0?(h=g+8|0,e=f[h>>2]|0,f[h>>2]=e-1,(e|0)==1):0)Rua(g,1,1)}f[j>>2]=0;e=j+4|0;f[e>>2]=0;c=j+8|0;f[c>>2]=0;while(1){if(e4(k)|0)break;h=h4(k)|0;f[i>>2]=h;g=h;do if(h){d=f[e>>2]|0;if((d|0)==(f[c>>2]|0)){pia(j,i);break}else{f[d>>2]=g;f[e>>2]=(f[e>>2]|0)+4;break}}else H4(k);while(0)}c=f[j>>2]|0;if((c|0)==(f[e>>2]|0)){f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;c=EBb(16)|0;f[i>>2]=c;f[i+8>>2]=-2147483632;f[i+4>>2]=14;g=c;d=403956;h=g+14|0;do{b[g>>0]=b[d>>0]|0;g=g+1|0;d=d+1|0}while((g|0)<(h|0));b[c+14>>0]=0;f[a>>2]=3;OBb(a+4|0,i);f[a+16>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}else{c=f[c>>2]|0;f[a>>2]=4;i=a+4|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a+16>>2]=c;if(c|0){a=c+8|0;f[a>>2]=(f[a>>2]|0)+1}}c=f[j>>2]|0;if(!c){c4(k);u=l;return}f[e>>2]=c;GBb(c);c4(k);u=l;return}function kia(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;n=u;u=u+624|0;m=n+32|0;l=n+16|0;h=n+12|0;k=n;nia(c)|0;g=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;c=qBb()|0;Drb(h,g);Erb(m,g,c);vtb(m);g=f[g+24>>2]|0;if(g|0){Bj[f[(f[g>>2]|0)+8>>2]&1023](g,c);g=g+4|0;uBb(l,g);xBb(g,c)|0;vtb(l)}vtb(h);sea(m);wea(m,d);c=m+588|0;g=f[c>>2]|0;if((g|0)!=(e|0)){f[c>>2]=e;if(e|0){e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}if(g|0?(h=g+8|0,e=f[h>>2]|0,f[h>>2]=e-1,(e|0)==1):0)Rua(g,1,1)}f[l>>2]=0;e=l+4|0;f[e>>2]=0;g=l+8|0;f[g>>2]=0;while(1){if(e4(m)|0)break;c=m4(m)|0;f[k>>2]=c;do if((c|0)!=0?(i=c+8|0,f[i>>2]=(f[i>>2]|0)+1,i=f[k>>2]|0,(i|0)!=0):0){c=f[e>>2]|0;if((c|0)==(f[g>>2]|0)){$da(l,k);break}else{f[c>>2]=i;h=i+8|0;f[h>>2]=(f[h>>2]|0)+1;f[e>>2]=(f[e>>2]|0)+4;break}}else j=16;while(0);if((j|0)==16){j=0;H4(m)}c=f[k>>2]|0;if(c|0?(d=c+8|0,h=f[d>>2]|0,f[d>>2]=h-1,(h|0)==1):0)Rua(c,1,1)}c=f[l>>2]|0;g=f[e>>2]|0;do if((c|0)==(g|0)){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=14;g=c;d=403956;h=g+14|0;do{b[g>>0]=b[d>>0]|0;g=g+1|0;d=d+1|0}while((g|0)<(h|0));b[c+14>>0]=0;f[a>>2]=3;OBb(a+4|0,k);f[a+16>>2]=0;if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0)}else{if((g-c|0)==4){f[a>>2]=4;k=a+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;c=f[c>>2]|0;f[a+16>>2]=c;if(!c)break;a=c+8|0;f[a>>2]=(f[a>>2]|0)+1;break}g=EBb(136)|0;k_a(g);jx(g,403971);c=f[l>>2]|0;if((c|0)!=(f[e>>2]|0))do{cj[f[(f[g>>2]|0)+228>>2]&1023](g,f[c>>2]|0)|0;c=c+4|0}while((c|0)!=(f[e>>2]|0));f[a>>2]=4;k=a+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[a+16>>2]=g;a=g+8|0;f[a>>2]=(f[a>>2]|0)+1}while(0);d=f[l>>2]|0;if(!d){c4(m);u=n;return}c=f[e>>2]|0;if((c|0)==(d|0))c=d;else{do{c=c+-4|0;g=f[c>>2]|0;if(g|0?(k=g+8|0,a=f[k>>2]|0,f[k>>2]=a-1,(a|0)==1):0)Rua(g,1,1);f[c>>2]=0}while((c|0)!=(d|0));c=f[l>>2]|0}f[e>>2]=d;GBb(c);c4(m);u=n;return}function lia(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;m=u;u=u+288|0;l=m+268|0;i=m+264|0;j=m+4|0;k=m;if(!(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5)){nia(c)|0;tea(j);vea(j,g);n=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;f[n+24>>2]=f[e+(f[(f[e>>2]|0)+-12>>2]|0)+24>>2];Arb(n,0);n=f[(f[e>>2]|0)+-12>>2]|0;h=qBb()|0;e=e+n|0;Drb(k,e);Erb(l,e,h);vtb(l);e=f[e+24>>2]|0;if(e|0){Bj[f[(f[e>>2]|0)+8>>2]&1023](e,h);n=e+4|0;uBb(i,n);xBb(n,h)|0;vtb(i)}vtb(k);oia(c,j,g);f5(j,d)|0;f[a>>2]=3;n=a+4|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;d5(j);u=m;return}else{e=EBb(48)|0;f[l>>2]=e;f[l+8>>2]=-2147483600;f[l+4>>2]=32;c=e;d=403815;h=c+32|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(h|0));b[e+32>>0]=0;f[a>>2]=2;OBb(a+4|0,l);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);u=m;return}}function mia(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+288|0;l=m+268|0;i=m+264|0;j=m+4|0;k=m;if(!(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5)){nia(c)|0;tea(j);vea(j,g);h=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;f[h+24>>2]=f[e+(f[(f[e>>2]|0)+-12>>2]|0)+24>>2];Arb(h,0);e=f[(f[j>>2]|0)+-12>>2]|0;h=qBb()|0;e=j+e|0;Drb(k,e);Erb(l,e,h);vtb(l);e=f[e+24>>2]|0;if(e|0){Bj[f[(f[e>>2]|0)+8>>2]&1023](e,h);l=e+4|0;uBb(i,l);xBb(l,h)|0;vtb(i)}vtb(k);oia(c,j,g);f5(j,d)|0;f[a>>2]=3;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;d5(j);u=m;return}else{e=EBb(48)|0;f[l>>2]=e;f[l+8>>2]=-2147483600;f[l+4>>2]=32;h=e;c=403815;d=h+32|0;do{b[h>>0]=b[c>>0]|0;h=h+1|0;c=c+1|0}while((h|0)<(d|0));b[e+32>>0]=0;f[a>>2]=2;OBb(a+4|0,l);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);u=m;return}}function nia(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+32|0;h=l+12|0;i=l;j=a+80|0;if(b[j>>0]|0){k=1;u=l;return k|0}k=a+68|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;if(!(b[j>>0]|0)){a=YZ(0)|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;c=EBb(16)|0;f[h>>2]=c;f[h+8>>2]=-2147483632;f[h+4>>2]=14;d=c;e=403866;g=d+14|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+14>>0]=0;J_(i,a,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((K_(YZ(0)|0,i)|0)==2)if(qZa(4)|0){a=Nu(Hua(4)|0,403881,34)|0;Drb(h,a+(f[(f[a>>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(a,g)|0;Krb(a)|0;a=1}else a=1;else if(qZa(3)|0){a=Nu(Hua(3)|0,403916,39)|0;Drb(h,a+(f[(f[a>>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(a,g)|0;Krb(a)|0;a=0}else a=0;b[j>>0]=1;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0)}else a=1;_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;k=a;u=l;return k|0}function oia(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;s=u;u=u+160|0;n=s+16|0;o=s+4|0;p=s;if(!d){u=s;return}q=n+60|0;r=n+8|0;f[n>>2]=276076;f[q>>2]=276096;f[n+4>>2]=0;Brb(n+60|0,r);f[n+132>>2]=0;f[n+136>>2]=-1;f[n>>2]=304144;f[q>>2]=304164;Hrb(r);f[r>>2]=304196;m=n+40|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[n+56>>2]=8;Nr(r,d+32|0);f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;i=o+11|0;j=o+4|0;k=c+148|0;l=c+156|0;while(1){h=Qea(n,o)|0;e=b[i>>0]|0;a=e<<24>>24<0;if(f[h+(f[(f[h>>2]|0)+-12>>2]|0)+16>>2]&5|0)break;h=f[j>>2]|0;d=e&255;if(((a?h:d)|0)==9)if(!(nCb(o,0,-1,402798,9)|0))e=9;else{g=b[i>>0]|0;d=g&255;a=f[j>>2]|0;e=7}else{g=e;a=h;e=7}if(((e|0)==7?(e=0,((g<<24>>24<0?a:d)|0)==9):0)?(nCb(o,0,-1,402808,9)|0)==0:0)e=9;if((e|0)==9){Prb(n,p)|0;f[c+(f[(f[c>>2]|0)+-12>>2]|0)+8>>2]=f[p>>2]}h=b[i>>0]|0;if(((h<<24>>24<0?f[j>>2]|0:h&255)|0)==18?(nCb(o,0,-1,403691,18)|0)==0:0)b[k>>0]=1;h=b[i>>0]|0;if(((h<<24>>24<0?f[j>>2]|0:h&255)|0)==17?(nCb(o,0,-1,403848,17)|0)==0:0)b[l>>0]=1}if(a)GBb(f[o>>2]|0);f[n>>2]=304144;f[q>>2]=304164;f[r>>2]=304196;if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);qqb(r);crb(n,304176);kqb(q);u=s;return}function pia(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<c>>>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 qia(){return}function ria(){n[124765]=1.0;n[124766]=0.0;n[124767]=0.0;n[124768]=0.0;n[124769]=1.0;n[124770]=0.0;n[124771]=0.0;n[124772]=0.0;n[124773]=1.0;return}function sia(){return}function tia(){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[124774]=1.0;n[124775]=0.0;n[124776]=0.0;n[124777]=0.0;n[124778]=1.0;n[124779]=0.0;n[124780]=0.0;n[124781]=0.0;n[124782]=1.0;a=EBb(16)|0;f[c>>2]=a;f[c+8>>2]=-2147483632;f[c+4>>2]=13;e=a;h=404056;i=e+13|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+13>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(48)|0;f[d>>2]=a;f[d+8>>2]=-2147483600;f[d+4>>2]=35;e=a;h=404070;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;Wca(499132,3,c,d,1474);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 uia(){return 0}function via(a){a=a|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;g=a+112|0;c=f[g>>2]|0;f[g>>2]=154;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;d=e+11|0;b[d>>0]=9;h=e;j=406718;k=h+9|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[e+9>>0]=0;Nca(a,e);if((b[d>>0]|0)<0)GBb(f[e>>2]|0);f[g>>2]=c;d=EBb(56)|0;wia(d,428790,0);f[d>>2]=331668;f[d+40>>2]=1028;f[d+44>>2]=0;f[d+48>>2]=776;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(48)|0;Bia(d,406750,1029,455,456);Oca(a,d,1);d=EBb(56)|0;Cia(d,404106,0);f[d>>2]=331712;f[d+40>>2]=1030;f[d+44>>2]=0;f[d+48>>2]=777;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;Fia(d,404133,0);f[d>>2]=331756;f[d+40>>2]=1031;f[d+44>>2]=0;f[d+48>>2]=232;f[d+52>>2]=1;f[d+20>>2]=7;Oca(a,d,2);d=EBb(60)|0;Hia(d,404139,1);f[d>>2]=331800;f[d+40>>2]=1032;f[d+44>>2]=0;f[d+48>>2]=778;f[d+52>>2]=0;b[d+56>>0]=0;f[d+20>>2]=7;Oca(a,d,5);d=EBb(60)|0;Hia(d,404159,1);f[d>>2]=331800;f[d+40>>2]=1033;f[d+44>>2]=0;f[d+48>>2]=779;f[d+52>>2]=0;b[d+56>>0]=0;f[d+20>>2]=7;Oca(a,d,5);d=EBb(60)|0;Hia(d,404174,0);f[d>>2]=331800;f[d+40>>2]=1034;f[d+44>>2]=0;f[d+48>>2]=236;f[d+52>>2]=1;b[d+56>>0]=0;f[d+20>>2]=7;Oca(a,d,5);d=EBb(56)|0;Lia(d,406793,0);f[d>>2]=331844;f[d+40>>2]=1035;f[d+44>>2]=0;f[d+48>>2]=780;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;Lia(d,406808,0);f[d>>2]=331844;f[d+40>>2]=1036;f[d+44>>2]=0;f[d+48>>2]=781;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;Lia(d,406822,0);f[d>>2]=331844;f[d+40>>2]=1037;f[d+44>>2]=0;f[d+48>>2]=782;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;Qia(d,404197,0);f[d>>2]=331888;f[d+40>>2]=1038;f[d+44>>2]=0;f[d+48>>2]=256;f[d+52>>2]=1;f[d+20>>2]=7;Oca(a,d,2);d=f[g>>2]|0;f[g>>2]=156;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;k=e+11|0;b[k>>0]=8;j=e;f[j>>2]=1952543827;f[j+4>>2]=1952797541;b[e+8>>0]=0;Rca(a,e);if((b[k>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(16)|0;f[e>>2]=c;f[e+8>>2]=-2147483632;f[e+4>>2]=14;h=c;j=406793;k=h+14|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+14>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(16)|0;f[e>>2]=c;f[e+8>>2]=-2147483632;f[e+4>>2]=13;h=c;j=406808;k=h+13|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+13>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(16)|0;f[e>>2]=c;f[e+8>>2]=-2147483632;f[e+4>>2]=12;h=c;j=406822;k=h+12|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+12>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(16)|0;f[e>>2]=c;f[e+8>>2]=-2147483632;f[e+4>>2]=12;h=c;j=404197;k=h+12|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+12>>0]=0;Rca(a,e);if((b[e+11>>0]|0)>=0){f[g>>2]=142;k=EBb(60)|0;Sia(k,406849,-1);f[k>>2]=331932;j=k+40|0;f[j>>2]=1039;j=k+44|0;f[j>>2]=0;j=k+48|0;f[j>>2]=783;j=k+52|0;f[j>>2]=0;j=k+56|0;b[j>>0]=1;j=k+20|0;f[j>>2]=7;Oca(a,k,11);f[g>>2]=145;k=EBb(60)|0;Hia(k,406835,1);f[k>>2]=331800;j=k+40|0;f[j>>2]=1040;j=k+44|0;f[j>>2]=0;j=k+48|0;f[j>>2]=784;j=k+52|0;f[j>>2]=0;j=k+56|0;b[j>>0]=0;j=k+20|0;f[j>>2]=7;Oca(a,k,5);f[g>>2]=d;u=i;return}GBb(f[e>>2]|0);f[g>>2]=142;k=EBb(60)|0;Sia(k,406849,-1);f[k>>2]=331932;j=k+40|0;f[j>>2]=1039;j=k+44|0;f[j>>2]=0;j=k+48|0;f[j>>2]=783;j=k+52|0;f[j>>2]=0;j=k+56|0;b[j>>0]=1;j=k+20|0;f[j>>2]=7;Oca(a,k,11);f[g>>2]=145;k=EBb(60)|0;Hia(k,406835,1);f[k>>2]=331800;j=k+40|0;f[j>>2]=1040;j=k+44|0;f[j>>2]=0;j=k+48|0;f[j>>2]=784;j=k+52|0;f[j>>2]=0;j=k+56|0;b[j>>0]=0;j=k+20|0;f[j>>2]=7;Oca(a,k,5);f[g>>2]=d;u=i;return}function wia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332284;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function xia(a){a=a|0;return f[a+120>>2]|0}function yia(a){a=a|0;if(!(+n[a+136>>2]>=+n[a+124>>2])){a=0;return a|0}if(!(+n[a+140>>2]>=+n[a+128>>2])){a=0;return a|0}a=+n[a+144>>2]>=+n[a+132>>2];return a|0}function zia(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,g=0.0,h=0.0,i=0.0,j=0,k=0,l=0,m=0,o=0;c=u;u=u+48|0;j=c+24|0;k=c;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;l=a+112|0;m=f[l>>2]|0;Bj[f[(f[m>>2]|0)+84>>2]&1023](m,a+24|0);Q6(a);m=a+4|0;ZBb(m,404991)|0;o=f[l>>2]|0;Bj[f[(f[o>>2]|0)+80>>2]&1023](o,m);Q6(a);V6(a,j)|0;ZBb(m,404999)|0;o=f[l>>2]|0;Bj[f[(f[o>>2]|0)+80>>2]&1023](o,m);Q6(a);V6(a,k)|0;l=f[l>>2]|0;Bj[f[(f[l>>2]|0)+84>>2]&1023](l,a+40|0);Q6(a);i=+p[j+8>>3];h=+p[j+16>>3];g=+p[k>>3];e=+p[k+8>>3];d=+p[k+16>>3];n[b+124>>2]=+p[j>>3];n[b+128>>2]=i;n[b+132>>2]=h;n[b+136>>2]=g;n[b+140>>2]=e;n[b+144>>2]=d;ywa(b);u=c;return 1}function Aia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=u;u=u+32|0;e=c;d=a+292|0;g=f[d>>2]|0;Bj[f[(f[g>>2]|0)+88>>2]&1023](g,a+24|0);g=f[d>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);g=a+4|0;ZBb(g,404991)|0;h=f[d>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g);p[e>>3]=+n[b+124>>2];p[e+8>>3]=+n[b+128>>2];p[e+16>>3]=+n[b+132>>2];ada(a,e)|0;h=f[a+292>>2]|0;Bj[f[(f[h>>2]|0)+72>>2]&1023](h,1027);ZBb(g,404999)|0;h=f[d>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g);p[e>>3]=+n[b+136>>2];p[e+8>>3]=+n[b+140>>2];p[e+16>>3]=+n[b+144>>2];ada(a,e)|0;b=f[a+292>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);b=f[d>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[d>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);u=c;return 1}function Bia(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;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332240;h=a+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=Rmb(c)|0;if(i>>>0>4294967279)MBb(h);if(i>>>0<11){b[h+11>>0]=i;if(i)j=6}else{k=i+16&-16;j=EBb(k)|0;f[h>>2]=j;f[a+32>>2]=k|-2147483648;f[a+28>>2]=i;h=j;j=6}if((j|0)==6)YDb(h|0,c|0,i|0)|0;b[h+i>>0]=0;f[a+36>>2]=d;f[a+40>>2]=e;f[a+44>>2]=g;return}function Cia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332196;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function Dia(a){a=a|0;return f[a+148>>2]|0}function Eia(a,b){a=a|0;b=b|0;var c=0;a=a+148|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(c,1,1);return}function Fia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332152;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function Gia(a){a=a|0;return f[a+176>>2]|0}function Hia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332108;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;d=d&1;g=a+36|0;b[g>>0]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;h=e;h=h+g|0;b[h>>0]=0;h=d&1;i=a+36|0;b[i>>0]=h;return}function Iia(a){a=a|0;return (b[a+180>>0]|0)!=0|0}function Jia(a){a=a|0;return (b[a+181>>0]|0)!=0|0}function Kia(a){a=a|0;return (b[a+183>>0]|0)!=0|0}function Lia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332064;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function Mia(a){a=a|0;return f[a+84>>2]|0}function Nia(a){a=a|0;return f[a+92>>2]|0}function Oia(a){a=a|0;return f[a+100>>2]|0}function Pia(a,b){a=a|0;b=b|0;var c=0;a=a+100|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;c=a+8|0;b=f[c>>2]|0;f[c>>2]=b-1;if((b|0)!=1)return;Rua(a,1,1);return}function Qia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332020;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function Ria(a){a=a|0;return f[a+212>>2]|0}function Sia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=331976;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function Tia(a){a=a|0;return f[a+116>>2]|0}function Uia(a,b){a=a|0;b=b|0;f[a+116>>2]=b;return}function Via(a){a=a|0;return (b[a+104>>0]|0)!=0|0}function Wia(a){a=a|0;var c=0;f[a>>2]=331976;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Xia(a){a=a|0;var c=0;f[a>>2]=331976;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Yia(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Zia(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function _ia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;h=i;g=c+112|0;e=f[g>>2]|0;if(_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0){e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,h);Q6(c);c=f[a+48>>2]|0;a=f[a+52>>2]|0;e=d+(a>>1)|0;if(a&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,f[h>>2]|0);u=i;return 1}e=f[g>>2]|0;if(!(cj[f[(f[e>>2]|0)+96>>2]&1023](e,a+24|0)|0)){u=i;return 1}e=a+56|0;if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1041);Q6(c)}j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+44>>2]&1023](j,h);Q6(c);if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1042);Q6(c)}c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,f[h>>2]|0);u=i;return 1}function $ia(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=f[a+40>>2]|0;h=f[a+44>>2]|0;d=d+(h>>1)|0;if(h&1)e=f[(f[d>>2]|0)+e>>2]|0;g=_i[e&2047](d)|0;h=c+292|0;d=f[h>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+40>>2]&1023](a,g);return 1}if((f[a+36>>2]|0)==(g|0))return 1;d=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,d);e=a+56|0;if(b[e>>0]|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1041);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1043)}a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+40>>2]&1023](a,g);if(b[e>>0]|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1042);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1044)}a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);return 1}function aja(a){a=a|0;return a+24|0}function bja(a){a=a|0;return 0}function cja(a){a=a|0;var b=0;b=a+4|0;f[b>>2]=f[b>>2]&-75|8;return a|0}function dja(a){a=a|0;var b=0;b=a+4|0;f[b>>2]=f[b>>2]|512;return a|0}function eja(a){a=a|0;var b=0;b=a+4|0;f[b>>2]=f[b>>2]&-75|2;return a|0}function fja(a){a=a|0;var b=0;b=a+4|0;f[b>>2]=f[b>>2]&-513;return a|0}function gja(a){a=a|0;mi()}function hja(a){a=a|0;var c=0;f[a>>2]=332020;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function ija(a){a=a|0;var c=0;f[a>>2]=332020;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function jja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,288984,-1)|0;Bj[b&1023](e,c);return 1}function kja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;d=_i[d&2047](a)|0;if(!d){e=0;f[c>>2]=e;return 1}e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;f[c>>2]=e;return 1}function lja(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;g=k;e=k+4|0;b[e>>0]=0;j=c+112|0;i=f[j>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){j=f[j>>2]|0;Bj[f[(f[j>>2]|0)+16>>2]&1023](j,e);Q6(c);if(!(b[e>>0]|0)){u=k;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,288984,-1)|0;if(h){e=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e){i=h;break}else g=h}else{g=0;h=0}c=e+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)==1){Rua(e,1,1);i=g}else i=g}else{i=0;h=0}while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,i);if(!i){u=k;return 1}e=h+(f[(f[i>>2]|0)+-12>>2]|0)|0;a=e+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=k;return 1}Rua(e,1,1);u=k;return 1}i=f[j>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){u=k;return 1}i=f[j>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=k;return 1}e=f[j>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,288984,-1)|0;if(h){e=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e){i=h;break}else g=h}else{g=0;h=0}l=e+8|0;i=f[l>>2]|0;f[l>>2]=i-1;if((i|0)==1){Rua(e,1,1);i=g}else i=g}else{i=0;h=0}while(0);e=f[a+48>>2]|0;l=f[a+52>>2]|0;g=d+(l>>1)|0;if(l&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,i);l=f[j>>2]|0;Bj[f[(f[l>>2]|0)+84>>2]&1023](l,c+40|0);Q6(c);if(!i){u=k;return 1}e=h+(f[(f[i>>2]|0)+-12>>2]|0)|0;d=e+8|0;l=f[d>>2]|0;f[d>>2]=l-1;if((l|0)!=1){u=k;return 1}Rua(e,1,1);u=k;return 1}function mja(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function nja(a){a=a|0;return a+24|0}function oja(a){a=a|0;mi()}function pja(a){a=a|0;var c=0;f[a>>2]=332064;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function qja(a){a=a|0;var c=0;f[a>>2]=332064;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function rja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,275704,-1)|0;Bj[b&1023](e,c);return 1}function sja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;d=_i[d&2047](a)|0;if(!d){e=0;f[c>>2]=e;return 1}e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;f[c>>2]=e;return 1}function tja(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;g=k;e=k+4|0;b[e>>0]=0;j=c+112|0;i=f[j>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){j=f[j>>2]|0;Bj[f[(f[j>>2]|0)+16>>2]&1023](j,e);Q6(c);if(!(b[e>>0]|0)){u=k;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,275704,-1)|0;if(h){e=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e){i=h;break}else g=h}else{g=0;h=0}c=e+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)==1){Rua(e,1,1);i=g}else i=g}else{i=0;h=0}while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,i);if(!i){u=k;return 1}e=h+(f[(f[i>>2]|0)+-12>>2]|0)|0;a=e+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=k;return 1}Rua(e,1,1);u=k;return 1}i=f[j>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){u=k;return 1}i=f[j>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=k;return 1}e=f[j>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,275704,-1)|0;if(h){e=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e){i=h;break}else g=h}else{g=0;h=0}l=e+8|0;i=f[l>>2]|0;f[l>>2]=i-1;if((i|0)==1){Rua(e,1,1);i=g}else i=g}else{i=0;h=0}while(0);e=f[a+48>>2]|0;l=f[a+52>>2]|0;g=d+(l>>1)|0;if(l&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,i);l=f[j>>2]|0;Bj[f[(f[l>>2]|0)+84>>2]&1023](l,c+40|0);Q6(c);if(!i){u=k;return 1}e=h+(f[(f[i>>2]|0)+-12>>2]|0)|0;d=e+8|0;l=f[d>>2]|0;f[d>>2]=l-1;if((l|0)!=1){u=k;return 1}Rua(e,1,1);u=k;return 1}function uja(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function vja(a){a=a|0;return a+24|0}function wja(a){a=a|0;mi()}function xja(a){a=a|0;var c=0;f[a>>2]=332108;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function yja(a){a=a|0;var c=0;f[a>>2]=332108;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function zja(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;h=i;g=c+112|0;e=f[g>>2]|0;if(_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0){e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+16>>2]&1023](e,h);Q6(c);c=f[a+48>>2]|0;a=f[a+52>>2]|0;e=d+(a>>1)|0;if(a&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,(b[h>>0]|0)!=0);u=i;return 1}e=f[g>>2]|0;if(!(cj[f[(f[e>>2]|0)+96>>2]&1023](e,a+24|0)|0)){u=i;return 1}e=a+56|0;if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1041);Q6(c)}j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+16>>2]&1023](j,h);Q6(c);if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1042);Q6(c)}c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,(b[h>>0]|0)!=0);u=i;return 1}function Aja(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;g=_i[e&2047](d)|0;i=c+292|0;d=f[i>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);return 1}if((h[a+36>>0]|0)==(g&1|0))return 1;d=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,d);e=a+56|0;if(b[e>>0]|0){a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1041);a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1043)}a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(b[e>>0]|0){a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1042);a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1044)}a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);return 1}function Bja(a){a=a|0;return a+24|0}function Cja(a){a=a|0;mi()}function Dja(a){a=a|0;var c=0;f[a>>2]=332152;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Eja(a){a=a|0;var c=0;f[a>>2]=332152;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Fja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,297488,0)|0;Bj[b&1023](e,c);return 1}function Gja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;e=_i[d&2047](a)|0;f[c>>2]=e;return 1}function Hja(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+16|0;g=j;e=j+4|0;b[e>>0]=0;i=c+112|0;h=f[i>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,297488,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;c=e+8|0;i=f[c>>2]|0;f[c>>2]=i-1;if((i|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);if(!h){u=j;return 1}a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}h=f[i>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=j;return 1}h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,297488,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;k=e+8|0;g=f[k>>2]|0;f[k>>2]=g-1;if((g|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;k=f[a+52>>2]|0;g=d+(k>>1)|0;if(k&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+40|0);Q6(c);if(!h){u=j;return 1}d=h+8|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}function Ija(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function Jja(a){a=a|0;return a+24|0}function Kja(a){a=a|0;mi()}function Lja(a){a=a|0;var c=0;f[a>>2]=332196;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Mja(a){a=a|0;var c=0;f[a>>2]=332196;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Nja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,289136,0)|0;Bj[b&1023](e,c);return 1}function Oja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;e=_i[d&2047](a)|0;f[c>>2]=e;return 1}function Pja(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+16|0;g=j;e=j+4|0;b[e>>0]=0;i=c+112|0;h=f[i>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,289136,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;c=e+8|0;i=f[c>>2]|0;f[c>>2]=i-1;if((i|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);if(!h){u=j;return 1}a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}h=f[i>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=j;return 1}h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,289136,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;k=e+8|0;g=f[k>>2]|0;f[k>>2]=g-1;if((g|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;k=f[a+52>>2]|0;g=d+(k>>1)|0;if(k&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+40|0);Q6(c);if(!h){u=j;return 1}d=h+8|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}function Qja(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function Rja(a){a=a|0;return a+24|0}function Sja(a){a=a|0;mi()}function Tja(a){a=a|0;var c=0;f[a>>2]=332240;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Uja(a){a=a|0;var c=0;f[a>>2]=332240;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Vja(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;g=c+112|0;i=f[g>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){b[e>>0]=0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){i=1;u=h;return i|0}}else{i=f[g>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){i=1;u=h;return i|0}}i=cj[f[a+40>>2]&1023](c,d)|0;u=h;return i|0}function Wja(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=_i[f[a+36>>2]&2047](d)|0;h=c+292|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);if(!e){h=1;return h|0}}else{if(!e){h=1;return h|0}g=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(g,e)|0;h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g)}h=cj[f[a+44>>2]&1023](c,d)|0;return h|0}function Xja(a){a=a|0;return a+24|0}function Yja(a){a=a|0;var c=0;f[a>>2]=332284;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Zja(a){a=a|0;var c=0;f[a>>2]=332284;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function _ja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,295528,0)|0;Bj[b&1023](e,c);return 1}function $ja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;e=_i[d&2047](a)|0;f[c>>2]=e;return 1}function aka(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+16|0;g=j;e=j+4|0;b[e>>0]=0;i=c+112|0;h=f[i>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295528,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;c=e+8|0;i=f[c>>2]|0;f[c>>2]=i-1;if((i|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);if(!h){u=j;return 1}a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}h=f[i>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=j;return 1}h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295528,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;k=e+8|0;g=f[k>>2]|0;f[k>>2]=g-1;if((g|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;k=f[a+52>>2]|0;g=d+(k>>1)|0;if(k&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+40|0);Q6(c);if(!h){u=j;return 1}d=h+8|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}function bka(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function cka(a){a=a|0;return a+24|0}function dka(a){a=a|0;mi()}function eka(){return}function fka(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;h=u;u=u+32|0;a=h+12|0;c=h;n[124785]=1.0;n[124786]=0.0;n[124787]=0.0;n[124788]=0.0;n[124789]=1.0;n[124790]=0.0;n[124791]=0.0;n[124792]=0.0;n[124793]=1.0;d=a+11|0;b[d>>0]=10;g=a;i=405112;j=g+10|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[a+10>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=EBb(48)|0;f[c>>2]=e;f[c+8>>2]=-2147483600;f[c+4>>2]=32;g=e;i=405123;j=g+32|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+32>>0]=0;Wca(499176,4,a,c,1475);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[d>>0]|0)>=0){u=h;return}GBb(f[a>>2]|0);u=h;return}function gka(){var a=0;a=EBb(160)|0;tZa(a);return a|0}function hka(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=u;u=u+16|0;d=g;c=EBb(48)|0;lka(c,405156,1045,457,458);Oca(a,c,1);c=EBb(16)|0;f[d>>2]=c;f[d+8>>2]=-2147483632;f[d+4>>2]=15;e=c;h=405166;i=e+15|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+15>>0]=0;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;rZa(i);f[i>>2]=332328;Uca(a,d,i);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);c=EBb(16)|0;f[d>>2]=c;f[d+8>>2]=-2147483632;f[d+4>>2]=11;e=c;h=405182;i=e+11|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+11>>0]=0;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;rZa(i);f[i>>2]=332352;Uca(a,d,i);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);c=EBb(16)|0;f[d>>2]=c;f[d+8>>2]=-2147483632;f[d+4>>2]=11;e=c;h=405194;i=e+11|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+11>>0]=0;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;rZa(i);f[i>>2]=332376;Uca(a,d,i);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);c=EBb(16)|0;f[d>>2]=c;f[d+8>>2]=-2147483632;f[d+4>>2]=11;e=c;h=405206;i=e+11|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+11>>0]=0;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;rZa(i);f[i>>2]=332400;Uca(a,d,i);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);c=EBb(16)|0;f[d>>2]=c;f[d+8>>2]=-2147483632;f[d+4>>2]=14;e=c;h=405218;i=e+14|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+14>>0]=0;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;rZa(i);f[i>>2]=332424;Uca(a,d,i);if((b[d+11>>0]|0)>=0){u=g;return}GBb(f[d>>2]|0);u=g;return}function ika(a){a=a|0;return (_i[f[(f[a>>2]|0)+248>>2]&2047](a)|0)!=0|0}function jka(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;k=u;u=u+16|0;g=k+4|0;h=k;f[h>>2]=0;i=a+112|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,h);Q6(a);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,a+24|0);Q6(a);if(!(f[h>>2]|0)){j=a+40|0;i=f[i>>2]|0;h=f[i>>2]|0;h=h+84|0;h=f[h>>2]|0;Bj[h&1023](i,j);Q6(a);u=k;return 1}e=0;do{Bca(g,a,0);d=f[g>>2]|0;if(d){c=WCb(d,295088,296768,0)|0;if(c){d=c+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[g>>2]|0;if(d)j=8}else{c=0;j=8}if((j|0)==8){j=0;m=d+8|0;l=f[m>>2]|0;f[m>>2]=l-1;if((l|0)==1)Rua(d,1,1)}if(c|0?(cj[f[(f[b>>2]|0)+264>>2]&1023](b,c)|0,l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1)}e=e+1|0}while(e>>>0<(f[h>>2]|0)>>>0);m=a+40|0;l=f[i>>2]|0;j=f[l>>2]|0;j=j+84|0;j=f[j>>2]|0;Bj[j&1023](l,m);Q6(a);u=k;return 1}function kka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;e=_i[f[(f[b>>2]|0)+248>>2]&2047](b)|0;g=a+292|0;d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,e);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[g>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);if(e|0){d=b+124|0;c=0;do{b=f[(f[d>>2]|0)+(c<<2)>>2]|0;if(!b)b=0;else b=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0;Pda(a,b);c=c+1|0}while((c|0)!=(e|0))}e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+40|0);g=f[g>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);return 1}function lka(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;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=332812;h=a+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=Rmb(c)|0;if(i>>>0>4294967279)MBb(h);if(i>>>0<11){b[h+11>>0]=i;if(i)j=6}else{k=i+16&-16;j=EBb(k)|0;f[h>>2]=j;f[a+32>>2]=k|-2147483648;f[a+28>>2]=i;h=j;j=6}if((j|0)==6)YDb(h|0,c|0,i|0)|0;b[h+i>>0]=0;f[a+36>>2]=d;f[a+40>>2]=e;f[a+44>>2]=g;return}function mka(a){a=a|0;Uua(a);GBb(a);return}function nka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=f[c>>2]|0;if((a|0)==(f[c+4>>2]|0)){b=0;return b|0}a=f[a>>2]|0;if(!a){b=0;return b|0}a=WCb(a,295088,296768,0)|0;if(!a){b=0;return b|0}cj[f[(f[b>>2]|0)+268>>2]&1023](b,a)|0;b=1;return b|0}function oka(a){a=a|0;Uua(a);GBb(a);return}function pka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=f[c>>2]|0;if((a|0)==(f[c+4>>2]|0)){b=0;return b|0}a=f[a>>2]|0;if(!a){b=0;return b|0}a=WCb(a,295088,296768,0)|0;if(!a){b=0;return b|0}cj[f[(f[b>>2]|0)+264>>2]&1023](b,a)|0;b=1;return b|0}function qka(a){a=a|0;Uua(a);GBb(a);return}function rka(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;g=u;u=u+16|0;e=g;a=f[d>>2]|0;if((f[d+4>>2]|0)-a>>2>>>0<2){c=0;u=g;return c|0}a=f[a>>2]|0;a=_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0;if(!a)e=0;else{f[e>>2]=332448;i=e+4|0;b[i>>0]=0;h=e+8|0;f[h>>2]=0;e=(cj[f[(f[a>>2]|0)+164>>2]&1023](a,e)|0)^1;e=(b[i>>0]|0)==0|e?0:f[h>>2]|0}a=f[(f[d>>2]|0)+4>>2]|0;if(!a){i=0;u=g;return i|0}a=WCb(a,295088,296768,0)|0;if(!a){i=0;u=g;return i|0}dj[f[(f[c>>2]|0)+280>>2]&255](c,e,a)|0;i=1;u=g;return i|0}function ska(a){a=a|0;return}function tka(a){a=a|0;GBb(a);return}function uka(a,c){a=a|0;c=c|0;f[a+8>>2]=c&1;b[a+4>>0]=1;return}function vka(a,c){a=a|0;c=c|0;f[a+8>>2]=c<<24>>24;b[a+4>>0]=1;return}function wka(a,c){a=a|0;c=c|0;f[a+8>>2]=c&255;b[a+4>>0]=1;return}function xka(a,c){a=a|0;c=c|0;f[a+8>>2]=c<<16>>16;b[a+4>>0]=1;return}function yka(a,c){a=a|0;c=c|0;f[a+8>>2]=c&65535;b[a+4>>0]=1;return}function zka(a,c){a=a|0;c=c|0;f[a+8>>2]=c;b[a+4>>0]=1;return}function Aka(a,c){a=a|0;c=c|0;f[a+8>>2]=c;b[a+4>>0]=1;return}function Bka(a,c){a=a|0;c=+c;f[a+8>>2]=~~c>>>0;b[a+4>>0]=1;return}function Cka(a,c){a=a|0;c=+c;f[a+8>>2]=~~c>>>0;b[a+4>>0]=1;return}function Dka(a,b){a=a|0;b=b|0;return}function Eka(a,b){a=a|0;b=b|0;return}function Fka(a,b){a=a|0;b=b|0;return}function Gka(a,b){a=a|0;b=b|0;return}function Hka(a,b){a=a|0;b=b|0;return}function Ika(a,b){a=a|0;b=b|0;return}function Jka(a,b){a=a|0;b=b|0;return}function Kka(a,b){a=a|0;b=b|0;return}function Lka(a,b){a=a|0;b=b|0;return}function Mka(a,b){a=a|0;b=b|0;return}function Nka(a,b){a=a|0;b=b|0;return}function Oka(a,b){a=a|0;b=b|0;return}function Pka(a,b){a=a|0;b=b|0;return}function Qka(a,b){a=a|0;b=b|0;return}function Rka(a,b){a=a|0;b=b|0;return}function Ska(a,b){a=a|0;b=b|0;return}function Tka(a,b){a=a|0;b=b|0;return}function Uka(a,b){a=a|0;b=b|0;return}function Vka(a,b){a=a|0;b=b|0;return}function Wka(a,b){a=a|0;b=b|0;return}function Xka(a,b){a=a|0;b=b|0;return}function Yka(a,b){a=a|0;b=b|0;return}function Zka(a,b){a=a|0;b=b|0;return}function _ka(a,b){a=a|0;b=b|0;return}function $ka(a,b){a=a|0;b=b|0;return}function ala(a,b){a=a|0;b=b|0;return}function bla(a,b){a=a|0;b=b|0;return}function cla(a,b){a=a|0;b=b|0;return}function dla(a,b){a=a|0;b=b|0;return}function ela(a,b){a=a|0;b=b|0;return}function fla(a,b){a=a|0;b=b|0;return}function gla(a,b){a=a|0;b=b|0;return}function hla(a,b){a=a|0;b=b|0;return}function ila(a){a=a|0;Uua(a);GBb(a);return}function jla(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+16|0;h=i;a=f[d>>2]|0;if((a|0)==(f[d+4>>2]|0)){e=0;u=i;return e|0}a=f[a>>2]|0;a=_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0;if(!a)a=0;else{f[h>>2]=332448;d=h+4|0;b[d>>0]=0;g=h+8|0;f[g>>2]=0;a=(cj[f[(f[a>>2]|0)+164>>2]&1023](a,h)|0)^1;a=(b[d>>0]|0)==0|a?0:f[g>>2]|0}a=f[(f[c+124>>2]|0)+(a<<2)>>2]|0;if(a){a=_i[f[(f[a>>2]|0)+88>>2]&2047](a)|0;f[h>>2]=a;if(!a)g=h;else{g=a+8|0;f[g>>2]=(f[g>>2]|0)+1;g=h}}else{f[h>>2]=0;g=h}c=e+4|0;a=f[c>>2]|0;if(a>>>0<(f[e+8>>2]|0)>>>0){d=f[g>>2]|0;f[a>>2]=d;if(d){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[c>>2]|0}f[c>>2]=a+4}else Jw(e,h);a=f[g>>2]|0;if(a|0?(h=a+8|0,e=f[h>>2]|0,f[h>>2]=e-1,(e|0)==1):0)Rua(a,1,1);f[g>>2]=0;e=1;u=i;return e|0}function kla(a){a=a|0;Uua(a);GBb(a);return}function lla(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;g=j+12|0;h=j;a=EBb(36)|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=h+11|0;b[i>>0]=6;b[h>>0]=b[406456]|0;b[h+1>>0]=b[406457]|0;b[h+2>>0]=b[406458]|0;b[h+3>>0]=b[406459]|0;b[h+4>>0]=b[406460]|0;b[h+5>>0]=b[406461]|0;b[h+6>>0]=0;c=_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0;v_a(a,1);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;f[a>>2]=308964;UBb(d,h)|0;f[a>>2]=332632;f[a+32>>2]=c;f[g>>2]=a;c=a+8|0;f[c>>2]=(f[c>>2]|0)+1;c=e+4|0;a=f[c>>2]|0;if(a>>>0<(f[e+8>>2]|0)>>>0){d=f[g>>2]|0;f[a>>2]=d;if(d){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[c>>2]|0}f[c>>2]=a+4}else Jw(e,g);a=f[g>>2]|0;if(a|0?(c=a+8|0,e=f[c>>2]|0,f[c>>2]=e-1,(e|0)==1):0)Rua(a,1,1);f[g>>2]=0;if((b[i>>0]|0)>=0){u=j;return 1}GBb(f[h>>2]|0);u=j;return 1}function mla(a){a=a|0;Gva(a);GBb(a);return}function nla(a){a=a|0;var b=0;a=EBb(36)|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]=332632;f[a+32>>2]=0;return a|0}function ola(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=u;u=u+16|0;e=d;c=EBb(36)|0;b=f[b+4>>2]|0;f[e>>2]=346256;f[e+4>>2]=b;Fva(c,a,e);f[c>>2]=332632;f[c+32>>2]=f[a+32>>2];u=d;return c|0}function pla(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,289336,0)|0)!=0;return b|0}function qla(a){a=a|0;return 409756}function rla(a){a=a|0;return 405398}function sla(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+32>>2]&1023](b,f[a+32>>2]|0);return 1}function tla(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+32>>2]&1023](b,a+32|0);return 1}function ula(a){a=a|0;var c=0;f[a>>2]=332812;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function vla(a){a=a|0;var c=0;f[a>>2]=332812;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function wla(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;g=c+112|0;i=f[g>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){b[e>>0]=0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){i=1;u=h;return i|0}}else{i=f[g>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){i=1;u=h;return i|0}}i=cj[f[a+40>>2]&1023](c,d)|0;u=h;return i|0}function xla(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=_i[f[a+36>>2]&2047](d)|0;h=c+292|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);if(!e){h=1;return h|0}}else{if(!e){h=1;return h|0}g=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(g,e)|0;h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g)}h=cj[f[a+44>>2]&1023](c,d)|0;return h|0}function yla(a){a=a|0;return a+24|0}function zla(){return}function Ala(){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[124796]=1.0;n[124797]=0.0;n[124798]=0.0;n[124799]=0.0;n[124800]=1.0;n[124801]=0.0;n[124802]=0.0;n[124803]=0.0;n[124804]=1.0;f[124806]=0;f[124807]=0;f[124805]=499224;f[124809]=0;f[124810]=0;f[124808]=499236;k0(499220,405507,0);k0(499220,405516,1);k0(499220,405529,2);k0(499220,405552,3);k0(499220,405571,4);a=EBb(16)|0;f[c>>2]=a;f[c+8>>2]=-2147483632;f[c+4>>2]=13;e=a;h=405587;i=e+13|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+13>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(64)|0;f[d>>2]=a;f[d+8>>2]=-2147483584;f[d+4>>2]=49;e=a;h=405601;i=e+49|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+49>>0]=0;Wca(499244,5,c,d,1476);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 Bla(){var a=0;a=EBb(280)|0;T_a(a);return a|0}function Cla(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;j=u;u=u+16|0;e=j;h=a+112|0;c=f[h>>2]|0;f[h>>2]=154;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;d=e+11|0;b[d>>0]=9;i=e;k=406718;l=i+9|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[e+9>>0]=0;Nca(a,e);if((b[d>>0]|0)<0)GBb(f[e>>2]|0);f[h>>2]=c;d=EBb(72)|0;rZa(d);f[d+12>>2]=0;f[d+16>>2]=2147483647;f[d+20>>2]=7;f[d+24>>2]=2;f[d+28>>2]=4;f[d>>2]=332856;i=d+32|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;c=EBb(32)|0;f[i>>2]=c;f[d+40>>2]=-2147483616;f[d+36>>2]=16;i=c;k=405651;l=i+16|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[c+16>>0]=0;f[d+44>>2]=1046;f[d+48>>2]=0;f[d+52>>2]=1047;f[d+56>>2]=0;f[d+60>>2]=785;f[d+64>>2]=0;f[d+68>>2]=0;Oca(a,d,50);g=EBb(48)|0;Ila(g,405668,1048,459,460);Oca(a,g,1);g=EBb(48)|0;Ila(g,405679,1049,461,462);Oca(a,g,1);g=EBb(48)|0;Ila(g,405690,1050,463,464);Oca(a,g,1);g=EBb(48)|0;Ila(g,405700,1051,465,466);Oca(a,g,1);g=EBb(48)|0;Ila(g,405719,1052,467,468);Oca(a,g,1);g=EBb(48)|0;Ila(g,405732,1053,469,470);Oca(a,g,1);g=EBb(48)|0;Ila(g,405745,1054,471,472);Oca(a,g,1);g=EBb(48)|0;Ila(g,405762,1055,473,474);Oca(a,g,1);g=f[h>>2]|0;f[h>>2]=112;c=e+11|0;b[c>>0]=10;i=e;k=405668;l=i+10|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[e+10>>0]=0;Rca(a,e);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);c=e+11|0;b[c>>0]=10;i=e;k=405679;l=i+10|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[e+10>>0]=0;Rca(a,e);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=e+11|0;b[c>>0]=9;i=e;k=405690;l=i+9|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[e+9>>0]=0;Rca(a,e);if((b[c>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=18;i=c;k=405700;l=i+18|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[c+18>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(16)|0;f[e>>2]=c;f[e+8>>2]=-2147483632;f[e+4>>2]=12;i=c;k=405719;l=i+12|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[c+12>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(16)|0;f[e>>2]=c;f[e+8>>2]=-2147483632;f[e+4>>2]=12;i=c;k=405732;l=i+12|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[c+12>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(32)|0;f[e>>2]=c;f[e+8>>2]=-2147483616;f[e+4>>2]=16;i=c;k=405745;l=i+16|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[c+16>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;c=EBb(16)|0;f[e>>2]=c;f[e+8>>2]=-2147483632;f[e+4>>2]=12;i=c;k=405762;l=i+12|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[c+12>>0]=0;Rca(a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);d=EBb(56)|0;cma(d,405775,0);f[d>>2]=332936;f[d+40>>2]=1056;f[d+44>>2]=0;f[d+48>>2]=786;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;cma(d,405787,0);f[d>>2]=332936;f[d+40>>2]=1057;f[d+44>>2]=0;f[d+48>>2]=787;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;cma(d,405799,0);f[d>>2]=332936;f[d+40>>2]=1058;f[d+44>>2]=0;f[d+48>>2]=788;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;cma(d,405810,0);f[d>>2]=332936;f[d+40>>2]=1059;f[d+44>>2]=0;f[d+48>>2]=789;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(56)|0;cma(d,405830,0);f[d>>2]=332936;f[d+40>>2]=1060;f[d+44>>2]=0;f[d+48>>2]=790;f[d+52>>2]=0;f[d+20>>2]=7;Oca(a,d,2);d=EBb(72)|0;rZa(d);f[d+12>>2]=0;f[d+16>>2]=2147483647;f[d+20>>2]=7;f[d+24>>2]=2;f[d+28>>2]=4;f[d>>2]=332980;i=d+32|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;c=EBb(32)|0;f[i>>2]=c;f[d+40>>2]=-2147483616;f[d+36>>2]=17;i=c;k=405844;l=i+17|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[c+17>>0]=0;f[d+44>>2]=1061;f[d+48>>2]=0;f[d+52>>2]=1062;f[d+56>>2]=0;f[d+60>>2]=791;f[d+64>>2]=0;f[d+68>>2]=0;Oca(a,d,50);c=EBb(72)|0;rZa(c);f[c+12>>2]=0;f[c+16>>2]=2147483647;f[c+20>>2]=7;f[c+24>>2]=2;f[c+28>>2]=4;f[c>>2]=332980;i=c+32|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;d=EBb(32)|0;f[i>>2]=d;f[c+40>>2]=-2147483616;f[c+36>>2]=21;i=d;k=405862;l=i+21|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[d+21>>0]=0;f[c+44>>2]=1063;f[c+48>>2]=0;f[c+52>>2]=1064;f[c+56>>2]=0;f[c+60>>2]=792;f[c+64>>2]=0;f[c+68>>2]=0;Oca(a,c,50);f[h>>2]=g;u=j;return}function Dla(a){a=a|0;return a+220|0}function Ela(a){a=a|0;return a+220|0}function Fla(a){a=a|0;return (f[a+232>>2]|0)!=0|0}function Gla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+112|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,a+24|0);Q6(a);Lwa(b,Sma(a)|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a+40|0);Q6(a);return 1}function Hla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);Rma(a,f[b+232>>2]|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);return 1}function Ila(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;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333104;h=a+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=Rmb(c)|0;if(i>>>0>4294967279)MBb(h);if(i>>>0<11){b[h+11>>0]=i;if(i)j=6}else{k=i+16&-16;j=EBb(k)|0;f[h>>2]=j;f[a+32>>2]=k|-2147483648;f[a+28>>2]=i;h=j;j=6}if((j|0)==6)YDb(h|0,c|0,i|0)|0;b[h+i>>0]=0;f[a+36>>2]=d;f[a+40>>2]=e;f[a+44>>2]=g;return}function Jla(a){a=a|0;return (f[a+236>>2]|0)!=0|0}function Kla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+112|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,a+24|0);Q6(a);V_a(b,Sma(a)|0,-1);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a+40|0);Q6(a);return 1}function Lla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);Rma(a,f[b+236>>2]|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);return 1}function Mla(a){a=a|0;return (f[a+240>>2]|0)!=0|0}function Nla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+112|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,a+24|0);Q6(a);W_a(b,Sma(a)|0,-1);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a+40|0);Q6(a);return 1}function Ola(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);Rma(a,f[b+240>>2]|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);return 1}function Pla(a){a=a|0;return (f[a+244>>2]|0)!=0|0}function Qla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+112|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,a+24|0);Q6(a);Pwa(b,Sma(a)|0,-1);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a+40|0);Q6(a);return 1}function Rla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);Rma(a,f[b+244>>2]|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);return 1}function Sla(a){a=a|0;return (f[a+248>>2]|0)!=0|0}function Tla(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+112|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,a+24|0);Q6(a);Qwa(b,Sma(a)|0,-1);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+84>>2]&1023](b,a+40|0);Q6(a);return 1}function Ula(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);Rma(a,f[b+248>>2]|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[c>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);return 1}function Vla(a){a=a|0;return (f[a+256>>2]|0)!=(f[a+252>>2]|0)|0}function Wla(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=u;u=u+16|0;g=j;i=a+112|0;h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+44>>2]&1023](h,g);Q6(a);g=f[g>>2]|0;h=a+24|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,h);Q6(a);if(!g){h=a+40|0;i=f[i>>2]|0;g=f[i>>2]|0;g=g+84|0;g=f[g>>2]|0;Bj[g&1023](i,h);Q6(a);u=j;return 1}e=a+4|0;c=a+40|0;d=0;do{ZBb(e,406121)|0;k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+80>>2]&1023](k,e);Q6(a);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,h);Q6(a);Rwa(b,d,Sma(a)|0,-1);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c);Q6(a);d=d+1|0}while((d|0)!=(g|0));k=f[i>>2]|0;i=f[k>>2]|0;i=i+84|0;i=f[i>>2]|0;Bj[i&1023](k,c);Q6(a);u=j;return 1}function Xla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=b+252|0;g=b+256|0;h=a+292|0;d=f[h>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,(f[g>>2]|0)-(f[c>>2]|0)>>2);d=a+24|0;e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,d);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=f[c>>2]|0;if((c|0)==(f[g>>2]|0)){a=a+40|0;g=f[h>>2]|0;e=f[g>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](g,a);h=f[h>>2]|0;a=f[h>>2]|0;a=a+72|0;a=f[a>>2]|0;Bj[a&1023](h,1027);return 1}e=a+4|0;b=a+40|0;do{ZBb(e,406121)|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,e);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,d);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);Rma(a,f[c>>2]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,b);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);c=c+4|0}while((c|0)!=(f[g>>2]|0));i=f[h>>2]|0;a=f[i>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](i,b);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return 1}function Yla(a){a=a|0;return (f[a+268>>2]|0)!=(f[a+264>>2]|0)|0}function Zla(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=u;u=u+16|0;g=j;i=a+112|0;h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+44>>2]&1023](h,g);Q6(a);g=f[g>>2]|0;h=a+24|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,h);Q6(a);if(!g){h=a+40|0;i=f[i>>2]|0;g=f[i>>2]|0;g=g+84|0;g=f[g>>2]|0;Bj[g&1023](i,h);Q6(a);u=j;return 1}e=a+4|0;c=a+40|0;d=0;do{ZBb(e,406121)|0;k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+80>>2]&1023](k,e);Q6(a);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,h);Q6(a);Swa(b,d,Sma(a)|0,-1);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c);Q6(a);d=d+1|0}while((d|0)!=(g|0));k=f[i>>2]|0;i=f[k>>2]|0;i=i+84|0;i=f[i>>2]|0;Bj[i&1023](k,c);Q6(a);u=j;return 1}function _la(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=b+264|0;g=b+268|0;h=a+292|0;d=f[h>>2]|0;Bj[f[(f[d>>2]|0)+40>>2]&1023](d,(f[g>>2]|0)-(f[c>>2]|0)>>2);d=a+24|0;e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,d);e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);c=f[c>>2]|0;if((c|0)==(f[g>>2]|0)){a=a+40|0;g=f[h>>2]|0;e=f[g>>2]|0;e=e+88|0;e=f[e>>2]|0;Bj[e&1023](g,a);h=f[h>>2]|0;a=f[h>>2]|0;a=a+72|0;a=f[a>>2]|0;Bj[a&1023](h,1027);return 1}e=a+4|0;b=a+40|0;do{ZBb(e,406121)|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,e);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,d);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);Rma(a,f[c>>2]|0);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+88>>2]&1023](i,b);i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+72>>2]&1023](i,1027);c=c+4|0}while((c|0)!=(f[g>>2]|0));i=f[h>>2]|0;a=f[i>>2]|0;a=a+88|0;a=f[a>>2]|0;Bj[a&1023](i,b);i=f[h>>2]|0;h=f[i>>2]|0;h=h+72|0;h=f[h>>2]|0;Bj[h&1023](i,1027);return 1}function $la(a){a=a|0;return 0}function ama(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=u;u=u+16|0;c=e;b[c>>0]=0;d=a+112|0;g=f[d>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){u=e;return 1}g=f[d>>2]|0;Bj[f[(f[g>>2]|0)+16>>2]&1023](g,c);Q6(a);u=e;return 1}function bma(a,b){a=a|0;b=b|0;return 1}function cma(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333060;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function dma(a){a=a|0;return f[a+232>>2]|0}function ema(a){a=a|0;return f[a+236>>2]|0}function fma(a,b){a=a|0;b=b|0;V_a(a,b,-1);return}function gma(a){a=a|0;return f[a+240>>2]|0}function hma(a,b){a=a|0;b=b|0;W_a(a,b,-1);return}function ima(a){a=a|0;return f[a+244>>2]|0}function jma(a,b){a=a|0;b=b|0;Pwa(a,b,-1);return}function kma(a){a=a|0;return f[a+248>>2]|0}function lma(a,b){a=a|0;b=b|0;Qwa(a,b,-1);return}function mma(a){a=a|0;return a+252|0}function nma(a){a=a|0;return a+252|0}function oma(a){a=a|0;return a+264|0}function pma(a){a=a|0;return a+264|0}function qma(a){a=a|0;var c=0;f[a>>2]=332980;c=a+32|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function rma(a){a=a|0;var c=0;f[a>>2]=332980;c=a+32|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function sma(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;n=u;u=u+32|0;i=n+16|0;l=n+4|0;j=n;f[i>>2]=0;f[l>>2]=0;m=l+4|0;f[m>>2]=0;k=l+8|0;f[k>>2]=0;h=b+112|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+44>>2]&1023](h,i);Q6(b);Hma(l,f[i>>2]|0);if(f[i>>2]|0){g=0;do{f[j>>2]=0;Ima(b,j)|0;d=f[m>>2]|0;if((d|0)==(f[k>>2]|0))Gma(l,j);else{e=f[j>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[m>>2]|0}f[m>>2]=d+4}d=f[j>>2]|0;if(d|0?(e=d+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(d,1,1);g=g+1|0;d=f[i>>2]|0}while(g>>>0<d>>>0);if(d|0){d=f[a+60>>2]|0;a=f[a+64>>2]|0;e=c+(a>>1)|0;if(a&1)d=f[(f[e>>2]|0)+d>>2]|0;Bj[d&1023](e,l)}}}else{g=f[h>>2]|0;if((cj[f[(f[g>>2]|0)+96>>2]&1023](g,a+32|0)|0?(g=f[h>>2]|0,Bj[f[(f[g>>2]|0)+44>>2]&1023](g,i),Q6(b),Hma(l,f[i>>2]|0),f[i>>2]|0):0)?(g=f[h>>2]|0,Bj[f[(f[g>>2]|0)+84>>2]&1023](g,b+24|0),Q6(b),f[i>>2]|0):0){g=0;do{f[j>>2]=0;Ima(b,j)|0;d=f[m>>2]|0;if((d|0)==(f[k>>2]|0))Gma(l,j);else{e=f[j>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[m>>2]|0}f[m>>2]=d+4}d=f[j>>2]|0;if(d|0?(o=d+8|0,e=f[o>>2]|0,f[o>>2]=e-1,(e|0)==1):0)Rua(d,1,1);g=g+1|0;d=f[i>>2]|0}while(g>>>0<d>>>0);if(d|0){d=f[h>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,b+40|0);Q6(b);d=f[a+60>>2]|0;o=f[a+64>>2]|0;e=c+(o>>1)|0;if(o&1)d=f[(f[e>>2]|0)+d>>2]|0;Bj[d&1023](e,l)}}}g=f[l>>2]|0;if(!g){u=n;return 1}d=f[m>>2]|0;if((d|0)==(g|0))d=g;else{do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(c=e+8|0,o=f[c>>2]|0,f[c>>2]=o-1,(o|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));d=f[l>>2]|0}f[m>>2]=g;GBb(d);u=n;return 1}function tma(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;e=f[a+44>>2]|0;j=f[a+48>>2]|0;d=d+(j>>1)|0;if(j&1)e=f[(f[d>>2]|0)+e>>2]|0;h=_i[e&2047](d)|0;j=h+4|0;e=(f[j>>2]|0)-(f[h>>2]|0)|0;g=e>>2;i=c+292|0;d=f[i>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,g);e=f[h>>2]|0;if((e|0)==(f[j>>2]|0))return 1;g=c+304|0;do{d=f[e>>2]|0;if((f[g>>2]|0)>111)Pda(c,d);else dda(c,d);e=e+4|0}while((e|0)!=(f[j>>2]|0));return 1}if(!e)return 1;d=c+4|0;e=a+32|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,d);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,g);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,c+24|0);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);a=a+68|0;e=f[a>>2]|0;a:do switch(e|0){case 0:{e=f[h>>2]|0;if((e|0)!=(f[j>>2]|0)){g=c+304|0;do{d=f[e>>2]|0;if((f[g>>2]|0)>111)Pda(c,d);else dda(c,d);e=e+4|0}while((e|0)!=(f[j>>2]|0))}break}case 1:{e=f[h>>2]|0;if((e|0)!=(f[j>>2]|0)){g=c+304|0;do{d=f[e>>2]|0;if((f[g>>2]|0)>111)Pda(c,d);else dda(c,d);a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);e=e+4|0}while((e|0)!=(f[j>>2]|0))}break}default:{d=f[h>>2]|0;if((d|0)!=(f[j>>2]|0)){h=c+304|0;e=e+-1|0;do{g=f[d>>2]|0;if((f[h>>2]|0)>111)Pda(c,g);else dda(c,g);if(!e){e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);e=f[a>>2]|0}d=d+4|0;e=e+-1|0}while((d|0)!=(f[j>>2]|0));if((e|0)==(f[a>>2]|0))break a}j=f[i>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027)}}while(0);j=f[i>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,c+40|0);c=f[i>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function uma(a){a=a|0;return a+32|0}function vma(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+44>>2]|0;d=f[a+48>>2]|0;a=b+(d>>1)|0;if(d&1)c=f[(f[a>>2]|0)+c>>2]|0;d=_i[c&2047](a)|0;return (f[d+4>>2]|0)-(f[d>>2]|0)>>2|0}function wma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=f[a+52>>2]|0;g=f[a+56>>2]|0;a=b+(g>>1)|0;if(g&1)d=f[(f[a>>2]|0)+d>>2]|0;a=_i[d&2047](a)|0;g=a+4|0;d=f[g>>2]|0;b=f[a>>2]|0;e=d-b>>2;if(e>>>0<c>>>0){Ema(a,c-e|0);return}if(e>>>0<=c>>>0)return;b=b+(c<<2)|0;if((b|0)!=(d|0))do{d=d+-4|0;a=f[d>>2]|0;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);f[d>>2]=0}while((d|0)!=(b|0));f[g>>2]=b;return}function xma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+52>>2]|0;e=f[a+56>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;Hma(_i[d&2047](a)|0,c);return}function yma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+52>>2]|0;d=f[a+56>>2]|0;a=b+(d>>1)|0;if(d&1)c=f[(f[a>>2]|0)+c>>2]|0;d=_i[c&2047](a)|0;b=f[d>>2]|0;d=d+4|0;c=f[d>>2]|0;if((c|0)==(b|0)){f[d>>2]=b;return}do{c=c+-4|0;a=f[c>>2]|0;if(a|0?(g=a+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(a,1,1);f[c>>2]=0}while((c|0)!=(b|0));f[d>>2]=b;return}function zma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+52>>2]|0;e=f[a+56>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;a=_i[d&2047](a)|0;b=a+4|0;d=f[b>>2]|0;if((d|0)==(f[a+8>>2]|0)){Gma(a,c);return}a=f[c>>2]|0;f[d>>2]=a;if(a){d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[b>>2]|0}f[b>>2]=d+4;return}function Ama(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;l=u;u=u+16|0;j=l+4|0;k=l;e=f[a+52>>2]|0;i=f[a+56>>2]|0;a=b+(i>>1)|0;if(i&1)e=f[(f[a>>2]|0)+e>>2]|0;h=_i[e&2047](a)|0;i=h+4|0;e=f[i>>2]|0;a=f[h>>2]|0;b=e-a>>2;do if(b>>>0<=c>>>0){g=c+1|0;if(g>>>0>b>>>0){Ema(h,g-b|0);break}if(g>>>0<b>>>0){b=a+(g<<2)|0;if((b|0)!=(e|0))do{e=e+-4|0;a=f[e>>2]|0;if(a|0?(m=a+8|0,g=f[m>>2]|0,f[m>>2]=g-1,(g|0)==1):0)Rua(a,1,1);f[e>>2]=0}while((e|0)!=(b|0));f[i>>2]=b}}while(0);f[k>>2]=(f[h>>2]|0)+(c<<2);f[j>>2]=f[k>>2];Fma(h,j,d)|0;u=l;return}function Bma(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;e=f[a+52>>2]|0;i=f[a+56>>2]|0;a=b+(i>>1)|0;if(i&1)e=f[(f[a>>2]|0)+e>>2]|0;h=_i[e&2047](a)|0;i=h+4|0;e=f[i>>2]|0;a=f[h>>2]|0;b=e-a>>2;do if(b>>>0<=c>>>0){g=c+1|0;if(g>>>0>b>>>0){Ema(h,g-b|0);break}if(g>>>0<b>>>0){b=a+(g<<2)|0;if((b|0)!=(e|0))do{e=e+-4|0;a=f[e>>2]|0;if(a|0?(j=a+8|0,g=f[j>>2]|0,f[j>>2]=g-1,(g|0)==1):0)Rua(a,1,1);f[e>>2]=0}while((e|0)!=(b|0));f[i>>2]=b}}while(0);a=(f[h>>2]|0)+(c<<2)|0;b=f[a>>2]|0;e=f[d>>2]|0;if((b|0)==(e|0))return;f[a>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if(!b)return;d=b+8|0;j=f[d>>2]|0;f[d>>2]=j-1;if((j|0)!=1)return;Rua(b,1,1);return}function Cma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+52>>2]|0;e=f[a+56>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;b=_i[d&2047](a)|0;e=f[b>>2]|0;return ((f[b+4>>2]|0)-e>>2>>>0>c>>>0?e+(c<<2)|0:0)|0}function Dma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+44>>2]|0;e=f[a+48>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;b=_i[d&2047](a)|0;e=f[b>>2]|0;return ((f[b+4>>2]|0)-e>>2>>>0>c>>>0?e+(c<<2)|0:0)|0}function Ema(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function Fma(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;m=f[a>>2]|0;o=m;j=(f[b>>2]|0)-o|0;n=j>>2;q=m+(n<<2)|0;r=a+4|0;b=f[r>>2]|0;p=a+8|0;l=f[p>>2]|0;d=b;e=l;if(b>>>0<l>>>0){if((q|0)==(b|0)){c=f[c>>2]|0;f[q>>2]=c;if(!c)c=q;else{c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[r>>2]|0}f[r>>2]=c+4;r=q;return r|0}i=d-(q+4)|0;g=q+(i>>2<<2)|0;if(g>>>0<b>>>0){h=g;d=b;do{e=f[h>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[r>>2]|0}h=h+4|0;d=d+4|0;f[r>>2]=d}while(h>>>0<b>>>0)}if(i|0)do{g=g+-4|0;b=b+-4|0;d=f[b>>2]|0;e=f[g>>2]|0;if((d|0)!=(e|0)){f[b>>2]=e;if(e|0){a=e+8|0;f[a>>2]=(f[a>>2]|0)+1}if(d|0?(p=d+8|0,a=f[p>>2]|0,f[p>>2]=a-1,(a|0)==1):0)Rua(d,1,1)}}while((g|0)!=(q|0));if(q>>>0<=c>>>0)c=(f[r>>2]|0)>>>0>c>>>0?c+4|0:c;b=f[q>>2]|0;c=f[c>>2]|0;if((b|0)==(c|0)){r=q;return r|0}f[q>>2]=c;if(c|0){r=c+8|0;f[r>>2]=(f[r>>2]|0)+1}if(!b){r=q;return r|0}a=b+8|0;r=f[a>>2]|0;f[a>>2]=r-1;if((r|0)!=1){r=q;return r|0}Rua(b,1,1);r=q;return r|0}b=(d-o>>2)+1|0;if(b>>>0>1073741823)DCb(a);d=e-o|0;g=d>>1;g=d>>2>>>0<536870911?(g>>>0<b>>>0?b:g):1073741823;b=j>>2;d=(g|0)==0;do if(!d)if(g>>>0>1073741823){r=ab(8)|0;KBb(r,410101);f[r>>2]=362060;eb(r|0,302144,1464)}else{l=EBb(g<<2)|0;k=l;break}else{k=0;l=0}while(0);h=l+(b<<2)|0;e=h;i=l+(g<<2)|0;do if((b|0)==(g|0)){if((j|0)>0){k=h+(((g+1|0)/-2|0)<<2)|0;j=k;break}d=d?1:g<<2>>1;b=d>>>2;do if(d)if(d>>>0>1073741823){r=ab(8)|0;KBb(r,410101);f[r>>2]=362060;eb(r|0,302144,1464)}else{e=EBb(d<<2)|0;break}else e=0;while(0);g=e+(b<<2)|0;b=g;d=e+(d<<2)|0;if(!l){j=b;k=g;i=d}else{GBb(k);j=b;k=g;i=d}}else{j=e;k=h}while(0);c=f[c>>2]|0;f[k>>2]=c;if(c|0){l=c+8|0;f[l>>2]=(f[l>>2]|0)+1}e=k+4|0;l=j;h=f[a>>2]|0;if((h|0)==(q|0)){b=l;h=j}else{b=~((m+(n+-1<<2)-h|0)>>>2);c=q;d=l;while(1){c=c+-4|0;g=f[c>>2]|0;f[d+-4>>2]=g;if(g|0){m=g+8|0;f[m>>2]=(f[m>>2]|0)+1}if((c|0)==(h|0))break;else d=d+-4|0}h=l+(b<<2)|0;b=h}g=f[r>>2]|0;if((g|0)==(q|0))c=q;else{d=((g+(~n<<2)-o|0)>>>2)+2|0;b=q;while(1){c=f[b>>2]|0;f[e>>2]=c;if(c|0){q=c+8|0;f[q>>2]=(f[q>>2]|0)+1}b=b+4|0;if((b|0)==(g|0))break;else e=e+4|0}e=k+(d<<2)|0;b=h;c=f[r>>2]|0}d=f[a>>2]|0;f[a>>2]=b;f[r>>2]=e;f[p>>2]=i;if((c|0)!=(d|0))do{c=c+-4|0;b=f[c>>2]|0;if(b|0?(q=b+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(b,1,1);f[c>>2]=0}while((c|0)!=(d|0));if(!d){r=l;return r|0}GBb(d);r=l;return r|0}function Gma(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<e>>>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 Hma(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 Ima(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;e=g;if((f[a+92>>2]|0)<=111){X6(e,a);c=f[b>>2]|0;d=f[e>>2]|0;if((c|0)!=(d|0)){f[b>>2]=d;if(d|0){b=d+8|0;f[b>>2]=(f[b>>2]|0)+1}if(c|0?(d=c+8|0,b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(c,1,1);c=f[e>>2]|0}if(c|0?(e=c+8|0,b=f[e>>2]|0,f[e>>2]=b-1,(b|0)==1):0)Rua(c,1,1);u=g;return a|0}Bca(e,a,0);d=f[e>>2]|0;do if(d){c=WCb(d,295088,295184,0)|0;if(c){d=c+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[e>>2]|0;if(!d)break}else c=0;h=d+8|0;e=f[h>>2]|0;f[h>>2]=e-1;if((e|0)==1)Rua(d,1,1)}else c=0;while(0);d=f[b>>2]|0;if((d|0)!=(c|0)){f[b>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}if(d|0?(b=d+8|0,h=f[b>>2]|0,f[b>>2]=h-1,(h|0)==1):0)Rua(d,1,1)}if(!c){u=g;return a|0}b=c+8|0;h=f[b>>2]|0;f[b>>2]=h-1;if((h|0)!=1){u=g;return a|0}Rua(c,1,1);u=g;return a|0}function Jma(a){a=a|0;var c=0;f[a>>2]=333060;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Kma(a){a=a|0;var c=0;f[a>>2]=333060;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Lma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,295184,0)|0;Bj[b&1023](e,c);return 1}function Mma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;e=_i[d&2047](a)|0;f[c>>2]=e;return 1}function Nma(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+16|0;g=j;e=j+4|0;b[e>>0]=0;i=c+112|0;h=f[i>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295184,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;c=e+8|0;i=f[c>>2]|0;f[c>>2]=i-1;if((i|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);if(!h){u=j;return 1}a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}h=f[i>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=j;return 1}h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295184,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;k=e+8|0;g=f[k>>2]|0;f[k>>2]=g-1;if((g|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;k=f[a+52>>2]|0;g=d+(k>>1)|0;if(k&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+40|0);Q6(c);if(!h){u=j;return 1}d=h+8|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}function Oma(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function Pma(a){a=a|0;return a+24|0}function Qma(a){a=a|0;mi()}function Rma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,i=0,j=0;d=a+4|0;ZBb(d,442114)|0;e=a+292|0;g=f[e>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,d);g=(b|0)!=0;c=f[e>>2]|0;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,g);if(g){if((f[a+304>>2]|0)>111){Pda(a,b);c=b}else{dda(a,b);c=b}c=_i[f[(f[b>>2]|0)+152>>2]&2047](c)|0;if(!c)c=0;else c=WCb(c,295048,285152,0)|0}else{c=f[e>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);c=0}ZBb(d,406126)|0;i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+84>>2]&1023](i,d);i=(c|0)!=0;j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+16>>2]&1023](j,i);do if(i)if((f[a+304>>2]|0)>111){Pda(a,c);break}else{dda(a,c);break}else{j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027)}while(0);ZBb(d,406134)|0;j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,d);if(!b)c=0;else c=f[b+64>>2]|0;j=f[e>>2]|0;if(_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0){j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+36>>2]&1023](j,c)}else{j=Yfa(499220,c)|0;i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+68>>2]&1023](i,j)}j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027);ZBb(d,406142)|0;j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,d);if(!g){j=0;i=f[e>>2]|0;g=f[i>>2]|0;g=g+36|0;g=f[g>>2]|0;Bj[g&1023](i,j);j=f[e>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}j=h[b+68>>0]|0;i=f[e>>2]|0;g=f[i>>2]|0;g=g+36|0;g=f[g>>2]|0;Bj[g&1023](i,j);j=f[e>>2]|0;i=f[j>>2]|0;i=i+72|0;i=f[i>>2]|0;Bj[i&1023](j,1027);return}function Sma(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;l=u;u=u+32|0;i=l+12|0;h=l;d=l+17|0;g=l+16|0;b[d>>0]=0;j=a+4|0;ZBb(j,442114)|0;k=a+112|0;c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+80>>2]&1023](c,j);Q6(a);c=f[k>>2]|0;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,d);Q6(a);if(!(b[d>>0]|0))d=0;else{X6(i,a);c=f[i>>2]|0;if(c){d=c+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[i>>2]|0;if((d|0)!=0?(n=d+8|0,m=f[n>>2]|0,f[n>>2]=m-1,(m|0)==1):0)Rua(d,1,1)}else c=0;d=c}b[g>>0]=0;ZBb(j,406126)|0;n=f[k>>2]|0;Bj[f[(f[n>>2]|0)+80>>2]&1023](n,j);Q6(a);n=f[k>>2]|0;Bj[f[(f[n>>2]|0)+16>>2]&1023](n,g);Q6(a);if(b[g>>0]|0?(X6(i,a),e=f[i>>2]|0,e|0):0){c=WCb(e,295184,285152,0)|0;if(c|0){n=c+8|0;f[n>>2]=(f[n>>2]|0)+1;if(d|0)Bj[f[(f[d>>2]|0)+144>>2]&1023](d,c);m=c+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)==1)Rua(c,1,1)}c=f[i>>2]|0;if(c|0?(m=c+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(c,1,1)}ZBb(j,406134)|0;n=f[k>>2]|0;Bj[f[(f[n>>2]|0)+80>>2]&1023](n,j);Q6(a);n=f[k>>2]|0;if(!(_i[f[(f[n>>2]|0)+12>>2]&2047](n)|0)){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;n=f[k>>2]|0;Bj[f[(f[n>>2]|0)+64>>2]&1023](n,h);Q6(a);n=h+11|0;m=$ga(499220,(b[n>>0]|0)<0?f[h>>2]|0:h)|0;f[i>>2]=m;if((b[n>>0]|0)<0)GBb(f[h>>2]|0)}else{n=f[k>>2]|0;Bj[f[(f[n>>2]|0)+40>>2]&1023](n,i);Q6(a)}c=(d|0)!=0;if(c)f[d+64>>2]=f[i>>2];f[i>>2]=0;ZBb(j,406142)|0;n=f[k>>2]|0;Bj[f[(f[n>>2]|0)+80>>2]&1023](n,j);Q6(a);n=f[k>>2]|0;Bj[f[(f[n>>2]|0)+40>>2]&1023](n,i);Q6(a);if(!c){u=l;return d|0}b[d+68>>0]=(f[i>>2]|0)!=0&1;v0a(d)|0;u=l;return d|0}function Tma(a){a=a|0;var c=0;f[a>>2]=333104;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Uma(a){a=a|0;var c=0;f[a>>2]=333104;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Vma(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;g=c+112|0;i=f[g>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){b[e>>0]=0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){i=1;u=h;return i|0}}else{i=f[g>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){i=1;u=h;return i|0}}i=cj[f[a+40>>2]&1023](c,d)|0;u=h;return i|0}function Wma(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=_i[f[a+36>>2]&2047](d)|0;h=c+292|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);if(!e){h=1;return h|0}}else{if(!e){h=1;return h|0}g=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(g,e)|0;h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g)}h=cj[f[a+44>>2]&1023](c,d)|0;return h|0}function Xma(a){a=a|0;return a+24|0}function Yma(a){a=a|0;var c=0;f[a>>2]=332856;c=a+32|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Zma(a){a=a|0;var c=0;f[a>>2]=332856;c=a+32|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function _ma(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;n=u;u=u+32|0;i=n+16|0;l=n+4|0;j=n;f[i>>2]=0;f[l>>2]=0;m=l+4|0;f[m>>2]=0;k=l+8|0;f[k>>2]=0;h=b+112|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+44>>2]&1023](h,i);Q6(b);FX(l,f[i>>2]|0);if(f[i>>2]|0){g=0;do{f[j>>2]=0;mna(b,j)|0;d=f[m>>2]|0;if((d|0)==(f[k>>2]|0))HX(l,j);else{e=f[j>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[m>>2]|0}f[m>>2]=d+4}d=f[j>>2]|0;if(d|0?(e=d+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(d,1,1);g=g+1|0;d=f[i>>2]|0}while(g>>>0<d>>>0);if(d|0){d=f[a+60>>2]|0;a=f[a+64>>2]|0;e=c+(a>>1)|0;if(a&1)d=f[(f[e>>2]|0)+d>>2]|0;Bj[d&1023](e,l)}}}else{g=f[h>>2]|0;if((cj[f[(f[g>>2]|0)+96>>2]&1023](g,a+32|0)|0?(g=f[h>>2]|0,Bj[f[(f[g>>2]|0)+44>>2]&1023](g,i),Q6(b),FX(l,f[i>>2]|0),f[i>>2]|0):0)?(g=f[h>>2]|0,Bj[f[(f[g>>2]|0)+84>>2]&1023](g,b+24|0),Q6(b),f[i>>2]|0):0){g=0;do{f[j>>2]=0;mna(b,j)|0;d=f[m>>2]|0;if((d|0)==(f[k>>2]|0))HX(l,j);else{e=f[j>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[m>>2]|0}f[m>>2]=d+4}d=f[j>>2]|0;if(d|0?(o=d+8|0,e=f[o>>2]|0,f[o>>2]=e-1,(e|0)==1):0)Rua(d,1,1);g=g+1|0;d=f[i>>2]|0}while(g>>>0<d>>>0);if(d|0){d=f[h>>2]|0;Bj[f[(f[d>>2]|0)+84>>2]&1023](d,b+40|0);Q6(b);d=f[a+60>>2]|0;o=f[a+64>>2]|0;e=c+(o>>1)|0;if(o&1)d=f[(f[e>>2]|0)+d>>2]|0;Bj[d&1023](e,l)}}}g=f[l>>2]|0;if(!g){u=n;return 1}d=f[m>>2]|0;if((d|0)==(g|0))d=g;else{do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(c=e+8|0,o=f[c>>2]|0,f[c>>2]=o-1,(o|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));d=f[l>>2]|0}f[m>>2]=g;GBb(d);u=n;return 1}function $ma(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;e=f[a+44>>2]|0;j=f[a+48>>2]|0;d=d+(j>>1)|0;if(j&1)e=f[(f[d>>2]|0)+e>>2]|0;h=_i[e&2047](d)|0;j=h+4|0;e=(f[j>>2]|0)-(f[h>>2]|0)|0;g=e>>2;i=c+292|0;d=f[i>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,g);e=f[h>>2]|0;if((e|0)==(f[j>>2]|0))return 1;g=c+304|0;do{d=f[e>>2]|0;if((f[g>>2]|0)>111)Pda(c,d);else Gda(c,d);e=e+4|0}while((e|0)!=(f[j>>2]|0));return 1}if(!e)return 1;d=c+4|0;e=a+32|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,d);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,g);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,c+24|0);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);a=a+68|0;e=f[a>>2]|0;a:do switch(e|0){case 0:{e=f[h>>2]|0;if((e|0)!=(f[j>>2]|0)){g=c+304|0;do{d=f[e>>2]|0;if((f[g>>2]|0)>111)Pda(c,d);else Gda(c,d);e=e+4|0}while((e|0)!=(f[j>>2]|0))}break}case 1:{e=f[h>>2]|0;if((e|0)!=(f[j>>2]|0)){g=c+304|0;do{d=f[e>>2]|0;if((f[g>>2]|0)>111)Pda(c,d);else Gda(c,d);a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);e=e+4|0}while((e|0)!=(f[j>>2]|0))}break}default:{d=f[h>>2]|0;if((d|0)!=(f[j>>2]|0)){h=c+304|0;e=e+-1|0;do{g=f[d>>2]|0;if((f[h>>2]|0)>111)Pda(c,g);else Gda(c,g);if(!e){e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);e=f[a>>2]|0}d=d+4|0;e=e+-1|0}while((d|0)!=(f[j>>2]|0));if((e|0)==(f[a>>2]|0))break a}j=f[i>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1027)}}while(0);j=f[i>>2]|0;Bj[f[(f[j>>2]|0)+88>>2]&1023](j,c+40|0);c=f[i>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function ana(a){a=a|0;return a+32|0}function bna(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+44>>2]|0;d=f[a+48>>2]|0;a=b+(d>>1)|0;if(d&1)c=f[(f[a>>2]|0)+c>>2]|0;d=_i[c&2047](a)|0;return (f[d+4>>2]|0)-(f[d>>2]|0)>>2|0}function cna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=f[a+52>>2]|0;g=f[a+56>>2]|0;a=b+(g>>1)|0;if(g&1)d=f[(f[a>>2]|0)+d>>2]|0;a=_i[d&2047](a)|0;g=a+4|0;d=f[g>>2]|0;b=f[a>>2]|0;e=d-b>>2;if(e>>>0<c>>>0){kna(a,c-e|0);return}if(e>>>0<=c>>>0)return;b=b+(c<<2)|0;if((b|0)!=(d|0))do{d=d+-4|0;a=f[d>>2]|0;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);f[d>>2]=0}while((d|0)!=(b|0));f[g>>2]=b;return}function dna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+52>>2]|0;e=f[a+56>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;FX(_i[d&2047](a)|0,c);return}function ena(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+52>>2]|0;d=f[a+56>>2]|0;a=b+(d>>1)|0;if(d&1)c=f[(f[a>>2]|0)+c>>2]|0;d=_i[c&2047](a)|0;b=f[d>>2]|0;d=d+4|0;c=f[d>>2]|0;if((c|0)==(b|0)){f[d>>2]=b;return}do{c=c+-4|0;a=f[c>>2]|0;if(a|0?(g=a+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(a,1,1);f[c>>2]=0}while((c|0)!=(b|0));f[d>>2]=b;return}function fna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+52>>2]|0;e=f[a+56>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;a=_i[d&2047](a)|0;b=a+4|0;d=f[b>>2]|0;if((d|0)==(f[a+8>>2]|0)){HX(a,c);return}a=f[c>>2]|0;f[d>>2]=a;if(a){d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[b>>2]|0}f[b>>2]=d+4;return}function gna(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;l=u;u=u+16|0;j=l+4|0;k=l;e=f[a+52>>2]|0;i=f[a+56>>2]|0;a=b+(i>>1)|0;if(i&1)e=f[(f[a>>2]|0)+e>>2]|0;h=_i[e&2047](a)|0;i=h+4|0;e=f[i>>2]|0;a=f[h>>2]|0;b=e-a>>2;do if(b>>>0<=c>>>0){g=c+1|0;if(g>>>0>b>>>0){kna(h,g-b|0);break}if(g>>>0<b>>>0){b=a+(g<<2)|0;if((b|0)!=(e|0))do{e=e+-4|0;a=f[e>>2]|0;if(a|0?(m=a+8|0,g=f[m>>2]|0,f[m>>2]=g-1,(g|0)==1):0)Rua(a,1,1);f[e>>2]=0}while((e|0)!=(b|0));f[i>>2]=b}}while(0);f[k>>2]=(f[h>>2]|0)+(c<<2);f[j>>2]=f[k>>2];lna(h,j,d)|0;u=l;return}function hna(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;e=f[a+52>>2]|0;i=f[a+56>>2]|0;a=b+(i>>1)|0;if(i&1)e=f[(f[a>>2]|0)+e>>2]|0;h=_i[e&2047](a)|0;i=h+4|0;e=f[i>>2]|0;a=f[h>>2]|0;b=e-a>>2;do if(b>>>0<=c>>>0){g=c+1|0;if(g>>>0>b>>>0){kna(h,g-b|0);break}if(g>>>0<b>>>0){b=a+(g<<2)|0;if((b|0)!=(e|0))do{e=e+-4|0;a=f[e>>2]|0;if(a|0?(j=a+8|0,g=f[j>>2]|0,f[j>>2]=g-1,(g|0)==1):0)Rua(a,1,1);f[e>>2]=0}while((e|0)!=(b|0));f[i>>2]=b}}while(0);a=(f[h>>2]|0)+(c<<2)|0;b=f[a>>2]|0;e=f[d>>2]|0;if((b|0)==(e|0))return;f[a>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if(!b)return;d=b+8|0;j=f[d>>2]|0;f[d>>2]=j-1;if((j|0)!=1)return;Rua(b,1,1);return}function ina(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+52>>2]|0;e=f[a+56>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;b=_i[d&2047](a)|0;e=f[b>>2]|0;return ((f[b+4>>2]|0)-e>>2>>>0>c>>>0?e+(c<<2)|0:0)|0}function jna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+44>>2]|0;e=f[a+48>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;b=_i[d&2047](a)|0;e=f[b>>2]|0;return ((f[b+4>>2]|0)-e>>2>>>0>c>>>0?e+(c<<2)|0:0)|0}function kna(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function lna(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;m=f[a>>2]|0;o=m;j=(f[b>>2]|0)-o|0;n=j>>2;q=m+(n<<2)|0;r=a+4|0;b=f[r>>2]|0;p=a+8|0;l=f[p>>2]|0;d=b;e=l;if(b>>>0<l>>>0){if((q|0)==(b|0)){c=f[c>>2]|0;f[q>>2]=c;if(!c)c=q;else{c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[r>>2]|0}f[r>>2]=c+4;r=q;return r|0}i=d-(q+4)|0;g=q+(i>>2<<2)|0;if(g>>>0<b>>>0){h=g;d=b;do{e=f[h>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[r>>2]|0}h=h+4|0;d=d+4|0;f[r>>2]=d}while(h>>>0<b>>>0)}if(i|0)do{g=g+-4|0;b=b+-4|0;d=f[b>>2]|0;e=f[g>>2]|0;if((d|0)!=(e|0)){f[b>>2]=e;if(e|0){a=e+8|0;f[a>>2]=(f[a>>2]|0)+1}if(d|0?(p=d+8|0,a=f[p>>2]|0,f[p>>2]=a-1,(a|0)==1):0)Rua(d,1,1)}}while((g|0)!=(q|0));if(q>>>0<=c>>>0)c=(f[r>>2]|0)>>>0>c>>>0?c+4|0:c;b=f[q>>2]|0;c=f[c>>2]|0;if((b|0)==(c|0)){r=q;return r|0}f[q>>2]=c;if(c|0){r=c+8|0;f[r>>2]=(f[r>>2]|0)+1}if(!b){r=q;return r|0}a=b+8|0;r=f[a>>2]|0;f[a>>2]=r-1;if((r|0)!=1){r=q;return r|0}Rua(b,1,1);r=q;return r|0}b=(d-o>>2)+1|0;if(b>>>0>1073741823)DCb(a);d=e-o|0;g=d>>1;g=d>>2>>>0<536870911?(g>>>0<b>>>0?b:g):1073741823;b=j>>2;d=(g|0)==0;do if(!d)if(g>>>0>1073741823){r=ab(8)|0;KBb(r,410101);f[r>>2]=362060;eb(r|0,302144,1464)}else{l=EBb(g<<2)|0;k=l;break}else{k=0;l=0}while(0);h=l+(b<<2)|0;e=h;i=l+(g<<2)|0;do if((b|0)==(g|0)){if((j|0)>0){k=h+(((g+1|0)/-2|0)<<2)|0;j=k;break}d=d?1:g<<2>>1;b=d>>>2;do if(d)if(d>>>0>1073741823){r=ab(8)|0;KBb(r,410101);f[r>>2]=362060;eb(r|0,302144,1464)}else{e=EBb(d<<2)|0;break}else e=0;while(0);g=e+(b<<2)|0;b=g;d=e+(d<<2)|0;if(!l){j=b;k=g;i=d}else{GBb(k);j=b;k=g;i=d}}else{j=e;k=h}while(0);c=f[c>>2]|0;f[k>>2]=c;if(c|0){l=c+8|0;f[l>>2]=(f[l>>2]|0)+1}e=k+4|0;l=j;h=f[a>>2]|0;if((h|0)==(q|0)){b=l;h=j}else{b=~((m+(n+-1<<2)-h|0)>>>2);c=q;d=l;while(1){c=c+-4|0;g=f[c>>2]|0;f[d+-4>>2]=g;if(g|0){m=g+8|0;f[m>>2]=(f[m>>2]|0)+1}if((c|0)==(h|0))break;else d=d+-4|0}h=l+(b<<2)|0;b=h}g=f[r>>2]|0;if((g|0)==(q|0))c=q;else{d=((g+(~n<<2)-o|0)>>>2)+2|0;b=q;while(1){c=f[b>>2]|0;f[e>>2]=c;if(c|0){q=c+8|0;f[q>>2]=(f[q>>2]|0)+1}b=b+4|0;if((b|0)==(g|0))break;else e=e+4|0}e=k+(d<<2)|0;b=h;c=f[r>>2]|0}d=f[a>>2]|0;f[a>>2]=b;f[r>>2]=e;f[p>>2]=i;if((c|0)!=(d|0))do{c=c+-4|0;b=f[c>>2]|0;if(b|0?(q=b+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(b,1,1);f[c>>2]=0}while((c|0)!=(d|0));if(!d){r=l;return r|0}GBb(d);r=l;return r|0}function mna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;e=g;if((f[a+92>>2]|0)<=111){wca(e,a);c=f[b>>2]|0;d=f[e>>2]|0;if((c|0)!=(d|0)){f[b>>2]=d;if(d|0){b=d+8|0;f[b>>2]=(f[b>>2]|0)+1}if(c|0?(d=c+8|0,b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(c,1,1);c=f[e>>2]|0}if(c|0?(e=c+8|0,b=f[e>>2]|0,f[e>>2]=b-1,(b|0)==1):0)Rua(c,1,1);u=g;return a|0}Bca(e,a,0);d=f[e>>2]|0;do if(d){c=WCb(d,295088,298152,0)|0;if(c){d=c+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[e>>2]|0;if(!d)break}else c=0;h=d+8|0;e=f[h>>2]|0;f[h>>2]=e-1;if((e|0)==1)Rua(d,1,1)}else c=0;while(0);d=f[b>>2]|0;if((d|0)!=(c|0)){f[b>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}if(d|0?(b=d+8|0,h=f[b>>2]|0,f[b>>2]=h-1,(h|0)==1):0)Rua(d,1,1)}if(!c){u=g;return a|0}b=c+8|0;h=f[b>>2]|0;f[b>>2]=h-1;if((h|0)!=1){u=g;return a|0}Rua(c,1,1);u=g;return a|0}function nna(){return}function ona(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;h=u;u=u+32|0;a=h+12|0;c=h;n[124813]=1.0;n[124814]=0.0;n[124815]=0.0;n[124816]=0.0;n[124817]=1.0;n[124818]=0.0;n[124819]=0.0;n[124820]=0.0;n[124821]=1.0;d=a+11|0;b[d>>0]=10;g=a;i=406309;j=g+10|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[a+10>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=EBb(48)|0;f[c>>2]=e;f[c+8>>2]=-2147483600;f[c+4>>2]=32;g=e;i=406320;j=g+32|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+32>>0]=0;Wca(499288,6,a,c,1477);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[d>>0]|0)>=0){u=h;return}GBb(f[a>>2]|0);u=h;return}function pna(){var a=0;a=EBb(136)|0;k_a(a);return a|0}function qna(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=u;u=u+16|0;d=g;c=EBb(48)|0;una(c,406353,1065,475,476);Oca(a,c,1);c=EBb(16)|0;f[d>>2]=c;f[d+8>>2]=-2147483632;f[d+4>>2]=14;e=c;h=406362;i=e+14|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+14>>0]=0;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;rZa(i);f[i>>2]=333148;Uca(a,d,i);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;i=d+11|0;b[i>>0]=8;h=d;f[h>>2]=1131701607;f[h+4>>2]=1684826472;b[d+8>>0]=0;h=EBb(12)|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;rZa(h);f[h>>2]=333172;Uca(a,d,h);if((b[i>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;i=d+11|0;b[i>>0]=8;h=d;f[h>>2]=1131701619;f[h+4>>2]=1684826472;b[d+8>>0]=0;h=EBb(12)|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;rZa(h);f[h>>2]=333196;Uca(a,d,h);if((b[i>>0]|0)<0)GBb(f[d>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;i=d+11|0;b[i>>0]=8;h=d;f[h>>2]=1130652769;f[h+4>>2]=1684826472;b[d+8>>0]=0;h=EBb(12)|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;rZa(h);f[h>>2]=333220;Uca(a,d,h);if((b[i>>0]|0)<0)GBb(f[d>>2]|0);c=EBb(16)|0;f[d>>2]=c;f[d+8>>2]=-2147483632;f[d+4>>2]=11;e=c;h=406377;i=e+11|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+11>>0]=0;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;rZa(i);f[i>>2]=333244;Uca(a,d,i);if((b[d+11>>0]|0)>=0){u=g;return}GBb(f[d>>2]|0);u=g;return}function rna(a){a=a|0;return (_i[f[(f[a>>2]|0)+248>>2]&2047](a)|0)!=0|0}function sna(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=u;u=u+16|0;g=j+4|0;h=j;f[g>>2]=0;i=a+112|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,g);Q6(a);e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,a+24|0);Q6(a);if(!(f[g>>2]|0)){h=a+40|0;i=f[i>>2]|0;g=f[i>>2]|0;g=g+84|0;g=f[g>>2]|0;Bj[g&1023](i,h);Q6(a);u=j;return 1}e=0;do{Bca(h,a,0);c=f[h>>2]|0;do if(c|0){d=WCb(c,295088,295136,0)|0;if(d){cj[f[(f[b>>2]|0)+228>>2]&1023](b,d)|0;c=f[h>>2]|0;if(!c)break}k=c+8|0;d=f[k>>2]|0;f[k>>2]=d-1;if((d|0)==1)Rua(c,1,1)}while(0);e=e+1|0}while(e>>>0<(f[g>>2]|0)>>>0);k=a+40|0;i=f[i>>2]|0;h=f[i>>2]|0;h=h+84|0;h=f[h>>2]|0;Bj[h&1023](i,k);Q6(a);u=j;return 1}function tna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=_i[f[(f[b>>2]|0)+248>>2]&2047](b)|0;e=a+292|0;c=f[e>>2]|0;Bj[f[(f[c>>2]|0)+40>>2]&1023](c,d);c=f[e>>2]|0;Bj[f[(f[c>>2]|0)+88>>2]&1023](c,a+24|0);c=f[e>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);if(d|0){c=b+124|0;b=0;do{Pda(a,f[(f[c>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)!=(d|0))}d=f[e>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+40|0);e=f[e>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);return 1}function una(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;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333268;h=a+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=Rmb(c)|0;if(i>>>0>4294967279)MBb(h);if(i>>>0<11){b[h+11>>0]=i;if(i)j=6}else{k=i+16&-16;j=EBb(k)|0;f[h>>2]=j;f[a+32>>2]=k|-2147483648;f[a+28>>2]=i;h=j;j=6}if((j|0)==6)YDb(h|0,c|0,i|0)|0;b[h+i>>0]=0;f[a+36>>2]=d;f[a+40>>2]=e;f[a+44>>2]=g;return}function vna(a){a=a|0;Uua(a);GBb(a);return}function wna(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=f[c>>2]|0;if((a|0)==(f[c+4>>2]|0)){b=0;return b|0}a=f[a>>2]|0;if(!a){b=0;return b|0}a=WCb(a,295088,295136,0)|0;if(!a){b=0;return b|0}cj[f[(f[b>>2]|0)+236>>2]&1023](b,a)|0;b=1;return b|0}function xna(a){a=a|0;Uua(a);GBb(a);return}function yna(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=f[c>>2]|0;if((a|0)==(f[c+4>>2]|0)){b=0;return b|0}a=f[a>>2]|0;if(!a){b=0;return b|0}a=WCb(a,295088,295136,0)|0;if(!a){b=0;return b|0}cj[f[(f[b>>2]|0)+228>>2]&1023](b,a)|0;b=1;return b|0}function zna(a){a=a|0;Uua(a);GBb(a);return}function Ana(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;g=u;u=u+16|0;e=g;a=f[d>>2]|0;if((f[d+4>>2]|0)-a>>2>>>0<2){c=0;u=g;return c|0}a=f[a>>2]|0;a=_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0;if(!a)e=0;else{f[e>>2]=332448;i=e+4|0;b[i>>0]=0;h=e+8|0;f[h>>2]=0;e=(cj[f[(f[a>>2]|0)+164>>2]&1023](a,e)|0)^1;e=(b[i>>0]|0)==0|e?0:f[h>>2]|0}a=f[(f[d>>2]|0)+4>>2]|0;if(!a){i=0;u=g;return i|0}a=WCb(a,295088,295136,0)|0;if(!a){i=0;u=g;return i|0}dj[f[(f[c>>2]|0)+252>>2]&255](c,e,a)|0;i=1;u=g;return i|0}function Bna(a){a=a|0;Uua(a);GBb(a);return}function Cna(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;h=u;u=u+16|0;g=h;a=f[d>>2]|0;if((a|0)==(f[d+4>>2]|0)){g=0;u=h;return g|0}a=f[a>>2]|0;a=_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0;if(!a)a=0;else{f[g>>2]=332448;i=g+4|0;b[i>>0]=0;d=g+8|0;f[d>>2]=0;a=(cj[f[(f[a>>2]|0)+164>>2]&1023](a,g)|0)^1;a=(b[i>>0]|0)==0|a?0:f[d>>2]|0}a=f[(f[c+124>>2]|0)+(a<<2)>>2]|0;f[g>>2]=a;if(a|0){i=a+8|0;f[i>>2]=(f[i>>2]|0)+1}c=e+4|0;a=f[c>>2]|0;if(a>>>0<(f[e+8>>2]|0)>>>0){d=f[g>>2]|0;f[a>>2]=d;if(d){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[c>>2]|0}f[c>>2]=a+4}else Jw(e,g);a=f[g>>2]|0;if(a|0?(g=a+8|0,i=f[g>>2]|0,f[g>>2]=i-1,(i|0)==1):0)Rua(a,1,1);i=1;u=h;return i|0}function Dna(a){a=a|0;Uua(a);GBb(a);return}function Ena(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;g=j+12|0;h=j;a=EBb(36)|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=h+11|0;b[i>>0]=6;b[h>>0]=b[406456]|0;b[h+1>>0]=b[406457]|0;b[h+2>>0]=b[406458]|0;b[h+3>>0]=b[406459]|0;b[h+4>>0]=b[406460]|0;b[h+5>>0]=b[406461]|0;b[h+6>>0]=0;c=_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0;v_a(a,1);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;f[a>>2]=308964;UBb(d,h)|0;f[a>>2]=332632;f[a+32>>2]=c;f[g>>2]=a;c=a+8|0;f[c>>2]=(f[c>>2]|0)+1;c=e+4|0;a=f[c>>2]|0;if(a>>>0<(f[e+8>>2]|0)>>>0){d=f[g>>2]|0;f[a>>2]=d;if(d){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[c>>2]|0}f[c>>2]=a+4}else Jw(e,g);a=f[g>>2]|0;if(a|0?(c=a+8|0,e=f[c>>2]|0,f[c>>2]=e-1,(e|0)==1):0)Rua(a,1,1);f[g>>2]=0;if((b[i>>0]|0)>=0){u=j;return 1}GBb(f[h>>2]|0);u=j;return 1}function Fna(a){a=a|0;var c=0;f[a>>2]=333268;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Gna(a){a=a|0;var c=0;f[a>>2]=333268;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Hna(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;g=c+112|0;i=f[g>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){b[e>>0]=0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){i=1;u=h;return i|0}}else{i=f[g>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){i=1;u=h;return i|0}}i=cj[f[a+40>>2]&1023](c,d)|0;u=h;return i|0}function Ina(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=_i[f[a+36>>2]&2047](d)|0;h=c+292|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);if(!e){h=1;return h|0}}else{if(!e){h=1;return h|0}g=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(g,e)|0;h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g)}h=cj[f[a+44>>2]&1023](c,d)|0;return h|0}function Jna(a){a=a|0;return a+24|0}function Kna(){return}function Lna(){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[124824]=1.0;n[124825]=0.0;n[124826]=0.0;n[124827]=0.0;n[124828]=1.0;n[124829]=0.0;n[124830]=0.0;n[124831]=0.0;n[124832]=1.0;a=EBb(32)|0;f[c>>2]=a;f[c+8>>2]=-2147483616;f[c+4>>2]=20;e=a;h=406524;i=e+20|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+20>>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]=68;e=a;h=406545;i=e+68|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+68>>0]=0;Wca(499332,7,c,d,1478);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 Mna(){var a=0;a=EBb(408)|0;d0a(a);return a|0}function Nna(a){a=a|0;var b=0,c=0,d=0,e=0;b=u;u=u+256|0;d=b+128|0;e=b;c=EBb(184)|0;f3a(e);p[d>>3]=+p[e>>3];p[d+8>>3]=+p[e+8>>3];p[d+16>>3]=+p[e+16>>3];p[d+24>>3]=+p[e+24>>3];p[d+32>>3]=+p[e+32>>3];p[d+40>>3]=+p[e+40>>3];p[d+48>>3]=+p[e+48>>3];p[d+56>>3]=+p[e+56>>3];p[d+64>>3]=+p[e+64>>3];p[d+72>>3]=+p[e+72>>3];p[d+80>>3]=+p[e+80>>3];p[d+88>>3]=+p[e+88>>3];p[d+96>>3]=+p[e+96>>3];p[d+104>>3]=+p[e+104>>3];p[d+112>>3]=+p[e+112>>3];p[d+120>>3]=+p[e+120>>3];Ona(c,406614,d);f[c>>2]=333312;f[c+168>>2]=1066;f[c+172>>2]=0;f[c+176>>2]=793;f[c+180>>2]=0;f[c+20>>2]=7;Oca(a,c,24);u=b;return}function Ona(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333356;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(g)h=6}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h;h=6}if((h|0)==6)YDb(e|0,c|0,g|0)|0;b[e+g>>0]=0;p[a+40>>3]=+p[d>>3];p[a+48>>3]=+p[d+8>>3];p[a+56>>3]=+p[d+16>>3];p[a+64>>3]=+p[d+24>>3];p[a+72>>3]=+p[d+32>>3];p[a+80>>3]=+p[d+40>>3];p[a+88>>3]=+p[d+48>>3];p[a+96>>3]=+p[d+56>>3];p[a+104>>3]=+p[d+64>>3];p[a+112>>3]=+p[d+72>>3];p[a+120>>3]=+p[d+80>>3];p[a+128>>3]=+p[d+88>>3];p[a+136>>3]=+p[d+96>>3];p[a+144>>3]=+p[d+104>>3];p[a+152>>3]=+p[d+112>>3];p[a+160>>3]=+p[d+120>>3];return}function Pna(a){a=a|0;return a+144|0}function Qna(a,c){a=a|0;c=c|0;var d=0;d=a+144|0;if((d|0)==(c|0)){d=a+400|0;b[d>>0]=1;ywa(a);return}p[d>>3]=+p[c>>3];p[a+152>>3]=+p[c+8>>3];p[a+160>>3]=+p[c+16>>3];p[a+168>>3]=+p[c+24>>3];p[a+176>>3]=+p[c+32>>3];p[a+184>>3]=+p[c+40>>3];p[a+192>>3]=+p[c+48>>3];p[a+200>>3]=+p[c+56>>3];p[a+208>>3]=+p[c+64>>3];p[a+216>>3]=+p[c+72>>3];p[a+224>>3]=+p[c+80>>3];p[a+232>>3]=+p[c+88>>3];p[a+240>>3]=+p[c+96>>3];p[a+248>>3]=+p[c+104>>3];p[a+256>>3]=+p[c+112>>3];p[a+264>>3]=+p[c+120>>3];d=a+400|0;b[d>>0]=1;ywa(a);return}function Rna(a){a=a|0;var c=0;f[a>>2]=333356;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Sna(a){a=a|0;var c=0;f[a>>2]=333356;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Tna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+128|0;e=g;f3a(e);d=b+112|0;h=f[d>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){W6(b,e)|0;b=f[a+176>>2]|0;h=f[a+180>>2]|0;d=c+(h>>1)|0;if(h&1)b=f[(f[d>>2]|0)+b>>2]|0;Bj[b&1023](d,e);u=g;return 1}h=f[d>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=g;return 1}W6(b,e)|0;b=f[a+176>>2]|0;h=f[a+180>>2]|0;d=c+(h>>1)|0;if(h&1)b=f[(f[d>>2]|0)+b>>2]|0;Bj[b&1023](d,e);u=g;return 1}function Una(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=f[a+168>>2]|0;h=f[a+172>>2]|0;d=d+(h>>1)|0;if(h&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=c+292|0;h=f[g>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){cda(c,d)|0;return 1}if(!(b3a(a+40|0,d)|0))return 1;h=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(h,e)|0;a=f[g>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,h);cda(c,d)|0;c=f[c+292>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function Vna(a){a=a|0;return a+24|0}function Wna(a){a=a|0;mi()}function Xna(){return}function Yna(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;h=u;u=u+32|0;a=h+12|0;c=h;n[124835]=1.0;n[124836]=0.0;n[124837]=0.0;n[124838]=0.0;n[124839]=1.0;n[124840]=0.0;n[124841]=0.0;n[124842]=0.0;n[124843]=1.0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;d=a+11|0;b[d>>0]=9;g=a;i=406718;j=g+9|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[a+9>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=EBb(32)|0;f[c>>2]=e;f[c+8>>2]=-2147483616;f[c+4>>2]=21;g=e;i=406728;j=g+21|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+21>>0]=0;Wca(499376,8,a,c,1479);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if((b[d>>0]|0)>=0){u=h;return}GBb(f[a>>2]|0);u=h;return}function Zna(){var a=0;a=EBb(124)|0;y_a(a);return a|0}function _na(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=u;u=u+16|0;g=i;c=EBb(48)|0;coa(c,406750,1067,477,478);Oca(a,c,1);c=EBb(56)|0;doa(c,406763,0);f[c>>2]=333400;f[c+40>>2]=1068;f[c+44>>2]=0;f[c+48>>2]=794;f[c+52>>2]=0;f[c+20>>2]=7;Oca(a,c,2);c=EBb(56)|0;Lia(c,406793,0);f[c>>2]=333444;f[c+40>>2]=1035;f[c+44>>2]=0;f[c+48>>2]=780;f[c+52>>2]=0;f[c+20>>2]=7;Oca(a,c,2);c=EBb(56)|0;Lia(c,406808,0);f[c>>2]=333444;f[c+40>>2]=1036;f[c+44>>2]=0;f[c+48>>2]=781;f[c+52>>2]=0;f[c+20>>2]=7;Oca(a,c,2);c=EBb(56)|0;Lia(c,406822,0);f[c>>2]=333444;f[c+40>>2]=1037;f[c+44>>2]=0;f[c+48>>2]=782;f[c+52>>2]=0;f[c+20>>2]=7;Oca(a,c,2);c=EBb(60)|0;Hia(c,406835,1);f[c>>2]=333488;f[c+40>>2]=1040;f[c+44>>2]=0;f[c+48>>2]=784;f[c+52>>2]=0;b[c+56>>0]=0;f[c+20>>2]=7;Oca(a,c,5);c=EBb(60)|0;Sia(c,406849,-1);f[c>>2]=333532;f[c+40>>2]=1039;f[c+44>>2]=0;f[c+48>>2]=783;f[c+52>>2]=0;b[c+56>>0]=1;f[c+20>>2]=7;Oca(a,c,11);c=EBb(48)|0;coa(c,406858,1069,479,480);Oca(a,c,1);c=a+112|0;d=f[c>>2]|0;f[c>>2]=77;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;e=EBb(16)|0;f[g>>2]=e;f[g+8>>2]=-2147483632;f[g+4>>2]=12;h=e;j=406858;k=h+12|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[e+12>>0]=0;Rca(a,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);f[c>>2]=d;c=EBb(56)|0;wia(c,428790,0);f[c>>2]=333576;f[c+40>>2]=1028;f[c+44>>2]=0;f[c+48>>2]=776;f[c+52>>2]=0;f[c+20>>2]=7;Oca(a,c,2);c=EBb(32)|0;f[g>>2]=c;f[g+8>>2]=-2147483616;f[g+4>>2]=19;h=c;j=406871;k=h+19|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[c+19>>0]=0;k=EBb(12)|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;rZa(k);f[k>>2]=333620;Uca(a,g,k);if((b[g+11>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function $na(a){a=a|0;return +n[a+44>>2]>=0.0|0}function aoa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,g=0.0,h=0,i=0,j=0,k=0,l=0;c=u;u=u+32|0;h=c+8|0;i=c;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;j=a+112|0;k=f[j>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,a+24|0);Q6(a);k=a+4|0;ZBb(k,407344)|0;l=f[j>>2]|0;Bj[f[(f[l>>2]|0)+80>>2]&1023](l,k);Q6(a);V6(a,h)|0;ZBb(k,407351)|0;l=f[j>>2]|0;Bj[f[(f[l>>2]|0)+80>>2]&1023](l,k);Q6(a);k=f[j>>2]|0;Bj[f[(f[k>>2]|0)+60>>2]&1023](k,i);Q6(a);j=f[j>>2]|0;Bj[f[(f[j>>2]|0)+84>>2]&1023](j,a+40|0);Q6(a);g=+p[h+8>>3];e=+p[h+16>>3];d=+p[i>>3];n[b+32>>2]=+p[h>>3];n[b+36>>2]=g;n[b+40>>2]=e;n[b+44>>2]=d;ywa(b);u=c;return 1}function boa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=u;u=u+32|0;g=c;d=a+292|0;e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);e=a+4|0;ZBb(e,407344)|0;h=f[d>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,e);p[g>>3]=+n[b+32>>2];p[g+8>>3]=+n[b+36>>2];p[g+16>>3]=+n[b+40>>2];ada(a,g)|0;g=f[a+292>>2]|0;Bj[f[(f[g>>2]|0)+72>>2]&1023](g,1027);ZBb(e,407351)|0;g=f[d>>2]|0;Bj[f[(f[g>>2]|0)+84>>2]&1023](g,e);e=f[d>>2]|0;uj[f[(f[e>>2]|0)+64>>2]&31](e,+n[b+44>>2]);b=f[d>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);b=f[d>>2]|0;Bj[f[(f[b>>2]|0)+88>>2]&1023](b,a+40|0);b=f[d>>2]|0;Bj[f[(f[b>>2]|0)+72>>2]&1023](b,1027);u=c;return 1}function coa(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;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333688;h=a+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=Rmb(c)|0;if(i>>>0>4294967279)MBb(h);if(i>>>0<11){b[h+11>>0]=i;if(i)j=6}else{k=i+16&-16;j=EBb(k)|0;f[h>>2]=j;f[a+32>>2]=k|-2147483648;f[a+28>>2]=i;h=j;j=6}if((j|0)==6)YDb(h|0,c|0,i|0)|0;b[h+i>>0]=0;f[a+36>>2]=d;f[a+40>>2]=e;f[a+44>>2]=g;return}function doa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333644;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function eoa(a){a=a|0;return f[a+48>>2]|0}function foa(a,b){a=a|0;b=b|0;var c=0;a=a+48|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(c,1,1);return}function goa(a){a=a|0;a=j0a(a)|0;return (f[a+4>>2]|0)!=(f[a>>2]|0)|0}function hoa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;g=j;h=a+112|0;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+44>>2]&1023](i,g);Q6(a);i=f[g>>2]|0;e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,a+24|0);Q6(a);if(!i){i=a+40|0;h=f[h>>2]|0;g=f[h>>2]|0;g=g+84|0;g=f[g>>2]|0;Bj[g&1023](h,i);Q6(a);u=j;return 1}e=g+11|0;d=0;do{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;k=f[h>>2]|0;Bj[f[(f[k>>2]|0)+92>>2]&1023](k,g);Q6(a);k0a(c,g);if((b[e>>0]|0)<0)GBb(f[g>>2]|0);d=d+1|0}while(d>>>0<i>>>0);k=a+40|0;i=f[h>>2]|0;h=f[i>>2]|0;h=h+84|0;h=f[h>>2]|0;Bj[h&1023](i,k);Q6(a);u=j;return 1}function ioa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=j0a(b)|0;c=b+4|0;d=a+292|0;e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+40>>2]&1023](e,((f[c>>2]|0)-(f[b>>2]|0)|0)/12|0);e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+24|0);e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=f[b>>2]|0;if((b|0)!=(f[c>>2]|0))do{e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+96>>2]&1023](e,b);e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);b=b+12|0}while((b|0)!=(f[c>>2]|0));e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+88>>2]&1023](e,a+40|0);e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+72>>2]&1023](e,1027);return 1}function joa(a){a=a|0;Uua(a);GBb(a);return}function koa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;a=HZa(b)|0;f[e>>2]=a;if(a|0){b=a+8|0;f[b>>2]=(f[b>>2]|0)+1}b=d+4|0;a=f[b>>2]|0;if(a>>>0<(f[d+8>>2]|0)>>>0){c=f[e>>2]|0;f[a>>2]=c;if(c){a=c+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[b>>2]|0}f[b>>2]=a+4}else Jw(d,e);a=f[e>>2]|0;if(!a){u=g;return 1}d=a+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){u=g;return 1}Rua(a,1,1);u=g;return 1}function loa(a){a=a|0;var c=0;f[a>>2]=332284;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function moa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,295528,0)|0;Bj[b&1023](e,c);return 1}function noa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;e=_i[d&2047](a)|0;f[c>>2]=e;return 1}function ooa(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+16|0;g=j;e=j+4|0;b[e>>0]=0;i=c+112|0;h=f[i>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295528,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;c=e+8|0;i=f[c>>2]|0;f[c>>2]=i-1;if((i|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);if(!h){u=j;return 1}a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}h=f[i>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=j;return 1}h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295528,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;k=e+8|0;g=f[k>>2]|0;f[k>>2]=g-1;if((g|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;k=f[a+52>>2]|0;g=d+(k>>1)|0;if(k&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+40|0);Q6(c);if(!h){u=j;return 1}d=h+8|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}function poa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function qoa(a){a=a|0;var c=0;f[a>>2]=331976;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function roa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;h=i;g=c+112|0;e=f[g>>2]|0;if(_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0){e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+44>>2]&1023](e,h);Q6(c);c=f[a+48>>2]|0;a=f[a+52>>2]|0;e=d+(a>>1)|0;if(a&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,f[h>>2]|0);u=i;return 1}e=f[g>>2]|0;if(!(cj[f[(f[e>>2]|0)+96>>2]&1023](e,a+24|0)|0)){u=i;return 1}e=a+56|0;if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1041);Q6(c)}j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+44>>2]&1023](j,h);Q6(c);if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1042);Q6(c)}c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,f[h>>2]|0);u=i;return 1}function soa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=f[a+40>>2]|0;h=f[a+44>>2]|0;d=d+(h>>1)|0;if(h&1)e=f[(f[d>>2]|0)+e>>2]|0;g=_i[e&2047](d)|0;h=c+292|0;d=f[h>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+40>>2]&1023](a,g);return 1}if((f[a+36>>2]|0)==(g|0))return 1;d=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,d);e=a+56|0;if(b[e>>0]|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1041);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1043)}a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+40>>2]&1023](a,g);if(b[e>>0]|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1042);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1044)}a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);return 1}function toa(a){a=a|0;var c=0;f[a>>2]=332108;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function uoa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;h=i;g=c+112|0;e=f[g>>2]|0;if(_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0){e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+16>>2]&1023](e,h);Q6(c);c=f[a+48>>2]|0;a=f[a+52>>2]|0;e=d+(a>>1)|0;if(a&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,(b[h>>0]|0)!=0);u=i;return 1}e=f[g>>2]|0;if(!(cj[f[(f[e>>2]|0)+96>>2]&1023](e,a+24|0)|0)){u=i;return 1}e=a+56|0;if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1041);Q6(c)}j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+16>>2]&1023](j,h);Q6(c);if(b[e>>0]|0){j=f[g>>2]|0;Bj[f[(f[j>>2]|0)+72>>2]&1023](j,1042);Q6(c)}c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,(b[h>>0]|0)!=0);u=i;return 1}function voa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;g=_i[e&2047](d)|0;i=c+292|0;d=f[i>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);return 1}if((h[a+36>>0]|0)==(g&1|0))return 1;d=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,d);e=a+56|0;if(b[e>>0]|0){a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1041);a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1043)}a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(b[e>>0]|0){a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1042);a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+76>>2]&1023](a,1044)}a=f[i>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);return 1}function woa(a){a=a|0;var c=0;f[a>>2]=332064;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function xoa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,275704,-1)|0;Bj[b&1023](e,c);return 1}function yoa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;d=_i[d&2047](a)|0;if(!d){e=0;f[c>>2]=e;return 1}e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;f[c>>2]=e;return 1}function zoa(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;g=k;e=k+4|0;b[e>>0]=0;j=c+112|0;i=f[j>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){j=f[j>>2]|0;Bj[f[(f[j>>2]|0)+16>>2]&1023](j,e);Q6(c);if(!(b[e>>0]|0)){u=k;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,275704,-1)|0;if(h){e=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e){i=h;break}else g=h}else{g=0;h=0}c=e+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)==1){Rua(e,1,1);i=g}else i=g}else{i=0;h=0}while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,i);if(!i){u=k;return 1}e=h+(f[(f[i>>2]|0)+-12>>2]|0)|0;a=e+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=k;return 1}Rua(e,1,1);u=k;return 1}i=f[j>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){u=k;return 1}i=f[j>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=k;return 1}e=f[j>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,275704,-1)|0;if(h){e=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e){i=h;break}else g=h}else{g=0;h=0}l=e+8|0;i=f[l>>2]|0;f[l>>2]=i-1;if((i|0)==1){Rua(e,1,1);i=g}else i=g}else{i=0;h=0}while(0);e=f[a+48>>2]|0;l=f[a+52>>2]|0;g=d+(l>>1)|0;if(l&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,i);l=f[j>>2]|0;Bj[f[(f[l>>2]|0)+84>>2]&1023](l,c+40|0);Q6(c);if(!i){u=k;return 1}e=h+(f[(f[i>>2]|0)+-12>>2]|0)|0;d=e+8|0;l=f[d>>2]|0;f[d>>2]=l-1;if((l|0)!=1){u=k;return 1}Rua(e,1,1);u=k;return 1}function Aoa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function Boa(a){a=a|0;var c=0;f[a>>2]=333644;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Coa(a){a=a|0;var c=0;f[a>>2]=333644;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Doa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,289688,0)|0;Bj[b&1023](e,c);return 1}function Eoa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;e=_i[d&2047](a)|0;f[c>>2]=e;return 1}function Foa(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+16|0;g=j;e=j+4|0;b[e>>0]=0;i=c+112|0;h=f[i>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,289688,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;c=e+8|0;i=f[c>>2]|0;f[c>>2]=i-1;if((i|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);if(!h){u=j;return 1}a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}h=f[i>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=j;return 1}h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,289688,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;k=e+8|0;g=f[k>>2]|0;f[k>>2]=g-1;if((g|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;k=f[a+52>>2]|0;g=d+(k>>1)|0;if(k&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+40|0);Q6(c);if(!h){u=j;return 1}d=h+8|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}function Goa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function Hoa(a){a=a|0;return a+24|0}function Ioa(a){a=a|0;mi()}function Joa(a){a=a|0;var c=0;f[a>>2]=333688;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Koa(a){a=a|0;var c=0;f[a>>2]=333688;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Loa(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;g=c+112|0;i=f[g>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){b[e>>0]=0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){i=1;u=h;return i|0}}else{i=f[g>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){i=1;u=h;return i|0}}i=cj[f[a+40>>2]&1023](c,d)|0;u=h;return i|0}function Moa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=_i[f[a+36>>2]&2047](d)|0;h=c+292|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);if(!e){h=1;return h|0}}else{if(!e){h=1;return h|0}g=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(g,e)|0;h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g)}h=cj[f[a+44>>2]&1023](c,d)|0;return h|0}function Noa(a){a=a|0;return a+24|0}function Ooa(){return}function Poa(){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[124846]=1.0;n[124847]=0.0;n[124848]=0.0;n[124849]=0.0;n[124850]=1.0;n[124851]=0.0;n[124852]=0.0;n[124853]=0.0;n[124854]=1.0;a=EBb(16)|0;f[c>>2]=a;f[c+8>>2]=-2147483632;f[c+4>>2]=11;e=a;h=407358;i=e+11|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+11>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(16)|0;f[d>>2]=a;f[d+8>>2]=-2147483632;f[d+4>>2]=11;e=a;h=407358;i=e+11|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+11>>0]=0;Wca(499420,9,c,d,1480);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 Qoa(){var a=0,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 Roa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;g=u;u=u+64|0;e=g;h=g+48|0;c=g+32|0;j=g+24|0;i=g+16|0;d=EBb(64)|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[j>>2]=1070;f[j+4>>2]=0;f[i>>2]=136;f[i+4>>2]=1;f[h>>2]=f[j>>2];f[h+4>>2]=f[j+4>>2];f[e>>2]=f[i>>2];f[e+4>>2]=f[i+4>>2];Toa(d,407370,c,h,e);Oca(a,d,26);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=EBb(80)|0;Uoa(c,407375,2);f[c>>2]=333732;f[c+40>>2]=1071;f[c+44>>2]=0;f[c+48>>2]=795;f[c+52>>2]=0;i=c+60|0;f[i>>2]=0;f[c+64>>2]=0;j=c+56|0;f[j>>2]=i;i=c+72|0;f[i>>2]=0;f[c+76>>2]=0;f[c+68>>2]=i;f[c+20>>2]=7;i=c+8|0;f[i>>2]=(f[i>>2]|0)+1;k0(j,407388,1);k0(j,407395,0);k0(j,407403,2);Oca(a,c,27);j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)==1)Rua(c,1,1);c=EBb(48)|0;_oa(c,407415,1072,481,482);Oca(a,c,1);c=a+112|0;d=f[c>>2]|0;f[c>>2]=77;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;j=e+11|0;b[j>>0]=8;i=e;f[i>>2]=1919251285;f[i+4>>2]=1635017028;b[e+8>>0]=0;Rca(a,e);if((b[j>>0]|0)>=0){j=EBb(56)|0;$oa(j,407424,0);f[j>>2]=333776;i=j+40|0;f[i>>2]=1073;i=j+44|0;f[i>>2]=0;i=j+48|0;f[i>>2]=796;i=j+52|0;f[i>>2]=0;i=j+20|0;f[i>>2]=7;Oca(a,j,2);f[c>>2]=d;u=g;return}GBb(f[e>>2]|0);j=EBb(56)|0;$oa(j,407424,0);f[j>>2]=333776;i=j+40|0;f[i>>2]=1073;i=j+44|0;f[i>>2]=0;i=j+48|0;f[i>>2]=796;i=j+52|0;f[i>>2]=0;i=j+20|0;f[i>>2]=7;Oca(a,j,2);f[c>>2]=d;u=g;return}function Soa(a){a=a|0;return a+12|0}function Toa(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=f[e>>2]|0;h=f[e+4>>2]|0;i=f[g>>2]|0;e=f[g+4>>2]|0;OBb(k,d);wpa(a,c,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);f[a>>2]=333952;f[a+48>>2]=j;f[a+52>>2]=h;f[a+56>>2]=i;f[a+60>>2]=e;d=(j|0)!=0|(h|0)!=0&(h&1|j|0)!=0;k=(i|0)!=0|(e|0)!=0&(e&1|i|0)!=0;f[a+20>>2]=(k?4:0)|(d?2:0)|d&k&1;u=l;return}function Uoa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333908;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function Voa(a){a=a|0;return f[a+24>>2]|0}function Woa(a,b){a=a|0;b=b|0;f[a+24>>2]=b;return}function Xoa(a){a=a|0;if(!(_i[f[(f[a>>2]|0)+152>>2]&2047](a)|0)){a=0;return a|0}a=_i[f[(f[a>>2]|0)+152>>2]&2047](a)|0;if(!a){a=0;return a|0}a=(WCb(a,295048,295088,0)|0)!=0;return a|0}function Yoa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;c=g;d=a+112|0;e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,a+24|0);Q6(a);Bca(c,a,0);e=f[c>>2]|0;if(e|0)Bj[f[(f[b>>2]|0)+144>>2]&1023](b,e);e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,a+40|0);Q6(a);a=f[c>>2]|0;if(!a){u=g;return 1}d=a+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){u=g;return 1}Rua(a,1,1);u=g;return 1}function Zoa(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+292|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+24|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);b=_i[f[(f[b>>2]|0)+152>>2]&2047](b)|0;if(!b)b=0;else b=WCb(b,295048,295088,0)|0;Pda(a,b);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+88>>2]&1023](d,a+40|0);d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+72>>2]&1023](d,1027);return 1}function _oa(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;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333864;h=a+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;i=Rmb(c)|0;if(i>>>0>4294967279)MBb(h);if(i>>>0<11){b[h+11>>0]=i;if(i)j=6}else{k=i+16&-16;j=EBb(k)|0;f[h>>2]=j;f[a+32>>2]=k|-2147483648;f[a+28>>2]=i;h=j;j=6}if((j|0)==6)YDb(h|0,c|0,i|0)|0;b[h+i>>0]=0;f[a+36>>2]=d;f[a+40>>2]=e;f[a+44>>2]=g;return}function $oa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333820;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function apa(a){a=a|0;return f[a+28>>2]|0}function bpa(a){a=a|0;var c=0;f[a>>2]=333820;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function cpa(a){a=a|0;var c=0;f[a>>2]=333820;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function dpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+48>>2]|0;a=f[a+52>>2]|0;e=b+(a>>1)|0;if(!(a&1))b=d;else b=f[(f[e>>2]|0)+d>>2]|0;a=f[c>>2]|0;if(!a){c=0;Bj[b&1023](e,c);return 1}c=WCb(a,295088,295104,0)|0;Bj[b&1023](e,c);return 1}function epa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;a=b+(e>>1)|0;if(e&1)d=f[(f[a>>2]|0)+d>>2]|0;e=_i[d&2047](a)|0;f[c>>2]=e;return 1}function fpa(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+16|0;g=j;e=j+4|0;b[e>>0]=0;i=c+112|0;h=f[i>>2]|0;if(_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0){i=f[i>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295104,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;c=e+8|0;i=f[c>>2]|0;f[c>>2]=i-1;if((i|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;a=f[a+52>>2]|0;g=d+(a>>1)|0;if(a&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);if(!h){u=j;return 1}a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}h=f[i>>2]|0;if(!(cj[f[(f[h>>2]|0)+96>>2]&1023](h,a+24|0)|0)){u=j;return 1}h=f[i>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);Q6(c);if(!(b[e>>0]|0)){u=j;return 1}e=f[i>>2]|0;Bj[f[(f[e>>2]|0)+84>>2]&1023](e,c+24|0);Q6(c);Bca(g,c,0);e=f[g>>2]|0;do if(e){h=WCb(e,295088,295104,0)|0;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0;if(!e)break}else h=0;k=e+8|0;g=f[k>>2]|0;f[k>>2]=g-1;if((g|0)==1)Rua(e,1,1)}else h=0;while(0);e=f[a+48>>2]|0;k=f[a+52>>2]|0;g=d+(k>>1)|0;if(k&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,h);k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+84>>2]&1023](k,c+40|0);Q6(c);if(!h){u=j;return 1}d=h+8|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)!=1){u=j;return 1}Rua(h,1,1);u=j;return 1}function gpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;e=f[a+40>>2]|0;i=f[a+44>>2]|0;d=d+(i>>1)|0;if(i&1)e=f[(f[d>>2]|0)+e>>2]|0;d=_i[e&2047](d)|0;g=(d|0)!=0;h=c+292|0;i=f[h>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(!g)return 1;Pda(c,d);return 1}if((f[a+36>>2]|0)==(d|0))return 1;i=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(i,e)|0;a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,i);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,g);if(g){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+24|0);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);Pda(c,d);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+88>>2]&1023](a,c+40|0)}c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+72>>2]&1023](c,1027);return 1}function hpa(a){a=a|0;return a+24|0}function ipa(a){a=a|0;mi()}function jpa(a){a=a|0;var c=0;f[a>>2]=333864;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function kpa(a){a=a|0;var c=0;f[a>>2]=333864;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function lpa(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;g=c+112|0;i=f[g>>2]|0;if(_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0){b[e>>0]=0;i=f[g>>2]|0;Bj[f[(f[i>>2]|0)+16>>2]&1023](i,e);Q6(c);if(!(b[e>>0]|0)){i=1;u=h;return i|0}}else{i=f[g>>2]|0;if(!(cj[f[(f[i>>2]|0)+96>>2]&1023](i,a+24|0)|0)){i=1;u=h;return i|0}}i=cj[f[a+40>>2]&1023](c,d)|0;u=h;return i|0}function mpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=_i[f[a+36>>2]&2047](d)|0;h=c+292|0;g=f[h>>2]|0;if(_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0){h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+16>>2]&1023](h,e);if(!e){h=1;return h|0}}else{if(!e){h=1;return h|0}g=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(g,e)|0;h=f[h>>2]|0;Bj[f[(f[h>>2]|0)+84>>2]&1023](h,g)}h=cj[f[a+44>>2]&1023](c,d)|0;return h|0}function npa(a){a=a|0;return a+24|0}function opa(a){a=a|0;var c=0;f[a>>2]=333732;p0(a+68|0,f[a+72>>2]|0);q0(a+56|0,f[a+60>>2]|0);f[a>>2]=333908;c=a+24|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function ppa(a){a=a|0;var c=0;f[a>>2]=333732;p0(a+68|0,f[a+72>>2]|0);q0(a+56|0,f[a+60>>2]|0);f[a>>2]=333908;c=a+24|0;if((b[c+11>>0]|0)>=0){Uua(a);GBb(a);return}GBb(f[c>>2]|0);Uua(a);GBb(a);return}function qpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;g=i+12|0;h=i;e=c+112|0;j=f[e>>2]|0;if(_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0){j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+40>>2]&1023](j,g);Q6(c);c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,f[g>>2]|0);u=i;return 1}j=f[e>>2]|0;if(!(cj[f[(f[j>>2]|0)+96>>2]&1023](j,a+24|0)|0)){u=i;return 1};f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+64>>2]&1023](j,h);Q6(c);c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;j=h+11|0;a=$ga(a+56|0,(b[j>>0]|0)<0?f[h>>2]|0:h)|0;Bj[c&1023](e,a);if((b[j>>0]|0)<0)GBb(f[h>>2]|0);u=i;return 1}function rpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=f[a+40>>2]|0;h=f[a+44>>2]|0;d=d+(h>>1)|0;if(h&1)e=f[(f[d>>2]|0)+e>>2]|0;g=_i[e&2047](d)|0;h=c+292|0;d=f[h>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+36>>2]&1023](a,g);return 1}if((f[a+36>>2]|0)==(g|0))return 1;d=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+84>>2]&1023](c,d);a=Yfa(a+56|0,g)|0;c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+68>>2]&1023](c,a);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);return 1}function spa(a){a=a|0;return a+24|0}function tpa(a){a=a|0;return a+56|0}function upa(a){a=a|0;var c=0;f[a>>2]=333908;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function vpa(a){a=a|0;mi()}function wpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=333996;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;OBb(g,d);return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;OBb(i,d);return}function xpa(a){a=a|0;var c=0;f[a>>2]=333996;c=a+36|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+24|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function ypa(a){a=a|0;var c=0;f[a>>2]=333996;c=a+36|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+24|0;if((b[c+11>>0]|0)>=0){Uua(a);GBb(a);return}GBb(f[c>>2]|0);Uua(a);GBb(a);return}function zpa(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;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;h=c+112|0;l=f[h>>2]|0;if(!(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0)){l=f[h>>2]|0;if((cj[f[(f[l>>2]|0)+96>>2]&1023](l,a+24|0)|0?(l=f[h>>2]|0,Bj[f[(f[l>>2]|0)+92>>2]&1023](l,j),Q6(c),l=b[j+11>>0]|0,(l<<24>>24<0?f[j+4>>2]|0:l&255)|0):0)?(e=f[a+56>>2]|0,g=f[a+60>>2]|0,i=g&1,(e|0)!=0|(g|0)!=0&(i|e|0)!=0):0){g=d+(g>>1)|0;if(i)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,j)}}else{e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+64>>2]&1023](e,j);Q6(c);e=f[a+56>>2]|0;l=f[a+60>>2]|0;g=d+(l>>1)|0;if(l&1)e=f[(f[g>>2]|0)+e>>2]|0;Bj[e&1023](g,j)}if((b[j+11>>0]|0)>=0){u=k;return 1}GBb(f[j>>2]|0);u=k;return 1}function Apa(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;e=f[a+48>>2]|0;n=f[a+52>>2]|0;d=d+(n>>1)|0;if(n&1)e=f[(f[d>>2]|0)+e>>2]|0;m=_i[e&2047](d)|0;n=c+292|0;l=f[n>>2]|0;if(_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0){a=f[n>>2]|0;Bj[f[(f[a>>2]|0)+68>>2]&1023](a,m);return 1}g=a+36|0;d=b[g+11>>0]|0;j=d<<24>>24<0;d=d&255;k=j?f[a+40>>2]|0:d;l=b[m+11>>0]|0;e=l<<24>>24<0;a:do if((k|0)==((e?f[m+4>>2]|0:l&255)|0)){i=f[g>>2]|0;l=j?i:g;e=e?f[m>>2]|0:m;h=(k|0)==0;i=i&255;if(j){if(h)return 1;if(anb(l,e,k)|0)break;return 1}if(h)return 1;if((b[e>>0]|0)==i<<24>>24){while(1){d=d+-1|0;g=g+1|0;if(!d)break;e=e+1|0;if((b[g>>0]|0)!=(b[e>>0]|0))break a}return 1}}while(0);d=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;a=f[n>>2]|0;Bj[f[(f[a>>2]|0)+84>>2]&1023](a,d);a=f[n>>2]|0;Bj[f[(f[a>>2]|0)+96>>2]&1023](a,m);a=f[n>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);return 1}function Bpa(a){a=a|0;return a+24|0}function Cpa(a){a=a|0;mi()}function Dpa(){return}function Epa(){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[124857]=1.0;n[124858]=0.0;n[124859]=0.0;n[124860]=0.0;n[124861]=1.0;n[124862]=0.0;n[124863]=0.0;n[124864]=0.0;n[124865]=1.0;a=EBb(16)|0;f[c>>2]=a;f[c+8>>2]=-2147483632;f[c+4>>2]=14;e=a;h=407860;i=e+14|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+14>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(48)|0;f[d>>2]=a;f[d+8>>2]=-2147483600;f[d+4>>2]=47;e=a;h=407875;i=e+47|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+47>>0]=0;Wca(499464,10,c,d,1481);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 Fpa(){var a=0;a=EBb(140)|0;AZa(a);return a|0}function Gpa(a){a=a|0;var b=0,c=0,d=0;b=EBb(80)|0;Hpa(b,407923,0);f[b>>2]=334040;f[b+40>>2]=1074;f[b+44>>2]=0;f[b+48>>2]=797;f[b+52>>2]=0;c=b+60|0;f[c>>2]=0;f[b+64>>2]=0;d=b+56|0;f[d>>2]=c;c=b+72|0;f[c>>2]=0;f[b+76>>2]=0;f[b+68>>2]=c;f[b+20>>2]=7;c=b+8|0;f[c>>2]=(f[c>>2]|0)+1;k0(d,407938,0);k0(d,407950,1);k0(d,407962,2);Oca(a,b,27);a=f[c>>2]|0;f[c>>2]=a-1;if((a|0)!=1)return;Rua(b,1,1);return}function Hpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;rZa(a);f[a+12>>2]=0;f[a+16>>2]=2147483647;f[a+20>>2]=1;f[a>>2]=334084;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(e);if(g>>>0<11){b[e+11>>0]=g;if(!g){c=e;g=c+g|0;b[g>>0]=0;g=a+36|0;f[g>>2]=d;return}}else{i=g+16&-16;h=EBb(i)|0;f[e>>2]=h;f[a+32>>2]=i|-2147483648;f[a+28>>2]=g;e=h}YDb(e|0,c|0,g|0)|0;i=e;i=i+g|0;b[i>>0]=0;i=a+36|0;f[i>>2]=d;return}function Ipa(a){a=a|0;return f[a+136>>2]|0}function Jpa(a){a=a|0;var c=0;f[a>>2]=334040;p0(a+68|0,f[a+72>>2]|0);q0(a+56|0,f[a+60>>2]|0);f[a>>2]=334084;c=a+24|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function Kpa(a){a=a|0;var c=0;f[a>>2]=334040;p0(a+68|0,f[a+72>>2]|0);q0(a+56|0,f[a+60>>2]|0);f[a>>2]=334084;c=a+24|0;if((b[c+11>>0]|0)>=0){Uua(a);GBb(a);return}GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Lpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;g=i+12|0;h=i;e=c+112|0;j=f[e>>2]|0;if(_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0){j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+40>>2]&1023](j,g);Q6(c);c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;Bj[c&1023](e,f[g>>2]|0);u=i;return 1}j=f[e>>2]|0;if(!(cj[f[(f[j>>2]|0)+96>>2]&1023](j,a+24|0)|0)){u=i;return 1};f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;j=f[e>>2]|0;Bj[f[(f[j>>2]|0)+64>>2]&1023](j,h);Q6(c);c=f[a+48>>2]|0;j=f[a+52>>2]|0;e=d+(j>>1)|0;if(j&1)c=f[(f[e>>2]|0)+c>>2]|0;j=h+11|0;a=$ga(a+56|0,(b[j>>0]|0)<0?f[h>>2]|0:h)|0;Bj[c&1023](e,a);if((b[j>>0]|0)<0)GBb(f[h>>2]|0);u=i;return 1}function Mpa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=f[a+40>>2]|0;h=f[a+44>>2]|0;d=d+(h>>1)|0;if(h&1)e=f[(f[d>>2]|0)+e>>2]|0;g=_i[e&2047](d)|0;h=c+292|0;d=f[h>>2]|0;if(_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0){a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+36>>2]&1023](a,g);return 1}if((f[a+36>>2]|0)==(g|0))return 1;d=c+4|0;e=a+24|0;if((b[e+11>>0]|0)<0)e=f[e>>2]|0;ZBb(d,e)|0;c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+84>>2]&1023](c,d);a=Yfa(a+56|0,g)|0;c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+68>>2]&1023](c,a);a=f[h>>2]|0;Bj[f[(f[a>>2]|0)+72>>2]&1023](a,1027);return 1}function Npa(a){a=a|0;return a+24|0}function Opa(a){a=a|0;return a+56|0}function Ppa(a){a=a|0;var c=0;f[a>>2]=334084;c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Qpa(a){a=a|0;mi()}function Rpa(){return}function Spa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=334128;e=a+44|0;b=a+52|0;if(f[b>>2]|0?(c=f[a+48>>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[b>>2]=0,(c|0)!=(e|0)):0)do{b=c;c=f[c+4>>2]|0;d=f[b+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(b)}while((c|0)!=(e|0));R3a(a+32|0);b=a+12|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Uua(a);return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Uua(a);return}Rua(c,1,1);f[b>>2]=0;Uua(a);return}function Tpa(a){a=a|0;Spa(a);GBb(a);return}function Upa(a){a=a|0;oqa(a,334684);Gva(a+80|0);return}function Vpa(a){a=a|0;oqa(a,334684);Gva(a+80|0);GBb(a);return}function Wpa(a){a=a|0;return 408154}function Xpa(a){a=a|0;return 408141}function Ypa(a){a=a|0;return a|0}function Zpa(a){a=a|0;return a|0}function _pa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=a+68|0;c=a+76|0;if(!(f[c>>2]|0)){g=a+64|0;b[g>>0]=0;return}d=f[a+72>>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;if((d|0)==(g|0)){h=a+64|0;b[h>>0]=0;return}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));i=a+64|0;b[i>>0]=0;return}function $pa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=f[b+92>>2]|0;do if(h|0){if(_i[f[(f[h>>2]|0)+84>>2]&2047](h)|0){dj[f[(f[h>>2]|0)+92>>2]&255](h,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}c=_i[f[(f[h>>2]|0)+68>>2]&2047](h)|0;d=_i[f[(f[h>>2]|0)+36>>2]&2047](h)|0;e=_i[f[(f[h>>2]|0)+28>>2]&2047](h)|0;g=(c|0)!=0;if(g)Fj[f[(f[c>>2]|0)+32>>2]&511](c,a,b);c=(d|0)!=0;if(c)Fj[f[(f[d>>2]|0)+32>>2]&511](d,b,a);if(e|0){dj[f[(f[e>>2]|0)+28>>2]&255](e,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}if(!(g|c))dj[f[(f[h>>2]|0)+92>>2]&255](h,b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0}while(0);c=f[b+120>>2]|0;if(!c)return;if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)return;q2a(c,a);return}function aqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 bqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 cqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 dqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 eqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 fqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 gqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 hqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 iqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 jqa(a,b){a=a|0;b=b|0;var c=0;c=f[b+120>>2]|0;do if(c|0){if((f[c+152>>2]|0)==0?(f[c+156>>2]|0)==0:0)break;q2a(c,a)}while(0);c=f[b+92>>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+96>>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 kqa(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;oqa(a,334684);Gva(a+80|0);return}function lqa(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;oqa(a,334684);Gva(a+80|0);GBb(a);return}function mqa(a){a=a|0;return 408154}function nqa(a){a=a|0;return 408141}function oqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=f[b>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[b+12>>2];g=a+68|0;d=a+76|0;if(f[d>>2]|0?(c=f[a+72>>2]|0,e=(f[g>>2]|0)+4|0,h=f[c>>2]|0,f[h+4>>2]=f[e>>2],f[f[e>>2]>>2]=h,f[d>>2]=0,(c|0)!=(g|0)):0)do{d=c;c=f[c+4>>2]|0;e=f[d+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(d)}while((c|0)!=(g|0));c=a+60|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;i=b+4|0;dDa(a,i);return}h=d+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[c>>2]=0;i=b+4|0;dDa(a,i);return}Rua(d,1,1);f[c>>2]=0;i=b+4|0;dDa(a,i);return}function pqa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=334708;d=a+160|0;e=f[d>>2]|0;if(e|0){g=a+164|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=a+156|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+52|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Gva(a);return}h=c+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[b>>2]=0;Gva(a);return}Rua(c,1,1);f[b>>2]=0;Gva(a);return}function qqa(a){a=a|0;pqa(a);GBb(a);return}function rqa(a){a=a|0;var c=0,d=0;a=EBb(176)|0;rZa(a);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;b[a+32>>0]=0;p[a+40>>3]=0.0;f[a>>2]=334708;c=a+48|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[a+68>>2]=1280;f[a+72>>2]=1024;f[a+76>>2]=0;f[a+80>>2]=0;f[a+84>>2]=0;n[a+88>>2]=-1.0;n[a+92>>2]=1.0;n[a+96>>2]=-1.0;n[a+100>>2]=1.0;c=a+104|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+120>>2]=1;c=a+124|0;d=c+48|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));return a|0}function sqa(a,b){a=a|0;b=b|0;var c=0;c=EBb(176)|0;Aqa(c,a,b);return c|0}function tqa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290456,0)|0)!=0;return b|0}function uqa(a){a=a|0;return 408154}function vqa(a){a=a|0;return 408183}function wqa(a){a=a|0;return a|0}function xqa(a){a=a|0;return a|0}function yqa(a){a=a|0;return f[a+48>>2]|0}function zqa(a){a=a|0;return f[a+76>>2]|0}function Aqa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;Fva(a,c,d);b[a+32>>0]=b[c+32>>0]|0;p[a+40>>3]=+p[c+40>>3];f[a>>2]=334708;f[a+48>>2]=f[c+48>>2];e=f[c+52>>2]|0;f[a+52>>2]=e;if(e|0){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1}f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];f[a+68>>2]=f[c+68>>2];f[a+72>>2]=f[c+72>>2];f[a+76>>2]=f[c+76>>2];f[a+80>>2]=f[c+80>>2];f[a+84>>2]=f[c+84>>2];f[a+88>>2]=f[c+88>>2];f[a+92>>2]=f[c+92>>2];f[a+96>>2]=f[c+96>>2];f[a+100>>2]=f[c+100>>2];f[a+104>>2]=f[c+104>>2];f[a+108>>2]=f[c+108>>2];f[a+112>>2]=f[c+112>>2];f[a+116>>2]=f[c+116>>2];f[a+120>>2]=f[c+120>>2];f[a+124>>2]=f[c+124>>2];f[a+128>>2]=f[c+128>>2];f[a+132>>2]=f[c+132>>2];f[a+136>>2]=f[c+136>>2];f[a+140>>2]=f[c+140>>2];f[a+144>>2]=f[c+144>>2];f[a+148>>2]=f[c+148>>2];f[a+152>>2]=f[c+152>>2];g=a+156|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;a=f[c+156>>2]|0;if(!a)return;a=Bqa(a,d)|0;e=f[g>>2]|0;if((e|0)==(a|0))return;f[g>>2]=a;if(a|0){g=a+8|0;f[g>>2]=(f[g>>2]|0)+1}if(!e)return;d=e+8|0;g=f[d>>2]|0;f[d>>2]=g-1;if((g|0)!=1)return;Rua(e,1,1);return}function Bqa(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,290472,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 Cqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;g=_i[f[(f[c>>2]|0)+52>>2]&2047](c)|0;if(((g|0?f[g+56>>2]|0:0)?f[g+76>>2]|0:0)?(e=f[g+72>>2]|0,h=g+68|0,d=e,(h|0)!=(d|0)):0)do{ej[f[(f[a>>2]|0)+64>>2]&63](a,f[e+8>>2]|0,b,c)|0;e=f[d+4>>2]|0;d=e}while((h|0)!=(d|0));e=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;if((f[b+96>>2]|0)==0?(f[e+4>>2]|0)==0:0)return;if(!c)d=0;else d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;zZa(e,b,d)|0;return}function Dqa(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);return}function Eqa(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);GBb(a);return}function Fqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=_i[f[(f[b>>2]|0)+52>>2]&2047](b)|0;if(!d)return;if(!(f[d+56>>2]|0))return;if(!(f[d+76>>2]|0))return;e=f[d+72>>2]|0;g=d+68|0;d=e;if((g|0)==(d|0))return;do{ej[f[(f[a>>2]|0)+64>>2]&63](a,f[e+8>>2]|0,c,b)|0;e=f[d+4>>2]|0;d=e}while((g|0)!=(d|0));return}function Gqa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;h=_i[f[(f[e>>2]|0)+52>>2]&2047](e)|0;g=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;if(!((h|0)!=0&(g|0)!=0)){e=0;return e|0}c=f[h+56>>2]|0;if(!c){e=0;return e|0}if(!(hj[f[(f[a>>2]|0)+72>>2]&63](a,g,c,d,e)|0)){e=0;return e|0}b[g+32>>0]=1;e=1;return e|0}function Hqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;g=a+-4|0;a=_i[f[(f[b>>2]|0)+52>>2]&2047](b)|0;if(!a)return;if(!(f[a+56>>2]|0))return;if(!(f[a+76>>2]|0))return;d=f[a+72>>2]|0;e=a+68|0;a=d;if((e|0)==(a|0))return;do{ej[f[(f[g>>2]|0)+64>>2]&63](g,f[d+8>>2]|0,c,b)|0;d=f[a+4>>2]|0;a=d}while((e|0)!=(a|0));return}function Iqa(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+-4|0;f[b+8>>2]=298888;a=b+16|0;f[a>>2]=299160;b=b+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a);return}function Jqa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;a=a+-4|0;f[a+8>>2]=298888;b=a+16|0;f[b>>2]=299160;c=a+12|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;Gva(b);GBb(a);return}function Kqa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);return}function Lqa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);GBb(a);return}function Mqa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);return}function Nqa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);GBb(a);return}function Oqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=u;u=u+16|0;a=c;if(!(qZa(3)|0)){u=c;return 0}b=jsb(Nu(Hua(3)|0,408325,13)|0,b)|0;Drb(a,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);d=utb(a,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(a);ksb(b,d)|0;Krb(b)|0;u=c;return 0}function Pqa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=EBb(288)|0;g=e+256|0;rZa(g);d=e+268|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[e+280>>2]=2;f[e+284>>2]=0;d=e+248|0;f[e+252>>2]=0;f[e+88>>2]=0;f[e+8>>2]=-1;b[e+12>>0]=1;p[e+16>>3]=0.0;p[e+24>>3]=-1.0;a=e+80|0;h=e+32|0;i=h+48|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));p[a>>3]=1.0;b[e+92>>0]=0;b[e+93>>0]=1;c=e+96|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;p[e+112>>3]=.01;p[e+120>>3]=0.0;f[e+128>>2]=0;p[e+136>>3]=0.0;b[e+144>>0]=1;f[e+148>>2]=0;f[e+152>>2]=5;c=e+156|0;f[e>>2]=220992;f[d>>2]=221480;f[g>>2]=221752;f[e+4>>2]=221324;a=e+208|0;h=e+160|0;i=h+48|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));p[a>>3]=1.0;p[e+216>>3]=1.0;p[e+224>>3]=.8;p[e+240>>3]=.05;f[c>>2]=1<<0;p[e+232>>3]=.1;return g|0}function Qqa(a,b){a=a|0;b=b|0;var c=0;c=EBb(288)|0;xsa(c,a,b);return c+(f[(f[c>>2]|0)+-16>>2]|0)|0}function Rqa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290552,-1)|0)!=0;return b|0}function Sqa(a){a=a|0;return 408154}function Tqa(a){a=a|0;return 408339}function Uqa(a){a=a|0;var b=0,c=0,d=0,e=0;pta(a,335596);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);return}function Vqa(a){a=a|0;var b=0,c=0,d=0,e=0;pta(a,335596);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);GBb(a);return}function Wqa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;h=_i[f[(f[e>>2]|0)+52>>2]&2047](e)|0;g=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;if(!((h|0)!=0&(g|0)!=0)){e=0;return e|0}c=f[h+56>>2]|0;if(!c){e=0;return e|0}if(!(hj[f[(f[a>>2]|0)+72>>2]&63](a,g,c,d,e)|0)){e=0;return e|0}b[g+32>>0]=1;e=1;return e|0}function Xqa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+48|0;h=k+24|0;i=k+12|0;j=k;xta(i,a);a=cCb(i,409095)|0;f[h>>2]=f[a>>2];f[h+4>>2]=f[a+4>>2];f[h+8>>2]=f[a+8>>2];f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;a=EBb(48)|0;f[j>>2]=a;f[j+8>>2]=-2147483600;f[j+4>>2]=34;d=a;e=409103;g=d+34|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[a+34>>0]=0;sZa(c,h,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[i+11>>0]|0)>=0){u=k;return}GBb(f[i>>2]|0);u=k;return}function Yqa(a,c,d){a=a|0;c=c|0;d=d|0;switch(_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0){case 128:{d=dj[f[(f[a>>2]|0)+184>>2]&255](a,c,d)|0;return d|0}case 256:{d=dj[f[(f[a>>2]|0)+188>>2]&255](a,c,d)|0;return d|0}default:{if(b[c+32>>0]|0){d=0;return d|0}switch(_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0){case 16:{d=dj[f[(f[a>>2]|0)+192>>2]&255](a,c,d)|0;return d|0}case 8:{d=dj[f[(f[a>>2]|0)+196>>2]&255](a,c,d)|0;return d|0}case 1:{d=dj[f[(f[a>>2]|0)+200>>2]&255](a,c,d)|0;return d|0}case 2:{d=dj[f[(f[a>>2]|0)+204>>2]&255](a,c,d)|0;return d|0}case 32:{d=dj[f[(f[a>>2]|0)+208>>2]&255](a,c,d)|0;return d|0}case 64:{d=dj[f[(f[a>>2]|0)+212>>2]&255](a,c,d)|0;return d|0}case 512:{if(!(f[a+152>>2]&4)){d=0;return d|0}d=dj[f[(f[a>>2]|0)+216>>2]&255](a,c,d)|0;return d|0}default:{d=0;return d|0}}}}return 0}function Zqa(a,b){a=a|0;b=b|0;var c=0;a=a+88|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(c,1,1);return}function _qa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0;h=u;u=u+160|0;e=h+24|0;g=h;k=-+p[a+216>>3];l=1.0/(+p[c+120>>3]+(+p[c+24>>3]*0.0+ +p[c+56>>3]*0.0+ +p[c+88>>3]*k));j=l*(+p[c+104>>3]+(+p[c+8>>3]*0.0+ +p[c+40>>3]*0.0+ +p[c+72>>3]*k));i=l*(+p[c+112>>3]+(+p[c+16>>3]*0.0+ +p[c+48>>3]*0.0+ +p[c+80>>3]*k));p[a+160>>3]=l*(+p[c+96>>3]+(+p[c>>3]*0.0+ +p[c+32>>3]*0.0+ +p[c+64>>3]*k));p[a+168>>3]=j;p[a+176>>3]=i;a3a(e,c);c=a+184|0;p[c>>3]=+p[e>>3];p[a+192>>3]=+p[e+8>>3];p[a+200>>3]=+p[e+16>>3];p[a+208>>3]=+p[e+24>>3];if(!(b[a+144>>0]|0)){u=h;return}d=f[a+88>>2]|0;if(!d)f3a(e);else Fj[f[(f[d>>2]|0)+12>>2]&511](e,d,a+160|0);k=+p[e+72>>3];l=+p[e+80>>3];p[g>>3]=+p[e+64>>3];p[g+8>>3]=k;p[g+16>>3]=l;rta(c,g,1);u=h;return}function $qa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=u;u=u+128|0;c=e;d=f[(f[a>>2]|0)+84>>2]|0;f3a(c);if(((+p[b+24>>3]==0.0?+p[b+56>>3]==0.0:0)?+p[b+88>>3]==0.0:0)?+p[b+120>>3]==1.0:0){o3a(c,b)|0;Bj[d&1023](a,c);u=e;return}p3a(c,b)|0;Bj[d&1023](a,c);u=e;return}function ara(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0,j=0;c=u;u=u+512|0;e=c+256|0;j=c;i=c+384|0;d=c+128|0;h=+p[b+216>>3];f3a(j);h3a(j,0.0,0.0,h);k3a(i,b+184|0);f3a(e);l3a(e,j,i);h=+p[b+160>>3];g=+p[b+168>>3];f=+p[b+176>>3];f3a(d);h3a(d,h,g,f);f3a(a);l3a(a,e,d);u=c;return}function bra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0;c=u;u=u+544|0;e=c+288|0;h=c+128|0;g=c+416|0;i=c+256|0;d=c;k=-+p[b+160>>3];l=-+p[b+168>>3];m=-+p[b+176>>3];f3a(h);h3a(h,k,l,m);m=+p[b+184>>3];l=+p[b+192>>3];k=+p[b+200>>3];j=+p[b+208>>3];f=1.0/(m*m+l*l+k*k+j*j);p[i>>3]=-(m*f);p[i+8>>3]=-(l*f);p[i+16>>3]=-(k*f);p[i+24>>3]=j*f;k3a(g,i);f3a(e);l3a(e,h,g);f=+p[b+216>>3];f3a(d);h3a(d,0.0,0.0,-f);f3a(a);l3a(a,e,d);u=c;return}function cra(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+128|0;d=c;Bj[f[(f[a>>2]|0)+96>>2]&1023](d,a);p[b+432>>3]=+p[d>>3];p[b+440>>3]=+p[d+8>>3];p[b+448>>3]=+p[d+16>>3];p[b+456>>3]=+p[d+24>>3];p[b+464>>3]=+p[d+32>>3];p[b+472>>3]=+p[d+40>>3];p[b+480>>3]=+p[d+48>>3];p[b+488>>3]=+p[d+56>>3];p[b+496>>3]=+p[d+64>>3];p[b+504>>3]=+p[d+72>>3];p[b+512>>3]=+p[d+80>>3];p[b+520>>3]=+p[d+88>>3];p[b+528>>3]=+p[d+96>>3];p[b+536>>3]=+p[d+104>>3];p[b+544>>3]=+p[d+112>>3];p[b+552>>3]=+p[d+120>>3];ywa(b);u=c;return}function dra(a){a=a|0;return 0}function era(a){a=a|0;return +(+p[a+216>>3])}function fra(a,c){a=a|0;c=c|0;var d=0.0,e=0,g=0,h=0;e=a+128|0;g=f[e>>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?(h=g+8|0,c=f[h>>2]|0,f[h>>2]=c-1,(c|0)==1):0)Rua(g,1,1);c=f[e>>2]|0}if(!c)d=0.0;else{h=(Hv(c)|0)+12|0;d=+n[h>>2]}p[a+136>>3]=d;if(!(b[a+12>>0]|0))return;Fj[f[(f[a>>2]|0)+136>>2]&511](a,0,(f[a+152>>2]&2|0)!=0);return}function gra(a){a=a|0;return f[a+128>>2]|0}function hra(a){a=a|0;return f[a+128>>2]|0}function ira(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Bj[f[(f[a>>2]|0)+132>>2]&1023](a,e);e=a+16|0;f[e>>2]=f[b>>2];f[e+4>>2]=f[b+4>>2];f[e+8>>2]=f[b+8>>2];f[e+12>>2]=f[b+12>>2];f[e+16>>2]=f[b+16>>2];f[e+20>>2]=f[b+20>>2];e=a+40|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[e+12>>2]=f[c+12>>2];f[e+16>>2]=f[c+16>>2];f[e+20>>2]=f[c+20>>2];e=a+64|0;f[e>>2]=f[d>>2];f[e+4>>2]=f[d+4>>2];f[e+8>>2]=f[d+8>>2];f[e+12>>2]=f[d+12>>2];f[e+16>>2]=f[d+16>>2];f[e+20>>2]=f[d+20>>2];return}function jra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+16|0;f[b>>2]=f[e>>2];f[b+4>>2]=f[e+4>>2];f[b+8>>2]=f[e+8>>2];f[b+12>>2]=f[e+12>>2];f[b+16>>2]=f[e+16>>2];f[b+20>>2]=f[e+20>>2];b=a+40|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];f[c+16>>2]=f[b+16>>2];f[c+20>>2]=f[b+20>>2];c=a+64|0;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];return}function kra(a,c){a=a|0;c=c|0;b[a+12>>0]=c&1;return}function lra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,v=0,w=0.0,x=0.0,y=0.0;s=u;u=u+224|0;m=s+72|0;o=s+200|0;q=s+48|0;r=s+24|0;h=s+16|0;i=s+8|0;j=s;if(!(_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0)){u=s;return}n[o>>2]=0.0;k=o+4|0;n[k>>2]=0.0;l=o+8|0;n[l>>2]=0.0;g=o+12|0;n[g>>2]=-1.0;if(qZa(4)|0){t=Nu(_rb(Nu(jsb(Nu(Hua(4)|0,408991,40)|0,c)|0,414635,2)|0,d)|0,409404,1)|0;Drb(m,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);v=utb(m,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(m);ksb(t,v)|0;Krb(t)|0}if(d){_Za(m,2);d=_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0;Bj[f[(f[d>>2]|0)+212>>2]&1023](d,m);d=m+68|0;if((+n[m+80>>2]>=+n[d>>2]?+n[m+84>>2]>=+n[m+72>>2]:0)?+n[m+88>>2]>=+n[m+76>>2]:0)wta(o,d);else{v=Hv(_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0)|0;f[o>>2]=f[v>>2];f[o+4>>2]=f[v+4>>2];f[o+8>>2]=f[v+8>>2];f[o+12>>2]=f[v+12>>2]}d=f[85652]|0;f[m>>2]=d;f[m+(f[d+-12>>2]|0)>>2]=f[85655];d=f[m+56>>2]|0;if(d|0){f[m+60>>2]=d;GBb(d)}dDa(m,342612);Gva(m+92|0)}else{v=Hv(_i[f[(f[a>>2]|0)+120>>2]&2047](a)|0)|0;f[o>>2]=f[v>>2];f[o+4>>2]=f[v+4>>2];f[o+8>>2]=f[v+8>>2];f[o+12>>2]=f[v+12>>2]}if(qZa(4)|0){v=Nu(Hua(4)|0,409032,31)|0;t=Nu(hsb(v,+n[o>>2])|0,432341,1)|0;t=Nu(hsb(t,+n[k>>2])|0,432341,1)|0;hsb(t,+n[l>>2])|0;v=Nu(v,409404,1)|0;Drb(m,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);t=utb(m,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(m);ksb(v,t)|0;Krb(v)|0}if(qZa(4)|0){v=Nu(Hua(4)|0,409064,30)|0;v=hsb(v,+n[g>>2])|0;Drb(m,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);t=utb(m,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(m);ksb(v,t)|0;Krb(v)|0}e=+n[g>>2]*3.5;if(c)if(!(MZa(c,m,q,r,h,i,j)|0)){if(LZa(c,m,q,r,h,i,j)|0)e=+J(+(+p[j>>3]-+p[i>>3]))*.5}else{e=+J(+(+p[q>>3]-+p[m>>3]));w=+p[i>>3];e=e/w*.5;w=+J(+(+p[h>>3]-+p[r>>3]))/w*.5;e=+S(+(w<e?w:e),1.0);e=+n[g>>2]/+N(+e)}v=f[(f[a>>2]|0)+124>>2]|0;y=+n[o>>2];x=+n[k>>2];w=+n[l>>2];p[m>>3]=y+0.0;p[m+8>>3]=x-e;p[m+16>>3]=w+0.0;p[q>>3]=y;p[q+8>>3]=x;p[q+16>>3]=w;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[r+12>>2]=0;p[r+16>>3]=1.0;Kj[v&63](a,m,q,r,(b[a+12>>0]|0)!=0);u=s;return}function mra(a){a=a|0;var c=0;b[a+92>>0]=0;c=f[a+148>>2]|0;if(!c)return;if(!(b[c+24>>0]|0))return;vj[f[(f[a>>2]|0)+248>>2]&15](a,1.0,+p[c+40>>3]);return}function nra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;if(b[a+12>>0]|0){if(!(_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0))c=0;else{c=(_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0)+16|0;c=f[c>>2]|0}Fj[f[(f[a>>2]|0)+136>>2]&511](a,c,(f[a+152>>2]&2|0)!=0)}b[a+92>>0]=0;Ij[f[(f[a>>2]|0)+160>>2]&127](a,a+16|0,a+40|0,a+64|0);tj[f[(f[d>>2]|0)+12>>2]&2047](d);Bj[f[(f[d>>2]|0)+16>>2]&1023](d,0);c=a+104|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=a+108|0;d=f[c>>2]|0;if(!d)return;f[c>>2]=0;a=d+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1)return;Rua(d,1,1);return}function ora(a,c){a=a|0;c=+c;var d=0,e=0,g=0;if(b[a+12>>0]|0)Fj[f[(f[a>>2]|0)+136>>2]&511](a,0,(f[a+152>>2]&2|0)!=0);b[a+92>>0]=0;Ij[f[(f[a>>2]|0)+160>>2]&127](a,a+16|0,a+40|0,a+64|0);d=a+104|0;e=f[d>>2]|0;if(e|0?(f[d>>2]=0,g=e+8|0,d=f[g>>2]|0,f[g>>2]=d-1,(d|0)==1):0)Rua(e,1,1);d=a+108|0;e=f[d>>2]|0;if(!e)return;f[d>>2]=0;a=e+8|0;g=f[a>>2]|0;f[a>>2]=g-1;if((g|0)!=1)return;Rua(e,1,1);return}function pra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;c=a+104|0;e=f[c>>2]|0;if(e|0?(f[c>>2]=0,g=e+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(e,1,1);c=a+108|0;e=f[c>>2]|0;if(e|0?(f[c>>2]=0,c=e+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(e,1,1);b[a+92>>0]=0;Bj[f[(f[d>>2]|0)+16>>2]&1023](d,0);return}function qra(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.0,n=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0;i=u;u=u+160|0;g=i+24|0;h=i;w=+p[a+216>>3];o=-w;m=+p[d>>3];l=d+8|0;s=+p[l>>3];k=d+16|0;q=+p[k>>3];r=q*0.0;v=s*o-r;o=r-m*o;r=m*0.0-s*0.0;j=d+24|0;t=+p[j>>3]*2.0;n=+p[c+8>>3]+(o*t+0.0+(q*v-m*r)*2.0);m=+p[c+16>>3]+(r*t-w+(m*o-s*v)*2.0);p[a+160>>3]=+p[c>>3]+(v*t+0.0+(s*r-q*o)*2.0);p[a+168>>3]=n;p[a+176>>3]=m;e=a+184|0;p[e>>3]=+p[d>>3];p[a+192>>3]=+p[l>>3];p[a+200>>3]=+p[k>>3];p[a+208>>3]=+p[j>>3];if(!(b[a+144>>0]|0)){u=i;return}c=f[a+88>>2]|0;if(!c)f3a(g);else Fj[f[(f[c>>2]|0)+12>>2]&511](g,c,a+160|0);v=+p[g+72>>3];w=+p[g+80>>3];p[h>>3]=+p[g+64>>3];p[h+8>>3]=v;p[h+16>>3]=w;rta(e,h,1);u=i;return}function rra(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.0,l=0.0,m=0.0,n=0.0,o=0.0,q=0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0;j=u;u=u+288|0;h=j+152|0;i=j+128|0;q=j;v=+p[d>>3]-+p[c>>3];r=+p[d+8>>3]-+p[c+8>>3];n=+p[d+16>>3]-+p[c+16>>3];o=+K(+(v*v+r*r+n*n));g=o>0.0;t=1.0/o;v=g?v*t:v;r=g?r*t:r;n=g?n*t:n;t=+p[e+16>>3];w=+p[e+8>>3];x=t*r-w*n;k=+p[e>>3];t=k*n-t*v;k=w*v-k*r;w=+K(+(k*k+(x*x+t*t)));g=w>0.0;w=1.0/w;t=g?t*w:t;x=g?x*w:x;k=g?k*w:k;w=n*t-r*k;s=v*k-n*x;m=r*x-v*t;l=+K(+(m*m+(w*w+s*s)));g=l>0.0;l=1.0/l;$2a(q,x,g?w*l:w,-v,0.0,t,g?s*l:s,-r,0.0,k,g?m*l:m,-n,0.0,0.0,0.0,0.0,1.0);g=a+160|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];p[a+216>>3]=o;a3a(h,q);o=+p[h>>3];n=+p[h+8>>3];m=+p[h+16>>3];l=+p[h+24>>3];k=1.0/(o*o+n*n+m*m+l*l);e=a+184|0;p[e>>3]=-(o*k);p[a+192>>3]=-(n*k);p[a+200>>3]=-(m*k);p[a+208>>3]=l*k;if(!(b[a+144>>0]|0)){u=j;return}c=f[a+88>>2]|0;if(!c)f3a(h);else Fj[f[(f[c>>2]|0)+12>>2]&511](h,c,g);w=+p[h+72>>3];x=+p[h+80>>3];p[i>>3]=+p[h+64>>3];p[i+8>>3]=w;p[i+16>>3]=x;rta(e,i,1);u=j;return}function sra(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,q=0.0;q=+p[a+216>>3];j=-q;g=a+184|0;h=+p[g>>3];f=a+192|0;m=+p[f>>3];e=a+200|0;k=+p[e>>3];l=k*0.0;o=m*j-l;j=l-h*j;l=h*0.0-m*0.0;d=a+208|0;n=+p[d>>3]*2.0;i=+p[a+168>>3]-(j*n+0.0+(k*o-h*l)*2.0);h=+p[a+176>>3]-(l*n-q+(h*j-m*o)*2.0);p[b>>3]=+p[a+160>>3]-(o*n+0.0+(m*l-k*j)*2.0);p[b+8>>3]=i;p[b+16>>3]=h;p[c>>3]=+p[g>>3];p[c+8>>3]=+p[f>>3];p[c+16>>3]=+p[e>>3];p[c+24>>3]=+p[d>>3];return}function tra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0,o=0,q=0.0,r=0,s=0.0;r=a+160|0;f[c>>2]=f[r>>2];f[c+4>>2]=f[r+4>>2];f[c+8>>2]=f[r+8>>2];f[c+12>>2]=f[r+12>>2];f[c+16>>2]=f[r+16>>2];f[c+20>>2]=f[r+20>>2];s=+p[a+216>>3];o=a+184|0;i=+p[o>>3];n=a+192|0;h=+p[n>>3];m=a+200|0;k=+p[m>>3];l=k*0.0;q=s*h-l;l=l-s*i;e=i*0.0-h*0.0;c=a+208|0;j=+p[c>>3]*2.0;g=+p[a+168>>3]+(l*j+0.0+(k*q-i*e)*2.0);i=+p[a+176>>3]+(s+e*j+(i*l-h*q)*2.0);p[b>>3]=+p[r>>3]+(q*j+0.0+(h*e-k*l)*2.0);p[b+8>>3]=g;p[b+16>>3]=i;i=+p[o>>3];g=+p[n>>3];l=+p[m>>3];k=g*0.0;e=k-l;h=l*0.0-i*0.0;k=i-k;j=+p[c>>3]*2.0;p[d>>3]=e*j+0.0+(g*k-l*h)*2.0;p[d+8>>3]=h*j+1.0+(l*e-i*k)*2.0;p[d+16>>3]=k*j+0.0+(i*h-g*e)*2.0;return}function ura(a,c){a=a|0;c=c|0;b[a+144>>0]=c&1;return}function vra(a,c){a=a|0;c=c|0;b[a+93>>0]=c&1;return}function wra(a,b){a=a|0;b=+b;var c=0,d=0;if(!(b<=0.0)){d=a+148|0;c=f[d>>2]|0;if(!c){tj[f[(f[a>>2]|0)+268>>2]&2047](a);c=f[d>>2]|0}p[c+16>>3]=b;return}tj[f[(f[a>>2]|0)+140>>2]&2047](a);c=a+148|0;a=f[c>>2]|0;if(!a)return;f[c>>2]=0;c=a+8|0;d=f[c>>2]|0;f[c>>2]=d-1;if((d|0)!=1)return;Rua(a,1,1);return}function xra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0.0;g=+p[c+40>>3];e=a+120|0;p[a+112>>3]=g-+p[e>>3];p[e>>3]=g;if(b[a+92>>0]|0?_i[f[(f[a>>2]|0)+224>>2]&2047](a)|0:0)tj[f[(f[d>>2]|0)+12>>2]&2047](d);e=f[a+148>>2]|0;if(!e)return 0;if(!(b[e+24>>0]|0))return 0;dj[f[(f[a>>2]|0)+244>>2]&255](a,c,d)|0;return 0}function yra(a,b,c){a=a|0;b=b|0;c=c|0;Fj[f[(f[a>>2]|0)+152>>2]&511](a,b,c);tj[f[(f[c>>2]|0)+12>>2]&2047](c);return 1}function zra(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Ara(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=a+104|0;e=f[g>>2]|0;i=a+108|0;h=f[i>>2]|0;if((e|0)!=(h|0)){f[g>>2]=h;if(h|0){h=h+8|0;f[h>>2]=(f[h>>2]|0)+1}if(e|0?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);e=f[i>>2]|0}if(((e|0)!=(c|0)?(f[i>>2]=c,i=c+8|0,f[i>>2]=(f[i>>2]|0)+1,e|0):0)?(c=e+8|0,i=f[c>>2]|0,f[c>>2]=i-1,(i|0)==1):0)Rua(e,1,1);if(!(_i[f[(f[a>>2]|0)+224>>2]&2047](a)|0)){i=f[d>>2]|0;i=i+16|0;i=f[i>>2]|0;Bj[i&1023](d,0);i=a+92|0;b[i>>0]=0;return 1}tj[f[(f[d>>2]|0)+12>>2]&2047](d);i=f[d>>2]|0;i=i+16|0;i=f[i>>2]|0;Bj[i&1023](d,0);i=a+92|0;b[i>>0]=0;return 1}function Bra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=a+104|0;e=f[i>>2]|0;if(e|0?(f[i>>2]=0,g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);h=a+108|0;e=f[h>>2]|0;if(!e)e=0;else{f[h>>2]=0;j=e+8|0;g=f[j>>2]|0;f[j>>2]=g-1;if((g|0)==1)Rua(e,1,1);e=f[h>>2]|0}g=f[i>>2]|0;if((g|0)!=(e|0)){f[i>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if(g|0?(i=g+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(g,1,1);e=f[h>>2]|0}if(((e|0)!=(c|0)?(f[h>>2]=c,j=c+8|0,f[j>>2]=(f[j>>2]|0)+1,e|0):0)?(c=e+8|0,j=f[c>>2]|0,f[c>>2]=j-1,(j|0)==1):0)Rua(e,1,1);if(!(_i[f[(f[a>>2]|0)+224>>2]&2047](a)|0)){j=f[d>>2]|0;j=j+16|0;j=f[j>>2]|0;Bj[j&1023](d,0);j=a+92|0;b[j>>0]=0;return 1}tj[f[(f[d>>2]|0)+12>>2]&2047](d);j=f[d>>2]|0;j=j+16|0;j=f[j>>2]|0;Bj[j&1023](d,0);j=a+92|0;b[j>>0]=0;return 1}function Cra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;if(!(f[c+112>>2]|0)){h=a+108|0;i=f[h>>2]|0;if(!((i|0)!=0?!(+p[c+40>>3]-+p[i+40>>3]>.02):0)){e=a+104|0;g=f[e>>2]|0;if(g|0?(f[e>>2]=0,e=g+8|0,i=f[e>>2]|0,f[e>>2]=i-1,(i|0)==1):0)Rua(g,1,1);e=f[h>>2]|0;if(e|0?(f[h>>2]=0,h=e+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(e,1,1)}if(_i[f[(f[a>>2]|0)+252>>2]&2047](a)|0){if(!(_i[f[(f[a>>2]|0)+224>>2]&2047](a)|0))return 1;if(!(b[a+93>>0]|0))return 1;tj[f[(f[d>>2]|0)+12>>2]&2047](d);Bj[f[(f[d>>2]|0)+16>>2]&1023](d,1);b[a+92>>0]=1;return 1}}h=a+104|0;e=f[h>>2]|0;if(e|0?(f[h>>2]=0,g=e+8|0,i=f[g>>2]|0,f[g>>2]=i-1,(i|0)==1):0)Rua(e,1,1);i=a+108|0;e=f[i>>2]|0;if(!e)e=0;else{f[i>>2]=0;j=e+8|0;g=f[j>>2]|0;f[j>>2]=g-1;if((g|0)==1)Rua(e,1,1);e=f[i>>2]|0}g=f[h>>2]|0;if((g|0)!=(e|0)){f[h>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if(g|0?(h=g+8|0,j=f[h>>2]|0,f[h>>2]=j-1,(j|0)==1):0)Rua(g,1,1);e=f[i>>2]|0}if(((e|0)!=(c|0)?(f[i>>2]=c,j=c+8|0,f[j>>2]=(f[j>>2]|0)+1,e|0):0)?(c=e+8|0,j=f[c>>2]|0,f[c>>2]=j-1,(j|0)==1):0)Rua(e,1,1);if(_i[f[(f[a>>2]|0)+224>>2]&2047](a)|0)tj[f[(f[d>>2]|0)+12>>2]&2047](d);Bj[f[(f[d>>2]|0)+16>>2]&1023](d,0);b[a+92>>0]=0;return 1}function Dra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)!=32){d=0;return d|0}e=a+104|0;g=f[e>>2]|0;if(g|0?(f[e>>2]=0,h=g+8|0,e=f[h>>2]|0,f[h>>2]=e-1,(e|0)==1):0)Rua(g,1,1);e=a+108|0;g=f[e>>2]|0;if(g|0?(f[e>>2]=0,e=g+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(g,1,1);b[a+92>>0]=0;Fj[f[(f[a>>2]|0)+144>>2]&511](a,c,d);h=1;return h|0}function Era(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Fra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0.0,h=0;h=f[c+124>>2]|0;a:do if(!(f[a+152>>2]&8))e=10;else{switch(h|0){case 4:{g=+p[a+232>>3];if(!(g>0.0)){e=17;break a}break}case 3:{g=+p[a+232>>3];if(!(g<0.0)){e=13;break a}break}default:{d=0;return d|0}}e=f[a+148>>2]|0;if(e|0?!(+p[e+16>>3]<=0.0):0){if(b[e+24>>0]|0){e=10;break}dj[f[(f[a>>2]|0)+264>>2]&255](a,c,d)|0;e=10;break}dj[f[(f[a>>2]|0)+260>>2]&255](a,c,d)|0;e=10}while(0);b:do if((e|0)==10)switch(h|0){case 3:{g=+p[a+232>>3];e=13;break b}case 4:{g=+p[a+232>>3];e=17;break b}default:{d=0;return d|0}}while(0);if((e|0)==13){Aj[f[(f[a>>2]|0)+312>>2]&7](a,g,1);tj[f[(f[d>>2]|0)+12>>2]&2047](d);c=f[(f[d>>2]|0)+16>>2]|0;h=f[a+148>>2]|0;if((h|0)!=0?(b[h+24>>0]|0)!=0:0)e=1;else e=(b[a+92>>0]|0)!=0;Bj[c&1023](d,e);d=1;return d|0}else if((e|0)==17){Aj[f[(f[a>>2]|0)+312>>2]&7](a,-g,1);tj[f[(f[d>>2]|0)+12>>2]&2047](d);c=f[(f[d>>2]|0)+16>>2]|0;h=f[a+148>>2]|0;if((h|0)!=0?(b[h+24>>0]|0)!=0:0)e=1;else e=(b[a+92>>0]|0)!=0;Bj[c&1023](d,e);d=1;return d|0}return 0}function Gra(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0.0,i=0,j=0.0;j=+n[b+104>>2]-+n[a+96>>2];h=+n[b+108>>2]-+n[a+100>>2];if(j==0.0&h==0.0){c=0;return c|0}e=a+104|0;d=f[e>>2]|0;i=a+108|0;g=f[i>>2]|0;if((d|0)!=(g|0)){f[e>>2]=g;if(g|0){g=g+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);d=f[i>>2]|0}if(((d|0)!=(b|0)?(f[i>>2]=b,i=b+8|0,f[i>>2]=(f[i>>2]|0)+1,d|0):0)?(g=d+8|0,i=f[g>>2]|0,f[g>>2]=i-1,(i|0)==1):0)Rua(d,1,1);Fj[f[(f[a>>2]|0)+256>>2]&511](a,b,c);c=$i[f[(f[a>>2]|0)+240>>2]&3](a,j,h)|0;return c|0}function Hra(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0.0,o=0,q=0,r=0;q=u;u=u+16|0;h=q;i=a+108|0;e=f[i>>2]|0;if(!e){a=0;u=q;return a|0}j=a+104|0;g=f[j>>2]|0;if(!g){a=0;u=q;return a|0}b=+p[e+40>>3]-+p[g+40>>3];if(b<0.0)if(qZa(2)|0){o=isb(Nu(Hua(2)|0,408952,38)|0,b)|0;Drb(h,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);l=utb(h,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(h);ksb(o,l)|0;Krb(o)|0;b=0.0}else b=0.0;e=f[i>>2]|0;g=f[e+160>>2]|0;h=(f[e+164>>2]|0)-g|0;i=(h|0)==0;if(i){d=+n[e+88>>2];d=(+n[e+104>>2]-d)*2.0/(+n[e+92>>2]-d)}else{o=f[g+((h>>2)+-1<<2)>>2]|0;d=+n[o+24>>2];d=(+n[o+20>>2]-d)/(+n[o+28>>2]-d)*2.0}o=f[j>>2]|0;j=f[o+160>>2]|0;k=(f[o+164>>2]|0)-j|0;l=(k|0)==0;if(l){c=+n[o+88>>2];c=(+n[o+104>>2]-c)*2.0/(+n[o+92>>2]-c)}else{r=f[j+((k>>2)+-1<<2)>>2]|0;c=+n[r+24>>2];c=(+n[r+20>>2]-c)/(+n[r+28>>2]-c)*2.0}m=d+-1.0-(c+-1.0);if(i){d=+n[e+96>>2];d=(+n[e+108>>2]-d)*2.0/(+n[e+100>>2]-d)+-1.0;d=(f[e+120>>2]|0)==0?d:-d}else{r=f[g+((h>>2)+-1<<2)>>2]|0;d=+n[r+36>>2];d=(+n[r+32>>2]-d)/(+n[r+40>>2]-d)*2.0+-1.0}if(l){c=+n[o+96>>2];c=(+n[o+108>>2]-c)*2.0/(+n[o+100>>2]-c)+-1.0;c=(f[o+120>>2]|0)==0?c:-c}else{r=f[j+((k>>2)+-1<<2)>>2]|0;c=+n[r+36>>2];c=(+n[r+32>>2]-c)/(+n[r+40>>2]-c)*2.0+-1.0}c=d-c;d=m;if(m==0.0&c==0.0){r=0;u=q;return r|0}switch(f[o+112>>2]|0){case 1:{r=aj[f[(f[a>>2]|0)+228>>2]&7](a,b,d,c)|0;u=q;return r|0}case 5:case 2:break;case 4:{if(!(f[o+116>>2]&12)){r=aj[f[(f[a>>2]|0)+236>>2]&7](a,b,d,c)|0;u=q;return r|0}break}default:{r=0;u=q;return r|0}}r=aj[f[(f[a>>2]|0)+232>>2]&7](a,b,d,c)|0;u=q;return r|0}function Ira(a,c,d,e){a=a|0;c=+c;d=+d;e=+e;var g=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0;if(b[a+144>>0]|0){vj[f[(f[a>>2]|0)+300>>2]&15](a,d,e);return 1}m=f[(f[a>>2]|0)+296>>2]|0;i=f[a+108>>2]|0;g=f[i+160>>2]|0;h=(f[i+164>>2]|0)-g|0;if(!h){d=+n[i+88>>2];l=+n[i+96>>2];l=(+n[i+108>>2]-l)*2.0/(+n[i+100>>2]-l)+-1.0;d=(+n[i+104>>2]-d)*2.0/(+n[i+92>>2]-d);l=(f[i+120>>2]|0)==0?l:-l}else{i=f[g+((h>>2)+-1<<2)>>2]|0;d=+n[i+24>>2];l=+n[i+36>>2];d=(+n[i+20>>2]-d)/(+n[i+28>>2]-d)*2.0;l=(+n[i+32>>2]-l)/(+n[i+40>>2]-l)*2.0+-1.0}k=d+-1.0;i=f[a+104>>2]|0;g=f[i+160>>2]|0;h=(f[i+164>>2]|0)-g|0;if(!h){d=+n[i+88>>2];j=+n[i+96>>2];j=(+n[i+108>>2]-j)*2.0/(+n[i+100>>2]-j)+-1.0;d=(+n[i+104>>2]-d)*2.0/(+n[i+92>>2]-d);j=(f[i+120>>2]|0)==0?j:-j}else{i=f[g+((h>>2)+-1<<2)>>2]|0;d=+n[i+24>>2];j=+n[i+36>>2];d=(+n[i+20>>2]-d)/(+n[i+28>>2]-d)*2.0;j=(+n[i+32>>2]-j)/(+n[i+40>>2]-j)*2.0+-1.0}e=d+-1.0;if(b[a+92>>0]|0)if(c==0.0)d=0.0;else d=+p[a+112>>3]/c;else d=1.0;yj[m&1](a,k,l,e,j,d);return 1}function Jra(a,c,d,e){a=a|0;c=+c;d=+d;e=+e;var g=0.0;g=+p[a+216>>3]*-.30000001192092896;if(b[a+92>>0]|0)if(c==0.0)c=0.0;else c=+p[a+112>>3]/c;else c=1.0;g=g*c;wj[f[(f[a>>2]|0)+308>>2]&7](a,g*d,g*e,0.0);return 1}function Kra(a,c,d,e){a=a|0;c=+c;d=+d;e=+e;var g=0;g=f[(f[a>>2]|0)+312>>2]|0;if(b[a+92>>0]|0)if(c==0.0)d=0.0;else d=+p[a+112>>3]/c;else d=1.0;Aj[g&7](a,d*e,1);return 1}function Lra(a,c,d){a=a|0;c=+c;d=+d;if(!(b[a+144>>0]|0)){yj[f[(f[a>>2]|0)+296>>2]&1](a,0.0,0.0,c,d,1.0);return 1}else{vj[f[(f[a>>2]|0)+300>>2]&15](a,c,d);return 1}return 0}function Mra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,g=0,h=0;h=a+148|0;g=f[h>>2]|0;e=(+p[c+40>>3]-+p[g+32>>3])/+p[g+16>>3];if(e>=1.0){b[g+24>>0]=0;if(!(b[a+92>>0]|0)){Bj[f[(f[d>>2]|0)+16>>2]&1023](d,0);e=1.0;c=f[h>>2]|0}else{e=1.0;c=g}}else c=g;vj[f[(f[a>>2]|0)+248>>2]&15](a,e,+p[c+40>>3]);p[(f[h>>2]|0)+40>>3]=e;tj[f[(f[d>>2]|0)+12>>2]&2047](d);return (b[(f[h>>2]|0)+24>>0]|0)!=0|0}function Nra(a,c,d){a=a|0;c=+c;d=+d;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0.0;o=u;u=u+272|0;g=o+248|0;i=o+224|0;j=o+200|0;k=o+176|0;l=o+48|0;m=o+24|0;n=o;e=f[a+148>>2]|0;if(!e)_a(408765,408768,325,408933);e=WCb(e,290600,290616,0)|0;if(!e)_a(408765,408768,325,408933);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;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;Ij[f[(f[a>>2]|0)+168>>2]&127](a,i,g,j);q=c-d;c=+p[g+8>>3]+q*+p[e+56>>3];d=+p[g+16>>3]+q*+p[e+64>>3];p[k>>3]=+p[g>>3]+q*+p[e+48>>3];e=k+8|0;p[e>>3]=c;g=k+16|0;p[g>>3]=d;if(!(b[a+144>>0]|0)){n=f[a>>2]|0;n=n+160|0;n=f[n>>2]|0;Ij[n&127](a,i,k,j);u=o;return}h=f[a+88>>2]|0;if(!h)f3a(l);else Fj[f[(f[h>>2]|0)+12>>2]&511](l,h,k);q=+p[l+72>>3];d=+p[l+80>>3];p[m>>3]=+p[l+64>>3];p[m+8>>3]=q;p[m+16>>3]=d;d=+p[e>>3]-+p[i+8>>3];q=+p[g>>3]-+p[i+16>>3];p[n>>3]=+p[k>>3]-+p[i>>3];p[n+8>>3]=d;p[n+16>>3]=q;vta(n,j,j,m,0);n=f[a>>2]|0;n=n+160|0;n=f[n>>2]|0;Ij[n&127](a,i,k,j);u=o;return}function Ora(a){a=a|0;var b=0.0,c=0.0,d=0,e=0,g=0.0,h=0,i=0,j=0,k=0,l=0,m=0;l=f[a+108>>2]|0;if(!l){l=0;return l|0}k=f[a+104>>2]|0;if(!k){l=0;return l|0}a=f[l+160>>2]|0;d=(f[l+164>>2]|0)-a|0;e=(d|0)==0;if(e){c=+n[l+88>>2];c=(+n[l+104>>2]-c)*2.0/(+n[l+92>>2]-c)}else{j=f[a+((d>>2)+-1<<2)>>2]|0;c=+n[j+24>>2];c=(+n[j+20>>2]-c)/(+n[j+28>>2]-c)*2.0}h=f[k+160>>2]|0;i=(f[k+164>>2]|0)-h|0;j=(i|0)==0;if(j){b=+n[k+88>>2];b=(+n[k+104>>2]-b)*2.0/(+n[k+92>>2]-b)}else{m=f[h+((i>>2)+-1<<2)>>2]|0;b=+n[m+24>>2];b=(+n[m+20>>2]-b)/(+n[m+28>>2]-b)*2.0}g=c+-1.0-(b+-1.0);if(e){c=+n[l+96>>2];c=(+n[l+108>>2]-c)*2.0/(+n[l+100>>2]-c)+-1.0;c=(f[l+120>>2]|0)==0?c:-c}else{m=f[a+((d>>2)+-1<<2)>>2]|0;c=+n[m+36>>2];c=(+n[m+32>>2]-c)/(+n[m+40>>2]-c)*2.0+-1.0}if(j){b=+n[k+96>>2];b=(+n[k+108>>2]-b)*2.0/(+n[k+100>>2]-b)+-1.0;b=(f[k+120>>2]|0)==0?b:-b}else{m=f[h+((i>>2)+-1<<2)>>2]|0;b=+n[m+36>>2];b=(+n[m+32>>2]-b)/(+n[m+40>>2]-b)*2.0+-1.0}c=c-b;g=+K(+(g*g+c*c));m=g>(+p[l+40>>3]-+p[k+40>>3])*.10000000149011612;return m|0}function Pra(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;e=(+n[b+88>>2]+ +n[b+92>>2])*.5;n[a+96>>2]=e;d=(+n[b+96>>2]+ +n[b+100>>2])*.5;n[a+100>>2]=d;vj[f[(f[c>>2]|0)+20>>2]&15](c,e,d);return}function Qra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0,B=0.0;x=u;u=u+464|0;w=x+272|0;q=x+248|0;l=x+224|0;r=x+200|0;s=x+176|0;t=x+48|0;v=x+24|0;o=x;e=_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;if(!e){w=0;u=x;return w|0}h=f[e+16>>2]|0;if(!h){w=0;u=x;return w|0}i=+n[c+88>>2];i=(+n[c+104>>2]-i)/(+n[c+92>>2]-i);j=+n[c+96>>2];j=(+n[c+108>>2]-j)/(+n[c+100>>2]-j);e=f[h+288>>2]|0;if(!e)g=1;else{g=0;j=+p[e+80>>3]*j;i=+p[e+72>>3]*i}m=EBb(96)|0;FY(m,g,i,j);k=m+8|0;f[k>>2]=(f[k>>2]|0)+1;DY(w,m,0);Bj[f[(f[h>>2]|0)+212>>2]&1023](h,w);if(_i[f[(f[m>>2]|0)+32>>2]&2047](m)|0){e=f[m+28>>2]|0;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;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;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;Ij[f[(f[a>>2]|0)+168>>2]&127](a,q,l,r);e=f[((e|0)==0?m:e)+80>>2]|0;g=f[e+40>>2]|0;h=e+48|0;if(!g){f[s>>2]=f[h>>2];f[s+4>>2]=f[h+4>>2];f[s+8>>2]=f[h+8>>2];f[s+12>>2]=f[h+12>>2];f[s+16>>2]=f[h+16>>2];f[s+20>>2]=f[h+20>>2]}else{A=+p[h>>3];z=+p[e+56>>3];y=+p[e+64>>3];B=1.0/(+p[g+152>>3]+(+p[g+56>>3]*A+ +p[g+88>>3]*z+ +p[g+120>>3]*y));i=B*(+p[g+136>>3]+(A*+p[g+40>>3]+z*+p[g+72>>3]+y*+p[g+104>>3]));j=B*(+p[g+144>>3]+(A*+p[g+48>>3]+z*+p[g+80>>3]+y*+p[g+112>>3]));p[s>>3]=B*(+p[g+128>>3]+(A*+p[g+32>>3]+z*+p[g+64>>3]+y*+p[g+96>>3]));p[s+8>>3]=i;p[s+16>>3]=j}if(b[a+144>>0]|0){e=f[a+88>>2]|0;if(!e)f3a(t);else Fj[f[(f[e>>2]|0)+12>>2]&511](t,e,s);B=+p[t+72>>3];A=+p[t+80>>3];p[v>>3]=+p[t+64>>3];p[v+8>>3]=B;p[v+16>>3]=A;A=+p[s+8>>3]-+p[q+8>>3];B=+p[s+16>>3]-+p[q+16>>3];p[o>>3]=+p[s>>3]-+p[q>>3];p[o+8>>3]=A;p[o+16>>3]=B;vta(o,r,r,v,0)}Ij[f[(f[a>>2]|0)+160>>2]&127](a,q,s,r);Fj[f[(f[a>>2]|0)+256>>2]&511](a,c,d);e=1}else e=0;Fk(w,315648);Gva(w+160|0);w=f[k>>2]|0;f[k>>2]=w-1;if((w|0)!=1){w=e;u=x;return w|0}Rua(m,1,1);w=e;u=x;return w|0}function Rra(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0;i=u;u=u+80|0;e=i+48|0;g=i+24|0;h=i;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[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;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;Ij[f[(f[a>>2]|0)+168>>2]&127](a,g,e,h);if(!(dj[f[(f[a>>2]|0)+260>>2]&255](a,c,d)|0)){h=0;u=i;return h|0}d=f[a+148>>2]|0;if(!d){h=0;u=i;return h|0}d=WCb(d,290600,290616,0)|0;if(!d){h=0;u=i;return h|0}l=+p[a+160>>3]-+p[e>>3];k=+p[a+168>>3]-+p[e+8>>3];j=+p[a+176>>3]-+p[e+16>>3];m=+p[c+40>>3];b[d+24>>0]=1;p[d+32>>3]=m;p[d+40>>3]=0.0;p[d+48>>3]=l;p[d+56>>3]=k;p[d+64>>3]=j;Ij[f[(f[a>>2]|0)+160>>2]&127](a,g,e,h);h=1;u=i;return h|0}function Sra(a){a=a|0;var c=0,d=0,e=0;e=EBb(72)|0;c=e;d=c+72|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));rZa(e);p[e+16>>3]=0.0;b[e+24>>0]=0;c=e+32|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[e>>2]=335732;c=e+48|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;a=a+148|0;c=f[a>>2]|0;if((c|0)==(e|0))return;f[a>>2]=e;e=e+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 Tra(a,b){a=a|0;b=b|0;a=a+160|0;f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];f[a+12>>2]=f[b+12>>2];f[a+16>>2]=f[b+16>>2];f[a+20>>2]=f[b+20>>2];return}function Ura(a,b){a=a|0;b=b|0;p[a+184>>3]=+p[b>>3];p[a+192>>3]=+p[b+8>>3];p[a+200>>3]=+p[b+16>>3];p[a+208>>3]=+p[b+24>>3];return}function Vra(a,b){a=a|0;b=+b;p[a+216>>3]=b;return}function Wra(a,b){a=a|0;b=b|0;a=a+224|0;p[a>>3]=+p[b>>3];tta(a,.1,1.0,408497);return}function Xra(a,b){a=a|0;b=+b;p[a+232>>3]=b;return}function Yra(a,b,c){a=a|0;b=b|0;c=c|0;p[a+240>>3]=+p[b>>3];b=1<<0;if(c){c=a+156|0;f[c>>2]=f[c>>2]|b;return}else{c=a+156|0;f[c>>2]=f[c>>2]&~b;return}}function Zra(a,b,c,d,e,g){a=a|0;b=+b;c=+c;d=+d;e=+e;g=+g;var h=0,i=0,j=0.0,k=0.0,l=0.0,m=0,o=0,q=0;h=u;u=u+64|0;i=h+32|0;m=h+56|0;q=h;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;sta(a,i,m,(d-b)*g+b,(e-c)*g+c,b,c);o=q+24|0;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;p[o>>3]=1.0;w3a(q,+n[m>>2],i);l=+p[o>>3];o=a+184|0;j=+p[o>>3];b=+p[q>>3];i=a+208|0;k=+p[i>>3];c=+p[q+8>>3];m=a+200|0;e=+p[m>>3];g=+p[q+16>>3];a=a+192|0;d=+p[a>>3];p[o>>3]=l*j+b*k+c*e-g*d;p[a>>3]=j*g+(k*c+(l*d-b*e));p[m>>3]=k*g+(l*e+b*d-j*c);p[i>>3]=l*k-j*b-c*d-e*g;u=h;return}function _ra(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,g=0,h=0,i=0.0,j=0.0;h=u;u=u+160|0;d=h+24|0;e=h;g=f[a+88>>2]|0;if(!g)f3a(d);else Fj[f[(f[g>>2]|0)+12>>2]&511](d,g,a+160|0);j=+p[d+72>>3];i=+p[d+80>>3];p[e>>3]=+p[d+64>>3];p[e+8>>3]=j;p[e+16>>3]=i;qta(a+184|0,b,c,e);u=h;return}function $ra(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,f=0;e=u;u=u+32|0;f=e;p[f>>3]=+n[d>>2];p[f+8>>3]=+n[d+4>>2];p[f+16>>3]=+n[d+8>>2];qta(a+184|0,b,c,f);u=e;return}function asa(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0,f=0,g=0,h=0.0,i=0.0,j=0.0;e=u;u=u+128|0;g=e;f3a(g);k3a(g,a+184|0);i=b;h=c;b=d;j=1.0/(+p[g+120>>3]+(+p[g+24>>3]*i+ +p[g+56>>3]*h+ +p[g+88>>3]*b));c=j*(+p[g+104>>3]+(+p[g+8>>3]*i+ +p[g+40>>3]*h+ +p[g+72>>3]*b));d=j*(+p[g+112>>3]+(+p[g+16>>3]*i+ +p[g+48>>3]*h+ +p[g+80>>3]*b));f=a+160|0;p[f>>3]=j*(+p[g+96>>3]+(+p[g>>3]*i+ +p[g+32>>3]*h+ +p[g+64>>3]*b))+ +p[f>>3];f=a+168|0;p[f>>3]=c+ +p[f>>3];a=a+176|0;p[a>>3]=d+ +p[a>>3];u=e;return}function bsa(a,b,c){a=a|0;b=+b;c=c|0;var d=0.0,e=0,g=0.0,h=0.0,i=0,j=0;j=u;u=u+128|0;i=j;d=+p[a+240>>3];if(f[a+156>>2]&1<<0)d=+p[a+136>>3]*d;e=a+216|0;g=+p[e>>3];h=g*(b+1.0);if(h>d){p[e>>3]=h;u=j;return}if(c){k3a(i,a+184|0);d=1.0/(+p[i+120>>3]+(+p[i+24>>3]*0.0+ +p[i+56>>3]*0.0-+p[i+88>>3]));g=-(g*b);h=d*(+p[i+104>>3]+(+p[i+8>>3]*0.0+ +p[i+40>>3]*0.0-+p[i+72>>3]))*g;b=d*(+p[i+112>>3]+(+p[i+16>>3]*0.0+ +p[i+48>>3]*0.0-+p[i+80>>3]))*g;c=a+160|0;p[c>>3]=d*(+p[i+96>>3]+(+p[i>>3]*0.0+ +p[i+32>>3]*0.0-+p[i+64>>3]))*g+ +p[c>>3];i=a+168|0;p[i>>3]=h+ +p[i>>3];i=a+176|0;p[i>>3]=b+ +p[i>>3];u=j;return}else{p[e>>3]=d;u=j;return}}function csa(a){a=a|0;return Pqa(a+-4|0)|0}function dsa(a,b){a=a|0;b=b|0;var c=0;c=EBb(288)|0;xsa(c,a+-4|0,b);return c+(f[(f[c>>2]|0)+-16>>2]|0)|0}function esa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290552,-1)|0)!=0;return b|0}function fsa(a){a=a|0;return 408154}function gsa(a){a=a|0;return 408339}function hsa(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+-4|0;pta(c,335596);f[c+248>>2]=298888;b=c+256|0;f[b>>2]=299160;c=c+252|0;a=f[c>>2]|0;if(!a){f[c>>2]=0;Gva(b);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;e=a+8|0;d=f[e>>2]|0;f[e>>2]=d-1;if((d|0)!=1){f[c>>2]=0;Gva(b);return}Rua(a,1,1);f[c>>2]=0;Gva(b);return}function isa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;a=a+-4|0;pta(a,335596);f[a+248>>2]=298888;b=a+256|0;f[b>>2]=299160;c=a+252|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;Gva(b);GBb(a);return}function jsa(a){a=a|0;return Pqa(a+(f[(f[a>>2]|0)+-16>>2]|0)|0)|0}function ksa(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-20>>2]|0)|0;a=EBb(288)|0;xsa(a,c,b);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function lsa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290552,-1)|0)!=0;return b|0}function msa(a){a=a|0;return 408154}function nsa(a){a=a|0;return 408339}function osa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;pta(a,335596);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);return}function psa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;pta(a,335596);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);GBb(a);return}function qsa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;pta(a,335596);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);return}function rsa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;pta(a,335596);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);GBb(a);return}function ssa(a){a=a|0;return Pqa(a+(f[(f[a>>2]|0)+-20>>2]|0)|0)|0}function tsa(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;a=EBb(288)|0;xsa(a,c,b);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function usa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290552,-1)|0)!=0;return b|0}function vsa(a){a=a|0;return 408154}function wsa(a){a=a|0;return 408339}function xsa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=a+256|0;Fva(e,b+(f[(f[b>>2]|0)+-16>>2]|0)|0,c);g=a+248|0;d=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;f[g>>2]=298888;f[g+8>>2]=299160;d=f[d+4>>2]|0;f[a+252>>2]=d;if(d|0){d=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}ysa(a,335596,b,c);f[a>>2]=220992;f[g>>2]=221480;f[e>>2]=221752;f[a+4>>2]=221324;g=a+160|0;e=b+160|0;f[g>>2]=f[e>>2];f[g+4>>2]=f[e+4>>2];f[g+8>>2]=f[e+8>>2];f[g+12>>2]=f[e+12>>2];f[g+16>>2]=f[e+16>>2];f[g+20>>2]=f[e+20>>2];g=a+184|0;e=b+184|0;f[g>>2]=f[e>>2];f[g+4>>2]=f[e+4>>2];f[g+8>>2]=f[e+8>>2];f[g+12>>2]=f[e+12>>2];f[g+16>>2]=f[e+16>>2];f[g+20>>2]=f[e+20>>2];f[g+24>>2]=f[e+24>>2];f[g+28>>2]=f[e+28>>2];p[a+216>>3]=+p[b+216>>3];p[a+224>>3]=+p[b+224>>3];p[a+232>>3]=+p[b+232>>3];p[a+240>>3]=+p[b+240>>3];return}function ysa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0;zsa(a,c+4|0,d,e);g=f[c>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+76>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+80>>2];f[a+4>>2]=f[c+84>>2];b[a+92>>0]=b[d+92>>0]|0;b[a+93>>0]=b[d+93>>0]|0;n[a+96>>2]=0.0;n[a+100>>2]=0.0;g=a+104|0;c=cj[f[(f[e>>2]|0)+12>>2]&1023](e,f[d+104>>2]|0)|0;if(c){c=WCb(c,295088,290456,0)|0;f[g>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}}else f[g>>2]=0;g=a+108|0;c=cj[f[(f[e>>2]|0)+12>>2]&1023](e,f[d+108>>2]|0)|0;if(c){c=WCb(c,295088,290456,0)|0;f[g>>2]=c;if(c|0){e=c+8|0;f[e>>2]=(f[e>>2]|0)+1}}else f[g>>2]=0;p[a+112>>3]=.01;p[a+120>>3]=0.0;f[a+128>>2]=0;p[a+136>>3]=+p[d+136>>3];b[a+144>>0]=b[d+144>>0]|0;f[a+148>>2]=0;f[a+152>>2]=f[d+152>>2];f[a+156>>2]=f[d+156>>2];return}function zsa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;g=f[c+12>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+16>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+20>>2];g=a+4|0;h=f[c+24>>2]|0;f[g>>2]=h;f[g+(f[h+-12>>2]|0)>>2]=f[c+28>>2];f[g+(f[(f[g>>2]|0)+-16>>2]|0)>>2]=f[c+32>>2];h=f[c+8>>2]|0;f[a>>2]=h;f[a+(f[h+-12>>2]|0)>>2]=f[c+36>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+40>>2];f[g>>2]=f[c+44>>2];h=f[c+4>>2]|0;f[a>>2]=h;f[a+(f[h+-12>>2]|0)>>2]=f[c+48>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+52>>2];f[g>>2]=f[c+56>>2];h=f[c>>2]|0;f[a>>2]=h;f[a+(f[h+-12>>2]|0)>>2]=f[c+60>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+64>>2];f[g>>2]=f[c+68>>2];f[a+8>>2]=f[d+8>>2];b[a+12>>0]=b[d+12>>0]|0;c=a+16|0;g=d+16|0;f[c>>2]=f[g>>2];f[c+4>>2]=f[g+4>>2];f[c+8>>2]=f[g+8>>2];f[c+12>>2]=f[g+12>>2];f[c+16>>2]=f[g+16>>2];f[c+20>>2]=f[g+20>>2];c=a+40|0;g=d+40|0;f[c>>2]=f[g>>2];f[c+4>>2]=f[g+4>>2];f[c+8>>2]=f[g+8>>2];f[c+12>>2]=f[g+12>>2];f[c+16>>2]=f[g+16>>2];f[c+20>>2]=f[g+20>>2];c=a+64|0;g=d+64|0;f[c>>2]=f[g>>2];f[c+4>>2]=f[g+4>>2];f[c+8>>2]=f[g+8>>2];f[c+12>>2]=f[g+12>>2];f[c+16>>2]=f[g+16>>2];f[c+20>>2]=f[g+20>>2];c=a+88|0;a=cj[f[(f[e>>2]|0)+8>>2]&1023](e,f[d+88>>2]|0)|0;if(!a){f[c>>2]=0;return}a=WCb(a,295048,276616,0)|0;f[c>>2]=a;if(!a)return;h=a+8|0;f[h>>2]=(f[h>>2]|0)+1;return}function Asa(a){a=a|0;return 408356}function Bsa(a){a=a|0;mi()}function Csa(a){a=a|0;mi()}function Dsa(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Esa(a){a=a|0;return 1}function Fsa(a){a=a|0;return 1.0}function Gsa(a,b){a=a|0;b=b|0;return}function Hsa(a){a=a|0;return 0}function Isa(a){a=a|0;return 0}function Jsa(a){a=a|0;return}function Ksa(a,b,c){a=a|0;b=b|0;c=c|0;return}function Lsa(a,b){a=a|0;b=+b;return}function Msa(a,b,c){a=a|0;b=b|0;c=c|0;return}function Nsa(a){a=a|0;return 408356}function Osa(a){a=a|0;mi()}function Psa(a){a=a|0;mi()}function Qsa(a){a=a|0;return 408356}function Rsa(a){a=a|0;mi()}function Ssa(a){a=a|0;mi()}function Tsa(a){a=a|0;mi()}function Usa(a){a=a|0;mi()}function Vsa(a){a=a|0;return 408356}function Wsa(a){a=a|0;return 408402}function Xsa(a){a=a|0;mi()}function Ysa(a){a=a|0;mi()}function Zsa(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function _sa(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;return 0}function $sa(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;return 0}function ata(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;return 0}function bta(a,b,c){a=a|0;b=+b;c=+c;return 0}function cta(a,b,c){a=a|0;b=+b;c=+c;return}function dta(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function eta(a){a=a|0;var c=0,d=0;d=EBb(48)|0;rZa(d);f[d>>2]=335712;p[d+16>>3]=0.0;b[d+24>>0]=0;c=d+32|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;a=a+148|0;c=f[a>>2]|0;if((c|0)==(d|0))return;f[a>>2]=d;d=d+8|0;f[d>>2]=(f[d>>2]|0)+1;if(!c)return;a=c+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)return;Rua(c,1,1);return}function fta(a){a=a|0;return 408402}function gta(a){a=a|0;mi()}function hta(a){a=a|0;mi()}function ita(a){a=a|0;return 408402}function jta(a){a=a|0;mi()}function kta(a){a=a|0;mi()}function lta(a){a=a|0;mi()}function mta(a){a=a|0;mi()}function nta(a){a=a|0;return 408402}function ota(a){a=a|0;Uua(a);GBb(a);return}function pta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=f[b>>2]|0;f[a>>2]=e;f[a+(f[e+-12>>2]|0)>>2]=f[b+76>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[b+80>>2];e=a+4|0;f[e>>2]=f[b+84>>2];c=a+148|0;d=f[c>>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[c>>2]=0;c=a+128|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+108|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+104|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=f[b+4>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+64>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[b+68>>2];f[e>>2]=f[b+72>>2];c=a+88|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;return}g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[c>>2]=0;return}Rua(d,1,1);f[c>>2]=0;return}function qta(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0.0,g=0.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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0;F=u;u=u+128|0;x=F+88|0;y=F+56|0;z=F+24|0;A=F;w=d+8|0;if(!(+p[d>>3]!=0.0|+p[w>>3]!=0.0)?(h=d+16|0,!(+p[h>>3]!=0.0)):0){G=+p[a>>3];B=a+8|0;g=+p[B>>3];C=a+16|0;J=+p[C>>3];I=g*0.0;j=I-J;e=J*0.0-G*0.0;I=G-I;D=a+24|0;H=+p[D>>3]*2.0;p[y>>3]=j*H+0.0+(g*I-J*e)*2.0;p[y+8>>3]=e*H+1.0+(J*j-G*I)*2.0;p[y+16>>3]=I*H+0.0+(G*e-g*j)*2.0;w3a(x,-b,y);k=0}else{rta(a,d,1);f[y>>2]=f[d>>2];f[y+4>>2]=f[d+4>>2];f[y+8>>2]=f[d+8>>2];f[y+12>>2]=f[d+12>>2];f[y+16>>2]=f[d+16>>2];f[y+20>>2]=f[d+20>>2];w3a(x,-b,y);B=a+8|0;C=a+16|0;D=a+24|0;h=d+16|0;k=1}l=y+24|0;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;f[y+12>>2]=0;f[y+16>>2]=0;f[y+20>>2]=0;p[l>>3]=1.0;m=z+24|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;f[z+12>>2]=0;f[z+16>>2]=0;f[z+20>>2]=0;p[m>>3]=1.0;H=+p[a>>3];J=+p[B>>3];e=+p[C>>3];j=J*0.0-e*0.0;g=H*0.0;I=e-g;g=g-J;G=+p[D>>3]*2.0;p[A>>3]=j*G+1.0+(J*g-e*I)*2.0;p[A+8>>3]=I*G+0.0+(e*j-H*g)*2.0;p[A+16>>3]=g*G+0.0+(H*I-J*j)*2.0;n=x+24|0;o=x+8|0;q=x+16|0;r=y+8|0;s=y+16|0;t=z+8|0;v=z+16|0;i=0;j=c;while(1){w3a(y,j,A);e=+p[n>>3];b=+p[a>>3];g=+p[x>>3];c=+p[D>>3];H=+p[o>>3];M=+p[C>>3];L=+p[q>>3];G=+p[B>>3];K=e*b+g*c+H*M-L*G;I=b*L+(c*H+(e*G-g*M));J=c*L+(e*M+g*G-b*H);L=e*c-b*g-H*G-M*L;M=+p[l>>3];G=+p[y>>3];H=+p[r>>3];g=+p[s>>3];b=M*K+G*L+H*J-g*I;c=K*g+(L*H+(M*I-G*J));e=L*g+(M*J+G*I-K*H);g=M*L-K*G-H*I-J*g;p[z>>3]=b;p[t>>3]=c;p[v>>3]=e;p[m>>3]=g;if(k){rta(z,d,0);c=+p[t>>3];e=+p[v>>3];b=+p[z>>3];g=+p[m>>3]}L=c*0.0;J=L-e;M=e*0.0-b*0.0;L=b-L;K=g*2.0;if(+p[h>>3]*(L*K+0.0+(b*M-c*J)*2.0)+(+p[w>>3]*(M*K+1.0+(e*J-b*L)*2.0)+ +p[d>>3]*(J*K+0.0+(c*L-e*M)*2.0))>0.0){E=12;break}i=i+1|0;if((i|0)==20)break;j=j*.5}if((E|0)==12){p[a>>3]=b;p[B>>3]=c;p[C>>3]=e;p[D>>3]=g;u=F;return}c=+p[n>>3];e=+p[a>>3];g=+p[x>>3];j=+p[D>>3];G=+p[o>>3];H=+p[C>>3];I=+p[q>>3];J=+p[B>>3];M=c*j-e*g-G*J-H*I;L=j*I+(c*H+g*J-e*G);K=e*I+(j*G+(c*J-g*H));J=c*e+g*j+G*H-I*J;p[a>>3]=J;p[B>>3]=K;p[C>>3]=L;p[D>>3]=M;u=F;return}function rta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,q=0,r=0,s=0.0,t=0.0,v=0.0,w=0,x=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0;y=u;u=u+192|0;l=y+160|0;j=y+136|0;h=y+112|0;n=y+88|0;o=y+56|0;q=y;r=y+32|0;D=+p[a>>3];d=a+8|0;g=+p[d>>3];e=a+16|0;t=+p[e>>3];C=g*0.0;I=C-t;G=t*0.0;s=D*0.0;z=G-s;v=D-C;m=a+24|0;k=+p[m>>3]*2.0;H=I*k+0.0+(g*v-t*z)*2.0;F=z*k+1.0+(t*I-D*v)*2.0;I=v*k+0.0+(D*z-g*I)*2.0;z=C-G;v=t-s;E=s-g;B=z*k+1.0+(g*E-t*v)*2.0;A=v*k+0.0+(t*z-D*E)*2.0;z=E*k+0.0+(D*v-g*z)*2.0;p[l>>3]=B;p[l+8>>3]=A;p[l+16>>3]=z;v=-g-G;G=D+G;C=s-C;s=v*k+0.0+(g*C-t*G)*2.0;t=G*k+0.0+(t*v-D*C)*2.0;v=C*k+-1.0+(D*G-g*v)*2.0;w=b+16|0;g=+p[w>>3];x=b+8|0;G=+p[x>>3];D=t*g-v*G;k=+p[b>>3];C=v*k-s*g;E=s*G-t*k;p[j>>3]=D;p[j+8>>3]=C;p[j+16>>3]=E;i=F*g-I*G;g=I*k-H*g;k=H*G-F*k;p[h>>3]=i;p[h+8>>3]=g;p[h+16>>3]=k;h=E*E+(D*D+C*C)>k*k+(i*i+g*g)?j:h;f[n>>2]=f[h>>2];f[n+4>>2]=f[h+4>>2];f[n+8>>2]=f[h+8>>2];f[n+12>>2]=f[h+12>>2];f[n+16>>2]=f[h+16>>2];f[n+20>>2]=f[h+20>>2];g=+p[n>>3];h=n+8|0;i=+p[h>>3];j=n+16|0;k=+p[j>>3];if(B*g+A*i+z*k<0.0){p[n>>3]=-g;p[h>>3]=-i;p[j>>3]=-k}J=o+24|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;f[o+16>>2]=0;f[o+20>>2]=0;p[J>>3]=1.0;z3a(o,l,n);B=+p[J>>3];C=+p[a>>3];D=+p[o>>3];E=+p[m>>3];F=+p[o+8>>3];G=+p[e>>3];H=+p[o+16>>3];I=+p[d>>3];p[m>>3]=B*E-C*D-F*I-G*H;p[e>>3]=E*H+(B*G+D*I-C*F);p[d>>3]=C*H+(E*F+(B*I-D*G));p[a>>3]=B*C+D*E+F*G-H*I;if(!c){u=y;return}I=+p[h>>3];G=+p[j>>3];H=+p[n>>3];if(!((v*I-t*G)*+p[b>>3]+(s*G-v*H)*+p[x>>3]+(t*H-s*I)*+p[w>>3]<0.0)){u=y;return}f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[r+12>>2]=0;p[r+16>>3]=1.0;w3a(q,3.141592653589793,r);B=+p[m>>3];D=+p[q>>3];E=+p[a>>3];C=+p[q+24>>3];F=+p[d>>3];H=+p[q+16>>3];I=+p[e>>3];G=+p[q+8>>3];p[a>>3]=B*D+E*C+F*H-I*G;p[d>>3]=D*I+(C*F+(B*G-E*H));p[e>>3]=C*I+(B*H+E*G-D*F);p[m>>3]=B*C-D*E-F*G-H*I;u=y;return}function sta(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;var h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.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.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,L=0.0,M=0.0,N=0.0,O=0.0;D=u;u=u+128|0;C=D;k3a(C,a+184|0);O=+p[C+24>>3];H=O*0.0;G=+p[C+56>>3];k=+p[C+88>>3];L=k*0.0;I=+p[C+120>>3];x=1.0/(I+(H+G+L));N=+p[C>>3];E=N*0.0;w=+p[C+32>>3];r=+p[C+64>>3];q=r*0.0;F=+p[C+96>>3];o=x*(F+(E+w+q));M=+p[C+8>>3];B=M*0.0;l=+p[C+40>>3];v=+p[C+72>>3];t=v*0.0;A=+p[C+104>>3];s=x*(A+(B+l+t));J=+p[C+16>>3];j=J*0.0;i=+p[C+48>>3];z=+p[C+80>>3];y=z*0.0;m=+p[C+112>>3];x=x*(m+(j+i+y));G=G*0.0;L=1.0/(I+(O+G+L));w=w*0.0;q=L*(F+(N+w+q));l=l*0.0;t=L*(A+(M+l+t));i=i*0.0;y=L*(m+(J+i+y));k=1.0/(I+(H+G-k));r=k*(F+(E+w-r));v=k*(A+(B+l-v));z=k*(m+(j+i-z));i=d;j=e;C=a+224|0;m=+p[C>>3];d=+K(+(d*d+e*e));k=m;l=k*.7071067811865476;if(l>d)d=+K(+(m*m-d*d));else{O=k/1.4142135623730951;d=O*O/d}w=d;A=q*i+o*j-r*w;B=t*i+s*j-v*w;w=y*i+x*j-z*w;e=f;i=g;d=+K(+(f*f+g*g));if(l>d)d=+K(+(m*m-d*d));else{O=k/1.4142135623730951;d=O*O/d}m=q*e+o*i-r*d;l=t*e+s*i-v*d;d=y*e+x*i-z*d;e=w*l-B*d;i=A*d-w*m;j=B*m-A*l;p[b>>3]=e;a=b+8|0;p[a>>3]=i;h=b+16|0;p[h>>3]=j;O=+K(+(j*j+(e*e+i*i)));k=1.0/O;if(!(O>0.0)){M=m-A;N=l-B;O=d-w;M=M*M;N=N*N;N=M+N;O=O*O;N=O+N;N=+K(+N);O=+p[C>>3];O=O*2.0;O=N/O;b=O>1.0;O=b?1.0:O;b=O<-1.0;O=b?-1.0:O;O=+Q(+O);n[c>>2]=O;u=D;return}p[b>>3]=e*k;p[a>>3]=i*k;p[h>>3]=j*k;M=m-A;N=l-B;O=d-w;M=M*M;N=N*N;N=M+N;O=O*O;N=O+N;N=+K(+N);O=+p[C>>3];O=O*2.0;O=N/O;b=O>1.0;O=b?1.0:O;b=O<-1.0;O=b?-1.0:O;O=+Q(+O);n[c>>2]=O;u=D;return}function tta(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,g=0.0,h=0,i=0;h=u;u=u+16|0;e=h;g=+p[a>>3];do if(!(g<b))if(g>c){i=Nu(Hua(2)|0,408543,9)|0;d=Nu(Nu(i,d,Rmb(d)|0)|0,408553,4)|0;d=Nu(isb(Nu(isb(d,+p[a>>3])|0,408600,41)|0,c)|0,486551,1)|0;Drb(e,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);i=utb(e,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(e);ksb(d,i)|0;Krb(d)|0;b=c;break}else{u=h;return}else{i=Nu(Hua(2)|0,408543,9)|0;i=Nu(Nu(i,d,Rmb(d)|0)|0,408553,4)|0;i=Nu(isb(Nu(isb(i,+p[a>>3])|0,408558,41)|0,b)|0,486551,1)|0;Drb(e,i+(f[(f[i>>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(i,d)|0;Krb(i)|0}while(0);p[a>>3]=b;u=h;return}function uta(a){a=a|0;Uua(a);GBb(a);return}function vta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,q=0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0;l=u;u=u+64|0;k=l+48|0;q=l+24|0;e=l;n=+p[a+8>>3];j=+p[d+16>>3];h=+p[a+16>>3];w=+p[d+8>>3];r=n*j-h*w;t=+p[d>>3];m=+p[a>>3];g=h*t-j*m;s=w*m-n*t;p[q>>3]=r;p[q+8>>3]=g;p[q+16>>3]=s;o=+p[b+8>>3];x=+p[b+16>>3];i=j*o-w*x;v=+p[b>>3];j=t*x-j*v;o=w*v-t*o;p[e>>3]=i;p[e+8>>3]=j;p[e+16>>3]=o;e=s*s+(r*r+g*g)>o*o+(i*i+j*j)?q:e;j=+p[e>>3];i=+p[e+8>>3];o=+p[e+16>>3];g=h*i-n*o;h=m*o-h*j;i=n*j-m*i;m=+K(+(i*i+(g*g+h*h)));e=m>0.0;j=1.0/m;if(m>=0.0){p[c>>3]=e?g*j:g;p[c+8>>3]=e?h*j:h;p[c+16>>3]=e?i*j:i;u=l;return}if(qZa(2)|0){q=Nu(Hua(2)|0,408689,75)|0;Drb(k,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);d=utb(k,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(k);ksb(q,d)|0;Krb(q)|0};f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];f[c+16>>2]=f[b+16>>2];f[c+20>>2]=f[b+20>>2];u=l;return}function wta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;e=b+12|0;v=+n[e>>2];w=+n[b>>2];if(!(v>=w))return;f=b+16|0;x=+n[f>>2];g=b+4|0;y=+n[g>>2];if(!(x>=y))return;c=b+20|0;s=+n[c>>2];d=b+8|0;t=+n[d>>2];if(!(s>=t))return;u=a+12|0;h=+n[u>>2];if(!(h>=0.0)){n[a>>2]=(v+w)*.5;n[a+4>>2]=(y+x)*.5;n[a+8>>2]=(t+s)*.5;w=+n[e>>2]-+n[b>>2];x=+n[f>>2]-+n[g>>2];y=+n[c>>2]-+n[d>>2];y=+K(+((w*w+x*x+y*y)*.25));n[u>>2]=y;return}p=+n[a>>2];c=a+4|0;q=+n[c>>2];d=a+8|0;r=+n[d>>2];o=-h;b=0;h=w;i=t;j=v;k=x;l=s;m=y;do{B=((b&1|0)==0?w:v)-p;A=((b&2|0)==0?y:x)-q;z=((b&4|0)==0?t:s)-r;C=+K(+(B*B+A*A+z*z));g=C>0.0;C=1.0/C;B=p+(g?B*C:B)*o;A=q+(g?A*C:A)*o;z=r+(g?z*C:z)*o;h=B<h?B:h;j=B>j?B:j;m=A<m?A:m;k=A>k?A:k;i=z<i?z:i;l=z>l?z:l;b=b+1|0}while((b|0)!=8);n[a>>2]=(h+j)*.5;n[c>>2]=(m+k)*.5;n[d>>2]=(i+l)*.5;A=j-h;B=k-m;C=l-i;C=+K(+((A*A+B*B+C*C)*.25));n[u>>2]=C;return}function xta(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;d=_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;c=hnb(d,409138)|0;if(!c){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{g=c+16&-16;e=EBb(g)|0;f[a>>2]=e;f[a+8>>2]=g|-2147483648;f[a+4>>2]=c;a=e;e=7}if((e|0)==7)YDb(a|0,d|0,c|0)|0;g=a+c|0;b[g>>0]=0;return}else{c=c-d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11){b[a+11>>0]=c;if(c)e=14}else{g=c+16&-16;e=EBb(g)|0;f[a>>2]=e;f[a+8>>2]=g|-2147483648;f[a+4>>2]=c;a=e;e=14}if((e|0)==14)YDb(a|0,d|0,c|0)|0;g=a+c|0;b[g>>0]=0;return}}function yta(a,b){a=a|0;b=b|0;return}function zta(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;rZa(a);f[a>>2]=334128;g=a+12|0;f[g>>2]=0;t4a(a+32|0,0);e=a+44|0;f[e>>2]=e;f[a+48>>2]=e;f[a+52>>2]=0;b[a+16>>0]=0;e=d$a()|0;d=f[e+4>>2]|0;h=a+24|0;f[h>>2]=f[e>>2];f[h+4>>2]=d;h=EBb(176)|0;rZa(h);d=h+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[h+24>>2]=2;f[h+28>>2]=0;b[h+32>>0]=0;p[h+40>>3]=0.0;f[h>>2]=334708;d=h+48|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[h+68>>2]=1280;f[h+72>>2]=1024;f[h+76>>2]=0;f[h+80>>2]=0;f[h+84>>2]=0;n[h+88>>2]=-1.0;n[h+92>>2]=1.0;n[h+96>>2]=-1.0;n[h+100>>2]=1.0;d=h+104|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[h+120>>2]=1;d=h+124|0;e=d+48|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));d=f[g>>2]|0;if((d|0)==(h|0)){h=f[g>>2]|0;h=h+120|0;f[h>>2]=c;h=a+56|0;b[h>>0]=1;return}f[g>>2]=h;h=h+8|0;f[h>>2]=(f[h>>2]|0)+1;if(!d){h=f[g>>2]|0;h=h+120|0;f[h>>2]=c;h=a+56|0;b[h>>0]=1;return}e=d+8|0;h=f[e>>2]|0;f[e>>2]=h-1;if((h|0)!=1){h=f[g>>2]|0;h=h+120|0;f[h>>2]=c;h=a+56|0;b[h>>0]=1;return}Rua(d,1,1);h=f[g>>2]|0;h=h+120|0;f[h>>2]=c;h=a+56|0;b[h>>0]=1;return}function Ata(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=a+32|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;e=a+44|0;c=a+52|0;if(f[c>>2]|0?(b=f[a+48>>2]|0,a=(f[e>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[a>>2],f[f[a>>2]>>2]=g,f[c>>2]=0,(b|0)!=(e|0)):0)do{a=b;b=f[b+4>>2]|0;c=f[a+8>>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);GBb(a)}while((b|0)!=(e|0));_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;return}function Bta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+32|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;g=(b|0)==0;if(!g){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}c=a+44|0;d=EBb(12)|0;f[d>>2]=0;f[d+8>>2]=b;if(!g){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}f[d+4>>2]=c;h=f[c>>2]|0;f[d>>2]=h;f[h+4>>2]=d;f[c>>2]=d;h=a+52|0;f[h>>2]=(f[h>>2]|0)+1;if(!g?(g=b+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(b,1,1);_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;return}function Cta(a,b,c){a=a|0;b=b|0;c=+c;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;q=u;u=u+16|0;m=q;o=a+32|0;_i[f[(f[o>>2]|0)+8>>2]&2047](o)|0;n=a+52|0;if(!(f[n>>2]|0)){n=0;m=f[o>>2]|0;m=m+12|0;m=f[m>>2]|0;_i[m&2047](o)|0;u=q;return n|0}e=a+44|0;k=a+48|0;i=f[k>>2]|0;h=i;a:do if((i|0)==(e|0))l=i;else{d=e;a=e;while(1){if(!(+p[(f[(f[d>>2]|0)+8>>2]|0)+40>>3]>c)){l=a;break a}d=f[d>>2]|0;a=d;if((i|0)==(a|0)){l=i;break}}}while(0);if((i|0)==(l|0)){n=0;m=f[o>>2]|0;m=m+12|0;m=f[m>>2]|0;_i[m&2047](o)|0;u=q;return n|0}j=b+8|0;a=h;e=i;do{d=EBb(12)|0;f[d>>2]=0;a=f[a+8>>2]|0;f[d+8>>2]=a;if(a|0){i=a+8|0;f[i>>2]=(f[i>>2]|0)+1}f[d+4>>2]=b;a=f[b>>2]|0;f[d>>2]=a;f[a+4>>2]=d;f[b>>2]=d;f[j>>2]=(f[j>>2]|0)+1;a=f[e+4>>2]|0;e=a}while((l|0)!=(e|0));h=b+4|0;a=f[h>>2]|0;if((a|0)!=(b|0)){e=b;do{d=e;g=+p[(f[(f[d>>2]|0)+8>>2]|0)+40>>3];if(g>c){if(qZa(4)|0){b=Nu(Hua(4)|0,409177,22)|0;b=isb(Nu(isb(b,+p[(f[(f[d>>2]|0)+8>>2]|0)+40>>3])|0,435636,4)|0,c)|0;Drb(m,b+(f[(f[b>>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(b,j)|0;Krb(b)|0}p[(f[(f[d>>2]|0)+8>>2]|0)+40>>3]=c;a=f[h>>2]|0}else c=g;e=f[e>>2]|0}while((a|0)!=(e|0))}a=f[k>>2]|0;if((a|0)==(l|0)){n=1;m=f[o>>2]|0;m=m+12|0;m=f[m>>2]|0;_i[m&2047](o)|0;u=q;return n|0}m=(f[l>>2]|0)+4|0;k=f[a>>2]|0;f[k+4>>2]=f[m>>2];f[f[m>>2]>>2]=k;do{d=a;a=f[a+4>>2]|0;f[n>>2]=(f[n>>2]|0)+-1;e=f[d+8>>2]|0;if(e|0?(k=e+8|0,m=f[k>>2]|0,f[k>>2]=m-1,(m|0)==1):0)Rua(e,1,1);GBb(d)}while((a|0)!=(l|0));a=1;n=f[o>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](o)|0;u=q;return a|0}function Dta(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+60>>2]=b;f[a+64>>2]=c;f[a+68>>2]=d;f[a+72>>2]=e;if(!g)return;n[a+88>>2]=0.0;n[a+96>>2]=0.0;n[a+92>>2]=+(d|0);n[a+100>>2]=+(e|0);return}function Eta(a,b,c){a=a|0;b=+b;c=+c;a=f[a+12>>2]|0;n[a+104>>2]=b;n[a+108>>2]=c;return}function Fta(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0,g=0,h=0,i=0;g=u;u=u+16|0;h=g;i=f[a+12>>2]|0;n[i+104>>2]=b;n[i+108>>2]=c;e=EBb(176)|0;f[h>>2]=346256;f[h+4>>2]=0;Aqa(e,i,h);f[e+48>>2]=(f[e+112>>2]|0)==0?16:8;p[e+40>>3]=d;Bta(a,e);u=g;return e|0}function Gta(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=+e;var g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;i=k;j=f[a+12>>2]|0;n[j+104>>2]=b;n[j+108>>2]=c;switch(d|0){case 2:case 1:{g=d;h=3;break}case 3:{g=4;h=3;break}default:{}}if((h|0)==3){h=j+112|0;f[h>>2]=f[h>>2]|g}g=EBb(176)|0;f[i>>2]=346256;f[i+4>>2]=0;Aqa(g,j,i);f[g+48>>2]=1;p[g+40>>3]=e;switch(d|0){case 2:case 1:break;case 3:{d=4;break}default:{Bta(a,g);u=k;return g|0}}f[g+84>>2]=d;Bta(a,g);u=k;return g|0}function Hta(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=+e;var g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;i=k;j=f[a+12>>2]|0;n[j+104>>2]=b;n[j+108>>2]=c;switch(d|0){case 1:{g=-2;h=4;break}case 2:{g=-3;h=4;break}case 3:{g=-5;h=4;break}default:{}}if((h|0)==4){h=j+112|0;f[h>>2]=f[h>>2]&g}g=EBb(176)|0;f[i>>2]=346256;f[i+4>>2]=0;Aqa(g,j,i);f[g+48>>2]=2;p[g+40>>3]=e;switch(d|0){case 2:case 1:break;case 3:{d=4;break}default:{Bta(a,g);u=k;return g|0}}f[g+84>>2]=d;Bta(a,g);u=k;return g|0}function Ita(a,b){a=a|0;b=+b;var c=0,d=0,e=0,g=0;d=u;u=u+16|0;e=d;c=EBb(176)|0;g=f[a+12>>2]|0;f[e>>2]=346256;f[e+4>>2]=0;Aqa(c,g,e);f[c+48>>2]=128;p[c+40>>3]=b;Bta(a,c);u=d;return c|0}function Jta(a){a=a|0;var c=0,d=0,e=0;e=u;u=u+16|0;c=e;a=f[a+12>>2]|0;d=EBb(176)|0;if(!a){rZa(d);a=d+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;b[d+32>>0]=0;p[d+40>>3]=0.0;f[d>>2]=334708;a=d+48|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;f[d+68>>2]=1280;f[d+72>>2]=1024;f[d+76>>2]=0;f[d+80>>2]=0;f[d+84>>2]=0;n[d+88>>2]=-1.0;n[d+92>>2]=1.0;n[d+96>>2]=-1.0;n[d+100>>2]=1.0;a=d+104|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;f[d+120>>2]=1;a=d+124|0;c=a+48|0;do{f[a>>2]=0;a=a+4|0}while((a|0)<(c|0));u=e;return d|0}else{f[c>>2]=346256;f[c+4>>2]=0;Aqa(d,a,c);u=e;return d|0}return 0}function Kta(a){a=a|0;var c=0,d=0;c=a+80|0;rZa(c);f[c>>2]=338032;d=a+92|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[a+104>>2]=2;f[a+108>>2]=0;VZa(a,334688,2,3);f[a>>2]=334152;f[c>>2]=334520;f[a+56>>2]=0;f[a+60>>2]=0;b[a+64>>0]=0;c=a+68|0;f[c>>2]=c;f[a+72>>2]=c;f[a+76>>2]=0;return}function Lta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=a+68|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+76|0;f[g>>2]=(f[g>>2]|0)+1;if(d)return;e=b+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1)return;Rua(b,1,1);return}function Mta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=f[b+52>>2]|0;if(((g|0)!=0?(f[g+24>>2]|0)!=0:0)?(d=f[b+56>>2]|0,(d|0)!=0):0)c=cCa(d)|0;else{c=0;d=0}e=a+52|0;g=f[e>>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?(h=g+8|0,c=f[h>>2]|0,f[h>>2]=c-1,(c|0)==1):0)Rua(g,1,1);c=f[e>>2]|0}if(!c)c=0;else c=(f[c+24>>2]|0)==0?0:d;f[a+56>>2]=c;f[a+104>>2]=f[b+104>>2];f[a+108>>2]=f[b+108>>2];e=f[b+96>>2]|0;g=f[b+92>>2]|0;h=f[b+100>>2]|0;f[a+88>>2]=f[b+88>>2];f[a+96>>2]=e;f[a+92>>2]=g;f[a+100>>2]=h;f[a+112>>2]=f[b+112>>2];f[a+120>>2]=f[b+120>>2];if((a|0)==(b|0))return;Nta(a+160|0,f[b+160>>2]|0,f[b+164>>2]|0);return}function Nta(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<i>>>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 Ota(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0;c=a+120|0;if((f[c>>2]|0)==(b|0))return;f[c>>2]=b;e=+n[a+100>>2];c=a+108|0;d=+n[a+96>>2];n[c>>2]=e-+n[c>>2]+d;c=f[a+156>>2]|0;if(!c)return;b=f[c+32>>2]|0;c=f[c+36>>2]|0;if((b|0)==(c|0))return;do{a=b+12|0;n[a>>2]=d+(e-+n[a>>2]);b=b+20|0}while((b|0)!=(c|0));return}function Pta(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;i=k;e=c+4|0;h=f[c+20>>2]|0;f[a>>2]=h;f[a+(f[h+-12>>2]|0)>>2]=f[c+24>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+28>>2];h=a+4|0;g=f[c+32>>2]|0;f[h>>2]=g;f[h+(f[g+-12>>2]|0)>>2]=f[c+36>>2];f[h+(f[(f[h>>2]|0)+-16>>2]|0)>>2]=f[c+40>>2];g=f[c+16>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+44>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+48>>2];f[h>>2]=f[c+52>>2];g=f[c+12>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+56>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+60>>2];f[h>>2]=f[c+64>>2];g=f[c+8>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+68>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+72>>2];f[h>>2]=f[c+76>>2];g=a+16|0;f[g+72>>2]=0;f[a+8>>2]=-1;b[a+12>>0]=1;p[g>>3]=0.0;p[a+24>>3]=-1.0;g=a+80|0;j=a+32|0;l=j+48|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(l|0));p[g>>3]=1.0;g=f[e>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+80>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+84>>2];f[h>>2]=f[c+88>>2];b[a+92>>0]=0;b[a+93>>0]=1;g=a+96|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;p[a+112>>3]=.01;p[a+120>>3]=0.0;f[a+128>>2]=0;p[a+136>>3]=0.0;b[a+144>>0]=1;f[a+148>>2]=0;g=a+152|0;f[g>>2]=d;f[a+156>>2]=0;e=f[c>>2]|0;f[a>>2]=e;f[a+(f[e+-12>>2]|0)>>2]=f[c+92>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[c+96>>2];f[h>>2]=f[c+100>>2];e=a+208|0;j=a+160|0;l=j+48|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(l|0));p[e>>3]=1.0;p[a+216>>3]=1.0;p[a+224>>3]=.8;l=f[(f[a>>2]|0)+292>>2]|0;p[i>>3]=.05;Fj[l&511](a,i,1);uj[f[(f[a>>2]|0)+288>>2]&31](a,.1);if(!(f[g>>2]&8)){u=k;return}uj[f[(f[a>>2]|0)+180>>2]&31](a,.2);u=k;return}function Qta(a,c){a=a|0;c=c|0;var d=0,e=0;d=a+256|0;rZa(d);e=a+268|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a+280>>2]=2;f[a+284>>2]=0;e=a+248|0;f[e>>2]=298888;f[e+8>>2]=299160;f[a+252>>2]=0;Pta(a,336444,c);f[a>>2]=336584;f[e>>2]=337072;f[d>>2]=337344;f[a+4>>2]=336916;b[a+144>>0]=0;return}function Rta(a){a=a|0;a=EBb(288)|0;Qta(a,5);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function Sta(a,b){a=a|0;b=b|0;var c=0;c=EBb(288)|0;rua(c,a,b);return c+(f[(f[c>>2]|0)+-16>>2]|0)|0}function Tta(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290632,-1)|0)!=0;return b|0}function Uta(a){a=a|0;return 408154}function Vta(a){a=a|0;return 409200}function Wta(a){a=a|0;var b=0,c=0,d=0,e=0;pta(a,336448);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);return}function Xta(a){a=a|0;var b=0,c=0,d=0,e=0;pta(a,336448);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);GBb(a);return}function Yta(a){a=a|0;a=EBb(288)|0;Qta(a,5);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function Zta(a,b){a=a|0;b=b|0;var c=0;c=EBb(288)|0;rua(c,a+-4|0,b);return c+(f[(f[c>>2]|0)+-16>>2]|0)|0}function _ta(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290632,-1)|0)!=0;return b|0}function $ta(a){a=a|0;return 408154}function aua(a){a=a|0;return 409200}function bua(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+-4|0;pta(c,336448);f[c+248>>2]=298888;b=c+256|0;f[b>>2]=299160;c=c+252|0;a=f[c>>2]|0;if(!a){f[c>>2]=0;Gva(b);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;e=a+8|0;d=f[e>>2]|0;f[e>>2]=d-1;if((d|0)!=1){f[c>>2]=0;Gva(b);return}Rua(a,1,1);f[c>>2]=0;Gva(b);return}function cua(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;a=a+-4|0;pta(a,336448);f[a+248>>2]=298888;b=a+256|0;f[b>>2]=299160;c=a+252|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;Gva(b);GBb(a);return}function dua(a){a=a|0;a=EBb(288)|0;Qta(a,5);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function eua(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-20>>2]|0)|0;a=EBb(288)|0;rua(a,c,b);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function fua(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290632,-1)|0)!=0;return b|0}function gua(a){a=a|0;return 408154}function hua(a){a=a|0;return 409200}function iua(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;pta(a,336448);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);return}function jua(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;pta(a,336448);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);GBb(a);return}function kua(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;pta(a,336448);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);return}function lua(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;pta(a,336448);b=a+248|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+252|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+256|0);GBb(a);return}function mua(a){a=a|0;a=EBb(288)|0;Qta(a,5);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function nua(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;a=EBb(288)|0;rua(a,c,b);return a+(f[(f[a>>2]|0)+-16>>2]|0)|0}function oua(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290632,-1)|0)!=0;return b|0}function pua(a){a=a|0;return 408154}function qua(a){a=a|0;return 409200}function rua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=a+256|0;Fva(e,b+(f[(f[b>>2]|0)+-16>>2]|0)|0,c);g=a+248|0;d=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;f[g>>2]=298888;f[g+8>>2]=299160;d=f[d+4>>2]|0;f[a+252>>2]=d;if(d|0){d=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}ysa(a,336448,b,c);f[a>>2]=220992;f[g>>2]=221480;f[e>>2]=221752;f[a+4>>2]=221324;c=a+160|0;d=b+160|0;f[c>>2]=f[d>>2];f[c+4>>2]=f[d+4>>2];f[c+8>>2]=f[d+8>>2];f[c+12>>2]=f[d+12>>2];f[c+16>>2]=f[d+16>>2];f[c+20>>2]=f[d+20>>2];c=a+184|0;d=b+184|0;f[c>>2]=f[d>>2];f[c+4>>2]=f[d+4>>2];f[c+8>>2]=f[d+8>>2];f[c+12>>2]=f[d+12>>2];f[c+16>>2]=f[d+16>>2];f[c+20>>2]=f[d+20>>2];f[c+24>>2]=f[d+24>>2];f[c+28>>2]=f[d+28>>2];p[a+216>>3]=+p[b+216>>3];p[a+224>>3]=+p[b+224>>3];p[a+232>>3]=+p[b+232>>3];p[a+240>>3]=+p[b+240>>3];f[a>>2]=336584;f[g>>2]=337072;f[e>>2]=337344;f[a+4>>2]=336916;return}function sua(a,b){a=a|0;b=b|0;a=f[a+28>>2]|0;if(!a)return;Bj[f[f[a>>2]>>2]&1023](a,b);return}function tua(a){a=a|0;return a|0}function uua(a){a=a|0;return a|0}function vua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((_i[f[(f[a>>2]|0)+148>>2]&2047](a)|0)==(b|0))return;c=a+28|0;a=f[c>>2]|0;if(!a){d=EBb(60)|0;f[d+4>>2]=0;a=d+8|0;f[a>>2]=0;e=d+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=337800;e=d+32|0;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[c>>2]=d;f[a>>2]=(f[a>>2]|0)+1;a=f[c>>2]|0}Bj[f[(f[a>>2]|0)+144>>2]&1023](a,b);return}function wua(a){a=a|0;a=f[a+28>>2]|0;if(!a){a=0;return a|0}a=_i[f[(f[a>>2]|0)+148>>2]&2047](a)|0;return a|0}function xua(a){a=a|0;a=f[a+28>>2]|0;if(!a){a=0;return a|0}a=_i[f[(f[a>>2]|0)+148>>2]&2047](a)|0;return a|0}function yua(a,b){a=a|0;b=b|0;return}function zua(a,b){a=a|0;b=b|0;return}function Aua(a){a=a|0;return 0}function Bua(a){a=a|0;return 0}function Cua(a){a=a|0;return 0}function Dua(a){a=a|0;return 0}function Eua(a,b){a=a|0;b=b|0;return 1}function Fua(a,b){a=a|0;b=b|0;return}function Gua(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,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=u;u=u+32|0;r=B+24|0;v=B+12|0;s=B;d=a+4|0;t=a+12|0;f[t>>2]=358656;p=EBb(32)|0;Hrb(p);f[p>>2]=337628;f[d>>2]=294972;f[t>>2]=294992;Brb(a+12|0,p);f[a+84>>2]=0;f[a+88>>2]=-1;f[d>>2]=337576;f[t>>2]=337596;f[a+8>>2]=f[a+36>>2];t=a+92|0;d=a+100|0;f[d>>2]=358656;p=EBb(60)|0;Qua(p);f[t>>2]=294972;f[d>>2]=294992;Brb(a+100|0,p);f[a+172>>2]=0;f[a+176>>2]=-1;f[t>>2]=337520;f[d>>2]=337540;f[a+96>>2]=f[a+124>>2];f[a>>2]=3;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;d=sh(409292)|0;if(!d){d=sh(409309)|0;if(!d)c=337520;else{c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;q=11}}else{c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;q=11}if((q|0)==11){OBb(s,v);o=s+11|0;n=b[o>>0]|0;c=n<<24>>24<0;p=s+4|0;a:do if((c?f[p>>2]|0:n&255)|0){d=c?f[s>>2]|0:s;do{c=(xnb(b[d>>0]|0)|0)&255;b[d>>0]=c;d=d+1|0;c=b[o>>0]|0;k=c<<24>>24<0;e=k?f[s>>2]|0:s;k=k?f[p>>2]|0:c&255;n=e+k|0}while((d|0)!=(n|0));l=n;m=e;h=(k|0)<6;b:do if(!h){g=e;d=k;while(1){d=d+-5|0;if(!d)break b;d=Ymb(g,65,d)|0;if(!d)break b;if(!(anb(d,409324,6)|0))break;g=d+1|0;d=l-g|0;if((d|0)<6)break b}if(!((d|0)==(n|0)|(d-m|0)==-1)){f[a>>2]=0;break a}}else h=1;while(0);i=(k|0)<5;c:do if(!i){g=e;d=k;while(1){d=d+-4|0;if(!d)break c;d=Ymb(g,70,d)|0;if(!d)break c;if(!(anb(d,409331,5)|0))break;g=d+1|0;d=l-g|0;if((d|0)<5)break c}if(!((d|0)==(n|0)|(d-m|0)==-1)){f[a>>2]=1;break a}}else i=1;while(0);j=(k|0)<4;d:do if(!j){g=e;d=k;while(1){d=d+-3|0;if(!d)break d;d=Ymb(g,87,d)|0;if(!d)break d;if(!(anb(d,460248,4)|0))break;g=d+1|0;d=l-g|0;if((d|0)<4)break d}if(!((d|0)==(n|0)|(d-m|0)==-1)){f[a>>2]=2;break a}}else j=1;while(0);e:do if(!h){g=e;d=k;while(1){d=d+-5|0;if(!d)break e;d=Ymb(g,78,d)|0;if(!d)break e;if(!(anb(d,409337,6)|0))break;g=d+1|0;d=l-g|0;if((d|0)<6)break e}if(!((d|0)==(n|0)|(d-m|0)==-1)){f[a>>2]=3;break a}}while(0);f:do if((k|0)>=10){g=e;d=k;while(1){d=d+-9|0;if(!d)break f;d=Ymb(g,68,d)|0;if(!d)break f;if(!(anb(d,409344,10)|0))break;g=d+1|0;d=l-g|0;if((d|0)<10)break f}if(!((d|0)==(n|0)|(d-m|0)==-1)){f[a>>2]=5;break a}}while(0);g:do if((k|0)>=8){g=e;d=k;while(1){d=d+-7|0;if(!d)break g;d=Ymb(g,68,d)|0;if(!d)break g;if(!(anb(d,409355,8)|0))break;g=d+1|0;d=l-g|0;if((d|0)<8)break g}if(!((d|0)==(n|0)|(d-m|0)==-1)){f[a>>2]=6;break a}}while(0);h:do if(!i){g=e;d=k;while(1){d=d+-4|0;if(!d)break h;d=Ymb(g,68,d)|0;if(!d)break h;if(!(anb(d,460237,5)|0))break;g=d+1|0;d=l-g|0;if((d|0)<5)break h}if(!((d|0)==(n|0)|(d-m|0)==-1)){f[a>>2]=5;break a}}while(0);if(!j){d=k;while(1){d=d+-3|0;if(!d){q=78;break a}d=Ymb(e,73,d)|0;if(!d){q=78;break a}if(!(anb(d,460243,4)|0))break;e=d+1|0;d=l-e|0;if((d|0)<4){q=78;break a}}if(!((d|0)==(n|0)|(d-m|0)==-1))f[a>>2]=4;else q=78}else q=78}else q=78;while(0);if((q|0)==78){q=Nu(503704,409364,39)|0;c=b[o>>0]|0;a=c<<24>>24<0;c=Nu(Nu(q,a?f[s>>2]|0:s,a?f[p>>2]|0:c&255)|0,409404,1)|0;Drb(r,c+(f[(f[c>>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(c,a)|0;Krb(c)|0;c=b[o>>0]|0}if(c<<24>>24<0)GBb(f[s>>2]|0);c=f[t>>2]|0}c=f[t+(f[c+-12>>2]|0)+24>>2]|0;if(((((c|0?(w=WCb(c,300688,295016,0)|0,w|0):0)?(x=w+52|0,(f[x>>2]|0)==0):0)?(y=EBb(12)|0,f[y+4>>2]=0,z=y+8|0,f[z>>2]=0,f[y>>2]=337692,A=f[x>>2]|0,(A|0)!=(y|0)):0)?(f[x>>2]=y,f[z>>2]=(f[z>>2]|0)+1,A|0):0)?(y=A+8|0,z=f[y>>2]|0,f[y>>2]=z-1,(z|0)==1):0)Rua(A,1,1);if((b[v+11>>0]|0)>=0){u=B;return}GBb(f[v>>2]|0);u=B;return}function Hua(a){a=a|0;var c=0,d=0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);c=(f[124868]|0)<(a|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if(c){a=499476;return a|0}c=f[124892]|0;d=c+56|0;if((f[d>>2]|0)!=(a|0)){_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0;f[d>>2]=a}if(b[497232]|0){a=499564;return a|0}if(!(DDb(497232)|0)){a=499564;return a|0}Gua(499472);a=499564;return a|0}function Iua(a){a=a|0;var b=0,c=0;f[a>>2]=337576;b=a+8|0;f[b>>2]=337596;f[a+32>>2]=0;Arb(a+8|0,0);c=f[a+4>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);mrb(a,337608);kqb(b);return}function Jua(a){a=a|0;var b=0,c=0;f[a>>2]=337576;b=a+8|0;f[b>>2]=337596;f[a+32>>2]=0;Arb(a+8|0,0);c=f[a+4>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);mrb(a,337608);kqb(b);GBb(a);return}function Kua(a){a=a|0;var b=0,c=0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[a>>2]=337576;b=a+8|0;f[b>>2]=337596;f[a+32>>2]=0;Arb(b,0);c=f[a+4>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);mrb(a,337608);kqb(b);return}function Lua(a){a=a|0;Jua(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function Mua(a){a=a|0;var b=0,c=0;f[a>>2]=337520;b=a+8|0;f[b>>2]=337540;f[a+32>>2]=0;Arb(a+8|0,0);c=f[a+4>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);mrb(a,337552);kqb(b);return}function Nua(a){a=a|0;var b=0,c=0;f[a>>2]=337520;b=a+8|0;f[b>>2]=337540;f[a+32>>2]=0;Arb(a+8|0,0);c=f[a+4>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);mrb(a,337552);kqb(b);GBb(a);return}function Oua(a){a=a|0;var b=0,c=0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[a>>2]=337520;b=a+8|0;f[b>>2]=337540;f[a+32>>2]=0;Arb(b,0);c=f[a+4>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+4>>2]&2047](c);mrb(a,337552);kqb(b);return}function Pua(a){a=a|0;Nua(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function Qua(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+48|0;c=e+32|0;d=e+16|0;Hrb(a);g=a+32|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[a+48>>2]=24;f[a>>2]=337736;f[a+52>>2]=0;f[a+56>>2]=3;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;g=EBb(4096)|0;f[c>>2]=g;f[c+8>>2]=-2147479552;f[c+4>>2]=4095;_Db(g|0,0,4096)|0;Nr(a,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;g=f[(f[a>>2]|0)+20>>2]|0;f[c>>2]=f[d>>2];f[c+4>>2]=f[d+4>>2];f[c+8>>2]=f[d+8>>2];f[c+12>>2]=f[d+12>>2];Ij[g&127](e,a,c,16);u=e;return}function Rua(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;h=u;u=u+16|0;g=h;e=f[a+4>>2]|0;if(!((e|0)==0|c^1))Sua(e,a);if(!d){u=h;return}e=a+8|0;if(f[e>>2]|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);c=(f[124868]|0)>2;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if(c){c=f[124892]|0;d=c+56|0;if((f[d>>2]|0)!=3){_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0;f[d>>2]=3}if((b[497232]|0)==0?(DDb(497232)|0)!=0:0){Gua(499472);c=499564}else c=499564}else c=499476;d=Nu(c,409406,77)|0;e=csb(d,f[e>>2]|0)|0;Drb(g,e+(f[(f[e>>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(e,d)|0;Krb(e)|0}}if(!0){tj[f[(f[a>>2]|0)+8>>2]&2047](a);u=h;return}else{Bj[f[(f[0>>2]|0)+16>>2]&1023](0,a);u=h;return}}function Sua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=a+12|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;h=a+28|0;c=f[h>>2]|0;i=a+32|0;if((c|0)!=(i|0)){e=c;while(1){c=f[e+16>>2]|0;Bj[f[(f[c>>2]|0)+8>>2]&1023](c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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 e=c}}Tua(h,f[i>>2]|0);f[a+36>>2]=0;f[h>>2]=i;f[i>>2]=0;f[a+24>>2]=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;return}function Tua(a,b){a=a|0;b=b|0;if(!b)return;else{Tua(a,f[b>>2]|0);Tua(a,f[b+4>>2]|0);GBb(b);return}}function Uua(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;e=u;u=u+16|0;c=e;f[a>>2]=337716;d=a+8|0;if(f[d>>2]|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Nu(Nu(jsb(Nu(Hua(2)|0,409484,42)|0,a)|0,409527,10)|0,409538,19)|0,409558,1)|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}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){h=Nu(Hua(2)|0,409560,39)|0;h=Nu(csb(h,f[d>>2]|0)|0,409600,29)|0;Drb(c,h+(f[(f[h>>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(h,g)|0;Krb(h)|0}}d=a+4|0;c=f[d>>2]|0;if(c|0)Sua(c,a);if(!(f[d>>2]|0)){f[d>>2]=0;u=e;return}c=f[d>>2]|0;g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[d>>2]=0;u=e;return}Rua(c,1,1);f[d>>2]=0;u=e;return}function Vua(a){a=a|0;Uua(a);GBb(a);return}function Wua(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)<3){Ypb(c,f[89495]|0)|0;return}else{Ypb(c,f[89527]|0)|0;return}}function Xua(a){a=a|0;Uua(a);GBb(a);return}function Yua(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=337736;c=a+52|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;f[a>>2]=304196;c=a+32|0;if((b[c+11>>0]|0)>=0){qqb(a);return}GBb(f[c>>2]|0);qqb(a);return}function Zua(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=337736;c=a+52|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;f[a>>2]=304196;c=a+32|0;if((b[c+11>>0]|0)>=0){qqb(a);GBb(a);return}GBb(f[c>>2]|0);qqb(a);GBb(a);return}function _ua(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+48|0;e=h+32|0;g=h+16|0;c=a+24|0;d=f[c>>2]|0;if((d|0)==(f[a+28>>2]|0))cj[f[(f[a>>2]|0)+52>>2]&1023](a,0)|0;else{f[c>>2]=d+1;b[d>>0]=0}c=f[a+52>>2]|0;if(c|0)Fj[f[(f[c>>2]|0)+12>>2]&511](c,f[a+56>>2]|0,f[a+20>>2]|0);f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;d=f[(f[a>>2]|0)+20>>2]|0;f[e>>2]=f[g>>2];f[e+4>>2]=f[g+4>>2];f[e+8>>2]=f[g+8>>2];f[e+12>>2]=f[g+12>>2];Ij[d&127](h,a,e,16);u=h;return 0}function $ua(a){a=a|0;qqb(a);GBb(a);return}function ava(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function bva(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+28>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+32>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+48>>2]|0;a=a+52|0;if((c|0)==(f[a>>2]|0))return;do{d=f[c>>2]|0;Bj[f[f[d>>2]>>2]&1023](d,b);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function cva(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=337800;e=a+48|0;g=f[e>>2]|0;if(g|0){h=a+52|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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)}d=a+36|0;e=f[d>>2]|0;if(e|0){g=a+40|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+32|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;Gva(a);return}i=d+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1){f[c>>2]=0;Gva(a);return}Rua(d,1,1);f[c>>2]=0;Gva(a);return}function dva(a){a=a|0;cva(a);GBb(a);return}function eva(a){a=a|0;var b=0;a=EBb(60)|0;f[a+4>>2]=0;f[a+8>>2]=0;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]=337800;b=a+32|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;return a|0}function fva(a,b){a=a|0;b=b|0;var c=0;c=EBb(60)|0;Eva(c,a,b);return c|0}function gva(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295072,0)|0)!=0;return b|0}function hva(a){a=a|0;return 409756}function iva(a){a=a|0;return 409731}function jva(a){a=a|0;return a|0}function kva(a){a=a|0;return a|0}function lva(a,b){a=a|0;b=b|0;var c=0;a=a+32|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(c,1,1);return}function mva(a){a=a|0;return f[a+32>>2]|0}function nva(a){a=a|0;return f[a+32>>2]|0}function ova(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;g=j;d=dj[f[(f[a>>2]|0)+188>>2]&255](a,b,0)|0;e=a+48|0;h=a+52|0;c=f[h>>2]|0;i=c-(f[e>>2]|0)>>2;if(d>>>0<i>>>0){i=d;u=j;return i|0}f[g>>2]=b;if(b){c=b+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[h>>2]|0}if(c>>>0<(f[a+56>>2]|0)>>>0){b=f[g>>2]|0;f[c>>2]=b;if(b){c=b+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[h>>2]|0}f[h>>2]=c+4}else Jw(e,g);c=f[g>>2]|0;if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);u=j;return i|0}function pva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=f[a+48>>2]|0;if((f[a+52>>2]|0)-d>>2>>>0<=b>>>0)return;a=d+(b<<2)|0;b=f[a>>2]|0;if((b|0)==(c|0))return;f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(!b)return;d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1)return;Rua(b,1,1);return}function qva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=a+52|0;e=f[h>>2]|0;a=f[a+48>>2]|0;c=e;if(e-a>>2>>>0<=b>>>0)return;a=a+(b<<2)|0;b=a+4|0;if((b|0)!=(c|0)){do{d=f[a>>2]|0;e=f[b>>2]|0;if((d|0)!=(e|0)){f[a>>2]=e;if(e|0){e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}if(d|0?(i=d+8|0,e=f[i>>2]|0,f[i>>2]=e-1,(e|0)==1):0)Rua(d,1,1)}b=b+4|0;a=a+4|0}while((b|0)!=(c|0));c=f[h>>2]|0;if((c|0)!=(a|0))g=12}else g=12;if((g|0)==12)do{c=c+-4|0;b=f[c>>2]|0;if(b|0?(g=b+8|0,i=f[g>>2]|0,f[g>>2]=i-1,(i|0)==1):0)Rua(b,1,1);f[c>>2]=0}while((c|0)!=(a|0));f[h>>2]=a;return}function rva(a,b){a=a|0;b=b|0;var c=0;c=f[a+48>>2]|0;if((f[a+52>>2]|0)-c>>2>>>0<=b>>>0){c=0;return c|0}c=f[c+(b<<2)>>2]|0;return c|0}function sva(a,b){a=a|0;b=b|0;var c=0;c=f[a+48>>2]|0;if((f[a+52>>2]|0)-c>>2>>>0<=b>>>0){c=0;return c|0}c=f[c+(b<<2)>>2]|0;return c|0}function tva(a){a=a|0;return (f[a+52>>2]|0)-(f[a+48>>2]|0)>>2|0}function uva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a+48>>2]|0;d=(f[a+52>>2]|0)-e>>2;a=e;if(d>>>0<=c>>>0){e=d;return e|0}while(1){if((f[a+(c<<2)>>2]|0)==(b|0)){a=5;break}c=c+1|0;if(c>>>0>=d>>>0){c=d;a=5;break}}if((a|0)==5)return c|0;return 0}function vva(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;i=f[a+48>>2]|0;k=(f[a+52>>2]|0)-i>>2;if(k>>>0<=d>>>0){n=k;return n|0}j=b[c+11>>0]|0;g=j<<24>>24<0;j=g?f[c+4>>2]|0:j&255;g=g?f[c>>2]|0:c;h=(j|0)==0;a:while(1){a=f[i+(d<<2)>>2]|0;do if(a|0?(l=a+12|0,n=b[l+11>>0]|0,m=n<<24>>24<0,n=n&255,((m?f[a+16>>2]|0:n)|0)==(j|0)):0){c=f[l>>2]|0;a=m?c:l;c=c&255;if(m){if(h){a=14;break a}if(!(anb(a,g,j)|0)){a=14;break a}else break}if(h){a=14;break a}if((b[g>>0]|0)==c<<24>>24){a=l;c=n;e=g;do{c=c+-1|0;a=a+1|0;if(!c){a=14;break a}e=e+1|0}while((b[a>>0]|0)==(b[e>>0]|0))}}while(0);d=d+1|0;if(d>>>0>=k>>>0){d=k;a=14;break}}if((a|0)==14)return d|0;return 0}function wva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a>>2]|0;d=f[e+176>>2]|0;c=dj[f[e+192>>2]&255](a,b,c)|0;return cj[d&1023](a,c)|0}function xva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a>>2]|0;d=f[e+180>>2]|0;c=dj[f[e+192>>2]&255](a,b,c)|0;return cj[d&1023](a,c)|0}function yva(a,b){a=a|0;b=b|0;a=a+36|0;if((a|0)==(b|0))return;Dva(a,f[b>>2]|0,f[b+4>>2]|0);return}function zva(a){a=a|0;return a+36|0}function Ava(a){a=a|0;return a+36|0}function Bva(a){a=a|0;return ((f[a+40>>2]|0)-(f[a+36>>2]|0)|0)/12|0|0}function Cva(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+40|0;d=f[c>>2]|0;if((d|0)==(f[a+44>>2]|0)){Ru(a+36|0,b);return}else{OBb(d,b);f[c>>2]=(f[c>>2]|0)+12;return}}function Dva(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=(d-c|0)/12|0;k=a+8|0;e=f[k>>2]|0;i=f[a>>2]|0;g=i;if(j>>>0<=((e-i|0)/12|0)>>>0){a=a+4|0;e=((f[a>>2]|0)-i|0)/12|0;h=j>>>0>e>>>0;e=c+(e*12|0)|0;i=h?e:d;if((i|0)!=(c|0))do{UBb(g,c)|0;c=c+12|0;g=g+12|0}while((c|0)!=(i|0));if(h){if((i|0)==(d|0))return;c=f[a>>2]|0;do{OBb(c,e);e=e+12|0;c=(f[a>>2]|0)+12|0;f[a>>2]=c}while((e|0)!=(d|0));return}e=f[a>>2]|0;if((e|0)!=(g|0))do{e=e+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(g|0));f[a>>2]=g;return}if(i){h=a+4|0;e=f[h>>2]|0;if((e|0)==(g|0))e=i;else{do{e=e+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(g|0));e=f[a>>2]|0}f[h>>2]=g;GBb(e);f[k>>2]=0;f[h>>2]=0;f[a>>2]=0;e=0}if(j>>>0>357913941)DCb(a);i=(e|0)/12|0;g=i<<1;g=i>>>0<178956970?(g>>>0<j>>>0?j:g):357913941;if(g>>>0>357913941)DCb(a);e=EBb(g*12|0)|0;h=a+4|0;f[h>>2]=e;f[a>>2]=e;f[k>>2]=e+(g*12|0);if((c|0)==(d|0))return;do{OBb(e,c);c=c+12|0;e=(f[h>>2]|0)+12|0;f[h>>2]=e}while((c|0)!=(d|0));return}function Eva(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=u;u=u+16|0;g=k;Fva(a,b,c);f[a>>2]=337800;e=a+32|0;h=a+48|0;i=a+52|0;j=a+56|0;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;d=f[b+32>>2]|0;if(d|0){f[e>>2]=d;e=d+8|0;f[e>>2]=(f[e>>2]|0)+1}if((a|0)!=(b|0))Dva(a+36|0,f[b+36>>2]|0,f[b+40>>2]|0);a=f[b+48>>2]|0;b=b+52|0;if((a|0)==(f[b>>2]|0)){u=k;return}do{d=cj[f[(f[c>>2]|0)+12>>2]&1023](c,f[a>>2]|0)|0;f[g>>2]=d;if(d|0){e=d+8|0;f[e>>2]=(f[e>>2]|0)+1}d=f[i>>2]|0;if(d>>>0<(f[j>>2]|0)>>>0){e=f[g>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[i>>2]|0}f[i>>2]=d+4}else Jw(h,g);d=f[g>>2]|0;if(d|0?(l=d+8|0,e=f[l>>2]|0,f[l>>2]=e-1,(e|0)==1):0)Rua(d,1,1);a=a+4|0}while((a|0)!=(f[b>>2]|0));u=k;return}function Fva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=338032;OBb(a+12|0,b+12|0);f[a+24>>2]=f[b+24>>2];d=a+28|0;f[d>>2]=0;a=f[b+28>>2]|0;if(!a)return;if(!(f[c+4>>2]&4096)){f[d>>2]=a;d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;return}a=Iva(a,c)|0;b=f[d>>2]|0;if((b|0)==(a|0))return;if(b|0?(e=b+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(b,1,1);f[d>>2]=a;if(!a)return;e=a+8|0;f[e>>2]=(f[e>>2]|0)+1;return}function Gva(a){a=a|0;var c=0,d=0,e=0;f[a>>2]=338032;c=f[a+28>>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);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function Hva(a){a=a|0;mi()}function Iva(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,295104,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function Jva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Fva(a,b,c);f[a>>2]=338204;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;d=f[b+44>>2]|0;f[a+44>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}d=cj[f[(f[c>>2]|0)+64>>2]&1023](c,f[b+48>>2]|0)|0;f[a+48>>2]=d;if(d|0){d=d+(f[(f[d>>2]|0)+-16>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}d=cj[f[(f[c>>2]|0)+64>>2]&1023](c,f[b+52>>2]|0)|0;f[a+52>>2]=d;if(!d)return;a=d+(f[(f[d>>2]|0)+-16>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;return}function Kva(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=338204;b=a+52|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-16>>2]|0)|0,g=d+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+48|0;c=f[b>>2]|0;if(c|0?(e=c+(f[(f[c>>2]|0)+-16>>2]|0)|0,d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);f[b>>2]=0;b=a+44|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+32>>2]|0;if(!b){Gva(a);return}f[a+36>>2]=b;GBb(b);Gva(a);return}function Lva(a){a=a|0;mi()}function Mva(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,282664,0)|0)!=0;return b|0}function Nva(a){a=a|0;return 409756}function Ova(a){a=a|0;return 410011}function Pva(a,b){a=a|0;b=b|0;return 0}function Qva(a,b){a=a|0;b=b|0;return}function Rva(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;f[a>>2]=338416;d=f[a+20>>2]|0;if(d|0){e=f[d>>2]|0;if(e|0){g=d+4|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}GBb(d)}d=f[a+24>>2]|0;if(d|0){e=f[d>>2]|0;if(e|0){g=d+4|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}GBb(d)}d=f[a+28>>2]|0;if(d|0){e=f[d>>2]|0;if(e|0){g=d+4|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}GBb(d)}d=f[a+32>>2]|0;if(d|0){e=f[d>>2]|0;if(e|0){g=d+4|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}GBb(d)}i=a+36|0;c=f[i>>2]|0;j=a+40|0;b=f[j>>2]|0;if((c|0)!=(b|0))do{h=f[c>>2]|0;if(h){e=f[h>>2]|0;if(e|0){g=h+4|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;d=f[b>>2]|0;if(d|0?(l=d+8|0,k=f[l>>2]|0,f[l>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[h>>2]|0}f[g>>2]=e;GBb(b)}GBb(h);b=f[j>>2]|0}c=c+4|0}while((c|0)!=(b|0));b=f[a+48>>2]|0;if(b|0){f[a+52>>2]=b;GBb(b)}b=f[i>>2]|0;if(!b){Uua(a);return}f[j>>2]=b;GBb(b);Uua(a);return}function Sva(a){a=a|0;Rva(a);GBb(a);return}function Tva(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+28>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+120>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[f[c>>2]>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[f[c>>2]>>2]&1023](c,b)}c=f[a+100>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[f[c>>2]>>2]&1023](c,b)}c=f[a+124>>2]|0;a=a+128|0;if((c|0)==(f[a>>2]|0))return;do{d=f[c>>2]|0;Bj[f[f[d>>2]>>2]&1023](d,b);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function Uva(a){a=a|0;return a|0}function Vva(a){a=a|0;return a|0}function Wva(a){a=a|0;return 0}function Xva(a){a=a|0;return 0}function Yva(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+120>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+100>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+124>>2]|0;a=a+128|0;if((c|0)==(f[a>>2]|0))return;do{d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+156>>2]&1023](d,b);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function Zva(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+120>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+100>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+124>>2]|0;a=a+128|0;if((c|0)==(f[a>>2]|0))return;do{d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+160>>2]&1023](d,b);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function _va(a){a=a|0;return 0}function $va(a){a=a|0;return 0}function awa(a){a=a|0;return a|0}function bwa(a){a=a|0;return a|0}function cwa(a){a=a|0;return 0}function dwa(a){a=a|0;return 0}function ewa(a){a=a|0;return 0}function fwa(a){a=a|0;return 0}function gwa(a){a=a|0;return a|0}function hwa(a){a=a|0;return a|0}function iwa(a){a=a|0;return 0}function jwa(a){a=a|0;return 0}function kwa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+72>>2]|0;d=f[a+76>>2]|0;if((c|0)==(d|0))return;a=c;do{c=f[a>>2]|0;Bj[f[(f[c>>2]|0)+212>>2]&1023](c,b);a=a+4|0}while((a|0)!=(d|0));return}function lwa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+124>>2]|0;a=a+128|0;if((c|0)==(f[a>>2]|0))return;do{d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+212>>2]&1023](d,b);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function mwa(a,b){a=a|0;b=b|0;return nwa(a,(f[a+128>>2]|0)-(f[a+124>>2]|0)>>2,b)|0}function nwa(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+16|0;k=m+8|0;h=m+4|0;i=m;if(!d){d=0;u=m;return d|0}e=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;if(e|0?b[e+276>>0]|0:0)Hwa(e);g=a+124|0;j=a+128|0;e=f[g>>2]|0;l=(f[j>>2]|0)-e>>2;if(l>>>0>c>>>0){f[h>>2]=e+(c<<2);f[i>>2]=d;e=d+8|0;f[e>>2]=(f[e>>2]|0)+1;f[k>>2]=f[h>>2];Iwa(g,k,i)|0;e=f[i>>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)}else{f[k>>2]=d;c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[j>>2]|0;if(c>>>0<(f[a+132>>2]|0)>>>0){e=f[k>>2]|0;f[c>>2]=e;if(e){c=e+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[j>>2]|0}f[j>>2]=c+4}else GX(g,k);c=f[k>>2]|0;if(c|0?(j=c+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(c,1,1);c=l}Awa(d,a);Bj[f[(f[a>>2]|0)+260>>2]&1023](a,c);ywa(a);if(!((f[d+88>>2]|0)==0?!(f[d+84>>2]|0):0))Bwa(a,(f[a+88>>2]|0)+1|0);if(!((f[d+96>>2]|0)==0?!(f[d+92>>2]|0):0))Cwa(a,(f[a+96>>2]|0)+1|0);if(!((f[d+108>>2]|0)==0?(b[d+104>>0]|0)!=0:0))Dwa(a,(f[a+108>>2]|0)+1|0);if((f[d+112>>2]|0)==0?(WCb(d,295136,295152,0)|0)==0:0){d=1;u=m;return d|0}Ewa(a,(f[a+112>>2]|0)+1|0);d=1;u=m;return d|0}function owa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=f[a+124>>2]|0;c=(f[a+128>>2]|0)-d|0;e=c>>2;a:do if(!c)c=0;else{c=0;while(1){if((f[d+(c<<2)>>2]|0)==(b|0))break a;c=c+1|0;if(c>>>0>=e>>>0){c=0;break}}return c|0}while(0);if(c>>>0>=e>>>0){e=0;return e|0}e=dj[f[(f[a>>2]|0)+240>>2]&255](a,c,1)|0;return e|0}function pwa(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;z=u;u=u+16|0;v=z+12|0;t=z+8|0;w=z+4|0;x=z;y=a+124|0;g=a+128|0;h=f[y>>2]|0;e=(f[g>>2]|0)-h>>2;if(!((d|0)!=0&e>>>0>c>>>0)){y=0;u=z;return y|0}d=d+c|0;if(d>>>0>e>>>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){s=Nu(Hua(5)|0,410169,86)|0;Drb(v,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);p=utb(v,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(v);ksb(s,p)|0;Krb(s)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){s=Nu(Hua(5)|0,410256,66)|0;Drb(v,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);p=utb(v,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(v);ksb(s,p)|0;Krb(s)|0}j=f[y>>2]|0;s=(f[g>>2]|0)-j>>2}else{s=d;j=h}a:do if(s>>>0>c>>>0){e=c;i=0;h=0;g=0;d=0;while(1){p=f[j+(e<<2)>>2]|0;m=zwa()|0;n=(m|0)==0;if(!n)_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;j=f[p+72>>2]|0;o=p+76|0;k=f[o>>2]|0;l=k;b:do if((j|0)==(k|0)){q=j;r=24}else do{if((f[j>>2]|0)==(a|0)){q=j;r=24;break b}j=j+4|0}while((j|0)!=(k|0));while(0);if((r|0)==24?(r=0,(q|0)!=(k|0)):0){k=q+4|0;j=l-k|0;if(j|0)ZDb(q|0,k|0,j|0)|0;f[o>>2]=q+(j>>2<<2)}if(!n)_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;if(!((f[p+88>>2]|0)==0?(f[p+84>>2]|0)==0:0))d=d+1|0;if(!((f[p+96>>2]|0)==0?(f[p+92>>2]|0)==0:0))g=g+1|0;if(!((f[p+108>>2]|0)==0?(b[p+104>>0]|0)!=0:0))h=h+1|0;if(!((f[p+112>>2]|0)==0?(WCb(p,295136,295152,0)|0)==0:0))i=i+1|0;e=e+1|0;if(e>>>0>=s>>>0){e=y;break a}j=f[y>>2]|0}}else{i=0;h=0;g=0;d=0;e=y}while(0);Fj[f[(f[a>>2]|0)+256>>2]&511](a,c,s-c|0);r=f[e>>2]|0;f[w>>2]=r+(c<<2);f[x>>2]=r+(s<<2);f[t>>2]=f[w>>2];f[v>>2]=f[x>>2];Gwa(y,t,v)|0;if(d|0)Bwa(a,(f[a+88>>2]|0)-d|0);if(g|0)Cwa(a,(f[a+96>>2]|0)-g|0);if(h|0)Dwa(a,(f[a+108>>2]|0)-h|0);if(i|0)Ewa(a,(f[a+112>>2]|0)-i|0);ywa(a);y=1;u=z;return y|0}function qwa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;if((c|0)==0|(b|0)==(c|0)){c=0;return c|0}e=f[a+124>>2]|0;d=(f[a+128>>2]|0)-e|0;g=d>>2;a:do if(!d)d=0;else{d=0;while(1){if((f[e+(d<<2)>>2]|0)==(b|0))break a;d=d+1|0;if(d>>>0>=g>>>0){d=0;break}}return d|0}while(0);if(d>>>0>=g>>>0){c=0;return c|0}c=dj[f[(f[a>>2]|0)+252>>2]&255](a,d,c)|0;return c|0}function rwa(a){a=a|0;return (f[a+128>>2]|0)-(f[a+124>>2]|0)>>2|0}function swa(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;n=a+124|0;e=f[n>>2]|0;if(!(d|0?(f[a+128>>2]|0)-e>>2>>>0>c>>>0:0)){a=0;return a|0}o=f[e+(c<<2)>>2]|0;if(o|0){l=o+8|0;f[l>>2]=(f[l>>2]|0)+1}j=zwa()|0;k=(j|0)==0;if(!k)_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;e=f[o+72>>2]|0;l=o+76|0;g=f[l>>2]|0;h=g;a:do if((e|0)==(g|0)){m=e;i=10}else do{if((f[e>>2]|0)==(a|0)){m=e;i=10;break a}e=e+4|0}while((e|0)!=(g|0));while(0);if((i|0)==10?(m|0)!=(g|0):0){g=m+4|0;e=h-g|0;if(e|0)ZDb(m|0,g|0,e|0)|0;f[l>>2]=m+(e>>2<<2)}if(!k)_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;e=(f[n>>2]|0)+(c<<2)|0;g=f[e>>2]|0;if(((g|0)!=(d|0)?(f[e>>2]=d,n=d+8|0,f[n>>2]=(f[n>>2]|0)+1,g|0):0)?(c=g+8|0,n=f[c>>2]|0,f[c>>2]=n-1,(n|0)==1):0)Rua(g,1,1);Awa(d,a);ywa(a);if((f[o+88>>2]|0)==0?(f[o+84>>2]|0)==0:0)e=0;else e=-1;if(!((f[d+88>>2]|0)==0?(f[d+84>>2]|0)==0:0))e=e+1|0;if(e|0)Bwa(a,(f[a+88>>2]|0)+e|0);if((f[o+96>>2]|0)==0?(f[o+92>>2]|0)==0:0)e=0;else e=-1;if(!((f[d+96>>2]|0)==0?(f[d+92>>2]|0)==0:0))e=e+1|0;if(e|0)Cwa(a,(f[a+96>>2]|0)+e|0);if((f[o+108>>2]|0)==0?(b[o+104>>0]|0)!=0:0)e=0;else e=-1;if(!((f[d+108>>2]|0)==0?(b[d+104>>0]|0)!=0:0))e=e+1|0;if(e|0)Dwa(a,(f[a+108>>2]|0)+e|0);if((f[o+112>>2]|0)==0?(WCb(o,295136,295152,0)|0)==0:0)e=0;else e=-1;if(!((f[d+112>>2]|0)==0?(WCb(d,295136,295152,0)|0)==0:0))e=e+1|0;if(e|0)Ewa(a,(f[a+112>>2]|0)+e|0);d=o+8|0;a=f[d>>2]|0;f[d>>2]=a-1;if((a|0)!=1){a=1;return a|0}Rua(o,1,1);a=1;return a|0}function twa(a,b,c){a=a|0;b=b|0;c=c|0;return}function uwa(a,b){a=a|0;b=b|0;return}function vwa(a,b,c){a=a|0;b=b|0;c=c|0;return dj[f[(f[a>>2]|0)+240>>2]&255](a,b,c)|0}function wwa(a,b,c){a=a|0;b=b|0;c=c|0;return dj[f[(f[a>>2]|0)+244>>2]&255](a,b,c)|0}function xwa(a,b,c){a=a|0;b=b|0;c=c|0;return dj[f[(f[a>>2]|0)+252>>2]&255](a,b,c)|0}function ywa(a){a=a|0;var c=0;c=a+68|0;if(!(b[c>>0]|0))return;b[c>>0]=0;c=f[a+72>>2]|0;a=a+76|0;if((c|0)==(f[a>>2]|0))return;do{ywa(f[c>>2]|0);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function zwa(){var a=0;if((b[497240]|0)==0?DDb(497240)|0:0){a=EBb(12)|0;t4a(a,0);f[124913]=a}return f[124913]|0}function Awa(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;f[d>>2]=b;e=zwa()|0;g=(e|0)==0;if(!g)_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;h=a+76|0;c=f[h>>2]|0;if((c|0)==(f[a+80>>2]|0))Fwa(a+72|0,d);else{f[c>>2]=b;f[h>>2]=(f[h>>2]|0)+4}if(g){u=i;return}_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;u=i;return}function Bwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+88|0;d=f[h>>2]|0;if((d|0)==(b|0))return;if(((f[a+84>>2]|0)==0?(c=f[a+72>>2]|0,g=a+76|0,(c|0)!=(f[g>>2]|0)):0)?(e=(((d|0)!=0)<<31>>31)+((b|0)!=0&1)|0,e|0):0)do{d=f[c>>2]|0;Bwa(d,(f[d+88>>2]|0)+e|0);c=c+4|0}while((c|0)!=(f[g>>2]|0));f[h>>2]=b;return}function Cwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+96|0;d=f[h>>2]|0;if((d|0)==(b|0))return;if(((f[a+92>>2]|0)==0?(c=f[a+72>>2]|0,g=a+76|0,(c|0)!=(f[g>>2]|0)):0)?(e=(((d|0)!=0)<<31>>31)+((b|0)!=0&1)|0,e|0):0)do{d=f[c>>2]|0;Cwa(d,(f[d+96>>2]|0)+e|0);c=c+4|0}while((c|0)!=(f[g>>2]|0));f[h>>2]=b;return}function Dwa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=a+108|0;e=f[i>>2]|0;if((e|0)==(c|0))return;if((b[a+104>>0]|0?(d=f[a+72>>2]|0,h=a+76|0,(d|0)!=(f[h>>2]|0)):0)?(g=(((e|0)!=0)<<31>>31)+((c|0)!=0&1)|0,g|0):0)do{e=f[d>>2]|0;Dwa(e,(f[e+108>>2]|0)+g|0);d=d+4|0}while((d|0)!=(f[h>>2]|0));f[i>>2]=c;return}function Ewa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=a+112|0;d=f[g>>2]|0;if((d|0)==(b|0))return;if(((WCb(a,295136,295152,0)|0)==0?(c=f[a+72>>2]|0,h=a+76|0,(c|0)!=(f[h>>2]|0)):0)?(e=(((d|0)!=0)<<31>>31)+((b|0)!=0&1)|0,e|0):0)do{d=f[c>>2]|0;Ewa(d,(f[d+112>>2]|0)+e|0);c=c+4|0}while((c|0)!=(f[h>>2]|0));f[g>>2]=b;return}function Fwa(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<c>>>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 Gwa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=f[a>>2]|0;d=f[b>>2]|0;h=h+(d-h>>2<<2)|0;b=f[c>>2]|0;if((b|0)==(d|0))return h|0;b=h+(b-d>>2<<2)|0;g=a+4|0;e=f[g>>2]|0;if((b|0)==(e|0))d=h;else{d=h;do{c=f[d>>2]|0;a=f[b>>2]|0;if((c|0)!=(a|0)){f[d>>2]=a;if(a|0){a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}if(c|0?(i=c+8|0,a=f[i>>2]|0,f[i>>2]=a-1,(a|0)==1):0)Rua(c,1,1)}b=b+4|0;d=d+4|0}while((b|0)!=(e|0));b=f[g>>2]|0}if((b|0)!=(d|0))do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,i=f[e>>2]|0,f[e>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));f[g>>2]=d;return h|0}function Hwa(a){a=a|0;var c=0,e=0,g=0,i=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;M=u;u=u+64|0;K=M+48|0;L=M+36|0;J=M+24|0;H=M+12|0;G=M;I=a+276|0;if(!(b[I>>0]|0)){u=M;return}F=a+232|0;c=f[F>>2]|0;if((c|0?(e=_i[f[(f[c>>2]|0)+148>>2]&2047](c)|0,e|0):0)?(g=WCb(e,295048,285152,0)|0,g|0):0)Lwa(a,Kwa(f[F>>2]|0,g)|0);E=a+236|0;e=f[E>>2]|0;if(e){c=(f[e+64>>2]|0)==3;e=_i[f[(f[e>>2]|0)+148>>2]&2047](e)|0;if((e|0)!=0?(k=WCb(e,295048,285152,0)|0,(k|0)!=0):0){i=a+236|0;l=Kwa(f[i>>2]|0,k)|0;e=(l|0)==0;g=f[i>>2]|0;if((g|0)!=(l|0)){f[i>>2]=l;if(!e){y=l+8|0;f[y>>2]=(f[y>>2]|0)+1}if(g|0?(x=g+8|0,y=f[x>>2]|0,f[x>>2]=y-1,(y|0)==1):0)Rua(g,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);if(!e){e=f[a+200>>2]|0;k=a+204|0;g=f[k>>2]|0;if((e|0)!=(g|0))do{i=f[e>>2]|0;if(i){Mwa(i);g=f[k>>2]|0}e=e+4|0}while((e|0)!=(g|0));Nwa(a,l)}}}else c=0;i=a+240|0;e=f[i>>2]|0;if(e){c=c|(f[e+64>>2]|0)==3;m=a+240|0;e=_i[f[(f[e>>2]|0)+148>>2]&2047](e)|0;if((e|0)!=0?(n=WCb(e,295048,285152,0)|0,(n|0)!=0):0){l=Kwa(f[i>>2]|0,n)|0;e=(l|0)==0;g=f[i>>2]|0;if((g|0)!=(l|0)){f[i>>2]=l;if(!e){y=l+8|0;f[y>>2]=(f[y>>2]|0)+1}if(g|0?(x=g+8|0,y=f[x>>2]|0,f[x>>2]=y-1,(y|0)==1):0)Rua(g,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);if(!e){g=f[a+200>>2]|0;k=a+204|0;e=f[k>>2]|0;if((g|0)!=(e|0))do{i=f[g>>2]|0;if(i){Owa(i);e=f[k>>2]|0}g=g+4|0}while((g|0)!=(e|0));Nwa(a,l);x=m;y=m}else{x=m;y=m}}else{x=m;y=m}}else{y=a+240|0;x=y}g=a+244|0;e=f[g>>2]|0;if(e){c=c|(f[e+64>>2]|0)==3;i=a+244|0;e=_i[f[(f[e>>2]|0)+148>>2]&2047](e)|0;if((e|0)!=0?(o=WCb(e,295048,285152,0)|0,(o|0)!=0):0){Pwa(a,Kwa(f[g>>2]|0,o)|0,-1);v=i;w=i}else{v=i;w=i}}else{w=a+244|0;v=w}g=a+248|0;e=f[g>>2]|0;if(e){c=c|(f[e+64>>2]|0)==3;i=a+248|0;e=_i[f[(f[e>>2]|0)+148>>2]&2047](e)|0;if((e|0)!=0?(p=WCb(e,295048,285152,0)|0,(p|0)!=0):0){Qwa(a,Kwa(f[g>>2]|0,p)|0,-1);r=i;s=i}else{r=i;s=i}}else{s=a+248|0;r=s}q=a+252|0;t=a+256|0;e=f[q>>2]|0;if((f[t>>2]|0)!=(e|0)){g=0;do{e=f[e+(g<<2)>>2]|0;if((e|0?(z=_i[f[(f[e>>2]|0)+148>>2]&2047](e)|0,z|0):0)?(A=WCb(z,295048,285152,0)|0,A|0):0){e=f[q>>2]|0;if((f[t>>2]|0)-e>>2>>>0>g>>>0)e=f[e+(g<<2)>>2]|0;else e=0;Rwa(a,g,Kwa(e,A)|0,-1)}g=g+1|0;e=f[q>>2]|0}while(g>>>0<(f[t>>2]|0)-e>>2>>>0)}l=a+264|0;m=a+268|0;g=f[m>>2]|0;e=f[l>>2]|0;if((g|0)!=(e|0)){k=0;do{i=e;if(g-e>>2>>>0>k>>>0?(B=f[e+(k<<2)>>2]|0,(B|0)!=0):0)c=c|(f[B+64>>2]|0)==3;e=f[i+(k<<2)>>2]|0;if((e|0?(C=_i[f[(f[e>>2]|0)+148>>2]&2047](e)|0,C|0):0)?(D=WCb(C,295048,285152,0)|0,D|0):0){e=f[l>>2]|0;if((f[m>>2]|0)-e>>2>>>0>k>>>0)e=f[e+(k<<2)>>2]|0;else e=0;Swa(a,k,Kwa(e,D)|0,-1)}k=k+1|0;g=f[m>>2]|0;e=f[l>>2]|0}while(k>>>0<g-e>>2>>>0)}if(!c){b[I>>0]=0;u=M;return}p=a+220|0;e=f[p>>2]|0;z=a+224|0;a:do if((e|0)==(f[z>>2]|0))g=0;else{c=0;while(1){g=f[e>>2]|0;switch(f[g+52>>2]|0){case 1:{c=(f[g+68>>2]|0)+c|0;break}case 2:{i=f[g+68>>2]|0;k=f[g+72>>2]|0;if((i|0)!=(k|0)){g=i;do{c=(f[g>>2]|0)+c|0;g=g+4|0}while((g|0)!=(k|0))}break}case 3:{c=(_i[f[(f[g>>2]|0)+216>>2]&2047](g)|0)+c|0;break}case 4:{c=(_i[f[(f[g>>2]|0)+216>>2]&2047](g)|0)+c|0;break}case 5:{c=(_i[f[(f[g>>2]|0)+216>>2]&2047](g)|0)+c|0;break}default:{}}e=e+4|0;if((e|0)==(f[z>>2]|0)){g=c;break a}}}while(0);f[K>>2]=0;n=K+4|0;f[n>>2]=0;f[K+8>>2]=0;f[L>>2]=0;o=L+4|0;f[o>>2]=0;f[L+8>>2]=0;if(f[F>>2]|0)Twa(K,F,g);c=f[E>>2]|0;b:do if(c|0)switch(f[c+64>>2]|0){case 4:{Twa(K,E,g);break b}case 3:{Twa(L,E,g);break b}default:break b}while(0);c=f[x>>2]|0;c:do if(c|0)switch(f[c+64>>2]|0){case 4:{Twa(K,y,g);break c}case 3:{Twa(L,y,g);break c}default:break c}while(0);c=f[v>>2]|0;d:do if(c|0)switch(f[c+64>>2]|0){case 4:{Twa(K,w,g);break d}case 3:{Twa(L,w,g);break d}default:break d}while(0);c=f[r>>2]|0;e:do if(c|0)switch(f[c+64>>2]|0){case 4:{Twa(K,s,g);break e}case 3:{Twa(L,s,g);break e}default:break e}while(0);c=f[q>>2]|0;if((c|0)!=(f[t>>2]|0))do{e=f[c>>2]|0;f:do if(e|0)switch(f[e+64>>2]|0){case 4:{Twa(K,c,g);break f}case 3:{Twa(L,c,g);break f}default:break f}while(0);c=c+4|0}while((c|0)!=(f[t>>2]|0));c=f[l>>2]|0;if((c|0)!=(f[m>>2]|0))do{e=f[c>>2]|0;g:do if(e|0)switch(f[e+64>>2]|0){case 4:{Twa(K,c,g);break g}case 3:{Twa(L,c,g);break g}default:break g}while(0);c=c+4|0}while((c|0)!=(f[m>>2]|0));f[J>>2]=0;x=J+4|0;f[x>>2]=0;i=J+8|0;f[i>>2]=0;f[H>>2]=0;w=H+4|0;f[w>>2]=0;m=H+8|0;f[m>>2]=0;c=f[K>>2]|0;if((c|0)!=(f[n>>2]|0)){k=G+4|0;l=G+8|0;do{e=f[c>>2]|0;g=f[c+4>>2]|0;F=_i[f[(f[e>>2]|0)+164>>2]&2047](e)|0;f[G>>2]=F;g=_i[f[(f[g>>2]|0)+164>>2]&2047](g)|0;f[k>>2]=g;e=_i[f[(f[e>>2]|0)+208>>2]&2047](e)|0;f[l>>2]=e;g=f[x>>2]|0;if(g>>>0<(f[i>>2]|0)>>>0){f[g>>2]=f[G>>2];f[g+4>>2]=f[k>>2];f[g+8>>2]=e;f[x>>2]=g+12}else Uwa(J,G);c=c+8|0}while((c|0)!=(f[n>>2]|0))}c=f[L>>2]|0;if((c|0)!=(f[o>>2]|0)){i=G+4|0;k=G+8|0;do{e=f[c>>2]|0;g=f[c+4>>2]|0;F=_i[f[(f[e>>2]|0)+164>>2]&2047](e)|0;f[G>>2]=F;g=_i[f[(f[g>>2]|0)+164>>2]&2047](g)|0;f[i>>2]=g;e=_i[f[(f[e>>2]|0)+208>>2]&2047](e)|0;f[k>>2]=e;g=f[w>>2]|0;if(g>>>0<(f[m>>2]|0)>>>0){f[g>>2]=f[G>>2];f[g+4>>2]=f[i>>2];f[g+8>>2]=e;f[w>>2]=g+12}else Uwa(H,G);c=c+8|0}while((c|0)!=(f[o>>2]|0))}e=f[p>>2]|0;h:do if((e|0)!=(f[z>>2]|0)){c=0;n=-1;while(1){i=f[e>>2]|0;switch(f[i+60>>2]|0){case 0:{g=1;break}case 1:{g=2;break}case 4:{g=3;break}case 7:{g=4;break}default:g=0}i:do switch(f[i+52>>2]|0){case 1:{do if(!g){g=_i[f[(f[i>>2]|0)+216>>2]&2047](i)|0;if(g|0)break;g=f[i+68>>2]|0}while(0);t=i+64|0;k=f[t>>2]|0;f[t>>2]=c;t=f[i+68>>2]|0;if(k>>>0>=(t+k|0)>>>0){i=n;break i}s=0;r=c;i=n;while(1){i=i+(((s>>>0)%(g>>>0)|0|0)==0&1)|0;l=f[J>>2]|0;m=f[x>>2]|0;if((l|0)!=(m|0))do{p=l+8|0;n=f[p>>2]|0;if(n){o=(f[l+4>>2]|0)+(W(n,r)|0)|0;m=(f[l>>2]|0)+(W(n,k)|0)|0;n=o;o=0;while(1){b[n>>0]=b[m>>0]|0;o=o+1|0;if(o>>>0>=(f[p>>2]|0)>>>0)break;else{m=m+1|0;n=n+1|0}}m=f[x>>2]|0}l=l+12|0}while((l|0)!=(m|0));l=f[H>>2]|0;m=f[w>>2]|0;if((l|0)!=(m|0))do{q=l+8|0;p=f[q>>2]|0;if(p){o=(f[l+4>>2]|0)+(W(p,r)|0)|0;n=0;m=(f[l>>2]|0)+(W(p,i)|0)|0;while(1){b[o>>0]=b[m>>0]|0;n=n+1|0;if(n>>>0>=(f[q>>2]|0)>>>0)break;else{o=o+1|0;m=m+1|0}}m=f[w>>2]|0}l=l+12|0}while((l|0)!=(m|0));s=s+1|0;if((s|0)==(t|0))break;else{k=k+1|0;r=r+1|0}}c=c+t|0;break}case 2:{v=i+80|0;k=f[v>>2]|0;m=f[i+68>>2]|0;t=i+72|0;l=f[t>>2]|0;if((m|0)==(l|0)){i=n;break i}if(!g){i=n;s=m;g=l;do{r=f[s>>2]|0;f[v>>2]=c;if((f[s>>2]|0)>0){q=0;do{i=i+(((q>>>0)%(r>>>0)|0|0)==0&1)|0;g=f[J>>2]|0;l=f[x>>2]|0;if((g|0)!=(l|0))do{p=g+8|0;o=f[p>>2]|0;if(o){n=(f[g+4>>2]|0)+(W(o,c)|0)|0;m=0;l=(f[g>>2]|0)+(W(o,k)|0)|0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[p>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[x>>2]|0}g=g+12|0}while((g|0)!=(l|0));g=f[H>>2]|0;l=f[w>>2]|0;if((g|0)!=(l|0))do{p=g+8|0;o=f[p>>2]|0;if(o){n=(f[g+4>>2]|0)+(W(o,c)|0)|0;m=0;l=(f[g>>2]|0)+(W(o,i)|0)|0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[p>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[w>>2]|0}g=g+12|0}while((g|0)!=(l|0));k=k+1|0;c=c+1|0;q=q+1|0}while((q|0)<(f[s>>2]|0));g=f[t>>2]|0}s=s+4|0}while((s|0)!=(g|0))}else{i=n;s=m;do{f[v>>2]=c;if((f[s>>2]|0)>0){r=0;do{i=i+(((r>>>0)%(g>>>0)|0|0)==0&1)|0;l=f[J>>2]|0;m=f[x>>2]|0;if((l|0)!=(m|0))do{q=l+8|0;p=f[q>>2]|0;if(p){o=(f[l+4>>2]|0)+(W(p,c)|0)|0;n=0;m=(f[l>>2]|0)+(W(p,k)|0)|0;while(1){b[o>>0]=b[m>>0]|0;n=n+1|0;if(n>>>0>=(f[q>>2]|0)>>>0)break;else{o=o+1|0;m=m+1|0}}m=f[x>>2]|0}l=l+12|0}while((l|0)!=(m|0));l=f[H>>2]|0;m=f[w>>2]|0;if((l|0)!=(m|0))do{q=l+8|0;p=f[q>>2]|0;if(p){o=(f[l+4>>2]|0)+(W(p,c)|0)|0;n=0;m=(f[l>>2]|0)+(W(p,i)|0)|0;while(1){b[o>>0]=b[m>>0]|0;n=n+1|0;if(n>>>0>=(f[q>>2]|0)>>>0)break;else{o=o+1|0;m=m+1|0}}m=f[w>>2]|0}l=l+12|0}while((l|0)!=(m|0));k=k+1|0;c=c+1|0;r=r+1|0}while((r|0)<(f[s>>2]|0));l=f[t>>2]|0}s=s+4|0}while((s|0)!=(l|0))}break}case 3:{if(!g)g=_i[f[(f[i>>2]|0)+216>>2]&2047](i)|0;k=f[i+68>>2]|0;t=i+72|0;if((k|0)==(f[t>>2]|0)){i=n;break i}s=0;i=n;r=k;while(1){i=i+(((s>>>0)%(g>>>0)|0|0)==0&1)|0;q=h[r>>0]|0;b[r>>0]=c;k=f[J>>2]|0;l=f[x>>2]|0;if((k|0)!=(l|0))do{p=k+8|0;o=f[p>>2]|0;if(o){n=(f[k+4>>2]|0)+(W(o,c)|0)|0;m=0;l=(f[k>>2]|0)+(W(o,q)|0)|0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[p>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[x>>2]|0}k=k+12|0}while((k|0)!=(l|0));k=f[H>>2]|0;l=f[w>>2]|0;if((k|0)!=(l|0))do{p=k+8|0;o=f[p>>2]|0;if(o){n=(f[k+4>>2]|0)+(W(o,c)|0)|0;m=0;l=(f[k>>2]|0)+(W(o,i)|0)|0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[p>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[w>>2]|0}k=k+12|0}while((k|0)!=(l|0));c=c+1|0;r=r+1|0;if((r|0)==(f[t>>2]|0))break;else s=s+1|0}break}case 4:{if(!g)g=_i[f[(f[i>>2]|0)+216>>2]&2047](i)|0;k=f[i+68>>2]|0;t=i+72|0;if((k|0)==(f[t>>2]|0)){i=n;break i}s=0;i=n;r=k;while(1){i=i+(((s>>>0)%(g>>>0)|0|0)==0&1)|0;q=j[r>>1]|0;d[r>>1]=c;k=f[J>>2]|0;l=f[x>>2]|0;if((k|0)!=(l|0))do{p=k+8|0;o=f[p>>2]|0;if(o){n=(f[k+4>>2]|0)+(W(o,c)|0)|0;m=0;l=(f[k>>2]|0)+(W(o,q)|0)|0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[p>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[x>>2]|0}k=k+12|0}while((k|0)!=(l|0));k=f[H>>2]|0;l=f[w>>2]|0;if((k|0)!=(l|0))do{p=k+8|0;o=f[p>>2]|0;if(o){n=(f[k+4>>2]|0)+(W(o,c)|0)|0;m=0;l=(f[k>>2]|0)+(W(o,i)|0)|0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[p>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[w>>2]|0}k=k+12|0}while((k|0)!=(l|0));c=c+1|0;r=r+2|0;if((r|0)==(f[t>>2]|0))break;else s=s+1|0}break}case 5:{if(!g)g=_i[f[(f[i>>2]|0)+216>>2]&2047](i)|0;k=f[i+68>>2]|0;t=i+72|0;if((k|0)==(f[t>>2]|0)){i=n;break i}s=0;i=n;r=k;while(1){i=i+(((s>>>0)%(g>>>0)|0|0)==0&1)|0;q=f[r>>2]|0;f[r>>2]=c;k=f[J>>2]|0;l=f[x>>2]|0;if((k|0)!=(l|0))do{p=k+8|0;o=f[p>>2]|0;if(o){n=(f[k+4>>2]|0)+(W(o,c)|0)|0;m=0;l=(f[k>>2]|0)+(W(o,q)|0)|0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[p>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[x>>2]|0}k=k+12|0}while((k|0)!=(l|0));k=f[H>>2]|0;l=f[w>>2]|0;if((k|0)!=(l|0))do{o=k+8|0;m=f[o>>2]|0;if(m){n=(f[k+4>>2]|0)+(W(m,c)|0)|0;l=(f[k>>2]|0)+(W(m,i)|0)|0;m=0;while(1){b[n>>0]=b[l>>0]|0;m=m+1|0;if(m>>>0>=(f[o>>2]|0)>>>0)break;else{n=n+1|0;l=l+1|0}}l=f[w>>2]|0}k=k+12|0}while((k|0)!=(l|0));c=c+1|0;r=r+4|0;if((r|0)==(f[t>>2]|0))break;else s=s+1|0}break}default:i=n}while(0);e=e+4|0;if((e|0)==(f[z>>2]|0))break h;else n=i}}while(0);b[I>>0]=0;c=f[H>>2]|0;if(c|0){f[w>>2]=c;GBb(c)}c=f[J>>2]|0;if(c|0){f[x>>2]=c;GBb(c)}Vwa(L);Vwa(K);u=M;return}function Iwa(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;q=u;u=u+32|0;n=q;o=f[a>>2]|0;g=o;h=(f[b>>2]|0)-g|0;o=o+(h>>2<<2)|0;p=a+4|0;b=f[p>>2]|0;m=a+8|0;l=f[m>>2]|0;d=b;e=l;if(b>>>0<l>>>0){if((o|0)==(b|0)){b=f[c>>2]|0;f[o>>2]=b;if(!b)b=o;else{b=b+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[p>>2]|0}f[p>>2]=b+4;p=o;u=q;return p|0}i=d-(o+4)|0;g=o+(i>>2<<2)|0;if(g>>>0<b>>>0){h=g;d=b;do{e=f[h>>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}h=h+4|0;d=d+4|0;f[p>>2]=d}while(h>>>0<b>>>0)}if(i|0)do{g=g+-4|0;b=b+-4|0;d=f[b>>2]|0;e=f[g>>2]|0;if((d|0)!=(e|0)){f[b>>2]=e;if(e|0){p=e+8|0;f[p>>2]=(f[p>>2]|0)+1}if(d|0?(n=d+8|0,p=f[n>>2]|0,f[n>>2]=p-1,(p|0)==1):0)Rua(d,1,1)}}while((g|0)!=(o|0));d=f[o>>2]|0;b=f[c>>2]|0;if((d|0)==(b|0)){p=o;u=q;return p|0}f[o>>2]=b;if(b|0){p=b+8|0;f[p>>2]=(f[p>>2]|0)+1}if(!d){p=o;u=q;return p|0}n=d+8|0;p=f[n>>2]|0;f[n>>2]=p-1;if((p|0)!=1){p=o;u=q;return p|0}Rua(d,1,1);p=o;u=q;return p|0}else{b=(d-g>>2)+1|0;if(b>>>0>1073741823)DCb(a);k=e-g|0;e=k>>1;e=k>>2>>>0<536870911?(e>>>0<b>>>0?b:e):1073741823;b=h>>2;k=n+12|0;f[k>>2]=0;f[n+16>>2]=a+8;do if(e)if(e>>>0>1073741823){q=ab(8)|0;KBb(q,410101);f[q>>2]=362060;eb(q|0,302144,1464)}else{d=EBb(e<<2)|0;break}else d=0;while(0);f[n>>2]=d;g=d+(b<<2)|0;l=n+8|0;f[l>>2]=g;j=n+4|0;f[j>>2]=g;f[k>>2]=d+(e<<2);Jwa(n,c);c=f[j>>2]|0;g=f[a>>2]|0;if((g|0)==(o|0))b=c;else{e=o;b=c;do{e=e+-4|0;d=f[e>>2]|0;f[b+-4>>2]=d;if(d|0){i=d+8|0;f[i>>2]=(f[i>>2]|0)+1}b=(f[j>>2]|0)+-4|0;f[j>>2]=b}while((e|0)!=(g|0))}d=f[p>>2]|0;if((d|0)==(o|0)){h=j;i=l;e=f[l>>2]|0}else{b=o;g=f[l>>2]|0;do{e=f[b>>2]|0;f[g>>2]=e;if(e|0){o=e+8|0;f[o>>2]=(f[o>>2]|0)+1}b=b+4|0;g=(f[l>>2]|0)+4|0;f[l>>2]=g}while((b|0)!=(d|0));h=j;i=l;b=f[j>>2]|0;e=g;d=f[p>>2]|0}o=f[a>>2]|0;f[a>>2]=b;f[h>>2]=o;f[p>>2]=e;f[i>>2]=d;b=f[m>>2]|0;f[m>>2]=f[k>>2];f[k>>2]=b;f[n>>2]=o;b=o;if((d|0)!=(b|0)){do{d=d+-4|0;f[l>>2]=d;e=f[d>>2]|0;if(e|0?(o=e+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(e,1,1);f[d>>2]=0;d=f[l>>2]|0}while((d|0)!=(b|0));b=f[n>>2]|0}if(b|0)GBb(b);p=c;u=q;return p|0}return 0}function Jwa(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=a+8|0;m=f[o>>2]|0;l=a+12|0;n=f[l>>2]|0;e=n;do if((m|0)==(n|0)){n=a+4|0;g=f[n>>2]|0;c=f[a>>2]|0;d=c;if(g>>>0>c>>>0){h=((g-d>>2)+1|0)/-2|0;d=g+(h<<2)|0;if((g|0)==(m|0))c=m;else{do{c=f[d>>2]|0;e=f[g>>2]|0;if((c|0)!=(e|0)){f[d>>2]=e;if(e|0){l=e+8|0;f[l>>2]=(f[l>>2]|0)+1}if(c|0?(a=c+8|0,l=f[a>>2]|0,f[a>>2]=l-1,(l|0)==1):0)Rua(c,1,1)}g=g+4|0;d=d+4|0}while((g|0)!=(m|0));c=f[n>>2]|0}f[o>>2]=d;f[n>>2]=c+(h<<2);break}h=e-d|0;h=(h|0)==0?1:h>>1;d=h>>>2;do if(h)if(h>>>0>1073741823){o=ab(8)|0;KBb(o,410101);f[o>>2]=362060;eb(o|0,302144,1464)}else{i=EBb(h<<2)|0;break}else i=0;while(0);k=i;e=i+(d<<2)|0;j=e;h=i+(h<<2)|0;if((g|0)!=(m|0)){c=j;while(1){d=f[g>>2]|0;f[e>>2]=d;if(!d)c=e;else{i=d+8|0;f[i>>2]=(f[i>>2]|0)+1}e=c+4|0;g=g+4|0;if((g|0)==(m|0))break;else c=e}c=f[a>>2]|0;g=f[n>>2]|0;d=f[o>>2]|0;f[a>>2]=k;f[n>>2]=j;f[o>>2]=e;f[l>>2]=h;if((d|0)!=(g|0))do{d=d+-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}while((d|0)!=(g|0))}else{f[a>>2]=k;f[n>>2]=j;f[o>>2]=j;f[l>>2]=h}if(c|0)GBb(c)}while(0);d=f[o>>2]|0;c=f[b>>2]|0;f[d>>2]=c;if(!c){b=d;b=b+4|0;f[o>>2]=b;return}b=c+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[o>>2]|0;b=b+4|0;f[o>>2]=b;return}function Kwa(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=Wwa(a)|0;l=(k|0)==0;if(!l){j=k+8|0;f[j>>2]=(f[j>>2]|0)+1}f[k+64>>2]=f[a+64>>2];b[k+68>>0]=b[a+68>>0]|0;b[k+69>>0]=b[a+69>>0]|0;h=f[(f[k>>2]|0)+224>>2]|0;j=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;Bj[h&1023](k,j);j=_i[f[(f[a>>2]|0)+208>>2]&2047](a)|0;h=_i[f[(f[a>>2]|0)+164>>2]&2047](a)|0;i=_i[f[(f[k>>2]|0)+164>>2]&2047](k)|0;a:do if(!j){a=0;while(1){if(a>>>0>=(_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0)>>>0)break a;cj[f[(f[c>>2]|0)+232>>2]&1023](c,a)|0;a=a+1|0}}else{e=0;while(1){if(e>>>0>=(_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0)>>>0)break a;a=i+(W(e,j)|0)|0;d=h+(W(cj[f[(f[c>>2]|0)+232>>2]&1023](c,e)|0,j)|0)|0;g=0;while(1){b[a>>0]=b[d>>0]|0;g=g+1|0;if((g|0)==(j|0))break;else{a=a+1|0;d=d+1|0}}e=e+1|0}}while(0);if(l)return k|0;l=k+8|0;f[l>>2]=(f[l>>2]|0)-1;return k|0}function Lwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;if(!b){c=a+232|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,g=d+8|0,b=f[g>>2]|0,f[g>>2]=b-1,(b|0)==1):0)Rua(d,1,1);tj[f[(f[a>>2]|0)+240>>2]&2047](a);ywa(a);return}c=b+64|0;if((f[c>>2]|0)==-1)f[c>>2]=4;c=a+232|0;d=f[c>>2]|0;if(((d|0)!=(b|0)?(f[c>>2]=b,g=b+8|0,f[g>>2]=(f[g>>2]|0)+1,d|0):0)?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);tj[f[(f[a>>2]|0)+240>>2]&2047](a);ywa(a);c=f[a+200>>2]|0;g=a+204|0;d=f[g>>2]|0;if((c|0)!=(d|0))do{e=f[c>>2]|0;if(e){Txa(e);d=f[g>>2]|0}c=c+4|0}while((c|0)!=(d|0));Nwa(a,b);return}function Mwa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;c=g;e=a+32|0;if(f[e>>2]|0){u=g;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){d=Nu(Hua(5)|0,412782,83)|0;a=a+12|0;d=csb(d,f[(f[a>>2]|0)+412>>2]|0)|0;Drb(c,d+(f[(f[d>>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(d,h)|0;Krb(d)|0}else a=a+12|0;d=EBb(28)|0;c=f[(f[a>>2]|0)+412>>2]|0;f[d+4>>2]=0;a=d+8|0;f[a>>2]=0;f[d+12>>2]=0;f[d+16>>2]=-1;b[d+20>>0]=0;f[d>>2]=338436;f[d+24>>2]=c;c=f[e>>2]|0;if((c|0)==(d|0)){u=g;return}f[e>>2]=d;f[a>>2]=(f[a>>2]|0)+1;if(!c){u=g;return}e=c+8|0;h=f[e>>2]|0;f[e>>2]=h-1;if((h|0)!=1){u=g;return}Rua(c,1,1);u=g;return}function Nwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;switch(f[b+64>>2]|0){case -1:case 4:break;default:return}d=b+40|0;c=f[d>>2]|0;if(c|0?WCb(c,295248,295264,0)|0:0)return;c=kxa(a)|0;a=f[d>>2]|0;if((a|0)==(c|0))return;if(!a)a=0;else{lxa(a,f[b+36>>2]|0);a=f[d>>2]|0}if((a|0)!=(c|0)){f[d>>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)}a=f[d>>2]|0;if(!a)a=0;else a=mxa(a,b)|0;f[b+36>>2]=a;return}function Owa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;c=g;e=a+36|0;if(f[e>>2]|0){u=g;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){d=Nu(Hua(5)|0,410607,81)|0;a=a+12|0;d=csb(d,f[(f[a>>2]|0)+452>>2]|0)|0;Drb(c,d+(f[(f[d>>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(d,h)|0;Krb(d)|0}else a=a+12|0;d=EBb(28)|0;c=f[(f[a>>2]|0)+452>>2]|0;f[d+4>>2]=0;a=d+8|0;f[a>>2]=0;f[d+12>>2]=0;f[d+16>>2]=-1;b[d+20>>0]=0;f[d>>2]=338436;f[d+24>>2]=c;c=f[e>>2]|0;if((c|0)==(d|0)){u=g;return}f[e>>2]=d;f[a>>2]=(f[a>>2]|0)+1;if(!c){u=g;return}e=c+8|0;h=f[e>>2]|0;f[e>>2]=h-1;if((h|0)!=1){u=g;return}Rua(c,1,1);u=g;return}function Pwa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;g=(c|0)!=0;if(g&(d|0)!=-1)f[c+64>>2]=d;d=a+244|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}if(e|0?(d=e+8|0,h=f[d>>2]|0,f[d>>2]=h-1,(h|0)==1):0)Rua(e,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);if(!g)return;d=f[a+200>>2]|0;h=a+204|0;e=f[h>>2]|0;if((d|0)!=(e|0))do{g=f[d>>2]|0;if((g|0)!=0?(i=g+40|0,(f[i>>2]|0)==0):0){j=EBb(28)|0;g=f[(f[g+12>>2]|0)+492>>2]|0;f[j+4>>2]=0;e=j+8|0;f[e>>2]=0;f[j+12>>2]=0;f[j+16>>2]=-1;b[j+20>>0]=0;f[j>>2]=338436;f[j+24>>2]=g;f[i>>2]=j;f[e>>2]=(f[e>>2]|0)+1;e=f[h>>2]|0}d=d+4|0}while((d|0)!=(e|0));Nwa(a,c);return}function Qwa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;g=(c|0)!=0;if(g&(d|0)!=-1)f[c+64>>2]=d;d=a+248|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}if(e|0?(d=e+8|0,h=f[d>>2]|0,f[d>>2]=h-1,(h|0)==1):0)Rua(e,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);if(!g)return;d=f[a+200>>2]|0;h=a+204|0;e=f[h>>2]|0;if((d|0)!=(e|0))do{g=f[d>>2]|0;if((g|0)!=0?(i=g+44|0,(f[i>>2]|0)==0):0){j=EBb(28)|0;g=f[(f[g+12>>2]|0)+532>>2]|0;f[j+4>>2]=0;e=j+8|0;f[e>>2]=0;f[j+12>>2]=0;f[j+16>>2]=-1;b[j+20>>0]=0;f[j>>2]=338436;f[j+24>>2]=g;f[i>>2]=j;f[e>>2]=(f[e>>2]|0)+1;e=f[h>>2]|0}d=d+4|0}while((d|0)!=(e|0));Nwa(a,c);return}function Rwa(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;j=a+252|0;k=a+256|0;e=f[k>>2]|0;h=f[j>>2]|0;i=e-h>>2;do if(i>>>0<=b>>>0){g=b+1|0;if(g>>>0>i>>>0){Ema(j,g-i|0);break}if(g>>>0<i>>>0){h=h+(g<<2)|0;if((h|0)!=(e|0))do{e=e+-4|0;g=f[e>>2]|0;if(g|0?(l=g+8|0,i=f[l>>2]|0,f[l>>2]=i-1,(i|0)==1):0)Rua(g,1,1);f[e>>2]=0}while((e|0)!=(h|0));f[k>>2]=h}}while(0);if(!c){e=(f[j>>2]|0)+(b<<2)|0;g=f[e>>2]|0;if(g|0?(f[e>>2]=0,c=g+8|0,l=f[c>>2]|0,f[c>>2]=l-1,(l|0)==1):0)Rua(g,1,1);tj[f[(f[a>>2]|0)+240>>2]&2047](a);return}f[c+64>>2]=(d|0)==-1?4:d;e=(f[j>>2]|0)+(b<<2)|0;g=f[e>>2]|0;if(((g|0)!=(c|0)?(f[e>>2]=c,l=c+8|0,f[l>>2]=(f[l>>2]|0)+1,g|0):0)?(d=g+8|0,l=f[d>>2]|0,f[d>>2]=l-1,(l|0)==1):0)Rua(g,1,1);tj[f[(f[a>>2]|0)+240>>2]&2047](a);i=(f[k>>2]|0)-(f[j>>2]|0)>>2;e=f[a+200>>2]|0;b=a+204|0;g=f[b>>2]|0;if((e|0)!=(g|0))do{h=f[e>>2]|0;if(h){jxa(h,i);g=f[b>>2]|0}e=e+4|0}while((e|0)!=(g|0));Nwa(a,c);return}function Swa(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;j=a+264|0;k=a+268|0;e=f[k>>2]|0;h=f[j>>2]|0;i=e-h>>2;do if(i>>>0<=b>>>0){g=b+1|0;if(g>>>0>i>>>0){Ema(j,g-i|0);break}if(g>>>0<i>>>0){h=h+(g<<2)|0;if((h|0)!=(e|0))do{e=e+-4|0;g=f[e>>2]|0;if(g|0?(l=g+8|0,i=f[l>>2]|0,f[l>>2]=i-1,(i|0)==1):0)Rua(g,1,1);f[e>>2]=0}while((e|0)!=(h|0));f[k>>2]=h}}while(0);h=(c|0)!=0;if(h&(d|0)!=-1)f[c+64>>2]=d;e=(f[j>>2]|0)+(b<<2)|0;g=f[e>>2]|0;if((g|0)!=(c|0)){f[e>>2]=c;if(c|0){l=c+8|0;f[l>>2]=(f[l>>2]|0)+1}if(g|0?(d=g+8|0,l=f[d>>2]|0,f[d>>2]=l-1,(l|0)==1):0)Rua(g,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);if(!h)return;i=(f[k>>2]|0)-(f[j>>2]|0)>>2;e=f[a+200>>2]|0;b=a+204|0;g=f[b>>2]|0;if((e|0)!=(g|0))do{h=f[e>>2]|0;if(h){Zwa(h,i);g=f[b>>2]|0}e=e+4|0}while((e|0)!=(g|0));Nwa(a,c);return}function Twa(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+16|0;j=l;k=Wwa(f[c>>2]|0)|0;f[k+64>>2]=4;i=f[c>>2]|0;b[k+68>>0]=b[i+68>>0]|0;b[k+69>>0]=b[i+69>>0]|0;Bj[f[(f[k>>2]|0)+224>>2]&1023](k,d);d=f[c>>2]|0;f[j>>2]=d;if(d|0){i=d+8|0;f[i>>2]=(f[i>>2]|0)+1}h=j+4|0;f[h>>2]=k;i=(k|0)==0;if(!i){g=k+8|0;f[g>>2]=(f[g>>2]|0)+1}e=a+4|0;g=f[e>>2]|0;if(g>>>0<(f[a+8>>2]|0)>>>0){d=f[j>>2]|0;f[g>>2]=d;if(d|0){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1}d=f[h>>2]|0;f[g+4>>2]=d;if(d|0){g=d+8|0;f[g>>2]=(f[g>>2]|0)+1}f[e>>2]=(f[e>>2]|0)+8}else Xwa(a,j);d=f[h>>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[h>>2]=0;d=f[j>>2]|0;if(d|0?(h=d+8|0,j=f[h>>2]|0,f[h>>2]=j-1,(j|0)==1):0)Rua(d,1,1);d=f[c>>2]|0;if((d|0)==(k|0)){u=l;return}f[c>>2]=k;if(!i){k=k+8|0;f[k>>2]=(f[k>>2]|0)+1}if(!d){u=l;return}c=d+8|0;k=f[c>>2]|0;f[c>>2]=k-1;if((k|0)!=1){u=l;return}Rua(d,1,1);u=l;return}function Uwa(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;i=f[m>>2]|0;c=f[a>>2]|0;h=(i-c|0)/12|0;d=h+1|0;k=c;if(d>>>0>357913941)DCb(a);l=a+8|0;j=((f[l>>2]|0)-c|0)/12|0;e=j<<1;e=j>>>0<178956970?(e>>>0<d>>>0?d:e):357913941;do if(e)if(e>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(e*12|0)|0;break}else g=0;while(0);d=g+(h*12|0)|0;j=g+(e*12|0)|0;f[d>>2]=f[b>>2];f[g+(h*12|0)+4>>2]=f[b+4>>2];f[g+(h*12|0)+8>>2]=f[b+8>>2];e=d+12|0;if((i|0)!=(k|0)){c=i;do{i=d;d=d+-12|0;h=c;c=c+-12|0;f[d>>2]=f[c>>2];f[i+-8>>2]=f[h+-8>>2];f[i+-4>>2]=f[h+-4>>2]}while((c|0)!=(k|0));c=f[a>>2]|0}f[a>>2]=d;f[m>>2]=e;f[l>>2]=j;if(!c)return;GBb(c);return}function Vwa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;e=f[a>>2]|0;if(!e)return;g=a+4|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{c=b+-4|0;b=b+-8|0;d=f[c>>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);f[c>>2]=0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[a>>2]|0}f[g>>2]=e;GBb(b);return}function Wwa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,410402,78)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(d,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(d);ksb(g,e)|0;Krb(g)|0;g=0;u=h;return g|0}a=_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,e=WCb(a,295088,295184,0)|0,e|0):0){f[g>>2]=(f[g>>2]|0)-1;g=e;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,410323,78)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(d,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(d);ksb(g,e)|0;Krb(g)|0}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function Xwa(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;n=u;u=u+32|0;l=n;m=a+4|0;c=f[a>>2]|0;e=(f[m>>2]|0)-c>>3;d=e+1|0;if(d>>>0>536870911)DCb(a);k=a+8|0;h=(f[k>>2]|0)-c|0;c=h>>2;c=h>>3>>>0<268435455?(c>>>0<d>>>0?d:c):536870911;h=l+12|0;f[h>>2]=0;f[l+16>>2]=a+8;do if(c)if(c>>>0>536870911){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{d=EBb(c<<3)|0;break}else d=0;while(0);f[l>>2]=d;g=d+(e<<3)|0;i=l+8|0;f[i>>2]=g;j=l+4|0;f[j>>2]=g;f[h>>2]=d+(c<<3);c=f[b>>2]|0;f[g>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}c=f[b+4>>2]|0;f[d+(e<<3)+4>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}c=(f[i>>2]|0)+8|0;f[i>>2]=c;g=f[a>>2]|0;d=f[m>>2]|0;if((d|0)==(g|0)){b=j;o=f[j>>2]|0;j=g;e=c;g=d;f[a>>2]=o;f[b>>2]=j;f[m>>2]=e;f[i>>2]=g;m=f[k>>2]|0;a=f[h>>2]|0;f[k>>2]=a;f[h>>2]=m;f[l>>2]=j;Ywa(l);u=n;return}e=f[j>>2]|0;do{c=d;d=d+-8|0;b=f[d>>2]|0;f[e+-8>>2]=b;if(b|0){o=b+8|0;f[o>>2]=(f[o>>2]|0)+1}c=f[c+-4>>2]|0;f[e+-4>>2]=c;if(c|0){o=c+8|0;f[o>>2]=(f[o>>2]|0)+1}e=(f[j>>2]|0)+-8|0;f[j>>2]=e}while((d|0)!=(g|0));b=j;j=i;o=f[a>>2]|0;g=f[i>>2]|0;i=f[m>>2]|0;f[a>>2]=e;f[b>>2]=o;f[m>>2]=g;f[j>>2]=i;m=f[k>>2]|0;a=f[h>>2]|0;f[k>>2]=a;f[h>>2]=m;f[l>>2]=o;Ywa(l);u=n;return}function Ywa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;e=f[a+4>>2]|0;g=a+8|0;b=f[g>>2]|0;if((b|0)!=(e|0))do{d=b+-8|0;f[g>>2]=d;b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=f[d>>2]|0;if(b|0?(h=b+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(b,1,1);f[d>>2]=0;b=f[g>>2]|0}while((b|0)!=(e|0));b=f[a>>2]|0;if(!b)return;GBb(b);return}function Zwa(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;i=a+60|0;h=a+64|0;d=f[h>>2]|0;g=f[i>>2]|0;e=d-g>>2;a=d;if(e>>>0>=c>>>0){if(e>>>0>c>>>0){d=g+(c<<2)|0;if((d|0)!=(a|0))do{a=a+-4|0;e=f[a>>2]|0;if(e|0?(g=e+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(e,1,1);f[a>>2]=0}while((a|0)!=(d|0));f[h>>2]=d}}else{_wa(i,c-e|0);d=f[h>>2]|0}a=f[i>>2]|0;if((d|0)==(a|0))return;d=0;do{a=a+(d<<2)|0;if((((f[a>>2]|0)==0?(j=EBb(28)|0,f[j+4>>2]=0,k=j+8|0,f[k>>2]=0,f[j+12>>2]=0,f[j+16>>2]=-1,b[j+20>>0]=0,f[j>>2]=338436,f[j+24>>2]=d,l=f[a>>2]|0,(l|0)!=(j|0)):0)?(f[a>>2]=j,f[k>>2]=(f[k>>2]|0)+1,l|0):0)?(g=l+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(l,1,1);d=d+1|0;a=f[i>>2]|0}while(d>>>0<(f[h>>2]|0)-a>>2>>>0);return}function _wa(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function $wa(a){a=a|0;Uua(a);GBb(a);return}function axa(a){a=a|0;return 1}function bxa(a){a=a|0;return 410513}function cxa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=f[c+832>>2]|0;e=a+24|0;tj[f[g+84>>2]&2047](f[e>>2]|0);c=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;if(!(b[d+69>>0]|0)){Lj[f[g+404>>2]&15](f[e>>2]|0,f[d+56>>2]|0,f[d+60>>2]|0,b[d+68>>0]|0,0,c);return}a=f[d+60>>2]|0;switch(a|0){case 5126:{Lj[f[g+404>>2]&15](f[e>>2]|0,f[d+56>>2]|0,5126,b[d+68>>0]|0,0,c);return}case 5130:{Kj[f[g+412>>2]&63](f[e>>2]|0,f[d+56>>2]|0,5130,0,c);return}default:{Kj[f[g+408>>2]&63](f[e>>2]|0,f[d+56>>2]|0,a,0,c);return}}}function dxa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;h=f[c+832>>2]|0;g=a+24|0;tj[f[h+84>>2]&2047](f[g>>2]|0);c=f[(f[e+40>>2]|0)+((f[d+36>>2]|0)*20|0)+12>>2]|0;if(!(b[d+69>>0]|0)){Lj[f[h+404>>2]&15](f[g>>2]|0,f[d+56>>2]|0,f[d+60>>2]|0,b[d+68>>0]|0,0,c);return}a=f[d+60>>2]|0;switch(a|0){case 5126:{Lj[f[h+404>>2]&15](f[g>>2]|0,f[d+56>>2]|0,5126,b[d+68>>0]|0,0,c);return}case 5130:{Kj[f[h+412>>2]&63](f[g>>2]|0,f[d+56>>2]|0,5130,0,c);return}default:{Kj[f[h+408>>2]&63](f[g>>2]|0,f[d+56>>2]|0,a,0,c);return}}}function exa(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0;i=f[b+832>>2]|0;b=a+24|0;tj[f[i+84>>2]&2047](f[b>>2]|0);Lj[f[i+404>>2]&15](f[b>>2]|0,c,d,h,e,g);return}function fxa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;e=f[c+832>>2]|0;g=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;if(!(b[d+69>>0]|0)){Lj[f[e+404>>2]&15](f[a+24>>2]|0,f[d+56>>2]|0,f[d+60>>2]|0,b[d+68>>0]|0,0,g);return}c=f[d+60>>2]|0;switch(c|0){case 5126:{Lj[f[e+404>>2]&15](f[a+24>>2]|0,f[d+56>>2]|0,5126,b[d+68>>0]|0,0,g);return}case 5130:{Kj[f[e+412>>2]&63](f[a+24>>2]|0,f[d+56>>2]|0,5130,0,g);return}default:{Kj[f[e+408>>2]&63](f[a+24>>2]|0,f[d+56>>2]|0,c,0,g);return}}}function gxa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0;g=f[c+832>>2]|0;c=f[(f[e+40>>2]|0)+((f[d+36>>2]|0)*20|0)+12>>2]|0;if(!(b[d+69>>0]|0)){Lj[f[g+404>>2]&15](f[a+24>>2]|0,f[d+56>>2]|0,f[d+60>>2]|0,b[d+68>>0]|0,0,c);return}e=f[d+60>>2]|0;switch(e|0){case 5126:{Lj[f[g+404>>2]&15](f[a+24>>2]|0,f[d+56>>2]|0,5126,b[d+68>>0]|0,0,c);return}case 5130:{Kj[f[g+412>>2]&63](f[a+24>>2]|0,f[d+56>>2]|0,5130,0,c);return}default:{Kj[f[g+408>>2]&63](f[a+24>>2]|0,f[d+56>>2]|0,e,0,c);return}}}function hxa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return}function ixa(a,b){a=a|0;b=b|0;tj[f[(f[b+832>>2]|0)+80>>2]&2047](f[a+24>>2]|0);return}function jxa(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;i=a+48|0;j=a+52|0;e=f[j>>2]|0;h=f[i>>2]|0;g=e-h>>2;d=e;if(g>>>0>=c>>>0){if(g>>>0>c>>>0){e=h+(c<<2)|0;if((e|0)!=(d|0))do{d=d+-4|0;c=f[d>>2]|0;if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[d>>2]=0}while((d|0)!=(e|0));f[j>>2]=e}}else{_wa(i,c-g|0);e=f[j>>2]|0}d=f[i>>2]|0;if((e|0)==(d|0))return;c=a+12|0;e=0;do{d=d+(e<<2)|0;if((((f[d>>2]|0)==0?(k=EBb(28)|0,m=f[(f[(f[c>>2]|0)+572>>2]|0)+(e*40|0)>>2]|0,f[k+4>>2]=0,l=k+8|0,f[l>>2]=0,f[k+12>>2]=0,f[k+16>>2]=-1,b[k+20>>0]=0,f[k>>2]=338436,f[k+24>>2]=m,m=f[d>>2]|0,(m|0)!=(k|0)):0)?(f[d>>2]=k,f[l>>2]=(f[l>>2]|0)+1,m|0):0)?(h=m+8|0,a=f[h>>2]|0,f[h>>2]=a-1,(a|0)==1):0)Rua(m,1,1);e=e+1|0;d=f[i>>2]|0}while(e>>>0<(f[j>>2]|0)-d>>2>>>0);return}function kxa(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;i=k;f[i>>2]=0;j=i+4|0;f[j>>2]=0;f[i+8>>2]=0;pxa(a,i)|0;g=f[i>>2]|0;c=f[j>>2]|0;a:do if((g|0)==(c|0))h=6;else{a=g;while(1){d=f[(f[a>>2]|0)+40>>2]|0;if(d|0?(e=WCb(d,295248,295264,0)|0,e|0):0){d=g;break a}a=a+4|0;if((a|0)==(c|0)){h=6;break}}}while(0);if((h|0)==6){e=EBb(72)|0;f[e+4>>2]=0;f[e+8>>2]=0;d=e+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;f[e>>2]=338492;d=e+32|0;f[e+48>>2]=0;f[e+52>>2]=0;f[e+56>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;b[d+12>>0]=0;qxa(e+60|0);f[e>>2]=338664;f[d>>2]=34962;f[e+36>>2]=35044;d=f[i>>2]|0}if(!d){u=k;return e|0}a=f[j>>2]|0;if((a|0)==(d|0))a=d;else{do{a=a+-4|0;c=f[a>>2]|0;if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[a>>2]=0}while((a|0)!=(d|0));a=f[i>>2]|0}f[j>>2]=d;GBb(a);u=k;return e|0}function lxa(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;d=k;j=a+52|0;i=f[j>>2]|0;g=f[a+48>>2]|0;h=i-g>>2;if(h>>>0<=c>>>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=k;return}j=Nu(Hua(2)|0,410689,6)|0;a=_i[f[(f[a>>2]|0)+28>>2]&2047](a)|0;a=Nu(csb(Nu(Nu(j,a,Rmb(a)|0)|0,410696,19)|0,c)|0,410716,15)|0;Drb(d,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);j=utb(d,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(d);ksb(a,j)|0;Krb(a)|0;u=k;return}d=c+1|0;if(d>>>0<h>>>0?(f[(f[g+(d<<2)>>2]|0)+36>>2]=c,e=c+2|0,(e|0)!=(h|0)):0)while(1){f[(f[g+(e<<2)>>2]|0)+36>>2]=d;d=e+1|0;if((d|0)==(h|0))break;else{l=e;e=d;d=l}}e=g+(c<<2)|0;c=e+4|0;d=i-c|0;if(d|0)ZDb(e|0,c|0,d|0)|0;f[j>>2]=e+(d>>2<<2);h=a+60|0;g=a+64|0;d=f[g>>2]|0;e=f[h>>2]|0;if((d|0)==(e|0)){u=k;return}c=0;do{if(f[e+(c<<2)>>2]|0){e=d-e>>2;if(e>>>0<=c>>>0){oxa(h,c+1-e|0);d=f[g>>2]|0}e=f[h>>2]|0;l=f[e+(c<<2)>>2]|0;f[l+44>>2]=f[l+40>>2];b[l+36>>0]=1}c=c+1|0}while(c>>>0<d-e>>2>>>0);u=k;return}function mxa(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;l=u;u=u+16|0;g=l;f[g>>2]=c;h=c;if(!c){k=0;u=l;return k|0}j=a+48|0;d=f[j>>2]|0;k=a+52|0;e=f[k>>2]|0;a:do if((d|0)!=(e|0)){while(1){if((f[d>>2]|0)==(c|0))break;d=d+4|0;if((d|0)==(e|0)){d=e;break a}}k=f[c+36>>2]|0;u=l;return k|0}while(0);if((d|0)==(f[a+56>>2]|0))nxa(j,g);else{f[d>>2]=h;f[k>>2]=(f[k>>2]|0)+4}i=a+60|0;a=a+64|0;d=f[a>>2]|0;c=f[i>>2]|0;if((d|0)!=(c|0)){h=0;e=c;g=c;while(1){if(!(f[e+(h<<2)>>2]|0))c=g;else{c=d-e>>2;if(c>>>0>h>>>0)c=g;else{oxa(i,h+1-c|0);d=f[a>>2]|0;c=f[i>>2]|0}b[(f[c+(h<<2)>>2]|0)+36>>0]=1;e=c}h=h+1|0;if(h>>>0>=d-e>>2>>>0)break;else g=c}}k=((f[k>>2]|0)-(f[j>>2]|0)>>2)+-1|0;u=l;return k|0}function nxa(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<c>>>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 oxa(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function pxa(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;n=u;u=u+16|0;k=n;l=b+4|0;m=(f[l>>2]|0)-(f[b>>2]|0)|0;c=f[a+232>>2]|0;if(c|0){f[k>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[b+8>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else Sxa(b,k);c=f[k>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1)}c=f[a+236>>2]|0;if(c|0){f[k>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[b+8>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else Sxa(b,k);c=f[k>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1)}c=f[a+240>>2]|0;if(c|0){f[k>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[b+8>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else Sxa(b,k);c=f[k>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1)}c=f[a+244>>2]|0;if(c|0){f[k>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[b+8>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else Sxa(b,k);c=f[k>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1)}c=f[a+248>>2]|0;if(c|0){f[k>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[b+8>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else Sxa(b,k);c=f[k>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1)}h=a+252|0;i=a+256|0;d=f[i>>2]|0;c=f[h>>2]|0;if((d|0)!=(c|0)){j=b+8|0;g=0;do{e=f[c+(g<<2)>>2]|0;if(e){f[k>>2]=e;c=e+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[j>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else Sxa(b,k);c=f[k>>2]|0;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);c=f[h>>2]|0;d=f[i>>2]|0}g=g+1|0}while(g>>>0<d-c>>2>>>0)}j=a+264|0;h=a+268|0;d=f[h>>2]|0;c=f[j>>2]|0;if((d|0)==(c|0)){k=f[l>>2]|0;l=f[b>>2]|0;l=k-l|0;m=(l|0)!=(m|0);u=n;return m|0}i=b+8|0;g=0;do{e=f[c+(g<<2)>>2]|0;if(e){f[k>>2]=e;c=e+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[i>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else Sxa(b,k);c=f[k>>2]|0;if(c|0?(e=c+8|0,a=f[e>>2]|0,f[e>>2]=a-1,(a|0)==1):0)Rua(c,1,1);c=f[j>>2]|0;d=f[h>>2]|0}g=g+1|0}while(g>>>0<d-c>>2>>>0);k=f[l>>2]|0;l=f[b>>2]|0;l=k-l|0;m=(l|0)!=(m|0);u=n;return m|0}function qxa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;Dxa()|0;b=f[(f[124914]|0)+84>>2]|0;f[a>>2]=0;c=a+4|0;f[c>>2]=0;d=a+8|0;f[d>>2]=0;if(!b)return;if(b>>>0>1073741823)DCb(a);e=b<<2;g=EBb(e)|0;f[a>>2]=g;b=g+(b<<2)|0;f[d>>2]=b;_Db(g|0,0,e|0)|0;f[c>>2]=b;return}function rxa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=338492;zxa(a,0);d=a+60|0;e=f[d>>2]|0;if(e|0){g=a+64|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=f[a+48>>2]|0;if(!b){Gva(a);return}f[a+52>>2]=b;GBb(b);Gva(a);return}function sxa(a){a=a|0;rxa(a);GBb(a);return}function txa(a){a=a|0;var c=0;a=EBb(72)|0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=338492;c=a+32|0;f[a+48>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;b[c+12>>0]=0;qxa(a+60|0);f[a>>2]=338664;f[c>>2]=34962;f[a+36>>2]=35044;return a|0}function uxa(a,c){a=a|0;c=c|0;var d=0;d=EBb(72)|0;Fva(d,a,c);f[d>>2]=338492;f[d+32>>2]=0;f[d+36>>2]=0;f[d+40>>2]=0;b[d+44>>0]=b[a+44>>0]|0;f[d+48>>2]=0;f[d+52>>2]=0;f[d+56>>2]=0;qxa(d+60|0);f[d>>2]=338664;return d|0}function vxa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295264,0)|0)!=0;return b|0}function wxa(a){a=a|0;return 409756}function xxa(a){a=a|0;return 410764}function yxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;e=a+60|0;g=a+64|0;a=f[g>>2]|0;c=f[e>>2]|0;d=a-c>>2;if(d>>>0<b>>>0){oxa(e,b-d|0);return}if(d>>>0<=b>>>0)return;d=c+(b<<2)|0;if((d|0)!=(a|0))do{a=a+-4|0;c=f[a>>2]|0;if(c|0?(b=c+8|0,e=f[b>>2]|0,f[b>>2]=e-1,(e|0)==1):0)Rua(c,1,1);f[a>>2]=0}while((a|0)!=(d|0));f[g>>2]=d;return}function zxa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;d=j;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){i=Nu(jsb(Nu(Hua(5)|0,410732,31)|0,c)|0,409404,1)|0;Drb(d,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(d,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(d);ksb(i,h)|0;Krb(i)|0}if(!c){h=a+60|0;g=a+64|0;d=f[g>>2]|0;c=f[h>>2]|0;if((d|0)==(c|0)){u=j;return}e=0;do{if(f[c+(e<<2)>>2]|0){c=d-c>>2;if(c>>>0<=e>>>0)oxa(h,e+1-c|0);c=f[h>>2]|0;d=f[c+(e<<2)>>2]|0;a=f[d+56>>2]|0;if(a){Axa(a,d);c=f[h>>2]|0}c=(f[g>>2]|0)-c>>2;if(c>>>0<=e>>>0)oxa(h,e+1-c|0);c=(f[h>>2]|0)+(e<<2)|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,a=d+8|0,i=f[a>>2]|0,f[a>>2]=i-1,(i|0)==1):0)Rua(d,1,1)}e=e+1|0;d=f[g>>2]|0;c=f[h>>2]|0}while(e>>>0<d-c>>2>>>0);u=j;return}h=f[c+124>>2]|0;i=a+60|0;g=a+64|0;c=f[g>>2]|0;d=f[i>>2]|0;a=c-d>>2;do if(a>>>0<=h>>>0){e=h+1|0;if(e>>>0>a>>>0){oxa(i,e-a|0);break}if(e>>>0<a>>>0){a=d+(e<<2)|0;if((a|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(k=d+8|0,e=f[k>>2]|0,f[k>>2]=e-1,(e|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(a|0));f[g>>2]=a}}while(0);d=f[i>>2]|0;if(!(f[d+(h<<2)>>2]|0)){u=j;return}c=f[g>>2]|0;a=c-d>>2;do if(a>>>0<=h>>>0){e=h+1|0;if(e>>>0>a>>>0){oxa(i,e-a|0);break}if(e>>>0<a>>>0){a=d+(e<<2)|0;if((a|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(e=d+8|0,k=f[e>>2]|0,f[e>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(a|0));f[g>>2]=a}}while(0);c=f[i>>2]|0;d=f[c+(h<<2)>>2]|0;a=f[d+56>>2]|0;if(!a)d=c;else{Axa(a,d);d=f[i>>2]|0}c=f[g>>2]|0;a=c-d>>2;do if(a>>>0<=h>>>0){e=h+1|0;if(e>>>0>a>>>0){oxa(i,e-a|0);break}if(e>>>0<a>>>0){a=d+(e<<2)|0;if((a|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(e=d+8|0,k=f[e>>2]|0,f[e>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(a|0));f[g>>2]=a}}while(0);c=(f[i>>2]|0)+(h<<2)|0;d=f[c>>2]|0;if(!d){u=j;return}f[c>>2]=0;i=d+8|0;k=f[i>>2]|0;f[i>>2]=k-1;if((k|0)!=1){u=j;return}Rua(d,1,1);u=j;return}function Axa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=a+12|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;f[b+52>>2]=0;f[b+20>>2]=0;f[b+24>>2]=0;f[b+28>>2]=0;f[b+44>>2]=f[b+40>>2];c=(b|0)==0;if(!c){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}d=a+60|0;e=EBb(12)|0;f[e>>2]=0;f[e+8>>2]=b;if(!c){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}f[e+4>>2]=d;h=f[d>>2]|0;f[e>>2]=h;f[h+4>>2]=e;f[d>>2]=e;h=a+68|0;f[h>>2]=(f[h>>2]|0)+1;if(c){h=f[g>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](g)|0;return}e=b+8|0;h=f[e>>2]|0;f[e>>2]=h-1;if((h|0)!=1){h=f[g>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](g)|0;return}Rua(b,1,1);h=f[g>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](g)|0;return}function Bxa(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 Cxa(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function Dxa(){var a=0;if(b[497248]|0)return 499656;if(!(DDb(497248)|0))return 499656;a=EBb(268)|0;Exa(a);f[124914]=a;a=a+8|0;f[a>>2]=(f[a>>2]|0)+1;return 499656}function Exa(a){a=a|0;var c=0,d=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=338836;c=a+104|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=a+132|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;d=a+168|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;d=a+184|0;f[a+216>>2]=0;f[a+220>>2]=0;f[a+224>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;t4a(a+232|0,0);f[a+248>>2]=0;f[a+252>>2]=0;f[a+244>>2]=a+248;f[a+260>>2]=0;f[a+264>>2]=0;f[a+256>>2]=a+260;f[a+12>>2]=0;b[a+16>>0]=0;f[a+20>>2]=1;n[a+24>>2]=.05000000074505806;n[a+28>>2]=.32499998807907104;n[a+32>>2]=.25999999046325684;n[a+36>>2]=.5;d=a+40|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;b[d+16>>0]=0;b[a+57>>0]=1;b[a+58>>0]=1;b[a+59>>0]=1;d=a+60|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[a+84>>2]=32;f[a+88>>2]=0;b[a+92>>0]=0;b[a+93>>0]=0;b[a+94>>0]=1;f[a+96>>2]=2;f[a+100>>2]=1;f[a+116>>2]=0;f[a+120>>2]=0;f[a+124>>2]=5;f[a+128>>2]=5;ZBb(c,410783)|0;c=a+144|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;Fxa(a,2,1);b[a+180>>0]=0;f[a+208>>2]=0;b[a+212>>0]=0;f[a+228>>2]=4;Gxa(a);return}function Fxa(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+32|0;k=m+12|0;l=m;f[a+164>>2]=c;if(!e){u=m;return}switch(c|0){case 4:{c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=16;h=c;i=412427;j=h+16|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+16>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;c=EBb(16)|0;f[l>>2]=c;f[l+8>>2]=-2147483632;f[l+4>>2]=15;h=c;i=412444;j=h+15|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+15>>0]=0;g=a+232|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;e=a+244|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=19;h=c;i=412460;j=h+19|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+19>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;c=EBb(32)|0;f[l>>2]=c;f[l+8>>2]=-2147483616;f[l+4>>2]=22;h=c;i=412480;j=h+22|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+22>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=14;h=c;i=412503;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+14>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=2;d[l>>1]=28265;b[l+2>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=15;h=c;i=412518;j=h+15|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+15>>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[412534]|0;b[l+1>>0]=b[412535]|0;b[l+2>>0]=b[412536]|0;b[l+3>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=m;return}l=Nu(Hua(4)|0,412538,29)|0;Drb(k,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(k,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(k);ksb(l,j)|0;Krb(l)|0;u=m;return}case 2:{c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=16;h=c;i=412427;j=h+16|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+16>>0]=0;g=a+232|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;e=a+244|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=19;h=c;i=412460;j=h+19|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+19>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;c=EBb(32)|0;f[l>>2]=c;f[l+8>>2]=-2147483616;f[l+4>>2]=22;h=c;i=412480;j=h+22|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+22>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=14;h=c;i=412503;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+14>>0]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=7;b[l>>0]=b[412568]|0;b[l+1>>0]=b[412569]|0;b[l+2>>0]=b[412570]|0;b[l+3>>0]=b[412571]|0;b[l+4>>0]=b[412572]|0;b[l+5>>0]=b[412573]|0;b[l+6>>0]=b[412574]|0;b[l+7>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=15;h=c;i=412518;j=h+15|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+15>>0]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=7;b[l>>0]=b[412568]|0;b[l+1>>0]=b[412569]|0;b[l+2>>0]=b[412570]|0;b[l+3>>0]=b[412571]|0;b[l+4>>0]=b[412572]|0;b[l+5>>0]=b[412573]|0;b[l+6>>0]=b[412574]|0;b[l+7>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=m;return}l=Nu(Hua(4)|0,412576,29)|0;Drb(k,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(k,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(k);ksb(l,j)|0;Krb(l)|0;u=m;return}case 3:{c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=16;h=c;i=412427;j=h+16|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+16>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;c=EBb(16)|0;f[l>>2]=c;f[l+8>>2]=-2147483632;f[l+4>>2]=12;h=c;i=412606;j=h+12|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+12>>0]=0;g=a+232|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;e=a+244|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=19;h=c;i=412460;j=h+19|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+19>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=14;h=c;i=412503;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+14>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=2;d[l>>1]=28265;b[l+2>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=15;h=c;i=412518;j=h+15|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+15>>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[412534]|0;b[l+1>>0]=b[412535]|0;b[l+2>>0]=b[412536]|0;b[l+3>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=m;return}l=Nu(Hua(4)|0,412619,27)|0;Drb(k,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(k,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(k);ksb(l,j)|0;Krb(l)|0;u=m;return}case 1:{c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=16;h=c;i=412427;j=h+16|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+16>>0]=0;g=a+232|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;e=a+244|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=19;h=c;i=412460;j=h+19|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+19>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=14;h=c;i=412503;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+14>>0]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=7;b[l>>0]=b[412568]|0;b[l+1>>0]=b[412569]|0;b[l+2>>0]=b[412570]|0;b[l+3>>0]=b[412571]|0;b[l+4>>0]=b[412572]|0;b[l+5>>0]=b[412573]|0;b[l+6>>0]=b[412574]|0;b[l+7>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=15;h=c;i=412518;j=h+15|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+15>>0]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=7;b[l>>0]=b[412568]|0;b[l+1>>0]=b[412569]|0;b[l+2>>0]=b[412570]|0;b[l+3>>0]=b[412571]|0;b[l+4>>0]=b[412572]|0;b[l+5>>0]=b[412573]|0;b[l+6>>0]=b[412574]|0;b[l+7>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=m;return}l=Nu(Hua(4)|0,412647,27)|0;Drb(k,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(k,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(k);ksb(l,j)|0;Krb(l)|0;u=m;return}case 0:{c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=16;h=c;i=412427;j=h+16|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+16>>0]=0;g=a+232|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;e=a+244|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(32)|0;f[k>>2]=c;f[k+8>>2]=-2147483616;f[k+4>>2]=19;h=c;i=412460;j=h+19|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+19>>0]=0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=14;h=c;i=412503;j=h+14|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+14>>0]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=7;b[l>>0]=b[412568]|0;b[l+1>>0]=b[412569]|0;b[l+2>>0]=b[412570]|0;b[l+3>>0]=b[412571]|0;b[l+4>>0]=b[412572]|0;b[l+5>>0]=b[412573]|0;b[l+6>>0]=b[412574]|0;b[l+7>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=EBb(16)|0;f[k>>2]=c;f[k+8>>2]=-2147483632;f[k+4>>2]=15;h=c;i=412518;j=h+15|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+15>>0]=0;f[l+8>>2]=0;j=l+11|0;b[j>>0]=7;b[l>>0]=b[412568]|0;b[l+1>>0]=b[412569]|0;b[l+2>>0]=b[412570]|0;b[l+3>>0]=b[412571]|0;b[l+4>>0]=b[412572]|0;b[l+5>>0]=b[412573]|0;b[l+6>>0]=b[412574]|0;b[l+7>>0]=0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UBb(ck(e,k)|0,l)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[j>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=m;return}l=Nu(Hua(4)|0,412675,21)|0;Drb(k,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(k,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(k);ksb(l,j)|0;Krb(l)|0;u=m;return}default:{u=m;return}}}function Gxa(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,s=0,t=0,v=0,w=0;w=u;u=u+64|0;t=w+36|0;v=w+24|0;q=w+12|0;s=w;r=w+48|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;d=sh(410787)|0;a:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;g=v+11|0;e=b[g>>0]|0;h=v+4|0;c=f[h>>2]|0;d=e&255;do if(((e<<24>>24<0?c:d)|0)==7)if(!(nCb(v,0,-1,410804,7)|0)){f[a+12>>2]=0;break a}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==9)if(!(nCb(v,0,-1,410812,9)|0)){f[a+12>>2]=1;break a}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==14)if(!(nCb(v,0,-1,410822,14)|0)){f[a+12>>2]=2;break a}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);if(((e<<24>>24<0?c:d)|0)==20?(nCb(v,0,-1,410837,20)|0)==0:0)f[a+12>>2]=3}while(0);d=sh(410858)|0;b:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;g=v+11|0;d=b[g>>0]|0;h=v+4|0;c=f[h>>2]|0;e=d&255;do if(((d<<24>>24<0?c:e)|0)==11)if(!(nCb(v,0,-1,410874,11)|0)){f[a+20>>2]=0;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);do if(((d<<24>>24<0?c:e)|0)==10)if(!(nCb(v,0,-1,410886,10)|0)){f[a+20>>2]=1;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);do if(((d<<24>>24<0?c:e)|0)==16)if(!(nCb(v,0,-1,410897,16)|0)){f[a+20>>2]=2;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);do if(((d<<24>>24<0?c:e)|0)==14)if(!(nCb(v,0,-1,410914,14)|0)){f[a+20>>2]=3;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);do if(((d<<24>>24<0?c:e)|0)==8)if(!(nCb(v,0,-1,410929,8)|0)){f[a+20>>2]=4;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);do if(((d<<24>>24<0?c:e)|0)==9)if(!(nCb(v,0,-1,410938,9)|0)){f[a+20>>2]=5;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);do if(((d<<24>>24<0?c:e)|0)==20)if(!(nCb(v,0,-1,410948,20)|0)){f[a+20>>2]=6;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);do if(((d<<24>>24<0?c:e)|0)==18)if(!(nCb(v,0,-1,410969,18)|0)){f[a+20>>2]=7;break b}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);if(((d<<24>>24<0?c:e)|0)==12?(nCb(v,0,-1,410988,12)|0)==0:0)f[a+20>>2]=8}while(0);d=sh(411001)|0;c:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0)){b[a+16>>0]=0;break c}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==2?(nCb(v,0,-1,411016,2)|0)==0:0)b[a+16>>0]=1}while(0);Hxa(411019,a+24|0)|0;Hxa(411038,a+28|0)|0;Hxa(411055,a+32|0)|0;Hxa(411073,a+36|0)|0;d=sh(411093)|0;d:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==22)if(!(nCb(v,0,-1,411133,22)|0)){f[a+40>>2]=0;break d}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==23?(nCb(v,0,-1,411156,23)|0)==0:0)f[a+40>>2]=1}while(0);jF(411180,a+44|0)|0;d=sh(411219)|0;e:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==21)if(!(nCb(v,0,-1,411257,21)|0)){f[a+48>>2]=0;break e}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==24?(nCb(v,0,-1,411279,24)|0)==0:0)f[a+48>>2]=1}while(0);d=sh(411304)|0;f:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0)){b[a+56>>0]=0;break f}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==2?(nCb(v,0,-1,411016,2)|0)==0:0)b[a+56>>0]=1}while(0);jF(411346,a+52|0)|0;rv(411383,a+84|0)|0;d=sh(411419)|0;g:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0)){b[a+92>>0]=0;break g}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==2?(nCb(v,0,-1,411016,2)|0)==0:0)b[a+92>>0]=1}while(0);d=sh(411440)|0;h:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0)){b[a+93>>0]=0;break h}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==2?(nCb(v,0,-1,411016,2)|0)==0:0)b[a+93>>0]=1}while(0);d=sh(411468)|0;i:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0)){b[a+94>>0]=0;break i}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==2?(nCb(v,0,-1,411016,2)|0)==0:0)b[a+94>>0]=1}while(0);rv(411497,a+96|0)|0;rv(411522,a+100|0)|0;rv(411552,a+88|0)|0;rv(411570,a+116|0)|0;rv(411592,a+120|0)|0;f[t>>2]=a+124;f[t+4>>2]=a+128;n=q+11|0;o=q+4|0;m=0;do{f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;d=sh(f[338864+(m<<2)>>2]|0)|0;j:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(q,d,c)|0;e=b[n>>0]|0;i=e<<24>>24<0;c=f[q>>2]|0;h=i?c:q;d=f[o>>2]|0;g=e&255;i=i?d:g;j=h+i|0;k=j;l=h;k:do if((i|0)>=3){while(1){i=i+-2|0;if(!i)break k;h=Ymb(h,79,i)|0;if(!h)break k;if(!(anb(h,411012,3)|0))break;h=h+1|0;i=k-h|0;if((i|0)<3)break k}if((h|0)!=(j|0)?(h-l|0)!=-1:0){f[f[t+(m<<2)>>2]>>2]=0;e=b[n>>0]|0;g=e&255;c=f[q>>2]|0;d=f[o>>2]|0}}while(0);i=e<<24>>24<0;h=i?c:q;c=i?d:g;g=h+c|0;i=g;j=h;l:do if((c|0)>=8){e=h;d=c;while(1){d=d+-7|0;if(!d){p=163;break l}d=Ymb(e,126,d)|0;if(!d){p=163;break l}if(!(anb(d,411635,8)|0))break;e=d+1|0;d=i-e|0;if((d|0)<8){p=163;break l}}if(!((d|0)==(g|0)|(d-j|0)==-1)){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]^5}else p=163}else p=163;while(0);m:do if((p|0)==163?(p=0,(c|0)>=7):0){d=h;while(1){c=c+-6|0;if(!c)break m;c=Ymb(d,68,c)|0;if(!c)break m;if(!(anb(c,411644,7)|0))break;d=c+1|0;c=i-d|0;if((c|0)<7)break m}if((c|0)!=(g|0)?(c-j|0)!=-1:0){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]|5}}while(0);c=b[n>>0]|0;h=c<<24>>24<0;g=h?f[q>>2]|0:q;c=h?f[o>>2]|0:c&255;h=g+c|0;i=h;j=g;n:do if((c|0)>=6){e=g;d=c;while(1){d=d+-5|0;if(!d){p=180;break n}d=Ymb(e,126,d)|0;if(!d){p=180;break n}if(!(anb(d,411652,6)|0))break;e=d+1|0;d=i-e|0;if((d|0)<6){p=180;break n}}if(!((d|0)==(h|0)|(d-j|0)==-1)){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]^4}else p=180}else p=180;while(0);o:do if((p|0)==180?(p=0,(c|0)>=5):0){d=g;while(1){c=c+-4|0;if(!c)break o;c=Ymb(d,67,c)|0;if(!c)break o;if(!(anb(c,411659,5)|0))break;d=c+1|0;c=i-d|0;if((c|0)<5)break o}if((c|0)!=(h|0)?(c-j|0)!=-1:0){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]|4}}while(0);c=b[n>>0]|0;h=c<<24>>24<0;g=h?f[q>>2]|0:q;c=h?f[o>>2]|0:c&255;h=g+c|0;i=h;j=g;p:do if((c|0)>=6){e=g;d=c;while(1){d=d+-5|0;if(!d){p=197;break p}d=Ymb(e,126,d)|0;if(!d){p=197;break p}if(!(anb(d,411665,6)|0))break;e=d+1|0;d=i-e|0;if((d|0)<6){p=197;break p}}if(!((d|0)==(h|0)|(d-j|0)==-1)){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]^1}else p=197}else p=197;while(0);q:do if((p|0)==197?(p=0,(c|0)>=5):0){d=g;while(1){c=c+-4|0;if(!c)break q;c=Ymb(d,68,c)|0;if(!c)break q;if(!(anb(c,411672,5)|0))break;d=c+1|0;c=i-d|0;if((c|0)<5)break q}if((c|0)!=(h|0)?(c-j|0)!=-1:0){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]|1}}while(0);c=b[n>>0]|0;h=c<<24>>24<0;g=h?f[q>>2]|0:q;c=h?f[o>>2]|0:c&255;h=g+c|0;i=h;j=g;r:do if((c|0)>=8){e=g;d=c;while(1){d=d+-7|0;if(!d)break r;d=Ymb(e,126,d)|0;if(!d)break r;if(!(anb(d,411678,8)|0))break;e=d+1|0;d=i-e|0;if((d|0)<8)break r}if(!((d|0)==(h|0)|(d-j|0)==-1)){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]^2;break j}}while(0);if((c|0)>=7){d=g;while(1){c=c+-6|0;if(!c)break j;c=Ymb(d,83,c)|0;if(!c)break j;if(!(anb(c,411687,7)|0))break;d=c+1|0;c=i-d|0;if((c|0)<7)break j}if((c|0)!=(h|0)?(c-j|0)!=-1:0){l=f[t+(m<<2)>>2]|0;f[l>>2]=f[l>>2]|2}}}while(0);if((b[n>>0]|0)<0)GBb(f[q>>2]|0);m=m+1|0}while(m>>>0<2);d=sh(411620)|0;if(!d){d=sh(411695)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;p=231}}else{c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;p=231}if((p|0)==231)UBb(a+132|0,v)|0;rv(411718,a+144|0)|0;rv(411739,a+148|0)|0;d=sh(411767)|0;s:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;g=v+11|0;e=b[g>>0]|0;h=v+4|0;c=f[h>>2]|0;d=e&255;do if(((e<<24>>24<0?c:d)|0)==7)if(!(nCb(v,0,-1,411644,7)|0)){f[a+152>>2]=0;break s}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==8)if(!(nCb(v,0,-1,411783,8)|0)){f[a+152>>2]=1;break s}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==4)if(!(nCb(v,0,-1,411792,4)|0)){f[a+152>>2]=2;break s}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);if(((e<<24>>24<0?c:d)|0)==9?(nCb(v,0,-1,411797,9)|0)==0:0)f[a+152>>2]=3}while(0);d=sh(411807)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;h=v+11|0;c=b[h>>0]|0;g=v+4|0;d=f[g>>2]|0;e=c&255;if(((c<<24>>24<0?d:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0))c=0;else{c=b[h>>0]|0;e=c&255;d=f[g>>2]|0;p=258}else p=258;do if((p|0)==258){if(((c<<24>>24<0?d:e)|0)==2){if(!(nCb(v,0,-1,411016,2)|0)){c=1;break}c=b[h>>0]|0}c=Tnb(c<<24>>24<0?f[v>>2]|0:v)|0}while(0);f[a+156>>2]=c}d=sh(411829)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;g=v+11|0;e=b[g>>0]|0;h=v+4|0;c=f[h>>2]|0;d=e&255;if(((e<<24>>24<0?c:d)|0)==20)if(!(nCb(v,0,-1,411852,20)|0))p=273;else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;p=270}else p=270;t:do if((p|0)==270){if(((e<<24>>24<0?c:d)|0)==3){if(!(nCb(v,0,-1,411873,3)|0)){p=273;break}e=b[g>>0]|0;d=e&255;c=f[h>>2]|0}if(((e<<24>>24<0?c:d)|0)==19){if(nCb(v,0,-1,411928,19)|0){e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;p=281}}else p=281;do if((p|0)==281){if(((e<<24>>24<0?c:d)|0)==3?(nCb(v,0,-1,411948,3)|0)==0:0)break;do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3){c=0;break t}c=Nu(Hua(4)|0,412002,43)|0;Drb(t,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);o=utb(t,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(t);ksb(c,o)|0;Krb(c)|0;c=0;break t}while(0);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>3){c=Nu(Hua(4)|0,411952,49)|0;Drb(t,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);o=utb(t,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(t);ksb(c,o)|0;Krb(c)|0;c=2}else c=2}while(0);if((p|0)==273){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){c=Nu(Hua(4)|0,411877,50)|0;Drb(t,c+(f[(f[c>>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(c,p)|0;Krb(c)|0;c=1}else c=1}f[a+160>>2]=c}d=sh(412046)|0;u:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;g=v+11|0;e=b[g>>0]|0;h=v+4|0;c=f[h>>2]|0;d=e&255;do if(((e<<24>>24<0?c:d)|0)==3)if(!(nCb(v,0,-1,412062,3)|0)){Fxa(a,1,1);break u}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==3)if(!(nCb(v,0,-1,412066,3)|0)){Fxa(a,3,1);break u}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==5)if(!(nCb(v,0,-1,412070,5)|0)){Fxa(a,2,1);break u}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==5)if(!(nCb(v,0,-1,412076,5)|0)){Fxa(a,4,1);break u}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);if(((e<<24>>24<0?c:d)|0)==4){if(nCb(v,0,-1,412082,4)|0)break;Fxa(a,0,1)}}while(0);d=sh(412087)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;UBb(a+168|0,v)|0}d=sh(412113)|0;v:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0)){b[a+180>>0]=0;break v}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==2?(nCb(v,0,-1,411016,2)|0)==0:0)b[a+180>>0]=1}while(0);d=sh(412126)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;OBb(t,v);j=t+11|0;c=b[j>>0]|0;if((c<<24>>24<0?f[t+4>>2]|0:c&255)|0){d=lCb(t,58,0)|0;if((d|0)==-1)c=0;else{e=a+188|0;g=a+192|0;h=q+11|0;i=a+184|0;c=0;do{SBb(q,t,c,d-c|0,s);c=f[e>>2]|0;do if(c>>>0<(f[g>>2]|0)>>>0){f[c>>2]=f[q>>2];f[c+4>>2]=f[q+4>>2];f[c+8>>2]=f[q+8>>2];f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[e>>2]=(f[e>>2]|0)+12}else{Pu(i,q);if((b[h>>0]|0)>=0)break;GBb(f[q>>2]|0)}while(0);c=d+1|0;d=lCb(t,58,c)|0}while((d|0)!=-1)}SBb(q,t,c,-1,s);c=q+11|0;p=b[c>>0]|0;do if((p<<24>>24<0?f[q+4>>2]|0:p&255)|0){d=a+188|0;e=f[d>>2]|0;if((e|0)==(f[a+192>>2]|0)){Ru(a+184|0,q);break}else{OBb(e,q);f[d>>2]=(f[d>>2]|0)+12;break}}while(0);if((b[c>>0]|0)<0)GBb(f[q>>2]|0);c=b[j>>0]|0}if(c<<24>>24<0)GBb(f[t>>2]|0)}d=sh(412145)|0;w:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;g=v+11|0;e=b[g>>0]|0;h=v+4|0;c=f[h>>2]|0;d=e&255;do if(((e<<24>>24<0?c:d)|0)==9)if(!(nCb(v,0,-1,412166,9)|0)){f[a+208>>2]=0;break w}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);do if(((e<<24>>24<0?c:d)|0)==10)if(!(nCb(v,0,-1,412176,10)|0)){f[a+208>>2]=1;break w}else{e=b[g>>0]|0;d=e&255;c=f[h>>2]|0;break}while(0);if(((e<<24>>24<0?c:d)|0)!=10)break;if(nCb(v,0,-1,412187,10)|0)break;f[a+208>>2]=2}while(0);f[q>>2]=0;jF(412198,q)|0;d=sh(412222)|0;x:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;d=v+11|0;g=b[d>>0]|0;h=v+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==3)if(!(nCb(v,0,-1,411012,3)|0)){b[a+212>>0]=0;break x}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)!=2)break;if(nCb(v,0,-1,411016,2)|0)break;b[a+212>>0]=1}while(0);d=sh(412242)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;i=a+216|0;d=f[i>>2]|0;j=a+220|0;c=f[j>>2]|0;if((c|0)!=(d|0))do{c=c+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(d|0));f[j>>2]=d;OBb(t,v);h=t+11|0;c=b[h>>0]|0;if((c<<24>>24<0?f[t+4>>2]|0:c&255)|0){d=lCb(t,58,0)|0;if((d|0)==-1)c=0;else{e=a+224|0;g=s+11|0;c=0;do{SBb(s,t,c,d-c|0,r);c=f[j>>2]|0;do if(c>>>0<(f[e>>2]|0)>>>0){f[c>>2]=f[s>>2];f[c+4>>2]=f[s+4>>2];f[c+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[j>>2]=(f[j>>2]|0)+12}else{Pu(i,s);if((b[g>>0]|0)>=0)break;GBb(f[s>>2]|0)}while(0);c=d+1|0;d=lCb(t,58,c)|0}while((d|0)!=-1)}SBb(s,t,c,-1,r);c=s+11|0;r=b[c>>0]|0;do if((r<<24>>24<0?f[s+4>>2]|0:r&255)|0){d=f[j>>2]|0;if((d|0)==(f[a+224>>2]|0)){Ru(i,s);break}else{OBb(d,s);f[j>>2]=(f[j>>2]|0)+12;break}}while(0);if((b[c>>0]|0)<0)GBb(f[s>>2]|0);c=b[h>>0]|0}if(c<<24>>24<0)GBb(f[t>>2]|0)}d=sh(412268)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(v,d,c)|0;s=Tnb((b[v+11>>0]|0)<0?f[v>>2]|0:v)|0;f[a+228>>2]=s}do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>3){s=Nu(Hua(4)|0,412306,33)|0;a=csb(s,f[a+228>>2]|0)|0;Drb(t,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);s=utb(t,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(t);ksb(a,s)|0;Krb(a)|0}if((b[v+11>>0]|0)>=0){u=w;return}GBb(f[v>>2]|0);u=w;return}function Hxa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+160|0;i=j+12|0;h=j;e=sh(a|0)|0;if(!e){i=0;u=j;return i|0}a=0;while(1){if(!(b[e+a>>0]|0)){g=6;break}a=a+1|0;if(a>>>0>=4096){g=5;break}}if((g|0)==5){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=4096;g=7}else if((g|0)==6){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;if(a>>>0<11){b[h+11>>0]=a;if(!a){a=0;d=h}else{d=h;g=9}}else g=7}if((g|0)==7){k=a+16&-16;d=EBb(k)|0;f[h>>2]=d;f[h+8>>2]=k|-2147483648;f[h+4>>2]=a;g=9}if((g|0)==9)YDb(d|0,e|0,a|0)|0;b[d+a>>0]=0;d=i+60|0;e=i+8|0;f[i>>2]=276076;f[d>>2]=276096;f[i+4>>2]=0;Brb(i+60|0,e);f[i+132>>2]=0;f[i+136>>2]=-1;f[i>>2]=304144;f[d>>2]=304164;Hrb(e);f[e>>2]=304196;g=i+40|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[i+56>>2]=8;Nr(e,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);Rrb(i,c)|0;a=(f[i+(f[(f[i>>2]|0)+-12>>2]|0)+16>>2]&5|0)==0;f[i>>2]=304144;f[d>>2]=304164;f[e>>2]=304196;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);crb(i,304176);kqb(d);k=a;u=j;return k|0}function Ixa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=338836;Y4(a+256|0,f[a+260>>2]|0);Ak(a+244|0,f[a+248>>2]|0);R3a(a+232|0);d=a+216|0;g=f[d>>2]|0;if(g|0){e=a+220|0;c=f[e>>2]|0;if((c|0)==(g|0))c=g;else{do{c=c+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(g|0));c=f[d>>2]|0}f[e>>2]=g;GBb(c)}e=a+196|0;g=f[e>>2]|0;if(g|0){h=a+200|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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)}d=a+184|0;e=f[d>>2]|0;if(e|0){g=a+188|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+168|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+132|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+104|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function Jxa(a){a=a|0;Ixa(a);GBb(a);return}function Kxa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0.0,o=0;o=u;u=u+512|0;i=o+256|0;j=o+128|0;k=o;l=o+384|0;m=+n[c+24>>2];h=+n[c+36>>2];a:do if(!(b[c+56>>0]|0)){e=1.0;g=1.0}else switch(f[c+20>>2]|0){case 2:{e=1.0;g=2.0;break a}case 3:{e=2.0;g=1.0;break a}default:{e=1.0;g=1.0;break a}}while(0);if((f[c+12>>2]|0)==3){f3a(i);g3a(i,g,e,1.0);f3a(a);l3a(a,i,d);u=o;return}else{$2a(k,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,m/(h*2.0),0.0,1.0,0.0,0.0,0.0,0.0,1.0);f3a(l);g3a(l,g,e,1.0);f3a(j);l3a(j,k,l);f3a(a);l3a(a,j,d);u=o;return}}function Lxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0;e=u;u=u+128|0;f=e;$2a(f,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,+n[b+24>>2]*.5*d,0.0,0.0,1.0);f3a(a);l3a(a,c,f);u=e;return}function Mxa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0.0,o=0;o=u;u=u+512|0;i=o+256|0;j=o+128|0;k=o;l=o+384|0;m=+n[c+24>>2];h=+n[c+36>>2];a:do if(!(b[c+56>>0]|0)){e=1.0;g=1.0}else switch(f[c+20>>2]|0){case 2:{e=1.0;g=2.0;break a}case 3:{e=2.0;g=1.0;break a}default:{e=1.0;g=1.0;break a}}while(0);if((f[c+12>>2]|0)==3){f3a(i);g3a(i,g,e,1.0);f3a(a);l3a(a,i,d);u=o;return}else{$2a(k,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,-m/(h*2.0),0.0,1.0,0.0,0.0,0.0,0.0,1.0);f3a(l);g3a(l,g,e,1.0);f3a(j);l3a(j,k,l);f3a(a);l3a(a,j,d);u=o;return}}function Nxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0;e=u;u=u+128|0;f=e;$2a(f,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,-(+n[b+24>>2]*.5*d),0.0,0.0,1.0);f3a(a);l3a(a,c,f);u=e;return}function Oxa(a){a=a|0;mi()}function Pxa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295248,0)|0)!=0;return b|0}function Qxa(a){a=a|0;return 409756}function Rxa(a){a=a|0;return 412721}function Sxa(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<e>>>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 Txa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;c=g;e=a+28|0;if(f[e>>2]|0){u=g;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){d=Nu(Hua(5)|0,412866,83)|0;a=a+12|0;d=csb(d,f[(f[a>>2]|0)+372>>2]|0)|0;Drb(c,d+(f[(f[d>>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(d,h)|0;Krb(d)|0}else a=a+12|0;d=EBb(28)|0;c=f[(f[a>>2]|0)+372>>2]|0;f[d+4>>2]=0;a=d+8|0;f[a>>2]=0;f[d+12>>2]=0;f[d+16>>2]=-1;b[d+20>>0]=0;f[d>>2]=338436;f[d+24>>2]=c;c=f[e>>2]|0;if((c|0)==(d|0)){u=g;return}f[e>>2]=d;f[a>>2]=(f[a>>2]|0)+1;if(!c){u=g;return}e=c+8|0;h=f[e>>2]|0;f[e>>2]=h-1;if((h|0)!=1){u=g;return}Rua(c,1,1);u=g;return}function Uxa(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<c>>>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 Vxa(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;m=f[a>>2]|0;e=m;k=(f[b>>2]|0)-e|0;o=m+(k>>2<<2)|0;p=a+4|0;h=f[p>>2]|0;n=a+8|0;l=f[n>>2]|0;b=h;d=l;if(h>>>0<l>>>0){if((o|0)==(h|0)){f[o>>2]=f[c>>2];f[p>>2]=(f[p>>2]|0)+4;p=o;return p|0}e=b-(o+4)|0;g=e>>2;b=o+(g<<2)|0;if(b>>>0<h>>>0){d=h;do{f[d>>2]=f[b>>2];b=b+4|0;d=(f[p>>2]|0)+4|0;f[p>>2]=d}while(b>>>0<h>>>0)}if(e|0)ZDb(h+(0-g<<2)|0,o|0,e|0)|0;if(o>>>0<=c>>>0)c=(f[p>>2]|0)>>>0>c>>>0?c+4|0:c;f[o>>2]=f[c>>2];p=o;return p|0}b=(b-e>>2)+1|0;if(b>>>0>1073741823)DCb(a);l=d-e|0;d=l>>1;d=l>>2>>>0<536870911?(d>>>0<b>>>0?b:d):1073741823;l=o;j=k>>2;b=(d|0)==0;do if(!b)if(d>>>0>1073741823){p=ab(8)|0;KBb(p,410101);f[p>>2]=362060;eb(p|0,302144,1464)}else{i=EBb(d<<2)|0;h=i;break}else{h=0;i=0}while(0);g=h+(j<<2)|0;e=h+(d<<2)|0;do if((j|0)==(d|0)){if((k|0)>0){b=g+(((d+1|0)/-2|0)<<2)|0;h=k;d=j;j=b;i=e;e=m;break}d=b?1:d<<2>>1;b=d>>>2;do if(d)if(d>>>0>1073741823){p=ab(8)|0;KBb(p,410101);f[p>>2]=362060;eb(p|0,302144,1464)}else{e=EBb(d<<2)|0;break}else e=0;while(0);g=e+(b<<2)|0;b=e+(d<<2)|0;if(!h){h=k;d=j;j=g;i=b;b=g;e=m}else{GBb(i);e=f[a>>2]|0;d=l-e|0;h=d;d=d>>2;j=g;i=b;b=g}}else{h=k;d=j;j=g;i=e;b=g;e=m}while(0);f[b>>2]=f[c>>2];c=j+4|0;d=j+(0-d<<2)|0;if((h|0)>0)YDb(d|0,e|0,h|0)|0;b=(f[p>>2]|0)-l|0;if((b|0)>0){YDb(c|0,o|0,b|0)|0;c=c+(b>>>2<<2)|0}b=f[a>>2]|0;f[a>>2]=d;f[p>>2]=c;f[n>>2]=i;if(!b){p=j;return p|0}GBb(b);p=j;return p|0}function Wxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;uya(a,b,c);f[a>>2]=338880;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;d=f[b+124>>2]|0;e=b+128|0;if((d|0)==(f[e>>2]|0))return;b=d;do{d=cj[f[(f[c>>2]|0)+16>>2]&1023](c,f[b>>2]|0)|0;if(d|0)cj[f[(f[a>>2]|0)+228>>2]&1023](a,d)|0;b=b+4|0}while((b|0)!=(f[e>>2]|0));return}function Xxa(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]=338880;m=a+124|0;b=f[m>>2]|0;n=a+128|0;if((b|0)==(f[n>>2]|0))d=b;else{do{c=f[b>>2]|0;i=zwa()|0;j=(i|0)==0;if(!j)_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;d=f[c+72>>2]|0;h=c+76|0;e=f[h>>2]|0;g=e;a:do if((d|0)==(e|0)){k=d;l=20}else{c=d;do{if((f[c>>2]|0)==(a|0)){k=c;l=20;break a}c=c+4|0}while((c|0)!=(e|0))}while(0);if((l|0)==20?(l=0,(k|0)!=(e|0)):0){d=k+4|0;c=g-d|0;if(c|0)ZDb(k|0,d|0,c|0)|0;f[h>>2]=k+(c>>2<<2)}if(!j)_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;b=b+4|0}while((b|0)!=(f[n>>2]|0));d=f[m>>2]|0}if(!d){Yxa(a);return}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,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));b=f[m>>2]|0}f[n>>2]=d;GBb(b);Yxa(a);return}function Yxa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=339152;_xa(a,0);b=a+120|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+100|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,h=d+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+92|0;c=f[b>>2]|0;if(c|0?(e=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,h=e+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(e,1,1);f[b>>2]=0;b=a+84|0;c=f[b>>2]|0;if(c|0?(g=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,h=g+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(g,1,1);f[b>>2]=0;b=f[a+72>>2]|0;if(b|0){f[a+76>>2]=b;GBb(b)}b=a+48|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Gva(a);return}h=c+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[b>>2]=0;Gva(a);return}Rua(c,1,1);f[b>>2]=0;Gva(a);return}function Zxa(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 _xa(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+120|0;c=f[m>>2]|0;if((c|0)==(b|0))return;do if(!c){d=0;c=0;e=0}else{k=zwa()|0;l=(k|0)==0;if(!l)_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;d=f[c+32>>2]|0;i=c+36|0;e=f[i>>2]|0;g=e;a:do if((d|0)==(e|0)){j=d;h=9}else{c=d;do{if((f[c>>2]|0)==(a|0)){j=c;h=9;break a}c=c+4|0}while((c|0)!=(e|0))}while(0);if((h|0)==9?(j|0)!=(e|0):0){d=j+4|0;c=g-d|0;if(c|0)ZDb(j|0,d|0,c|0)|0;f[i>>2]=j+(c>>2<<2)}if(!l)_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;e=f[m>>2]|0;if((f[e+144>>2]|0)==0?(f[e+148>>2]|0)==0:0)c=0;else c=-1;if((f[e+152>>2]|0)==0?(f[e+156>>2]|0)==0:0){d=0;break}d=-1}while(0);if((e|0)!=(b|0)){f[m>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(e|0?(l=e+8|0,b=f[l>>2]|0,f[l>>2]=b-1,(b|0)==1):0)Rua(e,1,1)}e=f[m>>2]|0;do if(e){dya(e,a);e=f[m>>2]|0;if(!((f[e+144>>2]|0)==0?(f[e+148>>2]|0)==0:0))c=c+1|0;if((f[e+152>>2]|0)==0?(f[e+156>>2]|0)==0:0)break;d=d+1|0}while(0);if(c|0)Bwa(a,(f[a+88>>2]|0)+c|0);if(!d)return;Cwa(a,(f[a+96>>2]|0)+d|0);return}function $xa(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 aya(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 bya(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function cya(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 dya(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;f[d>>2]=b;e=zwa()|0;g=(e|0)==0;if(!g)_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;h=a+36|0;c=f[h>>2]|0;if((c|0)==(f[a+40>>2]|0))Uxa(a+32|0,d);else{f[c>>2]=b;f[h>>2]=(f[h>>2]|0)+4}if(g){u=i;return}_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;u=i;return}function eya(a,b){a=a|0;b=b|0;var c=0;c=f[a+28>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+120>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[f[c>>2]>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[f[c>>2]>>2]&1023](c,b)}c=f[a+100>>2]|0;if(!c)return;a=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[f[a>>2]>>2]&1023](a,b);return}function fya(a){a=a|0;Yxa(a);GBb(a);return}function gya(a){a=a|0;var c=0;a=EBb(124)|0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=339152;n[a+32>>2]=0.0;n[a+36>>2]=0.0;n[a+40>>2]=0.0;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;return a|0}function hya(a,b){a=a|0;b=b|0;var c=0;c=EBb(124)|0;uya(c,a,b);return c|0}function iya(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 jya(a){a=a|0;return 409756}function kya(a){a=a|0;return 412950}function lya(a,b){a=a|0;b=b|0;var c=0;c=f[a+120>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+100>>2]|0;if(!c)return;a=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[a>>2]|0)+156>>2]&1023](a,b);return}function mya(a,b){a=a|0;b=b|0;var c=0;c=f[a+120>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+100>>2]|0;if(!c)return;a=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[a>>2]|0)+160>>2]&1023](a,b);return}function nya(a){a=a|0;return 0}function oya(a){a=a|0;return 0}function pya(a){a=a|0;return 0}function qya(a){a=a|0;return 0}function rya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+108>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function sya(a,b){a=a|0;b=b|0;return}function tya(a,b){a=a|0;b=b|0;n[a>>2]=0.0;n[a+4>>2]=0.0;n[a+8>>2]=0.0;n[a+12>>2]=-1.0;return}function uya(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;Fva(a,c,d);f[a>>2]=339152;e=a+32|0;g=c+32|0;f[e>>2]=f[g>>2];f[e+4>>2]=f[g+4>>2];f[e+8>>2]=f[g+8>>2];f[a+44>>2]=f[c+44>>2];f[a+48>>2]=0;e=a+52|0;g=c+52|0;f[e>>2]=f[g>>2];f[e+4>>2]=f[g+4>>2];f[e+8>>2]=f[g+8>>2];f[a+64>>2]=f[c+64>>2];b[a+68>>0]=b[c+68>>0]|0;f[a+72>>2]=0;f[a+76>>2]=0;f[a+80>>2]=0;e=cj[f[(f[d>>2]|0)+60>>2]&1023](d,f[c+84>>2]|0)|0;f[a+84>>2]=e;if(e|0){g=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1}f[a+88>>2]=0;f[a+92>>2]=0;f[a+96>>2]=0;e=cj[f[(f[d>>2]|0)+60>>2]&1023](d,f[c+100>>2]|0)|0;f[a+100>>2]=e;if(e|0){g=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1}b[a+104>>0]=b[c+104>>0]|0;f[a+108>>2]=0;f[a+112>>2]=0;f[a+116>>2]=f[c+116>>2];f[a+120>>2]=0;_xa(a,cj[f[(f[d>>2]|0)+24>>2]&1023](d,f[c+120>>2]|0)|0);return}function vya(a){a=a|0;Xxa(a);GBb(a);return}function wya(a){a=a|0;var c=0;a=EBb(136)|0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a>>2]=338880;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;return a|0}function xya(a,b){a=a|0;b=b|0;var c=0;c=EBb(136)|0;Wxa(c,a,b);return c|0}function yya(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295168,0)|0)!=0;return b|0}function zya(a){a=a|0;return 409756}function Aya(a){a=a|0;return 412955}function Bya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+120>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function Cya(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0;n[a>>2]=0.0;v=a+4|0;n[v>>2]=0.0;w=a+8|0;n[w>>2]=0.0;x=a+12|0;n[x>>2]=-1.0;t=b+124|0;d=f[t>>2]|0;u=b+128|0;if((d|0)==(f[u>>2]|0))return;m=3402823466385288598117041.0e14;e=3402823466385288598117041.0e14;c=3402823466385288598117041.0e14;k=-3402823466385288598117041.0e14;o=-3402823466385288598117041.0e14;j=-3402823466385288598117041.0e14;while(1){b=f[d>>2]|0;g=_i[f[(f[b>>2]|0)+180>>2]&2047](b)|0;if((g|0)!=0?(f[g+136>>2]|0)!=0:0){h=m;i=o}else y=5;do if((y|0)==5){y=0;g=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0;if(!g){b=Hv(b)|0;l=+n[b+12>>2];if(!(l>=0.0)){h=m;i=o;break}i=+n[b>>2];h=i-l;h=h<m?h:m;i=l+i;k=i>k?i:k;i=+n[b+4>>2];m=i-l;e=m<e?m:e;i=l+i;i=i>o?i:o;o=+n[b+8>>2];m=o-l;c=m<c?m:c;l=l+o;if(!(l>j))break;j=l;break}b=RJ(g)|0;i=+n[b+12>>2];h=+n[b>>2];if((i>=h?(p=+n[b+16>>2],q=+n[b+4>>2],p>=q):0)?(r=+n[b+20>>2],s=+n[b+8>>2],r>=s):0){h=h<m?h:m;k=i>k?i:k;e=q<e?q:e;i=p>o?p:o;c=s<c?s:c;if(r>j)j=r}else{h=m;i=o}}while(0);d=d+4|0;if((d|0)==(f[u>>2]|0))break;else{m=h;o=i}}if(!(k>=h))return;if(!(i>=e)|!(j>=c))return;n[a>>2]=(h+k)*.5;n[v>>2]=(e+i)*.5;n[w>>2]=(c+j)*.5;n[x>>2]=0.0;b=f[t>>2]|0;if((b|0)==(d|0))return;e=0.0;while(1){d=f[b>>2]|0;t=_i[f[(f[d>>2]|0)+180>>2]&2047](d)|0;if((t|0)!=0?(f[t+136>>2]|0)!=0:0)c=e;else y=21;do if((y|0)==21){y=0;d=Hv(d)|0;c=+n[d+12>>2];if(c>=0.0){if(!(e>=0.0)){f[a>>2]=f[d>>2];f[a+4>>2]=f[d+4>>2];f[a+8>>2]=f[d+8>>2];n[x>>2]=c;break}q=+n[d>>2]-+n[a>>2];r=+n[d+4>>2]-+n[v>>2];s=+n[d+8>>2]-+n[w>>2];c=c+ +K(+(q*q+r*r+s*s));if(c>e)n[x>>2]=c;else c=e}else c=e}while(0);b=b+4|0;if((b|0)==(f[u>>2]|0))break;else e=c}return}function Dya(a){a=a|0;Kva(a);return}function Eya(a){a=a|0;Kva(a);GBb(a);return}function Fya(a){a=a|0;var b=0;a=EBb(72)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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;f[a>>2]=339388;f[a+56>>2]=770;f[a+60>>2]=771;f[a+64>>2]=770;f[a+68>>2]=771;return a|0}function Gya(a,b){a=a|0;b=b|0;var c=0;c=EBb(72)|0;Jva(c,a,b);f[c>>2]=339388;f[c+56>>2]=f[a+56>>2];f[c+60>>2]=f[a+60>>2];f[c+64>>2]=f[a+64>>2];f[c+68>>2]=f[a+68>>2];return c|0}function Hya(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295312,0)|0)!=0;return b|0}function Iya(a){a=a|0;return 409756}function Jya(a){a=a|0;return 413090}function Kya(a){a=a|0;return 21}function Lya(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==(b|0)){b=0;return b|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;d=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if((c|0)!=(d|0)){b=1;return b|0}c=f[a+56>>2]|0;d=f[b+56>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if(d>>>0<c>>>0){b=1;return b|0}c=f[a+60>>2]|0;d=f[b+60>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if(d>>>0<c>>>0){b=1;return b|0}c=f[a+64>>2]|0;d=f[b+64>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if(d>>>0<c>>>0){b=1;return b|0}else{a=f[a+68>>2]|0;b=f[b+68>>2]|0;return (a>>>0<b>>>0?-1:b>>>0<a>>>0&1)|0}return 0}function Mya(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+8>>2]&1023](b,3042);return 1}function Nya(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;d=i;e=a+56|0;g=f[e>>2]|0;h=f[a+64>>2]|0;if(!((g|0)==(h|0)?(f[a+60>>2]|0)==(f[a+68>>2]|0):0)){c=f[c+832>>2]|0;if(b[c+792>>0]|0){Ij[f[c+796>>2]&127](g,f[a+60>>2]|0,h,f[a+68>>2]|0);u=i;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){h=Nu(Hua(2)|0,412974,115)|0;Drb(d,h+(f[(f[h>>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(h,g)|0;Krb(h)|0}}vh(f[e>>2]|0,f[a+60>>2]|0);u=i;return}function Oya(a){a=a|0;var b=0;f[a>>2]=339600;b=f[a+40>>2]|0;if(!b){Uua(a);return}f[a+44>>2]=b;GBb(b);Uua(a);return}function Pya(a){a=a|0;var b=0;f[a>>2]=339600;b=f[a+40>>2]|0;if(b|0){f[a+44>>2]=b;GBb(b)}Uua(a);GBb(a);return}function Qya(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=339620;e=a+60|0;b=a+68|0;if(f[b>>2]|0?(c=f[a+64>>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[b>>2]=0,(c|0)!=(e|0)):0)do{b=c;c=f[c+4>>2]|0;d=f[b+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(b)}while((c|0)!=(e|0));e=a+48|0;b=a+56|0;if(!(f[b>>2]|0)){h=a+12|0;R3a(h);Uua(a);return}c=f[a+52>>2]|0;h=(f[e>>2]|0)+4|0;g=f[c>>2]|0;f[g+4>>2]=f[h>>2];f[f[h>>2]>>2]=g;f[b>>2]=0;if((c|0)==(e|0)){h=a+12|0;R3a(h);Uua(a);return}do{b=c;c=f[c+4>>2]|0;d=f[b+8>>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);GBb(b)}while((c|0)!=(e|0));h=a+12|0;R3a(h);Uua(a);return}function Rya(a){a=a|0;Qya(a);GBb(a);return}function Sya(a){a=a|0;f[a>>2]=339640;hza(a+44|0,f[a+48>>2]|0);iza(a);return}function Tya(a){a=a|0;f[a>>2]=339640;hza(a+44|0,f[a+48>>2]|0);iza(a);GBb(a);return}function Uya(a,b){a=a|0;b=b|0;if(!b){b=a+56|0;f[b>>2]=(f[b>>2]|0)+1}else f[a+56>>2]=f[b+12>>2];b=a+60|0;f[b>>2]=(f[b>>2]|0)+1;return}function Vya(a){a=a|0;f[a+60>>2]=0;f[a+64>>2]=0;p[a+72>>3]=0.0;f[a+80>>2]=0;p[a+88>>3]=0.0;f[a+96>>2]=0;p[a+104>>3]=0.0;return}function Wya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0.0;c=u;u=u+16|0;g=c;d=f[a+60>>2]|0;i=(d|0)==0?1.0:+(d>>>0);d=Nu(b,413701,37)|0;Drb(g,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(g,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(g);ksb(d,e)|0;Krb(d)|0;d=Nu(b,413739,31)|0;d=Nu(csb(d,f[a+28>>2]|0)|0,413771,30)|0;d=Nu(csb(d,f[a+32>>2]|0)|0,413802,29)|0;e=a+36|0;d=csb(d,f[e>>2]|0)|0;Drb(g,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(d,h)|0;Krb(d)|0;d=Nu(b,413832,23)|0;d=Nu(csb(d,f[a+80>>2]|0)|0,413856,16)|0;h=a+88|0;d=Nu(isb(d,+p[h>>3])|0,413873,18)|0;h=Nu(isb(d,+p[h>>3]/i*1.0e3)|0,413892,2)|0;Drb(g,h+(f[(f[h>>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(h,d)|0;Krb(h)|0;h=Nu(b,413895,21)|0;h=Nu(csb(h,f[a+64>>2]|0)|0,413917,14)|0;d=a+72|0;h=Nu(isb(h,+p[d>>3])|0,413873,18)|0;d=Nu(isb(h,+p[d>>3]/i*1.0e3)|0,413892,2)|0;Drb(g,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(d,h)|0;Krb(d)|0;d=Nu(b,413932,21)|0;d=Nu(csb(d,f[a+96>>2]|0)|0,413954,13)|0;h=a+104|0;d=Nu(isb(d,+p[h>>3])|0,413873,18)|0;h=Nu(isb(d,+p[h>>3]/i*1.0e3)|0,413892,2)|0;Drb(g,h+(f[(f[h>>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(h,d)|0;Krb(h)|0;h=Nu(b,413513,34)|0;d=a+40|0;h=Nu(csb(h,f[d>>2]|0)|0,413548,20)|0;d=isb(h,+((f[e>>2]|0)>>>0)/+((f[d>>2]|0)>>>0))|0;Drb(g,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(g,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(g);ksb(d,e)|0;Krb(d)|0;Bj[f[(f[a>>2]|0)+24>>2]&1023](a,b);u=c;return}function Xya(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;w=u;u=u+16|0;v=w;g=Nu(b,413409,40)|0;Drb(v,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);t=utb(v,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(v);ksb(g,t)|0;Krb(g)|0;g=f[a+44>>2]|0;t=a+48|0;if((g|0)==(t|0)){g=0;e=0;d=0;c=0}else{e=0;d=0;c=0;j=0;do{k=f[g+28>>2]|0;r=k+72|0;o=f[r>>2]|0;n=(o|0)==0;if(n)h=0;else{h=0;i=o;do{h=h+1|0;i=f[i+64>>2]|0}while((i|0)!=0)}j=h+j|0;s=k+44|0;c=(f[s>>2]|0)+c|0;q=k+56|0;m=f[q>>2]|0;d=m+d|0;p=k+68|0;l=k+40|0;k=f[l>>2]|0;if(n)h=0;else{h=0;i=o;do{h=h+1|0;i=f[i+64>>2]|0}while((i|0)!=0)}e=(W(h+m|0,k)|0)+e|0;k=Nu(b,413569,8)|0;k=Nu(csb(k,f[l>>2]|0)|0,413578,39)|0;i=f[r>>2]|0;if(!i)h=0;else{h=0;do{h=h+1|0;i=f[i+64>>2]|0}while((i|0)!=0)}h=Nu(csb(k,h)|0,413618,31)|0;h=Nu(csb(h,f[s>>2]|0)|0,413650,21)|0;h=Nu(csb(h,f[q>>2]|0)|0,413672,28)|0;h=csb(h,f[p>>2]|0)|0;Drb(v,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(h,s)|0;Krb(h)|0;h=f[g+4>>2]|0;if(!h){h=g+8|0;i=f[h>>2]|0;if((f[i>>2]|0)==(g|0))g=i;else do{s=f[h>>2]|0;h=s+8|0;g=f[h>>2]|0}while((f[g>>2]|0)!=(s|0))}else{g=h;while(1){h=f[g>>2]|0;if(!h)break;else g=h}}}while((g|0)!=(t|0));g=j}t=csb(Nu(csb(Nu(csb(Nu(csb(Nu(b,413450,21)|0,g)|0,413472,12)|0,c)|0,413485,13)|0,d)|0,413499,13)|0,e)|0;Drb(v,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(t,s)|0;Krb(t)|0;t=Nu(b,413513,34)|0;b=a+40|0;a=Nu(csb(t,f[b>>2]|0)|0,413548,20)|0;b=isb(a,+(e>>>0)/+((f[b>>2]|0)>>>0))|0;Drb(v,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(v,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(v);ksb(b,a)|0;Krb(b)|0;u=w;return}function Yya(a,c,d){a=a|0;c=+c;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0;m=u;u=u+16|0;i=m;l=a+72|0;if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,i|0)|0;k=f[i>>2]|0;k=LDb(k|0,((k|0)<0)<<31>>31|0,1e6,0)|0;j=H;h=f[i+4>>2]|0;h=QDb(h|0,((h|0)<0)<<31>>31|0,1e3,0)|0;j=MDb(h|0,H|0,k|0,j|0)|0;k=497264;f[k>>2]=j;f[k+4>>2]=H}Nb(1,i|0)|0;k=f[i>>2]|0;k=LDb(k|0,((k|0)<0)<<31>>31|0,1e6,0)|0;j=H;e=f[i+4>>2]|0;e=QDb(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;j=MDb(e|0,H|0,k|0,j|0)|0;k=H;e=f[a+44>>2]|0;h=a+48|0;if((e|0)!=(h|0)&+p[d>>3]>0.0)while(1){gza(f[e+28>>2]|0,0.0,d);a=f[e+4>>2]|0;if(!a){g=e+8|0;a=f[g>>2]|0;if((f[a>>2]|0)!=(e|0)){e=g;do{g=f[e>>2]|0;e=g+8|0;a=f[e>>2]|0}while((f[a>>2]|0)!=(g|0))}}else while(1){e=f[a>>2]|0;if(!e)break;else a=e}if((a|0)!=(h|0)&+p[d>>3]>0.0)e=a;else break}Nb(1,i|0)|0;e=f[i>>2]|0;e=LDb(e|0,((e|0)<0)<<31>>31|0,1e6,0)|0;a=H;d=f[i+4>>2]|0;d=QDb(d|0,((d|0)<0)<<31>>31|0,1e3,0)|0;a=MDb(d|0,H|0,e|0,a|0)|0;e=H;if(e>>>0>k>>>0|(e|0)==(k|0)&a>>>0>j>>>0){k=NDb(a|0,e|0,j|0,k|0)|0;n=+p[62159]*(+(k>>>0)+4294967296.0*+(H>>>0));c=+p[l>>3];c=n+c;p[l>>3]=c;u=m;return}else{k=NDb(j|0,k|0,a|0,e|0)|0;c=-(+p[62159]*(+(k>>>0)+4294967296.0*+(H>>>0)));n=+p[l>>3];n=c+n;p[l>>3]=n;u=m;return}}function Zya(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0;k=u;u=u+16|0;g=k;h=a+72|0;if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,g|0)|0;j=f[g>>2]|0;j=LDb(j|0,((j|0)<0)<<31>>31|0,1e6,0)|0;i=H;e=f[g+4>>2]|0;e=QDb(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;i=MDb(e|0,H|0,j|0,i|0)|0;j=497264;f[j>>2]=i;f[j+4>>2]=H}Nb(1,g|0)|0;j=f[g>>2]|0;j=LDb(j|0,((j|0)<0)<<31>>31|0,1e6,0)|0;i=H;c=f[g+4>>2]|0;c=QDb(c|0,((c|0)<0)<<31>>31|0,1e3,0)|0;i=MDb(c|0,H|0,j|0,i|0)|0;j=H;c=f[a+44>>2]|0;e=a+48|0;if((c|0)!=(e|0))while(1){eza(f[c+28>>2]|0);a=f[c+4>>2]|0;if(!a){d=c+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(c|0)){c=d;do{d=f[c>>2]|0;c=d+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(d|0))}}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(e|0))break;else c=a}Nb(1,g|0)|0;c=f[g>>2]|0;c=LDb(c|0,((c|0)<0)<<31>>31|0,1e6,0)|0;a=H;g=f[g+4>>2]|0;g=QDb(g|0,((g|0)<0)<<31>>31|0,1e3,0)|0;a=MDb(g|0,H|0,c|0,a|0)|0;c=H;if(c>>>0>j>>>0|(c|0)==(j|0)&a>>>0>i>>>0){j=NDb(a|0,c|0,i|0,j|0)|0;m=+p[62159]*(+(j>>>0)+4294967296.0*+(H>>>0));l=+p[h>>3];l=m+l;p[h>>3]=l;u=k;return}else{j=NDb(i|0,j|0,a|0,c|0)|0;l=-(+p[62159]*(+(j>>>0)+4294967296.0*+(H>>>0)));m=+p[h>>3];m=l+m;p[h>>3]=m;u=k;return}}function _ya(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0;k=u;u=u+16|0;g=k;h=a+72|0;if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,g|0)|0;j=f[g>>2]|0;j=LDb(j|0,((j|0)<0)<<31>>31|0,1e6,0)|0;i=H;e=f[g+4>>2]|0;e=QDb(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;i=MDb(e|0,H|0,j|0,i|0)|0;j=497264;f[j>>2]=i;f[j+4>>2]=H}Nb(1,g|0)|0;j=f[g>>2]|0;j=LDb(j|0,((j|0)<0)<<31>>31|0,1e6,0)|0;i=H;c=f[g+4>>2]|0;c=QDb(c|0,((c|0)<0)<<31>>31|0,1e3,0)|0;i=MDb(c|0,H|0,j|0,i|0)|0;j=H;c=f[a+44>>2]|0;e=a+48|0;if((c|0)!=(e|0))while(1){cza(f[c+28>>2]|0);a=f[c+4>>2]|0;if(!a){d=c+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(c|0)){c=d;do{d=f[c>>2]|0;c=d+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(d|0))}}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(e|0))break;else c=a}Nb(1,g|0)|0;c=f[g>>2]|0;c=LDb(c|0,((c|0)<0)<<31>>31|0,1e6,0)|0;a=H;g=f[g+4>>2]|0;g=QDb(g|0,((g|0)<0)<<31>>31|0,1e3,0)|0;a=MDb(g|0,H|0,c|0,a|0)|0;c=H;if(c>>>0>j>>>0|(c|0)==(j|0)&a>>>0>i>>>0){j=NDb(a|0,c|0,i|0,j|0)|0;m=+p[62159]*(+(j>>>0)+4294967296.0*+(H>>>0));l=+p[h>>3];l=m+l;p[h>>3]=l;u=k;return}else{j=NDb(i|0,j|0,a|0,c|0)|0;l=-(+p[62159]*(+(j>>>0)+4294967296.0*+(H>>>0)));m=+p[h>>3];m=l+m;p[h>>3]=m;u=k;return}}function $ya(a){a=a|0;var b=0,c=0,d=0;b=f[a+44>>2]|0;d=a+48|0;if((b|0)==(d|0))return;c=b;while(1){aza(f[c+28>>2]|0);a=f[c+4>>2]|0;if(!a){b=c+8|0;a=f[b>>2]|0;if((f[a>>2]|0)!=(c|0))do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else c=a}return}function aza(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;g=a+72|0;b=f[g>>2]|0;if(b|0){h=a+28|0;do{e=b+8|0;f[e>>2]=(f[e>>2]|0)+1;c=b;b=f[b+64>>2]|0;d=f[c+52>>2]|0;if(d|0?(l=d+8|0,f[l>>2]=(f[l>>2]|0)+1,bza(d,f[h>>2]|0,0),k=f[l>>2]|0,f[l>>2]=k-1,(k|0)==1):0)Rua(d,1,1);l=f[e>>2]|0;f[e>>2]=l-1;if((l|0)==1)Rua(c,1,1)}while((b|0)!=0)}f[g>>2]=0;f[a+76>>2]=0;e=a+60|0;b=a+68|0;if(f[b>>2]|0?(i=f[a+64>>2]|0,l=(f[e>>2]|0)+4|0,k=f[i>>2]|0,f[k+4>>2]=f[l>>2],f[f[l>>2]>>2]=k,f[b>>2]=0,(i|0)!=(e|0)):0){b=i;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;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);GBb(c)}while((b|0)!=(e|0))}e=a+48|0;b=a+56|0;if(f[b>>2]|0?(j=f[a+52>>2]|0,l=(f[e>>2]|0)+4|0,k=f[j>>2]|0,f[k+4>>2]=f[l>>2],f[f[l>>2]>>2]=k,f[b>>2]=0,(j|0)!=(e|0)):0){b=j;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;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);GBb(c)}while((b|0)!=(e|0))}j=a+44|0;k=f[j>>2]|0;f[j>>2]=0;j=W(f[a+40>>2]|0,k)|0;l=f[a+24>>2]|0;a=l+36|0;f[a>>2]=(f[a>>2]|0)-j;a=l+32|0;f[a>>2]=(f[a>>2]|0)-k;l=l+64|0;f[l>>2]=(f[l>>2]|0)+k;return}function bza(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;i=a+60|0;h=a+64|0;a=f[h>>2]|0;e=f[i>>2]|0;g=a-e>>2;do if(g>>>0<=b>>>0){d=b+1|0;if(d>>>0>g>>>0){oxa(i,d-g|0);break}if(d>>>0<g>>>0){e=e+(d<<2)|0;if((e|0)!=(a|0))do{a=a+-4|0;d=f[a>>2]|0;if(d|0?(j=d+8|0,g=f[j>>2]|0,f[j>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[a>>2]=0}while((a|0)!=(e|0));f[h>>2]=e}}while(0);a=(f[i>>2]|0)+(b<<2)|0;d=f[a>>2]|0;if((d|0)==(c|0))return;f[a>>2]=c;if(c|0){j=c+8|0;f[j>>2]=(f[j>>2]|0)+1}if(!d)return;c=d+8|0;j=f[c>>2]|0;f[c>>2]=j-1;if((j|0)!=1)return;Rua(d,1,1);return}function cza(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;b=a+12|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;if(f[a+68>>2]|0)dza(a);_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;k=a+72|0;c=f[k>>2]|0;if(!c){n=0;o=a+24|0;o=f[o>>2]|0;m=o+32|0;l=f[m>>2]|0;l=l+n|0;f[m>>2]=l;o=o+28|0;m=f[o>>2]|0;n=m-n|0;f[o>>2]=n;eza(a);return}l=a+48|0;m=a+56|0;n=a+76|0;o=a+28|0;b=0;do{j=c+8|0;f[j>>2]=(f[j>>2]|0)+1;e=c+64|0;i=c;c=f[e>>2]|0;f[j>>2]=(f[j>>2]|0)+1;h=EBb(12)|0;f[h>>2]=0;f[h+8>>2]=i;f[j>>2]=(f[j>>2]|0)+1;f[h+4>>2]=l;g=f[l>>2]|0;f[h>>2]=g;f[g+4>>2]=h;f[l>>2]=h;f[m>>2]=(f[m>>2]|0)+1;h=f[j>>2]|0;f[j>>2]=h-1;if((h|0)==1)Rua(i,1,1);g=i+60|0;h=f[g>>2]|0;d=f[e>>2]|0;if(!h)f[k>>2]=d;else{f[h+64>>2]=d;d=f[e>>2]|0}f[((d|0)==0?n:d+60|0)>>2]=h;f[e>>2]=0;f[g>>2]=0;b=b+1|0;d=f[i+52>>2]|0;if(d|0?(g=d+8|0,f[g>>2]=(f[g>>2]|0)+1,bza(d,f[o>>2]|0,0),h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);h=f[j>>2]|0;f[j>>2]=h-1;if((h|0)==1)Rua(i,1,1)}while((c|0)!=0);o=a+24|0;o=f[o>>2]|0;n=o+32|0;m=f[n>>2]|0;m=m+b|0;f[n>>2]=m;o=o+28|0;n=f[o>>2]|0;n=n-b|0;f[o>>2]=n;eza(a);return}function dza(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=a+60|0;o=a+68|0;m=f[o>>2]|0;if(!m)return;n=a+64|0;b=f[n>>2]|0;c=b;if((p|0)==(c|0))b=m;else{k=a+48|0;l=a+56|0;i=a+72|0;j=a+76|0;do{e=f[b+8>>2]|0;b=(e|0)==0;if(!b){h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}d=EBb(12)|0;f[d>>2]=0;f[d+8>>2]=e;if(!b){h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}f[d+4>>2]=k;h=f[k>>2]|0;f[d>>2]=h;f[h+4>>2]=d;f[k>>2]=d;f[l>>2]=(f[l>>2]|0)+1;if(!b?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);g=e+60|0;h=f[g>>2]|0;d=e+64|0;b=f[d>>2]|0;if(!h)f[i>>2]=b;else{f[h+64>>2]=b;b=f[d>>2]|0}f[((b|0)==0?j:b+60|0)>>2]=h;f[d>>2]=0;f[g>>2]=0;b=f[c+4>>2]|0;c=b}while((p|0)!=(c|0));b=f[o>>2]|0}a=f[a+24>>2]|0;l=a+32|0;f[l>>2]=(f[l>>2]|0)+m;a=a+28|0;f[a>>2]=(f[a>>2]|0)-m;if(!b)return;b=f[n>>2]|0;n=(f[p>>2]|0)+4|0;m=f[b>>2]|0;f[m+4>>2]=f[n>>2];f[f[n>>2]>>2]=m;f[o>>2]=0;if((b|0)==(p|0))return;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(n=d+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(d,1,1);GBb(c)}while((b|0)!=(p|0));return}function eza(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;b=a+12|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;if(f[a+68>>2]|0)dza(a);_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;e=a+48|0;d=a+52|0;b=f[d>>2]|0;c=b;if((e|0)!=(c|0))do{fza(f[b+8>>2]|0);b=f[c+4>>2]|0;c=b}while((e|0)!=(c|0));c=a+56|0;b=f[c>>2]|0;h=a+44|0;f[h>>2]=(f[h>>2]|0)-b;h=W(f[a+40>>2]|0,b)|0;a=f[a+24>>2]|0;g=a+36|0;f[g>>2]=(f[g>>2]|0)-h;g=a+32|0;f[g>>2]=(f[g>>2]|0)-b;a=a+64|0;f[a>>2]=(f[a>>2]|0)+b;if(!b)return;b=f[d>>2]|0;h=(f[e>>2]|0)+4|0;g=f[b>>2]|0;f[g+4>>2]=f[h>>2];f[f[h>>2]>>2]=g;f[c>>2]=0;if((b|0)==(e|0))return;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>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);GBb(c)}while((b|0)!=(e|0));return}function fza(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;d=u;u=u+16|0;c=d;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){g=Nu(Hua(5)|0,413189,33)|0;e=a+16|0;g=csb(g,f[e>>2]|0)|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;c=e}else c=a+16|0;if(!(f[c>>2]|0)){u=d;return}Bj[f[(f[a+72>>2]|0)+736>>2]&1023](1,c);f[c>>2]=0;f[a+32>>2]=0;f[a+44>>2]=f[a+40>>2];u=d;return}function gza(a,c,d){a=a|0;c=+c;d=d|0;var 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;w=u;u=u+16|0;v=w;e=a+12|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;if(f[a+68>>2]|0)dza(a);_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;s=a+24|0;g=f[s>>2]|0;e=f[g+36>>2]|0;g=f[g+40>>2]|0;if(e>>>0<=g>>>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=w;return}d=Nu(Hua(4)|0,413223,38)|0;Drb(v,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);a=utb(v,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(v);ksb(d,a)|0;Krb(d)|0;u=w;return}t=a+56|0;if(!((f[t>>2]|0)!=0&!(+p[d>>3]<=0.0))){u=w;return}e=e-g|0;o=a+40|0;m=~~+V(+(+(e>>>0)/+((f[o>>2]|0)>>>0)))>>>0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){r=Nu(Hua(4)|0,413262,41)|0;r=Nu(csb(r,f[(f[s>>2]|0)+36>>2]|0)|0,413304,41)|0;r=csb(r,f[(f[s>>2]|0)+40>>2]|0)|0;Drb(v,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(v,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(v);ksb(r,q)|0;Krb(r)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){r=Nu(csb(Nu(csb(Nu(Hua(4)|0,413346,19)|0,e)|0,413366,26)|0,m)|0,413393,6)|0;r=Nu(esb(r,f[t>>2]|0)|0,413400,8)|0;Drb(v,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(v,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(v);ksb(r,q)|0;Krb(r)|0}if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,v|0)|0;r=f[v>>2]|0;r=LDb(r|0,((r|0)<0)<<31>>31|0,1e6,0)|0;q=H;n=f[v+4>>2]|0;n=QDb(n|0,((n|0)<0)<<31>>31|0,1e3,0)|0;q=MDb(n|0,H|0,r|0,q|0)|0;r=497264;f[r>>2]=q;f[r+4>>2]=H}Nb(1,v|0)|0;r=f[v>>2]|0;r=LDb(r|0,((r|0)<0)<<31>>31|0,1e6,0)|0;q=H;n=f[v+4>>2]|0;n=QDb(n|0,((n|0)<0)<<31>>31|0,1e3,0)|0;q=MDb(n|0,H|0,r|0,q|0)|0;r=H;n=a+52|0;e=f[n>>2]|0;i=a+48|0;h=e;a:do if((i|0)==(h|0))j=0;else{l=v+4|0;g=0;while(1){Nb(1,v|0)|0;k=f[v>>2]|0;k=LDb(k|0,((k|0)<0)<<31>>31|0,1e6,0)|0;j=H;x=f[l>>2]|0;x=QDb(x|0,((x|0)<0)<<31>>31|0,1e3,0)|0;j=MDb(x|0,H|0,k|0,j|0)|0;k=H;if(k>>>0>r>>>0|(k|0)==(r|0)&j>>>0>q>>>0){x=NDb(j|0,k|0,q|0,r|0)|0;c=+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0))}else{x=NDb(q|0,r|0,j|0,k|0)|0;c=-(+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0)))}if(!(g>>>0<m>>>0?c<+p[d>>3]:0)){j=g;i=h;break a}fza(f[e+8>>2]|0);g=g+1|0;e=f[h+4>>2]|0;h=e;if((i|0)==(h|0)){j=g;break}}}while(0);e=f[n>>2]|0;if((e|0)!=(i|0)){x=(f[i>>2]|0)+4|0;n=f[e>>2]|0;f[n+4>>2]=f[x>>2];f[f[x>>2]>>2]=n;do{g=e;e=f[e+4>>2]|0;f[t>>2]=(f[t>>2]|0)+-1;h=f[g+8>>2]|0;if(h|0?(n=h+8|0,x=f[n>>2]|0,f[n>>2]=x-1,(x|0)==1):0)Rua(h,1,1);GBb(g)}while((e|0)!=(i|0))}g=a+44|0;f[g>>2]=(f[g>>2]|0)-j;g=f[s>>2]|0;e=g+36|0;x=(f[e>>2]|0)-(W(f[o>>2]|0,j)|0)|0;f[e>>2]=x;e=g+32|0;f[e>>2]=(f[e>>2]|0)-j;g=g+64|0;f[g>>2]=(f[g>>2]|0)+j;Nb(1,v|0)|0;g=f[v>>2]|0;g=LDb(g|0,((g|0)<0)<<31>>31|0,1e6,0)|0;e=H;x=f[v+4>>2]|0;x=QDb(x|0,((x|0)<0)<<31>>31|0,1e3,0)|0;e=MDb(x|0,H|0,g|0,e|0)|0;g=H;if(g>>>0>r>>>0|(g|0)==(r|0)&e>>>0>q>>>0){x=NDb(e|0,g|0,q|0,r|0)|0;c=+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0))}else{x=NDb(q|0,r|0,e|0,g|0)|0;c=-(+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0)))}p[d>>3]=+p[d>>3]-c;Nb(1,v|0)|0;u=w;return}function hza(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;hza(a,f[b>>2]|0);hza(a,f[b+4>>2]|0);a=f[b+28>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function iza(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;d=u;u=u+16|0;c=d;f[a>>2]=339692;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Hua(4)|0;j=a+12|0;e=j+11|0;k=b[e>>0]|0;g=k<<24>>24<0;h=a+16|0;k=Nu(Nu(i,g?f[j>>2]|0:j,g?f[h>>2]|0:k&255)|0,413968,3)|0;g=b[e>>0]|0;i=g<<24>>24<0;g=jsb(Nu(Nu(k,i?f[j>>2]|0:j,i?f[h>>2]|0:g&255)|0,413972,2)|0,a)|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;c=e}else c=a+12+11|0;if((b[c>>0]|0)>=0){Uua(a);u=d;return}GBb(f[a+12>>2]|0);Uua(a);u=d;return}function jza(a){a=a|0;mi()}function kza(a,b){a=a|0;b=b|0;return}function lza(a){a=a|0;return}function mza(a,b){a=a|0;b=b|0;return}function nza(a,b){a=a|0;b=b|0;return}function oza(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=339744;e=a+40|0;b=f[e>>2]|0;if(b|0){c=a+36|0;lxa(b,f[c>>2]|0);b=f[e>>2]|0;if(b){f[e>>2]=0;h=b+8|0;g=f[h>>2]|0;f[h>>2]=g-1;if((g|0)==1)Rua(b,1,1);b=f[e>>2]|0;if(b)b=mxa(b,a)|0;else b=0}else b=0;f[c>>2]=b}b=a+44|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=f[e>>2]|0;if(!b){f[e>>2]=0;Gva(a);return}g=b+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[e>>2]=0;Gva(a);return}Rua(b,1,1);f[e>>2]=0;Gva(a);return}function pza(a){a=a|0;mi()}function qza(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295200,0)|0)!=0;return b|0}function rza(a){a=a|0;return 409756}function sza(a){a=a|0;return 414065}function tza(a,b){a=a|0;b=b|0;a=f[a+40>>2]|0;if(!a)return;Bj[f[(f[a>>2]|0)+156>>2]&1023](a,b);return}function uza(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;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){g=Nu(jsb(Nu(Hua(5)|0,414035,29)|0,c)|0,409404,1)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);h=utb(d,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(d);ksb(g,h)|0;Krb(g)|0}a=f[a+40>>2]|0;if(!a){u=e;return}Bj[f[(f[a>>2]|0)+160>>2]&1023](a,c);u=e;return}function vza(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 wza(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 xza(a){a=a|0;rxa(a);GBb(a);return}function yza(a){a=a|0;var c=0;a=EBb(72)|0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=338492;c=a+32|0;f[a+48>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;b[c+12>>0]=0;qxa(a+60|0);f[a>>2]=339940;f[c>>2]=34963;f[a+36>>2]=35044;return a|0}function zza(a,c){a=a|0;c=c|0;var d=0;d=EBb(72)|0;Fva(d,a,c);f[d>>2]=338492;f[d+32>>2]=0;f[d+36>>2]=0;f[d+40>>2]=0;b[d+44>>0]=b[a+44>>0]|0;f[d+48>>2]=0;f[d+52>>2]=0;f[d+56>>2]=0;qxa(d+60|0);f[d>>2]=339940;return d|0}function Aza(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295408,0)|0)!=0;return b|0}function Bza(a){a=a|0;return 409756}function Cza(a){a=a|0;return 414076}function Dza(a){a=a|0;rxa(a);GBb(a);return}function Eza(a){a=a|0;a=EBb(72)|0;Jza(a,0);return a|0}function Fza(a,c){a=a|0;c=c|0;var d=0;d=EBb(72)|0;Fva(d,a,c);f[d>>2]=338492;f[d+32>>2]=0;f[d+36>>2]=0;f[d+40>>2]=0;b[d+44>>0]=b[a+44>>0]|0;f[d+48>>2]=0;f[d+52>>2]=0;f[d+56>>2]=0;qxa(d+60|0);f[d>>2]=340112;return d|0}function Gza(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295424,0)|0)!=0;return b|0}function Hza(a){a=a|0;return 409756}function Iza(a){a=a|0;return 414124}function Jza(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;g=u;u=u+16|0;d=g;f[a+4>>2]=0;f[a+8>>2]=0;h=a+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=338492;h=a+32|0;f[a+48>>2]=0;e=a+52|0;f[e>>2]=0;f[a+56>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;b[h+12>>0]=0;qxa(a+60|0);f[a>>2]=340112;f[h>>2]=35052;f[a+36>>2]=35040;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){h=jsb(Nu(Hua(5)|0,414142,41)|0,c)|0;Drb(d,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);i=utb(d,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(d);ksb(h,i)|0;Krb(h)|0}if(!c){u=g;return}d=a+48|0;a=f[d>>2]|0;if((f[e>>2]|0)==(a|0)){Kza(d,1);a=f[d>>2]|0}f[a>>2]=c;u=g;return}function Kza(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;k=a+8|0;d=f[k>>2]|0;l=a+4|0;c=f[l>>2]|0;if(d-c>>2>>>0>=b>>>0){do{f[c>>2]=0;c=(f[l>>2]|0)+4|0;f[l>>2]=c;b=b+-1|0}while((b|0)!=0);return}j=f[a>>2]|0;g=c-j|0;h=g>>2;i=h+b|0;if(i>>>0>1073741823)DCb(a);d=d-j|0;e=d>>1;e=d>>2>>>0<536870911?(e>>>0<i>>>0?i:e):1073741823;do if(e)if(e>>>0>1073741823){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{d=EBb(e<<2)|0;c=d;break}else{c=0;d=0}while(0);_Db(c+(h<<2)|0,0,b<<2|0)|0;if((g|0)>0)YDb(d|0,j|0,g|0)|0;f[a>>2]=c;f[l>>2]=c+(i<<2);f[k>>2]=c+(e<<2);if(!j)return;GBb(j);return}function Lza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=f[124916]|0;d=f[124915]|0;e=c-d>>2;do if(e>>>0<=a>>>0){g=a+1|0;if(g>>>0>e>>>0){Mza(499660,g-e|0);break}if(g>>>0<e>>>0){e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>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[c>>2]=0}while((c|0)!=(e|0));f[124916]=e}}while(0);if(!((f[(f[124915]|0)+(a<<2)>>2]|0)!=0|b^1)){b=EBb(1752)|0;Nza(b,a);c=f[124916]|0;d=f[124915]|0;e=c-d>>2;do if(e>>>0<=a>>>0){g=a+1|0;if(g>>>0>e>>>0){Mza(499660,g-e|0);break}if(g>>>0<e>>>0){e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|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}while((c|0)!=(e|0));f[124916]=e}}while(0);c=(f[124915]|0)+(a<<2)|0;d=f[c>>2]|0;if(((d|0)!=(b|0)?(f[c>>2]=b,h=b+8|0,f[h>>2]=(f[h>>2]|0)+1,d|0):0)?(b=d+8|0,h=f[b>>2]|0,f[b>>2]=h-1,(h|0)==1):0)Rua(d,1,1)}c=f[124916]|0;d=f[124915]|0;e=c-d>>2;if(e>>>0>a>>>0){h=f[124915]|0;h=h+(a<<2)|0;h=f[h>>2]|0;return h|0}g=a+1|0;if(g>>>0>e>>>0){Mza(499660,g-e|0);h=f[124915]|0;h=h+(a<<2)|0;h=f[h>>2]|0;return h|0}if(g>>>0>=e>>>0){h=f[124915]|0;h=h+(a<<2)|0;h=f[h>>2]|0;return h|0}e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(b=d+8|0,h=f[b>>2]|0,f[b>>2]=h-1,(h|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[124916]=e;h=f[124915]|0;h=h+(a<<2)|0;h=f[h>>2]|0;return h|0}function Mza(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function Nza(a,c){a=a|0;c=c|0;var e=0,g=0.0,h=0,i=0,j=0,k=0,l=0,m=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+32|0;r=E+24|0;D=E+12|0;s=E;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=340284;C=a+12|0;f[C>>2]=c;c=Oh(7938)|0;A=(c|0)!=0;a:do if(A){e=b[c>>0]|0;if(!(e<<24>>24))g=0.0;else{while(1){if((e+-48&255)<10)break;c=c+1|0;e=b[c>>0]|0;if(!(e<<24>>24)){g=0.0;break a}}g=+Oza(c)}}else{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>0){z=Nu(Hua(1)|0,414210,67)|0;Drb(r,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);y=utb(r,504576)|0;y=cj[f[(f[y>>2]|0)+28>>2]&1023](y,10)|0;vtb(r);ksb(z,y)|0;Krb(z)|0;g=0.0}else g=0.0}while(0);y=a+16|0;n[y>>2]=g;k=a+20|0;n[k>>2]=0.0;x=A&1;e=a+25|0;h=a+26|0;i=a+27|0;j=a+28|0;_Db(e|0,x|0,4)|0;do if(A){if(!(Pza(f[C>>2]|0,414278,3402823466385288598117041.0e14)|0)?!(Pza(f[C>>2]|0,414302,3402823466385288598117041.0e14)|0):0)c=Pza(f[C>>2]|0,414325,3.200000047683716)|0;else c=1;b[a+29>>0]=c&1;z=(Pza(f[C>>2]|0,414349,3.0)|0)&1;b[a+31>>0]=z;if(Pza(f[C>>2]|0,414368,4.0)|0)c=1;else c=Pza(f[C>>2]|0,414395,3402823466385288598117041.0e14)|0;b[a+30>>0]=c&1;z=(Pza(f[C>>2]|0,414422,3.0999999046325684)|0)&1;b[a+32>>0]=z;z=(Pza(f[C>>2]|0,414451,4.099999904632568)|0)&1;b[a+33>>0]=z;z=(Pza(f[C>>2]|0,414477,4.0)|0)&1;b[a+34>>0]=z;z=(Pza(f[C>>2]|0,414500,4.199999809265137)|0)&1;b[a+35>>0]=z;if(!(Pza(f[C>>2]|0,414530,3402823466385288598117041.0e14)|0)?!(Pza(f[C>>2]|0,414555,3402823466385288598117041.0e14)|0):0)c=Pza(f[C>>2]|0,414580,3402823466385288598117041.0e14)|0;else c=1;b[a+36>>0]=c&1;b[a+37>>0]=1;z=Pza(f[C>>2]|0,414604,3402823466385288598117041.0e14)|0;g=+n[y>>2];b[a+38>>0]=(z|g>=4.5)&1;if(!(g>=2.0)){if(!(b[e>>0]|0)){e=1;B=27;break}if(!(b[h>>0]|0)){e=1;B=27;break}if(!(b[i>>0]|0)){e=1;B=27;break}z=b[j>>0]|0;c=a+24|0;b[c>>0]=z;if(!(z<<24>>24)){z=1;break}}else{c=a+24|0;b[c>>0]=1}do{}while((Mh()|0)!=0);e=Oh(35724)|0;b:do if((e|0)!=0&(Mh()|0)==0){h=b[e>>0]|0;if(!(h<<24>>24))g=0.0;else{while(1){if((h+-48&255)<10)break;e=e+1|0;h=b[e>>0]|0;if(!(h<<24>>24)){g=0.0;break b}}g=+Oza(e)}}else g=1.0;while(0);n[k>>2]=g;z=1}else{h=a+29|0;i=h+10|0;do{b[h>>0]=0;h=h+1|0}while((h|0)<(i|0));e=0;B=27}while(0);if((B|0)==27){c=a+24|0;b[c>>0]=0;z=e}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){v=Nu(Hua(4)|0,414624,10)|0;v=Nu(Nu(hsb(v,+n[y>>2])|0,414635,2)|0,414638,16)|0;w=(b[c>>0]|0)==0;w=Nu(Nu(Nu(v,w?414655:414658,w?2:3)|0,414635,2)|0,414662,20)|0;w=hsb(w,+n[k>>2])|0;Drb(r,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);v=utb(r,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(r);ksb(w,v)|0;Krb(w)|0}e=a+40|0;if(A){c=_b(485329)|0;if(!c)c=_b(414683)|0;f[e>>2]=c;c=_b(482540)|0;if(!c)c=_b(414700)|0;f[a+44>>2]=c;c=_b(484010)|0;if(!c)c=_b(414718)|0;f[a+48>>2]=c;c=_b(483828)|0;if(!c)c=_b(414742)|0;f[a+52>>2]=c;c=_b(482441)|0;if(!c)c=_b(414761)|0;f[a+56>>2]=c;c=_b(482510)|0;if(!c)c=_b(414786)|0;f[a+60>>2]=c;c=_b(483903)|0;f[a+64>>2]=c;c=_b(483759)|0;f[a+72>>2]=c;c=_b(482570)|0;if(!c)c=_b(414810)|0;f[a+76>>2]=c;c=_b(484580)|0;f[a+80>>2]=c;c=_b(484554)|0;f[a+84>>2]=c;c=_b(483741)|0;if(!c)c=_b(414828)|0;f[a+88>>2]=c;c=_b(483292)|0;if(!c)c=_b(414849)|0;f[a+92>>2]=c;c=_b(483774)|0;if(!c)c=_b(414871)|0;f[a+96>>2]=c;c=_b(483721)|0;if(!c)c=_b(414895)|0;f[a+100>>2]=c;c=_b(483877)|0;f[a+104>>2]=c;c=_b(483960)|0;f[a+112>>2]=c;c=_b(483863)|0;f[a+120>>2]=c;c=_b(483844)|0;f[a+124>>2]=c;c=_b(483810)|0;if(!c)c=_b(414918)|0;f[a+128>>2]=c;c=_b(483205)|0;if(!c)c=_b(414939)|0;f[a+132>>2]=c;c=_b(483175)|0;if(!c)c=_b(414963)|0;f[a+136>>2]=c;c=_b(483190)|0;if(!c)c=_b(414981)|0;f[a+140>>2]=c;c=_b(414999)|0;f[a+144>>2]=c;c=_b(483226)|0;f[a+148>>2]=c;c=_b(483246)|0;f[a+152>>2]=c;c=_b(483266)|0;f[a+156>>2]=c;c=_b(483998)|0;f[a+160>>2]=c;c=_b(483892)|0;f[a+164>>2]=c;c=_b(483946)|0;if(!c)c=_b(415019)|0;f[a+168>>2]=c;c=_b(483795)|0;if(!c)c=_b(415036)|0;f[a+172>>2]=c;c=_b(482476)|0;if(!c)c=_b(415054)|0;f[a+176>>2]=c;c=_b(483311)|0;if(!c)c=_b(415076)|0;f[a+180>>2]=c;c=_b(483323)|0;if(!c)c=_b(415091)|0;f[a+184>>2]=c;c=_b(483335)|0;if(!c)c=_b(415106)|0;f[a+188>>2]=c;c=_b(483347)|0;if(!c)c=_b(415121)|0;f[a+192>>2]=c;c=_b(483359)|0;if(!c)c=_b(415136)|0;f[a+196>>2]=c;c=_b(483371)|0;if(!c)c=_b(415151)|0;f[a+200>>2]=c;c=_b(483383)|0;if(!c)c=_b(415166)|0;f[a+204>>2]=c;c=_b(483395)|0;if(!c)c=_b(415181)|0;f[a+208>>2]=c;c=_b(483459)|0;if(!c)c=_b(415196)|0;f[a+212>>2]=c;c=_b(483472)|0;if(!c)c=_b(415212)|0;f[a+216>>2]=c;c=_b(483485)|0;if(!c)c=_b(415228)|0;f[a+220>>2]=c;c=_b(483498)|0;if(!c)c=_b(415244)|0;f[a+224>>2]=c;c=_b(483407)|0;if(!c)c=_b(415260)|0;f[a+228>>2]=c;c=_b(483420)|0;if(!c)c=_b(415276)|0;f[a+232>>2]=c;c=_b(483433)|0;if(!c)c=_b(415292)|0;f[a+236>>2]=c;c=_b(483446)|0;if(!c)c=_b(415308)|0;f[a+240>>2]=c;c=_b(483511)|0;if(!c)c=_b(415324)|0;f[a+244>>2]=c;c=_b(483530)|0;if(!c)c=_b(415346)|0;f[a+248>>2]=c;c=_b(483549)|0;if(!c)c=_b(415368)|0;f[a+252>>2]=c;c=_b(483980)|0;if(!c)c=_b(415390)|0;f[a+256>>2]=c;c=_b(415411)|0;if(!c)c=_b(415428)|0;f[a+260>>2]=c;c=_b(415448)|0;f[a+264>>2]=c;c=_b(483581)|0;if(!c)c=_b(415466)|0;f[a+268>>2]=c;c=_b(483649)|0;if(!c)c=_b(415486)|0;f[a+272>>2]=c;c=_b(415507)|0;if(!c)c=_b(415524)|0;f[a+276>>2]=c;c=_b(415544)|0;f[a+280>>2]=c;c=_b(415562)|0;f[a+284>>2]=c;c=_b(415579)|0;if(!c)c=_b(415597)|0;f[a+288>>2]=c;c=_b(483598)|0;f[a+292>>2]=c;c=_b(483667)|0;if(!c)c=_b(415618)|0;f[a+296>>2]=c;c=_b(415639)|0;f[a+300>>2]=c;c=_b(415656)|0;f[a+304>>2]=c;c=_b(415674)|0;f[a+308>>2]=c;c=_b(415691)|0;if(!c)c=_b(415709)|0;f[a+312>>2]=c;c=_b(483615)|0;f[a+316>>2]=c;c=_b(483685)|0;if(!c)c=_b(415730)|0;f[a+320>>2]=c;c=_b(415751)|0;f[a+324>>2]=c;c=_b(415768)|0;f[a+328>>2]=c;c=_b(415786)|0;f[a+332>>2]=c;c=_b(415805)|0;f[a+336>>2]=c;c=_b(415824)|0;f[a+340>>2]=c;c=_b(415843)|0;f[a+344>>2]=c;c=_b(415862)|0;if(!c)c=_b(415882)|0;f[a+348>>2]=c;c=_b(415905)|0;f[a+352>>2]=c;c=_b(415925)|0;f[a+356>>2]=c;c=_b(415945)|0;f[a+360>>2]=c;c=_b(415963)|0;f[a+364>>2]=c;c=_b(415980)|0;if(!c)c=_b(415998)|0;f[a+368>>2]=c;c=_b(483632)|0;f[a+372>>2]=c;c=_b(483703)|0;if(!c)c=_b(416019)|0;f[a+376>>2]=c;c=_b(416040)|0;f[a+380>>2]=c;c=_b(416058)|0;f[a+384>>2]=c;c=_b(416075)|0;f[a+388>>2]=c;c=_b(416093)|0;if(!c)c=_b(416112)|0;f[a+392>>2]=c;c=_b(416134)|0;f[a+396>>2]=c;c=_b(416153)|0;f[a+400>>2]=c;c=_b(484532)|0;if(!c)c=_b(416172)|0;f[a+404>>2]=c;c=_b(485788)|0;if(!c)c=_b(416197)|0;f[a+408>>2]=c;c=_b(416223)|0;if(!c)c=_b(416246)|0;f[a+412>>2]=c;c=_b(484685)|0;f[a+416>>2]=c;c=_b(416272)|0;f[a+116>>2]=c;c=_b(416288)|0;f[a+108>>2]=c;c=_b(416314)|0;f[a+68>>2]=c;c=_b(416332)|0;f[a+576>>2]=c;c=_b(416347)|0;f[a+420>>2]=c;c=_b(416368)|0;f[a+424>>2]=c;c=_b(416389)|0;f[a+428>>2]=c;c=_b(416410)|0;f[a+432>>2]=c;c=_b(416431)|0;f[a+436>>2]=c;c=_b(416452)|0;f[a+440>>2]=c;c=_b(416473)|0;f[a+444>>2]=c;c=_b(416487)|0;if(!c)c=_b(416507)|0;f[a+448>>2]=c;c=_b(416530)|0;f[a+452>>2]=c;c=_b(416548)|0;f[a+456>>2]=c;c=_b(486236)|0;if(!c)c=_b(416567)|0;f[a+460>>2]=c;c=_b(486252)|0;if(!c)c=_b(416586)|0;f[a+464>>2]=c;c=_b(416612)|0;if(!c)c=_b(416642)|0;f[a+468>>2]=c;c=_b(416675)|0;if(!c)c=_b(416694)|0;f[a+472>>2]=c;c=_b(486275)|0;if(!c)c=_b(416716)|0;f[a+476>>2]=c;c=_b(486297)|0;if(!c)c=_b(416741)|0;f[a+480>>2]=c;c=_b(486310)|0;if(!c)c=_b(416757)|0;f[a+484>>2]=c;c=_b(486323)|0;if(!c)c=_b(416773)|0;f[a+488>>2]=c;c=_b(486336)|0;if(!c)c=_b(416789)|0;f[a+492>>2]=c;c=_b(416805)|0;if(!c)c=_b(416819)|0;f[a+496>>2]=c;c=_b(416836)|0;if(!c)c=_b(416850)|0;f[a+500>>2]=c;c=_b(416867)|0;if(!c)c=_b(416881)|0;f[a+504>>2]=c;c=_b(416898)|0;if(!c)c=_b(416912)|0;f[a+508>>2]=c;c=_b(416929)|0;if(!c)c=_b(416943)|0;f[a+512>>2]=c;c=_b(416960)|0;if(!c)c=_b(416975)|0;f[a+520>>2]=c;c=_b(416993)|0;if(!c)c=_b(417007)|0;f[a+528>>2]=c;c=_b(417024)|0;if(!c)c=_b(417039)|0;f[a+536>>2]=c;c=_b(417057)|0;if(!c)c=_b(417071)|0;f[a+544>>2]=c;c=_b(417088)|0;if(!c)c=_b(417103)|0;f[a+552>>2]=c;c=_b(417121)|0;if(!c)c=_b(417135)|0;f[a+560>>2]=c;c=_b(417152)|0;if(!c)c=_b(417167)|0;f[a+568>>2]=c;c=_b(417185)|0;if(!c)c=_b(417200)|0;f[a+516>>2]=c;c=_b(417218)|0;if(!c)c=_b(417234)|0;f[a+524>>2]=c;c=_b(417253)|0;if(!c)c=_b(417268)|0;f[a+532>>2]=c;c=_b(417286)|0;if(!c)c=_b(417302)|0;f[a+540>>2]=c;c=_b(417321)|0;if(!c)c=_b(417336)|0;f[a+548>>2]=c;c=_b(417354)|0;if(!c)c=_b(417370)|0;f[a+556>>2]=c;c=_b(417389)|0;if(!c)c=_b(417404)|0;f[a+564>>2]=c;c=_b(417422)|0;if(!c)c=_b(417438)|0;f[a+572>>2]=c;c=_b(485343)|0;f[a+580>>2]=c;c=_b(485363)|0;f[a+584>>2]=c;c=_b(485385)|0;f[a+588>>2]=c;c=_b(485408)|0;f[a+592>>2]=c;c=_b(485431)|0;f[a+596>>2]=c;c=_b(485457)|0;f[a+600>>2]=c;c=_b(485485)|0;f[a+604>>2]=c;c=_b(417457)|0;f[a+608>>2]=c;c=_b(417476)|0;f[a+612>>2]=c;c=_b(417492)|0;f[a+616>>2]=c;c=_b(417504)|0;f[a+620>>2]=c;c=_b(417516)|0;f[a+624>>2]=c;c=_b(417528)|0;f[a+628>>2]=c;c=_b(417540)|0;f[a+632>>2]=c;c=_b(417553)|0;f[a+636>>2]=c;c=_b(417566)|0;f[a+640>>2]=c;c=_b(417579)|0;f[a+644>>2]=c;c=_b(417592)|0;f[a+648>>2]=c;c=_b(417611)|0;f[a+652>>2]=c;c=_b(417630)|0;f[a+656>>2]=c;c=_b(417649)|0;f[a+660>>2]=c;c=_b(417670)|0;f[a+664>>2]=c;c=_b(417691)|0;f[a+668>>2]=c;c=_b(417712)|0;f[a+672>>2]=c;c=_b(417733)|0;f[a+676>>2]=c;c=_b(417754)|0;f[a+680>>2]=c;c=_b(417775)|0;f[a+684>>2]=c;c=_b(417808)|0;f[a+688>>2]=c;c=_b(417826)|0;if(!c)c=_b(417842)|0;f[a+788>>2]=c;c=_b(482977)|0;if(!c)c=_b(417861)|0;f[a+720>>2]=c;c=_b(483568)|0;if(!c)c=_b(417877)|0;f[a+724>>2]=c;c=_b(483029)|0;if(!c)c=_b(417893)|0;f[a+728>>2]=c;c=_b(483042)|0;if(!c)c=_b(417909)|0;f[a+732>>2]=c;c=_b(482990)|0;if(!c)c=_b(417928)|0;f[a+736>>2]=c;c=_b(483058)|0;if(!c)c=_b(417947)|0;f[a+740>>2]=c;c=_b(417961)|0;if(!c)c=_b(417980)|0;f[a+744>>2]=c;c=_b(418002)|0;if(!c)c=_b(418018)|0;f[a+748>>2]=c;c=_b(418037)|0;if(!c)c=_b(418058)|0;f[a+752>>2]=c;c=_b(418082)|0;if(!c)c=_b(418094)|0;f[a+756>>2]=c;c=_b(418109)|0;if(!c)c=_b(418126)|0;f[a+760>>2]=c;c=_b(418146)|0;if(!c)c=_b(418160)|0;f[a+764>>2]=c;c=_b(483006)|0;if(!c)c=_b(418177)|0;f[a+768>>2]=c;c=_b(418203)|0;if(!c)c=_b(418223)|0;f[a+772>>2]=c;e=_b(485634)|0;f[a+776>>2]=e;e=a+780|0;c=_b(485652)|0;do if(!c){c=_b(418246)|0;if(c|0)break;c=_b(418266)|0}while(0);f[e>>2]=c;c=_b(418285)|0;if(!c)c=_b(418297)|0;f[a+784>>2]=c;e=a+713|0;b[e>>0]=z;i=a+714|0;c=(Pza(f[C>>2]|0,418312,3402823466385288598117041.0e14)|0)&1;b[i>>0]=c;c=(Pza(f[C>>2]|0,418339,3402823466385288598117041.0e14)|0)&1;b[a+715>>0]=c;c=f[C>>2]|0;if(Pza(c,418368,3402823466385288598117041.0e14)|0)c=1;else c=Pza(c,418395,3402823466385288598117041.0e14)|0;b[a+716>>0]=c&1;h=Pza(f[C>>2]|0,418422,3402823466385288598117041.0e14)|0;e=b[e>>0]|0;c=i}else{c=a+713|0;_Db(e|0,0,652)|0;h=a+720|0;i=h+72|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));b[c>>0]=z;c=a+714|0;b[c>>0]=0;b[a+715>>0]=0;b[a+716>>0]=0;h=0;e=z}b[a+717>>0]=h&1;if(!(e<<24>>24))c=(b[c>>0]|0)!=0;else c=1;b[a+712>>0]=c&1;b[a+792>>0]=z;e=a+796|0;if(A){c=_b(485217)|0;if(!c)c=_b(418449)|0;f[e>>2]=c;c=_b(418472)|0;if(!c)c=_b(418485)|0;f[a+800>>2]=c;c=_b(418501)|0;if(!c)c=_b(418522)|0;f[a+804>>2]=c;e=(Pza(f[C>>2]|0,418546,3402823466385288598117041.0e14)|0)&1;b[a+808>>0]=e;e=(Pza(f[C>>2]|0,418569,3402823466385288598117041.0e14)|0)&1;b[a+809>>0]=e;e=(Pza(f[C>>2]|0,418586,3402823466385288598117041.0e14)|0)&1;b[a+810>>0]=e;e=(Pza(f[C>>2]|0,418606,3402823466385288598117041.0e14)|0)&1;b[a+811>>0]=e;e=(Pza(f[C>>2]|0,418628,3402823466385288598117041.0e14)|0)&1;b[a+812>>0]=e;e=(Pza(f[C>>2]|0,418651,3402823466385288598117041.0e14)|0)&1;b[a+813>>0]=e;e=(Pza(f[C>>2]|0,418670,3402823466385288598117041.0e14)|0)&1;b[a+814>>0]=e;e=a+816|0;c=_b(484707)|0;if(!c){c=_b(418689)|0;if(!c)c=_b(418714)|0}f[e>>2]=c;e=a+820|0;c=_b(484729)|0;if(!c){c=_b(418739)|0;if(!c)c=_b(418766)|0}f[e>>2]=c;c=_b(418793)|0;if(!c)c=_b(418806)|0;f[a+832>>2]=c;c=_b(418822)|0;if(!c)c=_b(418843)|0;f[a+824>>2]=c;c=_b(418867)|0;if(!c)c=_b(418887)|0;f[a+828>>2]=c;c=_b(418910)|0;if(!c)c=_b(418928)|0;f[a+836>>2]=c;c=_b(418949)|0;if(!c)c=_b(418967)|0;f[a+840>>2]=c;c=_b(418988)|0;if(!c)c=_b(419007)|0;f[a+844>>2]=c;c=_b(419029)|0;if(!c)c=_b(419048)|0;f[a+848>>2]=c;c=_b(419070)|0;if(!c)c=_b(419089)|0;f[a+852>>2]=c;c=_b(419111)|0;if(!c)c=_b(419130)|0;f[a+856>>2]=c;c=_b(419152)|0;if(!c)c=_b(419170)|0;f[a+860>>2]=c;c=_b(419191)|0;if(!c)c=_b(419210)|0;f[a+864>>2]=c;c=_b(419232)|0;if(!c)c=_b(419251)|0;f[a+868>>2]=c;c=_b(419273)|0;if(!c)c=_b(419292)|0;f[a+872>>2]=c;c=_b(419314)|0;if(!c)c=_b(419333)|0;f[a+876>>2]=c;c=_b(419355)|0;if(!c)c=_b(419377)|0;f[a+880>>2]=c;c=_b(419401)|0;if(!c)c=_b(419426)|0;f[a+884>>2]=c;c=_b(419453)|0;if(!c)c=_b(419472)|0;f[a+888>>2]=c;c=_b(419493)|0;if(!c)c=_b(419515)|0;f[a+892>>2]=c;c=_b(419539)|0;if(!c)c=_b(419559)|0;f[a+896>>2]=c;c=_b(419581)|0;if(!c)c=_b(419603)|0;f[a+900>>2]=c;c=_b(419627)|0;if(!c)c=_b(419650)|0;f[a+904>>2]=c;c=_b(419675)|0;if(!c)c=_b(419688)|0;f[a+912>>2]=c;c=_b(419704)|0;if(!c)c=_b(419720)|0;f[a+940>>2]=c;c=_b(419739)|0;if(!c)c=_b(419749)|0;f[a+936>>2]=c;c=_b(419762)|0;if(!c)c=_b(419775)|0;f[a+916>>2]=c;c=_b(419791)|0;if(!c)c=_b(419802)|0;f[a+920>>2]=c;c=_b(419816)|0;if(!c)c=_b(419836)|0;f[a+924>>2]=c;c=_b(419859)|0;if(!c)c=_b(419877)|0;f[a+928>>2]=c;c=_b(419898)|0;if(!c)c=_b(419911)|0;f[a+908>>2]=c;c=_b(419927)|0;if(!c)c=_b(419946)|0;f[a+944>>2]=c;c=_b(419968)|0;if(!c)c=_b(419988)|0;f[a+948>>2]=c;c=_b(420011)|0;if(!c)c=_b(420033)|0;f[a+952>>2]=c;c=_b(420058)|0;f[a+932>>2]=c;c=_b(420073)|0;f[a+956>>2]=c;c=Pza(f[C>>2]|0,420089,3402823466385288598117041.0e14)|0}else{f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;d[e+16>>1]=0;b[e+18>>0]=0;_Db(a+816|0,0,144)|0;c=0}b[a+961>>0]=c&1;c=a+960|0;b[c>>0]=+n[y>>2]>=3.200000047683716&1;e=a+964|0;if(A){w=_b(420116)|0;f[e>>2]=w;if(!(b[c>>0]|0))c=Pza(f[C>>2]|0,420130,3402823466385288598117041.0e14)|0;else c=1;b[a+962>>0]=c&1;c=(Pza(f[C>>2]|0,420154,3402823466385288598117041.0e14)|0)&1;b[a+968>>0]=c;c=(Pza(f[C>>2]|0,420176,3402823466385288598117041.0e14)|0)&1;b[a+969>>0]=c;c=_b(420200)|0;f[a+972>>2]=c;c=_b(420217)|0;f[a+976>>2]=c;c=_b(420234)|0;f[a+980>>2]=c;c=_b(420254)|0;f[a+984>>2]=c;c=_b(420273)|0;f[a+988>>2]=c;c=_b(420303)|0;if(!c)c=_b(420323)|0;f[a+992>>2]=c;c=_b(420346)|0;if(!c)c=_b(420366)|0;f[a+996>>2]=c;c=_b(420389)|0;if(!c)c=_b(420410)|0;f[a+1e3>>2]=c;c=_b(420434)|0;if(!c)c=_b(420455)|0;f[a+1004>>2]=c;c=_b(420479)|0;if(!c)c=_b(420501)|0;f[a+1008>>2]=c;c=_b(420526)|0;if(!c)c=_b(420549)|0;f[a+1012>>2]=c;c=_b(420575)|0;if(!c)c=_b(420599)|0;f[a+1016>>2]=c;c=_b(420626)|0;if(!c)c=_b(420650)|0;f[a+1020>>2]=c;c=_b(420677)|0;if(!c)c=_b(420702)|0;f[a+1024>>2]=c;c=_b(420730)|0;if(!c)c=_b(420756)|0;f[a+1028>>2]=c;c=_b(420785)|0;if(!c)c=_b(420799)|0;f[a+1032>>2]=c;c=_b(420816)|0;if(!c)c=_b(420833)|0;f[a+1036>>2]=c;c=_b(420853)|0;if(!c)c=_b(420867)|0;f[a+1040>>2]=c;c=_b(420884)|0;if(!c)c=_b(420896)|0;f[a+1044>>2]=c;c=Oh(7937)|0}else{f[e>>2]=0;b[a+962>>0]=0;b[a+968>>0]=0;b[a+969>>0]=0;h=a+972|0;i=h+76|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c=0}h=(c|0)==0?505031:c;f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;i=Rmb(h)|0;if(i>>>0>4294967279)MBb(D);if(i>>>0<11){e=D+11|0;b[e>>0]=i;if(!i){c=D;w=e}else{c=D;B=368}}else{e=i+16&-16;c=EBb(e)|0;f[D>>2]=c;f[D+8>>2]=e|-2147483648;f[D+4>>2]=i;e=D+11|0;B=368}if((B|0)==368){YDb(c|0,h|0,i|0)|0;w=e}b[c+i>>0]=0;e=b[w>>0]|0;m=e<<24>>24<0;h=m?f[D>>2]|0:D;p=D+4|0;e=m?f[p>>2]|0:e&255;m=h+e|0;c=m;o=h;k=(e|0)<6;c:do if(!k){j=h;i=e;do{i=i+-5|0;if(!i)break;l=Ymb(j,82,i)|0;if(!l)break;if(!(anb(l,420911,6)|0)){B=375;break}j=l+1|0;i=c-j|0}while((i|0)>=6);if((B|0)==375?!((l|0)==(m|0)|(l-o|0)==-1):0){l=1;break}if(!k){j=h;i=e;while(1){i=i+-5|0;if(!i){j=m;i=c;B=383;break c}i=Ymb(j,82,i)|0;if(!i){j=m;i=c;B=383;break c}if(!(anb(i,420918,6)|0))break;j=i+1|0;i=c-j|0;if((i|0)<6){j=m;i=c;B=383;break c}}j=i;B=383}else{j=m;i=c;B=383}}else{j=m;i=c;B=383}while(0);if((B|0)==383)l=(i-o|0)!=-1&(j|0)!=(m|0);d:do if(!k){j=h;i=e;do{i=i+-5|0;if(!i)break;q=Ymb(j,70,i)|0;if(!q)break;if(!(anb(q,420925,6)|0)){B=390;break}j=q+1|0;i=c-j|0}while((i|0)>=6);if((B|0)==390?!((q|0)==(m|0)|(q-o|0)==-1):0){h=1;break}if(!k){while(1){e=e+-5|0;if(!e){h=m;B=398;break d}e=Ymb(h,70,e)|0;if(!e){h=m;B=398;break d}if(!(anb(e,420932,6)|0))break;h=e+1|0;e=c-h|0;if((e|0)<6){h=m;B=398;break d}}h=e;c=e;B=398}else{h=m;B=398}}else{h=m;B=398}while(0);if((B|0)==398)h=(c-o|0)!=-1&(h|0)!=(m|0);b[a+1048>>0]=x;if(A){v=(Pza(f[C>>2]|0,420939,3402823466385288598117041.0e14)|0)&1;b[a+1049>>0]=v;v=(Pza(f[C>>2]|0,420973,3402823466385288598117041.0e14)|0)&1;b[a+1050>>0]=v;b[a+1051>>0]=x;if(Pza(f[C>>2]|0,420996,3402823466385288598117041.0e14)|0)c=1;else c=Pza(f[C>>2]|0,421028,3402823466385288598117041.0e14)|0;b[a+1052>>0]=c&1;c=(Pza(f[C>>2]|0,421039,3402823466385288598117041.0e14)|0)&1;b[a+1053>>0]=c;b[a+1054>>0]=c;c=(Pza(f[C>>2]|0,421072,3402823466385288598117041.0e14)|0)&1;b[a+1055>>0]=c;c=(Pza(f[C>>2]|0,421108,3402823466385288598117041.0e14)|0)&1;b[a+1056>>0]=c;c=(Pza(f[C>>2]|0,421133,3402823466385288598117041.0e14)|0)&1;b[a+1057>>0]=c;c=Pza(f[C>>2]|0,421039,3402823466385288598117041.0e14)|0}else{b[a+1049>>0]=0;b[a+1050>>0]=0;b[a+1051>>0]=x;c=a+1052|0;f[c>>2]=0;d[c+4>>1]=0;c=0}b[a+1058>>0]=c&1;b[a+1059>>0]=x;b[a+1060>>0]=x;if(A){c=1;e=Pza(f[C>>2]|0,421165,3402823466385288598117041.0e14)|0}else{c=0;e=0}b[a+1061>>0]=e&1;b[a+1062>>0]=x;b[a+1063>>0]=((l|h)^1)&1;if(c){c=(Pza(f[C>>2]|0,420089,3402823466385288598117041.0e14)|0)&1;b[a+1064>>0]=c;c=(Pza(f[C>>2]|0,421193,3402823466385288598117041.0e14)|0)&1;b[a+1065>>0]=c;c=(Pza(f[C>>2]|0,421207,3402823466385288598117041.0e14)|0)&1;b[a+1066>>0]=c;c=Pza(f[C>>2]|0,421229,3402823466385288598117041.0e14)|0}else{b[a+1064>>0]=0;b[a+1065>>0]=0;b[a+1066>>0]=0;c=0}b[a+1072>>0]=c&1;k=a+1075|0;b[k>>0]=x;b[a+1076>>0]=x;if(A)c=Pza(f[C>>2]|0,421253,3402823466385288598117041.0e14)|0;else c=0;b[a+1073>>0]=c&1;c=b[w>>0]|0;h=c<<24>>24<0;e=h?f[D>>2]|0:D;c=h?f[p>>2]|0:c&255;h=e+c|0;i=h;j=e;e:do if((c|0)>=10){while(1){c=c+-9|0;if(!c)break e;c=Ymb(e,71,c)|0;if(!c)break e;if(!(anb(c,421276,10)|0))break;e=c+1|0;c=i-e|0;if((c|0)<10)break e}if(!((c|0)==(h|0)|(c-j|0)==-1)){b[k>>0]=0;do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;v=Nu(Hua(4)|0,421287,76)|0;Drb(r,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);t=utb(r,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(r);ksb(v,t)|0;Krb(v)|0}}while(0);e=a+1068|0;f[e>>2]=0;if(A){Nh(3379,e|0);c=f[e>>2]|0}else c=0;f[r>>2]=c;do if(jF(421364,r)|0){c=f[r>>2]|0;if((c|0)>=(f[e>>2]|0))break;f[e>>2]=c}while(0);g=+n[y>>2];b[a+1067>>0]=g>=1.2000000476837158&1;if(A){if(!(g>=4.199999809265137)){v=Pza(f[C>>2]|0,421385,3402823466385288598117041.0e14)|0;c=a+1074|0;b[c>>0]=v&1;if(v){k=c;B=432}}else{k=a+1074|0;b[k>>0]=1;B=432}if((B|0)==432){f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;e=sh(421408)|0;f:do if(!e)c=s+11|0;else{c=0;while(1){if(!(b[e+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(s,e,c)|0;c=s+11|0;i=b[c>>0]|0;j=s+4|0;e=f[j>>2]|0;h=i&255;do if(((i<<24>>24<0?e:h)|0)==3){if(!(nCb(s,0,-1,411012,3)|0))break;i=b[c>>0]|0;h=i&255;e=f[j>>2]|0;B=440}else B=440;while(0);do if((B|0)==440){if(((i<<24>>24<0?e:h)|0)==7?(nCb(s,0,-1,421431,7)|0)==0:0)break;b[k>>0]=1;break f}while(0);b[k>>0]=0}while(0);if((b[c>>0]|0)<0)GBb(f[s>>2]|0)}c=_b(421439)|0;if(!c)c=_b(421454)|0;f[a+1080>>2]=c;c=_b(421472)|0;if(!c)c=_b(421491)|0;f[a+1084>>2]=c;c=_b(482802)|0;if(!c)c=_b(421513)|0;f[a+1088>>2]=c;c=_b(421531)|0;if(!c)c=_b(421550)|0;f[a+1092>>2]=c;c=_b(482817)|0;if(!c)c=_b(421572)|0;f[a+1096>>2]=c;c=_b(421590)|0;if(!c)c=_b(421609)|0;f[a+1100>>2]=c;c=_b(421631)|0;if(!c)c=_b(421661)|0;f[a+1104>>2]=c;c=_b(421694)|0;if(!c)c=_b(421724)|0;f[a+1108>>2]=c;c=_b(421757)|0;if(!c)c=_b(421771)|0;f[a+1112>>2]=c;c=_b(482695)|0;if(!c)c=_b(421788)|0;f[a+1116>>2]=c;c=_b(482718)|0;if(!c)c=_b(421814)|0;f[a+1120>>2]=c;c=_b(421843)|0;if(!c)c=_b(421867)|0;f[a+1124>>2]=c;c=_b(421894)|0;if(!c)c=_b(421918)|0;f[a+1128>>2]=c;e=a+1132|0;c=_b(486349)|0;do if(!c){c=_b(421945)|0;if(c|0)break;c=_b(421966)|0}while(0);f[e>>2]=c;e=a+1136|0;c=_b(486367)|0;do if(!c){c=_b(421987)|0;if(c|0)break;c=_b(422009)|0}while(0);f[e>>2]=c;c=_b(422031)|0;if(!c)c=_b(422050)|0;f[a+1140>>2]=c;v=Pza(f[C>>2]|0,422072,3402823466385288598117041.0e14)|0;b[a+1145>>0]=v&1;if(v){b[a+1144>>0]=1;c=a+1148|0}else{b[a+1144>>0]=+n[y>>2]>=1.2000000476837158&1;c=a+1148|0}f[c>>2]=0;Nh(32883,c|0);c=_b(482773)|0;if(!c)c=_b(422089)|0;f[a+1152>>2]=c;c=_b(482786)|0;if(!c)c=_b(422105)|0;f[a+1156>>2]=c;c=_b(422124)|0;if(!c)c=_b(422147)|0;f[a+1164>>2]=c;c=_b(422173)|0;if(!c)c=_b(422199)|0;f[a+1168>>2]=c;c=_b(422228)|0;f[a+1172>>2]=c;c=_b(422252)|0;f[a+1176>>2]=c;c=_b(422271)|0;if(!c)c=_b(422291)|0}else{b[a+1074>>0]=0;f[a+1080>>2]=0;c=a+1084|0;f[a+1148>>2]=0;f[a+1152>>2]=0;f[a+1156>>2]=0;e=a+1164|0;h=c;i=h+60|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));d[c+60>>1]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;c=0}f[a+1160>>2]=c;t=a+1640|0;c=_b(485740)|0;if(!c)c=_b(422314)|0;f[t>>2]=c;v=a+1644|0;c=_b(485765)|0;if(!c)c=_b(422342)|0;f[v>>2]=c;if(A){e=(Pza(f[C>>2]|0,422368,3402823466385288598117041.0e14)|0)&1;b[a+1180>>0]=e;e=a+1188|0;f[e>>2]=0;Nh(3379,e|0);e=a+1184|0;f[e>>2]=0;Nh(35071,e|0);e=a+692|0;c=_b(422389)|0;do if(!c){c=_b(422408)|0;if(c|0)break;c=_b(422430)|0}while(0);f[e>>2]=c;e=a+696|0;c=_b(422451)|0;do if(!c){c=_b(422479)|0;if(c|0)break;c=_b(422510)|0}while(0);f[e>>2]=c;e=a+700|0;c=_b(422540)|0;do if(!c){c=_b(422571)|0;if(c|0)break;c=_b(422605)|0}while(0);f[e>>2]=c;e=a+704|0;c=_b(422638)|0;do if(!c){c=_b(422658)|0;if(c|0)break;c=_b(422681)|0}while(0);f[e>>2]=c;e=a+708|0;c=_b(422703)|0;do if(!c){c=_b(422729)|0;if(c|0)break;c=_b(422758)|0}while(0);f[e>>2]=c;b[a+1192>>0]=z;c=_b(485237)|0;if(!c)c=_b(422786)|0;f[a+1200>>2]=c;b[a+1193>>0]=x;b[a+1194>>0]=x;c=(Pza(f[C>>2]|0,422802,3402823466385288598117041.0e14)|0)&1;b[a+1195>>0]=c;c=(Pza(f[C>>2]|0,422829,3402823466385288598117041.0e14)|0)&1;b[a+1196>>0]=c;c=_b(484970)|0;if(!c)c=_b(422851)|0;f[a+1204>>2]=c;c=_b(485010)|0;if(!c)c=_b(422870)|0;f[a+1208>>2]=c;c=_b(422897)|0;if(!c)c=_b(422914)|0;f[a+1212>>2]=c;c=_b(422934)|0;if(!c)c=_b(422959)|0;f[a+1216>>2]=c;c=_b(485552)|0;f[a+1220>>2]=c;c=_b(485562)|0;f[a+1224>>2]=c;c=(Pza(f[C>>2]|0,422987,1.399999976158142)|0)&1;b[a+1228>>0]=c;c=(Pza(f[C>>2]|0,423007,3402823466385288598117041.0e14)|0)&1;b[a+1229>>0]=c;b[a+1230>>0]=+n[y>>2]>=2.0&1;c=(Pza(f[C>>2]|0,423031,3402823466385288598117041.0e14)|0)&1;b[a+1231>>0]=c;c=_b(423055)|0;f[a+1232>>2]=c;c=_b(485272)|0;if(!c)c=_b(423078)|0;f[a+1236>>2]=c;c=_b(485061)|0;f[a+1240>>2]=c;c=_b(485250)|0;if(!c)c=_b(423101)|0;f[a+1244>>2]=c;c=_b(423101)|0;f[a+1248>>2]=c;c=_b(485507)|0;if(!c)c=_b(423126)|0;f[a+1252>>2]=c;if(Pza(f[C>>2]|0,423142,3402823466385288598117041.0e14)|0)c=1;else c=+n[y>>2]>=2.0;b[a+1256>>0]=c&1;c=_b(485727)|0;if(!c)c=_b(423168)|0;f[a+1260>>2]=c;c=_b(423184)|0;if(!c)c=_b(423208)|0;f[a+1264>>2]=c;do if(!(+n[y>>2]>=1.399999976158142)){if(Pza(f[C>>2]|0,423234,3402823466385288598117041.0e14)|0){c=1;break}if(Pza(f[C>>2]|0,423258,3402823466385288598117041.0e14)|0){c=1;break}c=Pza(f[C>>2]|0,423282,3402823466385288598117041.0e14)|0}else c=1;while(0);b[a+1276>>0]=c&1;b[a+1277>>0]=z;b[a+1279>>0]=+n[y>>2]>=2.0&1;c=_b(423307)|0;if(!c)c=_b(423325)|0;e=a+1280|0;f[e>>2]=c;if(!c){c=_b(423346)|0;if(!c)c=_b(423367)|0;f[e>>2]=c}e=a+1284|0;c=_b(423389)|0;if(!c)c=_b(423407)|0;f[e>>2]=c;if(!c){c=_b(423428)|0;if(!c)c=_b(423449)|0;f[e>>2]=c}e=a+1288|0;c=_b(423471)|0;if(!c)c=_b(423490)|0;f[e>>2]=c;if(!c){c=_b(423512)|0;if(!c)c=_b(423534)|0;f[e>>2]=c}b[a+1268>>0]=z;c=(Pza(f[C>>2]|0,423557,3402823466385288598117041.0e14)|0)&1;b[a+1269>>0]=c;c=_b(485106)|0;if(!c)c=_b(423587)|0;f[a+1272>>2]=c;s=a+1296|0;c=_b(483110)|0;do if(!c){c=_b(423607)|0;if(c|0)break;c=_b(423629)|0}while(0);f[s>>2]=c;r=a+1300|0;c=_b(483088)|0;do if(!c){c=_b(423651)|0;if(c|0)break;c=_b(423676)|0}while(0);f[r>>2]=c;q=a+1304|0;c=_b(483069)|0;do if(!c){c=_b(423701)|0;if(c|0)break;c=_b(423723)|0}while(0);f[q>>2]=c;p=a+1308|0;c=_b(485195)|0;do if(!c){c=_b(423745)|0;if(c|0)break;c=_b(423770)|0}while(0);f[p>>2]=c;e=a+1312|0;c=_b(423795)|0;do if(!c){c=_b(423828)|0;if(c|0)break;c=_b(423864)|0}while(0);f[e>>2]=c;o=_b(423900)|0;f[a+1316>>2]=o;o=a+1320|0;c=_b(484031)|0;do if(!c){c=_b(423943)|0;if(c|0)break;c=_b(423964)|0}while(0);f[o>>2]=c;m=a+1324|0;c=_b(484067)|0;do if(!c){c=_b(423985)|0;if(c|0)break;c=_b(424009)|0}while(0);f[m>>2]=c;l=a+1328|0;c=_b(484049)|0;do if(!c){c=_b(424033)|0;if(c|0)break;c=_b(424054)|0}while(0);f[l>>2]=c;k=a+1332|0;c=_b(484912)|0;do if(!c){c=_b(424075)|0;if(c|0)break;c=_b(424103)|0}while(0);f[k>>2]=c;e=a+1336|0;c=_b(424131)|0;do if(!c){c=_b(424154)|0;if(c|0)break;c=_b(424180)|0}while(0);f[e>>2]=c;j=a+1340|0;c=_b(484114)|0;do if(!c){c=_b(424206)|0;if(c|0)break;c=_b(424232)|0}while(0);f[j>>2]=c;e=a+1344|0;c=_b(424258)|0;do if(!c){c=_b(424281)|0;if(c|0)break;c=_b(424307)|0}while(0);f[e>>2]=c;e=a+1348|0;c=_b(424333)|0;do if(!c){c=_b(424354)|0;if(c|0)break;c=_b(424378)|0}while(0);f[e>>2]=c;e=a+1352|0;c=_b(424402)|0;do if(!c){c=_b(424428)|0;if(c|0)break;c=_b(424457)|0}while(0);f[e>>2]=c;e=a+1356|0;c=_b(424486)|0;do if(!c){c=_b(424511)|0;if(c|0)break;c=_b(424539)|0}while(0);f[e>>2]=c;i=a+1360|0;c=_b(484088)|0;do if(!c){c=_b(424567)|0;if(c|0)break;c=_b(424596)|0}while(0);f[i>>2]=c;e=a+1376|0;c=_b(424625)|0;do if(!c){c=_b(424649)|0;if(c|0)break;c=_b(424676)|0}while(0);f[e>>2]=c;e=a+1380|0;c=_b(424703)|0;do if(!c){c=_b(424731)|0;if(c|0)break;c=_b(424762)|0}while(0);f[e>>2]=c;e=a+1384|0;c=_b(424793)|0;do if(!c){c=_b(424822)|0;if(c|0)break;c=_b(424854)|0}while(0);f[e>>2]=c;e=a+1388|0;c=_b(424886)|0;do if(!c){c=_b(424919)|0;if(c|0)break;c=_b(424955)|0}while(0);f[e>>2]=c;h=a+1364|0;c=_b(484937)|0;do if(!c){c=_b(424991)|0;if(c|0)break;c=_b(425011)|0}while(0);f[h>>2]=c;e=a+1368|0;c=_b(425031)|0;do if(!c){c=_b(425049)|0;if(c|0)break;c=_b(425070)|0}while(0);f[e>>2]=c;c=_b(483129)|0;do if(!c){c=_b(425091)|0;if(c|0)break;c=_b(425123)|0}while(0);z=f[s>>2]|0;f[a+1372>>2]=c;do if(!z)c=0;else{if(!(f[r>>2]|0)){c=0;break}if(!(f[q>>2]|0)){c=0;break}if(!(f[p>>2]|0)){c=0;break}if(!(f[o>>2]|0)){c=0;break}if(!(f[m>>2]|0)){c=0;break}if(!(f[l>>2]|0)){c=0;break}if(!(f[k>>2]|0)){c=0;break}if(!(f[j>>2]|0)){c=0;break}if(!(f[i>>2]|0)){c=0;break}c=(c|0)!=0&(f[h>>2]|0)!=0}while(0);b[a+1292>>0]=c&1;if(Pza(f[C>>2]|0,425155,3402823466385288598117041.0e14)|0)c=1;else c=Pza(f[C>>2]|0,425183,3402823466385288598117041.0e14)|0;b[a+1293>>0]=c&1;c=_b(425211)|0;f[a+1392>>2]=c;c=_b(425242)|0;f[a+1396>>2]=c;c=_b(425275)|0;f[a+1400>>2]=c;c=_b(425306)|0;f[a+1404>>2]=c;c=_b(425327)|0;f[a+1408>>2]=c;c=_b(425353)|0;f[a+1412>>2]=c;c=_b(425373)|0;f[a+1416>>2]=c;c=_b(425397)|0;f[a+1420>>2]=c;c=_b(425423)|0;f[a+1424>>2]=c;c=_b(425435)|0;f[a+1428>>2]=c;c=_b(425444)|0;f[a+1432>>2]=c;c=_b(425457)|0;f[a+1436>>2]=c;c=_b(425474)|0;f[a+1440>>2]=c;c=_b(425485)|0;f[a+1444>>2]=c;c=_b(425497)|0;if(!c)c=_b(425518)|0;f[a+1448>>2]=c;c=_b(425542)|0;if(!c)c=_b(425568)|0;f[a+1452>>2]=c;c=_b(425597)|0;if(!c)c=_b(425620)|0;f[a+1456>>2]=c;c=_b(425646)|0;if(!c)c=_b(425674)|0;f[a+1460>>2]=c;e=a+1464|0;c=_b(425705)|0;do if(!c){c=_b(425725)|0;if(c|0)break;c=_b(425748)|0}while(0);f[e>>2]=c;c=_b(485586)|0;if(!c)c=_b(425771)|0;f[a+1468>>2]=c;c=_b(485611)|0;if(!c)c=_b(425799)|0;f[a+1472>>2]=c;c=_b(485669)|0;if(!c)c=_b(425825)|0;f[a+1476>>2]=c;c=_b(485697)|0;if(!c)c=_b(425856)|0;f[a+1480>>2]=c;c=_b(425889)|0;f[a+1484>>2]=c;c=_b(425913)|0;f[a+1488>>2]=c;c=_b(425940)|0;f[a+1492>>2]=c;c=_b(425964)|0;f[a+1496>>2]=c;c=_b(425986)|0;f[a+1500>>2]=c;c=_b(426011)|0;f[a+1504>>2]=c;c=_b(426037)|0;f[a+1508>>2]=c;c=_b(426061)|0;f[a+1512>>2]=c;c=_b(426091)|0;f[a+1516>>2]=c;c=_b(426124)|0;f[a+1520>>2]=c;c=_b(426163)|0;f[a+1524>>2]=c;c=_b(426190)|0;f[a+1528>>2]=c;c=_b(426220)|0;f[a+1532>>2]=c;c=_b(426251)|0;f[a+1536>>2]=c;c=_b(426276)|0;f[a+1540>>2]=c;c=_b(426302)|0;f[a+1544>>2]=c;c=_b(484413)|0;if(!c)c=_b(426330)|0;f[a+1552>>2]=c;c=_b(484452)|0;if(!c)c=_b(426351)|0;f[a+1560>>2]=c;c=_b(484431)|0;if(!c)c=_b(426372)|0;f[a+1548>>2]=c;c=_b(484397)|0;if(!c)c=_b(426396)|0;f[a+1556>>2]=c;c=(Pza(f[C>>2]|0,426415,4.300000190734863)|0)&1;b[a+1564>>0]=c;c=_b(426444)|0;if(!c)c=_b(426463)|0;f[a+1568>>2]=c;c=_b(426485)|0;if(!c)c=_b(426511)|0;f[a+1572>>2]=c;c=_b(426540)|0;if(!c)c=_b(426562)|0;f[a+1576>>2]=c;c=_b(426587)|0;if(!c)c=_b(426614)|0;f[a+1580>>2]=c;c=_b(426540)|0;if(!c)c=_b(426562)|0;f[a+1584>>2]=c;c=_b(426540)|0;if(!c)c=_b(426562)|0;f[a+1588>>2]=c;c=_b(426644)|0;if(!c)c=_b(426666)|0;f[a+1592>>2]=c;c=_b(426691)|0;if(!c)c=_b(426717)|0;f[a+1596>>2]=c;c=_b(426746)|0;if(!c)c=_b(426773)|0;f[a+1600>>2]=c;c=_b(426803)|0;if(!c)c=_b(426830)|0;f[a+1604>>2]=c;c=_b(426860)|0;if(!c)c=_b(426878)|0}else{b[a+1180>>0]=0;f[a+1188>>2]=0;f[a+1184>>2]=0;c=a+692|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;b[a+1192>>0]=z;f[a+1200>>2]=0;b[a+1193>>0]=x;b[a+1194>>0]=x;b[a+1195>>0]=0;b[a+1196>>0]=0;c=a+1204|0;f[a+1260>>2]=0;f[a+1264>>2]=0;b[a+1276>>0]=0;e=a+1277|0;h=c;i=h+52|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));b[c+52>>0]=0;b[e>>0]=z;b[a+1279>>0]=0;f[a+1280>>2]=0;f[a+1284>>2]=0;f[a+1288>>2]=0;b[a+1268>>0]=z;b[a+1269>>0]=0;f[a+1272>>2]=0;c=a+1376|0;h=a+1296|0;i=h+76|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+1372>>2]=0;b[a+1292>>0]=0;b[a+1293>>0]=0;_Db(a+1392|0,0,173)|0;h=a+1568|0;i=h+40|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c=0}f[a+1608>>2]=c;c=_b(426899)|0;if(!c)c=_b(426919)|0;f[a+1612>>2]=c;c=_b(426942)|0;if(!c)c=_b(426976)|0;f[a+1648>>2]=c;c=_b(427013)|0;if(!c)c=_b(427049)|0;f[a+1652>>2]=c;c=_b(427088)|0;if(!c)c=_b(427134)|0;f[a+1656>>2]=c;c=_b(484270)|0;f[a+1620>>2]=c;c=_b(427183)|0;if(!c)c=_b(427208)|0;f[a+1624>>2]=c;c=_b(427236)|0;if(!c)c=_b(427266)|0;f[a+1632>>2]=c;c=_b(427299)|0;if(!c)c=_b(427333)|0;f[a+1628>>2]=c;c=_b(427370)|0;if(!c)c=_b(427400)|0;f[a+1616>>2]=c;c=_b(427433)|0;if(!c)c=_b(427451)|0;f[a+1636>>2]=c;c=_b(485740)|0;if(!c)c=_b(427472)|0;f[t>>2]=c;c=_b(485765)|0;if(!c)c=_b(427500)|0;f[v>>2]=c;if(A){c=(Pza(f[C>>2]|0,427526,4.099999904632568)|0)&1;b[a+1660>>0]=c;c=_b(427548)|0;f[a+1664>>2]=c;c=_b(427565)|0;f[a+1668>>2]=c;c=_b(427584)|0;f[a+1672>>2]=c;c=_b(427604)|0;f[a+1676>>2]=c;c=_b(427620)|0;f[a+1680>>2]=c;c=_b(427637)|0;f[a+1684>>2]=c;c=_b(427655)|0;f[a+1688>>2]=c;c=_b(427674)|0;f[a+1692>>2]=c;c=_b(427694)|0;if(!c)c=_b(427718)|0;f[a+1696>>2]=c;c=_b(427741)|0;f[a+1700>>2]=c;c=_b(427755)|0;f[a+1704>>2]=c;c=_b(427770)|0;f[a+1708>>2]=c;c=_b(427794)|0;f[a+1712>>2]=c;c=_b(427813)|0;f[a+1716>>2]=c;c=_b(427833)|0;f[a+1720>>2]=c;c=_b(484375)|0;if(!c)c=_b(427855)|0;f[a+1724>>2]=c;c=_b(484954)|0;if(!c)c=_b(427880)|0;f[a+1728>>2]=c;c=_b(427899)|0;if(!c)c=_b(427917)|0;f[a+1732>>2]=c;c=_b(427938)|0;if(!c)c=_b(427962)|0;f[a+1736>>2]=c;c=Oh(7938)|0;g:do if(c){e=b[c>>0]|0;if(!(e<<24>>24)){B=734;break}while(1){if((e+-48&255)<10)break;c=c+1|0;e=b[c>>0]|0;if(!(e<<24>>24)){B=734;break g}}if(!(+Oza(c)>=2.0))B=734}else B=734;while(0);if((B|0)==734)Pza(f[C>>2]|0,427989,3402823466385288598117041.0e14)|0;c=a+1744|0;Nh(35661,c|0);f[a+1740>>2]=f[c>>2];c=_b(428010)|0}else{b[a+1660>>0]=0;h=a+1664|0;i=h+84|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c=0}f[a+1748>>2]=c;if((b[w>>0]|0)>=0){u=E;return}GBb(f[D>>2]|0);u=E;return}function Oza(a){a=a|0;var c=0.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,r=0,s=0.0;r=u;u=u+64|0;j=r+48|0;k=r+32|0;n=r+16|0;o=r;if(!(dnb(a,428263,2)|0)){d=a+2|0;a=b[d>>0]|0;if(!(a<<24>>24)){c=0.0;u=r;return +c}c=0.0;e=a;while(1){if((e+-48&255)>=10)if((e+-97&255)>=6)if((e+-65&255)<6)a=-55;else{q=26;break}else a=-87;else a=-48;c=c*16.0+ +(a+(e<<24>>24)|0);d=d+1|0;e=b[d>>0]|0;if(!(e<<24>>24)){q=26;break}}if((q|0)==26){u=r;return +c}}b[j+1>>0]=0;b[j>>0]=0;l=n+8|0;p[l>>3]=1.0;p[n>>3]=1.0;m=k+8|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;p[o+8>>3]=.1;p[o>>3]=.1;e=b[a>>0]|0;do if(!(e<<24>>24))q=23;else{d=0;g=e;h=e<<24>>24;a:while(1){b:do switch(g<<24>>24){case 43:{p[n+(d<<3)>>3]=1.0;break}case 45:{p[n+(d<<3)>>3]=-1.0;break}default:{if((g+-48&255)<10){e=k+(d<<3)|0;c=+p[e>>3];if(!(b[j+d>>0]|0)){p[e>>3]=c*10.0+ +(h+-48|0);break b}else{g=o+(d<<3)|0;s=+p[g>>3];p[e>>3]=c+s*+(h+-48|0);p[g>>3]=s*.1;break b}}switch(g<<24>>24){case 46:{b[j+d>>0]=1;break b}case 101:if((d|0)==1)break a;else{d=1;break b}default:if((d|0)==1|g<<24>>24!=69){i=d;q=22;break a}else{d=1;break b}}}}while(0);a=a+1|0;e=b[a>>0]|0;if(!((d|0)<2&e<<24>>24!=0)){i=d;q=22;break}else{g=e;h=e<<24>>24}}if((q|0)==22?(i|0)==0:0){q=23;break}c=+p[k>>3]*+p[n>>3]*+L(10.0,+(+p[m>>3]*+p[l>>3]))}while(0);if((q|0)==23)c=+p[k>>3]*+p[n>>3];s=c;u=r;return +s}function Pza(a,c,d){a=a|0;c=c|0;d=+d;var e=0,g=0,i=0,j=0.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+32|0;A=B+12|0;z=B;e=f[124919]|0;i=f[124918]|0;k=(e-i|0)/12|0;do if(k>>>0<=a>>>0){g=a+1|0;if(g>>>0>k>>>0){Qza(499672,g-k|0);break}if(g>>>0<k>>>0){g=i+(g*12|0)|0;if((g|0)!=(e|0))do{y=e;e=e+-12|0;f0(e,f[y+-8>>2]|0)}while((e|0)!=(g|0));f[124919]=g}}while(0);t=f[124918]|0;v=t+(a*12|0)|0;e=f[124922]|0;g=f[124921]|0;i=(e-g|0)/12|0;do if(i>>>0<=a>>>0){k=a+1|0;if(k>>>0>i>>>0){yca(499684,k-i|0);break}if(k>>>0<i>>>0){g=g+(k*12|0)|0;if((g|0)!=(e|0))do{e=e+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(g|0));f[124922]=g}}while(0);s=f[124921]|0;y=s+(a*12|0)|0;e=Oh(7938)|0;a:do if((e|0)!=0?(l=b[e>>0]|0,l<<24>>24!=0):0){g=l;while(1){if((g+-48&255)<10)break;e=e+1|0;g=b[e>>0]|0;if(!(g<<24>>24)){j=0.0;break a}}j=+Oza(e)}else j=0.0;while(0);if(!(j>=d)){e=f[124924]|0;i=(f[124925]|0)-e>>2;g=e;if(i>>>0<=a>>>0){k=a+1|0;f[A>>2]=0;if(k>>>0<=i>>>0){if(k>>>0<i>>>0)f[124925]=g+(k<<2)}else{oW(499696,k-i|0,A);e=f[124924]|0;g=e}}if(!(f[g+(a<<2)>>2]|0)){i=(f[124925]|0)-e>>2;if(i>>>0<=a>>>0){g=a+1|0;f[A>>2]=0;if(g>>>0<=i>>>0){if(g>>>0<i>>>0)f[124925]=e+(g<<2)}else{oW(499696,g-i|0,A);e=f[124924]|0}}f[e+(a<<2)>>2]=1;e=Oh(7937)|0;ZBb(y,(e|0)==0?505031:e)|0;e=Oh(7939)|0;if(!e){A=0;u=B;return A|0}g=Xmb(e,32)|0;b:do if(!g)r=e;else{m=z+11|0;n=z+8|0;o=z+4|0;p=t+(a*12|0)+4|0;q=t+(a*12|0)+8|0;i=e;while(1){f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;l=g-i|0;if(l>>>0>4294967279)break;if(l>>>0<11){b[m>>0]=l;e=z}else{w=l+16&-16;e=EBb(w)|0;f[z>>2]=e;f[n>>2]=w|-2147483648;f[o>>2]=l}if((i|0)!=(g|0)){k=e;while(1){b[k>>0]=b[i>>0]|0;i=i+1|0;if((i|0)==(g|0))break;else k=k+1|0}e=e+l|0}b[e>>0]=0;i=u0(v,A,z)|0;if(!(f[i>>2]|0)){e=EBb(28)|0;k=e+16|0;f[k>>2]=f[z>>2];f[k+4>>2]=f[z+4>>2];f[k+8>>2]=f[z+8>>2];f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;k=f[A>>2]|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=k;f[i>>2]=e;k=f[f[v>>2]>>2]|0;if(k){f[v>>2]=k;e=f[i>>2]|0}Xo(f[p>>2]|0,e);f[q>>2]=(f[q>>2]|0)+1}if((b[m>>0]|0)<0)GBb(f[z>>2]|0);e=g+1|0;g=Xmb(e,32)|0;if(!g){r=e;break b}else i=e}MBb(z)}while(0);if(b[r>>0]|0){f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;g=Rmb(r)|0;if(g>>>0>4294967279)MBb(z);if(g>>>0<11){b[z+11>>0]=g;if(!g)e=z;else{e=z;x=64}}else{x=g+16&-16;e=EBb(x)|0;f[z>>2]=e;f[z+8>>2]=x|-2147483648;f[z+4>>2]=g;x=64}if((x|0)==64)YDb(e|0,r|0,g|0)|0;b[e+g>>0]=0;g=u0(v,A,z)|0;if(!(f[g>>2]|0)){e=EBb(28)|0;i=e+16|0;f[i>>2]=f[z>>2];f[i+4>>2]=f[z+4>>2];f[i+8>>2]=f[z+8>>2];f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;i=f[A>>2]|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=i;f[g>>2]=e;i=f[f[v>>2]>>2]|0;if(i){f[v>>2]=i;e=f[g>>2]|0}Xo(f[t+(a*12|0)+4>>2]|0,e);w=t+(a*12|0)+8|0;f[w>>2]=(f[w>>2]|0)+1}if((b[z+11>>0]|0)<0)GBb(f[z>>2]|0)}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){w=Nu(Hua(4)|0,428024,60)|0;Drb(A,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);r=utb(A,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(A);ksb(w,r)|0;Krb(w)|0}e=f[v>>2]|0;k=t+(a*12|0)+4|0;if((e|0)!=(k|0)){i=e;while(1){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){p=Nu(Hua(4)|0,428085,4)|0;q=i+16|0;w=b[q+11>>0]|0;r=w<<24>>24<0;w=Nu(p,r?f[q>>2]|0:q,r?f[i+20>>2]|0:w&255)|0;Drb(A,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);r=utb(A,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(A);ksb(w,r)|0;Krb(w)|0}e=f[i+4>>2]|0;do if(!e){g=i+8|0;e=f[g>>2]|0;if((f[e>>2]|0)==(i|0))break;do{w=f[g>>2]|0;g=w+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(w|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}while(0);if((e|0)==(k|0))break;else i=e}}};f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(A);if(g>>>0<11){b[A+11>>0]=g;if(!g)e=A;else{e=A;x=97}}else{x=g+16&-16;e=EBb(x)|0;f[A>>2]=e;f[A+8>>2]=x|-2147483648;f[A+4>>2]=g;x=97}if((x|0)==97)YDb(e|0,c|0,g|0)|0;b[e+g>>0]=0;e=(Y_(v,A)|0)==(t+(a*12|0)+4|0);if((b[A+11>>0]|0)<0)GBb(f[A>>2]|0);if(e){i=0;g=0}else x=101}else x=101;if((x|0)==101){Rza()|0;i=b[499719]|0;k=f[124928]|0;c:do if(!((i<<24>>24<0?k:i&255)|0))e=0;else{t=A+11|0;v=A+4|0;w=y+11|0;s=s+(a*12|0)+4|0;x=i<<24>>24<0;o=x?f[124927]|0:499708;g=0;e=0;n=Rmb(c)|0;k=x?k:i&255;while(1){if(n){i=o+g|0;m=o+k|0;k=m;g=k-i|0;if((g|0)<(n|0))break c;l=h[c>>0]|0;while(1){g=g-n+1|0;if(!g)break c;i=Ymb(i,l,g)|0;if(!i)break c;if(!(anb(i,c,n)|0))break;i=i+1|0;g=k-i|0;if((g|0)<(n|0))break c}g=i-o|0;if((i|0)==(m|0)|(g|0)==-1)break c}i=mCb(499708,58,g)|0;k=mCb(499708,59,g)|0;f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;do if((i|0)!=-1){if((k|0)==-1){SBb(z,499708,0,i,499708);if((b[t>>0]|0)<0){b[f[A>>2]>>0]=0;f[v>>2]=0}else{b[A>>0]=0;b[t>>0]=0}YBb(A,0);f[A>>2]=f[z>>2];f[A+4>>2]=f[z+4>>2];f[A+8>>2]=f[z+8>>2];break}if(i>>>0>k>>>0){SBb(z,499708,k+1|0,i+-1-k|0,499708);if((b[t>>0]|0)<0){b[f[A>>2]>>0]=0;f[v>>2]=0}else{b[A>>0]=0;b[t>>0]=0}YBb(A,0);f[A>>2]=f[z>>2];f[A+4>>2]=f[z+4>>2];f[A+8>>2]=f[z+8>>2]}}while(0);m=b[t>>0]|0;k=m<<24>>24<0;i=f[v>>2]|0;l=m&255;n=k?i:l;d:do if(n){l=k?f[A>>2]|0:A;k=l+n|0;i=l;while(1){if((b[i>>0]|0)!=32){x=127;break}i=i+1|0;if((i|0)==(k|0)){x=128;break}}e:do if((x|0)==127){x=0;i=i-l|0;switch(i|0){case -1:{x=128;break e}case 0:break e;default:{}}hCb(A,0,i)|0}while(0);if((x|0)==128)ZBb(A,505031)|0;k=b[t>>0]|0;i=k<<24>>24<0;n=f[v>>2]|0;l=k&255;m=i?f[A>>2]|0:A;i=i?n:l;if(i){i=m+i|0;while(1){i=i+-1|0;if((b[i>>0]|0)!=32)break;if((i|0)==(m|0)){i=n;break d}}i=i-m|0;if((i|0)!=-1){hCb(A,i+1|0,-1)|0;k=b[t>>0]|0;l=k&255;i=f[v>>2]|0}else i=n}else i=n}else k=m;while(0);r=k<<24>>24<0;o=r?i:l;if(!o){i=g;e=1;g=0}else{i=b[w>>0]|0;if(i<<24>>24<0){l=f[y>>2]|0;k=f[s>>2]|0}else{l=y;k=i&255}m=r?f[A>>2]|0:A;p=l+k|0;i=p;q=l;f:do if((k|0)<(o|0))k=p;else{n=h[m>>0]|0;while(1){k=k-o+1|0;if(!k){k=p;break f}l=Ymb(l,n,k)|0;if(!l){k=p;break f}if(!(anb(l,m,o)|0))break;l=l+1|0;k=i-l|0;if((k|0)<(o|0)){k=p;break f}}k=l;i=l}while(0);x=(k|0)==(p|0)|(i-q|0)==-1;i=g+(x&1)|0;e=x?e:1;g=x}if(r)GBb(f[A>>2]|0);if((i|0)==-1|g^1)break c;k=b[499719]|0;n=k<<24>>24<0;o=n?f[124927]|0:499708;k=n?f[124928]|0:k&255;n=Rmb(c)|0;if(k>>>0<i>>>0)break;else g=i}}while(0);i=1;g=(e&1)!=0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);e=(f[124868]|0)>3;do if(i)if(g){if(!e)break;z=Nu(Hua(4)|0,428090,18)|0;c=Nu(Nu(z,c,Rmb(c)|0)|0,428125,92)|0;Drb(A,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);z=utb(A,504576)|0;z=cj[f[(f[z>>2]|0)+28>>2]&1023](z,10)|0;vtb(A);ksb(c,z)|0;Krb(c)|0;break}else{if(!e)break;z=Nu(Hua(4)|0,428090,18)|0;c=Nu(Nu(z,c,Rmb(c)|0)|0,428109,15)|0;Drb(A,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);z=utb(A,504576)|0;z=cj[f[(f[z>>2]|0)+28>>2]&1023](z,10)|0;vtb(A);ksb(c,z)|0;Krb(c)|0;break}else if(e){z=Nu(Hua(4)|0,428090,18)|0;c=Nu(Nu(z,c,Rmb(c)|0)|0,428218,19)|0;Drb(A,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);z=utb(A,504576)|0;z=cj[f[(f[z>>2]|0)+28>>2]&1023](z,10)|0;vtb(A);ksb(c,z)|0;Krb(c)|0}while(0);A=i&(g^1);u=B;return A|0}function Qza(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+8|0;e=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;if(((e-c|0)/12|0)>>>0>=b>>>0){do{f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;c=(f[m>>2]|0)+12|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}d=f[a>>2]|0;g=(c-d|0)/12|0;h=g+b|0;if(h>>>0>357913941)DCb(a);k=(e-d|0)/12|0;c=k<<1;c=k>>>0<178956970?(c>>>0<h>>>0?h:c):357913941;do if(c)if(c>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{e=EBb(c*12|0)|0;break}else e=0;while(0);g=e+(g*12|0)|0;d=e+(c*12|0)|0;c=g;while(1){f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;b=b+-1|0;if(!b)break;else c=c+12|0}k=e+(h*12|0)|0;j=f[a>>2]|0;c=f[m>>2]|0;if((c|0)==(j|0)){b=g;e=j;c=j}else{b=g;do{i=b;b=b+-12|0;e=c;c=c+-12|0;f[b>>2]=f[c>>2];g=f[e+-8>>2]|0;f[i+-8>>2]=g;h=e+-4|0;n=f[h>>2]|0;f[i+-4>>2]=n;i=i+-8|0;if(!n)f[b>>2]=i;else{f[g+8>>2]=i;n=e+-8|0;f[c>>2]=n;f[n>>2]=0;f[h>>2]=0}}while((c|0)!=(j|0));e=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=b;f[m>>2]=k;f[l>>2]=d;b=e;if((c|0)!=(b|0))do{n=c;c=c+-12|0;f0(c,f[n+-8>>2]|0)}while((c|0)!=(b|0));if(!e)return;GBb(e);return}function Rza(){var a=0,c=0;if(b[497280]|0)return 499708;if(!(DDb(497280)|0))return 499708;f[124927]=0;f[124928]=0;f[124929]=0;c=sh(428238)|0;if(c|0){a=0;while(1){if(!(b[c+a>>0]|0))break;a=a+1|0;if(a>>>0>=4096){a=4096;break}}VBb(499708,c,a)|0}return 499708}function Sza(a){a=a|0;Uua(a);GBb(a);return}function Tza(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;k=u;u=u+16|0;h=k;i=a+60|0;j=a+64|0;c=f[j>>2]|0;e=f[i>>2]|0;g=c-e>>2;do if(g>>>0<=b>>>0){d=b+1|0;if(d>>>0>g>>>0){oxa(i,d-g|0);break}if(d>>>0<g>>>0){e=e+(d<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(l=d+8|0,g=f[l>>2]|0,f[l>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[j>>2]=e}}while(0);l=f[i>>2]|0;c=l;if(!(f[l+(b<<2)>>2]|0)){Wza(h,Vza(Uza(b)|0)|0,a);c=f[j>>2]|0;d=f[i>>2]|0;e=c-d>>2;do if(e>>>0<=b>>>0){g=b+1|0;if(g>>>0>e>>>0){oxa(i,g-e|0);break}if(g>>>0<e>>>0){e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(a=d+8|0,l=f[a>>2]|0,f[a>>2]=l-1,(l|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[j>>2]=e}}while(0);d=(f[i>>2]|0)+(b<<2)|0;c=f[d>>2]|0;e=f[h>>2]|0;if((c|0)!=(e|0)){f[d>>2]=e;if(e|0){l=e+8|0;f[l>>2]=(f[l>>2]|0)+1}if(c|0?(a=c+8|0,l=f[a>>2]|0,f[a>>2]=l-1,(l|0)==1):0)Rua(c,1,1);c=f[h>>2]|0}if(c|0?(h=c+8|0,l=f[h>>2]|0,f[h>>2]=l-1,(l|0)==1):0)Rua(c,1,1);d=f[i>>2]|0}else d=c;c=f[j>>2]|0;e=c-d>>2;if(e>>>0>b>>>0){l=f[i>>2]|0;l=l+(b<<2)|0;l=f[l>>2]|0;u=k;return l|0}g=b+1|0;if(g>>>0>e>>>0){oxa(i,g-e|0);l=f[i>>2]|0;l=l+(b<<2)|0;l=f[l>>2]|0;u=k;return l|0}if(g>>>0>=e>>>0){l=f[i>>2]|0;l=l+(b<<2)|0;l=f[l>>2]|0;u=k;return l|0}e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(h=d+8|0,l=f[h>>2]|0,f[h>>2]=l-1,(l|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[j>>2]=e;l=f[i>>2]|0;l=l+(b<<2)|0;l=f[l>>2]|0;u=k;return l|0}function Uza(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=f[124931]|0;do if(c){e=499724;while(1){d=f[c+16>>2]|0;if(d>>>0>a>>>0){d=f[c>>2]|0;if(!d){d=5;break}}else{if(d>>>0>=a>>>0){d=9;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=8;break}else c=e}e=c;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=499724;e=499724}while(0);c=f[e>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=a;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=g;f[e>>2]=c;d=f[f[124930]>>2]|0;if(!d)d=c;else{f[124930]=d;d=f[e>>2]|0}Xo(f[124931]|0,d);f[124932]=(f[124932]|0)+1}h=c+20|0;if(f[h>>2]|0){j=f[h>>2]|0;u=k;return j|0}i=EBb(48)|0;c=EBb(16)|0;f[j>>2]=c;f[j+8>>2]=-2147483632;f[j+4>>2]=11;d=c;e=428703;g=d+11|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+11>>0]=0;dAa(i,j,a);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);f[i>>2]=340304;f[i+28>>2]=0;f[i+32>>2]=0;c=i+40|0;f[c>>2]=0;f[i+44>>2]=0;f[i+36>>2]=c;c=f[h>>2]|0;if((c|0)==(i|0)){j=f[h>>2]|0;u=k;return j|0}f[h>>2]=i;j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;if(!c){j=f[h>>2]|0;u=k;return j|0}a=c+8|0;j=f[a>>2]|0;f[a>>2]=j-1;if((j|0)!=1){j=f[h>>2]|0;u=k;return j|0}Rua(c,1,1);j=f[h>>2]|0;u=k;return j|0}function Vza(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+36|0;c=a+40|0;b=f[c>>2]|0;do if(b){d=a+40|0;while(1){c=f[b+16>>2]|0;if(c>>>0>295376>>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=295376>>>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=c;d=c}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=295376;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+40>>2]|0,c);g=a+44|0;f[g>>2]=(f[g>>2]|0)+1}c=b+20|0;if(f[c>>2]|0){a=f[c>>2]|0;return a|0}d=EBb(112)|0;cAa(d,f[a+24>>2]|0);b=f[c>>2]|0;if((b|0)==(d|0)){a=f[c>>2]|0;return a|0}f[c>>2]=d;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!b){a=f[c>>2]|0;return a|0}g=b+8|0;a=f[g>>2]|0;f[g>>2]=a-1;if((a|0)!=1){a=f[c>>2]|0;return a|0}Rua(b,1,1);a=f[c>>2]|0;return a|0}function Wza(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.0,o=0.0;j=u;u=u+16|0;e=j;i=c+88|0;if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,e|0)|0;h=f[e>>2]|0;h=LDb(h|0,((h|0)<0)<<31>>31|0,1e6,0)|0;g=H;k=f[e+4>>2]|0;k=QDb(k|0,((k|0)<0)<<31>>31|0,1e3,0)|0;g=MDb(k|0,H|0,h|0,g|0)|0;h=497264;f[h>>2]=g;f[h+4>>2]=H}Nb(1,e|0)|0;h=f[e>>2]|0;h=LDb(h|0,((h|0)<0)<<31>>31|0,1e6,0)|0;g=H;l=f[e+4>>2]|0;l=QDb(l|0,((l|0)<0)<<31>>31|0,1e3,0)|0;g=MDb(l|0,H|0,h|0,g|0)|0;h=H;l=c+80|0;f[l>>2]=(f[l>>2]|0)+1;l=Xza(d)|0;k=f[d+40>>2]|0;m=f[d+36>>2]|0;f[e>>2]=f[d+32>>2];f[e+4>>2]=m;f[e+8>>2]=l>>>0>k>>>0?l:k;Zza(a,Yza(c,e)|0,d);Nb(1,e|0)|0;c=f[e>>2]|0;c=LDb(c|0,((c|0)<0)<<31>>31|0,1e6,0)|0;a=H;k=f[e+4>>2]|0;k=QDb(k|0,((k|0)<0)<<31>>31|0,1e3,0)|0;a=MDb(k|0,H|0,c|0,a|0)|0;c=H;if(c>>>0>h>>>0|(c|0)==(h|0)&a>>>0>g>>>0){m=NDb(a|0,c|0,g|0,h|0)|0;o=+p[62159]*(+(m>>>0)+4294967296.0*+(H>>>0));n=+p[i>>3];n=o+n;p[i>>3]=n;u=j;return}else{m=NDb(g|0,h|0,a|0,c|0)|0;n=-(+p[62159]*(+(m>>>0)+4294967296.0*+(H>>>0)));o=+p[i>>3];o=n+o;p[i>>3]=o;u=j;return}}function Xza(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;g=i;d=f[a+48>>2]|0;h=a+52|0;if((d|0)==(f[h>>2]|0)){h=0;u=i;return h|0}c=0;do{e=f[d>>2]|0;if(!e){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){j=Nu(jsb(Nu(Hua(3)|0,428592,14)|0,a)|0,428607,1)|0;e=_i[f[(f[a>>2]|0)+28>>2]&2047](a)|0;e=Nu(Nu(j,e,Rmb(e)|0)|0,428609,68)|0;Drb(g,e+(f[(f[e>>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(e,j)|0;Krb(e)|0}}else{c=(_i[f[(f[e>>2]|0)+168>>2]&2047](e)|0)+c|0;if(c&3)c=c+4&-4}d=d+4|0}while((d|0)!=(f[h>>2]|0));u=i;return c|0}function Yza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+32|0;e=g+8|0;h=g;f[h>>2]=b;aAa(e,a+44|0,b,505019,h,g+16|0);e=(f[e>>2]|0)+28|0;if((((f[e>>2]|0)==0?(c=EBb(80)|0,bAa(c,a,b),d=f[e>>2]|0,(d|0)!=(c|0)):0)?(f[e>>2]=c,h=c+8|0,f[h>>2]=(f[h>>2]|0)+1,d|0):0)?(c=d+8|0,h=f[c>>2]|0,f[c>>2]=h-1,(h|0)==1):0)Rua(d,1,1);u=g;return f[e>>2]|0}function Zza(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;t=u;u=u+16|0;l=t;o=c+12|0;_i[f[(f[o>>2]|0)+8>>2]&2047](o)|0;if(f[c+68>>2]|0){dza(c);_za(a,c,d);_i[f[(f[o>>2]|0)+12>>2]&2047](o)|0;u=t;return}_i[f[(f[o>>2]|0)+12>>2]&2047](o)|0;if(f[c+56>>2]|0){_za(a,c,d);u=t;return}s=c+24|0;e=f[s>>2]|0;g=f[e+56>>2]|0;h=f[e+40>>2]|0;if((((h|0?(n=c+40|0,((f[e+36>>2]|0)+(f[n>>2]|0)|0)>>>0>h>>>0):0)?(m=c+44|0,(f[m>>2]|0)>>>0>1):0)?(i=c+72|0,j=f[i>>2]|0,j|0):0)?(f[j+68>>2]|0)>>>0<g>>>0:0){_i[f[(f[o>>2]|0)+8>>2]&2047](o)|0;j=f[i>>2]|0;f[a>>2]=j;j=j+8|0;f[j>>2]=(f[j>>2]|0)+1;j=f[(f[a>>2]|0)+52>>2]|0;k=(j|0)==0;if(k){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){s=Nu(Hua(4)|0,428373,50)|0;s=jsb(s,f[a>>2]|0)|0;Drb(l,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(l,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(l);ksb(s,r)|0;Krb(s)|0}}else{s=j+8|0;f[s>>2]=(f[s>>2]|0)+1;bza(j,f[c+28>>2]|0,0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){s=Nu(jsb(Nu(Hua(4)|0,428287,18)|0,c)|0,428306,35)|0;s=Nu(jsb(s,f[a>>2]|0)|0,428342,23)|0;s=Nu(csb(s,f[m>>2]|0)|0,428366,6)|0;s=csb(s,f[n>>2]|0)|0;Drb(l,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(l,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(l);ksb(s,r)|0;Krb(s)|0}}i=f[a>>2]|0;$za(c,i);f[i+52>>2]=d;if(!d){h=i+20|0;f[h>>2]=0;e=i+24|0;f[e>>2]=0;g=i+28|0;f[g>>2]=0}else{h=i+20|0;f[h>>2]=f[d+32>>2];e=i+24|0;f[e>>2]=f[d+36>>2];g=i+28|0;f[g>>2]=f[d+40>>2];b[i+36>>0]=1}f[i+44>>2]=f[i+40>>2];f[h>>2]=f[c+32>>2];f[e>>2]=f[c+36>>2];f[g>>2]=f[n>>2];if(!k?(a=j+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(j,1,1);_i[f[(f[o>>2]|0)+12>>2]&2047](o)|0;u=t;return}q=EBb(76)|0;e=f[c+28>>2]|0;f[q+4>>2]=0;r=q+8|0;f[r>>2]=0;f[q>>2]=339600;f[q+12>>2]=e;g=q+16|0;h=q+20|0;i=q+24|0;j=q+28|0;k=q+36|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;b[k>>0]=1;l=q+44|0;m=q+52|0;n=q+72|0;o=q+40|0;p=o+36|0;do{f[o>>2]=0;o=o+4|0}while((o|0)<(p|0));f[m>>2]=d;if(!d){f[h>>2]=0;f[i>>2]=0;f[j>>2]=0}else{f[h>>2]=f[d+32>>2];f[i>>2]=f[d+36>>2];f[j>>2]=f[d+40>>2];b[k>>0]=1}f[l>>2]=0;d=Lza(e,1)|0;f[n>>2]=d;Bj[f[d+720>>2]&1023](1,g);f[h>>2]=f[c+32>>2];f[i>>2]=f[c+36>>2];d=f[c+40>>2]|0;f[j>>2]=d;f[q+56>>2]=c;e=c+44|0;f[e>>2]=(f[e>>2]|0)+1;e=f[s>>2]|0;g=e+36|0;f[g>>2]=(f[g>>2]|0)+d;g=e+28|0;f[g>>2]=(f[g>>2]|0)+1;g=q+60|0;if((f[g>>2]|0)==0?(f[q+64>>2]|0)==0:0){f[q+68>>2]=f[e+56>>2];h=c+76|0;e=f[h>>2]|0;if(e|0)f[e+64>>2]=q;f[g>>2]=e;e=c+72|0;if(!(f[e>>2]|0))f[e>>2]=q;f[h>>2]=q}else $za(c,q);f[a>>2]=q;f[r>>2]=(f[r>>2]|0)+1;u=t;return}function _za(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=c+52|0;e=f[g>>2]|0;h=f[e+8>>2]|0;f[a>>2]=h;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0}g=e+4|0;h=f[e>>2]|0;f[h+4>>2]=f[g>>2];f[f[g>>2]>>2]=h;g=c+56|0;f[g>>2]=(f[g>>2]|0)+-1;g=f[e+8>>2]|0;if(g|0?(i=g+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(g,1,1);GBb(e);a=f[a>>2]|0;f[a+52>>2]=d;if(!d){h=a+20|0;f[h>>2]=0;e=a+24|0;f[e>>2]=0;g=a+28|0;f[g>>2]=0}else{h=a+20|0;f[h>>2]=f[d+32>>2];e=a+24|0;f[e>>2]=f[d+36>>2];g=a+28|0;f[g>>2]=f[d+40>>2];b[a+36>>0]=1}f[a+44>>2]=f[a+40>>2];f[h>>2]=f[c+32>>2];f[e>>2]=f[c+36>>2];f[g>>2]=f[c+40>>2];e=f[c+24>>2]|0;g=e+32|0;f[g>>2]=(f[g>>2]|0)+-1;g=e+28|0;f[g>>2]=(f[g>>2]|0)+1;g=a+60|0;if((f[g>>2]|0)==0?(f[a+64>>2]|0)==0:0){f[a+68>>2]=f[e+56>>2];h=c+76|0;e=f[h>>2]|0;if(e|0)f[e+64>>2]=a;f[g>>2]=e;e=c+72|0;if(!(f[e>>2]|0))f[e>>2]=a;f[h>>2]=a;return}$za(c,a);return}function $za(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;m=u;u=u+16|0;d=m;f[c+68>>2]=f[(f[a+24>>2]|0)+56>>2];k=a+76|0;l=f[k>>2]|0;i=l;if((l|0)==(c|0)){u=m;return}if(!l){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=Nu(Hua(3)|0,428424,53)|0;Drb(d,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(d,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(d);ksb(l,j)|0;Krb(l)|0}f[a+72>>2]=c;f[k>>2]=c;u=m;return}j=c+64|0;e=f[j>>2]|0;if(e|0){g=c+60|0;h=f[g>>2]|0;if(!h){f[a+72>>2]=e;d=e}else{f[h+64>>2]=e;d=f[j>>2]|0}f[d+60>>2]=h;f[l+64>>2]=c;f[g>>2]=i;f[j>>2]=0;f[k>>2]=c;u=m;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=m;return}l=Nu(Hua(3)|0,428478,60)|0;Drb(d,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(d,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(d);ksb(l,k)|0;Krb(l)|0;u=m;return}function aAa(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;e=c+4|0;h=f[e>>2]|0;do if(h){j=f[d>>2]|0;k=f[d+4>>2]|0;i=f[d+8>>2]|0;d=c+4|0;e=h;a:while(1){h=f[e+16>>2]|0;do if(j>>>0>=h>>>0){if(j>>>0<=h>>>0){h=f[e+20>>2]|0;if(k>>>0<h>>>0){l=8;break}if(k>>>0<=h>>>0){h=f[e+24>>2]|0;if(i>>>0<h>>>0){l=8;break}if(h>>>0>=i>>>0){l=13;break a}}}d=e+4|0;h=f[d>>2]|0;if(!h){l=12;break a}else e=h}else l=8;while(0);if((l|0)==8){l=0;h=f[e>>2]|0;if(!h){l=9;break}else{d=e;e=h}}}if((l|0)==9){i=e;d=e;break}else if((l|0)==12){i=e;break}else if((l|0)==13){i=e;break}}else{i=e;d=e}while(0);e=f[d>>2]|0;if(e|0){c=e;g=0;f[a>>2]=c;c=a+4|0;b[c>>0]=g;return}h=EBb(32)|0;e=f[g>>2]|0;f[h+16>>2]=f[e>>2];f[h+20>>2]=f[e+4>>2];f[h+24>>2]=f[e+8>>2];f[h+28>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=i;f[d>>2]=h;e=f[f[c>>2]>>2]|0;if(!e)e=h;else{f[c>>2]=e;e=f[d>>2]|0}Xo(f[c+4>>2]|0,e);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=h;g=1;f[a>>2]=c;c=a+4|0;b[c>>0]=g;return}function bAa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=339620;t4a(a+12|0,0);f[a+24>>2]=c;f[a+28>>2]=f[c+24>>2];f[a+32>>2]=f[d>>2];f[a+36>>2]=f[d+4>>2];c=a+40|0;f[c>>2]=f[d+8>>2];f[a+44>>2]=0;d=a+48|0;f[d>>2]=d;f[a+52>>2]=d;f[a+56>>2]=0;d=a+60|0;f[d>>2]=d;f[a+64>>2]=d;f[a+68>>2]=0;f[a+72>>2]=0;f[a+76>>2]=0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=g;return}d=Nu(Hua(4)|0,428539,52)|0;d=csb(d,f[c>>2]|0)|0;Drb(e,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);a=utb(e,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(e);ksb(d,a)|0;Krb(d)|0;u=g;return}function cAa(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;d=h;e=EBb(32)|0;f[d>>2]=e;f[d+8>>2]=-2147483616;f[d+4>>2]=21;g=e;i=428678;j=g+21|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+21>>0]=0;dAa(a,d,c);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[a>>2]=339640;j=a+28|0;f[a+48>>2]=0;f[a+52>>2]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[a+44>>2]=a+48;f[a+56>>2]=0;f[a+60>>2]=0;f[a+64>>2]=0;p[a+72>>3]=0.0;f[a+80>>2]=0;p[a+88>>3]=0.0;f[a+96>>2]=0;p[a+104>>3]=0.0;u=h;return}function dAa(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;h=u;u=u+16|0;e=h;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=339692;g=a+12|0;OBb(g,c);f[a+24>>2]=d;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=h;return}k=Hua(4)|0;d=g+11|0;j=b[d>>0]|0;i=j<<24>>24<0;c=a+16|0;j=Nu(Nu(k,i?f[g>>2]|0:g,i?f[c>>2]|0:j&255)|0,428700,2)|0;d=b[d>>0]|0;i=d<<24>>24<0;g=jsb(Nu(Nu(j,i?f[g>>2]|0:g,i?f[c>>2]|0:d&255)|0,413972,2)|0,a)|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 eAa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=340304;oAa(a+36|0,f[a+40>>2]|0);b=a+32|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;iza(a);return}function fAa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=340304;oAa(a+36|0,f[a+40>>2]|0);b=a+32|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;iza(a);GBb(a);return}function gAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+36>>2]|0;e=a+40|0;if((c|0)==(e|0))return;d=c;while(1){a=f[d+20>>2]|0;if(a|0?(g=WCb(a,295048,295392,0)|0,g|0):0)Bj[f[(f[g>>2]|0)+12>>2]&1023](g,b);a=f[d+4>>2]|0;if(!a){c=d+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(d|0))do{d=f[c>>2]|0;c=d+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(d|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(e|0))break;else d=a}return}function hAa(a){a=a|0;var b=0,c=0,d=0,e=0;b=f[a+36>>2]|0;d=a+40|0;if((b|0)==(d|0))return;while(1){a=f[b+20>>2]|0;if(a|0?(e=WCb(a,295048,295392,0)|0,e|0):0)tj[f[(f[e>>2]|0)+16>>2]&2047](e);a=f[b+4>>2]|0;if(!a){c=b+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(b|0)){b=c;do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else b=a}return}function iAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+36>>2]|0;e=a+40|0;if((c|0)==(e|0))return;d=c;while(1){a=f[d+20>>2]|0;if(a|0?(g=WCb(a,295048,295392,0)|0,g|0):0)Bj[f[(f[g>>2]|0)+20>>2]&1023](g,b);a=f[d+4>>2]|0;if(!a){c=d+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(d|0))do{d=f[c>>2]|0;c=d+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(d|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(e|0))break;else d=a}return}function jAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+36>>2]|0;e=a+40|0;if((c|0)==(e|0))return;d=c;while(1){a=f[d+20>>2]|0;if(a|0?(g=WCb(a,295048,295392,0)|0,g|0):0)Bj[f[(f[g>>2]|0)+24>>2]&1023](g,b);a=f[d+4>>2]|0;if(!a){c=d+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(d|0))do{d=f[c>>2]|0;c=d+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(d|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(e|0))break;else d=a}return}function kAa(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,g=0,h=0;d=f[a+36>>2]|0;g=a+40|0;if((d|0)==(g|0))return;e=d;while(1){a=f[e+20>>2]|0;if(a|0?(h=WCb(a,295048,295392,0)|0,h|0):0)Aj[f[(f[h>>2]|0)+28>>2]&7](h,b,c);a=f[e+4>>2]|0;if(!a){d=e+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(e|0))do{e=f[d>>2]|0;d=e+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(e|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(g|0))break;else e=a}return}function lAa(a){a=a|0;var b=0,c=0,d=0,e=0;b=f[a+36>>2]|0;d=a+40|0;if((b|0)==(d|0))return;while(1){a=f[b+20>>2]|0;if(a|0?(e=WCb(a,295048,295392,0)|0,e|0):0)tj[f[(f[e>>2]|0)+32>>2]&2047](e);a=f[b+4>>2]|0;if(!a){c=b+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(b|0)){b=c;do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else b=a}return}function mAa(a){a=a|0;var b=0,c=0,d=0,e=0;b=f[a+36>>2]|0;d=a+40|0;if((b|0)==(d|0))return;while(1){a=f[b+20>>2]|0;if(a|0?(e=WCb(a,295048,295392,0)|0,e|0):0)tj[f[(f[e>>2]|0)+36>>2]&2047](e);a=f[b+4>>2]|0;if(!a){c=b+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(b|0)){b=c;do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else b=a}return}function nAa(a){a=a|0;var b=0,c=0,d=0,e=0;b=f[a+36>>2]|0;d=a+40|0;if((b|0)==(d|0))return;while(1){a=f[b+20>>2]|0;if(a|0?(e=WCb(a,295048,295392,0)|0,e|0):0)tj[f[(f[e>>2]|0)+40>>2]&2047](e);a=f[b+4>>2]|0;if(!a){c=b+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(b|0)){b=c;do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else b=a}return}function oAa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;oAa(a,f[b>>2]|0);oAa(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function pAa(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;f[a>>2]=340356;k=a+144|0;f[k>>2]=340664;VBa(a,0);j=a+624|0;b=f[j>>2]|0;if(b|0)WBa(b,a);b=a+648|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,l=d+8|0,c=f[l>>2]|0,f[l>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+644|0;c=f[b>>2]|0;if(c|0?(e=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,d=e+8|0,l=f[d>>2]|0,f[d>>2]=l-1,(l|0)==1):0)Rua(e,1,1);f[b>>2]=0;b=a+640|0;c=f[b>>2]|0;if(c|0?(g=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=g+8|0,l=f[e>>2]|0,f[e>>2]=l-1,(l|0)==1):0)Rua(g,1,1);f[b>>2]=0;b=a+636|0;c=f[b>>2]|0;if(c|0?(h=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,g=h+8|0,l=f[g>>2]|0,f[g>>2]=l-1,(l|0)==1):0)Rua(h,1,1);f[b>>2]=0;b=a+632|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,l=f[h>>2]|0,f[h>>2]=l-1,(l|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+628|0;c=f[b>>2]|0;if(c|0?(i=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,h=i+8|0,l=f[h>>2]|0,f[h>>2]=l-1,(l|0)==1):0)Rua(i,1,1);f[b>>2]=0;b=f[j>>2]|0;if(b|0?(i=b+8|0,l=f[i>>2]|0,f[i>>2]=l-1,(l|0)==1):0)Rua(b,1,1);f[j>>2]=0;b=a+620|0;c=f[b>>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[b>>2]=0;iv(a+608|0,f[a+612>>2]|0);VAa(a+584|0,f[a+588>>2]|0);b=a+288|0;c=f[b>>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[b>>2]=0;b=a+284|0;c=f[b>>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[b>>2]=0;b=a+232|0;c=f[b>>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[b>>2]=0;b=a+224|0;c=f[b>>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[b>>2]=0;R3a(a+208|0);f[k>>2]=340996;b=a+172|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Xxa(a);return}k=c+8|0;l=f[k>>2]|0;f[k>>2]=l-1;if((l|0)!=1){f[b>>2]=0;Xxa(a);return}Rua(c,1,1);f[b>>2]=0;Xxa(a);return}function qAa(a){a=a|0;pAa(a);GBb(a);return}function rAa(a){a=a|0;a=EBb(656)|0;hBa(a);return a|0}function sAa(a,b){a=a|0;b=b|0;var c=0;c=EBb(656)|0;SAa(c,a,b);return c|0}function tAa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295472,0)|0)!=0;return b|0}function uAa(a){a=a|0;return 409756}function vAa(a){a=a|0;return 428756}function wAa(a){a=a|0;return a|0}function xAa(a){a=a|0;return a|0}function yAa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+632>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b);c=f[a+120>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+100>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b)}c=f[a+124>>2]|0;a=a+128|0;if((c|0)==(f[a>>2]|0))return;do{d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+156>>2]&1023](d,b);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function zAa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+632>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+120>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+84>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+92>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+100>>2]|0;if(c|0){c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b)}c=f[a+124>>2]|0;a=a+128|0;if((c|0)==(f[a>>2]|0))return;do{d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+160>>2]&1023](d,b);c=c+4|0}while((c|0)!=(f[a>>2]|0));return}function AAa(a){a=a|0;return a|0}function BAa(a){a=a|0;return a|0}function CAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+152>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function DAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.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.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0.0,R=0.0,S=0.0;g=u;u=u+128|0;c=g;Cya(a,b);d=a+12|0;e=+n[d>>2];if(!(e>=0.0)){u=g;return}f3a(c);dj[f[(f[b>>2]|0)+288>>2]&255](b,c,0)|0;q=+n[a>>2];P=a+4|0;E=+n[P>>2];b=a+8|0;l=+n[b>>2];h=+p[c+24>>3];L=e+q;j=+p[c+56>>3];o=E;s=j*o;k=+p[c+88>>3];D=l;G=k*D;S=+p[c+120>>3];N=1.0/(S+(h*L+s+G));J=+p[c>>3];I=+p[c+32>>3];z=I*o;y=+p[c+64>>3];C=y*D;B=+p[c+96>>3];O=+p[c+8>>3];H=+p[c+40>>3];v=H*o;t=+p[c+72>>3];i=t*D;x=+p[c+104>>3];M=+p[c+16>>3];F=+p[c+48>>3];o=F*o;m=+p[c+80>>3];D=m*D;r=+p[c+112>>3];R=h*q;E=e+E;G=1.0/(S+(R+j*E+G));A=J*q;w=O*q;q=M*q;l=e+l;s=1.0/(S+(R+s+k*l));R=+n[a>>2];Q=+n[P>>2];e=+n[b>>2];k=1.0/(S+(h*R+j*Q+k*e));j=(B+(J*R+I*Q+y*e))*k;h=(x+(O*R+H*Q+t*e))*k;k=(r+(M*R+F*Q+m*e))*k;n[a>>2]=j;n[P>>2]=h;n[b>>2]=k;J=N*(B+(J*L+z+C))-j;e=N*(x+(O*L+v+i))-h;L=N*(r+(M*L+o+D))-k;e=L*L+(J*J+e*e);C=G*(B+(A+I*E+C))-j;i=G*(x+(w+H*E+i))-h;D=G*(r+(q+F*E+D))-k;i=D*D+(C*C+i*i);j=s*(B+(A+z+y*l))-j;h=s*(x+(w+v+t*l))-h;k=s*(r+(q+o+m*l))-k;h=k*k+(j*j+h*h);e=e<i?i:e;e=+K(+(e<h?h:e));n[d>>2]=e;u=g;return}function EAa(a){a=a|0;return 0}function FAa(a){a=a|0;return 0}function GAa(a){a=a|0;return 0}function HAa(a){a=a|0;return 0}function IAa(a){a=a|0;return 0}function JAa(a){a=a|0;return 0}function KAa(a,b,c){a=a|0;b=b|0;c=c|0;if(f[a+136>>2]|0){c=a+432|0;if((c|0)==(b|0))return 1;p[b>>3]=+p[c>>3];p[b+8>>3]=+p[a+440>>3];p[b+16>>3]=+p[a+448>>3];p[b+24>>3]=+p[a+456>>3];p[b+32>>3]=+p[a+464>>3];p[b+40>>3]=+p[a+472>>3];p[b+48>>3]=+p[a+480>>3];p[b+56>>3]=+p[a+488>>3];p[b+64>>3]=+p[a+496>>3];p[b+72>>3]=+p[a+504>>3];p[b+80>>3]=+p[a+512>>3];p[b+88>>3]=+p[a+520>>3];p[b+96>>3]=+p[a+528>>3];p[b+104>>3]=+p[a+536>>3];p[b+112>>3]=+p[a+544>>3];p[b+120>>3]=+p[a+552>>3];return 1}c=a+432|0;if(!(f[a+292>>2]|0)){n3a(b,c);return 1}else{m3a(b,c);return 1}return 0}function LAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=u;u=u+128|0;c=e;f3a(c);d=a+432|0;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(c,d)|0;else p3a(c,d)|0;if(f[a+136>>2]|0){if((c|0)==(b|0)){u=e;return 1}p[b>>3]=+p[c>>3];p[b+8>>3]=+p[c+8>>3];p[b+16>>3]=+p[c+16>>3];p[b+24>>3]=+p[c+24>>3];p[b+32>>3]=+p[c+32>>3];p[b+40>>3]=+p[c+40>>3];p[b+48>>3]=+p[c+48>>3];p[b+56>>3]=+p[c+56>>3];p[b+64>>3]=+p[c+64>>3];p[b+72>>3]=+p[c+72>>3];p[b+80>>3]=+p[c+80>>3];p[b+88>>3]=+p[c+88>>3];p[b+96>>3]=+p[c+96>>3];p[b+104>>3]=+p[c+104>>3];p[b+112>>3]=+p[c+112>>3];p[b+120>>3]=+p[c+120>>3];u=e;return 1}if(!(f[a+292>>2]|0)){m3a(b,c);u=e;return 1}else{n3a(b,c);u=e;return 1}return 0}function MAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;RAa(a+144|0,b,c);b=WCb(b,295504,295472,144)|0;if(!b)return;if(c&8192|0){e=b+240|0;d=a+240|0;f[d>>2]=f[e>>2];f[d+4>>2]=f[e+4>>2];f[d+8>>2]=f[e+8>>2];f[d+12>>2]=f[e+12>>2]}if(c&16384|0)f[a+236>>2]=f[b+236>>2];if(c&131072|0)f[a+568>>2]=f[b+568>>2];if(!(c&262144))return;f[a+572>>2]=f[b+572>>2];return}function NAa(a){a=a|0;pAa(a+-144|0);return}function OAa(a){a=a|0;a=a+-144|0;pAa(a);GBb(a);return}function PAa(a){a=a|0;f[a+4>>2]=2147483647;f[a+8>>2]=0;f[a+16>>2]=57;n[a+20>>2]=1.0;n[a+24>>2]=2.0;f[a+12>>2]=1;p[a+32>>3]=.0005;b[a+40>>0]=1;b[a+41>>0]=0;n[a+44>>2]=4.0;f[a+48>>2]=10;f[a+52>>2]=-1;f[a+56>>2]=-1;f[a+60>>2]=-1;return}function QAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=a+-144|0;RAa(a,b,c);b=WCb(b,295504,295472,144)|0;if(!b)return;if(c&8192|0){g=b+240|0;e=a+96|0;f[e>>2]=f[g>>2];f[e+4>>2]=f[g+4>>2];f[e+8>>2]=f[g+8>>2];f[e+12>>2]=f[g+12>>2]}if(c&16384|0)f[d+236>>2]=f[b+236>>2];if(c&131072|0)f[a+424>>2]=f[b+568>>2];if(!(c&262144))return;f[d+572>>2]=f[b+572>>2];return}function RAa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;if(d&1|0)f[a+12>>2]=f[c+12>>2];if(d&32|0)p[a+32>>3]=+p[c+32>>3];if(d&64|0)b[a+40>>0]=b[c+40>>0]|0;if(d&128|0)b[a+41>>0]=b[c+41>>0]|0;if(d&256|0)f[a+44>>2]=f[c+44>>2];if(d&512|0)f[a+48>>2]=f[c+48>>2];if(d&1024|0)f[a+52>>2]=f[c+52>>2];if(d&2048|0)f[a+56>>2]=f[c+56>>2];if(d&4096|0)f[a+60>>2]=f[c+60>>2];if(d&2|0)f[a+16>>2]=f[c+16>>2];if(d&4|0)f[a+20>>2]=f[c+20>>2];if(d&8|0)f[a+24>>2]=f[c+24>>2];if(!(d&16))return;d=a+28|0;e=f[d>>2]|0;a=f[c+28>>2]|0;if((e|0)==(a|0))return;f[d>>2]=a;if(a|0){c=a+8|0;f[c>>2]=(f[c>>2]|0)+1}if(!e)return;d=e+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1)return;Rua(e,1,1);return}function SAa(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+16|0;k=m+4|0;l=m;Wxa(a,c,d);f[a>>2]=340692;f[a+136>>2]=f[c+136>>2];e=a+144|0;f[e>>2]=340996;g=a+172|0;f[g>>2]=0;f[a+148>>2]=f[c+148>>2];f[a+152>>2]=f[c+152>>2];f[a+156>>2]=f[c+156>>2];f[a+160>>2]=f[c+160>>2];f[a+164>>2]=f[c+164>>2];f[a+168>>2]=f[c+168>>2];d=f[c+172>>2]|0;if(d|0){f[g>>2]=d;j=d+8|0;f[j>>2]=(f[j>>2]|0)+1}p[a+176>>3]=+p[c+176>>3];b[a+184>>0]=b[c+184>>0]|0;b[a+185>>0]=b[c+185>>0]|0;f[a+188>>2]=f[c+188>>2];f[a+192>>2]=f[c+192>>2];f[a+196>>2]=f[c+196>>2];f[a+200>>2]=f[c+200>>2];f[a+204>>2]=f[c+204>>2];f[a>>2]=340356;f[e>>2]=340664;t4a(a+208|0,0);f[a+220>>2]=f[c+220>>2];f[a+224>>2]=0;b[a+228>>0]=b[c+228>>0]|0;d=f[c+232>>2]|0;f[a+232>>2]=d;if(d|0){j=d+8|0;f[j>>2]=(f[j>>2]|0)+1}f[a+236>>2]=f[c+236>>2];d=a+240|0;j=c+240|0;f[d>>2]=f[j>>2];f[d+4>>2]=f[j+4>>2];f[d+8>>2]=f[j+8>>2];f[d+12>>2]=f[j+12>>2];d=a+256|0;j=c+256|0;f[d>>2]=f[j>>2];f[d+4>>2]=f[j+4>>2];f[d+8>>2]=f[j+8>>2];f[d+12>>2]=f[j+12>>2];p[a+272>>3]=+p[c+272>>3];f[a+280>>2]=f[c+280>>2];d=f[c+284>>2]|0;f[a+284>>2]=d;if(d|0){j=d+8|0;f[j>>2]=(f[j>>2]|0)+1}d=f[c+288>>2]|0;f[a+288>>2]=d;if(d|0){j=d+8|0;f[j>>2]=(f[j>>2]|0)+1}f[a+292>>2]=f[c+292>>2];f[a+296>>2]=f[c+296>>2];p[a+304>>3]=+p[c+304>>3];p[a+312>>3]=+p[c+312>>3];p[a+320>>3]=+p[c+320>>3];p[a+328>>3]=+p[c+328>>3];p[a+336>>3]=+p[c+336>>3];p[a+344>>3]=+p[c+344>>3];p[a+352>>3]=+p[c+352>>3];p[a+360>>3]=+p[c+360>>3];p[a+368>>3]=+p[c+368>>3];p[a+376>>3]=+p[c+376>>3];p[a+384>>3]=+p[c+384>>3];p[a+392>>3]=+p[c+392>>3];p[a+400>>3]=+p[c+400>>3];p[a+408>>3]=+p[c+408>>3];p[a+416>>3]=+p[c+416>>3];p[a+424>>3]=+p[c+424>>3];p[a+432>>3]=+p[c+432>>3];p[a+440>>3]=+p[c+440>>3];p[a+448>>3]=+p[c+448>>3];p[a+456>>3]=+p[c+456>>3];p[a+464>>3]=+p[c+464>>3];p[a+472>>3]=+p[c+472>>3];p[a+480>>3]=+p[c+480>>3];p[a+488>>3]=+p[c+488>>3];p[a+496>>3]=+p[c+496>>3];p[a+504>>3]=+p[c+504>>3];p[a+512>>3]=+p[c+512>>3];p[a+520>>3]=+p[c+520>>3];p[a+528>>3]=+p[c+528>>3];p[a+536>>3]=+p[c+536>>3];p[a+544>>3]=+p[c+544>>3];p[a+552>>3]=+p[c+552>>3];f[a+560>>2]=f[c+560>>2];f[a+564>>2]=f[c+564>>2];f[a+568>>2]=f[c+568>>2];f[a+572>>2]=f[c+572>>2];f[a+576>>2]=f[c+576>>2];f[a+580>>2]=f[c+580>>2];i=a+584|0;f[a+588>>2]=0;f[a+592>>2]=0;d=a+588|0;f[i>>2]=d;e=f[c+584>>2]|0;j=c+588|0;if((e|0)!=(j|0)){h=d;while(1){d=e+16|0;f[l>>2]=h;f[k>>2]=f[l>>2];TAa(i,k,d,d)|0;d=f[e+4>>2]|0;if(!d){g=e+8|0;d=f[g>>2]|0;if((f[d>>2]|0)!=(e|0)){e=g;do{g=f[e>>2]|0;e=g+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(g|0))}}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(j|0))break;else e=d}}f[a+596>>2]=f[c+596>>2];f[a+600>>2]=f[c+600>>2];f[a+604>>2]=f[c+604>>2];UAa(a+608|0,c+608|0);d=a+620|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;d=f[c+636>>2]|0;f[a+636>>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}d=f[c+640>>2]|0;f[a+640>>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}d=f[c+644>>2]|0;f[a+644>>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}d=f[c+648>>2]|0;f[a+648>>2]=d;if(!d){u=m;return}a=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;u=m;return}function TAa(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=XAa(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(52)|0;f[c+16>>2]=f[d>>2];f[c+20>>2]=f[d+4>>2];b=f[d+8>>2]|0;f[c+24>>2]=b;if(b|0){i=b+8|0;f[i>>2]=(f[i>>2]|0)+1}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=c+32|0;i=d+16|0;f[b>>2]=f[i>>2];f[b+4>>2]=f[i+4>>2];f[b+8>>2]=f[i+8>>2];f[b+12>>2]=f[i+12>>2];f[b+16>>2]=f[i+16>>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 UAa(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;i=o+12|0;j=o+8|0;k=o+4|0;l=o;m=a+4|0;f[m>>2]=0;n=a+8|0;f[n>>2]=0;c=a+4|0;f[a>>2]=c;d=f[b>>2]|0;h=b+4|0;if((d|0)==(h|0)){u=o;return}g=c;while(1){c=d+16|0;f[l>>2]=g;f[i>>2]=f[l>>2];e=WAa(a,i,j,k,c)|0;if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=f[c>>2];c=f[j>>2]|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=c;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[m>>2]|0,b);f[n>>2]=(f[n>>2]|0)+1}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{e=f[c>>2]|0;c=e+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(e|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(h|0))break;else d=b}u=o;return}function VAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!b)return;VAa(a,f[b>>2]|0);VAa(a,f[b+4>>2]|0);a=b+28|0;c=f[a>>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[a>>2]=0;a=f[b+24>>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);GBb(b);return}function WAa(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)?(j=f[e>>2]|0,g=f[h+16>>2]|0,j>>>0>=g>>>0):0){if(g>>>0>=j>>>0){f[c>>2]=b;f[d>>2]=b;c=d;return c|0}g=f[h+4>>2]|0;if(!g){d=h+8|0;g=f[d>>2]|0;if((f[g>>2]|0)!=(h|0))do{e=f[d>>2]|0;d=e+8|0;g=f[d>>2]|0}while((f[g>>2]|0)!=(e|0))}else while(1){d=f[g>>2]|0;if(!d)break;else g=d}if((g|0)!=(i|0)?j>>>0>=(f[g+16>>2]|0)>>>0:0){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if(j>>>0<g>>>0){g=f[b>>2]|0;if(!g){e=42;break}else{d=b;b=g}}else{if(g>>>0>=j>>>0){e=46;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=45;break}else b=g}}if((e|0)==42){f[c>>2]=b;c=b;return c|0}else if((e|0)==45){f[c>>2]=b;c=d;return c|0}else if((e|0)==46){f[c>>2]=b;c=d;return c|0}}if(!(f[h+4>>2]|0)){f[c>>2]=b;c=h+4|0;return c|0}else{f[c>>2]=g;c=g;return c|0}}d=f[h>>2]|0;if((f[a>>2]|0)!=(h|0)){if(!d){b=h;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0))}else{b=d;while(1){g=f[b+4>>2]|0;if(!g)break;else b=g}}e=f[e>>2]|0;if((f[b+16>>2]|0)>>>0>=e>>>0){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if(e>>>0<g>>>0){g=f[b>>2]|0;if(!g){e=18;break}else{d=b;b=g}}else{if(g>>>0>=e>>>0){e=22;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=21;break}else b=g}}if((e|0)==18){f[c>>2]=b;c=b;return c|0}else if((e|0)==21){f[c>>2]=b;c=d;return c|0}else if((e|0)==22){f[c>>2]=b;c=d;return c|0}}}if(!d){f[c>>2]=h;c=h;return c|0}else{f[c>>2]=b;c=b+4|0;return c|0}return 0}function XAa(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)?(j=f[e>>2]|0,g=f[h+16>>2]|0,(j|0)>=(g|0)):0){if((g|0)>=(j|0)){f[c>>2]=b;f[d>>2]=b;c=d;return c|0}g=f[h+4>>2]|0;if(!g){d=h+8|0;g=f[d>>2]|0;if((f[g>>2]|0)!=(h|0))do{e=f[d>>2]|0;d=e+8|0;g=f[d>>2]|0}while((f[g>>2]|0)!=(e|0))}else while(1){d=f[g>>2]|0;if(!d)break;else g=d}if((g|0)!=(i|0)?(j|0)>=(f[g+16>>2]|0):0){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if((j|0)<(g|0)){g=f[b>>2]|0;if(!g){e=42;break}else{d=b;b=g}}else{if((g|0)>=(j|0)){e=46;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=45;break}else b=g}}if((e|0)==42){f[c>>2]=b;c=b;return c|0}else if((e|0)==45){f[c>>2]=b;c=d;return c|0}else if((e|0)==46){f[c>>2]=b;c=d;return c|0}}if(!(f[h+4>>2]|0)){f[c>>2]=b;c=h+4|0;return c|0}else{f[c>>2]=g;c=g;return c|0}}d=f[h>>2]|0;if((f[a>>2]|0)!=(h|0)){if(!d){b=h;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0))}else{b=d;while(1){g=f[b+4>>2]|0;if(!g)break;else b=g}}e=f[e>>2]|0;if((f[b+16>>2]|0)>=(e|0)){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if((e|0)<(g|0)){g=f[b>>2]|0;if(!g){e=18;break}else{d=b;b=g}}else{if((g|0)>=(e|0)){e=22;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=21;break}else b=g}}if((e|0)==18){f[c>>2]=b;c=b;return c|0}else if((e|0)==21){f[c>>2]=b;c=d;return c|0}else if((e|0)==22){f[c>>2]=b;c=d;return c|0}}}if(!d){f[c>>2]=h;c=h;return c|0}else{f[c>>2]=b;c=b+4|0;return c|0}return 0}function YAa(a){a=a|0;var b=0,c=0,d=0;f[a>>2]=340996;a=a+28|0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}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 ZAa(a){a=a|0;var b=0,c=0,d=0;f[a>>2]=340996;b=f[a+28>>2]|0;if(!b){GBb(a);return}d=b+8|0;c=f[d>>2]|0;f[d>>2]=c-1;if((c|0)!=1){GBb(a);return}Rua(b,1,1);GBb(a);return}function _Aa(a){a=a|0;Xxa(a);GBb(a);return}function $Aa(a){a=a|0;var c=0;a=EBb(140)|0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;f[a>>2]=340692;f[a+136>>2]=0;return a|0}function aBa(a,b){a=a|0;b=b|0;var c=0;c=EBb(140)|0;Wxa(c,a,b);f[c>>2]=340692;f[c+136>>2]=f[a+136>>2];return c|0}function bBa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295512,0)|0)!=0;return b|0}function cBa(a){a=a|0;return 409756}function dBa(a){a=a|0;return 428763}function eBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+148>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function fBa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(f[a+136>>2]|0)){c=0;return c|0}f3a(b);c=1;return c|0}function gBa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(f[a+136>>2]|0)){c=0;return c|0}f3a(b);c=1;return c|0}function hBa(a){a=a|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;f[a>>2]=340692;f[a+136>>2]=0;c=a+144|0;f[c>>2]=340996;f[a+172>>2]=0;f[a+148>>2]=2147483647;f[a+152>>2]=0;f[a+160>>2]=57;n[a+164>>2]=1.0;n[a+168>>2]=2.0;f[a+156>>2]=1;p[a+176>>3]=.0005;b[a+184>>0]=1;b[a+185>>0]=0;n[a+188>>2]=4.0;f[a+192>>2]=10;f[a+196>>2]=-1;f[a+200>>2]=-1;f[a+204>>2]=-1;iBa(c);f[a>>2]=340356;f[c>>2]=340664;t4a(a+208|0,0);f[a+220>>2]=0;f[a+224>>2]=0;b[a+228>>0]=1;f[a+232>>2]=0;f[a+236>>2]=16640;n[a+240>>2]=0.0;n[a+244>>2]=0.0;n[a+248>>2]=0.0;n[a+252>>2]=1.0;n[a+256>>2]=0.0;n[a+260>>2]=0.0;n[a+264>>2]=0.0;n[a+268>>2]=1.0;p[a+272>>3]=1.0;c=a+280|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+296>>2]=1;f3a(a+304|0);f3a(a+432|0);f[a+560>>2]=2;f[a+564>>2]=0;f[a+568>>2]=0;f[a+572>>2]=0;f[a+576>>2]=3;f[a+580>>2]=3;f[a+588>>2]=0;f[a+592>>2]=0;f[a+584>>2]=a+588;f[a+596>>2]=-1;f[a+600>>2]=-1;f[a+604>>2]=0;f[a+612>>2]=0;f[a+616>>2]=0;f[a+608>>2]=a+612;c=a+620|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[c+24>>2]=0;f[c+28>>2]=0;c=EBb(160)|0;jBa(c);_xa(a,c);return}function iBa(a){a=a|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;j=l+12|0;k=l;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){h=Nu(Hua(4)|0,428851,42)|0;Drb(j,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);g=utb(j,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(j);ksb(h,g)|0;Krb(h)|0};f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;d=sh(428894)|0;if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(k,d,c)|0;g=k+11|0;d=b[g>>0]|0;h=k+4|0;c=f[h>>2]|0;e=d&255;do if(((d<<24>>24<0?c:e)|0)==23)if(!(nCb(k,0,-1,428920,23)|0)){f[a+12>>2]=0;break}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;i=14;break}else i=14;while(0);a:do if((i|0)==14){do if(((d<<24>>24<0?c:e)|0)==39)if(!(nCb(k,0,-1,428944,39)|0)){f[a+12>>2]=1;break a}else{d=b[g>>0]|0;e=d&255;c=f[h>>2]|0;break}while(0);if(((d<<24>>24<0?c:e)|0)==33?(nCb(k,0,-1,428984,33)|0)==0:0)f[a+12>>2]=2}while(0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Nu(Hua(4)|0,429018,29)|0;i=bsb(i,f[a+12>>2]|0)|0;Drb(j,i+(f[(f[i>>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(i,h)|0;Krb(i)|0}}c=a+32|0;if(kv(429048,c)|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){a=Nu(Hua(4)|0,429067,22)|0;a=isb(a,+p[c>>3])|0;Drb(j,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(j,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(j);ksb(a,i)|0;Krb(a)|0}}if((b[k+11>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function jBa(a){a=a|0;var c=0,d=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=341024;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+48>>2]=0;f[a+52>>2]=0;f[a+44>>2]=a+48;f[a+60>>2]=0;f[a+64>>2]=0;f[a+56>>2]=a+60;c=a+68|0;f[a+96>>2]=0;f[a+100>>2]=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+92>>2]=a+96;f[a+108>>2]=0;f[a+112>>2]=0;f[a+104>>2]=a+108;c=a+128|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;b[a+140>>0]=1;d=a+144|0;f[a+116>>2]=0;f[a+120>>2]=0;f[a+124>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;ZBb(c,505031)|0;return}function kBa(a,c){a=a|0;c=c|0;var d=0;if(!c)return;kBa(a,f[c>>2]|0);kBa(a,f[c+4>>2]|0);a=c+16|0;d=c+28|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function lBa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;lBa(a,f[c>>2]|0);lBa(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 mBa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;mBa(a,f[b>>2]|0);mBa(a,f[b+4>>2]|0);a=f[b+24>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function nBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=f[a+28>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+56>>2]|0;g=a+60|0;if((g|0)!=(c|0))do{e=f[c+24>>2]|0;Bj[f[f[e>>2]>>2]&1023](e,b);e=c;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|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}}while((g|0)!=(c|0));c=f[a+80>>2]|0;h=a+84|0;if((c|0)==(f[h>>2]|0))return;do{d=f[c>>2]|0;a=c+4|0;if((d|0)!=(a|0)){g=d;while(1){d=f[g+24>>2]|0;Bj[f[f[d>>2]>>2]&1023](d,b);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{g=f[e>>2]|0;e=g+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(g|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(a|0))break;else g=d}}c=c+12|0}while((c|0)!=(f[h>>2]|0));return}function oBa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;f[a>>2]=341024;MBa(a);c=a+152|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-16>>2]|0)|0,h=e+8|0,d=f[h>>2]|0,f[h>>2]=d-1,(d|0)==1):0)Rua(e,1,1);f[c>>2]=0;c=a+144|0;d=f[c>>2]|0;if(d|0?(g=d+(f[(f[d>>2]|0)+-16>>2]|0)|0,e=g+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(g,1,1);f[c>>2]=0;c=a+128|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);kBa(a+104|0,f[a+108>>2]|0);lBa(a+92|0,f[a+96>>2]|0);d=a+80|0;e=f[d>>2]|0;if(e|0){g=a+84|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{h=c;c=c+-12|0;mBa(c,f[h+-8>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}d=a+68|0;e=f[d>>2]|0;if(e|0){g=a+72|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{h=c;c=c+-12|0;Jv(c,f[h+-8>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}mBa(a+56|0,f[a+60>>2]|0);Jv(a+44|0,f[a+48>>2]|0);c=f[a+32>>2]|0;if(!c){Gva(a);return}f[a+36>>2]=c;GBb(c);Gva(a);return}function pBa(a){a=a|0;oBa(a);GBb(a);return}function qBa(a){a=a|0;a=EBb(160)|0;jBa(a);return a|0}function rBa(a,b){a=a|0;b=b|0;var c=0;c=EBb(160)|0;ABa(c,a,b);return c|0}function sBa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295528,0)|0)!=0;return b|0}function tBa(a){a=a|0;return 409756}function uBa(a){a=a|0;return 428790}function vBa(a){a=a|0;return a|0}function wBa(a){a=a|0;return a|0}function xBa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;if((f[a+144>>2]|0)==0?(f[a+152>>2]|0)==0:0)c=0;else c=1;b=f[a+56>>2]|0;h=a+60|0;if((b|0)!=(h|0))do{e=f[b+24>>2]|0;g=e+24|0;d=f[g>>2]|0;do if((d|0)==2){if((f[e+48>>2]|0)==0?(f[e+52>>2]|0)==0:0){d=2;break}f[g>>2]=0;d=0}while(0);c=c|(d|0)==0;d=f[b+4>>2]|0;if(!d){d=b+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(b|0))b=e;else do{k=f[d>>2]|0;d=k+8|0;b=f[d>>2]|0}while((f[b>>2]|0)!=(k|0))}else{b=d;while(1){d=f[b>>2]|0;if(!d)break;else b=d}}}while((b|0)!=(h|0));b=f[a+84>>2]|0;d=f[a+80>>2]|0;k=d;if((b|0)!=(d|0)){j=(b-d|0)/12|0;i=0;do{b=f[k+(i*12|0)>>2]|0;h=k+(i*12|0)+4|0;if((b|0)!=(h|0))do{e=f[b+24>>2]|0;g=e+24|0;d=f[g>>2]|0;do if((d|0)==2){if((f[e+48>>2]|0)==0?(f[e+52>>2]|0)==0:0){d=2;break}f[g>>2]=0;d=0}while(0);c=c|(d|0)==0;d=f[b+4>>2]|0;if(!d){d=b+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(b|0))b=e;else do{g=f[d>>2]|0;d=g+8|0;b=f[d>>2]|0}while((f[b>>2]|0)!=(g|0))}else{b=d;while(1){d=f[b>>2]|0;if(!d)break;else b=d}}}while((b|0)!=(h|0));i=i+1|0}while(i>>>0<j>>>0)}b=f[a+92>>2]|0;h=a+96|0;if((b|0)!=(h|0))do{e=f[b+28>>2]|0;g=e+24|0;d=f[g>>2]|0;do if((d|0)==2){if((f[e+52>>2]|0)==0?(f[e+56>>2]|0)==0:0){d=2;break}f[g>>2]=0;d=0}while(0);c=c|(d|0)==0;d=f[b+4>>2]|0;if(!d){d=b+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(b|0))b=e;else do{k=f[d>>2]|0;d=k+8|0;b=f[d>>2]|0}while((f[b>>2]|0)!=(k|0))}else{b=d;while(1){d=f[b>>2]|0;if(!d)break;else b=d}}}while((b|0)!=(h|0));b=a+24|0;if((f[b>>2]|0)!=2)return;f[b>>2]=(c^1)&1;return}function yBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=f[a+56>>2]|0;g=a+60|0;if((g|0)!=(c|0))do{e=f[c+24>>2]|0;Bj[f[(f[e>>2]|0)+156>>2]&1023](e,b);e=c;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|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}}while((g|0)!=(c|0));c=f[a+80>>2]|0;h=a+84|0;if((c|0)==(f[h>>2]|0))return;do{d=f[c>>2]|0;a=c+4|0;if((d|0)!=(a|0)){g=d;while(1){d=f[g+24>>2]|0;Bj[f[(f[d>>2]|0)+156>>2]&1023](d,b);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{g=f[e>>2]|0;e=g+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(g|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(a|0))break;else g=d}}c=c+12|0}while((c|0)!=(f[h>>2]|0));return}function zBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=f[a+56>>2]|0;g=a+60|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+24>>2]|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|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((c|0)==(g|0))break;else e=c}}c=f[a+80>>2]|0;h=a+84|0;if((c|0)==(f[h>>2]|0))return;do{d=f[c>>2]|0;a=c+4|0;if((d|0)!=(a|0)){g=d;while(1){d=f[g+24>>2]|0;Bj[f[(f[d>>2]|0)+160>>2]&1023](d,b);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{g=f[e>>2]|0;e=g+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(g|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(a|0))break;else g=d}}c=c+12|0}while((c|0)!=(f[h>>2]|0));return}function ABa(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;M=u;u=u+32|0;C=M+16|0;B=M+8|0;G=M+4|0;I=M;Fva(a,c,d);f[a>>2]=341024;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;e=a+44|0;f[a+48>>2]=0;f[a+52>>2]=0;f[e>>2]=a+48;q=a+56|0;r=a+60|0;f[r>>2]=0;s=a+64|0;f[s>>2]=0;t=a+60|0;f[q>>2]=t;v=a+68|0;z=a+80|0;w=a+84|0;D=a+92|0;f[a+96>>2]=0;f[a+100>>2]=0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[v+12>>2]=0;f[v+16>>2]=0;f[v+20>>2]=0;f[D>>2]=a+96;E=a+104|0;f[a+108>>2]=0;f[a+112>>2]=0;f[E>>2]=a+108;F=a+128|0;f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;b[a+140>>0]=b[c+140>>0]|0;J=a+144|0;f[J>>2]=0;L=a+152|0;f[L>>2]=0;H=(a|0)==(c|0);if(!H){f[G>>2]=f[c+44>>2];f[I>>2]=c+48;f[B>>2]=f[G>>2];f[C>>2]=f[I>>2];BBa(e,B,C)}e=f[c+56>>2]|0;p=c+60|0;if((e|0)!=(p|0)){o=e;while(1){k=o+16|0;l=cj[f[(f[d>>2]|0)+28>>2]&1023](d,f[o+24>>2]|0)|0;if(l|0){m=l+8|0;f[m>>2]=(f[m>>2]|0)+1;n=f[o+28>>2]|0;e=f[t>>2]|0;do if(e){i=f[k>>2]|0;j=f[o+20>>2]|0;g=r;a:while(1){h=f[e+16>>2]|0;do if((i|0)>=(h|0)){if((h|0)>=(i|0)){h=f[e+20>>2]|0;if(j>>>0<h>>>0){A=13;break}if(h>>>0>=j>>>0){A=18;break a}}g=e+4|0;h=f[g>>2]|0;if(!h){A=17;break a}else e=g}else A=13;while(0);if((A|0)==13){A=0;h=f[e>>2]|0;if(!h){A=14;break}}g=e;e=h}if((A|0)==14){A=0;i=e;g=e;break}else if((A|0)==17){A=0;i=e;break}else if((A|0)==18){A=0;i=e;break}}else{i=t;g=t}while(0);e=f[g>>2]|0;if(!e){h=EBb(32)|0;x=k;y=f[x+4>>2]|0;e=h+16|0;f[e>>2]=f[x>>2];f[e+4>>2]=y;f[h+24>>2]=0;f[h+28>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=i;f[g>>2]=h;e=f[f[q>>2]>>2]|0;if(!e)e=h;else{f[q>>2]=e;e=f[g>>2]|0}Xo(f[r>>2]|0,e);f[s>>2]=(f[s>>2]|0)+1;e=h}g=e+24|0;h=f[g>>2]|0;if(((h|0)!=(l|0)?(f[g>>2]=l,f[m>>2]=(f[m>>2]|0)+1,h|0):0)?(x=h+8|0,y=f[x>>2]|0,f[x>>2]=y-1,(y|0)==1):0)Rua(h,1,1);f[e+28>>2]=n;y=f[m>>2]|0;f[m>>2]=y-1;if((y|0)==1)Rua(l,1,1);DBa(l,a)}e=f[o+4>>2]|0;if(!e){g=o+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(o|0))do{y=f[g>>2]|0;g=y+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(y|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(p|0))break;else o=e}}if(!H)CBa(v,f[c+68>>2]|0,f[c+72>>2]|0);x=c+80|0;y=c+84|0;g=((f[y>>2]|0)-(f[x>>2]|0)|0)/12|0;e=f[w>>2]|0;i=f[z>>2]|0;h=(e-i|0)/12|0;if(g>>>0<=h>>>0){if(g>>>0<h>>>0){g=i+(g*12|0)|0;if((g|0)!=(e|0))do{v=e;e=e+-12|0;mBa(e,f[v+-8>>2]|0)}while((e|0)!=(g|0));f[w>>2]=g}}else EBa(z,g-h|0);e=f[x>>2]|0;if((f[y>>2]|0)!=(e|0)){v=0;do{r=e;e=f[z>>2]|0;q=e+(v*12|0)|0;g=f[r+(v*12|0)>>2]|0;r=r+(v*12|0)+4|0;if((g|0)!=(r|0)){s=e+(v*12|0)+4|0;t=e+(v*12|0)+4|0;p=e+(v*12|0)+8|0;while(1){l=g+16|0;m=cj[f[(f[d>>2]|0)+28>>2]&1023](d,f[g+24>>2]|0)|0;if(m|0){n=m+8|0;f[n>>2]=(f[n>>2]|0)+1;o=f[g+28>>2]|0;e=f[s>>2]|0;do if(e){j=f[l>>2]|0;k=f[g+20>>2]|0;h=t;b:while(1){i=f[e+16>>2]|0;do if((j|0)>=(i|0)){if((i|0)>=(j|0)){i=f[e+20>>2]|0;if(k>>>0<i>>>0){A=59;break}if(i>>>0>=k>>>0){A=64;break b}}h=e+4|0;i=f[h>>2]|0;if(!i){A=63;break b}else e=h}else A=59;while(0);if((A|0)==59){A=0;i=f[e>>2]|0;if(!i){A=60;break}}h=e;e=i}if((A|0)==60){A=0;j=e;h=e;break}else if((A|0)==63){A=0;j=e;break}else if((A|0)==64){A=0;j=e;break}}else{j=s;h=s}while(0);e=f[h>>2]|0;if(!e){i=EBb(32)|0;w=f[l+4>>2]|0;e=i+16|0;f[e>>2]=f[l>>2];f[e+4>>2]=w;f[i+24>>2]=0;f[i+28>>2]=0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=j;f[h>>2]=i;e=f[f[q>>2]>>2]|0;if(!e)e=i;else{f[q>>2]=e;e=f[h>>2]|0}Xo(f[t>>2]|0,e);f[p>>2]=(f[p>>2]|0)+1;e=i}h=e+24|0;i=f[h>>2]|0;if(((i|0)!=(m|0)?(f[h>>2]=m,f[n>>2]=(f[n>>2]|0)+1,i|0):0)?(l=i+8|0,w=f[l>>2]|0,f[l>>2]=w-1,(w|0)==1):0)Rua(i,1,1);f[e+28>>2]=o;w=f[n>>2]|0;f[n>>2]=w-1;if((w|0)==1)Rua(m,1,1);DBa(m,a)}e=f[g+4>>2]|0;if(!e){h=g+8|0;e=f[h>>2]|0;if((f[e>>2]|0)!=(g|0)){g=h;do{w=f[g>>2]|0;g=w+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(w|0))}}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(r|0))break;else g=e}}v=v+1|0;e=f[x>>2]|0}while(v>>>0<(((f[y>>2]|0)-e|0)/12|0)>>>0)}e=f[c+92>>2]|0;m=c+96|0;if((e|0)!=(m|0)){l=e;while(1){e=l+16|0;i=cj[f[(f[d>>2]|0)+52>>2]&1023](d,f[l+28>>2]|0)|0;if(i|0){j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;k=f[l+32>>2]|0;f[B>>2]=e;GBa(C,D,e,505019,B,G);e=f[C>>2]|0;g=e+28|0;h=f[g>>2]|0;if(((h|0)!=(i|0)?(f[g>>2]=i,f[j>>2]=(f[j>>2]|0)+1,h|0):0)?(z=h+8|0,A=f[z>>2]|0,f[z>>2]=A-1,(A|0)==1):0)Rua(h,1,1);f[e+32>>2]=k;A=f[j>>2]|0;f[j>>2]=A-1;if((A|0)==1)Rua(i,1,1);HBa(i,a)}e=f[l+4>>2]|0;if(!e){g=l+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(l|0))do{A=f[g>>2]|0;g=A+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(A|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(m|0))break;else l=e}}if(!H){f[G>>2]=f[c+104>>2];f[I>>2]=c+108;f[B>>2]=f[G>>2];f[C>>2]=f[I>>2];FBa(E,B,C)}f[a+116>>2]=f[c+116>>2];f[a+120>>2]=f[c+120>>2];f[a+124>>2]=f[c+124>>2];UBb(F,c+128|0)|0;e=f[J>>2]|0;g=f[c+144>>2]|0;if((e|0)!=(g|0)){f[J>>2]=g;if(g|0){J=g+(f[(f[g>>2]|0)+-16>>2]|0)+8|0;f[J>>2]=(f[J>>2]|0)+1}if(e|0?(K=e+(f[(f[e>>2]|0)+-16>>2]|0)|0,I=K+8|0,J=f[I>>2]|0,f[I>>2]=J-1,(J|0)==1):0)Rua(K,1,1)}f[a+148>>2]=f[c+148>>2];e=f[L>>2]|0;g=f[c+152>>2]|0;if((e|0)==(g|0)){L=c+156|0;L=f[L>>2]|0;c=a+156|0;f[c>>2]=L;u=M;return}f[L>>2]=g;if(g|0){L=g+(f[(f[g>>2]|0)+-16>>2]|0)+8|0;f[L>>2]=(f[L>>2]|0)+1}if(!e){L=c+156|0;L=f[L>>2]|0;c=a+156|0;f[c>>2]=L;u=M;return}e=e+(f[(f[e>>2]|0)+-16>>2]|0)|0;K=e+8|0;L=f[K>>2]|0;f[K>>2]=L-1;if((L|0)!=1){L=c+156|0;L=f[L>>2]|0;c=a+156|0;f[c>>2]=L;u=M;return}Rua(e,1,1);L=c+156|0;L=f[L>>2]|0;c=a+156|0;f[c>>2]=L;u=M;return}function BBa(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;o=a+8|0;a:do if(f[o>>2]|0?(m=f[a>>2]|0,n=a+4|0,f[a>>2]=n,f[(f[n>>2]|0)+8>>2]=0,f[n>>2]=0,f[o>>2]=0,d=f[m+4>>2]|0,d=(d|0)==0?m:d,d|0):0){m=a+4|0;e=f[b>>2]|0;while(1){if((e|0)==(f[c>>2]|0))break;j=f[e+16>>2]|0;f[d+16>>2]=j;f[d+20>>2]=f[e+20>>2];l=d+8|0;h=f[l>>2]|0;do if(h){g=f[h>>2]|0;if((g|0)==(d|0)){f[h>>2]=0;g=f[h+4>>2]|0;if(!g)break;while(1){h=f[g>>2]|0;if(!h){h=f[g+4>>2]|0;if(!h)break;else g=h}else g=h}h=g;break}else{f[h+4>>2]=0;if(!g)break;while(1){h=f[g>>2]|0;if(!h){h=f[g+4>>2]|0;if(!h)break;else g=h}else g=h}h=g;break}}else h=0;while(0);g=f[n>>2]|0;do if(g){while(1)if(j>>>0<(f[g+16>>2]|0)>>>0){i=f[g>>2]|0;if(!i){k=23;break}else g=i}else{i=f[g+4>>2]|0;if(!i){k=25;break}else g=i}if((k|0)==23){i=g;j=g;break}else if((k|0)==25){i=g;j=g+4|0;break}}else{i=n;j=n}while(0);f[d>>2]=0;f[d+4>>2]=0;f[l>>2]=i;f[j>>2]=d;g=f[f[a>>2]>>2]|0;if(g){f[a>>2]=g;d=f[j>>2]|0}Xo(f[m>>2]|0,d);f[o>>2]=(f[o>>2]|0)+1;d=f[e+4>>2]|0;if(!d){d=e+8|0;g=f[d>>2]|0;if((f[g>>2]|0)==(e|0))e=g;else do{l=f[d>>2]|0;d=l+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(l|0))}else{while(1){e=f[d>>2]|0;if(!e)break;else d=e}e=d}f[b>>2]=e;if(!h)break a;else d=h}e=f[d+8>>2]|0;if(e){d=e;while(1){e=f[d+8>>2]|0;if(!e)break;else d=e}}Jv(a,d)}while(0);d=f[b>>2]|0;j=f[c>>2]|0;if((d|0)==(j|0))return;l=a+4|0;m=a+4|0;i=d;while(1){d=EBb(24)|0;c=i+16|0;h=f[c>>2]|0;c=f[c+4>>2]|0;e=d+16|0;f[e>>2]=h;f[e+4>>2]=c;e=f[l>>2]|0;do if(e){while(1)if((f[e+16>>2]|0)>>>0>h>>>0){g=f[e>>2]|0;if(!g){k=48;break}else e=g}else{g=f[e+4>>2]|0;if(!g){k=50;break}else e=g}if((k|0)==48){g=e;h=e;break}else if((k|0)==50){g=e;h=e+4|0;break}}else{g=l;h=l}while(0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[h>>2]=d;e=f[f[a>>2]>>2]|0;if(e){f[a>>2]=e;d=f[h>>2]|0}Xo(f[m>>2]|0,d);f[o>>2]=(f[o>>2]|0)+1;d=f[i+4>>2]|0;if(!d){e=i+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(i|0))do{c=f[e>>2]|0;e=c+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(c|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}f[b>>2]=d;if((d|0)==(j|0))break;else i=d}return}function CBa(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;o=u;u=u+16|0;j=o+12|0;i=o+8|0;k=o+4|0;l=o;n=(c-b|0)/12|0;m=a+8|0;d=f[m>>2]|0;h=f[a>>2]|0;e=h;if(n>>>0>((d-h|0)/12|0)>>>0){if(h){g=a+4|0;d=f[g>>2]|0;if((d|0)==(e|0))d=h;else{do{l=d;d=d+-12|0;Jv(d,f[l+-8>>2]|0)}while((d|0)!=(e|0));d=f[a>>2]|0}f[g>>2]=e;GBb(d);f[m>>2]=0;f[g>>2]=0;f[a>>2]=0;d=0}if(n>>>0>357913941)DCb(a);l=(d|0)/12|0;d=l<<1;d=l>>>0<178956970?(d>>>0<n>>>0?n:d):357913941;if(d>>>0>357913941)DCb(a);l=EBb(d*12|0)|0;f[a+4>>2]=l;f[a>>2]=l;f[m>>2]=l+(d*12|0);KBa(a,b,c,n);u=o;return}m=a+4|0;h=((f[m>>2]|0)-h|0)/12|0;g=n>>>0>h>>>0;h=g?b+(h*12|0)|0:c;if((h|0)!=(b|0)){d=b;do{if((e|0)!=(d|0)){f[k>>2]=f[d>>2];f[l>>2]=d+4;f[i>>2]=f[k>>2];f[j>>2]=f[l>>2];BBa(e,i,j)}d=d+12|0;e=e+12|0}while((d|0)!=(h|0))}if(g){KBa(a,h,c,n-(((f[m>>2]|0)-(f[a>>2]|0)|0)/12|0)|0);u=o;return}d=f[m>>2]|0;if((d|0)!=(e|0))do{n=d;d=d+-12|0;Jv(d,f[n+-8>>2]|0)}while((d|0)!=(e|0));f[m>>2]=e;u=o;return}function DBa(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;d=i+4|0;h=i;f[h>>2]=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>5){g=Nu(Hua(6)|0,428821,13)|0;g=jsb(g,zwa()|0)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(d,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(d);ksb(g,e)|0;Krb(g)|0}c=zwa()|0;d=(c|0)==0;if(!d)_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;e=a+36|0;g=f[e>>2]|0;if((g|0)==(f[a+40>>2]|0))RX(a+32|0,h);else{f[g>>2]=f[h>>2];f[e>>2]=(f[e>>2]|0)+4}if(d){u=i;return}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;u=i;return}function EBa(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+8|0;e=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;if(((e-c|0)/12|0)>>>0>=b>>>0){do{f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;c=(f[m>>2]|0)+12|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}d=f[a>>2]|0;g=(c-d|0)/12|0;h=g+b|0;if(h>>>0>357913941)DCb(a);k=(e-d|0)/12|0;c=k<<1;c=k>>>0<178956970?(c>>>0<h>>>0?h:c):357913941;do if(c)if(c>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{e=EBb(c*12|0)|0;break}else e=0;while(0);g=e+(g*12|0)|0;d=e+(c*12|0)|0;c=g;while(1){f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;b=b+-1|0;if(!b)break;else c=c+12|0}k=e+(h*12|0)|0;j=f[a>>2]|0;c=f[m>>2]|0;if((c|0)==(j|0)){b=g;e=j;c=j}else{b=g;do{i=b;b=b+-12|0;e=c;c=c+-12|0;f[b>>2]=f[c>>2];g=f[e+-8>>2]|0;f[i+-8>>2]=g;h=e+-4|0;n=f[h>>2]|0;f[i+-4>>2]=n;i=i+-8|0;if(!n)f[b>>2]=i;else{f[g+8>>2]=i;n=e+-8|0;f[c>>2]=n;f[n>>2]=0;f[h>>2]=0}}while((c|0)!=(j|0));e=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=b;f[m>>2]=k;f[l>>2]=d;b=e;if((c|0)!=(b|0))do{n=c;c=c+-12|0;mBa(c,f[n+-8>>2]|0)}while((c|0)!=(b|0));if(!e)return;GBb(e);return}function FBa(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,u=0;s=a+8|0;a:do if(f[s>>2]|0?(r=f[a>>2]|0,u=a+4|0,f[a>>2]=u,f[(f[u>>2]|0)+8>>2]=0,f[u>>2]=0,f[s>>2]=0,e=f[r+4>>2]|0,e=(e|0)==0?r:e,e|0):0){q=u;r=a+4|0;g=f[c>>2]|0;while(1){if((g|0)==(f[d>>2]|0))break;j=e+16|0;UBb(j,g+16|0)|0;UBb(e+28|0,g+28|0)|0;f[e+40>>2]=f[g+40>>2];p=e+8|0;i=f[p>>2]|0;do if(i){h=f[i>>2]|0;if((h|0)==(e|0)){f[i>>2]=0;h=f[i+4>>2]|0;if(!h)break;while(1){i=f[h>>2]|0;if(!i){i=f[h+4>>2]|0;if(!i)break;else h=i}else h=i}i=h;break}else{f[i+4>>2]=0;if(!h)break;while(1){i=f[h>>2]|0;if(!i){i=f[h+4>>2]|0;if(!i)break;else h=i}else h=i}i=h;break}}else i=0;while(0);h=f[u>>2]|0;do if(h){o=b[j+11>>0]|0;n=o<<24>>24<0;o=n?f[e+20>>2]|0:o&255;n=n?f[j>>2]|0:j;while(1){k=h+16|0;m=b[k+11>>0]|0;l=m<<24>>24<0;m=l?f[h+20>>2]|0:m&255;j=m>>>0<o>>>0?m:o;if((j|0)!=0?(t=anb(n,l?f[k>>2]|0:k,j)|0,(t|0)!=0):0)if((t|0)<0)k=25;else k=27;else if(o>>>0<m>>>0)k=25;else k=27;if((k|0)==25){j=f[h>>2]|0;if(!j){k=26;break}else h=j}else if((k|0)==27){j=f[h+4>>2]|0;if(!j){k=28;break}else h=j}}if((k|0)==26){j=h;break}else if((k|0)==28){j=h+4|0;break}}else{j=u;h=q}while(0);f[e>>2]=0;f[e+4>>2]=0;f[p>>2]=h;f[j>>2]=e;h=f[f[a>>2]>>2]|0;if(h){f[a>>2]=h;e=f[j>>2]|0}Xo(f[r>>2]|0,e);f[s>>2]=(f[s>>2]|0)+1;e=f[g+4>>2]|0;if(!e){e=g+8|0;h=f[e>>2]|0;if((f[h>>2]|0)==(g|0))g=h;else do{p=f[e>>2]|0;e=p+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(p|0))}else{while(1){g=f[e>>2]|0;if(!g)break;else e=g}g=e}f[c>>2]=g;if(!i)break a;else e=i}g=f[e+8>>2]|0;if(g){e=g;while(1){g=f[e+8>>2]|0;if(!g)break;else e=g}}kBa(a,e)}while(0);e=f[c>>2]|0;i=f[d>>2]|0;if((e|0)==(i|0))return;h=e;while(1){JBa(a,h+16|0)|0;e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{d=f[g>>2]|0;g=d+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(d|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}f[c>>2]=e;if((e|0)==(i|0))break;else h=e}return}function GBa(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;j=u;u=u+16|0;i=j;d=IBa(c,i,d)|0;e=f[d>>2]|0;if(e|0){c=e;g=0;f[a>>2]=c;c=a+4|0;b[c>>0]=g;u=j;return}h=EBb(36)|0;OBb(h+16|0,f[g>>2]|0);f[h+28>>2]=0;f[h+32>>2]=0;e=f[i>>2]|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=e;f[d>>2]=h;e=f[f[c>>2]>>2]|0;if(!e)e=h;else{f[c>>2]=e;e=f[d>>2]|0}Xo(f[c+4>>2]|0,e);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=h;g=1;f[a>>2]=c;c=a+4|0;b[c>>0]=g;u=j;return}function HBa(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;d=i+4|0;h=i;f[h>>2]=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>5){g=Nu(Hua(6)|0,428799,21)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(d,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(d);ksb(g,e)|0;Krb(g)|0}c=zwa()|0;d=(c|0)==0;if(!d)_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;e=a+36|0;g=f[e>>2]|0;if((g|0)==(f[a+40>>2]|0))RX(a+32|0,h);else{f[g>>2]=f[h>>2];f[e>>2]=(f[e>>2]|0)+4}if(d){u=i;return}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;u=i;return}function IBa(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<m>>>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 JBa(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;l=EBb(44)|0;e=l+16|0;OBb(e,c);OBb(l+28|0,c+12|0);f[l+40>>2]=f[c+24>>2];d=a+4|0;c=f[d>>2]|0;do if(c){j=b[l+27>>0]|0;i=j<<24>>24<0;j=i?f[l+20>>2]|0:j&255;i=i?f[e>>2]|0:e;h=c;while(1){d=h+16|0;g=b[d+11>>0]|0;e=g<<24>>24<0;g=e?f[h+20>>2]|0:g&255;c=g>>>0<j>>>0?g:j;if((c|0)!=0?(k=anb(i,e?f[d>>2]|0:d,c)|0,(k|0)!=0):0)if((k|0)<0)e=7;else e=9;else if(j>>>0<g>>>0)e=7;else e=9;if((e|0)==7){c=f[h>>2]|0;if(!c){e=8;break}}else if((e|0)==9){c=f[h+4>>2]|0;if(!c){e=10;break}}h=c}if((e|0)==8){c=h;d=h;break}else if((e|0)==10){c=h;d=h+4|0;break}}else c=d;while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=c;f[d>>2]=l;c=f[f[a>>2]>>2]|0;if(!c){k=l;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}f[a>>2]=c;k=f[d>>2]|0;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}function KBa(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;r=u;u=u+16|0;n=r+12|0;o=r+8|0;p=r+4|0;q=r;m=a+4|0;if((b|0)==(c|0)){u=r;return}i=f[m>>2]|0;do{l=i+4|0;f[l>>2]=0;j=i+8|0;f[j>>2]=0;d=i+4|0;f[i>>2]=d;a=f[b>>2]|0;k=b+4|0;if((a|0)!=(k|0)){h=d;while(1){e=a+16|0;f[q>>2]=h;f[n>>2]=f[q>>2];g=LBa(i,n,o,p,e)|0;if(!(f[g>>2]|0)){d=EBb(24)|0;t=e;s=f[t+4>>2]|0;e=d+16|0;f[e>>2]=f[t>>2];f[e+4>>2]=s;e=f[o>>2]|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[g>>2]=d;e=f[f[i>>2]>>2]|0;if(e){f[i>>2]=e;d=f[g>>2]|0}Xo(f[l>>2]|0,d);f[j>>2]=(f[j>>2]|0)+1}d=f[a+4>>2]|0;if(!d){e=a+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(a|0)){a=e;do{t=f[a>>2]|0;a=t+8|0;d=f[a>>2]|0}while((f[d>>2]|0)!=(t|0))}}else while(1){a=f[d>>2]|0;if(!a)break;else d=a}if((d|0)==(k|0))break;else a=d}}b=b+12|0;i=(f[m>>2]|0)+12|0;f[m>>2]=i}while((b|0)!=(c|0));u=r;return}function LBa(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)?(j=f[e>>2]|0,g=f[h+16>>2]|0,j>>>0>=g>>>0):0){if(g>>>0>=j>>>0){f[c>>2]=b;f[d>>2]=b;c=d;return c|0}g=f[h+4>>2]|0;if(!g){d=h+8|0;g=f[d>>2]|0;if((f[g>>2]|0)!=(h|0))do{e=f[d>>2]|0;d=e+8|0;g=f[d>>2]|0}while((f[g>>2]|0)!=(e|0))}else while(1){d=f[g>>2]|0;if(!d)break;else g=d}if((g|0)!=(i|0)?j>>>0>=(f[g+16>>2]|0)>>>0:0){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if(j>>>0<g>>>0){g=f[b>>2]|0;if(!g){e=42;break}else{d=b;b=g}}else{if(g>>>0>=j>>>0){e=46;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=45;break}else b=g}}if((e|0)==42){f[c>>2]=b;c=b;return c|0}else if((e|0)==45){f[c>>2]=b;c=d;return c|0}else if((e|0)==46){f[c>>2]=b;c=d;return c|0}}if(!(f[h+4>>2]|0)){f[c>>2]=b;c=h+4|0;return c|0}else{f[c>>2]=g;c=g;return c|0}}d=f[h>>2]|0;if((f[a>>2]|0)!=(h|0)){if(!d){b=h;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0))}else{b=d;while(1){g=f[b+4>>2]|0;if(!g)break;else b=g}}e=f[e>>2]|0;if((f[b+16>>2]|0)>>>0>=e>>>0){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if(e>>>0<g>>>0){g=f[b>>2]|0;if(!g){e=18;break}else{d=b;b=g}}else{if(g>>>0>=e>>>0){e=22;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=21;break}else b=g}}if((e|0)==18){f[c>>2]=b;c=b;return c|0}else if((e|0)==21){f[c>>2]=b;c=d;return c|0}else if((e|0)==22){f[c>>2]=b;c=d;return c|0}}}if(!d){f[c>>2]=h;c=h;return c|0}else{f[c>>2]=b;c=b+4|0;return c|0}return 0}function MBa(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;f[a+116>>2]=0;f[a+120>>2]=0;f[a+124>>2]=0;ZBb(a+128|0,505031)|0;l=a+56|0;b=f[l>>2]|0;m=a+60|0;if((b|0)!=(m|0)){j=b;while(1){b=f[j+24>>2]|0;h=zwa()|0;i=(h|0)==0;if(!i)_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;c=f[b+32>>2]|0;g=b+36|0;d=f[g>>2]|0;e=d;a:do if((c|0)==(d|0)){k=c;q=11}else{b=c;do{if((f[b>>2]|0)==(a|0)){k=b;q=11;break a}b=b+4|0}while((b|0)!=(d|0))}while(0);if((q|0)==11?(q=0,(k|0)!=(d|0)):0){c=k+4|0;b=e-c|0;if(b|0)ZDb(k|0,c|0,b|0)|0;f[g>>2]=k+(b>>2<<2)}if(!i)_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;b=f[j+4>>2]|0;if(!b){c=j+8|0;b=f[c>>2]|0;if((f[b>>2]|0)!=(j|0))do{n=f[c>>2]|0;c=n+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(n|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(m|0))break;else j=b}}b=a+44|0;n=a+48|0;Jv(b,f[n>>2]|0);f[a+52>>2]=0;f[b>>2]=n;f[n>>2]=0;mBa(l,f[m>>2]|0);f[a+64>>2]=0;f[l>>2]=m;f[m>>2]=0;m=a+80|0;n=a+84|0;b=f[n>>2]|0;l=f[m>>2]|0;c=l;if((b|0)!=(l|0)){l=0;do{b=f[c+(l*12|0)>>2]|0;k=c+(l*12|0)+4|0;if((b|0)!=(k|0)){j=b;while(1){b=f[j+24>>2]|0;h=zwa()|0;i=(h|0)==0;if(!i)_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;c=f[b+32>>2]|0;g=b+36|0;d=f[g>>2]|0;e=d;b:do if((c|0)==(d|0)){o=c;q=45}else{b=c;do{if((f[b>>2]|0)==(a|0)){o=b;q=45;break b}b=b+4|0}while((b|0)!=(d|0))}while(0);if((q|0)==45?(q=0,(o|0)!=(d|0)):0){c=o+4|0;b=e-c|0;if(b|0)ZDb(o|0,c|0,b|0)|0;f[g>>2]=o+(b>>2<<2)}if(!i)_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;b=f[j+4>>2]|0;if(!b){c=j+8|0;b=f[c>>2]|0;if((f[b>>2]|0)!=(j|0))do{j=f[c>>2]|0;c=j+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(j|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(k|0))break;else j=b}}l=l+1|0;b=f[n>>2]|0;c=f[m>>2]|0}while(l>>>0<((b-c|0)/12|0)>>>0)}e=f[a+68>>2]|0;g=a+72|0;d=f[g>>2]|0;if((d|0)!=(e|0)){b=d;do{o=b;b=b+-12|0;Jv(b,f[o+-8>>2]|0)}while((b|0)!=(e|0));b=f[n>>2]|0;c=f[m>>2]|0}f[g>>2]=e;if((b|0)!=(c|0))do{o=b;b=b+-12|0;mBa(b,f[o+-8>>2]|0)}while((b|0)!=(c|0));f[n>>2]=c;k=a+92|0;b=f[k>>2]|0;l=a+96|0;if((b|0)==(l|0)){q=f[l>>2]|0;lBa(k,q);q=a+100|0;f[q>>2]=0;f[k>>2]=l;f[l>>2]=0;return}j=b;while(1){b=f[j+28>>2]|0;h=zwa()|0;i=(h|0)==0;if(!i)_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;c=f[b+32>>2]|0;g=b+36|0;d=f[g>>2]|0;e=d;c:do if((c|0)==(d|0)){p=c;q=66}else{b=c;do{if((f[b>>2]|0)==(a|0)){p=b;q=66;break c}b=b+4|0}while((b|0)!=(d|0))}while(0);if((q|0)==66?(q=0,(p|0)!=(d|0)):0){c=p+4|0;b=e-c|0;if(b|0)ZDb(p|0,c|0,b|0)|0;f[g>>2]=p+(b>>2<<2)}if(!i)_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;b=f[j+4>>2]|0;if(!b){c=j+8|0;b=f[c>>2]|0;if((f[b>>2]|0)!=(j|0))do{o=f[c>>2]|0;c=o+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(o|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(l|0))break;else j=b}q=f[l>>2]|0;lBa(k,q);q=a+100|0;f[q>>2]=0;f[k>>2]=l;f[l>>2]=0;return}function NBa(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)+-16>>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 OBa(a){a=a|0;kBa(a,f[a+4>>2]|0);return}function PBa(a){a=a|0;lBa(a,f[a+4>>2]|0);return}function QBa(a){a=a|0;var b=0,c=0,d=0,e=0;c=f[a>>2]|0;if(!c)return;d=a+4|0;b=f[d>>2]|0;if((b|0)==(c|0))b=c;else{do{e=b;b=b+-12|0;mBa(b,f[e+-8>>2]|0)}while((b|0)!=(c|0));b=f[a>>2]|0}f[d>>2]=c;GBb(b);return}function RBa(a){a=a|0;var b=0,c=0,d=0,e=0;c=f[a>>2]|0;if(!c)return;d=a+4|0;b=f[d>>2]|0;if((b|0)==(c|0))b=c;else{do{e=b;b=b+-12|0;Jv(b,f[e+-8>>2]|0)}while((b|0)!=(c|0));b=f[a>>2]|0}f[d>>2]=c;GBb(b);return}function SBa(a){a=a|0;mBa(a,f[a+4>>2]|0);return}function TBa(a){a=a|0;Jv(a,f[a+4>>2]|0);return}function UBa(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function VBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=a+620|0;c=f[g>>2]|0;if((c|0)==(b|0))return;if(!c)c=0;else{_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;e=f[g>>2]|0;c=e+20|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,h=d+8|0,c=f[h>>2]|0,f[h>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[e+24>>2]=0;c=f[g>>2]|0}if((c|0)!=(b|0)){f[g>>2]=b;if(b|0){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}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)}c=f[g>>2]|0;if(!c)return;g4a(c+12|0,a+608|0)|0;b=f[g>>2]|0;c=cCa(a)|0;d=b+20|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}if(e|0?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);c=f[d>>2]|0}if(!c)c=0;else c=(f[c+24>>2]|0)==0?0:a;f[b+24>>2]=c;return}function WBa(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;r=u;u=u+16|0;q=r;l=a+36|0;c=f[l>>2]|0;n=a+32|0;a:do if((c|0)==(n|0))o=c;else{d=c;do{if((f[c+8>>2]|0)==(b|0)){o=d;break a}c=f[d+4>>2]|0;d=c}while((n|0)!=(d|0));u=r;return}while(0);if((o|0)==(n|0)){u=r;return}j=q+4|0;f[j>>2]=0;m=q+8|0;f[m>>2]=0;p=q+4|0;f[q>>2]=p;k=b+124|0;i=0;while(1){if(i>>>0>=(_i[f[(f[b>>2]|0)+248>>2]&2047](b)|0)>>>0)break;g=f[(f[k>>2]|0)+(i<<2)>>2]|0;h=g;c=f[p>>2]|0;do if(c){e=j;while(1){d=f[c+16>>2]|0;if(g>>>0<d>>>0){d=f[c>>2]|0;if(!d){d=14;break}}else{if(d>>>0>=g>>>0){d=18;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=17;break}else c=e}e=c;c=d}if((d|0)==14){g=c;e=c;break}else if((d|0)==17){g=c;break}else if((d|0)==18){g=c;break}}else{g=p;e=p}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[q>>2]>>2]|0;if(d){f[q>>2]=d;c=f[e>>2]|0}Xo(f[j>>2]|0,c);f[m>>2]=(f[m>>2]|0)+1}i=i+1|0}c=f[l>>2]|0;d=c;if((n|0)!=(d|0))do{b:do if((o|0)!=(d|0)){i=f[c+8>>2]|0;j=i+124|0;h=0;while(1){if(h>>>0>=(_i[f[(f[i>>2]|0)+248>>2]&2047](i)|0)>>>0)break b;e=f[(f[j>>2]|0)+(h<<2)>>2]|0;k=f[p>>2]|0;if(k|0){g=p;c=k;do{l=(f[c+16>>2]|0)>>>0<e>>>0;g=l?g:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((g|0)!=(p|0)?e>>>0>=(f[g+16>>2]|0)>>>0:0){c=f[g+4>>2]|0;if(!c){e=g+8|0;c=f[e>>2]|0;if((f[c>>2]|0)!=(g|0))do{l=f[e>>2]|0;e=l+8|0;c=f[e>>2]|0}while((f[c>>2]|0)!=(l|0))}else while(1){e=f[c>>2]|0;if(!e)break;else c=e}if((f[q>>2]|0)==(g|0))f[q>>2]=c;f[m>>2]=(f[m>>2]|0)+-1;Zq(k,g);GBb(g)}}h=h+1|0}}while(0);c=f[d+4>>2]|0;d=c}while((n|0)!=(d|0));c=f[q>>2]|0;if((c|0)!=(p|0)){g=a+48|0;e=c;while(1){c=f[e+16>>2]|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,f[g>>2]|0);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{n=f[d>>2]|0;d=n+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(n|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(p|0))break;else e=c}}c=f[b+632>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,f[a+48>>2]|0);b=o+4|0;n=f[o>>2]|0;f[n+4>>2]=f[b>>2];f[f[b>>2]>>2]=n;a=a+40|0;f[a>>2]=(f[a>>2]|0)+-1;GBb(o);Nv(q,f[p>>2]|0);u=r;return}function XBa(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 YBa(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 ZBa(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 _Ba(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 $Ba(a){a=a|0;VAa(a,f[a+4>>2]|0);return}function aCa(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 bCa(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 cCa(a){a=a|0;var b=0,c=0,d=0,e=0;e=a+4|0;b=f[e>>2]|0;if(b|0){e=b;return e|0}do{c=EBb(40)|0;f[c+4>>2]=0;d=c+8|0;f[d>>2]=0;f[c>>2]=341196;t4a(c+12|0,0);f[c+24>>2]=a;b=c+32|0;f[b>>2]=0;f[c+36>>2]=0;f[c+28>>2]=b;f[d>>2]=(f[d>>2]|0)+1;b=f[e>>2]|0;if(!b)f[e>>2]=c;if(b|0?(b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(c,1,1);b=f[e>>2]|0}while(!(b|0));return b|0}function dCa(a){a=a|0;f[a>>2]=341196;Tua(a+28|0,f[a+32>>2]|0);R3a(a+12|0);Uua(a);return}function eCa(a){a=a|0;f[a>>2]=341196;Tua(a+28|0,f[a+32>>2]|0);R3a(a+12|0);Uua(a);GBb(a);return}function fCa(a){a=a|0;Kva(a);return}function gCa(a){a=a|0;Kva(a);GBb(a);return}function hCa(a){a=a|0;var b=0;a=EBb(60)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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;f[a>>2]=341216;f[a+56>>2]=16843009;return a|0}function iCa(a,c){a=a|0;c=c|0;var d=0;d=EBb(60)|0;Jva(d,a,c);f[d>>2]=341216;b[d+56>>0]=b[a+56>>0]|0;b[d+57>>0]=b[a+57>>0]|0;b[d+58>>0]=b[a+58>>0]|0;b[d+59>>0]=b[a+59>>0]|0;return d|0}function jCa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295560,0)|0)!=0;return b|0}function kCa(a){a=a|0;return 409756}function lCa(a){a=a|0;return 429124}function mCa(a){a=a|0;return 25}function nCa(a,c){a=a|0;c=c|0;var d=0,e=0;if((a|0)==(c|0)){c=0;return c|0}if(!a)BDb();d=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;e=f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0;if(d>>>0<e>>>0){c=-1;return c|0}if((d|0)!=(e|0)){c=1;return c|0}d=b[a+56>>0]|0;e=b[c+56>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}d=b[a+57>>0]|0;e=b[c+57>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}d=b[a+58>>0]|0;e=b[c+58>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}else{a=b[a+59>>0]|0;c=b[c+59>>0]|0;return ((a&255)<(c&255)?-1:(c&255)<(a&255)&1)|0}return 0}function oCa(a,c){a=a|0;c=c|0;Ah(b[a+56>>0]|0,b[a+57>>0]|0,b[a+58>>0]|0,b[a+59>>0]|0);return}function pCa(a){a=a|0;var b=0,c=0;f[a>>2]=341432;b=a+396|0;f[b>>2]=341828;c=a+56|0;f[c>>2]=341640;yDa(a+384|0,f[a+388>>2]|0);eDa(c);dDa(a,341996);Gva(b);return}function qCa(a){a=a|0;var b=0,c=0;f[a>>2]=341432;b=a+396|0;f[b>>2]=341828;c=a+56|0;f[c>>2]=341640;yDa(a+384|0,f[a+388>>2]|0);eDa(c);dDa(a,341996);Gva(b);GBb(a);return}function rCa(a){a=a|0;a=EBb(432)|0;mEa(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function sCa(a){a=a|0;return 409756}function tCa(a){a=a|0;return 429151}function uCa(a){a=a|0;var b=0,c=0;gDa(a+56|0);c=a+384|0;b=a+388|0;yDa(c,f[b>>2]|0);f[a+392>>2]=0;f[c>>2]=b;f[b>>2]=0;return}function vCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0;f=+n[b>>2]-+n[a+240>>2];e=+n[b+4>>2]-+n[a+244>>2];d=+n[b+8>>2]-+n[a+248>>2];d=+K(+(f*f+e*e+d*d));if(!c){f=d;return +f}f=d*+n[a+76>>2];return +f}function wCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0;e=f[a+152>>2]|0;d=-(+p[e+144>>3]+(+p[e+48>>3]*+n[b>>2]+ +p[e+80>>3]*+n[b+4>>2]+ +p[e+112>>3]*+n[b+8>>2]));if(!c)return +d;d=+n[a+76>>2]*d;return +d}function xCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0;f=+n[b>>2]-+n[a+268>>2];e=+n[b+4>>2]-+n[a+272>>2];d=+n[b+8>>2]-+n[a+276>>2];d=+K(+(f*f+e*e+d*d));if(!c){f=d;return +f}f=d*+n[a+76>>2];return +f}function yCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+108>>2]&1023](a,b);return}function zCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+100>>2]&1023](a,b);return}function ACa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);a:do if(f[c+112>>2]|0)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}while(0);i=f[e>>2]|0;d=i+32|0;e=f[d>>2]|0;if(e|0){g=i+24|0;a=f[g>>2]|0;if((f[i+20>>2]|0)!=(a|0)){j=a+-4|0;f[i+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[i+64>>2]|0;h=f[i+68>>2]|0;if((d|0)!=(h|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){a=d+12|0;c=f[a>>2]|0;if((f[d+8>>2]|0)!=(c|0)){j=c+-4|0;f[d+4>>2]=f[j>>2];f[a>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(h|0));d=f[i+76>>2]|0;j=f[i+80>>2]|0;if((d|0)==(j|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){a=d+28|0;c=f[a>>2]|0;if((f[d+24>>2]|0)!=(c|0)){i=c+-4|0;f[d+20>>2]=f[i>>2];f[a>>2]=i}f[e>>2]=g+-1}e=f[d+68>>2]|0;i=f[d+72>>2]|0;if((e|0)!=(i|0))do{g=e+16|0;a=f[g>>2]|0;if(a|0){c=e+8|0;h=f[c>>2]|0;if((f[e+4>>2]|0)!=(h|0)){h=h+-4|0;f[e>>2]=f[h>>2];f[c>>2]=h}f[g>>2]=a+-1}e=e+48|0}while((e|0)!=(i|0));d=d+80|0}while((d|0)!=(j|0));return}function BCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function CCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+112>>2]&1023](a,b);return}function DCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+108>>2]&1023](a,b);return}function ECa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function FCa(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;i=a+56|0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){l=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[l>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);k=jI(i,c+136|0)|0;l=(k|0)==0;if(!l){j=k+8|0;f[j>>2]=(f[j>>2]|0)+1}jEa(i,k);a:do if(f[c+112>>2]|0)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}while(0);kEa(i);i=f[e>>2]|0;d=i+32|0;e=f[d>>2]|0;if(e|0){g=i+24|0;h=f[g>>2]|0;if((f[i+20>>2]|0)!=(h|0)){j=h+-4|0;f[i+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[i+64>>2]|0;c=f[i+68>>2]|0;if((d|0)!=(c|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;a=f[h>>2]|0;if((f[d+8>>2]|0)!=(a|0)){j=a+-4|0;f[d+4>>2]=f[j>>2];f[h>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(c|0));d=f[i+76>>2]|0;j=f[i+80>>2]|0;if((d|0)!=(j|0))do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;a=f[h>>2]|0;if((f[d+24>>2]|0)!=(a|0)){i=a+-4|0;f[d+20>>2]=f[i>>2];f[h>>2]=i}f[e>>2]=g+-1}e=f[d+68>>2]|0;i=f[d+72>>2]|0;if((e|0)!=(i|0))do{a=e+16|0;c=f[a>>2]|0;if(c|0){g=e+8|0;h=f[g>>2]|0;if((f[e+4>>2]|0)!=(h|0)){h=h+-4|0;f[e>>2]=f[h>>2];f[g>>2]=h}f[a>>2]=c+-1}e=e+48|0}while((e|0)!=(i|0));d=d+80|0}while((d|0)!=(j|0));if(l)return;j=k+8|0;l=f[j>>2]|0;f[j>>2]=l-1;if((l|0)!=1)return;Rua(k,1,1);return}function GCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function HCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function ICa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function JCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function KCa(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;i=a+56|0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){l=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[l>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);k=jI(i,(f[((f[a+168>>2]|0)==0?a+352|0:a+152|0)>>2]|0)+32|0)|0;l=(k|0)==0;if(!l){j=k+8|0;f[j>>2]=(f[j>>2]|0)+1}dj[f[(f[c>>2]|0)+288>>2]&255](c,k+32|0,a)|0;QDa(i,k,f[c+136>>2]|0);a:do if(f[c+112>>2]|0)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}while(0);RDa(i);i=f[e>>2]|0;d=i+32|0;e=f[d>>2]|0;if(e|0){g=i+24|0;h=f[g>>2]|0;if((f[i+20>>2]|0)!=(h|0)){j=h+-4|0;f[i+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[i+64>>2]|0;c=f[i+68>>2]|0;if((d|0)!=(c|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;a=f[h>>2]|0;if((f[d+8>>2]|0)!=(a|0)){j=a+-4|0;f[d+4>>2]=f[j>>2];f[h>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(c|0));d=f[i+76>>2]|0;j=f[i+80>>2]|0;if((d|0)!=(j|0))do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;a=f[h>>2]|0;if((f[d+24>>2]|0)!=(a|0)){i=a+-4|0;f[d+20>>2]=f[i>>2];f[h>>2]=i}f[e>>2]=g+-1}e=f[d+68>>2]|0;i=f[d+72>>2]|0;if((e|0)!=(i|0))do{g=e+16|0;h=f[g>>2]|0;if(h|0){a=e+8|0;c=f[a>>2]|0;if((f[e+4>>2]|0)!=(c|0)){c=c+-4|0;f[e>>2]=f[c>>2];f[a>>2]=c}f[g>>2]=h+-1}e=e+48|0}while((e|0)!=(i|0));d=d+80|0}while((d|0)!=(j|0));if(l)return;j=k+8|0;l=f[j>>2]|0;f[j>>2]=l-1;if((l|0)!=1)return;Rua(k,1,1);return}function LCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+148>>2]&1023](a,b);return}function MCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+148>>2]&1023](a,b);return}function NCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+148>>2]&1023](a,b);return}function OCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+148>>2]&1023](a,b);return}function PCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+148>>2]&1023](a,b);return}function QCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+108>>2]&1023](a,b);return}function RCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function SCa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);a:do if(f[c+112>>2]|0)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}while(0);i=f[e>>2]|0;d=i+32|0;e=f[d>>2]|0;if(e|0){g=i+24|0;a=f[g>>2]|0;if((f[i+20>>2]|0)!=(a|0)){j=a+-4|0;f[i+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[i+64>>2]|0;h=f[i+68>>2]|0;if((d|0)!=(h|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){a=d+12|0;c=f[a>>2]|0;if((f[d+8>>2]|0)!=(c|0)){j=c+-4|0;f[d+4>>2]=f[j>>2];f[a>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(h|0));d=f[i+76>>2]|0;j=f[i+80>>2]|0;if((d|0)==(j|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){a=d+28|0;c=f[a>>2]|0;if((f[d+24>>2]|0)!=(c|0)){i=c+-4|0;f[d+20>>2]=f[i>>2];f[a>>2]=i}f[e>>2]=g+-1}e=f[d+68>>2]|0;i=f[d+72>>2]|0;if((e|0)!=(i|0))do{g=e+16|0;a=f[g>>2]|0;if(a|0){c=e+8|0;h=f[c>>2]|0;if((f[e+4>>2]|0)!=(h|0)){h=h+-4|0;f[e>>2]=f[h>>2];f[c>>2]=h}f[g>>2]=a+-1}e=e+48|0}while((e|0)!=(i|0));d=d+80|0}while((d|0)!=(j|0));return}function TCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+180>>2]&1023](a,b);return}function UCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function VCa(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,o=0,p=0,q=0;q=u;u=u+96|0;i=q+80|0;j=q;k=a+56|0;p=a+28|0;l=a+336|0;zDa(f[l>>2]|0,p);if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){o=(Hv(c)|0)+12|0;d=f[l>>2]|0;if(+n[o>>2]>=0.0){o=bH(d,Hv(c)|0)|0;e=f[l>>2]|0;if(o){d=f[e+76>>2]|0;m=f[e+80>>2]|0;if((d|0)==(m|0)){u=q;return}l=f[p>>2]|0;k=(f[a+32>>2]|0)-l|0;j=d;do{a=f[j+8>>2]|0;p=f[j+4>>2]|0;d=p;g=a;a:do if((a-p|0)==(k|0)){if((d|0)!=(g|0)){e=l;while(1){if((f[d>>2]|0)!=(f[e>>2]|0))break a;d=d+4|0;if((d|0)==(g|0))break;else e=e+4|0}}d=j+36|0;e=f[d>>2]|0;if(e|0){g=j+28|0;h=f[g>>2]|0;if((f[j+24>>2]|0)!=(h|0)){p=h+-4|0;f[j+20>>2]=f[p>>2];f[g>>2]=p}f[d>>2]=e+-1}d=f[j+68>>2]|0;i=f[j+72>>2]|0;if((d|0)!=(i|0))do{e=d+16|0;g=f[e>>2]|0;if(g|0){h=d+8|0;c=f[h>>2]|0;if((f[d+4>>2]|0)!=(c|0)){p=c+-4|0;f[d>>2]=f[p>>2];f[h>>2]=p}f[e>>2]=g+-1}d=d+48|0}while((d|0)!=(i|0))}while(0);j=j+80|0}while((j|0)!=(m|0));u=q;return}else d=e}else g=5}else{d=f[l>>2]|0;g=5}if((g|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);d=f[c+136>>2]|0;if(d|0){e=j+36|0;g=j;h=g+68|0;do{f[g>>2]=0;g=g+4|0}while((g|0)<(h|0));f[e>>2]=1;f[j+68>>2]=0;f[j+72>>2]=0;f[j+76>>2]=0;if(ADa(j,p,d,k,0)|0?+n[j>>2]>+n[a+372>>2]:0)BDa(i,a+384|0,j,j);qN(j)}b:do if(f[c+112>>2]|0)switch(f[a+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break b}}while(0);j=f[l>>2]|0;d=j+32|0;e=f[d>>2]|0;if(e|0){g=j+24|0;h=f[g>>2]|0;if((f[j+20>>2]|0)!=(h|0)){o=h+-4|0;f[j+16>>2]=f[o>>2];f[g>>2]=o}f[d>>2]=e+-1}d=f[j+64>>2]|0;i=f[j+68>>2]|0;if((d|0)!=(i|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;c=f[h>>2]|0;if((f[d+8>>2]|0)!=(c|0)){o=c+-4|0;f[d+4>>2]=f[o>>2];f[h>>2]=o}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(i|0));k=f[j+76>>2]|0;o=f[j+80>>2]|0;if((k|0)==(o|0)){u=q;return}j=k;do{d=j+36|0;e=f[d>>2]|0;if(e|0){g=j+28|0;h=f[g>>2]|0;if((f[j+24>>2]|0)!=(h|0)){m=h+-4|0;f[j+20>>2]=f[m>>2];f[g>>2]=m}f[d>>2]=e+-1}d=f[j+68>>2]|0;i=f[j+72>>2]|0;if((d|0)!=(i|0))do{e=d+16|0;g=f[e>>2]|0;if(g|0){h=d+8|0;c=f[h>>2]|0;if((f[d+4>>2]|0)!=(c|0)){m=c+-4|0;f[d>>2]=f[m>>2];f[h>>2]=m}f[e>>2]=g+-1}d=d+48|0}while((d|0)!=(i|0));j=j+80|0}while((j|0)!=(o|0));m=f[p>>2]|0;l=(f[a+32>>2]|0)-m|0;j=k;do{a=f[j+8>>2]|0;p=f[j+4>>2]|0;d=p;g=a;c:do if((a-p|0)==(l|0)){if((d|0)!=(g|0)){e=m;while(1){if((f[d>>2]|0)!=(f[e>>2]|0))break c;d=d+4|0;if((d|0)==(g|0))break;else e=e+4|0}}d=j+36|0;e=f[d>>2]|0;if(e|0){g=j+28|0;h=f[g>>2]|0;if((f[j+24>>2]|0)!=(h|0)){p=h+-4|0;f[j+20>>2]=f[p>>2];f[g>>2]=p}f[d>>2]=e+-1}d=f[j+68>>2]|0;i=f[j+72>>2]|0;if((d|0)!=(i|0))do{e=d+16|0;g=f[e>>2]|0;if(g|0){h=d+8|0;c=f[h>>2]|0;if((f[d+4>>2]|0)!=(c|0)){p=c+-4|0;f[d>>2]=f[p>>2];f[h>>2]=p}f[e>>2]=g+-1}d=d+48|0}while((d|0)!=(i|0))}while(0);j=j+80|0}while((j|0)!=(o|0));u=q;return}function WCa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function XCa(a){a=a|0;var b=0,c=0;b=a+-56|0;f[b>>2]=341432;a=b+396|0;f[a>>2]=341828;c=b+56|0;f[c>>2]=341640;yDa(b+384|0,f[b+388>>2]|0);eDa(c);dDa(b,341996);Gva(a);return}function YCa(a){a=a|0;var b=0,c=0;a=a+-56|0;f[a>>2]=341432;b=a+396|0;f[b>>2]=341828;c=a+56|0;f[c>>2]=341640;yDa(a+384|0,f[a+388>>2]|0);eDa(c);dDa(a,341996);Gva(b);GBb(a);return}function ZCa(a){a=a|0;var b=0,c=0;b=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[b>>2]=341432;a=b+396|0;f[a>>2]=341828;c=b+56|0;f[c>>2]=341640;yDa(b+384|0,f[b+388>>2]|0);eDa(c);dDa(b,341996);Gva(a);return}function _Ca(a){a=a|0;var b=0,c=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=341432;b=a+396|0;f[b>>2]=341828;c=a+56|0;f[c>>2]=341640;yDa(a+384|0,f[a+388>>2]|0);eDa(c);dDa(a,341996);Gva(b);GBb(a);return}function $Ca(a){a=a|0;var c=0,d=0;a=EBb(432)|0;c=a+396|0;f[a+400>>2]=0;f[a+404>>2]=0;d=a+408|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[a+420>>2]=2;f[a+424>>2]=0;f[a>>2]=295620;f[c>>2]=295988;f[a+12>>2]=0;d=a+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[d+24>>2]=0;f[a+4>>2]=3;f[a+8>>2]=-1;f[a+16>>2]=3;f[a+20>>2]=-1;f[a+24>>2]=0;d=a+56|0;cDa(d);f[a>>2]=341432;f[c>>2]=341828;f[d>>2]=341640;d=a+388|0;f[d>>2]=0;f[a+392>>2]=0;f[a+384>>2]=d;f[a+72>>2]=15;d=a+60|0;if(f[a+64>>2]|0){d=a+372|0;n[d>>2]=.004999999888241291;d=a+376|0;f[d>>2]=10;d=a+380|0;b[d>>0]=0;return c|0}f[d>>2]=f[d>>2]&-3;d=a+372|0;n[d>>2]=.004999999888241291;d=a+376|0;f[d>>2]=10;d=a+380|0;b[d>>0]=0;return c|0}function aDa(a){a=a|0;return 409756}function bDa(a){a=a|0;return 429151}function cDa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;f[a>>2]=340996;f[a+28>>2]=0;f[a+4>>2]=2147483647;f[a+8>>2]=0;f[a+16>>2]=57;n[a+20>>2]=1.0;n[a+24>>2]=2.0;f[a+12>>2]=1;p[a+32>>3]=.0005;b[a+40>>0]=1;b[a+41>>0]=0;n[a+44>>2]=4.0;f[a+48>>2]=10;f[a+52>>2]=-1;f[a+56>>2]=-1;f[a+60>>2]=-1;iBa(a);f[a>>2]=342016;h=a+156|0;c=a+296|0;_Db(a+64|0,0,212)|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+284>>2]=-1.0;f[a+288>>2]=0;f[a+292>>2]=7;f[a+312>>2]=0;d=EBb(160)|0;f[d+4>>2]=0;e=d+8|0;f[e>>2]=0;f[d>>2]=338032;g=d+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f3a(d+32|0);f[d>>2]=313412;g=f[c>>2]|0;if(((g|0)!=(d|0)?(f[c>>2]=d,f[e>>2]=(f[e>>2]|0)+1,g|0):0)?(d=g+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(g,1,1);f[a+276>>2]=0;f[a+280>>2]=0;c=a+180|0;do if(f[c>>2]|0){d=a+172|0;e=f[d>>2]|0;if((e|0)==(f[a+176>>2]|0)){lF(a+168|0,h);break}else{f[e>>2]=f[h>>2];f[e+4>>2]=f[h+4>>2];f[e+8>>2]=f[h+8>>2];f[d>>2]=(f[d>>2]|0)+12;break}}while(0);n[a+156>>2]=0.0;n[a+160>>2]=0.0;n[a+164>>2]=0.0;f[c>>2]=(f[c>>2]|0)+1;return}function dDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[b>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+4>>2];b=a+52|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;b=a+48|0;c=f[b>>2]|0;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[b>>2]=0;b=a+44|0;c=f[b>>2]|0;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[b>>2]=0;b=a+40|0;c=f[b>>2]|0;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[b>>2]=0;b=f[a+28>>2]|0;if(b|0){f[a+32>>2]=b;GBb(b)}b=a+12|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;return}d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[b>>2]=0;return}Rua(c,1,1);f[b>>2]=0;return}function eDa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=342016;gDa(a);d=a+300|0;e=f[d>>2]|0;if(e|0){g=a+304|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=a+296|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;c=a+264|0;d=f[c>>2]|0;if(d|0){e=a+268|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-108|0;tj[f[(f[b>>2]|0)+4>>2]&2047](b)}while((b|0)!=(d|0));b=f[c>>2]|0}f[e>>2]=d;GBb(b)}c=a+252|0;d=f[c>>2]|0;if(d|0){e=a+256|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-108|0;tj[f[(f[b>>2]|0)+4>>2]&2047](b)}while((b|0)!=(d|0));b=f[c>>2]|0}f[e>>2]=d;GBb(b)}c=a+240|0;d=f[c>>2]|0;if(d|0){e=a+244|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-108|0;tj[f[(f[b>>2]|0)+4>>2]&2047](b)}while((b|0)!=(d|0));b=f[c>>2]|0}f[e>>2]=d;GBb(b)}b=f[a+224>>2]|0;if(b|0){f[a+228>>2]=b;GBb(b)}b=f[a+196>>2]|0;if(b|0){f[a+200>>2]=b;GBb(b)}b=f[a+168>>2]|0;if(b|0){f[a+172>>2]=b;GBb(b)}d=a+140|0;e=f[d>>2]|0;if(e|0){g=a+144|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=a+136|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;d=a+120|0;e=f[d>>2]|0;if(e|0){g=a+124|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=a+116|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;d=a+100|0;e=f[d>>2]|0;if(e|0){g=a+104|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=a+96|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;d=a+80|0;e=f[d>>2]|0;if(e|0){g=a+84|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;do if(c|0){h=c+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1)break;Rua(c,1,1)}while(0);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=a+76|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;c=a+64|0;d=f[c>>2]|0;if(d|0){e=a+68|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-80|0;qN(b)}while((b|0)!=(d|0));b=f[c>>2]|0}f[e>>2]=d;GBb(b)}f[a>>2]=340996;b=a+28|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;return}h=c+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[b>>2]=0;return}Rua(c,1,1);f[b>>2]=0;return}function fDa(a){a=a|0;eDa(a);GBb(a);return}function gDa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=f[a+80>>2]|0;e=a+84|0;b=f[e>>2]|0;if((b|0)!=(d|0))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));f[e>>2]=d;f[a+92>>2]=0;d=f[a+100>>2]|0;e=a+104|0;b=f[e>>2]|0;if((b|0)!=(d|0))do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));f[e>>2]=d;f[a+112>>2]=0;d=f[a+140>>2]|0;e=a+144|0;b=f[e>>2]|0;if((b|0)!=(d|0))do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));f[e>>2]=d;f[a+152>>2]=0;f[a+172>>2]=f[a+168>>2];n[a+156>>2]=0.0;n[a+160>>2]=0.0;n[a+164>>2]=0.0;f[a+180>>2]=1;f[a+200>>2]=f[a+196>>2];f[a+208>>2]=0;f[a+228>>2]=f[a+224>>2];f[a+236>>2]=0;c=f[a+240>>2]|0;d=a+244|0;b=f[d>>2]|0;if((b|0)!=(c|0))do{b=b+-108|0;tj[f[(f[b>>2]|0)+4>>2]&2047](b)}while((b|0)!=(c|0));f[d>>2]=c;c=f[a+252>>2]|0;d=a+256|0;b=f[d>>2]|0;if((b|0)==(c|0)){f[d>>2]=c;h=a+276|0;f[h>>2]=0;h=a+280|0;f[h>>2]=0;h=a+292|0;f[h>>2]=3;h=a+288|0;f[h>>2]=4;h=a+312|0;f[h>>2]=0;return}do{b=b+-108|0;tj[f[(f[b>>2]|0)+4>>2]&2047](b)}while((b|0)!=(c|0));f[d>>2]=c;h=a+276|0;f[h>>2]=0;h=a+280|0;f[h>>2]=0;h=a+292|0;f[h>>2]=3;h=a+288|0;f[h>>2]=4;h=a+312|0;f[h>>2]=0;return}function hDa(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 iDa(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 jDa(a){a=a|0;var b=0,c=0,d=0;c=f[a>>2]|0;if(!c)return;d=a+4|0;b=f[d>>2]|0;if((b|0)==(c|0))b=c;else{do{b=b+-108|0;tj[f[(f[b>>2]|0)+4>>2]&2047](b)}while((b|0)!=(c|0));b=f[a>>2]|0}f[d>>2]=c;GBb(b);return}function kDa(a){a=a|0;var b=0;b=f[a+12>>2]|0;if(!b)return;f[a+16>>2]=b;GBb(b);return}function lDa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;d=a+4|0;e=f[d>>2]|0;if(e|0){g=a+8|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=f[a>>2]|0;if(!b){f[a>>2]=0;return}h=b+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function mDa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;d=a+4|0;e=f[d>>2]|0;if(e|0){g=a+8|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=f[a>>2]|0;if(!b){f[a>>2]=0;return}h=b+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function nDa(a){a=a|0;var b=0,c=0,d=0;c=f[a>>2]|0;if(!c)return;d=a+4|0;b=f[d>>2]|0;if((b|0)==(c|0))b=c;else{do{b=b+-80|0;qN(b)}while((b|0)!=(c|0));b=f[a>>2]|0}f[d>>2]=c;GBb(b);return}function oDa(a){a=a|0;dDa(a,342036);Gva(a+56|0);return}function pDa(a){a=a|0;dDa(a,342036);Gva(a+56|0);GBb(a);return}function qDa(a,b){a=a|0;b=b|0;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 rDa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function sDa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function tDa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function uDa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function vDa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function wDa(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,342036);Gva(a+56|0);return}function xDa(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,342036);Gva(a+56|0);GBb(a);return}function yDa(a,b){a=a|0;b=b|0;if(!b)return;else{yDa(a,f[b>>2]|0);yDa(a,f[b+4>>2]|0);qN(b+16|0);GBb(b);return}}function zDa(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;c=f[a+76>>2]|0;m=a+80|0;if((c|0)==(f[m>>2]|0))return;n=b+4|0;do{k=f[c+8>>2]|0;l=f[c+4>>2]|0;d=f[b>>2]|0;a=l;e=k;a:do if((k-l|0)==((f[n>>2]|0)-d|0)){if((a|0)!=(e|0))while(1){if((f[a>>2]|0)!=(f[d>>2]|0))break a;a=a+4|0;if((a|0)==(e|0))break;else d=d+4|0}k=c+40|0;f[k>>2]=0;g=c+68|0;h=f[g>>2]|0;l=c+72|0;a=f[l>>2]|0;if((h|0)!=(a|0)){d=h;do{f[d+20>>2]=0;d=d+48|0}while((d|0)!=(a|0))}j=c+36|0;i=c+20|0;do if(f[j>>2]|0){d=c+28|0;e=f[d>>2]|0;if((e|0)==(f[c+32>>2]|0)){iw(c+24|0,i);d=f[g>>2]|0;a=f[l>>2]|0;break}else{f[e>>2]=f[i>>2];f[d>>2]=e+4;d=h;break}}else d=h;while(0);f[i>>2]=f[k>>2];f[j>>2]=(f[j>>2]|0)+1;if((d|0)!=(a|0))do{h=d+20|0;i=d+16|0;do if(f[i>>2]|0){e=d+8|0;g=f[e>>2]|0;if((g|0)==(f[d+12>>2]|0)){iw(d+4|0,d);a=f[l>>2]|0;break}else{f[g>>2]=f[d>>2];f[e>>2]=g+4;break}}while(0);f[d>>2]=f[h>>2];f[i>>2]=(f[i>>2]|0)+1;d=d+48|0}while((d|0)!=(a|0))}while(0);c=c+80|0}while((c|0)!=(f[m>>2]|0));return}function ADa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.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.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.0,ua=0.0,va=0.0,wa=0.0;sa=u;u=u+432|0;oa=sa+208|0;pa=sa+80|0;ra=sa+408|0;qa=sa+396|0;F=sa+40|0;la=sa+384|0;ma=sa+336|0;na=sa;j=f[d+280>>2]|0;h=d+296|0;i=f[((f[d+112>>2]|0)==0?h:d+96|0)>>2]|0;h=f[((f[d+92>>2]|0)==0?h:d+76|0)>>2]|0;e=a+4|0;if((e|0)!=(b|0))wC(e,f[b>>2]|0,f[b+4>>2]|0);e=a+16|0;b=f[e>>2]|0;if((b|0)!=(h|0)){f[e>>2]=h;if(h|0){ka=h+8|0;f[ka>>2]=(f[ka>>2]|0)+1}if(b|0?(ja=b+8|0,ka=f[ja>>2]|0,f[ja>>2]=ka-1,(ka|0)==1):0)Rua(b,1,1)}n[a>>2]=0.0;f3a(oa);b=h+32|0;if(((+p[h+56>>3]==0.0?+p[h+88>>3]==0.0:0)?+p[h+120>>3]==0.0:0)?+p[h+152>>3]==1.0:0)o3a(oa,b)|0;else p3a(oa,b)|0;e=d+284|0;g=+n[e>>2];if(g<0.0){CDa(d);g=+n[e>>2]}ja=i+32|0;f3a(pa);l3a(pa,ja,b);f[ra>>2]=0;ka=ra+4|0;f[ka>>2]=0;f[ra+8>>2]=0;ha=j+40|0;if((DDa(ha,c+32|0,ra)|0)>>>0>2){f[qa>>2]=0;ia=qa+4|0;f[ia>>2]=0;f[qa+8>>2]=0;EDa(qa,(f[ka>>2]|0)-(f[ra>>2]|0)>>4);FDa(ra,qa,pa);h=f[qa>>2]|0;b=f[ia>>2]|0;if((h|0)!=(b|0)){e=h;do{n[e+12>>2]=1.0;e=e+16|0}while((e|0)!=(b|0));w=+p[oa+24>>3];x=+p[oa+56>>3];y=+p[oa+88>>3];z=+p[oa+120>>3];A=+p[oa>>3];B=+p[oa+32>>3];C=+p[oa+64>>3];k=+p[oa+96>>3];l=+p[oa+8>>3];m=+p[oa+40>>3];o=+p[oa+72>>3];q=+p[oa+104>>3];r=+p[oa+16>>3];s=+p[oa+48>>3];t=+p[oa+80>>3];v=+p[oa+112>>3];e=h;do{ea=e+4|0;wa=+n[ea>>2];fa=e+8|0;va=+n[fa>>2];ga=e+12|0;ua=+n[ga>>2];ta=1.0/(z+(w*wa+x*va+y*ua));n[ea>>2]=(k+(A*wa+B*va+C*ua))*ta;n[fa>>2]=(q+(l*wa+m*va+o*ua))*ta;n[ga>>2]=(v+(r*wa+s*va+t*ua))*ta;e=e+16|0}while((e|0)!=(f[ia>>2]|0))}GDa(ra,ja);i=a+56|0;oy(i,(f[ka>>2]|0)-(f[ra>>2]|0)>>4);e=f[ra>>2]|0;if((e|0)!=(f[ka>>2]|0)){d=a+60|0;j=a+64|0;do{b=e+4|0;h=f[d>>2]|0;if((h|0)==(f[j>>2]|0))lF(i,b);else{f[h>>2]=f[b>>2];f[h+4>>2]=f[b+4>>2];f[h+8>>2]=f[b+8>>2];f[d>>2]=(f[d>>2]|0)+12}e=e+16|0}while((e|0)!=(f[ka>>2]|0))}HDa(F,ra);d=a+44|0;E=a+48|0;e=f[E>>2]|0;if((e|0)==(f[a+52>>2]|0)){eK(d,F);b=f[E>>2]|0}else{va=+p[F>>3];p[e>>3]=va;ua=+p[F+8>>3];p[e+8>>3]=ua;wa=+p[F+16>>3];p[e+16>>3]=wa;p[e+24>>3]=+p[F+24>>3];b=(ua>=0.0?2:0)|va>=0.0|(wa>=0.0?4:0);f[e+32>>2]=b;f[e+36>>2]=b^7;b=e+40|0;f[E>>2]=b}D=a+40|0;f[D>>2]=0;e=f[d>>2]|0;if((b|0)!=(e|0)){b=(b-e|0)/40|0;e=0;h=0;do{h=h<<1|1;e=e+1|0}while(e>>>0<b>>>0);f[D>>2]=h}j=a+36|0;i=a+20|0;do if(f[j>>2]|0){e=a+28|0;b=f[e>>2]|0;if((b|0)==(f[a+32>>2]|0)){iw(a+24|0,i);break}else{f[b>>2]=f[i>>2];f[e>>2]=b+4;break}}while(0);f[i>>2]=f[D>>2];f[j>>2]=(f[j>>2]|0)+1;IDa(ra,qa,d);f[D>>2]=0;b=f[E>>2]|0;e=f[d>>2]|0;if((b|0)!=(e|0)){b=(b-e|0)/40|0;e=0;h=0;do{h=h<<1|1;e=e+1|0}while(e>>>0<b>>>0);f[D>>2]=h}do if(f[j>>2]|0){e=a+28|0;b=f[e>>2]|0;if((b|0)==(f[a+32>>2]|0)){iw(a+24|0,i);break}else{f[b>>2]=f[i>>2];f[e>>2]=b+4;break}}while(0);f[i>>2]=f[D>>2];f[j>>2]=(f[j>>2]|0)+1;if(+p[F+24>>3]>0.0?(G=f[a+44>>2]|0,H=f[E>>2]|0,(G|0)!=(H|0)):0){e=G;do{va=+p[e>>3];p[e>>3]=-va;ga=e+8|0;ua=+p[ga>>3];p[ga>>3]=-ua;ga=e+16|0;wa=+p[ga>>3];p[ga>>3]=-wa;ga=e+24|0;p[ga>>3]=-+p[ga>>3];ga=(ua<=-0.0?2:0)|va<=-0.0|(wa<=-0.0?4:0);f[e+32>>2]=ga;f[e+36>>2]=ga^7;e=e+40|0}while((e|0)!=(H|0))}wa=+JDa(ra,qa)/g;n[a>>2]=wa;e=f[c+44>>2]|0;F=c+48|0;if((e|0)!=(f[F>>2]|0)){G=la+4|0;H=la+8|0;c=ma+16|0;I=a+72|0;J=a+76|0;K=ma+36|0;L=a+68|0;M=ma+24|0;N=ma+40|0;O=ma+4|0;P=ma+28|0;Q=ma+4|0;R=ma+8|0;S=ma+8|0;T=oa+24|0;U=oa+56|0;V=oa+88|0;W=oa+120|0;X=oa+32|0;Y=oa+64|0;Z=oa+96|0;_=oa+8|0;$=oa+40|0;aa=oa+72|0;ba=oa+104|0;ca=oa+16|0;da=oa+48|0;ea=oa+80|0;fa=oa+112|0;ga=na+24|0;do{f[la>>2]=0;f[G>>2]=0;f[H>>2]=0;if((DDa(ha,e,la)|0)>>>0>2){b=ma;h=b+48|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(h|0));f[c>>2]=1;b=f[I>>2]|0;if(b>>>0<(f[J>>2]|0)>>>0){wN(b,ma);f[I>>2]=(f[I>>2]|0)+48}else KDa(L,ma);b=f[K>>2]|0;if(b|0){f[N>>2]=b;GBb(b)}b=f[M>>2]|0;if(b|0){f[P>>2]=b;GBb(b)}b=f[O>>2]|0;if(b|0){f[S>>2]=b;GBb(b)}E=f[I>>2]|0;f[ma>>2]=0;f[Q>>2]=0;f[R>>2]=0;EDa(ma,(f[G>>2]|0)-(f[la>>2]|0)>>4);FDa(la,ma,pa);i=f[ma>>2]|0;h=f[Q>>2]|0;if((i|0)!=(h|0)){b=i;do{n[b+12>>2]=1.0;b=b+16|0}while((b|0)!=(h|0));k=+p[T>>3];l=+p[U>>3];m=+p[V>>3];o=+p[W>>3];q=+p[oa>>3];r=+p[X>>3];s=+p[Y>>3];t=+p[Z>>3];v=+p[_>>3];w=+p[$>>3];x=+p[aa>>3];y=+p[ba>>3];z=+p[ca>>3];A=+p[da>>3];B=+p[ea>>3];C=+p[fa>>3];b=i;do{d=b+4|0;ta=+n[d>>2];j=b+8|0;ua=+n[j>>2];D=b+12|0;va=+n[D>>2];wa=1.0/(o+(k*ta+l*ua+m*va));n[d>>2]=(t+(q*ta+r*ua+s*va))*wa;n[j>>2]=(y+(v*ta+w*ua+x*va))*wa;n[D>>2]=(C+(z*ta+A*ua+B*va))*wa;b=b+16|0}while((b|0)!=(f[Q>>2]|0))}GDa(la,ja);d=E+-12|0;oy(d,(f[G>>2]|0)-(f[la>>2]|0)>>4);b=f[la>>2]|0;if((b|0)!=(f[G>>2]|0)){j=E+-8|0;D=E+-4|0;do{h=b+4|0;i=f[j>>2]|0;if((i|0)==(f[D>>2]|0))lF(d,h);else{f[i>>2]=f[h>>2];f[i+4>>2]=f[h+4>>2];f[i+8>>2]=f[h+8>>2];f[j>>2]=(f[j>>2]|0)+12}b=b+16|0}while((b|0)!=(f[G>>2]|0))}HDa(na,la);h=E+-24|0;IDa(la,ma,h);j=E+-28|0;f[j>>2]=0;D=E+-20|0;b=f[D>>2]|0;h=f[h>>2]|0;if((b|0)!=(h|0)){h=(b-h|0)/40|0;b=0;i=0;do{i=i<<1|1;b=b+1|0}while(b>>>0<h>>>0);f[j>>2]=i}h=E+-32|0;b=E+-48|0;do if(f[h>>2]|0){i=E+-40|0;d=f[i>>2]|0;if((d|0)==(f[E+-36>>2]|0)){iw(E+-44|0,b);break}else{f[d>>2]=f[b>>2];f[i>>2]=d+4;break}}while(0);f[b>>2]=f[j>>2];f[h>>2]=(f[h>>2]|0)+1;do if(+p[ga>>3]>0.0){b=f[E+-24>>2]|0;h=f[D>>2]|0;if((b|0)==(h|0))break;do{va=+p[b>>3];p[b>>3]=-va;E=b+8|0;ua=+p[E>>3];p[E>>3]=-ua;E=b+16|0;wa=+p[E>>3];p[E>>3]=-wa;E=b+24|0;p[E>>3]=-+p[E>>3];E=(ua<=-0.0?2:0)|va<=-0.0|(wa<=-0.0?4:0);f[b+32>>2]=E;f[b+36>>2]=E^7;b=b+40|0}while((b|0)!=(h|0))}while(0);wa=+JDa(la,ma)/g;n[a>>2]=+n[a>>2]-wa;b=f[ma>>2]|0;if(b|0){f[Q>>2]=b;GBb(b)}}b=f[la>>2]|0;if(b|0){f[G>>2]=b;GBb(b)}e=e+12|0}while((e|0)!=(f[F>>2]|0))}e=f[qa>>2]|0;if(e|0){f[ia>>2]=e;GBb(e)}b=1}else b=0;e=f[ra>>2]|0;if(!e){u=sa;return b|0}f[ka>>2]=e;GBb(e);u=sa;return b|0}function BDa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0,i=0,j=0,k=0.0;h=c+4|0;j=f[h>>2]|0;do if(j){k=+n[d>>2];i=c+4|0;d=j;while(1){g=+n[d+16>>2];if(k>g){h=f[d>>2]|0;if(!h){h=5;break}else{i=d;d=h}}else{if(!(g>k)){h=9;break}i=d+4|0;h=f[i>>2]|0;if(!h){h=8;break}else d=h}}if((h|0)==5){j=d;i=d;break}else if((h|0)==8){j=d;break}else if((h|0)==9){j=d;break}}else{j=h;i=h}while(0);d=f[i>>2]|0;if(d|0){c=d;e=0;f[a>>2]=c;c=a+4|0;b[c>>0]=e;return}h=EBb(96)|0;rN(h+16|0,e);f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=j;f[i>>2]=h;d=f[f[c>>2]>>2]|0;if(!d)d=h;else{f[c>>2]=d;d=f[i>>2]|0}Xo(f[c+4>>2]|0,d);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=h;e=1;f[a>>2]=c;c=a+4|0;b[c>>0]=e;return}function CDa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.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.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0,fa=0.0,ga=0.0;d=u;u=u+128|0;b=d;f3a(b);e=f[((f[a+92>>2]|0)==0?a+296|0:a+76|0)>>2]|0;c=e+32|0;if(((+p[e+56>>3]==0.0?+p[e+88>>3]==0.0:0)?+p[e+120>>3]==0.0:0)?+p[e+152>>3]==1.0:0)o3a(b,c)|0;else p3a(b,c)|0;Q=+p[b+24>>3];y=+p[b+56>>3];D=-y-Q;v=+p[b+88>>3];r=+p[b+120>>3];T=1.0/(r+(D-v));O=+p[b>>3];N=+p[b+32>>3];R=-N-O;ca=+p[b+64>>3];ea=+p[b+96>>3];K=+p[b+8>>3];I=+p[b+40>>3];U=-I-K;da=+p[b+72>>3];X=+p[b+104>>3];B=+p[b+16>>3];P=+p[b+48>>3];S=-P-B;ba=+p[b+80>>3];Y=+p[b+112>>3];fa=y-Q;aa=1.0/(r+(fa-v));Z=N-O;_=aa*(ea+(Z-ca));V=I-K;W=aa*(X+(V-da));$=P-B;aa=aa*(Y+($-ba));ga=Q+y;C=1.0/(r+(ga-v));h=O+N;A=C*(ea+(h-ca));m=K+I;w=C*(X+(m-da));i=B+P;C=C*(Y+(i-ba));y=Q-y;Q=1.0/(r+(y-v));N=O-N;O=Q*(ea+(N-ca));I=K-I;K=Q*(X+(I-da));P=B-P;Q=Q*(Y+(P-ba));D=1.0/(r+(D+v));B=D*(ea+(R+ca));x=D*(X+(U+da));D=D*(Y+(S+ba));fa=1.0/(r+(fa+v));Z=fa*(ea+(Z+ca));V=fa*(X+(V+da));$=fa*(Y+($+ba));ga=1.0/(r+(ga+v));h=ga*(ea+(h+ca));m=ga*(X+(m+da));i=ga*(Y+(i+ba));v=1.0/(r+(y+v));N=v*(ea+(N+ca));I=v*(X+(I+da));P=v*(Y+(P+ba));v=_-A;y=W-w;r=aa-C;ca=T*(ea+(R-ca))-_;da=T*(X+(U-da))-W;ba=T*(Y+(S-ba))-aa;S=Z-h;Y=V-m;T=$-i;U=B-Z;X=x-V;R=D-$;ea=h-_;ga=m-W;fa=i-aa;j=B-h;l=x-m;g=D-i;o=A-h;k=w-m;q=C-i;s=A-O;z=w-K;t=C-Q;h=h-N;m=m-I;i=i-P;F=N-A;M=I-w;G=P-C;H=B-N;L=x-I;E=D-P;g=+J(+((ea*l-j*ga)*q+(o*(ga*g-l*fa)+k*(j*fa-ea*g))))+(+J(+((v*da-ca*y)*(D-aa)+((B-_)*(y*ba-da*r)+(x-W)*(ca*r-v*ba))))+ +J(+((S*X-U*Y)*(aa-$)+((_-Z)*(Y*R-X*T)+(W-V)*(U*T-S*R)))))+(+J(+((F*L-H*M)*(Q-P)+((O-N)*(M*E-L*G)+(K-I)*(H*G-F*E))))+(+J(+((s*y-v*z)*(D-C)+((B-A)*(z*r-y*t)+(x-w)*(v*t-s*r))))+ +J(+((h*l-j*m)*q+(o*(m*g-l*i)+k*(j*i-h*g))))));n[a+284>>2]=g;u=d;return}function DDa(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,t=0,v=0;v=u;u=u+32|0;g=v+16|0;r=v;f[r>>2]=0;s=r+4|0;f[s>>2]=0;q=r+8|0;f[q>>2]=0;h=b+4|0;EDa(r,((f[h>>2]|0)-(f[b>>2]|0)|0)/12|0);b=f[b>>2]|0;if((b|0)!=(f[h>>2]|0)){e=g+4|0;do{f[g>>2]=0;f[e>>2]=f[b>>2];f[e+4>>2]=f[b+4>>2];f[e+8>>2]=f[b+8>>2];d=f[s>>2]|0;if(d>>>0<(f[q>>2]|0)>>>0){f[d>>2]=f[g>>2];f[d+4>>2]=f[g+4>>2];f[d+8>>2]=f[g+8>>2];f[d+12>>2]=f[g+12>>2];f[s>>2]=d+16}else MDa(r,g);b=b+12|0}while((b|0)!=(f[h>>2]|0))}b=f[a>>2]|0;h=a+4|0;a:do if((b|0)==(f[h>>2]|0)){h=c+4|0;e=c+8|0;m=c;n=s;a=h;k=q;j=e;b=f[c>>2]|0;i=f[r>>2]|0;h=f[h>>2]|0;g=f[s>>2]|0;e=f[e>>2]|0;d=f[q>>2]|0;t=12}else{a=c+4|0;j=c+8|0;g=1;e=b;while(1){if(!(NDa(e,r,c,g)|0))break;b=f[r>>2]|0;i=f[c>>2]|0;f[r>>2]=i;f[c>>2]=b;l=f[s>>2]|0;o=f[a>>2]|0;f[s>>2]=o;f[a>>2]=l;p=f[q>>2]|0;d=f[j>>2]|0;f[q>>2]=d;f[j>>2]=p;e=e+40|0;if((e|0)==(f[h>>2]|0)){m=c;n=s;k=q;h=l;g=o;e=p;t=12;break a}else g=g<<1}d=0;b=f[r>>2]|0}while(0);if((t|0)==12){f[r>>2]=b;f[m>>2]=i;f[n>>2]=h;f[a>>2]=g;f[k>>2]=e;f[j>>2]=d;d=g-i>>4}if(!b){u=v;return d|0}f[s>>2]=b;GBb(b);u=v;return d|0}function EDa(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 FDa(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,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.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0;E=u;u=u+16|0;D=E;d=f[a>>2]|0;A=a+4|0;if((d|0)==(f[A>>2]|0)){u=E;return}B=c+24|0;C=c+56|0;i=c+88|0;j=c+120|0;k=c+32|0;l=c+64|0;m=c+96|0;o=c+8|0;q=c+40|0;r=c+72|0;s=c+104|0;t=c+16|0;v=c+48|0;w=c+80|0;x=c+112|0;e=D+4|0;g=D+8|0;h=D+12|0;y=b+4|0;z=b+8|0;a=d;do{J=+n[a+4>>2];I=+n[a+8>>2];F=+n[a+12>>2];K=1.0/(+p[j>>3]+(+p[B>>3]*J+ +p[C>>3]*I+ +p[i>>3]*F));H=K*(+p[m>>3]+(+p[c>>3]*J+ +p[k>>3]*I+ +p[l>>3]*F));G=K*(+p[s>>3]+(+p[o>>3]*J+ +p[q>>3]*I+ +p[r>>3]*F));F=K*(+p[x>>3]+(+p[t>>3]*J+ +p[v>>3]*I+ +p[w>>3]*F));f[D>>2]=f[a>>2];n[e>>2]=H;n[g>>2]=G;n[h>>2]=F;d=f[y>>2]|0;if(d>>>0<(f[z>>2]|0)>>>0){f[d>>2]=f[D>>2];f[d+4>>2]=f[D+4>>2];f[d+8>>2]=f[D+8>>2];f[d+12>>2]=f[D+12>>2];f[y>>2]=(f[y>>2]|0)+16}else MDa(b,D);a=a+16|0}while((a|0)!=(f[A>>2]|0));u=E;return}function GDa(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0;d=f[a>>2]|0;q=a+4|0;if((d|0)==(f[q>>2]|0))return;e=+p[b+24>>3];g=+p[b+56>>3];h=+p[b+88>>3];i=+p[b+120>>3];j=+p[b>>3];k=+p[b+32>>3];l=+p[b+64>>3];m=+p[b+96>>3];o=+p[b+8>>3];r=+p[b+40>>3];s=+p[b+72>>3];t=+p[b+104>>3];u=+p[b+16>>3];v=+p[b+48>>3];w=+p[b+80>>3];c=+p[b+112>>3];a=d;do{B=a+4|0;z=+n[B>>2];b=a+8|0;y=+n[b>>2];d=a+12|0;x=+n[d>>2];A=1.0/(i+(e*z+g*y+h*x));n[B>>2]=A*(m+(j*z+k*y+l*x));n[b>>2]=A*(t+(o*z+r*y+s*x));n[d>>2]=A*(c+(u*z+v*y+w*x));a=a+16|0}while((a|0)!=(f[q>>2]|0));return}function HDa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;b=f[b>>2]|0;j=+n[b+36>>2];k=+n[b+40>>2];i=+n[b+44>>2];d=+n[b+20>>2];e=+n[b+24>>2];g=+n[b+28>>2];l=d-j;h=e-k;m=g-i;d=+n[b+4>>2]-d;e=+n[b+8>>2]-e;g=+n[b+12>>2]-g;c=h*g-m*e;g=m*d-l*g;d=l*e-h*d;h=+K(+(d*d+(c*c+g*g)));if(h>1.0e-06){e=c/h;d=d/h;c=g/h}else{e=0.0;d=0.0;c=0.0}p[a>>3]=e;p[a+8>>3]=c;p[a+16>>3]=d;p[a+24>>3]=-(e*j+c*k+d*i);b=(c>=0.0?2:0)|e>=0.0|(d>=0.0?4:0);f[a+32>>2]=b;f[a+36>>2]=b^7;return}function IDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.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.0,G=0.0;E=u;u=u+48|0;C=E;D=a+4|0;e=f[D>>2]|0;d=f[a>>2]|0;g=e-d|0;if(!g){u=E;return}v=C+8|0;w=C+16|0;x=C+24|0;y=C+32|0;z=C+36|0;A=c+4|0;B=c+8|0;t=0;g=g>>4;do{j=d;h=t;t=t+1|0;g=(t>>>0)%(g>>>0)|0;if(!(f[j+(g<<4)>>2]&f[j+(h<<4)>>2])){q=+n[j+(h<<4)+4>>2];r=+n[j+(h<<4)+8>>2];s=+n[j+(h<<4)+12>>2];k=+n[j+(g<<4)+4>>2];o=+n[j+(g<<4)+8>>2];l=+n[j+(g<<4)+12>>2];j=f[b>>2]|0;F=k-q;m=o-r;G=l-s;k=+n[j+(h<<4)+4>>2]-k;o=+n[j+(h<<4)+8>>2]-o;l=+n[j+(h<<4)+12>>2]-l;i=m*l-G*o;l=G*k-F*l;k=F*o-m*k;m=+K(+(k*k+(i*i+l*l)));if(m>1.0e-06){o=i/m;k=k/m;i=l/m}else{o=0.0;k=0.0;i=0.0}p[C>>3]=o;p[v>>3]=i;p[w>>3]=k;p[x>>3]=-(o*q+i*r+k*s);h=o>=0.0&1;g=(i>=0.0?2:0)|h|(k>=0.0?4:0);f[y>>2]=g;f[z>>2]=g^7;g=f[A>>2]|0;if(g>>>0<(f[B>>2]|0)>>>0){p[g>>3]=o;F=+p[v>>3];p[g+8>>3]=F;G=+p[w>>3];p[g+16>>3]=G;p[g+24>>3]=+p[x>>3];j=(F>=0.0?2:0)|h|(G>=0.0?4:0);f[g+32>>2]=j;f[g+36>>2]=j^7;f[A>>2]=g+40}else{LDa(c,C);e=f[D>>2]|0;d=f[a>>2]|0}}g=e-d>>4}while(t>>>0<g>>>0);u=E;return}function JDa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=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.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,K=0.0,L=0.0,M=0.0;s=f[a>>2]|0;p=+n[s+4>>2];q=+n[s+8>>2];r=+n[s+12>>2];o=f[b>>2]|0;k=+n[o+4>>2];l=+n[o+8>>2];m=+n[o+12>>2];a=((f[a+4>>2]|0)-s>>4)+-1|0;if(a>>>0<=1){r=0.0;return +r}c=0.0;b=1;d=+n[s+20>>2];e=+n[s+24>>2];g=+n[s+28>>2];h=+n[o+20>>2];i=+n[o+24>>2];j=+n[o+28>>2];do{b=b+1|0;C=d;d=+n[s+(b<<4)+4>>2];B=C-d;y=e;e=+n[s+(b<<4)+8>>2];D=y-e;E=g;g=+n[s+(b<<4)+12>>2];u=E-g;x=p-C;A=q-y;F=r-E;F=+J(+((m-E)*(B*A-x*D)+((k-C)*(D*F-A*u)+(l-y)*(x*u-B*F))));B=h;h=+n[o+(b<<4)+4>>2];u=B-h;x=i;i=+n[o+(b<<4)+8>>2];A=x-i;D=j;j=+n[o+(b<<4)+12>>2];v=D-j;w=k-B;z=l-x;t=m-D;H=h-C;M=i-y;I=j-E;K=k-h;L=l-i;G=m-j;c=c+(+J(+((H*L-K*M)*(g-j)+((d-h)*(M*G-L*I)+(e-i)*(K*I-H*G))))+(F+ +J(+((E-D)*(u*z-w*A)+((C-B)*(A*t-z*v)+(y-x)*(w*v-u*t))))))}while(b>>>0<a>>>0);return +c}function KDa(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;k=a+4|0;c=f[a>>2]|0;e=((f[k>>2]|0)-c|0)/48|0;d=e+1|0;if(d>>>0>89478485)DCb(a);l=a+8|0;i=((f[l>>2]|0)-c|0)/48|0;j=i<<1;d=i>>>0<44739242?(j>>>0<d>>>0?d:j):89478485;do if(d)if(d>>>0>89478485){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{c=EBb(d*48|0)|0;break}else c=0;while(0);g=c+(e*48|0)|0;e=g;j=c+(d*48|0)|0;wN(g,b);i=g+48|0;h=f[a>>2]|0;c=f[k>>2]|0;if((c|0)==(h|0)){c=e;b=h;d=h}else{d=g;while(1){c=c+-48|0;wN(d+-48|0,c);d=e+-48|0;if((c|0)==(h|0))break;else e=d}c=d;b=f[a>>2]|0;d=f[k>>2]|0}f[a>>2]=c;f[k>>2]=i;f[l>>2]=j;e=b;if((d|0)!=(e|0))do{c=f[d+-12>>2]|0;if(c|0){f[d+-8>>2]=c;GBb(c)}c=f[d+-24>>2]|0;if(c|0){f[d+-20>>2]=c;GBb(c)}c=f[d+-44>>2]|0;if(c|0){f[d+-40>>2]=c;GBb(c)}d=d+-48|0}while((d|0)!=(e|0));if(!b)return;GBb(b);return}function LDa(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.0,o=0.0,q=0.0;l=a+4|0;e=f[l>>2]|0;m=f[a>>2]|0;h=(e-m|0)/40|0;c=h+1|0;j=m;if(c>>>0>107374182)DCb(a);k=a+8|0;i=((f[k>>2]|0)-m|0)/40|0;d=i<<1;d=i>>>0<53687091?(d>>>0<c>>>0?c:d):107374182;do if(d)if(d>>>0>107374182){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(d*40|0)|0;break}else g=0;while(0);c=g+(h*40|0)|0;i=g+(d*40|0)|0;o=+p[b>>3];p[c>>3]=o;q=+p[b+8>>3];p[g+(h*40|0)+8>>3]=q;n=+p[b+16>>3];p[g+(h*40|0)+16>>3]=n;p[g+(h*40|0)+24>>3]=+p[b+24>>3];b=(q>=0.0?2:0)|o>=0.0|(n>=0.0?4:0);f[g+(h*40|0)+32>>2]=b;f[g+(h*40|0)+36>>2]=b^7;g=c+40|0;if((e|0)!=(j|0))while(1){d=c+-40|0;h=e;e=e+-40|0;o=+p[e>>3];p[d>>3]=o;n=+p[h+-32>>3];p[c+-32>>3]=n;q=+p[h+-24>>3];p[c+-24>>3]=q;p[c+-16>>3]=+p[h+-16>>3];h=(n>=0.0?2:0)|o>=0.0|(q>=0.0?4:0);f[c+-8>>2]=h;f[c+-4>>2]=h^7;if((e|0)==(j|0)){c=d;break}else c=d}f[a>>2]=c;f[l>>2]=g;f[k>>2]=i;if(!m)return;GBb(m);return}function MDa(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>>4;c=g+1|0;if(c>>>0>268435455)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>3;h=e>>4>>>0<134217727?(h>>>0<c>>>0?c:h):268435455;do if(h)if(h>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<4)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<4)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+16;f[l>>2]=d+(h<<4);if(!j)return;GBb(j);return}function NDa(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.0,j=0,k=0,l=0,m=0,o=0.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.0,E=0.0;C=u;u=u+32|0;A=C+16|0;y=C;f[A>>2]=0;B=A+4|0;f[B>>2]=0;m=A+8|0;f[m>>2]=0;z=b+4|0;xU(A,(f[z>>2]|0)-(f[b>>2]|0)>>4);g=f[b>>2]|0;e=f[z>>2]|0;if((g|0)==(e|0)){a=g;e=g}else{j=a+8|0;k=a+16|0;l=a+24|0;do{i=+p[l>>3]+(+p[a>>3]*+n[g+4>>2]+ +p[j>>3]*+n[g+8>>2]+ +p[k>>3]*+n[g+12>>2]);n[y>>2]=i;h=f[B>>2]|0;if(h>>>0<(f[m>>2]|0)>>>0){n[h>>2]=i;f[B>>2]=h+4}else{ODa(A,y);e=f[z>>2]|0}g=g+16|0}while((g|0)!=(e|0));e=f[b>>2]|0;a=e}h=f[c>>2]|0;x=c+4|0;f[x>>2]=h;e=(f[z>>2]|0)-e|0;if(!e){g=h;e=h}else{w=c+8|0;q=y+4|0;s=y+8|0;t=y+12|0;m=y+4|0;r=y+8|0;v=y+12|0;l=0;e=e>>4;do{k=l;l=l+1|0;j=(l>>>0)%(e>>>0)|0;e=f[A>>2]|0;o=+n[e+(k<<2)>>2];if(!(o>=0.0)){i=+n[e+(j<<2)>>2];if(i>0.0){E=i/(i-o);o=1.0-E;D=E*+n[a+(k<<4)+4>>2]+o*+n[a+(j<<4)+4>>2];i=E*+n[a+(k<<4)+8>>2]+o*+n[a+(j<<4)+8>>2];o=E*+n[a+(k<<4)+12>>2]+o*+n[a+(j<<4)+12>>2];f[y>>2]=f[a+(j<<4)>>2]&f[a+(k<<4)>>2]|d;n[q>>2]=D;n[s>>2]=i;n[t>>2]=o;e=f[x>>2]|0;if(e>>>0<(f[w>>2]|0)>>>0){f[e>>2]=f[y>>2];f[e+4>>2]=f[y+4>>2];f[e+8>>2]=f[y+8>>2];f[e+12>>2]=f[y+12>>2];f[x>>2]=(f[x>>2]|0)+16}else MDa(c,y)}}else{g=a+(k<<4)|0;h=f[x>>2]|0;if((h|0)==(f[w>>2]|0)){PDa(c,g);e=f[A>>2]|0}else{f[h>>2]=f[g>>2];f[h+4>>2]=f[g+4>>2];f[h+8>>2]=f[g+8>>2];f[h+12>>2]=f[g+12>>2];f[x>>2]=(f[x>>2]|0)+16}i=+n[e+(j<<2)>>2];if(i<0.0){a=f[b>>2]|0;i=i/(i-+n[e+(k<<2)>>2]);E=1.0-i;o=+n[a+(k<<4)+4>>2]*i+E*+n[a+(j<<4)+4>>2];D=i*+n[a+(k<<4)+8>>2]+E*+n[a+(j<<4)+8>>2];E=i*+n[a+(k<<4)+12>>2]+E*+n[a+(j<<4)+12>>2];f[y>>2]=f[a+(j<<4)>>2]&f[a+(k<<4)>>2]|d;n[m>>2]=o;n[r>>2]=D;n[v>>2]=E;e=f[x>>2]|0;if(e>>>0<(f[w>>2]|0)>>>0){f[e>>2]=f[y>>2];f[e+4>>2]=f[y+4>>2];f[e+8>>2]=f[y+8>>2];f[e+12>>2]=f[y+12>>2];f[x>>2]=(f[x>>2]|0)+16}else MDa(c,y)}}a=f[b>>2]|0;e=(f[z>>2]|0)-a>>4}while(l>>>0<e>>>0);g=f[c>>2]|0;e=f[x>>2]|0}g=e-g>>4;e=f[A>>2]|0;if(!e){u=C;return g|0}f[B>>2]=e;GBb(e);u=C;return g|0}function ODa(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<c>>>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 PDa(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>>4;c=g+1|0;if(c>>>0>268435455)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>3;h=e>>4>>>0<134217727?(h>>>0<c>>>0?c:h):268435455;do if(h)if(h>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<4)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<4)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+16;f[l>>2]=d+(h<<4);if(!j)return;GBb(j);return}function QDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0.0,j=0.0,k=0.0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0.0,y=0.0,z=0.0;w=u;u=u+256|0;v=w+128|0;t=w;l=a+96|0;m=a+112|0;d=f[m>>2]|0;if(!d)s=0;else s=f[l>>2]|0;h=(b|0)==0;if(!h){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[m>>2]|0}do if(d|0){g=a+104|0;d=f[g>>2]|0;if((d|0)==(f[a+108>>2]|0)){TDa(a+100|0,l);break}e=f[l>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[g>>2]|0}f[g>>2]=d+4}while(0);d=f[l>>2]|0;if((d|0)!=(b|0)){f[l>>2]=b;if(!h){r=b+8|0;f[r>>2]=(f[r>>2]|0)+1}if(d|0?(q=d+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(d,1,1)}f[m>>2]=(f[m>>2]|0)+1;if(!h?(q=b+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(b,1,1);UDa(a);f3a(v);o=b+32|0;if(((+p[b+56>>3]==0.0?+p[b+88>>3]==0.0:0)?+p[b+120>>3]==0.0:0)?+p[b+152>>3]==1.0:0)o3a(v,o)|0;else p3a(v,o)|0;switch(c|0){case 0:{d=a+184|0;m=v+96|0;b=v+104|0;c=v+112|0;i=+p[m>>3];j=+p[b>>3];k=+p[c>>3];e=a+208|0;do if(f[e>>2]|0){g=a+200|0;h=f[g>>2]|0;if((h|0)==(f[a+204>>2]|0)){lF(a+196|0,d);break}else{f[h>>2]=f[d>>2];f[h+4>>2]=f[d+4>>2];f[h+8>>2]=f[d+8>>2];f[g>>2]=(f[g>>2]|0)+12;break}}while(0);n[a+184>>2]=i;n[a+188>>2]=j;n[a+192>>2]=k;f[e>>2]=(f[e>>2]|0)+1;d=a+156|0;e=a+156|0;g=a+180|0;do if(f[g>>2]|0){h=a+172|0;l=f[h>>2]|0;if((l|0)==(f[a+176>>2]|0)){lF(a+168|0,d);break}else{f[l>>2]=f[d>>2];f[l+4>>2]=f[d+4>>2];f[l+8>>2]=f[d+8>>2];f[h>>2]=(f[h>>2]|0)+12;break}}while(0);f[d>>2]=f[e>>2];f[d+4>>2]=f[e+4>>2];f[d+8>>2]=f[e+8>>2];f[g>>2]=(f[g>>2]|0)+1;y=+n[e>>2];x=+n[a+160>>2];i=+n[a+164>>2];z=1.0/(+p[v+120>>3]+(+p[v+24>>3]*y+ +p[v+56>>3]*x+ +p[v+88>>3]*i));k=z*(+p[m>>3]+(+p[v>>3]*y+ +p[v+32>>3]*x+ +p[v+64>>3]*i));j=z*(+p[b>>3]+(+p[v+8>>3]*y+ +p[v+40>>3]*x+ +p[v+72>>3]*i));i=z*(+p[c>>3]+(+p[v+16>>3]*y+ +p[v+48>>3]*x+ +p[v+80>>3]*i));e=a+212|0;d=a+236|0;do if(f[d>>2]|0){g=a+228|0;h=f[g>>2]|0;if((h|0)==(f[a+232>>2]|0)){lF(a+224|0,e);break}else{f[h>>2]=f[e>>2];f[h+4>>2]=f[e+4>>2];f[h+8>>2]=f[e+8>>2];f[g>>2]=(f[g>>2]|0)+12;break}}while(0);n[a+212>>2]=k;n[a+216>>2]=j;n[a+220>>2]=i;break}case 1:{l=a+184|0;j=+p[v+96>>3];k=+p[v+104>>3];i=+p[v+112>>3];d=a+208|0;do if(f[d>>2]|0){e=a+200|0;g=f[e>>2]|0;if((g|0)==(f[a+204>>2]|0)){lF(a+196|0,l);break}else{f[g>>2]=f[l>>2];f[g+4>>2]=f[l+4>>2];f[g+8>>2]=f[l+8>>2];f[e>>2]=(f[e>>2]|0)+12;break}}while(0);n[a+184>>2]=j;n[a+188>>2]=k;n[a+192>>2]=i;f[d>>2]=(f[d>>2]|0)+1;d=a+156|0;e=a+180|0;do if(f[e>>2]|0){g=a+172|0;h=f[g>>2]|0;if((h|0)==(f[a+176>>2]|0)){lF(a+168|0,d);break}else{f[h>>2]=f[d>>2];f[h+4>>2]=f[d+4>>2];f[h+8>>2]=f[d+8>>2];f[g>>2]=(f[g>>2]|0)+12;break}}while(0);n[a+156>>2]=0.0;n[a+160>>2]=0.0;n[a+164>>2]=0.0;f[e>>2]=(f[e>>2]|0)+1;e=a+212|0;d=a+236|0;do if(f[d>>2]|0){g=a+228|0;h=f[g>>2]|0;if((h|0)==(f[a+232>>2]|0)){lF(a+224|0,e);break}else{f[h>>2]=f[e>>2];f[h+4>>2]=f[e+4>>2];f[h+8>>2]=f[e+8>>2];f[g>>2]=(f[g>>2]|0)+12;break}}while(0);f[e>>2]=f[l>>2];f[e+4>>2]=f[l+4>>2];f[e+8>>2]=f[l+8>>2];break}case 2:{d=a+184|0;c=v+96|0;q=v+104|0;r=v+112|0;i=+p[c>>3];j=+p[q>>3];k=+p[r>>3];e=a+208|0;do if(f[e>>2]|0){g=a+200|0;h=f[g>>2]|0;if((h|0)==(f[a+204>>2]|0)){lF(a+196|0,d);break}else{f[h>>2]=f[d>>2];f[h+4>>2]=f[d+4>>2];f[h+8>>2]=f[d+8>>2];f[g>>2]=(f[g>>2]|0)+12;break}}while(0);n[a+184>>2]=i;n[a+188>>2]=j;n[a+192>>2]=k;f[e>>2]=(f[e>>2]|0)+1;l=a+156|0;i=+n[l>>2];m=a+160|0;k=+n[m>>2];b=a+164|0;j=+n[b>>2];if(s){f3a(t);d=s+32|0;if(((+p[s+56>>3]==0.0?+p[s+88>>3]==0.0:0)?+p[s+120>>3]==0.0:0)?+p[s+152>>3]==1.0:0)o3a(t,d)|0;else p3a(t,d)|0;m3a(t,o);y=i;z=k;x=1.0/(+p[t+120>>3]+(+p[t+24>>3]*y+ +p[t+56>>3]*z+ +p[t+88>>3]*j));i=x*(+p[t+96>>3]+(+p[t>>3]*y+ +p[t+32>>3]*z+ +p[t+64>>3]*j));k=x*(+p[t+104>>3]+(+p[t+8>>3]*y+ +p[t+40>>3]*z+ +p[t+72>>3]*j));j=x*(+p[t+112>>3]+(+p[t+16>>3]*y+ +p[t+48>>3]*z+ +p[t+80>>3]*j))}d=a+156|0;e=a+180|0;do if(f[e>>2]|0){g=a+172|0;h=f[g>>2]|0;if((h|0)==(f[a+176>>2]|0)){lF(a+168|0,d);break}else{f[h>>2]=f[d>>2];f[h+4>>2]=f[d+4>>2];f[h+8>>2]=f[d+8>>2];f[g>>2]=(f[g>>2]|0)+12;break}}while(0);n[l>>2]=i;n[m>>2]=k;n[b>>2]=j;f[e>>2]=(f[e>>2]|0)+1;y=i;z=k;i=j;x=1.0/(+p[v+120>>3]+(+p[v+24>>3]*y+ +p[v+56>>3]*z+ +p[v+88>>3]*i));k=x*(+p[c>>3]+(+p[v>>3]*y+ +p[v+32>>3]*z+ +p[v+64>>3]*i));j=x*(+p[q>>3]+(+p[v+8>>3]*y+ +p[v+40>>3]*z+ +p[v+72>>3]*i));i=x*(+p[r>>3]+(+p[v+16>>3]*y+ +p[v+48>>3]*z+ +p[v+80>>3]*i));e=a+212|0;d=a+236|0;do if(f[d>>2]|0){g=a+228|0;h=f[g>>2]|0;if((h|0)==(f[a+232>>2]|0)){lF(a+224|0,e);break}else{f[h>>2]=f[e>>2];f[h+4>>2]=f[e+4>>2];f[h+8>>2]=f[e+8>>2];f[g>>2]=(f[g>>2]|0)+12;break}}while(0);n[a+212>>2]=k;n[a+216>>2]=j;n[a+220>>2]=i;break}default:{t=a+96|0;t=f[t>>2]|0;v=t+48|0;x=+p[v>>3];v=t+80|0;y=+p[v>>3];t=t+112|0;z=+p[t>>3];t=x<=-0.0;t=t&1;v=y<=-0.0;v=v?2:0;t=v|t;v=z<=-0.0;v=v?4:0;v=t|v;t=a+292|0;f[t>>2]=v;v=v^7;a=a+288|0;f[a>>2]=v;u=w;return}}f[d>>2]=(f[d>>2]|0)+1;t=a+96|0;t=f[t>>2]|0;v=t+48|0;x=+p[v>>3];v=t+80|0;y=+p[v>>3];t=t+112|0;z=+p[t>>3];t=x<=-0.0;t=t&1;v=y<=-0.0;v=v?2:0;t=v|t;v=z<=-0.0;v=v?4:0;v=t|v;t=a+292|0;f[t>>2]=v;v=v^7;a=a+288|0;f[a>>2]=v;u=w;return}function RDa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;h=a+112|0;b=f[h>>2]|0;if(b|0){g=a+104|0;d=f[g>>2]|0;if((f[a+100>>2]|0)!=(d|0)){e=a+96|0;c=f[e>>2]|0;b=f[d+-4>>2]|0;if((c|0)!=(b|0)){f[e>>2]=b;if(b|0){e=b+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)}b=(f[g>>2]|0)+-4|0;c=f[b>>2]|0;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[b>>2]=0;f[g>>2]=b;b=f[h>>2]|0}f[h>>2]=b+-1}b=a+184|0;c=a+208|0;d=f[c>>2]|0;if(d|0){e=a+200|0;g=f[e>>2]|0;if((f[a+196>>2]|0)!=(g|0)){g=g+-12|0;f[b>>2]=f[g>>2];f[b+4>>2]=f[g+4>>2];f[b+8>>2]=f[g+8>>2];f[e>>2]=g}f[c>>2]=d+-1}b=a+156|0;c=a+180|0;d=f[c>>2]|0;if(d|0){e=a+172|0;g=f[e>>2]|0;if((f[a+168>>2]|0)!=(g|0)){g=g+-12|0;f[b>>2]=f[g>>2];f[b+4>>2]=f[g+4>>2];f[b+8>>2]=f[g+8>>2];f[e>>2]=g}f[c>>2]=d+-1}b=a+212|0;c=a+236|0;d=f[c>>2]|0;if(d|0){e=a+228|0;g=f[e>>2]|0;if((f[a+224>>2]|0)!=(g|0)){g=g+-12|0;f[b>>2]=f[g>>2];f[b+4>>2]=f[g+4>>2];f[b+8>>2]=f[g+8>>2];f[e>>2]=g}f[c>>2]=d+-1}SDa(a);if(!(f[h>>2]|0)){h=1;e=2;g=0;h=e|h;g=h|g;h=a+292|0;f[h>>2]=g;g=g^7;h=a+288|0;f[h>>2]=g;return}g=f[a+96>>2]|0;h=+p[g+48>>3]<=-0.0&1;e=+p[g+80>>3]<=-0.0?2:0;g=+p[g+112>>3]<=-0.0?4:0;h=e|h;g=h|g;h=a+292|0;f[h>>2]=g;g=g^7;h=a+288|0;f[h>>2]=g;return}function SDa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;h=a+132|0;b=f[h>>2]|0;if(b|0){g=a+124|0;d=f[g>>2]|0;if((f[a+120>>2]|0)!=(d|0)){e=a+116|0;c=f[e>>2]|0;b=f[d+-4>>2]|0;if((c|0)!=(b|0)){f[e>>2]=b;if(b|0){e=b+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)}b=(f[g>>2]|0)+-4|0;c=f[b>>2]|0;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[b>>2]=0;f[g>>2]=b;b=f[h>>2]|0}f[h>>2]=b+-1}g=a+276|0;b=f[g>>2]|0;h=b+-1|0;f[g>>2]=h;if(!h)return;f[a+280>>2]=(f[a+264>>2]|0)+((b+-2|0)*108|0);return}function TDa(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<e>>>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 UDa(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,o=0;o=u;u=u+224|0;m=o+108|0;k=o;e=a+116|0;g=a+132|0;do if(f[g>>2]|0){d=a+124|0;b=f[d>>2]|0;if((b|0)==(f[a+128>>2]|0)){TDa(a+120|0,e);break}c=f[e>>2]|0;f[b>>2]=c;if(c){b=c+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[d>>2]|0}f[d>>2]=b+4}while(0);b=f[e>>2]|0;if(b|0?(f[e>>2]=0,j=b+8|0,l=f[j>>2]|0,f[j>>2]=l-1,(l|0)==1):0)Rua(b,1,1);f[g>>2]=(f[g>>2]|0)+1;l=a+276|0;if(f[l>>2]|0){h=a+96|0;$Da(m,f[a+136>>2]|0,(f[a+76>>2]|0)+32|0,(f[h>>2]|0)+32|0);c=f[l>>2]|0;g=a+264|0;d=a+268|0;j=f[d>>2]|0;b=f[g>>2]|0;e=j;if(c>>>0>=((j-b|0)/108|0)>>>0){f[k+4>>2]=0;f[k+8>>2]=0;f[k>>2]=342052;b=k+32|0;i=k+16|0;j=i+48|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));f[b>>2]=1;j=k+64|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[k+12>>2]=31;n[k+88>>2]=0.0;n[k+92>>2]=0.0;n[k+96>>2]=0.0;n[k+100>>2]=1.0;n[k+104>>2]=2.0;if((f[a+272>>2]|0)>>>0>e>>>0){VDa(e,k);f[d>>2]=(f[d>>2]|0)+108}else WDa(g,k);XDa(k);c=f[l>>2]|0;b=f[g>>2]|0}f[l>>2]=c+1;aEa(b+(c*108|0)|0,(f[a+256>>2]|0)+-108|0,(f[h>>2]|0)+32|0,m);m=f[l>>2]|0;m=m+-1|0;l=a+264|0;l=f[l>>2]|0;m=l+(m*108|0)|0;a=a+280|0;f[a>>2]=m;u=o;return}e=a+264|0;b=f[e>>2]|0;c=a+268|0;if((b|0)==(f[c>>2]|0)){f[m+4>>2]=0;f[m+8>>2]=0;f[m>>2]=342052;d=m+32|0;i=m+16|0;j=i+48|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));f[d>>2]=1;k=m+64|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;f[m+12>>2]=31;n[m+88>>2]=0.0;n[m+92>>2]=0.0;n[m+96>>2]=0.0;n[m+100>>2]=1.0;n[m+104>>2]=2.0;if(b>>>0<(f[a+272>>2]|0)>>>0){VDa(b,m);f[c>>2]=(f[c>>2]|0)+108}else WDa(e,m);XDa(m);d=f[l>>2]|0;b=f[e>>2]|0}else d=0;f[l>>2]=d+1;c=f[a+256>>2]|0;f[b+(d*108|0)+12>>2]=f[c+-96>>2];if((c+-108|0)!=(b+(d*108|0)|0)){f[b+(d*108|0)+16>>2]=f[c+-92>>2];xC(b+(d*108|0)+20|0,f[c+-88>>2]|0,f[c+-84>>2]|0);f[b+(d*108|0)+32>>2]=f[c+-76>>2];f[b+(d*108|0)+36>>2]=f[c+-72>>2];YDa(b+(d*108|0)+40|0,f[c+-68>>2]|0,f[c+-64>>2]|0);fK(b+(d*108|0)+52|0,f[c+-56>>2]|0,f[c+-52>>2]|0);ZDa(b+(d*108|0)+64|0,f[c+-44>>2]|0,f[c+-40>>2]|0);_Da(b+(d*108|0)+76|0,f[c+-32>>2]|0,f[c+-28>>2]|0)}k=c+-20|0;m=b+(d*108|0)+88|0;f[m>>2]=f[k>>2];f[m+4>>2]=f[k+4>>2];f[m+8>>2]=f[k+8>>2];f[m+12>>2]=f[k+12>>2];f[b+(d*108|0)+104>>2]=f[c+-4>>2];m=f[l>>2]|0;m=m+-1|0;l=a+264|0;l=f[l>>2]|0;m=l+(m*108|0)|0;a=a+280|0;f[a>>2]=m;u=o;return}function VDa(a,b){a=a|0;b=b|0;var c=0,d=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=342052;f[a+12>>2]=f[b+12>>2];wN(a+16|0,b+16|0);gEa(a+64|0,b+64|0);hEa(a+76|0,b+76|0);c=a+88|0;d=b+88|0;f[c>>2]=f[d>>2];f[c+4>>2]=f[d+4>>2];f[c+8>>2]=f[d+8>>2];f[c+12>>2]=f[d+12>>2];f[a+104>>2]=f[b+104>>2];return}function WDa(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)/108|0;d=e+1|0;if(d>>>0>39768215)DCb(a);j=a+8|0;h=((f[j>>2]|0)-c|0)/108|0;g=h<<1;g=h>>>0<19884107?(g>>>0<d>>>0?d:g):39768215;do if(g)if(g>>>0>39768215){j=ab(8)|0;KBb(j,410101);f[j>>2]=362060;eb(j|0,302144,1464)}else{c=EBb(g*108|0)|0;break}else c=0;while(0);e=c+(e*108|0)|0;d=e;h=c+(g*108|0)|0;VDa(e,b);b=e+108|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+-108|0;VDa(e+-108|0,c);e=d+-108|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+-108|0;tj[f[(f[c>>2]|0)+4>>2]&2047](c)}while((c|0)!=(d|0));if(!e)return;GBb(e);return}function XDa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=342052;c=a+76|0;d=f[c>>2]|0;if(d|0){e=a+80|0;b=f[e>>2]|0;if((b|0)==(d|0))b=d;else{do{b=b+-80|0;qN(b)}while((b|0)!=(d|0));b=f[c>>2]|0}f[e>>2]=d;GBb(b)}fEa(a+64|0);b=f[a+52>>2]|0;if(b|0){f[a+56>>2]=b;GBb(b)}b=f[a+40>>2]|0;if(b|0){f[a+44>>2]=b;GBb(b)}b=f[a+20>>2]|0;if(!b){Uua(a);return}f[a+24>>2]=b;GBb(b);Uua(a);return}function YDa(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.0,k=0.0,l=0.0,m=0;h=(c-b|0)/40|0;i=a+8|0;d=f[i>>2]|0;g=f[a>>2]|0;e=g;if(h>>>0>((d-g|0)/40|0)>>>0){if(g){d=a+4|0;f[d>>2]=g;GBb(g);f[i>>2]=0;f[d>>2]=0;f[a>>2]=0;d=0}if(h>>>0>107374182)DCb(a);g=(d|0)/40|0;e=g<<1;e=g>>>0<53687091?(e>>>0<h>>>0?h:e):107374182;if(e>>>0>107374182)DCb(a);d=EBb(e*40|0)|0;g=a+4|0;f[g>>2]=d;f[a>>2]=d;f[i>>2]=d+(e*40|0);if((b|0)==(c|0))return;do{k=+p[b>>3];p[d>>3]=k;l=+p[b+8>>3];p[d+8>>3]=l;j=+p[b+16>>3];p[d+16>>3]=j;p[d+24>>3]=+p[b+24>>3];i=(l>=0.0?2:0)|k>=0.0|(j>=0.0?4:0);f[d+32>>2]=i;f[d+36>>2]=i^7;b=b+40|0;d=d+40|0}while((b|0)!=(c|0));f[g>>2]=d;return}i=a+4|0;d=f[i>>2]|0;a=(d-g|0)/40|0;g=h>>>0>a>>>0;h=b+(a*40|0)|0;a=g?h:c;if((a|0)==(b|0))b=e;else{do{if((b|0)!=(e|0)){k=+p[b>>3];p[e>>3]=k;j=+p[b+8>>3];p[e+8>>3]=j;l=+p[b+16>>3];p[e+16>>3]=l;p[e+24>>3]=+p[b+24>>3];m=(j>=0.0?2:0)|k>=0.0|(l>=0.0?4:0);f[e+32>>2]=m;f[e+36>>2]=m^7}b=b+40|0;e=e+40|0}while((b|0)!=(a|0));b=e}if(!g){f[i>>2]=b;return}if((a|0)==(c|0))return;b=h;do{k=+p[b>>3];p[d>>3]=k;j=+p[b+8>>3];p[d+8>>3]=j;l=+p[b+16>>3];p[d+16>>3]=l;p[d+24>>3]=+p[b+24>>3];m=(j>=0.0?2:0)|k>=0.0|(l>=0.0?4:0);f[d+32>>2]=m;f[d+36>>2]=m^7;b=b+40|0;d=d+40|0}while((b|0)!=(c|0));f[i>>2]=d;return}function ZDa(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;d=(c-b|0)/52|0;h=a+8|0;g=f[a>>2]|0;e=g;if(d>>>0>(((f[h>>2]|0)-g|0)/52|0)>>>0){eEa(a);if(d>>>0>82595524)DCb(a);i=((f[h>>2]|0)-(f[a>>2]|0)|0)/52|0;j=i<<1;d=i>>>0<41297762?(j>>>0<d>>>0?d:j):82595524;if(d>>>0>82595524)DCb(a);e=EBb(d*52|0)|0;g=a+4|0;f[g>>2]=e;f[a>>2]=e;f[h>>2]=e+(d*52|0);if((b|0)==(c|0))return;do{d=f[b>>2]|0;f[e>>2]=d;if(d|0){j=d+8|0;f[j>>2]=(f[j>>2]|0)+1}wN(e+4|0,b+4|0);b=b+52|0;e=(f[g>>2]|0)+52|0;f[g>>2]=e}while((b|0)!=(c|0));return}j=a+4|0;i=((f[j>>2]|0)-g|0)/52|0;h=d>>>0>i>>>0;d=b+(i*52|0)|0;i=h?d:c;if((i|0)==(b|0))b=e;else{do{g=f[e>>2]|0;a=f[b>>2]|0;if((g|0)!=(a|0)){f[e>>2]=a;if(a|0){a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}if(g|0?(k=g+8|0,a=f[k>>2]|0,f[k>>2]=a-1,(a|0)==1):0)Rua(g,1,1)}if((b|0)!=(e|0)){f[e+4>>2]=f[b+4>>2];xC(e+8|0,f[b+8>>2]|0,f[b+12>>2]|0);f[e+20>>2]=f[b+20>>2];f[e+24>>2]=f[b+24>>2];YDa(e+28|0,f[b+28>>2]|0,f[b+32>>2]|0);fK(e+40|0,f[b+40>>2]|0,f[b+44>>2]|0)}b=b+52|0;e=e+52|0}while((b|0)!=(i|0));b=e}if(h){if((i|0)==(c|0))return;b=f[j>>2]|0;do{e=f[d>>2]|0;f[b>>2]=e;if(e|0){k=e+8|0;f[k>>2]=(f[k>>2]|0)+1}wN(b+4|0,d+4|0);d=d+52|0;b=(f[j>>2]|0)+52|0;f[j>>2]=b}while((d|0)!=(c|0));return}d=f[j>>2]|0;if((d|0)!=(b|0))do{e=f[d+-12>>2]|0;if(e|0){f[d+-8>>2]=e;GBb(e)}e=f[d+-24>>2]|0;if(e|0){f[d+-20>>2]=e;GBb(e)}e=f[d+-44>>2]|0;if(e|0){f[d+-40>>2]=e;GBb(e)}d=d+-52|0;e=f[d>>2]|0;if(e|0?(c=e+8|0,k=f[c>>2]|0,f[c>>2]=k-1,(k|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(b|0));f[j>>2]=b;return}function _Da(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;i=(c-b|0)/80|0;j=a+8|0;d=f[j>>2]|0;h=f[a>>2]|0;e=h;if(i>>>0<=((d-h|0)/80|0)>>>0){a=a+4|0;d=((f[a>>2]|0)-h|0)/80|0;g=i>>>0>d>>>0;d=b+(d*80|0)|0;h=g?d:c;if((h|0)!=(b|0))do{cEa(e,b)|0;b=b+80|0;e=e+80|0}while((b|0)!=(h|0));if(g){if((h|0)==(c|0))return;b=f[a>>2]|0;do{rN(b,d);d=d+80|0;b=(f[a>>2]|0)+80|0;f[a>>2]=b}while((d|0)!=(c|0));return}else{d=f[a>>2]|0;if((d|0)!=(e|0))do{d=d+-80|0;qN(d)}while((d|0)!=(e|0));f[a>>2]=e;return}}if(h){g=a+4|0;d=f[g>>2]|0;if((d|0)==(e|0))d=h;else{do{d=d+-80|0;qN(d)}while((d|0)!=(e|0));d=f[a>>2]|0}f[g>>2]=e;GBb(d);f[j>>2]=0;f[g>>2]=0;f[a>>2]=0;d=0}if(i>>>0>53687091)DCb(a);h=(d|0)/80|0;e=h<<1;e=h>>>0<26843545?(e>>>0<i>>>0?i:e):53687091;if(e>>>0>53687091)DCb(a);d=EBb(e*80|0)|0;g=a+4|0;f[g>>2]=d;f[a>>2]=d;f[j>>2]=d+(e*80|0);if((b|0)==(c|0))return;do{rN(d,b);b=b+80|0;d=(f[g>>2]|0)+80|0;f[g>>2]=d}while((b|0)!=(c|0));return}function $Da(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0;m=+p[b+72>>3];g=+p[c+88>>3];l=+p[c>>3]*m*.5;j=+p[d+16>>3];m=m*+p[c+64>>3]*.5+m*g*.5;q=+p[d>>3]*l+j*m;i=+p[d+48>>3];o=+p[d+32>>3]*l+i*m;h=+p[d+80>>3];m=+p[d+64>>3]*l+h*m;l=+p[b+80>>3];e=+p[c+40>>3]*l*.5;l=g*l*.5+l*+p[c+72>>3]*.5;k=+p[d+8>>3]*e+j*l;f=+p[d+40>>3]*e+i*l;l=+p[d+72>>3]*e+h*l;e=+p[d+112>>3]*g+ +p[d+120>>3]*+p[c+120>>3];f=.7071067690849304/+K(+(q*q+o*o+m*m+(l*l+(k*k+f*f))));n[a>>2]=f*(j*g);n[a+4>>2]=f*(i*g);n[a+8>>2]=f*(h*g);n[a+12>>2]=f*e;return}function aEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;f[a+12>>2]=f[b+12>>2];e=a+64|0;if((a|0)!=(b|0)){ZDa(e,f[b+64>>2]|0,f[b+68>>2]|0);_Da(a+76|0,f[b+76>>2]|0,f[b+80>>2]|0)}g=a+88|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[a+104>>2]=f[b+104>>2];aK(a+16|0,b+16|0,c);b=f[e>>2]|0;d=a+68|0;if((b|0)!=(f[d>>2]|0))do{bEa(b+4|0,c);b=b+52|0}while((b|0)!=(f[d>>2]|0));b=f[a+76>>2]|0;a=a+80|0;if((b|0)==(f[a>>2]|0))return;do{bEa(b+20|0,c);d=f[b+68>>2]|0;e=b+72|0;if((d|0)!=(f[e>>2]|0))do{bEa(d,c);d=d+48|0}while((d|0)!=(f[e>>2]|0));b=b+80|0}while((b|0)!=(f[a>>2]|0));return}function bEa(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0.0,z=0,A=0.0,B=0,C=0.0,D=0.0,E=0,F=0.0,G=0.0;w=f[a>>2]|0;if(!w)return;f[a+20>>2]=w;u=f[a+24>>2]|0;v=f[a+28>>2]|0;if((u|0)==(v|0))return;d=b+8|0;e=b+16|0;g=b+24|0;h=b+32|0;i=b+40|0;j=b+48|0;k=b+56|0;l=b+64|0;m=b+72|0;n=b+80|0;o=b+88|0;q=b+96|0;r=b+104|0;s=b+112|0;t=b+120|0;c=1;a=u;while(1){if(c&w|0){G=+p[a>>3];B=a+8|0;F=+p[B>>3];z=a+16|0;x=+p[z>>3];u=a+24|0;y=+p[u>>3];D=G*+p[b>>3]+F*+p[d>>3]+x*+p[e>>3]+y*+p[g>>3];C=G*+p[h>>3]+F*+p[i>>3]+x*+p[j>>3]+y*+p[k>>3];A=G*+p[l>>3]+F*+p[m>>3]+x*+p[n>>3]+y*+p[o>>3];y=G*+p[q>>3]+F*+p[r>>3]+x*+p[s>>3]+y*+p[t>>3];E=(C>=0.0?2:0)|D>=0.0|(A>=0.0?4:0);f[a+32>>2]=E;f[a+36>>2]=E^7;x=1.0/+K(+(D*D+C*C+A*A));p[a>>3]=D*x;p[B>>3]=C*x;p[z>>3]=A*x;p[u>>3]=y*x}a=a+40|0;if((a|0)==(v|0))break;else c=c<<1}return}function cEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;f[a>>2]=f[b>>2];e=(a|0)==(b|0);if(!e)wC(a+4|0,f[b+4>>2]|0,f[b+8>>2]|0);g=a+16|0;c=f[g>>2]|0;d=f[b+16>>2]|0;if((c|0)!=(d|0)){f[g>>2]=d;if(d|0){g=d+8|0;f[g>>2]=(f[g>>2]|0)+1}if(c|0?(d=c+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(c,1,1)}if(e)return a|0;f[a+20>>2]=f[b+20>>2];xC(a+24|0,f[b+24>>2]|0,f[b+28>>2]|0);f[a+36>>2]=f[b+36>>2];f[a+40>>2]=f[b+40>>2];YDa(a+44|0,f[b+44>>2]|0,f[b+48>>2]|0);fK(a+56|0,f[b+56>>2]|0,f[b+60>>2]|0);dEa(a+68|0,f[b+68>>2]|0,f[b+72>>2]|0);return a|0}function dEa(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;i=(c-b|0)/48|0;j=a+8|0;d=f[j>>2]|0;g=f[a>>2]|0;e=g;if(i>>>0>((d-g|0)/48|0)>>>0){if(g){h=a+4|0;d=f[h>>2]|0;if((d|0)==(e|0))d=g;else{do{g=f[d+-12>>2]|0;if(g|0){f[d+-8>>2]=g;GBb(g)}g=f[d+-24>>2]|0;if(g|0){f[d+-20>>2]=g;GBb(g)}g=f[d+-44>>2]|0;if(g|0){f[d+-40>>2]=g;GBb(g)}d=d+-48|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>89478485)DCb(a);h=(d|0)/48|0;e=h<<1;e=h>>>0<44739242?(e>>>0<i>>>0?i:e):89478485;if(e>>>0>89478485)DCb(a);d=EBb(e*48|0)|0;g=a+4|0;f[g>>2]=d;f[a>>2]=d;f[j>>2]=d+(e*48|0);if((b|0)==(c|0))return;do{wN(d,b);b=b+48|0;d=(f[g>>2]|0)+48|0;f[g>>2]=d}while((b|0)!=(c|0));return}a=a+4|0;d=((f[a>>2]|0)-g|0)/48|0;g=i>>>0>d>>>0;d=b+(d*48|0)|0;h=g?d:c;if((h|0)!=(b|0))do{if((b|0)!=(e|0)){f[e>>2]=f[b>>2];xC(e+4|0,f[b+4>>2]|0,f[b+8>>2]|0);f[e+16>>2]=f[b+16>>2];f[e+20>>2]=f[b+20>>2];YDa(e+24|0,f[b+24>>2]|0,f[b+28>>2]|0);fK(e+36|0,f[b+36>>2]|0,f[b+40>>2]|0)}b=b+48|0;e=e+48|0}while((b|0)!=(h|0));if(g){if((h|0)==(c|0))return;b=f[a>>2]|0;do{wN(b,d);d=d+48|0;b=(f[a>>2]|0)+48|0;f[a>>2]=b}while((d|0)!=(c|0));return}d=f[a>>2]|0;if((d|0)!=(e|0))do{b=f[d+-12>>2]|0;if(b|0){f[d+-8>>2]=b;GBb(b)}b=f[d+-24>>2]|0;if(b|0){f[d+-20>>2]=b;GBb(b)}b=f[d+-44>>2]|0;if(b|0){f[d+-40>>2]=b;GBb(b)}d=d+-48|0}while((d|0)!=(e|0));f[a>>2]=e;return}function eEa(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{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+-52|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);f[a+8>>2]=0;f[e>>2]=0;f[a>>2]=0;return}function fEa(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{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+-52|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 gEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=0;i=a+4|0;f[i>>2]=0;e=a+8|0;f[e>>2]=0;h=b+4|0;c=(f[h>>2]|0)-(f[b>>2]|0)|0;g=(c|0)/52|0;if(!c)return;if(g>>>0>82595524)DCb(a);d=EBb(c)|0;f[i>>2]=d;f[a>>2]=d;f[e>>2]=d+(g*52|0);c=f[b>>2]|0;b=f[h>>2]|0;if((c|0)==(b|0))return;do{a=f[c>>2]|0;f[d>>2]=a;if(a|0){h=a+8|0;f[h>>2]=(f[h>>2]|0)+1}wN(d+4|0,c+4|0);c=c+52|0;d=(f[i>>2]|0)+52|0;f[i>>2]=d}while((c|0)!=(b|0));return}function hEa(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)/80|0;if(!c)return;if(e>>>0>53687091)DCb(a);c=EBb(c)|0;f[h>>2]=c;f[a>>2]=c;f[d>>2]=c+(e*80|0);a=f[b>>2]|0;b=f[g>>2]|0;if((a|0)==(b|0))return;do{rN(c,a);a=a+80|0;c=(f[h>>2]|0)+80|0;f[h>>2]=c}while((a|0)!=(b|0));return}function iEa(a){a=a|0;XDa(a);GBb(a);return}function jEa(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;k=u;u=u+112|0;j=k;g=a+76|0;h=(b|0)==0;if(!h){i=b+8|0;f[i>>2]=(f[i>>2]|0)+1}i=a+92|0;do if(f[i>>2]|0){e=a+84|0;c=f[e>>2]|0;if((c|0)==(f[a+88>>2]|0)){TDa(a+80|0,g);break}d=f[g>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[e>>2]|0}f[e>>2]=c+4}while(0);c=f[g>>2]|0;if((c|0)!=(b|0)){f[g>>2]=b;if(!h){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}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[i>>2]=(f[i>>2]|0)+1;if(!h?(h=b+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(b,1,1);f[j+4>>2]=0;f[j+8>>2]=0;f[j>>2]=342052;c=j+32|0;d=j+16|0;e=d+48|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));f[c>>2]=1;c=j+64|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[j+12>>2]=31;n[j+88>>2]=0.0;n[j+92>>2]=0.0;n[j+96>>2]=0.0;n[j+100>>2]=1.0;n[j+104>>2]=2.0;c=a+256|0;d=f[c>>2]|0;if(d>>>0<(f[a+260>>2]|0)>>>0){VDa(d,j);f[c>>2]=(f[c>>2]|0)+108}else WDa(a+252|0,j);XDa(j);c=f[c>>2]|0;h=c+-92|0;d=a+16|0;g=f[d>>2]|0;lEa(h,(g&2|0)!=0,(g&4|0)!=0);g=b+32|0;bEa(h,g);f[c+-96>>2]=f[d>>2];f[c+-4>>2]=f[a+24>>2];d=f[a+64>>2]|0;h=a+68|0;if((d|0)==(f[h>>2]|0)){b=a+284|0;n[b>>2]=-1.0;UDa(a);u=k;return}i=c+-28|0;j=c+-24|0;e=c+-32|0;do{c=f[d+16>>2]|0;do if(c|0?(b3a(g,c+32|0)|0)==0:0){c=f[i>>2]|0;if((c|0)==(f[j>>2]|0)){sN(e,d);break}else{rN(c,d);f[i>>2]=(f[i>>2]|0)+80;break}}while(0);d=d+80|0}while((d|0)!=(f[h>>2]|0));b=a+284|0;n[b>>2]=-1.0;UDa(a);u=k;return}function kEa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;h=a+92|0;b=f[h>>2]|0;if(b|0){g=a+84|0;d=f[g>>2]|0;if((f[a+80>>2]|0)!=(d|0)){e=a+76|0;c=f[e>>2]|0;b=f[d+-4>>2]|0;if((c|0)!=(b|0)){f[e>>2]=b;if(b|0){e=b+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)}b=(f[g>>2]|0)+-4|0;c=f[b>>2]|0;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[b>>2]=0;f[g>>2]=b;b=f[h>>2]|0}f[h>>2]=b+-1}h=a+256|0;g=(f[h>>2]|0)+-108|0;tj[f[(f[g>>2]|0)+4>>2]&2047](g);f[h>>2]=g;n[a+284>>2]=-1.0;SDa(a);return}function lEa(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.0,q=0.0;n=u;u=u+48|0;k=n;m=a+24|0;d=f[m>>2]|0;l=a+28|0;f[l>>2]=d;p[k>>3]=1.0;e=k+8|0;g=k+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;p[g>>3]=1.0;f[k+32>>2]=7;f[k+36>>2]=0;j=a+32|0;h=f[j>>2]|0;if(h>>>0>d>>>0){p[d>>3]=1.0;o=+p[e>>3];p[d+8>>3]=o;q=+p[k+16>>3];p[d+16>>3]=q;p[d+24>>3]=+p[g>>3];g=(q>=0.0?4:0)|(o>=0.0?3:1);f[d+32>>2]=g;f[d+36>>2]=g^7;g=d+40|0;f[l>>2]=g}else{LDa(m,k);g=f[l>>2]|0;h=f[j>>2]|0}p[k>>3]=-1.0;d=k+8|0;e=k+24|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;p[e>>3]=1.0;f[k+32>>2]=6;f[k+36>>2]=1;if(g>>>0<h>>>0){p[g>>3]=-1.0;q=+p[d>>3];p[g+8>>3]=q;o=+p[k+16>>3];p[g+16>>3]=o;p[g+24>>3]=+p[e>>3];i=(o>=0.0?4:0)|(q>=0.0?2:0);f[g+32>>2]=i;f[g+36>>2]=i^7;i=g+40|0;f[l>>2]=i}else{LDa(m,k);i=f[l>>2]|0;h=f[j>>2]|0}p[k>>3]=0.0;d=k+8|0;p[d>>3]=1.0;e=k+16|0;p[e>>3]=0.0;g=k+24|0;p[g>>3]=1.0;f[k+32>>2]=7;f[k+36>>2]=0;if(i>>>0<h>>>0){p[i>>3]=0.0;q=+p[d>>3];p[i+8>>3]=q;o=+p[e>>3];p[i+16>>3]=o;p[i+24>>3]=+p[g>>3];g=(o>=0.0?4:0)|(q>=0.0?3:1);f[i+32>>2]=g;f[i+36>>2]=g^7;i=i+40|0;f[l>>2]=i}else{LDa(m,k);i=f[l>>2]|0;h=f[j>>2]|0}p[k>>3]=0.0;d=k+8|0;p[d>>3]=-1.0;e=k+16|0;p[e>>3]=0.0;g=k+24|0;p[g>>3]=1.0;f[k+32>>2]=5;f[k+36>>2]=2;if(i>>>0<h>>>0){p[i>>3]=0.0;q=+p[d>>3];p[i+8>>3]=q;o=+p[e>>3];p[i+16>>3]=o;p[i+24>>3]=+p[g>>3];h=(o>=0.0?4:0)|(q>=0.0?3:1);f[i+32>>2]=h;f[i+36>>2]=h^7;f[l>>2]=i+40}else LDa(m,k);if(b){d=k+16|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;p[d>>3]=1.0;e=k+24|0;p[e>>3]=1.0;f[k+32>>2]=7;f[k+36>>2]=0;g=f[l>>2]|0;if(g>>>0<(f[j>>2]|0)>>>0){p[g>>3]=0.0;q=+p[k+8>>3];p[g+8>>3]=q;o=+p[d>>3];p[g+16>>3]=o;p[g+24>>3]=+p[e>>3];b=(o>=0.0?4:0)|(q>=0.0?3:1);f[g+32>>2]=b;f[g+36>>2]=b^7;f[l>>2]=g+40}else LDa(m,k)}if(c){d=k+16|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;p[d>>3]=-1.0;e=k+24|0;p[e>>3]=1.0;f[k+32>>2]=3;f[k+36>>2]=4;g=f[l>>2]|0;if(g>>>0<(f[j>>2]|0)>>>0){p[g>>3]=0.0;q=+p[k+8>>3];p[g+8>>3]=q;o=+p[d>>3];p[g+16>>3]=o;p[g+24>>3]=+p[e>>3];k=(o>=0.0?4:0)|(q>=0.0?3:1);f[g+32>>2]=k;f[g+36>>2]=k^7;f[l>>2]=g+40}else LDa(m,k)}h=a+20|0;f[h>>2]=0;e=f[l>>2]|0;d=f[m>>2]|0;if((e|0)!=(d|0)){e=(e-d|0)/40|0;d=0;g=0;do{g=g<<1|1;d=d+1|0}while(d>>>0<e>>>0);f[h>>2]=g}d=a+16|0;if(!(f[d>>2]|0)){m=f[h>>2]|0;f[a>>2]=m;a=f[d>>2]|0;a=a+1|0;f[d>>2]=a;u=n;return}e=a+8|0;g=f[e>>2]|0;if((g|0)==(f[a+12>>2]|0)){iw(a+4|0,a);m=f[h>>2]|0;f[a>>2]=m;a=f[d>>2]|0;a=a+1|0;f[d>>2]=a;u=n;return}else{f[g>>2]=f[a>>2];f[e>>2]=g+4;m=f[h>>2]|0;f[a>>2]=m;a=f[d>>2]|0;a=a+1|0;f[d>>2]=a;u=n;return}}function mEa(a){a=a|0;var c=0,d=0;d=a+396|0;f[a+400>>2]=0;f[a+404>>2]=0;c=a+408|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+420>>2]=2;f[a+424>>2]=0;f[a>>2]=295620;f[d>>2]=295988;f[a+12>>2]=0;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[c+24>>2]=0;f[a+4>>2]=3;f[a+8>>2]=-1;f[a+16>>2]=3;f[a+20>>2]=-1;f[a+24>>2]=0;c=a+56|0;cDa(c);f[a>>2]=341432;f[d>>2]=341828;f[c>>2]=341640;f[a+388>>2]=0;f[a+392>>2]=0;f[a+384>>2]=a+388;f[a+72>>2]=15;c=a+60|0;if(f[a+64>>2]|0){d=a+372|0;n[d>>2]=.004999999888241291;d=a+376|0;f[d>>2]=10;d=a+380|0;b[d>>0]=0;return}f[c>>2]=f[c>>2]&-3;d=a+372|0;n[d>>2]=.004999999888241291;d=a+376|0;f[d>>2]=10;d=a+380|0;b[d>>0]=0;return}function nEa(a){a=a|0;var b=0,c=0;f[a>>2]=342076;b=a+92|0;f[b>>2]=342444;c=f[a+56>>2]|0;if(c|0){f[a+60>>2]=c;GBb(c)}dDa(a,342612);Gva(b);return}function oEa(a){a=a|0;var b=0,c=0;f[a>>2]=342076;b=a+92|0;f[b>>2]=342444;c=f[a+56>>2]|0;if(c|0){f[a+60>>2]=c;GBb(c)}dDa(a,342612);Gva(b);GBb(a);return}function pEa(a){a=a|0;return 409756}function qEa(a){a=a|0;return 429263}function rEa(a){a=a|0;f[a+60>>2]=f[a+56>>2];n[a+68>>2]=3402823466385288598117041.0e14;n[a+72>>2]=3402823466385288598117041.0e14;n[a+76>>2]=3402823466385288598117041.0e14;n[a+80>>2]=-3402823466385288598117041.0e14;n[a+84>>2]=-3402823466385288598117041.0e14;n[a+88>>2]=-3402823466385288598117041.0e14;return}function sEa(a,b){a=a|0;b=b|0;yEa(a,RJ(b)|0);return}function tEa(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+128|0;e=i;f3a(e);g=a+56|0;h=a+60|0;c=f[h>>2]|0;if((f[g>>2]|0)!=(c|0)?(d=c+-128|0,(d|0)!=(e|0)):0){p[e>>3]=+p[d>>3];p[e+8>>3]=+p[c+-120>>3];p[e+16>>3]=+p[c+-112>>3];p[e+24>>3]=+p[c+-104>>3];p[e+32>>3]=+p[c+-96>>3];p[e+40>>3]=+p[c+-88>>3];p[e+48>>3]=+p[c+-80>>3];p[e+56>>3]=+p[c+-72>>3];p[e+64>>3]=+p[c+-64>>3];p[e+72>>3]=+p[c+-56>>3];p[e+80>>3]=+p[c+-48>>3];p[e+88>>3]=+p[c+-40>>3];p[e+96>>3]=+p[c+-32>>3];p[e+104>>3]=+p[c+-24>>3];p[e+112>>3]=+p[c+-16>>3];p[e+120>>3]=+p[c+-8>>3]}dj[f[(f[b>>2]|0)+288>>2]&255](b,e,a)|0;c=f[h>>2]|0;if((c|0)==(f[a+64>>2]|0))JX(g,e);else{p[c>>3]=+p[e>>3];p[c+8>>3]=+p[e+8>>3];p[c+16>>3]=+p[e+16>>3];p[c+24>>3]=+p[e+24>>3];p[c+32>>3]=+p[e+32>>3];p[c+40>>3]=+p[e+40>>3];p[c+48>>3]=+p[e+48>>3];p[c+56>>3]=+p[e+56>>3];p[c+64>>3]=+p[e+64>>3];p[c+72>>3]=+p[e+72>>3];p[c+80>>3]=+p[e+80>>3];p[c+88>>3]=+p[e+88>>3];p[c+96>>3]=+p[e+96>>3];p[c+104>>3]=+p[e+104>>3];p[c+112>>3]=+p[e+112>>3];p[c+120>>3]=+p[e+120>>3];f[h>>2]=c+128}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);g=f[h>>2]|0;g=g+-128|0;f[h>>2]=g;u=i;return}case 0:{g=f[h>>2]|0;g=g+-128|0;f[h>>2]=g;u=i;return}default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);g=f[h>>2]|0;g=g+-128|0;f[h>>2]=g;u=i;return}}}function uEa(a){a=a|0;var b=0,c=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=342076;b=a+92|0;f[b>>2]=342444;c=f[a+56>>2]|0;if(!c){dDa(a,342612);Gva(b);return}f[a+60>>2]=c;GBb(c);dDa(a,342612);Gva(b);return}function vEa(a){a=a|0;var b=0,c=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=342076;b=a+92|0;f[b>>2]=342444;c=f[a+56>>2]|0;if(c|0){f[a+60>>2]=c;GBb(c)}dDa(a,342612);Gva(b);GBb(a);return}function wEa(a){a=a|0;return 409756}function xEa(a){a=a|0;return 429263}function yEa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,g=0,h=0.0,i=0,j=0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0,M=0.0,N=0,O=0,P=0.0,Q=0,R=0.0;e=f[a+60>>2]|0;Q=b+12|0;d=+n[Q>>2];k=+n[b>>2];c=!(d>=k);if((f[a+56>>2]|0)==(e|0)){if(c)return;g=b+16|0;e=b+4|0;if(!(+n[g>>2]>=+n[e>>2]))return;j=b+20|0;i=b+8|0;if(!(+n[j>>2]>=+n[i>>2]))return;c=a+68|0;if(k<+n[c>>2]){n[c>>2]=k;d=+n[Q>>2]}c=a+80|0;if(d>+n[c>>2])n[c>>2]=d;d=+n[e>>2];c=a+72|0;if(d<+n[c>>2])n[c>>2]=d;d=+n[g>>2];c=a+84|0;if(d>+n[c>>2])n[c>>2]=d;d=+n[i>>2];c=a+76|0;if(d<+n[c>>2])n[c>>2]=d;d=+n[j>>2];c=a+88|0;if(!(d>+n[c>>2]))return;n[c>>2]=d;return}if(c)return;N=b+16|0;g=b+4|0;d=+n[g>>2];if(!(+n[N>>2]>=d))return;O=b+20|0;c=b+8|0;h=+n[c>>2];if(!(+n[O>>2]>=h))return;P=+p[e+-104>>3];u=k;M=+p[e+-72>>3];E=+p[e+-40>>3];q=h;w=+p[e+-8>>3];t=1.0/(w+(P*u+M*d+E*q));x=+p[e+-128>>3];y=+p[e+-96>>3];z=+p[e+-64>>3];A=+p[e+-32>>3];k=t*(A+(x*u+y*d+z*q));F=+p[e+-120>>3];G=+p[e+-88>>3];H=+p[e+-56>>3];B=+p[e+-24>>3];m=t*(B+(F*u+G*d+H*q));I=+p[e+-112>>3];J=+p[e+-80>>3];K=+p[e+-48>>3];C=+p[e+-16>>3];q=t*(C+(I*u+J*d+K*q));L=a+68|0;d=+n[L>>2];if(d>k){n[L>>2]=k;d=k}D=a+80|0;h=+n[D>>2];if(h<k){n[D>>2]=k;h=k}v=a+72|0;k=+n[v>>2];if(k>m){n[v>>2]=m;k=m}j=a+84|0;l=+n[j>>2];if(l<m){n[j>>2]=m;l=m}i=a+76|0;m=+n[i>>2];if(m>q){n[i>>2]=q;m=q}e=a+88|0;o=+n[e>>2];if(o<q){n[e>>2]=q;o=q}R=+n[Q>>2];t=+n[g>>2];u=+n[c>>2];s=1.0/(w+(P*R+M*t+E*u));q=(A+(x*R+y*t+z*u))*s;r=(B+(F*R+G*t+H*u))*s;s=(C+(I*R+J*t+K*u))*s;if(d>q){n[L>>2]=q;d=q}if(h<q){n[D>>2]=q;h=q}if(k>r){n[v>>2]=r;k=r}if(l<r){n[j>>2]=r;l=r}if(m>s){n[i>>2]=s;m=s}if(o<s){n[e>>2]=s;o=s}t=+n[b>>2];u=+n[N>>2];R=+n[c>>2];s=1.0/(w+(P*t+M*u+E*R));q=(A+(x*t+y*u+z*R))*s;r=(B+(F*t+G*u+H*R))*s;s=(C+(I*t+J*u+K*R))*s;if(d>q){n[L>>2]=q;d=q}if(h<q){n[D>>2]=q;h=q}if(k>r){n[v>>2]=r;k=r}if(l<r){n[j>>2]=r;l=r}if(m>s){n[i>>2]=s;m=s}if(o<s){n[e>>2]=s;o=s}t=+n[Q>>2];u=+n[N>>2];R=+n[c>>2];s=1.0/(w+(P*t+M*u+E*R));q=(A+(x*t+y*u+z*R))*s;r=(B+(F*t+G*u+H*R))*s;s=(C+(I*t+J*u+K*R))*s;if(d>q){n[L>>2]=q;d=q}if(h<q){n[D>>2]=q;h=q}if(k>r){n[v>>2]=r;k=r}if(l<r){n[j>>2]=r;l=r}if(m>s){n[i>>2]=s;m=s}if(o<s){n[e>>2]=s;o=s}t=+n[b>>2];u=+n[g>>2];R=+n[O>>2];s=1.0/(w+(P*t+M*u+E*R));q=(A+(x*t+y*u+z*R))*s;r=(B+(F*t+G*u+H*R))*s;s=(C+(I*t+J*u+K*R))*s;if(d>q){n[L>>2]=q;d=q}if(h<q){n[D>>2]=q;h=q}if(k>r){n[v>>2]=r;k=r}if(l<r){n[j>>2]=r;l=r}if(m>s){n[i>>2]=s;m=s}if(o<s){n[e>>2]=s;o=s}t=+n[Q>>2];u=+n[g>>2];R=+n[O>>2];s=1.0/(w+(P*t+M*u+E*R));q=(A+(x*t+y*u+z*R))*s;r=(B+(F*t+G*u+H*R))*s;s=(C+(I*t+J*u+K*R))*s;if(d>q){n[L>>2]=q;d=q}if(h<q){n[D>>2]=q;h=q}if(k>r){n[v>>2]=r;k=r}if(l<r){n[j>>2]=r;l=r}if(m>s){n[i>>2]=s;m=s}if(o<s){n[e>>2]=s;t=s}else t=o;s=+n[b>>2];u=+n[N>>2];R=+n[O>>2];o=1.0/(w+(P*s+M*u+E*R));q=(A+(x*s+y*u+z*R))*o;r=(B+(F*s+G*u+H*R))*o;o=(C+(I*s+J*u+K*R))*o;if(d>q){n[L>>2]=q;u=q}else u=d;if(h<q)n[D>>2]=q;else q=h;if(k>r){n[v>>2]=r;s=r}else s=k;if(l<r){n[j>>2]=r;l=r}if(m>o){n[i>>2]=o;m=o}if(t<o)n[e>>2]=o;else o=t;r=+n[Q>>2];t=+n[N>>2];R=+n[O>>2];d=1.0/(w+(P*r+M*t+E*R));k=(A+(x*r+y*t+z*R))*d;h=(B+(F*r+G*t+H*R))*d;d=(C+(I*r+J*t+K*R))*d;if(u>k)n[L>>2]=k;if(q<k)n[D>>2]=k;if(s>h)n[v>>2]=h;if(l<h)n[j>>2]=h;if(m>d)n[i>>2]=d;if(!(o<d))return;n[e>>2]=d;return}function zEa(a,b){a=a|0;b=b|0;var c=0;c=f[a+28>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+120>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);c=f[a+212>>2]|0;if(!c)return;a=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[f[a>>2]>>2]&1023](a,b);return}function AEa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=342632;h=a+200|0;i=a+204|0;if((f[i>>2]|0)!=(f[h>>2]|0)){c=0;do{d=gFa(h,c)|0;d=f[d>>2]|0;if(d|0)b[d+104>>0]=1;c=c+1|0}while(c>>>0<(f[i>>2]|0)-(f[h>>2]|0)>>2>>>0)}c=a+216|0;d=f[c>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,j=e+8|0,d=f[j>>2]|0,f[j>>2]=d-1,(d|0)==1):0)Rua(e,1,1);f[c>>2]=0;c=a+212|0;d=f[c>>2]|0;if(d|0?(g=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,e=g+8|0,j=f[e>>2]|0,f[e>>2]=j-1,(j|0)==1):0)Rua(g,1,1);f[c>>2]=0;e=f[h>>2]|0;if(e|0){c=f[i>>2]|0;if((c|0)==(e|0))c=e;else{do{c=c+-4|0;d=f[c>>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);f[c>>2]=0}while((c|0)!=(e|0));c=f[h>>2]|0}f[i>>2]=e;GBb(c)}c=f[a+188>>2]|0;if(c|0){f[a+192>>2]=c;GBb(c)}c=a+176|0;d=f[c>>2]|0;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[c>>2]=0;c=a+148|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;Yxa(a);return}i=d+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1){f[c>>2]=0;Yxa(a);return}Rua(d,1,1);f[c>>2]=0;Yxa(a);return}function BEa(a){a=a|0;AEa(a);GBb(a);return}function CEa(a){a=a|0;a=EBb(220)|0;cGa(a);return a|0}function DEa(a,b){a=a|0;b=b|0;var c=0;c=EBb(220)|0;aGa(c,a,b);return c|0}function EEa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,296768,0)|0)!=0;return b|0}function FEa(a){a=a|0;return 409756}function GEa(a){a=a|0;return 430012}function HEa(a){a=a|0;return a|0}function IEa(a){a=a|0;return a|0}function JEa(a){a=a|0;var b=0;b=a+24|0;if((f[b>>2]|0)!=2)return;if(((f[a+84>>2]|0)==0?(f[a+92>>2]|0)==0:0)?(f[a+100>>2]|0)==0:0)a=1;else a=0;f[b>>2]=a;return}function KEa(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;h=i;c=f[a+120>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+156>>2]&1023](c,b);c=f[a+212>>2]|0;if(c|0){g=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Bj[f[(f[g>>2]|0)+156>>2]&1023](g,b)}c=a+188|0;f[h>>2]=0;d=a+192|0;e=f[c>>2]|0;g=(f[d>>2]|0)-e>>2;if(g>>>0>=b>>>0){if(g>>>0>b>>>0)f[d>>2]=e+(b<<2)}else VO(c,b-g|0,h);g=a+200|0;h=a+204|0;c=f[h>>2]|0;d=f[g>>2]|0;e=c-d>>2;if(e>>>0<b>>>0){$Fa(g,b-e|0);u=i;return}if(e>>>0<=b>>>0){u=i;return}e=d+(b<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(a=d+8|0,b=f[a>>2]|0,f[a>>2]=b-1,(b|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[h>>2]=e;u=i;return}function LEa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;i=k;d=f[a+120>>2]|0;if(d|0)Bj[f[(f[d>>2]|0)+160>>2]&1023](d,c);d=f[a+212>>2]|0;if(d|0){j=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;Bj[f[(f[j>>2]|0)+160>>2]&1023](j,c)}if(!c){tj[f[(f[a>>2]|0)+240>>2]&2047](a);u=k;return}j=f[c+124>>2]|0;if(b[a+181>>0]|0){c=a+188|0;e=a+192|0;d=f[c>>2]|0;g=(f[e>>2]|0)-d>>2;if(g>>>0<=j>>>0){h=j+1|0;f[i>>2]=0;if(h>>>0<=g>>>0){if(h>>>0<g>>>0)f[e>>2]=d+(h<<2)}else{VO(c,h-g|0,i);d=f[c>>2]|0}}d=d+(j<<2)|0;c=f[d>>2]|0;if(c|0){i=_i[f[(f[a>>2]|0)+244>>2]&2047](a)|0;IFa(HFa(Uza(j)|0)|0,c,i);f[d>>2]=0}}c=a+200|0;if(j>>>0>=(f[a+204>>2]|0)-(f[c>>2]|0)>>2>>>0){u=k;return}d=gFa(c,j)|0;d=f[d>>2]|0;if(!d){u=k;return}JFa(d);d=gFa(c,j)|0;c=f[d>>2]|0;if(!c){u=k;return}f[d>>2]=0;j=c+8|0;a=f[j>>2]|0;f[j>>2]=a-1;if((a|0)!=1){u=k;return}Rua(c,1,1);u=k;return}function MEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+100>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function NEa(a,b){a=a|0;b=b|0;b=RJ(b)|0;n[a>>2]=0.0;n[a+4>>2]=0.0;n[a+8>>2]=0.0;n[a+12>>2]=-1.0;wta(a,b);return}function OEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=u;u=u+64|0;d=c;f[d>>2]=342956;n[d+28>>2]=3402823466385288598117041.0e14;n[d+32>>2]=3402823466385288598117041.0e14;n[d+36>>2]=3402823466385288598117041.0e14;n[d+40>>2]=-3402823466385288598117041.0e14;n[d+44>>2]=-3402823466385288598117041.0e14;n[d+48>>2]=-3402823466385288598117041.0e14;e=d+4|0;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;Bj[f[(f[b>>2]|0)+284>>2]&1023](b,d);b=d+28|0;f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];f[a+12>>2]=f[b+12>>2];f[a+16>>2]=f[b+16>>2];f[a+20>>2]=f[b+20>>2];u=c;return}function PEa(a,b){a=a|0;b=b|0;var c=0;a=a+176|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(c,1,1);return}function QEa(a,c){a=a|0;c=c|0;var d=0,e=0;d=a+183|0;e=b[d>>0]|0;if((e&255|0)==(c&1|0))return;if(e<<24>>24)tj[f[(f[a>>2]|0)+240>>2]&2047](a);b[d>>0]=c&1;return}function REa(a){a=a|0;var c=0,d=0,e=0;e=a+200|0;c=a+204|0;if((f[c>>2]|0)==(f[e>>2]|0))return;a=0;do{d=gFa(e,a)|0;d=f[d>>2]|0;if(d|0)b[d+104>>0]=1;a=a+1|0}while(a>>>0<(f[c>>2]|0)-(f[e>>2]|0)>>2>>>0);return}function SEa(a){a=a|0;return 0}function TEa(a,b){a=a|0;b=b|0;return}function UEa(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;d=i;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){h=jsb(Nu(Hua(4)|0,429313,95)|0,a)|0;Drb(d,h+(f[(f[h>>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(h,g)|0;Krb(h)|0}h=EBb(108)|0;a=f[c>>2]|0;f[h+4>>2]=0;f[h+8>>2]=0;f[h>>2]=342936;f[h+12>>2]=a;d=h+16|0;f[d>>2]=0;c=h+104|0;e=h+24|0;g=e+80|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));b[c>>0]=1;g=f[a+832>>2]|0;f[d>>2]=g;g=g+8|0;f[g>>2]=(f[g>>2]|0)+1;b[h+20>>0]=b[(f[d>>2]|0)+712>>0]|0;dFa(h);u=i;return h|0}function VEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+212|0;e=f[d>>2]|0;if((e|0)!=(b|0)){f[d>>2]=b;if(b|0){d=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}if(e|0?(c=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,d=c+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(c,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);return}function WEa(a,b){a=a|0;b=b|0;return}function XEa(a,b){a=a|0;b=b|0;return 0}function YEa(a,b){a=a|0;b=b|0;return}function ZEa(a,b){a=a|0;b=b|0;return 0}function _Ea(a,b){a=a|0;b=b|0;return}function $Ea(a,b){a=a|0;b=b|0;return 0}function aFa(a,b){a=a|0;b=b|0;return}function bFa(a,b){a=a|0;b=b|0;return 0}function cFa(a,b){a=a|0;b=b|0;return}function dFa(a){a=a|0;var c=0,d=0,e=0,g=0;Txa(a);Mwa(a);Owa(a);c=a+40|0;if(!(f[c>>2]|0)){e=EBb(28)|0;g=f[(f[a+12>>2]|0)+492>>2]|0;f[e+4>>2]=0;d=e+8|0;f[d>>2]=0;f[e+12>>2]=0;f[e+16>>2]=-1;b[e+20>>0]=0;f[e>>2]=338436;f[e+24>>2]=g;f[c>>2]=e;f[d>>2]=(f[d>>2]|0)+1}c=a+44|0;if(f[c>>2]|0){jxa(a,8);Zwa(a,16);return}e=EBb(28)|0;d=f[(f[a+12>>2]|0)+532>>2]|0;f[e+4>>2]=0;g=e+8|0;f[g>>2]=0;f[e+12>>2]=0;f[e+16>>2]=-1;b[e+20>>0]=0;f[e>>2]=338436;f[e+24>>2]=d;f[c>>2]=e;f[g>>2]=(f[g>>2]|0)+1;jxa(a,8);Zwa(a,16);return}function eFa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=342936;b=f[a+84>>2]|0;if(b|0){f[a+88>>2]=b;GBb(b)}b=f[a+72>>2]|0;if(b|0){f[a+76>>2]=b;GBb(b)}d=a+60|0;e=f[d>>2]|0;if(e|0){g=a+64|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}d=a+48|0;e=f[d>>2]|0;if(e|0){g=a+52|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}b=a+44|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+40|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+36|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+32|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+28|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|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}h=c+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[b>>2]=0;Uua(a);return}Rua(c,1,1);f[b>>2]=0;Uua(a);return}function fFa(a){a=a|0;eFa(a);GBb(a);return}function gFa(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;j=l;k=a+4|0;c=f[k>>2]|0;g=f[a>>2]|0;e=c-g>>2;if(e>>>0>b>>>0){k=g;k=k+(b<<2)|0;u=l;return k|0}d=b+1|0;f[j>>2]=0;if(d>>>0<=e>>>0){if(d>>>0<e>>>0){e=g+(d<<2)|0;if((e|0)!=(c|0))do{c=c+-4|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}while((c|0)!=(e|0));f[k>>2]=e;h=12}}else{hFa(a,d-e|0,j);h=12}if(((h|0)==12?(i=f[j>>2]|0,i|0):0)?(j=i+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(i,1,1);k=f[a>>2]|0;k=k+(b<<2)|0;u=l;return k|0}function hFa(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;g=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;if(g-d>>2>>>0>=b>>>0){do{e=f[c>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[n>>2]|0}d=d+4|0;f[n>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;k=d-e>>2;d=k+b|0;if(d>>>0>1073741823)DCb(a);j=g-e|0;l=j>>1;d=j>>2>>>0<536870911?(l>>>0<d>>>0?d:l):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{l=EBb(d<<2)|0;break}else l=0;while(0);j=l+(k<<2)|0;e=j;i=l+(d<<2)|0;d=e;h=j;while(1){g=f[c>>2]|0;f[h>>2]=g;if(!g)d=h;else{h=g+8|0;f[h>>2]=(f[h>>2]|0)+1}g=d+4|0;b=b+-1|0;if(!b)break;else{d=g;h=g}}c=g;d=f[a>>2]|0;b=d;g=f[n>>2]|0;if((g|0)==(d|0))g=b;else{h=k+-1-((g+-4-b|0)>>>2)|0;e=j;while(1){g=g+-4|0;b=f[g>>2]|0;f[e+-4>>2]=b;if(b|0){k=b+8|0;f[k>>2]=(f[k>>2]|0)+1}if((g|0)==(d|0))break;else e=e+-4|0}e=l+(h<<2)|0;g=f[a>>2]|0;d=f[n>>2]|0}f[a>>2]=e;f[n>>2]=c;f[m>>2]=i;b=g;if((d|0)!=(b|0))do{d=d+-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}while((d|0)!=(b|0));if(!g)return;GBb(g);return}function iFa(a){a=a|0;GBb(a);return}function jFa(a,b,c){a=a|0;b=b|0;c=c|0;f[a+4>>2]=c;return}function kFa(a,b,c){a=a|0;b=b|0;c=c|0;f[a+8>>2]=c;return}function lFa(a,b,c){a=a|0;b=b|0;c=c|0;f[a+12>>2]=c;return}function mFa(a,b,c){a=a|0;b=b|0;c=c|0;f[a+16>>2]=c;return}function nFa(a,b,c){a=a|0;b=b|0;c=c|0;f[a+20>>2]=c;return}function oFa(a,b,c){a=a|0;b=b|0;c=c|0;f[a+24>>2]=c;return}function pFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=f[a+8>>2]|0;if(b|0){e=b+((d+c|0)*12|0)|0;if((d|0)<=0)return;b=b+(c*12|0)|0;do{Bj[f[(f[a>>2]|0)+56>>2]&1023](a,b);b=b+12|0}while(b>>>0<e>>>0);return}b=f[a+4>>2]|0;if(b|0){e=b+(d+c<<3)|0;if((d|0)<=0)return;b=b+(c<<3)|0;do{Bj[f[(f[a>>2]|0)+52>>2]&1023](a,b);b=b+8|0}while(b>>>0<e>>>0);return}b=f[a+12>>2]|0;if(b|0){e=b+(d+c<<4)|0;if((d|0)<=0)return;b=b+(c<<4)|0;do{Bj[f[(f[a>>2]|0)+60>>2]&1023](a,b);b=b+16|0}while(b>>>0<e>>>0);return}b=f[a+16>>2]|0;if(b|0){e=b+(d+c<<4)|0;if((d|0)<=0)return;b=b+(c<<4)|0;do{Bj[f[(f[a>>2]|0)+64>>2]&1023](a,b);b=b+16|0}while(b>>>0<e>>>0);return}b=f[a+20>>2]|0;if(b|0){e=b+((d+c|0)*24|0)|0;if((d|0)<=0)return;b=b+(c*24|0)|0;do{Bj[f[(f[a>>2]|0)+68>>2]&1023](a,b);b=b+24|0}while(b>>>0<e>>>0);return}b=f[a+24>>2]|0;if(!b)return;e=b+(d+c<<5)|0;if((d|0)<=0)return;b=b+(c<<5)|0;do{Bj[f[(f[a>>2]|0)+72>>2]&1023](a,b);b=b+32|0}while(b>>>0<e>>>0);return}function qFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=f[a+8>>2]|0;if(b|0){e=d+c|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+56>>2]&1023](a,b+((h[d>>0]|0)*12|0)|0);d=d+1|0}while((d|0)!=(e|0));return}b=f[a+4>>2]|0;if(b|0){e=d+c|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+52>>2]&1023](a,b+((h[d>>0]|0)<<3)|0);d=d+1|0}while((d|0)!=(e|0));return}b=f[a+12>>2]|0;if(b|0){e=d+c|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+60>>2]&1023](a,b+((h[d>>0]|0)<<4)|0);d=d+1|0}while((d|0)!=(e|0));return}b=f[a+16>>2]|0;if(b|0){e=d+c|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+64>>2]&1023](a,b+((h[d>>0]|0)<<4)|0);d=d+1|0}while((d|0)!=(e|0));return}b=f[a+20>>2]|0;if(b|0){e=d+c|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+68>>2]&1023](a,b+((h[d>>0]|0)*24|0)|0);d=d+1|0}while((d|0)!=(e|0));return}b=f[a+24>>2]|0;if(!b)return;e=d+c|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+72>>2]&1023](a,b+((h[d>>0]|0)<<5)|0);d=d+1|0}while((d|0)!=(e|0));return}function rFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=f[a+8>>2]|0;if(b|0){e=d+(c<<1)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+56>>2]&1023](a,b+((j[d>>1]|0)*12|0)|0);d=d+2|0}while(d>>>0<e>>>0);return}b=f[a+4>>2]|0;if(b|0){e=d+(c<<1)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+52>>2]&1023](a,b+((j[d>>1]|0)<<3)|0);d=d+2|0}while(d>>>0<e>>>0);return}b=f[a+12>>2]|0;if(b|0){e=d+(c<<1)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+60>>2]&1023](a,b+((j[d>>1]|0)<<4)|0);d=d+2|0}while(d>>>0<e>>>0);return}b=f[a+16>>2]|0;if(b|0){e=d+(c<<1)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+64>>2]&1023](a,b+((j[d>>1]|0)<<4)|0);d=d+2|0}while(d>>>0<e>>>0);return}b=f[a+20>>2]|0;if(b|0){e=d+(c<<1)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+68>>2]&1023](a,b+((j[d>>1]|0)*24|0)|0);d=d+2|0}while(d>>>0<e>>>0);return}b=f[a+24>>2]|0;if(!b)return;e=d+(c<<1)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+72>>2]&1023](a,b+((j[d>>1]|0)<<5)|0);d=d+2|0}while(d>>>0<e>>>0);return}function sFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=f[a+8>>2]|0;if(b|0){e=d+(c<<2)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+56>>2]&1023](a,b+((f[d>>2]|0)*12|0)|0);d=d+4|0}while(d>>>0<e>>>0);return}b=f[a+4>>2]|0;if(b|0){e=d+(c<<2)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+52>>2]&1023](a,b+(f[d>>2]<<3)|0);d=d+4|0}while(d>>>0<e>>>0);return}b=f[a+12>>2]|0;if(b|0){e=d+(c<<2)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+60>>2]&1023](a,b+(f[d>>2]<<4)|0);d=d+4|0}while(d>>>0<e>>>0);return}b=f[a+16>>2]|0;if(b|0){e=d+(c<<2)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+64>>2]&1023](a,b+(f[d>>2]<<4)|0);d=d+4|0}while(d>>>0<e>>>0);return}b=f[a+20>>2]|0;if(b|0){e=d+(c<<2)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+68>>2]&1023](a,b+((f[d>>2]|0)*24|0)|0);d=d+4|0}while(d>>>0<e>>>0);return}b=f[a+24>>2]|0;if(!b)return;e=d+(c<<2)|0;if((c|0)<=0)return;do{Bj[f[(f[a>>2]|0)+72>>2]&1023](a,b+(f[d>>2]<<5)|0);d=d+4|0}while(d>>>0<e>>>0);return}function tFa(a,b){a=a|0;b=b|0;return}function uFa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+n[b>>2];d=+n[b+4>>2];b=a+28|0;if(c<+n[b>>2])n[b>>2]=c;b=a+40|0;if(c>+n[b>>2])n[b>>2]=c;b=a+32|0;if(d<+n[b>>2])n[b>>2]=d;b=a+44|0;if(d>+n[b>>2])n[b>>2]=d;b=a+36|0;if(+n[b>>2]>0.0)n[b>>2]=0.0;b=a+48|0;if(!(+n[b>>2]<0.0))return;n[b>>2]=0.0;return}function vFa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0;d=+n[b>>2];c=a+28|0;if(d<+n[c>>2]){n[c>>2]=d;d=+n[b>>2]}c=a+40|0;if(d>+n[c>>2])n[c>>2]=d;c=b+4|0;d=+n[c>>2];e=a+32|0;if(d<+n[e>>2]){n[e>>2]=d;d=+n[c>>2]}c=a+44|0;if(d>+n[c>>2])n[c>>2]=d;c=b+8|0;d=+n[c>>2];e=a+36|0;if(d<+n[e>>2]){n[e>>2]=d;d=+n[c>>2]}c=a+48|0;if(!(d>+n[c>>2]))return;n[c>>2]=d;return}function wFa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0;c=+n[b+12>>2];if(!(c!=0.0))return;d=+n[b>>2]/c;e=+n[b+4>>2]/c;c=+n[b+8>>2]/c;b=a+28|0;if(d<+n[b>>2])n[b>>2]=d;b=a+40|0;if(d>+n[b>>2])n[b>>2]=d;b=a+32|0;if(e<+n[b>>2])n[b>>2]=e;b=a+44|0;if(e>+n[b>>2])n[b>>2]=e;b=a+36|0;if(c<+n[b>>2])n[b>>2]=c;b=a+48|0;if(!(c>+n[b>>2]))return;n[b>>2]=c;return}function xFa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+p[b>>3];d=+p[b+8>>3];b=a+28|0;if(+n[b>>2]>c)n[b>>2]=c;b=a+40|0;if(+n[b>>2]<c)n[b>>2]=c;b=a+32|0;if(+n[b>>2]>d)n[b>>2]=d;b=a+44|0;if(+n[b>>2]<d)n[b>>2]=d;b=a+36|0;if(+n[b>>2]>0.0)n[b>>2]=0.0;b=a+48|0;if(!(+n[b>>2]<0.0))return;n[b>>2]=0.0;return}function yFa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0;c=+p[b>>3];d=+p[b+8>>3];e=+p[b+16>>3];b=a+28|0;if(+n[b>>2]>c)n[b>>2]=c;b=a+40|0;if(+n[b>>2]<c)n[b>>2]=c;b=a+32|0;if(+n[b>>2]>d)n[b>>2]=d;b=a+44|0;if(+n[b>>2]<d)n[b>>2]=d;b=a+36|0;if(+n[b>>2]>e)n[b>>2]=e;b=a+48|0;if(!(+n[b>>2]<e))return;n[b>>2]=e;return}function zFa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0;c=+p[b+24>>3];if(!(c!=0.0))return;e=c;c=+p[b>>3]/e;d=+p[b+8>>3]/e;e=+p[b+16>>3]/e;b=a+28|0;if(c<+n[b>>2])n[b>>2]=c;b=a+40|0;if(c>+n[b>>2])n[b>>2]=c;b=a+32|0;if(d<+n[b>>2])n[b>>2]=d;b=a+44|0;if(d>+n[b>>2])n[b>>2]=d;b=a+36|0;if(e<+n[b>>2])n[b>>2]=e;b=a+48|0;if(!(e>+n[b>>2]))return;n[b>>2]=e;return}function AFa(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=a+28|0;if(+n[d>>2]>b)n[d>>2]=b;d=a+40|0;if(+n[d>>2]<b)n[d>>2]=b;d=a+32|0;if(+n[d>>2]>c)n[d>>2]=c;d=a+44|0;if(+n[d>>2]<c)n[d>>2]=c;d=a+36|0;if(+n[d>>2]>1.0)n[d>>2]=1.0;d=a+48|0;if(!(+n[d>>2]<1.0))return;n[d>>2]=1.0;return}function BFa(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=a+28|0;if(+n[e>>2]>b)n[e>>2]=b;e=a+40|0;if(+n[e>>2]<b)n[e>>2]=b;e=a+32|0;if(+n[e>>2]>c)n[e>>2]=c;e=a+44|0;if(+n[e>>2]<c)n[e>>2]=c;e=a+36|0;if(+n[e>>2]>d)n[e>>2]=d;e=a+48|0;if(!(+n[e>>2]<d))return;n[e>>2]=d;return}function CFa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0;if(!(e!=0.0))return;b=b/e;c=c/e;d=d/e;f=a+28|0;if(+n[f>>2]>b)n[f>>2]=b;f=a+40|0;if(+n[f>>2]<b)n[f>>2]=b;f=a+32|0;if(+n[f>>2]>c)n[f>>2]=c;f=a+44|0;if(+n[f>>2]<c)n[f>>2]=c;f=a+36|0;if(+n[f>>2]>d)n[f>>2]=d;f=a+48|0;if(!(+n[f>>2]<d))return;n[f>>2]=d;return}function DFa(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=a+28|0;if(+n[d>>2]>b)n[d>>2]=b;d=a+40|0;if(+n[d>>2]<b)n[d>>2]=b;d=a+32|0;if(+n[d>>2]>c)n[d>>2]=c;d=a+44|0;if(+n[d>>2]<c)n[d>>2]=c;d=a+36|0;if(+n[d>>2]>1.0)n[d>>2]=1.0;d=a+48|0;if(!(+n[d>>2]<1.0))return;n[d>>2]=1.0;return}function EFa(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=a+28|0;if(+n[e>>2]>b)n[e>>2]=b;e=a+40|0;if(+n[e>>2]<b)n[e>>2]=b;e=a+32|0;if(+n[e>>2]>c)n[e>>2]=c;e=a+44|0;if(+n[e>>2]<c)n[e>>2]=c;e=a+36|0;if(+n[e>>2]>d)n[e>>2]=d;e=a+48|0;if(!(+n[e>>2]<d))return;n[e>>2]=d;return}function FFa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0,g=0.0;if(!(e!=0.0))return;b=b/e;g=c/e;c=d/e;f=a+28|0;if(+n[f>>2]>b)n[f>>2]=b;f=a+40|0;if(+n[f>>2]<b)n[f>>2]=b;f=a+32|0;if(+n[f>>2]>g)n[f>>2]=g;f=a+44|0;if(+n[f>>2]<g)n[f>>2]=g;f=a+36|0;if(+n[f>>2]>c)n[f>>2]=c;f=a+48|0;if(!(+n[f>>2]<c))return;n[f>>2]=c;return}function GFa(a){a=a|0;return}function HFa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+36|0;c=a+40|0;b=f[c>>2]|0;do if(b){d=a+40|0;while(1){c=f[b+16>>2]|0;if(c>>>0>296832>>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=296832>>>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=c;d=c}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=296832;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+40>>2]|0,c);g=a+44|0;f[g>>2]=(f[g>>2]|0)+1}c=b+20|0;if(f[c>>2]|0){a=f[c>>2]|0;return a|0}d=EBb(64)|0;UFa(d,f[a+24>>2]|0);b=f[c>>2]|0;if((b|0)==(d|0)){a=f[c>>2]|0;return a|0}f[c>>2]=d;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!b){a=f[c>>2]|0;return a|0}g=b+8|0;a=f[g>>2]|0;f[g>>2]=a-1;if((a|0)!=1){a=f[c>>2]|0;return a|0}Rua(b,1,1);a=f[c>>2]|0;return a|0}function IFa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=c;return}d=Nu(Hua(4)|0,429782,57)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function JFa(a){a=a|0;var c=0,d=0,e=0,g=0;d=u;u=u+16|0;c=d;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){e=jsb(Nu(Hua(5)|0,429449,28)|0,a)|0;Drb(c,e+(f[(f[e>>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(e,g)|0;Krb(e)|0}LFa(KFa(Uza(f[(f[a+16>>2]|0)+12>>2]|0)|0)|0,a);u=d;return}function KFa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+36|0;c=a+40|0;b=f[c>>2]|0;do if(b){d=a+40|0;while(1){c=f[b+16>>2]|0;if(c>>>0>296816>>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=296816>>>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=c;d=c}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=296816;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+40>>2]|0,c);g=a+44|0;f[g>>2]=(f[g>>2]|0)+1}c=b+20|0;if(f[c>>2]|0){a=f[c>>2]|0;return a|0}d=EBb(52)|0;MFa(d,f[a+24>>2]|0);b=f[c>>2]|0;if((b|0)==(d|0)){a=f[c>>2]|0;return a|0}f[c>>2]=d;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!b){a=f[c>>2]|0;return a|0}g=b+8|0;a=f[g>>2]|0;f[g>>2]=a-1;if((a|0)!=1){a=f[c>>2]|0;return a|0}Rua(b,1,1);a=f[c>>2]|0;return a|0}function LFa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;d=i;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){h=Nu(jsb(Nu(Hua(5)|0,429478,33)|0,a)|0,409404,1)|0;Drb(d,h+(f[(f[h>>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(h,g)|0;Krb(h)|0}d=a+28|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;e=(c|0)==0;if(!e){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}g=a+40|0;h=EBb(12)|0;f[h>>2]=0;f[h+8>>2]=c;if(!e){j=c+8|0;f[j>>2]=(f[j>>2]|0)+1}f[h+4>>2]=g;j=f[g>>2]|0;f[h>>2]=j;f[j+4>>2]=h;f[g>>2]=h;j=a+48|0;f[j>>2]=(f[j>>2]|0)+1;if(e){j=f[d>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](d)|0;u=i;return}a=c+8|0;j=f[a>>2]|0;f[a>>2]=j-1;if((j|0)!=1){j=f[d>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](d)|0;u=i;return}Rua(c,1,1);j=f[d>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](d)|0;u=i;return}function MFa(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;d=h;e=EBb(32)|0;f[d>>2]=e;f[d+8>>2]=-2147483616;f[d+4>>2]=23;g=e;i=429512;j=g+23|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+23>>0]=0;dAa(a,d,c);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[a>>2]=343068;t4a(a+28|0,0);j=a+40|0;f[j>>2]=j;f[a+44>>2]=j;f[a+48>>2]=0;u=h;return}function NFa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=343068;e=a+40|0;b=a+48|0;if(f[b>>2]|0?(c=f[a+44>>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[b>>2]=0,(c|0)!=(e|0)):0)do{b=c;c=f[c+4>>2]|0;d=f[b+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(b)}while((c|0)!=(e|0));R3a(a+28|0);iza(a);return}function OFa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=343068;e=a+40|0;b=a+48|0;if(f[b>>2]|0?(c=f[a+44>>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[b>>2]=0,(c|0)!=(e|0)):0)do{b=c;c=f[c+4>>2]|0;d=f[b+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(b)}while((c|0)!=(e|0));R3a(a+28|0);iza(a);GBb(a);return}function PFa(a,c,d){a=a|0;c=+c;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;q=u;u=u+16|0;l=q;if(+p[d>>3]<=0.0){u=q;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){o=Nu(Hua(5)|0,429707,48)|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((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,l|0)|0;o=f[l>>2]|0;o=LDb(o|0,((o|0)<0)<<31>>31|0,1e6,0)|0;n=H;m=f[l+4>>2]|0;m=QDb(m|0,((m|0)<0)<<31>>31|0,1e3,0)|0;n=MDb(m|0,H|0,o|0,n|0)|0;o=497264;f[o>>2]=n;f[o+4>>2]=H}Nb(1,l|0)|0;o=f[l>>2]|0;o=LDb(o|0,((o|0)<0)<<31>>31|0,1e6,0)|0;n=H;m=f[l+4>>2]|0;m=QDb(m|0,((m|0)<0)<<31>>31|0,1e3,0)|0;n=MDb(m|0,H|0,o|0,n|0)|0;o=H;m=a+28|0;_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;k=a+44|0;e=f[k>>2]|0;i=a+40|0;g=e;if((i|0)!=(g|0)&+p[d>>3]>0.0){j=l+4|0;do{TFa(f[e+8>>2]|0);Nb(1,l|0)|0;h=f[l>>2]|0;h=LDb(h|0,((h|0)<0)<<31>>31|0,1e6,0)|0;e=H;r=f[j>>2]|0;r=QDb(r|0,((r|0)<0)<<31>>31|0,1e3,0)|0;e=MDb(r|0,H|0,h|0,e|0)|0;h=H;if(h>>>0>o>>>0|(h|0)==(o|0)&e>>>0>n>>>0){r=NDb(e|0,h|0,n|0,o|0)|0;c=+p[62159]*(+(r>>>0)+4294967296.0*+(H>>>0))}else{r=NDb(n|0,o|0,e|0,h|0)|0;c=-(+p[62159]*(+(r>>>0)+4294967296.0*+(H>>>0)))}e=f[g+4>>2]|0;g=e}while((i|0)!=(g|0)?c<+p[d>>3]:0);j=e;e=f[k>>2]|0;if((e|0)!=(j|0)){i=(f[j>>2]|0)+4|0;r=f[e>>2]|0;f[r+4>>2]=f[i>>2];f[f[i>>2]>>2]=r;i=a+48|0;do{g=e;e=f[e+4>>2]|0;f[i>>2]=(f[i>>2]|0)+-1;h=f[g+8>>2]|0;if(h|0?(a=h+8|0,r=f[a>>2]|0,f[a>>2]=r-1,(r|0)==1):0)Rua(h,1,1);GBb(g)}while((e|0)!=(j|0))}}_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;Nb(1,l|0)|0;g=f[l>>2]|0;g=LDb(g|0,((g|0)<0)<<31>>31|0,1e6,0)|0;e=H;r=f[l+4>>2]|0;r=QDb(r|0,((r|0)<0)<<31>>31|0,1e3,0)|0;e=MDb(r|0,H|0,g|0,e|0)|0;g=H;if(g>>>0>o>>>0|(g|0)==(o|0)&e>>>0>n>>>0){r=NDb(e|0,g|0,n|0,o|0)|0;c=+p[62159]*(+(r>>>0)+4294967296.0*+(H>>>0))}else{r=NDb(n|0,o|0,e|0,g|0)|0;c=-(+p[62159]*(+(r>>>0)+4294967296.0*+(H>>>0)))}p[d>>3]=+p[d>>3]-c;u=q;return}function QFa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;c=i;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){h=Nu(Hua(5)|0,429536,51)|0;Drb(c,h+(f[(f[h>>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(h,g)|0;Krb(h)|0}g=a+28|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;h=a+40|0;e=a+44|0;c=f[e>>2]|0;d=c;if((h|0)!=(d|0))do{TFa(f[c+8>>2]|0);c=f[d+4>>2]|0;d=c}while((h|0)!=(d|0));d=a+48|0;if(!(f[d>>2]|0)){h=f[g>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](g)|0;u=i;return}c=f[e>>2]|0;e=(f[h>>2]|0)+4|0;a=f[c>>2]|0;f[a+4>>2]=f[e>>2];f[f[e>>2]>>2]=a;f[d>>2]=0;if((c|0)==(h|0)){h=f[g>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](g)|0;u=i;return}do{d=c;c=f[c+4>>2]|0;a=f[d+8>>2]|0;if(a|0?(j=a+8|0,e=f[j>>2]|0,f[j>>2]=e-1,(e|0)==1):0)Rua(a,1,1);GBb(d)}while((c|0)!=(h|0));j=f[g>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](g)|0;u=i;return}function RFa(a){a=a|0;var c=0,d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=c;return}d=Nu(Hua(4)|0,429588,71)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function SFa(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;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){g=Nu(Hua(5)|0,429536,51)|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}e=a+28|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;g=a+40|0;d=a+48|0;if(!(f[d>>2]|0)){g=f[e>>2]|0;g=g+12|0;g=f[g>>2]|0;_i[g&2047](e)|0;u=h;return}c=f[a+44>>2]|0;a=(f[g>>2]|0)+4|0;i=f[c>>2]|0;f[i+4>>2]=f[a>>2];f[f[a>>2]>>2]=i;f[d>>2]=0;if((c|0)==(g|0)){i=f[e>>2]|0;i=i+12|0;i=f[i>>2]|0;_i[i&2047](e)|0;u=h;return}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));j=f[e>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](e)|0;u=h;return}function TFa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;e=u;u=u+16|0;c=e;d=a+24|0;if(!(f[d>>2]|0)){u=e;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){g=Nu(Hua(5)|0,429660,46)|0;g=csb(g,f[d>>2]|0)|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}Bj[f[(f[a+16>>2]|0)+1548>>2]&1023](1,d);f[d>>2]=0;u=e;return}function UFa(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;d=h;e=EBb(32)|0;f[d>>2]=e;f[d+8>>2]=-2147483616;f[d+4>>2]=18;g=e;i=429840;j=g+18|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+18>>0]=0;dAa(a,d,c);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);f[a>>2]=343120;f[a+28>>2]=0;f[a+32>>2]=0;f[a+36>>2]=0;t4a(a+40|0,0);f[a+56>>2]=0;f[a+60>>2]=0;f[a+52>>2]=a+56;u=h;return}function VFa(a){a=a|0;f[a>>2]=343120;Jv(a+52|0,f[a+56>>2]|0);R3a(a+40|0);iza(a);return}function WFa(a){a=a|0;f[a>>2]=343120;Jv(a+52|0,f[a+56>>2]|0);R3a(a+40|0);iza(a);GBb(a);return}function XFa(a,c,d){a=a|0;c=+c;d=d|0;var e=0,g=0;d=u;u=u+16|0;a=d;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=d;return}e=Nu(Hua(4)|0,429926,64)|0;Drb(a,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);g=utb(a,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(a);ksb(e,g)|0;Krb(e)|0;u=d;return}function YFa(a){a=a|0;var c=0,d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=c;return}d=Nu(Hua(4)|0,429782,57)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function ZFa(a){a=a|0;var c=0,d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=c;return}d=Nu(Hua(4)|0,429859,66)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function _Fa(a){a=a|0;var b=0,c=0,d=0;b=a+40|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;d=a+52|0;c=a+56|0;Jv(d,f[c>>2]|0);f[a+60>>2]=0;f[d>>2]=c;f[c>>2]=0;_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;return}function $Fa(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function aGa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;uya(a,c,d);f[a>>2]=342632;e=a+124|0;h=c+124|0;f[e>>2]=f[h>>2];f[e+4>>2]=f[h+4>>2];f[e+8>>2]=f[h+8>>2];f[e+12>>2]=f[h+12>>2];f[e+16>>2]=f[h+16>>2];f[e+20>>2]=f[h+20>>2];e=f[c+148>>2]|0;f[a+148>>2]=e;if(e|0){h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}h=a+152|0;g=c+152|0;f[h>>2]=f[g>>2];f[h+4>>2]=f[g+4>>2];f[h+8>>2]=f[g+8>>2];f[h+12>>2]=f[g+12>>2];f[h+16>>2]=f[g+16>>2];f[h+20>>2]=f[g+20>>2];d=cj[f[(f[d>>2]|0)+48>>2]&1023](d,f[c+176>>2]|0)|0;f[a+176>>2]=d;if(d|0){h=d+8|0;f[h>>2]=(f[h>>2]|0)+1}b[a+180>>0]=b[c+180>>0]|0;b[a+181>>0]=b[c+181>>0]|0;b[a+182>>0]=b[c+182>>0]|0;b[a+183>>0]=b[c+183>>0]|0;b[a+184>>0]=b[c+184>>0]|0;d=a+188|0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;g=a+192|0;f[g>>2]=0;h=a+196|0;f[h>>2]=0;do if(e|0)if(e>>>0>1073741823)DCb(d);else{i=e<<2;j=EBb(i)|0;f[d>>2]=j;e=j+(e<<2)|0;f[h>>2]=e;_Db(j|0,0,i|0)|0;f[g>>2]=e;break}while(0);bGa(a+200|0);d=f[c+212>>2]|0;f[a+212>>2]=d;if(d|0){j=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[j>>2]=(f[j>>2]|0)+1}d=f[c+216>>2]|0;f[a+216>>2]=d;if(!d)return;j=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[j>>2]=(f[j>>2]|0)+1;return}function bGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;Dxa()|0;b=f[(f[124914]|0)+84>>2]|0;f[a>>2]=0;c=a+4|0;f[c>>2]=0;d=a+8|0;f[d>>2]=0;if(!b)return;if(b>>>0>1073741823)DCb(a);e=b<<2;g=EBb(e)|0;f[a>>2]=g;b=g+(b<<2)|0;f[d>>2]=b;_Db(g|0,0,e|0)|0;f[c>>2]=b;return}function cGa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;n[a+32>>2]=0.0;n[a+36>>2]=0.0;n[a+40>>2]=0.0;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a>>2]=342632;n[a+124>>2]=3402823466385288598117041.0e14;n[a+128>>2]=3402823466385288598117041.0e14;n[a+132>>2]=3402823466385288598117041.0e14;n[a+136>>2]=-3402823466385288598117041.0e14;n[a+140>>2]=-3402823466385288598117041.0e14;n[a+144>>2]=-3402823466385288598117041.0e14;f[a+148>>2]=0;n[a+152>>2]=3402823466385288598117041.0e14;n[a+156>>2]=3402823466385288598117041.0e14;n[a+160>>2]=3402823466385288598117041.0e14;n[a+164>>2]=-3402823466385288598117041.0e14;n[a+168>>2]=-3402823466385288598117041.0e14;n[a+172>>2]=-3402823466385288598117041.0e14;f[a+176>>2]=0;c=a+188|0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+192|0;f[e>>2]=0;g=a+196|0;f[g>>2]=0;if(!d){g=a+200|0;bGa(g);g=a+212|0;f[g>>2]=0;g=a+216|0;f[g>>2]=0;g=a+180|0;b[g>>0]=0;g=a+181|0;b[g>>0]=0;g=a+182|0;b[g>>0]=1;g=a+183|0;b[g>>0]=1;g=a+184|0;b[g>>0]=0;return}if(d>>>0>1073741823)DCb(c);h=d<<2;i=EBb(h)|0;f[c>>2]=i;d=i+(d<<2)|0;f[g>>2]=d;_Db(i|0,0,h|0)|0;f[e>>2]=d;g=a+200|0;bGa(g);g=a+212|0;f[g>>2]=0;g=a+216|0;f[g>>2]=0;g=a+180|0;b[g>>0]=0;g=a+181|0;b[g>>0]=0;g=a+182|0;b[g>>0]=1;g=a+183|0;b[g>>0]=1;g=a+184|0;b[g>>0]=0;return}function dGa(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 eGa(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 fGa(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 gGa(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function hGa(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 iGa(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 jGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=343236;d=a+40|0;c=a+48|0;if(f[c>>2]|0?(b=f[a+44>>2]|0,e=(f[d>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[e>>2],f[f[e>>2]>>2]=g,f[c>>2]=0,(b|0)!=(d|0)):0)do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));R3a(a+28|0);iza(a);return}function kGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=343236;d=a+40|0;c=a+48|0;if(f[c>>2]|0?(b=f[a+44>>2]|0,e=(f[d>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[e>>2],f[f[e>>2]>>2]=g,f[c>>2]=0,(b|0)!=(d|0)):0)do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));R3a(a+28|0);iza(a);GBb(a);return}function lGa(a,c,d){a=a|0;c=+c;d=d|0;var 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;r=u;u=u+16|0;l=r;if(+p[d>>3]<=0.0){u=r;return}if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,l|0)|0;q=f[l>>2]|0;q=LDb(q|0,((q|0)<0)<<31>>31|0,1e6,0)|0;o=H;n=f[l+4>>2]|0;n=QDb(n|0,((n|0)<0)<<31>>31|0,1e3,0)|0;o=MDb(n|0,H|0,q|0,o|0)|0;q=497264;f[q>>2]=o;f[q+4>>2]=H}Nb(1,l|0)|0;n=f[l>>2]|0;n=LDb(n|0,((n|0)<0)<<31>>31|0,1e6,0)|0;m=H;q=f[l+4>>2]|0;q=QDb(q|0,((q|0)<0)<<31>>31|0,1e3,0)|0;m=MDb(q|0,H|0,n|0,m|0)|0;n=H;q=a+28|0;_i[f[(f[q>>2]|0)+8>>2]&2047](q)|0;g=f[a+44>>2]|0;o=a+40|0;h=g;c=+p[d>>3];if((o|0)!=(h|0)&c>0.0){j=a+48|0;k=l+4|0;do{Bj[f[(f[a>>2]|0)+52>>2]&1023](a,f[g+8>>2]|0);s=h+4|0;i=g;g=f[s>>2]|0;h=f[h>>2]|0;f[h+4>>2]=g;f[f[s>>2]>>2]=h;f[j>>2]=(f[j>>2]|0)+-1;GBb(i);Nb(1,l|0)|0;i=f[l>>2]|0;i=LDb(i|0,((i|0)<0)<<31>>31|0,1e6,0)|0;h=H;s=f[k>>2]|0;s=QDb(s|0,((s|0)<0)<<31>>31|0,1e3,0)|0;h=MDb(s|0,H|0,i|0,h|0)|0;i=H;if(i>>>0>n>>>0|(i|0)==(n|0)&h>>>0>m>>>0){s=NDb(h|0,i|0,m|0,n|0)|0;e=+p[62159]*(+(s>>>0)+4294967296.0*+(H>>>0))}else{s=NDb(m|0,n|0,h|0,i|0)|0;e=-(+p[62159]*(+(s>>>0)+4294967296.0*+(H>>>0)))}h=g;c=+p[d>>3]}while((o|0)!=(h|0)&e<c)}else e=0.0;p[d>>3]=c-e;_i[f[(f[q>>2]|0)+12>>2]&2047](q)|0;u=r;return}function mGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;g=a+28|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;h=a+40|0;e=a+44|0;c=f[e>>2]|0;d=c;if((h|0)!=(d|0))do{Bj[f[(f[a>>2]|0)+52>>2]&1023](a,f[c+8>>2]|0);c=f[d+4>>2]|0;d=c}while((h|0)!=(d|0));c=a+48|0;if(f[c>>2]|0?(b=f[e>>2]|0,e=(f[h>>2]|0)+4|0,a=f[b>>2]|0,f[a+4>>2]=f[e>>2],f[f[e>>2]>>2]=a,f[c>>2]=0,(b|0)!=(h|0)):0)do{e=b;b=f[b+4>>2]|0;GBb(e)}while((b|0)!=(h|0));_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;return}function nGa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;d=u;u=u+16|0;c=d;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=d;return}i=Nu(Hua(4)|0,430037,5)|0;h=a+12|0;e=b[h+11>>0]|0;g=e<<24>>24<0;a=Nu(Nu(i,g?f[h>>2]|0:h,g?f[a+16>>2]|0:e&255)|0,430080,40)|0;Drb(c,a+(f[(f[a>>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(a,e)|0;Krb(a)|0;u=d;return}function oGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;d=a+28|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;e=a+40|0;c=a+48|0;if(f[c>>2]|0?(b=f[a+44>>2]|0,a=(f[e>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[a>>2],f[f[a>>2]>>2]=g,f[c>>2]=0,(b|0)!=(e|0)):0)do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(e|0));_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;return}function pGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+28|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+40|0;e=EBb(12)|0;f[e+8>>2]=b;f[e+4>>2]=d;b=f[d>>2]|0;f[e>>2]=b;f[b+4>>2]=e;f[d>>2]=e;b=a+48|0;f[b>>2]=(f[b>>2]|0)+1;_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;return}function qGa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;d=u;u=u+16|0;c=d;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=d;return 0}i=Nu(Hua(4)|0,430037,5)|0;h=a+12|0;e=b[h+11>>0]|0;g=e<<24>>24<0;a=Nu(Nu(i,g?f[h>>2]|0:h,g?f[a+16>>2]|0:e&255)|0,430043,36)|0;Drb(c,a+(f[(f[a>>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(a,e)|0;Krb(a)|0;u=d;return 0}function rGa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;f[d>>2]=c;a=Lza(f[a+24>>2]|0,1)|0;if(!(b[a+24>>0]|0)){u=e;return}Bj[f[a+1300>>2]&1023](1,d);u=e;return}function sGa(a){a=a|0;mi()}function tGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=343236;d=a+40|0;c=a+48|0;if(f[c>>2]|0?(b=f[a+44>>2]|0,e=(f[d>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[e>>2],f[f[e>>2]>>2]=g,f[c>>2]=0,(b|0)!=(d|0)):0)do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));R3a(a+28|0);iza(a);GBb(a);return}function uGa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;f[d>>2]=c;a=Lza(f[a+24>>2]|0,1)|0;if(!(b[a+24>>0]|0)){u=e;return}Bj[f[a+1324>>2]&1023](1,d);u=e;return}function vGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;h=k;f[a>>2]=343364;i=a+32|0;j=a+36|0;d=f[j>>2]|0;c=f[i>>2]|0;b=c;if((d|0)!=(c|0)){g=0;do{if(f[c+(g<<2)>>2]|0){d=wJ(Uza(g)|0)|0;e=f[(f[d>>2]|0)+44>>2]|0;b=f[i>>2]|0;c=(f[j>>2]|0)-b>>2;if(c>>>0<=g>>>0){f[h>>2]=0;VO(i,g+1-c|0,h);b=f[i>>2]|0}Bj[e&1023](d,f[b+(g<<2)>>2]|0);b=f[i>>2]|0;c=b;d=f[j>>2]|0}g=g+1|0}while(g>>>0<d-c>>2>>>0)}c=f[a+44>>2]|0;if(c){f[a+48>>2]=c;GBb(c);b=f[i>>2]|0}if(!b){Gva(a);u=k;return}f[j>>2]=b;GBb(b);Gva(a);u=k;return}function wGa(a){a=a|0;vGa(a);GBb(a);return}function xGa(a){a=a|0;a=EBb(76)|0;FGa(a);return a|0}function yGa(a,b){a=a|0;b=b|0;var c=0;c=EBb(76)|0;EGa(c,a,b);return c|0}function zGa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,296896,0)|0)!=0;return b|0}function AGa(a){a=a|0;return 409756}function BGa(a){a=a|0;return 430210}function CGa(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;h=i;c=a+32|0;f[h>>2]=0;d=a+36|0;e=f[c>>2]|0;g=(f[d>>2]|0)-e>>2;if(g>>>0>=b>>>0){if(g>>>0>b>>>0)f[d>>2]=e+(b<<2)}else VO(c,b-g|0,h);g=a+44|0;f[h>>2]=0;c=a+48|0;d=f[g>>2]|0;e=(f[c>>2]|0)-d>>2;if(e>>>0<b>>>0){oW(g,b-e|0,h);u=i;return}if(e>>>0<=b>>>0){u=i;return}f[c>>2]=d+(b<<2);u=i;return}function DGa(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;k=u;u=u+16|0;j=k;if(!b){h=a+32|0;g=a+36|0;a=f[g>>2]|0;b=f[h>>2]|0;if((a|0)==(b|0)){u=k;return}e=0;do{if(f[b+(e<<2)>>2]|0){c=wJ(Uza(e)|0)|0;d=f[(f[c>>2]|0)+44>>2]|0;b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=e>>>0){f[j>>2]=0;VO(h,e+1-a|0,j);b=f[h>>2]|0}Bj[d&1023](c,f[b+(e<<2)>>2]|0);a=f[g>>2]|0;d=f[h>>2]|0;b=a-d>>2;if(b>>>0>e>>>0){c=d;b=d}else{f[j>>2]=0;VO(h,e+1-b|0,j);b=f[h>>2]|0;a=f[g>>2]|0;c=b}f[c+(e<<2)>>2]=0}e=e+1|0}while(e>>>0<a-b>>2>>>0);u=k;return}i=f[b+124>>2]|0;h=a+32|0;g=a+36|0;b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=i>>>0){c=i+1|0;f[j>>2]=0;if(c>>>0<=a>>>0){if(c>>>0<a>>>0)f[g>>2]=b+(c<<2)}else{VO(h,c-a|0,j);b=f[h>>2]|0}}if(!(f[b+(i<<2)>>2]|0)){u=k;return}d=wJ(Uza(i)|0)|0;e=f[(f[d>>2]|0)+44>>2]|0;b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=i>>>0){c=i+1|0;f[j>>2]=0;if(c>>>0<=a>>>0){if(c>>>0<a>>>0)f[g>>2]=b+(c<<2)}else{VO(h,c-a|0,j);b=f[h>>2]|0}}Bj[e&1023](d,f[b+(i<<2)>>2]|0);b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=i>>>0){c=i+1|0;f[j>>2]=0;if(c>>>0<=a>>>0){if(c>>>0<a>>>0)f[g>>2]=b+(c<<2)}else{VO(h,c-a|0,j);b=f[h>>2]|0}}f[b+(i<<2)>>2]=0;u=k;return}function EGa(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;Fva(a,b,c);f[a>>2]=343364;c=a+32|0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+36|0;f[e>>2]=0;g=a+40|0;f[g>>2]=0;do if(d|0)if(d>>>0>1073741823)DCb(c);else{h=d<<2;i=EBb(h)|0;f[c>>2]=i;d=i+(d<<2)|0;f[g>>2]=d;_Db(i|0,0,h|0)|0;f[e>>2]=d;break}while(0);c=a+44|0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+48|0;f[e>>2]=0;g=a+52|0;f[g>>2]=0;do if(d|0)if(d>>>0>1073741823)DCb(c);else{h=d<<2;j=EBb(h)|0;f[c>>2]=j;i=j+(d<<2)|0;f[g>>2]=i;_Db(j|0,0,h|0)|0;f[e>>2]=i;break}while(0);f[a+56>>2]=f[b+56>>2];f[a+60>>2]=f[b+60>>2];f[a+64>>2]=f[b+64>>2];f[a+68>>2]=f[b+68>>2];f[a+72>>2]=f[b+72>>2];return}function FGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a+4>>2]=0;f[a+8>>2]=0;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;f[a>>2]=343364;d=a+32|0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;b=a+36|0;f[b>>2]=0;c=a+40|0;f[c>>2]=0;do if(e|0)if(e>>>0>1073741823)DCb(d);else{g=e<<2;h=EBb(g)|0;f[d>>2]=h;e=h+(e<<2)|0;f[c>>2]=e;_Db(h|0,0,g|0)|0;f[b>>2]=e;break}while(0);b=a+44|0;Dxa()|0;c=f[(f[124914]|0)+84>>2]|0;f[b>>2]=0;d=a+48|0;f[d>>2]=0;e=a+52|0;f[e>>2]=0;if(!c){h=a+56|0;f[h>>2]=33190;h=a+60|0;f[h>>2]=512;h=a+64|0;f[h>>2]=512;h=a+68|0;f[h>>2]=0;h=a+72|0;f[h>>2]=0;return}if(c>>>0>1073741823)DCb(b);g=c<<2;i=EBb(g)|0;f[b>>2]=i;h=i+(c<<2)|0;f[e>>2]=h;_Db(i|0,0,g|0)|0;f[d>>2]=h;h=a+56|0;f[h>>2]=33190;h=a+60|0;f[h>>2]=512;h=a+64|0;f[h>>2]=512;h=a+68|0;f[h>>2]=0;h=a+72|0;f[h>>2]=0;return}function GGa(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function HGa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;h=k;f[a>>2]=343536;i=a+104|0;j=a+108|0;d=f[j>>2]|0;c=f[i>>2]|0;b=c;if((d|0)!=(c|0)){g=0;do{if(f[c+(g<<2)>>2]|0){d=xJ(Uza(g)|0)|0;e=f[(f[d>>2]|0)+44>>2]|0;b=f[i>>2]|0;c=(f[j>>2]|0)-b>>2;if(c>>>0<=g>>>0){f[h>>2]=0;VO(i,g+1-c|0,h);b=f[i>>2]|0}Bj[e&1023](d,f[b+(g<<2)>>2]|0);b=f[i>>2]|0;c=b;d=f[j>>2]|0}g=g+1|0}while(g>>>0<d-c>>2>>>0)}if(b|0){f[j>>2]=b;GBb(b)}b=f[a+92>>2]|0;if(b|0){f[a+96>>2]=b;GBb(b)}b=f[a+80>>2]|0;if(b|0){f[a+84>>2]=b;GBb(b)}b=f[a+68>>2]|0;if(!b){i=a+56|0;j=a+60|0;j=f[j>>2]|0;$Ga(i,j);Kva(a);u=k;return}f[a+72>>2]=b;GBb(b);i=a+56|0;j=a+60|0;j=f[j>>2]|0;$Ga(i,j);Kva(a);u=k;return}function IGa(a){a=a|0;HGa(a);GBb(a);return}function JGa(a){a=a|0;a=EBb(116)|0;cHa(a);return a|0}function KGa(a,b){a=a|0;b=b|0;var c=0;c=EBb(116)|0;ZGa(c,a,b);return c|0}function LGa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,296912,0)|0)!=0;return b|0}function MGa(a){a=a|0;return 409756}function NGa(a){a=a|0;return 430665}function OGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;g=j;h=a+104|0;f[g>>2]=0;i=a+108|0;c=f[h>>2]|0;d=(f[i>>2]|0)-c>>2;if(d>>>0>=b>>>0){if(d>>>0>b>>>0)f[i>>2]=c+(b<<2)}else VO(h,b-d|0,g);e=a+92|0;f[g>>2]=0;c=a+96|0;d=f[e>>2]|0;a=(f[c>>2]|0)-d>>2;if(a>>>0>=b>>>0){if(a>>>0>b>>>0)f[c>>2]=d+(b<<2)}else oW(e,b-a|0,g);f[g>>2]=0;c=f[h>>2]|0;d=(f[i>>2]|0)-c>>2;if(d>>>0<b>>>0){VO(h,b-d|0,g);u=j;return}if(d>>>0<=b>>>0){u=j;return}f[i>>2]=c+(b<<2);u=j;return}function PGa(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;k=u;u=u+16|0;j=k;if(!b){h=a+104|0;g=a+108|0;a=f[g>>2]|0;b=f[h>>2]|0;if((a|0)==(b|0)){u=k;return}e=0;do{if(f[b+(e<<2)>>2]|0){c=xJ(Uza(e)|0)|0;d=f[(f[c>>2]|0)+44>>2]|0;b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=e>>>0){f[j>>2]=0;VO(h,e+1-a|0,j);b=f[h>>2]|0}Bj[d&1023](c,f[b+(e<<2)>>2]|0);a=f[g>>2]|0;d=f[h>>2]|0;b=a-d>>2;if(b>>>0>e>>>0){c=d;b=d}else{f[j>>2]=0;VO(h,e+1-b|0,j);b=f[h>>2]|0;a=f[g>>2]|0;c=b}f[c+(e<<2)>>2]=0}e=e+1|0}while(e>>>0<a-b>>2>>>0);u=k;return}i=f[b+124>>2]|0;h=a+104|0;g=a+108|0;b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=i>>>0){c=i+1|0;f[j>>2]=0;if(c>>>0<=a>>>0){if(c>>>0<a>>>0)f[g>>2]=b+(c<<2)}else{VO(h,c-a|0,j);b=f[h>>2]|0}}if(!(f[b+(i<<2)>>2]|0)){u=k;return}d=xJ(Uza(i)|0)|0;e=f[(f[d>>2]|0)+44>>2]|0;b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=i>>>0){c=i+1|0;f[j>>2]=0;if(c>>>0<=a>>>0){if(c>>>0<a>>>0)f[g>>2]=b+(c<<2)}else{VO(h,c-a|0,j);b=f[h>>2]|0}}Bj[e&1023](d,f[b+(i<<2)>>2]|0);b=f[h>>2]|0;a=(f[g>>2]|0)-b>>2;if(a>>>0<=i>>>0){c=i+1|0;f[j>>2]=0;if(c>>>0<=a>>>0){if(c>>>0<a>>>0)f[g>>2]=b+(c<<2)}else{VO(h,c-a|0,j);b=f[h>>2]|0}}f[b+(i<<2)>>2]=0;u=k;return}function QGa(a){a=a|0;return 55}function RGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;if((a|0)==(b|0)){h=0;return h|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;d=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<d>>>0){h=-1;return h|0}if((c|0)!=(d|0)){h=1;return h|0}c=f[a+64>>2]|0;d=f[b+64>>2]|0;if(c>>>0<d>>>0){h=-1;return h|0}if(d>>>0<c>>>0){h=1;return h|0}d=f[a+56>>2]|0;h=a+60|0;if((d|0)==(h|0)){h=0;return h|0}g=f[b+56>>2]|0;while(1){if((g|0)!=(d|0)){b=f[d+20>>2]|0;c=f[b>>2]|0;e=f[g+20>>2]|0;a=f[e>>2]|0;if((c|0)<(a|0)){c=-1;d=37;break}if((c|0)>(a|0)){c=1;d=37;break}c=f[b+4>>2]|0;a=f[e+4>>2]|0;if(c>>>0<a>>>0){c=-1;d=37;break}if(c>>>0>a>>>0){c=1;d=37;break}c=f[b+8>>2]|0;a=f[e+8>>2]|0;if(c>>>0<a>>>0){c=-1;d=37;break}if(c>>>0>a>>>0){c=1;d=37;break}c=f[b+12>>2]|0;a=f[e+12>>2]|0;if(c>>>0<a>>>0){c=-1;d=37;break}if(c>>>0>a>>>0){c=1;d=37;break}c=f[b+16>>2]|0;a=f[e+16>>2]|0;if(c>>>0<a>>>0){c=-1;d=37;break}if(c>>>0>a>>>0){c=1;d=37;break}b=f[b+20>>2]|0;c=f[e+20>>2]|0;c=b>>>0<c>>>0?-1:b>>>0>c>>>0&1;if(c|0){d=37;break}}c=f[d+4>>2]|0;if(!c){c=d+8|0;a=f[c>>2]|0;if((f[a>>2]|0)==(d|0))d=a;else do{e=f[c>>2]|0;c=e+8|0;d=f[c>>2]|0}while((f[d>>2]|0)!=(e|0))}else{while(1){d=f[c>>2]|0;if(!d)break;else c=d}d=c}c=f[g+4>>2]|0;if(!c){a=g+8|0;c=f[a>>2]|0;if((f[c>>2]|0)!=(g|0))do{g=f[a>>2]|0;a=g+8|0;c=f[a>>2]|0}while((f[c>>2]|0)!=(g|0))}else while(1){a=f[c>>2]|0;if(!a)break;else c=a}if((d|0)==(h|0)){c=0;d=37;break}else g=c}if((d|0)==37)return c|0;return 0}function SGa(a,b){a=a|0;b=b|0;TGa(a,b,36160);return}function TGa(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;s=u;u=u+16|0;r=s;l=f[c+124>>2]|0;j=a+92|0;k=a+96|0;e=f[j>>2]|0;h=(f[k>>2]|0)-e>>2;g=e;if(h>>>0<=l>>>0){i=l+1|0;f[r>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[k>>2]=g+(i<<2)}else{oW(j,i-h|0,r);e=f[j>>2]|0;g=e}}if(f[g+(l<<2)>>2]|0){u=s;return}m=c+832|0;p=f[m>>2]|0;if(!(b[p+1292>>0]|0)){h=(f[k>>2]|0)-e>>2;if(h>>>0<=l>>>0){g=l+1|0;f[r>>2]=0;if(g>>>0<=h>>>0){if(g>>>0<h>>>0)f[k>>2]=e+(g<<2)}else{oW(j,g-h|0,r);e=f[j>>2]|0}}f[e+(l<<2)>>2]=1;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=s;return}q=Nu(Hua(2)|0,430244,48)|0;Drb(r,q+(f[(f[q>>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(q,d)|0;Krb(q)|0;u=s;return}k=a+56|0;if(!(f[a+64>>2]|0)){Bj[f[p+1320>>2]&1023](d,0);u=s;return}g=a+80|0;h=a+84|0;e=f[g>>2]|0;i=(f[h>>2]|0)-e>>2;if(i>>>0<=l>>>0){j=l+1|0;f[r>>2]=0;if(j>>>0<=i>>>0){if(j>>>0<i>>>0)f[h>>2]=e+(j<<2)}else{oW(g,j-i|0,r);e=f[g>>2]|0}}n=e+(l<<2)|0;g=a+104|0;h=a+108|0;e=f[g>>2]|0;i=(f[h>>2]|0)-e>>2;if(i>>>0<=l>>>0){j=l+1|0;f[r>>2]=0;if(j>>>0<=i>>>0){if(j>>>0<i>>>0)f[h>>2]=e+(j<<2)}else{VO(g,j-i|0,r);e=f[g>>2]|0}}j=e+(l<<2)|0;e=f[j>>2]|0;do if(e){if(f[n>>2]|0)q=43}else{Bj[f[p+1328>>2]&1023](1,j);if(f[j>>2]|0){f[n>>2]=1;q=43;break}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=s;return}q=Nu(Hua(2)|0,430293,52)|0;Drb(r,q+(f[(f[q>>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(q,d)|0;Krb(q)|0;u=s;return}while(0);if((q|0)==43){if((b[497288]|0)==0?DDb(497288)|0:0)t4a(499732,0);_i[f[(f[124933]|0)+8>>2]&2047](499732)|0;e=f[k>>2]|0;i=a+60|0;if((e|0)!=(i|0)){h=e;while(1){UGa(h+20|0,c,p);e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{l=f[g>>2]|0;g=l+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(l|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(i|0))break;else h=e}}_i[f[(f[124933]|0)+12>>2]&2047](499732)|0;e=f[j>>2]|0}Bj[f[p+1320>>2]&1023](d,e);a:do switch(d|0){case 36009:case 36160:{h=f[a+68>>2]|0;l=(f[a+72>>2]|0)-h|0;g=l>>2;if(l|0){e=f[m>>2]|0;if(e|0?(o=f[e+40>>2]|0,o|0):0){Bj[o&1023](g,h);break a}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){o=Nu(Hua(2)|0,430346,87)|0;Drb(r,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);m=utb(r,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(r);ksb(o,m)|0;Krb(o)|0}}break}default:{}}while(0);if(!(f[n>>2]|0)){u=s;return}e=f[k>>2]|0;i=a+60|0;b:do if((e|0)!=(i|0)){j=p+1293|0;h=e;while(1){g=h+20|0;e=f[h+16>>2]|0;c:do switch(e|0){case 2:{if(b[j>>0]|0){VGa(g,c,d,36096,p);VGa(g,c,d,36128,p);break c}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){a=Nu(Hua(2)|0,430434,116)|0;Drb(r,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);o=utb(r,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(r);ksb(a,o)|0;Krb(a)|0}break}case 0:{e=36096;q=82;break}case 1:{e=36128;q=82;break}case 3:{e=36064;q=82;break}default:{e=e+36060|0;q=82}}while(0);if((q|0)==82){q=0;VGa(g,c,d,e,p)}e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{a=f[g>>2]|0;g=a+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(a|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(i|0))break b;else h=e}}while(0);f[n>>2]=0;u=s;return}function UGa(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;k=f[b+124>>2]|0;d=f[(f[a>>2]|0)+8>>2]|0;if(!d)return;j=d+216|0;i=d+220|0;d=f[i>>2]|0;e=f[j>>2]|0;g=d-e>>2;do if(g>>>0<=k>>>0){h=k+1|0;if(h>>>0>g>>>0){XGa(j,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(m=e+8|0,h=f[m>>2]|0,f[m>>2]=h-1,(h|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[i>>2]=g}}while(0);m=f[(f[j>>2]|0)+(k<<2)>>2]|0;if(!((m|0)!=0?(f[m+12>>2]|0)!=0:0)){j=f[(f[a>>2]|0)+8>>2]|0;Bj[f[(f[j>>2]|0)+200>>2]&1023](j,b);j=f[(f[a>>2]|0)+8>>2]|0;i=j+216|0;j=j+220|0;d=f[j>>2]|0;e=f[i>>2]|0;g=d-e>>2;do if(g>>>0<=k>>>0){h=k+1|0;if(h>>>0>g>>>0){XGa(i,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(h=e+8|0,m=f[h>>2]|0,f[h>>2]=m-1,(m|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[j>>2]=g}}while(0);d=f[(f[i>>2]|0)+(k<<2)>>2]|0;if(!d)return;if(!(f[d+12>>2]|0))return}d=f[(f[a>>2]|0)+8>>2]|0;if((f[d+96>>2]&-4|0)!=9984)return;e=b+732|0;if(((f[e>>2]|0)!=0?(l=f[b+776>>2]|0,(l|0)!=0):0)?(k=f[b+764>>2]|0,m=f[b+768>>2]|0,(((k|0)>(m|0)?k:m)|0)!=0):0){tj[l&2047](33984);f[e>>2]=0;d=f[(f[a>>2]|0)+8>>2]|0}kJ(b,0,d)|0;c=f[c+1364>>2]|0;m=f[(f[a>>2]|0)+8>>2]|0;m=_i[f[(f[m>>2]|0)+212>>2]&2047](m)|0;tj[c&2047](m);return}function VGa(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,k=0,l=0,m=0,n=0,o=0;n=f[b+124>>2]|0;h=f[a>>2]|0;if(!(f[h>>2]|0)){a=f[e+1360>>2]|0;e=WGa(f[h+4>>2]|0,n,e)|0;Ij[a&127](c,d,36161,e);return}h=f[h+8>>2]|0;if(!h)return;m=h+216|0;l=h+220|0;h=f[l>>2]|0;i=f[m>>2]|0;j=h-i>>2;do if(j>>>0<=n>>>0){k=n+1|0;if(k>>>0>j>>>0){XGa(m,k-j|0);break}if(k>>>0<j>>>0){j=i+(k<<2)|0;if((j|0)!=(h|0))do{h=h+-4|0;i=f[h>>2]|0;if(i|0?(o=i+8|0,k=f[o>>2]|0,f[o>>2]=k-1,(k|0)==1):0)Rua(i,1,1);f[h>>2]=0}while((h|0)!=(j|0));f[l>>2]=j}}while(0);h=f[(f[m>>2]|0)+(n<<2)>>2]|0;if(!((h|0)!=0?(g=f[h+12>>2]|0,(g|0)!=0):0)){l=f[(f[a>>2]|0)+8>>2]|0;Bj[f[(f[l>>2]|0)+200>>2]&1023](l,b);l=f[(f[a>>2]|0)+8>>2]|0;k=l+216|0;l=l+220|0;g=f[l>>2]|0;h=f[k>>2]|0;i=g-h>>2;do if(i>>>0<=n>>>0){j=n+1|0;if(j>>>0>i>>>0){XGa(k,j-i|0);break}if(j>>>0<i>>>0){i=h+(j<<2)|0;if((i|0)!=(g|0))do{g=g+-4|0;h=f[g>>2]|0;if(h|0?(b=h+8|0,o=f[b>>2]|0,f[b>>2]=o-1,(o|0)==1):0)Rua(h,1,1);f[g>>2]=0}while((g|0)!=(i|0));f[l>>2]=i}}while(0);g=f[(f[k>>2]|0)+(n<<2)>>2]|0;if(!g)return;g=f[g+12>>2]|0;if(!g)return}i=f[a>>2]|0;switch(f[i>>2]|0){case 4:{h=f[i+12>>2]|0;if((h|0)==-1){Ij[f[e+1348>>2]&127](c,d,g,f[i+16>>2]|0);return}else{Kj[f[e+1340>>2]&63](c,d,h+34069|0,g,f[i+16>>2]|0);return}}case 1:{Kj[f[e+1336>>2]&63](c,d,3552,g,f[i+16>>2]|0);return}case 2:{Kj[f[e+1340>>2]&63](c,d,3553,g,f[i+16>>2]|0);return}case 7:{Kj[f[e+1340>>2]&63](c,d,37120,g,f[i+16>>2]|0);return}case 3:{h=f[i+20>>2]|0;if((h|0)==-1){Ij[f[e+1348>>2]&127](c,d,g,f[i+16>>2]|0);return}else{Lj[f[e+1344>>2]&15](c,d,32879,g,f[i+16>>2]|0,h);return}}case 6:{h=f[i+20>>2]|0;if((h|0)==-1){Ij[f[e+1348>>2]&127](c,d,g,f[i+16>>2]|0);return}else{Kj[f[e+1352>>2]&63](c,d,g,f[i+16>>2]|0,h);return}}case 5:{Kj[f[e+1340>>2]&63](c,d,34037,g,0);return}default:return}}function WGa(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;m=p;h=a+32|0;i=a+36|0;e=f[h>>2]|0;j=(f[i>>2]|0)-e>>2;if(j>>>0<=c>>>0){g=c+1|0;f[m>>2]=0;if(g>>>0<=j>>>0){if(g>>>0<j>>>0)f[i>>2]=e+(g<<2)}else{VO(h,g-j|0,m);e=f[h>>2]|0}}n=e+(c<<2)|0;g=a+44|0;k=a+48|0;e=f[g>>2]|0;h=(f[k>>2]|0)-e>>2;if(h>>>0<=c>>>0){i=c+1|0;f[m>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[k>>2]=e+(i<<2)}else{oW(g,i-h|0,m);e=f[g>>2]|0}}l=e+(c<<2)|0;e=f[n>>2]|0;do if(!e){Bj[f[d+1304>>2]&1023](1,n);if(!(f[n>>2]|0)){o=0;u=p;return o|0}else{f[l>>2]=1;e=f[n>>2]|0;break}}else if(!(f[l>>2]|0)){o=e;u=p;return o|0}while(0);Bj[f[d+1296>>2]&1023](36161,e);i=a+68|0;g=f[i>>2]|0;j=a+72|0;if((g|0)<(f[j>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){h=Nu(Hua(2)|0,430551,113)|0;Drb(m,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);g=utb(m,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(m);ksb(h,g)|0;Krb(h)|0}g=f[j>>2]|0;f[i>>2]=g;e=f[a+44>>2]|0;h=(f[k>>2]|0)-e|0;if((h|0)>0){g=h>>>2;while(1){f[e>>2]=1;if((g|0)>1){g=g+-1|0;e=e+4|0}else break}g=f[i>>2]|0}}do if((g|0)>0){e=d+1316|0;if(f[e>>2]|0){d=YGa(c,d)|0;d=(g|0)<(d|0)?g:d;c=f[j>>2]|0;Lj[f[e>>2]&15](36161,d,(c|0)<(d|0)?c:d,f[a+56>>2]|0,f[a+60>>2]|0,f[a+64>>2]|0);break}e=d+1312|0;if(f[e>>2]|0){d=YGa(c,d)|0;Kj[f[e>>2]&63](36161,(g|0)<(d|0)?g:d,f[a+56>>2]|0,f[a+60>>2]|0,f[a+64>>2]|0)}else o=32}else o=32;while(0);if((o|0)==32)Ij[f[d+1308>>2]&127](36161,f[a+56>>2]|0,f[a+60>>2]|0,f[a+64>>2]|0);f[l>>2]=0;o=f[n>>2]|0;u=p;return o|0}function XGa(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function YGa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;h=i;if((b[497296]|0)==0?DDb(497296)|0:0){Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[124936]=0;f[124937]=0;f[124938]=0;do if(d|0)if(d>>>0>1073741823)DCb(499744);else{e=d<<2;j=EBb(e)|0;f[124936]=j;g=j+(d<<2)|0;f[124938]=g;_Db(j|0,0,e|0)|0;f[124937]=g;break}while(0)}d=f[124936]|0;e=(f[124937]|0)-d>>2;if(e>>>0<=a>>>0){g=a+1|0;f[h>>2]=0;if(g>>>0<=e>>>0){if(g>>>0<e>>>0)f[124937]=d+(g<<2)}else{oW(499744,g-e|0,h);d=f[124936]|0}}d=d+(a<<2)|0;e=f[d>>2]|0;if(e|0){j=e;u=i;return j|0}if(!(b[c+1268>>0]|0)){j=0;u=i;return j|0}Nh(36183,d|0);j=f[d>>2]|0;u=i;return j|0}function ZGa(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;Jva(a,b,c);f[a>>2]=343536;i=a+56|0;f[a+60>>2]=0;f[a+64>>2]=0;c=a+60|0;f[i>>2]=c;d=f[b+56>>2]|0;h=b+60|0;if((d|0)!=(h|0)){g=c;e=d;while(1){c=e+16|0;f[k>>2]=g;f[j>>2]=f[k>>2];_Ga(i,j,c,c)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(h|0))break;else e=c}}e=a+68|0;g=b+68|0;f[e>>2]=0;k=a+72|0;f[k>>2]=0;h=a+76|0;f[h>>2]=0;i=b+72|0;c=(f[i>>2]|0)-(f[g>>2]|0)|0;d=c>>2;if(c|0){if(d>>>0>1073741823)DCb(e);j=EBb(c)|0;f[k>>2]=j;f[e>>2]=j;f[h>>2]=j+(d<<2);d=f[g>>2]|0;c=(f[i>>2]|0)-d|0;if((c|0)>0){YDb(j|0,d|0,c|0)|0;f[k>>2]=j+(c>>>2<<2)}}c=a+80|0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+84|0;f[e>>2]=0;g=a+88|0;f[g>>2]=0;do if(d|0)if(d>>>0>1073741823)DCb(c);else{k=d<<2;j=EBb(k)|0;f[c>>2]=j;b=j+(d<<2)|0;f[g>>2]=b;_Db(j|0,0,k|0)|0;f[e>>2]=b;break}while(0);c=a+92|0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+96|0;f[e>>2]=0;g=a+100|0;f[g>>2]=0;do if(d|0)if(d>>>0>1073741823)DCb(c);else{k=d<<2;j=EBb(k)|0;f[c>>2]=j;b=j+(d<<2)|0;f[g>>2]=b;_Db(j|0,0,k|0)|0;f[e>>2]=b;break}while(0);d=a+104|0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;g=a+108|0;f[g>>2]=0;c=a+112|0;f[c>>2]=0;if(!e){u=l;return}if(e>>>0>1073741823)DCb(d);b=e<<2;k=EBb(b)|0;f[d>>2]=k;a=k+(e<<2)|0;f[c>>2]=a;_Db(k|0,0,b|0)|0;f[g>>2]=a;u=l;return}function _Ga(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;j=u;u=u+16|0;h=j+12|0;i=j+8|0;g=j;f[g>>2]=f[b>>2];f[h>>2]=f[g>>2];h=bHa(a,h,i,j+4|0,c)|0;b=f[h>>2]|0;if(b|0){a=b;u=j;return a|0}g=EBb(24)|0;f[g+16>>2]=f[d>>2];e=EBb(24)|0;c=f[d+4>>2]|0;f[e>>2]=f[c>>2];b=f[c+4>>2]|0;f[e+4>>2]=b;if(b|0){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}b=f[c+8>>2]|0;f[e+8>>2]=b;if(b|0){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}f[e+12>>2]=f[c+12>>2];f[e+16>>2]=f[c+16>>2];f[e+20>>2]=f[c+20>>2];f[g+20>>2]=e;b=f[i>>2]|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=b;f[h>>2]=g;b=f[f[a>>2]>>2]|0;if(!b)b=g;else{f[a>>2]=b;b=f[h>>2]|0}Xo(f[a+4>>2]|0,b);a=a+8|0;f[a>>2]=(f[a>>2]|0)+1;a=g;u=j;return a|0}function $Ga(a,b){a=a|0;b=b|0;if(!b)return;else{$Ga(a,f[b>>2]|0);$Ga(a,f[b+4>>2]|0);aHa(b+20|0);GBb(b);return}}function aHa(a){a=a|0;var b=0,c=0,d=0,e=0;c=f[a>>2]|0;if(!c)return;a=c+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;a=f[c+4>>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);GBb(c);return}function bHa(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)?(j=f[e>>2]|0,g=f[h+16>>2]|0,(j|0)>=(g|0)):0){if((g|0)>=(j|0)){f[c>>2]=b;f[d>>2]=b;c=d;return c|0}g=f[h+4>>2]|0;if(!g){d=h+8|0;g=f[d>>2]|0;if((f[g>>2]|0)!=(h|0))do{e=f[d>>2]|0;d=e+8|0;g=f[d>>2]|0}while((f[g>>2]|0)!=(e|0))}else while(1){d=f[g>>2]|0;if(!d)break;else g=d}if((g|0)!=(i|0)?(j|0)>=(f[g+16>>2]|0):0){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if((j|0)<(g|0)){g=f[b>>2]|0;if(!g){e=42;break}else{d=b;b=g}}else{if((g|0)>=(j|0)){e=46;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=45;break}else b=g}}if((e|0)==42){f[c>>2]=b;c=b;return c|0}else if((e|0)==45){f[c>>2]=b;c=d;return c|0}else if((e|0)==46){f[c>>2]=b;c=d;return c|0}}if(!(f[h+4>>2]|0)){f[c>>2]=b;c=h+4|0;return c|0}else{f[c>>2]=g;c=g;return c|0}}d=f[h>>2]|0;if((f[a>>2]|0)!=(h|0)){if(!d){b=h;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0))}else{b=d;while(1){g=f[b+4>>2]|0;if(!g)break;else b=g}}e=f[e>>2]|0;if((f[b+16>>2]|0)>=(e|0)){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if((e|0)<(g|0)){g=f[b>>2]|0;if(!g){e=18;break}else{d=b;b=g}}else{if((g|0)>=(e|0)){e=22;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=21;break}else b=g}}if((e|0)==18){f[c>>2]=b;c=b;return c|0}else if((e|0)==21){f[c>>2]=b;c=d;return c|0}else if((e|0)==22){f[c>>2]=b;c=d;return c|0}}}if(!d){f[c>>2]=h;c=h;return c|0}else{f[c>>2]=b;c=b+4|0;return c|0}return 0}function cHa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a+4>>2]=0;f[a+8>>2]=0;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;b=a+32|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[a>>2]=343536;f[a+60>>2]=0;f[a+64>>2]=0;f[a+56>>2]=a+60;f[a+68>>2]=0;f[a+72>>2]=0;f[a+76>>2]=0;b=a+80|0;Dxa()|0;c=f[(f[124914]|0)+84>>2]|0;f[b>>2]=0;d=a+84|0;f[d>>2]=0;e=a+88|0;f[e>>2]=0;do if(c|0)if(c>>>0>1073741823)DCb(b);else{g=c<<2;h=EBb(g)|0;f[b>>2]=h;c=h+(c<<2)|0;f[e>>2]=c;_Db(h|0,0,g|0)|0;f[d>>2]=c;break}while(0);b=a+92|0;Dxa()|0;c=f[(f[124914]|0)+84>>2]|0;f[b>>2]=0;d=a+96|0;f[d>>2]=0;e=a+100|0;f[e>>2]=0;do if(c|0)if(c>>>0>1073741823)DCb(b);else{g=c<<2;i=EBb(g)|0;f[b>>2]=i;h=i+(c<<2)|0;f[e>>2]=h;_Db(i|0,0,g|0)|0;f[d>>2]=h;break}while(0);c=a+104|0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+108|0;f[e>>2]=0;b=a+112|0;f[b>>2]=0;if(!d)return;if(d>>>0>1073741823)DCb(c);h=d<<2;g=EBb(h)|0;f[c>>2]=g;i=g+(d<<2)|0;f[b>>2]=i;_Db(g|0,0,h|0)|0;f[e>>2]=i;return}function dHa(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function eHa(a){a=a|0;$Ga(a,f[a+4>>2]|0);return}function fHa(a){a=a|0;Uua(a);return}function gHa(a){a=a|0;Uua(a);GBb(a);return}function hHa(a){a=a|0;Xxa(a);return}function iHa(a){a=a|0;Xxa(a);GBb(a);return}function jHa(a){a=a|0;var c=0;a=EBb(160)|0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;f[a>>2]=343768;n[a+136>>2]=3402823466385288598117041.0e14;n[a+140>>2]=3402823466385288598117041.0e14;n[a+144>>2]=3402823466385288598117041.0e14;n[a+148>>2]=-3402823466385288598117041.0e14;n[a+152>>2]=-3402823466385288598117041.0e14;n[a+156>>2]=-3402823466385288598117041.0e14;return a|0}function kHa(a,b){a=a|0;b=b|0;var c=0;c=EBb(160)|0;Wxa(c,a,b);f[c>>2]=343768;n[c+136>>2]=3402823466385288598117041.0e14;n[c+140>>2]=3402823466385288598117041.0e14;n[c+144>>2]=3402823466385288598117041.0e14;n[c+148>>2]=-3402823466385288598117041.0e14;n[c+152>>2]=-3402823466385288598117041.0e14;n[c+156>>2]=-3402823466385288598117041.0e14;return c|0}function lHa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295296,0)|0)!=0;return b|0}function mHa(a){a=a|0;return 409756}function nHa(a){a=a|0;return 430728}function oHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+112>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function pHa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n[a>>2]=0.0;n[a+4>>2]=0.0;n[a+8>>2]=0.0;n[a+12>>2]=-1.0;q=b+136|0;n[q>>2]=3402823466385288598117041.0e14;r=b+140|0;n[r>>2]=3402823466385288598117041.0e14;s=b+144|0;n[s>>2]=3402823466385288598117041.0e14;t=b+148|0;n[t>>2]=-3402823466385288598117041.0e14;u=b+152|0;n[u>>2]=-3402823466385288598117041.0e14;k=b+156|0;n[k>>2]=-3402823466385288598117041.0e14;c=f[b+124>>2]|0;j=b+128|0;if((c|0)==(f[j>>2]|0))return;do{b=f[c>>2]|0;do if(b|0){b=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0;if(!b){e=Hv(f[c>>2]|0)|0;i=e+12|0;d=+n[i>>2];if(!(d>=0.0))break;g=+n[e>>2];h=g-d;if(h<+n[q>>2]){n[q>>2]=h;g=+n[e>>2];d=+n[i>>2]}g=d+g;if(g>+n[t>>2]){n[t>>2]=g;d=+n[i>>2]}b=e+4|0;g=+n[b>>2];h=g-d;if(h<+n[r>>2]){n[r>>2]=h;g=+n[b>>2];d=+n[i>>2]}g=d+g;if(g>+n[u>>2]){n[u>>2]=g;d=+n[i>>2]}b=e+8|0;g=+n[b>>2];h=g-d;if(h<+n[s>>2]){n[s>>2]=h;g=+n[b>>2];d=+n[i>>2]}d=d+g;if(!(d>+n[k>>2]))break;n[k>>2]=d;break}b=RJ(b)|0;e=b+12|0;d=+n[e>>2];g=+n[b>>2];if((d>=g?(l=b+16|0,m=b+4|0,+n[l>>2]>=+n[m>>2]):0)?(o=b+20|0,p=b+8|0,+n[o>>2]>=+n[p>>2]):0){if(g<+n[q>>2]){n[q>>2]=g;d=+n[e>>2]}if(d>+n[t>>2])n[t>>2]=d;d=+n[m>>2];if(d<+n[r>>2])n[r>>2]=d;d=+n[l>>2];if(d>+n[u>>2])n[u>>2]=d;d=+n[p>>2];if(d<+n[s>>2])n[s>>2]=d;d=+n[o>>2];if(d>+n[k>>2])n[k>>2]=d}}while(0);c=c+4|0}while((c|0)!=(f[j>>2]|0));if(!(+n[t>>2]>=+n[q>>2]))return;if(!(+n[u>>2]>=+n[r>>2]))return;if(!(+n[k>>2]>=+n[s>>2]))return;wta(a,q);return}function qHa(a,b){a=a|0;b=b|0;return cj[f[(f[a>>2]|0)+228>>2]&1023](a,b)|0}function rHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=f[(f[a>>2]|0)+272>>2]|0;e=f[a+124>>2]|0;c=(f[a+128>>2]|0)-e|0;d=c>>2;a:do if(!c)c=0;else{c=0;while(1){if((f[e+(c<<2)>>2]|0)==(b|0))break a;c=c+1|0;if(c>>>0>=d>>>0){c=d;break}}}while(0);return dj[g&255](a,c,1)|0}function sHa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=344060;d=a+200|0;e=a+204|0;if((f[e>>2]|0)!=(f[d>>2]|0)){c=0;do{g=gFa(d,c)|0;g=f[g>>2]|0;if(g|0)b[g+104>>0]=1;c=c+1|0}while(c>>>0<(f[e>>2]|0)-(f[d>>2]|0)>>2>>>0)}e=a+264|0;g=f[e>>2]|0;if(g|0){h=a+268|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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+252|0;g=f[e>>2]|0;if(g|0){h=a+256|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?(i=d+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|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)}c=a+248|0;d=f[c>>2]|0;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[c>>2]=0;c=a+244|0;d=f[c>>2]|0;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[c>>2]=0;c=a+240|0;d=f[c>>2]|0;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[c>>2]=0;c=a+236|0;d=f[c>>2]|0;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[c>>2]=0;c=a+232|0;d=f[c>>2]|0;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[c>>2]=0;e=a+220|0;g=f[e>>2]|0;if(!g){AEa(a);return}h=a+224|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?(i=d+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|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);AEa(a);return}function tHa(a){a=a|0;sHa(a);GBb(a);return}function uHa(a){a=a|0;var c=0,d=0,e=0,g=0;a=EBb(280)|0;cGa(a);f[a>>2]=344060;c=a+220|0;d=a+182|0;e=c;g=e+56|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));b[c+56>>0]=0;b[d>>0]=1;b[a+183>>0]=0;return a|0}function vHa(a,b){a=a|0;b=b|0;var c=0;c=EBb(280)|0;xJa(c,a,b);return c|0}function wHa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,296944,0)|0)!=0;return b|0}function xHa(a){a=a|0;return 409756}function yHa(a){a=a|0;return 432793}function zHa(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;h=m+24|0;k=m+12|0;j=m;KEa(a,b);f[k>>2]=0;l=k+4|0;f[l>>2]=0;f[k+8>>2]=0;if(pxa(a,k)|0?(c=f[k>>2]|0,(c|0)!=(f[l>>2]|0)):0)do{i=f[c>>2]|0;Bj[f[(f[i>>2]|0)+156>>2]&1023](i,b);c=c+4|0}while((c|0)!=(f[l>>2]|0));f[j>>2]=0;i=j+4|0;f[i>>2]=0;g=j+8|0;f[g>>2]=0;c=f[a+220>>2]|0;e=a+224|0;if((c|0)!=(f[e>>2]|0)){do{d=f[c>>2]|0;d=_i[f[(f[d>>2]|0)+192>>2]&2047](d)|0;f[h>>2]=d;a=d;do if(d|0){d=f[i>>2]|0;if((d|0)==(f[g>>2]|0)){wJa(j,h);break}else{f[d>>2]=a;f[i>>2]=(f[i>>2]|0)+4;break}}while(0);c=c+4|0}while((c|0)!=(f[e>>2]|0));h=f[i>>2]|0;g=f[j>>2]|0;c=g;if(!((h|0)==(g|0)|(c|0)==(h|0))){do{h=f[c>>2]|0;Bj[f[(f[h>>2]|0)+156>>2]&1023](h,b);c=c+4|0}while((c|0)!=(f[i>>2]|0));c=f[j>>2]|0}if(c|0){f[i>>2]=c;GBb(c)}}d=f[k>>2]|0;if(!d){u=m;return}c=f[l>>2]|0;if((c|0)==(d|0))c=d;else{do{c=c+-4|0;a=f[c>>2]|0;if(a|0?(b=a+8|0,j=f[b>>2]|0,f[b>>2]=j-1,(j|0)==1):0)Rua(a,1,1);f[c>>2]=0}while((c|0)!=(d|0));c=f[k>>2]|0}f[l>>2]=d;GBb(c);u=m;return}function AHa(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;n=u;u=u+32|0;k=n+24|0;m=n+12|0;l=n;LEa(a,b);g=a+200|0;if(b){h=b+124|0;j=gFa(g,f[h>>2]|0)|0;if((f[j>>2]|0?(d=gFa(g,f[h>>2]|0)|0,JFa(f[d>>2]|0),d=gFa(g,f[h>>2]|0)|0,e=f[d>>2]|0,e|0):0)?(f[d>>2]=0,i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1)}else{g=f[g>>2]|0;h=a+204|0;d=f[h>>2]|0;if((d|0)!=(g|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[h>>2]=g}f[m>>2]=0;j=m+4|0;f[j>>2]=0;f[m+8>>2]=0;if(pxa(a,m)|0?(c=f[m>>2]|0,(c|0)!=(f[j>>2]|0)):0)do{i=f[c>>2]|0;Bj[f[(f[i>>2]|0)+160>>2]&1023](i,b);c=c+4|0}while((c|0)!=(f[j>>2]|0));f[l>>2]=0;i=l+4|0;f[i>>2]=0;h=l+8|0;f[h>>2]=0;c=f[a+220>>2]|0;g=a+224|0;if((c|0)!=(f[g>>2]|0)){do{a=f[c>>2]|0;a=_i[f[(f[a>>2]|0)+192>>2]&2047](a)|0;f[k>>2]=a;d=a;do if(a|0){e=f[i>>2]|0;if((e|0)==(f[h>>2]|0)){wJa(l,k);break}else{f[e>>2]=d;f[i>>2]=(f[i>>2]|0)+4;break}}while(0);c=c+4|0}while((c|0)!=(f[g>>2]|0));k=f[i>>2]|0;a=f[l>>2]|0;c=a;if(!((k|0)==(a|0)|(c|0)==(k|0))){do{k=f[c>>2]|0;Bj[f[(f[k>>2]|0)+160>>2]&1023](k,b);c=c+4|0}while((c|0)!=(f[i>>2]|0));c=f[l>>2]|0}if(c|0){f[i>>2]=c;GBb(c)}}e=f[m>>2]|0;if(!e){u=n;return}c=f[j>>2]|0;if((c|0)==(e|0))c=e;else{do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(b=d+8|0,l=f[b>>2]|0,f[b>>2]=l-1,(l|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));c=f[m>>2]|0}f[j>>2]=e;GBb(c);u=n;return}function BHa(a){a=a|0;return a|0}function CHa(a){a=a|0;return a|0}function DHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+104>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function EHa(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;q=u;u=u+32|0;h=q+24|0;p=q+12|0;m=q;d=a+183|0;e=b[d>>0]|0;if((e&255|0)==(c&1|0)){u=q;return}if(e<<24>>24)tj[f[(f[a>>2]|0)+240>>2]&2047](a);b[d>>0]=c&1;f[p>>2]=0;o=p+4|0;f[o>>2]=0;f[p+8>>2]=0;pxa(a,p)|0;f[m>>2]=0;l=m+4|0;f[l>>2]=0;g=m+8|0;f[g>>2]=0;c=f[a+220>>2]|0;a=a+224|0;if((c|0)!=(f[a>>2]|0))do{j=f[c>>2]|0;j=_i[f[(f[j>>2]|0)+192>>2]&2047](j)|0;f[h>>2]=j;d=j;do if(j|0){e=f[l>>2]|0;if((e|0)==(f[g>>2]|0)){wJa(m,h);break}else{f[e>>2]=d;f[l>>2]=(f[l>>2]|0)+4;break}}while(0);c=c+4|0}while((c|0)!=(f[a>>2]|0));c=f[p>>2]|0;d=f[o>>2]|0;if((c|0)!=(d|0)){a=0;e=1;while(1){if(!e){c=a;break}e=f[(f[c>>2]|0)+40>>2]|0;if(((e|0)!=0?(i=WCb(e,295248,295264,0)|0,(i|0)!=0):0)?(a|0)!=(i|0):0){a=i+8|0;f[a>>2]=(f[a>>2]|0)+1;a=i;d=f[o>>2]|0}else a=0;c=c+4|0;e=(a|0)==0;if((c|0)==(d|0)){n=19;break}}if((n|0)==19)if(e){c=EBb(72)|0;f[c+4>>2]=0;d=c+8|0;f[d>>2]=0;j=c+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[c+24>>2]=2;f[c+28>>2]=0;f[c>>2]=338492;j=c+32|0;f[c+48>>2]=0;f[c+52>>2]=0;f[c+56>>2]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;b[j+12>>0]=0;qxa(c+60|0);f[c>>2]=338664;f[j>>2]=34962;f[c+36>>2]=35044;if((a|0)==(c|0))c=0;else f[d>>2]=(f[d>>2]|0)+1}else c=a;e=f[p>>2]|0;d=f[o>>2]|0;a:do if((e|0)!=(d|0)){j=c+8|0;if(c|0)while(1){i=f[e>>2]|0;h=i+40|0;a=f[h>>2]|0;g=(a|0)==0;if(!(!g?(WCb(a,295248,295264,0)|0)!=0:0))if((a|0)!=(c|0)){if(g)d=0;else{lxa(a,f[i+36>>2]|0);d=f[h>>2]|0}if(((d|0)!=(c|0)?(f[h>>2]=c,f[j>>2]=(f[j>>2]|0)+1,d|0):0)?(a=d+8|0,g=f[a>>2]|0,f[a>>2]=g-1,(g|0)==1):0)Rua(d,1,1);d=f[h>>2]|0;if(!d)d=0;else d=mxa(d,i)|0;f[i+36>>2]=d;d=f[o>>2]|0}e=e+4|0;if((e|0)==(d|0))break a}do{i=f[e>>2]|0;h=i+40|0;a=f[h>>2]|0;g=(a|0)==0;if(!(!g?(WCb(a,295248,295264,0)|0)!=0:0))if((a|0)!=(c|0)){if(g)d=0;else{lxa(a,f[i+36>>2]|0);d=f[h>>2]|0}if((d|0)!=(c|0)){f[h>>2]=c;if(d){j=d+8|0;n=f[j>>2]|0;f[j>>2]=n-1;if((n|0)==1){Rua(d,1,1);n=35}else n=35}else d=c}else n=35;if((n|0)==35){n=0;d=f[h>>2]|0}if(!d)d=0;else d=mxa(d,i)|0;f[i+36>>2]=d;d=f[o>>2]|0}e=e+4|0}while((e|0)!=(d|0))}while(0);if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1)}c=f[m>>2]|0;if((c|0)!=(f[l>>2]|0)){d=0;do{e=f[(f[c>>2]|0)+40>>2]|0;if(((e|0)!=0?(k=WCb(e,295248,295408,0)|0,(k|0)!=0):0)?(d|0)!=(k|0):0){j=k+8|0;f[j>>2]=(f[j>>2]|0)+1;if((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);d=k}else d=k}c=c+4|0}while((c|0)!=(f[l>>2]|0));if(!d){d=EBb(72)|0;f[d+4>>2]=0;k=d+8|0;f[k>>2]=0;j=d+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=338492;j=d+32|0;f[d+48>>2]=0;f[d+52>>2]=0;f[d+56>>2]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;b[j+12>>0]=0;qxa(d+60|0);f[d>>2]=339940;f[j>>2]=34963;f[d+36>>2]=35044;f[k>>2]=(f[k>>2]|0)+1}c=f[m>>2]|0;e=f[l>>2]|0;if((c|0)!=(e|0)){j=d+8|0;do{i=f[c>>2]|0;h=i+40|0;a=f[h>>2]|0;g=(a|0)==0;if(!(!g?(WCb(a,295248,295408,0)|0)!=0:0))if((a|0)!=(d|0)){if(g)e=0;else{lxa(a,f[i+36>>2]|0);e=f[h>>2]|0}if(((e|0)!=(d|0)?(f[h>>2]=d,f[j>>2]=(f[j>>2]|0)+1,e|0):0)?(g=e+8|0,k=f[g>>2]|0,f[g>>2]=k-1,(k|0)==1):0)Rua(e,1,1);e=f[h>>2]|0;if(!e)e=0;else e=mxa(e,i)|0;f[i+36>>2]=e;e=f[l>>2]|0}c=c+4|0}while((c|0)!=(e|0));if(d|0)n=83}else n=83;if((n|0)==83?(k=d+8|0,n=f[k>>2]|0,f[k>>2]=n-1,(n|0)==1):0)Rua(d,1,1);c=f[m>>2]|0}if(c|0){f[l>>2]=c;GBb(c)}e=f[p>>2]|0;if(e|0){c=f[o>>2]|0;if((c|0)==(e|0))c=e;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)!=(e|0));c=f[p>>2]|0}f[o>>2]=e;GBb(c)}u=q;return}function FHa(a){a=a|0;var c=0,d=0,e=0;e=a+200|0;c=a+204|0;if((f[c>>2]|0)==(f[e>>2]|0))return;a=0;do{d=gFa(e,a)|0;d=f[d>>2]|0;if(d|0)b[d+104>>0]=1;a=a+1|0}while(a>>>0<(f[c>>2]|0)-(f[e>>2]|0)>>2>>>0);return}function GHa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;b=f[a+232>>2]|0;if(!b)b=0;else b=_i[f[(f[b>>2]|0)+168>>2]&2047](b)|0;c=f[a+236>>2]|0;if(c)b=(_i[f[(f[c>>2]|0)+168>>2]&2047](c)|0)+b|0;c=f[a+240>>2]|0;if(c)b=(_i[f[(f[c>>2]|0)+168>>2]&2047](c)|0)+b|0;c=f[a+244>>2]|0;if(c)b=(_i[f[(f[c>>2]|0)+168>>2]&2047](c)|0)+b|0;c=f[a+248>>2]|0;if(c)b=(_i[f[(f[c>>2]|0)+168>>2]&2047](c)|0)+b|0;h=a+252|0;i=a+256|0;d=f[i>>2]|0;c=f[h>>2]|0;if((d|0)!=(c|0)){g=0;e=d;while(1){d=f[c+(g<<2)>>2]|0;if(!d)d=e;else{b=(_i[f[(f[d>>2]|0)+168>>2]&2047](d)|0)+b|0;c=f[h>>2]|0;d=f[i>>2]|0}g=g+1|0;if(g>>>0>=d-c>>2>>>0)break;else e=d}}h=a+264|0;i=a+268|0;d=f[i>>2]|0;c=f[h>>2]|0;if((d|0)!=(c|0)){g=0;e=d;while(1){d=f[c+(g<<2)>>2]|0;if(!d)d=e;else{b=(_i[f[(f[d>>2]|0)+168>>2]&2047](d)|0)+b|0;c=f[h>>2]|0;d=f[i>>2]|0}g=g+1|0;if(g>>>0>=d-c>>2>>>0)break;else e=d}}c=f[a+220>>2]|0;d=a+224|0;if((c|0)==(f[d>>2]|0)){a=b;return a|0}do{a=f[c>>2]|0;b=((_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)<<2)+b|0;c=c+4|0}while((c|0)!=(f[d>>2]|0));return b|0}function HHa(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;z=u;u=u+16|0;x=z;y=f[c>>2]|0;if(!(b[a+182>>0]|0))d=0;else d=(b[a+183>>0]|0)!=0;if((b[y+760>>0]|0)==0?!(d&(b[y+758>>0]|0)!=0):0){u=z;return}s=f[y+124>>2]|0;t=y+832|0;v=f[t>>2]|0;if(!v){u=z;return}q=x+4|0;f[q>>2]=0;r=x+8|0;f[r>>2]=0;w=x+4|0;f[x>>2]=w;d=f[a+232>>2]|0;if(((d|0)!=0?(e=f[d+40>>2]|0,(e|0)!=0):0)?(f[w>>2]|0)==0:0){d=EBb(20)|0;f[d+16>>2]=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=w;f[w>>2]=d;f[x>>2]=d;Xo(d,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d}else d=0;e=f[a+236>>2]|0;if((e|0)!=0?(i=f[e+40>>2]|0,(i|0)!=0):0){j=i;e=f[w>>2]|0;do if(e){h=q;while(1){g=f[e+16>>2]|0;if(i>>>0<g>>>0){g=f[e>>2]|0;if(!g){n=16;break}}else{if(g>>>0>=i>>>0){n=20;break}h=e+4|0;g=f[h>>2]|0;if(!g){n=19;break}else e=h}h=e;e=g}if((n|0)==16){i=e;g=e;break}else if((n|0)==19){i=e;g=h;break}else if((n|0)==20){i=e;g=h;break}}else{i=w;g=w}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=j;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[x>>2]>>2]|0;if(e){f[x>>2]=e;d=f[g>>2]|0}Xo(f[q>>2]|0,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d}}e=f[a+240>>2]|0;if((e|0)!=0?(k=f[e+40>>2]|0,(k|0)!=0):0){j=k;e=f[w>>2]|0;do if(e){h=q;while(1){g=f[e+16>>2]|0;if(k>>>0<g>>>0){g=f[e>>2]|0;if(!g){n=33;break}}else{if(g>>>0>=k>>>0){n=37;break}h=e+4|0;g=f[h>>2]|0;if(!g){n=36;break}else e=h}h=e;e=g}if((n|0)==33){i=e;g=e;break}else if((n|0)==36){i=e;g=h;break}else if((n|0)==37){i=e;g=h;break}}else{i=w;g=w}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=j;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[x>>2]>>2]|0;if(e){f[x>>2]=e;d=f[g>>2]|0}Xo(f[q>>2]|0,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d}}e=f[a+244>>2]|0;if((e|0)!=0?(l=f[e+40>>2]|0,(l|0)!=0):0){j=l;e=f[w>>2]|0;do if(e){h=q;while(1){g=f[e+16>>2]|0;if(l>>>0<g>>>0){g=f[e>>2]|0;if(!g){n=50;break}}else{if(g>>>0>=l>>>0){n=54;break}h=e+4|0;g=f[h>>2]|0;if(!g){n=53;break}else e=h}h=e;e=g}if((n|0)==50){i=e;g=e;break}else if((n|0)==53){i=e;g=h;break}else if((n|0)==54){i=e;g=h;break}}else{i=w;g=w}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=j;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[x>>2]>>2]|0;if(e){f[x>>2]=e;d=f[g>>2]|0}Xo(f[q>>2]|0,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d}}e=f[a+248>>2]|0;if((e|0)!=0?(m=f[e+40>>2]|0,(m|0)!=0):0){j=m;e=f[w>>2]|0;do if(e){h=q;while(1){g=f[e+16>>2]|0;if(m>>>0<g>>>0){g=f[e>>2]|0;if(!g){n=67;break}}else{if(g>>>0>=m>>>0){n=71;break}h=e+4|0;g=f[h>>2]|0;if(!g){n=70;break}else e=h}h=e;e=g}if((n|0)==67){i=e;g=e;break}else if((n|0)==70){i=e;g=h;break}else if((n|0)==71){i=e;g=h;break}}else{i=w;g=w}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=j;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[x>>2]>>2]|0;if(e){f[x>>2]=e;d=f[g>>2]|0}Xo(f[q>>2]|0,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d}}e=f[a+252>>2]|0;m=a+256|0;g=f[m>>2]|0;if((e|0)!=(g|0)){l=g;while(1){g=f[e>>2]|0;if((g|0)!=0?(o=f[g+40>>2]|0,(o|0)!=0):0){k=o;g=f[w>>2]|0;do if(g){i=q;while(1){h=f[g+16>>2]|0;if(o>>>0<h>>>0){h=f[g>>2]|0;if(!h){n=88;break}}else{if(h>>>0>=o>>>0){n=92;break}i=g+4|0;h=f[i>>2]|0;if(!h){n=91;break}else g=i}i=g;g=h}if((n|0)==88){j=g;h=g;break}else if((n|0)==91){j=g;h=i;break}else if((n|0)==92){j=g;h=i;break}}else{j=w;h=w}while(0);if(!(f[h>>2]|0)){d=EBb(20)|0;f[d+16>>2]=k;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=j;f[h>>2]=d;g=f[f[x>>2]>>2]|0;if(g){f[x>>2]=g;d=f[h>>2]|0}Xo(f[q>>2]|0,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d;g=f[m>>2]|0}else g=l}else g=l;e=e+4|0;if((e|0)==(g|0))break;else l=g}}e=f[a+264>>2]|0;m=a+268|0;g=f[m>>2]|0;if((e|0)!=(g|0)){l=g;while(1){g=f[e>>2]|0;if((g|0)!=0?(p=f[g+40>>2]|0,(p|0)!=0):0){k=p;g=f[w>>2]|0;do if(g){i=q;while(1){h=f[g+16>>2]|0;if(p>>>0<h>>>0){h=f[g>>2]|0;if(!h){n=107;break}}else{if(h>>>0>=p>>>0){n=111;break}i=g+4|0;h=f[i>>2]|0;if(!h){n=110;break}else g=i}i=g;g=h}if((n|0)==107){j=g;h=g;break}else if((n|0)==110){j=g;h=i;break}else if((n|0)==111){j=g;h=i;break}}else{j=w;h=w}while(0);if(!(f[h>>2]|0)){d=EBb(20)|0;f[d+16>>2]=k;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=j;f[h>>2]=d;g=f[f[x>>2]>>2]|0;if(g){f[x>>2]=g;d=f[h>>2]|0}Xo(f[q>>2]|0,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d;g=f[m>>2]|0}else g=l}else g=l;e=e+4|0;if((e|0)==(g|0))break;else l=g}}e=f[a+220>>2]|0;m=a+224|0;g=f[m>>2]|0;if((e|0)!=(g|0))do{k=f[(f[e>>2]|0)+40>>2]|0;if(k){l=k;h=f[w>>2]|0;do if(h){j=q;while(1){i=f[h+16>>2]|0;if(k>>>0<i>>>0){i=f[h>>2]|0;if(!i){n=124;break}}else{if(i>>>0>=k>>>0){n=128;break}j=h+4|0;i=f[j>>2]|0;if(!i){n=127;break}else h=j}j=h;h=i}if((n|0)==124){i=h;break}else if((n|0)==127){i=h;h=j;break}else if((n|0)==128){i=h;h=j;break}}else{i=w;h=w}while(0);if(!(f[h>>2]|0)){d=EBb(20)|0;f[d+16>>2]=l;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[h>>2]=d;g=f[f[x>>2]>>2]|0;if(g){f[x>>2]=g;d=f[h>>2]|0}Xo(f[q>>2]|0,d);d=(f[r>>2]|0)+1|0;f[r>>2]=d;g=f[m>>2]|0}}e=e+4|0}while((e|0)!=(g|0));if(d|0){d=f[x>>2]|0;if((d|0)!=(w|0)){g=d;while(1){d=Tza(f[g+16>>2]|0,s)|0;if(d|0?b[d+36>>0]|0:0)dJa(d);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{r=f[e>>2]|0;e=r+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(r|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(w|0))break;else g=d}}if(!((b[y+761>>0]|0)==0?!((b[a+184>>0]|0)!=0&(b[y+759>>0]|0)!=0):0)){d=f[a+216>>2]|0;if(!d)h=cj[f[(f[a>>2]|0)+252>>2]&1023](a,c)|0;else h=dj[f[(f[d>>2]|0)+20>>2]&255](d,c,a)|0;d=gFa(a+200|0,s)|0;e=f[d>>2]|0;do if((e|0)!=(h|0)){f[d>>2]=h;if(h|0){s=h+8|0;f[s>>2]=(f[s>>2]|0)+1}if(!e)break;r=e+8|0;s=f[r>>2]|0;f[r>>2]=s-1;if((s|0)!=1)break;Rua(e,1,1)}while(0);g=y+140|0;f[g>>2]=h;d=f[h+24>>2]|0;e=y+748|0;if((f[e>>2]|0)!=(d|0)){tj[f[(f[t>>2]|0)+1560>>2]&2047](d);f[e>>2]=d}UIa(a,c);if(f[e>>2]|0){tj[f[(f[t>>2]|0)+1560>>2]&2047](0);f[e>>2]=0}f[g>>2]=f[y+136>>2]}y=v+724|0;Bj[f[y>>2]&1023](34962,0);Bj[f[y>>2]&1023](34963,0)}vJa(x,f[w>>2]|0);u=z;return}function IHa(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;j=f[c>>2]|0;k=EBb(108)|0;f[k+4>>2]=0;f[k+8>>2]=0;f[k>>2]=342936;c=k+12|0;f[c>>2]=j;l=k+16|0;f[l>>2]=0;m=k+24|0;d=k+104|0;e=m;g=e+80|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));b[d>>0]=1;g=f[j+832>>2]|0;f[l>>2]=g;g=g+8|0;f[g>>2]=(f[g>>2]|0)+1;b[k+20>>0]=b[(f[l>>2]|0)+712>>0]|0;if(f[a+232>>2]|0)Txa(k);if(f[a+240>>2]|0)Owa(k);if(f[a+236>>2]|0)Mwa(k);if(f[a+244>>2]|0?(h=k+40|0,(f[h>>2]|0)==0):0){e=EBb(28)|0;d=f[(f[c>>2]|0)+492>>2]|0;f[e+4>>2]=0;g=e+8|0;f[g>>2]=0;f[e+12>>2]=0;f[e+16>>2]=-1;b[e+20>>0]=0;f[e>>2]=338436;f[e+24>>2]=d;f[h>>2]=e;f[g>>2]=(f[g>>2]|0)+1}if(f[a+248>>2]|0?(i=k+44|0,(f[i>>2]|0)==0):0){g=EBb(28)|0;e=f[(f[c>>2]|0)+532>>2]|0;f[g+4>>2]=0;h=g+8|0;f[h>>2]=0;f[g+12>>2]=0;f[g+16>>2]=-1;b[g+20>>0]=0;f[g>>2]=338436;f[g+24>>2]=e;f[i>>2]=g;f[h>>2]=(f[h>>2]|0)+1}c=f[a+252>>2]|0;d=f[a+256>>2]|0;if((c|0)!=(d|0))jxa(k,d-c>>2);c=f[a+264>>2]|0;d=f[a+268>>2]|0;if((c|0)!=(d|0))Zwa(k,d-c>>2);if((b[j+761>>0]|0)==0?!((b[a+184>>0]|0)!=0&(b[j+759>>0]|0)!=0):0)return k|0;Bj[f[(f[l>>2]|0)+1552>>2]&1023](1,m);return k|0}function JHa(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;d=i;if(b[a+276>>0]|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=i;return}h=Nu(Hua(2)|0,431500,107)|0;Drb(d,h+(f[(f[h>>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(h,c)|0;Krb(h)|0;u=i;return}e=f[c>>2]|0;if(!(b[a+182>>0]|0))d=0;else d=(b[a+183>>0]|0)!=0;if((b[e+760>>0]|0)==0?!(d&(b[e+758>>0]|0)!=0):0){d=0;g=0}else if(!(b[e+761>>0]|0)){d=1;g=(b[a+184>>0]|0)!=0&(b[e+759>>0]|0)!=0}else{d=1;g=1}h=f[e+140>>2]|0;b[h+20>>0]=d&1;e=(f[e+368>>2]|0)==2;if(e){TIa(0,431608,0)|0;UIa(a,c);TIa(0,431648,0)|0}else UIa(a,c);VIa(a,c);if(!(g|d^1)){d=h+96|0;if(f[d>>2]|0){Bj[f[(f[h+16>>2]|0)+724>>2]&1023](34962,0);f[d>>2]=0}d=h+100|0;if(f[d>>2]|0){Bj[f[(f[h+16>>2]|0)+724>>2]&1023](34963,0);f[d>>2]=0}}if(!e){u=i;return}TIa(0,431706,0)|0;u=i;return}function KHa(a,b){a=a|0;b=b|0;return 1}function LHa(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;l=u;u=u+16|0;d=l+12|0;k=l;f[k>>2]=344528;f[k+4>>2]=c;j=k+8|0;f[j>>2]=0;c=f[a+232>>2]|0;if(!c){c=a+264|0;if((f[a+268>>2]|0)!=(f[c>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Nu(Hua(4)|0,431392,70)|0;Drb(d,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(d,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(d);ksb(i,h)|0;Krb(i)|0}c=f[f[c>>2]>>2]|0;if(c|0){f[j>>2]=0;Bj[f[(f[c>>2]|0)+188>>2]&1023](c,k)}}}else{f[j>>2]=0;Bj[f[(f[c>>2]|0)+188>>2]&1023](c,k)}c=f[a+236>>2]|0;if(c|0){f[j>>2]=2;Bj[f[(f[c>>2]|0)+188>>2]&1023](c,k)}c=f[a+240>>2]|0;if(c|0){f[j>>2]=3;Bj[f[(f[c>>2]|0)+188>>2]&1023](c,k)}c=f[a+244>>2]|0;if(c|0){f[j>>2]=4;Bj[f[(f[c>>2]|0)+188>>2]&1023](c,k)}c=f[a+248>>2]|0;if(c|0){f[j>>2]=5;Bj[f[(f[c>>2]|0)+188>>2]&1023](c,k)}h=a+252|0;i=a+256|0;c=f[i>>2]|0;d=f[h>>2]|0;if((c|0)!=(d|0)){g=0;do{e=f[d+(g<<2)>>2]|0;if(e){f[j>>2]=g+8;Bj[f[(f[e>>2]|0)+188>>2]&1023](e,k);d=f[h>>2]|0;c=f[i>>2]|0}g=g+1|0}while(g>>>0<c-d>>2>>>0)}i=a+264|0;h=a+268|0;c=f[h>>2]|0;d=f[i>>2]|0;if((c|0)==(d|0)){u=l;return}g=0;do{e=f[d+(g<<2)>>2]|0;if(e){f[j>>2]=g;Bj[f[(f[e>>2]|0)+188>>2]&1023](e,k);c=f[h>>2]|0;d=f[i>>2]|0}g=g+1|0}while(g>>>0<c-d>>2>>>0);u=l;return}function MHa(a,b){a=a|0;b=b|0;return 1}function NHa(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;l=u;u=u+16|0;d=l+12|0;k=l;f[k>>2]=344364;f[k+4>>2]=c;j=k+8|0;f[j>>2]=0;c=f[a+232>>2]|0;if(!c){c=a+264|0;if((f[a+268>>2]|0)!=(f[c>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Nu(Hua(4)|0,431248,75)|0;Drb(d,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(d,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(d);ksb(i,h)|0;Krb(i)|0}c=f[f[c>>2]>>2]|0;if(c|0){f[j>>2]=0;Bj[f[(f[c>>2]|0)+192>>2]&1023](c,k)}}}else{f[j>>2]=0;Bj[f[(f[c>>2]|0)+192>>2]&1023](c,k)}c=f[a+236>>2]|0;if(c|0){f[j>>2]=2;Bj[f[(f[c>>2]|0)+192>>2]&1023](c,k)}c=f[a+240>>2]|0;if(c|0){f[j>>2]=3;Bj[f[(f[c>>2]|0)+192>>2]&1023](c,k)}c=f[a+244>>2]|0;if(c|0){f[j>>2]=4;Bj[f[(f[c>>2]|0)+192>>2]&1023](c,k)}c=f[a+248>>2]|0;if(c|0){f[j>>2]=5;Bj[f[(f[c>>2]|0)+192>>2]&1023](c,k)}h=a+252|0;i=a+256|0;c=f[i>>2]|0;d=f[h>>2]|0;if((c|0)!=(d|0)){g=0;do{e=f[d+(g<<2)>>2]|0;if(e){f[j>>2]=g+8;Bj[f[(f[e>>2]|0)+192>>2]&1023](e,k);d=f[h>>2]|0;c=f[i>>2]|0}g=g+1|0}while(g>>>0<c-d>>2>>>0)}i=a+264|0;h=a+268|0;c=f[h>>2]|0;d=f[i>>2]|0;if((c|0)==(d|0)){u=l;return}g=0;do{e=f[d+(g<<2)>>2]|0;if(e){f[j>>2]=g;Bj[f[(f[e>>2]|0)+192>>2]&1023](e,k);c=f[h>>2]|0;d=f[i>>2]|0}g=g+1|0}while(g>>>0<c-d>>2>>>0);u=l;return}function OHa(a,b){a=a|0;b=b|0;return 1}function PHa(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;d=f[a+232>>2]|0;if(!d){d=a+264|0;if((f[a+268>>2]|0)==(f[d>>2]|0)){u=h;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Nu(Hua(4)|0,431021,30)|0;Drb(g,i+(f[(f[i>>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(i,j)|0;Krb(i)|0}d=f[f[d>>2]>>2]|0;if(!d){u=h;return}}if(!(_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0)){u=h;return}if((b[a+276>>0]|0?(e=_i[f[(f[d>>2]|0)+152>>2]&2047](d)|0,e|0):0)?WCb(e,295048,285152,0)|0:0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=h;return}j=Nu(Hua(2)|0,431052,118)|0;Drb(g,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(g,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(g);ksb(j,i)|0;Krb(j)|0;u=h;return}e=d+52|0;switch(f[e>>2]|0){case 27:{g=f[(f[c>>2]|0)+8>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 28:{g=f[(f[c>>2]|0)+12>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 29:{g=f[(f[c>>2]|0)+16>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 30:{g=f[(f[c>>2]|0)+20>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 31:{g=f[(f[c>>2]|0)+24>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 32:{g=f[(f[c>>2]|0)+28>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}default:{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=h;return}j=bsb(Nu(Hua(2)|0,431171,76)|0,f[e>>2]|0)|0;Drb(g,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(g,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(g);ksb(j,i)|0;Krb(j)|0;u=h;return}}d=f[a+220>>2]|0;e=a+224|0;if((d|0)==(f[e>>2]|0)){u=h;return}do{j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+204>>2]&1023](j,c);d=d+4|0}while((d|0)!=(f[e>>2]|0));u=h;return}function QHa(a,b){a=a|0;b=b|0;return 1}function RHa(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;d=f[a+232>>2]|0;if(!d){d=a+264|0;if((f[a+268>>2]|0)==(f[d>>2]|0)){u=h;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Nu(Hua(4)|0,430734,80)|0;Drb(g,i+(f[(f[i>>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(i,j)|0;Krb(i)|0}d=f[f[d>>2]>>2]|0;if(!d){u=h;return}}if(!(_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0)){u=h;return}if((b[a+276>>0]|0?(e=_i[f[(f[d>>2]|0)+152>>2]&2047](d)|0,e|0):0)?WCb(e,295048,285152,0)|0:0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=h;return}j=Nu(Hua(2)|0,430815,123)|0;Drb(g,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(g,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(g);ksb(j,i)|0;Krb(j)|0;u=h;return}e=d+52|0;switch(f[e>>2]|0){case 27:{g=f[(f[c>>2]|0)+8>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 28:{g=f[(f[c>>2]|0)+12>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 29:{g=f[(f[c>>2]|0)+16>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 30:{g=f[(f[c>>2]|0)+20>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 31:{g=f[(f[c>>2]|0)+24>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}case 32:{g=f[(f[c>>2]|0)+28>>2]|0;i=_i[f[(f[d>>2]|0)+216>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;Fj[g&511](c,i,j);break}default:{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=h;return}j=bsb(Nu(Hua(2)|0,430939,81)|0,f[e>>2]|0)|0;Drb(g,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(g,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(g);ksb(j,i)|0;Krb(j)|0;u=h;return}}d=f[a+220>>2]|0;e=a+224|0;if((d|0)==(f[e>>2]|0)){u=h;return}do{j=f[d>>2]|0;Bj[f[(f[j>>2]|0)+208>>2]&1023](j,c);d=d+4|0}while((d|0)!=(f[e>>2]|0));u=h;return}function SHa(a){a=a|0;return}function THa(a){a=a|0;GBb(a);return}function UHa(a,b){a=a|0;b=b|0;return}function VHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+8>>2]&127](d,f[a+8>>2]|0,b-c|0,c);return}function WHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+12>>2]&127](d,f[a+8>>2]|0,b-c>>1,c);return}function XHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+16>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function YHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+20>>2]&127](d,f[a+8>>2]|0,b-c|0,c);return}function ZHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+24>>2]&127](d,f[a+8>>2]|0,b-c>>1,c);return}function _Ha(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+28>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function $Ha(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+32>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function aIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+52>>2]&127](d,f[a+8>>2]|0,b-c>>3,c);return}function bIa(a,b){a=a|0;b=b|0;return}function cIa(a,b){a=a|0;b=b|0;return}function dIa(a,b){a=a|0;b=b|0;return}function eIa(a,b){a=a|0;b=b|0;return}function fIa(a,b){a=a|0;b=b|0;return}function gIa(a,b){a=a|0;b=b|0;return}function hIa(a,b){a=a|0;b=b|0;return}function iIa(a,b){a=a|0;b=b|0;return}function jIa(a,b){a=a|0;b=b|0;return}function kIa(a,b){a=a|0;b=b|0;return}function lIa(a,b){a=a|0;b=b|0;return}function mIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+48>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function nIa(a,b){a=a|0;b=b|0;return}function oIa(a,b){a=a|0;b=b|0;return}function pIa(a,b){a=a|0;b=b|0;return}function qIa(a,b){a=a|0;b=b|0;return}function rIa(a,b){a=a|0;b=b|0;return}function sIa(a,b){a=a|0;b=b|0;return}function tIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+36>>2]&127](d,f[a+8>>2]|0,b-c>>3,c);return}function uIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+40>>2]&127](d,f[a+8>>2]|0,(b-c|0)/12|0,c);return}function vIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+44>>2]&127](d,f[a+8>>2]|0,b-c>>4,c);return}function wIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+56>>2]&127](d,f[a+8>>2]|0,b-c>>4,c);return}function xIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+60>>2]&127](d,f[a+8>>2]|0,(b-c|0)/24|0,c);return}function yIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+64>>2]&127](d,f[a+8>>2]|0,b-c>>5,c);return}function zIa(a,b){a=a|0;b=b|0;return}function AIa(a,b){a=a|0;b=b|0;return}function BIa(a,b){a=a|0;b=b|0;return}function CIa(a,b){a=a|0;b=b|0;return}function DIa(a){a=a|0;GBb(a);return}function EIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+8>>2]&127](d,f[a+8>>2]|0,b-c|0,c);return}function FIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+12>>2]&127](d,f[a+8>>2]|0,b-c>>1,c);return}function GIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+16>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function HIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+20>>2]&127](d,f[a+8>>2]|0,b-c|0,c);return}function IIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+24>>2]&127](d,f[a+8>>2]|0,b-c>>1,c);return}function JIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+28>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function KIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+32>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function LIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+52>>2]&127](d,f[a+8>>2]|0,b-c>>3,c);return}function MIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+48>>2]&127](d,f[a+8>>2]|0,b-c>>2,c);return}function NIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+36>>2]&127](d,f[a+8>>2]|0,b-c>>3,c);return}function OIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+40>>2]&127](d,f[a+8>>2]|0,(b-c|0)/12|0,c);return}function PIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+44>>2]&127](d,f[a+8>>2]|0,b-c>>4,c);return}function QIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+56>>2]&127](d,f[a+8>>2]|0,b-c>>4,c);return}function RIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+60>>2]&127](d,f[a+8>>2]|0,(b-c|0)/24|0,c);return}function SIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[b+76>>2]|0;b=f[b+80>>2]|0;if((c|0)==(b|0))return;d=f[a+4>>2]|0;Ij[f[(f[d>>2]|0)+64>>2]&127](d,f[a+8>>2]|0,b-c>>5,c);return}function TIa(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+16|0;i=j;h=Mh()|0;a:do if((h|0)>=1286){if((h|0)>=100901)switch(h|0){case 100904:{a=13;e=15;break a}case 100901:{a=10;e=15;break a}case 100902:{a=11;e=15;break a}case 100903:{a=12;e=15;break a}default:{e=16;break a}}if((h|0)<32817){switch(h|0){case 1286:break;default:{e=16;break a}}a=8;e=15;break}if((h|0)<100900){switch(h|0){case 32817:break;default:{e=16;break a}}a=7;e=15;break}else{switch(h|0){case 100900:break;default:{e=16;break a}}a=9;e=15;break}}else switch(h|0){case 1280:{a=1;e=15;break a}case 1281:{a=2;e=15;break a}case 1282:{a=3;e=15;break a}case 1283:{a=4;e=15;break a}case 1284:{a=5;e=15;break a}case 1285:{a=6;e=15;break a}case 0:{d=0;u=j;return d|0}default:{e=16;break a}}while(0);if((e|0)==15){a=222496+(a<<3)+4|0;e=17}else if((e|0)==16)if((h+-100151|0)>>>0<6){a=222464+(h+-100150<<2)|0;e=17}else g=0;if((e|0)==17)g=f[a>>2]|0;a=(g|0)==0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);e=(f[124868]|0)>2;if(a){if(e){g=Nu(Hua(3)|0,432296,40)|0;e=g+(f[(f[g>>2]|0)+-12>>2]|0)+4|0;f[e>>2]=f[e>>2]&-75|8;h=csb(g,h)|0;h=h+(f[(f[h>>2]|0)+-12>>2]|0)+4|0;f[h>>2]=f[h>>2]&-75|2}}else if(e){h=Nu(Hua(3)|0,432263,32)|0;Nu(Nu(h,g,Rmb(g)|0)|0,409558,1)|0}a=(c|0)!=0;e=(d|0)!=0;h=a|e;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);g=(f[124868]|0)>2;if(h){if(g)Nu(Hua(3)|0,432337,3)|0;if(a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){h=Nu(Hua(3)|0,432341,1)|0;Nu(h,c,Rmb(c)|0)|0}}if(e){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(Hua(3)|0,432341,1)|0;Nu(c,d,Rmb(d)|0)|0}}}else if(g)Nu(Hua(3)|0,432343,15)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){d=1;u=j;return d|0}d=Hua(3)|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;d=1;u=j;return d|0}function UIa(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;w=u;u=u+16|0;m=w;v=f[c>>2]|0;r=f[v+140>>2]|0;s=a+264|0;t=a+268|0;q=(f[s>>2]|0)==(f[t>>2]|0);i=v+844|0;if(!(b[v+856>>0]|0))WIa(i);k=v+892|0;l=v+896|0;f[l>>2]=f[k>>2];b[v+904>>0]=b[v+131>>0]|0;if(!q?(h=f[s>>2]|0,(f[t>>2]|0)!=(h|0)):0){g=0;c=h;do{XIa(i,g,f[c+(g<<2)>>2]|0);g=g+1|0;c=f[s>>2]|0}while(g>>>0<(f[t>>2]|0)-c>>2>>>0)}p=a+236|0;c=f[p>>2]|0;a:do if(c|0){switch(f[c+64>>2]|0){case 1:{c=YIa(i,c)|0;if(!c)break a;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,0);break a}case 2:break;default:break a}n=YIa(i,c)|0;f[m>>2]=n;c=n;do if(n|0){g=f[l>>2]|0;if((g|0)==(f[v+900>>2]|0)){ZIa(k,m);break}else{f[g>>2]=c;f[l>>2]=(f[l>>2]|0)+4;break}}while(0)}while(0);n=a+240|0;c=f[n>>2]|0;b:do if(c|0){switch(f[c+64>>2]|0){case 1:{c=_Ia(i,c)|0;if(!c)break b;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,0);break b}case 2:break;default:break b}j=_Ia(i,c)|0;f[m>>2]=j;c=j;do if(j|0){g=f[l>>2]|0;if((g|0)==(f[v+900>>2]|0)){ZIa(k,m);break}else{f[g>>2]=c;f[l>>2]=(f[l>>2]|0)+4;break}}while(0)}while(0);j=a+244|0;c=f[j>>2]|0;c:do if(c|0){switch(f[c+64>>2]|0){case 1:{c=$Ia(i,c)|0;if(!c)break c;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,0);break c}case 2:break;default:break c}h=$Ia(i,c)|0;f[m>>2]=h;c=h;do if(h|0){g=f[l>>2]|0;if((g|0)==(f[v+900>>2]|0)){ZIa(k,m);break}else{f[g>>2]=c;f[l>>2]=(f[l>>2]|0)+4;break}}while(0)}while(0);h=a+248|0;c=f[h>>2]|0;d:do if(c|0){switch(f[c+64>>2]|0){case 1:{c=aJa(i,c)|0;if(!c)break d;Bj[f[(f[c>>2]|0)+16>>2]&1023](c,0);break d}case 2:break;default:break d}i=aJa(i,c)|0;f[m>>2]=i;c=i;do if(i|0){g=f[l>>2]|0;if((g|0)==(f[v+900>>2]|0)){ZIa(k,m);break}else{f[g>>2]=c;f[l>>2]=(f[l>>2]|0)+4;break}}while(0)}while(0);if(!((b[v+761>>0]|0)==0?!((b[a+184>>0]|0)!=0&(b[v+759>>0]|0)!=0):0))o=45;if((o|0)==45?(b[r+104>>0]|0)==0:0){u=w;return}l=r+72|0;m=r+84|0;c=f[l>>2]|0;k=f[m>>2]|0;f[l>>2]=k;f[m>>2]=c;l=r+76|0;o=r+88|0;g=f[l>>2]|0;f[o>>2]=g;y=r+80|0;i=r+92|0;x=f[y>>2]|0;f[y>>2]=f[i>>2];f[i>>2]=x;f[l>>2]=k;if((c|0)!=(g|0))do{b[(f[c>>2]|0)+20>>0]=0;c=c+4|0}while((c|0)!=(g|0));c=f[a+232>>2]|0;if(c|0)bJa(r,f[r+28>>2]|0,v,c);c=f[p>>2]|0;if(c|0?(f[c+64>>2]|0)==4:0)bJa(r,f[r+32>>2]|0,v,c);c=f[n>>2]|0;if(c|0?(f[c+64>>2]|0)==4:0)bJa(r,f[r+36>>2]|0,v,c);c=f[j>>2]|0;if(c|0?(f[c+64>>2]|0)==4:0)bJa(r,f[r+40>>2]|0,v,c);c=f[h>>2]|0;if(c|0?(f[c+64>>2]|0)==4:0)bJa(r,f[r+44>>2]|0,v,c);l=a+252|0;j=a+256|0;g=f[j>>2]|0;c=f[l>>2]|0;if((g|0)!=(c|0)){k=r+48|0;i=0;do{h=f[c+(i<<2)>>2]|0;if(h){bJa(r,f[(f[k>>2]|0)+(i<<2)>>2]|0,v,h);c=f[l>>2]|0;g=f[j>>2]|0}i=i+1|0}while(i>>>0<g-c>>2>>>0)}if(!q?(d=f[t>>2]|0,e=f[s>>2]|0,(d|0)!=(e|0)):0){h=r+60|0;g=0;while(1){c=f[e+(g<<2)>>2]|0;do if(!c)c=e;else{if((f[c+64>>2]|0)!=4){c=e;break}bJa(r,f[(f[h>>2]|0)+(g<<2)>>2]|0,v,c);c=f[s>>2]|0;d=f[t>>2]|0}while(0);g=g+1|0;if(g>>>0>=d-c>>2>>>0)break;else e=c}}c=f[m>>2]|0;d=f[o>>2]|0;if((c|0)!=(d|0)){do{e=f[c>>2]|0;if(!(b[e+20>>0]|0)){Bj[f[(f[e>>2]|0)+44>>2]&1023](e,v);f[e+12>>2]=0;f[e+16>>2]=-1;d=f[o>>2]|0}c=c+4|0}while((c|0)!=(d|0));c=f[m>>2]|0}f[o>>2]=c;u=w;return}function VIa(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;l=f[c>>2]|0;if(!(b[a+182>>0]|0))c=0;else c=(b[a+183>>0]|0)!=0;if(!(b[l+760>>0]|0))k=c&(b[l+758>>0]|0)!=0;else k=1;g=l+892|0;h=l+896|0;j=a+220|0;i=a+224|0;e=f[j>>2]|0;c=e;if((f[i>>2]|0)==(e|0))return;d=f[g>>2]|0;e=f[h>>2]|0;if((d|0)==(e|0)){a=0;do{h=f[c+(a<<2)>>2]|0;Fj[f[(f[h>>2]|0)+200>>2]&511](h,l,k);a=a+1|0;c=f[j>>2]|0}while((a|0)!=((f[i>>2]|0)-c>>2|0));return}a=0;while(1){if((d|0)!=(e|0)){c=d;do{e=f[c>>2]|0;Bj[f[(f[e>>2]|0)+16>>2]&1023](e,a);c=c+4|0}while((c|0)!=(f[h>>2]|0));c=f[j>>2]|0}c=f[c+(a<<2)>>2]|0;Fj[f[(f[c>>2]|0)+200>>2]&511](c,l,k);a=a+1|0;c=f[j>>2]|0;if((a|0)==((f[i>>2]|0)-c>>2|0))break;d=f[g>>2]|0;e=f[h>>2]|0}return}function WIa(a){a=a|0;var c=0,d=0,e=0,g=0;c=a+12|0;if(b[c>>0]|0)return;b[c>>0]=1;g=EBb(12)|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+20>>2]=g;g=EBb(12)|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+24>>2]=g;g=EBb(12)|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+28>>2]=g;g=EBb(12)|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+32>>2]=g;g=a+48|0;c=a+52|0;a=f[g>>2]|0;d=(f[c>>2]|0)-a|0;e=d>>2;if(e>>>0<5){uJa(g,5-e|0);return}if((d|0)==20)return;f[c>>2]=a+20;return}function XIa(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;j=u;u=u+16|0;g=j;if(!c){u=j;return}switch(f[c+64>>2]|0){case 1:{e=a+36|0;d=f[e>>2]|0;if((f[a+40>>2]|0)-d>>2>>>0<=b>>>0){nJa(a,b);d=f[e>>2]|0}a=f[d+(b<<2)>>2]|0;d=f[c+52>>2]|0;e=f[a>>2]|0;if(d>>>0>=(f[a+4>>2]|0)-e>>2>>>0){u=j;return}d=f[e+(d<<2)>>2]|0;if(!d){u=j;return}a=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[a&1023](d,c);Bj[f[(f[d>>2]|0)+16>>2]&1023](d,0);u=j;return}case 2:{e=a+36|0;d=f[e>>2]|0;if((f[a+40>>2]|0)-d>>2>>>0<=b>>>0){nJa(a,b);d=f[e>>2]|0}b=f[d+(b<<2)>>2]|0;d=f[c+52>>2]|0;e=f[b>>2]|0;do if(d>>>0<(f[b+4>>2]|0)-e>>2>>>0?(h=f[e+(d<<2)>>2]|0,(h|0)!=0):0){e=f[(f[h>>2]|0)+12>>2]|0;d=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[e&1023](h,d);f[g>>2]=h;d=a+52|0;e=f[d>>2]|0;if((e|0)==(f[a+56>>2]|0)){ZIa(a+48|0,g);break}else{f[e>>2]=h;f[d>>2]=(f[d>>2]|0)+4;break}}else i=14;while(0);if((i|0)==14)f[g>>2]=0;u=j;return}default:{u=j;return}}}function YIa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if(!(b[a+60>>0]|0)){d=f[a+20>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}g=f[(f[a+16>>2]|0)+412>>2]|0;e=a+36|0;d=f[e>>2]|0;if((f[a+40>>2]|0)-d>>2>>>0<=g>>>0){nJa(a,g);d=f[e>>2]|0}d=f[d+(g<<2)>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}function ZIa(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<c>>>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 _Ia(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if(!(b[a+60>>0]|0)){d=f[a+24>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}g=f[(f[a+16>>2]|0)+452>>2]|0;e=a+36|0;d=f[e>>2]|0;if((f[a+40>>2]|0)-d>>2>>>0<=g>>>0){nJa(a,g);d=f[e>>2]|0}d=f[d+(g<<2)>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}function $Ia(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if(!(b[a+60>>0]|0)){d=f[a+28>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}g=f[(f[a+16>>2]|0)+492>>2]|0;e=a+36|0;d=f[e>>2]|0;if((f[a+40>>2]|0)-d>>2>>>0<=g>>>0){nJa(a,g);d=f[e>>2]|0}d=f[d+(g<<2)>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}function aJa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if(!(b[a+60>>0]|0)){d=f[a+32>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}g=f[(f[a+16>>2]|0)+532>>2]|0;e=a+36|0;d=f[e>>2]|0;if((f[a+40>>2]|0)-d>>2>>>0<=g>>>0){nJa(a,g);d=f[e>>2]|0}d=f[d+(g<<2)>>2]|0;if(!c){c=0;return c|0}a=f[c+52>>2]|0;e=f[d>>2]|0;if(a>>>0>=(f[d+4>>2]|0)-e>>2>>>0){c=0;return c|0}d=f[e+(a<<2)>>2]|0;if(!d){c=0;return c|0}g=f[(f[d>>2]|0)+12>>2]|0;c=_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0;Bj[g&1023](d,c);c=d;return c|0}function bJa(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;o=u;u=u+16|0;n=o;f[n>>2]=c;h=c;if(!e){g=c+12|0;if(!(f[g>>2]|0)){u=o;return}Bj[f[(f[c>>2]|0)+44>>2]&1023](c,d);f[g>>2]=0;f[c+16>>2]=-1;b[c+20>>0]=0;u=o;return}g=c+20|0;do if(!(b[g>>0]|0)){b[g>>0]=1;g=a+76|0;c=f[g>>2]|0;if((c|0)==(f[a+80>>2]|0)){cJa(a+72|0,n);break}else{f[c>>2]=h;f[g>>2]=(f[g>>2]|0)+4;break}}while(0);g=f[n>>2]|0;c=f[g+12>>2]|0;do if(!c){if((b[a+20>>0]|0?(i=f[e+40>>2]|0,i|0):0)?(k=Tza(i,f[d+124>>2]|0)|0,k|0):0){if(!(b[k+36>>0]|0)){g=a+96|0;if((f[g>>2]|0)!=(k|0)){Bj[f[(f[k+72>>2]|0)+724>>2]&1023](f[k+20>>2]|0,f[k+16>>2]|0);c=f[k+56>>2]|0;if(!c)m=15;else{$za(c,k);m=15}}}else{dJa(k);g=a+96|0;m=15}if((m|0)==15)f[g>>2]=k;m=f[n>>2]|0;Ij[f[(f[m>>2]|0)+24>>2]&127](m,d,e,k);break}g=a+96|0;if(f[g>>2]|0){Bj[f[(f[a+16>>2]|0)+724>>2]&1023](34962,0);f[g>>2]=0}m=f[n>>2]|0;Fj[f[(f[m>>2]|0)+20>>2]&511](m,d,e)}else{if((c|0)==(e|0)?(f[e+32>>2]|0)==(f[g+16>>2]|0):0)break;if((b[a+20>>0]|0?(j=f[e+40>>2]|0,j|0):0)?(l=Tza(j,f[d+124>>2]|0)|0,l|0):0){if(!(b[l+36>>0]|0)){g=a+96|0;if((f[g>>2]|0)!=(l|0)){Bj[f[(f[l+72>>2]|0)+724>>2]&1023](f[l+20>>2]|0,f[l+16>>2]|0);c=f[l+56>>2]|0;if(!c)m=30;else{$za(c,l);m=30}}}else{dJa(l);g=a+96|0;m=30}if((m|0)==30)f[g>>2]=l;m=f[n>>2]|0;Ij[f[(f[m>>2]|0)+36>>2]&127](m,d,e,l);break}g=a+96|0;if(f[g>>2]|0){Bj[f[(f[a+16>>2]|0)+724>>2]&1023](34962,0);f[g>>2]=0}m=f[n>>2]|0;Fj[f[(f[m>>2]|0)+32>>2]&511](m,d,e)}while(0);d=f[n>>2]|0;f[d+12>>2]=e;f[d+16>>2]=f[e+32>>2];u=o;return}function cJa(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<c>>>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 dJa(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,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=u;u=u+32|0;y=A;b[a+36>>0]=0;w=a+40|0;q=a+52|0;e=f[q>>2]|0;eJa(w,(f[e+52>>2]|0)-(f[e+48>>2]|0)>>2);e=f[q>>2]|0;x=a+44|0;if((f[e+52>>2]|0)==(f[e+48>>2]|0)){i=0;c=0}else{j=y+12|0;k=y+4|0;l=y+8|0;m=y+16|0;n=a+48|0;g=0;d=0;c=0;do{i=f[(f[e+48>>2]|0)+(c<<2)>>2]|0;e=f[x>>2]|0;v=f[w>>2]|0;h=v;do if(c>>>0<((e-v|0)/20|0)>>>0){e=h+(c*20|0)+16|0;if((!g?(f[e>>2]|0)==(i|0):0)?(o=h+(c*20|0)+8|0,v=f[o>>2]|0,(v|0)==(_i[f[(f[i>>2]|0)+168>>2]&2047](i)|0)):0){d=(f[o>>2]|0)+d|0;if(!(d&3)){g=0;break}d=d+4&-4;g=0;break}v=h+(c*20|0)+12|0;B=h+(c*20|0)+8|0;t=(f[B>>2]|0)+(f[v>>2]|0)|0;f[h+(c*20|0)>>2]=0;f[h+(c*20|0)+4>>2]=16777215;f[v>>2]=d;v=_i[f[(f[i>>2]|0)+168>>2]&2047](i)|0;f[B>>2]=v;f[e>>2]=i;v=v+d|0;d=v;g=g|(((t&3|0)==0?t:t+4&-4)|0)!=(v|0)}else{f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;f[y+12>>2]=0;f[y+16>>2]=0;f[j>>2]=d;f[k>>2]=16777215;if(!i)h=0;else{h=_i[f[(f[i>>2]|0)+168>>2]&2047](i)|0;e=f[x>>2]|0}f[l>>2]=h;f[m>>2]=i;d=h+d|0;if((e|0)==(f[n>>2]|0))fJa(w,y);else{f[e>>2]=f[y>>2];f[e+4>>2]=f[k>>2];f[e+8>>2]=h;f[e+12>>2]=f[j>>2];f[e+16>>2]=i;f[x>>2]=e+20}d=(d&3|0)==0?d:d+4&-4}while(0);c=c+1|0;e=f[q>>2]|0}while(c>>>0<(f[e+52>>2]|0)-(f[e+48>>2]|0)>>2>>>0);i=d}e=f[x>>2]|0;d=f[w>>2]|0;if(c>>>0<((e-d|0)/20|0)>>>0?(p=d+(c*20|0)|0,(p|0)!=(e|0)):0)f[x>>2]=p;t=a+72|0;v=a+20|0;g=a+16|0;Bj[f[(f[t>>2]|0)+724>>2]&1023](f[v>>2]|0,f[g>>2]|0);g=f[g>>2]|0;c=f[q>>2]|0;d=c+12|0;e=f[(f[t>>2]|0)+1748>>2]|0;if(e|0?(s=b[d+11>>0]|0,r=s<<24>>24<0,s=r?f[c+16>>2]|0:s&255,s|0):0)Ij[e&127](33504,g,s,r?f[d>>2]|0:d);l=a+28|0;c=f[l>>2]|0;if(i>>>0>c>>>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){B=Nu(csb(Nu(Hua(4)|0,431745,13)|0,i)|0,431759,17)|0;B=csb(B,f[l>>2]|0)|0;Drb(y,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);s=utb(y,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(y);ksb(B,s)|0;Krb(B)|0}c=f[l>>2]|0;f[l>>2]=i;g=a+56|0;h=f[g>>2]|0;if(!h)c=i;else{k=i-c|0;i=Yza(f[h+24>>2]|0,v)|0;if((i|0)!=(h|0)&(i|0)!=0){j=h+44|0;f[j>>2]=(f[j>>2]|0)+-1;j=a+60|0;d=f[j>>2]|0;e=a+64|0;c=f[e>>2]|0;if(!d)f[h+72>>2]=c;else{f[d+64>>2]=c;c=f[e>>2]|0}f[((c|0)==0?h+76|0:c+60|0)>>2]=d;f[e>>2]=0;f[j>>2]=0;f[g>>2]=i;c=i+44|0;f[c>>2]=(f[c>>2]|0)+1;c=f[i+24>>2]|0;f[a+68>>2]=f[c+56>>2];e=i+76|0;d=f[e>>2]|0;if(d|0)f[d+64>>2]=a;f[j>>2]=d;d=i+72|0;if(!(f[d>>2]|0))f[d>>2]=a;f[e>>2]=a}else c=f[(f[g>>2]|0)+24>>2]|0;c=c+36|0;f[c>>2]=k+(f[c>>2]|0);c=f[l>>2]|0}}d=a+32|0;if((f[d>>2]|0)==(c|0))p=0;else{f[d>>2]=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){B=Nu(Hua(4)|0,431777,50)|0;B=csb(B,f[d>>2]|0)|0;Drb(y,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);s=utb(y,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(y);ksb(B,s)|0;Krb(B)|0}Ij[f[(f[t>>2]|0)+728>>2]&127](f[v>>2]|0,f[l>>2]|0,0,f[a+24>>2]|0);p=1}c=f[w>>2]|0;if((c|0)==(f[x>>2]|0)){u=A;return}k=y+4|0;l=y+16|0;m=y+20|0;n=y+8|0;o=y+12|0;do{h=c+16|0;g=f[h>>2]|0;do if(g|0){if(!p){d=c+4|0;e=f[g+32>>2]|0;if((f[d>>2]|0)==(e|0))break}else{d=c+4|0;e=f[g+32>>2]|0}f[c>>2]=0;f[d>>2]=e;d=_i[f[(f[g>>2]|0)+128>>2]&2047](g)|0;if((d|0?(z=f[d+84>>2]|0,z|0):0)?(z|0)!=(f[d+72>>2]|0):0){e=f[c+12>>2]|0;f[y>>2]=d;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;gJa(y);d=f[l>>2]|0;a:do if(d|0){b:while(1){j=f[m>>2]|0;Ij[f[(f[t>>2]|0)+732>>2]&127](f[v>>2]|0,e,j,d);i=f[y>>2]|0;if(!i){d=64;break}d=f[i+84>>2]|0;if(!d){d=64;break}if((d|0)==(f[i+72>>2]|0)){d=64;break}w=f[i+116>>2]|0;B=f[i+120>>2]|0;d=(f[k>>2]|0)+1|0;f[k>>2]=d;d=(d|0)>=(f[i+76>>2]|0);g=B;h=w;do if((w|0)==(B|0)){if(!d)break;f[k>>2]=0;B=(f[n>>2]|0)+1|0;f[n>>2]=B;if((B|0)>=(f[i+80>>2]|0)){d=72;break b}}else{if(!d)break;f[k>>2]=0;B=(f[n>>2]|0)+1|0;f[n>>2]=B;if((B|0)<(f[i+80>>2]|0))break;f[n>>2]=0;B=(f[o>>2]|0)+1|0;f[o>>2]=B;if(B>>>0>=((g-h>>2)+1|0)>>>0){d=69;break b}}while(0);gJa(y);d=f[l>>2]|0;if(!d)break a;else e=j+e|0}if((d|0)==64){f[l>>2]=0;f[m>>2]=0;break}else if((d|0)==69){f[l>>2]=0;f[m>>2]=0;break}else if((d|0)==72){f[l>>2]=0;f[m>>2]=0;break}}while(0);break}r=f[(f[t>>2]|0)+732>>2]|0;s=f[v>>2]|0;a=f[c+12>>2]|0;w=f[c+8>>2]|0;B=f[h>>2]|0;B=_i[f[(f[B>>2]|0)+164>>2]&2047](B)|0;Ij[r&127](s,a,w,B)}while(0);c=c+20|0}while((c|0)!=(f[x>>2]|0));u=A;return}function eJa(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=a+8|0;c=f[a>>2]|0;e=c;if((((f[i>>2]|0)-c|0)/20|0)>>>0>=b>>>0)return;j=a+4|0;if(b>>>0>214748364){j=ab(8)|0;KBb(j,410101);f[j>>2]=362060;eb(j|0,302144,1464)}k=f[j>>2]|0;g=EBb(b*20|0)|0;d=g+(((k-c|0)/20|0)*20|0)|0;h=d;g=g+(b*20|0)|0;b=k;if((b|0)==(e|0))b=h;else{c=d;do{k=b;b=b+-20|0;f[c+-20>>2]=f[b>>2];f[c+-16>>2]=f[k+-16>>2];f[c+-12>>2]=f[k+-12>>2];f[c+-8>>2]=f[k+-8>>2];f[c+-4>>2]=f[k+-4>>2];c=c+-20|0}while((b|0)!=(e|0));b=c;c=f[a>>2]|0}f[a>>2]=b;f[j>>2]=h;f[i>>2]=g;if(!c)return;GBb(c);return}function fJa(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;i=f[m>>2]|0;c=f[a>>2]|0;h=(i-c|0)/20|0;d=h+1|0;k=c;if(d>>>0>214748364)DCb(a);l=a+8|0;j=((f[l>>2]|0)-c|0)/20|0;e=j<<1;e=j>>>0<107374182?(e>>>0<d>>>0?d:e):214748364;do if(e)if(e>>>0>214748364){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(e*20|0)|0;break}else g=0;while(0);d=g+(h*20|0)|0;j=g+(e*20|0)|0;f[d>>2]=f[b>>2];f[g+(h*20|0)+4>>2]=f[b+4>>2];f[g+(h*20|0)+8>>2]=f[b+8>>2];f[g+(h*20|0)+12>>2]=f[b+12>>2];f[g+(h*20|0)+16>>2]=f[b+16>>2];e=d+20|0;if((i|0)!=(k|0)){c=i;do{i=c;c=c+-20|0;f[d+-20>>2]=f[c>>2];f[d+-16>>2]=f[i+-16>>2];f[d+-12>>2]=f[i+-12>>2];f[d+-8>>2]=f[i+-8>>2];f[d+-4>>2]=f[i+-4>>2];d=d+-20|0}while((c|0)!=(k|0));c=f[a>>2]|0}f[a>>2]=d;f[m>>2]=e;f[l>>2]=j;if(!c)return;GBb(c);return}function gJa(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;c=f[a>>2]|0;if(!c){f[a+16>>2]=0;l=0;a=a+20|0;f[a>>2]=l;return}i=c+84|0;h=f[i>>2]|0;if(h|0?(j=c+72|0,b=f[j>>2]|0,(h|0)!=(b|0)):0){e=f[c+116>>2]|0;g=f[c+120>>2]|0;if((e|0)!=(g|0)){d=f[a+12>>2]|0;if(d>>>0>=((g-e>>2)+1|0)>>>0){f[a+16>>2]=0;l=0;a=a+20|0;f[a>>2]=l;return}if(!d)b=0;else b=f[e+(d+-1<<2)>>2]|0;j=(f[c+112>>2]|0)+b|0;g=h>>d;k=f[c+76>>2]>>d;l=f[c+100>>2]|0;g=W(iJa(f[c+92>>2]|0,f[c+96>>2]|0)|0,(g|0)==0?1:g)|0;i=(l|0)==0?8:l<<3;h=(g|0)/(i|0)|0;l=W(h+((g-(W(h,i)|0)|0)!=0&1)|0,l)|0;j=j+(W(l,f[a+4>>2]|0)|0)|0;k=j+(W(W(f[a+8>>2]|0,(k|0)==0?1:k)|0,l)|0)|0;f[a+16>>2]=k;a=a+20|0;f[a>>2]=l;return}g=f[a+8>>2]|0;if((g|0)<(f[c+80>>2]|0)?(k=f[a+4>>2]|0,l=c+76|0,(k|0)<(f[l>>2]|0)):0){h=f[c+112>>2]|0;if(!h)d=0;else{d=c+92|0;e=c+96|0;iJa(f[d>>2]|0,f[e>>2]|0)|0;b=f[i>>2]|0;if(!b)b=f[j>>2]|0;i=c+100|0;n=f[i>>2]|0;m=W(iJa(f[d>>2]|0,f[e>>2]|0)|0,b)|0;c=(n|0)==0?8:n<<3;b=(m|0)/(c|0)|0;c=h+(W(W(n,k)|0,b+((m-(W(b,c)|0)|0)!=0&1)|0)|0)|0;j=f[j>>2]|0;b=f[i>>2]|0;j=W(iJa(f[d>>2]|0,f[e>>2]|0)|0,j)|0;d=(b|0)==0?8:b<<3;k=(j|0)/(d|0)|0;d=k+((j-(W(k,d)|0)|0)!=0&1)|0;d=c+(W(W(W(b,g)|0,f[l>>2]|0)|0,d)|0)|0;b=f[a>>2]|0;c=b;b=f[b+72>>2]|0}f[a+16>>2]=d;m=f[c+100>>2]|0;k=W(iJa(f[c+92>>2]|0,f[c+96>>2]|0)|0,b)|0;n=(m|0)==0?8:m<<3;l=(k|0)/(n|0)|0;m=W(l+((k-(W(l,n)|0)|0)!=0&1)|0,m)|0;n=a+20|0;f[n>>2]=m;return}f[a+16>>2]=0;m=0;n=a+20|0;f[n>>2]=m;return}f[a+16>>2]=f[c+112>>2];m=hJa(c)|0;n=a+20|0;f[n>>2]=m;return}function hJa(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+116|0;b=f[k>>2]|0;l=a+120|0;c=f[l>>2]|0;e=f[a+72>>2]|0;if((b|0)==(c|0)){k=f[a+100>>2]|0;i=W(iJa(f[a+92>>2]|0,f[a+96>>2]|0)|0,e)|0;l=(k|0)==0?8:k<<3;j=(i|0)/(l|0)|0;l=j+((i-(W(j,l)|0)|0)!=0&1)|0;k=W(f[a+76>>2]|0,k)|0;l=W(W(k,f[a+80>>2]|0)|0,l)|0;return l|0}if((c-b|0)==-4){l=0;return l|0}h=a+92|0;i=a+96|0;j=a+100|0;b=0;g=f[a+80>>2]|0;d=f[a+76>>2]|0;c=e;a=0;while(1){b=(mJa(c,d,g,f[h>>2]|0,f[i>>2]|0,f[j>>2]|0,1,1)|0)+b|0;a=a+1|0;if(a>>>0>=(((f[l>>2]|0)-(f[k>>2]|0)>>2)+1|0)>>>0)break;else{g=(g|0)<2?1:g>>1;d=(d|0)<2?1:d>>1;c=(c|0)<2?1:c>>1}}return b|0}function iJa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;j=k+12|0;i=k;a:do switch(a|0){case 37489:case 37488:case 37495:case 37494:case 37493:case 37492:case 36196:case 35842:case 35840:case 36283:case 36284:case 33777:case 33776:{d=4;break}case 33778:{d=8;break}case 33779:{d=8;break}case 36286:{d=8;break}case 36285:{d=8;break}case 35841:{d=2;break}case 35843:{d=2;break}case 37496:{d=8;break}case 37497:{d=8;break}case 37490:{d=8;break}case 37491:{d=8;break}default:{if((a+-34025|0)>>>0<6){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){d=0;break a}d=Nu(csb(Nu(Hua(2)|0,431828,95)|0,a)|0,431924,14)|0;Drb(j,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);i=utb(j,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(j);ksb(d,i)|0;Krb(d)|0;d=0;break a}do switch(a|0){case 32842:case 32831:{d=4;break a}case 37853:case 37852:case 37851:case 37850:case 37849:case 37848:case 37847:case 37846:case 37845:case 37844:case 37843:case 37842:case 37841:case 37840:case 37821:case 37820:case 37819:case 37818:case 37817:case 37816:case 37815:case 37814:case 37813:case 37812:case 37811:case 37810:case 37809:case 37808:{jJa(i,a);g=i+4|0;h=W(f[g>>2]|0,f[i>>2]|0)|0;c=kJa(a,0)|0;d=(c>>>0)/(h>>>0)|0;a=(c|0)==(W(d,h)|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);e=(f[124868]|0)>1;if(a){if(e){i=Nu(csb(Nu(Hua(2)|0,431939,61)|0,d)|0,432001,89)|0;Drb(j,i+(f[(f[i>>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(i,h)|0;Krb(i)|0}}else if(e){d=Nu(csb(Nu(csb(Nu(Hua(2)|0,431939,61)|0,c)|0,432091,1)|0,h)|0,432093,64)|0;d=Nu(bsb(d,f[i>>2]|0)|0,472536,1)|0;d=Nu(bsb(d,f[g>>2]|0)|0,486551,1)|0;Drb(j,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);i=utb(j,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(j);ksb(d,i)|0;Krb(d)|0;d=0}else d=0;break a}case 32832:{d=8;break a}case 32833:{d=12;break a}case 32834:{d=16;break a}case 32835:{d=8;break a}case 32836:{d=8;break a}case 32837:{d=16;break a}case 32838:{d=16;break a}case 32839:{d=24;break a}case 32840:{d=32;break a}case 32843:{d=8;break a}case 32844:{d=12;break a}case 32845:{d=16;break a}default:{b:do if((c|0)<32819){c:do if((c|0)<5125){switch(c|0){case 5123:case 5122:{d=43;break c}case 5124:{d=44;break c}case 5121:case 5120:break;default:break b}d=(lJa(a)|0)<<3;break a}else{if((c|0)<5131)switch(c|0){case 5126:case 5125:{d=44;break c}default:break b}if((c|0)<6656)switch(c|0){case 5131:{d=43;break c}default:break b}if((c|0)>=32818)switch(c|0){case 32818:{d=8;break a}default:break b}switch(c|0){case 6656:break;default:break b}d=lJa(a)|0;break a}while(0);if((d|0)==43){d=(lJa(a)|0)<<4;break a}else if((d|0)==44){d=(lJa(a)|0)<<5;break a}}else switch(c|0){case 33634:{d=8;break a}case 33638:case 32820:case 33637:case 32819:case 33636:case 33635:{d=16;break a}case 33640:case 32822:case 33639:case 32821:{d=32;break a}default:break b}while(0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){d=0;break a}d=csb(Nu(Hua(2)|0,432158,13)|0,c)|0;Drb(j,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);i=utb(j,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(j);ksb(d,i)|0;Krb(d)|0;d=0;break a}}while(0)}}while(0);u=k;return d|0}function jJa(a,b){a=a|0;b=b|0;var c=0,d=0;do switch(b|0){case 33779:case 33778:case 33777:case 33776:{b=4;c=4;d=4;break}case 37491:case 37490:case 37489:case 37488:case 37497:case 37496:case 37495:case 37494:case 37493:case 37492:case 36196:case 35842:case 35840:case 36285:case 36286:case 36283:case 36284:{b=1;c=4;d=4;break}case 35843:case 35841:{b=1;c=4;d=8;break}case 37808:{b=1;c=4;d=4;break}case 37809:{b=1;c=4;d=5;break}case 37810:{b=1;c=5;d=5;break}case 37811:{b=1;c=5;d=6;break}case 37812:{b=1;c=6;d=6;break}case 37813:{b=1;c=5;d=8;break}case 37814:{b=1;c=6;d=8;break}case 37815:{b=1;c=8;d=8;break}case 37816:{b=1;c=5;d=10;break}case 37817:{b=1;c=6;d=10;break}case 37818:{b=1;c=8;d=10;break}case 37819:{b=1;c=10;d=10;break}case 37820:{b=1;c=10;d=12;break}case 37821:{b=1;c=12;d=12;break}case 37840:{b=1;c=4;d=4;break}case 37841:{b=1;c=4;d=5;break}case 37842:{b=1;c=5;d=5;break}case 37843:{b=1;c=5;d=6;break}case 37844:{b=1;c=6;d=6;break}case 37845:{b=1;c=5;d=8;break}case 37846:{b=1;c=6;d=8;break}case 37847:{b=1;c=8;d=8;break}case 37848:{b=1;c=5;d=10;break}case 37849:{b=1;c=6;d=10;break}case 37850:{b=1;c=8;d=10;break}case 37851:{b=1;c=10;d=10;break}case 37852:{b=1;c=10;d=12;break}case 37853:{b=1;c=12;d=12;break}default:{b=1;c=1;d=1}}while(0);f[a>>2]=d;f[a+4>>2]=c;f[a+8>>2]=b;return}function kJa(a,b){a=a|0;b=b|0;switch(a|0){case 33777:case 33776:{b=b>>>0>8?b:8;break}case 36196:case 35842:case 35840:case 35843:case 35841:case 33779:case 33778:{b=b>>>0>16?b:16;break}case 36283:case 36284:{b=b>>>0>8?b:8;break}case 36285:case 36286:{b=b>>>0>16?b:16;break}case 37489:case 37488:case 37495:case 37494:case 37493:case 37492:{b=b>>>0>8?b:8;break}case 37491:case 37490:case 37497:case 37496:{b=b>>>0>16?b:16;break}case 37853:case 37852:case 37851:case 37850:case 37849:case 37848:case 37847:case 37846:case 37845:case 37844:case 37843:case 37842:case 37841:case 37840:case 37821:case 37820:case 37819:case 37818:case 37817:case 37816:case 37815:case 37814:case 37813:case 37812:case 37811:case 37810:case 37809:case 37808:{b=b>>>0>16?b:16;break}default:{}}return b|0}function lJa(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;a:do if((a|0)<36221){if((a|0)>=33777)do switch(a|0){case 35905:case 34550:case 34837:case 34843:case 36209:case 36215:case 36196:case 35841:case 35840:{a=3;break a}case 33777:{a=4;break a}case 33778:{a=4;break a}case 33779:{a=4;break a}case 35842:{a=4;break a}case 35843:{a=4;break a}case 36012:{a=1;break a}case 36216:{a=1;break a}case 36210:{a=1;break a}case 34844:{a=1;break a}case 34838:{a=1;break a}case 34842:{a=4;break a}case 34836:{a=4;break a}case 36218:{a=1;break a}case 36212:{a=1;break a}case 34846:{a=1;break a}case 34840:{a=1;break a}case 36217:{a=1;break a}case 36211:{a=1;break a}case 34845:{a=1;break a}case 34839:{a=1;break a}case 36219:{a=2;break a}case 36213:{a=2;break a}case 34847:{a=2;break a}case 34841:{a=2;break a}case 34548:{a=2;break a}case 34549:{a=2;break a}case 34551:{a=4;break a}case 35907:{a=4;break a}default:{d=128;break a}}while(0);if((a|0)>=32838)do switch(a|0){case 32992:case 33776:{a=3;break a}case 33189:{a=1;break a}case 33190:{a=1;break a}case 33191:{a=1;break a}case 33326:{a=1;break a}case 33319:{a=2;break a}case 33328:{a=2;break a}case 32993:{a=4;break a}case 32856:{a=4;break a}case 32838:{a=2;break a}case 32839:{a=2;break a}case 32840:{a=2;break a}case 32841:{a=1;break a}case 32842:{a=1;break a}case 32843:{a=1;break a}case 32844:{a=1;break a}case 32845:{a=1;break a}default:{d=128;break a}}while(0);if((a|0)<6409)switch(a|0){case 6407:{a=3;break a}case 6400:{a=1;break a}case 6401:{a=1;break a}case 6402:{a=1;break a}case 6403:{a=1;break a}case 6404:{a=1;break a}case 6405:{a=1;break a}case 6406:{a=1;break a}case 6408:{a=4;break a}default:{d=128;break a}}if((a|0)>=32833)switch(a|0){case 32833:{a=1;break a}case 32834:{a=1;break a}case 32835:{a=2;break a}case 32836:{a=2;break a}case 32837:{a=2;break a}default:{d=128;break a}}if((a|0)<32831)switch(a|0){case 6409:{a=1;break a}case 6410:{a=2;break a}default:{d=128;break a}}else switch(a|0){case 32831:{a=1;break a}case 32832:{a=1;break a}default:{d=128;break a}}}else do switch(a|0){case 36250:case 36248:case 36227:case 36233:case 36221:case 36239:case 37493:case 37492:{a=3;break a}case 36284:{a=1;break a}case 36283:{a=1;break a}case 36286:{a=2;break a}case 36285:{a=2;break a}case 37494:{a=4;break a}case 37495:{a=4;break a}case 37496:{a=4;break a}case 37497:{a=4;break a}case 37488:{a=1;break a}case 37489:{a=1;break a}case 37490:{a=2;break a}case 37491:{a=2;break a}case 36267:{a=1;break a}case 36240:{a=1;break a}case 36222:{a=1;break a}case 36234:{a=1;break a}case 36228:{a=1;break a}case 36242:{a=1;break a}case 36224:{a=1;break a}case 36236:{a=1;break a}case 36230:{a=1;break a}case 36223:{a=1;break a}case 36241:{a=1;break a}case 36235:{a=1;break a}case 36229:{a=1;break a}case 36243:{a=2;break a}case 36225:{a=2;break a}case 36237:{a=2;break a}case 36231:{a=2;break a}case 36244:{a=1;break a}case 36245:{a=1;break a}case 36246:{a=1;break a}case 36247:{a=1;break a}case 36249:{a=4;break a}case 36251:{a=4;break a}case 36252:{a=1;break a}case 36253:{a=2;break a}case 37808:{a=4;break a}case 37809:{a=4;break a}case 37810:{a=4;break a}case 37811:{a=4;break a}case 37812:{a=4;break a}case 37813:{a=4;break a}case 37814:{a=4;break a}case 37815:{a=4;break a}case 37816:{a=4;break a}case 37817:{a=4;break a}case 37818:{a=4;break a}case 37819:{a=4;break a}case 37820:{a=4;break a}case 37821:{a=4;break a}case 37840:{a=4;break a}case 37841:{a=4;break a}case 37842:{a=4;break a}case 37843:{a=4;break a}case 37844:{a=4;break a}case 37845:{a=4;break a}case 37846:{a=4;break a}case 37847:{a=4;break a}case 37848:{a=4;break a}case 37849:{a=4;break a}case 37850:{a=4;break a}case 37851:{a=4;break a}case 37852:{a=4;break a}case 37853:{a=4;break a}default:{d=128;break a}}while(0);while(0);if((d|0)==128){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){d=Nu(Hua(2)|0,432172,20)|0;g=d+(f[(f[d>>2]|0)+-12>>2]|0)+4|0;f[g>>2]=f[g>>2]&-75|8;a=csb(d,a)|0;d=(f[a>>2]|0)+-12|0;g=a+(f[d>>2]|0)+4|0;f[g>>2]=f[g>>2]&-75|2;Drb(c,a+(f[d>>2]|0)|0);d=utb(c,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(c);ksb(a,d)|0;Krb(a)|0;a=0}else a=0}u=e;return a|0}function mJa(a,b,c,d,e,g,h,i){a=a|0;b=b|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;l=u;u=u+16|0;j=l;if((a|0)<1|(b|0)<1|(c|0)<1){i=0;u=l;return i|0}k=kJa(d,0)|0;if((k|0)<=0){j=W(iJa(d,e)|0,a)|0;k=(g|0)==0?8:g<<3;a=(j|0)/(k|0)|0;b=h+-1+(W(W(g,b)|0,a+((j-(W(a,k)|0)|0)!=0&1)|0)|0)|0;c=i+-1+(W(b-((b>>>0)%(h>>>0)|0)|0,c)|0)|0;c=c-((c>>>0)%(i>>>0)|0)|0;i=kJa(d,g)|0;i=c>>>0>i>>>0?c:i;u=l;return i|0}jJa(j,d);d=f[j>>2]|0;j=f[j+4>>2]|0;d=W((a+-1+d|0)/(d|0)|0,k)|0;e=g+-1+d|0;if((g|0)>=2)d=e-((e|0)%(g|0)|0)|0;d=W(d,(b+-1+j|0)/(j|0)|0)|0;e=h+-1+d|0;if((h|0)>=2)d=e-((e|0)%(h|0)|0)|0;d=W(d,c)|0;e=i+-1+d|0;if((i|0)>=2)d=e-((e|0)%(i|0)|0)|0;i=d;u=l;return i|0}function nJa(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;n=u;u=u+16|0;k=n;c=f[(f[a+16>>2]|0)+832>>2]|0;l=a+36|0;m=a+40|0;d=(f[m>>2]|0)-(f[l>>2]|0)>>2;if(d>>>0>b>>>0){u=n;return}g=a+44|0;h=c+272|0;i=c+296|0;j=c+320|0;e=c+376|0;a=d;do{c=EBb(12)|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[k>>2]=c;d=f[m>>2]|0;if(d>>>0<(f[g>>2]|0)>>>0){f[d>>2]=c;f[m>>2]=(f[m>>2]|0)+4}else oJa(l,k);d=f[(f[l>>2]|0)+(a<<2)>>2]|0;pJa(d,a,7,f[h>>2]|0,1);pJa(d,a,27,f[i>>2]|0,2);pJa(d,a,28,f[j>>2]|0,3);pJa(d,a,29,f[e>>2]|0,4);a=a+1|0}while(a>>>0<=b>>>0);u=n;return}function oJa(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<c>>>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 pJa(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,k=0,l=0;k=a+4|0;g=f[k>>2]|0;i=f[a>>2]|0;j=g-i>>2;do if(j>>>0<=c>>>0){h=c+1|0;if(h>>>0>j>>>0){qJa(a,h-j|0);break}if(h>>>0<j>>>0){i=i+(h<<2)|0;if((i|0)!=(g|0))do{g=g+-4|0;h=f[g>>2]|0;if(h|0?(l=h+8|0,j=f[l>>2]|0,f[l>>2]=j-1,(j|0)==1):0)Rua(h,1,1);f[g>>2]=0}while((g|0)!=(i|0));f[k>>2]=i}}while(0);if(!d)i=0;else{i=EBb(28)|0;f[i+4>>2]=0;f[i+8>>2]=0;f[i>>2]=344692;f[i+12>>2]=d;f[i+16>>2]=b;f[i+20>>2]=e;f[i+24>>2]=0}g=(f[a>>2]|0)+(c<<2)|0;h=f[g>>2]|0;if((h|0)==(i|0))return;f[g>>2]=i;if(i|0){l=i+8|0;f[l>>2]=(f[l>>2]|0)+1}if(!h)return;c=h+8|0;l=f[c>>2]|0;f[c>>2]=l-1;if((l|0)!=1)return;Rua(h,1,1);return}function qJa(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>2>>>0>=b>>>0){_Db(d|0,0,b<<2|0)|0;f[n>>2]=c+(b<<2);return}j=f[a>>2]|0;h=d-j>>2;d=h+b|0;g=j;if(d>>>0>1073741823)DCb(a);l=e-j|0;e=l>>1;e=l>>2>>>0<536870911?(e>>>0<d>>>0?d: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{i=EBb(e<<2)|0;break}else i=0;while(0);d=i+(h<<2)|0;l=i+(e<<2)|0;_Db(d|0,0,b<<2|0)|0;k=d+(b<<2)|0;if((c|0)==(g|0))e=j;else{b=h+-1-((c+-4+(0-j)|0)>>>2)|0;while(1){c=c+-4|0;e=f[c>>2]|0;f[d+-4>>2]=e;if(e|0){j=e+8|0;f[j>>2]=(f[j>>2]|0)+1}if((c|0)==(g|0))break;else d=d+-4|0}e=f[a>>2]|0;d=i+(b<<2)|0;g=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=k;f[m>>2]=l;if((c|0)!=(g|0))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));if(!e)return;GBb(e);return}function rJa(a){a=a|0;Uua(a);GBb(a);return}function sJa(a,b){a=a|0;b=b|0;f[a+24>>2]=b;return}function tJa(a,b){a=a|0;b=b|0;b=(f[a+24>>2]|0)+((W(f[a+20>>2]|0,b)|0)<<2)|0;Bj[f[a+12>>2]&1023](f[a+16>>2]|0,b);return}function uJa(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;k=a+8|0;d=f[k>>2]|0;l=a+4|0;c=f[l>>2]|0;if(d-c>>2>>>0>=b>>>0){do{f[c>>2]=0;c=(f[l>>2]|0)+4|0;f[l>>2]=c;b=b+-1|0}while((b|0)!=0);return}j=f[a>>2]|0;g=c-j|0;h=g>>2;i=h+b|0;if(i>>>0>1073741823)DCb(a);d=d-j|0;e=d>>1;e=d>>2>>>0<536870911?(e>>>0<i>>>0?i:e):1073741823;do if(e)if(e>>>0>1073741823){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{d=EBb(e<<2)|0;c=d;break}else{c=0;d=0}while(0);_Db(c+(h<<2)|0,0,b<<2|0)|0;if((g|0)>0)YDb(d|0,j|0,g|0)|0;f[a>>2]=c;f[l>>2]=c+(i<<2);f[k>>2]=c+(e<<2);if(!j)return;GBb(j);return}function vJa(a,b){a=a|0;b=b|0;if(!b)return;else{vJa(a,f[b>>2]|0);vJa(a,f[b+4>>2]|0);GBb(b);return}}function wJa(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<c>>>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 xJa(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;t=u;u=u+16|0;s=t;aGa(a,c,d);f[a>>2]=344060;j=a+220|0;f[j>>2]=0;k=a+224|0;f[k>>2]=0;l=a+228|0;f[l>>2]=0;e=cj[f[(f[d>>2]|0)+40>>2]&1023](d,f[c+232>>2]|0)|0;f[a+232>>2]=e;if(e|0){r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}e=cj[f[(f[d>>2]|0)+40>>2]&1023](d,f[c+236>>2]|0)|0;f[a+236>>2]=e;if(e|0){r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}e=cj[f[(f[d>>2]|0)+40>>2]&1023](d,f[c+240>>2]|0)|0;f[a+240>>2]=e;if(e|0){r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}e=cj[f[(f[d>>2]|0)+40>>2]&1023](d,f[c+244>>2]|0)|0;f[a+244>>2]=e;if(e|0){r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}e=cj[f[(f[d>>2]|0)+40>>2]&1023](d,f[c+248>>2]|0)|0;f[a+248>>2]=e;if(e|0){r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}m=a+252|0;n=a+256|0;o=a+260|0;p=a+264|0;q=a+268|0;r=a+272|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;f[m+20>>2]=0;b[a+276>>0]=b[c+276>>0]|0;b[a+182>>0]=1;e=f[c+220>>2]|0;i=c+224|0;if((e|0)!=(f[i>>2]|0))do{g=cj[f[(f[d>>2]|0)+44>>2]&1023](d,f[e>>2]|0)|0;if(g|0){f[s>>2]=g;g=g+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[k>>2]|0;if(g>>>0<(f[l>>2]|0)>>>0){h=f[s>>2]|0;f[g>>2]=h;if(h){g=h+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[k>>2]|0}f[k>>2]=g+4}else pX(j,s);g=f[s>>2]|0;if(g|0?(v=g+8|0,h=f[v>>2]|0,f[v>>2]=h-1,(h|0)==1):0)Rua(g,1,1)}e=e+4|0}while((e|0)!=(f[i>>2]|0));e=f[c+252>>2]|0;i=c+256|0;if((e|0)!=(f[i>>2]|0))do{g=cj[f[(f[d>>2]|0)+40>>2]&1023](d,f[e>>2]|0)|0;f[s>>2]=g;if(g|0){v=g+8|0;f[v>>2]=(f[v>>2]|0)+1}g=f[n>>2]|0;if(g>>>0<(f[o>>2]|0)>>>0){h=f[s>>2]|0;f[g>>2]=h;if(h){g=h+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[n>>2]|0}f[n>>2]=g+4}else Sxa(m,s);g=f[s>>2]|0;if(g|0?(l=g+8|0,v=f[l>>2]|0,f[l>>2]=v-1,(v|0)==1):0)Rua(g,1,1);e=e+4|0}while((e|0)!=(f[i>>2]|0));e=f[c+264>>2]|0;i=c+268|0;if((e|0)!=(f[i>>2]|0))do{g=cj[f[(f[d>>2]|0)+40>>2]&1023](d,f[e>>2]|0)|0;f[s>>2]=g;if(g|0){v=g+8|0;f[v>>2]=(f[v>>2]|0)+1}g=f[q>>2]|0;if(g>>>0<(f[r>>2]|0)>>>0){h=f[s>>2]|0;f[g>>2]=h;if(h){g=h+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[q>>2]|0}f[q>>2]=g+4}else Sxa(p,s);g=f[s>>2]|0;if(g|0?(c=g+8|0,v=f[c>>2]|0,f[c>>2]=v-1,(v|0)==1):0)Rua(g,1,1);e=e+4|0}while((e|0)!=(f[i>>2]|0));if(!(f[d+4>>2]&384)){u=t;return}b[a+183>>0]=0;Bj[f[(f[a>>2]|0)+236>>2]&1023](a,1);u=t;return}function yJa(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 zJa(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 AJa(a){a=a|0;Uua(a);return}function BJa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=344720;d=a+12|0;e=f[d>>2]|0;if(!e){Uua(a);return}g=a+16|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);return}function CJa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=344720;d=a+12|0;e=f[d>>2]|0;if(!e){Uua(a);GBb(a);return}g=a+16|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);GBb(a);return}function DJa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=344740;MJa(a,0);NJa(a);b=a+116|0;c=f[b>>2]|0;if(c|0?(j=c+8|0,e=f[j>>2]|0,f[j>>2]=e-1,(e|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+112|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,j=f[e>>2]|0,f[e>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+108|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,j=f[e>>2]|0,f[e>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+104|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,j=f[e>>2]|0,f[e>>2]=j-1,(j|0)==1):0)Rua(d,1,1);f[b>>2]=0;e=a+92|0;b=a+100|0;if(f[b>>2]|0?(g=f[a+96>>2]|0,j=(f[e>>2]|0)+4|0,d=f[g>>2]|0,f[d+4>>2]=f[j>>2],f[f[j>>2]>>2]=d,f[b>>2]=0,(g|0)!=(e|0)):0){b=g;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(h=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=h+8|0,j=f[g>>2]|0,f[g>>2]=j-1,(j|0)==1):0)Rua(h,1,1);GBb(c)}while((b|0)!=(e|0))}b=a+88|0;c=f[b>>2]|0;if(c|0?(i=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,h=i+8|0,j=f[h>>2]|0,f[h>>2]=j-1,(j|0)==1):0)Rua(i,1,1);f[b>>2]=0;R3a(a+76|0);b=a+48|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+44|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;d=a+32|0;c=a+40|0;if(!(f[c>>2]|0)){Gva(a);return}b=f[a+36>>2]|0;j=(f[d>>2]|0)+4|0;i=f[b>>2]|0;f[i+4>>2]=f[j>>2];f[f[j>>2]>>2]=i;f[c>>2]=0;if((b|0)==(d|0)){Gva(a);return}do{j=b;b=f[b+4>>2]|0;GBb(j)}while((b|0)!=(d|0));Gva(a);return}function EJa(a){a=a|0;mi()}function FJa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,297048,0)|0)!=0;return b|0}function GJa(a){a=a|0;return 409756}function HJa(a){a=a|0;return 432869}function IJa(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,s=0,t=0,v=0;t=u;u=u+16|0;j=t;p=t+4|0;f[p>>2]=0;s=p+4|0;f[s>>2]=0;h=p+8|0;f[h>>2]=0;d=f[a+36>>2]|0;i=a+32|0;if((d|0)==(i|0)){c=0;d=0}else{c=d;e=0;g=0;while(1){c=c+8|0;if((e|0)==(g|0))Vv(p,c);else{f[e>>2]=f[c>>2];f[s>>2]=(f[s>>2]|0)+4}c=f[d+4>>2]|0;d=c;if((i|0)==(d|0))break;e=f[s>>2]|0;g=f[h>>2]|0}c=f[p>>2]|0;d=f[s>>2]|0}Uv(c,d,j);c=f[p>>2]|0;d=f[s>>2]|0;if((c|0)!=(d|0))do{e=f[(f[c>>2]|0)+628>>2]|0;if(e){Bj[f[(f[e>>2]|0)+16>>2]&1023](e,a);d=f[s>>2]|0}c=c+4|0}while((c|0)!=(d|0));c=f[a+96>>2]|0;h=a+92|0;d=c;if((h|0)!=(d|0)){i=a+76|0;j=a+104|0;k=a+100|0;l=a+88|0;g=c;do{_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;c=f[j>>2]|0;e=f[g+8>>2]|0;if((c|0)!=(e|0)){f[j>>2]=e;if(e|0){e=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1}if(c|0?(q=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,c=q+8|0,e=f[c>>2]|0,f[c>>2]=e-1,(e|0)==1):0)Rua(q,1,1)}c=d+4|0;e=g;g=f[c>>2]|0;if(!(b[(f[j>>2]|0)+16>>0]|0)){v=f[d>>2]|0;f[v+4>>2]=g;f[f[c>>2]>>2]=v;f[k>>2]=(f[k>>2]|0)+-1;c=f[d+8>>2]|0;if(c|0?(r=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,d=r+8|0,v=f[d>>2]|0,f[d>>2]=v-1,(v|0)==1):0)Rua(r,1,1);GBb(e);if((f[k>>2]|0)==0?(n=f[l>>2]|0,m=n+4|0,n=n+24|0,b[n>>0]|0):0){_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;b[n>>0]=0;_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0}}_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;c=f[j>>2]|0;if(c|0){Bj[f[(f[c>>2]|0)+4>>2]&1023](c,a);_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;c=f[j>>2]|0;if(c|0?(f[j>>2]=0,o=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=o+8|0,v=f[e>>2]|0,f[e>>2]=v-1,(v|0)==1):0)Rua(o,1,1);_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0}d=g}while((h|0)!=(d|0))}c=f[p>>2]|0;if(!c){u=t;return}f[s>>2]=c;GBb(c);u=t;return}function JJa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;c=g;if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,c|0)|0;e=f[c>>2]|0;e=LDb(e|0,((e|0)<0)<<31>>31|0,1e6,0)|0;d=H;h=f[c+4>>2]|0;h=QDb(h|0,((h|0)<0)<<31>>31|0,1e3,0)|0;d=MDb(h|0,H|0,e|0,d|0)|0;e=497264;f[e>>2]=d;f[e+4>>2]=H}Nb(1,c|0)|0;e=f[c>>2]|0;e=LDb(e|0,((e|0)<0)<<31>>31|0,1e6,0)|0;h=H;c=f[c+4>>2]|0;c=QDb(c|0,((c|0)<0)<<31>>31|0,1e3,0)|0;h=MDb(c|0,H|0,e|0,h|0)|0;c=a+120|0;f[c>>2]=h;f[c+4>>2]=H;c=a+68|0;if(!(f[c>>2]|0)){u=g;return}d=a+44|0;e=f[d>>2]|0;if(!e){u=g;return}ai(0,0,f[e+40>>2]|0,f[e+44>>2]|0);h=f[d>>2]|0;Rh(0,0,f[h+40>>2]|0,f[h+44>>2]|0);xh(+(+n[a+52>>2]),+(+n[a+56>>2]),+(+n[a+60>>2]),+(+n[a+64>>2]));wh(f[c>>2]|0);u=g;return}function KJa(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,k=0.0,l=0.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.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,Gb=0,Hb=0.0,Ib=0.0,Jb=0.0,Kb=0,Lb=0,Mb=0,Nb=0.0,Ob=0.0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0;Yb=u;u=u+272|0;Sb=Yb+128|0;Xb=Yb+256|0;Tb=Yb;Ub=Xb+4|0;f[Ub>>2]=0;Vb=Xb+8|0;f[Vb>>2]=0;Wb=Xb+4|0;f[Xb>>2]=Wb;Gb=a+44|0;g=f[Gb>>2]|0;if(!g){e=0;LJa(Xb,e);u=Yb;return}Hb=+(d|0);h=g+40|0;Ib=Hb/+(f[h>>2]|0);Jb=+(e|0);i=g+44|0;Nb=Jb/+(f[i>>2]|0);Ob=Ib/Nb;j=f[a+36>>2]|0;Fb=a+32|0;a=j;if((Fb|0)==(a|0))a=0;else{oa=Ob!=1.0;pa=1.0/Ob;qa=Sb+8|0;ra=Sb+16|0;sa=Sb+24|0;ta=Sb+32|0;ua=Sb+40|0;va=Sb+48|0;wa=Sb+56|0;xa=Sb+64|0;ya=Sb+72|0;za=Sb+80|0;Aa=Sb+88|0;Ba=Sb+96|0;Ca=Sb+104|0;Da=Sb+112|0;Ea=Sb+120|0;Fa=Sb+8|0;Ga=Sb+16|0;Ha=Sb+24|0;Ia=Sb+32|0;Ja=Sb+40|0;Ka=Sb+48|0;La=Sb+56|0;Ma=Sb+64|0;Na=Sb+72|0;Oa=Sb+80|0;Pa=Sb+88|0;Qa=Sb+96|0;Ra=Sb+104|0;Sa=Sb+112|0;Ta=Sb+120|0;Ua=Sb+8|0;Va=Sb+16|0;Wa=Sb+24|0;Xa=Sb+32|0;Ya=Sb+40|0;Za=Sb+48|0;_a=Sb+56|0;$a=Sb+64|0;ab=Sb+72|0;bb=Sb+80|0;cb=Sb+88|0;db=Sb+96|0;eb=Sb+104|0;fb=Sb+112|0;gb=Sb+120|0;hb=Sb+8|0;ib=Sb+16|0;jb=Sb+24|0;kb=Sb+32|0;lb=Sb+40|0;mb=Sb+48|0;nb=Sb+56|0;ob=Sb+64|0;pb=Sb+72|0;qb=Sb+80|0;rb=Sb+88|0;sb=Sb+96|0;tb=Sb+104|0;ub=Sb+112|0;vb=Sb+120|0;wb=Sb+8|0;xb=Sb+16|0;yb=Sb+24|0;zb=Sb+32|0;Ab=Sb+40|0;Bb=Sb+48|0;Cb=Sb+56|0;Db=Sb+64|0;Eb=Sb+72|0;q=Sb+80|0;r=Sb+88|0;s=Sb+96|0;t=Sb+104|0;v=Sb+112|0;w=Sb+120|0;x=Sb+8|0;y=Sb+16|0;z=Sb+24|0;A=Sb+32|0;B=Sb+40|0;C=Sb+48|0;D=Sb+56|0;E=Sb+64|0;F=Sb+72|0;G=Sb+80|0;H=Sb+88|0;I=Sb+96|0;J=Sb+104|0;K=Sb+112|0;L=Sb+120|0;M=Sb+8|0;N=Sb+16|0;O=Sb+24|0;P=Sb+32|0;Q=Sb+40|0;R=Sb+48|0;S=Sb+56|0;T=Sb+64|0;U=Sb+72|0;V=Sb+80|0;W=Sb+88|0;X=Sb+96|0;Y=Sb+104|0;Z=Sb+112|0;_=Sb+120|0;$=Sb+8|0;aa=Sb+16|0;ba=Sb+24|0;ca=Sb+32|0;da=Sb+40|0;ea=Sb+48|0;fa=Sb+56|0;ga=Sb+64|0;ha=Sb+72|0;ia=Sb+80|0;ja=Sb+88|0;ka=Sb+96|0;la=Sb+104|0;ma=Sb+112|0;na=Sb+120|0;g=j;o=a;do{n=f[g+8>>2]|0;a:do if(f[n+576>>2]|0){m=f[n+288>>2]|0;j=m;b:do if(m|0){i=f[Wb>>2]|0;do if(i){g=i;do{a=f[g+16>>2]|0;if(m>>>0>=a>>>0){if(a>>>0>=m>>>0)break b;g=g+4|0}g=f[g>>2]|0}while((g|0)!=0);h=Ub;g=i;while(1){a=f[g+16>>2]|0;if(m>>>0<a>>>0){a=f[g>>2]|0;if(!a){a=18;break}else{h=g;g=a}}else{if(a>>>0>=m>>>0){a=22;break}h=g+4|0;a=f[h>>2]|0;if(!a){a=21;break}else g=a}}if((a|0)==18){i=g;h=g;break}else if((a|0)==21){i=g;break}else if((a|0)==22){i=g;break}}else{i=Wb;h=Wb}while(0);if(!(f[h>>2]|0)){g=EBb(20)|0;f[g+16>>2]=j;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=i;f[h>>2]=g;a=f[f[Xb>>2]>>2]|0;if(a){f[Xb>>2]=a;g=f[h>>2]|0}Xo(f[Ub>>2]|0,g);f[Vb>>2]=(f[Vb>>2]|0)+1}g=m+56|0;k=+p[g>>3];a=m+64|0;l=+p[a>>3];if((k==0.0&l==0.0?(Kb=m+72|0,Lb=f[Gb>>2]|0,+p[Kb>>3]>=+(f[Lb+40>>2]|0)):0)?(Mb=m+80|0,+p[Mb>>3]>=+(f[Lb+44>>2]|0)):0){f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;p[Kb>>3]=Hb;p[Mb>>3]=Jb;break}p[g>>3]=Ib*k;p[a>>3]=Nb*l;j=m+72|0;p[j>>3]=Ib*+p[j>>3];m=m+80|0;p[m>>3]=Nb*+p[m>>3]}while(0);if(oa){j=f[n+220>>2]|0;m=(j|0)!=0;c:do if(m){g=f[j+16>>2]|0;i=f[j+20>>2]|0;a=(f[j+24>>2]|0)-i|0;h=(a|0)/272|0;if((g|0)!=(n|0)){d:do if(!a)a=0;else{a=0;while(1){if((f[i+(a*272|0)+4>>2]|0)==(n|0))break d;a=a+1|0;if(a>>>0>=h>>>0)break c}}while(0);if(!(a>>>0>=h>>>0|(i+(a*272|0)|0)==0))if(!(f[n+136>>2]|0))switch(f[g+296>>2]|0){case 1:{f3a(Tb);g3a(Tb,pa,1.0,1.0);g=i+(a*272|0)+8|0;if((g|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[wb>>3]=+p[i+(a*272|0)+16>>3];p[xb>>3]=+p[i+(a*272|0)+24>>3];p[yb>>3]=+p[i+(a*272|0)+32>>3];p[zb>>3]=+p[i+(a*272|0)+40>>3];p[Ab>>3]=+p[i+(a*272|0)+48>>3];p[Bb>>3]=+p[i+(a*272|0)+56>>3];p[Cb>>3]=+p[i+(a*272|0)+64>>3];p[Db>>3]=+p[i+(a*272|0)+72>>3];p[Eb>>3]=+p[i+(a*272|0)+80>>3];p[q>>3]=+p[i+(a*272|0)+88>>3];p[r>>3]=+p[i+(a*272|0)+96>>3];p[s>>3]=+p[i+(a*272|0)+104>>3];p[t>>3]=+p[i+(a*272|0)+112>>3];p[v>>3]=+p[i+(a*272|0)+120>>3];p[w>>3]=+p[i+(a*272|0)+128>>3];m3a(Tb,Sb)}else m3a(g,Tb);break a}case 2:{f3a(Tb);g3a(Tb,1.0,Ob,1.0);g=i+(a*272|0)+8|0;if((g|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[x>>3]=+p[i+(a*272|0)+16>>3];p[y>>3]=+p[i+(a*272|0)+24>>3];p[z>>3]=+p[i+(a*272|0)+32>>3];p[A>>3]=+p[i+(a*272|0)+40>>3];p[B>>3]=+p[i+(a*272|0)+48>>3];p[C>>3]=+p[i+(a*272|0)+56>>3];p[D>>3]=+p[i+(a*272|0)+64>>3];p[E>>3]=+p[i+(a*272|0)+72>>3];p[F>>3]=+p[i+(a*272|0)+80>>3];p[G>>3]=+p[i+(a*272|0)+88>>3];p[H>>3]=+p[i+(a*272|0)+96>>3];p[I>>3]=+p[i+(a*272|0)+104>>3];p[J>>3]=+p[i+(a*272|0)+112>>3];p[K>>3]=+p[i+(a*272|0)+120>>3];p[L>>3]=+p[i+(a*272|0)+128>>3];m3a(Tb,Sb)}else m3a(g,Tb);break a}default:break a}else switch(f[n+296>>2]|0){case 1:{f3a(Tb);g3a(Tb,pa,1.0,1.0);g=n+304|0;if((g|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[M>>3]=+p[n+312>>3];p[N>>3]=+p[n+320>>3];p[O>>3]=+p[n+328>>3];p[P>>3]=+p[n+336>>3];p[Q>>3]=+p[n+344>>3];p[R>>3]=+p[n+352>>3];p[S>>3]=+p[n+360>>3];p[T>>3]=+p[n+368>>3];p[U>>3]=+p[n+376>>3];p[V>>3]=+p[n+384>>3];p[W>>3]=+p[n+392>>3];p[X>>3]=+p[n+400>>3];p[Y>>3]=+p[n+408>>3];p[Z>>3]=+p[n+416>>3];p[_>>3]=+p[n+424>>3];m3a(Tb,Sb)}else m3a(g,Tb);break a}case 2:{f3a(Tb);g3a(Tb,1.0,Ob,1.0);g=n+304|0;if((g|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[$>>3]=+p[n+312>>3];p[aa>>3]=+p[n+320>>3];p[ba>>3]=+p[n+328>>3];p[ca>>3]=+p[n+336>>3];p[da>>3]=+p[n+344>>3];p[ea>>3]=+p[n+352>>3];p[fa>>3]=+p[n+360>>3];p[ga>>3]=+p[n+368>>3];p[ha>>3]=+p[n+376>>3];p[ia>>3]=+p[n+384>>3];p[ja>>3]=+p[n+392>>3];p[ka>>3]=+p[n+400>>3];p[la>>3]=+p[n+408>>3];p[ma>>3]=+p[n+416>>3];p[na>>3]=+p[n+424>>3];m3a(Tb,Sb)}else m3a(g,Tb);break a}default:break a}}}else g=n;while(0);i=f[g+296>>2]|0;switch(i|0){case 1:{f3a(Tb);g3a(Tb,pa,1.0,1.0);g=n+304|0;if((g|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[Ua>>3]=+p[n+312>>3];p[Va>>3]=+p[n+320>>3];p[Wa>>3]=+p[n+328>>3];p[Xa>>3]=+p[n+336>>3];p[Ya>>3]=+p[n+344>>3];p[Za>>3]=+p[n+352>>3];p[_a>>3]=+p[n+360>>3];p[$a>>3]=+p[n+368>>3];p[ab>>3]=+p[n+376>>3];p[bb>>3]=+p[n+384>>3];p[cb>>3]=+p[n+392>>3];p[db>>3]=+p[n+400>>3];p[eb>>3]=+p[n+408>>3];p[fb>>3]=+p[n+416>>3];p[gb>>3]=+p[n+424>>3];m3a(Tb,Sb)}else m3a(g,Tb);break}case 2:{f3a(Tb);g3a(Tb,1.0,Ob,1.0);g=n+304|0;if((g|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[hb>>3]=+p[n+312>>3];p[ib>>3]=+p[n+320>>3];p[jb>>3]=+p[n+328>>3];p[kb>>3]=+p[n+336>>3];p[lb>>3]=+p[n+344>>3];p[mb>>3]=+p[n+352>>3];p[nb>>3]=+p[n+360>>3];p[ob>>3]=+p[n+368>>3];p[pb>>3]=+p[n+376>>3];p[qb>>3]=+p[n+384>>3];p[rb>>3]=+p[n+392>>3];p[sb>>3]=+p[n+400>>3];p[tb>>3]=+p[n+408>>3];p[ub>>3]=+p[n+416>>3];p[vb>>3]=+p[n+424>>3];m3a(Tb,Sb)}else m3a(g,Tb);break}default:{}}if((m?(n|0)==(f[j+16>>2]|0):0)?(Pb=j+20|0,Qb=j+24|0,Rb=f[Pb>>2]|0,(f[Qb>>2]|0)!=(Rb|0)):0){h=0;g=Rb;do{n=f[g+(h*272|0)+4>>2]|0;e:do if(n|0?(f[n+136>>2]|0)==0:0)switch(i|0){case 1:{f3a(Tb);g3a(Tb,Ob,1.0,1.0);a=g+(h*272|0)+8|0;if((a|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[qa>>3]=+p[g+(h*272|0)+16>>3];p[ra>>3]=+p[g+(h*272|0)+24>>3];p[sa>>3]=+p[g+(h*272|0)+32>>3];p[ta>>3]=+p[g+(h*272|0)+40>>3];p[ua>>3]=+p[g+(h*272|0)+48>>3];p[va>>3]=+p[g+(h*272|0)+56>>3];p[wa>>3]=+p[g+(h*272|0)+64>>3];p[xa>>3]=+p[g+(h*272|0)+72>>3];p[ya>>3]=+p[g+(h*272|0)+80>>3];p[za>>3]=+p[g+(h*272|0)+88>>3];p[Aa>>3]=+p[g+(h*272|0)+96>>3];p[Ba>>3]=+p[g+(h*272|0)+104>>3];p[Ca>>3]=+p[g+(h*272|0)+112>>3];p[Da>>3]=+p[g+(h*272|0)+120>>3];p[Ea>>3]=+p[g+(h*272|0)+128>>3];m3a(Tb,Sb)}else m3a(a,Tb);break e}case 2:{f3a(Tb);g3a(Tb,1.0,pa,1.0);a=g+(h*272|0)+8|0;if((a|0)==(Tb|0)){p[Sb>>3]=+p[Tb>>3];p[Fa>>3]=+p[g+(h*272|0)+16>>3];p[Ga>>3]=+p[g+(h*272|0)+24>>3];p[Ha>>3]=+p[g+(h*272|0)+32>>3];p[Ia>>3]=+p[g+(h*272|0)+40>>3];p[Ja>>3]=+p[g+(h*272|0)+48>>3];p[Ka>>3]=+p[g+(h*272|0)+56>>3];p[La>>3]=+p[g+(h*272|0)+64>>3];p[Ma>>3]=+p[g+(h*272|0)+72>>3];p[Na>>3]=+p[g+(h*272|0)+80>>3];p[Oa>>3]=+p[g+(h*272|0)+88>>3];p[Pa>>3]=+p[g+(h*272|0)+96>>3];p[Qa>>3]=+p[g+(h*272|0)+104>>3];p[Ra>>3]=+p[g+(h*272|0)+112>>3];p[Sa>>3]=+p[g+(h*272|0)+120>>3];p[Ta>>3]=+p[g+(h*272|0)+128>>3];m3a(Tb,Sb)}else m3a(a,Tb);break e}default:break e}while(0);h=h+1|0;g=f[Pb>>2]|0}while(h>>>0<(((f[Qb>>2]|0)-g|0)/272|0)>>>0)}}}while(0);g=f[o+4>>2]|0;o=g}while((Fb|0)!=(o|0));g=f[Gb>>2]|0;i=g+44|0;h=g+40|0;a=f[Wb>>2]|0}f[g+32>>2]=b;f[g+36>>2]=c;f[h>>2]=d;f[i>>2]=e;e=a;LJa(Xb,e);u=Yb;return}function LJa(a,b){a=a|0;b=b|0;if(!b)return;else{LJa(a,f[b>>2]|0);LJa(a,f[b+4>>2]|0);GBb(b);return}}function MJa(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;k=u;u=u+16|0;i=k;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){j=jsb(Nu(_rb(Nu(Hua(4)|0,432925,6)|0,c)|0,409404,1)|0,a)|0;Drb(i,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);h=utb(i,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(i);ksb(j,h)|0;Krb(j)|0}XJa(a,0);j=a+48|0;d=f[j>>2]|0;if(d){g=f[d+124>>2]|0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;d=f[124931]|0;if(d){e=499724;do{h=(f[d+16>>2]|0)>>>0<g>>>0;e=h?e:d;d=f[(h?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=499724?(f[e+16>>2]|0)>>>0<=g>>>0:0)d=f[e+20>>2]|0;else d=0}else d=0;_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;if(d)h=(f[d+28>>2]|0)>>>0>1;else h=0}else h=0;d=f[a+36>>2]|0;g=a+32|0;e=d;if((g|0)!=(e|0))do{d=f[d+8>>2]|0;if(d|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){l=Nu(jsb(Nu(Hua(4)|0,432932,32)|0,d)|0,432965,8)|0;l=jsb(l,f[j>>2]|0)|0;Drb(i,l+(f[(f[l>>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(l,m)|0;Krb(l)|0}Bj[f[(f[d>>2]|0)+160>>2]&1023](d,f[j>>2]|0)}d=f[e+4>>2]|0;e=d}while((g|0)!=(e|0));d=f[j>>2]|0;if(d|0)YJa(d);if(c){do if(f[j>>2]|0?_i[f[(f[a>>2]|0)+180>>2]&2047](a)|0:0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(_rb(Nu(Hua(4)|0,432974,28)|0,h)|0,433003,24)|0;m=csb(m,f[(f[j>>2]|0)+124>>2]|0)|0;Drb(i,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(m,l)|0;Krb(m)|0}m=e4a()|0;c=a+72|0;f[c>>2]=m;if(!(_i[f[(f[a>>2]|0)+188>>2]&2047](a)|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3)break;m=Nu(Hua(4)|0,433081,75)|0;Drb(i,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(m,l)|0;Krb(m)|0;break}m=f[j>>2]|0;tj[f[(f[m>>2]|0)+12>>2]&2047](m);do if(h){g=f[(f[j>>2]|0)+124>>2]|0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;d=f[124931]|0;if(d){e=499724;do{m=(f[d+16>>2]|0)>>>0<g>>>0;e=m?e:d;d=f[(m?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=499724?(f[e+16>>2]|0)>>>0<=g>>>0:0){e=f[e+20>>2]|0;d=e}else{d=0;e=0}}else{d=0;e=0}_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;tj[f[(f[d>>2]|0)+32>>2]&2047](e)}else{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,433028,26)|0;Drb(i,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(m,l)|0;Krb(m)|0}g=f[(f[j>>2]|0)+124>>2]|0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;d=f[124931]|0;do if(d){e=499724;do{m=(f[d+16>>2]|0)>>>0<g>>>0;e=m?e:d;d=f[(m?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=499724){if((f[e+16>>2]|0)>>>0>g>>>0){d=0;e=0;break}e=f[e+20>>2]|0;d=e}else{d=0;e=0}}else{d=0;e=0}while(0);_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;tj[f[(f[d>>2]|0)+36>>2]&2047](e);g=f[(f[j>>2]|0)+124>>2]|0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;d=f[124931]|0;do if(!d){d=0;e=0}else{e=499724;do{m=(f[d+16>>2]|0)>>>0<g>>>0;e=m?e:d;d=f[(m?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)==499724){d=0;e=0;break}if((f[e+16>>2]|0)>>>0>g>>>0){d=0;e=0;break}e=f[e+20>>2]|0;d=e}while(0);_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;tj[f[(f[d>>2]|0)+32>>2]&2047](e);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;m=Nu(Hua(4)|0,433055,25)|0;Drb(i,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(m,l)|0;Krb(m)|0}while(0);_i[f[(f[a>>2]|0)+196>>2]&2047](a)|0;f[c>>2]=-1}while(0);tj[f[(f[a>>2]|0)+184>>2]&2047](a)}if(!h){if(!(f[j>>2]|0)){u=k;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,433157,40)|0;Drb(i,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(m,l)|0;Krb(m)|0}g=f[(f[j>>2]|0)+124>>2]|0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;d=f[124931]|0;if(d){e=499724;do{m=(f[d+16>>2]|0)>>>0<g>>>0;e=m?e:d;d=f[(m?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=499724?(f[e+16>>2]|0)>>>0<=g>>>0:0){e=f[e+20>>2]|0;d=e}else{d=0;e=0}}else{d=0;e=0}_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;tj[f[(f[d>>2]|0)+40>>2]&2047](e)}d=f[j>>2]|0;if(!d){u=k;return}ZJa(f[d+124>>2]|0);d=f[j>>2]|0;if(!d){u=k;return}f[j>>2]=0;l=d+8|0;m=f[l>>2]|0;f[l>>2]=m-1;if((m|0)!=1){u=k;return}Rua(d,1,1);u=k;return}function NJa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;c=i;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){e=jsb(Nu(Hua(4)|0,432885,39)|0,a)|0;Drb(c,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);d=utb(c,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(c);ksb(e,d)|0;Krb(e)|0}if(!a){u=i;return}_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;c=f[124942]|0;d=f[124943]|0;e=d;a:do if((c|0)==(d|0)){h=c;g=11}else do{if((f[c>>2]|0)==(a|0)){h=c;g=11;break a}c=c+4|0}while((c|0)!=(d|0));while(0);if((g|0)==11?(h|0)!=(d|0):0){d=h+4|0;c=e-d|0;if(c|0)ZDb(h|0,d|0,c|0)|0;f[124943]=h+(c>>2<<2)}_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;u=i;return}function OJa(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 PJa(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 QJa(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 RJa(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 SJa(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;g=f[c>>2]|0;f[g+4>>2]=f[d>>2];f[f[d>>2]>>2]=g;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?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);GBb(b)}while((c|0)!=(a|0));return}function TJa(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 UJa(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 VJa(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 WJa(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+8|0;if(!(f[c>>2]|0))return;b=f[a+4>>2]|0;d=(f[a>>2]|0)+4|0;e=f[b>>2]|0;f[e+4>>2]=f[d>>2];f[f[d>>2]>>2]=e;f[c>>2]=0;if((b|0)==(a|0))return;do{e=b;b=f[b+4>>2]|0;GBb(e)}while((b|0)!=(a|0));return}function XJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;g=a+108|0;c=f[g>>2]|0;if((c|0)==(b|0))return;if(!c)c=0;else{_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;e=f[g>>2]|0;c=e+20|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,h=d+8|0,c=f[h>>2]|0,f[h>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[e+24>>2]=0;c=f[g>>2]|0}if((c|0)!=(b|0)){f[g>>2]=b;if(b|0){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}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)}b=f[g>>2]|0;if(!b)return;c=cCa(a)|0;d=b+20|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}if(e|0?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);c=f[d>>2]|0}if(!c)c=0;else c=(f[c+24>>2]|0)==0?0:a;f[b+24>>2]=c;return}function YJa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;b=f[a+148>>2]|0;Bj[f[(f[b>>2]|0)+160>>2]&1023](b,a);b=f[a+712>>2]|0;c=a+716|0;if((b|0)!=(f[c>>2]|0))do{i=f[b>>2]|0;Bj[f[(f[i>>2]|0)+160>>2]&1023](i,a);b=b+4|0}while((b|0)!=(f[c>>2]|0));d=a+620|0;c=a+624|0;QK(d,f[c>>2]|0);f[a+628>>2]=0;f[d>>2]=c;f[c>>2]=0;c=f[a+684>>2]|0;d=a+688|0;b=f[d>>2]|0;if((b|0)!=(c|0))do{i=b;b=b+-12|0;QK(b,f[i+-8>>2]|0)}while((b|0)!=(c|0));f[d>>2]=c;e=a+632|0;b=f[e>>2]|0;g=a+636|0;if((b|0)!=(g|0)){d=b;while(1){b=f[d+36>>2]|0;if(b|0)Bj[f[(f[b>>2]|0)+160>>2]&1023](b,a);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{i=f[c>>2]|0;c=i+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(i|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(g|0))break;else d=b}}HI(e,f[g>>2]|0);f[a+640>>2]=0;f[e>>2]=g;f[g>>2]=0;h=a+696|0;c=f[h>>2]|0;i=a+700|0;if((c|0)==(f[i>>2]|0)){a=c;f[i>>2]=a;return}do{b=f[c>>2]|0;g=c+4|0;if((b|0)!=(g|0)){e=b;while(1){b=f[e+36>>2]|0;if(b|0)Bj[f[(f[b>>2]|0)+160>>2]&1023](b,a);b=f[e+4>>2]|0;if(!b){d=e+8|0;b=f[d>>2]|0;if((f[b>>2]|0)!=(e|0))do{e=f[d>>2]|0;d=e+8|0;b=f[d>>2]|0}while((f[b>>2]|0)!=(e|0))}else while(1){d=f[b>>2]|0;if(!d)break;else b=d}if((b|0)==(g|0))break;else e=b}}c=c+12|0}while((c|0)!=(f[i>>2]|0));b=f[h>>2]|0;if((c|0)==(b|0)){a=b;f[i>>2]=a;return}do{a=c;c=c+-12|0;HI(c,f[a+-8>>2]|0)}while((c|0)!=(b|0));f[i>>2]=b;return}function ZJa(a){a=a|0;var b=0,c=0,d=0,e=0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;b=f[124931]|0;do if(b){d=499724;while(1){c=f[b+16>>2]|0;if(c>>>0>a>>>0){c=f[b>>2]|0;if(!c){e=5;break}}else{if(c>>>0>=a>>>0){e=9;break}d=b+4|0;c=f[d>>2]|0;if(!c){e=8;break}else b=d}d=b;b=c}if((e|0)==5){c=b;d=b;break}else if((e|0)==8){c=b;break}else if((e|0)==9){c=b;break}}else{c=499724;d=499724}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=a;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=c;f[d>>2]=b;c=f[f[124930]>>2]|0;if(!c)c=b;else{f[124930]=c;c=f[d>>2]|0}Xo(f[124931]|0,c);f[124932]=(f[124932]|0)+1}if(!(f[b+20>>2]|0)){a=f[124939]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](499756)|0;return}b=f[124931]|0;do if(b){d=499724;while(1){c=f[b+16>>2]|0;if(c>>>0>a>>>0){c=f[b>>2]|0;if(!c){e=20;break}}else{if(c>>>0>=a>>>0){e=24;break}d=b+4|0;c=f[d>>2]|0;if(!c){e=23;break}else b=d}d=b;b=c}if((e|0)==20){c=b;d=b;break}else if((e|0)==23){c=b;break}else if((e|0)==24){c=b;break}}else{c=499724;d=499724}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=a;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=c;f[d>>2]=b;c=f[f[124930]>>2]|0;if(!c)c=b;else{f[124930]=c;c=f[d>>2]|0}Xo(f[124931]|0,c);f[124932]=(f[124932]|0)+1}if(f[(f[b+20>>2]|0)+28>>2]|0){b=f[124931]|0;do if(b){d=499724;while(1){c=f[b+16>>2]|0;if(c>>>0>a>>>0){c=f[b>>2]|0;if(!c){e=35;break}}else{if(c>>>0>=a>>>0){e=39;break}d=b+4|0;c=f[d>>2]|0;if(!c){e=38;break}else b=d}d=b;b=c}if((e|0)==35){c=b;d=b;break}else if((e|0)==38){c=b;break}else if((e|0)==39){c=b;break}}else{c=499724;d=499724}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=a;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=c;f[d>>2]=b;c=f[f[124930]>>2]|0;if(!c)c=b;else{f[124930]=c;c=f[d>>2]|0}Xo(f[124931]|0,c);f[124932]=(f[124932]|0)+1}e=(f[b+20>>2]|0)+28|0;f[e>>2]=(f[e>>2]|0)+-1}b=f[124931]|0;do if(b){d=499724;while(1){c=f[b+16>>2]|0;if(c>>>0>a>>>0){c=f[b>>2]|0;if(!c){e=50;break}}else{if(c>>>0>=a>>>0){e=54;break}d=b+4|0;c=f[d>>2]|0;if(!c){e=53;break}else b=d}d=b;b=c}if((e|0)==50){c=b;d=b;break}else if((e|0)==53){c=b;break}else if((e|0)==54){c=b;break}}else{c=499724;d=499724}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=a;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=c;f[d>>2]=b;c=f[f[124930]>>2]|0;if(!c)c=b;else{f[124930]=c;c=f[d>>2]|0}Xo(f[124931]|0,c);f[124932]=(f[124932]|0)+1}if(f[(f[b+20>>2]|0)+28>>2]|0){a=f[124939]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](499756)|0;return}b=f[124931]|0;do if(b){d=499724;while(1){c=f[b+16>>2]|0;if(c>>>0>a>>>0){c=f[b>>2]|0;if(!c){e=65;break}}else{if(c>>>0>=a>>>0){e=69;break}d=b+4|0;c=f[d>>2]|0;if(!c){e=68;break}else b=d}d=b;b=c}if((e|0)==65){c=b;d=b;break}else if((e|0)==68){c=b;break}else if((e|0)==69){c=b;break}}else{c=499724;d=499724}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=a;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=c;f[d>>2]=b;c=f[f[124930]>>2]|0;if(!c)c=b;else{f[124930]=c;c=f[d>>2]|0}Xo(f[124931]|0,c);f[124932]=(f[124932]|0)+1}b=b+20|0;c=f[b>>2]|0;if(!c){a=f[124939]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](499756)|0;return}f[b>>2]=0;e=c+8|0;a=f[e>>2]|0;f[e>>2]=a-1;if((a|0)!=1){a=f[124939]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](499756)|0;return}Rua(c,1,1);a=f[124939]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](499756)|0;return}function _Ja(a){a=a|0;Uua(a);GBb(a);return}function $Ja(a,b){a=a|0;b=b|0;var c=0,d=0;tj[f[(f[b>>2]|0)+204>>2]&2047](b);d=f[(f[b+48>>2]|0)+832>>2]|0;c=f[d+1436>>2]|0;if(!c)return;b=a+12|0;a=f[b>>2]|0;if(a|0){ej[c&63](a,0,1e9,0)|0;tj[f[d+1432>>2]&2047](f[b>>2]|0)}d=cj[f[d+1424>>2]&1023](37143,0)|0;f[b>>2]=d;return}function aKa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=344984;b=a+20|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;b=a+16|0;c=f[b>>2]|0;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[b>>2]=0;b=a+12|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Uua(a);return}d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[b>>2]=0;Uua(a);return}Rua(c,1,1);f[b>>2]=0;Uua(a);return}function bKa(a){a=a|0;aKa(a);GBb(a);return}function cKa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=345060;e=a+12|0;f[e>>2]=345088;fKa(a)|0;b=a+48|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,g=d+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+44|0;c=f[b>>2]|0;if(c|0?(d=c+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[b>>2]=0;R3a(a+32|0);b=a+20|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;A3a(e);Uua(a);return}d=c+8|0;g=f[d>>2]|0;f[d>>2]=g-1;if((g|0)!=1){f[b>>2]=0;A3a(e);Uua(a);return}Rua(c,1,1);f[b>>2]=0;A3a(e);Uua(a);return}function dKa(a){a=a|0;cKa(a);GBb(a);return}function eKa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;e=f[a+20>>2]|0;if(((e|0?f[e+24>>2]|0:0)?(b=f[a+24>>2]|0,b|0):0)?(g=WCb(b,295088,297048,0)|0,g|0):0){b=e4a()|0;e=g+72|0;f[e>>2]=b;b=g+48|0;if(_i[f[(f[g>>2]|0)+188>>2]&2047](g)|0){d=f[b>>2]|0;tj[f[(f[d>>2]|0)+12>>2]&2047](d)}d=f[b>>2]|0;tj[f[(f[d>>2]|0)+12>>2]&2047](d);kKa(a);d=f[a+44>>2]|0;c=d+12|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;b=f[d+32>>2]|0;d=d+28|0;a=b;if((d|0)!=(a|0))do{h=f[b+8>>2]|0;tj[f[f[h>>2]>>2]&2047](h);b=f[a+4>>2]|0;a=b}while((d|0)!=(a|0));_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;_i[f[(f[g>>2]|0)+196>>2]&2047](g)|0;f[e>>2]=-1;return}kKa(a);d=f[a+44>>2]|0;c=d+12|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;b=f[d+32>>2]|0;d=d+28|0;a=b;if((d|0)!=(a|0))do{h=f[b+8>>2]|0;tj[f[f[h>>2]>>2]&2047](h);b=f[a+4>>2]|0;a=b}while((d|0)!=(a|0));_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;return}function fKa(a){a=a|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;i=l;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){h=Nu(jsb(Nu(Hua(4)|0,433322,27)|0,a)|0,433350,13)|0;g=a+12|0;h=_rb(h,h4a(g)|0)|0;Drb(i,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);k=utb(i,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(i);ksb(h,k)|0;Krb(h)|0;h=a}else{g=a+12|0;h=a}if(h4a(g)|0){f[a+28>>2]=1;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){k=jsb(Nu(Hua(4)|0,433364,16)|0,h)|0;Drb(i,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(i,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(i);ksb(k,j)|0;Krb(k)|0}j=a+32|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;k=a+44|0;c=f[k>>2]|0;if(c|0){c=f[c+24>>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}a=a+48|0;c=f[a>>2]|0;if(c|0)tj[f[f[c>>2]>>2]&2047](c);_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;if(h4a(g)|0)do{_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;c=f[k>>2]|0;if(c|0){c=f[c+24>>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[a>>2]|0;if(c|0)tj[f[f[c>>2]>>2]&2047](c);_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){e=jsb(Nu(Hua(5)|0,433381,41)|0,h)|0;Drb(i,e+(f[(f[e>>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(e,d)|0;Krb(e)|0}}while(h4a(g)|0);d4a(g)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=l;return 0}k=Nu(jsb(Nu(Hua(4)|0,433423,45)|0,h)|0,433350,13)|0;k=_rb(k,h4a(g)|0)|0;Drb(i,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(i,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(i);ksb(k,j)|0;Krb(k)|0;u=l;return 0}function gKa(a){a=a|0;cKa(a+-12|0);return}function hKa(a){a=a|0;a=a+-12|0;cKa(a);GBb(a);return}function iKa(a){a=a|0;fKa(a+-12|0)|0;return 0}function jKa(a){a=a|0;eKa(a+-12|0);return}function kKa(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,s=0,t=0,v=0,w=0;v=u;u=u+16|0;j=v;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){r=Nu(jsb(Nu(Hua(4)|0,433469,10)|0,a)|0,433350,13)|0;i=a+12|0;r=_rb(r,h4a(i)|0)|0;Drb(j,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);q=utb(j,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(j);ksb(r,q)|0;Krb(r)|0}else i=a+12|0;m=a+32|0;n=a+44|0;o=a+28|0;p=a+48|0;q=a+20|0;r=a+24|0;g=1;do{_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;c=f[n>>2]|0;if(!c)c=0;else{h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;lKa(j,c,1);e=f[j>>2]|0;if(e){d=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[j>>2]|0;if((d|0)!=0?(s=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,d=s+8|0,h=f[d>>2]|0,f[d>>2]=h-1,(h|0)==1):0)Rua(s,1,1)}else e=0;if(!(f[o>>2]|0))if(!e){h=1;g=0;d=0}else{_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;d=f[p>>2]|0;if(((d|0)!=(e|0)?(f[p>>2]=e,h=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0,f[h>>2]=(f[h>>2]|0)+1,d|0):0)?(t=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=t+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(t,1,1);_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;d=f[(f[e>>2]|0)+4>>2]|0;h=f[q>>2]|0;if((h|0)!=0?(f[h+24>>2]|0)!=0:0)g=f[r>>2]|0;else g=0;Bj[d&1023](e,g);_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;d=f[p>>2]|0;if(d|0?(f[p>>2]=0,k=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,g=k+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(k,1,1);_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;h=1;g=0;d=e}else{h=0;d=e}if(c|0?(w=c+8|0,e=f[w>>2]|0,f[w>>2]=e-1,(e|0)==1):0)Rua(c,1,1);if(d|0?(l=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,e=l+8|0,w=f[e>>2]|0,f[e>>2]=w-1,(w|0)==1):0)Rua(l,1,1);if(!h)break;if(l4a(i)|0)break}while((f[o>>2]|0)==0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=v;return}w=Nu(jsb(Nu(Hua(4)|0,433480,10)|0,a)|0,433350,13)|0;w=_rb(w,h4a(i)|0)|0;Drb(j,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);t=utb(j,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(j);ksb(w,t)|0;Krb(w)|0;u=v;return}function lKa(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;j=c+36|0;if(d?(f[j>>2]|0)==0:0){d=f[c+24>>2]|0;e=d+4|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;if(!(b[d+24>>0]|0))M3a(d+16|0,e)|0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0}i=c+12|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;if(!(f[j>>2]|0)){f[a>>2]=0;m=f[i>>2]|0;m=m+12|0;m=f[m>>2]|0;_i[m&2047](i)|0;return}e=c+40|0;d=f[e>>2]|0;if((d|0)==(c+28|0)){d=f[c+32>>2]|0;f[c+40>>2]=d}g=f[d+8>>2]|0;if(g|0){h=g+(f[(f[g>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1}h=f[e>>2]|0;d=h+4|0;if(!(b[g+16>>0]|0)){e=f[d>>2]|0;n=f[h>>2]|0;f[n+4>>2]=e;f[f[d>>2]>>2]=n;f[j>>2]=(f[j>>2]|0)+-1;d=f[h+8>>2]|0;if(d|0?(k=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,d=k+8|0,n=f[d>>2]|0,f[d>>2]=n-1,(n|0)==1):0)Rua(k,1,1);GBb(h);f[c+40>>2]=e;if((f[j>>2]|0)==0?(m=f[c+24>>2]|0,l=m+4|0,m=m+24|0,b[m>>0]|0):0){_i[f[(f[l>>2]|0)+8>>2]&2047](l)|0;b[m>>0]=0;_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0}}else f[e>>2]=f[d>>2];f[a>>2]=g;d=g+(f[(f[g>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;m=d+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)!=1){n=f[i>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](i)|0;return}Rua(d,1,1);n=f[i>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](i)|0;return}function mKa(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 nKa(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 oKa(a){a=a|0;cKa(a);GBb(a);return}function pKa(a){a=a|0;cKa(a+-12|0);return}function qKa(a){a=a|0;a=a+-12|0;cKa(a);GBb(a);return}function rKa(a){a=a|0;kKa(a+-12|0);return}function sKa(a){a=a|0;var c=0,d=0;c=a+20|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+40|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+32|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;return}function tKa(a,b){a=a|0;b=b|0;if(!b)return;b=WCb(b,295088,297048,0)|0;if(!b)return;Bj[f[(f[a>>2]|0)+16>>2]&1023](a,b);return}function uKa(a){a=a|0;var c=0;Q2(a+20|0);f[a>>2]=297204;c=a+44|0;f[c>>2]=297236;a=a+4|0;if((b[a+11>>0]|0)>=0){Uua(c);return}GBb(f[a>>2]|0);Uua(c);return}function vKa(a){a=a|0;var c=0,d=0;Q2(a+20|0);f[a>>2]=297204;c=a+44|0;f[c>>2]=297236;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function wKa(a,c){a=a|0;c=c|0;var d=0;Kh();c=a+20|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=a+40|0;if(!(b[d>>0]|0)){b[d>>0]=1;P3a(a+32|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;return}function xKa(a){a=a|0;var c=0;c=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Q2(c+20|0);f[c>>2]=297204;a=c+44|0;f[a>>2]=297236;c=c+4|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function yKa(a){a=a|0;var c=0,d=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Q2(a+20|0);f[a>>2]=297204;c=a+44|0;f[c>>2]=297236;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function zKa(a){a=a|0;Uua(a);CKa(a+12|0);return}function AKa(a){a=a|0;Uua(a);CKa(a+12|0);GBb(a);return}function BKa(a,b){a=a|0;b=b|0;var c=0,d=0;b=a+12|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;c=a+36|0;d=f[c>>2]|0;if(d|0?(d=d+-1|0,f[c>>2]=d,(d|0)==0):0)P3a(a+24|0)|0;_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;return}function CKa(a){a=a|0;var b=0;f[a+20>>2]=0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;b=a+24|0;if(f[b>>2]|0){f[b>>2]=0;P3a(a+12|0)|0}_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;K3a(a+12|0);R3a(a);return}function DKa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=345200;c=a+112|0;d=f[c>>2]|0;if(d|0){switch(f[a+108>>2]|0){case 1:{HBb(d);break}case 2:{Dmb(d);break}default:{}}f[c>>2]=0}e=a+128|0;g=f[e>>2]|0;if(g|0){h=a+132|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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)}c=f[a+116>>2]|0;if(c|0){f[a+120>>2]=c;GBb(c)}c=a+52|0;if((b[c+11>>0]|0)>=0){oza(a);return}GBb(f[c>>2]|0);oza(a);return}function EKa(a){a=a|0;DKa(a);GBb(a);return}function FKa(a){a=a|0;var c=0,d=0,e=0,g=0;a=EBb(140)|0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=a+24|0;d=a+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[a>>2]=345200;d=a+100|0;e=a+52|0;g=e+48|0;do{b[e>>0]=0;e=e+1|0}while((e|0)<(g|0));f[d>>2]=4;n[a+104>>2]=1.0;f[a+108>>2]=1;g=a+112|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;f[g+24>>2]=0;f[c>>2]=1;return a|0}function GKa(a,b){a=a|0;b=b|0;var c=0;c=EBb(140)|0;uLa(c,a,b);return c|0}function HKa(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 IKa(a){a=a|0;return 409756}function JKa(a){a=a|0;return 435510}function KKa(a){a=a|0;return a|0}function LKa(a){a=a|0;return a|0}function MKa(a){a=a|0;return f[a+112>>2]|0}function NKa(a){a=a|0;return hJa(a)|0}function OKa(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;r=a+52|0;n=b[r+11>>0]|0;s=n<<24>>24<0;if(s)d=f[a+56>>2]|0;else d=n&255;if(!((d|0)!=0?(m=b[c+52+11>>0]|0,((m<<24>>24<0?f[c+56>>2]|0:m&255)|0)!=0):0)){d=f[a+112>>2]|0;e=f[c+112>>2]|0;if(d>>>0<e>>>0){t=-1;return t|0}if(d>>>0>e>>>0){t=1;return t|0}}d=f[a+72>>2]|0;e=f[c+72>>2]|0;if((d|0)<(e|0)){t=-1;return t|0}if((e|0)<(d|0)){t=1;return t|0}d=f[a+76>>2]|0;e=f[c+76>>2]|0;if((d|0)<(e|0)){t=-1;return t|0}if((e|0)<(d|0)){t=1;return t|0}d=f[a+88>>2]|0;e=f[c+88>>2]|0;if((d|0)<(e|0)){t=-1;return t|0}if((e|0)<(d|0)){t=1;return t|0}d=f[a+92>>2]|0;e=f[c+92>>2]|0;if(d>>>0<e>>>0){t=-1;return t|0}if(e>>>0<d>>>0){t=1;return t|0}d=f[a+96>>2]|0;e=f[c+96>>2]|0;if(d>>>0<e>>>0){t=-1;return t|0}if(e>>>0<d>>>0){t=1;return t|0}d=f[a+100>>2]|0;e=f[c+100>>2]|0;if(d>>>0<e>>>0){t=-1;return t|0}if(e>>>0<d>>>0){t=1;return t|0}k=f[a+120>>2]|0;h=f[c+116>>2]|0;l=f[c+120>>2]|0;g=f[a+116>>2]|0;a:do if((h|0)!=(l|0)){d=g;j=h;while(1){if((d|0)==(k|0)){d=-1;e=44;break}e=f[d>>2]|0;i=f[j>>2]|0;if(e>>>0<i>>>0){d=-1;e=44;break}if(i>>>0<e>>>0)break a;j=j+4|0;if((j|0)==(l|0))break a;else d=d+4|0}if((e|0)==44)return d|0}while(0);b:do if((g|0)!=(k|0)){while(1){if((h|0)==(l|0)){d=1;e=44;break}d=f[h>>2]|0;e=f[g>>2]|0;if(d>>>0<e>>>0){d=1;e=44;break}if(e>>>0<d>>>0)break b;g=g+4|0;if((g|0)==(k|0))break b;else h=h+4|0}if((e|0)==44)return d|0}while(0);d=f[a+32>>2]|0;e=f[c+32>>2]|0;if(d>>>0<e>>>0){t=-1;return t|0}if(e>>>0<d>>>0){t=1;return t|0}l=f[a+112>>2]|0;m=f[c+112>>2]|0;if(((m|0)!=0|(l|0)!=0)&(l|0)==(m|0)){t=0;return t|0}l=c+52|0;k=b[l+11>>0]|0;m=k<<24>>24<0;k=m?f[c+56>>2]|0:k&255;h=s?f[a+56>>2]|0:n&255;j=k>>>0<h>>>0;g=j?k:h;i=(g|0)==0;do if(i)e=37;else{d=m?f[l>>2]|0:l;e=anb(s?f[r>>2]|0:r,d,g)|0;if(!e){e=37;break}if((e|0)<0)d=-1;else{o=d;p=r;q=r;e=41;break}return d|0}while(0);do if((e|0)==37){if(h>>>0<k>>>0){t=-1;return t|0}if(i){e=42;break}o=m?f[l>>2]|0:l;p=r;q=r;e=41}while(0);if((e|0)==41){d=anb(o,s?f[p>>2]|0:q,g)|0;if(!d)e=42;else t=d}if((e|0)==42)t=j<<31>>31;t=t>>>31;return t|0}function PKa(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,p=0;f[a+120>>2]=f[a+116>>2];n=a+112|0;if(!(f[n>>2]|0))k=0;else{l=f[a+72>>2]|0;o=f[a+100>>2]|0;l=W(iJa(f[a+92>>2]|0,f[a+96>>2]|0)|0,l)|0;k=(o|0)==0?8:o<<3;m=(l|0)/(k|0)|0;k=m+((l-(W(m,k)|0)|0)!=0&1)|0;k=W(W(W(f[a+76>>2]|0,o)|0,f[a+80>>2]|0)|0,k)|0}m=W(iJa(g,h)|0,c)|0;l=(i|0)==0?8:i<<3;o=(m|0)/(l|0)|0;l=W(W(W(e,d)|0,i)|0,o+((m-(W(o,l)|0)|0)!=0&1)|0)|0;do if((l|0)==(k|0))o=12;else{if(l|0){tLa(a,FBb(l)|0,1);o=12;break}k=f[n>>2]|0;if(k|0){switch(f[a+108>>2]|0){case 1:{HBb(k);break}case 2:{Dmb(k);break}default:{}}f[n>>2]=0}m=a+72|0;k=f[m>>2]|0;o=18}while(0);do if((o|0)==12){m=a+72|0;k=f[m>>2]|0;if(f[n>>2]|0){n=a+76|0;if((k|0)==(c|0)?(f[n>>2]|0)==(d|0):0)l=(f[a+80>>2]|0)!=(e|0);else l=1;f[m>>2]=c;f[n>>2]=d;f[a+80>>2]=e;f[a+92>>2]=g;f[a+96>>2]=h;f[a+100>>2]=i;f[a+84>>2]=0;k=a+88|0;if(!(f[k>>2]|0)){f[k>>2]=g;if(l){o=23;break}else break}else if(l){o=23;break}else break}else o=18}while(0);if((o|0)==18){l=a+76|0;if((k|0)==0?(f[l>>2]|0)==0:0)k=(f[a+80>>2]|0)!=0;else k=1;f[m>>2]=0;f[l>>2]=0;f[a+80>>2]=0;f[a+92>>2]=0;f[a+96>>2]=0;f[a+100>>2]=0;f[a+84>>2]=0;if(k)o=23}if((o|0)==23?(j=f[a+128>>2]|0,p=a+132|0,(j|0)!=(f[p>>2]|0)):0)do{o=f[j>>2]|0;Bj[f[(f[o>>2]|0)+12>>2]&1023](o,a);j=j+4|0}while((j|0)!=(f[p>>2]|0));j=a+32|0;f[j>>2]=(f[j>>2]|0)+1;j=f[a+44>>2]|0;if(j|0)Bj[f[(f[j>>2]|0)+20>>2]&1023](j,a);j=f[a+40>>2]|0;if(!j)return;d=j+60|0;c=j+64|0;j=f[c>>2]|0;k=f[d>>2]|0;if((j|0)==(k|0))return;n=0;l=k;m=k;while(1){if(!(f[l+(n<<2)>>2]|0))k=m;else{k=j-l>>2;if(k>>>0>n>>>0)k=m;else{oxa(d,n+1-k|0);j=f[c>>2]|0;k=f[d>>2]|0}b[(f[k+(n<<2)>>2]|0)+36>>0]=1;l=k}n=n+1|0;if(n>>>0>=j-l>>2>>>0)break;else m=k}return}function QKa(a,c,d,e,g,h,i,j,k,l,m){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0;f[a+120>>2]=f[a+116>>2];n=a+72|0;p=a+76|0;if((f[n>>2]|0)==(c|0)?(f[p>>2]|0)==(d|0):0)t=(f[a+80>>2]|0)!=(e|0);else t=1;f[n>>2]=c;f[p>>2]=d;f[a+80>>2]=e;f[a+88>>2]=g;f[a+92>>2]=h;f[a+96>>2]=i;tLa(a,j,k);f[a+100>>2]=l;f[a+84>>2]=m;c=a+32|0;f[c>>2]=(f[c>>2]|0)+1;c=f[a+44>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+20>>2]&1023](c,a);c=f[a+40>>2]|0;if(c|0?(r=c+60|0,s=c+64|0,o=f[s>>2]|0,q=f[r>>2]|0,(o|0)!=(q|0)):0){p=0;n=q;m=q;while(1){if(!(f[n+(p<<2)>>2]|0))c=o;else{c=o-n>>2;if(c>>>0>p>>>0)c=o;else{oxa(r,p+1-c|0);c=f[s>>2]|0;m=f[r>>2]|0}b[(f[m+(p<<2)>>2]|0)+36>>0]=1;n=m}p=p+1|0;if(p>>>0>=c-n>>2>>>0)break;else o=c}}if(!t)return;c=f[a+128>>2]|0;m=a+132|0;if((c|0)==(f[m>>2]|0))return;do{t=f[c>>2]|0;Bj[f[(f[t>>2]|0)+12>>2]&1023](t,a);c=c+4|0}while((c|0)!=(f[m>>2]|0));return}function RKa(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;Mj[f[(f[a>>2]|0)+192>>2]&15](a,d,e,1,g,h,i);Ph(3333,f[a+100>>2]|0);Ph(3330,f[a+84>>2]|0);Qh(b|0,c|0,d|0,e|0,g|0,h|0,f[a+112>>2]|0);return}function SKa(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}g=Nu(Hua(3)|0,435449,60)|0;Drb(a,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(g,e)|0;Krb(g)|0;u=c;return}function TKa(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;t=u;u=u+80|0;p=t+64|0;i=t;o=a+72|0;if(((f[o>>2]|0)==(c|0)?(f[a+76>>2]|0)==(d|0):0)?(f[a+80>>2]|0)==(e|0):0){u=t;return}h=a+112|0;if(!(f[h>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=t;return}s=Nu(Hua(2)|0,435302,67)|0;Drb(p,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(p,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(p);ksb(s,r)|0;Krb(s)|0;u=t;return}if((e|0)!=1?1:(f[a+80>>2]|0)!=1){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=t;return}s=Nu(Hua(2)|0,435370,78)|0;Drb(p,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(p,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(p);ksb(s,r)|0;Krb(s)|0;u=t;return}n=a+92|0;l=a+100|0;v=f[l>>2]|0;k=W(iJa(f[n>>2]|0,g)|0,c)|0;e=(v|0)==0?8:v<<3;m=(k|0)/(e|0)|0;e=FBb(W(W(v,d)|0,m+((k-(W(m,e)|0)|0)!=0&1)|0)|0)|0;m=i+4|0;k=m+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;k=i+36|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;f[k+24>>2]=0;l=f[l>>2]|0;f[i>>2]=l;k=a+84|0;f[m>>2]=f[k>>2];f[i+32>>2]=l;l=a+76|0;m=a+96|0;n=cLa(i,f[n>>2]|0,f[o>>2]|0,f[l>>2]|0,f[m>>2]|0,f[h>>2]|0,c,d,g,e)|0;if(n){HBb(e);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){h=Nu(Hua(2)|0,434133,58)|0;a:do if((n|0)>=1286){if((n|0)>=100901)switch(n|0){case 100904:{e=13;i=36;break a}case 100901:{e=10;i=36;break a}case 100902:{e=11;i=36;break a}case 100903:{e=12;i=36;break a}default:{i=37;break a}}if((n|0)<32817){switch(n|0){case 1286:break;default:{i=37;break a}}e=8;i=36;break}if((n|0)<100900){switch(n|0){case 32817:break;default:{i=37;break a}}e=7;i=36;break}else{switch(n|0){case 100900:break;default:{i=37;break a}}e=9;i=36;break}}else switch(n|0){case 1280:{e=1;i=36;break a}case 1281:{e=2;i=36;break a}case 1282:{e=3;i=36;break a}case 1283:{e=4;i=36;break a}case 1284:{e=5;i=36;break a}case 1285:{e=6;i=36;break a}default:{i=37;break a}}while(0);if((i|0)==36){e=222496+(e<<3)+4|0;i=38}else if((i|0)==37)if((n+-100151|0)>>>0<6){e=222464+(n+-100150<<2)|0;i=38}else e=0;if((i|0)==38)e=f[e>>2]|0;v=Nu(Nu(h,e,Rmb(e)|0)|0,434192,39)|0;Drb(p,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);o=utb(p,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(p);ksb(v,o)|0;Krb(v)|0}}else{f[o>>2]=c;f[l>>2]=d;f[k>>2]=0;f[m>>2]=g;tLa(a,e,1)}e=a+32|0;f[e>>2]=(f[e>>2]|0)+1;e=f[a+44>>2]|0;if(e|0)Bj[f[(f[e>>2]|0)+20>>2]&1023](e,a);e=f[a+40>>2]|0;if(e|0?(r=e+60|0,s=e+64|0,j=f[s>>2]|0,q=f[r>>2]|0,(j|0)!=(q|0)):0){k=0;i=q;h=q;while(1){if(!(f[i+(k<<2)>>2]|0))e=j;else{e=j-i>>2;if(e>>>0>k>>>0)e=j;else{oxa(r,k+1-e|0);e=f[s>>2]|0;h=f[r>>2]|0}b[(f[h+(k<<2)>>2]|0)+36>>0]=1;i=h}k=k+1|0;if(k>>>0>=e-i>>2>>>0)break;else j=e}}u=t;return}function UKa(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;y=u;u=u+80|0;w=y+64|0;o=y;if(!g){u=y;return}l=d|c;if((l|e|0)<0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=y;return}g=Nu(Hua(2)|0,433707,93)|0;Drb(w,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);x=utb(w,504576)|0;x=cj[f[(f[x>>2]|0)+28>>2]&1023](x,10)|0;vtb(w);ksb(g,x)|0;Krb(g)|0;u=y;return}q=a+112|0;if(!(f[q>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){x=Nu(Hua(4)|0,433801,16)|0;Drb(w,x+(f[(f[x>>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(x,v)|0;Krb(x)|0}Mj[f[(f[a>>2]|0)+192>>2]&15](a,(f[g+72>>2]|0)+c|0,(f[g+76>>2]|0)+d|0,(f[g+80>>2]|0)+e|0,f[g+92>>2]|0,f[g+96>>2]|0,f[g+100>>2]|0)}r=a+72|0;if(((f[r>>2]|0)>(c|0)?(s=a+76|0,(f[s>>2]|0)>(d|0)):0)?(f[a+80>>2]|0)>(e|0):0){v=a+92|0;i=f[v>>2]|0;x=g+92|0;if((i|0)!=(f[x>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=y;return}g=Nu(Hua(2)|0,433915,103)|0;Drb(w,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);x=utb(w,504576)|0;x=cj[f[(f[x>>2]|0)+28>>2]&1023](x,10)|0;vtb(w);ksb(g,x)|0;Krb(g)|0;u=y;return}h=f[q>>2]|0;if(!h)e=0;else{j=a+96|0;i=h+((W(iJa(i,f[j>>2]|0)|0,c)|0)>>>3)|0;h=f[a+84>>2]|0;if(!h)h=f[r>>2]|0;p=a+100|0;B=f[p>>2]|0;A=W(iJa(f[v>>2]|0,f[j>>2]|0)|0,h)|0;h=(B|0)==0?8:B<<3;z=(A|0)/(h|0)|0;h=i+(W(W(B,d)|0,z+((A-(W(z,h)|0)|0)!=0&1)|0)|0)|0;z=f[r>>2]|0;i=f[p>>2]|0;z=W(iJa(f[v>>2]|0,f[j>>2]|0)|0,z)|0;p=(i|0)==0?8:i<<3;j=(z|0)/(p|0)|0;p=j+((z-(W(j,p)|0)|0)!=0&1)|0;e=h+(W(W(W(i,e)|0,f[s>>2]|0)|0,p)|0)|0}if(bLa(a)|0){jJa(o,f[v>>2]|0);p=f[o>>2]|0;do if((p|0)==4?(f[o+4>>2]|0)==4:0){h=g+72|0;i=f[h>>2]|0;if((i&3|0)==0?(k=f[g+76>>2]|0,((l|k)&3|0)==0):0){o=i;h=4;t=52;break}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){B=Nu(Hua(2)|0,434019,51)|0;B=Nu(bsb(B,f[h>>2]|0)|0,472536,1)|0;B=Nu(bsb(Nu(bsb(Nu(bsb(B,f[g+76>>2]|0)|0,434071,11)|0,c)|0,434083,1)|0,d)|0,434085,19)|0;Drb(w,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);A=utb(w,504576)|0;A=cj[f[(f[A>>2]|0)+28>>2]&1023](A,10)|0;vtb(w);ksb(B,A)|0;Krb(B)|0}}else t=43;while(0);do if((t|0)==43){h=g+72|0;i=f[h>>2]|0;if(((((i|0)%(p|0)|0|0)==0?(m=f[g+76>>2]|0,n=f[o+4>>2]|0,((m|0)%(n|0)|0|0)==0):0)?((c|0)%(p|0)|0|0)==0:0)?((d|0)%(n|0)|0|0)==0:0){o=i;k=m;h=n;t=52;break}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){B=Nu(Hua(2)|0,434019,51)|0;B=Nu(bsb(B,f[h>>2]|0)|0,472536,1)|0;B=Nu(bsb(Nu(bsb(Nu(bsb(B,f[g+76>>2]|0)|0,434071,11)|0,c)|0,434083,1)|0,d)|0,434105,27)|0;B=Nu(bsb(B,f[o>>2]|0)|0,472536,1)|0;B=bsb(B,f[o+4>>2]|0)|0;Drb(w,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);A=utb(w,504576)|0;A=cj[f[(f[A>>2]|0)+28>>2]&1023](A,10)|0;vtb(w);ksb(B,A)|0;Krb(B)|0}}while(0);if((t|0)==52){j=f[r>>2]|0;n=p+-1|0;l=(n+j|0)/(p|0)|0;a=kJa(f[v>>2]|0,0)|0;i=(f[q>>2]|0)+(W(((c|0)/(p|0)|0)+(W(l,d)|0)|0,a)|0)|0;j=j-c|0;e=(f[s>>2]|0)-d|0;e=(h+-1+((k|0)<(e|0)?k:e)|0)/(h|0)|0;l=W(a,l)|0;m=((W(n+o|0,a)|0)>>>0)/(p>>>0)|0;h=f[g+112>>2]|0;if(!h)h=0;else{B=g+96|0;iJa(f[x>>2]|0,f[B>>2]|0)|0;iJa(f[x>>2]|0,f[B>>2]|0)|0;iJa(f[x>>2]|0,f[B>>2]|0)|0}if(e|0){k=W((n+((o|0)<(j|0)?o:j)|0)/(p|0)|0,a)|0;j=0;while(1){YDb(i|0,h|0,k|0)|0;j=j+1|0;if((j|0)==(e|0))break;else{i=i+l|0;h=h+m|0}}}}u=y;return}i=o+4|0;j=o+32|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;f[i+24>>2]=0;f[j>>2]=4;k=o+36|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;f[k+24>>2]=0;f[o>>2]=f[a+100>>2];h=f[a+84>>2]|0;if(!h)h=f[r>>2]|0;f[i>>2]=h;f[j>>2]=f[g+100>>2];f[k>>2]=f[g+84>>2];B=f[g+72>>2]|0;h=f[g+76>>2]|0;h=cLa(o,f[v>>2]|0,B,h,f[g+96>>2]|0,f[g+112>>2]|0,B,h,f[a+96>>2]|0,e)|0;if(h|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){i=Nu(Hua(2)|0,434133,58)|0;a:do if((h|0)>=1286){if((h|0)>=100901)switch(h|0){case 100904:{h=13;t=79;break a}case 100901:{h=10;t=79;break a}case 100902:{h=11;t=79;break a}case 100903:{h=12;t=79;break a}default:{t=80;break a}}if((h|0)<32817){switch(h|0){case 1286:break;default:{t=80;break a}}h=8;t=79;break}if((h|0)<100900){switch(h|0){case 32817:break;default:{t=80;break a}}h=7;t=79;break}else{switch(h|0){case 100900:break;default:{t=80;break a}}h=9;t=79;break}}else switch(h|0){case 1280:{h=1;t=79;break a}case 1281:{h=2;t=79;break a}case 1282:{h=3;t=79;break a}case 1283:{h=4;t=79;break a}case 1284:{h=5;t=79;break a}case 1285:{h=6;t=79;break a}default:{t=80;break a}}while(0);if((t|0)==79){h=222496+(h<<3)+4|0;t=81}else if((t|0)==80)if((h+-100151|0)>>>0<6){h=222464+(h+-100150<<2)|0;t=81}else h=0;if((t|0)==81)h=f[h>>2]|0;B=Nu(Nu(i,h,Rmb(h)|0)|0,434192,39)|0;Drb(w,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);A=utb(w,504576)|0;A=cj[f[(f[A>>2]|0)+28>>2]&1023](A,10)|0;vtb(w);ksb(B,A)|0;Krb(B)|0}}u=y;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=y;return}B=Nu(Hua(2)|0,433818,96)|0;Drb(w,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);A=utb(w,504576)|0;A=cj[f[(f[A>>2]|0)+28>>2]&1023](A,10)|0;vtb(w);ksb(B,A)|0;Krb(B)|0;u=y;return}function VKa(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=a+92|0;c=f[v>>2]|0;a:do if((c|0)<32993)switch(c|0){case 6406:{m=1;o=0;break a}case 6410:{m=2;o=1;break a}case 6408:{m=4;o=3;break a}default:{v=0;return v|0}}else switch(c|0){case 32993:{m=4;o=3;break a}case 33777:case 33778:case 33779:{v=aLa(f[a+72>>2]|0,f[a+76>>2]|0,c,f[a+112>>2]|0)|0;return v|0}default:{v=0;return v|0}}while(0);p=a+80|0;if((f[p>>2]|0)<=0){v=0;return v|0}q=a+76|0;r=a+112|0;s=a+96|0;t=a+84|0;u=a+72|0;l=a+100|0;k=0;c=f[q>>2]|0;b:while(1){if((c|0)>0){i=0;do{a=f[r>>2]|0;if(!a)h=0;else{iJa(f[v>>2]|0,f[s>>2]|0)|0;c=f[t>>2]|0;if(!c)c=f[u>>2]|0;w=f[l>>2]|0;h=W(iJa(f[v>>2]|0,f[s>>2]|0)|0,c)|0;e=(w|0)==0?8:w<<3;g=(h|0)/(e|0)|0;e=a+(W(W(w,i)|0,g+((h-(W(g,e)|0)|0)!=0&1)|0)|0)|0;a=f[u>>2]|0;g=f[l>>2]|0;a=W(iJa(f[v>>2]|0,f[s>>2]|0)|0,a)|0;h=(g|0)==0?8:g<<3;c=(a|0)/(h|0)|0;h=c+((a-(W(c,h)|0)|0)!=0&1)|0;c=f[q>>2]|0;h=e+(W(W(W(g,k)|0,c)|0,h)|0)|0}a=f[s>>2]|0;c:do if((a|0)<5131)switch(a|0){case 5120:{g=f[u>>2]|0;if(!g)break c;a=h+o|0;e=0;while(1){if((b[a>>0]|0)!=127){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+m|0}break}case 5121:{g=f[u>>2]|0;if(!g)break c;a=h+o|0;e=0;while(1){if((b[a>>0]|0)!=-1){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+m|0}break}case 5122:{g=f[u>>2]|0;if(!g)break c;a=h+(o<<1)|0;e=0;while(1){if((d[a>>1]|0)!=32767){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+(m<<1)|0}break}case 5123:{g=f[u>>2]|0;if(!g)break c;a=h+(o<<1)|0;e=0;while(1){if((d[a>>1]|0)!=-1){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+(m<<1)|0}break}case 5124:{g=f[u>>2]|0;if(!g)break c;a=h+(o<<2)|0;e=0;while(1){if((f[a>>2]|0)!=2147483647){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+(m<<2)|0}break}case 5125:{g=f[u>>2]|0;if(!g)break c;a=h+(o<<2)|0;e=0;while(1){if((f[a>>2]|0)!=-1){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+(m<<2)|0}break}case 5126:{g=f[u>>2]|0;if(!g)break c;a=h+(o<<2)|0;e=0;while(1){if(+n[a>>2]<1.0){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+(m<<2)|0}break}default:break c}else{if((a|0)<32822){if((a|0)<32819){switch(a|0){case 5131:break;default:break c}g=f[u>>2]|0;if(!g)break;a=h+(o<<1)|0;e=0;while(1){if((j[a>>1]|0)<15360){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break c;else a=a+(m<<1)|0}}switch(a|0){case 32820:{g=f[u>>2]|0;if(!g)break c;e=0;a=h;while(1){if(!(d[a>>1]&1)){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break c;else a=a+2|0}}case 32819:{g=f[u>>2]|0;if(!g)break c;e=0;a=h;while(1){if((d[a>>1]&15)!=15){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break c;else a=a+2|0}}default:break c}}switch(a|0){case 33638:{g=f[u>>2]|0;if(!g)break c;e=0;a=h;while(1){if((d[a>>1]|0)>-1){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+2|0}break}case 33637:{g=f[u>>2]|0;if(!g)break c;e=0;a=h;while(1){if((j[a>>1]|0)<61440){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+2|0}break}case 32822:{g=f[u>>2]|0;if(!g)break c;e=0;a=h;while(1){if((f[a>>2]&3|0)!=3){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+4|0}break}case 33640:{g=f[u>>2]|0;if(!g)break c;e=0;a=h;while(1){if((f[a>>2]|0)>>>0<3221225472){c=1;a=73;break b}e=e+1|0;if(e>>>0>=g>>>0)break;else a=a+4|0}break}default:break c}}while(0);i=i+1|0}while((i|0)<(c|0))}k=k+1|0;if((k|0)>=(f[p>>2]|0)){c=0;a=73;break}}if((a|0)==73)return c|0;return 0}function WKa(a){a=a|0;return 0}function XKa(a,b){a=a|0;b=b|0;return}function YKa(a,b){a=a|0;b=b|0;return 0}function ZKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function _Ka(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function $Ka(a,b){a=a|0;b=b|0;return}function aLa(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var i=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;a=W((c+3|0)>>>2,(a+3|0)>>>2)|0;switch(e|0){case 33779:{a:do if((a|0)>0){l=s+1|0;m=s+2|0;n=s+3|0;o=s+4|0;p=s+5|0;q=s+6|0;r=s+7|0;while(1){c=b[g>>0]|0;e=b[g+1>>0]|0;b[s>>0]=c;b[l>>0]=e;if((c&255)>(e&255)){if(c<<24>>24!=-1){g=1;break a}c=e&255;b[m>>0]=((c+1533|0)>>>0)/7|0;b[n>>0]=(((c<<1)+1278|0)>>>0)/7|0;b[o>>0]=(((c*3|0)+1023|0)>>>0)/7|0;b[p>>0]=(((c<<2)+768|0)>>>0)/7|0;b[q>>0]=(((c*5|0)+513|0)>>>0)/7|0;c=((((c*6|0)+258|0)>>>0)/7|0)&255}else{k=c&255;c=e&255;b[m>>0]=((c+2+(k<<2)|0)>>>0)/5|0;b[n>>0]=(((k*3|0)+2+(c<<1)|0)>>>0)/5|0;b[o>>0]=(((k<<1)+2+(c*3|0)|0)>>>0)/5|0;b[p>>0]=((k+2+(c<<2)|0)>>>0)/5|0;b[q>>0]=0;c=-1}b[r>>0]=c;k=0;c=(h[g+3>>0]<<8|h[g+2>>0])&65535;e=1;do{if((b[s+(c&7)>>0]|0)!=-1){g=1;break a}c=(c&65535)>>>3;i=k*3|0;if((i>>>3|0)==(e|0)){e=e+1|0;c=(h[g+2+e>>0]<<8-(i&7))+(c&65535)&65535}k=k+1|0}while(k>>>0<16);if((a|0)>1){a=a+-1|0;g=g+16|0}else{g=0;break}}}else g=0;while(0);s=g;u=t;return s|0}case 33777:{if((a|0)<=0){s=0;u=t;return s|0}while(1){if((j[g>>1]|0)<=(j[g+2>>1]|0)){c=f[g+4>>2]|0;if((c&3|0)==3|(c&12|0)==12|(c&48|0)==48|(c&192|0)==192|(c&768|0)==768|(c&3072|0)==3072|(c&12288|0)==12288|(c&49152|0)==49152|(c&196608|0)==196608|(c&786432|0)==786432|(c&3145728|0)==3145728|(c&12582912|0)==12582912|(c&50331648|0)==50331648|(c&201326592|0)==201326592){g=1;a=24;break}if((c&805306368|0)==805306368|c>>>0>3221225471){g=1;a=24;break}}if((a|0)>1){a=a+-1|0;g=g+8|0}else{g=0;a=24;break}}if((a|0)==24){u=t;return g|0}break}case 33778:{if((a|0)<=0){s=0;u=t;return s|0}while(1){if((d[g>>1]|0)!=-1){g=1;a=24;break}if((d[g+2>>1]|0)!=-1){g=1;a=24;break}if((d[g+4>>1]|0)!=-1){g=1;a=24;break}if((d[g+6>>1]|0)!=-1){g=1;a=24;break}if((a|0)>1){a=a+-1|0;g=g+16|0}else{g=0;a=24;break}}if((a|0)==24){u=t;return g|0}break}default:{s=0;u=t;return s|0}}return 0}function bLa(a){a=a|0;switch(f[a+92>>2]|0){case 37853:case 37852:case 37851:case 37850:case 37849:case 37848:case 37847:case 37846:case 37845:case 37844:case 37843:case 37842:case 37841:case 37840:case 37821:case 37820:case 37819:case 37818:case 37817:case 37816:case 37815:case 37814:case 37813:case 37812:case 37811:case 37810:case 37809:case 37808:case 37491:case 37490:case 37489:case 37488:case 37497:case 37496:case 37495:case 37494:case 37493:case 37492:case 36196:case 35843:case 35842:case 35841:case 35840:case 36285:case 36286:case 36283:case 36284:case 33779:case 33778:case 33777:case 33776:case 34029:case 34030:case 34026:case 34027:case 34028:case 34025:{a=1;break}default:a=0}return a|0}function cLa(a,c,e,g,i,k,l,m,o,p){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;m=m|0;o=o|0;p=p|0;var q=0,r=0,t=0,v=0,w=0,x=0.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;V=u;u=u+32|0;P=V;Q=V+16|0;if((e|0)==0|(g|0)==0|(l|0)==0|(m|0)==0){U=0;u=V;return U|0}if((g|e|l|m|0)<0){U=100901;u=V;return U|0}a:do if((c|0)>=6407){if((c|0)<6410){switch(c|0){case 6409:case 6408:case 6407:break a;default:q=100900}u=V;return q|0}if((c|0)>=32993){switch(c|0){case 32993:case 33319:break a;default:q=100900}u=V;return q|0}if((c|0)<32992){switch(c|0){case 6410:break a;default:q=100900}u=V;return q|0}else{switch(c|0){case 32992:break a;default:q=100900}u=V;return q|0}}else{switch(c|0){case 6406:case 6405:case 6404:case 6403:case 6402:case 6401:case 6400:break a;default:q=100900}u=V;return q|0}while(0);if(!((dLa(i)|0)<<24>>24)){U=100900;u=V;return U|0}if(!((dLa(o)|0)<<24>>24)){U=100900;u=V;return U|0}b:do switch(i|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{if((c|0)!=6407&((i|0)==33636|((i|0)==32818|(i|1|0)==33635))){U=100904;u=V;return U|0}switch(i|0){case 32819:case 32820:case 32821:case 32822:case 33637:case 33638:case 33639:case 33640:break;default:break b}if((c|0)<32993){switch(c|0){case 6408:break b;default:q=100904}u=V;return q|0}else{switch(c|0){case 32993:break b;default:q=100904}u=V;return q|0}}default:{}}while(0);c:do switch(o|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{if((c|0)!=6407&((o|0)==33636|((o|0)==32818|(o|1|0)==33635))){U=100904;u=V;return U|0}switch(o|0){case 32819:case 32820:case 32821:case 32822:case 33637:case 33638:case 33639:case 33640:break;default:break c}if((c|0)<32993){switch(c|0){case 6408:break c;default:q=100904}u=V;return q|0}else{switch(c|0){case 32993:break c;default:q=100904}u=V;return q|0}}default:{}}while(0);if((e|0)<=0)_a(434232,434242,4944,434407);if((g|0)<=0)_a(434418,434242,4945,434407);if((c|0)<32992)switch(c|0){case 6407:{q=3;break}case 6410:{U=19;break}case 6408:{U=20;break}default:U=21}else switch(c|0){case 32992:{q=3;break}case 33319:{U=19;break}case 32993:{U=20;break}default:U=21}if((U|0)==19)q=2;else if((U|0)==20)q=4;else if((U|0)==21)q=1;T=Cmb(W(W(~~(+(e|0)*2.0)>>>0,g)|0,q)|0)|0;if((l|0)<=0)_a(434232,434242,4944,434407);if((m|0)<=0)_a(434418,434242,4945,434407);if((c|0)<32992)switch(c|0){case 6407:{q=3;break}case 6410:{U=27;break}case 6408:{U=28;break}default:U=29}else switch(c|0){case 32992:{q=3;break}case 33319:{U=27;break}case 32993:{U=28;break}default:U=29}if((U|0)==27)q=2;else if((U|0)==28)q=4;else if((U|0)==29)q=1;S=Cmb(W(W(~~(+(l|0)*2.0)>>>0,m)|0,q)|0)|0;if((T|0)==0|(S|0)==0){Dmb(T);Dmb(S);U=100902;u=V;return U|0}R=(c|1|0)==6401;eLa(a,e,g,c,i,R&1,k,T);if((c|0)<32992)switch(c|0){case 6407:{q=3;break}case 6410:{U=33;break}case 6408:{U=34;break}default:U=35}else switch(c|0){case 32992:{q=3;break}case 33319:{U=33;break}case 32993:{U=34;break}default:U=35}if((U|0)==33)q=2;else if((U|0)==34)q=4;else if((U|0)==35)q=1;fLa(q,e,g,T,l,m,S);i=f[a+20>>2]|0;d:do switch(o|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{q=f[a+4>>2]|0;B=1;q=(q|0)>0?q:l;U=68;break}default:{if((c|0)<32992)switch(c|0){case 6407:{B=3;break}case 6410:{U=38;break}case 6408:{U=39;break}default:U=40}else switch(c|0){case 32992:{B=3;break}case 33319:{U=38;break}case 32993:{U=39;break}default:U=40}if((U|0)==38)B=2;else if((U|0)==39)B=4;else if((U|0)==40)B=1;q=f[a+4>>2]|0;q=(q|0)>0?q:l;if((o|0)==6656){z=((W(q,B)|0)+7|0)/8|0;y=f[a>>2]|0;A=(z|0)%(y|0)|0;z=((A|0)==0?0:y-A|0)+z|0;A=a+12|0;y=W(B,l)|0;t=p+(W(z,f[a+8>>2]|0)|0)|0;k=f[A>>2]|0;w=(y|0)>0;v=a+16|0;q=0;i=S;t=t+((W(k,B)|0)/8|0)|0;while(1){k=(W(k,B)|0)%8|0;do if(w)if(R){g=0;a=t;r=i;while(1){e=(f[v>>2]|0)!=0;do if(!(d[r>>1]&1))if(e){e=(1<<k^255)&h[a>>0];break}else{e=(1<<7-k^255)&h[a>>0];break}else if(e){e=1<<k|h[a>>0];break}else{e=1<<7-k|h[a>>0];break}while(0);b[a>>0]=e;k=k+1|0;e=(k|0)==8;g=g+1|0;if((g|0)==(y|0))break;else{k=e?0:k;a=e?a+1|0:a;r=r+2|0}}i=i+(y<<1)|0;break}else{g=0;a=t;r=i;while(1){e=(f[v>>2]|0)!=0;do if((d[r>>1]|0)>-1)if(e){e=(1<<k^255)&h[a>>0];break}else{e=(1<<7-k^255)&h[a>>0];break}else if(e){e=1<<k|h[a>>0];break}else{e=1<<7-k|h[a>>0];break}while(0);b[a>>0]=e;k=k+1|0;e=(k|0)==8;g=g+1|0;if((g|0)==(y|0))break;else{k=e?0:k;a=e?a+1|0:a;r=r+2|0}}i=i+(y<<1)|0;break}while(0);q=q+1|0;if((q|0)==(m|0))break d;t=t+z|0;k=f[A>>2]|0}}else U=68}}while(0);do if((U|0)==68){J=~~+gLa(o);N=W(B,J)|0;M=W(N,q)|0;O=f[a>>2]|0;K=(M|0)%(O|0)|0;K=(K|0)==0?0:O-K|0;M=K+M|0;O=a+8|0;L=a+12|0;H=W(B,l)|0;w=f[O>>2]|0;a=p+(W(M,w)|0)|0;t=f[L>>2]|0;I=(H|0)>0;C=(i|0)==0|(J|0)==1;D=(o|0)==5125;E=Q+1|0;F=Q+2|0;G=Q+3|0;v=W(t+q|0,N)|0;w=W(M,m+-1+w|0)|0;y=P+4|0;z=P+8|0;A=P+12|0;r=0;t=a+(W(t,N)|0)|0;q=S;while(1){if(I){a=0;g=t;while(1){e:do if((o|0)<32820){if((o|0)<5124){f:do switch(o|0){case 5121:{i=q+2|0;q=d[q>>1]|0;if(R){b[g>>0]=q;q=i;break e}else{b[g>>0]=(q&65535)>>>8;q=i;break e}}case 5120:{i=q+2|0;q=d[q>>1]|0;if(R){b[g>>0]=q;q=i;break e}else{b[g>>0]=(q&65535)>>>9;q=i;break e}}case 5123:{i=d[q>>1]|0;d[Q>>1]=i;q=q+2|0;k=i&255;i=(i&65535)>>>8&255;break}case 5122:{i=q+2|0;e=d[q>>1]|0;if(R){d[Q>>1]=e;q=i;k=e&255;i=(e&65535)>>>8&255;break f}else{k=(e&65535)>>>1;d[Q>>1]=k;q=i;k=k&255;i=(e&65535)>>>9&255;break f}}default:break e}while(0);if(C){b[g>>0]=k;b[g+1>>0]=b[E>>0]|0;break}else{b[g>>0]=i;b[g+1>>0]=b[Q>>0]|0;break}}do if((o|0)<5126){switch(o|0){case 5125:case 5124:break;default:break e}k=q+2|0;i=j[q>>1]|0;if(D)if(R){f[Q>>2]=i;q=k;k=i>>>8;break}else{i=i*65537|0;f[Q>>2]=i;q=k;k=i>>>8;break}else if(R){f[Q>>2]=i;q=k;k=i>>>8;break}else{e=i*65537|0;i=e>>>1;f[Q>>2]=i;q=k;k=e>>>9;break}}else{if((o|0)<32818){switch(o|0){case 5126:break;default:break e}i=q+2|0;x=+(j[q>>1]|0);if(R){n[Q>>2]=x;e=(n[s>>2]=x,f[s>>2]|0);q=i;k=e>>>8;i=e;break}else{x=x/65535.0;n[Q>>2]=x;e=(n[s>>2]=x,f[s>>2]|0);q=i;k=e>>>8;i=e;break}}switch(o|0){case 32818:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;hLa(P,0,g);q=q+6|0;break e}case 32819:break;default:break e}n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;lLa(P,0,Q);if(C){d[g>>1]=d[Q>>1]|0;break e}else{b[g>>0]=b[E>>0]|0;b[g+1>>0]=b[Q>>0]|0;break e}}while(0);i=i&255;if(C){b[g>>0]=i;b[g+1>>0]=b[E>>0]|0;b[g+2>>0]=b[F>>0]|0;b[g+3>>0]=b[G>>0]|0;break}else{b[g+3>>0]=i;b[g+2>>0]=k;b[g+1>>0]=b[F>>0]|0;b[g>>0]=b[G>>0]|0;break}}else do switch(o|0){case 33634:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;iLa(P,0,g);q=q+6|0;break e}case 33635:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;q=q+6|0;jLa(P,0,Q);if(C){d[g>>1]=d[Q>>1]|0;break e}else{b[g>>0]=b[E>>0]|0;b[g+1>>0]=b[Q>>0]|0;break e}}case 33636:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;q=q+6|0;kLa(P,0,Q);if(C){d[g>>1]=d[Q>>1]|0;break e}else{b[g>>0]=b[E>>0]|0;b[g+1>>0]=b[Q>>0]|0;break e}}case 33637:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;mLa(P,0,Q);if(C){d[g>>1]=d[Q>>1]|0;break e}else{b[g>>0]=b[E>>0]|0;b[g+1>>0]=b[Q>>0]|0;break e}}case 32820:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;nLa(P,0,Q);if(C){d[g>>1]=d[Q>>1]|0;break e}else{b[g>>0]=b[E>>0]|0;b[g+1>>0]=b[Q>>0]|0;break e}}case 33638:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;oLa(P,0,Q);if(C){d[g>>1]=d[Q>>1]|0;break e}else{b[g>>0]=b[E>>0]|0;b[g+1>>0]=b[Q>>0]|0;break e}}case 32821:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;pLa(P,0,Q);if(C){f[g>>2]=f[Q>>2];break e}else{b[g+3>>0]=b[Q>>0]|0;b[g+2>>0]=b[E>>0]|0;b[g+1>>0]=b[F>>0]|0;b[g>>0]=b[G>>0]|0;break e}}case 33639:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;qLa(P,0,Q);if(C){f[g>>2]=f[Q>>2];break e}else{b[g+3>>0]=b[Q>>0]|0;b[g+2>>0]=b[E>>0]|0;b[g+1>>0]=b[F>>0]|0;b[g>>0]=b[G>>0]|0;break e}}case 32822:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;rLa(P,0,Q);if(C){f[g>>2]=f[Q>>2];break e}else{b[g+3>>0]=b[Q>>0]|0;b[g+2>>0]=b[E>>0]|0;b[g+1>>0]=b[F>>0]|0;b[g>>0]=b[G>>0]|0;break e}}case 33640:{n[P>>2]=+(j[q>>1]|0)/65535.0;n[y>>2]=+(j[q+2>>1]|0)/65535.0;n[z>>2]=+(j[q+4>>1]|0)/65535.0;n[A>>2]=+(j[q+6>>1]|0)/65535.0;q=q+8|0;sLa(P,0,Q);if(C){f[g>>2]=f[Q>>2];break e}else{b[g+3>>0]=b[Q>>0]|0;b[g+2>>0]=b[E>>0]|0;b[g+1>>0]=b[F>>0]|0;b[g>>0]=b[G>>0]|0;break e}}default:break e}while(0);while(0);a=a+1|0;if((a|0)==(H|0)){e=q;break}else g=g+J|0}}else e=q;r=r+1|0;if((r|0)==(m|0))break;else{t=t+M|0;q=e}}k=p+(v+K+w)|0;switch(o|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{i=W(m,l)|0;if((c|0)<32992)switch(c|0){case 6407:{q=3;break}case 6410:{U=136;break}case 6408:{U=137;break}default:U=138}else switch(c|0){case 32992:{q=3;break}case 33319:{U=136;break}case 32993:{U=137;break}default:U=138}if((U|0)==136)q=2;else if((U|0)==137)q=4;else if((U|0)==138)q=1;if((e|0)!=(S+((W(i,q)|0)<<1)|0))_a(434485,434242,5550,434473);break}default:if((e|0)!=(S+((W(W(m,l)|0,B)|0)<<1)|0))_a(434429,434242,5546,434473)}U=W((f[O>>2]|0)+m|0,M)|0;if((k|0)==(p+(U+(W(f[L>>2]|0,N)|0))|0))break;else _a(434548,434242,5554,434473)}while(0);Dmb(T);Dmb(S);U=0;u=V;return U|0}function dLa(a){a=a|0;var b=0;a:do if((a|0)<32820){if((a|0)<5125)switch(a|0){case 5124:case 5123:case 5122:case 5121:case 5120:{a=1;break a}default:{b=2;break a}}if((a|0)<6656)switch(a|0){case 5126:case 5125:{a=1;break a}default:{b=2;break a}}if((a|0)<32818)switch(a|0){case 6656:{a=1;break a}default:{b=2;break a}}else switch(a|0){case 32819:case 32818:{a=1;break a}default:{b=2;break a}}}else switch(a|0){case 33640:case 32822:case 33639:case 32821:case 33638:case 32820:case 33637:case 33636:case 33635:case 33634:{a=1;break}default:b=2}while(0);if((b|0)==2)a=0;return a|0}function eLa(a,c,e,g,i,j,k,l){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,o=0,p=0,q=0,r=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;p=f[a+52>>2]|0;switch(i|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{m=f[a+36>>2]|0;o=1;m=(m|0)>0?m:c;break}default:{if((g|0)<32992)switch(g|0){case 6407:{o=3;break}case 6410:{G=3;break}case 6408:{G=4;break}default:G=5}else switch(g|0){case 32992:{o=3;break}case 33319:{G=3;break}case 32993:{G=4;break}default:G=5}if((G|0)==3)o=2;else if((G|0)==4)o=4;else if((G|0)==5)o=1;m=f[a+36>>2]|0;m=(m|0)>0?m:c;if((i|0)==6656){z=((W(m,o)|0)+7|0)/8|0;y=f[a+32>>2]|0;m=(z|0)%(y|0)|0;z=((m|0)==0?0:y-m|0)+z|0;m=W(f[a+44>>2]|0,o)|0;y=W(o,c)|0;if((e|0)<=0)return;o=(m|0)/8|0;w=m-(o<<3)|0;x=a+48|0;v=j<<24>>24==0;if((y|0)<=0)return;u=0;r=k+(W(z,f[a+40>>2]|0)|0)+o|0;while(1){j=(f[x>>2]|0)==0;if(v){m=w;o=0;a=r;p=l;while(1){d[p>>1]=((1<<(j?7-m|0:m)&(h[a>>0]|0)|0)!=0)<<31>>31;m=m+1|0;q=(m|0)==8;o=o+1|0;if((o|0)==(y|0))break;else{m=q?0:m;a=q?a+1|0:a;p=p+2|0}}}else{m=w;o=0;a=r;p=l;while(1){d[p>>1]=(1<<(j?7-m|0:m)&(h[a>>0]|0)|0)!=0&1;m=m+1|0;q=(m|0)==8;o=o+1|0;if((o|0)==(y|0))break;else{m=q?0:m;a=q?a+1|0:a;p=p+2|0}}}u=u+1|0;if((u|0)==(e|0))break;else{l=l+(y<<1)|0;r=r+z|0}}return}}}C=~~+gLa(i);q=W(o,C)|0;E=W(q,m)|0;F=f[a+32>>2]|0;r=(E|0)%(F|0)|0;r=(r|0)==0?0:F-r|0;E=r+E|0;F=f[a+40>>2]|0;a=f[a+44>>2]|0;D=W(a,q)|0;z=W(o,c)|0;if((e|0)>0){A=(z|0)>0;B=j<<24>>24==0;x=(C|0)==1|(p|0)==0;y=(i|0)==5122;w=j<<24>>24!=0;v=r+(W(q,m+a|0)|0)+(W(F+e+-1|0,E)|0)|0;j=0;u=k+(W(E,F)|0)+D|0;p=l;while(1){if(A){r=0;q=u;while(1){a:do if((i|0)<32820){if((i|0)<5124)switch(i|0){case 5121:{m=b[q>>0]|0;if(B){d[p>>1]=(m&255)*257;p=p+2|0;break a}else{d[p>>1]=m&255;p=p+2|0;break a}}case 5120:{m=b[q>>0]|0;if(B){d[p>>1]=(m<<24>>24)*516;p=p+2|0;break a}else{d[p>>1]=m<<24>>24;p=p+2|0;break a}}case 5122:case 5123:{if(x){m=q+1|0;a=h[q>>0]|0}else{m=q;a=h[q+1>>0]|0}m=(h[m>>0]|0)<<8|a;if(!y){d[p>>1]=m;p=p+2|0;break a}if(B){d[p>>1]=m<<1;p=p+2|0;break a}else{d[p>>1]=m;p=p+2|0;break a}}default:break a}b:do if((i|0)<5126)switch(i|0){case 5125:case 5124:break;default:break a}else{if((i|0)<32818)switch(i|0){case 5126:break b;default:break a}switch(i|0){case 32818:{a=h[q>>0]|0;d[p>>1]=~~(+(a>>>5|0)/7.0*65535.0);d[p+2>>1]=~~(+(a>>>2&7|0)/7.0*65535.0);d[p+4>>1]=~~(+(a&3|0)/3.0*65535.0);p=p+6|0;break a}case 32819:break;default:break a}if(x)m=d[q>>1]|0;else m=((h[q+1>>0]|0)<<8|(h[q>>0]|0))&65535;a=m&65535;d[p>>1]=~~(+(a>>>12|0)/15.0*65535.0);d[p+2>>1]=~~(+(a>>>8&15|0)/15.0*65535.0);d[p+4>>1]=~~(+(a>>>4&15|0)/15.0*65535.0);d[p+6>>1]=~~(+(a&15|0)/15.0*65535.0);p=p+8|0;break a}while(0);if(x){m=q+3|0;a=(h[q+1>>0]|0)<<8|(h[q>>0]|0)|(h[q+2>>0]|0)<<16}else{m=q;a=(h[q+2>>0]|0)<<8|(h[q+3>>0]|0)|(h[q+1>>0]|0)<<16}m=a|(h[m>>0]|0)<<24;switch(i|0){case 5126:{t=(f[s>>2]=m,+n[s>>2]);if(B){d[p>>1]=~~(t*65535.0);p=p+2|0;break a}else{d[p>>1]=~~t;p=p+2|0;break a}}case 5125:if(w){d[p>>1]=a;p=p+2|0;break a}else{d[p>>1]=m>>>16;p=p+2|0;break a}default:if(w){d[p>>1]=a;p=p+2|0;break a}else{d[p>>1]=m>>>15;p=p+2|0;break a}}}else do switch(i|0){case 33634:{a=h[q>>0]|0;d[p>>1]=~~(+(a&7|0)/7.0*65535.0);d[p+2>>1]=~~(+(a>>>3&7|0)/7.0*65535.0);d[p+4>>1]=~~(+(a>>>6|0)/3.0*65535.0);p=p+6|0;break a}case 33635:{if(x)m=d[q>>1]|0;else m=((h[q+1>>0]|0)<<8|(h[q>>0]|0))&65535;a=m&65535;d[p>>1]=~~(+(a>>>11|0)/31.0*65535.0);d[p+2>>1]=~~(+(a>>>5&63|0)/63.0*65535.0);d[p+4>>1]=~~(+(a&31|0)/31.0*65535.0);p=p+6|0;break a}case 33636:{if(x)m=d[q>>1]|0;else m=((h[q+1>>0]|0)<<8|(h[q>>0]|0))&65535;a=m&65535;d[p>>1]=~~(+(a&31|0)/31.0*65535.0);d[p+2>>1]=~~(+(a>>>5&63|0)/63.0*65535.0);d[p+4>>1]=~~(+(a>>>11|0)/31.0*65535.0);p=p+6|0;break a}case 33637:{if(x)m=d[q>>1]|0;else m=((h[q+1>>0]|0)<<8|(h[q>>0]|0))&65535;a=m&65535;d[p>>1]=~~(+(a&15|0)/15.0*65535.0);d[p+2>>1]=~~(+(a>>>4&15|0)/15.0*65535.0);d[p+4>>1]=~~(+(a>>>8&15|0)/15.0*65535.0);d[p+6>>1]=~~(+(a>>>12|0)/15.0*65535.0);p=p+8|0;break a}case 32820:{if(x)m=d[q>>1]|0;else m=((h[q+1>>0]|0)<<8|(h[q>>0]|0))&65535;a=m&65535;d[p>>1]=~~(+(a>>>11|0)/31.0*65535.0);d[p+2>>1]=~~(+(a>>>6&31|0)/31.0*65535.0);d[p+4>>1]=~~(+(a>>>1&31|0)/31.0*65535.0);d[p+6>>1]=~~(+(a&1|0)*65535.0);p=p+8|0;break a}case 33638:{if(x)m=d[q>>1]|0;else m=((h[q+1>>0]|0)<<8|(h[q>>0]|0))&65535;a=m&65535;d[p>>1]=~~(+(a&31|0)/31.0*65535.0);d[p+2>>1]=~~(+(a>>>5&31|0)/31.0*65535.0);d[p+4>>1]=~~(+(a>>>10&31|0)/31.0*65535.0);d[p+6>>1]=~~(+(a>>>15|0)*65535.0);p=p+8|0;break a}case 32821:{if(x)m=f[q>>2]|0;else m=(h[q+2>>0]|0)<<16|(h[q+3>>0]|0)<<24|(h[q+1>>0]|0)<<8|(h[q>>0]|0);d[p>>1]=~~(+(m>>>24>>>0)/255.0*65535.0);d[p+2>>1]=~~(+((m>>>16&255)>>>0)/255.0*65535.0);d[p+4>>1]=~~(+((m>>>8&255)>>>0)/255.0*65535.0);d[p+6>>1]=~~(+((m&255)>>>0)/255.0*65535.0);p=p+8|0;break a}case 33639:{if(x)m=f[q>>2]|0;else m=(h[q+2>>0]|0)<<16|(h[q+3>>0]|0)<<24|(h[q+1>>0]|0)<<8|(h[q>>0]|0);d[p>>1]=~~(+((m&255)>>>0)/255.0*65535.0);d[p+2>>1]=~~(+((m>>>8&255)>>>0)/255.0*65535.0);d[p+4>>1]=~~(+((m>>>16&255)>>>0)/255.0*65535.0);d[p+6>>1]=~~(+(m>>>24>>>0)/255.0*65535.0);p=p+8|0;break a}case 32822:{if(x)m=f[q>>2]|0;else m=(h[q+2>>0]|0)<<16|(h[q+3>>0]|0)<<24|(h[q+1>>0]|0)<<8|(h[q>>0]|0);d[p>>1]=~~(+(m>>>22>>>0)/1023.0*65535.0);d[p+2>>1]=~~(+((m>>>12&1023)>>>0)/1023.0*65535.0);d[p+4>>1]=~~(+((m>>>2&1023)>>>0)/1023.0*65535.0);d[p+6>>1]=~~(+((m&3)>>>0)/3.0*65535.0);p=p+8|0;break a}case 33640:{if(x)m=f[q>>2]|0;else m=(h[q+2>>0]|0)<<16|(h[q+3>>0]|0)<<24|(h[q+1>>0]|0)<<8|(h[q>>0]|0);d[p>>1]=~~(+((m&1023)>>>0)/1023.0*65535.0);d[p+2>>1]=~~(+((m>>>10&1023)>>>0)/1023.0*65535.0);d[p+4>>1]=~~(+((m>>>20&1023)>>>0)/1023.0*65535.0);d[p+6>>1]=~~(+(m>>>30>>>0)/3.0*65535.0);p=p+8|0;break a}default:break a}while(0);while(0);r=r+1|0;if((r|0)==(z|0))break;else q=q+C|0}}j=j+1|0;if((j|0)==(e|0))break;else u=u+E|0}a=k+v|0}else{p=l;a=0}if(!((dLa(i)|0)<<24>>24))_a(435024,434242,3368,435040);switch(i|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{o=W(e,c)|0;if((g|0)<32992)switch(g|0){case 6407:{m=3;break}case 6410:{G=100;break}case 6408:{G=101;break}default:G=102}else switch(g|0){case 32992:{m=3;break}case 33319:{G=100;break}case 32993:{G=101;break}default:G=102}if((G|0)==100)m=2;else if((G|0)==101)m=4;else if((G|0)==102)m=1;if((p|0)!=(l+((W(o,m)|0)<<1)|0))_a(435113,434242,5208,435102);break}default:if((p|0)!=(l+((W(W(e,c)|0,o)|0)<<1)|0))_a(435058,434242,5204,435102)}if((a|0)==(k+((W(E,F+e|0)|0)+D)|0))return;else _a(435176,434242,5212,435102)}function fLa(a,b,c,e,g,h,i){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;h=h|0;i=i|0;var k=0.0,l=0.0,m=0,o=0,p=0,q=0,r=0,s=0,t=0.0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0,R=0;Q=u;u=u+16|0;P=Q;if((g<<1|0)==(b|0)&(h<<1|0)==(c|0)){C=b>>>1;B=c>>>1;w=W(b,a)|0;if(!B){u=Q;return}x=w+a|0;if(!C){u=Q;return}y=W(C,a)|0;z=W((C<<2)+-2|0,a)|0;if((a|0)<=0){u=Q;return}v=0;while(1){m=0;p=i;q=e;while(1){o=0;r=p;s=q;while(1){d[r>>1]=((j[s>>1]|0)+2+(j[s+(a<<1)>>1]|0)+(j[s+(w<<1)>>1]|0)+(j[s+(x<<1)>>1]|0)|0)>>>2;o=o+1|0;if((o|0)==(a|0))break;else{r=r+2|0;s=s+2|0}}m=m+1|0;if((m|0)==(C|0))break;else{p=p+(a<<1)|0;q=q+(a<<1)+(a<<1)|0}}v=v+1|0;if((v|0)==(B|0))break;else{i=i+(y<<1)|0;e=e+z+(a<<1)+(w<<1)|0}}u=Q;return}k=+(c|0)/+(h|0);t=+(b|0)/+(g|0);A=t*.5;l=k*.5;if((h|0)<=0){u=Q;return}C=(c|0)>(h|0);O=C?l:.5;N=C?-l:-.5;C=(g|0)>0;x=(b|0)>(g|0);M=x?A:.5;J=x?-A:-.5;x=(a|0)>0;w=0;do{L=(+(w|0)+.5)*k;K=N+L;L=O+L;if(C){y=~~+I(+K);z=K<L;B=W(w,g)|0;v=0;do{G=(+(v|0)+.5)*t;F=J+G;G=M+G;f[P>>2]=0;f[P+4>>2]=0;f[P+8>>2]=0;f[P+12>>2]=0;a:do if(z){s=~~+I(+F);if(!(F<G)){m=y;while(1){m=m+1|0;if(!(L>+(m|0))){l=0.0;break a}}}r=y;l=0.0;H=K;do{q=r;r=r+1|0;E=H;H=+(r|0);E=(L<H?L:H)-E;q=W((q+c|0)%(c|0)|0,b)|0;if(x){p=s;D=F;do{o=p;p=p+1|0;A=D;D=+(p|0);A=E*((G<D?G:D)-A);o=W(((o+b|0)%(b|0)|0)+q|0,a)|0;m=0;do{R=P+(m<<2)|0;n[R>>2]=+n[R>>2]+A*+(j[e+(m+o<<1)>>1]|0);m=m+1|0}while((m|0)!=(a|0));l=l+A}while(G>D)}else{m=s;A=F;do{m=m+1|0;D=A;A=+(m|0);l=l+E*((G<A?G:A)-D)}while(G>A)}}while(L>H)}else l=0.0;while(0);o=W(v+B|0,a)|0;if(x){m=0;do{d[i+(m+o<<1)>>1]=~~((+n[P+(m<<2)>>2]+.5)/l);m=m+1|0}while((m|0)!=(a|0))}v=v+1|0}while((v|0)!=(g|0))}w=w+1|0}while((w|0)!=(h|0));u=Q;return}function gLa(a){a=a|0;var b=0.0,c=0;a:do if((a|0)<32820){if((a|0)<5125)switch(a|0){case 5123:{b=2.0;break a}case 5122:{b=2.0;break a}case 5121:{b=1.0;break a}case 5120:{b=1.0;break a}case 5124:{b=4.0;break a}default:{c=12;break a}}if((a|0)>=6656)if((a|0)<32818)switch(a|0){case 6656:{b=.125;break a}default:{c=12;break a}}else switch(a|0){case 32818:{c=9;break a}case 32819:{c=10;break a}default:{c=12;break a}}else switch(a|0){case 5125:{b=4.0;break a}case 5126:{b=4.0;break a}default:{c=12;break a}}}else{switch(a|0){case 33634:{c=9;break a}case 33638:case 32820:case 33637:case 33636:case 33635:{c=10;break a}case 33640:case 32822:case 33639:case 32821:break;default:{c=12;break a}}b=4.0}while(0);if((c|0)==9)b=1.0;else if((c|0)==10)b=2.0;else if((c|0)==12)b=4.0;return +b}function hLa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,f=0,g=0.0,h=0;e=+n[a>>2];if(!(e>=0.0)|!(e<=1.0))_a(434664,434242,5584,435015);f=a+4|0;g=+n[f>>2];if(!(g>=0.0)|!(g<=1.0))_a(434735,434242,5585,435015);a=a+8|0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434790,434242,5586,435015);else{h=(~~(e*7.0+.5)&255)<<5;d=d+c|0;b[d>>0]=h;f=(~~(+n[f>>2]*7.0+.5)&255)<<2&28|h;b[d>>0]=f;b[d>>0]=f|~~(+n[a>>2]*3.0+.5)&3;return}}function iLa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,f=0,g=0.0,h=0;e=+n[a>>2];if(!(e>=0.0)|!(e<=1.0))_a(434664,434242,5618,435003);f=a+4|0;g=+n[f>>2];if(!(g>=0.0)|!(g<=1.0))_a(434735,434242,5619,435003);a=a+8|0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434790,434242,5620,435003);else{h=~~(e*7.0+.5)&7;d=d+c|0;b[d>>0]=h;f=(~~(+n[f>>2]*7.0+.5)&255)<<3&56|h&255;b[d>>0]=f;b[d>>0]=f|(~~(+n[a>>2]*3.0+.5)&255)<<6;return}}function jLa(a,b,c){a=a|0;b=b|0;c=c|0;var e=0.0,f=0.0,g=0.0;f=+n[a>>2];if(!(f>=0.0)|!(f<=1.0))_a(434664,434242,5659,434994);g=+n[a+4>>2];if(!(g>=0.0)|!(g<=1.0))_a(434735,434242,5660,434994);e=+n[a+8>>2];if(!(e>=0.0)|!(e<=1.0))_a(434790,434242,5661,434994);else{d[c+(b<<1)>>1]=(~~(g*63.0+.5)&65535)<<5&2016|(~~(f*31.0+.5)&65535)<<11|~~(e*31.0+.5)&31;return}}function kLa(a,b,c){a=a|0;b=b|0;c=c|0;var e=0.0,f=0.0,g=0.0;f=+n[a>>2];if(!(f>=0.0)|!(f<=1.0))_a(434664,434242,5700,434982);g=+n[a+4>>2];if(!(g>=0.0)|!(g<=1.0))_a(434735,434242,5701,434982);e=+n[a+8>>2];if(!(e>=0.0)|!(e<=1.0))_a(434790,434242,5702,434982);else{d[c+(b<<1)>>1]=(~~(g*63.0+.5)&65535)<<5&2016|~~(f*31.0+.5)&31|(~~(e*31.0+.5)&65535)<<11;return}}function lLa(a,b,c){a=a|0;b=b|0;c=c|0;var e=0.0,f=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,5739,434972);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,5740,434972);f=+n[a+8>>2];if(!(f>=0.0)|!(f<=1.0))_a(434790,434242,5741,434972);e=+n[a+12>>2];if(!(e>=0.0)|!(e<=1.0))_a(434845,434242,5742,434972);else{d[c+(b<<1)>>1]=(~~(h*15.0+.5)&65535)<<8&3840|(~~(g*15.0+.5)&65535)<<12|(~~(f*15.0+.5)&65535)<<4&240|~~(e*15.0+.5)&15;return}}function mLa(a,b,c){a=a|0;b=b|0;c=c|0;var e=0.0,f=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,5787,434959);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,5788,434959);f=+n[a+8>>2];if(!(f>=0.0)|!(f<=1.0))_a(434790,434242,5789,434959);e=+n[a+12>>2];if(!(e>=0.0)|!(e<=1.0))_a(434845,434242,5790,434959);else{d[c+(b<<1)>>1]=(~~(h*15.0+.5)&65535)<<4&240|~~(g*15.0+.5)&15|(~~(f*15.0+.5)&65535)<<8&3840|(~~(e*15.0+.5)&65535)<<12;return}}function nLa(a,b,c){a=a|0;b=b|0;c=c|0;var e=0.0,f=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,5834,434949);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,5835,434949);f=+n[a+8>>2];if(!(f>=0.0)|!(f<=1.0))_a(434790,434242,5836,434949);e=+n[a+12>>2];if(!(e>=0.0)|!(e<=1.0))_a(434845,434242,5837,434949);else{d[c+(b<<1)>>1]=(~~(h*31.0+.5)&65535)<<6&1984|(~~(g*31.0+.5)&65535)<<11|(~~(f*31.0+.5)&65535)<<1&62|~~(e+.5)&1;return}}function oLa(a,b,c){a=a|0;b=b|0;c=c|0;var e=0.0,f=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,5882,434936);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,5883,434936);f=+n[a+8>>2];if(!(f>=0.0)|!(f<=1.0))_a(434790,434242,5884,434936);e=+n[a+12>>2];if(!(e>=0.0)|!(e<=1.0))_a(434845,434242,5885,434936);else{d[c+(b<<1)>>1]=(~~(h*31.0+.5)&65535)<<5&992|~~(g*31.0+.5)&31|(~~(f*31.0+.5)&65535)<<10&31744|(~~(e+.5)&65535)<<15;return}}function pLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,5930,434926);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,5931,434926);e=+n[a+8>>2];if(!(e>=0.0)|!(e<=1.0))_a(434790,434242,5932,434926);d=+n[a+12>>2];if(!(d>=0.0)|!(d<=1.0))_a(434845,434242,5933,434926);else{f[c+(b<<2)>>2]=~~(h*255.0+.5)>>>0<<16&16711680|~~(g*255.0+.5)>>>0<<24|~~(e*255.0+.5)>>>0<<8&65280|~~(d*255.0+.5)>>>0&255;return}}function qLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,5978,434913);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,5979,434913);e=+n[a+8>>2];if(!(e>=0.0)|!(e<=1.0))_a(434790,434242,5980,434913);d=+n[a+12>>2];if(!(d>=0.0)|!(d<=1.0))_a(434845,434242,5981,434913);else{f[c+(b<<2)>>2]=~~(h*255.0+.5)>>>0<<8&65280|~~(g*255.0+.5)>>>0&255|~~(e*255.0+.5)>>>0<<16&16711680|~~(d*255.0+.5)>>>0<<24;return}}function rLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,6026,434900);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,6027,434900);e=+n[a+8>>2];if(!(e>=0.0)|!(e<=1.0))_a(434790,434242,6028,434900);d=+n[a+12>>2];if(!(d>=0.0)|!(d<=1.0))_a(434845,434242,6029,434900);else{f[c+(b<<2)>>2]=~~(h*1023.0+.5)>>>0<<12&4190208|~~(g*1023.0+.5)>>>0<<22|~~(e*1023.0+.5)>>>0<<2&4092|~~(d*3.0+.5)>>>0&3;return}}function sLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0.0,h=0.0;g=+n[a>>2];if(!(g>=0.0)|!(g<=1.0))_a(434664,434242,6076,434719);h=+n[a+4>>2];if(!(h>=0.0)|!(h<=1.0))_a(434735,434242,6077,434719);e=+n[a+8>>2];if(!(e>=0.0)|!(e<=1.0))_a(434790,434242,6078,434719);d=+n[a+12>>2];if(!(d>=0.0)|!(d<=1.0))_a(434845,434242,6079,434719);else{f[c+(b<<2)>>2]=~~(h*1023.0+.5)>>>0<<10&1047552|~~(g*1023.0+.5)>>>0&1023|~~(e*1023.0+.5)>>>0<<20&1072693248|~~(d*3.0+.5)>>>0<<30;return}}function tLa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=a+112|0;h=f[g>>2]|0;e=a+108|0;if(h|0){switch(f[e>>2]|0){case 1:{HBb(h);break}case 2:{Dmb(h);break}default:{}}f[g>>2]=0}f[g>>2]=c;f[e>>2]=d;e=a+32|0;f[e>>2]=(f[e>>2]|0)+1;e=f[a+44>>2]|0;if(e|0)Bj[f[(f[e>>2]|0)+20>>2]&1023](e,a);e=f[a+40>>2]|0;if(!e)return;i=e+60|0;a=e+64|0;e=f[a>>2]|0;c=f[i>>2]|0;if((e|0)==(c|0))return;h=0;d=c;g=c;while(1){if(!(f[d+(h<<2)>>2]|0))c=g;else{c=e-d>>2;if(c>>>0>h>>>0)c=g;else{oxa(i,h+1-c|0);e=f[a>>2]|0;c=f[i>>2]|0}b[(f[c+(h<<2)>>2]|0)+36>>0]=1;d=c}h=h+1|0;if(h>>>0>=e-d>>2>>>0)break;else g=c}return}function uLa(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;o=u;u=u+32|0;n=o;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){m=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[m>>2]=(f[m>>2]|0)+1}f[a+48>>2]=0;f[a>>2]=345200;OBb(a+52|0,c+52|0);f[a+64>>2]=f[c+64>>2];f[a+68>>2]=f[c+68>>2];f[a+72>>2]=f[c+72>>2];f[a+76>>2]=f[c+76>>2];f[a+80>>2]=f[c+80>>2];f[a+84>>2]=0;f[a+88>>2]=f[c+88>>2];f[a+92>>2]=f[c+92>>2];f[a+96>>2]=f[c+96>>2];f[a+100>>2]=f[c+100>>2];f[a+104>>2]=f[c+104>>2];f[a+108>>2]=1;l=a+112|0;e=a+116|0;g=c+116|0;m=a+120|0;h=a+124|0;j=c+120|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;d=(f[j>>2]|0)-(f[g>>2]|0)|0;i=d>>2;if(d|0){if(i>>>0>1073741823)DCb(e);k=EBb(d)|0;f[m>>2]=k;f[e>>2]=k;f[h>>2]=k+(i<<2);e=f[g>>2]|0;d=(f[j>>2]|0)-e|0;if((d|0)>0){YDb(k|0,e|0,d|0)|0;f[m>>2]=k+(d>>>2<<2)}}vLa(a+128|0,c+128|0);if(!(f[c+112>>2]|0)){u=o;return}tLa(a,FBb(hJa(c)|0)|0,1);d=f[l>>2]|0;if(!d){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=o;return}c=Nu(Hua(2)|0,435516,85)|0;Drb(n,c+(f[(f[c>>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(c,a)|0;Krb(c)|0;u=o;return}f[n>>2]=c;k=n+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;gJa(n);a=n+16|0;e=f[a>>2]|0;a:do if(e|0){c=n+20|0;l=n+8|0;m=n+12|0;while(1){j=f[c>>2]|0;YDb(d|0,e|0,j|0)|0;i=f[n>>2]|0;if(!i){d=16;break}e=f[i+84>>2]|0;if(!e){d=16;break}if((e|0)==(f[i+72>>2]|0)){d=16;break}q=f[i+116>>2]|0;p=f[i+120>>2]|0;e=(f[k>>2]|0)+1|0;f[k>>2]=e;e=(e|0)>=(f[i+76>>2]|0);g=p;h=q;if((q|0)==(p|0)){if(e?(f[k>>2]=0,q=(f[l>>2]|0)+1|0,f[l>>2]=q,(q|0)>=(f[i+80>>2]|0)):0){d=24;break}}else if((e?(f[k>>2]=0,q=(f[l>>2]|0)+1|0,f[l>>2]=q,(q|0)>=(f[i+80>>2]|0)):0)?(f[l>>2]=0,q=(f[m>>2]|0)+1|0,f[m>>2]=q,q>>>0>=((g-h>>2)+1|0)>>>0):0){d=21;break}gJa(n);e=f[a>>2]|0;if(!e)break a;else d=d+j|0}if((d|0)==16){f[a>>2]=0;f[c>>2]=0;break}else if((d|0)==21){f[a>>2]=0;f[c>>2]=0;break}else if((d|0)==24){f[a>>2]=0;f[c>>2]=0;break}}while(0);u=o;return}function vLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=0;i=a+4|0;f[i>>2]=0;e=a+8|0;f[e>>2]=0;h=b+4|0;c=(f[h>>2]|0)-(f[b>>2]|0)|0;g=c>>2;if(!c)return;if(g>>>0>1073741823)DCb(a);d=EBb(c)|0;f[i>>2]=d;f[a>>2]=d;f[e>>2]=d+(g<<2);c=f[b>>2]|0;b=f[h>>2]|0;if((c|0)==(b|0))return;do{a=f[c>>2]|0;f[d>>2]=a;if(a|0){h=a+8|0;f[h>>2]=(f[h>>2]|0)+1}c=c+4|0;d=(f[i>>2]|0)+4|0;f[i>>2]=d}while((c|0)!=(b|0));return}function wLa(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=u;u=u+16|0;j=l;if((c|0)<=-1){u=l;return}d=f[a+212>>2]|0;if((((f[a+216>>2]|0)-d|0)/20|0|0)<=(c|0)){u=l;return}k=f[d+(c*20|0)+12>>2]|0;if(!k){u=l;return}i=k+112|0;if((f[i>>2]|0)==(f[a+112>>2]|0)){u=l;return}a:do switch(f[a+176>>2]|0){case 2:case 4:{d=a+224|0;e=f[d>>2]|0;if((e|0)>-1){if((e|0)<(c|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){h=Nu(Hua(4)|0,435615,20)|0;h=bsb(Nu(bsb(h,f[d>>2]|0)|0,435636,4)|0,c)|0;Drb(j,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);g=utb(j,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(j);ksb(h,g)|0;Krb(h)|0}e=f[d>>2]|0;if((e|0)>=(c|0))break a;h=a+212|0;while(1){e=(f[h>>2]|0)+(e*20|0)+12|0;g=f[e>>2]|0;if(g|0?(f[e>>2]=0,m=g+8|0,e=f[m>>2]|0,f[m>>2]=e-1,(e|0)==1):0)Rua(g,1,1);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,435641,12)|0;m=bsb(m,f[d>>2]|0)|0;Drb(j,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);g=utb(j,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(j);ksb(m,g)|0;Krb(m)|0}e=(f[d>>2]|0)+1|0;f[d>>2]=e;if((e|0)>=(c|0))break a}}if((e|0)>(c|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,435654,17)|0;m=bsb(Nu(bsb(m,f[d>>2]|0)|0,435636,4)|0,c)|0;Drb(j,m+(f[(f[m>>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(m,h)|0;Krb(m)|0}e=f[d>>2]|0;if((e|0)>(c|0)){h=a+212|0;do{e=(f[h>>2]|0)+(e*20|0)+12|0;g=f[e>>2]|0;if(g|0?(f[e>>2]=0,e=g+8|0,m=f[e>>2]|0,f[e>>2]=m-1,(m|0)==1):0)Rua(g,1,1);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,435641,12)|0;m=bsb(m,f[d>>2]|0)|0;Drb(j,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);g=utb(j,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(j);ksb(m,g)|0;Krb(m)|0}e=(f[d>>2]|0)+-1|0;f[d>>2]=e}while((e|0)>(c|0))}}}break}default:d=a+224|0}while(0);f[d>>2]=c;QKa(a,f[k+72>>2]|0,f[k+76>>2]|0,f[k+80>>2]|0,f[k+88>>2]|0,f[k+92>>2]|0,f[k+96>>2]|0,f[i>>2]|0,0,f[k+100>>2]|0,0);e=k+116|0;d=a+116|0;if((d|0)==(e|0)){u=l;return}xC(d,f[e>>2]|0,f[k+120>>2]|0);u=l;return}function xLa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=a+4|0;g=f[h>>2]|0;d=f[a>>2]|0;e=(g-d|0)/20|0;if(e>>>0<c>>>0){yLa(a,c-e|0);return}if(e>>>0<=c>>>0)return;e=d+(c*20|0)|0;if((e|0)!=(g|0)){d=g;do{a=d+-4|0;c=f[a>>2]|0;if(c|0?(i=c+8|0,g=f[i>>2]|0,f[i>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[a>>2]=0;a=d+-8|0;d=d+-20|0;c=f[a>>2]|0;if(c|0?(g=c+8|0,i=f[g>>2]|0,f[g>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[a>>2]=0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0))}f[h>>2]=e;return}function yLa(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;t=u;u=u+32|0;q=t;r=a+8|0;n=f[r>>2]|0;s=a+4|0;c=f[s>>2]|0;e=c;if(((n-c|0)/20|0)>>>0>=b>>>0){do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[c+16>>2]=0;c=(f[s>>2]|0)+20|0;f[s>>2]=c;b=b+-1|0}while((b|0)!=0);u=t;return}d=f[a>>2]|0;g=(c-d|0)/20|0;j=g+b|0;l=d;if(j>>>0>214748364)DCb(a);o=(n-d|0)/20|0;h=o<<1;h=o>>>0<107374182?(h>>>0<j>>>0?j:h):214748364;o=q+12|0;f[o>>2]=0;f[q+16>>2]=a+8;do if(h)if(h>>>0>214748364){t=ab(8)|0;KBb(t,410101);f[t>>2]=362060;eb(t|0,302144,1464)}else{i=EBb(h*20|0)|0;break}else i=0;while(0);f[q>>2]=i;d=i+(g*20|0)|0;m=q+8|0;p=q+4|0;f[p>>2]=d;k=i+(h*20|0)|0;f[o>>2]=k;_Db(d|0,0,b*20|0)|0;g=i+(j*20|0)|0;f[m>>2]=g;if((e|0)==(l|0)){h=o;i=m;j=c;e=c;b=k;c=n}else{do{c=e;e=e+-20|0;OBb(d+-20|0,e);b=f[c+-8>>2]|0;f[d+-8>>2]=b;if(b|0){n=b+8|0;f[n>>2]=(f[n>>2]|0)+1}c=f[c+-4>>2]|0;f[d+-4>>2]=c;if(c|0){n=c+8|0;f[n>>2]=(f[n>>2]|0)+1}d=(f[p>>2]|0)+-20|0;f[p>>2]=d}while((e|0)!=(l|0));h=o;i=m;j=f[a>>2]|0;g=f[m>>2]|0;e=f[s>>2]|0;b=f[o>>2]|0;c=f[r>>2]|0}f[a>>2]=d;f[p>>2]=j;f[s>>2]=g;f[i>>2]=e;f[r>>2]=b;f[h>>2]=c;f[q>>2]=j;zLa(q);u=t;return}function zLa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;h=f[a+4>>2]|0;i=a+8|0;c=f[i>>2]|0;if((c|0)!=(h|0))do{g=c+-20|0;f[i>>2]=g;d=c+-4|0;e=f[d>>2]|0;if(e|0?(k=e+8|0,j=f[k>>2]|0,f[k>>2]=j-1,(j|0)==1):0)Rua(e,1,1);f[d>>2]=0;c=c+-8|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;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);c=f[i>>2]|0}while((c|0)!=(h|0));c=f[a>>2]|0;if(!c)return;GBb(c);return}function ALa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=345452;b=f[a+64>>2]|0;if(b|0){f[a+68>>2]=b;GBb(b)}b=f[a+52>>2]|0;if(b|0){f[a+56>>2]=b;GBb(b)}b=f[a+40>>2]|0;if(b|0){f[a+44>>2]=b;GBb(b)}b=a+36|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Gva(a);return}e=c+8|0;d=f[e>>2]|0;f[e>>2]=d-1;if((d|0)!=1){f[b>>2]=0;Gva(a);return}Rua(c,1,1);f[b>>2]=0;Gva(a);return}function BLa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=345452;b=f[a+64>>2]|0;if(b|0){f[a+68>>2]=b;GBb(b)}b=f[a+52>>2]|0;if(b|0){f[a+56>>2]=b;GBb(b)}b=f[a+40>>2]|0;if(b|0){f[a+44>>2]=b;GBb(b)}b=a+36|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Gva(a);GBb(a);return}e=c+8|0;d=f[e>>2]|0;f[e>>2]=d-1;if((d|0)!=1){f[b>>2]=0;Gva(a);GBb(a);return}Rua(c,1,1);f[b>>2]=0;Gva(a);GBb(a);return}function CLa(a){a=a|0;var b=0,c=0;a=EBb(76)|0;f[a+4>>2]=0;f[a+8>>2]=0;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]=345452;b=a+32|0;c=b+44|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(c|0));return a|0}function DLa(a,b){a=a|0;b=b|0;var c=0;c=EBb(76)|0;gMa(c,a,b);return c|0}function ELa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,297432,0)|0)!=0;return b|0}function FLa(a){a=a|0;return 409756}function GLa(a){a=a|0;return 436100}function HLa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+8>>2]&1023](b,a);return}function ILa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+8>>2]&1023](b,a);return}function JLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+64|0;g=h;f[g>>2]=a;n[g+4>>2]=3402823466385288598117041.0e14;n[g+8>>2]=3402823466385288598117041.0e14;n[g+12>>2]=3402823466385288598117041.0e14;n[g+16>>2]=-3402823466385288598117041.0e14;n[g+20>>2]=-3402823466385288598117041.0e14;n[g+24>>2]=-3402823466385288598117041.0e14;e=g+28|0;a=e;d=a+36|0;do{f[a>>2]=0;a=a+4|0}while((a|0)<(d|0));d=KLa(g,b,c)|0;a=f[g+52>>2]|0;if(a|0){f[g+56>>2]=a;GBb(a)}a=f[g+40>>2]|0;if(a|0){f[g+44>>2]=a;GBb(a)}a=f[e>>2]|0;if(!a){u=h;return d|0}f[g+32>>2]=a;GBb(a);u=h;return d|0}function KLa(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;r=u;u=u+80|0;k=r+72|0;n=r+40|0;o=r+16|0;q=r;d=f[c+232>>2]|0;if(!d){q=0;u=r;return q|0}d=WCb(d,295184,279368,0)|0;if(!d){q=0;u=r;return q|0}i=d+76|0;j=d+80|0;e=b+4|0;if((((f[j>>2]|0)-(f[i>>2]|0)|0)/12|0)>>>0<=(f[e>>2]|0)>>>0){q=0;u=r;return q|0}g=RJ(c)|0;l=a+4|0;f[l>>2]=f[g>>2];f[l+4>>2]=f[g+4>>2];f[l+8>>2]=f[g+8>>2];f[l+12>>2]=f[g+12>>2];f[l+16>>2]=f[g+16>>2];f[l+20>>2]=f[g+20>>2];g=(f[a>>2]|0)+36|0;h=f[g>>2]|0;if(((h|0)!=(d|0)?(f[g>>2]=d,p=d+8|0,f[p>>2]=(f[p>>2]|0)+1,h|0):0)?(m=h+8|0,p=f[m>>2]|0,f[m>>2]=p-1,(p|0)==1):0)Rua(h,1,1);LLa((f[a>>2]|0)+64|0,(~~(+((((f[j>>2]|0)-(f[i>>2]|0)|0)/12|0)>>>0)*2.0/+((f[e>>2]|0)>>>0))>>>0)*5|0);MLa(a,b);p=((f[j>>2]|0)-(f[i>>2]|0)|0)/12|0;f[b>>2]=p+(f[b>>2]|0);p=p<<1;m=a+40|0;zM(m,p);oy(a+52|0,p);f[k>>2]=345636;f[k+4>>2]=a;Bj[f[(f[c>>2]|0)+292>>2]&1023](c,k);zM(m,((f[j>>2]|0)-(f[i>>2]|0)|0)/12|0);p=a+44|0;k=(f[p>>2]|0)-(f[m>>2]|0)>>2;f[n+24>>2]=-1;f[n+28>>2]=k;f[n>>2]=f[l>>2];f[n+4>>2]=f[l+4>>2];f[n+8>>2]=f[l+8>>2];f[n+12>>2]=f[l+12>>2];f[n+16>>2]=f[l+16>>2];f[n+20>>2]=f[l+20>>2];k=f[a>>2]|0;d=k+64|0;e=k+68|0;g=f[e>>2]|0;h=g-(f[d>>2]|0)>>5;if((f[k+72>>2]|0)==(g|0))NLa(d,n);else{k=g;f[k>>2]=f[n>>2];f[k+4>>2]=f[n+4>>2];f[k+8>>2]=f[n+8>>2];f[k+12>>2]=f[n+12>>2];f[k+16>>2]=f[n+16>>2];f[k+20>>2]=f[n+20>>2];f[k+24>>2]=f[n+24>>2];f[k+28>>2]=f[n+28>>2];f[e>>2]=(f[e>>2]|0)+32};f[o>>2]=f[l>>2];f[o+4>>2]=f[l+4>>2];f[o+8>>2]=f[l+8>>2];f[o+12>>2]=f[l+12>>2];f[o+16>>2]=f[l+16>>2];f[o+20>>2]=f[l+20>>2];OLa(a,b,o,h,0)|0;i=f[a>>2]|0;j=i+40|0;f[q>>2]=0;k=q+4|0;f[k>>2]=0;c=q+8|0;f[c>>2]=0;zM(q,(f[p>>2]|0)-(f[m>>2]|0)>>2);e=f[m>>2]|0;d=f[p>>2]|0;if((e|0)!=(d|0))do{g=(f[j>>2]|0)+(f[e>>2]<<2)|0;h=f[k>>2]|0;if((h|0)==(f[c>>2]|0)){iw(q,g);d=f[p>>2]|0}else{f[h>>2]=f[g>>2];f[k>>2]=h+4}e=e+4|0}while((e|0)!=(d|0));e=f[j>>2]|0;f[j>>2]=f[q>>2];f[q>>2]=e;d=i+44|0;q=f[d>>2]|0;f[d>>2]=f[k>>2];f[k>>2]=q;q=i+48|0;d=f[q>>2]|0;f[q>>2]=f[c>>2];f[c>>2]=d;d=f[a>>2]|0;d=(f[d+64>>2]|0)!=(f[d+68>>2]|0);if(e|0){f[k>>2]=e;GBb(e)}q=d;u=r;return q|0}function LLa(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 MLa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0;q=u;u=u+16|0;l=q+4|0;p=q;e=+n[a+16>>2]-+n[a+4>>2];g=+n[a+20>>2]-+n[a+8>>2];d=+n[a+24>>2]-+n[a+12>>2];n[l>>2]=e;k=l+4|0;n[k>>2]=g;m=l+8|0;n[m>>2]=d;o=a+28|0;i=b+8|0;zM(o,f[i>>2]|0);if(!(f[i>>2]|0)){u=q;return}j=a+32|0;h=a+36|0;b=0;while(1){a=!(e>=g)?(!(g>=d)?2:1):!(e>=d)?2:0;f[p>>2]=a;c=f[j>>2]|0;if(c>>>0<(f[h>>2]|0)>>>0){f[c>>2]=a;f[j>>2]=c+4}else ML(o,p);c=l+(a<<2)|0;n[c>>2]=+n[c>>2]*.5;b=b+1|0;if(b>>>0>=(f[i>>2]|0)>>>0)break;g=+n[k>>2];e=+n[l>>2];d=+n[m>>2]}u=q;return}function NLa(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>>5;c=g+1|0;if(c>>>0>134217727)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>4;h=e>>5>>>0<67108863?(h>>>0<c>>>0?c:h):134217727;do if(h)if(h>>>0>134217727){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<5)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<5)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];f[c+16>>2]=f[b+16>>2];f[c+20>>2]=f[b+20>>2];f[c+24>>2]=f[b+24>>2];f[c+28>>2]=f[b+28>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+32;f[l>>2]=d+(h<<5);if(!j)return;GBb(j);return}
  7. function Rj(a){a=a|0;var b=0;b=u;u=u+a|0;u=u+15&-16;return b|0}function Sj(){return u|0}function Tj(a){a=a|0;u=a}function Uj(a,b){a=a|0;b=b|0;u=a;v=b}function Vj(a,b){a=a|0;b=b|0;if(!w){w=a;x=b}}function Wj(a){a=a|0;H=a}function Xj(){return H|0}function Yj(a){a=a|0;var b=0,c=0,d=0;b=u;u=u+16|0;d=b;a=Nu(503704,a,Rmb(a)|0)|0;Drb(d,a+(f[(f[a>>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(a,c)|0;Krb(a)|0;u=b;return}function Zj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=u;u=u+1040|0;e=c+1024|0;d=c;f[e>>2]=b;Vnb(d,1024,a,e)|0;Yj(d);u=c;return}function _j(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=u;u=u+1040|0;h=g+1024|0;e=g;f[h>>2]=d;Vnb(e,1024,c,h)|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;c=Rmb(e)|0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11){b[a+11>>0]=c;if(!c){h=a;h=h+c|0;b[h>>0]=0;u=g;return}}else{d=c+16&-16;h=EBb(d)|0;f[a>>2]=h;f[a+8>>2]=d|-2147483648;f[a+4>>2]=c;a=h}YDb(a|0,e|0,c|0)|0;h=a;h=h+c|0;b[h>>0]=0;u=g;return}function $j(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;x=u;u=u+16|0;s=x;f[a>>2]=0;t=a+4|0;f[t>>2]=0;v=a+8|0;f[v>>2]=0;p=c+11|0;q=c+4|0;w=s+11|0;r=s+11|0;e=b[p>>0]|0;g=e<<24>>24<0;o=g?f[c>>2]|0:c;e=g?f[q>>2]|0:e&255;g=0;n=Rmb(d)|0;a:do{if(n){i=o+g|0;k=o+e|0;l=k;j=l-i|0;if((j|0)<(n|0))break;m=h[d>>0]|0;while(1){j=j-n+1|0;if(!j)break a;i=Ymb(i,m,j)|0;if(!i)break a;if(!(anb(i,d,n)|0))break;i=i+1|0;j=l-i|0;if((j|0)<(n|0))break a}if((i|0)==(k|0))break;else i=i-o|0}else i=g;if((i|0)==-1)break;SBb(s,c,g,i-g|0,c);e=f[t>>2]|0;if(e>>>0>=(f[v>>2]|0)>>>0){Pu(a,s);if((b[r>>0]|0)<0)GBb(f[s>>2]|0)}else{f[e>>2]=f[s>>2];f[e+4>>2]=f[s+4>>2];f[e+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[t>>2]=(f[t>>2]|0)+12}g=i+1|0;e=b[p>>0]|0;n=e<<24>>24<0;o=n?f[c>>2]|0:c;e=n?f[q>>2]|0:e&255;n=Rmb(d)|0}while(e>>>0>=g>>>0);SBb(s,c,g,e,c);e=f[t>>2]|0;if(e>>>0<(f[v>>2]|0)>>>0){f[e>>2]=f[s>>2];f[e+4>>2]=f[s+4>>2];f[e+8>>2]=f[s+8>>2];f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[t>>2]=(f[t>>2]|0)+12;u=x;return}Pu(a,s);if((b[w>>0]|0)>=0){u=x;return}GBb(f[s>>2]|0);u=x;return}function ak(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=b[c+11>>0]|0;g=i<<24>>24<0;d=g?f[c>>2]|0:c;e=d;i=g?f[c+4>>2]|0:i&255;g=d+i|0;a:do if(!i){i=d;c=e}else{c=e;while(1){if(!(Fnb(b[d>>0]|0)|0)){i=d;break a}c=d+1|0;if((c|0)==(g|0))break;else d=c}i=g;c=g}while(0);d=g;b:do if((g|0)!=(i|0)){h=g;while(1){g=h;e=h+-1|0;if(!(Fnb(b[e>>0]|0)|0))break b;if((e|0)==(i|0))break;else{h=e;d=e}}g=i;d=i}while(0);f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;d=d-c|0;if(d>>>0>4294967279)MBb(a);if(d>>>0<11)b[a+11>>0]=d;else{e=d+16&-16;h=EBb(e)|0;f[a>>2]=h;f[a+8>>2]=e|-2147483648;f[a+4>>2]=d;a=h}if((i|0)==(g|0)){i=a;b[i>>0]=0;return}e=g+(0-c)|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}i=a+e|0;b[i>>0]=0;return}function bk(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;r=u;u=u+64|0;q=r+48|0;m=r+36|0;n=r+24|0;o=r+12|0;p=r;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=a+4;if((c|0)<2){u=r;return}d=f[d+4>>2]|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;e=Rmb(d)|0;if(e>>>0>4294967279)MBb(m);if(e>>>0<11){b[m+11>>0]=e;if(!e)c=m;else{c=m;g=7}}else{g=e+16&-16;c=EBb(g)|0;f[m>>2]=c;f[m+8>>2]=g|-2147483648;f[m+4>>2]=e;g=7}if((g|0)==7)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;$j(q,m,362152);if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);d=f[q>>2]|0;l=q+4|0;g=f[l>>2]|0;if((d|0)!=(g|0)){h=n+4|0;i=m+11|0;j=p+11|0;k=o+11|0;do{OBb(m,d);$j(n,m,362154);e=f[n>>2]|0;c=e;if(((f[h>>2]|0)-e|0)==24){OBb(o,c);OBb(p,(f[n>>2]|0)+12|0);UBb(ck(a,o)|0,p)|0;if((b[j>>0]|0)<0)GBb(f[p>>2]|0);if((b[k>>0]|0)<0)GBb(f[o>>2]|0);c=f[n>>2]|0}if(c|0){e=f[h>>2]|0;if((e|0)==(c|0))e=c;else{do{e=e+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(c|0));e=f[n>>2]|0}f[h>>2]=c;GBb(e)}if((b[i>>0]|0)<0)GBb(f[m>>2]|0);d=d+12|0}while((d|0)!=(g|0));d=f[q>>2]|0}if(d|0){c=f[l>>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[q>>2]|0}f[l>>2]=d;GBb(c)}u=r;return}function ck(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=Qu(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(40)|0;OBb(g+16|0,b);c=g+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>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 dk(a,b){a=a|0;b=b|0;var c=0,d=0;c=EBb(152)|0;fSa(c,35633,a);a=EBb(152)|0;fSa(a,35632,b);b=EBb(196)|0;TRa(b);d=b+8|0;f[d>>2]=(f[d>>2]|0)+1;ARa(b,c)|0;ARa(b,a)|0;v0a(b)|0;return b|0}function ek(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,z=0;z=u;u=u+32|0;t=z+12|0;v=z;f[a>>2]=0;w=a+4|0;f[w>>2]=0;x=a+8|0;f[x>>2]=0;y=c+4|0;g=f[c>>2]|0;if((f[y>>2]|0)==(g|0)){u=z;return}o=e+-1|0;p=d+-1|0;q=v+4|0;r=v+8|0;s=t+4|0;n=(e|0)<2|(d|0)<2;m=0;do{fk(t,g+(m*12|0)|0);if(!n){j=0;do{k=j;j=j+1|0;l=0;do{h=f[t>>2]|0;g=h+(k*12|0)|0;d=(b[g+11>>0]|0)<0;if(d)e=f[g>>2]|0;else e=g;i=l;l=l+1|0;if((b[e+i>>0]|0)==49){if(d)g=f[g>>2]|0;if((b[g+l>>0]|0)==50){g=h+(j*12|0)|0;d=(b[g+11>>0]|0)<0;if(d)e=f[g>>2]|0;else e=g;if((b[e+i>>0]|0)==52){if(d)g=f[g>>2]|0;if((b[g+l>>0]|0)==51){f[v>>2]=m;f[q>>2]=k;f[r>>2]=i;g=f[w>>2]|0;if(g>>>0<(f[x>>2]|0)>>>0){f[g>>2]=f[v>>2];f[g+4>>2]=f[v+4>>2];f[g+8>>2]=f[v+8>>2];f[w>>2]=(f[w>>2]|0)+12}else Su(a,v)}}}}}while((l|0)<(p|0))}while((j|0)<(o|0))}d=f[t>>2]|0;if(d|0){g=f[s>>2]|0;if((g|0)==(d|0))g=d;else{do{g=g+-12|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0)}while((g|0)!=(d|0));g=f[t>>2]|0}f[s>>2]=d;GBb(g)}m=m+1|0;g=f[c>>2]|0}while(m>>>0<(((f[y>>2]|0)-g|0)/12|0)>>>0);u=z;return}function fk(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)/12|0;if(!c)return;if(e>>>0>357913941)DCb(a);c=EBb(c)|0;f[h>>2]=c;f[a>>2]=c;f[d>>2]=c+(e*12|0);a=f[b>>2]|0;b=f[g>>2]|0;if((a|0)==(b|0))return;do{OBb(c,a);a=a+12|0;c=(f[h>>2]|0)+12|0;f[h>>2]=c}while((a|0)!=(b|0));return}function gk(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,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;aa=u;u=u+176|0;J=aa+8|0;I=aa;$=aa+132|0;V=aa+120|0;W=aa+108|0;X=aa+96|0;Y=aa+84|0;Z=aa+72|0;T=aa+60|0;O=aa+48|0;M=aa+36|0;F=aa+24|0;G=aa+12|0;_=$+12|0;f[_>>2]=0;f[_+4>>2]=0;f[_+8>>2]=0;f[_+12>>2]=0;f[_+16>>2]=0;f[_+20>>2]=0;f[$>>2]=32;K=$+4|0;f[K>>2]=16;L=$+8|0;f[L>>2]=0;f[V>>2]=0;f[V+4>>2]=0;f[V+8>>2]=0;U=V+11|0;b[U>>0]=1;b[V>>0]=35;b[V+1>>0]=0;f[W>>2]=0;f[W+4>>2]=0;f[W+8>>2]=0;d=EBb(32)|0;f[W>>2]=d;f[W+8>>2]=-2147483616;H=W+4|0;f[H>>2]=18;e=d;g=362156;h=e+18|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[d+18>>0]=0;f[X>>2]=0;f[X+4>>2]=0;f[X+8>>2]=0;P=X+11|0;b[P>>0]=1;b[X>>0]=100;b[X+1>>0]=0;f[Y>>2]=0;f[Y+4>>2]=0;f[Y+8>>2]=0;Q=Y+11|0;b[Q>>0]=1;b[Y>>0]=119;b[Y+1>>0]=0;f[Z>>2]=0;f[Z+4>>2]=0;f[Z+8>>2]=0;R=Z+11|0;b[R>>0]=1;b[Z>>0]=104;b[Z+1>>0]=0;f[T>>2]=0;S=T+4|0;f[S>>2]=0;D=T+8|0;f[D>>2]=0;f[O>>2]=0;N=O+4|0;f[N>>2]=0;E=O+8|0;f[E>>2]=0;e=f[a>>2]|0;m=f[a+4>>2]|0;a:do if((e|0)!=(m|0)){n=V+4|0;o=M+11|0;p=M+4|0;q=W+11|0;r=F+11|0;s=F+4|0;t=X+4|0;v=Y+4|0;w=Z+4|0;x=$+24|0;y=x+11|0;z=G+11|0;A=$+28|0;B=G+11|0;C=G+11|0;d=0;l=e;do{OBb(M,l);h=b[U>>0]|0;g=h<<24>>24<0;h=g?f[n>>2]|0:h&255;e=b[o>>0]|0;a=e<<24>>24<0;b:do if(h>>>0<=(a?f[p>>2]|0:e&255)>>>0){g=g?f[V>>2]|0:V;i=g+h|0;if(!h)g=3;else{h=g;g=a?f[M>>2]|0:M;while(1){if((b[h>>0]|0)!=(b[g>>0]|0)){k=8;break b}h=h+1|0;if((h|0)==(i|0)){g=3;break}else g=g+1|0}}}else k=8;while(0);if((k|0)==8){k=0;ak(F,M);a=b[q>>0]|0;e=a<<24>>24<0;a=e?f[H>>2]|0:a&255;i=b[r>>0]|0;j=i<<24>>24<0;i=j?f[s>>2]|0:i&255;c:do if(a>>>0<=i>>>0){e=e?f[W>>2]|0:W;h=e+a|0;if(a|0){g=j?f[F>>2]|0:F;while(1){if((b[e>>0]|0)!=(b[g>>0]|0)){k=21;break c}e=e+1|0;if((e|0)==(h|0))break;else g=g+1|0}}SBb(G,F,a,-1,F);if((b[y>>0]|0)<0){b[f[x>>2]>>0]=0;f[A>>2]=0}else{b[x>>0]=0;b[y>>0]=0}YBb(x,0);f[x>>2]=f[G>>2];f[x+4>>2]=f[G+4>>2];f[x+8>>2]=f[G+8>>2];h=b[y>>0]|0;g=f[A>>2]|0;e=h&255;if(((h<<24>>24<0?g:e)|0)==3){if(!(nCb(x,0,-1,410783,3)|0)){k=61;break}h=b[y>>0]|0;e=h&255;g=f[A>>2]|0}if(((h<<24>>24<0?g:e)|0)==3?(nCb(x,0,-1,362175,3)|0)==0:0)k=61;else e=1}else k=21;while(0);d:do if((k|0)==21){a=b[P>>0]|0;e=a<<24>>24<0;a=e?f[t>>2]|0:a&255;e:do if(a>>>0<=i>>>0){e=e?f[X>>2]|0:X;h=e+a|0;if(a|0){g=j?f[F>>2]|0:F;while(1){if((b[e>>0]|0)!=(b[g>>0]|0))break e;e=e+1|0;if((e|0)==(h|0))break;else g=g+1|0}}SBb(G,F,a,-1,F);if((b[z>>0]|0)<0){k=f[G>>2]|0;j=Tnb(k)|0;f[L>>2]=j;GBb(k)}else{k=Tnb(G)|0;f[L>>2]=k}k=61;break d}while(0);a=b[Q>>0]|0;e=a<<24>>24<0;a=e?f[v>>2]|0:a&255;f:do if(a>>>0<=i>>>0){e=e?f[Y>>2]|0:Y;h=e+a|0;if(a|0){g=j?f[F>>2]|0:F;while(1){if((b[e>>0]|0)!=(b[g>>0]|0))break f;e=e+1|0;if((e|0)==(h|0))break;else g=g+1|0}}SBb(G,F,a,-1,F);if((b[B>>0]|0)<0){k=f[G>>2]|0;j=Tnb(k)|0;f[$>>2]=j;GBb(k)}else{k=Tnb(G)|0;f[$>>2]=k}k=61;break d}while(0);a=b[R>>0]|0;e=a<<24>>24<0;a=e?f[w>>2]|0:a&255;g:do if(a>>>0<=i>>>0){e=e?f[Z>>2]|0:Z;h=e+a|0;if(a|0){g=j?f[F>>2]|0:F;while(1){if((b[e>>0]|0)!=(b[g>>0]|0))break g;e=e+1|0;if((e|0)==(h|0))break;else g=g+1|0}}SBb(G,F,a,-1,F);if((b[C>>0]|0)<0){k=f[G>>2]|0;j=Tnb(k)|0;f[K>>2]=j;GBb(k)}else{k=Tnb(G)|0;f[K>>2]=k}k=61;break d}while(0);e=f[N>>2]|0;if((e|0)==(f[E>>2]|0))Ru(O,F);else{OBb(e,F);f[N>>2]=(f[N>>2]|0)+12}d=d+1|0;if((d|0)<(f[K>>2]|0))k=61;else{d=f[S>>2]|0;if((d|0)==(f[D>>2]|0))Tu(T,O);else{fk(d,O);f[S>>2]=(f[S>>2]|0)+12}e=f[O>>2]|0;d=f[N>>2]|0;if((d|0)!=(e|0))do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));f[N>>2]=e;d=0;k=61}}while(0);if((k|0)==61){k=0;e=0}if((b[r>>0]|0)<0)GBb(f[F>>2]|0);g=e;e=b[o>>0]|0}if(e<<24>>24<0)GBb(f[M>>2]|0);switch(g|0){case 3:case 0:break;default:{i=0;break a}}l=l+12|0}while((l|0)!=(m|0));e=f[L>>2]|0;d=((f[S>>2]|0)-(f[T>>2]|0)|0)/12|0;if(e)if((d|0)==(e|0))k=75;else{f[I>>2]=e;f[I+4>>2]=d;_j(M,362190,I);c=M+11|0;f[J>>2]=(b[c>>0]|0)<0?f[M>>2]|0:M;Zj(362179,J);if((b[c>>0]|0)<0)GBb(f[M>>2]|0);i=0}else k=74}else{d=0;k=74}while(0);if((k|0)==74){f[L>>2]=d;k=75}if((k|0)==75){ek(M,T,f[$>>2]|0,f[K>>2]|0);h=$+12|0;d=f[h>>2]|0;if(!d){e=$+20|0;g=$+16|0}else{g=$+16|0;f[g>>2]=d;GBb(d);e=$+20|0;f[e>>2]=0;f[g>>2]=0;f[h>>2]=0}a=f[M>>2]|0;f[h>>2]=a;d=f[M+4>>2]|0;f[g>>2]=d;f[e>>2]=f[M+8>>2];f[c>>2]=f[$>>2];f[c+4>>2]=f[$+4>>2];f[c+8>>2]=f[$+8>>2];if(($|0)!=(c|0))Bk(c+12|0,a,d);UBb(c+24|0,$+24|0)|0;i=1}e=f[O>>2]|0;if(e|0){d=f[N>>2]|0;if((d|0)==(e|0))d=e;else{do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));d=f[O>>2]|0}f[N>>2]=e;GBb(d)}a=f[T>>2]|0;if(a|0){d=f[S>>2]|0;if((d|0)==(a|0))d=a;else{do{e=d;d=d+-12|0;h=f[d>>2]|0;if(h|0){g=e+-8|0;e=f[g>>2]|0;if((e|0)==(h|0))e=h;else{do{e=e+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(h|0));e=f[d>>2]|0}f[g>>2]=h;GBb(e)}}while((d|0)!=(a|0));d=f[T>>2]|0}f[S>>2]=a;GBb(d)}if((b[R>>0]|0)<0)GBb(f[Z>>2]|0);if((b[Q>>0]|0)<0)GBb(f[Y>>2]|0);if((b[P>>0]|0)<0)GBb(f[X>>2]|0);if((b[W+11>>0]|0)<0)GBb(f[W>>2]|0);if((b[U>>0]|0)<0)GBb(f[V>>2]|0);d=$+24|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);d=f[_>>2]|0;if(!d){u=aa;return i|0}f[$+16>>2]=d;GBb(d);u=aa;return i|0}function hk(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=u;u=u+16|0;n=q+12|0;o=q;f[o>>2]=0;p=o+4|0;f[p>>2]=0;g=o+8|0;f[g>>2]=0;f[n>>2]=0;c=0;do{e=(c|0)<36?4:1;c=0;do{d=f[p>>2]|0;if((d|0)==(f[g>>2]|0))Uu(o,n);else{f[d>>2]=f[n>>2];f[p>>2]=d+4}c=c+1|0}while(c>>>0<e>>>0);m=f[n>>2]|0;c=m+1|0;f[n>>2]=c}while((m|0)<41);f[a>>2]=0;l=a+4|0;f[l>>2]=0;m=a+8|0;f[m>>2]=0;a:do if((b|0)>0){c=f[o>>2]|0;d=0;k=0;g=c;h=0;i=0;j=c;while(1){e=f[g+(k<<2)>>2]|0;f[n>>2]=e;if((h|0)==(i|0)){Uu(a,n);j=f[o>>2]|0;c=j;g=c}else{f[h>>2]=e;f[l>>2]=h+4;g=j}e=k+1|0;d=d+1|0;if((d|0)>=(b|0))break a;k=e>>>0<(f[p>>2]|0)-j>>2>>>0?e:0;h=f[l>>2]|0;i=f[m>>2]|0}}else c=f[o>>2]|0;while(0);if(!c){u=q;return}f[p>>2]=c;GBb(c);u=q;return}function ik(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;n=u;u=u+16|0;j=n;f[a>>2]=0;k=a+4|0;f[k>>2]=0;l=a+8|0;f[l>>2]=0;m=b+4|0;h=f[m>>2]|0;d=f[b>>2]|0;e=h-d|0;if(!e){u=n;return}i=c+2496|0;do{q=f[i>>2]|0;o=((q+1|0)>>>0)%624|0;p=c+(q<<2)|0;g=f[c+(o<<2)>>2]|0;g=0-(g&1)&-1727483681^f[c+((((q+397|0)>>>0)%624|0)<<2)>>2]^(g&2147483646|f[p>>2]&-2147483648)>>>1;f[p>>2]=g;g=g>>>11^g;f[i>>2]=o;g=g<<7&-1658038656^g;g=g<<15&-272236544^g;e=d+((((g>>>18^g)>>>0)%(((e|0)/12|0)>>>0)|0)*12|0)|0;f[j>>2]=f[e>>2];f[j+4>>2]=f[e+4>>2];f[j+8>>2]=f[e+8>>2];g=e+12|0;d=h-g|0;if(d|0)ZDb(e|0,g|0,d|0)|0;f[m>>2]=e+(((d|0)/12|0)*12|0);d=f[k>>2]|0;if((d|0)==(f[l>>2]|0))Vu(a,j);else{f[d>>2]=f[j>>2];f[d+4>>2]=f[j+4>>2];f[d+8>>2]=f[j+8>>2];f[k>>2]=(f[k>>2]|0)+12}h=f[m>>2]|0;d=f[b>>2]|0;e=h-d|0}while((e|0)!=0);u=n;return}function jk(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+64|0;g=k+24|0;i=k+12|0;h=k;f[i>>2]=0;j=i+4|0;f[j>>2]=0;e=i+8|0;f[e>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;while(1){Drb(g,a+(f[(f[a>>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);d=Wu(a,h,d)|0;if(f[d+(f[(f[d>>2]|0)+-12>>2]|0)+16>>2]&5|0)break;d=f[j>>2]|0;if((d|0)==(f[e>>2]|0))Ru(i,h);else{OBb(d,h);f[j>>2]=(f[j>>2]|0)+12}}d=g+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;e=gk(i,g)|0;if(e?(f[c>>2]=f[g>>2],f[c+4>>2]=f[g+4>>2],f[c+8>>2]=f[g+8>>2],(g|0)!=(c|0)):0)Bk(c+12|0,f[d>>2]|0,f[g+16>>2]|0);a=g+24|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);a=f[d>>2]|0;if(a|0){f[g+16>>2]=a;GBb(a)}if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);d=f[i>>2]|0;if(!d){u=k;return e|0}a=f[j>>2]|0;if((a|0)==(d|0))a=d;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(d|0));a=f[i>>2]|0}f[j>>2]=d;GBb(a);u=k;return e|0}function kk(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;m=u;u=u+32|0;l=m+8|0;k=m;h=m+12|0;j=c+12|0;i=b[j+11>>0]|0;g=i<<24>>24<0;e=g?f[j>>2]|0:j;i=g?f[c+16>>2]|0:i&255;g=e+i|0;a:do if((i|0)>=1){d=g;while(1){d=d+-1|0;if((b[d>>0]|0)==46)break;if((e|0)==(d|0))break a}i=d-e|0;if(!((d|0)==(g|0)|(i|0)==-1)){SBb(a,j,i+1|0,-1,j);u=m;return}}while(0);f[k>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;f[k+4>>2]=e;_j(h,362268,k);k=h+11|0;f[l>>2]=(b[k>>0]|0)<0?f[h>>2]|0:h;Zj(362256,l);if((b[k>>0]|0)<0)GBb(f[h>>2]|0);f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;u=m;return}function lk(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;s=u;u=u+224|0;k=s+48|0;j=s+32|0;m=s+24|0;l=s+16|0;h=s+8|0;g=s;p=s+208|0;q=s+176|0;r=s+88|0;o=s+64|0;i=s+52|0;e=b[d+11>>0]|0;if(e<<24>>24<0)e=f[d+4>>2]|0;else e=e&255;if(!e)kk(p,c);else OBb(p,d);n=p+11|0;d=b[n>>0]|0;do if(!((d<<24>>24<0?f[p+4>>2]|0:d&255)|0)){r=c+12|0;r=(b[r+11>>0]|0)<0?f[r>>2]|0:r;f[g>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;f[g+4>>2]=r;_j(q,362327,g);r=q+11|0;f[h>>2]=(b[r>>0]|0)<0?f[q>>2]|0:q;Zj(362256,h);if((b[r>>0]|0)<0)GBb(f[q>>2]|0);f[a>>2]=0}else{e=V_(YZ(0)|0,p)|0;if(!e){o=c+12|0;o=(b[o+11>>0]|0)<0?f[o>>2]|0:o;r=(b[n>>0]|0)<0?f[p>>2]|0:p;f[j>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;f[j+4>>2]=o;f[j+8>>2]=r;_j(q,362460,j);r=q+11|0;f[k>>2]=(b[r>>0]|0)<0?f[q>>2]|0:q;Zj(362256,k);if((b[r>>0]|0)<0)GBb(f[q>>2]|0)}else{Hrb(q);f[q>>2]=302248;j=f[c+24>>2]|0;k=j+(f[c+28>>2]|0)|0;f[q+8>>2]=j;f[q+12>>2]=j;f[q+16>>2]=k;k=r+8|0;f[r>>2]=358820;f[k>>2]=358840;f[r+4>>2]=0;Brb(k,q);f[r+80>>2]=0;f[r+84>>2]=-1;Ij[f[(f[e>>2]|0)+260>>2]&127](o,e,r,0);if((f[o>>2]|1|0)==5){e=f6(o)|0;if(!e)e=0;else{m=e+8|0;f[m>>2]=(f[m>>2]|0)+1}}else{k=c+12|0;k=(b[k+11>>0]|0)<0?f[k>>2]|0:k;f[l>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;f[l+4>>2]=k;_j(i,362401,l);l=i+11|0;f[m>>2]=(b[l>>0]|0)<0?f[i>>2]|0:i;Zj(362256,m);if((b[l>>0]|0)<0)GBb(f[i>>2]|0);e=0}d=o+16|0;g=f[d>>2]|0;if(g|0?(l=g+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(g,1,1);f[d>>2]=0;d=o+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);_qb(r);qqb(q);if(e|0){v0a(e)|0;f[a>>2]=e;r=e+8|0;f[r>>2]=(f[r>>2]|0)+1;break}}f[a>>2]=0}while(0);if((b[n>>0]|0)>=0){u=s;return}GBb(f[p>>2]|0);u=s;return}function mk(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;s=u;u=u+224|0;l=s+48|0;k=s+32|0;n=s+24|0;m=s+16|0;h=s+8|0;g=s;p=s+208|0;q=s+176|0;r=s+88|0;o=s+64|0;j=s+52|0;e=b[d+11>>0]|0;if(e<<24>>24<0)e=f[d+4>>2]|0;else e=e&255;if(!e)kk(p,c);else OBb(p,d);i=p+11|0;d=b[i>>0]|0;do if(!((d<<24>>24<0?f[p+4>>2]|0:d&255)|0)){r=c+12|0;r=(b[r+11>>0]|0)<0?f[r>>2]|0:r;f[g>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;f[g+4>>2]=r;_j(q,362642,g);r=q+11|0;f[h>>2]=(b[r>>0]|0)<0?f[q>>2]|0:q;Zj(362256,h);if((b[r>>0]|0)<0)GBb(f[q>>2]|0)}else{e=V_(YZ(0)|0,p)|0;if(!e){o=c+12|0;o=(b[o+11>>0]|0)<0?f[o>>2]|0:o;r=(b[i>>0]|0)<0?f[p>>2]|0:p;f[k>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;f[k+4>>2]=o;f[k+8>>2]=r;_j(q,362777,k);r=q+11|0;f[l>>2]=(b[r>>0]|0)<0?f[q>>2]|0:q;Zj(362256,l);if((b[r>>0]|0)<0)GBb(f[q>>2]|0);break}Hrb(q);f[q>>2]=302248;k=f[c+24>>2]|0;l=k+(f[c+28>>2]|0)|0;f[q+8>>2]=k;f[q+12>>2]=k;f[q+16>>2]=l;l=r+8|0;f[r>>2]=358820;f[l>>2]=358840;f[r+4>>2]=0;Brb(l,q);f[r+80>>2]=0;f[r+84>>2]=-1;Ij[f[(f[e>>2]|0)+252>>2]&127](o,e,r,0);if((f[o>>2]|1|0)!=5){l=c+12|0;l=(b[l+11>>0]|0)<0?f[l>>2]|0:l;f[m>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;f[m+4>>2]=l;_j(j,362717,m);m=j+11|0;f[n>>2]=(b[m>>0]|0)<0?f[j>>2]|0:j;Zj(362256,n);if((b[m>>0]|0)<0)GBb(f[j>>2]|0)}else eWa(a,Yda(o)|0);e=o+16|0;d=f[e>>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[e>>2]=0;e=o+4|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);_qb(r);qqb(q)}while(0);if((b[i>>0]|0)>=0){u=s;return}GBb(f[p>>2]|0);u=s;return}function nk(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;d=EBb(264)|0;UWa(d);g=d+8|0;f[g>>2]=(f[g>>2]|0)+1;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;mk(d,a,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c2a(d,0,10497);c2a(d,1,10497);L$a(d,0,9987);L$a(d,1,9729);v0a(d)|0;u=e;return d|0}function ok(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;q=u;u=u+80|0;n=q+16|0;m=q;p=q+56|0;o=q+44|0;l=q+32|0;k=b[d+11>>0]|0;h=k<<24>>24<0;k=h?f[d+4>>2]|0:k&255;i=b[c+11>>0]|0;j=i<<24>>24<0;a:do if(k>>>0<=(j?f[c+4>>2]|0:i&255)>>>0){h=h?f[d>>2]|0:d;i=h+k|0;if(k|0){d=j?f[c>>2]|0:c;while(1){if((b[h>>0]|0)!=(b[d>>0]|0))break a;h=h+1|0;if((h|0)==(i|0))break;else d=d+1|0}}SBb(p,c,k,-1,c);$j(o,p,432091);j=o+4|0;h=f[o>>2]|0;d=h;if((((f[j>>2]|0)-h|0)/12|0)>>>0<3){OBb(a,c);h=o}else{if((b[h+11>>0]|0)<0)i=f[d>>2]|0;else i=h;h=d+12|0;if((b[h+11>>0]|0)<0)h=f[h>>2]|0;f[m>>2]=i;f[m+4>>2]=h;_j(l,362875,m);h=l+11|0;i=b[h>>0]|0;SBb(m,p,(i<<24>>24<0?f[l+4>>2]|0:i&255)+1|0,-1,p);i=(b[h>>0]|0)<0?f[l>>2]|0:l;k=(b[g+11>>0]|0)<0?f[g>>2]|0:g;g=m+11|0;c=(b[g>>0]|0)<0?f[m>>2]|0:m;f[n>>2]=(b[e+11>>0]|0)<0?f[e>>2]|0:e;f[n+4>>2]=i;f[n+8>>2]=k;f[n+12>>2]=c;_j(a,362881,n);if((b[g>>0]|0)<0)GBb(f[m>>2]|0);if((b[h>>0]|0)<0)GBb(f[l>>2]|0);h=o}d=f[h>>2]|0;if(d|0){h=f[j>>2]|0;if((h|0)==(d|0))h=d;else{do{h=h+-12|0;if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}while((h|0)!=(d|0));h=f[o>>2]|0}f[j>>2]=d;GBb(h)}if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);u=q;return}while(0);OBb(a,c);u=q;return}function pk(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;j=u;u=u+48|0;e=j+24|0;g=j+12|0;h=j;d=EBb(16)|0;f[e>>2]=d;f[e+8>>2]=-2147483632;f[e+4>>2]=12;i=d;k=362893;l=i+12|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[d+12>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d=EBb(32)|0;f[g>>2]=d;f[g+8>>2]=-2147483616;f[g+4>>2]=21;i=d;k=362906;l=i+21|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[d+21>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;d=EBb(16)|0;f[h>>2]=d;f[h+8>>2]=-2147483632;f[h+4>>2]=11;i=d;k=362928;l=i+11|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[d+11>>0]=0;ok(a,c,e,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)>=0){u=j;return}GBb(f[e>>2]|0);u=j;return}function qk(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;k=u;u=u+48|0;d=k+24|0;e=k+12|0;g=k;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;h=d+11|0;b[h>>0]=9;j=d;l=362940;m=j+9|0;do{b[j>>0]=b[l>>0]|0;j=j+1|0;l=l+1|0}while((j|0)<(m|0));b[d+9>>0]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;i=EBb(48)|0;f[e>>2]=i;f[e+8>>2]=-2147483600;f[e+4>>2]=33;j=i;l=362950;m=j+33|0;do{b[j>>0]=b[l>>0]|0;j=j+1|0;l=l+1|0}while((j|0)<(m|0));b[i+33>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;m=g+11|0;b[m>>0]=6;b[g>>0]=b[362984]|0;b[g+1>>0]=b[362985]|0;b[g+2>>0]=b[362986]|0;b[g+3>>0]=b[362987]|0;b[g+4>>0]=b[362988]|0;b[g+5>>0]=b[362989]|0;b[g+6>>0]=0;ok(a,c,d,e,g);if((b[m>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[h>>0]|0)>=0){u=k;return}GBb(f[d>>2]|0);u=k;return}function rk(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=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.0,C=0.0,D=0,E=0,F=0,G=0,H=0.0,I=0.0,J=0.0,L=0.0,M=0.0,N=0.0;x=u;u=u+800|0;G=x+672|0;k=x+544|0;z=x+288|0;E=x+128|0;D=x+416|0;F=x+256|0;y=x;w=a+144|0;N=+p[w>>3];p[G>>3]=N;d=a+152|0;J=+p[d>>3];p[G+8>>3]=J;e=a+160|0;A=+p[e>>3];p[G+16>>3]=A;f=a+168|0;p[G+24>>3]=+p[f>>3];g=a+176|0;M=+p[g>>3];p[G+32>>3]=M;h=a+184|0;I=+p[h>>3];p[G+40>>3]=I;i=a+192|0;B=+p[i>>3];p[G+48>>3]=B;j=a+200|0;p[G+56>>3]=+p[j>>3];l=a+208|0;L=+p[l>>3];p[G+64>>3]=L;m=a+216|0;H=+p[m>>3];p[G+72>>3]=H;o=a+224|0;C=+p[o>>3];p[G+80>>3]=C;q=a+232|0;p[G+88>>3]=+p[q>>3];r=a+240|0;p[G+96>>3]=+p[r>>3];s=a+248|0;p[G+104>>3]=+p[s>>3];t=a+256|0;p[G+112>>3]=+p[t>>3];v=a+264|0;p[G+120>>3]=+p[v>>3];f3a(E);g3a(E,+K(+(N*N+M*M+L*L)),+K(+(J*J+I*I+H*H)),+K(+(A*A+B*B+C*C)));a3a(F,G);k3a(D,F);f3a(z);l3a(z,E,D);C=+n[c>>2];B=+n[c+4>>2];A=+n[c+8>>2];f3a(y);h3a(y,C,B,A);f3a(k);l3a(k,z,y);if((w|0)==(k|0)){G=a+400|0;b[G>>0]=1;ywa(a);u=x;return}p[w>>3]=+p[k>>3];p[d>>3]=+p[k+8>>3];p[e>>3]=+p[k+16>>3];p[f>>3]=+p[k+24>>3];p[g>>3]=+p[k+32>>3];p[h>>3]=+p[k+40>>3];p[i>>3]=+p[k+48>>3];p[j>>3]=+p[k+56>>3];p[l>>3]=+p[k+64>>3];p[m>>3]=+p[k+72>>3];p[o>>3]=+p[k+80>>3];p[q>>3]=+p[k+88>>3];p[r>>3]=+p[k+96>>3];p[s>>3]=+p[k+104>>3];p[t>>3]=+p[k+112>>3];p[v>>3]=+p[k+120>>3];G=a+400|0;b[G>>0]=1;ywa(a);u=x;return}function sk(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,o=0,q=0,r=0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0;h=u;u=u+672|0;g=h+544|0;o=h+416|0;i=h+288|0;r=h+256|0;j=h+128|0;q=h;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;p[r+24>>3]=1.0;k=+n[c>>2]*3.1415927410125732/180.0;n[g>>2]=1.0;n[g+4>>2]=0.0;n[g+8>>2]=0.0;x=+n[c+4>>2]*3.1415927410125732/180.0;n[o>>2]=0.0;n[o+4>>2]=1.0;n[o+8>>2]=0.0;y=+n[c+8>>2]*3.1415927410125732/180.0;n[i>>2]=0.0;n[i+4>>2]=0.0;n[i+8>>2]=1.0;x3a(r,k,g,x,o,y,i);c=a+144|0;y=+p[c>>3];x=+p[a+176>>3];k=+p[a+208>>3];d=a+152|0;w=+p[d>>3];v=+p[a+184>>3];l=+p[a+216>>3];e=a+160|0;t=+p[e>>3];s=+p[a+192>>3];m=+p[a+224>>3];k=+K(+(y*y+x*x+k*k));l=+K(+(w*w+v*v+l*l));m=+K(+(t*t+s*s+m*m));f3a(q);g3a(q,k,l,m);k3a(o,r);f3a(j);l3a(j,q,o);m=+p[a+240>>3];l=+p[a+248>>3];k=+p[a+256>>3];f3a(i);h3a(i,m,l,k);f3a(g);l3a(g,j,i);if((c|0)==(g|0)){r=a+400|0;b[r>>0]=1;ywa(a);u=h;return}p[c>>3]=+p[g>>3];p[d>>3]=+p[g+8>>3];p[e>>3]=+p[g+16>>3];p[a+168>>3]=+p[g+24>>3];p[a+176>>3]=+p[g+32>>3];p[a+184>>3]=+p[g+40>>3];p[a+192>>3]=+p[g+48>>3];p[a+200>>3]=+p[g+56>>3];p[a+208>>3]=+p[g+64>>3];p[a+216>>3]=+p[g+72>>3];p[a+224>>3]=+p[g+80>>3];p[a+232>>3]=+p[g+88>>3];p[a+240>>3]=+p[g+96>>3];p[a+248>>3]=+p[g+104>>3];p[a+256>>3]=+p[g+112>>3];p[a+264>>3]=+p[g+120>>3];r=a+400|0;b[r>>0]=1;ywa(a);u=h;return}function tk(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;j=u;u=u+288|0;h=j+96|0;g=j;i=EBb(96)|0;FY(i,0,+n[a>>2],+n[a+4>>2]);e=i+8|0;f[e>>2]=(f[e>>2]|0)+1;DY(h,i,0);Bj[f[(f[b>>2]|0)+212>>2]&1023](b,h);if(_i[f[(f[i>>2]|0)+32>>2]&2047](i)|0){a=f[i+28>>2]|0;a=(a|0)==0?i:a;a:do if(f[a+88>>2]|0){Ek(g,(f[a+80>>2]|0)+16|0);a=f[g+8>>2]|0;d=f[g+12>>2]|0;if((a|0)==(d|0))a=0;else{b=a;while(1){a=f[b>>2]|0;b=b+4|0;if((f[a+116>>2]&c|0)!=(c|0))break a;if((b|0)==(d|0)){a=0;break}}}}else{p[g>>3]=-1.0;a=g+8|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;a=g+32|0;b=a+64|0;do{f[a>>2]=0;a=a+4|0}while((a|0)<(b|0));a=0}while(0);uk(g)}else a=0;Fk(h,315648);Gva(h+160|0);h=f[e>>2]|0;f[e>>2]=h-1;if((h|0)!=1){u=j;return a|0}Rua(i,1,1);u=j;return a|0}function uk(a){a=a|0;var b=0,c=0,d=0,e=0;b=f[a+80>>2]|0;if(b|0){f[a+84>>2]=b;GBb(b)}b=f[a+68>>2]|0;if(b|0){f[a+72>>2]=b;GBb(b)}b=a+24|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;b=a+20|0;c=f[b>>2]|0;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[b>>2]=0;b=f[a+8>>2]|0;if(!b)return;f[a+12>>2]=b;GBb(b);return}function vk(){var a=0,c=0,d=0,e=0,g=0,h=0;h=u;u=u+64|0;e=h;if(!(f[124709]|0)){u=h;return}d=(gib(e)|0)==0;a=f[f[124709]>>2]|0;c=a+92|0;if(!d)do{c=f[(f[(f[c>>2]|0)+120>>2]|0)+624>>2]|0;do if(c|0?(g=WCb(c,297048,276480,0)|0,g|0):0){c=f[g+136>>2]|0;d=a+48|0;if(((f[e>>2]|0)+-1792|0)>>>0>=3){if(!(b[d>>0]|0)){Gk(a,e,c)|0;break}}else b[d>>0]=1;Hk(a,e,c)|0}while(0);d=(gib(e)|0)==0;a=f[f[124709]>>2]|0;c=a+92|0}while(!d);g=f[c>>2]|0;uj[f[(f[g>>2]|0)+64>>2]&31](g,1797693134862315708145274.0e284);Ik(a);u=h;return}function wk(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;l=u;u=u+48|0;d=l+24|0;i=l+8|0;j=l;k=l+28|0;if((Nhb(32)|0)<0){k=b5a()|0;f[d>>2]=k;Qpb(362999,d)|0;k=1;u=l;return k|0}Mb(3)|0;f[k+4>>2]=0;e=k+8|0;f[e>>2]=0;h=k+4|0;f[k>>2]=h;bk(i,a,c);Ak(k,f[h>>2]|0);f[k>>2]=f[i>>2];a=i+4|0;d=f[a>>2]|0;f[h>>2]=d;c=i+8|0;g=f[c>>2]|0;f[e>>2]=g;if(!g)f[k>>2]=h;else{f[d+8>>2]=h;f[i>>2]=a;f[a>>2]=0;f[c>>2]=0;d=0}Ak(i,d);d=EBb(608)|0;xk(d,k);f[124709]=d;d=f[d>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;a=EBb(32)|0;f[i>>2]=a;f[i+8>>2]=-2147483616;f[i+4>>2]=21;c=a;e=363037;g=c+21|0;do{b[c>>0]=b[e>>0]|0;c=c+1|0;e=e+1|0}while((c|0)<(g|0));b[a+21>>0]=0;d=yk(d,i,800,600)|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);if(d){d=f[f[124709]>>2]|0;if((qc(369340,i|0,j|0)|0)>-1){a=~~+p[i>>3];c=~~+p[j>>3];e=d+60|0;Z9a(f[e>>2]|0,i,j);if(!((f[i>>2]|0)==(a|0)?(f[j>>2]|0)==(c|0):0)){iib(f[e>>2]|0,a,c);j=f[d+92>>2]|0;hj[f[(f[j>>2]|0)+168>>2]&63](j,0,0,a,c)|0;f[d+52>>2]=a;f[d+56>>2]=c}}dh(4,-1,0);d=0}else d=1;Ak(k,f[h>>2]|0);k=d;u=l;return k|0}function xk(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,o=0,p=0,q=0,r=0,s=0;r=u;u=u+32|0;m=r+12|0;l=r+8|0;o=r+4|0;p=r;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;d=EBb(32)|0;f[q>>2]=d;f[a+12>>2]=-2147483616;f[a+8>>2]=16;q=d;k=363101;s=q+16|0;do{b[q>>0]=b[k>>0]|0;q=q+1|0;k=k+1|0}while((q|0)<(s|0));b[d+16>>0]=0;K2a(a+16|0);f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;n[a+44>>2]=.20000000298023224;f[a+60>>2]=0;f[a+64>>2]=0;f[a+68>>2]=0;b[a+76>>0]=0;q=a+80|0;s=q+48|0;do{f[q>>2]=0;q=q+4|0}while((q|0)<(s|0));d=a+184|0;q=a+136|0;s=q+60|0;do{f[q>>2]=0;q=q+4|0}while((q|0)<(s|0));e=EBb(16)|0;f[d>>2]=e;f[a+192>>2]=-2147483632;f[a+188>>2]=13;q=e;k=363118;s=q+13|0;do{b[q>>0]=b[k>>0]|0;q=q+1|0;k=k+1|0}while((q|0)<(s|0));b[e+13>>0]=0;f[a+196>>2]=4;q=a+204|0;s=q+48|0;do{f[q>>2]=0;q=q+4|0}while((q|0)<(s|0));g=a+252|0;f[a+256>>2]=0;f[a+260>>2]=0;f[g>>2]=a+256;h=a+264|0;f[a+280>>2]=0;f[a+284>>2]=0;f[a+288>>2]=0;i=a+292|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;b[h+12>>0]=0;f[i>>2]=-1;j=a+296|0;b[j>>0]=0;d=a+304|0;f[a+300>>2]=0;b[d+11>>0]=10;q=d;k=363132;s=q+10|0;do{b[q>>0]=b[k>>0]|0;q=q+1|0;k=k+1|0}while((q|0)<(s|0));b[d+10>>0]=0;n[a+320>>2]=1024.0;n[a+324>>2]=2048.0;n[a+328>>2]=160.0;n[a+332>>2]=240.0;q=a+336|0;f[q>>2]=0;d=a+340|0;f[d>>2]=0;k=a+344|0;f[k>>2]=0;s=EBb(16)|0;f[q>>2]=s;q=s+16|0;f[k>>2]=q;f[s>>2]=15;f[s+4>>2]=23;f[s+8>>2]=16;f[s+12>>2]=17;f[d>>2]=q;d=a+348|0;f[a+368>>2]=0;f[a+372>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[a+364>>2]=a+368;b[a+376>>0]=0;d=a+488|0;q=a+380|0;s=q+120|0;do{f[q>>2]=0;q=q+4|0}while((q|0)<(s|0));e=EBb(16)|0;f[d>>2]=e;f[a+496>>2]=-2147483632;f[a+492>>2]=13;q=e;k=363143;s=q+13|0;do{b[q>>0]=b[k>>0]|0;q=q+1|0;k=k+1|0}while((q|0)<(s|0));b[e+13>>0]=0;q=a+500|0;s=q+108|0;do{f[q>>2]=0;q=q+4|0}while((q|0)<(s|0));d=EBb(96)|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;e=EBb(32)|0;f[m>>2]=e;f[m+8>>2]=-2147483616;f[m+4>>2]=21;q=e;k=363037;s=q+21|0;do{b[q>>0]=b[k>>0]|0;q=q+1|0;k=k+1|0}while((q|0)<(s|0));b[e+21>>0]=0;Lk(d,m);f[a>>2]=d;if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);if((g|0)==(c|0)){q=EBb(12)|0;s=q+4|0;f[s>>2]=0;p=q+8|0;f[p>>2]=0;f[q>>2]=s;s=a+72|0;f[s>>2]=q;Mk(a);Nk(a);ip(a);jp(a);Zs(a);_s(a);b[j>>0]=1;f[i>>2]=-1;St(h);Ok(a);u=r;return}f[o>>2]=f[c>>2];f[p>>2]=c+4;f[l>>2]=f[o>>2];f[m>>2]=f[p>>2];Wo(g,l,m);q=EBb(12)|0;s=q+4|0;f[s>>2]=0;p=q+8|0;f[p>>2]=0;f[q>>2]=s;s=a+72|0;f[s>>2]=q;Mk(a);Nk(a);ip(a);jp(a);Zs(a);_s(a);b[j>>0]=1;f[i>>2]=-1;St(h);Ok(a);u=r;return}function yk(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+32|0;i=j+8|0;h=j;g=j+16|0;V4a(0,5)|0;V4a(1,5)|0;V4a(2,5)|0;V4a(6,16)|0;V4a(5,1)|0;c=hib((b[c+11>>0]|0)<0?f[c>>2]|0:c,805240832,805240832,d,e,2)|0;f[a+60>>2]=c;if(c|0){_4a(c)|0;i=f[a+92>>2]|0;hj[f[(f[i>>2]|0)+168>>2]&63](i,0,0,d,e)|0;f[a+52>>2]=d;f[a+56>>2]=e;i=1;u=j;return i|0}e=b5a()|0;f[h>>2]=e;_j(g,369299,h);h=g+11|0;e=(b[h>>0]|0)<0?f[g>>2]|0:g;f[i>>2]=a;f[i+4>>2]=e;Zj(369274,i);if((b[h>>0]|0)<0)GBb(f[g>>2]|0);i=0;u=j;return i|0}function zk(a){a=a|0;bb(a|0)|0;cDb()}function Ak(a,c){a=a|0;c=c|0;var d=0;if(!c)return;Ak(a,f[c>>2]|0);Ak(a,f[c+4>>2]|0);a=c+16|0;d=c+28|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function Bk(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|0)/12|0;i=a+8|0;d=f[i>>2]|0;l=f[a>>2]|0;j=l;if(e>>>0<=((d-l|0)/12|0)>>>0){g=a+4|0;a=((f[g>>2]|0)-l|0)/12|0;e=e>>>0>a>>>0;a=e?b+(a*12|0)|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|0)/12|0)*12|0);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>>>0)/12|0)*12|0);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>357913941)DCb(a);k=(d|0)/12|0;l=k<<1;e=k>>>0<178956970?(l>>>0<e>>>0?e:l):357913941;if(e>>>0>357913941)DCb(a);d=EBb(e*12|0)|0;c=a+4|0;f[c>>2]=d;f[a>>2]=d;f[i>>2]=d+(e*12|0);if((g|0)<=0)return;YDb(d|0,b|0,g|0)|0;f[c>>2]=d+(((g>>>0)/12|0)*12|0);return}function Ck(a){a=a|0;qqb(a);GBb(a);return}function Dk(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;switch(e|0){case 1:{g=b+12|0;c=(f[g>>2]|0)+c|0;f[g>>2]=c;break}case 2:{c=(f[b+16>>2]|0)+c|0;f[b+12>>2]=c;break}case 0:{c=(f[b+8>>2]|0)+c|0;f[b+12>>2]=c;break}default:c=f[b+12>>2]|0}g=c-(f[b+8>>2]|0)|0;b=a;f[b>>2]=0;f[b+4>>2]=0;b=a+8|0;f[b>>2]=g;f[b+4>>2]=((g|0)<0)<<31>>31;return}function Ek(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;p[a>>3]=+p[b>>3];e=a+8|0;g=b+8|0;f[e>>2]=0;k=a+12|0;f[k>>2]=0;h=a+16|0;f[h>>2]=0;j=b+12|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+20>>2]|0;f[a+20>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}c=f[b+24>>2]|0;f[a+24>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}c=a+32|0;d=b+32|0;e=c+36|0;do{f[c>>2]=f[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));d=a+68|0;e=b+68|0;f[d>>2]=0;k=a+72|0;f[k>>2]=0;g=a+76|0;f[g>>2]=0;i=b+72|0;c=(f[i>>2]|0)-(f[e>>2]|0)|0;h=c>>2;if(c|0){if(h>>>0>1073741823)DCb(d);j=EBb(c)|0;f[k>>2]=j;f[d>>2]=j;f[g>>2]=j+(h<<2);d=f[e>>2]|0;c=(f[i>>2]|0)-d|0;if((c|0)>0){YDb(j|0,d|0,c|0)|0;f[k>>2]=j+(c>>>2<<2)}}d=a+80|0;e=b+80|0;f[d>>2]=0;k=a+84|0;f[k>>2]=0;g=a+88|0;f[g>>2]=0;i=b+84|0;c=(f[i>>2]|0)-(f[e>>2]|0)|0;h=c>>3;if(!c){a=a+92|0;b=b+92|0;b=f[b>>2]|0;f[a>>2]=b;return}if(h>>>0>536870911)DCb(d);j=EBb(c)|0;f[k>>2]=j;f[d>>2]=j;f[g>>2]=j+(h<<3);d=f[e>>2]|0;c=(f[i>>2]|0)-d|0;if((c|0)<=0){a=a+92|0;b=b+92|0;b=f[b>>2]|0;f[a>>2]=b;return}YDb(j|0,d|0,c|0)|0;f[k>>2]=j+(c>>>3<<3);a=a+92|0;b=b+92|0;b=f[b>>2]|0;f[a>>2]=b;return}function Fk(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;g=f[b>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[b+12>>2];g=a+112|0;d=a+120|0;if(f[d>>2]|0?(c=f[a+116>>2]|0,e=(f[g>>2]|0)+4|0,k=f[c>>2]|0,f[k+4>>2]=f[e>>2],f[f[e>>2]>>2]=k,f[d>>2]=0,(c|0)!=(g|0)):0)do{d=c;c=f[c+4>>2]|0;e=f[d+8>>2]|0;if(e|0?(l=e+8|0,k=f[l>>2]|0,f[l>>2]=k-1,(k|0)==1):0)Rua(e,1,1);GBb(d)}while((c|0)!=(g|0));g=a+100|0;c=a+108|0;if(f[c>>2]|0?(h=f[a+104>>2]|0,l=(f[g>>2]|0)+4|0,k=f[h>>2]|0,f[k+4>>2]=f[l>>2],f[f[l>>2]>>2]=k,f[c>>2]=0,(h|0)!=(g|0)):0){c=h;do{d=c;c=f[c+4>>2]|0;e=f[d+8>>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);GBb(d)}while((c|0)!=(g|0))}g=a+88|0;c=a+96|0;if(f[c>>2]|0?(i=f[a+92>>2]|0,l=(f[g>>2]|0)+4|0,k=f[i>>2]|0,f[k+4>>2]=f[l>>2],f[f[l>>2]>>2]=k,f[c>>2]=0,(i|0)!=(g|0)):0){c=i;do{d=c;c=f[c+4>>2]|0;e=f[d+8>>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);GBb(d)}while((c|0)!=(g|0))}g=a+76|0;c=a+84|0;if(f[c>>2]|0?(j=f[a+80>>2]|0,l=(f[g>>2]|0)+4|0,k=f[j>>2]|0,f[k+4>>2]=f[l>>2],f[f[l>>2]>>2]=k,f[c>>2]=0,(j|0)!=(g|0)):0){c=j;do{d=c;c=f[c+4>>2]|0;e=f[d+8>>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);GBb(d)}while((c|0)!=(g|0))}c=a+72|0;d=f[c>>2]|0;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);f[c>>2]=0;g=a+56|0;c=a+64|0;if(!(f[c>>2]|0)){l=b+4|0;dDa(a,l);return}d=f[a+60>>2]|0;l=(f[g>>2]|0)+4|0;k=f[d>>2]|0;f[k+4>>2]=f[l>>2];f[f[l>>2]>>2]=k;f[c>>2]=0;if((d|0)==(g|0)){l=b+4|0;dDa(a,l);return}do{c=d;d=f[d+4>>2]|0;e=f[c+8>>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);GBb(c)}while((d|0)!=(g|0));l=b+4|0;dDa(a,l);return}function Gk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,i=0,j=0.0,k=0,l=0.0;switch(f[b>>2]|0){case 1024:{l=+(f[b+20>>2]|0);j=+((f[b+24>>2]|0)-(f[a+56>>2]|0)|0);a=d$a()|0;e=c+24|0;b=f[e>>2]|0;e=f[e+4>>2]|0;g=e$a(d$a()|0)|0;i=H;if(i>>>0>e>>>0|(i|0)==(e|0)&g>>>0>b>>>0){k=NDb(g|0,i|0,b|0,e|0)|0;d=+p[a+8>>3]*(+(k>>>0)+4294967296.0*+(H>>>0))}else{k=NDb(b|0,e|0,g|0,i|0)|0;d=-(+p[a+8>>3]*(+(k>>>0)+4294967296.0*+(H>>>0)))}Fta(c,l,j,d)|0;c=1;return c|0}case 1025:{l=+(f[b+20>>2]|0);j=+((f[b+24>>2]|0)-(f[a+56>>2]|0)|0);k=h[b+16>>0]|0;a=d$a()|0;e=c+24|0;b=f[e>>2]|0;e=f[e+4>>2]|0;g=e$a(d$a()|0)|0;i=H;if(i>>>0>e>>>0|(i|0)==(e|0)&g>>>0>b>>>0){i=NDb(g|0,i|0,b|0,e|0)|0;d=+p[a+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0))}else{i=NDb(b|0,e|0,g|0,i|0)|0;d=-(+p[a+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0)))}Gta(c,l,j,k,d)|0;c=1;return c|0}case 1026:{l=+(f[b+20>>2]|0);j=+((f[b+24>>2]|0)-(f[a+56>>2]|0)|0);k=h[b+16>>0]|0;i=d$a()|0;b=c+24|0;a=f[b>>2]|0;b=f[b+4>>2]|0;e=e$a(d$a()|0)|0;g=H;if(g>>>0>b>>>0|(g|0)==(b|0)&e>>>0>a>>>0){g=NDb(e|0,g|0,a|0,b|0)|0;d=+p[i+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0))}else{g=NDb(a|0,b|0,e|0,g|0)|0;d=-(+p[i+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0)))}Hta(c,l,j,k,d)|0;c=1;return c|0}default:{c=0;return c|0}}return 0}function Hk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0,j=0,k=0;k=~~(+n[b+24>>2]*+(f[a+52>>2]|0));j=f[a+56>>2]|0;j=~~(+n[b+28>>2]*+(j|0))-j|0;switch(f[b>>2]|0){case 1794:{a=d$a()|0;e=c+24|0;b=f[e>>2]|0;e=f[e+4>>2]|0;g=e$a(d$a()|0)|0;h=H;if(h>>>0>e>>>0|(h|0)==(e|0)&g>>>0>b>>>0){i=NDb(g|0,h|0,b|0,e|0)|0;d=+p[a+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0))}else{i=NDb(b|0,e|0,g|0,h|0)|0;d=-(+p[a+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0)))}Fta(c,+(k|0),+(j|0),d)|0;k=1;return k|0}case 1792:{i=f[b+16>>2]|0;a=d$a()|0;e=c+24|0;b=f[e>>2]|0;e=f[e+4>>2]|0;g=e$a(d$a()|0)|0;h=H;if(h>>>0>e>>>0|(h|0)==(e|0)&g>>>0>b>>>0){h=NDb(g|0,h|0,b|0,e|0)|0;d=+p[a+8>>3]*(+(h>>>0)+4294967296.0*+(H>>>0))}else{h=NDb(b|0,e|0,g|0,h|0)|0;d=-(+p[a+8>>3]*(+(h>>>0)+4294967296.0*+(H>>>0)))}Gta(c,+(k|0),+(j|0),i,d)|0;k=1;return k|0}case 1793:{i=f[b+16>>2]|0;h=d$a()|0;b=c+24|0;a=f[b>>2]|0;b=f[b+4>>2]|0;e=e$a(d$a()|0)|0;g=H;if(g>>>0>b>>>0|(g|0)==(b|0)&e>>>0>a>>>0){g=NDb(e|0,g|0,a|0,b|0)|0;d=+p[h+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0))}else{g=NDb(a|0,b|0,e|0,g|0)|0;d=-(+p[h+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0)))}Hta(c,+(k|0),+(j|0),i,d)|0;k=1;return k|0}default:{k=0;return k|0}}return 0}function Ik(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;m=u;u=u+64|0;l=m+24|0;k=m;Jk(a);c=f[a+12>>2]|0;h=f[a+16>>2]|0;a:do if((c|0)!=(h|0)){i=l+16|0;j=l+24|0;g=j+11|0;while(1){d=c+16|0;e=f[d>>2]|0;do if(e)if((c|0)==(e|0)){f[i>>2]=l;e=f[d>>2]|0;Bj[f[(f[e>>2]|0)+12>>2]&1023](e,l);break}else{e=_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;f[i>>2]=e;break}else f[i>>2]=0;while(0);OBb(j,c+24|0);d=f[i>>2]|0;if(!d)break;tj[f[(f[d>>2]|0)+24>>2]&2047](d);if((b[g>>0]|0)<0)GBb(f[j>>2]|0);d=f[i>>2]|0;if((l|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);c=c+40|0;if((c|0)==(h|0))break a}m=ab(4)|0;f[m>>2]=358636;eb(m|0,300632,1379)}while(0);g=a+36|0;Kk(l,g);g=f[g>>2]|0;e=a+40|0;c=f[e>>2]|0;if((c|0)!=(g|0))do{d=f[c+-8>>2]|0;c=c+-24|0;if((c|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d)}while((c|0)!=(g|0));f[e>>2]=g;c=f[l>>2]|0;i=l+4|0;g=f[i>>2]|0;do if((c|0)!=(g|0)){h=k+16|0;while(1){d=c+16|0;e=f[d>>2]|0;if(!e){c=39;break}if((c|0)==(e|0)){f[h>>2]=k;d=f[d>>2]|0;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,k);d=f[h>>2]|0}else{d=_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;f[h>>2]=d}if(!d){c=44;break}tj[f[(f[d>>2]|0)+24>>2]&2047](d);d=f[h>>2]|0;if((k|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);c=c+24|0;if((c|0)==(g|0)){c=26;break}}if((c|0)==26){e=f[l>>2]|0;break}else if((c|0)==39){f[h>>2]=0;m=ab(4)|0;f[m>>2]=358636;eb(m|0,300632,1379)}else if((c|0)==44){m=ab(4)|0;f[m>>2]=358636;eb(m|0,300632,1379)}}else e=c;while(0);if(!e){u=m;return}c=f[i>>2]|0;if((c|0)==(e|0))c=e;else{do{d=f[c+-8>>2]|0;c=c+-24|0;if((c|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d)}while((c|0)!=(e|0));c=f[l>>2]|0}f[i>>2]=e;GBb(c);u=m;return}function Jk(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,s=0,t=0,u=0,v=0,w=0;t=a+24|0;d=f[t>>2]|0;w=a+28|0;c=f[w>>2]|0;if((d|0)==(c|0)){v=d;f[w>>2]=v;return}u=a+12|0;s=a+16|0;r=f[s>>2]|0;a=r;m=r;while(1){p=f[u>>2]|0;q=p;a:do if((a|0)==(p|0)){g=r;e=m}else{n=b[d+11>>0]|0;l=n<<24>>24<0;n=l?f[d+4>>2]|0:n&255;o=(n|0)==0;b:do if(l){m=q;l=p;while(1){h=l+24|0;g=b[h+11>>0]|0;i=g<<24>>24<0;g=g&255;do if(((i?f[l+28>>2]|0:g)|0)==(n|0)){k=f[h>>2]|0;j=i?k:h;e=f[d>>2]|0;k=k&255;if(i){if(o){c=m;break b}if(!(anb(j,e,n)|0)){c=m;break b}else break}if(o){c=m;break b}if((b[e>>0]|0)==k<<24>>24)do{g=g+-1|0;h=h+1|0;if(!g){c=m;break b}e=e+1|0}while((b[h>>0]|0)==(b[e>>0]|0))}while(0);e=l+40|0;if((r|0)==(e|0)){g=r;e=r;a=r;break a}else{m=e;a=r;l=e}}}else{l=q;k=p;while(1){h=k+24|0;e=b[h+11>>0]|0;g=e<<24>>24<0;e=e&255;do if(((g?f[k+28>>2]|0:e)|0)==(n|0)){j=f[h>>2]|0;i=g?j:h;j=j&255;if(g){if(o){c=l;break b}if(!(anb(i,d,n)|0)){c=l;break b}else break}if(o){c=l;break b}if((b[d>>0]|0)==j<<24>>24){g=d;do{e=e+-1|0;h=h+1|0;if(!e){c=l;break b}g=g+1|0}while((b[h>>0]|0)==(b[g>>0]|0))}}while(0);e=k+40|0;if((m|0)==(e|0)){g=r;e=m;a=m;break a}else{l=e;a=m;k=e}}}while(0);c=p+(((c-q|0)/40|0)*40|0)|0;e=c+40|0;if((e|0)!=(a|0)){do{i=c+16|0;g=f[i>>2]|0;if((c|0)!=(g|0)){if(g|0)tj[f[(f[g>>2]|0)+20>>2]&2047](g)}else tj[f[(f[g>>2]|0)+16>>2]&2047](g);f[i>>2]=0;g=e+16|0;h=f[g>>2]|0;do if(h)if((e|0)==(h|0)){f[i>>2]=c;Bj[f[(f[h>>2]|0)+12>>2]&1023](h,c);break}else{f[i>>2]=h;f[g>>2]=0;break}else f[i>>2]=0;while(0);g=c+24|0;h=e+24|0;i=g+11|0;if((b[i>>0]|0)<0){b[f[g>>2]>>0]=0;f[c+28>>2]=0}else{b[g>>0]=0;b[i>>0]=0}YBb(g,0);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;e=e+40|0;c=c+40|0}while((e|0)!=(a|0));a=f[s>>2]|0;if((a|0)==(c|0))a=c;else{e=c;v=42}}else{e=c;v=42}if((v|0)==42){v=0;do{c=a+-16|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=f[a+-24>>2]|0;a=a+-40|0;if((a|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c)}while((a|0)!=(e|0));a=e}f[s>>2]=a;c=f[w>>2]|0;g=a;e=a}while(0);d=d+12|0;if((d|0)==(c|0))break;else{m=e;r=g}}a=f[t>>2]|0;if((c|0)==(a|0)){v=a;f[w>>2]=v;return}do{c=c+-12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(a|0));f[w>>2]=a;return}function Kk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=0;i=a+4|0;f[i>>2]=0;e=a+8|0;f[e>>2]=0;h=b+4|0;c=(f[h>>2]|0)-(f[b>>2]|0)|0;g=(c|0)/24|0;if(!c)return;if(g>>>0>178956970)DCb(a);d=EBb(c)|0;f[i>>2]=d;f[a>>2]=d;f[e>>2]=d+(g*24|0);c=f[b>>2]|0;e=f[h>>2]|0;if((c|0)==(e|0))return;do{a=c+16|0;b=f[a>>2]|0;do if(b)if((c|0)==(b|0)){f[d+16>>2]=d;h=f[a>>2]|0;Bj[f[(f[h>>2]|0)+12>>2]&1023](h,d);break}else{h=_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;f[d+16>>2]=h;break}else f[d+16>>2]=0;while(0);c=c+24|0;d=(f[i>>2]|0)+24|0;f[i>>2]=d}while((c|0)!=(e|0));return}function Lk(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+32|0;j=k;f[a+60>>2]=0;d=a+72|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;g=a;i=g+48|0;do{f[g>>2]=0;g=g+4|0}while((g|0)<(i|0));b[a+48>>0]=0;e=EBb(32)|0;f[d>>2]=e;f[a+80>>2]=-2147483616;f[a+76>>2]=19;g=e;h=363157;i=g+19|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[e+19>>0]=0;f[a+88>>2]=0;i=EBb(24)|0;rZa(i);f[i>>2]=302312;OBb(i+12|0,c);f[a+84>>2]=i;p0a(i);o0a(2);Qk(a);Rk(a);i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[a+64>>2]=i;c=EBb(16)|0;f[c>>2]=i;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+68>>2]=c;c=j+16|0;f[j>>2]=303568;f[j+4>>2]=a;f[c>>2]=j;Bo(a,j,d);c=f[c>>2]|0;if((j|0)==(c|0)){tj[f[(f[c>>2]|0)+16>>2]&2047](c);kh(0,a|0,0,196)|0;u=k;return}if(!c){kh(0,a|0,0,196)|0;u=k;return}tj[f[(f[c>>2]|0)+20>>2]&2047](c);kh(0,a|0,0,196)|0;u=k;return}function Mk(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=u;u=u+32|0;e=g;b=EBb(408)|0;d0a(b);c=a+300|0;d=f[c>>2]|0;if(((d|0)!=(b|0)?(f[c>>2]=b,c=b+8|0,f[c>>2]=(f[c>>2]|0)+1,d|0):0)?(b=d+8|0,c=f[b>>2]|0,f[b>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[a>>2]|0;d=e+16|0;f[e>>2]=303612;f[e+4>>2]=a;f[d>>2]=e;Bo(c,e,a+304|0);a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return}if(!a){u=g;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return}function Nk(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,o=0,p=0,q=0,r=0,t=0,v=0,w=0,x=0,y=0;y=u;u=u+16|0;b=y;x=EBb(40)|0;v=a+320|0;r=f[v>>2]|0;v=f[v+4>>2]|0;t=a+328|0;p=f[t>>2]|0;t=f[t+4>>2]|0;f[b>>2]=0;w=b+4|0;f[w>>2]=0;c=b+8|0;f[c>>2]=0;e=f[a+336>>2]|0;g=(f[a+340>>2]|0)-e|0;d=g>>2;if(g){if(d>>>0>1073741823)DCb(b);h=EBb(g)|0;f[w>>2]=h;f[b>>2]=h;f[c>>2]=h+(d<<2);b=h;if((g|0)>0){m=h+(g>>>2<<2)|0;YDb(h|0,e|0,g|0)|0;f[w>>2]=m;c=b;q=h;o=h}else{c=b;m=b;q=h;o=h}}else{c=0;m=0;q=0;o=0}e=x;f[e>>2]=r;f[e+4>>2]=v;e=x+8|0;f[e>>2]=p;f[e+4>>2]=t;e=x+16|0;f[e>>2]=0;h=x+20|0;f[h>>2]=0;g=x+24|0;f[g>>2]=0;b=m-c|0;d=b>>2;l=(f[s>>2]=p,+n[s>>2]);k=(f[s>>2]=r,+n[s>>2]);j=(f[s>>2]=t,+n[s>>2]);i=(f[s>>2]=v,+n[s>>2]);if(b|0){if(d>>>0>1073741823)DCb(e);c=EBb(b)|0;f[h>>2]=c;f[e>>2]=c;f[g>>2]=c+(d<<2);b=m-q|0;if((b|0)>0){YDb(c|0,o|0,b|0)|0;f[h>>2]=c+(b>>>2<<2)}}n[x+28>>2]=l/k;n[x+32>>2]=j/i;f[x+36>>2]=~~(k/l);f[a+316>>2]=x;if(!q){gp(a);hp(a);u=y;return}f[w>>2]=q;GBb(o);gp(a);hp(a);u=y;return}function Ok(a){a=a|0;var b=0,c=0,d=0,e=0;c=u;u=u+96|0;b=c;a=a+300|0;if(!(f[a>>2]|0)){u=c;return}d=b+56|0;rZa(d);f[d>>2]=338032;e=b+68|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[b+80>>2]=2;f[b+84>>2]=0;ZZa(b,305320,2);f[b>>2]=304784;f[d>>2]=305152;a=f[a>>2]|0;Bj[f[(f[a>>2]|0)+212>>2]&1023](a,b);dDa(b,305320);Gva(d);u=c;return}function Pk(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;e=a+36|0;g=f[e>>2]|0;if(g|0){h=a+40|0;c=f[h>>2]|0;if((c|0)==(g|0))c=g;else{do{d=f[c+-8>>2]|0;c=c+-24|0;if((c|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d)}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}d=a+24|0;e=f[d>>2]|0;if(e|0){g=a+28|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)}e=a+12|0;g=f[e>>2]|0;if(g|0){h=a+16|0;c=f[h>>2]|0;if((c|0)==(g|0))c=g;else{do{d=c+-16|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);d=f[c+-24>>2]|0;c=c+-40|0;if((c|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d)}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}if((b[a+11>>0]|0)>=0)return;GBb(f[a>>2]|0);return}function Qk(a){a=a|0;var b=0,c=0;c=EBb(272)|0;WD(c);b=a+92|0;f[b>>2]=c;Bj[f[(f[c>>2]|0)+32>>2]&1023](c,0);b=f[b>>2]|0;a=EBb(288)|0;Qta(a,5);_v(b+104|0,a,1);return}function Rk(a){a=a|0;var b=0,c=0,d=0,e=0;d=EBb(164)|0;b=d+132|0;rZa(b);c=d+144|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[d+156>>2]=2;f[d+160>>2]=0;f[d+128>>2]=0;f[d>>2]=302344;f[d+124>>2]=302596;f[b>>2]=302868;f[d+4>>2]=302440;b=d+8|0;c=b+116|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(c|0));b=a+88|0;c=f[b>>2]|0;if(((c|0)!=(d|0)?(f[b>>2]=d,d=d+140|0,f[d>>2]=(f[d>>2]|0)+1,c|0):0)?(e=c+(f[(f[c>>2]|0)+-16>>2]|0)|0,c=e+8|0,d=f[c>>2]|0,f[c>>2]=d-1,(d|0)==1):0)Rua(e,1,1);oF((f[a+92>>2]|0)+104|0,f[b>>2]|0);return}function Sk(a,b){a=a|0;b=b|0;return}function Tk(a){a=a|0;var c=0;f[a>>2]=302312;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);return}function Uk(a){a=a|0;var c=0;f[a>>2]=302312;c=a+12|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Uua(a);GBb(a);return}function Vk(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=u;u=u+32|0;h=i;g=i+12|0;a=a+12|0;if((b[a+11>>0]|0)<0)a=f[a>>2]|0;switch(c|0){case 6:{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;e=86;break}case 5:{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;e=68;break}case 4:case 3:{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;e=73;break}case 2:{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;e=87;break}case 0:case 1:{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;e=69;break}default:{}}c=g+11|0;b[c>>0]=1;b[g>>0]=e;b[g+1>>0]=0;f[h>>2]=a;f[h+4>>2]=g;f[h+8>>2]=d;Zj(363221,h);if((b[c>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function Wk(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=334904;f[b+8>>2]=335156;f[a>>2]=335428;f[b+4>>2]=335e3;return a|0}function Xk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=EBb(48)|0;e=d+16|0;Fva(e,a+(f[(f[a>>2]|0)+-16>>2]|0)|0,b);c=d+8|0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[c>>2]=298888;f[e>>2]=299160;b=f[b+4>>2]|0;f[d+12>>2]=b;if(!b){f[d>>2]=334904;f[c>>2]=335156;f[e>>2]=335428;d=d+4|0;f[d>>2]=335e3;return e|0}a=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;f[d>>2]=334904;f[c>>2]=335156;f[e>>2]=335428;d=d+4|0;f[d>>2]=335e3;return e|0}function Yk(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290504,-1)|0)!=0;return b|0}function Zk(a){a=a|0;return 408154}function _k(a){a=a|0;return 363273}function $k(a){a=a|0;return a|0}function al(a){a=a|0;return a|0}function bl(a,b,c){a=a|0;b=b|0;c=c|0;b=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;c=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;Fj[f[(f[a>>2]|0)+32>>2]&511](a,b,c);return 1}function cl(a){a=a|0;return a+4|0}function dl(a){a=a|0;return a+4|0}function el(a){a=a|0;return a|0}function fl(a){a=a|0;return a|0}function gl(a,b){a=a|0;b=b|0;return}function hl(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return dj[f[(f[a>>2]|0)+76>>2]&255](a,b,c)|0}function il(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function jl(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=334904;f[b+8>>2]=335156;f[a>>2]=335428;f[b+4>>2]=335e3;return a|0}function kl(a,b){a=a|0;b=b|0;var c=0,d=0;a=a+-4|0;c=EBb(48)|0;d=c+16|0;Fva(d,a+(f[(f[a>>2]|0)+-16>>2]|0)|0,b);b=c+8|0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[b>>2]=298888;f[d>>2]=299160;a=f[a+4>>2]|0;f[c+12>>2]=a;if(!a){f[c>>2]=334904;f[b>>2]=335156;f[d>>2]=335428;c=c+4|0;f[c>>2]=335e3;return d|0}a=a+(f[(f[a>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;f[c>>2]=334904;f[b>>2]=335156;f[d>>2]=335428;c=c+4|0;f[c>>2]=335e3;return d|0}function ll(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290504,-1)|0)!=0;return b|0}function ml(a){a=a|0;return 408154}function nl(a){a=a|0;return 363273}function ol(a){a=a|0;return a+-4+4|0}function pl(a){a=a|0;return a+-4+4|0}function ql(a,b,c){a=a|0;b=b|0;c=c|0;a=a+-4|0;b=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;c=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;Fj[f[(f[a>>2]|0)+32>>2]&511](a,b,c);return 1}function rl(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=334904;f[b+8>>2]=335156;f[a>>2]=335428;f[b+4>>2]=335e3;return a|0}function sl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-20>>2]|0)|0;c=EBb(48)|0;d=c+16|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+8|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+12>>2]=b;if(!b){f[c>>2]=334904;f[a>>2]=335156;f[d>>2]=335428;e=c+4|0;f[e>>2]=335e3;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=334904;f[a>>2]=335156;f[d>>2]=335428;e=c+4|0;f[e>>2]=335e3;return d|0}function tl(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290504,-1)|0)!=0;return b|0}function ul(a){a=a|0;return 408154}function vl(a){a=a|0;return 363273}function wl(a){a=a|0;return a|0}function xl(a){a=a|0;return a|0}function yl(a){a=a|0;return 0}function zl(a){a=a|0;return 0}function Al(a){a=a|0;return a+(f[(f[a>>2]|0)+-52>>2]|0)|0}function Bl(a){a=a|0;return a+(f[(f[a>>2]|0)+-56>>2]|0)|0}function Cl(a){a=a|0;return 0}function Dl(a){a=a|0;return 0}function El(a){a=a|0;return 0}function Fl(a){a=a|0;return 0}function Gl(a){a=a|0;return 0}function Hl(a){a=a|0;return 0}function Il(a){a=a|0;return a+(f[(f[a>>2]|0)+-84>>2]|0)+4|0}function Jl(a){a=a|0;return a+(f[(f[a>>2]|0)+-88>>2]|0)+4|0}function Kl(a){a=a|0;return 0}function Ll(a){a=a|0;return 0}function Ml(a){a=a|0;return a+(f[(f[a>>2]|0)+-100>>2]|0)|0}function Nl(a){a=a|0;return a+(f[(f[a>>2]|0)+-104>>2]|0)|0}function Ol(a,b,c){a=a|0;b=b|0;c=c|0;a=a+(f[(f[a>>2]|0)+-108>>2]|0)|0;b=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;c=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;Fj[f[(f[a>>2]|0)+32>>2]&511](a,b,c);return 1}function Pl(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=334904;f[b+8>>2]=335156;f[a>>2]=335428;f[b+4>>2]=335e3;return a|0}function Ql(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;c=EBb(48)|0;d=c+16|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+8|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+12>>2]=b;if(!b){f[c>>2]=334904;f[a>>2]=335156;f[d>>2]=335428;e=c+4|0;f[e>>2]=335e3;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=334904;f[a>>2]=335156;f[d>>2]=335428;e=c+4|0;f[e>>2]=335e3;return d|0}function Rl(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290504,-1)|0)!=0;return b|0}function Sl(a){a=a|0;return 408154}function Tl(a){a=a|0;return 363273}function Ul(a){a=a|0;return 0}function Vl(a){a=a|0;return 0}function Wl(a){a=a|0;return 0}function Xl(a){a=a|0;return 0}function Yl(a){a=a|0;return 0}function Zl(a){a=a|0;return 0}function _l(a){a=a|0;return 0}function $l(a){a=a|0;return 0}function am(a){a=a|0;return 0}function bm(a){a=a|0;return 0}function cm(a){a=a|0;return 0}function dm(a){a=a|0;return 0}function em(a){a=a|0;return 0}function fm(a){a=a|0;return 0}function gm(a){a=a|0;return 0}function hm(a){a=a|0;return 0}function im(a){a=a|0;return a+(f[(f[a>>2]|0)+-104>>2]|0)|0}function jm(a){a=a|0;return a+(f[(f[a>>2]|0)+-108>>2]|0)|0}function km(a){a=a|0;return 0}function lm(a){a=a|0;return 0}function mm(a){a=a|0;return 0}function nm(a){a=a|0;return 0}function om(a){a=a|0;return 0}function pm(a){a=a|0;return 0}function qm(a){a=a|0;return 0}function rm(a){a=a|0;return 0}function sm(a,b){a=a|0;b=b|0;UBb(a+12|0,b)|0;return}function tm(a){a=a|0;return}function um(a,b){a=a|0;b=b|0;return}function vm(a,b){a=a|0;b=b|0;return}function wm(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=335760;f[b+8>>2]=336004;f[a>>2]=336276;f[b+4>>2]=335848;return a|0}function xm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=EBb(48)|0;e=d+16|0;Fva(e,a+(f[(f[a>>2]|0)+-16>>2]|0)|0,b);c=d+8|0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[c>>2]=298888;f[e>>2]=299160;b=f[b+4>>2]|0;f[d+12>>2]=b;if(!b){f[d>>2]=335760;f[c>>2]=336004;f[e>>2]=336276;d=d+4|0;f[d>>2]=335848;return e|0}a=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;f[d>>2]=335760;f[c>>2]=336004;f[e>>2]=336276;d=d+4|0;f[d>>2]=335848;return e|0}function ym(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290520,-1)|0)!=0;return b|0}function zm(a){a=a|0;return 408154}function Am(a){a=a|0;return 363289}function Bm(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);return}function Cm(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);GBb(a);return}function Dm(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=335760;f[b+8>>2]=336004;f[a>>2]=336276;f[b+4>>2]=335848;return a|0}function Em(a,b){a=a|0;b=b|0;var c=0,d=0;a=a+-4|0;c=EBb(48)|0;d=c+16|0;Fva(d,a+(f[(f[a>>2]|0)+-16>>2]|0)|0,b);b=c+8|0;a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[b>>2]=298888;f[d>>2]=299160;a=f[a+4>>2]|0;f[c+12>>2]=a;if(!a){f[c>>2]=335760;f[b>>2]=336004;f[d>>2]=336276;c=c+4|0;f[c>>2]=335848;return d|0}a=a+(f[(f[a>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;f[c>>2]=335760;f[b>>2]=336004;f[d>>2]=336276;c=c+4|0;f[c>>2]=335848;return d|0}function Fm(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290520,-1)|0)!=0;return b|0}function Gm(a){a=a|0;return 408154}function Hm(a){a=a|0;return 363289}function Im(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+-4|0;f[b+8>>2]=298888;a=b+16|0;f[a>>2]=299160;b=b+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a);return}function Jm(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;a=a+-4|0;f[a+8>>2]=298888;b=a+16|0;f[b>>2]=299160;c=a+12|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;Gva(b);GBb(a);return}function Km(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=335760;f[b+8>>2]=336004;f[a>>2]=336276;f[b+4>>2]=335848;return a|0}function Lm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-20>>2]|0)|0;c=EBb(48)|0;d=c+16|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+8|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+12>>2]=b;if(!b){f[c>>2]=335760;f[a>>2]=336004;f[d>>2]=336276;e=c+4|0;f[e>>2]=335848;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=335760;f[a>>2]=336004;f[d>>2]=336276;e=c+4|0;f[e>>2]=335848;return d|0}function Mm(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290520,-1)|0)!=0;return b|0}function Nm(a){a=a|0;return 408154}function Om(a){a=a|0;return 363289}function Pm(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);return}function Qm(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);GBb(a);return}function Rm(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);return}function Sm(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+8|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+16|0);GBb(a);return}function Tm(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=335760;f[b+8>>2]=336004;f[a>>2]=336276;f[b+4>>2]=335848;return a|0}function Um(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;c=EBb(48)|0;d=c+16|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+8|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+12>>2]=b;if(!b){f[c>>2]=335760;f[a>>2]=336004;f[d>>2]=336276;e=c+4|0;f[e>>2]=335848;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=335760;f[a>>2]=336004;f[d>>2]=336276;e=c+4|0;f[e>>2]=335848;return d|0}function Vm(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,290520,-1)|0)!=0;return b|0}function Wm(a){a=a|0;return 408154}function Xm(a){a=a|0;return 363289}function Ym(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;rZa(a);c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=353548;f[b+4>>2]=353704;f[a>>2]=353976;return a|0}function Zm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=EBb(44)|0;e=d+12|0;Fva(e,a+(f[(f[a>>2]|0)+-16>>2]|0)|0,b);c=d+4|0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[c>>2]=298888;f[e>>2]=299160;b=f[b+4>>2]|0;f[d+8>>2]=b;if(!b){f[d>>2]=353548;f[c>>2]=353704;f[e>>2]=353976;return e|0}a=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;f[d>>2]=353548;f[c>>2]=353704;f[e>>2]=353976;return e|0}function _m(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299488,-1)|0)!=0;return b|0}function $m(a){a=a|0;return 409756}function an(a){a=a|0;return 363302}function bn(a){a=a|0;return a|0}function cn(a){a=a|0;return a|0}function dn(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function en(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function fn(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;rZa(a);c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=353548;f[b+4>>2]=353704;f[a>>2]=353976;return a|0}function gn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-20>>2]|0)|0;c=EBb(44)|0;d=c+12|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+4|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+8>>2]=b;if(!b){f[c>>2]=353548;f[a>>2]=353704;f[d>>2]=353976;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=353548;f[a>>2]=353704;f[d>>2]=353976;return d|0}function hn(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299488,-1)|0)!=0;return b|0}function jn(a){a=a|0;return 409756}function kn(a){a=a|0;return 363302}function ln(a){a=a|0;return a+(f[(f[a>>2]|0)+-52>>2]|0)|0}function mn(a){a=a|0;return a+(f[(f[a>>2]|0)+-56>>2]|0)|0}function nn(a){a=a|0;return 0}function on(a){a=a|0;return 0}function pn(a){a=a|0;return 0}function qn(a){a=a|0;return 0}function rn(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function sn(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function tn(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function un(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function vn(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;rZa(a);c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=353548;f[b+4>>2]=353704;f[a>>2]=353976;return a|0}function wn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;c=EBb(44)|0;d=c+12|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+4|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+8>>2]=b;if(!b){f[c>>2]=353548;f[a>>2]=353704;f[d>>2]=353976;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=353548;f[a>>2]=353704;f[d>>2]=353976;return d|0}function xn(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299488,-1)|0)!=0;return b|0}function yn(a){a=a|0;return 409756}function zn(a){a=a|0;return 363302}function An(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;rZa(a);c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=354156;f[b+4>>2]=354312;f[a>>2]=354584;return a|0}function Bn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=EBb(44)|0;e=d+12|0;Fva(e,a+(f[(f[a>>2]|0)+-16>>2]|0)|0,b);c=d+4|0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[c>>2]=298888;f[e>>2]=299160;b=f[b+4>>2]|0;f[d+8>>2]=b;if(!b){f[d>>2]=354156;f[c>>2]=354312;f[e>>2]=354584;return e|0}a=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;f[d>>2]=354156;f[c>>2]=354312;f[e>>2]=354584;return e|0}function Cn(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299536,-1)|0)!=0;return b|0}function Dn(a){a=a|0;return 409756}function En(a){a=a|0;return 363315}function Fn(a){a=a|0;return a|0}function Gn(a){a=a|0;return a|0}function Hn(a,b,c){a=a|0;b=b|0;c=c|0;return}function In(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function Kn(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;rZa(a);c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=354156;f[b+4>>2]=354312;f[a>>2]=354584;return a|0}function Ln(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-20>>2]|0)|0;c=EBb(44)|0;d=c+12|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+4|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+8>>2]=b;if(!b){f[c>>2]=354156;f[a>>2]=354312;f[d>>2]=354584;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=354156;f[a>>2]=354312;f[d>>2]=354584;return d|0}function Mn(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299536,-1)|0)!=0;return b|0}function Nn(a){a=a|0;return 409756}function On(a){a=a|0;return 363315}function Pn(a){a=a|0;return 0}function Qn(a){a=a|0;return 0}function Rn(a){a=a|0;return a+(f[(f[a>>2]|0)+-84>>2]|0)|0}function Sn(a){a=a|0;return a+(f[(f[a>>2]|0)+-88>>2]|0)|0}function Tn(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function Un(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function Vn(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function Wn(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function Xn(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;rZa(a);c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=354156;f[b+4>>2]=354312;f[a>>2]=354584;return a|0}function Yn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;c=EBb(44)|0;d=c+12|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+4|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+8>>2]=b;if(!b){f[c>>2]=354156;f[a>>2]=354312;f[d>>2]=354584;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=354156;f[a>>2]=354312;f[d>>2]=354584;return d|0}function Zn(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299536,-1)|0)!=0;return b|0}function _n(a){a=a|0;return 409756}function $n(a){a=a|0;return 363315}function ao(a){a=a|0;var b=0,c=0;b=EBb(40)|0;a=b+8|0;rZa(a);c=b+20|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+32>>2]=2;f[b+36>>2]=0;f[b>>2]=303124;f[a>>2]=303396;f[b+4>>2]=0;return a|0}function bo(a,b){a=a|0;b=b|0;var c=0,d=0;c=EBb(40)|0;d=c+8|0;Fva(d,a+(f[(f[a>>2]|0)+-12>>2]|0)|0,b);f[c>>2]=303124;f[d>>2]=303396;a=f[a+4>>2]|0;f[c+4>>2]=a;if(!a){d=303124;d=d+-12|0;d=f[d>>2]|0;d=c+d|0;return d|0}d=a+(f[(f[a>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[c>>2]|0;d=d+-12|0;d=f[d>>2]|0;d=c+d|0;return d|0}function co(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,275704,-1)|0)!=0;return b|0}function eo(a){a=a|0;return 409756}function fo(a){a=a|0;return 363337}function go(a,b,c){a=a|0;b=b|0;c=c|0;return zZa(a,b,c)|0}function ho(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=303124;c=a+8|0;f[c>>2]=303396;a=a+4|0;b=f[a>>2]|0;if(b|0?(d=b+(f[(f[b>>2]|0)+-12>>2]|0)|0,e=d+8|0,b=f[e>>2]|0,f[e>>2]=b-1,(b|0)==1):0)Rua(d,1,1);f[a>>2]=0;Gva(c);return}function io(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=303124;b=a+8|0;f[b>>2]=303396;c=a+4|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;Gva(b);GBb(a);return}function jo(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[c>>2]=303124;b=c+8|0;f[b>>2]=303396;c=c+4|0;a=f[c>>2]|0;if(!a){f[c>>2]=0;Gva(b);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;e=a+8|0;d=f[e>>2]|0;f[e>>2]=d-1;if((d|0)!=1){f[c>>2]=0;Gva(b);return}Rua(a,1,1);f[c>>2]=0;Gva(b);return}function ko(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]=303124;b=a+8|0;f[b>>2]=303396;c=a+4|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;Gva(b);GBb(a);return}function lo(a){a=a|0;var b=0,c=0;b=EBb(40)|0;a=b+8|0;rZa(a);c=b+20|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+32>>2]=2;f[b+36>>2]=0;f[b>>2]=303124;f[a>>2]=303396;f[b+4>>2]=0;return a|0}function mo(a,b){a=a|0;b=b|0;var c=0,d=0;a=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;c=EBb(40)|0;d=c+8|0;Fva(d,a+(f[(f[a>>2]|0)+-12>>2]|0)|0,b);f[c>>2]=303124;f[d>>2]=303396;a=f[a+4>>2]|0;f[c+4>>2]=a;if(!a){d=303124;d=d+-12|0;d=f[d>>2]|0;d=c+d|0;return d|0}d=a+(f[(f[a>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[c>>2]|0;d=d+-12|0;d=f[d>>2]|0;d=c+d|0;return d|0}function no(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,275704,-1)|0)!=0;return b|0}function oo(a){a=a|0;return 409756}function po(a){a=a|0;return 363337}function qo(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=302344;b=a+124|0;f[b>>2]=302596;d=a+132|0;f[d>>2]=302868;f[a+4>>2]=302440;Pk(a+76|0);c=f[a+64>>2]|0;if(c|0){f[a+68>>2]=c;GBb(c)}Pk(a+16|0);f[b>>2]=298888;f[b+8>>2]=299160;b=a+128|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(d);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;e=a+8|0;c=f[e>>2]|0;f[e>>2]=c-1;if((c|0)!=1){f[b>>2]=0;Gva(d);return}Rua(a,1,1);f[b>>2]=0;Gva(d);return}function ro(a){a=a|0;qo(a);GBb(a);return}function so(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0.0;g=+n[b+104>>2];h=+n[b+108>>2];d=a+8|0;c=a+12|0;if(!(!(+n[d>>2]!=g)?!(+n[c>>2]!=h):0)){n[d>>2]=g;n[c>>2]=h;Ik(a+16|0)}if((_i[f[(f[b>>2]|0)+172>>2]&2047](b)|0)!=1)if((_i[f[(f[b>>2]|0)+172>>2]&2047](b)|0)==2)d=0;else return 1;else d=1;c=f[b+84>>2]|0;switch(c|0){case 1:break;case 2:{c=3;break}case 4:{c=2;break}default:c=0}zo(a,c,d);return 1}function to(a){a=a|0;qo(a+-4|0);return}function uo(a){a=a|0;a=a+-4|0;qo(a);GBb(a);return}function vo(a){a=a|0;qo(a+(f[(f[a>>2]|0)+-112>>2]|0)|0);return}function wo(a){a=a|0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;qo(a);GBb(a);return}function xo(a){a=a|0;qo(a+(f[(f[a>>2]|0)+-16>>2]|0)|0);return}function yo(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;qo(a);GBb(a);return}function zo(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;n=u;u=u+16|0;k=n;f[k>>2]=b;h=a+64|0;d=f[h>>2]|0;l=a+68|0;m=f[l>>2]|0;i=(d|0)==(m|0);a:do if(i){e=d;j=5}else{g=d;do{if((f[g>>2]|0)==(b|0)){e=g;j=5;break a}g=g+4|0}while((g|0)!=(m|0))}while(0);if((j|0)==5?(e|0)!=(m|0):0){if(c){u=n;return}b:do if(i)j=11;else while(1){if((f[d>>2]|0)==(b|0)){j=11;break b}d=d+4|0;if((d|0)==(m|0)){d=m;break}}while(0);c:do if((j|0)==11)if((d|0)!=(m|0)){e=d+4|0;if((e|0)!=(m|0))while(1){g=f[e>>2]|0;if((g|0)!=(b|0)){f[d>>2]=g;d=d+4|0}e=e+4|0;if((e|0)==(m|0))break c;b=f[k>>2]|0}}else d=m;while(0);if((m|0)!=(d|0))f[l>>2]=d;Ik(a+76|0);u=n;return}if(!c){u=n;return}if((m|0)==(f[a+72>>2]|0))Ao(h,k);else{f[m>>2]=b;f[l>>2]=m+4}Ik(a+76|0);u=n;return}function Ao(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<c>>>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 Bo(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+48|0;i=j;if(Co(a,d)|0){u=j;return}e=f[c+16>>2]|0;do if(e)if((c|0)==(e|0)){f[i+16>>2]=i;Bj[f[(f[e>>2]|0)+12>>2]&1023](e,i);break}else{h=_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;f[i+16>>2]=h;break}else f[i+16>>2]=0;while(0);h=i+24|0;OBb(h,d);d=a+16|0;g=f[d>>2]|0;if(g>>>0>=(f[a+20>>2]|0)>>>0){Do(a+12|0,i);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0)}else{c=i+16|0;e=f[c>>2]|0;do if(e)if((i|0)==(e|0)){f[g+16>>2]=g;a=f[c>>2]|0;Bj[f[(f[a>>2]|0)+12>>2]&1023](a,g);break}else{f[g+16>>2]=e;f[c>>2]=0;break}else f[g+16>>2]=0;while(0);a=g+24|0;f[a>>2]=f[h>>2];f[a+4>>2]=f[h+4>>2];f[a+8>>2]=f[h+8>>2];f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[d>>2]=(f[d>>2]|0)+40}c=f[i+16>>2]|0;if((i|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);u=j;return}function Co(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;d=f[a+24>>2]|0;l=a+28|0;a=f[l>>2]|0;a:do if((d|0)!=(a|0)){k=b[c+11>>0]|0;i=k<<24>>24<0;k=i?f[c+4>>2]|0:k&255;i=i?f[c>>2]|0:c;j=(k|0)==0;while(1){c=b[d+11>>0]|0;e=c<<24>>24<0;c=c&255;do if(((e?f[d+4>>2]|0:c)|0)==(k|0)){h=f[d>>2]|0;g=e?h:d;h=h&255;if(e){if(j)break a;if(!(anb(g,i,k)|0))break a;else break}if(j)break a;if((b[i>>0]|0)==h<<24>>24){g=d;e=i;do{c=c+-1|0;g=g+1|0;if(!c)break a;e=e+1|0}while((b[g>>0]|0)==(b[e>>0]|0))}}while(0);d=d+12|0;if((d|0)==(a|0)){d=0;break}}return d|0}while(0);if((d|0)==(a|0)){m=0;return m|0}c=d+12|0;if((c|0)!=(a|0)){do{e=d+11|0;if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[d+4>>2]=0}else{b[d>>0]=0;b[e>>0]=0}YBb(d,0);f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=c+12|0;d=d+12|0}while((c|0)!=(a|0));a=f[l>>2]|0;if((a|0)!=(d|0))m=21}else m=21;if((m|0)==21)do{a=a+-12|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(d|0));f[l>>2]=d;m=1;return m|0}function Do(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)/40|0;e=h+1|0;if(e>>>0>107374182)DCb(a);n=a+8|0;l=((f[n>>2]|0)-d|0)/40|0;d=l<<1;d=l>>>0<53687091?(d>>>0<e>>>0?e:d):107374182;do if(d)if(d>>>0>107374182){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{g=EBb(d*40|0)|0;break}else g=0;while(0);j=g+(h*40|0)|0;l=g+(d*40|0)|0;d=c+16|0;e=f[d>>2]|0;do if(e)if((c|0)==(e|0)){f[g+(h*40|0)+16>>2]=j;Bj[f[(f[e>>2]|0)+12>>2]&1023](e,j);break}else{f[g+(h*40|0)+16>>2]=e;f[d>>2]=0;break}else f[g+(h*40|0)+16>>2]=0;while(0);d=g+(h*40|0)+24|0;k=c+24|0;f[d>>2]=f[k>>2];f[d+4>>2]=f[k+4>>2];f[d+8>>2]=f[k+8>>2];f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;k=j+40|0;d=f[a>>2]|0;e=f[m>>2]|0;if((e|0)!=(d|0)){do{c=j;j=j+-40|0;g=e;e=e+-40|0;h=g+-24|0;i=f[h>>2]|0;do if(i)if((e|0)==(i|0)){f[c+-24>>2]=j;i=f[h>>2]|0;Bj[f[(f[i>>2]|0)+12>>2]&1023](i,j);break}else{f[c+-24>>2]=i;f[h>>2]=0;break}else f[c+-24>>2]=0;while(0);h=c+-16|0;i=g+-16|0;f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];f[h+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0}while((e|0)!=(d|0));d=f[a>>2]|0;g=f[m>>2]|0;f[a>>2]=j;f[m>>2]=k;f[n>>2]=l;if((g|0)!=(d|0))do{e=g+-16|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);e=f[g+-24>>2]|0;g=g+-40|0;if((g|0)!=(e|0)){if(e|0)tj[f[(f[e>>2]|0)+20>>2]&2047](e)}else tj[f[(f[e>>2]|0)+16>>2]&2047](e)}while((g|0)!=(d|0))}else{f[a>>2]=j;f[m>>2]=k;f[n>>2]=l}if(!d)return;GBb(d);return}function Eo(a){a=a|0;GBb(a);return}function Fo(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303568;f[b+4>>2]=f[a+4>>2];return b|0}function Go(a,b){a=a|0;b=b|0;f[b>>2]=303568;f[b+4>>2]=f[a+4>>2];return}function Ho(a){a=a|0;return}function Io(a){a=a|0;GBb(a);return}function Jo(a){a=a|0;No(f[(f[a+4>>2]|0)+68>>2]|0);return}function Ko(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==363530?a+4|0:0)|0}function Lo(a){a=a|0;return 275768}function Mo(a){a=a|0;return}function No(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;j=p+28|0;h=p+24|0;n=p+12|0;k=p;f[h>>2]=0;f[n>>2]=0;o=n+4|0;f[o>>2]=0;i=n+8|0;f[i>>2]=0;l=a+4|0;c=f[l>>2]|0;m=a+8|0;g=f[m>>2]|0;if((c|0)!=(g|0)){e=0;do{do if(!(b[(f[c>>2]|0)+92>>0]|0)){d=f[o>>2]|0;if((d|0)==(f[i>>2]|0)){Oo(n,h);break}else{f[d>>2]=e;f[o>>2]=d+4;break}}while(0);e=(f[h>>2]|0)+1|0;f[h>>2]=e;c=c+4|0}while((c|0)!=(g|0));c=f[o>>2]|0;if((c|0)!=(f[n>>2]|0))do{c=c+-4|0;d=(f[l>>2]|0)+(f[c>>2]<<2)|0;e=f[d>>2]|0;g=d+4|0;h=(f[m>>2]|0)-g|0;if(h|0)ZDb(d|0,g|0,h|0)|0;f[m>>2]=d+(h>>2<<2);if(e|0)GBb(e)}while((c|0)!=(f[n>>2]|0))}h=f[a>>2]|0;Po(h);f[k>>2]=0;i=k+4|0;f[i>>2]=0;g=k+8|0;f[g>>2]=0;c=f[h>>2]|0;h=f[h+4>>2]|0;if((c|0)!=(h|0)){do{e=f[c>>2]|0;f[j>>2]=e;d=e;do if(!(f[e+72>>2]|0)){e=f[i>>2]|0;if((e|0)==(f[g>>2]|0)){Qo(k,j);break}else{f[e>>2]=d;f[i>>2]=(f[i>>2]|0)+4;break}}while(0);c=c+4|0}while((c|0)!=(h|0));d=f[k>>2]|0;c=f[i>>2]|0;if((d|0)!=(c|0)){h=a+12|0;do{g=f[d>>2]|0;e=EBb(96)|0;f[e+88>>2]=g;b[e+92>>0]=0;O4a(e);f[e+48>>2]=1;f[e+32>>2]=e;Ro(e);f[j>>2]=e;g=f[m>>2]|0;if((g|0)==(f[h>>2]|0))Uo(l,j);else{f[g>>2]=e;f[m>>2]=(f[m>>2]|0)+4}d=d+4|0}while((d|0)!=(c|0));c=f[k>>2]|0}if(c|0){f[i>>2]=c;GBb(c)}}c=f[n>>2]|0;if(!c){u=p;return}f[o>>2]=c;GBb(c);u=p;return}function Oo(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<c>>>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 Po(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;m=u;u=u+16|0;j=m+4|0;g=m;f[j>>2]=0;l=j+4|0;f[l>>2]=0;h=j+8|0;f[h>>2]=0;f[g>>2]=0;c=f[a>>2]|0;k=a+4|0;i=f[k>>2]|0;if((c|0)==(i|0)){u=m;return}e=0;do{do if((f[(f[c>>2]|0)+72>>2]|0)==2){d=f[l>>2]|0;if((d|0)==(f[h>>2]|0)){Oo(j,g);break}else{f[d>>2]=e;f[l>>2]=d+4;break}}while(0);e=(f[g>>2]|0)+1|0;f[g>>2]=e;c=c+4|0}while((c|0)!=(i|0));d=f[l>>2]|0;c=f[j>>2]|0;if((d|0)==(c|0)){if(!c){u=m;return}}else{c=d;do{c=c+-4|0;d=(f[a>>2]|0)+(f[c>>2]<<2)|0;h=f[d>>2]|0;e=d+4|0;g=(f[k>>2]|0)-e|0;if(g|0)ZDb(d|0,e|0,g|0)|0;f[k>>2]=d+(g>>2<<2);if(h|0){d=f[h+64>>2]|0;if((h+48|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);d=f[h+40>>2]|0;if((h+24|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);d=h+12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);GBb(h)}}while((c|0)!=(f[j>>2]|0))}f[l>>2]=c;GBb(c);u=m;return}function Qo(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<c>>>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 Ro(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;c=j;b[a+92>>0]=1;g=f[a+88>>2]|0;f[g+72>>2]=1;if((b[g+11>>0]|0)<0)i=f[g>>2]|0;else i=g;d=g+12|0;e=b[d+11>>0]|0;h=e<<24>>24<0;if(h)e=f[g+16>>2]|0;else e=e&255;do if(e)if(h){d=f[d>>2]|0;break}else break;else d=0;while(0);e=c+4|0;f[e>>2]=0;f[e+4>>2]=0;e=c+11|0;b[e>>0]=3;b[c>>0]=b[363495]|0;b[c+1>>0]=b[363496]|0;b[c+2>>0]=b[363497]|0;b[c+3>>0]=0;if(!d)Smb(a,c)|0;else{ZBb(c,363499)|0;Smb(a,(b[e>>0]|0)<0?f[c>>2]|0:c)|0;f[a+80>>2]=d;h=Rmb(d)|0;f[a+84>>2]=h}f[a+36>>2]=1472;f[a+40>>2]=1473;P4a(a,i)|0;if((b[e>>0]|0)>=0){u=j;return}GBb(f[c>>2]|0);u=j;return}function So(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+32|0;i=k+12|0;j=k;g=f[a+4>>2]|0;if(!g){R4a(a)|0;u=k;return}b[g+92>>0]=0;d=f[a+12>>2]|0;e=f[a+16>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;if(e>>>0>4294967279)MBb(i);if(e>>>0<11){b[i+11>>0]=e;if(!e)c=i;else{c=i;h=7}}else{h=e+16&-16;c=EBb(h)|0;f[i>>2]=c;f[i+8>>2]=h|-2147483648;f[i+4>>2]=e;h=7}if((h|0)==7)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;c=f[g+88>>2]|0;f[c+72>>2]=2;OBb(j,i);c=f[c+40>>2]|0;if(!c){k=ab(4)|0;f[k>>2]=358636;eb(k|0,300632,1379)}Bj[f[(f[c>>2]|0)+24>>2]&1023](c,j);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);R4a(a)|0;u=k;return}function To(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+32|0;d=h;e=h+16|0;g=h+4|0;c=f[a+4>>2]|0;if(!c){R4a(a)|0;u=h;return}b[c+92>>0]=0;f[d>>2]=j[a+42>>1];_j(e,363504,d);c=f[c+88>>2]|0;f[c+72>>2]=2;OBb(g,e);c=f[c+64>>2]|0;if(!c){h=ab(4)|0;f[h>>2]=358636;eb(h|0,300632,1379)}Bj[f[(f[c>>2]|0)+24>>2]&1023](c,g);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);R4a(a)|0;u=h;return}function Uo(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<c>>>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 Vo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h+8|0;e=h;if(!c){c=0;u=h;return c|0}if((qc(369340,d|0,e|0)|0)<=-1){c=1;u=h;return c|0}g=~~+p[d>>3];a=~~+p[e>>3];b=c+60|0;Z9a(f[b>>2]|0,d,e);if(!((f[d>>2]|0)==(g|0)?(f[e>>2]|0)==(a|0):0)){iib(f[b>>2]|0,g,a);e=f[c+92>>2]|0;hj[f[(f[e>>2]|0)+168>>2]&63](e,0,0,g,a)|0;f[c+52>>2]=g;f[c+56>>2]=a}c=1;u=h;return c|0}function Wo(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,u=0;s=a+8|0;a:do if(f[s>>2]|0?(r=f[a>>2]|0,u=a+4|0,f[a>>2]=u,f[(f[u>>2]|0)+8>>2]=0,f[u>>2]=0,f[s>>2]=0,e=f[r+4>>2]|0,e=(e|0)==0?r:e,e|0):0){q=u;r=a+4|0;g=f[c>>2]|0;while(1){if((g|0)==(f[d>>2]|0))break;j=e+16|0;UBb(j,g+16|0)|0;UBb(e+28|0,g+28|0)|0;p=e+8|0;i=f[p>>2]|0;do if(i){h=f[i>>2]|0;if((h|0)==(e|0)){f[i>>2]=0;h=f[i+4>>2]|0;if(!h)break;while(1){i=f[h>>2]|0;if(!i){i=f[h+4>>2]|0;if(!i)break;else h=i}else h=i}i=h;break}else{f[i+4>>2]=0;if(!h)break;while(1){i=f[h>>2]|0;if(!i){i=f[h+4>>2]|0;if(!i)break;else h=i}else h=i}i=h;break}}else i=0;while(0);h=f[u>>2]|0;do if(h){o=b[j+11>>0]|0;n=o<<24>>24<0;o=n?f[e+20>>2]|0:o&255;n=n?f[j>>2]|0:j;while(1){k=h+16|0;m=b[k+11>>0]|0;l=m<<24>>24<0;m=l?f[h+20>>2]|0:m&255;j=m>>>0<o>>>0?m:o;if((j|0)!=0?(t=anb(n,l?f[k>>2]|0:k,j)|0,(t|0)!=0):0)if((t|0)<0)k=25;else k=27;else if(o>>>0<m>>>0)k=25;else k=27;if((k|0)==25){j=f[h>>2]|0;if(!j){k=26;break}else h=j}else if((k|0)==27){j=f[h+4>>2]|0;if(!j){k=28;break}else h=j}}if((k|0)==26){j=h;break}else if((k|0)==28){j=h+4|0;break}}else{j=u;h=q}while(0);f[e>>2]=0;f[e+4>>2]=0;f[p>>2]=h;f[j>>2]=e;h=f[f[a>>2]>>2]|0;if(h){f[a>>2]=h;e=f[j>>2]|0}Xo(f[r>>2]|0,e);f[s>>2]=(f[s>>2]|0)+1;e=f[g+4>>2]|0;if(!e){e=g+8|0;h=f[e>>2]|0;if((f[h>>2]|0)==(g|0))g=h;else do{p=f[e>>2]|0;e=p+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(p|0))}else{while(1){g=f[e>>2]|0;if(!g)break;else e=g}g=e}f[c>>2]=g;if(!i)break a;else e=i}g=f[e+8>>2]|0;if(g){e=g;while(1){g=f[e+8>>2]|0;if(!g)break;else e=g}}Ak(a,e)}while(0);e=f[c>>2]|0;i=f[d>>2]|0;if((e|0)==(i|0))return;h=e;while(1){Yo(a,h+16|0)|0;e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{d=f[g>>2]|0;g=d+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(d|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}f[c>>2]=e;if((e|0)==(i|0))break;else h=e}return}function Xo(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=(c|0)==(a|0);b[c+12>>0]=i&1;if(i)return;while(1){h=c+8|0;i=f[h>>2]|0;d=i+12|0;if(b[d>>0]|0){g=24;break}e=f[i+8>>2]|0;g=f[e>>2]|0;if((g|0)==(i|0)){g=f[e+4>>2]|0;if(!g){g=7;break}g=g+12|0;if(!(b[g>>0]|0))c=g;else{g=7;break}}else{if(!g){g=16;break}g=g+12|0;if(!(b[g>>0]|0))c=g;else{g=16;break}}b[d>>0]=1;b[e+12>>0]=(e|0)==(a|0)&1;b[c>>0]=1;if((e|0)==(a|0)){g=24;break}else c=e}if((g|0)==7){g=i+8|0;if((f[i>>2]|0)==(c|0)){c=d;g=e}else{h=i+4|0;d=f[h>>2]|0;c=f[d>>2]|0;f[h>>2]=c;if(!c)c=e;else{f[c+8>>2]=i;c=f[g>>2]|0}f[d+8>>2]=c;c=f[g>>2]|0;f[((f[c>>2]|0)==(i|0)?c:c+4|0)>>2]=d;f[d>>2]=i;f[g>>2]=d;c=d+12|0;g=f[d+8>>2]|0}b[c>>0]=1;b[g+12>>0]=0;c=f[g>>2]|0;d=c+4|0;e=f[d>>2]|0;f[g>>2]=e;if(e|0)f[e+8>>2]=g;i=g+8|0;f[c+8>>2]=f[i>>2];h=f[i>>2]|0;f[((f[h>>2]|0)==(g|0)?h:h+4|0)>>2]=c;f[d>>2]=g;f[i>>2]=c;return}else if((g|0)==16){a=i+8|0;if((f[i>>2]|0)==(c|0)){g=c+4|0;d=f[g>>2]|0;f[i>>2]=d;if(d){f[d+8>>2]=i;e=f[a>>2]|0}f[h>>2]=e;d=f[a>>2]|0;f[((f[d>>2]|0)==(i|0)?d:d+4|0)>>2]=c;f[g>>2]=i;f[a>>2]=c;d=c+12|0;e=f[c+8>>2]|0}b[d>>0]=1;b[e+12>>0]=0;i=e+4|0;c=f[i>>2]|0;d=f[c>>2]|0;f[i>>2]=d;if(d|0)f[d+8>>2]=e;i=e+8|0;f[c+8>>2]=f[i>>2];h=f[i>>2]|0;f[((f[h>>2]|0)==(e|0)?h:h+4|0)>>2]=c;f[c>>2]=e;f[i>>2]=c;return}else if((g|0)==24)return}function Yo(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;l=EBb(40)|0;e=l+16|0;OBb(e,c);OBb(l+28|0,c+12|0);d=a+4|0;c=f[d>>2]|0;do if(c){j=b[l+27>>0]|0;i=j<<24>>24<0;j=i?f[l+20>>2]|0:j&255;i=i?f[e>>2]|0:e;h=c;while(1){d=h+16|0;g=b[d+11>>0]|0;e=g<<24>>24<0;g=e?f[h+20>>2]|0:g&255;c=g>>>0<j>>>0?g:j;if((c|0)!=0?(k=anb(i,e?f[d>>2]|0:d,c)|0,(k|0)!=0):0)if((k|0)<0)e=7;else e=9;else if(j>>>0<g>>>0)e=7;else e=9;if((e|0)==7){c=f[h>>2]|0;if(!c){e=8;break}}else if((e|0)==9){c=f[h+4>>2]|0;if(!c){e=10;break}}h=c}if((e|0)==8){c=h;d=h;break}else if((e|0)==10){c=h;d=h+4|0;break}}else c=d;while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=c;f[d>>2]=l;c=f[f[a>>2]>>2]|0;if(!c){k=l;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}f[a>>2]=c;k=f[d>>2]|0;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}function Zo(a){a=a|0;GBb(a);return}function _o(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303612;f[b+4>>2]=f[a+4>>2];return b|0}function $o(a,b){a=a|0;b=b|0;f[b>>2]=303612;f[b+4>>2]=f[a+4>>2];return}function ap(a){a=a|0;return}function bp(a){a=a|0;GBb(a);return}function cp(a){a=a|0;var b=0,c=0,d=0;a=f[a+4>>2]|0;b=f[a+300>>2]|0;c=(f[a>>2]|0)+92|0;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+164>>2]&1023](d,0);c=f[c>>2]|0;Bj[f[(f[c>>2]|0)+164>>2]&1023](c,b);fp(f[a>>2]|0,a+304|0);return}function dp(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==363689?a+4|0:0)|0}function ep(a){a=a|0;return 275792}function fp(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+48|0;s=x;d=f[a+12>>2]|0;t=f[a+16>>2]|0;if((d|0)==(t|0)){u=x;return}v=s+16|0;w=s+24|0;m=w+11|0;n=s+28|0;o=c+11|0;p=c+4|0;q=a+28|0;r=a+32|0;l=a+24|0;do{a=d+16|0;e=f[a>>2]|0;do if(e)if((d|0)==(e|0)){f[v>>2]=s;k=f[a>>2]|0;Bj[f[(f[k>>2]|0)+12>>2]&1023](k,s);break}else{k=_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;f[v>>2]=k;break}else f[v>>2]=0;while(0);OBb(w,d+24|0);e=b[m>>0]|0;i=e<<24>>24<0;e=e&255;j=i?f[n>>2]|0:e;k=b[o>>0]|0;a=k<<24>>24<0;a:do if((j|0)==((a?f[p>>2]|0:k&255)|0)){h=f[w>>2]|0;k=i?h:w;a=a?f[c>>2]|0:c;g=(j|0)==0;h=h&255;b:do if(i){if(!g?anb(k,a,j)|0:0)break a}else if(!g){if((b[a>>0]|0)!=h<<24>>24)break a;g=w;while(1){e=e+-1|0;g=g+1|0;if(!e)break b;a=a+1|0;if((b[g>>0]|0)!=(b[a>>0]|0))break a}}while(0);a=f[q>>2]|0;if((a|0)==(f[r>>2]|0)){Ru(l,c);break}else{OBb(a,c);f[q>>2]=(f[q>>2]|0)+12;break}}while(0);if((b[m>>0]|0)<0)GBb(f[w>>2]|0);a=f[v>>2]|0;if((s|0)!=(a|0)){if(a|0)tj[f[(f[a>>2]|0)+20>>2]&2047](a)}else tj[f[(f[a>>2]|0)+16>>2]&2047](a);d=d+40|0}while((d|0)!=(t|0));u=x;return}function gp(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;o=u;u=u+96|0;l=o+8|0;k=o;n=o+56|0;m=o+40|0;j=o+28|0;h=o+16|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;i=m+11|0;b[i>>0]=6;b[m>>0]=b[363733]|0;b[m+1>>0]=b[363734]|0;b[m+2>>0]=b[363735]|0;b[m+3>>0]=b[363736]|0;b[m+4>>0]=b[363737]|0;b[m+5>>0]=b[363738]|0;b[m+6>>0]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;c=EBb(16)|0;f[j>>2]=c;f[j+8>>2]=-2147483632;f[j+4>>2]=13;d=c;e=363740;g=d+13|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+13>>0]=0;OBb(n,m);g=n+12|0;OBb(g,j);f[n+24>>2]=212448;f[n+28>>2]=6515;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[i>>0]|0)<0)GBb(f[m>>2]|0);f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;lk(m,n,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);e=f[m>>2]|0;if(!e){i=(b[g+11>>0]|0)<0?f[g>>2]|0:g;f[k>>2]=(b[n+11>>0]|0)<0?f[n>>2]|0:n;f[k+4>>2]=i;_j(j,363775,k);k=j+11|0;i=(b[k>>0]|0)<0?f[j>>2]|0:j;f[l>>2]=a;f[l+4>>2]=i;Zj(363754,l);if((b[k>>0]|0)<0)GBb(f[j>>2]|0)}else{c=a+348|0;d=f[c>>2]|0;if(((d|0)!=(e|0)?(f[c>>2]=e,l=e+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(k=d+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(d,1,1)}c=f[m>>2]|0;if(c|0?(l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);if((b[n+11>>0]|0)>=0){u=o;return}GBb(f[n>>2]|0);u=o;return}function hp(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+96|0;p=r+56|0;q=r+24|0;m=r+12|0;n=r;f[q+8>>2]=0;d=q+11|0;b[d>>0]=7;b[q>>0]=b[363816]|0;b[q+1>>0]=b[363817]|0;b[q+2>>0]=b[363818]|0;b[q+3>>0]=b[363819]|0;b[q+4>>0]=b[363820]|0;b[q+5>>0]=b[363821]|0;b[q+6>>0]=b[363822]|0;b[q+7>>0]=0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;c=EBb(16)|0;f[m>>2]=c;f[m+8>>2]=-2147483632;f[m+4>>2]=14;e=c;g=363824;h=e+14|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[c+14>>0]=0;OBb(p,q);o=p+12|0;OBb(o,m);j=p+24|0;f[j>>2]=209904;k=p+28|0;f[k>>2]=1627;if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);if((b[d>>0]|0)<0)GBb(f[q>>2]|0);f[m+8>>2]=0;i=m+11|0;b[i>>0]=7;b[m>>0]=b[363816]|0;b[m+1>>0]=b[363817]|0;b[m+2>>0]=b[363818]|0;b[m+3>>0]=b[363819]|0;b[m+4>>0]=b[363820]|0;b[m+5>>0]=b[363821]|0;b[m+6>>0]=b[363822]|0;b[m+7>>0]=0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(16)|0;f[n>>2]=c;f[n+8>>2]=-2147483632;f[n+4>>2]=14;e=c;g=363839;h=e+14|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[c+14>>0]=0;OBb(q,m);h=q+12|0;OBb(h,n);c=q+24|0;f[c>>2]=211536;d=q+28|0;f[d>>2]=898;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);if((b[i>>0]|0)<0)GBb(f[m>>2]|0);e=f[c>>2]|0;d=f[d>>2]|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;if(d>>>0>4294967279)MBb(m);if(d>>>0<11){b[m+11>>0]=d;if(!d)c=m;else{c=m;l=14}}else{l=d+16&-16;c=EBb(l)|0;f[m>>2]=c;f[m+8>>2]=l|-2147483648;f[m+4>>2]=d;l=14}if((l|0)==14)YDb(c|0,e|0,d|0)|0;b[c+d>>0]=0;d=f[j>>2]|0;e=f[k>>2]|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;if(e>>>0>4294967279)MBb(n);if(e>>>0<11){b[n+11>>0]=e;if(!e)c=n;else{c=n;l=20}}else{l=e+16&-16;c=EBb(l)|0;f[n>>2]=c;f[n+8>>2]=l|-2147483648;f[n+4>>2]=e;l=20}if((l|0)==20)YDb(c|0,d|0,e|0)|0;b[c+e>>0]=0;g=dk(m,n)|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);c=EBb(160)|0;jBa(c);FZa(c,g,0);d=EBb(104)|0;b2a(d,363854,0);pTa(c,d,1);d=EBb(104)|0;P2a(d,363860,0);pTa(c,d,1);d=a+352|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,n=c+8|0,f[n>>2]=(f[n>>2]|0)+1,e|0):0)?(m=e+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(e,1,1);e=EBb(160)|0;jBa(e);FZa(e,g,0);c=EBb(104)|0;b2a(c,363854,0);pTa(e,c,1);c=EBb(104)|0;P2a(c,363860,1);pTa(e,c,1);c=a+356|0;d=f[c>>2]|0;if(((d|0)!=(e|0)?(f[c>>2]=e,a=e+8|0,f[a>>2]=(f[a>>2]|0)+1,d|0):0)?(n=d+8|0,a=f[n>>2]|0,f[n>>2]=a-1,(a|0)==1):0)Rua(d,1,1);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);if((b[p+11>>0]|0)>=0){u=r;return}GBb(f[p>>2]|0);u=r;return}function ip(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,s=0;s=u;u=u+176|0;k=s+152|0;l=s+48|0;p=s+140|0;q=s+24|0;n=s+128|0;o=s;r=p+11|0;b[r>>0]=10;d=p;e=363871;g=d+10|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[p+10>>0]=0;i=a;m=q+16|0;f[q>>2]=303656;f[q+4>>2]=i;f[m>>2]=q;OBb(l,p);c=l+16|0;d=f[m>>2]|0;do if(d)if((q|0)==(d|0)){f[l+32>>2]=c;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,c);break}else{j=_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;f[l+32>>2]=j;break}else f[l+32>>2]=0;while(0);h=l+40|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(16)|0;f[n>>2]=c;f[n+8>>2]=-2147483632;f[n+4>>2]=11;d=c;e=363882;g=d+11|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+11>>0]=0;j=o+16|0;f[o>>2]=303700;f[o+4>>2]=i;f[j>>2]=o;OBb(h,n);c=l+56|0;d=f[j>>2]|0;do if(d)if((o|0)==(d|0)){f[l+72>>2]=c;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,c);break}else{i=_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;f[l+72>>2]=i;break}else f[l+72>>2]=0;while(0);f[k>>2]=0;h=k+4|0;f[h>>2]=0;d=k+8|0;f[d>>2]=0;c=EBb(80)|0;f[h>>2]=c;f[k>>2]=c;f[d>>2]=c+80;OBb(c,l);d=c+16|0;e=f[l+32>>2]|0;do if(e)if((l+16|0)==(e|0)){f[c+32>>2]=d;Bj[f[(f[e>>2]|0)+12>>2]&1023](e,d);break}else{i=_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;f[c+32>>2]=i;break}else f[c+32>>2]=0;while(0);c=f[h>>2]|0;d=c+40|0;f[h>>2]=d;OBb(d,l+40|0);d=c+56|0;e=l+72|0;g=f[e>>2]|0;do if(g)if((l+56|0)==(g|0)){f[c+72>>2]=d;i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+12>>2]&1023](i,d);break}else{i=_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;f[c+72>>2]=i;break}else f[c+72>>2]=0;while(0);e=(f[h>>2]|0)+40|0;f[h>>2]=e;kp(a+280|0,f[k>>2]|0,e);e=f[k>>2]|0;if(e|0){c=f[h>>2]|0;if((c|0)==(e|0))c=e;else{do{d=f[c+-8>>2]|0;if((c+-24|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);c=c+-40|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}while((c|0)!=(e|0));c=f[k>>2]|0}f[h>>2]=e;GBb(c)}d=l+40|0;c=f[l+72>>2]|0;if((l+56|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);c=f[l+32>>2]|0;if((l+16|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);c=f[j>>2]|0;if((o|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);c=f[m>>2]|0;if((q|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[r>>0]|0)>=0){u=s;return}GBb(f[p>>2]|0);u=s;return}function jp(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,s=0,t=0,v=0,w=0;w=u;u=u+160|0;q=w+144|0;r=w+140|0;k=w+88|0;t=w+128|0;l=w+64|0;s=w+24|0;v=w;m=t+11|0;b[m>>0]=10;c=t;d=365885;e=c+10|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[t+10>>0]=0;n=a;j=l+16|0;f[l>>2]=304052;f[l+4>>2]=n;f[j>>2]=l;OBb(k,t);c=k+16|0;d=f[j>>2]|0;do if(d)if((l|0)==(d|0)){f[k+32>>2]=c;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,c);break}else{p=_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;f[k+32>>2]=p;break}else f[k+32>>2]=0;while(0);i=EBb(16)|0;c=i;d=363882;e=c+11|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[i+11>>0]=0;p=a+280|0;c=f[p>>2]|0;o=a+284|0;h=f[o>>2]|0;d=c;a:do if((h|0)!=(d|0)){g=c;b:while(1){a=b[g+11>>0]|0;c=a<<24>>24<0;a=a&255;c:do if(((c?f[d+4>>2]|0:a)|0)==11){if(c)if(!(anb(f[d>>2]|0,i,11)|0))break b;else break;e=g;c=a;a=i;while(1){if((b[e>>0]|0)!=(b[a>>0]|0))break c;c=c+-1|0;if(!c)break b;else{e=e+1|0;a=a+1|0}}}while(0);c=d+40|0;if((h|0)==(c|0))break a;else{g=c;d=c}}f[r>>2]=g;f[q>>2]=f[r>>2];hr(p,q,k)|0}while(0);GBb(i);c=f[k+32>>2]|0;if((k+16|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=f[j>>2]|0;if((l|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[m>>0]|0)<0)GBb(f[t>>2]|0);f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;k=t+11|0;b[k>>0]=9;c=t;d=365896;e=c+9|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[t+9>>0]=0;j=v+16|0;f[v>>2]=304384;f[v+4>>2]=n;f[j>>2]=v;OBb(s,t);c=s+16|0;d=f[j>>2]|0;do if(d)if((v|0)==(d|0)){f[s+32>>2]=c;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,c);break}else{n=_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;f[s+32>>2]=n;break}else f[s+32>>2]=0;while(0);i=EBb(16)|0;c=i;d=363882;e=c+11|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[i+11>>0]=0;c=f[p>>2]|0;h=f[o>>2]|0;d=c;d:do if((h|0)!=(d|0)){g=c;e:while(1){a=b[g+11>>0]|0;c=a<<24>>24<0;a=a&255;f:do if(((c?f[d+4>>2]|0:a)|0)==11){if(c)if(!(anb(f[d>>2]|0,i,11)|0))break e;else break;e=g;c=a;a=i;while(1){if((b[e>>0]|0)!=(b[a>>0]|0))break f;c=c+-1|0;if(!c)break e;else{e=e+1|0;a=a+1|0}}}while(0);c=d+40|0;if((h|0)==(c|0))break d;else{g=c;d=c}}f[r>>2]=g;f[q>>2]=f[r>>2];hr(p,q,s)|0}while(0);GBb(i);c=f[s+32>>2]|0;if((s+16|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);c=f[j>>2]|0;if((v|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[k>>0]|0)>=0){u=w;return}GBb(f[t>>2]|0);u=w;return}function kp(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;l=n;j=(d-c|0)/40|0;k=a+8|0;e=f[k>>2]|0;g=f[a>>2]|0;h=g;if(j>>>0>((e-g|0)/40|0)>>>0){if(g){i=a+4|0;e=f[i>>2]|0;if((e|0)==(h|0))e=g;else{do{g=f[e+-8>>2]|0;if((e+-24|0)!=(g|0)){if(g|0)tj[f[(f[g>>2]|0)+20>>2]&2047](g)}else tj[f[(f[g>>2]|0)+16>>2]&2047](g);e=e+-40|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(h|0));e=f[a>>2]|0}f[i>>2]=h;GBb(e);f[k>>2]=0;f[i>>2]=0;f[a>>2]=0;e=0}if(j>>>0>107374182)DCb(a);m=(e|0)/40|0;g=m<<1;g=m>>>0<53687091?(g>>>0<j>>>0?j:g):107374182;if(g>>>0>107374182)DCb(a);e=EBb(g*40|0)|0;j=a+4|0;f[j>>2]=e;f[a>>2]=e;f[k>>2]=e+(g*40|0);if((c|0)==(d|0)){u=n;return}do{OBb(e,c);g=e+16|0;h=c+32|0;i=f[h>>2]|0;do if(i)if((c+16|0)==(i|0)){f[e+32>>2]=g;m=f[h>>2]|0;Bj[f[(f[m>>2]|0)+12>>2]&1023](m,g);break}else{m=_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;f[e+32>>2]=m;break}else f[e+32>>2]=0;while(0);c=c+40|0;e=(f[j>>2]|0)+40|0;f[j>>2]=e}while((c|0)!=(d|0));u=n;return}m=a+4|0;e=((f[m>>2]|0)-g|0)/40|0;a=j>>>0>e>>>0;e=c+(e*40|0)|0;k=a?e:d;if((k|0)!=(c|0)){j=l+16|0;do{UBb(h,c)|0;g=h+16|0;i=f[c+32>>2]|0;do if(i)if((c+16|0)==(i|0)){f[j>>2]=l;Bj[f[(f[i>>2]|0)+12>>2]&1023](i,l);break}else{i=_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;f[j>>2]=i;break}else f[j>>2]=0;while(0);lp(l,g);g=f[j>>2]|0;if((l|0)!=(g|0)){if(g|0)tj[f[(f[g>>2]|0)+20>>2]&2047](g)}else tj[f[(f[g>>2]|0)+16>>2]&2047](g);c=c+40|0;h=h+40|0}while((c|0)!=(k|0))}if(a){if((k|0)==(d|0)){u=n;return}g=f[m>>2]|0;do{OBb(g,e);h=g+16|0;i=e+32|0;c=f[i>>2]|0;do if(c)if((e+16|0)==(c|0)){f[g+32>>2]=h;l=f[i>>2]|0;Bj[f[(f[l>>2]|0)+12>>2]&1023](l,h);break}else{l=_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;f[g+32>>2]=l;break}else f[g+32>>2]=0;while(0);e=e+40|0;g=(f[m>>2]|0)+40|0;f[m>>2]=g}while((e|0)!=(d|0));u=n;return}e=f[m>>2]|0;if((e|0)!=(h|0))do{g=f[e+-8>>2]|0;if((e+-24|0)!=(g|0)){if(g|0)tj[f[(f[g>>2]|0)+20>>2]&2047](g)}else tj[f[(f[g>>2]|0)+16>>2]&2047](g);e=e+-40|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0)}while((e|0)!=(h|0));f[m>>2]=h;u=n;return}function lp(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;c=i;if((b|0)==(a|0)){u=i;return}e=a+16|0;d=f[e>>2]|0;g=d;h=b+16|0;if((d|0)==(a|0))if((f[h>>2]|0)==(b|0)){Bj[f[(f[d>>2]|0)+12>>2]&1023](d,c);g=f[e>>2]|0;tj[f[(f[g>>2]|0)+16>>2]&2047](g);f[e>>2]=0;g=f[h>>2]|0;Bj[f[(f[g>>2]|0)+12>>2]&1023](g,a);g=f[h>>2]|0;tj[f[(f[g>>2]|0)+16>>2]&2047](g);f[h>>2]=0;f[e>>2]=a;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,b);tj[f[(f[c>>2]|0)+16>>2]&2047](c);f[h>>2]=b;u=i;return}else{Bj[f[(f[d>>2]|0)+12>>2]&1023](d,b);h=f[e>>2]|0;tj[f[(f[h>>2]|0)+16>>2]&2047](h);h=b+16|0;f[e>>2]=f[h>>2];f[h>>2]=b;u=i;return}else{c=f[h>>2]|0;if((b|0)==(c|0)){Bj[f[(f[c>>2]|0)+12>>2]&1023](c,a);g=f[h>>2]|0;tj[f[(f[g>>2]|0)+16>>2]&2047](g);f[h>>2]=f[e>>2];f[e>>2]=a;u=i;return}else{f[e>>2]=c;f[h>>2]=g;u=i;return}}}function mp(a){a=a|0;GBb(a);return}function np(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303656;f[b+4>>2]=f[a+4>>2];return b|0}function op(a,b){a=a|0;b=b|0;f[b>>2]=303656;f[b+4>>2]=f[a+4>>2];return}function pp(a){a=a|0;return}function qp(a){a=a|0;GBb(a);return}function rp(a){a=a|0;a=f[a+4>>2]|0;up(a);vp(a);wp(a);return 0}function sp(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==364270?a+4|0:0)|0}function tp(a){a=a|0;return 275824}function up(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;l=u;u=u+64|0;k=l+24|0;i=l+12|0;j=l;c=EBb(12)|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;h=a+128|0;f[h>>2]=c;f[i+8>>2]=0;c=i+11|0;b[c>>0]=7;b[i>>0]=b[364067]|0;b[i+1>>0]=b[364068]|0;b[i+2>>0]=b[364069]|0;b[i+3>>0]=b[364070]|0;b[i+4>>0]=b[364071]|0;b[i+5>>0]=b[364072]|0;b[i+6>>0]=b[364073]|0;b[i+7>>0]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;a=EBb(16)|0;f[j>>2]=a;f[j+8>>2]=-2147483632;f[j+4>>2]=15;d=a;e=364075;g=d+15|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[a+15>>0]=0;OBb(k,i);e=k+12|0;OBb(e,j);g=k+24|0;f[g>>2]=16;f[k+28>>2]=2662;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[c>>0]|0)<0)GBb(f[i>>2]|0);a=f[h>>2]|0;c=a+4|0;d=f[c>>2]|0;if((d|0)==(f[a+8>>2]|0))xp(a,k);else{OBb(d,k);OBb(d+12|0,e);m=g;a=f[m+4>>2]|0;g=d+24|0;f[g>>2]=f[m>>2];f[g+4>>2]=a;f[c>>2]=(f[c>>2]|0)+32}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);f[i+8>>2]=0;c=i+11|0;b[c>>0]=7;b[i>>0]=b[364067]|0;b[i+1>>0]=b[364068]|0;b[i+2>>0]=b[364069]|0;b[i+3>>0]=b[364070]|0;b[i+4>>0]=b[364071]|0;b[i+5>>0]=b[364072]|0;b[i+6>>0]=b[364073]|0;b[i+7>>0]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;a=EBb(32)|0;f[j>>2]=a;f[j+8>>2]=-2147483616;f[j+4>>2]=17;d=a;e=364091;g=d+17|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[a+17>>0]=0;OBb(k,i);e=k+12|0;OBb(e,j);g=k+24|0;f[g>>2]=2688;f[k+28>>2]=1078;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[c>>0]|0)<0)GBb(f[i>>2]|0);a=f[h>>2]|0;c=a+4|0;d=f[c>>2]|0;if((d|0)==(f[a+8>>2]|0))xp(a,k);else{OBb(d,k);OBb(d+12|0,e);a=g;g=f[a+4>>2]|0;m=d+24|0;f[m>>2]=f[a>>2];f[m+4>>2]=g;f[c>>2]=(f[c>>2]|0)+32}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);f[i+8>>2]=0;c=i+11|0;b[c>>0]=7;b[i>>0]=b[364067]|0;b[i+1>>0]=b[364068]|0;b[i+2>>0]=b[364069]|0;b[i+3>>0]=b[364070]|0;b[i+4>>0]=b[364071]|0;b[i+5>>0]=b[364072]|0;b[i+6>>0]=b[364073]|0;b[i+7>>0]=0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;a=EBb(32)|0;f[j>>2]=a;f[j+8>>2]=-2147483616;f[j+4>>2]=20;d=a;e=364109;g=d+20|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[a+20>>0]=0;OBb(k,i);e=k+12|0;OBb(e,j);g=k+24|0;f[g>>2]=3776;f[k+28>>2]=550;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[c>>0]|0)<0)GBb(f[i>>2]|0);a=f[h>>2]|0;c=a+4|0;d=f[c>>2]|0;if((d|0)==(f[a+8>>2]|0))xp(a,k);else{OBb(d,k);OBb(d+12|0,e);i=g;j=f[i+4>>2]|0;m=d+24|0;f[m>>2]=f[i>>2];f[m+4>>2]=j;f[c>>2]=(f[c>>2]|0)+32}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[k+11>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function vp(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;m=u;u=u+64|0;l=m+24|0;j=m+12|0;k=m;i=EBb(12)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;h=a+132|0;f[h>>2]=i;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;i=j+11|0;b[i>>0]=6;b[j>>0]=b[364130]|0;b[j+1>>0]=b[364131]|0;b[j+2>>0]=b[364132]|0;b[j+3>>0]=b[364133]|0;b[j+4>>0]=b[364134]|0;b[j+5>>0]=b[364135]|0;b[j+6>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;a=EBb(32)|0;f[k>>2]=a;f[k+8>>2]=-2147483616;f[k+4>>2]=17;c=a;d=364137;e=c+17|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+17>>0]=0;OBb(l,j);e=l+12|0;OBb(e,k);g=l+24|0;f[g>>2]=4336;f[l+28>>2]=205567;if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[i>>0]|0)<0)GBb(f[j>>2]|0);a=f[h>>2]|0;c=a+4|0;d=f[c>>2]|0;if((d|0)==(f[a+8>>2]|0))xp(a,l);else{OBb(d,l);OBb(d+12|0,e);i=g;j=f[i+4>>2]|0;k=d+24|0;f[k>>2]=f[i>>2];f[k+4>>2]=j;f[c>>2]=(f[c>>2]|0)+32}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[l+11>>0]|0)>=0){u=m;return}GBb(f[l>>2]|0);u=m;return}function wp(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,s=0,t=0;t=u;u=u+192|0;s=t+40|0;r=t+32|0;j=t+24|0;i=t+16|0;h=t+8|0;g=t;n=t+160|0;o=t+72|0;p=t+60|0;q=t+48|0;d=f[a+128>>2]|0;f[n+8>>2]=0;e=n+11|0;b[e>>0]=7;b[n>>0]=b[364067]|0;b[n+1>>0]=b[364068]|0;b[n+2>>0]=b[364069]|0;b[n+3>>0]=b[364070]|0;b[n+4>>0]=b[364071]|0;b[n+5>>0]=b[364072]|0;b[n+6>>0]=b[364073]|0;b[n+7>>0]=0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;c=EBb(16)|0;f[o>>2]=c;f[o+8>>2]=-2147483632;f[o+4>>2]=15;k=c;l=364075;m=k+15|0;do{b[k>>0]=b[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));b[c+15>>0]=0;c=yp(d,n,o)|0;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);if((b[e>>0]|0)<0)GBb(f[n>>2]|0);if(!c){_j(n,364155,g);s=n+11|0;r=(b[s>>0]|0)<0?f[n>>2]|0:n;f[h>>2]=a;f[h+4>>2]=r;Zj(363754,h);if((b[s>>0]|0)<0)GBb(f[n>>2]|0);u=t;return}Hrb(n);f[n>>2]=302248;l=f[c+24>>2]|0;m=l+(f[c+28>>2]|0)|0;f[n+8>>2]=l;f[n+12>>2]=l;f[n+16>>2]=m;m=o+8|0;f[o>>2]=358820;f[m>>2]=358840;f[o+4>>2]=0;Brb(m,n);f[o+80>>2]=0;f[o+84>>2]=-1;do if(jk(o,a+48|0)|0){c=f[a+132>>2]|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;e=p+11|0;b[e>>0]=6;b[p>>0]=b[364130]|0;b[p+1>>0]=b[364131]|0;b[p+2>>0]=b[364132]|0;b[p+3>>0]=b[364133]|0;b[p+4>>0]=b[364134]|0;b[p+5>>0]=b[364135]|0;b[p+6>>0]=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]=17;k=d;l=364137;m=k+17|0;do{b[k>>0]=b[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));b[d+17>>0]=0;c=yp(c,p,q)|0;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[e>>0]|0)<0)GBb(f[p>>2]|0);if(c|0){s=nk(c)|0;ENa(f[a+352>>2]|0,0,s,1);ENa(f[a+356>>2]|0,0,s,1);break}_j(p,364232,r);r=p+11|0;q=(b[r>>0]|0)<0?f[p>>2]|0:p;f[s>>2]=a;f[s+4>>2]=q;Zj(363754,s);if((b[r>>0]|0)<0)GBb(f[p>>2]|0)}else{_j(p,364194,i);s=p+11|0;r=(b[s>>0]|0)<0?f[p>>2]|0:p;f[j>>2]=a;f[j+4>>2]=r;Zj(363754,j);if((b[s>>0]|0)<0)GBb(f[p>>2]|0)}while(0);_qb(o);qqb(n);u=t;return}function xp(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;l=a+4|0;d=f[a>>2]|0;h=(f[l>>2]|0)-d>>5;e=h+1|0;if(e>>>0>134217727)DCb(a);m=a+8|0;k=(f[m>>2]|0)-d|0;d=k>>4;d=k>>5>>>0<67108863?(d>>>0<e>>>0?e:d):134217727;do if(d)if(d>>>0>134217727){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{i=EBb(d<<5)|0;break}else i=0;while(0);e=i+(h<<5)|0;k=i+(d<<5)|0;OBb(e,c);OBb(i+(h<<5)+12|0,c+12|0);g=c+24|0;d=f[g+4>>2]|0;j=i+(h<<5)+24|0;f[j>>2]=f[g>>2];f[j+4>>2]=d;j=e+32|0;d=f[a>>2]|0;g=d;c=f[l>>2]|0;if((c|0)!=(d|0)){g=h+-1-((c+-32-g|0)>>>5)|0;do{h=e;e=e+-32|0;o=c;c=c+-32|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;p=h+-20|0;n=o+-20|0;f[p>>2]=f[n>>2];f[p+4>>2]=f[n+4>>2];f[p+8>>2]=f[n+8>>2];f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;o=o+-8|0;n=f[o+4>>2]|0;h=h+-8|0;f[h>>2]=f[o>>2];f[h+4>>2]=n}while((c|0)!=(d|0));e=i+(g<<5)|0;g=f[a>>2]|0;d=f[l>>2]|0}f[a>>2]=e;f[l>>2]=j;f[m>>2]=k;c=g;if((d|0)!=(c|0))do{e=d+-20|0;d=d+-32|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(c|0));if(!g)return;GBb(g);return}function yp(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;q=f[a>>2]|0;o=(f[a+4>>2]|0)-q|0;p=o>>5;if(!o){q=0;return q|0}o=b[c+11>>0]|0;m=o<<24>>24<0;o=m?f[c+4>>2]|0:o&255;m=m?f[c>>2]|0:c;n=b[d+11>>0]|0;j=n<<24>>24<0;n=j?f[d+4>>2]|0:n&255;j=j?f[d>>2]|0:d;k=(o|0)==0;l=(n|0)==0;i=0;a:while(1){a=q+(i<<5)|0;c=b[a+11>>0]|0;d=c<<24>>24<0;c=c&255;b:do if(((d?f[q+(i<<5)+4>>2]|0:c)|0)==(o|0)){g=f[a>>2]|0;e=d?g:a;g=g&255;c:do if(d){if(!k?anb(e,m,o)|0:0)break b}else if(!k){if((b[m>>0]|0)!=g<<24>>24)break b;e=a;d=m;while(1){c=c+-1|0;e=e+1|0;if(!c)break c;d=d+1|0;if((b[e>>0]|0)!=(b[d>>0]|0))break b}}while(0);e=q+(i<<5)+12|0;c=b[e+11>>0]|0;d=c<<24>>24<0;c=c&255;if(((d?f[q+(i<<5)+16>>2]|0:c)|0)==(n|0)){h=f[e>>2]|0;g=d?h:e;h=h&255;if(d){if(l){c=22;break a}if(!(anb(g,j,n)|0)){c=22;break a}else break}if(l){c=22;break a}if((b[j>>0]|0)==h<<24>>24){d=j;do{c=c+-1|0;e=e+1|0;if(!c){c=22;break a}d=d+1|0}while((b[e>>0]|0)==(b[d>>0]|0))}}}while(0);i=i+1|0;if(i>>>0>=p>>>0){a=0;c=22;break}}if((c|0)==22)return a|0;return 0}function zp(a){a=a|0;GBb(a);return}function Ap(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303700;f[b+4>>2]=f[a+4>>2];return b|0}function Bp(a,b){a=a|0;b=b|0;f[b>>2]=303700;f[b+4>>2]=f[a+4>>2];return}function Cp(a){a=a|0;return}function Dp(a){a=a|0;GBb(a);return}function Ep(a){a=a|0;return Hp(f[a+4>>2]|0)|0}function Fp(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==365840?a+4|0:0)|0}function Gp(a){a=a|0;return 276016}function Hp(a){a=a|0;var b=0,c=0,d=0;c=u;u=u+32|0;d=c;Ip(a);Jp(a);b=d+16|0;f[d>>2]=303788;f[d+4>>2]=a;f[b>>2]=d;Bo(a+204|0,d,a+488|0);b=f[b>>2]|0;if((d|0)!=(b|0)){if(b|0)tj[f[(f[b>>2]|0)+20>>2]&2047](b)}else tj[f[(f[b>>2]|0)+16>>2]&2047](b);Kp(a);Lp(a);Mp(a);Np(a);Op(a);u=c;return 0}function Ip(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+32|0;h=i+8|0;g=i;e=i+16|0;c=Ni(0)|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;j=e+11|0;b[j>>0]=4;f[e>>2]=1684366707;b[e+4>>0]=0;d=Qp(a+252|0,e)|0;if((b[j>>0]|0)<0)GBb(f[e>>2]|0);if((d|0)==(a+256|0)){j=c;Pp(a,j);u=i;return}c=d+28|0;if((b[c+11>>0]|0)<0)c=f[c>>2]|0;c=Tnb(c)|0;f[g>>2]=c;_j(e,364430,g);j=e+11|0;g=(b[j>>0]|0)<0?f[e>>2]|0:e;f[h>>2]=a;f[h+4>>2]=g;Zj(363754,h);if((b[j>>0]|0)<0)GBb(f[e>>2]|0);j=c;Pp(a,j);u=i;return}function Jp(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;h=u;u=u+32|0;g=h;b=a+360|0;e=f[b>>2]|0;e=_i[f[(f[e>>2]|0)+248>>2]&2047](e)|0;if(e|0){c=f[(f[b>>2]|0)+124>>2]|0;d=~f[a+196>>2];b=0;do{i=(f[c+(b<<2)>>2]|0)+116|0;f[i>>2]=f[i>>2]&d;b=b+1|0}while((b|0)!=(e|0))}i=(f[(f[a>>2]|0)+88>>2]|0)+76|0;b=g+16|0;f[g>>2]=303744;f[g+4>>2]=a;f[b>>2]=g;Bo(i,g,a+184|0);b=f[b>>2]|0;if((g|0)==(b|0)){tj[f[(f[b>>2]|0)+16>>2]&2047](b);u=h;return}if(!b){u=h;return}tj[f[(f[b>>2]|0)+20>>2]&2047](b);u=h;return}function Kp(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g;c=g+24|0;d=e+16|0;f[e>>2]=303832;f[e+4>>2]=a;f[d>>2]=e;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Bo(a+440|0,e,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return}if(!a){u=g;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return}function Lp(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g;c=g+24|0;d=e+16|0;f[e>>2]=303876;f[e+4>>2]=a;f[d>>2]=e;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Bo(a+440|0,e,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return}if(!a){u=g;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return}function Mp(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g;c=g+24|0;d=e+16|0;f[e>>2]=303920;f[e+4>>2]=a;f[d>>2]=e;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Bo(a+380|0,e,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return}if(!a){u=g;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return}function Np(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g;c=g+24|0;d=e+16|0;f[e>>2]=303964;f[e+4>>2]=a;f[d>>2]=e;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Bo(a+380|0,e,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return}if(!a){u=g;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return}function Op(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g;c=g+24|0;d=e+16|0;f[e>>2]=304008;f[e+4>>2]=a;f[d>>2]=e;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Bo(a+136|0,e,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return}if(!a){u=g;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return}function Pp(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,C=0,D=0,E=0;E=u;u=u+2576|0;A=E+8|0;z=E;w=E+2552|0;x=E+52|0;D=E+40|0;C=E+28|0;y=E+16|0;f[x>>2]=c;d=1;do{c=(W(c>>>30^c,1812433253)|0)+d|0;f[x+(d<<2)>>2]=c;d=d+1|0}while((d|0)!=624);f[x+2496>>2]=0;f[D>>2]=0;v=D+4|0;f[v>>2]=0;f[D+8>>2]=0;f[C>>2]=0;t=C+4|0;f[t>>2]=0;f[C+8>>2]=0;f[y>>2]=0;s=y+4|0;f[s>>2]=0;m=y+8|0;f[m>>2]=0;n=a+72|0;o=w+4|0;p=w+11|0;q=w+4|0;r=w+8|0;while(1){Up(w,f[n>>2]|0);l=f[w>>2]|0;k=f[o>>2]|0;a:do if((l|0)==(k|0))c=0;else{g=l;while(1){e=f[g>>2]|0;h=f[g+4>>2]|0;i=f[g+8>>2]|0;j=f[g+12>>2]|0;d=l;b:do{c=f[d>>2]|0;if(((h|0)==(f[d+4>>2]|0)?(i|0)==(f[d+8>>2]|0):0)?(j|0)==(f[d+12>>2]|0):0)c=5;else c=(e|0)==(c|0)&1;switch(c&7){case 5:case 0:break;default:{B=13;break b}}d=d+16|0}while((d|0)!=(k|0));if((B|0)==13?(B=0,c|0):0){c=1;break a}g=g+16|0;if((g|0)==(k|0)){c=0;break}}}while(0);if(l|0){f[o>>2]=l;GBb(l)}if(c)break;_j(w,364446,z);l=(b[p>>0]|0)<0?f[w>>2]|0:w;f[A>>2]=a;f[A+4>>2]=l;Zj(363754,A);if((b[p>>0]|0)<0)GBb(f[w>>2]|0);Rp(w,a,x,D,C);c=f[y>>2]|0;if(c|0){f[s>>2]=c;GBb(c);f[m>>2]=0;f[s>>2]=0;f[y>>2]=0}f[y>>2]=f[w>>2];f[s>>2]=f[q>>2];f[m>>2]=f[r>>2];Sp(f[n>>2]|0,y)}Tp(a,D,y,C);c=f[y>>2]|0;if(c|0){f[s>>2]=c;GBb(c)}c=f[C>>2]|0;if(c|0){f[t>>2]=c;GBb(c)}c=f[D>>2]|0;if(!c){u=E;return}f[v>>2]=c;GBb(c);u=E;return}function Qp(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<h>>>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<l>>>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<l>>>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 Rp(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=u;u=u+48|0;o=q+28|0;k=q+16|0;p=q;f[k>>2]=0;l=k+4|0;f[l>>2]=0;i=k+8|0;f[i>>2]=0;j=f[b+60>>2]|0;b=(f[b+64>>2]|0)-j|0;g=(b|0)/12|0;if(b|0){if(g>>>0>357913941)DCb(k);h=EBb(b)|0;f[l>>2]=h;f[k>>2]=h;f[i>>2]=h+(g*12|0);if((b|0)>0){YDb(h|0,j|0,b|0)|0;f[l>>2]=h+(((b>>>0)/12|0)*12|0)}}ik(o,k,c);b=f[d>>2]|0;if(!b){g=d+8|0;h=d+4|0}else{h=d+4|0;f[h>>2]=b;GBb(b);g=d+8|0;f[g>>2]=0;f[h>>2]=0;f[d>>2]=0}i=f[o>>2]|0;f[d>>2]=i;n=o+4|0;b=f[n>>2]|0;f[h>>2]=b;m=o+8|0;f[g>>2]=f[m>>2];f[m>>2]=0;f[n>>2]=0;f[o>>2]=0;g=f[k>>2]|0;if(!g){n=d+4|0;g=i}else{f[l>>2]=g;GBb(g);b=d+4|0;n=b;g=f[d>>2]|0;b=f[b>>2]|0}hk(o,(b-g|0)/12|0);b=f[e>>2]|0;if(!b){b=e+8|0;g=e+4|0}else{g=e+4|0;f[g>>2]=b;GBb(b);b=e+8|0;f[b>>2]=0;f[g>>2]=0;f[e>>2]=0}h=f[o>>2]|0;f[e>>2]=h;f[g>>2]=f[o+4>>2];f[b>>2]=f[o+8>>2];f[a>>2]=0;k=a+4|0;f[k>>2]=0;l=a+8|0;f[l>>2]=0;g=f[d>>2]|0;if((f[n>>2]|0)==(g|0)){u=q;return}m=p+4|0;b=0;i=0;j=0;c=0;while(1){g=g+(b*12|0)|0;f[o>>2]=f[g>>2];f[o+4>>2]=f[g+4>>2];f[o+8>>2]=f[g+8>>2];h=f[h+(b<<2)>>2]|0;f[m>>2]=f[o>>2];f[m+4>>2]=f[o+4>>2];f[m+8>>2]=f[o+8>>2];f[p>>2]=h;if((i|0)==(j|0))Wp(a,p);else{f[c>>2]=f[p>>2];f[c+4>>2]=f[p+4>>2];f[c+8>>2]=f[p+8>>2];f[c+12>>2]=f[p+12>>2];f[k>>2]=(f[k>>2]|0)+16}b=b+1|0;g=f[d>>2]|0;if(b>>>0>=(((f[n>>2]|0)-g|0)/12|0)>>>0)break;c=f[k>>2]|0;h=f[e>>2]|0;i=c;j=f[l>>2]|0}u=q;return}function Sp(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;c=f[b>>2]|0;m=f[b+4>>2]|0;if((c|0)==(m|0))return;n=a+4|0;o=a+4|0;p=a+8|0;do{i=f[c>>2]|0;j=f[c+4>>2]|0;k=f[c+8>>2]|0;l=f[c+12>>2]|0;h=(k*1e3|0)+(j*1e6|0)+l|0;b=f[n>>2]|0;do if(b){e=o;while(1){d=f[b+16>>2]|0;if((h|0)<(d|0)){d=f[b>>2]|0;if(!d){d=8;break}}else{if((d|0)>=(h|0)){d=12;break}e=b+4|0;d=f[e>>2]|0;if(!d){d=11;break}else b=e}e=b;b=d}if((d|0)==8){g=b;e=b;break}else if((d|0)==11){g=b;break}else if((d|0)==12){g=b;break}}else{g=n;e=n}while(0);b=f[e>>2]|0;if(!b){b=EBb(36)|0;f[b+16>>2]=h;d=b+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=g;f[e>>2]=b;d=f[f[a>>2]>>2]|0;if(!d)d=b;else{f[a>>2]=d;d=f[e>>2]|0}Xo(f[o>>2]|0,d);f[p>>2]=(f[p>>2]|0)+1}f[b+20>>2]=i;f[b+24>>2]=j;f[b+28>>2]=k;f[b+32>>2]=l;c=c+16|0}while((c|0)!=(m|0));return}function Tp(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,o=0,p=0,q=0,r=0,s=0,t=0;t=u;u=u+16|0;r=t;s=Xp(a,b,d)|0;_xa(s,f[a+352>>2]|0);n[r>>2]=65.0;n[r+4>>2]=0.0;n[r+8>>2]=0.0;sk(s,r);k=a+300|0;q=f[k>>2]|0;cj[f[(f[q>>2]|0)+228>>2]&1023](q,s)|0;k=f[k>>2]|0;q=(f[a>>2]|0)+92|0;p=f[q>>2]|0;Bj[f[(f[p>>2]|0)+164>>2]&1023](p,0);q=f[q>>2]|0;Bj[f[(f[q>>2]|0)+164>>2]&1023](q,k);k=b+4|0;if((f[k>>2]|0)!=(f[b>>2]|0)){l=s+124|0;m=a+364|0;o=a+368|0;p=a+368|0;q=a+372|0;j=0;do{h=f[(f[l>>2]|0)+(j<<2)>>2]|0;i=h;d=(f[c>>2]|0)+(j<<4)|0;f[r>>2]=f[d>>2];f[r+4>>2]=f[d+4>>2];f[r+8>>2]=f[d+8>>2];f[r+12>>2]=f[d+12>>2];d=f[o>>2]|0;do if(d){g=p;while(1){e=f[d+16>>2]|0;if(h>>>0<e>>>0){e=f[d>>2]|0;if(!e){e=14;break}}else{if(e>>>0>=h>>>0){e=18;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=17;break}else d=g}g=d;d=e}if((e|0)==14){h=d;g=d;break}else if((e|0)==17){h=d;break}else if((e|0)==18){h=d;break}}else{h=o;g=o}while(0);d=f[g>>2]|0;if(!d){d=EBb(36)|0;f[d+16>>2]=i;e=d+20|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[m>>2]>>2]|0;if(!e)e=d;else{f[m>>2]=e;e=f[g>>2]|0}Xo(f[p>>2]|0,e);f[q>>2]=(f[q>>2]|0)+1}i=d+20|0;f[i>>2]=f[r>>2];f[i+4>>2]=f[r+4>>2];f[i+8>>2]=f[r+8>>2];f[i+12>>2]=f[r+12>>2];j=j+1|0}while(j>>>0<(((f[k>>2]|0)-(f[b>>2]|0)|0)/12|0)>>>0)}d=a+360|0;e=f[d>>2]|0;if((e|0)==(s|0)){u=t;return}f[d>>2]=s;if(s|0){s=s+8|0;f[s>>2]=(f[s>>2]|0)+1}if(!e){u=t;return}r=e+8|0;s=f[r>>2]|0;f[r>>2]=s-1;if((s|0)!=1){u=t;return}Rua(e,1,1);u=t;return}function Up(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+48|0;g=m+16|0;h=m;f[a>>2]=0;i=a+4|0;f[i>>2]=0;j=a+8|0;f[j>>2]=0;c=f[b>>2]|0;k=b+4|0;if((c|0)==(k|0)){u=m;return}l=g+4|0;e=c;while(1){d=e+16|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[h>>2]=f[l>>2];f[h+4>>2]=f[l+4>>2];f[h+8>>2]=f[l+8>>2];f[h+12>>2]=f[l+12>>2];do if(Vp(b,h)|0){c=f[i>>2]|0;if((c|0)==(f[j>>2]|0)){Wp(a,h);break}else{f[c>>2]=f[h>>2];f[c+4>>2]=f[h+4>>2];f[c+8>>2]=f[h+8>>2];f[c+12>>2]=f[h+12>>2];f[i>>2]=(f[i>>2]|0)+16;break}}while(0);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(k|0))break;else e=c}u=m;return}function Vp(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;k=f[b+12>>2]|0;l=(f[b+4>>2]|0)*1e6|0;h=k+l|0;n=a+4|0;a=f[n>>2]|0;j=(a|0)==0;if(j){n=1;return n|0}m=(f[b+8>>2]|0)*1e3|0;e=h+-2+m|0;d=e+-1e3|0;b=n;c=a;do{g=(f[c+16>>2]|0)<(d|0);b=g?b:c;c=f[(g?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0)g=0;else i=6;do if((i|0)==6){b=n;c=a;do{i=(f[c+16>>2]|0)<(e|0);b=i?b:c;c=f[(i?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(e|0)>=(f[b+16>>2]|0):0){g=0;break}d=e+1e3|0;b=n;c=a;do{i=(f[c+16>>2]|0)<(d|0);b=i?b:c;c=f[(i?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0){g=0;break}g=1}while(0);e=h+2+m|0;d=e+-1e3|0;b=n;c=a;do{i=(f[c+16>>2]|0)<(d|0);b=i?b:c;c=f[(i?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0)i=27;else i=19;do if((i|0)==19){b=n;c=a;do{h=(f[c+16>>2]|0)<(e|0);b=h?b:c;c=f[(h?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(e|0)>=(f[b+16>>2]|0):0){i=27;break}d=e+1e3|0;b=n;c=a;do{h=(f[c+16>>2]|0)<(d|0);b=h?b:c;c=f[(h?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?!(g|(d|0)<(f[b+16>>2]|0)):0){n=0;return n|0}}while(0);if((i|0)==27?!g:0){n=0;return n|0}g=l+1e6+k|0;if(j){n=1;return n|0}e=g+-1+m|0;d=e+-1e3|0;b=n;c=a;do{l=(f[c+16>>2]|0)<(d|0);b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0){n=0;return n|0}b=n;c=a;do{l=(f[c+16>>2]|0)<(e|0);b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(e|0)>=(f[b+16>>2]|0):0){n=0;return n|0}d=e+1e3|0;b=n;c=a;do{l=(f[c+16>>2]|0)<(d|0);b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0){n=0;return n|0}e=g+m|0;d=e+-1e3|0;b=n;c=a;do{l=(f[c+16>>2]|0)<(d|0);b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0){n=0;return n|0}b=n;c=a;do{l=(f[c+16>>2]|0)<(e|0);b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(e|0)>=(f[b+16>>2]|0):0){n=0;return n|0}d=e+1e3|0;b=n;c=a;do{l=(f[c+16>>2]|0)<(d|0);b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0){n=0;return n|0}e=g+1+m|0;d=e+-1e3|0;b=n;c=a;do{m=(f[c+16>>2]|0)<(d|0);b=m?b:c;c=f[(m?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(d|0)>=(f[b+16>>2]|0):0){n=0;return n|0}b=n;c=a;do{m=(f[c+16>>2]|0)<(e|0);b=m?b:c;c=f[(m?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(n|0)?(e|0)>=(f[b+16>>2]|0):0){n=0;return n|0}c=e+1e3|0;b=n;do{m=(f[a+16>>2]|0)<(c|0);b=m?b:a;a=f[(m?a+4|0:a)>>2]|0}while((a|0)!=0);if((b|0)!=(n|0)?(c|0)>=(f[b+16>>2]|0):0){n=0;return n|0}n=1;return n|0}function Wp(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>>4;c=g+1|0;if(c>>>0>268435455)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>3;h=e>>4>>>0<134217727?(h>>>0<c>>>0?c:h):268435455;do if(h)if(h>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<4)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<4)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+16;f[l>>2]=d+(h<<4);if(!j)return;GBb(j);return}function Xp(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,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0,v=0,w=0;o=u;u=u+16|0;l=o;m=EBb(408)|0;d0a(m);k=m+8|0;f[k>>2]=(f[k>>2]|0)+1;k=f[b>>2]|0;e=f[b+4>>2]|0;if((k|0)==(e|0)){v0a(m)|0;u=o;return m|0}g=a+348|0;h=l+4|0;i=l+4|0;j=l+8|0;d=a+316|0;a=0;b=k;while(1){t=f[b>>2]|0;v=f[b+4>>2]|0;w=f[b+8>>2]|0;p=EBb(160)|0;k=f[g>>2]|0;f[l>>2]=346256;f[h>>2]=2147483647;uZa(p,k,l);k=EBb(408)|0;d0a(k);cj[f[(f[k>>2]|0)+228>>2]&1023](k,p)|0;s=+(w|0);r=+(v|0)*1.5;q=+(t|0);n[l>>2]=s*.05000000074505806+s;n[i>>2]=r+r*.05000000074505806;n[j>>2]=q*.05000000074505806+q;rk(k,l);Yp(f[d>>2]|0,f[(f[c>>2]|0)+(a<<2)>>2]|0,p);cj[f[(f[m>>2]|0)+228>>2]&1023](m,k)|0;b=b+12|0;if((b|0)==(e|0))break;else a=a+1|0}v0a(m)|0;u=o;return m|0}function Yp(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,o=0;o=u;u=u+48|0;h=o+8|0;g=o;m=o+28|0;e=o+16|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;if(Zp(a,c,d,m)|0){g=f[a+36>>2]|0;h=(c|0)/(g|0)|0;c=c-(W(h,g)|0)|0;k=+n[a+28>>2];i=k*+(c+1|0);l=+n[a+32>>2];j=1.0-l*+(h|0);k=k*+(c|0);l=1.0-l*+(h+1|0);c=f[f[d+124>>2]>>2]|0;if(!c)c=0;else c=_i[f[(f[c>>2]|0)+88>>2]&2047](c)|0;h=U_a(c,0)|0;c=a+16|0;d=f[f[c>>2]>>2]|0;a=h+76|0;h=f[a>>2]|0;n[h+(d<<3)>>2]=k;n[h+(d<<3)+4>>2]=j;d=f[(f[c>>2]|0)+4>>2]|0;h=f[a>>2]|0;n[h+(d<<3)>>2]=k;n[h+(d<<3)+4>>2]=l;d=f[(f[c>>2]|0)+8>>2]|0;h=f[a>>2]|0;n[h+(d<<3)>>2]=i;n[h+(d<<3)+4>>2]=l;c=f[(f[c>>2]|0)+12>>2]|0;a=f[a>>2]|0;n[a+(c<<3)>>2]=i;n[a+(c<<3)+4>>2]=j;c=m+11|0}else{c=m+11|0;f[g>>2]=(b[c>>0]|0)<0?f[m>>2]|0:m;_j(e,364496,g);d=e+11|0;g=(b[d>>0]|0)<0?f[e>>2]|0:e;f[h>>2]=a;f[h+4>>2]=g;Zj(364471,h);if((b[d>>0]|0)<0)GBb(f[e>>2]|0)}if((b[c>>0]|0)>=0){u=o;return}GBb(f[m>>2]|0);u=o;return}function Zp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;b=f[f[c+124>>2]>>2]|0;if(b|0?(e=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0,e|0):0){if((f[e+256>>2]|0)==(f[e+252>>2]|0)){ZBb(d,364558)|0;g=0;return g|0}c=U_a(e,0)|0;if(!c){ZBb(d,364591)|0;g=0;return g|0}h=f[a+20>>2]|0;a=f[a+16>>2]|0;b=a;e=h;if((h-a|0)!=16){ZBb(d,364635)|0;h=0;return h|0}if((b|0)==(e|0)){h=1;return h|0}c=(f[c+80>>2]|0)-(f[c+76>>2]|0)>>3;while(1){if((f[b>>2]|0)>>>0>=c>>>0)break;b=b+4|0;if((b|0)==(e|0)){b=1;g=15;break}}if((g|0)==15)return b|0;ZBb(d,364676)|0;h=0;return h|0}ZBb(d,364540)|0;h=0;return h|0}function _p(a){a=a|0;GBb(a);return}function $p(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303744;f[b+4>>2]=f[a+4>>2];return b|0}function aq(a,b){a=a|0;b=b|0;f[b>>2]=303744;f[b+4>>2]=f[a+4>>2];return}function bq(a){a=a|0;return}function cq(a){a=a|0;GBb(a);return}function dq(a){a=a|0;var b=0,c=0;c=f[a+4>>2]|0;a=f[c>>2]|0;b=f[a+88>>2]|0;if((f[b+64>>2]|0)==(f[b+68>>2]|0))return;a=tk(b+8|0,f[(f[a+92>>2]|0)+120>>2]|0,f[c+196>>2]|0)|0;if(!a)return;f[c+200>>2]=a;Ik(c+204|0);return}function eq(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==364808?a+4|0:0)|0}function fq(a){a=a|0;return 275864}function gq(a){a=a|0;GBb(a);return}function hq(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303788;f[b+4>>2]=f[a+4>>2];return b|0}function iq(a,b){a=a|0;b=b|0;f[b>>2]=303788;f[b+4>>2]=f[a+4>>2];return}function jq(a){a=a|0;return}function kq(a){a=a|0;GBb(a);return}function lq(a){a=a|0;oq(f[a+4>>2]|0);return}function mq(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==364964?a+4|0:0)|0}function nq(a){a=a|0;return 275888}function oq(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+48|0;h=k+24|0;i=k;j=f[a+200>>2]|0;g=a+364|0;b=a+368|0;c=f[b>>2]|0;do if(c){e=j;d=a+368|0;b=c;while(1){c=f[b+16>>2]|0;if(c>>>0>e>>>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){b=EBb(36)|0;f[b+16>>2]=j;c=b+20|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+368>>2]|0,c);g=a+372|0;f[g>>2]=(f[g>>2]|0)+1}g=b+20|0;f[h>>2]=f[g>>2];f[h+4>>2]=f[g+4>>2];f[h+8>>2]=f[g+8>>2];f[h+12>>2]=f[g+12>>2];if(!(Vp(f[a+72>>2]|0,h)|0)){u=k;return}c=a+428|0;b=f[c>>2]|0;d=a+432|0;e=f[d>>2]|0;a:do if((b|0)!=(e|0)){g=j;while(1){if((f[b>>2]|0)==(g|0))break;b=b+20|0;if((b|0)==(e|0))break a}u=k;return}while(0);f[i>>2]=j;j=i+4|0;f[j>>2]=f[h>>2];f[j+4>>2]=f[h+4>>2];f[j+8>>2]=f[h+8>>2];f[j+12>>2]=f[h+12>>2];if(e>>>0<(f[a+436>>2]|0)>>>0){f[e>>2]=f[i>>2];f[e+4>>2]=f[i+4>>2];f[e+8>>2]=f[i+8>>2];f[e+12>>2]=f[i+12>>2];f[e+16>>2]=f[i+16>>2];f[d>>2]=(f[d>>2]|0)+20}else pq(c,i);Ik(a+440|0);u=k;return}function pq(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;h=a+4|0;i=f[a>>2]|0;j=(f[h>>2]|0)-i|0;d=(j|0)/20|0;c=d+1|0;if(c>>>0>214748364)DCb(a);k=a+8|0;e=((f[k>>2]|0)-i|0)/20|0;g=e<<1;g=e>>>0<107374182?(g>>>0<c>>>0?c:g):214748364;do if(g)if(g>>>0>214748364){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{e=EBb(g*20|0)|0;break}else e=0;while(0);d=e+(d*20|0)|0;f[d>>2]=f[b>>2];f[d+4>>2]=f[b+4>>2];f[d+8>>2]=f[b+8>>2];f[d+12>>2]=f[b+12>>2];f[d+16>>2]=f[b+16>>2];c=d+(((j|0)/-20|0)*20|0)|0;if((j|0)>0)YDb(c|0,i|0,j|0)|0;f[a>>2]=c;f[h>>2]=d+20;f[k>>2]=e+(g*20|0);if(!i)return;GBb(i);return}function qq(a){a=a|0;GBb(a);return}function rq(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303832;f[b+4>>2]=f[a+4>>2];return b|0}function sq(a,b){a=a|0;b=b|0;f[b>>2]=303832;f[b+4>>2]=f[a+4>>2];return}function tq(a){a=a|0;return}function uq(a){a=a|0;GBb(a);return}function vq(a){a=a|0;yq(f[a+4>>2]|0);return}function wq(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==365129?a+4|0:0)|0}function xq(a){a=a|0;return 275912}function yq(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=a+500|0;b=f[i>>2]|0;c=f[a+504>>2]|0;if((b|0)!=(c|0))do{_xa(f[b>>2]|0,0);b=b+20|0}while((b|0)!=(c|0));e=a+428|0;b=f[e>>2]|0;h=a+432|0;g=f[h>>2]|0;if((b|0)==(g|0))c=b;else{d=a+356|0;a=b;do{c=f[a>>2]|0;b=f[d>>2]|0;if(b){k=b+8|0;f[k>>2]=(f[k>>2]|0)+1;j=f[k>>2]|0;f[k>>2]=j-1;if((j|0)==1)Rua(b,1,1)}else b=0;_xa(c,b);a=a+20|0}while((a|0)!=(g|0));c=f[e>>2]|0;b=f[h>>2]|0}zq(i,c,b);return}function zq(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|0)/20|0;i=a+8|0;d=f[i>>2]|0;l=f[a>>2]|0;j=l;if(e>>>0<=((d-l|0)/20|0)>>>0){g=a+4|0;a=((f[g>>2]|0)-l|0)/20|0;e=e>>>0>a>>>0;a=e?b+(a*20|0)|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|0)/20|0)*20|0);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>>>0)/20|0)*20|0);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>214748364)DCb(a);k=(d|0)/20|0;l=k<<1;e=k>>>0<107374182?(l>>>0<e>>>0?e:l):214748364;if(e>>>0>214748364)DCb(a);d=EBb(e*20|0)|0;c=a+4|0;f[c>>2]=d;f[a>>2]=d;f[i>>2]=d+(e*20|0);if((g|0)<=0)return;YDb(d|0,b|0,g|0)|0;f[c>>2]=d+(((g>>>0)/20|0)*20|0);return}function Aq(a){a=a|0;GBb(a);return}function Bq(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303876;f[b+4>>2]=f[a+4>>2];return b|0}function Cq(a,b){a=a|0;b=b|0;f[b>>2]=303876;f[b+4>>2]=f[a+4>>2];return}function Dq(a){a=a|0;return}function Eq(a){a=a|0;GBb(a);return}function Fq(a){a=a|0;var c=0,d=0;a=f[a+4>>2]|0;d=f[a+428>>2]|0;c=d;if(((f[a+432>>2]|0)-d|0)!=40)return;b[a+376>>0]=(f[c+4>>2]|0)==(f[c+24>>2]|0)&1;Ik(a+380|0);return}function Gq(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==365293?a+4|0:0)|0}function Hq(a){a=a|0;return 275936}function Iq(a){a=a|0;GBb(a);return}function Jq(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303920;f[b+4>>2]=f[a+4>>2];return b|0}function Kq(a,b){a=a|0;b=b|0;f[b>>2]=303920;f[b+4>>2]=f[a+4>>2];return}function Lq(a){a=a|0;return}function Mq(a){a=a|0;GBb(a);return}function Nq(a){a=a|0;var c=0,d=0,e=0,g=0;c=f[a+4>>2]|0;if(b[c+376>>0]|0)return;d=f[c+428>>2]|0;e=d+20|0;g=c+432|0;a=(f[g>>2]|0)-e|0;if(a|0)ZDb(d|0,e|0,a|0)|0;f[g>>2]=d+(((a|0)/20|0)*20|0);Ik(c+440|0);return}function Oq(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==365460?a+4|0:0)|0}function Pq(a){a=a|0;return 275960}function Qq(a){a=a|0;GBb(a);return}function Rq(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=303964;f[b+4>>2]=f[a+4>>2];return b|0}function Sq(a,b){a=a|0;b=b|0;f[b>>2]=303964;f[b+4>>2]=f[a+4>>2];return}function Tq(a){a=a|0;return}function Uq(a){a=a|0;GBb(a);return}function Vq(a){a=a|0;a=f[a+4>>2]|0;if(!(b[a+376>>0]|0))return;Yq(a);return}function Wq(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==365634?a+4|0:0)|0}function Xq(a){a=a|0;return 275984}function Yq(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;l=f[a+428>>2]|0;o=f[l>>2]|0;k=f[l+8>>2]|0;i=f[l+12>>2]|0;d=f[l+16>>2]|0;n=f[l+20>>2]|0;e=f[l+28>>2]|0;g=f[l+32>>2]|0;h=f[l+36>>2]|0;f[a+432>>2]=l;Ik(a+440|0);l=f[a+72>>2]|0;d=(i*1e3|0)+(k*1e6|0)+d|0;k=l+4|0;i=f[k>>2]|0;if(i){b=k;c=i;do{j=(f[c+16>>2]|0)<(d|0);b=j?b:c;c=f[(j?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(k|0)?(d|0)>=(f[b+16>>2]|0):0)d=b;else m=6}else m=6;if((m|0)==6)d=k;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{j=f[c>>2]|0;c=j+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(j|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((f[l>>2]|0)==(d|0))f[l>>2]=b;j=l+8|0;f[j>>2]=(f[j>>2]|0)+-1;Zq(i,d);GBb(d);d=(g*1e3|0)+(e*1e6|0)+h|0;e=f[k>>2]|0;if(e){b=k;c=e;do{i=(f[c+16>>2]|0)<(d|0);b=i?b:c;c=f[(i?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(k|0)?(d|0)>=(f[b+16>>2]|0):0)d=b;else m=21}else m=21;if((m|0)==21)d=k;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{k=f[c>>2]|0;c=k+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(k|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((f[l>>2]|0)==(d|0))f[l>>2]=b;f[j>>2]=(f[j>>2]|0)+-1;Zq(e,d);GBb(d);i=a+364|0;h=a+368|0;e=f[h>>2]|0;if(e){b=h;c=e;do{l=(f[c+16>>2]|0)>>>0<o>>>0;b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if(!((b|0)!=(h|0)?o>>>0>=(f[b+16>>2]|0)>>>0:0))m=36}else m=36;if((m|0)==36)b=h;c=f[b+4>>2]|0;if(!c){d=b+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(b|0))do{l=f[d>>2]|0;d=l+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(l|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((f[i>>2]|0)==(b|0))f[i>>2]=c;g=a+372|0;f[g>>2]=(f[g>>2]|0)+-1;Zq(e,b);GBb(b);e=f[h>>2]|0;if(e){b=h;c=e;do{l=(f[c+16>>2]|0)>>>0<n>>>0;b=l?b:c;c=f[(l?c+4|0:c)>>2]|0}while((c|0)!=0);if((b|0)!=(h|0)?n>>>0>=(f[b+16>>2]|0)>>>0:0)d=b;else m=51}else m=51;if((m|0)==51)d=h;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{m=f[c>>2]|0;c=m+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(m|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((f[i>>2]|0)!=(d|0)){m=f[g>>2]|0;m=m+-1|0;f[g>>2]=m;Zq(e,d);GBb(d);m=a+360|0;l=f[m>>2]|0;k=f[l>>2]|0;k=k+236|0;k=f[k>>2]|0;cj[k&1023](l,o)|0;o=f[m>>2]|0;m=f[o>>2]|0;m=m+236|0;m=f[m>>2]|0;cj[m&1023](o,n)|0;a=a+136|0;Ik(a);return}f[i>>2]=b;m=f[g>>2]|0;m=m+-1|0;f[g>>2]=m;Zq(e,d);GBb(d);m=a+360|0;l=f[m>>2]|0;k=f[l>>2]|0;k=k+236|0;k=f[k>>2]|0;cj[k&1023](l,o)|0;o=f[m>>2]|0;m=f[o>>2]|0;m=m+236|0;m=f[m>>2]|0;cj[m&1023](o,n)|0;a=a+136|0;Ik(a);return}function Zq(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;e=f[c>>2]|0;if(e){d=f[c+4>>2]|0;if(!d){d=c;g=c;m=8}else{while(1){e=f[d>>2]|0;if(!e)break;else d=e}g=d;m=6}}else{g=c;d=c;m=6}if((m|0)==6){e=f[g+4>>2]|0;if(!e){k=g+8|0;l=0;j=g;e=0}else m=8}if((m|0)==8){k=g+8|0;f[e+8>>2]=f[k>>2];l=1;j=g}g=f[k>>2]|0;h=f[g>>2]|0;if((h|0)==(j|0)){f[g>>2]=e;if((j|0)==(a|0)){a=e;h=0}else h=f[g+4>>2]|0}else f[g+4>>2]=e;g=j+12|0;i=(b[g>>0]|0)!=0;if((j|0)!=(c|0)){n=c+8|0;m=f[n>>2]|0;f[k>>2]=m;f[((f[f[n>>2]>>2]|0)==(c|0)?m:m+4|0)>>2]=j;m=f[c>>2]|0;f[d>>2]=m;f[m+8>>2]=j;d=f[c+4>>2]|0;f[j+4>>2]=d;if(d|0)f[d+8>>2]=j;b[g>>0]=b[c+12>>0]|0;a=(a|0)==(c|0)?j:a}if(!(i&(a|0)!=0))return;if(l){b[e+12>>0]=1;return}k=h;while(1){i=k+8|0;j=f[i>>2]|0;d=k+12|0;e=(b[d>>0]|0)!=0;if((f[j>>2]|0)==(k|0)){if(e)i=k;else{b[d>>0]=1;b[j+12>>0]=0;g=k+4|0;d=f[g>>2]|0;f[j>>2]=d;if(d|0)f[d+8>>2]=j;h=j+8|0;f[i>>2]=f[h>>2];e=f[h>>2]|0;if((f[e>>2]|0)==(j|0)){f[e>>2]=k;d=f[j>>2]|0}else f[e+4>>2]=k;f[g>>2]=j;f[h>>2]=k;i=d;a=(a|0)==(j|0)?k:a}d=f[i>>2]|0;g=(d|0)==0;if(!g?(b[d+12>>0]|0)==0:0){m=58;break}e=f[i+4>>2]|0;if(e|0?(b[e+12>>0]|0)==0:0){m=56;break}b[i+12>>0]=0;d=f[i+8>>2]|0;if((d|0)==(a|0)|(b[d+12>>0]|0)==0){m=55;break}}else{if(e)j=k;else{b[d>>0]=1;b[j+12>>0]=0;n=j+4|0;d=f[n>>2]|0;e=f[d>>2]|0;f[n>>2]=e;if(e|0)f[e+8>>2]=j;n=j+8|0;f[d+8>>2]=f[n>>2];m=f[n>>2]|0;f[((f[m>>2]|0)==(j|0)?m:m+4|0)>>2]=d;f[d>>2]=j;f[n>>2]=d;n=f[k>>2]|0;j=f[n+4>>2]|0;a=(a|0)==(n|0)?k:a}i=f[j>>2]|0;if(i|0?(b[i+12>>0]|0)==0:0){m=33;break}d=f[j+4>>2]|0;if(d|0?(b[d+12>>0]|0)==0:0){m=34;break}b[j+12>>0]=0;d=f[j+8>>2]|0;if((d|0)==(a|0)){m=32;break}if(!(b[d+12>>0]|0)){a=d;m=32;break}}k=f[d+8>>2]|0;k=f[((f[k>>2]|0)==(d|0)?k+4|0:k)>>2]|0}do if((m|0)==32){b[a+12>>0]=1;return}else if((m|0)==33){a=f[j+4>>2]|0;if(!a){h=j;m=37}else{h=j;m=35}}else if((m|0)==34){h=j;a=d;m=35}else if((m|0)==55){b[d+12>>0]=1;return}else if((m|0)==56){if(g)h=i+4|0;else{a=d+12|0;if(!(b[a>>0]|0)){m=59;break}e=i+4|0;h=e;e=f[e>>2]|0}d=e+12|0;b[d>>0]=1;a=i+12|0;b[a>>0]=0;g=f[e>>2]|0;f[h>>2]=g;if(g|0)f[g+8>>2]=i;n=i+8|0;m=e+8|0;f[m>>2]=f[n>>2];c=f[n>>2]|0;f[((f[c>>2]|0)==(i|0)?c:c+4|0)>>2]=e;f[e>>2]=i;f[n>>2]=e;e=m;m=64}else if((m|0)==58){a=d+12|0;m=59}while(0);if((m|0)==35){a=a+12|0;if(!(b[a>>0]|0)){g=a;d=j+8|0;a=j+12|0}else m=37}else if((m|0)==59){e=i+8|0;d=i+12|0;m=64}if((m|0)==37){a=i+12|0;b[a>>0]=1;g=j+12|0;b[g>>0]=0;e=i+4|0;d=f[e>>2]|0;f[h>>2]=d;if(d|0)f[d+8>>2]=j;n=j+8|0;d=i+8|0;f[d>>2]=f[n>>2];m=f[n>>2]|0;f[((f[m>>2]|0)==(j|0)?m:m+4|0)>>2]=i;f[e>>2]=j;f[n>>2]=i}else if((m|0)==64){g=f[e>>2]|0;e=g+12|0;b[d>>0]=b[e>>0]|0;b[e>>0]=1;b[a>>0]=1;a=f[g>>2]|0;d=a+4|0;e=f[d>>2]|0;f[g>>2]=e;if(e|0)f[e+8>>2]=g;n=g+8|0;f[a+8>>2]=f[n>>2];m=f[n>>2]|0;f[((f[m>>2]|0)==(g|0)?m:m+4|0)>>2]=a;f[d>>2]=g;f[n>>2]=a;return}e=f[d>>2]|0;n=e+12|0;b[a>>0]=b[n>>0]|0;b[n>>0]=1;b[g>>0]=1;n=e+4|0;a=f[n>>2]|0;d=f[a>>2]|0;f[n>>2]=d;if(d|0)f[d+8>>2]=e;n=e+8|0;f[a+8>>2]=f[n>>2];m=f[n>>2]|0;f[((f[m>>2]|0)==(e|0)?m:m+4|0)>>2]=a;f[a>>2]=e;f[n>>2]=a;return}function _q(a){a=a|0;GBb(a);return}function $q(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304008;f[b+4>>2]=f[a+4>>2];return b|0}function ar(a,b){a=a|0;b=b|0;f[b>>2]=304008;f[b+4>>2]=f[a+4>>2];return}function br(a){a=a|0;return}function cr(a){a=a|0;GBb(a);return}function dr(a){a=a|0;gr(a+4|0);return}function er(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==365792?a+4|0:0)|0}function fr(a){a=a|0;return 276008}function gr(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+16|0;n=p;k=f[a>>2]|0;l=k+72|0;Up(n,f[l>>2]|0);m=f[n>>2]|0;n=n+4|0;j=f[n>>2]|0;a:do if((m|0)==(j|0))a=0;else{e=m;while(1){d=f[e>>2]|0;g=f[e+4>>2]|0;h=f[e+8>>2]|0;i=f[e+12>>2]|0;c=m;b:do{a=f[c>>2]|0;if(((g|0)==(f[c+4>>2]|0)?(h|0)==(f[c+8>>2]|0):0)?(i|0)==(f[c+12>>2]|0):0)a=5;else a=(d|0)==(a|0)&1;switch(a&7){case 5:case 0:break;default:{o=10;break b}}c=c+16|0}while((c|0)!=(j|0));if((o|0)==10?(o=0,a|0):0){a=1;break a}e=e+16|0;if((e|0)==(j|0)){a=0;break}}}while(0);if(m|0){f[n>>2]=m;GBb(m)}if(a){u=p;return}b[k+76>>0]=(f[(f[l>>2]|0)+8>>2]|0)==0&1;Ik(k+80|0);u=p;return}function hr(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+32|0;o=p;j=f[a>>2]|0;g=j;k=(f[c>>2]|0)-g|0;i=(k|0)/40|0;n=j+(i*40|0)|0;h=a+4|0;c=f[h>>2]|0;m=f[a+8>>2]|0;e=m;if(c>>>0<m>>>0){if((n|0)==(c|0)){OBb(n,d);c=j+(i*40|0)+16|0;e=d+32|0;g=f[e>>2]|0;do if(g)if((d+16|0)==(g|0)){f[j+(i*40|0)+32>>2]=c;o=f[e>>2]|0;Bj[f[(f[o>>2]|0)+12>>2]&1023](o,c);break}else{o=_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;f[j+(i*40|0)+32>>2]=o;break}else f[j+(i*40|0)+32>>2]=0;while(0);f[h>>2]=(f[h>>2]|0)+40;o=n;u=p;return o|0}ir(a,n,c,n+40|0);if(n>>>0<=d>>>0)d=(f[h>>2]|0)>>>0>d>>>0?d+40|0:d;UBb(n,d)|0;e=j+(i*40|0)+16|0;c=f[d+32>>2]|0;do if(c)if((d+16|0)==(c|0)){a=o+16|0;f[a>>2]=o;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,o);c=a;break}else{a=_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;c=o+16|0;f[c>>2]=a;break}else{c=o+16|0;f[c>>2]=0}while(0);lp(o,e);c=f[c>>2]|0;if((o|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);o=n;u=p;return o|0}c=((c-g|0)/40|0)+1|0;if(c>>>0>107374182)DCb(a);e=(e-g|0)/40|0;g=e<<1;g=e>>>0<53687091?(g>>>0<c>>>0?c:g):107374182;e=(k|0)/40|0;h=o+12|0;f[h>>2]=0;f[o+16>>2]=a+8;do if(g)if(g>>>0>107374182){p=ab(8)|0;KBb(p,410101);f[p>>2]=362060;eb(p|0,302144,1464)}else{j=EBb(g*40|0)|0;i=j;break}else{i=0;j=0}while(0);f[o>>2]=i;c=j+(e*40|0)|0;m=o+8|0;f[m>>2]=c;l=o+4|0;f[l>>2]=c;f[h>>2]=j+(g*40|0);do if((e|0)==(g|0)){if((k|0)>0){c=c+(((g+1|0)/-2|0)*40|0)|0;f[m>>2]=c;f[l>>2]=c;break}e=g*40|0;e=(e|0)==0?1:((e|0)/40|0)<<1;c=e>>>2;do if(e)if(e>>>0>107374182){p=ab(8)|0;KBb(p,410101);f[p>>2]=362060;eb(p|0,302144,1464)}else{g=EBb(e*40|0)|0;break}else g=0;while(0);c=g+(c*40|0)|0;k=c;f[o>>2]=g;f[l>>2]=k;f[m>>2]=k;f[h>>2]=g+(e*40|0);if(j)GBb(i)}while(0);OBb(c,d);e=c+16|0;g=d+32|0;h=f[g>>2]|0;do if(h)if((d+16|0)==(h|0)){f[c+32>>2]=e;k=f[g>>2]|0;Bj[f[(f[k>>2]|0)+12>>2]&1023](k,e);break}else{k=_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;f[c+32>>2]=k;break}else f[c+32>>2]=0;while(0);f[m>>2]=(f[m>>2]|0)+40;h=jr(a,o,n)|0;g=f[l>>2]|0;c=f[m>>2]|0;if((c|0)!=(g|0))do{e=c+-40|0;f[m>>2]=e;d=f[c+-8>>2]|0;if((c+-24|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);c=f[m>>2]|0}while((c|0)!=(g|0));c=f[o>>2]|0;if(c|0)GBb(c);o=h;u=p;return o|0}function ir(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;m=a+4|0;j=f[m>>2]|0;l=j-e|0;e=c+(((l|0)/40|0)*40|0)|0;if(e>>>0<d>>>0){a=e;g=j;do{f[g>>2]=f[a>>2];f[g+4>>2]=f[a+4>>2];f[g+8>>2]=f[a+8>>2];f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;h=g+16|0;i=a+32|0;k=f[i>>2]|0;do if(k)if((a+16|0)==(k|0)){f[g+32>>2]=h;k=f[i>>2]|0;Bj[f[(f[k>>2]|0)+12>>2]&1023](k,h);break}else{f[g+32>>2]=k;f[i>>2]=0;break}else f[g+32>>2]=0;while(0);a=a+40|0;g=(f[m>>2]|0)+40|0;f[m>>2]=g}while(a>>>0<d>>>0)}if(!l)return;k=e;do{i=k;k=k+-40|0;e=j;j=j+-40|0;a=j+11|0;if((b[a>>0]|0)<0){b[f[j>>2]>>0]=0;f[e+-36>>2]=0}else{b[j>>0]=0;b[a>>0]=0}YBb(j,0);f[j>>2]=f[k>>2];f[j+4>>2]=f[k+4>>2];f[j+8>>2]=f[k+8>>2];f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;h=e+-24|0;g=e+-8|0;a=f[g>>2]|0;if((h|0)!=(a|0)){if(a|0)tj[f[(f[a>>2]|0)+20>>2]&2047](a)}else tj[f[(f[a>>2]|0)+16>>2]&2047](a);f[g>>2]=0;a=i+-8|0;e=f[a>>2]|0;do if(e)if((i+-24|0)==(e|0)){f[g>>2]=h;d=f[a>>2]|0;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,h);break}else{f[g>>2]=e;f[a>>2]=0;break}else f[g>>2]=0;while(0)}while((k|0)!=(c|0));return}function jr(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=b+4|0;n=f[m>>2]|0;k=f[a>>2]|0;if((k|0)==(c|0))d=n;else{j=c;d=n;do{g=d+-40|0;e=j;j=j+-40|0;f[g>>2]=f[j>>2];f[g+4>>2]=f[j+4>>2];f[g+8>>2]=f[j+8>>2];f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=d+-24|0;h=e+-8|0;i=f[h>>2]|0;do if(i)if((e+-24|0)==(i|0)){f[d+-8>>2]=g;l=f[h>>2]|0;Bj[f[(f[l>>2]|0)+12>>2]&1023](l,g);break}else{f[d+-8>>2]=i;f[h>>2]=0;break}else f[d+-8>>2]=0;while(0);d=(f[m>>2]|0)+-40|0;f[m>>2]=d}while((j|0)!=(k|0))}j=a+4|0;k=f[j>>2]|0;l=b+8|0;if((k|0)==(c|0)){k=d;c=f[a>>2]|0;f[a>>2]=k;f[m>>2]=c;c=f[j>>2]|0;k=f[l>>2]|0;f[j>>2]=k;f[l>>2]=c;l=a+8|0;a=b+12|0;c=f[l>>2]|0;k=f[a>>2]|0;f[l>>2]=k;f[a>>2]=c;m=f[m>>2]|0;f[b>>2]=m;return n|0}d=c;e=f[l>>2]|0;do{f[e>>2]=f[d>>2];f[e+4>>2]=f[d+4>>2];f[e+8>>2]=f[d+8>>2];f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;g=e+16|0;h=d+32|0;i=f[h>>2]|0;do if(i)if((d+16|0)==(i|0)){f[e+32>>2]=g;c=f[h>>2]|0;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,g);break}else{f[e+32>>2]=i;f[h>>2]=0;break}else f[e+32>>2]=0;while(0);d=d+40|0;e=(f[l>>2]|0)+40|0;f[l>>2]=e}while((d|0)!=(k|0));c=m;k=f[m>>2]|0;m=f[a>>2]|0;f[a>>2]=k;f[c>>2]=m;m=f[j>>2]|0;k=f[l>>2]|0;f[j>>2]=k;f[l>>2]=m;l=a+8|0;m=b+12|0;a=f[l>>2]|0;k=f[m>>2]|0;f[l>>2]=k;f[m>>2]=a;m=f[c>>2]|0;f[b>>2]=m;return n|0}function kr(a){a=a|0;return}function lr(a){a=a|0;GBb(a);return}function mr(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304052;f[b+4>>2]=f[a+4>>2];return b|0}function nr(a,b){a=a|0;b=b|0;f[b>>2]=304052;f[b+4>>2]=f[a+4>>2];return}function or(a){a=a|0;return}function pr(a){a=a|0;GBb(a);return}function qr(a){a=a|0;return tr(f[a+4>>2]|0)|0}function rr(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==367238?a+4|0:0)|0}function sr(a){a=a|0;return 276200}function tr(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;g=d+11|0;b[g>>0]=6;b[d>>0]=b[366023]|0;b[d+1>>0]=b[366024]|0;b[d+2>>0]=b[366025]|0;b[d+3>>0]=b[366026]|0;b[d+4>>0]=b[366027]|0;b[d+5>>0]=b[366028]|0;b[d+6>>0]=0;c=Qp(a+252|0,d)|0;if((b[g>>0]|0)<0)GBb(f[d>>2]|0);if((c|0)==(a+256|0)){g=0;u=e;return g|0}OBb(d,c+28|0);a=ur(a,d)|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);g=a;u=e;return g|0}function ur(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;n=u;u=u+48|0;k=n+24|0;e=n;l=n+12|0;OBb(l,c);pk(k,l);m=l+11|0;if((b[m>>0]|0)<0){b[f[l>>2]>>0]=0;f[l+4>>2]=0}else{b[l>>0]=0;b[m>>0]=0}YBb(l,0);f[l>>2]=f[k>>2];f[l+4>>2]=f[k+4>>2];f[l+8>>2]=f[k+8>>2];qk(k,l);if((b[m>>0]|0)<0){b[f[l>>2]>>0]=0;f[l+4>>2]=0}else{b[l>>0]=0;b[m>>0]=0}YBb(l,0);f[l>>2]=f[k>>2];f[l+4>>2]=f[k+4>>2];f[l+8>>2]=f[k+8>>2];j=b[m>>0]|0;h=f[l+4>>2]|0;f[k+8>>2]=117440512;b[k>>0]=b[362991]|0;b[k+1>>0]=b[362992]|0;b[k+2>>0]=b[362993]|0;b[k+3>>0]=b[362994]|0;b[k+4>>0]=b[362995]|0;b[k+5>>0]=b[362996]|0;b[k+6>>0]=b[362997]|0;b[k+7>>0]=0;i=j<<24>>24<0;j=i?h:j&255;a:do if(j>>>0>=7?(g=i?f[l>>2]|0:l,(b[g>>0]|0)==104):0){h=0;while(1){h=h+1|0;if((h|0)==7)break;g=g+1|0;if((b[k+h>>0]|0)!=(b[g>>0]|0)){h=13;break a}}h=19}else h=13;while(0);b:do if((h|0)==13){f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;b[e+11>>0]=8;g=e;f[g>>2]=1886680168;f[g+4>>2]=791624307;g=e+8|0;b[g>>0]=0;c:do if(j>>>0>=8?(d=i?f[l>>2]|0:l,(b[d>>0]|0)==104):0){while(1){e=e+1|0;if((e|0)==(g|0))break;d=d+1|0;if((b[e>>0]|0)!=(b[d>>0]|0))break c}h=19;break b}while(0);d=f[a+128>>2]|0;f[k+8>>2]=0;j=k+11|0;b[j>>0]=7;b[k>>0]=b[364067]|0;b[k+1>>0]=b[364068]|0;b[k+2>>0]=b[364069]|0;b[k+3>>0]=b[364070]|0;b[k+4>>0]=b[364071]|0;b[k+5>>0]=b[364072]|0;b[k+6>>0]=b[364073]|0;b[k+7>>0]=0;d=yp(d,k,c)|0;if((b[j>>0]|0)<0)GBb(f[k>>2]|0);if(!d){xr(a,c);d=0;break}else{wr(a,d);d=0;break}}while(0);if((h|0)==19){vr(a,l);d=a+512|0}if((b[m>>0]|0)>=0){u=n;return d|0}GBb(f[l>>2]|0);u=n;return d|0}function vr(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;h=u;u=u+80|0;j=h+56|0;i=h+48|0;d=h+64|0;g=h+24|0;e=h;f[i>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;_j(d,366030,i);i=d+11|0;k=(b[i>>0]|0)<0?f[d>>2]|0:d;f[j>>2]=a;f[j+4>>2]=k;Zj(363754,j);if((b[i>>0]|0)<0)GBb(f[d>>2]|0);k=f[(f[a>>2]|0)+64>>2]|0;j=a;d=g+16|0;f[g>>2]=304096;f[g+4>>2]=j;f[d>>2]=g;a=e+16|0;f[e>>2]=304260;f[e+4>>2]=j;f[a>>2]=e;yr(k,c,g,e);a=f[a>>2]|0;if((e|0)!=(a|0)){if(a|0)tj[f[(f[a>>2]|0)+20>>2]&2047](a)}else tj[f[(f[a>>2]|0)+16>>2]&2047](a);a=f[d>>2]|0;if((g|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=h;return}if(!a){u=h;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=h;return}function wr(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+176|0;j=k+24|0;i=k+8|0;h=k;d=k+136|0;e=k+48|0;g=k+32|0;Hrb(d);f[d>>2]=302248;l=f[c+24>>2]|0;c=l+(f[c+28>>2]|0)|0;f[d+8>>2]=l;f[d+12>>2]=l;f[d+16>>2]=c;c=e+8|0;f[e>>2]=358820;f[c>>2]=358840;f[e+4>>2]=0;Brb(c,d);f[e+80>>2]=0;f[e+84>>2]=-1;if(jk(e,a+48|0)|0){_j(g,366983,k+16|0);l=g+11|0;i=(b[l>>0]|0)<0?f[g>>2]|0:g;f[j>>2]=a;f[j+4>>2]=i;Zj(363754,j);if((b[l>>0]|0)<0)GBb(f[g>>2]|0);_qb(e);qqb(d);u=k;return}else{_j(g,364194,h);l=g+11|0;j=(b[l>>0]|0)<0?f[g>>2]|0:g;f[i>>2]=a;f[i+4>>2]=j;Zj(363754,i);if((b[l>>0]|0)<0)GBb(f[g>>2]|0);_qb(e);qqb(d);u=k;return}}function xr(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+256|0;m=p+40|0;l=p+32|0;o=p+24|0;n=p+16|0;k=p+8|0;j=p;e=p+60|0;g=p+48|0;h=e+108|0;i=e+8|0;f[e>>2]=287716;f[h>>2]=287736;f[e+4>>2]=0;Brb(e+108|0,i);f[e+180>>2]=0;f[e+184>>2]=-1;f[e>>2]=220812;f[h>>2]=220832;ds(i);d=e+72|0;if((f[d>>2]|0)==0?(c=Kpb((b[c+11>>0]|0)<0?f[c>>2]|0:c,474448)|0,f[d>>2]=c,(c|0)!=0):0)f[e+96>>2]=8;else{d=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;Arb(d,f[d+16>>2]|4)}if(f[e+(f[(f[e>>2]|0)+-12>>2]|0)+16>>2]&5|0){_j(g,367109,l);o=g+11|0;n=(b[o>>0]|0)<0?f[g>>2]|0:g;f[m>>2]=a;f[m+4>>2]=n;Zj(363754,m);if((b[o>>0]|0)<0)GBb(f[g>>2]|0);f[e>>2]=220812;f[h>>2]=220832;es(i);crb(e,304300);kqb(h);u=p;return}if(jk(e,a+48|0)|0){_j(g,367065,n);n=g+11|0;m=(b[n>>0]|0)<0?f[g>>2]|0:g;f[o>>2]=a;f[o+4>>2]=m;Zj(363754,o);if((b[n>>0]|0)<0)GBb(f[g>>2]|0);f[e>>2]=220812;f[h>>2]=220832;es(i);crb(e,304300);kqb(h);u=p;return}else{_j(g,367030,j);o=g+11|0;n=(b[o>>0]|0)<0?f[g>>2]|0:g;f[k>>2]=a;f[k+4>>2]=n;Zj(363754,k);if((b[o>>0]|0)<0)GBb(f[g>>2]|0);f[e>>2]=220812;f[h>>2]=220832;es(i);crb(e,304300);kqb(h);u=p;return}}function yr(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;n=u;u=u+64|0;l=n+60|0;i=n+48|0;j=n+24|0;h=n;m=EBb(80)|0;k=i+11|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;g=f[d+16>>2]|0;do if(g)if((d|0)==(g|0)){f[j+16>>2]=j;Bj[f[(f[g>>2]|0)+12>>2]&1023](g,j);break}else{d=_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;f[j+16>>2]=d;break}else f[j+16>>2]=0;while(0);g=f[e+16>>2]|0;do if(g)if((e|0)==(g|0)){f[h+16>>2]=h;Bj[f[(f[g>>2]|0)+12>>2]&1023](g,h);break}else{e=_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;f[h+16>>2]=e;break}else f[h+16>>2]=0;while(0);zr(m,c,i,j,h);g=f[h+16>>2]|0;if((h|0)!=(g|0)){if(g|0)tj[f[(f[g>>2]|0)+20>>2]&2047](g)}else tj[f[(f[g>>2]|0)+16>>2]&2047](g);g=f[j+16>>2]|0;if((j|0)!=(g|0)){if(g|0)tj[f[(f[g>>2]|0)+20>>2]&2047](g)}else tj[f[(f[g>>2]|0)+16>>2]&2047](g);if((b[k>>0]|0)<0)GBb(f[i>>2]|0);f[l>>2]=m;g=a+4|0;d=f[g>>2]|0;if((d|0)==(f[a+8>>2]|0)){Qo(a,l);u=n;return}else{f[d>>2]=m;f[g>>2]=(f[g>>2]|0)+4;u=n;return}}function zr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0;OBb(a,b);OBb(a+12|0,c);b=a+24|0;c=d+16|0;g=f[c>>2]|0;do if(g)if((d|0)==(g|0)){f[a+40>>2]=b;d=f[c>>2]|0;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,b);break}else{d=_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;f[a+40>>2]=d;break}else f[a+40>>2]=0;while(0);b=a+48|0;c=e+16|0;g=f[c>>2]|0;if(!g){f[a+64>>2]=0;e=a+72|0;f[e>>2]=0;return}if((e|0)==(g|0)){f[a+64>>2]=b;e=f[c>>2]|0;Bj[f[(f[e>>2]|0)+12>>2]&1023](e,b);e=a+72|0;f[e>>2]=0;return}else{e=_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;f[a+64>>2]=e;e=a+72|0;f[e>>2]=0;return}}function Ar(a){a=a|0;GBb(a);return}function Br(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304096;f[b+4>>2]=f[a+4>>2];return b|0}function Cr(a,b){a=a|0;b=b|0;f[b>>2]=304096;f[b+4>>2]=f[a+4>>2];return}function Dr(a){a=a|0;return}function Er(a){a=a|0;GBb(a);return}function Fr(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Ir(a+4|0,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Gr(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==366550?a+4|0:0)|0}function Hr(a){a=a|0;return 276136}function Ir(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;n=u;u=u+208|0;d=n+40|0;m=n+24|0;l=n+16|0;k=n+8|0;j=n;h=n+60|0;i=n+48|0;g=f[a>>2]|0;a=b[c+11>>0]|0;if(a<<24>>24<0)a=f[c+4>>2]|0;else a=a&255;if(!a){_j(h,366385,n+32|0);m=h+11|0;l=(b[m>>0]|0)<0?f[h>>2]|0:h;f[d>>2]=g;f[d+4>>2]=l;Zj(363754,d);if((b[m>>0]|0)<0)GBb(f[h>>2]|0);m=g+512|0;Ik(m);u=n;return}a=h+60|0;d=h+8|0;f[h>>2]=276076;f[a>>2]=276096;f[h+4>>2]=0;Brb(h+60|0,d);f[h+132>>2]=0;f[h+136>>2]=-1;f[h>>2]=304144;f[a>>2]=304164;Hrb(d);f[d>>2]=304196;e=h+40|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[h+56>>2]=8;Nr(d,c);if(jk(h,g+48|0)|0){_j(i,366340,l);l=i+11|0;k=(b[l>>0]|0)<0?f[i>>2]|0:i;f[m>>2]=g;f[m+4>>2]=k;Zj(363754,m);if((b[l>>0]|0)<0)GBb(f[i>>2]|0)}else{_j(i,366304,j);m=i+11|0;l=(b[m>>0]|0)<0?f[i>>2]|0:i;f[k>>2]=g;f[k+4>>2]=l;Zj(363754,k);if((b[m>>0]|0)<0)GBb(f[i>>2]|0)}f[h>>2]=304144;f[a>>2]=304164;f[d>>2]=304196;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);crb(h,304176);kqb(a);m=g+512|0;Ik(m);u=n;return}function Jr(a){a=a|0;var c=0,d=0,e=0;f[a>>2]=304144;c=a+60|0;f[c>>2]=304164;d=a+8|0;f[d>>2]=304196;e=a+40|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);crb(a,304176);kqb(c);return}function Kr(a){a=a|0;var c=0,d=0,e=0;f[a>>2]=304144;c=a+60|0;f[c>>2]=304164;d=a+8|0;f[d>>2]=304196;e=a+40|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);crb(a,304176);kqb(c);GBb(a);return}function Lr(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]=304144;c=a+60|0;f[c>>2]=304164;d=a+8|0;f[d>>2]=304196;e=a+40|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);crb(a,304176);kqb(c);return}function Mr(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]=304144;c=a+60|0;f[c>>2]=304164;d=a+8|0;f[d>>2]=304196;e=a+40|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);qqb(d);crb(a,304176);kqb(c);GBb(a);return}function Nr(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=a+32|0;UBb(h,c)|0;g=a+44|0;f[g>>2]=0;i=a+48|0;e=f[i>>2]|0;if(e&8|0){c=b[h+11>>0]|0;if(c<<24>>24<0){c=f[h>>2]|0;d=c;c=c+(f[a+36>>2]|0)|0}else{d=h;c=h+(c&255)|0}f[g>>2]=c;f[a+8>>2]=d;f[a+12>>2]=d;f[a+16>>2]=c}if(!(e&16))return;e=h+11|0;c=b[e>>0]|0;if(c<<24>>24<0){d=f[a+36>>2]|0;f[g>>2]=(f[h>>2]|0)+d;c=(f[a+40>>2]&2147483647)+-1|0}else{d=c&255;f[g>>2]=h+d;c=10}_Bb(h,c,0);e=b[e>>0]|0;if(e<<24>>24<0){c=f[h>>2]|0;e=f[a+36>>2]|0}else{c=h;e=e&255}g=a+24|0;f[g>>2]=c;f[a+20>>2]=c;f[a+28>>2]=c+e;if(!(f[i>>2]&3))return;if((d|0)>=0){if(!d)return}else{c=c+2147483647|0;d=d+-2147483647|0;a=(d|0)<0;c=a?c+2147483647|0:c;f[g>>2]=c;d=a?1:d}f[g>>2]=c+d;return}function Or(a){a=a|0;var c=0;f[a>>2]=304196;c=a+32|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);qqb(a);return}function Pr(a){a=a|0;var c=0;f[a>>2]=304196;c=a+32|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);qqb(a);GBb(a);return}function Qr(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;i=c+44|0;j=f[i>>2]|0;n=c+24|0;o=f[n>>2]|0;if(j>>>0<o>>>0){f[i>>2]=o;m=o}else m=j;l=h&24;a:do if((l|0)!=0?!((g|0)==1&(l|0)==24):0){if(!m){k=0;l=0}else{i=c+32|0;if((b[i+11>>0]|0)<0)i=f[i>>2]|0;l=m-i|0;k=((l|0)<0)<<31>>31}b:do switch(g|0){case 0:{i=0;j=0;break}case 1:if(!(h&8)){j=o-(f[c+20>>2]|0)|0;i=j;j=((j|0)<0)<<31>>31;break b}else{j=(f[c+12>>2]|0)-(f[c+8>>2]|0)|0;i=j;j=((j|0)<0)<<31>>31;break b}case 2:{i=l;j=k;break}default:{j=-1;i=-1;break a}}while(0);j=MDb(i|0,j|0,d|0,e|0)|0;i=H;if(!((i|0)<0|((k|0)<(i|0)|(k|0)==(i|0)&l>>>0<j>>>0))){g=h&8;if(!((j|0)==0&(i|0)==0)){if(g|0?(f[c+12>>2]|0)==0:0){j=-1;i=-1;break}if((h&16|0)!=0&(o|0)==0){j=-1;i=-1;break}}if(g|0){f[c+12>>2]=(f[c+8>>2]|0)+j;f[c+16>>2]=m}if(h&16)f[n>>2]=(f[c+20>>2]|0)+j}else{j=-1;i=-1}}else{j=-1;i=-1}while(0);o=a;f[o>>2]=0;f[o+4>>2]=0;a=a+8|0;f[a>>2]=j;f[a+4>>2]=i;return}function Rr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=c+8|0;Lj[f[(f[b>>2]|0)+16>>2]&15](a,b,f[c>>2]|0,f[c+4>>2]|0,0,d);return}function Sr(a){a=a|0;var b=0,c=0,d=0;b=a+44|0;d=f[b>>2]|0;c=f[a+24>>2]|0;if(d>>>0<c>>>0){f[b>>2]=c;d=c}if(!(f[a+48>>2]&8)){a=-1;return a|0}b=a+16|0;c=f[b>>2]|0;if(c>>>0<d>>>0){f[b>>2]=d;c=d}b=f[a+12>>2]|0;if(b>>>0>=c>>>0){a=-1;return a|0}a=h[b>>0]|0;return a|0}function Tr(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;e=a+44|0;d=f[e>>2]|0;g=f[a+24>>2]|0;if(d>>>0<g>>>0){f[e>>2]=g;d=g}h=a+12|0;e=f[h>>2]|0;if((f[a+8>>2]|0)>>>0>=e>>>0){c=-1;return c|0}if((c|0)==-1){f[h>>2]=e+-1;f[a+16>>2]=d;c=0;return c|0}if(!(f[a+48>>2]&16)){g=c&255;e=e+-1|0;if((b[e>>0]|0)!=g<<24>>24){c=-1;return c|0}}else{g=c&255;e=e+-1|0}f[h>>2]=e;f[a+16>>2]=d;b[e>>0]=g;return c|0}function Ur(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;o=t;if((c|0)==-1){s=0;u=t;return s|0}p=a+12|0;q=a+8|0;r=(f[p>>2]|0)-(f[q>>2]|0)|0;s=a+24|0;k=f[s>>2]|0;m=a+28|0;d=f[m>>2]|0;if((k|0)==(d|0)){j=a+48|0;if(!(f[j>>2]&16)){s=-1;u=t;return s|0}h=a+20|0;i=f[h>>2]|0;n=a+44|0;l=(f[n>>2]|0)-i|0;g=a+32|0;dCb(g,0);d=g+11|0;if((b[d>>0]|0)<0)e=(f[a+40>>2]&2147483647)+-1|0;else e=10;_Bb(g,e,0);d=b[d>>0]|0;if(d<<24>>24<0){e=f[g>>2]|0;d=f[a+36>>2]|0}else{e=g;d=d&255}d=e+d|0;f[h>>2]=e;f[m>>2]=d;k=e+(k-i)|0;f[s>>2]=k;e=e+l|0;f[n>>2]=e;l=n;g=n;i=d}else{e=a+44|0;l=e;j=a+48|0;g=e;e=f[e>>2]|0;i=d}h=k+1|0;f[o>>2]=h;e=f[(h>>>0<e>>>0?g:o)>>2]|0;f[l>>2]=e;if(f[j>>2]&8|0){d=a+32|0;if((b[d+11>>0]|0)<0)d=f[d>>2]|0;f[q>>2]=d;f[p>>2]=d+r;f[a+16>>2]=e}if((k|0)==(i|0)){s=cj[f[(f[a>>2]|0)+52>>2]&1023](a,c&255)|0;u=t;return s|0}else{f[s>>2]=h;b[k>>0]=c;s=c&255;u=t;return s|0}return 0}function Vr(a){a=a|0;GBb(a);return}function Wr(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304260;f[b+4>>2]=f[a+4>>2];return b|0}function Xr(a,b){a=a|0;b=b|0;f[b>>2]=304260;f[b+4>>2]=f[a+4>>2];return}function Yr(a){a=a|0;return}function Zr(a){a=a|0;GBb(a);return}function _r(a,b){a=a|0;b=b|0;bs(a+4|0,b);return}function $r(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==366865?a+4|0:0)|0}function as(a){a=a|0;return 276160}function bs(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;g=u;u=u+48|0;i=g+8|0;h=g;d=g+28|0;e=g+16|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=f[a>>2]|0;c=e+11|0;f[h>>2]=(b[c>>0]|0)<0?f[e>>2]|0:e;_j(d,366824,h);h=d+11|0;j=(b[h>>0]|0)<0?f[d>>2]|0:d;f[i>>2]=a;f[i+4>>2]=j;Zj(363754,i);if((b[h>>0]|0)<0)GBb(f[d>>2]|0);Ik(a+512|0);if((b[c>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function cs(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,304300);kqb(b);return}function ds(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;h=k;Hrb(a);f[a>>2]=304320;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;c=a+52|0;i=a+68|0;j=a+98|0;e=c;g=e+44|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));d[c+44>>1]=0;b[c+46>>0]=0;c=a+4|0;uBb(h,c);g=yBb(h,504880)|0;vtb(h);if(!g){j=f[a>>2]|0;j=j+12|0;j=f[j>>2]|0;dj[j&255](a,0,4096)|0;u=k;return}uBb(h,c);g=utb(h,504880)|0;f[i>>2]=g;vtb(h);i=f[i>>2]|0;i=(_i[f[(f[i>>2]|0)+28>>2]&2047](i)|0)&1;b[j>>0]=i;j=f[a>>2]|0;j=j+12|0;j=f[j>>2]|0;dj[j&255](a,0,4096)|0;u=k;return}function es(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=304320;c=a+64|0;g=f[c>>2]|0;if(g|0?(ns(a)|0,(Lpb(g)|0)==0):0)f[c>>2]=0;if(b[a+96>>0]|0?(d=f[a+32>>2]|0,d|0):0)HBb(d);if(b[a+97>>0]|0?(e=f[a+56>>2]|0,e|0):0)HBb(e);qqb(a);return}function fs(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,304300);kqb(b);GBb(a);return}function gs(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,304300);kqb(a);return}function hs(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,304300);kqb(b);GBb(a);return}function is(a){a=a|0;es(a);GBb(a);return}function js(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;_i[f[(f[a>>2]|0)+24>>2]&2047](a)|0;c=utb(c,504880)|0;f[a+68>>2]=c;d=a+98|0;e=b[d>>0]|0;c=_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0;b[d>>0]=c&1;if((e&255|0)==(c&1|0))return;e=a+8|0;d=a+96|0;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;e=(b[d>>0]|0)!=0;if(c){c=a+32|0;if(e?(i=f[c>>2]|0,i|0):0)HBb(i);i=a+97|0;b[d>>0]=b[i>>0]|0;h=a+60|0;f[a+52>>2]=f[h>>2];a=a+56|0;f[c>>2]=f[a>>2];f[h>>2]=0;f[a>>2]=0;b[i>>0]=0;return}if(!e?(g=a+32|0,h=f[g>>2]|0,(h|0)!=(a+44|0)):0){i=f[a+52>>2]|0;f[a+60>>2]=i;f[a+56>>2]=h;b[a+97>>0]=0;i=FBb(i)|0;f[g>>2]=i;b[d>>0]=1;return}i=f[a+52>>2]|0;f[a+60>>2]=i;i=FBb(i)|0;f[a+56>>2]=i;b[a+97>>0]=1;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;h=a+8|0;j=a+96|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;if(b[j>>0]|0?(e=f[a+32>>2]|0,e|0):0)HBb(e);h=a+97|0;if(b[h>>0]|0?(g=f[a+56>>2]|0,g|0):0)HBb(g);e=a+52|0;f[e>>2]=d;do if(d>>>0>8){e=b[a+98>>0]|0;if((c|0)!=0&e<<24>>24!=0){f[a+32>>2]=c;b[j>>0]=0;break}else{i=FBb(d)|0;f[a+32>>2]=i;b[j>>0]=1;i=e;k=12;break}}else{f[a+32>>2]=a+44;f[e>>2]=8;b[j>>0]=0;i=b[a+98>>0]|0;k=12}while(0);if((k|0)==12?i<<24>>24==0:0){e=(d|0)>8?d:8;f[a+60>>2]=e;if((c|0)!=0&e>>>0>7){k=0;j=c;c=a+56|0;f[c>>2]=j;b[h>>0]=k;return a|0}c=1;j=FBb(e)|0;k=a+56|0;f[k>>2]=j;b[h>>0]=c;return a|0}f[a+60>>2]=0;c=0;j=0;k=a+56|0;f[k>>2]=j;b[h>>0]=c;return a|0}function ls(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;g=f[b+68>>2]|0;if(!g){a=ab(4)|0;ADb(a);eb(a|0,302160,1467)}g=_i[f[(f[g>>2]|0)+24>>2]&2047](g)|0;h=b+64|0;if((((f[h>>2]|0)!=0?!(((c|0)!=0|(d|0)!=0)&(g|0)<1):0)?(_i[f[(f[b>>2]|0)+24>>2]&2047](b)|0)==0&e>>>0<3:0)?(d=W(g,c)|0,($pb(f[h>>2]|0,(g|0)>0?d:0,e)|0)==0):0){c=_pb(f[h>>2]|0)|0;h=b+72|0;g=f[h>>2]|0;h=f[h+4>>2]|0;b=c;c=((c|0)<0)<<31>>31}else{g=0;h=0;b=-1;c=-1}e=a;f[e>>2]=g;f[e+4>>2]=h;a=a+8|0;f[a>>2]=b;f[a+4>>2]=c;return}function ms(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;d=b+64|0;if(f[d>>2]|0?(_i[f[(f[b>>2]|0)+24>>2]&2047](b)|0)==0:0)if(!($pb(f[d>>2]|0,f[c+8>>2]|0,0)|0)){e=c;d=f[e+4>>2]|0;b=b+72|0;f[b>>2]=f[e>>2];f[b+4>>2]=d;f[a>>2]=f[c>>2];f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2];f[a+12>>2]=f[c+12>>2];return}else{e=a;f[e>>2]=0;f[e+4>>2]=0;e=a+8|0;f[e>>2]=-1;f[e+4>>2]=-1;return}e=a;f[e>>2]=0;f[e+4>>2]=0;e=a+8|0;f[e>>2]=-1;f[e+4>>2]=-1;return}function ns(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;m=u;u=u+16|0;k=m;l=a+64|0;if(!(f[l>>2]|0)){l=0;u=m;return l|0}j=a+68|0;d=f[j>>2]|0;if(!d){m=ab(4)|0;ADb(m);eb(m|0,302160,1467)}i=a+92|0;c=f[i>>2]|0;do if(!(c&16)){if(c&8|0){e=a+80|0;g=f[e+4>>2]|0;h=k;f[h>>2]=f[e>>2];f[h+4>>2]=g;do if(!(b[a+98>>0]|0)){e=_i[f[(f[d>>2]|0)+24>>2]&2047](d)|0;h=a+36|0;g=f[h>>2]|0;c=(f[a+40>>2]|0)-g|0;if((e|0)>0){d=0;c=(W((f[a+16>>2]|0)-(f[a+12>>2]|0)|0,e)|0)+c|0;break}d=f[a+12>>2]|0;if((d|0)==(f[a+16>>2]|0))d=0;else{e=f[j>>2]|0;j=a+32|0;g=hj[f[(f[e>>2]|0)+32>>2]&63](e,k,f[j>>2]|0,g,d-(f[a+8>>2]|0)|0)|0;d=1;c=c-g+(f[h>>2]|0)-(f[j>>2]|0)|0}}else{d=0;c=(f[a+16>>2]|0)-(f[a+12>>2]|0)|0}while(0);if($pb(f[l>>2]|0,0-c|0,1)|0){l=-1;u=m;return l|0}if(d){j=k;k=f[j+4>>2]|0;l=a+72|0;f[l>>2]=f[j>>2];f[l+4>>2]=k}l=f[a+32>>2]|0;f[a+40>>2]=l;f[a+36>>2]=l;f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;f[i>>2]=0}}else{if((f[a+24>>2]|0)!=(f[a+20>>2]|0)?(cj[f[(f[a>>2]|0)+52>>2]&1023](a,-1)|0)==-1:0){l=-1;u=m;return l|0}e=a+72|0;g=a+32|0;c=a+52|0;a:while(1){i=f[j>>2]|0;d=f[g>>2]|0;d=hj[f[(f[i>>2]|0)+20>>2]&63](i,e,d,d+(f[c>>2]|0)|0,k)|0;i=f[g>>2]|0;a=(f[k>>2]|0)-i|0;if((Opb(i,1,a,f[l>>2]|0)|0)!=(a|0)){c=-1;d=24;break}switch(d|0){case 1:break;case 2:{c=-1;d=24;break a}default:{d=10;break a}}}if((d|0)==10){if(!(Jpb(f[l>>2]|0)|0))break;else c=-1;u=m;return c|0}else if((d|0)==24){u=m;return c|0}}while(0);l=0;u=m;return l|0}function os(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,v=0,w=0,x=0,y=0,z=0;v=u;u=u+16|0;t=v+4|0;p=v;n=a+64|0;if(!(f[n>>2]|0)){t=-1;u=v;return t|0}c=a+92|0;if(!(f[c>>2]&8)){f[a+24>>2]=0;f[a+20>>2]=0;f[a+28>>2]=0;r=(b[a+98>>0]|0)==0;s=f[(r?a+56|0:a+32|0)>>2]|0;r=s+(f[(r?a+60|0:a+52|0)>>2]|0)|0;f[a+8>>2]=s;s=a+12|0;f[s>>2]=r;f[a+16>>2]=r;f[c>>2]=8;d=1;c=r}else{c=a+12|0;d=0;s=c;c=f[c>>2]|0}if(!c){e=t+1|0;f[a+8>>2]=t;f[s>>2]=e;f[a+16>>2]=e}else e=c;r=a+16|0;if(d){c=f[r>>2]|0;o=0}else{c=f[r>>2]|0;o=(c-(f[a+8>>2]|0)|0)/2|0;o=o>>>0<4?o:4}do if((e|0)==(c|0)){c=a+8|0;ZDb(f[c>>2]|0,e+(0-o)|0,o|0)|0;if(b[a+98>>0]|0){d=f[c>>2]|0;d=zpb(d+o|0,1,(f[r>>2]|0)-o-d|0,f[n>>2]|0)|0;if(!d){d=-1;break}q=(f[c>>2]|0)+o|0;f[s>>2]=q;f[r>>2]=q+d;d=h[q>>0]|0;break}l=a+40|0;k=f[l>>2]|0;m=a+36|0;d=f[m>>2]|0;g=k;e=d;if((k|0)==(d|0)){j=a+32|0;k=l;d=g}else{j=a+32|0;ZDb(f[j>>2]|0,d|0,g-e|0)|0;k=l;e=f[m>>2]|0;d=f[l>>2]|0}g=f[j>>2]|0;e=g+(d-e)|0;f[m>>2]=e;if((g|0)==(a+44|0))d=8;else d=f[a+52>>2]|0;w=g+d|0;f[l>>2]=w;g=a+60|0;d=(f[g>>2]|0)-o|0;w=w-e|0;i=a+72|0;z=i;y=f[z+4>>2]|0;x=a+80|0;f[x>>2]=f[z>>2];f[x+4>>2]=y;e=zpb(e,1,w>>>0<d>>>0?w:d,f[n>>2]|0)|0;if(!e)d=-1;else{d=f[a+68>>2]|0;if(!d){z=ab(4)|0;ADb(z);eb(z|0,302160,1467)}y=(f[m>>2]|0)+e|0;f[l>>2]=y;z=f[c>>2]|0;if((lj[f[(f[d>>2]|0)+16>>2]&31](d,i,f[j>>2]|0,y,m,z+o|0,z+(f[g>>2]|0)|0,p)|0)!=3){e=f[p>>2]|0;d=(f[c>>2]|0)+o|0;if((e|0)==(d|0))d=-1;else{f[s>>2]=d;f[r>>2]=e;q=26}}else{d=f[j>>2]|0;q=f[k>>2]|0;f[c>>2]=d;f[s>>2]=d;f[r>>2]=q;q=26}if((q|0)==26)d=h[d>>0]|0}}else{d=h[e>>0]|0;c=a+8|0}while(0);if((f[c>>2]|0)==(t|0)){f[c>>2]=0;f[s>>2]=0;f[r>>2]=0}z=d;u=v;return z|0}function ps(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if(!(f[a+64>>2]|0)){g=-1;return g|0}g=a+12|0;e=f[g>>2]|0;if((f[a+8>>2]|0)>>>0>=e>>>0){g=-1;return g|0}if((c|0)==-1){f[g>>2]=e+-1;g=0;return g|0}if(!(f[a+88>>2]&16)){d=c&255;a=e+-1|0;if((b[a>>0]|0)!=d<<24>>24){g=-1;return g|0}}else{d=c&255;a=e+-1|0}f[g>>2]=a;b[a>>0]=d;g=c;return g|0}function qs(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;v=u;u=u+16|0;l=v+8|0;r=v+4|0;s=v;t=a+64|0;if(!(f[t>>2]|0)){c=-1;u=v;return c|0}e=a+92|0;if(!(f[e>>2]&16)){f[a+8>>2]=0;f[a+12>>2]=0;f[a+16>>2]=0;d=f[a+52>>2]|0;do if(d>>>0>8)if(!(b[a+98>>0]|0)){i=f[a+56>>2]|0;j=i+((f[a+60>>2]|0)+-1)|0;f[a+24>>2]=i;h=a+20|0;f[h>>2]=i;d=a+28|0;f[d>>2]=j;g=i;break}else{i=f[a+32>>2]|0;j=i+(d+-1)|0;f[a+24>>2]=i;h=a+20|0;f[h>>2]=i;d=a+28|0;f[d>>2]=j;g=i;break}else{f[a+24>>2]=0;h=a+20|0;f[h>>2]=0;d=a+28|0;f[d>>2]=0;g=0;j=0;i=0}while(0);f[e>>2]=16;q=h;k=d;p=d;o=h}else{o=a+20|0;g=f[o>>2]|0;j=a+28|0;q=o;k=j;p=j;i=g;j=f[j>>2]|0}n=(c|0)==-1;d=a+24|0;e=f[d>>2]|0;if(!n){if(!e){f[d>>2]=l;f[o>>2]=l;f[k>>2]=l+1;e=l}b[e>>0]=c;e=(f[d>>2]|0)+1|0;f[d>>2]=e;g=f[o>>2]|0}a:do if((e|0)==(g|0))m=33;else{do if(!(b[a+98>>0]|0)){k=a+32|0;f[r>>2]=f[k>>2];l=a+68|0;m=a+72|0;h=a+52|0;e=f[l>>2]|0;if(!e){v=ab(4)|0;ADb(v);eb(v|0,302160,1467)}while(1){g=f[k>>2]|0;e=lj[f[(f[e>>2]|0)+12>>2]&31](e,m,f[o>>2]|0,f[d>>2]|0,s,g,g+(f[h>>2]|0)|0,r)|0;g=f[o>>2]|0;if((f[s>>2]|0)==(g|0)){m=31;break}if((e|0)==3){m=23;break}if(e>>>0>=2){m=31;break}g=f[k>>2]|0;a=(f[r>>2]|0)-g|0;if((Opb(g,1,a,f[t>>2]|0)|0)!=(a|0)){m=31;break}if((e|0)!=1){m=29;break}e=f[d>>2]|0;f[q>>2]=f[s>>2];f[p>>2]=e;f[d>>2]=e;e=f[l>>2]|0;if(!e){m=20;break}}if((m|0)==20){v=ab(4)|0;ADb(v);eb(v|0,302160,1467)}else if((m|0)==23){s=(f[d>>2]|0)-g|0;if((Opb(g,1,s,f[t>>2]|0)|0)==(s|0))m=30;else m=31}else if((m|0)==29)m=30;if((m|0)==30)break;else if((m|0)==31){d=-1;break a}}else{s=e-g|0;if((Opb(g,1,s,f[t>>2]|0)|0)!=(s|0)){d=-1;break a}}while(0);f[d>>2]=i;f[q>>2]=i;f[p>>2]=j;m=33}while(0);if((m|0)==33)d=n?0:c;c=d;u=v;return c|0}function rs(a){a=a|0;GBb(a);return}function ss(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304384;f[b+4>>2]=f[a+4>>2];return b|0}function ts(a,b){a=a|0;b=b|0;f[b>>2]=304384;f[b+4>>2]=f[a+4>>2];return}function us(a){a=a|0;return}function vs(a){a=a|0;GBb(a);return}function ws(a){a=a|0;return zs(f[a+4>>2]|0)|0}function xs(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==368151?a+4|0:0)|0}function ys(a){a=a|0;return 276272}function zs(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;d=e;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;g=d+11|0;b[g>>0]=5;b[d>>0]=b[367402]|0;b[d+1>>0]=b[367403]|0;b[d+2>>0]=b[367404]|0;b[d+3>>0]=b[367405]|0;b[d+4>>0]=b[367406]|0;b[d+5>>0]=0;c=Qp(a+252|0,d)|0;if((b[g>>0]|0)<0)GBb(f[d>>2]|0);if((c|0)==(a+256|0)){g=0;u=e;return g|0}OBb(d,c+28|0);a=As(a,d)|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);g=a;u=e;return g|0}function As(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;n=u;u=u+48|0;k=n+24|0;e=n;l=n+12|0;OBb(l,c);pk(k,l);m=l+11|0;if((b[m>>0]|0)<0){b[f[l>>2]>>0]=0;f[l+4>>2]=0}else{b[l>>0]=0;b[m>>0]=0}YBb(l,0);f[l>>2]=f[k>>2];f[l+4>>2]=f[k+4>>2];f[l+8>>2]=f[k+8>>2];qk(k,l);if((b[m>>0]|0)<0){b[f[l>>2]>>0]=0;f[l+4>>2]=0}else{b[l>>0]=0;b[m>>0]=0}YBb(l,0);f[l>>2]=f[k>>2];f[l+4>>2]=f[k+4>>2];f[l+8>>2]=f[k+8>>2];j=b[m>>0]|0;h=f[l+4>>2]|0;f[k+8>>2]=117440512;b[k>>0]=b[362991]|0;b[k+1>>0]=b[362992]|0;b[k+2>>0]=b[362993]|0;b[k+3>>0]=b[362994]|0;b[k+4>>0]=b[362995]|0;b[k+5>>0]=b[362996]|0;b[k+6>>0]=b[362997]|0;b[k+7>>0]=0;i=j<<24>>24<0;j=i?h:j&255;a:do if(j>>>0>=7?(g=i?f[l>>2]|0:l,(b[g>>0]|0)==104):0){h=0;while(1){h=h+1|0;if((h|0)==7)break;g=g+1|0;if((b[k+h>>0]|0)!=(b[g>>0]|0)){h=13;break a}}h=19}else h=13;while(0);b:do if((h|0)==13){f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;b[e+11>>0]=8;g=e;f[g>>2]=1886680168;f[g+4>>2]=791624307;g=e+8|0;b[g>>0]=0;c:do if(j>>>0>=8?(d=i?f[l>>2]|0:l,(b[d>>0]|0)==104):0){while(1){e=e+1|0;if((e|0)==(g|0))break;d=d+1|0;if((b[e>>0]|0)!=(b[d>>0]|0))break c}h=19;break b}while(0);d=f[a+132>>2]|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;j=k+11|0;b[j>>0]=6;b[k>>0]=b[364130]|0;b[k+1>>0]=b[364131]|0;b[k+2>>0]=b[364132]|0;b[k+3>>0]=b[364133]|0;b[k+4>>0]=b[364134]|0;b[k+5>>0]=b[364135]|0;b[k+6>>0]=0;d=yp(d,k,c)|0;if((b[j>>0]|0)<0)GBb(f[k>>2]|0);if(!d){Ds(a,c);d=0;break}else{Cs(a,d);d=0;break}}while(0);if((h|0)==19){Bs(a,l);d=a+560|0}if((b[m>>0]|0)>=0){u=n;return d|0}GBb(f[l>>2]|0);u=n;return d|0}function Bs(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;k=u;u=u+112|0;j=k+56|0;e=k+48|0;d=k+88|0;h=k+24|0;i=k+72|0;g=k;f[e>>2]=(b[c+11>>0]|0)<0?f[c>>2]|0:c;_j(d,367408,e);e=d+11|0;l=(b[e>>0]|0)<0?f[d>>2]|0:d;f[j>>2]=a;f[j+4>>2]=l;Zj(363754,j);if((b[e>>0]|0)<0)GBb(f[d>>2]|0);OBb(j,c);e=j+12|0;f[e>>2]=a;l=f[(f[a>>2]|0)+64>>2]|0;OBb(i,j);m=i+12|0;f[m>>2]=f[e>>2];e=h+16|0;f[e>>2]=0;d=EBb(20)|0;f[d>>2]=304428;OBb(d+4|0,i);f[d+16>>2]=f[m>>2];f[e>>2]=d;d=g+16|0;f[g>>2]=304472;f[g+4>>2]=a;f[d>>2]=g;yr(l,c,h,g);d=f[d>>2]|0;if((g|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);d=f[e>>2]|0;if((h|0)!=(d|0)){if(d|0)tj[f[(f[d>>2]|0)+20>>2]&2047](d)}else tj[f[(f[d>>2]|0)+16>>2]&2047](d);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);if((b[j+11>>0]|0)>=0){u=k;return}GBb(f[j>>2]|0);u=k;return}function Cs(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;e=u;u=u+32|0;g=e+8|0;d=e+16|0;c=nk(c)|0;ENa(f[a+352>>2]|0,0,c,1);ENa(f[a+356>>2]|0,0,c,1);_j(d,368051,e);c=d+11|0;h=(b[c>>0]|0)<0?f[d>>2]|0:d;f[g>>2]=a;f[g+4>>2]=h;Zj(363754,g);if((b[c>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Ds(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;w=u;u=u+320|0;n=w+296|0;m=w+264|0;g=w+40|0;h=w+32|0;v=w+24|0;t=w+16|0;j=w+8|0;i=w;o=w+252|0;e=w+248|0;p=w+60|0;q=w+48|0;r=p+108|0;s=p+8|0;f[p>>2]=287716;f[r>>2]=287736;f[p+4>>2]=0;Brb(p+108|0,s);f[p+180>>2]=0;f[p+184>>2]=-1;f[p>>2]=220812;f[r>>2]=220832;ds(s);d=p+72|0;if((f[d>>2]|0)==0?(k=Kpb((b[c+11>>0]|0)<0?f[c>>2]|0:c,474448)|0,f[d>>2]=k,(k|0)!=0):0)f[p+96>>2]=8;else{k=p+(f[(f[p>>2]|0)+-12>>2]|0)|0;Arb(k,f[k+16>>2]|4)}d=p+(f[(f[p>>2]|0)+-12>>2]|0)|0;if(f[d+16>>2]&5|0){_j(n,368118,h);v=n+11|0;t=(b[v>>0]|0)<0?f[n>>2]|0:n;f[g>>2]=a;f[g+4>>2]=t;Zj(363754,g);if((b[v>>0]|0)<0)GBb(f[n>>2]|0);f[p>>2]=220812;f[r>>2]=220832;es(s);crb(p,304300);kqb(r);u=w;return}h=f[d+24>>2]|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[o>>2]=h;f[e>>2]=0;f[m>>2]=f[o>>2];f[n>>2]=f[e>>2];Ys(q,m,n);f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;h=o+11|0;b[h>>0]=6;b[o>>0]=b[364130]|0;b[o+1>>0]=b[364131]|0;b[o+2>>0]=b[364132]|0;b[o+3>>0]=b[364133]|0;b[o+4>>0]=b[364134]|0;b[o+5>>0]=b[364135]|0;b[o+6>>0]=0;k=q+11|0;e=b[k>>0]|0;do if(e<<24>>24<0){d=f[q>>2]|0;if(!d){_j(n,362556,i);i=n+11|0;f[j>>2]=(b[i>>0]|0)<0?f[n>>2]|0:n;Zj(362256,j);if((b[i>>0]|0)<0)GBb(f[n>>2]|0);e=b[k>>0]|0;if(e<<24>>24<0)d=0;else{d=0;l=12;break}}g=f[q+4>>2]|0}else{d=q;l=12}while(0);if((l|0)==12)g=e&255;OBb(m,o);e=m+12|0;OBb(e,c);f[m+24>>2]=d;f[m+28>>2]=g;if((b[h>>0]|0)<0)GBb(f[o>>2]|0);o=nk(m)|0;ENa(f[a+352>>2]|0,0,o,1);ENa(f[a+356>>2]|0,0,o,1);_j(n,368086,t);t=n+11|0;o=(b[t>>0]|0)<0?f[n>>2]|0:n;f[v>>2]=a;f[v+4>>2]=o;Zj(363754,v);if((b[t>>0]|0)<0)GBb(f[n>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[m+11>>0]|0)<0)GBb(f[m>>2]|0);if((b[k>>0]|0)<0)GBb(f[q>>2]|0);f[p>>2]=220812;f[r>>2]=220832;es(s);crb(p,304300);kqb(r);u=w;return}function Es(a){a=a|0;f[a>>2]=304428;a=a+4|0;if((b[a+11>>0]|0)>=0)return;GBb(f[a>>2]|0);return}function Fs(a){a=a|0;var c=0;f[a>>2]=304428;c=a+4|0;if((b[c+11>>0]|0)>=0){GBb(a);return}GBb(f[c>>2]|0);GBb(a);return}function Gs(a){a=a|0;var b=0;b=EBb(20)|0;f[b>>2]=304428;OBb(b+4|0,a+4|0);f[b+16>>2]=f[a+16>>2];return b|0}function Hs(a,b){a=a|0;b=b|0;f[b>>2]=304428;OBb(b+4|0,a+4|0);f[b+16>>2]=f[a+16>>2];return}function Is(a){a=a|0;a=a+4|0;if((b[a+11>>0]|0)>=0)return;GBb(f[a>>2]|0);return}function Js(a){a=a|0;var c=0;c=a+4|0;if((b[c+11>>0]|0)>=0){GBb(a);return}GBb(f[c>>2]|0);GBb(a);return}function Ks(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;f[d>>2]=f[c>>2];f[d+4>>2]=f[c+4>>2];f[d+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Ns(a+4|0,d);if((b[d+11>>0]|0)>=0){u=e;return}GBb(f[d>>2]|0);u=e;return}function Ls(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==367622?a+4|0:0)|0}function Ms(a){a=a|0;return 276240}function Ns(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;q=u;u=u+96|0;p=q+24|0;o=q+16|0;h=q+8|0;g=q;j=q+80|0;k=q+48|0;l=q+32|0;m=f[a+12>>2]|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;n=l+11|0;b[n>>0]=6;b[l>>0]=b[364130]|0;b[l+1>>0]=b[364131]|0;b[l+2>>0]=b[364132]|0;b[l+3>>0]=b[364133]|0;b[l+4>>0]=b[364134]|0;b[l+5>>0]=b[364135]|0;b[l+6>>0]=0;e=c+11|0;d=b[e>>0]|0;do if(d<<24>>24<0){d=f[c>>2]|0;if(!d){_j(j,362556,g);g=j+11|0;f[h>>2]=(b[g>>0]|0)<0?f[j>>2]|0:j;Zj(362256,h);if((b[g>>0]|0)<0)GBb(f[j>>2]|0);d=b[e>>0]|0;if(d<<24>>24<0)d=0;else{e=0;i=9;break}}e=d;g=a;a=f[c+4>>2]|0}else{e=c;i=9}while(0);if((i|0)==9){g=a;a=d&255}OBb(k,l);d=k+12|0;OBb(d,g);f[k+24>>2]=e;f[k+28>>2]=a;if((b[n>>0]|0)<0)GBb(f[l>>2]|0);n=nk(k)|0;ENa(f[m+352>>2]|0,0,n,1);ENa(f[m+356>>2]|0,0,n,1);_j(j,367589,o);o=j+11|0;n=(b[o>>0]|0)<0?f[j>>2]|0:j;f[p>>2]=m;f[p+4>>2]=n;Zj(363754,p);if((b[o>>0]|0)<0)GBb(f[j>>2]|0);Ik(m+560|0);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[k+11>>0]|0)>=0){u=q;return}GBb(f[k>>2]|0);u=q;return}function Os(a){a=a|0;return}function Ps(a){a=a|0;GBb(a);return}function Qs(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304472;f[b+4>>2]=f[a+4>>2];return b|0}function Rs(a,b){a=a|0;b=b|0;f[b>>2]=304472;f[b+4>>2]=f[a+4>>2];return}function Ss(a){a=a|0;return}function Ts(a){a=a|0;GBb(a);return}function Us(a,b){a=a|0;b=b|0;Xs(a+4|0,b);return}function Vs(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==367934?a+4|0:0)|0}function Ws(a){a=a|0;return 276264}function Xs(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;g=u;u=u+48|0;i=g+8|0;h=g;d=g+28|0;e=g+16|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=f[a>>2]|0;c=e+11|0;f[h>>2]=(b[c>>0]|0)<0?f[e>>2]|0:e;_j(d,367894,h);h=d+11|0;j=(b[h>>0]|0)<0?f[d>>2]|0:d;f[i>>2]=a;f[i+4>>2]=j;Zj(363754,i);if((b[h>>0]|0)<0)GBb(f[d>>2]|0);Ik(a+560|0);if((b[c>>0]|0)>=0){u=g;return}GBb(f[e>>2]|0);u=g;return}function Ys(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,i=0,j=0,k=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;e=f[b>>2]|0;d=e;a:while(1){if(d){if((f[d+12>>2]|0)==(f[d+16>>2]|0)?(_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0)==-1:0){f[b>>2]=0;d=0;e=0}}else{d=0;e=0}g=(d|0)==0;i=f[c>>2]|0;do if(i){if((f[i+12>>2]|0)==(f[i+16>>2]|0)?(_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0)==-1:0){f[c>>2]=0;k=11;break}if(!g){k=19;break a}}else k=11;while(0);if((k|0)==11?(k=0,g):0){k=19;break}i=d+12|0;g=f[i>>2]|0;j=d+16|0;if((g|0)==(f[j>>2]|0))g=_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0;else g=h[g>>0]|0;dCb(a,g&255);g=f[i>>2]|0;if((g|0)==(f[j>>2]|0))_i[f[(f[e>>2]|0)+40>>2]&2047](d)|0;else f[i>>2]=g+1}if((k|0)==19)return}function Zs(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,s=0,t=0,v=0;v=u;u=u+160|0;p=v+156|0;q=v+152|0;k=v+88|0;s=v+140|0;l=v+64|0;j=v+128|0;r=v+24|0;t=v;c=EBb(16)|0;f[s>>2]=c;f[s+8>>2]=-2147483632;f[s+4>>2]=12;d=c;e=368198;g=d+12|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+12>>0]=0;m=a;i=l+16|0;f[l>>2]=304516;f[l+4>>2]=m;f[i>>2]=l;OBb(k,s);c=k+16|0;d=f[i>>2]|0;do if(d)if((l|0)==(d|0)){f[k+32>>2]=c;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,c);break}else{o=_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;f[k+32>>2]=o;break}else f[k+32>>2]=0;while(0);b[j+11>>0]=10;d=j;e=365885;g=d+10|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[j+10>>0]=0;o=a+280|0;c=f[o>>2]|0;n=a+284|0;h=f[n>>2]|0;d=c;a:do if((h|0)!=(d|0)){g=c;b:while(1){a=b[g+11>>0]|0;c=a<<24>>24<0;a=a&255;c:do if(((c?f[d+4>>2]|0:a)|0)==10){if(c)if(!(anb(f[d>>2]|0,j,10)|0))break b;else break;e=g;c=a;a=j;while(1){if((b[e>>0]|0)!=(b[a>>0]|0))break c;c=c+-1|0;if(!c)break b;else{e=e+1|0;a=a+1|0}}}while(0);c=d+40|0;if((h|0)==(c|0))break a;else{g=c;d=c}}f[q>>2]=g;f[p>>2]=f[q>>2];hr(o,p,k)|0}while(0);c=f[k+32>>2]|0;if((k+16|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);c=f[i>>2]|0;if((l|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[s+11>>0]|0)<0)GBb(f[s>>2]|0);c=EBb(16)|0;f[s>>2]=c;f[s+8>>2]=-2147483632;f[s+4>>2]=11;d=c;e=368211;g=d+11|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+11>>0]=0;j=t+16|0;f[t>>2]=304604;f[t+4>>2]=m;f[j>>2]=t;OBb(r,s);c=r+16|0;d=f[j>>2]|0;do if(d)if((t|0)==(d|0)){f[r+32>>2]=c;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,c);break}else{m=_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;f[r+32>>2]=m;break}else f[r+32>>2]=0;while(0);i=EBb(16)|0;d=i;e=363882;g=d+11|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[i+11>>0]=0;c=f[o>>2]|0;h=f[n>>2]|0;d=c;d:do if((h|0)!=(d|0)){g=c;e:while(1){a=b[g+11>>0]|0;c=a<<24>>24<0;a=a&255;f:do if(((c?f[d+4>>2]|0:a)|0)==11){if(c)if(!(anb(f[d>>2]|0,i,11)|0))break e;else break;e=g;c=a;a=i;while(1){if((b[e>>0]|0)!=(b[a>>0]|0))break f;c=c+-1|0;if(!c)break e;else{e=e+1|0;a=a+1|0}}}while(0);c=d+40|0;if((h|0)==(c|0))break d;else{g=c;d=c}}f[q>>2]=g;f[p>>2]=f[q>>2];hr(o,p,r)|0}while(0);GBb(i);c=f[r+32>>2]|0;if((r+16|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);c=f[j>>2]|0;if((t|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[s+11>>0]|0)>=0){u=v;return}GBb(f[s>>2]|0);u=v;return}function _s(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g;c=g+24|0;d=e+16|0;f[e>>2]=304692;f[e+4>>2]=a;f[d>>2]=e;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;Bo(a+80|0,e,c);if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return}if(!a){u=g;return}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return}function $s(a){a=a|0;GBb(a);return}function at(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304516;f[b+4>>2]=f[a+4>>2];return b|0}function bt(a,b){a=a|0;b=b|0;f[b>>2]=304516;f[b+4>>2]=f[a+4>>2];return}function ct(a){a=a|0;return}function dt(a){a=a|0;GBb(a);return}function et(a){a=a|0;return ht(f[a+4>>2]|0)|0}function ft(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==368521?a+4|0:0)|0}function gt(a){a=a|0;return 276320}function ht(a){a=a|0;var b=0,c=0,d=0,e=0;d=u;u=u+32|0;c=d;e=f[(f[(f[a>>2]|0)+92>>2]|0)+120>>2]|0;b=e+240|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[b+12>>2]=0;b=e+148|0;if(!(f[e+152>>2]|0))f[b>>2]=f[b>>2]&-8193;n[c>>2]=0.0;n[c+4>>2]=0.0;n[c+8>>2]=.5;n[c+12>>2]=.5;n[c+16>>2]=1.0;n[c+20>>2]=0.0;it(a+32|0,c,c+24|0);b=a+16|0;e=e$a(b)|0;f[b>>2]=e;f[b+4>>2]=H;b=f[a>>2]|0;e=c+16|0;f[c>>2]=304560;f[c+4>>2]=a;f[e>>2]=c;Bo(b,c,a+4|0);a=f[e>>2]|0;if((c|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=d;return 0}if(!a){u=d;return 0}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=d;return 0}function it(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;i=b;e=c-i>>3;h=a+8|0;d=f[h>>2]|0;k=f[a>>2]|0;j=k;if(e>>>0<=d-k>>3>>>0){h=a+4|0;d=(f[h>>2]|0)-k>>3;g=e>>>0>d>>>0;d=b+(d<<3)|0;a=g?d:c;e=a-i|0;if(e|0)ZDb(k|0,b|0,e|0)|0;if(!g){f[h>>2]=j+(e>>3<<3);return}if((a|0)==(c|0))return;b=f[h>>2]|0;do{i=d;j=f[i+4>>2]|0;k=b;f[k>>2]=f[i>>2];f[k+4>>2]=j;d=d+8|0;b=(f[h>>2]|0)+8|0;f[h>>2]=b}while((d|0)!=(c|0));return}if(k){d=a+4|0;f[d>>2]=k;GBb(k);f[h>>2]=0;f[d>>2]=0;f[a>>2]=0;d=0}if(e>>>0>536870911)DCb(a);k=d>>2;e=d>>3>>>0<268435455?(k>>>0<e>>>0?e:k):536870911;if(e>>>0>536870911)DCb(a);d=EBb(e<<3)|0;g=a+4|0;f[g>>2]=d;f[a>>2]=d;f[h>>2]=d+(e<<3);if((b|0)==(c|0))return;do{i=b;j=f[i+4>>2]|0;k=d;f[k>>2]=f[i>>2];f[k+4>>2]=j;b=b+8|0;d=(f[g>>2]|0)+8|0;f[g>>2]=d}while((b|0)!=(c|0));return}function jt(a){a=a|0;GBb(a);return}function kt(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304560;f[b+4>>2]=f[a+4>>2];return b|0}function lt(a,b){a=a|0;b=b|0;f[b>>2]=304560;f[b+4>>2]=f[a+4>>2];return}function mt(a){a=a|0;return}function nt(a){a=a|0;GBb(a);return}function ot(a){a=a|0;rt(a+4|0);return}function pt(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==368461?a+4|0:0)|0}function qt(a){a=a|0;return 276312}function rt(a){a=a|0;var b=0.0,c=0,d=0,e=0,g=0,h=0.0,i=0,j=0,k=0,l=0.0,m=0.0;j=u;u=u+16|0;i=f[a>>2]|0;a=i+16|0;e=a;d=f[e>>2]|0;e=f[e+4>>2]|0;a=e$a(a)|0;c=H;if(c>>>0>e>>>0|(c|0)==(e|0)&a>>>0>d>>>0){g=NDb(a|0,c|0,d|0,e|0)|0;b=+p[i+24>>3]*(+(g>>>0)+4294967296.0*+(H>>>0))}else{g=NDb(d|0,e|0,a|0,c|0)|0;b=-(+p[i+24>>3]*(+(g>>>0)+4294967296.0*+(H>>>0)))}b=b-+n[i+44>>2];if(b<0.0){u=j;return}h=+xpb(b,j);c=f[i+32>>2]|0;b=+n[c>>2];do if(!(b>=h)){a=f[i+36>>2]|0;if(+n[a+-8>>2]<=h){b=+n[a+-4>>2];break}a=a-c|0;if(!a)a=c;else{e=a>>3;g=c;a=c;while(1){k=(e|0)/2|0;d=a+(k<<3)|0;c=+n[d>>2]<h;d=d+8|0;g=c?d:g;e=c?e+-1-k|0:k;if(!e)break;else a=c?d:a}a=g;b=+n[g>>2]}m=+n[a+-8>>2];l=+n[a+-4>>2];b=l+(h-m)/(b-m)*(+n[a+4>>2]-l)}else b=+n[c+4>>2];while(0);k=f[(f[(f[i>>2]|0)+92>>2]|0)+120>>2]|0;n[k+240>>2]=b;n[k+244>>2]=b;n[k+248>>2]=b;n[k+252>>2]=0.0;a=k+148|0;if(!(f[k+152>>2]|0))f[a>>2]=f[a>>2]&-8193;u=j;return}function st(a){a=a|0;GBb(a);return}function tt(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304604;f[b+4>>2]=f[a+4>>2];return b|0}function ut(a,b){a=a|0;b=b|0;f[b>>2]=304604;f[b+4>>2]=f[a+4>>2];return}function vt(a){a=a|0;return}function wt(a){a=a|0;GBb(a);return}function xt(a){a=a|0;return At(f[a+4>>2]|0)|0}function yt(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==368855?a+4|0:0)|0}function zt(a){a=a|0;return 276368}function At(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=u;u=u+32|0;e=g;fp(f[a>>2]|0,a+4|0);c=f[a>>2]|0;d=e+16|0;f[e>>2]=304648;f[e+4>>2]=a;f[d>>2]=e;a=c+40|0;b=f[a>>2]|0;if((b|0)==(f[c+44>>2]|0))Bt(c+36|0,e);else{f[b+16>>2]=b;c=f[d>>2]|0;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,b);f[a>>2]=(f[a>>2]|0)+24}a=f[d>>2]|0;if((e|0)==(a|0)){tj[f[(f[a>>2]|0)+16>>2]&2047](a);u=g;return 0}if(!a){u=g;return 0}tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=g;return 0}function Bt(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;k=a+4|0;c=f[a>>2]|0;e=((f[k>>2]|0)-c|0)/24|0;d=e+1|0;if(d>>>0>178956970)DCb(a);l=a+8|0;j=((f[l>>2]|0)-c|0)/24|0;c=j<<1;c=j>>>0<89478485?(c>>>0<d>>>0?d:c):178956970;do if(c)if(c>>>0>178956970){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{d=EBb(c*24|0)|0;break}else d=0;while(0);h=d+(e*24|0)|0;j=d+(c*24|0)|0;c=f[b+16>>2]|0;do if(c)if((b|0)==(c|0)){f[d+(e*24|0)+16>>2]=h;Bj[f[(f[c>>2]|0)+12>>2]&1023](c,h);break}else{i=_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;f[d+(e*24|0)+16>>2]=i;break}else f[d+(e*24|0)+16>>2]=0;while(0);i=h+24|0;c=f[a>>2]|0;d=f[k>>2]|0;if((d|0)!=(c|0)){do{b=h;h=h+-24|0;e=d+-8|0;d=d+-24|0;g=f[e>>2]|0;do if(g)if((d|0)==(g|0)){f[b+-8>>2]=h;g=f[e>>2]|0;Bj[f[(f[g>>2]|0)+12>>2]&1023](g,h);break}else{f[b+-8>>2]=g;f[e>>2]=0;break}else f[b+-8>>2]=0;while(0)}while((d|0)!=(c|0));c=f[a>>2]|0;d=f[k>>2]|0;f[a>>2]=h;f[k>>2]=i;f[l>>2]=j;if((d|0)!=(c|0))do{b=f[d+-8>>2]|0;d=d+-24|0;if((d|0)!=(b|0)){if(b|0)tj[f[(f[b>>2]|0)+20>>2]&2047](b)}else tj[f[(f[b>>2]|0)+16>>2]&2047](b)}while((d|0)!=(c|0))}else{f[a>>2]=h;f[k>>2]=i;f[l>>2]=j}if(!c)return;GBb(c);return}function Ct(a){a=a|0;GBb(a);return}function Dt(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304648;f[b+4>>2]=f[a+4>>2];return b|0}function Et(a,b){a=a|0;b=b|0;f[b>>2]=304648;f[b+4>>2]=f[a+4>>2];return}function Ft(a){a=a|0;return}function Gt(a){a=a|0;GBb(a);return}function Ht(a){a=a|0;var b=0;b=f[(f[(f[f[a+4>>2]>>2]|0)+92>>2]|0)+120>>2]|0;a=b+240|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;a=b+148|0;if(f[b+152>>2]|0)return;f[a>>2]=f[a>>2]&-8193;return}function It(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==368805?a+4|0:0)|0}function Jt(a){a=a|0;return 276360}function Kt(a){a=a|0;GBb(a);return}function Lt(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304692;f[b+4>>2]=f[a+4>>2];return b|0}function Mt(a,b){a=a|0;b=b|0;f[b>>2]=304692;f[b+4>>2]=f[a+4>>2];return}function Nt(a){a=a|0;return}function Ot(a){a=a|0;GBb(a);return}function Pt(a){a=a|0;var c=0;c=f[a+4>>2]|0;a=(b[c+76>>0]|0)==0;c=f[(f[(f[c>>2]|0)+92>>2]|0)+120>>2]|0;n[c+240>>2]=a?.5:0.0;n[c+244>>2]=a?0.0:.5;n[c+248>>2]=0.0;n[c+252>>2]=0.0;a=c+148|0;if(f[c+152>>2]|0)return;f[a>>2]=f[a>>2]&-8193;return}function Qt(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==369017?a+4|0:0)|0}function Rt(a){a=a|0;return 276392}function St(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+64|0;j=k+24|0;i=k;if(!(b[a+32>>0]|0)){u=k;return}d=a+28|0;c=f[d>>2]|0;g=f[a+16>>2]|0;h=g;do if((c+1|0)>>>0>=(((f[a+20>>2]|0)-g|0)/40|0)>>>0)if(!(b[a+12>>0]|0)){u=k;return}else{f[d>>2]=-1;c=-1;break}while(0);g=c+1|0;f[d>>2]=g;OBb(j,h+(g*40|0)|0);c=j+16|0;d=h+(g*40|0)+32|0;e=f[d>>2]|0;if(!e){f[j+32>>2]=0;k=ab(4)|0;f[k>>2]=358636;eb(k|0,300632,1379)}if((h+(g*40|0)+16|0)==(e|0)){g=j+32|0;f[g>>2]=c;h=f[d>>2]|0;Bj[f[(f[h>>2]|0)+12>>2]&1023](h,c);h=g;c=f[g>>2]|0}else{c=_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;h=j+32|0;f[h>>2]=c}if(!c){k=ab(4)|0;f[k>>2]=358636;eb(k|0,300632,1379)}e=_i[f[(f[c>>2]|0)+24>>2]&2047](c)|0;do if(e){g=i+16|0;f[i>>2]=304736;f[i+4>>2]=a;f[g>>2]=i;c=e+40|0;d=f[c>>2]|0;if((d|0)==(f[e+44>>2]|0))Bt(e+36|0,i);else{f[d+16>>2]=d;a=f[g>>2]|0;Bj[f[(f[a>>2]|0)+12>>2]&1023](a,d);f[c>>2]=(f[c>>2]|0)+24}c=f[g>>2]|0;if((i|0)==(c|0)){tj[f[(f[c>>2]|0)+16>>2]&2047](c);break}if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else St(a);while(0);c=f[h>>2]|0;if((j+16|0)!=(c|0)){if(c|0)tj[f[(f[c>>2]|0)+20>>2]&2047](c)}else tj[f[(f[c>>2]|0)+16>>2]&2047](c);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);u=k;return}function Tt(a){a=a|0;GBb(a);return}function Ut(a){a=a|0;var b=0;b=EBb(8)|0;f[b>>2]=304736;f[b+4>>2]=f[a+4>>2];return b|0}function Vt(a,b){a=a|0;b=b|0;f[b>>2]=304736;f[b+4>>2]=f[a+4>>2];return}function Wt(a){a=a|0;return}function Xt(a){a=a|0;GBb(a);return}function Yt(a){a=a|0;St(f[a+4>>2]|0);return}function Zt(a,b){a=a|0;b=b|0;return ((f[b+4>>2]|0)==369175?a+4|0:0)|0}function _t(a){a=a|0;return 276416}function $t(a){a=a|0;dDa(a,305320);Gva(a+56|0);return}function au(a){a=a|0;a=EBb(88)|0;l0a(a,0);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function bu(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;n0a(c,a,b);return c+(f[(f[c>>2]|0)+-12>>2]|0)|0}function cu(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,296168,-1)|0)!=0;return b|0}function du(a){a=a|0;return 409756}function eu(a){a=a|0;return 369262}function fu(a){a=a|0;return a|0}function gu(a){a=a|0;return a|0}function hu(a){a=a|0;return 0}function iu(a){a=a|0;return 0}function ju(a){a=a|0;return 0}function ku(a){a=a|0;return 0}function lu(a){a=a|0;return 0}function mu(a){a=a|0;return 0}function nu(a){a=a|0;return 0}function ou(a){a=a|0;return 0}function pu(a){a=a|0;return 0}function qu(a){a=a|0;return 0}function ru(a){a=a|0;return}function su(a,b){a=a|0;b=b|0;n[a>>2]=0.0;n[a+4>>2]=0.0;n[a+8>>2]=0.0;return}function tu(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+80>>2]&1023](a,b);return}function uu(a,b,c){a=a|0;b=b|0;c=c|0;return 0.0}function vu(a,b,c){a=a|0;b=b|0;c=c|0;return 0.0}function wu(a,b,c){a=a|0;b=b|0;c=c|0;return 0.0}function xu(a){a=a|0;a=EBb(88)|0;l0a(a,0);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function yu(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;a=EBb(88)|0;n0a(a,c,b);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function zu(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,296168,-1)|0)!=0;return b|0}function Au(a){a=a|0;return 409756}function Bu(a){a=a|0;return 369262}function Cu(a){a=a|0;return a+(f[(f[a>>2]|0)+-48>>2]|0)|0}function Du(a){a=a|0;return a+(f[(f[a>>2]|0)+-52>>2]|0)|0}function Eu(a){a=a|0;return 0}function Fu(a){a=a|0;return 0}function Gu(a){a=a|0;return 0}function Hu(a){a=a|0;return 0}function Iu(a){a=a|0;dDa(a,305320);Gva(a+56|0);GBb(a);return}function Ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;if(!(_i[f[(f[b>>2]|0)+248>>2]&2047](b)|0)){BCa(a,b);return}h=b+124|0;c=0;do{d=f[(f[h>>2]|0)+(c<<2)>>2]|0;if((d|0?(e=_i[f[(f[d>>2]|0)+88>>2]&2047](d)|0,e|0):0)?(g=WCb(e,296768,296944,0)|0,g|0):0)Bj[f[(f[g>>2]|0)+236>>2]&1023](g,1);c=c+1|0}while(c>>>0<(_i[f[(f[b>>2]|0)+248>>2]&2047](b)|0)>>>0);BCa(a,b);return}function Ku(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,305320);Gva(a+56|0);return}function Lu(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,305320);Gva(a+56|0);GBb(a);return}function Mu(a,b){a=a|0;b=b|0;if(!b)return;else{Mu(a,f[b>>2]|0);Mu(a,f[b+4>>2]|0);GBb(b);return}}function Nu(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+16|0;h=m+12|0;k=m;l=m+8|0;Lrb(k,a);if(!(b[k>>0]|0)){Mrb(k);u=m;return a|0}i=(f[a>>2]|0)+-12|0;f[l>>2]=f[a+(f[i>>2]|0)+24>>2];i=a+(f[i>>2]|0)|0;j=f[i+4>>2]|0;g=c+d|0;e=i+76|0;d=f[e>>2]|0;if((d|0)==-1){Drb(h,i);d=utb(h,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,32)|0;vtb(h);d=d<<24>>24;f[e>>2]=d}f[h>>2]=f[l>>2];if(Ou(h,c,(j&176|0)==32?g:c,g,i,d&255)|0){Mrb(k);u=m;return a|0}l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|5);Mrb(k);u=m;return a|0}function Ou(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+16|0;m=o;n=f[a>>2]|0;if(!n){n=0;u=o;return n|0}i=c;j=e-i|0;l=g+12|0;k=f[l>>2]|0;j=(k|0)>(j|0)?k-j|0:0;k=d;g=k-i|0;if((g|0)>0?(dj[f[(f[n>>2]|0)+48>>2]&255](n,c,g)|0)!=(g|0):0){f[a>>2]=0;n=0;u=o;return n|0}do if((j|0)>0){f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;if(j>>>0<11){c=m+11|0;b[c>>0]=j;g=m;i=m}else{c=j+16&-16;g=EBb(c)|0;f[m>>2]=g;f[m+8>>2]=c|-2147483648;f[m+4>>2]=j;c=m+11|0;i=m}_Db(g|0,h|0,j|0)|0;b[g+j>>0]=0;if((dj[f[(f[n>>2]|0)+48>>2]&255](n,(b[c>>0]|0)<0?f[i>>2]|0:m,j)|0)==(j|0)){if((b[c>>0]|0)<0)GBb(f[i>>2]|0);break}f[a>>2]=0;if((b[c>>0]|0)<0)GBb(f[i>>2]|0);n=0;u=o;return n|0}while(0);e=e-k|0;if((e|0)>0?(dj[f[(f[n>>2]|0)+48>>2]&255](n,d,e)|0)!=(e|0):0){f[a>>2]=0;n=0;u=o;return n|0}f[l>>2]=0;u=o;return n|0}function Pu(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=a+4|0;d=f[a>>2]|0;h=((f[j>>2]|0)-d|0)/12|0;e=h+1|0;if(e>>>0>357913941)DCb(a);k=a+8|0;i=((f[k>>2]|0)-d|0)/12|0;g=i<<1;g=i>>>0<178956970?(g>>>0<e>>>0?e:g):357913941;do if(g)if(g>>>0>357913941){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{d=EBb(g*12|0)|0;break}else d=0;while(0);e=d+(h*12|0)|0;i=d+(g*12|0)|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=e+12|0;h=f[a>>2]|0;d=f[j>>2]|0;if((d|0)==(h|0)){g=h;d=h}else{do{e=e+-12|0;d=d+-12|0;f[e>>2]=f[d>>2];f[e+4>>2]=f[d+4>>2];f[e+8>>2]=f[d+8>>2];f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0}while((d|0)!=(h|0));g=f[a>>2]|0;d=f[j>>2]|0}f[a>>2]=e;f[j>>2]=c;f[k>>2]=i;e=g;if((d|0)!=(e|0))do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));if(!g)return;GBb(g);return}function Qu(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<m>>>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 Ru(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=a+4|0;d=f[a>>2]|0;h=((f[j>>2]|0)-d|0)/12|0;e=h+1|0;if(e>>>0>357913941)DCb(a);k=a+8|0;i=((f[k>>2]|0)-d|0)/12|0;g=i<<1;g=i>>>0<178956970?(g>>>0<e>>>0?e:g):357913941;do if(g)if(g>>>0>357913941){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{d=EBb(g*12|0)|0;break}else d=0;while(0);e=d+(h*12|0)|0;i=d+(g*12|0)|0;OBb(e,c);c=e+12|0;h=f[a>>2]|0;d=f[j>>2]|0;if((d|0)==(h|0)){g=h;d=h}else{do{e=e+-12|0;d=d+-12|0;f[e>>2]=f[d>>2];f[e+4>>2]=f[d+4>>2];f[e+8>>2]=f[d+8>>2];f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0}while((d|0)!=(h|0));g=f[a>>2]|0;d=f[j>>2]|0}f[a>>2]=e;f[j>>2]=c;f[k>>2]=i;e=g;if((d|0)!=(e|0))do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));if(!g)return;GBb(g);return}function Su(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;h=a+4|0;i=f[a>>2]|0;j=(f[h>>2]|0)-i|0;d=(j|0)/12|0;c=d+1|0;if(c>>>0>357913941)DCb(a);k=a+8|0;e=((f[k>>2]|0)-i|0)/12|0;g=e<<1;g=e>>>0<178956970?(g>>>0<c>>>0?c:g):357913941;do if(g)if(g>>>0>357913941){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{e=EBb(g*12|0)|0;break}else e=0;while(0);d=e+(d*12|0)|0;f[d>>2]=f[b>>2];f[d+4>>2]=f[b+4>>2];f[d+8>>2]=f[b+8>>2];c=d+(((j|0)/-12|0)*12|0)|0;if((j|0)>0)YDb(c|0,i|0,j|0)|0;f[a>>2]=c;f[h>>2]=d+12;f[k>>2]=e+(g*12|0);if(!i)return;GBb(i);return}function Tu(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;k=a+4|0;d=f[a>>2]|0;h=((f[k>>2]|0)-d|0)/12|0;e=h+1|0;if(e>>>0>357913941)DCb(a);l=a+8|0;j=((f[l>>2]|0)-d|0)/12|0;g=j<<1;g=j>>>0<178956970?(g>>>0<e>>>0?e:g):357913941;do if(g)if(g>>>0>357913941){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{d=EBb(g*12|0)|0;break}else d=0;while(0);e=d+(h*12|0)|0;i=d+(g*12|0)|0;fk(e,c);h=e+12|0;g=f[a>>2]|0;d=f[k>>2]|0;if((d|0)==(g|0)){j=g;d=g}else{do{m=e;e=e+-12|0;c=d;d=d+-12|0;f[e>>2]=0;n=m+-8|0;f[n>>2]=0;m=m+-4|0;f[m>>2]=0;f[e>>2]=f[d>>2];j=c+-8|0;f[n>>2]=f[j>>2];c=c+-4|0;f[m>>2]=f[c>>2];f[c>>2]=0;f[j>>2]=0;f[d>>2]=0}while((d|0)!=(g|0));j=f[a>>2]|0;d=f[k>>2]|0}f[a>>2]=e;f[k>>2]=h;f[l>>2]=i;c=j;if((d|0)!=(c|0)){g=d;do{d=g;g=g+-12|0;h=f[g>>2]|0;if(h|0){e=d+-8|0;d=f[e>>2]|0;if((d|0)==(h|0))d=h;else{do{d=d+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(h|0));d=f[g>>2]|0}f[e>>2]=h;GBb(d)}}while((g|0)!=(c|0))}if(!j)return;GBb(j);return}function Uu(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<c>>>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 Vu(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;h=a+4|0;i=f[a>>2]|0;j=(f[h>>2]|0)-i|0;d=(j|0)/12|0;c=d+1|0;if(c>>>0>357913941)DCb(a);k=a+8|0;e=((f[k>>2]|0)-i|0)/12|0;g=e<<1;g=e>>>0<178956970?(g>>>0<c>>>0?c:g):357913941;do if(g)if(g>>>0>357913941){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{e=EBb(g*12|0)|0;break}else e=0;while(0);d=e+(d*12|0)|0;f[d>>2]=f[b>>2];f[d+4>>2]=f[b+4>>2];f[d+8>>2]=f[b+8>>2];c=d+(((j|0)/-12|0)*12|0)|0;if((j|0)>0)YDb(c|0,i|0,j|0)|0;f[a>>2]=c;f[h>>2]=d+12;f[k>>2]=e+(g*12|0);if(!i)return;GBb(i);return}function Wu(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;n=u;u=u+16|0;l=n;Jrb(l,a,1);if(!(b[l>>0]|0)){u=n;return a|0}l=c+11|0;if((b[l>>0]|0)<0){b[f[c>>2]>>0]=0;k=c+4|0;f[k>>2]=0}else{b[c>>0]=0;b[l>>0]=0;k=c+4|0}j=0;while(1){e=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;g=e+12|0;i=f[g>>2]|0;if((i|0)==(f[e+16>>2]|0)){e=_i[f[(f[e>>2]|0)+40>>2]&2047](e)|0;if((e|0)==-1){m=11;break}}else{f[g>>2]=i+1;e=h[i>>0]|0}e=e&255;if(e<<24>>24==d<<24>>24){e=0;break}dCb(c,e);if((b[l>>0]|0)<0&(f[k>>2]|0)==-17){e=4;break}else j=j+1|0}if((m|0)==11)e=(j|0)==0?6:2;m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|e);u=n;return a|0}function Xu(){n[124700]=1.0;n[124701]=0.0;n[124702]=0.0;n[124703]=0.0;n[124704]=1.0;n[124705]=0.0;n[124706]=0.0;n[124707]=0.0;n[124708]=1.0;return}function Yu(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,s=0,t=0,v=0,w=0,x=0;x=u;u=u+96|0;r=x+72|0;s=x+60|0;t=x+48|0;q=x+36|0;v=x+24|0;o=x+12|0;n=x;p=o4a()|0;if(qZa(4)|0){w=csb(Nu(Hua(4)|0,371328,46)|0,p)|0;Drb(r,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);m=utb(r,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(r);ksb(w,m)|0;Krb(w)|0}if((p|0)==1){u=x;return}f[v>>2]=0;w=v+4|0;f[w>>2]=0;h=v+8|0;f[h>>2]=0;f[r>>2]=0;if(p){e=0;g=0;d=0;while(1){if((e|0)==(g|0))iw(v,r);else{f[e>>2]=d;f[w>>2]=e+4}d=(f[r>>2]|0)+2|0;f[r>>2]=d;if(d>>>0>=p>>>0)break;e=f[w>>2]|0;g=f[h>>2]|0}f[r>>2]=1;if(p>>>0>1){e=1;do{d=f[w>>2]|0;if((d|0)==(f[h>>2]|0))iw(v,r);else{f[d>>2]=e;f[w>>2]=d+4}e=(f[r>>2]|0)+2|0;f[r>>2]=e}while(e>>>0<p>>>0)}}else f[r>>2]=1;g=f[f[v>>2]>>2]|0;f[o+4>>2]=0;h=o+8|0;f[h>>2]=0;e=o+4|0;f[o>>2]=e;d=EBb(20)|0;f[d+16>>2]=g;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[e>>2]=d;g=d;f[o>>2]=g;b[d+12>>0]=1;f[h>>2]=1;h=a+16|0;if((o|0)!=(h|0)){f[t>>2]=g;f[q>>2]=e;f[s>>2]=f[t>>2];f[r>>2]=f[q>>2];hw(h,s,r);d=f[e>>2]|0}iv(o,d);switch(f[a+28>>2]|0){case 1:{e=0;i=29;break}case 2:{e=1;i=29;break}case 3:{f[r>>2]=0;j=r+4|0;f[j>>2]=0;f[r+8>>2]=0;Fj[f[(f[a>>2]|0)+84>>2]&511](a,r,1);d=f[r>>2]|0;if((d|0)==(f[j>>2]|0))e=0;else{g=s+4|0;h=s+8|0;i=s+4|0;e=0;do{m=f[d>>2]|0;l=e;e=e+1|0;k=f[v>>2]|0;k=f[k+(((l>>>0)%((f[w>>2]|0)-k>>2>>>0)|0)<<2)>>2]|0;f[g>>2]=0;f[h>>2]=0;f[s>>2]=i;l=EBb(20)|0;f[l+16>>2]=k;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=i;f[i>>2]=l;f[s>>2]=l;b[l+12>>0]=1;f[h>>2]=1;PZa(m,s);iv(s,f[i>>2]|0);d=d+4|0}while((d|0)!=(f[j>>2]|0));d=f[r>>2]|0}if(d|0){f[j>>2]=d;GBb(d)}i=29;break}default:e=0}if((i|0)==29){f[o>>2]=0;m=o+4|0;f[m>>2]=0;f[o+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,o,1);d=f[o>>2]|0;g=f[m>>2]|0;if((d|0)!=(g|0)){j=n+4|0;k=n+8|0;l=n+4|0;do{h=f[(f[d>>2]|0)+44>>2]|0;if(h){i=f[v>>2]|0;i=f[i+(((e>>>0)%((f[w>>2]|0)-i>>2>>>0)|0)<<2)>>2]|0;f[j>>2]=0;f[k>>2]=0;f[n>>2]=l;g=EBb(20)|0;f[g+16>>2]=i;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=l;f[l>>2]=g;i=g;f[n>>2]=i;b[g+12>>0]=1;f[k>>2]=1;h=h+188|0;if((n|0)!=(h|0)){f[t>>2]=i;f[q>>2]=l;f[s>>2]=f[t>>2];f[r>>2]=f[q>>2];hw(h,s,r);g=f[l>>2]|0}iv(n,g);e=e+1|0;g=f[m>>2]|0}d=d+4|0}while((d|0)!=(g|0));d=f[o>>2]|0}if(d|0){f[m>>2]=d;GBb(d)}}if(e>>>0<p>>>0){f[s>>2]=0;m=s+4|0;f[m>>2]=0;f[s+8>>2]=0;Fj[f[(f[a>>2]|0)+104>>2]&511](a,s,1);f[t>>2]=t;k=t+4|0;f[k>>2]=t;l=t+8|0;f[l>>2]=0;d=f[s>>2]|0;j=f[m>>2]|0;if((d|0)!=(j|0)){g=t;i=0;do{h=f[(f[d>>2]|0)+16>>2]|0;if(h){a=EBb(12)|0;f[a+8>>2]=h;f[a+4>>2]=t;f[a>>2]=g;f[g+4>>2]=a;f[t>>2]=a;i=i+1|0;f[l>>2]=i;g=a}d=d+4|0}while((d|0)!=(j|0))}if(qZa(4)|0){a=Nu(Hua(4)|0,371375,19)|0;a=esb(a,f[l>>2]|0)|0;Drb(r,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);o=utb(r,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(r);ksb(a,o)|0;Krb(a)|0}i=f[v>>2]|0;i=f[i+(((e>>>0)%((f[w>>2]|0)-i>>2>>>0)|0)<<2)>>2]|0;f[r+4>>2]=0;f[r+8>>2]=0;j=r+4|0;f[r>>2]=j;e=f[k>>2]|0;d=e;if((t|0)==(d|0))d=0;else{g=p-i|0;h=q+4|0;do{p=f[e+8>>2]|0;a=f[(f[p>>2]|0)+36>>2]|0;jw(q,i,g);Bj[a&1023](p,q);iv(q,f[h>>2]|0);e=f[d+4>>2]|0;d=e}while((t|0)!=(d|0));d=f[j>>2]|0}iv(r,d);if(f[l>>2]|0?(c=f[k>>2]|0,r=(f[t>>2]|0)+4|0,q=f[c>>2]|0,f[q+4>>2]=f[r>>2],f[f[r>>2]>>2]=q,f[l>>2]=0,(c|0)!=(t|0)):0)do{r=c;c=f[c+4>>2]|0;GBb(r)}while((c|0)!=(t|0));c=f[s>>2]|0;if(c|0){f[m>>2]=c;GBb(c)}}c=f[v>>2]|0;if(c|0){f[w>>2]=c;GBb(c)}u=x;return}function Zu(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+12|0;c=h+8|0;e=h+4|0;g=h;a=a+16|0;if((a|0)==(b|0)){u=h;return}f[e>>2]=f[b>>2];f[g>>2]=b+4;f[c>>2]=f[e>>2];f[d>>2]=f[g>>2];hw(a,c,d);u=h;return}function _u(a,c){a=a|0;c=c|0;var d=0;d=a+28|0;if((f[d>>2]|0)==(c|0))return;if(!(b[a+32>>0]|0)){f[d>>2]=c;return}else{tj[f[(f[a>>2]|0)+44>>2]&2047](a);f[d>>2]=c;tj[f[(f[a>>2]|0)+40>>2]&2047](a);return}}function $u(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;m=u;u=u+48|0;l=m+24|0;k=m+12|0;j=m;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;d=sh(371213)|0;do if(d){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(l,d,c)|0;c=l+11|0;g=b[c>>0]|0;h=l+4|0;d=f[h>>2]|0;e=g&255;if(((g<<24>>24<0?d:e)|0)==14){if(!(nCb(l,0,-1,371227,14)|0)){d=0;break}g=b[c>>0]|0;e=g&255;d=f[h>>2]|0}if(((g<<24>>24<0?d:e)|0)==24){if(!(nCb(l,0,-1,371242,24)|0)){d=1;break}g=b[c>>0]|0;e=g&255;d=f[h>>2]|0}if(((g<<24>>24<0?d:e)|0)==20){if(!(nCb(l,0,-1,371267,20)|0)){d=2;break}g=b[c>>0]|0;e=g&255;d=f[h>>2]|0}if(((g<<24>>24<0?d:e)|0)==39?(nCb(l,0,-1,371288,39)|0)==0:0)d=3;else i=16}else i=16;while(0);if((i|0)==16){f[k>>2]=0;g=k+4|0;f[g>>2]=0;f[k+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,k,1);c=f[k>>2]|0;if((c|0)==(f[g>>2]|0))d=0;else{f[j>>2]=0;e=j+4|0;f[e>>2]=0;f[j+8>>2]=0;Fj[f[(f[a>>2]|0)+84>>2]&511](a,j,1);c=f[j>>2]|0;do if((c|0)!=(f[e>>2]|0)){c=o4a()|0;d=(f[g>>2]|0)-(f[k>>2]|0)|0;if((d|0)==4){d=(c|0)==1?0:2;c=f[j>>2]|0;break}else{j=f[j>>2]|0;d=(c|0)<(((f[e>>2]|0)-j>>2)+(d>>2)|0)?2:3;c=j;break}}else d=0;while(0);if(c|0){f[e>>2]=c;GBb(c)}c=f[k>>2]|0}if(c|0){f[g>>2]=c;GBb(c)}c=l+11|0}if((b[c>>0]|0)>=0){u=m;return d|0}GBb(f[l>>2]|0);u=m;return d|0}function av(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;l=u;u=u+32|0;i=l+12|0;g=l;j=a+28|0;if((f[j>>2]|0)==4){k=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;f[j>>2]=k}if(b[a+14>>0]|0)tj[f[(f[a>>2]|0)+24>>2]&2047](a);f[i>>2]=0;k=i+4|0;f[k>>2]=0;f[i+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,i,1);f4a(a+16|0)|0;f[g>>2]=0;h=g+4|0;f[h>>2]=0;f[g+8>>2]=0;Fj[f[(f[a>>2]|0)+104>>2]&511](a,g,1);c=f[g>>2]|0;d=f[h>>2]|0;if((c|0)!=(d|0)){do{e=f[(f[c>>2]|0)+12>>2]|0;if(e){m=f[(f[e>>2]|0)+156>>2]|0;d=Dxa()|0;d=w_a(f[d>>2]|0)|0;Bj[m&1023](e,d);d=f[h>>2]|0}c=c+4|0}while((c|0)!=(d|0));c=f[g>>2]|0}if(c|0){f[h>>2]=c;GBb(c)}c=(b[a+32>>0]|0)!=0;if(!(f[j>>2]|0)){if(c)tj[f[(f[a>>2]|0)+44>>2]&2047](a)}else if(!c)tj[f[(f[a>>2]|0)+48>>2]&2047](a);c=f[i>>2]|0;if(!c){u=l;return}f[k>>2]=c;GBb(c);u=l;return}function bv(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;l=q+24|0;n=q+12|0;m=q;h=a+32|0;if(!(b[h>>0]|0)){u=q;return}if(qZa(4)|0){p=Nu(Hua(4)|0,371119,48)|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}f[n>>2]=0;p=n+4|0;f[p>>2]=0;f[n+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,n,1);f[m>>2]=0;o=m+4|0;f[o>>2]=0;f[m+8>>2]=0;Fj[f[(f[a>>2]|0)+84>>2]&511](a,m,1);d=f[m>>2]|0;c=f[o>>2]|0;if((d|0)!=(c|0)){do{e=f[(f[d>>2]|0)+628>>2]|0;if((e|0)!=0?(g=WCb(e,297248,276520,0)|0,(g|0)!=0):0){tj[f[f[g>>2]>>2]&2047](g);c=f[o>>2]|0}d=d+4|0}while((d|0)!=(c|0));d=c}c=f[n>>2]|0;if((c|0)!=(f[p>>2]|0)){do{XJa(f[c>>2]|0,0);c=c+4|0}while((c|0)!=(f[p>>2]|0));d=f[o>>2]|0}c=f[m>>2]|0;if((c|0)!=(d|0)){while(1){VBa(f[c>>2]|0,0);e=c+4|0;if((e|0)==(f[o>>2]|0))break;else c=e}d=f[m>>2]|0;if((d|0)!=(e|0))while(1){e=f[(f[d>>2]|0)+628>>2]|0;if(e|0?(i=WCb(e,297248,276520,0)|0,i|0):0){e=i+29|0;if((b[e>>0]|0)!=1)b[e>>0]=1;b[i+28>>0]=0}if((d|0)==(c|0))break;else d=d+4|0}}b[h>>0]=0;c=a+56|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,j=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,h=j+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(j,1,1);c=a+60|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,k=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,i=k+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(k,1,1);c=a+64|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,a=d+8|0,k=f[a>>2]|0,f[a>>2]=k-1,(k|0)==1):0)Rua(d,1,1);if(qZa(4)|0){k=Nu(Hua(4)|0,371168,44)|0;Drb(l,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);a=utb(l,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(l);ksb(k,a)|0;Krb(k)|0}c=f[m>>2]|0;if(c|0){f[o>>2]=c;GBb(c)}c=f[n>>2]|0;if(c|0){f[p>>2]=c;GBb(c)}u=q;return}function cv(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,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;P=u;u=u+48|0;J=P+36|0;O=P+24|0;N=P+12|0;L=P;K=a+32|0;if(b[K>>0]|0){u=P;return}if(qZa(4)|0){I=Nu(Hua(4)|0,370797,45)|0;Drb(J,I+(f[(f[I>>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(I,H)|0;Krb(I)|0}i=a+92|0;c=f[i>>2]|0;if(c|0){if((f[c+24>>2]|0?(d=a+96|0,e=f[d>>2]|0,e|0):0)?_i[f[(f[e>>2]|0)+168>>2]&2047](e)|0:0)p$a(f[d>>2]|0)|0;c=f[i>>2]|0;if(c|0?(f[i>>2]=0,H=c+8|0,I=f[H>>2]|0,f[H>>2]=I-1,(I|0)==1):0)Rua(c,1,1)}f[a+96>>2]=0;f[O>>2]=0;I=O+4|0;f[I>>2]=0;f[O+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,O,1);if(qZa(4)|0){H=Nu(Hua(4)|0,370843,43)|0;H=esb(H,(f[I>>2]|0)-(f[O>>2]|0)>>2)|0;Drb(J,H+(f[(f[H>>2]|0)+-12>>2]|0)|0);G=utb(J,504576)|0;G=cj[f[(f[G>>2]|0)+28>>2]&1023](G,10)|0;vtb(J);ksb(H,G)|0;Krb(H)|0}f[N>>2]=0;H=N+4|0;f[H>>2]=0;f[N+8>>2]=0;Fj[f[(f[a>>2]|0)+84>>2]&511](a,N,1);C=a+28|0;switch(f[C>>2]|0){case 0:break;case 1:{s=((f[I>>2]|0)-(f[O>>2]|0)>>2)+1|0;r=s;j=19;break}case 2:{r=1;s=1;j=19;break}case 3:{r=((f[H>>2]|0)-(f[N>>2]|0)>>2)+1|0;s=1;j=19;break}default:if(qZa(3)|0){M=Nu(Hua(3)|0,370887,35)|0;Drb(J,M+(f[(f[M>>2]|0)+-12>>2]|0)|0);L=utb(J,504576)|0;L=cj[f[(f[L>>2]|0)+28>>2]&1023](L,10)|0;vtb(J);ksb(M,L)|0;Krb(M)|0}}if((j|0)==19){f[L>>2]=0;G=L+4|0;f[G>>2]=0;f[L+8>>2]=0;Fj[f[(f[a>>2]|0)+104>>2]&511](a,L,1);d=f[L>>2]|0;c=f[G>>2]|0;if((d|0)!=(c|0))do{if(f[(f[d>>2]|0)+12>>2]|0){if(qZa(4)|0){l=Nu(Hua(4)|0,370923,24)|0;Drb(J,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(J,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(J);ksb(l,k)|0;Krb(l)|0}l=f[(f[d>>2]|0)+12>>2]|0;Bj[f[f[l>>2]>>2]&1023](l,1);l=f[(f[d>>2]|0)+12>>2]|0;k=f[(f[l>>2]|0)+156>>2]|0;c=Dxa()|0;c=w_a(f[c>>2]|0)|0;Bj[k&1023](l,c);c=f[G>>2]|0}d=d+4|0}while((d|0)!=(c|0));c=f[C>>2]|0;d=c>>>0<2;e=f[N>>2]|0;i=f[H>>2]|0;if((e|0)==(i|0))i=0;else{l=d&1;k=d&1;j=0;d=i;while(1){c=f[(f[e>>2]|0)+628>>2]|0;if((c|0)!=0?(m=WCb(c,297248,276520,0)|0,(m|0)!=0):0){c=m+29|0;if((h[c>>0]|0)!=(l|0))b[c>>0]=k;b[m+28>>0]=0;tj[f[(f[m>>2]|0)+36>>2]&2047](m);c=j+1|0;d=f[H>>2]|0}else c=j;e=e+4|0;if((e|0)==(d|0))break;else j=c}i=c;c=f[C>>2]|0}switch(c|0){case 1:{c=a+56|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,n=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,o=n+8|0,q=f[o>>2]|0,f[o>>2]=q-1,(q|0)==1):0)Rua(n,1,1);c=a+60|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,p=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,o=p+8|0,q=f[o>>2]|0,f[o>>2]=q-1,(q|0)==1):0)Rua(p,1,1);c=a+64|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,p=d+8|0,q=f[p>>2]|0,f[p>>2]=q-1,(q|0)==1):0)Rua(d,1,1);break}case 3:case 2:{c=a+56|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,o=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,n=o+8|0,p=f[n>>2]|0,f[n>>2]=p-1,(p|0)==1):0)Rua(o,1,1);c=a+60|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,q=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,o=q+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(q,1,1);e=EBb(40)|0;G$a(e,i);c=a+64|0;d=f[c>>2]|0;if(((d|0)!=(e|0)?(f[c>>2]=e,q=e+8|0,f[q>>2]=(f[q>>2]|0)+1,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);break}default:{}}p=r>>>0>1;if(((p?(t=EBb(48)|0,ew(t,r,0,1),v=a+56|0,w=f[v>>2]|0,(w|0)!=(t|0)):0)?(f[v>>2]=t,v=t+(f[(f[t>>2]|0)+-12>>2]|0)+8|0,f[v>>2]=(f[v>>2]|0)+1,w|0):0)?(x=w+(f[(f[w>>2]|0)+-12>>2]|0)|0,v=x+8|0,w=f[v>>2]|0,f[v>>2]=w-1,(w|0)==1):0)Rua(x,1,1);if(((s>>>0>1?(y=EBb(48)|0,ew(y,s,f[a+52>>2]|0,1),z=a+60|0,A=f[z>>2]|0,(A|0)!=(y|0)):0)?(f[z>>2]=y,z=y+(f[(f[y>>2]|0)+-12>>2]|0)+8|0,f[z>>2]=(f[z>>2]|0)+1,A|0):0)?(B=A+(f[(f[A>>2]|0)+-12>>2]|0)|0,z=B+8|0,A=f[z>>2]|0,f[z>>2]=A-1,(A|0)==1):0)Rua(B,1,1);c=f[O>>2]|0;d=f[I>>2]|0;if((c|0)==(d|0)){r=0;s=0;t=1}else{s=EBb(48)|0;ew(s,d-c>>2,0,1);r=s+(f[(f[s>>2]|0)+-12>>2]|0)+8|0;f[r>>2]=(f[r>>2]|0)+1;r=s;t=0}q=EBb(32)|0;fw(q);c=q+(f[(f[q>>2]|0)+-12>>2]|0)+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[O>>2]|0;if((c|0)!=(f[I>>2]|0)){k=a+64|0;l=a+56|0;m=a+48|0;n=(r|0)==0;o=a+60|0;do{d=f[c>>2]|0;if(!(_i[f[(f[d>>2]|0)+180>>2]&2047](d)|0)){if(qZa(4)|0){B=jsb(Nu(Hua(4)|0,370948,47)|0,d)|0;Drb(J,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);A=utb(J,504576)|0;A=cj[f[(f[A>>2]|0)+28>>2]&1023](A,10)|0;vtb(J);ksb(B,A)|0;Krb(B)|0}j_a(d)|0}e=f[k>>2]|0;i=(f[d+48>>2]|0)+840|0;j=f[i>>2]|0;if((j|0)!=(e|0)){f[i>>2]=e;if(e|0){B=e+8|0;f[B>>2]=(f[B>>2]|0)+1}if(j|0?(A=j+8|0,B=f[A>>2]|0,f[A>>2]=B-1,(B|0)==1):0)Rua(j,1,1)}u$a(d);if((f[C>>2]|0)==1?(D=f[l>>2]|0,D|0):0)s$a(f[d+108>>2]|0,D);d=d+108|0;A=f[d>>2]|0;B=EBb(32)|0;gw(B);s$a(A,B);if(((f[C>>2]|0)==1?(f[m>>2]|0)==0:0)?(E=f[o>>2]|0,E|0):0)s$a(f[d>>2]|0,E);if(!n)s$a(f[d>>2]|0,r);s$a(f[d>>2]|0,q);do if((f[C>>2]|0)==1){if((f[m>>2]|0)!=1)break;e=f[o>>2]|0;if(!e)break;s$a(f[d>>2]|0,e)}while(0);c=c+4|0}while((c|0)!=(f[I>>2]|0))}if(p&(f[C>>2]|0)==3?(g=f[N>>2]|0,(g|0)!=(f[H>>2]|0)):0){j=a+56|0;i=a+60|0;do{d=f[g>>2]|0;QZa(d);e=f[d+624>>2]|0;c=f[j>>2]|0;if(c|0)s$a(f[d+620>>2]|0,c);c=f[d+628>>2]|0;if(c|0?(F=WCb(c,297248,276520,0)|0,F|0):0){c=F+29|0;if(b[c>>0]|0)b[c>>0]=0;s$a(f[d+620>>2]|0,F)}c=f[i>>2]|0;if(c|0)s$a(f[e+108>>2]|0,c);g=g+4|0}while((g|0)!=(f[H>>2]|0));c=f[N>>2]|0;if((c|0)!=(g|0))do{d=(f[c>>2]|0)+620|0;e=f[d>>2]|0;if(e|0?!(h4a(e+12|0)|0):0){if(qZa(4)|0){F=Nu(Hua(4)|0,370996,30)|0;F=jsb(F,f[d>>2]|0)|0;Drb(J,F+(f[(f[F>>2]|0)+-12>>2]|0)|0);a=utb(J,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(J);ksb(F,a)|0;Krb(F)|0}k4a((f[d>>2]|0)+12|0)|0}c=c+4|0}while((c|0)!=(f[H>>2]|0))}c=f[O>>2]|0;if((c|0)!=(f[I>>2]|0))do{d=(f[c>>2]|0)+108|0;e=f[d>>2]|0;if(e|0?!(h4a(e+12|0)|0):0){if(qZa(4)|0){F=Nu(Hua(4)|0,371027,41)|0;F=jsb(F,f[d>>2]|0)|0;Drb(J,F+(f[(f[F>>2]|0)+-12>>2]|0)|0);a=utb(J,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(J);ksb(F,a)|0;Krb(F)|0}k4a((f[d>>2]|0)+12|0)|0}c=c+4|0}while((c|0)!=(f[I>>2]|0));b[K>>0]=1;if(qZa(4)|0){K=Nu(Hua(4)|0,371069,16)|0;Drb(J,K+(f[(f[K>>2]|0)+-12>>2]|0)|0);F=utb(J,504576)|0;F=cj[f[(f[F>>2]|0)+28>>2]&1023](F,10)|0;vtb(J);ksb(K,F)|0;Krb(K)|0}c=q+(f[(f[q>>2]|0)+-12>>2]|0)|0;J=c+8|0;K=f[J>>2]|0;f[J>>2]=K-1;if((K|0)==1)Rua(c,1,1);if(!t?(M=s+(f[(f[r>>2]|0)+-12>>2]|0)|0,J=M+8|0,K=f[J>>2]|0,f[J>>2]=K-1,(K|0)==1):0)Rua(M,1,1);c=f[L>>2]|0;if(c|0){f[G>>2]=c;GBb(c)}}c=f[N>>2]|0;if(c|0){f[H>>2]=c;GBb(c)}c=f[O>>2]|0;if(c|0){f[I>>2]=c;GBb(c)}u=P;return}function dv(a,c){a=a|0;c=+c;var d=0;if(b[a+5>>0]|0)return;d=a+4|0;if(b[d>>0]|0){tj[f[(f[a>>2]|0)+124>>2]&2047](a);if(!(_i[f[(f[a>>2]|0)+16>>2]&2047](a)|0))tj[f[(f[a>>2]|0)+20>>2]&2047](a);b[d>>0]=0}uj[f[(f[a>>2]|0)+68>>2]&31](a,c);tj[f[(f[a>>2]|0)+72>>2]&2047](a);tj[f[(f[a>>2]|0)+76>>2]&2047](a);tj[f[(f[a>>2]|0)+80>>2]&2047](a);return}function ev(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0.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,_=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.0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0;$a=u;u=u+448|0;Za=$a+436|0;Ya=$a+424|0;Wa=$a+16|0;Xa=$a;f[Za>>2]=0;_a=Za+4|0;f[_a>>2]=0;f[Za+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,Za,1);Ta=a+5|0;if((f[_a>>2]|0)==(f[Za>>2]|0)){b[Ta>>0]=1;if(b[a+32>>0]|0){tj[f[(f[a>>2]|0)+44>>2]&2047](a);c=4}}else c=4;if((c|0)==4?(b[Ta>>0]|0)==0:0){Va=+Wi[f[(f[a>>2]|0)+112>>2]&7](a);Ra=_i[f[(f[a>>2]|0)+116>>2]&2047](a)|0;if(!Ra)Ua=0;else Ua=f[Ra+12>>2]|0;if(_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0){Pa=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[Ya>>2]=0;f[Ya+4>>2]=0;f[Ya+8>>2]=0;d=Ya+11|0;b[d>>0]=5;b[Ya>>0]=b[369536]|0;b[Ya+1>>0]=b[369537]|0;b[Ya+2>>0]=b[369538]|0;b[Ya+3>>0]=b[369539]|0;b[Ya+4>>0]=b[369540]|0;b[Ya+5>>0]=0;e=Pa+24|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;c=Fv(Pa+68|0,Ya)|0;if((c|0)==(Pa+72|0))c=0;else c=(b[c+28>>0]|0)!=0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;if((b[d>>0]|0)<0)GBb(f[Ya>>2]|0);if(c){f[Ya>>2]=0;Pa=Ya+4|0;f[Pa>>2]=0;f[Ya+8>>2]=0;Fj[f[(f[a>>2]|0)+108>>2]&511](a,Ya,1);c=f[Ya>>2]|0;if((c|0)!=(f[Pa>>2]|0)){ja=Wa+268|0;ka=Wa+272|0;la=Xa+8|0;ma=Xa+4|0;na=Wa+196|0;oa=Xa+11|0;pa=Xa+8|0;qa=Xa+4|0;ra=Wa+100|0;sa=Xa+11|0;ta=Xa+8|0;ua=Xa+4|0;va=Wa+112|0;wa=Xa+11|0;xa=Xa+8|0;ya=Xa+4|0;za=Wa+124|0;Aa=Xa+11|0;Ba=Xa+8|0;Ca=Xa+4|0;Da=Wa+136|0;Ea=Xa+11|0;Fa=Xa+8|0;Ga=Xa+4|0;Ha=Wa+148|0;Ia=Xa+11|0;Ja=Xa+8|0;Ka=Xa+4|0;La=Wa+160|0;Ma=Xa+11|0;Na=Xa+8|0;Oa=Xa+4|0;l=Wa+172|0;m=Xa+11|0;n=Xa+8|0;o=Xa+4|0;p=Wa+248|0;q=Xa+11|0;r=Xa+8|0;s=Xa+4|0;t=Xa+11|0;v=Wa+356|0;w=Wa+360|0;x=Xa+8|0;y=Xa+4|0;z=Wa+88|0;A=Xa+11|0;B=Xa+8|0;C=Xa+4|0;D=Wa+56|0;E=Xa+11|0;F=Xa+8|0;G=Xa+4|0;H=Wa+68|0;I=Xa+11|0;J=Xa+8|0;K=Xa+4|0;L=Wa+64|0;M=Xa+11|0;N=Xa+8|0;O=Xa+4|0;P=Wa+60|0;Q=Xa+11|0;R=Xa+8|0;S=Xa+4|0;T=Wa+72|0;U=Xa+11|0;V=Xa+8|0;W=Xa+4|0;X=Wa+76|0;Y=Xa+11|0;Z=Xa+8|0;_=Xa+4|0;$=Wa+80|0;aa=Xa+11|0;ba=Xa+8|0;ca=Xa+4|0;da=Wa+336|0;ea=Xa+11|0;fa=Xa+8|0;ga=Xa+4|0;ha=Xa+11|0;ia=Wa+376|0;do{d=f[c>>2]|0;k=f[d+4>>2]|0;d=f[d+68>>2]|0;if(d|0?(Qa=f[d+12>>2]|0,(k|0)!=0&(Qa|0)!=0):0){QO(Wa);Bj[f[(f[Qa>>2]|0)+212>>2]&1023](Qa,Wa);JO(Wa);d=f[ja>>2]|0;if((d|0)==(ka|0))e=0;else{e=0;do{j=f[d+20>>2]|0;g=f[d+4>>2]|0;do if(!g){g=d+8|0;h=f[g>>2]|0;if((f[h>>2]|0)==(d|0)){d=h;break}do{h=f[g>>2]|0;g=h+8|0;d=f[g>>2]|0}while((f[d>>2]|0)!=(h|0))}else{d=g;while(1){g=f[d>>2]|0;if(!g)break;else d=g}}while(0);e=j+e|0}while((d|0)!=(ka|0))};f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[la>>2]=-2147483616;f[ma>>2]=25;g=d;h=369542;j=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+25>>0]=0;x2a(k,Ua,Xa,+((f[na>>2]|0)>>>0))|0;if((b[oa>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[pa>>2]=-2147483616;f[qa>>2]=22;g=d;h=369568;j=g+22|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+22>>0]=0;x2a(k,Ua,Xa,+((f[ra>>2]|0)>>>0))|0;if((b[sa>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[ta>>2]=-2147483616;f[ua>>2]=26;g=d;h=369591;j=g+26|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+26>>0]=0;x2a(k,Ua,Xa,+((f[va>>2]|0)>>>0))|0;if((b[wa>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[xa>>2]=-2147483616;f[ya>>2]=20;g=d;h=369618;j=g+20|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+20>>0]=0;x2a(k,Ua,Xa,+((f[za>>2]|0)>>>0))|0;if((b[Aa>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[Ba>>2]=-2147483616;f[Ca>>2]=23;g=d;h=369639;j=g+23|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+23>>0]=0;x2a(k,Ua,Xa,+((f[Da>>2]|0)>>>0))|0;if((b[Ea>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[Fa>>2]=-2147483616;f[Ga>>2]=22;g=d;h=369663;j=g+22|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+22>>0]=0;x2a(k,Ua,Xa,+((f[Ha>>2]|0)>>>0))|0;if((b[Ia>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[Ja>>2]=-2147483616;f[Ka>>2]=25;g=d;h=369686;j=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+25>>0]=0;x2a(k,Ua,Xa,+((f[La>>2]|0)>>>0))|0;if((b[Ma>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[Na>>2]=-2147483616;f[Oa>>2]=25;g=d;h=369712;j=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+25>>0]=0;x2a(k,Ua,Xa,+((f[l>>2]|0)>>>0))|0;if((b[m>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[n>>2]=-2147483616;f[o>>2]=25;g=d;h=369738;j=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+25>>0]=0;x2a(k,Ua,Xa,+((f[p>>2]|0)>>>0))|0;if((b[q>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[r>>2]=-2147483616;f[s>>2]=27;g=d;h=369764;j=g+27|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+27>>0]=0;x2a(k,Ua,Xa,+(e>>>0))|0;if((b[t>>0]|0)<0)GBb(f[Xa>>2]|0);d=f[v>>2]|0;if((d|0)==(w|0))e=0;else{e=0;do{j=f[d+20>>2]|0;g=f[d+4>>2]|0;do if(!g){g=d+8|0;h=f[g>>2]|0;if((f[h>>2]|0)==(d|0)){d=h;break}do{h=f[g>>2]|0;g=h+8|0;d=f[g>>2]|0}while((f[d>>2]|0)!=(h|0))}else{d=g;while(1){g=f[d>>2]|0;if(!g)break;else d=g}}while(0);e=j+e|0}while((d|0)!=(w|0))};f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[x>>2]=-2147483616;f[y>>2]=28;g=d;h=369792;j=g+28|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+28>>0]=0;x2a(k,Ua,Xa,+((f[z>>2]|0)>>>0))|0;if((b[A>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[B>>2]=-2147483616;f[C>>2]=25;g=d;h=369821;j=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+25>>0]=0;x2a(k,Ua,Xa,+((f[D>>2]|0)>>>0))|0;if((b[E>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[F>>2]=-2147483616;f[G>>2]=29;g=d;h=369847;j=g+29|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+29>>0]=0;x2a(k,Ua,Xa,+((f[H>>2]|0)>>>0))|0;if((b[I>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[J>>2]=-2147483616;f[K>>2]=23;g=d;h=369877;j=g+23|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+23>>0]=0;x2a(k,Ua,Xa,+((f[L>>2]|0)>>>0))|0;if((b[M>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[N>>2]=-2147483616;f[O>>2]=26;g=d;h=369901;j=g+26|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+26>>0]=0;x2a(k,Ua,Xa,+((f[P>>2]|0)>>>0))|0;if((b[Q>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[R>>2]=-2147483616;f[S>>2]=25;g=d;h=369928;j=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+25>>0]=0;x2a(k,Ua,Xa,+((f[T>>2]|0)>>>0))|0;if((b[U>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[V>>2]=-2147483616;f[W>>2]=28;g=d;h=369954;j=g+28|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+28>>0]=0;x2a(k,Ua,Xa,+((f[X>>2]|0)>>>0))|0;if((b[Y>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[Z>>2]=-2147483616;f[_>>2]=28;g=d;h=369983;j=g+28|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+28>>0]=0;x2a(k,Ua,Xa,+((f[$>>2]|0)>>>0))|0;if((b[aa>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[ba>>2]=-2147483616;f[ca>>2]=28;g=d;h=370012;j=g+28|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+28>>0]=0;x2a(k,Ua,Xa,+((f[da>>2]|0)>>>0))|0;if((b[ea>>0]|0)<0)GBb(f[Xa>>2]|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[fa>>2]=-2147483616;f[ga>>2]=30;g=d;h=370041;j=g+30|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+30>>0]=0;x2a(k,Ua,Xa,+(e>>>0))|0;if((b[ha>>0]|0)<0)GBb(f[Xa>>2]|0);Gv(Wa,317348);Gva(ia)}c=c+4|0}while((c|0)!=(f[Pa>>2]|0));c=f[Ya>>2]|0}if(c|0){f[Pa>>2]=c;GBb(c)}}}f[Ya>>2]=0;l=Ya+4|0;f[l>>2]=0;f[Ya+8>>2]=0;Fj[f[(f[a>>2]|0)+104>>2]&511](a,Ya,1);c=f[Ya>>2]|0;if((c|0)!=(f[l>>2]|0))do{e=f[c>>2]|0;if(e|0){d=f[e+16>>2]|0;if(d|0)Bj[f[(f[d>>2]|0)+44>>2]&1023](d,Ra);d=f[e+20>>2]|0;if(d|0)Bj[f[(f[d>>2]|0)+32>>2]&1023](d,Ra);d=f[e+12>>2]|0;if(d|0)Hv(d)|0}c=c+4|0}while((c|0)!=(f[l>>2]|0));f[Wa>>2]=0;k=Wa+4|0;f[k>>2]=0;f[Wa+8>>2]=0;Fj[f[(f[a>>2]|0)+84>>2]&511](a,Wa,1);j=a+64|0;d=f[j>>2]|0;if(d|0){g=d+12|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;h=d+36|0;e=d+32|0;c=f[e>>2]|0;if((f[h>>2]|0)!=(c|0)){if(!c){P3a(d+24|0)|0;c=f[e>>2]|0}f[h>>2]=c}_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0}c=f[a+56>>2]|0;if(c|0){Ra=c+20|0;Bj[f[(f[Ra>>2]|0)+12>>2]&1023](Ra,0)}c=f[Wa>>2]|0;d=f[k>>2]|0;if((c|0)!=(d|0))do{e=f[c>>2]|0;g=f[e+628>>2]|0;if((((g|0)!=0?(Sa=WCb(g,297248,276520,0)|0,(Sa|0)!=0):0)?(b[Sa+29>>0]|0)==0:0)?(f[e+620>>2]|0)==0:0){tj[f[(f[Sa>>2]|0)+20>>2]&2047](Sa);d=f[k>>2]|0}c=c+4|0}while((c|0)!=(d|0));e=f[Za>>2]|0;d=f[_a>>2]|0;a:do if((e|0)==(d|0))c=0;else{c=0;do{if(b[Ta>>0]|0){e=d;break a}d=f[e>>2]|0;if((f[d+108>>2]|0)==0?_i[f[(f[d>>2]|0)+168>>2]&2047](d)|0:0){Iv(a,f[e>>2]|0);c=f[e>>2]|0;tj[f[(f[c>>2]|0)+164>>2]&2047](c);c=1}e=e+4|0;d=f[_a>>2]|0}while((e|0)!=(d|0))}while(0);d=f[a+60>>2]|0;if(!d)d=e;else{d=d+20|0;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,0);d=f[_a>>2]|0}e=f[Za>>2]|0;b:do if((e|0)==(d|0))g=c;else while(1){if(b[Ta>>0]|0){g=c;break b}d=f[e>>2]|0;if((f[d+108>>2]|0)==0?_i[f[(f[d>>2]|0)+168>>2]&2047](d)|0:0){Iv(a,f[e>>2]|0);r$a(f[e>>2]|0);c=1}e=e+4|0;if((e|0)==(f[_a>>2]|0)){g=c;break}}while(0);c=f[Ya>>2]|0;if((c|0)!=(f[l>>2]|0))do{d=f[c>>2]|0;if(d|0){e=f[d+16>>2]|0;if(e|0)tj[f[(f[e>>2]|0)+48>>2]&2047](e);d=f[d+20>>2]|0;if(d|0)tj[f[(f[d>>2]|0)+36>>2]&2047](d)}c=c+4|0}while((c|0)!=(f[l>>2]|0));c=f[j>>2]|0;if(c|0){d=c+12|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;if(f[c+36>>2]|0)M3a(c+24|0,d)|0;_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0}if(!((b[a+13>>0]|0)==0|g^1)){e=a+92|0;c=f[e>>2]|0;do if(c|0){do if(f[c+24>>2]|0){c=a+96|0;d=f[c>>2]|0;if(!d)break;if(!(_i[f[(f[d>>2]|0)+168>>2]&2047](d)|0))break;p$a(f[c>>2]|0)|0}while(0);c=f[e>>2]|0;if(c|0){f[e>>2]=0;Sa=c+8|0;Ta=f[Sa>>2]|0;f[Sa>>2]=Ta-1;if((Ta|0)!=1)break;Rua(c,1,1)}}while(0);f[a+96>>2]=0}if(_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0){Ta=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=Xa+11|0;b[d>>0]=6;b[Xa>>0]=b[370072]|0;b[Xa+1>>0]=b[370073]|0;b[Xa+2>>0]=b[370074]|0;b[Xa+3>>0]=b[370075]|0;b[Xa+4>>0]=b[370076]|0;b[Xa+5>>0]=b[370077]|0;b[Xa+6>>0]=0;e=Ta+24|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;c=Fv(Ta+68|0,Xa)|0;if((c|0)==(Ta+72|0))c=0;else c=(b[c+28>>0]|0)!=0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;if((b[d>>0]|0)<0)GBb(f[Xa>>2]|0);if(c){i=+Wi[f[(f[a>>2]|0)+112>>2]&7](a);c=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(48)|0;f[Xa>>2]=d;f[Xa+8>>2]=-2147483600;f[Xa+4>>2]=32;g=d;h=370079;j=g+32|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+32>>0]=0;x2a(c,Ua,Xa,Va)|0;if((b[Xa+11>>0]|0)<0)GBb(f[Xa>>2]|0);c=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[Xa+8>>2]=-2147483616;f[Xa+4>>2]=30;g=d;h=370112;j=g+30|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+30>>0]=0;x2a(c,Ua,Xa,i)|0;if((b[Xa+11>>0]|0)<0)GBb(f[Xa>>2]|0);c=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;d=EBb(32)|0;f[Xa>>2]=d;f[Xa+8>>2]=-2147483616;f[Xa+4>>2]=31;g=d;h=370143;j=g+31|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+31>>0]=0;x2a(c,Ua,Xa,i-Va)|0;if((b[Xa+11>>0]|0)<0)GBb(f[Xa>>2]|0)}}b[a+33>>0]=0;c=f[Wa>>2]|0;if(c|0){f[k>>2]=c;GBb(c)}c=f[Ya>>2]|0;if(c|0){f[l>>2]=c;GBb(c)}}c=f[Za>>2]|0;if(!c){u=$a;return}f[_a>>2]=c;GBb(c);u=$a;return}function fv(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;k=u;u=u+16|0;g=k+4|0;h=k;i=b+4|0;f[i>>2]=f[b>>2];f[g>>2]=0;j=g+4|0;f[j>>2]=0;f[g+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,g,c);a=f[g>>2]|0;if((a|0)!=(f[j>>2]|0)){e=b+8|0;do{c=f[a>>2]|0;do if(c){d=WCb(c,297048,276480,0)|0;f[h>>2]=d;c=d;if(d|0){d=f[i>>2]|0;if((d|0)==(f[e>>2]|0)){Bv(b,h);break}else{f[d>>2]=c;f[i>>2]=(f[i>>2]|0)+4;break}}}else f[h>>2]=0;while(0);a=a+4|0}while((a|0)!=(f[j>>2]|0));a=f[g>>2]|0}if(!a){u=k;return}f[j>>2]=a;GBb(a);u=k;return}function gv(a,b,c){a=a|0;b=b|0;c=c|0;c=f[b>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+4>>2];f[a+20>>2]=0;f[a+24>>2]=0;f[a+16>>2]=a+20;b=a+56|0;c=b+44|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(c|0));jv(a);return}function hv(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;c=f[b>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+4>>2];b=a+92|0;c=f[b>>2]|0;if(c|0?(l=c+8|0,k=f[l>>2]|0,f[l>>2]=k-1,(k|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+88|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,k=d+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+84|0;c=f[b>>2]|0;if(c|0?(e=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,k=e+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(e,1,1);f[b>>2]=0;b=a+80|0;c=f[b>>2]|0;if(c|0?(g=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,k=g+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(g,1,1);f[b>>2]=0;b=a+76|0;c=f[b>>2]|0;if(c|0?(h=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,k=h+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(h,1,1);f[b>>2]=0;b=a+72|0;c=f[b>>2]|0;if(c|0?(k=c+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+68|0;c=f[b>>2]|0;if(c|0?(i=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,k=i+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(i,1,1);f[b>>2]=0;b=a+64|0;c=f[b>>2]|0;if(c|0?(k=c+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+60|0;c=f[b>>2]|0;if(c|0?(j=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,k=j+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(j,1,1);f[b>>2]=0;c=a+56|0;b=f[c>>2]|0;if(!b){f[c>>2]=0;k=a+16|0;l=a+20|0;l=f[l>>2]|0;iv(k,l);return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;k=b+8|0;l=f[k>>2]|0;f[k>>2]=l-1;if((l|0)!=1){f[c>>2]=0;k=a+16|0;l=a+20|0;l=f[l>>2]|0;iv(k,l);return}Rua(b,1,1);f[c>>2]=0;k=a+16|0;l=a+20|0;l=f[l>>2]|0;iv(k,l);return}function iv(a,b){a=a|0;b=b|0;if(!b)return;else{iv(a,f[b>>2]|0);iv(a,f[b+4>>2]|0);GBb(b);return}}function jv(a){a=a|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;i=l;b[a+4>>0]=1;b[a+5>>0]=0;f[a+8>>2]=65307;b[a+12>>0]=1;b[a+13>>0]=1;f[a+28>>2]=4;b[a+32>>0]=0;f[a+48>>2]=1;f[a+52>>2]=0;b[a+33>>0]=1;b[a+34>>0]=0;j=a+36|0;f[j>>2]=1;k=a+40|0;p[k>>3]=0.0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;d=sh(369357)|0;a:do if(d|0){c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(i,d,c)|0;d=i+11|0;g=b[d>>0]|0;h=i+4|0;c=f[h>>2]|0;e=g&255;do if(((g<<24>>24<0?c:e)|0)==9)if(!(nCb(i,0,-1,369378,9)|0)){f[j>>2]=0;break a}else{d=b[d>>0]|0;e=d&255;c=f[h>>2]|0;break}else d=g;while(0);if(((d<<24>>24<0?c:e)|0)==10?(nCb(i,0,-1,369388,10)|0)==0:0)f[j>>2]=1}while(0);kv(369399,k)|0;b[a+14>>0]=1;if((b[i+11>>0]|0)>=0){u=l;return}GBb(f[i>>2]|0);u=l;return}function kv(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+160|0;i=j+12|0;h=j;e=sh(a|0)|0;if(!e){i=0;u=j;return i|0}a=0;while(1){if(!(b[e+a>>0]|0)){g=6;break}a=a+1|0;if(a>>>0>=4096){g=5;break}}if((g|0)==5){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=4096;g=7}else if((g|0)==6){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;if(a>>>0<11){b[h+11>>0]=a;if(!a){a=0;d=h}else{d=h;g=9}}else g=7}if((g|0)==7){k=a+16&-16;d=EBb(k)|0;f[h>>2]=d;f[h+8>>2]=k|-2147483648;f[h+4>>2]=a;g=9}if((g|0)==9)YDb(d|0,e|0,a|0)|0;b[d+a>>0]=0;d=i+60|0;e=i+8|0;f[i>>2]=276076;f[d>>2]=276096;f[i+4>>2]=0;Brb(i+60|0,e);f[i+132>>2]=0;f[i+136>>2]=-1;f[i>>2]=304144;f[d>>2]=304164;Hrb(e);f[e>>2]=304196;g=i+40|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[i+56>>2]=8;Nr(e,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);Srb(i,c)|0;a=(f[i+(f[(f[i>>2]|0)+-12>>2]|0)+16>>2]&5|0)==0;f[i>>2]=304144;f[d>>2]=304164;f[e>>2]=304196;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);crb(i,304176);kqb(d);k=a;u=j;return k|0}function lv(a){a=a|0;var c=0,d=0.0,e=0,g=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;k=o;if(!(_i[f[(f[a>>2]|0)+16>>2]&2047](a)|0))tj[f[(f[a>>2]|0)+20>>2]&2047](a);f[k>>2]=-1;rv(369422,k)|0;n=a+5|0;if(b[n>>0]|0){u=o;return 0}l=a+40|0;m=a+36|0;while(1){if((f[k>>2]|0)!=-1?(j=(_i[f[(f[a>>2]|0)+116>>2]&2047](a)|0)+12|0,(f[j>>2]|0)>>>0>=(f[k>>2]|0)>>>0):0){c=19;break}d=+p[l>>3];d=d>0.0?1.0/d:0.0;i=e$a(d$a()|0)|0;j=H;do if(!(f[m>>2]|0)){if(_i[f[(f[a>>2]|0)+56>>2]&2047](a)|0){uj[f[(f[a>>2]|0)+64>>2]&31](a,1797693134862315708145274.0e284);h=d;break}if(d==0.0)h=.01;else h=d}else{uj[f[(f[a>>2]|0)+64>>2]&31](a,1797693134862315708145274.0e284);h=d}while(0);c=e$a(d$a()|0)|0;e=H;g=d$a()|0;if(e>>>0>j>>>0|(e|0)==(j|0)&c>>>0>i>>>0){j=NDb(c|0,e|0,i|0,j|0)|0;d=+p[g+8>>3]*(+(j>>>0)+4294967296.0*+(H>>>0))}else{j=NDb(i|0,j|0,c|0,e|0)|0;d=-(+p[g+8>>3]*(+(j>>>0)+4294967296.0*+(H>>>0)))}if(d<h)n4a(~~((h-d)*1.0e6)>>>0)|0;if(b[n>>0]|0){c=19;break}}if((c|0)==19){u=o;return 0}return 0}function mv(a){a=a|0;mi()}function nv(a){a=a|0;mi()}function ov(a){a=a|0;mi()}function pv(a){a=a|0;mi()}function qv(a,b){a=a|0;b=b|0;return 1}function rv(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+160|0;i=j+12|0;h=j;e=sh(a|0)|0;if(!e){i=0;u=j;return i|0}a=0;while(1){if(!(b[e+a>>0]|0)){g=6;break}a=a+1|0;if(a>>>0>=4096){g=5;break}}if((g|0)==5){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=4096;g=7}else if((g|0)==6){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;if(a>>>0<11){b[h+11>>0]=a;if(!a){a=0;d=h}else{d=h;g=9}}else g=7}if((g|0)==7){k=a+16&-16;d=EBb(k)|0;f[h>>2]=d;f[h+8>>2]=k|-2147483648;f[h+4>>2]=a;g=9}if((g|0)==9)YDb(d|0,e|0,a|0)|0;b[d+a>>0]=0;d=i+60|0;e=i+8|0;f[i>>2]=276076;f[d>>2]=276096;f[i+4>>2]=0;Brb(i+60|0,e);f[i+132>>2]=0;f[i+136>>2]=-1;f[i>>2]=304144;f[d>>2]=304164;Hrb(e);f[e>>2]=304196;g=i+40|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[i+56>>2]=8;Nr(e,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);Qrb(i,c)|0;a=(f[i+(f[(f[i>>2]|0)+-12>>2]|0)+16>>2]&5|0)==0;f[i>>2]=304144;f[d>>2]=304164;f[e>>2]=304196;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);crb(i,304176);kqb(d);k=a;u=j;return k|0}function sv(a,b){a=a|0;b=b|0;var c=0;c=f[b>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+4>>2];f[a+20>>2]=0;f[a+24>>2]=0;f[a+16>>2]=a+20;b=a+56|0;c=b+44|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(c|0));jv(a);return}function tv(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 uv(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 vv(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 wv(a){a=a|0;var b=0,c=0,d=0,e=0;d=u;u=u+16|0;b=d;if(qZa(4)|0){c=Nu(Hua(4)|0,369523,12)|0;Drb(b,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);e=utb(b,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(b);ksb(c,e)|0;Krb(c)|0}b=Jta(f[a+72>>2]|0)|0;if(b|0){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}f[b+48>>2]=128;c=f[a+76>>2]|0;if(c|0)Fj[f[(f[c>>2]|0)+152>>2]&511](c,b,a+36|0);a=b+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1){u=d;return}Rua(b,1,1);u=d;return}function xv(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<c>>>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 yv(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<c>>>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 zv(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<c>>>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 Av(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<c>>>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 Bv(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<c>>>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 Cv(a,b){a=a|0;b=b|0;if(!b)return;else{Cv(a,f[b>>2]|0);Cv(a,f[b+4>>2]|0);GBb(b);return}}function Dv(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<c>>>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 Ev(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<c>>>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 Fv(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<h>>>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<l>>>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<l>>>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 Gv(a,b){a=a|0;b=b|0;var c=0;c=f[b>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+12>>2];f[a+288>>2]=316712;Jv(a+356|0,f[a+360>>2]|0);Kv(a+340|0,f[a+344>>2]|0);f[a+200>>2]=316712;Jv(a+268|0,f[a+272>>2]|0);Kv(a+252|0,f[a+256>>2]|0);Lv(a+188|0,f[a+192>>2]|0);Mv(a+176|0,f[a+180>>2]|0);Mv(a+164|0,f[a+168>>2]|0);Mv(a+152|0,f[a+156>>2]|0);Nv(a+140|0,f[a+144>>2]|0);Nv(a+128|0,f[a+132>>2]|0);Nv(a+116|0,f[a+120>>2]|0);Nv(a+104|0,f[a+108>>2]|0);Nv(a+92|0,f[a+96>>2]|0);dDa(a,b+4|0);return}function Hv(a){a=a|0;var c=0,d=0.0,e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0.0,o=0.0,p=0,q=0.0,r=0.0,s=0,t=0,v=0,w=0;w=u;u=u+16|0;s=w;t=a+68|0;if(b[t>>0]|0){v=a+52|0;u=w;return v|0}c=a+32|0;v=a+52|0;f[v>>2]=f[c>>2];f[v+4>>2]=f[c+4>>2];f[v+8>>2]=f[c+8>>2];f[v+12>>2]=f[c+12>>2];c=f[a+48>>2]|0;if(!c){Bj[f[(f[a>>2]|0)+224>>2]&1023](s,a);k=+n[s+12>>2];do if(k>=0.0){l=a+64|0;d=+n[l>>2];if(!(d>=0.0)){f[v>>2]=f[s>>2];f[v+4>>2]=f[s+4>>2];f[v+8>>2]=f[s+8>>2];n[l>>2]=k;break}m=+n[v>>2];o=+n[s>>2];e=m-o;p=a+56|0;q=+n[p>>2];r=+n[s+4>>2];j=q-r;c=a+60|0;g=+n[c>>2];h=+n[s+8>>2];i=g-h;i=+K(+(e*e+j*j+i*i));j=k;e=d;if(!(j+i<=e)){d=e+i;if(!(d<=j)){k=(d+j)*.5;j=(k-e)/i;n[v>>2]=j*(o-m)+m;n[p>>2]=j*(r-q)+q;n[c>>2]=j*(h-g)+g;n[l>>2]=k;break}else{f[v>>2]=f[s>>2];f[v+4>>2]=f[s+4>>2];f[v+8>>2]=f[s+8>>2];n[l>>2]=k;break}}}while(0)}else{Fj[f[(f[c>>2]|0)+164>>2]&511](s,c,a);k=+n[s+12>>2];do if(k>=0.0){l=a+64|0;d=+n[l>>2];if(!(d>=0.0)){f[v>>2]=f[s>>2];f[v+4>>2]=f[s+4>>2];f[v+8>>2]=f[s+8>>2];n[l>>2]=k;break}m=+n[v>>2];o=+n[s>>2];e=m-o;p=a+56|0;q=+n[p>>2];r=+n[s+4>>2];j=q-r;c=a+60|0;g=+n[c>>2];h=+n[s+8>>2];i=g-h;i=+K(+(e*e+j*j+i*i));j=k;if(!(j+i<=d)){e=d+i;if(!(e<=j)){k=(e+j)*.5;j=(k-d)/i;n[v>>2]=j*(o-m)+m;n[p>>2]=j*(r-q)+q;n[c>>2]=j*(h-g)+g;n[l>>2]=k;break}else{f[v>>2]=f[s>>2];f[v+4>>2]=f[s+4>>2];f[v+8>>2]=f[s+8>>2];n[l>>2]=k;break}}}while(0)}b[t>>0]=1;u=w;return v|0}function Iv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;e=a+96|0;c=f[e>>2]|0;if((c|0)==(b|0))return;d=a+92|0;a=f[d>>2]|0;if(a|0){if(!((f[a+24>>2]|0)==0|(c|0)==0)?_i[f[(f[c>>2]|0)+168>>2]&2047](c)|0:0)p$a(f[e>>2]|0)|0;a=f[d>>2]|0;if(a|0?(f[d>>2]=0,g=a+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(a,1,1)}f[e>>2]=0;if(!b)return;if(!(_i[f[(f[b>>2]|0)+168>>2]&2047](b)|0))return;if(!(o$a(b)|0))return;a=cCa(b)|0;c=f[d>>2]|0;if((c|0)!=(a|0)){f[d>>2]=a;if(a|0){g=a+8|0;f[g>>2]=(f[g>>2]|0)+1}if(c|0?(a=c+8|0,g=f[a>>2]|0,f[a>>2]=g-1,(g|0)==1):0)Rua(c,1,1);a=f[d>>2]|0}if(!a)a=0;else a=(f[a+24>>2]|0)==0?0:b;f[e>>2]=a;return}function Jv(a,b){a=a|0;b=b|0;if(!b)return;else{Jv(a,f[b>>2]|0);Jv(a,f[b+4>>2]|0);GBb(b);return}}function Kv(a,b){a=a|0;b=b|0;if(!b)return;else{Kv(a,f[b>>2]|0);Kv(a,f[b+4>>2]|0);GBb(b);return}}function Lv(a,b){a=a|0;b=b|0;if(!b)return;else{Lv(a,f[b>>2]|0);Lv(a,f[b+4>>2]|0);GBb(b);return}}function Mv(a,b){a=a|0;b=b|0;if(!b)return;else{Mv(a,f[b>>2]|0);Mv(a,f[b+4>>2]|0);GBb(b);return}}function Nv(a,b){a=a|0;b=b|0;if(!b)return;else{Nv(a,f[b>>2]|0);Nv(a,f[b+4>>2]|0);GBb(b);return}}function Ov(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;if(!b){d=0;b=a+4|0;f[b>>2]=d;return}c=cCa(b)|0;d=f[a>>2]|0;if((d|0)!=(c|0)){f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[a>>2]|0}if(!c){b=0;e=a+4|0;f[e>>2]=b;return}b=(f[c+24>>2]|0)==0?0:b;e=a+4|0;f[e>>2]=b;return}function Pv(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;c=a+160|0;f[e>>2]=b;if(b|0){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}d=a+164|0;b=f[d>>2]|0;if(b>>>0<(f[a+168>>2]|0)>>>0){a=f[e>>2]|0;f[b>>2]=a;if(a){b=a+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[d>>2]|0}f[d>>2]=b+4}else Rv(c,e);b=f[e>>2]|0;if(!b){u=g;return}d=b+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){u=g;return}Rua(b,1,1);u=g;return}function Qv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0.0,h=0,i=0;c=u;u=u+512|0;e=c+256|0;i=c;h=c+384|0;d=c+128|0;f3a(i);h3a(i,1.0,1.0,1.0);f=+p[b+72>>3];g=+p[b+80>>3];f3a(h);g3a(h,f*.5,g*.5,.5);f3a(e);l3a(e,i,h);g=+p[b+56>>3];f=+p[b+64>>3];f3a(d);h3a(d,g,f,0.0);f3a(a);l3a(a,e,d);u=c;return}function Rv(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<e>>>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 Sv(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=305340;b=a+12|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 Tv(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=305340;b=a+12|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);GBb(a);return}function Uv(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;a:while(1){q=b;e=b+-4|0;r=b+-8|0;s=b;b:while(1){d=q-a|0;g=d>>2;switch(g|0){case 2:{d=4;break a}case 3:{d=8;break a}case 4:{d=26;break a}case 5:{d=27;break a}case 1:case 0:{d=112;break a}default:{}}if((d|0)<124){d=29;break a}n=a+(((g|0)/2|0)<<2)|0;do if((d|0)>3996){d=(g|0)/4|0;d=Xv(a,a+(d<<2)|0,n,n+(d<<2)|0,e,c)|0}else{h=f[n>>2]|0;p=f[a>>2]|0;i=f[h+560>>2]|0;m=f[p+560>>2]|0;k=h;o=p;if((i|0)>=(m|0))if((m|0)<(i|0))j=0;else j=(f[h+564>>2]|0)<(f[p+564>>2]|0);else j=1;d=f[e>>2]|0;g=f[d+560>>2]|0;l=d;if((g|0)>=(i|0))if((i|0)<(g|0))d=0;else d=(f[d+564>>2]|0)<(f[h+564>>2]|0);else d=1;if(!j){if(!d){d=0;break}f[n>>2]=l;f[e>>2]=k;d=f[n>>2]|0;g=f[a>>2]|0;h=f[d+560>>2]|0;i=f[g+560>>2]|0;j=g;k=d;if((h|0)>=(i|0)){if((i|0)<(h|0)){d=1;break}if((f[d+564>>2]|0)>=(f[g+564>>2]|0)){d=1;break}}f[a>>2]=k;f[n>>2]=j;d=2;break}if(d){f[a>>2]=l;f[e>>2]=o;d=1;break}f[a>>2]=k;f[n>>2]=o;d=f[e>>2]|0;g=f[d+560>>2]|0;h=d;if((g|0)>=(m|0)){if((m|0)<(g|0)){d=1;break}if((f[d+564>>2]|0)>=(f[p+564>>2]|0)){d=1;break}}f[n>>2]=h;f[e>>2]=o;d=2}while(0);m=f[a>>2]|0;g=f[n>>2]|0;o=f[m+560>>2]|0;k=f[g+560>>2]|0;l=m;do if((o|0)<(k|0))g=e;else{if((k|0)>=(o|0)?(f[m+564>>2]|0)<(f[g+564>>2]|0):0){g=e;break}if((a|0)==(r|0)){d=55;break b}j=g+564|0;g=r;while(1){h=f[g>>2]|0;i=f[h+560>>2]|0;if((i|0)<(k|0))break;if((k|0)>=(i|0)?(f[h+564>>2]|0)<(f[j>>2]|0):0)break;g=g+-4|0;if((a|0)==(g|0)){d=55;break b}}f[a>>2]=h;f[g>>2]=l;d=d+1|0}while(0);h=a+4|0;c:do if(h>>>0<g>>>0)while(1){m=f[n>>2]|0;l=f[m+560>>2]|0;m=m+564|0;while(1){i=f[h>>2]|0;j=f[i+560>>2]|0;if((j|0)>=(l|0)){if((l|0)<(j|0))break;if((f[i+564>>2]|0)>=(f[m>>2]|0))break}h=h+4|0}g=g+-4|0;k=f[g>>2]|0;j=f[k+560>>2]|0;d:do if((j|0)>=(l|0))do{if((l|0)>=(j|0)?(f[k+564>>2]|0)<(f[m>>2]|0):0)break d;g=g+-4|0;k=f[g>>2]|0;j=f[k+560>>2]|0}while((j|0)>=(l|0));while(0);if(h>>>0>g>>>0)break c;f[h>>2]=f[g>>2];f[g>>2]=i;n=(n|0)==(h|0)?g:n;h=h+4|0;d=d+1|0}while(0);do if((h|0)!=(n|0)){g=f[n>>2]|0;i=f[h>>2]|0;j=f[g+560>>2]|0;k=f[i+560>>2]|0;l=i;m=g;if((j|0)>=(k|0)){if((k|0)<(j|0))break;if((f[g+564>>2]|0)>=(f[i+564>>2]|0))break}f[h>>2]=m;f[n>>2]=l;d=d+1|0}while(0);if(!d){g=Zv(a,h,c)|0;d=h+4|0;if(Zv(d,b,c)|0){d=105;break}if(g){e=2;a=d;d=110;break}}p=h;if((p-a|0)>=(s-p|0)){d=109;break}Uv(a,h,c);a=h+4|0}e:do if((d|0)==55){d=a+4|0;g=f[e>>2]|0;h=f[g+560>>2]|0;j=g;do if((o|0)>=(h|0)){if((h|0)>=(o|0)?(f[m+564>>2]|0)<(f[g+564>>2]|0):0)break;if((d|0)==(e|0)){d=112;break a}i=m+564|0;while(1){g=f[d>>2]|0;h=f[g+560>>2]|0;if((o|0)<(h|0))break;if((h|0)>=(o|0)?(f[i>>2]|0)<(f[g+564>>2]|0):0)break;d=d+4|0;if((d|0)==(e|0)){d=112;break a}}f[d>>2]=j;f[e>>2]=g;d=d+4|0}while(0);if((d|0)==(e|0)){d=112;break a}while(1){j=f[a>>2]|0;h=f[d>>2]|0;k=f[j+560>>2]|0;g=f[h+560>>2]|0;f:do if((k|0)>=(g|0)){i=j+564|0;do{if((g|0)>=(k|0)?(f[i>>2]|0)<(f[h+564>>2]|0):0)break f;d=d+4|0;h=f[d>>2]|0;g=f[h+560>>2]|0}while((k|0)>=(g|0))}while(0);i=j+564|0;while(1){e=e+-4|0;g=f[e>>2]|0;h=f[g+560>>2]|0;if((k|0)>=(h|0)){if((h|0)<(k|0))break;if((f[i>>2]|0)>=(f[g+564>>2]|0))break}}if(d>>>0>=e>>>0){e=4;a=d;d=110;break e}s=f[d>>2]|0;f[d>>2]=g;f[e>>2]=s;d=d+4|0}}else if((d|0)==105){e=g?1:2;b=g?b:h;d=110}else if((d|0)==109){d=0;Uv(h+4|0,b,c);b=h}while(0);if((d|0)==110)switch(e&7){case 2:case 4:case 0:break;default:{d=112;break a}}}if((d|0)==4){b=b+-4|0;d=f[b>>2]|0;e=f[a>>2]|0;g=f[d+560>>2]|0;h=f[e+560>>2]|0;i=e;j=d;if((g|0)>=(h|0)){if((h|0)<(g|0))return;if((f[d+564>>2]|0)>=(f[e+564>>2]|0))return}f[a>>2]=j;f[b>>2]=i;return}else if((d|0)==8){o=a+4|0;k=b+-4|0;b=f[o>>2]|0;l=f[a>>2]|0;d=f[b+560>>2]|0;m=f[l+560>>2]|0;i=b;n=l;if((d|0)>=(m|0))if((m|0)<(d|0))h=0;else h=(f[b+564>>2]|0)<(f[l+564>>2]|0);else h=1;e=f[k>>2]|0;g=f[e+560>>2]|0;j=e;if((g|0)>=(d|0))if((d|0)<(g|0))b=0;else b=(f[e+564>>2]|0)<(f[b+564>>2]|0);else b=1;if(!h){if(!b)return;f[o>>2]=j;f[k>>2]=i;b=f[o>>2]|0;d=f[a>>2]|0;e=f[b+560>>2]|0;g=f[d+560>>2]|0;h=d;i=b;if((e|0)>=(g|0)){if((g|0)<(e|0))return;if((f[b+564>>2]|0)>=(f[d+564>>2]|0))return}f[a>>2]=i;f[o>>2]=h;return}if(b){f[a>>2]=j;f[k>>2]=n;return}f[a>>2]=i;f[o>>2]=n;a=f[k>>2]|0;b=f[a+560>>2]|0;d=a;if((b|0)>=(m|0)){if((m|0)<(b|0))return;if((f[a+564>>2]|0)>=(f[l+564>>2]|0))return}f[o>>2]=d;f[k>>2]=n;return}else if((d|0)==26){Wv(a,a+4|0,a+8|0,b+-4|0,c)|0;return}else if((d|0)==27){Xv(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;return}else if((d|0)==29){Yv(a,b,c);return}else if((d|0)==112)return}function Vv(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<c>>>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 Wv(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=f[b>>2]|0;o=f[a>>2]|0;q=r+560|0;h=f[q>>2]|0;n=o+560|0;m=f[n>>2]|0;j=r;p=o;if((h|0)>=(m|0))if((m|0)<(h|0))i=0;else i=(f[r+564>>2]|0)<(f[o+564>>2]|0);else i=1;k=f[c>>2]|0;g=k+560|0;e=f[g>>2]|0;l=k;if((e|0)>=(h|0))if((h|0)<(e|0))e=0;else e=(f[k+564>>2]|0)<(f[r+564>>2]|0);else e=1;do if(!i)if(e){f[b>>2]=l;f[c>>2]=j;e=f[b>>2]|0;g=f[a>>2]|0;h=f[e+560>>2]|0;i=f[g+560>>2]|0;k=g;l=e;if((h|0)>=(i|0)){if((i|0)<(h|0)){m=1;g=q;k=r;break}if((f[e+564>>2]|0)>=(f[g+564>>2]|0)){m=1;g=q;k=r;break}}f[a>>2]=l;f[b>>2]=k;j=f[c>>2]|0;m=2;g=j+560|0;k=j}else{m=0;j=l}else{if(e){f[a>>2]=l;f[c>>2]=p;m=1;g=n;k=o;j=p;break}f[a>>2]=j;f[b>>2]=p;h=f[c>>2]|0;g=h+560|0;e=f[g>>2]|0;j=h;if((e|0)>=(m|0)){if((m|0)<(e|0)){m=1;k=h;break}if((f[h+564>>2]|0)>=(f[o+564>>2]|0)){m=1;k=h;break}}f[b>>2]=j;f[c>>2]=p;m=2;g=n;k=o;j=p}while(0);h=f[d>>2]|0;i=f[h+560>>2]|0;e=f[g>>2]|0;g=h;if((i|0)>=(e|0)){if((e|0)<(i|0)){b=m;return b|0}if((f[h+564>>2]|0)>=(f[k+564>>2]|0)){b=m;return b|0}}f[c>>2]=g;f[d>>2]=j;e=m+1|0;g=f[c>>2]|0;h=f[b>>2]|0;i=f[g+560>>2]|0;j=f[h+560>>2]|0;k=h;l=g;if((i|0)>=(j|0)){if((j|0)<(i|0)){b=e;return b|0}if((f[g+564>>2]|0)>=(f[h+564>>2]|0)){b=e;return b|0}}f[b>>2]=l;f[c>>2]=k;e=m+2|0;g=f[b>>2]|0;h=f[a>>2]|0;i=f[g+560>>2]|0;j=f[h+560>>2]|0;k=h;l=g;if((i|0)>=(j|0)){if((j|0)<(i|0)){b=e;return b|0}if((f[g+564>>2]|0)>=(f[h+564>>2]|0)){b=e;return b|0}}f[a>>2]=l;f[b>>2]=k;b=m+3|0;return b|0}function Xv(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,j=0,k=0,l=0,m=0;m=Wv(a,b,c,d,g)|0;k=f[e>>2]|0;l=f[d>>2]|0;g=f[k+560>>2]|0;h=f[l+560>>2]|0;i=l;j=k;if((g|0)>=(h|0)){if((h|0)<(g|0)){b=m;return b|0}if((f[k+564>>2]|0)>=(f[l+564>>2]|0)){b=m;return b|0}}f[d>>2]=j;f[e>>2]=i;g=m+1|0;h=f[d>>2]|0;i=f[c>>2]|0;j=f[h+560>>2]|0;k=f[i+560>>2]|0;l=i;e=h;if((j|0)>=(k|0)){if((k|0)<(j|0)){b=g;return b|0}if((f[h+564>>2]|0)>=(f[i+564>>2]|0)){b=g;return b|0}}f[c>>2]=e;f[d>>2]=l;g=m+2|0;h=f[c>>2]|0;i=f[b>>2]|0;j=f[h+560>>2]|0;k=f[i+560>>2]|0;l=i;e=h;if((j|0)>=(k|0)){if((k|0)<(j|0)){b=g;return b|0}if((f[h+564>>2]|0)>=(f[i+564>>2]|0)){b=g;return b|0}}f[b>>2]=e;f[c>>2]=l;g=m+3|0;h=f[b>>2]|0;i=f[a>>2]|0;j=f[h+560>>2]|0;k=f[i+560>>2]|0;l=i;e=h;if((j|0)>=(k|0)){if((k|0)<(j|0)){b=g;return b|0}if((f[h+564>>2]|0)>=(f[i+564>>2]|0)){b=g;return b|0}}f[a>>2]=e;f[b>>2]=l;b=m+4|0;return b|0}function Yv(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;c=a+8|0;m=a+4|0;n=f[m>>2]|0;o=f[a>>2]|0;d=f[n+560>>2]|0;h=f[o+560>>2]|0;i=n;j=o;if((d|0)>=(h|0))if((h|0)<(d|0))g=0;else g=(f[n+564>>2]|0)<(f[o+564>>2]|0);else g=1;e=f[c>>2]|0;k=f[e+560>>2]|0;l=e;if((k|0)>=(d|0))if((d|0)<(k|0))d=0;else d=(f[e+564>>2]|0)<(f[n+564>>2]|0);else d=1;do if(!g)if(d){f[m>>2]=l;f[c>>2]=i;if((k|0)>=(h|0)){if((h|0)<(k|0)){e=n;break}if((f[e+564>>2]|0)>=(f[o+564>>2]|0)){e=n;break}}f[a>>2]=l;f[m>>2]=j;e=n}else i=l;else{if(d){f[a>>2]=l;f[c>>2]=j;i=j;e=o;break}f[a>>2]=i;f[m>>2]=j;if((k|0)>=(h|0)){if((h|0)<(k|0)){i=l;break}if((f[e+564>>2]|0)>=(f[o+564>>2]|0)){i=l;break}}f[m>>2]=l;f[c>>2]=j;i=j;e=o}while(0);d=a+12|0;if((d|0)==(b|0))return;while(1){g=f[d>>2]|0;k=f[g+560>>2]|0;h=f[e+560>>2]|0;l=g;if((k|0)>=(h|0)){if((h|0)>=(k|0)?(p=g+564|0,(f[p>>2]|0)<(f[e+564>>2]|0)):0){j=p;q=26}}else{j=g+564|0;q=26}if((q|0)==26){q=0;f[d>>2]=i;a:do if((c|0)!=(a|0)){e=c;while(1){i=e+-4|0;e=f[i>>2]|0;g=f[e+560>>2]|0;h=e;if((k|0)>=(g|0)){if((g|0)<(k|0))break a;if((f[j>>2]|0)>=(f[e+564>>2]|0))break a}f[c>>2]=h;if((i|0)==(a|0)){c=a;break}else{e=i;c=i}}}while(0);f[c>>2]=l}c=d+4|0;if((c|0)==(b|0))break;i=f[d>>2]|0;o=d;d=c;e=i;c=o}return}function Zv(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;switch(b-a>>2|0){case 2:{h=b+-4|0;i=f[h>>2]|0;j=f[a>>2]|0;c=f[i+560>>2]|0;d=f[j+560>>2]|0;e=j;g=i;if((c|0)>=(d|0)){if((d|0)<(c|0)){a=1;return a|0}if((f[i+564>>2]|0)>=(f[j+564>>2]|0)){a=1;return a|0}}f[a>>2]=g;f[h>>2]=e;a=1;return a|0}case 3:{o=a+4|0;k=b+-4|0;c=f[o>>2]|0;l=f[a>>2]|0;d=f[c+560>>2]|0;m=f[l+560>>2]|0;i=c;n=l;if((d|0)>=(m|0))if((m|0)<(d|0))h=0;else h=(f[c+564>>2]|0)<(f[l+564>>2]|0);else h=1;e=f[k>>2]|0;g=f[e+560>>2]|0;j=e;if((g|0)>=(d|0))if((d|0)<(g|0))c=0;else c=(f[e+564>>2]|0)<(f[c+564>>2]|0);else c=1;if(!h){if(!c){a=1;return a|0}f[o>>2]=j;f[k>>2]=i;c=f[o>>2]|0;d=f[a>>2]|0;e=f[c+560>>2]|0;g=f[d+560>>2]|0;h=d;i=c;if((e|0)>=(g|0)){if((g|0)<(e|0)){a=1;return a|0}if((f[c+564>>2]|0)>=(f[d+564>>2]|0)){a=1;return a|0}}f[a>>2]=i;f[o>>2]=h;a=1;return a|0}if(c){f[a>>2]=j;f[k>>2]=n;a=1;return a|0}f[a>>2]=i;f[o>>2]=n;c=f[k>>2]|0;d=f[c+560>>2]|0;e=c;if((d|0)>=(m|0)){if((m|0)<(d|0)){a=1;return a|0}if((f[c+564>>2]|0)>=(f[l+564>>2]|0)){a=1;return a|0}}f[o>>2]=e;f[k>>2]=n;a=1;return a|0}case 4:{Wv(a,a+4|0,a+8|0,b+-4|0,c)|0;a=1;return a|0}case 5:{Xv(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;a=1;return a|0}case 1:case 0:{a=1;return a|0}default:{d=a+8|0;j=a+4|0;k=f[j>>2]|0;l=f[a>>2]|0;c=f[k+560>>2]|0;m=f[l+560>>2]|0;n=k;o=l;if((c|0)>=(m|0))if((m|0)<(c|0))g=0;else g=(f[k+564>>2]|0)<(f[l+564>>2]|0);else g=1;e=f[d>>2]|0;h=f[e+560>>2]|0;i=e;if((h|0)>=(c|0))if((c|0)<(h|0))c=0;else c=(f[e+564>>2]|0)<(f[k+564>>2]|0);else c=1;do if(!g){if(c){f[j>>2]=i;f[d>>2]=n;if((h|0)>=(m|0)){if((m|0)<(h|0)){e=k;break}if((f[e+564>>2]|0)>=(f[l+564>>2]|0)){e=k;break}}f[a>>2]=i;f[j>>2]=o;e=k}}else{if(c){f[a>>2]=i;f[d>>2]=o;e=l;break}f[a>>2]=n;f[j>>2]=o;if((h|0)>=(m|0)){if((m|0)<(h|0))break;if((f[e+564>>2]|0)>=(f[l+564>>2]|0))break}f[j>>2]=i;f[d>>2]=o;e=l}while(0);c=a+12|0;if((c|0)==(b|0)){a=1;return a|0}m=c;c=0;while(1){g=f[m>>2]|0;k=f[g+560>>2]|0;h=f[e+560>>2]|0;l=g;if((k|0)>=(h|0)){if((h|0)>=(k|0)?(p=g+564|0,(f[p>>2]|0)<(f[e+564>>2]|0)):0){j=p;q=50}}else{j=g+564|0;q=50}if((q|0)==50){q=0;f[m>>2]=f[d>>2];a:do if((d|0)!=(a|0)){e=d;while(1){i=e+-4|0;e=f[i>>2]|0;g=f[e+560>>2]|0;h=e;if((k|0)>=(g|0)){if((g|0)<(k|0))break a;if((f[j>>2]|0)>=(f[e+564>>2]|0))break a}f[d>>2]=h;if((i|0)==(a|0)){d=a;break}else{e=i;d=i}}}while(0);f[d>>2]=l;c=c+1|0;if((c|0)==8)break}d=m+4|0;if((d|0)==(b|0)){c=1;q=60;break}e=f[m>>2]|0;o=m;m=d;d=o}if((q|0)==60)return c|0;a=(m+4|0)==(b|0);return a|0}}return 0}function _v(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=a+76|0;e=f[h>>2]|0;if((e|0)!=(b|0)){f[h>>2]=b;if(b|0){b=b+(f[(f[b>>2]|0)+-16>>2]|0)+8|0;f[b>>2]=(f[b>>2]|0)+1}if(e|0?(d=e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b=d+8|0,e=f[b>>2]|0,f[b>>2]=e-1,(e|0)==1):0)Rua(d,1,1);b=f[h>>2]|0}if(!b)return;d=f[(f[b>>2]|0)+80>>2]|0;e=EBb(20)|0;rZa(e);f[e>>2]=305360;$v(e+12|0,a);Bj[d&1023](b,e);b=f[a+68>>2]|0;if(b|0?(g=f[b+12>>2]|0,g|0):0){e=f[h>>2]|0;Bj[f[(f[e>>2]|0)+112>>2]&1023](e,g)}if(!c)return;b=Jta(f[a+72>>2]|0)|0;if(!b){h=f[h>>2]|0;Fj[f[(f[h>>2]|0)+144>>2]&511](h,b,a+36|0);return}g=b+8|0;f[g>>2]=(f[g>>2]|0)+1;h=f[h>>2]|0;Fj[f[(f[h>>2]|0)+144>>2]&511](h,b,a+36|0);a=b+8|0;h=f[a>>2]|0;f[a>>2]=h-1;if((h|0)!=1)return;Rua(b,1,1);return}function $v(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;if(!b){d=0;b=a+4|0;f[b>>2]=d;return}c=cCa(b+(f[(f[b>>2]|0)+-12>>2]|0)|0)|0;d=f[a>>2]|0;if((d|0)!=(c|0)){f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[a>>2]|0}if(!c){b=0;e=a+4|0;f[e>>2]=b;return}b=(f[c+24>>2]|0)==0?0:b;e=a+4|0;f[e>>2]=b;return}function aw(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=305360;b=a+12|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 bw(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=305360;b=a+12|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);GBb(a);return}function cw(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.0,n=0.0,o=0.0,q=0.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,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.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0;F=u;u=u+432|0;B=F+280|0;D=F+408|0;e=F+152|0;E=F+128|0;g=F;if(qZa(5)|0){C=Nu(Hua(5)|0,370492,19)|0;l=Nu(isb(C,+p[c>>3])|0,432341,1)|0;l=Nu(isb(l,+p[c+8>>3])|0,432341,1)|0;isb(l,+p[c+16>>3])|0;C=Nu(C,409404,1)|0;Drb(B,C+(f[(f[C>>2]|0)+-12>>2]|0)|0);l=utb(B,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(B);ksb(C,l)|0;Krb(C)|0}l=f[b+16>>2]|0;f[D>>2]=0;C=D+4|0;f[C>>2]=0;f[D+8>>2]=0;F0a(l+92|0,D)|0;do if((f[D>>2]|0)!=(f[C>>2]|0)){f3a(a);b=f[(f[C>>2]|0)+-4>>2]|0;if(b|0?(d=WCb(b,295136,276600,0)|0,d|0):0){L2a(B,D,1);w=+p[c>>3];x=+p[c+8>>3];y=+p[c+16>>3];v=1.0/(+p[B+120>>3]+(+p[B+24>>3]*w+ +p[B+56>>3]*x+ +p[B+88>>3]*y));z=v*(+p[B+104>>3]+(w*+p[B+8>>3]+x*+p[B+40>>3]+y*+p[B+72>>3]));A=v*(+p[B+112>>3]+(w*+p[B+16>>3]+x*+p[B+48>>3]+y*+p[B+80>>3]));p[E>>3]=v*(+p[B+96>>3]+(w*+p[B>>3]+x*+p[B+32>>3]+y*+p[B+64>>3]));p[E+8>>3]=z;p[E+16>>3]=A;l_a(e,d,E);z_a(g,D,1);f3a(B);l3a(B,e,g);if((B|0)==(a|0)){P=a+32|0;O=a+64|0;M=a+8|0;N=a+40|0;L=a+72|0;I=a+16|0;J=a+48|0;H=a+80|0;G=a+24|0;b=a;c=P;d=O;e=M;g=N;h=L;i=I;j=J;k=H;l=G;m=+p[a+96>>3];n=+p[a+104>>3];o=+p[a+112>>3];q=+p[P>>3];r=+p[a>>3];s=+p[O>>3];t=+p[N>>3];v=+p[M>>3];w=+p[L>>3];x=+p[J>>3];y=+p[I>>3];z=+p[H>>3];A=+p[G>>3]}else{r=+p[B>>3];p[a>>3]=r;v=+p[B+8>>3];e=a+8|0;p[e>>3]=v;y=+p[B+16>>3];i=a+16|0;p[i>>3]=y;A=+p[B+24>>3];l=a+24|0;p[l>>3]=A;q=+p[B+32>>3];p[a+32>>3]=q;t=+p[B+40>>3];p[a+40>>3]=t;x=+p[B+48>>3];p[a+48>>3]=x;p[a+56>>3]=+p[B+56>>3];s=+p[B+64>>3];p[a+64>>3]=s;w=+p[B+72>>3];p[a+72>>3]=w;z=+p[B+80>>3];p[a+80>>3]=z;p[a+88>>3]=+p[B+88>>3];m=+p[B+96>>3];p[a+96>>3]=m;n=+p[B+104>>3];p[a+104>>3]=n;o=+p[B+112>>3];p[a+112>>3]=o;p[a+120>>3]=+p[B+120>>3];b=a;c=a+32|0;d=a+64|0;g=a+40|0;h=a+72|0;j=a+48|0;k=a+80|0}p[E>>3]=m;p[E+8>>3]=n;p[E+16>>3]=o;R=q*0.0;T=s*0.0;V=r+R+T;Q=t*0.0;S=w*0.0;U=v+Q+S;o=x*0.0;n=z*0.0;m=y+o+n;Y=r*0.0;T=Y+q+T;X=v*0.0;S=X+t+S;W=y*0.0;n=W+x+n;R=s+(Y+R);Q=w+(X+Q);o=z+(W+o);m=1.0/+K(+(V*V+U*U+m*m));n=1.0/+K(+(T*T+S*S+n*n));o=1.0/+K(+(R*R+Q*Q+o*o));p[b>>3]=r*m;p[e>>3]=v*m;p[i>>3]=y*m;p[l>>3]=A*m;p[c>>3]=q*n;p[g>>3]=t*n;p[j>>3]=x*n;P=a+56|0;p[P>>3]=n*+p[P>>3];p[d>>3]=s*o;p[h>>3]=w*o;p[k>>3]=z*o;P=a+88|0;p[P>>3]=o*+p[P>>3];e3a(a,E);if(qZa(5)|0){P=dw(Nu(Hua(5)|0,370512,77)|0,a)|0;Drb(B,P+(f[(f[P>>2]|0)+-12>>2]|0)|0);O=utb(B,504576)|0;O=cj[f[(f[O>>2]|0)+28>>2]&1023](O,10)|0;vtb(B);ksb(P,O)|0;Krb(P)|0}break}if(qZa(5)|0){P=Nu(Hua(5)|0,370590,33)|0;Drb(B,P+(f[(f[P>>2]|0)+-12>>2]|0)|0);O=utb(B,504576)|0;O=cj[f[(f[O>>2]|0)+28>>2]&1023](O,10)|0;vtb(B);ksb(P,O)|0;Krb(P)|0}z_a(B,D,1);if((B|0)!=(a|0)){p[a>>3]=+p[B>>3];p[a+8>>3]=+p[B+8>>3];p[a+16>>3]=+p[B+16>>3];p[a+24>>3]=+p[B+24>>3];p[a+32>>3]=+p[B+32>>3];p[a+40>>3]=+p[B+40>>3];p[a+48>>3]=+p[B+48>>3];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];p[a+88>>3]=+p[B+88>>3];p[a+96>>3]=+p[B+96>>3];p[a+104>>3]=+p[B+104>>3];p[a+112>>3]=+p[B+112>>3];p[a+120>>3]=+p[B+120>>3]}}else{if(qZa(5)|0){P=Nu(Hua(5)|0,370624,56)|0;Drb(B,P+(f[(f[P>>2]|0)+-12>>2]|0)|0);O=utb(B,504576)|0;O=cj[f[(f[O>>2]|0)+28>>2]&1023](O,10)|0;vtb(B);ksb(P,O)|0;Krb(P)|0}W=+p[c>>3];X=+p[c+8>>3];Y=+p[c+16>>3];f3a(a);h3a(a,W,X,Y)}while(0);b=f[D>>2]|0;if(!b){u=F;return}f[C>>2]=b;GBb(b);u=F;return}function dw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=u;u=u+16|0;e=c;d=Nu(a,402865,1)|0;Drb(e,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);g=utb(e,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(e);ksb(d,g)|0;Krb(d)|0;Nu(a,370681,1)|0;Nu(isb(a,+p[b>>3])|0,432341,1)|0;Nu(isb(a,+p[b+8>>3])|0,432341,1)|0;Nu(isb(a,+p[b+16>>3])|0,432341,1)|0;Nu(isb(a,+p[b+24>>3])|0,432341,1)|0;Drb(e,a+(f[(f[a>>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(a,d)|0;Krb(a)|0;Nu(a,370681,1)|0;Nu(isb(a,+p[b+32>>3])|0,432341,1)|0;Nu(isb(a,+p[b+40>>3])|0,432341,1)|0;Nu(isb(a,+p[b+48>>3])|0,432341,1)|0;Nu(isb(a,+p[b+56>>3])|0,432341,1)|0;Drb(e,a+(f[(f[a>>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(a,d)|0;Krb(a)|0;Nu(a,370681,1)|0;Nu(isb(a,+p[b+64>>3])|0,432341,1)|0;Nu(isb(a,+p[b+72>>3])|0,432341,1)|0;Nu(isb(a,+p[b+80>>3])|0,432341,1)|0;Nu(isb(a,+p[b+88>>3])|0,432341,1)|0;Drb(e,a+(f[(f[a>>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(a,d)|0;Krb(a)|0;Nu(a,370681,1)|0;Nu(isb(a,+p[b+96>>3])|0,432341,1)|0;Nu(isb(a,+p[b+104>>3])|0,432341,1)|0;Nu(isb(a,+p[b+112>>3])|0,432341,1)|0;Nu(isb(a,+p[b+120>>3])|0,432341,1)|0;Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);b=utb(e,504576)|0;b=cj[f[(f[b>>2]|0)+28>>2]&1023](b,10)|0;vtb(e);ksb(a,b)|0;Krb(a)|0;b=Nu(a,402867,1)|0;Drb(e,b+(f[(f[b>>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(b,d)|0;Krb(b)|0;u=c;return a|0}function ew(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;i=u;u=u+16|0;g=i;h=a+36|0;v_a(h,1);f[g+8>>2]=0;j=g+11|0;b[j>>0]=7;b[g>>0]=b[371111]|0;b[g+1>>0]=b[371112]|0;b[g+2>>0]=b[371113]|0;b[g+3>>0]=b[371114]|0;b[g+4>>0]=b[371115]|0;b[g+5>>0]=b[371116]|0;b[g+6>>0]=b[371117]|0;b[g+7>>0]=0;k=f[88731]|0;f[a>>2]=k;f[a+(f[k+-12>>2]|0)>>2]=f[88732];OBb(a+4|0,g);b[a+16>>0]=e&1;if((b[j>>0]|0)>=0){k=a+20|0;p4a(k,c);f[a>>2]=354844;f[h>>2]=354908;f[k>>2]=354868;k=a+32|0;f[k>>2]=d;u=i;return}GBb(f[g>>2]|0);k=a+20|0;p4a(k,c);f[a>>2]=354844;f[h>>2]=354908;f[k>>2]=354868;k=a+32|0;f[k>>2]=d;u=i;return}function fw(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;d=a+20|0;v_a(d,1);f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=EBb(16)|0;f[c>>2]=e;f[c+8>>2]=-2147483632;f[c+4>>2]=11;g=e;i=371099;j=g+11|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+11>>0]=0;j=f[88704]|0;f[a>>2]=j;f[a+(f[j+-12>>2]|0)>>2]=f[88705];OBb(a+4|0,c);b[a+16>>0]=1;j=f[88703]|0;f[a>>2]=j;f[a+(f[j+-12>>2]|0)>>2]=f[88706];if((b[c+11>>0]|0)>=0){f[a>>2]=354760;f[d>>2]=354796;u=h;return}GBb(f[c>>2]|0);f[a>>2]=354760;f[d>>2]=354796;u=h;return}function gw(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;d=a+20|0;rZa(d);f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;e=EBb(16)|0;f[c>>2]=e;f[c+8>>2]=-2147483632;f[c+4>>2]=12;g=e;i=371086;j=g+12|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+12>>0]=0;j=f[88751]|0;f[a>>2]=j;f[a+(f[j+-12>>2]|0)>>2]=f[88752];OBb(a+4|0,c);b[a+16>>0]=1;j=f[88750]|0;f[a>>2]=j;f[a+(f[j+-12>>2]|0)>>2]=f[88753];if((b[c+11>>0]|0)>=0){f[a>>2]=354948;f[d>>2]=354984;u=h;return}GBb(f[c>>2]|0);f[a>>2]=354948;f[d>>2]=354984;u=h;return}function hw(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;o=a+8|0;a:do if(f[o>>2]|0?(m=f[a>>2]|0,n=a+4|0,f[a>>2]=n,f[(f[n>>2]|0)+8>>2]=0,f[n>>2]=0,f[o>>2]=0,d=f[m+4>>2]|0,d=(d|0)==0?m:d,d|0):0){m=a+4|0;e=f[b>>2]|0;while(1){if((e|0)==(f[c>>2]|0))break;j=f[e+16>>2]|0;f[d+16>>2]=j;l=d+8|0;h=f[l>>2]|0;do if(h){g=f[h>>2]|0;if((g|0)==(d|0)){f[h>>2]=0;g=f[h+4>>2]|0;if(!g)break;while(1){h=f[g>>2]|0;if(!h){h=f[g+4>>2]|0;if(!h)break;else g=h}else g=h}h=g;break}else{f[h+4>>2]=0;if(!g)break;while(1){h=f[g>>2]|0;if(!h){h=f[g+4>>2]|0;if(!h)break;else g=h}else g=h}h=g;break}}else h=0;while(0);g=f[n>>2]|0;do if(g){while(1)if(j>>>0<(f[g+16>>2]|0)>>>0){i=f[g>>2]|0;if(!i){k=23;break}else g=i}else{i=f[g+4>>2]|0;if(!i){k=25;break}else g=i}if((k|0)==23){i=g;j=g;break}else if((k|0)==25){i=g;j=g+4|0;break}}else{i=n;j=n}while(0);f[d>>2]=0;f[d+4>>2]=0;f[l>>2]=i;f[j>>2]=d;g=f[f[a>>2]>>2]|0;if(g){f[a>>2]=g;d=f[j>>2]|0}Xo(f[m>>2]|0,d);f[o>>2]=(f[o>>2]|0)+1;d=f[e+4>>2]|0;if(!d){d=e+8|0;g=f[d>>2]|0;if((f[g>>2]|0)==(e|0))e=g;else do{l=f[d>>2]|0;d=l+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(l|0))}else{while(1){e=f[d>>2]|0;if(!e)break;else d=e}e=d}f[b>>2]=e;if(!h)break a;else d=h}e=f[d+8>>2]|0;if(e){d=e;while(1){e=f[d+8>>2]|0;if(!e)break;else d=e}}iv(a,d)}while(0);d=f[b>>2]|0;j=f[c>>2]|0;if((d|0)==(j|0))return;l=a+4|0;m=a+4|0;i=d;while(1){d=EBb(20)|0;h=f[i+16>>2]|0;f[d+16>>2]=h;e=f[l>>2]|0;do if(e){while(1)if(h>>>0<(f[e+16>>2]|0)>>>0){g=f[e>>2]|0;if(!g){k=48;break}else e=g}else{g=f[e+4>>2]|0;if(!g){k=50;break}else e=g}if((k|0)==48){g=e;h=e;break}else if((k|0)==50){g=e;h=e+4|0;break}}else{g=l;h=l}while(0);f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[h>>2]=d;e=f[f[a>>2]>>2]|0;if(e){f[a>>2]=e;d=f[h>>2]|0}Xo(f[m>>2]|0,d);f[o>>2]=(f[o>>2]|0)+1;d=f[i+4>>2]|0;if(!d){e=i+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(i|0))do{c=f[e>>2]|0;e=c+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(c|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}f[b>>2]=d;if((d|0)==(j|0))break;else i=d}return}function iw(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<c>>>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 jw(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;i=a+4|0;f[i>>2]=0;j=a+8|0;f[j>>2]=0;k=a+4|0;f[a>>2]=k;if(!c)return;d=0;while(1){do if(d){g=i;while(1){e=f[d+16>>2]|0;if(b>>>0<e>>>0){e=f[d>>2]|0;if(!e){e=7;break}}else{if(e>>>0>=b>>>0){e=11;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=10;break}else d=g}g=d;d=e}if((e|0)==7){h=d;g=d;break}else if((e|0)==10){h=d;break}else if((e|0)==11){h=d;break}}else{h=k;g=k}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=b;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[a>>2]>>2]|0;if(e){f[a>>2]=e;d=f[g>>2]|0}Xo(f[i>>2]|0,d);f[j>>2]=(f[j>>2]|0)+1}c=c+-1|0;if(!c)break;b=b+1|0;d=f[k>>2]|0}return}function kw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=u;u=u+16|0;c=e;d=(b|0)==0;if(!d){if(qZa(4)|0){h=Nu(Hua(4)|0,371395,33)|0;g=_i[f[(f[b>>2]|0)+28>>2]&2047](b)|0;g=Nu(h,g,Rmb(g)|0)|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}Bj[f[(f[b>>2]|0)+164>>2]&1023](b,a)}a=a+128|0;c=f[a>>2]|0;if((c|0)==(b|0)){u=e;return}f[a>>2]=b;if(!d){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}if(!c){u=e;return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){u=e;return}Rua(c,1,1);u=e;return}function lw(a){a=a|0;Gva(a);GBb(a);return}function mw(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]=305384;return a|0}function nw(a,b){a=a|0;b=b|0;var c=0;c=EBb(32)|0;Fva(c,a,b);f[c>>2]=305384;return c|0}function ow(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,276632,0)|0)!=0;return b|0}function pw(a){a=a|0;return 369347}function qw(a){a=a|0;return 372750}function rw(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0.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.0;K=u;u=u+576|0;E=K+416|0;d=K+408|0;F=K+272|0;e=K+264|0;g=K+256|0;J=K+544|0;G=K+128|0;H=K+280|0;B=K;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;D=f_a(E)|0;if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0);if(!D){if(!(qZa(3)|0)){u=K;return}J=Nu(Hua(3)|0,371429,97)|0;Drb(E,J+(f[(f[J>>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(J,c)|0;Krb(J)|0;u=K;return}A=cj[f[(f[a>>2]|0)+168>>2]&1023](a,c)|0;NZa(f[c+16>>2]|0,d,F,e,g)|0;f$a(J);g$a(J);y=J+12|0;if((f[y>>2]|0)<0)f[y>>2]=0;z=cj[f[(f[D>>2]|0)+12>>2]&1023](D,J)|0;switch(z|0){case 1:{a=EBb(36)|0;rZa(a);H=a+12|0;f[H>>2]=0;f[H+4>>2]=0;f[H+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=305564;f[a+32>>2]=0;H=a+8|0;f[H>>2]=(f[H>>2]|0)+1;Bj[f[(f[a>>2]|0)+164>>2]&1023](a,c);I=f[H>>2]|0;f[H>>2]=I-1;if((I|0)==1)Rua(a,1,1);break}case 0:break;default:{d=J+16|0;e=E+4|0;h=0.0;a=0;do{f[d>>2]=a;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;f[E+12>>2]=0;f[E+16>>2]=0;Fj[f[(f[D>>2]|0)+16>>2]&511](D,J,E);h=h+ +((f[E>>2]|0)>>>0)/(+p[F>>3]*+((f[e>>2]|0)>>>0));a=a+1|0}while(a>>>0<z>>>0);if((z|0)==2?(f[A+20>>2]|0)==2:0)t=(b[A+16>>0]|0)!=0;else t=0;v=J+16|0;w=E+4|0;x=A+40|0;s=0;do{f[v>>2]=s;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;f[E+12>>2]=0;f[E+16>>2]=0;Fj[f[(f[D>>2]|0)+16>>2]&511](D,J,E);k=f[E>>2]|0;i=f[w>>2]|0;q=EBb(200)|0;i$a(q,A);r=q+8|0;f[r>>2]=(f[r>>2]|0)+1;UBb(q+12|0,J)|0;f[q+24>>2]=f[y>>2];f[q+28>>2]=s;e=q+32|0;f[e>>2]=0;g=q+36|0;f[g>>2]=0;j=q+40|0;f[j>>2]=k;k=q+44|0;f[k>>2]=i;b[q+72>>0]=0;i=q+110|0;b[i>>0]=1;a=q+168|0;d=f[a>>2]|0;if(d|0?(f[a>>2]=0,n=d+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(d,1,1);f[q+172>>2]=0;l=e_a(q)|0;m=(l|0)==0;if(!m){o=l+8|0;f[o>>2]=(f[o>>2]|0)+1}n=EBb(656)|0;hBa(n);o=n+8|0;f[o>>2]=(f[o>>2]|0)+1;CZa(n,l);if(!m?(C=WCb(l,297048,276480,0)|0,(C|0)!=0):0){if(qZa(4)|0){d=jsb(Nu(Hua(4)|0,371527,47)|0,C)|0;Drb(E,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);a=utb(E,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(E);ksb(d,a)|0;Krb(d)|0}Dta(f[(f[C+136>>2]|0)+12>>2]|0,f[e>>2]|0,f[g>>2]|0,f[j>>2]|0,f[k>>2]|0,1)}else I=27;if((I|0)==27?(I=0,qZa(3)|0):0){g=Nu(Hua(3)|0,371575,51)|0;Drb(E,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(E,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(E);ksb(g,e)|0;Krb(g)|0}a=EBb(88)|0;g=f[j>>2]|0;d=f[k>>2]|0;pZa(a);f[a>>2]=353328;e=a+56|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;p[a+72>>3]=+(g|0);p[a+80>>3]=+(d|0);IZa(n,a);a=(b[i>>0]|0)==0?1028:1029;f[n+568>>2]=a;d=n+148|0;if(!(f[n+152>>2]|0)){i=f[d>>2]|0;f[n+572>>2]=a;f[d>>2]=i&-393217}else f[n+572>>2]=a;if(t){e=(f[x>>2]|0)!=0&1;a=EBb(268)|0;s_a(a,A);d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;f[a+20>>2]=(s|0)==(e|0)?4:5;e=n+232|0;g=f[e>>2]|0;if(((g|0)!=(a|0)?(f[e>>2]=a,f[d>>2]=(f[d>>2]|0)+1,g|0):0)?(j=g+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(g,1,1);f3a(E);f3a(G);Y2a(c,n,E,G,1)|0;k=f[d>>2]|0;f[d>>2]=k-1;if((k|0)==1)Rua(a,1,1)}else{L=+(f[j>>2]|0)/+(f[k>>2]|0)/+p[F>>3];f3a(H);h3a(H,h-L,0.0,0.0);f3a(G);g3a(G,1.0/L,1.0,1.0);f3a(E);l3a(E,H,G);f3a(B);Y2a(c,n,E,B,1)|0;h=h-L*2.0}k=f[o>>2]|0;f[o>>2]=k-1;if((k|0)==1)Rua(n,1,1);if(!m?(n=l+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(l,1,1);o=f[r>>2]|0;f[r>>2]=o-1;if((o|0)==1)Rua(q,1,1);s=s+1|0}while(s>>>0<z>>>0)}}tw(c);if((b[J+11>>0]|0)<0)GBb(f[J>>2]|0);u=K;return}function sw(a,b){a=a|0;b=b|0;a=f[b+116>>2]|0;if(a|0){b=a;return b|0}b=Dxa()|0;b=f[b>>2]|0;return b|0}function tw(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;d=a+68|0;c=f[d>>2]|0;do if(!c)j=0;else{g=f[c+16>>2]|0;if((((g|0)!=0?(h=f[a+40>>2]|0,(h|0)!=0):0)?(f[h+24>>2]|0)!=0:0)?(e=f[a+44>>2]|0,(e|0)!=0):0){g6(g,f[e+88>>2]|0);c=f[d>>2]|0;if(!c){j=0;break}}j=f[c+12>>2]|0}while(0);d=a+76|0;c=f[d>>2]|0;do if(c|0){Bj[f[(f[c>>2]|0)+112>>2]&1023](c,j);c=Jta(f[a+72>>2]|0)|0;if(!c){h=f[d>>2]|0;Fj[f[(f[h>>2]|0)+144>>2]&511](h,c,a+36|0);break}g=c+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[d>>2]|0;Fj[f[(f[g>>2]|0)+144>>2]&511](g,c,a+36|0);g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)==1)Rua(c,1,1)}while(0);c=a+16|0;d=f[c>>2]|0;if(d|0){h=f[d>>2]|0;g=f[h+240>>2]|0;h=_i[f[h+248>>2]&2047](d)|0;dj[g&255](d,0,h)|0;if(j|0){h=f[c>>2]|0;cj[f[(f[h>>2]|0)+228>>2]&1023](h,j)|0}c=f[(f[c>>2]|0)+628>>2]|0;if(c|0?(i=WCb(c,297248,276520,0)|0,i|0):0)b[i+30>>0]=1}i=a+20|0;h=a+24|0;a=f[i>>2]|0;d=a;if((f[h>>2]|0)==(a|0))return;if(!j){g=0;do{c=d+(g*272|0)+4|0;e=f[c>>2]|0;if(((e|0?b[d+(g*272|0)+264>>0]|0:0)?(m=f[e>>2]|0,l=f[m+240>>2]|0,m=_i[f[m+248>>2]&2047](e)|0,dj[l&255](e,0,m)|0,m=f[(f[c>>2]|0)+628>>2]|0,m|0):0)?(n=WCb(m,297248,276520,0)|0,n|0):0)b[n+30>>0]=1;g=g+1|0;d=f[i>>2]|0}while(g>>>0<(((f[h>>2]|0)-d|0)/272|0)>>>0);return}else{g=0;do{c=d+(g*272|0)+4|0;e=f[c>>2]|0;if(((e|0?b[d+(g*272|0)+264>>0]|0:0)?(k=f[e>>2]|0,n=f[k+240>>2]|0,k=_i[f[k+248>>2]&2047](e)|0,dj[n&255](e,0,k)|0,k=f[c>>2]|0,cj[f[(f[k>>2]|0)+228>>2]&1023](k,j)|0,k=f[(f[c>>2]|0)+628>>2]|0,k|0):0)?(l=WCb(k,297248,276520,0)|0,l|0):0)b[l+30>>0]=1;g=g+1|0;d=f[i>>2]|0}while(g>>>0<(((f[h>>2]|0)-d|0)/272|0)>>>0);return}}function uw(a){a=a|0;Gva(a);GBb(a);return}function vw(a){a=a|0;var b=0;a=EBb(36)|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]=305564;f[a+32>>2]=0;return a|0}function ww(a,b){a=a|0;b=b|0;var c=0;c=EBb(36)|0;Fva(c,a,b);f[c>>2]=305564;f[c+32>>2]=f[a+32>>2];return c|0}function xw(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,276648,0)|0)!=0;return b|0}function yw(a){a=a|0;return 369347}function zw(a){a=a|0;return 372710}function Aw(a,c){a=a|0;c=c|0;var d=0,e=0;d=EBb(56)|0;e=f[a+32>>2]|0;rZa(d);a=d+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=305744;f[d+32>>2]=0;f[d+36>>2]=0;f[d+40>>2]=-1;f[d+44>>2]=-1;f[d+48>>2]=e;e=d+52|0;b[e>>0]=1;b[d+53>>0]=0;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;b[e>>0]=0;Bj[f[(f[d>>2]|0)+164>>2]&1023](d,c);c=f[a>>2]|0;f[a>>2]=c-1;if((c|0)!=1)return;Rua(d,1,1);return}function Bw(a){a=a|0;Gva(a);GBb(a);return}function Cw(a){a=a|0;var c=0;a=EBb(56)|0;rZa(a);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=305744;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=-1;f[a+44>>2]=-1;f[a+48>>2]=0;b[a+52>>0]=1;b[a+53>>0]=0;return a|0}function Dw(a,c){a=a|0;c=c|0;var d=0;d=EBb(56)|0;Fva(d,a,c);f[d>>2]=305744;f[d+32>>2]=f[a+32>>2];f[d+36>>2]=f[a+36>>2];f[d+40>>2]=f[a+40>>2];f[d+44>>2]=f[a+44>>2];f[d+48>>2]=f[a+48>>2];b[d+52>>0]=b[a+52>>0]|0;b[d+53>>0]=b[a+53>>0]|0;return d|0}function Ew(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,276664,0)|0)!=0;return b|0}function Fw(a){a=a|0;return 369347}function Gw(a){a=a|0;return 372645}function Hw(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,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;C=u;u=u+304|0;y=C+176|0;k=C+152|0;l=C+144|0;m=C+136|0;o=C+128|0;w=C;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;h=f_a(y)|0;if((b[y+11>>0]|0)<0)GBb(f[y>>2]|0);if(!h){if(!(qZa(3)|0)){u=C;return}B=Nu(Hua(3)|0,371627,93)|0;Drb(y,B+(f[(f[B>>2]|0)+-12>>2]|0)|0);A=utb(y,504576)|0;A=cj[f[(f[A>>2]|0)+28>>2]&1023](A,10)|0;vtb(y);ksb(B,A)|0;Krb(B)|0;u=C;return}z=cj[f[(f[a>>2]|0)+168>>2]&1023](a,c)|0;A=EBb(200)|0;i$a(A,z);B=A+8|0;f[B>>2]=(f[B>>2]|0)+1;g$a(A+12|0);d=A+24|0;if((f[d>>2]|0)<0)f[d>>2]=0;e=a+48|0;f[A+28>>2]=f[e>>2];i=A+32|0;f[i>>2]=f[a+32>>2];j=A+36|0;f[j>>2]=f[a+36>>2];t=A+40|0;f[t>>2]=f[a+40>>2];v=A+44|0;f[v>>2]=f[a+44>>2];b[A+72>>0]=b[a+52>>0]|0;b[A+181>>0]=b[a+53>>0]|0;s=A+110|0;b[s>>0]=1;d=A+168|0;a=f[d>>2]|0;if(a|0?(f[d>>2]=0,d=a+8|0,x=f[d>>2]|0,f[d>>2]=x-1,(x|0)==1):0)Rua(a,1,1);f[A+172>>2]=0;if(!((f[t>>2]|0)>=1?(f[v>>2]|0)>=1:0)){f$a(k);g$a(k);d=k+12|0;if((f[d>>2]|0)<0)f[d>>2]=0;f[k+16>>2]=f[e>>2];f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;f[y+12>>2]=0;f[y+16>>2]=0;Fj[f[(f[h>>2]|0)+16>>2]&511](h,k,y);d=f[y+4>>2]|0;if((f[t>>2]|0)<1)f[t>>2]=f[y>>2];if((f[v>>2]|0)<1)f[v>>2]=d;if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0)}h=e_a(A)|0;d=(h|0)==0;if(!d){x=h+8|0;f[x>>2]=(f[x>>2]|0)+1}x=c+16|0;CZa(f[x>>2]|0,h);if(!d?(q=WCb(h,297048,276480,0)|0,(q|0)!=0):0){if(qZa(4)|0){r=Nu(Hua(4)|0,371721,71)|0;Drb(y,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);e=utb(y,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(y);ksb(r,e)|0;Krb(r)|0}Dta(f[(f[q+136>>2]|0)+12>>2]|0,f[i>>2]|0,f[j>>2]|0,f[t>>2]|0,f[v>>2]|0,1);NZa(f[x>>2]|0,k,l,m,o)|0;g=+(f[t>>2]|0)/+(f[v>>2]|0)/+p[l>>3];if(g!=1.0){f3a(w);g3a(w,1.0/g,1.0,1.0);d=f[x>>2]|0;a=d+304|0;if((a|0)==(w|0)){p[y>>3]=+p[w>>3];p[y+8>>3]=+p[d+312>>3];p[y+16>>3]=+p[d+320>>3];p[y+24>>3]=+p[d+328>>3];p[y+32>>3]=+p[d+336>>3];p[y+40>>3]=+p[d+344>>3];p[y+48>>3]=+p[d+352>>3];p[y+56>>3]=+p[d+360>>3];p[y+64>>3]=+p[d+368>>3];p[y+72>>3]=+p[d+376>>3];p[y+80>>3]=+p[d+384>>3];p[y+88>>3]=+p[d+392>>3];p[y+96>>3]=+p[d+400>>3];p[y+104>>3]=+p[d+408>>3];p[y+112>>3]=+p[d+416>>3];p[y+120>>3]=+p[d+424>>3];m3a(w,y)}else m3a(a,w)}a=f[x>>2]|0;d=EBb(88)|0;w=f[t>>2]|0;e=f[v>>2]|0;pZa(d);f[d>>2]=353328;v=d+56|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[v+12>>2]=0;p[d+72>>3]=+(w|0);p[d+80>>3]=+(e|0);IZa(a,d);d=(b[s>>0]|0)==0?1028:1029;a=f[x>>2]|0;f[a+568>>2]=d;e=a+148|0;if(!(f[a+152>>2]|0))f[e>>2]=f[e>>2]&-393217;f[a+572>>2]=d;if(!(b[z+180>>0]|0)){if(b[z+16>>0]|0?b[z+94>>0]|0:0)Kw(c,a,z)}else{if((f[z+184>>2]|0)!=(f[z+188>>2]|0))Iw(z)|0;a=z+196|0;e=z+200|0;if((f[a>>2]|0)==(f[e>>2]|0)){d=EBb(120)|0;rZa(d);w=d+12|0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=305924;b[d+32>>0]=0;n[d+36>>2]=1.0;n[d+40>>2]=1.0;n[d+44>>2]=1.0;n[d+48>>2]=1.0;p[d+56>>3]=-1.0;p[d+64>>3]=-1.0;p[d+72>>3]=1.0;p[d+80>>3]=-1.0;p[d+88>>3]=-1.0;p[d+96>>3]=1.0;p[d+104>>3]=1.0;p[d+112>>3]=1.0;f[y>>2]=d;d=d+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[e>>2]|0;if(d>>>0<(f[z+204>>2]|0)>>>0){a=f[y>>2]|0;f[d>>2]=a;if(a){d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[e>>2]|0}f[e>>2]=d+4}else Jw(a,y);d=f[y>>2]|0;do if(d|0){w=d+8|0;y=f[w>>2]|0;f[w>>2]=y-1;if((y|0)!=1)break;Rua(d,1,1)}while(0)}Kw(c,f[x>>2]|0,z)}r=56}else{if(qZa(3)|0){z=Nu(Hua(3)|0,371793,75)|0;Drb(y,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);c=utb(y,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(y);ksb(z,c)|0;Krb(z)|0}if(!d)r=56}if((r|0)==56?(c=h+8|0,z=f[c>>2]|0,f[c>>2]=z-1,(z|0)==1):0)Rua(h,1,1);z=f[B>>2]|0;f[B>>2]=z-1;if((z|0)!=1){u=C;return}Rua(A,1,1);u=C;return}function Iw(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,q=0,r=0,s=0,t=0,v=0;t=u;u=u+16|0;i=t;c=f[a+184>>2]|0;m=a+188|0;if((c|0)==(f[m>>2]|0)){s=0;u=t;return s|0}o=i+11|0;q=i+8|0;r=i+11|0;j=i+8|0;k=a+200|0;l=a+204|0;h=a+196|0;do{d=(YZ(0)|0)+160|0;z4(i,c,f[d>>2]|0);d=f[i>>2]|0;do if(!d)s=22;else{a=WCb(d,295088,276680,0)|0;e=(a|0)==0;if(!e){d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[i>>2]|0;if(d)s=8}else s=8;if((s|0)==8){s=0;v=d+8|0;g=f[v>>2]|0;f[v>>2]=g-1;if((g|0)==1)Rua(d,1,1);if(e){s=22;break}};f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;b[o>>0]=8;v=i;f[v>>2]=1701603686;f[v+4>>2]=1701667182;b[q>>0]=0;Uz(a,i,c);if((b[o>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=a;g=a+8|0;f[g>>2]=(f[g>>2]|0)+1;d=f[k>>2]|0;if(d>>>0<(f[l>>2]|0)>>>0){e=f[i>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[k>>2]|0}f[k>>2]=d+4}else Jw(h,i);d=f[i>>2]|0;if(d|0?(e=d+8|0,v=f[e>>2]|0,f[e>>2]=v-1,(v|0)==1):0)Rua(d,1,1);d=g}while(0);if((s|0)==22){s=0;if(qZa(3)|0){e=Nu(Hua(3)|0,372556,38)|0;v=b[c+11>>0]|0;g=v<<24>>24<0;v=Nu(e,g?f[c>>2]|0:c,g?f[c+4>>2]|0:v&255)|0;Drb(i,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);g=utb(i,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(i);ksb(v,g)|0;Krb(v)|0}a=EBb(120)|0;rZa(a);g=a+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=305924;b[a+32>>0]=0;n[a+36>>2]=1.0;n[a+40>>2]=1.0;n[a+44>>2]=1.0;n[a+48>>2]=1.0;p[a+56>>3]=-1.0;p[a+64>>3]=-1.0;p[a+72>>3]=1.0;p[a+80>>3]=-1.0;p[a+88>>3]=-1.0;p[a+96>>3]=1.0;p[a+104>>3]=1.0;p[a+112>>3]=1.0;g=a+8|0;f[g>>2]=(f[g>>2]|0)+1;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;b[r>>0]=8;v=i;f[v>>2]=1701603686;f[v+4>>2]=1701667182;b[j>>0]=0;Uz(a,i,c);if((b[r>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=a;f[g>>2]=(f[g>>2]|0)+1;d=f[k>>2]|0;if(d>>>0<(f[l>>2]|0)>>>0){e=f[i>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[k>>2]|0}f[k>>2]=d+4}else Jw(h,i);d=f[i>>2]|0;if(d|0?(e=d+8|0,v=f[e>>2]|0,f[e>>2]=v-1,(v|0)==1):0)Rua(d,1,1);d=g}v=f[d>>2]|0;f[d>>2]=v-1;if((v|0)==1)Rua(a,1,1);c=c+12|0}while((c|0)!=(f[m>>2]|0));a=1;u=t;return a|0}function Jw(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<e>>>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 Kw(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,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.0;M=u;u=u+288|0;w=M+128|0;x=M;L=M+268|0;y=M+256|0;if(!c){u=M;return}o=c+624|0;if(!(f[o>>2]|0)){u=M;return}q=d+16|0;j=d+180|0;e=b[j>>0]|0;if(!(b[q>>0]|0))if(!(e<<24>>24)){u=M;return}else e=1;b[d+94>>0]=0;f[L>>2]=0;K=L+4|0;f[K>>2]=0;m=L+8|0;f[m>>2]=0;do if(e<<24>>24){e=f[d+196>>2]|0;i=d+200|0;g=f[i>>2]|0;if((e|0)!=(g|0)){do{h=f[e>>2]|0;if((h|0)!=0?(l=WCb(h,295088,276680,0)|0,(l|0)!=0):0){f[w>>2]=l;g=l+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[K>>2]|0;if(g>>>0<(f[m>>2]|0)>>>0){h=f[w>>2]|0;f[g>>2]=h;if(h){g=h+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[K>>2]|0}f[K>>2]=g+4}else Lw(L,w);g=f[w>>2]|0;if(g|0?(I=g+8|0,J=f[I>>2]|0,f[I>>2]=J-1,(J|0)==1):0)Rua(g,1,1);g=f[i>>2]|0}e=e+4|0}while((e|0)!=(g|0));if(!(b[j>>0]|0))break}if((f[K>>2]|0)-(f[L>>2]|0)>>2>>>0<2)do{e=EBb(120)|0;rZa(e);J=e+12|0;f[J>>2]=0;f[J+4>>2]=0;f[J+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;f[e>>2]=305924;b[e+32>>0]=0;n[e+36>>2]=1.0;n[e+40>>2]=1.0;n[e+44>>2]=1.0;n[e+48>>2]=1.0;p[e+56>>3]=-1.0;p[e+64>>3]=-1.0;p[e+72>>3]=1.0;p[e+80>>3]=-1.0;p[e+88>>3]=-1.0;p[e+96>>3]=1.0;p[e+104>>3]=1.0;p[e+112>>3]=1.0;f[w>>2]=e;e=e+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[K>>2]|0;if(e>>>0<(f[m>>2]|0)>>>0){g=f[w>>2]|0;f[e>>2]=g;if(g){e=g+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[K>>2]|0}f[K>>2]=e+4}else Lw(L,w);e=f[w>>2]|0;if(e|0?(I=e+8|0,J=f[I>>2]|0,f[I>>2]=J-1,(J|0)==1):0)Rua(e,1,1)}while((f[K>>2]|0)-(f[L>>2]|0)>>2>>>0<2)}while(0);N=+n[d+32>>2];KZa(c,+S(+(N*.5),+(+n[d+36>>2]))*2.0*180.0/3.141592653589793,+n[d+28>>2]/N,1.0,1.0e4);I=f[o>>2]|0;J=(I|0)==0;G=I+8|0;f[G>>2]=(f[G>>2]|0)+1;G=f[(f[o>>2]|0)+44>>2]|0;H=(G|0)==0;if(!H){F=G+8|0;f[F>>2]=(f[F>>2]|0)+1}a:do if(!(b[q>>0]|0)){e=f[d+196>>2]|0;if(((e|0)!=(f[d+200>>2]|0)?(r=f[e>>2]|0,(r|0)!=0):0)?(k=WCb(r,295088,276680,0)|0,(k|0)!=0):0){F=k+8|0;f[F>>2]=(f[F>>2]|0)+1}else{k=EBb(120)|0;rZa(k);F=k+12|0;f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;f[k+24>>2]=2;f[k+28>>2]=0;f[k>>2]=305924;b[k+32>>0]=0;n[k+36>>2]=1.0;n[k+40>>2]=1.0;n[k+44>>2]=1.0;n[k+48>>2]=1.0;p[k+56>>3]=-1.0;p[k+64>>3]=-1.0;p[k+72>>3]=1.0;p[k+80>>3]=-1.0;p[k+88>>3]=-1.0;p[k+96>>3]=1.0;p[k+104>>3]=1.0;p[k+112>>3]=1.0;F=k+8|0;f[F>>2]=(f[F>>2]|0)+1}e=G+40|0;g=G+44|0;l=Mw(0,f[e>>2]|0,f[g>>2]|0)|0;m=(l|0)==0;if(!m){F=l+8|0;f[F>>2]=(f[F>>2]|0)+1}Nw(a,I,f[e>>2]|0,f[g>>2]|0,l)|0;h=Ow(a,d,I,0,0,f[e>>2]|0,f[g>>2]|0,(b[G+110>>0]|0)==0?1028:1029,l,k)|0;i=(h|0)==0;if(!i){d=h+8|0;f[d>>2]=(f[d>>2]|0)+1}j=EBb(152)|0;Pw(j,k);j=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;e=f[h+92>>2]|0;if(!e)f0a(h,j);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=j;d=j+(f[(f[j>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}CZa(c,0);if(!i?(a=h+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(h,1,1);if(!m?(a=l+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(l,1,1);if(k|0?(a=k+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(k,1,1)}else{r=d+20|0;switch(f[r>>2]|0){case 0:{CZa(c,0);m=G+40|0;o=G+44|0;q=G+110|0;w=Qw(a,d,I,0,0,f[m>>2]|0,f[o>>2]|0,(b[q>>0]|0)==0?1024:1026,-1.0)|0;x=(w|0)==0;if(!x){c=w+8|0;f[c>>2]=(f[c>>2]|0)+1}f[w+236>>2]=16640;g=w+152|0;h=w+148|0;if(!(f[g>>2]|0))f[h>>2]=f[h>>2]&-16385;f[w+560>>2]=1;f[w+564>>2]=0;y=Qw(a,d,I,0,0,f[m>>2]|0,f[o>>2]|0,(b[q>>0]|0)==0?1025:1027,1.0)|0;z=(y|0)==0;if(!z){c=y+8|0;f[c>>2]=(f[c>>2]|0)+1}f[y+236>>2]=16640;i=y+152|0;j=y+148|0;if(!(f[i>>2]|0))f[j>>2]=f[j>>2]&-16385;f[y+560>>2]=1;f[y+564>>2]=1;e=f[L>>2]|0;do if((e|0)!=(f[K>>2]|0)){r=f[e>>2]|0;s=(r|0)==0;if(!s){c=r+8|0;f[c>>2]=(f[c>>2]|0)+1}t=Mw(0,f[m>>2]|0,f[o>>2]|0)|0;v=(t|0)==0;if(!v){c=t+8|0;f[c>>2]=(f[c>>2]|0)+1}JZa(w,0,0,f[m>>2]|0,f[o>>2]|0);f[w+568>>2]=1028;if(!(f[g>>2]|0))f[h>>2]=f[h>>2]&-393217;f[w+572>>2]=1028;b[w+228>>0]=1;DZa(w,0);OZa(w,3,t,0,0,0,0,0);k=Mw(0,f[m>>2]|0,f[o>>2]|0)|0;l=(k|0)==0;if(!l){c=k+8|0;f[c>>2]=(f[c>>2]|0)+1}JZa(y,0,0,f[m>>2]|0,f[o>>2]|0);f[y+568>>2]=1028;if(!(f[i>>2]|0))f[j>>2]=f[j>>2]&-393217;f[y+572>>2]=1028;b[y+228>>0]=1;DZa(y,0);OZa(y,3,k,0,0,0,0,0);n[r+36>>2]=1.0;n[r+40>>2]=0.0;n[r+44>>2]=0.0;n[r+48>>2]=1.0;i=Ow(a,d,I,0,0,f[m>>2]|0,f[o>>2]|0,(b[q>>0]|0)==0?1024:1026,t,r)|0;j=(i|0)==0;if(!j){c=i+8|0;f[c>>2]=(f[c>>2]|0)+1}f[i+560>>2]=1;f[i+564>>2]=2;h=EBb(152)|0;Pw(h,r);h=h+(f[(f[h>>2]|0)+-12>>2]|0)|0;e=f[i+92>>2]|0;if(!e)f0a(i,h);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=h;c=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[c>>2]=(f[c>>2]|0)+1}e=Ow(a,d,I,0,0,f[m>>2]|0,f[o>>2]|0,(b[q>>0]|0)==0?1025:1027,k,r)|0;do if(!e){f[140]=1;f[141]=3;b[228]=0}else{a=e+8|0;f[a>>2]=(f[a>>2]|0)+1;f[e+560>>2]=1;f[e+564>>2]=3;b[e+228>>0]=0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(e,1,1)}while(0);do if(!j){a=i+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(i,1,1)}while(0);do if(!l){a=k+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(k,1,1)}while(0);do if(!v){a=t+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(t,1,1)}while(0);if(s)break;a=r+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(r,1,1)}while(0);if(!z?(a=y+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(y,1,1);if(x)break a;a=w+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break a;Rua(w,1,1);break a}case 1:{CZa(c,0);s=G+40|0;t=G+44|0;v=G+110|0;C=Qw(a,d,I,0,0,f[s>>2]|0,f[t>>2]|0,(b[v>>0]|0)==0?1028:1029,-1.0)|0;D=(C|0)==0;if(!D){F=C+8|0;f[F>>2]=(f[F>>2]|0)+1}g=C+236|0;f[g>>2]=16640;h=C+152|0;i=C+148|0;if(!(f[h>>2]|0))f[i>>2]=f[i>>2]&-16385;k=HZa(C)|0;j=EBb(60)|0;pZa(j);f[j>>2]=341216;b[j+56>>0]=1;b[j+57>>0]=0;b[j+58>>0]=0;b[j+59>>0]=1;FZa(k,j,0);j=C+560|0;f[j>>2]=1;k=C+564|0;f[k>>2]=0;E=Qw(a,d,I,0,0,f[s>>2]|0,f[t>>2]|0,(b[v>>0]|0)==0?1028:1029,1.0)|0;F=(E|0)==0;if(!F){B=E+8|0;f[B>>2]=(f[B>>2]|0)+1}l=E+236|0;f[l>>2]=256;m=E+152|0;o=E+148|0;if(!(f[m>>2]|0))f[o>>2]=f[o>>2]&-16385;r=HZa(E)|0;q=EBb(60)|0;pZa(q);f[q>>2]=341216;b[q+56>>0]=0;b[q+57>>0]=1;b[q+58>>0]=1;b[q+59>>0]=1;FZa(r,q,0);q=E+560|0;f[q>>2]=1;r=E+564|0;f[r>>2]=1;e=f[L>>2]|0;do if((e|0)!=(f[K>>2]|0)){y=f[e>>2]|0;z=(y|0)==0;if(!z){B=y+8|0;f[B>>2]=(f[B>>2]|0)+1}A=Mw(0,f[s>>2]|0,f[t>>2]|0)|0;B=(A|0)==0;if(!B){x=A+8|0;f[x>>2]=(f[x>>2]|0)+1}f[C+568>>2]=1028;if(!(f[h>>2]|0))f[i>>2]=f[i>>2]&-393217;f[C+572>>2]=1028;b[C+228>>0]=0;f[j>>2]=1;f[k>>2]=0;DZa(C,0);CNa(HZa(C)|0,25,0);f[g>>2]=16640;if(!(f[h>>2]|0))f[i>>2]=f[i>>2]&-16385;OZa(C,3,A,0,0,0,0,0);w=Mw(0,f[s>>2]|0,f[t>>2]|0)|0;x=(w|0)==0;if(!x){k=w+8|0;f[k>>2]=(f[k>>2]|0)+1}f[E+568>>2]=1028;if(!(f[m>>2]|0))f[o>>2]=f[o>>2]&-393217;f[E+572>>2]=1028;b[E+228>>0]=0;f[q>>2]=1;f[r>>2]=1;DZa(E,0);CNa(HZa(E)|0,25,0);f[l>>2]=16640;if(!(f[m>>2]|0))f[o>>2]=f[o>>2]&-16385;OZa(E,3,w,0,0,0,0,0);k=Ow(a,d,I,0,0,f[s>>2]|0,f[t>>2]|0,(b[v>>0]|0)==0?1028:1029,A,y)|0;l=(k|0)==0;if(!l){r=k+8|0;f[r>>2]=(f[r>>2]|0)+1}f[k+560>>2]=1;f[k+564>>2]=2;f[k+236>>2]=16640;e=k+148|0;if(!(f[k+152>>2]|0))f[e>>2]=f[e>>2]&-16385;j=HZa(k)|0;i=EBb(60)|0;pZa(i);f[i>>2]=341216;b[i+56>>0]=1;b[i+57>>0]=0;b[i+58>>0]=0;b[i+59>>0]=1;FZa(j,i,0);i=Ow(a,d,I,0,0,f[s>>2]|0,f[t>>2]|0,(b[v>>0]|0)==0?1028:1029,w,y)|0;j=(i|0)==0;if(!j){d=i+8|0;f[d>>2]=(f[d>>2]|0)+1}f[i+560>>2]=1;f[i+564>>2]=3;f[i+236>>2]=256;e=i+148|0;if(!(f[i+152>>2]|0))f[e>>2]=f[e>>2]&-16385;e=HZa(i)|0;h=EBb(60)|0;pZa(h);f[h>>2]=341216;b[h+56>>0]=0;b[h+57>>0]=1;b[h+58>>0]=1;b[h+59>>0]=1;FZa(e,h,0);h=EBb(152)|0;Pw(h,y);h=h+(f[(f[h>>2]|0)+-12>>2]|0)|0;e=f[k+92>>2]|0;if(!e)f0a(k,h);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=h;d=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}b[c+228>>0]=0;do if(!j){a=i+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(i,1,1)}while(0);do if(!l){a=k+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(k,1,1)}while(0);do if(!x){a=w+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(w,1,1)}while(0);do if(!B){a=A+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(A,1,1)}while(0);if(z)break;a=y+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(y,1,1)}while(0);if(!F?(a=E+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(E,1,1);if(D)break a;a=C+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break a;Rua(C,1,1);break a}case 2:{CZa(c,0);i=(f[d+40>>2]|0)==0;j=G+40|0;x=(f[j>>2]|0)/2|0;g=i?0:x;i=i?x:0;k=G+44|0;l=G+110|0;x=Qw(a,d,I,g,0,x,f[k>>2]|0,(b[l>>0]|0)==0?1028:1029,-1.0)|0;y=(x|0)==0;if(!y){F=x+8|0;f[F>>2]=(f[F>>2]|0)+1}z=Qw(a,d,I,i,0,(f[j>>2]|0)/2|0,f[k>>2]|0,(b[l>>0]|0)==0?1028:1029,1.0)|0;A=(z|0)==0;if(!A){F=z+8|0;f[F>>2]=(f[F>>2]|0)+1}e=f[L>>2]|0;do if((e|0)!=(f[K>>2]|0)){B=f[e>>2]|0;C=(B|0)==0;if(!C){e=B+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[L>>2]|0}s=f[e+4>>2]|0;t=(s|0)==0;if(!t){F=s+8|0;f[F>>2]=(f[F>>2]|0)+1}v=Mw(0,(f[j>>2]|0)/2|0,f[k>>2]|0)|0;w=(v|0)==0;if(!w){F=v+8|0;f[F>>2]=(f[F>>2]|0)+1}JZa(x,0,0,(f[j>>2]|0)/2|0,f[k>>2]|0);f[x+568>>2]=1028;e=x+148|0;if(!(f[x+152>>2]|0))f[e>>2]=f[e>>2]&-393217;f[x+572>>2]=1028;b[x+228>>0]=1;f[x+560>>2]=1;f[x+564>>2]=0;DZa(x,0);OZa(x,3,v,0,0,0,0,0);q=Mw(0,(f[j>>2]|0)/2|0,f[k>>2]|0)|0;r=(q|0)==0;if(!r){F=q+8|0;f[F>>2]=(f[F>>2]|0)+1}JZa(z,0,0,(f[j>>2]|0)/2|0,f[k>>2]|0);f[z+568>>2]=1028;e=z+148|0;if(!(f[z+152>>2]|0))f[e>>2]=f[e>>2]&-393217;f[z+572>>2]=1028;b[z+228>>0]=1;f[z+560>>2]=1;f[z+564>>2]=1;DZa(z,0);OZa(z,3,q,0,0,0,0,0);n[B+36>>2]=1.0;n[B+40>>2]=0.0;n[B+44>>2]=0.0;n[B+48>>2]=1.0;m=Ow(a,d,I,g,0,(f[j>>2]|0)/2|0,f[k>>2]|0,(b[l>>0]|0)==0?1028:1029,v,B)|0;o=(m|0)==0;if(!o){F=m+8|0;f[F>>2]=(f[F>>2]|0)+1}f[m+560>>2]=1;f[m+564>>2]=2;h=EBb(152)|0;Pw(h,B);h=h+(f[(f[h>>2]|0)+-12>>2]|0)|0;e=f[m+92>>2]|0;if(!e)f0a(m,h);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=h;F=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[F>>2]=(f[F>>2]|0)+1}n[s+36>>2]=0.0;n[s+40>>2]=1.0;n[s+44>>2]=0.0;n[s+48>>2]=1.0;h=Ow(a,d,I,i,0,(f[j>>2]|0)/2|0,f[k>>2]|0,(b[l>>0]|0)==0?1028:1029,q,s)|0;i=(h|0)==0;if(!i){d=h+8|0;f[d>>2]=(f[d>>2]|0)+1}f[h+560>>2]=1;f[h+564>>2]=3;j=EBb(152)|0;Pw(j,s);j=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;e=f[h+92>>2]|0;if(!e)f0a(h,j);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=j;d=j+(f[(f[j>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}b[c+228>>0]=0;do if(!i){a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(h,1,1)}while(0);do if(!o){a=m+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(m,1,1)}while(0);do if(!r){a=q+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(q,1,1)}while(0);do if(!w){a=v+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(v,1,1)}while(0);do if(!t){a=s+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(s,1,1)}while(0);if(C)break;a=B+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(B,1,1)}while(0);if(!A?(a=z+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(z,1,1);if(y)break a;a=x+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break a;Rua(x,1,1);break a}case 3:{CZa(c,0);i=(f[d+48>>2]|0)==1;j=G+44|0;x=(f[j>>2]|0)/2|0;g=i?0:x;i=i?x:0;k=G+40|0;l=G+110|0;x=Qw(a,d,I,0,g,f[k>>2]|0,x,(b[l>>0]|0)==0?1028:1029,-1.0)|0;y=(x|0)==0;if(!y){F=x+8|0;f[F>>2]=(f[F>>2]|0)+1}z=Qw(a,d,I,0,i,f[k>>2]|0,(f[j>>2]|0)/2|0,(b[l>>0]|0)==0?1028:1029,1.0)|0;A=(z|0)==0;if(!A){F=z+8|0;f[F>>2]=(f[F>>2]|0)+1}e=f[L>>2]|0;do if((e|0)!=(f[K>>2]|0)){B=f[e>>2]|0;C=(B|0)==0;if(!C){e=B+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[L>>2]|0}s=f[e+4>>2]|0;t=(s|0)==0;if(!t){F=s+8|0;f[F>>2]=(f[F>>2]|0)+1}v=Mw(0,f[k>>2]|0,(f[j>>2]|0)/2|0)|0;w=(v|0)==0;if(!w){F=v+8|0;f[F>>2]=(f[F>>2]|0)+1}JZa(x,0,0,f[k>>2]|0,(f[j>>2]|0)/2|0);f[x+568>>2]=1028;e=x+148|0;if(!(f[x+152>>2]|0))f[e>>2]=f[e>>2]&-393217;f[x+572>>2]=1028;b[x+228>>0]=1;f[x+560>>2]=1;f[x+564>>2]=0;DZa(x,0);OZa(x,3,v,0,0,0,0,0);q=Mw(0,f[k>>2]|0,(f[j>>2]|0)/2|0)|0;r=(q|0)==0;if(!r){F=q+8|0;f[F>>2]=(f[F>>2]|0)+1}JZa(z,0,0,f[k>>2]|0,(f[j>>2]|0)/2|0);f[z+568>>2]=1028;e=z+148|0;if(!(f[z+152>>2]|0))f[e>>2]=f[e>>2]&-393217;f[z+572>>2]=1028;b[z+228>>0]=1;f[z+560>>2]=1;f[z+564>>2]=1;DZa(z,0);OZa(z,3,q,0,0,0,0,0);n[B+36>>2]=1.0;n[B+40>>2]=0.0;n[B+44>>2]=0.0;n[B+48>>2]=1.0;m=Ow(a,d,I,0,g,f[k>>2]|0,(f[j>>2]|0)/2|0,(b[l>>0]|0)==0?1028:1029,v,B)|0;o=(m|0)==0;if(!o){F=m+8|0;f[F>>2]=(f[F>>2]|0)+1}f[m+560>>2]=1;f[m+564>>2]=2;h=EBb(152)|0;Pw(h,B);h=h+(f[(f[h>>2]|0)+-12>>2]|0)|0;e=f[m+92>>2]|0;if(!e)f0a(m,h);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=h;F=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[F>>2]=(f[F>>2]|0)+1}n[s+36>>2]=0.0;n[s+40>>2]=1.0;n[s+44>>2]=0.0;n[s+48>>2]=1.0;h=Ow(a,d,I,0,i,f[k>>2]|0,(f[j>>2]|0)/2|0,(b[l>>0]|0)==0?1028:1029,q,s)|0;i=(h|0)==0;if(!i){d=h+8|0;f[d>>2]=(f[d>>2]|0)+1}f[h+560>>2]=1;f[h+564>>2]=3;j=EBb(152)|0;Pw(j,s);j=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;e=f[h+92>>2]|0;if(!e)f0a(h,j);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=j;d=j+(f[(f[j>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}b[c+228>>0]=0;do if(!i){a=h+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(h,1,1)}while(0);do if(!o){a=m+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(m,1,1)}while(0);do if(!r){a=q+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(q,1,1)}while(0);do if(!w){a=v+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(v,1,1)}while(0);do if(!t){a=s+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(s,1,1)}while(0);if(C)break;a=B+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break;Rua(B,1,1)}while(0);if(!A?(a=z+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(z,1,1);if(y)break a;a=x+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break a;Rua(x,1,1);break a}case 4:{CZa(c,0);g=G+40|0;h=G+44|0;i=G+110|0;q=Qw(a,d,I,0,0,f[g>>2]|0,f[h>>2]|0,(b[i>>0]|0)==0?1028:1029,-1.0)|0;r=(q|0)==0;if(!r){c=q+8|0;f[c>>2]=(f[c>>2]|0)+1}e=f[L>>2]|0;if((e|0)!=(f[K>>2]|0)){k=f[e>>2]|0;l=(k|0)==0;if(!l){c=k+8|0;f[c>>2]=(f[c>>2]|0)+1}m=Mw(0,f[g>>2]|0,f[h>>2]|0)|0;o=(m|0)==0;if(!o){c=m+8|0;f[c>>2]=(f[c>>2]|0)+1}f[q+568>>2]=1028;e=q+148|0;if(!(f[q+152>>2]|0))f[e>>2]=f[e>>2]&-393217;f[q+572>>2]=1028;b[q+228>>0]=0;f[q+560>>2]=1;f[q+564>>2]=0;DZa(q,0);OZa(q,3,m,0,0,0,0,0);h=Ow(a,d,I,0,0,f[g>>2]|0,f[h>>2]|0,(b[i>>0]|0)==0?1028:1029,m,k)|0;i=(h|0)==0;if(!i){d=h+8|0;f[d>>2]=(f[d>>2]|0)+1}f[h+560>>2]=1;f[h+564>>2]=2;j=EBb(152)|0;Pw(j,k);j=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;e=f[h+92>>2]|0;if(!e)f0a(h,j);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=j;d=j+(f[(f[j>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}if(!i?(a=h+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(h,1,1);if(!o?(a=m+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(m,1,1);if(!l?(a=k+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(k,1,1)}if(r)break a;a=q+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break a;Rua(q,1,1);break a}case 5:{CZa(c,0);g=G+40|0;h=G+44|0;i=G+110|0;q=Qw(a,d,I,0,0,f[g>>2]|0,f[h>>2]|0,(b[i>>0]|0)==0?1028:1029,1.0)|0;r=(q|0)==0;if(!r){c=q+8|0;f[c>>2]=(f[c>>2]|0)+1}e=f[L>>2]|0;if((e|0)!=(f[K>>2]|0)){k=f[e>>2]|0;l=(k|0)==0;if(!l){c=k+8|0;f[c>>2]=(f[c>>2]|0)+1}m=Mw(0,f[g>>2]|0,f[h>>2]|0)|0;o=(m|0)==0;if(!o){c=m+8|0;f[c>>2]=(f[c>>2]|0)+1}f[q+568>>2]=1028;e=q+148|0;if(!(f[q+152>>2]|0))f[e>>2]=f[e>>2]&-393217;f[q+572>>2]=1028;b[q+228>>0]=0;f[q+560>>2]=1;f[q+564>>2]=0;DZa(q,0);OZa(q,3,m,0,0,0,0,0);h=Ow(a,d,I,0,0,f[g>>2]|0,f[h>>2]|0,(b[i>>0]|0)==0?1028:1029,m,k)|0;i=(h|0)==0;if(!i){d=h+8|0;f[d>>2]=(f[d>>2]|0)+1}f[h+560>>2]=1;f[h+564>>2]=1;j=EBb(152)|0;Pw(j,k);j=j+(f[(f[j>>2]|0)+-12>>2]|0)|0;e=f[h+92>>2]|0;if(!e)f0a(h,j);else{while(1){g=f[e+4>>2]|0;if(!g)break;else e=g}f[e+4>>2]=j;d=j+(f[(f[j>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}if(!i?(a=h+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(h,1,1);if(!o?(a=m+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(m,1,1);if(!l?(a=k+8|0,d=f[a>>2]|0,f[a>>2]=d-1,(d|0)==1):0)Rua(k,1,1)}if(r)break a;a=q+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break a;Rua(q,1,1);break a}case 8:case 7:case 6:{CZa(c,0);o=EBb(656)|0;hBa(o);q=o+8|0;f[q>>2]=(f[q>>2]|0)+1;CZa(o,I);s=G+40|0;t=G+44|0;JZa(o,0,0,f[s>>2]|0,f[t>>2]|0);v=G+110|0;e=(b[v>>0]|0)==0?1028:1029;f[o+568>>2]=e;g=o+152|0;h=o+148|0;if(!(f[g>>2]|0)){c=f[h>>2]|0;f[o+572>>2]=e;f[h>>2]=c&-393217}else f[o+572>>2]=e;M2a(o,1);f[o+236>>2]=17664;if(!(f[g>>2]|0))f[h>>2]=f[h>>2]&-16385;f[o+280>>2]=0;f[o+560>>2]=1;f[o+564>>2]=0;f3a(w);f3a(w);f3a(x);f3a(x);Y2a(a,o,w,x,0)|0;n[w>>2]=-1.0;n[w+4>>2]=-1.0;n[w+8>>2]=0.0;n[x>>2]=2.0;n[x+4>>2]=0.0;n[x+8>>2]=0.0;n[y>>2]=0.0;n[y+4>>2]=2.0;n[y+8>>2]=0.0;e=$_a(w,x,y,0.0,0.0,1.0,1.0)|0;g=(e|0)==0;if(!g){c=e+8|0;f[c>>2]=(f[c>>2]|0)+1}h=EBb(160)|0;tZa(h);i=h+8|0;f[i>>2]=(f[i>>2]|0)+1;cj[f[(f[h>>2]|0)+264>>2]&1023](h,e)|0;cj[f[(f[o>>2]|0)+228>>2]&1023](o,h)|0;g0a(h,0);j=HZa(h)|0;k=(j|0)==0;if(!k){c=j+8|0;f[c>>2]=(f[c>>2]|0)+1}l=EBb(84)|0;A2a(l);m=l+8|0;f[m>>2]=(f[m>>2]|0)+1;f[l+56>>2]=519;f[l+60>>2]=1;f[l+64>>2]=-1;f[l+68>>2]=7681;f[l+72>>2]=7681;f[l+76>>2]=7681;f[l+80>>2]=-1;BNa(j,l,1);switch(f[r>>2]|0){case 7:{c=EBb(184)|0;M0a(c,218976);BNa(j,c,1);break}case 6:{c=EBb(184)|0;M0a(c,219104);BNa(j,c,1);break}default:{c=EBb(184)|0;M0a(c,219232);BNa(j,c,1)}}zNa(j,2896,0);zNa(j,2929,0);c=f[m>>2]|0;f[m>>2]=c-1;if((c|0)==1)Rua(l,1,1);if(!k?(F=j+8|0,c=f[F>>2]|0,f[F>>2]=c-1,(c|0)==1):0)Rua(j,1,1);c=f[i>>2]|0;f[i>>2]=c-1;if((c|0)==1)Rua(h,1,1);if(!g?(F=e+8|0,c=f[F>>2]|0,f[F>>2]=c-1,(c|0)==1):0)Rua(e,1,1);c=f[q>>2]|0;f[q>>2]=c-1;if((c|0)==1)Rua(o,1,1);h=Qw(a,d,I,0,0,f[s>>2]|0,f[t>>2]|0,(b[v>>0]|0)==0?1028:1029,-1.0)|0;if(h|0){c=h+8|0;f[c>>2]=(f[c>>2]|0)+1}e=h+236|0;f[e>>2]=0;g=h+148|0;if(!(f[h+152>>2]|0)){c=f[g>>2]&-16385;f[e>>2]=16640;f[g>>2]=c}else f[e>>2]=16640;f[h+560>>2]=1;f[h+564>>2]=1;e=EBb(84)|0;A2a(e);F=e+8|0;f[F>>2]=(f[F>>2]|0)+1;f[e+56>>2]=514;f[e+60>>2]=0;f[e+64>>2]=-1;f[e+68>>2]=7680;f[e+72>>2]=7680;f[e+76>>2]=7680;BNa(HZa(h)|0,e,1);c=f[F>>2]|0;f[F>>2]=c-1;if((c|0)==1)Rua(e,1,1);F=h+8|0;c=f[F>>2]|0;f[F>>2]=c-1;if((c|0)==1)Rua(h,1,1);g=Qw(a,d,I,0,0,f[s>>2]|0,f[t>>2]|0,(b[v>>0]|0)==0?1028:1029,1.0)|0;if(g|0){d=g+8|0;f[d>>2]=(f[d>>2]|0)+1}f[g+236>>2]=256;e=g+148|0;if(!(f[g+152>>2]|0))f[e>>2]=f[e>>2]&-16385;f[g+560>>2]=1;f[g+564>>2]=2;e=EBb(84)|0;A2a(e);a=e+8|0;f[a>>2]=(f[a>>2]|0)+1;f[e+56>>2]=517;f[e+60>>2]=0;f[e+64>>2]=-1;f[e+68>>2]=7680;f[e+72>>2]=7680;f[e+76>>2]=7680;BNa(HZa(g)|0,e,1);d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)==1)Rua(e,1,1);a=g+8|0;d=f[a>>2]|0;f[a>>2]=d-1;if((d|0)!=1)break a;Rua(g,1,1);break a}default:break a}}while(0);if(!H?(d=G+8|0,H=f[d>>2]|0,f[d>>2]=H-1,(H|0)==1):0)Rua(G,1,1);if(!J?(H=I+8|0,J=f[H>>2]|0,f[H>>2]=J-1,(J|0)==1):0)Rua(I,1,1);h=f[L>>2]|0;if(h|0){e=f[K>>2]|0;if((e|0)==(h|0))e=h;else{do{e=e+-4|0;g=f[e>>2]|0;if(g|0?(I=g+8|0,J=f[I>>2]|0,f[I>>2]=J-1,(J|0)==1):0)Rua(g,1,1);f[e>>2]=0}while((e|0)!=(h|0));e=f[L>>2]|0}f[K>>2]=h;GBb(e)}u=M;return}function Lw(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<e>>>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 Mw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=EBb(264)|0;uXa(a);d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;f[a+236>>2]=b;f[a+240>>2]=c;f[a+180>>2]=1;f[a+188>>2]=6407;TUa(a);L$a(a,0,9729);L$a(a,1,9729);c2a(a,0,33071);c2a(a,1,33071);v0a(a)|0;return a|0}function Nw(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;k=u;u=u+256|0;h=k+128|0;i=k;j=EBb(656)|0;hBa(j);l=j+8|0;f[l>>2]=(f[l>>2]|0)+1;jx(j,372500);CZa(j,c);c=EBb(88)|0;pZa(c);f[c>>2]=353328;l=c+56|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;p[c+72>>3]=+(d|0);p[c+80>>3]=+(e|0);IZa(j,c);f[j+568>>2]=1028;c=j+148|0;if(!(f[j+152>>2]|0)){l=f[c>>2]|0;f[j+572>>2]=1028;f[c>>2]=l&-393217}else f[j+572>>2]=1028;b[j+228>>0]=0;DZa(j,0);OZa(j,3,g,0,0,0,0,0);f3a(h);f3a(i);Y2a(a,j,h,i,1)|0;v0a(j)|0;u=k;return j|0}function Ow(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,o=0.0,q=0,r=0,s=0,t=0.0,v=0;v=u;u=u+256|0;r=v+128|0;s=v;o=+n[c+32>>2];t=+S(+(o*.5),+(+n[c+36>>2]))*2.0*180.0/3.141592653589793;o=+n[c+28>>2]/o;q=hx(l)|0;c=HZa(q)|0;ENa(c,0,k,1);zNa(c,2896,0);m=EBb(192)|0;B2a(m);b[m+184>>0]=1;ENa(c,0,m,1);m=EBb(656)|0;hBa(m);c=m+8|0;f[c>>2]=(f[c>>2]|0)+1;CZa(m,d);f[m+236>>2]=16640;c=m+152|0;k=m+148|0;if(!(f[c>>2]|0)){d=f[k>>2]|0;n[m+240>>2]=0.0;n[m+244>>2]=0.0;n[m+248>>2]=0.0;n[m+252>>2]=1.0;f[k>>2]=d&-24577}else{n[m+240>>2]=0.0;n[m+244>>2]=0.0;n[m+248>>2]=0.0;n[m+252>>2]=1.0}d=EBb(88)|0;pZa(d);f[d>>2]=353328;p[d+56>>3]=+(e|0);p[d+64>>3]=+(g|0);p[d+72>>3]=+(h|0);p[d+80>>3]=+(i|0);IZa(m,d);f[m+568>>2]=j;if(!(f[c>>2]|0)){i=f[k>>2]|0;f[m+572>>2]=j;f[k>>2]=i&-393217}else f[m+572>>2]=j;M2a(m,1);f[k>>2]=f[k>>2]&-8194;f3a(r);f3a(r);p[m+432>>3]=+p[r>>3];p[m+440>>3]=+p[r+8>>3];p[m+448>>3]=+p[r+16>>3];p[m+456>>3]=+p[r+24>>3];p[m+464>>3]=+p[r+32>>3];p[m+472>>3]=+p[r+40>>3];p[m+480>>3]=+p[r+48>>3];p[m+488>>3]=+p[r+56>>3];p[m+496>>3]=+p[r+64>>3];p[m+504>>3]=+p[r+72>>3];p[m+512>>3]=+p[r+80>>3];p[m+520>>3]=+p[r+88>>3];p[m+528>>3]=+p[r+96>>3];p[m+536>>3]=+p[r+104>>3];p[m+544>>3]=+p[r+112>>3];p[m+552>>3]=+p[r+120>>3];ywa(m);KZa(m,t,o,.1,1.0e3);cj[f[(f[m>>2]|0)+228>>2]&1023](m,q)|0;j=f[(f[m>>2]|0)+228>>2]|0;l=ix(l)|0;cj[j&1023](m,l)|0;jx(m,372093);f3a(r);f3a(s);Y2a(a,m,r,s,0)|0;v0a(m)|0;u=v;return m|0}function Pw(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=a+116|0;rZa(h);g=a+128|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+140>>2]=2;f[a+144>>2]=0;f[a+112>>2]=0;f[a>>2]=306156;f[a+108>>2]=306408;f[h>>2]=306680;f[a+4>>2]=306252;f[a+8>>2]=c;h=(c|0)==0;if(!h){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}d=a+16|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;p[a+32>>3]=1.0;p[a+40>>3]=1.0;p[a+48>>3]=.1;p[a+56>>3]=.1;p[a+64>>3]=.005;p[a+72>>3]=.005;d=a+80|0;e=a+96|0;g=a+104|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[d+24>>2]=0;a=EBb(120)|0;rZa(a);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;f[a>>2]=305924;b[a+32>>0]=0;n[a+36>>2]=1.0;n[a+40>>2]=1.0;n[a+44>>2]=1.0;n[a+48>>2]=1.0;p[a+56>>3]=-1.0;p[a+64>>3]=-1.0;p[a+72>>3]=1.0;p[a+80>>3]=-1.0;p[a+88>>3]=-1.0;p[a+96>>3]=1.0;p[a+104>>3]=1.0;p[a+112>>3]=1.0;d=f[e>>2]|0;if(((d|0)!=(a|0)?(f[e>>2]=a,e=a+8|0,f[e>>2]=(f[e>>2]|0)+1,d|0):0)?(a=d+8|0,e=f[a>>2]|0,f[a>>2]=e-1,(e|0)==1):0)Rua(d,1,1);a=f[g>>2]|0;if((a|0)==(c|0))return;f[g>>2]=c;if(!h){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}if(!a)return;c=a+8|0;h=f[c>>2]|0;f[c>>2]=h-1;if((h|0)!=1)return;Rua(a,1,1);return}function Qw(a,b,c,d,e,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=+j;var k=0,l=0,m=0,n=0,o=0;n=u;u=u+256|0;l=n+128|0;k=n;m=EBb(656)|0;hBa(m);o=m+8|0;f[o>>2]=(f[o>>2]|0)+1;CZa(m,c);c=EBb(88)|0;pZa(c);f[c>>2]=353328;p[c+56>>3]=+(d|0);p[c+64>>3]=+(e|0);p[c+72>>3]=+(g|0);p[c+80>>3]=+(h|0);IZa(m,c);f[m+568>>2]=i;c=m+148|0;if(!(f[m+152>>2]|0)){o=f[c>>2]|0;f[m+572>>2]=i;f[c>>2]=o&-393217}else f[m+572>>2]=i;f3a(l);f3a(l);f3a(k);f3a(k);Y2a(a,m,l,k,1)|0;d=f[a+20>>2]|0;c=(((f[a+24>>2]|0)-d|0)/272|0)+-1|0;e=EBb(32)|0;o=e+16|0;rZa(o);f[e>>2]=306100;f[o>>2]=306128;f[e+4>>2]=b;if(b|0){o=b+8|0;f[o>>2]=(f[o>>2]|0)+1}p[e+8>>3]=j;c=d+(c*272|0)+268|0;d=f[c>>2]|0;if((d|0)==(e|0)){v0a(m)|0;u=n;return m|0}f[c>>2]=e;o=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[o>>2]=(f[o>>2]|0)+1;if(!d){v0a(m)|0;u=n;return m|0}c=d+(f[(f[d>>2]|0)+-12>>2]|0)|0;b=c+8|0;o=f[b>>2]|0;f[b>>2]=o-1;if((o|0)!=1){v0a(m)|0;u=n;return m|0}Rua(c,1,1);v0a(m)|0;u=n;return m|0}function Rw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0.0;l=u;u=u+128|0;j=l;k=f[c+4>>2]|0;i=WCb(b,299440,276536,0)|0;g=a+4|0;if(!((i|0)!=0&((k|0)!=0&(f[g>>2]|0)!=0))){Bj[f[(f[c>>2]|0)+8>>2]&1023](c,b);u=l;return}h=b+16|0;b=k+148|0;Fj[f[(f[k>>2]|0)+296>>2]&511](k,(f[h>>2]|0)+144|0,f[b>>2]|0);c=a+8|0;if(+p[c>>3]<0.0){f[k+196>>2]=f[k+200>>2];if(!(f[k+152>>2]|0))f[b>>2]=f[b>>2]&-1025;a=f[g>>2]|0;Fj[f[(f[a>>2]|0)+12>>2]&511](j,a,(f[h>>2]|0)+304|0);p[k+304>>3]=+p[j>>3];p[k+312>>3]=+p[j+8>>3];p[k+320>>3]=+p[j+16>>3];p[k+328>>3]=+p[j+24>>3];p[k+336>>3]=+p[j+32>>3];p[k+344>>3]=+p[j+40>>3];p[k+352>>3]=+p[j+48>>3];p[k+360>>3]=+p[j+56>>3];p[k+368>>3]=+p[j+64>>3];p[k+376>>3]=+p[j+72>>3];p[k+384>>3]=+p[j+80>>3];p[k+392>>3]=+p[j+88>>3];p[k+400>>3]=+p[j+96>>3];p[k+408>>3]=+p[j+104>>3];p[k+416>>3]=+p[j+112>>3];p[k+424>>3]=+p[j+120>>3]}else{f[k+196>>2]=f[k+204>>2];if(!(f[k+152>>2]|0))f[b>>2]=f[b>>2]&-1025;a=f[g>>2]|0;Fj[f[(f[a>>2]|0)+20>>2]&511](j,a,(f[h>>2]|0)+304|0);p[k+304>>3]=+p[j>>3];p[k+312>>3]=+p[j+8>>3];p[k+320>>3]=+p[j+16>>3];p[k+328>>3]=+p[j+24>>3];p[k+336>>3]=+p[j+32>>3];p[k+344>>3]=+p[j+40>>3];p[k+352>>3]=+p[j+48>>3];p[k+360>>3]=+p[j+56>>3];p[k+368>>3]=+p[j+64>>3];p[k+376>>3]=+p[j+72>>3];p[k+384>>3]=+p[j+80>>3];p[k+392>>3]=+p[j+88>>3];p[k+400>>3]=+p[j+96>>3];p[k+408>>3]=+p[j+104>>3];p[k+416>>3]=+p[j+112>>3];p[k+424>>3]=+p[j+120>>3]}b=f[g>>2]|0;e=+n[b+36>>2];switch(f[i+120>>2]|0){case 0:{d=+n[i+124>>2];break}case 1:{d=e*+n[i+124>>2];break}default:d=e}m=+p[c>>3];i=m<0.0;d=d/e*(i?-m:m);if(i){Gj[f[(f[b>>2]|0)+16>>2]&3](j,b,(f[h>>2]|0)+432|0,d);p[k+432>>3]=+p[j>>3];p[k+440>>3]=+p[j+8>>3];p[k+448>>3]=+p[j+16>>3];p[k+456>>3]=+p[j+24>>3];p[k+464>>3]=+p[j+32>>3];p[k+472>>3]=+p[j+40>>3];p[k+480>>3]=+p[j+48>>3];p[k+488>>3]=+p[j+56>>3];p[k+496>>3]=+p[j+64>>3];p[k+504>>3]=+p[j+72>>3];p[k+512>>3]=+p[j+80>>3];p[k+520>>3]=+p[j+88>>3];p[k+528>>3]=+p[j+96>>3];p[k+536>>3]=+p[j+104>>3];p[k+544>>3]=+p[j+112>>3];p[k+552>>3]=+p[j+120>>3];ywa(k);u=l;return}else{Gj[f[(f[b>>2]|0)+24>>2]&3](j,b,(f[h>>2]|0)+432|0,d);p[k+432>>3]=+p[j>>3];p[k+440>>3]=+p[j+8>>3];p[k+448>>3]=+p[j+16>>3];p[k+456>>3]=+p[j+24>>3];p[k+464>>3]=+p[j+32>>3];p[k+472>>3]=+p[j+40>>3];p[k+480>>3]=+p[j+48>>3];p[k+488>>3]=+p[j+56>>3];p[k+496>>3]=+p[j+64>>3];p[k+504>>3]=+p[j+72>>3];p[k+512>>3]=+p[j+80>>3];p[k+520>>3]=+p[j+88>>3];p[k+528>>3]=+p[j+96>>3];p[k+536>>3]=+p[j+104>>3];p[k+544>>3]=+p[j+112>>3];p[k+552>>3]=+p[j+120>>3];ywa(k);u=l;return}}function Sw(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=306100;c=a+16|0;f[c>>2]=306128;a=a+4|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 Tw(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=306100;b=a+16|0;f[b>>2]=306128;c=a+4|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 Uw(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]=306100;a=b+16|0;f[a>>2]=306128;b=b+4|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 Vw(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]=306100;b=a+16|0;f[b>>2]=306128;c=a+4|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 Ww(a){a=a|0;var b=0,c=0,d=0,e=0;dx(a,306844);b=a+108|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+112|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+116|0);return}function Xw(a){a=a|0;var b=0,c=0,d=0,e=0;dx(a,306844);b=a+108|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+112|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+116|0);GBb(a);return}function Yw(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0.0,i=0.0,j=0,k=0,l=0.0,m=0.0,o=0,q=0,r=0;r=u;u=u+16|0;o=r;if(!e){a=0;u=r;return a|0}d=_i[f[(f[e>>2]|0)+80>>2]&2047](e)|0;if(!d){a=0;u=r;return a|0}if(!(f[d+288>>2]|0)){a=0;u=r;return a|0}a:do if((_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0)==32){switch(f[c+116>>2]|0){case 8:case 4:break;default:break a}switch(f[c+80>>2]|0){case 103:{d=f[a+104>>2]|0;if(!d){a=1;u=r;return a|0}a=d+32|0;b[a>>0]=b[a>>0]^1;a=1;u=r;return a|0}case 114:{f[a+100>>2]=0;q=f[a+96>>2]|0;p[q+56>>3]=-1.0;p[q+64>>3]=-1.0;p[q+72>>3]=1.0;p[q+80>>3]=-1.0;p[q+88>>3]=-1.0;p[q+96>>3]=1.0;p[q+104>>3]=1.0;p[q+112>>3]=1.0;a=f[a+104>>2]|0;p[a+56>>3]=-1.0;p[a+64>>3]=-1.0;p[a+72>>3]=1.0;p[a+80>>3]=-1.0;p[a+88>>3]=-1.0;p[a+96>>3]=1.0;p[a+104>>3]=1.0;p[a+112>>3]=1.0;a=1;u=r;return a|0}case 115:{ex(f[a+8>>2]|0)|0;a=1;u=r;return a|0}default:break a}}while(0);j=f[c+160>>2]|0;k=(f[c+164>>2]|0)-j|0;g=k>>2;if(!k){a=0;u=r;return a|0}d=0;while(1){k=f[j+(d<<2)>>2]|0;d=d+1|0;if((f[k+16>>2]|0)==(e|0))break;if(d>>>0>=g>>>0){d=0;q=98;break}}if((q|0)==98){u=r;return d|0}i=+n[k+24>>2];i=(+n[k+20>>2]-i)/(+n[k+28>>2]-i)*2.0+-1.0;m=+n[k+36>>2];m=(+n[k+32>>2]-m)/(+n[k+40>>2]-m)*2.0+-1.0;j=a+104|0;d=f[j>>2]|0;if(!d){a=0;u=r;return a|0}if(!(b[d+32>>0]|0)){a=0;u=r;return a|0}switch(_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0){case 1:{h=+p[a+32>>3];if(!(h!=0.0)?!(+p[a+40>>3]!=0.0):0)q=22;else q=20;b:do if((q|0)==20){switch(f[c+116>>2]|0){case 8:case 4:break;default:{q=22;break b}}d=a+40|0}while(0);do if((q|0)==22){h=+p[a+48>>3];if(!(!(h!=0.0)?!(+p[a+56>>3]!=0.0):0))q=24;if((q|0)==24?((f[c+116>>2]|0)+-1|0)>>>0<2:0){d=a+56|0;break}h=+p[a+16>>3];d=a+24|0}while(0);l=+p[d>>3];if(!(l*l+h*h!=0.0)){f[a+100>>2]=0;a=0;u=r;return a|0}d=fx(0,c)|0;f[a+100>>2]=d;d=f[j>>2]|0;g=f[a+96>>2]|0;if((d|0)!=(g|0)){b[g+32>>0]=b[d+32>>0]|0;o=d+36|0;q=g+36|0;f[q>>2]=f[o>>2];f[q+4>>2]=f[o+4>>2];f[q+8>>2]=f[o+8>>2];f[q+12>>2]=f[o+12>>2];q=d+56|0;o=g+56|0;f[o>>2]=f[q>>2];f[o+4>>2]=f[q+4>>2];f[o+8>>2]=f[q+8>>2];f[o+12>>2]=f[q+12>>2];o=d+72|0;q=g+72|0;f[q>>2]=f[o>>2];f[q+4>>2]=f[o+4>>2];f[q+8>>2]=f[o+8>>2];f[q+12>>2]=f[o+12>>2];q=d+88|0;o=g+88|0;f[o>>2]=f[q>>2];f[o+4>>2]=f[q+4>>2];f[o+8>>2]=f[q+8>>2];f[o+12>>2]=f[q+12>>2];o=d+104|0;q=g+104|0;f[q>>2]=f[o>>2];f[q+4>>2]=f[o+4>>2];f[q+8>>2]=f[o+8>>2];f[q+12>>2]=f[o+12>>2]}p[a+80>>3]=i;p[a+88>>3]=m;a=0;u=r;return a|0}case 8:{k=a+100|0;if(!(f[k>>2]|0)){a=0;u=r;return a|0}g=f[a+96>>2]|0;d=f[j>>2]|0;if((g|0)!=(d|0)){b[d+32>>0]=b[g+32>>0]|0;e=g+36|0;q=d+36|0;f[q>>2]=f[e>>2];f[q+4>>2]=f[e+4>>2];f[q+8>>2]=f[e+8>>2];f[q+12>>2]=f[e+12>>2];q=g+56|0;e=d+56|0;f[e>>2]=f[q>>2];f[e+4>>2]=f[q+4>>2];f[e+8>>2]=f[q+8>>2];f[e+12>>2]=f[q+12>>2];e=g+72|0;q=d+72|0;f[q>>2]=f[e>>2];f[q+4>>2]=f[e+4>>2];f[q+8>>2]=f[e+8>>2];f[q+12>>2]=f[e+12>>2];q=g+88|0;e=d+88|0;f[e>>2]=f[q>>2];f[e+4>>2]=f[q+4>>2];f[e+8>>2]=f[q+8>>2];f[e+12>>2]=f[q+12>>2];e=g+104|0;q=d+104|0;f[q>>2]=f[e>>2];f[q+4>>2]=f[e+4>>2];f[q+8>>2]=f[e+8>>2];f[q+12>>2]=f[e+12>>2]}l=i-+p[a+80>>3];i=m-+p[a+88>>3];h=+p[a+32>>3];if(!(h!=0.0)?!(+p[a+40>>3]!=0.0):0)q=39;else q=37;c:do if((q|0)==37){switch(f[c+116>>2]|0){case 8:case 4:break;default:{q=39;break c}}d=a+40|0}while(0);do if((q|0)==39){h=+p[a+48>>3];if(!(!(h!=0.0)?!(+p[a+56>>3]!=0.0):0))q=41;if((q|0)==41?((f[c+116>>2]|0)+-1|0)>>>0<2:0){d=a+56|0;break}h=+p[a+16>>3];d=a+24|0}while(0);q=f[k>>2]|0;m=i*+p[d>>3];p[o>>3]=l*h;p[o+8>>3]=m;gx(a,q,o);a=1;u=r;return a|0}case 2:{f[a+100>>2]=0;a=0;u=r;return a|0}case 32:{if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)==65362){g=fx(0,c)|0;h=+p[a+72>>3];if(!(+p[a+32>>3]!=0.0)?!(+p[a+40>>3]!=0.0):0)q=51;else q=49;d:do if((q|0)==49){switch(f[c+116>>2]|0){case 8:case 4:break;default:{q=51;break d}}d=a+40|0}while(0);do if((q|0)==51){if(!(!(+p[a+48>>3]!=0.0)?!(+p[a+56>>3]!=0.0):0))q=53;if((q|0)==53?((f[c+116>>2]|0)+-1|0)>>>0<2:0){d=a+56|0;break}d=a+24|0}while(0);m=h*+p[d>>3];p[o>>3]=0.0;p[o+8>>3]=m;gx(a,g,o);a=0;u=r;return a|0}if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)==65364){g=fx(0,c)|0;h=+p[a+72>>3];if(!(+p[a+32>>3]!=0.0)?!(+p[a+40>>3]!=0.0):0)q=62;else q=60;e:do if((q|0)==60){switch(f[c+116>>2]|0){case 8:case 4:break;default:{q=62;break e}}d=a+40|0}while(0);do if((q|0)==62){if(!(!(+p[a+48>>3]!=0.0)?!(+p[a+56>>3]!=0.0):0))q=64;if((q|0)==64?((f[c+116>>2]|0)+-1|0)>>>0<2:0){d=a+56|0;break}d=a+24|0}while(0);m=-(h*+p[d>>3]);p[o>>3]=0.0;p[o+8>>3]=m;gx(a,g,o);a=0;u=r;return a|0}if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)==65361){d=fx(0,c)|0;i=+p[a+64>>3];h=+p[a+32>>3];if(!(h!=0.0)?!(+p[a+40>>3]!=0.0):0)q=72;else switch(f[c+116>>2]|0){case 8:case 4:break;default:q=72}do if((q|0)==72){h=+p[a+48>>3];if(!(!(h!=0.0)?!(+p[a+56>>3]!=0.0):0))q=74;if((q|0)==74?((f[c+116>>2]|0)+-1|0)>>>0<2:0)break;h=+p[a+16>>3]}while(0);p[o>>3]=-(i*h);p[o+8>>3]=0.0;gx(a,d,o);a=0;u=r;return a|0}if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)==65363){d=fx(0,c)|0;i=+p[a+64>>3];h=+p[a+32>>3];if(!(h!=0.0)?!(+p[a+40>>3]!=0.0):0)q=81;else switch(f[c+116>>2]|0){case 8:case 4:break;default:q=81}do if((q|0)==81){h=+p[a+48>>3];if(!(!(h!=0.0)?!(+p[a+56>>3]!=0.0):0))q=83;if((q|0)==83?((f[c+116>>2]|0)+-1|0)>>>0<2:0)break;h=+p[a+16>>3]}while(0);p[o>>3]=i*h;p[o+8>>3]=0.0;gx(a,d,o);a=0;u=r;return a|0}if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)!=65463?(_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)!=65429:0){if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)!=65465?(_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)!=65434:0){do if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)!=65459){if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)==65435)break;do if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)!=65457){if((_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)==65436)break;else d=0;u=r;return d|0}while(0);a=f[j>>2]|0;p[a+56>>3]=i;p[a+64>>3]=m;a=0;u=r;return a|0}while(0);a=f[j>>2]|0;p[a+72>>3]=i;p[a+80>>3]=m;a=0;u=r;return a|0}a=f[j>>2]|0;p[a+104>>3]=i;p[a+112>>3]=m;a=0;u=r;return a|0}a=f[j>>2]|0;p[a+88>>3]=i;p[a+96>>3]=m;a=0;u=r;return a|0}default:{a=0;u=r;return a|0}}return 0}function Zw(a){a=a|0;var b=0,c=0,d=0,e=0;dx(a+-4|0,306844);f[a+104>>2]=298888;c=a+112|0;f[c>>2]=299160;b=a+108|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(c);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;e=a+8|0;d=f[e>>2]|0;f[e>>2]=d-1;if((d|0)!=1){f[b>>2]=0;Gva(c);return}Rua(a,1,1);f[b>>2]=0;Gva(c);return}function _w(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;c=a+-4|0;dx(c,306844);f[a+104>>2]=298888;e=a+112|0;f[e>>2]=299160;a=a+108|0;b=f[a>>2]|0;if(b|0?(d=b+(f[(f[b>>2]|0)+-12>>2]|0)|0,g=d+8|0,b=f[g>>2]|0,f[g>>2]=b-1,(b|0)==1):0)Rua(d,1,1);f[a>>2]=0;Gva(e);GBb(c);return}function $w(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;dx(a,306844);b=a+108|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+112|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+116|0);return}function ax(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;dx(a,306844);b=a+108|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+112|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+116|0);GBb(a);return}function bx(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dx(a,306844);b=a+108|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+112|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+116|0);return}function cx(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dx(a,306844);b=a+108|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+112|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+116|0);GBb(a);return}function dx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[b>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+60>>2];f[a+(f[(f[a>>2]|0)+-16>>2]|0)>>2]=f[b+64>>2];f[a+4>>2]=f[b+68>>2];b=a+104|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;b=a+96|0;c=f[b>>2]|0;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[b>>2]=0;b=a+8|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;return}d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[b>>2]=0;return}Rua(c,1,1);f[b>>2]=0;return}function ex(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+32|0;h=j;i=j+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;e=a+28|0;if(f[e>>2]|0){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;g=h+11|0;b[g>>0]=8;c=h;f[c>>2]=1701603686;f[c+4>>2]=1701667182;b[h+8>>0]=0;c=_i[f[(f[a>>2]|0)+116>>2]&2047](a)|0;if(!c){c=f[e>>2]|0;if(!c)c=0;else d=4}else d=4;if((d|0)==4){c=dj[f[(f[c>>2]|0)+200>>2]&255](c,h,0)|0;if((c|0)!=0?(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)==371947:0){UBb(i,c+32|0)|0;c=1}else c=0}if((b[g>>0]|0)<0)GBb(f[h>>2]|0);if(c){c=f[e>>2]|0;d=(c|0)==0;if(!d){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}q0a(a,0);if(qZa(3)|0){k=Nu(Hua(3)|0,372041,21)|0;g=b[i+11>>0]|0;e=g<<24>>24<0;g=Nu(k,e?f[i>>2]|0:i,e?f[i+4>>2]|0:g&255)|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}k=(YZ(0)|0)+160|0;T0(a,i,f[k>>2]|0)|0;q0a(a,c);if(!d?(h=c+8|0,k=f[h>>2]|0,f[h>>2]=k-1,(k|0)==1):0){Rua(c,1,1);c=1}else c=1}else c=0}else c=0;if((b[i+11>>0]|0)>=0){u=j;return c|0}GBb(f[i>>2]|0);u=j;return c|0}function fx(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0;a=f[b+160>>2]|0;e=(f[b+164>>2]|0)-a|0;if(!e){d=+n[b+88>>2];c=+n[b+96>>2];c=(+n[b+108>>2]-c)*2.0/(+n[b+100>>2]-c)+-1.0;d=(+n[b+104>>2]-d)*2.0/(+n[b+92>>2]-d);c=(f[b+120>>2]|0)==0?c:-c}else{b=f[a+((e>>2)+-1<<2)>>2]|0;d=+n[b+24>>2];c=+n[b+36>>2];d=(+n[b+20>>2]-d)/(+n[b+28>>2]-d)*2.0;c=(+n[b+32>>2]-c)/(+n[b+40>>2]-c)*2.0+-1.0}d=d+-1.0;if(d<-.33){if(c<-.33){b=7;return b|0}b=c<.33?8:1;return b|0}a=c<-.33;e=c<.33;if(d<.33){if(a){b=6;return b|0}b=e?9:2;return b|0}else{if(a){b=5;return b|0}b=e?4:3;return b|0}return 0}function gx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do switch(b|0){case 1:{b=f[a+104>>2]|0;a=b+88|0;p[a>>3]=+p[c>>3]+ +p[a>>3];b=b+96|0;a=c+8|0;break}case 2:{b=f[a+104>>2]|0;a=b+88|0;p[a>>3]=+p[c>>3]+ +p[a>>3];a=c+8|0;d=b+96|0;p[d>>3]=+p[a>>3]+ +p[d>>3];d=b+104|0;p[d>>3]=+p[c>>3]+ +p[d>>3];b=b+112|0;break}case 3:{b=f[a+104>>2]|0;a=b+104|0;p[a>>3]=+p[c>>3]+ +p[a>>3];b=b+112|0;a=c+8|0;break}case 4:{b=f[a+104>>2]|0;a=b+104|0;p[a>>3]=+p[c>>3]+ +p[a>>3];a=c+8|0;d=b+112|0;p[d>>3]=+p[a>>3]+ +p[d>>3];d=b+72|0;p[d>>3]=+p[c>>3]+ +p[d>>3];b=b+80|0;break}case 5:{b=f[a+104>>2]|0;a=b+72|0;p[a>>3]=+p[c>>3]+ +p[a>>3];b=b+80|0;a=c+8|0;break}case 6:{b=f[a+104>>2]|0;a=b+72|0;p[a>>3]=+p[c>>3]+ +p[a>>3];a=c+8|0;d=b+80|0;p[d>>3]=+p[a>>3]+ +p[d>>3];d=b+56|0;p[d>>3]=+p[c>>3]+ +p[d>>3];b=b+64|0;break}case 7:{b=f[a+104>>2]|0;a=b+56|0;p[a>>3]=+p[c>>3]+ +p[a>>3];b=b+64|0;a=c+8|0;break}case 8:{b=f[a+104>>2]|0;a=b+56|0;p[a>>3]=+p[c>>3]+ +p[a>>3];a=c+8|0;d=b+64|0;p[d>>3]=+p[a>>3]+ +p[d>>3];d=b+88|0;p[d>>3]=+p[c>>3]+ +p[d>>3];b=b+96|0;break}case 9:{b=f[a+104>>2]|0;a=b+56|0;p[a>>3]=+p[c>>3]+ +p[a>>3];a=c+8|0;d=b+64|0;p[d>>3]=+p[a>>3]+ +p[d>>3];d=b+88|0;p[d>>3]=+p[c>>3]+ +p[d>>3];d=b+96|0;p[d>>3]=+p[a>>3]+ +p[d>>3];d=b+72|0;p[d>>3]=+p[c>>3]+ +p[d>>3];d=b+80|0;p[d>>3]=+p[a>>3]+ +p[d>>3];d=b+104|0;p[d>>3]=+p[c>>3]+ +p[d>>3];b=b+112|0;break}default:return}while(0);p[b>>3]=+p[a>>3]+ +p[b>>3];return}function hx(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=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;z=E;B=EBb(160)|0;tZa(B);C=B+8|0;f[C>>2]=(f[C>>2]|0)+1;C=EBb(280)|0;T_a(C);D=C+8|0;f[D>>2]=(f[D>>2]|0)+1;cj[f[(f[B>>2]|0)+264>>2]&1023](B,C)|0;G_a(C,0);A=EBb(48)|0;y=A+16|0;rZa(y);x=A+28|0;f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;f[A+40>>2]=2;f[A+44>>2]=0;f[A+12>>2]=0;f[A>>2]=306940;f[A+8>>2]=307096;f[y>>2]=307368;f[A+4>>2]=a;if(!a){y=A;a=306940}else{y=a+8|0;f[y>>2]=(f[y>>2]|0)+1;y=A;a=f[A>>2]|0}w=A+(f[a+-16>>2]|0)+8|0;f[w>>2]=(f[w>>2]|0)+1;e0a(C,A+(f[(f[y>>2]|0)+-12>>2]|0)|0);w=EBb(88)|0;v_a(w,1);a=w+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[w+24>>2]=2;a=w+28|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;f[a+20>>2]=0;f[w+52>>2]=29;f[w+56>>2]=4;f[w+60>>2]=5126;f[w+64>>2]=-1;b[w+68>>0]=0;b[w+69>>0]=0;a=w+76|0;f[a>>2]=0;c=w+80|0;f[c>>2]=0;v=w+84|0;f[v>>2]=0;f[w>>2]=308148;f[w+72>>2]=308388;x=w+8|0;f[x>>2]=(f[x>>2]|0)+1;n[z>>2]=1.0;n[z+4>>2]=1.0;n[z+8>>2]=1.0;n[z+12>>2]=1.0;e=f[c>>2]|0;if((e|0)==(f[v>>2]|0))kx(a,z);else{f[e>>2]=f[z>>2];f[e+4>>2]=f[z+4>>2];f[e+8>>2]=f[z+8>>2];f[e+12>>2]=f[z+12>>2];f[c>>2]=(f[c>>2]|0)+16}W_a(C,w,1);r=EBb(88)|0;v_a(r,1);c=r+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[r+24>>2]=2;c=r+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[r+52>>2]=28;f[r+56>>2]=3;f[r+60>>2]=5126;f[r+64>>2]=-1;b[r+68>>0]=0;b[r+69>>0]=0;c=r+76|0;f[c>>2]=0;e=r+80|0;f[e>>2]=0;f[r+84>>2]=0;f[r>>2]=308404;f[r+72>>2]=308644;s=r+8|0;f[s>>2]=(f[s>>2]|0)+1;Lwa(C,r);t=EBb(88)|0;v_a(t,1);i=t+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[t+24>>2]=2;i=t+28|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;f[t+52>>2]=27;f[t+56>>2]=2;f[t+60>>2]=5126;f[t+64>>2]=-1;b[t+68>>0]=0;b[t+69>>0]=0;i=t+76|0;f[i>>2]=0;j=t+80|0;f[j>>2]=0;f[t+84>>2]=0;f[t>>2]=308660;f[t+72>>2]=308900;v=t+8|0;f[v>>2]=(f[v>>2]|0)+1;Rwa(C,0,t,-1);n[z>>2]=0.0;n[z+4>>2]=0.0;n[z+8>>2]=0.0;g=f[c>>2]|0;h=(f[e>>2]|0)-g|0;a=(h|0)/12|0;if(a>>>0>=49){if((h|0)!=588)f[e>>2]=g+588}else mx(c,49-a|0,z);n[z>>2]=0.0;n[z+4>>2]=0.0;a=f[i>>2]|0;c=(f[j>>2]|0)-a|0;e=c>>3;if(e>>>0>=49){if((c|0)!=392)f[j>>2]=a+392}else{Sx(i,49-e|0,z);a=f[i>>2]|0}n[a>>2]=0.0;n[a+4>>2]=0.0;n[a+8>>2]=.1666666716337204;n[a+12>>2]=0.0;n[a+16>>2]=.3333333432674408;n[a+20>>2]=0.0;n[a+24>>2]=.5;n[a+28>>2]=0.0;n[a+32>>2]=.6666666865348816;n[a+36>>2]=0.0;n[a+40>>2]=.8333333134651184;n[a+44>>2]=0.0;n[a+48>>2]=1.0;n[a+52>>2]=0.0;n[a+56>>2]=0.0;n[a+60>>2]=.1666666716337204;n[a+64>>2]=.1666666716337204;n[a+68>>2]=.1666666716337204;n[a+72>>2]=.3333333432674408;n[a+76>>2]=.1666666716337204;n[a+80>>2]=.5;n[a+84>>2]=.1666666716337204;n[a+88>>2]=.6666666865348816;n[a+92>>2]=.1666666716337204;n[a+96>>2]=.8333333134651184;n[a+100>>2]=.1666666716337204;n[a+104>>2]=1.0;n[a+108>>2]=.1666666716337204;n[a+112>>2]=0.0;n[a+116>>2]=.3333333432674408;n[a+120>>2]=.1666666716337204;n[a+124>>2]=.3333333432674408;n[a+128>>2]=.3333333432674408;n[a+132>>2]=.3333333432674408;n[a+136>>2]=.5;n[a+140>>2]=.3333333432674408;n[a+144>>2]=.6666666865348816;n[a+148>>2]=.3333333432674408;n[a+152>>2]=.8333333134651184;n[a+156>>2]=.3333333432674408;n[a+160>>2]=1.0;n[a+164>>2]=.3333333432674408;n[a+168>>2]=0.0;n[a+172>>2]=.5;n[a+176>>2]=.1666666716337204;n[a+180>>2]=.5;n[a+184>>2]=.3333333432674408;n[a+188>>2]=.5;n[a+192>>2]=.5;n[a+196>>2]=.5;n[a+200>>2]=.6666666865348816;n[a+204>>2]=.5;n[a+208>>2]=.8333333134651184;n[a+212>>2]=.5;n[a+216>>2]=1.0;n[a+220>>2]=.5;n[a+224>>2]=0.0;n[a+228>>2]=.6666666865348816;n[a+232>>2]=.1666666716337204;n[a+236>>2]=.6666666865348816;n[a+240>>2]=.3333333432674408;n[a+244>>2]=.6666666865348816;n[a+248>>2]=.5;n[a+252>>2]=.6666666865348816;n[a+256>>2]=.6666666865348816;n[a+260>>2]=.6666666865348816;n[a+264>>2]=.8333333134651184;n[a+268>>2]=.6666666865348816;n[a+272>>2]=1.0;n[a+276>>2]=.6666666865348816;n[a+280>>2]=0.0;n[a+284>>2]=.8333333134651184;n[a+288>>2]=.1666666716337204;n[a+292>>2]=.8333333134651184;n[a+296>>2]=.3333333432674408;n[a+300>>2]=.8333333134651184;n[a+304>>2]=.5;n[a+308>>2]=.8333333134651184;n[a+312>>2]=.6666666865348816;n[a+316>>2]=.8333333134651184;n[a+320>>2]=.8333333134651184;n[a+324>>2]=.8333333134651184;n[a+328>>2]=1.0;n[a+332>>2]=.8333333134651184;n[a+336>>2]=0.0;n[a+340>>2]=1.0;n[a+344>>2]=.1666666716337204;n[a+348>>2]=1.0;n[a+352>>2]=.3333333432674408;n[a+356>>2]=1.0;n[a+360>>2]=.5;n[a+364>>2]=1.0;n[a+368>>2]=.6666666865348816;n[a+372>>2]=1.0;n[a+376>>2]=.8333333134651184;n[a+380>>2]=1.0;n[a+384>>2]=1.0;n[a+388>>2]=1.0;p=EBb(80)|0;v_a(p,1);k=p+12|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[p+24>>2]=2;k=p+28|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;f[p+52>>2]=4;f[p+56>>2]=0;f[p+60>>2]=4;k=p+68|0;f[k>>2]=0;l=p+72|0;f[l>>2]=0;m=p+76|0;f[m>>2]=0;f[p>>2]=346872;f[p+64>>2]=347136;q=p+8|0;f[q>>2]=(f[q>>2]|0)+1;yNa(C,p)|0;j=0;do{o=j*7|0;i=0;do{h=i+o|0;g=h+7&65535;d[z>>1]=g;a=f[l>>2]|0;c=f[m>>2]|0;if((a|0)==(c|0)){Nz(k,z);e=f[l>>2]|0;c=f[m>>2]|0}else{d[a>>1]=g;e=a+2|0;f[l>>2]=e}a=h&65535;d[z>>1]=a;if((e|0)==(c|0)){Nz(k,z);a=f[l>>2]|0;c=f[m>>2]|0}else{d[e>>1]=a;a=e+2|0;f[l>>2]=a}e=h+1&65535;d[z>>1]=e;if((a|0)==(c|0)){Nz(k,z);a=f[l>>2]|0;c=f[m>>2]|0}else{d[a>>1]=e;a=a+2|0;f[l>>2]=a}d[z>>1]=g;if((a|0)==(c|0)){Nz(k,z);a=f[l>>2]|0;c=f[m>>2]|0}else{d[a>>1]=g;a=a+2|0;f[l>>2]=a}d[z>>1]=e;if((a|0)==(c|0)){Nz(k,z);e=f[l>>2]|0;c=f[m>>2]|0}else{d[a>>1]=e;e=a+2|0;f[l>>2]=e}a=h+8&65535;d[z>>1]=a;if((e|0)==(c|0))Nz(k,z);else{d[e>>1]=a;f[l>>2]=e+2}i=i+1|0}while(i>>>0<6);j=j+1|0}while(j>>>0<6);zNa(HZa(C)|0,2896,0);a=HZa(C)|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;c=z+11|0;b[c>>0]=9;e=z;g=378215;h=e+9|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[z+9>>0]=0;H0a(a,0,z,1);if((b[c>>0]|0)<0)GBb(f[z>>2]|0);o=HZa(C)|0;z=EBb(64)|0;N0a(z);FZa(o,z,5);nx(A,C);v0a(B)|0;z=f[q>>2]|0;f[q>>2]=z-1;if((z|0)==1)Rua(p,1,1);z=f[v>>2]|0;f[v>>2]=z-1;if((z|0)==1)Rua(t,1,1);z=f[s>>2]|0;f[s>>2]=z-1;if((z|0)==1)Rua(r,1,1);z=f[x>>2]|0;f[x>>2]=z-1;if((z|0)==1)Rua(w,1,1);a=A+(f[(f[y>>2]|0)+-16>>2]|0)|0;z=a+8|0;A=f[z>>2]|0;f[z>>2]=A-1;if((A|0)==1)Rua(a,1,1);A=f[D>>2]|0;f[D>>2]=A-1;if((A|0)!=1){u=E;return B|0}Rua(C,1,1);u=E;return B|0}function ix(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,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.0,F=0,G=0.0,H=0;D=u;u=u+32|0;l=D+24|0;z=D+8|0;t=D;A=EBb(160)|0;tZa(A);B=A+8|0;f[B>>2]=(f[B>>2]|0)+1;B=EBb(280)|0;T_a(B);C=B+8|0;f[C>>2]=(f[C>>2]|0)+1;cj[f[(f[A>>2]|0)+264>>2]&1023](A,B)|0;G_a(B,0);y=EBb(48)|0;d=y+16|0;rZa(d);x=y+28|0;f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;f[y+40>>2]=2;f[y+44>>2]=0;f[y+12>>2]=0;f[y>>2]=306940;f[y+8>>2]=307096;f[d>>2]=307368;f[y+4>>2]=a;d=(a|0)==0;if(d){x=y;c=306940}else{x=a+8|0;f[x>>2]=(f[x>>2]|0)+1;x=y;c=f[y>>2]|0}e=y+(f[c+-16>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;e0a(B,y+(f[(f[x>>2]|0)+-12>>2]|0)|0);e=EBb(48)|0;w=e+16|0;rZa(w);v=e+28|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[e+40>>2]=2;f[e+44>>2]=0;f[e+12>>2]=0;f[e>>2]=307548;f[e+8>>2]=307704;f[w>>2]=307976;f[e+4>>2]=a;if(d)c=307548;else{c=a+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[e>>2]|0}c=e+(f[c+-12>>2]|0)|0;d=B+100|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,w=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0,f[w>>2]=(f[w>>2]|0)+1,e|0):0)?(g=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,v=g+8|0,w=f[v>>2]|0,f[v>>2]=w-1,(w|0)==1):0)Rua(g,1,1);v=EBb(88)|0;v_a(v,1);e=v+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[v+24>>2]=2;e=v+28|0;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[v+52>>2]=29;f[v+56>>2]=4;f[v+60>>2]=5126;f[v+64>>2]=-1;b[v+68>>0]=0;b[v+69>>0]=0;e=v+76|0;f[e>>2]=0;g=v+80|0;f[g>>2]=0;s=v+84|0;f[s>>2]=0;f[v>>2]=308148;f[v+72>>2]=308388;w=v+8|0;f[w>>2]=(f[w>>2]|0)+1;c=a+36|0;d=f[g>>2]|0;if((d|0)==(f[s>>2]|0))kx(e,c);else{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[g>>2]=(f[g>>2]|0)+16}W_a(B,v,1);s=EBb(88)|0;v_a(s,1);m=s+12|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[s+24>>2]=2;m=s+28|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;f[m+20>>2]=0;f[s+52>>2]=28;f[s+56>>2]=3;f[s+60>>2]=5126;f[s+64>>2]=-1;b[s+68>>0]=0;b[s+69>>0]=0;m=s+76|0;f[m>>2]=0;o=s+80|0;f[o>>2]=0;f[s+84>>2]=0;f[s>>2]=308404;f[s+72>>2]=308644;p=s+8|0;f[p>>2]=(f[p>>2]|0)+1;Lwa(B,s);q=EBb(88)|0;v_a(q,1);i=q+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[q+24>>2]=2;i=q+28|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;f[q+52>>2]=27;f[q+56>>2]=2;f[q+60>>2]=5126;f[q+64>>2]=-1;b[q+68>>0]=0;b[q+69>>0]=0;i=q+76|0;f[i>>2]=0;j=q+80|0;f[j>>2]=0;k=q+84|0;f[k>>2]=0;f[q>>2]=308660;f[q+72>>2]=308900;r=q+8|0;f[r>>2]=(f[r>>2]|0)+1;Rwa(B,0,q,-1);n[l>>2]=0.0;h=l+4|0;n[h>>2]=0.0;c=f[j>>2]|0;d=c-(f[i>>2]|0)>>3;if((f[k>>2]|0)==(c|0)){lx(i,l);c=f[j>>2]|0}else{g=l;a=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=a;c=(f[j>>2]|0)+8|0;f[j>>2]=c}E=+n[h>>2]+0.0;n[z>>2]=+n[l>>2]+1.0;n[z+4>>2]=E;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{g=z;a=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=a;c=(f[j>>2]|0)+8|0;f[j>>2]=c}E=+n[h>>2]+0.0+1.0;n[z>>2]=+n[l>>2]+1.0+0.0;n[z+4>>2]=E;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{g=z;a=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=a;c=(f[j>>2]|0)+8|0;f[j>>2]=c}E=+n[h>>2]+1.0;n[z>>2]=+n[l>>2]+0.0;n[z+4>>2]=E;if((c|0)==(f[k>>2]|0))lx(i,z);else{e=z;g=f[e+4>>2]|0;a=c;f[a>>2]=f[e>>2];f[a+4>>2]=g;f[j>>2]=(f[j>>2]|0)+8}c=EBb(72)|0;v_a(c,1);g=c+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[c+24>>2]=2;g=c+28|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;f[c+52>>2]=1;f[c+56>>2]=0;f[c+60>>2]=2;f[c>>2]=349328;f[c+64>>2]=d;f[c+68>>2]=4;yNa(B,c)|0;c=f[j>>2]|0;g=c-(f[i>>2]|0)>>3;e=l;d=f[e>>2]|0;e=f[e+4>>2]|0;a=z;f[a>>2]=d;f[a+4>>2]=e;a=z+4|0;if((f[k>>2]|0)==(c|0)){lx(i,z);c=f[j>>2]|0}else{f[c>>2]=d;f[c+4>>2]=e;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{d=z;e=f[d+4>>2]|0;f[c>>2]=f[d>>2];f[c+4>>2]=e;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{d=z;e=f[d+4>>2]|0;f[c>>2]=f[d>>2];f[c+4>>2]=e;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{d=z;e=f[d+4>>2]|0;f[c>>2]=f[d>>2];f[c+4>>2]=e;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{d=z;e=f[d+4>>2]|0;f[c>>2]=f[d>>2];f[c+4>>2]=e;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{d=z;e=f[d+4>>2]|0;f[c>>2]=f[d>>2];f[c+4>>2]=e;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0))lx(i,z);else{F=z;d=f[F+4>>2]|0;e=c;f[e>>2]=f[F>>2];f[e+4>>2]=d;f[j>>2]=(f[j>>2]|0)+8}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+.1666666716337204;c=EBb(72)|0;v_a(c,1);d=c+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[c+24>>2]=2;d=c+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[c+52>>2]=1;f[c+56>>2]=0;f[c+60>>2]=3;f[c>>2]=349328;f[c+64>>2]=g;f[c+68>>2]=7;yNa(B,c)|0;c=f[j>>2]|0;d=c-(f[i>>2]|0)>>3;E=+n[h>>2]+1.0;n[z>>2]=+n[l>>2]+0.0;n[z+4>>2]=E;if((f[k>>2]|0)==(c|0)){lx(i,z);c=f[j>>2]|0}else{g=z;F=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+-.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{g=z;F=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+-.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{g=z;F=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+-.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{g=z;F=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+-.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{g=z;F=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+-.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{g=z;F=f[g+4>>2]|0;f[c>>2]=f[g>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+-.1666666716337204;if((c|0)==(f[k>>2]|0))lx(i,z);else{e=z;g=f[e+4>>2]|0;F=c;f[F>>2]=f[e>>2];f[F+4>>2]=g;f[j>>2]=(f[j>>2]|0)+8}n[z>>2]=+n[z>>2]+.1666666716337204;n[a>>2]=+n[a>>2]+-.1666666716337204;c=EBb(72)|0;v_a(c,1);g=c+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[c+24>>2]=2;g=c+28|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;f[c+52>>2]=1;f[c+56>>2]=0;f[c+60>>2]=3;f[c>>2]=349328;f[c+64>>2]=d;f[c+68>>2]=7;yNa(B,c)|0;c=f[j>>2]|0;g=c-(f[i>>2]|0)>>3;G=+n[l>>2]+.1666666716337204;E=+n[h>>2]+0.0;n[z>>2]=G;d=z+4|0;n[d>>2]=E;n[t>>2]=G+0.0;e=t+4|0;n[e>>2]=E+1.0;if((f[k>>2]|0)==(c|0)){lx(i,z);c=f[j>>2]|0}else{a=z;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{a=t;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[d>>2]=+n[d>>2]+0.0;n[t>>2]=+n[t>>2]+.1666666716337204;n[e>>2]=+n[e>>2]+0.0;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{a=z;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{a=t;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[d>>2]=+n[d>>2]+0.0;n[t>>2]=+n[t>>2]+.1666666716337204;n[e>>2]=+n[e>>2]+0.0;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{a=z;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{a=t;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[d>>2]=+n[d>>2]+0.0;n[t>>2]=+n[t>>2]+.1666666716337204;n[e>>2]=+n[e>>2]+0.0;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{a=z;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{a=t;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+.1666666716337204;n[d>>2]=+n[d>>2]+0.0;n[t>>2]=+n[t>>2]+.1666666716337204;n[e>>2]=+n[e>>2]+0.0;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{a=z;F=f[a+4>>2]|0;f[c>>2]=f[a>>2];f[c+4>>2]=F;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0))lx(i,t);else{H=t;a=f[H+4>>2]|0;F=c;f[F>>2]=f[H>>2];f[F+4>>2]=a;f[j>>2]=(f[j>>2]|0)+8}n[z>>2]=+n[z>>2]+.1666666716337204;n[d>>2]=+n[d>>2]+0.0;n[t>>2]=+n[t>>2]+.1666666716337204;n[e>>2]=+n[e>>2]+0.0;c=EBb(72)|0;v_a(c,1);d=c+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[c+24>>2]=2;d=c+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[c+52>>2]=1;f[c+56>>2]=0;f[c+60>>2]=1;f[c>>2]=349328;f[c+64>>2]=g;f[c+68>>2]=10;yNa(B,c)|0;c=f[j>>2]|0;g=c-(f[i>>2]|0)>>3;E=+n[l>>2]+0.0;G=+n[h>>2]+.1666666716337204;n[z>>2]=E;d=z+4|0;n[d>>2]=G;n[t>>2]=E+1.0;e=t+4|0;n[e>>2]=G+0.0;if((f[k>>2]|0)==(c|0)){lx(i,z);c=f[j>>2]|0}else{F=z;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{F=t;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+0.0;n[d>>2]=+n[d>>2]+.1666666716337204;n[t>>2]=+n[t>>2]+0.0;n[e>>2]=+n[e>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{F=z;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{F=t;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+0.0;n[d>>2]=+n[d>>2]+.1666666716337204;n[t>>2]=+n[t>>2]+0.0;n[e>>2]=+n[e>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{F=z;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{F=t;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+0.0;n[d>>2]=+n[d>>2]+.1666666716337204;n[t>>2]=+n[t>>2]+0.0;n[e>>2]=+n[e>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{F=z;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0)){lx(i,t);c=f[j>>2]|0}else{F=t;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}n[z>>2]=+n[z>>2]+0.0;n[d>>2]=+n[d>>2]+.1666666716337204;n[t>>2]=+n[t>>2]+0.0;n[e>>2]=+n[e>>2]+.1666666716337204;if((c|0)==(f[k>>2]|0)){lx(i,z);c=f[j>>2]|0}else{F=z;H=f[F+4>>2]|0;f[c>>2]=f[F>>2];f[c+4>>2]=H;c=(f[j>>2]|0)+8|0;f[j>>2]=c}if((c|0)==(f[k>>2]|0))lx(i,t);else{l=t;F=f[l+4>>2]|0;H=c;f[H>>2]=f[l>>2];f[H+4>>2]=F;f[j>>2]=(f[j>>2]|0)+8}n[z>>2]=+n[z>>2]+0.0;n[d>>2]=+n[d>>2]+.1666666716337204;n[t>>2]=+n[t>>2]+0.0;n[e>>2]=+n[e>>2]+.1666666716337204;d=EBb(72)|0;v_a(d,1);e=d+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[d+24>>2]=2;e=d+28|0;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[d+52>>2]=1;f[d+56>>2]=0;f[d+60>>2]=1;f[d>>2]=349328;f[d+64>>2]=g;f[d+68>>2]=10;yNa(B,d)|0;d=(f[j>>2]|0)-(f[i>>2]|0)>>3;n[z>>2]=0.0;n[z+4>>2]=0.0;n[z+8>>2]=0.0;e=f[m>>2]|0;c=((f[o>>2]|0)-e|0)/12|0;do if(d>>>0>c>>>0)mx(m,d-c|0,z);else{if(d>>>0>=c>>>0)break;f[o>>2]=e+(d*12|0)}while(0);zNa(HZa(B)|0,2896,0);zNa(HZa(B)|0,2929,0);c=HZa(B)|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;d=z+11|0;b[d>>0]=9;e=z;g=378215;a=e+9|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(a|0));b[z+9>>0]=0;H0a(c,1,z,1);if((b[d>>0]|0)<0)GBb(f[z>>2]|0);nx(y,B);v0a(A)|0;H=f[r>>2]|0;f[r>>2]=H-1;if((H|0)==1)Rua(q,1,1);H=f[p>>2]|0;f[p>>2]=H-1;if((H|0)==1)Rua(s,1,1);H=f[w>>2]|0;f[w>>2]=H-1;if((H|0)==1)Rua(v,1,1);c=y+(f[(f[x>>2]|0)+-16>>2]|0)|0;F=c+8|0;H=f[F>>2]|0;f[F>>2]=H-1;if((H|0)==1)Rua(c,1,1);H=f[C>>2]|0;f[C>>2]=H-1;if((H|0)!=1){u=D;return A|0}Rua(B,1,1);u=D;return A|0}function jx(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;e=j;g=f[(f[a>>2]|0)+136>>2]|0;if(!c){f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;Bj[g&1023](a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);u=j;return};f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;h=Rmb(c)|0;if(h>>>0>4294967279)MBb(e);if(h>>>0<11){b[e+11>>0]=h;if(!h)d=e;else{d=e;i=7}}else{i=h+16&-16;d=EBb(i)|0;f[e>>2]=d;f[e+8>>2]=i|-2147483648;f[e+4>>2]=h;i=7}if((i|0)==7)YDb(d|0,c|0,h|0)|0;b[d+h>>0]=0;Bj[g&1023](a,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);u=j;return}function kx(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>>4;c=g+1|0;if(c>>>0>268435455)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>3;h=e>>4>>>0<134217727?(h>>>0<c>>>0?c:h):268435455;do if(h)if(h>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<4)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<4)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+16;f[l>>2]=d+(h<<4);if(!j)return;GBb(j);return}function lx(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;i=a+4|0;j=f[a>>2]|0;k=(f[i>>2]|0)-j|0;g=k>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;m=b;g=f[m+4>>2]|0;b=c;f[b>>2]=f[m>>2];f[b+4>>2]=g;if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function mx(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)/12|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];d=(f[l>>2]|0)+12|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=(d-e|0)/12|0;j=h+b|0;if(j>>>0>357913941)DCb(a);i=(g-e|0)/12|0;d=i<<1;d=i>>>0<178956970?(d>>>0<j>>>0?j:d):357913941;do if(d)if(d>>>0>357913941){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d*12|0)|0;break}else i=0;while(0);g=i+(h*12|0)|0;h=i+(d*12|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];b=b+-1|0;if(!b)break;else d=d+12|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(((e|0)/-12|0)*12|0)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j*12|0);f[k>>2]=h;if(!b)return;GBb(b);return}function nx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0.0,h=0.0,i=0,j=0.0,k=0,l=0.0,m=0,o=0.0,p=0,q=0.0,r=0,s=0.0,t=0,v=0.0,w=0,x=0.0,y=0,z=0,A=0.0,B=0.0,C=0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0;I=u;u=u+48|0;z=I+36|0;F=I+24|0;t=I+12|0;m=I;if(!b){u=I;return}c=f[b+232>>2]|0;if(!c){u=I;return}d=WCb(c,295184,279368,0)|0;if(!d){u=I;return}c=U_a(b,0)|0;if(!c){u=I;return}e=WCb(c,295184,279400,0)|0;if(!e){u=I;return}n[z>>2]=0.0;w=z+4|0;n[w>>2]=0.0;y=z+8|0;n[y>>2]=0.0;n[F>>2]=0.0;C=F+4|0;n[C>>2]=0.0;E=F+8|0;n[E>>2]=0.0;n[t>>2]=0.0;p=t+4|0;n[p>>2]=0.0;r=t+8|0;n[r>>2]=0.0;n[m>>2]=0.0;i=m+4|0;n[i>>2]=0.0;k=m+8|0;n[k>>2]=0.0;G=f[a+4>>2]|0;H=Dxa()|0;ox(G,f[H>>2]|0,z,F,t,m);H=d+76|0;G=d+80|0;c=f[H>>2]|0;if((f[G>>2]|0)!=(c|0)){d=e+76|0;D=+n[m>>2];B=+n[i>>2];A=+n[k>>2];x=+n[t>>2];v=+n[p>>2];s=+n[r>>2];q=+n[z>>2];o=+n[w>>2];l=+n[y>>2];j=+n[F>>2];h=+n[C>>2];g=+n[E>>2];a=0;do{F=c;E=f[d>>2]|0;N=+n[E+(a<<3)>>2];K=1.0-N;J=+n[E+(a<<3)+4>>2];L=1.0-J;M=K*L;L=N*L;K=K*J;J=N*J;n[F+(a*12|0)>>2]=D*M+L*x+K*q+J*j;n[F+(a*12|0)+4>>2]=B*M+L*v+K*o+J*h;n[F+(a*12|0)+8>>2]=M*A+L*s+K*l+J*g;a=a+1|0;c=f[H>>2]|0}while(a>>>0<(((f[G>>2]|0)-c|0)/12|0)>>>0)}ywa(b);u=I;return}function ox(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0.0,h=0.0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,o=0.0,q=0,r=0.0,s=0,t=0.0,u=0,v=0,w=0.0,x=0.0;u=a+104|0;i=+p[u>>3];q=a+72|0;l=+p[q>>3];x=i-l;v=a+112|0;k=+p[v>>3];s=a+80|0;m=+p[s>>3];h=k-m;h=+K(+(x*x+h*h));x=+p[a+88>>3];j=a+56|0;g=+p[j>>3];t=x-g;w=+p[a+96>>3];a=a+64|0;o=+p[a>>3];r=w-o;r=h/+K(+(t*t+r*r));t=+K(+r);i=i-x;k=k-w;g=l-g;o=m-o;o=+K(+(i*i+k*k))/+K(+(g*g+o*o));g=+K(+o);k=+n[b+28>>2]*.5;i=+n[b+32>>2]*.5;m=-+n[b+36>>2];l=t;h=m*l;o=g/o;n[c>>2]=x*k*l*o;n[c+4>>2]=w*i*l*o;n[c+8>>2]=h*o;r=t/r;m=m*r;t=r*(i*+p[v>>3])*o;n[d>>2]=r*(k*+p[u>>3])*o;n[d+4>>2]=t;n[d+8>>2]=m*o;o=r*(i*+p[s>>3])*g;n[e>>2]=r*(k*+p[q>>3])*g;n[e+4>>2]=o;n[e+8>>2]=m*g;i=l*(i*+p[a>>3])*g;n[f>>2]=l*(k*+p[j>>3])*g;n[f+4>>2]=i;n[f+8>>2]=h*g;return}function px(a){a=a|0;var b=0;f[a+72>>2]=308916;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function qx(a){a=a|0;var b=0;f[a+72>>2]=308916;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function rx(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]=27;f[a+56>>2]=2;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]=308660;f[a+72>>2]=308900;return a|0}function sx(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;Ux(c,a,b);return c|0}function tx(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,295184,0)|0)!=0;return b|0}function ux(a){a=a|0;return 409756}function vx(a){a=a|0;return 0}function wx(a){a=a|0;return 0}function xx(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 yx(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function zx(a){a=a|0;return a|0}function Ax(a){a=a|0;return a|0}function Bx(a){a=a|0;return 0}function Cx(a){a=a|0;return 0}function Dx(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+116>>2]&1023](b,a);return}function Ex(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+116>>2]&1023](b,a);return}function Fx(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+112>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function Gx(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+112>>2]&1023](c,(f[a+76>>2]|0)+(b<<3)|0);return}function Hx(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<<3)>>2];e=+n[a+(c<<3)>>2];if(d<e){c=-1;return c|0}if(!(d>e)){if(+n[a+(b<<3)+4>>2]<+n[a+(c<<3)+4>>2]){c=-1;return c|0}if(!(+n[a+(c<<3)+4>>2]<+n[a+(b<<3)+4>>2])){c=0;return c|0}}c=1;return c|0}function Ix(a){a=a|0;return 8}function Jx(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 Kx(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>3|0}function Lx(a,b){a=a|0;b=b|0;Tx(a+76|0,b);return}function Mx(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;n[e+4>>2]=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<b>>>0){Sx(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 Nx(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]=308916;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]=308916;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function Ox(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=308916;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Px(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=308916;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Qx(a){a=a|0;var b=0;f[a>>2]=308916;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function Rx(a){a=a|0;var b=0;f[a>>2]=308916;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);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,m=0,n=0;k=a+8|0;g=f[k>>2]|0;l=a+4|0;d=f[l>>2]|0;if(g-d>>3>>>0>=b>>>0){do{j=c;a=f[j+4>>2]|0;k=d;f[k>>2]=f[j>>2];f[k+4>>2]=a;d=(f[l>>2]|0)+8|0;f[l>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;h=d-e>>3;j=h+b|0;if(j>>>0>536870911)DCb(a);i=g-e|0;d=i>>2;d=i>>3>>>0<268435455?(d>>>0<j>>>0?j:d):536870911;do if(d)if(d>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{i=EBb(d<<3)|0;break}else i=0;while(0);g=i+(h<<3)|0;h=i+(d<<3)|0;d=g;while(1){n=c;m=f[n+4>>2]|0;e=d;f[e>>2]=f[n>>2];f[e+4>>2]=m;b=b+-1|0;if(!b)break;else d=d+8|0}b=f[a>>2]|0;e=(f[l>>2]|0)-b|0;d=g+(0-(e>>3)<<3)|0;if((e|0)>0)YDb(d|0,b|0,e|0)|0;f[a>>2]=d;f[l>>2]=i+(j<<3);f[k>>2]=h;if(!b)return;GBb(b);return}function Tx(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 Ux(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]=308916;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]=308660;f[k>>2]=308900;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]=308660;f[k>>2]=308900;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>3<<3);f[a>>2]=308660;f[k>>2]=308900;return}function Vx(a){a=a|0;var b=0;f[a+72>>2]=308932;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Wx(a){a=a|0;var b=0;f[a+72>>2]=308932;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Xx(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]=28;f[a+56>>2]=3;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]=308404;f[a+72>>2]=308644;return a|0}function Yx(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;py(c,a,b);return c|0}function Zx(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 _x(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function $x(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+120>>2]&1023](b,a);return}function ay(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+120>>2]&1023](b,a);return}function by(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+116>>2]&1023](c,(f[a+76>>2]|0)+(b*12|0)|0);return}function cy(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+116>>2]&1023](c,(f[a+76>>2]|0)+(b*12|0)|0);return}function dy(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*12|0)>>2];e=+n[a+(c*12|0)>>2];if(d<e){c=-1;return c|0}if(!(d>e)){d=+n[a+(b*12|0)+4>>2];e=+n[a+(c*12|0)+4>>2];if(d<e){c=-1;return c|0}if(!(d>e)?+n[a+(b*12|0)+8>>2]<+n[a+(c*12|0)+8>>2]:0){c=-1;return c|0}d=+n[a+(c*12|0)+4>>2];e=+n[a+(b*12|0)+4>>2];if(!(d<e)){if(d>e){c=0;return c|0}if(!(+n[a+(c*12|0)+8>>2]<+n[a+(b*12|0)+8>>2])){c=0;return c|0}}}c=1;return c|0}function ey(a){a=a|0;return 12}function fy(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*12|0)|0)|0}function gy(a){a=a|0;return ((f[a+80>>2]|0)-(f[a+76>>2]|0)|0)/12|0|0}function hy(a,b){a=a|0;b=b|0;oy(a+76|0,b);return}function iy(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;n[e+4>>2]=0.0;n[e+8>>2]=0.0;g=a+76|0;c=a+80|0;d=f[g>>2]|0;a=((f[c>>2]|0)-d|0)/12|0;if(a>>>0<b>>>0){mx(g,b-a|0,e);u=h;return}if(a>>>0<=b>>>0){u=h;return}f[c>>2]=d+(b*12|0);u=h;return}function jy(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]=308932;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)/12|0;if(e){if(b>>>0>357913941)DCb(h);c=EBb(e)|0;f[j>>2]=c;f[h>>2]=c;b=c+(b*12|0)|0;f[k>>2]=b;d=c;if((e|0)>0){YDb(c|0,n|0,e|0)|0;c=c+(((e>>>0)/12|0)*12|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]=308932;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function ky(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=308932;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function ly(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=308932;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function my(a){a=a|0;var b=0;f[a>>2]=308932;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function ny(a){a=a|0;var b=0;f[a>>2]=308932;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function oy(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)/12|0)>>>0>=b>>>0)return;j=a+4|0;if(b>>>0>357913941){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*12|0)|0;e=d+(((c|0)/12|0)*12|0)|0;h=e+(((c|0)/-12|0)*12|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*12|0);if(!i)return;GBb(i);return}function py(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]=308932;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)/12|0;if(!d){f[a>>2]=308404;f[k>>2]=308644;return}if(c>>>0>357913941)DCb(e);j=EBb(d)|0;f[l>>2]=j;f[e>>2]=j;f[h>>2]=j+(c*12|0);c=f[g>>2]|0;d=(f[i>>2]|0)-c|0;if((d|0)<=0){f[a>>2]=308404;f[k>>2]=308644;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(((d>>>0)/12|0)*12|0);f[a>>2]=308404;f[k>>2]=308644;return}function qy(a){a=a|0;var b=0;f[a+72>>2]=308948;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function ry(a){a=a|0;var b=0;f[a+72>>2]=308948;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function sy(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]=29;f[a+56>>2]=4;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]=308148;f[a+72>>2]=308388;return a|0}function ty(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;Ny(c,a,b);return c|0}function uy(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 vy(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)|0}function wy(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+124>>2]&1023](b,a);return}function xy(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+124>>2]&1023](b,a);return}function yy(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+120>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function zy(a,b,c){a=a|0;b=b|0;c=c|0;Bj[f[(f[c>>2]|0)+120>>2]&1023](c,(f[a+76>>2]|0)+(b<<4)|0);return}function Ay(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<<4)>>2];e=+n[a+(c<<4)>>2];if(d<e){c=-1;return c|0}if(!(d>e)){d=+n[a+(b<<4)+4>>2];e=+n[a+(c<<4)+4>>2];if(d<e){c=-1;return c|0}if(!(d>e)){d=+n[a+(b<<4)+8>>2];e=+n[a+(c<<4)+8>>2];if(d<e){c=-1;return c|0}if(!(d>e)?+n[a+(b<<4)+12>>2]<+n[a+(c<<4)+12>>2]:0){c=-1;return c|0}}d=+n[a+(c<<4)+4>>2];e=+n[a+(b<<4)+4>>2];if(!(d<e)){if(d>e){c=0;return c|0}d=+n[a+(c<<4)+8>>2];e=+n[a+(b<<4)+8>>2];if(!(d<e)){if(d>e){c=0;return c|0}if(!(+n[a+(c<<4)+12>>2]<+n[a+(b<<4)+12>>2])){c=0;return c|0}}}}c=1;return c|0}function By(a){a=a|0;return 16}function Cy(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 Dy(a){a=a|0;return (f[a+80>>2]|0)-(f[a+76>>2]|0)>>4|0}function Ey(a,b){a=a|0;b=b|0;My(a+76|0,b);return}function Fy(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<b>>>0){Ly(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 Gy(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]=308948;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]=308948;if(!n){u=o;return}f[j>>2]=n;GBb(n);u=o;return}function Hy(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=308948;b=f[a+76>>2]|0;if(!b){oza(a);return}f[a+80>>2]=b;GBb(b);oza(a);return}function Iy(a){a=a|0;var b=0;a=a+-72|0;f[a+72>>2]=308948;b=f[a+76>>2]|0;if(b|0){f[a+80>>2]=b;GBb(b)}oza(a);GBb(a);return}function Jy(a){a=a|0;var b=0;f[a>>2]=308948;b=f[a+4>>2]|0;if(!b)return;f[a+8>>2]=b;GBb(b);return}function Ky(a){a=a|0;var b=0;f[a>>2]=308948;b=f[a+4>>2]|0;if(!b){GBb(a);return}f[a+8>>2]=b;GBb(b);GBb(a);return}function Ly(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<j>>>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 My(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 Ny(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]=308948;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]=308148;f[k>>2]=308388;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]=308148;f[k>>2]=308388;return}YDb(j|0,c|0,d|0)|0;f[l>>2]=j+(d>>>4<<4);f[a>>2]=308148;f[k>>2]=308388;return}function Oy(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=307548;f[b+8>>2]=307704;f[a>>2]=307976;f[b+4>>2]=0;return a|0}function Py(a,b){a=a|0;b=b|0;var c=0;a=EBb(48)|0;b=a+16|0;rZa(b);c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+40>>2]=2;f[a+44>>2]=0;f[a+12>>2]=0;f[a>>2]=307548;f[a+8>>2]=307704;f[b>>2]=307976;f[a+4>>2]=0;return b|0}function Qy(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279488,-1)|0)!=0;return b|0}function Ry(a){a=a|0;return 409756}function Sy(a){a=a|0;return 372408}function Ty(a){a=a|0;return a|0}function Uy(a){a=a|0;return a|0}function Vy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Wy(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;a=f[a+4>>2]|0;if(!a){e=1;return e|0}e=(b[a+32>>0]|0)==0;return e|0}function Xy(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=307548;b=a+8|0;f[b>>2]=307704;e=a+16|0;f[e>>2]=307976;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);return}Rua(a,1,1);f[b>>2]=0;Gva(e);return}function Yy(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=307548;b=a+8|0;f[b>>2]=307704;e=a+16|0;f[e>>2]=307976;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;c=a+12|0;b=f[c>>2]|0;if(!b){f[c>>2]=0;Gva(e);GBb(a);return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;g=b+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[c>>2]=0;Gva(e);GBb(a);return}Rua(b,1,1);f[c>>2]=0;Gva(e);GBb(a);return}function Zy(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=307548;f[b+8>>2]=307704;f[a>>2]=307976;f[b+4>>2]=0;return a|0}function _y(a,b){a=a|0;b=b|0;var c=0;a=EBb(48)|0;b=a+16|0;rZa(b);c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+40>>2]=2;f[a+44>>2]=0;f[a+12>>2]=0;f[a>>2]=307548;f[a+8>>2]=307704;f[b>>2]=307976;f[a+4>>2]=0;return b|0}function $y(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279488,-1)|0)!=0;return b|0}function az(a){a=a|0;return 409756}function bz(a){a=a|0;return 372408}function cz(a){a=a|0;return a+(f[(f[a>>2]|0)+-92>>2]|0)|0}function dz(a){a=a|0;return a+(f[(f[a>>2]|0)+-96>>2]|0)|0}function ez(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;f[a>>2]=307548;b=a+8|0;f[b>>2]=307704;e=a+16|0;f[e>>2]=307976;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);return}Rua(a,1,1);f[b>>2]=0;Gva(e);return}function fz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;f[d>>2]=307548;a=d+8|0;f[a>>2]=307704;e=d+16|0;f[e>>2]=307976;b=d+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;f[a>>2]=298888;f[a+8>>2]=299160;b=d+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);GBb(d);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);GBb(d);return}Rua(a,1,1);f[b>>2]=0;Gva(e);GBb(d);return}function gz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=307548;b=a+8|0;f[b>>2]=307704;e=a+16|0;f[e>>2]=307976;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);return}Rua(a,1,1);f[b>>2]=0;Gva(e);return}function hz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[d>>2]=307548;a=d+8|0;f[a>>2]=307704;e=d+16|0;f[e>>2]=307976;b=d+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;f[a>>2]=298888;f[a+8>>2]=299160;b=d+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);GBb(d);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);GBb(d);return}Rua(a,1,1);f[b>>2]=0;Gva(e);GBb(d);return}function iz(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=307548;f[b+8>>2]=307704;f[a>>2]=307976;f[b+4>>2]=0;return a|0}function jz(a,b){a=a|0;b=b|0;var c=0;a=EBb(48)|0;b=a+16|0;rZa(b);c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+40>>2]=2;f[a+44>>2]=0;f[a+12>>2]=0;f[a>>2]=307548;f[a+8>>2]=307704;f[b>>2]=307976;f[a+4>>2]=0;return b|0}function kz(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279488,-1)|0)!=0;return b|0}function lz(a){a=a|0;return 409756}function mz(a){a=a|0;return 372408}function nz(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=306940;f[b+8>>2]=307096;f[a>>2]=307368;f[b+4>>2]=0;return a|0}function oz(a,b){a=a|0;b=b|0;var c=0;a=EBb(48)|0;b=a+16|0;rZa(b);c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+40>>2]=2;f[a+44>>2]=0;f[a+12>>2]=0;f[a>>2]=306940;f[a+8>>2]=307096;f[b>>2]=307368;f[a+4>>2]=0;return b|0}function pz(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279504,-1)|0)!=0;return b|0}function qz(a){a=a|0;return 409756}function rz(a){a=a|0;return 372452}function sz(a){a=a|0;return a|0}function tz(a){a=a|0;return a|0}function uz(a,b,c){a=a|0;b=b|0;c=c|0;nx(a,_i[f[(f[c>>2]|0)+164>>2]&2047](c)|0);return}function vz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=306940;b=a+8|0;f[b>>2]=307096;e=a+16|0;f[e>>2]=307368;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);return}Rua(a,1,1);f[b>>2]=0;Gva(e);return}function wz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=306940;b=a+8|0;f[b>>2]=307096;e=a+16|0;f[e>>2]=307368;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;c=a+12|0;b=f[c>>2]|0;if(!b){f[c>>2]=0;Gva(e);GBb(a);return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;g=b+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[c>>2]=0;Gva(e);GBb(a);return}Rua(b,1,1);f[c>>2]=0;Gva(e);GBb(a);return}function xz(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=306940;f[b+8>>2]=307096;f[a>>2]=307368;f[b+4>>2]=0;return a|0}function yz(a,b){a=a|0;b=b|0;var c=0;a=EBb(48)|0;b=a+16|0;rZa(b);c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+40>>2]=2;f[a+44>>2]=0;f[a+12>>2]=0;f[a>>2]=306940;f[a+8>>2]=307096;f[b>>2]=307368;f[a+4>>2]=0;return b|0}function zz(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279504,-1)|0)!=0;return b|0}function Az(a){a=a|0;return 409756}function Bz(a){a=a|0;return 372452}function Cz(a){a=a|0;return a+(f[(f[a>>2]|0)+-76>>2]|0)|0}function Dz(a){a=a|0;return a+(f[(f[a>>2]|0)+-80>>2]|0)|0}function Ez(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;f[a>>2]=306940;b=a+8|0;f[b>>2]=307096;e=a+16|0;f[e>>2]=307368;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);return}Rua(a,1,1);f[b>>2]=0;Gva(e);return}function Fz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;f[d>>2]=306940;a=d+8|0;f[a>>2]=307096;e=d+16|0;f[e>>2]=307368;b=d+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;f[a>>2]=298888;f[a+8>>2]=299160;b=d+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);GBb(d);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);GBb(d);return}Rua(a,1,1);f[b>>2]=0;Gva(e);GBb(d);return}function Gz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=306940;b=a+8|0;f[b>>2]=307096;e=a+16|0;f[e>>2]=307368;c=a+4|0;d=f[c>>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[c>>2]=0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);return}Rua(a,1,1);f[b>>2]=0;Gva(e);return}function Hz(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[d>>2]=306940;a=d+8|0;f[a>>2]=307096;e=d+16|0;f[e>>2]=307368;b=d+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;f[a>>2]=298888;f[a+8>>2]=299160;b=d+12|0;a=f[b>>2]|0;if(!a){f[b>>2]=0;Gva(e);GBb(d);return}a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=a+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[b>>2]=0;Gva(e);GBb(d);return}Rua(a,1,1);f[b>>2]=0;Gva(e);GBb(d);return}function Iz(a){a=a|0;var b=0,c=0;b=EBb(48)|0;a=b+16|0;rZa(a);c=b+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+40>>2]=2;f[b+44>>2]=0;f[b+12>>2]=0;f[b>>2]=306940;f[b+8>>2]=307096;f[a>>2]=307368;f[b+4>>2]=0;return a|0}function Jz(a,b){a=a|0;b=b|0;var c=0;a=EBb(48)|0;b=a+16|0;rZa(b);c=a+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+40>>2]=2;f[a+44>>2]=0;f[a+12>>2]=0;f[a>>2]=306940;f[a+8>>2]=307096;f[b>>2]=307368;f[a+4>>2]=0;return b|0}function Kz(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279504,-1)|0)!=0;return b|0}function Lz(a){a=a|0;return 409756}function Mz(a){a=a|0;return 372452}function Nz(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=a+4|0;k=f[a>>2]|0;l=(f[j>>2]|0)-k|0;h=l>>1;c=h+1|0;if((l|0)<-2)DCb(a);m=a+8|0;i=(f[m>>2]|0)-k|0;i=i>>1>>>0<1073741823?(i>>>0<c>>>0?c:i):2147483647;do if(i)if((i|0)<0){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(i<<1)|0;e=g;break}else{e=0;g=0}while(0);c=e+(h<<1)|0;d[c>>1]=d[b>>1]|0;if((l|0)>0)YDb(g|0,k|0,l|0)|0;f[a>>2]=e;f[j>>2]=c+2;f[m>>2]=e+(i<<1);if(!k)return;GBb(k);return}function Oz(a){a=a|0;Gva(a);GBb(a);return}function Pz(a){a=a|0;var c=0;a=EBb(120)|0;rZa(a);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=305924;b[a+32>>0]=0;n[a+36>>2]=1.0;n[a+40>>2]=1.0;n[a+44>>2]=1.0;n[a+48>>2]=1.0;p[a+56>>3]=-1.0;p[a+64>>3]=-1.0;p[a+72>>3]=1.0;p[a+80>>3]=-1.0;p[a+88>>3]=-1.0;p[a+96>>3]=1.0;p[a+104>>3]=1.0;p[a+112>>3]=1.0;return a|0}function Qz(a,c){a=a|0;c=c|0;var d=0,e=0;d=EBb(120)|0;Fva(d,a,c);f[d>>2]=305924;b[d+32>>0]=b[a+32>>0]|0;c=d+36|0;e=a+36|0;f[c>>2]=f[e>>2];f[c+4>>2]=f[e+4>>2];f[c+8>>2]=f[e+8>>2];f[c+12>>2]=f[e+12>>2];c=d+56|0;e=a+56|0;f[c>>2]=f[e>>2];f[c+4>>2]=f[e+4>>2];f[c+8>>2]=f[e+8>>2];f[c+12>>2]=f[e+12>>2];c=d+72|0;e=a+72|0;f[c>>2]=f[e>>2];f[c+4>>2]=f[e+4>>2];f[c+8>>2]=f[e+8>>2];f[c+12>>2]=f[e+12>>2];c=d+88|0;e=a+88|0;f[c>>2]=f[e>>2];f[c+4>>2]=f[e+4>>2];f[c+8>>2]=f[e+8>>2];f[c+12>>2]=f[e+12>>2];c=d+104|0;a=a+104|0;f[c>>2]=f[a>>2];f[c+4>>2]=f[a+4>>2];f[c+8>>2]=f[a+8>>2];f[c+12>>2]=f[a+12>>2];return d|0}function Rz(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,276680,0)|0)!=0;return b|0}function Sz(a){a=a|0;return 369347}function Tz(a){a=a|0;return 372547}function Uz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;d=_i[f[(f[a>>2]|0)+112>>2]&2047](a)|0;if(!d){i0a(a)|0;d=f[a+28>>2]|0}a=dj[f[(f[d>>2]|0)+192>>2]&255](d,b,0)|0;if(a>>>0>=(_i[f[(f[d>>2]|0)+184>>2]&2047](d)|0)>>>0){a=f[(f[d>>2]|0)+164>>2]|0;e=EBb(44)|0;v_a(e,1);g=e+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;f[e>>2]=308964;UBb(g,b)|0;f[e>>2]=309144;OBb(e+32|0,c);cj[a&1023](d,e)|0;return}e=cj[f[(f[d>>2]|0)+176>>2]&1023](d,a)|0;if(!e)BDb();if((f[(f[(f[e>>2]|0)+-4>>2]|0)+4>>2]|0)==371947){UBb(e+32|0,c)|0;return}else{e=f[(f[d>>2]|0)+168>>2]|0;g=EBb(44)|0;v_a(g,1);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]=308964;UBb(h,b)|0;f[g>>2]=309144;OBb(g+32|0,c);Fj[e&511](d,a,g);return}}function Vz(a){a=a|0;var c=0;f[a>>2]=309144;c=a+32|0;if((b[c+11>>0]|0)>=0){Gva(a);return}GBb(f[c>>2]|0);Gva(a);return}function Wz(a){a=a|0;var c=0;f[a>>2]=309144;c=a+32|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);Gva(a);GBb(a);return}function Xz(a){a=a|0;var b=0;a=EBb(44)|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]=309144;b=a+32|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;return a|0}function Yz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=u;u=u+16|0;e=d;c=EBb(44)|0;b=f[b+4>>2]|0;f[e>>2]=346256;f[e+4>>2]=b;Fva(c,a,e);f[c>>2]=309144;OBb(c+32|0,a+32|0);u=d;return c|0}function Zz(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279520,0)|0)!=0;return b|0}function _z(a){a=a|0;return 409756}function $z(a){a=a|0;return 372595}function aA(a){a=a|0;return a|0}function bA(a){a=a|0;return a|0}function cA(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+44>>2]&1023](b,a+32|0);return 1}function dA(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+44>>2]&1023](b,a+32|0);return 1}function eA(a){a=a|0;Gva(a);GBb(a);return}function fA(a){a=a|0;var b=0;a=EBb(32)|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]=308964;return a|0}function gA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=u;u=u+16|0;e=d;c=EBb(32)|0;f[e>>2]=346256;f[e+4>>2]=f[b+4>>2];Fva(c,a,e);f[c>>2]=308964;u=d;return c|0}function hA(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279536,0)|0)!=0;return b|0}function iA(a){a=a|0;return 409756}function jA(a){a=a|0;return 372633}function kA(a,b){a=a|0;b=b|0;return 0}function lA(a,b){a=a|0;b=b|0;return 0}function mA(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<c>>>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 nA(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=309324;b=f[a+28>>2]|0;if(b|0){f[a+32>>2]=b;GBb(b)}d=a+16|0;c=a+24|0;if(!(f[c>>2]|0)){Uua(a);return}b=f[a+20>>2]|0;e=(f[d>>2]|0)+4|0;g=f[b>>2]|0;f[g+4>>2]=f[e>>2];f[f[e>>2]>>2]=g;f[c>>2]=0;if((b|0)==(d|0)){Uua(a);return}do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));Uua(a);return}function oA(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=309324;b=f[a+28>>2]|0;if(b|0){f[a+32>>2]=b;GBb(b)}d=a+16|0;c=a+24|0;if(!(f[c>>2]|0)){Uua(a);GBb(a);return}b=f[a+20>>2]|0;e=(f[d>>2]|0)+4|0;g=f[b>>2]|0;f[g+4>>2]=f[e>>2];f[f[e>>2]>>2]=g;f[c>>2]=0;if((b|0)==(d|0)){Uua(a);GBb(a);return}do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));Uua(a);GBb(a);return}function pA(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.0,k=0,l=0,m=0,n=0.0,o=0,q=0,r=0.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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=u;u=u+32|0;K=O+24|0;L=O+20|0;M=O;N=O+8|0;d=f[a+20>>2]|0;s=a+16|0;h=d;if((s|0)!=(h|0)){t=a+12|0;v=a+40|0;w=N+8|0;x=N+4|0;y=N+11|0;z=N+8|0;A=N+4|0;B=N+11|0;C=N+8|0;D=N+4|0;E=N+11|0;F=a+24|0;G=a+32|0;I=a+36|0;J=a+28|0;do{m=d;q=f[m+8>>2]|0;f[K>>2]=q;f[L>>2]=0;Fj[f[(f[t>>2]|0)+944>>2]&511](q,34919,L);if(!(f[L>>2]|0))d=f[h+4>>2]|0;else{i=M;f[i>>2]=0;f[i+4>>2]=0;Fj[f[(f[t>>2]|0)+952>>2]&511](f[K>>2]|0,34918,M);i=M;r=(+((f[i>>2]|0)>>>0)+4294967296.0*+((f[i+4>>2]|0)>>>0))*1.0e-09;i=d$a()|0;k=e$a(d$a()|0)|0;l=H;if(l>>>0>g>>>0|(l|0)==(g|0)&k>>>0>e>>>0){q=NDb(k|0,l|0,e|0,g|0)|0;j=+p[i+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0))}else{q=NDb(e|0,g|0,k|0,l|0)|0;j=-(+p[i+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0)))}n=(j+ +p[v>>3])*.5;j=n-r;l=m+12|0;i=f[l>>2]|0;k=EBb(32)|0;f[N>>2]=k;f[w>>2]=-2147483616;f[x>>2]=19;m=k;o=372861;q=m+19|0;do{b[m>>0]=b[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(q|0));b[k+19>>0]=0;x2a(c,i,N,j)|0;if((b[y>>0]|0)<0)GBb(f[N>>2]|0);i=f[l>>2]|0;k=EBb(32)|0;f[N>>2]=k;f[z>>2]=-2147483616;f[A>>2]=17;m=k;o=372881;q=m+17|0;do{b[m>>0]=b[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(q|0));b[k+17>>0]=0;x2a(c,i,N,n)|0;if((b[B>>0]|0)<0)GBb(f[N>>2]|0);i=f[l>>2]|0;k=EBb(32)|0;f[N>>2]=k;f[C>>2]=-2147483616;f[D>>2]=19;m=k;o=372899;q=m+19|0;do{b[m>>0]=b[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(q|0));b[k+19>>0]=0;x2a(c,i,N,r)|0;if((b[E>>0]|0)<0)GBb(f[N>>2]|0);q=h+4|0;i=f[q>>2]|0;o=f[h>>2]|0;f[o+4>>2]=i;f[f[q>>2]>>2]=o;f[F>>2]=(f[F>>2]|0)+-1;GBb(d);d=f[G>>2]|0;if((d|0)==(f[I>>2]|0))iw(J,K);else{f[d>>2]=f[K>>2];f[G>>2]=d+4}d=i}h=d}while((s|0)!=(h|0))}d=d$a()|0;h=e$a(d$a()|0)|0;i=H;if(i>>>0>g>>>0|(i|0)==(g|0)&h>>>0>e>>>0){g=NDb(h|0,i|0,e|0,g|0)|0;r=+p[d+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0));g=a+40|0;p[g>>3]=r;u=O;return}else{g=NDb(e|0,g|0,h|0,i|0)|0;r=-(+p[d+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0)));g=a+40|0;p[g>>3]=r;u=O;return}}function qA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+16|0;c=g;d=a+32|0;e=f[d>>2]|0;if((f[a+28>>2]|0)==(e|0)){d=a+12|0;Bj[f[(f[d>>2]|0)+912>>2]&1023](1,c);c=f[c>>2]|0}else{e=e+-4|0;c=f[e>>2]|0;f[d>>2]=e;d=a+12|0}Bj[f[(f[d>>2]|0)+916>>2]&1023](35007,c);e=a+16|0;d=EBb(16)|0;h=d+8|0;f[h>>2]=c;f[h+4>>2]=b;f[d+4>>2]=e;b=f[e>>2]|0;f[d>>2]=b;f[b+4>>2]=d;f[e>>2]=d;b=a+24|0;f[b>>2]=(f[b>>2]|0)+1;u=g;return}function rA(a,b){a=a|0;b=b|0;tj[f[(f[a+12>>2]|0)+920>>2]&2047](35007);return}function sA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0.0;f[a+12>>2]=f[b+832>>2];e=d$a()|0;g=e$a(d$a()|0)|0;b=H;if(b>>>0>d>>>0|(b|0)==(d|0)&g>>>0>c>>>0){d=NDb(g|0,b|0,c|0,d|0)|0;h=+p[e+8>>3]*(+(d>>>0)+4294967296.0*+(H>>>0));d=a+40|0;p[d>>3]=h;return}else{d=NDb(c|0,d|0,g|0,b|0)|0;h=-(+p[e+8>>3]*(+(d>>>0)+4294967296.0*+(H>>>0)));d=a+40|0;p[d>>3]=h;return}}function tA(a){a=a|0;var c=0,d=0,e=0,g=0;d=u;u=u+16|0;c=d;if(qZa(4)|0){e=Nu(Hua(4)|0,374053,19)|0;Drb(c,e+(f[(f[e>>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(e,g)|0;Krb(e)|0}b[a+28>>0]=1;g=a+40|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;b[a+72>>0]=1;P3a(a+52|0)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;g=a+76|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;b[a+108>>0]=1;P3a(a+88|0)|0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;u=d;return}function uA(a,b){a=a|0;b=b|0;var c=0;if(b|0?(c=WCb(b,295088,297048,0)|0,c|0):0)Bj[f[(f[a>>2]|0)+16>>2]&1023](a,c);if(!(_i[f[(f[b>>2]|0)+80>>2]&2047](b)|0))return;tj[f[(f[a>>2]|0)+20>>2]&2047](a);return}function vA(a){a=a|0;GA(a,309436);Uua(a+128|0);return}function wA(a){a=a|0;GA(a,309436);Uua(a+128|0);GBb(a);return}function xA(a,c){a=a|0;c=c|0;c=f[a>>2]|0;if(!(b[a+29>>0]|0)){tj[f[c+24>>2]&2047](a);return}else{tj[f[c+28>>2]&2047](a);return}}function yA(a){a=a|0;var c=0,d=0.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;x=u;u=u+16|0;t=x;if(qZa(5)|0){w=Nu(Hua(5)|0,374012,6)|0;Drb(t,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);v=utb(t,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(t);ksb(w,v)|0;Krb(w)|0}if(b[a+28>>0]|0){u=x;return}if(b[a+29>>0]|0){u=x;return}v=_A(a+40|0)|0;if(qZa(5)|0){w=jsb(Nu(Hua(5)|0,374019,21)|0,v)|0;Drb(t,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);s=utb(t,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(t);ksb(w,s)|0;Krb(w)|0}if(v|0){Bj[f[(f[a>>2]|0)+40>>2]&1023](a,v);e=v+208|0;w=f[(f[e>>2]|0)+224>>2]|0;c=f[v+200>>2]|0;if(!c)s=0;else s=f[c+12>>2]|0;n=e$a(d$a()|0)|0;o=H;g=f[(f[v>>2]|0)+188>>2]|0;r=f[v+204>>2]|0;if((r|0)!=0?(f[r+24>>2]|0)!=0:0)c=f[e>>2]|0;else c=0;Bj[g&1023](v,c+144|0);tj[f[(f[v>>2]|0)+204>>2]&2047](v);k=e$a(d$a()|0)|0;l=H;if(w|0){f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;e=t+11|0;b[e>>0]=9;g=t;h=373059;i=g+9|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[t+9>>0]=0;r=w+24|0;_i[f[(f[r>>2]|0)+8>>2]&2047](r)|0;m=w+68|0;c=Fv(m,t)|0;q=w+72|0;if((c|0)==(q|0))c=0;else c=(b[c+28>>0]|0)!=0;_i[f[(f[r>>2]|0)+12>>2]&2047](r)|0;if((b[e>>0]|0)<0)GBb(f[t>>2]|0);if(c){if(qZa(5)|0){j=Nu(Hua(5)|0,373069,26)|0;Drb(t,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(t,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(t);ksb(j,i)|0;Krb(j)|0}c=EBb(32)|0;f[t>>2]=c;f[t+8>>2]=-2147483616;f[t+4>>2]=25;g=c;h=373096;i=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+25>>0]=0;c=d$a()|0;j=a+120|0;g=j;e=f[g>>2]|0;g=f[g+4>>2]|0;if(o>>>0>g>>>0|(o|0)==(g|0)&n>>>0>e>>>0){i=NDb(n|0,o|0,e|0,g|0)|0;d=+p[c+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0))}else{i=NDb(e|0,g|0,n|0,o|0)|0;d=-(+p[c+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0)))}x2a(w,s,t,d)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);c=EBb(32)|0;f[t>>2]=c;f[t+8>>2]=-2147483616;f[t+4>>2]=23;g=c;h=373122;i=g+23|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+23>>0]=0;g=d$a()|0;e=j;c=f[e>>2]|0;e=f[e+4>>2]|0;if(l>>>0>e>>>0|(l|0)==(e|0)&k>>>0>c>>>0){j=NDb(k|0,l|0,c|0,e|0)|0;d=+p[g+8>>3]*(+(j>>>0)+4294967296.0*+(H>>>0))}else{j=NDb(c|0,e|0,k|0,l|0)|0;d=-(+p[g+8>>3]*(+(j>>>0)+4294967296.0*+(H>>>0)))}x2a(w,s,t,d)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);c=EBb(32)|0;f[t>>2]=c;f[t+8>>2]=-2147483616;f[t+4>>2]=25;g=c;h=373146;i=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+25>>0]=0;c=d$a()|0;if(l>>>0>o>>>0|(l|0)==(o|0)&k>>>0>n>>>0){o=NDb(k|0,l|0,n|0,o|0)|0;d=+p[c+8>>3]*(+(o>>>0)+4294967296.0*+(H>>>0))}else{o=NDb(n|0,o|0,k|0,l|0)|0;d=-(+p[c+8>>3]*(+(o>>>0)+4294967296.0*+(H>>>0)))}x2a(w,s,t,d)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0)};f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;e=t+11|0;b[e>>0]=5;b[t>>0]=b[369536]|0;b[t+1>>0]=b[369537]|0;b[t+2>>0]=b[369538]|0;b[t+3>>0]=b[369539]|0;b[t+4>>0]=b[369540]|0;b[t+5>>0]=0;_i[f[(f[r>>2]|0)+8>>2]&2047](r)|0;c=Fv(m,t)|0;if((c|0)==(q|0))c=0;else c=(b[c+28>>0]|0)!=0;_i[f[(f[r>>2]|0)+12>>2]&2047](r)|0;if((b[e>>0]|0)<0)GBb(f[t>>2]|0);if(c)SA(s,v,w)}w=a+76|0;_i[f[(f[w>>2]|0)+8>>2]&2047](w)|0;s=a+96|0;r=EBb(12)|0;f[r+8>>2]=v;f[r+4>>2]=s;v=f[s>>2]|0;f[r>>2]=v;f[v+4>>2]=r;f[s>>2]=r;v=a+104|0;f[v>>2]=(f[v>>2]|0)+1;b[a+108>>0]=1;P3a(a+88|0)|0;_i[f[(f[w>>2]|0)+12>>2]&2047](w)|0}if(!(qZa(5)|0)){u=x;return}w=jsb(Nu(Hua(5)|0,374041,11)|0,a)|0;Drb(t,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);v=utb(t,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(t);ksb(w,v)|0;Krb(w)|0;u=x;return}function zA(a){a=a|0;var c=0,d=0.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;r=t;if(qZa(5)|0){s=jsb(Nu(Hua(5)|0,373848,7)|0,a)|0;Drb(r,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(s,q)|0;Krb(s)|0}s=_A(a+76|0)|0;if(qZa(5)|0){q=jsb(Nu(Hua(5)|0,373856,21)|0,s)|0;Drb(r,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(r,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(r);ksb(q,o)|0;Krb(q)|0}if(s|0?(c=a+28|0,(b[c>>0]|0)==0):0){PY(s);if(b[a+30>>0]|0)tj[f[(f[a>>2]|0)+32>>2]&2047](a);if(b[c>>0]|0){if(!(qZa(4)|0)){u=t;return}s=Nu(Hua(4)|0,373878,40)|0;Drb(r,s+(f[(f[s>>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(s,a)|0;Krb(s)|0;u=t;return}if(b[a+29>>0]|0){if(!(qZa(4)|0)){u=t;return}s=Nu(Hua(4)|0,373919,80)|0;Drb(r,s+(f[(f[s>>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(s,a)|0;Krb(s)|0;u=t;return}o=f[(f[s+208>>2]|0)+224>>2]|0;j=f[s+100>>2]|0;q=f[(f[s+200>>2]|0)+12>>2]|0;if(!(b[a+112>>0]|0))RA(a,j);c=f[s+284>>2]|0;e=j+836|0;if((f[e>>2]|0)!=(c|0))f[e>>2]=c;if((c|0)==0?(g=f[j+840>>2]|0,g|0):0)Bj[f[(f[g>>2]|0)+12>>2]&1023](g,j);i=(o|0)!=0;if(i?(h=a+116|0,(f[h>>2]|0)!=0):0){e=r+4|0;f[e>>2]=0;f[e+4>>2]=0;e=r+11|0;b[e>>0]=3;b[r>>0]=b[373055]|0;b[r+1>>0]=b[373056]|0;b[r+2>>0]=b[373057]|0;b[r+3>>0]=0;g=o+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;c=Fv(o+68|0,r)|0;if((c|0)==(o+72|0))c=0;else c=(b[c+28>>0]|0)!=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[e>>0]|0)<0)GBb(f[r>>2]|0);if(c){m=f[h>>2]|0;c=a+120|0;n=c;Kj[f[(f[m>>2]|0)+12>>2]&63](m,o,j,f[n>>2]|0,f[n+4>>2]|0);n=f[h>>2]|0;Kj[f[(f[n>>2]|0)+12>>2]&63](n,o,j,f[c>>2]|0,f[c+4>>2]|0);c=f[h>>2]|0;Fj[f[(f[c>>2]|0)+16>>2]&511](c,q,j);c=1}else c=0}else c=0;if(!(b[a+31>>0]|0)){n=e$a(d$a()|0)|0;m=H;tj[f[(f[s>>2]|0)+208>>2]&2047](s)}else{_i[f[(f[124710]|0)+8>>2]&2047](498840)|0;n=e$a(d$a()|0)|0;m=H;tj[f[(f[s>>2]|0)+208>>2]&2047](s);_i[f[(f[124710]|0)+12>>2]&2047](498840)|0}l=a+40|0;_i[f[(f[l>>2]|0)+8>>2]&2047](l)|0;k=a+60|0;h=EBb(12)|0;f[h+8>>2]=s;f[h+4>>2]=k;g=f[k>>2]|0;f[h>>2]=g;f[g+4>>2]=h;f[k>>2]=h;k=a+68|0;f[k>>2]=(f[k>>2]|0)+1;b[a+72>>0]=1;P3a(a+52|0)|0;_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0;if(c){k=a+116|0;l=f[k>>2]|0;Bj[f[(f[l>>2]|0)+20>>2]&1023](l,j);k=f[k>>2]|0;l=a+120|0;Kj[f[(f[k>>2]|0)+12>>2]&63](k,o,j,f[l>>2]|0,f[l+4>>2]|0)}k=e$a(d$a()|0)|0;l=H;if(i){f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;g=r+11|0;b[g>>0]=9;e=r;h=373059;i=e+9|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[r+9>>0]=0;e=o+24|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;c=Fv(o+68|0,r)|0;if((c|0)==(o+72|0))c=0;else c=(b[c+28>>0]|0)!=0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;if((b[g>>0]|0)<0)GBb(f[r>>2]|0);if(c){c=EBb(32)|0;f[r>>2]=c;f[r+8>>2]=-2147483616;f[r+4>>2]=25;e=c;h=373172;i=e+25|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+25>>0]=0;c=d$a()|0;j=a+120|0;g=j;e=f[g>>2]|0;g=f[g+4>>2]|0;if(m>>>0>g>>>0|(m|0)==(g|0)&n>>>0>e>>>0){i=NDb(n|0,m|0,e|0,g|0)|0;d=+p[c+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0))}else{i=NDb(e|0,g|0,n|0,m|0)|0;d=-(+p[c+8>>3]*(+(i>>>0)+4294967296.0*+(H>>>0)))}x2a(o,q,r,d)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);c=EBb(32)|0;f[r>>2]=c;f[r+8>>2]=-2147483616;f[r+4>>2]=23;e=c;h=373198;i=e+23|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+23>>0]=0;g=d$a()|0;e=j;c=f[e>>2]|0;e=f[e+4>>2]|0;if(l>>>0>e>>>0|(l|0)==(e|0)&k>>>0>c>>>0){j=NDb(k|0,l|0,c|0,e|0)|0;d=+p[g+8>>3]*(+(j>>>0)+4294967296.0*+(H>>>0))}else{j=NDb(c|0,e|0,k|0,l|0)|0;d=-(+p[g+8>>3]*(+(j>>>0)+4294967296.0*+(H>>>0)))}x2a(o,q,r,d)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0);c=EBb(32)|0;f[r>>2]=c;f[r+8>>2]=-2147483616;f[r+4>>2]=25;e=c;h=373222;i=e+25|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[c+25>>0]=0;c=d$a()|0;if(l>>>0>m>>>0|(l|0)==(m|0)&k>>>0>n>>>0){n=NDb(k|0,l|0,n|0,m|0)|0;d=+p[c+8>>3]*(+(n>>>0)+4294967296.0*+(H>>>0))}else{n=NDb(n|0,m|0,k|0,l|0)|0;d=-(+p[c+8>>3]*(+(n>>>0)+4294967296.0*+(H>>>0)))}x2a(o,q,r,d)|0;if((b[r+11>>0]|0)<0)GBb(f[r>>2]|0)}}QY(s)}if(!(qZa(5)|0)){u=t;return}s=jsb(Nu(Hua(5)|0,374e3,11)|0,a)|0;Drb(r,s+(f[(f[s>>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(s,a)|0;Krb(s)|0;u=t;return}function AA(a){a=a|0;var c=0.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,r=0,s=0,t=0,v=0,w=0,x=0,y=0;y=u;u=u+16|0;w=y;if(qZa(5)|0){x=jsb(Nu(Hua(5)|0,373042,12)|0,a)|0;Drb(w,x+(f[(f[x>>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(x,v)|0;Krb(x)|0}j=f[a+32>>2]|0;if(!j){u=y;return}if(b[a+28>>0]|0){u=y;return}Bj[f[(f[a>>2]|0)+40>>2]&1023](a,j);if(b[a+30>>0]|0)tj[f[(f[a>>2]|0)+32>>2]&2047](a);i=j+208|0;x=f[(f[i>>2]|0)+224>>2]|0;k=f[j+100>>2]|0;d=f[j+200>>2]|0;if(!d)v=0;else v=f[d+12>>2]|0;if(!(b[a+112>>0]|0))RA(a,k);l=(x|0)!=0;if(l?(h=a+116|0,(f[h>>2]|0)!=0):0){e=w+4|0;f[e>>2]=0;f[e+4>>2]=0;e=w+11|0;b[e>>0]=3;b[w>>0]=b[373055]|0;b[w+1>>0]=b[373056]|0;b[w+2>>0]=b[373057]|0;b[w+3>>0]=0;g=x+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;d=Fv(x+68|0,w)|0;if((d|0)==(x+72|0))d=0;else d=(b[d+28>>0]|0)!=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[e>>0]|0)<0)GBb(f[w>>2]|0);if(d){t=f[h>>2]|0;h=a+120|0;Kj[f[(f[t>>2]|0)+12>>2]&63](t,x,k,f[h>>2]|0,f[h+4>>2]|0);h=1}else h=0}else h=0;o=e$a(d$a()|0)|0;q=H;e=f[(f[j>>2]|0)+188>>2]|0;t=f[j+204>>2]|0;if((t|0)!=0?(f[t+24>>2]|0)!=0:0)d=f[i>>2]|0;else d=0;Bj[e&1023](j,d+144|0);tj[f[(f[j>>2]|0)+204>>2]&2047](j);m=e$a(d$a()|0)|0;n=H;if(l){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;e=w+11|0;b[e>>0]=5;b[w>>0]=b[369536]|0;b[w+1>>0]=b[369537]|0;b[w+2>>0]=b[369538]|0;b[w+3>>0]=b[369539]|0;b[w+4>>0]=b[369540]|0;b[w+5>>0]=0;g=x+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;d=Fv(x+68|0,w)|0;if((d|0)==(x+72|0))d=0;else d=(b[d+28>>0]|0)!=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[e>>0]|0)<0)GBb(f[w>>2]|0);if(d)SA(v,j,x)}if(h){t=a+116|0;r=f[t>>2]|0;s=a+120|0;Kj[f[(f[r>>2]|0)+12>>2]&63](r,x,k,f[s>>2]|0,f[s+4>>2]|0);t=f[t>>2]|0;Fj[f[(f[t>>2]|0)+16>>2]&511](t,v,k)}if(!(b[a+31>>0]|0)){t=e$a(d$a()|0)|0;s=H;tj[f[(f[j>>2]|0)+208>>2]&2047](j)}else{_i[f[(f[124710]|0)+8>>2]&2047](498840)|0;t=e$a(d$a()|0)|0;s=H;tj[f[(f[j>>2]|0)+208>>2]&2047](j);_i[f[(f[124710]|0)+12>>2]&2047](498840)|0}if(h){j=a+116|0;r=f[j>>2]|0;Bj[f[(f[r>>2]|0)+20>>2]&1023](r,k);j=f[j>>2]|0;r=a+120|0;Kj[f[(f[j>>2]|0)+12>>2]&63](j,x,k,f[r>>2]|0,f[r+4>>2]|0)}k=e$a(d$a()|0)|0;r=H;if(l){f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;e=w;h=373059;i=e+9|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[w+9>>0]=0;e=x+24|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;d=Fv(x+68|0,w)|0;if((d|0)==(x+72|0))d=0;else d=(b[d+28>>0]|0)!=0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);if(d){if(qZa(5)|0){l=Nu(Hua(5)|0,373069,26)|0;Drb(w,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(w,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(w);ksb(l,j)|0;Krb(l)|0}d=EBb(32)|0;f[w>>2]=d;f[w+8>>2]=-2147483616;f[w+4>>2]=25;e=d;h=373096;i=e+25|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[d+25>>0]=0;d=d$a()|0;j=a+120|0;g=j;e=f[g>>2]|0;g=f[g+4>>2]|0;if(q>>>0>g>>>0|(q|0)==(g|0)&o>>>0>e>>>0){l=NDb(o|0,q|0,e|0,g|0)|0;c=+p[d+8>>3]*(+(l>>>0)+4294967296.0*+(H>>>0))}else{l=NDb(e|0,g|0,o|0,q|0)|0;c=-(+p[d+8>>3]*(+(l>>>0)+4294967296.0*+(H>>>0)))}x2a(x,v,w,c)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);d=EBb(32)|0;f[w>>2]=d;f[w+8>>2]=-2147483616;f[w+4>>2]=23;e=d;h=373122;i=e+23|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[d+23>>0]=0;d=d$a()|0;g=j;e=f[g>>2]|0;g=f[g+4>>2]|0;if(n>>>0>g>>>0|(n|0)==(g|0)&m>>>0>e>>>0){l=NDb(m|0,n|0,e|0,g|0)|0;c=+p[d+8>>3]*(+(l>>>0)+4294967296.0*+(H>>>0))}else{l=NDb(e|0,g|0,m|0,n|0)|0;c=-(+p[d+8>>3]*(+(l>>>0)+4294967296.0*+(H>>>0)))}x2a(x,v,w,c)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);d=EBb(32)|0;f[w>>2]=d;f[w+8>>2]=-2147483616;f[w+4>>2]=25;e=d;h=373146;i=e+25|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[d+25>>0]=0;d=d$a()|0;if(n>>>0>q>>>0|(n|0)==(q|0)&m>>>0>o>>>0){q=NDb(m|0,n|0,o|0,q|0)|0;c=+p[d+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0))}else{q=NDb(o|0,q|0,m|0,n|0)|0;c=-(+p[d+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0)))}x2a(x,v,w,c)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);d=EBb(32)|0;f[w>>2]=d;f[w+8>>2]=-2147483616;f[w+4>>2]=25;e=d;h=373172;i=e+25|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[d+25>>0]=0;d=d$a()|0;g=j;e=f[g>>2]|0;g=f[g+4>>2]|0;if(s>>>0>g>>>0|(s|0)==(g|0)&t>>>0>e>>>0){q=NDb(t|0,s|0,e|0,g|0)|0;c=+p[d+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0))}else{q=NDb(e|0,g|0,t|0,s|0)|0;c=-(+p[d+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0)))}x2a(x,v,w,c)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);d=EBb(32)|0;f[w>>2]=d;f[w+8>>2]=-2147483616;f[w+4>>2]=23;e=d;h=373198;i=e+23|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[d+23>>0]=0;g=d$a()|0;e=j;d=f[e>>2]|0;e=f[e+4>>2]|0;if(r>>>0>e>>>0|(r|0)==(e|0)&k>>>0>d>>>0){q=NDb(k|0,r|0,d|0,e|0)|0;c=+p[g+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0))}else{q=NDb(d|0,e|0,k|0,r|0)|0;c=-(+p[g+8>>3]*(+(q>>>0)+4294967296.0*+(H>>>0)))}x2a(x,v,w,c)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);d=EBb(32)|0;f[w>>2]=d;f[w+8>>2]=-2147483616;f[w+4>>2]=25;e=d;h=373222;i=e+25|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[d+25>>0]=0;d=d$a()|0;if(r>>>0>s>>>0|(r|0)==(s|0)&k>>>0>t>>>0){t=NDb(k|0,r|0,t|0,s|0)|0;c=+p[d+8>>3]*(+(t>>>0)+4294967296.0*+(H>>>0))}else{t=NDb(t|0,s|0,k|0,r|0)|0;c=-(+p[d+8>>3]*(+(t>>>0)+4294967296.0*+(H>>>0)))}x2a(x,v,w,c)|0;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0)}}if(!(qZa(5)|0)){u=y;return}x=jsb(Nu(Hua(5)|0,373248,16)|0,a)|0;Drb(w,x+(f[(f[x>>2]|0)+-12>>2]|0)|0);a=utb(w,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(w);ksb(x,a)|0;Krb(x)|0;u=y;return}function BA(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+160|0;h=i;if(qZa(5)|0){g=Nu(Hua(5)|0,372973,19)|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}b[a+30>>0]=0;c=f[a+32>>2]|0;if(!c){u=i;return}if(b[a+28>>0]|0){u=i;return}g=c+100|0;TIa(f[g>>2]|0,372993,0)|0;a=c+208|0;e=f[a>>2]|0;if(_i[f[(f[e>>2]|0)+248>>2]&2047](e)|0?f[f[(f[a>>2]|0)+124>>2]>>2]|0:0){gY(h,268);c=f[g>>2]|0;e=h+60|0;d=f[e>>2]|0;if((d|0)!=(c|0)){f[e>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(j=d+8|0,c=f[j>>2]|0,f[j>>2]=c-1,(c|0)==1):0)Rua(d,1,1)}j=f[a>>2]|0;if(!(_i[f[(f[j>>2]|0)+248>>2]&2047](j)|0))a=0;else a=f[f[(f[a>>2]|0)+124>>2]>>2]|0;hY(h,a);a=f[78609]|0;f[h>>2]=a;f[h+(f[a+-12>>2]|0)>>2]=f[78612];a=h+124|0;c=f[a>>2]|0;if(c|0?(d=c+8|0,j=f[d>>2]|0,f[d>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[a>>2]=0;Lv(h+112|0,f[h+116>>2]|0);Mv(h+100|0,f[h+104>>2]|0);a=h+92|0;c=f[a>>2]|0;if(c|0?(d=c+8|0,j=f[d>>2]|0,f[d>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[a>>2]=0;a=f[h+80>>2]|0;if(a|0){f[h+84>>2]=a;GBb(a)}a=f[h+68>>2]|0;if(a|0){f[h+72>>2]=a;GBb(a)}a=f[e>>2]|0;if(a|0?(d=a+8|0,j=f[d>>2]|0,f[d>>2]=j-1,(j|0)==1):0)Rua(a,1,1);f[e>>2]=0;dDa(h,314440);Gva(h+128|0)}TIa(f[g>>2]|0,373018,0)|0;u=i;return}function CA(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;d=a+40|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;e=a+60|0;g=a+68|0;if(f[g>>2]|0?(c=f[a+64>>2]|0,h=(f[e>>2]|0)+4|0,i=f[c>>2]|0,f[i+4>>2]=f[h>>2],f[f[h>>2]>>2]=i,f[g>>2]=0,(c|0)!=(e|0)):0)do{i=c;c=f[c+4>>2]|0;GBb(i)}while((c|0)!=(e|0));h=a+72|0;b[h>>0]=0;_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;j=f[a+32>>2]|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;i=EBb(12)|0;f[i+8>>2]=j;f[i+4>>2]=e;j=f[e>>2]|0;f[i>>2]=j;f[j+4>>2]=i;f[e>>2]=i;f[g>>2]=(f[g>>2]|0)+1;b[h>>0]=1;i=a+52|0;P3a(i)|0;_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;j=f[a+36>>2]|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;c=EBb(12)|0;f[c+8>>2]=j;f[c+4>>2]=e;j=f[e>>2]|0;f[c>>2]=j;f[j+4>>2]=c;f[e>>2]=c;f[g>>2]=(f[g>>2]|0)+1;b[h>>0]=1;P3a(i)|0;_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;e=a+76|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;g=a+96|0;d=a+104|0;if(!(f[d>>2]|0)){j=a+108|0;b[j>>0]=0;j=f[e>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](e)|0;return}c=f[a+100>>2]|0;j=(f[g>>2]|0)+4|0;i=f[c>>2]|0;f[i+4>>2]=f[j>>2];f[f[j>>2]>>2]=i;f[d>>2]=0;if((c|0)==(g|0)){j=a+108|0;b[j>>0]=0;j=f[e>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](e)|0;return}do{j=c;c=f[c+4>>2]|0;GBb(j)}while((c|0)!=(g|0));j=a+108|0;b[j>>0]=0;j=f[e>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](e)|0;return}function DA(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;o=a+24|0;e=f[o>>2]|0;d=f[e+220>>2]|0;if(!d){d=f[a+20>>2]|0;if(!d)d=0;else d=(f[d+24>>2]|0)==0?0:e}else d=f[d+16>>2]|0;if((e|0)==(d|0)){d=HZa(e)|0;h=0}else{d=HZa(d)|0;h=f[(f[o>>2]|0)+120>>2]|0}e=c+216|0;g=f[e>>2]|0;if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){m=d+8|0;f[m>>2]=(f[m>>2]|0)+1}if(g|0?(k=g+8|0,m=f[k>>2]|0,f[k>>2]=m-1,(m|0)==1):0)Rua(g,1,1)}d=c+228|0;e=f[d>>2]|0;if((e|0)!=(h|0)){f[d>>2]=h;if(h|0){m=h+8|0;f[m>>2]=(f[m>>2]|0)+1}if(e|0?(k=e+8|0,m=f[k>>2]|0,f[k>>2]=m-1,(m|0)==1):0)Rua(e,1,1)}j=f[(f[o>>2]|0)+624>>2]|0;k=(j|0)==0;if(k)m=0;else m=f[j+48>>2]|0;d=c+100|0;e=f[d>>2]|0;if((e|0)!=(m|0)){f[d>>2]=m;if(m|0){i=m+8|0;f[i>>2]=(f[i>>2]|0)+1}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)}d=f[(f[o>>2]|0)+220>>2]|0;if((d|0)!=0?(l=WCb(d,299440,276536,0)|0,(l|0)!=0):0){i=f[l+40>>2]|0;if((i|0)!=0?(f[i+24>>2]|0)!=0:0){d=f[l+44>>2]|0;if(!d)d=1;else d=(f[d+88>>2]|0)==0;d=d&1}else d=1;b[c+245>>0]=d;i=l+68|0;e=f[(f[i>>2]|0)+16>>2]|0;d=c+148|0;g=(f[d>>2]|0)+40|0;h=f[g>>2]|0;if((h|0)!=(e|0)){f[g>>2]=e;if(e|0){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1}if(h|0?(e=h+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(h,1,1)}g=f[(f[i>>2]|0)+20>>2]|0;h=l;i=1}else{b[c+245>>0]=1;d=c+148|0;e=(f[d>>2]|0)+40|0;g=f[e>>2]|0;if((g|0)!=0?(f[e>>2]=0,i=g+8|0,l=f[i>>2]|0,f[i>>2]=l-1,(l|0)==1):0){Rua(g,1,1);g=0;h=0;i=0}else{g=0;h=0;i=0}}d=(f[d>>2]|0)+44|0;e=f[d>>2]|0;if((e|0)!=(g|0)){f[d>>2]=g;if(g|0){l=g+8|0;f[l>>2]=(f[l>>2]|0)+1}if(e|0?(g=e+8|0,l=f[g>>2]|0,f[g>>2]=l-1,(l|0)==1):0)Rua(e,1,1)}if(i?(n=f[h+32>>2]|0,(n|0)!=0):0){S_a(f[c+200>>2]|0,n)|0;t=57}else{d=f[m+180>>2]|0;if(d|0)S_a(f[c+200>>2]|0,d)|0;if(i)t=57}if((t|0)==57){n=f[h+124>>2]|0;f[c+232>>2]=f[h+120>>2];f[c+236>>2]=n}d=f[(f[o>>2]|0)+232>>2]|0;do if(!d){if(i?(p=f[h+116>>2]|0,p|0):0){q=p;t=62;break}d=Dxa()|0;d=f[d>>2]|0;if(d|0){q=d;t=62}}else{q=d;t=62}while(0);if(((((t|0)==62?b[q+94>>0]|0:0)?(r=c+224|0,s=f[r>>2]|0,(s|0)!=(q|0)):0)?(f[r>>2]=q,t=q+8|0,f[t>>2]=(f[t>>2]|0)+1,s|0):0)?(r=s+8|0,t=f[r>>2]|0,f[r>>2]=t-1,(t|0)==1):0)Rua(s,1,1);if(i){e=h+48|0;d=f[e>>2]|0;e=f[e+4>>2]|0;a=a+120|0;f[a>>2]=d;f[a+4>>2]=e;if(!m)return;a=m+912|0;f[a>>2]=d;f[a+4>>2]=e;return}if(k)return;d=WCb(j,297048,276480,0)|0;if(!d)return;e=(f[d+136>>2]|0)+24|0;d=f[e>>2]|0;e=f[e+4>>2]|0;a=a+120|0;f[a>>2]=d;f[a+4>>2]=e;if(!m)return;a=m+912|0;f[a>>2]=d;f[a+4>>2]=e;return}function EA(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;GA(a,309436);Uua(a+128|0);return}function FA(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;GA(a,309436);Uua(a+128|0);GBb(a);return}function GA(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=u;u=u+16|0;g=i;h=f[c>>2]|0;f[a>>2]=h;f[a+(f[h+-12>>2]|0)>>2]=f[c+20>>2];if(qZa(5)|0){h=jsb(Nu(Hua(5)|0,372937,18)|0,a)|0;Drb(g,h+(f[(f[h>>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(h,j)|0;Krb(h)|0}g=a+116|0;h=f[g>>2]|0;if(h|0?(k=h+8|0,j=f[k>>2]|0,f[k>>2]=j-1,(j|0)==1):0)Rua(h,1,1);f[g>>2]=0;h=a+96|0;g=a+104|0;if(f[g>>2]|0?(e=f[a+100>>2]|0,k=(f[h>>2]|0)+4|0,j=f[e>>2]|0,f[j+4>>2]=f[k>>2],f[f[k>>2]>>2]=j,f[g>>2]=0,(e|0)!=(h|0)):0)do{k=e;e=f[e+4>>2]|0;GBb(k)}while((e|0)!=(h|0));K3a(a+88|0);R3a(a+76|0);g=a+60|0;e=a+68|0;if(f[e>>2]|0?(d=f[a+64>>2]|0,k=(f[g>>2]|0)+4|0,j=f[d>>2]|0,f[j+4>>2]=f[k>>2],f[f[k>>2]>>2]=j,f[e>>2]=0,(d|0)!=(g|0)):0)do{k=d;d=f[d+4>>2]|0;GBb(k)}while((d|0)!=(g|0));K3a(a+52|0);R3a(a+40|0);d=a+36|0;e=f[d>>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[d>>2]=0;d=a+32|0;e=f[d>>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[d>>2]=0;e=a+20|0;d=f[e>>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[e>>2]=0;d=f[c+8>>2]|0;f[a>>2]=d;f[a+(f[d+-12>>2]|0)>>2]=f[c+12>>2];d=a+4|0;if((b[d+11>>0]|0)>=0){u=i;return}GBb(f[d>>2]|0);u=i;return}function HA(a,c){a=a|0;c=c|0;var d=0;d=f[c+4>>2]|0;f[a>>2]=d;f[a+(f[d+-12>>2]|0)>>2]=f[c+8>>2];a=a+4|0;if((b[a+11>>0]|0)>=0)return;GBb(f[a>>2]|0);return}function IA(a){a=a|0;return}function JA(a){a=a|0;mi()}function KA(a){a=a|0;mi()}function LA(a){a=a|0;mi()}function MA(a){a=a|0;mi()}function NA(a){a=a|0;mi()}function OA(a){a=a|0;mi()}function PA(a){a=a|0;mi()}function QA(a){a=a|0;mi()}function RA(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=a+112|0;if(b[d>>0]|0)return;b[d>>0]=1;d=f[c+832>>2]|0;if((b[d+814>>0]|0)!=0?(f[c+936>>2]|0)>0:0){g=EBb(40)|0;d=g;e=d+40|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));rZa(g);f[g+12>>2]=0;f[g>>2]=309468;d=g+16|0;f[d>>2]=d;f[g+20>>2]=d;d=g+24|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;d=a+116|0;e=f[d>>2]|0;if((e|0)!=(g|0)){f[d>>2]=g;h=g+8|0;f[h>>2]=(f[h>>2]|0)+1;if((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);h=14}else h=14}else d=e}else h=8;do if((h|0)==8){if(!(b[d+813>>0]|0)){d=a+116|0;h=14;break}e=EBb(48)|0;rZa(e);f[e+12>>2]=0;f[e>>2]=309324;d=e+16|0;f[d>>2]=d;f[e+20>>2]=d;d=e+24|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;d=a+116|0;g=f[d>>2]|0;if((g|0)!=(e|0)){f[d>>2]=e;h=e+8|0;f[h>>2]=(f[h>>2]|0)+1;if((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=14}else h=14}else d=g}while(0);if((h|0)==14)d=f[d>>2]|0;if(!d)return;h=a+120|0;Ij[f[(f[d>>2]|0)+24>>2]&127](d,c,f[h>>2]|0,f[h+4>>2]|0);return}function SA(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+112|0;m=o+16|0;n=o;RY(m);OY(c,m)|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=20;g=c;h=373265;i=g+20|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+20>>0]=0;x2a(d,a,n,+((f[m+48>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=27;g=c;h=373286;i=g+27|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+27>>0]=0;x2a(d,a,n,+(f[m+4>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(48)|0;f[n>>2]=c;f[n+8>>2]=-2147483600;f[n+4>>2]=32;g=c;h=373314;i=g+32|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+32>>0]=0;x2a(d,a,n,+(f[m+20>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=24;g=c;h=373347;i=g+24|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+24>>0]=0;x2a(d,a,n,+(f[m+24>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=29;g=c;h=373372;i=g+29|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+29>>0]=0;x2a(d,a,n,+(f[m+12>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(16)|0;f[n>>2]=c;f[n+8>>2]=-2147483632;f[n+4>>2]=13;g=c;h=373402;i=g+13|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+13>>0]=0;x2a(d,a,n,+(f[m+28>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=21;g=c;h=373416;i=g+21|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+21>>0]=0;x2a(d,a,n,+(f[m+16>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=27;g=c;h=373438;i=g+27|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+27>>0]=0;x2a(d,a,n,+(f[m+40>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=24;g=c;h=373466;i=g+24|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+24>>0]=0;x2a(d,a,n,+(f[m+44>>2]|0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);c=f[m+52>>2]|0;l=m+56|0;if((c|0)==(l|0))e=0;else{e=0;do{i=f[c+20>>2]|0;g=f[c+4>>2]|0;if(!g){g=c+8|0;h=f[g>>2]|0;if((f[h>>2]|0)==(c|0))c=h;else do{k=f[g>>2]|0;g=k+8|0;c=f[g>>2]|0}while((f[c>>2]|0)!=(k|0))}else{c=g;while(1){g=f[c>>2]|0;if(!g)break;else c=g}}e=i+e|0}while((c|0)!=(l|0))};f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=31;g=c;h=373491;i=g+31|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+31>>0]=0;x2a(d,a,n,+(e>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);j=m+68|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=27;g=c;h=373523;i=g+27|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+27>>0]=0;k=m+72|0;c=f[k>>2]|0;a:do if(!c){h=k;g=k}else{do if(f[c+16>>2]|0){e=c;while(1){c=f[e>>2]|0;if(!c){h=35;break}if(!(f[c+16>>2]|0)){h=36;break}else e=c}if((h|0)==35){h=e;g=e;break a}else if((h|0)==36)break}else e=m+72|0;while(0);h=c;g=e}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=0;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=h;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=26;g=c;h=373551;i=g+26|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+26>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>1){e=f[c>>2]|0;if(!e){h=50;break}}else{if(e|0){h=54;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=53;break}else c=g}g=c;c=e}if((h|0)==50){e=c;g=c;break}else if((h|0)==53){e=c;break}else if((h|0)==54){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=1;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=31;g=c;h=373578;i=g+31|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+31>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>3){e=f[c>>2]|0;if(!e){h=67;break}}else{if((e|0)==3){h=71;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=70;break}else c=g}g=c;c=e}if((h|0)==67){e=c;g=c;break}else if((h|0)==70){e=c;break}else if((h|0)==71){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=3;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=30;g=c;h=373610;i=g+30|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+30>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>2){e=f[c>>2]|0;if(!e){h=84;break}}else{if((e|0)==2){h=88;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=87;break}else c=g}g=c;c=e}if((h|0)==84){e=c;g=c;break}else if((h|0)==87){e=c;break}else if((h|0)==88){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=2;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=30;g=c;h=373641;i=g+30|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+30>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>4){e=f[c>>2]|0;if(!e){h=101;break}}else{if((e|0)==4){h=105;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=104;break}else c=g}g=c;c=e}if((h|0)==101){e=c;g=c;break}else if((h|0)==104){e=c;break}else if((h|0)==105){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=4;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(48)|0;f[n>>2]=c;f[n+8>>2]=-2147483600;f[n+4>>2]=35;g=c;h=373672;i=g+35|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+35>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>5){e=f[c>>2]|0;if(!e){h=118;break}}else{if((e|0)==5){h=122;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=121;break}else c=g}g=c;c=e}if((h|0)==118){e=c;g=c;break}else if((h|0)==121){e=c;break}else if((h|0)==122){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=5;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(48)|0;f[n>>2]=c;f[n+8>>2]=-2147483600;f[n+4>>2]=33;g=c;h=373708;i=g+33|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+33>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>6){e=f[c>>2]|0;if(!e){h=135;break}}else{if((e|0)==6){h=139;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=138;break}else c=g}g=c;c=e}if((h|0)==135){e=c;g=c;break}else if((h|0)==138){e=c;break}else if((h|0)==139){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=6;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=26;g=c;h=373742;i=g+26|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+26>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>7){e=f[c>>2]|0;if(!e){h=152;break}}else{if((e|0)==7){h=156;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=155;break}else c=g}g=c;c=e}if((h|0)==152){e=c;g=c;break}else if((h|0)==155){e=c;break}else if((h|0)==156){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=7;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=31;g=c;h=373769;i=g+31|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+31>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>8){e=f[c>>2]|0;if(!e){h=169;break}}else{if((e|0)==8){h=173;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=172;break}else c=g}g=c;c=e}if((h|0)==169){e=c;g=c;break}else if((h|0)==172){e=c;break}else if((h|0)==173){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=8;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);i=m+76|0;f[i>>2]=(f[i>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=EBb(32)|0;f[n>>2]=c;f[n+8>>2]=-2147483616;f[n+4>>2]=28;g=c;h=373801;i=g+28|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));b[c+28>>0]=0;c=f[k>>2]|0;do if(c){g=m+72|0;while(1){e=f[c+16>>2]|0;if(e>>>0>9){e=f[c>>2]|0;if(!e){h=186;break}}else{if((e|0)==9){h=190;break}g=c+4|0;e=f[g>>2]|0;if(!e){h=189;break}else c=g}g=c;c=e}if((h|0)==186){e=c;g=c;break}else if((h|0)==189){e=c;break}else if((h|0)==190){e=c;break}}else{e=k;g=k}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=9;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[j>>2]>>2]|0;if(!e)e=c;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[m+72>>2]|0,e);j=m+76|0;f[j>>2]=(f[j>>2]|0)+1}x2a(d,a,n,+((f[c+20>>2]|0)>>>0))|0;if((b[n+11>>0]|0)>=0){f[m>>2]=316712;d=m+68|0;n=f[k>>2]|0;Jv(d,n);m=m+52|0;n=f[l>>2]|0;Kv(m,n);u=o;return}GBb(f[n>>2]|0);f[m>>2]=316712;d=m+68|0;n=f[k>>2]|0;Jv(d,n);m=m+52|0;n=f[l>>2]|0;Kv(m,n);u=o;return}function TA(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=309468;b=f[a+28>>2]|0;if(b|0){f[a+32>>2]=b;GBb(b)}d=a+16|0;c=a+24|0;if(!(f[c>>2]|0)){Uua(a);return}b=f[a+20>>2]|0;e=(f[d>>2]|0)+4|0;g=f[b>>2]|0;f[g+4>>2]=f[e>>2];f[f[e>>2]>>2]=g;f[c>>2]=0;if((b|0)==(d|0)){Uua(a);return}do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));Uua(a);return}function UA(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=309468;b=f[a+28>>2]|0;if(b|0){f[a+32>>2]=b;GBb(b)}d=a+16|0;c=a+24|0;if(!(f[c>>2]|0)){Uua(a);GBb(a);return}b=f[a+20>>2]|0;e=(f[d>>2]|0)+4|0;g=f[b>>2]|0;f[g+4>>2]=f[e>>2];f[f[e>>2]>>2]=g;f[c>>2]=0;if((b|0)==(d|0)){Uua(a);GBb(a);return}do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));Uua(a);GBb(a);return}function VA(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.0,k=0,l=0,m=0,n=0.0,o=0,q=0,r=0.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,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;V=u;u=u+48|0;Q=V+36|0;R=V+16|0;S=V+8|0;T=V;U=V+24|0;e=f[a+20>>2]|0;K=a+16|0;g=e;if((K|0)==(g|0)){u=V;return}L=a+12|0;M=R+4|0;N=d+928|0;O=d+936|0;P=d+912|0;w=d+920|0;x=U+8|0;y=U+4|0;z=U+11|0;A=U+8|0;B=U+4|0;C=U+11|0;D=U+8|0;E=U+4|0;F=U+11|0;G=a+24|0;I=a+32|0;J=a+36|0;v=a+28|0;t=g;do{f[Q>>2]=0;s=e;Fj[f[(f[L>>2]|0)+944>>2]&511](f[s+12>>2]|0,34919,Q);if(!(f[Q>>2]|0))e=f[t+4>>2]|0;else{a=s+8|0;o=f[a>>2]|0;a=f[a+4>>2]|0;q=R;f[q>>2]=o;f[q+4>>2]=a;q=S;f[q>>2]=0;f[q+4>>2]=0;q=T;f[q>>2]=0;f[q+4>>2]=0;Fj[f[(f[L>>2]|0)+952>>2]&511](o,34918,S);Fj[f[(f[L>>2]|0)+952>>2]&511](f[M>>2]|0,34918,T);o=N;q=f[o>>2]|0;o=f[o+4>>2]|0;a=f[O>>2]|0;do if((a|0)<64){Z=a+-1|0;k=SDb(1,0,Z|0)|0;l=H;g=S;d=f[g>>2]|0;g=f[g+4>>2]|0;Y=RDb(d|0,g|0,Z|0)|0;X=H;m=T;i=f[m>>2]|0;m=f[m+4>>2]|0;W=RDb(i|0,m|0,Z|0)|0;h=H;Z=RDb(q|0,o|0,Z|0)|0;Z=MDb(Z|0,H|0,-1,-1)|0;X=MDb(Z|0,H|0,Y|0,X|0)|0;h=MDb(X|0,H|0,W|0,h|0)|0;W=H;if(W>>>0<0|(W|0)==0&h>>>0<2){a=SDb(1,0,a|0)|0;h=H;if(g>>>0>m>>>0|(g|0)==(m|0)&d>>>0>i>>>0){i=MDb(i|0,m|0,a|0,h|0)|0;a=H;Z=T;f[Z>>2]=i;f[Z+4>>2]=a;break}if(g>>>0>o>>>0|(g|0)==(o|0)&d>>>0>q>>>0?(Y=NDb(d|0,g|0,q|0,o|0)|0,W=H,Z=RDb(k|0,l|0,1)|0,X=H,W>>>0>X>>>0|(W|0)==(X|0)&Y>>>0>Z>>>0):0){q=MDb(a|0,h|0,q|0,o|0)|0;a=m;o=H;break}if(o>>>0>m>>>0|(o|0)==(m|0)&q>>>0>i>>>0?(Y=NDb(q|0,o|0,i|0,m|0)|0,W=H,Z=RDb(k|0,l|0,1)|0,X=H,W>>>0>X>>>0|(W|0)==(X|0)&Y>>>0>Z>>>0):0){i=MDb(i|0,m|0,a|0,h|0)|0;Z=H;d=MDb(d|0,g|0,a|0,h|0)|0;g=H;a=S;f[a>>2]=d;f[a+4>>2]=g;a=T;f[a>>2]=i;f[a+4>>2]=Z;a=Z}else a=m}else a=m}else{a=T;g=S;i=f[a>>2]|0;a=f[a+4>>2]|0;d=f[g>>2]|0;g=f[g+4>>2]|0}while(0);g=NDb(i|0,a|0,d|0,g|0)|0;r=(+(g>>>0)+4294967296.0*+(H>>>0))*1.0e-09;g=d$a()|0;a=P;d=f[a>>2]|0;a=f[a+4>>2]|0;i=w;h=f[i>>2]|0;i=f[i+4>>2]|0;if(i>>>0>a>>>0|(i|0)==(a|0)&h>>>0>d>>>0){Z=NDb(h|0,i|0,d|0,a|0)|0;j=+p[g+8>>3]*(+(Z>>>0)+4294967296.0*+(H>>>0))}else{Z=NDb(d|0,a|0,h|0,i|0)|0;j=-(+p[g+8>>3]*(+(Z>>>0)+4294967296.0*+(H>>>0)))}d=S;g=f[d>>2]|0;d=f[d+4>>2]|0;if(d>>>0>o>>>0|(d|0)==(o|0)&g>>>0>q>>>0){Z=NDb(g|0,d|0,q|0,o|0)|0;n=j+(+(Z>>>0)+4294967296.0*+(H>>>0))*1.0e-09}else{Z=NDb(q|0,o|0,g|0,d|0)|0;n=j-(+(Z>>>0)+4294967296.0*+(H>>>0))*1.0e-09}d=T;g=f[d>>2]|0;d=f[d+4>>2]|0;if(d>>>0>o>>>0|(d|0)==(o|0)&g>>>0>q>>>0){Z=NDb(g|0,d|0,q|0,o|0)|0;j=j+(+(Z>>>0)+4294967296.0*+(H>>>0))*1.0e-09}else{Z=NDb(q|0,o|0,g|0,d|0)|0;j=j-(+(Z>>>0)+4294967296.0*+(H>>>0))*1.0e-09}a=s+16|0;g=f[a>>2]|0;d=EBb(32)|0;f[U>>2]=d;f[x>>2]=-2147483616;f[y>>2]=19;h=d;i=372861;k=h+19|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(k|0));b[d+19>>0]=0;x2a(c,g,U,n)|0;if((b[z>>0]|0)<0)GBb(f[U>>2]|0);g=f[a>>2]|0;d=EBb(32)|0;f[U>>2]=d;f[A>>2]=-2147483616;f[B>>2]=17;h=d;i=372881;k=h+17|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(k|0));b[d+17>>0]=0;x2a(c,g,U,j)|0;if((b[C>>0]|0)<0)GBb(f[U>>2]|0);g=f[a>>2]|0;d=EBb(32)|0;f[U>>2]=d;f[D>>2]=-2147483616;f[E>>2]=19;h=d;i=372899;k=h+19|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(k|0));b[d+19>>0]=0;x2a(c,g,U,r)|0;if((b[F>>0]|0)<0)GBb(f[U>>2]|0);Z=t+4|0;g=f[Z>>2]|0;Y=f[t>>2]|0;f[Y+4>>2]=g;f[f[Z>>2]>>2]=Y;f[G>>2]=(f[G>>2]|0)+-1;GBb(e);e=f[I>>2]|0;if((e|0)==(f[J>>2]|0))ZA(v,R);else{X=R;Y=f[X+4>>2]|0;Z=e;f[Z>>2]=f[X>>2];f[Z+4>>2]=Y;f[I>>2]=(f[I>>2]|0)+8}e=g}t=e}while((K|0)!=(t|0));u=V;return}function WA(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;h=u;u=u+16|0;g=h;f[g>>2]=0;c=g+4|0;f[c>>2]=0;d=a+32|0;e=f[d>>2]|0;if((f[a+28>>2]|0)==(e|0)){d=a+12|0;Bj[f[(f[d>>2]|0)+912>>2]&1023](1,g);Bj[f[(f[d>>2]|0)+912>>2]&1023](1,c);c=d;d=f[g>>2]|0}else{j=e+-8|0;i=f[j>>2]|0;f[g>>2]=i;f[c>>2]=f[e+-4>>2];f[d>>2]=j;c=a+12|0;d=i}Bj[f[(f[c>>2]|0)+932>>2]&1023](d,36392);j=a+16|0;e=g;d=f[e>>2]|0;e=f[e+4>>2]|0;i=EBb(20)|0;g=i+8|0;f[g>>2]=d;f[g+4>>2]=e;f[i+16>>2]=b;f[i+4>>2]=j;b=f[j>>2]|0;f[i>>2]=b;f[b+4>>2]=i;f[j>>2]=i;j=a+24|0;f[j>>2]=(f[j>>2]|0)+1;u=h;return}function XA(a,b){a=a|0;b=b|0;Bj[f[(f[a+12>>2]|0)+932>>2]&1023](f[(f[a+16>>2]|0)+12>>2]|0,36392);return}function YA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a+12>>2]=f[b+832>>2];return}function ZA(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;i=a+4|0;j=f[a>>2]|0;k=(f[i>>2]|0)-j|0;g=k>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;m=b;g=f[m+4>>2]|0;b=c;f[b>>2]=f[m>>2];f[b+4>>2]=g;if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function _A(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;g=a+32|0;if(!(b[g>>0]|0)){c=a+12|0;do M3a(c,a)|0;while(!(b[g>>0]|0))}d=a+28|0;e=f[d>>2]|0;if(e){h=f[a+24>>2]|0;c=f[h+8>>2]|0;i=h+4|0;j=f[h>>2]|0;f[j+4>>2]=f[i>>2];f[f[i>>2]>>2]=j;f[d>>2]=e+-1;GBb(h);if(!(f[d>>2]|0))b[g>>0]=0}else c=0;_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;return c|0}function $A(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=309504;if((b[497120]|0)==0?DDb(497120)|0:0){f[124713]=0;f[124714]=0;f[124715]=0;t4a(498864,0)}fB(498852,a);c=a+20|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+16|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+12|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;Uua(a);return}e=d+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){f[c>>2]=0;Uua(a);return}Rua(d,1,1);f[c>>2]=0;Uua(a);return}function aB(a){a=a|0;$A(a);GBb(a);return}function bB(a){a=a|0;return 400182}function cB(a){a=a|0;var b=0;if(i6(f[a+16>>2]|0)|0){a=1;return a|0}b=f[a+20>>2]|0;if(_i[f[(f[b>>2]|0)+24>>2]&2047](b)|0){b=1;return b|0}a=f[a+12>>2]|0;if(a|0){if(f[a+84>>2]|0){b=1;return b|0}if(f[a+88>>2]|0){b=1;return b|0}}b=0;return b|0}function dB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+12|0;if(!(f[e>>2]|0))return;c=f[a+16>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+56>>2]&1023](c,f[b+12>>2]|0);a=a+20|0;c=f[a>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+28>>2]&1023](c,f[b+12>>2]|0);if(!(f[e>>2]|0))return;a=f[a>>2]|0;c=b+44|0;d=f[c>>2]|0;if((d|0)!=(a|0)){f[c>>2]=a;if(a|0){c=a+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(a=d+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(d,1,1)}e=f[e>>2]|0;Bj[f[(f[e>>2]|0)+212>>2]&1023](e,b);return}function eB(a){a=a|0;return j6(f[a+16>>2]|0)|0}function fB(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;k=a+12|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;g=f[a>>2]|0;h=g;j=a+4|0;c=f[j>>2]|0;if((c|0)==(g|0)){j=f[k>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](k)|0;return}e=h;a=g;while(1){d=f[a>>2]|0;if((d|0)!=0?(f[d+24>>2]|0)!=0:0)d=f[a+4>>2]|0;else d=0;if((d|0)==(b|0))break;a=a+8|0;if((c|0)==(a|0)){i=24;break}else e=a}if((i|0)==24){j=f[k>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](k)|0;return}a=g+(e-h>>3<<3)|0;d=a+8|0;if((d|0)!=(c|0)){do{e=f[a>>2]|0;b=f[d>>2]|0;if((e|0)!=(b|0)){f[a>>2]=b;if(b|0){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}if(e|0?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1)}f[a+4>>2]=f[d+4>>2];d=d+8|0;a=a+8|0}while((d|0)!=(c|0));c=f[j>>2]|0;if((c|0)!=(a|0))i=17}else i=17;if((i|0)==17)do{c=c+-8|0;d=f[c>>2]|0;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[c>>2]=0}while((c|0)!=(a|0));f[j>>2]=a;j=f[k>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](k)|0;return}function gB(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 hB(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 iB(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 jB(a){a=a|0;a=EBb(168)|0;fC(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function kB(a,b){a=a|0;b=b|0;var c=0;c=EBb(168)|0;RB(c,a,b);return c+(f[(f[c>>2]|0)+-12>>2]|0)|0}function lB(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,276536,-1)|0)!=0;return b|0}function mB(a){a=a|0;return 369347}function nB(a){a=a|0;return 374092}function oB(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;y=u;u=u+32|0;n=y+20|0;m=y+16|0;l=y+12|0;o=y+8|0;p=y+4|0;q=y;VXa(a,b);v=WCb(b,299440,276536,0)|0;if(!v){CC(a);tw(a);u=y;return}d=v+48|0;b=f[d+4>>2]|0;t=a+48|0;f[t>>2]=f[d>>2];f[t+4>>2]=b;t=v+32|0;b=a+32|0;d=f[b>>2]|0;e=f[t>>2]|0;if((d|0)!=(e|0)){f[b>>2]=e;if(e|0){s=e+8|0;f[s>>2]=(f[s>>2]|0)+1}if(d|0?(r=d+8|0,s=f[r>>2]|0,f[r>>2]=s-1,(s|0)==1):0)Rua(d,1,1)}s=v+68|0;b=f[s>>2]|0;if((((b|0?f[b+12>>2]|0:0)?(g=a+68|0,h=f[g>>2]|0,(h|0)!=(b|0)):0)?(f[g>>2]=b,r=b+8|0,f[r>>2]=(f[r>>2]|0)+1,h|0):0)?(g=h+8|0,r=f[g>>2]|0,f[g>>2]=r-1,(r|0)==1):0)Rua(h,1,1);r=v+76|0;b=f[r>>2]|0;if(((b|0?(i=a+76|0,j=f[i>>2]|0,(j|0)!=(b|0)):0)?(f[i>>2]=b,i=b+(f[(f[b>>2]|0)+-16>>2]|0)+8|0,f[i>>2]=(f[i>>2]|0)+1,j|0):0)?(k=j+(f[(f[j>>2]|0)+-16>>2]|0)|0,i=k+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(k,1,1);g=a+80|0;f[o>>2]=g;j=v+80|0;i=v+84|0;f[p>>2]=f[i>>2];f[q>>2]=j;f[l>>2]=f[o>>2];f[m>>2]=f[p>>2];f[n>>2]=f[q>>2];QC(g,l,m,n,0)|0;g=v+92|0;E0a(a+92|0,g)|0;h=v+116|0;b=a+116|0;d=f[b>>2]|0;e=f[h>>2]|0;if((d|0)!=(e|0)){f[b>>2]=e;if(e|0){q=e+8|0;f[q>>2]=(f[q>>2]|0)+1}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[a+120>>2]=f[v+120>>2];f[a+124>>2]=f[v+124>>2];b=f[t>>2]|0;if(b|0?(f[t>>2]=0,q=b+8|0,t=f[q>>2]|0,f[q>>2]=t-1,(t|0)==1):0)Rua(b,1,1);b=f[s>>2]|0;if(b|0?(f[s>>2]=0,s=b+8|0,t=f[s>>2]|0,f[s>>2]=t-1,(t|0)==1):0)Rua(b,1,1);b=f[r>>2]|0;if(b|0?(f[r>>2]=0,w=b+(f[(f[b>>2]|0)+-16>>2]|0)|0,s=w+8|0,t=f[s>>2]|0,f[s>>2]=t-1,(t|0)==1):0)Rua(w,1,1);b=v+88|0;if(f[b>>2]|0?(c=f[i>>2]|0,w=(f[j>>2]|0)+4|0,v=f[c>>2]|0,f[v+4>>2]=f[w>>2],f[f[w>>2]>>2]=v,f[b>>2]=0,(c|0)!=(j|0)):0)do{b=c;c=f[c+4>>2]|0;d=f[b+8>>2]|0;if(d|0?(x=d+(f[(f[d>>2]|0)+-16>>2]|0)|0,v=x+8|0,w=f[v>>2]|0,f[v>>2]=w-1,(w|0)==1):0)Rua(x,1,1);GBb(b)}while((c|0)!=(j|0));D0a(g);c=f[h>>2]|0;if(!c){CC(a);tw(a);u=y;return}f[h>>2]=0;w=c+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1){CC(a);tw(a);u=y;return}Rua(c,1,1);CC(a);tw(a);u=y;return}function pB(a){a=a|0;gC(a,309992);Gva(a+132|0);return}function qB(a){a=a|0;gC(a,309992);Gva(a+132|0);GBb(a);return}function rB(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;d=i;e=EBb(144)|0;NC(e,c);g=EBb(80)|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;h=d+11|0;b[h>>0]=6;b[d>>0]=b[428756]|0;b[d+1>>0]=b[428757]|0;b[d+2>>0]=b[428758]|0;b[d+3>>0]=b[428759]|0;b[d+4>>0]=b[428760]|0;b[d+5>>0]=b[428761]|0;b[d+6>>0]=0;r2a(g,d);a=c+224|0;c=f[a>>2]|0;if(((c|0)!=(g|0)?(f[a>>2]=g,g=g+8|0,f[g>>2]=(f[g>>2]|0)+1,c|0):0)?(a=c+8|0,g=f[a>>2]|0,f[a>>2]=g-1,(g|0)==1):0)Rua(c,1,1);if((b[h>>0]|0)>=0){u=i;return e|0}GBb(f[d>>2]|0);u=i;return e|0}function sB(a){a=a|0;return a|0}function tB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;g=a+48|0;d=g;f[d>>2]=b;f[d+4>>2]=c;d=f[a+56>>2]|0;e=a+60|0;if((d|0)==(f[e>>2]|0))return;a=f[(f[d>>2]|0)+32>>2]|0;h=a+24|0;f[h>>2]=b;f[h+4>>2]=c;Ata(a);a=d+4|0;if((a|0)==(f[e>>2]|0))return;do{b=g;c=f[b+4>>2]|0;h=f[(f[a>>2]|0)+32>>2]|0;d=h+24|0;f[d>>2]=f[b>>2];f[d+4>>2]=c;Ata(h);a=a+4|0}while((a|0)!=(f[e>>2]|0));return}function uB(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+96|0;i=m;j=a+68|0;if((f[(f[j>>2]|0)+12>>2]|0)==(b|0)){u=m;return}k=BC(b)|0;l=(k|0)==0;if(l){if((f[(f[j>>2]|0)+8>>2]|0)==1){if(qZa(4)|0){e=Nu(Hua(4)|0,374488,43)|0;e=jsb(e,f[j>>2]|0)|0;Drb(i,e+(f[(f[e>>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(e,d)|0;Krb(e)|0}}else{c=EBb(24)|0;SB(c);d=f[j>>2]|0;if(((d|0)!=(c|0)?(f[j>>2]=c,e=c+8|0,f[e>>2]=(f[e>>2]|0)+1,d|0):0)?(c=d+8|0,e=f[c>>2]|0,f[c>>2]=e-1,(e|0)==1):0)Rua(d,1,1);if(qZa(4)|0){e=Nu(Hua(4)|0,374446,41)|0;e=jsb(e,f[j>>2]|0)|0;Drb(i,e+(f[(f[e>>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(e,d)|0;Krb(e)|0}}c=f[j>>2]|0;d=c+12|0;e=f[d>>2]|0;if((e|0)!=(b|0)){f[d>>2]=b;if(b|0){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}if((e|0)!=0?(b=e+8|0,g=f[b>>2]|0,f[b>>2]=g-1,(g|0)==1):0){Rua(e,1,1);g=24}else g=24}}else{d=k+8|0;f[d>>2]=(f[d>>2]|0)+1;if(qZa(4)|0){b=jsb(Nu(Hua(4)|0,374410,35)|0,k)|0;Drb(i,b+(f[(f[b>>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(b,e)|0;Krb(b)|0}c=f[j>>2]|0;if((c|0)!=(k|0)){f[j>>2]=k;f[d>>2]=(f[d>>2]|0)+1;if((c|0)!=0?(b=c+8|0,g=f[b>>2]|0,f[b>>2]=g-1,(g|0)==1):0){Rua(c,1,1);g=24}else g=24}}if((g|0)==24)c=f[j>>2]|0;if(c|0?f[c+12>>2]|0:0){c=i+64|0;rZa(c);f[c>>2]=338032;g=i+76|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[i+88>>2]=2;f[i+92>>2]=0;ZZa(i,317372,2);g=f[79342]|0;f[i>>2]=g;f[i+(f[g+-12>>2]|0)>>2]=f[79345];f[i+56>>2]=0;f[i+60>>2]=65536;f[i+24>>2]=-1;f[i>>2]=317400;f[c>>2]=317768;g=f[(f[j>>2]|0)+12>>2]|0;Bj[f[(f[g>>2]|0)+212>>2]&1023](g,i);g=f[a+40>>2]|0;if(((g|0?f[g+24>>2]|0:0)?(h=f[a+44>>2]|0,h|0):0)?f[h+28>>2]|0:0){h=f[(f[j>>2]|0)+12>>2]|0;Bj[f[f[h>>2]>>2]&1023](h,1)}h=f[(f[j>>2]|0)+12>>2]|0;g=f[(f[h>>2]|0)+156>>2]|0;j=Dxa()|0;j=w_a(f[j>>2]|0)|0;Bj[g&1023](h,j);dDa(i,317372);Gva(c)}CC(a);tw(a);if(l){u=m;return}j=k+8|0;l=f[j>>2]|0;f[j>>2]=l-1;if((l|0)!=1){u=m;return}Rua(k,1,1);u=m;return}function vB(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.0,m=0.0;j=f[b+160>>2]|0;k=(f[b+164>>2]|0)-j|0;if((((k|0?(e=f[j+((k>>2)+-1<<2)>>2]|0,g=f[e+12>>2]|0,g|0):0)?f[g+24>>2]|0:0)?(h=f[e+16>>2]|0,h|0):0)?(i=_i[f[(f[h>>2]|0)+80>>2]&2047](h)|0,i|0):0){m=+n[e+24>>2];l=+n[e+36>>2];k=zC(0,i,1,(+n[e+20>>2]-m)/(+n[e+28>>2]-m)*2.0+-1.0,(+n[e+32>>2]-l)/(+n[e+40>>2]-l)*2.0+-1.0,c,d)|0;return k|0}k=AC(a,+n[b+104>>2],+n[b+108>>2],c,d)|0;return k|0}function wB(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,k=0,l=0,m=0.0,o=0.0;k=f[b+160>>2]|0;l=(f[b+164>>2]|0)-k|0;if((((l|0?(g=f[k+((l>>2)+-1<<2)>>2]|0,h=f[g+12>>2]|0,h|0):0)?f[h+24>>2]|0:0)?(i=f[g+16>>2]|0,i|0):0)?(j=_i[f[(f[i>>2]|0)+80>>2]&2047](i)|0,j|0):0){o=+n[g+24>>2];m=+n[g+36>>2];l=qC(0,j,1,(+n[g+20>>2]-o)/(+n[g+28>>2]-o)*2.0+-1.0,(+n[g+32>>2]-m)/(+n[g+40>>2]-m)*2.0+-1.0,c,d,e)|0;return l|0}l=rC(a,+n[b+104>>2],+n[b+108>>2],c,d,e)|0;return l|0}function xB(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;g=f[a+40>>2]|0;if((g|0?f[g+24>>2]|0:0)?(d=f[a+44>>2]|0,d|0):0){b[d+33>>0]=1;u=e;return}if(!(qZa(4)|0)){u=e;return}g=Nu(Hua(4)|0,374305,60)|0;Drb(c,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);d=utb(c,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(c);ksb(g,d)|0;Krb(g)|0;u=e;return}function yB(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;h=f[a+40>>2]|0;if((h|0?f[h+24>>2]|0:0)?(d=f[a+44>>2]|0,d|0):0){b[d+34>>0]=c&1;u=g;return}if(!(qZa(4)|0)){u=g;return}h=Nu(Hua(4)|0,374234,70)|0;Drb(e,h+(f[(f[h>>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(h,d)|0;Krb(h)|0;u=g;return}function zB(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;e=i+8|0;h=i+4|0;g=i;if(qZa(4)|0){d=Nu(hsb(Nu(hsb(Nu(Hua(4)|0,374125,25)|0,b)|0,434083,1)|0,c)|0,409404,1)|0;Drb(e,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);j=utb(e,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(e);ksb(d,j)|0;Krb(d)|0}d=pC(a,b,c,h,g)|0;if(!d){if(!(qZa(4)|0)){u=i;return}j=Nu(Hua(4)|0,374151,60)|0;Drb(e,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);h=utb(e,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(e);ksb(j,h)|0;Krb(j)|0;u=i;return}d=f[d+624>>2]|0;if(!d){u=i;return}e=WCb(d,297048,276480,0)|0;if(!e){u=i;return}Eta(f[a+72>>2]|0,b,c);d=f[e+136>>2]|0;if((f[(f[d+12>>2]|0)+120>>2]|0)==1){b=+(f[(f[e+44>>2]|0)+44>>2]|0)-+n[g>>2];n[g>>2]=b}else b=+n[g>>2];c=+n[h>>2];Eta(d,c,b);vj[f[(f[e>>2]|0)+276>>2]&15](e,c,b);u=i;return}function AB(a){a=a|0;if(f[(f[a+16>>2]|0)+84>>2]|0){a=1;return a|0}a=f[a+68>>2]|0;if(a|0?_i[f[(f[a>>2]|0)+16>>2]&2047](a)|0:0){a=1;return a|0}a=0;return a|0}function BB(a){a=a|0;a=f[a+68>>2]|0;if(a|0?_i[f[(f[a>>2]|0)+24>>2]&2047](a)|0:0){a=1;return a|0}a=0;return a|0}function CB(a){a=a|0;a=a+-36|0;gC(a,309992);Gva(a+132|0);return}function DB(a){a=a|0;a=a+-36|0;gC(a,309992);Gva(a+132|0);GBb(a);return}function EB(a){a=a|0;return a+-36|0}function FB(a){a=a|0;xB(a+-36|0);return}function GB(a,b){a=a|0;b=b|0;yB(a+-36|0,b);return}function HB(a,b,c){a=a|0;b=+b;c=+c;zB(a+-36|0,b,c);return}function IB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return vB(a+-36|0,b,c,d)|0}function JB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return wB(a+-36|0,b,c,d,e)|0}function KB(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;gC(a,309992);Gva(a+132|0);return}function LB(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;gC(a,309992);Gva(a+132|0);GBb(a);return}function MB(a){a=a|0;a=EBb(168)|0;fC(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function NB(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;a=EBb(168)|0;RB(a,c,b);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function OB(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,276536,-1)|0)!=0;return b|0}function PB(a){a=a|0;return 369347}function QB(a){a=a|0;return 374092}function RB(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+16|0;k=l;h=a+132|0;Fva(h,c+(f[(f[c>>2]|0)+-12>>2]|0)|0,d);U2a(a,309996,c,d);f[a>>2]=309544;f[h>>2]=309828;f[a+36>>2]=309628;h=a+68|0;j=a+72|0;d=a+80|0;e=a+40|0;g=e+40|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));f[d>>2]=d;f[a+84>>2]=d;f[a+88>>2]=0;w0a(a+92|0);f[a+116>>2]=0;f[a+120>>2]=f[c+120>>2];f[a+124>>2]=f[c+124>>2];f[a+128>>2]=0;d=EBb(24)|0;SB(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)?(c=e+8|0,h=f[c>>2]|0,f[c>>2]=h-1,(h|0)==1):0)Rua(e,1,1);e=f[a+16>>2]|0;d=cj[f[(f[a>>2]|0)+32>>2]&1023](a,e)|0;e=e+628|0;g=f[e>>2]|0;if((g|0)!=(d|0)){f[e>>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(g|0?(i=g+(f[(f[g>>2]|0)+-12>>2]|0)|0,c=i+8|0,h=f[c>>2]|0,f[c>>2]=h-1,(h|0)==1):0)Rua(i,1,1)}d=EBb(64)|0;zta(d,1);e=f[j>>2]|0;if(((e|0)!=(d|0)?(f[j>>2]=d,j=d+8|0,f[j>>2]=(f[j>>2]|0)+1,e|0):0)?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);g=EBb(80)|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;c=k+11|0;b[c>>0]=4;f[k>>2]=2003134806;b[k+4>>0]=0;r2a(g,k);d=a+4|0;e=f[d>>2]|0;if(((e|0)!=(g|0)?(f[d>>2]=g,a=g+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);if((b[c>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function SB(a){a=a|0;var c=0,d=0,e=0,g=0;v_a(a,1);f[a>>2]=309504;f[a+12>>2]=0;c=a+16|0;f[c>>2]=0;g=a+20|0;f[g>>2]=0;d=h6()|0;e=f[c>>2]|0;if((e|0)!=(d|0)){f[c>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}if(e|0?(c=e+8|0,d=f[c>>2]|0,f[c>>2]=d-1,(d|0)==1):0)Rua(e,1,1)}c=EBb(72)|0;A6(c);d=f[g>>2]|0;if(((d|0)!=(c|0)?(f[g>>2]=c,g=c+8|0,f[g>>2]=(f[g>>2]|0)+1,d|0):0)?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);if(b[497120]|0){TB(498852,a);return}if(!(DDb(497120)|0)){TB(498852,a);return}f[124713]=0;f[124714]=0;f[124715]=0;t4a(498864,0);TB(498852,a);return}function TB(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;c=h;g=a+12|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;UB(c,b);d=a+4|0;e=f[d>>2]|0;if(e>>>0<(f[a+8>>2]|0)>>>0){b=f[c>>2]|0;f[e>>2]=b;if(!b)b=e;else{b=b+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[d>>2]|0}f[e+4>>2]=f[c+4>>2];f[d>>2]=b+8}else VB(a,c);b=f[c>>2]|0;if(b|0?(d=b+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(b,1,1);f[c>>2]=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;u=h;return}function UB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;if(!b){d=0;b=a+4|0;f[b>>2]=d;return}c=cCa(b)|0;d=f[a>>2]|0;if((d|0)!=(c|0)){f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[a>>2]|0}if(!c){b=0;e=a+4|0;f[e>>2]=b;return}b=(f[c+24>>2]|0)==0?0:b;e=a+4|0;f[e>>2]=b;return}function VB(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;n=a+4|0;c=f[n>>2]|0;d=f[a>>2]|0;i=c-d>>3;e=i+1|0;g=d;if(e>>>0>536870911)DCb(a);m=a+8|0;k=(f[m>>2]|0)-d|0;l=k>>2;e=k>>3>>>0<268435455?(l>>>0<e>>>0?e:l):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);d=k+(i<<3)|0;l=k+(e<<3)|0;e=f[b>>2]|0;f[d>>2]=e;if(!e)h=g;else{h=e+8|0;f[h>>2]=(f[h>>2]|0)+1;h=f[a>>2]|0;c=f[n>>2]|0}f[k+(i<<3)+4>>2]=f[b+4>>2];j=d+8|0;e=h;if((c|0)==(h|0))g=e;else{b=i+-1-((c+-8-e|0)>>>3)|0;while(1){e=c;c=c+-8|0;g=f[c>>2]|0;f[d+-8>>2]=g;if(g|0){i=g+8|0;f[i>>2]=(f[i>>2]|0)+1}f[d+-4>>2]=f[e+-4>>2];if((c|0)==(h|0))break;else d=d+-8|0}d=k+(b<<3)|0;g=f[a>>2]|0;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=j;f[m>>2]=l;e=g;if((c|0)!=(e|0))do{c=c+-8|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)!=(e|0));if(!g)return;GBb(g);return}function WB(a){a=a|0;a=EBb(68)|0;T2a(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function XB(a,b){a=a|0;b=b|0;var c=0;c=EBb(68)|0;W2a(c,a,b);return c+(f[(f[c>>2]|0)+-12>>2]|0)|0}function YB(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299440,-1)|0)!=0;return b|0}function ZB(a){a=a|0;return 409756}function _B(a){a=a|0;return 374092}function $B(a,b){a=a|0;b=b|0;return 0}function aC(a){a=a|0;a=EBb(68)|0;T2a(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function bC(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;a=EBb(68)|0;W2a(a,c,b);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function cC(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299440,-1)|0)!=0;return b|0}function dC(a){a=a|0;return 409756}function eC(a){a=a|0;return 374092}function fC(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=u;u=u+16|0;j=k;d=a+132|0;rZa(d);f[d>>2]=338032;g=a+144|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+156>>2]=2;f[a+160>>2]=0;R2a(a,309996);f[a>>2]=309544;f[d>>2]=309828;f[a+36>>2]=309628;f[a+40>>2]=0;f[a+44>>2]=0;d=a+56|0;g=a+68|0;i=a+72|0;c=a+80|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[c>>2]=c;f[a+84>>2]=c;f[a+88>>2]=0;w0a(a+92|0);f[a+116>>2]=0;f[a+120>>2]=1;n[a+124>>2]=1.0;f[a+128>>2]=0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;c=EBb(72)|0;R_a(c);d=a+32|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,c=c+8|0,f[c>>2]=(f[c>>2]|0)+1,e|0):0)?(l=e+8|0,c=f[l>>2]|0,f[l>>2]=c-1,(c|0)==1):0)Rua(e,1,1);c=(f[d>>2]|0)+12|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;c=EBb(24)|0;SB(c);d=f[g>>2]|0;if(((d|0)!=(c|0)?(f[g>>2]=c,l=c+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(g=d+8|0,l=f[g>>2]|0,f[g>>2]=l-1,(l|0)==1):0)Rua(d,1,1);d=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Bj[f[f[d>>2]>>2]&1023](d,1);d=f[a+16>>2]|0;c=cj[f[(f[a>>2]|0)+32>>2]&1023](a,d)|0;d=d+628|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){l=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}if(e|0?(h=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,g=h+8|0,l=f[g>>2]|0,f[g>>2]=l-1,(l|0)==1):0)Rua(h,1,1)}c=EBb(64)|0;zta(c,1);d=f[i>>2]|0;if(((d|0)!=(c|0)?(f[i>>2]=c,l=c+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(i=d+8|0,l=f[i>>2]|0,f[i>>2]=l-1,(l|0)==1):0)Rua(d,1,1);e=EBb(80)|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=j+11|0;b[g>>0]=4;f[j>>2]=2003134806;b[j+4>>0]=0;r2a(e,j);c=a+4|0;d=f[c>>2]|0;if(((d|0)!=(e|0)?(f[c>>2]=e,l=e+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(a=d+8|0,l=f[a>>2]|0,f[a>>2]=l-1,(l|0)==1):0)Rua(d,1,1);if((b[g>>0]|0)>=0){u=k;return}GBb(f[j>>2]|0);u=k;return}function gC(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=u;u=u+16|0;c=j;g=f[b>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[b+12>>2];f[a+36>>2]=309628;if(qZa(4)|0){g=Nu(Hua(4)|0,374097,27)|0;Drb(c,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);d=utb(c,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(c);ksb(g,d)|0;Krb(g)|0}c=a+128|0;d=f[c>>2]|0;if(d|0?(k=d+8|0,g=f[k>>2]|0,f[k>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+116|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,k=f[g>>2]|0,f[g>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0;B0a(a+92|0);g=a+80|0;c=a+88|0;if(f[c>>2]|0?(e=f[a+84>>2]|0,k=(f[g>>2]|0)+4|0,d=f[e>>2]|0,f[d+4>>2]=f[k>>2],f[f[k>>2]>>2]=d,f[c>>2]=0,(e|0)!=(g|0)):0){c=e;do{d=c;c=f[c+4>>2]|0;e=f[d+8>>2]|0;if(e|0?(h=e+(f[(f[e>>2]|0)+-16>>2]|0)|0,e=h+8|0,k=f[e>>2]|0,f[e>>2]=k-1,(k|0)==1):0)Rua(h,1,1);GBb(d)}while((c|0)!=(g|0))}c=a+76|0;d=f[c>>2]|0;if(d|0?(i=d+(f[(f[d>>2]|0)+-16>>2]|0)|0,h=i+8|0,k=f[h>>2]|0,f[h>>2]=k-1,(k|0)==1):0)Rua(i,1,1);f[c>>2]=0;c=a+72|0;d=f[c>>2]|0;if(d|0?(i=d+8|0,k=f[i>>2]|0,f[i>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0;c=a+68|0;d=f[c>>2]|0;if(d|0?(i=d+8|0,k=f[i>>2]|0,f[i>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0;e=a+56|0;g=f[e>>2]|0;if(g|0){h=a+60|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?(i=d+8|0,k=f[i>>2]|0,f[i>>2]=k-1,(k|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)}c=a+40|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;k=b+4|0;_Xa(a,k);u=j;return}i=d+8|0;k=f[i>>2]|0;f[i>>2]=k-1;if((k|0)!=1){f[c>>2]=0;k=b+4|0;_Xa(a,k);u=j;return}Rua(d,1,1);f[c>>2]=0;k=b+4|0;_Xa(a,k);u=j;return}function hC(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 iC(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 jC(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;g=f[c>>2]|0;f[g+4>>2]=f[d>>2];f[f[d>>2]>>2]=g;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?(e=d+(f[(f[d>>2]|0)+-16>>2]|0)|0,d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);GBb(b)}while((c|0)!=(a|0));return}function kC(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)+-16>>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 lC(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 mC(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 nC(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 oC(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 pC(a,c,d,e,g){a=a|0;c=+c;d=+d;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0.0,o=0.0,q=0.0,r=0,s=0,t=0.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.0,I=0.0,J=0.0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;P=u;u=u+512|0;K=P+384|0;L=P+256|0;M=P;N=P+128|0;r=f[(f[a+72>>2]|0)+12>>2]|0;G=f[r+52>>2]|0;if((G|0)!=0?(f[G+24>>2]|0)!=0:0)l=f[r+56>>2]|0;else l=0;w=(f[r+120>>2]|0)==1;v=f[a+16>>2]|0;G=f[v+624>>2]|0;if((G|0)!=0?!((l|0)==0|((G|0)!=(l|0)|(f[v+288>>2]|0)==0)):0){s=f[v+288>>2]|0;h=r+88|0;m=+n[h>>2];j=r+92|0;k=r+96|0;o=+n[k>>2];i=r+100|0;o=(d-o)/(+n[i>>2]-o);G=f[l+44>>2]|0;m=(c-m)/(+n[j>>2]-m)*+(f[G+40>>2]|0);o=(w?1.0-o:o)*+(f[G+44>>2]|0);q=+p[s+56>>3];if(((m>=q+-.5?(t=+p[s+64>>3],o>=t+-.5):0)?m<q+ +p[s+72>>3]+-1.0+.5:0)?o<=t+ +p[s+80>>3]+-1.0+.5:0){n[e>>2]=m;n[g>>2]=o;O=v;u=P;return O|0}}else{j=r+92|0;k=r+96|0;i=r+100|0;h=r+88|0}f3a(L);l3a(L,v+432|0,v+304|0);H=+n[h>>2];H=(c-H)*2.0/(+n[j>>2]-H)+-1.0;c=+n[k>>2];c=(d-c)*2.0/(+n[i>>2]-c)+-1.0;c=w?-c:c;h=f[a+20>>2]|0;i=(f[a+24>>2]|0)-h|0;a:do if((i|0)>0){l=a+20|0;r=L+24|0;s=L+56|0;v=L+88|0;w=L+120|0;q=H;t=c;a=M+24|0;x=M+56|0;y=M+88|0;z=M+120|0;A=M+32|0;B=M+64|0;C=M+96|0;D=M+8|0;E=M+40|0;F=M+72|0;G=M+104|0;k=((i>>>0)/272|0)+-1|0;while(1){h=h+(k*272|0)+4|0;j=f[h>>2]|0;if((j|0?b[j+228>>0]|0:0)?(f[j+576>>2]|0)==3:0){if(qZa(4)|0){S=Nu(Hua(4)|0,374212,21)|0;i=f[h>>2]|0;R=i+12|0;j=b[R+11>>0]|0;Q=j<<24>>24<0;j=Nu(S,Q?f[R>>2]|0:R,Q?f[i+16>>2]|0:j&255)|0;Drb(K,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(K,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(K);ksb(j,i)|0;Krb(j)|0}h=f[h>>2]|0;if(!h)i=0;else i=f[h+288>>2]|0;f3a(K);l3a(K,h+432|0,h+304|0);j=(i|0)!=0;if(j){Qv(M,i);m3a(K,M)}f3a(N);if(+p[r>>3]==0.0&+p[s>>3]==0.0&+p[v>>3]==0.0&+p[w>>3]==1.0)o3a(N,L)|0;else p3a(N,L)|0;f3a(M);l3a(M,N,K);o=1.0/(+p[z>>3]+(+p[a>>3]*q+ +p[x>>3]*t+ +p[y>>3]*0.0));m=o*(+p[C>>3]+(+p[M>>3]*q+ +p[A>>3]*t+ +p[B>>3]*0.0));o=o*(+p[G>>3]+(+p[D>>3]*q+ +p[E>>3]*t+ +p[F>>3]*0.0));if((((j?(I=+p[i+56>>3],m>=I+-.5):0)?(J=+p[i+64>>3],o>=J+-.5):0)?m<I+ +p[i+72>>3]+-1.0+.5:0)?o<=J+ +p[i+80>>3]+-1.0+.5:0)break}h=k+-1|0;if((h|0)<=-1){O=35;break a}k=h;h=f[l>>2]|0}n[e>>2]=m;n[g>>2]=o}else O=35;while(0);if((O|0)==35){n[e>>2]=H;n[g>>2]=c;h=0}S=h;u=P;return S|0}function qC(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=+d;e=+e;g=g|0;h=h|0;i=i|0;var j=0,k=0.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.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0;B=u;u=u+768|0;x=B+432|0;w=B+304|0;y=B+756|0;z=B+752|0;o=B+176|0;q=B+48|0;s=B+24|0;t=B;A=B+560|0;if(!b){h=0;u=B;return h|0}v=g+4|0;if((f[g>>2]|0)==(f[v>>2]|0)){h=0;u=B;return h|0}f3a(o);a=f[v>>2]|0;j=f[g>>2]|0;g=j;if(a-j>>2>>>0>1){m=a+-4|0;f[x>>2]=0;n=x+4|0;f[n>>2]=0;l=x+8|0;f[l>>2]=0;a=m-j|0;j=a>>2;if(a|0){if(j>>>0>1073741823)DCb(x);a=EBb(a)|0;f[n>>2]=a;f[x>>2]=a;f[l>>2]=a+(j<<2);if((m|0)!=(g|0))do{f[a>>2]=f[g>>2];g=g+4|0;a=(f[n>>2]|0)+4|0;f[n>>2]=a}while((g|0)!=(m|0))}z_a(w,x,1);p[o>>3]=+p[w>>3];p[o+8>>3]=+p[w+8>>3];p[o+16>>3]=+p[w+16>>3];p[o+24>>3]=+p[w+24>>3];p[o+32>>3]=+p[w+32>>3];p[o+40>>3]=+p[w+40>>3];p[o+48>>3]=+p[w+48>>3];p[o+56>>3]=+p[w+56>>3];p[o+64>>3]=+p[w+64>>3];p[o+72>>3]=+p[w+72>>3];p[o+80>>3]=+p[w+80>>3];p[o+88>>3]=+p[w+88>>3];p[o+96>>3]=+p[w+96>>3];p[o+104>>3]=+p[w+104>>3];p[o+112>>3]=+p[w+112>>3];p[o+120>>3]=+p[w+120>>3];a=f[x>>2]|0;if(a|0){f[n>>2]=a;GBb(a)}}m3a(o,b+432|0);m3a(o,b+304|0);if((c|0)==0?(r=f[b+288>>2]|0,(r|0)!=0):0){Qv(x,r);m3a(o,x);k=0.0}else k=-1.0;f3a(q);if(((+p[o+24>>3]==0.0?+p[o+56>>3]==0.0:0)?+p[o+88>>3]==0.0:0)?+p[o+120>>3]==1.0:0)o3a(q,o)|0;else p3a(q,o)|0;J=+p[q+24>>3]*d+ +p[q+56>>3]*e;K=+p[q+88>>3];L=+p[q+120>>3];M=1.0/(L+(J+k*K));G=+p[q>>3]*d+ +p[q+32>>3]*e;H=+p[q+64>>3];I=+p[q+96>>3];D=+p[q+8>>3]*d+ +p[q+40>>3]*e;E=+p[q+72>>3];F=+p[q+104>>3];e=+p[q+16>>3]*d+ +p[q+48>>3]*e;d=+p[q+80>>3];C=+p[q+112>>3];p[s>>3]=M*(I+(G+k*H));p[s+8>>3]=M*(F+(D+k*E));p[s+16>>3]=M*(C+(e+k*d));k=1.0/(L+(K+J));p[t>>3]=k*(I+(H+G));p[t+8>>3]=k*(F+(E+D));p[t+16>>3]=k*(C+(d+e));l=EBb(96)|0;EY(l,3,s,t,0,0);j=l+8|0;f[j>>2]=(f[j>>2]|0)+1;DY(A,l,0);f[A+20>>2]=i;i=f[(f[v>>2]|0)+-4>>2]|0;Bj[f[(f[i>>2]|0)+212>>2]&1023](i,A);if(_i[f[(f[l>>2]|0)+32>>2]&2047](l)|0){a=f[l+28>>2]|0;a=(a|0)==0?l:a;g=a+80|0;if((g|0)!=(h|0)){f[y>>2]=f[g>>2];f[z>>2]=a+84;f[w>>2]=f[y>>2];f[x>>2]=f[z>>2];sC(h,w,x)}a=1}else{a=h+4|0;tC(h,f[a>>2]|0);f[h+8>>2]=0;f[h>>2]=a;f[a>>2]=0;a=0}Fk(A,315648);Gva(A+160|0);h=f[j>>2]|0;f[j>>2]=h-1;if((h|0)==1)Rua(l,1,1);h=a;u=B;return h|0}function rC(a,b,c,d,e,g){a=a|0;b=+b;c=+c;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;k=u;u=u+16|0;h=k+8|0;i=k+4|0;j=k;a=pC(a,b,c,i,j)|0;if(qZa(4)|0){l=Nu(hsb(Nu(hsb(Nu(Hua(4)|0,374366,21)|0,b)|0,414635,2)|0,c)|0,374388,10)|0;l=Nu(hsb(l,+n[i>>2])|0,374399,10)|0;l=hsb(l,+n[j>>2])|0;Drb(h,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);m=utb(h,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(h);ksb(l,m)|0;Krb(l)|0}if(!a){m=0;u=k;return m|0}m=qC(0,a,(f[a+288>>2]|0)==0&1,+n[i>>2],+n[j>>2],d,e,g)|0;u=k;return m|0}function sC(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.0,m=0,n=0,o=0,q=0;o=a+8|0;a:do if(f[o>>2]|0?(n=f[a>>2]|0,q=a+4|0,f[a>>2]=q,f[(f[q>>2]|0)+8>>2]=0,f[q>>2]=0,f[o>>2]=0,d=f[n+4>>2]|0,d=(d|0)==0?n:d,d|0):0){n=a+4|0;e=f[b>>2]|0;while(1){if((e|0)==(f[c>>2]|0))break;uC(d+16|0,e+16|0)|0;m=d+8|0;h=f[m>>2]|0;do if(h){g=f[h>>2]|0;if((g|0)==(d|0)){f[h>>2]=0;g=f[h+4>>2]|0;if(!g){g=h;break}while(1){h=f[g>>2]|0;if(!h){h=f[g+4>>2]|0;if(!h)break;else g=h}else g=h}break}else{f[h+4>>2]=0;if(!g){g=h;break}while(1){h=f[g>>2]|0;if(!h){h=f[g+4>>2]|0;if(!h)break;else g=h}else g=h}break}}else g=0;while(0);h=f[q>>2]|0;do if(h){l=+p[d+16>>3];while(1)if(l<+p[h+16>>3]){i=f[h>>2]|0;if(!i){k=23;break}else h=i}else{i=f[h+4>>2]|0;if(!i){k=25;break}else h=i}if((k|0)==23){i=h;j=h;break}else if((k|0)==25){i=h;j=h+4|0;break}}else{i=q;j=q}while(0);f[d>>2]=0;f[d+4>>2]=0;f[m>>2]=i;f[j>>2]=d;h=f[f[a>>2]>>2]|0;if(h){f[a>>2]=h;d=f[j>>2]|0}Xo(f[n>>2]|0,d);f[o>>2]=(f[o>>2]|0)+1;d=f[e+4>>2]|0;if(!d){d=e+8|0;h=f[d>>2]|0;if((f[h>>2]|0)==(e|0))e=h;else do{m=f[d>>2]|0;d=m+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(m|0))}else{while(1){e=f[d>>2]|0;if(!e)break;else d=e}e=d}f[b>>2]=e;if(!g)break a;else d=g}e=f[d+8>>2]|0;if(e){d=e;while(1){e=f[d+8>>2]|0;if(!e)break;else d=e}}tC(a,d)}while(0);d=f[b>>2]|0;h=f[c>>2]|0;if((d|0)==(h|0))return;g=d;while(1){vC(a,g+16|0)|0;d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{c=f[e>>2]|0;e=c+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(c|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}f[b>>2]=d;if((d|0)==(h|0))break;else g=d}return}function tC(a,b){a=a|0;b=b|0;if(!b)return;else{tC(a,f[b>>2]|0);tC(a,f[b+4>>2]|0);uk(b+16|0);GBb(b);return}}function uC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;p[a>>3]=+p[b>>3];g=(a|0)==(b|0);if(!g)wC(a+8|0,f[b+8>>2]|0,f[b+12>>2]|0);e=a+20|0;c=f[e>>2]|0;d=f[b+20>>2]|0;if((c|0)!=(d|0)){f[e>>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)}c=a+24|0;d=f[c>>2]|0;e=f[b+24>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}if(d|0?(c=d+8|0,e=f[c>>2]|0,f[c>>2]=e-1,(e|0)==1):0)Rua(d,1,1)}c=a+32|0;d=b+32|0;e=c+36|0;do{f[c>>2]=f[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));if(g){b=b+92|0;b=f[b>>2]|0;g=a+92|0;f[g>>2]=b;return a|0}xC(a+68|0,f[b+68>>2]|0,f[b+72>>2]|0);yC(a+80|0,f[b+80>>2]|0,f[b+84>>2]|0);b=b+92|0;b=f[b>>2]|0;g=a+92|0;f[g>>2]=b;return a|0}function vC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0.0,h=0;h=EBb(112)|0;c=h+16|0;Ek(c,b);d=a+4|0;b=f[d>>2]|0;do if(b){g=+p[c>>3];while(1)if(g<+p[b+16>>3]){c=f[b>>2]|0;if(!c){d=5;break}else b=c}else{c=f[b+4>>2]|0;if(!c){d=7;break}else b=c}if((d|0)==5){e=b;c=b;break}else if((d|0)==7){e=b;c=b+4|0;break}}else{e=d;c=d}while(0);f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=e;f[c>>2]=h;b=f[f[a>>2]>>2]|0;if(!b)b=h;else{f[a>>2]=b;b=f[c>>2]|0}Xo(f[a+4>>2]|0,b);a=a+8|0;f[a>>2]=(f[a>>2]|0)+1;return h|0}function wC(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<e>>>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 xC(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<e>>>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 yC(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>>3;i=a+8|0;d=f[i>>2]|0;l=f[a>>2]|0;j=l;if(e>>>0<=d-l>>3>>>0){g=a+4|0;a=(f[g>>2]|0)-l>>3;e=e>>>0>a>>>0;a=e?b+(a<<3)|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>>3<<3);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>>>3<<3);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>536870911)DCb(a);l=d>>2;e=d>>3>>>0<268435455?(l>>>0<e>>>0?e:l):536870911;if(e>>>0>536870911)DCb(a);d=EBb(e<<3)|0;c=a+4|0;f[c>>2]=d;f[a>>2]=d;f[i>>2]=d+(e<<3);if((g|0)<=0)return;YDb(d|0,b|0,g|0)|0;f[c>>2]=d+(g>>>3<<3);return}function zC(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+208|0;k=p+204|0;j=p+200|0;l=p+196|0;m=p+192|0;o=p;if(!b){o=0;u=p;return o|0}n=EBb(96)|0;FY(n,c,d,e);i=n+8|0;f[i>>2]=(f[i>>2]|0)+1;DY(o,n,0);f[o+20>>2]=h;Bj[f[(f[b>>2]|0)+212>>2]&1023](b,o);if(_i[f[(f[n>>2]|0)+32>>2]&2047](n)|0){a=f[n+28>>2]|0;a=(a|0)==0?n:a;c=a+80|0;if((c|0)!=(g|0)){f[l>>2]=f[c>>2];f[m>>2]=a+84;f[j>>2]=f[l>>2];f[k>>2]=f[m>>2];sC(g,j,k)}a=1}else{a=g+4|0;tC(g,f[a>>2]|0);f[g+8>>2]=0;f[g>>2]=a;f[a>>2]=0;a=0}Fk(o,315648);Gva(o+160|0);o=f[i>>2]|0;f[i>>2]=o-1;if((o|0)!=1){o=a;u=p;return o|0}Rua(n,1,1);o=a;u=p;return o|0}function AC(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=u;u=u+16|0;g=j+8|0;h=j+4|0;i=j;a=pC(a,b,c,h,i)|0;if(qZa(4)|0){k=Nu(hsb(Nu(hsb(Nu(Hua(4)|0,374366,21)|0,b)|0,414635,2)|0,c)|0,374388,10)|0;k=Nu(hsb(k,+n[h>>2])|0,374399,10)|0;k=hsb(k,+n[i>>2])|0;Drb(g,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);l=utb(g,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(g);ksb(k,l)|0;Krb(k)|0}if(!a){l=0;u=j;return l|0}l=zC(0,a,(f[a+288>>2]|0)==0&1,+n[h>>2],+n[i>>2],d,e)|0;u=j;return l|0}function BC(a){a=a|0;var c=0,d=0,e=0,g=0;if((b[497120]|0)==0?DDb(497120)|0:0){f[124713]=0;f[124714]=0;f[124715]=0;t4a(498864,0)}_i[f[(f[498864>>2]|0)+8>>2]&2047](498864)|0;d=f[124713]|0;e=f[124714]|0;a:do if((d|0)==(e|0))c=0;else while(1){g=f[d>>2]|0;if(((g|0?f[g+24>>2]|0:0)?(c=f[d+4>>2]|0,c|0):0)?(f[c+12>>2]|0)==(a|0):0)break a;d=d+8|0;if((d|0)==(e|0)){c=0;break}}while(0);_i[f[(f[498864>>2]|0)+12>>2]&2047](498864)|0;return c|0}function CC(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+112|0;h=i;b=f[a+68>>2]|0;do if(b|0?(c=f[b+12>>2]|0,c|0):0){g=h+68|0;rZa(g);f[g>>2]=338032;d=h+80|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[h+92>>2]=2;f[h+96>>2]=0;ZZa(h,310012,3);f[h>>2]=310036;f[g>>2]=310404;d=h+56|0;f[d>>2]=0;e=h+60|0;f[e>>2]=0;f[h+64>>2]=0;Bj[f[(f[c>>2]|0)+212>>2]&1023](c,h);b=h+56|0;c=f[b>>2]|0;if((c|0)==(f[e>>2]|0)){f[h>>2]=310036;f[g>>2]=310404;if(c|0){f[e>>2]=c;GBb(c)}dDa(h,310012);Gva(g);break}A0a(a+92|0,b);f[h>>2]=310036;f[g>>2]=310404;b=f[d>>2]|0;if(b|0){f[e>>2]=b;GBb(b)}dDa(h,310012);Gva(g);u=i;return}while(0);f[h>>2]=0;c=h+4|0;f[c>>2]=0;f[h+8>>2]=0;A0a(a+92|0,h);b=f[h>>2]|0;if(b|0){f[c>>2]=b;GBb(b)}u=i;return}function DC(a){a=a|0;var b=0,c=0;f[a>>2]=310036;b=a+68|0;f[b>>2]=310404;c=f[a+56>>2]|0;if(c|0){f[a+60>>2]=c;GBb(c)}dDa(a,310012);Gva(b);return}function EC(a){a=a|0;var b=0,c=0;f[a>>2]=310036;b=a+68|0;f[b>>2]=310404;c=f[a+56>>2]|0;if(c|0){f[a+60>>2]=c;GBb(c)}dDa(a,310012);Gva(b);GBb(a);return}function FC(a){a=a|0;return 374572}function GC(a){a=a|0;return 374532}function HC(a,b){a=a|0;b=b|0;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 IC(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;h=u;u=u+16|0;d=h;e=a+56|0;i=(f[e>>2]|0)==(f[a+60>>2]|0);g=qZa(5)|0;if(!i){if(g){i=Nu(Hua(5)|0,374641,56)|0;Drb(d,i+(f[(f[i>>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(i,g)|0;Krb(i)|0}if(qZa(5)|0){j=Nu(Hua(5)|0,374616,24)|0;e=c+148|0;i=b[e+11>>0]|0;g=i<<24>>24<0;i=Nu(j,g?f[e>>2]|0:e,g?f[c+152>>2]|0:i&255)|0;Drb(d,i+(f[(f[i>>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(i,g)|0;Krb(i)|0}}else{if(g){j=Nu(Hua(5)|0,374584,31)|0;Drb(d,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(d,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(d);ksb(j,i)|0;Krb(j)|0}if(qZa(5)|0){k=Nu(Hua(5)|0,374616,24)|0;g=c+148|0;j=b[g+11>>0]|0;i=j<<24>>24<0;j=Nu(k,i?f[g>>2]|0:g,i?f[c+152>>2]|0:j&255)|0;Drb(d,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(d,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(d);ksb(j,i)|0;Krb(j)|0}wC(e,f[a+28>>2]|0,f[a+32>>2]|0)}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);u=h;return}case 0:{u=h;return}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);u=h;return}}}function JC(a){a=a|0;var b=0,c=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=310036;b=a+68|0;f[b>>2]=310404;c=f[a+56>>2]|0;if(!c){dDa(a,310012);Gva(b);return}f[a+60>>2]=c;GBb(c);dDa(a,310012);Gva(b);return}function KC(a){a=a|0;var b=0,c=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=310036;b=a+68|0;f[b>>2]=310404;c=f[a+56>>2]|0;if(c|0){f[a+60>>2]=c;GBb(c)}dDa(a,310012);Gva(b);GBb(a);return}function LC(a){a=a|0;return 374572}function MC(a){a=a|0;return 374532}function NC(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;z=u;u=u+16|0;y=z;d=a+128|0;v_a(d,1);f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;x=y+11|0;b[x>>0]=8;w=y;f[w>>2]=1684956498;f[w+4>>2]=1919251045;b[y+8>>0]=0;f[a>>2]=279676;f[d>>2]=279708;OBb(a+4|0,y);b[a+16>>0]=1;f[a>>2]=279612;f[d>>2]=279648;if((b[x>>0]|0)<0)GBb(f[y>>2]|0);f[a>>2]=309364;f[d>>2]=309424;p=a+20|0;OC(p,c);b[a+28>>0]=0;b[a+29>>0]=1;b[a+30>>0]=1;m=a+31|0;w=a+32|0;x=a+40|0;d=m;e=d+9|0;do{b[d>>0]=0;d=d+1|0}while((d|0)<(e|0));t4a(x,0);r=a+52|0;s4a(r);s=a+60|0;f[s>>2]=s;f[a+64>>2]=s;t=a+68|0;f[t>>2]=0;v=a+72|0;b[v>>0]=0;t4a(a+76|0,0);s4a(a+88|0);q=a+96|0;f[q>>2]=q;f[a+100>>2]=q;f[a+104>>2]=0;b[a+108>>0]=0;b[a+112>>0]=0;f[a+116>>2]=0;q=a+120|0;f[q>>2]=0;f[q+4>>2]=0;if(qZa(5)|0){q=jsb(Nu(Hua(5)|0,374738,17)|0,a)|0;Drb(y,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);n=utb(y,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(y);ksb(q,n)|0;Krb(q)|0}d=EBb(296)|0;aO(d,0);e=f[w>>2]|0;if(((e|0)!=(d|0)?(f[w>>2]=d,q=d+8|0,f[q>>2]=(f[q>>2]|0)+1,e|0):0)?(n=e+8|0,q=f[n>>2]|0,f[n>>2]=q-1,(q|0)==1):0)Rua(e,1,1);d=EBb(296)|0;aO(d,0);q=a+36|0;e=f[q>>2]|0;if(((e|0)!=(d|0)?(f[q>>2]=d,n=d+8|0,f[n>>2]=(f[n>>2]|0)+1,e|0):0)?(l=e+8|0,n=f[l>>2]|0,f[l>>2]=n-1,(n|0)==1):0)Rua(e,1,1);e=f[w>>2]|0;d=EBb(72)|0;R_a(d);e=e+200|0;g=f[e>>2]|0;if(((g|0)!=(d|0)?(f[e>>2]=d,n=d+8|0,f[n>>2]=(f[n>>2]|0)+1,g|0):0)?(l=g+8|0,n=f[l>>2]|0,f[l>>2]=n-1,(n|0)==1):0)Rua(g,1,1);e=f[q>>2]|0;d=EBb(72)|0;R_a(d);e=e+200|0;g=f[e>>2]|0;if(((g|0)!=(d|0)?(f[e>>2]=d,n=d+8|0,f[n>>2]=(f[n>>2]|0)+1,g|0):0)?(l=g+8|0,n=f[l>>2]|0,f[l>>2]=n-1,(n|0)==1):0)Rua(g,1,1);n=a+24|0;e=f[n>>2]|0;d=f[e+220>>2]|0;if(!d)d=c;else d=f[d+16>>2]|0;if((e|0)==(d|0)){k=HZa(e)|0;l=0;e=f[n>>2]|0}else{k=HZa(d)|0;e=f[n>>2]|0;l=f[e+120>>2]|0}d=f[e+220>>2]|0;if((d|0)!=0?(h=WCb(d,299440,276536,0)|0,(h|0)!=0):0){c=f[h+40>>2]|0;if(((c|0)!=0?(f[c+24>>2]|0)!=0:0)?(i=f[h+44>>2]|0,(i|0)!=0):0){d=f[i+88>>2]|0;c=1}else{d=0;c=1}}else{d=0;h=0;c=0}a=(d|0)==0;e=f[e+232>>2]|0;do if(!e){if(c?(j=f[h+116>>2]|0,j|0):0){e=j;o=36;break}d=Dxa()|0;d=f[d>>2]|0;if(!d){g=0;j=0;i=0}else{e=1;o=37}}else o=36;while(0);if((o|0)==36){d=e;e=(e|0)!=0;o=37}if((o|0)==37){g=(b[d+93>>0]|0)!=0;j=d;i=e}b[m>>0]=g&1;if(c){h=f[h+8>>2]|0;h=(h|0)==0?0:(h|0)==2?2:1}else h=1;d=f[w>>2]|0;g=a&1;b[d+245>>0]=g;d=d+216|0;e=f[d>>2]|0;if((e|0)!=(k|0)){f[d>>2]=k;if(k|0){m=k+8|0;f[m>>2]=(f[m>>2]|0)+1}if(e|0?(c=e+8|0,m=f[c>>2]|0,f[c>>2]=m-1,(m|0)==1):0)Rua(e,1,1)}d=(f[w>>2]|0)+228|0;e=f[d>>2]|0;if((e|0)!=(l|0)){f[d>>2]=l;if(l|0){m=l+8|0;f[m>>2]=(f[m>>2]|0)+1}if(e|0?(c=e+8|0,m=f[c>>2]|0,f[c>>2]=m-1,(m|0)==1):0)Rua(e,1,1)}d=f[q>>2]|0;b[d+245>>0]=g;d=d+216|0;e=f[d>>2]|0;if((e|0)!=(k|0)){f[d>>2]=k;if(k|0){m=k+8|0;f[m>>2]=(f[m>>2]|0)+1}if(e|0?(k=e+8|0,m=f[k>>2]|0,f[k>>2]=m-1,(m|0)==1):0)Rua(e,1,1)}d=(f[q>>2]|0)+228|0;e=f[d>>2]|0;if((e|0)!=(l|0)){f[d>>2]=l;if(l|0){m=l+8|0;f[m>>2]=(f[m>>2]|0)+1}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)}m=f[w>>2]|0;Bj[f[(f[m>>2]|0)+168>>2]&1023](m,h);m=f[q>>2]|0;Bj[f[(f[m>>2]|0)+168>>2]&1023](m,h);do if(i?(b[j+94>>0]|0)!=0:0){d=(f[w>>2]|0)+224|0;e=f[d>>2]|0;do if((e|0)!=(j|0)){f[d>>2]=j;m=j+8|0;f[m>>2]=(f[m>>2]|0)+1;if(!e)break;l=e+8|0;m=f[l>>2]|0;f[l>>2]=m-1;if((m|0)!=1)break;Rua(e,1,1)}while(0);d=(f[q>>2]|0)+224|0;e=f[d>>2]|0;if((e|0)!=(j|0)){f[d>>2]=j;m=j+8|0;f[m>>2]=(f[m>>2]|0)+1;if(!e)break;l=e+8|0;m=f[l>>2]|0;f[l>>2]=m-1;if((m|0)!=1)break;Rua(e,1,1)}}else o=74;while(0);if((o|0)==74){b[(f[w>>2]|0)+288>>0]=0;b[(f[q>>2]|0)+288>>0]=0}d=f[w>>2]|0;o=f[p>>2]|0;if((o|0)!=0?(f[o+24>>2]|0)!=0:0)e=f[n>>2]|0;else e=0;bO(d,e,0);e=f[q>>2]|0;p=f[p>>2]|0;if((p|0)!=0?(f[p+24>>2]|0)!=0:0)d=f[n>>2]|0;else d=0;bO(e,d,0);h=EBb(12)|0;rZa(h);f[h>>2]=310576;a=h+8|0;f[a>>2]=(f[a>>2]|0)+1;c=EBb(12)|0;rZa(c);f[c>>2]=310576;i=c+8|0;f[i>>2]=(f[i>>2]|0)+1;d=(f[(f[w>>2]|0)+148>>2]|0)+500|0;e=f[d>>2]|0;do if((e|0)!=(h|0)){f[d>>2]=h;f[a>>2]=(f[a>>2]|0)+1;if(!e)break;o=e+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(e,1,1)}while(0);e=f[w>>2]|0;d=f[e+148>>2]|0;d=_i[f[(f[d>>2]|0)+200>>2]&2047](d)|0;e=e+164|0;g=f[e>>2]|0;do if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){p=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[p>>2]=(f[p>>2]|0)+1}if(!g)break;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;o=d+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(d,1,1)}while(0);d=(f[(f[w>>2]|0)+164>>2]|0)+500|0;e=f[d>>2]|0;do if((e|0)!=(h|0)){f[d>>2]=h;f[a>>2]=(f[a>>2]|0)+1;if(!e)break;o=e+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(e,1,1)}while(0);e=f[w>>2]|0;d=f[e+148>>2]|0;d=_i[f[(f[d>>2]|0)+200>>2]&2047](d)|0;e=e+180|0;g=f[e>>2]|0;do if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){p=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[p>>2]=(f[p>>2]|0)+1}if(!g)break;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;o=d+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(d,1,1)}while(0);d=(f[(f[w>>2]|0)+180>>2]|0)+500|0;e=f[d>>2]|0;do if((e|0)!=(c|0)){f[d>>2]=c;f[i>>2]=(f[i>>2]|0)+1;if(!e)break;o=e+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(e,1,1)}while(0);d=(f[(f[q>>2]|0)+148>>2]|0)+500|0;e=f[d>>2]|0;do if((e|0)!=(h|0)){f[d>>2]=h;f[a>>2]=(f[a>>2]|0)+1;if(!e)break;o=e+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(e,1,1)}while(0);e=f[q>>2]|0;d=f[e+148>>2]|0;d=_i[f[(f[d>>2]|0)+200>>2]&2047](d)|0;e=e+164|0;g=f[e>>2]|0;do if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){p=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[p>>2]=(f[p>>2]|0)+1}if(!g)break;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;o=d+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(d,1,1)}while(0);d=(f[(f[q>>2]|0)+164>>2]|0)+500|0;e=f[d>>2]|0;do if((e|0)!=(h|0)){f[d>>2]=h;f[a>>2]=(f[a>>2]|0)+1;if(!e)break;o=e+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(e,1,1)}while(0);e=f[q>>2]|0;d=f[e+148>>2]|0;d=_i[f[(f[d>>2]|0)+200>>2]&2047](d)|0;e=e+180|0;g=f[e>>2]|0;do if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){p=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[p>>2]=(f[p>>2]|0)+1}if(!g)break;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;o=d+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(d,1,1)}while(0);d=(f[(f[q>>2]|0)+180>>2]|0)+500|0;e=f[d>>2]|0;do if((e|0)!=(c|0)){f[d>>2]=c;f[i>>2]=(f[i>>2]|0)+1;if(!e)break;o=e+8|0;p=f[o>>2]|0;f[o>>2]=p-1;if((p|0)!=1)break;Rua(e,1,1)}while(0);p=f[i>>2]|0;f[i>>2]=p-1;if((p|0)==1)Rua(c,1,1);p=f[a>>2]|0;f[a>>2]=p-1;if((p|0)==1)Rua(h,1,1);p=f[w>>2]|0;_i[f[(f[x>>2]|0)+8>>2]&2047](x)|0;w=EBb(12)|0;f[w+8>>2]=p;f[w+4>>2]=s;p=f[s>>2]|0;f[w>>2]=p;f[p+4>>2]=w;f[s>>2]=w;f[t>>2]=(f[t>>2]|0)+1;b[v>>0]=1;P3a(r)|0;_i[f[(f[x>>2]|0)+12>>2]&2047](x)|0;q=f[q>>2]|0;_i[f[(f[x>>2]|0)+8>>2]&2047](x)|0;w=EBb(12)|0;f[w+8>>2]=q;f[w+4>>2]=s;q=f[s>>2]|0;f[w>>2]=q;f[q+4>>2]=w;f[s>>2]=w;f[t>>2]=(f[t>>2]|0)+1;b[v>>0]=1;P3a(r)|0;_i[f[(f[x>>2]|0)+12>>2]&2047](x)|0;if(!(qZa(5)|0)){u=z;return}x=Nu(Hua(5)|0,374756,23)|0;x=esb(x,f[t>>2]|0)|0;Drb(y,x+(f[(f[x>>2]|0)+-12>>2]|0)|0);w=utb(y,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(y);ksb(x,w)|0;Krb(x)|0;u=z;return}function OC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;if(!b){d=0;b=a+4|0;f[b>>2]=d;return}c=cCa(b)|0;d=f[a>>2]|0;if((d|0)!=(c|0)){f[a>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);c=f[a>>2]|0}if(!c){b=0;e=a+4|0;f[e>>2]=b;return}b=(f[c+24>>2]|0)==0?0:b;e=a+4|0;f[e>>2]=b;return}function PC(a){a=a|0;Uua(a);GBb(a);return}function QC(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,k=0,l=0,m=0,n=0;g=f[c>>2]|0;h=f[d>>2]|0;if((g|0)==(h|0)){b=f[b>>2]|0;return b|0}n=EBb(12)|0;f[n>>2]=0;e=f[g+8>>2]|0;f[n+8>>2]=e;if(e){g=e+(f[(f[e>>2]|0)+-16>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[c>>2]|0;h=f[d>>2]|0}m=n;e=f[g+4>>2]|0;f[c>>2]=e;i=e;if((h|0)==(i|0)){g=1;e=m}else{g=1;k=e;e=m;j=i;do{l=e;e=EBb(12)|0;i=f[k+8>>2]|0;f[e+8>>2]=i;if(!i)i=j;else{i=i+(f[(f[i>>2]|0)+-16>>2]|0)+8|0;f[i>>2]=(f[i>>2]|0)+1;i=f[c>>2]|0;h=f[d>>2]|0}f[l+4>>2]=e;f[e>>2]=l;k=f[i+4>>2]|0;f[c>>2]=k;g=g+1|0;j=k}while((h|0)!=(j|0))}d=f[b>>2]|0;b=e;c=f[d>>2]|0;f[c+4>>2]=n;f[n>>2]=c;f[d>>2]=b;f[b+4>>2]=d;b=a+8|0;f[b>>2]=(f[b>>2]|0)+g;b=m;return b|0}function RC(a,b){a=a|0;b=b|0;var c=0;a=a+108|0;c=f[a>>2]|0;if((c|0)==(b|0))return;f[a>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(!c)return;a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1)return;Rua(c,1,1);return}function SC(a){a=a|0;return f[a+108>>2]|0}function TC(a){a=a|0;return f[a+108>>2]|0}function UC(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;g=i+4|0;h=i;if(qZa(4)|0){j=Nu(Hua(4)|0,376267,26)|0;e=b[c+11>>0]|0;d=e<<24>>24<0;e=Nu(Nu(j,d?f[c>>2]|0:c,d?f[c+4>>2]|0:e&255)|0,409404,1)|0;Drb(g,e+(f[(f[e>>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(e,d)|0;Krb(e)|0}d=(YZ(0)|0)+160|0;z4(h,c,f[d>>2]|0);d=f[h>>2]|0;if(!d){j=0;u=i;return j|0}e=WCb(d,295088,279552,0)|0;do if(!e){if(WCb(d,295088,276440,-1)|0){if(!(qZa(3)|0)){e=0;break}a=Nu(Hua(3)|0,376321,20)|0;e=b[c+11>>0]|0;j=e<<24>>24<0;e=Nu(Nu(a,j?f[c>>2]|0:c,j?f[c+4>>2]|0:e&255)|0,376342,56)|0;Drb(g,e+(f[(f[e>>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(e,j)|0;Krb(e)|0;e=0;break}d=WCb(d,295088,276536,-1)|0;if(d|0){Bj[f[(f[a>>2]|0)+156>>2]&1023](a,d);e=1;break}if(qZa(3)|0){a=Nu(Hua(3)|0,376321,20)|0;e=b[c+11>>0]|0;j=e<<24>>24<0;e=Nu(Nu(a,j?f[c>>2]|0:c,j?f[c+4>>2]|0:e&255)|0,376399,48)|0;Drb(g,e+(f[(f[e>>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(e,j)|0;Krb(e)|0;e=0}else e=0}else{if(qZa(4)|0){c=Nu(Hua(4)|0,376294,26)|0;j=_i[f[(f[e>>2]|0)+28>>2]&2047](e)|0;j=Nu(c,j,Rmb(j)|0)|0;Drb(g,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);c=utb(g,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(g);ksb(j,c)|0;Krb(j)|0}Bj[f[(f[e>>2]|0)+164>>2]&1023](e,a+104|0);e=1}while(0);d=f[h>>2]|0;if(!d){j=e;u=i;return j|0}h=d+8|0;j=f[h>>2]|0;f[h>>2]=j-1;if((j|0)!=1){j=e;u=i;return j|0}Rua(d,1,1);j=e;u=i;return j|0}function VC(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;f[c>>2]=0;d=c+4|0;f[d>>2]=0;f[c+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,c,1);a=f[c>>2]|0;if((a|0)==(f[d>>2]|0))b=0;else{b=0;do{g=f[a>>2]|0;b=b+((_i[f[(f[g>>2]|0)+180>>2]&2047](g)|0)&1)|0;a=a+4|0}while((a|0)!=(f[d>>2]|0));b=(b|0)!=0;a=f[c>>2]|0}if(!a){u=e;return b|0}f[d>>2]=a;GBb(a);u=e;return b|0}function WC(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,s=0,t=0;s=u;u=u+48|0;l=s+32|0;q=s+20|0;h=s+16|0;j=s+12|0;k=s+8|0;e=s+4|0;g=s;f[q>>2]=0;r=q+4|0;f[r>>2]=0;f[q+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,q,1);d=f[q>>2]|0;c=f[r>>2]|0;if((d|0)==(c|0)){if(qZa(4)|0){i=Nu(Hua(4)|0,376077,80)|0;Drb(l,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);d=utb(l,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(l);ksb(i,d)|0;Krb(i)|0};f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;d=sh(376158)|0;if(!d){f[h>>2]=-1;jF(376174,h)|0;f[j>>2]=-1;f[k>>2]=-1;f[e>>2]=-1;f[g>>2]=-1;kF(376185,j,k,e,g)|0;do if(kF(376196,j,k,e,g)|0){c=EBb(56)|0;t=f[j>>2]|0;d=f[k>>2]|0;i=f[e>>2]|0;j=f[g>>2]|0;k=f[h>>2]|0;rZa(c);h=c+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[c+24>>2]=2;f[c+28>>2]=0;f[c>>2]=305744;f[c+32>>2]=t;f[c+36>>2]=d;f[c+40>>2]=i;f[c+44>>2]=j;f[c+48>>2]=k;k=c+52|0;b[k>>0]=1;b[c+53>>0]=0;j=c+8|0;f[j>>2]=(f[j>>2]|0)+1;b[k>>0]=0;kw(a+104|0,c);k=f[j>>2]|0;f[j>>2]=k-1;if((k|0)==1)Rua(c,1,1)}else{i=f[e>>2]|0;c=f[g>>2]|0;e=f[h>>2]|0;g=(e|0)>-1;h=a+104|0;if((i|0)>0&(c|0)>0){j=f[j>>2]|0;t=f[k>>2]|0;d=EBb(56)|0;rZa(d);k=d+12|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=305744;f[d+32>>2]=j;f[d+36>>2]=t;f[d+40>>2]=i;f[d+44>>2]=c;c=d+48|0;if(g){f[c>>2]=e;b[d+52>>0]=1;b[d+53>>0]=0;kw(h,d);break}else{f[c>>2]=0;b[d+52>>0]=1;b[d+53>>0]=0;kw(h,d);break}}else if(g){t=EBb(36)|0;rZa(t);k=t+12|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[t+24>>2]=2;f[t+28>>2]=0;f[t>>2]=305564;f[t+32>>2]=e;kw(h,t);break}else{t=EBb(32)|0;rZa(t);k=t+12|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[t+24>>2]=2;f[t+28>>2]=0;f[t>>2]=305384;kw(h,t);break}}while(0)}else{c=0;while(1){if(!(b[d+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(l,d,c)|0;cj[f[(f[a>>2]|0)+12>>2]&1023](a,l)|0}Fj[f[(f[a>>2]|0)+88>>2]&511](a,q,1);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);d=f[q>>2]|0;c=f[r>>2]|0}a:do if((d|0)!=(c|0)){c=f[a+220>>2]|0;if(!c){c=Dxa()|0;c=f[c>>2]|0}f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;d=f_a(l)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if(d|0?(_i[f[(f[d>>2]|0)+32>>2]&2047](d)|0)==0:0)Bj[f[(f[d>>2]|0)+28>>2]&1023](d,c);h=f[c+116>>2]|0;i=f[c+120>>2]|0;d=f[q>>2]|0;if((d|0)!=(f[r>>2]|0)){e=c+156|0;g=a+80|0;do{c=f[d>>2]|0;if(((f[e>>2]|0?(m=EBb(16)|0,x$a(m),n=c+116|0,o=f[n>>2]|0,(o|0)!=(m|0)):0)?(f[n>>2]=m,t=m+8|0,f[t>>2]=(f[t>>2]|0)+1,o|0):0)?(l=o+8|0,t=f[l>>2]|0,f[l>>2]=t-1,(t|0)==1):0)Rua(o,1,1);t=c+48|0;b1a(f[t>>2]|0,h);d1a(f[t>>2]|0,i);j_a(c)|0;if(f[g>>2]|0?_i[f[(f[c>>2]|0)+168>>2]&2047](c)|0:0){o$a(c)|0;t=f[g>>2]|0;Bj[f[(f[t>>2]|0)+4>>2]&1023](t,c);p$a(c)|0}d=d+4|0}while((d|0)!=(f[r>>2]|0))}c=f[a+88>>2]|0;if(c){sY(c,q);d=f[r>>2]|0}c=f[q>>2]|0;if((c|0)!=(d|0))do{e=f[c>>2]|0;if((e|0)!=0?(p=WCb(e,297048,276480,0)|0,(p|0)!=0):0){tj[f[(f[p>>2]|0)+236>>2]&2047](p);d=f[r>>2]|0}c=c+4|0}while((c|0)!=(d|0));p=d$a()|0;t=e$a(p)|0;f[p>>2]=t;f[p+4>>2]=H;p=f[(f[a>>2]|0)+160>>2]|0;t=d$a()|0;Fj[p&511](a,f[t>>2]|0,f[t+4>>2]|0);tj[f[(f[a>>2]|0)+40>>2]&2047](a);t=Dxa()|0;if(b[(f[t>>2]|0)+92>>0]|0){c=0;while(1){if(c>>>0>(k$a()|0)>>>0)break a;d=m$a(c)|0;if(d|0){u$a(d);k4a((f[d+108>>2]|0)+12|0)|0}c=c+1|0}}}else{if(qZa(3)|0){t=Nu(Hua(3)|0,376218,48)|0;Drb(l,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);p=utb(l,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(l);ksb(t,p)|0;Krb(t)|0}b[a+5>>0]=1}while(0);c=f[q>>2]|0;if(!c){u=s;return}f[r>>2]=c;GBb(c);u=s;return}function XC(a){a=a|0;var c=0,d=0;c=a+104|0;if((f[a+180>>2]|0)==0?b[(f[a+120>>2]|0)+228>>0]|0:0){d=EBb(288)|0;Qta(d,5);_v(c,d,1)}b[a+13>>0]=0;lv(a)|0;return 0}function YC(a){a=a|0;var c=0,d=0,e=0;c=a+33|0;if(b[c>>0]|0){e=1;return e|0}d=a+34|0;if(b[d>>0]|0){e=1;return e|0}e=a+104|0;if(_i[f[(f[e>>2]|0)+68>>2]&2047](e)|0){e=1;return e|0}if(_i[f[(f[e>>2]|0)+72>>2]&2047](e)|0){e=1;return e|0}if(_i[f[(f[a>>2]|0)+60>>2]&2047](a)|0){e=1;return e|0}if(b[c>>0]|0){e=1;return e|0}e=(b[d>>0]|0)!=0;return e|0}function ZC(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;c=f[a+160>>2]|0;e=a+164|0;b=f[e>>2]|0;a:do if((c|0)!=(b|0)){while(1){d=f[c>>2]|0;if(f[d+36>>2]&1){if(_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0){b=1;break}b=f[e>>2]|0}c=c+4|0;if((c|0)==(b|0))break a}u=h;return b|0}while(0);f[g>>2]=0;d=g+4|0;f[d>>2]=0;f[g+8>>2]=0;Fj[f[(f[a>>2]|0)+92>>2]&511](a,g,1);b=f[g>>2]|0;if((b|0)==(f[d>>2]|0))c=0;else{while(1){a=f[b>>2]|0;b=b+4|0;if(_i[f[(f[a>>2]|0)+212>>2]&2047](a)|0){c=1;break}if((b|0)==(f[d>>2]|0)){c=0;break}}b=f[g>>2]|0}if(b|0){f[d>>2]=b;GBb(b)}g=c;u=h;return g|0}function _C(a,c){a=a|0;c=+c;var d=0,e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0,o=0,q=0,r=0;r=u;u=u+16|0;o=r;if(b[a+5>>0]|0){u=r;return}q=a+136|0;d=f[q>>2]|0;k=d+16|0;m=+p[k>>3];d=d+12|0;n=f[d>>2]|0;f[d>>2]=n+1;d=d$a()|0;h=a+152|0;g=f[h>>2]|0;h=f[h+4>>2]|0;i=e$a(d$a()|0)|0;j=H;if(j>>>0>h>>>0|(j|0)==(h|0)&i>>>0>g>>>0){l=NDb(i|0,j|0,g|0,h|0)|0;e=+p[d+8>>3]*(+(l>>>0)+4294967296.0*+(H>>>0))}else{l=NDb(g|0,h|0,i|0,j|0)|0;e=-(+p[d+8>>3]*(+(l>>>0)+4294967296.0*+(H>>>0)))}p[k>>3]=e;d=f[q>>2]|0;if(c==1797693134862315708145274.0e284)c=+p[d+16>>3];p[d+24>>3]=c;if(_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0){h=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;i=o+11|0;b[i>>0]=10;j=o;k=370440;l=j+10|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[o+10>>0]=0;g=h+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;d=Fv(h+68|0,o)|0;if((d|0)==(h+72|0))d=0;else d=(b[d+28>>0]|0)!=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[i>>0]|0)<0)GBb(f[o>>2]|0);if(d){c=+p[(f[q>>2]|0)+16>>3]-m;d=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;g=EBb(16)|0;f[o>>2]=g;f[o+8>>2]=-2147483632;f[o+4>>2]=14;j=g;k=370451;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[g+14>>0]=0;x2a(d,n,o,c)|0;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);d=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;g=o+11|0;b[g>>0]=10;j=o;k=370466;l=j+10|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[o+10>>0]=0;x2a(d,n,o,1.0/c)|0;if((b[g>>0]|0)<0)GBb(f[o>>2]|0);d=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;g=f[q>>2]|0;h=f[g+12>>2]|0;i=EBb(16)|0;f[o>>2]=i;f[o+8>>2]=-2147483632;f[o+4>>2]=14;j=i;k=370477;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[i+14>>0]=0;x2a(d,h,o,+p[g+16>>3])|0;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0)}}if(!(P0a()|0)){u=r;return}o=P0a()|0;tj[f[(f[o>>2]|0)+8>>2]&2047](o);o=P0a()|0;f[o+8>>2]=f[(f[q>>2]|0)+12>>2];u=r;return}function $C(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0.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,I=0,J=0,K=0.0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=u;u=u+48|0;R=S+24|0;P=S+12|0;Q=S;E=a+5|0;if(b[E>>0]|0){u=S;return}O=a+136|0;l=+p[(f[O>>2]|0)+16>>3];e=d$a()|0;J=a+152|0;i=J;h=f[i>>2]|0;i=f[i+4>>2]|0;j=e$a(d$a()|0)|0;k=H;if(k>>>0>i>>>0|(k|0)==(i|0)&j>>>0>h>>>0){N=NDb(j|0,k|0,h|0,i|0)|0;K=+p[e+8>>3]*(+(N>>>0)+4294967296.0*+(H>>>0))}else{N=NDb(h|0,i|0,j|0,k|0)|0;K=-(+p[e+8>>3]*(+(N>>>0)+4294967296.0*+(H>>>0)))}f[R>>2]=R;L=R+4|0;f[L>>2]=R;M=R+8|0;f[M>>2]=0;f[P>>2]=0;N=P+4|0;f[N>>2]=0;f[P+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,P,1);if((f[N>>2]|0)==(f[P>>2]|0)){b[E>>0]=1;if(b[a+32>>0]|0){tj[f[(f[a>>2]|0)+44>>2]&2047](a);D=8}}else D=8;if((D|0)==8?(b[E>>0]|0)==0:0){z=a+176|0;A=f[(f[z>>2]|0)+12>>2]|0;e=f[a+160>>2]|0;i=a+164|0;if((e|0)!=(f[i>>2]|0))do{h=f[e>>2]|0;if(f[h+36>>2]&1|0)_i[f[(f[h>>2]|0)+164>>2]&2047](h)|0;Cta(f[h+32>>2]|0,R,l)|0;e=e+4|0}while((e|0)!=(f[i>>2]|0));h=f[P>>2]|0;e=f[N>>2]|0;if((h|0)!=(e|0)){o=Q+4|0;q=Q+8|0;r=A+52|0;s=A+56|0;t=A+160|0;v=A+164|0;w=a+32|0;x=a+92|0;y=a+96|0;do{i=f[h>>2]|0;if((i|0)!=0?(C=WCb(i,297048,276480,0)|0,(C|0)!=0):0){_i[f[(f[C>>2]|0)+212>>2]&2047](C)|0;f[Q>>2]=Q;f[o>>2]=Q;f[q>>2]=0;Cta(f[C+136>>2]|0,Q,l)|0;e=f[o>>2]|0;i=e;if((Q|0)!=(i|0)){do{n=f[e+8>>2]|0;n=_i[f[(f[n>>2]|0)+164>>2]&2047](n)|0;if(n|0){e=cCa(C)|0;m=n+52|0;j=f[m>>2]|0;if((j|0)!=(e|0)){f[m>>2]=e;if(e|0){k=e+8|0;f[k>>2]=(f[k>>2]|0)+1}do if(j|0){e=j+8|0;k=f[e>>2]|0;f[e>>2]=k-1;if((k|0)!=1)break;Rua(j,1,1)}while(0);e=f[m>>2]|0}if(!e)e=0;else e=(f[e+24>>2]|0)==0?0:C;k=n+56|0;f[k>>2]=e;switch(_i[f[(f[n>>2]|0)+172>>2]&2047](n)|0){case 8:case 16:case 4:case 2:case 1:{do if((_i[f[(f[n>>2]|0)+172>>2]&2047](n)|0)==8){e=f[r>>2]|0;do if(!e)j=0;else{if(!(f[e+24>>2]|0)){j=0;break}j=f[s>>2]|0}while(0);e=f[m>>2]|0;do if(!e)e=0;else{if(!(f[e+24>>2]|0)){e=0;break}e=f[k>>2]|0}while(0);if((j|0)!=(e|0)){D=40;break}if((f[v>>2]|0)-(f[t>>2]|0)>>2>>>0<2){D=40;break}fF(a,A,n)}else D=40;while(0);if((D|0)==40){D=0;eF(a,n)}Mta(A,n);break}default:Mta(n,A)}k=n+8|0;f[k>>2]=(f[k>>2]|0)+1;m=EBb(12)|0;f[m>>2]=0;f[m+8>>2]=n;f[k>>2]=(f[k>>2]|0)+1;f[m+4>>2]=R;j=f[R>>2]|0;f[m>>2]=j;f[j+4>>2]=m;f[R>>2]=m;f[M>>2]=(f[M>>2]|0)+1;m=f[k>>2]|0;f[k>>2]=m-1;if((m|0)==1)Rua(n,1,1)}e=f[i+4>>2]|0;i=e}while((Q|0)!=(i|0));e=f[o>>2]|0;i=e}if((Q|0)!=(i|0))do{e=f[e+8>>2]|0;e=_i[f[(f[e>>2]|0)+164>>2]&2047](e)|0;do if(e|0?(_i[f[(f[e>>2]|0)+172>>2]&2047](e)|0)==16384:0){e=(b[w>>0]|0)!=0;if(e)tj[f[(f[a>>2]|0)+44>>2]&2047](a);MJa(C,1);j=f[x>>2]|0;do if(j|0){f[x>>2]=0;m=j+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)!=1)break;Rua(j,1,1)}while(0);f[y>>2]=0;if(!e)break;tj[f[(f[a>>2]|0)+48>>2]&2047](a)}while(0);e=f[i+4>>2]|0;i=e}while((Q|0)!=(i|0));if(f[q>>2]|0?(B=f[o>>2]|0,n=(f[Q>>2]|0)+4|0,m=f[B>>2]|0,f[m+4>>2]=f[n>>2],f[f[n>>2]>>2]=m,f[q>>2]=0,(B|0)!=(Q|0)):0){e=B;do{i=e;e=f[e+4>>2]|0;j=f[i+8>>2]|0;do if(j|0){m=j+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)!=1)break;Rua(j,1,1)}while(0);GBb(i)}while((e|0)!=(Q|0))}e=f[N>>2]|0}h=h+4|0}while((h|0)!=(e|0))}e=Ita(f[z>>2]|0,+p[(f[O>>2]|0)+16>>3])|0;h=(e|0)==0;if(!h){C=e+8|0;f[C>>2]=(f[C>>2]|0)+1}if((A|0)!=0?(f[A+164>>2]|0)-(f[A+160>>2]|0)>>2>>>0>=2:0)fF(a,A,e);else eF(a,e);if(!h?(B=e+8|0,C=f[B>>2]|0,f[B>>2]=C-1,(C|0)==1):0)Rua(e,1,1);Cta(f[z>>2]|0,R,l)|0;i=a+8|0;if(!((f[i>>2]|0)==0?!(b[a+12>>0]|0):0))D=80;if((D|0)==80?(d=f[L>>2]|0,g=d,(R|0)!=(g|0)):0){h=a+12|0;do{d=f[d+8>>2]|0;d=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;a:do if(d|0?(b[d+32>>0]|0)==0:0){e=_i[f[(f[d>>2]|0)+172>>2]&2047](d)|0;if((e|0)>=32768){switch(e|0){case 32768:break;default:break a}if(!(b[h>>0]|0))break;b[E>>0]=1;break}switch(e|0){case 64:break;default:break a}if(f[i>>2]|0?(D=_i[f[(f[d>>2]|0)+176>>2]&2047](d)|0,(D|0)==(f[i>>2]|0)):0)b[E>>0]=1}while(0);d=f[g+4>>2]|0;g=d}while((R|0)!=(g|0))}if(!(b[E>>0]|0)){q=a+68|0;d=f[q>>2]|0;if((d|0?(G=a+172|0,F=f[G>>2]|0,F|0):0)?f[F+12>>2]|0:0){g=f[O>>2]|0;d=d+12|0;e=f[d>>2]|0;do if((e|0)!=(g|0)){f[d>>2]=g;if(g|0){F=g+8|0;f[F>>2]=(f[F>>2]|0)+1}if(e|0){E=e+8|0;F=f[E>>2]|0;f[E>>2]=F-1;if((F|0)!=1)break;Rua(e,1,1)}}while(0);f[(f[q>>2]|0)+8>>2]=f[(f[O>>2]|0)+12>>2];d=f[L>>2]|0;e=d;if((R|0)!=(e|0)){m=a+124|0;n=a+128|0;o=a+120|0;do{d=f[d+8>>2]|0;d=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;if(d|0){j=f[q>>2]|0;tj[f[(f[j>>2]|0)+76>>2]&2047](j);Lta(f[q>>2]|0,d);j=f[(f[G>>2]|0)+12>>2]|0;Bj[f[(f[j>>2]|0)+212>>2]&1023](j,f[q>>2]|0);j=f[n>>2]|0;g=f[m>>2]|0;d=g;if((j|0)==(g|0))g=j;else{i=0;k=d;while(1){h=f[k+(i*272|0)+4>>2]|0;do if(h){if(b[k+(i*272|0)+264>>0]|0)break;Bj[f[(f[h>>2]|0)+212>>2]&1023](h,f[q>>2]|0);d=f[m>>2]|0;g=d;j=f[n>>2]|0}while(0);i=i+1|0;if(i>>>0>=((j-g|0)/272|0)>>>0)break;else k=g}}h=f[q>>2]|0;i=h+16|0;k=f[i>>2]|0;f[i>>2]=0;i=f[o>>2]|0;if(i){Bj[f[(f[i>>2]|0)+212>>2]&1023](i,h);d=f[m>>2]|0;j=f[n>>2]|0;g=d}if((j|0)!=(g|0)){i=0;while(1){h=f[d+(i*272|0)+4>>2]|0;do if(!h)h=j;else{if(!(b[d+(i*272|0)+264>>0]|0)){h=j;break}Bj[f[(f[h>>2]|0)+212>>2]&1023](h,f[q>>2]|0);g=f[m>>2]|0;h=f[n>>2]|0}while(0);i=i+1|0;if(i>>>0>=((h-g|0)/272|0)>>>0)break;else{d=g;j=h}}}f[(f[q>>2]|0)+16>>2]=k}d=f[e+4>>2]|0;e=d}while((R|0)!=(e|0))}}d=f[L>>2]|0;e=d;if((R|0)!=(e|0)){i=a+188|0;j=a+184|0;do{h=f[d+8>>2]|0;d=f[i>>2]|0;g=d;if((j|0)!=(g|0))do{G=f[d+8>>2]|0;ej[f[(f[G>>2]|0)+64>>2]&63](G,h,0,f[q>>2]|0)|0;d=f[g+4>>2]|0;g=d}while((j|0)!=(g|0));d=f[e+4>>2]|0;e=d}while((R|0)!=(e|0));d=f[L>>2]|0;e=d}if((R|0)!=(e|0)){g=a+180|0;do{d=f[d+8>>2]|0;if(d|0?(I=f[g>>2]|0,I|0):0)ej[f[(f[I>>2]|0)+64>>2]&63](I,d,0,f[q>>2]|0)|0;d=f[e+4>>2]|0;e=d}while((R|0)!=(e|0))}if(_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0){I=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[Q>>2]=0;f[Q+4>>2]=0;f[Q+8>>2]=0;e=Q+11|0;b[e>>0]=5;b[Q>>0]=b[370279]|0;b[Q+1>>0]=b[370280]|0;b[Q+2>>0]=b[370281]|0;b[Q+3>>0]=b[370282]|0;b[Q+4>>0]=b[370283]|0;b[Q+5>>0]=0;g=I+24|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;d=Fv(I+68|0,Q)|0;if((d|0)==(I+72|0))d=0;else d=(b[d+28>>0]|0)!=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;if((b[e>>0]|0)<0)GBb(f[Q>>2]|0);if(d){i=d$a()|0;e=J;d=f[e>>2]|0;e=f[e+4>>2]|0;g=e$a(d$a()|0)|0;h=H;if(h>>>0>e>>>0|(h|0)==(e|0)&g>>>0>d>>>0){J=NDb(g|0,h|0,d|0,e|0)|0;l=+p[i+8>>3]*(+(J>>>0)+4294967296.0*+(H>>>0))}else{J=NDb(d|0,e|0,g|0,h|0)|0;l=-(+p[i+8>>3]*(+(J>>>0)+4294967296.0*+(H>>>0)))}d=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;e=f[(f[O>>2]|0)+12>>2]|0;f[Q>>2]=0;f[Q+4>>2]=0;f[Q+8>>2]=0;g=EBb(32)|0;f[Q>>2]=g;f[Q+8>>2]=-2147483616;f[Q+4>>2]=26;h=g;i=370285;j=h+26|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[g+26>>0]=0;x2a(d,e,Q,K)|0;if((b[Q+11>>0]|0)<0)GBb(f[Q>>2]|0);d=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;e=f[(f[O>>2]|0)+12>>2]|0;f[Q>>2]=0;f[Q+4>>2]=0;f[Q+8>>2]=0;g=EBb(32)|0;f[Q>>2]=g;f[Q+8>>2]=-2147483616;f[Q+4>>2]=24;h=g;i=370312;j=h+24|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[g+24>>0]=0;x2a(d,e,Q,l)|0;if((b[Q+11>>0]|0)<0)GBb(f[Q>>2]|0);g=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;d=f[(f[O>>2]|0)+12>>2]|0;f[Q>>2]=0;f[Q+4>>2]=0;f[Q+8>>2]=0;e=EBb(32)|0;f[Q>>2]=e;f[Q+8>>2]=-2147483616;f[Q+4>>2]=26;h=e;i=370337;j=h+26|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[e+26>>0]=0;x2a(g,d,Q,l-K)|0;if((b[Q+11>>0]|0)<0)GBb(f[Q>>2]|0)}}}}d=f[P>>2]|0;if(d|0){f[N>>2]=d;GBb(d)}if(f[M>>2]|0?(c=f[L>>2]|0,Q=(f[R>>2]|0)+4|0,P=f[c>>2]|0,f[P+4>>2]=f[Q>>2],f[f[Q>>2]>>2]=P,f[M>>2]=0,(c|0)!=(R|0)):0)do{d=c;c=f[c+4>>2]|0;e=f[d+8>>2]|0;if(e|0?(P=e+8|0,Q=f[P>>2]|0,f[P>>2]=Q-1,(Q|0)==1):0)Rua(e,1,1);GBb(d)}while((c|0)!=(R|0));u=S;return}function aD(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0.0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0.0,v=0,w=0;w=u;u=u+16|0;v=w;if(b[a+5>>0]|0){u=w;return}h=d$a()|0;q=a+104|0;r=a+152|0;d=r;c=f[d>>2]|0;d=f[d+4>>2]|0;e=e$a(d$a()|0)|0;g=H;if(g>>>0>d>>>0|(g|0)==(d|0)&e>>>0>c>>>0){s=NDb(e|0,g|0,c|0,d|0)|0;t=+p[h+8>>3]*(+(s>>>0)+4294967296.0*+(H>>>0))}else{s=NDb(c|0,d|0,e|0,g|0)|0;t=-(+p[h+8>>3]*(+(s>>>0)+4294967296.0*+(H>>>0)))}o=a+76|0;s=f[o>>2]|0;tj[f[(f[s>>2]|0)+76>>2]&2047](s);s=a+136|0;c=f[s>>2]|0;d=(f[o>>2]|0)+12|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){m=c+8|0;f[m>>2]=(f[m>>2]|0)+1}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)}m=f[o>>2]|0;f[m+8>>2]=f[(f[s>>2]|0)+12>>2];l=f[a+172>>2]|0;Bj[f[(f[l>>2]|0)+20>>2]&1023](l,m);m=(YZ(0)|0)+236|0;if(f[m>>2]|0){m=(YZ(0)|0)+236|0;aea(f[m>>2]|0)}c=YZ(0)|0;Wda(c,f[s>>2]|0);c=YZ(0)|0;Xda(c,f[s>>2]|0);c=f[a+72>>2]|0;if(c|0)K0a(c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);c=f[a+88>>2]|0;if(c|0)AY(c,f[s>>2]|0);l=a+124|0;m=a+128|0;e=f[m>>2]|0;d=f[l>>2]|0;c=d;if((e|0)==(d|0))h=e;else{h=0;j=c;g=d;while(1){d=f[j+(h*272|0)+4>>2]|0;if((d|0)!=0?(b[j+(h*272|0)+264>>0]|0)==0:0){Bj[f[(f[d>>2]|0)+212>>2]&1023](d,f[o>>2]|0);c=f[l>>2]|0;d=c;e=f[m>>2]|0}else d=g;h=h+1|0;if(h>>>0>=((e-d|0)/272|0)>>>0){h=d;break}else{j=d;g=d}}}d=f[o>>2]|0;k=d+16|0;j=f[k>>2]|0;f[k>>2]=0;k=a+120|0;g=f[k>>2]|0;if(!g)d=h;else{Bj[f[(f[g>>2]|0)+212>>2]&1023](g,d);c=f[l>>2]|0;e=f[m>>2]|0;d=c}if((e|0)!=(d|0)){h=0;g=d;while(1){d=f[c+(h*272|0)+4>>2]|0;if((d|0)!=0?(b[c+(h*272|0)+264>>0]|0)!=0:0){Bj[f[(f[d>>2]|0)+212>>2]&1023](d,f[o>>2]|0);d=f[l>>2]|0;e=f[m>>2]|0}else d=g;h=h+1|0;if(h>>>0>=((e-d|0)/272|0)>>>0)break;else{c=d;g=d}}}f[(f[o>>2]|0)+16>>2]=j;c=a+180|0;d=f[c>>2]|0;if(d|0){o=_i[f[(f[d>>2]|0)+104>>2]&2047](d)|0;m=f[c>>2]|0;i=+Wi[f[(f[m>>2]|0)+108>>2]&7](m);f[a+224>>2]=o;n[a+228>>2]=i;o=f[c>>2]|0;Bj[f[(f[o>>2]|0)+100>>2]&1023](o,f[k>>2]|0)}X2a(q);if(!(_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0)){u=w;return}q=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;d=v+11|0;b[d>>0]=6;b[v>>0]=b[370072]|0;b[v+1>>0]=b[370073]|0;b[v+2>>0]=b[370074]|0;b[v+3>>0]=b[370075]|0;b[v+4>>0]=b[370076]|0;b[v+5>>0]=b[370077]|0;b[v+6>>0]=0;e=q+24|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;c=Fv(q+68|0,v)|0;if((c|0)==(q+72|0))c=0;else c=(b[c+28>>0]|0)!=0;_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;if((b[d>>0]|0)<0)GBb(f[v>>2]|0);if(!c){u=w;return}h=d$a()|0;d=r;c=f[d>>2]|0;d=f[d+4>>2]|0;e=e$a(d$a()|0)|0;g=H;if(g>>>0>d>>>0|(g|0)==(d|0)&e>>>0>c>>>0){r=NDb(e|0,g|0,c|0,d|0)|0;i=+p[h+8>>3]*(+(r>>>0)+4294967296.0*+(H>>>0))}else{r=NDb(c|0,d|0,e|0,g|0)|0;i=-(+p[h+8>>3]*(+(r>>>0)+4294967296.0*+(H>>>0)))}c=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;d=f[(f[s>>2]|0)+12>>2]|0;e=EBb(32)|0;f[v>>2]=e;f[v+8>>2]=-2147483616;f[v+4>>2]=27;g=e;h=370197;j=g+27|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[e+27>>0]=0;x2a(c,d,v,t)|0;if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);c=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;d=f[(f[s>>2]|0)+12>>2]|0;e=EBb(32)|0;f[v>>2]=e;f[v+8>>2]=-2147483616;f[v+4>>2]=25;g=e;h=370225;j=g+25|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[e+25>>0]=0;x2a(c,d,v,i)|0;if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);e=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;c=f[(f[s>>2]|0)+12>>2]|0;d=EBb(32)|0;f[v>>2]=d;f[v+8>>2]=-2147483616;f[v+4>>2]=27;g=d;h=370251;j=g+27|0;do{b[g>>0]=b[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b[d+27>>0]=0;x2a(e,c,v,i-t)|0;if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);u=w;return}function bD(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;d=f[b>>2]|0;k=b+4|0;f[k>>2]=d;h=a+120|0;g=f[h>>2]|0;do if(g|0){e=g;if(c){d=f[g+624>>2]|0;if(!d)break;if(!(_i[f[(f[d>>2]|0)+168>>2]&2047](d)|0))break;e=f[h>>2]|0;d=f[k>>2]|0}f[j>>2]=e;if(d>>>0<(f[b+8>>2]|0)>>>0){f[d>>2]=e;f[k>>2]=(f[k>>2]|0)+4}else Ev(b,j)}while(0);e=f[a+124>>2]|0;h=a+128|0;d=f[h>>2]|0;if((e|0)==(d|0)){u=l;return}a=b+8|0;if(!c){g=e;do{i=f[g+4>>2]|0;e=i;if(i){f[j>>2]=e;d=f[k>>2]|0;if(d>>>0<(f[a>>2]|0)>>>0){f[d>>2]=e;f[k>>2]=(f[k>>2]|0)+4}else Ev(b,j);d=f[h>>2]|0}g=g+272|0}while((g|0)!=(d|0));u=l;return}g=e;do{d=g+4|0;e=f[d>>2]|0;if((e|0?(i=f[e+624>>2]|0,i|0):0)?_i[f[(f[i>>2]|0)+168>>2]&2047](i)|0:0){d=f[d>>2]|0;f[j>>2]=d;e=f[k>>2]|0;if(e>>>0<(f[a>>2]|0)>>>0){f[e>>2]=d;f[k>>2]=(f[k>>2]|0)+4}else Ev(b,j)}g=g+272|0}while((g|0)!=(f[h>>2]|0));u=l;return}function cD(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,t=0;t=u;u=u+16|0;s=t+4|0;o=t;p=s+4|0;f[p>>2]=0;q=s+8|0;f[q>>2]=0;d=s+4|0;f[s>>2]=d;r=b+4|0;f[r>>2]=f[b>>2];l=a+120|0;e=f[l>>2]|0;if((e|0?(g=f[e+624>>2]|0,g|0):0)?_i[f[(f[g>>2]|0)+168>>2]&2047](g)|0|c^1:0){e=(f[l>>2]|0)+624|0;j=f[e>>2]|0;k=j;g=f[d>>2]|0;do if(g){i=p;while(1){h=f[g+16>>2]|0;if(j>>>0<h>>>0){h=f[g>>2]|0;if(!h){m=8;break}}else{if(h>>>0>=j>>>0){m=12;break}i=g+4|0;h=f[i>>2]|0;if(!h){m=11;break}else g=i}i=g;g=h}if((m|0)==8){j=g;h=g;break}else if((m|0)==11){j=g;h=i;break}else if((m|0)==12){j=g;h=i;break}}else{j=d;h=d}while(0);if(!(f[h>>2]|0)){e=EBb(20)|0;f[e+16>>2]=k;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=j;f[h>>2]=e;g=f[f[s>>2]>>2]|0;if(g){f[s>>2]=g;e=f[h>>2]|0}Xo(f[p>>2]|0,e);f[q>>2]=(f[q>>2]|0)+1;e=(f[l>>2]|0)+624|0}e=f[e>>2]|0;f[o>>2]=e;g=f[r>>2]|0;if(g>>>0<(f[b+8>>2]|0)>>>0){f[g>>2]=e;f[r>>2]=(f[r>>2]|0)+4}else mA(b,o)}n=a+124|0;l=a+128|0;a=f[n>>2]|0;e=a;if((f[l>>2]|0)==(a|0)){r=d;r=f[r>>2]|0;Cv(s,r);u=t;return}a=b+8|0;if(!c){k=0;do{e=f[e+(k*272|0)+4>>2]|0;a:do if(e){e=f[e+624>>2]|0;f[o>>2]=e;if(e|0){_i[f[(f[e>>2]|0)+168>>2]&2047](e)|0;i=f[d>>2]|0;do if(i){j=f[o>>2]|0;e=i;do{g=f[e+16>>2]|0;if(j>>>0>=g>>>0){if(g>>>0>=j>>>0)break a;e=e+4|0}e=f[e>>2]|0}while((e|0)!=0);h=p;e=i;while(1){g=f[e+16>>2]|0;if(j>>>0<g>>>0){g=f[e>>2]|0;if(!g){m=45;break}else{h=e;e=g}}else{if(g>>>0>=j>>>0){m=40;break}h=e+4|0;g=f[h>>2]|0;if(!g){m=42;break}else e=g}}if((m|0)==40){g=e;break}else if((m|0)==42){g=e;break}else if((m|0)==45){g=e;h=e;break}}else{g=d;h=d}while(0);if(!(f[h>>2]|0)){e=EBb(20)|0;f[e+16>>2]=f[o>>2];f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[s>>2]>>2]|0;if(g){f[s>>2]=g;e=f[h>>2]|0}Xo(f[p>>2]|0,e);f[q>>2]=(f[q>>2]|0)+1}e=f[r>>2]|0;if((e|0)==(f[a>>2]|0)){Dv(b,o);break}else{f[e>>2]=f[o>>2];f[r>>2]=(f[r>>2]|0)+4;break}}}else f[o>>2]=0;while(0);k=k+1|0;e=f[n>>2]|0}while(k>>>0<(((f[l>>2]|0)-e|0)/272|0)>>>0);r=f[d>>2]|0;Cv(s,r);u=t;return}k=0;do{e=f[e+(k*272|0)+4>>2]|0;b:do if(e){e=f[e+624>>2]|0;f[o>>2]=e;if(e|0?_i[f[(f[e>>2]|0)+168>>2]&2047](e)|0:0){i=f[d>>2]|0;do if(i){j=f[o>>2]|0;e=i;do{g=f[e+16>>2]|0;if(j>>>0>=g>>>0){if(g>>>0>=j>>>0)break b;e=e+4|0}e=f[e>>2]|0}while((e|0)!=0);h=p;e=i;while(1){g=f[e+16>>2]|0;if(j>>>0<g>>>0){g=f[e>>2]|0;if(!g){m=70;break}else{h=e;e=g}}else{if(g>>>0>=j>>>0){m=74;break}h=e+4|0;g=f[h>>2]|0;if(!g){m=73;break}else e=g}}if((m|0)==70){g=e;h=e;break}else if((m|0)==73){g=e;break}else if((m|0)==74){g=e;break}}else{g=d;h=d}while(0);if(!(f[h>>2]|0)){e=EBb(20)|0;f[e+16>>2]=f[o>>2];f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[s>>2]>>2]|0;if(g){f[s>>2]=g;e=f[h>>2]|0}Xo(f[p>>2]|0,e);f[q>>2]=(f[q>>2]|0)+1}e=f[r>>2]|0;if((e|0)==(f[a>>2]|0)){Dv(b,o);break}else{f[e>>2]=f[o>>2];f[r>>2]=(f[r>>2]|0)+4;break}}}else f[o>>2]=0;while(0);k=k+1|0;e=f[n>>2]|0}while(k>>>0<(((f[l>>2]|0)-e|0)/272|0)>>>0);r=f[d>>2]|0;Cv(s,r);u=t;return}function dD(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;q=u;u=u+16|0;k=q+4|0;n=q;o=b+4|0;f[o>>2]=f[b>>2];f[k>>2]=0;p=k+4|0;f[p>>2]=0;f[k+8>>2]=0;Fj[f[(f[a>>2]|0)+100>>2]&511](a,k,1);e=f[k>>2]|0;if((e|0)!=(f[p>>2]|0)){i=b+8|0;do{g=f[e>>2]|0;g=(g|0)==0?0:g+12|0;f[n>>2]=g;h=f[o>>2]|0;if(h>>>0<(f[i>>2]|0)>>>0){f[h>>2]=g;f[o>>2]=(f[o>>2]|0)+4}else Av(b,n);e=e+4|0}while((e|0)!=(f[p>>2]|0))}e=f[a+172>>2]|0;a:do if((e|0?(j=f[e+16>>2]|0,j|0):0)?(l=j+56|0,m=j+60|0,j=f[l>>2]|0,d=j,(f[m>>2]|0)!=(j|0)):0){h=b+8|0;if(!c){g=0;while(1){d=f[d+(g<<2)>>2]|0;d=(d|0)==0?0:d+12|0;f[n>>2]=d;e=f[o>>2]|0;if(e>>>0<(f[h>>2]|0)>>>0){f[e>>2]=d;f[o>>2]=(f[o>>2]|0)+4}else Av(b,n);g=g+1|0;d=f[l>>2]|0;if(g>>>0>=(f[m>>2]|0)-d>>2>>>0)break a}}g=0;do{d=f[d+(g<<2)>>2]|0;e=d+12|0;if(h4a(e)|0){d=(d|0)==0?0:e;f[n>>2]=d;e=f[o>>2]|0;if(e>>>0<(f[h>>2]|0)>>>0){f[e>>2]=d;f[o>>2]=(f[o>>2]|0)+4}else Av(b,n)}g=g+1|0;d=f[l>>2]|0}while(g>>>0<(f[m>>2]|0)-d>>2>>>0)}while(0);d=f[k>>2]|0;if(!d){u=q;return}f[p>>2]=d;GBb(d);u=q;return}function eD(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;o=u;u=u+32|0;m=o+16|0;j=o+4|0;k=o;l=b+4|0;f[l>>2]=f[b>>2];f[m>>2]=0;n=m+4|0;f[n>>2]=0;f[m+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,m,1);d=f[m>>2]|0;e=f[n>>2]|0;a:do if((d|0)!=(e|0)){h=b+8|0;if(!c)while(1){g=f[(f[d>>2]|0)+108>>2]|0;if(g){f[j>>2]=g;e=f[l>>2]|0;if(e>>>0<(f[h>>2]|0)>>>0){f[e>>2]=g;f[l>>2]=(f[l>>2]|0)+4}else zv(b,j);e=f[n>>2]|0}d=d+4|0;if((d|0)==(e|0))break a}do{e=(f[d>>2]|0)+108|0;g=f[e>>2]|0;if(g|0?h4a(g+12|0)|0:0){e=f[e>>2]|0;f[j>>2]=e;g=f[l>>2]|0;if(g>>>0<(f[h>>2]|0)>>>0){f[g>>2]=e;f[l>>2]=(f[l>>2]|0)+4}else zv(b,j)}d=d+4|0}while((d|0)!=(f[n>>2]|0))}while(0);f[j>>2]=0;i=j+4|0;f[i>>2]=0;f[j+8>>2]=0;Fj[f[(f[a>>2]|0)+84>>2]&511](a,j,1);d=f[j>>2]|0;e=f[i>>2]|0;if((d|0)!=(e|0)){h=b+8|0;if(c)do{e=(f[d>>2]|0)+620|0;g=f[e>>2]|0;if(g|0?h4a(g+12|0)|0:0){e=f[e>>2]|0;f[k>>2]=e;g=f[l>>2]|0;if(g>>>0<(f[h>>2]|0)>>>0){f[g>>2]=e;f[l>>2]=(f[l>>2]|0)+4}else zv(b,k)}d=d+4|0}while((d|0)!=(f[i>>2]|0));else do{c=f[(f[d>>2]|0)+620>>2]|0;g=c;if(c){f[k>>2]=g;e=f[l>>2]|0;if(e>>>0<(f[h>>2]|0)>>>0){f[e>>2]=g;f[l>>2]=(f[l>>2]|0)+4}else zv(b,k);e=f[i>>2]|0}d=d+4|0}while((d|0)!=(e|0));d=f[j>>2]|0}if(d|0){f[i>>2]=d;GBb(d)}d=f[m>>2]|0;if(!d){u=o;return}f[n>>2]=d;GBb(d);u=o;return}function fD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;e=f[b>>2]|0;g=b+4|0;f[g>>2]=e;c=f[a+172>>2]|0;f[d>>2]=c;if((f[b+8>>2]|0)>>>0>e>>>0){f[e>>2]=c;f[g>>2]=(f[g>>2]|0)+4;u=h;return}else{yv(b,d);u=h;return}}function gD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;e=f[b>>2]|0;g=b+4|0;f[g>>2]=e;c=a+104|0;f[d>>2]=c;if((f[b+8>>2]|0)>>>0>e>>>0){f[e>>2]=c;f[g>>2]=(f[g>>2]|0)+4;u=h;return}else{xv(b,d);u=h;return}}function hD(a){a=a|0;var b=0,c=0,d=0,e=0,g=0.0;e=d$a()|0;d=a+152|0;c=f[d>>2]|0;d=f[d+4>>2]|0;a=e$a(d$a()|0)|0;b=H;if(b>>>0>d>>>0|(b|0)==(d|0)&a>>>0>c>>>0){d=NDb(a|0,b|0,c|0,d|0)|0;g=+p[e+8>>3]*(+(d>>>0)+4294967296.0*+(H>>>0));return +g}else{d=NDb(c|0,d|0,a|0,b|0)|0;g=-(+p[e+8>>3]*(+(d>>>0)+4294967296.0*+(H>>>0)));return +g}return 0.0}function iD(a){a=a|0;return f[a+136>>2]|0}function jD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[a+180>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+68>>2]&1023](c,b);d=f[a+188>>2]|0;e=a+184|0;c=d;if((e|0)==(c|0))return;a=d;do{d=f[a+8>>2]|0;Bj[f[(f[d>>2]|0)+68>>2]&1023](d,b);a=f[c+4>>2]|0;c=a}while((e|0)!=(c|0));return}function kD(a){a=a|0;wv(a+104|0);return}function lD(a){a=a|0;ZD(a,311232);Gva(a+236|0);return}function mD(a){a=a|0;ZD(a,311232);Gva(a+236|0);GBb(a);return}function nD(a){a=a|0;a=EBb(272)|0;WD(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function oD(a,b){a=a|0;b=b|0;var c=0;c=EBb(272)|0;PD(c,a,b);return c+(f[(f[c>>2]|0)+-12>>2]|0)|0}function pD(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279808,-1)|0)!=0;return b|0}function qD(a){a=a|0;return 369347}function rD(a){a=a|0;return 374816}function sD(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,x=0,y=0;oB(a+104|0,c);y=WCb(c,299440,279808,104)|0;if(!y)return;r=y+5|0;b[a+5>>0]=b[r>>0]|0;f[a+8>>2]=f[y+8>>2];b[a+12>>0]=b[y+12>>0]|0;f[a+28>>2]=f[y+28>>2];b[a+32>>0]=b[y+32>>0]|0;f[a+48>>2]=f[y+48>>2];s=y+56|0;c=a+56|0;d=f[c>>2]|0;e=f[s>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){q=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[q>>2]=(f[q>>2]|0)+1}if(d|0?(g=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,o=g+8|0,q=f[o>>2]|0,f[o>>2]=q-1,(q|0)==1):0)Rua(g,1,1)}q=y+60|0;c=a+60|0;d=f[c>>2]|0;e=f[q>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){o=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[o>>2]=(f[o>>2]|0)+1}if(d|0?(h=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,n=h+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(h,1,1)}o=y+64|0;c=a+64|0;d=f[c>>2]|0;e=f[o>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){n=e+8|0;f[n>>2]=(f[n>>2]|0)+1}if(d|0?(k=d+8|0,n=f[k>>2]|0,f[k>>2]=n-1,(n|0)==1):0)Rua(d,1,1)}n=y+68|0;c=a+68|0;d=f[c>>2]|0;e=f[n>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){k=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[k>>2]=(f[k>>2]|0)+1}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)}d=f[c>>2]|0;f[d+56>>2]=a+140;c=f[a+136>>2]|0;d=d+12|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}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)}k=y+72|0;c=a+72|0;d=f[c>>2]|0;e=f[k>>2]|0;if((d|0)!=(e|0)){f[c>>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)}j=y+76|0;c=a+76|0;d=f[c>>2]|0;e=f[j>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){i=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}if(d|0?(l=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,h=l+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(l,1,1)}i=y+80|0;c=a+80|0;d=f[c>>2]|0;e=f[i>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){l=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}if(d|0?(m=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,h=m+8|0,l=f[h>>2]|0,f[h>>2]=l-1,(l|0)==1):0)Rua(m,1,1)}h=y+84|0;c=a+84|0;d=f[c>>2]|0;e=f[h>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){m=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[m>>2]=(f[m>>2]|0)+1}if(d|0?(p=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,l=p+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(p,1,1)}g=y+92|0;c=a+92|0;if((c|0)!=(g|0)){d=f[c>>2]|0;e=f[g>>2]|0;if((d|0)!=(e|0)){f[c>>2]=e;if(e|0){p=e+8|0;f[p>>2]=(f[p>>2]|0)+1}if(d|0?(m=d+8|0,p=f[m>>2]|0,f[m>>2]=p-1,(p|0)==1):0)Rua(d,1,1)}f[a+96>>2]=f[y+96>>2]}b[r>>0]=1;c=f[s>>2]|0;if(c|0?(f[s>>2]=0,t=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,a=t+8|0,s=f[a>>2]|0,f[a>>2]=s-1,(s|0)==1):0)Rua(t,1,1);c=f[q>>2]|0;if(c|0?(f[q>>2]=0,u=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,s=u+8|0,t=f[s>>2]|0,f[s>>2]=t-1,(t|0)==1):0)Rua(u,1,1);c=f[o>>2]|0;if(c|0?(f[o>>2]=0,t=c+8|0,u=f[t>>2]|0,f[t>>2]=u-1,(u|0)==1):0)Rua(c,1,1);c=f[n>>2]|0;if(c|0?(f[n>>2]=0,v=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,t=v+8|0,u=f[t>>2]|0,f[t>>2]=u-1,(u|0)==1):0)Rua(v,1,1);c=f[k>>2]|0;if(c|0?(f[k>>2]=0,u=c+8|0,v=f[u>>2]|0,f[u>>2]=v-1,(v|0)==1):0)Rua(c,1,1);c=f[j>>2]|0;if(c|0?(f[j>>2]=0,w=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,u=w+8|0,v=f[u>>2]|0,f[u>>2]=v-1,(v|0)==1):0)Rua(w,1,1);c=f[i>>2]|0;if(c|0?(f[i>>2]=0,x=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,v=x+8|0,w=f[v>>2]|0,f[v>>2]=w-1,(w|0)==1):0)Rua(x,1,1);c=f[h>>2]|0;do if(c|0){f[h>>2]=0;c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;w=c+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(c,1,1)}while(0);c=f[g>>2]|0;do if(c|0){f[g>>2]=0;w=c+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(c,1,1)}while(0);f[y+96>>2]=0;return}function tD(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=u;u=u+16|0;h=k;i=a+152|0;e=i;f[e>>2]=b;f[e+4>>2]=c;e=f[a+160>>2]|0;g=a+164|0;if((e|0)!=(f[g>>2]|0)?(d=f[(f[e>>2]|0)+32>>2]|0,l=d+24|0,f[l>>2]=b,f[l+4>>2]=c,Ata(d),d=e+4|0,(d|0)!=(f[g>>2]|0)):0)do{b=i;e=f[b+4>>2]|0;l=f[(f[d>>2]|0)+32>>2]|0;c=l+24|0;f[c>>2]=f[b>>2];f[c+4>>2]=e;Ata(l);d=d+4|0}while((d|0)!=(f[g>>2]|0));f[h>>2]=0;c=h+4|0;f[c>>2]=0;f[h+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,h,0);d=f[a+176>>2]|0;a=i;l=f[a+4>>2]|0;b=d+24|0;f[b>>2]=f[a>>2];f[b+4>>2]=l;Ata(d);d=f[h>>2]|0;b=f[c>>2]|0;if((d|0)!=(b|0)){do{e=f[d>>2]|0;if((e|0)!=0?(j=WCb(e,297048,276480,0)|0,(j|0)!=0):0){b=f[j+136>>2]|0;g=i;a=f[g+4>>2]|0;l=b+24|0;f[l>>2]=f[g>>2];f[l+4>>2]=a;Ata(b);b=f[c>>2]|0}d=d+4|0}while((d|0)!=(b|0));d=f[h>>2]|0}if(!d){u=k;return}f[c>>2]=d;GBb(d);u=k;return}function uD(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0,g=0,h=0,i=0;h=e$a(d$a()|0)|0;i=H;e=d$a()|0;d=a+152|0;g=f[d>>2]|0;d=f[d+4>>2]|0;if(i>>>0>d>>>0|(i|0)==(d|0)&h>>>0>g>>>0){g=NDb(h|0,i|0,g|0,d|0)|0;c=+p[e+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0))}else{g=NDb(g|0,d|0,h|0,i|0)|0;c=-(+p[e+8>>3]*(+(g>>>0)+4294967296.0*+(H>>>0)))}g=(d$a()|0)+8|0;c=(0.0-c)/+p[g>>3];if(!(c>=0.0)){c=-c;h=NDb(h|0,i|0,~~c>>>0|0,(+J(c)>=1.0?(c>0.0?~~+X(+I(c/4294967296.0),4294967295.0)>>>0:~~+V((c-+(~~c>>>0))/4294967296.0)>>>0):0)|0)|0;i=H;g=f[a>>2]|0;g=g+160|0;g=f[g>>2]|0;Fj[g&511](a,h,i);i=a+104|0;uB(i,b);return}else{h=MDb(h|0,i|0,~~c>>>0|0,(+J(c)>=1.0?(c>0.0?~~+X(+I(c/4294967296.0),4294967295.0)>>>0:~~+V((c-+(~~c>>>0))/4294967296.0)>>>0):0)|0)|0;i=H;g=f[a>>2]|0;g=g+160|0;g=f[g>>2]|0;Fj[g&511](a,h,i);i=a+104|0;uB(i,b);return}}function vD(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.0,i=0.0;Bj[f[(f[a>>2]|0)+32>>2]&1023](a,0);g=EBb(144)|0;$D(g,b,c,d,e);c=a+120|0;a=f[c>>2]|0;b=EBb(88)|0;i=+(d|0);h=+(e|0);pZa(b);f[b>>2]=353328;e=b+56|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;p[b+72>>3]=i;p[b+80>>3]=h;IZa(a,b);KZa(f[c>>2]|0,30.0,i/h,1.0,1.0e4);CZa(f[c>>2]|0,g);return g|0}function wD(a){a=a|0;a=EBb(272)|0;WD(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function xD(a,b){a=a|0;b=b|0;var c=0;c=EBb(272)|0;PD(c,a+-104|0,b);return c+(f[(f[c>>2]|0)+-12>>2]|0)|0}function yD(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279808,-1)|0)!=0;return b|0}function zD(a){a=a|0;return 369347}function AD(a){a=a|0;return 374816}function BD(a,b){a=a|0;b=b|0;sD(a+-104|0,b);return}function CD(a){a=a|0;a=a+-104|0;ZD(a,311232);Gva(a+236|0);return}function DD(a){a=a|0;a=a+-104|0;ZD(a,311232);Gva(a+236|0);GBb(a);return}function ED(a,b,c){a=a|0;b=b|0;c=c|0;tD(a+-104|0,b,c);return}function FD(a,b){a=a|0;b=b|0;uD(a+-104|0,b);return}function GD(a){a=a|0;a=a+-140|0;ZD(a,311232);Gva(a+236|0);return}function HD(a){a=a|0;a=a+-140|0;ZD(a,311232);Gva(a+236|0);GBb(a);return}function ID(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;ZD(a,311232);Gva(a+236|0);return}function JD(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;ZD(a,311232);Gva(a+236|0);GBb(a);return}function KD(a){a=a|0;a=EBb(272)|0;WD(a);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function LD(a,b){a=a|0;b=b|0;var c=0;c=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;a=EBb(272)|0;PD(a,c,b);return a+(f[(f[a>>2]|0)+-12>>2]|0)|0}function MD(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,279808,-1)|0)!=0;return b|0}function ND(a){a=a|0;return 369347}function OD(a){a=a|0;return 374816}function PD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+236|0;Fva(e,b+(f[(f[b>>2]|0)+-12>>2]|0)|0,c);gv(a,311236,0);d=a+104|0;QD(d,311244,b+104|0,c);f[a>>2]=310600;f[e>>2]=311068;f[d>>2]=310784;f[a+140>>2]=310868;if(!a)b=0;else b=cCa(a+236|0)|0;c=a+144|0;d=f[c>>2]|0;if((d|0)!=(b|0)){f[c>>2]=b;if(b|0){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}if(d|0?(b=d+8|0,e=f[b>>2]|0,f[b>>2]=e-1,(e|0)==1):0)Rua(d,1,1);b=f[c>>2]|0}if(!b){d=0;e=a+148|0;f[e>>2]=d;return}d=(f[b+24>>2]|0)==0?0:a;e=a+148|0;f[e>>2]=d;return}function QD(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;l=u;u=u+16|0;k=l;U2a(a,c+4|0,d,e);h=a+36|0;f[h>>2]=311276;i=f[c>>2]|0;f[a>>2]=i;f[a+(f[i+-12>>2]|0)>>2]=f[c+12>>2];f[h>>2]=309628;h=a+68|0;i=a+72|0;c=a+80|0;e=a+40|0;g=e+40|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));f[c>>2]=c;f[a+84>>2]=c;f[a+88>>2]=0;w0a(a+92|0);f[a+116>>2]=0;f[a+120>>2]=f[d+120>>2];f[a+124>>2]=f[d+124>>2];f[a+128>>2]=0;c=EBb(24)|0;SB(c);e=f[h>>2]|0;if(((e|0)!=(c|0)?(f[h>>2]=c,d=c+8|0,f[d>>2]=(f[d>>2]|0)+1,e|0):0)?(h=e+8|0,d=f[h>>2]|0,f[h>>2]=d-1,(d|0)==1):0)Rua(e,1,1);e=f[a+16>>2]|0;c=cj[f[(f[a>>2]|0)+32>>2]&1023](a,e)|0;e=e+628|0;g=f[e>>2]|0;if((g|0)!=(c|0)){f[e>>2]=c;if(c|0){d=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}if(g|0?(j=g+(f[(f[g>>2]|0)+-12>>2]|0)|0,h=j+8|0,d=f[h>>2]|0,f[h>>2]=d-1,(d|0)==1):0)Rua(j,1,1)}c=EBb(64)|0;zta(c,1);e=f[i>>2]|0;if(((e|0)!=(c|0)?(f[i>>2]=c,j=c+8|0,f[j>>2]=(f[j>>2]|0)+1,e|0):0)?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);g=EBb(80)|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;h=k+11|0;b[h>>0]=4;f[k>>2]=2003134806;b[k+4>>0]=0;r2a(g,k);c=a+4|0;e=f[c>>2]|0;if(((e|0)!=(g|0)?(f[c>>2]=g,a=g+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);if((b[h>>0]|0)>=0){u=l;return}GBb(f[k>>2]|0);u=l;return}function RD(a){a=a|0;return}function SD(a){a=a|0;mi()}function TD(a){a=a|0;return 0}function UD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function VD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function WD(a){a=a|0;var b=0,c=0,d=0,e=0;d=a+236|0;rZa(d);f[d>>2]=338032;b=a+248|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+260>>2]=2;f[a+264>>2]=0;sv(a,311236);b=a+104|0;XD(b,311244);f[a>>2]=310600;f[d>>2]=311068;f[b>>2]=310784;f[a+140>>2]=310868;b=cCa(a+236|0)|0;d=a+144|0;c=f[d>>2]|0;if((c|0)!=(b|0)){f[d>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(c|0?(e=c+8|0,b=f[e>>2]|0,f[e>>2]=b-1,(b|0)==1):0)Rua(c,1,1);b=f[d>>2]|0}if(!b){d=0;e=a+148|0;f[e>>2]=d;YD(a);return}d=(f[b+24>>2]|0)==0?0:a;e=a+148|0;f[e>>2]=d;YD(a);return}function XD(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;j=k;R2a(a,c+4|0);d=a+36|0;f[d>>2]=311276;g=f[c>>2]|0;f[a>>2]=g;f[a+(f[g+-12>>2]|0)>>2]=f[c+12>>2];f[d>>2]=309628;f[a+40>>2]=0;f[a+44>>2]=0;d=a+56|0;g=a+68|0;i=a+72|0;c=a+80|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[c>>2]=c;f[a+84>>2]=c;f[a+88>>2]=0;w0a(a+92|0);f[a+116>>2]=0;f[a+120>>2]=1;n[a+124>>2]=1.0;f[a+128>>2]=0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;c=EBb(72)|0;R_a(c);d=a+32|0;e=f[d>>2]|0;if(((e|0)!=(c|0)?(f[d>>2]=c,c=c+8|0,f[c>>2]=(f[c>>2]|0)+1,e|0):0)?(l=e+8|0,c=f[l>>2]|0,f[l>>2]=c-1,(c|0)==1):0)Rua(e,1,1);c=(f[d>>2]|0)+12|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;c=EBb(24)|0;SB(c);d=f[g>>2]|0;if(((d|0)!=(c|0)?(f[g>>2]=c,l=c+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(g=d+8|0,l=f[g>>2]|0,f[g>>2]=l-1,(l|0)==1):0)Rua(d,1,1);d=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Bj[f[f[d>>2]>>2]&1023](d,1);d=f[a+16>>2]|0;c=cj[f[(f[a>>2]|0)+32>>2]&1023](a,d)|0;d=d+628|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){l=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[l>>2]=(f[l>>2]|0)+1}if(e|0?(h=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,g=h+8|0,l=f[g>>2]|0,f[g>>2]=l-1,(l|0)==1):0)Rua(h,1,1)}c=EBb(64)|0;zta(c,1);d=f[i>>2]|0;if(((d|0)!=(c|0)?(f[i>>2]=c,l=c+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(i=d+8|0,l=f[i>>2]|0,f[i>>2]=l-1,(l|0)==1):0)Rua(d,1,1);e=EBb(80)|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=j+11|0;b[g>>0]=4;f[j>>2]=2003134806;b[j+4>>0]=0;r2a(e,j);c=a+4|0;d=f[c>>2]|0;if(((d|0)!=(e|0)?(f[c>>2]=e,l=e+8|0,f[l>>2]=(f[l>>2]|0)+1,d|0):0)?(a=d+8|0,l=f[a>>2]|0,f[a>>2]=l-1,(l|0)==1):0)Rua(d,1,1);if((b[g>>0]|0)>=0){u=k;return}GBb(f[j>>2]|0);u=k;return}function YD(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;d=EBb(112)|0;Kta(d);e=a+68|0;g=f[e>>2]|0;if(((g|0)!=(d|0)?(f[e>>2]=d,h=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0,f[h>>2]=(f[h>>2]|0)+1,g|0):0)?(c=g+(f[(f[g>>2]|0)+-12>>2]|0)|0,g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);d=f[e>>2]|0;f[d+56>>2]=a+140;h=a+136|0;c=f[h>>2]|0;d=d+12|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){g=c+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)}c=EBb(88)|0;NY(c);g=a+76|0;d=f[g>>2]|0;if(((d|0)!=(c|0)?(f[g>>2]=c,e=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0,f[e>>2]=(f[e>>2]|0)+1,d|0):0)?(i=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,d=i+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(i,1,1);e=f[h>>2]|0;c=(f[g>>2]|0)+12|0;d=f[c>>2]|0;if((d|0)!=(e|0)){f[c>>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)}g=f[f[a>>2]>>2]|0;h=EBb(80)|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;i=j+11|0;b[i>>0]=6;b[j>>0]=b[374816]|0;b[j+1>>0]=b[374817]|0;b[j+2>>0]=b[374818]|0;b[j+3>>0]=b[374819]|0;b[j+4>>0]=b[374820]|0;b[j+5>>0]=b[374821]|0;b[j+6>>0]=0;r2a(h,j);Bj[g&1023](a,h);if((b[i>>0]|0)>=0){u=k;return}GBb(f[j>>2]|0);u=k;return}function ZD(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;n=u;u=u+32|0;i=n+24|0;k=n+12|0;j=n;l=f[b>>2]|0;f[a>>2]=l;f[a+(f[l+-12>>2]|0)>>2]=f[b+28>>2];l=a+104|0;f[l>>2]=f[b+32>>2];f[a+140>>2]=310868;f[k>>2]=0;m=k+4|0;f[m>>2]=0;f[k+8>>2]=0;Fj[f[(f[a>>2]|0)+96>>2]&511](a,k,1);if(qZa(4)|0){d=Nu(Hua(4)|0,374823,50)|0;d=esb(d,(f[m>>2]|0)-(f[k>>2]|0)>>2)|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}tj[f[(f[a>>2]|0)+44>>2]&2047](a);c=a+172|0;d=f[c>>2]|0;if(((d|0?(e=f[d+16>>2]|0,e|0):0)?(_i[f[(f[e>>2]|0)+24>>2]&2047](e)|0,g=(f[c>>2]|0)+16|0,h=f[g>>2]|0,h|0):0)?(f[g>>2]=0,e=h+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(h,1,1);f[j>>2]=0;g=j+4|0;f[g>>2]=0;f[j+8>>2]=0;Fj[f[(f[a>>2]|0)+88>>2]&511](a,j,1);c=f[j>>2]|0;if((c|0)!=(f[g>>2]|0)){e=a+84|0;do{d=f[c>>2]|0;if(f[e>>2]|0?_i[f[(f[d>>2]|0)+168>>2]&2047](d)|0:0){o$a(d)|0;h=f[e>>2]|0;Bj[f[(f[h>>2]|0)+4>>2]&1023](h,d);p$a(d)|0}MJa(d,1);c=c+4|0}while((c|0)!=(f[g>>2]|0))}Fj[f[(f[a>>2]|0)+96>>2]&511](a,k,1);if(qZa(4)|0){h=Nu(Hua(4)|0,374874,46)|0;h=esb(h,(f[m>>2]|0)-(f[k>>2]|0)>>2)|0;Drb(i,h+(f[(f[h>>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(h,e)|0;Krb(h)|0}c=f[j>>2]|0;if(c|0){f[g>>2]=c;GBb(c)}c=f[k>>2]|0;if(!c){m=b+12|0;gC(l,m);m=b+4|0;hv(a,m);u=n;return}f[m>>2]=c;GBb(c);m=b+12|0;gC(l,m);m=b+4|0;hv(a,m);u=n;return}function _D(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function $D(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;aE(a);f[a>>2]=311316;f[a+132>>2]=311604;g=EBb(200)|0;i$a(g,0);h=a+44|0;i=f[h>>2]|0;if(((i|0)!=(g|0)?(f[h>>2]=g,g=g+8|0,f[g>>2]=(f[g>>2]|0)+1,i|0):0)?(j=i+8|0,g=f[j>>2]|0,f[j>>2]=g-1,(g|0)==1):0)Rua(i,1,1);j=f[h>>2]|0;f[j+32>>2]=b;f[j+36>>2]=c;f[j+40>>2]=d;f[j+44>>2]=e;bE(a);return}function aE(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;n$a(a);f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|0;f[b>>2]=0;c=EBb(64)|0;zta(c,1);d=f[b>>2]|0;if(((d|0)!=(c|0)?(f[b>>2]=c,e=c+8|0,f[e>>2]=(f[e>>2]|0)+1,d|0):0)?(c=d+8|0,e=f[c>>2]|0,f[c>>2]=e-1,(e|0)==1):0)Rua(d,1,1);e=f[(f[b>>2]|0)+12>>2]|0;b=cCa(a)|0;c=e+52|0;d=f[c>>2]|0;if((d|0)!=(b|0)){f[c>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(d|0?(g=d+8|0,b=f[g>>2]|0,f[g>>2]=b-1,(b|0)==1):0)Rua(d,1,1);b=f[c>>2]|0}if(!b){a=0;g=e+56|0;f[g>>2]=a;return}a=(f[b+24>>2]|0)==0?0:a;g=e+56|0;f[g>>2]=a;return}function bE(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;if(!(_i[f[(f[a>>2]|0)+168>>2]&2047](a)|0))return;b=EBb(944)|0;V0a(b);c=a+48|0;d=f[c>>2]|0;if(((d|0)!=(b|0)?(f[c>>2]=b,b=b+8|0,f[b>>2]=(f[b>>2]|0)+1,d|0):0)?(h=d+8|0,b=f[h>>2]|0,f[h>>2]=b-1,(b|0)==1):0)Rua(d,1,1);c=f[c>>2]|0;f[c+120>>2]=a;b=f[a+44>>2]|0;if(((b|0?(e=f[b+168>>2]|0,e|0):0)?f[e+24>>2]|0:0)?(g=f[b+172>>2]|0,g|0):0){h=f[(f[g+48>>2]|0)+124>>2]|0;f[c+124>>2]=h;l$a(h);return}h=j$a()|0;f[c+124>>2]=h;return}function cE(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|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;DJa(a);return}function dE(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|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;DJa(a);GBb(a);return}function eE(a){a=a|0;return 0}function fE(a,b){a=a|0;b=b|0;return 0}function gE(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,276480,0)|0)!=0;return b|0}function hE(a){a=a|0;return 369347}function iE(a){a=a|0;return 376002}function jE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375961,40)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return 0}function kE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375904,56)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return 0}function lE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375844,59)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return 0}function mE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375789,54)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return}function nE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375728,60)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return 0}function oE(a,b){a=a|0;b=b|0;var c=0,d=0;b=u;u=u+16|0;d=b;a=Nu(Hua(3)|0,375658,69)|0;Drb(d,a+(f[(f[a>>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(a,c)|0;Krb(a)|0;u=b;return 0}function pE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375592,65)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return 0}function qE(a,b){a=a|0;b=b|0;var c=0,d=0;b=u;u=u+16|0;d=b;a=Nu(Hua(3)|0,375520,71)|0;Drb(d,a+(f[(f[a>>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(a,c)|0;Krb(a)|0;u=b;return}function rE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375458,61)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return}function sE(a){a=a|0;var b=0;a=f[a+136>>2]|0;b=a+32|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;a=f[a+52>>2]|0;_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;return (a|0)!=0|0}function tE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=u;u=u+16|0;b=e;d=Nu(Hua(3)|0,375388,69)|0;Drb(b,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);c=utb(b,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(b);ksb(d,c)|0;Krb(d)|0;u=e;return 0}function uE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=f[a+44>>2]|0;if(!a)return;f[b>>2]=f[a+32>>2];f[c>>2]=f[a+36>>2];f[d>>2]=f[a+40>>2];f[e>>2]=f[a+44>>2];return}function vE(a,b){a=a|0;b=b|0;var c=0,d=0;b=u;u=u+16|0;d=b;a=Nu(Hua(3)|0,375317,70)|0;Drb(d,a+(f[(f[a>>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(a,c)|0;Krb(a)|0;u=b;return 0}function wE(a){a=a|0;a=f[a+44>>2]|0;if(!a){a=0;return a|0}a=(b[a+72>>0]|0)!=0;return a|0}function xE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375270,46)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return}function yE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375206,63)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return}function zE(a){a=a|0;var b=0,c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(Hua(3)|0,375157,48)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return}function AE(a,b){a=a|0;b=b|0;var c=0,d=0;b=u;u=u+16|0;d=b;a=Nu(Hua(3)|0,375106,50)|0;Drb(d,a+(f[(f[a>>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(a,c)|0;Krb(a)|0;u=b;return}function BE(a,b){a=a|0;b=b|0;b=f[b+44>>2]|0;if(!b){f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;return}else{OBb(a,b+60|0);return}}function CE(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+256>>2]&1023](a,(b^1)&1);return}function DE(a,b){a=a|0;b=b|0;var c=0,d=0;b=u;u=u+16|0;d=b;a=Nu(Hua(3)|0,375059,46)|0;Drb(d,a+(f[(f[a>>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(a,c)|0;Krb(a)|0;u=b;return}function EE(a,b){a=a|0;b=b|0;var c=0,d=0;a=u;u=u+16|0;d=a;b=Nu(_rb(Nu(Hua(3)|0,375026,32)|0,b)|0,375007,18)|0;Drb(d,b+(f[(f[b>>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(b,c)|0;Krb(b)|0;u=a;return}function FE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=u;u=u+16|0;e=a;d=Nu(csb(Nu(csb(Nu(_rb(Nu(Hua(3)|0,374977,29)|0,b)|0,432341,1)|0,c)|0,432341,1)|0,d)|0,375007,18)|0;Drb(e,d+(f[(f[d>>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(d,c)|0;Krb(d)|0;u=a;return}function GE(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;b=g+12|0;e=g;f[e>>2]=e;c=e+4|0;f[c>>2]=e;d=e+8|0;f[d>>2]=0;OE(a,e);if(!(f[d>>2]|0)){if(qZa(4)|0){a=Nu(Hua(4)|0,374921,55)|0;Drb(b,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);h=utb(b,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(b);ksb(a,h)|0;Krb(a)|0}}else{a=f[c>>2]|0;b=a;if((e|0)!=(b|0))do{h=f[a+8>>2]|0;tj[f[(f[h>>2]|0)+56>>2]&2047](h);a=f[b+4>>2]|0;b=a}while((e|0)!=(b|0))}if(!(f[d>>2]|0)){u=g;return}a=f[c>>2]|0;h=(f[e>>2]|0)+4|0;c=f[a>>2]|0;f[c+4>>2]=f[h>>2];f[f[h>>2]>>2]=c;f[d>>2]=0;if((a|0)==(e|0)){u=g;return}do{h=a;a=f[a+4>>2]|0;GBb(h)}while((a|0)!=(e|0));u=g;return}function HE(a,b){a=a|0;b=b|0;return}function IE(a,b,c){a=a|0;b=+b;c=+c;return}function JE(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+-132|0;f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|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;DJa(a);return}function KE(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+-132|0;f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|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;DJa(a);GBb(a);return}function LE(a){a=a|0;GE(a+-132|0);return}function ME(a,b){a=a|0;b=b|0;return}function NE(a,b,c){a=a|0;b=+b;c=+c;return}function OE(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;m=u;u=u+32|0;g=m+16|0;e=m+12|0;h=m+8|0;i=m+4|0;j=m;l=b+8|0;if(f[l>>2]|0?(c=f[b+4>>2]|0,d=(f[b>>2]|0)+4|0,n=f[c>>2]|0,f[n+4>>2]=f[d>>2],f[f[d>>2]>>2]=n,f[l>>2]=0,(c|0)!=(b|0)):0)do{n=c;c=f[c+4>>2]|0;GBb(n)}while((c|0)!=(b|0));c=f[a+36>>2]|0;d=a+32|0;a=c;if((d|0)!=(a|0))do{c=f[(f[c+8>>2]|0)+220>>2]|0;if(c|0?(k=WCb(c,299440,276536,0)|0,k|0):0){n=EBb(12)|0;f[n+8>>2]=k;f[n+4>>2]=b;c=f[b>>2]|0;f[n>>2]=c;f[c+4>>2]=n;f[b>>2]=n;f[l>>2]=(f[l>>2]|0)+1}c=f[a+4>>2]|0;a=c}while((d|0)!=(a|0));c=b+4|0;f[h>>2]=f[c>>2];f[i>>2]=b;a=f[l>>2]|0;f[e>>2]=f[h>>2];f[g>>2]=f[i>>2];PE(e,g,a,j)|0;c=f[c>>2]|0;a=c;if((b|0)==(a|0)){u=m;return}do{g=f[a+4>>2]|0;a=g;a:do if((b|0)==(a|0)){e=b;c=g}else{d=f[c+8>>2]|0;c=g;e=a;while(1){if((d|0)!=(f[c+8>>2]|0))break a;c=f[e+4>>2]|0;e=c;if((b|0)==(e|0)){e=b;break}}}while(0);if((e|0)==(a|0))c=g;else{n=(f[e>>2]|0)+4|0;k=f[a>>2]|0;f[k+4>>2]=f[n>>2];f[f[n>>2]>>2]=k;do{n=a;a=f[a+4>>2]|0;f[l>>2]=(f[l>>2]|0)+-1;GBb(n)}while((a|0)!=(e|0));a=c}}while((b|0)!=(a|0));u=m;return}function PE(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;p=u;u=u+32|0;l=p+20|0;k=p+16|0;i=p+12|0;j=p+8|0;n=p+4|0;o=p;switch(c|0){case 1:case 0:{a=f[a>>2]|0;u=p;return a|0}case 2:{h=f[f[b>>2]>>2]|0;f[b>>2]=h;e=f[a>>2]|0;g=h;if((f[h+8>>2]|0)>>>0>=(f[e+8>>2]|0)>>>0){a=e;u=p;return a|0}a=g+4|0;b=f[g>>2]|0;f[b+4>>2]=f[a>>2];f[f[a>>2]>>2]=b;b=f[e>>2]|0;f[b+4>>2]=g;f[h>>2]=b;f[e>>2]=g;f[a>>2]=e;a=g;u=p;return a|0}default:{m=c>>>1;h=f[a>>2]|0;e=h;if(m){g=m;while(1){e=f[e+4>>2]|0;if((g|0)>1)g=g+-1|0;else break}}g=e;f[i>>2]=h;f[j>>2]=g;f[k>>2]=f[i>>2];f[l>>2]=f[j>>2];j=PE(k,l,m,d)|0;f[a>>2]=j;f[n>>2]=g;b=f[b>>2]|0;f[o>>2]=b;f[k>>2]=f[n>>2];f[l>>2]=f[o>>2];i=PE(k,l,c-m|0,d)|0;h=f[j+8>>2]|0;d=b;if((f[i+8>>2]|0)>>>0<h>>>0){g=f[i+4>>2]|0;e=g;a:do if((d|0)==(e|0))e=d;else while(1){if((f[g+8>>2]|0)>>>0>=h>>>0)break a;g=f[e+4>>2]|0;e=g;if((d|0)==(e|0)){e=d;break}}while(0);b=f[e>>2]|0;e=b+4|0;h=f[i>>2]|0;f[h+4>>2]=f[e>>2];f[f[e>>2]>>2]=h;h=f[j+4>>2]|0;o=f[j>>2]|0;f[o+4>>2]=i;f[i>>2]=o;f[j>>2]=b;f[e>>2]=j;e=i}else{e=j;g=i;h=f[j+4>>2]|0}f[a>>2]=h;j=h;i=g;if((j|0)==(i|0)){a=e;u=p;return a|0}k=g;while(1){m=k;if((d|0)==(m|0)){g=26;break}c=f[h+8>>2]|0;if((f[k+8>>2]|0)>>>0<c>>>0){h=f[m+4>>2]|0;l=h;b:do if((d|0)==(l|0))l=d;else while(1){if((f[h+8>>2]|0)>>>0>=c>>>0)break b;h=f[l+4>>2]|0;l=h;if((d|0)==(l|0)){l=d;break}}while(0);n=f[l>>2]|0;o=n+4|0;b=f[m>>2]|0;f[b+4>>2]=f[o>>2];f[f[o>>2]>>2]=b;b=f[j+4>>2]|0;c=f[j>>2]|0;f[c+4>>2]=m;f[k>>2]=c;f[j>>2]=n;f[o>>2]=j;k=h;g=(i|0)==(m|0)?h:g;h=b}else h=f[j+4>>2]|0;f[a>>2]=h;j=h;i=g;if((j|0)==(i|0)){g=26;break}}if((g|0)==26){u=p;return e|0}}}return 0}function QE(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|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;DJa(a);GBb(a);return}function RE(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,281128,0)|0)!=0;return b|0}function SE(a){a=a|0;return 369347}function TE(a){a=a|0;return 376017}function UE(a){a=a|0;return 1}function VE(a){a=a|0;return 1}function WE(a){a=a|0;return 1}function XE(a){a=a|0;return}function YE(a){a=a|0;return 1}function ZE(a){a=a|0;return 1}function _E(a){a=a|0;return}function $E(a){a=a|0;return}function aF(a){a=a|0;return}function bF(a){a=a|0;return}function cF(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+-132|0;f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|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;DJa(a);return}function dF(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+-132|0;f[a>>2]=311644;f[a+132>>2]=311932;b=a+136|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;DJa(a);GBb(a);return}function eF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0,j=0.0,k=0.0,l=0,m=0,o=0,q=0.0,r=0.0,s=0,t=0,v=0.0,w=0,x=0;x=u;u=u+16|0;t=x;w=x+4|0;d=f[c+52>>2]|0;if(!d){u=x;return}if(!(f[d+24>>2]|0)){u=x;return}d=f[c+56>>2]|0;if(!d){u=x;return}h=WCb(d,297048,276480,0)|0;if(!h){u=x;return}v=+n[c+104>>2];g=+n[c+108>>2];d=h+44|0;if((f[c+120>>2]|0)==1?(e=f[d>>2]|0,(e|0)!=0):0)g=+(f[e+44>>2]|0)-g;s=EBb(44)|0;l=f[d>>2]|0;j=+(f[l+40>>2]|0);k=+(f[l+44>>2]|0);rZa(s);f[s>>2]=305340;Ov(s+12|0,h);n[s+20>>2]=v;n[s+24>>2]=0.0;n[s+28>>2]=j;n[s+32>>2]=g;n[s+36>>2]=0.0;n[s+40>>2]=k;Pv(c,s);Ota(c,0);f[w>>2]=0;s=w+4|0;f[s>>2]=0;l=w+8|0;f[l>>2]=0;m=h+32|0;d=f[h+36>>2]|0;e=d;if((e|0)==(m|0)){d=0;e=0}else{i=a+104|0;j=v;k=g;do{d=f[d+8>>2]|0;f[t>>2]=d;h=d;do if((((((((f[d+220>>2]|0)==(i|0)?b[d+228>>0]|0:0)?(f[d+576>>2]|0)==3:0)?(o=f[d+288>>2]|0,o|0):0)?(q=+p[o+56>>3],q<=j):0)?(r=+p[o+64>>3],r<=k):0)?q+ +p[o+72>>3]>=j:0)?r+ +p[o+80>>3]>=k:0){d=f[s>>2]|0;if((d|0)==(f[l>>2]|0)){Vv(w,t);break}else{f[d>>2]=h;f[s>>2]=(f[s>>2]|0)+4;break}}while(0);d=f[e+4>>2]|0;e=d}while((e|0)!=(m|0));d=f[w>>2]|0;e=f[s>>2]|0}Uv(d,e,t);d=f[w>>2]|0;e=f[s>>2]|0;if((d|0)!=(e|0)){d=f[e+-4>>2]|0;if(d|0?(o=f[d+288>>2]|0,t=EBb(44)|0,r=(v-+p[o+56>>3])/+p[o+72>>3]*2.0+-1.0,v=(g-+p[o+64>>3])/+p[o+80>>3]*2.0+-1.0,rZa(t),f[t>>2]=305340,Ov(t+12|0,d),n[t+20>>2]=r,n[t+24>>2]=-1.0,n[t+28>>2]=1.0,n[t+32>>2]=v,n[t+36>>2]=-1.0,n[t+40>>2]=1.0,Pv(c,t),(d|0)!=(f[a+120>>2]|0)):0)gF(a,d,c);d=f[w>>2]|0}if(d|0){f[s>>2]=d;GBb(d)}u=x;return}function fF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0.0,j=0.0,k=0.0;d=f[c+52>>2]|0;if(!d)return;if(!(f[d+24>>2]|0))return;d=f[c+56>>2]|0;if(!d)return;d=WCb(d,297048,276480,0)|0;if(!d)return;i=+n[c+104>>2];g=+n[c+108>>2];e=d+44|0;if((f[c+120>>2]|0)==1?(h=f[e>>2]|0,(h|0)!=0):0)g=+(f[h+44>>2]|0)-g;h=EBb(44)|0;e=f[e>>2]|0;k=+(f[e+40>>2]|0);j=+(f[e+44>>2]|0);rZa(h);f[h>>2]=305340;Ov(h+12|0,d);n[h+20>>2]=i;n[h+24>>2]=0.0;n[h+28>>2]=k;n[h+32>>2]=g;n[h+36>>2]=0.0;n[h+40>>2]=j;Pv(c,h);Ota(c,0);d=f[b+160>>2]|0;if((f[b+164>>2]|0)-d>>2>>>0<=1)return;d=f[d+4>>2]|0;e=f[d+12>>2]|0;if(!e)return;if(!(f[e+24>>2]|0))return;d=f[d+16>>2]|0;if(!d)return;d=_i[f[(f[d>>2]|0)+80>>2]&2047](d)|0;if(!d)return;e=f[d+288>>2]|0;if(!e)return;b=EBb(44)|0;j=(i-+p[e+56>>3])/+p[e+72>>3]*2.0+-1.0;k=(g-+p[e+64>>3])/+p[e+80>>3]*2.0+-1.0;rZa(b);f[b>>2]=305340;Ov(b+12|0,d);n[b+20>>2]=j;n[b+24>>2]=-1.0;n[b+28>>2]=1.0;n[b+32>>2]=k;n[b+36>>2]=-1.0;n[b+40>>2]=1.0;Pv(c,b);if((d|0)==(f[a+120>>2]|0))return;gF(a,d,c);return}function gF(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.0,l=0,m=0.0,o=0.0,q=0.0,r=0.0,s=0,t=0,v=0,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0;F=u;u=u+592|0;D=F+448|0;l=F+320|0;E=F;s=F+192|0;C=F+576|0;e=f[d+52>>2]|0;if(!e){u=F;return}if(!(f[e+24>>2]|0)){u=F;return}e=f[d+56>>2]|0;if(!e){u=F;return}e=WCb(e,297048,276480,0)|0;if(!e){u=F;return}i=a+104|0;j=a+120|0;g=f[j>>2]|0;if((g|0)==(c|0)){u=F;return}w=+n[d+104>>2];k=+n[d+108>>2];if((f[d+120>>2]|0)==1?(h=f[e+44>>2]|0,(h|0)!=0):0)k=+(f[h+44>>2]|0)-k;f3a(l);l3a(l,g+432|0,g+304|0);e=f[(f[j>>2]|0)+288>>2]|0;if(!e){m=1.0;o=-1.0;q=1.0;r=-1.0}else{r=+p[e+56>>3];o=+p[e+64>>3];m=r+ +p[e+72>>3];q=o+ +p[e+80>>3];Qv(D,e);m3a(l,D)}e=w$a(i,c)|0;do if(e|0){e=(b[e+264>>0]|0)==0;if(!(f[c+136>>2]|0)){if(!e){e=f[c+288>>2]|0;f3a(D);l3a(D,c+432|0,c+304|0);if(e|0){Qv(E,e);m3a(D,E)}f3a(s);if(((+p[D+24>>3]==0.0?+p[D+56>>3]==0.0:0)?+p[D+88>>3]==0.0:0)?+p[D+120>>3]==1.0:0)o3a(s,D)|0;else p3a(s,D)|0;f3a(E);l3a(E,s,l);H=w;K=1.0/(+p[E+120>>3]+(+p[E+24>>3]*H+ +p[E+56>>3]*k+ +p[E+88>>3]*0.0));N=+p[E>>3];M=+p[E+32>>3];L=+p[E+64>>3];O=+p[E+96>>3];I=+p[E+8>>3];G=+p[E+40>>3];w=+p[E+72>>3];J=+p[E+104>>3];E=EBb(44)|0;D=f[j>>2]|0;rZa(E);f[E>>2]=305340;Ov(E+12|0,D);n[E+20>>2]=K*(O+(N*H+M*k+L*0.0));n[E+24>>2]=r;n[E+28>>2]=m;n[E+32>>2]=K*(J+(I*H+G*k+w*0.0));n[E+36>>2]=o;n[E+40>>2]=q;Pv(d,E);break}}else if(!e)break;v=EBb(96)|0;GY(v,0,w,k);t=v+8|0;f[t>>2]=(f[t>>2]|0)+1;DY(E,v,0);Bj[f[(f[c>>2]|0)+212>>2]&1023](c,E);if(_i[f[(f[v>>2]|0)+32>>2]&2047](v)|0){n[C>>2]=0.0;s=C+4|0;n[s>>2]=0.0;n[C+8>>2]=0.0;e=f[v+28>>2]|0;e=(e|0)==0?v:e;if(!(f[e+88>>2]|0)){p[D>>3]=-1.0;e=D+8|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[e+16>>2]=0;e=D+32|0;g=e+64|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0))}else hF(D,(f[e+80>>2]|0)+16|0);l=HY(D,C)|0;iF(D);if(l|0?(y=a+124|0,z=a+128|0,x=f[y>>2]|0,(f[z>>2]|0)!=(x|0)):0){j=0;e=x;do{i=f[e+(j*272|0)+4>>2]|0;do if(i|0?(A=i+588|0,B=f[A>>2]|0,B|0):0){h=A;e=B;do{x=(f[e+16>>2]|0)<3;h=x?h:e;e=f[(x?e+4|0:e)>>2]|0}while((e|0)!=0);if((h|0)==(A|0))break;if((f[h+16>>2]|0)>3)break;e=h+28|0;if((f[e>>2]|0)!=(l|0))break;g=WCb(l,298168,299424,0)|0;if(g|0){x=EBb(44)|0;h=f[C>>2]|0;c=_i[f[(f[g>>2]|0)+216>>2]&2047](g)|0;a=f[s>>2]|0;O=+(_i[f[(f[g>>2]|0)+220>>2]&2047](g)|0);rZa(x);f[x>>2]=305340;Ov(x+12|0,i);f[x+20>>2]=h;n[x+24>>2]=0.0;n[x+28>>2]=+(c|0);f[x+32>>2]=a;n[x+36>>2]=0.0;n[x+40>>2]=O;Pv(d,x);break}if(!(WCb(l,298168,299408,0)|0)){x=EBb(44)|0;c=f[C>>2]|0;a=f[s>>2]|0;rZa(x);f[x>>2]=305340;Ov(x+12|0,i);f[x+20>>2]=c;n[x+24>>2]=0.0;n[x+28>>2]=1.0;f[x+32>>2]=a;n[x+36>>2]=0.0;n[x+40>>2]=1.0;Pv(d,x);break}if(!(qZa(4)|0))break;x=Nu(Hua(4)|0,370382,35)|0;x=Nu(jsb(x,f[e>>2]|0)|0,414635,2)|0;x=csb(x,f[h+36>>2]|0)|0;Drb(D,x+(f[(f[x>>2]|0)+-12>>2]|0)|0);a=utb(D,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(D);ksb(x,a)|0;Krb(x)|0}while(0);j=j+1|0;e=f[y>>2]|0}while(j>>>0<(((f[z>>2]|0)-e|0)/272|0)>>>0)}}Fk(E,315648);Gva(E+160|0);E=f[t>>2]|0;f[t>>2]=E-1;if((E|0)==1)Rua(v,1,1)}while(0);u=F;return}function hF(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;p[a>>3]=+p[b>>3];e=a+8|0;g=b+8|0;f[e>>2]=0;k=a+12|0;f[k>>2]=0;h=a+16|0;f[h>>2]=0;j=b+12|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+20>>2]|0;f[a+20>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}c=f[b+24>>2]|0;f[a+24>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}c=a+32|0;d=b+32|0;e=c+36|0;do{f[c>>2]=f[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));d=a+68|0;e=b+68|0;f[d>>2]=0;k=a+72|0;f[k>>2]=0;g=a+76|0;f[g>>2]=0;i=b+72|0;c=(f[i>>2]|0)-(f[e>>2]|0)|0;h=c>>2;if(c|0){if(h>>>0>1073741823)DCb(d);j=EBb(c)|0;f[k>>2]=j;f[d>>2]=j;f[g>>2]=j+(h<<2);d=f[e>>2]|0;c=(f[i>>2]|0)-d|0;if((c|0)>0){YDb(j|0,d|0,c|0)|0;f[k>>2]=j+(c>>>2<<2)}}d=a+80|0;e=b+80|0;f[d>>2]=0;k=a+84|0;f[k>>2]=0;g=a+88|0;f[g>>2]=0;i=b+84|0;c=(f[i>>2]|0)-(f[e>>2]|0)|0;h=c>>3;if(!c){a=a+92|0;b=b+92|0;b=f[b>>2]|0;f[a>>2]=b;return}if(h>>>0>536870911)DCb(d);j=EBb(c)|0;f[k>>2]=j;f[d>>2]=j;f[g>>2]=j+(h<<3);d=f[e>>2]|0;c=(f[i>>2]|0)-d|0;if((c|0)<=0){a=a+92|0;b=b+92|0;b=f[b>>2]|0;f[a>>2]=b;return}YDb(j|0,d|0,c|0)|0;f[k>>2]=j+(c>>>3<<3);a=a+92|0;b=b+92|0;b=f[b>>2]|0;f[a>>2]=b;return}function iF(a){a=a|0;var b=0,c=0,d=0,e=0;b=f[a+80>>2]|0;if(b|0){f[a+84>>2]=b;GBb(b)}b=f[a+68>>2]|0;if(b|0){f[a+72>>2]=b;GBb(b)}b=a+24|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;b=a+20|0;c=f[b>>2]|0;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[b>>2]=0;b=f[a+8>>2]|0;if(!b)return;f[a+12>>2]=b;GBb(b);return}function jF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+160|0;i=j+12|0;h=j;e=sh(a|0)|0;if(!e){i=0;u=j;return i|0}a=0;while(1){if(!(b[e+a>>0]|0)){g=6;break}a=a+1|0;if(a>>>0>=4096){g=5;break}}if((g|0)==5){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=4096;g=7}else if((g|0)==6){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;if(a>>>0<11){b[h+11>>0]=a;if(!a){a=0;d=h}else{d=h;g=9}}else g=7}if((g|0)==7){k=a+16&-16;d=EBb(k)|0;f[h>>2]=d;f[h+8>>2]=k|-2147483648;f[h+4>>2]=a;g=9}if((g|0)==9)YDb(d|0,e|0,a|0)|0;b[d+a>>0]=0;d=i+60|0;e=i+8|0;f[i>>2]=276076;f[d>>2]=276096;f[i+4>>2]=0;Brb(i+60|0,e);f[i+132>>2]=0;f[i+136>>2]=-1;f[i>>2]=304144;f[d>>2]=304164;Hrb(e);f[e>>2]=304196;g=i+40|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[i+56>>2]=8;Nr(e,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);Prb(i,c)|0;a=(f[i+(f[(f[i>>2]|0)+-12>>2]|0)+16>>2]&5|0)==0;f[i>>2]=304144;f[d>>2]=304164;f[e>>2]=304196;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(e);crb(i,304176);kqb(d);k=a;u=j;return k|0}function kF(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;m=u;u=u+160|0;l=m+12|0;k=m;i=sh(a|0)|0;if(!i){l=0;u=m;return l|0}a=0;while(1){if(!(b[i+a>>0]|0)){j=6;break}a=a+1|0;if(a>>>0>=4096){j=5;break}}if((j|0)==5){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;a=4096;j=7}else if((j|0)==6){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;if(a>>>0<11){b[k+11>>0]=a;if(!a){a=0;h=k}else{h=k;j=9}}else j=7}if((j|0)==7){n=a+16&-16;h=EBb(n)|0;f[k>>2]=h;f[k+8>>2]=n|-2147483648;f[k+4>>2]=a;j=9}if((j|0)==9)YDb(h|0,i|0,a|0)|0;b[h+a>>0]=0;h=l+60|0;i=l+8|0;f[l>>2]=276076;f[h>>2]=276096;f[l+4>>2]=0;Brb(l+60|0,i);f[l+132>>2]=0;f[l+136>>2]=-1;f[l>>2]=304144;f[h>>2]=304164;Hrb(i);f[i>>2]=304196;j=l+40|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[l+56>>2]=8;Nr(i,k);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);Prb(Prb(Prb(Prb(l,c)|0,d)|0,e)|0,g)|0;a=(f[l+(f[(f[l>>2]|0)+-12>>2]|0)+16>>2]&5|0)==0;f[l>>2]=304144;f[h>>2]=304164;f[i>>2]=304196;if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);qqb(i);crb(l,304176);kqb(h);n=a;u=m;return n|0}function lF(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;h=a+4|0;i=f[a>>2]|0;j=(f[h>>2]|0)-i|0;d=(j|0)/12|0;c=d+1|0;if(c>>>0>357913941)DCb(a);k=a+8|0;e=((f[k>>2]|0)-i|0)/12|0;g=e<<1;g=e>>>0<178956970?(g>>>0<c>>>0?c:g):357913941;do if(g)if(g>>>0>357913941){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{e=EBb(g*12|0)|0;break}else e=0;while(0);d=e+(d*12|0)|0;f[d>>2]=f[b>>2];f[d+4>>2]=f[b+4>>2];f[d+8>>2]=f[b+8>>2];c=d+(((j|0)/-12|0)*12|0)|0;if((j|0)>0)YDb(c|0,i|0,j|0)|0;f[a>>2]=c;f[h>>2]=d+12;f[k>>2]=e+(g*12|0);if(!i)return;GBb(i);return}function mF(){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[124719]=1.0;n[124720]=0.0;n[124721]=0.0;n[124722]=0.0;n[124723]=1.0;n[124724]=0.0;n[124725]=0.0;n[124726]=0.0;n[124727]=1.0;t4a(498840,1);f[124710]=311972;if((b[497120]|0)==0?DDb(497120)|0:0){f[124713]=0;f[124714]=0;f[124715]=0;t4a(498864,0)}a=EBb(32)|0;f[c>>2]=a;f[c+8>>2]=-2147483616;f[c+4>>2]=26;e=a;h=376468;i=e+26|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+26>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(64)|0;f[d>>2]=a;f[d+8>>2]=-2147483584;f[d+4>>2]=55;e=a;h=376495;i=e+55|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+55>>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]=21;e=a;h=376551;i=e+21|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+21>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;i=EBb(176)|0;f[d>>2]=i;f[d+8>>2]=-2147483472;f[d+4>>2]=162;YDb(i|0,376573,162)|0;b[i+162>>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]=18;e=a;h=376736;i=e+18|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+18>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(64)|0;f[d>>2]=a;f[d+8>>2]=-2147483584;f[d+4>>2]=54;e=a;h=376755;i=e+54|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+54>>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]=27;e=a;h=376810;i=e+27|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+27>>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]=65;e=a;h=376838;i=e+65|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+65>>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]=20;e=a;h=369357;i=e+20|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+20>>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]=88;e=a;h=376904;i=e+88|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+88>>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]=22;e=a;h=369399;i=e+22|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+22>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(112)|0;f[d>>2]=a;f[d+8>>2]=-2147483536;f[d+4>>2]=109;e=a;h=376993;i=e+109|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+109>>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]=19;e=a;h=369422;i=e+19|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+19>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;a=EBb(64)|0;f[d>>2]=a;f[d+8>>2]=-2147483584;f[d+4>>2]=62;e=a;h=377103;i=e+62|0;do{b[e>>0]=b[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));b[a+62>>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 nF(a){a=a|0;R3a(a);GBb(a);return}function oF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+80|0;c=f[a+84>>2]|0;a:do if((c|0)==(h|0)){d=c;g=5}else{e=c;do{if((f[c+8>>2]|0)==(b|0)){d=e;g=5;break a}c=f[e+4>>2]|0;e=c}while((h|0)!=(e|0))}while(0);if((g|0)==5?(d|0)!=(h|0):0)return;c=(b|0)==0;if(!c){g=b+(f[(f[b>>2]|0)+-16>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1}d=EBb(12)|0;f[d>>2]=0;f[d+8>>2]=b;if(!c){g=b+(f[(f[b>>2]|0)+-16>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1}f[d+4>>2]=h;g=f[h>>2]|0;f[d>>2]=g;f[g+4>>2]=d;f[h>>2]=d;h=a+88|0;f[h>>2]=(f[h>>2]|0)+1;if(c)return;c=b+(f[(f[b>>2]|0)+-16>>2]|0)|0;b=c+8|0;h=f[b>>2]|0;f[b>>2]=h-1;if((h|0)!=1)return;Rua(c,1,1);return}function pF(a){a=a|0;cG(a,312580);Gva(a+504|0);return}function qF(a){a=a|0;cG(a,312580);Gva(a+504|0);GBb(a);return}function rF(a){a=a|0;return 377210}function sF(a){a=a|0;return 377198}function tF(a){a=a|0;return a|0}function uF(a){a=a|0;return a|0}function vF(a){a=a|0;return a+56|0}function wF(a){a=a|0;return a+56|0}function xF(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;gDa(a+56|0);f[a+392>>2]=f[a+388>>2];f[a+436>>2]=0;f[a+416>>2]=0;p[a+400>>3]=3402823466385288598117041.0e14;p[a+408>>3]=-3402823466385288598117041.0e14;f[a+348>>2]=3;f[a+344>>2]=4;c=f[a+420>>2]|0;h=a+432|0;g=f[h>>2]|0;i=c+(g<<2)|0;if(g|0)do{g=f[c>>2]|0;f[g+12>>2]=0;d=g+16|0;e=f[d>>2]|0;if(e|0?(f[d>>2]=0,j=e+8|0,d=f[j>>2]|0,f[j>>2]=d-1,(d|0)==1):0)Rua(e,1,1);d=g+20|0;e=f[d>>2]|0;if(e|0?(f[d>>2]=0,d=e+8|0,j=f[d>>2]|0,f[d>>2]=j-1,(j|0)==1):0)Rua(e,1,1);d=g+24|0;e=f[d>>2]|0;if(e|0?(f[d>>2]=0,d=e+8|0,j=f[d>>2]|0,f[d>>2]=j-1,(j|0)==1):0)Rua(e,1,1);n[g+28>>2]=0.0;b[g+32>>0]=0;f[g+36>>2]=0;c=c+4|0}while((c|0)!=(i|0));f[h>>2]=0;j=a+476|0;i=a+480|0;dG(j,f[i>>2]|0);f[a+484>>2]=0;f[j>>2]=i;f[i>>2]=0;i=a+488|0;j=a+492|0;dG(i,f[j>>2]|0);f[a+496>>2]=0;f[i>>2]=j;f[j>>2]=0;return}function yF(a,b){a=a|0;b=b|0;b=b+240|0;f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];return}function zF(a,b){a=a|0;b=b|0;b=b+268|0;f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];return}function AF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0;f=+n[b>>2]-+n[a+240>>2];e=+n[b+4>>2]-+n[a+244>>2];d=+n[b+8>>2]-+n[a+248>>2];d=+K(+(f*f+e*e+d*d));if(!c){f=d;return +f}f=d*+n[a+76>>2];return +f}function BF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0;e=f[a+152>>2]|0;d=-(+p[e+144>>3]+(+p[e+48>>3]*+n[b>>2]+ +p[e+80>>3]*+n[b+4>>2]+ +p[e+112>>3]*+n[b+8>>2]));if(!c)return +d;d=+n[a+76>>2]*d;return +d}function CF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0;f=+n[b>>2]-+n[a+268>>2];e=+n[b+4>>2]-+n[a+272>>2];d=+n[b+8>>2]-+n[a+276>>2];d=+K(+(f*f+e*e+d*d));if(!c){f=d;return +f}f=d*+n[a+76>>2];return +f}function DF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0.0,k=0.0,l=0,m=0,o=0,q=0,r=0,t=0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0.0,J=0.0,K=0.0,L=0.0,M=0,N=0,O=0,P=0,Q=0;P=u;u=u+16|0;O=P;N=f[((f[a+168>>2]|0)==0?a+352|0:a+152|0)>>2]|0;M=RJ(c)|0;e=c+100|0;d=f[e>>2]|0;do if(d|0){d=_i[f[(f[d>>2]|0)+76>>2]&2047](d)|0;if(!d){D=f[e>>2]|0;dj[f[(f[D>>2]|0)+92>>2]&255](D,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}if(ej[f[(f[d>>2]|0)+32>>2]&63](d,a,c,a+440|0)|0){u=P;return}}while(0);if(((((((f[c+108>>2]|0)==0?b[c+104>>0]|0:0)?(D=(Hv(c)|0)+12|0,+n[D>>2]>=0.0):0)?+n[M+12>>2]>=+n[M>>2]:0)?+n[M+16>>2]>=+n[M+4>>2]:0)?+n[M+20>>2]>=+n[M+8>>2]:0)?hK(f[a+336>>2]|0,M)|0:0){u=P;return}if((((f[a+68>>2]|0?+n[M+12>>2]>=+n[M>>2]:0)?+n[M+16>>2]>=+n[M+4>>2]:0)?+n[M+20>>2]>=+n[M+8>>2]:0)?!(SJ(a,N+32|0,c,0)|0):0){u=P;return}d=f[c+120>>2]|0;if(!d)d=0;else{dH(a,d);d=1}m=f[a+336>>2]|0;g=f[m+64>>2]|0;m=m+68|0;e=f[m>>2]|0;if((g|0)==(e|0))t=d;else{o=M+12|0;q=M+16|0;r=M+4|0;t=M+20|0;D=M+8|0;while(1){h=f[g+4>>2]|0;a:do if((h|0)!=0?(E=g+24|0,f[E>>2]=h,F=f[g+28>>2]|0,G=f[g+32>>2]|0,(F|0)!=(G|0)):0){i=1;l=F;while(1){do if(i&h){Q=f[l+36>>2]|0;j=+n[M>>2];k=+n[o>>2];v=+n[r>>2];w=+n[q>>2];x=+n[D>>2];y=+n[t>>2];z=+p[l>>3];A=+p[l+8>>3];B=+p[l+16>>3];C=+p[l+24>>3];if(!(C+(z*((Q&1|0)==0?j:k)+A*((Q&2|0)==0?v:w)+B*((Q&4|0)==0?x:y))>0.0)){Q=f[l+32>>2]|0;if(C+(B*((Q&4|0)==0?x:y)+(z*((Q&1|0)==0?j:k)+A*((Q&2|0)==0?v:w)))<0.0)break a;else break}else{h=i^h;f[E>>2]=h;break}}while(0);l=l+40|0;if((l|0)==(G|0)){H=29;break}else i=i<<1}}else H=29;while(0);if((H|0)==29){H=0;dH(a,f[g>>2]|0);d=d+1|0;e=f[m>>2]|0}g=g+52|0;if((g|0)==(e|0)){t=d;break}}}d=M+12|0;j=+n[d>>2];k=+n[M>>2];if((j>=k?(I=+n[M+16>>2],J=+n[M+4>>2],I>=J):0)?(K=+n[M+20>>2],L=+n[M+8>>2],K>=L):0)j=-(+p[N+144>>3]+(+p[N+48>>3]*((j+k)*.5)+ +p[N+80>>3]*((J+I)*.5)+ +p[N+112>>3]*((L+K)*.5)));else j=0.0;if(((n[s>>2]=j,f[s>>2]|0)&2147483647)>>>0>2139095040){if(qZa(3)|0){Q=Nu(Hua(3)|0,380227,40)|0;Drb(O,Q+(f[(f[Q>>2]|0)+-12>>2]|0)|0);c=utb(O,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(O);ksb(Q,c)|0;Krb(Q)|0;Q=Nu(hsb(Nu(Q,379854,10)|0,j)|0,380268,10)|0;K=(+n[M+4>>2]+ +n[M+16>>2])*.5;L=(+n[M+8>>2]+ +n[M+20>>2])*.5;hsb(Nu(hsb(Nu(hsb(Q,(+n[M>>2]+ +n[d>>2])*.5)|0,432341,1)|0,K)|0,432341,1)|0,L)|0;Q=Nu(Q,379873,2)|0;Drb(O,Q+(f[(f[Q>>2]|0)+-12>>2]|0)|0);c=utb(O,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(O);ksb(Q,c)|0;Krb(Q)|0;Q=dw(Nu(Q,380279,11)|0,N+32|0)|0;Drb(O,Q+(f[(f[Q>>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(Q,N)|0;Krb(Q)|0}if(qZa(5)|0){Q=Nu(Hua(5)|0,379899,13)|0;Drb(O,Q+(f[(f[Q>>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(Q,N)|0;Krb(Q)|0}d=f[a+28>>2]|0;e=a+32|0;if((d|0)!=(f[e>>2]|0))do{if(qZa(5)|0){H=Nu(Hua(5)|0,379913,9)|0;N=f[d>>2]|0;M=N+12|0;Q=b[M+11>>0]|0;c=Q<<24>>24<0;Q=Nu(Nu(H,c?f[M>>2]|0:M,c?f[N+16>>2]|0:Q&255)|0,437848,1)|0;Drb(O,Q+(f[(f[Q>>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(Q,N)|0;Krb(Q)|0}d=d+4|0}while((d|0)!=(f[e>>2]|0))}else{e=a+376|0;d=f[e>>2]|0;if((f[d+36>>2]|0)==(f[d+40>>2]|0)){g=f[a+384>>2]|0;f[O>>2]=d;h=g+64|0;i=f[h>>2]|0;if((i|0)==(f[g+68>>2]|0))TJ(g+60|0,O);else{f[i>>2]=d;f[h>>2]=(f[h>>2]|0)+4}d=f[e>>2]|0}VJ(d,UJ(a,c,f[a+132>>2]|0,N,j)|0)}if(!t){u=P;return}m=a+376|0;o=a+436|0;q=a+388|0;r=a+392|0;i=a+384|0;h=0;l=f[m>>2]|0;do{d=f[l+16>>2]|0;g=f[d+120>>2]|0;if(g&2|0)f[o>>2]=(f[o>>2]|0)+-1;do if(g|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(g&4|0)!=0|(f[o>>2]|0)==0:0){d=f[r>>2]|0;if((f[q>>2]|0)==(d|0)){f[i>>2]=f[(f[i>>2]|0)+44>>2];break}else{Q=d+-4|0;f[i>>2]=f[Q>>2];f[r>>2]=Q;break}}}while(0);l=f[l+12>>2]|0;f[m>>2]=l;h=h+1|0}while((h|0)!=(t|0));u=P;return}function EF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);d=f[c+120>>2]|0;a:do if(!d){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}else{dH(a,d);d=f[c+100>>2]|0;b:do if(!d)switch(f[a+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break b}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);c=a+376|0;i=f[c>>2]|0;d=f[i+16>>2]|0;h=f[d+120>>2]|0;if(h&2|0){j=a+436|0;f[j>>2]=(f[j>>2]|0)+-1}do if(h|0){g=b[d+128+11>>0]|0;if(g<<24>>24<0)d=f[d+132>>2]|0;else d=g&255;if(d|0?(h&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;g=f[d>>2]|0;if((f[a+388>>2]|0)==(g|0)){j=a+384|0;f[j>>2]=f[(f[j>>2]|0)+44>>2];break}else{j=g+-4|0;f[a+384>>2]=f[j>>2];f[d>>2]=j;break}}}while(0);f[c>>2]=f[i+12>>2]}while(0);a=f[e>>2]|0;d=a+32|0;e=f[d>>2]|0;if(e|0){g=a+24|0;h=f[g>>2]|0;if((f[a+20>>2]|0)!=(h|0)){j=h+-4|0;f[a+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[a+64>>2]|0;i=f[a+68>>2]|0;if((d|0)!=(i|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;c=f[h>>2]|0;if((f[d+8>>2]|0)!=(c|0)){j=c+-4|0;f[d+4>>2]=f[j>>2];f[h>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(i|0));d=f[a+76>>2]|0;j=f[a+80>>2]|0;if((d|0)==(j|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;c=f[h>>2]|0;if((f[d+24>>2]|0)!=(c|0)){a=c+-4|0;f[d+20>>2]=f[a>>2];f[h>>2]=a}f[e>>2]=g+-1}e=f[d+68>>2]|0;a=f[d+72>>2]|0;if((e|0)!=(a|0))do{g=e+16|0;h=f[g>>2]|0;if(h|0){c=e+8|0;i=f[c>>2]|0;if((f[e+4>>2]|0)!=(i|0)){i=i+-4|0;f[e>>2]=f[i>>2];f[c>>2]=i}f[g>>2]=h+-1}e=e+48|0}while((e|0)!=(a|0));d=d+80|0}while((d|0)!=(j|0));return}function FF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);d=f[c+120>>2]|0;a:do if(!d){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}else{dH(a,d);d=f[c+100>>2]|0;b:do if(!d)switch(f[a+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break b}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);c=a+376|0;i=f[c>>2]|0;d=f[i+16>>2]|0;h=f[d+120>>2]|0;if(h&2|0){j=a+436|0;f[j>>2]=(f[j>>2]|0)+-1}do if(h|0){g=b[d+128+11>>0]|0;if(g<<24>>24<0)d=f[d+132>>2]|0;else d=g&255;if(d|0?(h&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;g=f[d>>2]|0;if((f[a+388>>2]|0)==(g|0)){j=a+384|0;f[j>>2]=f[(f[j>>2]|0)+44>>2];break}else{j=g+-4|0;f[a+384>>2]=f[j>>2];f[d>>2]=j;break}}}while(0);f[c>>2]=f[i+12>>2]}while(0);a=f[e>>2]|0;d=a+32|0;e=f[d>>2]|0;if(e|0){g=a+24|0;h=f[g>>2]|0;if((f[a+20>>2]|0)!=(h|0)){j=h+-4|0;f[a+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[a+64>>2]|0;i=f[a+68>>2]|0;if((d|0)!=(i|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;c=f[h>>2]|0;if((f[d+8>>2]|0)!=(c|0)){j=c+-4|0;f[d+4>>2]=f[j>>2];f[h>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(i|0));d=f[a+76>>2]|0;j=f[a+80>>2]|0;if((d|0)==(j|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;c=f[h>>2]|0;if((f[d+24>>2]|0)!=(c|0)){a=c+-4|0;f[d+20>>2]=f[a>>2];f[h>>2]=a}f[e>>2]=g+-1}e=f[d+68>>2]|0;a=f[d+72>>2]|0;if((e|0)!=(a|0))do{g=e+16|0;h=f[g>>2]|0;if(h|0){c=e+8|0;i=f[c>>2]|0;if((f[e+4>>2]|0)!=(i|0)){i=i+-4|0;f[e>>2]=f[i>>2];f[c>>2]=i}f[g>>2]=h+-1}e=e+48|0}while((e|0)!=(a|0));d=d+80|0}while((d|0)!=(j|0));return}function GF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0.0,k=0,l=0,m=0,o=0,q=0,r=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;P=u;u=u+16|0;L=P;M=a+56|0;if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){K=(Hv(c)|0)+12|0;d=f[a+336>>2]|0;if(+n[K>>2]>=0.0){if(bH(d,Hv(c)|0)|0){u=P;return}}else e=5}else{d=f[a+336>>2]|0;e=5}if((e|0)==5)f[d+36>>2]=f[d+16>>2];d=f[c+120>>2]|0;K=(d|0)!=0;if(K)dH(a,d);C=a+240|0;d=f[((f[a+168>>2]|0)==0?a+352|0:a+152|0)>>2]|0;if(_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0){D=c+320|0;E=c+124|0;F=d+32|0;G=a+68|0;H=d+48|0;I=d+80|0;J=d+112|0;q=d+144|0;r=a+440|0;t=a+376|0;v=a+384|0;w=a+132|0;x=a+28|0;y=a+32|0;z=a+436|0;A=a+388|0;B=a+392|0;o=0;do{e=f[D>>2]|0;i=e+(o*12|0)|0;d=f[(f[E>>2]|0)+(o<<2)>>2]|0;if(!d)m=0;else m=_i[f[(f[d>>2]|0)+88>>2]&2047](d)|0;d=f[m+100>>2]|0;if(!(((d|0)!=0?(N=_i[f[(f[d>>2]|0)+76>>2]&2047](d)|0,(N|0)!=0):0)?ej[f[(f[N>>2]|0)+32>>2]&63](N,a,m,r)|0:0)){k=jI(M,F)|0;h=k+32|0;vZa(c,h,C,i)|0;if(((f[G>>2]|0?(O=RJ(m)|0,+n[O+12>>2]>=+n[O>>2]):0)?+n[O+16>>2]>=+n[O+4>>2]:0)?+n[O+20>>2]>=+n[O+8>>2]:0)SJ(a,h,m,1)|0;g=e+(o*12|0)+4|0;d=e+(o*12|0)+8|0;j=-(+p[q>>3]+(+p[H>>3]*+n[i>>2]+ +p[I>>3]*+n[g>>2]+ +p[J>>3]*+n[d>>2]));e=f[m+120>>2]|0;l=(e|0)!=0;if(l)dH(a,e);if(((n[s>>2]=j,f[s>>2]|0)&2147483647)>>>0>2139095040){if(qZa(3)|0){m=Nu(Hua(3)|0,379809,44)|0;Drb(L,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(L,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(L);ksb(m,k)|0;Krb(m)|0;m=Nu(hsb(Nu(m,379854,10)|0,j)|0,379865,7)|0;k=Nu(hsb(m,+n[i>>2])|0,432341,1)|0;k=Nu(hsb(k,+n[g>>2])|0,432341,1)|0;hsb(k,+n[d>>2])|0;m=Nu(m,379873,2)|0;Drb(L,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(L,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(L);ksb(m,k)|0;Krb(m)|0;m=dw(Nu(m,379876,22)|0,h)|0;Drb(L,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(L,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(L);ksb(m,k)|0;Krb(m)|0}if(qZa(5)|0){m=Nu(Hua(5)|0,379899,13)|0;Drb(L,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(L,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(L);ksb(m,k)|0;Krb(m)|0}d=f[x>>2]|0;if((d|0)!=(f[y>>2]|0))do{if(qZa(5)|0){g=Nu(Hua(5)|0,379913,9)|0;k=f[d>>2]|0;h=k+12|0;m=b[h+11>>0]|0;i=m<<24>>24<0;m=Nu(Nu(g,i?f[h>>2]|0:h,i?f[k+16>>2]|0:m&255)|0,437848,1)|0;Drb(L,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(L,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(L);ksb(m,k)|0;Krb(m)|0}d=d+4|0}while((d|0)!=(f[y>>2]|0))}else{d=f[t>>2]|0;if((f[d+36>>2]|0)==(f[d+40>>2]|0)){e=f[v>>2]|0;f[L>>2]=d;g=e+64|0;h=f[g>>2]|0;if((h|0)==(f[e+68>>2]|0))TJ(e+60|0,L);else{f[h>>2]=d;f[g>>2]=(f[g>>2]|0)+4}d=f[t>>2]|0}VJ(d,UJ(a,m,f[w>>2]|0,k,j)|0)}if(l){h=f[t>>2]|0;d=f[h+16>>2]|0;g=f[d+120>>2]|0;if(g&2|0)f[z>>2]=(f[z>>2]|0)+-1;do if(g|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(g&4|0)!=0|(f[z>>2]|0)==0:0){d=f[B>>2]|0;if((f[A>>2]|0)==(d|0)){f[v>>2]=f[(f[v>>2]|0)+44>>2];break}else{m=d+-4|0;f[v>>2]=f[m>>2];f[B>>2]=m;break}}}while(0);f[t>>2]=f[h+12>>2]}}o=o+1|0}while(o>>>0<(_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0)>>>0)}if(!K){u=P;return}h=a+376|0;i=f[h>>2]|0;d=f[i+16>>2]|0;g=f[d+120>>2]|0;if(g&2|0){O=a+436|0;f[O>>2]=(f[O>>2]|0)+-1}do if(g|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(g&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;e=f[d>>2]|0;if((f[a+388>>2]|0)==(e|0)){a=a+384|0;f[a>>2]=f[(f[a>>2]|0)+44>>2];break}else{O=e+-4|0;f[a+384>>2]=f[O>>2];f[d>>2]=O;break}}}while(0);f[h>>2]=f[i+12>>2];u=P;return}function HF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);d=f[c+120>>2]|0;a:do if(!d){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}else{dH(a,d);d=f[c+100>>2]|0;b:do if(!d)switch(f[a+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break b}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);c=a+376|0;i=f[c>>2]|0;d=f[i+16>>2]|0;h=f[d+120>>2]|0;if(h&2|0){j=a+436|0;f[j>>2]=(f[j>>2]|0)+-1}do if(h|0){g=b[d+128+11>>0]|0;if(g<<24>>24<0)d=f[d+132>>2]|0;else d=g&255;if(d|0?(h&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;g=f[d>>2]|0;if((f[a+388>>2]|0)==(g|0)){j=a+384|0;f[j>>2]=f[(f[j>>2]|0)+44>>2];break}else{j=g+-4|0;f[a+384>>2]=f[j>>2];f[d>>2]=j;break}}}while(0);f[c>>2]=f[i+12>>2]}while(0);a=f[e>>2]|0;d=a+32|0;e=f[d>>2]|0;if(e|0){g=a+24|0;h=f[g>>2]|0;if((f[a+20>>2]|0)!=(h|0)){j=h+-4|0;f[a+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[a+64>>2]|0;i=f[a+68>>2]|0;if((d|0)!=(i|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;c=f[h>>2]|0;if((f[d+8>>2]|0)!=(c|0)){j=c+-4|0;f[d+4>>2]=f[j>>2];f[h>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(i|0));d=f[a+76>>2]|0;j=f[a+80>>2]|0;if((d|0)==(j|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;c=f[h>>2]|0;if((f[d+24>>2]|0)!=(c|0)){a=c+-4|0;f[d+20>>2]=f[a>>2];f[h>>2]=a}f[e>>2]=g+-1}e=f[d+68>>2]|0;a=f[d+72>>2]|0;if((e|0)!=(a|0))do{g=e+16|0;h=f[g>>2]|0;if(h|0){c=e+8|0;i=f[c>>2]|0;if((f[e+4>>2]|0)!=(i|0)){i=i+-4|0;f[e>>2]=f[i>>2];f[c>>2]=i}f[g>>2]=h+-1}e=e+48|0}while((e|0)!=(a|0));d=d+80|0}while((d|0)!=(j|0));return}function IF(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.0,o=0.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;C=u;u=u+32|0;A=C+12|0;B=C;e=a+56|0;y=a+336|0;cH(f[y>>2]|0);d=f[c+120>>2]|0;x=(d|0)!=0;if(x)dH(a,d);g=a+400|0;m=+p[g>>3];h=a+408|0;o=+p[h>>3];i=A+8|0;z=A+4|0;j=a+476|0;f[A>>2]=f[j>>2];f[j>>2]=z;k=a+480|0;q=f[k>>2]|0;f[z>>2]=q;f[k>>2]=0;l=a+484|0;t=f[l>>2]|0;f[i>>2]=t;f[l>>2]=0;f[((t|0)==0?A:q+8|0)>>2]=z;f[j>>2]=k;q=B+8|0;t=B+4|0;v=a+488|0;f[B>>2]=f[v>>2];f[v>>2]=t;w=a+492|0;d=f[w>>2]|0;f[t>>2]=d;f[w>>2]=0;r=a+496|0;D=f[r>>2]|0;f[q>>2]=D;f[r>>2]=0;f[((D|0)==0?B:d+8|0)>>2]=t;f[v>>2]=w;p[g>>3]=3402823466385288598117041.0e14;p[h>>3]=-3402823466385288598117041.0e14;jEa(e,jI(e,c+136|0)|0);if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){D=(Hv(c)|0)+12|0;d=f[y>>2]|0;if(+n[D>>2]>=0.0){if(!(bH(d,Hv(c)|0)|0))s=9}else s=8}else{d=f[y>>2]|0;s=8}if((s|0)==8){f[d+36>>2]=f[d+16>>2];s=9}a:do if((s|0)==9){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}while(0);tj[f[(f[a>>2]|0)+204>>2]&2047](a);p[g>>3]=m;p[h>>3]=o;D=f[A>>2]|0;f[A>>2]=f[j>>2];f[j>>2]=D;D=f[z>>2]|0;c=f[k>>2]|0;f[z>>2]=c;f[k>>2]=D;s=f[i>>2]|0;h=f[l>>2]|0;f[i>>2]=h;f[l>>2]=s;f[((h|0)==0?A:c+8|0)>>2]=z;f[((s|0)==0?j:D+8|0)>>2]=k;D=f[B>>2]|0;f[B>>2]=f[v>>2];f[v>>2]=D;D=f[t>>2]|0;s=f[w>>2]|0;f[t>>2]=s;f[w>>2]=D;c=f[q>>2]|0;l=f[r>>2]|0;f[q>>2]=l;f[r>>2]=c;q=s;f[((l|0)==0?B:s+8|0)>>2]=t;f[((c|0)==0?v:D+8|0)>>2]=w;if(x){h=a+376|0;i=f[h>>2]|0;d=f[i+16>>2]|0;g=f[d+120>>2]|0;if(g&2|0){D=a+436|0;f[D>>2]=(f[D>>2]|0)+-1}do if(g|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(g&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;e=f[d>>2]|0;if((f[a+388>>2]|0)==(e|0)){D=a+384|0;f[D>>2]=f[(f[D>>2]|0)+44>>2];break}else{D=e+-4|0;f[a+384>>2]=f[D>>2];f[d>>2]=D;break}}}while(0);f[h>>2]=f[i+12>>2]}k=f[y>>2]|0;d=k+32|0;e=f[d>>2]|0;if(e|0){g=k+24|0;h=f[g>>2]|0;if((f[k+20>>2]|0)!=(h|0)){D=h+-4|0;f[k+16>>2]=f[D>>2];f[g>>2]=D}f[d>>2]=e+-1}d=f[k+64>>2]|0;j=f[k+68>>2]|0;if((d|0)!=(j|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;i=f[h>>2]|0;if((f[d+8>>2]|0)!=(i|0)){D=i+-4|0;f[d+4>>2]=f[D>>2];f[h>>2]=D}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(j|0));d=f[k+76>>2]|0;l=f[k+80>>2]|0;if((d|0)==(l|0)){dG(B,q);D=f[z>>2]|0;dG(A,D);u=C;return}do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;i=f[h>>2]|0;if((f[d+24>>2]|0)!=(i|0)){D=i+-4|0;f[d+20>>2]=f[D>>2];f[h>>2]=D}f[e>>2]=g+-1}e=f[d+68>>2]|0;k=f[d+72>>2]|0;if((e|0)!=(k|0))do{g=e+16|0;h=f[g>>2]|0;if(h|0){i=e+8|0;j=f[i>>2]|0;if((f[e+4>>2]|0)!=(j|0)){D=j+-4|0;f[e>>2]=f[D>>2];f[i>>2]=D}f[g>>2]=h+-1}e=e+48|0}while((e|0)!=(k|0));d=d+80|0}while((d|0)!=(l|0));dG(B,q);D=f[z>>2]|0;dG(A,D);u=C;return}function JF(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;d=f[c+120>>2]|0;m=(d|0)!=0;if(m)dH(a,d);i=f[((f[a+168>>2]|0)==0?a+352|0:a+152|0)>>2]|0;d=f[c+140>>2]|0;j=c+144|0;if((d|0)!=(f[j>>2]|0)){k=c+152|0;l=a+384|0;do{e=f[d>>2]|0;g=f[(f[l>>2]|0)+44>>2]|0;h=f[(f[g>>2]|0)+208>>2]|0;if(!(f[k>>2]|0))Fj[h&511](g,i,e);else Fj[h&511](g,0,e);d=d+4|0}while((d|0)!=(f[j>>2]|0))}d=f[c+100>>2]|0;a:do if(!d)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);if(!m)return;h=a+376|0;i=f[h>>2]|0;d=f[i+16>>2]|0;g=f[d+120>>2]|0;if(g&2|0){m=a+436|0;f[m>>2]=(f[m>>2]|0)+-1}do if(g|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(g&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;e=f[d>>2]|0;if((f[a+388>>2]|0)==(e|0)){a=a+384|0;f[a>>2]=f[(f[a>>2]|0)+44>>2];break}else{m=e+-4|0;f[a+384>>2]=f[m>>2];f[d>>2]=m;break}}}while(0);f[h>>2]=f[i+12>>2];return}function KF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=f[c+120>>2]|0;e=(d|0)!=0;if(e)dH(a,d);if(!(f[c+144>>2]|0)){h=f[(f[a+384>>2]|0)+44>>2]|0;Ij[f[(f[h>>2]|0)+212>>2]&127](h,f[c+136>>2]|0,f[((f[a+168>>2]|0)==0?a+352|0:a+152|0)>>2]|0,f[c+140>>2]|0)}else{h=f[(f[a+384>>2]|0)+44>>2]|0;Ij[f[(f[h>>2]|0)+212>>2]&127](h,f[c+136>>2]|0,0,f[c+140>>2]|0)}d=f[c+100>>2]|0;a:do if(!d)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);if(!e)return;g=a+376|0;h=f[g>>2]|0;d=f[h+16>>2]|0;e=f[d+120>>2]|0;if(e&2|0){c=a+436|0;f[c>>2]=(f[c>>2]|0)+-1}do if(e|0){c=b[d+128+11>>0]|0;if(c<<24>>24<0)d=f[d+132>>2]|0;else d=c&255;if(d|0?(e&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;c=f[d>>2]|0;if((f[a+388>>2]|0)==(c|0)){a=a+384|0;f[a>>2]=f[(f[a>>2]|0)+44>>2];break}else{e=c+-4|0;f[a+384>>2]=f[e>>2];f[d>>2]=e;break}}}while(0);f[g>>2]=f[h+12>>2];return}function LF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=f[c+120>>2]|0;e=(d|0)!=0;if(e)dH(a,d);d=f[c+140>>2]|0;do if(d|0)if(!(f[c+144>>2]|0)){h=f[(f[a+384>>2]|0)+44>>2]|0;Fj[f[(f[h>>2]|0)+208>>2]&511](h,f[((f[a+168>>2]|0)==0?a+352|0:a+152|0)>>2]|0,d);break}else{h=f[(f[a+384>>2]|0)+44>>2]|0;Fj[f[(f[h>>2]|0)+208>>2]&511](h,0,d);break}while(0);d=f[c+100>>2]|0;a:do if(!d)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);if(!e)return;g=a+376|0;h=f[g>>2]|0;d=f[h+16>>2]|0;e=f[d+120>>2]|0;if(e&2|0){c=a+436|0;f[c>>2]=(f[c>>2]|0)+-1}do if(e|0){c=b[d+128+11>>0]|0;if(c<<24>>24<0)d=f[d+132>>2]|0;else d=c&255;if(d|0?(e&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;c=f[d>>2]|0;if((f[a+388>>2]|0)==(c|0)){a=a+384|0;f[a>>2]=f[(f[a>>2]|0)+44>>2];break}else{e=c+-4|0;f[a+384>>2]=f[e>>2];f[d>>2]=e;break}}}while(0);f[g>>2]=f[h+12>>2];return}function MF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;h=a+56|0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;e=a+336|0;d=f[e>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{i=e;d=f[e>>2]|0;break}else g=5}else g=3;while(0);if((g|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;g=5}if((g|0)==5){f[d+36>>2]=f[d+16>>2];i=e}cH(d);d=f[c+120>>2]|0;e=(d|0)!=0;if(e)dH(a,d);d=jI(h,(f[((f[a+168>>2]|0)==0?a+352|0:a+152|0)>>2]|0)+32|0)|0;dj[f[(f[c>>2]|0)+288>>2]&255](c,d+32|0,a)|0;QDa(h,d,f[c+136>>2]|0);d=f[c+100>>2]|0;a:do if(!d)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);RDa(h);if(e){c=a+376|0;h=f[c>>2]|0;d=f[h+16>>2]|0;g=f[d+120>>2]|0;if(g&2|0){j=a+436|0;f[j>>2]=(f[j>>2]|0)+-1}do if(g|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(g&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;e=f[d>>2]|0;if((f[a+388>>2]|0)==(e|0)){j=a+384|0;f[j>>2]=f[(f[j>>2]|0)+44>>2];break}else{j=e+-4|0;f[a+384>>2]=f[j>>2];f[d>>2]=j;break}}}while(0);f[c>>2]=f[h+12>>2]}a=f[i>>2]|0;d=a+32|0;e=f[d>>2]|0;if(e|0){g=a+24|0;c=f[g>>2]|0;if((f[a+20>>2]|0)!=(c|0)){j=c+-4|0;f[a+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[a+64>>2]|0;i=f[a+68>>2]|0;if((d|0)!=(i|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){c=d+12|0;h=f[c>>2]|0;if((f[d+8>>2]|0)!=(h|0)){j=h+-4|0;f[d+4>>2]=f[j>>2];f[c>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(i|0));d=f[a+76>>2]|0;j=f[a+80>>2]|0;if((d|0)==(j|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){c=d+28|0;h=f[c>>2]|0;if((f[d+24>>2]|0)!=(h|0)){a=h+-4|0;f[d+20>>2]=f[a>>2];f[c>>2]=a}f[e>>2]=g+-1}e=f[d+68>>2]|0;a=f[d+72>>2]|0;if((e|0)!=(a|0))do{g=e+16|0;c=f[g>>2]|0;if(c|0){h=e+8|0;i=f[h>>2]|0;if((f[e+4>>2]|0)!=(i|0)){i=i+-4|0;f[e>>2]=f[i>>2];f[h>>2]=i}f[g>>2]=c+-1}e=e+48|0}while((e|0)!=(a|0));d=d+80|0}while((d|0)!=(j|0));return}function NF(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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0.0,G=0,H=0.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;$=u;u=u+336|0;Y=$+256|0;Z=$+128|0;_=$+324|0;B=$;l=$+320|0;d=f[c+120>>2]|0;V=(d|0)!=0;if(V)dH(a,d);Q=a+56|0;BZa(Y,Q);n_a(Q,c+144|0);s=c+148|0;Fj[f[(f[Q>>2]|0)+16>>2]&511](Q,Y,f[s>>2]|0);R=a+20|0;S=f[R>>2]|0;T=(f[s>>2]&1024|0)==0;if(T)f[R>>2]=f[c+196>>2];x=a+168|0;y=a+352|0;z=a+152|0;A=f[((f[x>>2]|0)==0?y:z)>>2]|0;g=c+136|0;do if(!(f[g>>2]|0))if((f[c+292>>2]|0)==1){e=f[((f[a+148>>2]|0)==0?y:a+132|0)>>2]|0;f3a(Z);l3a(Z,e+32|0,c+304|0);e=jI(Q,Z)|0;w=f[((f[x>>2]|0)==0?y:z)>>2]|0;f3a(Z);l3a(Z,w+32|0,c+432|0);w=jI(Q,Z)|0;break}else{e=f[((f[a+148>>2]|0)==0?y:a+132|0)>>2]|0;f3a(Z);l3a(Z,c+304|0,e+32|0);e=jI(Q,Z)|0;w=f[((f[x>>2]|0)==0?y:z)>>2]|0;f3a(Z);l3a(Z,c+432|0,w+32|0);w=jI(Q,Z)|0;break}else{e=jI(Q,c+304|0)|0;w=jI(Q,c+432|0)|0}while(0);U=c+288|0;d=f[U>>2]|0;if(d|0)p_a(Q,d);E=a+400|0;F=+p[E>>3];G=a+408|0;H=+p[G>>3];I=Z+8|0;W=Z+4|0;J=a+476|0;f[Z>>2]=f[J>>2];f[J>>2]=W;K=a+480|0;M=f[K>>2]|0;f[W>>2]=M;f[K>>2]=0;L=a+484|0;X=f[L>>2]|0;f[I>>2]=X;f[L>>2]=0;f[((X|0)==0?Z:M+8|0)>>2]=W;f[J>>2]=K;M=_+8|0;X=_+4|0;N=a+488|0;f[_>>2]=f[N>>2];f[N>>2]=X;O=a+492|0;D=f[O>>2]|0;f[X>>2]=D;f[O>>2]=0;P=a+496|0;C=f[P>>2]|0;f[M>>2]=C;f[P>>2]=0;f[((C|0)==0?_:D+8|0)>>2]=X;f[N>>2]=O;p[E>>3]=3402823466385288598117041.0e14;p[G>>3]=-3402823466385288598117041.0e14;jEa(Q,e);QDa(Q,w,f[g>>2]|0);D=c+560|0;a:do if((f[D>>2]|0)==1){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}else{C=a+384|0;v=f[(f[C>>2]|0)+44>>2]|0;h=c+632|0;d=f[h>>2]|0;if((d|0)!=0?(i=WCb(d,295088,281928,0)|0,(i|0)!=0):0){r=i+8|0;f[r>>2]=(f[r>>2]|0)+1}else{d=EBb(60)|0;rZa(d);f[d>>2]=338032;e=d+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;e=d+32|0;r0a(e);f[d>>2]=313028;f[e>>2]=313204;t4a(d+36|0,0);e=d+52|0;f[e>>2]=0;f[d+56>>2]=0;f[d+48>>2]=e;e=d+8|0;f[e>>2]=(f[e>>2]|0)+1;g=f[h>>2]|0;if(((g|0)!=(d|0)?(f[h>>2]=d,f[e>>2]=(f[e>>2]|0)+1,(g|0)!=0):0)?(q=g+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0){Rua(g,1,1);i=d}else i=d}g=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;j=i+36|0;_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;h=i+52|0;d=f[h>>2]|0;if(d){e=h;do{r=(f[d+16>>2]|0)>>>0<g>>>0;e=r?e:d;d=f[(r?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=(h|0)?(f[e+16>>2]|0)>>>0<=g>>>0:0){e=f[e+20>>2]|0;d=e}else{d=0;e=0}}else{d=0;e=0}_i[f[(f[j>>2]|0)+12>>2]&2047](j)|0;if(!d){k=c+208|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;d=f[a+380>>2]|0;if(d){d=kI(d)|0;if(!d)d=0;else t=35}else{d=EBb(424)|0;lI(d);t=35}if((t|0)==35){r=d+8|0;f[r>>2]=(f[r>>2]|0)+1}mI(i,a+(f[(f[a>>2]|0)+-12>>2]|0)|0,d);j=d+232|0;if((f[j>>2]|0)!=(c|0)){e=cCa(c)|0;g=d+228|0;h=f[g>>2]|0;if((h|0)!=(e|0)){f[g>>2]=e;if(e|0){r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}if(h|0?(q=h+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(h,1,1);e=f[g>>2]|0}if(!e)e=0;else e=(f[e+24>>2]|0)==0?0:c;f[j>>2]=e;b[d+220>>0]=1}h=f[s>>2]|0;if(!(h&131072)){e=1;g=c+568|0}else{e=b[v+156>>0]|0;g=v+152|0}f[d+152>>2]=f[g>>2];b[d+156>>0]=e;if(!(h&262144)){e=1;g=c+572|0}else{e=b[v+164>>0]|0;g=v+160|0}f[d+160>>2]=f[g>>2];b[d+164>>0]=e;_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;o=d}else{o=d+8|0;f[o>>2]=(f[o>>2]|0)+1;tj[f[(f[e>>2]|0)+164>>2]&2047](d);o=d}k=a+372|0;q=f[k>>2]|0;r=(q|0)==0;if(!r){n=q+8|0;f[n>>2]=(f[n>>2]|0)+1}m=a+376|0;n=f[m>>2]|0;f[B>>2]=0;j=B+4|0;f[j>>2]=0;h=B+8|0;f[h>>2]=0;if(n|0){g=n;do{f[l>>2]=g;d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[j>>2]|0;if(d>>>0<(f[h>>2]|0)>>>0){e=f[l>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[j>>2]|0}f[j>>2]=d+4}else nI(B,l);d=f[l>>2]|0;if(d|0?(aa=d+8|0,e=f[aa>>2]|0,f[aa>>2]=e-1,(e|0)==1):0)Rua(d,1,1);g=f[g+12>>2]|0}while((g|0)!=0)}g=o+32|0;d=f[g>>2]|0;e=f[k>>2]|0;if((e|0)!=(d|0)){f[k>>2]=d;if(d|0){aa=d+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(e|0?(l=e+8|0,aa=f[l>>2]|0,f[l>>2]=aa-1,(aa|0)==1):0)Rua(e,1,1);d=f[k>>2]|0}if(!d){d=EBb(64)|0;v_a(d,0);f[d>>2]=313008;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;e=d+28|0;f[e>>2]=0;f[d+32>>2]=0;f[d+24>>2]=e;e=d+36|0;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;b[e+24>>0]=0;e=f[k>>2]|0;if((e|0)!=(d|0)){f[k>>2]=d;aa=d+8|0;f[aa>>2]=(f[aa>>2]|0)+1;if(e|0?(l=e+8|0,aa=f[l>>2]|0,f[l>>2]=aa-1,(aa|0)==1):0)Rua(e,1,1);d=f[k>>2]|0}e=f[g>>2]|0;if((e|0)!=(d|0)){f[g>>2]=d;if(d|0){aa=d+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(e|0?(l=e+8|0,aa=f[l>>2]|0,f[l>>2]=aa-1,(aa|0)==1):0)Rua(e,1,1)}}else oI(d);e=f[k>>2]|0;f[m>>2]=e;d=f[j>>2]|0;if((d|0)==(f[B>>2]|0)){if(d|0)t=99}else{d=d+-4|0;h=f[(f[d>>2]|0)+16>>2]|0;e=e+16|0;g=f[e>>2]|0;if((g|0)!=(h|0)){f[e>>2]=h;if(h|0){aa=h+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(g|0?(t=g+8|0,aa=f[t>>2]|0,f[t>>2]=aa-1,(aa|0)==1):0)Rua(g,1,1)}if((d|0)==(f[B>>2]|0))t=99;else{e=f[m>>2]|0;do{d=d+-4|0;e=eH(e,f[(f[d>>2]|0)+16>>2]|0)|0;f[m>>2]=e}while((d|0)!=(f[B>>2]|0));t=99}}if((t|0)==99){e=f[j>>2]|0;if((e|0)==(d|0))e=d;else{do{e=e+-4|0;g=f[e>>2]|0;do if(g|0){l=g+8|0;aa=f[l>>2]|0;f[l>>2]=aa-1;if((aa|0)!=1)break;Rua(g,1,1)}while(0);f[e>>2]=0}while((e|0)!=(d|0));e=f[B>>2]|0}f[j>>2]=d;GBb(e)}p[o+208>>3]=+p[c+272>>3];d=c+256|0;aa=o+192|0;f[aa>>2]=f[d>>2];f[aa+4>>2]=f[d+4>>2];f[aa+8>>2]=f[d+8>>2];f[aa+12>>2]=f[d+12>>2];f[o+216>>2]=f[c+280>>2];aa=f[s>>2]|0;f[o+168>>2]=f[((aa&16384|0)==0?c+236|0:v+168|0)>>2];aa=(aa&8192|0)==0?c+240|0:v+176|0;d=o+176|0;f[d>>2]=f[aa>>2];f[d+4>>2]=f[aa+4>>2];f[d+8>>2]=f[aa+8>>2];f[d+12>>2]=f[aa+12>>2];d=f[c+284>>2]|0;if(!d)d=f[v+172>>2]|0;e=o+172|0;g=f[e>>2]|0;if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){aa=d+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(g|0?(s=g+8|0,aa=f[s>>2]|0,f[s>>2]=aa-1,(aa|0)==1):0)Rua(g,1,1)}d=f[U>>2]|0;if(!d)d=f[v+144>>2]|0;e=o+144|0;g=f[e>>2]|0;do if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){aa=d+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(!g)break;s=g+8|0;aa=f[s>>2]|0;f[s>>2]=aa-1;if((aa|0)!=1)break;Rua(g,1,1)}while(0);d=o+148|0;e=f[d>>2]|0;do if((e|0)!=(w|0)){f[d>>2]=w;if(w|0){aa=w+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(!e)break;w=e+8|0;aa=f[w>>2]|0;f[w>>2]=aa-1;if((aa|0)!=1)break;Rua(e,1,1)}while(0);f3a(B);d=A+32|0;do if(+p[A+56>>3]==0.0){if(!(+p[A+88>>3]==0.0)){t=134;break}if(!(+p[A+120>>3]==0.0)){t=134;break}if(!(+p[A+152>>3]==1.0)){t=134;break}o3a(B,d)|0}else t=134;while(0);if((t|0)==134)p3a(B,d)|0;m3a(B,(f[((f[x>>2]|0)==0?y:z)>>2]|0)+32|0);d=o+288|0;if((d|0)!=(B|0)){p[d>>3]=+p[B>>3];p[o+296>>3]=+p[B+8>>3];p[o+304>>3]=+p[B+16>>3];p[o+312>>3]=+p[B+24>>3];p[o+320>>3]=+p[B+32>>3];p[o+328>>3]=+p[B+40>>3];p[o+336>>3]=+p[B+48>>3];p[o+344>>3]=+p[B+56>>3];p[o+352>>3]=+p[B+64>>3];p[o+360>>3]=+p[B+72>>3];p[o+368>>3]=+p[B+80>>3];p[o+376>>3]=+p[B+88>>3];p[o+384>>3]=+p[B+96>>3];p[o+392>>3]=+p[B+104>>3];p[o+400>>3]=+p[B+112>>3];p[o+408>>3]=+p[B+120>>3]}g=v+420|0;d=f[g>>2]|0;do if(!d){d=EBb(56)|0;rZa(d);e=d+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=313224;f[d+32>>2]=0;f[d+36>>2]=0;f[d+40>>2]=0;e=d+48|0;f[e>>2]=0;f[d+52>>2]=0;f[d+44>>2]=e;e=f[g>>2]|0;if((e|0)==(d|0))break;f[g>>2]=d;aa=d+8|0;f[aa>>2]=(f[aa>>2]|0)+1;do if(e|0){B=e+8|0;aa=f[B>>2]|0;f[B>>2]=aa-1;if((aa|0)!=1)break;Rua(e,1,1)}while(0);d=f[g>>2]|0}while(0);e=o+416|0;g=f[e>>2]|0;do if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){aa=d+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(!g)break;B=g+8|0;aa=f[B>>2]|0;f[B>>2]=aa-1;if((aa|0)!=1)break;Rua(g,1,1)}while(0);d=f[C>>2]|0;f[C>>2]=o;e=f[c+100>>2]|0;b:do if(!e)switch(f[a+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break b}}else dj[f[(f[e>>2]|0)+92>>2]&255](e,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);f[C>>2]=d;pI(f[k>>2]|0);d=f[k>>2]|0;do if((d|0)!=(q|0)){f[k>>2]=q;if(!r){aa=q+8|0;f[aa>>2]=(f[aa>>2]|0)+1}if(!d)break;B=d+8|0;aa=f[B>>2]|0;f[B>>2]=aa-1;if((aa|0)!=1)break;Rua(d,1,1)}while(0);f[m>>2]=n;e=f[(f[C>>2]|0)+44>>2]|0;d=f[c+564>>2]|0;if(!(f[D>>2]|0))iH(e,o,d);else qI(e,o,d);do if(!r){c=q+8|0;aa=f[c>>2]|0;f[c>>2]=aa-1;if((aa|0)!=1)break;Rua(q,1,1)}while(0);c=o+8|0;aa=f[c>>2]|0;f[c>>2]=aa-1;if((aa|0)==1)Rua(o,1,1);if(!i)break;c=i+8|0;aa=f[c>>2]|0;f[c>>2]=aa-1;if((aa|0)!=1)break;Rua(i,1,1)}while(0);RDa(Q);tj[f[(f[a>>2]|0)+204>>2]&2047](a);p[E>>3]=F;p[G>>3]=H;aa=f[Z>>2]|0;f[Z>>2]=f[J>>2];f[J>>2]=aa;aa=f[W>>2]|0;G=f[K>>2]|0;f[W>>2]=G;f[K>>2]=aa;c=f[I>>2]|0;E=f[L>>2]|0;f[I>>2]=E;f[L>>2]=c;f[((E|0)==0?Z:G+8|0)>>2]=W;f[((c|0)==0?J:aa+8|0)>>2]=K;aa=f[_>>2]|0;f[_>>2]=f[N>>2];f[N>>2]=aa;aa=f[X>>2]|0;L=f[O>>2]|0;f[X>>2]=L;f[O>>2]=aa;c=f[M>>2]|0;K=f[P>>2]|0;f[M>>2]=K;f[P>>2]=c;f[((K|0)==0?_:L+8|0)>>2]=X;f[((c|0)==0?N:aa+8|0)>>2]=O;if(f[U>>2]|0)r_a(Q);if(T)f[R>>2]=S;n_a(Q,Y);if(V){h=a+376|0;i=f[h>>2]|0;d=f[i+16>>2]|0;g=f[d+120>>2]|0;if(g&2|0){aa=a+436|0;f[aa>>2]=(f[aa>>2]|0)+-1}do if(g|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(g&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;e=f[d>>2]|0;if((f[a+388>>2]|0)==(e|0)){aa=a+384|0;f[aa>>2]=f[(f[aa>>2]|0)+44>>2];break}else{aa=e+-4|0;f[a+384>>2]=f[aa>>2];f[d>>2]=aa;break}}}while(0);f[h>>2]=f[i+12>>2]}dG(_,f[X>>2]|0);dG(Z,f[W>>2]|0);f[Y>>2]=340996;d=f[Y+28>>2]|0;if(!d){u=$;return}_=d+8|0;aa=f[_>>2]|0;f[_>>2]=aa-1;if((aa|0)!=1){u=$;return}Rua(d,1,1);u=$;return}function OF(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+120>>2]&1023](a,b);return}function PF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);d=f[c+120>>2]|0;a:do if(!d){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}else{dH(a,d);d=f[c+100>>2]|0;b:do if(!d)switch(f[a+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break b}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);c=a+376|0;i=f[c>>2]|0;d=f[i+16>>2]|0;h=f[d+120>>2]|0;if(h&2|0){j=a+436|0;f[j>>2]=(f[j>>2]|0)+-1}do if(h|0){g=b[d+128+11>>0]|0;if(g<<24>>24<0)d=f[d+132>>2]|0;else d=g&255;if(d|0?(h&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;g=f[d>>2]|0;if((f[a+388>>2]|0)==(g|0)){j=a+384|0;f[j>>2]=f[(f[j>>2]|0)+44>>2];break}else{j=g+-4|0;f[a+384>>2]=f[j>>2];f[d>>2]=j;break}}}while(0);f[c>>2]=f[i+12>>2]}while(0);a=f[e>>2]|0;d=a+32|0;e=f[d>>2]|0;if(e|0){g=a+24|0;h=f[g>>2]|0;if((f[a+20>>2]|0)!=(h|0)){j=h+-4|0;f[a+16>>2]=f[j>>2];f[g>>2]=j}f[d>>2]=e+-1}d=f[a+64>>2]|0;i=f[a+68>>2]|0;if((d|0)!=(i|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;c=f[h>>2]|0;if((f[d+8>>2]|0)!=(c|0)){j=c+-4|0;f[d+4>>2]=f[j>>2];f[h>>2]=j}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(i|0));d=f[a+76>>2]|0;j=f[a+80>>2]|0;if((d|0)==(j|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;c=f[h>>2]|0;if((f[d+24>>2]|0)!=(c|0)){a=c+-4|0;f[d+20>>2]=f[a>>2];f[h>>2]=a}f[e>>2]=g+-1}e=f[d+68>>2]|0;a=f[d+72>>2]|0;if((e|0)!=(a|0))do{g=e+16|0;h=f[g>>2]|0;if(h|0){c=e+8|0;i=f[c>>2]|0;if((f[e+4>>2]|0)!=(i|0)){i=i+-4|0;f[e>>2]=f[i>>2];f[c>>2]=i}f[g>>2]=h+-1}e=e+48|0}while((e|0)!=(a|0));d=d+80|0}while((d|0)!=(j|0));return}function QF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=a+384|0;d=f[(f[i>>2]|0)+44>>2]|0;if(!(b[c+136>>0]|0))e=0;else{h=c+140|0;e=d+176|0;f[e>>2]=f[h>>2];f[e+4>>2]=f[h+4>>2];f[e+8>>2]=f[h+8>>2];f[e+12>>2]=f[h+12>>2];e=f[c+156>>2]|0;d=f[(f[i>>2]|0)+44>>2]|0}f[d+168>>2]=e;d=f[c+120>>2]|0;if(!d){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;return}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);return}case 0:return;default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);return}}}dH(a,d);d=f[c+100>>2]|0;a:do if(!d)switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);g=a+376|0;h=f[g>>2]|0;d=f[h+16>>2]|0;c=f[d+120>>2]|0;if(c&2|0){e=a+436|0;f[e>>2]=(f[e>>2]|0)+-1}do if(c|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(c&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;e=f[d>>2]|0;if((f[a+388>>2]|0)==(e|0)){f[i>>2]=f[(f[i>>2]|0)+44>>2];break}else{a=e+-4|0;f[i>>2]=f[a>>2];f[d>>2]=a;break}}}while(0);f[g>>2]=f[h+12>>2];return}function RF(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;l=a+28|0;i=a+336|0;zDa(f[i>>2]|0,l);if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){k=(Hv(c)|0)+12|0;d=f[i>>2]|0;if(+n[k>>2]>=0.0){k=bH(d,Hv(c)|0)|0;d=f[i>>2]|0;if(k){m_a(d,l);return}}else e=5}else{d=f[i>>2]|0;e=5}if((e|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);d=f[c+120>>2]|0;a:do if(!d){d=f[c+100>>2]|0;if(d|0){dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}else{dH(a,d);d=f[c+100>>2]|0;b:do if(!d)switch(f[a+16>>2]|0){case 0:break b;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break b}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break b}}else dj[f[(f[d>>2]|0)+92>>2]&255](d,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;while(0);g=a+376|0;h=f[g>>2]|0;d=f[h+16>>2]|0;c=f[d+120>>2]|0;if(c&2|0){k=a+436|0;f[k>>2]=(f[k>>2]|0)+-1}do if(c|0){e=b[d+128+11>>0]|0;if(e<<24>>24<0)d=f[d+132>>2]|0;else d=e&255;if(d|0?(c&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;e=f[d>>2]|0;if((f[a+388>>2]|0)==(e|0)){k=a+384|0;f[k>>2]=f[(f[k>>2]|0)+44>>2];break}else{k=e+-4|0;f[a+384>>2]=f[k>>2];f[d>>2]=k;break}}}while(0);f[g>>2]=f[h+12>>2]}while(0);k=f[i>>2]|0;d=k+32|0;e=f[d>>2]|0;if(e|0){c=k+24|0;g=f[c>>2]|0;if((f[k+20>>2]|0)!=(g|0)){j=g+-4|0;f[k+16>>2]=f[j>>2];f[c>>2]=j}f[d>>2]=e+-1}d=f[k+64>>2]|0;a=f[k+68>>2]|0;if((d|0)!=(a|0))do{e=d+20|0;c=f[e>>2]|0;if(c|0){g=d+12|0;h=f[g>>2]|0;if((f[d+8>>2]|0)!=(h|0)){j=h+-4|0;f[d+4>>2]=f[j>>2];f[g>>2]=j}f[e>>2]=c+-1}d=d+52|0}while((d|0)!=(a|0));d=f[k+76>>2]|0;j=f[k+80>>2]|0;if((d|0)!=(j|0))do{e=d+36|0;c=f[e>>2]|0;if(c|0){g=d+28|0;h=f[g>>2]|0;if((f[d+24>>2]|0)!=(h|0)){i=h+-4|0;f[d+20>>2]=f[i>>2];f[g>>2]=i}f[e>>2]=c+-1}e=f[d+68>>2]|0;i=f[d+72>>2]|0;if((e|0)!=(i|0))do{c=e+16|0;g=f[c>>2]|0;if(g|0){h=e+8|0;a=f[h>>2]|0;if((f[e+4>>2]|0)!=(a|0)){a=a+-4|0;f[e>>2]=f[a>>2];f[h>>2]=a}f[c>>2]=g+-1}e=e+48|0}while((e|0)!=(i|0));d=d+80|0}while((d|0)!=(j|0));m_a(k,l);return}function SF(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;do if((f[c+108>>2]|0)==0?(b[c+104>>0]|0)!=0:0){j=(Hv(c)|0)+12|0;g=a+336|0;d=f[g>>2]|0;if(+n[j>>2]>=0.0)if(bH(d,Hv(c)|0)|0)return;else{e=g;d=f[g>>2]|0;break}else{e=g;h=5}}else h=3;while(0);if((h|0)==3){d=a+336|0;e=d;d=f[d>>2]|0;h=5}if((h|0)==5)f[d+36>>2]=f[d+16>>2];cH(d);d=f[c+120>>2]|0;h=(d|0)!=0;if(h)dH(a,d);j=a+384|0;d=f[(f[j>>2]|0)+44>>2]|0;i=f[d+228>>2]|0;if((i|0)!=0?(f[i+24>>2]|0)!=0:0)d=f[d+232>>2]|0;else d=0;a:do if(dj[f[(f[c>>2]|0)+264>>2]&255](c,d,a)|0){g=f[c+100>>2]|0;if(g|0){dj[f[(f[g>>2]|0)+92>>2]&255](g,c,a+(f[(f[a>>2]|0)+-12>>2]|0)|0)|0;break}switch(f[a+16>>2]|0){case 0:break a;case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break a}default:{Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a);break a}}}while(0);I0a(c,d,a);J0a(c,a);if(h){c=a+376|0;i=f[c>>2]|0;d=f[i+16>>2]|0;h=f[d+120>>2]|0;if(h&2|0){g=a+436|0;f[g>>2]=(f[g>>2]|0)+-1}do if(h|0){g=b[d+128+11>>0]|0;if(g<<24>>24<0)d=f[d+132>>2]|0;else d=g&255;if(d|0?(h&4|0)!=0|(f[a+436>>2]|0)==0:0){d=a+392|0;g=f[d>>2]|0;if((f[a+388>>2]|0)==(g|0)){f[j>>2]=f[(f[j>>2]|0)+44>>2];break}else{a=g+-4|0;f[j>>2]=f[a>>2];f[d>>2]=a;break}}}while(0);f[c>>2]=f[i+12>>2]}j=f[e>>2]|0;d=j+32|0;e=f[d>>2]|0;if(e|0){g=j+24|0;h=f[g>>2]|0;if((f[j+20>>2]|0)!=(h|0)){a=h+-4|0;f[j+16>>2]=f[a>>2];f[g>>2]=a}f[d>>2]=e+-1}d=f[j+64>>2]|0;i=f[j+68>>2]|0;if((d|0)!=(i|0))do{e=d+20|0;g=f[e>>2]|0;if(g|0){h=d+12|0;c=f[h>>2]|0;if((f[d+8>>2]|0)!=(c|0)){a=c+-4|0;f[d+4>>2]=f[a>>2];f[h>>2]=a}f[e>>2]=g+-1}d=d+52|0}while((d|0)!=(i|0));d=f[j+76>>2]|0;a=f[j+80>>2]|0;if((d|0)==(a|0))return;do{e=d+36|0;g=f[e>>2]|0;if(g|0){h=d+28|0;c=f[h>>2]|0;if((f[d+24>>2]|0)!=(c|0)){j=c+-4|0;f[d+20>>2]=f[j>>2];f[h>>2]=j}f[e>>2]=g+-1}e=f[d+68>>2]|0;j=f[d+72>>2]|0;if((e|0)!=(j|0))do{g=e+16|0;h=f[g>>2]|0;if(h|0){c=e+8|0;i=f[c>>2]|0;if((f[e+4>>2]|0)!=(i|0)){i=i+-4|0;f[e>>2]=f[i>>2];f[c>>2]=i}f[g>>2]=h+-1}e=e+48|0}while((e|0)!=(j|0));d=d+80|0}while((d|0)!=(a|0));return}function TF(a){a=a|0;var b=0;b=EBb(536)|0;aH(b,a);return b|0}function UF(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;e=j+8|0;h=j;nG(a);i=a+56|0;if(!(f[a+68>>2]|0)){kEa(i);u=j;return}d=+p[a+408>>3];c=+p[a+400>>3];if(!(d>=c)){kEa(i);u=j;return}g=(f[a+132>>2]|0)+32|0;p[e>>3]=c;p[h>>3]=d;b=f[a+84>>2]|0;if(!b)ej[f[(f[a>>2]|0)+212>>2]&63](a,g,e,h)|0;else ej[f[(f[b>>2]|0)+16>>2]&63](b,g,e,h)|0;kEa(i);u=j;return}function VF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return mG(b,c,d,+p[a+88>>3])|0}function WF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return lG(b,c,d,+p[a+88>>3])|0}function XF(a){a=a|0;a=a+-56|0;cG(a,312580);Gva(a+504|0);return}function YF(a){a=a|0;a=a+-56|0;cG(a,312580);Gva(a+504|0);GBb(a);return}function ZF(a,b){a=a|0;b=b|0;Fj[f[(f[a>>2]|0)+16>>2]&511](a,b,f[a+4>>2]|0);return}function _F(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;cG(a,312580);Gva(a+504|0);return}function $F(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;cG(a,312580);Gva(a+504|0);GBb(a);return}function aG(a){a=a|0;return 377210}function bG(a){a=a|0;return 377198}function cG(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=f[b>>2]|0;f[a>>2]=i;f[a+(f[i+-12>>2]|0)>>2]=f[b+12>>2];i=a+56|0;f[i>>2]=312228;tj[f[(f[a>>2]|0)+76>>2]&2047](a);c=a+500|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;dG(a+488|0,f[a+492>>2]|0);dG(a+476|0,f[a+480>>2]|0);eG(a+440|0);e=a+420|0;g=f[e>>2]|0;if(g|0){h=a+424|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?(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}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}c=f[a+388>>2]|0;if(c|0){f[a+392>>2]=c;GBb(c)}c=a+380|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+372|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;eDa(i);k=b+4|0;dDa(a,k);return}j=d+8|0;k=f[j>>2]|0;f[j>>2]=k-1;if((k|0)!=1){f[c>>2]=0;eDa(i);k=b+4|0;dDa(a,k);return}Rua(d,1,1);f[c>>2]=0;eDa(i);k=b+4|0;dDa(a,k);return}function dG(a,b){a=a|0;b=b|0;if(!b)return;dG(a,f[b>>2]|0);dG(a,f[b+4>>2]|0);a=f[b+156>>2]|0;if(a|0){f[b+160>>2]=a;GBb(a)}GBb(b);return}function eG(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+32|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;b=f[a+20>>2]|0;if(b|0){f[a+24>>2]=b;GBb(b)}b=f[a+8>>2]|0;if(b|0){f[a+12>>2]=b;GBb(b)}b=f[a>>2]|0;if(!b){f[a>>2]=0;return}d=b+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function fG(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 gG(a){a=a|0;dG(a,f[a+4>>2]|0);return}function hG(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 iG(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function jG(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 kG(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 lG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0.0,g=0.0,h=0.0,i=0,j=0,k=0.0,l=0.0,m=0.0;j=u;u=u+128|0;i=j;e=+p[c>>3];h=+p[b>>3];if(e<h+-1.0e-06){if(!(e!=-3402823466385288598117041.0e14|h!=3402823466385288598117041.0e14)){i=0;u=j;return i|0}if(!(qZa(4)|0)){i=0;u=j;return i|0}a=Nu(Hua(4)|0,377218,65)|0;b=Nu(isb(a,+p[b>>3])|0,377284,9)|0;c=isb(b,+p[c>>3])|0;Drb(i,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);b=utb(i,504576)|0;b=cj[f[(f[b>>2]|0)+28>>2]&1023](b,10)|0;vtb(i);ksb(c,b)|0;Krb(c)|0;i=0;u=j;return i|0}g=(e+h)*.5;if(e<h+1.0e-06){e=g+1.0e-06;p[b>>3]=g+-1.0e-06;p[c>>3]=e}if((+J(+(+p[a+24>>3]))<1.0e-06?+J(+(+p[a+56>>3]))<1.0e-06:0)?+J(+(+p[a+88>>3]))<1.0e-06:0){h=+p[b>>3];g=(e-h)*.02;g=g<1.0?1.0:g;h=h-g;g=e+g;p[b>>3]=h;p[c>>3]=g;d=g-h;p[a+80>>3]=-2.0/d;p[a+112>>3]=-(g+h)/d;i=1;u=j;return i|0}g=+p[b>>3]*.98;m=e*1.02;l=e*d;g=g<l?l:g;p[b>>3]=g;p[c>>3]=m;g=-g;l=+p[a+80>>3];k=+p[a+112>>3];e=+p[a+88>>3];h=+p[a+120>>3];g=(l*g+k)/(e*g+h);d=-m;h=(l*d+k)/(e*d+h);d=+J(+(2.0/(g-h)));$2a(i,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,d,0.0,0.0,0.0,(g+h)*-.5*d,1.0);m3a(a,i);i=1;u=j;return i|0}function mG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0.0,g=0.0,h=0.0,i=0,j=0,k=0,l=0.0,m=0.0,o=0.0;k=u;u=u+192|0;i=k+128|0;j=k;e=+p[c>>3];h=+p[b>>3];if(e<h+-1.0e-06){if(!(e!=-3402823466385288598117041.0e14|h!=3402823466385288598117041.0e14)){j=0;u=k;return j|0}if(!(qZa(4)|0)){j=0;u=k;return j|0}j=Nu(Hua(4)|0,377218,65)|0;j=Nu(isb(j,+p[b>>3])|0,377284,9)|0;j=isb(j,+p[c>>3])|0;Drb(i,j+(f[(f[j>>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(j,c)|0;Krb(j)|0;j=0;u=k;return j|0}g=(e+h)*.5;if(e<h+1.0e-06){e=g+1.0e-06;p[b>>3]=g+-1.0e-06;p[c>>3]=e}if((+J(+(+n[a+12>>2]))<1.0e-06?+J(+(+n[a+28>>2]))<1.0e-06:0)?+J(+(+n[a+44>>2]))<1.0e-06:0){h=+p[b>>3];g=(e-h)*.02;g=g<1.0?1.0:g;h=h-g;g=e+g;p[b>>3]=h;p[c>>3]=g;d=g-h;n[a+40>>2]=-2.0/d;n[a+56>>2]=-(g+h)/d;j=1;u=k;return j|0}g=+p[b>>3]*.98;o=e*1.02;m=e*d;g=g<m?m:g;p[b>>3]=g;p[c>>3]=o;g=-g;m=+n[a+40>>2];l=+n[a+56>>2];d=+n[a+44>>2];h=+n[a+60>>2];g=(g*m+l)/(g*d+h);e=-o;h=(e*m+l)/(e*d+h);d=+J(+(2.0/(g-h)));$2a(j,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,d,0.0,0.0,0.0,(g+h)*-.5*d,1.0);b0a(i,j);c0a(a,i);j=1;u=k;return j|0}function nG(a){a=a|0;var b=0,c=0.0,d=0,e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=a+476|0;i=a+484|0;if(f[i>>2]|0){b=f[h>>2]|0;j=a+480|0;a:do if((b|0)!=(j|0)){k=a+400|0;c=+p[k>>3];do{if(!(+p[b+16>>3]<c))break a;c=+oG(0,b+24|0,b+156|0,f[b+152>>2]|0);e=+p[k>>3];if(c<e)p[k>>3]=c;else c=e;d=f[b+4>>2]|0;if(!d){d=b+8|0;g=f[d>>2]|0;if((f[g>>2]|0)==(b|0))b=g;else do{n=f[d>>2]|0;d=n+8|0;b=f[d>>2]|0}while((f[b>>2]|0)!=(n|0))}else{b=d;while(1){d=f[b>>2]|0;if(!d)break;else b=d}}}while((b|0)!=(j|0))}while(0);dG(h,f[j>>2]|0);f[i>>2]=0;f[h>>2]=j;f[j>>2]=0}l=a+488|0;m=a+496|0;if(!(f[m>>2]|0))return;n=a+492|0;b:do if((n|0)!=(f[l>>2]|0)){k=a+408|0;j=n;while(1){b=f[j>>2]|0;i=(b|0)==0;if(i){d=j;do{a=d;d=f[d+8>>2]|0}while((f[d>>2]|0)==(a|0))}else{d=b;while(1){g=f[d+4>>2]|0;if(!g)break;else d=g}}if(!(+p[d+16>>3]>+p[k>>3]))break b;if(i){d=j;do{a=d;d=f[d+8>>2]|0}while((f[d>>2]|0)==(a|0))}else{d=b;while(1){g=f[d+4>>2]|0;if(!g)break;else d=g}}h=d+24|0;if(i){d=j;do{a=d;d=f[d+8>>2]|0}while((f[d>>2]|0)==(a|0))}else{d=b;while(1){g=f[d+4>>2]|0;if(!g)break;else d=g}}g=d+156|0;if(i){b=j;do{a=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(a|0))}else while(1){d=f[b+4>>2]|0;if(!d)break;else b=d}c=+pG(0,h,g,f[b+152>>2]|0);if(c>+p[k>>3])p[k>>3]=c;b=f[j>>2]|0;if(!b){b=j;do{a=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(a|0))}else while(1){d=f[b+4>>2]|0;if(!d)break;else b=d}if((b|0)==(f[l>>2]|0))break;else j=b}}while(0);dG(l,f[n>>2]|0);f[m>>2]=0;f[l>>2]=n;f[n>>2]=0;return}function oG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+208|0;a=m;f[a>>2]=312604;l=a+8|0;g=l+8|0;p[g>>3]=0.0;h=l+16|0;f3a(h);i=l+144|0;j=i;k=j+40|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(k|0));f[a>>2]=312716;f[a+192>>2]=0;f[a+196>>2]=0;p[g>>3]=3402823466385288598117041.0e14;if((h|0)!=(b|0)){p[h>>3]=+p[b>>3];p[l+24>>3]=+p[b+8>>3];p[l+32>>3]=+p[b+16>>3];p[l+40>>3]=+p[b+24>>3];p[l+48>>3]=+p[b+32>>3];p[l+56>>3]=+p[b+40>>3];p[l+64>>3]=+p[b+48>>3];p[l+72>>3]=+p[b+56>>3];p[l+80>>3]=+p[b+64>>3];p[l+88>>3]=+p[b+72>>3];p[l+96>>3]=+p[b+80>>3];p[l+104>>3]=+p[b+88>>3];p[l+112>>3]=+p[b+96>>3];p[l+120>>3]=+p[b+104>>3];p[l+128>>3]=+p[b+112>>3];p[l+136>>3]=+p[b+120>>3]}f[i>>2]=c;Bj[f[(f[d>>2]|0)+284>>2]&1023](d,a);e=+p[g>>3];a=f[l+172>>2]|0;if(a|0){f[l+176>>2]=a;GBb(a)}a=f[l+160>>2]|0;if(a|0){f[l+164>>2]=a;GBb(a)}a=f[l+148>>2]|0;if(!a){u=m;return +e}f[l+152>>2]=a;GBb(a);u=m;return +e}function pG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+208|0;a=m;f[a>>2]=312604;l=a+8|0;g=l+8|0;p[g>>3]=0.0;h=l+16|0;f3a(h);i=l+144|0;j=i;k=j+40|0;do{f[j>>2]=0;j=j+4|0}while((j|0)<(k|0));f[a>>2]=312660;f[a+192>>2]=0;f[a+196>>2]=0;p[g>>3]=-3402823466385288598117041.0e14;if((h|0)!=(b|0)){p[h>>3]=+p[b>>3];p[l+24>>3]=+p[b+8>>3];p[l+32>>3]=+p[b+16>>3];p[l+40>>3]=+p[b+24>>3];p[l+48>>3]=+p[b+32>>3];p[l+56>>3]=+p[b+40>>3];p[l+64>>3]=+p[b+48>>3];p[l+72>>3]=+p[b+56>>3];p[l+80>>3]=+p[b+64>>3];p[l+88>>3]=+p[b+72>>3];p[l+96>>3]=+p[b+80>>3];p[l+104>>3]=+p[b+88>>3];p[l+112>>3]=+p[b+96>>3];p[l+120>>3]=+p[b+104>>3];p[l+128>>3]=+p[b+112>>3];p[l+136>>3]=+p[b+120>>3]}f[i>>2]=c;Bj[f[(f[d>>2]|0)+284>>2]&1023](d,a);e=+p[g>>3];a=f[l+172>>2]|0;if(a|0){f[l+176>>2]=a;GBb(a)}a=f[l+160>>2]|0;if(a|0){f[l+164>>2]=a;GBb(a)}a=f[l+148>>2]|0;if(!a){u=m;return +e}f[l+152>>2]=a;GBb(a);u=m;return +e}function qG(a){a=a|0;var b=0;b=a+8|0;a=f[b+172>>2]|0;if(a|0){f[b+176>>2]=a;GBb(a)}a=f[b+160>>2]|0;if(a|0){f[b+164>>2]=a;GBb(a)}a=f[b+148>>2]|0;if(!a)return;f[b+152>>2]=a;GBb(a);return}function rG(a){a=a|0;var b=0,c=0;c=a+8|0;b=f[c+172>>2]|0;if(b|0){f[c+176>>2]=b;GBb(b)}b=f[c+160>>2]|0;if(b|0){f[c+164>>2]=b;GBb(b)}b=f[c+148>>2]|0;if(!b){GBb(a);return}f[c+152>>2]=b;GBb(b);GBb(a);return}function sG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377513,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function tG(a,b,c){a=a|0;b=b|0;c=c|0;f[a+192>>2]=b;f[a+196>>2]=c;return}function uG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377459,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function vG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377404,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function wG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377349,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function xG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377294,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function yG(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.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0;h=a+196|0;e=f[h>>2]|0;if((d|0)==0|(e|0)==0)return;do switch(b|0){case 4:{g=e+((d+c|0)*12|0)|0;if((d|0)<=0)return;b=a+8|0;e=e+(c*12|0)|0;do{DG(b,e,e+12|0,e+24|0,0);e=e+36|0}while(e>>>0<g>>>0);return}case 5:{if((d|0)<=2)return;g=a+8|0;e=e+(c*12|0)|0;b=2;do{if(!(b&1)){c=e+12|0;DG(g,e,c,e+24|0,0);e=c}else{c=e+12|0;DG(g,e,e+24|0,c,0);e=c}b=b+1|0}while((b|0)!=(d|0));return}case 7:{if((d|0)<=3)return;g=a+8|0;e=e+(c*12|0)|0;b=3;while(1){c=e+24|0;DG(g,e,e+12|0,c,0);DG(g,e,c,e+36|0,0);b=b+4|0;if((b|0)>=(d|0))break;else e=e+48|0}return}case 8:{if((d|0)<=3)return;g=a+8|0;e=e+(c*12|0)|0;b=3;do{c=e+36|0;t=e;e=e+24|0;DG(g,t,t+12|0,c,0);DG(g,t,c,e,0);b=b+2|0}while((b|0)<(d|0));return}case 6:case 9:{h=e+(c*12|0)|0;if((d|0)<=2)return;g=a+8|0;e=2;b=h+12|0;do{c=b;b=b+12|0;DG(g,h,c,b,0);e=e+1|0}while((e|0)!=(d|0));return}case 0:{t=e+((d+c|0)*12|0)|0;if((d|0)<=0)return;g=a+8|0;h=g+8|0;a=g+144|0;o=+p[g+32>>3];q=+p[g+64>>3];r=+p[g+96>>3];s=+p[g+128>>3];g=e+(c*12|0)|0;m=+p[h>>3];while(1){j=+n[g>>2];k=+n[g+4>>2];l=+n[g+8>>2];u=s+(o*j+q*k+r*l);i=-u;a:do if(m>=i|u>-0.0)i=m;else{b=f[a>>2]|0;e=f[b>>2]|0;b=f[b+4>>2]|0;if((e|0)!=(b|0))do{if(+p[e+24>>3]+(+p[e>>3]*j+ +p[e+8>>3]*k+ +p[e+16>>3]*l)<0.0){i=m;break a}e=e+40|0}while((e|0)!=(b|0));p[h>>3]=i}while(0);g=g+12|0;if(g>>>0>=t>>>0)break;else m=i}return}case 1:{d=d+c+-1|0;g=e+(d*12|0)|0;if((d|0)<=(c|0))return;b=a+8|0;e=e+(c*12|0)|0;do{EG(b,e,e+12|0,0);e=e+24|0}while(e>>>0<g>>>0);return}case 3:{d=d+c+-1|0;g=e+(d*12|0)|0;if((d|0)<=(c|0))return;b=a+8|0;e=e+(c*12|0)|0;do{c=e;e=e+12|0;EG(b,c,e,0)}while(e>>>0<g>>>0);return}case 11:{d=d+c+-2|0;h=e+(d*12|0)|0;b=c+1|0;if((b|0)>=(d|0))return;g=a+8|0;e=e+(b*12|0)|0;do{c=e;e=e+12|0;EG(g,c,e,0)}while(e>>>0<h>>>0);return}case 2:{d=d+c+-1|0;g=e+(d*12|0)|0;b=a+8|0;if((d|0)>(c|0)){e=e+(c*12|0)|0;do{d=e;e=e+12|0;EG(b,d,e,0)}while(e>>>0<g>>>0);e=f[h>>2]|0}EG(b,g,e+(c*12|0)|0,0);return}default:return}while(0)}function zG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;IG(a,b,c,d);return}function AG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;HG(a,b,c,d);return}function BG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;CG(a,b,c,d);return}function CG(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.0,j=0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0,w=0.0;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{g=d+(c<<2)|0;if((c|0)<=0)return;e=a+8|0;b=a+196|0;do{c=f[b>>2]|0;DG(e,c+((f[d>>2]|0)*12|0)|0,c+((f[d+4>>2]|0)*12|0)|0,c+((f[d+8>>2]|0)*12|0)|0,0);d=d+12|0}while(d>>>0<g>>>0);return}case 5:{if((c|0)<=2)return;j=a+8|0;h=a+196|0;g=2;do{b=f[h>>2]|0;e=b+((f[d>>2]|0)*12|0)|0;if(!(g&1)){u=d+4|0;DG(j,e,b+((f[u>>2]|0)*12|0)|0,b+((f[d+8>>2]|0)*12|0)|0,0);d=u}else{u=d+4|0;DG(j,e,b+((f[d+8>>2]|0)*12|0)|0,b+((f[u>>2]|0)*12|0)|0,0);d=u}g=g+1|0}while((g|0)!=(c|0));return}case 7:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;while(1){h=f[e>>2]|0;j=h+((f[d>>2]|0)*12|0)|0;a=h+((f[d+8>>2]|0)*12|0)|0;u=h+((f[d+12>>2]|0)*12|0)|0;DG(g,j,h+((f[d+4>>2]|0)*12|0)|0,a,0);DG(g,j,a,u,0);b=b+4|0;if((b|0)>=(c|0))break;else d=d+16|0}return}case 8:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;do{v=f[e>>2]|0;j=v+((f[d>>2]|0)*12|0)|0;a=v+((f[d+12>>2]|0)*12|0)|0;h=d;d=d+8|0;u=v+((f[d>>2]|0)*12|0)|0;DG(g,j,v+((f[h+4>>2]|0)*12|0)|0,a,0);DG(g,j,a,u,0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{h=a+196|0;e=f[h>>2]|0;j=e+((f[d>>2]|0)*12|0)|0;if((c|0)<=2)return;g=a+8|0;b=d+8|0;DG(g,j,e+((f[d+4>>2]|0)*12|0)|0,e+((f[b>>2]|0)*12|0)|0,0);if((c|0)==3)return;d=b;b=3;do{v=f[h>>2]|0;u=d;d=d+4|0;DG(g,j,v+((f[u>>2]|0)*12|0)|0,v+((f[d>>2]|0)*12|0)|0,0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{u=d+(c<<2)|0;if((c|0)<=0)return;v=a+8|0;g=f[a+196>>2]|0;h=v+8|0;j=v+144|0;q=+p[v+32>>3];r=+p[v+64>>3];s=+p[v+96>>3];t=+p[v+128>>3];o=+p[h>>3];while(1){v=f[d>>2]|0;k=+n[g+(v*12|0)>>2];l=+n[g+(v*12|0)+4>>2];m=+n[g+(v*12|0)+8>>2];w=t+(q*k+r*l+s*m);i=-w;a:do if(o>=i|w>-0.0)i=o;else{e=f[j>>2]|0;b=f[e>>2]|0;e=f[e+4>>2]|0;if((b|0)!=(e|0))do{if(+p[b+24>>3]+(+p[b>>3]*k+ +p[b+8>>3]*l+ +p[b+16>>3]*m)<0.0){i=o;break a}b=b+40|0}while((b|0)!=(e|0));p[h>>3]=i}while(0);d=d+4|0;if(d>>>0>=u>>>0)break;else o=i}return}case 1:{g=d+(c+-1<<2)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{v=f[b>>2]|0;EG(e,v+((f[d>>2]|0)*12|0)|0,v+((f[d+4>>2]|0)*12|0)|0,0);d=d+8|0}while(d>>>0<g>>>0);return}case 3:{g=d+(c+-1<<2)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{v=f[b>>2]|0;c=d;d=d+4|0;EG(e,v+((f[c>>2]|0)*12|0)|0,v+((f[d>>2]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 11:{g=d+(c+-2<<2)|0;if((c|0)<=3)return;e=a+8|0;b=a+196|0;d=d+4|0;do{v=f[b>>2]|0;c=d;d=d+4|0;EG(e,v+((f[c>>2]|0)*12|0)|0,v+((f[d>>2]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 2:{h=d+(c+-1<<2)|0;j=a+8|0;g=a+196|0;b=f[g>>2]|0;if((c|0)>1){e=d;do{v=e;e=e+4|0;EG(j,b+((f[v>>2]|0)*12|0)|0,b+((f[e>>2]|0)*12|0)|0,0);b=f[g>>2]|0}while(e>>>0<h>>>0)}EG(j,b+((f[h>>2]|0)*12|0)|0,b+((f[d>>2]|0)*12|0)|0,0);return}default:return}while(0)}function DG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,o=0,q=0.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,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,$=0.0,aa=0.0;Z=u;u=u+16|0;S=Z;A=+n[b>>2];U=a+32|0;z=+p[U>>3];k=+n[b+4>>2];V=a+64|0;y=+p[V>>3];l=+n[b+8>>2];W=a+96|0;j=+p[W>>3];X=a+128|0;_=+p[X>>3];g=_+(z*A+y*k+j*l);m=-g;q=+n[c>>2];r=+n[c+4>>2];s=+n[c+8>>2];h=_+(z*q+y*r+j*s);t=-h;v=+n[d>>2];w=+n[d+4>>2];x=+n[d+8>>2];j=_+(z*v+y*w+j*x);y=-j;Y=a+8|0;z=+p[Y>>3];if(z>=m&z>=t&z>=y){u=Z;return}if(g>-0.0&h>-0.0&j>-0.0){u=Z;return}R=a+144|0;o=f[R>>2]|0;e=f[o>>2]|0;o=f[o+4>>2]|0;if((e|0)!=(o|0)){i=1;Q=0;while(1){$=+p[e>>3];_=+p[e+8>>3];g=+p[e+16>>3];aa=+p[e+24>>3];h=aa+($*A+_*k+g*l);j=aa+($*q+_*r+g*s);g=aa+($*v+_*w+g*x);if(((h<0.0&1)+(j<0.0&1)+(g<0.0&1)|0)==3){T=48;break}Q=(((h>=0.0&1)+(j>=0.0&1)+(g>=0.0&1)|0)>>>0<3?i:0)|Q;e=e+40|0;if((e|0)==(o|0))break;else i=i<<1}if((T|0)==48){u=Z;return}if(Q|0){O=a+148|0;e=f[O>>2]|0;P=a+152|0;f[P>>2]=e;n[S>>2]=0.0;N=S+4|0;f[N>>2]=f[b>>2];f[N+4>>2]=f[b+4>>2];f[N+8>>2]=f[b+8>>2];N=a+156|0;if((f[N>>2]|0)>>>0>e>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];e=(f[P>>2]|0)+16|0;f[P>>2]=e}else{FG(O,S);e=f[P>>2]|0}n[S>>2]=0.0;M=S+4|0;f[M>>2]=f[c>>2];f[M+4>>2]=f[c+4>>2];f[M+8>>2]=f[c+8>>2];if(e>>>0<(f[N>>2]|0)>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];e=(f[P>>2]|0)+16|0;f[P>>2]=e}else{FG(O,S);e=f[P>>2]|0}n[S>>2]=0.0;M=S+4|0;f[M>>2]=f[d>>2];f[M+4>>2]=f[d+4>>2];f[M+8>>2]=f[d+8>>2];if(e>>>0<(f[N>>2]|0)>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];f[P>>2]=(f[P>>2]|0)+16}else FG(O,S);b=f[R>>2]|0;e=f[b>>2]|0;a:do if((e|0)==(f[b+4>>2]|0)){o=f[P>>2]|0;e=f[O>>2]|0;i=o}else{L=a+160|0;M=a+164|0;K=a+168|0;H=S+4|0;I=S+8|0;J=S+12|0;D=f[O>>2]|0;i=f[P>>2]|0;G=1;F=e;E=D;c=i;a=D;d=i;o=i;e=D;B=b;C=D;while(1){if((E|0)==(c|0))break a;if(!(G&Q))b=E;else{b=f[L>>2]|0;f[M>>2]=b;g=+p[F>>3];h=+p[F+8>>3];j=+p[F+16>>3];k=+p[F+24>>3];e=E;do{n[e>>2]=k+(g*+n[e+4>>2]+h*+n[e+8>>2]+j*+n[e+12>>2]);e=e+16|0}while((e|0)!=(c|0));E=d-a|0;a=E>>4;if(!E)e=B;else{d=0;e=D;o=C;while(1){c=d+1|0;b=(c>>>0)%(a>>>0)|0;i=e+(d<<4)|0;if(!(+n[i>>2]>=0.0)){if(+n[e+(b<<4)>>2]>0.0){e=o;g=+n[o+(b<<4)>>2];T=36}}else{e=f[M>>2]|0;if((e|0)==(f[K>>2]|0))GG(L,i);else{f[e>>2]=f[i>>2];f[e+4>>2]=f[i+4>>2];f[e+8>>2]=f[i+8>>2];f[e+12>>2]=f[i+12>>2];f[M>>2]=(f[M>>2]|0)+16}e=f[O>>2]|0;g=+n[e+(b<<4)>>2];if(g<0.0)T=36}if((T|0)==36){T=0;aa=+n[e+(d<<4)>>2];aa=aa/(aa-g);A=1.0-aa;_=+n[e+(d<<4)+4>>2]*A+aa*+n[e+(b<<4)+4>>2];$=+n[e+(d<<4)+8>>2]*A+aa*+n[e+(b<<4)+8>>2];aa=A*+n[e+(d<<4)+12>>2]+aa*+n[e+(b<<4)+12>>2];f[S>>2]=0;n[H>>2]=_;n[I>>2]=$;n[J>>2]=aa;e=f[M>>2]|0;if(e>>>0<(f[K>>2]|0)>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];f[M>>2]=(f[M>>2]|0)+16}else FG(L,S)}if(c>>>0>=a>>>0)break;o=f[O>>2]|0;d=c;e=o}e=f[R>>2]|0;b=f[M>>2]|0}E=f[O>>2]|0;a=f[L>>2]|0;f[O>>2]=a;f[L>>2]=E;E=f[P>>2]|0;f[P>>2]=b;f[M>>2]=E;E=f[N>>2]|0;f[N>>2]=f[K>>2];f[K>>2]=E;E=a;c=b;B=e;o=c;i=c;e=E;C=E;D=E;d=b;b=E}F=F+40|0;if((F|0)==(f[B+4>>2]|0))break;else{G=G<<1;E=b}}}while(0);if((e|0)==(i|0)){u=Z;return}m=+p[U>>3];l=+p[V>>3];k=+p[W>>3];j=+p[X>>3];h=+p[Y>>3];while(1){g=-(j+(m*+n[e+4>>2]+l*+n[e+8>>2]+k*+n[e+12>>2]));if(h<g)p[Y>>3]=g;else g=h;e=e+16|0;if((e|0)==(o|0))break;else h=g}u=Z;return}}aa=z>m?z:m;aa=aa>t?aa:t;p[Y>>3]=aa>y?aa:y;u=Z;return}function EG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0.0,A=0.0,B=0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0;h=+n[b>>2];w=h;E=+p[a+32>>3];o=+n[b+4>>2];v=o;D=+p[a+64>>3];l=+n[b+8>>2];s=l;z=+p[a+96>>3];A=+p[a+128>>3];j=A+(E*w+D*v+z*s);g=-j;m=+n[c>>2];t=m;r=+n[c+4>>2];u=r;q=+n[c+8>>2];k=q;i=A+(E*t+D*u+z*k);e=-i;B=a+8|0;C=+p[B>>3];if(C>=g&C>=e)return;if(j>-0.0&i>-0.0)return;y=f[a+144>>2]|0;c=f[y>>2]|0;y=f[y+4>>2]|0;if((c|0)!=(y|0)){d=1;a=0;b=c;while(1){G=+p[b>>3];F=+p[b+8>>3];j=+p[b+16>>3];H=+p[b+24>>3];i=H+(G*w+F*v+j*s);j=H+(G*t+F*u+j*k);if(((i<0.0&1)+(j<0.0&1)|0)==2){x=20;break}a=(((i>=0.0&1)+(j>=0.0&1)|0)>>>0<2?d:0)|a;b=b+40|0;if((b|0)==(y|0))break;else d=d<<1}if((x|0)==20)return;if(a|0){if((c|0)!=(y|0)){d=1;while(1){do if(d&a){G=+p[c>>3];H=+p[c+8>>3];g=+p[c+16>>3];F=+p[c+24>>3];e=F+(G*h+H*o+g*l);g=F+(G*m+H*r+g*q);if(!(e>=0.0)){if(!(g>=0.0)){i=r;e=o;j=q;g=l;k=m;break}G=e/(e-g);H=1.0-G;i=r;e=r*G+o*H;j=q;g=q*G+l*H;k=m;h=m*G+h*H;break}else{if(!(g<0.0)){i=r;e=o;j=q;g=l;k=m;break}H=e/(e-g);k=1.0-H;i=r*H+o*k;e=o;j=q*H+l*k;g=l;k=m*H+h*k;break}}else{i=r;e=o;j=q;g=l;k=m}while(0);c=c+40|0;if((c|0)==(y|0))break;else{d=d<<1;r=i;o=e;q=j;l=g;m=k}}g=-(A+(E*h+D*e+z*g));e=-(A+(E*k+D*i+z*j))}H=C>g?C:g;p[B>>3]=H>e?H:e;return}}H=C<g?C:g;p[B>>3]=H<e?H:e;return}function FG(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>>4;c=g+1|0;if(c>>>0>268435455)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>3;h=e>>4>>>0<134217727?(h>>>0<c>>>0?c:h):268435455;do if(h)if(h>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<4)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<4)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+16;f[l>>2]=d+(h<<4);if(!j)return;GBb(j);return}function GG(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>>4;c=g+1|0;if(c>>>0>268435455)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>3;h=e>>4>>>0<134217727?(h>>>0<c>>>0?c:h):268435455;do if(h)if(h>>>0>268435455){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<4)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<4)|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+16;f[l>>2]=d+(h<<4);if(!j)return;GBb(j);return}function HG(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.0,k=0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0.0;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{g=d+(c<<1)|0;if((c|0)<=0)return;e=a+8|0;b=a+196|0;do{c=f[b>>2]|0;DG(e,c+((j[d>>1]|0)*12|0)|0,c+((j[d+2>>1]|0)*12|0)|0,c+((j[d+4>>1]|0)*12|0)|0,0);d=d+6|0}while(d>>>0<g>>>0);return}case 5:{if((c|0)<=2)return;k=a+8|0;h=a+196|0;g=2;do{b=f[h>>2]|0;e=b+((j[d>>1]|0)*12|0)|0;if(!(g&1)){v=d+2|0;DG(k,e,b+((j[v>>1]|0)*12|0)|0,b+((j[d+4>>1]|0)*12|0)|0,0);d=v}else{v=d+2|0;DG(k,e,b+((j[d+4>>1]|0)*12|0)|0,b+((j[v>>1]|0)*12|0)|0,0);d=v}g=g+1|0}while((g|0)!=(c|0));return}case 7:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;while(1){h=f[e>>2]|0;k=h+((j[d>>1]|0)*12|0)|0;a=h+((j[d+4>>1]|0)*12|0)|0;v=h+((j[d+6>>1]|0)*12|0)|0;DG(g,k,h+((j[d+2>>1]|0)*12|0)|0,a,0);DG(g,k,a,v,0);b=b+4|0;if((b|0)>=(c|0))break;else d=d+8|0}return}case 8:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;do{w=f[e>>2]|0;k=w+((j[d>>1]|0)*12|0)|0;a=w+((j[d+6>>1]|0)*12|0)|0;h=d;d=d+4|0;v=w+((j[d>>1]|0)*12|0)|0;DG(g,k,w+((j[h+2>>1]|0)*12|0)|0,a,0);DG(g,k,a,v,0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{h=a+196|0;e=f[h>>2]|0;k=e+((j[d>>1]|0)*12|0)|0;if((c|0)<=2)return;g=a+8|0;b=d+4|0;DG(g,k,e+((j[d+2>>1]|0)*12|0)|0,e+((j[b>>1]|0)*12|0)|0,0);if((c|0)==3)return;d=b;b=3;do{w=f[h>>2]|0;v=d;d=d+2|0;DG(g,k,w+((j[v>>1]|0)*12|0)|0,w+((j[d>>1]|0)*12|0)|0,0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{v=d+(c<<1)|0;if((c|0)<=0)return;w=a+8|0;g=f[a+196>>2]|0;h=w+8|0;k=w+144|0;r=+p[w+32>>3];s=+p[w+64>>3];t=+p[w+96>>3];u=+p[w+128>>3];q=+p[h>>3];while(1){w=j[d>>1]|0;l=+n[g+(w*12|0)>>2];m=+n[g+(w*12|0)+4>>2];o=+n[g+(w*12|0)+8>>2];x=u+(r*l+s*m+t*o);i=-x;a:do if(q>=i|x>-0.0)i=q;else{e=f[k>>2]|0;b=f[e>>2]|0;e=f[e+4>>2]|0;if((b|0)!=(e|0))do{if(+p[b+24>>3]+(+p[b>>3]*l+ +p[b+8>>3]*m+ +p[b+16>>3]*o)<0.0){i=q;break a}b=b+40|0}while((b|0)!=(e|0));p[h>>3]=i}while(0);d=d+2|0;if(d>>>0>=v>>>0)break;else q=i}return}case 1:{g=d+(c+-1<<1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;EG(e,w+((j[d>>1]|0)*12|0)|0,w+((j[d+2>>1]|0)*12|0)|0,0);d=d+4|0}while(d>>>0<g>>>0);return}case 3:{g=d+(c+-1<<1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;c=d;d=d+2|0;EG(e,w+((j[c>>1]|0)*12|0)|0,w+((j[d>>1]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 11:{g=d+(c+-2<<1)|0;if((c|0)<=3)return;e=a+8|0;b=a+196|0;d=d+2|0;do{w=f[b>>2]|0;c=d;d=d+2|0;EG(e,w+((j[c>>1]|0)*12|0)|0,w+((j[d>>1]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 2:{h=d+(c+-1<<1)|0;k=a+8|0;g=a+196|0;b=f[g>>2]|0;if((c|0)>1){e=d;do{w=e;e=e+2|0;EG(k,b+((j[w>>1]|0)*12|0)|0,b+((j[e>>1]|0)*12|0)|0,0);b=f[g>>2]|0}while(e>>>0<h>>>0)}EG(k,b+((j[h>>1]|0)*12|0)|0,b+((j[d>>1]|0)*12|0)|0,0);return}default:return}while(0)}function IG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0.0,k=0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0.0;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{g=d+c|0;if((c|0)<=0)return;e=a+8|0;b=a+196|0;do{c=f[b>>2]|0;DG(e,c+((h[d>>0]|0)*12|0)|0,c+((h[d+1>>0]|0)*12|0)|0,c+((h[d+2>>0]|0)*12|0)|0,0);d=d+3|0}while(d>>>0<g>>>0);return}case 5:{if((c|0)<=2)return;k=a+8|0;i=a+196|0;g=2;do{b=f[i>>2]|0;e=b+((h[d>>0]|0)*12|0)|0;if(!(g&1)){a=d+1|0;DG(k,e,b+((h[a>>0]|0)*12|0)|0,b+((h[d+2>>0]|0)*12|0)|0,0);d=a}else{a=d+1|0;DG(k,e,b+((h[d+2>>0]|0)*12|0)|0,b+((h[a>>0]|0)*12|0)|0,0);d=a}g=g+1|0}while((g|0)!=(c|0));return}case 7:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;while(1){i=f[e>>2]|0;k=i+((h[d>>0]|0)*12|0)|0;v=i+((h[d+2>>0]|0)*12|0)|0;a=i+((h[d+3>>0]|0)*12|0)|0;DG(g,k,i+((h[d+1>>0]|0)*12|0)|0,v,0);DG(g,k,v,a,0);b=b+4|0;if((b|0)>=(c|0))break;else d=d+4|0}return}case 8:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;do{w=f[e>>2]|0;k=w+((h[d>>0]|0)*12|0)|0;v=w+((h[d+3>>0]|0)*12|0)|0;i=d;d=d+2|0;a=w+((h[d>>0]|0)*12|0)|0;DG(g,k,w+((h[i+1>>0]|0)*12|0)|0,v,0);DG(g,k,v,a,0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{i=a+196|0;e=f[i>>2]|0;k=e+((h[d>>0]|0)*12|0)|0;if((c|0)<=2)return;g=a+8|0;b=d+2|0;DG(g,k,e+((h[d+1>>0]|0)*12|0)|0,e+((h[b>>0]|0)*12|0)|0,0);if((c|0)==3)return;d=b;b=3;do{w=f[i>>2]|0;a=d;d=d+1|0;DG(g,k,w+((h[a>>0]|0)*12|0)|0,w+((h[d>>0]|0)*12|0)|0,0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{v=d+c|0;if((c|0)<=0)return;w=a+8|0;i=w+8|0;k=w+144|0;g=f[a+196>>2]|0;r=+p[w+32>>3];s=+p[w+64>>3];t=+p[w+96>>3];u=+p[w+128>>3];q=+p[i>>3];while(1){w=h[d>>0]|0;l=+n[g+(w*12|0)>>2];m=+n[g+(w*12|0)+4>>2];o=+n[g+(w*12|0)+8>>2];x=u+(r*l+s*m+t*o);j=-x;a:do if(q>=j|x>-0.0)j=q;else{e=f[k>>2]|0;b=f[e>>2]|0;e=f[e+4>>2]|0;if((b|0)!=(e|0))do{if(+p[b+24>>3]+(+p[b>>3]*l+ +p[b+8>>3]*m+ +p[b+16>>3]*o)<0.0){j=q;break a}b=b+40|0}while((b|0)!=(e|0));p[i>>3]=j}while(0);d=d+1|0;if(d>>>0>=v>>>0)break;else q=j}return}case 1:{g=d+(c+-1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;EG(e,w+((h[d>>0]|0)*12|0)|0,w+((h[d+1>>0]|0)*12|0)|0,0);d=d+2|0}while(d>>>0<g>>>0);return}case 3:{g=d+(c+-1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;c=d;d=d+1|0;EG(e,w+((h[c>>0]|0)*12|0)|0,w+((h[d>>0]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 11:{g=d+(c+-2)|0;if((c|0)<=3)return;e=a+8|0;b=a+196|0;d=d+1|0;do{w=f[b>>2]|0;c=d;d=d+1|0;EG(e,w+((h[c>>0]|0)*12|0)|0,w+((h[d>>0]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 2:{i=d+(c+-1)|0;k=a+8|0;g=a+196|0;b=f[g>>2]|0;if((c|0)>1){e=d;do{w=e;e=e+1|0;EG(k,b+((h[w>>0]|0)*12|0)|0,b+((h[e>>0]|0)*12|0)|0,0);b=f[g>>2]|0}while(e>>>0<i>>>0)}EG(k,b+((h[i>>0]|0)*12|0)|0,b+((h[d>>0]|0)*12|0)|0,0);return}default:return}while(0)}function JG(a){a=a|0;return}function KG(a){a=a|0;mi()}function LG(a){a=a|0;var b=0;b=a+8|0;a=f[b+172>>2]|0;if(a|0){f[b+176>>2]=a;GBb(a)}a=f[b+160>>2]|0;if(a|0){f[b+164>>2]=a;GBb(a)}a=f[b+148>>2]|0;if(!a)return;f[b+152>>2]=a;GBb(a);return}function MG(a){a=a|0;var b=0,c=0;c=a+8|0;b=f[c+172>>2]|0;if(b|0){f[c+176>>2]=b;GBb(b)}b=f[c+160>>2]|0;if(b|0){f[c+164>>2]=b;GBb(b)}b=f[c+148>>2]|0;if(!b){GBb(a);return}f[c+152>>2]=b;GBb(b);GBb(a);return}function NG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377513,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function OG(a,b,c){a=a|0;b=b|0;c=c|0;f[a+192>>2]=b;f[a+196>>2]=c;return}function PG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377459,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function QG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377404,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function RG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377349,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function SG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377294,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function TG(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.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0;h=a+196|0;e=f[h>>2]|0;if((d|0)==0|(e|0)==0)return;do switch(b|0){case 4:{g=e+((d+c|0)*12|0)|0;if((d|0)<=0)return;b=a+8|0;e=e+(c*12|0)|0;do{YG(b,e,e+12|0,e+24|0,0);e=e+36|0}while(e>>>0<g>>>0);return}case 5:{if((d|0)<=2)return;g=a+8|0;e=e+(c*12|0)|0;b=2;do{if(!(b&1)){c=e+12|0;YG(g,e,c,e+24|0,0);e=c}else{c=e+12|0;YG(g,e,e+24|0,c,0);e=c}b=b+1|0}while((b|0)!=(d|0));return}case 7:{if((d|0)<=3)return;g=a+8|0;e=e+(c*12|0)|0;b=3;while(1){c=e+24|0;YG(g,e,e+12|0,c,0);YG(g,e,c,e+36|0,0);b=b+4|0;if((b|0)>=(d|0))break;else e=e+48|0}return}case 8:{if((d|0)<=3)return;g=a+8|0;e=e+(c*12|0)|0;b=3;do{c=e+36|0;t=e;e=e+24|0;YG(g,t,t+12|0,c,0);YG(g,t,c,e,0);b=b+2|0}while((b|0)<(d|0));return}case 6:case 9:{h=e+(c*12|0)|0;if((d|0)<=2)return;g=a+8|0;e=2;b=h+12|0;do{c=b;b=b+12|0;YG(g,h,c,b,0);e=e+1|0}while((e|0)!=(d|0));return}case 0:{t=e+((d+c|0)*12|0)|0;if((d|0)<=0)return;g=a+8|0;h=g+8|0;a=g+144|0;o=+p[g+32>>3];q=+p[g+64>>3];r=+p[g+96>>3];s=+p[g+128>>3];g=e+(c*12|0)|0;m=+p[h>>3];while(1){j=+n[g>>2];k=+n[g+4>>2];l=+n[g+8>>2];u=s+(o*j+q*k+r*l);i=-u;a:do if(m<=i|u>-0.0)i=m;else{b=f[a>>2]|0;e=f[b>>2]|0;b=f[b+4>>2]|0;if((e|0)!=(b|0))do{if(+p[e+24>>3]+(+p[e>>3]*j+ +p[e+8>>3]*k+ +p[e+16>>3]*l)<0.0){i=m;break a}e=e+40|0}while((e|0)!=(b|0));p[h>>3]=i}while(0);g=g+12|0;if(g>>>0>=t>>>0)break;else m=i}return}case 1:{d=d+c+-1|0;g=e+(d*12|0)|0;if((d|0)<=(c|0))return;b=a+8|0;e=e+(c*12|0)|0;do{ZG(b,e,e+12|0,0);e=e+24|0}while(e>>>0<g>>>0);return}case 3:{d=d+c+-1|0;g=e+(d*12|0)|0;if((d|0)<=(c|0))return;b=a+8|0;e=e+(c*12|0)|0;do{c=e;e=e+12|0;ZG(b,c,e,0)}while(e>>>0<g>>>0);return}case 11:{d=d+c+-2|0;h=e+(d*12|0)|0;b=c+1|0;if((b|0)>=(d|0))return;g=a+8|0;e=e+(b*12|0)|0;do{c=e;e=e+12|0;ZG(g,c,e,0)}while(e>>>0<h>>>0);return}case 2:{d=d+c+-1|0;g=e+(d*12|0)|0;b=a+8|0;if((d|0)>(c|0)){e=e+(c*12|0)|0;do{d=e;e=e+12|0;ZG(b,d,e,0)}while(e>>>0<g>>>0);e=f[h>>2]|0}ZG(b,g,e+(c*12|0)|0,0);return}default:return}while(0)}function UG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$G(a,b,c,d);return}function VG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;_G(a,b,c,d);return}function WG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;XG(a,b,c,d);return}function XG(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.0,j=0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0,w=0.0;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{g=d+(c<<2)|0;if((c|0)<=0)return;e=a+8|0;b=a+196|0;do{c=f[b>>2]|0;YG(e,c+((f[d>>2]|0)*12|0)|0,c+((f[d+4>>2]|0)*12|0)|0,c+((f[d+8>>2]|0)*12|0)|0,0);d=d+12|0}while(d>>>0<g>>>0);return}case 5:{if((c|0)<=2)return;j=a+8|0;h=a+196|0;g=2;do{b=f[h>>2]|0;e=b+((f[d>>2]|0)*12|0)|0;if(!(g&1)){u=d+4|0;YG(j,e,b+((f[u>>2]|0)*12|0)|0,b+((f[d+8>>2]|0)*12|0)|0,0);d=u}else{u=d+4|0;YG(j,e,b+((f[d+8>>2]|0)*12|0)|0,b+((f[u>>2]|0)*12|0)|0,0);d=u}g=g+1|0}while((g|0)!=(c|0));return}case 7:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;while(1){h=f[e>>2]|0;j=h+((f[d>>2]|0)*12|0)|0;a=h+((f[d+8>>2]|0)*12|0)|0;u=h+((f[d+12>>2]|0)*12|0)|0;YG(g,j,h+((f[d+4>>2]|0)*12|0)|0,a,0);YG(g,j,a,u,0);b=b+4|0;if((b|0)>=(c|0))break;else d=d+16|0}return}case 8:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;do{v=f[e>>2]|0;j=v+((f[d>>2]|0)*12|0)|0;a=v+((f[d+12>>2]|0)*12|0)|0;h=d;d=d+8|0;u=v+((f[d>>2]|0)*12|0)|0;YG(g,j,v+((f[h+4>>2]|0)*12|0)|0,a,0);YG(g,j,a,u,0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{h=a+196|0;e=f[h>>2]|0;j=e+((f[d>>2]|0)*12|0)|0;if((c|0)<=2)return;g=a+8|0;b=d+8|0;YG(g,j,e+((f[d+4>>2]|0)*12|0)|0,e+((f[b>>2]|0)*12|0)|0,0);if((c|0)==3)return;d=b;b=3;do{v=f[h>>2]|0;u=d;d=d+4|0;YG(g,j,v+((f[u>>2]|0)*12|0)|0,v+((f[d>>2]|0)*12|0)|0,0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{u=d+(c<<2)|0;if((c|0)<=0)return;v=a+8|0;g=f[a+196>>2]|0;h=v+8|0;j=v+144|0;q=+p[v+32>>3];r=+p[v+64>>3];s=+p[v+96>>3];t=+p[v+128>>3];o=+p[h>>3];while(1){v=f[d>>2]|0;k=+n[g+(v*12|0)>>2];l=+n[g+(v*12|0)+4>>2];m=+n[g+(v*12|0)+8>>2];w=t+(q*k+r*l+s*m);i=-w;a:do if(o<=i|w>-0.0)i=o;else{e=f[j>>2]|0;b=f[e>>2]|0;e=f[e+4>>2]|0;if((b|0)!=(e|0))do{if(+p[b+24>>3]+(+p[b>>3]*k+ +p[b+8>>3]*l+ +p[b+16>>3]*m)<0.0){i=o;break a}b=b+40|0}while((b|0)!=(e|0));p[h>>3]=i}while(0);d=d+4|0;if(d>>>0>=u>>>0)break;else o=i}return}case 1:{g=d+(c+-1<<2)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{v=f[b>>2]|0;ZG(e,v+((f[d>>2]|0)*12|0)|0,v+((f[d+4>>2]|0)*12|0)|0,0);d=d+8|0}while(d>>>0<g>>>0);return}case 3:{g=d+(c+-1<<2)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{v=f[b>>2]|0;c=d;d=d+4|0;ZG(e,v+((f[c>>2]|0)*12|0)|0,v+((f[d>>2]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 11:{g=d+(c+-2<<2)|0;if((c|0)<=3)return;e=a+8|0;b=a+196|0;d=d+4|0;do{v=f[b>>2]|0;c=d;d=d+4|0;ZG(e,v+((f[c>>2]|0)*12|0)|0,v+((f[d>>2]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 2:{h=d+(c+-1<<2)|0;j=a+8|0;g=a+196|0;b=f[g>>2]|0;if((c|0)>1){e=d;do{v=e;e=e+4|0;ZG(j,b+((f[v>>2]|0)*12|0)|0,b+((f[e>>2]|0)*12|0)|0,0);b=f[g>>2]|0}while(e>>>0<h>>>0)}ZG(j,b+((f[h>>2]|0)*12|0)|0,b+((f[d>>2]|0)*12|0)|0,0);return}default:return}while(0)}function YG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,o=0,q=0.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,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,$=0.0,aa=0.0;Z=u;u=u+16|0;S=Z;A=+n[b>>2];U=a+32|0;z=+p[U>>3];k=+n[b+4>>2];V=a+64|0;y=+p[V>>3];l=+n[b+8>>2];W=a+96|0;j=+p[W>>3];X=a+128|0;_=+p[X>>3];g=_+(z*A+y*k+j*l);m=-g;q=+n[c>>2];r=+n[c+4>>2];s=+n[c+8>>2];h=_+(z*q+y*r+j*s);t=-h;v=+n[d>>2];w=+n[d+4>>2];x=+n[d+8>>2];j=_+(z*v+y*w+j*x);y=-j;Y=a+8|0;z=+p[Y>>3];if(z<=m&z<=t&z<=y){u=Z;return}if(g>-0.0&h>-0.0&j>-0.0){u=Z;return}R=a+144|0;o=f[R>>2]|0;e=f[o>>2]|0;o=f[o+4>>2]|0;if((e|0)!=(o|0)){i=1;Q=0;while(1){$=+p[e>>3];_=+p[e+8>>3];g=+p[e+16>>3];aa=+p[e+24>>3];h=aa+($*A+_*k+g*l);j=aa+($*q+_*r+g*s);g=aa+($*v+_*w+g*x);if(((h<0.0&1)+(j<0.0&1)+(g<0.0&1)|0)==3){T=48;break}Q=(((h>=0.0&1)+(j>=0.0&1)+(g>=0.0&1)|0)>>>0<3?i:0)|Q;e=e+40|0;if((e|0)==(o|0))break;else i=i<<1}if((T|0)==48){u=Z;return}if(Q|0){O=a+148|0;e=f[O>>2]|0;P=a+152|0;f[P>>2]=e;n[S>>2]=0.0;N=S+4|0;f[N>>2]=f[b>>2];f[N+4>>2]=f[b+4>>2];f[N+8>>2]=f[b+8>>2];N=a+156|0;if((f[N>>2]|0)>>>0>e>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];e=(f[P>>2]|0)+16|0;f[P>>2]=e}else{FG(O,S);e=f[P>>2]|0}n[S>>2]=0.0;M=S+4|0;f[M>>2]=f[c>>2];f[M+4>>2]=f[c+4>>2];f[M+8>>2]=f[c+8>>2];if(e>>>0<(f[N>>2]|0)>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];e=(f[P>>2]|0)+16|0;f[P>>2]=e}else{FG(O,S);e=f[P>>2]|0}n[S>>2]=0.0;M=S+4|0;f[M>>2]=f[d>>2];f[M+4>>2]=f[d+4>>2];f[M+8>>2]=f[d+8>>2];if(e>>>0<(f[N>>2]|0)>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];f[P>>2]=(f[P>>2]|0)+16}else FG(O,S);b=f[R>>2]|0;e=f[b>>2]|0;a:do if((e|0)==(f[b+4>>2]|0)){o=f[P>>2]|0;e=f[O>>2]|0;i=o}else{L=a+160|0;M=a+164|0;K=a+168|0;H=S+4|0;I=S+8|0;J=S+12|0;D=f[O>>2]|0;i=f[P>>2]|0;G=1;F=e;E=D;c=i;a=D;d=i;o=i;e=D;B=b;C=D;while(1){if((E|0)==(c|0))break a;if(!(G&Q))b=E;else{b=f[L>>2]|0;f[M>>2]=b;g=+p[F>>3];h=+p[F+8>>3];j=+p[F+16>>3];k=+p[F+24>>3];e=E;do{n[e>>2]=k+(g*+n[e+4>>2]+h*+n[e+8>>2]+j*+n[e+12>>2]);e=e+16|0}while((e|0)!=(c|0));E=d-a|0;a=E>>4;if(!E)e=B;else{d=0;e=D;o=C;while(1){c=d+1|0;b=(c>>>0)%(a>>>0)|0;i=e+(d<<4)|0;if(!(+n[i>>2]>=0.0)){if(+n[e+(b<<4)>>2]>0.0){e=o;g=+n[o+(b<<4)>>2];T=36}}else{e=f[M>>2]|0;if((e|0)==(f[K>>2]|0))GG(L,i);else{f[e>>2]=f[i>>2];f[e+4>>2]=f[i+4>>2];f[e+8>>2]=f[i+8>>2];f[e+12>>2]=f[i+12>>2];f[M>>2]=(f[M>>2]|0)+16}e=f[O>>2]|0;g=+n[e+(b<<4)>>2];if(g<0.0)T=36}if((T|0)==36){T=0;aa=+n[e+(d<<4)>>2];aa=aa/(aa-g);A=1.0-aa;_=+n[e+(d<<4)+4>>2]*A+aa*+n[e+(b<<4)+4>>2];$=+n[e+(d<<4)+8>>2]*A+aa*+n[e+(b<<4)+8>>2];aa=A*+n[e+(d<<4)+12>>2]+aa*+n[e+(b<<4)+12>>2];f[S>>2]=0;n[H>>2]=_;n[I>>2]=$;n[J>>2]=aa;e=f[M>>2]|0;if(e>>>0<(f[K>>2]|0)>>>0){f[e>>2]=f[S>>2];f[e+4>>2]=f[S+4>>2];f[e+8>>2]=f[S+8>>2];f[e+12>>2]=f[S+12>>2];f[M>>2]=(f[M>>2]|0)+16}else FG(L,S)}if(c>>>0>=a>>>0)break;o=f[O>>2]|0;d=c;e=o}e=f[R>>2]|0;b=f[M>>2]|0}E=f[O>>2]|0;a=f[L>>2]|0;f[O>>2]=a;f[L>>2]=E;E=f[P>>2]|0;f[P>>2]=b;f[M>>2]=E;E=f[N>>2]|0;f[N>>2]=f[K>>2];f[K>>2]=E;E=a;c=b;B=e;o=c;i=c;e=E;C=E;D=E;d=b;b=E}F=F+40|0;if((F|0)==(f[B+4>>2]|0))break;else{G=G<<1;E=b}}}while(0);if((e|0)==(i|0)){u=Z;return}m=+p[U>>3];l=+p[V>>3];k=+p[W>>3];j=+p[X>>3];h=+p[Y>>3];while(1){g=-(j+(m*+n[e+4>>2]+l*+n[e+8>>2]+k*+n[e+12>>2]));if(h>g)p[Y>>3]=g;else g=h;e=e+16|0;if((e|0)==(o|0))break;else h=g}u=Z;return}}aa=z<m?z:m;aa=aa<t?aa:t;p[Y>>3]=aa<y?aa:y;u=Z;return}function ZG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0.0,A=0.0,B=0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0;h=+n[b>>2];w=h;E=+p[a+32>>3];o=+n[b+4>>2];v=o;D=+p[a+64>>3];l=+n[b+8>>2];s=l;z=+p[a+96>>3];A=+p[a+128>>3];j=A+(E*w+D*v+z*s);g=-j;m=+n[c>>2];t=m;r=+n[c+4>>2];u=r;q=+n[c+8>>2];k=q;i=A+(E*t+D*u+z*k);e=-i;B=a+8|0;C=+p[B>>3];if(C<=g&C<=e)return;if(j>-0.0&i>-0.0)return;y=f[a+144>>2]|0;c=f[y>>2]|0;y=f[y+4>>2]|0;if((c|0)!=(y|0)){d=1;a=0;b=c;while(1){G=+p[b>>3];F=+p[b+8>>3];j=+p[b+16>>3];H=+p[b+24>>3];i=H+(G*w+F*v+j*s);j=H+(G*t+F*u+j*k);if(((i<0.0&1)+(j<0.0&1)|0)==2){x=20;break}a=(((i>=0.0&1)+(j>=0.0&1)|0)>>>0<2?d:0)|a;b=b+40|0;if((b|0)==(y|0))break;else d=d<<1}if((x|0)==20)return;if(a|0){if((c|0)!=(y|0)){d=1;while(1){do if(d&a){G=+p[c>>3];H=+p[c+8>>3];g=+p[c+16>>3];F=+p[c+24>>3];e=F+(G*h+H*o+g*l);g=F+(G*m+H*r+g*q);if(!(e>=0.0)){if(!(g>=0.0)){i=r;e=o;j=q;g=l;k=m;break}G=e/(e-g);H=1.0-G;i=r;e=r*G+o*H;j=q;g=q*G+l*H;k=m;h=m*G+h*H;break}else{if(!(g<0.0)){i=r;e=o;j=q;g=l;k=m;break}H=e/(e-g);k=1.0-H;i=r*H+o*k;e=o;j=q*H+l*k;g=l;k=m*H+h*k;break}}else{i=r;e=o;j=q;g=l;k=m}while(0);c=c+40|0;if((c|0)==(y|0))break;else{d=d<<1;r=i;o=e;q=j;l=g;m=k}}g=-(A+(E*h+D*e+z*g));e=-(A+(E*k+D*i+z*j))}H=C<g?C:g;p[B>>3]=H<e?H:e;return}}H=C<g?C:g;p[B>>3]=H<e?H:e;return}function _G(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.0,k=0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0.0;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{g=d+(c<<1)|0;if((c|0)<=0)return;e=a+8|0;b=a+196|0;do{c=f[b>>2]|0;YG(e,c+((j[d>>1]|0)*12|0)|0,c+((j[d+2>>1]|0)*12|0)|0,c+((j[d+4>>1]|0)*12|0)|0,0);d=d+6|0}while(d>>>0<g>>>0);return}case 5:{if((c|0)<=2)return;k=a+8|0;h=a+196|0;g=2;do{b=f[h>>2]|0;e=b+((j[d>>1]|0)*12|0)|0;if(!(g&1)){v=d+2|0;YG(k,e,b+((j[v>>1]|0)*12|0)|0,b+((j[d+4>>1]|0)*12|0)|0,0);d=v}else{v=d+2|0;YG(k,e,b+((j[d+4>>1]|0)*12|0)|0,b+((j[v>>1]|0)*12|0)|0,0);d=v}g=g+1|0}while((g|0)!=(c|0));return}case 7:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;while(1){h=f[e>>2]|0;k=h+((j[d>>1]|0)*12|0)|0;a=h+((j[d+4>>1]|0)*12|0)|0;v=h+((j[d+6>>1]|0)*12|0)|0;YG(g,k,h+((j[d+2>>1]|0)*12|0)|0,a,0);YG(g,k,a,v,0);b=b+4|0;if((b|0)>=(c|0))break;else d=d+8|0}return}case 8:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;do{w=f[e>>2]|0;k=w+((j[d>>1]|0)*12|0)|0;a=w+((j[d+6>>1]|0)*12|0)|0;h=d;d=d+4|0;v=w+((j[d>>1]|0)*12|0)|0;YG(g,k,w+((j[h+2>>1]|0)*12|0)|0,a,0);YG(g,k,a,v,0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{h=a+196|0;e=f[h>>2]|0;k=e+((j[d>>1]|0)*12|0)|0;if((c|0)<=2)return;g=a+8|0;b=d+4|0;YG(g,k,e+((j[d+2>>1]|0)*12|0)|0,e+((j[b>>1]|0)*12|0)|0,0);if((c|0)==3)return;d=b;b=3;do{w=f[h>>2]|0;v=d;d=d+2|0;YG(g,k,w+((j[v>>1]|0)*12|0)|0,w+((j[d>>1]|0)*12|0)|0,0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{v=d+(c<<1)|0;if((c|0)<=0)return;w=a+8|0;g=f[a+196>>2]|0;h=w+8|0;k=w+144|0;r=+p[w+32>>3];s=+p[w+64>>3];t=+p[w+96>>3];u=+p[w+128>>3];q=+p[h>>3];while(1){w=j[d>>1]|0;l=+n[g+(w*12|0)>>2];m=+n[g+(w*12|0)+4>>2];o=+n[g+(w*12|0)+8>>2];x=u+(r*l+s*m+t*o);i=-x;a:do if(q<=i|x>-0.0)i=q;else{e=f[k>>2]|0;b=f[e>>2]|0;e=f[e+4>>2]|0;if((b|0)!=(e|0))do{if(+p[b+24>>3]+(+p[b>>3]*l+ +p[b+8>>3]*m+ +p[b+16>>3]*o)<0.0){i=q;break a}b=b+40|0}while((b|0)!=(e|0));p[h>>3]=i}while(0);d=d+2|0;if(d>>>0>=v>>>0)break;else q=i}return}case 1:{g=d+(c+-1<<1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;ZG(e,w+((j[d>>1]|0)*12|0)|0,w+((j[d+2>>1]|0)*12|0)|0,0);d=d+4|0}while(d>>>0<g>>>0);return}case 3:{g=d+(c+-1<<1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;c=d;d=d+2|0;ZG(e,w+((j[c>>1]|0)*12|0)|0,w+((j[d>>1]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 11:{g=d+(c+-2<<1)|0;if((c|0)<=3)return;e=a+8|0;b=a+196|0;d=d+2|0;do{w=f[b>>2]|0;c=d;d=d+2|0;ZG(e,w+((j[c>>1]|0)*12|0)|0,w+((j[d>>1]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 2:{h=d+(c+-1<<1)|0;k=a+8|0;g=a+196|0;b=f[g>>2]|0;if((c|0)>1){e=d;do{w=e;e=e+2|0;ZG(k,b+((j[w>>1]|0)*12|0)|0,b+((j[e>>1]|0)*12|0)|0,0);b=f[g>>2]|0}while(e>>>0<h>>>0)}ZG(k,b+((j[h>>1]|0)*12|0)|0,b+((j[d>>1]|0)*12|0)|0,0);return}default:return}while(0)}function $G(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0.0,k=0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0.0;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{g=d+c|0;if((c|0)<=0)return;e=a+8|0;b=a+196|0;do{c=f[b>>2]|0;YG(e,c+((h[d>>0]|0)*12|0)|0,c+((h[d+1>>0]|0)*12|0)|0,c+((h[d+2>>0]|0)*12|0)|0,0);d=d+3|0}while(d>>>0<g>>>0);return}case 5:{if((c|0)<=2)return;k=a+8|0;i=a+196|0;g=2;do{b=f[i>>2]|0;e=b+((h[d>>0]|0)*12|0)|0;if(!(g&1)){a=d+1|0;YG(k,e,b+((h[a>>0]|0)*12|0)|0,b+((h[d+2>>0]|0)*12|0)|0,0);d=a}else{a=d+1|0;YG(k,e,b+((h[d+2>>0]|0)*12|0)|0,b+((h[a>>0]|0)*12|0)|0,0);d=a}g=g+1|0}while((g|0)!=(c|0));return}case 7:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;while(1){i=f[e>>2]|0;k=i+((h[d>>0]|0)*12|0)|0;v=i+((h[d+2>>0]|0)*12|0)|0;a=i+((h[d+3>>0]|0)*12|0)|0;YG(g,k,i+((h[d+1>>0]|0)*12|0)|0,v,0);YG(g,k,v,a,0);b=b+4|0;if((b|0)>=(c|0))break;else d=d+4|0}return}case 8:{if((c|0)<=3)return;g=a+8|0;e=a+196|0;b=3;do{w=f[e>>2]|0;k=w+((h[d>>0]|0)*12|0)|0;v=w+((h[d+3>>0]|0)*12|0)|0;i=d;d=d+2|0;a=w+((h[d>>0]|0)*12|0)|0;YG(g,k,w+((h[i+1>>0]|0)*12|0)|0,v,0);YG(g,k,v,a,0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{i=a+196|0;e=f[i>>2]|0;k=e+((h[d>>0]|0)*12|0)|0;if((c|0)<=2)return;g=a+8|0;b=d+2|0;YG(g,k,e+((h[d+1>>0]|0)*12|0)|0,e+((h[b>>0]|0)*12|0)|0,0);if((c|0)==3)return;d=b;b=3;do{w=f[i>>2]|0;a=d;d=d+1|0;YG(g,k,w+((h[a>>0]|0)*12|0)|0,w+((h[d>>0]|0)*12|0)|0,0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{v=d+c|0;if((c|0)<=0)return;w=a+8|0;i=w+8|0;k=w+144|0;g=f[a+196>>2]|0;r=+p[w+32>>3];s=+p[w+64>>3];t=+p[w+96>>3];u=+p[w+128>>3];q=+p[i>>3];while(1){w=h[d>>0]|0;l=+n[g+(w*12|0)>>2];m=+n[g+(w*12|0)+4>>2];o=+n[g+(w*12|0)+8>>2];x=u+(r*l+s*m+t*o);j=-x;a:do if(q<=j|x>-0.0)j=q;else{e=f[k>>2]|0;b=f[e>>2]|0;e=f[e+4>>2]|0;if((b|0)!=(e|0))do{if(+p[b+24>>3]+(+p[b>>3]*l+ +p[b+8>>3]*m+ +p[b+16>>3]*o)<0.0){j=q;break a}b=b+40|0}while((b|0)!=(e|0));p[i>>3]=j}while(0);d=d+1|0;if(d>>>0>=v>>>0)break;else q=j}return}case 1:{g=d+(c+-1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;ZG(e,w+((h[d>>0]|0)*12|0)|0,w+((h[d+1>>0]|0)*12|0)|0,0);d=d+2|0}while(d>>>0<g>>>0);return}case 3:{g=d+(c+-1)|0;if((c|0)<=1)return;e=a+8|0;b=a+196|0;do{w=f[b>>2]|0;c=d;d=d+1|0;ZG(e,w+((h[c>>0]|0)*12|0)|0,w+((h[d>>0]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 11:{g=d+(c+-2)|0;if((c|0)<=3)return;e=a+8|0;b=a+196|0;d=d+1|0;do{w=f[b>>2]|0;c=d;d=d+1|0;ZG(e,w+((h[c>>0]|0)*12|0)|0,w+((h[d>>0]|0)*12|0)|0,0)}while(d>>>0<g>>>0);return}case 2:{i=d+(c+-1)|0;k=a+8|0;g=a+196|0;b=f[g>>2]|0;if((c|0)>1){e=d;do{w=e;e=e+1|0;ZG(k,b+((h[w>>0]|0)*12|0)|0,b+((h[e>>0]|0)*12|0)|0,0);b=f[g>>2]|0}while(e>>>0<i>>>0)}ZG(k,b+((h[i>>0]|0)*12|0)|0,b+((h[d>>0]|0)*12|0)|0,0);return}default:return}while(0)}function aH(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;c=h;d=a+504|0;e=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;f[c>>2]=346256;f[c+4>>2]=0;Fva(d,e,c);f[c>>2]=346256;f[c+4>>2]=0;m0a(a,312584,b,c);c=a+56|0;o_a(c,b+56|0);f[a>>2]=312004;f[d>>2]=312416;f[c>>2]=312228;c=a+372|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[c+24>>2]=0;p[a+400>>3]=3402823466385288598117041.0e14;p[a+408>>3]=-3402823466385288598117041.0e14;f[a+480>>2]=0;f[a+484>>2]=0;c=a+480|0;d=a+476|0;e=a+416|0;g=e+60|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));f[d>>2]=c;f[a+492>>2]=0;f[a+496>>2]=0;f[a+488>>2]=a+492;b=f[b+500>>2]|0;f[a+500>>2]=b;if(!b){u=h;return}a=b+8|0;f[a>>2]=(f[a>>2]|0)+1;u=h;return}function bH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0,r=0,s=0.0;q=f[a+12>>2]|0;a:do if((q&7|0?(d=f[a+16>>2]|0,d|0):0)?(r=a+36|0,f[r>>2]=d,c=f[a+40>>2]|0,i=f[a+44>>2]|0,(c|0)!=(i|0)):0){j=+n[b>>2];k=+n[b+4>>2];l=+n[b+8>>2];m=+n[b+12>>2];o=-m;h=1;while(1){if(h&d){s=+p[c+24>>3]+(+p[c>>3]*j+ +p[c+8>>3]*k+ +p[c+16>>3]*l);e=m<s?1:(s<o)<<31>>31;if((e|0)<0){c=1;break}g=h^d;if(e){f[r>>2]=g;d=g}}c=c+40|0;if((c|0)==(i|0))break a;else h=h<<1}return c|0}while(0);if(q&8|0?+n[a+104>>2]*(+n[a+100>>2]+(+n[b>>2]*+n[a+88>>2]+ +n[b+4>>2]*+n[a+92>>2]+ +n[b+8>>2]*+n[a+96>>2]))>+n[b+12>>2]:0){b=1;return b|0}if(!(q&16)){b=0;return b|0}c=f[a+76>>2]|0;d=a+80|0;if((c|0)==(f[d>>2]|0)){b=0;return b|0}while(1){if(T0a(c,b)|0){c=1;d=17;break}c=c+80|0;if((c|0)==(f[d>>2]|0)){c=0;d=17;break}}if((d|0)==17)return c|0;return 0}function cH(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;c=a+36|0;d=a+32|0;b=a+16|0;do if(f[d>>2]|0){e=a+24|0;g=f[e>>2]|0;if((g|0)==(f[a+28>>2]|0)){iw(a+20|0,b);break}else{f[g>>2]=f[b>>2];f[e>>2]=g+4;break}}while(0);f[b>>2]=f[c>>2];f[d>>2]=(f[d>>2]|0)+1;b=f[a+64>>2]|0;j=a+68|0;c=f[j>>2]|0;if((b|0)!=(c|0))do{h=b+24|0;i=b+20|0;g=b+4|0;do if(f[i>>2]|0){d=b+12|0;e=f[d>>2]|0;if((e|0)==(f[b+16>>2]|0)){iw(b+8|0,g);c=f[j>>2]|0;break}else{f[e>>2]=f[g>>2];f[d>>2]=e+4;break}}while(0);f[g>>2]=f[h>>2];f[i>>2]=(f[i>>2]|0)+1;b=b+52|0}while((b|0)!=(c|0));b=f[a+76>>2]|0;a=a+80|0;if((b|0)==(f[a>>2]|0))return;do{d=b+40|0;e=b+36|0;c=b+20|0;do if(f[e>>2]|0){g=b+28|0;h=f[g>>2]|0;if((h|0)==(f[b+32>>2]|0)){iw(b+24|0,c);break}else{f[h>>2]=f[c>>2];f[g>>2]=h+4;break}}while(0);f[c>>2]=f[d>>2];f[e>>2]=(f[e>>2]|0)+1;c=f[b+68>>2]|0;j=b+72|0;d=f[j>>2]|0;if((c|0)!=(d|0))do{h=c+20|0;i=c+16|0;do if(f[i>>2]|0){e=c+8|0;g=f[e>>2]|0;if((g|0)==(f[c+12>>2]|0)){iw(c+4|0,c);d=f[j>>2]|0;break}else{f[g>>2]=f[c>>2];f[e>>2]=g+4;break}}while(0);f[c>>2]=f[h>>2];f[i>>2]=(f[i>>2]|0)+1;c=c+48|0}while((c|0)!=(d|0));b=b+80|0}while((b|0)!=(f[a>>2]|0));return}function dH(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=a+376|0;d=eH(f[h>>2]|0,c)|0;f[h>>2]=d;h=c+120|0;d=f[h>>2]|0;if(!d)return;i=c+128|0;e=b[i+11>>0]|0;if(e<<24>>24<0)e=f[c+132>>2]|0;else e=e&255;if((e|0)!=0?(d&4|0)!=0|(f[a+436>>2]|0)==0:0){g=a+384|0;d=a+392|0;e=f[d>>2]|0;if((e|0)==(f[a+396>>2]|0))fH(a+388|0,g);else{f[e>>2]=f[g>>2];f[d>>2]=(f[d>>2]|0)+4}d=f[g>>2]|0;if(!(b[c+140>>0]|0))d=f[d+44>>2]|0;d=gH(d,f[c+124>>2]|0,i)|0;f[g>>2]=d;d=f[h>>2]|0}if(!(d&2))return;a=a+436|0;f[a>>2]=(f[a>>2]|0)+1;return}function eH(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;i=c;j=a+24|0;h=a+28|0;d=f[h>>2]|0;if(d|0){e=h;do{k=(f[d+16>>2]|0)>>>0<c>>>0;e=k?e:d;d=f[(k?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=(h|0)?(f[e+16>>2]|0)>>>0<=c>>>0:0){k=f[e+20>>2]|0;return k|0}}k=EBb(64)|0;v_a(k,0);f[k>>2]=313008;d=k+12|0;f[d>>2]=a;f[k+16>>2]=c;if(!c)e=a;else{e=c+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[d>>2]|0}d=k+20|0;f[d>>2]=0;l=k+28|0;f[l>>2]=0;f[k+32>>2]=0;f[k+24>>2]=l;l=k+36|0;g=k+60|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;b[l+24>>0]=0;if((e|0)!=0?(f[d>>2]=(f[e+20>>2]|0)+1,(b[e+60>>0]|0)!=0):0)d=1;else d=(f[c+24>>2]|0)==0&1;b[g>>0]=d;d=f[h>>2]|0;do if(d){g=a+28|0;while(1){e=f[d+16>>2]|0;if(e>>>0>c>>>0){e=f[d>>2]|0;if(!e){e=16;break}else{g=d;d=e}}else{if(e>>>0>=c>>>0){e=20;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=19;break}else d=e}}if((e|0)==16){c=d;g=d;break}else if((e|0)==19){c=d;break}else if((e|0)==20){c=d;break}}else{c=h;g=h}while(0);d=f[g>>2]|0;if(!d){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]=c;f[g>>2]=d;e=f[f[j>>2]>>2]|0;if(!e)e=d;else{f[j>>2]=e;e=f[g>>2]|0}Xo(f[a+28>>2]|0,e);l=a+32|0;f[l>>2]=(f[l>>2]|0)+1}d=d+20|0;e=f[d>>2]|0;if((e|0)==(k|0)){l=k;return l|0}f[d>>2]=k;l=k+8|0;f[l>>2]=(f[l>>2]|0)+1;if(!e){l=k;return l|0}a=e+8|0;l=f[a>>2]|0;f[a>>2]=l-1;if((l|0)!=1){l=k;return l|0}Rua(e,1,1);l=k;return l|0}function fH(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<c>>>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 gH(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;j=a+48|0;g=a+52|0;d=f[g>>2]|0;if(d|0){e=g;do{i=(f[d+16>>2]|0)<(b|0);e=i?e:d;d=f[(i?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=(g|0)?(f[e+16>>2]|0)<=(b|0):0){a=f[e+20>>2]|0;return a|0}}i=hH(c)|0;if(!i){a=0;return a|0}d=WCb(i,281824,281840,0)|0;if(d|0){f[d+36>>2]=b;f[d+40>>2]=0;f[d+44>>2]=d;iH(f[a+44>>2]|0,d,0);a=i;return a|0}f[i+36>>2]=b;f[i+40>>2]=a;f[i+44>>2]=f[a+44>>2];d=f[g>>2]|0;do if(d){c=a+52|0;while(1){e=f[d+16>>2]|0;if((e|0)>(b|0)){e=f[d>>2]|0;if(!e){e=14;break}else{c=d;d=e}}else{if((e|0)>=(b|0)){e=18;break}c=d+4|0;e=f[c>>2]|0;if(!e){e=17;break}else d=e}}if((e|0)==14){h=d;c=d;break}else if((e|0)==17){h=d;break}else if((e|0)==18){h=d;break}}else{h=g;c=g}while(0);d=f[c>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=b;f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[c>>2]=d;e=f[f[j>>2]>>2]|0;if(!e)e=d;else{f[j>>2]=e;e=f[c>>2]|0}Xo(f[a+52>>2]|0,e);a=a+56|0;f[a>>2]=(f[a>>2]|0)+1}d=d+20|0;e=f[d>>2]|0;if((e|0)==(i|0)){a=i;return a|0}f[d>>2]=i;a=i+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!e){a=i;return a|0}j=e+8|0;a=f[j>>2]|0;f[j>>2]=a-1;if((a|0)!=1){a=i;return a|0}Rua(e,1,1);a=i;return a|0}function hH(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;c=h;if(((jH()|0?(e=jH()|0,e|0):0)?(g=kH(e+12|0,a)|0,(g|0)!=(e+16|0)):0)?(d=f[g+28>>2]|0,d|0):0){a=f[(f[d>>2]|0)+16>>2]|0;f[c>>2]=346256;f[c+4>>2]=2147483647;a=cj[a&1023](d,c)|0;if(!a)a=0;else a=WCb(a,295088,281824,0)|0;g=a;u=h;return g|0}if(qZa(2)|0){d=Nu(Hua(2)|0,377879,20)|0;g=b[a+11>>0]|0;e=g<<24>>24<0;g=Nu(Nu(d,e?f[a>>2]|0:a,e?f[a+4>>2]|0:g&255)|0,377900,66)|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=EBb(104)|0;rZa(g);e=g+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[g+24>>2]=2;f[g+28>>2]=0;f[g>>2]=312772;f[g+32>>2]=0;e=g+52|0;f[e>>2]=0;f[g+56>>2]=0;f[g+48>>2]=e;e=g+60|0;f[g+92>>2]=0;f[g+96>>2]=0;f[g+100>>2]=0;f[g+36>>2]=0;f[g+40>>2]=0;f[g+44>>2]=0;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;b[e+24>>0]=0;e=lH()|0;f[g+88>>2]=e;u=h;return g|0}function iH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;if(!b)return;i=a+108|0;d=f[a+112>>2]|0;e=d;a:do if((i|0)==(e|0))e=i;else while(1){if((f[d+8>>2]|0)>(c|0))break a;d=f[e+4>>2]|0;e=d;if((i|0)==(e|0)){e=i;break}}while(0);g=b+8|0;f[g>>2]=(f[g>>2]|0)+1;h=EBb(16)|0;f[h>>2]=0;f[h+8>>2]=c;f[h+12>>2]=b;f[g>>2]=(f[g>>2]|0)+1;if((i|0)==(e|0)){f[h+4>>2]=i;c=f[i>>2]|0;f[h>>2]=c;f[c+4>>2]=h;f[i>>2]=h;i=a+116|0;f[i>>2]=(f[i>>2]|0)+1;i=f[g>>2]|0;f[g>>2]=i-1;if((i|0)!=1)return;Rua(b,1,1);return}else{i=f[e>>2]|0;f[i+4>>2]=h;f[h>>2]=i;f[d>>2]=h;f[h+4>>2]=e;i=a+116|0;f[i>>2]=(f[i>>2]|0)+1;i=f[g>>2]|0;f[g>>2]=i-1;if((i|0)!=1)return;Rua(b,1,1);return}}function jH(){var a=0;if((b[497128]|0)==0?DDb(497128)|0:0){a=EBb(24)|0;$H(a);f[124729]=a;a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}return f[124729]|0}function kH(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<h>>>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<l>>>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<l>>>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 lH(){var a=0;do if((b[505016]|0)==0?(b[505016]=1,a=sh(377967)|0,a|0):0){if(!(cnb(a,377993)|0)){f[124728]=0;break}if(!(cnb(a,378007)|0)){f[124728]=1;break}if(!(cnb(a,378040)|0)){f[124728]=2;break}if(!(cnb(a,378059)|0)){f[124728]=3;break}if(!(cnb(a,378078)|0))f[124728]=4}while(0);return f[124728]|0}function mH(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=312772;b=a+100|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;b=a+96|0;c=f[b>>2]|0;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[b>>2]=0;b=a+92|0;c=f[b>>2]|0;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[b>>2]=0;b=f[a+72>>2]|0;if(b|0){f[a+76>>2]=b;GBb(b)}b=f[a+60>>2]|0;if(b|0){f[a+64>>2]=b;GBb(b)}YH(a+48|0,f[a+52>>2]|0);b=a+32|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Gva(a);return}d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[b>>2]=0;Gva(a);return}Rua(c,1,1);f[b>>2]=0;Gva(a);return}function nH(a){a=a|0;mH(a);GBb(a);return}function oH(a){a=a|0;var c=0;a=EBb(104)|0;rZa(a);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=312772;f[a+32>>2]=0;c=a+52|0;f[c>>2]=0;f[a+56>>2]=0;f[a+48>>2]=c;c=a+60|0;f[a+92>>2]=0;f[a+96>>2]=0;f[a+100>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+44>>2]=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;b[c+24>>0]=0;c=lH()|0;f[a+88>>2]=c;return a|0}function pH(a,b){a=a|0;b=b|0;var c=0;c=EBb(104)|0;ZH(c,a,b);return c|0}function qH(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,281824,0)|0)!=0;return b|0}function rH(a){a=a|0;return 377210}function sH(a){a=a|0;return 378215}function tH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[a+100>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+48>>2]|0;e=a+52|0;if((c|0)==(e|0))return;d=c;while(1){c=f[d+20>>2]|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[d+4>>2]|0;if(!c){a=d+8|0;c=f[a>>2]|0;if((f[c>>2]|0)!=(d|0))do{d=f[a>>2]|0;a=d+8|0;c=f[a>>2]|0}while((f[c>>2]|0)!=(d|0))}else while(1){a=f[c>>2]|0;if(!a)break;else c=a}if((c|0)==(e|0))break;else d=c}return}function uH(a){a=a|0;var c=0,d=0;f[a+64>>2]=f[a+60>>2];f[a+76>>2]=f[a+72>>2];d=a+48|0;c=a+52|0;YH(d,f[c>>2]|0);f[a+56>>2]=0;f[d>>2]=c;f[c>>2]=0;b[a+84>>0]=0;return}function vH(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=a+84|0;if(b[h>>0]|0)return;c=f[a+48>>2]|0;g=a+52|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+20>>2]|0;tj[f[(f[c>>2]|0)+168>>2]&2047](c);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(g|0))break;else e=c}}c=f[a+92>>2]|0;if(!c)tj[f[(f[a>>2]|0)+172>>2]&2047](a);else Bj[f[(f[c>>2]|0)+12>>2]&1023](c,a);b[h>>0]=1;return}function wH(a){a=a|0;switch(f[a+88>>2]|0){case 0:{tj[f[(f[a>>2]|0)+176>>2]&2047](a);return}case 1:{tj[f[(f[a>>2]|0)+180>>2]&2047](a);return}case 2:{tj[f[(f[a>>2]|0)+184>>2]&2047](a);return}case 3:{tj[f[(f[a>>2]|0)+188>>2]&2047](a);return}case 4:{tj[f[(f[a>>2]|0)+192>>2]&2047](a);return}default:return}}function xH(a){a=a|0;return}function yH(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0;o=u;u=u+16|0;i=o;k=a+60|0;b=f[k>>2]|0;g=a+64|0;if((b|0)==(f[g>>2]|0)){m=b;l=b;RH(l,m,i);u=o;return}do{a=f[b>>2]|0;SH(f[a+36>>2]|0,f[a+40>>2]|0,i);a=f[b>>2]|0;e=a+52|0;if((+n[e>>2]==3402823466385288598117041.0e14?(j=f[a+36>>2]|0,l=f[a+40>>2]|0,(j|0)!=(l|0)):0)?(m=f[(f[j>>2]|0)+28>>2]|0,f[e>>2]=m,h=j+4|0,(h|0)!=(l|0)):0){a=h;d=(f[s>>2]=m,+n[s>>2]);while(1){c=+n[(f[a>>2]|0)+28>>2];if(c<d)n[e>>2]=c;else c=d;a=a+4|0;if((a|0)==(l|0))break;else d=c}}b=b+4|0}while((b|0)!=(f[g>>2]|0));m=b;l=f[k>>2]|0;RH(l,m,i);u=o;return}function zH(a){a=a|0;var b=0;b=u;u=u+16|0;FH(a);OH(f[a+72>>2]|0,f[a+76>>2]|0,b);u=b;return}function AH(a){a=a|0;var b=0;b=u;u=u+16|0;FH(a);LH(f[a+72>>2]|0,f[a+76>>2]|0,b);u=b;return}function BH(a){a=a|0;var b=0;b=u;u=u+16|0;FH(a);GH(f[a+72>>2]|0,f[a+76>>2]|0,b);u=b;return}function CH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;f[d>>2]=a;g=b+24|0;e=f[g>>2]|0;if((e|0)==(f[b+28>>2]|0))fH(b+20|0,d);else{f[e>>2]=a;f[g>>2]=(f[g>>2]|0)+4}d=f[a+96>>2]|0;if(!d){Fj[f[(f[a>>2]|0)+200>>2]&511](a,b,c);c=f[g>>2]|0;c=c+-4|0;f[g>>2]=c;u=h;return}else{Ij[f[(f[d>>2]|0)+12>>2]&127](d,a,b,c);c=f[g>>2]|0;c=c+-4|0;f[g>>2]=c;u=h;return}}function DH(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;l=f[b>>2]|0;e=f[c>>2]|0;if((e|0)!=0?(d=f[e+12>>2]|0,(d|0)!=0):0){e=0;do{e=e+((f[d+16>>2]|0)!=0&1)|0;d=f[d+12>>2]|0}while((d|0)!=0);d=e+((e>>>0>1)<<31>>31)|0}else d=0;j=((f[l+716>>2]|0)-(f[l+712>>2]|0)>>2)-d|0;k=a+100|0;d=f[k>>2]|0;if(d|0)w1a(l,j,d);d=f[a+48>>2]|0;i=a+52|0;a:do if((d|0)!=(i|0)){g=d;while(1){if((f[g+16>>2]|0)>=0){d=g;break a}d=f[g+20>>2]|0;Fj[f[(f[d>>2]|0)+196>>2]&511](d,b,c);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{h=f[e>>2]|0;e=h+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(h|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(i|0)){d=i;break}else g=d}}while(0);e=f[a+72>>2]|0;g=a+76|0;if((e|0)!=(f[g>>2]|0))do{h=f[e>>2]|0;Fj[f[(f[h>>2]|0)+12>>2]&511](h,b,f[c>>2]|0);f[c>>2]=h;e=e+4|0}while((e|0)!=(f[g>>2]|0));e=f[a+60>>2]|0;h=a+64|0;g=f[h>>2]|0;if((e|0)!=(g|0)){a=e;while(1){m=f[a>>2]|0;e=f[m+36>>2]|0;if((e|0)==(f[m+40>>2]|0))e=g;else{do{m=f[e>>2]|0;Fj[f[(f[m>>2]|0)+12>>2]&511](m,b,f[c>>2]|0);f[c>>2]=m;e=e+4|0}while((e|0)!=(f[(f[a>>2]|0)+40>>2]|0));e=f[h>>2]|0}a=a+4|0;if((a|0)==(e|0))break;else g=e}}if((d|0)!=(i|0)){g=d;while(1){d=f[g+20>>2]|0;Fj[f[(f[d>>2]|0)+196>>2]&511](d,b,c);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{m=f[e>>2]|0;e=m+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(m|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(i|0))break;else g=d}}if(!(f[k>>2]|0))return;x1a(l,j);return}function EH(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,i=0;c=f[a+48>>2]|0;i=a+52|0;a:do if((c|0)==(i|0))b=0;else{b=0;while(1){if((f[c+16>>2]|0)>=0)break a;d=f[c+20>>2]|0;b=(_i[f[(f[d>>2]|0)+204>>2]&2047](d)|0)+b|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{g=f[d>>2]|0;d=g+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(g|0))}else{c=d;while(1){d=f[c>>2]|0;if(!d)break;else c=d}}if((c|0)==(i|0)){c=i;break}}}while(0);d=f[a+72>>2]|0;e=f[a+76>>2]|0;if((d|0)!=(e|0))do{b=b+(h[(f[d>>2]|0)+32>>0]|0)|0;d=d+4|0}while((d|0)!=(e|0));d=f[a+60>>2]|0;g=f[a+64>>2]|0;if((d|0)!=(g|0))do{a=f[d>>2]|0;e=f[a+36>>2]|0;a=f[a+40>>2]|0;if((e|0)!=(a|0))do{b=b+(h[(f[e>>2]|0)+32>>0]|0)|0;e=e+4|0}while((e|0)!=(a|0));d=d+4|0}while((d|0)!=(g|0));if((c|0)==(i|0)){i=b;return i|0}do{d=f[c+20>>2]|0;b=(_i[f[(f[d>>2]|0)+204>>2]&2047](d)|0)+b|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{g=f[d>>2]|0;d=g+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(g|0))}else{c=d;while(1){d=f[c>>2]|0;if(!d)break;else c=d}}}while((c|0)!=(i|0));return b|0}function FH(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;m=u;u=u+16|0;h=m;i=a+72|0;j=a+76|0;f[j>>2]=f[i>>2];k=a+60|0;c=f[k>>2]|0;l=a+64|0;d=f[l>>2]|0;if((c|0)==(d|0))b=0;else{b=0;do{g=f[c>>2]|0;b=((f[g+40>>2]|0)-(f[g+36>>2]|0)>>2)+b|0;c=c+4|0}while((c|0)!=(d|0))}JH(i,b);c=f[k>>2]|0;if((c|0)==(f[l>>2]|0)){k=f[k>>2]|0;f[l>>2]=k;u=m;return}g=a+80|0;b=0;do{a=f[c>>2]|0;d=f[a+36>>2]|0;if((d|0)!=(f[a+40>>2]|0))do{e=f[d>>2]|0;if((f[e+28>>2]&2147483647)>>>0>2139095040)b=1;else{f[h>>2]=e;a=f[j>>2]|0;if(a>>>0<(f[g>>2]|0)>>>0){f[a>>2]=e;f[j>>2]=(f[j>>2]|0)+4}else KH(i,h);a=f[c>>2]|0}d=d+4|0}while((d|0)!=(f[a+40>>2]|0));c=c+4|0}while((c|0)!=(f[l>>2]|0));if(!b){k=f[k>>2]|0;f[l>>2]=k;u=m;return}if(!(qZa(3)|0)){k=f[k>>2]|0;f[l>>2]=k;u=m;return}j=Nu(Hua(3)|0,378094,120)|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;k=f[k>>2]|0;f[l>>2]=k;u=m;return}function GH(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;q=b;a:while(1){l=q;d=q+-4|0;m=q+-8|0;n=q;r=a;b:while(1){a=l-r|0;b=a>>2;switch(b|0){case 2:{g=4;break a}case 3:{g=6;break a}case 4:{g=14;break a}case 5:{g=26;break a}case 1:case 0:{g=95;break a}default:{}}if((a|0)<124){g=28;break a}k=r+(((b|0)/2|0)<<2)|0;do if((a|0)<=3996){b=f[k>>2]|0;h=f[r>>2]|0;j=f[b+36>>2]|0;g=f[h+36>>2]|0;e=f[d>>2]|0;a=(f[e+36>>2]|0)>>>0<j>>>0;if(j>>>0>=g>>>0){if(!a){a=0;break}f[k>>2]=e;f[d>>2]=b;a=f[k>>2]|0;b=f[r>>2]|0;if((f[a+36>>2]|0)>>>0>=(f[b+36>>2]|0)>>>0){a=1;break}f[r>>2]=a;f[k>>2]=b;a=2;break}if(a){f[r>>2]=e;f[d>>2]=h;a=1;break}f[r>>2]=b;f[k>>2]=h;a=f[d>>2]|0;if((f[a+36>>2]|0)>>>0<g>>>0){f[k>>2]=a;f[d>>2]=h;a=2}else a=1}else{a=(b|0)/4|0;a=HH(r,r+(a<<2)|0,k,k+(a<<2)|0,d,c)|0}while(0);h=f[r>>2]|0;i=f[h+36>>2]|0;g=f[(f[k>>2]|0)+36>>2]|0;if(i>>>0<g>>>0)e=d;else{if((r|0)==(m|0)){g=59;break}e=m;while(1){b=f[e>>2]|0;if((f[b+36>>2]|0)>>>0<g>>>0)break;e=e+-4|0;if((r|0)==(e|0)){g=59;break b}}f[r>>2]=b;f[e>>2]=h;a=a+1|0}b=r+4|0;c:do if(b>>>0<e>>>0)while(1){j=f[(f[k>>2]|0)+36>>2]|0;while(1){g=f[b>>2]|0;i=b+4|0;if((f[g+36>>2]|0)>>>0<j>>>0)b=i;else break}do{e=e+-4|0;h=f[e>>2]|0}while((f[h+36>>2]|0)>>>0>=j>>>0);if(b>>>0>e>>>0){e=k;break c}f[b>>2]=h;f[e>>2]=g;k=(k|0)==(b|0)?e:k;b=i;a=a+1|0}else e=k;while(0);if((b|0)!=(e|0)?(o=f[e>>2]|0,p=f[b>>2]|0,(f[o+36>>2]|0)>>>0<(f[p+36>>2]|0)>>>0):0){f[b>>2]=o;f[e>>2]=p;a=a+1|0}if(!a){e=IH(r,b,c)|0;a=b+4|0;if(IH(a,q,c)|0){g=88;break}if(e){d=2;b=q;g=93;break}}k=b;if((k-r|0)>=(n-k|0)){g=92;break}GH(r,b,c);r=b+4|0}d:do if((g|0)==59){a=r+4|0;n=f[d>>2]|0;e=n;if(i>>>0>=(f[n+36>>2]|0)>>>0){if((a|0)==(d|0)){g=95;break a}while(1){b=f[a>>2]|0;if(i>>>0<(f[b+36>>2]|0)>>>0)break;a=a+4|0;if((a|0)==(d|0)){g=95;break a}}f[a>>2]=e;f[d>>2]=b;a=a+4|0}if((a|0)==(d|0)){g=95;break a}while(1){h=f[(f[r>>2]|0)+36>>2]|0;while(1){b=f[a>>2]|0;g=a+4|0;if(h>>>0<(f[b+36>>2]|0)>>>0)break;else a=g}do{d=d+-4|0;e=f[d>>2]|0}while(h>>>0<(f[e+36>>2]|0)>>>0);if(a>>>0>=d>>>0){d=4;b=q;g=93;break d}f[a>>2]=e;f[d>>2]=b;a=g}}else if((g|0)==88){d=e?1:2;a=r;b=e?q:b;g=93}else if((g|0)==92){g=0;GH(b+4|0,q,c);a=r}while(0);if((g|0)==93)switch(d&7){case 2:case 4:case 0:break;default:{g=95;break a}}q=b}if((g|0)==4){a=q+-4|0;b=f[a>>2]|0;d=f[r>>2]|0;if((f[b+36>>2]|0)>>>0>=(f[d+36>>2]|0)>>>0)return;f[r>>2]=b;f[a>>2]=d;return}else if((g|0)==6){i=r+4|0;e=q+-4|0;b=f[i>>2]|0;h=f[r>>2]|0;q=f[b+36>>2]|0;g=f[h+36>>2]|0;d=f[e>>2]|0;a=(f[d+36>>2]|0)>>>0<q>>>0;if(q>>>0>=g>>>0){if(!a)return;f[i>>2]=d;f[e>>2]=b;a=f[i>>2]|0;b=f[r>>2]|0;if((f[a+36>>2]|0)>>>0>=(f[b+36>>2]|0)>>>0)return;f[r>>2]=a;f[i>>2]=b;return}if(a){f[r>>2]=d;f[e>>2]=h;return}f[r>>2]=b;f[i>>2]=h;a=f[e>>2]|0;if((f[a+36>>2]|0)>>>0>=g>>>0)return;f[i>>2]=a;f[e>>2]=h;return}else if((g|0)==14){n=r+4|0;m=r+8|0;l=q+-4|0;b=f[n>>2]|0;k=f[r>>2]|0;d=b+36|0;q=f[d>>2]|0;a=k+36|0;e=f[a>>2]|0;j=f[m>>2]|0;g=j+36|0;h=f[g>>2]|0;i=h>>>0<q>>>0;do if(q>>>0<e>>>0){if(i){f[r>>2]=j;f[m>>2]=k;d=a;b=k;break}f[r>>2]=b;f[n>>2]=k;if(h>>>0<e>>>0){f[n>>2]=j;f[m>>2]=k;d=a;b=k}else{d=g;b=j}}else if(i){f[n>>2]=j;f[m>>2]=b;if(h>>>0<e>>>0){f[r>>2]=j;f[n>>2]=k}}else{d=g;b=j}while(0);a=f[l>>2]|0;if((f[a+36>>2]|0)>>>0>=(f[d>>2]|0)>>>0)return;f[m>>2]=a;f[l>>2]=b;a=f[m>>2]|0;b=f[n>>2]|0;e=f[a+36>>2]|0;if(e>>>0>=(f[b+36>>2]|0)>>>0)return;d=a;f[n>>2]=d;f[m>>2]=b;a=f[r>>2]|0;if(e>>>0>=(f[a+36>>2]|0)>>>0)return;f[r>>2]=d;f[n>>2]=a;return}else if((g|0)==26){HH(r,r+4|0,r+8|0,r+12|0,q+-4|0,c)|0;return}else if((g|0)==28){a=r+8|0;k=r+4|0;l=f[k>>2]|0;m=f[r>>2]|0;p=f[l+36>>2]|0;b=f[m+36>>2]|0;d=f[a>>2]|0;e=f[d+36>>2]|0;g=e>>>0<p>>>0;h=l;i=d;j=m;do if(p>>>0<b>>>0){if(g){f[r>>2]=i;f[a>>2]=j;d=m;break}f[r>>2]=h;f[k>>2]=j;if(e>>>0<b>>>0){f[k>>2]=i;f[a>>2]=j;d=m}}else if(g){f[k>>2]=i;f[a>>2]=h;if(e>>>0<b>>>0){f[r>>2]=i;f[k>>2]=j;d=l}else d=l}while(0);b=r+12|0;if((b|0)==(q|0))return;while(1){g=f[b>>2]|0;e=f[g+36>>2]|0;if(e>>>0<(f[d+36>>2]|0)>>>0){d=b;while(1){f[d>>2]=f[a>>2];if((a|0)==(r|0)){a=r;break}d=a+-4|0;if(e>>>0<(f[(f[d>>2]|0)+36>>2]|0)>>>0){p=a;a=d;d=p}else break}f[a>>2]=g}a=b+4|0;if((a|0)==(q|0))break;d=f[b>>2]|0;p=b;b=a;a=p}return}else if((g|0)==95)return}function HH(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,j=0,k=0,l=0,m=0,n=0,o=0;m=f[b>>2]|0;n=f[a>>2]|0;l=m+36|0;o=f[l>>2]|0;i=n+36|0;k=f[i>>2]|0;h=f[c>>2]|0;j=h+36|0;g=(f[j>>2]|0)>>>0<o>>>0;do if(o>>>0<k>>>0){if(g){f[a>>2]=h;f[c>>2]=n;k=1;h=n;break}f[a>>2]=m;f[b>>2]=n;h=f[c>>2]|0;g=h+36|0;if((f[g>>2]|0)>>>0<k>>>0){f[b>>2]=h;f[c>>2]=n;k=2;h=n}else{k=1;i=g}}else if(g){f[b>>2]=h;f[c>>2]=m;g=f[b>>2]|0;h=f[a>>2]|0;if((f[g+36>>2]|0)>>>0<(f[h+36>>2]|0)>>>0){f[a>>2]=g;f[b>>2]=h;h=f[c>>2]|0;k=2;i=h+36|0}else{k=1;i=l;h=m}}else{k=0;i=j}while(0);g=f[d>>2]|0;if((f[g+36>>2]|0)>>>0<(f[i>>2]|0)>>>0){f[c>>2]=g;f[d>>2]=h;g=k+1|0;h=f[c>>2]|0;i=f[b>>2]|0;if((f[h+36>>2]|0)>>>0<(f[i+36>>2]|0)>>>0){f[b>>2]=h;f[c>>2]=i;g=f[b>>2]|0;h=f[a>>2]|0;if((f[g+36>>2]|0)>>>0<(f[h+36>>2]|0)>>>0){f[a>>2]=g;f[b>>2]=h;i=k+3|0}else i=k+2|0}else i=g}else i=k;g=f[e>>2]|0;h=f[d>>2]|0;if((f[g+36>>2]|0)>>>0>=(f[h+36>>2]|0)>>>0){o=i;return o|0}f[d>>2]=g;f[e>>2]=h;g=f[d>>2]|0;h=f[c>>2]|0;if((f[g+36>>2]|0)>>>0>=(f[h+36>>2]|0)>>>0){o=i+1|0;return o|0}f[c>>2]=g;f[d>>2]=h;g=f[c>>2]|0;h=f[b>>2]|0;if((f[g+36>>2]|0)>>>0>=(f[h+36>>2]|0)>>>0){o=i+2|0;return o|0}f[b>>2]=g;f[c>>2]=h;g=f[b>>2]|0;h=f[a>>2]|0;if((f[g+36>>2]|0)>>>0>=(f[h+36>>2]|0)>>>0){o=i+3|0;return o|0}f[a>>2]=g;f[b>>2]=h;o=i+4|0;return o|0}function IH(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;switch(b-a>>2|0){case 2:{c=b+-4|0;d=f[c>>2]|0;e=f[a>>2]|0;if((f[d+36>>2]|0)>>>0>=(f[e+36>>2]|0)>>>0){a=1;return a|0}f[a>>2]=d;f[c>>2]=e;a=1;return a|0}case 3:{j=a+4|0;g=b+-4|0;d=f[j>>2]|0;i=f[a>>2]|0;b=f[d+36>>2]|0;h=f[i+36>>2]|0;e=f[g>>2]|0;c=(f[e+36>>2]|0)>>>0<b>>>0;if(b>>>0>=h>>>0){if(!c){a=1;return a|0}f[j>>2]=e;f[g>>2]=d;c=f[j>>2]|0;d=f[a>>2]|0;if((f[c+36>>2]|0)>>>0>=(f[d+36>>2]|0)>>>0){a=1;return a|0}f[a>>2]=c;f[j>>2]=d;a=1;return a|0}if(c){f[a>>2]=e;f[g>>2]=i;a=1;return a|0}f[a>>2]=d;f[j>>2]=i;c=f[g>>2]|0;if((f[c+36>>2]|0)>>>0>=h>>>0){a=1;return a|0}f[j>>2]=c;f[g>>2]=i;a=1;return a|0}case 4:{o=a+4|0;n=a+8|0;m=b+-4|0;d=f[o>>2]|0;l=f[a>>2]|0;e=d+36|0;b=f[e>>2]|0;c=l+36|0;g=f[c>>2]|0;k=f[n>>2]|0;h=k+36|0;i=f[h>>2]|0;j=i>>>0<b>>>0;do if(b>>>0<g>>>0){if(j){f[a>>2]=k;f[n>>2]=l;e=c;d=l;break}f[a>>2]=d;f[o>>2]=l;if(i>>>0<g>>>0){f[o>>2]=k;f[n>>2]=l;e=c;d=l}else{e=h;d=k}}else if(j){f[o>>2]=k;f[n>>2]=d;if(i>>>0<g>>>0){f[a>>2]=k;f[o>>2]=l}}else{e=h;d=k}while(0);c=f[m>>2]|0;if((f[c+36>>2]|0)>>>0>=(f[e>>2]|0)>>>0){a=1;return a|0}f[n>>2]=c;f[m>>2]=d;c=f[n>>2]|0;d=f[o>>2]|0;g=f[c+36>>2]|0;if(g>>>0>=(f[d+36>>2]|0)>>>0){a=1;return a|0}e=c;f[o>>2]=e;f[n>>2]=d;c=f[a>>2]|0;if(g>>>0>=(f[c+36>>2]|0)>>>0){a=1;return a|0}f[a>>2]=e;f[o>>2]=c;a=1;return a|0}case 5:{HH(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;a=1;return a|0}case 1:case 0:{a=1;return a|0}default:{d=a+8|0;k=a+4|0;l=f[k>>2]|0;m=f[a>>2]|0;p=f[l+36>>2]|0;n=f[m+36>>2]|0;e=f[d>>2]|0;c=f[e+36>>2]|0;g=c>>>0<p>>>0;h=l;i=e;j=m;do if(p>>>0<n>>>0){if(g){f[a>>2]=i;f[d>>2]=j;e=m;break}f[a>>2]=h;f[k>>2]=j;if(c>>>0<n>>>0){f[k>>2]=i;f[d>>2]=j;e=m}}else if(g){f[k>>2]=i;f[d>>2]=h;if(c>>>0<n>>>0){f[a>>2]=i;f[k>>2]=j;e=l}else e=l}while(0);c=a+12|0;if((c|0)==(b|0)){p=1;return p|0}i=c;c=0;while(1){h=f[i>>2]|0;g=f[h+36>>2]|0;if(g>>>0<(f[e+36>>2]|0)>>>0){e=i;while(1){f[e>>2]=f[d>>2];if((d|0)==(a|0)){d=a;break}e=d+-4|0;if(g>>>0<(f[(f[e>>2]|0)+36>>2]|0)>>>0){p=d;d=e;e=p}else break}f[d>>2]=h;c=c+1|0;if((c|0)==8)break}d=i+4|0;if((d|0)==(b|0)){c=1;o=43;break}e=f[i>>2]|0;p=i;i=d;d=p}if((o|0)==43)return c|0;p=(i+4|0)==(b|0);return p|0}}return 0}function JH(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 KH(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<c>>>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 LH(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;s=b;a:while(1){m=s;d=s+-4|0;o=s+-8|0;p=s;t=a;b:while(1){a=m-t|0;b=a>>2;switch(b|0){case 2:{h=4;break a}case 3:{h=6;break a}case 4:{h=14;break a}case 5:{h=26;break a}case 1:case 0:{h=95;break a}default:{}}if((a|0)<124){h=28;break a}l=t+(((b|0)/2|0)<<2)|0;do if((a|0)<=3996){b=f[l>>2]|0;h=f[t>>2]|0;e=+n[h+28>>2];j=+n[b+28>>2];g=f[d>>2]|0;a=j<+n[g+28>>2];if(!(e<j)){if(!a){a=0;break}f[l>>2]=g;f[d>>2]=b;a=f[l>>2]|0;b=f[t>>2]|0;if(!(+n[b+28>>2]<+n[a+28>>2])){a=1;break}f[t>>2]=a;f[l>>2]=b;a=2;break}if(a){f[t>>2]=g;f[d>>2]=h;a=1;break}f[t>>2]=b;f[l>>2]=h;a=f[d>>2]|0;if(e<+n[a+28>>2]){f[l>>2]=a;f[d>>2]=h;a=2}else a=1}else{a=(b|0)/4|0;a=MH(t,t+(a<<2)|0,l,l+(a<<2)|0,d,c)|0}while(0);h=f[t>>2]|0;e=+n[(f[l>>2]|0)+28>>2];j=+n[h+28>>2];if(e<j)g=d;else{if((t|0)==(o|0)){h=59;break}g=o;while(1){b=f[g>>2]|0;if(e<+n[b+28>>2])break;g=g+-4|0;if((t|0)==(g|0)){h=59;break b}}f[t>>2]=b;f[g>>2]=h;a=a+1|0}b=t+4|0;c:do if(b>>>0<g>>>0)while(1){e=+n[(f[l>>2]|0)+28>>2];while(1){h=f[b>>2]|0;k=b+4|0;if(e<+n[h+28>>2])b=k;else break}do{g=g+-4|0;i=f[g>>2]|0}while(!(e<+n[i+28>>2]));if(b>>>0>g>>>0){g=l;break c}f[b>>2]=i;f[g>>2]=h;l=(l|0)==(b|0)?g:l;b=k;a=a+1|0}else g=l;while(0);if((b|0)!=(g|0)?(q=f[g>>2]|0,r=f[b>>2]|0,+n[r+28>>2]<+n[q+28>>2]):0){f[b>>2]=q;f[g>>2]=r;a=a+1|0}if(!a){g=NH(t,b,c)|0;a=b+4|0;if(NH(a,s,c)|0){h=88;break}if(g){d=2;b=s;h=93;break}}l=b;if((l-t|0)>=(p-l|0)){h=92;break}LH(t,b,c);t=b+4|0}d:do if((h|0)==59){a=t+4|0;p=f[d>>2]|0;g=p;if(!(+n[p+28>>2]<j)){if((a|0)==(d|0)){h=95;break a}while(1){b=f[a>>2]|0;if(+n[b+28>>2]<j)break;a=a+4|0;if((a|0)==(d|0)){h=95;break a}}f[a>>2]=g;f[d>>2]=b;a=a+4|0}if((a|0)==(d|0)){h=95;break a}while(1){e=+n[(f[t>>2]|0)+28>>2];while(1){b=f[a>>2]|0;h=a+4|0;if(+n[b+28>>2]<e)break;else a=h}do{d=d+-4|0;g=f[d>>2]|0}while(+n[g+28>>2]<e);if(a>>>0>=d>>>0){d=4;b=s;h=93;break d}f[a>>2]=g;f[d>>2]=b;a=h}}else if((h|0)==88){d=g?1:2;a=t;b=g?s:b;h=93}else if((h|0)==92){h=0;LH(b+4|0,s,c);a=t}while(0);if((h|0)==93)switch(d&7){case 2:case 4:case 0:break;default:{h=95;break a}}s=b}if((h|0)==4){a=s+-4|0;b=f[a>>2]|0;d=f[t>>2]|0;if(!(+n[d+28>>2]<+n[b+28>>2]))return;f[t>>2]=b;f[a>>2]=d;return}else if((h|0)==6){i=t+4|0;g=s+-4|0;b=f[i>>2]|0;h=f[t>>2]|0;e=+n[h+28>>2];j=+n[b+28>>2];d=f[g>>2]|0;a=j<+n[d+28>>2];if(!(e<j)){if(!a)return;f[i>>2]=d;f[g>>2]=b;a=f[i>>2]|0;b=f[t>>2]|0;if(!(+n[b+28>>2]<+n[a+28>>2]))return;f[t>>2]=a;f[i>>2]=b;return}if(a){f[t>>2]=d;f[g>>2]=h;return}f[t>>2]=b;f[i>>2]=h;a=f[g>>2]|0;if(!(e<+n[a+28>>2]))return;f[i>>2]=a;f[g>>2]=h;return}else if((h|0)==14){o=t+4|0;m=t+8|0;l=s+-4|0;b=f[o>>2]|0;k=f[t>>2]|0;d=k+28|0;e=+n[d>>2];a=b+28|0;u=+n[a>>2];i=f[m>>2]|0;g=i+28|0;j=+n[g>>2];h=u<j;do if(e<u){if(h){f[t>>2]=i;f[m>>2]=k;b=k;break}f[t>>2]=b;f[o>>2]=k;if(e<j){f[o>>2]=i;f[m>>2]=k;b=k}else{d=g;b=i}}else if(h){f[o>>2]=i;f[m>>2]=b;if(e<j){f[t>>2]=i;f[o>>2]=k;d=a}else d=a}else{d=g;b=i}while(0);a=f[l>>2]|0;if(!(+n[d>>2]<+n[a+28>>2]))return;f[m>>2]=a;f[l>>2]=b;a=f[m>>2]|0;b=f[o>>2]|0;e=+n[a+28>>2];if(!(+n[b+28>>2]<e))return;d=a;f[o>>2]=d;f[m>>2]=b;a=f[t>>2]|0;if(!(+n[a+28>>2]<e))return;f[t>>2]=d;f[o>>2]=a;return}else if((h|0)==26){MH(t,t+4|0,t+8|0,t+12|0,s+-4|0,c)|0;return}else if((h|0)==28){a=t+8|0;k=t+4|0;l=f[k>>2]|0;m=f[t>>2]|0;e=+n[m+28>>2];u=+n[l+28>>2];d=f[a>>2]|0;j=+n[d+28>>2];b=u<j;g=l;h=d;i=m;do if(e<u){if(b){f[t>>2]=h;f[a>>2]=i;d=m;break}f[t>>2]=g;f[k>>2]=i;if(e<j){f[k>>2]=h;f[a>>2]=i;d=m}}else if(b){f[k>>2]=h;f[a>>2]=g;if(e<j){f[t>>2]=h;f[k>>2]=i;d=l}else d=l}while(0);b=t+12|0;if((b|0)==(s|0))return;while(1){g=f[b>>2]|0;e=+n[g+28>>2];if(+n[d+28>>2]<e){d=b;while(1){f[d>>2]=f[a>>2];if((a|0)==(t|0)){a=t;break}d=a+-4|0;if(+n[(f[d>>2]|0)+28>>2]<e){r=a;a=d;d=r}else break}f[a>>2]=g}a=b+4|0;if((a|0)==(s|0))break;d=f[b>>2]|0;r=b;b=a;a=r}return}else if((h|0)==95)return}function MH(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,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;m=f[b>>2]|0;o=f[a>>2]|0;l=o+28|0;k=+n[l>>2];i=m+28|0;q=+n[i>>2];h=f[c>>2]|0;j=h+28|0;g=q<+n[j>>2];do if(k<q){if(g){f[a>>2]=h;f[c>>2]=o;p=1;i=l;h=o;break}f[a>>2]=m;f[b>>2]=o;h=f[c>>2]|0;g=h+28|0;if(k<+n[g>>2]){f[b>>2]=h;f[c>>2]=o;p=2;i=l;h=o}else{p=1;i=g}}else if(g){f[b>>2]=h;f[c>>2]=m;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[h+28>>2]<+n[g+28>>2]){f[a>>2]=g;f[b>>2]=h;h=f[c>>2]|0;p=2;i=h+28|0}else{p=1;h=m}}else{p=0;i=j}while(0);g=f[d>>2]|0;if(+n[i>>2]<+n[g+28>>2]){f[c>>2]=g;f[d>>2]=h;g=p+1|0;h=f[c>>2]|0;i=f[b>>2]|0;if(+n[i+28>>2]<+n[h+28>>2]){f[b>>2]=h;f[c>>2]=i;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[h+28>>2]<+n[g+28>>2]){f[a>>2]=g;f[b>>2]=h;i=p+3|0}else i=p+2|0}else i=g}else i=p;g=f[e>>2]|0;h=f[d>>2]|0;if(!(+n[h+28>>2]<+n[g+28>>2])){b=i;return b|0}f[d>>2]=g;f[e>>2]=h;g=f[d>>2]|0;h=f[c>>2]|0;if(!(+n[h+28>>2]<+n[g+28>>2])){b=i+1|0;return b|0}f[c>>2]=g;f[d>>2]=h;g=f[c>>2]|0;h=f[b>>2]|0;if(!(+n[h+28>>2]<+n[g+28>>2])){b=i+2|0;return b|0}f[b>>2]=g;f[c>>2]=h;g=f[b>>2]|0;h=f[a>>2]|0;if(!(+n[h+28>>2]<+n[g+28>>2])){b=i+3|0;return b|0}f[a>>2]=g;f[b>>2]=h;b=i+4|0;return b|0}function NH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;switch(b-a>>2|0){case 2:{c=b+-4|0;d=f[c>>2]|0;e=f[a>>2]|0;if(!(+n[e+28>>2]<+n[d+28>>2])){a=1;return a|0}f[a>>2]=d;f[c>>2]=e;a=1;return a|0}case 3:{j=a+4|0;h=b+-4|0;d=f[j>>2]|0;i=f[a>>2]|0;g=+n[i+28>>2];k=+n[d+28>>2];e=f[h>>2]|0;c=k<+n[e+28>>2];if(!(g<k)){if(!c){a=1;return a|0}f[j>>2]=e;f[h>>2]=d;c=f[j>>2]|0;d=f[a>>2]|0;if(!(+n[d+28>>2]<+n[c+28>>2])){a=1;return a|0}f[a>>2]=c;f[j>>2]=d;a=1;return a|0}if(c){f[a>>2]=e;f[h>>2]=i;a=1;return a|0}f[a>>2]=d;f[j>>2]=i;c=f[h>>2]|0;if(!(g<+n[c+28>>2])){a=1;return a|0}f[j>>2]=c;f[h>>2]=i;a=1;return a|0}case 4:{p=a+4|0;o=a+8|0;m=b+-4|0;d=f[p>>2]|0;l=f[a>>2]|0;e=l+28|0;g=+n[e>>2];c=d+28|0;q=+n[c>>2];j=f[o>>2]|0;h=j+28|0;k=+n[h>>2];i=q<k;do if(g<q){if(i){f[a>>2]=j;f[o>>2]=l;d=l;break}f[a>>2]=d;f[p>>2]=l;if(g<k){f[p>>2]=j;f[o>>2]=l;d=l}else{e=h;d=j}}else if(i){f[p>>2]=j;f[o>>2]=d;if(g<k){f[a>>2]=j;f[p>>2]=l;e=c}else e=c}else{e=h;d=j}while(0);c=f[m>>2]|0;if(!(+n[e>>2]<+n[c+28>>2])){a=1;return a|0}f[o>>2]=c;f[m>>2]=d;c=f[o>>2]|0;d=f[p>>2]|0;g=+n[c+28>>2];if(!(+n[d+28>>2]<g)){a=1;return a|0}e=c;f[p>>2]=e;f[o>>2]=d;c=f[a>>2]|0;if(!(+n[c+28>>2]<g)){a=1;return a|0}f[a>>2]=e;f[p>>2]=c;a=1;return a|0}case 5:{MH(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;a=1;return a|0}case 1:case 0:{a=1;return a|0}default:{d=a+8|0;l=a+4|0;m=f[l>>2]|0;o=f[a>>2]|0;k=+n[o+28>>2];q=+n[m+28>>2];e=f[d>>2]|0;g=+n[e+28>>2];c=q<g;h=m;i=e;j=o;do if(k<q){if(c){f[a>>2]=i;f[d>>2]=j;e=o;break}f[a>>2]=h;f[l>>2]=j;if(k<g){f[l>>2]=i;f[d>>2]=j;e=o}}else if(c){f[l>>2]=i;f[d>>2]=h;if(k<g){f[a>>2]=i;f[l>>2]=j;e=m}else e=m}while(0);c=a+12|0;if((c|0)==(b|0)){a=1;return a|0}i=c;c=0;while(1){h=f[i>>2]|0;g=+n[h+28>>2];if(+n[e+28>>2]<g){e=i;while(1){f[e>>2]=f[d>>2];if((d|0)==(a|0)){d=a;break}e=d+-4|0;if(+n[(f[e>>2]|0)+28>>2]<g){o=d;d=e;e=o}else break}f[d>>2]=h;c=c+1|0;if((c|0)==8)break}d=i+4|0;if((d|0)==(b|0)){c=1;p=43;break}e=f[i>>2]|0;o=i;i=d;d=o}if((p|0)==43)return c|0;a=(i+4|0)==(b|0);return a|0}}return 0}function OH(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;s=b;a:while(1){m=s;d=s+-4|0;o=s+-8|0;p=s;t=a;b:while(1){a=m-t|0;b=a>>2;switch(b|0){case 2:{h=4;break a}case 3:{h=6;break a}case 4:{h=14;break a}case 5:{h=26;break a}case 1:case 0:{h=95;break a}default:{}}if((a|0)<124){h=28;break a}l=t+(((b|0)/2|0)<<2)|0;do if((a|0)<=3996){b=f[l>>2]|0;h=f[t>>2]|0;j=+n[b+28>>2];e=+n[h+28>>2];g=f[d>>2]|0;a=+n[g+28>>2]<j;if(!(j<e)){if(!a){a=0;break}f[l>>2]=g;f[d>>2]=b;a=f[l>>2]|0;b=f[t>>2]|0;if(!(+n[a+28>>2]<+n[b+28>>2])){a=1;break}f[t>>2]=a;f[l>>2]=b;a=2;break}if(a){f[t>>2]=g;f[d>>2]=h;a=1;break}f[t>>2]=b;f[l>>2]=h;a=f[d>>2]|0;if(+n[a+28>>2]<e){f[l>>2]=a;f[d>>2]=h;a=2}else a=1}else{a=(b|0)/4|0;a=PH(t,t+(a<<2)|0,l,l+(a<<2)|0,d,c)|0}while(0);h=f[t>>2]|0;j=+n[h+28>>2];e=+n[(f[l>>2]|0)+28>>2];if(j<e)g=d;else{if((t|0)==(o|0)){h=59;break}g=o;while(1){b=f[g>>2]|0;if(+n[b+28>>2]<e)break;g=g+-4|0;if((t|0)==(g|0)){h=59;break b}}f[t>>2]=b;f[g>>2]=h;a=a+1|0}b=t+4|0;c:do if(b>>>0<g>>>0)while(1){e=+n[(f[l>>2]|0)+28>>2];while(1){h=f[b>>2]|0;k=b+4|0;if(+n[h+28>>2]<e)b=k;else break}do{g=g+-4|0;i=f[g>>2]|0}while(!(+n[i+28>>2]<e));if(b>>>0>g>>>0){g=l;break c}f[b>>2]=i;f[g>>2]=h;l=(l|0)==(b|0)?g:l;b=k;a=a+1|0}else g=l;while(0);if((b|0)!=(g|0)?(q=f[g>>2]|0,r=f[b>>2]|0,+n[q+28>>2]<+n[r+28>>2]):0){f[b>>2]=q;f[g>>2]=r;a=a+1|0}if(!a){g=QH(t,b,c)|0;a=b+4|0;if(QH(a,s,c)|0){h=88;break}if(g){d=2;b=s;h=93;break}}l=b;if((l-t|0)>=(p-l|0)){h=92;break}OH(t,b,c);t=b+4|0}d:do if((h|0)==59){a=t+4|0;p=f[d>>2]|0;g=p;if(!(j<+n[p+28>>2])){if((a|0)==(d|0)){h=95;break a}while(1){b=f[a>>2]|0;if(j<+n[b+28>>2])break;a=a+4|0;if((a|0)==(d|0)){h=95;break a}}f[a>>2]=g;f[d>>2]=b;a=a+4|0}if((a|0)==(d|0)){h=95;break a}while(1){e=+n[(f[t>>2]|0)+28>>2];while(1){b=f[a>>2]|0;h=a+4|0;if(e<+n[b+28>>2])break;else a=h}do{d=d+-4|0;g=f[d>>2]|0}while(e<+n[g+28>>2]);if(a>>>0>=d>>>0){d=4;b=s;h=93;break d}f[a>>2]=g;f[d>>2]=b;a=h}}else if((h|0)==88){d=g?1:2;a=t;b=g?s:b;h=93}else if((h|0)==92){h=0;OH(b+4|0,s,c);a=t}while(0);if((h|0)==93)switch(d&7){case 2:case 4:case 0:break;default:{h=95;break a}}s=b}if((h|0)==4){a=s+-4|0;b=f[a>>2]|0;d=f[t>>2]|0;if(!(+n[b+28>>2]<+n[d+28>>2]))return;f[t>>2]=b;f[a>>2]=d;return}else if((h|0)==6){i=t+4|0;g=s+-4|0;b=f[i>>2]|0;h=f[t>>2]|0;j=+n[b+28>>2];e=+n[h+28>>2];d=f[g>>2]|0;a=+n[d+28>>2]<j;if(!(j<e)){if(!a)return;f[i>>2]=d;f[g>>2]=b;a=f[i>>2]|0;b=f[t>>2]|0;if(!(+n[a+28>>2]<+n[b+28>>2]))return;f[t>>2]=a;f[i>>2]=b;return}if(a){f[t>>2]=d;f[g>>2]=h;return}f[t>>2]=b;f[i>>2]=h;a=f[g>>2]|0;if(!(+n[a+28>>2]<e))return;f[i>>2]=a;f[g>>2]=h;return}else if((h|0)==14){o=t+4|0;m=t+8|0;l=s+-4|0;b=f[o>>2]|0;k=f[t>>2]|0;d=b+28|0;u=+n[d>>2];a=k+28|0;e=+n[a>>2];i=f[m>>2]|0;g=i+28|0;j=+n[g>>2];h=j<u;do if(u<e){if(h){f[t>>2]=i;f[m>>2]=k;d=a;b=k;break}f[t>>2]=b;f[o>>2]=k;if(j<e){f[o>>2]=i;f[m>>2]=k;d=a;b=k}else{d=g;b=i}}else if(h){f[o>>2]=i;f[m>>2]=b;if(j<e){f[t>>2]=i;f[o>>2]=k}}else{d=g;b=i}while(0);a=f[l>>2]|0;if(!(+n[a+28>>2]<+n[d>>2]))return;f[m>>2]=a;f[l>>2]=b;a=f[m>>2]|0;b=f[o>>2]|0;e=+n[a+28>>2];if(!(e<+n[b+28>>2]))return;d=a;f[o>>2]=d;f[m>>2]=b;a=f[t>>2]|0;if(!(e<+n[a+28>>2]))return;f[t>>2]=d;f[o>>2]=a;return}else if((h|0)==26){PH(t,t+4|0,t+8|0,t+12|0,s+-4|0,c)|0;return}else if((h|0)==28){a=t+8|0;k=t+4|0;l=f[k>>2]|0;m=f[t>>2]|0;u=+n[l+28>>2];e=+n[m+28>>2];d=f[a>>2]|0;j=+n[d+28>>2];b=j<u;g=l;h=d;i=m;do if(u<e){if(b){f[t>>2]=h;f[a>>2]=i;d=m;break}f[t>>2]=g;f[k>>2]=i;if(j<e){f[k>>2]=h;f[a>>2]=i;d=m}}else if(b){f[k>>2]=h;f[a>>2]=g;if(j<e){f[t>>2]=h;f[k>>2]=i;d=l}else d=l}while(0);b=t+12|0;if((b|0)==(s|0))return;while(1){g=f[b>>2]|0;e=+n[g+28>>2];if(e<+n[d+28>>2]){d=b;while(1){f[d>>2]=f[a>>2];if((a|0)==(t|0)){a=t;break}d=a+-4|0;if(e<+n[(f[d>>2]|0)+28>>2]){r=a;a=d;d=r}else break}f[a>>2]=g}a=b+4|0;if((a|0)==(s|0))break;d=f[b>>2]|0;r=b;b=a;a=r}return}else if((h|0)==95)return}function PH(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,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;m=f[b>>2]|0;o=f[a>>2]|0;l=m+28|0;q=+n[l>>2];i=o+28|0;k=+n[i>>2];h=f[c>>2]|0;j=h+28|0;g=+n[j>>2]<q;do if(q<k){if(g){f[a>>2]=h;f[c>>2]=o;p=1;h=o;break}f[a>>2]=m;f[b>>2]=o;h=f[c>>2]|0;g=h+28|0;if(+n[g>>2]<k){f[b>>2]=h;f[c>>2]=o;p=2;h=o}else{p=1;i=g}}else if(g){f[b>>2]=h;f[c>>2]=m;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[g+28>>2]<+n[h+28>>2]){f[a>>2]=g;f[b>>2]=h;h=f[c>>2]|0;p=2;i=h+28|0}else{p=1;i=l;h=m}}else{p=0;i=j}while(0);g=f[d>>2]|0;if(+n[g+28>>2]<+n[i>>2]){f[c>>2]=g;f[d>>2]=h;g=p+1|0;h=f[c>>2]|0;i=f[b>>2]|0;if(+n[h+28>>2]<+n[i+28>>2]){f[b>>2]=h;f[c>>2]=i;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[g+28>>2]<+n[h+28>>2]){f[a>>2]=g;f[b>>2]=h;i=p+3|0}else i=p+2|0}else i=g}else i=p;g=f[e>>2]|0;h=f[d>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i;return b|0}f[d>>2]=g;f[e>>2]=h;g=f[d>>2]|0;h=f[c>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i+1|0;return b|0}f[c>>2]=g;f[d>>2]=h;g=f[c>>2]|0;h=f[b>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i+2|0;return b|0}f[b>>2]=g;f[c>>2]=h;g=f[b>>2]|0;h=f[a>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i+3|0;return b|0}f[a>>2]=g;f[b>>2]=h;b=i+4|0;return b|0}function QH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;switch(b-a>>2|0){case 2:{c=b+-4|0;d=f[c>>2]|0;e=f[a>>2]|0;if(!(+n[d+28>>2]<+n[e+28>>2])){a=1;return a|0}f[a>>2]=d;f[c>>2]=e;a=1;return a|0}case 3:{j=a+4|0;h=b+-4|0;d=f[j>>2]|0;i=f[a>>2]|0;k=+n[d+28>>2];g=+n[i+28>>2];e=f[h>>2]|0;c=+n[e+28>>2]<k;if(!(k<g)){if(!c){a=1;return a|0}f[j>>2]=e;f[h>>2]=d;c=f[j>>2]|0;d=f[a>>2]|0;if(!(+n[c+28>>2]<+n[d+28>>2])){a=1;return a|0}f[a>>2]=c;f[j>>2]=d;a=1;return a|0}if(c){f[a>>2]=e;f[h>>2]=i;a=1;return a|0}f[a>>2]=d;f[j>>2]=i;c=f[h>>2]|0;if(!(+n[c+28>>2]<g)){a=1;return a|0}f[j>>2]=c;f[h>>2]=i;a=1;return a|0}case 4:{p=a+4|0;o=a+8|0;m=b+-4|0;d=f[p>>2]|0;l=f[a>>2]|0;e=d+28|0;q=+n[e>>2];c=l+28|0;g=+n[c>>2];j=f[o>>2]|0;h=j+28|0;k=+n[h>>2];i=k<q;do if(q<g){if(i){f[a>>2]=j;f[o>>2]=l;e=c;d=l;break}f[a>>2]=d;f[p>>2]=l;if(k<g){f[p>>2]=j;f[o>>2]=l;e=c;d=l}else{e=h;d=j}}else if(i){f[p>>2]=j;f[o>>2]=d;if(k<g){f[a>>2]=j;f[p>>2]=l}}else{e=h;d=j}while(0);c=f[m>>2]|0;if(!(+n[c+28>>2]<+n[e>>2])){a=1;return a|0}f[o>>2]=c;f[m>>2]=d;c=f[o>>2]|0;d=f[p>>2]|0;g=+n[c+28>>2];if(!(g<+n[d+28>>2])){a=1;return a|0}e=c;f[p>>2]=e;f[o>>2]=d;c=f[a>>2]|0;if(!(g<+n[c+28>>2])){a=1;return a|0}f[a>>2]=e;f[p>>2]=c;a=1;return a|0}case 5:{PH(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;a=1;return a|0}case 1:case 0:{a=1;return a|0}default:{d=a+8|0;l=a+4|0;m=f[l>>2]|0;o=f[a>>2]|0;q=+n[m+28>>2];k=+n[o+28>>2];e=f[d>>2]|0;g=+n[e+28>>2];c=g<q;h=m;i=e;j=o;do if(q<k){if(c){f[a>>2]=i;f[d>>2]=j;e=o;break}f[a>>2]=h;f[l>>2]=j;if(g<k){f[l>>2]=i;f[d>>2]=j;e=o}}else if(c){f[l>>2]=i;f[d>>2]=h;if(g<k){f[a>>2]=i;f[l>>2]=j;e=m}else e=m}while(0);c=a+12|0;if((c|0)==(b|0)){a=1;return a|0}i=c;c=0;while(1){h=f[i>>2]|0;g=+n[h+28>>2];if(g<+n[e+28>>2]){e=i;while(1){f[e>>2]=f[d>>2];if((d|0)==(a|0)){d=a;break}e=d+-4|0;if(g<+n[(f[e>>2]|0)+28>>2]){o=d;d=e;e=o}else break}f[d>>2]=h;c=c+1|0;if((c|0)==8)break}d=i+4|0;if((d|0)==(b|0)){c=1;p=43;break}e=f[i>>2]|0;o=i;i=d;d=o}if((p|0)==43)return c|0;a=(i+4|0)==(b|0);return a|0}}return 0}function RH(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;s=b;a:while(1){m=s;d=s+-4|0;o=s+-8|0;p=s;t=a;b:while(1){a=m-t|0;b=a>>2;switch(b|0){case 2:{h=4;break a}case 3:{h=6;break a}case 4:{h=14;break a}case 5:{h=26;break a}case 1:case 0:{h=95;break a}default:{}}if((a|0)<124){h=28;break a}l=t+(((b|0)/2|0)<<2)|0;do if((a|0)<=3996){b=f[l>>2]|0;h=f[t>>2]|0;j=+n[b+52>>2];e=+n[h+52>>2];g=f[d>>2]|0;a=+n[g+52>>2]<j;if(!(j<e)){if(!a){a=0;break}f[l>>2]=g;f[d>>2]=b;a=f[l>>2]|0;b=f[t>>2]|0;if(!(+n[a+52>>2]<+n[b+52>>2])){a=1;break}f[t>>2]=a;f[l>>2]=b;a=2;break}if(a){f[t>>2]=g;f[d>>2]=h;a=1;break}f[t>>2]=b;f[l>>2]=h;a=f[d>>2]|0;if(+n[a+52>>2]<e){f[l>>2]=a;f[d>>2]=h;a=2}else a=1}else{a=(b|0)/4|0;a=WH(t,t+(a<<2)|0,l,l+(a<<2)|0,d,c)|0}while(0);h=f[t>>2]|0;j=+n[h+52>>2];e=+n[(f[l>>2]|0)+52>>2];if(j<e)g=d;else{if((t|0)==(o|0)){h=59;break}g=o;while(1){b=f[g>>2]|0;if(+n[b+52>>2]<e)break;g=g+-4|0;if((t|0)==(g|0)){h=59;break b}}f[t>>2]=b;f[g>>2]=h;a=a+1|0}b=t+4|0;c:do if(b>>>0<g>>>0)while(1){e=+n[(f[l>>2]|0)+52>>2];while(1){h=f[b>>2]|0;k=b+4|0;if(+n[h+52>>2]<e)b=k;else break}do{g=g+-4|0;i=f[g>>2]|0}while(!(+n[i+52>>2]<e));if(b>>>0>g>>>0){g=l;break c}f[b>>2]=i;f[g>>2]=h;l=(l|0)==(b|0)?g:l;b=k;a=a+1|0}else g=l;while(0);if((b|0)!=(g|0)?(q=f[g>>2]|0,r=f[b>>2]|0,+n[q+52>>2]<+n[r+52>>2]):0){f[b>>2]=q;f[g>>2]=r;a=a+1|0}if(!a){g=XH(t,b,c)|0;a=b+4|0;if(XH(a,s,c)|0){h=88;break}if(g){d=2;b=s;h=93;break}}l=b;if((l-t|0)>=(p-l|0)){h=92;break}RH(t,b,c);t=b+4|0}d:do if((h|0)==59){a=t+4|0;p=f[d>>2]|0;g=p;if(!(j<+n[p+52>>2])){if((a|0)==(d|0)){h=95;break a}while(1){b=f[a>>2]|0;if(j<+n[b+52>>2])break;a=a+4|0;if((a|0)==(d|0)){h=95;break a}}f[a>>2]=g;f[d>>2]=b;a=a+4|0}if((a|0)==(d|0)){h=95;break a}while(1){e=+n[(f[t>>2]|0)+52>>2];while(1){b=f[a>>2]|0;h=a+4|0;if(e<+n[b+52>>2])break;else a=h}do{d=d+-4|0;g=f[d>>2]|0}while(e<+n[g+52>>2]);if(a>>>0>=d>>>0){d=4;b=s;h=93;break d}f[a>>2]=g;f[d>>2]=b;a=h}}else if((h|0)==88){d=g?1:2;a=t;b=g?s:b;h=93}else if((h|0)==92){h=0;RH(b+4|0,s,c);a=t}while(0);if((h|0)==93)switch(d&7){case 2:case 4:case 0:break;default:{h=95;break a}}s=b}if((h|0)==4){a=s+-4|0;b=f[a>>2]|0;d=f[t>>2]|0;if(!(+n[b+52>>2]<+n[d+52>>2]))return;f[t>>2]=b;f[a>>2]=d;return}else if((h|0)==6){i=t+4|0;g=s+-4|0;b=f[i>>2]|0;h=f[t>>2]|0;j=+n[b+52>>2];e=+n[h+52>>2];d=f[g>>2]|0;a=+n[d+52>>2]<j;if(!(j<e)){if(!a)return;f[i>>2]=d;f[g>>2]=b;a=f[i>>2]|0;b=f[t>>2]|0;if(!(+n[a+52>>2]<+n[b+52>>2]))return;f[t>>2]=a;f[i>>2]=b;return}if(a){f[t>>2]=d;f[g>>2]=h;return}f[t>>2]=b;f[i>>2]=h;a=f[g>>2]|0;if(!(+n[a+52>>2]<e))return;f[i>>2]=a;f[g>>2]=h;return}else if((h|0)==14){o=t+4|0;m=t+8|0;l=s+-4|0;b=f[o>>2]|0;k=f[t>>2]|0;d=b+52|0;u=+n[d>>2];a=k+52|0;e=+n[a>>2];i=f[m>>2]|0;g=i+52|0;j=+n[g>>2];h=j<u;do if(u<e){if(h){f[t>>2]=i;f[m>>2]=k;d=a;b=k;break}f[t>>2]=b;f[o>>2]=k;if(j<e){f[o>>2]=i;f[m>>2]=k;d=a;b=k}else{d=g;b=i}}else if(h){f[o>>2]=i;f[m>>2]=b;if(j<e){f[t>>2]=i;f[o>>2]=k}}else{d=g;b=i}while(0);a=f[l>>2]|0;if(!(+n[a+52>>2]<+n[d>>2]))return;f[m>>2]=a;f[l>>2]=b;a=f[m>>2]|0;b=f[o>>2]|0;e=+n[a+52>>2];if(!(e<+n[b+52>>2]))return;d=a;f[o>>2]=d;f[m>>2]=b;a=f[t>>2]|0;if(!(e<+n[a+52>>2]))return;f[t>>2]=d;f[o>>2]=a;return}else if((h|0)==26){WH(t,t+4|0,t+8|0,t+12|0,s+-4|0,c)|0;return}else if((h|0)==28){a=t+8|0;k=t+4|0;l=f[k>>2]|0;m=f[t>>2]|0;u=+n[l+52>>2];e=+n[m+52>>2];d=f[a>>2]|0;j=+n[d+52>>2];b=j<u;g=l;h=d;i=m;do if(u<e){if(b){f[t>>2]=h;f[a>>2]=i;d=m;break}f[t>>2]=g;f[k>>2]=i;if(j<e){f[k>>2]=h;f[a>>2]=i;d=m}}else if(b){f[k>>2]=h;f[a>>2]=g;if(j<e){f[t>>2]=h;f[k>>2]=i;d=l}else d=l}while(0);b=t+12|0;if((b|0)==(s|0))return;while(1){g=f[b>>2]|0;e=+n[g+52>>2];if(e<+n[d+52>>2]){d=b;while(1){f[d>>2]=f[a>>2];if((a|0)==(t|0)){a=t;break}d=a+-4|0;if(e<+n[(f[d>>2]|0)+52>>2]){r=a;a=d;d=r}else break}f[a>>2]=g}a=b+4|0;if((a|0)==(s|0))break;d=f[b>>2]|0;r=b;b=a;a=r}return}else if((h|0)==95)return}function SH(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;a:while(1){o=b;g=b+-4|0;p=b+-8|0;q=b;t=a;b:while(1){a=o-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=+n[d+28>>2];i=f[t>>2]|0;e=+n[i+28>>2];h=f[g>>2]|0;a=+n[h+28>>2]<j;if(!(j<e)){if(!a){a=0;d=m;l=t;break}f[m>>2]=h;f[g>>2]=d;a=f[m>>2]|0;d=f[t>>2]|0;if(!(+n[a+28>>2]<+n[d+28>>2])){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(+n[a+28>>2]<e){f[m>>2]=a;f[g>>2]=i;a=2;d=m;l=t}else{a=1;d=m;l=t}}else{a=(d|0)/4|0;a=TH(t,t+(a<<2)|0,m,m+(a<<2)|0,g,c)|0;d=m;l=t}while(0);i=f[l>>2]|0;j=+n[i+28>>2];e=+n[(f[d>>2]|0)+28>>2];if(j<e)d=g;else{if((t|0)==(p|0)){k=43;break}d=p;while(1){h=f[d>>2]|0;if(+n[h+28>>2]<e)break;d=d+-4|0;if((t|0)==(d|0)){k=43;break b}}f[t>>2]=h;f[d>>2]=i;a=a+1|0}h=t+4|0;c:do if(h>>>0<d>>>0)while(1){e=+n[(f[m>>2]|0)+28>>2];while(1){i=f[h>>2]|0;l=h+4|0;if(+n[i+28>>2]<e)h=l;else break}do{d=d+-4|0;k=f[d>>2]|0}while(!(+n[k+28>>2]<e));if(h>>>0>d>>>0){d=m;break c}f[h>>2]=k;f[d>>2]=i;m=(m|0)==(h|0)?d:m;h=l;a=a+1|0}else d=m;while(0);if((h|0)!=(d|0)?(r=f[d>>2]|0,s=f[h>>2]|0,+n[r+28>>2]<+n[s+28>>2]):0){f[h>>2]=r;f[d>>2]=s;a=a+1|0}if(!a){i=VH(t,h,c)|0;a=h+4|0;if(VH(a,b,c)|0){k=72;break}if(i){d=2;k=77;break}}m=h;if((m-t|0)>=(q-m|0)){k=76;break}SH(t,h,c);t=h+4|0}d:do if((k|0)==43){a=t+4|0;t=f[g>>2]|0;h=t;if(!(j<+n[t+28>>2])){if((a|0)==(g|0)){k=79;break a}while(1){d=f[a>>2]|0;if(j<+n[d+28>>2])break;a=a+4|0;if((a|0)==(g|0)){k=79;break a}}f[a>>2]=h;f[g>>2]=d;a=a+4|0}if((a|0)==(g|0)){k=79;break a}while(1){e=+n[(f[l>>2]|0)+28>>2];while(1){d=f[a>>2]|0;i=a+4|0;if(e<+n[d+28>>2])break;else a=i}do{g=g+-4|0;h=f[g>>2]|0}while(e<+n[h+28>>2]);if(a>>>0>=g>>>0){d=4;k=77;break d}f[a>>2]=h;f[g>>2]=d;a=i}}else if((k|0)==72){d=i?1:2;a=t;b=i?b:h;k=77}else if((k|0)==76){k=0;SH(h+4|0,b,c);a=t;b=h}while(0);if((k|0)==77)switch(d&7){case 2:case 4:case 0:break;default:{k=79;break a}}}if((k|0)==4){a=b+-4|0;b=f[a>>2]|0;d=f[t>>2]|0;if(!(+n[b+28>>2]<+n[d+28>>2]))return;f[t>>2]=b;f[a>>2]=d;return}else if((k|0)==6){i=t+4|0;g=b+-4|0;b=f[i>>2]|0;j=+n[b+28>>2];h=f[t>>2]|0;e=+n[h+28>>2];d=f[g>>2]|0;a=+n[d+28>>2]<j;if(!(j<e)){if(!a)return;f[i>>2]=d;f[g>>2]=b;a=f[i>>2]|0;b=f[t>>2]|0;if(!(+n[a+28>>2]<+n[b+28>>2]))return;f[t>>2]=a;f[i>>2]=b;return}if(a){f[t>>2]=d;f[g>>2]=h;return}f[t>>2]=b;f[i>>2]=h;a=f[g>>2]|0;if(!(+n[a+28>>2]<e))return;f[i>>2]=a;f[g>>2]=h;return}else if((k|0)==14){o=t+4|0;m=t+8|0;l=b+-4|0;b=f[o>>2]|0;d=b+28|0;u=+n[d>>2];k=f[t>>2]|0;a=k+28|0;e=+n[a>>2];i=f[m>>2]|0;g=i+28|0;j=+n[g>>2];h=j<u;do if(u<e){if(h){f[t>>2]=i;f[m>>2]=k;d=a;b=k;break}f[t>>2]=b;f[o>>2]=k;if(j<e){f[o>>2]=i;f[m>>2]=k;d=a;b=k}else{d=g;b=i}}else if(h){f[o>>2]=i;f[m>>2]=b;if(j<e){f[t>>2]=i;f[o>>2]=k}}else{d=g;b=i}while(0);a=f[l>>2]|0;if(!(+n[a+28>>2]<+n[d>>2]))return;f[m>>2]=a;f[l>>2]=b;a=f[m>>2]|0;e=+n[a+28>>2];b=f[o>>2]|0;if(!(e<+n[b+28>>2]))return;d=a;f[o>>2]=d;f[m>>2]=b;a=f[t>>2]|0;if(!(e<+n[a+28>>2]))return;f[t>>2]=d;f[o>>2]=a;return}else if((k|0)==26){TH(t,t+4|0,t+8|0,t+12|0,b+-4|0,c)|0;return}else if((k|0)==28){UH(t,b,c);return}else if((k|0)==79)return}function TH(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,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;m=f[b>>2]|0;l=m+28|0;q=+n[l>>2];o=f[a>>2]|0;i=o+28|0;k=+n[i>>2];h=f[c>>2]|0;j=h+28|0;g=+n[j>>2]<q;do if(q<k){if(g){f[a>>2]=h;f[c>>2]=o;p=1;h=o;break}f[a>>2]=m;f[b>>2]=o;h=f[c>>2]|0;g=h+28|0;if(+n[g>>2]<k){f[b>>2]=h;f[c>>2]=o;p=2;h=o}else{p=1;i=g}}else if(g){f[b>>2]=h;f[c>>2]=m;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[g+28>>2]<+n[h+28>>2]){f[a>>2]=g;f[b>>2]=h;h=f[c>>2]|0;p=2;i=h+28|0}else{p=1;i=l;h=m}}else{p=0;i=j}while(0);g=f[d>>2]|0;if(+n[g+28>>2]<+n[i>>2]){f[c>>2]=g;f[d>>2]=h;g=p+1|0;h=f[c>>2]|0;i=f[b>>2]|0;if(+n[h+28>>2]<+n[i+28>>2]){f[b>>2]=h;f[c>>2]=i;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[g+28>>2]<+n[h+28>>2]){f[a>>2]=g;f[b>>2]=h;i=p+3|0}else i=p+2|0}else i=g}else i=p;g=f[e>>2]|0;h=f[d>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i;return b|0}f[d>>2]=g;f[e>>2]=h;g=f[d>>2]|0;h=f[c>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i+1|0;return b|0}f[c>>2]=g;f[d>>2]=h;g=f[c>>2]|0;h=f[b>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i+2|0;return b|0}f[b>>2]=g;f[c>>2]=h;g=f[b>>2]|0;h=f[a>>2]|0;if(!(+n[g+28>>2]<+n[h+28>>2])){b=i+3|0;return b|0}f[a>>2]=g;f[b>>2]=h;b=i+4|0;return b|0}function UH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0.0,i=0.0,j=0,k=0,l=0,m=0,o=0,p=0,q=0.0;o=a+8|0;k=a+4|0;l=f[k>>2]|0;q=+n[l+28>>2];m=f[a>>2]|0;h=+n[m+28>>2];d=f[o>>2]|0;i=+n[d+28>>2];c=i<q;e=l;g=d;j=m;do if(q<h){if(c){f[a>>2]=g;f[o>>2]=j;d=m;break}f[a>>2]=e;f[k>>2]=j;if(i<h){f[k>>2]=g;f[o>>2]=j;d=m}}else if(c){f[k>>2]=g;f[o>>2]=e;if(i<h){f[a>>2]=g;f[k>>2]=j;d=l}else d=l}while(0);c=a+12|0;if((c|0)==(b|0))return;m=c;c=o;while(1){k=f[m>>2]|0;j=k+28|0;if(+n[j>>2]<+n[d+28>>2]){l=(k|0)==0;if(!l){d=k+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[c>>2]|0}g=m;while(1){e=f[g>>2]|0;if((e|0)!=(d|0)){f[g>>2]=d;if(d|0){o=d+8|0;f[o>>2]=(f[o>>2]|0)+1}if(e|0?(g=e+8|0,o=f[g>>2]|0,f[g>>2]=o-1,(o|0)==1):0)Rua(e,1,1)}if((c|0)==(a|0)){c=a;break}e=c+-4|0;d=f[e>>2]|0;if(!(+n[j>>2]<+n[d+28>>2])){p=24;break}else{g=c;c=e}}if((p|0)==24)p=0;d=f[c>>2]|0;if((d|0)!=(k|0)){f[c>>2]=k;if(!l){o=k+8|0;f[o>>2]=(f[o>>2]|0)+1}if(d|0?(j=d+8|0,o=f[j>>2]|0,f[j>>2]=o-1,(o|0)==1):0)Rua(d,1,1)}if(!l?(l=k+8|0,o=f[l>>2]|0,f[l>>2]=o-1,(o|0)==1):0)Rua(k,1,1)}c=m+4|0;if((c|0)==(b|0))break;d=f[m>>2]|0;o=m;m=c;c=o}return}function VH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;switch(b-a>>2|0){case 2:{d=b+-4|0;e=f[d>>2]|0;c=f[a>>2]|0;if(!(+n[e+28>>2]<+n[c+28>>2])){a=1;return a|0}f[a>>2]=e;f[d>>2]=c;a=1;return a|0}case 3:{j=a+4|0;h=b+-4|0;d=f[j>>2]|0;k=+n[d+28>>2];i=f[a>>2]|0;g=+n[i+28>>2];e=f[h>>2]|0;c=+n[e+28>>2]<k;if(!(k<g)){if(!c){a=1;return a|0}f[j>>2]=e;f[h>>2]=d;c=f[j>>2]|0;d=f[a>>2]|0;if(!(+n[c+28>>2]<+n[d+28>>2])){a=1;return a|0}f[a>>2]=c;f[j>>2]=d;a=1;return a|0}if(c){f[a>>2]=e;f[h>>2]=i;a=1;return a|0}f[a>>2]=d;f[j>>2]=i;c=f[h>>2]|0;if(!(+n[c+28>>2]<g)){a=1;return a|0}f[j>>2]=c;f[h>>2]=i;a=1;return a|0}case 4:{p=a+4|0;o=a+8|0;m=b+-4|0;d=f[p>>2]|0;e=d+28|0;q=+n[e>>2];l=f[a>>2]|0;c=l+28|0;g=+n[c>>2];j=f[o>>2]|0;h=j+28|0;k=+n[h>>2];i=k<q;do if(q<g){if(i){f[a>>2]=j;f[o>>2]=l;e=c;d=l;break}f[a>>2]=d;f[p>>2]=l;if(k<g){f[p>>2]=j;f[o>>2]=l;e=c;d=l}else{e=h;d=j}}else if(i){f[p>>2]=j;f[o>>2]=d;if(k<g){f[a>>2]=j;f[p>>2]=l}}else{e=h;d=j}while(0);c=f[m>>2]|0;if(!(+n[c+28>>2]<+n[e>>2])){a=1;return a|0}f[o>>2]=c;f[m>>2]=d;c=f[o>>2]|0;g=+n[c+28>>2];d=f[p>>2]|0;if(!(g<+n[d+28>>2])){a=1;return a|0}e=c;f[p>>2]=e;f[o>>2]=d;c=f[a>>2]|0;if(!(g<+n[c+28>>2])){a=1;return a|0}f[a>>2]=e;f[p>>2]=c;a=1;return a|0}case 5:{TH(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;a=1;return a|0}case 1:case 0:{a=1;return a|0}default:{d=a+8|0;l=a+4|0;m=f[l>>2]|0;q=+n[m+28>>2];o=f[a>>2]|0;k=+n[o+28>>2];e=f[d>>2]|0;g=+n[e+28>>2];c=g<q;h=m;i=e;j=o;do if(q<k){if(c){f[a>>2]=i;f[d>>2]=j;e=o;break}f[a>>2]=h;f[l>>2]=j;if(g<k){f[l>>2]=i;f[d>>2]=j;e=o}}else if(c){f[l>>2]=i;f[d>>2]=h;if(g<k){f[a>>2]=i;f[l>>2]=j;e=m}else e=m}while(0);c=a+12|0;if((c|0)==(b|0)){a=1;return a|0}o=c;c=0;while(1){l=f[o>>2]|0;j=l+28|0;if(+n[j>>2]<+n[e+28>>2]){m=(l|0)==0;if(!m){e=l+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[d>>2]|0}i=o;while(1){h=f[i>>2]|0;if((h|0)!=(e|0)){f[i>>2]=e;if(e|0){i=e+8|0;f[i>>2]=(f[i>>2]|0)+1}if(h|0?(e=h+8|0,i=f[e>>2]|0,f[e>>2]=i-1,(i|0)==1):0)Rua(h,1,1)}if((d|0)==(a|0)){d=a;break}h=d+-4|0;e=f[h>>2]|0;if(!(+n[j>>2]<+n[e+28>>2])){p=47;break}else{i=d;d=h}}if((p|0)==47)p=0;e=f[d>>2]|0;if((e|0)!=(l|0)){f[d>>2]=l;if(!m){j=l+8|0;f[j>>2]=(f[j>>2]|0)+1}if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1)}c=c+1|0;d=(c|0)==8;if(!m?(j=l+8|0,m=f[j>>2]|0,f[j>>2]=m-1,(m|0)==1):0)Rua(l,1,1);if(d)break}d=o+4|0;if((d|0)==(b|0)){c=1;p=61;break}e=f[o>>2]|0;m=o;o=d;d=m}if((p|0)==61)return c|0;a=(o+4|0)==(b|0);return a|0}}return 0}function WH(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,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;m=f[b>>2]|0;o=f[a>>2]|0;l=m+52|0;q=+n[l>>2];i=o+52|0;k=+n[i>>2];h=f[c>>2]|0;j=h+52|0;g=+n[j>>2]<q;do if(q<k){if(g){f[a>>2]=h;f[c>>2]=o;p=1;h=o;break}f[a>>2]=m;f[b>>2]=o;h=f[c>>2]|0;g=h+52|0;if(+n[g>>2]<k){f[b>>2]=h;f[c>>2]=o;p=2;h=o}else{p=1;i=g}}else if(g){f[b>>2]=h;f[c>>2]=m;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[g+52>>2]<+n[h+52>>2]){f[a>>2]=g;f[b>>2]=h;h=f[c>>2]|0;p=2;i=h+52|0}else{p=1;i=l;h=m}}else{p=0;i=j}while(0);g=f[d>>2]|0;if(+n[g+52>>2]<+n[i>>2]){f[c>>2]=g;f[d>>2]=h;g=p+1|0;h=f[c>>2]|0;i=f[b>>2]|0;if(+n[h+52>>2]<+n[i+52>>2]){f[b>>2]=h;f[c>>2]=i;g=f[b>>2]|0;h=f[a>>2]|0;if(+n[g+52>>2]<+n[h+52>>2]){f[a>>2]=g;f[b>>2]=h;i=p+3|0}else i=p+2|0}else i=g}else i=p;g=f[e>>2]|0;h=f[d>>2]|0;if(!(+n[g+52>>2]<+n[h+52>>2])){b=i;return b|0}f[d>>2]=g;f[e>>2]=h;g=f[d>>2]|0;h=f[c>>2]|0;if(!(+n[g+52>>2]<+n[h+52>>2])){b=i+1|0;return b|0}f[c>>2]=g;f[d>>2]=h;g=f[c>>2]|0;h=f[b>>2]|0;if(!(+n[g+52>>2]<+n[h+52>>2])){b=i+2|0;return b|0}f[b>>2]=g;f[c>>2]=h;g=f[b>>2]|0;h=f[a>>2]|0;if(!(+n[g+52>>2]<+n[h+52>>2])){b=i+3|0;return b|0}f[a>>2]=g;f[b>>2]=h;b=i+4|0;return b|0}function XH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0,i=0,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0.0;switch(b-a>>2|0){case 2:{c=b+-4|0;d=f[c>>2]|0;e=f[a>>2]|0;if(!(+n[d+52>>2]<+n[e+52>>2])){a=1;return a|0}f[a>>2]=d;f[c>>2]=e;a=1;return a|0}case 3:{j=a+4|0;h=b+-4|0;d=f[j>>2]|0;i=f[a>>2]|0;k=+n[d+52>>2];g=+n[i+52>>2];e=f[h>>2]|0;c=+n[e+52>>2]<k;if(!(k<g)){if(!c){a=1;return a|0}f[j>>2]=e;f[h>>2]=d;c=f[j>>2]|0;d=f[a>>2]|0;if(!(+n[c+52>>2]<+n[d+52>>2])){a=1;return a|0}f[a>>2]=c;f[j>>2]=d;a=1;return a|0}if(c){f[a>>2]=e;f[h>>2]=i;a=1;return a|0}f[a>>2]=d;f[j>>2]=i;c=f[h>>2]|0;if(!(+n[c+52>>2]<g)){a=1;return a|0}f[j>>2]=c;f[h>>2]=i;a=1;return a|0}case 4:{p=a+4|0;o=a+8|0;m=b+-4|0;d=f[p>>2]|0;l=f[a>>2]|0;e=d+52|0;q=+n[e>>2];c=l+52|0;g=+n[c>>2];j=f[o>>2]|0;h=j+52|0;k=+n[h>>2];i=k<q;do if(q<g){if(i){f[a>>2]=j;f[o>>2]=l;e=c;d=l;break}f[a>>2]=d;f[p>>2]=l;if(k<g){f[p>>2]=j;f[o>>2]=l;e=c;d=l}else{e=h;d=j}}else if(i){f[p>>2]=j;f[o>>2]=d;if(k<g){f[a>>2]=j;f[p>>2]=l}}else{e=h;d=j}while(0);c=f[m>>2]|0;if(!(+n[c+52>>2]<+n[e>>2])){a=1;return a|0}f[o>>2]=c;f[m>>2]=d;c=f[o>>2]|0;d=f[p>>2]|0;g=+n[c+52>>2];if(!(g<+n[d+52>>2])){a=1;return a|0}e=c;f[p>>2]=e;f[o>>2]=d;c=f[a>>2]|0;if(!(g<+n[c+52>>2])){a=1;return a|0}f[a>>2]=e;f[p>>2]=c;a=1;return a|0}case 5:{WH(a,a+4|0,a+8|0,a+12|0,b+-4|0,c)|0;a=1;return a|0}case 1:case 0:{a=1;return a|0}default:{d=a+8|0;l=a+4|0;m=f[l>>2]|0;o=f[a>>2]|0;q=+n[m+52>>2];k=+n[o+52>>2];e=f[d>>2]|0;g=+n[e+52>>2];c=g<q;h=m;i=e;j=o;do if(q<k){if(c){f[a>>2]=i;f[d>>2]=j;e=o;break}f[a>>2]=h;f[l>>2]=j;if(g<k){f[l>>2]=i;f[d>>2]=j;e=o}}else if(c){f[l>>2]=i;f[d>>2]=h;if(g<k){f[a>>2]=i;f[l>>2]=j;e=m}else e=m}while(0);c=a+12|0;if((c|0)==(b|0)){a=1;return a|0}i=c;c=0;while(1){h=f[i>>2]|0;g=+n[h+52>>2];if(g<+n[e+52>>2]){e=i;while(1){f[e>>2]=f[d>>2];if((d|0)==(a|0)){d=a;break}e=d+-4|0;if(g<+n[(f[e>>2]|0)+52>>2]){o=d;d=e;e=o}else break}f[d>>2]=h;c=c+1|0;if((c|0)==8)break}d=i+4|0;if((d|0)==(b|0)){c=1;p=43;break}e=f[i>>2]|0;o=i;i=d;d=o}if((p|0)==43)return c|0;a=(i+4|0)==(b|0);return a|0}}return 0}function YH(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;YH(a,f[b>>2]|0);YH(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function ZH(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;r=u;u=u+16|0;n=r+12|0;o=r+8|0;p=r+4|0;q=r;Fva(a,c,d);f[a>>2]=312772;f[a+32>>2]=0;f[a+36>>2]=f[c+36>>2];f[a+40>>2]=f[c+40>>2];f[a+44>>2]=f[c+44>>2];j=a+48|0;k=a+52|0;f[k>>2]=0;l=a+56|0;f[l>>2]=0;d=a+52|0;f[j>>2]=d;e=f[c+48>>2]|0;m=c+52|0;if((e|0)!=(m|0)){i=d;while(1){g=e+16|0;f[q>>2]=i;f[n>>2]=f[q>>2];h=_H(j,n,o,p,g)|0;if(!(f[h>>2]|0)){d=EBb(24)|0;f[d+16>>2]=f[g>>2];g=f[e+20>>2]|0;f[d+20>>2]=g;if(g|0){g=g+8|0;f[g>>2]=(f[g>>2]|0)+1}g=f[o>>2]|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[h>>2]=d;g=f[f[j>>2]>>2]|0;if(g){f[j>>2]=g;d=f[h>>2]|0}Xo(f[k>>2]|0,d);f[l>>2]=(f[l>>2]|0)+1}d=f[e+4>>2]|0;if(!d){g=e+8|0;d=f[g>>2]|0;if((f[d>>2]|0)!=(e|0)){e=g;do{h=f[e>>2]|0;e=h+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(h|0))}}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(m|0))break;else e=d}}e=a+60|0;g=c+60|0;f[e>>2]=0;l=a+64|0;f[l>>2]=0;h=a+68|0;f[h>>2]=0;j=c+64|0;d=(f[j>>2]|0)-(f[g>>2]|0)|0;i=d>>2;if(d|0){if(i>>>0>1073741823)DCb(e);k=EBb(d)|0;f[l>>2]=k;f[e>>2]=k;f[h>>2]=k+(i<<2);e=f[g>>2]|0;d=(f[j>>2]|0)-e|0;if((d|0)>0){YDb(k|0,e|0,d|0)|0;f[l>>2]=k+(d>>>2<<2)}}e=a+72|0;g=c+72|0;f[e>>2]=0;l=a+76|0;f[l>>2]=0;h=a+80|0;f[h>>2]=0;j=c+76|0;d=(f[j>>2]|0)-(f[g>>2]|0)|0;i=d>>2;if(d|0){if(i>>>0>1073741823)DCb(e);k=EBb(d)|0;f[l>>2]=k;f[e>>2]=k;f[h>>2]=k+(i<<2);e=f[g>>2]|0;d=(f[j>>2]|0)-e|0;if((d|0)>0){YDb(k|0,e|0,d|0)|0;f[l>>2]=k+(d>>>2<<2)}}b[a+84>>0]=b[c+84>>0]|0;f[a+88>>2]=f[c+88>>2];d=f[c+92>>2]|0;f[a+92>>2]=d;if(d|0){q=d+8|0;f[q>>2]=(f[q>>2]|0)+1}d=f[c+96>>2]|0;f[a+96>>2]=d;if(d|0){q=d+8|0;f[q>>2]=(f[q>>2]|0)+1}d=f[c+100>>2]|0;f[a+100>>2]=d;if(!d){u=r;return}a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;u=r;return}function _H(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)?(j=f[e>>2]|0,g=f[h+16>>2]|0,(j|0)>=(g|0)):0){if((g|0)>=(j|0)){f[c>>2]=b;f[d>>2]=b;c=d;return c|0}g=f[h+4>>2]|0;if(!g){d=h+8|0;g=f[d>>2]|0;if((f[g>>2]|0)!=(h|0))do{e=f[d>>2]|0;d=e+8|0;g=f[d>>2]|0}while((f[g>>2]|0)!=(e|0))}else while(1){d=f[g>>2]|0;if(!d)break;else g=d}if((g|0)!=(i|0)?(j|0)>=(f[g+16>>2]|0):0){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if((j|0)<(g|0)){g=f[b>>2]|0;if(!g){e=42;break}else{d=b;b=g}}else{if((g|0)>=(j|0)){e=46;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=45;break}else b=g}}if((e|0)==42){f[c>>2]=b;c=b;return c|0}else if((e|0)==45){f[c>>2]=b;c=d;return c|0}else if((e|0)==46){f[c>>2]=b;c=d;return c|0}}if(!(f[h+4>>2]|0)){f[c>>2]=b;c=h+4|0;return c|0}else{f[c>>2]=g;c=g;return c|0}}d=f[h>>2]|0;if((f[a>>2]|0)!=(h|0)){if(!d){b=h;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0))}else{b=d;while(1){g=f[b+4>>2]|0;if(!g)break;else b=g}}e=f[e>>2]|0;if((f[b+16>>2]|0)>=(e|0)){b=f[i>>2]|0;if(!b){f[c>>2]=i;c=i;return c|0}d=a+4|0;while(1){g=f[b+16>>2]|0;if((e|0)<(g|0)){g=f[b>>2]|0;if(!g){e=18;break}else{d=b;b=g}}else{if((g|0)>=(e|0)){e=22;break}d=b+4|0;g=f[d>>2]|0;if(!g){e=21;break}else b=g}}if((e|0)==18){f[c>>2]=b;c=b;return c|0}else if((e|0)==21){f[c>>2]=b;c=d;return c|0}else if((e|0)==22){f[c>>2]=b;c=d;return c|0}}}if(!d){f[c>>2]=h;c=h;return c|0}else{f[c>>2]=b;c=b+4|0;return c|0}return 0}function $H(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;i=j;zwa()|0;rZa(a);h=a+12|0;f[a+16>>2]=0;f[a+20>>2]=0;f[h>>2]=a+16;f[a>>2]=312988;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;e=i+11|0;b[e>>0]=9;c=i;d=378215;g=c+9|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(g|0));b[i+9>>0]=0;d=EBb(104)|0;aI(d,lH()|0);a=bI(h,i)|0;c=f[a>>2]|0;if(((c|0)!=(d|0)?(f[a>>2]=d,g=d+8|0,f[g>>2]=(f[g>>2]|0)+1,c|0):0)?(d=c+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(c,1,1);if((b[e>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;a=EBb(16)|0;f[i>>2]=a;f[i+8>>2]=-2147483632;f[i+4>>2]=14;c=a;d=378225;g=c+14|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(g|0));b[a+14>>0]=0;a=EBb(104)|0;rZa(a);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;f[a>>2]=312772;f[a+32>>2]=0;d=a+52|0;f[d>>2]=0;f[a+56>>2]=0;f[a+48>>2]=d;d=a+60|0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+44>>2]=0;c=a+88|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;b[d+24>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;c=bI(h,i)|0;d=f[c>>2]|0;if(((d|0)!=(a|0)?(f[c>>2]=a,g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d|0):0)?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;a=EBb(16)|0;f[i>>2]=a;f[i+8>>2]=-2147483632;f[i+4>>2]=14;c=a;d=378240;g=c+14|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(g|0));b[a+14>>0]=0;a=EBb(104)|0;aI(a,3);c=bI(h,i)|0;d=f[c>>2]|0;if(((d|0)!=(a|0)?(f[c>>2]=a,g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d|0):0)?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;a=EBb(32)|0;f[i>>2]=a;f[i+8>>2]=-2147483616;f[i+4>>2]=18;c=a;d=378059;g=c+18|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(g|0));b[a+18>>0]=0;a=EBb(104)|0;aI(a,3);c=bI(h,i)|0;d=f[c>>2]|0;if(((d|0)!=(a|0)?(f[c>>2]=a,g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d|0):0)?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;a=EBb(32)|0;f[i>>2]=a;f[i+8>>2]=-2147483616;f[i+4>>2]=18;c=a;d=378040;g=c+18|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(g|0));b[a+18>>0]=0;a=EBb(104)|0;rZa(a);c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=312772;f[a+32>>2]=0;c=a+52|0;f[c>>2]=0;f[a+56>>2]=0;f[a+48>>2]=c;c=a+60|0;f[a+92>>2]=0;f[a+96>>2]=0;f[a+100>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+44>>2]=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;b[c+24>>0]=0;f[a+88>>2]=2;c=bI(h,i)|0;d=f[c>>2]|0;if(((d|0)!=(a|0)?(f[c>>2]=a,g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d|0):0)?(e=d+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(d,1,1);if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;a=EBb(32)|0;f[i>>2]=a;f[i+8>>2]=-2147483616;f[i+4>>2]=17;c=a;d=378255;g=c+17|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(g|0));b[a+17>>0]=0;d=EBb(104)|0;rZa(d);a=d+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=312772;f[d+32>>2]=0;a=d+52|0;f[a>>2]=0;f[d+56>>2]=0;f[d+48>>2]=a;a=d+60|0;f[d+92>>2]=0;f[d+96>>2]=0;f[d+100>>2]=0;f[d+36>>2]=0;f[d+40>>2]=0;f[d+44>>2]=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;f[a+20>>2]=0;b[a+24>>0]=0;f[d+88>>2]=4;a=bI(h,i)|0;c=f[a>>2]|0;if(((c|0)!=(d|0)?(f[a>>2]=d,h=d+8|0,f[h>>2]=(f[h>>2]|0)+1,c|0):0)?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);if((b[i+11>>0]|0)>=0){u=j;return}GBb(f[i>>2]|0);u=j;return}function aI(a,c){a=a|0;c=c|0;var d=0,e=0;rZa(a);e=a+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=312772;f[a+32>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[a+48>>2]=a+52;e=a+60|0;f[a+92>>2]=0;f[a+96>>2]=0;d=a+100|0;f[d>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+44>>2]=0;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;b[e+24>>0]=0;f[a+88>>2]=c;if((c|0)!=3)return;a=EBb(160)|0;jBa(a);c=f[d>>2]|0;if(((c|0)!=(a|0)?(f[d>>2]=a,e=a+8|0,f[e>>2]=(f[e>>2]|0)+1,c|0):0)?(a=c+8|0,e=f[a>>2]|0,f[a>>2]=e-1,(e|0)==1):0)Rua(c,1,1);e=f[d>>2]|0;Bj[f[f[e>>2]>>2]&1023](e,1);return}function bI(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=dI(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 cI(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;cI(a,f[c>>2]|0);cI(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 dI(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<m>>>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 eI(a){a=a|0;cI(a+12|0,f[a+16>>2]|0);Uua(a);return}function fI(a){a=a|0;cI(a+12|0,f[a+16>>2]|0);Uua(a);GBb(a);return}function gI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=313008;b=a+56|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;d=a+36|0;g=f[d>>2]|0;if(g|0){e=a+40|0;b=f[e>>2]|0;if((b|0)==(g|0))b=g;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(g|0));b=f[d>>2]|0}f[e>>2]=g;GBb(b)}iI(a+24|0,f[a+28>>2]|0);b=a+16|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Uua(a);return}h=c+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1){f[b>>2]=0;Uua(a);return}Rua(c,1,1);f[b>>2]=0;Uua(a);return}function hI(a){a=a|0;gI(a);GBb(a);return}function iI(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;iI(a,f[b>>2]|0);iI(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function jI(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;n=u;u=u+16|0;k=n;m=a+312|0;g=f[m>>2]|0;j=a+300|0;l=a+304|0;d=f[l>>2]|0;c=f[j>>2]|0;e=c;do if(g>>>0<d-c>>2>>>0){h=g;while(1){g=f[m>>2]|0;if((f[(f[e+(h<<2)>>2]|0)+8>>2]|0)<=1){i=5;break}h=g+1|0;f[m>>2]=h;d=f[l>>2]|0;e=f[j>>2]|0;if(h>>>0>=d-e>>2>>>0){i=6;break}}if((i|0)==5){e=f[j>>2]|0;c=e;d=f[l>>2]|0;break}else if((i|0)==6){c=e;g=h;break}}while(0);if(g>>>0<d-c>>2>>>0){f[m>>2]=g+1;m=f[e+(g<<2)>>2]|0;p[m+32>>3]=+p[b>>3];p[m+40>>3]=+p[b+8>>3];p[m+48>>3]=+p[b+16>>3];p[m+56>>3]=+p[b+24>>3];p[m+64>>3]=+p[b+32>>3];p[m+72>>3]=+p[b+40>>3];p[m+80>>3]=+p[b+48>>3];p[m+88>>3]=+p[b+56>>3];p[m+96>>3]=+p[b+64>>3];p[m+104>>3]=+p[b+72>>3];p[m+112>>3]=+p[b+80>>3];p[m+120>>3]=+p[b+88>>3];p[m+128>>3]=+p[b+96>>3];p[m+136>>3]=+p[b+104>>3];p[m+144>>3]=+p[b+112>>3];p[m+152>>3]=+p[b+120>>3];u=n;return m|0}e=EBb(160)|0;v_a(e,0);c=e+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;p[e+32>>3]=+p[b>>3];p[e+40>>3]=+p[b+8>>3];p[e+48>>3]=+p[b+16>>3];p[e+56>>3]=+p[b+24>>3];p[e+64>>3]=+p[b+32>>3];p[e+72>>3]=+p[b+40>>3];p[e+80>>3]=+p[b+48>>3];p[e+88>>3]=+p[b+56>>3];p[e+96>>3]=+p[b+64>>3];p[e+104>>3]=+p[b+72>>3];p[e+112>>3]=+p[b+80>>3];p[e+120>>3]=+p[b+88>>3];p[e+128>>3]=+p[b+96>>3];p[e+136>>3]=+p[b+104>>3];p[e+144>>3]=+p[b+112>>3];p[e+152>>3]=+p[b+120>>3];f[e>>2]=313412;f[k>>2]=e;c=e+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[a+308>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else QJ(j,k);c=f[k>>2]|0;if(c|0?(k=c+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(c,1,1);f[m>>2]=(f[m>>2]|0)+1;m=e;u=n;return m|0}function kI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;if(!a){if(!(qZa(2)|0)){d=0;u=e;return d|0}d=Nu(Hua(2)|0,410402,78)|0;Drb(c,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);b=utb(c,504576)|0;b=cj[f[(f[b>>2]|0)+28>>2]&1023](b,10)|0;vtb(c);ksb(d,b)|0;Krb(d)|0;d=0;u=e;return d|0}a=_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;b=(a|0)==0;if(!b?(d=a+8|0,f[d>>2]=(f[d>>2]|0)+1,d=WCb(a,295088,281840,0)|0,d|0):0){v0a(a)|0;u=e;return d|0}if(qZa(2)|0){d=Nu(Hua(2)|0,410323,78)|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}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 lI(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;aI(a,lH()|0);f[a>>2]=313584;e=a+108|0;f[e>>2]=e;f[a+112>>2]=e;f[a+116>>2]=0;e=a+120|0;f[e>>2]=e;f[a+124>>2]=e;e=a+128|0;i=a+228|0;f[i>>2]=0;h=a+232|0;f[h>>2]=0;f[a+236>>2]=0;f[a+248>>2]=0;c=a+260|0;f[a+264>>2]=0;f[a+268>>2]=0;d=a+264|0;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;e=a+172|0;g=e+36|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));f[c>>2]=d;f[a+272>>2]=0;f[a+276>>2]=0;f[a+280>>2]=0;b[a+284>>0]=1;f3a(a+288|0);f[a+416>>2]=0;f[a+420>>2]=0;f[a+44>>2]=a;b[a+104>>0]=0;f[a+152>>2]=0;b[a+156>>0]=0;f[a+160>>2]=0;b[a+164>>0]=0;f[a+168>>2]=16640;c=a+176|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[c+24>>2]=0;f[c+28>>2]=0;p[a+208>>3]=1.0;f[a+216>>2]=0;b[a+220>>0]=0;f[a+224>>2]=0;c=f[i>>2]|0;if(!c){f[h>>2]=0;i=a+240|0;f[i>>2]=0;i=a+244|0;f[i>>2]=0;i=a+252|0;f[i>>2]=6408;i=a+256|0;f[i>>2]=5121;return}f[i>>2]=0;g=c+8|0;i=f[g>>2]|0;f[g>>2]=i-1;if((i|0)!=1){f[h>>2]=0;i=a+240|0;f[i>>2]=0;i=a+244|0;f[i>>2]=0;i=a+252|0;f[i>>2]=6408;i=a+256|0;f[i>>2]=5121;return}Rua(c,1,1);f[h>>2]=0;i=a+240|0;f[i>>2]=0;i=a+244|0;f[i>>2]=0;i=a+252|0;f[i>>2]=6408;i=a+256|0;f[i>>2]=5121;return}function mI(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;j=b;l=a+36|0;_i[f[(f[l>>2]|0)+8>>2]&2047](l)|0;k=a+48|0;h=a+52|0;d=f[h>>2]|0;do if(d){e=h;g=d;do{i=(f[g+16>>2]|0)>>>0<b>>>0;e=i?e:g;g=f[(i?g+4|0:g)>>2]|0}while((g|0)!=0);if((e|0)!=(h|0)?(f[e+16>>2]|0)>>>0<=b>>>0:0){d=e+20|0;e=f[d>>2]|0;if((e|0)==(c|0)){c=f[l>>2]|0;c=c+12|0;c=f[c>>2]|0;_i[c&2047](l)|0;return}f[d>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(!e){c=f[l>>2]|0;c=c+12|0;c=f[c>>2]|0;_i[c&2047](l)|0;return}b=e+8|0;c=f[b>>2]|0;f[b>>2]=c-1;if((c|0)!=1){c=f[l>>2]|0;c=c+12|0;c=f[c>>2]|0;_i[c&2047](l)|0;return}Rua(e,1,1);c=f[l>>2]|0;c=c+12|0;c=f[c>>2]|0;_i[c&2047](l)|0;return}g=a+52|0;while(1){e=f[d+16>>2]|0;if(e>>>0>b>>>0){e=f[d>>2]|0;if(!e){e=9;break}else{g=d;d=e}}else{if(e>>>0>=b>>>0){e=13;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=12;break}else d=e}}if((e|0)==9){i=d;g=d;break}else if((e|0)==12){i=d;break}else if((e|0)==13){i=d;break}}else{i=h;g=h}while(0);d=f[g>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=j;f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[k>>2]>>2]|0;if(!e)e=d;else{f[k>>2]=e;e=f[g>>2]|0}Xo(f[a+52>>2]|0,e);k=a+56|0;f[k>>2]=(f[k>>2]|0)+1}d=d+20|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(e|0?(k=e+8|0,c=f[k>>2]|0,f[k>>2]=c-1,(c|0)==1):0)Rua(e,1,1)}Q0a(b,a+32|0);c=f[l>>2]|0;c=c+12|0;c=f[c>>2]|0;_i[c&2047](l)|0;return}function nI(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<e>>>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 oI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;d=f[a+36>>2]|0;e=a+40|0;b=f[e>>2]|0;if((b|0)!=(d|0))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));f[e>>2]=d;b=f[a+24>>2]|0;e=a+28|0;if((b|0)==(e|0))return;d=b;while(1){oI(f[d+20>>2]|0);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{h=f[c>>2]|0;c=h+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(h|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(e|0))break;else d=b}return}function pI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;e=j+4|0;g=j;h=a+24|0;b=f[h>>2]|0;d=a+28|0;if((b|0)==(d|0)){u=j;return}while(1){c=b+20|0;pI(f[c>>2]|0);c=f[c>>2]|0;if((f[c+36>>2]|0)==(f[c+40>>2]|0)?(f[c+32>>2]|0)==0:0){a=f[b+4>>2]|0;if(!a){c=b+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(b|0))do{k=f[c>>2]|0;c=k+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(k|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}f[g>>2]=b;f[e>>2]=f[g>>2];rI(h,e)|0}else i=13;do if((i|0)==13){i=0;a=f[b+4>>2]|0;if(!a){c=b+8|0;a=f[c>>2]|0;if((f[a>>2]|0)==(b|0))break;b=c;do{k=f[b>>2]|0;b=k+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(k|0))}else{while(1){b=f[a>>2]|0;if(!b)break;else a=b}break}}while(0);if((a|0)==(d|0))break;else b=a}u=j;return}function qI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;if(!b)return;i=a+120|0;d=f[a+124>>2]|0;e=d;a:do if((i|0)==(e|0))e=i;else while(1){if((f[d+8>>2]|0)>(c|0))break a;d=f[e+4>>2]|0;e=d;if((i|0)==(e|0)){e=i;break}}while(0);g=b+8|0;f[g>>2]=(f[g>>2]|0)+1;h=EBb(16)|0;f[h>>2]=0;f[h+8>>2]=c;f[h+12>>2]=b;f[g>>2]=(f[g>>2]|0)+1;if((i|0)==(e|0)){f[h+4>>2]=i;c=f[i>>2]|0;f[h>>2]=c;f[c+4>>2]=h;f[i>>2]=h;i=a+128|0;f[i>>2]=(f[i>>2]|0)+1;i=f[g>>2]|0;f[g>>2]=i-1;if((i|0)!=1)return;Rua(b,1,1);return}else{i=f[e>>2]|0;f[i+4>>2]=h;f[h>>2]=i;f[d>>2]=h;f[h+4>>2]=e;i=a+128|0;f[i>>2]=(f[i>>2]|0)+1;i=f[g>>2]|0;f[g>>2]=i-1;if((i|0)!=1)return;Rua(b,1,1);return}}function rI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=f[b>>2]|0;b=f[d+4>>2]|0;if(!b){b=d+8|0;c=f[b>>2]|0;if((f[c>>2]|0)!=(d|0))do{e=f[b>>2]|0;b=e+8|0;c=f[b>>2]|0}while((f[c>>2]|0)!=(e|0))}else{while(1){c=f[b>>2]|0;if(!c)break;else b=c}c=b}if((f[a>>2]|0)==(d|0))f[a>>2]=c;b=a+8|0;f[b>>2]=(f[b>>2]|0)+-1;Zq(f[a+4>>2]|0,d);b=f[d+20>>2]|0;if(!b){GBb(d);return c|0}a=b+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1){GBb(d);return c|0}Rua(b,1,1);GBb(d);return c|0}function sI(a){a=a|0;f[a>>2]=313224;RI(a+44|0,f[a+48>>2]|0);EI(a+32|0);Gva(a);return}function tI(a){a=a|0;f[a>>2]=313224;RI(a+44|0,f[a+48>>2]|0);EI(a+32|0);Gva(a);GBb(a);return}function uI(a){a=a|0;var b=0;a=EBb(56)|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]=313224;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;b=a+48|0;f[b>>2]=0;f[a+52>>2]=0;f[a+44>>2]=b;return a|0}function vI(a,b){a=a|0;b=b|0;b=EBb(56)|0;rZa(b);a=b+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[b+24>>2]=2;f[b+28>>2]=0;f[b>>2]=313224;f[b+32>>2]=0;f[b+36>>2]=0;f[b+40>>2]=0;a=b+48|0;f[a>>2]=0;f[b+52>>2]=0;f[b+44>>2]=a;return b|0}function wI(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,281960,0)|0)!=0;return b|0}function xI(a){a=a|0;return 377210}function yI(a){a=a|0;return 378597}function zI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;e=f[a+32>>2]|0;g=a+36|0;b=f[g>>2]|0;if((b|0)!=(e|0))do{c=b+-4|0;b=b+-8|0;d=f[c>>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);f[c>>2]=0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));f[g>>2]=e;h=a+44|0;i=a+48|0;RI(h,f[i>>2]|0);f[a+52>>2]=0;f[h>>2]=i;f[i>>2]=0;return}function AI(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;e=a+32|0;f[h>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}g=h+4|0;f[g>>2]=b;if(b|0){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}b=a+36|0;d=f[b>>2]|0;if(d>>>0<(f[a+40>>2]|0)>>>0){c=f[h>>2]|0;f[d>>2]=c;if(c|0){e=c+8|0;f[e>>2]=(f[e>>2]|0)+1}c=f[g>>2]|0;f[d+4>>2]=c;if(c|0){e=c+8|0;f[e>>2]=(f[e>>2]|0)+1}f[b>>2]=(f[b>>2]|0)+8}else PI(e,h);c=f[g>>2]|0;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[g>>2]=0;c=f[h>>2]|0;if(!c){u=i;return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){u=i;return}Rua(c,1,1);u=i;return}function BI(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;l=u;u=u+16|0;k=l;j=a+44|0;g=a+48|0;e=f[g>>2]|0;do if(e){h=a+48|0;while(1){g=f[e+16>>2]|0;if(g>>>0>b>>>0){g=f[e>>2]|0;if(!g){g=5;break}else{h=e;e=g}}else{if(g>>>0>=b>>>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=g;h=g}while(0);e=f[h>>2]|0;if(!e){g=EBb(32)|0;f[g+16>>2]=b;f[g+20>>2]=0;f[g+24>>2]=0;f[g+28>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=i;f[h>>2]=g;e=f[f[j>>2]>>2]|0;if(!e)e=g;else{f[j>>2]=e;e=f[h>>2]|0}Xo(f[a+48>>2]|0,e);e=a+52|0;f[e>>2]=(f[e>>2]|0)+1;e=g}g=e+20|0;f[k>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}b=k+4|0;f[b>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}h=e+24|0;i=f[h>>2]|0;if(i>>>0<(f[e+28>>2]|0)>>>0){e=f[k>>2]|0;f[i>>2]=e;if(e|0){c=e+8|0;f[c>>2]=(f[c>>2]|0)+1}e=f[b>>2]|0;f[i+4>>2]=e;if(e|0){c=e+8|0;f[c>>2]=(f[c>>2]|0)+1}f[h>>2]=(f[h>>2]|0)+8}else PI(g,k);e=f[b>>2]|0;if(e|0?(d=e+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(e,1,1);f[b>>2]=0;e=f[k>>2]|0;if(!e){u=l;return}c=e+8|0;k=f[c>>2]|0;f[c>>2]=k-1;if((k|0)!=1){u=l;return}Rua(e,1,1);u=l;return}function CI(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,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;$=u;u=u+256|0;_=$+128|0;Z=$;e=f[c>>2]|0;if(e|0){e=f[e+12>>2]|0;if(e|0)do{if(f[e+16>>2]|0)f1a(b);e=f[e+12>>2]|0}while((e|0)!=0);I1a(b);f[c>>2]=0}e=f[a+32>>2]|0;i=a+36|0;if((e|0)!=(f[i>>2]|0)){j=(d|0)==0;k=d+8|0;l=d+16|0;m=d+24|0;n=d+32|0;o=d+40|0;q=d+48|0;r=d+56|0;s=d+64|0;t=d+72|0;v=d+80|0;w=d+88|0;x=d+96|0;y=d+104|0;z=d+112|0;A=d+120|0;B=_+8|0;C=_+16|0;D=_+24|0;E=_+32|0;F=_+40|0;G=_+48|0;H=_+56|0;I=_+64|0;J=_+72|0;K=_+80|0;L=_+88|0;M=_+96|0;N=_+104|0;O=_+112|0;P=_+120|0;do{c=e+4|0;g=f[c>>2]|0;do if(!j){h=EBb(160)|0;if(!g){v_a(h,0);X=h+12|0;f[X>>2]=0;f[X+4>>2]=0;f[X+8>>2]=0;f[h+24>>2]=2;f[h+28>>2]=0;p[h+32>>3]=+p[d>>3];p[h+40>>3]=+p[k>>3];p[h+48>>3]=+p[l>>3];p[h+56>>3]=+p[m>>3];p[h+64>>3]=+p[n>>3];p[h+72>>3]=+p[o>>3];p[h+80>>3]=+p[q>>3];p[h+88>>3]=+p[r>>3];p[h+96>>3]=+p[s>>3];p[h+104>>3]=+p[t>>3];p[h+112>>3]=+p[v>>3];p[h+120>>3]=+p[w>>3];p[h+128>>3]=+p[x>>3];p[h+136>>3]=+p[y>>3];p[h+144>>3]=+p[z>>3];p[h+152>>3]=+p[A>>3];f[h>>2]=313412;Z1a(b,h);break}else{X=f[c>>2]|0;f3a(_);l3a(_,X+32|0,d);v_a(h,0);X=h+12|0;f[X>>2]=0;f[X+4>>2]=0;f[X+8>>2]=0;f[h+24>>2]=2;f[h+28>>2]=0;p[h+32>>3]=+p[_>>3];p[h+40>>3]=+p[B>>3];p[h+48>>3]=+p[C>>3];p[h+56>>3]=+p[D>>3];p[h+64>>3]=+p[E>>3];p[h+72>>3]=+p[F>>3];p[h+80>>3]=+p[G>>3];p[h+88>>3]=+p[H>>3];p[h+96>>3]=+p[I>>3];p[h+104>>3]=+p[J>>3];p[h+112>>3]=+p[K>>3];p[h+120>>3]=+p[L>>3];p[h+128>>3]=+p[M>>3];p[h+136>>3]=+p[N>>3];p[h+144>>3]=+p[O>>3];p[h+152>>3]=+p[P>>3];f[h>>2]=313412;Z1a(b,h);break}}else Z1a(b,g);while(0);X=f[e>>2]|0;Bj[f[(f[X>>2]|0)+196>>2]&1023](X,b);P1a(b,f[e>>2]|0);DI(b,f[e>>2]|0);e=e+8|0}while((e|0)!=(f[i>>2]|0))}e=f[a+44>>2]|0;l=a+48|0;if((e|0)==(l|0)){u=$;return}m=b+732|0;n=_+4|0;o=_+8|0;q=b+776|0;r=b+764|0;s=b+768|0;t=(d|0)==0;v=d+8|0;w=d+16|0;x=d+24|0;y=d+32|0;z=d+40|0;A=d+48|0;B=d+56|0;C=d+64|0;D=d+72|0;E=d+80|0;F=d+88|0;G=d+96|0;H=d+104|0;I=d+112|0;J=d+120|0;K=Z+8|0;L=Z+16|0;M=Z+24|0;N=Z+32|0;O=Z+40|0;P=Z+48|0;a=Z+56|0;Q=Z+64|0;R=Z+72|0;S=Z+80|0;T=Z+88|0;U=Z+96|0;V=Z+104|0;W=Z+112|0;X=Z+120|0;k=e;while(1){j=k+16|0;e=f[j>>2]|0;if(((f[m>>2]|0)!=(e|0)?(Y=f[q>>2]|0,Y|0):0)?(h=f[r>>2]|0,i=f[s>>2]|0,((h|0)>(i|0)?h:i)>>>0>e>>>0):0){tj[Y&2047](e+33984|0);f[m>>2]=e}c=k+20|0;f[_>>2]=0;f[n>>2]=0;f[o>>2]=0;h=k+24|0;e=(f[h>>2]|0)-(f[c>>2]|0)|0;g=e>>3;if(e|0){if(g>>>0>536870911){e=25;break}i=EBb(e)|0;f[n>>2]=i;f[_>>2]=i;f[o>>2]=i+(g<<3);e=f[c>>2]|0;h=f[h>>2]|0;if((e|0)!=(h|0)){g=i;do{c=f[e>>2]|0;f[g>>2]=c;if(c|0){i=c+8|0;f[i>>2]=(f[i>>2]|0)+1}c=f[e+4>>2]|0;f[g+4>>2]=c;if(c|0){i=c+8|0;f[i>>2]=(f[i>>2]|0)+1}e=e+8|0;g=(f[n>>2]|0)+8|0;f[n>>2]=g}while((e|0)!=(h|0));e=f[_>>2]|0;if((e|0)!=(g|0))do{c=e+4|0;g=f[c>>2]|0;do if(!t){h=EBb(160)|0;if(!g){v_a(h,0);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;p[h+32>>3]=+p[d>>3];p[h+40>>3]=+p[v>>3];p[h+48>>3]=+p[w>>3];p[h+56>>3]=+p[x>>3];p[h+64>>3]=+p[y>>3];p[h+72>>3]=+p[z>>3];p[h+80>>3]=+p[A>>3];p[h+88>>3]=+p[B>>3];p[h+96>>3]=+p[C>>3];p[h+104>>3]=+p[D>>3];p[h+112>>3]=+p[E>>3];p[h+120>>3]=+p[F>>3];p[h+128>>3]=+p[G>>3];p[h+136>>3]=+p[H>>3];p[h+144>>3]=+p[I>>3];p[h+152>>3]=+p[J>>3];f[h>>2]=313412;Z1a(b,h);break}else{i=f[c>>2]|0;f3a(Z);l3a(Z,i+32|0,d);v_a(h,0);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;p[h+32>>3]=+p[Z>>3];p[h+40>>3]=+p[K>>3];p[h+48>>3]=+p[L>>3];p[h+56>>3]=+p[M>>3];p[h+64>>3]=+p[N>>3];p[h+72>>3]=+p[O>>3];p[h+80>>3]=+p[P>>3];p[h+88>>3]=+p[a>>3];p[h+96>>3]=+p[Q>>3];p[h+104>>3]=+p[R>>3];p[h+112>>3]=+p[S>>3];p[h+120>>3]=+p[T>>3];p[h+128>>3]=+p[U>>3];p[h+136>>3]=+p[V>>3];p[h+144>>3]=+p[W>>3];p[h+152>>3]=+p[X>>3];f[h>>2]=313412;Z1a(b,h);break}}else Z1a(b,g);while(0);i=f[e>>2]|0;Bj[f[(f[i>>2]|0)+196>>2]&1023](i,b);R1a(b,f[j>>2]|0,f[e>>2]|0);FI(b,f[j>>2]|0,f[e>>2]|0);e=e+8|0}while((e|0)!=(f[n>>2]|0))}}EI(_);e=f[k+4>>2]|0;if(!e){c=k+8|0;e=f[c>>2]|0;if((f[e>>2]|0)!=(k|0))do{k=f[c>>2]|0;c=k+8|0;e=f[c>>2]|0}while((f[e>>2]|0)!=(k|0))}else while(1){c=f[e>>2]|0;if(!c)break;else e=c}if((e|0)==(l|0)){e=18;break}else k=e}if((e|0)==18){u=$;return}else if((e|0)==25)DCb(_)}function DI(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;l=a+632|0;k=_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0;j=_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0;e=a+636|0;d=f[e>>2]|0;do if(d){g=a+636|0;a:while(1){e=f[d+16>>2]|0;do if((k|0)>=(e|0)){if((e|0)>=(k|0)){e=f[d+20>>2]|0;if(j>>>0<e>>>0){i=6;break}if(e>>>0>=j>>>0){i=11;break a}}g=d+4|0;e=f[g>>2]|0;if(!e){i=10;break a}else d=e}else i=6;while(0);if((i|0)==6){i=0;e=f[d>>2]|0;if(!e){i=7;break}else{g=d;d=e}}}if((i|0)==7){h=d;g=d;break}else if((i|0)==10){h=d;break}else if((i|0)==11){h=d;break}}else{h=e;g=e}while(0);d=f[g>>2]|0;if(!d){d=EBb(52)|0;e=d+16|0;f[e>>2]=k;f[e+4>>2]=j;b[d+24>>0]=0;e=d+28|0;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[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[l>>2]>>2]|0;if(!e)e=d;else{f[l>>2]=e;e=f[g>>2]|0}Xo(f[a+636>>2]|0,e);a=a+640|0;f[a>>2]=(f[a>>2]|0)+1}d=d+36|0;e=f[d>>2]|0;if((e|0)==(c|0))return;f[d>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(!e)return;a=e+8|0;c=f[a>>2]|0;f[a>>2]=c-1;if((c|0)!=1)return;Rua(e,1,1);return}function EI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;e=f[a>>2]|0;if(!e)return;g=a+4|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{c=b+-4|0;b=b+-8|0;d=f[c>>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);f[c>>2]=0;c=f[b>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[a>>2]|0}f[g>>2]=e;GBb(b);return}function FI(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;j=a+696|0;i=a+700|0;a=f[i>>2]|0;g=f[j>>2]|0;h=(a-g|0)/12|0;do if(h>>>0<=c>>>0){e=c+1|0;if(e>>>0>h>>>0){GI(j,e-h|0);break}if(e>>>0<h>>>0){e=g+(e*12|0)|0;if((e|0)!=(a|0))do{l=a;a=a+-12|0;HI(a,f[l+-8>>2]|0)}while((a|0)!=(e|0));f[i>>2]=e}}while(0);l=f[j>>2]|0;k=l+(c*12|0)|0;i=_i[f[(f[d>>2]|0)+172>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+176>>2]&2047](d)|0;e=l+(c*12|0)+4|0;a=f[e>>2]|0;do if(a){g=l+(c*12|0)+4|0;a:while(1){e=f[a+16>>2]|0;do if((i|0)>=(e|0)){if((e|0)>=(i|0)){e=f[a+20>>2]|0;if(j>>>0<e>>>0){m=14;break}if(e>>>0>=j>>>0){m=19;break a}}g=a+4|0;e=f[g>>2]|0;if(!e){m=18;break a}else a=e}else m=14;while(0);if((m|0)==14){m=0;e=f[a>>2]|0;if(!e){m=15;break}else{g=a;a=e}}}if((m|0)==15){h=a;g=a;break}else if((m|0)==18){h=a;break}else if((m|0)==19){h=a;break}}else{h=e;g=e}while(0);a=f[g>>2]|0;if(!a){a=EBb(52)|0;e=a+16|0;f[e>>2]=i;f[e+4>>2]=j;b[a+24>>0]=0;e=a+28|0;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[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=h;f[g>>2]=a;e=f[f[k>>2]>>2]|0;if(!e)e=a;else{f[k>>2]=e;e=f[g>>2]|0}Xo(f[l+(c*12|0)+4>>2]|0,e);c=l+(c*12|0)+8|0;f[c>>2]=(f[c>>2]|0)+1}a=a+36|0;e=f[a>>2]|0;if((e|0)==(d|0))return;f[a>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}if(!e)return;c=e+8|0;d=f[c>>2]|0;f[c>>2]=d-1;if((d|0)!=1)return;Rua(e,1,1);return}function GI(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+8|0;e=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;if(((e-c|0)/12|0)>>>0>=b>>>0){do{f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;c=(f[m>>2]|0)+12|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}d=f[a>>2]|0;g=(c-d|0)/12|0;h=g+b|0;if(h>>>0>357913941)DCb(a);k=(e-d|0)/12|0;c=k<<1;c=k>>>0<178956970?(c>>>0<h>>>0?h:c):357913941;do if(c)if(c>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{e=EBb(c*12|0)|0;break}else e=0;while(0);g=e+(g*12|0)|0;d=e+(c*12|0)|0;c=g;while(1){f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;b=b+-1|0;if(!b)break;else c=c+12|0}k=e+(h*12|0)|0;j=f[a>>2]|0;c=f[m>>2]|0;if((c|0)==(j|0)){b=g;e=j;c=j}else{b=g;do{i=b;b=b+-12|0;e=c;c=c+-12|0;f[b>>2]=f[c>>2];g=f[e+-8>>2]|0;f[i+-8>>2]=g;h=e+-4|0;n=f[h>>2]|0;f[i+-4>>2]=n;i=i+-8|0;if(!n)f[b>>2]=i;else{f[g+8>>2]=i;n=e+-8|0;f[c>>2]=n;f[n>>2]=0;f[h>>2]=0}}while((c|0)!=(j|0));e=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=b;f[m>>2]=k;f[l>>2]=d;b=e;if((c|0)!=(b|0))do{n=c;c=c+-12|0;HI(c,f[n+-8>>2]|0)}while((c|0)!=(b|0));if(!e)return;GBb(e);return}function HI(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;HI(a,f[b>>2]|0);HI(a,f[b+4>>2]|0);a=f[b+40>>2]|0;if(a|0){f[b+44>>2]=a;GBb(a)}a=f[b+36>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function II(a){a=a|0;Gva(a);return}function JI(a){a=a|0;Gva(a);GBb(a);return}function KI(a){a=a|0;var b=0;a=EBb(160)|0;v_a(a,0);f[a>>2]=338032;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;f3a(a+32|0);f[a>>2]=313412;return a|0}function LI(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;b=EBb(160)|0;f[d>>2]=346256;f[d+4>>2]=0;Fva(b,a,d);p[b+32>>3]=+p[a+32>>3];p[b+40>>3]=+p[a+40>>3];p[b+48>>3]=+p[a+48>>3];p[b+56>>3]=+p[a+56>>3];p[b+64>>3]=+p[a+64>>3];p[b+72>>3]=+p[a+72>>3];p[b+80>>3]=+p[a+80>>3];p[b+88>>3]=+p[a+88>>3];p[b+96>>3]=+p[a+96>>3];p[b+104>>3]=+p[a+104>>3];p[b+112>>3]=+p[a+112>>3];p[b+120>>3]=+p[a+120>>3];p[b+128>>3]=+p[a+128>>3];p[b+136>>3]=+p[a+136>>3];p[b+144>>3]=+p[a+144>>3];p[b+152>>3]=+p[a+152>>3];f[b>>2]=313412;u=c;return b|0}function MI(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,281976,0)|0)!=0;return b|0}function NI(a){a=a|0;return 409756}function OI(a){a=a|0;return 406614}function PI(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;n=u;u=u+32|0;l=n;m=a+4|0;c=f[a>>2]|0;e=(f[m>>2]|0)-c>>3;d=e+1|0;if(d>>>0>536870911)DCb(a);k=a+8|0;h=(f[k>>2]|0)-c|0;c=h>>2;c=h>>3>>>0<268435455?(c>>>0<d>>>0?d:c):536870911;h=l+12|0;f[h>>2]=0;f[l+16>>2]=a+8;do if(c)if(c>>>0>536870911){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{d=EBb(c<<3)|0;break}else d=0;while(0);f[l>>2]=d;g=d+(e<<3)|0;i=l+8|0;f[i>>2]=g;j=l+4|0;f[j>>2]=g;f[h>>2]=d+(c<<3);c=f[b>>2]|0;f[g>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}c=f[b+4>>2]|0;f[d+(e<<3)+4>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}c=(f[i>>2]|0)+8|0;f[i>>2]=c;g=f[a>>2]|0;d=f[m>>2]|0;if((d|0)==(g|0)){b=j;o=f[j>>2]|0;j=g;e=c;g=d;f[a>>2]=o;f[b>>2]=j;f[m>>2]=e;f[i>>2]=g;m=f[k>>2]|0;a=f[h>>2]|0;f[k>>2]=a;f[h>>2]=m;f[l>>2]=j;QI(l);u=n;return}e=f[j>>2]|0;do{c=d;d=d+-8|0;b=f[d>>2]|0;f[e+-8>>2]=b;if(b|0){o=b+8|0;f[o>>2]=(f[o>>2]|0)+1}c=f[c+-4>>2]|0;f[e+-4>>2]=c;if(c|0){o=c+8|0;f[o>>2]=(f[o>>2]|0)+1}e=(f[j>>2]|0)+-8|0;f[j>>2]=e}while((d|0)!=(g|0));b=j;j=i;o=f[a>>2]|0;g=f[i>>2]|0;i=f[m>>2]|0;f[a>>2]=e;f[b>>2]=o;f[m>>2]=g;f[j>>2]=i;m=f[k>>2]|0;a=f[h>>2]|0;f[k>>2]=a;f[h>>2]=m;f[l>>2]=o;QI(l);u=n;return}function QI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;e=f[a+4>>2]|0;g=a+8|0;b=f[g>>2]|0;if((b|0)!=(e|0))do{d=b+-8|0;f[g>>2]=d;b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=f[d>>2]|0;if(b|0?(h=b+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(b,1,1);f[d>>2]=0;b=f[g>>2]|0}while((b|0)!=(e|0));b=f[a>>2]|0;if(!b)return;GBb(b);return}function RI(a,b){a=a|0;b=b|0;if(!b)return;else{RI(a,f[b>>2]|0);RI(a,f[b+4>>2]|0);EI(b+20|0);GBb(b);return}}function SI(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;SI(a,f[b>>2]|0);SI(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function TI(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=313584;b=a+420|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+416|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+280|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+276|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+272|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;SI(a+260|0,f[a+264>>2]|0);b=a+248|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+236|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+228|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+172|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+148|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+144|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;d=a+132|0;e=f[d>>2]|0;if(e|0){g=a+136|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(j=c+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b)}e=a+120|0;b=a+128|0;if(f[b>>2]|0?(h=f[a+124>>2]|0,j=(f[e>>2]|0)+4|0,i=f[h>>2]|0,f[i+4>>2]=f[j>>2],f[f[j>>2]>>2]=i,f[b>>2]=0,(h|0)!=(e|0)):0){b=h;do{c=b;b=f[b+4>>2]|0;d=f[c+12>>2]|0;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);GBb(c)}while((b|0)!=(e|0))}e=a+108|0;b=a+116|0;if(!(f[b>>2]|0)){mH(a);return}c=f[a+112>>2]|0;j=(f[e>>2]|0)+4|0;i=f[c>>2]|0;f[i+4>>2]=f[j>>2];f[f[j>>2]>>2]=i;f[b>>2]=0;if((c|0)==(e|0)){mH(a);return}do{b=c;c=f[c+4>>2]|0;d=f[b+12>>2]|0;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);GBb(b)}while((c|0)!=(e|0));mH(a);return}function UI(a){a=a|0;TI(a);GBb(a);return}function VI(a){a=a|0;a=EBb(424)|0;lI(a);return a|0}function WI(a,b){a=a|0;b=b|0;var c=0;c=EBb(424)|0;yJ(c,a,b);return c|0}function XI(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,281840,0)|0)!=0;return b|0}function YI(a){a=a|0;return 379751}function ZI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+100>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+48>>2]|0;g=a+52|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+20>>2]|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(g|0))break;else e=c}}c=f[a+112>>2]|0;e=a+108|0;d=c;if((e|0)!=(d|0))do{g=f[c+12>>2]|0;Bj[f[(f[g>>2]|0)+160>>2]&1023](g,b);c=f[d+4>>2]|0;d=c}while((e|0)!=(d|0));c=f[a+124>>2]|0;e=a+120|0;d=c;if((e|0)!=(d|0))do{g=f[c+12>>2]|0;Bj[f[(f[g>>2]|0)+160>>2]&1023](g,b);c=f[d+4>>2]|0;d=c}while((e|0)!=(d|0));c=f[a+132>>2]|0;d=a+136|0;if((c|0)!=(f[d>>2]|0))do{g=f[c>>2]|0;Bj[f[(f[g>>2]|0)+160>>2]&1023](g,b);c=c+4|0}while((c|0)!=(f[d>>2]|0));c=f[a+236>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+272>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+276>>2]|0;if(c|0)Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[a+280>>2]|0;if(!c)return;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);return}function _I(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;b[a+104>>0]=0;c=f[a+420>>2]|0;if(c|0)tj[f[(f[c>>2]|0)+164>>2]&2047](c);i=a+108|0;e=a+112|0;c=f[e>>2]|0;d=c;if((i|0)!=(d|0))do{j=f[c+12>>2]|0;tj[f[(f[j>>2]|0)+164>>2]&2047](j);c=f[d+4>>2]|0;d=c}while((i|0)!=(d|0));f[a+64>>2]=f[a+60>>2];f[a+76>>2]=f[a+72>>2];g=a+48|0;j=a+52|0;YH(g,f[j>>2]|0);f[a+56>>2]=0;f[g>>2]=j;f[j>>2]=0;b[a+84>>0]=0;j=a+120|0;g=a+124|0;c=f[g>>2]|0;d=c;if((j|0)!=(d|0))do{k=f[c+12>>2]|0;tj[f[(f[k>>2]|0)+164>>2]&2047](k);c=f[d+4>>2]|0;d=c}while((j|0)!=(d|0));c=a+116|0;if(f[c>>2]|0?(h=f[e>>2]|0,k=(f[i>>2]|0)+4|0,e=f[h>>2]|0,f[e+4>>2]=f[k>>2],f[f[k>>2]>>2]=e,f[c>>2]=0,(h|0)!=(i|0)):0){c=h;do{d=c;c=f[c+4>>2]|0;e=f[d+12>>2]|0;if(e|0?(h=e+8|0,k=f[h>>2]|0,f[h>>2]=k-1,(k|0)==1):0)Rua(e,1,1);GBb(d)}while((c|0)!=(i|0))}d=a+128|0;if(!(f[d>>2]|0))return;c=f[g>>2]|0;k=(f[j>>2]|0)+4|0;a=f[c>>2]|0;f[a+4>>2]=f[k>>2];f[f[k>>2]>>2]=a;f[d>>2]=0;if((c|0)==(j|0))return;do{d=c;c=f[c+4>>2]|0;e=f[d+12>>2]|0;if(e|0?(a=e+8|0,k=f[a>>2]|0,f[a>>2]=k-1,(k|0)==1):0)Rua(e,1,1);GBb(d)}while((c|0)!=(j|0));return}function $I(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;c=f[a+112>>2]|0;e=a+108|0;d=c;if((e|0)!=(d|0))do{h=f[c+12>>2]|0;tj[f[(f[h>>2]|0)+168>>2]&2047](h);c=f[d+4>>2]|0;d=c}while((e|0)!=(d|0));h=a+84|0;if(!(b[h>>0]|0)){c=f[a+48>>2]|0;g=a+52|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+20>>2]|0;tj[f[(f[c>>2]|0)+168>>2]&2047](c);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(g|0))break;else e=c}}c=f[a+92>>2]|0;if(!c)tj[f[(f[a>>2]|0)+172>>2]&2047](a);else Bj[f[(f[c>>2]|0)+12>>2]&1023](c,a);b[h>>0]=1}d=f[a+124>>2]|0;e=a+120|0;c=d;if((e|0)==(c|0))return;do{a=f[d+12>>2]|0;tj[f[(f[a>>2]|0)+168>>2]&2047](a);d=f[c+4>>2]|0;c=d}while((e|0)!=(c|0));return}function aJ(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;I=u;u=u+48|0;H=I;B=I+36|0;l=a+104|0;if(b[l>>0]|0){u=I;return}i=f[a+148>>2]|0;if(i|0)a1a(f[c>>2]|0,i);C=a+228|0;i=f[C>>2]|0;do if(i){if((f[i+24>>2]|0)!=0?(k=f[a+232>>2]|0,(k|0)!=0):0){f[H>>2]=k;i=c+12|0;j=f[i>>2]|0;if((j|0)==(f[c+16>>2]|0))Vv(c+8|0,H);else{f[j>>2]=k;f[i>>2]=(f[i>>2]|0)+4}i=f[C>>2]|0;b[l>>0]=1;if(!i)break}else b[l>>0]=1;if(((f[i+24>>2]|0?(m=f[a+232>>2]|0,m|0):0)?(n=f[m+636>>2]|0,n|0):0)?(Bj[f[(f[n>>2]|0)+104>>2]&1023](n,c),h=f[n+4>>2]|0,h|0):0)do{Bj[f[(f[h>>2]|0)+104>>2]&1023](h,c);h=f[h+4>>2]|0}while((h|0)!=0)}else b[l>>0]=1;while(0);Fj[f[(f[a>>2]|0)+216>>2]&511](a,c,d);if(!(b[a+220>>0]|0)){y=f[C>>2]|0;if(((y|0?f[y+24>>2]|0:0)?(o=f[a+232>>2]|0,o|0):0)?(f[a+224>>2]|0)!=(f[o+604>>2]|0):0)p=24}else p=24;if((p|0)==24)oJ(a,c);r=f[c>>2]|0;w=f[r+120>>2]|0;pJ(H,c);x=f[d>>2]|0;y=a+280|0;q=f[y>>2]|0;if(!((q|0)==0|(q|0)==(w|0))){p$a(w)|0;l=f[y>>2]|0;k=f[l+48>>2]|0;m=f[l+108>>2]|0;h=f[H>>2]|0;if((h|0)!=(k|0)){f[H>>2]=k;if(k|0){q=k+8|0;f[q>>2]=(f[q>>2]|0)+1}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)}h=f[r+180>>2]|0;i=k+180|0;j=f[i>>2]|0;if((j|0)!=(h|0)){f[i>>2]=h;if(h|0){q=h+8|0;f[q>>2]=(f[q>>2]|0)+1}if(j|0?(p=j+8|0,q=f[p>>2]|0,f[p>>2]=q-1,(q|0)==1):0)Rua(j,1,1)}h=f[r+836>>2]|0;i=k+836|0;if((f[i>>2]|0)!=(h|0))f[i>>2]=h;h=f[r+840>>2]|0;i=k+840|0;j=f[i>>2]|0;if((j|0)!=(h|0)){f[i>>2]=h;if(h|0){q=h+8|0;f[q>>2]=(f[q>>2]|0)+1}if(j|0?(p=j+8|0,q=f[p>>2]|0,f[p>>2]=q-1,(q|0)==1):0)Rua(j,1,1)}if(!m){f[d>>2]=0;o$a(l)|0;j=m}else j=m}else{k=r;l=w;j=0}o=k+712|0;p=k+716|0;q=(f[p>>2]|0)-(f[o>>2]|0)>>2;n=f[C>>2]|0;if((((n|0?f[n+24>>2]|0:0)?(s=f[a+232>>2]|0,s|0):0)?(t=f[s+640>>2]|0,t|0):0)?(Bj[f[(f[t>>2]|0)+104>>2]&1023](t,c),v=f[t+4>>2]|0,v|0):0){h=v;do{Bj[f[(f[h>>2]|0)+104>>2]&1023](h,c);h=f[h+4>>2]|0}while((h|0)!=0)}m=a+236|0;b[B>>0]=(w|0)!=(l|0)&(f[m>>2]|0)!=0&1;n=(j|0)!=0;if(n){i=EBb(56)|0;F$a(i);h=i+(f[(f[i>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1;h=EBb(72)|0;qJ(h,a,c);s$a(j,h);s$a(j,i);h=i+20|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;if(!(b[i+40>>0]|0))M3a(i+32|0,h)|0;_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;b[B>>0]=0;h=i+(f[(f[i>>2]|0)+-12>>2]|0)|0;t=h+8|0;v=f[t>>2]|0;f[t>>2]=v-1;if((v|0)==1)Rua(h,1,1)}else{Ij[f[(f[a>>2]|0)+220>>2]&127](a,H,d,B);h=f[H+32>>2]|0;i=c+32|0;j=f[i>>2]|0;if((h|0)!=(j|0)){f[i>>2]=h;if(h|0){v=h+8|0;f[v>>2]=(f[v>>2]|0)+1}if(j|0?(t=j+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(j,1,1)}}if((k|0)!=(r|0)){i=f[k+836>>2]|0;h=r+836|0;if((f[h>>2]|0)!=(i|0))f[h>>2]=i;h=k+840|0;i=f[h>>2]|0;if(i|0?(f[h>>2]=0,t=i+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(i,1,1)}if((f[m>>2]|0)!=0&(b[B>>0]|0)==0){if(!((w|0)==0|(l|0)==(w|0)))q$a(w,l)|0;jJ(a,c)}B=f[C>>2]|0;if((((B|0?f[B+24>>2]|0:0)?(z=f[a+232>>2]|0,z|0):0)?(A=f[z+644>>2]|0,A|0):0)?(Bj[f[(f[A>>2]|0)+104>>2]&1023](A,c),g=f[A+4>>2]|0,g|0):0)do{Bj[f[(f[g>>2]|0)+104>>2]&1023](g,c);g=f[g+4>>2]|0}while((g|0)!=0);B=f[y>>2]|0;if(!((B|0)==0|(B|0)==(w|0))){if((f[p>>2]|0)-(f[o>>2]|0)>>2>>>0>q>>>0)do f1a(k);while((f[p>>2]|0)-(f[o>>2]|0)>>2>>>0>q>>>0);if(!n){Kh();p$a(l)|0}}if(!((w|0)==0|(l|0)==(w|0))){f[d>>2]=x;o$a(w)|0}Fj[f[(f[a>>2]|0)+224>>2]&511](a,c,d);g=f[C>>2]|0;if(g|0){if(((f[g+24>>2]|0?(D=f[a+232>>2]|0,D|0):0)?(E=f[D+648>>2]|0,E|0):0)?(Bj[f[(f[E>>2]|0)+104>>2]&1023](E,c),e=f[E+4>>2]|0,e|0):0)do{Bj[f[(f[e>>2]|0)+104>>2]&1023](e,c);e=f[e+4>>2]|0}while((e|0)!=0);E=f[C>>2]|0;if(((E|0?f[E+24>>2]|0:0)?f[a+232>>2]|0:0)?(F=c+12|0,G=f[F>>2]|0,(f[c+8>>2]|0)!=(G|0)):0)f[F>>2]=G+-4}e=f[a+32>>2]|0;if(e|0)oI(e);e=H+32|0;g=f[e>>2]|0;if(g|0?(F=g+8|0,G=f[F>>2]|0,f[F>>2]=G-1,(G|0)==1):0)Rua(g,1,1);f[e>>2]=0;e=f[H+20>>2]|0;if(e|0){f[H+24>>2]=e;GBb(e)}e=f[H+8>>2]|0;if(e|0){f[H+12>>2]=e;GBb(e)}e=f[H>>2]|0;if(e|0?(G=e+8|0,H=f[G>>2]|0,f[G>>2]=H-1,(H|0)==1):0)Rua(e,1,1);u=I;return}function bJ(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;d=i;h=f[b>>2]|0;e=a+144|0;g=f[e>>2]|0;if(!g){if(!(qZa(1)|0)){u=i;return}h=Nu(Hua(1)|0,378844,51)|0;Drb(d,h+(f[(f[h>>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(h,c)|0;Krb(h)|0;u=i;return}mJ(h,g)|0;d=f[e>>2]|0;Rh(~~+p[d+56>>3]|0,~~+p[d+64>>3]|0,~~+p[d+72>>3]|0,~~+p[d+80>>3]|0);nJ(h,3089,1)|0;d=f[a+172>>2]|0;if(!d)Ah(1,1,1,1);else Bj[f[(f[d>>2]|0)+196>>2]&1023](d,h);e=a+168|0;d=f[e>>2]|0;if(d|0){if(d&16384){xh(+(+n[a+176>>2]),+(+n[a+180>>2]),+(+n[a+184>>2]),+(+n[a+188>>2]));d=f[e>>2]|0}if(d&256){yh(+(+p[a+208>>3]));Eh(1);Q1a(h,26,0);d=f[e>>2]|0}if(d&1024){zh(f[a+216>>2]|0);Uh(-1);Q1a(h,24,0);d=f[e>>2]|0}wh(d|0)}d=f[a+416>>2]|0;if(d|0)Ij[f[(f[d>>2]|0)+176>>2]&127](d,h,c,a+288|0);d=f[a+420>>2]|0;if(d|0)Ij[f[(f[d>>2]|0)+176>>2]&127](d,h,c,0);DH(a,b,c);I1a(h);u=i;return}function cJ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;c=f[a+112>>2]|0;e=a+108|0;d=c;if((e|0)==(d|0))b=0;else{b=0;do{g=f[c+12>>2]|0;b=(_i[f[(f[g>>2]|0)+204>>2]&2047](g)|0)+b|0;c=f[d+4>>2]|0;d=c}while((e|0)!=(d|0))}b=(EH(a)|0)+b|0;d=f[a+124>>2]|0;e=a+120|0;c=d;if((e|0)==(c|0)){g=b;return g|0}do{g=f[d+12>>2]|0;b=(_i[f[(f[g>>2]|0)+204>>2]&2047](g)|0)+b|0;d=f[c+4>>2]|0;c=d}while((e|0)!=(c|0));return b|0}function dJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;a=a+420|0;if((((f[a>>2]|0)==0?(e=EBb(56)|0,rZa(e),d=e+12|0,f[d>>2]=0,f[d+4>>2]=0,f[d+8>>2]=0,f[e+24>>2]=2,f[e+28>>2]=0,f[e>>2]=313224,f[e+32>>2]=0,f[e+36>>2]=0,f[e+40>>2]=0,d=e+48|0,f[d>>2]=0,f[e+52>>2]=0,f[e+44>>2]=d,d=f[a>>2]|0,(d|0)!=(e|0)):0)?(f[a>>2]=e,e=e+8|0,f[e>>2]=(f[e>>2]|0)+1,d|0):0)?(g=d+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(d,1,1);g=f[a>>2]|0;Fj[f[(f[g>>2]|0)+168>>2]&511](g,b,c);return}function eJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;a=a+420|0;if((((f[a>>2]|0)==0?(g=EBb(56)|0,rZa(g),e=g+12|0,f[e>>2]=0,f[e+4>>2]=0,f[e+8>>2]=0,f[g+24>>2]=2,f[g+28>>2]=0,f[g>>2]=313224,f[g+32>>2]=0,f[g+36>>2]=0,f[g+40>>2]=0,e=g+48|0,f[e>>2]=0,f[g+52>>2]=0,f[g+44>>2]=e,e=f[a>>2]|0,(e|0)!=(g|0)):0)?(f[a>>2]=g,g=g+8|0,f[g>>2]=(f[g>>2]|0)+1,e|0):0)?(h=e+8|0,g=f[h>>2]|0,f[h>>2]=g-1,(g|0)==1):0)Rua(e,1,1);h=f[a>>2]|0;Ij[f[(f[h>>2]|0)+172>>2]&127](h,b,c,d);return}function fJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;if(!(f[a+116>>2]|0))return;d=f[a+112>>2]|0;e=a+108|0;a=d;if((e|0)==(a|0))return;do{g=f[d+12>>2]|0;Fj[f[(f[g>>2]|0)+196>>2]&511](g,b,c);d=f[a+4>>2]|0;a=d}while((e|0)!=(a|0));return}function gJ(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,q=0,r=0,s=0,t=0,v=0.0,w=0.0,x=0;t=u;u=u+16|0;n=t;s=f[c>>2]|0;k=a+272|0;g=f[k>>2]|0;if((g|0)!=0?(h=f[s+832>>2]|0,(h|0)!=0):0)if(!(b[h+1292>>0]|0)){o=0;i=1;q=h}else{Bj[f[(f[g>>2]|0)+196>>2]&1023](g,s);o=1;i=1;q=h}else{o=0;i=0;q=0}f[n>>2]=a;h=c+24|0;g=f[h>>2]|0;if((g|0)==(f[c+28>>2]|0))fH(c+20|0,n);else{f[g>>2]=a;f[h>>2]=(f[h>>2]|0)+4}g=f[a+96>>2]|0;if(!g)Fj[f[(f[a>>2]|0)+200>>2]&511](a,c,d);else Ij[f[(f[g>>2]|0)+12>>2]&127](g,a,c,d);f[h>>2]=(f[h>>2]|0)+-4;if(((f[s+368>>2]|0?i&(TIa(s,378659,0)|0):0)?(j=_i[f[q+1332>>2]&2047](36160)|0,(j|0)!=36053):0)?qZa(3)|0:0){l=Nu(Hua(3)|0,378685,41)|0;d=l+(f[(f[l>>2]|0)+-12>>2]|0)+4|0;f[d>>2]=f[d>>2]&-75|8;l=csb(l,j)|0;j=(f[l>>2]|0)+-12|0;d=l+(f[j>>2]|0)+4|0;f[d>>2]=f[d>>2]&-75|2;Drb(n,l+(f[j>>2]|0)|0);j=utb(n,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(n);ksb(l,j)|0;Krb(l)|0}if(o){k=f[k>>2]|0;b[n>>0]=0;l=a+276|0;g=f[l>>2]|0;if((g|0)!=0?(m=q+1368|0,(f[m>>2]|0)!=0):0){h=f[g+56>>2]|0;j=g+60|0;a:do if((h|0)==(j|0))g=0;else{g=0;while(1){switch(f[h+16>>2]|0){case 0:{g=g|256;break}case 1:{g=g|1024;break}case 2:{g=g|1280;break}case 3:{g=g|16384;break}default:{}}i=f[h+4>>2]|0;if(!i){i=h+8|0;d=f[i>>2]|0;if((f[d>>2]|0)==(h|0))h=d;else do{d=f[i>>2]|0;i=d+8|0;h=f[i>>2]|0}while((f[h>>2]|0)!=(d|0))}else{h=i;while(1){i=f[h>>2]|0;if(!i)break;else h=i}}if((h|0)==(j|0))break a}}while(0);TGa(k,s,36008);TGa(f[l>>2]|0,s,36009);if(g|0){k=f[a+144>>2]|0;w=+p[k+56>>3];i=~~w;v=+p[k+64>>3];d=~~v;j=~~(w+ +p[k+72>>3]);k=~~(v+ +p[k+80>>3]);Pj[f[m>>2]&1](i,d,j,k,i,d,j,k,g,9728)}b[n>>0]=1;k=f[l>>2]|0}}else{b[n>>0]=0;k=0}if(b[e>>0]|0){if(k|0)iJ(n,k,s);jJ(a,c)}g=f[a+260>>2]|0;j=a+264|0;if((j|0)!=(g|0)){l=a+252|0;m=a+256|0;c=a+144|0;if(!k)do{d=f[g+20>>2]|0;if(d|0){h=f[d+92>>2]|0;if(!h)h=f[l>>2]|0;i=f[d+96>>2]|0;if(!i)i=f[m>>2]|0;n=f[c>>2]|0;Nj[f[(f[d>>2]|0)+200>>2]&7](d,~~+p[n+56>>3],~~+p[n+64>>3],~~+p[n+72>>3],~~+p[n+80>>3],(h|0)==0?6407:h,(i|0)==0?5121:i,1)}i=g;g=f[i+4>>2]|0;if(!g){h=i+8|0;g=f[h>>2]|0;if((f[g>>2]|0)!=(i|0))do{n=f[h>>2]|0;h=n+8|0;g=f[h>>2]|0}while((f[g>>2]|0)!=(n|0))}else while(1){h=f[g>>2]|0;if(!h)break;else g=h}}while((j|0)!=(g|0));else do{h=g+20|0;if(f[h>>2]|0){iJ(n,k,s);d=f[h>>2]|0;h=f[d+92>>2]|0;if(!h)h=f[l>>2]|0;i=f[d+96>>2]|0;if(!i)i=f[m>>2]|0;x=f[c>>2]|0;Nj[f[(f[d>>2]|0)+200>>2]&7](d,~~+p[x+56>>3],~~+p[x+64>>3],~~+p[x+72>>3],~~+p[x+80>>3],(h|0)==0?6407:h,(i|0)==0?5121:i,1)}i=g;g=f[i+4>>2]|0;if(!g){h=i+8|0;g=f[h>>2]|0;if((f[g>>2]|0)!=(i|0))do{x=f[h>>2]|0;h=x+8|0;g=f[h>>2]|0}while((f[g>>2]|0)!=(x|0))}else while(1){h=f[g>>2]|0;if(!h)break;else g=h}}while((j|0)!=(g|0))}if(!o){u=t;return}if(b[a+284>>0]|0){g=f[s+120>>2]|0;if(!g)g=0;else g=f[g+128>>2]|0;Bj[f[q+1320>>2]&1023](36160,g)}b[e>>0]=1;g=f[a+228>>2]|0;if(!g){u=t;return}if(!(f[g+24>>2]|0)){u=t;return}g=f[a+232>>2]|0;if(!g){u=t;return}h=f[g+584>>2]|0;m=g+588|0;if((h|0)==(m|0)){u=t;return}c=s+732|0;d=q+1364|0;j=s+776|0;k=s+764|0;l=s+768|0;i=h;while(1){h=i+28|0;g=f[h>>2]|0;if(g|0?b[i+40>>0]|0:0){do if((f[c>>2]|0)!=0?(r=f[j>>2]|0,(r|0)!=0):0){q=f[k>>2]|0;x=f[l>>2]|0;if(!(((q|0)>(x|0)?q:x)|0))break;tj[r&2047](33984);f[c>>2]=0;g=f[h>>2]|0}while(0);kJ(s,0,g)|0;q=f[d>>2]|0;x=f[h>>2]|0;x=_i[f[(f[x>>2]|0)+212>>2]&2047](x)|0;tj[q&2047](x)}g=f[i+4>>2]|0;if(!g){h=i+8|0;g=f[h>>2]|0;if((f[g>>2]|0)!=(i|0))do{x=f[h>>2]|0;h=x+8|0;g=f[h>>2]|0}while((f[g>>2]|0)!=(x|0))}else while(1){h=f[g>>2]|0;if(!h)break;else g=h}if((g|0)==(m|0))break;else i=g}u=t;return}function hJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;if(!(f[a+128>>2]|0))return;d=f[a+124>>2]|0;e=a+120|0;a=d;if((e|0)==(a|0))return;do{g=f[d+12>>2]|0;Fj[f[(f[g>>2]|0)+196>>2]&511](g,b,c);d=f[a+4>>2]|0;a=d}while((e|0)!=(a|0));return}function iJ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=u;u=u+16|0;e=g;if(Q_a(c)|0?qZa(2)|0:0){h=Nu(Hua(2)|0,378727,116)|0;Drb(e,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);i=utb(e,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(e);ksb(h,i)|0;Krb(h)|0}if(!(b[a>>0]|0)){u=g;return}TGa(c,d,36008);b[a>>0]=0;u=g;return}function jJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;d=f[b>>2]|0;c=f[a+236>>2]|0;if(!c)return;b=WCb(c,298168,299328,0)|0;if(b|0){a=f[a+144>>2]|0;e=~~+p[a+56>>3];c=~~+p[a+64>>3];F2a(b,d,e,c,e,c,~~+p[a+72>>3],~~+p[a+80>>3]);return}b=WCb(c,298168,299424,0)|0;if(b|0){e=f[a+144>>2]|0;c=~~+p[e+56>>3];a=~~+p[e+64>>3];J2a(b,d,c,a,c,a,~~+p[e+72>>3],~~+p[e+80>>3]);return}b=WCb(c,298168,298744,0)|0;if(b|0){e=f[a+144>>2]|0;a=~~+p[e+56>>3];D2a(b,d,a,a,~~+p[e+64>>3],~~+p[e+72>>3]);return}b=WCb(c,298168,299392,0)|0;if(b|0){e=f[a+144>>2]|0;g=~~+p[e+56>>3];c=~~+p[e+64>>3];G2a(b,d,g,c,f[a+244>>2]|0,g,c,~~+p[e+72>>3],~~+p[e+80>>3]);return}b=WCb(c,298168,299408,0)|0;if(!b)return;g=f[a+144>>2]|0;c=~~+p[g+56>>3];e=~~+p[g+64>>3];H2a(b,d,f[a+244>>2]|0,c,e,c,e,~~+p[g+72>>3],~~+p[g+80>>3]);return}function kJ(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;j=a+696|0;k=a+700|0;e=f[k>>2]|0;h=f[j>>2]|0;i=(e-h|0)/12|0;do if(i>>>0<=c>>>0){g=c+1|0;if(g>>>0>i>>>0){GI(j,g-i|0);break}if(g>>>0<i>>>0){g=h+(g*12|0)|0;if((g|0)!=(e|0))do{m=e;e=e+-12|0;HI(e,f[m+-8>>2]|0)}while((e|0)!=(g|0));f[k>>2]=g}}while(0);m=f[j>>2]|0;l=m+(c*12|0)|0;j=_i[f[(f[d>>2]|0)+172>>2]&2047](d)|0;k=_i[f[(f[d>>2]|0)+176>>2]&2047](d)|0;g=m+(c*12|0)+4|0;e=f[g>>2]|0;do if(e){h=m+(c*12|0)+4|0;a:while(1){g=f[e+16>>2]|0;do if((j|0)>=(g|0)){if((g|0)>=(j|0)){g=f[e+20>>2]|0;if(k>>>0<g>>>0){n=14;break}if(g>>>0>=k>>>0){n=19;break a}}h=e+4|0;g=f[h>>2]|0;if(!g){n=18;break a}else e=g}else n=14;while(0);if((n|0)==14){n=0;g=f[e>>2]|0;if(!g){n=15;break}else{h=e;e=g}}}if((n|0)==15){i=e;h=e;break}else if((n|0)==18){i=e;break}else if((n|0)==19){i=e;break}}else{i=g;h=g}while(0);e=f[h>>2]|0;if(e|0){n=e;n=n+24|0;b[n>>0]=1;d=lJ(a,c,d,n)|0;return d|0}g=EBb(52)|0;e=g+16|0;f[e>>2]=j;f[e+4>>2]=k;b[g+24>>0]=0;e=g+28|0;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[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=i;f[h>>2]=g;e=f[f[l>>2]>>2]|0;if(!e)e=g;else{f[l>>2]=e;e=f[h>>2]|0}Xo(f[m+(c*12|0)+4>>2]|0,e);n=m+(c*12|0)+8|0;f[n>>2]=(f[n>>2]|0)+1;n=g;n=n+24|0;b[n>>0]=1;d=lJ(a,c,d,n)|0;return d|0}function lJ(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=e+4|0;if((f[k>>2]|0)==(d|0)){d=0;return d|0}h=a+732|0;do if((f[h>>2]|0)!=(c|0)){g=f[a+776>>2]|0;if(g|0?(m=f[a+764>>2]|0,l=f[a+768>>2]|0,((m|0)>(l|0)?m:l)>>>0>c>>>0):0){tj[g&2047](c+33984|0);f[h>>2]=c;break}if(c|0){m=0;return m|0}}while(0);c=e+12|0;if((f[c>>2]|0)==0?(i=_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0,i=_i[f[(f[i>>2]|0)+56>>2]&2047](i)|0,j=f[c>>2]|0,(j|0)!=(i|0)):0){f[c>>2]=i;if(i|0){m=i+8|0;f[m>>2]=(f[m>>2]|0)+1}if(j|0?(l=j+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(j,1,1)}f[k>>2]=d;Bj[f[(f[d>>2]|0)+196>>2]&1023](d,a);g=f[d+44>>2]|0;c=e+8|0;if((f[c>>2]|0)!=(g|0)){f[c>>2]=g;b[a+145>>0]=1}if((f[a+368>>2]|0)!=2){m=1;return m|0}L1a(a,d)|0;m=1;return m|0}function mJ(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;l=a+632|0;k=_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0;j=_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0;e=a+636|0;d=f[e>>2]|0;do if(d){g=a+636|0;a:while(1){e=f[d+16>>2]|0;do if((k|0)>=(e|0)){if((e|0)>=(k|0)){e=f[d+20>>2]|0;if(j>>>0<e>>>0){i=6;break}if(e>>>0>=j>>>0){i=11;break a}}g=d+4|0;e=f[g>>2]|0;if(!e){i=10;break a}else d=e}else i=6;while(0);if((i|0)==6){i=0;e=f[d>>2]|0;if(!e){i=7;break}else{g=d;d=e}}}if((i|0)==7){h=d;e=d;break}else if((i|0)==10){h=d;e=g;break}else if((i|0)==11){h=d;e=g;break}}else h=e;while(0);g=f[e>>2]|0;if(!g){g=EBb(52)|0;d=g+16|0;f[d>>2]=k;f[d+4>>2]=j;b[g+24>>0]=0;d=g+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[e>>2]=g;d=f[f[l>>2]>>2]|0;if(!d)d=g;else{f[l>>2]=d;d=f[e>>2]|0}Xo(f[a+636>>2]|0,d);l=a+640|0;f[l>>2]=(f[l>>2]|0)+1}b[g+24>>0]=1;d=g+28|0;if((f[d>>2]|0)==(c|0)){c=0;return c|0}e=g+36|0;if((f[e>>2]|0)==0?(m=_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0,m=_i[f[(f[m>>2]|0)+56>>2]&2047](m)|0,n=f[e>>2]|0,(n|0)!=(m|0)):0){f[e>>2]=m;if(m|0){m=m+8|0;f[m>>2]=(f[m>>2]|0)+1}if(n|0?(l=n+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(n,1,1)}f[d>>2]=c;Bj[f[(f[c>>2]|0)+196>>2]&1023](c,a);e=f[c+44>>2]|0;d=g+32|0;if((f[d>>2]|0)!=(e|0)){f[d>>2]=e;b[a+145>>0]=1}if((f[a+368>>2]|0)!=2){c=1;return c|0}L1a(a,c)|0;c=1;return c|0}function nJ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0,k=0;k=a+620|0;g=a+624|0;e=f[g>>2]|0;do if(e){i=a+624|0;while(1){g=f[e+16>>2]|0;if(g>>>0>c>>>0){g=f[e>>2]|0;if(!g){g=5;break}else{i=e;e=g}}else{if(g>>>0>=c>>>0){g=9;break}i=e+4|0;g=f[i>>2]|0;if(!g){g=8;break}else e=g}}if((g|0)==5){j=e;i=e;break}else if((g|0)==8){j=e;break}else if((g|0)==9){j=e;break}}else{j=g;i=g}while(0);e=f[i>>2]|0;if(!e){e=EBb(36)|0;f[e+16>>2]=c;f[e+24>>2]=0;f[e+28>>2]=0;f[e+32>>2]=0;b[e+20>>0]=1;b[e+21>>0]=0;b[e+22>>0]=0;b[e+23>>0]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=j;f[i>>2]=e;g=f[f[k>>2]>>2]|0;if(!g)g=e;else{f[k>>2]=g;g=f[i>>2]|0}Xo(f[a+624>>2]|0,g);k=a+628|0;f[k>>2]=(f[k>>2]|0)+1}b[e+21>>0]=1;if(!(b[e+20>>0]|0)){d=0;return d|0}e=e+22|0;if((h[e>>0]|0)==(d&1|0)){d=0;return d|0}b[e>>0]=d&1;if(d)Ih(c|0);else Fh(c|0);if((f[a+368>>2]|0)!=2){d=1;return d|0}M1a(a,c)|0;d=1;return d|0}function oJ(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,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+16|0;P=R;b[a+220>>0]=0;d=f[a+228>>2]|0;if(!d){u=R;return}if(!(f[d+24>>2]|0)){u=R;return}z=a+232|0;if(!(f[z>>2]|0)){u=R;return}if(qZa(4)|0){Q=jsb(Nu(Hua(4)|0,378932,57)|0,a)|0;Drb(P,Q+(f[(f[Q>>2]|0)+-12>>2]|0)|0);N=utb(P,504576)|0;N=cj[f[(f[N>>2]|0)+28>>2]&1023](N,10)|0;vtb(P);ksb(Q,N)|0;Krb(Q)|0}Q=f[z>>2]|0;f[a+224>>2]=f[Q+604>>2];B=f[c>>2]|0;d=f[Q+576>>2]|0;M=f[Q+580>>2]|0;v=a+260|0;w=a+264|0;SI(v,f[w>>2]|0);x=a+268|0;f[x>>2]=0;f[v>>2]=w;f[w>>2]=0;e=f[a+144>>2]|0;c=~~(+p[e+56>>3]+ +p[e+72>>3]);e=~~(+p[e+64>>3]+ +p[e+80>>3]);N=Q+584|0;g=f[N>>2]|0;Q=Q+588|0;if((g|0)==(Q|0)){L=c;K=e;c=g}else{i=c;j=e;while(1){e=g+28|0;c=f[e>>2]|0;if(c){L=_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0;c=f[e>>2]|0;i=(i|0)>(L|0)?i:L;if(c){c=_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0;e=f[e>>2]|0;c=(j|0)>(c|0)?j:c;if(!e)j=c;else{_i[f[(f[e>>2]|0)+224>>2]&2047](e)|0;j=c}}else{e=i;J=16}}else{c=f[g+24>>2]|0;if(!c)c=0;else c=f[c+72>>2]|0;e=(i|0)>(c|0)?i:c;J=16}if((J|0)==16){J=0;c=f[g+24>>2]|0;if(!c)c=0;else c=f[c+76>>2]|0;j=(j|0)>(c|0)?j:c;i=e}c=f[g+4>>2]|0;if(!c){e=g+8|0;c=f[e>>2]|0;if((f[c>>2]|0)!=(g|0))do{L=f[e>>2]|0;e=L+8|0;c=f[e>>2]|0}while((f[c>>2]|0)!=(L|0))}else while(1){e=f[c>>2]|0;if(!e)break;else c=e}if((c|0)==(Q|0))break;else g=c}L=i;K=j;c=f[N>>2]|0}if((c|0)!=(Q|0)){r=a+264|0;s=a+252|0;t=a+256|0;q=c;while(1){n=q+16|0;o=f[q+24>>2]|0;if(o|0){e=f[o+92>>2]|0;c=f[o+96>>2]|0;if(!(f[o+112>>2]|0)){if(!e){e=f[q+20>>2]|0;if(!e)e=f[s>>2]|0}if(!c)c=f[t>>2]|0;c=(c|0)==0?5121:c;e=(e|0)==0?6408:e}i=f[w>>2]|0;do if(i){m=f[n>>2]|0;l=r;g=i;while(1){j=f[g+16>>2]|0;if((m|0)<(j|0)){j=f[g>>2]|0;if(!j){J=42;break}else{l=g;g=j}}else{if((j|0)>=(m|0)){J=46;break}l=g+4|0;j=f[l>>2]|0;if(!j){J=45;break}else g=j}}if((J|0)==42){J=0;j=g;l=g;break}else if((J|0)==45){J=0;j=g;break}else if((J|0)==46){J=0;j=g;break}}else{j=w;l=w}while(0);g=f[l>>2]|0;if(!g){i=EBb(32)|0;f[i+16>>2]=f[n>>2];g=i+20|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=j;f[l>>2]=i;g=f[f[v>>2]>>2]|0;if(!g)g=i;else{f[v>>2]=g;g=f[l>>2]|0}Xo(f[r>>2]|0,g);f[x>>2]=(f[x>>2]|0)+1;g=i;i=f[w>>2]|0}f[g+24>>2]=e;do if(i){l=f[n>>2]|0;j=r;e=i;while(1){g=f[e+16>>2]|0;if((l|0)<(g|0)){g=f[e>>2]|0;if(!g){J=56;break}else{j=e;e=g}}else{if((g|0)>=(l|0)){J=60;break}j=e+4|0;g=f[j>>2]|0;if(!g){J=59;break}else e=g}}if((J|0)==56){J=0;l=e;j=e;break}else if((J|0)==59){J=0;l=e;break}else if((J|0)==60){J=0;l=e;break}}else{l=w;j=w}while(0);e=f[j>>2]|0;if(!e){g=EBb(32)|0;f[g+16>>2]=f[n>>2];e=g+20|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=l;f[j>>2]=g;e=f[f[v>>2]>>2]|0;if(!e)e=g;else{f[v>>2]=e;e=f[j>>2]|0}Xo(f[r>>2]|0,e);f[x>>2]=(f[x>>2]|0)+1;e=g;i=f[w>>2]|0}f[e+28>>2]=c;do if(i){j=f[n>>2]|0;g=r;c=i;while(1){e=f[c+16>>2]|0;if((j|0)<(e|0)){e=f[c>>2]|0;if(!e){J=70;break}else{g=c;c=e}}else{if((e|0)>=(j|0)){J=74;break}g=c+4|0;e=f[g>>2]|0;if(!e){J=73;break}else c=e}}if((J|0)==70){J=0;e=c;g=c;break}else if((J|0)==73){J=0;e=c;break}else if((J|0)==74){J=0;e=c;break}}else{e=w;g=w}while(0);c=f[g>>2]|0;if(!c){c=EBb(32)|0;f[c+16>>2]=f[n>>2];I=c+20|0;f[I>>2]=0;f[I+4>>2]=0;f[I+8>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[v>>2]>>2]|0;if(!e)e=c;else{f[v>>2]=e;e=f[g>>2]|0}Xo(f[r>>2]|0,e);f[x>>2]=(f[x>>2]|0)+1}c=c+20|0;e=f[c>>2]|0;if(((e|0)!=(o|0)?(f[c>>2]=o,I=o+8|0,f[I>>2]=(f[I>>2]|0)+1,e|0):0)?(H=e+8|0,I=f[H>>2]|0,f[H>>2]=I-1,(I|0)==1):0)Rua(e,1,1)}e=f[q+28>>2]|0;do if(e|0){c=WCb(e,298168,298744,0)|0;if(c|0){if(_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0)break;f[c+236>>2]=L;break}c=WCb(e,298168,299328,0)|0;if(c|0){if(_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0?_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0:0)break;f[c+236>>2]=L;f[c+240>>2]=K;break}c=WCb(e,298168,299376,0)|0;if(c|0){if(_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0?_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0:0)break;f[c+232>>2]=L;f[c+236>>2]=K;break}c=WCb(e,298168,299392,0)|0;if(c|0){if((_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0?_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0:0)?_i[f[(f[c>>2]|0)+224>>2]&2047](c)|0:0)break;f[c+236>>2]=L;f[c+240>>2]=K;f[c+244>>2]=K;break}c=WCb(e,298168,299408,0)|0;if(c|0){if(_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0?_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0:0)break;f[c+256>>2]=L;f[c+260>>2]=K;break}c=WCb(e,298168,299424,0)|0;if(c|0){if(_i[f[(f[c>>2]|0)+216>>2]&2047](c)|0?_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0:0)break;f[c+236>>2]=L;f[c+240>>2]=K}}while(0);c=f[q+4>>2]|0;if(!c){e=q+8|0;c=f[e>>2]|0;if((f[c>>2]|0)!=(q|0))do{I=f[e>>2]|0;e=I+8|0;c=f[e>>2]|0}while((f[c>>2]|0)!=(I|0))}else while(1){e=f[c>>2]|0;if(!e)break;else c=e}if((c|0)==(Q|0))break;else q=c}}do if(!d){w=f[B+832>>2]|0;d=b[w+1292>>0]|0;if(!(d<<24>>24))if((M|0)>1){d=M;break}else{J=225;break}if(qZa(4)|0){J=Nu(Hua(4)|0,378990,43)|0;Drb(P,J+(f[(f[J>>2]|0)+-12>>2]|0)|0);I=utb(P,504576)|0;I=cj[f[(f[I>>2]|0)+28>>2]&1023](I,10)|0;vtb(P);ksb(J,I)|0;Krb(J)|0}y=(f[z>>2]|0)+208|0;_i[f[(f[y>>2]|0)+8>>2]&2047](y)|0;c=EBb(116)|0;cHa(c);x=c+8|0;f[x>>2]=(f[x>>2]|0)+1;e=f[z>>2]|0;i=f[e+596>>2]|0;do if((i|0)==-1){g=f[e+232>>2]|0;if(!g){g=Dxa()|0;e=f[z>>2]|0;i=f[e+596>>2]|0;g=f[(f[g>>2]|0)+124>>2]|0;if((i|0)!=-1)break}else g=f[g+124>>2]|0;e=f[e+232>>2]|0;if(!e){e=Dxa()|0;e=f[e>>2]|0}i=f[e+124>>2]|0}else g=i;while(0);if((f[w+1312>>2]|0)!=0?(k=f[N>>2]|0,(k|0)!=(Q|0)):0){l=0;m=0;while(1){e=f[k+44>>2]|0;m=m>>>0>e>>>0?m:e;e=f[k+48>>2]|0;l=l>>>0>e>>>0?l:e;e=f[k+4>>2]|0;if(!e){j=k+8|0;e=f[j>>2]|0;if((f[e>>2]|0)!=(k|0))do{J=f[j>>2]|0;j=J+8|0;e=f[j>>2]|0}while((f[e>>2]|0)!=(J|0))}else while(1){j=f[e>>2]|0;if(!j)break;else e=j}if((e|0)==(Q|0))break;else k=e}if(l>>>0>m>>>0)if(qZa(2)|0){j=Nu(Hua(2)|0,379034,104)|0;Drb(P,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);J=utb(P,504576)|0;J=cj[f[(f[J>>2]|0)+28>>2]&1023](J,10)|0;vtb(P);ksb(j,J)|0;Krb(j)|0;j=m}else j=m;else j=l;if(m){k=EBb(116)|0;cHa(k);e=k+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[z>>2]|0;i=f[e+600>>2]|0;if((i|0)==-1){e=f[e+232>>2]|0;if(!e){e=Dxa()|0;e=f[e>>2]|0}i=f[e+128>>2]|0;t=m;s=j;v=k}else{t=m;s=j;v=k}}else{t=0;s=j;v=0}}else{t=0;s=0;v=0}k=f[N>>2]|0;if((k|0)!=(Q|0)){r=(v|0)==0;j=0;q=0;e=0;while(1){o=f[k+16>>2]|0;l=k+20|0;m=k+28|0;if((f[m>>2]|0)==0?(f[k+24>>2]|0)==0:0){J=EBb(76)|0;K_a(J,L,K,f[l>>2]|0,0,0);L_a(P,J);O_a(c,o,P);aHa(P)}else{M_a(P,l);O_a(c,o,P);aHa(P)}if(!r){l=f[l>>2]|0;a:do if(!l)switch(o|0){case 0:{l=33190;break a}case 1:{l=36168;break a}case 2:{l=34041;break a}default:{m=f[m>>2]|0;if(!m){l=6408;break a}n=m+188|0;l=f[n>>2]|0;if(l|0)break a;tj[f[(f[m>>2]|0)+248>>2]&2047](m);l=f[n>>2]|0;break a}}while(0);J=EBb(76)|0;K_a(J,L,K,l,t,s);L_a(P,J);O_a(v,o,P);aHa(P)}switch(o|0){case 0:{n=1;break}case 1:{j=1;n=q;break}case 2:{j=1;n=1;break}default:{n=q;e=e|(o|0)>2}}l=f[k+4>>2]|0;if(!l){l=k+8|0;m=f[l>>2]|0;if((f[m>>2]|0)==(k|0))k=m;else do{J=f[l>>2]|0;l=J+8|0;k=f[l>>2]|0}while((f[k>>2]|0)!=(J|0))}else{k=l;while(1){l=f[k>>2]|0;if(!l)break;else k=l}}if((k|0)==(Q|0))break;else q=n}if(n)J=179;else J=175}else{j=0;e=0;J=175}if((J|0)==175){if(i&1|0){J=EBb(76)|0;K_a(J,L,K,33190,0,0);L_a(P,J);O_a(c,0,P);aHa(P)}if(!((g&1|0)==0|(v|0)==0)){J=EBb(76)|0;K_a(J,L,K,33190,t,s);L_a(P,J);O_a(v,0,P);aHa(P);if(j){A=e;J=184}else J=180}else J=179}if((J|0)==179)if(j){A=e;J=184}else J=180;if((J|0)==180){if(i&2|0){I=EBb(76)|0;K_a(I,L,K,36168,0,0);L_a(P,I);O_a(c,1,P);aHa(P)}if(!((g&2|0)==0|(v|0)==0)){I=EBb(76)|0;K_a(I,L,K,36168,t,s);L_a(P,I);O_a(v,1,P);aHa(P);if(!e)J=185}else{A=e;J=184}}if((J|0)==184?!A:0)J=185;if((J|0)==185){if(i&4|0){I=EBb(76)|0;K_a(I,L,K,6407,0,0);L_a(P,I);O_a(c,3,P);aHa(P)}if(!((g&4|0)==0|(v|0)==0)){I=EBb(76)|0;K_a(I,L,K,6407,t,s);L_a(P,I);O_a(v,3,P);aHa(P)}}Bj[f[(f[c>>2]|0)+196>>2]&1023](c,B);g=w+1332|0;e=_i[f[g>>2]&2047](36160)|0;do if((e|0)!=36053){if(qZa(3)|0){I=Nu(Hua(3)|0,379139,63)|0;H=I+(f[(f[I>>2]|0)+-12>>2]|0)+4|0;f[H>>2]=f[H>>2]&-75|8;I=csb(I,e)|0;H=(f[I>>2]|0)+-12|0;G=I+(f[H>>2]|0)+4|0;f[G>>2]=f[G>>2]&-75|2;Drb(P,I+(f[H>>2]|0)|0);H=utb(P,504576)|0;H=cj[f[(f[H>>2]|0)+28>>2]&1023](H,10)|0;vtb(P);ksb(I,H)|0;Krb(I)|0}d=f[B+120>>2]|0;if(!d)d=0;else d=f[d+128>>2]|0;Bj[f[w+1320>>2]&1023](36160,d);I=f[x>>2]|0;f[x>>2]=I-1;if((I|0)==1)Rua(c,1,1);I=B+124|0;H=wJ(Uza(f[I>>2]|0)|0)|0;tj[f[(f[H>>2]|0)+32>>2]&2047](H);I=xJ(Uza(f[I>>2]|0)|0)|0;tj[f[(f[I>>2]|0)+32>>2]&2047](I);if(!v)d=0;else{d=0;c=0;J=218}}else{f[a+152>>2]=0;b[a+156>>0]=0;f[a+160>>2]=0;b[a+164>>0]=0;i=a+272|0;e=f[i>>2]|0;if(((e|0)!=(c|0)?(f[i>>2]=c,f[x>>2]=(f[x>>2]|0)+1,e|0):0)?(I=e+8|0,J=f[I>>2]|0,f[I>>2]=J-1,(J|0)==1):0)Rua(e,1,1);if(!v){e=a+276|0;g=f[e>>2]|0;if(!g){J=221;break}f[e>>2]=0;I=g+8|0;J=f[I>>2]|0;f[I>>2]=J-1;if((J|0)!=1){J=221;break}Rua(g,1,1);J=221;break}Bj[f[(f[v>>2]|0)+196>>2]&1023](v,B);e=_i[f[g>>2]&2047](36160)|0;if((e|0)==36053){e=a+276|0;g=f[e>>2]|0;f[e>>2]=f[i>>2];f[i>>2]=g;e=g;if((v|0)==(e|0)){J=218;break}f[i>>2]=v;J=v+8|0;f[J>>2]=(f[J>>2]|0)+1;if(!g){J=218;break}I=e+8|0;J=f[I>>2]|0;f[I>>2]=J-1;if((J|0)!=1){J=218;break}Rua(e,1,1);J=218;break}if(qZa(3)|0){J=Nu(Hua(3)|0,379203,76)|0;I=J+(f[(f[J>>2]|0)+-12>>2]|0)+4|0;f[I>>2]=f[I>>2]&-75|8;J=csb(J,e)|0;I=(f[J>>2]|0)+-12|0;H=J+(f[I>>2]|0)+4|0;f[H>>2]=f[H>>2]&-75|2;Drb(P,J+(f[I>>2]|0)|0);I=utb(P,504576)|0;I=cj[f[(f[I>>2]|0)+28>>2]&1023](I,10)|0;vtb(P);ksb(J,I)|0;Krb(J)|0}Bj[f[(f[c>>2]|0)+196>>2]&1023](c,B);I=v+8|0;J=f[I>>2]|0;f[I>>2]=J-1;if((J|0)==1)Rua(v,1,1);e=a+276|0;g=f[e>>2]|0;do if(g|0){f[e>>2]=0;I=g+8|0;J=f[I>>2]|0;f[I>>2]=J-1;if((J|0)!=1)break;Rua(g,1,1)}while(0);J=B+124|0;I=wJ(Uza(f[J>>2]|0)|0)|0;tj[f[(f[I>>2]|0)+32>>2]&2047](I);J=xJ(Uza(f[J>>2]|0)|0)|0;tj[f[(f[J>>2]|0)+32>>2]&2047](J);J=221}while(0);if((J|0)==218){H=v+8|0;I=f[H>>2]|0;f[H>>2]=I-1;if((I|0)==1)Rua(v,1,1);if(c)J=221}if((J|0)==221){H=c+8|0;I=f[H>>2]|0;f[H>>2]=I-1;if((I|0)==1)Rua(c,1,1)}_i[f[(f[y>>2]|0)+12>>2]&2047](y)|0;if(!(d<<24>>24)){d=(M|0)>1?M:1;J=224}else d=0}else J=224;while(0);if((J|0)==224)if((d|0)==1)J=225;if((J|0)==225){d=a$a(f[B+124>>2]|0,379280)|0;d=d?1:(M|0)>2?M:2}I=a+280|0;b:do if(!(f[I>>2]|0)){A=B+120|0;B=a+152|0;C=a+156|0;D=a+160|0;E=a+164|0;F=a+236|0;G=a+240|0;H=a+244|0;c:while(1){x=(d|0)==1;n=(d|0)==4;switch(d|0){case 3:break b;case 1:case 2:case 4:break;default:break c}y=EBb(200)|0;i$a(y,0);z=y+8|0;f[z>>2]=(f[z>>2]|0)+1;f[y+40>>2]=L;f[y+44>>2]=K;b[y+108>>0]=(d+-1|0)>>>0<2&1;j=n&1;b[y+72>>0]=j;b[y+110>>0]=j;j=f[N>>2]|0;if((j|0)!=(Q|0)){o=y+92|0;q=y+96|0;r=y+112|0;s=y+116|0;t=y+120|0;v=y+124|0;w=y+128|0;m=0;e=0;g=0;c=0;i=0;do{switch(f[j+16>>2]|0){case 0:{f[o>>2]=24;m=1;break}case 1:{f[q>>2]=8;break}case 2:{f[o>>2]=24;f[q>>2]=8;m=1;break}case 3:{c=f[j+20>>2]|0;do if(!c){g=f[j+28>>2]|0;if(!g){c=f[j+24>>2]|0;if(!c){c=6408;break}c=f[c+88>>2]|0;break}else{e=g+188|0;c=f[e>>2]|0;if(c|0){i=g;break}tj[f[(f[g>>2]|0)+248>>2]&2047](g);c=f[e>>2]|0;i=g;break}}while(0);g=f[j+32>>2]|0;e=f[j+36>>2]|0;if(x){k=f[j+28>>2]|0;if(!k)k=0;else k=_i[f[(f[k>>2]|0)+212>>2]&2047](k)|0;f[r>>2]=k;f[s>>2]=c;f[t>>2]=g;f[v>>2]=e;f[w>>2]=h[j+40>>0]}break}default:{k=qZa(3)|0;if(n){if(k)Nu(Hua(3)|0,379303,52)|0}else if(k)Nu(Hua(3)|0,379356,53)|0;if(qZa(3)|0){l=Nu(Hua(3)|0,379410,40)|0;Drb(P,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(P,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(P);ksb(l,k)|0;Krb(l)|0}}}k=f[j+4>>2]|0;if(!k){k=j+8|0;l=f[k>>2]|0;if((f[l>>2]|0)==(j|0))j=l;else do{l=f[k>>2]|0;k=l+8|0;j=f[k>>2]|0}while((f[j>>2]|0)!=(l|0))}else{j=k;while(1){k=f[j>>2]|0;if(!k)break;else j=k}}}while((j|0)!=(Q|0));if(m)l=e;else J=261}else{e=0;g=0;c=0;i=0;J=261}if((J|0)==261){J=0;f[y+92>>2]=24;l=e}f[y+76>>2]=8;f[y+84>>2]=8;f[y+80>>2]=8;f[y+88>>2]=(c|0)==6408?8:0;k=f[A>>2]|0;if(k|0){c=cCa(k)|0;e=y+168|0;j=f[e>>2]|0;if((j|0)!=(c|0)){f[e>>2]=c;if(c|0){w=c+8|0;f[w>>2]=(f[w>>2]|0)+1}if(j|0?(v=j+8|0,w=f[v>>2]|0,f[v>>2]=w-1,(w|0)==1):0)Rua(j,1,1);c=f[e>>2]|0}if(!c)c=0;else c=(f[c+24>>2]|0)==0?0:k;f[y+172>>2]=c;c=f[c+44>>2]|0;if(c|0){UBb(y+12|0,c+12|0)|0;f[y+24>>2]=f[c+24>>2];f[y+28>>2]=f[c+28>>2]}}c=e_a(y)|0;do if(c){w=c+8|0;f[w>>2]=(f[w>>2]|0)+1;if(j_a(c)|0){if(qZa(4)|0){w=Nu(Hua(4)|0,379451,62)|0;Drb(P,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);v=utb(P,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(P);ksb(w,v)|0;Krb(w)|0}e=f[I>>2]|0;if(((e|0)!=(c|0)?(f[I>>2]=c,w=c+8|0,f[w>>2]=(f[w>>2]|0)+1,e|0):0)?(v=e+8|0,w=f[v>>2]|0,f[v>>2]=w-1,(w|0)==1):0)Rua(e,1,1);f[B>>2]=1028;b[C>>0]=1;f[D>>2]=1028;b[E>>0]=1;e=qZa(4)|0;if(x&(i|0)!=0){if(e){x=Nu(Hua(4)|0,379514,70)|0;Drb(P,x+(f[(f[x>>2]|0)+-12>>2]|0)|0);w=utb(P,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(P);ksb(x,w)|0;Krb(x)|0}d=i+228|0;e=f[d>>2]|0;if((e|0)==(c|0)){d=1;break}f[d>>2]=c;x=c+8|0;f[x>>2]=(f[x>>2]|0)+1;if(!e){d=1;break}w=e+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1){d=1;break}Rua(e,1,1);d=1;break}if(e){x=Nu(Hua(4)|0,379585,93)|0;Drb(P,x+(f[(f[x>>2]|0)+-12>>2]|0)|0);w=utb(P,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(P);ksb(x,w)|0;Krb(x)|0}e=f[F>>2]|0;do if((e|0)!=(i|0)){f[F>>2]=i;if(i|0){x=i+8|0;f[x>>2]=(f[x>>2]|0)+1}if(!e)break;w=e+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(e,1,1)}while(0);f[G>>2]=g;f[H>>2]=l}else J=298}else{c=0;J=298}while(0);if((J|0)==298){J=0;if(qZa(4)|0){w=Nu(Hua(4)|0,379679,34)|0;Drb(P,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);v=utb(P,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(P);ksb(w,v)|0;Krb(w)|0}d=x?((d|0)<(M|0)?M:2):3}x=f[z>>2]|0;f[z>>2]=x-1;if((x|0)==1)Rua(y,1,1);if(c|0?(y=c+8|0,z=f[y>>2]|0,f[y>>2]=z-1,(z|0)==1):0)Rua(c,1,1);if(f[I>>2]|0){O=d;J=307;break b}}u=R;return}else{O=d;J=307}while(0);if((J|0)==307?(O|0)!=3:0){u=R;return}if(qZa(4)|0){O=Nu(Hua(4)|0,379714,36)|0;Drb(P,O+(f[(f[O>>2]|0)+-12>>2]|0)|0);M=utb(P,504576)|0;M=cj[f[(f[M>>2]|0)+28>>2]&1023](M,10)|0;vtb(P);ksb(O,M)|0;Krb(O)|0}d=f[N>>2]|0;if((d|0)==(Q|0)){u=R;return}k=a+236|0;l=a+240|0;j=a+244|0;i=d;while(1){d=f[i+28>>2]|0;if(d|0){c=f[i+32>>2]|0;e=f[i+36>>2]|0;g=f[k>>2]|0;if(((g|0)!=(d|0)?(f[k>>2]=d,a=d+8|0,f[a>>2]=(f[a>>2]|0)+1,g|0):0)?(P=g+8|0,a=f[P>>2]|0,f[P>>2]=a-1,(a|0)==1):0)Rua(g,1,1);f[l>>2]=c;f[j>>2]=e}d=f[i+4>>2]|0;if(!d){c=i+8|0;d=f[c>>2]|0;if((f[d>>2]|0)!=(i|0))do{a=f[c>>2]|0;c=a+8|0;d=f[c>>2]|0}while((f[d>>2]|0)!=(a|0))}else while(1){c=f[d>>2]|0;if(!c)break;else d=c}if((d|0)==(Q|0))break;else i=d}u=R;return}function pJ(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;c=f[b>>2]|0;f[a>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}f[a+4>>2]=f[b+4>>2];d=a+8|0;e=b+8|0;f[d>>2]=0;k=a+12|0;f[k>>2]=0;g=a+16|0;f[g>>2]=0;i=b+12|0;c=(f[i>>2]|0)-(f[e>>2]|0)|0;h=c>>2;if(c|0){if(h>>>0>1073741823)DCb(d);j=EBb(c)|0;f[k>>2]=j;f[d>>2]=j;f[g>>2]=j+(h<<2);d=f[e>>2]|0;c=(f[i>>2]|0)-d|0;if((c|0)>0){YDb(j|0,d|0,c|0)|0;f[k>>2]=j+(c>>>2<<2)}}d=a+20|0;e=b+20|0;f[d>>2]=0;k=a+24|0;f[k>>2]=0;g=a+28|0;f[g>>2]=0;i=b+24|0;c=(f[i>>2]|0)-(f[e>>2]|0)|0;h=c>>2;if(c|0){if(h>>>0>1073741823)DCb(d);j=EBb(c)|0;f[k>>2]=j;f[d>>2]=j;f[g>>2]=j+(h<<2);d=f[e>>2]|0;c=(f[i>>2]|0)-d|0;if((c|0)>0){YDb(j|0,d|0,c|0)|0;f[k>>2]=j+(c>>>2<<2)}}c=f[b+32>>2]|0;f[a+32>>2]=c;if(!c)return;a=c+8|0;f[a>>2]=(f[a>>2]|0)+1;return}function qJ(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;j=u;u=u+16|0;e=j;g=a+60|0;v_a(g,1);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;h=EBb(16)|0;f[e>>2]=h;f[e+8>>2]=-2147483632;f[e+4>>2]=14;i=h;k=378896;l=i+14|0;do{b[i>>0]=b[k>>0]|0;i=i+1|0;k=k+1|0}while((i|0)<(l|0));b[h+14>>0]=0;f[a>>2]=282028;f[g>>2]=282060;OBb(a+4|0,e);b[a+16>>0]=0;if((b[e+11>>0]|0)>=0){f[a>>2]=313824;f[g>>2]=313856;l=a+20|0;f[l>>2]=c;l=a+24|0;pJ(l,d);u=j;return}GBb(f[e>>2]|0);f[a>>2]=313824;f[g>>2]=313856;l=a+20|0;f[l>>2]=c;l=a+24|0;pJ(l,d);u=j;return}function rJ(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;g=i;h=i+4|0;if(!c){u=i;return}c=WCb(c,295088,297048,0)|0;if(!c){u=i;return}e=a+20|0;if(!(f[e>>2]|0)){u=i;return}f[g>>2]=0;b[h>>0]=0;d=a+24|0;c=f[c+48>>2]|0;a=f[d>>2]|0;if((a|0)!=(c|0)){f[d>>2]=c;if(c|0){c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}if(a|0?(j=a+8|0,c=f[j>>2]|0,f[j>>2]=c-1,(c|0)==1):0)Rua(a,1,1)}j=f[e>>2]|0;Ij[f[(f[j>>2]|0)+220>>2]&127](j,d,g,h);u=i;return}function sJ(a){a=a|0;var c=0;f[a>>2]=313824;c=a+60|0;f[c>>2]=313856;eG(a+24|0);f[a>>2]=282028;f[c>>2]=282060;a=a+4|0;if((b[a+11>>0]|0)>=0){Uua(c);return}GBb(f[a>>2]|0);Uua(c);return}function tJ(a){a=a|0;var c=0,d=0;f[a>>2]=313824;c=a+60|0;f[c>>2]=313856;eG(a+24|0);f[a>>2]=282028;f[c>>2]=282060;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function uJ(a){a=a|0;var c=0;c=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[c>>2]=313824;a=c+60|0;f[a>>2]=313856;eG(c+24|0);f[c>>2]=282028;f[a>>2]=282060;c=c+4|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function vJ(a){a=a|0;var c=0,d=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=313824;c=a+60|0;f[c>>2]=313856;eG(a+24|0);f[a>>2]=282028;f[c>>2]=282060;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function wJ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+36|0;c=a+40|0;b=f[c>>2]|0;do if(b){d=a+40|0;while(1){c=f[b+16>>2]|0;if(c>>>0>296848>>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=296848>>>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=c;d=c}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=296848;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+40>>2]|0,c);g=a+44|0;f[g>>2]=(f[g>>2]|0)+1}c=b+20|0;if(f[c>>2]|0){a=f[c>>2]|0;return a|0}d=EBb(52)|0;I_a(d,f[a+24>>2]|0);b=f[c>>2]|0;if((b|0)==(d|0)){a=f[c>>2]|0;return a|0}f[c>>2]=d;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!b){a=f[c>>2]|0;return a|0}g=b+8|0;a=f[g>>2]|0;f[g>>2]=a-1;if((a|0)!=1){a=f[c>>2]|0;return a|0}Rua(b,1,1);a=f[c>>2]|0;return a|0}function xJ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+36|0;c=a+40|0;b=f[c>>2]|0;do if(b){d=a+40|0;while(1){c=f[b+16>>2]|0;if(c>>>0>296880>>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=296880>>>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=c;d=c}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=296880;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+40>>2]|0,c);g=a+44|0;f[g>>2]=(f[g>>2]|0)+1}c=b+20|0;if(f[c>>2]|0){a=f[c>>2]|0;return a|0}d=EBb(52)|0;J_a(d,f[a+24>>2]|0);b=f[c>>2]|0;if((b|0)==(d|0)){a=f[c>>2]|0;return a|0}f[c>>2]=d;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!b){a=f[c>>2]|0;return a|0}g=b+8|0;a=f[g>>2]|0;f[g>>2]=a-1;if((a|0)!=1){a=f[c>>2]|0;return a|0}Rua(b,1,1);a=f[c>>2]|0;return a|0}function yJ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;ZH(a,c,d);f[a>>2]=313584;b[a+104>>0]=0;zJ(a+108|0,c+108|0);zJ(a+120|0,c+120|0);f[a+132>>2]=0;f[a+136>>2]=0;f[a+140>>2]=0;d=f[c+144>>2]|0;f[a+144>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}f[a+148>>2]=0;f[a+152>>2]=f[c+152>>2];b[a+156>>0]=b[c+156>>0]|0;f[a+160>>2]=f[c+160>>2];b[a+164>>0]=b[c+164>>0]|0;f[a+168>>2]=f[c+168>>2];d=f[c+172>>2]|0;f[a+172>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}d=a+176|0;e=c+176|0;f[d>>2]=f[e>>2];f[d+4>>2]=f[e+4>>2];f[d+8>>2]=f[e+8>>2];f[d+12>>2]=f[e+12>>2];d=a+192|0;e=c+192|0;f[d>>2]=f[e>>2];f[d+4>>2]=f[e+4>>2];f[d+8>>2]=f[e+8>>2];f[d+12>>2]=f[e+12>>2];p[a+208>>3]=+p[c+208>>3];f[a+216>>2]=f[c+216>>2];b[a+220>>0]=b[c+220>>0]|0;f[a+224>>2]=f[c+224>>2];d=f[c+228>>2]|0;f[a+228>>2]=d;if(d|0){e=d+8|0;f[e>>2]=(f[e>>2]|0)+1}f[a+232>>2]=f[c+232>>2];f[a+236>>2]=0;f[a+240>>2]=f[c+240>>2];f[a+244>>2]=f[c+244>>2];f[a+248>>2]=0;f[a+252>>2]=f[c+252>>2];f[a+256>>2]=f[c+256>>2];f[a+264>>2]=0;f[a+268>>2]=0;f[a+260>>2]=a+264;f[a+272>>2]=0;f[a+276>>2]=0;f[a+280>>2]=0;b[a+284>>0]=b[c+284>>0]|0;f3a(a+288|0);f[a+416>>2]=0;d=f[c+420>>2]|0;f[a+420>>2]=d;if(!d){e=a+44|0;f[e>>2]=a;return}e=d+8|0;f[e>>2]=(f[e>>2]|0)+1;e=a+44|0;f[e>>2]=a;return}function zJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=a;f[a+4>>2]=a;i=a+8|0;f[i>>2]=0;c=f[b+4>>2]|0;d=c;if((b|0)==(d|0))return;h=a;g=0;do{e=h;h=EBb(16)|0;f[h>>2]=0;f[h+8>>2]=f[c+8>>2];c=f[c+12>>2]|0;f[h+12>>2]=c;if(!c)c=g;else{e=c+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[a>>2]|0;c=f[i>>2]|0}f[h+4>>2]=a;f[h>>2]=e;f[e+4>>2]=h;f[a>>2]=h;g=c+1|0;f[i>>2]=g;c=f[d+4>>2]|0;d=c}while((b|0)!=(d|0));return}function AJ(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=313028;e=a+32|0;f[e>>2]=313204;g=a+48|0;b=f[g>>2]|0;h=a+52|0;if((b|0)!=(h|0)){d=b;while(1){R0a(f[d+16>>2]|0,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{d=f[c>>2]|0;c=d+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(d|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(h|0))break;else d=b}}OJ(g,f[h>>2]|0);R3a(a+36|0);Gva(a);return}function BJ(a){a=a|0;AJ(a);GBb(a);return}function CJ(a){a=a|0;var b=0;a=EBb(60)|0;rZa(a);f[a>>2]=338032;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;b=a+32|0;r0a(b);f[a>>2]=313028;f[b>>2]=313204;t4a(a+36|0,0);b=a+52|0;f[b>>2]=0;f[a+56>>2]=0;f[a+48>>2]=b;return a|0}function DJ(a,b){a=a|0;b=b|0;b=EBb(60)|0;rZa(b);f[b>>2]=338032;a=b+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[b+24>>2]=2;f[b+28>>2]=0;a=b+32|0;r0a(a);f[b>>2]=313028;f[a>>2]=313204;t4a(b+36|0,0);a=b+52|0;f[a>>2]=0;f[b+56>>2]=0;f[b+48>>2]=a;return b|0}function EJ(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,281928,0)|0)!=0;return b|0}function FJ(a){a=a|0;return 377210}function GJ(a){a=a|0;return 379763}function HJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[a+48>>2]|0;e=a+52|0;if((e|0)==(c|0))return;do{d=f[c+20>>2]|0;Bj[f[(f[d>>2]|0)+156>>2]&1023](d,b);d=c;c=f[d+4>>2]|0;if(!c){a=d+8|0;c=f[a>>2]|0;if((f[c>>2]|0)!=(d|0))do{d=f[a>>2]|0;a=d+8|0;c=f[a>>2]|0}while((f[c>>2]|0)!=(d|0))}else while(1){a=f[c>>2]|0;if(!a)break;else c=a}}while((e|0)!=(c|0));return}function IJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[a+48>>2]|0;e=a+52|0;if((c|0)==(e|0))return;d=c;while(1){a=f[d+20>>2]|0;Bj[f[(f[a>>2]|0)+160>>2]&1023](a,b);a=f[d+4>>2]|0;if(!a){c=d+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(d|0))do{d=f[c>>2]|0;c=d+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(d|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(e|0))break;else d=a}return}function JJ(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=u;u=u+16|0;e=j+4|0;g=j;h=a+36|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;i=a+52|0;c=f[i>>2]|0;if(c|0){d=i;do{k=(f[c+16>>2]|0)>>>0<b>>>0;d=k?d:c;c=f[(k?c+4|0:c)>>2]|0}while((c|0)!=0);if((d|0)!=(i|0)?(f[d+16>>2]|0)>>>0<=b>>>0:0){f[g>>2]=d;f[e>>2]=f[g>>2];NJ(a+48|0,e)|0}}_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;u=j;return}function KJ(a){a=a|0;AJ(a+-32|0);return}function LJ(a){a=a|0;a=a+-32|0;AJ(a);GBb(a);return}function MJ(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=u;u=u+16|0;h=j+4|0;i=j;d=a+-32|0;e=d+36|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;g=d+52|0;a=f[g>>2]|0;if(a|0){c=g;do{k=(f[a+16>>2]|0)>>>0<b>>>0;c=k?c:a;a=f[(k?a+4|0:a)>>2]|0}while((a|0)!=0);if((c|0)!=(g|0)?(f[c+16>>2]|0)>>>0<=b>>>0:0){f[i>>2]=c;f[h>>2]=f[i>>2];NJ(d+48|0,h)|0}}_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;u=j;return}function NJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=f[b>>2]|0;b=f[d+4>>2]|0;if(!b){b=d+8|0;c=f[b>>2]|0;if((f[c>>2]|0)!=(d|0))do{e=f[b>>2]|0;b=e+8|0;c=f[b>>2]|0}while((f[c>>2]|0)!=(e|0))}else{while(1){c=f[b>>2]|0;if(!c)break;else b=c}c=b}if((f[a>>2]|0)==(d|0))f[a>>2]=c;b=a+8|0;f[b>>2]=(f[b>>2]|0)+-1;Zq(f[a+4>>2]|0,d);b=f[d+20>>2]|0;if(!b){GBb(d);return c|0}a=b+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1){GBb(d);return c|0}Rua(b,1,1);GBb(d);return c|0}function OJ(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;OJ(a,f[b>>2]|0);OJ(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function PJ(a){a=a|0;OJ(a,f[a+4>>2]|0);return}function QJ(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<e>>>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 RJ(a){a=a|0;var c=0.0,d=0.0,e=0,g=0.0,h=0.0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0,w=0,x=0;x=u;u=u+32|0;j=x;v=a+68|0;if(b[v>>0]|0){w=a+152|0;u=x;return w|0}e=a+124|0;w=a+152|0;f[w>>2]=f[e>>2];f[w+4>>2]=f[e+4>>2];f[w+8>>2]=f[e+8>>2];f[w+12>>2]=f[e+12>>2];f[w+16>>2]=f[e+16>>2];f[w+20>>2]=f[e+20>>2];e=f[a+148>>2]|0;if(!e){Bj[f[(f[a>>2]|0)+228>>2]&1023](j,a);d=+n[j+12>>2];c=+n[j>>2];if((d>=c?(k=+n[j+16>>2],h=+n[j+4>>2],k>=h):0)?(p=+n[j+20>>2],m=+n[j+8>>2],p>=m):0){if(c<+n[w>>2])n[w>>2]=c;e=a+164|0;if(d>+n[e>>2])n[e>>2]=d;e=a+156|0;if(h<+n[e>>2])n[e>>2]=h;e=a+168|0;if(k>+n[e>>2])n[e>>2]=k;e=a+160|0;if(m<+n[e>>2])n[e>>2]=m;e=a+172|0;if(p>+n[e>>2])n[e>>2]=p}}else{Fj[f[(f[e>>2]|0)+164>>2]&511](j,e,a);d=+n[j+12>>2];c=+n[j>>2];if((d>=c?(i=+n[j+16>>2],g=+n[j+4>>2],i>=g):0)?(o=+n[j+20>>2],l=+n[j+8>>2],o>=l):0){if(c<+n[w>>2])n[w>>2]=c;e=a+164|0;if(d>+n[e>>2])n[e>>2]=d;e=a+156|0;if(g<+n[e>>2])n[e>>2]=g;e=a+168|0;if(i>+n[e>>2])n[e>>2]=i;e=a+160|0;if(l<+n[e>>2])n[e>>2]=l;e=a+172|0;if(o>+n[e>>2])n[e>>2]=o}}c=+n[a+164>>2];h=+n[w>>2];if((c>=h?(s=+n[a+168>>2],t=+n[a+156>>2],s>=t):0)?(q=+n[a+172>>2],r=+n[a+160>>2],q>=r):0){d=c-h;g=s-t;i=q-r;i=+K(+((d*d+g*g+i*i)*.25));g=(r+q)*.5;d=(t+s)*.5;c=(c+h)*.5}else{i=-1.0;g=0.0;d=0.0;c=0.0}n[a+52>>2]=c;n[a+56>>2]=d;n[a+60>>2]=g;n[a+64>>2]=i;b[v>>0]=1;u=x;return w|0}function SJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;v=u;u=u+352|0;o=v+296|0;t=v+152|0;s=v;e=RJ(c)|0;if(d){B=+p[b+16>>3];y=+p[b+48>>3];j=+p[b+80>>3];l=B<=-0.0;m=y<=-0.0;r=j<=-0.0;g=((m?2:0)|l&1|(r?4:0))^7;z=+n[e>>2];A=+n[e+12>>2];w=+n[e+4>>2];x=+n[e+16>>2];i=+n[e+8>>2];k=+n[e+20>>2];C=+p[b+112>>3];h=-(C+(j*((g&4|0)==0?i:k)+(B*((g&1|0)==0?z:A)+y*((g&2|0)==0?w:x))));i=-(C+(B*(l?A:z)+y*(m?x:w)+j*(r?k:i)));if(qZa(3)|0){r=Hua(3)|0;f[r+(f[(f[r>>2]|0)+-12>>2]|0)+8>>2]=15}}else{m=f[a+344>>2]|0;w=+n[e>>2];x=+n[e+12>>2];z=+n[e+4>>2];A=+n[e+16>>2];C=+n[e+8>>2];i=+n[e+20>>2];k=+p[b+16>>3];y=+p[b+48>>3];B=+p[b+80>>3];j=+p[b+112>>3];r=f[a+348>>2]|0;h=-(j+(k*((m&1|0)==0?w:x)+y*((m&2|0)==0?z:A)+B*((m&4|0)==0?C:i)));i=-(j+(k*((r&1|0)==0?w:x)+y*((r&2|0)==0?z:A)+B*((r&4|0)==0?C:i)))}if(h>i){j=i;k=h;if(!(j==k)?(A=+J(+(j-k)),B=+J(+j),C=+J(+k),!(A<=(B>C?B:C)*1.0000000474974513e-03)):0){if(qZa(2)|0){r=Nu(Hua(2)|0,380093,79)|0;Drb(o,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);m=utb(o,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(o);ksb(r,m)|0;Krb(r)|0}if(qZa(2)|0){r=isb(Nu(isb(Nu(Hua(2)|0,380173,46)|0,i)|0,380220,6)|0,h)|0;Drb(o,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);m=utb(o,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(o);ksb(r,m)|0;Krb(r)|0;j=i}else j=i}else j=i}else{j=h;h=i}if(h<0.0){t=0;u=v;return t|0}r=a+68|0;l=a+400|0;e=j<+p[l>>3];if((f[r>>2]&-2|0)!=2){if(e)p[l>>3]=j;e=a+408|0;if(!(h>+p[e>>3])){t=1;u=v;return t|0}p[e>>3]=h;t=1;u=v;return t|0}if(!e?!(h>+p[a+408>>3]):0){t=1;u=v;return t|0}m=f[a+336>>2]|0;g=m+16|0;if(!(f[m+36>>2]|0)){if(e)p[l>>3]=j;e=a+408|0;if(!(h>+p[e>>3])){t=1;u=v;return t|0}p[e>>3]=h;t=1;u=v;return t|0}f3a(t);m=t+128|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;if(d){e=o+16|0;g=o;d=g+48|0;do{f[g>>2]=0;g=g+4|0}while((g|0)<(d|0));f[e>>2]=1;aK(o,(f[a+312>>2]|0)+-92|0,b);bK(t,b,c,o);e=f[o+36>>2]|0;if(e|0){f[o+40>>2]=e;GBb(e)}e=f[o+24>>2]|0;if(e|0){f[o+28>>2]=e;GBb(e)}e=f[o+4>>2]|0;if(e|0){f[o+8>>2]=e;GBb(e)}}else bK(t,b,c,g);if(j<+p[l>>3]){p[s>>3]=j;p[s+8>>3]=+p[t>>3];p[s+16>>3]=+p[t+8>>3];p[s+24>>3]=+p[t+16>>3];p[s+32>>3]=+p[t+24>>3];p[s+40>>3]=+p[t+32>>3];p[s+48>>3]=+p[t+40>>3];p[s+56>>3]=+p[t+48>>3];p[s+64>>3]=+p[t+56>>3];p[s+72>>3]=+p[t+64>>3];p[s+80>>3]=+p[t+72>>3];p[s+88>>3]=+p[t+80>>3];p[s+96>>3]=+p[t+88>>3];p[s+104>>3]=+p[t+96>>3];p[s+112>>3]=+p[t+104>>3];p[s+120>>3]=+p[t+112>>3];p[s+128>>3]=+p[t+120>>3];f[s+136>>2]=f[m>>2];cK(s+140|0,t+132|0);b=a+476|0;dK(o,b,s);e=f[o>>2]|0;d=a+480|0;g=f[d>>2]|0;do if(g){i=+p[e+16>>3];while(1)if(i<+p[g+16>>3]){d=f[g>>2]|0;if(!d){q=31;break}else g=d}else{d=f[g+4>>2]|0;if(!d){q=33;break}else g=d}if((q|0)==31){l=g;d=g;break}else if((q|0)==33){l=g;d=g+4|0;break}}else l=d;while(0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=l;f[d>>2]=e;g=f[f[b>>2]>>2]|0;if(g){f[b>>2]=g;e=f[d>>2]|0}Xo(f[a+480>>2]|0,e);e=a+484|0;f[e>>2]=(f[e>>2]|0)+1;e=f[s+140>>2]|0;if(e|0){f[s+144>>2]=e;GBb(e)}}c=a+408|0;if((f[r>>2]|0)==2){if(h>+p[c>>3]){p[s>>3]=h;p[s+8>>3]=+p[t>>3];p[s+16>>3]=+p[t+8>>3];p[s+24>>3]=+p[t+16>>3];p[s+32>>3]=+p[t+24>>3];p[s+40>>3]=+p[t+32>>3];p[s+48>>3]=+p[t+40>>3];p[s+56>>3]=+p[t+48>>3];p[s+64>>3]=+p[t+56>>3];p[s+72>>3]=+p[t+64>>3];p[s+80>>3]=+p[t+72>>3];p[s+88>>3]=+p[t+80>>3];p[s+96>>3]=+p[t+88>>3];p[s+104>>3]=+p[t+96>>3];p[s+112>>3]=+p[t+104>>3];p[s+120>>3]=+p[t+112>>3];p[s+128>>3]=+p[t+120>>3];f[s+136>>2]=f[m>>2];cK(s+140|0,t+132|0);b=a+488|0;dK(o,b,s);e=f[o>>2]|0;d=a+492|0;g=f[d>>2]|0;do if(g){i=+p[e+16>>3];while(1)if(i<+p[g+16>>3]){d=f[g>>2]|0;if(!d){q=47;break}else g=d}else{d=f[g+4>>2]|0;if(!d){q=49;break}else g=d}if((q|0)==47){l=g;d=g;break}else if((q|0)==49){l=g;d=g+4|0;break}}else l=d;while(0);f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=l;f[d>>2]=e;g=f[f[b>>2]>>2]|0;if(g){f[b>>2]=g;e=f[d>>2]|0}Xo(f[a+492>>2]|0,e);e=a+496|0;f[e>>2]=(f[e>>2]|0)+1;e=f[s+140>>2]|0;if(e|0){f[s+144>>2]=e;GBb(e)}if((f[r>>2]|0)!=2)q=57}}else q=57;if((q|0)==57?h>+p[c>>3]:0)p[c>>3]=h;e=f[t+132>>2]|0;if(e|0){f[t+136>>2]=e;GBb(e)}t=1;u=v;return t|0}function TJ(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<c>>>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 UJ(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0;q=u;u=u+16|0;m=q;p=a+432|0;j=f[p>>2]|0;l=a+420|0;o=a+424|0;i=f[l>>2]|0;h=(f[o>>2]|0)-i>>2;do if(j>>>0<h>>>0){while(1){if((f[(f[i+(j<<2)>>2]|0)+8>>2]|0)<=1){k=4;break}j=Nu(Hua(4)|0,379923,102)|0;j=Nu(esb(j,(f[o>>2]|0)-(f[l>>2]|0)>>2)|0,380026,22)|0;j=Nu(csb(j,f[p>>2]|0)|0,380049,20)|0;j=bsb(j,f[(f[(f[l>>2]|0)+(f[p>>2]<<2)>>2]|0)+8>>2]|0)|0;Drb(m,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(m,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(m);ksb(j,i)|0;Krb(j)|0;j=(f[p>>2]|0)+1|0;f[p>>2]=j;i=f[l>>2]|0;h=(f[o>>2]|0)-i>>2;if(j>>>0>=h>>>0){k=6;break}}if((k|0)==4){i=f[l>>2]|0;h=(f[o>>2]|0)-i>>2;j=f[p>>2]|0;break}else if((k|0)==6)break}while(0);if(j>>>0>=h>>>0){j=EBb(40)|0;k=a+416|0;h=f[k>>2]|0;f[k>>2]=h+1;v_a(j,0);f[j>>2]=313876;f[j+12>>2]=0;f[j+16>>2]=c;if(c|0){k=c+8|0;f[k>>2]=(f[k>>2]|0)+1}f[j+20>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}f[j+24>>2]=e;if(e|0){e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}n[j+28>>2]=g;f[j+36>>2]=h;b[j+32>>0]=(f[c+24>>2]|0)==0&1;f[m>>2]=j;h=j+8|0;f[h>>2]=(f[h>>2]|0)+1;h=f[o>>2]|0;if(h>>>0<(f[a+428>>2]|0)>>>0){i=f[m>>2]|0;f[h>>2]=i;if(i){h=i+8|0;f[h>>2]=(f[h>>2]|0)+1;h=f[o>>2]|0}f[o>>2]=h+4}else WJ(l,m);h=f[m>>2]|0;if(h|0?(c=h+8|0,e=f[c>>2]|0,f[c>>2]=e-1,(e|0)==1):0)Rua(h,1,1);f[p>>2]=(f[p>>2]|0)+1;e=j;u=q;return e|0}f[p>>2]=j+1;k=f[i+(j<<2)>>2]|0;h=a+416|0;j=f[h>>2]|0;f[h>>2]=j+1;f[k+12>>2]=0;h=k+16|0;i=f[h>>2]|0;if((i|0)!=(c|0)){f[h>>2]=c;if(c|0){p=c+8|0;f[p>>2]=(f[p>>2]|0)+1}if(i|0?(o=i+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(i,1,1)}h=k+20|0;i=f[h>>2]|0;if((i|0)!=(d|0)){f[h>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}if(i|0?(p=i+8|0,d=f[p>>2]|0,f[p>>2]=d-1,(d|0)==1):0)Rua(i,1,1)}h=k+24|0;i=f[h>>2]|0;if((i|0)!=(e|0)){f[h>>2]=e;if(e|0){e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}if(i|0?(d=i+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(i,1,1)}n[k+28>>2]=g;b[k+32>>0]=(f[c+24>>2]|0)==0&1;f[k+36>>2]=j;e=k;u=q;return e|0}function VJ(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;if(!c){u=i;return}n[a+48>>2]=3402823466385288598117041.0e14;n[a+52>>2]=3402823466385288598117041.0e14;f[g>>2]=c;h=c+8|0;f[h>>2]=(f[h>>2]|0)+1;h=a+40|0;d=f[h>>2]|0;if(d>>>0<(f[a+44>>2]|0)>>>0){e=f[g>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[h>>2]|0}f[h>>2]=d+4}else WJ(a+36|0,g);d=f[g>>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+12>>2]=a;if(!(b[a+60>>0]|0)){u=i;return}b[c+32>>0]=1;u=i;return}function WJ(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<e>>>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 XJ(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=313876;b=a+24|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;b=a+20|0;c=f[b>>2]|0;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[b>>2]=0;b=a+16|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Uua(a);return}d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[b>>2]=0;Uua(a);return}Rua(c,1,1);f[b>>2]=0;Uua(a);return}function YJ(a){a=a|0;XJ(a);GBb(a);return}function ZJ(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=f[c>>2]|0;h=f[i+364>>2]|0;if(h|0?b[h>>0]|0:0)return;T1a(i,f[a+20>>2]|0);Z1a(i,f[a+24>>2]|0);if(!d){h=a+12|0;_J(i,0,f[(f[h>>2]|0)+12>>2]|0);y1a(i,f[(f[h>>2]|0)+16>>2]|0);if(b[i+130>>0]|0)S1a(i);H_a(f[a+16>>2]|0,c)}else{d=f[d+12>>2]|0;e=f[d+12>>2]|0;g=f[a+12>>2]|0;h=f[g+12>>2]|0;if((e|0)==(h|0)){if((g|0)!=(d|0))y1a(i,f[g+16>>2]|0)}else{_J(i,e,h);y1a(i,f[g+16>>2]|0)}if(b[i+130>>0]|0)S1a(i);H_a(f[a+16>>2]|0,c)}if(!(b[a+32>>0]|0))return;a=i+836|0;c=(f[a>>2]|0)+-1|0;f[a>>2]=c;if(c|0)return;d=f[i+840>>2]|0;if(!d)return;Bj[f[(f[d>>2]|0)+12>>2]&1023](d,i);return}function _J(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;m=u;u=u+16|0;j=m;l=m+4|0;f[j>>2]=c;if((c|0)==(b|0)|(c|0)==0){u=m;return}if(!b){f[l>>2]=0;e=l+4|0;f[e>>2]=0;b=l+8|0;f[b>>2]=0;$J(l,(f[c+20>>2]|0)+1|0);do{c=f[e>>2]|0;if((c|0)==(f[b>>2]|0))TJ(l,j);else{f[c>>2]=f[j>>2];f[e>>2]=(f[e>>2]|0)+4}i=f[(f[j>>2]|0)+12>>2]|0;f[j>>2]=i}while((i|0)!=0);c=f[e>>2]|0;d=f[l>>2]|0;if((c|0)==(d|0)){if(c|0)k=11}else while(1){c=c+-4|0;b=f[(f[c>>2]|0)+16>>2]|0;if(!b)b=d;else{e1a(a,b);b=f[l>>2]|0}if((c|0)==(b|0)){k=11;break}else d=b}if((k|0)==11){f[e>>2]=c;GBb(c)}u=m;return}if((f[b+12>>2]|0)==(f[c+12>>2]|0)){if(f[b+16>>2]|0)f1a(a);c=f[c+16>>2]|0;if(!c){u=m;return}e1a(a,c);u=m;return}d=b+20|0;e=c+20|0;c=f[e>>2]|0;if((f[d>>2]|0)>(c|0)){d=b;do{if(f[d+16>>2]|0){f1a(a);c=f[e>>2]|0}d=f[d+12>>2]|0}while((f[d+20>>2]|0)>(c|0));b=d;g=d+20|0}else g=d;f[l>>2]=0;i=l+4|0;f[i>>2]=0;h=l+8|0;f[h>>2]=0;$J(l,c+1|0);c=f[j>>2]|0;d=f[g>>2]|0;if((f[c+20>>2]|0)>(d|0))do{e=f[i>>2]|0;if((e|0)==(f[h>>2]|0)){TJ(l,j);d=f[g>>2]|0}else{f[e>>2]=c;f[i>>2]=(f[i>>2]|0)+4}c=f[(f[j>>2]|0)+12>>2]|0;f[j>>2]=c}while((f[c+20>>2]|0)>(d|0));if((b|0)!=(c|0)){c=b;do{if(f[c+16>>2]|0)f1a(a);c=f[c+12>>2]|0;b=f[i>>2]|0;if((b|0)==(f[h>>2]|0))TJ(l,j);else{f[b>>2]=f[j>>2];f[i>>2]=(f[i>>2]|0)+4}g=f[(f[j>>2]|0)+12>>2]|0;f[j>>2]=g}while((c|0)!=(g|0))}c=f[i>>2]|0;b=f[l>>2]|0;if((c|0)==(b|0)){if(c|0)k=45}else{d=b;while(1){c=c+-4|0;b=f[(f[c>>2]|0)+16>>2]|0;if(!b)b=d;else{e1a(a,b);b=f[l>>2]|0}if((c|0)==(b|0)){k=45;break}else d=b}}if((k|0)==45){f[i>>2]=c;GBb(c)}u=m;return}function $J(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 aK(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.0,l=0.0,m=0.0,n=0,o=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,L=0,M=0,N=0,O=0,P=0.0,Q=0.0,R=0.0;if((a|0)!=(b|0))fK(a+36|0,f[b+36>>2]|0,f[b+40>>2]|0);L=f[b>>2]|0;if(!L){f[a>>2]=0;f[a+20>>2]=0;f[a+28>>2]=f[a+24>>2];return}h=b+24|0;i=f[h>>2]|0;j=b+28|0;g=f[j>>2]|0;if((i|0)==(g|0))b=0;else{d=1;b=0;e=i;while(1){b=b+((d&L|0)!=0&1)|0;e=e+40|0;if((e|0)==(g|0))break;else d=d<<1}}J=a+24|0;d=a+28|0;e=f[J>>2]|0;g=((f[d>>2]|0)-e|0)/40|0;if(b>>>0<=g>>>0){if(b>>>0<g>>>0)f[d>>2]=e+(b*40|0)}else{gK(J,b-g|0);i=f[h>>2]|0}I=a+20|0;f[I>>2]=0;s=f[j>>2]|0;if((i|0)==(s|0))b=0;else{t=c+8|0;u=c+16|0;v=c+24|0;w=c+32|0;x=c+40|0;y=c+48|0;z=c+56|0;A=c+64|0;B=c+72|0;C=c+80|0;D=c+88|0;E=c+96|0;F=c+104|0;G=c+112|0;H=c+120|0;d=0;r=1;b=0;while(1){if(r&L){e=f[J>>2]|0;g=e+(d*40|0)|0;q=+p[i>>3];if((i|0)==(g|0)){O=e+(d*40|0)+8|0;N=e+(d*40|0)+16|0;M=e+(d*40|0)+24|0;h=O;j=N;n=M;o=e+(d*40|0)+32|0;e=e+(d*40|0)+36|0;k=+p[O>>3];l=+p[N>>3];m=+p[M>>3]}else{p[g>>3]=q;k=+p[i+8>>3];h=e+(d*40|0)+8|0;p[h>>3]=k;l=+p[i+16>>3];j=e+(d*40|0)+16|0;p[j>>3]=l;m=+p[i+24>>3];n=e+(d*40|0)+24|0;p[n>>3]=m;O=(k>=0.0?2:0)|q>=0.0|(l>=0.0?4:0);o=e+(d*40|0)+32|0;f[o>>2]=O;e=e+(d*40|0)+36|0;f[e>>2]=O^7}R=q*+p[c>>3]+k*+p[t>>3]+l*+p[u>>3]+m*+p[v>>3];Q=q*+p[w>>3]+k*+p[x>>3]+l*+p[y>>3]+m*+p[z>>3];P=q*+p[A>>3]+k*+p[B>>3]+l*+p[C>>3]+m*+p[D>>3];m=q*+p[E>>3]+k*+p[F>>3]+l*+p[G>>3]+m*+p[H>>3];O=(Q>=0.0?2:0)|R>=0.0|(P>=0.0?4:0);f[o>>2]=O;f[e>>2]=O^7;q=1.0/+K(+(R*R+Q*Q+P*P));p[g>>3]=R*q;p[h>>3]=Q*q;p[j>>3]=P*q;p[n>>3]=m*q;b=b<<1|1;f[I>>2]=b;d=d+1|0}i=i+40|0;if((i|0)==(s|0))break;else r=r<<1}}f[a>>2]=b;return}function bK(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.0,l=0.0,m=0.0;if((a|0)!=(b|0)){p[a>>3]=+p[b>>3];p[a+8>>3]=+p[b+8>>3];p[a+16>>3]=+p[b+16>>3];p[a+24>>3]=+p[b+24>>3];p[a+32>>3]=+p[b+32>>3];p[a+40>>3]=+p[b+40>>3];p[a+48>>3]=+p[b+48>>3];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];p[a+88>>3]=+p[b+88>>3];p[a+96>>3]=+p[b+96>>3];p[a+104>>3]=+p[b+104>>3];p[a+112>>3]=+p[b+112>>3];p[a+120>>3]=+p[b+120>>3]}f[a+128>>2]=c;h=a+132|0;b=f[h>>2]|0;i=a+136|0;if((b|0)!=(f[i>>2]|0))f[i>>2]=b;g=f[d+20>>2]|0;b=f[d+24>>2]|0;e=d+28|0;if((b|0)==(f[e>>2]|0))return;a=a+140|0;d=1;while(1){do if(d&g|0){c=f[i>>2]|0;if((c|0)==(f[a>>2]|0)){eK(h,b);break}else{l=+p[b>>3];p[c>>3]=l;m=+p[b+8>>3];p[c+8>>3]=m;k=+p[b+16>>3];p[c+16>>3]=k;p[c+24>>3]=+p[b+24>>3];j=(m>=0.0?2:0)|l>=0.0|(k>=0.0?4:0);f[c+32>>2]=j;f[c+36>>2]=j^7;f[i>>2]=c+40;break}}while(0);b=b+40|0;if((b|0)==(f[e>>2]|0))break;else d=d<<1}return}function cK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0.0,j=0.0,k=0.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)/40|0;if(!c)return;if(e>>>0>107374182)DCb(a);c=EBb(c)|0;f[h>>2]=c;f[a>>2]=c;f[d>>2]=c+(e*40|0);a=f[b>>2]|0;b=f[g>>2]|0;if((a|0)==(b|0))return;do{j=+p[a>>3];p[c>>3]=j;k=+p[a+8>>3];p[c+8>>3]=k;i=+p[a+16>>3];p[c+16>>3]=i;p[c+24>>3]=+p[a+24>>3];g=(k>=0.0?2:0)|j>=0.0|(i>=0.0?4:0);f[c+32>>2]=g;f[c+36>>2]=g^7;a=a+40|0;c=c+40|0}while((a|0)!=(b|0));f[h>>2]=c;return}function dK(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=EBb(168)|0;f[a>>2]=e;f[a+4>>2]=c+4;c=a+8|0;b[c>>0]=0;p[e+16>>3]=+p[d>>3];p[e+24>>3]=+p[d+8>>3];p[e+32>>3]=+p[d+16>>3];p[e+40>>3]=+p[d+24>>3];p[e+48>>3]=+p[d+32>>3];p[e+56>>3]=+p[d+40>>3];p[e+64>>3]=+p[d+48>>3];p[e+72>>3]=+p[d+56>>3];p[e+80>>3]=+p[d+64>>3];p[e+88>>3]=+p[d+72>>3];p[e+96>>3]=+p[d+80>>3];p[e+104>>3]=+p[d+88>>3];p[e+112>>3]=+p[d+96>>3];p[e+120>>3]=+p[d+104>>3];p[e+128>>3]=+p[d+112>>3];p[e+136>>3]=+p[d+120>>3];p[e+144>>3]=+p[d+128>>3];f[e+152>>2]=f[d+136>>2];cK(e+156|0,d+140|0);b[c>>0]=1;return}function eK(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.0,o=0.0,q=0.0;l=a+4|0;e=f[l>>2]|0;m=f[a>>2]|0;h=(e-m|0)/40|0;c=h+1|0;j=m;if(c>>>0>107374182)DCb(a);k=a+8|0;i=((f[k>>2]|0)-m|0)/40|0;d=i<<1;d=i>>>0<53687091?(d>>>0<c>>>0?c:d):107374182;do if(d)if(d>>>0>107374182){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(d*40|0)|0;break}else g=0;while(0);c=g+(h*40|0)|0;i=g+(d*40|0)|0;o=+p[b>>3];p[c>>3]=o;q=+p[b+8>>3];p[g+(h*40|0)+8>>3]=q;n=+p[b+16>>3];p[g+(h*40|0)+16>>3]=n;p[g+(h*40|0)+24>>3]=+p[b+24>>3];b=(q>=0.0?2:0)|o>=0.0|(n>=0.0?4:0);f[g+(h*40|0)+32>>2]=b;f[g+(h*40|0)+36>>2]=b^7;g=c+40|0;if((e|0)!=(j|0))while(1){d=c+-40|0;h=e;e=e+-40|0;o=+p[e>>3];p[d>>3]=o;n=+p[h+-32>>3];p[c+-32>>3]=n;q=+p[h+-24>>3];p[c+-24>>3]=q;p[c+-16>>3]=+p[h+-16>>3];h=(n>=0.0?2:0)|o>=0.0|(q>=0.0?4:0);f[c+-8>>2]=h;f[c+-4>>2]=h^7;if((e|0)==(j|0)){c=d;break}else c=d}f[a>>2]=c;f[l>>2]=g;f[k>>2]=i;if(!m)return;GBb(m);return}function fK(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|0)/12|0;i=a+8|0;d=f[i>>2]|0;l=f[a>>2]|0;j=l;if(e>>>0<=((d-l|0)/12|0)>>>0){g=a+4|0;a=((f[g>>2]|0)-l|0)/12|0;e=e>>>0>a>>>0;a=e?b+(a*12|0)|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|0)/12|0)*12|0);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>>>0)/12|0)*12|0);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>357913941)DCb(a);k=(d|0)/12|0;l=k<<1;e=k>>>0<178956970?(l>>>0<e>>>0?e:l):357913941;if(e>>>0>357913941)DCb(a);d=EBb(e*12|0)|0;c=a+4|0;f[c>>2]=d;f[a>>2]=d;f[i>>2]=d+(e*12|0);if((g|0)<=0)return;YDb(d|0,b|0,g|0)|0;f[c>>2]=d+(((g>>>0)/12|0)*12|0);return}function gK(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.0,o=0.0,q=0.0;l=a+8|0;d=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;i=c;if(((d-c|0)/40|0)>>>0>=b>>>0){do{d=c+40|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));c=(f[m>>2]|0)+40|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}j=f[a>>2]|0;c=(c-j|0)/40|0;h=c+b|0;k=j;if(h>>>0>107374182)DCb(a);g=(d-j|0)/40|0;e=g<<1;e=g>>>0<53687091?(e>>>0<h>>>0?h:e):107374182;do if(e)if(e>>>0>107374182){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(e*40|0)|0;break}else g=0;while(0);d=g+(c*40|0)|0;_Db(d|0,0,b*40|0)|0;e=g+(e*40|0)|0;b=g+(h*40|0)|0;if((i|0)==(k|0))c=j;else{c=i;do{j=d;d=d+-40|0;i=c;c=c+-40|0;o=+p[c>>3];p[d>>3]=o;q=+p[i+-32>>3];p[j+-32>>3]=q;n=+p[i+-24>>3];p[j+-24>>3]=n;p[j+-16>>3]=+p[i+-16>>3];i=(q>=0.0?2:0)|o>=0.0|(n>=0.0?4:0);f[j+-8>>2]=i;f[j+-4>>2]=i^7}while((c|0)!=(k|0));c=f[a>>2]|0}f[a>>2]=d;f[m>>2]=b;f[l>>2]=e;if(!c)return;GBb(c);return}function hK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=f[a+12>>2]|0;a:do if((y&7|0?(d=f[a+16>>2]|0,d|0):0)?(z=a+36|0,f[z>>2]=d,c=f[a+40>>2]|0,s=f[a+44>>2]|0,(c|0)!=(s|0)):0){t=b+12|0;u=b+16|0;v=b+4|0;w=b+20|0;x=b+8|0;r=1;b:while(1){do if(r&d){A=f[c+36>>2]|0;e=+n[b>>2];g=+n[t>>2];h=+n[v>>2];i=+n[u>>2];j=+n[x>>2];k=+n[w>>2];l=+p[c>>3];m=+p[c+8>>3];o=+p[c+16>>3];q=+p[c+24>>3];if(!(q+(l*((A&1|0)==0?e:g)+m*((A&2|0)==0?h:i)+o*((A&4|0)==0?j:k))>0.0)){A=f[c+32>>2]|0;if(q+(o*((A&4|0)==0?j:k)+(l*((A&1|0)==0?e:g)+m*((A&2|0)==0?h:i)))<0.0){c=1;break b}else break}else{d=r^d;f[z>>2]=d;break}}while(0);c=c+40|0;if((c|0)==(s|0))break a;else r=r<<1}return c|0}while(0);if(!(y&16)){A=0;return A|0}c=f[a+76>>2]|0;d=a+80|0;if((c|0)==(f[d>>2]|0)){A=0;return A|0}while(1){if(U0a(c,b)|0){c=1;d=15;break}c=c+80|0;if((c|0)==(f[d>>2]|0)){c=0;d=15;break}}if((d|0)==15)return c|0;return 0}function iK(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=313904;b=a+128|0;f[b>>2]=314272;c=a+124|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;Lv(a+112|0,f[a+116>>2]|0);Mv(a+100|0,f[a+104>>2]|0);eG(a+60|0);dDa(a,314440);Gva(b);return}function jK(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=313904;b=a+128|0;f[b>>2]=314272;c=a+124|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;Lv(a+112|0,f[a+116>>2]|0);Mv(a+100|0,f[a+104>>2]|0);eG(a+60|0);dDa(a,314440);Gva(b);GBb(a);return}function kK(a){a=a|0;return 377210}function lK(a){a=a|0;return 380315}function mK(a){a=a|0;var b=0,c=0;b=a+100|0;c=a+104|0;Mv(b,f[c>>2]|0);f[a+108>>2]=0;f[b>>2]=c;f[c>>2]=0;c=a+112|0;b=a+116|0;Lv(c,f[b>>2]|0);f[a+120>>2]=0;f[c>>2]=b;f[b>>2]=0;return}function nK(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;k=a+100|0;h=a+104|0;g=f[h>>2]|0;a:do if(g|0){d=g;while(1){e=f[d+16>>2]|0;if(e>>>0<=c>>>0){if(e>>>0>=c>>>0)break;d=d+4|0}d=f[d>>2]|0;if(!d)break a}return}while(0);l=a+96|0;if((f[l>>2]|0)==2){TIa(f[a+60>>2]|0,380647,0)|0;d=f[h>>2]|0}else d=g;j=c;do if(d){g=a+104|0;while(1){e=f[d+16>>2]|0;if(e>>>0>c>>>0){e=f[d>>2]|0;if(!e){e=14;break}else{g=d;d=e}}else{if(e>>>0>=c>>>0){e=18;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=17;break}else d=e}}if((e|0)==14){i=d;g=d;break}else if((e|0)==17){i=d;break}else if((e|0)==18){i=d;break}}else{i=h;g=h}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=j;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[k>>2]>>2]|0;if(e){f[k>>2]=e;d=f[g>>2]|0}Xo(f[a+104>>2]|0,d);k=a+108|0;f[k>>2]=(f[k>>2]|0)+1}d=f[c+120>>2]|0;if(d|0)tK(a,d);e=a+56|0;d=f[e>>2]|0;if(d&2){G_a(c,0);d=f[e>>2]|0}if(d&1){G_a(c,1);d=f[e>>2]|0}if(d&64){Bj[f[(f[c>>2]|0)+236>>2]&1023](c,1);d=f[e>>2]|0}if(d&128){Bj[f[(f[c>>2]|0)+236>>2]&1023](c,0);d=f[e>>2]|0}do if(d&4|0?(m=a+60|0,f[m>>2]|0):0){if((b[c+181>>0]|0)==0?(b[c+183>>0]|0)==0:0)break;Bj[f[(f[c>>2]|0)+248>>2]&1023](c,m);if((f[l>>2]|0)==2)TIa(f[m>>2]|0,380705,0)|0}while(0);if(!(f[e>>2]&16))return;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,f[a+60>>2]|0);return}function oK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+124|0;d=(f[e>>2]|0)==0;c=f[b+120>>2]|0;if(c|0)tK(a,c);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)}a=f[a+60>>2]|0;if(!a)b=0;else b=(f[a+708>>2]|0)!=0;if(d|b)return;tj[f[(f[a+832>>2]|0)+176>>2]&2047](0);a=a+708|0;if(f[a>>2]|0)f[a>>2]=0;a=f[e>>2]|0;if(!a)return;f[e>>2]=0;d=a+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1)return;Rua(a,1,1);return}function pK(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]=313904;b=a+128|0;f[b>>2]=314272;c=a+124|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;Lv(a+112|0,f[a+116>>2]|0);Mv(a+100|0,f[a+104>>2]|0);eG(a+60|0);dDa(a,314440);Gva(b);return}function qK(a){a=a|0;jK(a+(f[(f[a>>2]|0)+-16>>2]|0)|0);return}function rK(a){a=a|0;return 377210}function sK(a){a=a|0;return 380315}function tK(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;k=a+112|0;h=a+116|0;g=f[h>>2]|0;a:do if(g|0){d=g;while(1){e=f[d+16>>2]|0;if(e>>>0<=c>>>0){if(e>>>0>=c>>>0)break;d=d+4|0}d=f[d>>2]|0;if(!d)break a}return}while(0);o=a+96|0;if((f[o>>2]|0)==2){TIa(f[a+60>>2]|0,380332,0)|0;d=f[h>>2]|0}else d=g;j=c;do if(d){g=a+116|0;while(1){e=f[d+16>>2]|0;if(e>>>0>c>>>0){e=f[d>>2]|0;if(!e){e=14;break}else{g=d;d=e}}else{if(e>>>0>=c>>>0){e=18;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=17;break}else d=e}}if((e|0)==14){i=d;g=d;break}else if((e|0)==17){i=d;break}else if((e|0)==18){i=d;break}}else{i=h;g=h}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=j;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[k>>2]>>2]|0;if(e){f[k>>2]=e;d=f[g>>2]|0}Xo(f[a+116>>2]|0,d);k=a+120|0;f[k>>2]=(f[k>>2]|0)+1}j=a+56|0;b:do if(f[j>>2]&8|0?(p=a+60|0,l=f[p>>2]|0,l|0):0){k2a(c,l);if((f[o>>2]|0)==2)TIa(f[p>>2]|0,380390,0)|0;d=f2a(c,36,0)|0;do if(d|0?(m=WCb(d,282664,298440,0)|0,m|0):0){l=O0a(m)|0;d=a+124|0;e=f[d>>2]|0;if(l){if(!e)break;f[d>>2]=0;l=e+8|0;m=f[l>>2]|0;f[l>>2]=m-1;if((m|0)!=1)break;Rua(e,1,1);break}if(((e|0)!=(m|0)?(f[d>>2]=m,m=m+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)}while(0);d=f[a+124>>2]|0;if(d|0?f[c+100>>2]|0:0){i=XPa(d,f[p>>2]|0)|0;if(!i)break;tj[f[(f[i>>2]|0)+28>>2]&2047](i);d=(f[p>>2]|0)+708|0;if((f[d>>2]|0)!=(i|0))f[d>>2]=i;d=f[c+92>>2]|0;h=c+96|0;if((d|0)==(h|0))break;g=d;while(1){d=g+28|0;uK(i,f[d>>2]|0);if((f[o>>2]|0)==2){d=(f[d>>2]|0)+12|0;if((b[d+11>>0]|0)<0)d=f[d>>2]|0;TIa(f[p>>2]|0,380474,d)|0}d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{n=f[e>>2]|0;e=n+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(n|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(h|0))break b;else g=d}}d=f[p>>2]|0;if(f[d+708>>2]|0?(tj[f[(f[d+832>>2]|0)+176>>2]&2047](0),n=(f[p>>2]|0)+708|0,f[n>>2]|0):0)f[n>>2]=0}while(0);d=f[j>>2]|0;if(d&32){Bj[f[(f[c>>2]|0)+160>>2]&1023](c,f[a+60>>2]|0);d=f[j>>2]|0}if(d&256|0)j2a(c,f[a+60>>2]|0)|0;if((f[o>>2]|0)!=2)return;TIa(f[a+60>>2]|0,380569,0)|0;return}function uK(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;e=f[b+44>>2]|0;g=a+52|0;c=f[g>>2]|0;if(!c)return;d=g;do{k=(f[c+16>>2]|0)>>>0<e>>>0;d=k?d:c;c=f[(k?c+4|0:c)>>2]|0}while((c|0)!=0);if((d|0)==(g|0))return;if((f[d+16>>2]|0)>>>0>e>>>0)return;j=f[d+20>>2]|0;if((j|0)<=-1)return;k=a+84|0;i=a+88|0;c=f[i>>2]|0;do if(c){e=a+88|0;while(1){d=f[c+16>>2]|0;if(j>>>0<d>>>0){d=f[c>>2]|0;if(!d){h=11;break}}else{if(d>>>0>=j>>>0){h=15;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=14;break}else c=e}e=c;c=d}if((h|0)==11){d=c;e=c;break}else if((h|0)==14){d=c;break}else if((h|0)==15){d=c;break}}else{d=i;e=i}while(0);c=f[e>>2]|0;if(!c){c=EBb(28)|0;f[c+16>>2]=j;f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[k>>2]>>2]|0;if(!d)d=c;else{f[k>>2]=d;d=f[e>>2]|0}Xo(f[a+88>>2]|0,d);h=a+92|0;f[h>>2]=(f[h>>2]|0)+1}if((f[c+20>>2]|0)!=(b|0)){Fj[f[(f[b>>2]|0)+172>>2]&511](b,f[a+16>>2]|0,j);c=f[i>>2]|0;do if(c){e=a+88|0;while(1){d=f[c+16>>2]|0;if(j>>>0<d>>>0){d=f[c>>2]|0;if(!d){h=27;break}}else{if(d>>>0>=j>>>0){h=31;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=30;break}else c=e}e=c;c=d}if((h|0)==27){d=c;e=c;break}else if((h|0)==30){d=c;break}else if((h|0)==31){d=c;break}}else{d=i;e=i}while(0);c=f[e>>2]|0;if(!c){c=EBb(28)|0;f[c+16>>2]=j;f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[k>>2]>>2]|0;if(!d)d=c;else{f[k>>2]=d;d=f[e>>2]|0}Xo(f[a+88>>2]|0,d);h=a+92|0;f[h>>2]=(f[h>>2]|0)+1}c=c+20|0;d=f[c>>2]|0;if(((d|0)!=(b|0)?(f[c>>2]=b,h=b+8|0,f[h>>2]=(f[h>>2]|0)+1,d|0):0)?(g=d+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(d,1,1);g=f[b+48>>2]|0;c=f[i>>2]|0;do if(c){e=a+88|0;while(1){d=f[c+16>>2]|0;if(j>>>0<d>>>0){d=f[c>>2]|0;if(!d){h=46;break}else{e=c;c=d}}else{if(d>>>0>=j>>>0){h=50;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=49;break}else c=d}}if((h|0)==46){d=c;e=c;break}else if((h|0)==49){d=c;break}else if((h|0)==50){d=c;break}}else{d=i;e=i}while(0);c=f[e>>2]|0;if(!c){c=EBb(28)|0;f[c+16>>2]=j;f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[k>>2]>>2]|0;if(!d)d=c;else{f[k>>2]=d;d=f[e>>2]|0}Xo(f[a+88>>2]|0,d);a=a+92|0;f[a>>2]=(f[a>>2]|0)+1}f[c+24>>2]=g;return}c=f[i>>2]|0;do if(c){e=a+88|0;while(1){d=f[c+16>>2]|0;if(j>>>0<d>>>0){d=f[c>>2]|0;if(!d){h=62;break}}else{if(d>>>0>=j>>>0){h=66;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=65;break}else c=e}e=c;c=d}if((h|0)==62){d=c;e=c;break}else if((h|0)==65){d=c;break}else if((h|0)==66){d=c;break}}else{d=i;e=i}while(0);c=f[e>>2]|0;if(!c){c=EBb(28)|0;f[c+16>>2]=j;f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[k>>2]>>2]|0;if(!d)d=c;else{f[k>>2]=d;d=f[e>>2]|0}Xo(f[a+88>>2]|0,d);h=a+92|0;f[h>>2]=(f[h>>2]|0)+1}g=b+48|0;if((f[c+24>>2]|0)==(f[g>>2]|0))return;Fj[f[(f[b>>2]|0)+172>>2]&511](b,f[a+16>>2]|0,j);c=f[i>>2]|0;do if(c){e=a+88|0;while(1){d=f[c+16>>2]|0;if(j>>>0<d>>>0){d=f[c>>2]|0;if(!d){h=78;break}}else{if(d>>>0>=j>>>0){h=82;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=81;break}else c=e}e=c;c=d}if((h|0)==78){d=c;e=c;break}else if((h|0)==81){d=c;break}else if((h|0)==82){d=c;break}}else{d=i;e=i}while(0);c=f[e>>2]|0;if(!c){c=EBb(28)|0;f[c+16>>2]=j;f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[k>>2]>>2]|0;if(!d)d=c;else{f[k>>2]=d;d=f[e>>2]|0}Xo(f[a+88>>2]|0,d);h=a+92|0;f[h>>2]=(f[h>>2]|0)+1}c=c+20|0;d=f[c>>2]|0;if(((d|0)!=(b|0)?(f[c>>2]=b,b=b+8|0,f[b>>2]=(f[b>>2]|0)+1,d|0):0)?(h=d+8|0,b=f[h>>2]|0,f[h>>2]=b-1,(b|0)==1):0)Rua(d,1,1);g=f[g>>2]|0;c=f[i>>2]|0;do if(c){e=a+88|0;while(1){d=f[c+16>>2]|0;if(j>>>0<d>>>0){d=f[c>>2]|0;if(!d){h=97;break}else{e=c;c=d}}else{if(d>>>0>=j>>>0){h=101;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=100;break}else c=d}}if((h|0)==97){d=c;e=c;break}else if((h|0)==100){d=c;break}else if((h|0)==101){d=c;break}}else{d=i;e=i}while(0);c=f[e>>2]|0;if(!c){c=EBb(28)|0;f[c+16>>2]=j;f[c+20>>2]=0;f[c+24>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[k>>2]>>2]|0;if(!d)d=c;else{f[k>>2]=d;d=f[e>>2]|0}Xo(f[a+88>>2]|0,d);a=a+92|0;f[a>>2]=(f[a>>2]|0)+1}f[c+24>>2]=g;return}function vK(a){a=a|0;DK(a,315004);Gva(a+132|0);return}function wK(a){a=a|0;DK(a,315004);Gva(a+132|0);GBb(a);return}function xK(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;j=a+56|0;d=a+60|0;h=f[d>>2]|0;do if(h){d=h;do{e=f[d+16>>2]|0;if(e>>>0<=c>>>0){if(e>>>0>=c>>>0){k=57;break}d=d+4|0}d=f[d>>2]|0}while((d|0)!=0);if((k|0)==57)return;i=c;g=a+60|0;d=h;while(1){e=f[d+16>>2]|0;if(e>>>0>c>>>0){e=f[d>>2]|0;if(!e){k=11;break}else{g=d;d=e}}else{if(e>>>0>=c>>>0){k=15;break}g=d+4|0;e=f[g>>2]|0;if(!e){k=14;break}else d=e}}if((k|0)==11){e=d;g=d;break}else if((k|0)==14){e=d;break}else if((k|0)==15){e=d;break}}else{e=d;g=d;i=c}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=i;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[g>>2]=d;e=f[f[j>>2]>>2]|0;if(e){f[j>>2]=e;d=f[g>>2]|0}Xo(f[a+60>>2]|0,d);m=a+64|0;f[m>>2]=(f[m>>2]|0)+1}m=a+128|0;d=f[m>>2]|0;if((d|0)!=0?(d|0)==(_i[f[(f[c>>2]|0)+148>>2]&2047](c)|0):0)return;else l=c;e=a+80|0;if((f[c+24>>2]|0)!=1){d=f[e>>2]|0;if(d&2){G_a(c,0);d=f[e>>2]|0}if(d&1){G_a(c,1);d=f[e>>2]|0}if(d&64){Bj[f[(f[c>>2]|0)+236>>2]&1023](c,1);d=f[e>>2]|0}if(d&128|0)Bj[f[(f[c>>2]|0)+236>>2]&1023](c,0)}do if(f[e>>2]&4|0){if((b[c+181>>0]|0)==0?(b[c+183>>0]|0)==0:0)break;j=a+84|0;e=a+88|0;d=f[e>>2]|0;do if(d){g=a+88|0;while(1){e=f[d+16>>2]|0;if(e>>>0>c>>>0){e=f[d>>2]|0;if(!e){k=41;break}else{g=d;d=e}}else{if(e>>>0>=c>>>0){k=45;break}g=d+4|0;e=f[g>>2]|0;if(!e){k=44;break}else d=e}}if((k|0)==41){h=d;g=d;break}else if((k|0)==44){h=d;break}else if((k|0)==45){h=d;break}}else{h=e;g=e}while(0);if(!(f[g>>2]|0)){d=EBb(20)|0;f[d+16>>2]=i;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[j>>2]>>2]|0;if(e){f[j>>2]=e;d=f[g>>2]|0}Xo(f[a+88>>2]|0,d);k=a+92|0;f[k>>2]=(f[k>>2]|0)+1}}while(0);d=f[c+120>>2]|0;if(d|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,d);if(!(f[m>>2]|0))return;if(_i[f[(f[c>>2]|0)+148>>2]&2047](l)|0)return;Bj[f[(f[c>>2]|0)+144>>2]&1023](l,f[m>>2]|0);return}function yK(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 zK(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;i=a+68|0;c=a+72|0;g=f[c>>2]|0;do if(g){c=g;do{d=f[c+16>>2]|0;if(d>>>0<=b>>>0){if(d>>>0>=b>>>0){j=70;break}c=c+4|0}c=f[c>>2]|0}while((c|0)!=0);if((j|0)==70)return;h=b;e=a+72|0;c=g;while(1){d=f[c+16>>2]|0;if(d>>>0>b>>>0){d=f[c>>2]|0;if(!d){j=11;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){j=15;break}e=c+4|0;d=f[e>>2]|0;if(!d){j=14;break}else c=d}}if((j|0)==11){g=c;e=c;d=h;break}else if((j|0)==14){g=c;d=h;break}else if((j|0)==15){g=c;d=h;break}}else{g=c;e=c;d=b}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=d;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+72>>2]|0,c);k=a+76|0;f[k>>2]=(f[k>>2]|0)+1}if(!(f[a+80>>2]&8))return;k=a+128|0;c=f[k>>2]|0;if(c|0?(c|0)==(_i[f[(f[b>>2]|0)+148>>2]&2047](b)|0):0)return;c=f2a(b,36,0)|0;do if(c|0?(m=WCb(c,282664,298440,0)|0,l=m,m|0):0){c=f[k>>2]|0;if(c|0?(c|0)==(_i[f[(f[m>>2]|0)+148>>2]&2047](m)|0):0)break;h=a+108|0;d=a+112|0;c=f[d>>2]|0;do if(c){e=a+112|0;while(1){d=f[c+16>>2]|0;if(d>>>0>m>>>0){d=f[c>>2]|0;if(!d){j=33;break}else{e=c;c=d}}else{if(d>>>0>=m>>>0){j=37;break}e=c+4|0;d=f[e>>2]|0;if(!d){j=36;break}else c=d}}if((j|0)==33){g=c;e=c;break}else if((j|0)==36){g=c;break}else if((j|0)==37){g=c;break}}else{g=d;e=d}while(0);if(!(f[e>>2]|0)){c=EBb(20)|0;f[c+16>>2]=l;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+112>>2]|0,c);l=a+116|0;f[l>>2]=(f[l>>2]|0)+1}if(f[k>>2]|0?(_i[f[(f[m>>2]|0)+148>>2]&2047](m)|0)==0:0)Bj[f[(f[m>>2]|0)+144>>2]&1023](m,f[k>>2]|0)}while(0);c=f[b+80>>2]|0;i=b+84|0;d=f[i>>2]|0;if((c|0)!=(d|0)){j=a+100|0;do{h=c+4|0;e=f[h>>2]|0;a:do if(e){g=h;do{m=(f[e+16>>2]|0)<0;g=m?g:e;e=f[(m?e+4|0:e)>>2]|0}while((e|0)!=0);if((g|0)!=(h|0)?(n=f[g+16>>2]|0,(n|0)<=0):0){if((n|0)>=0?f[g+20>>2]|0:0)break;e=f[g+24>>2]|0;if((e|0)!=0?(o=WCb(e,282664,298168,0)|0,(o|0)!=0):0){e=f[j>>2]|0;if(e|0)do{g=f[e+16>>2]|0;if(g>>>0<=o>>>0){if(g>>>0>=o>>>0)break a;e=e+4|0}e=f[e>>2]|0}while((e|0)!=0);Bj[f[(f[a>>2]|0)+204>>2]&1023](a,o);d=f[i>>2]|0}}}while(0);c=c+12|0}while((c|0)!=(d|0))}if(!(f[k>>2]|0))return;if(_i[f[(f[b>>2]|0)+148>>2]&2047](b)|0)return;Bj[f[(f[b>>2]|0)+144>>2]&1023](b,f[k>>2]|0);return}function AK(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=a+128|0;d=f[k>>2]|0;if(d|0?(d|0)==(_i[f[(f[c>>2]|0)+148>>2]&2047](c)|0):0)return;if(b[a+120>>0]|0){e=0;h=0;d=0;while(1){if(h>>>0>=(_i[f[(f[c>>2]|0)+244>>2]&2047](c)|0)>>>0)break;g=cj[f[(f[c>>2]|0)+236>>2]&1023](c,h)|0;do if(g){g=f[g+40>>2]|0;if(g|0?(i=WCb(g,295248,295424,0)|0,i|0):0){if((d|0)==(i|0))break;j=i+8|0;f[j>>2]=(f[j>>2]|0)+1;if(!d){d=i;break}g=d+8|0;j=f[g>>2]|0;f[g>>2]=j-1;if((j|0)!=1){d=i;break}Rua(d,1,1);d=i;break}e=e+1|0}while(0);h=h+1|0}a:do if(e){do if(!d){g=a+124|0;d=f[g>>2]|0;if(!d){d=EBb(72)|0;Jza(d,0);e=f[g>>2]|0;if((e|0)!=(d|0)){f[g>>2]=d;j=d+8|0;f[j>>2]=(f[j>>2]|0)+1;if(e|0?(i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);d=f[g>>2]|0;if(!d){d=0;break}}}j=d+8|0;f[j>>2]=(f[j>>2]|0)+1}while(0);g=d+44|0;h=d+36|0;e=0;while(1){if(e>>>0>=(_i[f[(f[c>>2]|0)+244>>2]&2047](c)|0)>>>0)break a;i=cj[f[(f[c>>2]|0)+236>>2]&1023](c,e)|0;do if(i|0){j=f[i+40>>2]|0;if(j|0?WCb(j,295248,295424,0)|0:0)break;b[g>>0]=1;f[h>>2]=35048;yZa(i,d)}while(0);e=e+1|0}}while(0);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)}if(f[k>>2]|0?(_i[f[(f[c>>2]|0)+148>>2]&2047](c)|0)==0:0)Bj[f[(f[c>>2]|0)+144>>2]&1023](c,f[k>>2]|0);j=a+96|0;i=c;e=a+100|0;d=f[e>>2]|0;do if(d){g=a+100|0;while(1){e=f[d+16>>2]|0;if(e>>>0>c>>>0){e=f[d>>2]|0;if(!e){e=41;break}else{g=d;d=e}}else{if(e>>>0>=c>>>0){e=45;break}g=d+4|0;e=f[g>>2]|0;if(!e){e=44;break}else d=e}}if((e|0)==41){h=d;g=d;break}else if((e|0)==44){h=d;break}else if((e|0)==45){h=d;break}}else{h=e;g=e}while(0);if(f[g>>2]|0)return;d=EBb(20)|0;f[d+16>>2]=i;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=h;f[g>>2]=d;e=f[f[j>>2]>>2]|0;if(e){f[j>>2]=e;d=f[g>>2]|0}Xo(f[a+100>>2]|0,d);a=a+104|0;f[a>>2]=(f[a>>2]|0)+1;return}function BK(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;DK(a,315004);Gva(a+132|0);return}function CK(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;DK(a,315004);Gva(a+132|0);GBb(a);return}function DK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[b>>2]|0;f[a>>2]=c;f[a+(f[c+-12>>2]|0)>>2]=f[b+12>>2];c=a+128|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+124|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;EK(a+108|0,f[a+112>>2]|0);FK(a+96|0,f[a+100>>2]|0);Mv(a+84|0,f[a+88>>2]|0);Lv(a+68|0,f[a+72>>2]|0);Mv(a+56|0,f[a+60>>2]|0);dDa(a,b+4|0);return}function EK(a,b){a=a|0;b=b|0;if(!b)return;else{EK(a,f[b>>2]|0);EK(a,f[b+4>>2]|0);GBb(b);return}}function FK(a,b){a=a|0;b=b|0;if(!b)return;else{FK(a,f[b>>2]|0);FK(a,f[b+4>>2]|0);GBb(b);return}}function GK(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=315028;b=a+12|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 HK(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=315028;b=a+12|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);GBb(a);return}function IK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0.0;e=u;u=u+16|0;d=e;c=f[(f[b>>2]|0)+908>>2]|0;b=f[a+12>>2]|0;b=_i[f[(f[b>>2]|0)+164>>2]&2047](b)|0;if(!((c|0)!=0&(b|0)!=0)){g=0.0;u=e;return +g}z$a(d,f[c+12>>2]|0,b);g=+p[d>>3];u=e;return +g}function JK(a,b){a=a|0;b=b|0;a=f[a+12>>2]|0;Bj[f[(f[a>>2]|0)+248>>2]&1023](a,b);return 1}function KK(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=315056;b=a+12|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 LK(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=315056;b=a+12|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);GBb(a);return}function MK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0;d=u;u=u+16|0;c=d;b=f[(f[b>>2]|0)+908>>2]|0;if(!b){e=0.0;u=d;return +e}B$a(c,f[b+16>>2]|0,f[a+12>>2]|0);e=+p[c>>3];u=d;return +e}function NK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=f[(f[b+36>>2]|0)+72>>2]|0;if(!c){d=f[a+12>>2]|0;Bj[f[(f[d>>2]|0)+196>>2]&1023](d,f[b>>2]|0);return 1}d=f[c+120>>2]|0;if(d|0)y1a(f[b>>2]|0,d);e=f[b>>2]|0;d=a+12|0;a=f[d>>2]|0;OK(e,0,_i[f[(f[a>>2]|0)+212>>2]&2047](a)|0,1)|0;kJ(f[b>>2]|0,0,f[d>>2]|0)|0;H_a(c,b);return 1}function OK(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,j=0,k=0,l=0,m=0;l=a+684|0;m=a+688|0;g=f[m>>2]|0;j=f[l>>2]|0;k=(g-j|0)/12|0;do if(k>>>0<=c>>>0){i=c+1|0;if(i>>>0>k>>>0){PK(l,i-k|0);break}if(i>>>0<k>>>0){i=j+(i*12|0)|0;if((i|0)!=(g|0))do{k=g;g=g+-12|0;QK(g,f[k+-8>>2]|0)}while((g|0)!=(i|0));f[m>>2]=i}}while(0);m=f[l>>2]|0;l=m+(c*12|0)|0;i=m+(c*12|0)+4|0;g=f[i>>2]|0;do if(g){j=m+(c*12|0)+4|0;while(1){i=f[g+16>>2]|0;if(i>>>0>d>>>0){i=f[g>>2]|0;if(!i){i=13;break}else{j=g;g=i}}else{if(i>>>0>=d>>>0){i=17;break}j=g+4|0;i=f[j>>2]|0;if(!i){i=16;break}else g=i}}if((i|0)==13){k=g;j=g;break}else if((i|0)==16){k=g;break}else if((i|0)==17){k=g;break}}else{k=i;j=i}while(0);g=f[j>>2]|0;if(!g){g=EBb(36)|0;f[g+16>>2]=d;f[g+24>>2]=0;f[g+28>>2]=0;f[g+32>>2]=0;b[g+20>>0]=1;b[g+21>>0]=0;b[g+22>>0]=0;b[g+23>>0]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=k;f[j>>2]=g;i=f[f[l>>2]>>2]|0;if(!i)i=g;else{f[l>>2]=i;i=f[j>>2]|0}Xo(f[m+(c*12|0)+4>>2]|0,i);m=m+(c*12|0)+8|0;f[m>>2]=(f[m>>2]|0)+1}b[g+21>>0]=1;k=e&1;if(!(b[g+20>>0]|0)){e=0;return e|0}g=g+22|0;if((h[g>>0]|0)==(e&1|0)){e=0;return e|0}i=a+732|0;do if((f[i>>2]|0)!=(c|0)){j=f[a+776>>2]|0;if(j|0?(l=f[a+764>>2]|0,m=f[a+768>>2]|0,((l|0)>(m|0)?l:m)>>>0>c>>>0):0){tj[j&2047](c+33984|0);f[i>>2]=c;break}if(c|0){e=0;return e|0}}while(0);b[g>>0]=k;if(e)Ih(d|0);else Fh(d|0);if((f[a+368>>2]|0)!=2){e=1;return e|0}M1a(a,d)|0;e=1;return e|0}function PK(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+8|0;e=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;if(((e-c|0)/12|0)>>>0>=b>>>0){do{f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;c=(f[m>>2]|0)+12|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}d=f[a>>2]|0;g=(c-d|0)/12|0;h=g+b|0;if(h>>>0>357913941)DCb(a);k=(e-d|0)/12|0;c=k<<1;c=k>>>0<178956970?(c>>>0<h>>>0?h:c):357913941;do if(c)if(c>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{e=EBb(c*12|0)|0;break}else e=0;while(0);g=e+(g*12|0)|0;d=e+(c*12|0)|0;c=g;while(1){f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;b=b+-1|0;if(!b)break;else c=c+12|0}k=e+(h*12|0)|0;j=f[a>>2]|0;c=f[m>>2]|0;if((c|0)==(j|0)){b=g;e=j;c=j}else{b=g;do{i=b;b=b+-12|0;e=c;c=c+-12|0;f[b>>2]=f[c>>2];g=f[e+-8>>2]|0;f[i+-8>>2]=g;h=e+-4|0;n=f[h>>2]|0;f[i+-4>>2]=n;i=i+-8|0;if(!n)f[b>>2]=i;else{f[g+8>>2]=i;n=e+-8|0;f[c>>2]=n;f[n>>2]=0;f[h>>2]=0}}while((c|0)!=(j|0));e=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=b;f[m>>2]=k;f[l>>2]=d;b=e;if((c|0)!=(b|0))do{n=c;c=c+-12|0;QK(c,f[n+-8>>2]|0)}while((c|0)!=(b|0));if(!e)return;GBb(e);return}function QK(a,b){a=a|0;b=b|0;if(!b)return;QK(a,f[b>>2]|0);QK(a,f[b+4>>2]|0);a=f[b+24>>2]|0;if(a|0){f[b+28>>2]=a;GBb(a)}GBb(b);return}function RK(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=315084;b=a+12|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 SK(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=315084;b=a+12|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);GBb(a);return}function TK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0;d=u;u=u+16|0;c=d;b=f[(f[b>>2]|0)+908>>2]|0;if(!b){e=0.0;u=d;return +e}D$a(c,f[b+20>>2]|0,f[a+12>>2]|0);e=+p[c>>3];u=d;return +e}function UK(a,b){a=a|0;b=b|0;a=f[a+12>>2]|0;Bj[f[(f[a>>2]|0)+200>>2]&1023](a,f[b>>2]|0);return 1}function VK(a){a=a|0;Fk(a,315648);Gva(a+160|0);return}function WK(a){a=a|0;Fk(a,315648);Gva(a+160|0);GBb(a);return}function XK(a){a=a|0;return 377210}function YK(a){a=a|0;return 381103}function ZK(a){a=a|0;return a|0}function _K(a){a=a|0;return a|0}function $K(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;g=a+56|0;h=a+64|0;if(!(f[h>>2]|0))return;a=a+60|0;d=f[(f[a>>2]|0)+8>>2]|0;e=(d|0)==0;if(!e){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1}tj[f[(f[d>>2]|0)+28>>2]&2047](d);if(f[h>>2]|0?(b=f[a>>2]|0,c=(f[g>>2]|0)+4|0,a=f[b>>2]|0,f[a+4>>2]=f[c>>2],f[f[c>>2]>>2]=a,f[h>>2]=0,(b|0)!=(g|0)):0){a=b;do{b=a;a=f[a+4>>2]|0;c=f[b+8>>2]|0;if(c|0?(j=c+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|0)==1):0)Rua(c,1,1);GBb(b)}while((a|0)!=(g|0))}a=EBb(12)|0;f[a>>2]=0;f[a+8>>2]=d;if(!e){j=d+8|0;f[j>>2]=(f[j>>2]|0)+1}f[a+4>>2]=g;j=f[g>>2]|0;f[a>>2]=j;f[j+4>>2]=a;f[g>>2]=a;f[h>>2]=(f[h>>2]|0)+1;if(e)return;i=d+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1)return;Rua(d,1,1);return}function aL(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,o=0,q=0,r=0,s=0,t=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;v=u;u=u+256|0;e=v+128|0;h=v;j=c+144|0;if(!(b[j>>0]|0)){t=c+148|0;f[a>>2]=f[t>>2];f[a+4>>2]=f[t+4>>2];f[a+8>>2]=f[t+8>>2];u=v;return}f3a(e);switch(f[c+136>>2]|0){case 0:{if(f[c+84>>2]|0?(d=f[(f[c+76>>2]|0)+8>>2]|0,d|0):0)n3a(e,d+32|0);if(f[c+96>>2]|0?(g=f[(f[c+88>>2]|0)+8>>2]|0,g|0):0)n3a(e,g+32|0);if(f[c+108>>2]|0?(i=f[(f[c+100>>2]|0)+8>>2]|0,i|0):0)n3a(e,i+32|0);if(f[c+120>>2]|0?(k=f[(f[c+112>>2]|0)+8>>2]|0,k|0):0)n3a(e,k+32|0);break}case 1:{if(f[c+96>>2]|0?(l=f[(f[c+88>>2]|0)+8>>2]|0,l|0):0)n3a(e,l+32|0);if(f[c+108>>2]|0?(m=f[(f[c+100>>2]|0)+8>>2]|0,m|0):0)n3a(e,m+32|0);if(f[c+120>>2]|0?(o=f[(f[c+112>>2]|0)+8>>2]|0,o|0):0)n3a(e,o+32|0);break}case 2:{if(f[c+108>>2]|0?(q=f[(f[c+100>>2]|0)+8>>2]|0,q|0):0)n3a(e,q+32|0);if(f[c+120>>2]|0?(r=f[(f[c+112>>2]|0)+8>>2]|0,r|0):0)n3a(e,r+32|0);break}case 3:{if((f[c+120>>2]|0?(s=f[(f[c+112>>2]|0)+8>>2]|0,s|0):0)?(t=s+32|0,(t|0)!=(e|0)):0){p[e>>3]=+p[t>>3];p[e+8>>3]=+p[s+40>>3];p[e+16>>3]=+p[s+48>>3];p[e+24>>3]=+p[s+56>>3];p[e+32>>3]=+p[s+64>>3];p[e+40>>3]=+p[s+72>>3];p[e+48>>3]=+p[s+80>>3];p[e+56>>3]=+p[s+88>>3];p[e+64>>3]=+p[s+96>>3];p[e+72>>3]=+p[s+104>>3];p[e+80>>3]=+p[s+112>>3];p[e+88>>3]=+p[s+120>>3];p[e+96>>3]=+p[s+128>>3];p[e+104>>3]=+p[s+136>>3];p[e+112>>3]=+p[s+144>>3];p[e+120>>3]=+p[s+152>>3]}break}default:{}}f3a(h);if(((+p[e+24>>3]==0.0?+p[e+56>>3]==0.0:0)?+p[e+88>>3]==0.0:0)?+p[e+120>>3]==1.0:0)o3a(h,e)|0;else p3a(h,e)|0;A=+n[c+124>>2];z=+n[c+128>>2];y=+n[c+132>>2];B=1.0/(+p[h+120>>3]+(+p[h+24>>3]*A+ +p[h+56>>3]*z+ +p[h+88>>3]*y));x=B*(+p[h+104>>3]+(+p[h+8>>3]*A+ +p[h+40>>3]*z+ +p[h+72>>3]*y));w=B*(+p[h+112>>3]+(+p[h+16>>3]*A+ +p[h+48>>3]*z+ +p[h+80>>3]*y));t=c+148|0;n[c+148>>2]=B*(+p[h+96>>3]+(+p[h>>3]*A+ +p[h+32>>3]*z+ +p[h+64>>3]*y));n[c+152>>2]=x;n[c+156>>2]=w;b[j>>0]=0;f[a>>2]=f[t>>2];f[a+4>>2]=f[t+4>>2];f[a+8>>2]=f[t+8>>2];u=v;return}function bL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,g=0.0,h=0.0;d=u;u=u+16|0;c=d;if((f[a+140>>2]|0)!=1){e=0.0;u=d;return +e}Bj[f[(f[a>>2]|0)+80>>2]&1023](c,a);h=+n[b>>2]-+n[c>>2];g=+n[b+4>>2]-+n[c+4>>2];e=+n[b+8>>2]-+n[c+8>>2];e=+K(+(h*h+g*g+e*e));u=d;return +e}function cL(a,b){a=a|0;b=b|0;var c=0;c=f[(f[a+56>>2]|0)+8>>2]|0;Fj[f[(f[c>>2]|0)+24>>2]&511](c,a,b);return}function dL(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(f[a+64>>2]|0))return;c=a+56|0;d=f[(f[c>>2]|0)+8>>2]|0;if(!(cj[f[(f[d>>2]|0)+16>>2]&1023](d,b)|0))return;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)}d=f[(f[c>>2]|0)+8>>2]|0;tj[f[(f[d>>2]|0)+20>>2]&2047](d);return}function eL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;if(!(f[a+64>>2]|0))return;g=a+56|0;e=f[(f[g>>2]|0)+8>>2]|0;if(!(cj[f[(f[e>>2]|0)+16>>2]&1023](e,b)|0))return;if(_i[f[(f[b>>2]|0)+248>>2]&2047](b)|0){e=b+124|0;d=0;do{c=f[(f[e>>2]|0)+(d<<2)>>2]|0;if(!c)c=0;else c=_i[f[(f[c>>2]|0)+88>>2]&2047](c)|0;h=f[(f[g>>2]|0)+8>>2]|0;Fj[f[(f[h>>2]|0)+24>>2]&511](h,a,c);d=d+1|0}while(d>>>0<(_i[f[(f[b>>2]|0)+248>>2]&2047](b)|0)>>>0)}h=f[(f[g>>2]|0)+8>>2]|0;tj[f[(f[h>>2]|0)+20>>2]&2047](h);return}function fL(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,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;D=u;u=u+144|0;j=D+128|0;s=D;w=a+64|0;if(!(f[w>>2]|0)){u=D;return}B=a+56|0;y=f[(f[B>>2]|0)+8>>2]|0;if(!(cj[f[(f[y>>2]|0)+16>>2]&1023](y,c)|0)){u=D;return}Bj[f[(f[a>>2]|0)+80>>2]&1023](j,a);if(_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0){k=c+320|0;l=a+108|0;m=a+120|0;n=a+100|0;o=a+112|0;q=c+124|0;r=a+56|0;t=a+112|0;v=a+144|0;g=0;do{d=(f[k>>2]|0)+(g*12|0)|0;x=EBb(160)|0;v_a(x,0);f[x>>2]=338032;e=x+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[x+24>>2]=2;f[x+28>>2]=0;e=x+32|0;f3a(e);f[x>>2]=313412;y=x+8|0;f[y>>2]=(f[y>>2]|0)+1;do if((f[l>>2]|0)!=0?(z=f[(f[n>>2]|0)+8>>2]|0,(z|0)!=0):0){if(f[m>>2]|0?(A=f[(f[o>>2]|0)+8>>2]|0,A|0):0){l3a(e,A+32|0,z+32|0);break}p[e>>3]=+p[z+32>>3];p[x+40>>3]=+p[z+40>>3];p[x+48>>3]=+p[z+48>>3];p[x+56>>3]=+p[z+56>>3];p[x+64>>3]=+p[z+64>>3];p[x+72>>3]=+p[z+72>>3];p[x+80>>3]=+p[z+80>>3];p[x+88>>3]=+p[z+88>>3];p[x+96>>3]=+p[z+96>>3];p[x+104>>3]=+p[z+104>>3];p[x+112>>3]=+p[z+112>>3];p[x+120>>3]=+p[z+120>>3];p[x+128>>3]=+p[z+128>>3];p[x+136>>3]=+p[z+136>>3];p[x+144>>3]=+p[z+144>>3];p[x+152>>3]=+p[z+152>>3]}else C=12;while(0);if(((C|0)==12?(C=0,f[m>>2]|0):0)?(h=f[(f[o>>2]|0)+8>>2]|0,h|0):0){p[e>>3]=+p[h+32>>3];p[x+40>>3]=+p[h+40>>3];p[x+48>>3]=+p[h+48>>3];p[x+56>>3]=+p[h+56>>3];p[x+64>>3]=+p[h+64>>3];p[x+72>>3]=+p[h+72>>3];p[x+80>>3]=+p[h+80>>3];p[x+88>>3]=+p[h+88>>3];p[x+96>>3]=+p[h+96>>3];p[x+104>>3]=+p[h+104>>3];p[x+112>>3]=+p[h+112>>3];p[x+120>>3]=+p[h+120>>3];p[x+128>>3]=+p[h+128>>3];p[x+136>>3]=+p[h+136>>3];p[x+144>>3]=+p[h+144>>3];p[x+152>>3]=+p[h+152>>3]}vZa(c,e,j,d)|0;if(f[l>>2]|0?(i=f[(f[n>>2]|0)+8>>2]|0,i|0):0){d=i+32|0;f3a(s);if(((+p[i+56>>3]==0.0?+p[i+88>>3]==0.0:0)?+p[i+120>>3]==0.0:0)?+p[i+152>>3]==1.0:0)o3a(s,d)|0;else p3a(s,d)|0;m3a(e,s)}uL(a,x);vL(a);d=f[(f[q>>2]|0)+(g<<2)>>2]|0;if(!d)d=0;else d=_i[f[(f[d>>2]|0)+88>>2]&2047](d)|0;e=f[(f[B>>2]|0)+8>>2]|0;Fj[f[(f[e>>2]|0)+24>>2]&511](e,a,d);d=f[w>>2]|0;if(d>>>0>1){e=f[r>>2]|0;E=e+4|0;F=f[e>>2]|0;f[F+4>>2]=f[E>>2];f[f[E>>2]>>2]=F;f[w>>2]=d+-1;d=f[e+8>>2]|0;if(d|0?(E=d+8|0,F=f[E>>2]|0,f[E>>2]=F-1,(F|0)==1):0)Rua(d,1,1);GBb(e)}d=f[t>>2]|0;e=d+4|0;F=f[d>>2]|0;f[F+4>>2]=f[e>>2];f[f[e>>2]>>2]=F;f[m>>2]=(f[m>>2]|0)+-1;e=f[d+8>>2]|0;if(e|0?(E=e+8|0,F=f[E>>2]|0,f[E>>2]=F-1,(F|0)==1):0)Rua(e,1,1);GBb(d);b[v>>0]=1;F=f[y>>2]|0;f[y>>2]=F-1;if((F|0)==1)Rua(x,1,1);g=g+1|0}while(g>>>0<(_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0)>>>0)}F=f[(f[B>>2]|0)+8>>2]|0;tj[f[(f[F>>2]|0)+20>>2]&2047](F);u=D;return}function gL(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(f[a+64>>2]|0))return;c=a+56|0;d=f[(f[c>>2]|0)+8>>2]|0;if(!(cj[f[(f[d>>2]|0)+16>>2]&1023](d,b)|0))return;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)}d=f[(f[c>>2]|0)+8>>2]|0;tj[f[(f[d>>2]|0)+20>>2]&2047](d);return}function hL(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;d=a+64|0;if(!(f[d>>2]|0))return;g=a+56|0;e=f[(f[g>>2]|0)+8>>2]|0;if(!(cj[f[(f[e>>2]|0)+16>>2]&1023](e,c)|0))return;e=EBb(160)|0;v_a(e,0);h=e+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;p[e+32>>3]=+p[c+136>>3];p[e+40>>3]=+p[c+144>>3];p[e+48>>3]=+p[c+152>>3];p[e+56>>3]=+p[c+160>>3];p[e+64>>3]=+p[c+168>>3];p[e+72>>3]=+p[c+176>>3];p[e+80>>3]=+p[c+184>>3];p[e+88>>3]=+p[c+192>>3];p[e+96>>3]=+p[c+200>>3];p[e+104>>3]=+p[c+208>>3];p[e+112>>3]=+p[c+216>>3];p[e+120>>3]=+p[c+224>>3];p[e+128>>3]=+p[c+232>>3];p[e+136>>3]=+p[c+240>>3];p[e+144>>3]=+p[c+248>>3];p[e+152>>3]=+p[c+256>>3];f[e>>2]=313412;sL(a,e);vL(a);switch(f[a+16>>2]|0){case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break}case 0:break;default:Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a)}c=f[d>>2]|0;if(c>>>0>1){e=f[a+56>>2]|0;h=e+4|0;i=f[e>>2]|0;f[i+4>>2]=f[h>>2];f[f[h>>2]>>2]=i;f[d>>2]=c+-1;c=f[e+8>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);GBb(e)}d=f[a+88>>2]|0;c=d+4|0;i=f[d>>2]|0;f[i+4>>2]=f[c>>2];f[f[c>>2]>>2]=i;c=a+96|0;f[c>>2]=(f[c>>2]|0)+-1;c=f[d+8>>2]|0;if(c|0?(h=c+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(c,1,1);GBb(d);b[a+144>>0]=1;i=f[(f[g>>2]|0)+8>>2]|0;tj[f[(f[i>>2]|0)+20>>2]&2047](i);return}function iL(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;l=u;u=u+16|0;d=l;e=a+64|0;if(!(f[e>>2]|0)){u=l;return}k=a+56|0;j=f[(f[k>>2]|0)+8>>2]|0;if(!(cj[f[(f[j>>2]|0)+16>>2]&1023](j,c)|0)){u=l;return}g=a+120|0;i=(f[g>>2]|0)==0;j=EBb(160)|0;if(i){v_a(j,0);f[j>>2]=338032;d=j+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[j+24>>2]=2;f[j+28>>2]=0;d=j+32|0;f3a(d);f[j>>2]=313412}else{i=f[(f[a+112>>2]|0)+8>>2]|0;f[d>>2]=346256;f[d+4>>2]=0;Fva(j,i,d);d=j+32|0;p[d>>3]=+p[i+32>>3];p[j+40>>3]=+p[i+40>>3];p[j+48>>3]=+p[i+48>>3];p[j+56>>3]=+p[i+56>>3];p[j+64>>3]=+p[i+64>>3];p[j+72>>3]=+p[i+72>>3];p[j+80>>3]=+p[i+80>>3];p[j+88>>3]=+p[i+88>>3];p[j+96>>3]=+p[i+96>>3];p[j+104>>3]=+p[i+104>>3];p[j+112>>3]=+p[i+112>>3];p[j+120>>3]=+p[i+120>>3];p[j+128>>3]=+p[i+128>>3];p[j+136>>3]=+p[i+136>>3];p[j+144>>3]=+p[i+144>>3];p[j+152>>3]=+p[i+152>>3];f[j>>2]=313412}i=j+8|0;f[i>>2]=(f[i>>2]|0)+1;dj[f[(f[c>>2]|0)+288>>2]&255](c,d,a)|0;h=c+136|0;if(f[h>>2]|0){d=EBb(160)|0;v_a(d,0);f[d>>2]=338032;m=d+12|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f3a(d+32|0);f[d>>2]=313412;tL(a,d)}uL(a,j);vL(a);switch(f[a+16>>2]|0){case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break}case 0:break;default:Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a)}d=f[e>>2]|0;if(d>>>0>1){c=f[a+56>>2]|0;m=c+4|0;n=f[c>>2]|0;f[n+4>>2]=f[m>>2];f[f[m>>2]>>2]=n;f[e>>2]=d+-1;d=f[c+8>>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);GBb(c)}c=f[a+112>>2]|0;d=c+4|0;n=f[c>>2]|0;f[n+4>>2]=f[d>>2];f[f[d>>2]>>2]=n;f[g>>2]=(f[g>>2]|0)+-1;d=f[c+8>>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);GBb(c);e=a+144|0;b[e>>0]=1;if(f[h>>2]|0){c=f[a+100>>2]|0;d=c+4|0;n=f[c>>2]|0;f[n+4>>2]=f[d>>2];f[f[d>>2]>>2]=n;d=a+108|0;f[d>>2]=(f[d>>2]|0)+-1;d=f[c+8>>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);GBb(c);b[e>>0]=1}n=f[(f[k>>2]|0)+8>>2]|0;tj[f[(f[n>>2]|0)+20>>2]&2047](n);n=f[i>>2]|0;f[i>>2]=n-1;if((n|0)!=1){u=l;return}Rua(j,1,1);u=l;return}function jL(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;l=u;u=u+128|0;j=l;do if(((((f[c+136>>2]|0)==0?(f[a+96>>2]|0)!=0:0)?(d=(f[a+88>>2]|0)+8|0,(f[d>>2]|0)!=0):0)?(g=a+108|0,(f[g>>2]|0)!=0):0)?(h=a+100|0,(f[(f[h>>2]|0)+8>>2]|0)!=0):0){i=(f[c+292>>2]|0)==1;e=EBb(160)|0;if(i){i=f[d>>2]|0;f3a(j);l3a(j,i+32|0,c+304|0);v_a(e,0);i=e+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;p[e+32>>3]=+p[j>>3];p[e+40>>3]=+p[j+8>>3];p[e+48>>3]=+p[j+16>>3];p[e+56>>3]=+p[j+24>>3];p[e+64>>3]=+p[j+32>>3];p[e+72>>3]=+p[j+40>>3];p[e+80>>3]=+p[j+48>>3];p[e+88>>3]=+p[j+56>>3];p[e+96>>3]=+p[j+64>>3];p[e+104>>3]=+p[j+72>>3];p[e+112>>3]=+p[j+80>>3];p[e+120>>3]=+p[j+88>>3];p[e+128>>3]=+p[j+96>>3];p[e+136>>3]=+p[j+104>>3];p[e+144>>3]=+p[j+112>>3];p[e+152>>3]=+p[j+120>>3];f[e>>2]=313412;i=EBb(160)|0;if(!(f[g>>2]|0))d=0;else d=f[(f[h>>2]|0)+8>>2]|0;f3a(j);l3a(j,d+32|0,c+432|0);v_a(i,0);d=i+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[i+24>>2]=2;f[i+28>>2]=0;p[i+32>>3]=+p[j>>3];p[i+40>>3]=+p[j+8>>3];p[i+48>>3]=+p[j+16>>3];p[i+56>>3]=+p[j+24>>3];p[i+64>>3]=+p[j+32>>3];p[i+72>>3]=+p[j+40>>3];p[i+80>>3]=+p[j+48>>3];p[i+88>>3]=+p[j+56>>3];p[i+96>>3]=+p[j+64>>3];p[i+104>>3]=+p[j+72>>3];p[i+112>>3]=+p[j+80>>3];p[i+120>>3]=+p[j+88>>3];p[i+128>>3]=+p[j+96>>3];p[i+136>>3]=+p[j+104>>3];p[i+144>>3]=+p[j+112>>3];p[i+152>>3]=+p[j+120>>3];f[i>>2]=313412;d=EBb(160)|0;if(!(f[a+120>>2]|0))g=0;else g=f[(f[a+112>>2]|0)+8>>2]|0;f[j>>2]=346256;f[j+4>>2]=0;Fva(d,g,j);p[d+32>>3]=+p[g+32>>3];p[d+40>>3]=+p[g+40>>3];p[d+48>>3]=+p[g+48>>3];p[d+56>>3]=+p[g+56>>3];p[d+64>>3]=+p[g+64>>3];p[d+72>>3]=+p[g+72>>3];p[d+80>>3]=+p[g+80>>3];p[d+88>>3]=+p[g+88>>3];p[d+96>>3]=+p[g+96>>3];p[d+104>>3]=+p[g+104>>3];p[d+112>>3]=+p[g+112>>3];p[d+120>>3]=+p[g+120>>3];p[d+128>>3]=+p[g+128>>3];p[d+136>>3]=+p[g+136>>3];p[d+144>>3]=+p[g+144>>3];p[d+152>>3]=+p[g+152>>3];f[d>>2]=313412;h=d;g=i;break}else{i=f[d>>2]|0;f3a(j);l3a(j,c+304|0,i+32|0);v_a(e,0);i=e+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;p[e+32>>3]=+p[j>>3];p[e+40>>3]=+p[j+8>>3];p[e+48>>3]=+p[j+16>>3];p[e+56>>3]=+p[j+24>>3];p[e+64>>3]=+p[j+32>>3];p[e+72>>3]=+p[j+40>>3];p[e+80>>3]=+p[j+48>>3];p[e+88>>3]=+p[j+56>>3];p[e+96>>3]=+p[j+64>>3];p[e+104>>3]=+p[j+72>>3];p[e+112>>3]=+p[j+80>>3];p[e+120>>3]=+p[j+88>>3];p[e+128>>3]=+p[j+96>>3];p[e+136>>3]=+p[j+104>>3];p[e+144>>3]=+p[j+112>>3];p[e+152>>3]=+p[j+120>>3];f[e>>2]=313412;i=EBb(160)|0;if(!(f[g>>2]|0))d=0;else d=f[(f[h>>2]|0)+8>>2]|0;f[j>>2]=346256;f[j+4>>2]=0;Fva(i,d,j);p[i+32>>3]=+p[d+32>>3];p[i+40>>3]=+p[d+40>>3];p[i+48>>3]=+p[d+48>>3];p[i+56>>3]=+p[d+56>>3];p[i+64>>3]=+p[d+64>>3];p[i+72>>3]=+p[d+72>>3];p[i+80>>3]=+p[d+80>>3];p[i+88>>3]=+p[d+88>>3];p[i+96>>3]=+p[d+96>>3];p[i+104>>3]=+p[d+104>>3];p[i+112>>3]=+p[d+112>>3];p[i+120>>3]=+p[d+120>>3];p[i+128>>3]=+p[d+128>>3];p[i+136>>3]=+p[d+136>>3];p[i+144>>3]=+p[d+144>>3];p[i+152>>3]=+p[d+152>>3];f[i>>2]=313412;d=EBb(160)|0;if(!(f[a+120>>2]|0))g=0;else g=f[(f[a+112>>2]|0)+8>>2]|0;f3a(j);l3a(j,c+432|0,g+32|0);v_a(d,0);h=d+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;p[d+32>>3]=+p[j>>3];p[d+40>>3]=+p[j+8>>3];p[d+48>>3]=+p[j+16>>3];p[d+56>>3]=+p[j+24>>3];p[d+64>>3]=+p[j+32>>3];p[d+72>>3]=+p[j+40>>3];p[d+80>>3]=+p[j+48>>3];p[d+88>>3]=+p[j+56>>3];p[d+96>>3]=+p[j+64>>3];p[d+104>>3]=+p[j+72>>3];p[d+112>>3]=+p[j+80>>3];p[d+120>>3]=+p[j+88>>3];p[d+128>>3]=+p[j+96>>3];p[d+136>>3]=+p[j+104>>3];p[d+144>>3]=+p[j+112>>3];p[d+152>>3]=+p[j+120>>3];f[d>>2]=313412;h=d;g=i;break}}else k=17;while(0);if((k|0)==17){e=EBb(160)|0;v_a(e,0);g=e+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;p[e+32>>3]=+p[c+304>>3];p[e+40>>3]=+p[c+312>>3];p[e+48>>3]=+p[c+320>>3];p[e+56>>3]=+p[c+328>>3];p[e+64>>3]=+p[c+336>>3];p[e+72>>3]=+p[c+344>>3];p[e+80>>3]=+p[c+352>>3];p[e+88>>3]=+p[c+360>>3];p[e+96>>3]=+p[c+368>>3];p[e+104>>3]=+p[c+376>>3];p[e+112>>3]=+p[c+384>>3];p[e+120>>3]=+p[c+392>>3];p[e+128>>3]=+p[c+400>>3];p[e+136>>3]=+p[c+408>>3];p[e+144>>3]=+p[c+416>>3];p[e+152>>3]=+p[c+424>>3];f[e>>2]=313412;g=EBb(160)|0;v_a(g,0);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;p[g+32>>3]=+p[c+432>>3];p[g+40>>3]=+p[c+440>>3];p[g+48>>3]=+p[c+448>>3];p[g+56>>3]=+p[c+456>>3];p[g+64>>3]=+p[c+464>>3];p[g+72>>3]=+p[c+472>>3];p[g+80>>3]=+p[c+480>>3];p[g+88>>3]=+p[c+488>>3];p[g+96>>3]=+p[c+496>>3];p[g+104>>3]=+p[c+504>>3];p[g+112>>3]=+p[c+512>>3];p[g+120>>3]=+p[c+520>>3];p[g+128>>3]=+p[c+528>>3];p[g+136>>3]=+p[c+536>>3];p[g+144>>3]=+p[c+544>>3];p[g+152>>3]=+p[c+552>>3];f[g>>2]=313412;h=EBb(160)|0;v_a(h,0);f[h>>2]=338032;k=h+12|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[h+24>>2]=2;f[h+28>>2]=0;f3a(h+32|0);f[h>>2]=313412}i=c+288|0;d=f[i>>2]|0;if(d|0)rL(a,d);sL(a,e);tL(a,g);uL(a,h);vL(a);switch(f[a+16>>2]|0){case 1:{Bj[f[(f[c>>2]|0)+216>>2]&1023](c,a);break}case 0:break;default:Bj[f[(f[c>>2]|0)+220>>2]&1023](c,a)}d=a+64|0;e=f[d>>2]|0;if(e>>>0>1){g=f[a+56>>2]|0;c=g+4|0;k=f[g>>2]|0;f[k+4>>2]=f[c>>2];f[f[c>>2]>>2]=k;f[d>>2]=e+-1;d=f[g+8>>2]|0;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);GBb(g)}d=f[a+112>>2]|0;e=d+4|0;c=f[d>>2]|0;f[c+4>>2]=f[e>>2];f[f[e>>2]>>2]=c;e=a+120|0;f[e>>2]=(f[e>>2]|0)+-1;e=f[d+8>>2]|0;if(e|0?(k=e+8|0,c=f[k>>2]|0,f[k>>2]=c-1,(c|0)==1):0)Rua(e,1,1);GBb(d);g=a+144|0;b[g>>0]=1;d=f[a+100>>2]|0;e=d+4|0;c=f[d>>2]|0;f[c+4>>2]=f[e>>2];f[f[e>>2]>>2]=c;e=a+108|0;f[e>>2]=(f[e>>2]|0)+-1;e=f[d+8>>2]|0;if(e|0?(k=e+8|0,c=f[k>>2]|0,f[k>>2]=c-1,(c|0)==1):0)Rua(e,1,1);GBb(d);b[g>>0]=1;d=f[a+88>>2]|0;e=d+4|0;c=f[d>>2]|0;f[c+4>>2]=f[e>>2];f[f[e>>2]>>2]=c;e=a+96|0;f[e>>2]=(f[e>>2]|0)+-1;e=f[d+8>>2]|0;if(e|0?(k=e+8|0,c=f[k>>2]|0,f[k>>2]=c-1,(c|0)==1):0)Rua(e,1,1);GBb(d);b[g>>0]=1;if(!(f[i>>2]|0)){u=l;return}e=f[a+76>>2]|0;d=e+4|0;c=f[e>>2]|0;f[c+4>>2]=f[d>>2];f[f[d>>2]>>2]=c;d=a+84|0;f[d>>2]=(f[d>>2]|0)+-1;d=f[e+8>>2]|0;if(d|0?(c=d+8|0,a=f[c>>2]|0,f[c>>2]=a-1,(a|0)==1):0)Rua(d,1,1);GBb(e);b[g>>0]=1;u=l;return}function kL(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(f[a+64>>2]|0))return;c=a+56|0;d=f[(f[c>>2]|0)+8>>2]|0;if(!(cj[f[(f[d>>2]|0)+16>>2]&1023](d,b)|0))return;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)}d=f[(f[c>>2]|0)+8>>2]|0;tj[f[(f[d>>2]|0)+20>>2]&2047](d);return}function lL(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,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;z=u;u=u+32|0;r=z+16|0;s=z+12|0;t=z;if(!(f[a+64>>2]|0)){u=z;return}y=a+56|0;x=f[(f[y>>2]|0)+8>>2]|0;if(!(cj[f[(f[x>>2]|0)+16>>2]&1023](x,c)|0)){u=z;return}p=c+200|0;q=c+204|0;if((f[q>>2]|0)!=(f[p>>2]|0)){h=(f[c+156>>2]|0)==0;g=h?1.0e6:0.0;f[r>>2]=0;x=r+4|0;f[x>>2]=0;d=r+8|0;f[d>>2]=0;i=f[c+160>>2]|0;j=(f[c+164>>2]|0)-i|0;e=j>>3;do if(j|0){if(e>>>0>536870911)DCb(r);o=EBb(j)|0;f[x>>2]=o;f[r>>2]=o;f[d>>2]=o+(e<<3);if((j|0)>0){e=o+(j>>>3<<3)|0;YDb(o|0,i|0,j|0)|0;f[x>>2]=e;if((e|0)!=(o|0))if(h){g=1.0e6;d=o;do{A=+n[d>>2];g=A<g?A:g;d=d+8|0}while((d|0)!=(e|0))}else{g=0.0;d=o;do{A=+n[d>>2];g=A>g?A:g;d=d+8|0}while((d|0)!=(e|0))}if((e|0)!=(o|0)){j=c+124|0;k=a+72|0;l=c+176|0;m=t+11|0;i=0;h=o;while(1){a:do if(!(+n[h>>2]!=g)){if((_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0)>>>0>i>>>0?(v=f[(f[j>>2]|0)+(i<<2)>>2]|0,(v|0)!=0):0){d=v+8|0;f[d>>2]=(f[d>>2]|0)+1;d=v}else w=20;do if((w|0)==20){w=0;d=f[k>>2]|0;if(d|0){B=f[p>>2]|0;e=(f[q>>2]|0)-B>>6;o=f[(f[d>>2]|0)+12>>2]|0;qL(t,l,B+((e>>>0>i>>>0?i:e+-1|0)<<6)|0);Fj[o&511](s,d,t);d=f[s>>2]|0;do if(!d)d=0;else{e=d+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[s>>2]|0;if(!e)break;o=e+8|0;B=f[o>>2]|0;f[o>>2]=B-1;if((B|0)!=1)break;Rua(e,1,1)}while(0);f[s>>2]=0;if((b[m>>0]|0)<0)GBb(f[t>>2]|0);if(d|0)break}if(!(_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0))break a;d=(_i[f[(f[c>>2]|0)+248>>2]&2047](c)|0)+-1|0;d=f[(f[j>>2]|0)+(d<<2)>>2]|0;if(!d)break a;B=d+8|0;f[B>>2]=(f[B>>2]|0)+1}while(0);Bj[f[(f[d>>2]|0)+212>>2]&1023](d,a);o=d+8|0;B=f[o>>2]|0;f[o>>2]=B-1;if((B|0)==1)Rua(d,1,1)}while(0);h=h+8|0;if((h|0)==(f[x>>2]|0))break;else i=i+1|0}d=f[r>>2]|0;if(!d)break;else e=d}else{e=o;d=o}}else{e=o;d=o}f[x>>2]=e;GBb(d)}while(0)}B=f[(f[y>>2]|0)+8>>2]|0;tj[f[(f[B>>2]|0)+20>>2]&2047](B);u=z;return}function mL(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Fk(a,315648);Gva(a+160|0);return}function nL(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;Fk(a,315648);Gva(a+160|0);GBb(a);return}function oL(a){a=a|0;return 377210}function pL(a){a=a|0;return 381103}function qL(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;i=b[c+11>>0]|0;e=i<<24>>24<0;i=e?f[c+4>>2]|0:i&255;h=b[d+11>>0]|0;g=h<<24>>24<0;h=g?f[d+4>>2]|0:h&255;e=e?f[c>>2]|0:c;c=h+i|0;if(c>>>0>4294967279)MBb(a);if(c>>>0<11){b[a+11>>0]=i;c=a}else{j=c+16&-16;c=EBb(j)|0;f[a>>2]=c;f[a+8>>2]=j|-2147483648;f[a+4>>2]=i}if(!i){j=c+i|0;b[j>>0]=0;j=f[d>>2]|0;j=g?j:d;bCb(a,j,h)|0;return}YDb(c|0,e|0,i|0)|0;j=c+i|0;b[j>>0]=0;j=f[d>>2]|0;j=g?j:d;bCb(a,j,h)|0;return}function rL(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;e=u;u=u+128|0;g=e;h=a+76|0;d=EBb(160)|0;Qv(g,c);v_a(d,0);c=d+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;p[d+32>>3]=+p[g>>3];p[d+40>>3]=+p[g+8>>3];p[d+48>>3]=+p[g+16>>3];p[d+56>>3]=+p[g+24>>3];p[d+64>>3]=+p[g+32>>3];p[d+72>>3]=+p[g+40>>3];p[d+80>>3]=+p[g+48>>3];p[d+88>>3]=+p[g+56>>3];p[d+96>>3]=+p[g+64>>3];p[d+104>>3]=+p[g+72>>3];p[d+112>>3]=+p[g+80>>3];p[d+120>>3]=+p[g+88>>3];p[d+128>>3]=+p[g+96>>3];p[d+136>>3]=+p[g+104>>3];p[d+144>>3]=+p[g+112>>3];p[d+152>>3]=+p[g+120>>3];f[d>>2]=313412;g=d+8|0;f[g>>2]=(f[g>>2]|0)+1;c=EBb(12)|0;f[c>>2]=0;f[c+8>>2]=d;f[g>>2]=(f[g>>2]|0)+1;f[c+4>>2]=h;i=f[h>>2]|0;f[c>>2]=i;f[i+4>>2]=c;f[h>>2]=c;c=a+84|0;f[c>>2]=(f[c>>2]|0)+1;c=f[g>>2]|0;f[g>>2]=c-1;if((c|0)!=1){i=a+144|0;b[i>>0]=1;u=e;return}Rua(d,1,1);i=a+144|0;b[i>>0]=1;u=e;return}function sL(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=a+88|0;e=(c|0)==0;if(!e){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}g=EBb(12)|0;f[g>>2]=0;f[g+8>>2]=c;if(!e){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}f[g+4>>2]=d;h=f[d>>2]|0;f[g>>2]=h;f[h+4>>2]=g;f[d>>2]=g;h=a+96|0;f[h>>2]=(f[h>>2]|0)+1;if(e){h=a+144|0;b[h>>0]=1;return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){h=a+144|0;b[h>>0]=1;return}Rua(c,1,1);h=a+144|0;b[h>>0]=1;return}function tL(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=a+100|0;e=(c|0)==0;if(!e){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}g=EBb(12)|0;f[g>>2]=0;f[g+8>>2]=c;if(!e){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}f[g+4>>2]=d;h=f[d>>2]|0;f[g>>2]=h;f[h+4>>2]=g;f[d>>2]=g;h=a+108|0;f[h>>2]=(f[h>>2]|0)+1;if(e){h=a+144|0;b[h>>0]=1;return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){h=a+144|0;b[h>>0]=1;return}Rua(c,1,1);h=a+144|0;b[h>>0]=1;return}function uL(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=a+112|0;e=(c|0)==0;if(!e){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}g=EBb(12)|0;f[g>>2]=0;f[g+8>>2]=c;if(!e){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}f[g+4>>2]=d;h=f[d>>2]|0;f[g>>2]=h;f[h+4>>2]=g;f[d>>2]=g;h=a+120|0;f[h>>2]=(f[h>>2]|0)+1;if(e){h=a+144|0;b[h>>0]=1;return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){h=a+144|0;b[h>>0]=1;return}Rua(c,1,1);h=a+144|0;b[h>>0]=1;return}function vL(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=a+56|0;e=f[(f[a+60>>2]|0)+8>>2]|0;e=cj[f[(f[e>>2]|0)+12>>2]&1023](e,a)|0;c=(e|0)==0;if(!c){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1}d=EBb(12)|0;f[d>>2]=0;f[d+8>>2]=e;if(!c){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1}f[d+4>>2]=b;g=f[b>>2]|0;f[d>>2]=g;f[g+4>>2]=d;f[b>>2]=d;g=a+64|0;f[g>>2]=(f[g>>2]|0)+1;if(c)return;d=e+8|0;g=f[d>>2]|0;f[d>>2]=g-1;if((g|0)!=1)return;Rua(e,1,1);return}function wL(a){a=a|0;f[a>>2]=315672;tC(a+80|0,f[a+84>>2]|0);Uua(a);return}function xL(a){a=a|0;f[a>>2]=315672;tC(a+80|0,f[a+84>>2]|0);Uua(a);GBb(a);return}function yL(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.0,l=0.0,m=0.0,n=0.0,o=0.0,q=0.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.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0;e=u;u=u+128|0;c=e;d=f[a+12>>2]|0;do if((d|0)==3){if(f[b+120>>2]|0?f[(f[b+112>>2]|0)+8>>2]|0:0)break;d=EBb(96)|0;rZa(d);i=a+56|0;j=a+32|0;f[d+12>>2]=3;b=d+16|0;f[b>>2]=0;f[d+20>>2]=0;c=d+24|0;f[c>>2]=0;f[d>>2]=315672;g=d+28|0;f[g>>2]=0;h=d+32|0;f[h>>2]=f[j>>2];f[h+4>>2]=f[j+4>>2];f[h+8>>2]=f[j+8>>2];f[h+12>>2]=f[j+12>>2];f[h+16>>2]=f[j+16>>2];f[h+20>>2]=f[j+20>>2];h=d+56|0;f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];f[h+8>>2]=f[i+8>>2];f[h+12>>2]=f[i+12>>2];f[h+16>>2]=f[i+16>>2];f[h+20>>2]=f[i+20>>2];h=d+84|0;f[h>>2]=0;f[d+88>>2]=0;f[d+80>>2]=h;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;f[g>>2]=a;f[b>>2]=f[a+16>>2];f[c>>2]=f[a+24>>2];v0a(d)|0;u=e;return d|0}while(0);yM(c,b,d);j=EBb(96)|0;H=+p[c+24>>3];E=+p[a+32>>3];G=+p[c+56>>3];D=+p[a+40>>3];k=+p[c+88>>3];C=+p[a+48>>3];I=+p[c+120>>3];F=1.0/(I+(H*E+G*D+k*C));A=+p[c>>3];z=+p[c+32>>3];y=+p[c+64>>3];B=+p[c+96>>3];w=+p[c+8>>3];v=+p[c+40>>3];t=+p[c+72>>3];x=+p[c+104>>3];r=+p[c+16>>3];o=+p[c+48>>3];m=+p[c+80>>3];s=+p[c+112>>3];q=+p[a+56>>3];n=+p[a+64>>3];l=+p[a+72>>3];k=1.0/(I+(H*q+G*n+k*l));rZa(j);f[j+12>>2]=3;h=j+16|0;f[h>>2]=0;f[j+20>>2]=0;i=j+24|0;f[i>>2]=0;f[j>>2]=315672;g=j+28|0;f[g>>2]=0;p[j+32>>3]=F*(B+(E*A+D*z+C*y));p[j+40>>3]=F*(x+(E*w+D*v+C*t));p[j+48>>3]=F*(s+(E*r+D*o+C*m));p[j+56>>3]=(B+(A*q+z*n+y*l))*k;p[j+64>>3]=(x+(w*q+v*n+t*l))*k;p[j+72>>3]=(s+(r*q+o*n+m*l))*k;d=j+84|0;f[d>>2]=0;f[j+88>>2]=0;f[j+80>>2]=d;d=j+8|0;f[d>>2]=(f[d>>2]|0)+1;f[g>>2]=a;f[h>>2]=f[a+16>>2];f[i>>2]=f[a+24>>2];v0a(j)|0;u=e;return j|0}function zL(a,c){a=a|0;c=c|0;var d=0;if((f[a+16>>2]|0)==2?_i[f[(f[a>>2]|0)+32>>2]&2047](a)|0:0){c=0;return c|0}if(f[c+108>>2]|0){c=1;return c|0}if(!(b[c+104>>0]|0)){c=1;return c|0}d=(Hv(c)|0)+12|0;if(!(+n[d>>2]>=0.0)){d=1;return d|0}d=xM(a,Hv(c)|0)|0;return d|0}function AL(a){a=a|0;return}function BL(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+48|0;e=i+24|0;g=i;if((f[a+16>>2]|0)==2?_i[f[(f[a>>2]|0)+32>>2]&2047](a)|0:0){u=i;return}j=a+32|0;f[e>>2]=f[j>>2];f[e+4>>2]=f[j+4>>2];f[e+8>>2]=f[j+8>>2];f[e+12>>2]=f[j+12>>2];f[e+16>>2]=f[j+16>>2];f[e+20>>2]=f[j+20>>2];j=a+56|0;f[g>>2]=f[j>>2];f[g+4>>2]=f[j+4>>2];f[g+8>>2]=f[j+8>>2];f[g+12>>2]=f[j+12>>2];f[g+16>>2]=f[j+16>>2];f[g+20>>2]=f[j+20>>2];if(!((((f[d+108>>2]|0)==0?(b[d+104>>0]|0)!=0:0)?(j=(Hv(d)|0)+12|0,+n[j>>2]>=0.0):0)?!(wM(0,e,g,RJ(d)|0)|0):0))h=7;if((h|0)==7?(b[c+69>>0]|0)==0:0)Kj[f[(f[a>>2]|0)+36>>2]&63](a,c,d,e,g);u=i;return}function CL(a){a=a|0;var b=0,c=0;f[a+20>>2]=0;c=a+80|0;b=a+84|0;tC(c,f[b>>2]|0);f[a+88>>2]=0;f[c>>2]=b;f[b>>2]=0;return}function DL(a){a=a|0;var b=0;b=f[a+28>>2]|0;return (f[((b|0)==0?a:b)+88>>2]|0)!=0|0}function EL(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;o=u;u=u+240|0;m=o+208|0;n=o;i=a+16|0;h=f[i>>2]|0;do if((h|0)==2)if(_i[f[(f[a>>2]|0)+32>>2]&2047](a)|0){u=o;return}else{h=f[i>>2]|0;break}while(0);f[m+12>>2]=0;f[m>>2]=a;f[m+4>>2]=c;f[m+8>>2]=d;b[m+16>>0]=(h+-1|0)>>>0<2&1;h=_i[f[(f[d>>2]|0)+164>>2]&2047](d)|0;if((h|0?(j=f[h+232>>2]|0,j|0):0)?(k=WCb(j,295184,279368,0)|0,k|0):0){f[m+12>>2]=k;k=k+8|0;f[k>>2]=(f[k>>2]|0)+1}if((b[c+68>>0]|0)!=0?(l=f[d+176>>2]|0,(l|0)!=0):0)j=WCb(l,297488,297432,0)|0;else j=0;if(!(f[a+24>>2]|0)){h=n+80|0;i=n+12|0;c=i+64|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(c|0));i=h;c=i+112|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(c|0));b[h+112>>0]=0;f[n>>2]=315720;f[n+196>>2]=0;f[n+200>>2]=0;FL(n+8|0,e,g,m);if(!j)Bj[f[(f[d>>2]|0)+284>>2]&1023](d,n);else GL(j,n,f[j+64>>2]|0);h=f[n+64>>2]|0;if(h|0){f[n+68>>2]=h;GBb(h)}}else{h=n+8|0;i=h;c=i+96|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(c|0));b[h+96>>0]=0;f[n>>2]=315776;f[n+108>>2]=0;f[n+112>>2]=0;HL(n+4|0,e,g,m);if(!j)Bj[f[(f[d>>2]|0)+284>>2]&1023](d,n);else IL(j,n,f[j+64>>2]|0);h=f[n+36>>2]|0;if(h|0){f[n+40>>2]=h;GBb(h)}}h=f[m+12>>2]|0;if(h|0?(m=h+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(h,1,1);u=o;return}function FL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0;o=u;u=u+48|0;i=o;f[a>>2]=d;k=a+8|0;f[k>>2]=f[b>>2];f[k+4>>2]=f[b+4>>2];f[k+8>>2]=f[b+8>>2];f[k+12>>2]=f[b+12>>2];f[k+16>>2]=f[b+16>>2];f[k+20>>2]=f[b+20>>2];d=a+32|0;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[i>>2]=f[k>>2];f[i+4>>2]=f[k+4>>2];f[i+8>>2]=f[k+8>>2];f[i+12>>2]=f[k+12>>2];f[i+16>>2]=f[k+16>>2];f[i+20>>2]=f[k+20>>2];k=i+24|0;f[k>>2]=f[d>>2];f[k+4>>2]=f[d+4>>2];f[k+8>>2]=f[d+8>>2];f[k+12>>2]=f[d+12>>2];f[k+16>>2]=f[d+16>>2];f[k+20>>2]=f[d+20>>2];k=a+60|0;d=f[k>>2]|0;if(d>>>0<(f[a+64>>2]|0)>>>0){j=d+48|0;do{f[d>>2]=f[i>>2];d=d+4|0;i=i+4|0}while((d|0)<(j|0));f[k>>2]=(f[k>>2]|0)+48}else gM(a+56|0,i);l=+p[c>>3]-+p[b>>3];m=+p[c+8>>3]-+p[b+8>>3];h=+p[c+16>>3]-+p[b+16>>3];n=+K(+(l*l+m*m+h*h));p[a+96>>3]=n;n=n!=0.0?1.0/n:0.0;p[a+104>>3]=n;l=l*n;p[a+72>>3]=l;m=m*n;p[a+80>>3]=m;n=h*n;p[a+88>>3]=n;if(l!=0.0){e=l/l;g=m/l;h=n/l}else{e=0.0;g=0.0;h=0.0}p[a+112>>3]=e;p[a+120>>3]=g;p[a+128>>3]=h;if(m!=0.0){e=l/m;g=m/m;h=n/m}else{e=0.0;g=0.0;h=0.0}p[a+136>>3]=e;p[a+144>>3]=g;p[a+152>>3]=h;if(!(n!=0.0)){l=0.0;m=0.0;n=0.0;c=a+160|0;p[c>>3]=l;c=a+168|0;p[c>>3]=m;a=a+176|0;p[a>>3]=n;u=o;return}l=l/n;m=m/n;n=n/n;c=a+160|0;p[c>>3]=l;c=a+168|0;p[c>>3]=m;a=a+176|0;p[a>>3]=n;u=o;return}function GL(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;t=u;u=u+16|0;s=t;e=d+24|0;g=f[e>>2]|0;if((g|0)>=0){if(!(dM(c+8|0,d)|0)){u=t;return}e=f[e>>2]|0;if((e|0)>0)GL(a,c,(f[a+64>>2]|0)+(e<<5)|0);e=f[d+28>>2]|0;if((e|0)>0)GL(a,c,(f[a+64>>2]|0)+(e<<5)|0);s=c+68|0;f[s>>2]=(f[s>>2]|0)+-48;u=t;return}e=~g;r=f[d+28>>2]|0;o=r+e|0;if((r|0)<=0){u=t;return}p=a+40|0;q=a+52|0;r=c+8|0;m=a+36|0;n=c+12|0;l=c+192|0;do{i=f[(f[p>>2]|0)+(e<<2)>>2]|0;j=f[q>>2]|0;k=f[j+(i<<2)>>2]|0;d=i+2|0;g=f[j+(i+1<<2)>>2]|0;a:do switch(g|0){case 2:case 1:break;case 3:{c=f[m>>2]|0;d=f[j+(d<<2)>>2]|0;a=f[j+(i+3<<2)>>2]|0;g=f[j+(i+4<<2)>>2]|0;if(b[(f[r>>2]|0)+16>>0]|0?b[l>>0]|0:0)break a;f[n>>2]=k;k=f[c+76>>2]|0;cM(r,k+(d*12|0)|0,k+(a*12|0)|0,k+(g*12|0)|0);break}case 4:{h=f[m>>2]|0;d=f[j+(d<<2)>>2]|0;a=f[j+(i+3<<2)>>2]|0;c=f[j+(i+4<<2)>>2]|0;g=f[j+(i+5<<2)>>2]|0;if(b[(f[r>>2]|0)+16>>0]|0?b[l>>0]|0:0)break a;f[n>>2]=k;k=h+76|0;j=f[k>>2]|0;cM(r,j+(d*12|0)|0,j+(a*12|0)|0,j+(g*12|0)|0);k=f[k>>2]|0;cM(r,k+(a*12|0)|0,k+(c*12|0)|0,k+(g*12|0)|0);break}default:if(qZa(3)|0){k=csb(Nu(Hua(3)|0,381155,69)|0,g)|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}}while(0);e=e+1|0}while((e|0)<(o|0));u=t;return}function HL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0.0,o=0.0,q=0.0,r=0,s=0,t=0;t=u;u=u+32|0;s=t;f[a>>2]=d;r=b+8|0;q=+p[r>>3];d=b+16|0;o=+p[d>>3];k=a+8|0;n[a+8>>2]=+p[b>>3];n[a+12>>2]=q;n[a+16>>2]=o;i=c+8|0;o=+p[i>>3];j=c+16|0;q=+p[j>>3];l=a+20|0;n[a+20>>2]=+p[c>>3];n[a+24>>2]=o;n[a+28>>2]=q;f[s>>2]=f[k>>2];f[s+4>>2]=f[k+4>>2];f[s+8>>2]=f[k+8>>2];k=s+12|0;f[k>>2]=f[l>>2];f[k+4>>2]=f[l+4>>2];f[k+8>>2]=f[l+8>>2];k=a+36|0;l=f[k>>2]|0;if(l>>>0<(f[a+40>>2]|0)>>>0){f[l>>2]=f[s>>2];f[l+4>>2]=f[s+4>>2];f[l+8>>2]=f[s+8>>2];f[l+12>>2]=f[s+12>>2];f[l+16>>2]=f[s+16>>2];f[l+20>>2]=f[s+20>>2];f[k>>2]=(f[k>>2]|0)+24}else OL(a+32|0,s);m=+p[c>>3]-+p[b>>3];o=+p[i>>3]-+p[r>>3];q=+p[j>>3]-+p[d>>3];h=+K(+(m*m+o*o+q*q));n[a+56>>2]=h;h=h!=0.0?1.0/h:0.0;n[a+60>>2]=h;m=h*m;n[a+44>>2]=m;o=h*o;n[a+48>>2]=o;q=h*q;n[a+52>>2]=q;if(m!=0.0){e=m/m;g=o/m;h=q/m}else{e=0.0;g=0.0;h=0.0}n[a+64>>2]=e;n[a+68>>2]=g;n[a+72>>2]=h;if(o!=0.0){e=m/o;g=o/o;h=q/o}else{e=0.0;g=0.0;h=0.0}n[a+76>>2]=e;n[a+80>>2]=g;n[a+84>>2]=h;if(!(q!=0.0)){m=0.0;o=0.0;q=0.0;s=a+88|0;n[s>>2]=m;s=a+92|0;n[s>>2]=o;a=a+96|0;n[a>>2]=q;u=t;return}m=m/q;o=o/q;q=q/q;s=a+88|0;n[s>>2]=m;s=a+92|0;n[s>>2]=o;a=a+96|0;n[a>>2]=q;u=t;return}function IL(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;r=u;u=u+16|0;q=r;e=d+24|0;g=f[e>>2]|0;if((g|0)>=0){if(!(KL(c+4|0,d)|0)){u=r;return}e=f[e>>2]|0;if((e|0)>0)IL(a,c,(f[a+64>>2]|0)+(e<<5)|0);e=f[d+28>>2]|0;if((e|0)>0)IL(a,c,(f[a+64>>2]|0)+(e<<5)|0);q=c+40|0;f[q>>2]=(f[q>>2]|0)+-24;u=r;return}e=~g;p=f[d+28>>2]|0;m=p+e|0;if((p|0)<=0){u=r;return}n=a+40|0;o=a+52|0;p=c+4|0;k=a+36|0;l=c+8|0;j=c+104|0;do{a=f[(f[n>>2]|0)+(e<<2)>>2]|0;c=f[o>>2]|0;h=f[c+(a<<2)>>2]|0;i=a+2|0;g=f[c+(a+1<<2)>>2]|0;switch(g|0){case 2:case 1:break;case 3:{if((b[j>>0]|0)==0?1:(b[(f[p>>2]|0)+16>>0]|0)==0){d=f[c+(a+4<<2)>>2]|0;a=f[c+(a+3<<2)>>2]|0;c=f[c+(i<<2)>>2]|0;i=f[k>>2]|0;f[l>>2]=h;i=f[i+76>>2]|0;JL(p,i+(c*12|0)|0,i+(a*12|0)|0,i+(d*12|0)|0)}break}case 4:{g=f[c+(a+3<<2)>>2]|0;d=f[c+(a+5<<2)>>2]|0;if((b[j>>0]|0)==0?1:(b[(f[p>>2]|0)+16>>0]|0)==0){a=f[c+(a+4<<2)>>2]|0;c=f[c+(i<<2)>>2]|0;i=f[k>>2]|0;f[l>>2]=h;i=i+76|0;h=f[i>>2]|0;JL(p,h+(c*12|0)|0,h+(g*12|0)|0,h+(d*12|0)|0);i=f[i>>2]|0;JL(p,i+(g*12|0)|0,i+(a*12|0)|0,i+(d*12|0)|0)}break}default:if(qZa(3)|0){i=csb(Nu(Hua(3)|0,381155,69)|0,g)|0;Drb(q,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(q,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(q);ksb(i,h)|0;Krb(i)|0}}e=e+1|0}while((e|0)<(m|0));u=r;return}function JL(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0,i=0,j=0,k=0.0,l=0.0,m=0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0,w=0.0,x=0.0,y=0.0,z=0,A=0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,L=0.0,M=0.0,N=0.0,O=0,P=0,Q=0;Q=u;u=u+112|0;O=Q+8|0;P=Q;h=f[a>>2]|0;if(b[h+16>>0]|0?b[a+100>>0]|0:0){u=Q;return}E=+n[a+8>>2];L=+n[c>>2];r=E-L;F=+n[a+12>>2];M=+n[c+4>>2];s=F-M;G=+n[a+16>>2];N=+n[c+8>>2];o=G-N;H=+n[e>>2]-L;I=+n[e+4>>2]-M;J=+n[e+8>>2]-N;L=+n[d>>2]-L;M=+n[d+4>>2]-M;N=+n[d+8>>2]-N;w=+n[a+48>>2];x=+n[a+52>>2];g=J*w-I*x;y=+n[a+44>>2];k=H*x-J*y;l=I*y-H*w;D=N*l+(L*g+M*k);if(D>1.000000013351432e-10){t=o*l+(r*g+s*k);if(t<0.0|t>D){u=Q;return}q=s*N-o*M;o=o*L-r*N;g=r*M-s*L;k=g*x+(q*y+w*o);if(k<0.0|k>D|k+t>D){u=Q;return}l=1.0/D;g=(J*g+(H*q+I*o))*l;if(g<0.0){u=Q;return}o=+n[a+56>>2];if(g>o){u=Q;return}else{q=g;g=k*l;k=t*l}}else{if(!(D<-1.000000013351432e-10)){u=Q;return}t=o*l+(r*g+s*k);if(t>0.0|t<D){u=Q;return}q=s*N-o*M;o=o*L-r*N;g=r*M-s*L;k=g*x+(q*y+w*o);if(k>0.0|k<D|k+t<D){u=Q;return}l=1.0/D;g=(J*g+(H*q+I*o))*l;if(g<0.0){u=Q;return}o=+n[a+56>>2];if(g>o){u=Q;return}else{q=g;g=k*l;k=t*l}}l=1.0-k-g;i=f[h>>2]|0;t=+p[i+32>>3];w=+p[i+40>>3];s=+p[i+48>>3];r=E-t;F=F-w;E=G-s;E=q*+n[a+60>>2]*o+ +K(+(r*r+F*F+E*E));G=+p[i+56>>3];F=G-t;r=+p[i+64>>3];x=r-w;q=+p[i+72>>3];o=q-s;o=E/+K(+(F*F+x*x+o*o));x=1.0-o;t=G*o+t*x;w=r*o+w*x;x=q*o+s*x;q=J*M-I*N;s=H*N-J*L;r=I*L-H*M;N=+K(+(r*r+(q*q+s*s)));i=N>0.0;N=1.0/N;q=i?q*N:q;s=i?s*N:s;r=i?r*N:r;i=O+8|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;i=O+32|0;j=i+64|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));p[O>>3]=o;i=f[h+4>>2]|0;if((f[i+120>>2]|0)!=0?(m=f[(f[i+112>>2]|0)+8>>2]|0,(m|0)!=0):0){f[O+24>>2]=m;h=m+8|0;f[h>>2]=(f[h>>2]|0)+1;h=f[a>>2]|0}i=f[h+4>>2]|0;j=i+28|0;m=O+8|0;if((m|0)!=(j|0)){wC(m,f[j>>2]|0,f[i+32>>2]|0);h=f[a>>2]|0}h=f[h+8>>2]|0;i=O+20|0;j=f[i>>2]|0;if((j|0)!=(h|0)){f[i>>2]=h;if(h|0){C=h+8|0;f[C>>2]=(f[C>>2]|0)+1}if(j|0?(B=j+8|0,C=f[B>>2]|0,f[B>>2]=C-1,(C|0)==1):0)Rua(j,1,1)}f[O+92>>2]=f[a+4>>2];p[O+32>>3]=t;p[O+40>>3]=w;p[O+48>>3]=x;n[O+56>>2]=q;n[O+60>>2]=s;n[O+64>>2]=r;h=f[(f[a>>2]|0)+12>>2]|0;if(h|0){v=f[h+76>>2]|0;B=O+68|0;C=O+76|0;h=f[B>>2]|0;if((f[C>>2]|0)-h>>2>>>0<3){i=O+72|0;j=(f[i>>2]|0)-h|0;m=EBb(12)|0;if((j|0)>0)YDb(m|0,h|0,j|0)|0;f[B>>2]=m;f[i>>2]=m+(j>>2<<2);f[C>>2]=m+12;if(h|0)GBb(h)}z=O+80|0;A=O+88|0;h=f[z>>2]|0;if((f[A>>2]|0)-h>>3>>>0<3){i=O+84|0;j=(f[i>>2]|0)-h|0;m=EBb(24)|0;if((j|0)>0)YDb(m|0,h|0,j|0)|0;f[z>>2]=m;f[i>>2]=m+(j>>3<<3);f[A>>2]=m+24;if(h|0)GBb(h)}if(l!=0.0){h=(c-v|0)/12|0;f[P>>2]=h;i=O+72|0;j=f[i>>2]|0;if(j>>>0<(f[C>>2]|0)>>>0){f[j>>2]=h;f[i>>2]=j+4}else ML(B,P);p[P>>3]=l;h=O+84|0;i=f[h>>2]|0;if(i>>>0<(f[A>>2]|0)>>>0){p[i>>3]=l;f[h>>2]=i+8}else NL(z,P)}if(k!=0.0){h=(d-v|0)/12|0;f[P>>2]=h;i=O+72|0;j=f[i>>2]|0;if(j>>>0<(f[C>>2]|0)>>>0){f[j>>2]=h;f[i>>2]=j+4}else ML(B,P);p[P>>3]=k;h=O+84|0;i=f[h>>2]|0;if(i>>>0<(f[A>>2]|0)>>>0){p[i>>3]=k;f[h>>2]=i+8}else NL(z,P)}if(g!=0.0){h=(e-v|0)/12|0;f[P>>2]=h;i=O+72|0;j=f[i>>2]|0;if(j>>>0<(f[C>>2]|0)>>>0){f[j>>2]=h;f[i>>2]=j+4}else ML(B,P);p[P>>3]=g;h=O+84|0;i=f[h>>2]|0;if(i>>>0<(f[A>>2]|0)>>>0){p[i>>3]=g;f[h>>2]=i+8}else NL(z,P)}}e=f[f[a>>2]>>2]|0;P=f[e+28>>2]|0;vC(((P|0)==0?e:P)+80|0,O)|0;b[a+100>>0]=1;uk(O);u=Q;return}function KL(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,g=0.0,h=0.0,i=0,j=0,k=0.0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0.0;t=u;u=u+32|0;o=t;p=a+32|0;q=a+36|0;r=f[q>>2]|0;s=r+-24|0;f[o>>2]=f[s>>2];f[o+4>>2]=f[s+4>>2];f[o+8>>2]=f[s+8>>2];f[o+12>>2]=f[s+12>>2];f[o+16>>2]=f[s+16>>2];f[o+20>>2]=f[s+20>>2];c=+n[o>>2];s=o+12|0;g=+n[s>>2];e=+n[b>>2];if(!(c<=g)){if(c<e){s=0;u=t;return s|0}d=+n[b+12>>2];if(g>d){s=0;u=t;return s|0}if(g<e){g=e-c;h=g*+n[a+68>>2]+ +n[o+4>>2];k=g*+n[a+72>>2]+ +n[o+8>>2];n[s>>2]=c+g*+n[a+64>>2];n[o+16>>2]=h;n[o+20>>2]=k}if(c>d){k=d-c;c=c+k*+n[a+64>>2];l=o+4|0;h=k*+n[a+68>>2]+ +n[l>>2];m=o+8|0;k=k*+n[a+72>>2]+ +n[m>>2];n[o>>2]=c;n[l>>2]=h;n[m>>2]=k}}else{if(g<e){s=0;u=t;return s|0}d=+n[b+12>>2];if(c>d){s=0;u=t;return s|0}if(c<e){k=e-c;c=c+k*+n[a+64>>2];l=o+4|0;h=k*+n[a+68>>2]+ +n[l>>2];m=o+8|0;k=k*+n[a+72>>2]+ +n[m>>2];n[o>>2]=c;n[l>>2]=h;n[m>>2]=k}if(g>d){g=d-c;h=g*+n[a+68>>2]+ +n[o+4>>2];k=g*+n[a+72>>2]+ +n[o+8>>2];n[s>>2]=c+ +n[a+64>>2]*g;n[o+16>>2]=h;n[o+20>>2]=k}}l=o+4|0;d=+n[l>>2];m=o+16|0;h=+n[m>>2];g=+n[b+4>>2];if(!(d<=h)){if(d<g){s=0;u=t;return s|0}e=+n[b+16>>2];if(h>e){s=0;u=t;return s|0}if(h<g){g=g-d;h=d+g*+n[a+80>>2];k=g*+n[a+84>>2]+ +n[o+8>>2];n[s>>2]=g*+n[a+76>>2]+c;n[m>>2]=h;n[o+20>>2]=k}if(d>e){k=e-d;c=k*+n[a+76>>2]+c;d=d+k*+n[a+80>>2];j=o+8|0;k=k*+n[a+84>>2]+ +n[j>>2];n[o>>2]=c;n[l>>2]=d;n[j>>2]=k}}else{if(h<g){s=0;u=t;return s|0}e=+n[b+16>>2];if(d>e){s=0;u=t;return s|0}if(d<g){k=g-d;c=k*+n[a+76>>2]+c;d=d+k*+n[a+80>>2];j=o+8|0;k=k*+n[a+84>>2]+ +n[j>>2];n[o>>2]=c;n[l>>2]=d;n[j>>2]=k}if(h>e){g=e-d;h=d+g*+n[a+80>>2];k=g*+n[a+84>>2]+ +n[o+8>>2];n[s>>2]=+n[a+76>>2]*g+c;n[m>>2]=h;n[o+20>>2]=k}}i=o+8|0;e=+n[i>>2];j=o+20|0;k=+n[j>>2];h=+n[b+8>>2];if(!(e<=k)){if(e<h){s=0;u=t;return s|0}g=+n[b+20>>2];if(k>g){s=0;u=t;return s|0}if(k<h){v=h-e;h=v*+n[a+92>>2]+d;k=e+v*+n[a+96>>2];n[s>>2]=v*+n[a+88>>2]+c;n[m>>2]=h;n[j>>2]=k}if(e>g){h=g-e;k=h*+n[a+92>>2]+d;v=e+h*+n[a+96>>2];n[o>>2]=h*+n[a+88>>2]+c;n[l>>2]=k;n[i>>2]=v}}else{if(k<h){s=0;u=t;return s|0}g=+n[b+20>>2];if(e>g){s=0;u=t;return s|0}if(e<h){v=h-e;c=v*+n[a+88>>2]+c;d=v*+n[a+92>>2]+d;e=e+v*+n[a+96>>2];n[o>>2]=c;n[l>>2]=d;n[i>>2]=e}if(k>g){h=g-e;k=h*+n[a+92>>2]+d;v=e+h*+n[a+96>>2];n[s>>2]=+n[a+88>>2]*h+c;n[m>>2]=k;n[j>>2]=v}}if((r|0)==(f[a+40>>2]|0)){LL(p,o);s=1;u=t;return s|0}else{f[r>>2]=f[o>>2];f[r+4>>2]=f[o+4>>2];f[r+8>>2]=f[o+8>>2];f[r+12>>2]=f[o+12>>2];f[r+16>>2]=f[o+16>>2];f[r+20>>2]=f[o+20>>2];f[q>>2]=(f[q>>2]|0)+24;s=1;u=t;return s|0}return 0}function LL(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;h=a+4|0;i=f[a>>2]|0;j=(f[h>>2]|0)-i|0;d=(j|0)/24|0;c=d+1|0;if(c>>>0>178956970)DCb(a);k=a+8|0;e=((f[k>>2]|0)-i|0)/24|0;g=e<<1;g=e>>>0<89478485?(g>>>0<c>>>0?c:g):178956970;do if(g)if(g>>>0>178956970){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{e=EBb(g*24|0)|0;break}else e=0;while(0);d=e+(d*24|0)|0;f[d>>2]=f[b>>2];f[d+4>>2]=f[b+4>>2];f[d+8>>2]=f[b+8>>2];f[d+12>>2]=f[b+12>>2];f[d+16>>2]=f[b+16>>2];f[d+20>>2]=f[b+20>>2];c=d+(((j|0)/-24|0)*24|0)|0;if((j|0)>0)YDb(c|0,i|0,j|0)|0;f[a>>2]=c;f[h>>2]=d+24;f[k>>2]=e+(g*24|0);if(!i)return;GBb(i);return}function ML(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<c>>>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 NL(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>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;p[c>>3]=+p[b>>3];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function OL(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;h=a+4|0;i=f[a>>2]|0;j=(f[h>>2]|0)-i|0;d=(j|0)/24|0;c=d+1|0;if(c>>>0>178956970)DCb(a);k=a+8|0;e=((f[k>>2]|0)-i|0)/24|0;g=e<<1;g=e>>>0<89478485?(g>>>0<c>>>0?c:g):178956970;do if(g)if(g>>>0>178956970){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{e=EBb(g*24|0)|0;break}else e=0;while(0);d=e+(d*24|0)|0;f[d>>2]=f[b>>2];f[d+4>>2]=f[b+4>>2];f[d+8>>2]=f[b+8>>2];f[d+12>>2]=f[b+12>>2];f[d+16>>2]=f[b+16>>2];f[d+20>>2]=f[b+20>>2];c=d+(((j|0)/-24|0)*24|0)|0;if((j|0)>0)YDb(c|0,i|0,j|0)|0;f[a>>2]=c;f[h>>2]=d+24;f[k>>2]=e+(g*24|0);if(!i)return;GBb(i);return}function PL(a){a=a|0;var b=0;b=f[a+36>>2]|0;if(!b)return;f[a+40>>2]=b;GBb(b);return}function QL(a){a=a|0;var b=0;b=f[a+36>>2]|0;if(!b){GBb(a);return}f[a+40>>2]=b;GBb(b);GBb(a);return}function RL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377513,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function SL(a,b,c){a=a|0;b=b|0;c=c|0;f[a+108>>2]=b;f[a+112>>2]=c;return}function TL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377459,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function UL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377404,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function VL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377349,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function WL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377294,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function XL(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=f[a+112>>2]|0;h=i;if((d|0)==0|(i|0)==0)return;do switch(b|0){case 4:{h=i+((d+c|0)*12|0)|0;if((d|0)<=0)return;g=a+4|0;e=a+8|0;b=i+(c*12|0)|0;do{JL(g,b,b+12|0,b+24|0);f[e>>2]=(f[e>>2]|0)+1;b=b+36|0}while(b>>>0<h>>>0);return}case 5:{if((d|0)<=2)return;h=a+4|0;g=a+8|0;b=i+(c*12|0)|0;e=2;do{if(!(e&1)){i=b+12|0;JL(h,b,i,b+24|0);b=i}else{i=b+12|0;JL(h,b,b+24|0,i);b=i}f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(d|0));return}case 7:{if((d|0)<=3)return;h=a+4|0;g=a+8|0;b=i+(c*12|0)|0;e=3;while(1){a=b+12|0;i=b+36|0;JL(h,b,a,i);JL(h,a,b+24|0,i);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(d|0))break;else b=b+48|0}return}case 8:{if((d|0)<=3)return;h=a+4|0;g=a+8|0;b=i+(c*12|0)|0;e=3;do{a=b+12|0;i=b;b=b+24|0;JL(h,i,a,b);JL(h,a,i+36|0,b);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(d|0));return}case 6:case 9:{h=i+(c*12|0)|0;if((d|0)<=2)return;c=a+4|0;g=a+8|0;b=2;e=h+12|0;do{i=e;e=e+12|0;JL(c,h,i,e);f[g>>2]=(f[g>>2]|0)+1;b=b+1|0}while((b|0)!=(d|0));return}case 0:{b=i+((d+c|0)*12|0)|0;if((d|0)<=0)return;d=a+8|0;i=i+((c+1|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((i>>>0>b>>>0?i:b)+((0-c|0)*12|0)+~h|0)>>>0)/12|0)+1;return}case 1:{d=d+c+-1|0;b=i+(d*12|0)|0;if((d|0)<=(c|0))return;d=a+8|0;i=i+((c+2|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((b>>>0>i>>>0?b:i)+((0-c|0)*12|0)+~h|0)>>>0)/24|0)+1;return}case 3:{d=d+c+-1|0;b=i+(d*12|0)|0;if((d|0)<=(c|0))return;d=a+8|0;i=i+((c+1|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((b>>>0>i>>>0?b:i)+((0-c|0)*12|0)+~h|0)>>>0)/12|0)+1;return}case 11:{d=d+c+-2|0;b=i+(d*12|0)|0;if((c+1|0)>=(d|0))return;d=a+8|0;i=i+((c+2|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((b>>>0>i>>>0?b:i)+(~c*12|0)+~h|0)>>>0)/12|0)+1;return}case 2:{d=d+c+-1|0;e=i+(d*12|0)|0;g=a+8|0;b=f[g>>2]|0;if((d|0)>(c|0)){d=i+((c+1|0)*12|0)|0;b=b+((((e>>>0>d>>>0?e:d)+((0-c|0)*12|0)+~h|0)>>>0)/12|0)+1|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function YL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;bM(a,b,c,d);return}function ZL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;aM(a,b,c,d);return}function _L(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$L(a,b,c,d);return}function $L(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;h=d;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{i=d+(c<<2)|0;if((c|0)<=0)return;h=a+4|0;g=a+112|0;e=a+8|0;b=d;do{c=f[g>>2]|0;JL(h,c+((f[b>>2]|0)*12|0)|0,c+((f[b+4>>2]|0)*12|0)|0,c+((f[b+8>>2]|0)*12|0)|0);f[e>>2]=(f[e>>2]|0)+1;b=b+12|0}while(b>>>0<i>>>0);return}case 5:{if((c|0)<=2)return;j=a+4|0;k=a+112|0;i=a+8|0;b=d;h=2;do{e=f[k>>2]|0;g=e+((f[b>>2]|0)*12|0)|0;if(!(h&1)){d=b+4|0;JL(j,g,e+((f[d>>2]|0)*12|0)|0,e+((f[b+8>>2]|0)*12|0)|0);b=d}else{d=b+4|0;JL(j,g,e+((f[b+8>>2]|0)*12|0)|0,e+((f[d>>2]|0)*12|0)|0);b=d}f[i>>2]=(f[i>>2]|0)+1;h=h+1|0}while((h|0)!=(c|0));return}case 7:{if((c|0)<=3)return;h=a+4|0;i=a+112|0;g=a+8|0;b=d;e=3;while(1){j=f[i>>2]|0;k=j+((f[b+4>>2]|0)*12|0)|0;a=j+((f[b+8>>2]|0)*12|0)|0;d=j+((f[b+12>>2]|0)*12|0)|0;JL(h,j+((f[b>>2]|0)*12|0)|0,k,d);JL(h,k,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(c|0))break;else b=b+16|0}return}case 8:{if((c|0)<=3)return;h=a+4|0;i=a+112|0;g=a+8|0;b=d;e=3;do{l=f[i>>2]|0;k=l+((f[b+4>>2]|0)*12|0)|0;a=l+((f[b+12>>2]|0)*12|0)|0;j=b;b=b+8|0;d=l+((f[b>>2]|0)*12|0)|0;JL(h,l+((f[j>>2]|0)*12|0)|0,k,d);JL(h,k,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(c|0));return}case 6:case 9:{h=a+112|0;e=f[h>>2]|0;i=e+((f[d>>2]|0)*12|0)|0;if((c|0)<=2)return;j=a+4|0;g=a+8|0;b=d+8|0;JL(j,i,e+((f[d+4>>2]|0)*12|0)|0,e+((f[b>>2]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;if((c|0)==3)return;e=3;do{l=f[h>>2]|0;d=b;b=b+4|0;JL(j,i,l+((f[d>>2]|0)*12|0)|0,l+((f[b>>2]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(c|0));return}case 0:{b=d+(c<<2)|0;if((c|0)<=0)return;l=a+8|0;c=d+4|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>2)+1;return}case 1:{b=d+(c+-1<<2)|0;if((c|0)<=1)return;l=a+8|0;c=d+8|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>3)+1;return}case 3:{b=d+(c+-1<<2)|0;if((c|0)<=1)return;l=a+8|0;c=d+4|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>2)+1;return}case 11:{b=d+(c+-2<<2)|0;if((c|0)<=3)return;l=a+8|0;c=d+8|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+-4+~h|0)>>>2)+1;return}case 2:{e=d+(c+-1<<2)|0;g=a+8|0;b=f[g>>2]|0;if((c|0)>1){l=d+4|0;b=b+(((e>>>0>l>>>0?e:l)+~h|0)>>>2)+1|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function aM(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,k=0,l=0,m=0;h=d;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{i=d+(c<<1)|0;if((c|0)<=0)return;h=a+4|0;g=a+112|0;e=a+8|0;b=d;do{c=f[g>>2]|0;JL(h,c+((j[b>>1]|0)*12|0)|0,c+((j[b+2>>1]|0)*12|0)|0,c+((j[b+4>>1]|0)*12|0)|0);f[e>>2]=(f[e>>2]|0)+1;b=b+6|0}while(b>>>0<i>>>0);return}case 5:{if((c|0)<=2)return;k=a+4|0;l=a+112|0;i=a+8|0;b=d;h=2;do{e=f[l>>2]|0;g=e+((j[b>>1]|0)*12|0)|0;if(!(h&1)){d=b+2|0;JL(k,g,e+((j[d>>1]|0)*12|0)|0,e+((j[b+4>>1]|0)*12|0)|0);b=d}else{d=b+2|0;JL(k,g,e+((j[b+4>>1]|0)*12|0)|0,e+((j[d>>1]|0)*12|0)|0);b=d}f[i>>2]=(f[i>>2]|0)+1;h=h+1|0}while((h|0)!=(c|0));return}case 7:{if((c|0)<=3)return;h=a+4|0;i=a+112|0;g=a+8|0;b=d;e=3;while(1){k=f[i>>2]|0;l=k+((j[b+2>>1]|0)*12|0)|0;a=k+((j[b+4>>1]|0)*12|0)|0;d=k+((j[b+6>>1]|0)*12|0)|0;JL(h,k+((j[b>>1]|0)*12|0)|0,l,d);JL(h,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(c|0))break;else b=b+8|0}return}case 8:{if((c|0)<=3)return;h=a+4|0;i=a+112|0;g=a+8|0;b=d;e=3;do{m=f[i>>2]|0;l=m+((j[b+2>>1]|0)*12|0)|0;a=m+((j[b+6>>1]|0)*12|0)|0;k=b;b=b+4|0;d=m+((j[b>>1]|0)*12|0)|0;JL(h,m+((j[k>>1]|0)*12|0)|0,l,d);JL(h,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(c|0));return}case 6:case 9:{h=a+112|0;e=f[h>>2]|0;i=e+((j[d>>1]|0)*12|0)|0;if((c|0)<=2)return;k=a+4|0;g=a+8|0;b=d+4|0;JL(k,i,e+((j[d+2>>1]|0)*12|0)|0,e+((j[b>>1]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;if((c|0)==3)return;e=3;do{m=f[h>>2]|0;d=b;b=b+2|0;JL(k,i,m+((j[d>>1]|0)*12|0)|0,m+((j[b>>1]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(c|0));return}case 0:{b=d+(c<<1)|0;if((c|0)<=0)return;m=a+8|0;c=d+2|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>1)+1;return}case 1:{b=d+(c+-1<<1)|0;if((c|0)<=1)return;m=a+8|0;c=d+4|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>2)+1;return}case 3:{b=d+(c+-1<<1)|0;if((c|0)<=1)return;m=a+8|0;c=d+2|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>1)+1;return}case 11:{b=d+(c+-2<<1)|0;if((c|0)<=3)return;m=a+8|0;c=d+4|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+-2+~h|0)>>>1)+1;return}case 2:{e=d+(c+-1<<1)|0;g=a+8|0;b=f[g>>2]|0;if((c|0)>1){m=d+2|0;b=b+(((e>>>0>m>>>0?e:m)+~h|0)>>>1)+1|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function bM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0;i=d;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{j=d+c|0;if((c|0)<=0)return;i=a+4|0;g=a+112|0;e=a+8|0;b=d;do{c=f[g>>2]|0;JL(i,c+((h[b>>0]|0)*12|0)|0,c+((h[b+1>>0]|0)*12|0)|0,c+((h[b+2>>0]|0)*12|0)|0);f[e>>2]=(f[e>>2]|0)+1;b=b+3|0}while(b>>>0<j>>>0);return}case 5:{if((c|0)<=2)return;k=a+4|0;l=a+112|0;j=a+8|0;b=d;i=2;do{e=f[l>>2]|0;g=e+((h[b>>0]|0)*12|0)|0;if(!(i&1)){d=b+1|0;JL(k,g,e+((h[d>>0]|0)*12|0)|0,e+((h[b+2>>0]|0)*12|0)|0);b=d}else{d=b+1|0;JL(k,g,e+((h[b+2>>0]|0)*12|0)|0,e+((h[d>>0]|0)*12|0)|0);b=d}f[j>>2]=(f[j>>2]|0)+1;i=i+1|0}while((i|0)!=(c|0));return}case 7:{if((c|0)<=3)return;i=a+4|0;j=a+112|0;g=a+8|0;b=d;e=3;while(1){k=f[j>>2]|0;l=k+((h[b+1>>0]|0)*12|0)|0;a=k+((h[b+2>>0]|0)*12|0)|0;d=k+((h[b+3>>0]|0)*12|0)|0;JL(i,k+((h[b>>0]|0)*12|0)|0,l,d);JL(i,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(c|0))break;else b=b+4|0}return}case 8:{if((c|0)<=3)return;i=a+4|0;j=a+112|0;g=a+8|0;b=d;e=3;do{m=f[j>>2]|0;l=m+((h[b+1>>0]|0)*12|0)|0;a=m+((h[b+3>>0]|0)*12|0)|0;k=b;b=b+2|0;d=m+((h[b>>0]|0)*12|0)|0;JL(i,m+((h[k>>0]|0)*12|0)|0,l,d);JL(i,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(c|0));return}case 6:case 9:{i=a+112|0;e=f[i>>2]|0;j=e+((h[d>>0]|0)*12|0)|0;if((c|0)<=2)return;k=a+4|0;g=a+8|0;b=d+2|0;JL(k,j,e+((h[d+1>>0]|0)*12|0)|0,e+((h[b>>0]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;if((c|0)==3)return;e=3;do{m=f[i>>2]|0;d=b;b=b+1|0;JL(k,j,m+((h[d>>0]|0)*12|0)|0,m+((h[b>>0]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(c|0));return}case 0:{b=d+c|0;if((c|0)<=0)return;m=a+8|0;c=d+1|0;f[m>>2]=(b>>>0>c>>>0?b:c)+((f[m>>2]|0)-i);return}case 1:{b=d+(c+-1)|0;if((c|0)<=1)return;m=a+8|0;c=d+2|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~i|0)>>>1)+1;return}case 3:{b=d+(c+-1)|0;if((c|0)<=1)return;m=a+8|0;c=d+1|0;f[m>>2]=(b>>>0>c>>>0?b:c)+((f[m>>2]|0)-i);return}case 11:{b=d+(c+-2)|0;if((c|0)<=3)return;m=a+8|0;c=d+2|0;f[m>>2]=(b>>>0>c>>>0?b:c)+((f[m>>2]|0)+-1-i);return}case 2:{e=d+(c+-1)|0;g=a+8|0;b=f[g>>2]|0;if((c|0)>1){m=d+1|0;b=(e>>>0>m>>>0?e:m)+(b-i)|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function cM(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.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0,s=0,t=0,v=0.0,w=0.0,x=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;ha=u;u=u+128|0;ca=ha+112|0;da=ha+104|0;fa=ha+96|0;ga=ha;ea=ha+120|0;g=f[a>>2]|0;if(b[g+16>>0]|0?b[a+184>>0]|0:0){u=ha;return}$=+n[c>>2];aa=+n[c+4>>2];ba=+n[c+8>>2];V=+p[a+8>>3];H=V-$;W=+p[a+16>>3];I=W-aa;X=+p[a+24>>3];J=X-ba;L=+n[e>>2]-$;M=+n[e+4>>2]-aa;N=+n[e+8>>2]-ba;Y=L;Z=M;_=N;$=+n[d>>2]-$;aa=+n[d+4>>2]-aa;ba=+n[d+8>>2]-ba;O=+p[a+80>>3];P=+p[a+88>>3];B=O*_-P*Z;Q=+p[a+72>>3];C=P*Y-Q*_;D=Q*Z-O*Y;R=D*ba+(B*$+C*aa);if(R>1.0e-10){l=J*D+(H*B+I*C);if(((!(l<0.0|l>R)?(S=I*ba-J*aa,T=J*$-H*ba,U=H*aa-I*$,Q=P*U+(Q*S+O*T),E=Q,!(Q<0.0|R<E|l+E>R)):0)?(F=1.0/R,q=F*(N*U+(L*S+M*T)),!(q<0.0)):0)?(k=+p[a+96>>3],!(q>k)):0){U=l*F;o=F*E;l=o;m=U;o=1.0-U-o;h=15}}else if((((R<-1.0e-10?(l=J*D+(H*B+I*C),!(l>0.0|l<R)):0)?(m=I*ba-J*aa,o=J*$-H*ba,v=H*aa-I*$,w=P*v+(Q*m+O*o),!(w>0.0|w<R|w+l<R)):0)?(z=1.0/R,A=(v*_+(m*Y+o*Z))*z,!(A<0.0)):0)?(G=+p[a+96>>3],!(A>G)):0){U=l*z;o=w*z;q=A;k=G;l=o;m=U;o=1.0-U-o;h=15}if((h|0)==15){p[ca>>3]=o;p[da>>3]=m;p[fa>>3]=l;h=f[g>>2]|0;U=+p[h+32>>3];w=V-U;v=+p[h+40>>3];m=W-v;l=+p[h+48>>3];W=X-l;W=q*+p[a+104>>3]*k+ +K(+(w*w+m*m+W*W));q=+p[h+56>>3];X=q-U;m=+p[h+64>>3];w=m-v;o=+p[h+72>>3];k=o-l;k=W/+K(+(X*X+w*w+k*k));w=1.0-k;q=q*k+U*w;v=m*k+v*w;w=o*k+l*w;l=_*aa-Z*ba;o=Y*ba-_*$;m=Z*$-Y*aa;ba=+K(+(m*m+(l*l+o*o)));h=ba>0.0;ba=1.0/ba;l=h?l*ba:l;o=h?o*ba:o;m=h?m*ba:m;h=ga+8|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;h=ga+32|0;i=h+64|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));p[ga>>3]=k;h=f[g+4>>2]|0;if((f[h+120>>2]|0)!=0?(j=f[(f[h+112>>2]|0)+8>>2]|0,(j|0)!=0):0){f[ga+24>>2]=j;g=j+8|0;f[g>>2]=(f[g>>2]|0)+1;g=f[a>>2]|0}h=f[g+4>>2]|0;i=h+28|0;j=ga+8|0;if((j|0)!=(i|0)){wC(j,f[i>>2]|0,f[h+32>>2]|0);g=f[a>>2]|0}g=f[g+8>>2]|0;h=ga+20|0;i=f[h>>2]|0;if((i|0)!=(g|0)){f[h>>2]=g;if(g|0){y=g+8|0;f[y>>2]=(f[y>>2]|0)+1}if(i|0?(x=i+8|0,y=f[x>>2]|0,f[x>>2]=y-1,(y|0)==1):0)Rua(i,1,1)}f[ga+92>>2]=f[a+4>>2];p[ga+32>>3]=q;p[ga+40>>3]=v;p[ga+48>>3]=w;n[ga+56>>2]=l;n[ga+60>>2]=o;n[ga+64>>2]=m;g=f[(f[a>>2]|0)+12>>2]|0;do if(g|0){r=f[g+76>>2]|0;x=ga+68|0;y=ga+76|0;g=f[x>>2]|0;if((f[y>>2]|0)-g>>2>>>0<3){h=ga+72|0;i=(f[h>>2]|0)-g|0;j=EBb(12)|0;if((i|0)>0)YDb(j|0,g|0,i|0)|0;f[x>>2]=j;f[h>>2]=j+(i>>2<<2);f[y>>2]=j+12;if(g|0)GBb(g)}s=ga+80|0;t=ga+88|0;g=f[s>>2]|0;if((f[t>>2]|0)-g>>3>>>0<3){h=ga+84|0;i=(f[h>>2]|0)-g|0;j=EBb(24)|0;if((i|0)>0)YDb(j|0,g|0,i|0)|0;f[s>>2]=j;f[h>>2]=j+(i>>3<<3);f[t>>2]=j+24;if(g|0)GBb(g)}do if(+p[ca>>3]!=0.0){g=(c-r|0)/12|0;f[ea>>2]=g;h=ga+72|0;i=f[h>>2]|0;if(i>>>0<(f[y>>2]|0)>>>0){f[i>>2]=g;f[h>>2]=i+4}else ML(x,ea);g=ga+84|0;h=f[g>>2]|0;if((h|0)==(f[t>>2]|0)){fM(s,ca);break}else{p[h>>3]=+p[ca>>3];f[g>>2]=h+8;break}}while(0);do if(+p[da>>3]!=0.0){g=(d-r|0)/12|0;f[ea>>2]=g;h=ga+72|0;i=f[h>>2]|0;if(i>>>0<(f[y>>2]|0)>>>0){f[i>>2]=g;f[h>>2]=i+4}else ML(x,ea);g=ga+84|0;h=f[g>>2]|0;if((h|0)==(f[t>>2]|0)){fM(s,da);break}else{p[h>>3]=+p[da>>3];f[g>>2]=h+8;break}}while(0);if(+p[fa>>3]!=0.0){g=(e-r|0)/12|0;f[ea>>2]=g;h=ga+72|0;i=f[h>>2]|0;if(i>>>0<(f[y>>2]|0)>>>0){f[i>>2]=g;f[h>>2]=i+4}else ML(x,ea);g=ga+84|0;h=f[g>>2]|0;if((h|0)==(f[t>>2]|0)){fM(s,fa);break}else{p[h>>3]=+p[fa>>3];f[g>>2]=h+8;break}}}while(0);ea=f[f[a>>2]>>2]|0;fa=f[ea+28>>2]|0;vC(((fa|0)==0?ea:fa)+80|0,ga)|0;b[a+184>>0]=1;uk(ga)}u=ha;return}function dM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,o=0,q=0,r=0,s=0,t=0,v=0,w=0.0;v=u;u=u+48|0;q=v;r=a+56|0;s=a+60|0;t=f[s>>2]|0;c=q;d=t+-48|0;e=c+48|0;do{f[c>>2]=f[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));g=+p[q>>3];o=q+24|0;j=+p[o>>3];i=+n[b>>2];if(!(g<=j)){if(g<i){t=0;u=v;return t|0}h=+n[b+12>>2];if(j>h){t=0;u=v;return t|0}if(j<i){j=i-g;k=j*+p[a+120>>3]+ +p[q+8>>3];l=j*+p[a+128>>3]+ +p[q+16>>3];p[o>>3]=g+j*+p[a+112>>3];p[q+32>>3]=k;p[q+40>>3]=l}if(g>h){l=h-g;g=g+l*+p[a+112>>3];e=q+8|0;k=l*+p[a+120>>3]+ +p[e>>3];m=q+16|0;l=l*+p[a+128>>3]+ +p[m>>3];p[q>>3]=g;p[e>>3]=k;p[m>>3]=l}}else{if(j<i){t=0;u=v;return t|0}h=+n[b+12>>2];if(g>h){t=0;u=v;return t|0}if(g<i){l=i-g;g=g+l*+p[a+112>>3];e=q+8|0;k=l*+p[a+120>>3]+ +p[e>>3];m=q+16|0;l=l*+p[a+128>>3]+ +p[m>>3];p[q>>3]=g;p[e>>3]=k;p[m>>3]=l}if(j>h){j=h-g;k=j*+p[a+120>>3]+ +p[q+8>>3];l=j*+p[a+128>>3]+ +p[q+16>>3];p[o>>3]=g+ +p[a+112>>3]*j;p[q+32>>3]=k;p[q+40>>3]=l}}e=q+8|0;h=+p[e>>3];m=q+32|0;k=+p[m>>3];j=+n[b+4>>2];if(!(h<=k)){if(h<j){t=0;u=v;return t|0}i=+n[b+16>>2];if(k>i){t=0;u=v;return t|0}if(k<j){j=j-h;k=h+j*+p[a+144>>3];l=j*+p[a+152>>3]+ +p[q+16>>3];p[o>>3]=j*+p[a+136>>3]+g;p[m>>3]=k;p[q+40>>3]=l}if(h>i){l=i-h;g=l*+p[a+136>>3]+g;h=h+l*+p[a+144>>3];d=q+16|0;l=l*+p[a+152>>3]+ +p[d>>3];p[q>>3]=g;p[e>>3]=h;p[d>>3]=l}}else{if(k<j){t=0;u=v;return t|0}i=+n[b+16>>2];if(h>i){t=0;u=v;return t|0}if(h<j){l=j-h;g=l*+p[a+136>>3]+g;h=h+l*+p[a+144>>3];d=q+16|0;l=l*+p[a+152>>3]+ +p[d>>3];p[q>>3]=g;p[e>>3]=h;p[d>>3]=l}if(k>i){j=i-h;k=h+j*+p[a+144>>3];l=j*+p[a+152>>3]+ +p[q+16>>3];p[o>>3]=+p[a+136>>3]*j+g;p[m>>3]=k;p[q+40>>3]=l}}c=q+16|0;i=+p[c>>3];d=q+40|0;l=+p[d>>3];k=+n[b+8>>2];if(!(i<=l)){if(i<k){t=0;u=v;return t|0}j=+n[b+20>>2];if(l>j){t=0;u=v;return t|0}if(l<k){w=k-i;k=w*+p[a+168>>3]+h;l=i+w*+p[a+176>>3];p[o>>3]=w*+p[a+160>>3]+g;p[m>>3]=k;p[d>>3]=l}if(i>j){k=j-i;l=k*+p[a+168>>3]+h;w=i+k*+p[a+176>>3];p[q>>3]=k*+p[a+160>>3]+g;p[e>>3]=l;p[c>>3]=w}}else{if(l<k){t=0;u=v;return t|0}j=+n[b+20>>2];if(i>j){t=0;u=v;return t|0}if(i<k){w=k-i;g=w*+p[a+160>>3]+g;h=w*+p[a+168>>3]+h;i=i+w*+p[a+176>>3];p[q>>3]=g;p[e>>3]=h;p[c>>3]=i}if(l>j){k=j-i;l=k*+p[a+168>>3]+h;w=i+k*+p[a+176>>3];p[o>>3]=+p[a+160>>3]*k+g;p[m>>3]=l;p[d>>3]=w}}if((t|0)==(f[a+64>>2]|0)){eM(r,q);t=1;u=v;return t|0}else{c=t;d=q;e=c+48|0;do{f[c>>2]=f[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));f[s>>2]=(f[s>>2]|0)+48;t=1;u=v;return t|0}return 0}function eM(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;d=(k|0)/48|0;c=d+1|0;if(c>>>0>89478485)DCb(a);l=a+8|0;h=((f[l>>2]|0)-j|0)/48|0;e=h<<1;e=h>>>0<44739242?(e>>>0<c>>>0?c:e):89478485;do if(e)if(e>>>0>89478485){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{c=EBb(e*48|0)|0;break}else c=0;while(0);h=c+(d*48|0)|0;g=c+(e*48|0)|0;e=h;c=b;d=e+48|0;do{f[e>>2]=f[c>>2];e=e+4|0;c=c+4|0}while((e|0)<(d|0));c=h+(((k|0)/-48|0)*48|0)|0;if((k|0)>0)YDb(c|0,j|0,k|0)|0;f[a>>2]=c;f[i>>2]=h+48;f[l>>2]=g;if(!j)return;GBb(j);return}function fM(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>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;p[c>>3]=+p[b>>3];if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function gM(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;d=(k|0)/48|0;c=d+1|0;if(c>>>0>89478485)DCb(a);l=a+8|0;h=((f[l>>2]|0)-j|0)/48|0;e=h<<1;e=h>>>0<44739242?(e>>>0<c>>>0?c:e):89478485;do if(e)if(e>>>0>89478485){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{c=EBb(e*48|0)|0;break}else c=0;while(0);h=c+(d*48|0)|0;g=c+(e*48|0)|0;e=h;c=b;d=e+48|0;do{f[e>>2]=f[c>>2];e=e+4|0;c=c+4|0}while((e|0)<(d|0));c=h+(((k|0)/-48|0)*48|0)|0;if((k|0)>0)YDb(c|0,j|0,k|0)|0;f[a>>2]=c;f[i>>2]=h+48;f[l>>2]=g;if(!j)return;GBb(j);return}function hM(a){a=a|0;var b=0;b=f[a+64>>2]|0;if(!b)return;f[a+68>>2]=b;GBb(b);return}function iM(a){a=a|0;var b=0;b=f[a+64>>2]|0;if(!b){GBb(a);return}f[a+68>>2]=b;GBb(b);GBb(a);return}function jM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377513,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function kM(a,b,c){a=a|0;b=b|0;c=c|0;f[a+196>>2]=b;f[a+200>>2]=c;return}function lM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377459,53)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function mM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377404,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function nM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377349,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function oM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=u;u=u+16|0;d=c;b=Nu(Hua(2)|0,377294,54)|0;Drb(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(b,a)|0;Krb(b)|0;u=c;return}function pM(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=f[a+200>>2]|0;h=i;if((d|0)==0|(i|0)==0)return;do switch(b|0){case 4:{h=i+((d+c|0)*12|0)|0;if((d|0)<=0)return;g=a+8|0;e=a+12|0;b=i+(c*12|0)|0;do{cM(g,b,b+12|0,b+24|0);f[e>>2]=(f[e>>2]|0)+1;b=b+36|0}while(b>>>0<h>>>0);return}case 5:{if((d|0)<=2)return;h=a+8|0;g=a+12|0;b=i+(c*12|0)|0;e=2;do{if(!(e&1)){i=b+12|0;cM(h,b,i,b+24|0);b=i}else{i=b+12|0;cM(h,b,b+24|0,i);b=i}f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(d|0));return}case 7:{if((d|0)<=3)return;h=a+8|0;g=a+12|0;b=i+(c*12|0)|0;e=3;while(1){a=b+12|0;i=b+36|0;cM(h,b,a,i);cM(h,a,b+24|0,i);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(d|0))break;else b=b+48|0}return}case 8:{if((d|0)<=3)return;h=a+8|0;g=a+12|0;b=i+(c*12|0)|0;e=3;do{a=b+12|0;i=b;b=b+24|0;cM(h,i,a,b);cM(h,a,i+36|0,b);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(d|0));return}case 6:case 9:{h=i+(c*12|0)|0;if((d|0)<=2)return;c=a+8|0;g=a+12|0;b=2;e=h+12|0;do{i=e;e=e+12|0;cM(c,h,i,e);f[g>>2]=(f[g>>2]|0)+1;b=b+1|0}while((b|0)!=(d|0));return}case 0:{b=i+((d+c|0)*12|0)|0;if((d|0)<=0)return;d=a+12|0;i=i+((c+1|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((i>>>0>b>>>0?i:b)+((0-c|0)*12|0)+~h|0)>>>0)/12|0)+1;return}case 1:{d=d+c+-1|0;b=i+(d*12|0)|0;if((d|0)<=(c|0))return;d=a+12|0;i=i+((c+2|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((b>>>0>i>>>0?b:i)+((0-c|0)*12|0)+~h|0)>>>0)/24|0)+1;return}case 3:{d=d+c+-1|0;b=i+(d*12|0)|0;if((d|0)<=(c|0))return;d=a+12|0;i=i+((c+1|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((b>>>0>i>>>0?b:i)+((0-c|0)*12|0)+~h|0)>>>0)/12|0)+1;return}case 11:{d=d+c+-2|0;b=i+(d*12|0)|0;if((c+1|0)>=(d|0))return;d=a+12|0;i=i+((c+2|0)*12|0)|0;f[d>>2]=(f[d>>2]|0)+((((b>>>0>i>>>0?b:i)+(~c*12|0)+~h|0)>>>0)/12|0)+1;return}case 2:{d=d+c+-1|0;e=i+(d*12|0)|0;g=a+12|0;b=f[g>>2]|0;if((d|0)>(c|0)){d=i+((c+1|0)*12|0)|0;b=b+((((e>>>0>d>>>0?e:d)+((0-c|0)*12|0)+~h|0)>>>0)/12|0)+1|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function qM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;vM(a,b,c,d);return}function rM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;uM(a,b,c,d);return}function sM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;tM(a,b,c,d);return}function tM(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;h=d;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{i=d+(c<<2)|0;if((c|0)<=0)return;h=a+8|0;g=a+200|0;e=a+12|0;b=d;do{c=f[g>>2]|0;cM(h,c+((f[b>>2]|0)*12|0)|0,c+((f[b+4>>2]|0)*12|0)|0,c+((f[b+8>>2]|0)*12|0)|0);f[e>>2]=(f[e>>2]|0)+1;b=b+12|0}while(b>>>0<i>>>0);return}case 5:{if((c|0)<=2)return;j=a+8|0;k=a+200|0;i=a+12|0;b=d;h=2;do{e=f[k>>2]|0;g=e+((f[b>>2]|0)*12|0)|0;if(!(h&1)){d=b+4|0;cM(j,g,e+((f[d>>2]|0)*12|0)|0,e+((f[b+8>>2]|0)*12|0)|0);b=d}else{d=b+4|0;cM(j,g,e+((f[b+8>>2]|0)*12|0)|0,e+((f[d>>2]|0)*12|0)|0);b=d}f[i>>2]=(f[i>>2]|0)+1;h=h+1|0}while((h|0)!=(c|0));return}case 7:{if((c|0)<=3)return;h=a+8|0;i=a+200|0;g=a+12|0;b=d;e=3;while(1){j=f[i>>2]|0;k=j+((f[b+4>>2]|0)*12|0)|0;a=j+((f[b+8>>2]|0)*12|0)|0;d=j+((f[b+12>>2]|0)*12|0)|0;cM(h,j+((f[b>>2]|0)*12|0)|0,k,d);cM(h,k,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(c|0))break;else b=b+16|0}return}case 8:{if((c|0)<=3)return;h=a+8|0;i=a+200|0;g=a+12|0;b=d;e=3;do{l=f[i>>2]|0;k=l+((f[b+4>>2]|0)*12|0)|0;a=l+((f[b+12>>2]|0)*12|0)|0;j=b;b=b+8|0;d=l+((f[b>>2]|0)*12|0)|0;cM(h,l+((f[j>>2]|0)*12|0)|0,k,d);cM(h,k,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(c|0));return}case 6:case 9:{h=a+200|0;e=f[h>>2]|0;i=e+((f[d>>2]|0)*12|0)|0;if((c|0)<=2)return;j=a+8|0;g=a+12|0;b=d+8|0;cM(j,i,e+((f[d+4>>2]|0)*12|0)|0,e+((f[b>>2]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;if((c|0)==3)return;e=3;do{l=f[h>>2]|0;d=b;b=b+4|0;cM(j,i,l+((f[d>>2]|0)*12|0)|0,l+((f[b>>2]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(c|0));return}case 0:{b=d+(c<<2)|0;if((c|0)<=0)return;l=a+12|0;c=d+4|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>2)+1;return}case 1:{b=d+(c+-1<<2)|0;if((c|0)<=1)return;l=a+12|0;c=d+8|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>3)+1;return}case 3:{b=d+(c+-1<<2)|0;if((c|0)<=1)return;l=a+12|0;c=d+4|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>2)+1;return}case 11:{b=d+(c+-2<<2)|0;if((c|0)<=3)return;l=a+12|0;c=d+8|0;f[l>>2]=(f[l>>2]|0)+(((b>>>0>c>>>0?b:c)+-4+~h|0)>>>2)+1;return}case 2:{e=d+(c+-1<<2)|0;g=a+12|0;b=f[g>>2]|0;if((c|0)>1){l=d+4|0;b=b+(((e>>>0>l>>>0?e:l)+~h|0)>>>2)+1|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function uM(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,k=0,l=0,m=0;h=d;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{i=d+(c<<1)|0;if((c|0)<=0)return;h=a+8|0;g=a+200|0;e=a+12|0;b=d;do{c=f[g>>2]|0;cM(h,c+((j[b>>1]|0)*12|0)|0,c+((j[b+2>>1]|0)*12|0)|0,c+((j[b+4>>1]|0)*12|0)|0);f[e>>2]=(f[e>>2]|0)+1;b=b+6|0}while(b>>>0<i>>>0);return}case 5:{if((c|0)<=2)return;k=a+8|0;l=a+200|0;i=a+12|0;b=d;h=2;do{e=f[l>>2]|0;g=e+((j[b>>1]|0)*12|0)|0;if(!(h&1)){d=b+2|0;cM(k,g,e+((j[d>>1]|0)*12|0)|0,e+((j[b+4>>1]|0)*12|0)|0);b=d}else{d=b+2|0;cM(k,g,e+((j[b+4>>1]|0)*12|0)|0,e+((j[d>>1]|0)*12|0)|0);b=d}f[i>>2]=(f[i>>2]|0)+1;h=h+1|0}while((h|0)!=(c|0));return}case 7:{if((c|0)<=3)return;h=a+8|0;i=a+200|0;g=a+12|0;b=d;e=3;while(1){k=f[i>>2]|0;l=k+((j[b+2>>1]|0)*12|0)|0;a=k+((j[b+4>>1]|0)*12|0)|0;d=k+((j[b+6>>1]|0)*12|0)|0;cM(h,k+((j[b>>1]|0)*12|0)|0,l,d);cM(h,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(c|0))break;else b=b+8|0}return}case 8:{if((c|0)<=3)return;h=a+8|0;i=a+200|0;g=a+12|0;b=d;e=3;do{m=f[i>>2]|0;l=m+((j[b+2>>1]|0)*12|0)|0;a=m+((j[b+6>>1]|0)*12|0)|0;k=b;b=b+4|0;d=m+((j[b>>1]|0)*12|0)|0;cM(h,m+((j[k>>1]|0)*12|0)|0,l,d);cM(h,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(c|0));return}case 6:case 9:{h=a+200|0;e=f[h>>2]|0;i=e+((j[d>>1]|0)*12|0)|0;if((c|0)<=2)return;k=a+8|0;g=a+12|0;b=d+4|0;cM(k,i,e+((j[d+2>>1]|0)*12|0)|0,e+((j[b>>1]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;if((c|0)==3)return;e=3;do{m=f[h>>2]|0;d=b;b=b+2|0;cM(k,i,m+((j[d>>1]|0)*12|0)|0,m+((j[b>>1]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(c|0));return}case 0:{b=d+(c<<1)|0;if((c|0)<=0)return;m=a+12|0;c=d+2|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>1)+1;return}case 1:{b=d+(c+-1<<1)|0;if((c|0)<=1)return;m=a+12|0;c=d+4|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>2)+1;return}case 3:{b=d+(c+-1<<1)|0;if((c|0)<=1)return;m=a+12|0;c=d+2|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~h|0)>>>1)+1;return}case 11:{b=d+(c+-2<<1)|0;if((c|0)<=3)return;m=a+12|0;c=d+4|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+-2+~h|0)>>>1)+1;return}case 2:{e=d+(c+-1<<1)|0;g=a+12|0;b=f[g>>2]|0;if((c|0)>1){m=d+2|0;b=b+(((e>>>0>m>>>0?e:m)+~h|0)>>>1)+1|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function vM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0;i=d;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{j=d+c|0;if((c|0)<=0)return;i=a+8|0;g=a+200|0;e=a+12|0;b=d;do{c=f[g>>2]|0;cM(i,c+((h[b>>0]|0)*12|0)|0,c+((h[b+1>>0]|0)*12|0)|0,c+((h[b+2>>0]|0)*12|0)|0);f[e>>2]=(f[e>>2]|0)+1;b=b+3|0}while(b>>>0<j>>>0);return}case 5:{if((c|0)<=2)return;k=a+8|0;l=a+200|0;j=a+12|0;b=d;i=2;do{e=f[l>>2]|0;g=e+((h[b>>0]|0)*12|0)|0;if(!(i&1)){d=b+1|0;cM(k,g,e+((h[d>>0]|0)*12|0)|0,e+((h[b+2>>0]|0)*12|0)|0);b=d}else{d=b+1|0;cM(k,g,e+((h[b+2>>0]|0)*12|0)|0,e+((h[d>>0]|0)*12|0)|0);b=d}f[j>>2]=(f[j>>2]|0)+1;i=i+1|0}while((i|0)!=(c|0));return}case 7:{if((c|0)<=3)return;i=a+8|0;j=a+200|0;g=a+12|0;b=d;e=3;while(1){k=f[j>>2]|0;l=k+((h[b+1>>0]|0)*12|0)|0;a=k+((h[b+2>>0]|0)*12|0)|0;d=k+((h[b+3>>0]|0)*12|0)|0;cM(i,k+((h[b>>0]|0)*12|0)|0,l,d);cM(i,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+4|0;if((e|0)>=(c|0))break;else b=b+4|0}return}case 8:{if((c|0)<=3)return;i=a+8|0;j=a+200|0;g=a+12|0;b=d;e=3;do{m=f[j>>2]|0;l=m+((h[b+1>>0]|0)*12|0)|0;a=m+((h[b+3>>0]|0)*12|0)|0;k=b;b=b+2|0;d=m+((h[b>>0]|0)*12|0)|0;cM(i,m+((h[k>>0]|0)*12|0)|0,l,d);cM(i,l,a,d);f[g>>2]=(f[g>>2]|0)+1;e=e+2|0}while((e|0)<(c|0));return}case 6:case 9:{i=a+200|0;e=f[i>>2]|0;j=e+((h[d>>0]|0)*12|0)|0;if((c|0)<=2)return;k=a+8|0;g=a+12|0;b=d+2|0;cM(k,j,e+((h[d+1>>0]|0)*12|0)|0,e+((h[b>>0]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;if((c|0)==3)return;e=3;do{m=f[i>>2]|0;d=b;b=b+1|0;cM(k,j,m+((h[d>>0]|0)*12|0)|0,m+((h[b>>0]|0)*12|0)|0);f[g>>2]=(f[g>>2]|0)+1;e=e+1|0}while((e|0)!=(c|0));return}case 0:{b=d+c|0;if((c|0)<=0)return;m=a+12|0;c=d+1|0;f[m>>2]=(b>>>0>c>>>0?b:c)+((f[m>>2]|0)-i);return}case 1:{b=d+(c+-1)|0;if((c|0)<=1)return;m=a+12|0;c=d+2|0;f[m>>2]=(f[m>>2]|0)+(((b>>>0>c>>>0?b:c)+~i|0)>>>1)+1;return}case 3:{b=d+(c+-1)|0;if((c|0)<=1)return;m=a+12|0;c=d+1|0;f[m>>2]=(b>>>0>c>>>0?b:c)+((f[m>>2]|0)-i);return}case 11:{b=d+(c+-2)|0;if((c|0)<=3)return;m=a+12|0;c=d+2|0;f[m>>2]=(b>>>0>c>>>0?b:c)+((f[m>>2]|0)+-1-i);return}case 2:{e=d+(c+-1)|0;g=a+12|0;b=f[g>>2]|0;if((c|0)>1){m=d+1|0;b=(e>>>0>m>>>0?e:m)+(b-i)|0;f[g>>2]=b}f[g>>2]=b+1;return}default:return}while(0)}function wM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0,t=0,u=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.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0;g=+n[d>>2];u=+n[d+4>>2];E=+n[d+8>>2];r=+n[d+12>>2];D=+n[d+16>>2];J=+n[d+20>>2];e=+p[b>>3];f=+p[c>>3];if(!(e<=f)){if(e<g|f>r){c=0;return c|0}if(f<g?(j=e-f,k=(g-f)/j+-1.0e-05,k>0.0):0){s=c+8|0;q=+p[s>>3];t=c+16|0;e=+p[t>>3];f=f+j*k;q=q+k*(+p[b+8>>3]-q);e=e+k*(+p[b+16>>3]-e);p[c>>3]=f;p[s>>3]=q;p[t>>3]=e;e=+p[b>>3]}if(e>r?(l=e-f,m=(r-f)/l+1.0e-05,m<1.0):0){s=b+8|0;q=+p[c+8>>3];t=b+16|0;r=+p[c+16>>3];q=q+m*(+p[s>>3]-q);r=r+m*(+p[t>>3]-r);p[b>>3]=f+l*m;p[s>>3]=q;p[t>>3]=r}}else{if(e>r|f<g){c=0;return c|0}if(e<g?(h=f-e,i=(g-e)/h+-1.0e-05,i>0.0):0){s=b+8|0;m=+p[s>>3];t=b+16|0;f=+p[t>>3];e=e+h*i;m=m+i*(+p[c+8>>3]-m);f=f+i*(+p[c+16>>3]-f);p[b>>3]=e;p[s>>3]=m;p[t>>3]=f;f=+p[c>>3]}if(f>r?(o=f-e,q=(r-e)/o+1.0e-05,q<1.0):0){s=c+8|0;m=+p[b+8>>3];t=c+16|0;r=+p[b+16>>3];m=m+q*(+p[s>>3]-m);r=r+q*(+p[t>>3]-r);p[c>>3]=e+o*q;p[s>>3]=m;p[t>>3]=r}}s=b+8|0;e=+p[s>>3];t=c+8|0;f=+p[t>>3];if(!(e<=f)){if(e<u|f>D){c=0;return c|0}if(f<u?(x=e-f,y=(u-f)/x+-1.0e-05,y>0.0):0){A=+p[c>>3];d=c+16|0;e=+p[d>>3];f=f+x*y;e=e+y*(+p[b+16>>3]-e);p[c>>3]=A+y*(+p[b>>3]-A);p[t>>3]=f;p[d>>3]=e;e=+p[s>>3]}if(e>D?(B=e-f,C=(D-f)/B+1.0e-05,C<1.0):0){A=+p[c>>3];d=b+16|0;D=+p[c+16>>3];D=D+C*(+p[d>>3]-D);p[b>>3]=A+C*(+p[b>>3]-A);p[s>>3]=f+B*C;p[d>>3]=D}}else{if(e>D|f<u){c=0;return c|0}if(e<u?(v=f-e,w=(u-e)/v+-1.0e-05,w>0.0):0){C=+p[b>>3];d=b+16|0;f=+p[d>>3];e=e+v*w;f=f+w*(+p[c+16>>3]-f);p[b>>3]=C+w*(+p[c>>3]-C);p[s>>3]=e;p[d>>3]=f;f=+p[t>>3]}if(f>D?(z=f-e,A=(D-e)/z+1.0e-05,A<1.0):0){C=+p[b>>3];d=c+16|0;D=+p[b+16>>3];D=D+A*(+p[d>>3]-D);p[c>>3]=C+A*(+p[c>>3]-C);p[t>>3]=e+z*A;p[d>>3]=D}}a=b+16|0;f=+p[a>>3];d=c+16|0;e=+p[d>>3];if(!(f<=e)){if(f<E|e>J){c=0;return c|0}if(e<E?(H=f-e,I=(E-e)/H+-1.0e-05,I>0.0):0){G=+p[c>>3];f=+p[t>>3];f=f+I*(+p[s>>3]-f);g=e+H*I;p[c>>3]=G+I*(+p[b>>3]-G);p[t>>3]=f;p[d>>3]=g;f=+p[a>>3]}else g=e;if(!(f>J)){c=1;return c|0}f=f-g;e=(J-g)/f+1.0e-05;if(!(e<1.0)){c=1;return c|0}I=+p[c>>3];J=+p[t>>3];J=J+e*(+p[s>>3]-J);p[b>>3]=I+e*(+p[b>>3]-I);p[s>>3]=J;p[a>>3]=g+f*e;c=1;return c|0}else{if(f>J|e<E){c=0;return c|0}if(f<E?(F=e-f,G=(E-f)/F+-1.0e-05,G>0.0):0){I=+p[b>>3];e=+p[s>>3];e=e+G*(+p[t>>3]-e);g=f+F*G;p[b>>3]=I+G*(+p[c>>3]-I);p[s>>3]=e;p[a>>3]=g;e=+p[d>>3]}else g=f;if(!(e>J)){c=1;return c|0}f=e-g;e=(J-g)/f+1.0e-05;if(!(e<1.0)){c=1;return c|0}I=+p[b>>3];J=+p[s>>3];J=J+e*(+p[t>>3]-J);p[c>>3]=I+e*(+p[c>>3]-I);p[t>>3]=J;p[d>>3]=g+f*e;c=1;return c|0}return 0}function xM(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,o=0.0,q=0.0;o=+n[b+12>>2];if(!(o>=0.0)){a=1;return a|0}c=+p[a+32>>3];h=c-+n[b>>2];d=+p[a+40>>3];i=d-+n[b+4>>2];e=+p[a+48>>3];g=e-+n[b+8>>2];l=h*h+i*i+g*g;j=l-o*o;if(j<0.0){a=1;return a|0}q=+p[a+56>>3]-c;c=+p[a+64>>3]-d;e=+p[a+72>>3]-e;k=q*q+c*c+e*e;e=(h*q+i*c+g*e)*2.0;c=e*e-j*(k*4.0);if(c<0.0){a=0;return a|0}c=+K(+c);q=1.0/(k*2.0);d=q*(-e-c);c=q*(c-e);if(d<=0.0&c<=0.0){a=0;return a|0}if(d>=1.0&c>=1.0){a=0;return a|0}if(((f[a+16>>2]|0)==3?(m=f[a+28>>2]|0,m=(m|0)==0?a:m,f[m+88>>2]|0):0)?(q=(+K(+l)-o)/+K(+k),q>=+p[(f[m+80>>2]|0)+16>>3]):0){a=0;return a|0}a=1;return a|0}function yM(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,q=0,r=0;r=u;u=u+128|0;h=r;f3a(h);switch(c|0){case 0:{if(f[b+84>>2]|0?(d=f[(f[b+76>>2]|0)+8>>2]|0,d|0):0)n3a(h,d+32|0);if(f[b+96>>2]|0?(e=f[(f[b+88>>2]|0)+8>>2]|0,e|0):0)n3a(h,e+32|0);if(f[b+108>>2]|0?(g=f[(f[b+100>>2]|0)+8>>2]|0,g|0):0)n3a(h,g+32|0);if(f[b+120>>2]|0?(i=f[(f[b+112>>2]|0)+8>>2]|0,i|0):0)n3a(h,i+32|0);break}case 1:{if(f[b+96>>2]|0?(j=f[(f[b+88>>2]|0)+8>>2]|0,j|0):0)n3a(h,j+32|0);if(f[b+108>>2]|0?(k=f[(f[b+100>>2]|0)+8>>2]|0,k|0):0)n3a(h,k+32|0);if(f[b+120>>2]|0?(l=f[(f[b+112>>2]|0)+8>>2]|0,l|0):0)n3a(h,l+32|0);break}case 2:{if(f[b+108>>2]|0?(m=f[(f[b+100>>2]|0)+8>>2]|0,m|0):0)n3a(h,m+32|0);if(f[b+120>>2]|0?(n=f[(f[b+112>>2]|0)+8>>2]|0,n|0):0)n3a(h,n+32|0);break}case 3:{if((f[b+120>>2]|0?(o=f[(f[b+112>>2]|0)+8>>2]|0,o|0):0)?(q=o+32|0,(q|0)!=(h|0)):0){p[h>>3]=+p[q>>3];p[h+8>>3]=+p[o+40>>3];p[h+16>>3]=+p[o+48>>3];p[h+24>>3]=+p[o+56>>3];p[h+32>>3]=+p[o+64>>3];p[h+40>>3]=+p[o+72>>3];p[h+48>>3]=+p[o+80>>3];p[h+56>>3]=+p[o+88>>3];p[h+64>>3]=+p[o+96>>3];p[h+72>>3]=+p[o+104>>3];p[h+80>>3]=+p[o+112>>3];p[h+88>>3]=+p[o+120>>3];p[h+96>>3]=+p[o+128>>3];p[h+104>>3]=+p[o+136>>3];p[h+112>>3]=+p[o+144>>3];p[h+120>>3]=+p[o+152>>3]}break}default:{}}f3a(a);if(((+p[h+24>>3]==0.0?+p[h+56>>3]==0.0:0)?+p[h+88>>3]==0.0:0)?+p[h+120>>3]==1.0:0){o3a(a,h)|0;u=r;return}p3a(a,h)|0;u=r;return}function zM(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 AM(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;k=a+8|0;d=f[k>>2]|0;l=a+4|0;c=f[l>>2]|0;if(d-c>>2>>>0>=b>>>0){_Db(c|0,0,b<<2|0)|0;f[l>>2]=c+(b<<2);return}j=f[a>>2]|0;i=c-j|0;h=i>>2;c=h+b|0;if(c>>>0>1073741823)DCb(a);e=d-j|0;g=e>>1;g=e>>2>>>0<536870911?(g>>>0<c>>>0?c:g):1073741823;do if(g)if(g>>>0>1073741823){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(g<<2)|0;d=e;break}else{d=0;e=0}while(0);c=d+(h<<2)|0;_Db(c|0,0,b<<2|0)|0;if((i|0)>0)YDb(e|0,j|0,i|0)|0;f[a>>2]=d;f[l>>2]=c+(b<<2);f[k>>2]=d+(g<<2);if(!j)return;GBb(j);return}function BM(a){a=a|0;f[a>>2]=315832;MM(a+80|0,f[a+84>>2]|0);Uua(a);return}function CM(a){a=a|0;f[a>>2]=315832;MM(a+80|0,f[a+84>>2]|0);Uua(a);GBb(a);return}function DM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,q=0.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.0,D=0.0,E=0.0;e=u;u=u+128|0;c=e;d=f[a+12>>2]|0;do if((d|0)==3){if(f[b+120>>2]|0?f[(f[b+112>>2]|0)+8>>2]|0:0)break;d=EBb(96)|0;c=f[a+16>>2]|0;rZa(d);b=a+56|0;g=a+32|0;f[d+12>>2]=3;f[d+16>>2]=c;f[d+20>>2]=0;f[d>>2]=315832;f[d+28>>2]=a;c=d+32|0;f[c>>2]=f[g>>2];f[c+4>>2]=f[g+4>>2];f[c+8>>2]=f[g+8>>2];f[c+12>>2]=f[g+12>>2];f[c+16>>2]=f[g+16>>2];f[c+20>>2]=f[g+20>>2];c=d+56|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];f[c+16>>2]=f[b+16>>2];f[c+20>>2]=f[b+20>>2];c=d+84|0;f[c>>2]=0;f[d+88>>2]=0;f[d+80>>2]=c;f[d+24>>2]=f[a+24>>2];u=e;return d|0}while(0);yM(c,b,d);D=+p[c+24>>3];n=+p[a+32>>3];C=+p[c+56>>3];l=+p[a+40>>3];h=+p[c+88>>3];j=+p[a+48>>3];E=+p[c+120>>3];i=1.0/(E+(D*n+C*l+h*j));A=+p[c>>3];z=+p[c+32>>3];y=+p[c+64>>3];B=+p[c+96>>3];x=i*(B+(n*A+l*z+j*y));v=+p[c+8>>3];t=+p[c+40>>3];s=+p[c+72>>3];w=+p[c+104>>3];r=i*(w+(n*v+l*t+j*s));o=+p[c+16>>3];m=+p[c+48>>3];k=+p[c+80>>3];q=+p[c+112>>3];i=i*(q+(n*o+l*m+j*k));n=n+ +p[a+56>>3];l=l+ +p[a+64>>3];j=j+ +p[a+72>>3];h=E+(D*n+C*l+h*j);g=EBb(96)|0;d=f[a+16>>2]|0;rZa(g);f[g+12>>2]=3;f[g+16>>2]=d;f[g+20>>2]=0;f[g>>2]=315832;f[g+28>>2]=a;p[g+32>>3]=x;p[g+40>>3]=r;p[g+48>>3]=i;p[g+56>>3]=B+(A*n+z*l+y*j)-x*h;p[g+64>>3]=w+(v*n+t*l+s*j)-r*h;p[g+72>>3]=q+(o*n+m*l+k*j)-i*h;d=g+84|0;f[d>>2]=0;f[g+88>>2]=0;f[g+80>>2]=d;f[g+24>>2]=f[a+24>>2];u=e;return g|0}function EM(a,c){a=a|0;c=c|0;var d=0,e=0;if((f[a+16>>2]|0)==2?_i[f[(f[a>>2]|0)+32>>2]&2047](a)|0:0){c=0;return c|0}if(f[c+108>>2]|0){c=1;return c|0}if(!(b[c+104>>0]|0)){c=1;return c|0}d=(Hv(c)|0)+12|0;if(!(+n[d>>2]>=0.0)){d=1;return d|0}e=f[(f[a>>2]|0)+44>>2]|0;d=Hv(c)|0;d=cj[e&1023](a,d)|0;return d|0}function FM(a){a=a|0;return}function GM(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,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0,B=0.0,C=0.0,D=0.0,E=0.0;A=u;u=u+256|0;v=A+144|0;k=A+252|0;l=A+120|0;m=A+96|0;w=A;x=A+240|0;e=a+16|0;if((f[e>>2]|0)==2?_i[f[(f[a>>2]|0)+32>>2]&2047](a)|0:0){u=A;return}j=a+32|0;f[l>>2]=f[j>>2];f[l+4>>2]=f[j+4>>2];f[l+8>>2]=f[j+8>>2];f[l+12>>2]=f[j+12>>2];f[l+16>>2]=f[j+16>>2];f[l+20>>2]=f[j+20>>2];f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;f[m+20>>2]=0;if(NM(0,l,a+56|0,m,RJ(d)|0)|0?(b[c+69>>0]|0)==0:0){h=f[e>>2]|0;rZa(w);f[w+12>>2]=3;f[w+16>>2]=h;f[w+20>>2]=0;f[w>>2]=315672;h=w+28|0;f[h>>2]=0;t=w+32|0;f[t>>2]=f[l>>2];f[t+4>>2]=f[l+4>>2];f[t+8>>2]=f[l+8>>2];f[t+12>>2]=f[l+12>>2];f[t+16>>2]=f[l+16>>2];f[t+20>>2]=f[l+20>>2];t=w+56|0;f[t>>2]=f[m>>2];f[t+4>>2]=f[m+4>>2];f[t+8>>2]=f[m+8>>2];f[t+12>>2]=f[m+12>>2];f[t+16>>2]=f[m+16>>2];f[t+20>>2]=f[m+20>>2];f[w+84>>2]=0;f[w+88>>2]=0;t=w+84|0;f[w+80>>2]=t;f[w+24>>2]=f[a+24>>2];EL(w,c,d,l,m);h=f[h>>2]|0;h=(h|0)==0?w:h;f[x+4>>2]=0;g=x+8|0;f[g>>2]=0;s=x+4|0;f[x>>2]=s;e=f[h+80>>2]|0;h=h+84|0;if((e|0)!=(h|0)){i=s;d=e;while(1){f[k>>2]=i;f[v>>2]=f[k>>2];OM(x,v,d+16|0)|0;e=f[d+4>>2]|0;if(!e){c=d+8|0;e=f[c>>2]|0;if((f[e>>2]|0)!=(d|0))do{q=f[c>>2]|0;c=q+8|0;e=f[c>>2]|0}while((f[e>>2]|0)!=(q|0))}else while(1){c=f[e>>2]|0;if(!c)break;else e=c}if((e|0)==(h|0))break;else d=e}if(f[g>>2]|0?(C=+p[l>>3],E=C-+p[j>>3],B=+p[l+8>>3],D=B-+p[a+40>>3],z=+p[l+16>>3],y=z-+p[a+48>>3],y=+K(+(E*E+D*D+y*y)),C=+p[m>>3]-C,B=+p[m+8>>3]-B,z=+p[m+16>>3]-z,z=+K(+(C*C+B*B+z*z)),r=f[x>>2]|0,(r|0)!=(s|0)):0){o=v+8|0;q=v+32|0;g=v+24|0;h=v+8|0;i=v+20|0;j=v+92|0;k=v+56|0;l=v+68|0;m=v+80|0;n=a+28|0;d=r;while(1){f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;f[o+16>>2]=0;e=q;c=e+64|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(c|0));p[v>>3]=y+z*+p[d+16>>3];e=f[d+40>>2]|0;if(e|0){f[g>>2]=e;r=e+8|0;f[r>>2]=(f[r>>2]|0)+1}e=d+24|0;if((h|0)!=(e|0))wC(h,f[e>>2]|0,f[d+28>>2]|0);e=f[i>>2]|0;c=f[d+36>>2]|0;if((e|0)!=(c|0)){f[i>>2]=c;if(c|0){r=c+8|0;f[r>>2]=(f[r>>2]|0)+1}if(e|0?(c=e+8|0,r=f[c>>2]|0,f[c>>2]=r-1,(r|0)==1):0)Rua(e,1,1)}f[j>>2]=f[d+108>>2];e=d+48|0;f[q>>2]=f[e>>2];f[q+4>>2]=f[e+4>>2];f[q+8>>2]=f[e+8>>2];f[q+12>>2]=f[e+12>>2];f[q+16>>2]=f[e+16>>2];f[q+20>>2]=f[e+20>>2];e=d+72|0;f[k>>2]=f[e>>2];f[k+4>>2]=f[e+4>>2];f[k+8>>2]=f[e+8>>2];e=d+84|0;if((l|0)!=(e|0))xC(l,f[e>>2]|0,f[d+88>>2]|0);e=d+96|0;if((m|0)!=(e|0))yC(m,f[e>>2]|0,f[d+100>>2]|0);e=f[n>>2]|0;PM(((e|0)==0?a:e)+80|0,v)|0;iF(v);e=f[d+4>>2]|0;if(!e){c=d+8|0;e=f[c>>2]|0;if((f[e>>2]|0)!=(d|0))do{r=f[c>>2]|0;c=r+8|0;e=f[c>>2]|0}while((f[e>>2]|0)!=(r|0))}else while(1){c=f[e>>2]|0;if(!c)break;else e=c}if((e|0)==(s|0))break;else d=e}}}tC(x,f[s>>2]|0);f[w>>2]=315672;tC(w+80|0,f[t>>2]|0);Uua(w)}u=A;return}function HM(a){a=a|0;var b=0,c=0;f[a+20>>2]=0;c=a+80|0;b=a+84|0;MM(c,f[b>>2]|0);f[a+88>>2]=0;f[c>>2]=b;f[b>>2]=0;return}function IM(a){a=a|0;var b=0;b=f[a+28>>2]|0;return (f[((b|0)==0?a:b)+88>>2]|0)!=0|0}function JM(a,b){a=a|0;b=b|0;a=a+32|0;f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];f[a+12>>2]=f[b+12>>2];f[a+16>>2]=f[b+16>>2];f[a+20>>2]=f[b+20>>2];return}function KM(a,b){a=a|0;b=b|0;a=a+56|0;f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];f[a+12>>2]=f[b+12>>2];f[a+16>>2]=f[b+16>>2];f[a+20>>2]=f[b+20>>2];return}function LM(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,g=0.0,h=0.0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,o=0.0;k=+n[b+12>>2];if(!(k>=0.0)){a=1;return a|0}d=+p[a+32>>3]-+n[b>>2];e=+p[a+40>>3]-+n[b+4>>2];c=+p[a+48>>3]-+n[b+8>>2];h=d*d+e*e+c*c;g=h-k*k;if(g<0.0){a=1;return a|0}o=+p[a+56>>3];m=+p[a+64>>3];l=+p[a+72>>3];i=o*o+m*m+l*l;d=(d*o+e*m+c*l)*2.0;c=d*d-g*(i*4.0);if(c<0.0){a=0;return a|0}o=+K(+c);m=1.0/(i*2.0);if(m*(-d-o)<=0.0&m*(o-d)<=0.0){a=0;return a|0}if(((f[a+16>>2]|0)==3?(j=f[a+28>>2]|0,j=(j|0)==0?a:j,f[j+88>>2]|0):0)?(o=+K(+h)-k,o>=+p[(f[j+80>>2]|0)+16>>3]):0){a=0;return a|0}a=1;return a|0}function MM(a,b){a=a|0;b=b|0;if(!b)return;else{MM(a,f[b>>2]|0);MM(a,f[b+4>>2]|0);iF(b+16|0);GBb(b);return}}function NM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0;r=+n[e>>2];u=+n[e+4>>2];w=+n[e+8>>2];o=+n[e+12>>2];s=+n[e+16>>2];v=+n[e+20>>2];q=c+8|0;t=c+16|0;a=b+8|0;e=b+16|0;g=+p[c>>3];f=+p[b>>3];if(!(g>=0.0)){if(f<r){d=0;return d|0}if(g<-1.0e-06&f>o?(i=(o-f)/g+-1.0e-06,i>0.0):0){f=i*g+f;h=i*+p[q>>3]+ +p[a>>3];i=i*+p[t>>3]+ +p[e>>3];p[b>>3]=f;p[a>>3]=h;p[e>>3]=i}}else{if(f>o){d=0;return d|0}if(g>1.0e-06&f<r?(h=(r-f)/g+-1.0e-06,h>0.0):0){f=h*g+f;g=h*+p[q>>3]+ +p[a>>3];i=h*+p[t>>3]+ +p[e>>3];p[b>>3]=f;p[a>>3]=g;p[e>>3]=i}}g=+p[q>>3];h=+p[a>>3];if(!(g>=0.0)){if(h<u){d=0;return d|0}if(g<-1.0e-06&h>s?(k=(s-h)/g+-1.0e-06,k>0.0):0){j=k*+p[c>>3]+f;h=k*g+h;g=k*+p[t>>3]+ +p[e>>3];p[b>>3]=j;p[a>>3]=h;p[e>>3]=g;g=j}else g=f}else{if(h>s){d=0;return d|0}if(g>1.0e-06&h<u?(j=(u-h)/g+-1.0e-06,j>0.0):0){k=j*+p[c>>3]+f;h=j*g+h;g=j*+p[t>>3]+ +p[e>>3];p[b>>3]=k;p[a>>3]=h;p[e>>3]=g;g=k}else g=f}f=+p[t>>3];j=+p[e>>3];if(!(f>=0.0)){if(j<w){d=0;return d|0}if(f<-1.0e-06&j>v?(m=(v-j)/f+-1.0e-06,m>0.0):0){l=m*+p[c>>3]+g;k=m*+p[q>>3]+h;j=m*f+j;p[b>>3]=l;p[a>>3]=k;p[e>>3]=j}else{l=g;k=h}}else{if(j>v){d=0;return d|0}if(f>1.0e-06&j<w?(l=(w-j)/f+-1.0e-06,l>0.0):0){m=l*+p[c>>3]+g;k=l*+p[q>>3]+h;j=l*f+j;p[b>>3]=m;p[a>>3]=k;p[e>>3]=j;l=m}else{l=g;k=h}}i=+p[c>>3];if(!(i>=1.0e-06))if(!(i<=-1.0e-06))f=B;else{f=(r-l)/i+1.0e-06;f=f<B?f:B}else{f=(o-l)/i+1.0e-06;f=f<B?f:B}h=+p[q>>3];if(!(h>=1.0e-06)){if(h<=-1.0e-06){u=(u-k)/h+1.0e-06;f=u<f?u:f}}else{u=(s-k)/h+1.0e-06;f=u<f?u:f}g=+p[t>>3];if(!(g>=1.0e-06)){if(g<=-1.0e-06){w=(w-j)/g+1.0e-06;f=w<f?w:f}}else{w=(v-j)/g+1.0e-06;f=w<f?w:f}if(f==B){d=0;return d|0}p[d>>3]=f*i+l;p[d+8>>3]=f*h+k;p[d+16>>3]=f*g+j;d=1;return d|0}function OM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=EBb(112)|0;g=l+16|0;Ek(g,c);i=f[b>>2]|0;k=a+4|0;h=i;do if((k|0)!=(h|0)?(d=+p[g>>3],+p[h+16>>3]<d):0){b=f[k>>2]|0;if(!b){c=k;b=k;break}while(1)if(+p[b+16>>3]<d){c=f[b+4>>2]|0;if(!c){j=26;break}else b=c}else{c=f[b>>2]|0;if(!c){j=28;break}else b=c}if((j|0)==26){c=b+4|0;break}else if((j|0)==28){c=b;break}}else j=3;while(0);do if((j|0)==3){e=f[h>>2]|0;if((f[a>>2]|0)!=(h|0)){if(!e){b=h;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0));c=b}else{b=e;while(1){c=f[b+4>>2]|0;if(!c){c=b;break}else b=c}}b=c;d=+p[g>>3];if(d<+p[c+16>>3]){b=f[k>>2]|0;if(!b){c=k;b=k;break}while(1)if(d<+p[b+16>>3]){c=f[b>>2]|0;if(!c){j=17;break}else b=c}else{c=f[b+4>>2]|0;if(!c){j=19;break}else b=c}if((j|0)==17){c=b;break}else if((j|0)==19){c=b+4|0;break}}}else b=i;if(!e){c=h;b=i}else c=b+4|0}while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=b;f[c>>2]=l;b=f[f[a>>2]>>2]|0;if(!b){k=l;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}f[a>>2]=b;k=f[c>>2]|0;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}function PM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0.0,h=0;h=EBb(112)|0;c=h+16|0;hF(c,b);d=a+4|0;b=f[d>>2]|0;do if(b){g=+p[c>>3];while(1)if(g<+p[b+16>>3]){c=f[b>>2]|0;if(!c){d=5;break}else b=c}else{c=f[b+4>>2]|0;if(!c){d=7;break}else b=c}if((d|0)==5){e=b;c=b;break}else if((d|0)==7){e=b;c=b+4|0;break}}else{e=d;c=d}while(0);f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=e;f[c>>2]=h;b=f[f[a>>2]>>2]|0;if(!b)b=h;else{f[a>>2]=b;b=f[c>>2]|0}Xo(f[a+4>>2]|0,b);a=a+8|0;f[a>>2]=(f[a>>2]|0)+1;return h|0}function QM(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=315888;h=a+32|0;f[h>>2]=316124;b=a+228|0;c=f[b>>2]|0;if(c|0?(j=c+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|0)==1):0)Rua(c,1,1);f[b>>2]=0;c=a+224|0;b=f[c>>2]|0;if(b|0?(i=b+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(b,1,1);f[c>>2]=0;b=a+220|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+216|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+212|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+204|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+200|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+196|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,i=d+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+192|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+188|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+184|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+180|0;c=f[b>>2]|0;if(c|0?(e=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,i=e+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(e,1,1);f[b>>2]=0;b=a+176|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+172|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+168|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+164|0;c=f[b>>2]|0;if(c|0?(g=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,i=g+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(g,1,1);f[b>>2]=0;b=a+160|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+156|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[b>>2]=0;b=a+152|0;c=f[b>>2]|0;do if(c|0){i=c+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1)break;Rua(c,1,1)}while(0);f[b>>2]=0;c=a+148|0;b=f[c>>2]|0;do if(b|0){b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;i=b+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1)break;Rua(b,1,1)}while(0);f[c>>2]=0;c=a+144|0;b=f[c>>2]|0;do if(b|0){b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;i=b+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1)break;Rua(b,1,1)}while(0);f[c>>2]=0;c=a+140|0;b=f[c>>2]|0;do if(b|0){b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;i=b+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1)break;Rua(b,1,1)}while(0);f[c>>2]=0;eG(a+100|0);b=a+96|0;c=f[b>>2]|0;do if(c|0){i=c+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1)break;Rua(c,1,1)}while(0);f[b>>2]=0;f[h>>2]=340996;b=a+60|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;Gva(a);return}i=c+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1){f[b>>2]=0;Gva(a);return}Rua(c,1,1);f[b>>2]=0;Gva(a);return}function RM(a){a=a|0;QM(a);GBb(a);return}function SM(a){a=a|0;a=EBb(296)|0;aO(a,0);return a|0}function TM(a,b){a=a|0;b=b|0;var c=0;c=EBb(296)|0;$N(c,a,b);return c|0}function UM(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,284e3,0)|0)!=0;return b|0}function VM(a){a=a|0;return 377210}function WM(a){a=a|0;return 382426}function XM(a){a=a|0;Bj[f[(f[a>>2]|0)+168>>2]&1023](a,29);return}function YM(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,o=0;PAa(a+32|0);m=a+208|0;s3a((f[m>>2]|0)+304|0,50.0,1.399999976158142,1.0,1.0e4);f3a((f[m>>2]|0)+432|0);o=a+216|0;if((((f[o>>2]|0)==0?(d=EBb(160)|0,jBa(d),e=f[o>>2]|0,(e|0)!=(d|0)):0)?(f[o>>2]=d,k=d+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);if(c&16|0)MBa(f[o>>2]|0);if(!(c&3))f[a+240>>2]=0;d=EBb(944)|0;V0a(d);e=a+100|0;g=f[e>>2]|0;if(((g|0)!=(d|0)?(f[e>>2]=d,k=d+8|0,f[k>>2]=(f[k>>2]|0)+1,g|0):0)?(j=g+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(g,1,1);d=EBb(64)|0;v_a(d,0);f[d>>2]=313008;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;j=d+28|0;f[j>>2]=0;f[d+32>>2]=0;f[d+24>>2]=j;j=d+36|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;b[j+24>>0]=0;j=a+152|0;e=f[j>>2]|0;if(((e|0)!=(d|0)?(f[j>>2]=d,k=d+8|0,f[k>>2]=(f[k>>2]|0)+1,e|0):0)?(g=e+8|0,k=f[g>>2]|0,f[g>>2]=k-1,(k|0)==1):0)Rua(e,1,1);d=EBb(424)|0;lI(d);k=a+156|0;e=f[k>>2]|0;if(((e|0)!=(d|0)?(f[k>>2]=d,g=d+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);if(c&4|0){g=EBb(160)|0;d=g+128|0;rZa(d);f[d>>2]=338032;e=g+140|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[g+152>>2]=2;f[g+156>>2]=0;ZZa(g,314440,0);f[g>>2]=313904;f[d>>2]=314272;d=g+60|0;e=d+36|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));d=g+104|0;f[d>>2]=0;f[g+108>>2]=0;f[g+100>>2]=d;d=g+116|0;f[d>>2]=0;f[g+120>>2]=0;f[g+112>>2]=d;f[g+124>>2]=0;f[g+16>>2]=2;f[g+56>>2]=268;f[g+96>>2]=2;f[g+24>>2]=-1;d=a+140|0;e=f[d>>2]|0;if(((e|0)!=(g|0)?(f[d>>2]=g,g=g+136|0,f[g>>2]=(f[g>>2]|0)+1,e|0):0)?(h=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,e=h+8|0,g=f[e>>2]|0,f[e>>2]=g-1,(g|0)==1):0)Rua(h,1,1)}d=EBb(88)|0;e=d+56|0;rZa(e);f[e>>2]=338032;g=d+68|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[d+80>>2]=2;f[d+84>>2]=0;VZa(d,316148,1,2);f[d>>2]=316172;f[e>>2]=316540;e=a+144|0;g=f[e>>2]|0;if(((g|0)!=(d|0)?(f[e>>2]=d,h=d+64|0,f[h>>2]=(f[h>>2]|0)+1,g|0):0)?(i=g+(f[(f[g>>2]|0)+-12>>2]|0)|0,g=i+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(i,1,1);AN()|0;if(!(f[124730]|0)){e=EBb(536)|0;BN(e)}else{AN()|0;e=f[124730]|0;e=_i[f[(f[e>>2]|0)+200>>2]&2047](e)|0}i=a+148|0;d=f[i>>2]|0;if((d|0)!=(e|0)){f[i>>2]=e;if(e|0){a=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1}if(d|0?(l=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,h=l+8|0,a=f[h>>2]|0,f[h>>2]=a-1,(a|0)==1):0)Rua(l,1,1)}h=f[i>>2]|0;d=f[j>>2]|0;e=h+372|0;g=f[e>>2]|0;if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){l=d+8|0;f[l>>2]=(f[l>>2]|0)+1}if(g|0?(a=g+8|0,l=f[a>>2]|0,f[a>>2]=l-1,(l|0)==1):0)Rua(g,1,1)}f[h+376>>2]=d;h=f[i>>2]|0;d=f[k>>2]|0;e=h+380|0;g=f[e>>2]|0;if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){l=d+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)}f[h+384>>2]=d;if(!(c&8))return;a2a(f[o>>2]|0);o=f[m>>2]|0;n[o+240>>2]=.20000000298023224;n[o+244>>2]=.20000000298023224;n[o+248>>2]=.4000000059604645;n[o+252>>2]=1.0;d=o+148|0;if(f[o+152>>2]|0)return;f[d>>2]=f[d>>2]&-8193;return}function ZM(a,b,c){a=a|0;b=b|0;c=c|0;b=f[b+224>>2]|0;if(!b){p[a>>3]=+p[c>>3];p[a+8>>3]=+p[c+8>>3];p[a+16>>3]=+p[c+16>>3];p[a+24>>3]=+p[c+24>>3];p[a+32>>3]=+p[c+32>>3];p[a+40>>3]=+p[c+40>>3];p[a+48>>3]=+p[c+48>>3];p[a+56>>3]=+p[c+56>>3];p[a+64>>3]=+p[c+64>>3];p[a+72>>3]=+p[c+72>>3];p[a+80>>3]=+p[c+80>>3];p[a+88>>3]=+p[c+88>>3];p[a+96>>3]=+p[c+96>>3];p[a+104>>3]=+p[c+104>>3];p[a+112>>3]=+p[c+112>>3];p[a+120>>3]=+p[c+120>>3];return}else{Fj[f[(f[b>>2]|0)+12>>2]&511](a,b,c);return}}function _M(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0.0;e=f[b+224>>2]|0;if(!e){p[a>>3]=+p[c>>3];p[a+8>>3]=+p[c+8>>3];p[a+16>>3]=+p[c+16>>3];p[a+24>>3]=+p[c+24>>3];p[a+32>>3]=+p[c+32>>3];p[a+40>>3]=+p[c+40>>3];p[a+48>>3]=+p[c+48>>3];p[a+56>>3]=+p[c+56>>3];p[a+64>>3]=+p[c+64>>3];p[a+72>>3]=+p[c+72>>3];p[a+80>>3]=+p[c+80>>3];p[a+88>>3]=+p[c+88>>3];p[a+96>>3]=+p[c+96>>3];p[a+104>>3]=+p[c+104>>3];p[a+112>>3]=+p[c+112>>3];p[a+120>>3]=+p[c+120>>3];return}g=+n[e+36>>2];switch(f[b+232>>2]|0){case 0:{d=+n[b+236>>2];break}case 1:{d=g*+n[b+236>>2];break}default:d=g}Gj[f[(f[e>>2]|0)+16>>2]&3](a,e,c,d/g);return}function $M(a,b,c){a=a|0;b=b|0;c=c|0;b=f[b+224>>2]|0;if(!b){p[a>>3]=+p[c>>3];p[a+8>>3]=+p[c+8>>3];p[a+16>>3]=+p[c+16>>3];p[a+24>>3]=+p[c+24>>3];p[a+32>>3]=+p[c+32>>3];p[a+40>>3]=+p[c+40>>3];p[a+48>>3]=+p[c+48>>3];p[a+56>>3]=+p[c+56>>3];p[a+64>>3]=+p[c+64>>3];p[a+72>>3]=+p[c+72>>3];p[a+80>>3]=+p[c+80>>3];p[a+88>>3]=+p[c+88>>3];p[a+96>>3]=+p[c+96>>3];p[a+104>>3]=+p[c+104>>3];p[a+112>>3]=+p[c+112>>3];p[a+120>>3]=+p[c+120>>3];return}else{Fj[f[(f[b>>2]|0)+20>>2]&511](a,b,c);return}}function aN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0.0;e=f[b+224>>2]|0;if(!e){p[a>>3]=+p[c>>3];p[a+8>>3]=+p[c+8>>3];p[a+16>>3]=+p[c+16>>3];p[a+24>>3]=+p[c+24>>3];p[a+32>>3]=+p[c+32>>3];p[a+40>>3]=+p[c+40>>3];p[a+48>>3]=+p[c+48>>3];p[a+56>>3]=+p[c+56>>3];p[a+64>>3]=+p[c+64>>3];p[a+72>>3]=+p[c+72>>3];p[a+80>>3]=+p[c+80>>3];p[a+88>>3]=+p[c+88>>3];p[a+96>>3]=+p[c+96>>3];p[a+104>>3]=+p[c+104>>3];p[a+112>>3]=+p[c+112>>3];p[a+120>>3]=+p[c+120>>3];return}g=+n[e+36>>2];switch(f[b+232>>2]|0){case 0:{d=+n[b+236>>2];break}case 1:{d=g*+n[b+236>>2];break}default:d=g}Gj[f[(f[e>>2]|0)+24>>2]&3](a,e,c,d/g);return}function bN(a,b){a=a|0;b=b|0;Fj[f[(f[a>>2]|0)+192>>2]&511](a,b,f[a+36>>2]|0);return}function cN(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;o=f[a+204>>2]|0;if(((o|0?f[o+24>>2]|0:0)?(n=a+208|0,d=f[n>>2]|0,d|0):0)?(e=f[d+220>>2]|0,e|0):0){if(c&32768|0?(g=a+240|0,h=f[g>>2]|0,i=f[e+8>>2]|0,!(i>>>0>=3|(i|0)==(h|0))):0){d=f[a+228>>2]|0;if(!d)d=f[a+216>>2]|0;if(h|0?(d2a(d,2896),j=f[a+220>>2]|0,j|0):0)l2a(d,j);f[g>>2]=i}if(c&65536|0?(k=f[(f[(f[n>>2]|0)+220>>2]|0)+12>>2]|0,l=a+220|0,m=f[l>>2]|0,(m|0)!=(k|0)):0){f[l>>2]=k;if(k|0){o=k+8|0;f[o>>2]=(f[o>>2]|0)+1}if(m|0?(n=m+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(m,1,1)}}RAa(a+32|0,b,c);return}function dN(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;b[a+136>>0]=1;h=a+100|0;a$a(f[(f[h>>2]|0)+124>>2]|0,505031)|0;c=f[a+204>>2]|0;if(!c)return;if(!(f[c+24>>2]|0))return;m=a+208|0;if(!(f[m>>2]|0))return;g=a+140|0;c=f[g>>2]|0;if(!c)return;tj[f[(f[c>>2]|0)+76>>2]&2047](c);e=a+200|0;c=f[e>>2]|0;a=(f[g>>2]|0)+12|0;d=f[a>>2]|0;if((d|0)!=(c|0)){f[a>>2]=c;if(c|0){a=c+8|0;f[a>>2]=(f[a>>2]|0)+1}if(d|0?(c=d+8|0,a=f[c>>2]|0,f[c>>2]=a-1,(a|0)==1):0)Rua(d,1,1)}c=f[g>>2]|0;if((c|0?(i=WCb(c,296168,282104,0)|0,i|0):0)?(j=f[h>>2]|0,k=i+60|0,l=f[k>>2]|0,(l|0)!=(j|0)):0){f[k>>2]=j;if(j|0){k=j+8|0;f[k>>2]=(f[k>>2]|0)+1}if(l|0?(j=l+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(l,1,1)}a=f[e>>2]|0;c=f[g>>2]|0;if(a|0)f[c+8>>2]=f[a+12>>2];m=f[m>>2]|0;Bj[f[(f[m>>2]|0)+212>>2]&1023](m,c);return}function eN(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=f[a+204>>2]|0;if(!b)return;if(!(f[b+24>>2]|0))return;g=a+208|0;if(!(f[g>>2]|0))return;e=a+144|0;b=f[e>>2]|0;if(!b)return;tj[f[(f[b>>2]|0)+76>>2]&2047](b);b=a+200|0;a=f[b>>2]|0;c=(f[e>>2]|0)+12|0;d=f[c>>2]|0;if((d|0)!=(a|0)){f[c>>2]=a;if(a|0){c=a+8|0;f[c>>2]=(f[c>>2]|0)+1}if(d|0?(a=d+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(d,1,1);a=f[b>>2]|0}b=f[e>>2]|0;if(a|0)f[b+8>>2]=f[a+12>>2];e=f[g>>2]|0;Bj[f[(f[e>>2]|0)+212>>2]&1023](e,b);Hv(f[g>>2]|0)|0;return}function fN(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,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.0,F=0.0,G=0.0,H=0.0;D=u;u=u+256|0;B=D+128|0;C=D;f[a+284>>2]=0;A=a+208|0;c=f[A>>2]|0;if(!(f[c+116>>2]|0)){u=D;return}f[a+104>>2]=f[c+220>>2];zN(a);c=a+100|0;if(!(f[c>>2]|0)){if(qZa(4)|0){z=Nu(Hua(4)|0,381859,94)|0;Drb(B,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);y=utb(B,504576)|0;y=cj[f[(f[y>>2]|0)+28>>2]&1023](y,10)|0;vtb(B);ksb(z,y)|0;Krb(z)|0}d=EBb(944)|0;V0a(d);e=f[c>>2]|0;if(((e|0)!=(d|0)?(f[c>>2]=d,z=d+8|0,f[z>>2]=(f[z>>2]|0)+1,e|0):0)?(y=e+8|0,z=f[y>>2]|0,f[y>>2]=z-1,(z|0)==1):0)Rua(e,1,1)}c=a+96|0;if((((f[c>>2]|0)==0?(g=EBb(160)|0,jBa(g),h=f[c>>2]|0,(h|0)!=(g|0)):0)?(f[c>>2]=g,z=g+8|0,f[z>>2]=(f[z>>2]|0)+1,h|0):0)?(y=h+8|0,z=f[y>>2]|0,f[y>>2]=z-1,(z|0)==1):0)Rua(h,1,1);z=a+148|0;if(!(f[z>>2]|0)){if(qZa(4)|0){y=Nu(Hua(4)|0,381954,94)|0;Drb(B,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);x=utb(B,504576)|0;x=cj[f[(f[x>>2]|0)+28>>2]&1023](x,10)|0;vtb(B);ksb(y,x)|0;Krb(y)|0}AN()|0;if(!(f[124730]|0)){d=EBb(536)|0;BN(d)}else{AN()|0;d=f[124730]|0;d=_i[f[(f[d>>2]|0)+200>>2]&2047](d)|0}c=f[z>>2]|0;if((c|0)!=(d|0)){f[z>>2]=d;if(d|0){y=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[y>>2]=(f[y>>2]|0)+1}if(c|0?(i=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,x=i+8|0,y=f[x>>2]|0,f[x>>2]=y-1,(y|0)==1):0)Rua(i,1,1)}}i=a+152|0;if(!(f[i>>2]|0)){if(qZa(4)|0){y=Nu(Hua(4)|0,382049,100)|0;Drb(B,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);x=utb(B,504576)|0;x=cj[f[(f[x>>2]|0)+28>>2]&1023](x,10)|0;vtb(B);ksb(y,x)|0;Krb(y)|0}c=EBb(64)|0;v_a(c,0);f[c>>2]=313008;f[c+12>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;d=c+28|0;f[d>>2]=0;f[c+32>>2]=0;f[c+24>>2]=d;d=c+36|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;b[d+24>>0]=0;d=f[i>>2]|0;if(((d|0)!=(c|0)?(f[i>>2]=c,y=c+8|0,f[y>>2]=(f[y>>2]|0)+1,d|0):0)?(x=d+8|0,y=f[x>>2]|0,f[x>>2]=y-1,(y|0)==1):0)Rua(d,1,1)}x=a+156|0;if(!(f[x>>2]|0)){if(qZa(4)|0){y=Nu(Hua(4)|0,382150,106)|0;Drb(B,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);h=utb(B,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(B);ksb(y,h)|0;Krb(y)|0}c=EBb(424)|0;lI(c);d=f[x>>2]|0;if(((d|0)!=(c|0)?(f[x>>2]=c,y=c+8|0,f[y>>2]=(f[y>>2]|0)+1,d|0):0)?(h=d+8|0,y=f[h>>2]|0,f[h>>2]=y-1,(y|0)==1):0)Rua(d,1,1)}c=f[a+224>>2]|0;if(c|0?b[c+16>>0]|0:0)switch(f[c+20>>2]|0){case 4:{f[(f[z>>2]|0)+20>>2]=f[a+88>>2];CN(a,f[(f[A>>2]|0)+288>>2]|0);c=f[a>>2]|0;h=f[c+224>>2]|0;d=(f[A>>2]|0)+304|0;g=a+160|0;e=f[g>>2]|0;if(!e)Fj[f[c+172>>2]&511](B,a,d);else Fj[f[(f[e>>2]|0)+12>>2]&511](B,e,d);d=(f[A>>2]|0)+432|0;c=f[g>>2]|0;if(!c)Fj[f[(f[a>>2]|0)+176>>2]&511](C,a,d);else Fj[f[(f[c>>2]|0)+16>>2]&511](C,c,d);if(!(kj[h&15](a,B,C,f[z>>2]|0,f[i>>2]|0,f[x>>2]|0,f[a+176>>2]|0)|0)){u=D;return}e=f[z>>2]|0;E=+p[e+408>>3];c=(f[A>>2]|0)+304|0;p[B>>3]=+p[e+400>>3];p[C>>3]=E;d=f[e+84>>2]|0;if(!d)ej[f[(f[e>>2]|0)+212>>2]&63](e,c,B,C)|0;else ej[f[(f[d>>2]|0)+16>>2]&63](d,c,B,C)|0;u=D;return}case 5:{f[(f[z>>2]|0)+20>>2]=f[a+92>>2];DN(a,f[(f[A>>2]|0)+288>>2]|0);c=f[a>>2]|0;h=f[c+224>>2]|0;d=(f[A>>2]|0)+304|0;g=a+160|0;e=f[g>>2]|0;if(!e)Fj[f[c+180>>2]&511](B,a,d);else Fj[f[(f[e>>2]|0)+20>>2]&511](B,e,d);d=(f[A>>2]|0)+432|0;c=f[g>>2]|0;if(!c)Fj[f[(f[a>>2]|0)+184>>2]&511](C,a,d);else Fj[f[(f[c>>2]|0)+24>>2]&511](C,c,d);if(!(kj[h&15](a,B,C,f[z>>2]|0,f[i>>2]|0,f[x>>2]|0,f[a+192>>2]|0)|0)){u=D;return}e=f[z>>2]|0;E=+p[e+408>>3];c=(f[A>>2]|0)+304|0;p[B>>3]=+p[e+400>>3];p[C>>3]=E;d=f[e+84>>2]|0;if(!d)ej[f[(f[e>>2]|0)+212>>2]&63](e,c,B,C)|0;else ej[f[(f[d>>2]|0)+16>>2]&63](d,c,B,C)|0;u=D;return}default:{y=a+164|0;if((f[y>>2]|0)==0?(j=f[z>>2]|0,j=_i[f[(f[j>>2]|0)+200>>2]&2047](j)|0,k=f[y>>2]|0,(k|0)!=(j|0)):0){f[y>>2]=j;if(j|0){j=j+(f[(f[j>>2]|0)+-12>>2]|0)+8|0;f[j>>2]=(f[j>>2]|0)+1}if(k|0?(l=k+(f[(f[k>>2]|0)+-12>>2]|0)|0,j=l+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(l,1,1)}j=a+168|0;if((((f[j>>2]|0)==0?(m=EBb(64)|0,v_a(m,0),f[m>>2]=313008,f[m+12>>2]=0,f[m+16>>2]=0,f[m+20>>2]=0,n=m+28|0,f[n>>2]=0,f[m+32>>2]=0,f[m+24>>2]=n,n=m+36|0,f[n>>2]=0,f[n+4>>2]=0,f[n+8>>2]=0,f[n+12>>2]=0,f[n+16>>2]=0,f[n+20>>2]=0,b[n+24>>0]=0,n=f[j>>2]|0,(n|0)!=(m|0)):0)?(f[j>>2]=m,m=m+8|0,f[m>>2]=(f[m>>2]|0)+1,n|0):0)?(l=n+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(n,1,1);h=a+172|0;if((f[h>>2]|0)==0?(o=f[x>>2]|0,f[B>>2]=346256,f[B+4>>2]=2147483647,o=EN(o,B)|0,q=f[h>>2]|0,(q|0)!=(o|0)):0){f[h>>2]=o;if(o|0){o=o+8|0;f[o>>2]=(f[o>>2]|0)+1}if(q|0?(n=q+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(q,1,1)}m=a+180|0;if((f[m>>2]|0)==0?(r=f[z>>2]|0,r=_i[f[(f[r>>2]|0)+200>>2]&2047](r)|0,s=f[m>>2]|0,(s|0)!=(r|0)):0){f[m>>2]=r;if(r|0){r=r+(f[(f[r>>2]|0)+-12>>2]|0)+8|0;f[r>>2]=(f[r>>2]|0)+1}if(s|0?(t=s+(f[(f[s>>2]|0)+-12>>2]|0)|0,r=t+8|0,s=f[r>>2]|0,f[r>>2]=s-1,(s|0)==1):0)Rua(t,1,1)}l=a+184|0;if((((f[l>>2]|0)==0?(v=EBb(64)|0,v_a(v,0),f[v>>2]=313008,f[v+12>>2]=0,f[v+16>>2]=0,f[v+20>>2]=0,w=v+28|0,f[w>>2]=0,f[v+32>>2]=0,f[v+24>>2]=w,w=v+36|0,f[w>>2]=0,f[w+4>>2]=0,f[w+8>>2]=0,f[w+12>>2]=0,f[w+16>>2]=0,f[w+20>>2]=0,b[w+24>>0]=0,w=f[l>>2]|0,(w|0)!=(v|0)):0)?(f[l>>2]=v,v=v+8|0,f[v>>2]=(f[v>>2]|0)+1,w|0):0)?(t=w+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(w,1,1);k=a+188|0;if(!(f[k>>2]|0)){c=f[x>>2]|0;f[B>>2]=346256;f[B+4>>2]=2147483647;c=EN(c,B)|0;d=f[k>>2]|0;do if((d|0)!=(c|0)){f[k>>2]=c;if(c|0){x=c+8|0;f[x>>2]=(f[x>>2]|0)+1}if(!d)break;w=d+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(d,1,1)}while(0)}c=f[(f[z>>2]|0)+40>>2]|0;d=(f[y>>2]|0)+40|0;e=f[d>>2]|0;do if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){x=c+8|0;f[x>>2]=(f[x>>2]|0)+1}if(e|0){w=e+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(e,1,1)}}while(0);g=f[y>>2]|0;c=f[(f[z>>2]|0)+84>>2]|0;d=g+84|0;e=f[d>>2]|0;do if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){x=c+8|0;f[x>>2]=(f[x>>2]|0)+1}if(!e)break;w=e+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(e,1,1)}while(0);c=g+60|0;if(!(f[g+64>>2]|0))f[c>>2]=f[c>>2]&-17;f[(f[y>>2]|0)+20>>2]=f[a+88>>2];CN(a,f[(f[A>>2]|0)+288>>2]|0);c=f[a>>2]|0;g=f[c+224>>2]|0;d=(f[A>>2]|0)+304|0;i=a+160|0;e=f[i>>2]|0;if(!e)Fj[f[c+172>>2]&511](B,a,d);else Fj[f[(f[e>>2]|0)+12>>2]&511](B,e,d);c=(f[A>>2]|0)+432|0;d=f[i>>2]|0;if(!d)Fj[f[(f[a>>2]|0)+176>>2]&511](C,a,c);else Fj[f[(f[d>>2]|0)+16>>2]&511](C,d,c);h=kj[g&15](a,B,C,f[y>>2]|0,f[j>>2]|0,f[h>>2]|0,f[a+176>>2]|0)|0;c=f[(f[z>>2]|0)+40>>2]|0;d=(f[m>>2]|0)+40|0;e=f[d>>2]|0;do if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){x=c+8|0;f[x>>2]=(f[x>>2]|0)+1}if(!e)break;w=e+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(e,1,1)}while(0);g=f[m>>2]|0;c=f[(f[z>>2]|0)+84>>2]|0;d=g+84|0;e=f[d>>2]|0;do if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){x=c+8|0;f[x>>2]=(f[x>>2]|0)+1}if(!e)break;w=e+8|0;x=f[w>>2]|0;f[w>>2]=x-1;if((x|0)!=1)break;Rua(e,1,1)}while(0);c=g+60|0;if(!(f[g+64>>2]|0))f[c>>2]=f[c>>2]&-17;f[(f[m>>2]|0)+20>>2]=f[a+92>>2];DN(a,f[(f[A>>2]|0)+288>>2]|0);c=f[a>>2]|0;g=f[c+224>>2]|0;d=(f[A>>2]|0)+304|0;e=f[i>>2]|0;if(!e)Fj[f[c+180>>2]&511](B,a,d);else Fj[f[(f[e>>2]|0)+20>>2]&511](B,e,d);d=(f[A>>2]|0)+432|0;c=f[i>>2]|0;if(!c)Fj[f[(f[a>>2]|0)+184>>2]&511](C,a,d);else Fj[f[(f[c>>2]|0)+24>>2]&511](C,c,d);if(!(h|(kj[g&15](a,B,C,f[m>>2]|0,f[l>>2]|0,f[k>>2]|0,f[a+192>>2]|0)|0))){u=D;return}c=f[y>>2]|0;H=+p[c+400>>3];e=f[m>>2]|0;G=+p[e+400>>3];F=+p[c+408>>3];E=+p[e+408>>3];e=f[z>>2]|0;c=(f[A>>2]|0)+304|0;p[B>>3]=H<G?H:G;p[C>>3]=F>E?F:E;d=f[e+84>>2]|0;if(!d)ej[f[(f[e>>2]|0)+212>>2]&63](e,c,B,C)|0;else ej[f[(f[d>>2]|0)+16>>2]&63](d,c,B,C)|0;u=D;return}}w=f[z>>2]|0;f[w+20>>2]=f[a+84>>2];y=f[A>>2]|0;if(!(kj[f[(f[a>>2]|0)+224>>2]&15](a,y+304|0,y+432|0,w,f[i>>2]|0,f[x>>2]|0,f[y+288>>2]|0)|0)){u=D;return}e=f[z>>2]|0;H=+p[e+408>>3];c=(f[A>>2]|0)+304|0;p[B>>3]=+p[e+400>>3];p[C>>3]=H;d=f[e+84>>2]|0;if(!d)ej[f[(f[e>>2]|0)+212>>2]&63](e,c,B,C)|0;else ej[f[(f[d>>2]|0)+16>>2]&63](d,c,B,C)|0;u=D;return}
  8. function Fcb(a,b,c,d,e,g,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;i=i&255;if((g+-1|0)>>>0<2){v=l&255;y=((W(v,i)|0)>>>0)/255|0;x=((W(v,j&255)|0)>>>0)/255|0;w=((W(v,k&255)|0)>>>0)/255|0}else{y=i;x=j&255;w=k&255;v=l&255}u=v^255;if((e|0)==(c|0))switch(g|0){case 1:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>24,u)|0)>>>0)/255|0)+v<<24|(((W(m&255,u)|0)>>>0)/255|0)+w|(((W(m>>>16&255,u)|0)>>>0)/255|0)+y<<16|(((W(m>>>8&255,u)|0)>>>0)/255|0)+x<<8;f[i>>2]=m;if(!j)break;else i=i+4|0}return}case 2:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;v=f[i>>2]|0;b=(v>>>16&255)+y|0;m=(v>>>8&255)+x|0;a=(v&255)+w|0;f[i>>2]=(a>>>0<255?a:255)|v&-16777216|(b>>>0<255?b:255)<<16|(m>>>0<255?m:255)<<8;if(!j)break;else i=i+4|0}return}case 4:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=((W(m&255,w)|0)>>>0)/255|0|m&-16777216|(((W(m>>>16&255,y)|0)>>>0)/255|0)<<16|(((W(m>>>8&255,x)|0)>>>0)/255|0)<<8;f[i>>2]=m;if(!j)break;else i=i+4|0}return}default:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;k=w|v<<24|x<<8|y<<16;while(1){j=j+-1|0;f[i>>2]=k;if(!j)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(g|0){case 1:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>24,u)|0)>>>0)/255|0)+v<<24|(((W(m&255,u)|0)>>>0)/255|0)+w|(((W(m>>>16&255,u)|0)>>>0)/255|0)+y<<16|(((W(m>>>8&255,u)|0)>>>0)/255|0)+x<<8;f[i>>2]=m;if(!j)break;else i=i+(l<<2)|0}return}case 2:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;v=f[i>>2]|0;b=(v>>>16&255)+y|0;m=(v>>>8&255)+x|0;a=(v&255)+w|0;f[i>>2]=(a>>>0<255?a:255)|v&-16777216|(b>>>0<255?b:255)<<16|(m>>>0<255?m:255)<<8;if(!j)break;else i=i+(l<<2)|0}return}case 4:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=((W(m&255,w)|0)>>>0)/255|0|m&-16777216|(((W(m>>>16&255,y)|0)>>>0)/255|0)<<16|(((W(m>>>8&255,x)|0)>>>0)/255|0)<<8;f[i>>2]=m;if(!j)break;else i=i+(l<<2)|0}return}default:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;k=w|v<<24|x<<8|y<<16;while(1){j=j+-1|0;f[i>>2]=k;if(!j)break;else i=i+(l<<2)|0}return}}t=b-d|0;j=c-e|0;if((((t|0)<0?0-t|0:t)|0)==(((j|0)<0?0-j|0:j)|0))switch(g|0){case 1:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(k,e)|0)<<2)+(d<<2)|0;k=k+((d|0)>(b|0)?-1:1)|0;i=(m|0)==0?i+(k<<2)|0:i}else{i=i+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;k=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>24,u)|0)>>>0)/255|0)+v<<24|(((W(m&255,u)|0)>>>0)/255|0)+w|(((W(m>>>16&255,u)|0)>>>0)/255|0)+y<<16|(((W(m>>>8&255,u)|0)>>>0)/255|0)+x<<8;f[i>>2]=m;if(!j)break;else i=i+(k<<2)|0}return}case 2:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(k,e)|0)<<2)+(d<<2)|0;k=k+((d|0)>(b|0)?-1:1)|0;i=(m|0)==0?i+(k<<2)|0:i}else{i=i+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;k=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;while(1){j=j+-1|0;v=f[i>>2]|0;b=(v>>>16&255)+y|0;m=(v>>>8&255)+x|0;a=(v&255)+w|0;f[i>>2]=(a>>>0<255?a:255)|v&-16777216|(b>>>0<255?b:255)<<16|(m>>>0<255?m:255)<<8;if(!j)break;else i=i+(k<<2)|0}return}case 4:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(k,e)|0)<<2)+(d<<2)|0;k=k+((d|0)>(b|0)?-1:1)|0;i=(m|0)==0?i+(k<<2)|0:i}else{i=i+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;k=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=((W(m&255,w)|0)>>>0)/255|0|m&-16777216|(((W(m>>>16&255,y)|0)>>>0)/255|0)<<16|(((W(m>>>8&255,x)|0)>>>0)/255|0)<<8;f[i>>2]=m;if(!j)break;else i=i+(k<<2)|0}return}default:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){a=i+((W(k,e)|0)<<2)+(d<<2)|0;l=k+((d|0)>(b|0)?-1:1)|0;i=j;j=(m|0)==0?a+(l<<2)|0:a}else{j=i+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;l=k+((d|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;k=w|v<<24|x<<8|y<<16;while(1){i=i+-1|0;f[j>>2]=k;if(!i)break;else j=j+(l<<2)|0}return}}else switch(g|0){case 1:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){s=i<<1;g=1;l=0;k=i-j|0;t=s;s=s-j|0;i=j}else{s=j<<1;g=0;l=1;k=j-i|0;t=s;s=s-i|0}r=k<<1;q=(d|0)<(b|0);p=q?0-l|0:l;q=q?-1:1;d=(e|0)<(c|0);o=d?0-g|0:g;d=d?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;n=f[a+20>>2]|0;g=a+16|0;k=b;l=0;i=s;while(1){j=n+(W(f[g>>2]|0,c)|0)+(k<<2)|0;m=f[j>>2]|0;m=(((W(m>>>24,u)|0)>>>0)/255|0)+v<<24|(((W(m&255,u)|0)>>>0)/255|0)+w|(((W(m>>>16&255,u)|0)>>>0)/255|0)+y<<16|(((W(m>>>8&255,u)|0)>>>0)/255|0)+x<<8;f[j>>2]=m;j=(i|0)<0;l=l+1|0;if((l|0)>=(e|0))break;else{c=c+(j?o:d)|0;k=(j?p:q)+k|0;i=(j?t:r)+i|0}}return}case 2:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){s=i<<1;g=1;l=0;k=i-j|0;t=s;s=s-j|0;i=j}else{s=j<<1;g=0;l=1;k=j-i|0;t=s;s=s-i|0}r=k<<1;q=(d|0)<(b|0);p=q?0-l|0:l;q=q?-1:1;d=(e|0)<(c|0);o=d?0-g|0:g;d=d?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;n=f[a+20>>2]|0;g=a+16|0;k=b;l=0;i=s;while(1){j=n+(W(f[g>>2]|0,c)|0)+(k<<2)|0;v=f[j>>2]|0;b=(v>>>16&255)+y|0;m=(v>>>8&255)+x|0;a=(v&255)+w|0;f[j>>2]=(a>>>0<255?a:255)|v&-16777216|(b>>>0<255?b:255)<<16|(m>>>0<255?m:255)<<8;j=(i|0)<0;l=l+1|0;if((l|0)>=(e|0))break;else{c=c+(j?o:d)|0;k=(j?p:q)+k|0;i=(j?t:r)+i|0}}return}case 4:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){s=i<<1;g=1;l=0;k=i-j|0;t=s;s=s-j|0;i=j}else{s=j<<1;g=0;l=1;k=j-i|0;t=s;s=s-i|0}r=k<<1;q=(d|0)<(b|0);p=q?0-l|0:l;q=q?-1:1;d=(e|0)<(c|0);o=d?0-g|0:g;d=d?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;n=f[a+20>>2]|0;g=a+16|0;k=b;l=0;i=s;while(1){j=n+(W(f[g>>2]|0,c)|0)+(k<<2)|0;m=f[j>>2]|0;m=((W(m&255,w)|0)>>>0)/255|0|m&-16777216|(((W(m>>>16&255,y)|0)>>>0)/255|0)<<16|(((W(m>>>8&255,x)|0)>>>0)/255|0)<<8;f[j>>2]=m;j=(i|0)<0;l=l+1|0;if((l|0)>=(e|0))break;else{c=c+(j?o:d)|0;k=(j?p:q)+k|0;i=(j?t:r)+i|0}}return}default:{j=d-b|0;j=(j|0)<0?0-j|0:j;k=e-c|0;k=(k|0)<0?0-k|0:k;if((j|0)<(k|0)){i=j<<1;n=1;g=0;l=j-k|0;t=i;i=i-k|0;j=k}else{i=k<<1;n=0;g=1;l=k-j|0;t=i;i=i-j|0}s=l<<1;r=(d|0)<(b|0);q=r?0-g|0:g;r=r?-1:1;o=(e|0)<(c|0);p=o?0-n|0:n;o=o?-1:1;d=j+((m|0)!=0&1)|0;if((d|0)<=0)return;e=f[a+20>>2]|0;n=a+16|0;g=w|v<<24|x<<8|y<<16;k=b;l=0;while(1){j=e+(W(f[n>>2]|0,c)|0)+(k<<2)|0;f[j>>2]=g;j=(i|0)<0;l=l+1|0;if((l|0)>=(d|0))break;else{c=c+(j?p:o)|0;k=(j?q:r)+k|0;i=(j?t:s)+i|0}}return}}}function Gcb(a,b,c,d,e,g,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;i=i&255;if((g+-1|0)>>>0<2){u=l&255;x=((W(u,i)|0)>>>0)/255|0;w=((W(u,j&255)|0)>>>0)/255|0;v=((W(u,k&255)|0)>>>0)/255|0;i=u}else{x=i;w=j&255;v=k&255;i=l&255}u=i^255;if((e|0)==(c|0))switch(g|0){case 1:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>8&255,u)|0)>>>0)/255|0)+w<<8|(((W(m&255,u)|0)>>>0)/255|0)+v|(((W(m>>>16&255,u)|0)>>>0)/255|0)+x<<16;f[i>>2]=m;if(!j)break;else i=i+4|0}return}case 2:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;b=f[i>>2]|0;m=(b>>>16&255)+x|0;a=(b>>>8&255)+w|0;b=(b&255)+v|0;f[i>>2]=(a>>>0<255?a:255)<<8|(b>>>0<255?b:255)|(m>>>0<255?m:255)<<16;if(!j)break;else i=i+4|0}return}case 4:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>8&255,w)|0)>>>0)/255|0)<<8|(((W(m&255,v)|0)>>>0)/255|0)|(((W(m>>>16&255,x)|0)>>>0)/255|0)<<16;f[i>>2]=m;if(!j)break;else i=i+4|0}return}default:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;k=w<<8|v|x<<16;while(1){j=j+-1|0;f[i>>2]=k;if(!j)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(g|0){case 1:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>8&255,u)|0)>>>0)/255|0)+w<<8|(((W(m&255,u)|0)>>>0)/255|0)+v|(((W(m>>>16&255,u)|0)>>>0)/255|0)+x<<16;f[i>>2]=m;if(!j)break;else i=i+(l<<2)|0}return}case 2:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;b=f[i>>2]|0;m=(b>>>16&255)+x|0;a=(b>>>8&255)+w|0;b=(b&255)+v|0;f[i>>2]=(a>>>0<255?a:255)<<8|(b>>>0<255?b:255)|(m>>>0<255?m:255)<<16;if(!j)break;else i=i+(l<<2)|0}return}case 4:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>8&255,w)|0)>>>0)/255|0)<<8|(((W(m&255,v)|0)>>>0)/255|0)|(((W(m>>>16&255,x)|0)>>>0)/255|0)<<16;f[i>>2]=m;if(!j)break;else i=i+(l<<2)|0}return}default:{l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;k=w<<8|v|x<<16;while(1){j=j+-1|0;f[i>>2]=k;if(!j)break;else i=i+(l<<2)|0}return}}t=b-d|0;j=c-e|0;if((((t|0)<0?0-t|0:t)|0)==(((j|0)<0?0-j|0:j)|0))switch(g|0){case 1:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(k,e)|0)<<2)+(d<<2)|0;k=k+((d|0)>(b|0)?-1:1)|0;i=(m|0)==0?i+(k<<2)|0:i}else{i=i+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;k=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>8&255,u)|0)>>>0)/255|0)+w<<8|(((W(m&255,u)|0)>>>0)/255|0)+v|(((W(m>>>16&255,u)|0)>>>0)/255|0)+x<<16;f[i>>2]=m;if(!j)break;else i=i+(k<<2)|0}return}case 2:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(k,e)|0)<<2)+(d<<2)|0;k=k+((d|0)>(b|0)?-1:1)|0;i=(m|0)==0?i+(k<<2)|0:i}else{i=i+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;k=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;while(1){j=j+-1|0;b=f[i>>2]|0;m=(b>>>16&255)+x|0;a=(b>>>8&255)+w|0;b=(b&255)+v|0;f[i>>2]=(a>>>0<255?a:255)<<8|(b>>>0<255?b:255)|(m>>>0<255?m:255)<<16;if(!j)break;else i=i+(k<<2)|0}return}case 4:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(k,e)|0)<<2)+(d<<2)|0;k=k+((d|0)>(b|0)?-1:1)|0;i=(m|0)==0?i+(k<<2)|0:i}else{i=i+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;k=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;while(1){j=j+-1|0;m=f[i>>2]|0;m=(((W(m>>>8&255,w)|0)>>>0)/255|0)<<8|(((W(m&255,v)|0)>>>0)/255|0)|(((W(m>>>16&255,x)|0)>>>0)/255|0)<<16;f[i>>2]=m;if(!j)break;else i=i+(k<<2)|0}return}default:{k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(k,e)|0)<<2)+(d<<2)|0;l=k+((d|0)>(b|0)?-1:1)|0;i=(m|0)==0?i+(l<<2)|0:i}else{i=i+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;l=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;k=w<<8|v|x<<16;while(1){j=j+-1|0;f[i>>2]=k;if(!j)break;else i=i+(l<<2)|0}return}}else switch(g|0){case 1:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){s=i<<1;g=1;l=0;k=i-j|0;t=s;s=s-j|0;i=j}else{s=j<<1;g=0;l=1;k=j-i|0;t=s;s=s-i|0}r=k<<1;q=(d|0)<(b|0);p=q?0-l|0:l;q=q?-1:1;d=(e|0)<(c|0);o=d?0-g|0:g;d=d?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;n=f[a+20>>2]|0;g=a+16|0;k=b;l=0;i=s;while(1){j=n+(W(f[g>>2]|0,c)|0)+(k<<2)|0;m=f[j>>2]|0;m=(((W(m>>>8&255,u)|0)>>>0)/255|0)+w<<8|(((W(m&255,u)|0)>>>0)/255|0)+v|(((W(m>>>16&255,u)|0)>>>0)/255|0)+x<<16;f[j>>2]=m;j=(i|0)<0;l=l+1|0;if((l|0)>=(e|0))break;else{c=c+(j?o:d)|0;k=(j?p:q)+k|0;i=(j?t:r)+i|0}}return}case 2:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){s=i<<1;g=1;l=0;k=i-j|0;t=s;s=s-j|0;i=j}else{s=j<<1;g=0;l=1;k=j-i|0;t=s;s=s-i|0}r=k<<1;q=(d|0)<(b|0);p=q?0-l|0:l;q=q?-1:1;d=(e|0)<(c|0);o=d?0-g|0:g;d=d?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;n=f[a+20>>2]|0;g=a+16|0;k=b;l=0;i=s;while(1){j=n+(W(f[g>>2]|0,c)|0)+(k<<2)|0;b=f[j>>2]|0;m=(b>>>16&255)+x|0;a=(b>>>8&255)+w|0;b=(b&255)+v|0;f[j>>2]=(a>>>0<255?a:255)<<8|(b>>>0<255?b:255)|(m>>>0<255?m:255)<<16;j=(i|0)<0;l=l+1|0;if((l|0)>=(e|0))break;else{c=c+(j?o:d)|0;k=(j?p:q)+k|0;i=(j?t:r)+i|0}}return}case 4:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){s=i<<1;g=1;l=0;k=i-j|0;t=s;s=s-j|0;i=j}else{s=j<<1;g=0;l=1;k=j-i|0;t=s;s=s-i|0}r=k<<1;q=(d|0)<(b|0);p=q?0-l|0:l;q=q?-1:1;d=(e|0)<(c|0);o=d?0-g|0:g;d=d?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;n=f[a+20>>2]|0;g=a+16|0;k=b;l=0;i=s;while(1){j=n+(W(f[g>>2]|0,c)|0)+(k<<2)|0;m=f[j>>2]|0;m=(((W(m>>>8&255,w)|0)>>>0)/255|0)<<8|(((W(m&255,v)|0)>>>0)/255|0)|(((W(m>>>16&255,x)|0)>>>0)/255|0)<<16;f[j>>2]=m;j=(i|0)<0;l=l+1|0;if((l|0)>=(e|0))break;else{c=c+(j?o:d)|0;k=(j?p:q)+k|0;i=(j?t:r)+i|0}}return}default:{j=d-b|0;j=(j|0)<0?0-j|0:j;k=e-c|0;k=(k|0)<0?0-k|0:k;if((j|0)<(k|0)){i=j<<1;n=1;g=0;l=j-k|0;t=i;i=i-k|0;j=k}else{i=k<<1;n=0;g=1;l=k-j|0;t=i;i=i-j|0}s=l<<1;r=(d|0)<(b|0);q=r?0-g|0:g;r=r?-1:1;o=(e|0)<(c|0);p=o?0-n|0:n;o=o?-1:1;d=j+((m|0)!=0&1)|0;if((d|0)<=0)return;e=f[a+20>>2]|0;n=a+16|0;g=w<<8|v|x<<16;k=b;l=0;while(1){j=e+(W(f[n>>2]|0,c)|0)+(k<<2)|0;f[j>>2]=g;j=(i|0)<0;l=l+1|0;if((l|0)>=(d|0))break;else{c=c+(j?p:o)|0;k=(j?q:r)+k|0;i=(j?t:s)+i|0}}return}}}function Hcb(a,b,c,d,e,g,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;K=f[a+4>>2]|0;i=i&255;if((g+-1|0)>>>0<2){J=l&255;N=((W(J,i)|0)>>>0)/255|0;M=((W(J,j&255)|0)>>>0)/255|0;L=((W(J,k&255)|0)>>>0)/255|0}else{N=i;M=j&255;L=k&255;J=l&255}I=J^255;if((e|0)==(c|0))switch(g|0){case 1:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){v=i+(d<<2)|0;i=(m|0)!=0;v=i?v:v+4|0;j=b-d|0}else{v=i+(b<<2)|0;j=d-b|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=f[i>>2]|0;K=((((W(I,h[d+((f[r>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)+M|0)>>>c<<m|((((W(I,h[e+((f[q>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)+N|0)>>>l<<a|((((W(I,h[o+((f[s>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)+L|0)>>>g<<u|((((W(I,h[p+((f[t>>2]&K)>>>k)>>0]|0)|0)>>>0)/255|0)+J|0)>>>n<<k;f[i>>2]=K;if(!j)break;else i=i+4|0}return}case 2:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){v=i+(d<<2)|0;i=(m|0)!=0;v=i?v:v+4|0;j=b-d|0}else{v=i+(b<<2)|0;j=d-b|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=f[i>>2]|0;J=N+(h[e+((f[q>>2]&K)>>>a)>>0]|0)|0;I=M+(h[d+((f[r>>2]&K)>>>m)>>0]|0)|0;b=L+(h[o+((f[s>>2]&K)>>>u)>>0]|0)|0;f[i>>2]=(I>>>0<255?I:255)>>>c<<m|(J>>>0<255?J:255)>>>l<<a|(b>>>0<255?b:255)>>>g<<u|(h[p+((f[t>>2]&K)>>>k)>>0]|0)>>>n<<k;if(!j)break;else i=i+4|0}return}case 4:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){v=i+(d<<2)|0;i=(m|0)!=0;v=i?v:v+4|0;j=b-d|0}else{v=i+(b<<2)|0;j=d-b|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=f[i>>2]|0;K=(((W(M,h[d+((f[r>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)>>>c<<m|(((W(N,h[e+((f[q>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)>>>l<<a|(((W(L,h[o+((f[s>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)>>>g<<u|(h[p+((f[t>>2]&K)>>>k)>>0]|0)>>>n<<k;f[i>>2]=K;if(!j)break;else i=i+4|0}return}default:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;k=M>>>(h[K+29>>0]|0)<<(h[K+33>>0]|0)|N>>>(h[K+28>>0]|0)<<(h[K+32>>0]|0)|L>>>(h[K+30>>0]|0)<<(h[K+34>>0]|0)|J>>>(h[K+31>>0]|0)<<(h[K+35>>0]|0);while(1){j=j+-1|0;f[i>>2]=k;if(!j)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(g|0){case 1:{w=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){v=i+((W(w,e)|0)<<2)+(d<<2)|0;i=(m|0)!=0;v=i?v:v+(w<<2)|0;j=c-e|0}else{v=i+((W(w,c)|0)<<2)+(d<<2)|0;j=e-c|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=f[i>>2]|0;K=((((W(I,h[d+((f[r>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)+M|0)>>>c<<m|((((W(I,h[e+((f[q>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)+N|0)>>>l<<a|((((W(I,h[o+((f[s>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)+L|0)>>>g<<u|((((W(I,h[p+((f[t>>2]&K)>>>k)>>0]|0)|0)>>>0)/255|0)+J|0)>>>n<<k;f[i>>2]=K;if(!j)break;else i=i+(w<<2)|0}return}case 2:{w=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){v=i+((W(w,e)|0)<<2)+(d<<2)|0;i=(m|0)!=0;v=i?v:v+(w<<2)|0;j=c-e|0}else{v=i+((W(w,c)|0)<<2)+(d<<2)|0;j=e-c|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=f[i>>2]|0;J=N+(h[e+((f[q>>2]&K)>>>a)>>0]|0)|0;I=M+(h[d+((f[r>>2]&K)>>>m)>>0]|0)|0;b=L+(h[o+((f[s>>2]&K)>>>u)>>0]|0)|0;f[i>>2]=(I>>>0<255?I:255)>>>c<<m|(J>>>0<255?J:255)>>>l<<a|(b>>>0<255?b:255)>>>g<<u|(h[p+((f[t>>2]&K)>>>k)>>0]|0)>>>n<<k;if(!j)break;else i=i+(w<<2)|0}return}case 4:{w=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){v=i+((W(w,e)|0)<<2)+(d<<2)|0;i=(m|0)!=0;v=i?v:v+(w<<2)|0;j=c-e|0}else{v=i+((W(w,c)|0)<<2)+(d<<2)|0;j=e-c|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=v;while(1){j=j+-1|0;K=f[i>>2]|0;K=(((W(M,h[d+((f[r>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)>>>c<<m|(((W(N,h[e+((f[q>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)>>>l<<a|(((W(L,h[o+((f[s>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)>>>g<<u|(h[p+((f[t>>2]&K)>>>k)>>0]|0)>>>n<<k;f[i>>2]=K;if(!j)break;else i=i+(w<<2)|0}return}default:{l=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(l,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(l<<2)|0;k=c-e|0}else{i=i+((W(l,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;k=M>>>(h[K+29>>0]|0)<<(h[K+33>>0]|0)|N>>>(h[K+28>>0]|0)<<(h[K+32>>0]|0)|L>>>(h[K+30>>0]|0)<<(h[K+34>>0]|0)|J>>>(h[K+31>>0]|0)<<(h[K+35>>0]|0);while(1){j=j+-1|0;f[i>>2]=k;if(!j)break;else i=i+(l<<2)|0}return}}H=b-d|0;i=c-e|0;if((((H|0)<0?0-H|0:H)|0)==(((i|0)<0?0-i|0:i)|0))switch(g|0){case 1:{k=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){w=j+((W(k,e)|0)<<2)+(d<<2)|0;v=k+((d|0)>(b|0)?-1:1)|0;w=(m|0)==0?w+(v<<2)|0:w}else{w=j+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;v=k+((d|0)<(b|0)?-1:1)|0}j=i+((m|0)!=0&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=w;while(1){j=j+-1|0;K=f[i>>2]|0;K=((((W(I,h[d+((f[r>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)+M|0)>>>c<<m|((((W(I,h[e+((f[q>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)+N|0)>>>l<<a|((((W(I,h[o+((f[s>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)+L|0)>>>g<<u|((((W(I,h[p+((f[t>>2]&K)>>>k)>>0]|0)|0)>>>0)/255|0)+J|0)>>>n<<k;f[i>>2]=K;if(!j)break;else i=i+(v<<2)|0}return}case 2:{k=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){w=j+((W(k,e)|0)<<2)+(d<<2)|0;v=k+((d|0)>(b|0)?-1:1)|0;w=(m|0)==0?w+(v<<2)|0:w}else{w=j+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;v=k+((d|0)<(b|0)?-1:1)|0}j=i+((m|0)!=0&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=w;while(1){j=j+-1|0;K=f[i>>2]|0;J=N+(h[e+((f[q>>2]&K)>>>a)>>0]|0)|0;I=M+(h[d+((f[r>>2]&K)>>>m)>>0]|0)|0;b=L+(h[o+((f[s>>2]&K)>>>u)>>0]|0)|0;f[i>>2]=(I>>>0<255?I:255)>>>c<<m|(J>>>0<255?J:255)>>>l<<a|(b>>>0<255?b:255)>>>g<<u|(h[p+((f[t>>2]&K)>>>k)>>0]|0)>>>n<<k;if(!j)break;else i=i+(v<<2)|0}return}case 4:{k=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){w=j+((W(k,e)|0)<<2)+(d<<2)|0;v=k+((d|0)>(b|0)?-1:1)|0;w=(m|0)==0?w+(v<<2)|0:w}else{w=j+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;v=k+((d|0)<(b|0)?-1:1)|0}j=i+((m|0)!=0&1)|0;if(!j)return;q=K+12|0;r=K+16|0;s=K+20|0;t=K+24|0;l=h[K+28>>0]|0;e=f[234608+(l<<2)>>2]|0;c=h[K+29>>0]|0;d=f[234608+(c<<2)>>2]|0;g=h[K+30>>0]|0;o=f[234608+(g<<2)>>2]|0;n=h[K+31>>0]|0;p=f[234608+(n<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;k=h[K+35>>0]|0;i=w;while(1){j=j+-1|0;K=f[i>>2]|0;K=(((W(M,h[d+((f[r>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)>>>c<<m|(((W(N,h[e+((f[q>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)>>>l<<a|(((W(L,h[o+((f[s>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)>>>g<<u|(h[p+((f[t>>2]&K)>>>k)>>0]|0)>>>n<<k;f[i>>2]=K;if(!j)break;else i=i+(v<<2)|0}return}default:{k=(f[a+16>>2]|0)/(h[K+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){j=j+((W(k,e)|0)<<2)+(d<<2)|0;l=k+((d|0)>(b|0)?-1:1)|0;j=(m|0)==0?j+(l<<2)|0:j}else{j=j+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;l=k+((d|0)<(b|0)?-1:1)|0}i=i+((m|0)!=0&1)|0;if(!i)return;k=M>>>(h[K+29>>0]|0)<<(h[K+33>>0]|0)|N>>>(h[K+28>>0]|0)<<(h[K+32>>0]|0)|L>>>(h[K+30>>0]|0)<<(h[K+34>>0]|0)|J>>>(h[K+31>>0]|0)<<(h[K+35>>0]|0);while(1){i=i+-1|0;f[j>>2]=k;if(!i)break;else j=j+(l<<2)|0}return}}else switch(g|0){case 1:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){G=i<<1;g=1;l=0;k=i-j|0;H=G;G=G-j|0;i=j}else{G=j<<1;g=0;l=1;k=j-i|0;H=G;G=G-i|0}F=k<<1;E=(d|0)<(b|0);D=E?0-l|0:l;E=E?-1:1;B=(e|0)<(c|0);C=B?0-g|0:g;B=B?-1:1;A=i+((m|0)!=0&1)|0;if((A|0)<=0)return;v=a+16|0;w=K+12|0;x=K+16|0;y=K+20|0;z=K+24|0;p=f[a+20>>2]|0;n=h[K+28>>0]|0;q=f[234608+(n<<2)>>2]|0;e=h[K+29>>0]|0;r=f[234608+(e<<2)>>2]|0;d=h[K+30>>0]|0;s=f[234608+(d<<2)>>2]|0;o=h[K+31>>0]|0;t=f[234608+(o<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;g=h[K+35>>0]|0;k=b;l=0;i=G;while(1){j=p+(W(f[v>>2]|0,c)|0)+(k<<2)|0;K=f[j>>2]|0;K=((((W(I,h[r+((f[x>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)+M|0)>>>e<<m|((((W(I,h[q+((f[w>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)+N|0)>>>n<<a|((((W(I,h[s+((f[y>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)+L|0)>>>d<<u|((((W(I,h[t+((f[z>>2]&K)>>>g)>>0]|0)|0)>>>0)/255|0)+J|0)>>>o<<g;f[j>>2]=K;j=(i|0)<0;l=l+1|0;if((l|0)>=(A|0))break;else{c=c+(j?C:B)|0;k=(j?D:E)+k|0;i=(j?H:F)+i|0}}return}case 2:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){G=i<<1;g=1;l=0;k=i-j|0;H=G;G=G-j|0;i=j}else{G=j<<1;g=0;l=1;k=j-i|0;H=G;G=G-i|0}F=k<<1;E=(d|0)<(b|0);D=E?0-l|0:l;E=E?-1:1;B=(e|0)<(c|0);C=B?0-g|0:g;B=B?-1:1;A=i+((m|0)!=0&1)|0;if((A|0)<=0)return;v=a+16|0;w=K+12|0;x=K+16|0;y=K+20|0;z=K+24|0;p=f[a+20>>2]|0;n=h[K+28>>0]|0;q=f[234608+(n<<2)>>2]|0;e=h[K+29>>0]|0;r=f[234608+(e<<2)>>2]|0;d=h[K+30>>0]|0;s=f[234608+(d<<2)>>2]|0;o=h[K+31>>0]|0;t=f[234608+(o<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;g=h[K+35>>0]|0;k=b;l=0;i=G;while(1){j=p+(W(f[v>>2]|0,c)|0)+(k<<2)|0;K=f[j>>2]|0;J=N+(h[q+((f[w>>2]&K)>>>a)>>0]|0)|0;I=M+(h[r+((f[x>>2]&K)>>>m)>>0]|0)|0;b=L+(h[s+((f[y>>2]&K)>>>u)>>0]|0)|0;f[j>>2]=(I>>>0<255?I:255)>>>e<<m|(J>>>0<255?J:255)>>>n<<a|(b>>>0<255?b:255)>>>d<<u|(h[t+((f[z>>2]&K)>>>g)>>0]|0)>>>o<<g;j=(i|0)<0;l=l+1|0;if((l|0)>=(A|0))break;else{c=c+(j?C:B)|0;k=(j?D:E)+k|0;i=(j?H:F)+i|0}}return}case 4:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){G=i<<1;g=1;l=0;k=i-j|0;H=G;G=G-j|0;i=j}else{G=j<<1;g=0;l=1;k=j-i|0;H=G;G=G-i|0}F=k<<1;E=(d|0)<(b|0);D=E?0-l|0:l;E=E?-1:1;B=(e|0)<(c|0);C=B?0-g|0:g;B=B?-1:1;A=i+((m|0)!=0&1)|0;if((A|0)<=0)return;v=a+16|0;w=K+12|0;x=K+16|0;y=K+20|0;z=K+24|0;p=f[a+20>>2]|0;n=h[K+28>>0]|0;q=f[234608+(n<<2)>>2]|0;e=h[K+29>>0]|0;r=f[234608+(e<<2)>>2]|0;d=h[K+30>>0]|0;s=f[234608+(d<<2)>>2]|0;o=h[K+31>>0]|0;t=f[234608+(o<<2)>>2]|0;a=h[K+32>>0]|0;m=h[K+33>>0]|0;u=h[K+34>>0]|0;g=h[K+35>>0]|0;k=b;l=0;i=G;while(1){j=p+(W(f[v>>2]|0,c)|0)+(k<<2)|0;K=f[j>>2]|0;K=(((W(M,h[r+((f[x>>2]&K)>>>m)>>0]|0)|0)>>>0)/255|0)>>>e<<m|(((W(N,h[q+((f[w>>2]&K)>>>a)>>0]|0)|0)>>>0)/255|0)>>>n<<a|(((W(L,h[s+((f[y>>2]&K)>>>u)>>0]|0)|0)>>>0)/255|0)>>>d<<u|(h[t+((f[z>>2]&K)>>>g)>>0]|0)>>>o<<g;f[j>>2]=K;j=(i|0)<0;l=l+1|0;if((l|0)>=(A|0))break;else{c=c+(j?C:B)|0;k=(j?D:E)+k|0;i=(j?H:F)+i|0}}return}default:{j=d-b|0;j=(j|0)<0?0-j|0:j;k=e-c|0;k=(k|0)<0?0-k|0:k;if((j|0)<(k|0)){i=j<<1;n=1;g=0;l=j-k|0;t=i;i=i-k|0;j=k}else{i=k<<1;n=0;g=1;l=k-j|0;t=i;i=i-j|0}s=l<<1;r=(d|0)<(b|0);q=r?0-g|0:g;r=r?-1:1;o=(e|0)<(c|0);p=o?0-n|0:n;o=o?-1:1;d=j+((m|0)!=0&1)|0;if((d|0)<=0)return;e=f[a+20>>2]|0;n=a+16|0;g=M>>>(h[K+29>>0]|0)<<(h[K+33>>0]|0)|N>>>(h[K+28>>0]|0)<<(h[K+32>>0]|0)|L>>>(h[K+30>>0]|0)<<(h[K+34>>0]|0)|J>>>(h[K+31>>0]|0)<<(h[K+35>>0]|0);k=b;l=0;while(1){j=e+(W(f[n>>2]|0,c)|0)+(k<<2)|0;f[j>>2]=g;j=(i|0)<0;l=l+1|0;if((l|0)>=(d|0))break;else{c=c+(j?p:o)|0;k=(j?q:r)+k|0;i=(j?t:s)+i|0}}return}}}function Icb(a,b,c,d,e,g,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;H=f[a+4>>2]|0;i=i&255;if((g+-1|0)>>>0<2){G=l&255;J=((W(G,i)|0)>>>0)/255|0;I=((W(G,j&255)|0)>>>0)/255|0;K=((W(G,k&255)|0)>>>0)/255|0;i=G}else{J=i;I=j&255;K=k&255;i=l&255}G=i^255;if((e|0)==(c|0))switch(g|0){case 1:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){t=i+(d<<2)|0;i=(m|0)!=0;t=i?t:t+4|0;j=b-d|0}else{t=i+(b<<2)|0;j=d-b|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=f[i>>2]|0;b=((((W(G,h[e+((f[o>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)+I|0)>>>c<<s|((((W(G,h[n+((f[m>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)+J|0)>>>l<<r;H=((((W(G,h[d+((f[p>>2]&H)>>>k)>>0]|0)|0)>>>0)/255|0)+K|0)>>>g<<k;f[i>>2]=b|f[q>>2]|H;if(!j)break;else i=i+4|0}return}case 2:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){t=i+(d<<2)|0;i=(m|0)!=0;t=i?t:t+4|0;j=b-d|0}else{t=i+(b<<2)|0;j=d-b|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=f[i>>2]|0;b=J+(h[n+((f[m>>2]&H)>>>r)>>0]|0)|0;G=I+(h[e+((f[o>>2]&H)>>>s)>>0]|0)|0;H=K+(h[d+((f[p>>2]&H)>>>k)>>0]|0)|0;f[i>>2]=(G>>>0<255?G:255)>>>c<<s|(b>>>0<255?b:255)>>>l<<r|f[q>>2]|(H>>>0<255?H:255)>>>g<<k;if(!j)break;else i=i+4|0}return}case 4:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){t=i+(d<<2)|0;i=(m|0)!=0;t=i?t:t+4|0;j=b-d|0}else{t=i+(b<<2)|0;j=d-b|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=f[i>>2]|0;b=(((W(I,h[e+((f[o>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)>>>c<<s|(((W(J,h[n+((f[m>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)>>>l<<r;H=(((W(K,h[d+((f[p>>2]&H)>>>k)>>0]|0)|0)>>>0)/255|0)>>>g<<k;f[i>>2]=b|f[q>>2]|H;if(!j)break;else i=i+4|0}return}default:{i=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=i+(d<<2)|0;j=(m|0)!=0;i=j?i:i+4|0;k=b-d|0}else{i=i+(b<<2)|0;k=d-b|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;c=I>>>(h[H+29>>0]|0)<<(h[H+33>>0]|0)|J>>>(h[H+28>>0]|0)<<(h[H+32>>0]|0);l=K>>>(h[H+30>>0]|0)<<(h[H+34>>0]|0);k=H+24|0;while(1){j=j+-1|0;f[i>>2]=c|f[k>>2]|l;if(!j)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(g|0){case 1:{u=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){t=i+((W(u,e)|0)<<2)+(d<<2)|0;i=(m|0)!=0;t=i?t:t+(u<<2)|0;j=c-e|0}else{t=i+((W(u,c)|0)<<2)+(d<<2)|0;j=e-c|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=f[i>>2]|0;b=((((W(G,h[e+((f[o>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)+I|0)>>>c<<s|((((W(G,h[n+((f[m>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)+J|0)>>>l<<r;H=((((W(G,h[d+((f[p>>2]&H)>>>k)>>0]|0)|0)>>>0)/255|0)+K|0)>>>g<<k;f[i>>2]=b|f[q>>2]|H;if(!j)break;else i=i+(u<<2)|0}return}case 2:{u=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){t=i+((W(u,e)|0)<<2)+(d<<2)|0;i=(m|0)!=0;t=i?t:t+(u<<2)|0;j=c-e|0}else{t=i+((W(u,c)|0)<<2)+(d<<2)|0;j=e-c|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=f[i>>2]|0;b=J+(h[n+((f[m>>2]&H)>>>r)>>0]|0)|0;G=I+(h[e+((f[o>>2]&H)>>>s)>>0]|0)|0;H=K+(h[d+((f[p>>2]&H)>>>k)>>0]|0)|0;f[i>>2]=(G>>>0<255?G:255)>>>c<<s|(b>>>0<255?b:255)>>>l<<r|f[q>>2]|(H>>>0<255?H:255)>>>g<<k;if(!j)break;else i=i+(u<<2)|0}return}case 4:{u=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){t=i+((W(u,e)|0)<<2)+(d<<2)|0;i=(m|0)!=0;t=i?t:t+(u<<2)|0;j=c-e|0}else{t=i+((W(u,c)|0)<<2)+(d<<2)|0;j=e-c|0;i=(m|0)!=0}j=j+(i&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=t;while(1){j=j+-1|0;H=f[i>>2]|0;b=(((W(I,h[e+((f[o>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)>>>c<<s|(((W(J,h[n+((f[m>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)>>>l<<r;H=(((W(K,h[d+((f[p>>2]&H)>>>k)>>0]|0)|0)>>>0)/255|0)>>>g<<k;f[i>>2]=b|f[q>>2]|H;if(!j)break;else i=i+(u<<2)|0}return}default:{g=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;i=f[a+20>>2]|0;if((e|0)<(c|0)){i=i+((W(g,e)|0)<<2)+(d<<2)|0;j=(m|0)!=0;i=j?i:i+(g<<2)|0;k=c-e|0}else{i=i+((W(g,c)|0)<<2)+(d<<2)|0;k=e-c|0;j=(m|0)!=0}j=k+(j&1)|0;if(!j)return;c=I>>>(h[H+29>>0]|0)<<(h[H+33>>0]|0)|J>>>(h[H+28>>0]|0)<<(h[H+32>>0]|0);l=K>>>(h[H+30>>0]|0)<<(h[H+34>>0]|0);k=H+24|0;while(1){j=j+-1|0;f[i>>2]=c|f[k>>2]|l;if(!j)break;else i=i+(g<<2)|0}return}}F=b-d|0;i=c-e|0;if((((F|0)<0?0-F|0:F)|0)==(((i|0)<0?0-i|0:i)|0))switch(g|0){case 1:{k=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){u=j+((W(k,e)|0)<<2)+(d<<2)|0;t=k+((d|0)>(b|0)?-1:1)|0;u=(m|0)==0?u+(t<<2)|0:u}else{u=j+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;t=k+((d|0)<(b|0)?-1:1)|0}j=i+((m|0)!=0&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=u;while(1){j=j+-1|0;H=f[i>>2]|0;b=((((W(G,h[e+((f[o>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)+I|0)>>>c<<s|((((W(G,h[n+((f[m>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)+J|0)>>>l<<r;H=((((W(G,h[d+((f[p>>2]&H)>>>k)>>0]|0)|0)>>>0)/255|0)+K|0)>>>g<<k;f[i>>2]=b|f[q>>2]|H;if(!j)break;else i=i+(t<<2)|0}return}case 2:{k=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){u=j+((W(k,e)|0)<<2)+(d<<2)|0;t=k+((d|0)>(b|0)?-1:1)|0;u=(m|0)==0?u+(t<<2)|0:u}else{u=j+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;t=k+((d|0)<(b|0)?-1:1)|0}j=i+((m|0)!=0&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=u;while(1){j=j+-1|0;H=f[i>>2]|0;b=J+(h[n+((f[m>>2]&H)>>>r)>>0]|0)|0;G=I+(h[e+((f[o>>2]&H)>>>s)>>0]|0)|0;H=K+(h[d+((f[p>>2]&H)>>>k)>>0]|0)|0;f[i>>2]=(G>>>0<255?G:255)>>>c<<s|(b>>>0<255?b:255)>>>l<<r|f[q>>2]|(H>>>0<255?H:255)>>>g<<k;if(!j)break;else i=i+(t<<2)|0}return}case 4:{k=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){u=j+((W(k,e)|0)<<2)+(d<<2)|0;t=k+((d|0)>(b|0)?-1:1)|0;u=(m|0)==0?u+(t<<2)|0:u}else{u=j+((W(k,c)|0)<<2)+(b<<2)|0;i=e-c|0;t=k+((d|0)<(b|0)?-1:1)|0}j=i+((m|0)!=0&1)|0;if(!j)return;m=H+12|0;o=H+16|0;p=H+20|0;q=H+24|0;l=h[H+28>>0]|0;n=f[234608+(l<<2)>>2]|0;c=h[H+29>>0]|0;e=f[234608+(c<<2)>>2]|0;g=h[H+30>>0]|0;d=f[234608+(g<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;k=h[H+34>>0]|0;i=u;while(1){j=j+-1|0;H=f[i>>2]|0;b=(((W(I,h[e+((f[o>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)>>>c<<s|(((W(J,h[n+((f[m>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)>>>l<<r;H=(((W(K,h[d+((f[p>>2]&H)>>>k)>>0]|0)|0)>>>0)/255|0)>>>g<<k;f[i>>2]=b|f[q>>2]|H;if(!j)break;else i=i+(t<<2)|0}return}default:{k=(f[a+16>>2]|0)/(h[H+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){G=j+((W(k,e)|0)<<2)+(d<<2)|0;g=k+((d|0)>(b|0)?-1:1)|0;j=i;i=(m|0)==0?G+(g<<2)|0:G}else{i=j+((W(k,c)|0)<<2)+(b<<2)|0;j=e-c|0;g=k+((d|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;c=I>>>(h[H+29>>0]|0)<<(h[H+33>>0]|0)|J>>>(h[H+28>>0]|0)<<(h[H+32>>0]|0);l=K>>>(h[H+30>>0]|0)<<(h[H+34>>0]|0);k=H+24|0;while(1){j=j+-1|0;f[i>>2]=c|f[k>>2]|l;if(!j)break;else i=i+(g<<2)|0}return}}else switch(g|0){case 1:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){E=i<<1;g=1;l=0;k=i-j|0;F=E;E=E-j|0;i=j}else{E=j<<1;g=0;l=1;k=j-i|0;F=E;E=E-i|0}D=k<<1;C=(d|0)<(b|0);B=C?0-l|0:l;C=C?-1:1;z=(e|0)<(c|0);A=z?0-g|0:g;z=z?-1:1;y=i+((m|0)!=0&1)|0;if((y|0)<=0)return;t=a+16|0;u=H+12|0;v=H+16|0;w=H+20|0;x=H+24|0;m=f[a+20>>2]|0;n=h[H+28>>0]|0;o=f[234608+(n<<2)>>2]|0;e=h[H+29>>0]|0;p=f[234608+(e<<2)>>2]|0;d=h[H+30>>0]|0;q=f[234608+(d<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;g=h[H+34>>0]|0;k=b;l=0;i=E;while(1){j=m+(W(f[t>>2]|0,c)|0)+(k<<2)|0;H=f[j>>2]|0;b=((((W(G,h[p+((f[v>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)+I|0)>>>e<<s|((((W(G,h[o+((f[u>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)+J|0)>>>n<<r;H=((((W(G,h[q+((f[w>>2]&H)>>>g)>>0]|0)|0)>>>0)/255|0)+K|0)>>>d<<g;f[j>>2]=b|f[x>>2]|H;j=(i|0)<0;l=l+1|0;if((l|0)>=(y|0))break;else{c=c+(j?A:z)|0;k=(j?B:C)+k|0;i=(j?F:D)+i|0}}return}case 2:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){E=i<<1;g=1;l=0;k=i-j|0;F=E;E=E-j|0;i=j}else{E=j<<1;g=0;l=1;k=j-i|0;F=E;E=E-i|0}D=k<<1;C=(d|0)<(b|0);B=C?0-l|0:l;C=C?-1:1;z=(e|0)<(c|0);A=z?0-g|0:g;z=z?-1:1;y=i+((m|0)!=0&1)|0;if((y|0)<=0)return;t=a+16|0;u=H+12|0;v=H+16|0;w=H+20|0;x=H+24|0;m=f[a+20>>2]|0;n=h[H+28>>0]|0;o=f[234608+(n<<2)>>2]|0;e=h[H+29>>0]|0;p=f[234608+(e<<2)>>2]|0;d=h[H+30>>0]|0;q=f[234608+(d<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;g=h[H+34>>0]|0;k=b;l=0;i=E;while(1){j=m+(W(f[t>>2]|0,c)|0)+(k<<2)|0;H=f[j>>2]|0;b=J+(h[o+((f[u>>2]&H)>>>r)>>0]|0)|0;G=I+(h[p+((f[v>>2]&H)>>>s)>>0]|0)|0;H=K+(h[q+((f[w>>2]&H)>>>g)>>0]|0)|0;f[j>>2]=(G>>>0<255?G:255)>>>e<<s|(b>>>0<255?b:255)>>>n<<r|f[x>>2]|(H>>>0<255?H:255)>>>d<<g;j=(i|0)<0;l=l+1|0;if((l|0)>=(y|0))break;else{c=c+(j?A:z)|0;k=(j?B:C)+k|0;i=(j?F:D)+i|0}}return}case 4:{i=d-b|0;i=(i|0)<0?0-i|0:i;j=e-c|0;j=(j|0)<0?0-j|0:j;if((i|0)<(j|0)){E=i<<1;g=1;l=0;k=i-j|0;F=E;E=E-j|0;i=j}else{E=j<<1;g=0;l=1;k=j-i|0;F=E;E=E-i|0}D=k<<1;C=(d|0)<(b|0);B=C?0-l|0:l;C=C?-1:1;z=(e|0)<(c|0);A=z?0-g|0:g;z=z?-1:1;y=i+((m|0)!=0&1)|0;if((y|0)<=0)return;t=a+16|0;u=H+12|0;v=H+16|0;w=H+20|0;x=H+24|0;m=f[a+20>>2]|0;n=h[H+28>>0]|0;o=f[234608+(n<<2)>>2]|0;e=h[H+29>>0]|0;p=f[234608+(e<<2)>>2]|0;d=h[H+30>>0]|0;q=f[234608+(d<<2)>>2]|0;r=h[H+32>>0]|0;s=h[H+33>>0]|0;g=h[H+34>>0]|0;k=b;l=0;i=E;while(1){j=m+(W(f[t>>2]|0,c)|0)+(k<<2)|0;H=f[j>>2]|0;b=(((W(I,h[p+((f[v>>2]&H)>>>s)>>0]|0)|0)>>>0)/255|0)>>>e<<s|(((W(J,h[o+((f[u>>2]&H)>>>r)>>0]|0)|0)>>>0)/255|0)>>>n<<r;H=(((W(K,h[q+((f[w>>2]&H)>>>g)>>0]|0)|0)>>>0)/255|0)>>>d<<g;f[j>>2]=b|f[x>>2]|H;j=(i|0)<0;l=l+1|0;if((l|0)>=(y|0))break;else{c=c+(j?A:z)|0;k=(j?B:C)+k|0;i=(j?F:D)+i|0}}return}default:{j=d-b|0;j=(j|0)<0?0-j|0:j;k=e-c|0;k=(k|0)<0?0-k|0:k;if((j|0)<(k|0)){i=j<<1;n=1;g=0;l=j-k|0;u=i;i=i-k|0;j=k}else{i=k<<1;n=0;g=1;l=k-j|0;u=i;i=i-j|0}t=l<<1;s=(d|0)<(b|0);r=s?0-g|0:g;s=s?-1:1;p=(e|0)<(c|0);q=p?0-n|0:n;p=p?-1:1;o=j+((m|0)!=0&1)|0;if((o|0)<=0)return;m=f[a+20>>2]|0;d=a+16|0;e=I>>>(h[H+29>>0]|0)<<(h[H+33>>0]|0)|J>>>(h[H+28>>0]|0)<<(h[H+32>>0]|0);n=K>>>(h[H+30>>0]|0)<<(h[H+34>>0]|0);g=H+24|0;k=b;l=0;while(1){j=m+(W(f[d>>2]|0,c)|0)+(k<<2)|0;f[j>>2]=e|f[g>>2]|n;j=(i|0)<0;l=l+1|0;if((l|0)>=(o|0))break;else{c=c+(j?q:p)|0;k=(j?r:s)+k|0;i=(j?u:t)+i|0}}return}}}function Jcb(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,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;z=u;u=u+48|0;i=z+32|0;k=z+24|0;j=z+16|0;h=z+8|0;g=z;if(!a){f[g>>2]=462001;c5a(473278,g)|0;e=0;u=z;return e|0}if(!b){f[h>>2]=462006;c5a(473278,h)|0;e=0;u=z;return e|0}if(!c){f[j>>2]=462009;c5a(473278,j)|0;e=0;u=z;return e|0}if(!d){f[k>>2]=462012;c5a(473278,k)|0;e=0;u=z;return e|0}if(!e){f[i>>2]=462015;c5a(473278,i)|0;e=0;u=z;return e|0}j=f[a+8>>2]|0;if((j|0)<1){e=0;u=z;return e|0}k=f[a+12>>2]|0;if((k|0)<=0){e=0;u=z;return e|0}r=f[b>>2]|0;g=f[c>>2]|0;h=f[d>>2]|0;i=f[e>>2]|0;y=f[a>>2]|0;x=f[a+4>>2]|0;v=j+y|0;w=v+-1|0;s=k+x|0;t=s+-1|0;j=(r|0)<(v|0);o=(h|0)<(y|0);p=(h|0)<(v|0);k=(g|0)<(x|0);q=(i|0)<(x|0);a=(i|0)<(s|0);if(a&((g|0)<(s|0)&(p&((r|0)>=(y|0)&j&(o^1))&(k^1))&(q^1))){e=1;u=z;return e|0}l=(r|0)<(y|0);if(l&o){e=0;u=z;return e|0}m=(r|0)>=(v|0);if(k&q|m&(p^1)){e=0;u=z;return e|0}n=(g|0)>=(s|0);if(!(a|n^1)){e=0;u=z;return e|0}if((g|0)==(i|0)){if(l|m)f[b>>2]=l?y:w;if(o){f[d>>2]=y;e=1;u=z;return e|0}if(p){e=1;u=z;return e|0}f[d>>2]=w;e=1;u=z;return e|0}if((r|0)==(h|0)){if(k|n)f[c>>2]=k?x:t;if(q){f[e>>2]=x;e=1;u=z;return e|0}if(a){e=1;u=z;return e|0}f[e>>2]=t;e=1;u=z;return e|0}k=k?2:n&1;k=l?k|4:j?k:k|8;m=q?2:(s|0)<=(i|0)&1;m=o?m|4:p?m:m|8;a:do if(!(m|k))j=r;else{l=0;a=0;j=r;while(1){if(m&k|0){g=0;break}do if(!k){do if(!(m&2)){if(m&1|0){l=((W(h-j|0,t-g|0)|0)/(i-g|0)|0)+j|0;a=t;break}if(m&4|0){l=y;a=((W(y-j|0,i-g|0)|0)/(h-j|0)|0)+g|0;break}if(!(m&8))break;l=w;a=((W(w-j|0,i-g|0)|0)/(h-j|0)|0)+g|0}else{l=((W(h-j|0,x-g|0)|0)/(i-g|0)|0)+j|0;a=x}while(0);h=(x|0)>(a|0)?2:(s|0)<=(a|0)&1;if((y|0)>(l|0)){m=h|4;k=0;i=a;h=l;break}else{m=(v|0)>(l|0)?h:h|8;k=0;i=a;h=l;break}}else{do if(!(k&2)){if(k&1|0){l=((W(h-j|0,t-g|0)|0)/(i-g|0)|0)+j|0;a=t;break}if(k&4|0){l=y;a=((W(y-j|0,i-g|0)|0)/(h-j|0)|0)+g|0;break}if(!(k&8))break;l=w;a=((W(w-j|0,i-g|0)|0)/(h-j|0)|0)+g|0}else{l=((W(h-j|0,x-g|0)|0)/(i-g|0)|0)+j|0;a=x}while(0);g=(x|0)>(a|0)?2:(s|0)<=(a|0)&1;if((y|0)>(l|0)){k=g|4;j=l;g=a;break}else{k=(v|0)>(l|0)?g:g|8;j=l;g=a;break}}while(0);if(!(m|k))break a}u=z;return g|0}while(0);f[b>>2]=j;f[c>>2]=g;f[d>>2]=h;f[e>>2]=i;e=1;u=z;return e|0}function Kcb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;if(!a){j=c5a(462111,o)|0;u=o;return j|0}m=f[a+4>>2]|0;n=b[m+8>>0]|0;if((n&255)<8){j=c5a(461956,o+8|0)|0;u=o;return j|0}k=f[a+36>>2]|0;if((k|0)>(c|0)){j=0;u=o;return j|0}l=f[a+40>>2]|0;if((l|0)>(d|0)){j=0;u=o;return j|0}if(((f[a+44>>2]|0)+k|0)<=(c|0)){j=0;u=o;return j|0}if(((f[a+48>>2]|0)+l|0)<=(d|0)){j=0;u=o;return j|0}if((e+-1|0)>>>0<2){l=j&255;i=(((W(l,i&255)|0)>>>0)/255|0)&255;h=(((W(l,h&255)|0)>>>0)/255|0)&255;g=(((W(l,g&255)|0)>>>0)/255|0)&255}switch(n<<24>>24){case 15:{if((f[m+12>>2]|0)==31744){Lcb(a,c,d,e,g,h,i,j)|0;j=0;u=o;return j|0}break}case 16:{if((f[m+12>>2]|0)==63488){Mcb(a,c,d,e,g,h,i,j)|0;j=0;u=o;return j|0}break}case 32:{if((f[m+12>>2]|0)==16711680)if(!(f[m+24>>2]|0)){Ncb(a,c,d,e,g,h,i,j)|0;j=0;u=o;return j|0}else{Ocb(a,c,d,e,g,h,i,j)|0;j=0;u=o;return j|0}break}default:{}}if(!(f[m+24>>2]|0)){j=Pcb(a,c,d,e,g,h,i,j)|0;u=o;return j|0}else{j=Qcb(a,c,d,e,g,h,i,j)|0;u=o;return j|0}return 0}function Lcb(a,b,c,e,g,i,k,l){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;l=~l&255;switch(e|0){case 1:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;e=j[c>>1]|0;b=(((W(h[235104+(e&31)>>0]|0,l)|0)>>>0)/255|0)+(k&255)|0;a=(((W(h[235104+(e>>>5&31)>>0]|0,l)|0)>>>0)/255|0)+(i&255)|0;l=(((W(h[235104+(e>>>10&31)>>0]|0,l)|0)>>>0)/255|0)+(g&255)|0;break}case 2:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;b=j[c>>1]|0;l=(h[235104+(b>>>10&31)>>0]|0)+(g&255)|0;a=(h[235104+(b>>>5&31)>>0]|0)+(i&255)|0;b=(h[235104+(b&31)>>0]|0)+(k&255)|0;b=b>>>0<255?b:255;a=a>>>0<255?a:255;l=l>>>0<255?l:255;break}case 4:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;l=j[c>>1]|0;b=((W(h[235104+(l&31)>>0]|0,k&255)|0)>>>0)/255|0;a=((W(h[235104+(l>>>5&31)>>0]|0,i&255)|0)>>>0)/255|0;l=((W(h[235104+(l>>>10&31)>>0]|0,g&255)|0)>>>0)/255|0;break}default:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;b=k&255;a=i&255;l=g&255}}d[c>>1]=a>>>3<<5|l>>>3<<10|b>>>3;return 0}function Mcb(a,b,c,e,g,i,k,l){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;l=~l&255;switch(e|0){case 1:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;e=j[c>>1]|0;b=(((W(h[235104+(e&31)>>0]|0,l)|0)>>>0)/255|0)+(k&255)|0;a=(((W(h[235040+(e>>>5&63)>>0]|0,l)|0)>>>0)/255|0)+(i&255)|0;l=(((W(h[235104+(e>>>11)>>0]|0,l)|0)>>>0)/255|0)+(g&255)|0;break}case 2:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;b=j[c>>1]|0;l=(h[235104+(b>>>11)>>0]|0)+(g&255)|0;a=(h[235040+(b>>>5&63)>>0]|0)+(i&255)|0;b=(h[235104+(b&31)>>0]|0)+(k&255)|0;b=b>>>0<255?b:255;a=a>>>0<255?a:255;l=l>>>0<255?l:255;break}case 4:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;l=j[c>>1]|0;b=((W(h[235104+(l&31)>>0]|0,k&255)|0)>>>0)/255|0;a=((W(h[235040+(l>>>5&63)>>0]|0,i&255)|0)>>>0)/255|0;l=((W(h[235104+(l>>>11)>>0]|0,g&255)|0)>>>0)/255|0;break}default:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<1)|0;b=k&255;a=i&255;l=g&255}}d[c>>1]=a>>>2<<5|l>>>3<<11|b>>>3;return 0}function Ncb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;i=~i&255;switch(d|0){case 1:{d=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;c=f[d>>2]|0;e=(((W(c>>>16&255,i)|0)>>>0)/255|0)+(e&255)<<16;h=(((W(c&255,i)|0)>>>0)/255|0)+(h&255)|0;g=(((W(c>>>8&255,i)|0)>>>0)/255|0)+(g&255)|0;g=g<<8;h=g|h;h=h|e;f[d>>2]=h;return 0}case 2:{b=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;a=f[b>>2]|0;c=(a>>>16&255)+(e&255)|0;d=(a>>>8&255)+(g&255)|0;e=(a&255)+(h&255)|0;h=b;g=(c>>>0<255?c:255)<<16;e=e>>>0<255?e:255;d=d>>>0<255?d:255;d=d<<8;e=d|e;g=e|g;f[h>>2]=g;return 0}case 4:{d=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;c=f[d>>2]|0;e=(((W(c>>>16&255,e&255)|0)>>>0)/255|0)<<16;h=((W(c&255,h&255)|0)>>>0)/255|0;g=((W(c>>>8&255,g&255)|0)>>>0)/255|0;g=g<<8;h=g|h;h=h|e;f[d>>2]=h;return 0}default:{d=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;h=h&255;e=(e&255)<<16;g=g&255;g=g<<8;g=g|e;h=g|h;f[d>>2]=h;return 0}}return 0}function Ocb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;i=i&255;j=i^255;switch(d|0){case 1:{b=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;c=f[b>>2]|0;d=(((W(c>>>24,j)|0)>>>0)/255|0)+i<<24|(((W(c&255,j)|0)>>>0)/255|0)+(h&255);h=b;g=(((W(c>>>8&255,j)|0)>>>0)/255|0)+(g&255)<<8;e=(((W(c>>>16&255,j)|0)>>>0)/255|0)+(e&255)<<16;e=d|e;g=e|g;f[h>>2]=g;return 0}case 2:{c=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;d=f[c>>2]|0;e=(d>>>16&255)+(e&255)|0;g=(d>>>8&255)+(g&255)|0;h=(d&255)+(h&255)|0;d=(h>>>0<255?h:255)|d&-16777216;h=c;g=(g>>>0<255?g:255)<<8;e=(e>>>0<255?e:255)<<16;e=d|e;g=e|g;f[h>>2]=g;return 0}case 4:{b=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;c=f[b>>2]|0;d=((W(c&255,h&255)|0)>>>0)/255|0|c&-16777216;h=b;g=(((W(c>>>8&255,g&255)|0)>>>0)/255|0)<<8;e=(((W(c>>>16&255,e&255)|0)>>>0)/255|0)<<16;e=d|e;g=e|g;f[h>>2]=g;return 0}default:{d=(g&255)<<8|(e&255)<<16;g=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,c)|0)+(b<<2)|0;e=i<<24;h=h&255;h=d|h;h=h|e;f[g>>2]=h;return 0}}return 0}function Pcb(a,c,e,g,i,k,l,m){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0;n=f[a+4>>2]|0;m=~m&255;switch(b[n+9>>0]|0){case 2:switch(g|0){case 1:{g=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<1)|0;p=h[n+28>>0]|0;a=j[g>>1]|0;o=h[n+32>>0]|0;r=h[n+29>>0]|0;q=h[n+33>>0]|0;c=h[n+30>>0]|0;e=h[n+34>>0]|0;k=((((W(h[(f[234608+(r<<2)>>2]|0)+((f[n+16>>2]&a)>>>q)>>0]|0,m)|0)>>>0)/255|0)+(k&255)|0)>>>r<<q|((((W(h[(f[234608+(p<<2)>>2]|0)+((f[n+12>>2]&a)>>>o)>>0]|0,m)|0)>>>0)/255|0)+(i&255)|0)>>>p<<o;l=((((W(h[(f[234608+(c<<2)>>2]|0)+((f[n+20>>2]&a)>>>e)>>0]|0,m)|0)>>>0)/255|0)+(l&255)|0)>>>c<<e;d[g>>1]=k|f[n+24>>2]|l;n=0;return n|0}case 2:{r=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<1)|0;e=h[n+28>>0]|0;o=j[r>>1]|0;g=h[n+32>>0]|0;a=h[n+29>>0]|0;c=h[n+33>>0]|0;p=h[n+30>>0]|0;q=h[n+34>>0]|0;i=(h[(f[234608+(e<<2)>>2]|0)+((f[n+12>>2]&o)>>>g)>>0]|0)+(i&255)|0;k=(h[(f[234608+(a<<2)>>2]|0)+((f[n+16>>2]&o)>>>c)>>0]|0)+(k&255)|0;o=(h[(f[234608+(p<<2)>>2]|0)+((f[n+20>>2]&o)>>>q)>>0]|0)+(l&255)|0;d[r>>1]=(k>>>0<255?k:255)>>>a<<c|(i>>>0<255?i:255)>>>e<<g|f[n+24>>2]|(o>>>0<255?o:255)>>>p<<q;r=0;return r|0}case 4:{r=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<1)|0;e=h[n+28>>0]|0;g=j[r>>1]|0;p=h[n+32>>0]|0;a=h[n+29>>0]|0;c=h[n+33>>0]|0;o=h[n+30>>0]|0;q=h[n+34>>0]|0;p=(((W(h[(f[234608+(a<<2)>>2]|0)+((f[n+16>>2]&g)>>>c)>>0]|0,k&255)|0)>>>0)/255|0)>>>a<<c|(((W(h[(f[234608+(e<<2)>>2]|0)+((f[n+12>>2]&g)>>>p)>>0]|0,i&255)|0)>>>0)/255|0)>>>e<<p;q=(((W(h[(f[234608+(o<<2)>>2]|0)+((f[n+20>>2]&g)>>>q)>>0]|0,l&255)|0)>>>0)/255|0)>>>o<<q;d[r>>1]=p|f[n+24>>2]|q;r=0;return r|0}default:{r=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<1)|0;d[r>>1]=(k&255)>>>(h[n+29>>0]|0)<<h[n+33>>0]|(i&255)>>>(h[n+28>>0]|0)<<h[n+32>>0]|f[n+24>>2]|(l&255)>>>(h[n+30>>0]|0)<<h[n+34>>0];r=0;return r|0}}case 4:switch(g|0){case 1:{r=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<2)|0;e=h[n+28>>0]|0;g=f[r>>2]|0;p=h[n+32>>0]|0;a=h[n+29>>0]|0;c=h[n+33>>0]|0;o=h[n+30>>0]|0;q=h[n+34>>0]|0;p=((((W(h[(f[234608+(a<<2)>>2]|0)+((f[n+16>>2]&g)>>>c)>>0]|0,m)|0)>>>0)/255|0)+(k&255)|0)>>>a<<c|((((W(h[(f[234608+(e<<2)>>2]|0)+((f[n+12>>2]&g)>>>p)>>0]|0,m)|0)>>>0)/255|0)+(i&255)|0)>>>e<<p;q=((((W(h[(f[234608+(o<<2)>>2]|0)+((f[n+20>>2]&g)>>>q)>>0]|0,m)|0)>>>0)/255|0)+(l&255)|0)>>>o<<q;f[r>>2]=p|f[n+24>>2]|q;r=0;return r|0}case 2:{r=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<2)|0;e=h[n+28>>0]|0;o=f[r>>2]|0;g=h[n+32>>0]|0;a=h[n+29>>0]|0;c=h[n+33>>0]|0;p=h[n+30>>0]|0;q=h[n+34>>0]|0;i=(h[(f[234608+(e<<2)>>2]|0)+((f[n+12>>2]&o)>>>g)>>0]|0)+(i&255)|0;k=(h[(f[234608+(a<<2)>>2]|0)+((f[n+16>>2]&o)>>>c)>>0]|0)+(k&255)|0;o=(h[(f[234608+(p<<2)>>2]|0)+((f[n+20>>2]&o)>>>q)>>0]|0)+(l&255)|0;f[r>>2]=(k>>>0<255?k:255)>>>a<<c|(i>>>0<255?i:255)>>>e<<g|f[n+24>>2]|(o>>>0<255?o:255)>>>p<<q;r=0;return r|0}case 4:{r=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<2)|0;e=h[n+28>>0]|0;g=f[r>>2]|0;p=h[n+32>>0]|0;a=h[n+29>>0]|0;c=h[n+33>>0]|0;o=h[n+30>>0]|0;q=h[n+34>>0]|0;p=(((W(h[(f[234608+(a<<2)>>2]|0)+((f[n+16>>2]&g)>>>c)>>0]|0,k&255)|0)>>>0)/255|0)>>>a<<c|(((W(h[(f[234608+(e<<2)>>2]|0)+((f[n+12>>2]&g)>>>p)>>0]|0,i&255)|0)>>>0)/255|0)>>>e<<p;q=(((W(h[(f[234608+(o<<2)>>2]|0)+((f[n+20>>2]&g)>>>q)>>0]|0,l&255)|0)>>>0)/255|0)>>>o<<q;f[r>>2]=p|f[n+24>>2]|q;r=0;return r|0}default:{r=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<2)|0;f[r>>2]=(k&255)>>>(h[n+29>>0]|0)<<h[n+33>>0]|(i&255)>>>(h[n+28>>0]|0)<<h[n+32>>0]|f[n+24>>2]|(l&255)>>>(h[n+30>>0]|0)<<h[n+34>>0];r=0;return r|0}}default:{r=Y4a(4)|0;return r|0}}return 0}function Qcb(a,c,d,e,g,i,j,k){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;m=f[a+4>>2]|0;k=k&255;l=k^255;if((b[m+9>>0]|0)!=4){m=Y4a(4)|0;return m|0}switch(e|0){case 1:{e=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,d)|0)+(c<<2)|0;q=h[m+28>>0]|0;a=f[e>>2]|0;p=h[m+32>>0]|0;s=h[m+29>>0]|0;r=h[m+33>>0]|0;o=h[m+30>>0]|0;n=h[m+34>>0]|0;c=h[m+31>>0]|0;d=h[m+35>>0]|0;m=((((W(l,h[(f[234608+(s<<2)>>2]|0)+((f[m+16>>2]&a)>>>r)>>0]|0)|0)>>>0)/255|0)+(i&255)|0)>>>s<<r|((((W(l,h[(f[234608+(q<<2)>>2]|0)+((f[m+12>>2]&a)>>>p)>>0]|0)|0)>>>0)/255|0)+(g&255)|0)>>>q<<p|((((W(l,h[(f[234608+(o<<2)>>2]|0)+((f[m+20>>2]&a)>>>n)>>0]|0)|0)>>>0)/255|0)+(j&255)|0)>>>o<<n|((((W(l,h[(f[234608+(c<<2)>>2]|0)+((f[m+24>>2]&a)>>>d)>>0]|0)|0)>>>0)/255|0)+k|0)>>>c<<d;f[e>>2]=m;m=0;return m|0}case 2:{s=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,d)|0)+(c<<2)|0;d=h[m+28>>0]|0;p=f[s>>2]|0;e=h[m+32>>0]|0;a=h[m+29>>0]|0;c=h[m+33>>0]|0;n=h[m+30>>0]|0;o=h[m+34>>0]|0;q=h[m+31>>0]|0;r=h[m+35>>0]|0;g=(h[(f[234608+(d<<2)>>2]|0)+((f[m+12>>2]&p)>>>e)>>0]|0)+(g&255)|0;i=(h[(f[234608+(a<<2)>>2]|0)+((f[m+16>>2]&p)>>>c)>>0]|0)+(i&255)|0;j=(h[(f[234608+(n<<2)>>2]|0)+((f[m+20>>2]&p)>>>o)>>0]|0)+(j&255)|0;f[s>>2]=(i>>>0<255?i:255)>>>a<<c|(g>>>0<255?g:255)>>>d<<e|(j>>>0<255?j:255)>>>n<<o|(h[(f[234608+(q<<2)>>2]|0)+((f[m+24>>2]&p)>>>r)>>0]|0)>>>q<<r;s=0;return s|0}case 4:{s=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,d)|0)+(c<<2)|0;d=h[m+28>>0]|0;p=f[s>>2]|0;e=h[m+32>>0]|0;a=h[m+29>>0]|0;c=h[m+33>>0]|0;n=h[m+30>>0]|0;o=h[m+34>>0]|0;q=h[m+31>>0]|0;r=h[m+35>>0]|0;r=(((W(h[(f[234608+(a<<2)>>2]|0)+((f[m+16>>2]&p)>>>c)>>0]|0,i&255)|0)>>>0)/255|0)>>>a<<c|(((W(h[(f[234608+(d<<2)>>2]|0)+((f[m+12>>2]&p)>>>e)>>0]|0,g&255)|0)>>>0)/255|0)>>>d<<e|(((W(h[(f[234608+(n<<2)>>2]|0)+((f[m+20>>2]&p)>>>o)>>0]|0,j&255)|0)>>>0)/255|0)>>>n<<o|(h[(f[234608+(q<<2)>>2]|0)+((f[m+24>>2]&p)>>>r)>>0]|0)>>>q<<r;f[s>>2]=r;s=0;return s|0}default:{s=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,d)|0)+(c<<2)|0;f[s>>2]=(i&255)>>>(h[m+29>>0]|0)<<h[m+33>>0]|(g&255)>>>(h[m+28>>0]|0)<<h[m+32>>0]|(j&255)>>>(h[m+30>>0]|0)<<h[m+34>>0]|k>>>(h[m+31>>0]|0)<<h[m+35>>0];s=0;return s|0}}return 0}function Rcb(a,b,c,e,g,i,j){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;j=j|0;var 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;z=u;u=u+16|0;m=z+3|0;n=z+2|0;o=z+1|0;k=z;if((g|0)==(c|0)){k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(j|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(j|0)!=0}l=m+(l&1)|0;if(!l){u=z;return}m=i&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+2|0}u=z;return}if((e|0)==(b|0)){n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(j|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(j|0)!=0}l=m+(l&1)|0;if(!l){u=z;return}m=i&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}u=z;return}x=b-e|0;l=c-g|0;if((((x|0)<0?0-x|0:x)|0)==(((l|0)<0?0-l|0:l)|0)){m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;n=m+((e|0)>(b|0)?-1:1)|0;k=(j|0)==0?k+(n<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;n=m+((e|0)<(b|0)?-1:1)|0}l=l+((j|0)!=0&1)|0;if(!l){u=z;return}m=i&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}u=z;return}x=f[a+4>>2]|0;jcb(i,x,m,n,o,k);k=f[x+12>>2]|0;a:do if((k|0)<63488){switch(k|0){case 31744:break;default:{y=35;break a}}k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){w=k<<1;o=1;n=0;m=k-l|0;x=w;w=w-l|0;k=l}else{w=l<<1;o=0;n=1;m=l-k|0;x=w;w=w-k|0}v=m<<1;t=(e|0)<(b|0);s=t?0-n|0:n;t=t?-1:1;q=(g|0)<(c|0);r=q?0-o|0:o;q=q?-1:1;p=k+((j|0)!=0&1)|0;if((p|0)>0){g=i&65535;j=f[a+20>>2]|0;e=f[a+16>>2]|0;o=c;m=b;n=0;k=w;while(1){l=j+(W(e,o)|0)+(m<<1)|0;d[l>>1]=g;l=(k|0)<0;n=n+1|0;if((n|0)>=(p|0))break;else{o=o+(l?r:q)|0;m=(l?s:t)+m|0;k=(l?x:v)+k|0}}}}else{switch(k|0){case 63488:break;default:{y=35;break a}}k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){w=k<<1;o=1;n=0;m=k-l|0;x=w;w=w-l|0;k=l}else{w=l<<1;o=0;n=1;m=l-k|0;x=w;w=w-k|0}v=m<<1;t=(e|0)<(b|0);s=t?0-n|0:n;t=t?-1:1;q=(g|0)<(c|0);r=q?0-o|0:o;q=q?-1:1;p=k+((j|0)!=0&1)|0;if((p|0)>0){g=i&65535;j=f[a+20>>2]|0;e=f[a+16>>2]|0;o=c;m=b;n=0;k=w;while(1){l=j+(W(e,o)|0)+(m<<1)|0;d[l>>1]=g;l=(k|0)<0;n=n+1|0;if((n|0)>=(p|0))break;else{o=o+(l?r:q)|0;m=(l?s:t)+m|0;k=(l?x:v)+k|0}}}}while(0);if((y|0)==35){k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){w=k<<1;o=1;n=0;m=k-l|0;x=w;w=w-l|0;k=l}else{w=l<<1;o=0;n=1;m=l-k|0;x=w;w=w-k|0}v=m<<1;t=(e|0)<(b|0);s=t?0-n|0:n;t=t?-1:1;q=(g|0)<(c|0);r=q?0-o|0:o;q=q?-1:1;p=k+((j|0)!=0&1)|0;if((p|0)>0){g=i&65535;j=f[a+20>>2]|0;e=f[a+16>>2]|0;o=c;m=b;n=0;k=w;while(1){l=j+(W(e,o)|0)+(m<<1)|0;d[l>>1]=g;l=(k|0)<0;n=n+1|0;if((n|0)>=(p|0))break;else{o=o+(l?r:q)|0;m=(l?s:t)+m|0;k=(l?x:v)+k|0}}}}u=z;return}function Scb(a,c,d,e,g,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((g|0)==(d|0)){k=(f[a+20>>2]|0)+(W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)|0;if((c|0)>(e|0)){m=k+e|0;k=(j|0)!=0;m=k?m:m+1|0;l=c-e|0}else{m=k+c|0;l=e-c|0;k=(j|0)!=0}P5a(m,i,l+(k&1)|0)|0;return}if((c|0)==(e|0)){n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(d|0)){k=k+(W(n,g)|0)+c|0;l=(j|0)!=0;k=l?k:k+n|0;m=d-g|0}else{k=k+(W(n,d)|0)+c|0;m=g-d|0;l=(j|0)!=0}l=m+(l&1)|0;if(!l)return;m=i&255;while(1){l=l+-1|0;b[k>>0]=m;if(!l)break;else k=k+n|0}return}v=c-e|0;k=d-g|0;if((((v|0)<0?0-v|0:v)|0)==(((k|0)<0?0-k|0:k)|0)){m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;l=f[a+20>>2]|0;if((g|0)<(d|0)){l=l+(W(m,g)|0)+e|0;n=m+((e|0)>(c|0)?-1:1)|0;l=(j|0)==0?l+n|0:l}else{l=l+(W(m,d)|0)+c|0;k=g-d|0;n=m+((c|0)>(e|0)?-1:1)|0}k=k+((j|0)!=0&1)|0;if(!k)return;m=i&255;while(1){k=k+-1|0;b[l>>0]=m;if(!k)break;else l=l+n|0}return}else{k=e-c|0;k=(k|0)<0?0-k|0:k;l=g-d|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;o=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;o=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(c|0)>(e|0);r=s?0-n|0:n;s=s?-1:1;p=(g|0)<(d|0);q=p?0-o|0:o;p=p?-1:1;j=k+((j|0)!=0&1)|0;if((j|0)<=0)return;e=i&255;g=a+20|0;o=a+16|0;m=c;n=0;k=u;while(1){l=(f[g>>2]|0)+(W(f[o>>2]|0,d)|0)+m|0;b[l>>0]=e;l=(k|0)<0;n=n+1|0;if((n|0)>=(j|0))break;else{d=d+(l?q:p)|0;m=(l?r:s)+m|0;k=(l?v:t)+k|0}}return}}function Tcb(a,b,c,d,e,g,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;var 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+16|0;l=w+3|0;m=w+2|0;n=w+1|0;j=w;if((e|0)==(c|0)){j=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){j=j+(d<<2)|0;k=(i|0)!=0;j=k?j:j+4|0;l=b-d|0}else{j=j+(b<<2)|0;l=d-b|0;k=(i|0)!=0}k=l+(k&1)|0;if(!k){u=w;return}while(1){k=k+-1|0;f[j>>2]=g;if(!k)break;else j=j+4|0}u=w;return}if((d|0)==(b|0)){m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){j=j+((W(m,e)|0)<<2)+(d<<2)|0;k=(i|0)!=0;j=k?j:j+(m<<2)|0;l=c-e|0}else{j=j+((W(m,c)|0)<<2)+(d<<2)|0;l=e-c|0;k=(i|0)!=0}k=l+(k&1)|0;if(!k){u=w;return}while(1){k=k+-1|0;f[j>>2]=g;if(!k)break;else j=j+(m<<2)|0}u=w;return}v=b-d|0;k=c-e|0;if((((v|0)<0?0-v|0:v)|0)==(((k|0)<0?0-k|0:k)|0)){l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;j=f[a+20>>2]|0;if((e|0)<(c|0)){j=j+((W(l,e)|0)<<2)+(d<<2)|0;l=l+((d|0)>(b|0)?-1:1)|0;j=(i|0)==0?j+(l<<2)|0:j}else{j=j+((W(l,c)|0)<<2)+(b<<2)|0;k=e-c|0;l=l+((d|0)<(b|0)?-1:1)|0}k=k+((i|0)!=0&1)|0;if(!k){u=w;return}while(1){k=k+-1|0;f[j>>2]=g;if(!k)break;else j=j+(l<<2)|0}u=w;return}k=f[a+4>>2]|0;jcb(g,k,l,m,n,j);do if((f[k+12>>2]|0)==16711680){m=d-b|0;m=(m|0)<0?0-m|0:m;n=e-c|0;n=(n|0)<0?0-n|0:n;j=(m|0)<(n|0);if(!(f[k+24>>2]|0)){if(j){t=m<<1;l=1;k=0;j=m-n|0;v=t;t=t-n|0;m=n}else{t=n<<1;l=0;k=1;j=n-m|0;v=t;t=t-m|0}s=j<<1;r=(d|0)<(b|0);q=r?0-k|0:k;r=r?-1:1;o=(e|0)<(c|0);p=o?0-l|0:l;o=o?-1:1;i=m+((i|0)!=0&1)|0;if((i|0)<=0)break;e=f[a+20>>2]|0;d=a+16|0;n=c;l=b;m=0;j=t;while(1){k=e+(W(f[d>>2]|0,n)|0)+(l<<2)|0;f[k>>2]=g;k=(j|0)<0;m=m+1|0;if((m|0)>=(i|0))break;else{n=n+(k?p:o)|0;l=(k?q:r)+l|0;j=(k?v:s)+j|0}}}else{if(j){t=m<<1;l=1;k=0;j=m-n|0;v=t;t=t-n|0;m=n}else{t=n<<1;l=0;k=1;j=n-m|0;v=t;t=t-m|0}s=j<<1;r=(d|0)<(b|0);q=r?0-k|0:k;r=r?-1:1;o=(e|0)<(c|0);p=o?0-l|0:l;o=o?-1:1;i=m+((i|0)!=0&1)|0;if((i|0)<=0)break;e=f[a+20>>2]|0;d=a+16|0;n=c;l=b;m=0;j=t;while(1){k=e+(W(f[d>>2]|0,n)|0)+(l<<2)|0;f[k>>2]=g;k=(j|0)<0;m=m+1|0;if((m|0)>=(i|0))break;else{n=n+(k?p:o)|0;l=(k?q:r)+l|0;j=(k?v:s)+j|0}}}}else{j=d-b|0;j=(j|0)<0?0-j|0:j;k=e-c|0;k=(k|0)<0?0-k|0:k;if((j|0)<(k|0)){t=j<<1;n=1;m=0;l=j-k|0;v=t;t=t-k|0;j=k}else{t=k<<1;n=0;m=1;l=k-j|0;v=t;t=t-j|0}s=l<<1;r=(d|0)<(b|0);q=r?0-m|0:m;r=r?-1:1;o=(e|0)<(c|0);p=o?0-n|0:n;o=o?-1:1;i=j+((i|0)!=0&1)|0;if((i|0)>0){e=f[a+20>>2]|0;d=a+16|0;n=c;l=b;m=0;j=t;while(1){k=e+(W(f[d>>2]|0,n)|0)+(l<<2)|0;f[k>>2]=g;k=(j|0)<0;m=m+1|0;if((m|0)>=(i|0))break;else{n=n+(k?p:o)|0;l=(k?q:r)+l|0;j=(k?v:s)+j|0}}}}while(0);u=w;return}function Ucb(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;l=u;u=u+16|0;i=l+8|0;a:do if(a){k=f[a+4>>2]|0;if((h[k+8>>0]|0)<8){i=c5a(462143,i)|0;break}i=f[a+36>>2]|0;if((((i|0)<=(c|0)?(j=f[a+40>>2]|0,(j|0)<=(e|0)):0)?((f[a+44>>2]|0)+i|0)>(c|0):0)?((f[a+48>>2]|0)+j|0)>(e|0):0)switch(b[k+9>>0]|0){case 1:{i=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+c|0;b[i>>0]=g;i=0;break a}case 2:{i=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<1)|0;d[i>>1]=g;i=0;break a}case 3:{i=Y4a(4)|0;break a}case 4:{i=(f[a+20>>2]|0)+(W(f[a+16>>2]|0,e)|0)+(c<<2)|0;f[i>>2]=g;i=0;break a}default:{i=0;break a}}else i=0}else i=c5a(462111,l)|0;while(0);u=l;return i|0}function Vcb(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;v=u;u=u+16|0;if(!a){t=c5a(462111,v)|0;u=v;return t|0}s=a+4|0;if((h[(f[s>>2]|0)+8>>0]|0)<8){t=c5a(462233,v+8|0)|0;u=v;return t|0}m=f[a+36>>2]|0;n=(f[a+44>>2]|0)+m|0;o=f[a+40>>2]|0;p=(f[a+48>>2]|0)+o|0;if((e|0)<=0){t=0;u=v;return t|0}q=g&255;r=a+20|0;i=a+16|0;j=g&65535;a=0;a:while(1){k=f[c+(a<<3)>>2]|0;l=f[c+(a<<3)+4>>2]|0;b:do if((l|0)<(p|0)&(((k|0)>=(n|0)|(k|0)<(m|0)|(l|0)<(o|0))^1))switch(b[(f[s>>2]|0)+9>>0]|0){case 3:break a;case 1:{l=(f[r>>2]|0)+(W(f[i>>2]|0,l)|0)+k|0;b[l>>0]=q;break b}case 2:{l=(f[r>>2]|0)+(W(f[i>>2]|0,l)|0)+(k<<1)|0;d[l>>1]=j;break b}case 4:{l=(f[r>>2]|0)+(W(f[i>>2]|0,l)|0)+(k<<2)|0;f[l>>2]=g;break b}default:break b}while(0);a=a+1|0;if((a|0)>=(e|0)){a=0;t=14;break}}if((t|0)==14){u=v;return a|0}t=Y4a(4)|0;u=v;return t|0}function Wcb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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;if(!a){j=c5a(462111,t)|0;u=t;return j|0}k=f[a+4>>2]|0;l=b[k+8>>0]|0;if((l&255)<8){j=c5a(462187,t+8|0)|0;u=t;return j|0}if((e+-1|0)>>>0<2){r=j&255;s=(((W(r,g&255)|0)>>>0)/255|0)&255;h=(((W(r,h&255)|0)>>>0)/255|0)&255;i=(((W(r,i&255)|0)>>>0)/255|0)&255}else s=g;switch(l<<24>>24){case 15:{if((f[k+12>>2]|0)==31744)r=15;else m=12;break}case 16:{if((f[k+12>>2]|0)==63488)r=16;else m=12;break}case 32:{if((f[k+12>>2]|0)==16711680)r=(f[k+24>>2]|0)==0?12:11;else m=12;break}default:m=12}if((m|0)==12)r=(f[k+24>>2]|0)==0?14:13;n=f[a+36>>2]|0;o=(f[a+44>>2]|0)+n|0;p=f[a+40>>2]|0;q=(f[a+48>>2]|0)+p|0;if((d|0)<=0){j=0;u=t;return j|0}m=0;g=0;do{k=f[c+(m<<3)>>2]|0;l=f[c+(m<<3)+4>>2]|0;if((l|0)<(q|0)&(((k|0)>=(o|0)|(k|0)<(n|0)|(l|0)<(p|0))^1))g=lj[r&31](a,k,l,e,s,h,i,j)|0;m=m+1|0}while((m|0)!=(d|0));u=t;return g|0}function Xcb(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;m=u;u=u+32|0;b=m+28|0;d=m+24|0;e=m+20|0;g=m+16|0;h=m+12|0;i=m+8|0;j=m+4|0;k=m;l=f[124995]|0;c=f[l+132>>2]|0;if(!c){l=0;u=m;return l|0}if(!(f[l+136>>2]|0)){l=0;u=m;return l|0}if((hj[c&63](l,a,b,d,e)|0)<0){l=0;u=m;return l|0}if(!(Y9a(f[b>>2]|0,g,h,i,j,k)|0)){l=0;u=m;return l|0}l=Ycb(f[d>>2]|0,f[a+24>>2]|0,f[a+28>>2]|0,f[g>>2]|0,f[e>>2]|0,f[h>>2]|0,f[i>>2]|0,f[j>>2]|0,f[k>>2]|0)|0;u=m;return l|0}function Ycb(a,b,c,d,e,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0;k=u;u=u+16|0;d=hcb(d,g,h,i,j)|0;if(!d){c5a(461519,k)|0;e=0;u=k;return e|0}d=icb(0,0,0,0,d)|0;if(!d){e=0;u=k;return e|0}f[d>>2]=f[d>>2]|1;f[d+20>>2]=a;f[d+8>>2]=b;f[d+12>>2]=c;f[d+16>>2]=e;f[d+36>>2]=0;f[d+40>>2]=0;f[d+44>>2]=b;f[d+48>>2]=c;e=d;u=k;return e|0}function Zcb(){return 1}function _cb(a){a=a|0;a=X4a(1,688)|0;if(!a){Y4a(0)|0;a=0;return a|0}else{$cb(462378,462411)|0;f[a+4>>2]=1082;f[a+8>>2]=1520;f[a+28>>2]=205;f[a+204>>2]=1521;f[a+32>>2]=496;f[a+40>>2]=806;f[a+52>>2]=807;f[a+128>>2]=808;f[a+112>>2]=87;f[a+132>>2]=42;f[a+136>>2]=34;f[a+140>>2]=809;f[a+164>>2]=497;f[a+168>>2]=498;f[a+172>>2]=1522;f[a+176>>2]=499;f[a+180>>2]=206;f[a+188>>2]=500;f[a+192>>2]=1083;f[a+196>>2]=810;f[a+200>>2]=811;f[a+184>>2]=88;f[a+684>>2]=1523;return a|0}return 0}function $cb(a,b){a=a|0;b=b|0;return zeb(a,b,1)|0}function adb(a){a=a|0;var b=0,c=0,d=0;c=u;u=u+32|0;b=c;f[b>>2]=370546692;d=hc(1)|0;f[b+4>>2]=d;d=hc(2)|0;f[b+8>>2]=d;f[b+12>>2]=0;f[b+16>>2]=0;if((meb(b)|0)<0){d=-1;u=c;return d|0}P5a(b,0,20)|0;neb(f[a+268>>2]|0,b)|0;oeb();d=0;u=c;return d|0}function bdb(a){a=a|0;leb();return}function cdb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function ddb(a){a=a|0;return}function edb(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0.0;r=u;u=u+32|0;q=r+16|0;h=r+8|0;j=r;m=X4a(1,40)|0;if(!m){q=Y4a(0)|0;u=r;return q|0}o=b+48|0;if(!(f[o>>2]&8192)){k=m+12|0;n[k>>2]=1.0;d=1.0}else{d=+pc();k=m+12|0;n[k>>2]=d}l=b+24|0;s=+pcb(d*+(f[l>>2]|0));i=b+28|0;d=+pcb(+n[k>>2]*+(f[i>>2]|0));Wg(~~s|0,~~d|0);qc(0,h|0,j|0)|0;if(+pcb(+p[h>>3])!=s)e=1;else e=+pcb(+p[j>>3])!=d;c=e&1;g=m+16|0;f[g>>2]=c;if(!((f[o>>2]&32|0)==0|e^1)){s=+n[k>>2];Wg(~~(+p[h>>3]*s)|0,~~(+p[j>>3]*s)|0);tab(b,5,~~+p[h>>3],~~+p[j>>3])|0;c=f[g>>2]|0}if((c|0)==0?+n[k>>2]!=1.0:0)Xg(0,+(+(f[l>>2]|0)),+(+(f[i>>2]|0)))|0;if(f[o>>2]&2|0){if((f[a+676>>2]|0)==0?(Hdb(0)|0)<0:0){q=-1;u=r;return q|0}o=Idb(a,0)|0;f[m>>2]=o;if(!o){q=c5a(464420,q)|0;u=r;return q|0}}f[m+4>>2]=b;f[b+144>>2]=m;abb(b);Jdb(b);Kdb(m);q=0;u=r;return q|0}function fdb(a,b){a=a|0;b=b|0;ic(3,f[b+8>>2]|0)|0;return}function gdb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,g=0;g=f[b+144>>2]|0;if(!g)return;if(!(f[b+48>>2]&8192)){d=g+12|0;c=d;e=+n[d>>2]}else{e=+pc();c=g+12|0;n[c>>2]=e}d=b+24|0;a=b+28|0;Wg(~~(e*+(f[d>>2]|0))|0,~~(e*+(f[a>>2]|0))|0);if(f[g+16>>2]|0)return;if(!(+n[c>>2]!=1.0))return;Xg(0,+(+(f[d>>2]|0)),+(+(f[a>>2]|0)))|0;return}function hdb(a,b){a=a|0;b=b|0;var c=0,d=0;b=b+144|0;c=f[b>>2]|0;if(!c)return;Fdb(c);d=f[c>>2]|0;if(d|0){Gdb(a,d);f[c>>2]=0}A5a(f[b>>2]|0);f[b>>2]=0;return}function idb(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=u;u=u+32|0;g=i;h=f[b+144>>2]|0;if(!h){u=i;return}if(!d){nc()|0;u=i;return}e=b+48|0;a=f[e>>2]|0;c=a&4097;d=(c|0)==4097;b=d&1;f[g>>2]=d?1:2;do if(d){d=g+4|0;if(!(a&8192)){f[d>>2]=1;break}else{f[d>>2]=2;break}}else f[g+4>>2]=0;while(0);f[g+8>>2]=0;f[g+12>>2]=207;f[g+16>>2]=h;f[h+20>>2]=c;f[h+24>>2]=b;if((Tg(0,1,g|0)|0)>>>0>1)f[e>>2]=f[e>>2]&-4098;u=i;return}function jdb(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,k=0,l=0,m=0,n=0;h=u;u=u+32|0;n=h+24|0;m=h+20|0;l=h+16|0;k=h+12|0;j=h+8|0;i=h+4|0;a=h;g=(f[b+144>>2]|0)+8|0;S5a(f[g>>2]|0);Y9a(374740996,l,k,j,i,a)|0;Z9a(b,n,m);a=Pbb(0,f[n>>2]|0,f[m>>2]|0,f[l>>2]|0,f[k>>2]|0,f[j>>2]|0,f[i>>2]|0,f[a>>2]|0)|0;if(!a){n=-1;u=h;return n|0}f[g>>2]=a;f[c>>2]=374740996;f[d>>2]=f[a+20>>2];f[e>>2]=f[a+16>>2];n=0;u=h;return n|0}function kdb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=u;u=u+16|0;a=f[(f[b+144>>2]|0)+8>>2]|0;if(!a){b=c5a(462732,c)|0;u=c;return b|0}else{kc(4,f[a+8>>2]|0,f[a+12>>2]|0,f[a+20>>2]|0)|0;b=0;u=c;return b|0}return 0}function ldb(a,b){a=a|0;b=b|0;b=(f[b+144>>2]|0)+8|0;S5a(f[b>>2]|0);f[b>>2]=0;return}function mdb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=X4a(1,88)|0;g=a+676|0;f[g>>2]=d;if(!d){c=Y4a(0)|0;u=h;return c|0}f[d+20>>2]=1084;f[d+24>>2]=208;f[d+28>>2]=1085;f[d+32>>2]=1086;f[d+36>>2]=43;f[d+72>>2]=35;f[d+40>>2]=36;f[d+44>>2]=501;f[d+48>>2]=37;f[d+52>>2]=502;f[d+56>>2]=38;f[d+60>>2]=503;f[d+64>>2]=504;f[d+76>>2]=1087;f[d+80>>2]=11;f[d+84>>2]=1088;e=Zb(0)|0;d=f[g>>2]|0;f[d+8>>2]=e;if(!e){c=c5a(462681,h)|0;u=h;return c|0}if((dj[f[d+24>>2]&255](e,0,0)|0)!=1){c=c5a(462707,h+8|0)|0;u=h;return c|0}f[a+388>>2]=1;d=a+392|0;if(!c){b[d>>0]=0;c=0;u=h;return c|0}else{hab(d,c,255)|0;c=0;u=h;return c|0}return 0}function ndb(a,c){a=a|0;c=c|0;var d=0,e=0;e=a+676|0;a=f[e>>2]|0;d=f[a+32>>2]|0;do if(d){a=_i[d&2047](c)|0;if(!a){a=f[e>>2]|0;break}else{c=a;return c|0}}while(0);a=Ddb(f[a>>2]|0,c)|0;if(a|0){c=a;return c|0}if((C8a(c)|0)>>>0>=1023){c=0;return c|0}b[492416]=95;hab(492417,c,1022)|0;c=Ddb(f[f[e>>2]>>2]|0,492416)|0;return c|0}function odb(a){a=a|0;var b=0,c=0;c=a+676|0;a=f[c>>2]|0;if(!a)return;b=f[a+8>>2]|0;if(b){_i[f[a+28>>2]&2047](b)|0;a=f[c>>2]|0;f[a+8>>2]=0}b=f[a+4>>2]|0;if(b){Cdb(b);a=f[c>>2]|0;f[a+4>>2]=0}b=f[a>>2]|0;if(b){Cdb(b);a=f[c>>2]|0;f[a>>2]=0}A5a(a);f[c>>2]=0;return}function pdb(a,b){a=a|0;b=b|0;return Adb(a,f[f[b+144>>2]>>2]|0)|0}function qdb(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)!=0&(c|0)!=0){c=zdb(a,f[f[b+144>>2]>>2]|0,c)|0;return c|0}else{c=zdb(a,0,0)|0;return c|0}return 0}function rdb(a,b){a=a|0;b=b|0;var c=0,d=0;d=u;u=u+16|0;a=a+676|0;c=f[a>>2]|0;if(!c){b=c5a(462413,d)|0;u=d;return b|0}if((cj[f[c+64>>2]&1023](f[c+8>>2]|0,b)|0)==1){f[(f[a>>2]|0)+16>>2]=b;b=0;u=d;return b|0}else{b=c5a(462433,d+8|0)|0;u=d;return b|0}return 0}function sdb(a){a=a|0;var b=0;b=u;u=u+16|0;a=f[a+676>>2]|0;if(!a){c5a(462413,b)|0;a=0;u=b;return a|0}else{a=f[a+16>>2]|0;u=b;return a|0}return 0}function tdb(a,b){a=a|0;b=b|0;ydb(a,f[f[b+144>>2]>>2]|0);return}function udb(a,b){a=a|0;b=b|0;wh(17664);xdb(a,b);return}function vdb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=f[b+144>>2]|0;if(!a)return;if(c|0)f[c>>2]=~~(+n[a+12>>2]*+(f[b+24>>2]|0));if(!d)return;f[d>>2]=~~(+n[a+12>>2]*+(f[b+28>>2]|0));return}function wdb(a){a=a|0;A5a(a);return}function xdb(a,b){a=a|0;b=b|0;var c=0;a=a+676|0;c=f[a>>2]|0;if((b|0)==0|(c|0)==0)return;ej[f[c+56>>2]&63](f[c+8>>2]|0,0,0,0)|0;c=f[a>>2]|0;cj[f[c+44>>2]&1023](f[c+8>>2]|0,b)|0;return}function ydb(a,b){a=a|0;b=b|0;a=f[a+676>>2]|0;cj[f[a+60>>2]&1023](f[a+8>>2]|0,b)|0;return}function zdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;a=f[a+676>>2]|0;if(!a){c=c5a(462469,e)|0;u=e;return c|0}d=f[a+56>>2]|0;a=f[a+8>>2]|0;if(!((b|0)!=0&(c|0)!=0)){ej[d&63](a,0,0,0)|0;c=0;u=e;return c|0}if(ej[d&63](a,b,b,c)|0){c=0;u=e;return c|0}c=c5a(462492,e+8|0)|0;u=e;return c|0}function Adb(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+96|0;n=o+88|0;l=o+80|0;k=o+72|0;h=o+64|0;j=o;c=f[a+368>>2]|0;d=f[a+356>>2]|0;e=f[a+360>>2]|0;g=(c|0)==4;m=a+676|0;if(!(f[m>>2]|0)){n=0;u=o;return n|0}if(!(f[a+372>>2]|0))i=0;else i=Bdb()|0;if((d|0)<3|g&(e|0)==0?(c|4|0)==4&(f[a+364>>2]|0)==0:0){if(g){f[j+4>>2]=(d|0)>1?d:1;f[j+8>>2]=12344;_i[f[(f[m>>2]|0)+84>>2]&2047](12448)|0;a=12440}else{_i[f[(f[m>>2]|0)+84>>2]&2047](12450)|0;a=12344}f[j>>2]=a;a=f[m>>2]|0;a=ej[f[a+40>>2]&63](f[a+8>>2]|0,f[a+12>>2]|0,i,j)|0;if(!a){c5a(462595,k)|0;n=0;u=o;return n|0}c=f[m>>2]|0;f[c+16>>2]=0;do if(c){d=f[c+56>>2]|0;c=f[c+8>>2]|0;if(!b){ej[d&63](c,0,0,0)|0;n=a;u=o;return n|0}else{if(!(ej[d&63](c,b,b,a)|0)){c=462492;break}u=o;return a|0}}else c=462469;while(0);if((c5a(c,l)|0)>=0){n=a;u=o;return n|0}c=f[m>>2]|0;if(c|0){ej[f[c+56>>2]&63](f[c+8>>2]|0,0,0,0)|0;m=f[m>>2]|0;cj[f[m+44>>2]&1023](f[m+8>>2]|0,a)|0}c5a(462624,n)|0;n=0;u=o;return n|0}c5a(462527,h)|0;n=0;u=o;return n|0}function Bdb(){var a=0,b=0;b=u;u=u+16|0;a=f[124995]|0;if(!a){c5a(458271,b)|0;a=0;u=b;return a|0}else{a=C5a(f[a+664>>2]|0)|0;u=b;return a|0}return 0}function Cdb(a){a=a|0;if(!a)return;Ob(a|0)|0;return}function Ddb(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;d=Rb(a|0,c|0)|0;if(d|0){e=d;u=g;return e|0}h=(C8a(c)|0)+2|0;d=u;u=u+((1*h|0)+15&-16)|0;b[d>>0]=95;hab(d+1|0,c,h)|0;a=Rb(a|0,d|0)|0;if(a|0){h=a;u=g;return h|0}h=Pb()|0;f[e>>2]=c;f[e+4>>2]=h;c5a(462659,e)|0;h=0;u=g;return h|0}function Edb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=u;u=u+16|0;a=d+8|0;b=d;if(!(f[c+24>>2]|0)){u=d;return 0}qc(0,a|0,b|0)|0;tab(f[c+4>>2]|0,5,~~+p[a>>3],~~+p[b>>3])|0;u=d;return 0}function Fdb(a){a=a|0;ih(464232,0,0,0)|0;fh(464232,0,0,0)|0;jh(464240,0,0,0)|0;gh(464232,0,0,0)|0;hh(464232,0,0,0)|0;qh(464232,0,0,0)|0;Yg(464250,0,0,0)|0;Vg(464250,0,0,0)|0;oh(464232,0,0,0)|0;mh(464232,0,0,0)|0;nh(464232,0,0,0)|0;lh(464232,0,0,0)|0;a=eab(464258)|0;a=(a|0)==0?464250:a;ah(a|0,0,0,0)|0;ch(a|0,0,0,0)|0;bh(a|0,0,0,0)|0;Zg(464240,0,0,0)|0;kh(464250,0,0,0)|0;ph(0,0,0)|0;return}function Gdb(a,b){a=a|0;b=b|0;a=f[a+676>>2]|0;if(!((b|0)!=0&(a|0)!=0))return;cj[f[a+52>>2]&1023](f[a+8>>2]|0,b)|0;return}function Hdb(a){a=a|0;var b=0,c=0,d=0,e=0;e=u;u=u+32|0;d=e+16|0;c=e+8|0;b=f[124995]|0;if(!b){d=c5a(458271,e)|0;u=e;return d|0}do if(!(f[b+388>>2]|0)){c=f[b+164>>2]|0;if(!c){d=c5a(460297,d)|0;u=e;return d|0}c=cj[c&1023](b,a)|0;b=f[124995]|0;if(c){a=f[b+172>>2]|0;if(!a){d=c;u=e;return d|0}tj[a&2047](b);d=c;u=e;return d|0}}else if(a){if(!(gab(a,b+392|0)|0)){b=f[124995]|0;break}d=c5a(464593,c)|0;u=e;return d|0}while(0);d=b+388|0;f[d>>2]=(f[d>>2]|0)+1;d=0;u=e;return d|0}function Idb(a,b){a=a|0;b=b|0;if(keb(a)|0){b=0;return b|0}a=f[a+676>>2]|0;b=ej[f[a+48>>2]&63](f[a+8>>2]|0,f[a+12>>2]|0,b,0)|0;return b|0}function Jdb(a){a=a|0;var c=0,d=0,e=0,g=0;c=f[125036]|0;g=(a|0)!=0;if(!(g|(c|0)==0)){c=0;do{if((b[500150+c>>0]|0)==1)Ydb(0,c)|0;c=c+1|0}while((c|0)!=512);c=f[125036]|0}if(!((c|0)==0|(c|0)==(a|0))){if(f[c+48>>2]&16384){heb(0)|0;c=f[125036]|0}tab(c,13,0,0)|0;if(((Fab(771,-1)|0)<<24>>24?(d=ieb()|0,d|0):0)?(e=f[d+216>>2]|0,e|0):0)tj[e&2047](d)}f[125036]=a;if(!g)return;tab(a,12,0,0)|0;if(!((Fab(771,-1)|0)<<24>>24))return;c=ieb()|0;if(!c)return;a=f[c+212>>2]|0;if(!a)return;tj[a&2047](c);return}function Kdb(a){a=a|0;var b=0;ih(464232,a|0,0,209)|0;fh(464232,a|0,0,210)|0;jh(464240,a|0,0,210)|0;gh(464232,a|0,0,211)|0;hh(464232,a|0,0,211)|0;qh(464232,a|0,0,212)|0;Yg(464250,a|0,0,213)|0;Vg(464250,a|0,0,213)|0;oh(464232,a|0,0,214)|0;mh(464232,a|0,0,214)|0;nh(464232,a|0,0,214)|0;lh(464232,a|0,0,214)|0;b=eab(464258)|0;b=(b|0)==0?464250:b;ah(b|0,a|0,0,215)|0;ch(b|0,a|0,0,215)|0;bh(b|0,a|0,0,216)|0;Zg(464240,a|0,0,217)|0;kh(464250,a|0,0,218)|0;ph(a|0,0,219)|0;return}function Ldb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0,h=0,i=0,j=0;g=u;u=u+288|0;a=g+16|0;j=g+8|0;h=g;qc(0,j|0,h|0)|0;c=c+4|0;i=f[c>>2]|0;d=+(f[i+24>>2]|0)/+p[j>>3];e=+(f[i+28>>2]|0)/+p[h>>3];h=(vc(a|0)|0)==0;a=h?f[a>>2]|0:0;if(!a){i=~~(d*+(f[b+60>>2]|0));j=~~(e*+(f[b+64>>2]|0));h=f[c>>2]|0;_db(h,0,a,i,j)|0;u=g;return 0}else{d=+p[62266]+d*+(f[b+44>>2]|0);e=+p[62267]+e*+(f[b+48>>2]|0);i=~~d;p[62266]=d-+(i|0);j=~~e;p[62267]=e-+(j|0);h=f[c>>2]|0;_db(h,0,a,i,j)|0;u=g;return 0}return 0}function Mdb(a,b,c){a=a|0;b=b|0;c=c|0;b=d[b+40>>1]|0;if((b&65535)>=3){c=0;return c|0}a=(a|0)==5;$db(f[c+4>>2]|0,0,a&1,(b&255)+1<<24>>24)|0;c=(Fab(a&1,-1)|0)<<24>>24==1&1;return c|0}function Ndb(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;h=u;u=u+288|0;j=h+16|0;d=h+8|0;e=h;g=f[b+60>>2]|0;b=f[b+64>>2]|0;i=(vc(j|0)|0)!=0;if((f[j>>2]|0)==0|i){qc(0,d|0,e|0)|0;j=f[c+4>>2]|0;_db(j,0,0,~~(+(f[j+24>>2]|0)/+p[d>>3]*+(g|0)),~~(+(f[j+28>>2]|0)/+p[e>>3]*+(b|0)))|0}if((a|0)!=33){j=0;abb(j);j=Fab(512,-1)|0;j=j<<24>>24==1;j=j&1;u=h;return j|0}j=f[c+4>>2]|0;abb(j);j=Fab(512,-1)|0;j=j<<24>>24==1;j=j&1;u=h;return j|0}function Odb(a,b,c){a=a|0;b=b|0;c=c|0;geb(f[c+4>>2]|0,0,~~+p[b+72>>3],~~-+p[b+80>>3],0)|0;return (Fab(1027,-1)|0)<<24>>24==1|0}function Pdb(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12)feb();tab(f[c+4>>2]|0,(a|0)==13?12:13,0,0)|0;return (Fab(512,-1)|0)<<24>>24==1|0}function Qdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;r=u;u=u+16|0;n=r+8|0;o=r;if((Zdb(1,0,505031)|0)<0){q=0;u=r;return q|0}qc(0,n|0,o|0)|0;if((f[b>>2]|0)<=0){q=0;u=r;return q|0}q=(a|0)==22;m=c+28|0;k=(a|0)==24;l=c+32|0;j=c+4|0;i=0;a=0;do{do if(f[b+20+(i*52|0)+28>>2]|0){d=f[b+20+(i*52|0)>>2]|0;e=((d|0)<0)<<31>>31;g=+(f[b+20+(i*52|0)+44>>2]|0)/+p[n>>3];h=+(f[b+20+(i*52|0)+48>>2]|0)/+p[o>>3];c=f[m>>2]|0;if(q){if(!c){f[m>>2]=1;c=l;f[c>>2]=d;f[c+4>>2]=e;_db(f[j>>2]|0,-1,0,~~g,~~h)|0;$db(f[j>>2]|0,-1,1,1)|0}aeb(1,0,d,e,1,g,h,1.0)|0;if(a|0)break;a=(Fab(1792,-1)|0)<<24>>24==1&1;break}c=(c|0)!=0;if(k){if(c?(c=l,(f[c>>2]|0)==(d|0)?(f[c+4>>2]|0)==(e|0):0):0)_db(f[j>>2]|0,-1,0,~~g,~~h)|0;beb(1,0,d,e,g,h,1.0)|0;if(a|0)break;a=(Fab(1794,-1)|0)<<24>>24==1&1;break}else{if(c?(c=l,(f[c>>2]|0)==(d|0)?(f[c+4>>2]|0)==(e|0):0):0){$db(f[j>>2]|0,-1,0,1)|0;f[m>>2]=0}aeb(1,0,d,e,0,g,h,1.0)|0;if(a|0)break;a=(Fab(1793,-1)|0)<<24>>24==1&1;break}}while(0);i=i+1|0}while((i|0)<(f[b>>2]|0));u=r;return a|0}function Rdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=b+156|0;c=f[e>>2]|0;if(c>>>0<223?(d=f[247808+(c<<2)>>2]|0,d|0):0){a:do if((f[b+64>>2]|0)==2)switch(d|0){case 225:{d=229;break a}case 224:{d=228;break a}case 226:{d=230;break a}case 227:{d=231;break a}default:break a}while(0);Ydb((a|0)==2&1,d)|0}a=(a|0)==2;d=(Fab(a?768:769,-1)|0)<<24>>24==1;c=d&1;if(!a)return c|0;if((Fab(771,-1)|0)<<24>>24==1)return d&(f[e>>2]&-2|0)==8&1|0;else return c|0;return 0}function Sdb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=u;u=u+16|0;d=e;a=f[c+152>>2]|0;do if(a>>>0>=128){if(a>>>0<2048){b[d>>0]=a>>>6&31|192;b[d+1>>0]=a&63|128;a=2;break}if(a>>>0<65536){b[d>>0]=a>>>12&15|224;b[d+1>>0]=a>>>6&63|128;b[d+2>>0]=a&63|128;a=3;break}if(a>>>0<1114112){b[d>>0]=a>>>18|240;b[d+1>>0]=a>>>12&63|128;b[d+2>>0]=a>>>6&63|128;b[d+3>>0]=a&63|128;a=4;break}else{c=Fab(771,-1)|0;c=c<<24>>24==1;c=c&1;u=e;return c|0}}else{b[d>>0]=a;a=1}while(0);b[d+a>>0]=0;Wdb(d)|0;c=Fab(771,-1)|0;c=c<<24>>24==1;c=c&1;u=e;return c|0}function Tdb(a,b,c){a=a|0;b=b|0;c=c|0;if(!(f[b>>2]|0)){c=(f[c+4>>2]|0)+48|0;f[c>>2]=f[c>>2]&-4098;return 0}else{a=c+20|0;c=(f[c+4>>2]|0)+48|0;b=f[c>>2]|f[a>>2];f[a>>2]=0;f[c>>2]=b|1;return 0}return 0}function Udb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0,h=0,i=0,j=0,k=0.0;j=u;u=u+16|0;g=j+8|0;h=j;i=c+4|0;b=f[i>>2]|0;a=f[b+48>>2]|0;if(a&8192){e=+pc();n[c+12>>2]=e;b=f[i>>2]|0;a=f[b+48>>2]|0}if((a&4129|0)!=32){u=j;return 0}e=+(f[b+24>>2]|0);p[g>>3]=e;d=+(f[b+28>>2]|0);p[h>>3]=d;a=c+16|0;if(f[a>>2]|0){qc(0,g|0,h|0)|0;e=+p[g>>3];d=+p[h>>3]}c=c+12|0;k=+n[c>>2];Wg(~~(e*k)|0,~~(d*k)|0);if((f[a>>2]|0)==0?+n[c>>2]!=1.0:0)Xg(0,+(+p[g>>3]),+(+p[h>>3]))|0;tab(f[i>>2]|0,5,~~+p[g>>3],~~+p[h>>3])|0;u=j;return 0}function Vdb(a,b,c){a=a|0;b=b|0;c=c|0;tab(f[c+4>>2]|0,(f[b>>2]|0)==0?1:2,0,0)|0;return 0}function Wdb(a){a=a|0;var c=0,d=0,e=0;e=u;u=u+64|0;d=e;c=b[a>>0]|0;if((c&255)<32|c<<24>>24==127){d=0;u=e;return d|0}if((Fab(771,-1)|0)<<24>>24!=1){d=0;u=e;return d|0}f[d>>2]=771;c=f[125036]|0;if(!c)c=0;else c=f[c+4>>2]|0;f[d+8>>2]=c;Xdb(d+12|0,a,32)|0;d=(Lab(d)|0)>0&1;u=e;return d|0}function Xdb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;f=Rmb(c)|0;d=d+-1|0;d=f>>>0<d>>>0?f:d;if(!d){c=0;a=a+c|0;b[a>>0]=0;return c|0}e=d+-1|0;f=b[c+e>>0]|0;a:do if((f+64&255)>=53){if(!((f&255)>191|f<<24>>24>-1|(e|0)==0)){b:do if((f&-32)<<24>>24==-64)f=2;else while(1){if((f&-16)<<24>>24==-32){f=3;break b}if((f+16&255)<5){f=4;break b}e=e+-1|0;if(!e)break a;f=b[c+e>>0]|0;if((f&-32)<<24>>24==-64){f=2;break}}while(0);d=(d-e|0)==(f|0)?d:e}}else d=e;while(0);YDb(a|0,c|0,d|0)|0;c=d;a=a+c|0;b[a>>0]=0;return c|0}function Ydb(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;n=u;u=u+64|0;m=n;if(!c){m=0;u=n;return m|0}switch(a<<24>>24){case 1:{e=500150+c|0;l=b[e>>0]|0;k=768;g=l;l=l<<24>>24!=0&1;break}case 0:{g=500150+c|0;k=769;e=g;g=b[g>>0]|0;l=0;break}default:{m=0;u=n;return m|0}}if(!(l<<24>>24?1:g<<24>>24!=a<<24>>24)){m=0;u=n;return m|0}b[e>>0]=a;i=f[500664+(c<<2)>>2]|0;switch(i|0){case 1073742048:{e=64;break}case 1073742052:{e=128;break}case 1073742049:{e=1;break}case 1073742053:{e=2;break}case 1073742050:{e=256;break}case 1073742054:{e=512;break}case 1073742051:{e=1024;break}case 1073742055:{e=2048;break}case 1073742081:{e=16384;break}default:e=0}a:do if((k|0)==768){g=d[250074]|0;switch(i|0){case 1073741907:{h=g;e=g^4096;break a}case 1073741881:{h=g;e=g^8192;break a}default:{h=g;e=(e|g&65535)&65535;break a}}}else{e=(e^65535)&(j[250074]|0)&65535;h=e}while(0);d[250074]=e;if((Fab(k,-1)|0)<<24>>24!=1){m=0;u=n;return m|0}f[m>>2]=k;b[m+12>>0]=a;b[m+13>>0]=l;e=m+16|0;f[e>>2]=c;f[e+4>>2]=i;d[e+8>>1]=h;e=f[125036]|0;if(!e)e=0;else e=f[e+4>>2]|0;f[m+8>>2]=e;m=(Lab(m)|0)>0&1;u=n;return m|0}function Zdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=f[125678]|0;a:do if((e|0)>0){d=f[125679]|0;c=0;while(1){g=f[d+(c<<2)>>2]|0;if((f[g>>2]|0)==(a|0)?(f[g+4>>2]|0)==(b|0):0)break;c=c+1|0;if((c|0)>=(e|0)){c=d;break a}}return c|0}else c=f[125679]|0;while(0);c=C9a(c,(e<<2)+4|0)|0;if(!c){g=Y4a(0)|0;return g|0}f[125679]=c;c=f[125678]|0;d=K5a(24)|0;f[(f[125679]|0)+(c<<2)>>2]=d;if(!d){g=Y4a(0)|0;return g|0}else{f[125678]=(f[125678]|0)+1;g=d;f[g>>2]=a;f[g+4>>2]=b;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;eeb(a,b)|0;g=c;return g|0}return 0}function _db(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!((a|0)==0|(c|0)!=0)?(cbb(a,d,e)|0)==0:0){e=0;return e|0}e=dbb(a,b,c,d,e)|0;return e|0}function $db(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ceb(a,b,c,d,-1)|0}function aeb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=+g;h=+h;i=+i;var j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0;y=u;u=u+64|0;m=y+56|0;t=y;l=f[125678]|0;a:do if((l|0)>0){k=f[125679]|0;j=0;while(1){o=f[k+(j<<2)>>2]|0;v=o;if((f[v>>2]|0)==(a|0)?(f[v+4>>2]|0)==(b|0):0)break;j=j+1|0;if((j|0)>=(l|0))break a}if((j|0)<(l|0)){if(!o){x=-1;u=y;return x|0}v=o+8|0;m=f[v>>2]|0;b:do if((m|0)>0){l=f[o+16>>2]|0;j=0;while(1){k=f[l+(j<<2)>>2]|0;z=k;if((f[z>>2]|0)==(c|0)?(f[z+4>>2]|0)==(d|0):0)break;j=j+1|0;if((j|0)>=(m|0)){j=0;break b}}j=(j|0)<(m|0)?k:0}else j=0;while(0);k=(j|0)!=0;if(e|0){if(k){z=0;u=y;return z|0}l=o+12|0;k=o+16|0;do if((m|0)==(f[l>>2]|0)){j=C9a(f[k>>2]|0,(m<<2)+4|0)|0;if(j|0?(f[k>>2]=j,q=K5a(24)|0,p=f[l>>2]|0,f[(f[k>>2]|0)+(p<<2)>>2]=q,q=f[k>>2]|0,f[q+(p<<2)>>2]|0):0){f[l>>2]=p+1;r=f[v>>2]|0;s=q;x=20;break}if((Y4a(0)|0)<0){z=0;u=y;return z|0}}else{r=m;s=f[k>>2]|0;x=20}while(0);if((x|0)==20){f[v>>2]=r+1;z=f[s+(r<<2)>>2]|0;x=z;f[x>>2]=c;f[x+4>>2]=d;n[z+8>>2]=g;n[z+12>>2]=h;n[z+16>>2]=i}if((Fab(1792,-1)|0)<<24>>24!=1){z=0;u=y;return z|0}f[t>>2]=1792;z=t+8|0;f[z>>2]=a;f[z+4>>2]=b;z=t+16|0;f[z>>2]=c;f[z+4>>2]=d;n[t+24>>2]=g;n[t+28>>2]=h;n[t+32>>2]=0.0;n[t+36>>2]=0.0;n[t+40>>2]=i;z=(Lab(t)|0)>0&1;u=y;return z|0}if(!k){z=0;u=y;return z|0}if((Fab(1793,-1)|0)<<24>>24==1){f[t>>2]=1793;z=t+8|0;f[z>>2]=a;f[z+4>>2]=b;a=t+16|0;f[a>>2]=c;f[a+4>>2]=d;f[t+24>>2]=f[j+8>>2];f[t+28>>2]=f[j+12>>2];n[t+32>>2]=0.0;n[t+36>>2]=0.0;n[t+40>>2]=i;a=(Lab(t)|0)>0&1;b=f[v>>2]|0;if((b|0)<=0){z=a;u=y;return z|0}k=o+16|0;l=f[k>>2]|0;j=0;while(1){m=l+(j<<2)|0;e=f[m>>2]|0;z=e;if((f[z>>2]|0)==(c|0)?(f[z+4>>2]|0)==(d|0):0)break;j=j+1|0;if((j|0)>=(b|0)){w=a;x=36;break}}if((x|0)==36){u=y;return w|0}z=b+-1|0;f[v>>2]=z;f[m>>2]=f[l+(z<<2)>>2];f[(f[k>>2]|0)+(z<<2)>>2]=e;z=a;u=y;return z|0}else{a=f[v>>2]|0;if((a|0)<=0){z=0;u=y;return z|0}k=o+16|0;l=f[k>>2]|0;j=0;while(1){m=l+(j<<2)|0;e=f[m>>2]|0;z=e;if((f[z>>2]|0)==(c|0)?(f[z+4>>2]|0)==(d|0):0)break;j=j+1|0;if((j|0)>=(a|0)){w=0;x=36;break}}if((x|0)==36){u=y;return w|0}z=a+-1|0;f[v>>2]=z;f[m>>2]=f[l+(z<<2)>>2];f[(f[k>>2]|0)+(z<<2)>>2]=e;z=0;u=y;return z|0}}}while(0);c5a(464457,m)|0;z=-1;u=y;return z|0}function beb(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;g=+g;h=+h;var i=0,j=0,k=0,l=0,m=0.0,o=0.0,p=0,q=0,r=0,s=0;r=u;u=u+64|0;p=r+56|0;q=r;l=f[125678]|0;a:do if((l|0)>0){j=f[125679]|0;i=0;while(1){k=f[j+(i<<2)>>2]|0;s=k;if((f[s>>2]|0)==(a|0)?(f[s+4>>2]|0)==(b|0):0)break;i=i+1|0;if((i|0)>=(l|0))break a}if((i|0)<(l|0)){if(!k){s=-1;u=r;return s|0}l=f[k+8>>2]|0;b:do if((l|0)>0){j=f[k+16>>2]|0;i=0;while(1){p=f[j+(i<<2)>>2]|0;s=p;if((f[s>>2]|0)==(c|0)?(f[s+4>>2]|0)==(d|0):0)break;i=i+1|0;if((i|0)>=(l|0))break b}if(!((i|0)>=(l|0)|(p|0)==0)){j=p+8|0;m=e-+n[j>>2];k=p+12|0;o=g-+n[k>>2];i=p+16|0;if(!(m!=0.0|o!=0.0|h-+n[i>>2]!=0.0)){s=0;u=r;return s|0}n[j>>2]=e;n[k>>2]=g;n[i>>2]=h;if((Fab(1794,-1)|0)<<24>>24!=1){s=0;u=r;return s|0}f[q>>2]=1794;s=q+8|0;f[s>>2]=a;f[s+4>>2]=b;s=q+16|0;f[s>>2]=c;f[s+4>>2]=d;n[q+24>>2]=e;n[q+28>>2]=g;n[q+32>>2]=m;n[q+36>>2]=o;n[q+40>>2]=h;s=(Lab(q)|0)>0&1;u=r;return s|0}}while(0);s=aeb(a,b,c,d,1,e,g,h)|0;u=r;return s|0}}while(0);c5a(464457,p)|0;s=-1;u=r;return s|0}function ceb(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;r=u;u=u+64|0;q=r;i=f[125018]|0;switch(d<<24>>24){case 1:{h=i|1<<(e&255)+-1;if(!a){o=1025;p=0;j=1}else{cbb(a,f[125012]|0,f[125013]|0)|0;o=1025;i=f[125018]|0;p=1;j=1}break}case 0:{h=i&~(1<<(e&255)+-1);o=1026;p=(a|0)!=0;j=0;break}default:{d=0;u=r;return d|0}}if((h|0)==(i|0)){d=0;u=r;return d|0}f[125018]=h;do if((g|0)<0){l=e&255;if((f[125021]|0)<=(l|0)){i=l+1|0;g=C9a(f[125022]|0,i<<4)|0;if(!g){g=1;break}f[125022]=g;h=f[125021]|0;if((h|0)<=(l|0)?(P5a(g+(h<<4)|0,0,16)|0,(h|0)<(l|0)):0)do{h=h+1|0;P5a((f[125022]|0)+(h<<4)|0,0,16)|0}while((h|0)!=(l|0));f[125021]=i}g=f[125022]|0;i=g+(l<<4)|0;if(!i)g=1;else{do if(j){j=Oab()|0;k=g+(l<<4)+8|0;if((((f[k>>2]|0)-j+500|0)>=1?(deb((f[125012]|0)-(f[i>>2]|0)|0)|0)<=1:0)?(m=g+(l<<4)+4|0,(deb((f[125013]|0)-(f[m>>2]|0)|0)|0)<=1):0){g=g+(l<<4)+12|0;h=b[g>>0]|0;f[k>>2]=j;f[i>>2]=f[125012];f[m>>2]=f[125013];if(h<<24>>24==-1){h=-1;break}}else{h=i;n=21}if((n|0)==21){n=g+(l<<4)+12|0;b[n>>0]=0;f[k>>2]=j;f[h>>2]=f[125012];f[g+(l<<4)+4>>2]=f[125013];g=n;h=0}h=h+1<<24>>24;b[g>>0]=h}else h=b[g+(l<<4)+12>>0]|0;while(0);g=h&255}}while(0);if((Fab(o,-1)|0)<<24>>24==1){f[q>>2]=o;h=f[125011]|0;if(!h)h=0;else h=f[h+4>>2]|0;f[q+8>>2]=h;f[q+12>>2]=c;b[q+17>>0]=d;b[q+16>>0]=e;b[q+18>>0]=(g|0)<255?g:255;f[q+20>>2]=f[125012];f[q+24>>2]=f[125013];h=(Lab(q)|0)>0&1}else h=0;if(!(d<<24>>24==0&p)){d=h;u=r;return d|0}cbb(a,f[125012]|0,f[125013]|0)|0;d=h;u=r;return d|0}function deb(a){a=a|0;return ((a|0)>-1?a:0-a|0)|0}function eeb(a,b){a=a|0;b=b|0;var c=0,d=0;c=C9a(f[124993]|0,((f[124992]|0)*8232|0)+8232|0)|0;if(!c){c=Y4a(0)|0;return c|0}else{f[124993]=c;P5a(c+((f[124992]|0)*8232|0)|0,0,8232)|0;c=f[124992]|0;d=(f[124993]|0)+(c*8232|0)|0;f[d>>2]=a;f[d+4>>2]=b;f[124992]=c+1;c=0;return c|0}return 0}function feb(){var a=0;a=0;do{if((b[500150+a>>0]|0)==1)Ydb(0,a)|0;a=a+1|0}while((a|0)!=512);return}function geb(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;j=u;u=u+64|0;i=j;do if(a|0?(g=f[125011]|0,(g|0)!=(a|0)):0){if(g|0)tab(g,11,0,0)|0;f[125011]=a;tab(a,10,0,0)|0;a=(f[125011]|0)==0?f[125024]|0:f[125025]|0;g=f[125002]|0;h=(g|0)==0;if((a|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(h)break;_i[g&2047](a)|0;break}else{if(h)break;_i[g&2047](0)|0;break}}while(0);if(!(d|c)){i=0;u=j;return i|0}if((Fab(1027,-1)|0)<<24>>24!=1){i=0;u=j;return i|0}f[i>>2]=1027;a=f[125011]|0;if(!a)a=0;else a=f[a+4>>2]|0;f[i+8>>2]=a;f[i+12>>2]=b;f[i+16>>2]=c;f[i+20>>2]=d;f[i+24>>2]=e;i=(Lab(i)|0)>0&1;u=j;return i|0}function heb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=u;u=u+16|0;e=g;do if(f[125008]|0){b=jeb()|0;c=(b|0)!=0;if(c)d=(f[b+48>>2]|0)>>>14&1;else d=0;if((d|0)!=(a|0)){if(!a){if((_i[f[500032>>2]&2047](0)|0)==-1){a=-1;break}a=b+48|0;f[a>>2]=f[a>>2]&-16385;a=0;break}if(!c){a=c5a(464478,e)|0;break}if((_i[f[500032>>2]&2047](b)|0)==-1)a=-1;else{a=b+48|0;f[a>>2]=f[a>>2]|16384;a=0}}else a=0}else a=Y4a(4)|0;while(0);u=g;return a|0}function ieb(){return f[124995]|0}function jeb(){return f[125036]|0}function keb(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;n=u;u=u+800|0;i=n+512|0;j=n+784|0;k=n+780|0;l=n;f[j>>2]=0;m=a+676|0;e=f[m>>2]|0;if(!e){m=-1;u=n;return m|0}f[i>>2]=12324;f[i+4>>2]=f[a+292>>2];f[i+8>>2]=12323;f[i+12>>2]=f[a+296>>2];f[i+16>>2]=12322;f[i+20>>2]=f[a+300>>2];b=f[a+304>>2]|0;if(!b)b=6;else{f[i+24>>2]=12321;f[i+28>>2]=b;b=8}c=f[a+312>>2]|0;d=b|1;if(!c)c=b;else{f[i+(b<<2)>>2]=12320;f[i+(d<<2)>>2]=c;c=d+1|0}f[i+(c<<2)>>2]=12325;b=c+2|0;f[i+(c+1<<2)>>2]=f[a+308>>2];d=f[a+316>>2]|0;if(d){f[i+(b<<2)>>2]=12326;f[i+(c+3<<2)>>2]=d;b=c+4|0}c=f[a+344>>2]|0;if(c){f[i+(b<<2)>>2]=12338;f[i+(b+1<<2)>>2]=c;b=b+2|0}c=f[a+348>>2]|0;if(!c)c=b;else{f[i+(b<<2)>>2]=12337;f[i+(b+1<<2)>>2]=c;c=b+2|0}if(f[a+380>>2]|0){m=c5a(464498,n+768|0)|0;u=n;return m|0}f[i+(c<<2)>>2]=12352;if((f[a+368>>2]|0)==4){b=(f[a+356>>2]|0)>1?4:1;_i[f[e+84>>2]&2047](12448)|0}else{_i[f[e+84>>2]&2047](12450)|0;b=8}f[i+(c+1<<2)>>2]=b;f[i+(c+2<<2)>>2]=12344;h=f[m>>2]|0;h=(hj[f[h+36>>2]&63](f[h+8>>2]|0,i,l,128,j)|0)==0;b=f[j>>2]|0;if(h|(b|0)==0){m=c5a(464559,n+776|0)|0;u=n;return m|0}if((b|0)<=0){m=0;u=n;return m|0}b=-1;h=0;do{g=l+(h<<2)|0;e=0;c=0;do{d=f[i+(e<<2)>>2]|0;if((d|0)==12344)break;a=i+((e|1)<<2)|0;if((d+-12321|0)>>>0<6&(f[a>>2]|0)!=-1){o=f[m>>2]|0;ej[f[o+72>>2]&63](f[o+8>>2]|0,f[g>>2]|0,d,k)|0;c=(f[k>>2]|0)+c-(f[a>>2]|0)|0}e=e+2|0}while(e>>>0<63);if((b|0)==-1|(c|0)<(b|0)){f[(f[m>>2]|0)+12>>2]=f[g>>2];b=c}h=h+1|0}while(c|0?(h|0)<(f[j>>2]|0):0);b=0;u=n;return b|0}function leb(){var a=0,b=0,c=0,d=0,e=0;c=vab()|0;d=c+96|0;e=f[d>>2]|0;if(e|0){b=e+4|0;a=f[b>>2]|0;if(a|0){if(f[a+4>>2]|0){A5a(f[a>>2]|0);a=f[b>>2]|0}A5a(a)}A5a(e)}f[d>>2]=0;f[c>>2]=0;f[c+8>>2]=0;f[c+16>>2]=0;f[c+20>>2]=0;f[c+4>>2]=0;f[c+28>>2]=0;return}function meb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+80|0;c=d;P5a(c,0,68)|0;b=c+16|0;if(a|0){f[b>>2]=f[a>>2];f[b+4>>2]=f[a+4>>2];f[b+8>>2]=f[a+8>>2];f[b+12>>2]=f[a+12>>2];f[b+16>>2]=f[a+16>>2]}a=c+36|0;f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];f[a+12>>2]=f[b+12>>2];f[a+16>>2]=f[b+16>>2];c=web(c)|0;u=d;return c|0}function neb(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;c=a+12|0;d=f[c>>2]|0;n=a+8|0;o=f[n>>2]|0;a:do if((o|0)>0){k=b+4|0;l=b+8|0;m=b+12|0;j=0;b:while(1){i=d+(j*20|0)|0;if((i|0)==(b|0)){c=0;e=20;break}e=f[k>>2]|0;g=f[d+(j*20|0)+4>>2]|0;do if((g|0)==(e|0)){e=f[l>>2]|0;g=f[d+(j*20|0)+8>>2]|0;if((g|0)!=(e|0)){e=g-e|0;break}g=f[b>>2]|0;h=g>>>8&255;i=f[i>>2]|0;e=i>>>8&255;if((e|0)!=(h|0)){e=e-h|0;break}g=g>>>16&15;e=i>>>16&15;if((e|0)==(g|0)){e=f[m>>2]|0;g=f[d+(j*20|0)+12>>2]|0;if((g|0)==(e|0)){c=0;e=20;break b}else{e=g-e|0;break}}else{e=e-g|0;break}}else e=g-e|0;while(0);j=j+1|0;if(!e){c=0;e=20;break}if((j|0)>=(o|0))break a}if((e|0)==20)return c|0}while(0);e=a+4|0;do if((o|0)==(f[e>>2]|0)){d=C9a(d,(o*20|0)+640|0)|0;if(!d){o=0;return o|0}else{f[c>>2]=d;f[e>>2]=(f[e>>2]|0)+32;break}}while(0);o=d+(o*20|0)|0;f[o>>2]=f[b>>2];f[o+4>>2]=f[b+4>>2];f[o+8>>2]=f[b+8>>2];f[o+12>>2]=f[b+12>>2];f[o+16>>2]=f[b+16>>2];o=(f[n>>2]|0)+1|0;f[n>>2]=o;lbb(f[c>>2]|0,o,20,490);o=1;return o|0}function oeb(){var a=0,b=0;a=vab()|0;f[a>>2]=220;f[a+8>>2]=1089;f[a+16>>2]=1524;f[a+20>>2]=238;f[a+4>>2]=1090;f[a+28>>2]=1091;a=X4a(1,8)|0;if(!a){Y4a(0)|0;b=a;veb(b);return}b=X4a(1,8)|0;if(!b){Y4a(0)|0;A5a(a);b=0;veb(b);return}else{f[b>>2]=464678;f[b+4>>2]=0;f[a+4>>2]=b;b=a;veb(b);return}}function peb(a,b,c){a=a|0;b=b|0;c=c|0;b=dcb(a,376840196,0)|0;if(!b){a=0;return a|0}a=kc(5,f[a+8>>2]|0,f[a+12>>2]|0,f[b+20>>2]|0)|0;S5a(b);b=X4a(1,8)|0;if(!b){Y4a(0)|0;a=b;return a|0}c=X4a(1,8)|0;if(!c){Y4a(0)|0;A5a(b);a=0;return a|0}else{f[c>>2]=a;f[c+4>>2]=1;f[b+4>>2]=c;a=b;return a|0}return 0}function qeb(a){a=a|0;var b=0;if(!(hbb()|0))return 0;if(a|0?(b=f[a+4>>2]|0,b|0):0){a=f[b>>2]|0;if(!a)return 0;ic(6,a|0)|0;return 0}hc(7)|0;return 0}function reb(a){a=a|0;var b=0,c=0;if(!a)return;c=a+4|0;b=f[c>>2]|0;if(b|0){if(f[b+4>>2]|0){A5a(f[b>>2]|0);b=f[c>>2]|0}A5a(b)}A5a(a);return}function seb(a,b,c){a=a|0;b=b|0;c=c|0;Y4a(4)|0;return}function teb(a){a=a|0;var b=0,c=0;do switch(a|0){case 0:{a=464678;break}case 1:{a=464774;break}case 2:{a=464769;break}case 3:{a=464759;break}case 4:{a=464750;break}case 5:{a=464738;break}case 6:{a=464726;break}case 7:{a=464716;break}case 8:{a=464706;break}case 9:{a=0;break}case 10:{a=464694;break}case 11:{a=464686;break}default:{c=0;return c|0}}while(0);b=X4a(1,8)|0;if(!b){Y4a(0)|0;c=b;return c|0}c=X4a(1,8)|0;if(!c){Y4a(0)|0;A5a(b);c=0;return c|0}else{f[c>>2]=a;f[c+4>>2]=0;f[b+4>>2]=c;c=b;return c|0}return 0}function ueb(a){a=a|0;if(!a){if((oc()|0)>-1){a=0;return a|0}}else if((Ug(0,1)|0)>-1){a=0;return a|0}a=-1;return a|0}function veb(a){a=a|0;var b=0,c=0;f[125024]=a;if(f[125025]|0)return;if(!a)a=0;else f[125025]=a;c=f[125002]|0;b=(c|0)==0;if((a|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(b)return;_i[c&2047](a)|0;return}else{if(b)return;_i[c&2047](0)|0;return}}function web(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+32|0;h=k;c=f[124995]|0;c=C9a(f[c+268>>2]|0,((f[c+264>>2]|0)*68|0)+68|0)|0;if(!c){Y4a(0)|0;j=-1;u=k;return j|0}b=f[124995]|0;j=b+264|0;i=f[j>>2]|0;f[j>>2]=i+1;j=c+(i*68|0)|0;d=j;e=a;g=d+68|0;do{f[d>>2]=f[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(g|0));f[c+(i*68|0)+60>>2]=b;f[b+268>>2]=c;a=f[a>>2]|0;if(!a){yeb(i,h,10)|0;h=xeb(h)|0;f[j>>2]=h;j=i;u=k;return j|0}else{h=xeb(a)|0;f[j>>2]=h;j=i;u=k;return j|0}return 0}function xeb(a){a=a|0;return Wmb(a)|0}function yeb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if((a|0)<0){g=c+1|0;b[c>>0]=45;a=0-a|0;e=g;do{f=a;a=(a>>>0)/(d>>>0)|0;i=248704+(f-(W(a,d)|0))|0;h=e;e=e+1|0;b[h>>0]=b[i>>0]|0}while(f>>>0>=d>>>0);b[e>>0]=0;e=Rmb(g)|0;a=e>>>1;if(!a)return c|0;f=c+e|0;e=g;while(1){a=a+-1|0;i=b[e>>0]|0;b[e>>0]=b[f>>0]|0;b[f>>0]=i;if(!a)break;else{f=f+-1|0;e=e+1|0}}return c|0}if(!a){b[c>>0]=48;a=c+1|0}else{e=a;f=c;while(1){i=e;e=(e>>>0)/(d>>>0)|0;h=248704+(i-(W(e,d)|0))|0;a=f+1|0;b[f>>0]=b[h>>0]|0;if(i>>>0<d>>>0)break;else f=a}}b[a>>0]=0;a=Rmb(c)|0;d=a>>>1;if(!d)return c|0;e=c+(a+-1)|0;f=c;a=d;while(1){a=a+-1|0;i=b[f>>0]|0;b[f>>0]=b[e>>0]|0;b[e>>0]=i;if(!a)break;else{e=e+-1|0;f=f+1|0}}return c|0}function zeb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;if(!((a|0)!=0&(b|0)!=0)){c=0;return c|0}if(c>>>0<2&($5a(a)|0)!=0){c=0;return c|0}d=f[124998]|0;a:do if(d|0){while(1){if(!(gab(a,f[d>>2]|0)|0))break;d=f[d+16>>2]|0;if(!d)break a}g=d+8|0;if((f[g>>2]|0)>>>0>c>>>0){c=0;return c|0}h=d+4|0;e=f[h>>2]|0;if(!((e|0)!=0?!(gab(e,b)|0):0)){d=f[d+12>>2]|0;if(d|0)do{e=d;d=f[d+8>>2]|0;Ij[f[e>>2]&127](f[e+4>>2]|0,a,f[h>>2]|0,b)}while((d|0)!=0);A5a(f[h>>2]|0);b=xeb(b)|0;f[h>>2]=b}f[g>>2]=c;c=1;return c|0}while(0);d=K5a(20)|0;if(!d){c=0;return c|0}a=xeb(a)|0;f[d>>2]=a;b=xeb(b)|0;f[d+4>>2]=b;f[d+8>>2]=c;f[d+12>>2]=0;f[d+16>>2]=f[124998];f[124998]=d;c=1;return c|0}function Aeb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;f[a+4>>2]=39;f[a+40>>2]=1525;f[a+72>>2]=1;f[a+64>>2]=1;f[a+60>>2]=1;c=hc(8)|0;if(!c){c5a(465981,d)|0;b=0}else b=(hc(9)|0)!=0&1;f[a+68>>2]=b;f[a+76>>2]=b;u=d;return c|0}function Beb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0.0,i=0,k=0,l=0,m=0.0,n=0,o=0;o=u;u=u+16|0;l=o+8|0;if((ic(10,e|0)|0)<0){e=c5a(467755,o)|0;u=o;return e|0}n=a+4|0;k=a+8|0;b=Deb(d[k>>1]|0)|0;if(b<<16>>16){c=0;do{if(b<<16>>16==-32480){d[k>>1]=-32480;c=1}b=Eeb()|0;i=(c|0)!=0}while(b<<16>>16!=0&(i^1));if(i){b=K5a(20)|0;l=a+180|0;f[l>>2]=b;if(!b){e=Y4a(0)|0;u=o;return e|0}P5a(b,0,20)|0;i=hc(11)|0;b=f[n>>2]|0;k=a+12|0;if((b|0)!=(i|0)){c=d[k>>1]|0;a:do if(c<<16>>16){m=+(i|0);g=+(c&65535)/m*+(b|0);if(!(+pcb(g)==g)){b=c&65535;do{if((b|0)<=1)break a;b=b+-1|0;g=+(b|0)/m*+(f[n>>2]|0)}while(!(+pcb(g)==g))}c=~~+pcb(g)>>>0;f[(f[l>>2]|0)+8>>2]=c}while(0);f[n>>2]=i}Feb(n);c=h[a+10>>0]|0;b=j[k>>1]|0;if(!e){lc(13,c|0,b|0,1527,a|0)|0;e=0;u=o;return e|0}else{lc(12,c|0,b|0,1526,a|0)|0;e=0;u=o;return e|0}}}e=c5a(467787,l)|0;u=o;return e|0}function Ceb(a){a=a|0;ic(14,f[a+144>>2]|0)|0;a=a+180|0;A5a(f[f[a>>2]>>2]|0);A5a(f[a>>2]|0);return}function Deb(a){a=a|0;f[125680]=0;if(a<<16>>16!=8){f[125680]=1;if(a<<16>>16!=-32760){f[125680]=2;if(a<<16>>16!=-32752){f[125680]=3;if(a<<16>>16!=-28656){f[125680]=4;if(a<<16>>16!=16){f[125680]=5;if(a<<16>>16!=4112){f[125680]=6;if(a<<16>>16!=-32736){f[125680]=7;if(a<<16>>16!=-28640){f[125680]=8;if(a<<16>>16!=-32480){f[125680]=9;if(a<<16>>16==-28384)a=9;else{f[125680]=10;f[125681]=0;a=0;return a|0}}else a=8}else a=7}else a=6}else a=5}else a=4}else a=3}else a=2}else a=1}else a=0;f[125681]=1;a=d[248752+(a*20|0)>>1]|0;return a|0}function Eeb(){var a=0,b=0;a=f[125680]|0;b=f[125681]|0;if((a|0)==10|(b|0)==10){b=0;return b|0}f[125681]=b+1;b=d[248752+(a*20|0)+(b<<1)>>1]|0;return b|0}function Feb(a){a=a|0;var c=0;c=d[a+4>>1]|0;b[a+7>>0]=c<<16>>16==8?-128:0;c=W(h[a+6>>0]|0,(c&65535)>>>3&31)|0;c=W(c,j[a+8>>1]|0)|0;f[a+12>>2]=c;return}function Geb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;if(!(Yab(a+136|0)|0))return;if(Yab(a+140|0)|0)return;g=a+28|0;if(!(f[g>>2]|0)){b=a+180|0;c=f[f[b>>2]>>2]|0;e=a+16|0;if(!c){c=K5a(f[e>>2]|0)|0;f[f[b>>2]>>2]=c;if(!c)return;else{b=e;d=c;c=e}}else{b=e;d=c;c=e}}else{b=a+52|0;d=f[a+44>>2]|0;c=a+16|0}b=f[b>>2]|0;jc(15,d|0,((f[c>>2]|0)>>>2>>>0)/((h[a+10>>0]|0)>>>0)|0|0)|0;if(f[g>>2]|0)Ieb(g)|0;Fj[f[a+20>>2]&511](f[a+24>>2]|0,d,b);return}function Heb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=(j[a+8>>1]|0)>>>3&31;if(!(Yab(a+136|0)|0))return;if(Yab(a+140|0)|0)return;r=a+28|0;s=a+180|0;c=f[s>>2]|0;if(f[r>>2]|0){b=f[c+8>>2]|0;if(!b){b=a+48|0;n=b;b=f[b>>2]|0}else{b=W(W(b,h[a+10>>0]|0)|0,(j[a+32>>1]|0)>>>3&31)|0;n=a+48|0;f[n>>2]=b}o=a+20|0;p=a+24|0;q=a+44|0;Fj[f[o>>2]&511](f[p>>2]|0,f[q>>2]|0,b);Ieb(r)|0;l=a+52|0;b=f[l>>2]|0;m=a+16|0;d=f[m>>2]|0;if((b|0)==(d|0))c=f[q>>2]|0;else{e=f[s>>2]|0;c=f[e>>2]|0;if(!c){c=(d>>>0>b>>>0?d:b)<<1;f[e+4>>2]=c;c=K5a(c)|0;e=f[s>>2]|0;f[e>>2]=c;b=f[l>>2]|0}i=e+12|0;d=f[i>>2]|0;k=f[e+4>>2]|0;if((b+d|0)>>>0>k>>>0){e=e+16|0;g=f[e>>2]|0;if(d>>>0>g>>>0){j6a(c,c+g|0,k-g|0)|0;c=f[s>>2]|0;b=c+12|0;e=c+16|0;d=(f[b>>2]|0)-(f[e>>2]|0)|0;f[b>>2]=d;b=f[l>>2]|0;c=f[c>>2]|0}else{f[i>>2]=0;d=0}f[e>>2]=0}M5a(c+d|0,f[q>>2]|0,b)|0;d=f[s>>2]|0;e=d+12|0;k=(f[e>>2]|0)+(f[l>>2]|0)|0;f[e>>2]=k;e=d+16|0;c=f[e>>2]|0;b=f[m>>2]|0;if((k-c|0)>>>0<b>>>0){do{Fj[f[o>>2]&511](f[p>>2]|0,f[q>>2]|0,f[n>>2]|0);Ieb(r)|0;c=f[s>>2]|0;i=c+12|0;d=f[i>>2]|0;b=f[l>>2]|0;k=f[c+4>>2]|0;if((b+d|0)>>>0>k>>>0){e=c+16|0;g=f[e>>2]|0;if(d>>>0>g>>>0){c=f[c>>2]|0;j6a(c,c+g|0,k-g|0)|0;c=f[s>>2]|0;b=c+12|0;e=c+16|0;d=(f[b>>2]|0)-(f[e>>2]|0)|0;f[b>>2]=d;b=f[l>>2]|0}else{f[i>>2]=0;d=0}f[e>>2]=0}M5a((f[c>>2]|0)+d|0,f[q>>2]|0,b)|0;d=f[s>>2]|0;c=d+12|0;k=(f[c>>2]|0)+(f[l>>2]|0)|0;f[c>>2]=k;c=f[d+16>>2]|0;b=f[m>>2]|0}while((k-c|0)>>>0<b>>>0);e=d+16|0}s=(f[d>>2]|0)+c|0;f[e>>2]=c+b;c=s}}else{b=f[c>>2]|0;if(!b){b=f[a+16>>2]|0;f[c+4>>2]=b;b=K5a(b)|0;c=f[s>>2]|0;f[c>>2]=b}Fj[f[a+20>>2]&511](f[a+24>>2]|0,b,f[c+4>>2]|0);b=f[s>>2]|0;c=f[b>>2]|0;b=f[b+4>>2]|0}if(!c)return;jc(16,c|0,((b|0)/(t|0)|0|0)/(h[a+10>>0]|0|0)|0|0)|0;return}function Ieb(a){a=a|0;var c=0,d=0,e=0;d=u;u=u+16|0;c=a+16|0;if(!(h[c>>0]|h[c+1>>0]<<8|h[c+2>>0]<<16|h[c+3>>0]<<24)){c5a(470343,d)|0;c=-1;u=d;return c|0}e=a+20|0;e=h[e>>0]|h[e+1>>0]<<8|h[e+2>>0]<<16|h[e+3>>0]<<24;c=a+24|0;b[c>>0]=e;b[c+1>>0]=e>>8;b[c+2>>0]=e>>16;b[c+3>>0]=e>>24;c=a+40|0;c=h[c>>0]|h[c+1>>0]<<8|h[c+2>>0]<<16|h[c+3>>0]<<24;if(!c){e=0;u=d;return e|0}e=a+80|0;b[e>>0]=0;b[e+1>>0]=0;b[e+2>>0]=0;b[e+3>>0]=0;e=a+4|0;Bj[c&1023](a,h[e>>0]|h[e+1>>0]<<8);e=0;u=d;return e|0}function Jeb(){var a=0;a=$5a(472950)|0;if(a|0?(gab(a,471695)|0)==0:0){a=1;return a|0}a=0;return a|0}function Keb(a){a=a|0;a=X4a(1,688)|0;if(!a){Y4a(0)|0;a=0;return a|0}else{f[a+4>>2]=1092;f[a+8>>2]=1528;f[a+28>>2]=221;f[a+204>>2]=1529;f[a+132>>2]=44;f[a+136>>2]=40;f[a+140>>2]=812;f[a+684>>2]=1530;return a|0}return 0}function Leb(a){a=a|0;var b=0,c=0;c=u;u=u+32|0;b=c;f[b>>2]=370546692;f[b+4>>2]=1024;f[b+8>>2]=768;f[b+12>>2]=0;f[b+16>>2]=0;if((meb(b)|0)<0){b=-1;u=c;return b|0}P5a(b,0,20)|0;neb(f[a+268>>2]|0,b)|0;b=0;u=c;return b|0}function Meb(a){a=a|0;return}function Neb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Oeb(a){a=a|0;return}function Peb(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,k=0,l=0,m=0;g=u;u=u+32|0;m=g+24|0;l=g+20|0;k=g+16|0;j=g+12|0;i=g+8|0;h=g+4|0;a=g;S5a(Ueb(b,471220)|0);Y9a(370546692,k,j,i,h,a)|0;Z9a(b,m,l);a=Pbb(0,f[m>>2]|0,f[l>>2]|0,f[k>>2]|0,f[j>>2]|0,f[i>>2]|0,f[h>>2]|0,f[a>>2]|0)|0;if(!a){m=-1;u=g;return m|0}Teb(b,471220,a)|0;f[c>>2]=370546692;f[d>>2]=f[a+20>>2];f[e>>2]=f[a+16>>2];m=0;u=g;return m|0}function Qeb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+144|0;d=e+136|0;a=e;c=Ueb(b,471220)|0;if(!c){b=c5a(471238,e+128|0)|0;u=e;return b|0}if(!($5a(471277)|0)){b=0;u=e;return b|0}g=Veb(b)|0;b=(f[125682]|0)+1|0;f[125682]=b;f[d>>2]=g;f[d+4>>2]=b;mab(a,128,471305,d)|0;Xeb(c,Web(a,471598)|0,1)|0;b=0;u=e;return b|0}function Reb(a,b){a=a|0;b=b|0;S5a(Teb(b,471220,0)|0);return}function Seb(a){a=a|0;A5a(a);return}function Teb(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;h=j+16|0;g=j+8|0;e=f[124995]|0;if(!e){c5a(458271,j)|0;d=0;u=j;return d|0}if(a|0?(f[a>>2]|0)==(e+280|0):0){if(c|0?b[c>>0]|0:0){i=a+140|0;a=f[i>>2]|0;a:do if(a|0){h=0;while(1){e=f[a>>2]|0;if(e|0?(gab(e,c)|0)==0:0)break;e=f[a+8>>2]|0;if(!e)break a;else{h=a;a=e}}e=a+4|0;g=f[e>>2]|0;if(!d){f[((h|0)==0?i:h+8|0)>>2]=f[a+8>>2];A5a(f[a>>2]|0);A5a(a);d=g;u=j;return d|0}else{f[e>>2]=d;d=g;u=j;return d|0}}while(0);if(!d){d=0;u=j;return d|0}h=K5a(12)|0;c=xeb(c)|0;f[h>>2]=c;f[h+4>>2]=d;f[h+8>>2]=f[i>>2];f[i>>2]=h;d=0;u=j;return d|0}f[h>>2]=472773;c5a(473278,h)|0;d=0;u=j;return d|0}c5a(473742,g)|0;d=0;u=j;return d|0}function Ueb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+32|0;g=h+16|0;e=h+8|0;d=f[124995]|0;a:do if(!d){c5a(458271,h)|0;a=0}else{if(a|0?(f[a>>2]|0)==(d+280|0):0){if(c|0?b[c>>0]|0:0){a=f[a+140>>2]|0;if(!a){a=0;break}while(1){d=f[a>>2]|0;if(d|0?(gab(d,c)|0)==0:0)break;a=f[a+8>>2]|0;if(!a){a=0;break a}}a=f[a+4>>2]|0;break}f[g>>2]=472773;c5a(473278,g)|0;a=0;break}c5a(473742,e)|0;a=0}while(0);u=h;return a|0}function Veb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;c=d+8|0;b=f[124995]|0;if(!b){c5a(458271,d)|0;c=0;u=d;return c|0}if(a|0?(f[a>>2]|0)==(b+280|0):0){c=f[a+4>>2]|0;u=d;return c|0}c5a(473742,c)|0;c=0;u=d;return c|0}function Web(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;e=g+8|0;d=g;if((a|0?(c|0)!=0&(b[a>>0]|0)!=0:0)?b[c>>0]|0:0){d=Kpb(a,c)|0;if(!d){f[e>>2]=a;c5a(471466,e)|0;e=0;u=g;return e|0}c=K5a(36)|0;if(!c){Y4a(0)|0;e=c;u=g;return e|0}else{f[c>>2]=1093;f[c+4>>2]=41;f[c+8>>2]=42;f[c+12>>2]=43;f[c+16>>2]=1094;f[c+28>>2]=d;f[c+24>>2]=1;f[c+20>>2]=2;e=c;u=g;return e|0}}c5a(471419,d)|0;e=0;u=g;return e|0}function Xeb(a,c,e){a=a|0;c=c|0;e=e|0;var 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;B=u;u=u+64|0;l=B+8|0;k=B;n=B+56|0;z=B+12|0;d[n>>1]=19778;if(!c){e=-1;u=B;return e|0}i=f[a+4>>2]|0;j=b[i+8>>0]|0;do if((j&255)>7){if((f[i+24>>2]|0)==0?(f[(f[a+52>>2]|0)+68>>2]&256|0)==0:0){m=6;break}O5a(z,372645892)|0;i=1;g=1;m=14}else m=6;while(0);do if((m|0)==6){g=j&255;if(f[i+4>>2]|0){if(j<<24>>24==8){A=a;o=0;p=0;m=19;break}f[k>>2]=g;c5a(471328,k)|0;break}if(((j<<24>>24==24?(f[i+12>>2]|0)==16711680:0)?(f[i+16>>2]|0)==65280:0)?(f[i+20>>2]|0)==255:0){A=a;o=0;p=0;m=19;break}O5a(z,390076419)|0;i=0;g=0;m=14}while(0);if((m|0)==14){j=Wbb(a,z,0)|0;k=(j|0)==0;if(k){f[l>>2]=h[z+8>>0];c5a(471359,l)|0}if(g)g=$ab(471392,0)|0;else g=0;if(!k){A=j;o=i;p=g;m=19}}if((m|0)==19?(J9a(A)|0)==0:0){i=A+8|0;m=A+4|0;t=W(f[i>>2]|0,h[(f[m>>2]|0)+9>>0]|0)|0;w=c+4|0;x=ej[f[w>>2]&63](c,0,0,1)|0;y=H;Yeb();v=c+12|0;ej[f[v>>2]&63](c,n,2,1)|0;Zeb(c,0)|0;_eb(c,0)|0;_eb(c,0)|0;Zeb(c,0)|0;i=f[i>>2]|0;n=A+12|0;j=f[n>>2]|0;g=f[m>>2]|0;k=h[g+8>>0]|0;q=A+16|0;l=W(f[q>>2]|0,j)|0;g=f[g+4>>2]|0;if(!g)g=0;else g=f[g>>2]|0;p=(p|0)!=0|(o|0)==0;Zeb(c,p?40:108)|0;Zeb(c,i)|0;Zeb(c,j)|0;_eb(c,1)|0;_eb(c,k)|0;Zeb(c,p?0:3)|0;Zeb(c,l)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,g)|0;Zeb(c,0)|0;if(!p){Zeb(c,16711680)|0;Zeb(c,65280)|0;Zeb(c,255)|0;Zeb(c,-16777216)|0;Zeb(c,1466527264)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0;Zeb(c,0)|0}g=f[(f[m>>2]|0)+4>>2]|0;if(g|0?(r=f[g+4>>2]|0,s=f[g>>2]|0,(s|0)>0):0){g=0;do{ej[f[v>>2]&63](c,r+(g<<2)+2|0,1,1)|0;ej[f[v>>2]&63](c,r+(g<<2)+1|0,1,1)|0;ej[f[v>>2]&63](c,r+(g<<2)|0,1,1)|0;ej[f[v>>2]&63](c,r+(g<<2)+3|0,1,1)|0;g=g+1|0}while((g|0)!=(s|0))}g=ej[f[w>>2]&63](c,0,0,1)|0;g=NDb(g|0,H|0,x|0,y|0)|0;r=f[w>>2]|0;s=MDb(x|0,y|0,10,0)|0;ej[r&63](c,s,H,0)|0;if((H|0)<0)Y4a(3)|0;Zeb(c,g)|0;r=f[w>>2]|0;s=MDb(g|0,0,x|0,y|0)|0;ej[r&63](c,s,H,0)|0;if((H|0)<0)Y4a(3)|0;k=A+20|0;i=f[q>>2]|0;s=W(i,f[n>>2]|0)|0;g=(f[k>>2]|0)+s|0;j=(t|0)%4|0;j=(j|0)==0?0:4-j|0;a:do if((s|0)>0){b:do if(!j){g=g+(0-i)|0;if((ej[f[v>>2]&63](c,g,1,t)|0)==(t|0))do{if(g>>>0<=(f[k>>2]|0)>>>0)break a;g=g+(0-(f[q>>2]|0))|0}while((ej[f[v>>2]&63](c,g,1,t)|0)==(t|0))}else{g=g+(0-i)|0;i=(ej[f[v>>2]&63](c,g,1,t)|0)==(t|0);if((j|0)<=0){if(!i)break;while(1){if(g>>>0<=(f[k>>2]|0)>>>0)break a;g=g+(0-(f[q>>2]|0))|0;if((ej[f[v>>2]&63](c,g,1,t)|0)!=(t|0))break b}}if(i)do{b[z>>0]=0;i=0;do{ej[f[v>>2]&63](c,z,1,1)|0;i=i+1|0}while((i|0)!=(j|0));if(g>>>0<=(f[k>>2]|0)>>>0)break a;g=g+(0-(f[q>>2]|0))|0}while((ej[f[v>>2]&63](c,g,1,t)|0)==(t|0))}while(0);Y4a(2)|0}while(0);g=ej[f[w>>2]&63](c,0,0,1)|0;g=NDb(g|0,H|0,x|0,y|0)|0;v=f[w>>2]|0;z=MDb(x|0,y|0,2,0)|0;ej[v&63](c,z,H,0)|0;if((H|0)<0)Y4a(3)|0;Zeb(c,g)|0;w=f[w>>2]|0;z=MDb(g|0,0,x|0,y|0)|0;ej[w&63](c,z,H,0)|0;if((H|0)<0)Y4a(3)|0;K9a(A);if((A|0)!=(a|0))S5a(A)}if(e|0)_i[f[c+16>>2]&2047](c)|0;e=((gab(b5a()|0,505031)|0)!=0)<<31>>31;u=B;return e|0}function Yeb(){f[124338]=0;return}function Zeb(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;b=ej[f[a+12>>2]&63](a,d,4,1)|0;u=c;return b|0}function _eb(a,b){a=a|0;b=b|0;var c=0,e=0;c=u;u=u+16|0;e=c;d[e>>1]=b;b=ej[f[a+12>>2]&63](a,e,2,1)|0;u=c;return b|0}function $eb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=a+4|0;c=ej[f[b>>2]&63](a,0,0,1)|0;d=H;if((d|0)<0){c=-1;d=-1;H=c;return d|0}e=ej[f[b>>2]&63](a,0,0,2)|0;g=H;ej[f[b>>2]&63](a,c,d,0)|0;c=g;d=e;H=c;return d|0}function afb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=a+28|0;if(!($pb(f[a>>2]|0,b,d)|0))a=_pb(f[a>>2]|0)|0;else a=Y4a(3)|0;H=((a|0)<0)<<31>>31;return a|0}function bfb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+28|0;a=zpb(b,c,d,f[e>>2]|0)|0;if(a|0)return a|0;if(!(Tpb(f[e>>2]|0)|0))return a|0;Y4a(1)|0;return a|0}function cfb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+28|0;a=Opb(b,c,d,f[e>>2]|0)|0;if(a|0)return a|0;if(!(Tpb(f[e>>2]|0)|0))return a|0;Y4a(2)|0;return a|0}function dfb(a){a=a|0;var b=0;if(!a){a=0;return a|0}if((f[a+24>>2]|0)!=0?(Lpb(f[a+28>>2]|0)|0)!=0:0)b=Y4a(2)|0;else b=0;A5a(a);a=b;return a|0}function efb(a){a=a|0;f[a+4>>2]=44;f[a+12>>2]=1531;f[a+16>>2]=1532;f[a+24>>2]=1095;f[a+28>>2]=222;f[a+32>>2]=1533;f[a+40>>2]=1534;f[a>>2]=5;f[a+80>>2]=1;f[a+68>>2]=1;return 1}function ffb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,i=0,k=0;k=u;u=u+16|0;i=k;g=(d|0)!=0;if((b|0)!=0|(c|0)==0){c=$5a(g?471538:471558)|0;c=(c|0)==0?(g?471509:471525):c}d=$5a(471576)|0;b=K5a(12)|0;e=a+180|0;f[e>>2]=b;if(!b){i=Y4a(0)|0;u=k;return i|0}P5a(b,0,12)|0;if(!d)d=((j[a+12>>1]|0)*1e3|0)/(f[a+4>>2]|0)|0;else d=qfb(d)|0;f[(f[e>>2]|0)+4>>2]=d;b=Web(c,g?471595:471598)|0;f[f[e>>2]>>2]=b;if(!b){i=-1;u=k;return i|0}do if(!g){d=a+16|0;b=K5a(f[d>>2]|0)|0;f[(f[e>>2]|0)+8>>2]=b;if(b|0){P5a(b,h[a+11>>0]|0,f[d>>2]|0)|0;break}i=Y4a(0)|0;u=k;return i|0}while(0);a=f[89495]|0;f[i>>2]=g?471601:471614;f[i+4>>2]=c;Rob(a,471625,i)|0;i=0;u=k;return i|0}function gfb(a){a=a|0;J5a(f[(f[a+180>>2]|0)+4>>2]|0);return}function hfb(a){a=a|0;var b=0,c=0,d=0;c=f[a+180>>2]|0;d=f[c>>2]|0;b=a+16|0;c=ej[f[d+12>>2]&63](d,f[c+8>>2]|0,1,f[b>>2]|0)|0;if((c|0)==(f[b>>2]|0))return;ofb(a);return}function ifb(a){a=a|0;return f[(f[a+180>>2]|0)+8>>2]|0}function jfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=f[a+180>>2]|0;J5a(f[e+4>>2]|0);d=f[e>>2]|0;if(d){g=ej[f[d+8>>2]&63](d,b,1,c)|0;d=c-g|0;b=b+g|0;if((d|0)>0){g=f[e>>2]|0;_i[f[g+16>>2]&2047](g)|0;f[e>>2]=0}}else d=c;P5a(b,h[a+11>>0]|0,d)|0;return c|0}function kfb(a){a=a|0;return}function lfb(a){a=a|0;var b=0,c=0;c=a+180|0;a=f[c>>2]|0;b=f[a>>2]|0;if(b){_i[f[b+16>>2]&2047](b)|0;a=f[c>>2]|0}A5a(f[a+8>>2]|0);A5a(f[c>>2]|0);return}function mfb(){nfb(0,472861,1);nfb(1,472888,2);return}function nfb(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+64|0;i=j;e=C8a(c)|0;g=K5a(e+9|0)|0;h=(g|0)==0;do if(!a)if(h){u=j;return}else{f[g>>2]=d;hab(g+8|0,c,e+1|0)|0;f[g+4>>2]=f[125711];f[125711]=g;c=f[125709]|0;f[125709]=c+1;break}else if(h){u=j;return}else{f[g>>2]=d;hab(g+8|0,c,e+1|0)|0;f[g+4>>2]=f[125712];f[125712]=g;c=f[125710]|0;f[125710]=c+1;break}while(0);if((c|0)==-1){u=j;return}if((Fab(4352,-1)|0)<<24>>24!=1){u=j;return}P5a(i,0,56)|0;f[i>>2]=4352;f[i+8>>2]=c;b[i+12>>0]=a;Lab(i)|0;u=j;return}function ofb(a){a=a|0;var c=0,d=0,e=0;e=u;u=u+64|0;c=e;d=a+136|0;if(!(Yab(d)|0)){u=e;return}tj[f[502784>>2]&2047](a);pfb(d,0)|0;tj[f[502788>>2]&2047](a);if((Fab(4353,-1)|0)<<24>>24!=1){u=e;return}P5a(c,0,56)|0;f[c>>2]=4353;f[c+8>>2]=f[a>>2];b[c+12>>0]=(f[a+144>>2]|0)!=0&1;Lab(c)|0;u=e;return}function pfb(a,b){a=a|0;b=b|0;var c=0;c=f[a>>2]|0;f[a>>2]=b;return c|0}function qfb(a){a=a|0;return Tnb(a)|0}function rfb(a){a=a|0;f[a+4>>2]=45;f[a+28>>2]=223;f[a+72>>2]=1;f[a+76>>2]=1;f[a+68>>2]=1;return 1}function sfb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function tfb(a,b,c){a=a|0;b=b|0;c=c|0;J5a(((j[a+12>>1]|0)*1e3|0)/(f[a+4>>2]|0)|0);P5a(b,h[a+11>>0]|0,c)|0;return c|0}function ufb(a){a=a|0;var c=0,d=0,e=0;e=u;u=u+16|0;d=e;Yeb();c=a>>>4&512|a;c=(c&544|0)==0?c:c|16384;vfb();if(c&16384|0){a=b[493454]|0;do if(!(a<<24>>24))if((wfb()|0)<0){d=-1;u=e;return d|0}else{xfb()|0;a=b[493454]|0;break}while(0);b[493454]=a+1<<24>>24}if(c&1|0){a=b[493440]|0;do if(!(a<<24>>24))if((yfb()|0)<0){d=-1;u=e;return d|0}else{a=b[493440]|0;break}while(0);b[493440]=a+1<<24>>24}if(c&32|0){a=b[493445]|0;do if(!(a<<24>>24))if((zfb(0)|0)<0){d=-1;u=e;return d|0}else{a=b[493445]|0;break}while(0);b[493445]=a+1<<24>>24}if(c&16|0){a=b[493444]|0;do if(!(a<<24>>24))if((Afb(0)|0)<0){d=-1;u=e;return d|0}else{a=b[493444]|0;break}while(0);b[493444]=a+1<<24>>24}if(c&512|0){a=b[493449]|0;do if(!(a<<24>>24))if((Bfb()|0)<0){d=-1;u=e;return d|0}else{a=b[493449]|0;break}while(0);b[493449]=a+1<<24>>24}if(c&8192|0){a=b[493453]|0;do if(!(a<<24>>24))if((Cfb()|0)<0){d=-1;u=e;return d|0}else{a=b[493453]|0;break}while(0);b[493453]=a+1<<24>>24}if(!(c&4096)){d=0;u=e;return d|0}d=c5a(471724,d)|0;u=e;return d|0}function vfb(){if(f[125030]|0)return;f[125030]=1;if(!(Nb(4,500124)|0)){f[125033]=1;return}else{th(500136,0)|0;return}}function wfb(){var a=0,b=0,c=0,d=0,e=0;b=f[122851]|0;if(!b){c=X4a(1,32)|0;f[122851]=c;if(!c)d=6;else{b=c;c=f[c>>2]|0;d=5}}else{c=f[b>>2]|0;if(!(c&8))d=5;else{e=b;d=7}}if((d|0)==5){f[b>>2]=c|8;_ab(771,771);c=f[122851]|0;d=6}if((d|0)==6)if(!c){c=X4a(1,32)|0;f[122851]=c;if(c|0){b=c;a=f[c>>2]|0;d=10}}else{e=c;d=7}if((d|0)==7?(a=f[e>>2]|0,(a&4|0)==0):0){b=e;d=10}if((d|0)==10){f[b>>2]=a|4;_ab(770,770)}a=f[122850]|0;do if(!a){b=X4a(1,32)|0;f[122850]=b;if(!b){pfb(357452,1)|0;return 0}else{a=b;b=f[b>>2]|0;break}}else{b=f[a>>2]|0;if(b&2){pfb(357452,1)|0;return 0}}while(0);f[a>>2]=b|2;_ab(513,513);pfb(357452,1)|0;return 0}function xfb(){var a=0,b=0;b=u;u=u+144|0;a=b;if($ab(474073,0)|0){u=b;return 0}Ji(2,0,a|0)|0;if(!(f[a>>2]|0)){f[a>>2]=1535;Ji(2,a|0,0)|0}Ji(15,0,a|0)|0;if(!(f[a>>2]|0)){f[a>>2]=1535;Ji(15,a|0,0)|0}u=b;return 0}function yfb(){return 0}function zfb(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;k=p+16|0;g=p+8|0;j=p;if(f[124995]|0)Bgb();vfb();if((ufb(16384)|0)<0){o=-1;u=p;return o|0}if((Cgb()|0)<0){o=-1;u=p;return o|0}if((Dgb()|0)<0){o=-1;u=p;return o|0}if((Egb()|0)<0){o=-1;u=p;return o|0}do if(!a){a=$5a(472950)|0;if(!a){if(Zi[f[357580>>2]&15]()|0?(e=_i[f[357584>>2]&2047](0)|0,e|0):0){d=e;c=0;break}if(Zi[f[357612>>2]&15]()|0?(d=_i[f[357616>>2]&2047](0)|0,d|0):0){c=1;break}o=c5a(472983,g)|0;u=p;return o|0}else{d=a;o=9}}else{d=a;o=9}while(0);do if((o|0)==9){o=f[89393]|0;if((dgb(o,d,C8a(d)|0)|0)==0?(Zi[f[357580>>2]&15]()|0)!=0:0){c=0;h=357572;o=15}else o=11;if(((o|0)==11?(g=f[89401]|0,(dgb(g,d,C8a(d)|0)|0)==0):0)?Zi[f[357612>>2]&15]()|0:0){c=1;h=357604;o=15}if((o|0)==15?(i=_i[f[h+12>>2]&2047](0)|0,i|0):0){d=i;break}f[j>>2]=d;o=c5a(472966,j)|0;u=p;return o|0}while(0);f[124995]=d;f[d>>2]=f[f[357652+(c<<2)>>2]>>2];c=f[124995]|0;f[c+284>>2]=1;f[c+388>>2]=0;f[c+648>>2]=0;if(c|0){f[c+292>>2]=3;f[c+296>>2]=3;f[c+300>>2]=2;f[c+304>>2]=0;f[c+312>>2]=0;f[c+308>>2]=16;f[c+316>>2]=0;f[c+320>>2]=1;j=c+324|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[j+24>>2]=0;f[c+384>>2]=1;f[c+352>>2]=-1;f[c+356>>2]=2;f[c+360>>2]=0;f[c+368>>2]=4;f[c+364>>2]=0;f[c+380>>2]=0;f[c+376>>2]=1;f[c+372>>2]=0}i=Fgb()|0;f[(f[124995]|0)+660>>2]=i;i=Fgb()|0;j=f[124995]|0;f[j+664>>2]=i;if((_i[f[j+4>>2]&2047](j)|0)<0){Bgb();o=-1;u=p;return o|0}d=f[124995]|0;if(!(f[d+264>>2]|0)){Bgb();o=c5a(473009,k)|0;u=p;return o|0}c=d+132|0;do if(f[c>>2]|0){c=eab(473814)|0;if(c|0?(fab(c,473051)|0)==0:0)break;c=eab(473060)|0;if((c|0?(b[c>>0]|0)!=48:0)?fab(c,489367)|0:0){d=f[124995]|0;c=d+132|0;o=31}}else o=31;while(0);if((o|0)==31){f[c>>2]=45;f[d+136>>2]=46;f[d+140>>2]=813}if(!($ab(473089,0)|0)){d=f[124995]|0;if(d|0){c=d+260|0;if((f[c>>2]|0)==0?(f[c>>2]=1,m=f[d+208>>2]|0,(m|0)!=0):0){tj[m&2047](d);o=37}else o=37}}else o=37;if((((o|0)==37?(l=f[124995]|0,l|0):0)?(n=f[l+224>>2]|0,n|0):0)?_i[n&2047](l)|0:0){o=0;u=p;return o|0}Fab(771,1)|0;Fab(770,1)|0;c=f[124995]|0;if(!c){o=0;u=p;return o|0}d=f[c+272>>2]|0;do if(d){do{if(f[d+48>>2]&512|0){o=45;break}d=f[d+152>>2]|0}while((d|0)!=0);if((o|0)==45){a=f[c+228>>2]|0;if(!a)break;Bj[a&1023](c,d);c=f[124995]|0}if(!c){o=0;u=p;return o|0}}while(0);d=f[c+212>>2]|0;if(!d){o=0;u=p;return o|0}tj[d&2047](c);o=0;u=p;return o|0}function Afb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;h=j+8|0;g=j;if(bgb(16)|0)cgb();P5a(502732,0,120)|0;P5a(493472,0,64)|0;a:do if(!a){a=$5a(472787)|0;b=(a|0)==0;if(b){c=0;e=0;while(1){d=f[248960+(e<<2)>>2]|0;if((e|0)==3){i=15;break a}if(!(f[d+12>>2]|0)){P5a(502732,0,120)|0;f[125683]=f[d>>2];f[125684]=f[d+4>>2];c=1;d=_i[f[d+8>>2]&2047](502740)|0}else d=0;if(!d)e=e+1|0;else break}}else i=10}else i=10;while(0);b:do if((i|0)==10){b=0;d=0;while(1){c=f[248960+(d<<2)>>2]|0;if((d|0)==3){c=b;b=0;i=15;break b}e=f[c>>2]|0;if(!(dgb(e,a,C8a(a)|0)|0)){P5a(502732,0,120)|0;f[125683]=f[c>>2];f[125684]=f[c+4>>2];b=1;c=_i[f[c+8>>2]&2047](502740)|0}else c=0;if(!c)d=d+1|0;else break}}while(0);if((i|0)==15){do if(!c)if(b){c5a(472835,h)|0;break}else{f[g>>2]=a;c5a(472803,g)|0;break}while(0);P5a(502732,0,120)|0;i=-1;u=j;return i|0}i=egb()|0;f[125706]=i;if(f[125701]|0){if(!(f[125696]|0))f[125696]=1536;if(!(f[125697]|0))f[125697]=1536}a=f[125685]|0;if(!a){f[125685]=6;a=6}if(!(f[125686]|0))f[125686]=47;if(!(f[125687]|0))f[125687]=1537;if(!(f[125688]|0))f[125688]=1538;if(!(f[125689]|0))f[125689]=1539;if(!(f[125690]|0))f[125690]=1096;if(!(f[125691]|0))f[125691]=1097;if(!(f[125692]|0))f[125692]=224;if(!(f[125693]|0))f[125693]=1540;if(!(f[125694]|0))f[125694]=1541;if(!(f[125695]|0))f[125695]=1542;if(!(f[125696]|0))f[125696]=1543;if(!(f[125697]|0))f[125697]=1544;if(!(f[125698]|0))f[125698]=1545;if(!(f[125699]|0))f[125699]=7;nj[a&15]();i=0;u=j;return i|0}function Bfb(){var a=0;Wfb(472632,89,0);if((ufb(16384)|0)<0){a=-1;return a|0}a=Xfb()|0;a=(a|0)<0?a:0;return a|0}function Cfb(){var a=0,c=0,d=0,e=0,g=0;g=u;u=u+64|0;e=g;Dfb(471775)|0;a=eab(472025)|0;if(a|0?b[a>>0]|0:0){c=C8a(a)|0;d=K5a(c+1|0)|0;M5a(d,a,c)|0;b[d+c>>0]=0;if(d|0){c=Efb(d,10)|0;if(!c)a=d;else{a=d;do{b[c>>0]=0;Dfb(a)|0;a=c+1|0;c=Efb(a,10)|0}while((c|0)!=0)}Dfb(a)|0}A5a(d)}Gfb(505,0);if((Hfb()|0)<=0){u=g;return 0}c=e+8|0;a=0;do{if(Ifb(a)|0){f[e>>2]=1619;f[c>>2]=a;Lab(e)|0}a=a+1|0}while((a|0)<(Hfb()|0));u=g;return 0}function Dfb(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,s=0,t=0,v=0,w=0,x=0,y=0;y=u;u=u+160|0;v=y+136|0;m=y+96|0;k=y+88|0;d=y+80|0;c=y+72|0;w=y+16|0;q=y;h=y+120|0;g=y+104|0;if(!a){f[c>>2]=472242;x=c5a(473278,c)|0;u=y;return x|0}c=Efb(a,44)|0;do if(c|0){c=c-a|0;e=K5a(c+1|0)|0;if(!e){Y4a(0)|0;break}M5a(e,a,c)|0;b[e+c>>0]=0;s=(fab(e,472284)|0)==0;t=(fab(e,472291)|0)==0;Qfb(g,e);p=h;n=g;o=p+16|0;do{b[p>>0]=b[n>>0]|0;p=p+1|0;n=n+1|0}while((p|0)<(o|0));A5a(e);p=q;n=h;o=p+16|0;do{b[p>>0]=b[n>>0]|0;p=p+1|0;n=n+1|0}while((p|0)<(o|0));c=Efb(a,44)|0;a:do if((c|0)!=0?(j=c+1|0,i=Efb(j,44)|0,(i|0)!=0):0){c=i-c|0;d=K5a(c)|0;if(!d){Y4a(0)|0;x=11;break}M5a(d,j,c)|0;b[d+(c+-1)>>0]=0;c=Efb(a,44)|0;if((c|0?(l=Efb(c+1|0,44)|0,l|0):0)?(r=xeb(l+1|0)|0,r|0):0){c=f[125713]|0;b:do if(!c)x=26;else{while(1){if(!(P9a(q,c,16)|0))break;c=f[c+24>>2]|0;if(!c){x=26;break b}}k=c+16|0;A5a(f[k>>2]|0);f[k>>2]=d;j=c+20|0;A5a(f[j>>2]|0);f[j>>2]=r;d=f[125718]|0;if(!d){x=0;u=y;return x|0}i=w+8|0;do{e=d+12|0;if(!(P9a(e,c,16)|0)){f[w>>2]=1621;f[i>>2]=f[f[d>>2]>>2];Lab(w)|0;g=f[k>>2]|0;h=f[j>>2]|0;p=v;n=c;o=p+16|0;do{b[p>>0]=b[n>>0]|0;p=p+1|0;n=n+1|0}while((p|0)<(o|0));Rfb(e,v,g,h)}d=f[d+1344>>2]|0}while((d|0)!=0);d=1}while(0);do if((x|0)==26){c=K5a(28)|0;if(!c){A5a(d);A5a(r);Y4a(0)|0;break a}else{p=c;n=q;o=p+16|0;do{b[p>>0]=b[n>>0]|0;p=p+1|0;n=n+1|0}while((p|0)<(o|0));f[c+16>>2]=d;f[c+20>>2]=r;f[c+24>>2]=f[125713];f[125713]=c;d=0;break}}while(0);if(!c){x=-1;u=y;return x|0}if(d|0){x=0;u=y;return x|0}if(s)f[125715]=c;if(!t){x=1;u=y;return x|0}f[125714]=c;x=1;u=y;return x|0}A5a(d);f[m>>2]=a;c5a(472330,m)|0}else x=11;while(0);if((x|0)==11){f[k>>2]=a;c5a(472302,k)|0}x=-1;u=y;return x|0}while(0);f[d>>2]=a;x=c5a(472256,d)|0;u=y;return x|0}function Efb(a,b){a=a|0;b=b|0;return Xmb(a,b)|0}function Ffb(a,c){a=a|0;c=c|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;w=u;u=u+80|0;e=w+64|0;a=w+56|0;v=w;switch(f[c>>2]|0){case 1536:{g=b[c+12>>0]|0;if((g&255)>47){f[a>>2]=g&255;c5a(472094,a)|0;u=w;return 1}a=f[125718]|0;if(!a){u=w;return 1}e=f[c+8>>2]|0;i=a;while(1){if((f[f[i>>2]>>2]|0)==(e|0))break;a=f[i+1344>>2]|0;if(!a){t=18;break}else i=a}if((t|0)==18){u=w;return 1}a=g&255;g=f[i+320+(a<<2)>>2]|0;if((g|0)<=-1){e=f[i+896+(a<<2)>>2]|0;if((e|0)<=-1){u=w;return 1}a=d[c+16>>1]|0;a=(((a|0)<0?0-a|0:a)|0)>16384;c=a?1617:1618;f[v>>2]=c;if((Fab(c,-1)|0)<<24>>24==1){f[v+8>>2]=f[f[i>>2]>>2];b[v+12>>0]=e;b[v+13>>0]=a&1;Lab(v)|0}u=w;return 1}a=d[c+16>>1]|0;e=(Fab(1616,-1)|0)<<24>>24==1;if((g&-2|0)==4){if(!e){u=w;return 1}f[v>>2]=1616;f[v+8>>2]=f[f[i>>2]>>2];b[v+12>>0]=g;d[v+16>>1]=(((a<<16>>16)/2|0)&65535)+16384;Lab(v)|0;u=w;return 1}else{if(!e){u=w;return 1}f[v>>2]=1616;f[v+8>>2]=f[f[i>>2]>>2];b[v+12>>0]=g;d[v+16>>1]=a;Lab(v)|0;u=w;return 1}}case 1540:case 1539:{g=b[c+12>>0]|0;if((g&255)>47){f[e>>2]=g&255;c5a(472167,e)|0;u=w;return 1}a=f[125718]|0;if(!a){u=w;return 1}e=f[c+8>>2]|0;i=a;while(1){if((f[f[i>>2]>>2]|0)==(e|0))break;a=f[i+1344>>2]|0;if(!a){t=18;break}else i=a}if((t|0)==18){u=w;return 1}a=g&255;e=f[i+704+(a<<2)>>2]|0;if((e|0)>-1){a=b[c+13>>0]|0;switch(a<<24>>24){case 1:{j=1617;t=27;break}case 0:{j=1618;t=27;break}default:{}}if((t|0)==27?(f[v>>2]=j,(Fab(j,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[i>>2]>>2];b[v+12>>0]=e;b[v+13>>0]=a;Lab(v)|0}u=w;return 1}else{e=f[i+512+(a<<2)>>2]|0;if((e|0)<=-1){u=w;return 1}a=b[c+13>>0]|0;if((Fab(1616,-1)|0)<<24>>24!=1){u=w;return 1}f[v>>2]=1616;f[v+8>>2]=f[f[i>>2]>>2];b[v+12>>0]=e;d[v+16>>1]=a<<24>>24==0?0:32767;Lab(v)|0;u=w;return 1}}case 1538:{k=c+12|0;e=b[k>>0]|0;if((e&255)>3){u=w;return 1}a=f[125718]|0;if(!a){u=w;return 1}g=f[c+8>>2]|0;j=a;while(1){if((f[f[j>>2]>>2]|0)==(g|0))break;a=f[j+1344>>2]|0;if(!a){t=18;break}else j=a}if((t|0)==18){u=w;return 1}i=e&255;e=b[j+8+i>>0]|0;g=c+13|0;a=b[g>>0]&e;i=i<<4;e=(a^e)&255;if((e&4|0?(l=f[j+1088+((i|4)<<2)>>2]|0,(l|0)!=-1):0)?(f[v>>2]=1618,(Fab(1618,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=l;b[v+13>>0]=0;Lab(v)|0}if((e&1|0?(m=f[j+1088+((i|1)<<2)>>2]|0,(m|0)!=-1):0)?(f[v>>2]=1618,(Fab(1618,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=m;b[v+13>>0]=0;Lab(v)|0}if((e&8|0?(n=f[j+1088+((i|8)<<2)>>2]|0,(n|0)!=-1):0)?(f[v>>2]=1618,(Fab(1618,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=n;b[v+13>>0]=0;Lab(v)|0}if((e&2|0?(o=f[j+1088+((i|2)<<2)>>2]|0,(o|0)!=-1):0)?(f[v>>2]=1618,(Fab(1618,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=o;b[v+13>>0]=0;Lab(v)|0}a=(b[g>>0]^a)&255;if((a&4|0?(p=f[j+1088+((i|4)<<2)>>2]|0,(p|0)!=-1):0)?(f[v>>2]=1617,(Fab(1617,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=p;b[v+13>>0]=1;Lab(v)|0}if((a&1|0?(q=f[j+1088+((i|1)<<2)>>2]|0,(q|0)!=-1):0)?(f[v>>2]=1617,(Fab(1617,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=q;b[v+13>>0]=1;Lab(v)|0}if((a&8|0?(r=f[j+1088+((i|8)<<2)>>2]|0,(r|0)!=-1):0)?(f[v>>2]=1617,(Fab(1617,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=r;b[v+13>>0]=1;Lab(v)|0}if((a&2|0?(s=f[j+1088+((i|2)<<2)>>2]|0,(s|0)!=-1):0)?(f[v>>2]=1617,(Fab(1617,-1)|0)<<24>>24==1):0){f[v+8>>2]=f[f[j>>2]>>2];b[v+12>>0]=s;b[v+13>>0]=1;Lab(v)|0}b[(h[k>>0]|0)+(j+8)>>0]=b[g>>0]|0;u=w;return 1}case 1541:{a=c+8|0;if(!(Ifb(f[a>>2]|0)|0)){u=w;return 1}f[v>>2]=1619;f[v+8>>2]=f[a>>2];Lab(v)|0;u=w;return 1}case 1542:{a=f[125718]|0;if(!a){u=w;return 1}e=f[c+8>>2]|0;while(1){if((f[f[a>>2]>>2]|0)==(e|0))break;a=f[a+1344>>2]|0;if(!a){t=18;break}}if((t|0)==18){u=w;return 1}f[v>>2]=1620;f[v+8>>2]=e;Lab(v)|0;Pfb();u=w;return 1}default:{u=w;return 1}}return 0}function Gfb(a,b){a=a|0;b=b|0;var c=0;c=K5a(12)|0;if(!c)return;f[c>>2]=a;f[c+4>>2]=b;f[c+8>>2]=0;a=f[125029]|0;if(!a)a=500116;else{while(1){b=f[a+8>>2]|0;if(!b)break;else a=b}a=a+8|0}f[a>>2]=c;return}function Hfb(){return Mfb()|0}function Ifb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;c=d;Jfb(c,a);b=f[125713]|0;a:do if(!b)b=0;else while(1){if(!(P9a(c,b,16)|0))break a;b=f[b+24>>2]|0;if(!b){b=0;break}}while(0);c=f[125714]|0;b=(b|0)==0&(c|0)!=0?c:b;if(b|0){a=b;u=d;return a|0}b=Kfb(a)|0;if(!b){a=0;u=d;return a|0}if((Lfb(b,472050)|0)==0?(Lfb(b,472055)|0)==0:0){a=0;u=d;return a|0}a=f[125715]|0;u=d;return a|0}function Jfb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+32|0;e=g;d=g+8|0;if((c|0)>=0?(Mfb()|0)>(c|0):0){Ofb(a,c);u=g;return}c=Mfb()|0;f[e>>2]=c;c5a(472061,e)|0;P5a(d,0,16)|0;c=a;a=c+16|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(a|0));u=g;return}function Kfb(a){a=a|0;var b=0,c=0;c=u;u=u+16|0;b=c;if((a|0)>=0?(Mfb()|0)>(a|0):0){b=Nfb(a)|0;u=c;return b|0}a=Mfb()|0;f[b>>2]=a;c5a(472061,b)|0;b=0;u=c;return b|0}function Lfb(a,b){a=a|0;b=b|0;return hnb(a,b)|0}function Mfb(){return f[125717]|0}function Nfb(a){a=a|0;var b=0;b=f[125716]|0;if((a|0)>0)while(1){b=f[b+1320>>2]|0;if((a|0)>1)a=a+-1|0;else break}return f[b+4>>2]|0}function Ofb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;e=g;d=f[125716]|0;if((c|0)>0)while(1){d=f[d+1320>>2]|0;if((c|0)>1)c=c+-1|0;else break}c=f[d+4>>2]|0;P5a(e,0,16)|0;if((C8a(c)|0)>>>0>16)d=16;else d=C8a(c)|0;M5a(e,c,d)|0;d=e;c=a+16|0;do{b[a>>0]=b[d>>0]|0;a=a+1|0;d=d+1|0}while((a|0)<(c|0));u=g;return}function Pfb(){var a=0,b=0,c=0,d=0,e=0;d=u;a=Pab(0,0,1,1619,1619)|0;if((a|0)<1){u=d;return}c=u;u=u+((1*(a*56|0)|0)+15&-16)|0;b=Pab(c,a,2,1619,1619)|0;if((b|0)>0){a=0;do{e=c+(a*56|0)+8|0;f[e>>2]=(f[e>>2]|0)+-1;a=a+1|0}while((a|0)!=(b|0))}Pab(c,b,0,0,0)|0;u=d;return}function Qfb(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+16|0;d=l;j=(C8a(c)|0)&-2;P5a(d,0,16)|0;a:do if(j|0){k=d;h=d;i=0;while(1){if((h-k|0)>=16)break a;e=b[c+i>>0]|0;f=e<<24>>24;do if((e+-48&255)>=10)if((e+-65&255)<6){e=f+201|0;break}else{e=(e+-97&255)<6?f+169|0:0;break}else e=f+208|0;while(0);g=e<<4;e=b[c+(i|1)>>0]|0;f=e<<24>>24;do if((e+-48&255)>=10)if((e+-65&255)<6){e=f+201|0;break}else{e=(e+-97&255)<6?f+169|0:0;break}else e=f+208|0;while(0);b[h>>0]=e|g;i=i+2|0;if(i>>>0>=j>>>0)break;else h=h+1|0}}while(0);e=a+16|0;do{b[a>>0]=b[d>>0]|0;a=a+1|0;d=d+1|0}while((a|0)<(e|0));u=l;return}function Rfb(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;m=u;u=u+80|0;l=m+64|0;k=m+56|0;i=m+32|0;j=m;h=a;g=h+16|0;do{b[h>>0]=b[c>>0]|0;h=h+1|0;c=c+1|0}while((h|0)<(g|0));f[a+16>>2]=d;f[a+196>>2]=-1;f[a+204>>2]=-1;f[a+212>>2]=-1;f[a+220>>2]=-1;f[a+228>>2]=-1;f[a+236>>2]=-1;f[a+244>>2]=-1;f[a+252>>2]=-1;f[a+260>>2]=-1;f[a+268>>2]=-1;f[a+276>>2]=-1;f[a+284>>2]=-1;f[a+292>>2]=-1;f[a+300>>2]=-1;_Db(a+20|0,-1,172)|0;_Db(a+308|0,-1,1024)|0;P5a(i,0,20)|0;P5a(j,0,20)|0;a:do if(e|0){c=0;g=1;b:while(1){d=b[e>>0]|0;c:do switch(d<<24>>24){case 0:break a;case 58:{c=0;g=0;break}case 32:break;case 44:{Sfb(i,j,a);P5a(i,0,20)|0;P5a(j,0,20)|0;c=0;g=1;break}default:{h=c>>>0>19;if(!g){if(h){c=10;break b}b[j+c>>0]=d;c=c+1|0;g=0;break c}else{if(h){c=7;break b}b[i+c>>0]=d;c=c+1|0;break c}}}while(0);e=e+1|0}if((c|0)==7){f[k>>2]=i;c5a(472348,k)|0;u=m;return}else if((c|0)==10){f[l>>2]=j;c5a(472374,l)|0;u=m;return}}while(0);Sfb(i,j,a);u=m;return}function Sfb(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+32|0;k=l+16|0;h=l+8|0;g=l;j=Tfb(a)|0;a=Ufb(a)|0;e=c+1|0;i=qfb(e)|0;switch(b[c>>0]|0){case 97:{if((i|0)>47){f[g>>2]=i;c5a(472409,g)|0;u=l;return}if((a|0)!=-1){f[d+20+(a<<2)>>2]=i;f[d+308+(i<<2)>>2]=a;u=l;return}if((j|0)==-1){u=l;return}f[d+128+(j<<2)>>2]=i;f[d+884+(i<<2)>>2]=j;u=l;return}case 98:{if((i|0)>47){f[h>>2]=i;c5a(472434,h)|0;u=l;return}if((j|0)!=-1){f[d+68+(j<<2)>>2]=i;f[d+692+(i<<2)>>2]=j;u=l;return}if((a|0)==-1){u=l;return}f[d+44+(a<<2)>>2]=i;f[d+500+(i<<2)>>2]=a;u=l;return}case 104:{e=qfb(e)|0;a=qfb(c+3|0)|0;if((e|0)>3){f[k>>2]=i;c5a(472461,k)|0}if((j|0)==-1){u=l;return}f[d+188+(j<<3)>>2]=e;b[d+188+(j<<3)+4>>0]=a;f[d+1076+((e<<4|a)<<2)>>2]=j;u=l;return}default:{u=l;return}}}function Tfb(a){a=a|0;if((a|0)!=0?(b[a>>0]|0)!=0:0)if(fab(a,474444)|0)if(fab(a,474446)|0)if(fab(a,472536)|0)if(fab(a,472538)|0)if(fab(a,472540)|0)if(fab(a,472545)|0)if(fab(a,472551)|0)if(fab(a,472557)|0)if(fab(a,472567)|0)if(fab(a,472578)|0)if(fab(a,472591)|0)if(fab(a,472605)|0)if(fab(a,472610)|0)if(!(fab(a,472617)|0))a=13;else{a=(fab(a,472624)|0)==0;return (a?14:-1)|0}else a=12;else a=11;else a=10;else a=9;else a=8;else a=7;else a=6;else a=5;else a=4;else a=3;else a=2;else a=1;else a=0;else a=-1;return a|0}function Ufb(a){a=a|0;if((a|0)!=0?(b[a>>0]|0)!=0:0)if(fab(a,472485)|0)if(fab(a,472491)|0)if(fab(a,472497)|0)if(fab(a,472504)|0)if(!(fab(a,472511)|0))a=4;else{a=(fab(a,472523)|0)==0;return (a?5:-1)|0}else a=3;else a=2;else a=1;else a=0;else a=-1;return a|0}function Vfb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;if((e|0)!=0?(b[e>>0]|0)==49:0)a=1;else a=0;f[125721]=a;return}function Wfb(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+16|0;g=j+8|0;e=j;if(a|0?b[a>>0]|0:0){if(!c){f[g>>2]=472778;c5a(473278,g)|0;u=j;return}e=f[124998]|0;a:do if(e|0){while(1){if(!(gab(a,f[e>>2]|0)|0))break;e=f[e+16>>2]|0;if(!e)break a}h=e+12|0;e=f[h>>2]|0;if(e|0){g=0;while(1){if((f[e>>2]|0)==(c|0)?(f[e+4>>2]|0)==(d|0):0)break;g=f[e+8>>2]|0;if(!g)break a;else{k=e;e=g;g=k}}f[((g|0)==0?h:g+8|0)>>2]=f[e+8>>2];A5a(e)}}while(0);g=K5a(12)|0;if(!g){Y4a(0)|0;u=j;return}f[g>>2]=c;f[g+4>>2]=d;e=f[124998]|0;b:do if(!e)i=22;else while(1){if(!(gab(a,f[e>>2]|0)|0))break b;e=f[e+16>>2]|0;if(!e){i=22;break}}while(0);do if((i|0)==22){e=K5a(20)|0;if(e|0){k=xeb(a)|0;f[e>>2]=k;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[e+16>>2]=f[124998];f[124998]=e;break}Y4a(0)|0;A5a(g);u=j;return}while(0);e=e+12|0;f[g+8>>2]=f[e>>2];f[e>>2]=g;e=$5a(a)|0;g=f[124998]|0;c:do if(g){while(1){if(!(gab(a,f[g>>2]|0)|0))break;g=f[g+16>>2]|0;if(!g)break c}if(e|0?(f[g+8>>2]|0)!=2:0)break;e=f[g+4>>2]|0}while(0);Ij[c&127](d,a,e,e);u=j;return}f[e>>2]=472773;c5a(473278,e)|0;u=j;return}function Xfb(){var a=0,b=0,c=0,d=0,e=0,g=0;g=u;u=u+1456|0;e=g+1448|0;d=g+1440|0;b=g;f[125717]=0;c=uc()|0;if((c|0)==-1){e=c5a(472669,g+1432|0)|0;u=g;return e|0}if((c|0)>0){a=0;do{if(!(rc(a|0,b|0)|0))Yfb(0,b,0)|0;a=a+1|0}while((a|0)!=(c|0))}if(_g(0,0,225)|0){a=f[125716]|0;if(a|0)do{e=a;a=f[a+1320>>2]|0;A5a(f[e+8>>2]|0);A5a(f[e+4>>2]|0);A5a(e)}while((a|0)!=0);f[125719]=0;f[125716]=0;f[125717]=0;f[125720]=0;_g(0,0,0)|0;$g(0,0,0)|0;e=c5a(472692,d)|0;u=g;return e|0}if(!($g(0,0,226)|0)){e=0;u=g;return e|0}a=f[125716]|0;if(a|0)do{d=a;a=f[a+1320>>2]|0;A5a(f[d+8>>2]|0);A5a(f[d+4>>2]|0);A5a(d)}while((a|0)!=0);f[125719]=0;f[125716]=0;f[125717]=0;f[125720]=0;_g(0,0,0)|0;$g(0,0,0)|0;e=c5a(472731,e)|0;u=g;return e|0}function Yfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;c=b+1300|0;a=f[c>>2]|0;a:do if((a|0)>=0?(d=f[125716]|0,d|0):0){while(1){if((f[d>>2]|0)==(a|0))break;d=f[d+1320>>2]|0;if(!d)break a}return 1}while(0);g=K5a(1328)|0;if(!g)return 1;P5a(g,0,1328)|0;f[g>>2]=f[c>>2];e=xeb(b+1304|0)|0;d=g+4|0;f[d>>2]=e;if(!e){A5a(g);return 1}e=xeb(b+1368|0)|0;f[g+8>>2]=e;if(!e){A5a(f[d>>2]|0);A5a(g);return 1}a=f[b+8>>2]|0;f[g+24>>2]=a;e=f[b+12>>2]|0;f[g+20>>2]=e;c=f[125720]|0;f[125720]=c+1;f[g+12>>2]=c;p[g+32>>3]=+p[b>>3];if((a|0)>0){c=g+40|0;d=0;do{p[c+(d<<3)>>3]=+p[b+16+(d<<3)>>3];d=d+1|0}while((d|0)!=(a|0))}if((e|0)>0){a=g+552|0;c=g+1064|0;d=0;do{p[a+(d<<3)>>3]=+p[b+528+(d<<3)>>3];f[c+(d<<2)>>2]=f[b+1040+(d<<2)>>2];d=d+1|0}while((d|0)!=(e|0))}d=f[125719]|0;if(!d){f[125719]=g;d=502864}else{f[d+1320>>2]=g;d=502876}f[d>>2]=g;b=f[125717]|0;f[125717]=b+1;agb(b);return 1}function Zfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=f[125716]|0;if(!a)return 1;b=f[b+1300>>2]|0;d=a;c=0;while(1){if((f[d>>2]|0)==(b|0))break;a=f[d+1320>>2]|0;if(!a){e=13;break}else{c=d;d=a}}if((e|0)==13)return 1;a=f[d+16>>2]|0;if(a|0)f[a+44>>2]=0;a=f[d+1320>>2]|0;if(!c)f[125716]=a;else f[c+1320>>2]=a;if((d|0)==(f[125719]|0))f[125719]=c;f[125717]=(f[125717]|0)+-1;_fb(f[d+12>>2]|0);A5a(f[d+4>>2]|0);A5a(f[d+8>>2]|0);A5a(d);return 1}function _fb(a){a=a|0;var b=0,c=0;c=u;u=u+64|0;b=c;f[b>>2]=1542;if((Fab(1542,-1)|0)<<24>>24==1){f[b+8>>2]=a;Lab(b)|0}$fb();u=c;return}function $fb(){var a=0,b=0,c=0,d=0,e=0;d=u;a=Pab(0,0,1,1541,1541)|0;if((a|0)<1){u=d;return}c=u;u=u+((1*(a*56|0)|0)+15&-16)|0;b=Pab(c,a,2,1541,1541)|0;if((b|0)>0){a=0;do{e=c+(a*56|0)+8|0;f[e>>2]=(f[e>>2]|0)+-1;a=a+1|0}while((a|0)!=(b|0))}Pab(c,b,0,0,0)|0;u=d;return}function agb(a){a=a|0;var b=0,c=0;c=u;u=u+64|0;b=c;f[b>>2]=1541;if((Fab(1541,-1)|0)<<24>>24!=1){u=c;return}f[b+8>>2]=a;Lab(b)|0;u=c;return}function bgb(a){a=a|0;var c=0,d=0,e=0;c=(a|0)==0?29233:a;a=Z(c|0)|0;if(a>>>0>31){e=0;return e|0}e=32-a|0;d=0;a=0;while(1){if(c&1)a=((b[493440+d>>0]|0)==0?0:1<<d)|a;d=d+1|0;if((d|0)==(e|0))break;else c=c>>>1}return a|0}function cgb(){var a=0,b=0,c=0;if(!(f[125683]|0))return;wgb(f[123368]|0);wgb(f[123369]|0);wgb(f[123370]|0);wgb(f[123371]|0);wgb(f[123372]|0);wgb(f[123373]|0);wgb(f[123374]|0);wgb(f[123375]|0);wgb(f[123376]|0);wgb(f[123377]|0);wgb(f[123378]|0);wgb(f[123379]|0);wgb(f[123380]|0);wgb(f[123381]|0);wgb(f[123382]|0);wgb(f[123383]|0);a=f[125711]|0;if(a|0)do{b=a;a=f[a+4>>2]|0;c=f[b>>2]|0;if(c|0)tj[f[502792>>2]&2047](c);A5a(b)}while((a|0)!=0);f[125711]=0;f[125709]=0;a=f[125712]|0;if(a|0)do{b=a;a=f[a+4>>2]|0;c=f[b>>2]|0;if(c|0)tj[f[502792>>2]&2047](c);A5a(b)}while((a|0)!=0);f[125712]=0;f[125710]=0;nj[f[502796>>2]&15]();xgb(f[125706]|0);P5a(502732,0,120)|0;P5a(493472,0,64)|0;return}function dgb(a,b,c){a=a|0;b=b|0;c=c|0;return mnb(a,b,c)|0}function egb(){var a=0,b=0;a=K5a(12)|0;if(!a){Y4a(0)|0;return a|0}b=vgb(1)|0;f[a+8>>2]=b;f[a>>2]=0;f[a+4>>2]=0;if(b|0){b=a;return b|0}A5a(a);b=0;return b|0}function fgb(a){a=a|0;return}function ggb(){nfb(0,472861,1);if(!(f[125702]|0))return;nfb(1,472888,2);return}function hgb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Y4a(4)|0}function igb(a){a=a|0;return}function jgb(a){a=a|0;return}function kgb(a){a=a|0;return}function lgb(a){a=a|0;return 0}function mgb(a){a=a|0;return 0}function ngb(a,b,c){a=a|0;b=b|0;c=c|0;return -1}function ogb(a){a=a|0;return}function pgb(a){a=a|0;return}function qgb(a){a=a|0;return}function rgb(a){a=a|0;var b=0;if(f[a+156>>2]|0?(b=F5a()|0,(b|0)==(f[a+160>>2]|0)):0)return;return}function sgb(a){a=a|0;var b=0;if(f[a+156>>2]|0?(b=F5a()|0,(b|0)==(f[a+160>>2]|0)):0)return;return}function tgb(a){a=a|0;return}function ugb(){return}function vgb(a){a=a|0;a=u;u=u+16|0;c5a(472916,a)|0;u=a;return 0}function wgb(a){a=a|0;var b=0,c=0;if(!a)return;b=f[a>>2]|0;if(b|0?(c=493472+(b+-1<<2)|0,(f[c>>2]|0)==(a|0)):0)f[c>>2]=0;pfb(a+132|0,1)|0;pfb(a+136|0,0)|0;b=f[a+156>>2]|0;if(b|0)zgb(b,0);b=f[a+152>>2]|0;if(b|0)xgb(b);A5a(f[a+148>>2]|0);if(f[a+28>>2]|0)A5a(f[a+44>>2]|0);if(f[a+180>>2]|0)tj[f[502780>>2]&2047](a);b=f[a+164>>2]|0;if(b|0)do{c=b;b=f[b+8200>>2]|0;A5a(c)}while((b|0)!=0);b=f[a+172>>2]|0;if(b|0)do{c=b;b=f[b+8200>>2]|0;A5a(c)}while((b|0)!=0);A5a(a);return}function xgb(a){a=a|0;if(!a)return;A5a(a);return}function ygb(a){a=a|0;return}function zgb(a,b){a=a|0;b=b|0;if(!a)return;if(b|0)f[b>>2]=f[a+8>>2];b=f[a+792>>2]|0;if(b|0)A5a(b);A5a(a);return}function Agb(a){a=a|0;return}function Bgb(){var a=0,b=0,c=0,d=0,e=0;if(!(f[124995]|0))return;uhb();vhb();xhb(16384);a=f[124995]|0;b=a+260|0;if((f[b>>2]|0)!=0?(f[b>>2]=0,c=f[a+208>>2]|0,(c|0)!=0):0){tj[c&2047](a);a=f[124995]|0}b=f[a+272>>2]|0;if(b)do{yhb(b);a=f[124995]|0;b=f[a+272>>2]|0}while((b|0)!=0);tj[f[a+8>>2]&2047](a);b=f[124995]|0;c=f[b+264>>2]|0;a=f[b+268>>2]|0;if((c|0)>0){e=0;do{c=f[a+(e*68|0)+8>>2]|0;d=a+(e*68|0)+12|0;b=f[d>>2]|0;if(c)do{c=c+-1|0;A5a(f[b+(c*20|0)+16>>2]|0);b=f[d>>2]|0;f[b+(c*20|0)+16>>2]=0}while((c|0)!=0);A5a(b);f[d>>2]=0;b=a+(e*68|0)+32|0;A5a(f[b>>2]|0);f[b>>2]=0;b=a+(e*68|0)+64|0;A5a(f[b>>2]|0);f[b>>2]=0;e=e+1|0;b=f[124995]|0;c=f[b+264>>2]|0;a=f[b+268>>2]|0}while((e|0)<(c|0))}if(!a)a=b;else{if((c|0)>0){b=0;do{A5a(f[a+(b*68|0)>>2]|0);b=b+1|0;e=f[124995]|0;a=f[e+268>>2]|0}while((b|0)<(f[e+264>>2]|0))}A5a(a);a=f[124995]|0;f[a+268>>2]=0;f[a+264>>2]=0}A5a(f[a+288>>2]|0);e=f[124995]|0;f[e+288>>2]=0;tj[f[e+684>>2]&2047](e);f[124995]=0;return}function Cgb(){M5a(500664,248976,2048)|0;return 0}function Dgb(){f[125026]=1;return 0}function Egb(){return 0}function Fgb(){return (Zab(502888,1)|0)+1|0}function Ggb(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;p=u;u=u+112|0;i=p+16|0;h=p+8|0;o=p+20|0;a=f[124995]|0;a:do if(!a){c5a(458271,p)|0;k=12}else{if(c|0?(f[c>>2]|0)==(a+280|0):0){a=f[c+140>>2]|0;if(!a){k=12;break}while(1){h=f[a>>2]|0;if(h|0?(gab(h,473117)|0)==0:0)break;a=f[a+8>>2]|0;if(!a){k=12;break a}}a=f[a+4>>2]|0;if(!a){k=12;break}else{n=a;break}}c5a(473742,h)|0;k=12}while(0);do if((k|0)==12){h=eab(473060)|0;b:do if((((((h|0)!=0?(b[h>>0]&-2)<<24>>24!=48:0)?(fab(h,489373)|0)!=0:0)?(fab(h,489367)|0)!=0:0)?(fab(h,473051)|0)!=0:0)?(nhb()|0)>0:0){a=0;while(1){ohb(a,o)|0;if(!(fab(f[o>>2]|0,h)|0))break;a=a+1|0;if((a|0)>=(nhb()|0)){k=22;break b}}h=phb(c,a,0)|0;if(!h)k=22}else k=22;while(0);c:do if((k|0)==22){d:do if((nhb()|0)>0){a=0;while(1){ohb(a,o)|0;if(gab(f[o>>2]|0,473051)|0?(j=phb(c,a,0)|0,j|0):0)break;a=a+1|0;if((a|0)>=(nhb()|0))break d}h=j;break c}while(0);g=c5a(473544,i)|0;u=p;return g|0}while(0);a=X4a(1,20)|0;if(a|0){Teb(c,473117,a)|0;f[a>>2]=h;n=a;break}Kgb(h);g=Y4a(0)|0;u=p;return g|0}while(0);l=n+4|0;a=f[l>>2]|0;if(a|0){Jgb(a);f[l>>2]=0}m=n+8|0;A5a(f[m>>2]|0);f[m>>2]=0;if((qhb(f[n>>2]|0,o)|0)<0){g=-1;u=p;return g|0}a=f[o+12>>2]|0;f[d>>2]=a;k=f[o+8>>2]|0;e:do if(k){j=0;h=a;f:while(1){g:do if((h|0)==0|(h&-268435456|0)==268435456){i=h>>>24&15;if((i+-4|0)>>>0<3)switch(h>>>20&15){case 8:case 7:case 4:case 3:break g;default:break f}if((i+-7|0)>>>0>=5)break f;switch(h>>>20&15){case 5:case 6:case 2:case 3:break;default:break f}}while(0);h=j+1|0;if(h>>>0>=k>>>0)break e;j=h;h=f[o+12+(h<<2)>>2]|0}f[d>>2]=h;a=h}while(0);h=c+24|0;i=c+28|0;c=rhb(f[n>>2]|0,a,1,f[h>>2]|0,f[i>>2]|0)|0;f[l>>2]=c;if(!c){g=-1;u=p;return g|0}a=f[d>>2]|0;h:do if((a|0)==0|(a&-268435456|0)==268435456)a=a&255;else{if((a|0)<1498831189)switch(a|0){case 844715353:{a=2;break h}default:{}}else switch(a|0){case 1498831189:{a=2;break h}default:{}}a=(a|0)==1431918169?2:1}while(0);f[n+16>>2]=a;a=(W(f[h>>2]|0,a)|0)+3&-4;h=n+12|0;f[h>>2]=a;a=K5a(W(a,f[i>>2]|0)|0)|0;f[m>>2]=a;if(!a){g=Y4a(0)|0;u=p;return g|0}else{f[e>>2]=a;f[g>>2]=f[h>>2];Qgb(f[n>>2]|0,0)|0;g=0;u=p;return g|0}return 0}function Hgb(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=u;u=u+48|0;h=i+16|0;e=i+8|0;g=i+24|0;a=f[124995]|0;a:do if(!a)c5a(458271,i)|0;else{if(b|0?(f[b>>2]|0)==(a+280|0):0){a=f[b+140>>2]|0;if(!a)break;while(1){e=f[a>>2]|0;if(e|0?(gab(e,473117)|0)==0:0)break;a=f[a+8>>2]|0;if(!a)break a}a=f[a+4>>2]|0;if(!a)break;e=a+4|0;if(!(f[e>>2]|0))break;if(!(Sgb(f[b+24>>2]|0,f[b+28>>2]|0,d,c,g)|0)){d=0;u=i;return d|0}d=f[a+12>>2]|0;c=(f[a+8>>2]|0)+(W(d,f[g+4>>2]|0)|0)|0;c=c+(W(f[a+16>>2]|0,f[g>>2]|0)|0)|0;if((Tgb(f[e>>2]|0,g,c,d)|0)<0){d=-1;u=i;return d|0}if((Ugb(f[a>>2]|0,f[e>>2]|0,0,0)|0)<0){d=-1;u=i;return d|0}Vgb(f[a>>2]|0);d=0;u=i;return d|0}c5a(473742,e)|0}while(0);d=c5a(473255,h)|0;u=i;return d|0}function Igb(a,b){a=a|0;b=b|0;b=Teb(b,473117,0)|0;if(!b)return;a=f[b+4>>2]|0;if(a|0)Jgb(a);a=f[b>>2]|0;if(a|0)Kgb(a);A5a(f[b+8>>2]|0);A5a(b);return}function Jgb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;e=u;u=u+16|0;b=e;if(a|0?(f[a>>2]|0)==505022:0){d=f[a+32>>2]|0;b=d+308|0;do if((f[b>>2]|0)==(a|0)){if((d|0?(c=f[d+44>>2]|0,c|0):0)?f[d+108>>2]&8|0:0){f[b>>2]=0;if((cj[c&1023](d,0)|0)<0)break;g=d+216|0;h=d+232|0;f[g>>2]=f[h>>2];f[g+4>>2]=f[h+4>>2];f[g+8>>2]=f[h+8>>2];f[g+12>>2]=f[h+12>>2];g=d+248|0;h=d+264|0;f[g>>2]=f[h>>2];f[g+4>>2]=f[h+4>>2];f[g+8>>2]=f[h+8>>2];f[g+12>>2]=f[h+12>>2];g=f[d+284>>2]|0;h=d+296|0;b=f[h+4>>2]|0;c=d+288|0;f[c>>2]=f[h>>2];f[c+4>>2]=b;c=f[d+208>>2]|0;b=f[d+204>>2]|0;f[d+280>>2]=g;f[d+196>>2]=b;f[d+200>>2]=c;if((_i[f[d+48>>2]&2047](d)|0)<0)break;_i[f[d+52>>2]&2047](d)|0;break}Y4a(4)|0}while(0);f[a>>2]=0;c=f[a+76>>2]|0;b=a+72|0;if(c|0)f[c+72>>2]=f[b>>2];b=f[b>>2]|0;f[((b|0)==0?d+304|0:b+76|0)>>2]=c;b=f[a+36>>2]|0;if(b|0)Jgb(b);b=f[a+40>>2]|0;if(b|0)Rgb(b);A5a(f[a+44>>2]|0);Bj[f[d+88>>2]&1023](d,a);A5a(a);u=e;return}c5a(458928,b)|0;u=e;return}function Kgb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;b=d;if(a|0?(f[a>>2]|0)==505021:0){Mgb(506,a);c=a+304|0;b=f[c>>2]|0;if(b|0)do{Jgb(b);b=f[c>>2]|0}while((b|0)!=0);b=f[a+188>>2]|0;if(b|0)Teb(b,473140,0)|0;f[a>>2]=0;tj[f[a+92>>2]&2047](a);u=d;return}c5a(458911,b)|0;u=d;return}function Lgb(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,o=0;l=u;u=u+16|0;j=l+4|0;k=l;switch(f[c>>2]|0){case 512:{e=Ngb(f[c+8>>2]|0)|0;i=a+188|0;if((e|0)!=(f[i>>2]|0)){u=l;return 0}d=f[a+4>>2]|0;if(d|0)Bj[d&1023](a,c);switch(b[c+12>>0]|0){case 6:{e=a+308|0;g=f[e>>2]|0;h=(g|0)!=0;do if(h){d=f[a+44>>2]|0;if(d|0?f[a+108>>2]&8|0:0){f[e>>2]=0;if((cj[d&1023](a,0)|0)<0)break;m=a+216|0;o=a+232|0;f[m>>2]=f[o>>2];f[m+4>>2]=f[o+4>>2];f[m+8>>2]=f[o+8>>2];f[m+12>>2]=f[o+12>>2];m=a+248|0;o=a+264|0;f[m>>2]=f[o>>2];f[m+4>>2]=f[o+4>>2];f[m+8>>2]=f[o+8>>2];f[m+12>>2]=f[o+12>>2];m=f[a+284>>2]|0;o=a+296|0;d=f[o+4>>2]|0;c=a+288|0;f[c>>2]=f[o>>2];f[c+4>>2]=d;c=f[a+208>>2]|0;d=f[a+204>>2]|0;f[a+280>>2]=m;f[a+196>>2]=d;f[a+200>>2]=c;if((_i[f[a+48>>2]&2047](a)|0)<0)break;_i[f[a+52>>2]&2047](a)|0;break}Y4a(4)|0}while(0);if(!(f[a+196>>2]|0)){d=f[a+8>>2]|0;if(!d)Z9a(f[i>>2]|0,j,k);else dj[d&255](a,j,k)|0;if(!(f[e>>2]|0)){f[a+216>>2]=0;f[a+220>>2]=0;f[a+224>>2]=f[j>>2];f[a+228>>2]=f[k>>2];_i[f[a+48>>2]&2047](a)|0}else{f[a+232>>2]=0;f[a+236>>2]=0;f[a+240>>2]=f[j>>2];f[a+244>>2]=f[k>>2]}}else Ogb(a)|0;if(!h){u=l;return 0}Pgb(a,g)|0;u=l;return 0}case 2:{f[a+192>>2]=1;u=l;return 0}case 1:{if((U4a(e)|0)&64|0){u=l;return 0}f[a+192>>2]=0;u=l;return 0}case 7:{f[a+192>>2]=1;u=l;return 0}case 8:case 9:{if((U4a(e)|0)&8|0){u=l;return 0}f[a+192>>2]=0;u=l;return 0}default:{u=l;return 0}}}case 1024:{d=Ngb(f[c+8>>2]|0)|0;if(!(f[a+196>>2]|0)){u=l;return 0}if((d|0)!=(f[a+188>>2]|0)){u=l;return 0}h=c+20|0;o=(f[h>>2]|0)-(f[a+216>>2]|0)|0;f[h>>2]=o;g=c+24|0;d=(f[g>>2]|0)-(f[a+220>>2]|0)|0;f[g>>2]=d;e=a+288|0;f[h>>2]=~~(+(o|0)/+n[e>>2]);h=a+292|0;f[g>>2]=~~(+(d|0)/+n[h>>2]);g=c+28|0;d=f[g>>2]|0;if((d|0)<=0){if((d|0)<0){d=~~(+(d|0)/+n[e>>2]);d=(d|0)<-1?d:-1;i=36}}else{d=~~(+(d|0)/+n[e>>2]);d=(d|0)>1?d:1;i=36}if((i|0)==36)f[g>>2]=d;d=c+32|0;e=f[d>>2]|0;if((e|0)>0){o=~~(+(e|0)/+n[h>>2]);f[d>>2]=(o|0)>1?o:1;u=l;return 0}if((e|0)>=0){u=l;return 0}o=~~(+(e|0)/+n[h>>2]);f[d>>2]=(o|0)<-1?o:-1;u=l;return 0}case 1026:case 1025:{d=Ngb(f[c+8>>2]|0)|0;if(!(f[a+196>>2]|0)){u=l;return 0}if((d|0)!=(f[a+188>>2]|0)){u=l;return 0}k=c+20|0;j=(f[k>>2]|0)-(f[a+216>>2]|0)|0;f[k>>2]=j;o=c+24|0;m=(f[o>>2]|0)-(f[a+220>>2]|0)|0;f[o>>2]=m;f[k>>2]=~~(+(j|0)/+n[a+288>>2]);f[o>>2]=~~(+(m|0)/+n[a+292>>2]);u=l;return 0}default:{u=l;return 0}}return 0}function Mgb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[125029]|0;if(!c)return;d=0;e=c;while(1){if((f[e>>2]|0)==(a|0)?(f[e+4>>2]|0)==(b|0):0)break;c=f[e+8>>2]|0;if(!c){g=7;break}else{d=e;e=c}}if((g|0)==7)return;f[((d|0)==0?500116:d+8|0)>>2]=f[e+8>>2];A5a(e);return}function Ngb(a){a=a|0;var b=0;b=f[124995]|0;if(!b){a=0;return a|0}b=f[b+272>>2]|0;if(!b){a=0;return a|0}while(1){if((f[b+4>>2]|0)==(a|0)){a=6;break}b=f[b+152>>2]|0;if(!b){b=0;a=6;break}}if((a|0)==6)return b|0;return 0}function Ogb(a){a=a|0;var b=0.0,c=0,d=0,e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0;p=u;u=u+64|0;o=p+32|0;h=p+24|0;g=p+16|0;d=p+8|0;j=p+60|0;k=p+56|0;l=p+40|0;f[j>>2]=1;f[k>>2]=1;i=a+196|0;if(!(f[i>>2]|0)){o=0;u=p;return o|0}m=a+200|0;if(!(f[m>>2]|0)){o=0;u=p;return o|0}if((f[a>>2]|0)!=505021){c5a(458911,p)|0;o=-1;u=p;return o|0}c=f[a+308>>2]|0;a:do if(!c){c=f[a+8>>2]|0;do if(!c){c=f[a+188>>2]|0;if(!c){c=c5a(458944,g)|0;break}else{Z9a(c,j,k);break a}}else c=dj[c&255](a,j,k)|0;while(0);if((c|0)<0){o=-1;u=p;return o|0}}else{if((f[c>>2]|0)==505022){f[j>>2]=f[c+12>>2];f[k>>2]=f[c+16>>2];break}c5a(458928,d)|0;o=-1;u=p;return o|0}while(0);b=+(f[i>>2]|0)/+(f[m>>2]|0);e=+(f[j>>2]|0)/+(f[k>>2]|0);if((f[a>>2]|0)==505021){n[a+288>>2]=1.0;n[a+292>>2]=1.0}else c5a(458911,h)|0;do if(!(f[a+212>>2]|0)){if(+Tab(b-e)<.0001){b=+(f[j>>2]|0)/+(f[i>>2]|0);Qgb(a,0)|0;break}if(b>e){j=f[j>>2]|0;b=+(j|0)/+(f[i>>2]|0);f[l>>2]=0;f[l+8>>2]=j;m=~~+gcb(b*+(f[m>>2]|0));f[l+12>>2]=m;f[l+4>>2]=((f[k>>2]|0)-m|0)/2|0;Qgb(a,l)|0;break}else{k=f[k>>2]|0;b=+(k|0)/+(f[m>>2]|0);f[l+4>>2]=0;f[l+12>>2]=k;m=~~+gcb(b*+(f[i>>2]|0));f[l+8>>2]=m;f[l>>2]=((f[j>>2]|0)-m|0)/2|0;Qgb(a,l)|0;break}}else{if(b>e){c=f[i>>2]|0;d=(f[j>>2]|0)/(c|0)|0}else{d=(f[k>>2]|0)/(f[m>>2]|0)|0;c=f[i>>2]|0}b=+(d|0);i=~~+gcb(b*+(c|0));f[l+8>>2]=i;f[l>>2]=((f[j>>2]|0)-i|0)/2|0;m=~~+gcb(b*+(f[m>>2]|0));f[l+12>>2]=m;f[l+4>>2]=((f[k>>2]|0)-m|0)/2|0;Qgb(a,l)|0}while(0);if((f[a>>2]|0)==505021){n[a+288>>2]=b;n[a+292>>2]=b;o=0;u=p;return o|0}else{c5a(458911,o)|0;o=0;u=p;return o|0}return 0}function Pgb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+32|0;e=j+16|0;d=j+8|0;c=j;if((a|0?(i=f[a+44>>2]|0,i|0):0)?f[a+108>>2]&8|0:0){h=a+308|0;g=f[h>>2]|0;if((g|0)==(b|0)){a=0;u=j;return a|0}do if(b){if((f[b>>2]|0)!=505022){c5a(458928,c)|0;a=-1;u=j;return a|0}if((f[b+32>>2]|0)!=(a|0)){a=c5a(473162,d)|0;u=j;return a|0}if((f[b+8>>2]|0)==2){c=f[b+36>>2]|0;b=(c|0)==0?b:c;c=(b|0)!=0;if(g|0){d=b;break}e=a+232|0;g=a+216|0;f[e>>2]=f[g>>2];f[e+4>>2]=f[g+4>>2];f[e+8>>2]=f[g+8>>2];f[e+12>>2]=f[g+12>>2];e=a+264|0;g=a+248|0;f[e>>2]=f[g>>2];f[e+4>>2]=f[g+4>>2];f[e+8>>2]=f[g+8>>2];f[e+12>>2]=f[g+12>>2];f[a+284>>2]=f[a+280>>2];e=a+288|0;g=f[e+4>>2]|0;d=a+296|0;f[d>>2]=f[e>>2];f[d+4>>2]=g;f[a+204>>2]=f[a+196>>2];f[a+208>>2]=f[a+200>>2];d=b;break}else{a=c5a(473205,e)|0;u=j;return a|0}}else{d=0;c=0}while(0);f[h>>2]=d;if((cj[i&1023](a,d)|0)<0){a=-1;u=j;return a|0}b=a+216|0;if(c){f[b>>2]=0;f[a+220>>2]=0;c=d+12|0;f[a+224>>2]=f[c>>2];b=d+16|0;f[a+228>>2]=f[b>>2];P5a(a+248|0,0,16)|0;n[a+288>>2]=1.0;n[a+292>>2]=1.0;d=0}else{d=a+232|0;f[b>>2]=f[d>>2];f[b+4>>2]=f[d+4>>2];f[b+8>>2]=f[d+8>>2];f[b+12>>2]=f[d+12>>2];d=a+248|0;i=a+264|0;f[d>>2]=f[i>>2];f[d+4>>2]=f[i+4>>2];f[d+8>>2]=f[i+8>>2];f[d+12>>2]=f[i+12>>2];d=f[a+284>>2]|0;i=a+296|0;c=f[i+4>>2]|0;b=a+288|0;f[b>>2]=f[i>>2];f[b+4>>2]=c;b=a+208|0;c=a+204|0}i=f[b>>2]|0;h=f[c>>2]|0;f[a+280>>2]=d;f[a+196>>2]=h;f[a+200>>2]=i;if((_i[f[a+48>>2]&2047](a)|0)<0){a=-1;u=j;return a|0}a=(_i[f[a+52>>2]&2047](a)|0)>>31;u=j;return a|0}a=Y4a(4)|0;u=j;return a|0}function Qgb(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;g=h+16|0;e=h+8|0;c=h;if(a|0?(f[a>>2]|0)==505021:0){a:do if(!b){f[a+216>>2]=0;f[a+220>>2]=0;c=a+224|0;d=a+228|0;b=f[a+308>>2]|0;if(b|0){if((f[b>>2]|0)==505022){f[c>>2]=f[b+12>>2];f[d>>2]=f[b+16>>2];break}c5a(458928,e)|0;a=-1;u=h;return a|0}b=f[a+8>>2]|0;do if(!b){b=f[a+188>>2]|0;if(!b){b=c5a(458944,g)|0;break}else{Z9a(b,c,d);break a}}else b=dj[b&255](a,c,d)|0;while(0);if((b|0)<0){a=-1;u=h;return a|0}}else{e=a+288|0;g=~~+pcb(+n[e>>2]*+(f[b>>2]|0));f[a+216>>2]=g;g=a+292|0;d=~~+pcb(+n[g>>2]*+(f[b+4>>2]|0));f[a+220>>2]=d;e=~~+gcb(+n[e>>2]*+(f[b+8>>2]|0));f[a+224>>2]=e;g=~~+gcb(+n[g>>2]*+(f[b+12>>2]|0));f[a+228>>2]=g}while(0);a=_i[f[a+48>>2]&2047](a)|0;u=h;return a|0}c5a(458911,c)|0;a=-1;u=h;return a|0}function Rgb(a){a=a|0;if(!a)return;A5a(f[a+16>>2]|0);A5a(f[a+20>>2]|0);A5a(f[a+24>>2]|0);S5a(f[a+56>>2]|0);S5a(f[a+60>>2]|0);A5a(a);return}function Sgb(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,k=0,l=0;l=u;u=u+48|0;i=l+32|0;k=l+24|0;j=l+16|0;h=l+8|0;g=l;if((a|0)<1){f[g>>2]=473511;c5a(473278,g)|0;e=0;u=l;return e|0}if((b|0)<1){f[h>>2]=473517;c5a(473278,h)|0;e=0;u=l;return e|0}if(!d){f[j>>2]=473524;c5a(473278,j)|0;e=0;u=l;return e|0}if(!e){f[k>>2]=473530;c5a(473278,k)|0;e=0;u=l;return e|0}if((c|0)<1){f[i>>2]=473535;c5a(473278,i)|0;e=0;u=l;return e|0}g=0;h=0;i=b;do{j=f[d+(g<<4)+4>>2]|0;k=(f[d+(g<<4)+12>>2]|0)+j|0;i=(j|0)<0?0:(j|0)<(i|0)?j:i;h=(k|0)>(b|0)?b:(k|0)>(h|0)?k:h;g=g+1|0}while((g|0)!=(c|0));if((h|0)<=(i|0)){e=0;u=l;return e|0}f[e>>2]=0;f[e+4>>2]=i;f[e+8>>2]=a;f[e+12>>2]=h-i;e=1;u=l;return e|0}function Tgb(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;q=u;u=u+64|0;i=q+16|0;h=q+8|0;g=q;p=q+48|0;m=q+44|0;n=q+40|0;e=q+24|0;if(a|0?(f[a>>2]|0)==505022:0){if(!c){f[h>>2]=473304;p=c5a(473278,h)|0;u=q;return p|0}if(!d){f[i>>2]=473311;p=c5a(473278,i)|0;u=q;return p|0}if(!b){f[e>>2]=0;f[e+4>>2]=0;g=f[a+12>>2]|0;j=e+8|0;f[j>>2]=g;f[e+12>>2]=f[a+16>>2]}else{g=b+8|0;e=b;j=g;g=f[g>>2]|0}if(!g){p=0;u=q;return p|0}k=e+12|0;i=f[k>>2]|0;if(!i){p=0;u=q;return p|0}l=a+40|0;b=f[l>>2]|0;o=f[a+36>>2]|0;if(b|0){do if((Xgb(b,e,c,d)|0)>=0){f[p>>2]=0;f[p+4>>2]=0;e=f[a+12>>2]|0;i=p+8|0;f[i>>2]=e;h=f[a+16>>2]|0;j=p+12|0;f[j>>2]=h;if((f[a+8>>2]|0)==1)if((Ygb(o,p,m,n)|0)<0){b=-1;break}else{Zgb(f[l>>2]|0,p,f[o+4>>2]|0,f[i>>2]|0,f[j>>2]|0,f[m>>2]|0,f[n>>2]|0)|0;_gb(o);b=0;break}g=o+4|0;b=f[g>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);e=(W(b,e)|0)+3&-4;b=K5a(W(e,h)|0)|0;if(!b){b=Y4a(0)|0;break}else{Zgb(f[l>>2]|0,p,f[g>>2]|0,f[i>>2]|0,f[j>>2]|0,b,e)|0;Tgb(o,p,b,e)|0;A5a(b);b=0;break}}else b=-1;while(0);p=b;u=q;return p|0}if(!o){p=f[a+32>>2]|0;p=hj[f[p+28>>2]&63](p,a,e,c,d)|0;u=q;return p|0}if((f[a+8>>2]|0)==1)if((Ygb(o,e,p,m)|0)<0){p=-1;u=q;return p|0}else{N5a(f[j>>2]|0,f[k>>2]|0,f[a+4>>2]|0,c,d,f[o+4>>2]|0,f[p>>2]|0,f[m>>2]|0)|0;_gb(o);p=0;u=q;return p|0}h=o+4|0;b=f[h>>2]|0;b:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break b}default:{}}else switch(b|0){case 1498831189:{b=2;break b}default:{}}b=(b|0)==1431918169?2:1}while(0);g=(W(b,g)|0)+3&-4;b=K5a(W(g,i)|0)|0;if(!b){p=Y4a(0)|0;u=q;return p|0}else{N5a(f[j>>2]|0,f[k>>2]|0,f[a+4>>2]|0,c,d,f[h>>2]|0,b,g)|0;Tgb(o,e,b,g)|0;A5a(b);p=0;u=q;return p|0}}c5a(458928,g)|0;p=-1;u=q;return p|0}function Ugb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0.0;p=u;u=u+80|0;k=p+24|0;j=p+16|0;i=p+8|0;h=p;l=p+64|0;m=p+48|0;o=p+32|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[l+12>>2]=0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;if(a|0?(f[a>>2]|0)==505021:0){if(b|0?(f[b>>2]|0)==505022:0){if((f[b+32>>2]|0)!=(a|0)){o=c5a(473162,j)|0;u=p;return o|0}if(f[a+192>>2]|0){o=0;u=p;return o|0}f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=f[b+12>>2];f[l+12>>2]=f[b+16>>2];do if(c){if(!(X9a(c,l,l)|0)){o=0;u=p;return o|0}if((f[a>>2]|0)==505021){e=+n[a+288>>2];f[m>>2]=~~(+(f[a+216>>2]|0)/e);g=+n[a+292>>2];h=m+4|0;f[h>>2]=~~(+(f[a+220>>2]|0)/g);f[m+8>>2]=~~(+(f[a+224>>2]|0)/e);f[m+12>>2]=~~(+(f[a+228>>2]|0)/g);c=m;break}else{c5a(458911,k)|0;h=m+4|0;c=m;break}}else{e=+n[a+288>>2];f[m>>2]=~~(+(f[a+216>>2]|0)/e);g=+n[a+292>>2];h=m+4|0;f[h>>2]=~~(+(f[a+220>>2]|0)/g);f[m+8>>2]=~~(+(f[a+224>>2]|0)/e);f[m+12>>2]=~~(+(f[a+228>>2]|0)/g);c=m}while(0);f[c>>2]=0;f[h>>2]=0;do if(d)if(!(Wgb(d,m)|0)){o=0;u=p;return o|0}else{f[m>>2]=f[d>>2];f[m+4>>2]=f[d+4>>2];f[m+8>>2]=f[d+8>>2];f[m+12>>2]=f[d+12>>2];g=+(f[c>>2]|0);e=+(f[h>>2]|0);break}else{g=0.0;e=0.0}while(0);d=f[b+36>>2]|0;q=+n[a+288>>2];n[o>>2]=q*g;g=+n[a+292>>2];n[o+4>>2]=g*e;n[o+8>>2]=q*+(f[m+8>>2]|0);n[o+12>>2]=g*+(f[m+12>>2]|0);o=ej[f[a+72>>2]&63](a,(d|0)==0?b:d,l,o)|0;u=p;return o|0}c5a(458928,i)|0;o=-1;u=p;return o|0}c5a(458911,h)|0;o=-1;u=p;return o|0}function Vgb(a){a=a|0;var b=0,c=0;c=u;u=u+16|0;b=c;if(a|0?(f[a>>2]|0)==505021:0){if(f[a+192>>2]|0){u=c;return}tj[f[a+84>>2]&2047](a);u=c;return}c5a(458911,b)|0;u=c;return}function Wgb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;d=i+8|0;c=i;do if(a){if(!b){f[d>>2]=458863;c5a(473278,d)|0;c=0;break}c=f[a+8>>2]|0;if(((((c|0)>=1?(h=f[a+12>>2]|0,(h|0)>0):0)?(e=f[b+8>>2]|0,(e|0)>=1):0)?(g=f[b+12>>2]|0,(g|0)>0):0)?(d=f[a>>2]|0,j=c+d|0,c=f[b>>2]|0,e=e+c|0,(((e|0)<(j|0)?e:j)|0)>(((c|0)>(d|0)?c:d)|0)):0){c=f[a+4>>2]|0;h=h+c|0;j=f[b+4>>2]|0;g=g+j|0;c=(((g|0)<(h|0)?g:h)|0)>(((j|0)>(c|0)?j:c)|0)&1}else c=0}else{f[c>>2]=474452;c5a(473278,c)|0;c=0}while(0);u=i;return c|0}function Xgb(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=f[a>>2]|0;a:do if((e|0)<1431918169)if((e|0)<844715353){switch(e|0){case 842094169:break a;default:{}}return 0}else{switch(e|0){case 844715353:{g=16;break a}default:{}}return 0}else{if((e|0)<1448433993){switch(e|0){case 1431918169:{g=16;break a}default:{}}return 0}if((e|0)<1498831189){switch(e|0){case 1448433993:break a;default:{}}return 0}else{switch(e|0){case 1498831189:{g=16;break a}default:{}}return 0}}while(0);if((g|0)==16){k=a+36|0;h=f[b+8>>2]<<1;i=b+12|0;if((f[i>>2]|0)<=0)return 0;e=(f[a+44>>2]|0)+(W(f[b+4>>2]|0,j[k>>1]|0)|0)|0;g=0;e=e+(f[b>>2]<<1)|0;while(1){M5a(e,c,h)|0;g=g+1|0;if((g|0)>=(f[i>>2]|0))break;else{e=e+(j[k>>1]|0)|0;c=c+d|0}}return 0}e=f[b>>2]|0;q=b+4|0;if((((e|0)==0?(f[q>>2]|0)==0:0)?(h=f[b+8>>2]|0,(h|0)==(f[a+8>>2]|0)):0)?(i=f[b+12>>2]|0,(i|0)==(f[a+12>>2]|0)):0){d=W(i,h)|0;M5a(f[a+16>>2]|0,c,((d|0)/2|0)+d|0)|0;return 0}p=a+16|0;r=a+8|0;o=b+8|0;i=f[o>>2]|0;s=b+12|0;if((f[s>>2]|0)<=0)return 0;h=0;e=(f[p>>2]|0)+(W(f[r>>2]|0,f[q>>2]|0)|0)+e|0;g=c;while(1){M5a(e,g,i)|0;k=f[r>>2]|0;h=h+1|0;l=f[s>>2]|0;if((h|0)>=(l|0))break;else{e=e+k|0;g=g+d|0}}n=a+12|0;a=(f[o>>2]|0)/2|0;if((l|0)<=1)return 0;e=(f[p>>2]|0)+(W(k,f[n>>2]|0)|0)|0;h=(W((f[q>>2]|0)/2|0,k)|0)/2|0;i=(d|0)/2|0;g=0;h=e+(h+((f[b>>2]|0)/2|0))|0;e=c+(W(l,d)|0)|0;while(1){M5a(h,e,a)|0;l=f[r>>2]|0;g=g+1|0;m=f[s>>2]|0;if((g|0)>=((m|0)/2|0|0))break;else{h=h+((l|0)/2|0)|0;e=e+i|0}}k=(f[o>>2]|0)/2|0;i=W(m,d)|0;e=W(l,f[n>>2]|0)|0;if((m|0)<=1)return 0;q=(W((f[q>>2]|0)/2|0,l)|0)/2|0;h=(d|0)/2|0;g=0;e=(f[p>>2]|0)+e+((e|0)/4|0)+(q+((f[b>>2]|0)/2|0))|0;c=c+i+((i|0)/4|0)|0;while(1){M5a(e,c,k)|0;g=g+1|0;if((g|0)>=((f[s>>2]|0)/2|0|0))break;else{e=e+((f[r>>2]|0)/2|0)|0;c=c+h|0}}return 0}function Ygb(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=u;u=u+32|0;h=i+8|0;g=i;e=i+16|0;if(a|0?(f[a>>2]|0)==505022:0){if((f[a+8>>2]|0)!=1){d=c5a(473411,h)|0;u=i;return d|0}if(!b){f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=f[a+12>>2];f[e+12>>2]=f[a+16>>2];b=e}e=f[a+40>>2]|0;if(e|0){d=mhb(e,b,c,d)|0;u=i;return d|0}if(!(f[a+36>>2]|0)){h=f[a+32>>2]|0;d=hj[f[h+36>>2]&63](h,a,b,c,d)|0;u=i;return d|0}g=a+52|0;f[g>>2]=f[b>>2];f[g+4>>2]=f[b+4>>2];f[g+8>>2]=f[b+8>>2];f[g+12>>2]=f[b+12>>2];g=f[a+48>>2]|0;h=(f[a+44>>2]|0)+(W(g,f[b+4>>2]|0)|0)|0;b=f[b>>2]|0;e=f[a+4>>2]|0;a:do if((e|0)==0|(e&-268435456|0)==268435456)e=e&255;else{if((e|0)<1498831189)switch(e|0){case 844715353:{e=2;break a}default:{}}else switch(e|0){case 1498831189:{e=2;break a}default:{}}e=(e|0)==1431918169?2:1}while(0);a=h+(W(e,b)|0)|0;f[c>>2]=a;f[d>>2]=g;d=0;u=i;return d|0}c5a(458928,g)|0;d=-1;u=i;return d|0}function Zgb(a,b,c,d,e,g,h){a=a|0;b=b|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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=u;u=u+64|0;A=E+16|0;k=E+8|0;j=E;D=E+40|0;y=E+32|0;z=E+28|0;w=E+24|0;x=E+20|0;v=(c|0)==0|(c&-268435456|0)==268435456;a:do if(v){i=c&255;if(!i){D=c5a(473317,j)|0;u=E;return D|0}else B=i}else{b:do if((c|0)>=1431918169)if((c|0)<1498831189)switch(c|0){case 1431918169:break b;default:{B=1;break a}}else switch(c|0){case 1498831189:break b;default:{B=1;break a}}else switch(c|0){case 844715353:break;default:{B=1;break a}}while(0);B=2}while(0);i=a+4|0;do if((f[i>>2]|0)!=(c|0)){r=(Y9a(c,D,y,z,w,x)|0)==0;if(r|(f[D>>2]|0)<15){if((c5a(473345,k)|0)<0)i=-1;else break;u=E;return i|0}f[i>>2]=c;p=f[a+24>>2]|0;q=p+3072|0;r=p+6144|0;l=0;do{i=f[y>>2]|0;if(!i)i=0;else{j=0;do{j=(i&1)+j|0;i=i>>>1}while((i|0)!=0);i=j}o=l>>>(8-i|0);k=l+256|0;i=p+(k<<2)|0;f[i>>2]=o;o=o<<($gb(f[y>>2]|0)|0);f[i>>2]=o;f[i>>2]=f[x>>2]|o;i=f[z>>2]|0;if(!i)i=0;else{j=0;do{j=(i&1)+j|0;i=i>>>1}while((i|0)!=0);i=j}o=l>>>(8-i|0);i=q+(k<<2)|0;f[i>>2]=o;o=o<<($gb(f[z>>2]|0)|0);f[i>>2]=o;f[i>>2]=f[x>>2]|o;i=f[w>>2]|0;if(!i)i=0;else{j=0;do{j=(i&1)+j|0;i=i>>>1}while((i|0)!=0);i=j}n=l>>>(8-i|0);o=r+(k<<2)|0;f[o>>2]=n;n=n<<($gb(f[w>>2]|0)|0);f[o>>2]=n;f[o>>2]=f[x>>2]|n;l=l+1|0}while((l|0)!=256);c:do if(v){if((c&255|0)==2)C=23}else{if((c|0)<1431918169)switch(c|0){case 844715353:{C=23;break c}default:break c}if((c|0)<1498831189)switch(c|0){case 1431918169:{C=23;break c}default:break c}else switch(c|0){case 1498831189:{C=23;break c}default:break c}}while(0);if((C|0)==23){i=0;do{o=i+256|0;n=p+(o<<2)|0;m=f[n>>2]|0;f[n>>2]=m<<16|m;n=q+(o<<2)|0;m=f[n>>2]|0;f[n>>2]=m<<16|m;o=r+(o<<2)|0;n=f[o>>2]|0;f[o>>2]=n<<16|n;i=i+1|0}while((i|0)!=256)}j=p+1024|0;k=p+2044|0;l=p+4096|0;m=p+5116|0;n=p+7168|0;o=p+8188|0;i=0;do{f[p+(i<<2)>>2]=f[j>>2];F=i+512|0;f[p+(F<<2)>>2]=f[k>>2];f[q+(i<<2)>>2]=f[l>>2];f[q+(F<<2)>>2]=f[m>>2];f[r+(i<<2)>>2]=f[n>>2];f[r+(F<<2)>>2]=f[o>>2];i=i+1|0}while((i|0)!=256);i=f[a>>2]|0;d:do if((i|0)<1431918169)if((i|0)<844715353)switch(i|0){case 842094169:{C=28;break d}default:break d}else switch(i|0){case 844715353:{C=35;break d}default:break d}else{if((i|0)<1448433993)switch(i|0){case 1431918169:{C=35;break d}default:break d}if((i|0)<1498831189)switch(i|0){case 1448433993:{C=28;break d}default:break d}else switch(i|0){case 1498831189:{C=35;break d}default:break d}}while(0);e:do if((C|0)==28){if(v)switch((c&255)<<24>>24){case 2:{f[a+28>>2]=1;f[a+32>>2]=2;break e}case 3:{f[a+28>>2]=3;f[a+32>>2]=4;break e}case 4:{f[a+28>>2]=5;f[a+32>>2]=6;break e}default:break e}f:do if((c|0)>=1431918169)if((c|0)<1498831189)switch(c|0){case 1431918169:break f;default:break e}else switch(c|0){case 1498831189:break f;default:break e}else switch(c|0){case 844715353:break;default:break e}while(0);f[a+28>>2]=1;f[a+32>>2]=2}else if((C|0)==35){if(v)switch((c&255)<<24>>24){case 2:{f[a+28>>2]=7;f[a+32>>2]=8;break e}case 3:{f[a+28>>2]=9;f[a+32>>2]=10;break e}case 4:{f[a+28>>2]=11;f[a+32>>2]=12;break e}default:break e}g:do if((c|0)>=1431918169)if((c|0)<1498831189)switch(c|0){case 1431918169:break g;default:break e}else switch(c|0){case 1498831189:break g;default:break e}else switch(c|0){case 844715353:break;default:break e}while(0);f[a+28>>2]=7;f[a+32>>2]=8}while(0);F=a+60|0;S5a(f[F>>2]|0);f[F>>2]=0}while(0);if((((f[b>>2]|0)==0?(f[b+4>>2]|0)==0:0)?(s=f[b+8>>2]|0,(s|0)>=(f[a+8>>2]|0)):0)?(t=f[b+12>>2]|0,(t|0)>=(f[a+12>>2]|0)):0)if(!((s|0)==(d|0)&(t|0)==(e|0)))if((s<<1|0)==(d|0)&(t<<1|0)==(e|0)){n=1;o=0}else C=49;else{n=0;o=0}else C=49;if((C|0)==49){i=a+60|0;j=f[i>>2]|0;if(!j){Y9a(c,D,y,z,w,x)|0;F=Ycb(g,d,e,f[D>>2]|0,h,f[y>>2]|0,f[z>>2]|0,f[w>>2]|0,f[x>>2]|0)|0;f[i>>2]=F;if(!F){j=0;i=g}else C=52}else{f[j+8>>2]=d;f[j+12>>2]=e;f[j+20>>2]=g;f[j+16>>2]=h;C=52}do if((C|0)==52){j=a+56|0;i=f[j>>2]|0;if(!i){Y9a(c,D,y,z,w,x)|0;i=Pbb(0,f[a+8>>2]|0,f[a+12>>2]|0,f[D>>2]|0,f[y>>2]|0,f[z>>2]|0,f[w>>2]|0,f[x>>2]|0)|0;f[j>>2]=i;if(!i){j=0;i=g;break}}j=1;h=f[i+16>>2]|0;i=f[i+20>>2]|0}while(0);if(j){n=0;o=1;g=i}else{F=-1;u=E;return F|0}}i=f[a>>2]|0;h:do if((i|0)<1431918169)if((i|0)<844715353){switch(i|0){case 842094169:break;default:{C=62;break h}}k=f[a+52>>2]|0;l=f[a+48>>2]|0;m=f[a+44>>2]|0;break}else{switch(i|0){case 844715353:break;default:{C=62;break h}}m=f[a+44>>2]|0;k=m+1|0;l=m+3|0;break}else{if((i|0)<1448433993){switch(i|0){case 1431918169:break;default:{C=62;break h}}m=f[a+44>>2]|0;k=m+3|0;l=m+1|0;break}if((i|0)<1498831189){switch(i|0){case 1448433993:break;default:{C=62;break h}}k=f[a+48>>2]|0;l=f[a+52>>2]|0;m=f[a+44>>2]|0;break}else{switch(i|0){case 1498831189:break;default:{C=62;break h}}m=f[a+44>>2]|0;k=m;l=m+2|0;m=m+1|0;break}}while(0);if((C|0)==62){F=c5a(473380,A)|0;u=E;return F|0}i=(h|0)/(B|0)|0;j=f[a+8>>2]|0;if(!n)Oj[f[a+28>>2]&15](f[a+20>>2]|0,f[a+24>>2]|0,m,l,k,g,f[a+12>>2]|0,j,i-j|0);else Oj[f[a+32>>2]&15](f[a+20>>2]|0,f[a+24>>2]|0,m,l,k,g,f[a+12>>2]|0,j,i-(j<<1)|0);if(!o){F=0;u=E;return F|0};f[D>>2]=f[b>>2];f[D+4>>2]=f[b+4>>2];f[D+8>>2]=f[b+8>>2];f[D+12>>2]=f[b+12>>2];rcb(f[a+56>>2]|0,D,f[a+60>>2]|0,0)|0;F=0;u=E;return F|0}function _gb(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;l=u;u=u+32|0;b=l;j=l+28|0;k=l+24|0;e=l+8|0;if(a|0?(f[a>>2]|0)==505022:0){if((f[a+8>>2]|0)!=1){u=l;return}b=a+40|0;i=f[a+36>>2]|0;if(f[b>>2]|0){f[j>>2]=0;f[k>>2]=0;f[e>>2]=0;f[e+4>>2]=0;c=e+8|0;f[c>>2]=f[a+12>>2];d=e+12|0;f[d>>2]=f[a+16>>2];if((Ygb(i,e,j,k)|0)>=0){Zgb(f[b>>2]|0,e,f[i+4>>2]|0,f[c>>2]|0,f[d>>2]|0,f[j>>2]|0,f[k>>2]|0)|0;_gb(i)}u=l;return}if(!i){k=f[a+32>>2]|0;Bj[f[k+40>>2]&1023](k,a);u=l;return}f[j>>2]=0;f[k>>2]=0;c=a+52|0;d=f[a+48>>2]|0;e=(f[a+44>>2]|0)+(W(d,f[a+56>>2]|0)|0)|0;g=f[c>>2]|0;h=a+4|0;b=f[h>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);if((Ygb(i,c,j,k)|0)>=0){g=e+(W(b,g)|0)|0;N5a(f[a+60>>2]|0,f[a+64>>2]|0,f[h>>2]|0,g,d,f[i+4>>2]|0,f[j>>2]|0,f[k>>2]|0)|0;_gb(i)}u=l;return}c5a(458928,b)|0;u=l;return}function $gb(a){a=a|0;if(!a){a=32;return a|0}if(!(a&1))return ($gb(a>>>1)|0)+1|0;else{a=0;return a|0}return 0}function ahb(a,b,c,e,g,i,j,k,l){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=(k|0)/2|0;t=(l<<1)+k|0;if((j+1|0)>>>0<3|(k+1|0)>>>0<3)return;u=v<<1;s=i+(k<<1)+(l<<1)|0;r=(j|0)/2|0;while(1){r=r+-1|0;o=e;e=e+v|0;l=v;j=c+k|0;m=s;n=c;c=c+u+k|0;p=g;q=i;while(1){l=l+-1|0;z=h[o>>0]|0;y=(f[a+(z<<2)>>2]|0)+256|0;x=h[p>>0]|0;z=(f[a+((z|256)<<2)>>2]|0)+1024+(f[a+((x|512)<<2)>>2]|0)|0;x=(f[a+((x|768)<<2)>>2]|0)+1792|0;w=h[n>>0]|0;d[q>>1]=f[b+(z+w<<2)>>2]|f[b+(y+w<<2)>>2]|f[b+(x+w<<2)>>2];w=h[n+1>>0]|0;d[q+2>>1]=f[b+(z+w<<2)>>2]|f[b+(y+w<<2)>>2]|f[b+(x+w<<2)>>2];w=h[j>>0]|0;d[m>>1]=f[b+(z+w<<2)>>2]|f[b+(y+w<<2)>>2]|f[b+(x+w<<2)>>2];w=h[j+1>>0]|0;d[m+2>>1]=f[b+(z+w<<2)>>2]|f[b+(y+w<<2)>>2]|f[b+(x+w<<2)>>2];if(!l)break;else{j=j+2|0;m=m+4|0;n=n+2|0;o=o+1|0;p=p+1|0;q=q+4|0}}if(!r)break;else{s=s+(u<<1)+(t<<1)|0;g=g+v|0;i=i+(u<<1)+(t<<1)|0}}return}function bhb(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;u=(k|0)/2|0;s=u+j|0;t=(j|0)/2|0;u=(s*3|0)+u|0;if((i+1|0)>>>0<3|(j+1|0)>>>0<3)return;v=t<<1;r=g;q=g+(s<<1<<2)|0;p=(i|0)/2|0;while(1){p=p+-1|0;g=d;d=d+t|0;k=t;i=e;l=r;m=c+j|0;n=q;o=c;c=c+v+j|0;while(1){k=k+-1|0;A=h[g>>0]|0;z=(f[a+(A<<2)>>2]|0)+256|0;y=h[i>>0]|0;A=(f[a+((A|256)<<2)>>2]|0)+1024+(f[a+((y|512)<<2)>>2]|0)|0;y=(f[a+((y|768)<<2)>>2]|0)+1792|0;w=h[o>>0]|0;w=f[b+(A+w<<2)>>2]|f[b+(z+w<<2)>>2]|f[b+(y+w<<2)>>2];f[l+(s<<2)>>2]=w;f[l>>2]=w;w=l+4|0;x=h[o+1>>0]|0;x=f[b+(A+x<<2)>>2]|f[b+(z+x<<2)>>2]|f[b+(y+x<<2)>>2];f[w+(s<<2)>>2]=x;f[w>>2]=x;w=h[m>>0]|0;w=f[b+(A+w<<2)>>2]|f[b+(z+w<<2)>>2]|f[b+(y+w<<2)>>2];f[n+(s<<2)>>2]=w;f[n>>2]=w;w=n+4|0;x=h[m+1>>0]|0;x=f[b+(A+x<<2)>>2]|f[b+(z+x<<2)>>2]|f[b+(y+x<<2)>>2];f[w+(s<<2)>>2]=x;f[w>>2]=x;if(!k)break;else{g=g+1|0;i=i+1|0;l=l+8|0;m=m+2|0;n=n+8|0;o=o+2|0}}if(!p)break;else{e=e+t|0;r=r+(v<<2)+(u<<2)|0;q=q+(v<<2)+(u<<2)|0}}return}function chb(a,c,d,e,g,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;A=(k|0)/2|0;v=((l<<1)+k|0)*3|0;if((j+1|0)>>>0<3)return;w=(k+1|0)>>>0<3;x=A<<1;y=A*6|0;z=x+k|0;u=i;i=i+(k*3|0)+(l*3|0)|0;s=d;t=(j|0)/2|0;l=d;while(1){t=t+-1|0;m=l+k|0;if(w){d=s;j=u;l=m}else{r=e+A|0;d=s+x|0;l=l+z|0;q=A;o=g;p=u;n=i;j=s;while(1){q=q+-1|0;D=h[e>>0]|0;C=(f[a+(D<<2)>>2]|0)+256|0;B=h[o>>0]|0;D=(f[a+((D|256)<<2)>>2]|0)+1024+(f[a+((B|512)<<2)>>2]|0)|0;B=(f[a+((B|768)<<2)>>2]|0)+1792|0;s=h[j>>0]|0;s=f[c+(D+s<<2)>>2]|f[c+(C+s<<2)>>2]|f[c+(B+s<<2)>>2];b[p>>0]=s;b[p+1>>0]=s>>>8;b[p+2>>0]=s>>>16;s=h[j+1>>0]|0;s=f[c+(D+s<<2)>>2]|f[c+(C+s<<2)>>2]|f[c+(B+s<<2)>>2];b[p+3>>0]=s;b[p+4>>0]=s>>>8;b[p+5>>0]=s>>>16;s=h[m>>0]|0;s=f[c+(D+s<<2)>>2]|f[c+(C+s<<2)>>2]|f[c+(B+s<<2)>>2];b[n>>0]=s;b[n+1>>0]=s>>>8;b[n+2>>0]=s>>>16;s=h[m+1>>0]|0;s=f[c+(D+s<<2)>>2]|f[c+(C+s<<2)>>2]|f[c+(B+s<<2)>>2];b[n+3>>0]=s;b[n+4>>0]=s>>>8;b[n+5>>0]=s>>>16;if(!q)break;else{e=e+1|0;o=o+1|0;p=p+6|0;m=m+2|0;n=n+6|0;j=j+2|0}}e=r;g=g+A|0;j=u+y|0;i=i+y|0}if(!t)break;else{u=j+v|0;i=i+v|0;s=d+k|0}}return}function dhb(a,c,d,e,g,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;m=(k<<1)+l|0;E=m*3|0;F=(k|0)/2|0;u=(m*9|0)+(l*3|0)|0;if((j+1|0)>>>0<3)return;v=(k+1|0)>>>0<3;w=E+3|0;x=E+4|0;y=E+1|0;z=E+5|0;A=E+2|0;B=F<<1;C=F*12|0;D=B+k|0;t=i;l=i+(m*6|0)|0;i=d;s=(j|0)/2|0;m=d;while(1){s=s+-1|0;d=m+k|0;if(v){j=i;i=t;m=d}else{r=e+F|0;j=i+B|0;m=m+D|0;q=F;o=g;p=t;n=l;while(1){q=q+-1|0;K=h[e>>0]|0;J=(f[a+(K<<2)>>2]|0)+256|0;I=h[o>>0]|0;K=(f[a+((K|256)<<2)>>2]|0)+1024+(f[a+((I|512)<<2)>>2]|0)|0;I=(f[a+((I|768)<<2)>>2]|0)+1792|0;G=h[i>>0]|0;G=f[c+(K+G<<2)>>2]|f[c+(J+G<<2)>>2]|f[c+(I+G<<2)>>2];H=G&255;b[p+w>>0]=H;b[p+E>>0]=H;b[p+3>>0]=H;b[p>>0]=H;H=G>>>8&255;b[p+x>>0]=H;b[p+y>>0]=H;b[p+4>>0]=H;b[p+1>>0]=H;G=G>>>16&255;b[p+z>>0]=G;b[p+A>>0]=G;b[p+5>>0]=G;b[p+2>>0]=G;G=p+6|0;H=h[i+1>>0]|0;H=f[c+(K+H<<2)>>2]|f[c+(J+H<<2)>>2]|f[c+(I+H<<2)>>2];L=H&255;b[G+w>>0]=L;b[G+E>>0]=L;b[p+9>>0]=L;b[G>>0]=L;L=H>>>8&255;b[G+x>>0]=L;b[G+y>>0]=L;b[p+10>>0]=L;b[p+7>>0]=L;H=H>>>16&255;b[G+z>>0]=H;b[G+A>>0]=H;b[p+11>>0]=H;b[p+8>>0]=H;H=h[d>>0]|0;H=f[c+(K+H<<2)>>2]|f[c+(J+H<<2)>>2]|f[c+(I+H<<2)>>2];G=H&255;b[n+w>>0]=G;b[n+E>>0]=G;b[n+3>>0]=G;b[n>>0]=G;G=H>>>8&255;b[n+x>>0]=G;b[n+y>>0]=G;b[n+4>>0]=G;b[n+1>>0]=G;H=H>>>16&255;b[n+z>>0]=H;b[n+A>>0]=H;b[n+5>>0]=H;b[n+2>>0]=H;H=n+6|0;G=h[d+1>>0]|0;G=f[c+(K+G<<2)>>2]|f[c+(J+G<<2)>>2]|f[c+(I+G<<2)>>2];I=G&255;b[H+w>>0]=I;b[H+E>>0]=I;b[n+9>>0]=I;b[H>>0]=I;I=G>>>8&255;b[H+x>>0]=I;b[H+y>>0]=I;b[n+10>>0]=I;b[n+7>>0]=I;G=G>>>16&255;b[H+z>>0]=G;b[H+A>>0]=G;b[n+11>>0]=G;b[n+8>>0]=G;if(!q)break;else{e=e+1|0;o=o+1|0;p=p+12|0;d=d+2|0;n=n+12|0;i=i+2|0}}e=r;g=g+F|0;i=t+C|0;l=l+C|0}if(!s)break;else{t=i+u|0;l=l+u|0;i=j+k|0}}return}function ehb(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var 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;u=(j|0)/2|0;s=(k<<1)+j|0;if((i+1|0)>>>0<3|(j+1|0)>>>0<3)return;t=u<<1;r=g+(j<<2)+(k<<2)|0;q=(i|0)/2|0;while(1){q=q+-1|0;n=d;d=d+u|0;k=u;i=c+j|0;l=r;m=c;c=c+t+j|0;o=e;p=g;while(1){k=k+-1|0;y=h[n>>0]|0;x=(f[a+(y<<2)>>2]|0)+256|0;w=h[o>>0]|0;y=(f[a+((y|256)<<2)>>2]|0)+1024+(f[a+((w|512)<<2)>>2]|0)|0;w=(f[a+((w|768)<<2)>>2]|0)+1792|0;v=h[m>>0]|0;f[p>>2]=f[b+(y+v<<2)>>2]|f[b+(x+v<<2)>>2]|f[b+(w+v<<2)>>2];v=h[m+1>>0]|0;f[p+4>>2]=f[b+(y+v<<2)>>2]|f[b+(x+v<<2)>>2]|f[b+(w+v<<2)>>2];v=h[i>>0]|0;f[l>>2]=f[b+(y+v<<2)>>2]|f[b+(x+v<<2)>>2]|f[b+(w+v<<2)>>2];v=h[i+1>>0]|0;f[l+4>>2]=f[b+(y+v<<2)>>2]|f[b+(x+v<<2)>>2]|f[b+(w+v<<2)>>2];if(!k)break;else{i=i+2|0;l=l+8|0;m=m+2|0;n=n+1|0;o=o+1|0;p=p+8|0}}if(!q)break;else{r=r+(t<<2)+(s<<2)|0;e=e+u|0;g=g+(t<<2)+(s<<2)|0}}return}function fhb(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;w=(j<<1)+k|0;x=(j|0)/2|0;s=(w*3|0)+k|0;if((i+1|0)>>>0<3)return;t=w+1|0;if((j+1|0)>>>0<3)return;u=x<<1;v=x<<2;r=g;q=g+(w<<1<<2)|0;p=(i|0)/2|0;while(1){p=p+-1|0;g=d;d=d+x|0;k=x;i=e;l=r;m=c+j|0;n=q;o=c;c=c+u+j|0;while(1){k=k+-1|0;C=h[g>>0]|0;B=(f[a+(C<<2)>>2]|0)+256|0;A=h[i>>0]|0;C=(f[a+((C|256)<<2)>>2]|0)+1024+(f[a+((A|512)<<2)>>2]|0)|0;A=(f[a+((A|768)<<2)>>2]|0)+1792|0;y=h[o>>0]|0;y=f[b+(C+y<<2)>>2]|f[b+(B+y<<2)>>2]|f[b+(A+y<<2)>>2];f[l+(t<<2)>>2]=y;f[l+(w<<2)>>2]=y;f[l+4>>2]=y;f[l>>2]=y;y=l+8|0;z=h[o+1>>0]|0;z=f[b+(C+z<<2)>>2]|f[b+(B+z<<2)>>2]|f[b+(A+z<<2)>>2];f[y+(t<<2)>>2]=z;f[y+(w<<2)>>2]=z;f[l+12>>2]=z;f[y>>2]=z;y=h[m>>0]|0;y=f[b+(C+y<<2)>>2]|f[b+(B+y<<2)>>2]|f[b+(A+y<<2)>>2];f[n+(t<<2)>>2]=y;f[n+(w<<2)>>2]=y;f[n+4>>2]=y;f[n>>2]=y;y=n+8|0;z=h[m+1>>0]|0;z=f[b+(C+z<<2)>>2]|f[b+(B+z<<2)>>2]|f[b+(A+z<<2)>>2];f[y+(t<<2)>>2]=z;f[y+(w<<2)>>2]=z;f[n+12>>2]=z;f[y>>2]=z;if(!k)break;else{g=g+1|0;i=i+1|0;l=l+16|0;m=m+2|0;n=n+16|0;o=o+2|0}}if(!p)break;else{e=e+x|0;r=r+(v<<2)+(s<<2)|0;q=q+(v<<2)+(s<<2)|0}}return}function ghb(a,b,c,e,g,i,j,k,l){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;s=(k|0)/2|0;if((j|0)==0|(k+1|0)>>>0<3)return;q=s<<2;r=s<<1;while(1){j=j+-1|0;m=e;e=e+q|0;k=s;n=g;o=i;p=c;c=c+q|0;while(1){k=k+-1|0;w=h[m>>0]|0;v=(f[a+(w<<2)>>2]|0)+256|0;u=h[n>>0]|0;w=(f[a+((w|256)<<2)>>2]|0)+1024+(f[a+((u|512)<<2)>>2]|0)|0;u=(f[a+((u|768)<<2)>>2]|0)+1792|0;t=h[p>>0]|0;d[o>>1]=f[b+(w+t<<2)>>2]|f[b+(v+t<<2)>>2]|f[b+(u+t<<2)>>2];t=h[p+2>>0]|0;d[o+2>>1]=f[b+(w+t<<2)>>2]|f[b+(v+t<<2)>>2]|f[b+(u+t<<2)>>2];if(!k)break;else{m=m+4|0;n=n+4|0;o=o+4|0;p=p+4|0}}if(!j)break;else{g=g+q|0;i=i+(r<<1)+(l<<1)|0}}return}function hhb(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var 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=((k|0)/2|0)+j|0;r=(j|0)/2|0;if((i|0)==0|(j+1|0)>>>0<3)return;o=r<<2;p=r<<1;n=c;while(1){i=i+-1|0;j=d;d=d+o|0;k=r;c=e;l=g;m=n;n=n+o|0;while(1){k=k+-1|0;w=h[j>>0]|0;v=(f[a+(w<<2)>>2]|0)+256|0;u=h[c>>0]|0;w=(f[a+((w|256)<<2)>>2]|0)+1024+(f[a+((u|512)<<2)>>2]|0)|0;u=(f[a+((u|768)<<2)>>2]|0)+1792|0;s=h[m>>0]|0;s=f[b+(w+s<<2)>>2]|f[b+(v+s<<2)>>2]|f[b+(u+s<<2)>>2];f[l+(q<<2)>>2]=s;f[l>>2]=s;s=l+4|0;t=h[m+2>>0]|0;t=f[b+(w+t<<2)>>2]|f[b+(v+t<<2)>>2]|f[b+(u+t<<2)>>2];f[s+(q<<2)>>2]=t;f[s>>2]=t;if(!k)break;else{j=j+4|0;c=c+4|0;l=l+8|0;m=m+4|0}}if(!i)break;else{e=e+o|0;g=g+(p<<2)+(q<<2)|0}}return}function ihb(a,c,d,e,g,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;s=(k|0)/2|0;r=l*3|0;if((j|0)==0|(k+1|0)>>>0<3)return;p=s<<2;q=s*6|0;o=d;while(1){j=j+-1|0;k=e;e=e+p|0;l=s;d=g;m=i;n=o;o=o+p|0;while(1){l=l+-1|0;w=h[k>>0]|0;v=(f[a+(w<<2)>>2]|0)+256|0;u=h[d>>0]|0;w=(f[a+((w|256)<<2)>>2]|0)+1024+(f[a+((u|512)<<2)>>2]|0)|0;u=(f[a+((u|768)<<2)>>2]|0)+1792|0;t=h[n>>0]|0;t=f[c+(w+t<<2)>>2]|f[c+(v+t<<2)>>2]|f[c+(u+t<<2)>>2];b[m>>0]=t;b[m+1>>0]=t>>>8;b[m+2>>0]=t>>>16;t=h[n+2>>0]|0;t=f[c+(w+t<<2)>>2]|f[c+(v+t<<2)>>2]|f[c+(u+t<<2)>>2];b[m+3>>0]=t;b[m+4>>0]=t>>>8;b[m+5>>0]=t>>>16;if(!l)break;else{k=k+4|0;d=d+4|0;m=m+6|0;n=n+4|0}}if(!j)break;else{g=g+p|0;i=i+q+r|0}}return}function jhb(a,c,d,e,g,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;r=((k<<1)+l|0)*3|0;s=(k|0)/2|0;if(!j)return;t=r+3|0;u=r+4|0;v=r+1|0;w=r+5|0;x=r+2|0;if((k+1|0)>>>0<3)return;p=s<<2;q=s*12|0;o=d;while(1){j=j+-1|0;k=e;e=e+p|0;l=s;d=g;m=i;n=o;o=o+p|0;while(1){l=l+-1|0;C=h[k>>0]|0;B=(f[a+(C<<2)>>2]|0)+256|0;A=h[d>>0]|0;C=(f[a+((C|256)<<2)>>2]|0)+1024+(f[a+((A|512)<<2)>>2]|0)|0;A=(f[a+((A|768)<<2)>>2]|0)+1792|0;z=h[n>>0]|0;z=f[c+(C+z<<2)>>2]|f[c+(B+z<<2)>>2]|f[c+(A+z<<2)>>2];y=z&255;b[m+t>>0]=y;b[m+r>>0]=y;b[m+3>>0]=y;b[m>>0]=y;y=z>>>8&255;b[m+u>>0]=y;b[m+v>>0]=y;b[m+4>>0]=y;b[m+1>>0]=y;z=z>>>16&255;b[m+w>>0]=z;b[m+x>>0]=z;b[m+5>>0]=z;b[m+2>>0]=z;z=m+6|0;y=h[n+2>>0]|0;y=f[c+(C+y<<2)>>2]|f[c+(B+y<<2)>>2]|f[c+(A+y<<2)>>2];A=y&255;b[z+t>>0]=A;b[z+r>>0]=A;b[m+9>>0]=A;b[z>>0]=A;A=y>>>8&255;b[z+u>>0]=A;b[z+v>>0]=A;b[m+10>>0]=A;b[m+7>>0]=A;y=y>>>16&255;b[z+w>>0]=y;b[z+x>>0]=y;b[m+11>>0]=y;b[m+8>>0]=y;if(!l)break;else{k=k+4|0;d=d+4|0;m=m+12|0;n=n+4|0}}if(!j)break;else{g=g+p|0;i=i+q+r|0}}return}function khb(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;r=(j|0)/2|0;if((i|0)==0|(j+1|0)>>>0<3)return;p=r<<2;q=r<<1;while(1){i=i+-1|0;l=d;d=d+p|0;j=r;m=e;n=g;o=c;c=c+p|0;while(1){j=j+-1|0;v=h[l>>0]|0;u=(f[a+(v<<2)>>2]|0)+256|0;t=h[m>>0]|0;v=(f[a+((v|256)<<2)>>2]|0)+1024+(f[a+((t|512)<<2)>>2]|0)|0;t=(f[a+((t|768)<<2)>>2]|0)+1792|0;s=h[o>>0]|0;f[n>>2]=f[b+(v+s<<2)>>2]|f[b+(u+s<<2)>>2]|f[b+(t+s<<2)>>2];s=h[o+2>>0]|0;f[n+4>>2]=f[b+(v+s<<2)>>2]|f[b+(u+s<<2)>>2]|f[b+(t+s<<2)>>2];if(!j)break;else{l=l+4|0;m=m+4|0;n=n+8|0;o=o+4|0}}if(!i)break;else{e=e+p|0;g=g+(q<<2)+(k<<2)|0}}return}function lhb(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=(j<<1)+k|0;q=(j|0)/2|0;if(!i)return;r=p+1|0;if((j+1|0)>>>0<3)return;o=q<<2;n=c;while(1){i=i+-1|0;j=d;d=d+o|0;k=q;c=e;l=g;m=n;n=n+o|0;while(1){k=k+-1|0;w=h[j>>0]|0;v=(f[a+(w<<2)>>2]|0)+256|0;u=h[c>>0]|0;w=(f[a+((w|256)<<2)>>2]|0)+1024+(f[a+((u|512)<<2)>>2]|0)|0;u=(f[a+((u|768)<<2)>>2]|0)+1792|0;s=h[m>>0]|0;s=f[b+(w+s<<2)>>2]|f[b+(v+s<<2)>>2]|f[b+(u+s<<2)>>2];f[l+(r<<2)>>2]=s;f[l+(p<<2)>>2]=s;f[l+4>>2]=s;f[l>>2]=s;s=l+8|0;t=h[m+2>>0]|0;t=f[b+(w+t<<2)>>2]|f[b+(v+t<<2)>>2]|f[b+(u+t<<2)>>2];f[s+(r<<2)>>2]=t;f[s+(p<<2)>>2]=t;f[l+12>>2]=t;f[s>>2]=t;if(!k)break;else{j=j+4|0;c=c+4|0;l=l+16|0;m=m+4|0}}if(!i)break;else{e=e+o|0;g=g+(o<<2)+(p<<2)|0}}return}function mhb(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,k=0;k=u;u=u+16|0;g=k;e=f[a>>2]|0;if((e|0)<1448433993)switch(e|0){case 842094169:{i=2;break}default:i=10}else switch(e|0){case 1448433993:{i=2;break}default:i=10}do if((i|0)==2){if(!b){e=f[a+44>>2]|0;break}if((((f[b>>2]|0)==0?(f[b+4>>2]|0)==0:0)?(f[b+8>>2]|0)==(f[a+8>>2]|0):0)?(f[b+12>>2]|0)==(f[a+12>>2]|0):0){h=0;e=f[a+44>>2]|0;g=0;i=12;break}d=c5a(473456,g)|0;u=k;return d|0}else if((i|0)==10){e=f[a+44>>2]|0;if(b){h=f[b+4>>2]|0;g=f[b>>2]<<1;i=12}}while(0);if((i|0)==12)e=e+(W(h,j[a+36>>1]|0)|0)+g|0;f[c>>2]=e;f[d>>2]=j[a+36>>1];d=0;u=k;return d|0}function nhb(){return 2}function ohb(a,b){a=a|0;b=b|0;var c=0,d=0;d=u;u=u+16|0;c=d;if(a>>>0>1){f[c>>2]=1;a=c5a(473933,c)|0;u=d;return a|0}else{c=(f[357664+(a<<2)>>2]|0)+4|0;a=b+84|0;do{f[b>>2]=f[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(a|0));a=0;u=d;return a|0}return 0}function phb(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;k=u;u=u+48|0;j=k+32|0;d=k+24|0;i=k+16|0;if(!a){c5a(473742,k)|0;j=0;u=k;return j|0}if(Ueb(a,473140)|0){c5a(473757,k+8|0)|0;j=0;u=k;return j|0}do if(eab(473797)|0)if(!($ab(473797,1)|0)){e=c&-5;break}else{e=c|4;break}else e=c;while(0);a:do if((b|0)>=0)if((b|0)>1){f[d>>2]=1;c5a(473869,d)|0;j=0;u=k;return j|0}else{c=cj[f[f[357664+(b<<2)>>2]>>2]&1023](a,e)|0;if(!c)c=0;else break;u=k;return c|0}else{c=eab(473814)|0;do if(c|0){if(fab(c,f[89180]|0)|0)if(!(fab(c,f[89372]|0)|0))c=357484;else break;else c=356716;c=cj[f[c>>2]&1023](a,e)|0;if(c|0)break a}while(0);if((f[89181]&e|0)==(e|0)?(g=cj[f[89179]&1023](a,e)|0,g|0):0){c=g;break}if((f[89373]&e|0)==(e|0)?(h=cj[f[89371]&1023](a,e)|0,h|0):0){c=h;break}c5a(473832,i)|0;j=0;u=k;return j|0}while(0);f[c>>2]=505021;f[c+188>>2]=a;n[c+288>>2]=1.0;n[c+292>>2]=1.0;i=((U4a(a)|0)&72|0)!=0&1;f[c+192>>2]=i;Teb(a,473140,c)|0;Qgb(c,0)|0;Gfb(506,c);f[j>>2]=f[c+104>>2];thb(6,473912,j);j=c;u=k;return j|0}function qhb(a,b){a=a|0;b=b|0;var c=0,d=0;d=u;u=u+16|0;c=d;if(a|0?(f[a>>2]|0)==505021:0){c=a+104|0;a=b+84|0;do{f[b>>2]=f[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(a|0));a=0;u=d;return a|0}c5a(458911,c)|0;a=-1;u=d;return a|0}function rhb(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=u;u=u+48|0;k=s+32|0;j=s+24|0;i=s+16|0;h=s+8|0;g=s;if(a|0?(f[a>>2]|0)==505021:0){if(!b)q=f[a+116>>2]|0;else q=b;r=(q|0)==0|(q&-268435456|0)==268435456;b=q&255;if((b|0)==0&r){c5a(473588,h)|0;e=0;u=s;return e|0}if(r?((q>>>24&15)+-1|0)>>>0<3:0){c5a(473611,i)|0;e=0;u=s;return e|0}if((d|0)<1|(e|0)<1){c5a(473649,j)|0;e=0;u=s;return e|0}h=f[a+180>>2]|0;g=f[a+184>>2]|0;if(!((h|0)!=0&(h|0)<(d|0))?!((g|0)!=0&(g|0)<(e|0)):0){o=X4a(1,80)|0;if(!o){Y4a(0)|0;e=0;u=s;return e|0}f[o>>2]=505022;l=o+4|0;f[l>>2]=q;f[o+8>>2]=c;f[o+12>>2]=d;f[o+16>>2]=e;f[o+28>>2]=-1;f[o+32>>2]=a;m=a+304|0;g=f[m>>2]|0;n=o+76|0;f[n>>2]=g;if(g|0)f[g+72>>2]=o;f[m>>2]=o;k=f[a+112>>2]|0;h=(k|0)==0;a:do if(!h){g=0;while(1){if((f[a+116+(g<<2)>>2]|0)==(q|0))break;g=g+1|0;if(g>>>0>=k>>>0)break a}if((cj[f[a+12>>2]&1023](a,o)|0)>=0){e=o;u=s;return e|0}Jgb(o);e=0;u=s;return e|0}while(0);b:do if(r){g=q>>>24&15;c:do if((g+-4|0)>>>0>=3)if((g+-7|0)>>>0<5){switch(q>>>20&15){case 6:case 2:case 3:{j=1;break c}default:{}}j=(q&15728640|0)==5242880&1}else j=0;else{switch(q>>>20&15){case 8:case 7:case 4:case 3:{j=1;break c}default:{}}j=0}while(0);if(h)p=48;else{i=0;while(1){g=f[a+116+(i<<2)>>2]|0;if((g|0)==0|(g&-268435456|0)==268435456){h=g>>>24&15;d:do if((h+-4|0)>>>0<3){switch(g>>>20&15){case 8:case 7:case 4:case 3:{h=1;break d}default:{}}h=0}else{if((h+-7|0)>>>0>=5){h=0;break}switch(g>>>20&15){case 5:case 6:case 2:case 3:{h=1;break d}default:{}}h=0}while(0);if((j|0)==(h|0))break b}i=i+1|0;if(i>>>0>=k>>>0){p=48;break}}}}else if(h)p=48;else{g=0;while(1){if((f[a+116+(g<<2)>>2]|0)==(q|0)){g=q;break b}g=g+1|0;if(g>>>0>=k>>>0){p=48;break}}}while(0);if((p|0)==48)g=f[a+116>>2]|0;i=rhb(a,g,c,d,e)|0;f[o+36>>2]=i;if(!i){Jgb(o);e=0;u=s;return e|0}g=f[n>>2]|0;f[i+76>>2]=g;if(g|0)f[g+72>>2]=i;g=i+72|0;h=f[g>>2]|0;f[o+72>>2]=h;if(h|0)f[h+76>>2]=o;f[g>>2]=o;f[n>>2]=i;f[m>>2]=o;p=f[l>>2]|0;if(!((p|0)==0|(p&-268435456|0)==268435456)){e=shb(q,d,e)|0;f[o+40>>2]=e;if(e|0){e=o;u=s;return e|0}Jgb(o);e=0;u=s;return e|0}if((c|0)!=1){e=o;u=s;return e|0}e:do if(!r){if((q|0)<1498831189)switch(q|0){case 844715353:{b=2;break e}default:{}}else switch(q|0){case 1498831189:{b=2;break e}default:{}}b=(q|0)==1431918169?2:1}while(0);d=(W(b,d)|0)+3&-4;f[o+48>>2]=d;e=X4a(1,W(d,e)|0)|0;f[o+44>>2]=e;if(e|0){e=o;u=s;return e|0}Jgb(o);e=0;u=s;return e|0}f[k>>2]=h;f[k+4>>2]=g;c5a(473679,k)|0;e=0;u=s;return e|0}c5a(458911,g)|0;e=0;u=s;return e|0}function shb(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,p=0.0;o=u;u=u+16|0;e=o;a:do if((a|0)<1431918169)if((a|0)<844715353)switch(a|0){case 842094169:break a;default:{g=2;break a}}else switch(a|0){case 844715353:break a;default:{g=2;break a}}else{if((a|0)<1448433993)switch(a|0){case 1431918169:break a;default:{g=2;break a}}if((a|0)<1498831189)switch(a|0){case 1448433993:break a;default:{g=2;break a}}else switch(a|0){case 1498831189:break a;default:{g=2;break a}}}while(0);if((g|0)==2){c5a(473719,e)|0;c=0;u=o;return c|0}e=X4a(1,64)|0;if(!e){Y4a(0)|0;c=0;u=o;return c|0}f[e>>2]=a;f[e+4>>2]=0;f[e+8>>2]=b;f[e+12>>2]=c;m=b<<1;g=K5a(W(m,c)|0)|0;k=e+16|0;f[k>>2]=g;g=K5a(4096)|0;h=e+20|0;f[h>>2]=g;g=K5a(9216)|0;i=e+24|0;f[i>>2]=g;k=f[k>>2]|0;l=k;if(k|0?(n=f[h>>2]|0,!((g|0)==0|(n|0)==0)):0){h=n+1024|0;i=n+2048|0;j=n+3072|0;g=0;do{p=+(g+-128|0);f[n+(g<<2)>>2]=~~(p*1.4013377926421404);f[h+(g<<2)>>2]=~~(p*-.7136038186157518);f[i+(g<<2)>>2]=~~(p*-.34441087613293053);f[j+(g<<2)>>2]=~~(p*1.7734138972809665);g=g+1|0}while((g|0)!=256);b:do if((a|0)<1431918169)if((a|0)<844715353){switch(a|0){case 842094169:{g=11;break b}default:{}}u=o;return e|0}else{switch(a|0){case 844715353:{g=12;break b}default:{}}u=o;return e|0}else{if((a|0)<1448433993){switch(a|0){case 1431918169:{g=12;break b}default:{}}u=o;return e|0}if((a|0)<1498831189){switch(a|0){case 1448433993:{g=11;break b}default:{}}u=o;return e|0}else{switch(a|0){case 1498831189:{g=12;break b}default:{}}u=o;return e|0}}while(0);if((g|0)==11){a=b&65535;d[e+36>>1]=a;n=b>>>1&32767;d[e+38>>1]=n;d[e+40>>1]=(a&65535)>>>1;f[e+44>>2]=k;b=k+(W(b&65535,c)|0)|0;f[e+48>>2]=b;c=b+((W(n,c)|0)/2|0)|0;f[e+52>>2]=c;c=e;u=o;return c|0}else if((g|0)==12){d[e+36>>1]=m;f[e+44>>2]=l;c=e;u=o;return c|0}}A5a(k);A5a(f[h>>2]|0);A5a(f[i>>2]|0);S5a(f[e+56>>2]|0);S5a(f[e+60>>2]|0);A5a(e);Y4a(0)|0;c=0;u=o;return c|0}function thb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;f[e>>2]=c;jab(a,3,b,e);u=d;return}function uhb(){var a=0,b=0;b=f[125678]|0;a=f[125679]|0;if(!b){b=a;A5a(b);f[125679]=0;return}do{b=b+-1|0;a=f[a+(b<<2)>>2]|0;Mhb(f[a>>2]|0,f[a+4>>2]|0);a=f[125679]|0}while((b|0)!=0);A5a(a);f[125679]=0;return}function vhb(){var a=0,b=0,c=0,d=0,e=0,g=0;if(((f[125008]|0?(a=jeb()|0,a|0):0)?(b=a+48|0,f[b>>2]&16384|0):0)?(_i[f[500032>>2]&2047](0)|0)!=-1:0)f[b>>2]=f[b>>2]&-16385;Jhb(0)|0;e=f[125026]|0;f[125026]=1;do if((e|0)!=1){a=(f[125011]|0)==0?f[125024]|0:f[125025]|0;b=f[125002]|0;c=(b|0)==0;if((f[125019]|0)==0&(a|0)!=0){if(c)break;_i[b&2047](a)|0;break}else{if(c)break;_i[b&2047](0)|0;break}}while(0);a=f[125023]|0;if(a|0)do{e=a;a=f[a>>2]|0;b=f[125024]|0;a:do if((b|0)!=(e|0)){do if((f[125025]|0)==(e|0)){if(!b)b=(f[125011]|0)==0?0:e;else f[125025]=b;c=f[125002]|0;d=(c|0)==0;if((b|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(d)break;_i[c&2047](b)|0;break}else{if(d)break;_i[c&2047](0)|0;break}}while(0);b=f[125023]|0;if(b|0){c=0;while(1){if((b|0)==(e|0))break;c=f[b>>2]|0;if(!c)break a;else{d=b;b=c;c=d}}f[((c|0)==0?500092:c)>>2]=f[e>>2];b=f[125004]|0;if(b|0)tj[b&2047](e)}}while(0)}while((a|0)!=0);a=f[125024]|0;if(a|0?(g=f[125004]|0,g|0):0)tj[g&2047](a);a=f[125022]|0;if(!a){P5a(5e5,0,112)|0;return}A5a(a);P5a(5e5,0,112)|0;return}function whb(){return}function xhb(a){a=a|0;var c=0;if(a&8192){a=a|512;c=b[493453]|0;if(!(c<<24>>24==0?1:(f[125723]|c<<24>>24==1|0)==0)){zhb();c=b[493453]|0}if(c<<24>>24)b[493453]=c+-1<<24>>24}if(a&512){a=a|16384;c=b[493449]|0;if(!(c<<24>>24==0?1:(f[125723]|c<<24>>24==1|0)==0)){Ahb();c=b[493449]|0}if(c<<24>>24)b[493449]=c+-1<<24>>24}if(a&16|0){c=b[493444]|0;if(!(c<<24>>24==0?1:(f[125723]|c<<24>>24==1|0)==0)){cgb();c=b[493444]|0}if(c<<24>>24)b[493444]=c+-1<<24>>24}if(a&32){a=a|16384;c=b[493445]|0;if(!(c<<24>>24==0?1:(f[125723]|c<<24>>24==1|0)==0)){Bgb();c=b[493445]|0}if(c<<24>>24)b[493445]=c+-1<<24>>24}if(a&1|0){c=b[493440]|0;if(!(c<<24>>24==0?1:(f[125723]|c<<24>>24==1|0)==0))c=b[493440]|0;if(c<<24>>24)b[493440]=c+-1<<24>>24}if(!(a&16384))return;a=b[493454]|0;if(!(a<<24>>24==0?1:(f[125723]|a<<24>>24==1|0)==0)){Chb();Dhb();a=b[493454]|0}if(!(a<<24>>24))return;b[493454]=a+-1<<24>>24;return}function yhb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+32|0;g=i+16|0;c=i+8|0;b=f[124995]|0;if(!b){c5a(458271,i)|0;u=i;return}if(a|0?(f[a>>2]|0)==(b+280|0):0){f[a+120>>2]=1;e=a+48|0;if(f[e>>2]&4|0){b=a+116|0;f[b>>2]=1;sab(a,0)|0;c=f[124995]|0;d=f[c+84>>2]|0;if(d|0)Bj[d&1023](c,a);f[b>>2]=0;tab(a,2,0,0)|0}if((jeb()|0)==(a|0))Jdb(0);if((hbb()|0)==(a|0))abb(0);if(f[e>>2]&2|0?(f[(f[124995]|0)+652>>2]|0)==(a|0):0)$4a(a,0)|0;b=f[a+108>>2]|0;if(b|0){f[b>>2]=f[b>>2]&-5;S5a(b)}b=f[124995]|0;c=f[b+140>>2]|0;if(c){Bj[c&1023](b,a);b=f[124995]|0}c=f[b+128>>2]|0;if(c|0)Bj[c&1023](b,a);do if(f[e>>2]&2|0){d=f[124995]|0;if(!d){c5a(458271,g)|0;break}b=d+388|0;c=f[b>>2]|0;if(((c|0)>0?(f[b>>2]=c+-1,(c|0)==1):0)?(h=f[d+172>>2]|0,h|0):0)tj[h&2047](d)}while(0);b=ebb(a)|0;if((b|0)>-1)b=(f[(f[124995]|0)+268>>2]|0)+(b*68|0)|0;else b=0;b=b+56|0;if((f[b>>2]|0)==(a|0))f[b>>2]=0;f[a>>2]=0;A5a(f[a+8>>2]|0);S5a(f[a+12>>2]|0);A5a(f[a+100>>2]|0);c=a+140|0;b=f[c>>2]|0;if(b|0)do{f[c>>2]=f[b+8>>2];A5a(f[b>>2]|0);A5a(b);b=f[c>>2]|0}while((b|0)!=0);c=f[a+152>>2]|0;b=a+148|0;if(c|0)f[c+148>>2]=f[b>>2];h=f[b>>2]|0;f[((h|0)==0?(f[124995]|0)+272|0:h+152|0)>>2]=c;A5a(a);u=i;return}c5a(473742,c)|0;u=i;return}function zhb(){var a=0,b=0,c=0,d=0;a=f[125718]|0;if(a|0)do{f[a+4>>2]=0;Ghb(f[a>>2]|0);b=f[125718]|0;a:do if(b|0){c=0;while(1){if((b|0)==(a|0))break;c=f[b+1344>>2]|0;if(!c)break a;else{d=b;b=c;c=d}}b=f[a+1344>>2]|0;if(!c){f[125718]=b;break}else{f[c+1344>>2]=b;break}}while(0);A5a(a);a=f[125718]|0}while((a|0)!=0);a=f[125713]|0;if(!a){Mgb(505,0);return}do{f[125713]=f[a+24>>2];A5a(f[a+16>>2]|0);A5a(f[a+20>>2]|0);A5a(a);a=f[125713]|0}while((a|0)!=0);Mgb(505,0);return}function Ahb(){var a=0;a=f[125724]|0;if(a|0)do{f[a+48>>2]=1;Ghb(a);a=f[125724]|0}while((a|0)!=0);Hhb();xhb(16384);return}function Bhb(){return}function Chb(){var a=0,b=0;b=u;u=u+144|0;a=b;Ji(2,0,a|0)|0;if((f[a>>2]|0)==1535){f[a>>2]=0;Ji(2,a|0,0)|0}Ji(15,0,a|0)|0;if((f[a>>2]|0)!=1535){u=b;return}f[a>>2]=0;Ji(15,a|0,0)|0;u=b;return}function Dhb(){var a=0,b=0,c=0;c=u;u=u+16|0;b=c;a=eab(473970)|0;pfb(357452,0)|0;if(a|0?qfb(a)|0:0){f[b>>2]=f[89365];Ehb(473997,b)}a=f[89366]|0;if(a|0)do{b=a;a=f[a+72>>2]|0;A5a(b)}while((a|0)!=0);a=f[89368]|0;if(a|0)do{b=a;a=f[a+72>>2]|0;A5a(b)}while((a|0)!=0);a=f[89369]|0;if(a|0)do{b=a;a=f[a+12>>2]|0;A5a(b)}while((a|0)!=0);a=f[89370]|0;if(a|0)do{b=a;a=f[a+12>>2]|0;A5a(b)}while((a|0)!=0);pfb(357456,0)|0;f[89365]=0;f[89366]=0;f[89367]=0;f[89368]=0;f[89369]=0;f[89370]=0;a=0;do{b=491392+(a<<2)|0;A5a(f[b>>2]|0);f[b>>2]=0;a=a+1|0}while((a|0)!=256);a=f[125029]|0;if(a|0)do{f[125029]=f[a+8>>2];A5a(a);a=f[125029]|0}while((a|0)!=0);if(!(f[89362]|0)){u=c;return}xgb(f[89362]|0);f[89362]=0;u=c;return}function Ehb(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;jab(0,3,a,d);u=c;return}function Fhb(a){a=a|0;Ki(a|0,1535)|0;f[125028]=1;return}function Ghb(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=a+48|0;c=f[b>>2]|0;f[b>>2]=c+-1;if((c|0)>1|(f[125725]|0)==(a|0))return;Ihb(a);f[a+44>>2]=0;b=f[125724]|0;a:do if(b|0){c=0;while(1){if((b|0)==(a|0))break;c=f[b+60>>2]|0;if(!c)break a;else{d=b;b=c;c=d}}b=f[a+60>>2]|0;if(!c){f[125724]=b;break}else{f[c+60>>2]=b;break}}while(0);A5a(f[a+4>>2]|0);A5a(f[a+12>>2]|0);A5a(f[a+24>>2]|0);A5a(f[a+32>>2]|0);A5a(f[a+40>>2]|0);A5a(a);return}function Hhb(){var a=0,b=0;a=f[125716]|0;if(a|0)do{b=a;a=f[a+1320>>2]|0;A5a(f[b+8>>2]|0);A5a(f[b+4>>2]|0);A5a(b)}while((a|0)!=0);f[125719]=0;f[125716]=0;f[125717]=0;f[125720]=0;_g(0,0,0)|0;$g(0,0,0)|0;return}function Ihb(a){a=a|0;a=f[a+44>>2]|0;if(!a)return;f[a+16>>2]=0;return}function Jhb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;e=jeb()|0;if((f[125019]|0)==(a|0))return 0;h=(a|0)!=0;do if(h&(e|0)!=0){b=f[125011]|0;do if((b|0)!=(e|0)){if(b|0)tab(b,11,0,0)|0;f[125011]=e;tab(e,10,0,0)|0;b=(f[125011]|0)==0?f[125024]|0:f[125025]|0;c=f[125002]|0;d=(c|0)==0;if((b|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(d)break;_i[c&2047](b)|0;break}else{if(d)break;_i[c&2047](0)|0;break}}while(0);c=(f[e+24>>2]|0)/2|0;d=(f[e+28>>2]|0)/2|0;b=f[125005]|0;if(b|0){Fj[b&511](e,c,d);break}b=f[125010]|0;if(cbb(e,c,d)|0)dbb(e,b,0,c,d)|0}while(0);do if(h|(f[125020]|0)==0){if(h){if(!(f[125007]|0)){b=1;g=20;break}if($ab(474044,0)|0){b=1;g=20;break}}if(h&(_i[f[500028>>2]&2047](a)|0)<0){b=1;g=20}}else{b=0;g=20}while(0);if((g|0)==20)f[125020]=b;f[125019]=a;b=f[125011]|0;do if((b|0?(Khb(b),!h):0)?(i=f[125011]|0,j=f[125012]|0,k=f[125013]|0,i|0):0){b=f[125005]|0;if(b|0){Fj[b&511](i,j,k);break}b=f[125010]|0;if(cbb(i,j,k)|0)dbb(i,b,0,j,k)|0}while(0);Lhb(1024);b=(f[125011]|0)==0?f[125024]|0:f[125025]|0;c=f[125002]|0;d=(c|0)==0;if((b|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(d)return 0;_i[c&2047](b)|0;return 0}else{if(d)return 0;_i[c&2047](0)|0;return 0}return 0}function Khb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;h=(vab()|0)+76|0;g=f[a+48>>2]|0;c=f[124995]|0;b=c+276|0;d=f[b>>2]|0;if((g&512|0)==0?1:(f[h>>2]|g&256|0)==0)if((d|0)==(a|0)){f[b>>2]=0;d=0;b=c}else{d=0;b=c}else{if(!((d|0)==0|(d|0)==(a|0))?(e=d+48|0,f[e>>2]=f[e>>2]&-257,e=f[c+124>>2]|0,(e|0)!=0):0){Fj[e&511](c,d,0);c=f[124995]|0;b=c+276|0}f[b>>2]=a;d=1;b=c}c=f[b+124>>2]|0;if(!c)return;Fj[c&511](b,a,d);return}function Lhb(a){a=a|0;_ab(a,a);return}function Mhb(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=u;u=u+16|0;g=j;d=f[125678]|0;a:do if((d|0)>0){e=f[125679]|0;c=0;while(1){i=f[e+(c<<2)>>2]|0;if((f[i>>2]|0)==(a|0)?(f[i+4>>2]|0)==(b|0):0){i=c;break}c=c+1|0;if((c|0)>=(d|0)){i=-1;break}}c=0;while(1){h=f[e+(c<<2)>>2]|0;k=h;if((f[k>>2]|0)==(a|0)?(f[k+4>>2]|0)==(b|0):0)break;c=c+1|0;if((c|0)>=(d|0))break a}if((c|0)<(d|0)){if(!h){u=j;return}b=h+12|0;d=h+16|0;c=f[d>>2]|0;if((f[b>>2]|0)>0){a=0;do{A5a(f[c+(a<<2)>>2]|0);a=a+1|0;c=f[d>>2]|0}while((a|0)<(f[b>>2]|0))}A5a(c);A5a(h);h=(f[125678]|0)+-1|0;f[125678]=h;k=f[125679]|0;f[k+(i<<2)>>2]=f[k+(h<<2)>>2];u=j;return}}while(0);c5a(464457,g)|0;u=j;return}function Nhb(a){a=a|0;return ufb(a)|0}function Ohb(){f[125723]=1;xhb(29233);Phb();Qhb();Rhb();Shb();P5a(493440,0,32)|0;f[125723]=0;return}function Phb(){f[125030]=0;return}function Qhb(){var a=0,b=0,c=0;a=f[124998]|0;if(!a)return;do{f[124998]=f[a+16>>2];A5a(f[a>>2]|0);A5a(f[a+4>>2]|0);b=f[a+12>>2]|0;if(b|0)do{c=b;b=f[b+8>>2]|0;A5a(c)}while((b|0)!=0);A5a(a);a=f[124998]|0}while((a|0)!=0);return}function Rhb(){var a=0,b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;d=u;u=u+64|0;b=d+48|0;c=d+16|0;if(0!=0&507!=507){Uhb(474096,d);Uhb(474121,d+8|0);a=0;do{j=f[a+20>>2]|0;i=f[a+12>>2]|0;h=f[a+16>>2]|0;g=f[a+4>>2]|0;e=(f[a>>2]|0)==0?474168:474171;f[c>>2]=f[a+8>>2];f[c+4>>2]=j;f[c+8>>2]=i;f[c+12>>2]=h;f[c+16>>2]=g;f[c+20>>2]=(g|0)==1?505031:474166;f[c+24>>2]=e;Uhb(474175,c);a=f[a+24>>2]|0}while((a|0)!=0);Uhb(474250,b);if(0){a=0;do{j=a+24|0;i=a;a=f[j>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[j>>2]=0}while((a|0)!=0)}}if(!0){u=d;return}xgb(0);u=d;return}function Shb(){var a=0;a=f[124999]|0;if(!a)return;do{f[124999]=f[a+8>>2];A5a(a);a=f[124999]|0}while((a|0)!=0);return}function Thb(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;k=u;u=u+4256|0;j=k+4160|0;e=k+4192|0;g=k+4220|0;h=k+4096|0;i=k+4216|0;b=h;c=251024;d=b+60|0;do{f[b>>2]=f[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));c=k;m=f[a+12>>2]|0;l=f[a+16>>2]|0;d=f[a+4>>2]|0;b=f[a+8>>2]|0;f[e>>2]=f[a+20>>2];f[e+4>>2]=m;f[e+8>>2]=l;f[e+12>>2]=d;f[e+16>>2]=(d|0)==1?474252:474257;f[e+20>>2]=b;mab(c,4096,474263,e)|0;f[j>>2]=c;Uhb(474320,j);b=$5a(474327)|0;if(b|0){if(!(gab(b,474338)|0)){m=2;u=k;return m|0}if(!(gab(b,474344)|0)){m=1;u=k;return m|0}if(!(gab(b,474350)|0)){m=0;u=k;return m|0}if(!(gab(b,474356)|0)){m=3;u=k;return m|0}m=(gab(b,474363)|0)==0;m=m?4:2;u=k;return m|0}b=Vhb()|0;if((b|0)!=0?((U4a(b)|0)&1|0)!=0:0){Whb(b);d=b}else d=0;P5a(g,0,28)|0;f[g>>2]=32;f[g+4>>2]=d;f[g+8>>2]=474377;f[g+12>>2]=c;f[g+16>>2]=5;f[g+20>>2]=h;a:do if(!(Xhb(g,i)|0)){b=f[i>>2]|0;b=(b|0)==-1?3:b}else{b=f[89495]|0;Opb(474394,49,1,b)|0;Jpb(b)|0;c=f[89463]|0;b:do if(!(Sob(j,32,c)|0))b=2;else while(1){if(!(gab(j,474444)|0)){b=2;break b}if(!(gab(j,474446)|0)){b=1;break b}if(!(gab(j,474448)|0)){b=0;break b}if(!(gab(j,474450)|0)){b=3;break b}if(!(gab(j,474452)|0)){b=4;break a}Opb(474394,49,1,b)|0;Jpb(b)|0;if(!(Sob(j,32,c)|0)){b=2;break}}while(0)}while(0);if(!d){m=b;u=k;return m|0}Yhb(d);m=b;u=k;return m|0}function Uhb(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;jab(2,4,a,d);u=c;return}function Vhb(){var a=0,b=0;a=f[124995]|0;if(!a){b=0;return b|0}a=f[a+272>>2]|0;if(!a){b=0;return b|0}while(1){if(f[a+48>>2]&512|0){b=6;break}a=f[a+152>>2]|0;if(!a){a=0;b=6;break}}if((b|0)==6)return a|0;return 0}function Whb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;c=d+8|0;b=f[124995]|0;if(!b){c5a(458271,d)|0;u=d;return}if(a|0?(f[a>>2]|0)==(b+280|0):0){if(f[a+48>>2]&64|0){u=d;return}sab(a,0)|0;b=f[124995]|0;c=f[b+96>>2]|0;if(!c){u=d;return}Bj[c&1023](b,a);u=d;return}c5a(473742,c)|0;u=d;return}function Xhb(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;r=u;u=u+48|0;q=r+40|0;p=r+32|0;m=r+24|0;g=r+16|0;e=r+8|0;c=r;i=r+44|0;if(!a){f[c>>2]=474454;q=c5a(473278,c)|0;u=r;return q|0}n=jeb()|0;l=(n|0)!=0;do if(l){c=f[124995]|0;if(!c){c5a(458271,e)|0;j=0;break}if((f[n>>2]|0)==(c+280|0)){j=(f[n+48>>2]&16384|0)!=0;break}else{c5a(473742,g)|0;j=0;break}}else j=0;while(0);g=Zhb()|0;heb(0)|0;Jhb(0)|0;h=_hb(1)|0;feb();e=(b|0)==0?i:b;c=f[124995]|0;if(!(((c|0)!=0?(k=f[c+252>>2]|0,(k|0)!=0):0)?(d=dj[k&255](c,a,e)|0,(d|0)!=-1):0)){c5a(474469,m)|0;d=-1}if(l){c=f[124995]|0;do if(c){if((f[n>>2]|0)!=(c+280|0)){c5a(473742,q)|0;break}if(f[n+48>>2]&4|0?(o=f[c+88>>2]|0,o|0):0)Bj[o&1023](c,n)}else c5a(458271,p)|0;while(0);if(j)heb(1)|0}_hb(h)|0;Jhb(g)|0;q=d;u=r;return q|0}function Yhb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;b=d+8|0;c=f[124995]|0;if(!c){c5a(458271,d)|0;u=d;return}if(a|0?(f[a>>2]|0)==(c+280|0):0){if(!(f[a+48>>2]&192)){u=d;return}b=f[c+100>>2]|0;if(!b){u=d;return}Bj[b&1023](c,a);u=d;return}c5a(473742,b)|0;u=d;return}function Zhb(){return f[125019]|0}function _hb(a){a=a|0;var b=0,c=0,d=0,e=0;e=f[125026]|0;if((a|0)<=-1)return e|0;d=(a|0)!=0;c=d&1;f[125026]=c;if((e|0)==(c|0))return e|0;a=(f[125011]|0)==0?f[125024]|0:f[125025]|0;b=f[125002]|0;c=(b|0)==0;if((f[125019]|0)==0&(d&(a|0)!=0)){if(c)return e|0;_i[b&2047](a)|0;return e|0}else{if(c)return e|0;_i[b&2047](0)|0;return e|0}return 0}function $hb(a){a=a|0;if((a|0)!=-1){Fab(1536,a)|0;Fab(1537,a)|0;Fab(1538,a)|0;Fab(1539,a)|0;Fab(1540,a)|0;Fab(1541,a)|0;Fab(1542,a)|0;return a|0}if((Fab(1536,-1)|0)<<24>>24==1){a=1;return a|0}if((Fab(1537,-1)|0)<<24>>24==1){a=1;return a|0}if((Fab(1538,-1)|0)<<24>>24==1){a=1;return a|0}if((Fab(1539,-1)|0)<<24>>24==1){a=1;return a|0}if((Fab(1540,-1)|0)<<24>>24==1){a=1;return a|0}if((Fab(1541,-1)|0)<<24>>24==1){a=1;return a|0}else return (Fab(1542,-1)|0)&255|0;return 0}function aib(){var a=0,c=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+64|0;m=t;a=f[125724]|0;if(!a){u=t;return}n=m+8|0;o=m+12|0;p=m+13|0;q=m+8|0;r=m+12|0;s=m+13|0;do{k=a;a=f[a+60>>2]|0;f[125725]=k;cib(k);l=k+52|0;if(f[l>>2]|0){e=k+8|0;if((f[e>>2]|0)>0){g=k+16|0;c=0;do{dib(k,c&255,d[(f[g>>2]|0)+(c<<1)>>1]|0)|0;c=c+1|0}while((c|0)<(f[e>>2]|0))}i=k+36|0;c=f[i>>2]|0;if((c|0)>0){j=k+40|0;h=0;do{e=h&255;f[m>>2]=1540;g=h&255;if((c|0)>(g|0)?b[(f[j>>2]|0)+g>>0]|0:0){(f[125721]|0)==0?bgb(32)|0:0;b[(f[j>>2]|0)+g>>0]=0;if((Fab(f[m>>2]|0,-1)|0)<<24>>24==1){f[n>>2]=f[k>>2];b[o>>0]=e;b[p>>0]=0;Lab(m)|0}}h=h+1|0;c=f[i>>2]|0}while((h|0)<(c|0))}i=k+20|0;c=f[i>>2]|0;if((c|0)>0){j=k+24|0;h=0;do{e=h&255;g=h&255;if((c|0)>(g|0)?b[(f[j>>2]|0)+g>>0]|0:0){(f[125721]|0)==0?bgb(32)|0:0;b[(f[j>>2]|0)+g>>0]=0;if((Fab(1538,-1)|0)<<24>>24==1){f[m>>2]=1538;f[q>>2]=f[k>>2];b[r>>0]=e;b[s>>0]=0;Lab(m)|0}}h=h+1|0;c=f[i>>2]|0}while((h|0)<(c|0))}f[l>>2]=0}f[125725]=0;if((f[k+48>>2]|0)<1)Ghb(k)}while((a|0)!=0);u=t;return}function bib(){if(!(f[125028]|0))return;f[125028]=0;Nab(256)|0;return}function cib(a){a=a|0;var b=0,c=0.0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+1440|0;l=m;k=f[a+44>>2]|0;if(!k){u=m;return}if(rc(f[k>>2]|0,l|0)|0){u=m;return}c=+p[l>>3];if(!(c==0.0)?!(c!=+p[k+32>>3]):0){u=m;return}i=k+20|0;a=f[i>>2]|0;if((a|0)>0){j=k+16|0;h=0;do{g=k+1064+(h<<2)|0;b=f[g>>2]|0;d=l+1040+(h<<2)|0;e=f[d>>2]|0;if((b|0)!=(e|0)){fib(f[j>>2]|0,h&255,(e|0)!=0&1)|0;b=f[d>>2]|0;a=f[i>>2]|0}p[k+552+(h<<3)>>3]=+p[l+528+(h<<3)>>3];f[g>>2]=b;h=h+1|0}while((h|0)<(a|0))}g=k+24|0;a=f[g>>2]|0;if((a|0)>0){h=k+16|0;e=0;do{d=k+40+(e<<3)|0;b=l+16+(e<<3)|0;c=+p[b>>3];if(+p[d>>3]!=c){dib(f[h>>2]|0,e&255,~~(c*32767.0))|0;c=+p[b>>3];a=f[g>>2]|0}p[d>>3]=c;e=e+1|0}while((e|0)<(a|0))}p[k+32>>3]=+p[l>>3];u=m;return}function dib(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0,k=0;k=u;u=u+64|0;h=k;i=c&255;if((f[a+8>>2]|0)<=(i|0)){j=0;u=k;return j|0}j=a+12|0;if((d[(f[j>>2]|0)+(i<<1)>>1]|0)==e<<16>>16){j=0;u=k;return j|0}if(((f[125721]|0)==0?bgb(32)|0:0)?(jeb()|0)==0:0){g=d[(f[a+16>>2]|0)+(i<<1)>>1]|0;if(g<<16>>16<e<<16>>16?(d[(f[j>>2]|0)+(i<<1)>>1]|0)<=e<<16>>16:0){j=0;u=k;return j|0}if(g<<16>>16>e<<16>>16?(d[(f[j>>2]|0)+(i<<1)>>1]|0)>=e<<16>>16:0){j=0;u=k;return j|0}}d[(f[j>>2]|0)+(i<<1)>>1]=e;if((Fab(1536,-1)|0)<<24>>24!=1){j=0;u=k;return j|0}f[h>>2]=1536;f[h+8>>2]=f[a>>2];b[h+12>>0]=c;d[h+16>>1]=e;j=(Lab(h)|0)==1&1;u=k;return j|0}function eib(){return}function fib(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=u;u=u+64|0;h=i;switch(d<<24>>24){case 1:{e=1539;break}case 0:{e=1540;break}default:{h=0;u=i;return h|0}}f[h>>2]=e;e=c&255;if((f[a+36>>2]|0)<=(e|0)){h=0;u=i;return h|0}g=a+40|0;if((b[(f[g>>2]|0)+e>>0]|0)==d<<24>>24){h=0;u=i;return h|0}if(((f[125721]|0)==0?bgb(32)|0:0)?d<<24>>24==1&(jeb()|0)==0:0){h=0;u=i;return h|0}b[(f[g>>2]|0)+e>>0]=d;if((Fab(f[h>>2]|0,-1)|0)<<24>>24!=1){h=0;u=i;return h|0}f[h+8>>2]=f[a>>2];b[h+12>>0]=c;b[h+13>>0]=d;h=(Lab(h)|0)==1&1;u=i;return h|0}function gib(a){a=a|0;var b=0;b=ieb()|0;if(b|0)tj[f[b+204>>2]&2047](b);if(!((f[122854]|0)!=0?!($hb(-1)|0):0))aib();bib();switch(Pab(a,1,2,0,65535)|0){case 0:case -1:break;default:{b=1;return b|0}}b=0;return b|0}function hib(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,j=0,k=0,l=0,m=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;K=u;u=u+144|0;J=K+112|0;I=K+104|0;H=K+96|0;G=K+88|0;F=K+80|0;E=K+72|0;B=K+64|0;A=K+56|0;v=K+48|0;w=K+40|0;l=K+32|0;k=K+24|0;j=K+16|0;i=K+8|0;h=K;t=K+120|0;if((f[124995]|0)==0?(zfb(0)|0)<0:0){J=0;u=K;return J|0}if(((g>>>17&1)+(g>>>18&1)+(g>>>19&1)|0)>>>0>1){c5a(474536,h)|0;J=0;u=K;return J|0}q=(d|0)>1?d:1;r=(e|0)>1?e:1;if((q|0)>16384|(r|0)>16384){c5a(474571,i)|0;J=0;u=K;return J|0}a:do if(g&2|0){e=f[124995]|0;if(!(f[e+176>>2]|0)){c5a(460517,j)|0;J=0;u=K;return J|0}b:do if(!e)d=c5a(458271,k)|0;else{h=e+388|0;d=f[h>>2]|0;do if(!d){d=f[e+164>>2]|0;if(!d){d=c5a(460297,l)|0;break b}d=cj[d&1023](e,0)|0;h=f[124995]|0;if(!d){d=h+388|0;h=d;d=f[d>>2]|0;break}e=f[h+172>>2]|0;if(!e)break b;tj[e&2047](h);break b}while(0);f[h>>2]=d+1;break a}while(0);if((d|0)<0){J=0;u=K;return J|0}}while(0);if(g&8192){s=($ab(474592,0)|0)==0;g=s?g:g&-8193}s=X4a(1,156)|0;if(!s){Y4a(0)|0;J=0;u=K;return J|0}m=f[124995]|0;f[s>>2]=m+280;m=m+284|0;l=f[m>>2]|0;f[m>>2]=l+1;f[s+4>>2]=l;l=s+16|0;f[l>>2]=b;m=s+20|0;f[m>>2]=c;o=s+24|0;f[o>>2]=q;p=s+28|0;f[p>>2]=r;j=b&-65536;if((j|0)<805240832)switch(j|0){case 536805376:{k=27;break}default:k=26}else switch(j|0){case 805240832:{k=27;break}default:k=26}c:do if((k|0)==26){d=c&-65536;if((d|0)<805240832)switch(d|0){case 536805376:{k=27;break c}default:{i=b;d=c;e=q;h=r;break c}}else switch(d|0){case 805240832:{k=27;break c}default:{i=b;d=c;e=q;h=r;break c}}}while(0);if((k|0)==27){d=ebb(s)|0;h=f[124995]|0;if((d|0)>-1)e=(f[h+268>>2]|0)+(d*68|0)|0;else e=0;i=f[h+264>>2]|0;d:do if((i|0)>0){h=f[h+268>>2]|0;d=0;while(1){if((h+(d*68|0)|0)==(e|0))break d;d=d+1|0;if((d|0)>=(i|0)){d=0;break}}}else d=0;while(0);mbb(d,t)|0;if((j|0)<805240832)switch(j|0){case 536805376:{k=34;break}default:{}}else switch(j|0){case 805240832:{k=34;break}default:{}}if((k|0)==34)f[l>>2]=(((f[t+8>>2]|0)-q|0)/2|0)+(f[t>>2]|0);d=c&-65536;if((d|0)<805240832)switch(d|0){case 536805376:{k=37;break}default:k=36}else switch(d|0){case 805240832:{k=37;break}default:k=36}if((k|0)==36)d=f[m>>2]|0;else if((k|0)==37){d=(((f[t+12>>2]|0)-r|0)/2|0)+(f[t+4>>2]|0)|0;f[m>>2]=d}i=f[l>>2]|0;e=f[o>>2]|0;h=f[p>>2]|0}f[s+56>>2]=i;f[s+60>>2]=d;f[s+64>>2]=e;f[s+68>>2]=h;j=(g&1|0)==0;if(!j){d=ebb(s)|0;h=f[124995]|0;if((d|0)>-1)e=(f[h+268>>2]|0)+(d*68|0)|0;else e=0;i=f[h+264>>2]|0;e:do if((i|0)>0){h=f[h+268>>2]|0;d=0;while(1){if((h+(d*68|0)|0)==(e|0))break e;d=d+1|0;if((d|0)>=(i|0)){d=0;break}}}else d=0;while(0);mbb(d,t)|0;f[l>>2]=f[t>>2];f[m>>2]=f[t+4>>2];f[o>>2]=f[t+8>>2];f[p>>2]=f[t+12>>2]}e=g&1024050|8;i=s+48|0;f[i>>2]=e;f[s+52>>2]=e;n[s+92>>2]=1.0;n[s+96>>2]=1.0;e=f[124995]|0;d=e+272|0;h=f[d>>2]|0;f[s+152>>2]=h;f[s+120>>2]=0;if(h|0)f[h+148>>2]=s;f[d>>2]=s;d=f[e+32>>2]|0;if(d|0?(cj[d&1023](e,s)|0)<0:0){yhb(s);J=0;u=K;return J|0}do if(a|0){d=f[124995]|0;if(!d){c5a(458271,w)|0;break}if((f[s>>2]|0)!=(d+280|0)){c5a(473742,v)|0;break}d=s+8|0;h=f[d>>2]|0;if((h|0)!=(a|0)?(A5a(h),x=xeb(a)|0,f[d>>2]=x,x=f[124995]|0,y=f[x+40>>2]|0,y|0):0)Bj[y&1023](x,s)}while(0);do if(g&128|0){d=f[124995]|0;if(!d){c5a(458271,A)|0;break}if((f[s>>2]|0)!=(d+280|0)){c5a(473742,B)|0;break}if((f[i>>2]&128|0)==0?(z=f[d+92>>2]|0,z|0):0)Bj[z&1023](d,s)}while(0);do if(g&64|0){d=f[124995]|0;if(!d){c5a(458271,E)|0;break}if((f[s>>2]|0)!=(d+280|0)){c5a(473742,F)|0;break}if((f[i>>2]&64|0)==0?(sab(s,0)|0,C=f[124995]|0,D=f[C+96>>2]|0,D|0):0)Bj[D&1023](C,s)}while(0);do if(!j){d=f[124995]|0;if(!d){c5a(458271,G)|0;break}if((f[s>>2]|0)!=(d+280|0)){c5a(473742,H)|0;break}d=g&4097;h=f[i>>2]|0;e=h&4097;if((d|0)!=(e|0)?(f[i>>2]=h&-4098|d,sab(s,(h&4|0)==0?0:h>>>6&1^1)|0):0)f[i>>2]=f[i>>2]&-4098|e}while(0);if(g&256|0)uab(s,1);do if(!(g&8)){h=f[124995]|0;if(!h){c5a(458271,I)|0;break}if((f[s>>2]|0)!=(h+280|0)){c5a(473742,J)|0;break}if(!(f[i>>2]&4)){d=f[h+80>>2]|0;if(d|0)Bj[d&1023](h,s);tab(s,1,0,0)|0}}while(0);J=f[i>>2]|0;sab(s,(J&5|0)==5?J>>>6&1^1:0)|0;J=s;u=K;return J|0}function iib(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;j=u;u=u+32|0;g=j+24|0;e=j+16|0;d=j+8|0;i=f[124995]|0;if(!i){c5a(458271,j)|0;u=j;return}if(a|0?(f[a>>2]|0)==(i+280|0):0){if((b|0)<1){f[e>>2]=474619;c5a(473278,e)|0;u=j;return}if((c|0)<1){f[g>>2]=474621;c5a(473278,g)|0;u=j;return}h=f[a+32>>2]|0;h=(h|0)!=0&(h|0)>(b|0)?h:b;g=f[a+40>>2]|0;h=(g|0)!=0&(h|0)>(g|0)?g:h;g=f[a+36>>2]|0;g=(g|0)!=0&(g|0)>(c|0)?g:c;b=f[a+44>>2]|0;g=(b|0)!=0&(g|0)>(b|0)?b:g;f[a+64>>2]=h;f[a+68>>2]=g;b=f[a+48>>2]|0;if(b&1|0){if((b&68|0)!=4|(b&4097|0)==4097){u=j;return}f[a+52>>2]=0;sab(a,1)|0;u=j;return}b=a+24|0;f[b>>2]=h;d=a+28|0;f[d>>2]=g;e=f[i+52>>2]|0;if(e|0?(Bj[e&1023](i,a),(f[b>>2]|0)!=(h|0)):0){u=j;return}if((f[d>>2]|0)!=(g|0)){u=j;return}f[a+112>>2]=0;tab(a,6,h,g)|0;u=j;return}c5a(473742,d)|0;u=j;return}function jib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=f[a+180>>2]|0;if(!d)kib(a,474623);else{Fj[d&511](a,b,c);return}}function kib(a,b){a=a|0;b=b|0;var c=0;if(a|0?(c=f[a+168>>2]|0,c|0):0)Bj[c&1023](a,b);lib(a,b)}function lib(a,b){a=a|0;b=b|0;var c=0,d=0;d=u;u=u+16|0;c=f[89495]|0;f[d>>2]=(b|0)==0?474651:b;Rob(c,474661,d)|0;Rpb(10,c)|0;mib(a,1)}function mib(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0?(c=f[a+156>>2]|0,c|0):0)?(d=f[a+160>>2]|0,d|0):0)Bj[c&1023](d,b);Lb()}function nib(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)return;if((Opb(b,1,c,f[a+188>>2]|0)|0)==(c|0))return;else kib(a,474678)}function oib(a){a=a|0;var b=0;b=f[a+472>>2]|0;if(!b)return;tj[b&2047](a);return}function pib(a){a=a|0;if(!a)return;Jpb(f[a+188>>2]|0)|0;return}function qib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a)return;f[a+188>>2]=b;f[a+180>>2]=(c|0)==0?239:c;f[a+472>>2]=(d|0)==0?1546:d;b=a+184|0;if(!(f[b>>2]|0))return;f[b>>2]=0;rib(a,474747);return}function rib(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;if(a){if((b[c>>0]|0)==35)if((b[c+1>>0]|0)!=32)if((b[c+2>>0]|0)!=32)if((b[c+3>>0]|0)!=32)if((b[c+4>>0]|0)!=32)if((b[c+5>>0]|0)!=32)if((b[c+6>>0]|0)!=32)if((b[c+7>>0]|0)!=32)if((b[c+8>>0]|0)!=32)if((b[c+9>>0]|0)!=32)if((b[c+10>>0]|0)!=32)if((b[c+11>>0]|0)!=32)if((b[c+12>>0]|0)!=32)if((b[c+13>>0]|0)==32)d=13;else d=(b[c+14>>0]|0)==32?14:15;else d=12;else d=11;else d=10;else d=9;else d=8;else d=7;else d=6;else d=5;else d=4;else d=3;else d=2;else d=1;else d=0;e=f[a+172>>2]|0;if(e){Bj[e&1023](a,c+d|0);u=h;return}}else d=0;e=f[89495]|0;f[g>>2]=c+d;Rob(e,474690,g)|0;Rpb(10,e)|0;u=h;return}function sib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=f[a+184>>2]|0;if(!d)kib(a,474709);else{Fj[d&511](a,b,c);return}}function tib(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)return;if((zpb(b,1,c,f[a+188>>2]|0)|0)==(c|0))return;else kib(a,474736)}function uib(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)return;f[a+188>>2]=b;f[a+184>>2]=(c|0)==0?240:c;b=a+180|0;if(f[b>>2]|0){f[b>>2]=0;rib(a,474747)}f[a+472>>2]=0;return}function vib(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==0|(b|0)==0|(c|0)==0)return;a=b+170|0;d[a>>1]=d[c>>1]|0;d[a+2>>1]=d[c+2>>1]|0;d[a+4>>1]=d[c+4>>1]|0;d[a+6>>1]=d[c+6>>1]|0;d[a+8>>1]=d[c+8>>1]|0;c=b+8|0;f[c>>2]=f[c>>2]|32;return}function wib(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+48|0;g=l;switch(yib(g,c)|0){case 0:{j=b+74|0;k=d[j>>1]|0;i=k&65535;if(i&32768|0){k=0;u=l;return k|0}h=b+4|0;do if(!((e|0)>1|(i&2|0)==0))if(!(zib(c,h,100)|0)){d[j>>1]=k|-32768;Aib(a,474815);k=0;u=l;return k|0}else{if(!e)g=1;else break;u=l;return g|0}while(0);f[h>>2]=f[c>>2];f[h+4>>2]=f[c+4>>2];f[h+8>>2]=f[c+8>>2];f[h+12>>2]=f[c+12>>2];f[h+16>>2]=f[c+16>>2];f[h+20>>2]=f[c+20>>2];f[h+24>>2]=f[c+24>>2];f[h+28>>2]=f[c+28>>2];a=b+36|0;h=a+36|0;do{f[a>>2]=f[g>>2];a=a+4|0;g=g+4|0}while((a|0)<(h|0));c=(zib(c,357672,1e3)|0)==0;k=(k|2)&65535;d[j>>1]=c?k&65471:k|64;k=2;u=l;return k|0}case 1:{k=b+74|0;d[k>>1]=d[k>>1]|-32768;Aib(a,474843);k=0;u=l;return k|0}default:{l=b+74|0;d[l>>1]=d[l>>1]|-32768;kib(a,474866)}}return 0}function xib(a,b){a=a|0;b=b|0;var c=0;if((a|0)==0|(b|0)==0)return;c=f[a+724>>2]|0;if(!c){Dmb(b);return}else{Bj[c&1023](a,b);return}}function yib(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.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,J=0,K=0.0,L=0.0;J=u;u=u+32|0;D=J;z=f[b>>2]|0;if(z>>>0>1e5){H=1;u=J;return H|0}H=b+4|0;e=f[H>>2]|0;if((e|0)<0|(e|0)>(1e5-z|0)){H=1;u=J;return H|0}A=b+8|0;c=f[A>>2]|0;if(c>>>0>1e5){H=1;u=J;return H|0}B=b+12|0;h=f[B>>2]|0;if((h|0)<0|(h|0)>(1e5-c|0)){H=1;u=J;return H|0}C=b+16|0;n=f[C>>2]|0;if(n>>>0>1e5){H=1;u=J;return H|0}E=b+20|0;i=f[E>>2]|0;if((i|0)<0|(i|0)>(1e5-n|0)){H=1;u=J;return H|0}F=b+24|0;o=f[F>>2]|0;if(o>>>0>1e5){H=1;u=J;return H|0}G=b+28|0;y=f[G>>2]|0;if((y|0)<0|(y|0)>(1e5-o|0)){H=1;u=J;return H|0}k=c-n|0;s=e-i|0;j=(k|0)==0;t=(s|0)==0;if(!(j|t)){d=+I(+(+(k|0)*+(s|0)/7.0+.5));if(d<=2147483647.0&d>=-2147483648.0)e=~~d;else{H=2;u=J;return H|0}}else e=0;l=h-i|0;v=z-n|0;m=(l|0)==0;w=(v|0)==0;if(!(w|m)){d=+I(+(+(v|0)*+(l|0)/7.0+.5));if(d<=2147483647.0&d>=-2147483648.0)c=~~d;else{H=2;u=J;return H|0}}else c=0;x=e-c|0;q=y-i|0;r=(q|0)==0;if(!(j|r)){d=+I(+(+(k|0)*+(q|0)/7.0+.5));if(d<=2147483647.0&d>=-2147483648.0)e=~~d;else{H=2;u=J;return H|0}}else e=0;h=o-n|0;i=(h|0)==0;if(!(m|i)){d=+I(+(+(l|0)*+(h|0)/7.0+.5));if(d<=2147483647.0&d>=-2147483648.0)c=~~d;else{H=2;u=J;return H|0}}else c=0;c=e-c|0;if(!c){H=1;u=J;return H|0}j=(y|0)==0|(x|0)==0;if(!j){d=+I(+(+(y|0)*+(x|0)/+(c|0)+.5));if(d<=2147483647.0&d>=-2147483648.0)k=~~d;else{H=1;u=J;return H|0}}else k=0;if((k|0)<=(y|0)){H=1;u=J;return H|0}if(!(t|i)){d=+I(+(+(s|0)*+(h|0)/7.0+.5));if(d<=2147483647.0&d>=-2147483648.0)e=~~d;else{H=2;u=J;return H|0}}else e=0;if(!(w|r)){d=+I(+(+(v|0)*+(q|0)/7.0+.5));if(d<=2147483647.0&d>=-2147483648.0)c=~~d;else{H=2;u=J;return H|0}}else c=0;c=e-c|0;if(!c){H=1;u=J;return H|0}do if(j)h=0;else{d=+I(+(+(y|0)*+(x|0)/+(c|0)+.5));if(d<=2147483647.0&d>=-2147483648.0){h=~~d;break}else c=1;u=J;return c|0}while(0);if((h|0)<=(y|0)){H=1;u=J;return H|0}K=+I(+(1.0e10/+(y|0)+.5));g=+(k|0);d=+I(+(1.0e10/g+.5));p=+(h|0);L=+I(+(1.0e10/p+.5));i=(L<=2147483647.0&L>=-2147483648.0?0-~~L|0:0)+((K<=2147483647.0&K>=-2147483648.0?~~K:0)-(d<=2147483647.0&d>=-2147483648.0?~~d:0))|0;if((i|0)<1){H=1;u=J;return H|0}if(!k){H=1;u=J;return H|0}do if(z){d=+I(+(+(z|0)*1.0e5/g+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[a>>2]=c;e=a+4|0;c=f[H>>2]|0;do if(c){d=+I(+(+(c|0)*1.0e5/g+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;e=a+8|0;c=1e5-(f[b>>2]|0)-(f[H>>2]|0)|0;do if(c){d=+I(+(+(c|0)*1.0e5/g+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;e=a+12|0;c=f[A>>2]|0;if(!h){H=1;u=J;return H|0}do if(c){d=+I(+(+(c|0)*1.0e5/p+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;e=a+16|0;c=f[B>>2]|0;do if(c){d=+I(+(+(c|0)*1.0e5/p+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;e=a+20|0;c=1e5-(f[A>>2]|0)-(f[B>>2]|0)|0;do if(c){d=+I(+(+(c|0)*1.0e5/p+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;e=a+24|0;c=f[C>>2]|0;do if(c){d=+I(+(+(i|0)*+(c|0)/1.0e5+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;e=a+28|0;c=f[E>>2]|0;do if(c){d=+I(+(+(i|0)*+(c|0)/1.0e5+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;e=a+32|0;c=1e5-(f[C>>2]|0)-(f[E>>2]|0)|0;do if(c){d=+I(+(+(i|0)*+(c|0)/1.0e5+.5));if(d<=2147483647.0&d>=-2147483648.0){c=~~d;break}else{H=1;u=J;return H|0}}else c=0;while(0);f[e>>2]=c;c=Dib(D,a)|0;if(c|0){H=c;u=J;return H|0}a=f[F>>2]|0;F=f[D+24>>2]|0;do if(!((a|0)<(F+-5|0)|(a|0)>(F+5|0))){F=f[G>>2]|0;G=f[D+28>>2]|0;if((F|0)<(G+-5|0)|(F|0)>(G+5|0))break;F=f[b>>2]|0;G=f[D>>2]|0;if((F|0)<(G+-5|0)|(F|0)>(G+5|0))break;G=f[H>>2]|0;H=f[D+4>>2]|0;if((G|0)<(H+-5|0)|(G|0)>(H+5|0))break;G=f[A>>2]|0;H=f[D+8>>2]|0;if((G|0)<(H+-5|0)|(G|0)>(H+5|0))break;G=f[B>>2]|0;H=f[D+12>>2]|0;if((G|0)<(H+-5|0)|(G|0)>(H+5|0))break;G=f[C>>2]|0;H=f[D+16>>2]|0;if((G|0)<(H+-5|0)|(G|0)>(H+5|0))break;G=f[E>>2]|0;H=f[D+20>>2]|0;if((G|0)<(H+-5|0)|(G|0)>(H+5|0))break;else c=0;u=J;return c|0}while(0);H=1;u=J;return H|0}function zib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a+24>>2]|0;d=f[b+24>>2]|0;if((e|0)<(d-c|0)|(e|0)>(d+c|0))return 0;d=f[a+28>>2]|0;e=f[b+28>>2]|0;if((d|0)<(e-c|0)|(d|0)>(e+c|0))return 0;d=f[a>>2]|0;e=f[b>>2]|0;if((d|0)<(e-c|0)|(d|0)>(e+c|0))return 0;d=f[a+4>>2]|0;e=f[b+4>>2]|0;if((d|0)<(e-c|0)|(d|0)>(e+c|0))return 0;d=f[a+8>>2]|0;e=f[b+8>>2]|0;if((d|0)<(e-c|0)|(d|0)>(e+c|0))return 0;d=f[a+12>>2]|0;e=f[b+12>>2]|0;if((d|0)<(e-c|0)|(d|0)>(e+c|0))return 0;d=f[a+16>>2]|0;e=f[b+16>>2]|0;if((d|0)<(e-c|0)|(d|0)>(e+c|0))return 0;else{d=f[a+20>>2]|0;e=f[b+20>>2]|0;return (d|0)<=(e+c|0)&(d|0)>=(e-c|0)&1|0}return 0}function Aib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=u;u=u+224|0;e=g;c=(f[a+208>>2]&32768|0)!=0;if(!(f[a+212>>2]&1048576)){if(!c)kib(a,b);if(!(f[a+376>>2]|0))kib(a,b);else Cib(a,b)}if(c?(d=f[a+376>>2]|0,d|0):0){Bib(d,e,b);rib(a,e);u=g;return}rib(a,b);u=g;return}function Bib(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=a>>>24;if((e+-65|0)>>>0>57|(e+-91|0)>>>0<6){b[c>>0]=91;b[c+1>>0]=b[272608+(a>>>28)>>0]|0;b[c+2>>0]=b[272608+(e&15)>>0]|0;b[c+3>>0]=93;f=4}else{b[c>>0]=e;f=1}e=a>>>16;g=e&255;if((g+-65|0)>>>0>57|(g+-91|0)>>>0<6){b[c+(f+1)>>0]=b[272608+(a>>>20&15)>>0]|0;g=f+3|0;b[c+(f|2)>>0]=b[272608+(e&15)>>0]|0;b[c+g>>0]=93;e=91}else{g=f;e=e&255}b[c+f>>0]=e;f=g+1|0;e=a>>>8;h=e&255;if((h+-65|0)>>>0>57|(h+-91|0)>>>0<6){b[c+(g+2)>>0]=b[272608+(a>>>12&15)>>0]|0;h=g+4|0;b[c+(g+3)>>0]=b[272608+(e&15)>>0]|0;b[c+h>>0]=93;g=h;e=91}else{g=f;e=e&255}b[c+f>>0]=e;f=g+1|0;h=a&255;if((h+-65|0)>>>0>57|(h+-91|0)>>>0<6){b[c+(g+2)>>0]=b[272608+(a>>>4&15)>>0]|0;e=g+4|0;b[c+(g+3)>>0]=b[272608+(a&15)>>0]|0;b[c+e>>0]=93;g=e;e=91}else{g=f;e=a&255}b[c+f>>0]=e;e=g+1|0;if(!d){h=e;h=c+h|0;b[h>>0]=0;return}b[c+e>>0]=58;b[c+(g+2)>>0]=32;a=0;e=g+3|0;while(1){f=b[d+a>>0]|0;if(!(f<<24>>24)){f=8;break}a=a+1|0;g=e+1|0;b[c+e>>0]=f;if(a>>>0>=195){e=g;f=8;break}else e=g}if((f|0)==8){h=c+e|0;b[h>>0]=0;return}}function Cib(a,b){a=a|0;b=b|0;var c=0;c=u;u=u+224|0;if(!a)kib(0,b);else{Bib(f[a+376>>2]|0,c,b);kib(a,c)}}function Dib(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=f[b>>2]|0;g=b+4|0;l=(f[g>>2]|0)+d+(f[b+8>>2]|0)|0;if(!l){a=1;return a|0}do if(d){c=+I(+(+(d|0)*1.0e5/+(l|0)+.5));if(c<=2147483647.0&c>=-2147483648.0){d=~~c;break}else{a=1;return a|0}}else d=0;while(0);f[a>>2]=d;e=a+4|0;d=f[g>>2]|0;do if(d){c=+I(+(+(d|0)*1.0e5/+(l|0)+.5));if(c<=2147483647.0&c>=-2147483648.0){d=~~c;break}else{a=1;return a|0}}else d=0;while(0);f[e>>2]=d;i=f[b>>2]|0;j=f[g>>2]|0;h=b+12|0;d=f[h>>2]|0;k=b+16|0;g=(f[k>>2]|0)+d+(f[b+20>>2]|0)|0;e=a+8|0;if(!g){a=1;return a|0}do if(d){c=+I(+(+(d|0)*1.0e5/+(g|0)+.5));if(c<=2147483647.0&c>=-2147483648.0){d=~~c;break}else{a=1;return a|0}}else d=0;while(0);f[e>>2]=d;e=a+12|0;d=f[k>>2]|0;do if(d){c=+I(+(+(d|0)*1.0e5/+(g|0)+.5));if(c<=2147483647.0&c>=-2147483648.0){d=~~c;break}else{a=1;return a|0}}else d=0;while(0);f[e>>2]=d;m=g+l|0;l=(f[h>>2]|0)+i|0;k=(f[k>>2]|0)+j|0;i=b+24|0;d=f[i>>2]|0;j=b+28|0;g=(f[j>>2]|0)+d+(f[b+32>>2]|0)|0;e=a+16|0;if(!g){a=1;return a|0}do if(d){c=+I(+(+(d|0)*1.0e5/+(g|0)+.5));if(c<=2147483647.0&c>=-2147483648.0){d=~~c;break}else{a=1;return a|0}}else d=0;while(0);f[e>>2]=d;e=a+20|0;d=f[j>>2]|0;do if(d){c=+I(+(+(d|0)*1.0e5/+(g|0)+.5));if(c<=2147483647.0&c>=-2147483648.0){d=~~c;break}else{a=1;return a|0}}else d=0;while(0);f[e>>2]=d;h=m+g|0;d=l+(f[i>>2]|0)|0;e=f[j>>2]|0;g=a+24|0;if(!h){a=1;return a|0}do if(d){c=+I(+(+(d|0)*1.0e5/+(h|0)+.5));if(c<=2147483647.0&c>=-2147483648.0){d=~~c;break}else{a=1;return a|0}}else d=0;while(0);f[g>>2]=d;d=k+e|0;e=a+28|0;if(!d){f[e>>2]=0;a=0;return a|0}c=+I(+(+(d|0)*1.0e5/+(h|0)+.5));if(!(c<=2147483647.0&c>=-2147483648.0)){a=1;return a|0}f[e>>2]=~~c;a=0;return a|0}function Eib(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0;g=u;u=u+224|0;d=g;e=474905;f=d+24|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));a:do if(!c)d=0;else{d=0;do{e=b[c+d>>0]|0;if(!(e<<24>>24))break a;b[g+(d+24)>>0]=e;d=d+1|0}while(d>>>0<195)}while(0);b[g+(d+24)>>0]=0;kib(a,g)}function Fib(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0.0;if((c+-16|0)>>>0<=624999984){g=b+74|0;e=d[g>>1]|0;if((e&8)==0?1:(f[a+208>>2]&32768|0)==0){if(e<<16>>16<0)return;do if(e&1){h=f[b>>2]|0;if((h|0?(i=+I(+(+(h|0)*1.0e5/+(c|0)+.5)),i<=2147483647.0&i>=-2147483648.0):0)?(~~i+-95e3|0)>>>0<10001:0)break;if(!(e&32)){Gib(a,474930,0);break}Gib(a,474973,2);return}while(0);f[b>>2]=c;d[g>>1]=e|9;return}else b=479557}else{e=b+74|0;b=475005;g=e;e=d[e>>1]|0}d[g>>1]=e|-32768;Gib(a,b,1);return}function Gib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=u;u=u+224|0;d=e;if(f[a+208>>2]&32768|0){if((c|0)<2){Bib(f[a+376>>2]|0,d,b);rib(a,d);u=e;return}if(!(f[a+212>>2]&1048576))Cib(a,b);Bib(f[a+376>>2]|0,d,b);rib(a,d);u=e;return}d=f[a+212>>2]|0;if((c|0)<1){if(!(d&2097152))kib(a,b);rib(a,b);u=e;return}else{if(!(d&4194304))kib(a,b);rib(a,b);u=e;return}}function Hib(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0;if((a|0)==0|(b|0)==0)return;e=b+20|0;if(((d[e>>1]|0)+-1&65535)>255){rib(a,475030);return}Iib(a,b,8,0);g=Jib(a,512)|0;f[b+204>>2]=g;if(!g){rib(a,475076);return}a=b+232|0;f[a>>2]=f[a>>2]|8;a=d[e>>1]|0;if(a<<16>>16){e=a&65535;a=0;do{d[g+(a<<1)>>1]=d[c+(a<<1)>>1]|0;a=a+1|0}while(a>>>0<e>>>0)}g=b+8|0;f[g>>2]=f[g>>2]|64;return}function Iib(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;if((a|0)==0|(c|0)==0)return;m=c+136|0;i=f[m>>2]|0;do if(i){k=c+232|0;if(!(e&16384&f[k>>2]))n=k;else{if((g|0)!=-1){xib(a,f[i+(g*28|0)+4>>2]|0);f[(f[m>>2]|0)+(g*28|0)+4>>2]=0;n=k;break}l=c+128|0;if((f[l>>2]|0)>0){j=0;do{xib(a,f[i+(j*28|0)+4>>2]|0);j=j+1|0;i=f[m>>2]|0}while((j|0)<(f[l>>2]|0))}xib(a,i);f[m>>2]=0;f[l>>2]=0;n=k}}else n=c+232|0;while(0);i=f[n>>2]|0;if(e&8192&i){i=c+8|0;f[i>>2]=f[i>>2]&-17;i=c+156|0;xib(a,f[i>>2]|0);f[i>>2]=0;d[c+22>>1]=0;i=f[n>>2]|0}if(e&256&i){m=c+256|0;xib(a,f[m>>2]|0);i=c+260|0;xib(a,f[i>>2]|0);f[m>>2]=0;f[i>>2]=0;i=c+8|0;f[i>>2]=f[i>>2]&-16385;i=f[n>>2]|0}if(e&128&i){i=c+208|0;xib(a,f[i>>2]|0);l=c+220|0;xib(a,f[l>>2]|0);f[i>>2]=0;f[l>>2]=0;l=c+224|0;i=f[l>>2]|0;if(i|0){k=c+229|0;if(b[k>>0]|0){j=0;do{xib(a,f[i+(j<<2)>>2]|0);j=j+1|0;i=f[l>>2]|0}while(j>>>0<(h[k>>0]|0)>>>0)}xib(a,i);f[l>>2]=0}i=c+8|0;f[i>>2]=f[i>>2]&-1025;i=f[n>>2]|0}if(e&16&i|0){l=c+116|0;xib(a,f[l>>2]|0);m=c+120|0;xib(a,f[m>>2]|0);f[l>>2]=0;f[m>>2]=0;m=c+8|0;f[m>>2]=f[m>>2]&-4097}l=c+244|0;i=f[l>>2]|0;do if(i|0?e&32&f[n>>2]|0:0){if((g|0)!=-1){xib(a,f[i+(g<<4)>>2]|0);xib(a,f[(f[l>>2]|0)+(g<<4)+8>>2]|0);m=f[l>>2]|0;f[m+(g<<4)>>2]=0;f[m+(g<<4)+8>>2]=0;break}k=c+248|0;if((f[k>>2]|0)>0){j=0;do{xib(a,f[i+(j<<4)>>2]|0);xib(a,f[(f[l>>2]|0)+(j<<4)+8>>2]|0);j=j+1|0;i=f[l>>2]|0}while((j|0)<(f[k>>2]|0))}xib(a,i);f[l>>2]=0;f[k>>2]=0;m=c+8|0;f[m>>2]=f[m>>2]&-8193}while(0);k=c+236|0;i=f[k>>2]|0;do if(i|0?e&512&f[n>>2]|0:0){if((g|0)!=-1){xib(a,f[i+(g*20|0)+8>>2]|0);f[(f[k>>2]|0)+(g*20|0)+8>>2]=0;break}l=c+240|0;if((f[l>>2]|0)>0){j=0;do{xib(a,f[i+(j*20|0)+8>>2]|0);j=j+1|0;i=f[k>>2]|0}while((j|0)<(f[l>>2]|0))}xib(a,i);f[k>>2]=0;f[l>>2]=0}while(0);i=f[n>>2]|0;if(e&8&i){i=c+204|0;xib(a,f[i>>2]|0);f[i>>2]=0;i=c+8|0;f[i>>2]=f[i>>2]&-65;i=f[n>>2]|0}if(e&4096&i){i=c+16|0;xib(a,f[i>>2]|0);f[i>>2]=0;i=c+8|0;f[i>>2]=f[i>>2]&-9;d[c+20>>1]=0;i=f[n>>2]|0}if(e&64&i){m=c+264|0;j=f[m>>2]|0;if(j){l=c+4|0;if(!(f[l>>2]|0))i=j;else{k=0;i=j;do{xib(a,f[i+(k<<2)>>2]|0);k=k+1|0;i=f[m>>2]|0}while(k>>>0<(f[l>>2]|0)>>>0)}xib(a,i);f[m>>2]=0;i=f[n>>2]|0}c=c+8|0;f[c>>2]=f[c>>2]&-32769}f[n>>2]=i&~((g|0)==-1?e:e&-16929);return}function Jib(a,b){a=a|0;b=b|0;var c=0;if(!a){a=0;return a|0}if(b|0){c=f[a+720>>2]|0;if(!c)b=Cmb(b)|0;else b=cj[c&1023](a,b)|0;if(b|0){a=b;return a|0}}rib(a,475116);a=0;return a|0}function Kib(a,c,d,e,g,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;if((a|0)==0|(c|0)==0)return;f[c>>2]=d;f[c+4>>2]=e;m=c+24|0;b[m>>0]=g;n=c+25|0;b[n>>0]=i;b[c+26>>0]=k;b[c+27>>0]=l;b[c+28>>0]=j;Lib(a,d,e,g&255,i&255,j&255,k&255,l&255);e=b[n>>0]|0;if(e<<24>>24!=3){g=c+29|0;a=e&2|1;b[g>>0]=a;if(e&4){a=a+1<<24>>24;b[g>>0]=a}}else{b[c+29>>0]=1;a=1}a=W(h[m>>0]|0,a&255)|0;b[c+30>>0]=a;a=a&255;if(a>>>0>7)a=W(a>>>3,d)|0;else a=((W(a,d)|0)+7|0)>>>3;f[c+12>>2]=a;return}function Lib(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;if(b){if((b|0)<0){rib(a,475158);j=1}else j=0;if((b+7&-8)>>>0>=536870905){rib(a,475186);j=1}}else{rib(a,475130);j=1}if((f[a+748>>2]|0)>>>0<b>>>0){rib(a,475233);j=1}if(c){if((c|0)<0){rib(a,475301);j=1}}else{rib(a,475272);j=1}if((f[a+752>>2]|0)>>>0<c>>>0){rib(a,475330);j=1}switch(d|0){case 1:case 2:case 4:case 8:case 16:break;default:{rib(a,475370);j=1}}c=e|4;if(e>>>0>6|(c|0)==5){rib(a,475396);j=1}if(!(!((d|0)>8&(e|0)==3)?!((d|0)<8&((e|0)==4|(c|0)==6)):0)){rib(a,475423);j=1}if((g|0)>1){rib(a,475472);j=1}if(h){rib(a,475505);j=1}b=a+208|0;if(f[b>>2]&4096|0?f[a+708>>2]|0:0)rib(a,480391);do if(i|0){if(((i|0)==64?(f[a+708>>2]&4|0)!=0:0)?(c|0)==6&(f[b>>2]&4096|0)==0:0)break;rib(a,475540);if(!(f[b>>2]&4096))kib(a,475600);rib(a,475570);kib(a,475600)}while(0);if((j|0)==1)kib(a,475600);else return}function Mib(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;if((a|0)==0|(c|0)==0)return;f[c+180>>2]=d;f[c+184>>2]=e;b[c+188>>0]=g;g=c+8|0;f[g>>2]=f[g>>2]|256;return}function Nib(a,c,d,e,g,h,i,j,k){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;if((a|0)==0|(c|0)==0|(d|0)==0|(j|0)==0)return;o=(i|0)>0;if(o&(k|0)==0)return;n=(Rmb(d)|0)+1|0;if(h>>>0>3)kib(a,475618);if(i>>>0>255)kib(a,475645);a:do if(i|0){l=0;while(1){m=f[k+(l<<2)>>2]|0;if(!m){l=12;break}l=l+1|0;if(!(Oib(m,Rmb(m)|0)|0)){l=12;break}if((l|0)>=(i|0))break a}if((l|0)==12)kib(a,475674)}while(0);l=Jib(a,n)|0;f[c+208>>2]=l;if(!l){rib(a,475708);return}YDb(l|0,d|0,n|0)|0;f[c+212>>2]=e;f[c+216>>2]=g;b[c+228>>0]=h;b[c+229>>0]=i;l=(Rmb(j)|0)+1|0;m=Jib(a,l)|0;f[c+220>>2]=m;if(!m){rib(a,475745);return}YDb(m|0,j|0,l|0)|0;l=(i<<2)+4|0;m=Jib(a,l)|0;e=c+224|0;f[e>>2]=m;if(!m){rib(a,475780);return}_Db(m|0,0,l|0)|0;b:do if(o){l=0;while(1){m=k+(l<<2)|0;n=(Rmb(f[m>>2]|0)|0)+1|0;d=Jib(a,n)|0;f[(f[e>>2]|0)+(l<<2)>>2]=d;d=f[(f[e>>2]|0)+(l<<2)>>2]|0;if(!d)break;YDb(d|0,f[m>>2]|0,n|0)|0;l=l+1|0;if((l|0)>=(i|0))break b}rib(a,475816);return}while(0);k=c+8|0;f[k>>2]=f[k>>2]|1024;k=c+232|0;f[k>>2]=f[k>>2]|128;return}function Oib(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g+4|0;e=g;f[d>>2]=0;f[e>>2]=0;do if(!(Pib(a,c,d,e)|0))a=0;else{e=f[e>>2]|0;if((e|0)!=(c|0)?b[a+e>>0]|0:0){a=0;break}a=f[d>>2]|0}while(0);u=g;return a|0}function Pib(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;g=f[d>>2]|0;h=f[e>>2]|0;a:do if(h>>>0<c>>>0)while(1){switch(b[a+h>>0]|0){case 43:{i=4;break}case 45:{i=132;break}case 46:{i=16;break}case 48:{i=8;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:{i=264;break}case 101:case 69:{i=32;break}default:break a}b:do switch((i|g&3)&63){case 4:{if(g&60|0)break a;g=i|g;break}case 16:{if(g&16|0)break a;if(!(g&8)){g=g&448|i|1;break b}else{g=i|g;break b}}case 8:{g=i|((g&16|0)==0?g:g&384|17)|64;break}case 32:{if(!(g&8))break a;g=g&448|2;break}case 9:{g=i|g|64;break}case 33:{if(!(g&8))break a;g=g&448|2;break}case 6:{if(g&60|0)break a;g=g|4;break}case 10:{g=g|72;break}default:break a}while(0);h=h+1|0;if(h>>>0>=c>>>0)break a}while(0);f[d>>2]=g;f[e>>2]=h;return g>>>3&1|0}function Qib(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;if((a|0)==0|(c|0)==0)return;if((d+-1|0)>>>0>1)kib(a,475855);if(!e)kib(a,475873);h=Rmb(e)|0;if(!h)kib(a,475873);if((b[e>>0]|0)==45)kib(a,475873);if(!(Oib(e,h)|0))kib(a,475873);if(!g)kib(a,475892);i=Rmb(g)|0;if(!i)kib(a,475892);if((b[g>>0]|0)==45)kib(a,475892);if(!(Oib(g,i)|0))kib(a,475892);b[c+252>>0]=d;h=h+1|0;d=Jib(a,h)|0;j=c+256|0;f[j>>2]=d;if(!d){rib(a,475912);return}YDb(d|0,e|0,h|0)|0;h=i+1|0;d=Jib(a,h)|0;f[c+260>>2]=d;if(!d){xib(a,f[j>>2]|0);f[j>>2]=0;rib(a,475912);return}else{YDb(d|0,g|0,h|0)|0;g=c+8|0;f[g>>2]=f[g>>2]|16384;g=c+232|0;f[g>>2]=f[g>>2]|256;return}}function Rib(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;if((a|0)==0|(c|0)==0)return;f[c+192>>2]=d;f[c+196>>2]=e;b[c+200>>0]=g;g=c+8|0;f[g>>2]=f[g>>2]|128;return}function Sib(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var h=0,i=0;if((a|0)==0|(c|0)==0)return;if(g>>>0>256){if((b[c+25>>0]|0)==3)kib(a,475959);rib(a,475959);return}h=(g|0)!=0;if((e|0)==0&h)kib(a,475982);if((g|0)==0?(f[a+708>>2]&1|0)==0:0)kib(a,475982);Iib(a,c,4096,0);i=Tib(a,768)|0;f[a+416>>2]=i;if(h)YDb(i|0,e|0,g*3|0)|0;f[c+16>>2]=i;g=g&65535;d[a+420>>1]=g;d[c+20>>1]=g;g=c+232|0;f[g>>2]=f[g>>2]|4096;g=c+8|0;f[g>>2]=f[g>>2]|8;return}function Tib(a,b){a=a|0;b=b|0;var c=0;if(!a){b=0;return b|0}if(!b)kib(a,475116);c=f[a+720>>2]|0;if(!c)c=Cmb(b)|0;else c=cj[c&1023](a,b)|0;if(!c)kib(a,475116);_Db(c|0,0,b|0)|0;b=c;return b|0}function Uib(a,c,d){a=a|0;c=c|0;d=d|0;if((a|0)==0|(c|0)==0|(d|0)==0)return;a=c+148|0;b[a>>0]=b[d>>0]|0;b[a+1>>0]=b[d+1>>0]|0;b[a+2>>0]=b[d+2>>0]|0;b[a+3>>0]=b[d+3>>0]|0;b[a+4>>0]=b[d+4>>0]|0;d=c+8|0;f[d>>2]=f[d>>2]|2;return}function Vib(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0.0,k=0;k=b+74|0;e=d[k>>1]|0;g=e&65535;if(g&32768|0){k=0;return k|0}if(c>>>0>3){Wib(a,b,475998,c,476003);k=0;return k|0}if(g&4|0?(j[b+72>>1]|0|0)!=(c|0):0){Wib(a,b,475998,c,476033);k=0;return k|0}if(g&32|0){Aib(a,476064);k=0;return k|0}if((g&2|0)!=0?(zib(357672,b+4|0,100)|0)==0:0){Gib(a,476099,2);e=d[k>>1]|0}do if(!(e&1))h=e;else{g=f[b>>2]|0;if((g|0?(i=+I(+(+(g|0)*1.0e5/45455.0+.5)),i<=2147483647.0&i>=-2147483648.0):0)?(~~i+-95e3|0)>>>0<10001:0){h=e;break}Gib(a,474973,2);h=d[k>>1]|0}while(0);d[b+72>>1]=c;e=b+4|0;f[e>>2]=f[89418];f[e+4>>2]=f[89419];f[e+8>>2]=f[89420];f[e+12>>2]=f[89421];f[e+16>>2]=f[89422];f[e+20>>2]=f[89423];f[e+24>>2]=f[89424];f[e+28>>2]=f[89425];e=b+36|0;g=357704;a=e+36|0;do{f[e>>2]=f[g>>2];e=e+4|0;g=g+4|0}while((e|0)<(a|0));f[b>>2]=45455;d[k>>1]=h|231;k=1;return k|0}function Wib(a,c,e,f,g){a=a|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+240|0;m=p+32|0;n=p;o=(c|0)!=0;if(o){c=c+74|0;d[c>>1]=d[c>>1]|-32768}c=Xib(m,196,0,476130)|0;c=Xib(m,196,Xib(m,c+79|0,c,e)|0,476140)|0;e=f>>>24;if(((((e&223)+-65|0)>>>0<26|((e|0)==32|(e+-48|0)>>>0<10)?(h=f>>>16,i=h&255,((h&223)+-65|0)>>>0<26|((i|0)==32|(i+-48|0)>>>0<10)):0)?(j=f>>>8,k=j&255,((j&223)+-65|0)>>>0<26|((k|0)==32|(k+-48|0)>>>0<10)):0)?(l=f&255,((f&223)+-65|0)>>>0<26|((l|0)==32|(l+-48|0)>>>0<10)):0){n=m+c|0;b[n>>0]=39;b[n+1>>0]=(e+-32|0)>>>0<95?e&255:63;b[n+2>>0]=(i+-32|0)>>>0<95?h&255:63;b[n+3>>0]=(k+-32|0)>>>0<95?j&255:63;b[n+4>>0]=(l+-32|0)>>>0<95?f&255:63;b[n+5>>0]=39;b[m+(c+6)>>0]=58;b[m+(c+7)>>0]=32;n=c+8|0;Xib(m,196,n,g)|0;o=o?2:1;Gib(a,m,o);u=p;return}n=Xib(m,196,Xib(m,196,c,Yib(n,n+24|0,3,f)|0)|0,476144)|0;Xib(m,196,n,g)|0;o=o?2:1;Gib(a,m,o);u=p;return}function Xib(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(!((a|0)!=0&d>>>0<c>>>0)){a=d;return a|0}if((e|0)!=0?(g=b[e>>0]|0,h=c+-1|0,h>>>0>d>>>0&g<<24>>24!=0):0){f=d;c=g;while(1){e=e+1|0;d=f+1|0;b[a+f>>0]=c;c=b[e>>0]|0;if(!(d>>>0<h>>>0&c<<24>>24!=0))break;else f=d}}b[a+d>>0]=0;a=d;return a|0}function Yib(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c+-1|0;b[o>>0]=0;if(o>>>0<=a>>>0){a=o;return a|0}if((d|0)!=5){f=1;g=0;h=e;c=o;while(1){if(!((h|0)!=0|(g|0)<(f|0))){n=21;break}switch(d|0){case 3:{k=f;n=19;break}case 2:{i=2;n=17;break}case 1:{i=f;n=17;break}case 4:{k=2;n=19;break}default:{j=0;l=c;m=f}}if((n|0)==17){n=0;j=(h>>>0)/10|0;l=c+-1|0;b[l>>0]=b[251088+(h-(j*10|0))>>0]|0;m=i}else if((n|0)==19){n=0;l=c+-1|0;b[l>>0]=b[251088+(h&15)>>0]|0;j=h>>>4;m=k}if(l>>>0>a>>>0){f=m;g=g+1|0;h=j;c=l}else{c=l;n=21;break}}if((n|0)==21)return c|0}i=1;f=0;c=o;h=0;while(1){if(!((e|0)!=0|(f|0)<(i|0))){n=21;break}j=(e>>>0)/10|0;g=e-(j*10|0)|0;i=c+-1|0;if(!(h|g))h=0;else{b[i>>0]=b[251088+g>>0]|0;h=1;c=i}f=f+1|0;do if((f|0)==5&c>>>0>a>>>0){if(h|0){c=c+-1|0;b[c>>0]=46;g=j;h=1;f=5;break}if(e>>>0<10){c=c+-1|0;b[c>>0]=48;g=0;h=0;f=5}else{g=j;h=0;f=5}}else g=j;while(0);if(c>>>0>a>>>0){i=5;e=g}else{n=21;break}}if((n|0)==21)return c|0;return 0}function Zib(a,b){a=a|0;b=b|0;if(!(f[a+212>>2]&4194304))kib(a,b);else{rib(a,b);return}}function _ib(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0;l=u;u=u+240|0;i=l+32|0;j=l;g=(h[e+1>>0]|0)<<16|(h[e>>0]|0)<<24|(h[e+2>>0]|0)<<8|(h[e+3>>0]|0);if((g|0)!=(d|0)){Wib(a,b,c,g,476350);c=0;u=l;return c|0}if(!((d&3|0)==0|(h[e+8>>0]|0)<4)){Wib(a,b,c,d,476380);c=0;u=l;return c|0}g=(h[e+129>>0]|0)<<16|(h[e+128>>0]|0)<<24|(h[e+130>>0]|0)<<8|(h[e+131>>0]|0);if(g>>>0<=357913930?((g*12|0)+132|0)>>>0<=d>>>0:0){g=(h[e+65>>0]|0)<<16|(h[e+64>>0]|0)<<24|(h[e+66>>0]|0)<<8|(h[e+67>>0]|0);if(g>>>0>65534){Wib(a,b,c,g,476415);c=0;u=l;return c|0}if(g>>>0>3)Wib(a,0,c,g,476440);g=(h[e+37>>0]|0)<<16|(h[e+36>>0]|0)<<24|(h[e+38>>0]|0)<<8|(h[e+39>>0]|0);if((g|0)!=1633907568){Wib(a,b,c,g,476469);c=0;u=l;return c|0}if(anb(e+68|0,476487,12)|0){d=Xib(i,196,0,476130)|0;d=Xib(i,196,Xib(i,d+79|0,d,c)|0,476140)|0;Xib(i,196,Xib(i,196,Xib(i,196,d,Yib(j,j+24|0,3,0)|0)|0,476144)|0,476499)|0;Gib(a,i,1)}g=(h[e+17>>0]|0)<<16|(h[e+16>>0]|0)<<24|(h[e+18>>0]|0)<<8|(h[e+19>>0]|0);a:do if((g|0)<1380401696){switch(g|0){case 1196573017:break;default:{k=21;break a}}if(f&2|0){Wib(a,b,c,1196573017,476572);c=0;u=l;return c|0}}else{switch(g|0){case 1380401696:break;default:{k=21;break a}}if(!(f&2)){Wib(a,b,c,1380401696,476525);c=0;u=l;return c|0}}while(0);if((k|0)==21){Wib(a,b,c,g,476614);c=0;u=l;return c|0}g=(h[e+13>>0]|0)<<16|(h[e+12>>0]|0)<<24|(h[e+14>>0]|0)<<8|(h[e+15>>0]|0);b:do if((g|0)<1852662636){if((g|0)<1818848875){switch(g|0){case 1633842036:break;default:{k=26;break b}}Wib(a,b,c,1633842036,476646);c=0;u=l;return c|0}if((g|0)>=1835955314)switch(g|0){case 1835955314:break b;default:{k=26;break b}}switch(g|0){case 1818848875:break;default:{k=26;break b}}Wib(a,b,c,1818848875,476684);c=0;u=l;return c|0}else{if((g|0)>=1935896178)if((g|0)<1936744803)switch(g|0){case 1935896178:break b;default:{k=26;break b}}else switch(g|0){case 1936744803:break b;default:{k=26;break b}}if((g|0)>=1886549106)switch(g|0){case 1886549106:break b;default:{k=26;break b}}switch(g|0){case 1852662636:break;default:{k=26;break b}}Wib(a,0,c,1852662636,476724)}while(0);if((k|0)==26)Wib(a,0,c,g,476764);g=(h[e+21>>0]|0)<<16|(h[e+20>>0]|0)<<24|(h[e+22>>0]|0)<<8|(h[e+23>>0]|0);c:do if((g|0)<1482250784){switch(g|0){case 1281450528:{g=1;break}default:break c}u=l;return g|0}else{switch(g|0){case 1482250784:{g=1;break}default:break c}u=l;return g|0}while(0);Wib(a,b,c,g,476795);c=0;u=l;return c|0}Wib(a,b,c,g,476395);c=0;u=l;return c|0}function $ib(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0;k=(h[e+129>>0]|0)<<16|(h[e+128>>0]|0)<<24|(h[e+130>>0]|0)<<8|(h[e+131>>0]|0);if(!k){l=1;return l|0}j=0;e=e+132|0;while(1){f=(h[e+1>>0]|0)<<16|(h[e>>0]|0)<<24|(h[e+2>>0]|0)<<8|(h[e+3>>0]|0);m=h[e+7>>0]|0;g=(h[e+5>>0]|0)<<16|(h[e+4>>0]|0)<<24|(h[e+6>>0]|0)<<8|m;i=(h[e+9>>0]|0)<<16|(h[e+8>>0]|0)<<24|(h[e+10>>0]|0)<<8|(h[e+11>>0]|0);if(m&3|0)Wib(a,0,c,f,476276);if(g>>>0>d>>>0|i>>>0>(d-g|0)>>>0)break;j=j+1|0;if(j>>>0>=k>>>0){e=1;l=8;break}else e=e+12|0}if((l|0)==8)return e|0;Wib(a,b,c,f,476318);m=0;return m|0}function ajb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if((b[a+644>>0]&48)==48)return;l=(h[d+85>>0]|0)<<16|(h[d+84>>0]|0)<<24|(h[d+86>>0]|0)<<8|(h[d+87>>0]|0);m=d+88|0;n=d+89|0;o=d+90|0;p=d+91|0;q=d+92|0;r=d+93|0;s=d+94|0;t=d+95|0;u=d+96|0;v=d+97|0;w=d+98|0;x=d+99|0;y=d+1|0;z=d+2|0;A=d+3|0;C=d+64|0;D=d+65|0;E=d+66|0;F=d+67|0;g=65536;i=0;k=0;while(1){if((((l|0)==(f[251120+(k<<5)+12>>2]|0)?((h[n>>0]|0)<<16|(h[m>>0]|0)<<24|(h[o>>0]|0)<<8|(h[p>>0]|0)|0)==(f[251120+(k<<5)+16>>2]|0):0)?((h[r>>0]|0)<<16|(h[q>>0]|0)<<24|(h[s>>0]|0)<<8|(h[t>>0]|0)|0)==(f[251120+(k<<5)+20>>2]|0):0)?((h[v>>0]|0)<<16|(h[u>>0]|0)<<24|(h[w>>0]|0)<<8|(h[x>>0]|0)|0)==(f[251120+(k<<5)+24>>2]|0):0){if(!i){g=(h[D>>0]|0)<<16|(h[C>>0]|0)<<24|(h[E>>0]|0)<<8|(h[F>>0]|0);i=(h[y>>0]|0)<<16|(h[d>>0]|0)<<24|(h[z>>0]|0)<<8|(h[A>>0]|0)}if((i|0)==(f[251120+(k<<5)+8>>2]|0)?(g|0)==(j[251120+(k<<5)+30>>1]|0|0):0)break}k=k+1|0;if(k>>>0>=7){B=22;break}}if((B|0)==22)return;if(!e)e=$lb($lb(0,0,0)|0,d,i)|0;if((e|0)==(f[251120+(k<<5)>>2]|0)?(d=amb(amb(0,0,0)|0,d,i)|0,(d|0)==(f[251120+(k<<5)+4>>2]|0)):0){if((k+-5|0)>>>0>=2){if((k+-4|0)>>>0<3)Gib(a,476177,0)}else Gib(a,476148,2);Vib(a,c,(h[D>>0]|0)<<16|(h[C>>0]|0)<<24|(h[E>>0]|0)<<8|(h[F>>0]|0))|0;return}Gib(a,476220,0);return}function bjb(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,u=0;if((d|0)==0|((a|0)==0|(c|0)==0|(e|0)<1)){u=0;return u|0}k=c+132|0;t=c+128|0;h=f[t>>2]|0;do if(((f[k>>2]|0)-h|0)<(e|0)){g=h+e|0;g=(g|0)<2147483639?g+8&-8:2147483647;if((2147483647-h|0)>=(e|0)?(i=c+136|0,j=cjb(a,f[i>>2]|0,h,g-h|0,28)|0,j|0):0){xib(a,f[i>>2]|0);f[i>>2]=j;s=c+232|0;f[s>>2]=f[s>>2]|16384;f[k>>2]=g;break}Gib(a,476823,1);u=1;return u|0}while(0);p=c+136|0;o=0;a:while(1){q=f[p>>2]|0;r=f[t>>2]|0;s=q+(r*28|0)|0;l=d+(o*28|0)+4|0;g=f[l>>2]|0;do if(g|0){m=d+(o*28|0)|0;i=f[m>>2]|0;if((i+1|0)>>>0>3){Gib(a,476844,1);break}k=Rmb(g)|0;if((i|0)>=1){g=f[d+(o*28|0)+20>>2]|0;if(!g)h=0;else h=Rmb(g)|0;g=f[d+(o*28|0)+24>>2]|0;if(!g)c=0;else c=Rmb(g)|0}else{c=0;h=0}n=d+(o*28|0)+8|0;g=f[n>>2]|0;if((g|0)!=0?(b[g>>0]|0)!=0:0){j=Rmb(g)|0;f[s>>2]=i}else u=18;do if((u|0)==18){u=0;if((i|0)>0){f[s>>2]=1;j=0;break}else{f[s>>2]=-1;j=0;break}}while(0);i=djb(a,k+4+h+c+j|0)|0;g=q+(r*28|0)+4|0;f[g>>2]=i;if(!i)break a;YDb(i|0,f[l>>2]|0,k|0)|0;b[(f[g>>2]|0)+k>>0]=0;if((f[m>>2]|0)>0){g=(f[g>>2]|0)+k+1|0;m=q+(r*28|0)+20|0;f[m>>2]=g;YDb(g|0,f[d+(o*28|0)+20>>2]|0,h|0)|0;b[(f[m>>2]|0)+h>>0]=0;m=(f[m>>2]|0)+h+1|0;g=q+(r*28|0)+24|0;f[g>>2]=m;YDb(m|0,f[d+(o*28|0)+24>>2]|0,c|0)|0;b[(f[g>>2]|0)+c>>0]=0}else{f[q+(r*28|0)+20>>2]=0;f[q+(r*28|0)+24>>2]=0;c=k}g=(f[g>>2]|0)+c+1|0;c=q+(r*28|0)+8|0;f[c>>2]=g;if(j){YDb(g|0,f[n>>2]|0,j|0)|0;g=f[c>>2]|0}b[g+j>>0]=0;s=(f[s>>2]|0)>0;f[q+(r*28|0)+12>>2]=s?0:j;f[q+(r*28|0)+16>>2]=s?j:0;f[t>>2]=(f[t>>2]|0)+1}while(0);o=o+1|0;if((o|0)>=(e|0)){g=0;u=31;break}}if((u|0)==31)return g|0;Gib(a,476882,1);u=1;return u|0}function cjb(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;if((c|0)<0|((d|0)<1|(e|0)==0))kib(a,476908);i=(c|0)>0;if((b|0)==0&i)kib(a,476908);if((2147483647-c|0)<(d|0)){i=0;return i|0}g=d+c|0;if((4294967295/(e>>>0)|0)>>>0<g>>>0){i=0;return i|0}g=W(g,e)|0;if(!g){i=0;return i|0}if((a|0)!=0?(h=f[a+720>>2]|0,(h|0)!=0):0)a=cj[h&1023](a,g)|0;else a=Cmb(g)|0;if(!a){i=0;return i|0}g=W(e,c)|0;if(i)YDb(a|0,b|0,g|0)|0;_Db(a+g|0,0,W(e,d)|0)|0;i=a;return i|0}function djb(a,b){a=a|0;b=b|0;var c=0;if(!b){c=0;return c|0}if(a|0?(c=f[a+720>>2]|0,c|0):0){c=cj[c&1023](a,b)|0;return c|0}c=Cmb(b)|0;return c|0}function ejb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=0;if((a|0)==0|(c|0)==0|(e|0)==0)return;if(f[a+208>>2]&512|0)return;if((((((b[e+2>>0]|0)+-1&255)<=11?((b[e+3>>0]|0)+-1&255)<=30:0)?(h[e+4>>0]|0)<=23:0)?(h[e+5>>0]|0)<=59:0)?(h[e+6>>0]|0)<=60:0){a=e;i=a;i=j[i>>1]|j[i+2>>1]<<16;a=a+4|0;a=j[a>>1]|j[a+2>>1]<<16;e=c+140|0;g=e;d[g>>1]=i;d[g+2>>1]=i>>>16;e=e+4|0;d[e>>1]=a;d[e+2>>1]=a>>>16;e=c+8|0;f[e>>2]=f[e>>2]|512;return}rib(a,476938);return}function fjb(a,c,e,g,h){a=a|0;c=c|0;e=e|0;g=g|0;h=h|0;var i=0;if((a|0)==0|(c|0)==0)return;if(e|0?(Iib(a,c,8192,0),i=gjb(a,256)|0,f[c+156>>2]=i,f[a+528>>2]=i,(g+-1|0)>>>0<256):0)YDb(i|0,e|0,g|0)|0;if(!h){d[c+22>>1]=g;if(!g)return}else{e=b[c+24>>0]|0;a:do if((e&255)<16){e=1<<(e&255);switch(b[c+25>>0]|0){case 0:{if((e|0)>(j[h+8>>1]|0))break a;break}case 2:{if(((e|0)>(j[h+2>>1]|0)?(e|0)>(j[h+4>>1]|0):0)?(e|0)>(j[h+6>>1]|0):0)break a;break}default:break a}rib(a,476966)}while(0);a=c+160|0;d[a>>1]=d[h>>1]|0;d[a+2>>1]=d[h+2>>1]|0;d[a+4>>1]=d[h+4>>1]|0;d[a+6>>1]=d[h+6>>1]|0;d[a+8>>1]=d[h+8>>1]|0;d[c+22>>1]=(g|0)==0?1:g&65535}h=c+8|0;f[h>>2]=f[h>>2]|16;h=c+232|0;f[h>>2]=f[h>>2]|8192;return}function gjb(a,b){a=a|0;b=b|0;var c=0;if(!a){a=0;return a|0}if(!b)kib(a,475116);c=f[a+720>>2]|0;if(!c)b=Cmb(b)|0;else b=cj[c&1023](a,b)|0;if(!b)kib(a,475116);else{a=b;return a|0}return 0}function hjb(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;if((d|0)==0|((a|0)==0|(c|0)==0|(e|0)<1))return;g=c+244|0;j=c+248|0;h=cjb(a,f[g>>2]|0,f[j>>2]|0,e,16)|0;if(!h){Gib(a,477016,1);return}xib(a,f[g>>2]|0);f[g>>2]=h;i=c+232|0;f[i>>2]=f[i>>2]|32;i=c+8|0;c=h+(f[j>>2]<<4)|0;while(1){g=f[d>>2]|0;if((g|0)!=0?(k=d+8|0,(f[k>>2]|0)!=0):0){b[c+4>>0]=b[d+4>>0]|0;g=(Rmb(g)|0)+1|0;h=djb(a,g)|0;f[c>>2]=h;if(!h)break;YDb(h|0,f[d>>2]|0,g|0)|0;g=d+12|0;h=ijb(a,f[g>>2]|0,10)|0;f[c+8>>2]=h;if(!h){l=10;break}f[c+12>>2]=f[g>>2];YDb(h|0,f[k>>2]|0,(f[g>>2]|0)*10|0)|0;f[i>>2]=f[i>>2]|8192;f[j>>2]=(f[j>>2]|0)+1;c=c+16|0}else Zib(a,477037);g=e+-1|0;if(!g){l=15;break}else{d=d+16|0;e=g}}if((l|0)==10){xib(a,f[c>>2]|0);f[c>>2]=0}else if((l|0)==15)return;if((e|0)<=0)return;Gib(a,477064,1);return}function ijb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)<1|(c|0)==0)kib(a,477083);if((4294967295/(c>>>0)|0)>>>0<b>>>0){d=0;return d|0}b=W(c,b)|0;if(!b){d=0;return d|0}if(a|0?(d=f[a+720>>2]|0,d|0):0){d=cj[d&1023](a,b)|0;return d|0}d=Cmb(b)|0;return d|0}function jjb(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;if((d|0)==0|((a|0)==0|(c|0)==0|(e|0)<1))return;g=c+236|0;k=c+240|0;h=cjb(a,f[g>>2]|0,f[k>>2]|0,e,20)|0;if(!h){Gib(a,477111,1);return}xib(a,f[g>>2]|0);f[g>>2]=h;j=c+232|0;f[j>>2]=f[j>>2]|512;j=a+208|0;i=d;c=h+((f[k>>2]|0)*20|0)|0;while(1){f[c>>2]=f[i>>2];b[c+4>>0]=0;h=b[i+16>>0]&11;g=h&255;if(!(h<<24>>24)){if(f[j>>2]&32768|0){l=9;break}kjb(a,477135);g=f[j>>2]&11;if(!g){l=9;break}}while(1){d=g&0-g;if((g|0)==(d|0))break;else g=d^g}b[c+16>>0]=g;d=i+12|0;g=f[d>>2]|0;do if(g){g=djb(a,g)|0;f[c+8>>2]=g;if(!g){Gib(a,477230,1);break}else{YDb(g|0,f[i+8>>2]|0,f[d>>2]|0)|0;g=f[d>>2]|0;l=16;break}}else{f[c+8>>2]=0;g=0;l=16}while(0);if((l|0)==16){l=0;f[c+12>>2]=g;f[k>>2]=(f[k>>2]|0)+1;c=c+20|0}if((e|0)>1){e=e+-1|0;i=i+20|0}else{l=18;break}}if((l|0)==9)kib(a,477187);else if((l|0)==18)return}function kjb(a,b){a=a|0;b=b|0;if(!(f[a+212>>2]&2097152))kib(a,b);else{rib(a,b);return}}function ljb(a,b){a=a|0;b=b|0;var c=0;c=f[b>>2]|0;if(!c)return;f[b>>2]=0;do{b=c;c=f[c>>2]|0;xib(a,b)}while((c|0)!=0);return}function mjb(a,b,c){a=a|0;b=b|0;c=c|0;if(!((a|0)!=0&(b|0)!=0)){c=0;return c|0}c=f[b+8>>2]&c;return c|0}function njb(a,b){a=a|0;b=b|0;if(!((a|0)!=0&(b|0)!=0)){b=0;return b|0}b=f[b+12>>2]|0;return b|0}function ojb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0;if(!d){a=0;return a|0}if((b|0)==0|(c|0)==0){f[a>>2]=0;a=1;return a|0}e=+I(+(+(b|0)*+(c|0)/+(d|0)+.5));if(!(e<=2147483647.0&e>=-2147483648.0)){a=0;return a|0}f[a>>2]=~~e;a=1;return a|0}function pjb(a,c){a=a|0;c=c|0;if(!((a|0)!=0&(c|0)!=0)){c=0;return c|0}c=b[c+29>>0]|0;return c|0}function qjb(a,b,c){a=a|0;b=b|0;c=c|0;if(!((a|0)!=0&(b|0)!=0)){c=0;return c|0}if(!(c|0?(d[b+114>>1]&1)!=0:0)){c=0;return c|0}p[c>>3]=+(f[b+40>>2]|0)*1.0e-05;c=1;return c|0}function rjb(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;if((a|0)==0|(b|0)==0){i=0;return i|0}if(c|0)f[c>>2]=f[b>>2];if(d|0)f[d>>2]=f[b+4>>2];if(e|0)f[e>>2]=h[b+24>>0];if(g|0)f[g>>2]=h[b+25>>0];if(j|0)f[j>>2]=h[b+26>>0];if(k|0)f[k>>2]=h[b+27>>0];c=h[b+28>>0]|0;if(i|0)f[i>>2]=c;Lib(a,f[b>>2]|0,f[b+4>>2]|0,h[b+24>>0]|0,h[b+25>>0]|0,c,h[b+26>>0]|0,h[b+27>>0]|0);i=1;return i|0}function sjb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+912|0;b=d;if(!a){u=d;return}YDb(b|0,a|0,900)|0;_Db(a|0,0,900)|0;c=f[b+724>>2]|0;if(!c)Dmb(a);else Bj[c&1023](b,a);tjb(b);u=d;return}function tjb(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;l=u;u=u+160|0;j=4;i=Cmb(40)|0;f[i>>2]=0;e=l;if(!a){Dmb(i|0);u=l;return}g=a+160|0;h=f[g>>2]|0;d=a+164|0;if(h|0?!((h|0)==(a|0)|(f[d>>2]|0)==0):0){i=TDb(e,1,i|0,j|0)|0;j=H;w=0;c=w;w=0;if((c|0)!=0&(x|0)!=0){b=UDb(f[c>>2]|0,i|0,j|0)|0;if(!b)ni(c|0,x|0);H=x}else b=-1;if((b|0)==1)b=H;else b=0;while(1){if(b|0)break;f[g>>2]=e;f[d>>2]=0;f[a+156>>2]=814;w=0;Ka(815,a|0,h|0);b=w;w=0;if((b|0)!=0&(x|0)!=0){c=UDb(f[b>>2]|0,i|0,j|0)|0;if(!c)ni(b|0,x|0);H=x}else c=-1;if((c|0)==1)b=H;else{k=8;break}}}f[d>>2]=0;f[g>>2]=0;f[a+156>>2]=0;Dmb(i|0);u=l;return}function ujb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a)return;f[a+716>>2]=b;f[a+720>>2]=c;f[a+724>>2]=d;return}function vjb(a){a=a|0;if(!a)return;a=a+216|0;f[a>>2]=f[a>>2]|1;return}function wjb(a){a=a|0;if(!a)return;if((b[a+436>>0]|0)!=16)return;a=a+216|0;f[a>>2]=f[a>>2]|16;return}function xjb(a){a=a|0;var c=0;if(!a)return;if((h[a+436>>0]|0)>=8)return;c=a+216|0;f[c>>2]=f[c>>2]|4;b[a+437>>0]=8;return}function yjb(a){a=a|0;if(!a){a=1;return a|0}if(!(b[a+432>>0]|0)){a=1;return a|0}a=a+216|0;f[a>>2]=f[a>>2]|2;a=7;return a|0}function zjb(a,c){a=a|0;c=c|0;var d=0,e=0;switch(b[a+8>>0]|0){case 0:{e=f[a+4>>2]|0;if(!e)return;d=0;a=c;while(1){b[a>>0]=~b[a>>0];d=d+1|0;if((d|0)==(e|0))break;else a=a+1|0}return}case 4:switch(b[a+9>>0]|0){case 8:{e=f[a+4>>2]|0;if(!e)return;d=0;a=c;while(1){b[a>>0]=~b[a>>0];d=d+2|0;if(d>>>0>=e>>>0)break;else a=a+2|0}return}case 16:{e=f[a+4>>2]|0;if(!e)return;d=0;a=c;while(1){b[a>>0]=~b[a>>0];c=a+1|0;b[c>>0]=~b[c>>0];d=d+4|0;if(d>>>0>=e>>>0)break;else a=a+4|0}return}default:return}default:return}}function Ajb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if((b[a+9>>0]|0)!=16)return;e=W(f[a>>2]|0,h[a+10>>0]|0)|0;if(!e)return;d=0;a=c;while(1){g=b[a>>0]|0;c=a+1|0;b[a>>0]=b[c>>0]|0;b[c>>0]=g;d=d+1|0;if((d|0)==(e|0))break;else a=a+2|0}return}function Bjb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;d=b[a+9>>0]|0;if((d&255)>=8)return;e=f[a+4>>2]|0;g=c+e|0;switch(d<<24>>24){case 1:{a=251856;break}case 2:{a=251344;break}case 4:{a=251600;break}default:return}if((e|0)<=0)return;do{b[c>>0]=b[a+(h[c>>0]|0)>>0]|0;c=c+1|0}while(c>>>0<g>>>0);return}function Cjb(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;k=a+4|0;g=f[k>>2]|0;i=c+g|0;j=a+10|0;switch(b[j>>0]|0){case 2:{switch(b[a+9>>0]|0){case 8:{h=(d|0)==0;e=c+1|0;d=h?e:c;e=h?c+2|0:e;if(e>>>0<i>>>0){h=((c+(g+-1-e)|0)>>>1)+1|0;g=d;while(1){b[g>>0]=b[e>>0]|0;e=e+2|0;if(e>>>0>=i>>>0)break;else g=g+1|0}d=d+h|0;e=8}else e=8;break}case 16:{h=(d|0)==0;e=c+2|0;d=h?e:c;e=h?c+4|0:e;if(e>>>0<i>>>0){h=((c+(g+-1-e)|0)>>>2<<1)+2|0;g=d;while(1){b[g>>0]=b[e>>0]|0;b[g+1>>0]=b[e+1>>0]|0;e=e+4|0;if(e>>>0>=i>>>0)break;else g=g+2|0}d=d+h|0;e=16}else e=16;break}default:return}b[a+11>>0]=e;b[j>>0]=1;e=a+8|0;if((b[e>>0]|0)==4)b[e>>0]=0;break}case 4:{switch(b[a+9>>0]|0){case 8:{e=(d|0)==0;d=e?c+3|0:c;e=e?c+4|0:c+1|0;if(e>>>0<i>>>0){h=(((c+(g+-1-e)|0)>>>2)*3|0)+3|0;g=d;while(1){b[g>>0]=b[e>>0]|0;b[g+1>>0]=b[e+1>>0]|0;b[g+2>>0]=b[e+2>>0]|0;e=e+4|0;if(e>>>0>=i>>>0)break;else g=g+3|0}d=d+h|0;e=24}else e=24;break}case 16:{e=(d|0)==0;d=e?c+6|0:c;e=e?c+8|0:c+2|0;if(e>>>0<i>>>0){h=(((c+(g+-1-e)|0)>>>3)*6|0)+6|0;g=d;while(1){b[g>>0]=b[e>>0]|0;b[g+1>>0]=b[e+1>>0]|0;b[g+2>>0]=b[e+2>>0]|0;b[g+3>>0]=b[e+3>>0]|0;b[g+4>>0]=b[e+4>>0]|0;b[g+5>>0]=b[e+5>>0]|0;e=e+8|0;if(e>>>0>=i>>>0)break;else g=g+6|0}d=d+h|0;e=48}else e=48;break}default:return}b[a+11>>0]=e;b[j>>0]=3;e=a+8|0;if((b[e>>0]|0)==6)b[e>>0]=2;break}default:return}f[k>>2]=d-c;return}function Djb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=b[a+8>>0]|0;if(!(d&2))return;e=f[a>>2]|0;switch(b[a+9>>0]|0){case 8:switch(d<<24>>24){case 2:{if(!e)return;a=0;while(1){g=b[c>>0]|0;d=c+2|0;b[c>>0]=b[d>>0]|0;b[d>>0]=g;a=a+1|0;if((a|0)==(e|0))break;else c=c+3|0}return}case 6:{if(!e)return;a=0;while(1){d=b[c>>0]|0;g=c+2|0;b[c>>0]=b[g>>0]|0;b[g>>0]=d;a=a+1|0;if((a|0)==(e|0))break;else c=c+4|0}return}default:return}case 16:switch(d<<24>>24){case 2:{if(!e)return;a=0;while(1){d=b[c>>0]|0;h=c+4|0;b[c>>0]=b[h>>0]|0;b[h>>0]=d;h=c+1|0;d=b[h>>0]|0;g=c+5|0;b[h>>0]=b[g>>0]|0;b[g>>0]=d;a=a+1|0;if((a|0)==(e|0))break;else c=c+6|0}return}case 6:{if(!e)return;a=0;while(1){g=b[c>>0]|0;d=c+4|0;b[c>>0]=b[d>>0]|0;b[d>>0]=g;d=c+1|0;g=b[d>>0]|0;h=c+5|0;b[d>>0]=b[h>>0]|0;b[h>>0]=g;a=a+1|0;if((a|0)==(e|0))break;else c=c+8|0}return}default:return}default:return}}function Ejb(a,c){a=a|0;c=c|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0;k=d[a+420>>1]|0;g=b[c+9>>0]|0;if(k<<16>>16==0|(1<<(g&255)|0)<=(k&65535|0))return;i=(W(f[c>>2]|0,0-(h[c+11>>0]|0)|0)|0)&7;k=f[a+384>>2]|0;c=f[c+4>>2]|0;e=k+c|0;switch(g<<24>>24){case 1:{if((c|0)<=0)return;a=a+424|0;if((h[e>>0]|0)>>>i|0)f[a>>2]=1;c=e+-1|0;if(c>>>0<=k>>>0)return;do{if(b[c>>0]|0)f[a>>2]=1;c=c+-1|0}while(c>>>0>k>>>0);return}case 2:{if((c|0)<=0)return;j=a+424|0;m=(h[e>>0]|0)>>>i;i=m&3;c=f[j>>2]|0;l=(i|0)>(c|0);c=l?i:c;i=m>>>2&3;a=(i|0)>(c|0);c=a?i:c;i=m>>>4&3;g=(i|0)>(c|0);c=g?i:c;m=m>>>6;i=(m|0)>(c|0);c=i?m:c;if(l|a|g|i)f[j>>2]=c;a=e+-1|0;if(a>>>0<=k>>>0)return;do{e=h[a>>0]|0;g=e&3;if((g|0)>(c|0)){f[j>>2]=g;e=h[a>>0]|0;c=g}g=e>>>2&3;if((g|0)>(c|0)){f[j>>2]=g;e=h[a>>0]|0;c=g}g=e>>>4&3;if((g|0)>(c|0)){f[j>>2]=g;e=h[a>>0]|0;c=g}e=e>>>6&3;if((e|0)>(c|0)){f[j>>2]=e;c=e}a=a+-1|0}while(a>>>0>k>>>0);return}case 4:{if((c|0)<=0)return;j=a+424|0;i=(h[e>>0]|0)>>>i;m=i&15;c=f[j>>2]|0;l=(m|0)>(c|0);c=l?m:c;i=i>>>4;m=(i|0)>(c|0);c=m?i:c;if(l|m)f[j>>2]=c;a=e+-1|0;if(a>>>0<=k>>>0)return;do{e=h[a>>0]|0;g=e&15;if((g|0)>(c|0)){f[j>>2]=g;e=h[a>>0]|0;c=g}e=e>>>4;if((e|0)>(c|0)){f[j>>2]=e;c=e}a=a+-1|0}while(a>>>0>k>>>0);return}case 8:{if((c|0)<=0)return;g=a+424|0;a=f[g>>2]|0;while(1){c=h[e>>0]|0;if((a|0)<(c|0))f[g>>2]=c;else c=a;e=e+-1|0;if(e>>>0<=k>>>0)break;else a=c}return}default:return}}function Fjb(a){a=a|0;var b=0,c=0,d=0,e=0;b=u;u=u+16|0;e=b;c=e;f[c>>2]=1196314761;f[c+4>>2]=169478669;f[a+800>>2]=18;c=a+441|0;d=h[c>>0]|0;jib(a,e+d|0,8-d|0);if((h[c>>0]|0)>=3){u=b;return}e=a+208|0;f[e>>2]=f[e>>2]|4096;u=b;return}function Gjb(a){a=a|0;var b=0;b=amb(0,0,0)|0;f[a+412>>2]=b;return}function Hjb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a+212>>2]|0;if(!(c|0?((f[a+376>>2]&536870912|0)==0?(e&2048|0)==0:(e&768|0)!=768):0))return;e=a+412|0;d=f[e>>2]|0;a=c;while(1){c=(a|0)==0?-1:a;d=amb(d,b,c)|0;a=a-c|0;if(!a)break;else b=b+c|0}f[e>>2]=d;return}function Ijb(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;l=u;u=u+16|0;i=l;j=b[c>>0]|0;k=b[c+1>>0]|0;h=b[c+2>>0]|0;c=b[c+3>>0]|0;if(!a){u=l;return}if((e|0)<0)kib(a,477259);g=a+800|0;f[g>>2]=34;b[i>>0]=e>>>24;b[i+1>>0]=e>>>16;b[i+2>>0]=e>>>8;b[i+3>>0]=e;m=i+4|0;b[m>>0]=j;b[i+5>>0]=k;b[i+6>>0]=h;b[i+7>>0]=c;jib(a,i,8);f[a+376>>2]=(k&255)<<16|(j&255)<<24|(h&255)<<8|c&255;Gjb(a);Hjb(a,m,4);f[g>>2]=66;if((d|0)!=0&(e|0)!=0){jib(a,d,e);Hjb(a,d,e)}f[g>>2]=130;m=f[a+412>>2]|0;b[i>>0]=m>>>24;b[i+1>>0]=m>>>16;b[i+2>>0]=m>>>8;b[i+3>>0]=m;jib(a,i,4);u=l;return}function Jjb(a,c,d,e,g,i,j,k){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=u;u=u+32|0;p=r+16|0;q=r;a:do switch(g|0){case 0:{switch(e|0){case 16:case 8:case 4:case 2:case 1:{l=1;break a}default:{}}kib(a,477286);break}case 2:{switch(e|0){case 8:case 16:{l=3;break a}default:{}}kib(a,477324);break}case 3:{switch(e|0){case 8:case 4:case 2:case 1:{l=1;break a}default:{}}kib(a,477356);break}case 4:{switch(e|0){case 8:case 16:{l=2;break a}default:{}}kib(a,477393);break}case 6:{switch(e|0){case 8:case 16:{l=4;break a}default:{}}kib(a,477437);break}default:kib(a,477470)}while(0);b[a+439>>0]=l;if(i|0)rib(a,477505);if((f[a+708>>2]&4|0)!=0?(f[a+208>>2]&4096|0)==0:0){if((j|0)!=0&((g|4|0)!=6|(j|0)!=64))m=19}else if(!j)j=0;else m=19;if((m|0)==19){rib(a,477540);j=0}if(k>>>0>1){rib(a,477570);l=1}else l=k;n=e&255;o=a+436|0;b[o>>0]=n;m=g&255;g=a+435|0;b[g>>0]=m;k=l&255;b[a+432>>0]=k;i=j&255;b[a+712>>0]=i;b[a+744>>0]=0;f[a+348>>2]=c;f[a+352>>2]=d;j=b[a+439>>0]|0;l=W(j&255,e)|0;b[a+438>>0]=l;l=l&255;if(l>>>0>7)l=W(l>>>3,c)|0;else l=((W(l,c)|0)+7|0)>>>3;f[a+364>>2]=l;f[a+360>>2]=c;b[a+437>>0]=n;b[a+440>>0]=j;b[q>>0]=c>>>24;b[q+1>>0]=c>>>16;b[q+2>>0]=c>>>8;b[q+3>>0]=c;b[q+4>>0]=d>>>24;b[q+5>>0]=d>>>16;b[q+6>>0]=d>>>8;b[q+7>>0]=d;b[q+8>>0]=n;b[q+9>>0]=m;b[q+10>>0]=0;b[q+11>>0]=i;b[q+12>>0]=k;i=a+800|0;f[i>>2]=34;b[p>>0]=0;b[p+1>>0]=0;b[p+2>>0]=0;b[p+3>>0]=13;d=p+4|0;b[d>>0]=73;b[p+5>>0]=72;b[p+6>>0]=68;b[p+7>>0]=82;jib(a,p,8);f[a+376>>2]=1229472850;Gjb(a);Hjb(a,d,4);f[i>>2]=66;jib(a,q,13);Hjb(a,q,13);f[i>>2]=130;i=f[a+412>>2]|0;b[p>>0]=i>>>24;b[p+1>>0]=i>>>16;b[p+2>>0]=i>>>8;b[p+3>>0]=i;jib(a,p,4);i=a+434|0;if(b[i>>0]|0){a=a+208|0;f[a>>2]=1;u=r;return}if((b[g>>0]|0)==3)l=8;else l=(h[o>>0]|0)<8?8:-8;b[i>>0]=l;a=a+208|0;f[a>>2]=1;u=r;return}function Kjb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=u;u=u+16|0;l=n+8|0;m=n;g=b[a+435>>0]|0;if(e>>>0>256?1:(f[a+708>>2]&1|e|0)==0){if(g<<24>>24==3)kib(a,477603);rib(a,477603);u=n;return}if(!(g&2)){rib(a,477639);u=n;return}d[a+420>>1]=e;k=e*3|0;i=a+800|0;f[i>>2]=34;b[l>>0]=k>>>24;b[l+1>>0]=k>>>16;b[l+2>>0]=k>>>8;b[l+3>>0]=k;k=l+4|0;b[k>>0]=80;b[l+5>>0]=76;b[l+6>>0]=84;b[l+7>>0]=69;jib(a,l,8);f[a+376>>2]=1347179589;Gjb(a);Hjb(a,k,4);f[i>>2]=66;if(e|0){j=m+1|0;k=m+2|0;h=0;g=c;while(1){b[m>>0]=b[g>>0]|0;b[j>>0]=b[g+1>>0]|0;b[k>>0]=b[g+2>>0]|0;jib(a,m,3);Hjb(a,m,3);h=h+1|0;if((h|0)==(e|0))break;else g=g+3|0}}f[i>>2]=130;m=f[a+412>>2]|0;b[l>>0]=m>>>24;b[l+1>>0]=m>>>16;b[l+2>>0]=m>>>8;b[l+3>>0]=m;jib(a,l,4);m=a+208|0;f[m>>2]=f[m>>2]|2;u=n;return}function Ljb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var 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;U=u;u=u+16|0;S=U;T=a+220|0;do if((f[T>>2]|0)!=1229209940){l=a+280|0;k=f[l>>2]|0;if(k){j=f[k>>2]|0;if(j|0){f[k>>2]=0;do{H=j;j=f[j>>2]|0;xib(a,H)}while((j|0)!=0)}}else{H=gjb(a,(f[a+284>>2]|0)+4|0)|0;f[l>>2]=H;f[H>>2]=0}if(!(Njb(a,1229209940,Mjb(a)|0)|0)){P=a+236|0;f[P>>2]=(f[l>>2]|0)+4;N=a+284|0;Q=a+240|0;f[Q>>2]=f[N>>2];D=l;break}else kib(a,f[a+248>>2]|0)}else{D=a+280|0;N=a+284|0;P=a+236|0;Q=a+240|0}while(0);B=a+224|0;f[B>>2]=c;o=a+228|0;f[o>>2]=0;E=a+208|0;C=a+744|0;p=(e|0)==0;F=a+800|0;q=S+1|0;r=S+2|0;s=S+3|0;t=S+4|0;v=S+5|0;w=S+6|0;x=S+7|0;G=a+376|0;H=a+412|0;y=S+1|0;z=S+2|0;A=S+3|0;j=d;while(1){f[o>>2]=j;n=jmb(B,e)|0;j=f[o>>2]|0;f[o>>2]=0;k=f[Q>>2]|0;if(!k){d=f[D>>2]|0;m=d+4|0;c=f[N>>2]|0;if(((((f[E>>2]&4|0)==0?(b[C>>0]|0)==0:0)?(I=Mjb(a)|0,I>>>0<16385):0)?(J=h[m>>0]|0,(J&15|0)==8&(J&240)>>>0<113):0)?(K=J>>>4,L=128<<K,L>>>0>=I>>>0):0){k=L;l=K;do{k=k>>>1;l=l+-1|0}while(!((l|0)==0|k>>>0<I>>>0));k=l<<4|8;b[m>>0]=k;d=d+5|0;l=b[d>>0]&-32&255;b[d>>0]=(((k<<8|l)>>>0)%31|0|l)^31}if((c|0)<0){M=22;break}f[F>>2]=34;b[S>>0]=c>>>24;b[q>>0]=c>>>16;b[r>>0]=c>>>8;b[s>>0]=c;b[t>>0]=73;b[v>>0]=68;b[w>>0]=65;b[x>>0]=84;jib(a,S,8);f[G>>2]=1229209940;Gjb(a);Hjb(a,t,4);f[F>>2]=66;if(c|0){jib(a,m,c);Hjb(a,m,c)}f[F>>2]=130;d=f[H>>2]|0;b[S>>0]=d>>>24;b[y>>0]=d>>>16;b[z>>0]=d>>>8;b[A>>0]=d;jib(a,S,4);f[E>>2]=f[E>>2]|4;f[P>>2]=m;f[Q>>2]=c;if(p|(n|0)!=0)M=26}else{c=k;M=26}if((M|0)==26){M=0;if(n|0){M=31;break}if(!j){M=29;break}}}if((M|0)==22)kib(a,477259);else if((M|0)==29)if((e|0)==4)kib(a,477695);else{u=U;return}else if((M|0)==31){if(!((e|0)==4&(n|0)==1)){Ojb(a,n);kib(a,f[a+248>>2]|0)}k=f[D>>2]|0;l=k+4|0;j=(f[N>>2]|0)-c|0;if(((((f[E>>2]&4|0)==0?(b[C>>0]|0)==0:0)?(R=Mjb(a)|0,R>>>0<16385):0)?(O=h[l>>0]|0,(O&15|0)==8&(O&240)>>>0<113):0)?(g=O>>>4,i=128<<g,i>>>0>=R>>>0):0){do{i=i>>>1;g=g+-1|0}while(!((g|0)==0|i>>>0<R>>>0));N=g<<4|8;b[l>>0]=N;R=k+5|0;O=b[R>>0]&-32&255;b[R>>0]=(((N<<8|O)>>>0)%31|0|O)^31}if((j|0)<0)kib(a,477259);f[F>>2]=34;b[S>>0]=j>>>24;b[S+1>>0]=j>>>16;b[S+2>>0]=j>>>8;b[S+3>>0]=j;R=S+4|0;b[R>>0]=73;b[S+5>>0]=68;b[S+6>>0]=65;b[S+7>>0]=84;jib(a,S,8);f[G>>2]=1229209940;Gjb(a);Hjb(a,R,4);f[F>>2]=66;if(j|0){jib(a,l,j);Hjb(a,l,j)}f[F>>2]=130;R=f[H>>2]|0;b[S>>0]=R>>>24;b[S+1>>0]=R>>>16;b[S+2>>0]=R>>>8;b[S+3>>0]=R;jib(a,S,4);f[Q>>2]=0;f[P>>2]=0;f[E>>2]=f[E>>2]|12;f[T>>2]=0;u=U;return}}function Mjb(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=f[a+352>>2]|0;c=f[a+364>>2]|0;if((c|h)>>>0>=32768){h=-1;return h|0}if(!(b[a+432>>0]|0)){h=W(c+1|0,h)|0;return h|0}g=f[a+348>>2]|0;i=b[a+438>>0]|0;d=i&255;e=d>>>3;c=(g+7|0)>>>3;a=(c|0)==0;if((i&255)>7){if(a)c=0;else c=W((W(c,e)|0)+1|0,(h+7|0)>>>3)|0;a=(g+3|0)>>>3;if(a)c=(W((W(a,e)|0)+1|0,(h+7|0)>>>3)|0)+c|0;a=(g+3|0)>>>2;if(a)c=(W((W(a,e)|0)+1|0,(h+3|0)>>>3)|0)+c|0;a=(g+1|0)>>>2;if(a)c=(W((W(a,e)|0)+1|0,(h+3|0)>>>2)|0)+c|0;a=(g+1|0)>>>1;if(a)c=(W((W(a,e)|0)+1|0,(h+1|0)>>>2)|0)+c|0;a=g>>>1;if(a)c=(W((W(a,e)|0)+1|0,(h+1|0)>>>1)|0)+c|0;if(!g){i=c;return i|0}i=(W((W(g,e)|0)+1|0,h>>>1)|0)+c|0;return i|0}else{if(a)c=0;else c=W((((W(c,d)|0)+7|0)>>>3)+1|0,(h+7|0)>>>3)|0;a=(g+3|0)>>>3;if(a)c=(W((((W(a,d)|0)+7|0)>>>3)+1|0,(h+7|0)>>>3)|0)+c|0;a=(g+3|0)>>>2;if(a)c=(W((((W(a,d)|0)+7|0)>>>3)+1|0,(h+3|0)>>>3)|0)+c|0;a=(g+1|0)>>>2;if(a)c=(W((((W(a,d)|0)+7|0)>>>3)+1|0,(h+3|0)>>>2)|0)+c|0;a=(g+1|0)>>>1;if(a)c=(W((((W(a,d)|0)+7|0)>>>3)+1|0,(h+1|0)>>>2)|0)+c|0;a=g>>>1;if(a)c=(W((((W(a,d)|0)+7|0)>>>3)+1|0,(h+1|0)>>>1)|0)+c|0;if(!g){i=c;return i|0}i=(W((((W(g,d)|0)+7|0)>>>3)+1|0,h>>>1)|0)+c|0;return i|0}return 0}function Njb(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;q=u;u=u+64|0;e=q;p=a+220|0;g=f[p>>2]|0;do if(g|0){b[e>>0]=c>>>24;b[e+1>>0]=c>>>16;b[e+2>>0]=c>>>8;b[e+3>>0]=c;b[e+4>>0]=58;b[e+5>>0]=32;b[e+6>>0]=g>>>24;b[e+7>>0]=g>>>16;b[e+8>>0]=g>>>8;b[e+9>>0]=g;Xib(e,64,10,479469)|0;rib(a,e);if((f[p>>2]|0)!=1229209940){f[p>>2]=0;break}f[a+248>>2]=477911;a=-2;u=q;return a|0}while(0);i=f[a+288>>2]|0;h=f[a+292>>2]|0;e=f[a+296>>2]|0;g=f[a+300>>2]|0;do if((c|0)==1229209940)if(!(f[a+212>>2]&1)){o=(b[a+434>>0]|0)!=8&1;n=g;l=h;k=i;break}else{o=f[a+304>>2]|0;n=g;l=h;k=i;break}else{o=f[a+324>>2]|0;n=f[a+320>>2]|0;e=f[a+316>>2]|0;l=f[a+312>>2]|0;k=f[a+308>>2]|0}while(0);if(d>>>0<16385?(j=1<<e+-1,m=d+262|0,m>>>0<=j>>>0):0){g=j;do{g=g>>>1;e=e+-1|0}while(m>>>0<=g>>>0)}i=a+212|0;g=f[i>>2]|0;do if(g&2){if(((((f[a+328>>2]|0)==(k|0)?(f[a+332>>2]|0)==(l|0):0)?(f[a+336>>2]|0)==(e|0):0)?(f[a+340>>2]|0)==(n|0):0)?(f[a+344>>2]|0)==(o|0):0)break;if(cmb(a+224|0)|0)rib(a,477926);g=f[i>>2]&-3;f[i>>2]=g}while(0);h=a+224|0;f[h>>2]=0;f[a+228>>2]=0;f[a+236>>2]=0;f[a+240>>2]=0;if(!(g&2)){e=bmb(h,k,l,e,n,o,479484,56)|0;if(!e){f[i>>2]=f[i>>2]|2;g=27}else g=28}else{e=dmb(h)|0;if(!e)g=27;else g=28}if((g|0)==27){f[p>>2]=c;a=0;u=q;return a|0}else if((g|0)==28){Ojb(a,e);a=e;u=q;return a|0}return 0}function Ojb(a,b){a=a|0;b=b|0;var c=0;c=a+248|0;if(f[c>>2]|0)return;switch(b|0){case -7:{a=477860;break}case 1:{a=477730;break}case 2:{a=477758;break}case -1:{a=477780;break}case -2:{a=477794;break}case -3:{a=477817;break}case -4:{a=482267;break}case -5:{a=479386;break}case -6:{a=477835;break}default:a=477883}f[c>>2]=a;return}function Pjb(a){a=a|0;var c=0,d=0,e=0,g=0;d=u;u=u+16|0;c=d;if(!a){c=a+208|0;a=f[c>>2]|0;a=a|16;f[c>>2]=a;u=d;return}e=a+800|0;f[e>>2]=34;g=c+4|0;f[c>>2]=0;b[g>>0]=73;b[c+5>>0]=69;b[c+6>>0]=78;b[c+7>>0]=68;jib(a,c,8);f[a+376>>2]=1229278788;Gjb(a);Hjb(a,g,4);f[e>>2]=130;e=f[a+412>>2]|0;b[c>>0]=e>>>24;b[c+1>>0]=e>>>16;b[c+2>>0]=e>>>8;b[c+3>>0]=e;jib(a,c,4);c=a+208|0;a=f[c>>2]|0;a=a|16;f[c>>2]=a;u=d;return}function Qjb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+16|0;d=g+8|0;e=g;b[e>>0]=c>>>24;b[e+1>>0]=c>>>16;b[e+2>>0]=c>>>8;b[e+3>>0]=c;if(!a){u=g;return}c=a+800|0;f[c>>2]=34;b[d>>0]=0;b[d+1>>0]=0;b[d+2>>0]=0;b[d+3>>0]=4;h=d+4|0;b[h>>0]=103;b[d+5>>0]=65;b[d+6>>0]=77;b[d+7>>0]=65;jib(a,d,8);f[a+376>>2]=1732332865;Gjb(a);Hjb(a,h,4);f[c>>2]=66;jib(a,e,4);Hjb(a,e,4);f[c>>2]=130;e=f[a+412>>2]|0;b[d>>0]=e>>>24;b[d+1>>0]=e>>>16;b[d+2>>0]=e>>>8;b[d+3>>0]=e;jib(a,d,4);u=g;return}function Rjb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+16|0;d=g+8|0;e=g;if((c|0)>3)rib(a,477954);b[e>>0]=c;if(!a){u=g;return}c=a+800|0;f[c>>2]=34;b[d>>0]=0;b[d+1>>0]=0;b[d+2>>0]=0;b[d+3>>0]=1;h=d+4|0;b[h>>0]=115;b[d+5>>0]=82;b[d+6>>0]=71;b[d+7>>0]=66;jib(a,d,8);f[a+376>>2]=1934772034;Gjb(a);Hjb(a,h,4);f[c>>2]=66;jib(a,e,1);Hjb(a,e,1);f[c>>2]=130;e=f[a+412>>2]|0;b[d>>0]=e>>>24;b[d+1>>0]=e>>>16;b[d+2>>0]=e>>>8;b[d+3>>0]=e;jib(a,d,4);u=g;return}function Sjb(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;n=u;u=u+1136|0;m=n+1120|0;j=n;k=n+84|0;if(!d)kib(a,477994);e=h[d+3>>0]|0;g=(h[d+1>>0]|0)<<16|(h[d>>0]|0)<<24|(h[d+2>>0]|0)<<8|e;if(g>>>0<132)kib(a,478020);if(!((e&3|0)==0|(h[d+8>>0]|0)<4))kib(a,478042);c=Tjb(a,c,j)|0;if(!c)kib(a,478091);b[j+(c+1)>>0]=0;i=c+2|0;f[k>>2]=d;f[k+4>>2]=g;d=k+8|0;f[d>>2]=0;if(Ujb(a,1766015824,k,i)|0)kib(a,f[a+248>>2]|0);e=f[d>>2]|0;c=e+i|0;l=(a|0)==0;a:do if(l){d=f[70]|0;e=e-(e>>>0<1024?e:1024)|0;c=(e|0)==0;if(!((d|0)==0|c)){g=f[71]|0;do{d=f[d>>2]|0;e=e-(g>>>0>e>>>0?e:g)|0;c=(e|0)==0}while(!((d|0)==0|c))}}else{g=a+800|0;f[g>>2]=34;b[m>>0]=c>>>24;b[m+1>>0]=c>>>16;b[m+2>>0]=c>>>8;b[m+3>>0]=c;e=m+4|0;b[e>>0]=105;b[m+5>>0]=67;b[m+6>>0]=67;b[m+7>>0]=80;jib(a,m,8);f[a+376>>2]=1766015824;Gjb(a);Hjb(a,e,4);f[g>>2]=66;if(i|0){jib(a,j,i);Hjb(a,j,i)}j=a+284|0;c=a+280|0;g=1024;i=k+12|0;e=f[d>>2]|0;while(1){d=f[c>>2]|0;c=g>>>0>e>>>0?e:g;if(c|0){jib(a,i,c);Hjb(a,i,c)}e=e-c|0;c=(e|0)==0;if((d|0)==0|c)break a;c=d;g=f[j>>2]|0;i=d+4|0}}while(0);if(!c)kib(a,478113);if(l){u=n;return}f[a+800>>2]=130;l=f[a+412>>2]|0;b[m>>0]=l>>>24;b[m+1>>0]=l>>>16;b[m+2>>0]=l>>>8;b[m+3>>0]=l;jib(a,m,4);u=n;return}function Tjb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+256|0;k=l;if(!c){b[d>>0]=0;k=0;u=l;return k|0}e=b[c>>0]|0;if(!(e<<24>>24)){f=1;h=0;e=0;g=c}else{i=1;h=0;j=0;g=c;do{g=g+1|0;f=e&255;do if(!((e&255)>160|(e+-33&255)<94))if(!i){b[d>>0]=32;i=1;h=e<<24>>24==32?h:f;j=j+1|0;d=d+1|0;break}else{h=(h|0)==0?f:h;break}else{b[d>>0]=e;i=0;j=j+1|0;d=d+1|0}while(0);e=b[g>>0]|0}while(j>>>0<79&e<<24>>24!=0);f=i;e=j}j=(e|0)!=0&(f|0)!=0;f=e+(j<<31>>31)|0;e=(h|0)==0&j?32:h;b[(j?d+-1|0:d)>>0]=0;if(!f){k=0;u=l;return k|0}if(b[g>>0]|0){rib(a,478186);k=f;u=l;return k|0}if(!e){k=f;u=l;return k|0}Vjb(k,1,c);Wjb(k,2,4,e);Xjb(a,k,478204);k=f;u=l;return k|0}function Ujb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var 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=d+4|0;c=Njb(a,c,f[s>>2]|0)|0;if(c|0){d=c;return d|0}g=f[s>>2]|0;m=a+224|0;f[m>>2]=f[d>>2];n=a+228|0;f[n>>2]=0;t=d+12|0;o=a+236|0;f[o>>2]=t;p=a+240|0;f[p>>2]=1024;q=a+284|0;i=1024;c=a+280|0;j=1024;do{f[n>>2]=g;do if(!j)if((i+e|0)<0){g=0;k=2;l=-4}else{g=f[c>>2]|0;if(!g){g=djb(a,(f[q>>2]|0)+4|0)|0;if(!g){g=0;k=2;l=-4;break}f[g>>2]=0;f[c>>2]=g;c=g}else c=g;f[o>>2]=c+4;r=f[q>>2]|0;f[p>>2]=r;i=r+i|0;r=9}else r=9;while(0);if((r|0)==9){r=0;l=jmb(m,4)|0;g=f[n>>2]|0;f[n>>2]=0;k=0}j=f[p>>2]|0}while(!(k|l|0));r=i-j|0;f[p>>2]=0;f[d+8>>2]=r;if((r+e|0)>>>0>2147483646){f[a+248>>2]=478161;f[a+220>>2]=0;d=-4;return d|0}Ojb(a,l);f[a+220>>2]=0;if(!((l|0)==1&(g|0)==0)){d=l;return d|0}i=f[s>>2]|0;if(i>>>0>=16385){d=0;return d|0}c=h[t>>0]|0;if(!((c&15|0)==8&(c&240)>>>0<113)){d=0;return d|0}c=c>>>4;g=128<<c;if(g>>>0<i>>>0){d=0;return d|0}do{g=g>>>1;c=c+-1|0}while(!((c|0)==0|g>>>0<i>>>0));s=c<<4|8;b[t>>0]=s;d=d+13|0;t=b[d>>0]&-32&255;b[d>>0]=(((s<<8|t)>>>0)%31|0|t)^31;d=0;return d|0}function Vjb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=c+-1|0;c=a+(f<<5)|0;if(f>>>0>7|(c|0)==0)return;if((d|0)!=0?(g=b[d>>0]|0,g<<24>>24!=0):0){e=0;c=g;do{d=d+1|0;g=e;e=e+1|0;b[a+(f<<5)+g>>0]=c;c=b[d>>0]|0}while(e>>>0<31&c<<24>>24!=0);c=a+(f<<5)+e|0}b[c>>0]=0;return}function Wjb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=u;u=u+32|0;l=n;m=(e|0)<0;e=m?0-e|0:e;f=l+23|0;b[f>>0]=0;a:do switch(d|0){case 5:{i=1;g=0;k=e;d=0;e=0;while(1){if(!((g|0)<(i|0)|(k|0)!=0))break a;j=(k>>>0)/10|0;h=k-(j*10|0)|0;i=f+-1|0;if(!(h|d))d=0;else{e=b[251088+h>>0]|0;b[i>>0]=e;d=1;f=i}g=g+1|0;do if((g|0)==5&f>>>0>l>>>0){if(d|0){f=f+-1|0;b[f>>0]=46;h=j;d=1;e=46;g=5;break}if(k>>>0<10){f=f+-1|0;b[f>>0]=48;h=0;d=0;e=48;g=5}else{h=j;d=0;g=5}}else h=j;while(0);if(f>>>0>l>>>0){i=5;k=h}else break}break}case 3:{h=0;g=e;e=0;while(1){if(!((h|0)==0|(g|0)!=0))break a;e=b[251088+(g&15)>>0]|0;f=f+-1|0;b[f>>0]=e;if(f>>>0>l>>>0){h=h+1|0;g=g>>>4}else break}break}case 2:{h=1;i=0;g=e;e=0;while(1){if(!(i>>>0<h>>>0|(g|0)!=0))break a;e=g;g=(g>>>0)/10|0;e=b[251088+(e-(g*10|0))>>0]|0;f=f+-1|0;b[f>>0]=e;if(f>>>0<=l>>>0)break;else{h=2;i=i+1|0}}break}default:{g=1;i=0;h=e;e=0;while(1){if(!((i|0)<(g|0)|(h|0)!=0))break a;switch(d|0){case 1:{k=(h>>>0)/10|0;e=b[251088+(h-(k*10|0))>>0]|0;f=f+-1|0;b[f>>0]=e;h=k;break}case 4:{e=b[251088+(h&15)>>0]|0;f=f+-1|0;b[f>>0]=e;h=h>>>4;g=2;break}default:h=0}if(f>>>0>l>>>0)i=i+1|0;else break a}}}while(0);if(m&f>>>0>l>>>0){f=f+-1|0;b[f>>0]=45;i=45}else i=e;h=c+-1|0;e=a+(h<<5)|0;if(h>>>0>7|(e|0)==0){u=n;return}if(!((f|0)==0|i<<24>>24==0)){g=0;e=i;do{f=f+1|0;c=g;g=g+1|0;b[a+(h<<5)+c>>0]=e;e=b[f>>0]|0}while(g>>>0<31&e<<24>>24!=0);e=a+(h<<5)+g|0}b[e>>0]=0;u=n;return}function Xjb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=u;u=u+192|0;k=l;a:do if(!c){e=0;while(1){f=b[d>>0]|0;if(!(f<<24>>24))break a;b[k+e>>0]=f;e=e+1|0;if(e>>>0>=191){e=191;break}else d=d+1|0}}else{e=0;while(1){f=b[d>>0]|0;switch(f<<24>>24){case 0:break a;case 64:{g=d+1|0;f=b[g>>0]|0;if(f<<24>>24){h=0;while(1)if((h|0)!=9?(b[478239+h>>0]|0)!=f<<24>>24:0)h=h+1|0;else break;if(h>>>0<8){i=c+(h<<5)+32|0;b:do if(e>>>0<191){h=c+(h<<5)|0;while(1){f=b[h>>0]|0;if(!(h>>>0<i>>>0&f<<24>>24!=0))break b;g=e+1|0;b[k+e>>0]=f;if(g>>>0<191){h=h+1|0;e=g}else{e=g;break}}}while(0);d=d+2|0}else{d=g;j=13}}else{f=64;j=13}break}default:j=13}if((j|0)==13){j=0;b[k+e>>0]=f;d=d+1|0;e=e+1|0}if(e>>>0>=191)break a}}while(0);b[k+e>>0]=0;rib(a,k);u=l;return}function Yjb(a,c){a=a|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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0;A=u;u=u+112|0;y=A+96|0;h=A;z=A+80|0;k=c+4|0;l=(b[k>>0]|0)==8?6:10;m=c+12|0;e=f[m>>2]|0;g=Tjb(a,f[c>>2]|0,h)|0;if(!g)kib(a,478249);e=g+2+(W(l,e)|0)|0;x=(a|0)==0;if(x)e=0;else{w=a+800|0;f[w>>2]=34;b[y>>0]=e>>>24;b[y+1>>0]=e>>>16;b[y+2>>0]=e>>>8;b[y+3>>0]=e;e=y+4|0;b[e>>0]=115;b[y+5>>0]=80;b[y+6>>0]=76;b[y+7>>0]=84;jib(a,y,8);f[a+376>>2]=1934642260;Gjb(a);Hjb(a,e,4);f[w>>2]=66;e=g+1|0;if(e|0){jib(a,h,e);Hjb(a,h,e)}jib(a,k,1);Hjb(a,k,1);e=1}j=c+8|0;i=f[j>>2]|0;g=f[m>>2]|0;if((g|0)>0){n=z+1|0;o=z+2|0;p=z+3|0;q=z+4|0;r=z+5|0;s=z+6|0;t=z+7|0;v=z+8|0;w=z+9|0;if(e)do{e=d[i>>1]|0;if((b[k>>0]|0)==8){b[z>>0]=e;b[n>>0]=d[i+2>>1];b[o>>0]=d[i+4>>1];e=r;g=q;h=p;c=d[i+6>>1]&255}else{b[z>>0]=(e&65535)>>>8;b[n>>0]=e;c=d[i+2>>1]|0;b[o>>0]=(c&65535)>>>8;b[p>>0]=c;c=d[i+4>>1]|0;b[q>>0]=(c&65535)>>>8;b[r>>0]=c;c=d[i+6>>1]|0;b[s>>0]=(c&65535)>>>8;e=w;g=v;h=t;c=c&255}b[h>>0]=c;c=d[i+8>>1]|0;b[g>>0]=(c&65535)>>>8;b[e>>0]=c;jib(a,z,l);Hjb(a,z,l);i=i+10|0}while(i>>>0<((f[j>>2]|0)+((f[m>>2]|0)*10|0)|0)>>>0);else{k=(b[k>>0]|0)==8;j=i+(g*10|0)|0;do{e=d[i>>1]|0;if(k){b[z>>0]=e;b[n>>0]=d[i+2>>1];b[o>>0]=d[i+4>>1];e=r;g=q;h=p;c=d[i+6>>1]&255}else{b[z>>0]=(e&65535)>>>8;b[n>>0]=e;c=d[i+2>>1]|0;b[o>>0]=(c&65535)>>>8;b[p>>0]=c;c=d[i+4>>1]|0;b[q>>0]=(c&65535)>>>8;b[r>>0]=c;c=d[i+6>>1]|0;b[s>>0]=(c&65535)>>>8;e=w;g=v;h=t;c=c&255}b[h>>0]=c;m=d[i+8>>1]|0;b[g>>0]=(m&65535)>>>8;b[e>>0]=m;i=i+10|0}while(i>>>0<j>>>0)}}if(x){u=A;return}f[a+800>>2]=130;z=f[a+412>>2]|0;b[y>>0]=z>>>24;b[y+1>>0]=z>>>16;b[y+2>>0]=z>>>8;b[y+3>>0]=z;jib(a,y,4);u=A;return}function Zjb(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;m=u;u=u+16|0;k=m+8|0;l=m;do if(!(d&2)){e=b[c+3>>0]|0;if(e<<24>>24?(e&255)<=(h[a+437>>0]|0):0){b[l>>0]=e;e=1;break}rib(a,478271);u=m;return}else{if((d|0)==3)g=8;else g=b[a+437>>0]|0;e=b[c>>0]|0;if(((e+-1&255)<(g&255)?(i=b[c+1>>0]|0,(i+-1&255)<(g&255)):0)?(j=b[c+2>>0]|0,(j+-1&255)<(g&255)):0){b[l>>0]=e;b[l+1>>0]=i;b[l+2>>0]=j;e=3;break}rib(a,478271);u=m;return}while(0);do if(!(d&4)){if(!a){u=m;return}}else{g=b[c+4>>0]|0;if(g<<24>>24?(g&255)<=(h[a+437>>0]|0):0){b[l+e>>0]=g;e=e+1|0;break}rib(a,478271);u=m;return}while(0);d=a+800|0;f[d>>2]=34;b[k>>0]=e>>>24;b[k+1>>0]=e>>>16;b[k+2>>0]=e>>>8;b[k+3>>0]=e;c=k+4|0;b[c>>0]=115;b[k+5>>0]=66;b[k+6>>0]=73;b[k+7>>0]=84;jib(a,k,8);f[a+376>>2]=1933723988;Gjb(a);Hjb(a,c,4);f[d>>2]=66;jib(a,l,e);Hjb(a,l,e);f[d>>2]=130;l=f[a+412>>2]|0;b[k>>0]=l>>>24;b[k+1>>0]=l>>>16;b[k+2>>0]=l>>>8;b[k+3>>0]=l;jib(a,k,4);u=m;return}function _jb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+48|0;d=g+32|0;e=g;$jb(e,f[c+24>>2]|0);$jb(e+4|0,f[c+28>>2]|0);$jb(e+8|0,f[c>>2]|0);$jb(e+12|0,f[c+4>>2]|0);$jb(e+16|0,f[c+8>>2]|0);$jb(e+20|0,f[c+12>>2]|0);$jb(e+24|0,f[c+16>>2]|0);$jb(e+28|0,f[c+20>>2]|0);if(!a){u=g;return}c=a+800|0;f[c>>2]=34;b[d>>0]=0;b[d+1>>0]=0;b[d+2>>0]=0;b[d+3>>0]=32;h=d+4|0;b[h>>0]=99;b[d+5>>0]=72;b[d+6>>0]=82;b[d+7>>0]=77;jib(a,d,8);f[a+376>>2]=1665684045;Gjb(a);Hjb(a,h,4);f[c>>2]=66;jib(a,e,32);Hjb(a,e,32);f[c>>2]=130;e=f[a+412>>2]|0;b[d>>0]=e>>>24;b[d+1>>0]=e>>>16;b[d+2>>0]=e>>>8;b[d+3>>0]=e;jib(a,d,4);u=g;return}function $jb(a,c){a=a|0;c=c|0;b[a>>0]=c>>>24;b[a+1>>0]=c>>>16;b[a+2>>0]=c>>>8;b[a+3>>0]=c;return}function akb(a,c,e,g,i){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;var k=0,l=0,m=0;m=u;u=u+16|0;l=m+8|0;k=m;switch(i|0){case 3:{if((g|0)>=1?(j[a+420>>1]|0)>=(g|0):0){e=a+800|0;f[e>>2]=34;b[l>>0]=g>>>24;b[l+1>>0]=g>>>16;b[l+2>>0]=g>>>8;b[l+3>>0]=g;k=l+4|0;b[k>>0]=116;b[l+5>>0]=82;b[l+6>>0]=78;b[l+7>>0]=83;jib(a,l,8);f[a+376>>2]=1951551059;Gjb(a);Hjb(a,k,4);f[e>>2]=66;if(c|0){jib(a,c,g);Hjb(a,c,g)}f[e>>2]=130;k=f[a+412>>2]|0;b[l>>0]=k>>>24;b[l+1>>0]=k>>>16;b[l+2>>0]=k>>>8;b[l+3>>0]=k;jib(a,l,4);u=m;return}kjb(a,478300);u=m;return}case 0:{e=d[e+8>>1]|0;if((1<<h[a+436>>0]|0)>(e&65535|0)){b[k>>0]=(e&65535)>>>8;b[k+1>>0]=e;g=a+800|0;f[g>>2]=34;b[l>>0]=0;b[l+1>>0]=0;b[l+2>>0]=0;b[l+3>>0]=2;c=l+4|0;b[c>>0]=116;b[l+5>>0]=82;b[l+6>>0]=78;b[l+7>>0]=83;jib(a,l,8);f[a+376>>2]=1951551059;Gjb(a);Hjb(a,c,4);f[g>>2]=66;jib(a,k,2);Hjb(a,k,2);f[g>>2]=130;k=f[a+412>>2]|0;b[l>>0]=k>>>24;b[l+1>>0]=k>>>16;b[l+2>>0]=k>>>8;b[l+3>>0]=k;jib(a,l,4);u=m;return}else{kjb(a,478347);u=m;return}}case 2:{g=d[e+2>>1]|0;c=(g&65535)>>>8;b[k>>0]=c;b[k+1>>0]=g;g=d[e+4>>1]|0;i=(g&65535)>>>8;b[k+2>>0]=i;b[k+3>>0]=g;e=d[e+6>>1]|0;g=(e&65535)>>>8;b[k+4>>0]=g;b[k+5>>0]=e;if((b[a+436>>0]|0)==8?(i|c|g)<<16>>16:0){kjb(a,478411);u=m;return}g=a+800|0;f[g>>2]=34;b[l>>0]=0;b[l+1>>0]=0;b[l+2>>0]=0;b[l+3>>0]=6;c=l+4|0;b[c>>0]=116;b[l+5>>0]=82;b[l+6>>0]=78;b[l+7>>0]=83;jib(a,l,8);f[a+376>>2]=1951551059;Gjb(a);Hjb(a,c,4);f[g>>2]=66;jib(a,k,6);Hjb(a,k,6);f[g>>2]=130;k=f[a+412>>2]|0;b[l>>0]=k>>>24;b[l+1>>0]=k>>>16;b[l+2>>0]=k>>>8;b[l+3>>0]=k;jib(a,l,4);u=m;return}default:{kjb(a,478475);u=m;return}}}function bkb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=0,j=0,k=0,l=0;k=u;u=u+16|0;i=k+8|0;j=k;if((e|0)==3){g=d[a+420>>1]|0;if(g<<16>>16==0?(f[a+708>>2]&1|0)!=0:0)e=b[c>>0]|0;else{e=b[c>>0]|0;if((e&255)>>>0>=(g&65535)>>>0){rib(a,478514);u=k;return}}b[j>>0]=e;g=a+800|0;f[g>>2]=34;b[i>>0]=0;b[i+1>>0]=0;b[i+2>>0]=0;b[i+3>>0]=1;c=i+4|0;b[c>>0]=98;b[i+5>>0]=75;b[i+6>>0]=71;b[i+7>>0]=68;jib(a,i,8);f[a+376>>2]=1649100612;Gjb(a);Hjb(a,c,4);f[g>>2]=66;jib(a,j,1);Hjb(a,j,1);f[g>>2]=130;j=f[a+412>>2]|0;b[i>>0]=j>>>24;b[i+1>>0]=j>>>16;b[i+2>>0]=j>>>8;b[i+3>>0]=j;jib(a,i,4);u=k;return}if(!(e&2)){e=d[c+8>>1]|0;if((1<<h[a+436>>0]|0)>(e&65535|0)){b[j>>0]=(e&65535)>>>8;b[j+1>>0]=e;g=a+800|0;f[g>>2]=34;b[i>>0]=0;b[i+1>>0]=0;b[i+2>>0]=0;b[i+3>>0]=2;c=i+4|0;b[c>>0]=98;b[i+5>>0]=75;b[i+6>>0]=71;b[i+7>>0]=68;jib(a,i,8);f[a+376>>2]=1649100612;Gjb(a);Hjb(a,c,4);f[g>>2]=66;jib(a,j,2);Hjb(a,j,2);f[g>>2]=130;j=f[a+412>>2]|0;b[i>>0]=j>>>24;b[i+1>>0]=j>>>16;b[i+2>>0]=j>>>8;b[i+3>>0]=j;jib(a,i,4);u=k;return}else{rib(a,478611);u=k;return}}g=d[c+2>>1]|0;e=(g&65535)>>>8;b[j>>0]=e;b[j+1>>0]=g;g=d[c+4>>1]|0;l=(g&65535)>>>8;b[j+2>>0]=l;b[j+3>>0]=g;c=d[c+6>>1]|0;g=(c&65535)>>>8;b[j+4>>0]=g;b[j+5>>0]=c;if((b[a+436>>0]|0)==8?(l|e|g)<<16>>16:0){rib(a,478547);u=k;return}l=a+800|0;f[l>>2]=34;b[i>>0]=0;b[i+1>>0]=0;b[i+2>>0]=0;b[i+3>>0]=6;g=i+4|0;b[g>>0]=98;b[i+5>>0]=75;b[i+6>>0]=71;b[i+7>>0]=68;jib(a,i,8);f[a+376>>2]=1649100612;Gjb(a);Hjb(a,g,4);f[l>>2]=66;jib(a,j,6);Hjb(a,j,6);f[l>>2]=130;l=f[a+412>>2]|0;b[i>>0]=l>>>24;b[i+1>>0]=l>>>16;b[i+2>>0]=l>>>8;b[i+3>>0]=l;jib(a,i,4);u=k;return}function ckb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,h=0,i=0,k=0,l=0,m=0,n=0;m=u;u=u+16|0;k=m+8|0;l=m;if((j[a+420>>1]|0|0)<(e|0)){rib(a,478675);u=m;return}h=a+800|0;f[h>>2]=34;b[k>>0]=e>>>23;b[k+1>>0]=e>>>15;b[k+2>>0]=e>>>7;b[k+3>>0]=e<<1;i=k+4|0;b[i>>0]=104;b[k+5>>0]=73;b[k+6>>0]=83;b[k+7>>0]=84;jib(a,k,8);f[a+376>>2]=1749635924;Gjb(a);Hjb(a,i,4);f[h>>2]=66;if((e|0)>0){i=l+1|0;g=0;do{n=d[c+(g<<1)>>1]|0;b[l>>0]=(n&65535)>>>8;b[i>>0]=n;jib(a,l,2);Hjb(a,l,2);g=g+1|0}while((g|0)!=(e|0))}f[h>>2]=130;n=f[a+412>>2]|0;b[k>>0]=n>>>24;b[k+1>>0]=n>>>16;b[k+2>>0]=n>>>8;b[k+3>>0]=n;jib(a,k,4);u=m;return}function dkb(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;i=u;u=u+96|0;g=i+80|0;h=i;c=Tjb(a,c,h)|0;if(!c)kib(a,478721);if((d|0)!=0?(b[d>>0]|0)!=0:0){e=Rmb(d)|0;if(e>>>0>(2147483646-c|0)>>>0)kib(a,478743);else j=e}else j=0;e=c+1|0;c=e+j|0;if(!a){u=i;return}k=a+800|0;f[k>>2]=34;b[g>>0]=c>>>24;b[g+1>>0]=c>>>16;b[g+2>>0]=c>>>8;b[g+3>>0]=c;c=g+4|0;b[c>>0]=116;b[g+5>>0]=69;b[g+6>>0]=88;b[g+7>>0]=116;jib(a,g,8);f[a+376>>2]=1950701684;Gjb(a);Hjb(a,c,4);f[k>>2]=66;if(e|0){jib(a,h,e);Hjb(a,h,e)}if((j|0)!=0&(d|0)!=0){jib(a,d,j);Hjb(a,d,j)}f[a+800>>2]=130;k=f[a+412>>2]|0;b[g>>0]=k>>>24;b[g+1>>0]=k>>>16;b[g+2>>0]=k>>>8;b[g+3>>0]=k;jib(a,g,4);u=i;return}function ekb(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;m=u;u=u+1136|0;l=m+1120|0;h=m;j=m+84|0;switch(e|0){case -1:{dkb(a,c,d,0);u=m;return}case 0:{c=Tjb(a,c,h)|0;if(!c)kib(a,478794);b[h+(c+1)>>0]=0;g=c+2|0;if(!d){e=0;c=0}else{e=Rmb(d)|0;c=d}f[j>>2]=c;f[j+4>>2]=e;d=j+8|0;f[d>>2]=0;if(Ujb(a,2052348020,j,g)|0)kib(a,f[a+248>>2]|0);e=f[d>>2]|0;c=e+g|0;k=(a|0)==0;a:do if(k){d=f[70]|0;e=e-(e>>>0<1024?e:1024)|0;c=(e|0)==0;if(!((d|0)==0|c)){g=f[71]|0;do{d=f[d>>2]|0;e=e-(g>>>0>e>>>0?e:g)|0;c=(e|0)==0}while(!((d|0)==0|c))}}else{i=a+800|0;f[i>>2]=34;b[l>>0]=c>>>24;b[l+1>>0]=c>>>16;b[l+2>>0]=c>>>8;b[l+3>>0]=c;e=l+4|0;b[e>>0]=122;b[l+5>>0]=84;b[l+6>>0]=88;b[l+7>>0]=116;jib(a,l,8);f[a+376>>2]=2052348020;Gjb(a);Hjb(a,e,4);f[i>>2]=66;if(g|0){jib(a,h,g);Hjb(a,h,g)}i=a+284|0;c=a+280|0;g=1024;h=j+12|0;e=f[d>>2]|0;while(1){d=f[c>>2]|0;c=g>>>0>e>>>0?e:g;if(c|0){jib(a,h,c);Hjb(a,h,c)}e=e-c|0;c=(e|0)==0;if((d|0)==0|c)break a;c=d;g=f[i>>2]|0;h=d+4|0}}while(0);if(!c)kib(a,478113);if(!k){f[a+800>>2]=130;k=f[a+412>>2]|0;b[l>>0]=k>>>24;b[l+1>>0]=k>>>16;b[l+2>>0]=k>>>8;b[l+3>>0]=k;jib(a,l,4)}u=m;return}default:kib(a,478763)}}function fkb(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;s=u;u=u+1136|0;r=s+1120|0;o=s;q=s+84|0;i=Tjb(a,d,o)|0;if(!i)kib(a,478816);d=c+1|0;if(d>>>0>=4)kib(a,478838);p=(d&1|0)!=0;b[o+(i+1)>>0]=16777472>>>(d<<3);b[o+(i+2)>>0]=0;m=i+3|0;l=(e|0)==0?505031:e;k=(Rmb(l)|0)+1|0;g=(g|0)==0?505031:g;j=(Rmb(g)|0)+1|0;h=(h|0)==0?505031:h;d=k>>>0>(2147483644-i|0)>>>0?2147483647:k+m|0;d=j>>>0>(2147483647-d|0)>>>0?2147483647:d+j|0;c=Rmb(h)|0;f[q>>2]=h;f[q+4>>2]=c;e=q+8|0;f[e>>2]=0;do if(p)if(!(Ujb(a,1767135348,q,d)|0)){n=f[e>>2]|0;break}else kib(a,f[a+248>>2]|0);else if(c>>>0>(2147483647-d|0)>>>0)kib(a,478864);else{f[e>>2]=c;n=c;break}while(0);d=n+d|0;n=(a|0)==0;if(!n){i=a+800|0;f[i>>2]=34;b[r>>0]=d>>>24;b[r+1>>0]=d>>>16;b[r+2>>0]=d>>>8;b[r+3>>0]=d;c=r+4|0;b[c>>0]=105;b[r+5>>0]=84;b[r+6>>0]=88;b[r+7>>0]=116;jib(a,r,8);f[a+376>>2]=1767135348;Gjb(a);Hjb(a,c,4);f[i>>2]=66;if(m|0){jib(a,o,m);Hjb(a,o,m)}if((k|0)!=0&(l|0)!=0){jib(a,l,k);Hjb(a,l,k)}if((j|0)!=0&(g|0)!=0){jib(a,g,j);Hjb(a,g,j);d=1}else d=1}else d=0;c=f[e>>2]|0;if(p){d=a+280|0;i=a+284|0;a:do if(n){e=f[d>>2]|0;c=c-(c>>>0<1024?c:1024)|0;d=(c|0)==0;if(!((e|0)==0|d)){g=f[i>>2]|0;do{e=f[e>>2]|0;c=c-(g>>>0>c>>>0?c:g)|0;d=(c|0)==0}while(!((e|0)==0|d))}}else{g=1024;h=q+12|0;while(1){e=f[d>>2]|0;d=g>>>0>c>>>0?c:g;if(d|0){jib(a,h,d);Hjb(a,h,d)}c=c-d|0;d=(c|0)==0;if((e|0)==0|d)break a;d=e;g=f[i>>2]|0;h=e+4|0}}while(0);if(!d)kib(a,478113)}else if((h|0)!=0&d&(c|0)!=0){jib(a,h,c);Hjb(a,h,c)}if(n){u=s;return}f[a+800>>2]=130;q=f[a+412>>2]|0;b[r>>0]=q>>>24;b[r+1>>0]=q>>>16;b[r+2>>0]=q>>>8;b[r+3>>0]=q;jib(a,r,4);u=s;return}function gkb(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+16|0;h=i;if((e|0)>1)rib(a,478897);$jb(h,c);$jb(h+4|0,d);b[h+8>>0]=e;if(!a){u=i;return}e=a+800|0;f[e>>2]=34;b[g>>0]=0;b[g+1>>0]=0;b[g+2>>0]=0;b[g+3>>0]=9;d=g+4|0;b[d>>0]=111;b[g+5>>0]=70;b[g+6>>0]=70;b[g+7>>0]=115;jib(a,g,8);f[a+376>>2]=1866876531;Gjb(a);Hjb(a,d,4);f[e>>2]=66;jib(a,h,9);Hjb(a,h,9);f[e>>2]=130;h=f[a+412>>2]|0;b[g>>0]=h>>>24;b[g+1>>0]=h>>>16;b[g+2>>0]=h>>>8;b[g+3>>0]=h;jib(a,g,4);u=i;return}function hkb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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+112|0;t=v+96|0;r=v+80|0;p=v;if((g|0)>3)kib(a,478935);c=Tjb(a,c,p)|0;if(!c)kib(a,478977);n=c+1|0;q=(Rmb(i)|0)+((h|0)!=0&1)|0;c=c+11+q|0;s=gjb(a,h<<2)|0;o=(h|0)>0;if(o){l=h+-1|0;k=0;do{m=(Rmb(f[j+(k<<2)>>2]|0)|0)+((k|0)!=(l|0)&1)|0;f[s+(k<<2)>>2]=m;c=m+c|0;k=k+1|0}while((k|0)!=(h|0))}m=(a|0)==0;if(!m){l=a+800|0;f[l>>2]=34;b[t>>0]=c>>>24;b[t+1>>0]=c>>>16;b[t+2>>0]=c>>>8;b[t+3>>0]=c;k=t+4|0;b[k>>0]=112;b[t+5>>0]=67;b[t+6>>0]=65;b[t+7>>0]=76;jib(a,t,8);f[a+376>>2]=1883455820;Gjb(a);Hjb(a,k,4);f[l>>2]=66;if(!n)c=1;else{jib(a,p,n);Hjb(a,p,n);c=1}}else c=0;$jb(r,d);$jb(r+4|0,e);b[r+8>>0]=g;b[r+9>>0]=h;if(c?(jib(a,r,10),Hjb(a,r,10),(q|0)!=0&(i|0)!=0):0){jib(a,i,q);Hjb(a,i,q)}if(o&c){c=0;do{k=f[j+(c<<2)>>2]|0;l=f[s+(c<<2)>>2]|0;if((k|0)!=0&(l|0)!=0){jib(a,k,l);Hjb(a,k,l)}c=c+1|0}while((c|0)!=(h|0))}xib(a,s);if(m){u=v;return}f[a+800>>2]=130;j=f[a+412>>2]|0;b[t>>0]=j>>>24;b[t+1>>0]=j>>>16;b[t+2>>0]=j>>>8;b[t+3>>0]=j;jib(a,t,4);u=v;return}function ikb(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;l=u;u=u+80|0;i=l+64|0;j=l;g=Rmb(d)|0;h=Rmb(e)|0;k=g+2+h|0;if(k>>>0>64){rib(a,478999);u=l;return}b[j>>0]=c;YDb(j+1|0,d|0,g+1|0)|0;YDb(j+g+2|0,e|0,h|0)|0;if(!a){u=l;return}c=a+800|0;f[c>>2]=34;b[i>>0]=k>>>24;b[i+1>>0]=k>>>16;b[i+2>>0]=k>>>8;b[i+3>>0]=k;h=i+4|0;b[h>>0]=115;b[i+5>>0]=67;b[i+6>>0]=65;b[i+7>>0]=76;jib(a,i,8);f[a+376>>2]=1933787468;Gjb(a);Hjb(a,h,4);f[c>>2]=66;if(k|0){jib(a,j,k);Hjb(a,j,k)}f[c>>2]=130;k=f[a+412>>2]|0;b[i>>0]=k>>>24;b[i+1>>0]=k>>>16;b[i+2>>0]=k>>>8;b[i+3>>0]=k;jib(a,i,4);u=l;return}function jkb(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+16|0;h=i;if((e|0)>1)rib(a,479035);b[h>>0]=c>>>24;b[h+1>>0]=c>>>16;b[h+2>>0]=c>>>8;b[h+3>>0]=c;b[h+4>>0]=d>>>24;b[h+5>>0]=d>>>16;b[h+6>>0]=d>>>8;b[h+7>>0]=d;b[h+8>>0]=e;if(!a){u=i;return}e=a+800|0;f[e>>2]=34;b[g>>0]=0;b[g+1>>0]=0;b[g+2>>0]=0;b[g+3>>0]=9;d=g+4|0;b[d>>0]=112;b[g+5>>0]=72;b[g+6>>0]=89;b[g+7>>0]=115;jib(a,g,8);f[a+376>>2]=1883789683;Gjb(a);Hjb(a,d,4);f[e>>2]=66;jib(a,h,9);Hjb(a,h,9);f[e>>2]=130;h=f[a+412>>2]|0;b[g>>0]=h>>>24;b[g+1>>0]=h>>>16;b[g+2>>0]=h>>>8;b[g+3>>0]=h;jib(a,g,4);u=i;return}function kkb(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=u;u=u+16|0;h=l+8|0;i=l;j=b[c+2>>0]|0;if((((j+-1&255)<=11?(k=b[c+3>>0]|0,(k+-1&255)<=30):0)?(e=b[c+4>>0]|0,(e&255)<=23):0)?(g=b[c+6>>0]|0,(g&255)<=60):0){m=d[c>>1]|0;b[i>>0]=(m&65535)>>>8;b[i+1>>0]=m;b[i+2>>0]=j;b[i+3>>0]=k;b[i+4>>0]=e;b[i+5>>0]=b[c+5>>0]|0;b[i+6>>0]=g;if(!a){u=l;return}m=a+800|0;f[m>>2]=34;b[h>>0]=0;b[h+1>>0]=0;b[h+2>>0]=0;b[h+3>>0]=7;k=h+4|0;b[k>>0]=116;b[h+5>>0]=73;b[h+6>>0]=77;b[h+7>>0]=69;jib(a,h,8);f[a+376>>2]=1950960965;Gjb(a);Hjb(a,k,4);f[m>>2]=66;jib(a,i,7);Hjb(a,i,7);f[m>>2]=130;m=f[a+412>>2]|0;b[h>>0]=m>>>24;b[h+1>>0]=m>>>16;b[h+2>>0]=m>>>8;b[h+3>>0]=m;jib(a,h,4);u=l;return}rib(a,479073);u=l;return}function lkb(a){a=a|0;var c=0,d=0,e=0,g=0;d=W(h[a+437>>0]|0,h[a+440>>0]|0)|0;g=a+348|0;c=f[g>>2]|0;if(d>>>0>7)c=W(d>>>3,c)|0;else c=((W(d,c)|0)+7|0)>>>3;e=c+1|0;b[a+443>>0]=b[a+438>>0]|0;b[a+442>>0]=d;d=gjb(a,e)|0;f[a+384>>2]=d;b[d>>0]=0;d=a+434|0;c=b[d>>0]|0;if(c&16){c=gjb(a,(f[a+364>>2]|0)+1|0)|0;f[a+388>>2]=c;b[c>>0]=1;c=b[d>>0]|0}if((c&255)>31){c=Tib(a,e)|0;f[a+380>>2]=c;c=b[d>>0]|0;if(c&32){c=gjb(a,(f[a+364>>2]|0)+1|0)|0;f[a+392>>2]=c;b[c>>0]=2;c=b[d>>0]|0}if(c&64){c=gjb(a,(f[a+364>>2]|0)+1|0)|0;f[a+396>>2]=c;b[c>>0]=3;c=b[d>>0]|0}if(c<<24>>24<0){e=gjb(a,(f[a+364>>2]|0)+1|0)|0;f[a+400>>2]=e;b[e>>0]=4}}if(!(b[a+432>>0]|0)){f[a+356>>2]=f[a+352>>2];e=f[g>>2]|0;g=a+360|0;f[g>>2]=e;return}c=f[a+352>>2]|0;if(!(f[a+216>>2]&2)){f[a+356>>2]=(c+7|0)>>>3;e=((f[g>>2]|0)+7|0)>>>3;g=a+360|0;f[g>>2]=e;return}else{f[a+356>>2]=c;e=f[g>>2]|0;g=a+360|0;f[g>>2]=e;return}}function mkb(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;c=a+372|0;m=(f[c>>2]|0)+1|0;f[c>>2]=m;n=a+356|0;if(m>>>0<(f[n>>2]|0)>>>0)return;a:do if(b[a+432>>0]|0){f[c>>2]=0;m=(f[a+216>>2]&2|0)==0;e=a+433|0;c=(b[e>>0]|0)+1<<24>>24;b[e>>0]=c;do if(m){if((c&255)>6)break a;g=(f[a+348>>2]|0)+-1|0;m=a+360|0;i=(f[a+352>>2]|0)+-1|0;d=c&255;while(1){j=b[481030+d>>0]|0;p=j&255;k=g+p-(h[481037+d>>0]|0)|0;l=b[481526+d>>0]|0;o=l&255;d=i+o-(h[481533+d>>0]|0)|0;if(!(k>>>0<p>>>0|d>>>0<o>>>0)){c=9;break}c=c+1<<24>>24;b[e>>0]=c;if((c&255)>6){c=8;break}else d=c&255}if((c|0)==8){f[m>>2]=(k>>>0)/((j&255)>>>0)|0;f[n>>2]=(d>>>0)/((l&255)>>>0)|0;break a}else if((c|0)==9){f[m>>2]=(k>>>0)/((j&255)>>>0)|0;f[n>>2]=(d>>>0)/((l&255)>>>0)|0;break}}else if((c&255)>=7)break a;while(0);e=f[a+380>>2]|0;if(!e)return;d=W(h[a+437>>0]|0,h[a+440>>0]|0)|0;c=f[a+348>>2]|0;if(d>>>0>7)c=W(d>>>3,c)|0;else c=((W(d,c)|0)+7|0)>>>3;_Db(e|0,0,c+1|0)|0;return}while(0);Ljb(a,0,0,4);return}function nkb(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;if((d|0)>=6)return;n=a+11|0;e=b[n>>0]|0;switch(e<<24>>24){case 1:{m=f[a>>2]|0;e=h[481037+d>>0]|0;if(m>>>0>e>>>0){l=h[481030+d>>0]|0;j=7;g=0;k=e;i=c;do{g=((h[c+(k>>>3)>>0]|0)>>>(k&7^7)&1)<<j|g;if(!j){b[i>>0]=g;i=i+1|0;j=7;g=0}else j=j+-1|0;k=k+l|0}while(k>>>0<m>>>0);if((j|0)!=7){b[i>>0]=g;i=a}else i=a}else i=a;break}case 2:{l=f[a>>2]|0;e=h[481037+d>>0]|0;if(l>>>0>e>>>0){m=h[481030+d>>0]|0;i=c;j=6;g=0;k=e;do{g=((h[c+(k>>>2)>>0]|0)>>>(k<<1&6^6)&3)<<j|g;if(!j){b[i>>0]=g;i=i+1|0;j=6;g=0}else j=j+-2|0;k=k+m|0}while(k>>>0<l>>>0);if((j|0)!=6){b[i>>0]=g;i=a}else i=a}else i=a;break}case 4:{l=f[a>>2]|0;e=h[481037+d>>0]|0;if(l>>>0>e>>>0){m=h[481030+d>>0]|0;k=e;g=0;i=4;j=c;do{g=((h[c+(k>>>1)>>0]|0)>>>(k<<2&4^4)&15)<<i|g;if(!i){b[j>>0]=g;g=0;i=4;j=j+1|0}else i=i+-4|0;k=k+m|0}while(k>>>0<l>>>0);if((i|0)!=4){b[j>>0]=g;i=a}else i=a}else i=a;break}default:{m=f[a>>2]|0;j=(e&255)>>>3;e=h[481037+d>>0]|0;if(m>>>0>e>>>0){k=h[481030+d>>0]|0;g=e;i=c;while(1){l=c+(W(g,j)|0)|0;if((i|0)!=(l|0))YDb(i|0,l|0,j|0)|0;g=g+k|0;if(g>>>0>=m>>>0){i=a;break}else i=i+j|0}}else i=a}}g=h[481030+d>>0]|0;g=(((f[i>>2]|0)+-1+g-e|0)>>>0)/(g>>>0)|0;f[i>>2]=g;n=b[n>>0]|0;e=n&255;if((n&255)>7)e=W(e>>>3,g)|0;else e=((W(g,e)|0)+7|0)>>>3;f[a+4>>2]=e;return}function okb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;x=b[a+434>>0]|0;D=c+4|0;A=f[D>>2]|0;E=a+621|0;F=b[E>>0]|0;d=F&255;i=((h[c+11>>0]|0)+7|0)>>>3;B=a+380|0;y=f[B>>2]|0;C=a+384|0;z=f[C>>2]|0;w=x&255;if(!(x<<24>>24==8|(w&8|0)==0)){if(!A)c=0;else{c=0;e=0;g=z;do{g=g+1|0;u=b[g>>0]|0;v=u&255;c=(u<<24>>24>-1?v:256-v|0)+c|0;e=e+1|0}while((e|0)!=(A|0))}if((b[a+620>>0]|0)==2){g=c&65535;e=c>>>10&4194240;if(!(F<<24>>24))c=g;else{k=f[a+624>>2]|0;l=a+628|0;c=g;g=0;do{if(!(b[k+g>>0]|0)){v=j[(f[l>>2]|0)+(g<<1)>>1]|0;e=(W(e,v)|0)>>>8;c=(W(c,v)|0)>>>8}g=g+1|0}while((g|0)!=(d|0))}u=j[f[a+636>>2]>>1]|0;v=W(e,u)|0;c=(v>>>3<<10)+((W(c,u)|0)>>>3)|0;c=v>>>0>33553927?2147483647:c}}else c=2147483647;if(x<<24>>24!=16)if(w&16){r=a+620|0;if((b[r>>0]|0)==2){g=c&65535;e=c>>>10&4194240;if(F<<24>>24){l=f[a+624>>2]|0;m=a+632|0;k=0;do{if((b[l+k>>0]|0)==1){v=j[(f[m>>2]|0)+(k<<1)>>1]|0;g=(W(g,v)|0)>>>8;e=(W(e,v)|0)>>>8}k=k+1|0}while((k|0)!=(d|0))}q=j[(f[a+640>>2]|0)+2>>1]|0;v=W(e,q)|0;q=(v>>>3<<10)+((W(g,q)|0)>>>3)|0;q=v>>>0>33553927?2147483647:q}else q=c;p=z+1|0;s=a+388|0;n=f[s>>2]|0;k=n+1|0;if(!i){l=0;e=0;g=p}else{o=i+1|0;g=z+o|0;m=0;e=0;l=p;while(1){u=b[l>>0]|0;b[k>>0]=u;v=u&255;e=(u<<24>>24>-1?v:256-v|0)+e|0;m=m+1|0;if((m|0)==(i|0))break;else{k=k+1|0;l=l+1|0}}l=i;k=n+o|0}a:do if(l>>>0<A>>>0){m=p;while(1){v=(h[g>>0]|0)-(h[m>>0]|0)|0;b[k>>0]=v;v=v&255;e=(v>>>0<128?v:256-v|0)+e|0;if(e>>>0>q>>>0)break a;l=l+1|0;if(l>>>0>=A>>>0)break;else{m=m+1|0;k=k+1|0;g=g+1|0}}}while(0);if((b[r>>0]|0)==2){g=e&65535;e=e>>>10&4194240;if(F<<24>>24){l=f[a+624>>2]|0;m=a+632|0;k=0;do{if((b[l+k>>0]|0)==1){v=j[(f[m>>2]|0)+(k<<1)>>1]|0;g=(W(g,v)|0)>>>8;e=(W(e,v)|0)>>>8}k=k+1|0}while((k|0)!=(d|0))}u=j[(f[a+640>>2]|0)+2>>1]|0;v=W(e,u)|0;e=(v>>>3<<10)+((W(g,u)|0)>>>3)|0;e=v>>>0>33553927?2147483647:e}if(e>>>0<c>>>0){g=f[s>>2]|0;c=e}else g=z}else g=z;else{l=z+1|0;p=a+388|0;n=f[p>>2]|0;g=n+1|0;if(!i){k=l;e=0}else{o=i+1|0;k=z+o|0;m=l;e=0;while(1){b[g>>0]=b[m>>0]|0;e=e+1|0;if((e|0)==(i|0))break;else{m=m+1|0;g=g+1|0}}g=n+o|0;e=i}if(e>>>0<A>>>0)while(1){b[g>>0]=(h[k>>0]|0)-(h[l>>0]|0);e=e+1|0;if((e|0)==(A|0))break;else{l=l+1|0;k=k+1|0;g=g+1|0}}g=f[p>>2]|0}if(x<<24>>24!=32){if(w&32){p=a+620|0;k=b[p>>0]|0;if(k<<24>>24==2){l=c&65535;e=c>>>10&4194240;if(F<<24>>24){n=f[a+624>>2]|0;o=a+632|0;m=0;do{if((b[n+m>>0]|0)==2){v=j[(f[o>>2]|0)+(m<<1)>>1]|0;l=(W(l,v)|0)>>>8;e=(W(e,v)|0)>>>8}m=m+1|0}while((m|0)!=(d|0))}o=j[(f[a+640>>2]|0)+4>>1]|0;v=W(e,o)|0;o=(v>>>3<<10)+((W(l,o)|0)>>>3)|0;o=v>>>0>33553927?2147483647:o}else o=c;q=a+392|0;if(!A)e=0;else{k=0;e=0;l=z;m=f[q>>2]|0;n=y;do{n=n+1|0;m=m+1|0;l=l+1|0;v=(h[l>>0]|0)-(h[n>>0]|0)|0;b[m>>0]=v;v=v&255;e=(v>>>0<128?v:256-v|0)+e|0;k=k+1|0}while(e>>>0<=o>>>0&k>>>0<A>>>0);k=b[p>>0]|0}if(k<<24>>24==2){k=e&65535;e=e>>>10&4194240;if(F<<24>>24){m=f[a+624>>2]|0;n=a+628|0;l=0;do{if((b[m+l>>0]|0)==2){v=j[(f[n>>2]|0)+(l<<1)>>1]|0;k=(W(k,v)|0)>>>8;e=(W(e,v)|0)>>>8}l=l+1|0}while((l|0)!=(d|0))}u=j[(f[a+636>>2]|0)+4>>1]|0;v=W(e,u)|0;e=(v>>>3<<10)+((W(k,u)|0)>>>3)|0;e=v>>>0>33553927?2147483647:e}if(e>>>0<c>>>0){g=f[q>>2]|0;c=e}}}else{m=a+392|0;if(A|0){e=0;g=z;k=f[m>>2]|0;l=y;do{l=l+1|0;k=k+1|0;g=g+1|0;b[k>>0]=(h[g>>0]|0)-(h[l>>0]|0);e=e+1|0}while((e|0)!=(A|0))}g=f[m>>2]|0}if(x<<24>>24!=64)if(w&64){t=a+620|0;if((b[t>>0]|0)==2){k=c&65535;e=c>>>10&4194240;if(F<<24>>24){m=f[a+624>>2]|0;n=a+632|0;l=0;do{if((b[m+l>>0]|0)==3){v=j[(f[n>>2]|0)+(l<<1)>>1]|0;k=(W(k,v)|0)>>>8;e=(W(e,v)|0)>>>8}l=l+1|0}while((l|0)!=(d|0))}s=j[(f[a+640>>2]|0)+6>>1]|0;v=W(e,s)|0;s=(v>>>3<<10)+((W(k,s)|0)>>>3)|0;s=v>>>0>33553927?2147483647:s}else s=c;o=z+1|0;u=a+396|0;q=f[u>>2]|0;m=y+1|0;l=q+1|0;if(!i){n=0;e=0;k=o}else{r=i+1|0;p=y+r|0;n=0;e=0;k=o;while(1){v=(h[k>>0]|0)-((h[m>>0]|0)>>>1&255)|0;b[l>>0]=v;v=v&255;e=(v>>>0<128?v:256-v|0)+e|0;n=n+1|0;if((n|0)==(i|0))break;else{m=m+1|0;l=l+1|0;k=k+1|0}}n=i;m=p;l=q+r|0;k=z+r|0}b:do if(n>>>0<A>>>0)while(1){v=(h[k>>0]|0)-(((h[o>>0]|0)+(h[m>>0]|0)|0)>>>1)|0;b[l>>0]=v;v=v&255;e=(v>>>0<128?v:256-v|0)+e|0;if(e>>>0>s>>>0)break b;n=n+1|0;if(n>>>0>=A>>>0)break;else{o=o+1|0;m=m+1|0;l=l+1|0;k=k+1|0}}while(0);if((b[t>>0]|0)==2){k=e&65535;e=e>>>10&4194240;if(F<<24>>24){m=f[a+624>>2]|0;n=a+628|0;l=0;do{if(!(b[m+l>>0]|0)){v=j[(f[n>>2]|0)+(l<<1)>>1]|0;k=(W(k,v)|0)>>>8;e=(W(e,v)|0)>>>8}l=l+1|0}while((l|0)!=(d|0))}t=j[(f[a+636>>2]|0)+6>>1]|0;v=W(e,t)|0;e=(v>>>3<<10)+((W(k,t)|0)>>>3)|0;e=v>>>0>33553927?2147483647:e}if(e>>>0<c>>>0){g=f[u>>2]|0;v=e}else v=c}else v=c;else{m=z+1|0;q=a+396|0;o=f[q>>2]|0;k=y+1|0;g=o+1|0;if(!i){l=0;e=m}else{p=i+1|0;n=y+p|0;l=0;e=m;while(1){b[g>>0]=(h[e>>0]|0)-((h[k>>0]|0)>>>1&255);l=l+1|0;if((l|0)==(i|0))break;else{k=k+1|0;g=g+1|0;e=e+1|0}}l=i;k=n;g=o+p|0;e=z+p|0}if(l>>>0<A>>>0)while(1){b[g>>0]=(h[e>>0]|0)-(((h[m>>0]|0)+(h[k>>0]|0)|0)>>>1);l=l+1|0;if((l|0)==(A|0))break;else{m=m+1|0;k=k+1|0;g=g+1|0;e=e+1|0}}g=f[q>>2]|0;v=c}if(x<<24>>24!=-128){if(w&128){t=a+620|0;if((b[t>>0]|0)==2){e=v&65535;c=v>>>10&4194240;if(F<<24>>24){l=f[a+624>>2]|0;m=a+632|0;k=0;do{if((b[l+k>>0]|0)==4){x=j[(f[m>>2]|0)+(k<<1)>>1]|0;e=(W(e,x)|0)>>>8;c=(W(c,x)|0)>>>8}k=k+1|0}while((k|0)!=(d|0))}s=j[(f[a+640>>2]|0)+8>>1]|0;x=W(c,s)|0;s=(x>>>3<<10)+((W(e,s)|0)>>>3)|0;s=x>>>0>33553927?2147483647:s}else s=v;q=z+1|0;u=a+400|0;o=f[u>>2]|0;r=y+1|0;k=o+1|0;if(!i){i=0;c=0;l=r;e=q}else{p=i+1|0;l=y+p|0;m=0;c=0;n=r;e=q;while(1){y=(h[e>>0]|0)-(h[n>>0]|0)|0;b[k>>0]=y;y=y&255;c=(y>>>0<128?y:256-y|0)+c|0;m=m+1|0;if((m|0)==(i|0))break;else{n=n+1|0;k=k+1|0;e=e+1|0}}k=o+p|0;e=z+p|0}c:do if(i>>>0<A>>>0){n=q;m=r;while(1){y=h[l>>0]|0;x=h[m>>0]|0;z=h[n>>0]|0;w=y-x|0;p=z-x|0;q=(w|0)<0?0-w|0:w;r=(p|0)<0?0-p|0:p;w=p+w|0;w=(w|0)<0?0-w|0:w;z=(h[e>>0]|0)-((q|0)>(r|0)|(q|0)>(w|0)?((r|0)>(w|0)?x:y):z)|0;b[k>>0]=z;z=z&255;c=(z>>>0<128?z:256-z|0)+c|0;if(c>>>0>s>>>0)break c;i=i+1|0;if(i>>>0>=A>>>0)break;else{n=n+1|0;m=m+1|0;l=l+1|0;k=k+1|0;e=e+1|0}}}while(0);if((b[t>>0]|0)==2){e=c&65535;c=c>>>10&4194240;if(F<<24>>24){k=f[a+624>>2]|0;l=a+628|0;i=0;do{if((b[k+i>>0]|0)==4){A=j[(f[l>>2]|0)+(i<<1)>>1]|0;e=(W(e,A)|0)>>>8;c=(W(c,A)|0)>>>8}i=i+1|0}while((i|0)!=(d|0))}z=j[(f[a+636>>2]|0)+8>>1]|0;A=W(c,z)|0;c=(A>>>3<<10)+((W(e,z)|0)>>>3)|0;c=A>>>0>33553927?2147483647:c}if(c>>>0<v>>>0)g=f[u>>2]|0}}else{l=z+1|0;q=a+400|0;o=f[q>>2]|0;k=y+1|0;e=o+1|0;if(!i){i=0;g=k;c=l}else{p=i+1|0;g=y+p|0;m=0;n=k;c=l;while(1){b[e>>0]=(h[c>>0]|0)-(h[n>>0]|0);m=m+1|0;if((m|0)==(i|0))break;else{n=n+1|0;e=e+1|0;c=c+1|0}}e=o+p|0;c=z+p|0}if(i>>>0<A>>>0)while(1){y=h[g>>0]|0;x=h[k>>0]|0;z=h[l>>0]|0;w=y-x|0;t=z-x|0;u=(w|0)<0?0-w|0:w;v=(t|0)<0?0-t|0:t;w=t+w|0;w=(w|0)<0?0-w|0:w;b[e>>0]=(h[c>>0]|0)-((u|0)>(v|0)|(u|0)>(w|0)?((v|0)>(w|0)?x:y):z);i=i+1|0;if((i|0)==(A|0))break;else{l=l+1|0;k=k+1|0;g=g+1|0;e=e+1|0;c=c+1|0}}g=f[q>>2]|0}Ljb(a,g,(f[D>>2]|0)+1|0,0);c=f[B>>2]|0;if(c|0){f[B>>2]=f[C>>2];f[C>>2]=c}mkb(a);C=a+480|0;D=(f[C>>2]|0)+1|0;f[C>>2]=D;if(((f[a+476>>2]|0)+-1|0)>>>0<D>>>0)pkb(a);if(!(b[E>>0]|0))return;e=a+624|0;if((F&255)>1){c=1;do{F=f[e>>2]|0;b[F+c>>0]=b[F+(c+-1)>>0]|0;c=c+1|0}while((c|0)!=(d|0))}else d=1;b[(f[e>>2]|0)+d>>0]=b[g>>0]|0;return}function pkb(a){a=a|0;if(!a)return;if((f[a+372>>2]|0)>>>0>=(f[a+356>>2]|0)>>>0)return;Ljb(a,0,0,2);f[a+480>>2]=0;oib(a);return}function qkb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,i=0;i=u;u=u+1024|0;e=i;if(b|0)if(!a)do b=b-(b>>>0<1024?b:1024)|0;while((b|0)!=0);else do{d=b>>>0<1024?b:1024;b=b-d|0;sib(a,e,d);Hjb(a,e,d)}while((b|0)!=0);d=a+376|0;b=a+212|0;c=f[b>>2]|0;if(!(f[d>>2]&536870912)){f[a+800>>2]=129;sib(a,e,4);if(c&2048|0)g=10}else{f[a+800>>2]=129;sib(a,e,4);if((c&768|0)==768)g=10}if((g|0)==10){a=0;u=i;return a|0}if(((h[e+1>>0]|0)<<16|(h[e>>0]|0)<<24|(h[e+2>>0]|0)<<8|(h[e+3>>0]|0)|0)==(f[a+412>>2]|0)){a=0;u=i;return a|0}b=f[b>>2]|0;if(!(f[d>>2]&536870912)){if(!(b&1024))Cib(a,479111)}else if(b&512|0)Cib(a,479111);rkb(a,479111);a=1;u=i;return a|0}function rkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=u;u=u+224|0;c=d;if(!a){rib(0,b);u=d;return}else{Bib(f[a+376>>2]|0,c,b);rib(a,c);u=d;return}}function skb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0,i=0;e=e+-1|0;if(e>>>0>=4)return;g=a+808|0;if(!(f[g>>2]|0)){i=(h[a+438>>0]|0)+7|0;f[g>>2]=241;f[a+812>>2]=242;f[a+816>>2]=243;f[a+820>>2]=(i&504|0)==8?245:244}Fj[f[a+808+(e<<2)>>2]&511](b,c,d);return}function tkb(a,c){a=a|0;c=c|0;var e=0,g=0,i=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,X=0,Y=0,Z=0,_=0;_=u;u=u+16|0;V=_;Z=a+384|0;i=f[Z>>2]|0;if(!i)kib(a,479121);X=a+212|0;if((f[X>>2]&16448|0)==16384)kib(a,479137);Y=a+216|0;k=f[Y>>2]|0;do if(k&4096|0){w=c+8|0;if((b[w>>0]|0)!=3){i=i+1|0;if((k&33554432|0)==0|(d[a+428>>1]|0)==0){vkb(c,i,0);break}else{vkb(c,i,a+532|0);break}}p=i+1|0;s=f[a+416>>2]|0;q=f[a+528>>2]|0;o=d[a+428>>1]|0;r=o&65535;t=f[c>>2]|0;v=c+9|0;i=b[v>>0]|0;if((i&255)>=8){if(i<<24>>24!=8)break}else{switch(i<<24>>24){case 1:{if(t|0){i=0;k=p+((t+-1|0)>>>3)|0;l=t+7&7^7;m=p+t|0;while(1){m=m+-1|0;b[m>>0]=(1<<l&h[k>>0]|0)!=0&1;n=(l|0)==7;i=i+1|0;if((i|0)==(t|0))break;else{k=n?k+-1|0:k;l=n?0:l+1|0}}}break}case 2:{if(t|0){i=0;k=p+((t+-1|0)>>>2)|0;l=(t<<1)+6&6^6;m=p+t|0;while(1){m=m+-1|0;b[m>>0]=(h[k>>0]|0)>>>l&3;n=(l|0)==6;i=i+1|0;if((i|0)==(t|0))break;else{k=n?k+-1|0:k;l=n?0:l+2|0}}}break}case 4:{if(t|0){i=0;k=p+((t+-1|0)>>>1)|0;l=t<<2&4;m=p+t|0;while(1){m=m+-1|0;b[m>>0]=(h[k>>0]|0)>>>l&15;n=(l|0)==4;i=i+1|0;if((i|0)==(t|0))break;else{k=n?k+-1|0:k;l=n?0:l+4|0}}}break}default:{}}b[v>>0]=8;b[c+11>>0]=8;f[c+4>>2]=t}k=p+t+-1|0;if(!(o<<16>>16)){m=t*3|0;if(t|0){l=0;i=p+m|0;while(1){b[i+-1>>0]=b[s+((h[k>>0]|0)*3|0)+2>>0]|0;b[i+-2>>0]=b[s+((h[k>>0]|0)*3|0)+1>>0]|0;i=i+-3|0;b[i>>0]=b[s+((h[k>>0]|0)*3|0)>>0]|0;l=l+1|0;if((l|0)==(t|0))break;else k=k+-1|0}}b[v>>0]=8;b[c+11>>0]=24;f[c+4>>2]=m;b[w>>0]=2;b[c+10>>0]=3;break}n=t<<2;if(t|0){m=0;l=p+n|0;while(1){i=h[k>>0]|0;if(i>>>0<r>>>0)i=b[q+i>>0]|0;else i=-1;b[l+-1>>0]=i;b[l+-2>>0]=b[s+((h[k>>0]|0)*3|0)+2>>0]|0;b[l+-3>>0]=b[s+((h[k>>0]|0)*3|0)+1>>0]|0;l=l+-4|0;b[l>>0]=b[s+((h[k>>0]|0)*3|0)>>0]|0;m=m+1|0;if((m|0)==(t|0))break;else k=k+-1|0}}b[v>>0]=8;b[c+11>>0]=32;f[c+4>>2]=n;b[w>>0]=6;b[c+10>>0]=4}while(0);i=f[Y>>2]|0;a:do if((i&262272|0)==262144){switch(b[c+8>>0]|0){case 4:case 6:break;default:break a}Cjb(c,(f[Z>>2]|0)+1|0,0);i=f[Y>>2]|0}while(0);do if((i&6291456|0)!=0?(A=(f[Z>>2]|0)+1|0,H=c+8|0,x=h[H>>0]|0,(x&3|0)==2):0){C=j[a+702>>1]|0;D=j[a+704>>1]|0;E=32768-C-D|0;G=f[c>>2]|0;i=(x&4|0)!=0;F=c+9|0;b:do if((b[F>>0]|0)==8){s=f[a+500>>2]|0;if(s|0?(y=f[a+504>>2]|0,y|0):0){if(!G){k=0;break}t=a+492|0;if(i){r=A;o=A;p=0;k=0;while(1){i=b[r>>0]|0;l=b[r+1>>0]|0;q=r+3|0;m=b[r+2>>0]|0;n=i&255;if(i<<24>>24==l<<24>>24?i<<24>>24==m<<24>>24:0){l=f[t>>2]|0;if(l){i=l+n|0;L=50}}else{k=k|1;i=s+(((W(h[y+n>>0]|0,C)|0)+16384+(W(h[y+(l&255)>>0]|0,D)|0)+(W(E,h[y+(m&255)>>0]|0)|0)|0)>>>15)|0;L=50}if((L|0)==50){L=0;i=b[i>>0]|0}b[o>>0]=i;b[o+1>>0]=b[q>>0]|0;p=p+1|0;if((p|0)==(G|0))break b;else{r=r+4|0;o=o+2|0}}}else{q=A;o=A;p=0;k=0;while(1){i=b[q>>0]|0;l=b[q+1>>0]|0;m=b[q+2>>0]|0;q=q+3|0;n=i&255;if(i<<24>>24==l<<24>>24?i<<24>>24==m<<24>>24:0){l=f[t>>2]|0;if(l){i=l+n|0;L=56}}else{k=k|1;i=s+(((W(h[y+n>>0]|0,C)|0)+16384+(W(h[y+(l&255)>>0]|0,D)|0)+(W(E,h[y+(m&255)>>0]|0)|0)|0)>>>15)|0;L=56}if((L|0)==56){L=0;i=b[i>>0]|0}b[o>>0]=i;p=p+1|0;if((p|0)==(G|0))break b;else o=o+1|0}}}if(G)if(i){p=A;n=A;o=0;k=0;while(1){i=b[p>>0]|0;l=b[p+1>>0]|0;m=b[p+2>>0]|0;if(!(i<<24>>24==l<<24>>24?i<<24>>24==m<<24>>24:0)){k=k|1;i=((W(l&255,D)|0)+(W(i&255,C)|0)+(W(E,m&255)|0)|0)>>>15&255}b[n>>0]=i;b[n+1>>0]=b[p+3>>0]|0;o=o+1|0;if((o|0)==(G|0))break;else{p=p+4|0;n=n+2|0}}}else{p=A;n=A;o=0;k=0;while(1){i=b[p>>0]|0;l=b[p+1>>0]|0;m=b[p+2>>0]|0;if(!(i<<24>>24==l<<24>>24?i<<24>>24==m<<24>>24:0)){k=k|1;i=((W(l&255,D)|0)+(W(i&255,C)|0)+(W(E,m&255)|0)|0)>>>15&255}b[n>>0]=i;o=o+1|0;if((o|0)==(G|0))break;else{p=p+3|0;n=n+1|0}}}else k=0}else{x=f[a+512>>2]|0;if(x|0?(B=f[a+508>>2]|0,B|0):0){if(!G){k=0;break}y=a+484|0;z=a+496|0;if(i){w=A;s=A;t=0;k=0;while(1){i=b[w>>0]|0;l=b[w+1>>0]|0;q=i&255;r=l&255;A=q<<8|r;m=h[w+2>>0]|0;n=h[w+3>>0]|0;v=w+6|0;o=h[w+4>>0]|0;p=h[w+5>>0]|0;if((A|0)==(m<<8|n|0)?(A|0)==(o<<8|p|0):0){m=f[z>>2]|0;if(m){i=d[(f[m+(r>>>(f[y>>2]|0)<<2)>>2]|0)+(q<<1)>>1]|0;l=i&255;i=(i&65535)>>>8&255}}else{l=f[y>>2]|0;i=(W(j[(f[x+(r>>>l<<2)>>2]|0)+(q<<1)>>1]|0,C)|0)+16384+(W(j[(f[x+(n>>>l<<2)>>2]|0)+(m<<1)>>1]|0,D)|0)+(W(E,j[(f[x+(p>>>l<<2)>>2]|0)+(o<<1)>>1]|0)|0)|0;i=d[(f[B+((i>>>15&255)>>>l<<2)>>2]|0)+((i>>>23&255)<<1)>>1]|0;l=i&255;i=(i&65535)>>>8&255;k=k|1}b[s>>0]=i;b[s+1>>0]=l;b[s+2>>0]=b[v>>0]|0;b[s+3>>0]=b[w+7>>0]|0;t=t+1|0;if((t|0)==(G|0))break b;else{w=w+8|0;s=s+4|0}}}else{v=A;s=A;t=0;k=0;while(1){i=b[v>>0]|0;l=b[v+1>>0]|0;q=i&255;r=l&255;A=q<<8|r;m=h[v+2>>0]|0;n=h[v+3>>0]|0;o=h[v+4>>0]|0;p=h[v+5>>0]|0;v=v+6|0;if((A|0)==(m<<8|n|0)?(A|0)==(o<<8|p|0):0){m=f[z>>2]|0;if(m){i=d[(f[m+(r>>>(f[y>>2]|0)<<2)>>2]|0)+(q<<1)>>1]|0;l=i&255;i=(i&65535)>>>8&255}}else{l=f[y>>2]|0;i=(W(j[(f[x+(r>>>l<<2)>>2]|0)+(q<<1)>>1]|0,C)|0)+16384+(W(j[(f[x+(n>>>l<<2)>>2]|0)+(m<<1)>>1]|0,D)|0)+(W(E,j[(f[x+(p>>>l<<2)>>2]|0)+(o<<1)>>1]|0)|0)|0;i=d[(f[B+((i>>>15&255)>>>l<<2)>>2]|0)+((i>>>23&255)<<1)>>1]|0;l=i&255;i=(i&65535)>>>8&255;k=k|1}b[s>>0]=i;b[s+1>>0]=l;t=t+1|0;if((t|0)==(G|0))break b;else s=s+2|0}}}if(G)if(i){l=0;m=A;i=A;k=0;while(1){z=h[i>>0]<<8|h[i+1>>0];A=h[i+2>>0]<<8|h[i+3>>0];B=h[i+4>>0]<<8|h[i+5>>0];k=k|((z|0)!=(A|0)|(z|0)!=(B|0))&1;B=(W(z,C)|0)+16384+(W(A,D)|0)+(W(B,E)|0)|0;b[m>>0]=B>>>23;b[m+1>>0]=B>>>15;b[m+2>>0]=b[i+6>>0]|0;b[m+3>>0]=b[i+7>>0]|0;l=l+1|0;if((l|0)==(G|0))break;else{m=m+4|0;i=i+8|0}}}else{l=0;m=A;i=A;k=0;while(1){z=h[i>>0]<<8|h[i+1>>0];A=h[i+2>>0]<<8|h[i+3>>0];B=h[i+4>>0]<<8|h[i+5>>0];k=k|((z|0)!=(A|0)|(z|0)!=(B|0))&1;B=(W(z,C)|0)+16384+(W(A,D)|0)+(W(B,E)|0)|0;b[m>>0]=B>>>23;b[m+1>>0]=B>>>15;l=l+1|0;if((l|0)==(G|0))break;else{m=m+2|0;i=i+6|0}}}else k=0}while(0);E=c+10|0;i=b[E>>0]|0;b[E>>0]=(i&255)+254;b[H>>0]=b[H>>0]&-3;i=W(h[F>>0]|0,i+-2&255)|0;b[c+11>>0]=i;i=i&255;if(i>>>0>7)i=W(i>>>3,G)|0;else i=((W(i,G)|0)+7|0)>>>3;f[c+4>>2]=i;if(!k){g=f[Y>>2]|0;break}b[a+700>>0]=1;i=f[Y>>2]|0;if((i&6291456|0)==4194304){rib(a,479155);i=f[Y>>2]|0}if((i&6291456|0)==2097152)kib(a,479155);else g=i}else g=i;while(0);if((g&16384|0)!=0?(f[a+208>>2]&2048|0)==0:0){wkb(c,(f[Z>>2]|0)+1|0);g=f[Y>>2]|0}c:do if(g&128|0){i=(f[Z>>2]|0)+1|0;t=f[a+492>>2]|0;r=f[a+500>>2]|0;s=f[a+504>>2]|0;D=f[a+496>>2]|0;y=f[a+508>>2]|0;z=f[a+512>>2]|0;E=f[a+484>>2]|0;A=(f[X>>2]&8192|0)==0;F=f[c>>2]|0;switch(b[c+8>>0]|0){case 0:{switch(b[c+9>>0]|0){case 1:{if(!F)break c;m=a+460|0;n=j[a+540>>1]|0;k=0;l=7;while(1){g=h[i>>0]|0;if((g>>>l&1|0)==(n|0))b[i>>0]=j[m>>1]<<l|32639>>>(7-l|0)&g;g=(l|0)==0;k=k+1|0;if((k|0)==(F|0))break;else{l=g?7:l+-1|0;i=g?i+1|0:i}}break}case 2:{g=(F|0)!=0;if(!t){if(!g)break c;m=a+460|0;n=j[a+540>>1]|0;k=0;l=6;while(1){g=h[i>>0]|0;if((g>>>l&3|0)==(n|0))b[i>>0]=j[m>>1]<<l|16191>>>(6-l|0)&g;g=(l|0)==0;k=k+1|0;if((k|0)==(F|0))break c;else{l=g?6:l+-2|0;i=g?i+1|0:i}}}if(!g)break c;n=a+460|0;o=j[a+540>>1]|0;l=0;m=6;while(1){g=h[i>>0]|0;k=g>>>m&3;if((k|0)==(o|0))g=j[n>>1]<<m&255|16191>>>(6-m|0)&g;else g=(h[t+(k<<2|k|k<<4|k<<6)>>0]|0)>>>6<<m|16191>>>(6-m|0)&g;b[i>>0]=g;g=(m|0)==0;l=l+1|0;if((l|0)==(F|0))break;else{m=g?6:m+-2|0;i=g?i+1|0:i}}break}case 4:{g=(F|0)!=0;if(!t){if(!g)break c;m=a+460|0;n=j[a+540>>1]|0;k=0;l=4;while(1){g=h[i>>0]|0;if((g>>>l&15|0)==(n|0))b[i>>0]=j[m>>1]<<l|3855>>>(4-l|0)&g;g=(l|0)==0;k=k+1|0;if((k|0)==(F|0))break c;else{l=g?4:l+-4|0;i=g?i+1|0:i}}}if(!g)break c;n=a+460|0;o=j[a+540>>1]|0;l=0;m=4;while(1){g=h[i>>0]|0;k=g>>>m&15;if((k|0)==(o|0))g=j[n>>1]<<m&255|3855>>>(4-m|0)&g;else g=(h[t+(k<<4|k)>>0]|0)>>>4<<m|3855>>>(4-m|0)&g;b[i>>0]=g;g=(m|0)==0;l=l+1|0;if((l|0)==(F|0))break;else{m=g?4:m+-4|0;i=g?i+1|0:i}}break}case 8:{g=(F|0)!=0;if(!t){if(!g)break c;k=a+460|0;l=j[a+540>>1]|0;g=i;i=0;while(1){if((h[g>>0]|0)==(l|0))b[g>>0]=d[k>>1];i=i+1|0;if((i|0)==(F|0))break c;else g=g+1|0}}if(!g)break c;l=a+460|0;m=j[a+540>>1]|0;k=0;while(1){g=h[i>>0]|0;if((g|0)==(m|0))g=d[l>>1]&255;else g=b[t+g>>0]|0;b[i>>0]=g;k=k+1|0;if((k|0)==(F|0))break;else i=i+1|0}break}case 16:{g=(F|0)!=0;if(!D){if(!g)break c;l=a+460|0;m=j[a+540>>1]|0;g=i;i=0;while(1){k=g+1|0;if((h[g>>0]<<8|h[k>>0]|0)==(m|0)){L=d[l>>1]|0;b[g>>0]=(L&65535)>>>8;b[k>>0]=L}i=i+1|0;if((i|0)==(F|0))break;else g=g+2|0}}else{if(!g)break c;n=a+460|0;o=j[a+540>>1]|0;l=0;while(1){g=h[i>>0]|0;m=i+1|0;k=h[m>>0]|0;if((g<<8|k|0)==(o|0))g=n;else g=(f[D+(k>>>E<<2)>>2]|0)+(g<<1)|0;L=d[g>>1]|0;b[i>>0]=(L&65535)>>>8;b[m>>0]=L;l=l+1|0;if((l|0)==(F|0))break;else i=i+2|0}}break}default:break c}break}case 2:{if((b[c+9>>0]|0)==8){g=(F|0)!=0;if(!t){if(!g)break c;k=a+536|0;l=a+538|0;m=a+454|0;n=a+456|0;o=a+458|0;p=j[a+534>>1]|0;g=0;while(1){if(((h[i>>0]|0)==(p|0)?(I=i+1|0,(h[I>>0]|0)==(j[k>>1]|0)):0)?(J=i+2|0,(h[J>>0]|0)==(j[l>>1]|0)):0){b[i>>0]=d[m>>1];b[I>>0]=d[n>>1];b[J>>0]=d[o>>1]}g=g+1|0;if((g|0)==(F|0))break c;else i=i+3|0}}if(!g)break c;n=a+536|0;o=a+538|0;p=a+454|0;q=a+456|0;r=a+458|0;s=j[a+534>>1]|0;g=0;while(1){k=h[i>>0]|0;l=i+1|0;m=h[l>>0]|0;if(((k|0)==(s|0)?(m|0)==(j[n>>1]|0):0)?(K=i+2|0,(h[K>>0]|0)==(j[o>>1]|0)):0){b[i>>0]=d[p>>1];b[l>>0]=d[q>>1];b[K>>0]=d[r>>1]}else{b[i>>0]=b[t+k>>0]|0;b[l>>0]=b[t+m>>0]|0;L=i+2|0;b[L>>0]=b[t+(h[L>>0]|0)>>0]|0}g=g+1|0;if((g|0)==(F|0))break c;else i=i+3|0}}g=(F|0)!=0;if(!D){if(!g)break c;p=a+536|0;q=a+538|0;r=a+454|0;s=a+456|0;t=a+458|0;v=j[a+534>>1]|0;o=0;while(1){g=i+1|0;k=i+2|0;l=i+3|0;m=i+4|0;n=i+5|0;L=h[m>>0]<<8|h[n>>0];if(((h[i>>0]<<8|h[g>>0]|0)==(v|0)?(h[k>>0]<<8|h[l>>0]|0)==(j[p>>1]|0):0)?(L|0)==(j[q>>1]|0):0){L=d[r>>1]|0;b[i>>0]=(L&65535)>>>8;b[g>>0]=L;L=d[s>>1]|0;b[k>>0]=(L&65535)>>>8;b[l>>0]=L;L=d[t>>1]|0;b[m>>0]=(L&65535)>>>8;b[n>>0]=L}o=o+1|0;if((o|0)==(F|0))break c;else i=i+6|0}}if(!g)break c;x=a+536|0;y=a+538|0;z=a+454|0;A=a+456|0;B=a+458|0;C=j[a+534>>1]|0;w=0;while(1){m=h[i>>0]|0;n=i+1|0;o=h[n>>0]|0;p=i+2|0;q=i+3|0;t=i+4|0;r=h[t>>0]|0;v=i+5|0;s=h[v>>0]|0;l=r<<8|s;if((m<<8|o|0)==(C|0)){g=h[p>>0]|0;k=h[q>>0]|0;if((g<<8|k|0)==(j[x>>1]|0)?(l|0)==(j[y>>1]|0):0){g=d[z>>1]|0;b[i>>0]=(g&65535)>>>8;b[n>>0]=g;g=d[A>>1]|0;b[p>>0]=(g&65535)>>>8;b[q>>0]=g;g=B}else L=184}else{k=h[q>>0]|0;g=h[p>>0]|0;L=184}if((L|0)==184){L=0;K=d[(f[D+(o>>>E<<2)>>2]|0)+(m<<1)>>1]|0;b[i>>0]=(K&65535)>>>8;b[n>>0]=K;g=d[(f[D+(k>>>E<<2)>>2]|0)+(g<<1)>>1]|0;b[p>>0]=(g&65535)>>>8;b[q>>0]=g;g=(f[D+(s>>>E<<2)>>2]|0)+(r<<1)|0}K=d[g>>1]|0;b[t>>0]=(K&65535)>>>8;b[v>>0]=K;w=w+1|0;if((w|0)==(F|0))break;else i=i+6|0}break}case 4:{if((b[c+9>>0]|0)!=8){g=(F|0)!=0;if(!((D|0)!=0&(y|0)!=0&(z|0)!=0)){if(!g)break c;l=a+460|0;k=0;g=i;while(1){i=h[g+2>>0]<<8|h[g+3>>0];switch((i&65535)<<16>>16){case 0:{L=d[l>>1]|0;b[g>>0]=(L&65535)>>>8;b[g+1>>0]=L;break}case -1:break;default:{L=g+1|0;K=(W(h[g>>0]<<8|h[L>>0],i)|0)+((W(i^65535,j[l>>1]|0)|0)+32768)|0;K=(K>>>16)+K|0;b[g>>0]=K>>>24;b[L>>0]=K>>>16}}k=k+1|0;if((k|0)==(F|0))break c;else g=g+4|0}}if(!g)break c;l=a+470|0;m=a+460|0;if(A){k=0;while(1){g=h[i+2>>0]<<8|h[i+3>>0];switch((g&65535)<<16>>16){case -1:{L=i+1|0;K=d[(f[D+((h[L>>0]|0)>>>E<<2)>>2]|0)+(h[i>>0]<<1)>>1]|0;b[i>>0]=(K&65535)>>>8;b[L>>0]=K;break}case 0:{L=d[m>>1]|0;b[i>>0]=(L&65535)>>>8;b[i+1>>0]=L;break}default:{L=i+1|0;K=(W(g,j[(f[z+((h[L>>0]|0)>>>E<<2)>>2]|0)+(h[i>>0]<<1)>>1]|0)|0)+32768+(W(g^65535,j[l>>1]|0)|0)|0;K=(K>>>16)+K|0;K=d[(f[y+((K>>>16&255)>>>E<<2)>>2]|0)+(K>>>24<<1)>>1]|0;b[i>>0]=(K&65535)>>>8;b[L>>0]=K}}k=k+1|0;if((k|0)==(F|0))break c;else i=i+4|0}}else{k=0;while(1){g=h[i+2>>0]<<8|h[i+3>>0];switch((g&65535)<<16>>16){case -1:{L=i+1|0;K=d[(f[D+((h[L>>0]|0)>>>E<<2)>>2]|0)+(h[i>>0]<<1)>>1]|0;b[i>>0]=(K&65535)>>>8;b[L>>0]=K;break}case 0:{L=d[m>>1]|0;b[i>>0]=(L&65535)>>>8;b[i+1>>0]=L;break}default:{L=i+1|0;K=(W(g,j[(f[z+((h[L>>0]|0)>>>E<<2)>>2]|0)+(h[i>>0]<<1)>>1]|0)|0)+32768+(W(g^65535,j[l>>1]|0)|0)|0;K=(K>>>16)+K|0;b[i>>0]=K>>>24;b[L>>0]=K>>>16}}k=k+1|0;if((k|0)==(F|0))break c;else i=i+4|0}}}g=(F|0)!=0;if(!((t|0)!=0&((r|0)!=0&(s|0)!=0))){if(!g)break c;l=a+460|0;k=0;while(1){g=b[i+1>>0]|0;switch(g<<24>>24){case 0:{g=d[l>>1]&255;L=214;break}case -1:break;default:{g=g&255;g=(W(h[i>>0]|0,g)|0)+128+(W(g^255,j[l>>1]|0)|0)|0;g=((g>>>8&255)+g|0)>>>8&255;L=214}}if((L|0)==214){L=0;b[i>>0]=g}k=k+1|0;if((k|0)==(F|0))break c;else i=i+2|0}}if(!g)break c;l=a+470|0;m=a+460|0;if(A){k=0;while(1){L=b[i+1>>0]|0;g=L&255;switch(L<<24>>24){case -1:{g=b[t+(h[i>>0]|0)>>0]|0;break}case 0:{g=d[m>>1]&255;break}default:{g=(W(h[s+(h[i>>0]|0)>>0]|0,g)|0)+128+(W(g^255,j[l>>1]|0)|0)|0;g=b[r+(((g>>>8&255)+g|0)>>>8&255)>>0]|0}}b[i>>0]=g;k=k+1|0;if((k|0)==(F|0))break c;else i=i+2|0}}else{k=0;while(1){L=b[i+1>>0]|0;g=L&255;switch(L<<24>>24){case -1:{g=b[t+(h[i>>0]|0)>>0]|0;break}case 0:{g=d[m>>1]&255;break}default:{g=(W(h[s+(h[i>>0]|0)>>0]|0,g)|0)+128+(W(g^255,j[l>>1]|0)|0)|0;g=((g>>>8&255)+g|0)>>>8&255}}b[i>>0]=g;k=k+1|0;if((k|0)==(F|0))break c;else i=i+2|0}}}case 6:{if((b[c+9>>0]|0)!=8){g=(F|0)!=0;if(!((D|0)!=0&(y|0)!=0&(z|0)!=0)){if(!g)break c;l=a+454|0;m=a+456|0;n=a+458|0;k=0;while(1){g=h[i+6>>0]<<8|h[i+7>>0];switch((g&65535)<<16>>16){case 0:{L=d[l>>1]|0;b[i>>0]=(L&65535)>>>8;b[i+1>>0]=L;L=d[m>>1]|0;b[i+2>>0]=(L&65535)>>>8;b[i+3>>0]=L;L=d[n>>1]|0;b[i+4>>0]=(L&65535)>>>8;b[i+5>>0]=L;break}case -1:break;default:{D=i+1|0;E=i+2|0;H=i+3|0;G=h[E>>0]<<8|h[H>>0];J=i+4|0;L=i+5|0;I=h[J>>0]<<8|h[L>>0];K=g^65535;C=(W(h[i>>0]<<8|h[D>>0],g)|0)+32768+(W(K,j[l>>1]|0)|0)|0;C=(C>>>16)+C|0;b[i>>0]=C>>>24;b[D>>0]=C>>>16;G=(W(G,g)|0)+32768+(W(K,j[m>>1]|0)|0)|0;G=(G>>>16)+G|0;b[E>>0]=G>>>24;b[H>>0]=G>>>16;K=(W(I,g)|0)+32768+(W(K,j[n>>1]|0)|0)|0;K=(K>>>16)+K|0;b[J>>0]=K>>>24;b[L>>0]=K>>>16}}k=k+1|0;if((k|0)==(F|0))break c;else i=i+8|0}}if(!g)break c;r=a+464|0;s=a+454|0;t=a+456|0;v=a+458|0;w=a+466|0;x=a+468|0;q=0;while(1){o=h[i+6>>0]<<8|h[i+7>>0];switch((o&65535)<<16>>16){case -1:{L=i+1|0;K=d[(f[D+((h[L>>0]|0)>>>E<<2)>>2]|0)+(h[i>>0]<<1)>>1]|0;b[i>>0]=(K&65535)>>>8;b[L>>0]=K;L=i+3|0;K=i+2|0;J=d[(f[D+((h[L>>0]|0)>>>E<<2)>>2]|0)+(h[K>>0]<<1)>>1]|0;b[K>>0]=(J&65535)>>>8;b[L>>0]=J;L=i+5|0;J=i+4|0;K=d[(f[D+((h[L>>0]|0)>>>E<<2)>>2]|0)+(h[J>>0]<<1)>>1]|0;b[J>>0]=(K&65535)>>>8;b[L>>0]=K;break}case 0:{L=d[s>>1]|0;b[i>>0]=(L&65535)>>>8;b[i+1>>0]=L;L=d[t>>1]|0;b[i+2>>0]=(L&65535)>>>8;b[i+3>>0]=L;L=d[v>>1]|0;b[i+4>>0]=(L&65535)>>>8;b[i+5>>0]=L;break}default:{m=i+1|0;p=o^65535;l=(W(o,j[(f[z+((h[m>>0]|0)>>>E<<2)>>2]|0)+(h[i>>0]<<1)>>1]|0)|0)+32768+(W(p,j[r>>1]|0)|0)|0;l=(l>>>16)+l|0;g=l>>>16;l=l>>>24;if(A){g=d[(f[y+((g&255)>>>E<<2)>>2]|0)+(l<<1)>>1]|0;k=g&255;g=(g&65535)>>>8&255}else{k=g&255;g=l&255}b[i>>0]=g;b[m>>0]=k;m=i+3|0;n=i+2|0;l=(W(o,j[(f[z+((h[m>>0]|0)>>>E<<2)>>2]|0)+(h[n>>0]<<1)>>1]|0)|0)+32768+(W(p,j[w>>1]|0)|0)|0;l=(l>>>16)+l|0;g=l>>>16;l=l>>>24;if(A){g=d[(f[y+((g&255)>>>E<<2)>>2]|0)+(l<<1)>>1]|0;k=g&255;g=(g&65535)>>>8&255}else{k=g&255;g=l&255}b[n>>0]=g;b[m>>0]=k;m=i+5|0;n=i+4|0;l=(W(o,j[(f[z+((h[m>>0]|0)>>>E<<2)>>2]|0)+(h[n>>0]<<1)>>1]|0)|0)+32768+(W(p,j[x>>1]|0)|0)|0;l=(l>>>16)+l|0;g=l>>>16;l=l>>>24;if(A){g=d[(f[y+((g&255)>>>E<<2)>>2]|0)+(l<<1)>>1]|0;k=g&255;g=(g&65535)>>>8&255}else{k=g&255;g=l&255}b[n>>0]=g;b[m>>0]=k}}q=q+1|0;if((q|0)==(F|0))break c;else i=i+8|0}}g=(F|0)!=0;if(!((t|0)!=0&((r|0)!=0&(s|0)!=0))){if(!g)break c;l=a+454|0;m=a+456|0;n=a+458|0;k=0;while(1){g=b[i+3>>0]|0;switch(g<<24>>24){case 0:{b[i>>0]=d[l>>1];b[i+1>>0]=d[m>>1];b[i+2>>0]=d[n>>1];break}case -1:break;default:{J=g&255;K=J^255;L=(W(h[i>>0]|0,J)|0)+128+(W(K,j[l>>1]|0)|0)|0;b[i>>0]=((L>>>8&255)+L|0)>>>8;L=i+1|0;I=(W(h[L>>0]|0,J)|0)+128+(W(K,j[m>>1]|0)|0)|0;b[L>>0]=((I>>>8&255)+I|0)>>>8;L=i+2|0;K=(W(h[L>>0]|0,J)|0)+128+(W(K,j[n>>1]|0)|0)|0;b[L>>0]=((K>>>8&255)+K|0)>>>8}}k=k+1|0;if((k|0)==(F|0))break c;else i=i+4|0}}if(!g)break c;l=a+464|0;m=a+454|0;n=a+456|0;o=a+458|0;p=a+466|0;q=a+468|0;if(A){k=0;while(1){g=b[i+3>>0]|0;switch(g<<24>>24){case -1:{b[i>>0]=b[t+(h[i>>0]|0)>>0]|0;L=i+1|0;b[L>>0]=b[t+(h[L>>0]|0)>>0]|0;L=i+2|0;b[L>>0]=b[t+(h[L>>0]|0)>>0]|0;break}case 0:{b[i>>0]=d[m>>1];b[i+1>>0]=d[n>>1];b[i+2>>0]=d[o>>1];break}default:{J=g&255;K=J^255;L=(W(h[s+(h[i>>0]|0)>>0]|0,J)|0)+128+(W(K,j[l>>1]|0)|0)|0;b[i>>0]=b[r+(((L>>>8&255)+L|0)>>>8&255)>>0]|0;L=i+1|0;I=(W(h[s+(h[L>>0]|0)>>0]|0,J)|0)+128+(W(K,j[p>>1]|0)|0)|0;b[L>>0]=b[r+(((I>>>8&255)+I|0)>>>8&255)>>0]|0;L=i+2|0;K=(W(h[s+(h[L>>0]|0)>>0]|0,J)|0)+128+(W(K,j[q>>1]|0)|0)|0;b[L>>0]=b[r+(((K>>>8&255)+K|0)>>>8&255)>>0]|0}}k=k+1|0;if((k|0)==(F|0))break c;else i=i+4|0}}else{k=0;while(1){g=b[i+3>>0]|0;switch(g<<24>>24){case -1:{b[i>>0]=b[t+(h[i>>0]|0)>>0]|0;L=i+1|0;b[L>>0]=b[t+(h[L>>0]|0)>>0]|0;L=i+2|0;b[L>>0]=b[t+(h[L>>0]|0)>>0]|0;break}case 0:{b[i>>0]=d[m>>1];b[i+1>>0]=d[n>>1];b[i+2>>0]=d[o>>1];break}default:{J=g&255;K=J^255;L=(W(h[s+(h[i>>0]|0)>>0]|0,J)|0)+128+(W(K,j[l>>1]|0)|0)|0;b[i>>0]=((L>>>8&255)+L|0)>>>8;L=i+1|0;I=(W(h[s+(h[L>>0]|0)>>0]|0,J)|0)+128+(W(K,j[p>>1]|0)|0)|0;b[L>>0]=((I>>>8&255)+I|0)>>>8;L=i+2|0;K=(W(h[s+(h[L>>0]|0)>>0]|0,J)|0)+128+(W(K,j[q>>1]|0)|0)|0;b[L>>0]=((K>>>8&255)+K|0)>>>8}}k=k+1|0;if((k|0)==(F|0))break c;else i=i+4|0}}}default:break c}}while(0);g=f[Y>>2]|0;d:do if((g&6299648|0)==8192){if(g&128){if(d[a+428>>1]|0)break;g=b[a+435>>0]|0;if(g&4)break}else g=b[a+435>>0]|0;if(g<<24>>24!=3){g=(f[Z>>2]|0)+1|0;m=f[a+484>>2]|0;o=f[a+492>>2]|0;n=f[a+496>>2]|0;p=f[c>>2]|0;l=c+9|0;i=b[l>>0]|0;if(!((o|0)!=0&(i&255)<9)?!((n|0)!=0&i<<24>>24==16):0)break;switch(b[c+8>>0]|0){case 2:{k=(p|0)!=0;if(i<<24>>24==8){if(!k)break d;i=0;while(1){b[g>>0]=b[o+(h[g>>0]|0)>>0]|0;L=g+1|0;b[L>>0]=b[o+(h[L>>0]|0)>>0]|0;L=g+2|0;b[L>>0]=b[o+(h[L>>0]|0)>>0]|0;i=i+1|0;if((i|0)==(p|0))break;else g=g+3|0}}else{if(!k)break d;i=0;while(1){K=g+1|0;J=d[(f[n+((h[K>>0]|0)>>>m<<2)>>2]|0)+(h[g>>0]<<1)>>1]|0;b[g>>0]=(J&65535)>>>8;b[K>>0]=J;K=g+2|0;J=g+3|0;L=d[(f[n+((h[J>>0]|0)>>>m<<2)>>2]|0)+(h[K>>0]<<1)>>1]|0;b[K>>0]=(L&65535)>>>8;b[J>>0]=L;J=g+4|0;L=g+5|0;K=d[(f[n+((h[L>>0]|0)>>>m<<2)>>2]|0)+(h[J>>0]<<1)>>1]|0;b[J>>0]=(K&65535)>>>8;b[L>>0]=K;i=i+1|0;if((i|0)==(p|0))break;else g=g+6|0}}break}case 6:{k=(p|0)!=0;if(i<<24>>24==8){if(!k)break d;i=0;while(1){b[g>>0]=b[o+(h[g>>0]|0)>>0]|0;L=g+1|0;b[L>>0]=b[o+(h[L>>0]|0)>>0]|0;L=g+2|0;b[L>>0]=b[o+(h[L>>0]|0)>>0]|0;i=i+1|0;if((i|0)==(p|0))break;else g=g+4|0}}else{if(!k)break d;i=0;while(1){K=g+1|0;J=d[(f[n+((h[K>>0]|0)>>>m<<2)>>2]|0)+(h[g>>0]<<1)>>1]|0;b[g>>0]=(J&65535)>>>8;b[K>>0]=J;K=g+2|0;J=g+3|0;L=d[(f[n+((h[J>>0]|0)>>>m<<2)>>2]|0)+(h[K>>0]<<1)>>1]|0;b[K>>0]=(L&65535)>>>8;b[J>>0]=L;J=g+4|0;L=g+5|0;K=d[(f[n+((h[L>>0]|0)>>>m<<2)>>2]|0)+(h[J>>0]<<1)>>1]|0;b[J>>0]=(K&65535)>>>8;b[L>>0]=K;i=i+1|0;if((i|0)==(p|0))break;else g=g+8|0}}break}case 4:{k=(p|0)!=0;if(i<<24>>24==8){if(!k)break d;i=0;while(1){b[g>>0]=b[o+(h[g>>0]|0)>>0]|0;i=i+1|0;if((i|0)==(p|0))break;else g=g+2|0}}else{if(!k)break d;i=0;while(1){L=g+1|0;K=d[(f[n+((h[L>>0]|0)>>>m<<2)>>2]|0)+(h[g>>0]<<1)>>1]|0;b[g>>0]=(K&65535)>>>8;b[L>>0]=K;i=i+1|0;if((i|0)==(p|0))break;else g=g+4|0}}break}case 0:{if((p|0)!=0&i<<24>>24==2){i=0;k=g;while(1){I=h[k>>0]|0;J=I&192;H=I&48;K=I&12;L=I&3;b[k>>0]=(h[o+(H<<2|H|H>>>2|H>>>4)>>0]|0)>>>2&48|b[o+(I>>>6|J|J>>>2|J>>>4)>>0]&-64&255|(h[o+(K<<2|K|K<<4|K>>>2)>>0]|0)>>>4&12|(h[o+(L<<4|L|L<<6|L<<2)>>0]|0)>>>6;i=i+4|0;if(i>>>0>=p>>>0)break;else k=k+1|0}i=b[l>>0]|0}switch(i<<24>>24){case 4:{if(!p)break d;i=0;while(1){L=h[g>>0]|0;K=L&15;b[g>>0]=(h[o+(K<<4|K)>>0]|0)>>>4|b[o+(L&240|L>>>4)>>0]&-16&255;i=i+2|0;if(i>>>0>=p>>>0)break;else g=g+1|0}break}case 8:{if(!p)break d;i=0;while(1){b[g>>0]=b[o+(h[g>>0]|0)>>0]|0;i=i+1|0;if((i|0)==(p|0))break;else g=g+1|0}break}case 16:{if(!p)break d;i=0;while(1){L=g+1|0;K=d[(f[n+((h[L>>0]|0)>>>m<<2)>>2]|0)+(h[g>>0]<<1)>>1]|0;b[g>>0]=(K&65535)>>>8;b[L>>0]=K;i=i+1|0;if((i|0)==(p|0))break;else g=g+2|0}break}default:break d}break}default:break d}}}while(0);g=f[Y>>2]|0;e:do if((g&262272|0)==262272){switch(b[c+8>>0]|0){case 4:case 6:break;default:break e}Cjb(c,(f[Z>>2]|0)+1|0,0);g=f[Y>>2]|0}while(0);f:do if(g&8388608|0?(M=b[c+8>>0]|0,M&4):0){n=(f[Z>>2]|0)+1|0;i=f[c>>2]|0;g=M&255;g:do if(g&4|0)switch(b[c+9>>0]|0){case 8:{l=f[a+500>>2]|0;if(!l)break g;g=g&2;k=g+2|0;if(!i)break f;g=n+(g|1)|0;while(1){b[g>>0]=b[l+(h[g>>0]|0)>>0]|0;i=i+-1|0;if(!i)break f;else g=g+k|0}}case 16:{l=f[a+508>>2]|0;m=f[a+484>>2]|0;if(!l)break g;g=g<<1&4;k=g+4|0;if(!i)break f;g=n+(g|2)|0;while(1){M=g+1|0;L=d[(f[l+((h[M>>0]|0)>>>m<<2)>>2]|0)+(h[g>>0]<<1)>>1]|0;b[g>>0]=(L&65535)>>>8;b[M>>0]=L;i=i+-1|0;if(!i)break f;else g=g+k|0}}default:break g}while(0);rib(a,479194)}while(0);g=f[Y>>2]|0;if((g&67108864|0)!=0?(N=(f[Z>>2]|0)+1|0,O=c+9|0,(b[O>>0]|0)==16):0){l=c+4|0;M=f[l>>2]|0;k=N+M|0;if((M|0)>0){i=N;g=N;while(1){N=h[g>>0]|0;b[i>>0]=(((((h[g+1>>0]|0)-N|0)*65535|0)+8388480|0)>>>24)+N;g=g+2|0;if(g>>>0>=k>>>0)break;else i=i+1|0}g=f[Y>>2]|0}b[O>>0]=8;O=h[c+10>>0]|0;b[c+11>>0]=O<<3;O=W(f[c>>2]|0,O)|0;f[l>>2]=O}if((g&1024|0)!=0?(P=(f[Z>>2]|0)+1|0,Q=c+9|0,(b[Q>>0]|0)==16):0){l=c+4|0;O=f[l>>2]|0;k=P+O|0;if((O|0)>0){i=P;g=P;while(1){b[i>>0]=b[g>>0]|0;g=g+2|0;if(g>>>0>=k>>>0)break;else i=i+1|0}g=f[Y>>2]|0}b[Q>>0]=8;Q=h[c+10>>0]|0;b[c+11>>0]=Q<<3;Q=W(f[c>>2]|0,Q)|0;f[l>>2]=Q}do if(g&64){g=(f[Z>>2]|0)+1|0;m=f[a+612>>2]|0;l=f[a+616>>2]|0;p=f[c>>2]|0;n=c+9|0;h:do if((b[n>>0]|0)==8){o=c+8|0;i=b[o>>0]|0;k=(m|0)!=0;if(k&i<<24>>24==2){if(!p)i=8;else{i=g;k=0;while(1){b[i>>0]=b[m+((h[g+1>>0]|0)>>>3<<5|(h[g>>0]|0)>>>3<<10|(h[g+2>>0]|0)>>>3)>>0]|0;k=k+1|0;if((k|0)==(p|0))break;else{i=i+1|0;g=g+3|0}}i=b[n>>0]|0}b[o>>0]=3;b[c+10>>0]=1;b[c+11>>0]=i;g=i&255;if((i&255)>7)g=W(g>>>3,p)|0;else g=((W(p,g)|0)+7|0)>>>3;f[c+4>>2]=g;break}if(!(k&i<<24>>24==6)){if(!((p|0)!=0&((l|0)!=0&i<<24>>24==3)))break;i=0;while(1){b[g>>0]=b[l+(h[g>>0]|0)>>0]|0;i=i+1|0;if((i|0)==(p|0))break h;else g=g+1|0}}if(!p)i=8;else{i=g;k=0;while(1){b[i>>0]=b[m+((h[g+1>>0]|0)>>>3<<5|(h[g>>0]|0)>>>3<<10|(h[g+2>>0]|0)>>>3)>>0]|0;k=k+1|0;if((k|0)==(p|0))break;else{i=i+1|0;g=g+4|0}}i=b[n>>0]|0}b[o>>0]=3;b[c+10>>0]=1;b[c+11>>0]=i;g=i&255;if((i&255)>7)g=W(g>>>3,p)|0;else g=((W(p,g)|0)+7|0)>>>3;f[c+4>>2]=g}while(0);if(!(f[c+4>>2]|0))kib(a,479231);else{e=f[Y>>2]|0;break}}else e=g;while(0);if(((e&512|0)!=0?(R=(f[Z>>2]|0)+1|0,S=c+9|0,(b[S>>0]|0)==8):0)?(b[c+8>>0]|0)!=3:0){l=c+4|0;g=f[l>>2]|0;k=R+g|0;if((g|0)>0){i=k;e=k+g|0;do{i=i+-1|0;R=b[i>>0]|0;b[e+-1>>0]=R;e=e+-2|0;b[e>>0]=R}while(e>>>0>i>>>0);e=f[Y>>2]|0;g=f[l>>2]|0}f[l>>2]=g<<1;b[S>>0]=16;b[c+11>>0]=h[c+10>>0]<<4}if((e&16384|0)!=0?(f[a+208>>2]&2048|0)!=0:0){wkb(c,(f[Z>>2]|0)+1|0);e=f[Y>>2]|0}if(e&32){zjb(c,(f[Z>>2]|0)+1|0);e=f[Y>>2]|0}i:do if(e&524288|0){e=(f[Z>>2]|0)+1|0;i=f[c>>2]|0;switch(b[c+8>>0]|0){case 6:{e=e+(f[c+4>>2]|0)|0;g=(i|0)!=0;if((b[c+9>>0]|0)==8){if(!g)break i;g=0;while(1){S=e+-1|0;b[S>>0]=~b[S>>0];g=g+1|0;if((g|0)==(i|0))break;else e=e+-4|0}}else{if(!g)break i;g=0;while(1){S=e+-1|0;b[S>>0]=~b[S>>0];S=e+-2|0;b[S>>0]=~b[S>>0];g=g+1|0;if((g|0)==(i|0))break;else e=e+-8|0}}break}case 4:{e=e+(f[c+4>>2]|0)|0;g=(i|0)!=0;if((b[c+9>>0]|0)==8){if(!g)break i;g=0;while(1){S=e+-1|0;b[S>>0]=~b[S>>0];g=g+1|0;if((g|0)==(i|0))break;else e=e+-2|0}}else{if(!g)break i;g=0;while(1){S=e+-1|0;b[S>>0]=~b[S>>0];S=e+-2|0;b[S>>0]=~b[S>>0];g=g+1|0;if((g|0)==(i|0))break;else e=e+-4|0}}break}default:break i}}while(0);e=f[Y>>2]|0;if((e&8|0)!=0?(U=(f[Z>>2]|0)+1|0,S=b[c+8>>0]|0,T=S&255,S<<24>>24!=3):0){k=h[c+9>>0]|0;if(!(T&2)){e=1;g=h[a+524>>0]|0}else{g=h[a+521>>0]|0;f[V+4>>2]=k-(h[a+522>>0]|0);f[V+8>>2]=k-(h[a+523>>0]|0);e=3}f[V>>2]=k-g;if(!(T&4))l=e;else{f[V+(e<<2)>>2]=k-(h[a+525>>0]|0);l=e+1|0}i=0;e=0;do{g=V+(i<<2)|0;T=f[g>>2]|0;if((T|0)>0&(T|0)<(k|0))e=1;else f[g>>2]=0;i=i+1|0}while((i|0)<(l|0));j:do if(e|0){T=k+-2|0;switch(T>>>1|T<<31|0){case 0:{V=f[c+4>>2]|0;g=U+V|0;if((V|0)<=0)break j;e=U;do{b[e>>0]=(h[e>>0]|0)>>>1&85;e=e+1|0}while(e>>>0<g>>>0);break}case 1:{T=f[c+4>>2]|0;k=U+T|0;g=f[V>>2]|0;i=15>>>g;i=i<<4|i;if((T|0)<=0)break j;e=U;do{b[e>>0]=(h[e>>0]|0)>>>g&i;e=e+1|0}while(e>>>0<k>>>0);break}case 3:{T=f[c+4>>2]|0;k=U+T|0;if((T|0)<=0)break j;i=0;e=U;while(1){g=i+1|0;b[e>>0]=(h[e>>0]|0)>>>(f[V+(i<<2)>>2]|0);e=e+1|0;if(e>>>0>=k>>>0)break;else i=(g|0)<(l|0)?g:0}break}case 7:{T=f[c+4>>2]|0;i=U+T|0;if((T|0)<=0)break j;e=0;g=U;while(1){U=g+1|0;T=(h[g>>0]<<8|h[U>>0])>>>(f[V+(e<<2)>>2]|0);e=e+1|0;b[g>>0]=T>>>8;g=g+2|0;b[U>>0]=T;if(g>>>0>=i>>>0)break;else e=(e|0)<(l|0)?e:0}break}default:break j}}while(0);e=f[Y>>2]|0}do if(e&4|0){g=(f[Z>>2]|0)+1|0;m=c+9|0;e=b[m>>0]|0;if((e&255)>=8)break;n=f[c>>2]|0;k:do switch(e<<24>>24){case 1:{if(!n)break k;i=n+7&7^7;k=g+((n+-1|0)>>>3)|0;l=0;e=g+n|0;while(1){e=e+-1|0;b[e>>0]=(h[k>>0]|0)>>>i&1;g=(i|0)==7;l=l+1|0;if((l|0)==(n|0))break;else{i=g?0:i+1|0;k=g?k+-1|0:k}}break}case 2:{if(!n)break k;i=(n<<1)+6&6^6;k=g+((n+-1|0)>>>2)|0;l=0;e=g+n|0;while(1){e=e+-1|0;b[e>>0]=(h[k>>0]|0)>>>i&3;g=(i|0)==6;l=l+1|0;if((l|0)==(n|0))break;else{i=g?0:i+2|0;k=g?k+-1|0:k}}break}case 4:{if(!n)break k;i=n<<2&4;k=g+((n+-1|0)>>>1)|0;l=0;e=g+n|0;while(1){e=e+-1|0;b[e>>0]=(h[k>>0]|0)>>>i&15;g=(i|0)==4;l=l+1|0;if((l|0)==(n|0))break;else{i=g?0:4;k=g?k+-1|0:k}}break}default:{}}while(0);b[m>>0]=8;V=h[c+10>>0]|0;b[c+11>>0]=V<<3;V=W(n,V)|0;f[c+4>>2]=V}while(0);n=c+8|0;do if((b[n>>0]|0)==3){if((f[a+424>>2]|0)<=-1)break;Ejb(a,c)}while(0);e=f[Y>>2]|0;if(e&1){Djb(c,(f[Z>>2]|0)+1|0);e=f[Y>>2]|0}if(e&65536){Bjb(c,(f[Z>>2]|0)+1|0);e=f[Y>>2]|0}l:do if(e&32768|0){e=(f[Z>>2]|0)+1|0;m=d[a+444>>1]|0;i=f[X>>2]|0;l=f[c>>2]|0;k=(m&65535)>>>8&255;m=m&255;switch(b[n>>0]|0){case 0:switch(b[c+9>>0]|0){case 8:{e=e+l|0;g=e+l|0;if(!(i&128)){if(l|0){i=g;g=0;do{e=e+-1|0;b[i+-1>>0]=b[e>>0]|0;i=i+-2|0;b[i>>0]=m;g=g+1|0}while((g|0)!=(l|0))}b[c+10>>0]=2;b[c+11>>0]=16;f[c+4>>2]=l<<1;break l}else{b[g+-1>>0]=m;if(l>>>0>1){i=g;g=1;do{e=e+-1|0;X=i;i=i+-2|0;b[i>>0]=b[e>>0]|0;g=g+1|0;b[X+-3>>0]=m}while((g|0)!=(l|0))}b[c+10>>0]=2;b[c+11>>0]=16;f[c+4>>2]=l<<1;break l}}case 16:{g=l<<1;e=e+g|0;g=e+g|0;if(!(i&128)){if(l|0){i=g;g=0;do{b[i+-1>>0]=b[e+-1>>0]|0;e=e+-2|0;b[i+-2>>0]=b[e>>0]|0;b[i+-3>>0]=m;i=i+-4|0;b[i>>0]=k;g=g+1|0}while((g|0)!=(l|0))}b[c+10>>0]=2;b[c+11>>0]=32;f[c+4>>2]=l<<2;break l}else{b[g+-1>>0]=m;b[g+-2>>0]=k;if(l>>>0>1){i=g;g=1;do{b[i+-3>>0]=b[e+-1>>0]|0;e=e+-2|0;X=i;i=i+-4|0;b[i>>0]=b[e>>0]|0;g=g+1|0;b[X+-5>>0]=m;b[X+-6>>0]=k}while((g|0)!=(l|0))}b[c+10>>0]=2;b[c+11>>0]=32;f[c+4>>2]=l<<2;break l}}default:break l}case 2:switch(b[c+9>>0]|0){case 8:{e=e+(l*3|0)|0;g=e+l|0;if(!(i&128)){if(l|0){i=g;g=0;do{b[i+-1>>0]=b[e+-1>>0]|0;b[i+-2>>0]=b[e+-2>>0]|0;e=e+-3|0;b[i+-3>>0]=b[e>>0]|0;i=i+-4|0;b[i>>0]=m;g=g+1|0}while((g|0)!=(l|0))}b[c+10>>0]=4;b[c+11>>0]=32;f[c+4>>2]=l<<2;break l}else{b[g+-1>>0]=m;if(l>>>0>1){i=g;g=1;do{b[i+-2>>0]=b[e+-1>>0]|0;b[i+-3>>0]=b[e+-2>>0]|0;e=e+-3|0;X=i;i=i+-4|0;b[i>>0]=b[e>>0]|0;g=g+1|0;b[X+-5>>0]=m}while((g|0)!=(l|0))}b[c+10>>0]=4;b[c+11>>0]=32;f[c+4>>2]=l<<2;break l}}case 16:{e=e+(l*6|0)|0;g=e+(l<<1)|0;if(!(i&128)){if(l|0){i=0;do{b[g+-1>>0]=b[e+-1>>0]|0;b[g+-2>>0]=b[e+-2>>0]|0;b[g+-3>>0]=b[e+-3>>0]|0;b[g+-4>>0]=b[e+-4>>0]|0;b[g+-5>>0]=b[e+-5>>0]|0;e=e+-6|0;b[g+-6>>0]=b[e>>0]|0;b[g+-7>>0]=m;g=g+-8|0;b[g>>0]=k;i=i+1|0}while((i|0)!=(l|0))}b[c+10>>0]=4;b[c+11>>0]=64;f[c+4>>2]=l<<3;break l}else{b[g+-1>>0]=m;b[g+-2>>0]=k;if(l>>>0>1){i=1;do{b[g+-3>>0]=b[e+-1>>0]|0;b[g+-4>>0]=b[e+-2>>0]|0;b[g+-5>>0]=b[e+-3>>0]|0;b[g+-6>>0]=b[e+-4>>0]|0;b[g+-7>>0]=b[e+-5>>0]|0;e=e+-6|0;X=g;g=g+-8|0;b[g>>0]=b[e>>0]|0;i=i+1|0;b[X+-9>>0]=m;b[X+-10>>0]=k}while((i|0)!=(l|0))}b[c+10>>0]=4;b[c+11>>0]=64;f[c+4>>2]=l<<3;break l}}default:break l}default:break l}}while(0);m:do if(f[Y>>2]&131072|0){e=(f[Z>>2]|0)+1|0;i=f[c>>2]|0;switch(b[n>>0]|0){case 6:{e=e+(f[c+4>>2]|0)|0;g=(i|0)!=0;if((b[c+9>>0]|0)==8){if(!g)break m;g=0;do{V=e+-1|0;X=b[V>>0]|0;U=e+-2|0;b[V>>0]=b[U>>0]|0;V=e+-3|0;b[U>>0]=b[V>>0]|0;e=e+-4|0;b[V>>0]=b[e>>0]|0;b[e>>0]=X;g=g+1|0}while((g|0)!=(i|0))}else{if(!g)break m;g=0;do{V=e+-1|0;U=b[V>>0]|0;S=e+-2|0;X=b[S>>0]|0;T=e+-3|0;b[V>>0]=b[T>>0]|0;V=e+-4|0;b[S>>0]=b[V>>0]|0;S=e+-5|0;b[T>>0]=b[S>>0]|0;T=e+-6|0;b[V>>0]=b[T>>0]|0;V=e+-7|0;b[S>>0]=b[V>>0]|0;e=e+-8|0;b[T>>0]=b[e>>0]|0;b[V>>0]=U;b[e>>0]=X;g=g+1|0}while((g|0)!=(i|0))}break}case 4:{e=e+(f[c+4>>2]|0)|0;g=(i|0)!=0;if((b[c+9>>0]|0)==8){if(!g)break m;g=0;do{V=e+-1|0;X=b[V>>0]|0;e=e+-2|0;b[V>>0]=b[e>>0]|0;b[e>>0]=X;g=g+1|0}while((g|0)!=(i|0))}else{if(!g)break m;g=0;do{S=e+-1|0;U=b[S>>0]|0;T=e+-2|0;X=b[T>>0]|0;V=e+-3|0;b[S>>0]=b[V>>0]|0;e=e+-4|0;b[T>>0]=b[e>>0]|0;b[V>>0]=U;b[e>>0]=X;g=g+1|0}while((g|0)!=(i|0))}break}default:break m}}while(0);e=f[Y>>2]|0;if(e&16){Ajb(c,(f[Z>>2]|0)+1|0);e=f[Y>>2]|0}if(!(e&1048576)){u=_;return}e=f[a+192>>2]|0;if(e|0)Fj[e&511](a,c,(f[Z>>2]|0)+1|0);e=b[a+204>>0]|0;if(e<<24>>24)b[c+9>>0]=e;g=b[a+205>>0]|0;e=c+10|0;if(g<<24>>24)b[e>>0]=g;e=W(h[e>>0]|0,h[c+9>>0]|0)|0;b[c+11>>0]=e;e=e&255;g=f[c>>2]|0;if(e>>>0>7)e=W(e>>>3,g)|0;else e=((W(e,g)|0)+7|0)>>>3;f[c+4>>2]=e;u=_;return}function ukb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var 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;t=u;u=u+16|0;l=t;if(!((a|0)!=0&(c|0)!=0)){u=t;return}g=f[a>>2]|0;r=f[252112+(d<<2)>>2]|0;s=W(r,g)|0;q=a+11|0;d=b[q>>0]|0;switch(d<<24>>24){case 1:{d=g+7&7;if(!(e&65536)){d=d^7;e=s+7&7^7;n=0;o=7;p=1}else{e=s+7&7;n=7;o=0;p=-1}if(g|0){m=c+((g+-1|0)>>>3)|0;i=c+((s+-1|0)>>>3)|0;l=0;while(1){k=(h[m>>0]|0)>>>d&1;g=0;j=e;do{b[i>>0]=32639>>>(7-j|0)&(h[i>>0]|0)|k<<j;c=(j|0)==(o|0);j=c?n:j+p|0;i=c?i+-1|0:i;g=g+1|0}while((g|0)<(r|0));e=(d|0)==(o|0);l=l+1|0;if(l>>>0>=(f[a>>2]|0)>>>0)break;else{m=e?m+-1|0:m;d=e?n:d+p|0;e=j}}}break}case 2:{d=(g<<1)+6&6;if(!(e&65536)){m=2;n=6;o=0;e=(s<<1)+6&6^6;d=d^6}else{m=-2;n=0;o=6;e=(s<<1)+6&6}if(g|0){l=0;i=c+((s+-1|0)>>>2)|0;k=c+((g+-1|0)>>>2)|0;while(1){j=(h[k>>0]|0)>>>d&3;g=0;do{b[i>>0]=16191>>>(6-e|0)&(h[i>>0]|0)|j<<e;c=(e|0)==(n|0);i=c?i+-1|0:i;e=c?o:e+m|0;g=g+1|0}while((g|0)<(r|0));g=(d|0)==(n|0);l=l+1|0;if(l>>>0>=(f[a>>2]|0)>>>0)break;else{k=g?k+-1|0:k;d=g?o:d+m|0}}}break}case 4:{d=g&1;if(!(e&65536)){n=4;o=4;p=0;e=s&1}else{n=-4;o=0;p=4;e=s&1^1;d=d^1}if(g|0){m=0;l=c+((s+-1|0)>>>1)|0;k=c+((g+-1|0)>>>1)|0;g=e<<2;j=d<<2;while(1){i=(h[k>>0]|0)>>>j&15;d=0;e=l;do{b[e>>0]=3855>>>(4-g|0)&(h[e>>0]|0)|i<<g;c=(g|0)==(o|0);e=c?e+-1|0:e;g=c?p:g+n|0;d=d+1|0}while((d|0)<(r|0));d=(j|0)==(o|0);m=m+1|0;if(m>>>0>=(f[a>>2]|0)>>>0)break;else{l=e;k=d?k+-1|0:k;j=d?p:j+n|0}}}break}default:{j=(d&255)>>>3;if(g|0){k=0-j|0;i=0;d=c+(W(j,s+-1|0)|0)|0;e=c+(W(j,g+-1|0)|0)|0;while(1){YDb(l|0,e|0,j|0)|0;g=0;do{YDb(d|0,l|0,j|0)|0;d=d+k|0;g=g+1|0}while((g|0)<(r|0));i=i+1|0;if(i>>>0>=(f[a>>2]|0)>>>0)break;else e=e+k|0}}}}f[a>>2]=s;r=b[q>>0]|0;d=r&255;if((r&255)>7)d=W(d>>>3,s)|0;else d=((W(s,d)|0)+7|0)>>>3;f[a+4>>2]=d;u=t;return}function vkb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=f[a>>2]|0;A=a+8|0;g=b[A>>0]|0;if(g<<24>>24){if(!((e|0)!=0&g<<24>>24==2))return;z=a+9|0;switch(b[z>>0]|0){case 8:{if(B|0){p=d[e+2>>1]&255;q=d[e+4>>1]&255;o=d[e+6>>1]&255;m=0;n=c+(B<<2)|0;e=c+(f[a+4>>2]|0)|0;do{i=e+-1|0;g=n+-1|0;k=e+-2|0;e=e+-3|0;if(((h[e>>0]|0)==(p|0)?(h[k>>0]|0)==(q|0):0)?(h[i>>0]|0)==(o|0):0)l=0;else l=-1;b[g>>0]=l;b[n+-2>>0]=b[i>>0]|0;b[n+-3>>0]=b[k>>0]|0;n=n+-4|0;b[n>>0]=b[e>>0]|0;m=m+1|0}while((m|0)!=(B|0))}break}case 16:{g=d[e+2>>1]|0;u=(g&65535)>>>8&65535;i=d[e+4>>1]|0;v=(i&65535)>>>8&65535;e=d[e+6>>1]|0;t=(e&65535)>>>8&65535;if(B|0){s=g&255;r=i&255;q=e&255;o=0;p=c+(f[a+4>>2]|0)|0;m=c+(B<<3)|0;do{l=p+-1|0;g=m+-1|0;i=p;p=p+-6|0;n=i+-5|0;if((((((h[p>>0]|0)==(u|0)?(h[n>>0]|0)==(s|0):0)?(w=i+-4|0,(h[w>>0]|0)==(v|0)):0)?(x=i+-3|0,(h[x>>0]|0)==(r|0)):0)?(y=i+-2|0,(h[y>>0]|0)==(t|0)):0)?(h[l>>0]|0)==(q|0):0){b[g>>0]=0;b[m+-2>>0]=0;e=y;k=x;g=w}else{b[g>>0]=-1;b[m+-2>>0]=-1;e=i+-2|0;k=i+-3|0;g=i+-4|0}b[m+-3>>0]=b[l>>0]|0;b[m+-4>>0]=b[e>>0]|0;b[m+-5>>0]=b[k>>0]|0;b[m+-6>>0]=b[g>>0]|0;b[m+-7>>0]=b[n>>0]|0;m=m+-8|0;b[m>>0]=b[p>>0]|0;o=o+1|0}while((o|0)!=(B|0))}break}default:{}}b[A>>0]=6;b[a+10>>0]=4;g=h[z>>0]<<2;b[a+11>>0]=g;g=g&252;if(g>>>0>7)g=W(g>>>3,B)|0;else g=((W(g,B)|0)+7|0)>>>3;f[a+4>>2]=g;return}n=(e|0)!=0;if(n)g=j[e+8>>1]|0;else g=0;p=a+9|0;i=b[p>>0]|0;if((i&255)<8){switch(i<<24>>24){case 1:{g=0-(g&1)&255;if(B){i=c+((B+-1|0)>>>3)|0;e=0;k=B+7&7^7;l=c+B|0;while(1){l=l+-1|0;b[l>>0]=((1<<k&h[i>>0]|0)!=0)<<31>>31;m=(k|0)==7;e=e+1|0;if((e|0)==(B|0))break;else{i=m?i+-1|0:i;k=m?0:k+1|0}}}break}case 2:{g=(g&3)*85|0;if(B){i=0;e=c+((B+-1|0)>>>2)|0;k=(B<<1)+6&6^6;l=c+B|0;while(1){l=l+-1|0;m=(h[e>>0]|0)>>>k&3;b[l>>0]=m<<2|m|m<<4|m<<6;m=(k|0)==6;i=i+1|0;if((i|0)==(B|0))break;else{e=m?e+-1|0:e;k=m?0:k+2|0}}}break}case 4:{g=(g&15)*17|0;if(B){e=0;k=c+((B+-1|0)>>>1)|0;i=B<<2&4;l=c+B|0;while(1){l=l+-1|0;z=(h[k>>0]|0)>>>i&15;b[l>>0]=z<<4|z;i=(i|0)==4;e=e+1|0;if((e|0)==(B|0))break;else{k=i?k+-1|0:k;i=i?0:4}}}break}default:{}}b[p>>0]=8;b[a+11>>0]=8;f[a+4>>2]=B;i=8}if(!n)return;switch(i<<24>>24){case 8:{if(B|0){k=g&255;i=0;e=c+(B<<1)|0;g=c+B|0;do{g=g+-1|0;c=e;e=e+-2|0;b[c+-1>>0]=((b[g>>0]|0)!=k<<24>>24)<<31>>31;b[e>>0]=b[g>>0]|0;i=i+1|0}while((i|0)!=(B|0))}break}case 16:{i=f[a+4>>2]|0;if(B|0){o=g>>>8&255;n=g&255;l=0;m=c+(i<<1)|0;e=c+i|0;do{i=e+-1|0;g=m+-1|0;e=e+-2|0;if((b[e>>0]|0)==o<<24>>24?(b[i>>0]|0)==n<<24>>24:0)k=0;else k=-1;b[g>>0]=k;b[m+-2>>0]=k;b[m+-3>>0]=b[i>>0]|0;m=m+-4|0;b[m>>0]=b[e>>0]|0;l=l+1|0}while((l|0)!=(B|0))}break}default:{}}b[A>>0]=4;b[a+10>>0]=2;g=h[p>>0]<<1;b[a+11>>0]=g;g=g&254;if(g>>>0>7)g=W(g>>>3,B)|0;else g=((W(g,B)|0)+7|0)>>>3;f[a+4>>2]=g;return}function wkb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0,k=0,l=0;j=f[a>>2]|0;g=a+9|0;d=b[g>>0]|0;if((d&255)<=7)return;i=a+8|0;e=b[i>>0]|0;if(e&2)return;a:do switch(e<<24>>24){case 0:{if(d<<24>>24==8){d=c+j+-1|0;if(!j)break a;c=d+(j<<1)|0;e=0;while(1){b[c>>0]=b[d>>0]|0;b[c+-1>>0]=b[d>>0]|0;b[c+-2>>0]=b[d>>0]|0;e=e+1|0;if((e|0)==(j|0))break;else{c=c+-3|0;d=d+-1|0}}}else{d=c+(j<<1)+-1|0;if(!j)break a;c=d+(j<<2)|0;e=0;while(1){b[c>>0]=b[d>>0]|0;k=d+-1|0;b[c+-1>>0]=b[k>>0]|0;b[c+-2>>0]=b[d>>0]|0;b[c+-3>>0]=b[k>>0]|0;b[c+-4>>0]=b[d>>0]|0;b[c+-5>>0]=b[k>>0]|0;e=e+1|0;if((e|0)==(j|0))break;else{c=c+-6|0;d=d+-2|0}}}break}case 4:{if(d<<24>>24==8){e=j<<1;d=c+e+-1|0;if(!j)break a;c=d+e|0;e=0;while(1){k=d+-1|0;b[c>>0]=b[d>>0]|0;b[c+-1>>0]=b[k>>0]|0;b[c+-2>>0]=b[k>>0]|0;b[c+-3>>0]=b[k>>0]|0;e=e+1|0;if((e|0)==(j|0))break;else{c=c+-4|0;d=d+-2|0}}}else{e=j<<2;d=c+e+-1|0;if(!j)break a;c=d;d=d+e|0;e=0;while(1){b[d>>0]=b[c>>0]|0;l=c+-2|0;b[d+-1>>0]=b[c+-1>>0]|0;b[d+-2>>0]=b[l>>0]|0;k=c+-3|0;b[d+-3>>0]=b[k>>0]|0;b[d+-4>>0]=b[l>>0]|0;b[d+-5>>0]=b[k>>0]|0;b[d+-6>>0]=b[l>>0]|0;b[d+-7>>0]=b[k>>0]|0;e=e+1|0;if((e|0)==(j|0))break;else{c=c+-4|0;d=d+-8|0}}}break}default:{}}while(0);l=a+10|0;d=b[l>>0]|0;b[l>>0]=(d&255)+2;b[i>>0]=b[i>>0]|2;d=W(h[g>>0]|0,d+2&255)|0;b[a+11>>0]=d;d=d&255;if(d>>>0>7)d=W(d>>>3,j)|0;else d=((W(d,j)|0)+7|0)>>>3;f[a+4>>2]=d;return}function xkb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=f[a+4>>2]|0;d=((h[a+11>>0]|0)+7|0)>>>3;if(d>>>0>=g>>>0)return;e=0-d|0;a=d;d=c+d|0;while(1){b[d>>0]=(h[d+e>>0]|0)+(h[d>>0]|0);a=a+1|0;if((a|0)==(g|0))break;else d=d+1|0}return}function ykb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=f[a+4>>2]|0;if(!g)return;e=0;a=d;while(1){b[c>>0]=(h[a>>0]|0)+(h[c>>0]|0);e=e+1|0;if((e|0)==(g|0))break;else{c=c+1|0;a=a+1|0}}return}function zkb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0;i=((h[a+11>>0]|0)+7|0)>>>3;j=(f[a+4>>2]|0)-i|0;if(!i)a=d;else{a=d+i|0;g=c;e=0;while(1){b[g>>0]=((h[d>>0]|0)>>>1&255)+(h[g>>0]|0);e=e+1|0;if((e|0)==(i|0))break;else{g=g+1|0;d=d+1|0}}c=c+i|0}if(!j)return;e=0-i|0;d=0;while(1){b[c>>0]=(((h[c+e>>0]|0)+(h[a>>0]|0)|0)>>>1)+(h[c>>0]|0);d=d+1|0;if((d|0)==(j|0))break;else{c=c+1|0;a=a+1|0}}return}function Akb(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;i=f[a+4>>2]|0;j=c+i|0;e=h[d>>0]|0;a=(h[c>>0]|0)+e|0;b[c>>0]=a;if((i|0)<=1)return;i=a;g=e;e=c+1|0;a=d;do{a=a+1|0;d=i&255;k=g;g=h[a>>0]|0;c=g-k|0;n=d-k|0;l=(c|0)<0?0-c|0:c;m=(n|0)<0?0-n|0:n;n=c+n|0;c=(m|0)<(l|0);i=((((n|0)<0?0-n|0:n)|0)<((c?m:l)|0)?k:c?g:d)+(h[e>>0]|0)|0;b[e>>0]=i;e=e+1|0}while(e>>>0<j>>>0);return}function Bkb(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;k=((h[a+11>>0]|0)+7|0)>>>3;j=c+k|0;if(!k)e=c;else{g=d;i=c;while(1){d=g+1|0;e=i+1|0;b[i>>0]=(h[g>>0]|0)+(h[i>>0]|0);if(e>>>0<j>>>0){g=d;i=e}else break}}i=c+(f[a+4>>2]|0)|0;if(e>>>0>=i>>>0)return;g=0-k|0;while(1){j=h[d+g>>0]|0;k=h[e+g>>0]|0;c=h[d>>0]|0;a=c-j|0;n=k-j|0;l=(a|0)<0?0-a|0:a;m=(n|0)<0?0-n|0:n;n=a+n|0;a=(m|0)<(l|0);b[e>>0]=((((n|0)<0?0-n|0:n)|0)<((a?m:l)|0)?j:a?c:k)+(h[e>>0]|0);e=e+1|0;if((e|0)==(i|0))break;else d=d+1|0}return}function Ckb(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;p=u;u=u+16|0;i=p;e=a+208|0;g=f[e>>2]|0;if(g&1|0)Cib(a,479575);if((d|0)!=13)Cib(a,479567);f[e>>2]=g|1;sib(a,i,13);Hjb(a,i,13);qkb(a,0)|0;j=(h[i+1>>0]|0)<<16|(h[i>>0]|0)<<24|(h[i+2>>0]|0)<<8|(h[i+3>>0]|0);if((j|0)<0)kib(a,479267);k=(h[i+5>>0]|0)<<16|(h[i+4>>0]|0)<<24|(h[i+6>>0]|0)<<8|(h[i+7>>0]|0);if((k|0)<0)kib(a,479267);r=b[i+8>>0]|0;l=r&255;e=b[i+9>>0]|0;m=e&255;d=b[i+10>>0]|0;n=d&255;q=b[i+11>>0]|0;o=q&255;i=b[i+12>>0]|0;g=i&255;f[a+348>>2]=j;f[a+352>>2]=k;b[a+436>>0]=r;b[a+432>>0]=i;b[a+435>>0]=e;b[a+712>>0]=q;b[a+744>>0]=d;switch(e<<24>>24){case 6:{d=4;e=4;break}case 4:{d=2;e=2;break}case 2:{d=3;e=3;break}default:{d=1;e=1}}b[a+439>>0]=d;d=W(e,l)|0;b[a+438>>0]=d;d=d&255;if(d>>>0>7){q=W(d>>>3,j)|0;r=a+364|0;f[r>>2]=q;Kib(a,c,j,k,l,m,g,n,o);u=p;return}else{q=((W(d,j)|0)+7|0)>>>3;r=a+364|0;f[r>>2]=q;Kib(a,c,j,k,l,m,g,n,o);u=p;return}}function Dkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=a+208|0;d=f[b>>2]|0;if((d&5|0)!=5)Cib(a,479575);f[b>>2]=d|24;qkb(a,c)|0;if(!c)return;Ykb(a,479567);return}function Ekb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0;i=u;u=u+16|0;e=i;b[e>>0]=c>>>24;b[e+1>>0]=c>>>16;b[e+2>>0]=c>>>8;b[e+3>>0]=c;b[e+4>>0]=0;if(!a){g=0;u=i;return g|0}c=f[a+692>>2]|0;if(!c){g=0;u=i;return g|0}d=f[a+696>>2]|0;c=d+(c*5|0)|0;while(1){a=c+-5|0;if(!(anb(e,a,4)|0))break;if(a>>>0>d>>>0)c=a;else{c=0;g=7;break}}if((g|0)==7){u=i;return c|0}g=h[c+-1>>0]|0;u=i;return g|0}function Fkb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=a+684|0;do if(!(f[e>>2]|0)){if(!d)d=f[a+688>>2]|0;switch(d|0){case 3:{g=13;break}case 2:{if(!(f[a+376>>2]&536870912))g=14;else g=13;break}default:g=14}if((g|0)==13){c=(blb(a,c)|0)==0;d=c?1:d;g=15;break}else if((g|0)==14){qkb(a,c)|0;g=15;break}}else if(blb(a,c)|0){e=cj[f[e>>2]&1023](a,a+764|0)|0;if((e|0)<0)Cib(a,480064);if(!e)if((d|0)<2)if((f[a+688>>2]|0)<2){rkb(a,480084);kjb(a,480106);g=16}else g=16;else g=15;else c=1}else c=0;while(0);if((g|0)==15)switch(d|0){case 3:{g=17;break}case 2:{g=16;break}default:c=0}if((g|0)==16)if(!(f[a+376>>2]&536870912))c=0;else g=17;a:do if((g|0)==17){d=a+756|0;e=f[d>>2]|0;switch(e|0){case 1:{c=0;break a}case 2:{f[d>>2]=1;Ykb(a,479301);c=0;break a}case 0:break;default:f[d>>2]=e+-1}jjb(a,b,a+764|0,1);c=1}while(0);d=a+772|0;e=f[d>>2]|0;if(e|0)xib(a,e);f[d>>2]=0;if(c|0)return;if(!(f[a+376>>2]&536870912))Cib(a,480182);else return}function Gkb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=u;u=u+784|0;k=n;l=n+768|0;g=a+208|0;h=f[g>>2]|0;if(!(h&1))Cib(a,479325);if(h&2|0)Cib(a,479557);if(h&4|0){qkb(a,e)|0;Ykb(a,479575);u=n;return}f[g>>2]=h|2;g=a+435|0;if(!(b[g>>0]&2)){qkb(a,e)|0;Ykb(a,479982);u=n;return}j=(e>>>0)/3|0;if(!(e>>>0<769&(e-(j*3|0)|0)==0)){qkb(a,e)|0;if((b[g>>0]|0)==3)Cib(a,479567);Ykb(a,479567);u=n;return}if(e>>>0>2){e=l+1|0;i=l+2|0;g=0;h=k;while(1){sib(a,l,3);Hjb(a,l,3);b[h>>0]=b[l>>0]|0;b[h+1>>0]=b[e>>0]|0;b[h+2>>0]=b[i>>0]|0;g=g+1|0;if(g>>>0>=j>>>0)break;else h=h+3|0}}qkb(a,0)|0;Sib(a,c,k,j);e=a+428|0;do if(!(d[e>>1]|0)){if(!c){u=n;return}h=c+8|0;g=f[h>>2]|0;if(g&16){d[e>>1]=0;g=h;m=22}}else{d[e>>1]=0;if(c|0){g=c+8|0;m=22;break}Ykb(a,480007);u=n;return}while(0);if((m|0)==22){d[c+22>>1]=0;Ykb(a,480007);h=g;g=f[g>>2]|0}if(g&64|0)Ykb(a,480026);if(!(f[h>>2]&32)){u=n;return}Ykb(a,480045);u=n;return}function Hkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if(e&6|0){qkb(a,c)|0;Ykb(a,479575);u=g;return}if((c|0)!=4){qkb(a,c)|0;Ykb(a,479567);u=g;return}sib(a,d,4);Hjb(a,d,4);if(qkb(a,0)|0){u=g;return}e=(h[d+1>>0]|0)<<16|(h[d>>0]|0)<<24|(h[d+2>>0]|0)<<8|(h[d+3>>0]|0);Fib(a,a+824|0,(e|0)>-1?e:-1);alb(a,b);u=g;return}function Ikb(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;n=u;u=u+16|0;j=n;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if(e&6|0){qkb(a,d)|0;Ykb(a,479575);u=n;return}if(c|0?f[c+8>>2]&2|0:0){qkb(a,d)|0;Ykb(a,479557);u=n;return}l=a+435|0;if((b[l>>0]|0)==3){i=8;e=3}else{i=b[a+436>>0]|0;e=h[a+439>>0]|0}if(d>>>0>4|(e|0)!=(d|0)){Ykb(a,479567);qkb(a,d)|0;u=n;return}e=j+3|0;k=j+2|0;m=j+1|0;_Db(j|0,i|0,4)|0;sib(a,j,d);Hjb(a,j,d);if(qkb(a,0)|0){u=n;return}a:do if(d|0){g=0;while(1){if(((b[j+g>>0]|0)+-1&255)>=(i&255))break;g=g+1|0;if(g>>>0>=d>>>0)break a}Ykb(a,479567);u=n;return}while(0);d=b[j>>0]|0;j=a+516|0;if(!(b[l>>0]&2)){b[a+519>>0]=d;g=d;i=d;e=m}else{g=b[k>>0]|0;i=b[m>>0]|0}m=b[e>>0]|0;b[j>>0]=d;b[a+517>>0]=i;b[a+518>>0]=g;b[a+520>>0]=m;Uib(a,c,j);u=n;return}function Jkb(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=u;u=u+64|0;e=k;i=k+32|0;g=f[a+208>>2]|0;if(!(g&1))Cib(a,479325);if(g&6|0){qkb(a,c)|0;Ykb(a,479575);u=k;return}if((c|0)!=32){qkb(a,c)|0;Ykb(a,479567);u=k;return}sib(a,e,32);Hjb(a,e,32);if(qkb(a,0)|0){u=k;return}p=(h[e>>0]|0)<<24;q=(h[e+1>>0]|0)<<16|p|(h[e+2>>0]|0)<<8|(h[e+3>>0]|0);f[i+24>>2]=(q|0)>-1?q:-1;q=(h[e+4>>0]|0)<<24;o=(h[e+5>>0]|0)<<16|q|(h[e+6>>0]|0)<<8|(h[e+7>>0]|0);f[i+28>>2]=(o|0)>-1?o:-1;o=(h[e+8>>0]|0)<<24;n=(h[e+9>>0]|0)<<16|o|(h[e+10>>0]|0)<<8|(h[e+11>>0]|0);f[i>>2]=(n|0)>-1?n:-1;n=(h[e+12>>0]|0)<<24;m=(h[e+13>>0]|0)<<16|n|(h[e+14>>0]|0)<<8|(h[e+15>>0]|0);f[i+4>>2]=(m|0)>-1?m:-1;m=(h[e+16>>0]|0)<<24;l=(h[e+17>>0]|0)<<16|m|(h[e+18>>0]|0)<<8|(h[e+19>>0]|0);f[i+8>>2]=(l|0)>-1?l:-1;l=(h[e+20>>0]|0)<<24;c=(h[e+21>>0]|0)<<16|l|(h[e+22>>0]|0)<<8|(h[e+23>>0]|0);f[i+12>>2]=(c|0)>-1?c:-1;c=(h[e+24>>0]|0)<<24;g=(h[e+25>>0]|0)<<16|c|(h[e+26>>0]|0)<<8|(h[e+27>>0]|0);f[i+16>>2]=(g|0)>-1?g:-1;g=(h[e+28>>0]|0)<<24;e=(h[e+29>>0]|0)<<16|g|(h[e+30>>0]|0)<<8|(h[e+31>>0]|0);f[i+20>>2]=(e|0)>-1?e:-1;if((q|p|o|n|m|l|c|g|0)<0){Ykb(a,479967);u=k;return}c=a+898|0;e=j[c>>1]|0;if(e&32768|0){u=k;return}if(!(e&16)){d[c>>1]=e|16;wib(a,a+824|0,i,1)|0;alb(a,b);u=k;return}else{d[c>>1]=e|32768;alb(a,b);Ykb(a,479557);u=k;return}}function Kkb(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,i=0;i=u;u=u+16|0;g=i;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if(e&6|0){qkb(a,c)|0;Ykb(a,479575);u=i;return}if((c|0)!=1){qkb(a,c)|0;Ykb(a,479567);u=i;return}sib(a,g,1);Hjb(a,g,1);if(qkb(a,0)|0){u=i;return}c=a+898|0;e=j[c>>1]|0;if(e&32768|0){u=i;return}if(!(e&4)){Vib(a,a+824|0,h[g>>0]|0)|0;alb(a,b);u=i;return}else{d[c>>1]=e|32768;alb(a,b);Ykb(a,479949);u=i;return}}function Lkb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=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;F=u;u=u+1264|0;C=F+1168|0;o=F+1024|0;y=F;g=f[a+208>>2]|0;if(!(g&1))Cib(a,479325);if(g&6|0){qkb(a,e)|0;Ykb(a,479575);u=F;return}if(e>>>0<9){qkb(a,e)|0;Ykb(a,479916);u=F;return}B=a+824|0;D=a+898|0;g=j[D>>1]|0;if(g&32768|0){qkb(a,e)|0;u=F;return}a:do if(!(g&4)){i=e>>>0<81?e:81;sib(a,C,i);Hjb(a,C,i);e=e-i|0;do if(i){g=0;do{if(!(b[C+g>>0]|0))break;g=g+1|0}while(g>>>0<80&g>>>0<i>>>0);if((g+-1|0)>>>0<79){z=g+1|0;if(z>>>0<i>>>0?(b[C+z>>0]|0)==0:0){g=g+2|0;if(_kb(a,1766015824)|0){g=f[a+248>>2]|0;break}l=i-g|0;f[a+224>>2]=C+g;v=a+228|0;f[v>>2]=l;A=a+220|0;q=a+376|0;b:do if((f[A>>2]|0)==(f[q>>2]|0)){w=a+224|0;r=a+236|0;f[r>>2]=o;x=a+240|0;f[x>>2]=0;i=132;k=1024;g=l;while(1){if(!g){g=k>>>0>e>>>0?e:k;if(g|0){sib(a,y,g);Hjb(a,y,g)}f[w>>2]=y;f[v>>2]=g;e=e-g|0;k=g}if(!(f[x>>2]|0)){f[x>>2]=i;i=0}g=mmb(w,(e|0)==0?2:0)|0;if(g|0){E=28;break}if((i|0)==0?(f[x>>2]|0)==0:0){g=0;k=0;i=0;break}g=f[v>>2]|0}if((E|0)==28)k=f[x>>2]|0;f[x>>2]=0;Ojb(a,g);if((i|0)!=(0-k|0)){i=1;g=f[a+248>>2]|0;break}t=h[o+1>>0]<<16|h[o>>0]<<24|h[o+2>>0]<<8|h[o+3>>0];if(($kb(a,B,C,t)|0)!=0?(_ib(a,B,C,t,o,h[a+435>>0]|0)|0)!=0:0){l=b[o+128>>0]|0;m=b[o+129>>0]|0;n=b[o+130>>0]|0;k=b[o+131>>0]|0;s=a+788|0;g=f[s>>2]|0;if(g){i=a+792|0;if((f[i>>2]|0)>>>0<t>>>0){f[s>>2]=0;f[i>>2]=0;xib(a,g);E=39}else p=g}else E=39;if((E|0)==39){g=djb(a,t)|0;if(!g){i=1;g=479372;break}f[s>>2]=g;f[a+792>>2]=t;p=g}YDb(p|0,o|0,132)|0;l=((m&255)<<16|(l&255)<<24|(n&255)<<8|k&255)*12|0;m=p+132|0;if((f[A>>2]|0)==(f[q>>2]|0)){f[r>>2]=m;f[x>>2]=0;g=1024;i=l;while(1){if(!(f[v>>2]|0)){g=g>>>0>e>>>0?e:g;if(g|0){sib(a,y,g);Hjb(a,y,g)}f[w>>2]=y;f[v>>2]=g;k=g;e=e-g|0}else k=g;if(!(f[x>>2]|0)){f[x>>2]=i;i=0}g=mmb(w,(e|0)==0?2:0)|0;if(g|0){E=50;break}if((i|0)==0?(f[x>>2]|0)==0:0){g=0;i=0;k=0;break}g=k}if((E|0)==50)k=f[x>>2]|0;f[x>>2]=0;Ojb(a,g);g=k+i|0}else{f[a+248>>2]=479429;g=l}if(g|0){i=1;g=f[a+248>>2]|0;break}if(!($ib(a,B,C,t,p)|0)){i=1;g=0;break}i=t+-132-l|0;if((f[A>>2]|0)==(f[q>>2]|0)){f[r>>2]=m+l;f[x>>2]=0;g=1024;while(1){if(!(f[v>>2]|0)){g=g>>>0>e>>>0?e:g;if(g|0){sib(a,y,g);Hjb(a,y,g)}f[w>>2]=y;f[v>>2]=g;l=g;e=e-g|0}else l=g;if(!(f[x>>2]|0)){f[x>>2]=i;i=0}k=mmb(w,(e|0)==0?4:0)|0;if(k|0){E=67;break}if((i|0)==0?(f[x>>2]|0)==0:0){k=0;i=0;g=0;break}g=l}if((E|0)==67)g=f[x>>2]|0;f[x>>2]=0;Ojb(a,k);i=g+i|0}else f[a+248>>2]=479429;g=(e|0)==0;if(!g?(f[a+212>>2]&1048576|0)==0:0){i=1;g=479447;break}if(i|0){i=1;g=479386;break}if(!g)rkb(a,479447);qkb(a,e)|0;ajb(a,B,p,f[a+272>>2]|0);do if(c|0){Iib(a,c,16,0);g=djb(a,z)|0;f[c+116>>2]=g;if(!g){d[D>>1]=d[D>>1]|-32768;alb(a,c);i=0;g=479372;break b}else{YDb(g|0,C|0,z|0)|0;f[c+124>>2]=t;f[c+120>>2]=p;f[s>>2]=0;E=c+232|0;f[E>>2]=f[E>>2]|16;E=c+8|0;f[E>>2]=f[E>>2]|4096;alb(a,c);break}}while(0);f[A>>2]=0;u=F;return}else{i=1;g=0}}else{f[a+248>>2]=479429;i=1;g=479429}while(0);f[A>>2]=0;if(i){E=87;break a}else break a}else g=479926}else g=479417}else g=479417;while(0);E=87}else{g=479949;E=87}while(0);if((E|0)==87)qkb(a,e)|0;d[D>>1]=d[D>>1]|-32768;alb(a,c);if(!g){u=F;return}Ykb(a,g);u=F;return}function Mkb(a,c,e){a=a|0;c=c|0;e=e|0;var g=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;p=q;g=a+756|0;i=f[g>>2]|0;switch(i|0){case 0:break;case 1:{qkb(a,e)|0;u=q;return}default:l=3}if((l|0)==3?(o=i+-1|0,f[g>>2]=o,(o|0)==1):0){rib(a,479780);qkb(a,e)|0;u=q;return}g=f[a+208>>2]|0;if(!(g&1))Cib(a,479325);if(g&4|0){qkb(a,e)|0;Ykb(a,479575);u=q;return}j=e+1|0;k=a+788|0;g=f[k>>2]|0;if(g){i=a+792|0;if((f[i>>2]|0)>>>0<j>>>0){f[k>>2]=0;f[i>>2]=0;xib(a,g);l=12}}else l=12;do if((l|0)==12){g=djb(a,j)|0;if(g|0){f[k>>2]=g;f[a+792>>2]=j;break}qkb(a,e)|0;Ykb(a,479372);u=q;return}while(0);sib(a,g,e);Hjb(a,g,e);if(qkb(a,0)|0){u=q;return}j=g+e|0;b[j>>0]=0;i=g;while(1){k=i+1|0;if(!(b[i>>0]|0))break;else i=k}if(k>>>0>(j+-2|0)>>>0){rib(a,479813);u=q;return}m=i+2|0;o=b[k>>0]|0;b[p+4>>0]=o;o=o<<24>>24==8;k=o?6:10;j=g-m+e|0;i=(j>>>0)/(k>>>0)|0;if(j-(W(i,k)|0)|0){rib(a,479834);u=q;return}if(i>>>0>429496729){rib(a,479860);u=q;return}n=p+12|0;f[n>>2]=i;l=Jib(a,i*10|0)|0;e=p+8|0;f[e>>2]=l;if(!l){rib(a,479880);u=q;return}a:do if(k>>>0<=j>>>0){i=0;k=m;m=l;while(1){j=m+(i*10|0)|0;if(o){d[j>>1]=h[k>>0]|0;d[m+(i*10|0)+2>>1]=h[k+1>>0]|0;d[m+(i*10|0)+4>>1]=h[k+2>>0]|0;l=k+4|0;j=h[k+3>>0]|0}else{d[j>>1]=h[k>>0]<<8|h[k+1>>0];d[m+(i*10|0)+2>>1]=h[k+2>>0]<<8|h[k+3>>0];d[m+(i*10|0)+4>>1]=h[k+4>>0]<<8|h[k+5>>0];l=k+8|0;j=(h[k+6>>0]<<8|h[k+7>>0])&65535}d[m+(i*10|0)+6>>1]=j;d[m+(i*10|0)+8>>1]=h[l>>0]<<8|h[l+1>>0];i=i+1|0;if((i|0)>=(f[n>>2]|0))break a;k=l+2|0;m=f[e>>2]|0}}while(0);f[p>>2]=g;hjb(a,c,p,1);xib(a,f[e>>2]|0);u=q;return}function Nkb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=0,k=0,l=0;l=u;u=u+272|0;k=l;g=l+256|0;i=f[a+208>>2]|0;if(!(i&1))Cib(a,479325);if(i&4|0){qkb(a,e)|0;Ykb(a,479575);u=l;return}if(c|0?f[c+8>>2]&16|0:0){qkb(a,e)|0;Ykb(a,479557);u=l;return}a:do switch(b[a+435>>0]|0){case 0:{if((e|0)==2){sib(a,g,2);Hjb(a,g,2);e=a+428|0;d[e>>1]=1;d[a+540>>1]=h[g>>0]<<8|h[g+1>>0];break a}qkb(a,e)|0;Ykb(a,479567);u=l;return}case 2:{if((e|0)==6){sib(a,g,6);Hjb(a,g,6);e=a+428|0;d[e>>1]=1;d[a+534>>1]=h[g>>0]<<8|h[g+1>>0];d[a+536>>1]=h[g+2>>0]<<8|h[g+3>>0];d[a+538>>1]=h[g+4>>0]<<8|h[g+5>>0];break a}qkb(a,e)|0;Ykb(a,479567);u=l;return}case 3:{if(!(i&2)){qkb(a,e)|0;Ykb(a,479575);u=l;return}if(!(e>>>0>256?1:(e+-1|0)>>>0>=(j[a+420>>1]|0)>>>0)){sib(a,k,e);Hjb(a,k,e);i=a+428|0;d[i>>1]=e;e=i;break a}qkb(a,e)|0;Ykb(a,479567);u=l;return}default:{qkb(a,e)|0;Ykb(a,479753);u=l;return}}while(0);if(!(qkb(a,0)|0)){fjb(a,c,k,j[e>>1]|0,a+532|0);u=l;return}else{d[e>>1]=0;u=l;return}}function Okb(a,c,e){a=a|0;c=c|0;e=e|0;var g=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;m=q+10|0;p=q;g=f[a+208>>2]|0;if(!(g&1))Cib(a,479325);if((g&4|0)==0?(i=a+435|0,j=b[i>>0]|0,k=j<<24>>24==3,!((g&2|0)==0&k)):0){l=(c|0)!=0;if(l?f[c+8>>2]&32|0:0){qkb(a,e)|0;Ykb(a,479557);u=q;return}if(((k?1:(j<<1&4|2)&255)|0)!=(e|0)){qkb(a,e)|0;Ykb(a,479567);u=q;return}sib(a,m,e);Hjb(a,m,e);if(qkb(a,0)|0){u=q;return}i=b[i>>0]|0;do if(i<<24>>24!=3){b[p>>0]=0;g=((h[m>>0]|0)<<8|(h[m+1>>0]|0))&65535;if(!(i&2)){d[p+8>>1]=g;d[p+6>>1]=g;d[p+4>>1]=g;d[p+2>>1]=g;break}else{d[p+2>>1]=g;d[p+4>>1]=(h[m+2>>0]|0)<<8|(h[m+3>>0]|0);d[p+6>>1]=(h[m+4>>0]|0)<<8|(h[m+5>>0]|0);d[p+8>>1]=0;break}}else{g=b[m>>0]|0;b[p>>0]=g;do if(l?(n=d[c+20>>1]|0,n<<16>>16!=0):0){g=g&255;if(g>>>0<(n&65535)>>>0){n=f[a+416>>2]|0;d[p+2>>1]=h[n+(g*3|0)>>0]|0;d[p+4>>1]=h[n+(g*3|0)+1>>0]|0;d[p+6>>1]=h[n+(g*3|0)+2>>0]|0;break}Ykb(a,479739);u=q;return}else o=18;while(0);if((o|0)==18){d[p+6>>1]=0;d[p+4>>1]=0;d[p+2>>1]=0}d[p+8>>1]=0}while(0);vib(a,c,p);u=q;return}qkb(a,e)|0;Ykb(a,479575);u=q;return}function Pkb(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,i=0,k=0,l=0;l=u;u=u+528|0;i=l;k=l+512|0;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if((e&6|0)!=2){qkb(a,c)|0;Ykb(a,479575);u=l;return}if(b|0?f[b+8>>2]&64|0:0){qkb(a,c)|0;Ykb(a,479557);u=l;return}g=c>>>1;if(c>>>0>513?1:(g|0)!=(j[a+420>>1]|0|0)){qkb(a,c)|0;Ykb(a,479567);u=l;return}if(g|0){c=k+1|0;e=0;do{sib(a,k,2);Hjb(a,k,2);d[i+(e<<1)>>1]=(h[k>>0]|0)<<8|(h[c>>0]|0);e=e+1|0}while((e|0)!=(g|0))}if(qkb(a,0)|0){u=l;return}Hib(a,b,i);u=l;return}function Qkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if(e&4|0){qkb(a,c)|0;Ykb(a,479575);u=g;return}if(b|0?f[b+8>>2]&128|0:0){qkb(a,c)|0;Ykb(a,479557);u=g;return}if((c|0)!=9){qkb(a,c)|0;Ykb(a,479567);u=g;return}sib(a,d,9);Hjb(a,d,9);if(qkb(a,0)|0){u=g;return}Rib(a,b,(h[d+1>>0]|0)<<16|(h[d>>0]|0)<<24|(h[d+2>>0]|0)<<8|(h[d+3>>0]|0),(h[d+5>>0]|0)<<16|(h[d+4>>0]|0)<<24|(h[d+6>>0]|0)<<8|(h[d+7>>0]|0),h[d+8>>0]|0);u=g;return}function Rkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if(e&4|0){qkb(a,c)|0;Ykb(a,479575);u=g;return}if(b|0?f[b+8>>2]&256|0:0){qkb(a,c)|0;Ykb(a,479557);u=g;return}if((c|0)!=9){qkb(a,c)|0;Ykb(a,479567);u=g;return}sib(a,d,9);Hjb(a,d,9);if(qkb(a,0)|0){u=g;return}Mib(a,b,(h[d+1>>0]|0)<<16|(h[d>>0]|0)<<24|(h[d+2>>0]|0)<<8|(h[d+3>>0]|0),(h[d+5>>0]|0)<<16|(h[d+4>>0]|0)<<24|(h[d+6>>0]|0)<<8|(h[d+7>>0]|0),h[d+8>>0]|0);u=g;return}function Skb(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;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if(e&4|0){qkb(a,d)|0;Ykb(a,479575);return}if(c|0?f[c+8>>2]&1024|0:0){qkb(a,d)|0;Ykb(a,479557);return}i=d+1|0;j=a+788|0;e=f[j>>2]|0;if(e){g=a+792|0;if((f[g>>2]|0)>>>0<i>>>0){f[j>>2]=0;f[g>>2]=0;xib(a,e);k=11}}else k=11;do if((k|0)==11){e=djb(a,i)|0;if(e|0){f[j>>2]=e;f[a+792>>2]=i;break}qkb(a,d)|0;Ykb(a,479372);return}while(0);sib(a,e,d);Hjb(a,e,d);if(qkb(a,0)|0)return;p=e+d|0;b[p>>0]=0;i=e;while(1){g=i+1|0;if(!(b[i>>0]|0))break;else i=g}if(p>>>0<=(i+12|0)>>>0){Ykb(a,479567);return}n=h[i+2>>0]<<16|h[g>>0]<<24|h[i+3>>0]<<8|h[i+4>>0];o=h[i+6>>0]<<16|h[i+5>>0]<<24|h[i+7>>0]<<8|h[i+8>>0];g=b[i+9>>0]|0;j=b[i+10>>0]|0;l=i+11|0;m=g&255;if((g<<24>>24!=0|j<<24>>24==2?(g+-1&255)>1|j<<24>>24==3:0)?g<<24>>24!=3|j<<24>>24==4:0){if((g&255)>3)Ykb(a,479699);g=l;while(1)if(!(b[g>>0]|0))break;else g=g+1|0;k=j&255;d=Jib(a,k<<2)|0;if(!d){Ykb(a,479372);return}a:do if(j<<24>>24){i=0;b:while(1){g=g+1|0;f[d+(i<<2)>>2]=g;if(g>>>0>p>>>0)break;while(1){if(!(b[g>>0]|0))break;g=g+1|0;if(g>>>0>p>>>0)break b}i=i+1|0;if(i>>>0>=k>>>0)break a}xib(a,d);Ykb(a,479726);return}while(0);Nib(a,c,e,n,o,m,k,l,d);xib(a,d);return}Ykb(a,479675);return}function Tkb(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;p=u;u=u+16|0;l=p+4|0;o=p;e=f[a+208>>2]|0;if(!(e&1))Cib(a,479325);if(e&4|0){qkb(a,d)|0;Ykb(a,479575);u=p;return}if(c|0?f[c+8>>2]&16384|0:0){qkb(a,d)|0;Ykb(a,479557);u=p;return}if(d>>>0<4){qkb(a,d)|0;Ykb(a,479567);u=p;return}i=d+1|0;j=a+788|0;e=f[j>>2]|0;if(e){g=a+792|0;if((f[g>>2]|0)>>>0<i>>>0){f[j>>2]=0;f[g>>2]=0;xib(a,e);k=13}}else k=13;do if((k|0)==13){e=djb(a,i)|0;if(e|0){f[j>>2]=e;f[a+792>>2]=i;break}Ykb(a,479372);qkb(a,d)|0;u=p;return}while(0);sib(a,e,d);Hjb(a,e,d);b[e+d>>0]=0;if(qkb(a,0)|0){u=p;return}if(((b[e>>0]|0)+-1&255)>=2){Ykb(a,479588);u=p;return}f[l>>2]=1;f[o>>2]=0;if((Pib(e,d,o,l)|0?(m=f[l>>2]|0,m>>>0<d>>>0):0)?(n=m+1|0,f[l>>2]=n,(b[e+m>>0]|0)==0):0){if((f[o>>2]&392|0)!=264){Ykb(a,479618);u=p;return}f[o>>2]=0;m=(Pib(e,d,o,l)|0)!=0;if(!(m&(f[l>>2]|0)==(d|0))){Ykb(a,479637);u=p;return}if((f[o>>2]&392|0)==264){Qib(a,c,h[e>>0]|0,e+1|0,e+n|0);u=p;return}else{Ykb(a,479655);u=p;return}}Ykb(a,479601);u=p;return}function Ukb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=0,j=0,k=0,l=0;l=u;u=u+16|0;g=l+8|0;i=l;j=a+208|0;k=f[j>>2]|0;if(!(k&1))Cib(a,479325);if(c|0?f[c+8>>2]&512|0:0){qkb(a,e)|0;Ykb(a,479557);u=l;return}if(k&4|0)f[j>>2]=k|8;if((e|0)!=7){qkb(a,e)|0;Ykb(a,479567);u=l;return}sib(a,g,7);Hjb(a,g,7);if(qkb(a,0)|0){u=l;return}b[i+6>>0]=b[g+6>>0]|0;b[i+5>>0]=b[g+5>>0]|0;b[i+4>>0]=b[g+4>>0]|0;b[i+3>>0]=b[g+3>>0]|0;b[i+2>>0]=b[g+2>>0]|0;d[i>>1]=(h[g>>0]|0)<<8|(h[g+1>>0]|0);ejb(a,c,i);u=l;return}function Vkb(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+32|0;k=l;e=a+756|0;g=f[e>>2]|0;switch(g|0){case 0:break;case 1:{qkb(a,d)|0;u=l;return}default:j=3}if((j|0)==3?(i=g+-1|0,f[e>>2]=i,(i|0)==1):0){qkb(a,d)|0;Ykb(a,479301);u=l;return}e=a+208|0;g=f[e>>2]|0;if(!(g&1))Cib(a,479325);if(g&4|0)f[e>>2]=g|8;g=d+1|0;h=a+788|0;i=f[h>>2]|0;if(i){e=a+792|0;if((f[e>>2]|0)>>>0<g>>>0){f[h>>2]=0;f[e>>2]=0;xib(a,i);j=12}}else j=12;do if((j|0)==12){e=djb(a,g)|0;if(e|0){f[h>>2]=e;f[a+792>>2]=g;i=e;break}rkb(a,479338);Ykb(a,479372);u=l;return}while(0);sib(a,i,d);Hjb(a,i,d);if(qkb(a,0)|0){u=l;return}g=i+d|0;b[g>>0]=0;e=i;while(1){h=e+1|0;if(!(b[e>>0]|0))break;else e=h}d=(e|0)==(g|0)?e:h;f[k>>2]=-1;f[k+4>>2]=i;f[k+20>>2]=0;f[k+24>>2]=0;f[k+16>>2]=0;f[k+8>>2]=d;d=Rmb(d)|0;f[k+12>>2]=d;if(!(bjb(a,c,k,1)|0)){u=l;return}rib(a,479515);u=l;return}function Wkb(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+32|0;j=l+28|0;k=l;e=a+756|0;g=f[e>>2]|0;switch(g|0){case 0:break;case 1:{qkb(a,d)|0;u=l;return}default:h=3}if((h|0)==3?(i=g+-1|0,f[e>>2]=i,(i|0)==1):0){qkb(a,d)|0;Ykb(a,479301);u=l;return}g=a+208|0;e=f[g>>2]|0;if(!(e&1))Cib(a,479325);if(e&4|0)f[g>>2]=e|8;i=a+788|0;e=f[i>>2]|0;if(e){g=a+792|0;if((f[g>>2]|0)>>>0<d>>>0){f[i>>2]=0;f[g>>2]=0;xib(a,e);h=12}}else h=12;do if((h|0)==12){e=djb(a,d)|0;if(e|0){f[i>>2]=e;f[a+792>>2]=d;break}qkb(a,d)|0;Ykb(a,479372);u=l;return}while(0);sib(a,e,d);Hjb(a,e,d);if(qkb(a,0)|0){u=l;return}do if(d){g=0;do{if(!(b[e+g>>0]|0))break;g=g+1|0}while(g>>>0<d>>>0);if((g+-1|0)>>>0<=78)if((g+3|0)>>>0<=d>>>0)if(!(b[e+(g+1)>>0]|0)){f[j>>2]=-1;e=g+2|0;if((Zkb(a,d,e,j)|0)==1){d=f[i>>2]|0;j=f[j>>2]|0;b[d+(j+e)>>0]=0;f[k>>2]=0;f[k+4>>2]=d;f[k+8>>2]=d+g+2;f[k+12>>2]=j;f[k+16>>2]=0;f[k+20>>2]=0;f[k+24>>2]=0;if(bjb(a,c,k,1)|0){e=482267;break}u=l;return}else{e=f[a+248>>2]|0;if(e|0)break;u=l;return}}else e=479490;else e=479386;else e=479417}else e=479417;while(0);Ykb(a,e);u=l;return}function Xkb(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+32|0;m=p+28|0;n=p;e=a+756|0;g=f[e>>2]|0;switch(g|0){case 0:break;case 1:{qkb(a,d)|0;u=p;return}default:o=3}if((o|0)==3?(l=g+-1|0,f[e>>2]=l,(l|0)==1):0){qkb(a,d)|0;Ykb(a,479301);u=p;return}g=a+208|0;e=f[g>>2]|0;if(!(e&1))Cib(a,479325);if(e&4|0)f[g>>2]=e|8;h=d+1|0;l=a+788|0;e=f[l>>2]|0;if(e){g=a+792|0;if((f[g>>2]|0)>>>0<h>>>0){f[l>>2]=0;f[g>>2]=0;xib(a,e);o=12}else k=e}else o=12;do if((o|0)==12){e=djb(a,h)|0;if(e|0){f[l>>2]=e;f[a+792>>2]=h;k=e;break}rkb(a,479338);qkb(a,d)|0;Ykb(a,479372);u=p;return}while(0);sib(a,k,d);Hjb(a,k,d);if(qkb(a,0)|0){u=p;return}a:do if(d){e=0;do{if(!(b[k+e>>0]|0))break;e=e+1|0}while(e>>>0<d>>>0);if((e+-1|0)>>>0<=78)if((e+5|0)>>>0>d>>>0)e=479386;else{g=b[k+(e+1)>>0]|0;switch(g<<24>>24){case 0:break;case 1:{if(b[k+(e+2)>>0]|0){e=479396;break a}break}default:{e=479396;break a}}j=g<<24>>24!=0;f[m>>2]=0;i=e+3|0;b:do if(i>>>0<d>>>0){e=i;do{if(!(b[k+e>>0]|0))break b;e=e+1|0}while(e>>>0<d>>>0)}else e=i;while(0);h=e+1|0;c:do if(h>>>0<d>>>0){e=h;do{if(!(b[k+e>>0]|0))break c;e=e+1|0}while(e>>>0<d>>>0)}else e=h;while(0);g=e+1|0;do if(j|g>>>0>d>>>0)if(j&g>>>0<d>>>0){f[m>>2]=-1;if((Zkb(a,d,g,m)|0)!=1){e=f[a+248>>2]|0;if(!e){e=k;o=38;break}else break}else{e=f[l>>2]|0;o=38;break}}else e=479386;else{f[m>>2]=d-g;e=k;o=38}while(0);if((o|0)==38){b[e+((f[m>>2]|0)+g)>>0]=0;f[n>>2]=j?2:1;f[n+4>>2]=e;f[n+20>>2]=e+i;f[n+24>>2]=e+h;f[n+8>>2]=e+g;f[n+12>>2]=0;f[n+16>>2]=f[m>>2];if(!(bjb(a,c,n,1)|0)){u=p;return}else e=482267}}else e=479417}else e=479417;while(0);Ykb(a,e);u=p;return}function Ykb(a,b){a=a|0;b=b|0;var c=0,d=0;d=u;u=u+224|0;c=d;if(!(f[a+212>>2]&1048576))Cib(a,b);else{Bib(f[a+376>>2]|0,c,b);rib(a,c);u=d;return}}function Zkb(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;v=u;u=u+1024|0;i=v;h=f[a+760>>2]|0;switch(h|0){case -1:case 0:{h=-1;g=d+1|0;break}default:{g=d+1|0;if(h>>>0<g>>>0){Ojb(a,-4);a=-4;u=v;return a|0}}}g=h-g|0;if(g>>>0<(f[e>>2]|0)>>>0)f[e>>2]=g;n=a+376|0;g=_kb(a,f[n>>2]|0)|0;switch(g|0){case 0:{s=c-d|0;r=a+788|0;t=a+220|0;do if((f[t>>2]|0)==(f[n>>2]|0)){g=f[e>>2]|0;o=a+224|0;f[o>>2]=(f[r>>2]|0)+d;p=a+228|0;q=a+240|0;m=a+236|0;f[p>>2]=s;f[m>>2]=i;h=g>>>0<1024?g:1024;f[q>>2]=h;h=g-h|0;g=mmb(o,(h|0)==0?4:0)|0;if(!g){g=h;while(1){g=(f[q>>2]|0)+g|0;f[m>>2]=i;h=g>>>0<1024?g:1024;f[q>>2]=h;h=g-h|0;g=mmb(o,(h|0)==0?4:0)|0;if(!g)g=h;else break}}f[m>>2]=0;c=f[p>>2]|0;h=(f[q>>2]|0)+h|0;if(h|0)f[e>>2]=(f[e>>2]|0)-h;h=s-c|0;Ojb(a,g);if((g|0)==1){if(kmb(o)|0){Ojb(a,1);g=-7;break}j=f[e>>2]|0;k=d+1+j|0;l=djb(a,k)|0;if(!l){Ojb(a,-4);g=-4;break}if((f[t>>2]|0)==(f[n>>2]|0)){g=f[e>>2]|0;f[o>>2]=(f[r>>2]|0)+d;f[m>>2]=l+d;f[p>>2]=h;f[q>>2]=g;g=mmb(o,4)|0;if(!g)do g=mmb(o,4)|0;while(!(g|0));i=f[p>>2]|0;c=f[q>>2]|0;if(c|0)f[e>>2]=(f[e>>2]|0)-c;h=h-i|0;Ojb(a,g);if((g|0)==1)if((j|0)==(f[e>>2]|0)){b[l+(j+d)>>0]=0;c=f[r>>2]|0;if(d|0)YDb(l|0,c|0,d|0)|0;f[r>>2]=l;f[a+792>>2]=k;g=1}else{c=l;g=-7}else c=l}else{f[a+248>>2]=479429;c=l;g=-2}xib(a,c);if(!((s|0)==(h|0)|(g|0)!=1)){Ykb(a,479447);g=1}}}else{f[a+248>>2]=479429;g=-2}while(0);f[t>>2]=0;a=g;u=v;return a|0}case 1:{a=-7;u=v;return a|0}default:{a=g;u=v;return a|0}}return 0}function _kb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+64|0;d=h;g=a+220|0;e=f[g>>2]|0;if(e|0){b[d>>0]=e>>>24;b[d+1>>0]=e>>>16;b[d+2>>0]=e>>>8;b[d+3>>0]=e;Xib(d,64,4,479469)|0;rkb(a,d);f[g>>2]=0}d=a+224|0;f[d>>2]=0;f[a+228>>2]=0;f[a+236>>2]=0;f[a+240>>2]=0;e=a+212|0;if(!(f[e>>2]&2)){d=lmb(d,479484,56)|0;if(!d){f[e>>2]=f[e>>2]|2;e=7}else e=8}else{d=kmb(d)|0;if(!d)e=7;else e=8}if((e|0)==7){f[g>>2]=c;a=0;u=h;return a|0}else if((e|0)==8){Ojb(a,d);a=d;u=h;return a|0}return 0}function $kb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(d>>>0>=132){d=1;return d|0}Wib(a,b,c,d,479916);d=0;return d|0}function alb(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0;if(!b)return;c=b+40|0;e=a+824|0;g=c+76|0;do{f[c>>2]=f[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(g|0));g=d[b+114>>1]|0;c=g&65535;if(c&32768|0){e=b+8|0;g=f[e>>2]&-6150;f[e>>2]=g;c=b+232|0;h=f[c>>2]|0;if(h&16|0){i=b+116|0;xib(a,f[i>>2]|0);b=b+120|0;xib(a,f[b>>2]|0);f[i>>2]=0;f[b>>2]=0;f[e>>2]=g}f[c>>2]=h&-17;return}e=b+8|0;i=f[e>>2]|0;c=(c&128|0)==0?i&-2049:i|2048;c=(g&2)==0?c&-5:c|4;f[e>>2]=c;if(!(g&1)){f[e>>2]=c&-2;return}else{f[e>>2]=c|1;return}}function blb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=a+772|0;d=f[g>>2]|0;if(d|0){xib(a,d);f[g>>2]=0}d=f[a+760>>2]|0;switch(d|0){case -1:case 0:{e=5;break}default:if(d>>>0>=c>>>0)e=5}do if((e|0)==5){e=f[a+376>>2]|0;b[a+764>>0]=e>>>24;b[a+765>>0]=e>>>16;b[a+766>>0]=e>>>8;b[a+767>>0]=e;b[a+768>>0]=0;f[a+776>>2]=c;b[a+780>>0]=f[a+208>>2];if(!c)f[g>>2]=0;else{d=Jib(a,c)|0;f[g>>2]=d;if(!d)break;sib(a,d,c);Hjb(a,d,c)}qkb(a,0)|0;g=1;return g|0}while(0);qkb(a,c)|0;Ykb(a,480207);g=0;return g|0}function clb(a,b,c){a=a|0;b=b|0;c=c|0;if(c>>>0<=8){if(!c){b=-1;return b|0}}else c=8;if(b>>>0>7){b=-1;return b|0}b=anb(a+b|0,480262+b|0,(c+b|0)>>>0>8?8-b|0:c)|0;return b|0}function dlb(a,c,e){a=a|0;c=c|0;e=e|0;var 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,u=0,v=0,w=0,x=0,y=0;v=b[a+443>>0]|0;w=v&255;x=(f[a+384>>2]|0)+1|0;u=f[a+348>>2]|0;k=b[a+433>>0]|0;r=k&255;if(!(v<<24>>24))kib(a,480270);g=f[a+404>>2]|0;if(g|0){if((v&255)>7)i=W(u,w>>>3)|0;else i=((W(u,w)|0)+7|0)>>>3;if((g|0)!=(i|0))kib(a,480295)}if(!u)kib(a,480331);s=W(u,w)|0;i=s&7;do if(i){g=W(u,w>>>3)|0;g=c+((v&255)>7?g:(s+7|0)>>>3)+-1|0;j=b[g>>0]|0;if(!(f[a+216>>2]&65536)){q=g;o=255>>>i;n=j;break}else{q=g;o=255<<i;n=j;break}}else{q=0;o=0;n=0}while(0);a:do if((b[a+432>>0]|0)!=0?(m=f[a+216>>2]|0,(k&255)<6&(m&2|0)!=0):0){switch(e|0){case 0:{g=r&1;break}case 1:{if(!(r&1)){y=70;break a}else g=1;break}default:{y=70;break a}}g=g<<3-((r+1|0)>>>1)&7;if(u>>>0<=g>>>0)return;if((v&255)<8){l=8/(w>>>0)|0;g=(e|0)!=0;i=v<<24>>24==1?0:v<<24>>24==2?1:2;do if(!(m&65536))if(g){g=252180+(i*12|0)+(r>>>1<<2)|0;break}else{g=252296+(i*24|0)+(r<<2)|0;break}else if(g){g=252144+(i*12|0)+(r>>>1<<2)|0;break}else{g=252224+(i*24|0)+(r<<2)|0;break}while(0);j=c;k=x;a=u;g=f[g>>2]|0;while(1){i=g>>>8|g<<24;switch((g&255)<<24>>24){case 0:break;case -1:{t=b[k>>0]|0;y=33;break}default:{t=(g&h[k>>0]|(g^255)&h[j>>0])&255;y=33}}if((y|0)==33){y=0;b[j>>0]=t}if(a>>>0<=l>>>0)break a;j=j+1|0;k=k+1|0;a=a-l|0;g=i}}if(w&7|0)kib(a,480356);m=w>>>3;g=W(g,m)|0;i=(W(u,m)|0)-g|0;j=c+g|0;g=x+g|0;k=m<<((6-r|0)>>>1);k=(e|0)==0?m:k>>>0>i>>>0?i:k;m=m<<((7-r|0)>>>1);switch(k|0){case 1:{b[j>>0]=b[g>>0]|0;if(i>>>0<=m>>>0)return;do{j=j+m|0;g=g+m|0;i=i-m|0;b[j>>0]=b[g>>0]|0}while(i>>>0>m>>>0);return}case 2:{do{b[j>>0]=b[g>>0]|0;b[j+1>>0]=b[g+1>>0]|0;if(i>>>0<=m>>>0){y=73;break}g=g+m|0;j=j+m|0;i=i-m|0}while(i>>>0>1);if((y|0)==73)return;b[j>>0]=b[g>>0]|0;return}case 3:{b[j>>0]=b[g>>0]|0;b[j+1>>0]=b[g+1>>0]|0;b[j+2>>0]=b[g+2>>0]|0;if(i>>>0<=m>>>0)return;do{g=g+m|0;j=j+m|0;i=i-m|0;b[j>>0]=b[g>>0]|0;b[j+1>>0]=b[g+1>>0]|0;b[j+2>>0]=b[g+2>>0]|0}while(i>>>0>m>>>0);return}default:{if((k>>>0<16?(l=j,(l&1|0)==0):0)?(p=m|g,((p|k)&1|0)==0):0)if(!((p|l|k)&3)){l=(m-k|0)>>>2;do{a=k;do{c=g;g=g+4|0;x=j;j=j+4|0;f[x>>2]=f[c>>2];a=a+-4|0}while((a|0)!=0);j=j+(l<<2)|0;g=g+(l<<2)|0;x=i;i=i-m|0;if(x>>>0<=m>>>0){y=73;break}}while(k>>>0<=i>>>0);if((y|0)==73)return;while(1){b[j>>0]=b[g>>0]|0;i=i+-1|0;if(!i)break;else{j=j+1|0;g=g+1|0}}return}else{l=(m-k|0)>>>1;do{a=k;do{c=g;g=g+2|0;x=j;j=j+2|0;d[x>>1]=d[c>>1]|0;a=a+-2|0}while((a|0)!=0);j=j+(l<<1)|0;g=g+(l<<1)|0;x=i;i=i-m|0;if(x>>>0<=m>>>0){y=73;break}}while(k>>>0<=i>>>0);if((y|0)==73)return;while(1){b[j>>0]=b[g>>0]|0;i=i+-1|0;if(!i)break;else{j=j+1|0;g=g+1|0}}return}YDb(j|0,g|0,k|0)|0;if(i>>>0<=m>>>0)return;do{g=g+m|0;j=j+m|0;i=i-m|0;k=k>>>0>i>>>0?i:k;YDb(j|0,g|0,k|0)|0}while(i>>>0>m>>>0);return}}}else y=70;while(0);if((y|0)==70){y=W(u,w>>>3)|0;YDb(c|0,x|0,((v&255)>7?y:(s+7|0)>>>3)|0)|0}if(!q)return;b[q>>0]=(o^255)&h[q>>0]|o&(n&255);return}function elb(a,c){a=a|0;c=c|0;var e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;if((a|0)==0|(c|0)==0)return;m=a+208|0;if(f[m>>2]&1024|0)return;Fjb(a);if(f[m>>2]&4096|0?(e=a+708|0,f[e>>2]|0):0){rib(a,480391);f[e>>2]=0}k=c+25|0;Jjb(a,f[c>>2]|0,f[c+4>>2]|0,h[c+24>>0]|0,h[k>>0]|0,h[c+26>>0]|0,h[c+27>>0]|0,h[c+28>>0]|0);l=c+114|0;e=d[l>>1]|0;if((e&-32760)<<16>>16==8?(f[c+8>>2]&1|0)!=0:0){Qjb(a,f[c+40>>2]|0);e=d[l>>1]|0}g=c+8|0;do if(e<<16>>16>-1){p=f[g>>2]|0;e=(p&2048|0)==0;if(!(p&4096)){if(e)break;Rjb(a,j[c+112>>1]|0);break}if(!e)kjb(a,480440);Sjb(a,f[c+116>>2]|0,f[c+120>>2]|0)}while(0);if(f[g>>2]&2|0)Zjb(a,c+148|0,h[k>>0]|0);if((d[l>>1]&-32752)<<16>>16==16?f[g>>2]&4|0:0)_jb(a,c+44|0);e=f[c+240>>2]|0;if(e|0?(i=f[c+236>>2]|0,n=i+(e*20|0)|0,(e|0)>0):0){k=a+688|0;do{do if(b[i+16>>0]&1?(o=flb(a,i)|0,(o|0)!=1):0){if(!((o|0)==3|(b[i+3>>0]&32)!=0)){if(o|0)break;if((f[k>>2]|0)!=3)break}g=i+12|0;e=f[g>>2]|0;if(!e){rib(a,480486);e=f[g>>2]|0}Ijb(a,i,f[i+8>>2]|0,e)}while(0);i=i+20|0}while(i>>>0<n>>>0)}f[m>>2]=f[m>>2]|1024;return}function flb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((a|0)==0|(b|0)==0){e=0;return e|0}c=f[a+692>>2]|0;if(!c){e=0;return e|0}d=f[a+696>>2]|0;a=d+(c*5|0)|0;while(1){c=a+-5|0;if(!(anb(b,c,4)|0))break;if(c>>>0>d>>>0)a=c;else{a=0;e=7;break}}if((e|0)==7)return a|0;e=h[a+-1>>0]|0;return e|0}function glb(a,c){a=a|0;c=c|0;var e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0;if((a|0)==0|(c|0)==0)return;elb(a,c);l=c+8|0;g=f[l>>2]|0;if(!(g&8))if((b[c+25>>0]|0)==3)kib(a,480520);else e=g;else{Kjb(a,f[c+16>>2]|0,j[c+20>>1]|0);e=f[l>>2]|0}if(e&16){g=c+25|0;if((f[a+216>>2]&524288|0?(b[g>>0]|0)==3:0)?(k=c+22|0,d[k>>1]|0):0){i=c+156|0;e=0;do{o=(f[i>>2]|0)+e|0;b[o>>0]=~b[o>>0];e=e+1|0}while(e>>>0<(j[k>>1]|0)>>>0)}akb(a,f[c+156>>2]|0,c+160|0,j[c+22>>1]|0,h[g>>0]|0);e=f[l>>2]|0}if(e&32){bkb(a,c+170|0,h[c+25>>0]|0);e=f[l>>2]|0}if(e&64){ckb(a,f[c+204>>2]|0,j[c+20>>1]|0);e=f[l>>2]|0}if(e&256){gkb(a,f[c+180>>2]|0,f[c+184>>2]|0,h[c+188>>0]|0);e=f[l>>2]|0}if(e&1024){hkb(a,f[c+208>>2]|0,f[c+212>>2]|0,f[c+216>>2]|0,h[c+228>>0]|0,h[c+229>>0]|0,f[c+220>>2]|0,f[c+224>>2]|0);e=f[l>>2]|0}if(e&16384){ikb(a,h[c+252>>0]|0,f[c+256>>2]|0,f[c+260>>2]|0);e=f[l>>2]|0}if(e&128){jkb(a,f[c+192>>2]|0,f[c+196>>2]|0,h[c+200>>0]|0);e=f[l>>2]|0}if(e&512){kkb(a,c+140|0);e=a+208|0;f[e>>2]=f[e>>2]|512;e=f[l>>2]|0}if(e&8192|0?(m=c+248|0,(f[m>>2]|0)>0):0){g=c+244|0;e=0;do{Yjb(a,(f[g>>2]|0)+(e<<4)|0);e=e+1|0}while((e|0)<(f[m>>2]|0))}k=c+128|0;if((f[k>>2]|0)>0){l=c+136|0;i=0;e=f[l>>2]|0;do{g=f[e+(i*28|0)>>2]|0;a:do if((g|0)>0){fkb(a,g,f[e+(i*28|0)+4>>2]|0,f[e+(i*28|0)+20>>2]|0,f[e+(i*28|0)+24>>2]|0,f[e+(i*28|0)+8>>2]|0);e=f[l>>2]|0;g=e+(i*28|0)|0;if((f[g>>2]|0)==-1){f[g>>2]=-3;break}else{f[g>>2]=-2;break}}else switch(g|0){case 0:{ekb(a,f[e+(i*28|0)+4>>2]|0,f[e+(i*28|0)+8>>2]|0,0);e=f[l>>2]|0;f[e+(i*28|0)>>2]=-2;break a}case -1:{dkb(a,f[e+(i*28|0)+4>>2]|0,f[e+(i*28|0)+8>>2]|0,0);e=f[l>>2]|0;f[e+(i*28|0)>>2]=-3;break a}default:break a}while(0);i=i+1|0}while((i|0)<(f[k>>2]|0))}e=f[c+240>>2]|0;if(!e)return;g=f[c+236>>2]|0;l=g+(e*20|0)|0;if((e|0)<=0)return;k=a+688|0;do{do if(b[g+16>>0]&2?(n=flb(a,g)|0,(n|0)!=1):0){if(!((n|0)==3|(b[g+3>>0]&32)!=0)){if(n|0)break;if((f[k>>2]|0)!=3)break}i=g+12|0;e=f[i>>2]|0;if(!e){rib(a,480486);e=f[i>>2]|0}Ijb(a,g,f[g+8>>2]|0,e)}while(0);g=g+20|0}while(g>>>0<l>>>0);return}function hlb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;if(!a)return;l=a+208|0;if(!(f[l>>2]&4))kib(a,480563);if((f[a+424>>2]|0)>(j[a+420>>1]|0|0))Aib(a,480590);if(c|0){if(f[c+8>>2]&512|0?(f[l>>2]&512|0)==0:0)kkb(a,c+140|0);i=c+128|0;if((f[i>>2]|0)>0){k=c+136|0;h=0;d=f[k>>2]|0;do{e=f[d+(h*28|0)>>2]|0;do if((e|0)>0){fkb(a,e,f[d+(h*28|0)+4>>2]|0,f[d+(h*28|0)+20>>2]|0,f[d+(h*28|0)+24>>2]|0,f[d+(h*28|0)+8>>2]|0);d=f[k>>2]|0;e=d+(h*28|0)|0;if((f[e>>2]|0)==-1){f[e>>2]=-3;break}else{f[e>>2]=-2;break}}else{if((e|0)>-1){ekb(a,f[d+(h*28|0)+4>>2]|0,f[d+(h*28|0)+8>>2]|0,e);d=f[k>>2]|0;f[d+(h*28|0)>>2]=-2;break}if((e|0)==-1){dkb(a,f[d+(h*28|0)+4>>2]|0,f[d+(h*28|0)+8>>2]|0,0);d=f[k>>2]|0;f[d+(h*28|0)>>2]=-3}}while(0);h=h+1|0}while((h|0)<(f[i>>2]|0))}d=f[c+240>>2]|0;if(d|0?(g=f[c+236>>2]|0,m=g+(d*20|0)|0,(d|0)>0):0){h=a+688|0;do{do if(b[g+16>>0]&8?(n=flb(a,g)|0,(n|0)!=1):0){if(!((n|0)==3|(b[g+3>>0]&32)!=0)){if(n|0)break;if((f[h>>2]|0)!=3)break}e=g+12|0;d=f[e>>2]|0;if(!d){rib(a,480486);d=f[e>>2]|0}Ijb(a,g,f[g+8>>2]|0,d)}while(0);g=g+20|0}while(g>>>0<m>>>0)}}f[l>>2]=f[l>>2]|8;Pjb(a);return}function ilb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=jlb(a,b,c,d,0,0,0)|0;if(!a)return a|0;f[a+284>>2]=8192;f[a+304>>2]=1;f[a+288>>2]=-1;f[a+300>>2]=8;f[a+296>>2]=15;f[a+292>>2]=8;f[a+324>>2]=0;f[a+308>>2]=-1;f[a+320>>2]=8;f[a+316>>2]=15;f[a+312>>2]=8;d=a+212|0;f[d>>2]=f[d>>2]|2097152;qib(a,0,0,0);return a|0}function jlb(a,b,c,d,e,g,h){a=a|0;b=b|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;m=u;u=u+1056|0;j=4;l=Cmb(40)|0;f[l>>2]=0;k=m+156|0;i=m;_Db(k|0,0,900)|0;f[k+748>>2]=1e6;f[k+752>>2]=1e6;f[k+756>>2]=1e3;f[k+760>>2]=8e6;w=0;Ra(90,k|0,e|0,g|0,h|0);e=w;w=0;if((e|0)!=0&(x|0)!=0){g=UDb(f[e>>2]|0,l|0,j|0)|0;if(!g)ni(e|0,x|0);H=x}else g=-1;if((g|0)!=1){w=0;Ra(91,k|0,b|0,c|0,d|0);e=w;w=0;if((e|0)!=0&(x|0)!=0){g=UDb(f[e>>2]|0,l|0,j|0)|0;if(!g)ni(e|0,x|0);H=x}else g=-1;if((g|0)!=1){l=TDb(i,1,l|0,j|0)|0;j=H;w=0;e=w;w=0;if((e|0)!=0&(x|0)!=0){g=UDb(f[e>>2]|0,l|0,j|0)|0;if(!g)ni(e|0,x|0);H=x}else g=-1;if((g|0)!=1)e=0;else e=H}else e=H}else e=H;while(1){if(e|0){e=0;g=11;break}b=k+160|0;f[b>>2]=i;c=k+164|0;f[c>>2]=0;d=k+156|0;f[d>>2]=814;w=0;e=la(508,k|0,a|0)|0;g=w;w=0;if((g|0)!=0&(x|0)!=0){h=UDb(f[g>>2]|0,l|0,j|0)|0;if(!h)ni(g|0,x|0);H=x}else h=-1;if((h|0)==1){e=H;continue}if(!e){e=0;g=11;break}w=0;h=la(509,k|0,900)|0;e=w;w=0;if((e|0)!=0&(x|0)!=0){g=UDb(f[e>>2]|0,l|0,j|0)|0;if(!g)ni(e|0,x|0);H=x}else g=-1;if((g|0)==1)e=H;else{g=9;break}}if((g|0)==9){if(!h){k=0;Dmb(l|0);u=m;return k|0}f[k+256>>2]=227;f[k+260>>2]=816;f[k+264>>2]=h;f[b>>2]=0;f[c>>2]=0;f[d>>2]=0;YDb(h|0,k|0,900)|0;k=h;Dmb(l|0);u=m;return k|0}else if((g|0)==11){Dmb(l|0);u=m;return e|0}return 0}function klb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a)return;f[a+176>>2]=b;f[a+168>>2]=c;f[a+172>>2]=d;return}function llb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+128|0;i=j;g=a+212|0;if(!c){d=f[g>>2]|131072;f[g>>2]=d}else{d=0;e=-1;do{e=e+1|0;h=b[c+e>>0]|0;if(h<<24>>24!=(b[480667+e>>0]|0))f[g>>2]=f[g>>2]|131072;d=d+(h<<24>>24==46&1)|0;if(d>>>0>=2)break}while(!((e|0)==6|h<<24>>24==0));d=f[g>>2]|0}if(!(d&131072)){i=1;u=j;return i|0}Xib(i,128,Xib(i,128,Xib(i,128,Xib(i,128,0,480674)|0,c)|0,480705)|0,480667)|0;rib(a,i);i=0;u=j;return i|0}function mlb(a,b,c){a=a|0;b=b|0;c=c|0;if(!a){c=0;return c|0}if((4294967295/(c>>>0)|0)>>>0>b>>>0){c=Jib(a,W(c,b)|0)|0;return c|0}else{rib(a,480632);c=0;return c|0}return 0}function nlb(a,b){a=a|0;b=b|0;xib(a,b);return}function olb(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,p=0,q=0;p=u;u=u+16|0;n=p;if(!a){u=p;return}o=a+372|0;do if((f[o>>2]|0)==0?(b[a+433>>0]|0)==0:0)if(!(f[a+208>>2]&1024))kib(a,480724);else{lkb(a);break}while(0);g=a+432|0;a:do if(b[g>>0]|0?f[a+216>>2]&2|0:0)switch(b[a+433>>0]|0){case 0:{if(!(f[o>>2]&7))break a;mkb(a);u=p;return}case 1:{if((f[o>>2]&7|0)==0?(f[a+348>>2]|0)>>>0>=5:0)break a;mkb(a);u=p;return}case 2:{if((f[o>>2]&7|0)==4)break a;mkb(a);u=p;return}case 3:{if((f[o>>2]&3|0)==0?(f[a+348>>2]|0)>>>0>=3:0)break a;mkb(a);u=p;return}case 4:{if((f[o>>2]&3|0)==2)break a;mkb(a);u=p;return}case 5:{if((f[o>>2]&1|0)==0?(f[a+348>>2]|0)>>>0>=2:0)break a;mkb(a);u=p;return}case 6:{if(f[o>>2]&1|0)break a;mkb(a);u=p;return}default:break a}while(0);m=n+8|0;b[m>>0]=b[a+435>>0]|0;d=f[a+360>>2]|0;f[n>>2]=d;e=b[a+440>>0]|0;b[n+10>>0]=e;i=b[a+437>>0]|0;k=n+9|0;b[k>>0]=i;e=W(i&255,e&255)|0;i=n+11|0;b[i>>0]=e;e=e&255;if(e>>>0>7)d=W(e>>>3,d)|0;else d=((W(e,d)|0)+7|0)>>>3;f[n+4>>2]=d;e=a+384|0;YDb((f[e>>2]|0)+1|0,c|0,d|0)|0;if(((b[g>>0]|0?(g=b[a+433>>0]|0,j=g&255,(g&255)<6):0)?f[a+216>>2]&2|0:0)?(nkb(n,(f[e>>2]|0)+1|0,j),(f[n>>2]|0)==0):0){mkb(a);u=p;return}if(f[a+216>>2]|0)plb(a,n);d=b[i>>0]|0;if(d<<24>>24!=(b[a+438>>0]|0))kib(a,480777);if(d<<24>>24!=(b[a+443>>0]|0))kib(a,480777);b:do if((f[a+708>>2]&4|0)!=0?(b[a+712>>0]|0)==64:0){e=(f[e>>2]|0)+1|0;g=f[n>>2]|0;d=b[m>>0]|0;if(d&2)switch(b[k>>0]|0){case 8:{switch(d<<24>>24){case 2:{c=3;break}case 6:{c=4;break}default:{l=54;break b}}if(!g){l=54;break b}d=e;e=0;while(1){k=h[d+1>>0]|0;b[d>>0]=(h[d>>0]|0)-k;l=d+2|0;b[l>>0]=(h[l>>0]|0)-k;e=e+1|0;if((e|0)==(g|0)){l=54;break}else d=d+c|0}break}case 16:{switch(d<<24>>24){case 2:{c=6;break}case 6:{c=8;break}default:{l=54;break b}}if(!g){l=54;break b}d=e;e=0;while(1){i=d+1|0;k=h[d+2>>0]<<8|h[d+3>>0];j=d+4|0;l=d+5|0;q=(h[d>>0]<<8|h[i>>0])-k|0;k=(h[j>>0]<<8|h[l>>0])-k|0;b[d>>0]=q>>>8;b[i>>0]=q;b[j>>0]=k>>>8;b[l>>0]=k;e=e+1|0;if((e|0)==(g|0)){l=54;break}else d=d+c|0}break}default:break b}}else l=54;while(0);if((l|0)==54)d=b[m>>0]|0;if(d<<24>>24==3?(f[a+424>>2]|0)>-1:0)Ejb(a,n);okb(a,n);d=f[a+548>>2]|0;if(!d){u=p;return}Fj[d&511](a,f[o>>2]|0,h[a+433>>0]|0);u=p;return}function plb(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,p=0,q=0,r=0,s=0,t=0,v=0;v=u;u=u+32|0;r=v+16|0;s=v;if(!a){u=v;return}t=a+216|0;d=f[t>>2]|0;if((d&1048576|0)!=0?(e=f[a+196>>2]|0,(e|0)!=0):0){Fj[e&511](a,c,(f[a+384>>2]|0)+1|0);d=f[t>>2]|0}if(d&32768){Cjb(c,(f[a+384>>2]|0)+1|0,(f[a+212>>2]|0)>>>7&1^1);d=f[t>>2]|0}if(d&65536){Bjb(c,(f[a+384>>2]|0)+1|0);d=f[t>>2]|0}if(((d&4|0)!=0?(i=(f[a+384>>2]|0)+1|0,m=b[a+436>>0]|0,n=m&255,o=c+9|0,(b[o>>0]|0)==8):0)?(p=c+10|0,(b[p>>0]|0)==1):0){switch(m<<24>>24){case 1:{l=f[c>>2]|0;if(l){e=i;g=128;d=0;j=0;while(1){d=((b[i>>0]|0)==0?0:g)|d;if((g|0)>1)g=g>>>1;else{b[e>>0]=d;e=e+1|0;g=128;d=0}j=j+1|0;if((j|0)==(l|0))break;else i=i+1|0}if((g|0)!=128){b[e>>0]=d;d=c}else d=c}else d=c;break}case 2:{l=f[c>>2]|0;if(l){j=0;d=0;e=6;g=i;while(1){d=(b[i>>0]&3)<<e|d;if(!e){b[g>>0]=d;d=0;e=6;g=g+1|0}else e=e+-2|0;j=j+1|0;if((j|0)==(l|0))break;else i=i+1|0}if((e|0)!=6){b[g>>0]=d;d=c}else d=c}else d=c;break}case 4:{l=f[c>>2]|0;if(l){j=0;d=0;e=4;g=i;while(1){d=(b[i>>0]&15)<<e|d;if(!e){b[g>>0]=d;d=0;e=4;g=g+1|0}else e=e+-4|0;j=j+1|0;if((j|0)==(l|0))break;else i=i+1|0}if((e|0)!=4){b[g>>0]=d;d=c}else d=c}else d=c;break}default:d=c}b[o>>0]=m;e=W(h[p>>0]|0,n)|0;b[c+11>>0]=e;e=e&255;d=f[d>>2]|0;if(e>>>0>7)d=W(e>>>3,d)|0;else d=((W(e,d)|0)+7|0)>>>3;f[c+4>>2]=d;d=f[t>>2]|0}if(d&16){Ajb(c,(f[a+384>>2]|0)+1|0);d=f[t>>2]|0}if((d&8|0)!=0?(k=(f[a+384>>2]|0)+1|0,q=b[c+8>>0]|0,q<<24>>24!=3):0){i=b[c+9>>0]|0;g=i&255;if(!(q&2)){d=1;e=h[a+524>>0]|0}else{e=h[a+521>>0]|0;d=h[a+522>>0]|0;f[r+4>>2]=g-d;f[s+4>>2]=d;d=h[a+523>>0]|0;f[r+8>>2]=g-d;f[s+8>>2]=d;d=3}f[r>>2]=g-e;f[s>>2]=e;if(!(q&4))n=d;else{n=h[a+525>>0]|0;f[r+(d<<2)>>2]=g-n;f[s+(d<<2)>>2]=n;n=d+1|0}do if((i&255)<8){o=f[c+4>>2]|0;n=b[a+524>>0]|0;n=i<<24>>24==2&n<<24>>24==1?85:i<<24>>24==4&n<<24>>24==3?17:255;if(o|0){m=0;while(1){i=h[k>>0]|0;e=f[r>>2]|0;j=f[s>>2]|0;l=0-j|0;if((e|0)>(l|0)){if((e|0)>0)d=i<<e;else d=i>>>(0-e|0)&n;e=e-j|0;if((e|0)>(l|0))do{if((e|0)>0)g=i<<e;else g=i>>>(0-e|0)&n;d=g|d;e=e-j|0}while((e|0)>(l|0))}else d=0;b[k>>0]=d;m=m+1|0;if((m|0)==(o|0))break;else k=k+1|0}}}else{o=W(f[c>>2]|0,n)|0;d=(o|0)!=0;if(i<<24>>24==8){if(!d)break;l=0;while(1){i=(l>>>0)%(n>>>0)|0;g=h[k>>0]|0;e=f[r+(i<<2)>>2]|0;i=f[s+(i<<2)>>2]|0;j=0-i|0;if((e|0)>(j|0)){d=(e|0)>0?g<<e:g>>>(0-e|0);e=e-i|0;if((e|0)>(j|0))do{d=((e|0)>0?g<<e:g>>>(0-e|0))|d;e=e-i|0}while((e|0)>(j|0))}else d=0;b[k>>0]=d;l=l+1|0;if((l|0)==(o|0))break;else k=k+1|0}}else{if(!d)break;m=0;while(1){i=(m>>>0)%(n>>>0)|0;l=k+1|0;g=h[k>>0]<<8|h[l>>0];e=f[r+(i<<2)>>2]|0;i=f[s+(i<<2)>>2]|0;j=0-i|0;if((e|0)>(j|0)){d=(e|0)>0?g<<e:g>>>(0-e|0);e=e-i|0;if((e|0)>(j|0))do{d=((e|0)>0?g<<e:g>>>(0-e|0))|d;e=e-i|0}while((e|0)>(j|0))}else d=0;b[k>>0]=d>>>8;b[l>>0]=d;m=m+1|0;if((m|0)==(o|0))break;else k=k+2|0}}}while(0);d=f[t>>2]|0}a:do if(d&131072|0){d=(f[a+384>>2]|0)+1|0;switch(b[c+8>>0]|0){case 6:{g=f[c>>2]|0;e=(g|0)!=0;if((b[c+9>>0]|0)==8){if(!e)break a;e=0;while(1){p=d+1|0;r=b[d>>0]|0;q=d+2|0;b[d>>0]=b[p>>0]|0;s=d+3|0;b[p>>0]=b[q>>0]|0;b[q>>0]=b[s>>0]|0;b[s>>0]=r;e=e+1|0;if((e|0)==(g|0))break;else d=d+4|0}}else{if(!e)break a;e=0;while(1){o=d+1|0;p=b[d>>0]|0;q=d+2|0;r=b[o>>0]|0;s=d+3|0;b[d>>0]=b[q>>0]|0;n=d+4|0;b[o>>0]=b[s>>0]|0;o=d+5|0;b[q>>0]=b[n>>0]|0;q=d+6|0;b[s>>0]=b[o>>0]|0;s=d+7|0;b[n>>0]=b[q>>0]|0;b[o>>0]=b[s>>0]|0;b[q>>0]=p;b[s>>0]=r;e=e+1|0;if((e|0)==(g|0))break;else d=d+8|0}}break}case 4:{g=f[c>>2]|0;e=(g|0)!=0;if((b[c+9>>0]|0)==8){if(!e)break a;e=0;while(1){s=d+1|0;r=b[d>>0]|0;b[d>>0]=b[s>>0]|0;b[s>>0]=r;e=e+1|0;if((e|0)==(g|0))break;else d=d+2|0}}else{if(!e)break a;e=0;while(1){o=d+1|0;p=b[d>>0]|0;q=d+2|0;r=b[o>>0]|0;s=d+3|0;b[d>>0]=b[q>>0]|0;b[o>>0]=b[s>>0]|0;b[q>>0]=p;b[s>>0]=r;e=e+1|0;if((e|0)==(g|0))break;else d=d+4|0}}break}default:break a}}while(0);b:do if(f[t>>2]&524288|0){d=(f[a+384>>2]|0)+1|0;switch(b[c+8>>0]|0){case 6:{g=f[c>>2]|0;e=(g|0)!=0;if((b[c+9>>0]|0)==8){if(!e)break b;e=0;while(1){s=d+3|0;b[s>>0]=~b[s>>0];e=e+1|0;if((e|0)==(g|0))break;else d=d+4|0}}else{if(!e)break b;e=0;while(1){r=d+6|0;s=d+7|0;b[r>>0]=~b[r>>0];b[s>>0]=~b[s>>0];e=e+1|0;if((e|0)==(g|0))break;else d=d+8|0}}break}case 4:{g=f[c>>2]|0;e=(g|0)!=0;if((b[c+9>>0]|0)==8){if(!e)break b;e=0;while(1){s=d+1|0;b[s>>0]=~b[s>>0];e=e+1|0;if((e|0)==(g|0))break;else d=d+2|0}}else{if(!e)break b;e=0;while(1){r=d+2|0;s=d+3|0;b[r>>0]=~b[r>>0];b[s>>0]=~b[s>>0];e=e+1|0;if((e|0)==(g|0))break;else d=d+4|0}}break}default:break b}}while(0);d=f[t>>2]|0;if(d&1){Djb(c,(f[a+384>>2]|0)+1|0);d=f[t>>2]|0}if(!(d&32)){u=v;return}zjb(c,(f[a+384>>2]|0)+1|0);u=v;return}function qlb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;if(!a)return;h=yjb(a)|0;if((h|0)<=0)return;i=a+352|0;g=0;c=f[i>>2]|0;do{if(!c)c=0;else{d=0;e=b;while(1){olb(a,f[e>>2]|0);d=d+1|0;c=f[i>>2]|0;if(d>>>0>=c>>>0)break;else e=e+4|0}}g=g+1|0}while((g|0)!=(h|0));return}function rlb(a,c){a=a|0;c=c|0;var d=0;if(!a)return;d=f[a>>2]|0;if(!d)return;slb(d,c);f[a>>2]=0;if(f[d+212>>2]&2|0)cmb(d+224|0)|0;ljb(d,d+280|0);c=d+384|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+380|0;xib(d,f[c>>2]|0);a=d+388|0;xib(d,f[a>>2]|0);xib(d,f[d+392>>2]|0);xib(d,f[d+396>>2]|0);xib(d,f[d+400>>2]|0);f[c>>2]=0;b[d+621>>0]=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;b[d+620>>0]=1;a=d+624|0;c=f[a>>2]|0;if(c|0){f[a>>2]=0;xib(d,c)}a=d+628|0;c=f[a>>2]|0;if(c|0){f[a>>2]=0;xib(d,c)}a=d+632|0;c=f[a>>2]|0;if(c|0){f[a>>2]=0;xib(d,c)}a=d+636|0;xib(d,f[a>>2]|0);c=d+640|0;xib(d,f[c>>2]|0);f[a>>2]=0;f[c>>2]=0;c=d+696|0;xib(d,f[c>>2]|0);f[c>>2]=0;sjb(d);return}function slb(a,b){a=a|0;b=b|0;var c=0;if((a|0)==0|(b|0)==0)return;c=f[b>>2]|0;if(!c)return;f[b>>2]=0;Iib(a,c,32767,-1);_Db(c|0,0,268)|0;xib(a,c);return}function tlb(a,b){a=a|0;b=b|0;if(!a)return;f[a+288>>2]=b;return}function ulb(a){a=a|0;if(a){a=djb(a,268)|0;if(a)_Db(a|0,0,268)|0}else a=0;return a|0}function vlb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!a)return;d=f[a>>2]|0;if(!d)return;slb(d,c);slb(d,b);f[a>>2]=0;wlb(d);c=d+728|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+804|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+788|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+612|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+616|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+676|0;a=f[c>>2]|0;if(a&4096){a=d+416|0;nlb(d,f[a>>2]|0);f[a>>2]=0;a=f[c>>2]|0}b=a&-4097;f[c>>2]=b;if(!(a&8192))a=b;else{a=d+528|0;xib(d,f[a>>2]|0);f[a>>2]=0;a=f[c>>2]|0}f[c>>2]=a&-8193;nmb(d+224|0)|0;c=d+568|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+772|0;xib(d,f[c>>2]|0);f[c>>2]=0;c=d+696|0;xib(d,f[c>>2]|0);f[c>>2]=0;sjb(d);return}function wlb(a){a=a|0;var b=0,c=0,d=0,e=0;e=a+492|0;xib(a,f[e>>2]|0);f[e>>2]=0;e=a+496|0;b=f[e>>2]|0;if(b|0){c=8-(f[a+484>>2]|0)|0;d=1<<c;if((c|0)!=31){c=0;do{xib(a,f[b+(c<<2)>>2]|0);c=c+1|0;b=f[e>>2]|0}while((c|0)<(d|0))}xib(a,b);f[e>>2]=0}e=a+500|0;xib(a,f[e>>2]|0);f[e>>2]=0;e=a+504|0;xib(a,f[e>>2]|0);f[e>>2]=0;e=a+508|0;b=f[e>>2]|0;if(b|0){c=8-(f[a+484>>2]|0)|0;d=1<<c;if((c|0)!=31){c=0;do{xib(a,f[b+(c<<2)>>2]|0);c=c+1|0;b=f[e>>2]|0}while((c|0)<(d|0))}xib(a,b);f[e>>2]=0}e=a+512|0;b=f[e>>2]|0;if(!b)return;c=8-(f[a+484>>2]|0)|0;d=1<<c;if((c|0)!=31){c=0;do{xib(a,f[b+(c<<2)>>2]|0);c=c+1|0;b=f[e>>2]|0}while((c|0)<(d|0))}xib(a,b);f[e>>2]=0;return}function xlb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=jlb(a,b,c,d,0,0,0)|0;if(!a)return a|0;f[a+208>>2]=32768;f[a+796>>2]=8192;d=a+212|0;f[d>>2]=f[d>>2]|3145728;uib(a,0,0);return a|0}function ylb(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;if((a|0)==0|(c|0)==0)return;zlb(a,c);g=a+376|0;h=a+208|0;i=a+435|0;a:while(1){d=Alb(a)|0;j=f[g>>2]|0;k=(j|0)==1229209940;e=f[h>>2]|0;b:do if(!k){if(e&4|0)f[h>>2]=e|8;if((j|0)<1229472850){switch(j|0){case 1229278788:break;default:{l=17;break b}}Dkb(a,c,d);break}else{switch(j|0){case 1229472850:break;default:{l=17;break b}}Ckb(a,c,d);break}}else{if(!(e&1)){l=5;break a}if((e&2|0)==0&(b[i>>0]|0)==3){l=7;break a}if(e&8){Ykb(a,480864);e=f[h>>2]|0}f[h>>2]=e|4;l=17}while(0);c:do if((l|0)==17){l=0;e=Ekb(a,j)|0;if(e|0){Fkb(a,c,d,e);if((j|0)!=1347179589)if(k){d=0;l=43;break a}else break;else{f[h>>2]=f[h>>2]|2;break}}if((j|0)==1347179589){Gkb(a,c,d);break}if(k){l=43;break a}d:do if((j|0)<1883789683)if((j|0)<1766015824)if((j|0)<1732332865)if((j|0)<1665684045){switch(j|0){case 1649100612:break;default:break d}Okb(a,c,d);break c}else{switch(j|0){case 1665684045:break;default:break d}Jkb(a,c,d);break c}else if((j|0)<1749635924){switch(j|0){case 1732332865:break;default:break d}Hkb(a,c,d);break c}else{switch(j|0){case 1749635924:break;default:break d}Pkb(a,c,d);break c}else if((j|0)<1866876531)if((j|0)<1767135348){switch(j|0){case 1766015824:break;default:break d}Lkb(a,c,d);break c}else{switch(j|0){case 1767135348:break;default:break d}Xkb(a,c,d);break c}else if((j|0)<1883455820){switch(j|0){case 1866876531:break;default:break d}Rkb(a,c,d);break c}else{switch(j|0){case 1883455820:break;default:break d}Skb(a,c,d);break c}else{if((j|0)<1934772034)if((j|0)<1933787468)if((j|0)<1933723988){switch(j|0){case 1883789683:break;default:break d}Qkb(a,c,d);break c}else{switch(j|0){case 1933723988:break;default:break d}Ikb(a,c,d);break c}else if((j|0)<1934642260){switch(j|0){case 1933787468:break;default:break d}Tkb(a,c,d);break c}else{switch(j|0){case 1934642260:break;default:break d}Mkb(a,c,d);break c}if((j|0)<1950960965)if((j|0)<1950701684){switch(j|0){case 1934772034:break;default:break d}Kkb(a,c,d);break c}else{switch(j|0){case 1950701684:break;default:break d}Vkb(a,c,d);break c}if((j|0)<1951551059){switch(j|0){case 1950960965:break;default:break d}Ukb(a,c,d);break c}if((j|0)<2052348020){switch(j|0){case 1951551059:break;default:break d}Nkb(a,c,d);break c}else{switch(j|0){case 2052348020:break;default:break d}Wkb(a,c,d);break c}}while(0);Fkb(a,c,d,0)}while(0)}if((l|0)==5)Cib(a,480814);else if((l|0)==7)Cib(a,480839);else if((l|0)==43){f[a+408>>2]=d;return}}function zlb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;d=a+441|0;e=b[d>>0]|0;g=e&255;if((e&255)>7)return;h=8-g|0;f[a+800>>2]=17;sib(a,c+32+g|0,h);b[d>>0]=8;c=c+32|0;if(!(clb(c,g,h)|0)){if((e&255)>=3)return;h=a+208|0;f[h>>2]=f[h>>2]|4096;return}if((e&255)>=4)kib(a,480900);if(!(clb(c,g,h+-4|0)|0))kib(a,480900);else kib(a,480885)}function Alb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,i=0;e=u;u=u+16|0;b=e;d=a+800|0;f[d>>2]=33;sib(a,b,8);c=(h[b+1>>0]|0)<<16|(h[b>>0]|0)<<24|(h[b+2>>0]|0)<<8|(h[b+3>>0]|0);if((c|0)<0)kib(a,479267);i=b+4|0;g=a+376|0;f[g>>2]=(h[b+5>>0]|0)<<16|(h[i>>0]|0)<<24|(h[b+6>>0]|0)<<8|(h[b+7>>0]|0);Gjb(a);Hjb(a,i,4);b=f[g>>2]|0;g=b&255;if((g+-65|0)>>>0>57|(g+-91|0)>>>0<6)Cib(a,480243);i=b>>>8&255;if((i+-65|0)>>>0>57|(i+-91|0)>>>0<6)Cib(a,480243);i=b>>>16&255;if((i+-65|0)>>>0>57|(i+-91|0)>>>0<6)Cib(a,480243);i=b>>>24;if((i+-65|0)>>>0>57|(i+-91|0)>>>0<6)Cib(a,480243);else{f[d>>2]=65;u=e;return c|0}return 0}function Blb(a,b){a=a|0;b=b|0;if(!a)return;if(!(f[a+212>>2]&64)){Clb(a);Dlb(a,b);return}else{Zib(a,480939);return}}function Clb(a){a=a|0;var c=0,e=0,g=0,i=0,j=0,k=0,l=0;Elb(a);l=a+432|0;if(!(b[l>>0]|0)){f[a+356>>2]=f[a+352>>2];k=f[a+348>>2]|0;f[a+368>>2]=k;g=a+216|0;i=g;g=f[g>>2]|0}else{i=a+216|0;g=f[i>>2]|0;k=f[a+352>>2]|0;f[a+356>>2]=(g&2|0)==0?(k+7|0)>>>3:k;k=f[a+348>>2]|0;c=h[a+433>>0]|0;e=h[481030+c>>0]|0;f[a+368>>2]=((k+-1+e-(h[481037+c>>0]|0)|0)>>>0)/(e>>>0)|0}c=h[a+438>>0]|0;if(g&4)c=(h[a+436>>0]|0)<8?8:c;e=(g&4096|0)==0;a:do if(!e)switch(b[a+435>>0]|0){case 3:{c=(d[a+428>>1]|0)==0?24:32;break a}case 0:{c=(c>>>0>8?c:8)<<((d[a+428>>1]|0)!=0&1);break a}case 2:{if(!(d[a+428>>1]|0))break a;c=(c<<2>>>0)/3|0;break a}default:break a}while(0);do if(g&512)if(e){f[i>>2]=g&-513;break}else{c=c<<((h[a+436>>0]|0)<16&1);break}while(0);g=f[i>>2]|0;e=(g&32768|0)==0;b:do if(!e)switch(b[a+435>>0]|0){case 0:{c=(c|0)<9?16:32;break b}case 3:case 2:{c=(c|0)<33?32:64;break b}default:break b}while(0);do if(g&16384){if(!((g&4096|0)!=0&(d[a+428>>1]|0)!=0|e^1)?(j=b[a+435>>0]|0,j<<24>>24!=4):0){e=j<<24>>24==6;if((c|0)<9){c=e?32:24;break}else{c=e?64:48;break}}c=(c|0)<17?32:64}while(0);if(g&1048576){j=W(h[a+205>>0]|0,h[a+204>>0]|0)|0;c=(j|0)>(c|0)?j:c}b[a+442>>0]=c;b[a+443>>0]=0;e=k+7&-8;g=W(e,c>>>3)|0;e=(W(e,c)|0)>>>3;e=(c+7>>3)+49+((c|0)>7?g:e)|0;g=a+784|0;if(e>>>0>(f[g>>2]|0)>>>0){i=a+728|0;xib(a,f[i>>2]|0);j=a+804|0;xib(a,f[j>>2]|0);if(!(b[l>>0]|0))c=gjb(a,e)|0;else c=Tib(a,e)|0;f[i>>2]=c;l=gjb(a,e)|0;f[j>>2]=l;k=(f[i>>2]|0)+32|0;f[a+384>>2]=k+(0-(k&15))+-1;l=l+32|0;f[a+380>>2]=l+(0-(l&15))+-1;f[g>>2]=e}c=f[a+364>>2]|0;if((c|0)==-1)kib(a,481044);_Db(f[a+380>>2]|0,0,c+1|0)|0;c=a+788|0;e=f[c>>2]|0;if(e|0){f[a+792>>2]=0;f[c>>2]=0;xib(a,e)}if(!(_kb(a,1229209940)|0)){a=a+212|0;f[a>>2]=f[a>>2]|64;return}else kib(a,f[a+248>>2]|0)}function Dlb(a,c){a=a|0;c=c|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0;m=f[a+216>>2]|0;do if(m&4096|0){g=c+25|0;i=b[g>>0]|0;e=(d[a+428>>1]|0)==0;if(i<<24>>24==3){b[g>>0]=e?2:6;b[c+24>>0]=8;d[c+22>>1]=0;if(f[a+416>>2]|0)break;kib(a,480997)}if(!((m&33554432|0)==0|e))b[g>>0]=i|4;e=c+24|0;if((h[e>>0]|0)<8)b[e>>0]=8;d[c+22>>1]=0}while(0);if(m&128|0){l=c+170|0;k=a+452|0;d[l>>1]=d[k>>1]|0;d[l+2>>1]=d[k+2>>1]|0;d[l+4>>1]=d[k+4>>1]|0;d[l+6>>1]=d[k+6>>1]|0;d[l+8>>1]=d[k+8>>1]|0}f[c+40>>2]=f[a+824>>2];l=c+24|0;e=b[l>>0]|0;if(e<<24>>24==16){if(!(m&67108864))e=16;else{b[l>>0]=8;e=8}if(m&1024){b[l>>0]=8;e=8}}if(m&16384|0){k=c+25|0;b[k>>0]=b[k>>0]|2}if(m&6291456|0){k=c+25|0;b[k>>0]=b[k>>0]&-3}a:do if(m&64|0){g=c+25|0;switch(b[g>>0]|0){case 6:case 2:break;default:break a}if((f[a+612>>2]|0)!=0&e<<24>>24==8)b[g>>0]=3}while(0);if((m&512|0)!=0&e<<24>>24==8)if((b[c+25>>0]|0)==3)e=8;else{b[l>>0]=16;e=16}if((m&4|0)!=0&(e&255)<8){b[l>>0]=8;k=8}else k=e;j=c+25|0;i=b[j>>0]|0;do if(i<<24>>24!=3){e=c+29|0;if(!(i&2)){b[e>>0]=1;e=1;break}else{b[e>>0]=3;e=3;break}}else{b[c+29>>0]=1;e=1}while(0);g=i&-5;if(!(m&262144))g=i;else{b[j>>0]=g;d[c+22>>1]=0}if(g&4){e=e+1<<24>>24;b[c+29>>0]=e}b:do if(m&32768){switch(g<<24>>24){case 0:case 2:break;default:{i=e;break b}}e=e+1<<24>>24;b[c+29>>0]=e;if(!(m&16777216))i=e;else{b[j>>0]=g|4;i=e}}else i=e;while(0);if(m&1048576){e=b[a+204>>0]|0;if((k&255)<(e&255))b[l>>0]=e;else e=k;g=b[a+205>>0]|0;if((i&255)<(g&255))b[c+29>>0]=g;else g=i}else{g=i;e=k}e=W(e&255,g&255)|0;b[c+30>>0]=e;e=e&255;g=f[c>>2]|0;if(e>>>0>7){m=W(e>>>3,g)|0;c=c+12|0;f[c>>2]=m;c=a+404|0;f[c>>2]=m;return}else{m=((W(e,g)|0)+7|0)>>>3;c=c+12|0;f[c>>2]=m;c=a+404|0;f[c>>2]=m;return}}function Elb(a){a=a|0;var c=0,e=0,g=0,i=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;A=u;u=u+16|0;c=A;o=a+824|0;e=f[o>>2]|0;p=a+488|0;g=f[p>>2]|0;i=(g|0)!=0;do if(!e)if(i){c=Glb(g)|0;f[o>>2]=c;c=0;break}else{f[o>>2]=1e5;f[p>>2]=1e5;c=0;break}else{if(!i){c=Glb(e)|0;f[p>>2]=c;c=0;break}if(!(ojb(c,e,g,1e5)|0))c=1;else c=(Flb(f[c>>2]|0)|0)!=0&1}while(0);z=a+898|0;d[z>>1]=d[z>>1]|1;z=a+216|0;y=f[z>>2]|0;c=(c|0)==0?y&-8193:y|8192;f[z>>2]=c;if((c&262272|0)==262144){f[z>>2]=c&-41943297;y=a+212|0;f[y>>2]=f[y>>2]&-8193;d[a+428>>1]=0}y=(Flb(f[p>>2]|0)|0)==0;c=f[z>>2]|0;if(y){c=c&-8388609;f[z>>2]=c;y=a+212|0;f[y>>2]=f[y>>2]&-8193}if(!(c&6291456))m=c;else{Hlb(a);m=f[z>>2]|0}if(!(m&256)){if(((m&16512|0)==16512?(k=d[a+454>>1]|0,k<<16>>16==(d[a+456>>1]|0)):0)?k<<16>>16==(d[a+458>>1]|0):0){y=a+208|0;f[y>>2]=f[y>>2]|2048;d[a+460>>1]=k}}else if(!(b[a+435>>0]&2)){y=a+208|0;f[y>>2]=f[y>>2]|2048}y=a+435|0;g=b[y>>0]|0;if(g<<24>>24==3){k=d[a+428>>1]|0;l=k<<16>>16==0;a:do if(l){g=0;x=29}else{e=k&65535;i=f[a+528>>2]|0;c=0;g=0;while(1){switch(b[i+c>>0]|0){case -1:break;case 0:{g=1;break}default:{c=m;break a}}c=c+1|0;if(c>>>0>=e>>>0){x=29;break a}}}while(0);if((x|0)==29){c=m&-8388609;f[z>>2]=c;e=a+212|0;f[e>>2]=f[e>>2]&-8193;e=m&-8388993;if(!g){f[z>>2]=e;c=e}}if(((c&4352|0)==4352?(v=f[a+416>>2]|0,w=h[a+452>>0]|0,d[a+454>>1]=h[v+(w*3|0)>>0]|0,d[a+456>>1]=h[v+(w*3|0)+1>>0]|0,d[a+458>>1]=h[v+(w*3|0)+2>>0]|0,(c&34078720|0)==524288):0)?(n=k&65535,!l):0){e=f[a+528>>2]|0;c=0;do{w=e+c|0;b[w>>0]=~b[w>>0];c=c+1|0}while((c|0)!=(n|0));c=f[z>>2]|0}}else{if(!(g&4)){w=(d[a+428>>1]|0)==0;c=m&-8388609;f[z>>2]=c;e=a+212|0;f[e>>2]=f[e>>2]&-8193;e=m&-8388993;if(w){f[z>>2]=e;c=e}}else c=m;if((g&2)==0&(c&4352|0)==4352){e=j[a+460>>1]|0;g=j[a+540>>1]|0;switch(b[a+436>>0]|0){case 1:{g=g*255|0;e=e*255|0;break}case 2:{g=g*85|0;e=e*85|0;break}case 4:{g=g*17|0;e=e*17|0;break}default:{}}w=e&65535;d[a+458>>1]=w;d[a+456>>1]=w;d[a+454>>1]=w;if(!(c&33554432)){w=g&65535;d[a+538>>1]=w;d[a+536>>1]=w;d[a+534>>1]=w}}}if((c&896|0)==640?(b[a+436>>0]|0)!=16:0){w=a+454|0;d[w>>1]=(((j[w>>1]|0)*255|0)+32895|0)>>>16;w=a+456|0;d[w>>1]=(((j[w>>1]|0)*255|0)+32895|0)>>>16;w=a+458|0;d[w>>1]=(((j[w>>1]|0)*255|0)+32895|0)>>>16;w=a+460|0;d[w>>1]=(((j[w>>1]|0)*255|0)+32895|0)>>>16}if((c&384|0)==128&(c&67109888|0)!=0?(b[a+436>>0]|0)==16:0){w=a+454|0;d[w>>1]=(j[w>>1]|0)*257;w=a+456|0;d[w>>1]=(j[w>>1]|0)*257;w=a+458|0;d[w>>1]=(j[w>>1]|0)*257;w=a+460|0;d[w>>1]=(j[w>>1]|0)*257}w=a+462|0;v=a+452|0;d[w>>1]=d[v>>1]|0;d[w+2>>1]=d[v+2>>1]|0;d[w+4>>1]=d[v+4>>1]|0;d[w+6>>1]=d[v+6>>1]|0;d[w+8>>1]=d[v+8>>1]|0;do if(!(c&8192)){if(c&6291456){if(Flb(f[o>>2]|0)|0){x=66;break}if(Flb(f[p>>2]|0)|0){x=66;break}c=f[z>>2]|0}if(c&128|0){if(Flb(f[o>>2]|0)|0){x=66;break}if(Flb(f[p>>2]|0)|0){x=66;break}if((b[a+446>>0]|0)==3?Flb(f[a+448>>2]|0)|0:0){x=66;break}}c=f[z>>2]|0;if(c&8388608){if(Flb(f[p>>2]|0)|0){x=66;break}c=f[z>>2]|0}if((c&128|0)!=0?(b[y>>0]|0)==3:0){w=d[a+428>>1]|0;n=w&65535;o=f[a+416>>2]|0;e=d[a+454>>1]|0;p=e&255;g=d[a+456>>1]|0;q=g&255;i=d[a+458>>1]|0;r=i&255;if(w<<16>>16){m=a+528|0;l=e&255;k=g&255;e=i&255;c=0;do{g=(f[m>>2]|0)+c|0;i=b[g>>0]|0;switch(i<<24>>24){case 0:{b[o+(c*3|0)>>0]=p;b[o+(c*3|0)+1>>0]=q;b[o+(c*3|0)+2>>0]=r;break}case -1:break;default:{w=o+(c*3|0)|0;v=i&255;v=(W(v^255,l)|0)+128+(W(h[w>>0]|0,v)|0)|0;b[w>>0]=((v>>>8&255)+v|0)>>>8;w=o+(c*3|0)+1|0;v=h[g>>0]|0;v=(W(v,h[w>>0]|0)|0)+128+(W(v^255,k)|0)|0;b[w>>0]=((v>>>8&255)+v|0)>>>8;w=o+(c*3|0)+2|0;v=h[g>>0]|0;v=(W(v,h[w>>0]|0)|0)+128+(W(v^255,e)|0)|0;b[w>>0]=((v>>>8&255)+v|0)>>>8}}c=c+1|0}while((c|0)!=(n|0));c=f[z>>2]|0}c=c&-129;f[z>>2]=c}}else x=66;while(0);do if((x|0)==66){Ilb(a,h[a+436>>0]|0);c=f[z>>2]|0;if(!(c&128)){if((b[y>>0]|0)!=3)break;if(!((c&4096|0)==0|(c&6291456|0)==0))break;i=f[a+416>>2]|0;x=d[a+420>>1]|0;k=x&65535;if(x<<16>>16){g=f[a+492>>2]|0;e=0;do{x=i+(e*3|0)|0;b[x>>0]=b[g+(h[x>>0]|0)>>0]|0;x=i+(e*3|0)+1|0;b[x>>0]=b[g+(h[x>>0]|0)>>0]|0;x=i+(e*3|0)+2|0;b[x>>0]=b[g+(h[x>>0]|0)>>0]|0;e=e+1|0}while((e|0)!=(k|0))}c=c&-8193;f[z>>2]=c;break}if(c&6291456|0)rib(a,481089);if((b[y>>0]|0)!=3){l=a+446|0;switch(b[l>>0]|0){case 1:{q=f[p>>2]|0;r=1e5;break}case 2:{q=Glb(f[o>>2]|0)|0;r=Jlb(f[o>>2]|0,f[p>>2]|0)|0;break}case 3:{r=a+448|0;q=Glb(f[r>>2]|0)|0;r=Jlb(f[r>>2]|0,f[p>>2]|0)|0;break}default:kib(a,481142)}k=Flb(q)|0;c=Flb(r)|0;k=(k|0)!=0;if(k){x=Llb(a,j[a+460>>1]|0,q)|0;d[a+470>>1]=x}c=(c|0)!=0;if(c){x=a+460|0;w=Llb(a,j[x>>1]|0,r)|0;d[x>>1]=w}e=a+454|0;g=d[e>>1]|0;i=a+456|0;if((g<<16>>16==(d[i>>1]|0)?(s=a+458|0,g<<16>>16==(d[s>>1]|0)):0)?g<<16>>16==(d[a+460>>1]|0):0){x=d[a+470>>1]|0;d[a+468>>1]=x;d[a+466>>1]=x;d[a+464>>1]=x;d[s>>1]=g;d[i>>1]=g}else{if(k){x=Llb(a,g&65535,q)|0;d[a+464>>1]=x;x=Llb(a,j[i>>1]|0,q)|0;d[a+466>>1]=x;x=Llb(a,j[a+458>>1]|0,q)|0;d[a+468>>1]=x}if(c){x=Llb(a,j[e>>1]|0,r)|0;d[e>>1]=x;x=Llb(a,j[i>>1]|0,r)|0;d[i>>1]=x;x=a+458|0;w=Llb(a,j[x>>1]|0,r)|0;d[x>>1]=w}}b[l>>0]=1;c=f[z>>2]|0;break}v=f[a+416>>2]|0;m=d[a+420>>1]|0;w=m&65535;switch(b[a+446>>0]|0){case 2:{t=f[a+492>>2]|0;i=j[a+454>>1]|0;l=j[a+456>>1]|0;e=j[a+458>>1]|0;g=f[a+504>>2]|0;c=b[g+i>>0]|0;i=b[t+i>>0]|0;k=b[g+e>>0]|0;g=b[g+l>>0]|0;l=b[t+l>>0]|0;e=b[t+e>>0]|0;break}case 1:{k=f[p>>2]|0;e=1e5;x=74;break}case 3:{e=a+448|0;k=Glb(f[e>>2]|0)|0;e=Jlb(f[e>>2]|0,f[p>>2]|0)|0;x=74;break}default:{k=1e5;e=1e5;x=74}}do if((x|0)==74){t=(Flb(e)|0)==0;g=a+454|0;c=d[g>>1]|0;if(t){i=c&255;l=d[a+456>>1]&255;e=d[a+458>>1]&255}else{i=Klb(c&65535,e)|0;l=Klb(j[a+456>>1]|0,e)|0;e=Klb(j[a+458>>1]|0,e)|0}t=(Flb(k)|0)==0;c=d[g>>1]|0;if(t){c=c&255;k=d[a+458>>1]&255;g=d[a+456>>1]&255;break}else{c=Klb(c&65535,k)|0;g=Klb(j[a+456>>1]|0,k)|0;k=Klb(j[a+458>>1]|0,k)|0;break}}while(0);if(m<<16>>16){q=a+428|0;r=a+528|0;s=a+492|0;t=a+504|0;o=c&255;p=a+500|0;n=g&255;g=k&255;c=0;do{b:do if(c>>>0<(j[q>>1]|0)>>>0){k=(f[r>>2]|0)+c|0;m=b[k>>0]|0;switch(m<<24>>24){case -1:{x=86;break b}case 0:{b[v+(c*3|0)>>0]=i;b[v+(c*3|0)+1>>0]=l;b[v+(c*3|0)+2>>0]=e;break b}default:{C=f[t>>2]|0;D=v+(c*3|0)|0;m=m&255;m=(W(m^255,o)|0)+128+(W(h[C+(h[D>>0]|0)>>0]|0,m)|0)|0;B=f[p>>2]|0;b[D>>0]=b[B+(((m>>>8&255)+m|0)>>>8&255)>>0]|0;m=v+(c*3|0)+1|0;D=h[k>>0]|0;D=(W(D,h[C+(h[m>>0]|0)>>0]|0)|0)+128+(W(D^255,n)|0)|0;b[m>>0]=b[B+(((D>>>8&255)+D|0)>>>8&255)>>0]|0;m=v+(c*3|0)+2|0;k=h[k>>0]|0;k=(W(k,h[C+(h[m>>0]|0)>>0]|0)|0)+128+(W(k^255,g)|0)|0;b[m>>0]=b[B+(((k>>>8&255)+k|0)>>>8&255)>>0]|0;break b}}}else x=86;while(0);if((x|0)==86){x=0;C=f[s>>2]|0;D=v+(c*3|0)|0;b[D>>0]=b[C+(h[D>>0]|0)>>0]|0;D=v+(c*3|0)+1|0;b[D>>0]=b[C+(h[D>>0]|0)>>0]|0;D=v+(c*3|0)+2|0;b[D>>0]=b[C+(h[D>>0]|0)>>0]|0}c=c+1|0}while((c|0)!=(w|0))}c=f[z>>2]&-8321;f[z>>2]=c}while(0);if((c&4104|0)!=8){u=A;return}if((b[y>>0]|0)!=3){u=A;return}i=d[a+420>>1]|0;k=i&65535;D=b[a+516>>0]|0;g=8-(D&255)|0;f[z>>2]=c&-9;i=i<<16>>16!=0;if(D<<24>>24!=0&(g|0)>0&i){e=f[a+416>>2]|0;c=0;do{D=e+(c*3|0)|0;b[D>>0]=(h[D>>0]|0)>>>g;c=c+1|0}while((c|0)!=(k|0))}D=b[a+517>>0]|0;e=8-(D&255)|0;if(D<<24>>24!=0&(e|0)>0&i){g=f[a+416>>2]|0;c=0;do{D=g+(c*3|0)+1|0;b[D>>0]=(h[D>>0]|0)>>>e;c=c+1|0}while((c|0)!=(k|0))}D=b[a+518>>0]|0;g=8-(D&255)|0;if(!(D<<24>>24!=0&(g|0)>0&i)){u=A;return}e=f[a+416>>2]|0;c=0;do{D=e+(c*3|0)+2|0;b[D>>0]=(h[D>>0]|0)>>>g;c=c+1|0}while((c|0)!=(k|0));u=A;return}function Flb(a){a=a|0;return (a+-95e3|0)>>>0>1e4|0}function Glb(a){a=a|0;var b=0.0;b=+I(+(1.0e10/+(a|0)+.5));return (b<=2147483647.0&b>=-2147483648.0?~~b:0)|0}function Hlb(a){a=a|0;var c=0,e=0,g=0,h=0,i=0.0,j=0,k=0,l=0;if(b[a+701>>0]|0)return;if(!(d[a+898>>1]&2))return;e=f[a+864>>2]|0;g=f[a+876>>2]|0;j=f[a+888>>2]|0;k=g+e+j|0;if(!((e|0)>-1&(k|0)>0))kib(a,481240);if(e){i=+I(+(+(e|0)*32768.0/+(k|0)+.5));if(i<=2147483647.0&i>=-2147483648.0)c=~~i;else kib(a,481240)}else c=0;if(!((g|0)>-1&c>>>0<32769))kib(a,481240);if(g){i=+I(+(+(g|0)*32768.0/+(k|0)+.5));if(i<=2147483647.0&i>=-2147483648.0)l=~~i;else kib(a,481240)}else l=0;if(!((j|0)>-1&l>>>0<32769))kib(a,481240);if(j){i=+I(+(+(j|0)*32768.0/+(k|0)+.5));e=~~i;if(i<=2147483647.0&i>=-2147483648.0&e>>>0<32769)h=e;else kib(a,481240)}else h=0;e=l+c+h|0;if((e|0)>=32770)kib(a,481240);g=(e|0)==32769?-1:(e|0)<32768&1;do if(g){if(!((l|0)<(c|0)|(l|0)<(h|0))){e=g+l|0;break}if((c|0)<(l|0)|(c|0)<(h|0)){h=g+h|0;e=l;break}else{e=l;c=g+c|0;break}}else e=l;while(0);if((e+c+h|0)!=32768)kib(a,481198);d[a+702>>1]=c;d[a+704>>1]=e;return}function Ilb(a,c){a=a|0;c=c|0;var e=0,g=0.0,h=0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=a+492|0;if(!((f[i>>2]|0)==0?!(f[a+496>>2]|0):0)){rib(a,481172);wlb(a)}if((c|0)>=9){if(!(b[a+435>>0]&2))c=b[a+519>>0]|0;else{c=b[a+516>>0]|0;r=b[a+517>>0]|0;c=(r&255)>(c&255)?r:c;r=b[a+518>>0]|0;c=(r&255)>(c&255)?r:c}r=(c+-1&255)<15?16-c<<24>>24:0;p=a+216|0;o=f[p>>2]&67109888;r=(o|0)!=0&(r&255)<5?5:r;r=((r&255)<8?r:8)&255;f[a+484>>2]=r;h=a+496|0;q=a+488|0;e=f[q>>2]|0;c=(e|0)>0;if(o){if(c){g=+I(+(+(f[a+824>>2]|0)*1.0e-05*+(e|0)+.5));g=g<=2147483647.0&g>=-2147483648.0?+(~~g|0)*1.0e-05:0.0}else g=1.0;n=8-r|0;m=1<<n;e=16-r|0;o=Tib(a,m<<2)|0;f[h>>2]=o;c=0;do{l=gjb(a,512)|0;f[o+(c<<2)>>2]=l;c=c+1|0}while(c>>>0<m>>>0);k=(1<<e)+-1|0;l=255>>>r;c=0;i=0;do{e=i*257|0;h=e&65535;e=(((W(k,~~+I(+(+L(+(+(e+128|0)/65535.0),+g)*65535.0+.5))&65535)|0)+32768|0)>>>0)/65535|0;if(c>>>0<=e>>>0){e=e+1|0;do{d[(f[o+((c&l)<<2)>>2]|0)+(c>>>n<<1)>>1]=h;c=c+1|0}while((c|0)!=(e|0));c=e}i=i+1|0}while((i|0)!=255);e=m<<8;if(c>>>0<e>>>0)do{d[(f[o+((c&l)<<2)>>2]|0)+(c>>>n<<1)>>1]=-1;c=c+1|0}while((c|0)!=(e|0))}else{do if(c){c=f[a+824>>2]|0;if(c|0?(j=+I(+(1.0e15/+(c|0)/+(e|0)+.5)),!(!(j>=-2147483648.0)|!(j<=2147483647.0))):0){c=~~j;break}c=0}else c=1e5;while(0);Mlb(a,h,r,c)}if(!(f[p>>2]&6291584))return;e=a+824|0;j=+I(+(1.0e10/+(f[e>>2]|0)+.5));Mlb(a,a+512|0,r,j<=2147483647.0&j>=-2147483648.0?~~j:0);c=f[q>>2]|0;if((c|0)>0){j=+I(+(1.0e10/+(c|0)+.5));c=j<=2147483647.0&j>=-2147483648.0?~~j:0}else c=f[e>>2]|0;Mlb(a,a+508|0,r,c);return}k=a+488|0;c=f[k>>2]|0;do if((c|0)>0){e=f[a+824>>2]|0;if(e|0?(g=+I(+(1.0e15/+(e|0)/+(c|0)+.5)),!(!(g>=-2147483648.0)|!(g<=2147483647.0))):0){c=~~g;break}c=0}else c=1e5;while(0);h=gjb(a,256)|0;f[i>>2]=h;if((c+-95e3|0)>>>0<10001){c=0;do{b[h+c>>0]=c;c=c+1|0}while((c|0)!=256)}else{g=+(c|0)*1.0e-05;e=0;do{if((e+-1|0)>>>0<254)c=~~+I(+(+L(+(+(e|0)/255.0),+g)*255.0+.5))&255;else c=e&255;b[h+e>>0]=c;e=e+1|0}while((e|0)!=256)}if(!(f[a+216>>2]&6291584))return;i=a+824|0;j=+I(+(1.0e10/+(f[i>>2]|0)+.5));c=j<=2147483647.0&j>=-2147483648.0?~~j:0;h=gjb(a,256)|0;f[a+504>>2]=h;if((c+-95e3|0)>>>0<10001){c=0;do{b[h+c>>0]=c;c=c+1|0}while((c|0)!=256)}else{g=+(c|0)*1.0e-05;e=0;do{if((e+-1|0)>>>0<254)c=~~+I(+(+L(+(+(e|0)/255.0),+g)*255.0+.5))&255;else c=e&255;b[h+e>>0]=c;e=e+1|0}while((e|0)!=256)}c=f[k>>2]|0;if((c|0)>0){j=+I(+(1.0e10/+(c|0)+.5));c=j<=2147483647.0&j>=-2147483648.0?~~j:0}else c=f[i>>2]|0;h=gjb(a,256)|0;f[a+500>>2]=h;if((c+-95e3|0)>>>0<10001){c=0;do{b[h+c>>0]=c;c=c+1|0}while((c|0)!=256);return}g=+(c|0)*1.0e-05;e=0;do{if((e+-1|0)>>>0<254)c=~~+I(+(+L(+(+(e|0)/255.0),+g)*255.0+.5))&255;else c=e&255;b[h+e>>0]=c;e=e+1|0}while((e|0)!=256);return}function Jlb(a,b){a=a|0;b=b|0;var c=0.0;if((a|0)!=0&(b|0)!=0?(c=+I(+(1.0e15/+(a|0)/+(b|0)+.5)),!(!(c>=-2147483648.0)|!(c<=2147483647.0))):0){b=~~c;return b|0}b=0;return b|0}function Klb(a,b){a=a|0;b=b|0;if((a+-1|0)>>>0<254){b=~~+I(+(+L(+(+(a|0)/255.0),+(+(b|0)*1.0e-05))*255.0+.5))&255;return b|0}else{b=a&255;return b|0}return 0}function Llb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=c+-1|0;if((b[a+436>>0]|0)!=8)if(e>>>0<65534){d=~~+I(+(+L(+(+(c|0)/65535.0),+(+(d|0)*1.0e-05))*65535.0+.5))&65535;return d|0}else{d=c&65535;return d|0}else{if(e>>>0<254)e=~~+I(+(+L(+(+(c|0)/255.0),+(+(d|0)*1.0e-05))*255.0+.5))&255;else e=c&255;d=e&255;return d|0}return 0}function Mlb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var g=0.0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0;m=8-c|0;n=1<<m;k=(1<<16-c)+-1|0;i=1.0/+(k|0);j=1<<15-c;l=Tib(a,n<<2)|0;f[b>>2]=l;h=(c|0)==0;g=+(e|0)*1.0e-05;if((e+-95e3|0)>>>0>=10001){b=0;do{e=gjb(a,512)|0;f[l+(b<<2)>>2]=e;c=0;do{k=~~+I(+(+L(+(i*+(((c<<m)+b|0)>>>0)),+g)*65535.0+.5))&65535;d[e+(c<<1)>>1]=k;c=c+1|0}while((c|0)!=256);b=b+1|0}while(b>>>0<n>>>0);return}c=0;do{e=gjb(a,512)|0;f[l+(c<<2)>>2]=e;if(h){b=0;do{d[e+(b<<1)>>1]=(b<<m)+c;b=b+1|0}while((b|0)!=256)}else{b=0;do{d[e+(b<<1)>>1]=(((((b<<m)+c|0)*65535|0)+j|0)>>>0)/(k>>>0)|0;b=b+1|0}while((b|0)!=256)}c=c+1|0}while(c>>>0<n>>>0);return}function Nlb(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;A=u;u=u+16|0;z=A;if(!a){u=A;return}if(!(f[a+212>>2]&64))Clb(a);g=f[a+368>>2]|0;f[z>>2]=g;p=z+8|0;b[p>>0]=b[a+435>>0]|0;q=z+9|0;b[q>>0]=b[a+436>>0]|0;b[z+10>>0]=b[a+439>>0]|0;x=b[a+438>>0]|0;w=z+11|0;b[w>>0]=x;i=x&255;if((x&255)>7)i=W(i>>>3,g)|0;else i=((W(g,i)|0)+7|0)>>>3;l=z+4|0;f[l>>2]=i;x=a+372|0;g=f[x>>2]|0;t=a+432|0;a:do if(b[t>>0]|0?f[a+216>>2]&2|0:0)switch(b[a+433>>0]|0){case 0:{if(!(g&7))break a;if(d|0)dlb(a,d,1);Olb(a);u=A;return}case 1:{if((g&7|0)==0?(f[a+348>>2]|0)>>>0>=5:0)break a;if(d|0)dlb(a,d,1);Olb(a);u=A;return}case 2:{if((g&7|0)==4)break a;if(!((d|0)==0|(g&4|0)==0))dlb(a,d,1);Olb(a);u=A;return}case 3:{if((g&3|0)==0?(f[a+348>>2]|0)>>>0>=3:0)break a;if(d|0)dlb(a,d,1);Olb(a);u=A;return}case 4:{if((g&3|0)==2)break a;if(!((d|0)==0|(g&2|0)==0))dlb(a,d,1);Olb(a);u=A;return}case 5:{if((g&1|0)==0?(f[a+348>>2]|0)>>>0>=2:0)break a;if(d|0)dlb(a,d,1);Olb(a);u=A;return}default:{if(g&1|0)break a;Olb(a);u=A;return}}while(0);if(!(f[a+208>>2]&4))kib(a,481332);v=a+384|0;g=i+1|0;Plb(a,f[v>>2]|0,g);i=f[v>>2]|0;j=b[i>>0]|0;k=j&255;do if(j<<24>>24)if((j&255)<5){n=a+380|0;skb(a,z,i+1|0,(f[n>>2]|0)+1|0,k);o=(f[l>>2]|0)+1|0;r=f[v>>2]|0;break}else kib(a,481365);else{n=a+380|0;o=g;r=i}while(0);YDb(f[n>>2]|0,r|0,o|0)|0;b:do if((f[a+708>>2]&4|0?(b[a+712>>0]|0)==64:0)?(e=(f[v>>2]|0)+1|0,s=f[z>>2]|0,m=b[p>>0]|0,m&2):0)switch(b[q>>0]|0){case 8:{switch(m<<24>>24){case 2:{i=3;break}case 6:{i=4;break}default:break b}if(!s)break b;g=0;while(1){q=h[e+1>>0]|0;b[e>>0]=q+(h[e>>0]|0);r=e+2|0;b[r>>0]=(h[r>>0]|0)+q;g=g+1|0;if((g|0)==(s|0))break;else e=e+i|0}break}case 16:{switch(m<<24>>24){case 2:{i=6;break}case 6:{i=8;break}default:break b}if(!s)break b;g=0;while(1){o=e+1|0;q=h[e+2>>0]<<8|h[e+3>>0];p=e+4|0;r=e+5|0;n=q+(h[e>>0]<<8|h[o>>0])|0;q=(h[p>>0]<<8|h[r>>0])+q|0;b[e>>0]=n>>>8;b[o>>0]=n;b[p>>0]=q>>>8;b[r>>0]=q;g=g+1|0;if((g|0)==(s|0))break;else e=e+i|0}break}default:break b}while(0);g=a+216|0;if(f[g>>2]|0)tkb(a,z);i=a+443|0;j=b[i>>0]|0;e=b[w>>0]|0;if(!(j<<24>>24)){b[i>>0]=e;if((e&255)>(h[a+442>>0]|0))kib(a,481391)}else if(j<<24>>24!=e<<24>>24)kib(a,481415);if((b[t>>0]|0)!=0?(y=f[g>>2]|0,(y&2|0)!=0):0){e=b[a+433>>0]|0;if((e&255)<6)ukb(z,(f[v>>2]|0)+1|0,e&255,y);if(d|0)dlb(a,d,1);if(c|0)dlb(a,c,0)}else{if(c|0)dlb(a,c,-1);if(d|0)dlb(a,d,-1)}Olb(a);e=f[a+544>>2]|0;if(!e){u=A;return}Fj[e&511](a,f[x>>2]|0,h[a+433>>0]|0);u=A;return}function Olb(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;c=a+372|0;n=(f[c>>2]|0)+1|0;f[c>>2]=n;o=a+356|0;if(n>>>0<(f[o>>2]|0)>>>0)return;a:do if(b[a+432>>0]|0?(f[c>>2]=0,_Db(f[a+380>>2]|0,0,(f[a+364>>2]|0)+1|0)|0,m=a+433|0,e=(b[m>>0]|0)+1<<24>>24,b[m>>0]=e,d=e&255,(e&255)<=6):0){k=(f[a+348>>2]|0)+-1|0;n=a+368|0;do if(!(f[a+216>>2]&2)){l=(f[a+352>>2]|0)+-1|0;while(1){g=b[481030+d>>0]|0;r=g&255;i=k+r-(h[481037+d>>0]|0)|0;j=b[481526+d>>0]|0;s=j&255;c=l+s-(h[481533+d>>0]|0)|0;if(!(c>>>0<s>>>0|i>>>0<r>>>0)){d=8;break}e=e+1<<24>>24;b[m>>0]=e;if((e&255)>6){d=9;break}else d=e&255}if((d|0)==8){f[o>>2]=(c>>>0)/((j&255)>>>0)|0;c=(i>>>0)/((g&255)>>>0)|0;break}else if((d|0)==9){f[o>>2]=(c>>>0)/((j&255)>>>0)|0;f[n>>2]=(i>>>0)/((g&255)>>>0)|0;break a}}else{c=h[481030+d>>0]|0;c=((k+c-(h[481037+d>>0]|0)|0)>>>0)/(c>>>0)|0}while(0);f[n>>2]=c;return}while(0);c=a+212|0;if((f[c>>2]&8|0)==0?(Plb(a,0,0),f[a+236>>2]=0,p=f[c>>2]|0,q=a+208|0,(p&8|0)==0):0){f[q>>2]=f[q>>2]|8;f[c>>2]=p|8}c=a+220|0;if((f[c>>2]|0)!=1229209940)return;f[a+224>>2]=0;f[a+228>>2]=0;f[c>>2]=0;qkb(a,f[a+408>>2]|0)|0;return}function Plb(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,t=0,v=0,w=0;w=u;u=u+1024|0;h=w;r=a+224|0;s=a+236|0;f[s>>2]=b;t=a+240|0;f[t>>2]=0;c=(b|0)==0?0:c;n=a+228|0;o=a+408|0;m=(b|0)!=0;i=a+796|0;j=a+788|0;k=a+376|0;l=a+792|0;a:do if(m){d=c;b:while(1){if(!(f[n>>2]|0)){c=f[o>>2]|0;if(!c)do{qkb(a,0)|0;c=Alb(a)|0;f[o>>2]=c;if((f[k>>2]|0)!=1229209940){v=22;break b}}while(!(c|0));b=f[i>>2]|0;b=b>>>0>c>>>0?c:b;c=f[j>>2]|0;if(c)if((f[l>>2]|0)>>>0<b>>>0){f[j>>2]=0;f[l>>2]=0;xib(a,c);v=11}else g=c;else v=11;if((v|0)==11){v=0;c=djb(a,b)|0;if(!c){v=28;break}f[j>>2]=c;f[l>>2]=b;g=c}sib(a,g,b);Hjb(a,g,b);f[o>>2]=(f[o>>2]|0)-b;f[r>>2]=g;f[n>>2]=b}f[t>>2]=d;c=mmb(r,0)|0;d=f[t>>2]|0;f[t>>2]=0;switch(c|0){case 1:{p=d;break a}case 0:break;default:{q=c;v=34;break a}}if(!d){v=42;break}}if((v|0)==22)kib(a,481462);else if((v|0)==28)Cib(a,479338);else if((v|0)==42){u=w;return}}else{d=c;c:while(1){if(!(f[n>>2]|0)){c=f[o>>2]|0;if(!c)do{qkb(a,0)|0;c=Alb(a)|0;f[o>>2]=c;if((f[k>>2]|0)!=1229209940){v=22;break c}}while(!(c|0));b=f[i>>2]|0;b=b>>>0>c>>>0?c:b;c=f[j>>2]|0;if(c)if((f[l>>2]|0)>>>0<b>>>0){f[j>>2]=0;f[l>>2]=0;xib(a,c);v=26}else e=c;else v=26;if((v|0)==26){v=0;c=djb(a,b)|0;if(!c){v=28;break}f[j>>2]=c;f[l>>2]=b;e=c}sib(a,e,b);Hjb(a,e,b);f[o>>2]=(f[o>>2]|0)-b;f[r>>2]=e;f[n>>2]=b}f[s>>2]=h;f[t>>2]=1024;c=mmb(r,0)|0;d=1024-(f[t>>2]|0)+d|0;f[t>>2]=0;switch(c|0){case 1:{p=d;break a}case 0:break;default:{q=c;v=34;break a}}if(!d){v=42;break}}if((v|0)==22)kib(a,481462);else if((v|0)==28)Cib(a,479338);else if((v|0)==42){u=w;return}}while(0);if((v|0)==34){Ojb(a,q);c=f[a+248>>2]|0;if(m)Cib(a,c);Ykb(a,c);u=w;return}f[s>>2]=0;v=a+208|0;f[v>>2]=f[v>>2]|8;v=a+212|0;f[v>>2]=f[v>>2]|8;if(!((f[n>>2]|0)==0?!(f[o>>2]|0):0))Ykb(a,481484);if(!p){u=w;return}if(m)kib(a,481462);Ykb(a,481506);u=w;return}function Qlb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;if(!a)return;d=a+212|0;do if(!(f[d>>2]&64)){e=yjb(a)|0;if(!(f[d>>2]&64)){Clb(a);break}else{Zib(a,481274);break}}else{if(b[a+432>>0]|0?(f[a+216>>2]&2|0)==0:0){rib(a,481540);f[a+356>>2]=f[a+352>>2]}e=yjb(a)|0}while(0);i=f[a+352>>2]|0;if((e|0)<1|(i|0)==0)return;d=0;do{g=0;h=c;while(1){Nlb(a,f[h>>2]|0,0);g=g+1|0;if((g|0)==(i|0))break;else h=h+4|0}d=d+1|0}while((d|0)!=(e|0));return}function Rlb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,k=0,l=0,m=0;if(!a)return;if(!(Ekb(a,1229209940)|0))Slb(a);if((b[a+435>>0]|0)==3?(f[a+424>>2]|0)>(j[a+420>>1]|0):0)Aib(a,481605);d=a+376|0;e=(c|0)==0;g=a+208|0;do{h=Alb(a)|0;i=f[d>>2]|0;a:do if((i|0)<1229472850){switch(i|0){case 1229278788:break;default:{m=11;break a}}Dkb(a,c,h)}else{switch(i|0){case 1229472850:break;default:{m=11;break a}}Ckb(a,c,h)}while(0);b:do if((m|0)==11){m=0;if(e){qkb(a,h)|0;break}k=Ekb(a,i)|0;l=(i|0)==1229209940;if(k|0){if(!l){Fkb(a,c,h,k);if((i|0)!=1347179589)break;f[g>>2]=f[g>>2]|2;break}if(!((h|0)==0?!(f[g>>2]&8192|0):0))Aib(a,480864);Fkb(a,c,h,k);break}if(l){if(!((h|0)==0?!(f[g>>2]&8192|0):0))Aib(a,480864);qkb(a,h)|0;break}c:do if((i|0)<1883789683){if((i|0)<1749635924)if((i|0)<1665684045)if((i|0)<1649100612){switch(i|0){case 1347179589:break;default:break c}Gkb(a,c,h);break b}else{switch(i|0){case 1649100612:break;default:break c}Okb(a,c,h);break b}else if((i|0)<1732332865){switch(i|0){case 1665684045:break;default:break c}Jkb(a,c,h);break b}else{switch(i|0){case 1732332865:break;default:break c}Hkb(a,c,h);break b}if((i|0)<1767135348)if((i|0)<1766015824){switch(i|0){case 1749635924:break;default:break c}Pkb(a,c,h);break b}else{switch(i|0){case 1766015824:break;default:break c}Lkb(a,c,h);break b}if((i|0)<1866876531){switch(i|0){case 1767135348:break;default:break c}Xkb(a,c,h);break b}if((i|0)<1883455820){switch(i|0){case 1866876531:break;default:break c}Rkb(a,c,h);break b}else{switch(i|0){case 1883455820:break;default:break c}Skb(a,c,h);break b}}else{if((i|0)<1934772034)if((i|0)<1933787468)if((i|0)<1933723988){switch(i|0){case 1883789683:break;default:break c}Qkb(a,c,h);break b}else{switch(i|0){case 1933723988:break;default:break c}Ikb(a,c,h);break b}else if((i|0)<1934642260){switch(i|0){case 1933787468:break;default:break c}Tkb(a,c,h);break b}else{switch(i|0){case 1934642260:break;default:break c}Mkb(a,c,h);break b}if((i|0)<1950960965)if((i|0)<1950701684){switch(i|0){case 1934772034:break;default:break c}Kkb(a,c,h);break b}else{switch(i|0){case 1950701684:break;default:break c}Vkb(a,c,h);break b}if((i|0)<1951551059){switch(i|0){case 1950960965:break;default:break c}Ukb(a,c,h);break b}if((i|0)<2052348020){switch(i|0){case 1951551059:break;default:break c}Nkb(a,c,h);break b}else{switch(i|0){case 2052348020:break;default:break c}Wkb(a,c,h);break b}}while(0);Fkb(a,c,h,0)}while(0)}while(!(f[g>>2]&16|0));return}function Slb(a){a=a|0;var b=0,c=0,d=0;b=a+212|0;if((f[b>>2]&8|0)==0?(Plb(a,0,0),f[a+236>>2]=0,c=f[b>>2]|0,d=a+208|0,(c&8|0)==0):0){f[d>>2]=f[d>>2]|8;f[b>>2]=c|8}b=a+220|0;if((f[b>>2]|0)!=1229209940)return;f[a+224>>2]=0;f[a+228>>2]=0;f[b>>2]=0;qkb(a,f[a+408>>2]|0)|0;return}function Tlb(a){a=a|0;var b=0,c=0;if(!a)return;b=a+212|0;c=f[b>>2]|0;if(!(c&64)){f[b>>2]=c|16384;c=a+216|0;f[c>>2]=f[c>>2]|33558528;return}else{Zib(a,481646);return}}function Ulb(a,c){a=a|0;c=c|0;if(!a)return;if((c|0)>8)kib(a,481705);b[a+441>>0]=(c|0)>0?c:0;return}function Vlb(a){a=a|0;if(!a){a=0;return a|0}a=f[a+188>>2]|0;return a|0}function Wlb(a){a=a|0;if(!a){a=0;return a|0}a=f[a+176>>2]|0;return a|0}function Xlb(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,g=0,h=0,i=0,j=0;if(!a)return;i=a+212|0;g=f[i>>2]|0;if(g&64|0){Zib(a,481646);return}e=g|16384;f[i>>2]=e;a:do if((b|0)<-2)if((b|0)<-5e4)switch(b|0){case -1e5:{j=5;break a}default:break a}else switch(b|0){case -5e4:{j=6;break a}default:break a}else switch(b|0){case -1:{j=5;break}case -2:{j=6;break}default:{}}while(0);if((j|0)==5){e=g|20480;f[i>>2]=e;b=22e4}else if((j|0)==6)b=151724;b:do if((c|0)<-2)if((c|0)<-5e4)switch(c|0){case -1e5:{j=8;break b}default:{j=9;break b}}else switch(c|0){case -5e4:{h=65909;break b}default:{j=9;break b}}else switch(c|0){case -1:{j=8;break}case -2:{h=65909;break}default:j=9}while(0);if((j|0)==8){f[i>>2]=e|4096;h=45455}else if((j|0)==9)if((c|0)<1)kib(a,481750);else h=c;if((b|0)<1)kib(a,481786);f[a+824>>2]=h;j=a+898|0;d[j>>1]=d[j>>1]|1;f[a+488>>2]=b;return}function Ylb(a,b,c){a=a|0;b=+b;c=+c;var d=0.0;d=+I(+((b>0.0&b<128.0?b*1.0e5:b)+.5));if(d>2147483647.0|d<-2147483647.0)Eib(a,481738);b=+I(+((c>0.0&c<128.0?c*1.0e5:c)+.5));if(b>2147483647.0|b<-2147483647.0)Eib(a,481738);else{Xlb(a,~~d,~~b);return}}function Zlb(a){a=a|0;var b=0,c=0;if(!a)return;b=a+212|0;c=f[b>>2]|0;if(!(c&64)){f[b>>2]=c|16384;c=a+216|0;f[c>>2]=f[c>>2]|33558528;return}else{Zib(a,481646);return}}function _lb(a){a=a|0;var b=0,c=0;if(!a)return;b=a+212|0;c=f[b>>2]|0;if(!(c&64)){f[b>>2]=c|16384;c=a+216|0;f[c>>2]=f[c>>2]|4096;return}else{Zib(a,481646);return}}function $lb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=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,u=0,v=0,w=0,x=0;d=a>>>16;a=a&65535;if((c|0)==1){i=a+(h[b>>0]|0)|0;i=i>>>0>65520?i+-65521|0:i;f=i+d|0;g=f<<16;i=(f>>>0>65520?g+983040|0:g)|i;return i|0}if(!b){i=1;return i|0}if(c>>>0<16){if(c)while(1){c=c+-1|0;a=a+(h[b>>0]|0)|0;d=a+d|0;if(!c)break;else b=b+1|0}i=((d>>>0)%65521|0)<<16|(a>>>0>65520?a+-65521|0:a);return i|0}if(c>>>0>5551){do{c=c+-5552|0;e=347;f=b;while(1){w=a+(h[f>>0]|0)|0;v=w+(h[f+1>>0]|0)|0;u=v+(h[f+2>>0]|0)|0;t=u+(h[f+3>>0]|0)|0;s=t+(h[f+4>>0]|0)|0;r=s+(h[f+5>>0]|0)|0;q=r+(h[f+6>>0]|0)|0;p=q+(h[f+7>>0]|0)|0;o=p+(h[f+8>>0]|0)|0;n=o+(h[f+9>>0]|0)|0;m=n+(h[f+10>>0]|0)|0;l=m+(h[f+11>>0]|0)|0;k=l+(h[f+12>>0]|0)|0;j=k+(h[f+13>>0]|0)|0;i=j+(h[f+14>>0]|0)|0;a=i+(h[f+15>>0]|0)|0;d=w+d+v+u+t+s+r+q+p+o+n+m+l+k+j+i+a|0;e=e+-1|0;if(!e)break;else f=f+16|0}b=b+5552|0;a=(a>>>0)%65521|0;d=(d>>>0)%65521|0}while(c>>>0>5551);if(c)if(c>>>0>15)g=16;else g=19}else g=16;if((g|0)==16){f=c+-16|0;g=f&-16;i=g+16|0;e=b;while(1){c=c+-16|0;x=a+(h[e>>0]|0)|0;j=x+(h[e+1>>0]|0)|0;k=j+(h[e+2>>0]|0)|0;l=k+(h[e+3>>0]|0)|0;m=l+(h[e+4>>0]|0)|0;n=m+(h[e+5>>0]|0)|0;o=n+(h[e+6>>0]|0)|0;p=o+(h[e+7>>0]|0)|0;q=p+(h[e+8>>0]|0)|0;r=q+(h[e+9>>0]|0)|0;s=r+(h[e+10>>0]|0)|0;t=s+(h[e+11>>0]|0)|0;u=t+(h[e+12>>0]|0)|0;v=u+(h[e+13>>0]|0)|0;w=v+(h[e+14>>0]|0)|0;a=w+(h[e+15>>0]|0)|0;d=x+d+j+k+l+m+n+o+p+q+r+s+t+u+v+w+a|0;if(c>>>0<=15)break;else e=e+16|0}c=f-g|0;if(!c)g=21;else{b=b+i|0;g=19}}if((g|0)==19)while(1){c=c+-1|0;a=a+(h[b>>0]|0)|0;d=a+d|0;if(!c){g=21;break}else b=b+1|0}if((g|0)==21){d=(d>>>0)%65521|0;a=(a>>>0)%65521|0}x=d<<16|a;return x|0}function amb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,i=0;if(!b){g=0;return g|0}a=~a;a:do if(c){while(1){if(!(b&3))break;a=f[252368+((a&255^(h[b>>0]|0))<<2)>>2]^a>>>8;c=c+-1|0;if(!c)break a;else b=b+1|0}if(c>>>0>31){e=c+-32|0;g=e&-32;d=b+(g+32)|0;while(1){i=f[b>>2]^a;i=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2]^f[b+4>>2];i=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2]^f[b+8>>2];i=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2]^f[b+12>>2];i=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2]^f[b+16>>2];i=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2]^f[b+20>>2];i=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2]^f[b+24>>2];i=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2]^f[b+28>>2];a=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2];c=c+-32|0;if(c>>>0<=31)break;else b=b+32|0}b=d;c=e-g|0}if(c>>>0>3){g=c+-4|0;e=g>>>2;d=b;while(1){i=f[d>>2]^a;a=f[254416+((i>>>8&255)<<2)>>2]^f[255440+((i&255)<<2)>>2]^f[253392+((i>>>16&255)<<2)>>2]^f[252368+(i>>>24<<2)>>2];c=c+-4|0;if(c>>>0<=3)break;else d=d+4|0}b=b+(e+1<<2)|0;c=g&3}if(c)while(1){a=f[252368+((a&255^(h[b>>0]|0))<<2)>>2]^a>>>8;c=c+-1|0;if(!c)break;else b=b+1|0}}while(0);i=~a;return i|0}function bmb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0;if(!i){h=-6;return h|0}if((j|0)!=56|(b[i>>0]|0)!=49){h=-6;return h|0}if(!a){h=-2;return h|0}n=a+24|0;f[n>>2]=0;m=a+32|0;i=f[m>>2]|0;if(!i){f[m>>2]=228;f[a+40>>2]=0;i=228}j=a+36|0;if(!(f[j>>2]|0))f[j>>2]=817;l=(c|0)==-1?6:c;if((e|0)<0){k=0;j=0-e|0}else{j=(e|0)>15;k=j?2:1;j=j?e+-16|0:e}if(h>>>0>4|(l>>>0>9|((d|0)!=8|(g+-1|0)>>>0>8|(j&-8|0)!=8))){h=-2;return h|0}c=(j|0)==8?9:j;j=a+40|0;e=dj[i&255](f[j>>2]|0,1,5828)|0;if(!e){h=-4;return h|0}f[a+28>>2]=e;f[e>>2]=a;f[e+24>>2]=k;f[e+28>>2]=0;f[e+48>>2]=c;k=1<<c;d=e+44|0;f[d>>2]=k;f[e+52>>2]=k+-1;c=g+7|0;f[e+80>>2]=c;c=1<<c;i=e+76|0;f[i>>2]=c;f[e+84>>2]=c+-1;f[e+88>>2]=((g+9|0)>>>0)/3|0;k=dj[f[m>>2]&255](f[j>>2]|0,k,2)|0;c=e+56|0;f[c>>2]=k;d=dj[f[m>>2]&255](f[j>>2]|0,f[d>>2]|0,2)|0;k=e+64|0;f[k>>2]=d;i=dj[f[m>>2]&255](f[j>>2]|0,f[i>>2]|0,2)|0;d=e+68|0;f[d>>2]=i;f[e+5824>>2]=0;i=1<<g+6;g=e+5788|0;f[g>>2]=i;i=dj[f[m>>2]&255](f[j>>2]|0,i,4)|0;f[e+8>>2]=i;j=f[g>>2]|0;f[e+12>>2]=j<<2;if((f[c>>2]|0?f[k>>2]|0:0)?!((i|0)==0|(f[d>>2]|0)==0):0){f[e+5796>>2]=i+(j>>>1<<1);f[e+5784>>2]=i+(j*3|0);f[e+132>>2]=l;f[e+136>>2]=h;b[e+36>>0]=8;h=dmb(a)|0;return h|0}f[e+4>>2]=666;f[n>>2]=f[66466];cmb(a)|0;h=-4;return h|0}function cmb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;if(!a){g=-2;return g|0}e=a+28|0;b=f[e>>2]|0;if(!b){g=-2;return g|0}g=f[b+4>>2]|0;switch(g|0){case 42:case 69:case 73:case 91:case 103:case 113:case 666:break;default:{g=-2;return g|0}}c=f[b+8>>2]|0;if(c){Bj[f[a+36>>2]&1023](f[a+40>>2]|0,c);b=f[e>>2]|0}c=f[b+68>>2]|0;if(c){Bj[f[a+36>>2]&1023](f[a+40>>2]|0,c);b=f[e>>2]|0}c=f[b+64>>2]|0;if(c){Bj[f[a+36>>2]&1023](f[a+40>>2]|0,c);b=f[e>>2]|0}c=f[b+56>>2]|0;if(!c){d=a+40|0;c=a+36|0}else{b=a+36|0;d=a+40|0;Bj[f[b>>2]&1023](f[d>>2]|0,c);c=b;b=f[e>>2]|0}Bj[f[c>>2]&1023](f[d>>2]|0,b);f[e>>2]=0;g=(g|0)==113?-3:0;return g|0}function dmb(a){a=a|0;var b=0,c=0,e=0,g=0,h=0;if(!a){h=-2;return h|0}g=a+28|0;h=f[g>>2]|0;if(!h){h=-2;return h|0}if(!(f[a+32>>2]|0)){h=-2;return h|0}if(!(f[a+36>>2]|0)){h=-2;return h|0}f[a+20>>2]=0;f[a+8>>2]=0;f[a+24>>2]=0;f[a+44>>2]=2;f[h+20>>2]=0;f[h+16>>2]=f[h+8>>2];c=h+24|0;b=f[c>>2]|0;e=0-b|0;if((b|0)<0){f[c>>2]=e;b=e}f[h+4>>2]=(b|0)==0?113:42;if((b|0)==2)b=amb(0,0,0)|0;else b=$lb(0,0,0)|0;f[a+48>>2]=b;f[h+40>>2]=0;pmb(h);h=f[g>>2]|0;f[h+60>>2]=f[h+44>>2]<<1;a=f[h+68>>2]|0;g=f[h+76>>2]|0;d[a+(g+-1<<1)>>1]=0;_Db(a|0,0,(g<<1)+-2|0)|0;g=f[h+132>>2]|0;f[h+128>>2]=j[260560+(g*12|0)+2>>1];f[h+140>>2]=j[260560+(g*12|0)>>1];f[h+144>>2]=j[260560+(g*12|0)+4>>1];f[h+124>>2]=j[260560+(g*12|0)+6>>1];f[h+108>>2]=0;f[h+92>>2]=0;f[h+116>>2]=0;f[h+5812>>2]=0;f[h+120>>2]=2;f[h+96>>2]=2;f[h+104>>2]=0;f[h+72>>2]=0;h=0;return h|0}function emb(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;m=(f[a+12>>2]|0)+-5|0;m=m>>>0<65535?m:65535;j=a+116|0;o=a+108|0;p=a+92|0;l=a+44|0;n=a+56|0;while(1){c=f[j>>2]|0;if(c>>>0<2){hmb(a);c=f[j>>2]|0;if(!(c|b)){c=0;d=36;break}if(!c){d=21;break}}c=(f[o>>2]|0)+c|0;f[o>>2]=c;f[j>>2]=0;d=f[p>>2]|0;e=d+m|0;if(!((c|0)!=0&c>>>0<e>>>0)){f[j>>2]=c-e;f[o>>2]=e;if((d|0)>-1)c=(f[n>>2]|0)+d|0;else c=0;umb(a,c,m,0);f[p>>2]=f[o>>2];c=f[a>>2]|0;d=f[c+28>>2]|0;smb(d);e=d+20|0;h=f[e>>2]|0;g=c+16|0;s=f[g>>2]|0;h=h>>>0>s>>>0?s:h;if(h|0?(s=c+12|0,i=d+16|0,YDb(f[s>>2]|0,f[i>>2]|0,h|0)|0,f[s>>2]=(f[s>>2]|0)+h,f[i>>2]=(f[i>>2]|0)+h,s=c+20|0,f[s>>2]=(f[s>>2]|0)+h,f[g>>2]=(f[g>>2]|0)-h,s=(f[e>>2]|0)-h|0,f[e>>2]=s,(s|0)==0):0)f[i>>2]=f[d+8>>2];if(!(f[(f[a>>2]|0)+16>>2]|0)){c=0;d=36;break}d=f[p>>2]|0;c=f[o>>2]|0}e=c-d|0;if(e>>>0>=((f[l>>2]|0)+-262|0)>>>0){if((d|0)>-1)c=(f[n>>2]|0)+d|0;else c=0;umb(a,c,e,0);f[p>>2]=f[o>>2];c=f[a>>2]|0;d=f[c+28>>2]|0;smb(d);e=d+20|0;h=f[e>>2]|0;g=c+16|0;s=f[g>>2]|0;h=h>>>0>s>>>0?s:h;if(h|0?(s=c+12|0,k=d+16|0,YDb(f[s>>2]|0,f[k>>2]|0,h|0)|0,f[s>>2]=(f[s>>2]|0)+h,f[k>>2]=(f[k>>2]|0)+h,s=c+20|0,f[s>>2]=(f[s>>2]|0)+h,f[g>>2]=(f[g>>2]|0)-h,s=(f[e>>2]|0)-h|0,f[e>>2]=s,(s|0)==0):0)f[k>>2]=f[d+8>>2];if(!(f[(f[a>>2]|0)+16>>2]|0)){c=0;d=36;break}}}if((d|0)==21){f[a+5812>>2]=0;if((b|0)==4){d=f[p>>2]|0;if((d|0)>-1)c=(f[n>>2]|0)+d|0;else c=0;umb(a,c,(f[o>>2]|0)-d|0,1);f[p>>2]=f[o>>2];c=f[a>>2]|0;d=f[c+28>>2]|0;smb(d);e=d+20|0;h=f[e>>2]|0;g=c+16|0;s=f[g>>2]|0;h=h>>>0>s>>>0?s:h;if(h|0?(s=c+12|0,q=d+16|0,YDb(f[s>>2]|0,f[q>>2]|0,h|0)|0,f[s>>2]=(f[s>>2]|0)+h,f[q>>2]=(f[q>>2]|0)+h,s=c+20|0,f[s>>2]=(f[s>>2]|0)+h,f[g>>2]=(f[g>>2]|0)-h,s=(f[e>>2]|0)-h|0,f[e>>2]=s,(s|0)==0):0)f[q>>2]=f[d+8>>2];s=(f[(f[a>>2]|0)+16>>2]|0)==0?2:3;return s|0}d=f[o>>2]|0;e=f[p>>2]|0;if((d|0)>(e|0)){if((e|0)>-1)c=(f[n>>2]|0)+e|0;else c=0;umb(a,c,d-e|0,0);f[p>>2]=f[o>>2];c=f[a>>2]|0;d=f[c+28>>2]|0;smb(d);e=d+20|0;h=f[e>>2]|0;g=c+16|0;s=f[g>>2]|0;h=h>>>0>s>>>0?s:h;if(h|0?(s=c+12|0,r=d+16|0,YDb(f[s>>2]|0,f[r>>2]|0,h|0)|0,f[s>>2]=(f[s>>2]|0)+h,f[r>>2]=(f[r>>2]|0)+h,s=c+20|0,f[s>>2]=(f[s>>2]|0)+h,f[g>>2]=(f[g>>2]|0)-h,s=(f[e>>2]|0)-h|0,f[e>>2]=s,(s|0)==0):0)f[r>>2]=f[d+8>>2];if(!(f[(f[a>>2]|0)+16>>2]|0)){s=0;return s|0}}s=1;return s|0}else if((d|0)==36)return c|0;return 0}function fmb(a,c){a=a|0;c=c|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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;B=a+116|0;C=(c|0)==0;D=a+72|0;E=a+88|0;I=a+56|0;K=a+108|0;F=a+84|0;G=a+68|0;r=a+64|0;s=a+52|0;t=a+96|0;u=a+44|0;v=a+112|0;w=a+5796|0;H=a+5792|0;x=a+5784|0;z=a+5788|0;A=a+128|0;J=a+92|0;while(1){if((f[B>>2]|0)>>>0<262){hmb(a);e=f[B>>2]|0;if(C&e>>>0<262){e=0;g=40;break}if(!e){g=25;break}if(e>>>0<=2)g=9;else g=6}else g=6;if((g|0)==6){g=0;q=f[K>>2]|0;o=(f[D>>2]<<f[E>>2]^(h[(f[I>>2]|0)+(q+2)>>0]|0))&f[F>>2];f[D>>2]=o;o=(f[G>>2]|0)+(o<<1)|0;p=d[o>>1]|0;d[(f[r>>2]|0)+((f[s>>2]&q)<<1)>>1]=p;e=p&65535;d[o>>1]=q;if(p<<16>>16!=0?(q-e|0)>>>0<=((f[u>>2]|0)+-262|0)>>>0:0){e=imb(a,e)|0;f[t>>2]=e}else g=9}if((g|0)==9)e=f[t>>2]|0;do if(e>>>0>2){g=e+253|0;e=(f[K>>2]|0)-(f[v>>2]|0)|0;q=f[H>>2]|0;d[(f[w>>2]|0)+(q<<1)>>1]=e;p=f[x>>2]|0;f[H>>2]=q+1;b[p+q>>0]=g;g=a+148+((h[263680+(g&255)>>0]|0|256)+1<<2)|0;d[g>>1]=(d[g>>1]|0)+1<<16>>16;e=e+65535&65535;e=a+2440+((h[263168+(e>>>0<256?e:(e>>>7)+256|0)>>0]|0)<<2)|0;d[e>>1]=(d[e>>1]|0)+1<<16>>16;e=(f[H>>2]|0)==((f[z>>2]|0)+-1|0)&1;g=f[t>>2]|0;q=(f[B>>2]|0)-g|0;f[B>>2]=q;if(!(q>>>0>2?g>>>0<=(f[A>>2]|0)>>>0:0)){i=(f[K>>2]|0)+g|0;f[K>>2]=i;f[t>>2]=0;q=f[I>>2]|0;p=h[q+i>>0]|0;f[D>>2]=p;f[D>>2]=(p<<f[E>>2]^(h[q+(i+1)>>0]|0))&f[F>>2];break}q=g+-1|0;f[t>>2]=q;g=f[E>>2]|0;i=f[I>>2]|0;j=f[F>>2]|0;k=f[G>>2]|0;l=f[r>>2]|0;m=f[s>>2]|0;o=f[K>>2]|0;p=f[D>>2]|0;while(1){n=o+1|0;f[K>>2]=n;p=(p<<g^(h[i+(o+3)>>0]|0))&j;f[D>>2]=p;N=k+(p<<1)|0;d[l+((m&n)<<1)>>1]=d[N>>1]|0;d[N>>1]=n;q=q+-1|0;f[t>>2]=q;if(!q)break;else o=n}i=o+2|0;f[K>>2]=i}else{e=b[(f[I>>2]|0)+(f[K>>2]|0)>>0]|0;i=f[H>>2]|0;d[(f[w>>2]|0)+(i<<1)>>1]=0;N=f[x>>2]|0;f[H>>2]=i+1;b[N+i>>0]=e;e=a+148+((e&255)<<2)|0;d[e>>1]=(d[e>>1]|0)+1<<16>>16;e=(f[H>>2]|0)==((f[z>>2]|0)+-1|0)&1;f[B>>2]=(f[B>>2]|0)+-1;i=(f[K>>2]|0)+1|0;f[K>>2]=i}while(0);if(e|0){e=f[J>>2]|0;if((e|0)>-1)g=(f[I>>2]|0)+e|0;else g=0;umb(a,g,i-e|0,0);f[J>>2]=f[K>>2];e=f[a>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;N=f[j>>2]|0;k=k>>>0>N>>>0?N:k;if(k|0?(N=e+12|0,y=g+16|0,YDb(f[N>>2]|0,f[y>>2]|0,k|0)|0,f[N>>2]=(f[N>>2]|0)+k,f[y>>2]=(f[y>>2]|0)+k,N=e+20|0,f[N>>2]=(f[N>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,N=(f[i>>2]|0)-k|0,f[i>>2]=N,(N|0)==0):0)f[y>>2]=f[g+8>>2];if(!(f[(f[a>>2]|0)+16>>2]|0)){e=0;g=40;break}}}if((g|0)==25){i=f[K>>2]|0;f[a+5812>>2]=i>>>0<2?i:2;if((c|0)==4){g=f[J>>2]|0;if((g|0)>-1)e=(f[I>>2]|0)+g|0;else e=0;umb(a,e,i-g|0,1);f[J>>2]=f[K>>2];e=f[a>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;N=f[j>>2]|0;k=k>>>0>N>>>0?N:k;if(k|0?(N=e+12|0,L=g+16|0,YDb(f[N>>2]|0,f[L>>2]|0,k|0)|0,f[N>>2]=(f[N>>2]|0)+k,f[L>>2]=(f[L>>2]|0)+k,N=e+20|0,f[N>>2]=(f[N>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,N=(f[i>>2]|0)-k|0,f[i>>2]=N,(N|0)==0):0)f[L>>2]=f[g+8>>2];N=(f[(f[a>>2]|0)+16>>2]|0)==0?2:3;return N|0}if(f[H>>2]|0){g=f[J>>2]|0;if((g|0)>-1)e=(f[I>>2]|0)+g|0;else e=0;umb(a,e,i-g|0,0);f[J>>2]=f[K>>2];e=f[a>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;N=f[j>>2]|0;k=k>>>0>N>>>0?N:k;if(k|0?(N=e+12|0,M=g+16|0,YDb(f[N>>2]|0,f[M>>2]|0,k|0)|0,f[N>>2]=(f[N>>2]|0)+k,f[M>>2]=(f[M>>2]|0)+k,N=e+20|0,f[N>>2]=(f[N>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,N=(f[i>>2]|0)-k|0,f[i>>2]=N,(N|0)==0):0)f[M>>2]=f[g+8>>2];if(!(f[(f[a>>2]|0)+16>>2]|0)){N=0;return N|0}}N=1;return N|0}else if((g|0)==40)return e|0;return 0}function gmb(a,c){a=a|0;c=c|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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;x=a+116|0;C=(c|0)==0;D=a+72|0;E=a+88|0;J=a+56|0;L=a+108|0;F=a+84|0;G=a+68|0;m=a+64|0;n=a+52|0;o=a+96|0;p=a+120|0;q=a+112|0;r=a+100|0;s=a+128|0;u=a+104|0;v=a+44|0;w=a+5796|0;H=a+5792|0;y=a+5784|0;z=a+5788|0;K=a+92|0;B=a+136|0;a:while(1){if((f[x>>2]|0)>>>0<262){hmb(a);e=f[x>>2]|0;if(C&e>>>0<262){e=0;I=55;break}if(!e){I=38;break}if(e>>>0<=2){g=f[o>>2]|0;f[p>>2]=g;f[r>>2]=f[q>>2];f[o>>2]=2;e=2}else I=7}else I=7;if((I|0)==7){I=0;k=f[L>>2]|0;g=(f[D>>2]<<f[E>>2]^(h[(f[J>>2]|0)+(k+2)>>0]|0))&f[F>>2];f[D>>2]=g;g=(f[G>>2]|0)+(g<<1)|0;l=d[g>>1]|0;d[(f[m>>2]|0)+((f[n>>2]&k)<<1)>>1]=l;e=l&65535;d[g>>1]=k;g=f[o>>2]|0;f[p>>2]=g;f[r>>2]=f[q>>2];f[o>>2]=2;if(!(l<<16>>16))e=2;else{do if(g>>>0<(f[s>>2]|0)>>>0?((f[L>>2]|0)-e|0)>>>0<=((f[v>>2]|0)+-262|0)>>>0:0){e=imb(a,e)|0;f[o>>2]=e;if(e>>>0<6){if((f[B>>2]|0)!=1){if((e|0)!=3)break;if(((f[L>>2]|0)-(f[q>>2]|0)|0)>>>0<=4096){e=3;break}}f[o>>2]=2;e=2}}else e=2;while(0);g=f[p>>2]|0}}do if(g>>>0<3|e>>>0>g>>>0){if(!(f[u>>2]|0)){f[u>>2]=1;f[L>>2]=(f[L>>2]|0)+1;f[x>>2]=(f[x>>2]|0)+-1;break}l=b[(f[J>>2]|0)+((f[L>>2]|0)+-1)>>0]|0;k=f[H>>2]|0;d[(f[w>>2]|0)+(k<<1)>>1]=0;j=f[y>>2]|0;f[H>>2]=k+1;b[j+k>>0]=l;l=a+148+((l&255)<<2)|0;d[l>>1]=(d[l>>1]|0)+1<<16>>16;if((f[H>>2]|0)==((f[z>>2]|0)+-1|0)){e=f[K>>2]|0;if((e|0)>-1)g=(f[J>>2]|0)+e|0;else g=0;umb(a,g,(f[L>>2]|0)-e|0,0);f[K>>2]=f[L>>2];e=f[a>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;l=f[j>>2]|0;k=k>>>0>l>>>0?l:k;if(k|0?(l=e+12|0,A=g+16|0,YDb(f[l>>2]|0,f[A>>2]|0,k|0)|0,f[l>>2]=(f[l>>2]|0)+k,f[A>>2]=(f[A>>2]|0)+k,l=e+20|0,f[l>>2]=(f[l>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,l=(f[i>>2]|0)-k|0,f[i>>2]=l,(l|0)==0):0)f[A>>2]=f[g+8>>2]}f[L>>2]=(f[L>>2]|0)+1;f[x>>2]=(f[x>>2]|0)+-1;if(!(f[(f[a>>2]|0)+16>>2]|0)){e=0;I=55;break a}}else{j=f[L>>2]|0;l=j+-3+(f[x>>2]|0)|0;k=g+253|0;j=j+65535-(f[r>>2]|0)|0;i=f[H>>2]|0;d[(f[w>>2]|0)+(i<<1)>>1]=j;g=f[y>>2]|0;f[H>>2]=i+1;b[g+i>>0]=k;k=a+148+((h[263680+(k&255)>>0]|0|256)+1<<2)|0;d[k>>1]=(d[k>>1]|0)+1<<16>>16;j=j+65535&65535;j=a+2440+((h[263168+(j>>>0<256?j:(j>>>7)+256|0)>>0]|0)<<2)|0;d[j>>1]=(d[j>>1]|0)+1<<16>>16;j=f[H>>2]|0;k=(f[z>>2]|0)+-1|0;i=f[p>>2]|0;f[x>>2]=1-i+(f[x>>2]|0);i=i+-2|0;f[p>>2]=i;g=f[L>>2]|0;while(1){e=g+1|0;f[L>>2]=e;if(e>>>0<=l>>>0){O=(f[D>>2]<<f[E>>2]^(h[(f[J>>2]|0)+(g+3)>>0]|0))&f[F>>2];f[D>>2]=O;O=(f[G>>2]|0)+(O<<1)|0;d[(f[m>>2]|0)+((f[n>>2]&e)<<1)>>1]=d[O>>1]|0;d[O>>1]=e}i=i+-1|0;f[p>>2]=i;if(!i)break;else g=e}f[u>>2]=0;f[o>>2]=2;i=g+2|0;f[L>>2]=i;if((j|0)==(k|0)){e=f[K>>2]|0;if((e|0)>-1)g=(f[J>>2]|0)+e|0;else g=0;umb(a,g,i-e|0,0);f[K>>2]=f[L>>2];e=f[a>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;O=f[j>>2]|0;k=k>>>0>O>>>0?O:k;if(k|0?(O=e+12|0,t=g+16|0,YDb(f[O>>2]|0,f[t>>2]|0,k|0)|0,f[O>>2]=(f[O>>2]|0)+k,f[t>>2]=(f[t>>2]|0)+k,O=e+20|0,f[O>>2]=(f[O>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,O=(f[i>>2]|0)-k|0,f[i>>2]=O,(O|0)==0):0)f[t>>2]=f[g+8>>2];if(!(f[(f[a>>2]|0)+16>>2]|0)){e=0;I=55;break a}}}while(0)}if((I|0)==38){if(f[u>>2]|0){O=b[(f[J>>2]|0)+((f[L>>2]|0)+-1)>>0]|0;I=f[H>>2]|0;d[(f[w>>2]|0)+(I<<1)>>1]=0;G=f[y>>2]|0;f[H>>2]=I+1;b[G+I>>0]=O;O=a+148+((O&255)<<2)|0;d[O>>1]=(d[O>>1]|0)+1<<16>>16;f[u>>2]=0}i=f[L>>2]|0;f[a+5812>>2]=i>>>0<2?i:2;if((c|0)==4){g=f[K>>2]|0;if((g|0)>-1)e=(f[J>>2]|0)+g|0;else e=0;umb(a,e,i-g|0,1);f[K>>2]=f[L>>2];e=f[a>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;O=f[j>>2]|0;k=k>>>0>O>>>0?O:k;if(k|0?(O=e+12|0,M=g+16|0,YDb(f[O>>2]|0,f[M>>2]|0,k|0)|0,f[O>>2]=(f[O>>2]|0)+k,f[M>>2]=(f[M>>2]|0)+k,O=e+20|0,f[O>>2]=(f[O>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,O=(f[i>>2]|0)-k|0,f[i>>2]=O,(O|0)==0):0)f[M>>2]=f[g+8>>2];O=(f[(f[a>>2]|0)+16>>2]|0)==0?2:3;return O|0}if(f[H>>2]|0){g=f[K>>2]|0;if((g|0)>-1)e=(f[J>>2]|0)+g|0;else e=0;umb(a,e,i-g|0,0);f[K>>2]=f[L>>2];e=f[a>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;O=f[j>>2]|0;k=k>>>0>O>>>0?O:k;if(k|0?(O=e+12|0,N=g+16|0,YDb(f[O>>2]|0,f[N>>2]|0,k|0)|0,f[O>>2]=(f[O>>2]|0)+k,f[N>>2]=(f[N>>2]|0)+k,O=e+20|0,f[O>>2]=(f[O>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,O=(f[i>>2]|0)-k|0,f[i>>2]=O,(O|0)==0):0)f[N>>2]=f[g+8>>2];if(!(f[(f[a>>2]|0)+16>>2]|0)){O=0;return O|0}}O=1;return O|0}else if((I|0)==55)return e|0;return 0}function hmb(a){a=a|0;var b=0,c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;m=a+44|0;x=f[m>>2]|0;E=a+60|0;F=a+116|0;G=a+108|0;y=x+-262|0;H=a+56|0;z=a+112|0;A=a+92|0;n=a+76|0;q=a+68|0;r=a+5812|0;s=a+64|0;t=a+72|0;u=a+88|0;v=a+84|0;w=a+52|0;b=f[F>>2]|0;c=x;while(1){e=f[G>>2]|0;g=(f[E>>2]|0)-b-e|0;if(e>>>0>=(y+c|0)>>>0){e=f[H>>2]|0;YDb(e|0,e+x|0,x|0)|0;f[z>>2]=(f[z>>2]|0)-x;e=(f[G>>2]|0)-x|0;f[G>>2]=e;f[A>>2]=(f[A>>2]|0)-x;c=f[n>>2]|0;b=c;c=(f[q>>2]|0)+(c<<1)|0;do{c=c+-2|0;l=j[c>>1]|0;d[c>>1]=x>>>0>l>>>0?0:l-x&65535;b=b+-1|0}while((b|0)!=0);b=x;c=(f[s>>2]|0)+(x<<1)|0;do{c=c+-2|0;l=j[c>>1]|0;d[c>>1]=x>>>0>l>>>0?0:l-x&65535;b=b+-1|0}while((b|0)!=0);g=g+x|0}i=f[a>>2]|0;k=i+4|0;l=f[k>>2]|0;if(!l)break;b=f[F>>2]|0;e=(f[H>>2]|0)+e+b|0;c=l>>>0>g>>>0?g:l;if(!c)c=0;else{f[k>>2]=l-c;YDb(e|0,f[i>>2]|0,c|0)|0;switch(f[(f[i+28>>2]|0)+24>>2]|0){case 1:{l=i+48|0;k=$lb(f[l>>2]|0,e,c)|0;f[l>>2]=k;break}case 2:{l=i+48|0;k=amb(f[l>>2]|0,e,c)|0;f[l>>2]=k;break}default:{}}f[i>>2]=(f[i>>2]|0)+c;b=i+8|0;f[b>>2]=(f[b>>2]|0)+c;b=f[F>>2]|0}b=b+c|0;f[F>>2]=b;c=f[r>>2]|0;a:do if((c+b|0)>>>0>2?(B=(f[G>>2]|0)-c|0,C=f[H>>2]|0,p=h[C+B>>0]|0,f[t>>2]=p,D=f[u>>2]|0,o=f[v>>2]|0,p=(p<<D^(h[C+(B+1)>>0]|0))&o,f[t>>2]=p,c|0):0){e=B;g=p;while(1){g=(g<<D^(h[C+(e+2)>>0]|0))&o;f[t>>2]=g;l=(f[q>>2]|0)+(g<<1)|0;d[(f[s>>2]|0)+((f[w>>2]&e)<<1)>>1]=d[l>>1]|0;d[l>>1]=e;c=c+-1|0;f[r>>2]=c;if((c+b|0)>>>0<3)break a;if(!c)break;else e=e+1|0}}while(0);if(b>>>0>=262)break;if(!(f[(f[a>>2]|0)+4>>2]|0))break;c=f[m>>2]|0}e=a+5824|0;g=f[e>>2]|0;c=f[E>>2]|0;if(c>>>0<=g>>>0)return;b=(f[F>>2]|0)+(f[G>>2]|0)|0;if(g>>>0<b>>>0){G=c-b|0;G=G>>>0<258?G:258;_Db((f[H>>2]|0)+b|0,0,G|0)|0;f[e>>2]=G+b;return}b=b+258|0;if(b>>>0<=g>>>0)return;G=b-g|0;F=c-g|0;G=G>>>0>F>>>0?F:G;_Db((f[H>>2]|0)+g|0,0,G|0)|0;f[e>>2]=(f[e>>2]|0)+G;return}function imb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=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;i=f[a+124>>2]|0;s=f[a+56>>2]|0;m=f[a+108>>2]|0;t=s+m|0;h=f[a+120>>2]|0;v=f[a+144>>2]|0;u=(f[a+44>>2]|0)+-262|0;u=m>>>0>u>>>0?m-u|0:0;m=f[a+64>>2]|0;n=f[a+52>>2]|0;w=f[a+116>>2]|0;v=v>>>0>w>>>0?w:v;o=a+112|0;p=t+1|0;q=t+258|0;d=b[t+h>>0]|0;k=b[t+(h+-1)>>0]|0;l=c;c=h;i=h>>>0<(f[a+140>>2]|0)>>>0?i:i>>>2;while(1){a=s+l|0;if((((b[a+c>>0]|0)==d<<24>>24?(b[a+(c+-1)>>0]|0)==k<<24>>24:0)?(b[a>>0]|0)==(b[t>>0]|0):0)?(r=a+1|0,(b[r>>0]|0)==(b[p>>0]|0)):0){g=2;a=r;while(1){h=t+g|0;if((b[h+1>>0]|0)!=(b[a+2>>0]|0)){e=22;break}if((b[h+2>>0]|0)!=(b[a+3>>0]|0)){e=21;break}if((b[h+3>>0]|0)!=(b[a+4>>0]|0)){e=20;break}if((b[h+4>>0]|0)!=(b[a+5>>0]|0)){e=19;break}if((b[h+5>>0]|0)!=(b[a+6>>0]|0)){e=18;break}if((b[h+6>>0]|0)!=(b[a+7>>0]|0)){e=17;break}e=a;a=a+8|0;if((b[h+7>>0]|0)!=(b[a>>0]|0)){e=16;break}h=g;g=g+8|0;if(!(h>>>0<250?(b[t+g>>0]|0)==(b[e+9>>0]|0):0)){e=15;break}}if((e|0)==15)a=t+g|0;else if((e|0)==16)a=h+7|0;else if((e|0)==17)a=h+6|0;else if((e|0)==18)a=h+5|0;else if((e|0)==19)a=h+4|0;else if((e|0)==20)a=h+3|0;else if((e|0)==21)a=h+2|0;else if((e|0)==22)a=h+1|0;a=a-q|0;e=a+258|0;if((e|0)>(c|0)){f[o>>2]=l;if((e|0)>=(v|0)){c=e;e=28;break}d=b[t+e>>0]|0;a=b[t+(a+257)>>0]|0;c=e}else a=k}else a=k;l=j[m+((l&n)<<1)>>1]|0;if(u>>>0>=l>>>0){e=28;break}i=i+-1|0;if(!i){e=28;break}else k=a}if((e|0)==28)return (c>>>0>w>>>0?w:c)|0;return 0}function jmb(a,c){a=a|0;c=c|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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;if(!a){T=-2;return T|0}Q=a+28|0;P=f[Q>>2]|0;if(c>>>0>5|(P|0)==0){T=-2;return T|0}T=a+12|0;do if(f[T>>2]|0){if((f[a>>2]|0)==0?f[a+4>>2]|0:0)break;M=P+4|0;e=f[M>>2]|0;N=(c|0)!=4;if(!(N&(e|0)==666)){S=a+16|0;if(!(f[S>>2]|0)){f[a+24>>2]=f[66467];T=-5;return T|0}f[P>>2]=a;O=P+40|0;C=f[O>>2]|0;f[O>>2]=c;do if((e|0)==42){if((f[P+24>>2]|0)!=2){g=(f[P+48>>2]<<12)+-30720|0;if((f[P+136>>2]|0)<=1?(i=f[P+132>>2]|0,(i|0)>=2):0)e=(i|0)<6?64:(i|0)==6?128:192;else e=0;p=e|g;x=P+108|0;p=(f[x>>2]|0)==0?p:p|32;p=(((p>>>0)%31|0)^31)+p|0;f[M>>2]=113;g=P+8|0;e=f[g>>2]|0;i=P+20|0;q=f[i>>2]|0;f[i>>2]=q+1;b[e+q>>0]=p>>>8;q=f[g>>2]|0;e=f[i>>2]|0;f[i>>2]=e+1;b[q+e>>0]=p;e=a+48|0;if(f[x>>2]|0){q=f[e>>2]|0;p=f[g>>2]|0;x=f[i>>2]|0;f[i>>2]=x+1;b[p+x>>0]=q>>>24;x=f[g>>2]|0;p=f[i>>2]|0;f[i>>2]=p+1;b[x+p>>0]=q>>>16;p=f[e>>2]|0;x=f[g>>2]|0;q=f[i>>2]|0;f[i>>2]=q+1;b[x+q>>0]=p>>>8;q=f[g>>2]|0;x=f[i>>2]|0;f[i>>2]=x+1;b[q+x>>0]=p}x=$lb(0,0,0)|0;f[e>>2]=x;e=f[M>>2]|0;x=29;break}k=amb(0,0,0)|0;i=a+48|0;f[i>>2]=k;k=P+8|0;g=f[k>>2]|0;l=P+20|0;e=f[l>>2]|0;f[l>>2]=e+1;b[g+e>>0]=31;e=f[k>>2]|0;g=f[l>>2]|0;f[l>>2]=g+1;b[e+g>>0]=-117;g=f[k>>2]|0;e=f[l>>2]|0;f[l>>2]=e+1;b[g+e>>0]=8;e=P+28|0;g=f[e>>2]|0;if(!g){w=f[k>>2]|0;e=f[l>>2]|0;f[l>>2]=e+1;b[w+e>>0]=0;e=f[k>>2]|0;w=f[l>>2]|0;f[l>>2]=w+1;b[e+w>>0]=0;w=f[k>>2]|0;e=f[l>>2]|0;f[l>>2]=e+1;b[w+e>>0]=0;e=f[k>>2]|0;w=f[l>>2]|0;f[l>>2]=w+1;b[e+w>>0]=0;w=f[k>>2]|0;e=f[l>>2]|0;f[l>>2]=e+1;b[w+e>>0]=0;e=f[P+132>>2]|0;if((e|0)==9)e=2;else e=((e|0)<2?1:(f[P+136>>2]|0)>1)?4:0;w=f[k>>2]|0;v=f[l>>2]|0;f[l>>2]=v+1;b[w+v>>0]=e;v=f[k>>2]|0;w=f[l>>2]|0;f[l>>2]=w+1;b[v+w>>0]=3;f[M>>2]=113;break}q=(((f[g+44>>2]|0)==0?0:2)|(f[g>>2]|0)!=0|((f[g+16>>2]|0)==0?0:4)|((f[g+28>>2]|0)==0?0:8)|((f[g+36>>2]|0)==0?0:16))&255;x=f[k>>2]|0;g=f[l>>2]|0;f[l>>2]=g+1;b[x+g>>0]=q;g=f[(f[e>>2]|0)+4>>2]&255;x=f[k>>2]|0;q=f[l>>2]|0;f[l>>2]=q+1;b[x+q>>0]=g;q=(f[(f[e>>2]|0)+4>>2]|0)>>>8&255;x=f[k>>2]|0;g=f[l>>2]|0;f[l>>2]=g+1;b[x+g>>0]=q;g=(f[(f[e>>2]|0)+4>>2]|0)>>>16&255;x=f[k>>2]|0;q=f[l>>2]|0;f[l>>2]=q+1;b[x+q>>0]=g;q=(f[(f[e>>2]|0)+4>>2]|0)>>>24&255;x=f[k>>2]|0;g=f[l>>2]|0;f[l>>2]=g+1;b[x+g>>0]=q;g=f[P+132>>2]|0;if((g|0)==9)g=2;else g=((g|0)<2?1:(f[P+136>>2]|0)>1)?4:0;x=f[k>>2]|0;q=f[l>>2]|0;f[l>>2]=q+1;b[x+q>>0]=g;q=f[(f[e>>2]|0)+12>>2]&255;x=f[k>>2]|0;g=f[l>>2]|0;f[l>>2]=g+1;b[x+g>>0]=q;g=f[e>>2]|0;if(f[g+16>>2]|0){g=f[g+20>>2]&255;x=f[k>>2]|0;q=f[l>>2]|0;f[l>>2]=q+1;b[x+q>>0]=g;q=(f[(f[e>>2]|0)+20>>2]|0)>>>8&255;x=f[k>>2]|0;g=f[l>>2]|0;f[l>>2]=g+1;b[x+g>>0]=q;g=f[e>>2]|0}if(f[g+44>>2]|0){x=amb(f[i>>2]|0,f[k>>2]|0,f[l>>2]|0)|0;f[i>>2]=x}f[P+32>>2]=0;f[M>>2]=69;x=31}else x=29;while(0);if((x|0)==29)if((e|0)==69){e=P+28|0;x=31}else x=51;do if((x|0)==31){g=f[e>>2]|0;if(!(f[g+16>>2]|0)){f[M>>2]=73;x=53;break}p=P+20|0;k=f[p>>2]|0;q=P+32|0;j=f[q>>2]|0;a:do if(j>>>0<(f[g+20>>2]&65535)>>>0){l=P+12|0;m=P+8|0;n=a+48|0;o=a+20|0;i=k;while(1){if((k|0)==(f[l>>2]|0)){if(k>>>0>i>>>0&(f[g+44>>2]|0)!=0){x=amb(f[n>>2]|0,(f[m>>2]|0)+i|0,k-i|0)|0;f[n>>2]=x}g=f[Q>>2]|0;smb(g);i=g+20|0;j=f[i>>2]|0;x=f[S>>2]|0;j=j>>>0>x>>>0?x:j;if(j|0?(r=g+16|0,YDb(f[T>>2]|0,f[r>>2]|0,j|0)|0,f[T>>2]=(f[T>>2]|0)+j,f[r>>2]=(f[r>>2]|0)+j,f[o>>2]=(f[o>>2]|0)+j,f[S>>2]=(f[S>>2]|0)-j,x=(f[i>>2]|0)-j|0,f[i>>2]=x,(x|0)==0):0)f[r>>2]=f[g+8>>2];k=f[p>>2]|0;g=f[e>>2]|0;if((k|0)==(f[l>>2]|0)){i=k;break a}i=k;j=f[q>>2]|0}g=b[(f[g+16>>2]|0)+j>>0]|0;j=f[m>>2]|0;f[p>>2]=k+1;b[j+k>>0]=g;j=(f[q>>2]|0)+1|0;f[q>>2]=j;g=f[e>>2]|0;if(j>>>0>=(f[g+20>>2]&65535)>>>0)break a;k=f[p>>2]|0}}else i=k;while(0);if((f[g+44>>2]|0)!=0?(s=f[p>>2]|0,s>>>0>i>>>0):0){g=a+48|0;x=amb(f[g>>2]|0,(f[P+8>>2]|0)+i|0,s-i|0)|0;f[g>>2]=x;g=f[e>>2]|0}if((f[q>>2]|0)==(f[g+20>>2]|0)){f[q>>2]=0;f[M>>2]=73;x=53;break}else{e=f[M>>2]|0;x=51;break}}while(0);if((x|0)==51)if((e|0)==73){g=P+28|0;e=g;g=f[g>>2]|0;x=53}else x=71;do if((x|0)==53){if(!(f[g+28>>2]|0)){f[M>>2]=91;x=73;break}m=P+20|0;i=f[m>>2]|0;k=P+12|0;n=P+32|0;o=P+8|0;p=a+48|0;l=a+20|0;g=i;while(1){if((i|0)==(f[k>>2]|0)){if(i>>>0>g>>>0?(f[(f[e>>2]|0)+44>>2]|0)!=0:0){x=amb(f[p>>2]|0,(f[o>>2]|0)+g|0,i-g|0)|0;f[p>>2]=x}g=f[Q>>2]|0;smb(g);i=g+20|0;j=f[i>>2]|0;x=f[S>>2]|0;j=j>>>0>x>>>0?x:j;if(j|0?(t=g+16|0,YDb(f[T>>2]|0,f[t>>2]|0,j|0)|0,f[T>>2]=(f[T>>2]|0)+j,f[t>>2]=(f[t>>2]|0)+j,f[l>>2]=(f[l>>2]|0)+j,f[S>>2]=(f[S>>2]|0)-j,x=(f[i>>2]|0)-j|0,f[i>>2]=x,(x|0)==0):0)f[t>>2]=f[g+8>>2];j=f[m>>2]|0;if((j|0)==(f[k>>2]|0)){i=1;g=j;break}else{g=j;i=j}}s=f[(f[e>>2]|0)+28>>2]|0;x=f[n>>2]|0;f[n>>2]=x+1;x=b[s+x>>0]|0;s=f[o>>2]|0;f[m>>2]=i+1;b[s+i>>0]=x;if(!(x<<24>>24)){i=0;break}i=f[m>>2]|0}if(f[(f[e>>2]|0)+44>>2]|0?(u=f[m>>2]|0,u>>>0>g>>>0):0){x=amb(f[p>>2]|0,(f[o>>2]|0)+g|0,u-g|0)|0;f[p>>2]=x}if(!i){f[n>>2]=0;f[M>>2]=91;x=73;break}else{e=f[M>>2]|0;x=71;break}}while(0);if((x|0)==71)if((e|0)==91){e=P+28|0;x=73}else{j=e;x=91}do if((x|0)==73){if(!(f[(f[e>>2]|0)+36>>2]|0)){f[M>>2]=103;x=93;break}n=P+20|0;i=f[n>>2]|0;k=P+12|0;l=P+32|0;o=P+8|0;p=a+48|0;m=a+20|0;g=i;while(1){if((i|0)==(f[k>>2]|0)){if(i>>>0>g>>>0?(f[(f[e>>2]|0)+44>>2]|0)!=0:0){x=amb(f[p>>2]|0,(f[o>>2]|0)+g|0,i-g|0)|0;f[p>>2]=x}g=f[Q>>2]|0;smb(g);i=g+20|0;j=f[i>>2]|0;x=f[S>>2]|0;j=j>>>0>x>>>0?x:j;if(j|0?(v=g+16|0,YDb(f[T>>2]|0,f[v>>2]|0,j|0)|0,f[T>>2]=(f[T>>2]|0)+j,f[v>>2]=(f[v>>2]|0)+j,f[m>>2]=(f[m>>2]|0)+j,f[S>>2]=(f[S>>2]|0)-j,x=(f[i>>2]|0)-j|0,f[i>>2]=x,(x|0)==0):0)f[v>>2]=f[g+8>>2];j=f[n>>2]|0;if((j|0)==(f[k>>2]|0)){i=1;g=j;break}else{g=j;i=j}}u=f[(f[e>>2]|0)+36>>2]|0;x=f[l>>2]|0;f[l>>2]=x+1;x=b[u+x>>0]|0;u=f[o>>2]|0;f[n>>2]=i+1;b[u+i>>0]=x;if(!(x<<24>>24)){i=0;break}i=f[n>>2]|0}if(f[(f[e>>2]|0)+44>>2]|0?(w=f[n>>2]|0,w>>>0>g>>>0):0){x=amb(f[p>>2]|0,(f[o>>2]|0)+g|0,w-g|0)|0;f[p>>2]=x}if(!i){f[M>>2]=103;x=93;break}else{j=f[M>>2]|0;x=91;break}}while(0);if((x|0)==91?(j|0)==103:0){e=P+28|0;x=93}do if((x|0)==93){if(!(f[(f[e>>2]|0)+44>>2]|0)){f[M>>2]=113;break}g=P+20|0;i=P+12|0;if((((f[g>>2]|0)+2|0)>>>0>(f[i>>2]|0)>>>0?(y=f[Q>>2]|0,smb(y),z=y+20|0,B=f[z>>2]|0,x=f[S>>2]|0,B=B>>>0>x>>>0?x:B,B|0):0)?(A=y+16|0,YDb(f[T>>2]|0,f[A>>2]|0,B|0)|0,f[T>>2]=(f[T>>2]|0)+B,f[A>>2]=(f[A>>2]|0)+B,x=a+20|0,f[x>>2]=(f[x>>2]|0)+B,f[S>>2]=(f[S>>2]|0)-B,B=(f[z>>2]|0)-B|0,f[z>>2]=B,(B|0)==0):0)f[A>>2]=f[y+8>>2];e=f[g>>2]|0;if((e+2|0)>>>0<=(f[i>>2]|0)>>>0){B=a+48|0;A=f[B>>2]&255;z=P+8|0;y=f[z>>2]|0;f[g>>2]=e+1;b[y+e>>0]=A;y=(f[B>>2]|0)>>>8&255;z=f[z>>2]|0;A=f[g>>2]|0;f[g>>2]=A+1;b[z+A>>0]=y;A=amb(0,0,0)|0;f[B>>2]=A;f[M>>2]=113}}while(0);y=P+20|0;if(!(f[y>>2]|0)){if((f[a+4>>2]|0)==0?N&((c<<1)-((c|0)>4?9:0)|0)<=((C<<1)-((C|0)>4?9:0)|0):0){f[a+24>>2]=f[66467];T=-5;return T|0}}else{i=f[Q>>2]|0;smb(i);j=i+20|0;k=f[j>>2]|0;e=f[S>>2]|0;k=k>>>0>e>>>0?e:k;if(k){g=i+16|0;YDb(f[T>>2]|0,f[g>>2]|0,k|0)|0;f[T>>2]=(f[T>>2]|0)+k;f[g>>2]=(f[g>>2]|0)+k;e=a+20|0;f[e>>2]=(f[e>>2]|0)+k;e=(f[S>>2]|0)-k|0;f[S>>2]=e;C=(f[j>>2]|0)-k|0;f[j>>2]=C;if(!C)f[g>>2]=f[i+8>>2]}if(!e){f[O>>2]=-1;T=0;return T|0}}g=(f[M>>2]|0)==666;e=(f[a+4>>2]|0)==0;if(g)if(e)x=114;else{f[a+24>>2]=f[66467];T=-5;return T|0}else if(e)x=114;else x=115;if((x|0)==114?!(((c|0)==0|g)&(f[P+116>>2]|0)==0):0)x=115;do if((x|0)==115){b:do switch(f[P+136>>2]|0){case 2:{l=P+116|0;m=P+96|0;r=P+56|0;s=P+108|0;n=P+5796|0;o=P+5792|0;p=P+5784|0;q=P+5788|0;t=P+92|0;while(1){if((f[l>>2]|0)==0?(hmb(P),(f[l>>2]|0)==0):0)break;f[m>>2]=0;L=b[(f[r>>2]|0)+(f[s>>2]|0)>>0]|0;e=f[o>>2]|0;d[(f[n>>2]|0)+(e<<1)>>1]=0;K=f[p>>2]|0;f[o>>2]=e+1;b[K+e>>0]=L;L=P+148+((L&255)<<2)|0;d[L>>1]=(d[L>>1]|0)+1<<16>>16;L=(f[o>>2]|0)==((f[q>>2]|0)+-1|0);f[l>>2]=(f[l>>2]|0)+-1;e=(f[s>>2]|0)+1|0;f[s>>2]=e;if(L){g=f[t>>2]|0;if((g|0)>-1)i=(f[r>>2]|0)+g|0;else i=0;umb(P,i,e-g|0,0);f[t>>2]=f[s>>2];e=f[P>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;L=f[j>>2]|0;k=k>>>0>L>>>0?L:k;if(k|0?(L=e+12|0,D=g+16|0,YDb(f[L>>2]|0,f[D>>2]|0,k|0)|0,f[L>>2]=(f[L>>2]|0)+k,f[D>>2]=(f[D>>2]|0)+k,L=e+20|0,f[L>>2]=(f[L>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,L=(f[i>>2]|0)-k|0,f[i>>2]=L,(L|0)==0):0)f[D>>2]=f[g+8>>2];if(!(f[(f[P>>2]|0)+16>>2]|0)){x=198;break b}}}if(c){f[P+5812>>2]=0;if((c|0)==4){g=f[t>>2]|0;if((g|0)>-1)e=(f[r>>2]|0)+g|0;else e=0;umb(P,e,(f[s>>2]|0)-g|0,1);f[t>>2]=f[s>>2];e=f[P>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;L=f[j>>2]|0;k=k>>>0>L>>>0?L:k;if(k|0?(L=e+12|0,E=g+16|0,YDb(f[L>>2]|0,f[E>>2]|0,k|0)|0,f[L>>2]=(f[L>>2]|0)+k,f[E>>2]=(f[E>>2]|0)+k,L=e+20|0,f[L>>2]=(f[L>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,L=(f[i>>2]|0)-k|0,f[i>>2]=L,(L|0)==0):0)f[E>>2]=f[g+8>>2];e=(f[(f[P>>2]|0)+16>>2]|0)==0?2:3;x=195;break b}if(f[o>>2]|0){g=f[t>>2]|0;if((g|0)>-1)e=(f[r>>2]|0)+g|0;else e=0;umb(P,e,(f[s>>2]|0)-g|0,0);f[t>>2]=f[s>>2];e=f[P>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;M=f[j>>2]|0;k=k>>>0>M>>>0?M:k;if(k|0?(M=e+12|0,F=g+16|0,YDb(f[M>>2]|0,f[F>>2]|0,k|0)|0,f[M>>2]=(f[M>>2]|0)+k,f[F>>2]=(f[F>>2]|0)+k,M=e+20|0,f[M>>2]=(f[M>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,M=(f[i>>2]|0)-k|0,f[i>>2]=M,(M|0)==0):0)f[F>>2]=f[g+8>>2];if(!(f[(f[P>>2]|0)+16>>2]|0))x=198}}else x=198;break}case 3:{n=P+116|0;o=(c|0)==0;v=P+108|0;w=P+92|0;u=P+56|0;p=P+5796|0;q=P+5792|0;r=P+5784|0;s=P+5788|0;t=P+96|0;while(1){e=f[n>>2]|0;if(e>>>0<259){hmb(P);e=f[n>>2]|0;if(o&e>>>0<259){x=198;break b}if(!e)break;f[t>>2]=0;if(e>>>0>2)x=149;else{H=f[v>>2]|0;x=172}}else{f[t>>2]=0;x=149}if((x|0)==149){m=f[v>>2]|0;if(m){k=(f[u>>2]|0)+m|0;i=b[k+-1>>0]|0;if((i<<24>>24==(b[k>>0]|0)?(G=k+1|0,i<<24>>24==(b[G>>0]|0)):0)?i<<24>>24==(b[G+1>>0]|0):0){l=k+258|0;j=1;while(1){g=k+j|0;if(i<<24>>24!=(b[g+2>>0]|0)){x=162;break}if(i<<24>>24!=(b[g+3>>0]|0)){x=163;break}if(i<<24>>24!=(b[g+4>>0]|0)){x=164;break}if(i<<24>>24!=(b[g+5>>0]|0)){x=165;break}if(i<<24>>24!=(b[g+6>>0]|0)){x=166;break}if(i<<24>>24!=(b[g+7>>0]|0)){x=167;break}g=j;j=j+8|0;if(i<<24>>24!=(b[k+j>>0]|0)){x=168;break}g=g+9|0;if(!(g>>>0<258?i<<24>>24==(b[k+g>>0]|0):0)){x=169;break}}if((x|0)==162){x=0;g=g+2|0}else if((x|0)==163){x=0;g=g+3|0}else if((x|0)==164){x=0;g=g+4|0}else if((x|0)==165){x=0;g=g+5|0}else if((x|0)==166){x=0;g=g+6|0}else if((x|0)==167){x=0;g=g+7|0}else if((x|0)==168){x=0;g=k+j|0}else if((x|0)==169){x=0;g=k+g|0}F=g-l+258|0;e=F>>>0>e>>>0?e:F;f[t>>2]=e;if(e>>>0>2){F=e+253|0;e=f[q>>2]|0;d[(f[p>>2]|0)+(e<<1)>>1]=1;E=f[r>>2]|0;f[q>>2]=e+1;b[E+e>>0]=F;F=P+148+((h[263680+(F&255)>>0]|256)+1<<2)|0;d[F>>1]=(d[F>>1]|0)+1<<16>>16;F=P+2440+(h[263168]<<2)|0;d[F>>1]=(d[F>>1]|0)+1<<16>>16;F=(f[q>>2]|0)==((f[s>>2]|0)+-1|0);e=f[t>>2]|0;f[n>>2]=(f[n>>2]|0)-e;e=(f[v>>2]|0)+e|0;f[v>>2]=e;f[t>>2]=0;if(F)x=173}else{H=m;x=172}}else{H=m;x=172}}else{H=0;x=172}}if((x|0)==172?(x=0,F=b[(f[u>>2]|0)+H>>0]|0,I=f[q>>2]|0,d[(f[p>>2]|0)+(I<<1)>>1]=0,E=f[r>>2]|0,f[q>>2]=I+1,b[E+I>>0]=F,F=P+148+((F&255)<<2)|0,d[F>>1]=(d[F>>1]|0)+1<<16>>16,F=(f[q>>2]|0)==((f[s>>2]|0)+-1|0),f[n>>2]=(f[n>>2]|0)+-1,I=(f[v>>2]|0)+1|0,f[v>>2]=I,F):0){e=I;x=173}if((x|0)==173){x=0;g=f[w>>2]|0;if((g|0)>-1)i=(f[u>>2]|0)+g|0;else i=0;umb(P,i,e-g|0,0);f[w>>2]=f[v>>2];e=f[P>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;F=f[j>>2]|0;k=k>>>0>F>>>0?F:k;if(k|0?(F=e+12|0,J=g+16|0,YDb(f[F>>2]|0,f[J>>2]|0,k|0)|0,f[F>>2]=(f[F>>2]|0)+k,f[J>>2]=(f[J>>2]|0)+k,F=e+20|0,f[F>>2]=(f[F>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,F=(f[i>>2]|0)-k|0,f[i>>2]=F,(F|0)==0):0)f[J>>2]=f[g+8>>2];if(!(f[(f[P>>2]|0)+16>>2]|0)){x=198;break b}}}f[P+5812>>2]=0;if((c|0)==4){g=f[w>>2]|0;if((g|0)>-1)e=(f[u>>2]|0)+g|0;else e=0;umb(P,e,(f[v>>2]|0)-g|0,1);f[w>>2]=f[v>>2];e=f[P>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;L=f[j>>2]|0;k=k>>>0>L>>>0?L:k;if(k|0?(L=e+12|0,K=g+16|0,YDb(f[L>>2]|0,f[K>>2]|0,k|0)|0,f[L>>2]=(f[L>>2]|0)+k,f[K>>2]=(f[K>>2]|0)+k,L=e+20|0,f[L>>2]=(f[L>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,L=(f[i>>2]|0)-k|0,f[i>>2]=L,(L|0)==0):0)f[K>>2]=f[g+8>>2];e=(f[(f[P>>2]|0)+16>>2]|0)==0?2:3;x=195;break b}if(f[q>>2]|0){g=f[w>>2]|0;if((g|0)>-1)e=(f[u>>2]|0)+g|0;else e=0;umb(P,e,(f[v>>2]|0)-g|0,0);f[w>>2]=f[v>>2];e=f[P>>2]|0;g=f[e+28>>2]|0;smb(g);i=g+20|0;k=f[i>>2]|0;j=e+16|0;M=f[j>>2]|0;k=k>>>0>M>>>0?M:k;if(k|0?(M=e+12|0,L=g+16|0,YDb(f[M>>2]|0,f[L>>2]|0,k|0)|0,f[M>>2]=(f[M>>2]|0)+k,f[L>>2]=(f[L>>2]|0)+k,M=e+20|0,f[M>>2]=(f[M>>2]|0)+k,f[j>>2]=(f[j>>2]|0)-k,M=(f[i>>2]|0)-k|0,f[i>>2]=M,(M|0)==0):0)f[L>>2]=f[g+8>>2];if(!(f[(f[P>>2]|0)+16>>2]|0))x=198}break}default:{e=cj[f[260560+((f[P+132>>2]|0)*12|0)+8>>2]&1023](P,c)|0;x=195}}while(0);if((x|0)==195){if((e|1|0)==3)f[M>>2]=666;if((e|2|0)!=2){if((e|0)!=1)break}else x=198}if((x|0)==198){if(f[S>>2]|0){T=0;return T|0}f[O>>2]=-1;T=0;return T|0}switch(c|0){case 1:{tmb(P);break}case 5:break;default:{rmb(P,0,0,0);if((c|0)==3?(M=f[P+68>>2]|0,c=f[P+76>>2]|0,d[M+(c+-1<<1)>>1]=0,_Db(M|0,0,(c<<1)+-2|0)|0,(f[P+116>>2]|0)==0):0){f[P+108>>2]=0;f[P+92>>2]=0;f[P+5812>>2]=0}}}i=f[Q>>2]|0;smb(i);j=i+20|0;k=f[j>>2]|0;e=f[S>>2]|0;k=k>>>0>e>>>0?e:k;if(k){g=i+16|0;YDb(f[T>>2]|0,f[g>>2]|0,k|0)|0;f[T>>2]=(f[T>>2]|0)+k;f[g>>2]=(f[g>>2]|0)+k;e=a+20|0;f[e>>2]=(f[e>>2]|0)+k;e=(f[S>>2]|0)-k|0;f[S>>2]=e;c=(f[j>>2]|0)-k|0;f[j>>2]=c;if(!c)f[g>>2]=f[i+8>>2]}if(!e){f[O>>2]=-1;T=0;return T|0}}while(0);if(N){T=0;return T|0}j=P+24|0;e=f[j>>2]|0;if((e|0)<1){T=1;return T|0}g=a+48|0;i=f[g>>2]|0;if((e|0)==2){P=P+8|0;N=f[P>>2]|0;O=f[y>>2]|0;f[y>>2]=O+1;b[N+O>>0]=i;O=(f[g>>2]|0)>>>8&255;N=f[P>>2]|0;e=f[y>>2]|0;f[y>>2]=e+1;b[N+e>>0]=O;e=(f[g>>2]|0)>>>16&255;N=f[P>>2]|0;O=f[y>>2]|0;f[y>>2]=O+1;b[N+O>>0]=e;O=(f[g>>2]|0)>>>24&255;N=f[P>>2]|0;e=f[y>>2]|0;f[y>>2]=e+1;b[N+e>>0]=O;e=a+8|0;N=f[e>>2]&255;O=f[P>>2]|0;g=f[y>>2]|0;f[y>>2]=g+1;b[O+g>>0]=N;g=(f[e>>2]|0)>>>8&255;O=f[P>>2]|0;N=f[y>>2]|0;f[y>>2]=N+1;b[O+N>>0]=g;N=(f[e>>2]|0)>>>16&255;O=f[P>>2]|0;g=f[y>>2]|0;f[y>>2]=g+1;b[O+g>>0]=N;e=(f[e>>2]|0)>>>24;P=f[P>>2]|0;g=f[y>>2]|0;f[y>>2]=g+1;g=P+g|0}else{P=P+8|0;e=f[P>>2]|0;O=f[y>>2]|0;f[y>>2]=O+1;b[e+O>>0]=i>>>24;O=f[P>>2]|0;e=f[y>>2]|0;f[y>>2]=e+1;b[O+e>>0]=i>>>16;e=f[g>>2]|0;O=f[P>>2]|0;g=f[y>>2]|0;f[y>>2]=g+1;b[O+g>>0]=e>>>8;P=f[P>>2]|0;g=f[y>>2]|0;f[y>>2]=g+1;g=P+g|0}b[g>>0]=e;e=f[Q>>2]|0;smb(e);g=e+20|0;i=f[g>>2]|0;Q=f[S>>2]|0;i=i>>>0>Q>>>0?Q:i;if(i|0?(R=e+16|0,YDb(f[T>>2]|0,f[R>>2]|0,i|0)|0,f[T>>2]=(f[T>>2]|0)+i,f[R>>2]=(f[R>>2]|0)+i,T=a+20|0,f[T>>2]=(f[T>>2]|0)+i,f[S>>2]=(f[S>>2]|0)-i,T=(f[g>>2]|0)-i|0,f[g>>2]=T,(T|0)==0):0)f[R>>2]=f[e+8>>2];e=f[j>>2]|0;if((e|0)>0)f[j>>2]=0-e;T=(f[y>>2]|0)==0&1;return T|0}}while(0);f[a+24>>2]=f[66464];T=-2;return T|0}function kmb(a){a=a|0;var b=0,c=0;if(!a){c=-2;return c|0}c=f[a+28>>2]|0;if(!c){c=-2;return c|0}f[c+40>>2]=0;f[c+44>>2]=0;f[c+48>>2]=0;f[c+28>>2]=0;f[a+20>>2]=0;f[a+8>>2]=0;f[a+24>>2]=0;b=f[c+8>>2]|0;if(b|0)f[a+48>>2]=b&1;f[c>>2]=0;f[c+4>>2]=0;f[c+12>>2]=0;f[c+20>>2]=32768;f[c+32>>2]=0;f[c+56>>2]=0;f[c+60>>2]=0;b=c+1328|0;f[c+108>>2]=b;f[c+80>>2]=b;f[c+76>>2]=b;f[c+7104>>2]=1;f[c+7108>>2]=-1;c=0;return c|0}function lmb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;if(!c){a=-6;return a|0}if((d|0)!=56|(b[c>>0]|0)!=49){a=-6;return a|0}if(!a){a=-2;return a|0}e=a+24|0;f[e>>2]=0;d=a+32|0;c=f[d>>2]|0;if(!c){f[d>>2]=228;f[a+40>>2]=0;c=228}d=a+36|0;if(!(f[d>>2]|0))f[d>>2]=817;c=dj[c&255](f[a+40>>2]|0,1,7116)|0;if(!c){a=-4;return a|0}f[a+28>>2]=c;f[c+52>>2]=0;f[c+8>>2]=1;f[c+36>>2]=15;f[c+40>>2]=0;f[c+44>>2]=0;f[c+48>>2]=0;f[c+28>>2]=0;f[a+20>>2]=0;f[a+8>>2]=0;f[e>>2]=0;f[a+48>>2]=1;f[c>>2]=0;f[c+4>>2]=0;f[c+12>>2]=0;f[c+20>>2]=32768;f[c+32>>2]=0;f[c+56>>2]=0;f[c+60>>2]=0;a=c+1328|0;f[c+108>>2]=a;f[c+80>>2]=a;f[c+76>>2]=a;f[c+7104>>2]=1;f[c+7108>>2]=-1;a=0;return a|0}function mmb(a,c){a=a|0;c=c|0;var e=0,g=0,i=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,_=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;Ja=u;u=u+16|0;ea=Ja;if(!a){Ia=-2;u=Ja;return Ia|0}ta=a+28|0;Ia=f[ta>>2]|0;if(!Ia){Ia=-2;u=Ja;return Ia|0}Da=a+12|0;g=f[Da>>2]|0;if(!g){Ia=-2;u=Ja;return Ia|0}i=f[a>>2]|0;if((i|0)==0?f[a+4>>2]|0:0){Ia=-2;u=Ja;return Ia|0}e=f[Ia>>2]|0;if((e|0)==11){f[Ia>>2]=12;e=12}ya=a+16|0;m=f[ya>>2]|0;va=a+4|0;wa=f[va>>2]|0;pa=Ia+56|0;Ea=Ia+60|0;za=Ia+8|0;Ca=Ia+16|0;A=Ia+12|0;B=(c+-5|0)>>>0<2;Fa=Ia+4|0;C=Ia+64|0;D=Ia+104|0;E=Ia+92|0;F=Ia+96|0;G=Ia+100|0;H=Ia+72|0;I=Ia+80|0;J=Ia+88|0;K=Ia+32|0;Ga=Ia+24|0;Ha=a+48|0;L=Ia+76|0;M=Ia+84|0;N=Ia+7108|0;O=Ia+7112|0;P=Ia+68|0;Q=a+24|0;R=(c|0)==6;S=Ia+1328|0;T=Ia+108|0;U=Ia+112|0;V=Ia+752|0;W=Ia+624|0;X=Ia+44|0;Aa=a+20|0;Ba=Ia+28|0;Y=ea+1|0;Z=ea+2|0;_=ea+3|0;$=Ia+7104|0;aa=Ia+48|0;ba=Ia+52|0;qa=Ia+40|0;ca=Ia+36|0;da=Ia+20|0;l=0;sa=g;p=i;z=m;i=f[Ea>>2]|0;k=f[pa>>2]|0;g=wa;a:while(1){b:do switch(e|0){case 28:{e=p;l=1;y=308;break a}case 29:{oa=m;xa=z;na=i;ma=k;la=g;ka=p;ua=-3;break a}case 30:{y=330;break a}case 0:{o=f[za>>2]|0;if(!o){f[Ia>>2]=12;r=m;n=sa;m=z;e=p;break b}if(i>>>0<16){n=p;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<16)n=e;else break}}else e=p;if((o&2|0)!=0&(k|0)==35615){r=amb(0,0,0)|0;f[Ga>>2]=r;b[ea>>0]=31;b[Y>>0]=-117;r=amb(r,ea,2)|0;f[Ga>>2]=r;f[Ia>>2]=1;r=m;n=sa;m=z;i=0;k=0;break b}f[Ca>>2]=0;n=f[K>>2]|0;if(n|0)f[n+48>>2]=-1;if(o&1|0?((((k<<8&65280)+(k>>>8)|0)>>>0)%31|0|0)==0:0){if((k&15|0)!=8){f[Q>>2]=481847;f[Ia>>2]=29;r=m;n=sa;m=z;break b}q=k>>>4;i=i+-4|0;p=q&15;n=p+8|0;o=f[ca>>2]|0;if(o){if(n>>>0>o>>>0){f[Q>>2]=481874;f[Ia>>2]=29;r=m;n=sa;m=z;k=q;break b}}else f[ca>>2]=n;f[da>>2]=256<<p;r=$lb(0,0,0)|0;f[Ga>>2]=r;f[Ha>>2]=r;f[Ia>>2]=k>>>12&2^11;r=m;n=sa;m=z;i=0;k=0;break b}f[Q>>2]=481824;f[Ia>>2]=29;r=m;n=sa;m=z;break}case 1:{if(i>>>0<16){n=p;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<16)n=e;else break}}else e=p;f[Ca>>2]=k;if((k&255|0)!=8){f[Q>>2]=481847;f[Ia>>2]=29;r=m;n=sa;m=z;break b}if(k&57344|0){f[Q>>2]=481894;f[Ia>>2]=29;r=m;n=sa;m=z;break b}i=f[K>>2]|0;if(i|0)f[i>>2]=k>>>8&1;if(k&512|0){b[ea>>0]=k;b[Y>>0]=k>>>8;y=amb(f[Ga>>2]|0,ea,2)|0;f[Ga>>2]=y}f[Ia>>2]=2;i=0;k=0;y=47;break}case 2:{if(i>>>0<32){e=p;y=47}else{i=p;y=50}break}case 3:{if(i>>>0<16){e=p;y=56}else{e=p;y=59}break}case 4:{e=p;y=64;break}case 5:{e=p;y=76;break}case 6:{e=p;y=86;break}case 7:{e=p;y=100;break}case 8:{e=p;y=114;break}case 9:{if(i>>>0<32){n=p;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0>=32)break;else n=e}}else e=p;i=XDb(k|0)|0;f[Ga>>2]=i;f[Ha>>2]=i;f[Ia>>2]=10;i=0;k=0;y=129;break}case 10:{e=p;y=129;break}case 11:{e=p;y=132;break}case 12:{e=p;y=133;break}case 13:{x=i&7;k=k>>>x;i=i-x|0;if(i>>>0<32){n=p;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<32)n=e;else break}}else e=p;n=k&65535;if((n|0)==(k>>>16^65535|0)){f[C>>2]=n;f[Ia>>2]=14;if(R){i=0;k=0;y=308;break a}else{i=0;k=0;y=153;break b}}else{f[Q>>2]=481958;f[Ia>>2]=29;r=m;n=sa;m=z;break b}}case 14:{e=p;y=153;break}case 15:{e=p;y=154;break}case 16:{if(i>>>0<14){n=p;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<14)n=e;else break}}else e=p;w=(k&31)+257|0;f[F>>2]=w;x=k>>>5&31;f[G>>2]=x+1;n=(k>>>10&15)+4|0;f[E>>2]=n;k=k>>>14;i=i+-14|0;if(w>>>0>286|x>>>0>29){f[Q>>2]=481987;f[Ia>>2]=29;r=m;n=sa;m=z;break b}else{f[D>>2]=0;f[Ia>>2]=17;o=0;y=166;break b}}case 17:{o=f[D>>2]|0;n=f[E>>2]|0;if(o>>>0<n>>>0){e=p;y=166}else{e=p;l=o;y=171}break}case 18:{e=p;n=f[D>>2]|0;y=178;break}case 19:{e=p;y=218;break}case 20:{e=p;y=219;break}case 21:{e=p;o=f[H>>2]|0;y=239;break}case 22:{e=p;y=247;break}case 23:{e=p;o=f[H>>2]|0;y=261;break}case 24:{e=p;y=268;break}case 25:{if(!m){m=0;e=p;y=308;break a}b[sa>>0]=f[C>>2];f[Ia>>2]=20;r=m+-1|0;n=sa+1|0;m=z;e=p;break}case 26:{if(f[za>>2]|0){if(i>>>0<32){n=p;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<32)n=e;else break}}else e=p;n=z-m|0;f[Aa>>2]=(f[Aa>>2]|0)+n;f[Ba>>2]=(f[Ba>>2]|0)+n;if(!n)n=f[Ga>>2]|0;else{o=f[Ga>>2]|0;p=sa+(0-n)|0;if(!(f[Ca>>2]|0))n=$lb(o,p,n)|0;else n=amb(o,p,n)|0;f[Ga>>2]=n;f[Ha>>2]=n}x=(f[Ca>>2]|0)==0;z=XDb(k|0)|0;if(((x?z:k)|0)==(n|0)){n=m;i=0;k=0}else{f[Q>>2]=482161;f[Ia>>2]=29;r=m;n=sa;break b}}else{n=z;e=p}f[Ia>>2]=27;o=n;y=298;break}case 27:{o=z;e=p;y=298;break}default:{e=-2;y=331;break a}}while(0);if((y|0)==47){y=0;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=e;ua=l;break a}g=g+-1|0;n=e+1|0;k=(h[e>>0]<<i)+k|0;i=i+8|0;if(i>>>0>=32){i=n;y=50;break}else e=n}}else if((y|0)==129){if(!(f[A>>2]|0)){y=130;break}y=$lb(0,0,0)|0;f[Ga>>2]=y;f[Ha>>2]=y;f[Ia>>2]=11;y=132}else if((y|0)==153){f[Ia>>2]=15;y=154}else if((y|0)==166){y=0;while(1){if(i>>>0<3){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=e;ua=l;break a}p=i+8|0;k=(h[e>>0]<<i)+k|0;g=g+-1|0;e=e+1|0}else p=i;q=o+1|0;f[D>>2]=q;d[Ia+112+(j[262864+(o<<1)>>1]<<1)>>1]=k&7;k=k>>>3;i=p+-3|0;if(q>>>0<n>>>0)o=q;else{l=q;y=171;break}}}else if((y|0)==298){y=0;if(!(f[za>>2]|0)){y=306;break}if(!(f[Ca>>2]|0)){y=306;break}if(i>>>0<32){n=e;while(1){if(!g){oa=m;xa=o;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<32)n=e;else break}}if((k|0)==(f[Ba>>2]|0)){i=0;k=0;y=306;break}f[Q>>2]=482182;f[Ia>>2]=29;r=m;n=sa;m=o}do if((y|0)==50){e=f[K>>2]|0;if(e|0)f[e+4>>2]=k;if(f[Ca>>2]&512|0){b[ea>>0]=k;b[Y>>0]=k>>>8;b[Z>>0]=k>>>16;b[_>>0]=k>>>24;y=amb(f[Ga>>2]|0,ea,4)|0;f[Ga>>2]=y}f[Ia>>2]=3;e=i;i=0;k=0;y=56}else if((y|0)==132)if(B){y=308;break a}else y=133;else if((y|0)==154){y=0;n=f[C>>2]|0;if(!n){f[Ia>>2]=11;r=m;n=sa;m=z;break}o=n>>>0>g>>>0?g:n;o=o>>>0>m>>>0?m:o;if(!o){y=308;break a}YDb(sa|0,e|0,o|0)|0;f[C>>2]=(f[C>>2]|0)-o;r=m-o|0;n=sa+o|0;m=z;g=g-o|0;e=e+o|0}else if((y|0)==171){y=0;if(l>>>0<19){do{d[Ia+112+(j[262864+(l<<1)>>1]<<1)>>1]=0;l=l+1|0}while((l|0)!=19);f[D>>2]=19}f[T>>2]=S;f[L>>2]=S;f[M>>2]=7;l=omb(0,U,19,T,M,V)|0;if(!l){f[D>>2]=0;f[Ia>>2]=18;l=0;n=0;y=178;break}else{f[Q>>2]=482023;f[Ia>>2]=29;r=m;n=sa;m=z;break}}while(0);c:do if((y|0)==56){y=0;n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0>=16){y=59;break}else n=e}}else if((y|0)==133){y=0;if(f[Fa>>2]|0){x=i&7;f[Ia>>2]=26;r=m;n=sa;m=z;i=i-x|0;k=k>>>x;break}if(i>>>0<3){if(!g){g=0;y=308;break a}o=i+8|0;k=(h[e>>0]<<i)+k|0;g=g+-1|0;e=e+1|0}else o=i;f[Fa>>2]=k&1;switch(k>>>1&3){case 0:{i=13;y=144;break}case 1:{f[L>>2]=260688;f[M>>2]=9;f[I>>2]=262736;f[J>>2]=5;f[Ia>>2]=19;if(R){y=140;break a}break}case 2:{i=16;y=144;break}case 3:{f[Q>>2]=481939;i=29;y=144;break}default:{y=143;break a}}if((y|0)==144){y=0;f[Ia>>2]=i}r=m;n=sa;m=z;i=o+-3|0;k=k>>>3}else if((y|0)==178){y=0;x=f[F>>2]|0;v=(f[G>>2]|0)+x|0;d:do if(n>>>0<v>>>0){t=f[L>>2]|0;w=(1<<f[M>>2])+-1|0;s=n;e:while(1){n=w&k;o=h[t+(n<<2)+1>>0]|0;if(i>>>0<o>>>0){do{if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=e;ua=l;break a}g=g+-1|0;n=e;e=e+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;n=w&k;o=b[t+(n<<2)+1>>0]|0}while(i>>>0<(o&255)>>>0);o=o&255}n=d[t+(n<<2)+2>>1]|0;if((n&65535)<16){r=s+1|0;f[D>>2]=r;d[Ia+112+(s<<1)>>1]=n;i=i-o|0;k=k>>>o;n=r}else{switch(n<<16>>16){case 16:{p=o+2|0;if(i>>>0<p>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<p>>>0)n=e;else break}}p=k>>>o;i=i-o|0;if(!s){y=193;break e}r=j[Ia+112+(s+-1<<1)>>1]|0;i=i+-2|0;k=p>>>2;n=(p&3)+3|0;break}case 17:{p=o+3|0;if(i>>>0<p>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<p>>>0)n=e;else break}}n=k>>>o;r=0;i=-3-o+i|0;k=n>>>3;n=(n&7)+3|0;break}default:{p=o+7|0;if(i>>>0<p>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<p>>>0)n=e;else break}}n=k>>>o;r=0;i=-7-o+i|0;k=n>>>7;n=(n&127)+11|0}}q=n+s|0;if(q>>>0>v>>>0){y=206;break}p=r&65535;o=n;n=s;while(1){o=o+-1|0;d[Ia+112+(n<<1)>>1]=p;if(!o)break;else n=n+1|0}f[D>>2]=q;n=q}if(n>>>0<v>>>0)s=n;else break d}if((y|0)==193){y=0;f[Q>>2]=482048;f[Ia>>2]=29;r=m;n=sa;m=z;k=p;break c}else if((y|0)==206){y=0;f[Q>>2]=482048;f[Ia>>2]=29;r=m;n=sa;m=z;break c}}while(0);if(!(d[W>>1]|0)){f[Q>>2]=482074;f[Ia>>2]=29;r=m;n=sa;m=z;break}f[T>>2]=S;f[L>>2]=S;f[M>>2]=9;l=omb(1,U,x,T,M,V)|0;if(l|0){f[Q>>2]=482111;f[Ia>>2]=29;r=m;n=sa;m=z;break}f[I>>2]=f[T>>2];f[J>>2]=6;l=omb(2,Ia+112+(f[F>>2]<<1)|0,f[G>>2]|0,T,J,V)|0;if(!l){f[Ia>>2]=19;if(R){l=0;y=308;break a}else{l=0;y=218;break}}else{f[Q>>2]=482139;f[Ia>>2]=29;r=m;n=sa;m=z;break}}while(0);if((y|0)==59){i=f[K>>2]|0;if(i|0){f[i+8>>2]=k&255;f[i+12>>2]=k>>>8}if(f[Ca>>2]&512|0){b[ea>>0]=k;b[Y>>0]=k>>>8;y=amb(f[Ga>>2]|0,ea,2)|0;f[Ga>>2]=y}f[Ia>>2]=4;i=0;k=0;y=64}else if((y|0)==218){f[Ia>>2]=20;y=219}do if((y|0)==64){y=0;o=f[Ca>>2]|0;if(!(o&1024)){n=f[K>>2]|0;if(n)f[n+16>>2]=0}else{if(i>>>0<16){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0>=16)break;else n=e}}f[C>>2]=k;i=f[K>>2]|0;if(i|0)f[i+20>>2]=k;if(!(o&512)){i=0;k=0}else{b[ea>>0]=k;b[Y>>0]=k>>>8;i=amb(f[Ga>>2]|0,ea,2)|0;f[Ga>>2]=i;i=0;k=0}}f[Ia>>2]=5;y=76}else if((y|0)==219){y=0;if(m>>>0>257&g>>>0>5){f[Da>>2]=sa;f[ya>>2]=m;f[a>>2]=e;f[va>>2]=g;f[pa>>2]=k;f[Ea>>2]=i;Amb(a,z);n=f[Da>>2]|0;m=f[ya>>2]|0;e=f[a>>2]|0;g=f[va>>2]|0;k=f[pa>>2]|0;i=f[Ea>>2]|0;if((f[Ia>>2]|0)!=11){r=m;m=z;break}f[N>>2]=-1;r=m;m=z;break}f[N>>2]=0;t=f[L>>2]|0;q=(1<<f[M>>2])+-1|0;n=q&k;p=b[t+(n<<2)+1>>0]|0;o=p&255;if(i>>>0<o>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;n=q&k;p=b[t+(n<<2)+1>>0]|0;o=p&255;if(i>>>0<o>>>0)n=e;else{s=p;break}}}else s=p;p=d[t+(n<<2)+2>>1]|0;q=b[t+(n<<2)>>0]|0;n=q&255;if(q<<24>>24!=0&(n&240|0)==0){r=p&65535;q=(1<<o+n)+-1|0;n=((k&q)>>>o)+r|0;p=b[t+(n<<2)+1>>0]|0;if((o+(p&255)|0)>>>0>i>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;n=((k&q)>>>o)+r|0;p=b[t+(n<<2)+1>>0]|0;if((o+(p&255)|0)>>>0>i>>>0)n=e;else break}}x=d[t+(n<<2)+2>>1]|0;q=b[t+(n<<2)>>0]|0;f[N>>2]=o;i=i-o|0;k=k>>>o;r=q&255;n=p;p=x}else{r=n;n=s;o=0}x=n&255;k=k>>>x;i=i-x|0;f[N>>2]=o+x;f[C>>2]=p&65535;if(!(q<<24>>24)){f[Ia>>2]=25;r=m;n=sa;m=z;break}if(r&32|0){f[N>>2]=-1;f[Ia>>2]=11;r=m;n=sa;m=z;break}if(!(r&64)){o=r&15;f[H>>2]=o;f[Ia>>2]=21;y=239;break}else{f[Q>>2]=482321;f[Ia>>2]=29;r=m;n=sa;m=z;break}}while(0);if((y|0)==76){o=f[Ca>>2]|0;if(o&1024){n=f[C>>2]|0;q=n>>>0>g>>>0?g:n;if(q){p=f[K>>2]|0;if((p|0)!=0?(fa=f[p+16>>2]|0,(fa|0)!=0):0){n=(f[p+20>>2]|0)-n|0;y=f[p+24>>2]|0;YDb(fa+n|0,e|0,((n+q|0)>>>0>y>>>0?y-n|0:q)|0)|0;n=f[Ca>>2]|0}else n=o;if(n&512|0){y=amb(f[Ga>>2]|0,e,q)|0;f[Ga>>2]=y}n=(f[C>>2]|0)-q|0;f[C>>2]=n;g=g-q|0;e=e+q|0}if(n){y=308;break}}f[C>>2]=0;f[Ia>>2]=6;y=86}else if((y|0)==239){y=0;if(!o)n=f[C>>2]|0;else{if(i>>>0<o>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<o>>>0)n=e;else break}}n=(f[C>>2]|0)+(k&(1<<o)+-1)|0;f[C>>2]=n;f[N>>2]=(f[N>>2]|0)+o;i=i-o|0;k=k>>>o}f[O>>2]=n;f[Ia>>2]=22;y=247}do if((y|0)==86){if(!(f[Ca>>2]&2048)){n=f[K>>2]|0;if(n)f[n+28>>2]=0}else{if(!g){g=0;y=308;break a}p=0;do{n=p;p=p+1|0;n=b[e+n>>0]|0;o=f[K>>2]|0;if((o|0?(ga=f[o+28>>2]|0,ga|0):0)?(ha=f[C>>2]|0,ha>>>0<(f[o+32>>2]|0)>>>0):0){f[C>>2]=ha+1;b[ga+ha>>0]=n}n=n<<24>>24!=0}while(n&g>>>0>p>>>0);if(f[Ca>>2]&512|0){y=amb(f[Ga>>2]|0,e,p)|0;f[Ga>>2]=y}g=g-p|0;e=e+p|0;if(n){y=308;break a}}f[C>>2]=0;f[Ia>>2]=7;y=100}else if((y|0)==247){y=0;t=f[I>>2]|0;q=(1<<f[J>>2])+-1|0;p=q&k;n=b[t+(p<<2)+1>>0]|0;o=n&255;if(i>>>0<o>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;p=q&k;n=b[t+(p<<2)+1>>0]|0;o=n&255;if(i>>>0<o>>>0)n=e;else{s=o;break}}}else s=o;o=d[t+(p<<2)+2>>1]|0;q=h[t+(p<<2)>>0]|0;if(!(q&240)){r=o&65535;p=(1<<s+q)+-1|0;o=((k&p)>>>s)+r|0;n=b[t+(o<<2)+1>>0]|0;if((s+(n&255)|0)>>>0>i>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;o=((k&p)>>>s)+r|0;n=b[t+(o<<2)+1>>0]|0;if((s+(n&255)|0)>>>0>i>>>0)n=e;else break}}x=d[t+(o<<2)+2>>1]|0;q=b[t+(o<<2)>>0]|0;p=(f[N>>2]|0)+s|0;f[N>>2]=p;i=i-s|0;k=k>>>s;q=q&255;o=x}else p=f[N>>2]|0;x=n&255;k=k>>>x;i=i-x|0;f[N>>2]=p+x;if(!(q&64)){f[P>>2]=o&65535;o=q&15;f[H>>2]=o;f[Ia>>2]=23;y=261;break}else{f[Q>>2]=482349;f[Ia>>2]=29;r=m;n=sa;m=z;break}}while(0);if((y|0)==100){if(!(f[Ca>>2]&4096)){n=f[K>>2]|0;if(n)f[n+36>>2]=0}else{if(!g){g=0;y=308;break}p=0;do{n=p;p=p+1|0;n=b[e+n>>0]|0;o=f[K>>2]|0;if((o|0?(ia=f[o+36>>2]|0,ia|0):0)?(ja=f[C>>2]|0,ja>>>0<(f[o+40>>2]|0)>>>0):0){f[C>>2]=ja+1;b[ia+ja>>0]=n}n=n<<24>>24!=0}while(n&g>>>0>p>>>0);if(f[Ca>>2]&512|0){y=amb(f[Ga>>2]|0,e,p)|0;f[Ga>>2]=y}g=g-p|0;e=e+p|0;if(n){y=308;break}}f[Ia>>2]=8;y=114}else if((y|0)==261){y=0;if(o){if(i>>>0<o>>>0){n=e;while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=n;ua=l;break a}g=g+-1|0;e=n+1|0;k=(h[n>>0]<<i)+k|0;i=i+8|0;if(i>>>0<o>>>0)n=e;else break}}f[P>>2]=(f[P>>2]|0)+(k&(1<<o)+-1);f[N>>2]=(f[N>>2]|0)+o;i=i-o|0;k=k>>>o}f[Ia>>2]=24;y=268}do if((y|0)==114){y=0;o=f[Ca>>2]|0;if(o&512){if(i>>>0<16)while(1){if(!g){oa=m;xa=z;na=i;ma=k;la=0;ka=e;ua=l;break a}g=g+-1|0;n=e+1|0;k=(h[e>>0]<<i)+k|0;i=i+8|0;if(i>>>0<16)e=n;else{e=n;break}}if((k|0)==(f[Ga>>2]&65535|0)){i=0;k=0}else{f[Q>>2]=481919;f[Ia>>2]=29;r=m;n=sa;m=z;break}}n=f[K>>2]|0;if(n|0){f[n+44>>2]=o>>>9&1;f[n+48>>2]=1}r=amb(0,0,0)|0;f[Ga>>2]=r;f[Ha>>2]=r;f[Ia>>2]=11;r=m;n=sa;m=z}else if((y|0)==268){y=0;if(!m){m=0;y=308;break a}n=z-m|0;o=f[P>>2]|0;if(o>>>0>n>>>0){n=o-n|0;if(n>>>0>(f[X>>2]|0)>>>0?f[$>>2]|0:0){f[Q>>2]=482371;f[Ia>>2]=29;r=m;n=sa;m=z;break}o=f[aa>>2]|0;if(n>>>0>o>>>0){n=n-o|0;p=n;n=(f[qa>>2]|0)-n|0}else{p=n;n=o-n|0}o=f[C>>2]|0;q=(f[ba>>2]|0)+n|0;n=p>>>0>o>>>0?o:p}else{x=f[C>>2]|0;q=sa+(0-o)|0;n=x;o=x}r=n>>>0>m>>>0?m:n;f[C>>2]=o-r;o=r;p=sa;n=q;while(1){b[p>>0]=b[n>>0]|0;o=o+-1|0;if(!o)break;else{p=p+1|0;n=n+1|0}}m=m-r|0;n=sa+r|0;if(!(f[C>>2]|0)){f[Ia>>2]=20;r=m;m=z}else{r=m;m=z}}while(0);sa=n;p=e;z=m;m=r;e=f[Ia>>2]|0}if((y|0)==130){f[Da>>2]=sa;f[ya>>2]=m;f[a>>2]=e;f[va>>2]=g;f[pa>>2]=k;f[Ea>>2]=i;Ia=2;u=Ja;return Ia|0}else if((y|0)==140){oa=m;xa=z;na=o+-3|0;ma=k>>>3;la=g;ka=e;ua=l}else if((y|0)!=143)if((y|0)==306){f[Ia>>2]=28;oa=m;xa=o;na=i;ma=k;la=g;ka=e;ua=1}else if((y|0)==308){oa=m;xa=z;na=i;ma=k;la=g;ka=e;ua=l}else if((y|0)==330){Ia=-4;u=Ja;return Ia|0}else if((y|0)==331){u=Ja;return e|0}f[Da>>2]=sa;f[ya>>2]=oa;f[a>>2]=ka;f[va>>2]=la;f[pa>>2]=ma;f[Ea>>2]=na;if(!(f[qa>>2]|0)){if(((xa|0)!=(oa|0)?(ra=f[Ia>>2]|0,ra>>>0<29):0)?(c|0)!=4|ra>>>0<26:0)y=313}else y=313;do if((y|0)==313){m=xa-oa|0;n=f[ta>>2]|0;o=n+52|0;e=f[o>>2]|0;if(!e){e=dj[f[a+32>>2]&255](f[a+40>>2]|0,1<<f[n+36>>2],1)|0;f[o>>2]=e;if(!e){f[Ia>>2]=30;Ia=-4;u=Ja;return Ia|0}}k=n+40|0;g=f[k>>2]|0;if(!g){g=1<<f[n+36>>2];f[k>>2]=g;f[n+48>>2]=0;f[n+44>>2]=0}if(g>>>0<=m>>>0){YDb(e|0,sa+(0-g)|0,g|0)|0;f[n+48>>2]=0;f[n+44>>2]=f[k>>2];break}i=n+48|0;ta=f[i>>2]|0;l=g-ta|0;l=l>>>0>m>>>0?m:l;YDb(e+ta|0,sa+(0-m)|0,l|0)|0;e=m-l|0;if(e|0){YDb(f[o>>2]|0,sa+(0-e)|0,e|0)|0;f[i>>2]=e;f[n+44>>2]=f[k>>2];break}e=(f[i>>2]|0)+l|0;ta=f[k>>2]|0;f[i>>2]=(e|0)==(ta|0)?0:e;e=n+44|0;g=f[e>>2]|0;if(g>>>0<ta>>>0)f[e>>2]=g+l}while(0);k=wa-(f[va>>2]|0)|0;i=xa-(f[ya>>2]|0)|0;ya=a+8|0;f[ya>>2]=(f[ya>>2]|0)+k;f[Aa>>2]=(f[Aa>>2]|0)+i;f[Ba>>2]=(f[Ba>>2]|0)+i;if((i|0)!=0&(f[za>>2]|0)!=0){g=f[Ga>>2]|0;e=(f[Da>>2]|0)+(0-i)|0;if(!(f[Ca>>2]|0))e=$lb(g,e,i)|0;else e=amb(g,e,i)|0;f[Ga>>2]=e;f[Ha>>2]=e}Ia=f[Ia>>2]|0;f[a+44>>2]=((f[Fa>>2]|0)==0?0:64)+(f[Ea>>2]|0)+((Ia|0)==11?128:0)+((Ia|0)==19|(Ia|0)==14?256:0);Ia=(ua|0)==0&((c|0)==4|(i|k|0)==0)?-5:ua;u=Ja;return Ia|0}function nmb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;if(!a){g=-2;return g|0}g=a+28|0;b=f[g>>2]|0;if(!b){g=-2;return g|0}d=a+36|0;c=f[d>>2]|0;if(!c){g=-2;return g|0}e=f[b+52>>2]|0;a=a+40|0;if(e){Bj[c&1023](f[a>>2]|0,e);c=f[d>>2]|0;b=f[g>>2]|0}Bj[c&1023](f[a>>2]|0,b);f[g>>2]=0;g=0;return g|0}function omb(a,c,e,g,h,i){a=a|0;c=c|0;e=e|0;g=g|0;h=h|0;i=i|0;var 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;K=u;u=u+64|0;J=K+32|0;F=K;f[J>>2]=0;f[J+4>>2]=0;f[J+8>>2]=0;f[J+12>>2]=0;f[J+16>>2]=0;f[J+20>>2]=0;f[J+24>>2]=0;f[J+28>>2]=0;E=(e|0)==0;if(!E){k=0;do{H=J+(j[c+(k<<1)>>1]<<1)|0;d[H>>1]=(d[H>>1]|0)+1<<16>>16;k=k+1|0}while((k|0)!=(e|0));l=d[J+30>>1]|0;k=f[h>>2]|0;if(!(l<<16>>16))H=6;else{n=15;H=8}}else{k=f[h>>2]|0;H=6}do if((H|0)==6)if(!(d[J+28>>1]|0))if(!(d[J+26>>1]|0))if(!(d[J+24>>1]|0))if(!(d[J+22>>1]|0))if(!(d[J+20>>1]|0))if(!(d[J+18>>1]|0))if(!(d[J+16>>1]|0))if(!(d[J+14>>1]|0))if(!(d[J+12>>1]|0))if(!(d[J+10>>1]|0))if(!(d[J+8>>1]|0))if(!(d[J+6>>1]|0))if(!(d[J+4>>1]|0)){if(d[J+2>>1]|0){n=1;m=1;l=0;k=(k|0)!=0&1;break}J=f[g>>2]|0;f[g>>2]=J+4;b[J>>0]=64;b[J+1>>0]=1;d[J+2>>1]=0;J=f[g>>2]|0;f[g>>2]=J+4;b[J>>0]=64;b[J+1>>0]=1;d[J+2>>1]=0;f[h>>2]=1;J=0;u=K;return J|0}else{n=2;l=0;H=8}else{n=3;l=0;H=8}else{n=4;l=0;H=8}else{n=5;l=0;H=8}else{n=6;l=0;H=8}else{n=7;l=0;H=8}else{n=8;l=0;H=8}else{n=9;l=0;H=8}else{n=10;l=0;H=8}else{n=11;l=0;H=8}else{n=12;l=0;H=8}else{n=13;l=0;H=8}else{n=14;l=0;H=8}while(0);a:do if((H|0)==8){k=k>>>0>n>>>0?n:k;m=1;do{if(d[J+(m<<1)>>1]|0)break a;m=m+1|0}while(m>>>0<n>>>0)}while(0);G=k>>>0<m>>>0?m:k;B=d[J+2>>1]|0;C=B&65535;k=2-C|0;if((k|0)<0){J=-1;u=K;return J|0}D=j[J+4>>1]|0;k=(k<<1)-D|0;if((k|0)<0){J=-1;u=K;return J|0}A=j[J+6>>1]|0;k=(k<<1)-A|0;if((k|0)<0){J=-1;u=K;return J|0}z=j[J+8>>1]|0;k=(k<<1)-z|0;if((k|0)<0){J=-1;u=K;return J|0}y=j[J+10>>1]|0;k=(k<<1)-y|0;if((k|0)<0){J=-1;u=K;return J|0}x=j[J+12>>1]|0;k=(k<<1)-x|0;if((k|0)<0){J=-1;u=K;return J|0}w=j[J+14>>1]|0;k=(k<<1)-w|0;if((k|0)<0){J=-1;u=K;return J|0}v=j[J+16>>1]|0;k=(k<<1)-v|0;if((k|0)<0){J=-1;u=K;return J|0}t=j[J+18>>1]|0;k=(k<<1)-t|0;if((k|0)<0){J=-1;u=K;return J|0}s=j[J+20>>1]|0;k=(k<<1)-s|0;if((k|0)<0){J=-1;u=K;return J|0}r=j[J+22>>1]|0;k=(k<<1)-r|0;if((k|0)<0){J=-1;u=K;return J|0}q=j[J+24>>1]|0;k=(k<<1)-q|0;if((k|0)<0){J=-1;u=K;return J|0}p=j[J+26>>1]|0;k=(k<<1)-p|0;if((k|0)<0){J=-1;u=K;return J|0}o=j[J+28>>1]|0;k=(k<<1)-o|0;if((k|0)<0){J=-1;u=K;return J|0}k=(k<<1)-(l&65535)|0;if((k|0)<0){J=-1;u=K;return J|0}if(k|0?(a|0)==0|(n|0)!=1:0){J=-1;u=K;return J|0}d[F+2>>1]=0;d[F+4>>1]=B;D=D+C|0;d[F+6>>1]=D;D=D+A|0;d[F+8>>1]=D;D=D+z|0;d[F+10>>1]=D;D=D+y|0;d[F+12>>1]=D;D=D+x|0;d[F+14>>1]=D;D=D+w|0;d[F+16>>1]=D;D=D+v|0;d[F+18>>1]=D;D=D+t|0;d[F+20>>1]=D;D=D+s|0;d[F+22>>1]=D;D=D+r|0;d[F+24>>1]=D;D=D+q|0;d[F+26>>1]=D;D=D+p|0;d[F+28>>1]=D;d[F+30>>1]=D+o;if(!E){k=0;do{l=d[c+(k<<1)>>1]|0;if(l<<16>>16){D=F+((l&65535)<<1)|0;E=d[D>>1]|0;d[D>>1]=E+1<<16>>16;d[i+((E&65535)<<1)>>1]=k}k=k+1|0}while((k|0)!=(e|0))}switch(a|0){case 0:{E=i;a=i;e=19;F=0;k=0;break}case 1:{if(G>>>0>9){J=1;u=K;return J|0}else{E=262590;a=262462;e=256;F=1;k=0}break}default:{k=(a|0)==2;if(k&G>>>0>9){J=1;u=K;return J|0}else{E=263040;a=262912;e=-1;F=0}}}B=1<<G;C=B+-1|0;D=G&255;z=f[g>>2]|0;A=-1;p=0;y=0;l=G;o=0;b:while(1){x=1<<l;v=p;while(1){q=m-y|0;t=q&255;l=d[i+(o<<1)>>1]|0;p=l&65535;do if((e|0)>(p|0))s=0;else{if((e|0)>=(p|0)){s=96;l=0;break}s=d[E+(p<<1)>>1]&255;l=d[a+(p<<1)>>1]|0}while(0);q=1<<q;r=v>>>y;p=x;do{p=p-q|0;w=p+r|0;b[z+(w<<2)>>0]=s;b[z+(w<<2)+1>>0]=t;d[z+(w<<2)+2>>1]=l}while((p|0)!=0);l=1<<m+-1;while(1)if(!(l&v))break;else l=l>>>1;s=(l|0)==0?0:(l+-1&v)+l|0;w=o+1|0;r=J+(m<<1)|0;v=(d[r>>1]|0)+-1<<16>>16;d[r>>1]=v;if(!(v<<16>>16)){if((m|0)==(n|0))break b;m=j[c+(j[i+(w<<1)>>1]<<1)>>1]|0}if(m>>>0>G>>>0?(I=s&C,(I|0)!=(A|0)):0)break;v=s;o=w}r=(y|0)==0?G:y;q=z+(x<<2)|0;l=m-r|0;c:do if(m>>>0<n>>>0){o=1<<l;p=m;while(1){o=o-(j[J+(p<<1)>>1]|0)|0;if((o|0)<1)break c;l=l+1|0;p=l+r|0;if(p>>>0>=n>>>0)break;else o=o<<1}}while(0);o=(1<<l)+B|0;if(F&o>>>0>852|k&o>>>0>592){k=1;H=46;break}z=f[g>>2]|0;b[z+(I<<2)>>0]=l;b[z+(I<<2)+1>>0]=D;d[z+(I<<2)+2>>1]=(q-z|0)>>>2;z=q;A=I;p=s;B=o;y=r;o=w}if((H|0)==46){u=K;return k|0}if(s|0){b[z+(s<<2)>>0]=64;b[z+(s<<2)+1>>0]=t;d[z+(s<<2)+2>>1]=0}f[g>>2]=(f[g>>2]|0)+(B<<2);f[h>>2]=G;J=0;u=K;return J|0}function pmb(a){a=a|0;f[a+2840>>2]=a+148;f[a+2848>>2]=357740;f[a+2852>>2]=a+2440;f[a+2860>>2]=357760;f[a+2864>>2]=a+2684;f[a+2872>>2]=357780;d[a+5816>>1]=0;f[a+5820>>2]=0;qmb(a);return}function qmb(a){a=a|0;var b=0;b=0;do{d[a+148+(b<<2)>>1]=0;b=b+1|0}while((b|0)!=286);d[a+2440>>1]=0;d[a+2444>>1]=0;d[a+2448>>1]=0;d[a+2452>>1]=0;d[a+2456>>1]=0;d[a+2460>>1]=0;d[a+2464>>1]=0;d[a+2468>>1]=0;d[a+2472>>1]=0;d[a+2476>>1]=0;d[a+2480>>1]=0;d[a+2484>>1]=0;d[a+2488>>1]=0;d[a+2492>>1]=0;d[a+2496>>1]=0;d[a+2500>>1]=0;d[a+2504>>1]=0;d[a+2508>>1]=0;d[a+2512>>1]=0;d[a+2516>>1]=0;d[a+2520>>1]=0;d[a+2524>>1]=0;d[a+2528>>1]=0;d[a+2532>>1]=0;d[a+2536>>1]=0;d[a+2540>>1]=0;d[a+2544>>1]=0;d[a+2548>>1]=0;d[a+2552>>1]=0;d[a+2556>>1]=0;d[a+2684>>1]=0;d[a+2688>>1]=0;d[a+2692>>1]=0;d[a+2696>>1]=0;d[a+2700>>1]=0;d[a+2704>>1]=0;d[a+2708>>1]=0;d[a+2712>>1]=0;d[a+2716>>1]=0;d[a+2720>>1]=0;d[a+2724>>1]=0;d[a+2728>>1]=0;d[a+2732>>1]=0;d[a+2736>>1]=0;d[a+2740>>1]=0;d[a+2744>>1]=0;d[a+2748>>1]=0;d[a+2752>>1]=0;d[a+2756>>1]=0;d[a+1172>>1]=1;f[a+5804>>2]=0;f[a+5800>>2]=0;f[a+5808>>2]=0;f[a+5792>>2]=0;return}function rmb(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var h=0,i=0,k=0,l=0,m=0,n=0,o=0;l=a+5820|0;i=f[l>>2]|0;h=g&65535;k=a+5816|0;g=h<<i|(j[k>>1]|0);d[k>>1]=g;if((i|0)>13){i=a+8|0;o=f[i>>2]|0;n=a+20|0;m=f[n>>2]|0;f[n>>2]=m+1;b[o+m>>0]=g;m=(j[k>>1]|0)>>>8&255;g=f[i>>2]|0;i=f[n>>2]|0;f[n>>2]=i+1;b[g+i>>0]=m;i=f[l>>2]|0;g=h>>>(16-i|0);d[k>>1]=g;i=i+-13|0}else i=i+3|0;g=g&255;f[l>>2]=i;do if((i|0)<=8){h=a+8|0;if((i|0)>0){m=f[h>>2]|0;o=a+20|0;n=f[o>>2]|0;f[o>>2]=n+1;b[m+n>>0]=g;g=o;break}else{g=a+20|0;break}}else{h=a+8|0;n=f[h>>2]|0;o=a+20|0;m=f[o>>2]|0;f[o>>2]=m+1;b[n+m>>0]=g;m=(j[k>>1]|0)>>>8&255;n=f[h>>2]|0;g=f[o>>2]|0;f[o>>2]=g+1;b[n+g>>0]=m;g=o}while(0);d[k>>1]=0;f[l>>2]=0;m=f[h>>2]|0;o=f[g>>2]|0;f[g>>2]=o+1;b[m+o>>0]=e;o=f[h>>2]|0;m=f[g>>2]|0;f[g>>2]=m+1;b[o+m>>0]=e>>>8;m=e&65535^65535;o=f[h>>2]|0;n=f[g>>2]|0;f[g>>2]=n+1;b[o+n>>0]=m;n=f[h>>2]|0;o=f[g>>2]|0;f[g>>2]=o+1;b[n+o>>0]=m>>>8;if(!e)return;while(1){e=e+-1|0;m=b[c>>0]|0;n=f[h>>2]|0;o=f[g>>2]|0;f[g>>2]=o+1;b[n+o>>0]=m;if(!e)break;else c=c+1|0}return}function smb(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,k=0,l=0;e=a+5820|0;c=f[e>>2]|0;do if((c|0)!=16)if((c|0)>7){c=a+5816|0;h=d[c>>1]&255;g=f[a+8>>2]|0;i=a+20|0;a=f[i>>2]|0;f[i>>2]=a+1;b[g+a>>0]=h;d[c>>1]=(j[c>>1]|0)>>>8;a=(f[e>>2]|0)+-8|0;break}else return;else{i=a+5816|0;l=d[i>>1]&255;h=a+8|0;k=f[h>>2]|0;c=a+20|0;g=f[c>>2]|0;f[c>>2]=g+1;b[k+g>>0]=l;g=(j[i>>1]|0)>>>8&255;h=f[h>>2]|0;a=f[c>>2]|0;f[c>>2]=a+1;b[h+a>>0]=g;d[i>>1]=0;a=0}while(0);f[e>>2]=a;return}function tmb(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,k=0,l=0;h=a+5820|0;e=f[h>>2]|0;g=a+5816|0;c=2<<e|(j[g>>1]|0);d[g>>1]=c;if((e|0)>13){e=a+8|0;l=f[e>>2]|0;k=a+20|0;i=f[k>>2]|0;f[k>>2]=i+1;b[l+i>>0]=c;i=(j[g>>1]|0)>>>8&255;c=f[e>>2]|0;e=f[k>>2]|0;f[k>>2]=e+1;b[c+e>>0]=i;e=f[h>>2]|0;c=2>>>(16-e|0);d[g>>1]=c;e=e+-13|0}else e=e+3|0;c=c&255;f[h>>2]=e;if((e|0)>9){e=a+8|0;i=f[e>>2]|0;k=a+20|0;l=f[k>>2]|0;f[k>>2]=l+1;b[i+l>>0]=c;l=(j[g>>1]|0)>>>8&255;e=f[e>>2]|0;c=f[k>>2]|0;f[k>>2]=c+1;b[e+c>>0]=l;d[g>>1]=0;c=0;e=(f[h>>2]|0)+-9|0}else e=e+7|0;f[h>>2]=e;do if((e|0)!=16)if((e|0)>7){k=f[a+8>>2]|0;i=a+20|0;l=f[i>>2]|0;f[i>>2]=l+1;b[k+l>>0]=c;d[g>>1]=(j[g>>1]|0)>>>8;c=(f[h>>2]|0)+-8|0;break}else return;else{l=a+8|0;e=f[l>>2]|0;i=a+20|0;k=f[i>>2]|0;f[i>>2]=k+1;b[e+k>>0]=c;k=(j[g>>1]|0)>>>8&255;l=f[l>>2]|0;c=f[i>>2]|0;f[i>>2]=c+1;b[l+c>>0]=k;d[g>>1]=0;c=0}while(0);f[h>>2]=c;return}function umb(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var i=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;if((f[a+132>>2]|0)>0){k=(f[a>>2]|0)+44|0;if((f[k>>2]|0)==2){a:do if(((((((((((((((d[a+148>>1]|0)==0?(d[a+152>>1]|0)==0:0)?(d[a+156>>1]|0)==0:0)?(d[a+160>>1]|0)==0:0)?(d[a+164>>1]|0)==0:0)?(d[a+168>>1]|0)==0:0)?(d[a+172>>1]|0)==0:0)?(d[a+204>>1]|0)==0:0)?(d[a+208>>1]|0)==0:0)?(d[a+212>>1]|0)==0:0)?(d[a+216>>1]|0)==0:0)?(d[a+220>>1]|0)==0:0)?(d[a+224>>1]|0)==0:0)?(d[a+228>>1]|0)==0:0)?(d[a+232>>1]|0)==0:0){if(d[a+236>>1]|0){i=0;break}if(d[a+240>>1]|0){i=0;break}if(d[a+244>>1]|0){i=0;break}if(d[a+248>>1]|0){i=0;break}if(d[a+260>>1]|0){i=0;break}if(d[a+264>>1]|0){i=0;break}if(d[a+268>>1]|0){i=0;break}if(d[a+272>>1]|0){i=0;break}if(d[a+184>>1]|0){i=1;break}if(d[a+188>>1]|0){i=1;break}if(d[a+200>>1]|0){i=1;break}i=32;while(1){if(d[a+148+(i<<2)>>1]|0){i=1;break a}i=i+1|0;if(i>>>0>=256){i=0;break}}}else i=0;while(0);f[k>>2]=i}vmb(a,a+2840|0);vmb(a,a+2852|0);w=f[a+2844>>2]|0;i=d[a+150>>1]|0;k=i<<16>>16==0;t=w+1|0;d[a+148+(t<<2)+2>>1]=-1;if((w|0)>=0){u=a+2752|0;v=a+2756|0;w=a+2748|0;p=0;r=i&65535;s=0;q=-1;i=k?138:7;l=k?3:4;while(1){s=s+1|0;n=d[a+148+(s<<2)+2>>1]|0;k=r;r=n&65535;m=p+1|0;o=(k|0)==(r|0);if((m|0)<(i|0)&o)k=q;else{do if((m|0)>=(l|0))if(!k)if((p|0)<10){d[u>>1]=(d[u>>1]|0)+1<<16>>16;break}else{d[v>>1]=(d[v>>1]|0)+1<<16>>16;break}else{i=a+2684+(k<<2)|0;if((k|0)!=(q|0))d[i>>1]=(d[i>>1]|0)+1<<16>>16;d[w>>1]=(d[w>>1]|0)+1<<16>>16;break}else{q=a+2684+(k<<2)|0;d[q>>1]=m+(j[q>>1]|0)}while(0);i=n<<16>>16==0;m=0;l=i|o?3:4;i=i?138:o?6:7}if((s|0)==(t|0))break;else{p=m;q=k}}}w=f[a+2856>>2]|0;i=d[a+2442>>1]|0;k=i<<16>>16==0;t=w+1|0;d[a+2440+(t<<2)+2>>1]=-1;if((w|0)>=0){u=a+2752|0;v=a+2756|0;w=a+2748|0;p=0;r=i&65535;s=0;q=-1;i=k?138:7;l=k?3:4;while(1){s=s+1|0;n=d[a+2440+(s<<2)+2>>1]|0;k=r;r=n&65535;m=p+1|0;o=(k|0)==(r|0);if((m|0)<(i|0)&o)k=q;else{do if((m|0)>=(l|0))if(!k)if((p|0)<10){d[u>>1]=(d[u>>1]|0)+1<<16>>16;break}else{d[v>>1]=(d[v>>1]|0)+1<<16>>16;break}else{i=a+2684+(k<<2)|0;if((k|0)!=(q|0))d[i>>1]=(d[i>>1]|0)+1<<16>>16;d[w>>1]=(d[w>>1]|0)+1<<16>>16;break}else{q=a+2684+(k<<2)|0;d[q>>1]=m+(j[q>>1]|0)}while(0);i=n<<16>>16==0;m=0;l=i|o?3:4;i=i?138:o?6:7}if((s|0)==(t|0))break;else{p=m;q=k}}}vmb(a,a+2864|0);do if(!(d[a+2746>>1]|0))if(!(d[a+2690>>1]|0))if(!(d[a+2742>>1]|0))if(!(d[a+2694>>1]|0))if(!(d[a+2738>>1]|0))if(!(d[a+2698>>1]|0))if(!(d[a+2734>>1]|0))if(!(d[a+2702>>1]|0))if(!(d[a+2730>>1]|0))if(!(d[a+2706>>1]|0))if(!(d[a+2726>>1]|0))if(!(d[a+2710>>1]|0))if(!(d[a+2722>>1]|0))if(!(d[a+2714>>1]|0)){if(d[a+2718>>1]|0){i=4;break}i=(d[a+2686>>1]|0)==0?2:3}else i=5;else i=6;else i=7;else i=8;else i=9;else i=10;else i=11;else i=12;else i=13;else i=14;else i=15;else i=16;else i=17;else i=18;while(0);l=a+5800|0;k=(i*3|0)+17+(f[l>>2]|0)|0;f[l>>2]=k;k=(k+10|0)>>>3;l=((f[a+5804>>2]|0)+10|0)>>>3;k=l>>>0>k>>>0?k:l}else{l=e+5|0;k=l;i=0}do if((c|0)!=0&(e+4|0)>>>0<=k>>>0)rmb(a,c,e,g);else{t=a+5820|0;n=f[t>>2]|0;m=(n|0)>13;if((l|0)==(k|0)?1:(f[a+136>>2]|0)==4){i=g+2&65535;k=a+5816|0;l=i<<n|j[k>>1];d[k>>1]=l;if(m){c=a+8|0;e=f[c>>2]|0;v=a+20|0;w=f[v>>2]|0;f[v>>2]=w+1;b[e+w>>0]=l;w=(j[k>>1]|0)>>>8&255;c=f[c>>2]|0;e=f[v>>2]|0;f[v>>2]=e+1;b[c+e>>0]=w;e=f[t>>2]|0;d[k>>1]=i>>>(16-e|0);i=e+-13|0}else i=n+3|0;f[t>>2]=i;wmb(a,264272,264016);break}k=g+4&65535;s=a+5816|0;l=k<<n|j[s>>1];d[s>>1]=l;if(m){n=a+8|0;w=f[n>>2]|0;c=a+20|0;e=f[c>>2]|0;f[c>>2]=e+1;b[w+e>>0]=l;e=(j[s>>1]|0)>>>8&255;l=f[n>>2]|0;n=f[c>>2]|0;f[c>>2]=n+1;b[l+n>>0]=e;n=f[t>>2]|0;l=k>>>(16-n|0);d[s>>1]=l;n=n+-13|0}else n=n+3|0;f[t>>2]=n;q=f[a+2844>>2]|0;r=f[a+2856>>2]|0;m=q+65280&65535;k=m<<n|l&65535;d[s>>1]=k;if((n|0)>11){e=a+8|0;v=f[e>>2]|0;w=a+20|0;c=f[w>>2]|0;f[w>>2]=c+1;b[v+c>>0]=k;c=(j[s>>1]|0)>>>8&255;k=f[e>>2]|0;e=f[w>>2]|0;f[w>>2]=e+1;b[k+e>>0]=c;e=f[t>>2]|0;k=m>>>(16-e|0);d[s>>1]=k;m=e+-11|0}else m=n+5|0;f[t>>2]=m;l=r&65535;k=l<<m|k&65535;d[s>>1]=k;if((m|0)>11){m=a+8|0;w=f[m>>2]|0;c=a+20|0;e=f[c>>2]|0;f[c>>2]=e+1;b[w+e>>0]=k;e=(j[s>>1]|0)>>>8&255;k=f[m>>2]|0;m=f[c>>2]|0;f[c>>2]=m+1;b[k+m>>0]=e;m=f[t>>2]|0;k=l>>>(16-m|0);d[s>>1]=k;m=m+-11|0}else m=m+5|0;f[t>>2]=m;l=i+65533&65535;k=l<<m|k&65535;d[s>>1]=k;if((m|0)>12){p=a+8|0;e=f[p>>2]|0;o=a+20|0;c=f[o>>2]|0;f[o>>2]=c+1;b[e+c>>0]=k;c=(j[s>>1]|0)>>>8&255;k=f[p>>2]|0;e=f[o>>2]|0;f[o>>2]=e+1;b[k+e>>0]=c;e=f[t>>2]|0;k=l>>>(16-e|0);d[s>>1]=k;l=e+-12|0}else{o=a+20|0;p=a+8|0;l=m+4|0}f[t>>2]=l;n=0;while(1){m=j[a+2684+(h[265552+n>>0]<<2)+2>>1]|0;k=m<<l|k&65535;d[s>>1]=k;if((l|0)>13){l=f[p>>2]|0;e=f[o>>2]|0;f[o>>2]=e+1;b[l+e>>0]=k;e=(j[s>>1]|0)>>>8&255;k=f[p>>2]|0;l=f[o>>2]|0;f[o>>2]=l+1;b[k+l>>0]=e;l=f[t>>2]|0;k=m>>>(16-l|0);d[s>>1]=k;l=l+-13|0}else l=l+3|0;f[t>>2]=l;if((n|0)==(i|0))break;else n=n+1|0}c=a+148|0;xmb(a,c,q);e=a+2440|0;xmb(a,e,r);wmb(a,c,e)}while(0);qmb(a);if(!g)return;m=a+5820|0;k=f[m>>2]|0;if((k|0)<=8){i=a+5816|0;if((k|0)>0){k=d[i>>1]&255;x=f[a+8>>2]|0;a=a+20|0;l=f[a>>2]|0;f[a>>2]=l+1;l=x+l|0;x=109}}else{i=a+5816|0;g=d[i>>1]&255;x=a+8|0;l=f[x>>2]|0;a=a+20|0;k=f[a>>2]|0;f[a>>2]=k+1;b[l+k>>0]=g;k=(j[i>>1]|0)>>>8&255;x=f[x>>2]|0;l=f[a>>2]|0;f[a>>2]=l+1;l=x+l|0;x=109}if((x|0)==109)b[l>>0]=k;d[i>>1]=0;f[m>>2]=0;return}function vmb(a,c){a=a|0;c=c|0;var e=0,g=0,i=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+32|0;C=E;D=f[c>>2]|0;z=c+8|0;v=f[z>>2]|0;l=f[v>>2]|0;v=f[v+12>>2]|0;y=a+5200|0;f[y>>2]=0;A=a+5204|0;f[A>>2]=573;if((v|0)>0){e=-1;g=0;do{if(!(d[D+(g<<2)>>1]|0))d[D+(g<<2)+2>>1]=0;else{e=(f[y>>2]|0)+1|0;f[y>>2]=e;f[a+2908+(e<<2)>>2]=g;b[a+5208+g>>0]=0;e=g}g=g+1|0}while((g|0)!=(v|0));g=f[y>>2]|0;if((g|0)<2)i=8;else B=e}else{e=-1;g=0;i=8}if((i|0)==8){k=a+5800|0;i=a+5804|0;if(!l){do{x=(e|0)<2;B=e+1|0;e=x?B:e;B=x?B:0;g=g+1|0;f[y>>2]=g;f[a+2908+(g<<2)>>2]=B;d[D+(B<<2)>>1]=1;b[a+5208+B>>0]=0;f[k>>2]=(f[k>>2]|0)+-1;g=f[y>>2]|0}while((g|0)<2);B=e}else{do{x=(e|0)<2;B=e+1|0;e=x?B:e;B=x?B:0;g=g+1|0;f[y>>2]=g;f[a+2908+(g<<2)>>2]=B;d[D+(B<<2)>>1]=1;b[a+5208+B>>0]=0;f[k>>2]=(f[k>>2]|0)+-1;f[i>>2]=(f[i>>2]|0)-(j[l+(B<<2)+2>>1]|0);g=f[y>>2]|0}while((g|0)<2);B=e}}x=c+4|0;f[x>>2]=B;e=g>>>1;if(e){while(1){i=a+2908+(e<<2)|0;t=f[i>>2]|0;s=a+5208+t|0;k=e<<1;if((k|0)>(g|0))g=i;else{r=D+(t<<2)|0;q=e;while(1){do if((k|0)<(g|0)){i=k|1;g=a+2908+(i<<2)|0;l=f[g>>2]|0;m=d[D+(l<<2)>>1]|0;p=a+2908+(k<<2)|0;n=f[p>>2]|0;o=d[D+(n<<2)>>1]|0;if((m&65535)>=(o&65535)){if(m<<16>>16!=o<<16>>16){l=k;g=p;break}if((h[a+5208+l>>0]|0)>(h[a+5208+n>>0]|0)){l=k;g=p;break}}l=i}else{l=k;g=a+2908+(k<<2)|0}while(0);k=d[r>>1]|0;g=f[g>>2]|0;i=d[D+(g<<2)>>1]|0;if((k&65535)<(i&65535)){g=q;break}if(k<<16>>16==i<<16>>16?(h[s>>0]|0)<=(h[a+5208+g>>0]|0):0){g=q;break}f[a+2908+(q<<2)>>2]=g;k=l<<1;g=f[y>>2]|0;if((k|0)>(g|0)){g=l;break}else q=l}g=a+2908+(g<<2)|0}f[g>>2]=t;if((e|0)<=1)break;e=e+-1|0;g=f[y>>2]|0}g=f[y>>2]|0}w=a+2912|0;do{t=f[w>>2]|0;i=g+-1|0;f[y>>2]=i;s=f[a+2908+(g<<2)>>2]|0;f[w>>2]=s;r=a+5208+s|0;if((g|0)<3)e=w;else{q=D+(s<<2)|0;e=1;p=2;g=i;while(1){do if((p|0)<(g|0)){i=p|1;g=a+2908+(i<<2)|0;k=f[g>>2]|0;l=d[D+(k<<2)>>1]|0;o=a+2908+(p<<2)|0;m=f[o>>2]|0;n=d[D+(m<<2)>>1]|0;if((l&65535)>=(n&65535)){if(l<<16>>16!=n<<16>>16){l=p;g=o;break}if((h[a+5208+k>>0]|0)>(h[a+5208+m>>0]|0)){l=p;g=o;break}}l=i}else{l=p;g=a+2908+(p<<2)|0}while(0);k=d[q>>1]|0;g=f[g>>2]|0;i=d[D+(g<<2)>>1]|0;if((k&65535)<(i&65535))break;if(k<<16>>16==i<<16>>16?(h[r>>0]|0)<=(h[a+5208+g>>0]|0):0)break;f[a+2908+(e<<2)>>2]=g;p=l<<1;g=f[y>>2]|0;if((p|0)>(g|0)){e=l;break}else e=l}e=a+2908+(e<<2)|0}f[e>>2]=s;s=f[w>>2]|0;q=(f[A>>2]|0)+-1|0;f[A>>2]=q;f[a+2908+(q<<2)>>2]=t;q=(f[A>>2]|0)+-1|0;f[A>>2]=q;f[a+2908+(q<<2)>>2]=s;q=D+(v<<2)|0;d[q>>1]=(j[D+(s<<2)>>1]|0)+(j[D+(t<<2)>>1]|0);g=b[a+5208+t>>0]|0;p=b[a+5208+s>>0]|0;r=a+5208+v|0;b[r>>0]=(((g&255)<(p&255)?p:g)&255)+1;g=v&65535;d[D+(s<<2)+2>>1]=g;d[D+(t<<2)+2>>1]=g;f[w>>2]=v;g=f[y>>2]|0;if((g|0)<2)e=w;else{e=1;p=2;while(1){do if((p|0)<(g|0)){i=p|1;g=a+2908+(i<<2)|0;k=f[g>>2]|0;l=d[D+(k<<2)>>1]|0;o=a+2908+(p<<2)|0;m=f[o>>2]|0;n=d[D+(m<<2)>>1]|0;if((l&65535)>=(n&65535)){if(l<<16>>16!=n<<16>>16){l=p;g=o;break}if((h[a+5208+k>>0]|0)>(h[a+5208+m>>0]|0)){l=p;g=o;break}}l=i}else{l=p;g=a+2908+(p<<2)|0}while(0);k=d[q>>1]|0;g=f[g>>2]|0;i=d[D+(g<<2)>>1]|0;if((k&65535)<(i&65535))break;if(k<<16>>16==i<<16>>16?(h[r>>0]|0)<=(h[a+5208+g>>0]|0):0)break;f[a+2908+(e<<2)>>2]=g;p=l<<1;g=f[y>>2]|0;if((p|0)>(g|0)){e=l;break}else e=l}e=a+2908+(e<<2)|0}f[e>>2]=v;v=v+1|0;g=f[y>>2]|0}while((g|0)>1);t=f[w>>2]|0;v=(f[A>>2]|0)+-1|0;f[A>>2]=v;f[a+2908+(v<<2)>>2]=t;v=f[c>>2]|0;t=f[x>>2]|0;n=f[z>>2]|0;o=f[n>>2]|0;p=f[n+4>>2]|0;q=f[n+8>>2]|0;n=f[n+16>>2]|0;s=a+2876|0;e=s;g=e+32|0;do{d[e>>1]=0;e=e+2|0}while((e|0)<(g|0));d[v+(f[a+2908+(f[A>>2]<<2)>>2]<<2)+2>>1]=0;A=f[A>>2]|0;e=A+1|0;a:do if((A|0)<572){r=a+5800|0;m=a+5804|0;if(!o){i=e;e=0;while(1){k=f[a+2908+(i<<2)>>2]|0;A=v+(k<<2)+2|0;l=j[v+(j[A>>1]<<2)+2>>1]|0;z=(n|0)>(l|0);l=z?l+1|0:n;e=e+((z^1)&1)|0;d[A>>1]=l;if((k|0)<=(t|0)){A=a+2876+(l<<1)|0;d[A>>1]=(d[A>>1]|0)+1<<16>>16;if((k|0)<(q|0))g=0;else g=f[p+(k-q<<2)>>2]|0;A=W(g+l|0,j[v+(k<<2)>>1]|0)|0;f[r>>2]=A+(f[r>>2]|0)}if((i|0)<572)i=i+1|0;else break}}else{i=e;e=0;while(1){k=f[a+2908+(i<<2)>>2]|0;A=v+(k<<2)+2|0;l=j[v+(j[A>>1]<<2)+2>>1]|0;z=(n|0)>(l|0);l=z?l+1|0:n;e=e+((z^1)&1)|0;d[A>>1]=l;if((k|0)<=(t|0)){A=a+2876+(l<<1)|0;d[A>>1]=(d[A>>1]|0)+1<<16>>16;if((k|0)<(q|0))g=0;else g=f[p+(k-q<<2)>>2]|0;A=j[v+(k<<2)>>1]|0;z=W(g+l|0,A)|0;f[r>>2]=z+(f[r>>2]|0);A=W(g+(j[o+(k<<2)+2>>1]|0)|0,A)|0;f[m>>2]=A+(f[m>>2]|0)}if((i|0)<572)i=i+1|0;else break}}if(e|0){m=a+2876+(n<<1)|0;while(1){i=n;while(1){g=i+-1|0;k=a+2876+(g<<1)|0;l=d[k>>1]|0;if(!(l<<16>>16))i=g;else break}d[k>>1]=l+-1<<16>>16;g=a+2876+(i<<1)|0;d[g>>1]=(j[g>>1]|0)+2;g=(d[m>>1]|0)+-1<<16>>16;d[m>>1]=g;if((e|0)>2)e=e+-2|0;else break}if(n|0){e=573;while(1){if(g<<16>>16){m=n&65535;l=g&65535;do{do{e=e+-1|0;i=f[a+2908+(e<<2)>>2]|0}while((i|0)>(t|0));g=v+(i<<2)+2|0;k=j[g>>1]|0;if((n|0)!=(k|0)){A=W(n-k|0,j[v+(i<<2)>>1]|0)|0;f[r>>2]=A+(f[r>>2]|0);d[g>>1]=m}l=l+-1|0}while((l|0)!=0)}g=n+-1|0;if(!g)break a;n=g;g=d[a+2876+(g<<1)>>1]|0}}}}while(0);A=j[s>>1]<<1;d[C+2>>1]=A;A=(A&65534)+(j[a+2878>>1]|0)<<1;d[C+4>>1]=A;A=(A&65534)+(j[a+2880>>1]|0)<<1;d[C+6>>1]=A;A=(A&65534)+(j[a+2882>>1]|0)<<1;d[C+8>>1]=A;A=(A&65534)+(j[a+2884>>1]|0)<<1;d[C+10>>1]=A;A=(A&65534)+(j[a+2886>>1]|0)<<1;d[C+12>>1]=A;A=(A&65534)+(j[a+2888>>1]|0)<<1;d[C+14>>1]=A;A=(A&65534)+(j[a+2890>>1]|0)<<1;d[C+16>>1]=A;A=(A&65534)+(j[a+2892>>1]|0)<<1;d[C+18>>1]=A;A=(A&65534)+(j[a+2894>>1]|0)<<1;d[C+20>>1]=A;A=(A&65534)+(j[a+2896>>1]|0)<<1;d[C+22>>1]=A;A=(A&65534)+(j[a+2898>>1]|0)<<1;d[C+24>>1]=A;A=(A&65534)+(j[a+2900>>1]|0)<<1;d[C+26>>1]=A;A=(A&65534)+(j[a+2902>>1]|0)<<1;d[C+28>>1]=A;d[C+30>>1]=(A&65534)+(j[a+2904>>1]|0)<<1;if((B|0)<0){u=E;return}k=0;while(1){a=d[D+(k<<2)+2>>1]|0;e=a&65535;if(a<<16>>16){g=C+(e<<1)|0;i=d[g>>1]|0;d[g>>1]=i+1<<16>>16;g=0;i=i&65535;while(1){g=g|i&1;if((e|0)>1){g=g<<1;e=e+-1|0;i=i>>>1}else break}d[D+(k<<2)>>1]=g}if((k|0)==(B|0))break;else k=k+1|0}u=E;return}function wmb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=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;w=a+5792|0;if(!(f[w>>2]|0)){l=a+5820|0;g=a+5816|0;n=g;m=l;l=f[l>>2]|0;g=d[g>>1]|0}else{x=a+5796|0;y=a+5784|0;m=a+5820|0;n=a+5816|0;u=a+8|0;v=a+20|0;t=0;do{p=d[(f[x>>2]|0)+(t<<1)>>1]|0;r=p&65535;q=h[(f[y>>2]|0)+t>>0]|0;t=t+1|0;do if(!(p<<16>>16)){l=j[c+(q<<2)+2>>1]|0;o=f[m>>2]|0;i=j[c+(q<<2)>>1]|0;k=i<<o|(j[n>>1]|0);g=k&65535;d[n>>1]=g;if((o|0)>(16-l|0)){g=f[u>>2]|0;r=f[v>>2]|0;f[v>>2]=r+1;b[g+r>>0]=k;r=(j[n>>1]|0)>>>8&255;g=f[u>>2]|0;s=f[v>>2]|0;f[v>>2]=s+1;b[g+s>>0]=r;s=f[m>>2]|0;g=i>>>(16-s|0)&65535;d[n>>1]=g;l=l+-16+s|0;s=23;break}else{l=o+l|0;s=23;break}}else{p=h[263680+q>>0]|0;g=(p|256)+1|0;l=j[c+(g<<2)+2>>1]|0;o=f[m>>2]|0;g=j[c+(g<<2)>>1]|0;k=g<<o|(j[n>>1]|0);i=k&65535;d[n>>1]=i;if((o|0)>(16-l|0)){o=f[u>>2]|0;i=f[v>>2]|0;f[v>>2]=i+1;b[o+i>>0]=k;k=(j[n>>1]|0)>>>8&255;i=f[u>>2]|0;o=f[v>>2]|0;f[v>>2]=o+1;b[i+o>>0]=k;o=f[m>>2]|0;i=g>>>(16-o|0)&65535;d[n>>1]=i;o=l+-16+o|0}else o=o+l|0;f[m>>2]=o;l=f[265424+(p<<2)>>2]|0;if((p+-8|0)>>>0<20){k=q-(f[265584+(p<<2)>>2]|0)&65535;g=k<<o|i&65535;i=g&65535;d[n>>1]=i;if((o|0)>(16-l|0)){i=f[u>>2]|0;q=f[v>>2]|0;f[v>>2]=q+1;b[i+q>>0]=g;q=(j[n>>1]|0)>>>8&255;i=f[u>>2]|0;g=f[v>>2]|0;f[v>>2]=g+1;b[i+g>>0]=q;g=f[m>>2]|0;i=k>>>(16-g|0)&65535;d[n>>1]=i;g=l+-16+g|0}else g=l+o|0;f[m>>2]=g;o=g}p=r+-1|0;q=h[263168+(p>>>0<256?p:(p>>>7)+256|0)>>0]|0;l=j[e+(q<<2)+2>>1]|0;k=j[e+(q<<2)>>1]|0;i=k<<o|i&65535;g=i&65535;d[n>>1]=g;if((o|0)>(16-l|0)){g=f[u>>2]|0;o=f[v>>2]|0;f[v>>2]=o+1;b[g+o>>0]=i;o=(j[n>>1]|0)>>>8&255;g=f[u>>2]|0;r=f[v>>2]|0;f[v>>2]=r+1;b[g+r>>0]=o;r=f[m>>2]|0;g=k>>>(16-r|0)&65535;d[n>>1]=g;l=l+-16+r|0}else l=o+l|0;f[m>>2]=l;o=f[264144+(q<<2)>>2]|0;if((q+-4|0)>>>0<26){k=p-(f[265712+(q<<2)>>2]|0)&65535;i=k<<l|g&65535;g=i&65535;d[n>>1]=g;if((l|0)>(16-o|0)){g=f[u>>2]|0;s=f[v>>2]|0;f[v>>2]=s+1;b[g+s>>0]=i;s=(j[n>>1]|0)>>>8&255;g=f[u>>2]|0;l=f[v>>2]|0;f[v>>2]=l+1;b[g+l>>0]=s;l=f[m>>2]|0;g=k>>>(16-l|0)&65535;d[n>>1]=g;l=o+-16+l|0;s=23;break}else{l=o+l|0;s=23;break}}}while(0);if((s|0)==23){s=0;f[m>>2]=l}}while(t>>>0<(f[w>>2]|0)>>>0)}k=j[c+1026>>1]|0;i=j[c+1024>>1]|0;g=i<<l|g&65535;d[n>>1]=g;if((l|0)>(16-k|0)){c=a+8|0;w=f[c>>2]|0;x=a+20|0;y=f[x>>2]|0;f[x>>2]=y+1;b[w+y>>0]=g;y=(j[n>>1]|0)>>>8&255;c=f[c>>2]|0;a=f[x>>2]|0;f[x>>2]=a+1;b[c+a>>0]=y;a=f[m>>2]|0;d[n>>1]=i>>>(16-a|0);a=k+-16+a|0;f[m>>2]=a;return}else{a=l+k|0;f[m>>2]=a;return}}function xmb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=d[c+2>>1]|0;h=g<<16>>16==0;if((e|0)<0)return;D=a+5820|0;E=a+5816|0;v=a+8|0;w=a+20|0;x=a+2754|0;y=a+2752|0;z=a+2758|0;A=a+2756|0;B=a+2750|0;C=a+2748|0;l=-1;t=g&65535;g=0;u=0;k=h?138:7;i=h?3:4;while(1){s=u;u=u+1|0;q=d[c+(u<<2)+2>>1]|0;p=t;t=q&65535;m=g+1|0;r=(p|0)==(t|0);if((m|0)<(k|0)&r){h=l;g=m}else{if((m|0)<(i|0)){n=a+2684+(p<<2)+2|0;o=a+2684+(p<<2)|0;g=f[D>>2]|0;h=d[E>>1]|0;do{l=j[n>>1]|0;k=j[o>>1]|0;i=k<<g|h&65535;h=i&65535;d[E>>1]=h;if((g|0)>(16-l|0)){g=f[v>>2]|0;h=f[w>>2]|0;f[w>>2]=h+1;b[g+h>>0]=i;i=(j[E>>1]|0)>>>8&255;h=f[v>>2]|0;g=f[w>>2]|0;f[w>>2]=g+1;b[h+g>>0]=i;g=f[D>>2]|0;h=k>>>(16-g|0)&65535;d[E>>1]=h;g=l+-16+g|0}else g=g+l|0;f[D>>2]=g;m=m+-1|0}while((m|0)!=0)}else{do if(!p)if((g|0)<10){k=j[x>>1]|0;l=f[D>>2]|0;h=j[y>>1]|0;i=h<<l|(j[E>>1]|0);d[E>>1]=i;if((l|0)>(16-k|0)){o=f[v>>2]|0;n=f[w>>2]|0;f[w>>2]=n+1;b[o+n>>0]=i;n=(j[E>>1]|0)>>>8&255;i=f[v>>2]|0;o=f[w>>2]|0;f[w>>2]=o+1;b[i+o>>0]=n;o=f[D>>2]|0;i=h>>>(16-o|0);d[E>>1]=i;k=k+-16+o|0}else k=l+k|0;f[D>>2]=k;h=g+65534&65535;g=h<<k|i&65535;d[E>>1]=g;if((k|0)>13){o=f[v>>2]|0;n=f[w>>2]|0;f[w>>2]=n+1;b[o+n>>0]=g;n=(j[E>>1]|0)>>>8&255;o=f[v>>2]|0;g=f[w>>2]|0;f[w>>2]=g+1;b[o+g>>0]=n;g=f[D>>2]|0;d[E>>1]=h>>>(16-g|0);g=g+-13|0;break}else{g=k+3|0;break}}else{k=j[z>>1]|0;l=f[D>>2]|0;h=j[A>>1]|0;i=h<<l|(j[E>>1]|0);d[E>>1]=i;if((l|0)>(16-k|0)){o=f[v>>2]|0;n=f[w>>2]|0;f[w>>2]=n+1;b[o+n>>0]=i;n=(j[E>>1]|0)>>>8&255;i=f[v>>2]|0;o=f[w>>2]|0;f[w>>2]=o+1;b[i+o>>0]=n;o=f[D>>2]|0;i=h>>>(16-o|0);d[E>>1]=i;k=k+-16+o|0}else k=l+k|0;f[D>>2]=k;h=g+65526&65535;g=h<<k|i&65535;d[E>>1]=g;if((k|0)>9){o=f[v>>2]|0;n=f[w>>2]|0;f[w>>2]=n+1;b[o+n>>0]=g;n=(j[E>>1]|0)>>>8&255;o=f[v>>2]|0;g=f[w>>2]|0;f[w>>2]=g+1;b[o+g>>0]=n;g=f[D>>2]|0;d[E>>1]=h>>>(16-g|0);g=g+-9|0;break}else{g=k+7|0;break}}else{if((p|0)==(l|0)){g=m;h=f[D>>2]|0}else{h=j[a+2684+(p<<2)+2>>1]|0;i=f[D>>2]|0;k=j[a+2684+(p<<2)>>1]|0;l=k<<i|(j[E>>1]|0);d[E>>1]=l;if((i|0)>(16-h|0)){n=f[v>>2]|0;m=f[w>>2]|0;f[w>>2]=m+1;b[n+m>>0]=l;m=(j[E>>1]|0)>>>8&255;n=f[v>>2]|0;o=f[w>>2]|0;f[w>>2]=o+1;b[n+o>>0]=m;o=f[D>>2]|0;d[E>>1]=k>>>(16-o|0);h=h+-16+o|0}else h=i+h|0;f[D>>2]=h}l=j[B>>1]|0;i=j[C>>1]|0;k=i<<h|(j[E>>1]|0);d[E>>1]=k;if((h|0)>(16-l|0)){o=f[v>>2]|0;n=f[w>>2]|0;f[w>>2]=n+1;b[o+n>>0]=k;n=(j[E>>1]|0)>>>8&255;k=f[v>>2]|0;o=f[w>>2]|0;f[w>>2]=o+1;b[k+o>>0]=n;o=f[D>>2]|0;k=i>>>(16-o|0);d[E>>1]=k;i=l+-16+o|0}else i=h+l|0;f[D>>2]=i;h=g+65533&65535;g=h<<i|k&65535;d[E>>1]=g;if((i|0)>14){o=f[v>>2]|0;n=f[w>>2]|0;f[w>>2]=n+1;b[o+n>>0]=g;n=(j[E>>1]|0)>>>8&255;o=f[v>>2]|0;g=f[w>>2]|0;f[w>>2]=g+1;b[o+g>>0]=n;g=f[D>>2]|0;d[E>>1]=h>>>(16-g|0);g=g+-14|0;break}else{g=i+2|0;break}}while(0);f[D>>2]=g}i=q<<16>>16==0;h=p;k=i?138:r?6:7;i=i|r?3:4;g=0}if((s|0)==(e|0))break;else l=h}return}function ymb(a,b,c){a=a|0;b=b|0;c=c|0;return Cmb(W(c,b)|0)|0}function zmb(a,b){a=a|0;b=b|0;Dmb(b);return}function Amb(a,c){a=a|0;c=c|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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;D=f[a+28>>2]|0;i=(f[a>>2]|0)+-1|0;J=a+4|0;K=i+((f[J>>2]|0)+-5)|0;E=a+12|0;g=(f[E>>2]|0)+-1|0;F=a+16|0;q=f[F>>2]|0;G=g+(q+-257)|0;w=f[D+40>>2]|0;x=f[D+44>>2]|0;y=f[D+48>>2]|0;H=D+56|0;I=D+60|0;z=f[D+76>>2]|0;A=f[D+80>>2]|0;B=(1<<f[D+84>>2])+-1|0;C=(1<<f[D+88>>2])+-1|0;q=g+(q-c)|0;r=D+7104|0;s=(f[D+52>>2]|0)+-1|0;t=(y|0)==0;u=y+w|0;v=q-y|0;e=f[H>>2]|0;c=f[I>>2]|0;a:while(1){if(c>>>0<15){p=i+2|0;j=p;e=((h[i+1>>0]|0)<<c)+e+((h[p>>0]|0)<<c+8)|0;c=c+16|0}else j=i;p=e&B;i=b[z+(p<<2)>>0]|0;k=d[z+(p<<2)+2>>1]|0;p=h[z+(p<<2)+1>>0]|0;e=e>>>p;c=c-p|0;do if(i<<24>>24){i=i&255;while(1){if(i&16|0)break;if(i&64|0){L=56;break a}p=(e&(1<<i)+-1)+(k&65535)|0;i=b[z+(p<<2)>>0]|0;k=d[z+(p<<2)+2>>1]|0;p=h[z+(p<<2)+1>>0]|0;e=e>>>p;c=c-p|0;if(!(i<<24>>24)){L=6;break}else i=i&255}if((L|0)==6){i=k&255;L=7;break}m=k&65535;k=i&15;if(k){i=j+1|0;if(c>>>0<k>>>0){j=i;e=((h[i>>0]|0)<<c)+e|0;c=c+8|0}m=(e&(1<<k)+-1)+m|0;e=e>>>k;c=c-k|0}if(c>>>0<15){p=j+2|0;i=p;e=((h[j+1>>0]|0)<<c)+e+((h[p>>0]|0)<<c+8)|0;c=c+16|0}else i=j;k=e&C;j=d[A+(k<<2)+2>>1]|0;p=h[A+(k<<2)+1>>0]|0;e=e>>>p;c=c-p|0;k=h[A+(k<<2)>>0]|0;if(!(k&16)){l=k;do{if(l&64|0){j=i;i=482349;L=58;break a}p=(e&(1<<l)+-1)+(j&65535)|0;k=b[A+(p<<2)>>0]|0;j=d[A+(p<<2)+2>>1]|0;p=h[A+(p<<2)+1>>0]|0;e=e>>>p;c=c-p|0;l=k&255}while(!(l&16|0));k=k&255}n=j&65535;o=k&15;if(c>>>0<o>>>0){k=i+1|0;e=((h[k>>0]|0)<<c)+e|0;l=c+8|0;j=i+2|0;if(l>>>0<o>>>0){i=j;e=((h[j>>0]|0)<<l)+e|0;c=c+16|0}else{i=k;c=l}}p=(e&(1<<o)+-1)+n|0;e=e>>>o;c=c-o|0;n=g;j=n-q|0;if(p>>>0<=j>>>0){l=g+(0-p)|0;while(1){b[g+1>>0]=b[l+1>>0]|0;b[g+2>>0]=b[l+2>>0]|0;j=l+3|0;k=g+3|0;b[k>>0]=b[j>>0]|0;m=m+-3|0;if(m>>>0<=2)break;else{l=j;g=k}}if(!m){g=k;break}j=g+4|0;b[j>>0]=b[l+4>>0]|0;if((m|0)==1){g=j;break}g=g+5|0;b[g>>0]=b[l+5>>0]|0;break}l=p-j|0;if(l>>>0>x>>>0?f[r>>2]|0:0){j=i;i=482371;L=58;break a}do if(t){k=s+(w-l)|0;if(m>>>0>l>>>0){j=m-l|0;n=p-n|0;m=g;do{k=k+1|0;m=m+1|0;b[m>>0]=b[k>>0]|0;l=l+-1|0}while((l|0)!=0);g=g+q+n|0;k=g+(0-p)|0}else j=m}else{if(y>>>0>=l>>>0){k=s+(y-l)|0;if(m>>>0<=l>>>0){j=m;break}j=m-l|0;n=p-n|0;m=g;do{k=k+1|0;m=m+1|0;b[m>>0]=b[k>>0]|0;l=l+-1|0}while((l|0)!=0);g=g+q+n|0;k=g+(0-p)|0;break}k=s+(u-l)|0;l=l-y|0;if(m>>>0>l>>>0){j=m-l|0;o=p-n|0;m=g;do{k=k+1|0;m=m+1|0;b[m>>0]=b[k>>0]|0;l=l+-1|0}while((l|0)!=0);n=g+v+o|0;if(j>>>0>y>>>0){m=g+q|0;k=s;l=y;g=n;do{k=k+1|0;g=g+1|0;b[g>>0]=b[k>>0]|0;l=l+-1|0}while((l|0)!=0);g=m+o|0;j=j-y|0;k=g+(0-p)|0}else{k=s;g=n}}else j=m}while(0);if(j>>>0>2)do{b[g+1>>0]=b[k+1>>0]|0;b[g+2>>0]=b[k+2>>0]|0;k=k+3|0;g=g+3|0;b[g>>0]=b[k>>0]|0;j=j+-3|0}while(j>>>0>2);if(j){l=g+1|0;b[l>>0]=b[k+1>>0]|0;if((j|0)==1)g=l;else{g=g+2|0;b[g>>0]=b[k+2>>0]|0}}}else{i=k&255;L=7}while(0);if((L|0)==7){L=0;g=g+1|0;b[g>>0]=i;i=j}if(!(g>>>0<G>>>0&i>>>0<K>>>0)){L=60;break}}if((L|0)==56)if(!(i&32)){i=482321;L=58}else i=11;else if((L|0)==60){C=c>>>3;C=0-C|0;C=i+C|0;L=c&7;D=1<<L;D=D+-1|0;D=D&e;B=C+1|0;f[a>>2]=B;a=g+1|0;f[E>>2]=a;E=K;K=C;E=E+5|0;K=E-K|0;f[J>>2]=K;J=G;K=g;J=J+257|0;K=J-K|0;f[F>>2]=K;f[H>>2]=D;f[I>>2]=L;return}if((L|0)==58){f[a+24>>2]=i;i=29}f[D>>2]=i;A=j;C=g;D=e;L=c;B=L>>>3;B=0-B|0;B=A+B|0;L=L&7;A=1<<L;A=A+-1|0;D=A&D;A=B+1|0;f[a>>2]=A;a=C+1|0;f[E>>2]=a;E=K;K=B;E=E+5|0;K=E-K|0;f[J>>2]=K;J=G;K=C;J=J+257|0;K=J-K|0;f[F>>2]=K;f[H>>2]=D;f[I>>2]=L;return}function Bmb(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+16|0;c=g+12|0;h=g+8|0;d=g+4|0;e=g;f[h>>2]=a;a=Cmb((Rmb(f[h>>2]|0)|0)+1|0)|0;f[d>>2]=a;Smb(f[d>>2]|0,f[h>>2]|0)|0;a=hnb(f[d>>2]|0,482401)|0;f[e>>2]=a;if(f[e>>2]|0)b[f[e>>2]>>0]=0;h=hnb(f[d>>2]|0,482405)|0;f[e>>2]=h;if(f[e>>2]|0)b[f[e>>2]>>0]=0;h=hnb(f[d>>2]|0,482409)|0;f[e>>2]=h;if(f[e>>2]|0)b[f[e>>2]>>0]=0;h=hnb(f[d>>2]|0,482413)|0;f[e>>2]=h;if(f[e>>2]|0)b[f[e>>2]>>0]=0;do if(cnb(f[d>>2]|0,482419)|0){if(!(cnb(f[d>>2]|0,482457)|0)){f[d>>2]=482476;break}if(!(cnb(f[d>>2]|0,482489)|0)){f[d>>2]=482510;break}if(!(cnb(f[d>>2]|0,482525)|0)){f[d>>2]=482540;break}if(!(cnb(f[d>>2]|0,482555)|0))f[d>>2]=482570}else f[d>>2]=482441;while(0);do if(cnb(f[d>>2]|0,482585)|0){if(!(cnb(f[d>>2]|0,482599)|0)){f[c>>2]=1098;break}if(!(cnb(f[d>>2]|0,482611)|0)){f[c>>2]=510;break}if(!(cnb(f[d>>2]|0,482624)|0)){f[c>>2]=819;break}if(!(cnb(f[d>>2]|0,482638)|0)){f[c>>2]=820;break}if(!(cnb(f[d>>2]|0,482650)|0)){f[c>>2]=821;break}if(!(cnb(f[d>>2]|0,482664)|0)){f[c>>2]=822;break}if(!(cnb(f[d>>2]|0,482678)|0)){f[c>>2]=823;break}if(!(cnb(f[d>>2]|0,482695)|0)){f[c>>2]=2;break}if(!(cnb(f[d>>2]|0,482718)|0)){f[c>>2]=13;break}if(!(cnb(f[d>>2]|0,482744)|0)){f[c>>2]=14;break}if(!(cnb(f[d>>2]|0,482757)|0)){f[c>>2]=15;break}if(!(cnb(f[d>>2]|0,482773)|0)){f[c>>2]=1;break}if(!(cnb(f[d>>2]|0,482786)|0)){f[c>>2]=9;break}if(!(cnb(f[d>>2]|0,482802)|0)){f[c>>2]=43;break}if(!(cnb(f[d>>2]|0,482817)|0)){f[c>>2]=12;break}if(!(cnb(f[d>>2]|0,482832)|0)){f[c>>2]=7;break}if(!(cnb(f[d>>2]|0,482845)|0)){f[c>>2]=824;break}if(!(cnb(f[d>>2]|0,482859)|0)){f[c>>2]=246;break}if(!(cnb(f[d>>2]|0,482879)|0)){f[c>>2]=247;break}if(!(cnb(f[d>>2]|0,482899)|0)){f[c>>2]=248;break}if(!(cnb(f[d>>2]|0,482915)|0)){f[c>>2]=1;break}if(!(cnb(f[d>>2]|0,482931)|0)){f[c>>2]=249;break}if(!(cnb(f[d>>2]|0,482948)|0)){f[c>>2]=250;break}if(!(cnb(f[d>>2]|0,482965)|0)){f[c>>2]=1099;break}if(!(cnb(f[d>>2]|0,482977)|0)){f[c>>2]=825;break}if(!(cnb(f[d>>2]|0,482990)|0)){f[c>>2]=826;break}if(!(cnb(f[d>>2]|0,483006)|0)){f[c>>2]=251;break}if(!(cnb(f[d>>2]|0,483029)|0)){f[c>>2]=92;break}if(!(cnb(f[d>>2]|0,483042)|0)){f[c>>2]=93;break}if(!(cnb(f[d>>2]|0,483058)|0)){f[c>>2]=1100;break}if(!(cnb(f[d>>2]|0,483069)|0)){f[c>>2]=827;break}if(!(cnb(f[d>>2]|0,483088)|0)){f[c>>2]=828;break}if(!(cnb(f[d>>2]|0,483110)|0)){f[c>>2]=829;break}if(!(cnb(f[d>>2]|0,483129)|0)){f[c>>2]=252;break}if(!(cnb(f[d>>2]|0,483158)|0)){f[c>>2]=1101;break}if(!(cnb(f[d>>2]|0,483175)|0)){f[c>>2]=253;break}if(!(cnb(f[d>>2]|0,483190)|0)){f[c>>2]=254;break}if(!(cnb(f[d>>2]|0,483205)|0)){f[c>>2]=511;break}if(!(cnb(f[d>>2]|0,483226)|0)){f[c>>2]=255;break}if(!(cnb(f[d>>2]|0,483246)|0)){f[c>>2]=256;break}if(!(cnb(f[d>>2]|0,483266)|0)){f[c>>2]=257;break}if(!(cnb(f[d>>2]|0,483292)|0)){f[c>>2]=8;break}if(!(cnb(f[d>>2]|0,483311)|0)){f[c>>2]=16;break}if(!(cnb(f[d>>2]|0,483323)|0)){f[c>>2]=11;break}if(!(cnb(f[d>>2]|0,483335)|0)){f[c>>2]=5;break}if(!(cnb(f[d>>2]|0,483347)|0)){f[c>>2]=4;break}if(!(cnb(f[d>>2]|0,483359)|0)){f[c>>2]=830;break}if(!(cnb(f[d>>2]|0,483371)|0)){f[c>>2]=258;break}if(!(cnb(f[d>>2]|0,483383)|0)){f[c>>2]=94;break}if(!(cnb(f[d>>2]|0,483395)|0)){f[c>>2]=44;break}if(!(cnb(f[d>>2]|0,483407)|0)){f[c>>2]=259;break}if(!(cnb(f[d>>2]|0,483420)|0)){f[c>>2]=260;break}if(!(cnb(f[d>>2]|0,483433)|0)){f[c>>2]=261;break}if(!(cnb(f[d>>2]|0,483446)|0)){f[c>>2]=262;break}if(!(cnb(f[d>>2]|0,483459)|0)){f[c>>2]=263;break}if(!(cnb(f[d>>2]|0,483472)|0)){f[c>>2]=264;break}if(!(cnb(f[d>>2]|0,483485)|0)){f[c>>2]=265;break}if(!(cnb(f[d>>2]|0,483498)|0)){f[c>>2]=266;break}if(!(cnb(f[d>>2]|0,483511)|0)){f[c>>2]=95;break}if(!(cnb(f[d>>2]|0,483530)|0)){f[c>>2]=96;break}if(!(cnb(f[d>>2]|0,483549)|0)){f[c>>2]=97;break}if(!(cnb(f[d>>2]|0,483568)|0)){f[c>>2]=831;break}if(!(cnb(f[d>>2]|0,483581)|0)){f[c>>2]=17;break}if(!(cnb(f[d>>2]|0,483598)|0)){f[c>>2]=12;break}if(!(cnb(f[d>>2]|0,483615)|0)){f[c>>2]=6;break}if(!(cnb(f[d>>2]|0,483632)|0)){f[c>>2]=5;break}if(!(cnb(f[d>>2]|0,483649)|0)){f[c>>2]=832;break}if(!(cnb(f[d>>2]|0,483667)|0)){f[c>>2]=833;break}if(!(cnb(f[d>>2]|0,483685)|0)){f[c>>2]=834;break}if(!(cnb(f[d>>2]|0,483703)|0)){f[c>>2]=835;break}if(!(cnb(f[d>>2]|0,483721)|0)){f[c>>2]=512;break}if(!(cnb(f[d>>2]|0,483741)|0)){f[c>>2]=9;break}if(!(cnb(f[d>>2]|0,482510)|0)){f[c>>2]=1102;break}if(!(cnb(f[d>>2]|0,483759)|0)){f[c>>2]=1547;break}if(!(cnb(f[d>>2]|0,483774)|0)){f[c>>2]=98;break}if(!(cnb(f[d>>2]|0,483795)|0)){f[c>>2]=99;break}if(!(cnb(f[d>>2]|0,483810)|0)){f[c>>2]=100;break}if(!(cnb(f[d>>2]|0,483828)|0)){f[c>>2]=1548;break}if(!(cnb(f[d>>2]|0,483844)|0)){f[c>>2]=101;break}if(!(cnb(f[d>>2]|0,483863)|0)){f[c>>2]=267;break}if(!(cnb(f[d>>2]|0,483877)|0)){f[c>>2]=268;break}if(!(cnb(f[d>>2]|0,483892)|0)){f[c>>2]=1103;break}if(!(cnb(f[d>>2]|0,482441)|0)){f[c>>2]=12;break}if(!(cnb(f[d>>2]|0,483903)|0)){f[c>>2]=1549;break}if(!(cnb(f[d>>2]|0,482540)|0)){f[c>>2]=836;break}if(!(cnb(f[d>>2]|0,482570)|0)){f[c>>2]=837;break}if(!(cnb(f[d>>2]|0,483919)|0)){f[c>>2]=102;break}if(!(cnb(f[d>>2]|0,483946)|0)){f[c>>2]=1550;break}if(!(cnb(f[d>>2]|0,483960)|0)){f[c>>2]=103;break}if(!(cnb(f[d>>2]|0,482476)|0)){f[c>>2]=1551;break}if(!(cnb(f[d>>2]|0,483980)|0)){f[c>>2]=1552;break}if(!(cnb(f[d>>2]|0,483998)|0)){f[c>>2]=1104;break}if(!(cnb(f[d>>2]|0,484010)|0)){f[c>>2]=269;break}if(!(cnb(f[d>>2]|0,484031)|0)){f[c>>2]=838;break}if(!(cnb(f[d>>2]|0,484049)|0)){f[c>>2]=839;break}if(!(cnb(f[d>>2]|0,484067)|0)){f[c>>2]=840;break}if(!(cnb(f[d>>2]|0,484088)|0)){f[c>>2]=104;break}if(!(cnb(f[d>>2]|0,484114)|0)){f[c>>2]=45;break}if(!(cnb(f[d>>2]|0,484137)|0)){f[c>>2]=105;break}if(!(cnb(f[d>>2]|0,484175)|0)){f[c>>2]=1105;break}if(!(cnb(f[d>>2]|0,484191)|0)){f[c>>2]=1553;break}if(!(cnb(f[d>>2]|0,484206)|0)){f[c>>2]=270;break}if(!(cnb(f[d>>2]|0,484229)|0)){f[c>>2]=106;break}if(!(cnb(f[d>>2]|0,484242)|0)){f[c>>2]=841;break}if(!(cnb(f[d>>2]|0,484256)|0)){f[c>>2]=842;break}if(!(cnb(f[d>>2]|0,484270)|0)){f[c>>2]=13;break}if(!(cnb(f[d>>2]|0,484290)|0)){f[c>>2]=1554;break}if(!(cnb(f[d>>2]|0,484310)|0)){f[c>>2]=107;break}if(!(cnb(f[d>>2]|0,484326)|0)){f[c>>2]=108;break}if(!(cnb(f[d>>2]|0,484344)|0)){f[c>>2]=271;break}if(!(cnb(f[d>>2]|0,484360)|0)){f[c>>2]=109;break}if(!(cnb(f[d>>2]|0,484375)|0)){f[c>>2]=1555;break}if(!(cnb(f[d>>2]|0,484397)|0)){f[c>>2]=1106;break}if(!(cnb(f[d>>2]|0,484413)|0)){f[c>>2]=843;break}if(!(cnb(f[d>>2]|0,484431)|0)){f[c>>2]=844;break}if(!(cnb(f[d>>2]|0,484452)|0)){f[c>>2]=1556;break}if(!(cnb(f[d>>2]|0,484470)|0)){f[c>>2]=1557;break}if(!(cnb(f[d>>2]|0,484483)|0)){f[c>>2]=8;break}if(!(cnb(f[d>>2]|0,484498)|0)){f[c>>2]=1558;break}if(!(cnb(f[d>>2]|0,484512)|0)){f[c>>2]=1;break}if(!(cnb(f[d>>2]|0,484522)|0)){f[c>>2]=1;break}if(!(cnb(f[d>>2]|0,484532)|0)){f[c>>2]=14;break}if(!(cnb(f[d>>2]|0,484554)|0)){f[c>>2]=1559;break}if(!(cnb(f[d>>2]|0,484580)|0)){f[c>>2]=1560;break}if(!(cnb(f[d>>2]|0,484607)|0)){f[c>>2]=272;break}if(!(cnb(f[d>>2]|0,484620)|0)){f[c>>2]=110;break}if(!(cnb(f[d>>2]|0,484635)|0)){f[c>>2]=46;break}if(!(cnb(f[d>>2]|0,484650)|0)){f[c>>2]=9;break}if(!(cnb(f[d>>2]|0,484674)|0)){f[c>>2]=13;break}if(!(cnb(f[d>>2]|0,484685)|0)){f[c>>2]=845;break}if(!(cnb(f[d>>2]|0,484707)|0)){f[c>>2]=111;break}if(!(cnb(f[d>>2]|0,484729)|0)){f[c>>2]=47;break}if(!(cnb(f[d>>2]|0,484753)|0)){f[c>>2]=10;break}if(!(cnb(f[d>>2]|0,484762)|0)){f[c>>2]=11;break}if(!(cnb(f[d>>2]|0,484770)|0)){f[c>>2]=1;break}if(!(cnb(f[d>>2]|0,484783)|0)){f[c>>2]=2;break}if(!(cnb(f[d>>2]|0,484797)|0)){f[c>>2]=1561;break}if(!(cnb(f[d>>2]|0,484809)|0)){f[c>>2]=1562;break}if(!(cnb(f[d>>2]|0,484818)|0)){f[c>>2]=1563;break}if(!(cnb(f[d>>2]|0,484828)|0)){f[c>>2]=1564;break}if(!(cnb(f[d>>2]|0,484840)|0)){f[c>>2]=1565;break}if(!(cnb(f[d>>2]|0,484851)|0)){f[c>>2]=1566;break}if(!(cnb(f[d>>2]|0,484859)|0)){f[c>>2]=3;break}if(!(cnb(f[d>>2]|0,484871)|0)){f[c>>2]=1567;break}if(!(cnb(f[d>>2]|0,484886)|0)){f[c>>2]=1568;break}if(!(cnb(f[d>>2]|0,484898)|0)){f[c>>2]=1569;break}if(!(cnb(f[d>>2]|0,484912)|0)){f[c>>2]=1107;break}if(!(cnb(f[d>>2]|0,484937)|0)){f[c>>2]=1570;break}if(!(cnb(f[d>>2]|0,484954)|0)){f[c>>2]=1571;break}if(!(cnb(f[d>>2]|0,484970)|0)){f[c>>2]=1572;break}if(!(cnb(f[d>>2]|0,484986)|0)){f[c>>2]=1108;break}if(!(cnb(f[d>>2]|0,484998)|0)){f[c>>2]=846;break}if(!(cnb(f[d>>2]|0,485010)|0)){f[c>>2]=847;break}if(!(cnb(f[d>>2]|0,485034)|0)){f[c>>2]=1;break}if(!(cnb(f[d>>2]|0,485047)|0)){f[c>>2]=2;break}if(!(cnb(f[d>>2]|0,485061)|0)){f[c>>2]=848;break}if(!(cnb(f[d>>2]|0,485083)|0)){f[c>>2]=849;break}if(!(cnb(f[d>>2]|0,485090)|0)){f[c>>2]=3;break}if(!(cnb(f[d>>2]|0,485106)|0)){f[c>>2]=1;break}if(!(cnb(f[d>>2]|0,485123)|0)){f[c>>2]=273;break}if(!(cnb(f[d>>2]|0,485137)|0)){f[c>>2]=274;break}if(!(cnb(f[d>>2]|0,485149)|0)){f[c>>2]=112;break}if(!(cnb(f[d>>2]|0,485160)|0)){f[c>>2]=2;break}if(!(cnb(f[d>>2]|0,485173)|0)){f[c>>2]=113;break}if(!(cnb(f[d>>2]|0,485183)|0)){f[c>>2]=114;break}if(!(cnb(f[d>>2]|0,485195)|0)){f[c>>2]=115;break}if(!(cnb(f[d>>2]|0,485217)|0)){f[c>>2]=116;break}if(!(cnb(f[d>>2]|0,485237)|0)){f[c>>2]=3;break}if(!(cnb(f[d>>2]|0,485250)|0)){f[c>>2]=117;break}if(!(cnb(f[d>>2]|0,485272)|0)){f[c>>2]=118;break}if(!(cnb(f[d>>2]|0,485292)|0)){f[c>>2]=3;break}if(!(cnb(f[d>>2]|0,485309)|0)){f[c>>2]=4;break}if(!(cnb(f[d>>2]|0,485329)|0)){f[c>>2]=850;break}if(!(cnb(f[d>>2]|0,485343)|0)){f[c>>2]=119;break}if(!(cnb(f[d>>2]|0,485363)|0)){f[c>>2]=48;break}if(!(cnb(f[d>>2]|0,485385)|0)){f[c>>2]=49;break}if(!(cnb(f[d>>2]|0,485408)|0)){f[c>>2]=513;break}if(!(cnb(f[d>>2]|0,485431)|0)){f[c>>2]=120;break}if(!(cnb(f[d>>2]|0,485457)|0)){f[c>>2]=50;break}if(!(cnb(f[d>>2]|0,485485)|0)){f[c>>2]=275;break}if(!(cnb(f[d>>2]|0,485507)|0)){f[c>>2]=51;break}if(!(cnb(f[d>>2]|0,485520)|0)){f[c>>2]=276;break}if(!(cnb(f[d>>2]|0,485536)|0)){f[c>>2]=277;break}if(!(cnb(f[d>>2]|0,485552)|0)){f[c>>2]=851;break}if(!(cnb(f[d>>2]|0,485562)|0)){f[c>>2]=852;break}if(!(cnb(f[d>>2]|0,485573)|0)){f[c>>2]=514;break}if(!(cnb(f[d>>2]|0,485586)|0)){f[c>>2]=1573;break}if(!(cnb(f[d>>2]|0,485611)|0)){f[c>>2]=12;break}if(!(cnb(f[d>>2]|0,485634)|0)){f[c>>2]=52;break}if(!(cnb(f[d>>2]|0,485652)|0)){f[c>>2]=278;break}if(!(cnb(f[d>>2]|0,485669)|0)){f[c>>2]=121;break}if(!(cnb(f[d>>2]|0,485697)|0)){f[c>>2]=10;break}if(!(cnb(f[d>>2]|0,485727)|0)){f[c>>2]=853;break}if(!(cnb(f[d>>2]|0,485740)|0)){f[c>>2]=854;break}if(!(cnb(f[d>>2]|0,485765)|0)){f[c>>2]=13;break}if(!(cnb(f[d>>2]|0,485788)|0)){f[c>>2]=53;break}if(!(cnb(f[d>>2]|0,485811)|0)){f[c>>2]=279;break}if(!(cnb(f[d>>2]|0,485832)|0)){f[c>>2]=280;break}if(!(cnb(f[d>>2]|0,485854)|0)){f[c>>2]=855;break}if(!(cnb(f[d>>2]|0,485872)|0)){f[c>>2]=281;break}if(!(cnb(f[d>>2]|0,485890)|0)){f[c>>2]=122;break}if(!(cnb(f[d>>2]|0,485908)|0)){f[c>>2]=54;break}if(!(cnb(f[d>>2]|0,485926)|0)){f[c>>2]=856;break}if(!(cnb(f[d>>2]|0,485945)|0)){f[c>>2]=282;break}if(!(cnb(f[d>>2]|0,485964)|0)){f[c>>2]=123;break}if(!(cnb(f[d>>2]|0,485983)|0)){f[c>>2]=55;break}if(!(cnb(f[d>>2]|0,486002)|0)){f[c>>2]=857;break}if(!(cnb(f[d>>2]|0,486021)|0)){f[c>>2]=858;break}if(!(cnb(f[d>>2]|0,486040)|0)){f[c>>2]=859;break}if(!(cnb(f[d>>2]|0,486059)|0)){f[c>>2]=860;break}if(!(cnb(f[d>>2]|0,486078)|0)){f[c>>2]=861;break}if(!(cnb(f[d>>2]|0,486098)|0)){f[c>>2]=862;break}if(!(cnb(f[d>>2]|0,486118)|0)){f[c>>2]=863;break}if(!(cnb(f[d>>2]|0,486138)|0)){f[c>>2]=864;break}if(!(cnb(f[d>>2]|0,486158)|0)){f[c>>2]=865;break}if(!(cnb(f[d>>2]|0,486177)|0)){f[c>>2]=866;break}if(!(cnb(f[d>>2]|0,486196)|0)){f[c>>2]=867;break}if(!(cnb(f[d>>2]|0,486216)|0)){f[c>>2]=868;break}if(!(cnb(f[d>>2]|0,486236)|0)){f[c>>2]=283;break}if(!(cnb(f[d>>2]|0,486252)|0)){f[c>>2]=284;break}if(!(cnb(f[d>>2]|0,486275)|0)){f[c>>2]=515;break}if(!(cnb(f[d>>2]|0,486297)|0)){f[c>>2]=869;break}if(!(cnb(f[d>>2]|0,486310)|0)){f[c>>2]=285;break}if(!(cnb(f[d>>2]|0,486323)|0)){f[c>>2]=124;break}if(!(cnb(f[d>>2]|0,486336)|0)){f[c>>2]=56;break}if(!(cnb(f[d>>2]|0,486297)|0)){f[c>>2]=869;break}if(!(cnb(f[d>>2]|0,486310)|0)){f[c>>2]=285;break}if(!(cnb(f[d>>2]|0,486323)|0)){f[c>>2]=124;break}if(!(cnb(f[d>>2]|0,486336)|0)){f[c>>2]=56;break}if(!(cnb(f[d>>2]|0,486349)|0)){f[c>>2]=286;break}if(!(cnb(f[d>>2]|0,486367)|0)){f[c>>2]=287;break}if(!(cnb(f[d>>2]|0,486386)|0)){f[c>>2]=288;break}if(!(cnb(f[d>>2]|0,486407)|0)){f[c>>2]=289;break}if(!(cnb(f[d>>2]|0,486429)|0)){f[c>>2]=290;break}if(!(cnb(f[d>>2]|0,486445)|0)){f[c>>2]=291;break}if(!(cnb(f[d>>2]|0,486462)|0)){f[c>>2]=292;break}if(cnb(f[d>>2]|0,486478)|0){f[c>>2]=0;break}else{f[c>>2]=1;break}}else f[c>>2]=818;while(0);u=g;return f[c>>2]|0}function Cmb(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,s=0,t=0,v=0,w=0,x=0;x=u;u=u+16|0;n=x;do if(a>>>0<245){k=a>>>0<11?16:a+11&-8;a=k>>>3;m=f[125726]|0;c=m>>>a;if(c&3|0){b=(c&1^1)+a|0;a=502944+(b<<1<<2)|0;c=a+8|0;d=f[c>>2]|0;e=d+8|0;g=f[e>>2]|0;if((g|0)==(a|0))f[125726]=m&~(1<<b);else{f[g+12>>2]=a;f[c>>2]=g}w=b<<3;f[d+4>>2]=w|3;w=d+w+4|0;f[w>>2]=f[w>>2]|1;w=e;u=x;return w|0}l=f[125728]|0;if(k>>>0>l>>>0){if(c|0){b=2<<a;b=c<<a&(b|0-b);b=(b&0-b)+-1|0;i=b>>>12&16;b=b>>>i;c=b>>>5&8;b=b>>>c;g=b>>>2&4;b=b>>>g;a=b>>>1&2;b=b>>>a;d=b>>>1&1;d=(c|i|g|a|d)+(b>>>d)|0;b=502944+(d<<1<<2)|0;a=b+8|0;g=f[a>>2]|0;i=g+8|0;c=f[i>>2]|0;if((c|0)==(b|0)){a=m&~(1<<d);f[125726]=a}else{f[c+12>>2]=b;f[a>>2]=c;a=m}w=d<<3;h=w-k|0;f[g+4>>2]=k|3;e=g+k|0;f[e+4>>2]=h|1;f[g+w>>2]=h;if(l|0){d=f[125731]|0;b=l>>>3;c=502944+(b<<1<<2)|0;b=1<<b;if(!(a&b)){f[125726]=a|b;b=c;a=c+8|0}else{a=c+8|0;b=f[a>>2]|0}f[a>>2]=d;f[b+12>>2]=d;f[d+8>>2]=b;f[d+12>>2]=c}f[125728]=h;f[125731]=e;w=i;u=x;return w|0}g=f[125727]|0;if(g){c=(g&0-g)+-1|0;e=c>>>12&16;c=c>>>e;d=c>>>5&8;c=c>>>d;h=c>>>2&4;c=c>>>h;i=c>>>1&2;c=c>>>i;j=c>>>1&1;j=f[503208+((d|e|h|i|j)+(c>>>j)<<2)>>2]|0;c=j;i=j;j=(f[j+4>>2]&-8)-k|0;while(1){a=f[c+16>>2]|0;if(!a){a=f[c+20>>2]|0;if(!a)break}h=(f[a+4>>2]&-8)-k|0;e=h>>>0<j>>>0;c=a;i=e?a:i;j=e?h:j}h=i+k|0;if(h>>>0>i>>>0){e=f[i+24>>2]|0;b=f[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=f[a>>2]|0;if(!b){a=i+16|0;b=f[a>>2]|0;if(!b){c=0;break}}while(1){d=b+20|0;c=f[d>>2]|0;if(!c){d=b+16|0;c=f[d>>2]|0;if(!c)break;else{b=c;a=d}}else{b=c;a=d}}f[a>>2]=0;c=b}else{c=f[i+8>>2]|0;f[c+12>>2]=b;f[b+8>>2]=c;c=b}while(0);do if(e|0){b=f[i+28>>2]|0;a=503208+(b<<2)|0;if((i|0)==(f[a>>2]|0)){f[a>>2]=c;if(!c){f[125727]=g&~(1<<b);break}}else{w=e+16|0;f[((f[w>>2]|0)==(i|0)?w:e+20|0)>>2]=c;if(!c)break}f[c+24>>2]=e;b=f[i+16>>2]|0;if(b|0){f[c+16>>2]=b;f[b+24>>2]=c}b=f[i+20>>2]|0;if(b|0){f[c+20>>2]=b;f[b+24>>2]=c}}while(0);if(j>>>0<16){w=j+k|0;f[i+4>>2]=w|3;w=i+w+4|0;f[w>>2]=f[w>>2]|1}else{f[i+4>>2]=k|3;f[h+4>>2]=j|1;f[h+j>>2]=j;if(l|0){d=f[125731]|0;b=l>>>3;c=502944+(b<<1<<2)|0;b=1<<b;if(!(b&m)){f[125726]=b|m;b=c;a=c+8|0}else{a=c+8|0;b=f[a>>2]|0}f[a>>2]=d;f[b+12>>2]=d;f[d+8>>2]=b;f[d+12>>2]=c}f[125728]=j;f[125731]=h}w=i+8|0;u=x;return w|0}else m=k}else m=k}else m=k}else if(a>>>0<=4294967231){a=a+11|0;k=a&-8;d=f[125727]|0;if(d){e=0-k|0;a=a>>>8;if(a)if(k>>>0>16777215)j=31;else{m=(a+1048320|0)>>>16&8;q=a<<m;i=(q+520192|0)>>>16&4;q=q<<i;j=(q+245760|0)>>>16&2;j=14-(i|m|j)+(q<<j>>>15)|0;j=k>>>(j+7|0)&1|j<<1}else j=0;c=f[503208+(j<<2)>>2]|0;a:do if(!c){c=0;a=0;q=61}else{a=0;i=k<<((j|0)==31?0:25-(j>>>1)|0);g=0;while(1){h=(f[c+4>>2]&-8)-k|0;if(h>>>0<e>>>0)if(!h){a=c;e=0;q=65;break a}else{a=c;e=h}q=f[c+20>>2]|0;c=f[c+16+(i>>>31<<2)>>2]|0;g=(q|0)==0|(q|0)==(c|0)?g:q;if(!c){c=g;q=61;break}else i=i<<1}}while(0);if((q|0)==61){if((c|0)==0&(a|0)==0){a=2<<j;a=(a|0-a)&d;if(!a){m=k;break}m=(a&0-a)+-1|0;h=m>>>12&16;m=m>>>h;g=m>>>5&8;m=m>>>g;i=m>>>2&4;m=m>>>i;j=m>>>1&2;m=m>>>j;c=m>>>1&1;a=0;c=f[503208+((g|h|i|j|c)+(m>>>c)<<2)>>2]|0}if(!c){i=a;h=e}else q=65}if((q|0)==65){g=c;while(1){m=(f[g+4>>2]&-8)-k|0;c=m>>>0<e>>>0;e=c?m:e;a=c?g:a;c=f[g+16>>2]|0;if(!c)c=f[g+20>>2]|0;if(!c){i=a;h=e;break}else g=c}}if(((i|0)!=0?h>>>0<((f[125728]|0)-k|0)>>>0:0)?(l=i+k|0,l>>>0>i>>>0):0){g=f[i+24>>2]|0;b=f[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=f[a>>2]|0;if(!b){a=i+16|0;b=f[a>>2]|0;if(!b){b=0;break}}while(1){e=b+20|0;c=f[e>>2]|0;if(!c){e=b+16|0;c=f[e>>2]|0;if(!c)break;else{b=c;a=e}}else{b=c;a=e}}f[a>>2]=0}else{w=f[i+8>>2]|0;f[w+12>>2]=b;f[b+8>>2]=w}while(0);do if(g){a=f[i+28>>2]|0;c=503208+(a<<2)|0;if((i|0)==(f[c>>2]|0)){f[c>>2]=b;if(!b){d=d&~(1<<a);f[125727]=d;break}}else{w=g+16|0;f[((f[w>>2]|0)==(i|0)?w:g+20|0)>>2]=b;if(!b)break}f[b+24>>2]=g;a=f[i+16>>2]|0;if(a|0){f[b+16>>2]=a;f[a+24>>2]=b}a=f[i+20>>2]|0;if(a){f[b+20>>2]=a;f[a+24>>2]=b}}while(0);b:do if(h>>>0<16){w=h+k|0;f[i+4>>2]=w|3;w=i+w+4|0;f[w>>2]=f[w>>2]|1}else{f[i+4>>2]=k|3;f[l+4>>2]=h|1;f[l+h>>2]=h;b=h>>>3;if(h>>>0<256){c=502944+(b<<1<<2)|0;a=f[125726]|0;b=1<<b;if(!(a&b)){f[125726]=a|b;b=c;a=c+8|0}else{a=c+8|0;b=f[a>>2]|0}f[a>>2]=l;f[b+12>>2]=l;f[l+8>>2]=b;f[l+12>>2]=c;break}b=h>>>8;if(b)if(h>>>0>16777215)c=31;else{v=(b+1048320|0)>>>16&8;w=b<<v;t=(w+520192|0)>>>16&4;w=w<<t;c=(w+245760|0)>>>16&2;c=14-(t|v|c)+(w<<c>>>15)|0;c=h>>>(c+7|0)&1|c<<1}else c=0;b=503208+(c<<2)|0;f[l+28>>2]=c;a=l+16|0;f[a+4>>2]=0;f[a>>2]=0;a=1<<c;if(!(d&a)){f[125727]=d|a;f[b>>2]=l;f[l+24>>2]=b;f[l+12>>2]=l;f[l+8>>2]=l;break}b=f[b>>2]|0;c:do if((f[b+4>>2]&-8|0)!=(h|0)){d=h<<((c|0)==31?0:25-(c>>>1)|0);while(1){c=b+16+(d>>>31<<2)|0;a=f[c>>2]|0;if(!a)break;if((f[a+4>>2]&-8|0)==(h|0)){b=a;break c}else{d=d<<1;b=a}}f[c>>2]=l;f[l+24>>2]=b;f[l+12>>2]=l;f[l+8>>2]=l;break b}while(0);v=b+8|0;w=f[v>>2]|0;f[w+12>>2]=l;f[v>>2]=l;f[l+8>>2]=w;f[l+12>>2]=b;f[l+24>>2]=0}while(0);w=i+8|0;u=x;return w|0}else m=k}else m=k}else m=-1;while(0);c=f[125728]|0;if(c>>>0>=m>>>0){b=c-m|0;a=f[125731]|0;if(b>>>0>15){w=a+m|0;f[125731]=w;f[125728]=b;f[w+4>>2]=b|1;f[a+c>>2]=b;f[a+4>>2]=m|3}else{f[125728]=0;f[125731]=0;f[a+4>>2]=c|3;w=a+c+4|0;f[w>>2]=f[w>>2]|1}w=a+8|0;u=x;return w|0}h=f[125729]|0;if(h>>>0>m>>>0){t=h-m|0;f[125729]=t;w=f[125732]|0;v=w+m|0;f[125732]=v;f[v+4>>2]=t|1;f[w+4>>2]=m|3;w=w+8|0;u=x;return w|0}if(!(f[125844]|0)){f[125846]=4096;f[125845]=4096;f[125847]=-1;f[125848]=-1;f[125849]=0;f[125837]=0;f[125844]=n&-16^1431655768;a=4096}else a=f[125846]|0;i=m+48|0;j=m+47|0;g=a+j|0;e=0-a|0;k=g&e;if(k>>>0<=m>>>0){w=0;u=x;return w|0}a=f[125836]|0;if(a|0?(l=f[125834]|0,n=l+k|0,n>>>0<=l>>>0|n>>>0>a>>>0):0){w=0;u=x;return w|0}d:do if(!(f[125837]&4)){c=f[125732]|0;e:do if(c){d=503352;while(1){n=f[d>>2]|0;if(n>>>0<=c>>>0?(n+(f[d+4>>2]|0)|0)>>>0>c>>>0:0)break;a=f[d+8>>2]|0;if(!a){q=128;break e}else d=a}b=g-h&e;if(b>>>0<2147483647){a=bEb(b|0)|0;if((a|0)==((f[d>>2]|0)+(f[d+4>>2]|0)|0)){if((a|0)!=(-1|0)){h=b;g=a;q=145;break d}}else{d=a;q=136}}else b=0}else q=128;while(0);do if((q|0)==128){c=bEb(0)|0;if((c|0)!=(-1|0)?(b=c,o=f[125845]|0,p=o+-1|0,b=((p&b|0)==0?0:(p+b&0-o)-b|0)+k|0,o=f[125834]|0,p=b+o|0,b>>>0>m>>>0&b>>>0<2147483647):0){n=f[125836]|0;if(n|0?p>>>0<=o>>>0|p>>>0>n>>>0:0){b=0;break}a=bEb(b|0)|0;if((a|0)==(c|0)){h=b;g=c;q=145;break d}else{d=a;q=136}}else b=0}while(0);do if((q|0)==136){c=0-b|0;if(!(i>>>0>b>>>0&(b>>>0<2147483647&(d|0)!=(-1|0))))if((d|0)==(-1|0)){b=0;break}else{h=b;g=d;q=145;break d}a=f[125846]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=b;g=d;q=145;break d}if((bEb(a|0)|0)==(-1|0)){bEb(c|0)|0;b=0;break}else{h=a+b|0;g=d;q=145;break d}}while(0);f[125837]=f[125837]|4;q=143}else{b=0;q=143}while(0);if(((q|0)==143?k>>>0<2147483647:0)?(t=bEb(k|0)|0,p=bEb(0)|0,r=p-t|0,s=r>>>0>(m+40|0)>>>0,!((t|0)==(-1|0)|s^1|t>>>0<p>>>0&((t|0)!=(-1|0)&(p|0)!=(-1|0))^1)):0){h=s?r:b;g=t;q=145}if((q|0)==145){b=(f[125834]|0)+h|0;f[125834]=b;if(b>>>0>(f[125835]|0)>>>0)f[125835]=b;j=f[125732]|0;f:do if(j){b=503352;while(1){a=f[b>>2]|0;c=f[b+4>>2]|0;if((g|0)==(a+c|0)){q=154;break}d=f[b+8>>2]|0;if(!d)break;else b=d}if(((q|0)==154?(v=b+4|0,(f[b+12>>2]&8|0)==0):0)?g>>>0>j>>>0&a>>>0<=j>>>0:0){f[v>>2]=c+h;w=(f[125729]|0)+h|0;t=j+8|0;t=(t&7|0)==0?0:0-t&7;v=j+t|0;t=w-t|0;f[125732]=v;f[125729]=t;f[v+4>>2]=t|1;f[j+w+4>>2]=40;f[125733]=f[125848];break}if(g>>>0<(f[125730]|0)>>>0)f[125730]=g;c=g+h|0;b=503352;while(1){if((f[b>>2]|0)==(c|0)){q=162;break}a=f[b+8>>2]|0;if(!a)break;else b=a}if((q|0)==162?(f[b+12>>2]&8|0)==0:0){f[b>>2]=g;l=b+4|0;f[l>>2]=(f[l>>2]|0)+h;l=g+8|0;l=g+((l&7|0)==0?0:0-l&7)|0;b=c+8|0;b=c+((b&7|0)==0?0:0-b&7)|0;k=l+m|0;i=b-l-m|0;f[l+4>>2]=m|3;g:do if((j|0)==(b|0)){w=(f[125729]|0)+i|0;f[125729]=w;f[125732]=k;f[k+4>>2]=w|1}else{if((f[125731]|0)==(b|0)){w=(f[125728]|0)+i|0;f[125728]=w;f[125731]=k;f[k+4>>2]=w|1;f[k+w>>2]=w;break}a=f[b+4>>2]|0;if((a&3|0)==1){h=a&-8;d=a>>>3;h:do if(a>>>0<256){a=f[b+8>>2]|0;c=f[b+12>>2]|0;if((c|0)==(a|0)){f[125726]=f[125726]&~(1<<d);break}else{f[a+12>>2]=c;f[c+8>>2]=a;break}}else{g=f[b+24>>2]|0;a=f[b+12>>2]|0;do if((a|0)==(b|0)){c=b+16|0;d=c+4|0;a=f[d>>2]|0;if(!a){a=f[c>>2]|0;if(!a){a=0;break}}else c=d;while(1){e=a+20|0;d=f[e>>2]|0;if(!d){e=a+16|0;d=f[e>>2]|0;if(!d)break;else{a=d;c=e}}else{a=d;c=e}}f[c>>2]=0}else{w=f[b+8>>2]|0;f[w+12>>2]=a;f[a+8>>2]=w}while(0);if(!g)break;c=f[b+28>>2]|0;d=503208+(c<<2)|0;do if((f[d>>2]|0)!=(b|0)){w=g+16|0;f[((f[w>>2]|0)==(b|0)?w:g+20|0)>>2]=a;if(!a)break h}else{f[d>>2]=a;if(a|0)break;f[125727]=f[125727]&~(1<<c);break h}while(0);f[a+24>>2]=g;c=b+16|0;d=f[c>>2]|0;if(d|0){f[a+16>>2]=d;f[d+24>>2]=a}c=f[c+4>>2]|0;if(!c)break;f[a+20>>2]=c;f[c+24>>2]=a}while(0);b=b+h|0;e=h+i|0}else e=i;b=b+4|0;f[b>>2]=f[b>>2]&-2;f[k+4>>2]=e|1;f[k+e>>2]=e;b=e>>>3;if(e>>>0<256){c=502944+(b<<1<<2)|0;a=f[125726]|0;b=1<<b;if(!(a&b)){f[125726]=a|b;b=c;a=c+8|0}else{a=c+8|0;b=f[a>>2]|0}f[a>>2]=k;f[b+12>>2]=k;f[k+8>>2]=b;f[k+12>>2]=c;break}b=e>>>8;do if(!b)d=0;else{if(e>>>0>16777215){d=31;break}v=(b+1048320|0)>>>16&8;w=b<<v;t=(w+520192|0)>>>16&4;w=w<<t;d=(w+245760|0)>>>16&2;d=14-(t|v|d)+(w<<d>>>15)|0;d=e>>>(d+7|0)&1|d<<1}while(0);b=503208+(d<<2)|0;f[k+28>>2]=d;a=k+16|0;f[a+4>>2]=0;f[a>>2]=0;a=f[125727]|0;c=1<<d;if(!(a&c)){f[125727]=a|c;f[b>>2]=k;f[k+24>>2]=b;f[k+12>>2]=k;f[k+8>>2]=k;break}b=f[b>>2]|0;i:do if((f[b+4>>2]&-8|0)!=(e|0)){d=e<<((d|0)==31?0:25-(d>>>1)|0);while(1){c=b+16+(d>>>31<<2)|0;a=f[c>>2]|0;if(!a)break;if((f[a+4>>2]&-8|0)==(e|0)){b=a;break i}else{d=d<<1;b=a}}f[c>>2]=k;f[k+24>>2]=b;f[k+12>>2]=k;f[k+8>>2]=k;break g}while(0);v=b+8|0;w=f[v>>2]|0;f[w+12>>2]=k;f[v>>2]=k;f[k+8>>2]=w;f[k+12>>2]=b;f[k+24>>2]=0}while(0);w=l+8|0;u=x;return w|0}b=503352;while(1){a=f[b>>2]|0;if(a>>>0<=j>>>0?(w=a+(f[b+4>>2]|0)|0,w>>>0>j>>>0):0)break;b=f[b+8>>2]|0}e=w+-47|0;a=e+8|0;a=e+((a&7|0)==0?0:0-a&7)|0;e=j+16|0;a=a>>>0<e>>>0?j:a;b=a+8|0;c=h+-40|0;t=g+8|0;t=(t&7|0)==0?0:0-t&7;v=g+t|0;t=c-t|0;f[125732]=v;f[125729]=t;f[v+4>>2]=t|1;f[g+c+4>>2]=40;f[125733]=f[125848];c=a+4|0;f[c>>2]=27;f[b>>2]=f[125838];f[b+4>>2]=f[125839];f[b+8>>2]=f[125840];f[b+12>>2]=f[125841];f[125838]=g;f[125839]=h;f[125841]=0;f[125840]=b;b=a+24|0;do{v=b;b=b+4|0;f[b>>2]=7}while((v+8|0)>>>0<w>>>0);if((a|0)!=(j|0)){g=a-j|0;f[c>>2]=f[c>>2]&-2;f[j+4>>2]=g|1;f[a>>2]=g;b=g>>>3;if(g>>>0<256){c=502944+(b<<1<<2)|0;a=f[125726]|0;b=1<<b;if(!(a&b)){f[125726]=a|b;b=c;a=c+8|0}else{a=c+8|0;b=f[a>>2]|0}f[a>>2]=j;f[b+12>>2]=j;f[j+8>>2]=b;f[j+12>>2]=c;break}b=g>>>8;if(b)if(g>>>0>16777215)d=31;else{v=(b+1048320|0)>>>16&8;w=b<<v;t=(w+520192|0)>>>16&4;w=w<<t;d=(w+245760|0)>>>16&2;d=14-(t|v|d)+(w<<d>>>15)|0;d=g>>>(d+7|0)&1|d<<1}else d=0;c=503208+(d<<2)|0;f[j+28>>2]=d;f[j+20>>2]=0;f[e>>2]=0;b=f[125727]|0;a=1<<d;if(!(b&a)){f[125727]=b|a;f[c>>2]=j;f[j+24>>2]=c;f[j+12>>2]=j;f[j+8>>2]=j;break}b=f[c>>2]|0;j:do if((f[b+4>>2]&-8|0)!=(g|0)){d=g<<((d|0)==31?0:25-(d>>>1)|0);while(1){c=b+16+(d>>>31<<2)|0;a=f[c>>2]|0;if(!a)break;if((f[a+4>>2]&-8|0)==(g|0)){b=a;break j}else{d=d<<1;b=a}}f[c>>2]=j;f[j+24>>2]=b;f[j+12>>2]=j;f[j+8>>2]=j;break f}while(0);v=b+8|0;w=f[v>>2]|0;f[w+12>>2]=j;f[v>>2]=j;f[j+8>>2]=w;f[j+12>>2]=b;f[j+24>>2]=0}}else{w=f[125730]|0;if((w|0)==0|g>>>0<w>>>0)f[125730]=g;f[125838]=g;f[125839]=h;f[125841]=0;f[125735]=f[125844];f[125734]=-1;f[125739]=502944;f[125738]=502944;f[125741]=502952;f[125740]=502952;f[125743]=502960;f[125742]=502960;f[125745]=502968;f[125744]=502968;f[125747]=502976;f[125746]=502976;f[125749]=502984;f[125748]=502984;f[125751]=502992;f[125750]=502992;f[125753]=503e3;f[125752]=503e3;f[125755]=503008;f[125754]=503008;f[125757]=503016;f[125756]=503016;f[125759]=503024;f[125758]=503024;f[125761]=503032;f[125760]=503032;f[125763]=503040;f[125762]=503040;f[125765]=503048;f[125764]=503048;f[125767]=503056;f[125766]=503056;f[125769]=503064;f[125768]=503064;f[125771]=503072;f[125770]=503072;f[125773]=503080;f[125772]=503080;f[125775]=503088;f[125774]=503088;f[125777]=503096;f[125776]=503096;f[125779]=503104;f[125778]=503104;f[125781]=503112;f[125780]=503112;f[125783]=503120;f[125782]=503120;f[125785]=503128;f[125784]=503128;f[125787]=503136;f[125786]=503136;f[125789]=503144;f[125788]=503144;f[125791]=503152;f[125790]=503152;f[125793]=503160;f[125792]=503160;f[125795]=503168;f[125794]=503168;f[125797]=503176;f[125796]=503176;f[125799]=503184;f[125798]=503184;f[125801]=503192;f[125800]=503192;w=h+-40|0;t=g+8|0;t=(t&7|0)==0?0:0-t&7;v=g+t|0;t=w-t|0;f[125732]=v;f[125729]=t;f[v+4>>2]=t|1;f[g+w+4>>2]=40;f[125733]=f[125848]}while(0);b=f[125729]|0;if(b>>>0>m>>>0){t=b-m|0;f[125729]=t;w=f[125732]|0;v=w+m|0;f[125732]=v;f[v+4>>2]=t|1;f[w+4>>2]=m|3;w=w+8|0;u=x;return w|0}}w=Mmb()|0;f[w>>2]=12;w=0;u=x;return w|0}function Dmb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;if(!a)return;c=a+-8|0;e=f[125730]|0;a=f[a+-4>>2]|0;b=a&-8;j=c+b|0;do if(!(a&1)){d=f[c>>2]|0;if(!(a&3))return;h=c+(0-d)|0;g=d+b|0;if(h>>>0<e>>>0)return;if((f[125731]|0)==(h|0)){a=j+4|0;b=f[a>>2]|0;if((b&3|0)!=3){i=h;b=g;break}f[125728]=g;f[a>>2]=b&-2;f[h+4>>2]=g|1;f[h+g>>2]=g;return}c=d>>>3;if(d>>>0<256){a=f[h+8>>2]|0;b=f[h+12>>2]|0;if((b|0)==(a|0)){f[125726]=f[125726]&~(1<<c);i=h;b=g;break}else{f[a+12>>2]=b;f[b+8>>2]=a;i=h;b=g;break}}e=f[h+24>>2]|0;a=f[h+12>>2]|0;do if((a|0)==(h|0)){b=h+16|0;c=b+4|0;a=f[c>>2]|0;if(!a){a=f[b>>2]|0;if(!a){a=0;break}}else b=c;while(1){d=a+20|0;c=f[d>>2]|0;if(!c){d=a+16|0;c=f[d>>2]|0;if(!c)break;else{a=c;b=d}}else{a=c;b=d}}f[b>>2]=0}else{i=f[h+8>>2]|0;f[i+12>>2]=a;f[a+8>>2]=i}while(0);if(e){b=f[h+28>>2]|0;c=503208+(b<<2)|0;if((f[c>>2]|0)==(h|0)){f[c>>2]=a;if(!a){f[125727]=f[125727]&~(1<<b);i=h;b=g;break}}else{i=e+16|0;f[((f[i>>2]|0)==(h|0)?i:e+20|0)>>2]=a;if(!a){i=h;b=g;break}}f[a+24>>2]=e;b=h+16|0;c=f[b>>2]|0;if(c|0){f[a+16>>2]=c;f[c+24>>2]=a}b=f[b+4>>2]|0;if(b){f[a+20>>2]=b;f[b+24>>2]=a;i=h;b=g}else{i=h;b=g}}else{i=h;b=g}}else{i=c;h=c}while(0);if(h>>>0>=j>>>0)return;a=j+4|0;d=f[a>>2]|0;if(!(d&1))return;if(!(d&2)){if((f[125732]|0)==(j|0)){j=(f[125729]|0)+b|0;f[125729]=j;f[125732]=i;f[i+4>>2]=j|1;if((i|0)!=(f[125731]|0))return;f[125731]=0;f[125728]=0;return}if((f[125731]|0)==(j|0)){j=(f[125728]|0)+b|0;f[125728]=j;f[125731]=h;f[i+4>>2]=j|1;f[h+j>>2]=j;return}e=(d&-8)+b|0;c=d>>>3;do if(d>>>0<256){b=f[j+8>>2]|0;a=f[j+12>>2]|0;if((a|0)==(b|0)){f[125726]=f[125726]&~(1<<c);break}else{f[b+12>>2]=a;f[a+8>>2]=b;break}}else{g=f[j+24>>2]|0;a=f[j+12>>2]|0;do if((a|0)==(j|0)){b=j+16|0;c=b+4|0;a=f[c>>2]|0;if(!a){a=f[b>>2]|0;if(!a){c=0;break}}else b=c;while(1){d=a+20|0;c=f[d>>2]|0;if(!c){d=a+16|0;c=f[d>>2]|0;if(!c)break;else{a=c;b=d}}else{a=c;b=d}}f[b>>2]=0;c=a}else{c=f[j+8>>2]|0;f[c+12>>2]=a;f[a+8>>2]=c;c=a}while(0);if(g|0){a=f[j+28>>2]|0;b=503208+(a<<2)|0;if((f[b>>2]|0)==(j|0)){f[b>>2]=c;if(!c){f[125727]=f[125727]&~(1<<a);break}}else{d=g+16|0;f[((f[d>>2]|0)==(j|0)?d:g+20|0)>>2]=c;if(!c)break}f[c+24>>2]=g;a=j+16|0;b=f[a>>2]|0;if(b|0){f[c+16>>2]=b;f[b+24>>2]=c}a=f[a+4>>2]|0;if(a|0){f[c+20>>2]=a;f[a+24>>2]=c}}}while(0);f[i+4>>2]=e|1;f[h+e>>2]=e;if((i|0)==(f[125731]|0)){f[125728]=e;return}}else{f[a>>2]=d&-2;f[i+4>>2]=b|1;f[h+b>>2]=b;e=b}a=e>>>3;if(e>>>0<256){c=502944+(a<<1<<2)|0;b=f[125726]|0;a=1<<a;if(!(b&a)){f[125726]=b|a;a=c;b=c+8|0}else{b=c+8|0;a=f[b>>2]|0}f[b>>2]=i;f[a+12>>2]=i;f[i+8>>2]=a;f[i+12>>2]=c;return}a=e>>>8;if(a)if(e>>>0>16777215)d=31;else{h=(a+1048320|0)>>>16&8;j=a<<h;g=(j+520192|0)>>>16&4;j=j<<g;d=(j+245760|0)>>>16&2;d=14-(g|h|d)+(j<<d>>>15)|0;d=e>>>(d+7|0)&1|d<<1}else d=0;a=503208+(d<<2)|0;f[i+28>>2]=d;f[i+20>>2]=0;f[i+16>>2]=0;b=f[125727]|0;c=1<<d;a:do if(!(b&c)){f[125727]=b|c;f[a>>2]=i;f[i+24>>2]=a;f[i+12>>2]=i;f[i+8>>2]=i}else{a=f[a>>2]|0;b:do if((f[a+4>>2]&-8|0)!=(e|0)){d=e<<((d|0)==31?0:25-(d>>>1)|0);while(1){c=a+16+(d>>>31<<2)|0;b=f[c>>2]|0;if(!b)break;if((f[b+4>>2]&-8|0)==(e|0)){a=b;break b}else{d=d<<1;a=b}}f[c>>2]=i;f[i+24>>2]=a;f[i+12>>2]=i;f[i+8>>2]=i;break a}while(0);h=a+8|0;j=f[h>>2]|0;f[j+12>>2]=i;f[h>>2]=i;f[i+8>>2]=j;f[i+12>>2]=a;f[i+24>>2]=0}while(0);j=(f[125734]|0)+-1|0;f[125734]=j;if(j|0)return;a=503360;while(1){a=f[a>>2]|0;if(!a)break;else a=a+8|0}f[125734]=-1;return}function Emb(a,b){a=a|0;b=b|0;var c=0;if(a){c=W(b,a)|0;if((b|a)>>>0>65535)c=((c>>>0)/(a>>>0)|0|0)==(b|0)?c:-1}else c=0;a=Cmb(c)|0;if(!a)return a|0;if(!(f[a+-4>>2]&3))return a|0;_Db(a|0,0,c|0)|0;return a|0}function Fmb(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){b=Cmb(b)|0;return b|0}if(b>>>0>4294967231){b=Mmb()|0;f[b>>2]=12;b=0;return b|0}c=Gmb(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(c|0){b=c+8|0;return b|0}c=Cmb(b)|0;if(!c){b=0;return b|0}d=f[a+-4>>2]|0;d=(d&-8)-((d&3|0)==0?8:4)|0;YDb(c|0,a|0,(d>>>0<b>>>0?d:b)|0)|0;Dmb(a);b=c;return b|0}function Gmb(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+4|0;m=f[l>>2]|0;c=m&-8;i=a+c|0;if(!(m&3)){if(b>>>0<256){a=0;return a|0}if(c>>>0>=(b+4|0)>>>0?(c-b|0)>>>0<=f[125846]<<1>>>0:0)return a|0;a=0;return a|0}if(c>>>0>=b>>>0){c=c-b|0;if(c>>>0<=15)return a|0;k=a+b|0;f[l>>2]=m&1|b|2;f[k+4>>2]=c|3;m=i+4|0;f[m>>2]=f[m>>2]|1;Hmb(k,c);return a|0}if((f[125732]|0)==(i|0)){k=(f[125729]|0)+c|0;c=k-b|0;d=a+b|0;if(k>>>0<=b>>>0){a=0;return a|0}f[l>>2]=m&1|b|2;f[d+4>>2]=c|1;f[125732]=d;f[125729]=c;return a|0}if((f[125731]|0)==(i|0)){d=(f[125728]|0)+c|0;if(d>>>0<b>>>0){a=0;return a|0}c=d-b|0;if(c>>>0>15){k=a+b|0;d=a+d|0;f[l>>2]=m&1|b|2;f[k+4>>2]=c|1;f[d>>2]=c;d=d+4|0;f[d>>2]=f[d>>2]&-2;d=k}else{f[l>>2]=m&1|d|2;d=a+d+4|0;f[d>>2]=f[d>>2]|1;d=0;c=0}f[125728]=c;f[125731]=d;return a|0}d=f[i+4>>2]|0;if(d&2|0){a=0;return a|0}j=(d&-8)+c|0;if(j>>>0<b>>>0){a=0;return a|0}k=j-b|0;e=d>>>3;do if(d>>>0<256){d=f[i+8>>2]|0;c=f[i+12>>2]|0;if((c|0)==(d|0)){f[125726]=f[125726]&~(1<<e);break}else{f[d+12>>2]=c;f[c+8>>2]=d;break}}else{h=f[i+24>>2]|0;c=f[i+12>>2]|0;do if((c|0)==(i|0)){d=i+16|0;e=d+4|0;c=f[e>>2]|0;if(!c){c=f[d>>2]|0;if(!c){e=0;break}}else d=e;while(1){g=c+20|0;e=f[g>>2]|0;if(!e){g=c+16|0;e=f[g>>2]|0;if(!e)break;else{c=e;d=g}}else{c=e;d=g}}f[d>>2]=0;e=c}else{e=f[i+8>>2]|0;f[e+12>>2]=c;f[c+8>>2]=e;e=c}while(0);if(h|0){c=f[i+28>>2]|0;d=503208+(c<<2)|0;if((f[d>>2]|0)==(i|0)){f[d>>2]=e;if(!e){f[125727]=f[125727]&~(1<<c);break}}else{g=h+16|0;f[((f[g>>2]|0)==(i|0)?g:h+20|0)>>2]=e;if(!e)break}f[e+24>>2]=h;c=i+16|0;d=f[c>>2]|0;if(d|0){f[e+16>>2]=d;f[d+24>>2]=e}c=f[c+4>>2]|0;if(c|0){f[e+20>>2]=c;f[c+24>>2]=e}}}while(0);if(k>>>0<16){f[l>>2]=m&1|j|2;m=a+j+4|0;f[m>>2]=f[m>>2]|1;return a|0}else{i=a+b|0;f[l>>2]=m&1|b|2;f[i+4>>2]=k|3;m=a+j+4|0;f[m>>2]=f[m>>2]|1;Hmb(i,k);return a|0}return 0}function Hmb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=a+b|0;c=f[a+4>>2]|0;do if(!(c&1)){e=f[a>>2]|0;if(!(c&3))return;h=a+(0-e)|0;b=e+b|0;if((f[125731]|0)==(h|0)){a=i+4|0;c=f[a>>2]|0;if((c&3|0)!=3)break;f[125728]=b;f[a>>2]=c&-2;f[h+4>>2]=b|1;f[i>>2]=b;return}d=e>>>3;if(e>>>0<256){a=f[h+8>>2]|0;c=f[h+12>>2]|0;if((c|0)==(a|0)){f[125726]=f[125726]&~(1<<d);break}else{f[a+12>>2]=c;f[c+8>>2]=a;break}}g=f[h+24>>2]|0;a=f[h+12>>2]|0;do if((a|0)==(h|0)){c=h+16|0;d=c+4|0;a=f[d>>2]|0;if(!a){a=f[c>>2]|0;if(!a){a=0;break}}else c=d;while(1){e=a+20|0;d=f[e>>2]|0;if(!d){e=a+16|0;d=f[e>>2]|0;if(!d)break;else{a=d;c=e}}else{a=d;c=e}}f[c>>2]=0}else{e=f[h+8>>2]|0;f[e+12>>2]=a;f[a+8>>2]=e}while(0);if(g){c=f[h+28>>2]|0;d=503208+(c<<2)|0;if((f[d>>2]|0)==(h|0)){f[d>>2]=a;if(!a){f[125727]=f[125727]&~(1<<c);break}}else{e=g+16|0;f[((f[e>>2]|0)==(h|0)?e:g+20|0)>>2]=a;if(!a)break}f[a+24>>2]=g;c=h+16|0;d=f[c>>2]|0;if(d|0){f[a+16>>2]=d;f[d+24>>2]=a}c=f[c+4>>2]|0;if(c){f[a+20>>2]=c;f[c+24>>2]=a}}}else h=a;while(0);a=i+4|0;d=f[a>>2]|0;if(!(d&2)){if((f[125732]|0)==(i|0)){i=(f[125729]|0)+b|0;f[125729]=i;f[125732]=h;f[h+4>>2]=i|1;if((h|0)!=(f[125731]|0))return;f[125731]=0;f[125728]=0;return}if((f[125731]|0)==(i|0)){i=(f[125728]|0)+b|0;f[125728]=i;f[125731]=h;f[h+4>>2]=i|1;f[h+i>>2]=i;return}e=(d&-8)+b|0;c=d>>>3;do if(d>>>0<256){a=f[i+8>>2]|0;b=f[i+12>>2]|0;if((b|0)==(a|0)){f[125726]=f[125726]&~(1<<c);break}else{f[a+12>>2]=b;f[b+8>>2]=a;break}}else{g=f[i+24>>2]|0;b=f[i+12>>2]|0;do if((b|0)==(i|0)){a=i+16|0;c=a+4|0;b=f[c>>2]|0;if(!b){b=f[a>>2]|0;if(!b){c=0;break}}else a=c;while(1){d=b+20|0;c=f[d>>2]|0;if(!c){d=b+16|0;c=f[d>>2]|0;if(!c)break;else{b=c;a=d}}else{b=c;a=d}}f[a>>2]=0;c=b}else{c=f[i+8>>2]|0;f[c+12>>2]=b;f[b+8>>2]=c;c=b}while(0);if(g|0){b=f[i+28>>2]|0;a=503208+(b<<2)|0;if((f[a>>2]|0)==(i|0)){f[a>>2]=c;if(!c){f[125727]=f[125727]&~(1<<b);break}}else{d=g+16|0;f[((f[d>>2]|0)==(i|0)?d:g+20|0)>>2]=c;if(!c)break}f[c+24>>2]=g;b=i+16|0;a=f[b>>2]|0;if(a|0){f[c+16>>2]=a;f[a+24>>2]=c}b=f[b+4>>2]|0;if(b|0){f[c+20>>2]=b;f[b+24>>2]=c}}}while(0);f[h+4>>2]=e|1;f[h+e>>2]=e;if((h|0)==(f[125731]|0)){f[125728]=e;return}}else{f[a>>2]=d&-2;f[h+4>>2]=b|1;f[h+b>>2]=b;e=b}b=e>>>3;if(e>>>0<256){c=502944+(b<<1<<2)|0;a=f[125726]|0;b=1<<b;if(!(a&b)){f[125726]=a|b;b=c;a=c+8|0}else{a=c+8|0;b=f[a>>2]|0}f[a>>2]=h;f[b+12>>2]=h;f[h+8>>2]=b;f[h+12>>2]=c;return}b=e>>>8;if(b)if(e>>>0>16777215)d=31;else{g=(b+1048320|0)>>>16&8;i=b<<g;c=(i+520192|0)>>>16&4;i=i<<c;d=(i+245760|0)>>>16&2;d=14-(c|g|d)+(i<<d>>>15)|0;d=e>>>(d+7|0)&1|d<<1}else d=0;b=503208+(d<<2)|0;f[h+28>>2]=d;f[h+20>>2]=0;f[h+16>>2]=0;a=f[125727]|0;c=1<<d;if(!(a&c)){f[125727]=a|c;f[b>>2]=h;f[h+24>>2]=b;f[h+12>>2]=h;f[h+8>>2]=h;return}b=f[b>>2]|0;a:do if((f[b+4>>2]&-8|0)!=(e|0)){d=e<<((d|0)==31?0:25-(d>>>1)|0);while(1){c=b+16+(d>>>31<<2)|0;a=f[c>>2]|0;if(!a)break;if((f[a+4>>2]&-8|0)==(e|0)){b=a;break a}else{d=d<<1;b=a}}f[c>>2]=h;f[h+24>>2]=b;f[h+12>>2]=h;f[h+8>>2]=h;return}while(0);g=b+8|0;i=f[g>>2]|0;f[i+12>>2]=h;f[g>>2]=h;f[h+8>>2]=i;f[h+12>>2]=b;f[h+24>>2]=0;return}function Imb(a){a=a|0;var b=0,c=0;b=u;u=u+16|0;c=b;a=Nmb(f[a+60>>2]|0)|0;f[c>>2]=a;a=Lmb(wb(6,c|0)|0)|0;u=b;return a|0}function Jmb(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+32|0;e=k+16|0;i=k;f[i>>2]=c;g=i+4|0;j=a+48|0;l=f[j>>2]|0;f[g>>2]=d-((l|0)!=0&1);h=a+44|0;f[i+8>>2]=f[h>>2];f[i+12>>2]=l;f[e>>2]=f[a+60>>2];f[e+4>>2]=i;f[e+8>>2]=2;e=Lmb(mb(145,e|0)|0)|0;if((e|0)>=1){i=f[g>>2]|0;if(e>>>0>i>>>0){g=f[h>>2]|0;h=a+4|0;f[h>>2]=g;f[a+8>>2]=g+(e-i);if(!(f[j>>2]|0))e=d;else{f[h>>2]=g+1;b[c+(d+-1)>>0]=b[g>>0]|0;e=d}}}else f[a>>2]=f[a>>2]|e&48^16;u=k;return e|0}function Kmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=u;u=u+32|0;g=e;d=e+20|0;f[g>>2]=f[a+60>>2];f[g+4>>2]=0;f[g+8>>2]=b;f[g+12>>2]=d;f[g+16>>2]=c;if((Lmb(lb(140,g|0)|0)|0)<0){f[d>>2]=-1;a=-1}else a=f[d>>2]|0;u=e;return a|0}function Lmb(a){a=a|0;var b=0;if(a>>>0>4294963200){b=Mmb()|0;f[b>>2]=0-a;a=-1}return a|0}function Mmb(){return 503488}function Nmb(a){a=a|0;return a|0}function Omb(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;m=u;u=u+48|0;k=m+32|0;g=m+16|0;e=m;i=a+28|0;d=f[i>>2]|0;f[e>>2]=d;j=a+20|0;d=(f[j>>2]|0)-d|0;f[e+4>>2]=d;f[e+8>>2]=b;f[e+12>>2]=c;d=d+c|0;h=a+60|0;f[g>>2]=f[h>>2];f[g+4>>2]=e;f[g+8>>2]=2;g=Lmb(nb(146,g|0)|0)|0;a:do if((d|0)!=(g|0)){b=2;while(1){if((g|0)<0)break;d=d-g|0;o=f[e+4>>2]|0;n=g>>>0>o>>>0;e=n?e+8|0:e;b=b+(n<<31>>31)|0;o=g-(n?o:0)|0;f[e>>2]=(f[e>>2]|0)+o;n=e+4|0;f[n>>2]=(f[n>>2]|0)-o;f[k>>2]=f[h>>2];f[k+4>>2]=e;f[k+8>>2]=b;g=Lmb(nb(146,k|0)|0)|0;if((d|0)==(g|0)){l=3;break a}}f[a+16>>2]=0;f[i>>2]=0;f[j>>2]=0;f[a>>2]=f[a>>2]|32;if((b|0)==2)c=0;else c=c-(f[e+4>>2]|0)|0}else l=3;while(0);if((l|0)==3){o=f[a+44>>2]|0;f[a+16>>2]=o+(f[a+48>>2]|0);f[i>>2]=o;f[j>>2]=o}u=m;return c|0}function Pmb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+32|0;e=g;f[a+36>>2]=176;if((f[a>>2]&64|0)==0?(f[e>>2]=f[a+60>>2],f[e+4>>2]=21523,f[e+8>>2]=g+16,vb(54,e|0)|0):0)b[a+75>>0]=-1;e=Omb(a,c,d)|0;u=g;return e|0}function Qmb(a){a=a|0;var b=0;b=a;while(1)if(!(f[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function Rmb(a){a=a|0;var c=0,d=0,e=0;e=a;a:do if(!(e&3))d=5;else{c=e;while(1){if(!(b[a>>0]|0)){a=c;break a}a=a+1|0;c=a;if(!(c&3)){d=5;break}}}while(0);if((d|0)==5){while(1){c=f[a>>2]|0;if(!((c&-2139062144^-2139062144)&c+-16843009))a=a+4|0;else break}if((c&255)<<24>>24)do a=a+1|0;while((b[a>>0]|0)!=0)}return a-e|0}function Smb(a,b){a=a|0;b=b|0;Tmb(a,b)|0;return a|0}function Tmb(a,c){a=a|0;c=c|0;var d=0,e=0;d=c;a:do if(!((d^a)&3)){if(d&3)do{d=b[c>>0]|0;b[a>>0]=d;if(!(d<<24>>24))break a;c=c+1|0;a=a+1|0}while((c&3|0)!=0);d=f[c>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009)){e=a;while(1){c=c+4|0;a=e+4|0;f[e>>2]=d;d=f[c>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0)break;else e=a}}e=10}else e=10;while(0);if((e|0)==10){e=b[c>>0]|0;b[a>>0]=e;if(e<<24>>24)do{c=c+1|0;a=a+1|0;e=b[c>>0]|0;b[a>>0]=e}while(e<<24>>24!=0)}return a|0}function Umb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=c&255;a:do if(!e)a=a+(Rmb(a)|0)|0;else{if(a&3){d=c&255;do{g=b[a>>0]|0;if(g<<24>>24==0?1:g<<24>>24==d<<24>>24)break a;a=a+1|0}while((a&3|0)!=0)}e=W(e,16843009)|0;d=f[a>>2]|0;b:do if(!((d&-2139062144^-2139062144)&d+-16843009))do{g=d^e;if((g&-2139062144^-2139062144)&g+-16843009|0)break b;a=a+4|0;d=f[a>>2]|0}while(!((d&-2139062144^-2139062144)&d+-16843009|0));while(0);d=c&255;while(1){g=b[a>>0]|0;if(g<<24>>24==0?1:g<<24>>24==d<<24>>24)break;else a=a+1|0}}while(0);return a|0}function Vmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c|0){d=a;while(1){c=c+-1|0;f[d>>2]=b;if(!c)break;else d=d+4|0}}return a|0}function Wmb(a){a=a|0;var b=0,c=0;b=(Rmb(a)|0)+1|0;c=Cmb(b)|0;if(!c)a=0;else a=YDb(c|0,a|0,b|0)|0;return a|0}function Xmb(a,c){a=a|0;c=c|0;a=Umb(a,c)|0;return ((b[a>>0]|0)==(c&255)<<24>>24?a:0)|0}function Ymb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;h=c&255;e=(d|0)!=0;a:do if(e&(a&3|0)!=0){g=c&255;while(1){if((b[a>>0]|0)==g<<24>>24){i=6;break a}a=a+1|0;d=d+-1|0;e=(d|0)!=0;if(!(e&(a&3|0)!=0)){i=5;break}}}else i=5;while(0);if((i|0)==5)if(e)i=6;else i=16;b:do if((i|0)==6){g=c&255;if((b[a>>0]|0)==g<<24>>24)if(!d){i=16;break}else break;e=W(h,16843009)|0;c:do if(d>>>0>3)while(1){h=f[a>>2]^e;if((h&-2139062144^-2139062144)&h+-16843009|0)break c;a=a+4|0;d=d+-4|0;if(d>>>0<=3){i=11;break}}else i=11;while(0);if((i|0)==11)if(!d){i=16;break}while(1){if((b[a>>0]|0)==g<<24>>24)break b;d=d+-1|0;if(!d){i=16;break}else a=a+1|0}}while(0);if((i|0)==16)a=0;return a|0}function Zmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c|0){d=a;while(1){c=c+-1|0;f[d>>2]=f[b>>2];if(!c)break;else{b=b+4|0;d=d+4|0}}}return a|0}function _mb(a,b,c){a=a|0;b=b|0;c=c|0;$mb(a,b,c)|0;return a|0}function $mb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=c;a:do if(!((g^a)&3)){e=(d|0)!=0;if(e&(g&3|0)!=0)do{g=b[c>>0]|0;b[a>>0]=g;if(!(g<<24>>24))break a;d=d+-1|0;c=c+1|0;a=a+1|0;e=(d|0)!=0}while(e&(c&3|0)!=0);if(e){if(b[c>>0]|0){b:do if(d>>>0>3){e=c;while(1){c=f[e>>2]|0;if((c&-2139062144^-2139062144)&c+-16843009|0){c=e;break b}f[a>>2]=c;d=d+-4|0;c=e+4|0;a=a+4|0;if(d>>>0>3)e=c;else break}}while(0);h=13}}else d=0}else h=13;while(0);c:do if((h|0)==13)if(!d)d=0;else while(1){h=b[c>>0]|0;b[a>>0]=h;if(!(h<<24>>24))break c;d=d+-1|0;a=a+1|0;if(!d){d=0;break}else c=c+1|0}while(0);_Db(a|0,0,d|0)|0;return a|0}function anb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;a:do if(!d)a=0;else{while(1){e=b[a>>0]|0;f=b[c>>0]|0;if(e<<24>>24!=f<<24>>24)break;d=d+-1|0;if(!d){a=0;break a}else{a=a+1|0;c=c+1|0}}a=(e&255)-(f&255)|0}while(0);return a|0}function bnb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(a-b>>2>>>0>=c>>>0){if(c|0){d=a;while(1){c=c+-1|0;f[d>>2]=f[b>>2];if(!c)break;else{b=b+4|0;d=d+4|0}}}}else do{c=c+-1|0;f[a+(c<<2)>>2]=f[b+(c<<2)>>2]}while((c|0)!=0);return a|0}function cnb(a,c){a=a|0;c=c|0;var d=0,e=0;d=b[a>>0]|0;e=b[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24)a=e;else{do{a=a+1|0;c=c+1|0;d=b[a>>0]|0;e=b[c>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24));a=e}return (d&255)-(a&255)|0}function dnb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;if(!d)e=0;else{e=b[a>>0]|0;a:do if(!(e<<24>>24))e=0;else while(1){d=d+-1|0;f=b[c>>0]|0;if(!(e<<24>>24==f<<24>>24&((d|0)!=0&f<<24>>24!=0)))break a;a=a+1|0;c=c+1|0;e=b[a>>0]|0;if(!(e<<24>>24)){e=0;break}}while(0);e=(e&255)-(h[c>>0]|0)|0}return e|0}function enb(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;d=b[a>>0]|0;a:do if(!(d<<24>>24))a=0;else{f=a;a=d;e=d&255;while(1){d=b[c>>0]|0;if(!(d<<24>>24))break a;if(a<<24>>24!=d<<24>>24?(e=fnb(e)|0,(e|0)!=(fnb(h[c>>0]|0)|0)):0)break;a=f+1|0;c=c+1|0;d=b[a>>0]|0;if(!(d<<24>>24)){a=0;break a}else{f=a;a=d;e=d&255}}a=b[f>>0]|0}while(0);f=fnb(a&255)|0;return f-(fnb(h[c>>0]|0)|0)|0}function fnb(a){a=a|0;var b=0;b=(gnb(a)|0)==0;return (b?a:a|32)|0}function gnb(a){a=a|0;return (a+-65|0)>>>0<26|0}function hnb(a,c){a=a|0;c=c|0;var d=0;d=b[c>>0]|0;do if(d<<24>>24){a=Xmb(a,d<<24>>24)|0;if(a){if(b[c+1>>0]|0)if(b[a+1>>0]|0){if(!(b[c+2>>0]|0)){a=inb(a,c)|0;break}if(b[a+2>>0]|0){if(!(b[c+3>>0]|0)){a=jnb(a,c)|0;break}if(b[a+3>>0]|0)if(!(b[c+4>>0]|0)){a=knb(a,c)|0;break}else{a=lnb(a,c)|0;break}else a=0}else a=0}else a=0}else a=0}while(0);return a|0}function inb(a,c){a=a|0;c=c|0;var d=0,e=0;e=(h[c>>0]|0)<<8|(h[c+1>>0]|0);c=a+1|0;d=b[c>>0]|0;a:do if(!(d<<24>>24))c=0;else{d=(h[a>>0]|0)<<8|d&255;while(1){a=d&65535;if((a|0)==(e|0))break;c=c+1|0;d=b[c>>0]|0;if(!(d<<24>>24)){c=0;break a}else d=a<<8|d&255}c=c+-1|0}while(0);return c|0}function jnb(a,c){a=a|0;c=c|0;var d=0,e=0;e=(h[c+1>>0]|0)<<16|(h[c>>0]|0)<<24|(h[c+2>>0]|0)<<8;d=a+2|0;c=b[d>>0]|0;a=(h[a+1>>0]|0)<<16|(h[a>>0]|0)<<24|(c&255)<<8;c=c<<24>>24==0;if(!((a|0)==(e|0)|c))do{d=d+1|0;c=b[d>>0]|0;a=(a|c&255)<<8;c=c<<24>>24==0}while(!((a|0)==(e|0)|c));return (c?0:d+-2|0)|0}function knb(a,c){a=a|0;c=c|0;var d=0,e=0;e=(h[c+1>>0]|0)<<16|(h[c>>0]|0)<<24|(h[c+2>>0]|0)<<8|(h[c+3>>0]|0);d=a+3|0;c=b[d>>0]|0;a=(h[a+1>>0]|0)<<16|(h[a>>0]|0)<<24|(h[a+2>>0]|0)<<8|c&255;c=c<<24>>24==0;if(!((a|0)==(e|0)|c))do{d=d+1|0;c=b[d>>0]|0;a=a<<8|c&255;c=c<<24>>24==0}while(!((a|0)==(e|0)|c));return (c?0:d+-3|0)|0}function lnb(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;x=u;u=u+1056|0;v=x+1024|0;w=x;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[v+12>>2]=0;f[v+16>>2]=0;f[v+20>>2]=0;f[v+24>>2]=0;f[v+28>>2]=0;d=b[c>>0]|0;a:do if(d<<24>>24){p=0;do{if(!(b[a+p>>0]|0)){d=0;break a}t=d&255;s=v+(t>>>5<<2)|0;f[s>>2]=f[s>>2]|1<<(t&31);p=p+1|0;f[w+(t<<2)>>2]=p;d=b[c+p>>0]|0}while(d<<24>>24!=0);m=p>>>0>1;if(m){k=1;j=1;l=0;i=-1;n=1;while(1){d=b[c+(j+i)>>0]|0;e=b[c+n>>0]|0;do if(d<<24>>24==e<<24>>24)if((j|0)==(k|0)){g=k;d=1;e=k+l|0;break}else{g=k;d=j+1|0;e=l;break}else if((d&255)>(e&255)){g=n-i|0;d=1;e=n;break}else{g=1;d=1;e=l+1|0;i=l;break}while(0);n=d+e|0;if(n>>>0>=p>>>0)break;else{k=g;j=d;l=e}}if(m){m=1;l=1;n=0;e=-1;o=1;while(1){d=b[c+(l+e)>>0]|0;j=b[c+o>>0]|0;do if(d<<24>>24==j<<24>>24)if((l|0)==(m|0)){d=m;j=1;k=m+n|0;break}else{d=m;j=l+1|0;k=n;break}else if((d&255)<(j&255)){d=o-e|0;j=1;k=o;break}else{d=1;j=1;k=n+1|0;e=n;break}while(0);o=j+k|0;if(o>>>0>=p>>>0){t=p;j=25;break}else{m=d;l=j;n=k}}}else{t=p;d=1;e=-1;j=25}}else{g=1;i=-1;t=p;d=1;e=-1;j=25}}else{g=1;i=-1;t=0;d=1;e=-1;j=25}while(0);b:do if((j|0)==25){r=(e+1|0)>>>0>(i+1|0)>>>0;d=r?d:g;r=r?e:i;s=r+1|0;if(!(anb(c,c+d|0,s)|0)){m=t-d|0;q=m;l=d}else{m=t-r+-1|0;m=(r>>>0>m>>>0?r:m)+1|0;q=0;l=m;m=t-m|0}n=t|63;o=t+-1|0;p=(q|0)!=0;d=a;k=0;e=a;while(1){g=d;do if((e-g|0)>>>0<t>>>0){i=Ymb(e,0,n)|0;if(i)if((i-g|0)>>>0<t>>>0){d=0;break b}else break;else{i=e+n|0;break}}else i=e;while(0);e=h[d+o>>0]|0;c:do if(!(1<<(e&31)&f[v+(e>>>5<<2)>>2])){g=0;e=t}else{e=t-(f[w+(e<<2)>>2]|0)|0;if(e|0){g=0;e=p&(k|0)!=0&e>>>0<l>>>0?m:e;break}j=s>>>0>k>>>0;e=j?s:k;g=b[c+e>>0]|0;d:do if(g<<24>>24){while(1){if(g<<24>>24!=(b[d+e>>0]|0))break;e=e+1|0;g=b[c+e>>0]|0;if(!(g<<24>>24))break d}g=0;e=e-r|0;break c}while(0);if(!j)break b;e=s;while(1){e=e+-1|0;if((b[c+e>>0]|0)!=(b[d+e>>0]|0)){g=q;e=l;break c}if(e>>>0<=k>>>0)break b}}while(0);d=d+e|0;k=g;e=i}}while(0);u=x;return d|0}function mnb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!d)a=0;else{e=b[a>>0]|0;a:do if(!(e<<24>>24))a=0;else{g=a;a=e;e=e&255;while(1){d=d+-1|0;f=b[c>>0]|0;if(!((d|0)!=0&f<<24>>24!=0))break a;if(a<<24>>24!=f<<24>>24?(f=fnb(e)|0,(f|0)!=(fnb(h[c>>0]|0)|0)):0)break;a=g+1|0;c=c+1|0;e=b[a>>0]|0;if(!(e<<24>>24)){a=0;break a}else{g=a;a=e;e=e&255}}a=b[g>>0]|0}while(0);a=fnb(a&255)|0;a=a-(fnb(h[c>>0]|0)|0)|0}return a|0}function nnb(a){a=a|0;var b=0;b=(onb()|0)+188|0;return pnb(a,f[b>>2]|0)|0}function onb(){return unb()|0}function pnb(a,c){a=a|0;c=c|0;var d=0,e=0;d=0;while(1){if((h[266128+d>>0]|0)==(a|0)){e=4;break}d=d+1|0;if((d|0)==87){a=87;e=5;break}}if((e|0)==4)if(!d)d=266224;else{a=d;e=5}if((e|0)==5){d=266224;do{do{e=d;d=d+1|0}while((b[e>>0]|0)!=0);a=a+-1|0}while((a|0)!=0)}return qnb(d,f[c+20>>2]|0)|0}function qnb(a,b){a=a|0;b=b|0;return rnb(a,b)|0}function rnb(a,b){a=a|0;b=b|0;if(!b)b=0;else b=snb(f[b>>2]|0,f[b+4>>2]|0,a)|0;return ((b|0)==0?a:b)|0}function snb(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=(f[a>>2]|0)+1794895138|0;h=tnb(f[a+8>>2]|0,o)|0;e=tnb(f[a+12>>2]|0,o)|0;g=tnb(f[a+16>>2]|0,o)|0;a:do if((h>>>0<c>>>2>>>0?(n=c-(h<<2)|0,e>>>0<n>>>0&g>>>0<n>>>0):0)?((g|e)&3|0)==0:0){n=e>>>2;m=g>>>2;l=0;while(1){j=h>>>1;k=l+j|0;i=k<<1;g=i+n|0;e=tnb(f[a+(g<<2)>>2]|0,o)|0;g=tnb(f[a+(g+1<<2)>>2]|0,o)|0;if(!(g>>>0<c>>>0&e>>>0<(c-g|0)>>>0)){e=0;break a}if(b[a+(g+e)>>0]|0){e=0;break a}e=cnb(d,a+g|0)|0;if(!e)break;e=(e|0)<0;if((h|0)==1){e=0;break a}l=e?l:k;h=e?j:h-j|0}e=i+m|0;g=tnb(f[a+(e<<2)>>2]|0,o)|0;e=tnb(f[a+(e+1<<2)>>2]|0,o)|0;if(e>>>0<c>>>0&g>>>0<(c-e|0)>>>0)e=(b[a+(e+g)>>0]|0)==0?a+e|0:0;else e=0}else e=0;while(0);return e|0}function tnb(a,b){a=a|0;b=b|0;var c=0;c=XDb(a|0)|0;return ((b|0)==0?a:c)|0}function unb(){return 358240}function vnb(a){a=a|0;return (a+-48|0)>>>0<10|0}function wnb(a,b){a=+a;b=+b;var c=0,d=0;p[s>>3]=a;d=f[s>>2]|0;c=f[s+4>>2]|0;p[s>>3]=b;c=f[s+4>>2]&-2147483648|c&2147483647;f[s>>2]=d;f[s+4>>2]=c;return +(+p[s>>3])}function xnb(a){a=a|0;var b=0;b=(ynb(a)|0)==0;return (b?a:a&95)|0}function ynb(a){a=a|0;return (a+-97|0)>>>0<26|0}function znb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Anb(a,b,c)|0;return d|0}function Anb(a,b,c){a=a|0;b=b|0;c=c|0;c=Bnb(a,b,c,-1,-1)|0;return c|0}function Bnb(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;j=u;u=u+128|0;h=j;f[h>>2]=0;i=h+4|0;f[i>>2]=a;f[h+44>>2]=a;g=h+8|0;f[g>>2]=(a|0)<0?-1:a+2147483647|0;f[h+76>>2]=-1;Cnb(h,0);c=Dnb(h,c,1,d,e)|0;if(b|0)f[b>>2]=a+((f[i>>2]|0)+(f[h+108>>2]|0)-(f[g>>2]|0));u=j;return c|0}function Cnb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a+104>>2]=b;c=f[a+8>>2]|0;d=f[a+4>>2]|0;e=c-d|0;f[a+108>>2]=e;if((b|0)!=0&(e|0)>(b|0))f[a+100>>2]=d+b;else f[a+100>>2]=c;return}function Dnb(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;a:do if(c>>>0>36){g=Mmb()|0;f[g>>2]=22;g=0;e=0}else{r=a+4|0;q=a+100|0;do{i=f[r>>2]|0;if(i>>>0<(f[q>>2]|0)>>>0){f[r>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0}while((Fnb(i)|0)!=0);b:do switch(i|0){case 43:case 45:{i=((i|0)==45)<<31>>31;j=f[r>>2]|0;if(j>>>0<(f[q>>2]|0)>>>0){f[r>>2]=j+1;p=i;i=h[j>>0]|0;break b}else{p=i;i=Enb(a)|0;break b}}default:p=0}while(0);j=(c|0)==0;do if((c|16|0)==16&(i|0)==48){i=f[r>>2]|0;if(i>>>0<(f[q>>2]|0)>>>0){f[r>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0;if((i|32|0)!=120)if(j){o=8;n=47;break}else{n=32;break}i=f[r>>2]|0;if(i>>>0<(f[q>>2]|0)>>>0){f[r>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0;if((h[268033+i>>0]|0)>15){e=(f[q>>2]|0)==0;if(!e)f[r>>2]=(f[r>>2]|0)+-1;if(!d){Cnb(a,0);g=0;e=0;break a}if(e){g=0;e=0;break a}f[r>>2]=(f[r>>2]|0)+-1;g=0;e=0;break a}else{o=16;n=47}}else{c=j?10:c;if(c>>>0>(h[268033+i>>0]|0)>>>0)n=32;else{if(f[q>>2]|0)f[r>>2]=(f[r>>2]|0)+-1;Cnb(a,0);g=Mmb()|0;f[g>>2]=22;g=0;e=0;break a}}while(0);c:do if((n|0)==32)if((c|0)==10){c=i+-48|0;if(c>>>0<10){i=0;do{i=(i*10|0)+c|0;c=f[r>>2]|0;if(c>>>0<(f[q>>2]|0)>>>0){f[r>>2]=c+1;j=h[c>>0]|0}else j=Enb(a)|0;c=j+-48|0}while(c>>>0<10&i>>>0<429496729);if(c>>>0<10){m=0;do{d=LDb(i|0,m|0,10,0)|0;k=H;l=((c|0)<0)<<31>>31;o=~l;if(k>>>0>o>>>0|(k|0)==(o|0)&d>>>0>~c>>>0){d=10;c=m;n=76;break c}i=MDb(d|0,k|0,c|0,l|0)|0;m=H;c=f[r>>2]|0;if(c>>>0<(f[q>>2]|0)>>>0){f[r>>2]=c+1;j=h[c>>0]|0}else j=Enb(a)|0;c=j+-48|0}while(c>>>0<10&(m>>>0<429496729|(m|0)==429496729&i>>>0<2576980378));if(c>>>0>9){j=p;c=m}else{d=10;c=m;n=76}}else{j=p;c=0}}else{j=p;c=0;i=0}}else{o=c;n=47}while(0);d:do if((n|0)==47){if(!(o+-1&o)){n=b[486494+((o*23|0)>>>5&7)>>0]|0;d=b[268033+i>>0]|0;c=d&255;if(o>>>0>c>>>0){i=0;do{i=c|i<<n;c=f[r>>2]|0;if(c>>>0<(f[q>>2]|0)>>>0){f[r>>2]=c+1;j=h[c>>0]|0}else j=Enb(a)|0;d=b[268033+j>>0]|0;c=d&255}while(i>>>0<134217728&o>>>0>c>>>0);k=c;c=0}else{j=i;k=c;c=0;i=0}l=RDb(-1,-1,n|0)|0;m=H;if(o>>>0<=k>>>0|(m>>>0<c>>>0|(m|0)==(c|0)&l>>>0<i>>>0)){d=o;n=76;break}while(1){i=SDb(i|0,c|0,n|0)|0;c=H;i=i|d&255;j=f[r>>2]|0;if(j>>>0<(f[q>>2]|0)>>>0){f[r>>2]=j+1;j=h[j>>0]|0}else j=Enb(a)|0;d=b[268033+j>>0]|0;if(o>>>0<=(d&255)>>>0|(c>>>0>m>>>0|(c|0)==(m|0)&i>>>0>l>>>0)){d=o;n=76;break d}}}c=b[268033+i>>0]|0;d=c&255;if(o>>>0>d>>>0){i=0;do{i=d+(W(i,o)|0)|0;c=f[r>>2]|0;if(c>>>0<(f[q>>2]|0)>>>0){f[r>>2]=c+1;j=h[c>>0]|0}else j=Enb(a)|0;c=b[268033+j>>0]|0;d=c&255}while(i>>>0<119304647&o>>>0>d>>>0);k=c;c=0}else{j=i;k=c;i=0;c=0}if(o>>>0>d>>>0){m=QDb(-1,-1,o|0,0)|0;n=H;d=k;while(1){if(c>>>0>n>>>0|(c|0)==(n|0)&i>>>0>m>>>0){d=o;n=76;break d}k=LDb(i|0,c|0,o|0,0)|0;l=H;d=d&255;if(l>>>0>4294967295|(l|0)==-1&k>>>0>~d>>>0){d=o;n=76;break d}i=MDb(k|0,l|0,d|0,0)|0;c=H;j=f[r>>2]|0;if(j>>>0<(f[q>>2]|0)>>>0){f[r>>2]=j+1;j=h[j>>0]|0}else j=Enb(a)|0;d=b[268033+j>>0]|0;if(o>>>0<=(d&255)>>>0){d=o;n=76;break}}}else{d=o;n=76}}while(0);if((n|0)==76)if(d>>>0>(h[268033+j>>0]|0)>>>0){do{i=f[r>>2]|0;if(i>>>0<(f[q>>2]|0)>>>0){f[r>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0}while(d>>>0>(h[268033+i>>0]|0)>>>0);j=Mmb()|0;f[j>>2]=34;j=(e&1|0)==0&0==0?p:0;c=g;i=e}else j=p;if(f[q>>2]|0)f[r>>2]=(f[r>>2]|0)+-1;if(!(c>>>0<g>>>0|(c|0)==(g|0)&i>>>0<e>>>0)){if(!((e&1|0)!=0|0!=0|(j|0)!=0)){r=Mmb()|0;f[r>>2]=34;e=MDb(e|0,g|0,-1,-1)|0;g=H;break}if(c>>>0>g>>>0|(c|0)==(g|0)&i>>>0>e>>>0){r=Mmb()|0;f[r>>2]=34;break}}e=((j|0)<0)<<31>>31;e=NDb(i^j|0,c^e|0,j|0,e|0)|0;g=H}while(0);H=g;return e|0}function Enb(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,j=0;d=a+104|0;i=f[d>>2]|0;if((i|0)!=0?(f[a+108>>2]|0)>=(i|0):0)j=4;else{c=Gnb(a)|0;if((c|0)>=0){d=f[d>>2]|0;i=f[a+8>>2]|0;if(d){g=f[a+4>>2]|0;d=d-(f[a+108>>2]|0)|0;e=i;if((i-g|0)<(d|0))j=9;else f[a+100>>2]=g+(d+-1)}else{e=i;j=9}if((j|0)==9)f[a+100>>2]=i;d=a+4|0;if(!e)d=f[d>>2]|0;else{d=f[d>>2]|0;a=a+108|0;f[a>>2]=e+1-d+(f[a>>2]|0)}d=d+-1|0;if((c|0)!=(h[d>>0]|0|0))b[d>>0]=c}else j=4}if((j|0)==4){f[a+100>>2]=0;c=-1}return c|0}function Fnb(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function Gnb(a){a=a|0;var b=0,c=0;c=u;u=u+16|0;b=c;if((Hnb(a)|0)==0?(dj[f[a+32>>2]&255](a,b,1)|0)==1:0)a=h[b>>0]|0;else a=-1;u=c;return a|0}function Hnb(a){a=a|0;var c=0,d=0;c=a+74|0;d=b[c>>0]|0;b[c>>0]=d+255|d;c=a+20|0;d=a+28|0;if((f[c>>2]|0)>>>0>(f[d>>2]|0)>>>0)dj[f[a+36>>2]&255](a,0,0)|0;f[a+16>>2]=0;f[d>>2]=0;f[c>>2]=0;c=f[a>>2]|0;if(!(c&4)){d=(f[a+44>>2]|0)+(f[a+48>>2]|0)|0;f[a+8>>2]=d;f[a+4>>2]=d;c=c<<27>>31}else{f[a>>2]=c|32;c=-1}return c|0}function Inb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Jnb(a,b,c)|0;return d|0}function Jnb(a,b,c){a=a|0;b=b|0;c=c|0;c=Bnb(a,b,c,0,-2147483648)|0;return c|0}function Knb(a,b,c){a=a|0;b=b|0;c=c|0;c=Bnb(a,b,c,-1,0)|0;return c|0}function Lnb(a,b,c){a=a|0;b=b|0;c=c|0;c=Bnb(a,b,c,-2147483648,0)|0;return c|0}function Mnb(){return 358484}function Nnb(a){a=a|0;return (((a|32)+-97|0)>>>0<6|(vnb(a)|0)!=0)&1|0}function Onb(){var a=0;a=(Pnb()|0)+188|0;return ((f[f[a>>2]>>2]|0)==0?1:4)|0}function Pnb(){return unb()|0}function Qnb(){return 358488}function Rnb(){return 358492}function Snb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;f[e>>2]=c;c=Unb(a,b,e)|0;u=d;return c|0}function Tnb(a){a=a|0;var c=0,d=0,e=0,f=0,g=0;while(1){e=a+1|0;if(!(Fnb(b[a>>0]|0)|0))break;else a=e}d=b[a>>0]|0;switch(d|0){case 45:{a=1;f=5;break}case 43:{a=0;f=5;break}default:{g=0;c=a;a=d}}if((f|0)==5){g=a;c=e;a=b[e>>0]|0}if(!(vnb(a)|0))a=0;else{a=0;do{a=(a*10|0)+48-(b[c>>0]|0)|0;c=c+1|0}while((vnb(b[c>>0]|0)|0)!=0)}return ((g|0)==0?0-a|0:a)|0}function Unb(a,b,c){a=a|0;b=b|0;c=c|0;return Vnb(a,2147483647,b,c)|0}function Vnb(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;m=u;u=u+128|0;g=m+124|0;l=m;h=l;i=358496;j=h+124|0;do{f[h>>2]=f[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(j|0));if((c+-1|0)>>>0>2147483646)if(!c){a=g;c=1;k=4}else{c=Mmb()|0;f[c>>2]=75;c=-1}else k=4;if((k|0)==4){k=-2-a|0;k=c>>>0>k>>>0?k:c;f[l+48>>2]=k;g=l+20|0;f[g>>2]=a;f[l+44>>2]=a;c=a+k|0;a=l+16|0;f[a>>2]=c;f[l+28>>2]=c;c=Wnb(l,d,e)|0;if(k){l=f[g>>2]|0;b[l+(((l|0)==(f[a>>2]|0))<<31>>31)>>0]=0}}u=m;return c|0}function Wnb(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;r=u;u=u+224|0;m=r+208|0;o=r+160|0;p=r+80|0;q=r;e=o;g=e+40|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));f[m>>2]=f[d>>2];if((Xnb(0,c,m,p,o)|0)<0)d=-1;else{if((f[a+76>>2]|0)>-1)n=Ynb(a)|0;else n=0;d=f[a>>2]|0;l=d&32;if((b[a+74>>0]|0)<1)f[a>>2]=d&-33;e=a+48|0;if(!(f[e>>2]|0)){g=a+44|0;h=f[g>>2]|0;f[g>>2]=q;i=a+28|0;f[i>>2]=q;j=a+20|0;f[j>>2]=q;f[e>>2]=80;k=a+16|0;f[k>>2]=q+80;d=Xnb(a,c,m,p,o)|0;if(h){dj[f[a+36>>2]&255](a,0,0)|0;d=(f[j>>2]|0)==0?-1:d;f[g>>2]=h;f[e>>2]=0;f[k>>2]=0;f[i>>2]=0;f[j>>2]=0}}else d=Xnb(a,c,m,p,o)|0;e=f[a>>2]|0;f[a>>2]=e|l;if(n|0)Znb(a);d=(e&32|0)==0?d:-1}u=r;return d|0}function Xnb(a,c,e,g,h){a=a|0;c=c|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,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,I=0;I=u;u=u+64|0;C=I+56|0;D=I+40|0;z=I;F=I+48|0;G=I+60|0;f[C>>2]=c;w=(a|0)!=0;x=z+40|0;y=x;z=z+39|0;A=F+4|0;i=0;c=0;k=0;a:while(1){do{do if((c|0)>-1)if((i|0)>(2147483647-c|0)){c=Mmb()|0;f[c>>2]=75;c=-1;break}else{c=i+c|0;break}while(0);r=f[C>>2]|0;i=b[r>>0]|0;if(!(i<<24>>24)){v=94;break a}j=r;b:while(1){switch(i<<24>>24){case 37:{v=10;break b}case 0:{i=j;break b}default:{}}t=j+1|0;f[C>>2]=t;i=b[t>>0]|0;j=t}c:do if((v|0)==10){v=0;i=j;do{if((b[j+1>>0]|0)!=37)break c;i=i+1|0;j=j+2|0;f[C>>2]=j}while((b[j>>0]|0)==37)}while(0);i=i-r|0;if(w)_nb(a,r,i)}while((i|0)!=0);t=(vnb(b[(f[C>>2]|0)+1>>0]|0)|0)==0;j=f[C>>2]|0;if(!t?(b[j+2>>0]|0)==36:0){o=(b[j+1>>0]|0)+-48|0;m=1;i=3}else{o=-1;m=k;i=1}i=j+i|0;f[C>>2]=i;j=b[i>>0]|0;k=(j<<24>>24)+-32|0;if(k>>>0>31|(1<<k&75913|0)==0)l=0;else{l=0;do{l=1<<k|l;i=i+1|0;f[C>>2]=i;j=b[i>>0]|0;k=(j<<24>>24)+-32|0}while(!(k>>>0>31|(1<<k&75913|0)==0))}if(j<<24>>24==42){if((vnb(b[i+1>>0]|0)|0)!=0?(E=f[C>>2]|0,(b[E+2>>0]|0)==36):0){i=E+1|0;f[h+((b[i>>0]|0)+-48<<2)>>2]=10;i=f[g+((b[i>>0]|0)+-48<<3)>>2]|0;k=1;j=E+3|0}else{if(m|0){c=-1;break}if(w){t=(f[e>>2]|0)+(4-1)&~(4-1);i=f[t>>2]|0;f[e>>2]=t+4}else i=0;k=0;j=(f[C>>2]|0)+1|0}f[C>>2]=j;t=(i|0)<0;s=t?0-i|0:i;l=t?l|8192:l;t=k}else{i=$nb(C)|0;if((i|0)<0){c=-1;break}s=i;t=m;j=f[C>>2]|0}do if((b[j>>0]|0)==46){i=j+1|0;if((b[i>>0]|0)!=42){f[C>>2]=i;i=$nb(C)|0;j=f[C>>2]|0;break}if(vnb(b[j+2>>0]|0)|0?(B=f[C>>2]|0,(b[B+3>>0]|0)==36):0){i=B+2|0;f[h+((b[i>>0]|0)+-48<<2)>>2]=10;i=f[g+((b[i>>0]|0)+-48<<3)>>2]|0;j=B+4|0;f[C>>2]=j;break}if(t|0){c=-1;break a}if(w){q=(f[e>>2]|0)+(4-1)&~(4-1);i=f[q>>2]|0;f[e>>2]=q+4}else i=0;j=(f[C>>2]|0)+2|0;f[C>>2]=j}else i=-1;while(0);q=0;while(1){if(((b[j>>0]|0)+-65|0)>>>0>57){c=-1;break a}k=j;j=j+1|0;f[C>>2]=j;k=b[(b[k>>0]|0)+-65+(272144+(q*58|0))>>0]|0;m=k&255;if((m+-1|0)>>>0>=8)break;else q=m}if(!(k<<24>>24)){c=-1;break}n=(o|0)>-1;do if(k<<24>>24==19)if(n){c=-1;break a}else v=54;else{if(n){f[h+(o<<2)>>2]=m;n=g+(o<<3)|0;o=f[n+4>>2]|0;v=D;f[v>>2]=f[n>>2];f[v+4>>2]=o;v=54;break}if(!w){c=0;break a}aob(D,m,e);j=f[C>>2]|0;v=55}while(0);if((v|0)==54){v=0;if(w)v=55;else i=0}d:do if((v|0)==55){v=0;j=b[j+-1>>0]|0;j=(q|0)!=0&(j&15|0)==3?j&-33:j;k=l&-65537;o=(l&8192|0)==0?l:k;e:do switch(j|0){case 110:switch((q&255)<<24>>24){case 0:{f[f[D>>2]>>2]=c;i=0;break d}case 1:{f[f[D>>2]>>2]=c;i=0;break d}case 2:{i=f[D>>2]|0;f[i>>2]=c;f[i+4>>2]=((c|0)<0)<<31>>31;i=0;break d}case 3:{d[f[D>>2]>>1]=c;i=0;break d}case 4:{b[f[D>>2]>>0]=c;i=0;break d}case 6:{f[f[D>>2]>>2]=c;i=0;break d}case 7:{i=f[D>>2]|0;f[i>>2]=c;f[i+4>>2]=((c|0)<0)<<31>>31;i=0;break d}default:{i=0;break d}}case 112:{j=120;i=i>>>0>8?i:8;k=o|8;v=67;break}case 88:case 120:{k=o;v=67;break}case 111:{k=D;j=f[k>>2]|0;k=f[k+4>>2]|0;n=cob(j,k,x)|0;v=y-n|0;l=0;m=486503;i=(o&8|0)==0|(i|0)>(v|0)?i:v+1|0;v=73;break}case 105:case 100:{k=D;j=f[k>>2]|0;k=f[k+4>>2]|0;if((k|0)<0){j=NDb(0,0,j|0,k|0)|0;k=H;l=D;f[l>>2]=j;f[l+4>>2]=k;l=1;m=486503;v=72;break e}else{l=(o&2049|0)!=0&1;m=(o&2048|0)==0?((o&1|0)==0?486503:486505):486504;v=72;break e}}case 117:{k=D;l=0;m=486503;j=f[k>>2]|0;k=f[k+4>>2]|0;v=72;break}case 99:{b[z>>0]=f[D>>2];q=z;l=0;m=486503;n=1;i=y;break}case 109:{j=Mmb()|0;j=nnb(f[j>>2]|0)|0;v=77;break}case 115:{j=f[D>>2]|0;j=(j|0)==0?486513:j;v=77;break}case 67:{f[F>>2]=f[D>>2];f[A>>2]=0;f[D>>2]=F;m=-1;v=81;break}case 83:{if(!i){eob(a,32,s,0,o);i=0;v=91}else{m=i;v=81}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{i=gob(a,+p[D>>3],s,i,o,j)|0;break d}default:{q=r;l=0;m=486503;n=i;k=o;i=y}}while(0);f:do if((v|0)==67){r=D;q=f[r>>2]|0;r=f[r+4>>2]|0;n=bob(q,r,x,j&32)|0;m=(k&8|0)==0|(q|0)==0&(r|0)==0;l=m?0:2;m=m?486503:486503+(j>>>4)|0;o=k;j=q;k=r;v=73}else if((v|0)==72){n=dob(j,k,x)|0;v=73}else if((v|0)==77){v=0;r=Ymb(j,0,i)|0;o=(r|0)==0;q=j;l=0;m=486503;n=o?i:r-j|0;i=o?j+i|0:r}else if((v|0)==81){v=0;l=f[D>>2]|0;i=0;while(1){j=f[l>>2]|0;if(!j)break;j=fob(G,j)|0;k=(j|0)<0;if(k|j>>>0>(m-i|0)>>>0){v=85;break}i=j+i|0;if(m>>>0>i>>>0)l=l+4|0;else break}if((v|0)==85){v=0;if(k){c=-1;break a}}eob(a,32,s,i,o);if(!i){i=0;v=91}else{k=f[D>>2]|0;l=0;while(1){j=f[k>>2]|0;if(!j){v=91;break f}j=fob(G,j)|0;l=j+l|0;if((l|0)>(i|0)){v=91;break f}_nb(a,G,j);if(l>>>0>=i>>>0){v=91;break}else k=k+4|0}}}while(0);if((v|0)==73){v=0;k=(j|0)!=0|(k|0)!=0;r=(i|0)!=0|k;k=y-n+((k^1)&1)|0;q=r?n:x;n=r?((i|0)>(k|0)?i:k):0;k=(i|0)>-1?o&-65537:o;i=y}else if((v|0)==91){v=0;eob(a,32,s,i,o^8192);i=(s|0)>(i|0)?s:i;break}o=i-q|0;n=(n|0)<(o|0)?o:n;r=n+l|0;i=(s|0)<(r|0)?r:s;eob(a,32,i,r,k);_nb(a,m,l);eob(a,48,i,r,k^65536);eob(a,48,n,o,0);_nb(a,q,o);eob(a,32,i,r,k^8192)}while(0);k=t}g:do if((v|0)==94)if(!a)if(!k)c=0;else{c=1;while(1){i=f[h+(c<<2)>>2]|0;if(!i)break;aob(g+(c<<3)|0,i,e);c=c+1|0;if(c>>>0>=10){c=1;break g}}while(1){if(f[h+(c<<2)>>2]|0){c=-1;break g}c=c+1|0;if(c>>>0>=10){c=1;break}}}while(0);u=I;return c|0}function Ynb(a){a=a|0;return 0}function Znb(a){a=a|0;return}function _nb(a,b,c){a=a|0;b=b|0;c=c|0;if(!(f[a>>2]&32))mob(b,c,a)|0;return}function $nb(a){a=a|0;var c=0,d=0;if(!(vnb(b[f[a>>2]>>0]|0)|0))c=0;else{c=0;do{d=f[a>>2]|0;c=(c*10|0)+-48+(b[d>>0]|0)|0;d=d+1|0;f[a>>2]=d}while((vnb(b[d>>0]|0)|0)!=0)}return c|0}function aob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{d=(f[c>>2]|0)+(4-1)&~(4-1);b=f[d>>2]|0;f[c>>2]=d+4;f[a>>2]=b;break a}case 10:{d=(f[c>>2]|0)+(4-1)&~(4-1);b=f[d>>2]|0;f[c>>2]=d+4;d=a;f[d>>2]=b;f[d+4>>2]=((b|0)<0)<<31>>31;break a}case 11:{d=(f[c>>2]|0)+(4-1)&~(4-1);b=f[d>>2]|0;f[c>>2]=d+4;d=a;f[d>>2]=b;f[d+4>>2]=0;break a}case 12:{d=(f[c>>2]|0)+(8-1)&~(8-1);b=d;e=f[b>>2]|0;b=f[b+4>>2]|0;f[c>>2]=d+8;d=a;f[d>>2]=e;f[d+4>>2]=b;break a}case 13:{e=(f[c>>2]|0)+(4-1)&~(4-1);d=f[e>>2]|0;f[c>>2]=e+4;d=(d&65535)<<16>>16;e=a;f[e>>2]=d;f[e+4>>2]=((d|0)<0)<<31>>31;break a}case 14:{e=(f[c>>2]|0)+(4-1)&~(4-1);d=f[e>>2]|0;f[c>>2]=e+4;e=a;f[e>>2]=d&65535;f[e+4>>2]=0;break a}case 15:{e=(f[c>>2]|0)+(4-1)&~(4-1);d=f[e>>2]|0;f[c>>2]=e+4;d=(d&255)<<24>>24;e=a;f[e>>2]=d;f[e+4>>2]=((d|0)<0)<<31>>31;break a}case 16:{e=(f[c>>2]|0)+(4-1)&~(4-1);d=f[e>>2]|0;f[c>>2]=e+4;e=a;f[e>>2]=d&255;f[e+4>>2]=0;break a}case 17:{e=(f[c>>2]|0)+(8-1)&~(8-1);g=+p[e>>3];f[c>>2]=e+8;p[a>>3]=g;break a}case 18:{e=(f[c>>2]|0)+(8-1)&~(8-1);g=+p[e>>3];f[c>>2]=e+8;p[a>>3]=g;break a}default:break a}while(0);while(0);return}function bob(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;if(!((a|0)==0&(c|0)==0))do{d=d+-1|0;b[d>>0]=h[272608+(a&15)>>0]|0|e;a=RDb(a|0,c|0,4)|0;c=H}while(!((a|0)==0&(c|0)==0));return d|0}function cob(a,c,d){a=a|0;c=c|0;d=d|0;if(!((a|0)==0&(c|0)==0))do{d=d+-1|0;b[d>>0]=a&7|48;a=RDb(a|0,c|0,3)|0;c=H}while(!((a|0)==0&(c|0)==0));return d|0}function dob(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(c>>>0>0|(c|0)==0&a>>>0>4294967295){do{e=a;a=QDb(a|0,c|0,10,0)|0;f=c;c=H;g=LDb(a|0,c|0,10,0)|0;g=NDb(e|0,f|0,g|0,H|0)|0;d=d+-1|0;b[d>>0]=g&255|48}while(f>>>0>9|(f|0)==9&e>>>0>4294967295);c=a}else c=a;if(c)do{g=c;c=(c>>>0)/10|0;d=d+-1|0;b[d>>0]=g-(c*10|0)|48}while(g>>>0>=10);return d|0}function eob(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=u;u=u+256|0;f=g;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;_Db(f|0,b<<24>>24|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;do{_nb(a,f,256);e=e+-256|0}while(e>>>0>255);e=b&255}_nb(a,f,e)}u=g;return}function fob(a,b){a=a|0;b=b|0;if(!a)a=0;else a=kob(a,b,0)|0;return a|0}function gob(a,c,d,e,g,i){a=a|0;c=+c;d=d|0;e=e|0;g=g|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.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+560|0;l=G+32|0;v=G+536|0;F=G;E=F;m=G+540|0;f[v>>2]=0;D=m+12|0;hob(c)|0;j=H;if((j|0)<0){c=-c;hob(c)|0;C=1;B=486520;j=H}else{C=(g&2049|0)!=0&1;B=(g&2048|0)==0?((g&1|0)==0?486521:486526):486523}do if(0==0&(j&2146435072|0)==2146435072){F=(i&32|0)!=0;j=C+3|0;eob(a,32,d,j,g&-65537);_nb(a,B,C);_nb(a,c!=c|0.0!=0.0?(F?486562:486547):F?486539:486543,3);eob(a,32,d,j,g^8192)}else{q=+iob(c,v)*2.0;j=q!=0.0;if(j)f[v>>2]=(f[v>>2]|0)+-1;t=i|32;if((t|0)==97){o=i&32;r=(o|0)==0?B:B+9|0;p=C|2;j=12-e|0;do if(!(e>>>0>11|(j|0)==0)){c=8.0;do{j=j+-1|0;c=c*16.0}while((j|0)!=0);if((b[r>>0]|0)==45){c=-(c+(-q-c));break}else{c=q+c-c;break}}else c=q;while(0);k=f[v>>2]|0;j=(k|0)<0?0-k|0:k;j=dob(j,((j|0)<0)<<31>>31,D)|0;if((j|0)==(D|0)){j=m+11|0;b[j>>0]=48}b[j+-1>>0]=(k>>31&2)+43;n=j+-2|0;b[n>>0]=i+15;k=(e|0)<1;l=(g&8|0)==0;m=F;do{C=~~c;j=m+1|0;b[m>>0]=o|h[272608+C>>0];c=(c-+(C|0))*16.0;if((j-E|0)==1?!(l&(k&c==0.0)):0){b[j>>0]=46;m=m+2|0}else m=j}while(c!=0.0);if((e|0)!=0?(-2-E+m|0)<(e|0):0){k=D;l=n;j=e+2+k-l|0}else{k=D;l=n;j=k-E-l+m|0}D=j+p|0;eob(a,32,d,D,g);_nb(a,r,p);eob(a,48,d,D,g^65536);E=m-E|0;_nb(a,F,E);F=k-l|0;eob(a,48,j-(E+F)|0,0,0);_nb(a,n,F);eob(a,32,d,D,g^8192);j=D;break}k=(e|0)<0?6:e;if(j){j=(f[v>>2]|0)+-28|0;f[v>>2]=j;c=q*268435456.0}else{c=q;j=f[v>>2]|0}A=(j|0)<0?l:l+288|0;l=A;do{y=~~c>>>0;f[l>>2]=y;l=l+4|0;c=(c-+(y>>>0))*1.0e9}while(c!=0.0);y=A;if((j|0)>0){o=A;while(1){n=(j|0)<29?j:29;j=l+-4|0;if(j>>>0>=o>>>0){m=0;do{s=SDb(f[j>>2]|0,0,n|0)|0;s=MDb(s|0,H|0,m|0,0)|0;w=H;m=QDb(s|0,w|0,1e9,0)|0;x=LDb(m|0,H|0,1e9,0)|0;x=NDb(s|0,w|0,x|0,H|0)|0;f[j>>2]=x;j=j+-4|0}while(j>>>0>=o>>>0);if(m){x=o+-4|0;f[x>>2]=m;m=x}else m=o}else m=o;a:do if(l>>>0>m>>>0){j=l;while(1){l=j+-4|0;if(f[l>>2]|0){l=j;break a}if(l>>>0>m>>>0)j=l;else break}}while(0);j=(f[v>>2]|0)-n|0;f[v>>2]=j;if((j|0)>0)o=m;else break}}else m=A;if((j|0)<0){e=((k+25|0)/9|0)+1|0;s=(t|0)==102;do{r=0-j|0;r=(r|0)<9?r:9;if(m>>>0<l>>>0){n=(1<<r)+-1|0;o=1e9>>>r;p=0;j=m;do{x=f[j>>2]|0;f[j>>2]=(x>>>r)+p;p=W(x&n,o)|0;j=j+4|0}while(j>>>0<l>>>0);m=(f[m>>2]|0)==0?m+4|0:m;if(p){f[l>>2]=p;l=l+4|0}}else m=(f[m>>2]|0)==0?m+4|0:m;j=s?A:m;l=(l-j>>2|0)>(e|0)?j+(e<<2)|0:l;j=(f[v>>2]|0)+r|0;f[v>>2]=j}while((j|0)<0);s=m}else s=m;if(s>>>0<l>>>0){j=(y-s>>2)*9|0;n=f[s>>2]|0;if(n>>>0>=10){m=10;do{m=m*10|0;j=j+1|0}while(n>>>0>=m>>>0)}}else j=0;w=(t|0)==103;x=(k|0)!=0;m=k-((t|0)==102?0:j)+((x&w)<<31>>31)|0;if((m|0)<(((l-y>>2)*9|0)+-9|0)){v=m+9216|0;m=(v|0)/9|0;e=A+4+(m+-1024<<2)|0;m=v-(m*9|0)|0;if((m|0)<8){n=10;while(1){n=n*10|0;if((m|0)<7)m=m+1|0;else break}}else n=10;p=f[e>>2]|0;m=(p>>>0)/(n>>>0)|0;r=p-(W(m,n)|0)|0;o=(e+4|0)==(l|0);if(!(o&(r|0)==0)){q=(m&1|0)==0?9007199254740992.0:9007199254740994.0;v=n>>>1;c=r>>>0<v>>>0?.5:o&(r|0)==(v|0)?1.0:1.5;if(C){v=(b[B>>0]|0)==45;c=v?-c:c;q=v?-q:q}m=p-r|0;f[e>>2]=m;if(q+c!=q){v=m+n|0;f[e>>2]=v;if(v>>>0>999999999){n=e;j=s;while(1){m=n+-4|0;f[n>>2]=0;if(m>>>0<j>>>0){j=j+-4|0;f[j>>2]=0}v=(f[m>>2]|0)+1|0;f[m>>2]=v;if(v>>>0>999999999)n=m;else{n=j;break}}}else{m=e;n=s}j=(y-n>>2)*9|0;p=f[n>>2]|0;if(p>>>0>=10){o=10;do{o=o*10|0;j=j+1|0}while(p>>>0>=o>>>0)}}else{m=e;n=s}}else{m=e;n=s}v=m+4|0;l=l>>>0>v>>>0?v:l}else n=s;e=0-j|0;b:do if(l>>>0>n>>>0)while(1){m=l+-4|0;if(f[m>>2]|0){v=l;t=1;break b}if(m>>>0>n>>>0)l=m;else{v=m;t=0;break}}else{v=l;t=0}while(0);do if(w){k=k+((x^1)&1)|0;if((k|0)>(j|0)&(j|0)>-5){o=i+-1|0;k=k+-1-j|0}else{o=i+-2|0;k=k+-1|0}if(!(g&8)){if(t?(z=f[v+-4>>2]|0,(z|0)!=0):0)if(!((z>>>0)%10|0)){m=0;l=10;do{l=l*10|0;m=m+1|0}while(!((z>>>0)%(l>>>0)|0|0))}else m=0;else m=9;l=((v-y>>2)*9|0)+-9|0;if((o|32|0)==102){i=l-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}else{i=l+j-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}}}else o=i;while(0);s=(k|0)!=0;p=s?1:g>>>3&1;r=(o|32|0)==102;if(r){w=0;j=(j|0)>0?j:0}else{l=(j|0)<0?e:j;l=dob(l,((l|0)<0)<<31>>31,D)|0;m=D;if((m-l|0)<2)do{l=l+-1|0;b[l>>0]=48}while((m-l|0)<2);b[l+-1>>0]=(j>>31&2)+43;j=l+-2|0;b[j>>0]=o;w=j;j=m-j|0}j=C+1+k+p+j|0;eob(a,32,d,j,g);_nb(a,B,C);eob(a,48,d,j,g^65536);if(r){p=n>>>0>A>>>0?A:n;r=F+9|0;n=r;o=F+8|0;m=p;do{l=dob(f[m>>2]|0,0,r)|0;if((m|0)==(p|0)){if((l|0)==(r|0)){b[o>>0]=48;l=o}}else if(l>>>0>F>>>0){_Db(F|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}_nb(a,l,n-l|0);m=m+4|0}while(m>>>0<=A>>>0);if(!((g&8|0)==0&(s^1)))_nb(a,486551,1);if(m>>>0<v>>>0&(k|0)>0)while(1){l=dob(f[m>>2]|0,0,r)|0;if(l>>>0>F>>>0){_Db(F|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}_nb(a,l,(k|0)<9?k:9);m=m+4|0;l=k+-9|0;if(!(m>>>0<v>>>0&(k|0)>9)){k=l;break}else k=l}eob(a,48,k+9|0,9,0)}else{v=t?v:n+4|0;if(n>>>0<v>>>0&(k|0)>-1){e=F+9|0;s=(g&8|0)==0;t=e;p=0-E|0;r=F+8|0;o=n;do{l=dob(f[o>>2]|0,0,e)|0;if((l|0)==(e|0)){b[r>>0]=48;l=r}do if((o|0)==(n|0)){m=l+1|0;_nb(a,l,1);if(s&(k|0)<1){l=m;break}_nb(a,486551,1);l=m}else{if(l>>>0<=F>>>0)break;_Db(F|0,48,l+p|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}while(0);E=t-l|0;_nb(a,l,(k|0)>(E|0)?E:k);k=k-E|0;o=o+4|0}while(o>>>0<v>>>0&(k|0)>-1)}eob(a,48,k+18|0,18,0);_nb(a,w,D-w|0)}eob(a,32,d,j,g^8192)}while(0);u=G;return ((j|0)<(d|0)?d:j)|0}function hob(a){a=+a;var b=0;p[s>>3]=a;b=f[s>>2]|0;H=f[s+4>>2]|0;return b|0}function iob(a,b){a=+a;b=b|0;return +(+job(a,b))}function job(a,b){a=+a;b=b|0;var c=0,d=0,e=0;p[s>>3]=a;c=f[s>>2]|0;d=f[s+4>>2]|0;e=RDb(c|0,d|0,52)|0;switch(e&2047){case 0:{if(a!=0.0){a=+job(a*18446744073709551616.0,b);c=(f[b>>2]|0)+-64|0}else c=0;f[b>>2]=c;break}case 2047:break;default:{f[b>>2]=(e&2047)+-1022;f[s>>2]=c;f[s+4>>2]=d&-2146435073|1071644672;a=+p[s>>3]}}return +a}function kob(a,c,d){a=a|0;c=c|0;d=d|0;do if(a){if(c>>>0<128){b[a>>0]=c;a=1;break}d=(lob()|0)+188|0;if(!(f[f[d>>2]>>2]|0))if((c&-128|0)==57216){b[a>>0]=c;a=1;break}else{a=Mmb()|0;f[a>>2]=84;a=-1;break}if(c>>>0<2048){b[a>>0]=c>>>6|192;b[a+1>>0]=c&63|128;a=2;break}if(c>>>0<55296|(c&-8192|0)==57344){b[a>>0]=c>>>12|224;b[a+1>>0]=c>>>6&63|128;b[a+2>>0]=c&63|128;a=3;break}if((c+-65536|0)>>>0<1048576){b[a>>0]=c>>>18|240;b[a+1>>0]=c>>>12&63|128;b[a+2>>0]=c>>>6&63|128;b[a+3>>0]=c&63|128;a=4;break}else{a=Mmb()|0;f[a>>2]=84;a=-1;break}}else a=1;while(0);return a|0}function lob(){return unb()|0}function mob(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;e=d+16|0;g=f[e>>2]|0;if(!g)if(!(nob(d)|0)){g=f[e>>2]|0;h=5}else e=0;else h=5;a:do if((h|0)==5){j=d+20|0;i=f[j>>2]|0;e=i;if((g-i|0)>>>0<c>>>0){e=dj[f[d+36>>2]&255](d,a,c)|0;break}b:do if((b[d+75>>0]|0)<0|(c|0)==0){h=0;g=a}else{i=c;while(1){g=i+-1|0;if((b[a+g>>0]|0)==10)break;if(!g){h=0;g=a;break b}else i=g}e=dj[f[d+36>>2]&255](d,a,i)|0;if(e>>>0<i>>>0)break a;h=i;g=a+i|0;c=c-i|0;e=f[j>>2]|0}while(0);YDb(e|0,g|0,c|0)|0;f[j>>2]=(f[j>>2]|0)+c;e=h+c|0}while(0);return e|0}function nob(a){a=a|0;var c=0,d=0;c=a+74|0;d=b[c>>0]|0;b[c>>0]=d+255|d;c=f[a>>2]|0;if(!(c&8)){f[a+8>>2]=0;f[a+4>>2]=0;d=f[a+44>>2]|0;f[a+28>>2]=d;f[a+20>>2]=d;f[a+16>>2]=d+(f[a+48>>2]|0);a=0}else{f[a>>2]=c|32;a=-1}return a|0}function oob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+20|0;e=f[d>>2]|0;a=(f[a+16>>2]|0)-e|0;a=a>>>0>c>>>0?c:a;YDb(e|0,b|0,a|0)|0;f[d>>2]=(f[d>>2]|0)+a;return c|0}function pob(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;m=u;u=u+208|0;j=m;k=m+192|0;h=W(c,b)|0;i=k;f[i>>2]=1;f[i+4>>2]=0;a:do if(h|0){i=0-c|0;f[j+4>>2]=c;f[j>>2]=c;e=2;b=c;g=c;while(1){b=b+c+g|0;f[j+(e<<2)>>2]=b;if(b>>>0<h>>>0){n=g;e=e+1|0;g=b;b=n}else break}g=a+h+i|0;if(g>>>0>a>>>0){h=g;e=1;b=1;do{do if((b&3|0)!=3){b=e+-1|0;if((f[j+(b<<2)>>2]|0)>>>0<(h-a|0)>>>0)qob(a,c,d,e,j);else sob(a,c,d,k,e,0,j);if((e|0)==1){tob(k,1);e=0;break}else{tob(k,b);e=1;break}}else{qob(a,c,d,e,j);rob(k,2);e=e+2|0}while(0);b=f[k>>2]|1;f[k>>2]=b;a=a+c|0}while(a>>>0<g>>>0)}else{e=1;b=1}sob(a,c,d,k,e,0,j);g=k+4|0;while(1){if((e|0)==1&(b|0)==1)if(!(f[g>>2]|0))break a;else l=19;else if((e|0)<2)l=19;else{tob(k,2);n=e+-2|0;f[k>>2]=f[k>>2]^7;rob(k,1);sob(a+(0-(f[j+(n<<2)>>2]|0))+i|0,c,d,k,e+-1|0,1,j);tob(k,1);b=f[k>>2]|1;f[k>>2]=b;a=a+i|0;sob(a,c,d,k,n,1,j);e=n}if((l|0)==19){l=0;b=uob(k)|0;rob(k,b);a=a+i|0;e=b+e|0;b=f[k>>2]|0}}}while(0);u=m;return}function qob(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,k=0,l=0,m=0;m=u;u=u+240|0;l=m;f[l>>2]=a;a:do if((d|0)>1){k=0-b|0;i=a;g=d;d=1;h=a;while(1){i=i+k|0;j=g+-2|0;a=i+(0-(f[e+(j<<2)>>2]|0))|0;if((cj[c&1023](h,a)|0)>-1?(cj[c&1023](h,i)|0)>-1:0)break a;h=l+(d<<2)|0;if((cj[c&1023](a,i)|0)>-1){f[h>>2]=a;g=g+-1|0}else{f[h>>2]=i;a=i;g=j}d=d+1|0;if((g|0)<=1)break a;i=a;h=f[l>>2]|0}}else d=1;while(0);wob(b,l,d);u=m;return}function rob(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+4|0;if(b>>>0>31){d=f[e>>2]|0;f[a>>2]=d;f[e>>2]=0;b=b+-32|0;c=0}else{c=f[e>>2]|0;d=f[a>>2]|0}f[a>>2]=c<<32-b|d>>>b;f[e>>2]=c>>>b;return}function sob(a,b,c,d,e,g,h){a=a|0;b=b|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;o=u;u=u+240|0;m=o+232|0;n=o;p=f[d>>2]|0;f[m>>2]=p;j=f[d+4>>2]|0;k=m+4|0;f[k>>2]=j;f[n>>2]=a;a:do if((p|0)!=1|(j|0)!=0?(l=0-b|0,i=a+(0-(f[h+(e<<2)>>2]|0))|0,(cj[c&1023](i,a)|0)>=1):0){d=1;g=(g|0)==0;j=i;while(1){if(g&(e|0)>1){g=a+l|0;i=f[h+(e+-2<<2)>>2]|0;if((cj[c&1023](g,j)|0)>-1){i=10;break a}if((cj[c&1023](g+(0-i)|0,j)|0)>-1){i=10;break a}}g=d+1|0;f[n+(d<<2)>>2]=j;p=uob(m)|0;rob(m,p);e=p+e|0;if(!((f[m>>2]|0)!=1|(f[k>>2]|0)!=0)){d=g;a=j;i=10;break a}a=j+(0-(f[h+(e<<2)>>2]|0))|0;if((cj[c&1023](a,f[n>>2]|0)|0)<1){a=j;d=g;g=0;i=9;break}else{p=j;d=g;g=1;j=a;a=p}}}else{d=1;i=9}while(0);if((i|0)==9?(g|0)==0:0)i=10;if((i|0)==10){wob(b,n,d);qob(a,b,c,e,h)}u=o;return}function tob(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+4|0;if(b>>>0>31){d=f[a>>2]|0;f[e>>2]=d;f[a>>2]=0;b=b+-32|0;c=0}else{c=f[a>>2]|0;d=f[e>>2]|0}f[e>>2]=c>>>(32-b|0)|d<<b;f[a>>2]=c<<b;return}function uob(a){a=a|0;var b=0;b=vob((f[a>>2]|0)+-1|0)|0;if(!b){b=vob(f[a+4>>2]|0)|0;return ((b|0)==0?0:b+32|0)|0}else return b|0;return 0}function vob(a){a=a|0;var b=0;if(a)if(!(a&1)){b=a;a=0;while(1){a=a+1|0;if(!(b&2))b=b>>>1;else break}}else a=0;else a=32;return a|0}function wob(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+256|0;d=h;a:do if((c|0)>=2?(g=b+(c<<2)|0,f[g>>2]=d,a|0):0)while(1){e=a>>>0<256?a:256;YDb(d|0,f[b>>2]|0,e|0)|0;d=0;do{i=b+(d<<2)|0;d=d+1|0;YDb(f[i>>2]|0,f[b+(d<<2)>>2]|0,e|0)|0;f[i>>2]=(f[i>>2]|0)+e}while((d|0)!=(c|0));a=a-e|0;if(!a)break a;d=f[g>>2]|0}while(0);u=h;return}function xob(a,b){a=a|0;b=b|0;return +(+yob(a,b,0))}function yob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0;i=u;u=u+128|0;h=i;e=h;g=e+124|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));e=h+4|0;f[e>>2]=a;g=h+8|0;f[g>>2]=-1;f[h+44>>2]=a;f[h+76>>2]=-1;Cnb(h,0);d=+zob(h,c,1);c=(f[e>>2]|0)-(f[g>>2]|0)+(f[h+108>>2]|0)|0;if(b|0)f[b>>2]=(c|0)==0?a:a+c|0;u=i;return +d}function zob(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;switch(c|0){case 0:{l=-149;m=24;j=4;break}case 1:{l=-1074;m=53;j=4;break}case 2:{l=-1074;m=53;j=4;break}default:e=0.0}a:do if((j|0)==4){o=a+4|0;n=a+100|0;do{c=f[o>>2]|0;if(c>>>0<(f[n>>2]|0)>>>0){f[o>>2]=c+1;c=h[c>>0]|0}else c=Enb(a)|0}while((Fnb(c)|0)!=0);b:do switch(c|0){case 43:case 45:{i=1-(((c|0)==45&1)<<1)|0;c=f[o>>2]|0;if(c>>>0<(f[n>>2]|0)>>>0){f[o>>2]=c+1;g=h[c>>0]|0;break b}else{g=Enb(a)|0;break b}}default:{g=c;i=1}}while(0);c=0;while(1){if((g|32|0)!=(b[486553+c>>0]|0))break;do if(c>>>0<7){g=f[o>>2]|0;if(g>>>0<(f[n>>2]|0)>>>0){f[o>>2]=g+1;g=h[g>>0]|0;break}else{g=Enb(a)|0;break}}while(0);c=c+1|0;if(c>>>0>=8){c=8;break}}c:do switch(c&2147483647|0){case 8:break;case 3:{j=23;break}default:{k=(d|0)!=0;if(k&c>>>0>3)if((c|0)==8)break c;else{j=23;break c}d:do if(!c){c=0;while(1){if((g|32|0)!=(b[486562+c>>0]|0))break d;do if(c>>>0<2){g=f[o>>2]|0;if(g>>>0<(f[n>>2]|0)>>>0){f[o>>2]=g+1;g=h[g>>0]|0;break}else{g=Enb(a)|0;break}}while(0);c=c+1|0;if(c>>>0>=3){c=3;break}}}while(0);switch(c|0){case 3:{c=f[o>>2]|0;if(c>>>0<(f[n>>2]|0)>>>0){f[o>>2]=c+1;c=h[c>>0]|0}else c=Enb(a)|0;if((c|0)!=40){if(!(f[n>>2]|0)){e=A;break a}f[o>>2]=(f[o>>2]|0)+-1;e=A;break a}c=1;while(1){g=f[o>>2]|0;if(g>>>0<(f[n>>2]|0)>>>0){f[o>>2]=g+1;g=h[g>>0]|0}else g=Enb(a)|0;if(!((g+-48|0)>>>0<10|(g+-65|0)>>>0<26)?!((g|0)==95|(g+-97|0)>>>0<26):0)break;c=c+1|0}if((g|0)==41){e=A;break a}g=(f[n>>2]|0)==0;if(!g)f[o>>2]=(f[o>>2]|0)+-1;if(!k){o=Mmb()|0;f[o>>2]=22;Cnb(a,0);e=0.0;break a}if(!c){e=A;break a}while(1){c=c+-1|0;if(!g)f[o>>2]=(f[o>>2]|0)+-1;if(!c){e=A;break a}}}case 0:{if((g|0)==48){c=f[o>>2]|0;if(c>>>0<(f[n>>2]|0)>>>0){f[o>>2]=c+1;c=h[c>>0]|0}else c=Enb(a)|0;if((c|32|0)==120){e=+Aob(a,m,l,i,d);break a}if(!(f[n>>2]|0))c=48;else{f[o>>2]=(f[o>>2]|0)+-1;c=48}}else c=g;e=+Bob(a,c,m,l,i,d);break a}default:{if(f[n>>2]|0)f[o>>2]=(f[o>>2]|0)+-1;o=Mmb()|0;f[o>>2]=22;Cnb(a,0);e=0.0;break a}}}}while(0);if((j|0)==23){g=(f[n>>2]|0)==0;if(!g)f[o>>2]=(f[o>>2]|0)+-1;if((d|0)!=0&c>>>0>3)do{if(!g)f[o>>2]=(f[o>>2]|0)+-1;c=c+-1|0}while(c>>>0>3)}e=+(i|0)*B}while(0);return +e}function Aob(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,i=0,j=0,k=0.0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=a+4|0;i=f[y>>2]|0;x=a+100|0;if(i>>>0<(f[x>>2]|0)>>>0){f[y>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0;j=0;a:while(1){switch(i|0){case 46:{w=10;break a}case 48:break;default:{p=0;m=j;l=0;j=0;break a}}i=f[y>>2]|0;if(i>>>0<(f[x>>2]|0)>>>0){f[y>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0;j=1}if((w|0)==10){i=f[y>>2]|0;if(i>>>0<(f[x>>2]|0)>>>0){f[y>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0;if((i|0)==48){l=0;j=0;do{i=f[y>>2]|0;if(i>>>0<(f[x>>2]|0)>>>0){f[y>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0;l=MDb(l|0,j|0,-1,-1)|0;j=H}while((i|0)==48);p=1;m=1}else{p=1;m=j;l=0;j=0}}o=0;n=1.0;g=0.0;v=0;s=p;t=m;u=0;m=0;while(1){q=i+-48|0;p=i|32;if(q>>>0>=10){r=(i|0)==46;if(!(r|(p+-97|0)>>>0<6))break;if(r)if(!s){s=1;k=n;q=v;r=t;l=m;j=u;p=u}else{i=46;break}else w=24}else w=24;if((w|0)==24){w=0;i=(i|0)>57?p+-87|0:q;do if(!((u|0)<0|(u|0)==0&m>>>0<8))if((u|0)<0|(u|0)==0&m>>>0<14){n=n*.0625;k=n;g=g+n*+(i|0);i=v;break}else{i=(o|0)!=0|(i|0)==0;o=i?o:1;k=n;g=i?g:g+n*.5;i=v;break}else{k=n;i=i+(v<<4)|0}while(0);m=MDb(m|0,u|0,1,0)|0;q=i;r=1;p=H}i=f[y>>2]|0;if(i>>>0<(f[x>>2]|0)>>>0){f[y>>2]=i+1;i=h[i>>0]|0}else i=Enb(a)|0;n=k;v=q;t=r;u=p}do if(!t){i=(f[x>>2]|0)==0;if(!i)f[y>>2]=(f[y>>2]|0)+-1;if(e){if(!i?(f[y>>2]=(f[y>>2]|0)+-1,!((s|0)==0|i)):0)f[y>>2]=(f[y>>2]|0)+-1}else Cnb(a,0);g=+(d|0)*0.0}else{o=(s|0)==0;p=o?m:l;o=o?u:j;if((u|0)<0|(u|0)==0&m>>>0<8){j=v;l=u;while(1){j=j<<4;w=m;m=MDb(m|0,l|0,1,0)|0;if(!((l|0)<0|(l|0)==0&w>>>0<7)){m=j;break}else l=H}}else m=v;if((i|32|0)==112){j=Cob(a,e)|0;i=H;if((j|0)==0&(i|0)==-2147483648){if(!e){Cnb(a,0);g=0.0;break}if(!(f[x>>2]|0)){j=0;i=0}else{f[y>>2]=(f[y>>2]|0)+-1;j=0;i=0}}}else if(!(f[x>>2]|0)){j=0;i=0}else{f[y>>2]=(f[y>>2]|0)+-1;j=0;i=0}l=SDb(p|0,o|0,2)|0;l=MDb(l|0,H|0,-32,-1)|0;l=MDb(l|0,H|0,j|0,i|0)|0;i=H;if(!m){g=+(d|0)*0.0;break}y=0-c|0;e=((y|0)<0)<<31>>31;if((i|0)>(e|0)|(i|0)==(e|0)&l>>>0>y>>>0){b=Mmb()|0;f[b>>2]=34;g=+(d|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}y=c+-106|0;e=((y|0)<0)<<31>>31;if((i|0)<(e|0)|(i|0)==(e|0)&l>>>0<y>>>0){b=Mmb()|0;f[b>>2]=34;g=+(d|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if((m|0)>-1){j=m;do{y=!(g>=.5);j=j<<1|(y^1)&1;g=g+(y?g:g+-1.0);l=MDb(l|0,i|0,-1,-1)|0;i=H}while((j|0)>-1);n=g;m=j}else n=g;y=((b|0)<0)<<31>>31;c=NDb(32,0,c|0,((c|0)<0)<<31>>31|0)|0;i=MDb(c|0,H|0,l|0,i|0)|0;c=H;if((c|0)<(y|0)|(c|0)==(y|0)&i>>>0<b>>>0)if((i|0)>0)w=65;else{j=0;i=84;w=67}else{i=b;w=65}if((w|0)==65)if((i|0)<53){j=i;i=84-i|0;w=67}else{k=0.0;g=+(d|0)}if((w|0)==67){g=+(d|0);k=+Eob(+Dob(1.0,i),g);i=j}d=(m&1|0)==0&(n!=0.0&(i|0)<32);g=(d?0.0:n)*g+(k+g*+((m+(d&1)|0)>>>0))-k;if(!(g!=0.0)){d=Mmb()|0;f[d>>2]=34}g=+Gob(g,l)}while(0);return +g}function Bob(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 i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0.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,I=0.0;G=u;u=u+512|0;D=G;E=d+c|0;F=0-E|0;C=a+4|0;B=a+100|0;j=0;a:while(1){switch(b|0){case 46:{z=7;break a}case 48:break;default:{v=0;p=j;j=0;o=0;break a}}b=f[C>>2]|0;if(b>>>0<(f[B>>2]|0)>>>0){f[C>>2]=b+1;b=h[b>>0]|0}else b=Enb(a)|0;j=1}if((z|0)==7){b=f[C>>2]|0;if(b>>>0<(f[B>>2]|0)>>>0){f[C>>2]=b+1;b=h[b>>0]|0}else b=Enb(a)|0;if((b|0)==48){j=0;b=0;while(1){j=MDb(j|0,b|0,-1,-1)|0;o=H;b=f[C>>2]|0;if(b>>>0<(f[B>>2]|0)>>>0){f[C>>2]=b+1;b=h[b>>0]|0}else b=Enb(a)|0;if((b|0)==48)b=o;else{v=1;p=1;break}}}else{v=1;p=j;j=0;o=0}}f[D>>2]=0;n=b+-48|0;m=(b|0)==46;b:do if(m|n>>>0<10){A=D+496|0;w=0;l=0;s=0;x=v;y=p;z=n;p=0;n=0;c:while(1){do if(m)if(!x){x=1;j=p;o=n}else break c;else{p=MDb(p|0,n|0,1,0)|0;n=H;v=(b|0)!=48;if((l|0)>=125){if(!v)break;f[A>>2]=f[A>>2]|1;break}m=D+(l<<2)|0;if(!w)b=z;else b=b+-48+((f[m>>2]|0)*10|0)|0;f[m>>2]=b;w=w+1|0;y=(w|0)==9;w=y?0:w;l=l+(y&1)|0;s=v?p:s;y=1}while(0);b=f[C>>2]|0;if(b>>>0<(f[B>>2]|0)>>>0){f[C>>2]=b+1;b=h[b>>0]|0}else b=Enb(a)|0;z=b+-48|0;m=(b|0)==46;if(!(m|z>>>0<10)){v=x;m=y;z=31;break b}}b=w;m=(y|0)!=0;z=39}else{w=0;l=0;s=0;m=p;p=0;n=0;z=31}while(0);do if((z|0)==31){A=(v|0)==0;j=A?p:j;o=A?n:o;m=(m|0)!=0;if(!(m&(b|32|0)==101))if((b|0)>-1){b=w;z=39;break}else{b=w;z=41;break}m=Cob(a,g)|0;b=H;if((m|0)==0&(b|0)==-2147483648){if(!g){Cnb(a,0);i=0.0;break}if(!(f[B>>2]|0)){m=0;b=0}else{f[C>>2]=(f[C>>2]|0)+-1;m=0;b=0}}j=MDb(m|0,b|0,j|0,o|0)|0;b=w;o=H;z=43}while(0);if((z|0)==39)if(f[B>>2]|0){f[C>>2]=(f[C>>2]|0)+-1;if(m)z=43;else z=42}else z=41;if((z|0)==41)if(m)z=43;else z=42;do if((z|0)==42){F=Mmb()|0;f[F>>2]=22;Cnb(a,0);i=0.0}else if((z|0)==43){m=f[D>>2]|0;if(!m){i=+(e|0)*0.0;break}if(((n|0)<0|(n|0)==0&p>>>0<10)&((j|0)==(p|0)&(o|0)==(n|0))?(c|0)>30|(m>>>c|0)==0:0){i=+(e|0)*+(m>>>0);break}a=(d|0)/-2|0;C=((a|0)<0)<<31>>31;if((o|0)>(C|0)|(o|0)==(C|0)&j>>>0>a>>>0){F=Mmb()|0;f[F>>2]=34;i=+(e|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}a=d+-106|0;C=((a|0)<0)<<31>>31;if((o|0)<(C|0)|(o|0)==(C|0)&j>>>0<a>>>0){F=Mmb()|0;f[F>>2]=34;i=+(e|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(b){if((b|0)<9){n=D+(l<<2)|0;m=f[n>>2]|0;while(1){m=m*10|0;if((b|0)>=8)break;else b=b+1|0}f[n>>2]=m}l=l+1|0}if((s|0)<9?(s|0)<=(j|0)&(j|0)<18:0){if((j|0)==9){i=+(e|0)*+((f[D>>2]|0)>>>0);break}if((j|0)<9){i=+(e|0)*+((f[D>>2]|0)>>>0)/+(f[272624+(8-j<<2)>>2]|0);break}a=c+27+(W(j,-3)|0)|0;b=f[D>>2]|0;if((a|0)>30|(b>>>a|0)==0){i=+(e|0)*+(b>>>0)*+(f[272624+(j+-10<<2)>>2]|0);break}}b=(j|0)%9|0;if(!b)m=0;else{s=(j|0)>-1?b:b+9|0;o=f[272624+(8-s<<2)>>2]|0;if(l){p=1e9/(o|0)|0;n=0;m=0;b=0;do{B=D+(b<<2)|0;C=f[B>>2]|0;a=(C>>>0)/(o>>>0)|0;C=C-(W(a,o)|0)|0;a=a+n|0;f[B>>2]=a;n=W(p,C)|0;a=(b|0)==(m|0)&(a|0)==0;j=a?j+-9|0:j;m=a?m+1&127:m;b=b+1|0}while((b|0)!=(l|0));if(!n)b=l;else{f[D+(l<<2)>>2]=n;b=l+1|0}}else{m=0;b=0}l=b;j=9-s+j|0}b=0;d:while(1){v=(j|0)<18;w=(j|0)==18;x=D+(m<<2)|0;while(1){if(!v){if(!w)break d;if((f[x>>2]|0)>>>0>=9007199){j=18;break d}}n=0;y=l;l=l+127|0;while(1){p=l&127;o=D+(p<<2)|0;l=SDb(f[o>>2]|0,0,29)|0;l=MDb(l|0,H|0,n|0,0)|0;n=H;if(n>>>0>0|(n|0)==0&l>>>0>1e9){s=QDb(l|0,n|0,1e9,0)|0;a=LDb(s|0,H|0,1e9,0)|0;l=NDb(l|0,n|0,a|0,H|0)|0}else s=0;f[o>>2]=l;a=(p|0)==(m|0);o=(p|0)!=(y+127&127|0)|a?y:(l|0)==0?p:y;if(a)break;else{n=s;y=o;l=p+-1|0}}b=b+-29|0;if(!s)l=y;else break}m=m+127&127;l=o+127&127;n=D+((o+126&127)<<2)|0;if((m|0)==(o|0))f[n>>2]=f[n>>2]|f[D+(l<<2)>>2];else l=y;f[D+(m<<2)>>2]=s;j=j+9|0}e:while(1){w=l+1&127;x=D+((l+127&127)<<2)|0;while(1){p=(j|0)==18;v=(j|0)>27?9:1;y=m;while(1){o=0;while(1){m=o+y&127;if((m|0)==(l|0)){z=92;break}m=f[D+(m<<2)>>2]|0;n=f[358620+(o<<2)>>2]|0;if(m>>>0<n>>>0){z=92;break}if(m>>>0>n>>>0)break;if((o+1|0)>>>0<2)o=1;else{z=92;break}}if((z|0)==92?(z=0,p):0)break e;b=v+b|0;if((y|0)==(l|0))y=l;else break}p=(1<<v)+-1|0;s=1e9>>>v;o=0;m=y;n=y;do{B=D+(n<<2)|0;C=f[B>>2]|0;a=(C>>>v)+o|0;f[B>>2]=a;o=W(C&p,s)|0;a=(n|0)==(m|0)&(a|0)==0;j=a?j+-9|0:j;m=a?m+1&127:m;n=n+1&127}while((n|0)!=(l|0));if(o|0){if((w|0)!=(m|0))break;f[x>>2]=f[x>>2]|1}}f[D+(l<<2)>>2]=o;l=w}i=0.0;j=l;m=0;do{n=m+y&127;l=j+1&127;if((n|0)==(j|0)){f[D+(l+-1<<2)>>2]=0;j=l}i=i*1.0e9+ +((f[D+(n<<2)>>2]|0)>>>0);m=m+1|0}while((m|0)!=2);t=+(e|0);k=i*t;n=b+53|0;o=n-d|0;p=(o|0)<(c|0);m=p?((o|0)>0?o:0):c;if((m|0)<53){I=+Eob(+Dob(1.0,105-m|0),k);q=+Fob(k,+Dob(1.0,53-m|0));r=I;i=q;q=I+(k-q)}else{r=0.0;i=0.0;q=k}l=y+2&127;if((l|0)!=(j|0)){l=f[D+(l<<2)>>2]|0;do if(l>>>0>=5e8){if((l|0)!=5e8){i=t*.75+i;break}if((y+3&127|0)==(j|0)){i=t*.5+i;break}else{i=t*.75+i;break}}else{if((l|0)==0?(y+3&127|0)==(j|0):0)break;i=t*.25+i}while(0);if((53-m|0)>1?!(+Fob(i,1.0)!=0.0):0)k=i+1.0;else k=i}else k=i;i=q+k-r;do if((n&2147483647|0)>(-2-E|0)){E=!(+J(+i)>=9007199254740992.0);b=b+((E^1)&1)|0;i=E?i:i*.5;if((b+50|0)<=(F|0)?!(k!=0.0&(p&((m|0)!=(o|0)|E))):0)break;F=Mmb()|0;f[F>>2]=34}while(0);i=+Gob(i,b)}while(0);u=G;return +i}function Cob(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,i=0,j=0,k=0,l=0;i=a+4|0;c=f[i>>2]|0;j=a+100|0;if(c>>>0<(f[j>>2]|0)>>>0){f[i>>2]=c+1;d=h[c>>0]|0}else d=Enb(a)|0;switch(d|0){case 43:case 45:{e=(d|0)==45&1;c=f[i>>2]|0;if(c>>>0<(f[j>>2]|0)>>>0){f[i>>2]=c+1;c=h[c>>0]|0}else c=Enb(a)|0;d=c+-48|0;if((b|0)!=0&d>>>0>9)if(!(f[j>>2]|0)){d=0;c=-2147483648}else{f[i>>2]=(f[i>>2]|0)+-1;k=14}else k=12;break}default:{e=0;c=d;d=d+-48|0;k=12}}if((k|0)==12)if(d>>>0>9)k=14;else{d=0;do{d=c+-48+(d*10|0)|0;c=f[i>>2]|0;if(c>>>0<(f[j>>2]|0)>>>0){f[i>>2]=c+1;c=h[c>>0]|0}else c=Enb(a)|0;b=c+-48|0}while(b>>>0<10&(d|0)<214748364);g=((d|0)<0)<<31>>31;if(b>>>0<10){do{l=LDb(d|0,g|0,10,0)|0;b=H;c=MDb(c|0,((c|0)<0)<<31>>31|0,-48,-1)|0;d=MDb(c|0,H|0,l|0,b|0)|0;g=H;c=f[i>>2]|0;if(c>>>0<(f[j>>2]|0)>>>0){f[i>>2]=c+1;c=h[c>>0]|0}else c=Enb(a)|0;b=c+-48|0}while(b>>>0<10&((g|0)<21474836|(g|0)==21474836&d>>>0<2061584302));if(b>>>0<10){do{c=f[i>>2]|0;if(c>>>0<(f[j>>2]|0)>>>0){f[i>>2]=c+1;c=h[c>>0]|0}else c=Enb(a)|0}while((c+-48|0)>>>0<10);c=g}else c=g}else c=g;if(f[j>>2]|0)f[i>>2]=(f[i>>2]|0)+-1;l=(e|0)==0;j=NDb(0,0,d|0,c|0)|0;d=l?d:j;c=l?c:H}if((k|0)==14)if(!(f[j>>2]|0)){d=0;c=-2147483648}else{f[i>>2]=(f[i>>2]|0)+-1;d=0;c=-2147483648}H=c;return d|0}function Dob(a,b){a=+a;b=b|0;var c=0,d=0;if((b|0)<=1023){if((b|0)<-1022){a=a*2.2250738585072014e-308;d=(b|0)<-2044;c=b+2044|0;a=d?a*2.2250738585072014e-308:a;b=d?((c|0)>-1022?c:-1022):b+1022|0}}else{a=a*8988465674311579538646525.0e283;c=(b|0)>2046;d=b+-2046|0;a=c?a*8988465674311579538646525.0e283:a;b=c?((d|0)<1023?d:1023):b+-1023|0}c=SDb(b+1023|0,0,52)|0;d=H;f[s>>2]=c;f[s+4>>2]=d;return +(a*+p[s>>3])}function Eob(a,b){a=+a;b=+b;return +(+wnb(a,b))}function Fob(a,b){a=+a;b=+b;return +(+Hob(a,b))}function Gob(a,b){a=+a;b=b|0;return +(+Dob(a,b))}function Hob(a,b){a=+a;b=+b;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[s>>3]=a;h=f[s>>2]|0;j=f[s+4>>2]|0;p[s>>3]=b;l=f[s>>2]|0;m=f[s+4>>2]|0;d=RDb(h|0,j|0,52)|0;d=d&2047;k=RDb(l|0,m|0,52)|0;k=k&2047;n=j&-2147483648;g=SDb(l|0,m|0,1)|0;i=H;a:do if(!((g|0)==0&(i|0)==0)?(e=Iob(b)|0,c=H&2147483647,!((d|0)==2047|(c>>>0>2146435072|(c|0)==2146435072&e>>>0>0))):0){c=SDb(h|0,j|0,1)|0;e=H;if(!(e>>>0>i>>>0|(e|0)==(i|0)&c>>>0>g>>>0))return +((c|0)==(g|0)&(e|0)==(i|0)?a*0.0:a);if(!d){c=SDb(h|0,j|0,12)|0;e=H;if((e|0)>-1|(e|0)==-1&c>>>0>4294967295){d=0;do{d=d+-1|0;c=SDb(c|0,e|0,1)|0;e=H}while((e|0)>-1|(e|0)==-1&c>>>0>4294967295)}else d=0;h=SDb(h|0,j|0,1-d|0)|0;g=H}else g=j&1048575|1048576;if(!k){e=SDb(l|0,m|0,12)|0;i=H;if((i|0)>-1|(i|0)==-1&e>>>0>4294967295){c=0;do{c=c+-1|0;e=SDb(e|0,i|0,1)|0;i=H}while((i|0)>-1|(i|0)==-1&e>>>0>4294967295)}else c=0;l=SDb(l|0,m|0,1-c|0)|0;k=c;j=H}else j=m&1048575|1048576;e=NDb(h|0,g|0,l|0,j|0)|0;c=H;i=(c|0)>-1|(c|0)==-1&e>>>0>4294967295;b:do if((d|0)>(k|0)){while(1){if(i){if((e|0)==0&(c|0)==0)break}else{e=h;c=g}h=SDb(e|0,c|0,1)|0;g=H;d=d+-1|0;e=NDb(h|0,g|0,l|0,j|0)|0;c=H;i=(c|0)>-1|(c|0)==-1&e>>>0>4294967295;if((d|0)<=(k|0))break b}b=a*0.0;break a}while(0);if(i){if((e|0)==0&(c|0)==0){b=a*0.0;break}}else{c=g;e=h}if(c>>>0<1048576|(c|0)==1048576&e>>>0<0)do{e=SDb(e|0,c|0,1)|0;c=H;d=d+-1|0}while(c>>>0<1048576|(c|0)==1048576&e>>>0<0);if((d|0)>0){m=MDb(e|0,c|0,0,-1048576)|0;c=H;d=SDb(d|0,0,52)|0;c=c|H;d=m|d}else{d=RDb(e|0,c|0,1-d|0)|0;c=H}f[s>>2]=d;f[s+4>>2]=c|n;b=+p[s>>3]}else o=3;while(0);if((o|0)==3){b=a*b;b=b/b}return +b}function Iob(a){a=+a;var b=0;p[s>>3]=a;b=f[s>>2]|0;H=f[s+4>>2]|0;return b|0}function Job(a,b){a=a|0;b=b|0;return +(+yob(a,b,1))}function Kob(a,b){a=a|0;b=b|0;return +(+yob(a,b,2))}function Lob(a,b,c){a=a|0;b=b|0;c=c|0;return +(+xob(a,b))}function Mob(a,b,c){a=a|0;b=b|0;c=c|0;return +(+Job(a,b))}function Nob(a,b,c){a=a|0;b=b|0;c=c|0;return +(+Kob(a,b))}function Oob(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+48|0;g=h+32|0;e=h+16|0;d=h;if(!(b&4194368))d=0;else{f[d>>2]=c;i=(f[d>>2]|0)+(4-1)&~(4-1);c=f[i>>2]|0;f[d>>2]=i+4;d=c}f[e>>2]=a;f[e+4>>2]=b|32768;f[e+8>>2]=d;d=ub(5,e|0)|0;if(!((b&524288|0)==0|(d|0)<0)){f[g>>2]=d;f[g+4>>2]=2;f[g+8>>2]=1;rb(221,g|0)|0}i=Lmb(d)|0;u=h;return i|0}function Pob(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=a;f[d+4>>2]=b;b=Lmb(tb(39,d|0)|0)|0;u=c;return b|0}function Qob(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=a;f[d+4>>2]=b;b=Lmb(ob(195,d|0)|0)|0;u=c;return b|0}function Rob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;f[e>>2]=c;c=Wnb(a,b,e)|0;u=d;return c|0}function Sob(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;if((f[d+76>>2]|0)>-1)m=Ynb(d)|0;else m=0;e=c+-1|0;if((c|0)<2){n=d+74|0;l=b[n>>0]|0;b[n>>0]=l+255|l;if(m|0)Znb(d);if(!e)b[a>>0]=0;else a=0}else{a:do if(e){k=d+4|0;l=d+8|0;c=a;while(1){g=f[k>>2]|0;o=g;p=(f[l>>2]|0)-o|0;j=Ymb(g,10,p)|0;i=(j|0)==0;j=i?p:1-o+j|0;j=j>>>0<e>>>0?j:e;YDb(c|0,g|0,j|0)|0;g=(f[k>>2]|0)+j|0;f[k>>2]=g;c=c+j|0;j=e-j|0;if(!(i&(j|0)!=0)){n=17;break a}if(g>>>0>=(f[l>>2]|0)>>>0){e=Gnb(d)|0;if((e|0)<0)break;else g=e}else{f[k>>2]=g+1;g=h[g>>0]|0}i=c+1|0;b[c>>0]=g;e=j+-1|0;if((g&255|0)==10|(e|0)==0){c=i;n=17;break a}else c=i}if((c|0)!=(a|0)?(f[d>>2]&16|0)!=0:0)n=17;else a=0}else{c=a;n=17}while(0);if((n|0)==17)if(!a)a=0;else b[c>>0]=0;if(m)Znb(d)}return a|0}function Tob(a){a=a|0;var b=0,c=0,d=0;if((f[a+76>>2]|0)>=0?(Ynb(a)|0)!=0:0){b=a+4|0;c=f[b>>2]|0;if(c>>>0<(f[a+8>>2]|0)>>>0){f[b>>2]=c+1;b=h[c>>0]|0}else b=Gnb(a)|0}else d=3;do if((d|0)==3){b=a+4|0;c=f[b>>2]|0;if(c>>>0<(f[a+8>>2]|0)>>>0){f[b>>2]=c+1;b=h[c>>0]|0;break}else{b=Gnb(a)|0;break}}while(0);return b|0}function Uob(a){a=a|0;var b=0,c=0;b=u;u=u+16|0;c=b;a=Nmb(a)|0;f[c>>2]=a;a=wb(6,c|0)|0;a=Lmb((a|0)==-4?0:a)|0;u=b;return a|0}function Vob(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;f[g>>2]=d;d=Vnb(a,b,c,g)|0;u=e;return d|0}function Wob(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,j=0,k=0,l=0;g=f[c>>2]|0;if((e|0)!=0?(i=f[e>>2]|0,(i|0)!=0):0)if(!a){j=g;e=d;l=26}else{f[e>>2]=0;k=d;j=g;l=48}else l=5;a:do if((l|0)==5){l=(Xob()|0)+188|0;e=(a|0)!=0;if(f[f[l>>2]>>2]|0)if(e){e=d;l=33;break}else{e=d;l=15;break}if(!e){d=Rmb(g)|0;l=63;break}b:do if(d){e=d;while(1){i=b[g>>0]|0;if(!(i<<24>>24))break;g=g+1|0;f[a>>2]=i<<24>>24&57343;e=e+-1|0;if(!e)break b;else a=a+4|0}f[a>>2]=0;f[c>>2]=0;d=d-e|0;l=63;break a}while(0);f[c>>2]=g;l=63}while(0);c:while(1){d:do if((l|0)==15){while(1){i=b[g>>0]|0;if(((i&255)+-1|0)>>>0<127?(g&3|0)==0:0){l=f[g>>2]|0;i=l&255;if(!((l+-16843009|l)&-2139062144)){do{g=g+4|0;e=e+-4|0;i=f[g>>2]|0}while(!((i+-16843009|i)&-2139062144|0));i=i&255}}i=i&255;if((i+-1|0)>>>0>=127)break;e=e+-1|0;g=g+1|0}i=i+-194|0;if(i>>>0>50)l=57;else{i=f[265920+(i<<2)>>2]|0;j=g+1|0;l=26;continue c}}else if((l|0)==26){l=(h[j>>0]|0)>>>3;if((l+-16|l+(i>>26))>>>0>7){g=j;l=56}else{g=j+1|0;if(i&33554432){if((b[g>>0]&-64)<<24>>24!=-128){g=j;l=56;break}g=j+2|0;if(i&524288){if((b[g>>0]&-64)<<24>>24!=-128){g=j;l=56;break}g=j+3|0}}e=e+-1|0;l=15;continue c}}else if((l|0)==33){l=0;e:do if(e){while(1){i=h[g>>0]|0;j=i+-1|0;if(j>>>0<127){if((g&3|0)==0&e>>>0>4){while(1){i=f[g>>2]|0;if((i+-16843009|i)&-2139062144|0){l=42;break}f[a>>2]=i&255;f[a+4>>2]=h[g+1>>0];f[a+8>>2]=h[g+2>>0];j=g+4|0;i=a+16|0;f[a+12>>2]=h[g+3>>0];e=e+-4|0;if(e>>>0>4){a=i;g=j}else{l=41;break}}if((l|0)==41){a=i;g=j;i=b[j>>0]|0}else if((l|0)==42)i=i&255;i=i&255;j=i+-1|0;l=44}}else l=44;if((l|0)==44){l=0;if(j>>>0>=127)break}g=g+1|0;f[a>>2]=i;e=e+-1|0;if(!e)break e;else a=a+4|0}i=i+-194|0;if(i>>>0>50){l=57;break d}i=f[265920+(i<<2)>>2]|0;k=e;j=g+1|0;l=48;continue c}while(0);f[c>>2]=g;l=63;continue c}else if((l|0)==48){l=0;e=h[j>>0]|0;g=e>>>3;if((g+-16|g+(i>>26))>>>0>7){g=j;e=k;l=56}else{g=j+1|0;e=e+-128|i<<6;do if((e|0)<0){i=(h[g>>0]|0)+-128|0;if(i>>>0<=63){g=j+2|0;e=i|e<<6;if((e|0)>=0)break;i=(h[g>>0]|0)+-128|0;if(i>>>0<=63){g=j+3|0;e=i|e<<6;break}}g=Mmb()|0;f[g>>2]=84;g=j+-1|0;break d}while(0);f[a>>2]=e;a=a+4|0;e=k+-1|0;l=33;continue c}}else if((l|0)==63)return d|0;while(0);if((l|0)==56){g=g+-1|0;if(!i)l=57;else{d=a;l=61}}if((l|0)==57)if(!(b[g>>0]|0)){if(a|0){f[a>>2]=0;f[c>>2]=0}d=d-e|0;l=63;continue}else{d=a;l=61}if((l|0)==61){l=Mmb()|0;f[l>>2]=84;if(!d){d=-1;l=63;continue}}f[c>>2]=g;d=-1;l=63}return 0}function Xob(){return unb()|0}function Yob(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=a;f[d+4>>2]=b;b=Lmb(yb(91,d|0)|0)|0;u=c;return b|0}function Zob(){return}function _ob(a){a=a|0;var b=0,c=0;b=($ob()|0)+188|0;c=f[b>>2]|0;if(a|0)f[b>>2]=(a|0)==(-1|0)?503464:a;return ((c|0)==503464?-1:c)|0}function $ob(){return unb()|0}function apb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function bpb(a,b){a=a|0;b=b|0;return -1|0}function cpb(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+272|0;m=o;n=o+256|0;do if(!(b[c>>0]|0)){c=sh(486566)|0;if(c|0?b[c>>0]|0:0)break;c=sh(272656+(a*12|0)|0)|0;if(c|0?b[c>>0]|0:0)break;c=sh(486573)|0;if(c|0?b[c>>0]|0:0)break;c=486578}while(0);d=0;a:while(1){switch(b[c+d>>0]|0){case 47:case 0:break a;default:{}}d=d+1|0;if(d>>>0>=15){d=15;break}}e=b[c>>0]|0;if(e<<24>>24!=46?(b[c+d>>0]|0)==0:0)if(e<<24>>24==67)l=15;else{k=c;l=16}else{c=486578;l=15}if((l|0)==15)if(!(b[c+1>>0]|0))l=18;else{k=c;l=16}b:do if((l|0)==16)if((cnb(k,486578)|0)!=0?(cnb(k,486586)|0)!=0:0){c=f[125873]|0;if(c|0)do{if(!(cnb(k,c+8|0)|0))break b;c=f[c+24>>2]|0}while((c|0)!=0);hb(503496);c=f[125873]|0;c:do if(c|0){while(1){if(!(cnb(k,c+8|0)|0))break;c=f[c+24>>2]|0;if(!c)break c}zb(503496);break b}while(0);d:do if(((f[125858]|0)==0?(g=sh(486592)|0,(g|0)!=0):0)?(b[g>>0]|0)!=0:0){i=254-d|0;j=d+1|0;e=g;while(1){h=Umb(e,58)|0;c=b[h>>0]|0;g=h-e+((c<<24>>24!=0)<<31>>31)|0;if(g>>>0<i>>>0){YDb(m|0,e|0,g|0)|0;e=m+g|0;b[e>>0]=47;YDb(e+1|0,k|0,d|0)|0;b[m+(j+g)>>0]=0;e=ib(m|0,n|0)|0;if(e|0)break;c=b[h>>0]|0}e=h+(c<<24>>24!=0&1)|0;if(!(b[e>>0]|0)){l=41;break d}}c=Cmb(28)|0;if(!c){Yob(e,f[n>>2]|0)|0;l=41;break}else{f[c>>2]=e;f[c+4>>2]=f[n>>2];n=c+8|0;YDb(n|0,k|0,d|0)|0;b[n+d>>0]=0;f[c+24>>2]=f[125873];f[125873]=c;break}}else l=41;while(0);if((l|0)==41){c=Cmb(28)|0;if(c){f[c>>2]=f[89450];f[c+4>>2]=f[89451];n=c+8|0;YDb(n|0,k|0,d|0)|0;b[n+d>>0]=0;f[c+24>>2]=f[125873];f[125873]=c}}zb(503496);c=(a|0)==0&(c|0)==0?357800:c}else{c=k;l=18}while(0);do if((l|0)==18){if((a|0)==0?(b[c+1>>0]|0)==46:0){c=357800;break}c=0}while(0);u=o;return c|0}function dpb(a){a=a|0;if(epb(a)|0)Dmb(a);return}function epb(a){a=a|0;return (a|0)!=357828&((a|0)!=0&(a|0)!=503400)&1|0}function fpb(a,b){a=a|0;b=b|0;return Nnb(a)|0}function gpb(a){a=a|0;return 0}function hpb(a,b){a=a|0;b=b|0;return vnb(a)|0}function ipb(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;j=u;u=u+32|0;i=j;a:do if(!(epb(c)|0)){h=(c|0)!=0;e=0;g=0;do{d=1<<g&a;if(h&(d|0)==0)d=f[c+(g<<2)>>2]|0;else d=cpb(g,(d|0)==0?505031:b)|0;e=e+((d|0)!=0&1)|0;f[i+(g<<2)>>2]=d;g=g+1|0}while((g|0)!=6);switch(e&2147483647|0){case 0:{c=503400;break a}case 1:{if((f[i>>2]|0)==357800){c=357828;break a}break}default:{}}}else{d=0;do{if(1<<d&a|0){i=cpb(d,b)|0;f[c+(d<<2)>>2]=i}d=d+1|0}while((d|0)!=6)}while(0);u=j;return c|0}function jpb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,j=0,k=0,l=0,m=0;l=u;u=u+16|0;g=l;j=(e|0)==0?503504:e;e=f[j>>2]|0;a:do if(!c)if(!e)e=0;else k=19;else{i=(a|0)==0?g:a;if(!d)e=-2;else{if(!e){e=b[c>>0]|0;if(e<<24>>24>-1){f[i>>2]=e&255;e=e<<24>>24!=0&1;break}g=(kpb()|0)+188|0;e=b[c>>0]|0;if(!(f[f[g>>2]>>2]|0)){f[i>>2]=e<<24>>24&57343;e=1;break}e=(e&255)+-194|0;if(e>>>0>50){k=19;break}e=f[265920+(e<<2)>>2]|0;g=d+-1|0;if(g){c=c+1|0;k=11}}else{g=d;k=11}b:do if((k|0)==11){a=h[c>>0]|0;m=a>>>3;if((m+-16|m+(e>>26))>>>0>7){k=19;break a}e=a+-128|e<<6;a=g+-1|0;if((e|0)<0)do{c=c+1|0;if(!a)break b;g=b[c>>0]|0;if((g&-64)<<24>>24!=-128){k=19;break a}e=(g&255)+-128|e<<6;a=a+-1|0}while((e|0)<0);f[j>>2]=0;f[i>>2]=e;e=d-a|0;break a}while(0);f[j>>2]=e;e=-2}}while(0);if((k|0)==19){f[j>>2]=0;e=Mmb()|0;f[e>>2]=84;e=-1}u=l;return e|0}function kpb(){return unb()|0}function lpb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g+40|0;d=g;c=g+32|0;f[c>>2]=a;f[c+4>>2]=b;c=pb(197,c|0)|0;if((c|0)==-9?(f[d>>2]=a,f[d+4>>2]=1,(rb(221,d|0)|0)>=0):0){mpb(d,a);f[e>>2]=d;f[e+4>>2]=b;b=Lmb(ob(195,e|0)|0)|0}else b=Lmb(c)|0;u=g;return b|0}function mpb(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;d=a;e=486605;f=d+15|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));if(!c){b[a+14>>0]=48;b[a+15>>0]=0}else{e=c;d=14;while(1){d=d+1|0;if(e>>>0<10)break;else e=(e>>>0)/10|0}b[a+d>>0]=0;do{f=c;c=(c>>>0)/10|0;d=d+-1|0;b[a+d>>0]=f-(c*10|0)|48}while(f>>>0>=10)}return}function npb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0;j=u;u=u+16|0;e=j;a:do if(!c)a=0;else{do if(d|0){i=(a|0)==0?e:a;a=b[c>>0]|0;if(a<<24>>24>-1){f[i>>2]=a&255;a=a<<24>>24!=0&1;break a}g=(opb()|0)+188|0;a=b[c>>0]|0;if(!(f[f[g>>2]>>2]|0)){f[i>>2]=a<<24>>24&57343;a=1;break a}a=(a&255)+-194|0;if(a>>>0<=50){e=c+1|0;g=f[265920+(a<<2)>>2]|0;if(d>>>0<4?g&-2147483648>>>((d*6|0)+-6|0)|0:0)break;a=h[e>>0]|0;d=a>>>3;if((d+-16|d+(g>>26))>>>0<=7){a=a+-128|g<<6;if((a|0)>=0){f[i>>2]=a;a=2;break a}e=(h[c+2>>0]|0)+-128|0;if(e>>>0<=63){e=e|a<<6;if((e|0)>=0){f[i>>2]=e;a=3;break a}a=(h[c+3>>0]|0)+-128|0;if(a>>>0<=63){f[i>>2]=a|e<<6;a=4;break a}}}}}while(0);a=Mmb()|0;f[a>>2]=84;a=-1}while(0);u=j;return a|0}function opb(){return unb()|0}function ppb(a,b,c){a=a|0;b=b|0;c=c|0;return jpb(0,a,b,(c|0)==0?503508:c)|0}function qpb(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,k=0,l=0;l=u;u=u+272|0;i=l;j=l+256|0;e=f[b>>2]|0;f[j>>2]=e;k=(a|0)!=0;g=k?d:256;h=k?a:i;d=e;a:do if((g|0)!=0&(e|0)!=0){e=0;a=d;while(1){d=c>>>0>=g>>>0;if(!(d|c>>>0>32)){d=a;break a}d=d?g:c;c=c-d|0;d=rpb(h,j,d,0)|0;if((d|0)==-1)break;a=(h|0)==(i|0);g=g-(a?0:d)|0;h=a?h:h+d|0;e=d+e|0;d=f[j>>2]|0;if((g|0)!=0&(d|0)!=0)a=d;else break a}e=-1;g=0;d=f[j>>2]|0}else e=0;while(0);b:do if((d|0)!=0?(g|0)!=0&(c|0)!=0:0){while(1){a=kob(h,f[d>>2]|0,0)|0;if((a+1|0)>>>0<2)break;d=(f[j>>2]|0)+4|0;f[j>>2]=d;c=c+-1|0;g=g-a|0;e=a+e|0;if(!((g|0)!=0&(c|0)!=0))break b;else h=h+a|0}if(!a)f[j>>2]=0;else e=-1}while(0);if(k)f[b>>2]=f[j>>2];u=l;return e|0}function rpb(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;a:do if(!a){d=f[c>>2]|0;e=f[d>>2]|0;if(!e)d=0;else{a=d;d=0;do{if(e>>>0>127){e=kob(i,e,0)|0;if((e|0)==-1){d=-1;break a}}else e=1;d=e+d|0;a=a+4|0;e=f[a>>2]|0}while((e|0)!=0)}}else{b:do if(d>>>0>3){e=d;g=f[c>>2]|0;while(1){h=f[g>>2]|0;if((h+-1|0)>>>0>126){if(!h)break;h=kob(a,h,0)|0;if((h|0)==-1){d=-1;break a}a=a+h|0;e=e-h|0}else{b[a>>0]=h;a=a+1|0;e=e+-1|0;g=f[c>>2]|0}g=g+4|0;f[c>>2]=g;if(e>>>0<=3)break b}b[a>>0]=0;f[c>>2]=0;d=d-e|0;break a}else e=d;while(0);if(e){g=f[c>>2]|0;while(1){h=f[g>>2]|0;if((h+-1|0)>>>0>126){if(!h){g=20;break}h=kob(i,h,0)|0;if((h|0)==-1){d=-1;break a}if(e>>>0<h>>>0){g=23;break}kob(a,f[g>>2]|0,0)|0;a=a+h|0;e=e-h|0}else{b[a>>0]=h;a=a+1|0;e=e+-1|0;g=f[c>>2]|0}g=g+4|0;f[c>>2]=g;if(!e)break a}if((g|0)==20){b[a>>0]=0;f[c>>2]=0;d=d-e|0;break}else if((g|0)==23){d=d-e|0;break}}}while(0);u=j;return d|0}function spb(a){a=a|0;if(!a)a=1;else a=(f[a>>2]|0)==0&1;return a|0}function tpb(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,k=0,l=0,m=0,n=0;n=u;u=u+1040|0;k=n;l=n+1024|0;j=f[b>>2]|0;f[l>>2]=j;m=(a|0)!=0;h=m?d:256;i=m?a:k;g=j;a:do if((h|0)!=0&(j|0)!=0){d=0;j=i;while(1){a=c>>>2;i=a>>>0>=h>>>0;if(!(c>>>0>131|i)){i=j;break a}a=i?h:a;c=c-a|0;a=Wob(j,l,a,e)|0;if((a|0)==-1)break;i=(j|0)==(k|0);h=h-(i?0:a)|0;i=i?j:j+(a<<2)|0;d=a+d|0;g=f[l>>2]|0;if((h|0)!=0&(g|0)!=0)j=i;else break a}d=-1;i=j;h=0;g=f[l>>2]|0}else d=0;while(0);b:do if((g|0)!=0?(h|0)!=0&(c|0)!=0:0){while(1){a=jpb(i,g,c,e)|0;if((a+2|0)>>>0<3)break;g=(f[l>>2]|0)+a|0;f[l>>2]=g;c=c-a|0;h=h+-1|0;d=d+1|0;if(!((h|0)!=0&(c|0)!=0))break b;else i=i+4|0}switch(a|0){case -1:{d=a;break b}case 0:{f[l>>2]=0;break b}default:{f[e>>2]=0;break b}}}while(0);if(m)f[b>>2]=f[l>>2];u=n;return d|0}function upb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;c=d+8|0;b=Oob(a,589824,d)|0;do if((b|0)>=0){a=Emb(1,2072)|0;if(!a){f[c>>2]=b;wb(6,c|0)|0;a=0;break}else{f[a>>2]=b;break}}else a=0;while(0);u=d;return a|0}function vpb(a){a=a|0;var b=0;b=Uob(f[a>>2]|0)|0;Dmb(a);return b|0}function wpb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;d=i;g=a+8|0;c=f[g>>2]|0;e=a+12|0;a:do if((c|0)<(f[e>>2]|0)){b=a+24+c|0;h=7}else{b=a+24|0;f[d>>2]=f[a>>2];f[d+4>>2]=b;f[d+8>>2]=2048;c=qb(220,d|0)|0;if((c|0)>=1){f[e>>2]=c;f[g>>2]=0;c=0;h=7;break}switch(c|0){case 0:case -2:{b=0;break a}default:{}}b=Mmb()|0;f[b>>2]=0-c;b=0}while(0);if((h|0)==7){f[g>>2]=c+(j[b+8>>1]|0);f[a+4>>2]=f[b+4>>2]}u=i;return b|0}function xpb(a,b){a=+a;b=b|0;var c=0,d=0,e=0,g=0.0;c=(n[s>>2]=a,f[s>>2]|0);d=c>>>23&255;e=d+-127|0;if(d>>>0>149){n[b>>2]=a;return +((c&8388607|0)==0|(e|0)!=128?(f[s>>2]=c&-2147483648,+n[s>>2]):a)}do if(d>>>0>=127)if(!(8388607>>>e&c)){n[b>>2]=a;a=(f[s>>2]=c&-2147483648,+n[s>>2]);break}else{e=-8388608>>e&c;g=(f[s>>2]=e,+n[s>>2]);f[b>>2]=e;a=a-g;break}else f[b>>2]=c&-2147483648;while(0);return +a}function ypb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0,k=0,l=0;l=u;u=u+16|0;j=l;k=c&255;b[j>>0]=k;e=a+16|0;g=f[e>>2]|0;if(!g)if(!(nob(a)|0)){g=f[e>>2]|0;i=4}else d=-1;else i=4;do if((i|0)==4){i=a+20|0;e=f[i>>2]|0;if(e>>>0<g>>>0?(d=c&255,(d|0)!=(b[a+75>>0]|0)):0){f[i>>2]=e+1;b[e>>0]=k;break}if((dj[f[a+36>>2]&255](a,j,1)|0)==1)d=h[j>>0]|0;else d=-1}while(0);u=l;return d|0}function zpb(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;k=W(d,c)|0;d=(c|0)==0?0:d;if((f[e+76>>2]|0)>-1)j=Ynb(e)|0;else j=0;g=e+74|0;h=b[g>>0]|0;b[g>>0]=h+255|h;g=e+4|0;h=f[g>>2]|0;i=(f[e+8>>2]|0)-h|0;if((i|0)>0){i=i>>>0<k>>>0?i:k;YDb(a|0,h|0,i|0)|0;f[g>>2]=(f[g>>2]|0)+i;g=k-i|0;a=a+i|0}else g=k;a:do if(!g)l=13;else{i=e+32|0;while(1){if(Hnb(e)|0)break;h=dj[f[i>>2]&255](e,a,g)|0;if((h+1|0)>>>0<2)break;g=g-h|0;if(!g){l=13;break a}else a=a+h|0}if(j|0)Znb(e);d=((k-g|0)>>>0)/(c>>>0)|0}while(0);if((l|0)==13)if(j)Znb(e);return d|0}function Apb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=0,j=0,k=0,l=0,m=0,o=0.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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=u;u=u+288|0;I=O+264|0;J=O;K=O+260|0;L=O+272|0;if((f[a+76>>2]|0)>-1)N=Ynb(a)|0;else N=0;g=b[c>>0]|0;a:do if(g<<24>>24){z=a+4|0;A=a+100|0;B=a+108|0;C=a+8|0;D=J+10|0;E=J+33|0;F=J+46|0;G=J+94|0;y=I+4|0;k=c;v=0;c=0;i=0;j=g;g=0;b:while(1){c:do if(!(Fnb(j&255)|0)){l=(b[k>>0]|0)==37;d:do if(l){j=k+1|0;m=b[j>>0]|0;e:do switch(m<<24>>24){case 37:break d;case 42:{x=0;j=k+2|0;break}default:{if(vnb(m&255)|0?(b[k+2>>0]|0)==36:0){x=Bpb(e,(h[j>>0]|0)+-48|0)|0;j=k+3|0;break e}w=(f[e>>2]|0)+(4-1)&~(4-1);x=f[w>>2]|0;f[e>>2]=w+4}}while(0);if(!(vnb(h[j>>0]|0)|0)){s=0;m=j}else{k=0;do{k=(k*10|0)+-48+(h[j>>0]|0)|0;j=j+1|0}while((vnb(h[j>>0]|0)|0)!=0);s=k;m=j}l=b[m>>0]|0;q=m+1|0;if(l<<24>>24==109){j=(x|0)!=0&1;i=0;k=q;m=m+2|0;l=b[q>>0]|0;g=0}else{j=0;k=m;m=q}switch(l<<24>>24){case 104:{w=(b[m>>0]|0)==104;l=w?-2:-1;k=w?k+2|0:m;break}case 108:{w=(b[m>>0]|0)==108;l=w?3:1;k=w?k+2|0:m;break}case 106:{l=3;k=m;break}case 116:case 122:{l=1;k=m;break}case 76:{l=2;k=m;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{l=0;break}default:{M=143;break b}}r=h[k>>0]|0;t=(r&47|0)==3;r=t?r|32:r;t=t?1:l;q=r&255;switch(q<<24>>24){case 99:{s=(s|0)>1?s:1;break}case 91:break;case 110:{Cpb(x,t,v,((v|0)<0)<<31>>31);l=v;break c}default:{Cnb(a,0);do{l=f[z>>2]|0;if(l>>>0<(f[A>>2]|0)>>>0){f[z>>2]=l+1;l=h[l>>0]|0}else l=Enb(a)|0}while((Fnb(l)|0)!=0);if(!(f[A>>2]|0))l=f[z>>2]|0;else{l=(f[z>>2]|0)+-1|0;f[z>>2]=l}v=(f[B>>2]|0)+v+l-(f[C>>2]|0)|0}}Cnb(a,s);m=f[z>>2]|0;l=f[A>>2]|0;if(m>>>0<l>>>0)f[z>>2]=m+1;else{if((Enb(a)|0)<0){M=143;break b}l=f[A>>2]|0}if(l|0)f[z>>2]=(f[z>>2]|0)+-1;f:do switch(q<<24>>24){case 91:case 99:case 115:{w=(r|0)==99;g:do if((r|16|0)==115){_Db(J|0,-1,257)|0;b[J>>0]=0;if((r|0)==115){b[E>>0]=0;d[D>>1]=0;d[D+2>>1]=0;b[D+4>>0]=0}}else{r=k+1|0;q=(b[r>>0]|0)==94;l=q&1;k=q?k+2|0:r;_Db(J|0,l|0,257)|0;b[J>>0]=0;switch(b[k>>0]|0){case 45:{q=(l^1)&255;b[F>>0]=q;k=k+1|0;break}case 93:{q=(l^1)&255;b[G>>0]=q;k=k+1|0;break}default:q=(l^1)&255}while(1){l=b[k>>0]|0;h:do switch(l<<24>>24){case 0:{M=143;break b}case 93:break g;case 45:{m=k+1|0;l=b[m>>0]|0;switch(l<<24>>24){case 93:case 0:{l=45;break h}default:{}}k=b[k+-1>>0]|0;if((k&255)<(l&255)){k=k&255;do{k=k+1|0;b[J+k>>0]=q;l=b[m>>0]|0}while(k>>>0<(l&255)>>>0);k=m}else k=m;break}default:{}}while(0);b[J+((l&255)+1)>>0]=q;k=k+1|0}}while(0);l=w?s+1|0:31;r=(t|0)==1;t=(j|0)!=0;i:do if(r){if(t){g=Cmb(l<<2)|0;if(!g){i=0;g=0;M=143;break b}}else g=x;f[I>>2]=0;f[y>>2]=0;i=0;j:while(1){q=(g|0)==0;do{k:while(1){m=f[z>>2]|0;if(m>>>0<(f[A>>2]|0)>>>0){f[z>>2]=m+1;m=h[m>>0]|0}else m=Enb(a)|0;if(!(b[J+(m+1)>>0]|0))break j;b[L>>0]=m;switch(jpb(K,L,1,I)|0){case -1:{i=0;M=143;break b}case -2:break;default:break k}}if(!q){f[g+(i<<2)>>2]=f[K>>2];i=i+1|0}}while(!(t&(i|0)==(l|0)));l=l<<1|1;m=Fmb(g,l<<2)|0;if(!m){i=0;M=143;break b}else g=m}if(!(spb(I)|0)){i=0;M=143;break b}else{q=i;i=0;m=g}}else{if(t){i=Cmb(l)|0;if(!i){i=0;g=0;M=143;break b}g=0;while(1){q=g;do{g=f[z>>2]|0;if(g>>>0<(f[A>>2]|0)>>>0){f[z>>2]=g+1;g=h[g>>0]|0}else g=Enb(a)|0;if(!(b[J+(g+1)>>0]|0)){m=0;g=0;break i}m=q;q=q+1|0;b[i+m>>0]=g}while((q|0)!=(l|0));l=l<<1|1;m=Fmb(i,l)|0;if(!m){g=0;M=143;break b}else{g=q;i=m}}}if(!x)while(1){g=f[z>>2]|0;if(g>>>0<(f[A>>2]|0)>>>0){f[z>>2]=g+1;g=h[g>>0]|0}else g=Enb(a)|0;if(!(b[J+(g+1)>>0]|0)){q=0;i=0;m=0;g=0;break i}}i=0;while(1){g=f[z>>2]|0;if(g>>>0<(f[A>>2]|0)>>>0){f[z>>2]=g+1;g=h[g>>0]|0}else g=Enb(a)|0;if(!(b[J+(g+1)>>0]|0)){q=i;i=x;m=0;g=0;break i}b[x+i>>0]=g;i=i+1|0}}while(0);if(!(f[A>>2]|0))l=f[z>>2]|0;else{l=(f[z>>2]|0)+-1|0;f[z>>2]=l}l=l-(f[C>>2]|0)+(f[B>>2]|0)|0;if(!l)break b;if(!((l|0)==(s|0)|w^1))break b;do if(t)if(r){f[x>>2]=m;break}else{f[x>>2]=i;break}while(0);if(!w){if(m|0)f[m+(q<<2)>>2]=0;if(!i){i=0;break f}b[i+q>>0]=0}break}case 120:case 88:case 112:{l=16;M=131;break}case 111:{l=8;M=131;break}case 117:case 100:{l=10;M=131;break}case 105:{l=0;M=131;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{o=+zob(a,t,0);if((f[B>>2]|0)==((f[C>>2]|0)-(f[z>>2]|0)|0))break b;if(x)switch(t|0){case 0:{n[x>>2]=o;break f}case 1:{p[x>>3]=o;break f}case 2:{p[x>>3]=o;break f}default:break f}break}default:{}}while(0);do if((M|0)==131){M=0;l=Dnb(a,l,0,-1,-1)|0;if((f[B>>2]|0)==((f[C>>2]|0)-(f[z>>2]|0)|0))break b;if((x|0)!=0&(r|0)==112){f[x>>2]=l;break}else{Cpb(x,t,l,H);break}}while(0);c=c+((x|0)!=0&1)|0;l=(f[B>>2]|0)+v+(f[z>>2]|0)-(f[C>>2]|0)|0;break c}while(0);k=k+(l&1)|0;Cnb(a,0);j=f[z>>2]|0;if(j>>>0<(f[A>>2]|0)>>>0){f[z>>2]=j+1;j=h[j>>0]|0}else j=Enb(a)|0;if((j|0)!=(h[k>>0]|0)){M=23;break b}l=v+1|0}else{while(1){j=k+1|0;if(!(Fnb(h[j>>0]|0)|0))break;else k=j}Cnb(a,0);do{j=f[z>>2]|0;if(j>>>0<(f[A>>2]|0)>>>0){f[z>>2]=j+1;j=h[j>>0]|0}else j=Enb(a)|0}while((Fnb(j)|0)!=0);if(!(f[A>>2]|0))j=f[z>>2]|0;else{j=(f[z>>2]|0)+-1|0;f[z>>2]=j}l=(f[B>>2]|0)+v+j-(f[C>>2]|0)|0}while(0);k=k+1|0;j=b[k>>0]|0;if(!(j<<24>>24))break a;else v=l}if((M|0)==23){if(f[A>>2]|0)f[z>>2]=(f[z>>2]|0)+-1;if((c|0)!=0|(j|0)>-1)break;else{j=0;c=i;M=144}}else if((M|0)==143)if(!c){c=i;M=144}if((M|0)==144){i=c;c=-1}if(j){Dmb(i);Dmb(g)}}else c=0;while(0);if(N|0)Znb(a);u=O;return c|0}function Bpb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=u;u=u+16|0;c=d;f[c>>2]=f[a>>2];while(1){e=(f[c>>2]|0)+(4-1)&~(4-1);a=f[e>>2]|0;f[c>>2]=e+4;if(b>>>0>1)b=b+-1|0;else break}u=d;return a|0}function Cpb(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;a:do if(a|0)switch(c|0){case -2:{b[a>>0]=e;break a}case -1:{d[a>>1]=e;break a}case 0:{f[a>>2]=e;break a}case 1:{f[a>>2]=e;break a}case 3:{c=a;f[c>>2]=e;f[c+4>>2]=g;break a}default:break a}while(0);return}function Dpb(){hb(503512);return 503520}function Epb(){zb(503512);return}function Fpb(a){a=a|0;var b=0;if(f[a+68>>2]|0){b=f[a+116>>2]|0;a=a+112|0;if(b|0)f[b+112>>2]=f[a>>2];a=f[a>>2]|0;if(!a)a=(Gpb()|0)+232|0;else a=a+116|0;f[a>>2]=b}return}function Gpb(){return unb()|0}function Hpb(a){a=a|0;var b=0,c=0;b=Dpb()|0;f[a+56>>2]=f[b>>2];c=f[b>>2]|0;if(c|0)f[c+52>>2]=a;f[b>>2]=a;Epb();return a|0}function Ipb(a){a=a|0;var c=0,d=0,e=0;d=(Xmb(a,43)|0)==0;c=b[a>>0]|0;d=d?c<<24>>24!=114&1:2;e=(Xmb(a,120)|0)==0;d=e?d:d|128;a=(Xmb(a,101)|0)==0;a=a?d:d|524288;a=c<<24>>24==114?a:a|64;a=c<<24>>24==119?a|512:a;return (c<<24>>24==97?a|1024:a)|0}function Jpb(a){a=a|0;var b=0,c=0;do if(a){if((f[a+76>>2]|0)<=-1){b=Npb(a)|0;break}c=(Ynb(a)|0)==0;b=Npb(a)|0;if(!c)Znb(a)}else{if(!(f[89559]|0))b=0;else b=Jpb(f[89559]|0)|0;a=Dpb()|0;a=f[a>>2]|0;if(a)do{if((f[a+76>>2]|0)>-1)c=Ynb(a)|0;else c=0;if((f[a+20>>2]|0)>>>0>(f[a+28>>2]|0)>>>0)b=Npb(a)|0|b;if(c|0)Znb(a);a=f[a+56>>2]|0}while((a|0)!=0);Epb()}while(0);return b|0}function Kpb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=u;u=u+48|0;h=i+32|0;g=i+16|0;d=i;if(Xmb(486620,b[c>>0]|0)|0){e=Ipb(c)|0;f[d>>2]=a;f[d+4>>2]=e|32768;f[d+8>>2]=438;d=Lmb(ub(5,d|0)|0)|0;if((d|0)>=0){if(e&524288|0){f[g>>2]=d;f[g+4>>2]=2;f[g+8>>2]=1;rb(221,g|0)|0}a=Mpb(d,c)|0;if(!a){f[h>>2]=d;wb(6,h|0)|0;a=0}}else a=0}else{a=Mmb()|0;f[a>>2]=22;a=0}u=i;return a|0}function Lpb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;if((f[a+76>>2]|0)>-1)e=Ynb(a)|0;else e=0;Fpb(a);g=(f[a>>2]&1|0)!=0;if(!g){d=Dpb()|0;c=f[a+52>>2]|0;b=a+56|0;if(c|0)f[c+56>>2]=f[b>>2];b=f[b>>2]|0;if(b|0)f[b+52>>2]=c;if((f[d>>2]|0)==(a|0))f[d>>2]=b;Epb()}b=Jpb(a)|0;b=_i[f[a+12>>2]&2047](a)|0|b;c=f[a+92>>2]|0;if(c|0)Dmb(c);if(g){if(e|0)Znb(a)}else Dmb(a);return b|0}function Mpb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+64|0;j=k+40|0;h=k+24|0;g=k+16|0;e=k;i=k+56|0;if(Xmb(486620,b[c>>0]|0)|0){d=Cmb(1156)|0;if(!d)d=0;else{_Db(d|0,0,124)|0;if(!(Xmb(c,43)|0))f[d>>2]=(b[c>>0]|0)==114?8:4;if(Xmb(c,101)|0){f[e>>2]=a;f[e+4>>2]=2;f[e+8>>2]=1;rb(221,e|0)|0}if((b[c>>0]|0)==97){f[g>>2]=a;f[g+4>>2]=3;c=rb(221,g|0)|0;if(!(c&1024)){f[h>>2]=a;f[h+4>>2]=4;f[h+8>>2]=c|1024;rb(221,h|0)|0}e=f[d>>2]|128;f[d>>2]=e}else e=f[d>>2]|0;f[d+60>>2]=a;f[d+44>>2]=d+132;f[d+48>>2]=1024;c=d+75|0;b[c>>0]=-1;if((e&8|0)==0?(f[j>>2]=a,f[j+4>>2]=21523,f[j+8>>2]=i,(vb(54,j|0)|0)==0):0)b[c>>0]=10;f[d+32>>2]=174;f[d+36>>2]=176;f[d+40>>2]=175;f[d+12>>2]=968;if(!(f[125857]|0))f[d+76>>2]=-1;Hpb(d)|0}}else{d=Mmb()|0;f[d>>2]=22;d=0}u=k;return d|0}function Npb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;b=a+20|0;h=a+28|0;if((f[b>>2]|0)>>>0>(f[h>>2]|0)>>>0?(dj[f[a+36>>2]&255](a,0,0)|0,(f[b>>2]|0)==0):0)a=-1;else{c=a+4|0;d=f[c>>2]|0;e=a+8|0;g=f[e>>2]|0;if(d>>>0<g>>>0)dj[f[a+40>>2]&255](a,d-g|0,1)|0;f[a+16>>2]=0;f[h>>2]=0;f[b>>2]=0;f[e>>2]=0;f[c>>2]=0;a=0}return a|0}function Opb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=W(c,b)|0;c=(b|0)==0?0:c;if((f[d+76>>2]|0)>-1){g=(Ynb(d)|0)==0;a=mob(a,e,d)|0;if(!g)Znb(d)}else a=mob(a,e,d)|0;if((a|0)!=(e|0))c=(a>>>0)/(b>>>0)|0;return c|0}function Ppb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;do if((a|0)!=-1){if((f[c+76>>2]|0)>-1)g=Ynb(c)|0;else g=0;h=c+4|0;d=f[h>>2]|0;if(!d){Hnb(c)|0;d=f[h>>2]|0;if(d|0){e=d;i=6}}else{e=d;i=6}if((i|0)==6?e>>>0>((f[c+44>>2]|0)+-8|0)>>>0:0){i=e+-1|0;f[h>>2]=i;b[i>>0]=a;f[c>>2]=f[c>>2]&-17;if(!g)break;Znb(c);break}if(g){Znb(c);a=-1}else a=-1}else a=-1;while(0);return a|0}function Qpb(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=b;b=Wnb(f[89527]|0,a,d)|0;u=c;return b|0}function Rpb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;if((f[c+76>>2]|0)>=0?(Ynb(c)|0)!=0:0){e=a&255;d=a&255;if((d|0)!=(b[c+75>>0]|0)?(i=c+20|0,j=f[i>>2]|0,j>>>0<(f[c+16>>2]|0)>>>0):0){f[i>>2]=j+1;b[j>>0]=e}else d=ypb(c,a)|0;Znb(c)}else k=3;do if((k|0)==3){e=a&255;d=a&255;if((d|0)!=(b[c+75>>0]|0)?(g=c+20|0,h=f[g>>2]|0,h>>>0<(f[c+16>>2]|0)>>>0):0){f[g>>2]=h+1;b[h>>0]=e;break}d=ypb(c,a)|0}while(0);return d|0}function Spb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((c|0)==1)b=b-(f[a+8>>2]|0)+(f[a+4>>2]|0)|0;d=a+20|0;e=a+28|0;if((f[d>>2]|0)>>>0>(f[e>>2]|0)>>>0?(dj[f[a+36>>2]&255](a,0,0)|0,(f[d>>2]|0)==0):0)b=-1;else{f[a+16>>2]=0;f[e>>2]=0;f[d>>2]=0;if((dj[f[a+40>>2]&255](a,b,c)|0)<0)b=-1;else{f[a+8>>2]=0;f[a+4>>2]=0;f[a>>2]=f[a>>2]&-17;b=0}}return b|0}function Tpb(a){a=a|0;var b=0;if((f[a+76>>2]|0)>-1){b=(Ynb(a)|0)==0;a=(f[a>>2]|0)>>>5&1}else a=(f[a>>2]|0)>>>5&1;return a|0}function Upb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;f[e>>2]=c;c=Vpb(a,b,e)|0;u=d;return c|0}function Vpb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+128|0;d=g;e=d;h=e+124|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(h|0));f[d+32>>2]=229;f[d+44>>2]=a;f[d+76>>2]=-1;f[d+84>>2]=a;h=Apb(d,b,c)|0;u=g;return h|0}function Wpb(a,b,c){a=a|0;b=b|0;c=c|0;return Xpb(a,b,c)|0}function Xpb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;d=a+84|0;g=f[d>>2]|0;h=c+256|0;e=Ymb(g,0,h)|0;e=(e|0)==0?h:e-g|0;c=e>>>0<c>>>0?e:c;YDb(b|0,g|0,c|0)|0;f[a+4>>2]=g+c;b=g+e|0;f[a+8>>2]=b;f[d>>2]=b;return c|0}function Ypb(a,b){a=a|0;b=b|0;var c=0;c=Rmb(a)|0;return ((Opb(a,1,c,b)|0)!=(c|0))<<31>>31|0}function Zpb(a){a=a|0;var b=0;if(!(f[a>>2]&128))b=1;else b=(f[a+20>>2]|0)>>>0>(f[a+28>>2]|0)>>>0?2:1;b=dj[f[a+40>>2]&255](a,0,b)|0;if((b|0)>=0)b=b-(f[a+8>>2]|0)+(f[a+4>>2]|0)+(f[a+20>>2]|0)-(f[a+28>>2]|0)|0;return b|0}function _pb(a){a=a|0;var b=0;if((f[a+76>>2]|0)>-1){b=(Ynb(a)|0)==0;a=Zpb(a)|0}else a=Zpb(a)|0;return a|0}function $pb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((f[a+76>>2]|0)>-1){d=(Ynb(a)|0)==0;b=Spb(a,b,c)|0;if(!d)Znb(a)}else b=Spb(a,b,c)|0;return b|0}function aqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;f[d>>2]=f[c>>2];d=Vnb(0,0,b,d)|0;if((d|0)>=0?(e=d+1|0,g=Cmb(e)|0,f[a>>2]=g,(g|0)!=0):0)a=Vnb(g,e,b,c)|0;else a=-1;u=h;return a|0}function bqb(a,b,c){a=a|0;b=b|0;c=c|0;return $pb(a,b,c)|0}function cqb(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=a;f[d+4>>2]=b;b=Lmb(sb(33,d|0)|0)|0;u=c;return b|0}function dqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;f[e>>2]=a;f[e+4>>2]=b;f[e+8>>2]=c;c=Lmb(xb(85,e|0)|0)|0;u=d;return c|0}function eqb(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;m=u;u=u+4304|0;l=m+4144|0;k=m+4136|0;d=m+4128|0;h=m+4224|0;i=m+4148|0;e=m+4096|0;j=m;do if(a){f[d>>2]=a;f[d+4>>2]=2656256;d=Lmb(ub(5,d|0)|0)|0;if((d|0)<0)c=0;else{mpb(e,d);a=dqb(e,j,4095)|0;if((a|0)>=0?(b[j+a>>0]=0,lpb(d,h)|0,g=Qob(j,i)|0,(g|0)>=0):0){if((f[h>>2]|0)==(f[i>>2]|0)?(f[h+72>>2]|0)==(f[i+72>>2]|0):0){f[k>>2]=d;wb(6,k|0)|0;if(!c){c=Wmb(j)|0;break}else{Smb(c,j)|0;break}}if(!g){k=Mmb()|0;f[k>>2]=40}}f[l>>2]=d;wb(6,l|0)|0;c=0}}else{c=Mmb()|0;f[c>>2]=22;c=0}while(0);u=m;return c|0}function fqb(){$a(503524);return}function gqb(){return 503524}function hqb(a){a=a|0;return}function iqb(a){a=a|0;hqb(a);GBb(a);return}function jqb(a){a=a|0;return 486624}function kqb(a){a=a|0;mqb(a);return}function lqb(a){a=a|0;kqb(a);GBb(a);return}function mqb(a){a=a|0;f[a>>2]=358672;nqb(a,0);vtb(a+28|0);Dmb(f[a+32>>2]|0);Dmb(f[a+36>>2]|0);Dmb(f[a+48>>2]|0);Dmb(f[a+60>>2]|0);return}function nqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;d=a+32|0;e=a+36|0;c=f[a+40>>2]|0;while(1){if(!c)break;g=c+-1|0;Fj[f[(f[d>>2]|0)+(g<<2)>>2]&511](b,a,f[(f[e>>2]|0)+(g<<2)>>2]|0);c=g}return}function oqb(a){a=a|0;mqb(a);GBb(a);return}function pqb(a){a=a|0;mqb(a);return}function qqb(a){a=a|0;f[a>>2]=358688;vtb(a+4|0);return}function rqb(a){a=a|0;qqb(a);GBb(a);return}function sqb(a,b){a=a|0;b=b|0;return}function tqb(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function uqb(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;g=a;f[g>>2]=0;f[g+4>>2]=0;g=a+8|0;f[g>>2]=-1;f[g+4>>2]=-1;return}function vqb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=a;f[d>>2]=0;f[d+4>>2]=0;d=a+8|0;f[d>>2]=-1;f[d+4>>2]=-1;return}function wqb(a){a=a|0;return 0}function xqb(a){a=a|0;return 0}function yqb(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;Eqb()|0;i=a+12|0;j=a+16|0;h=0;while(1){if((h|0)>=(d|0))break;e=f[i>>2]|0;g=f[j>>2]|0;if(e>>>0<g>>>0){g=g-e|0;k=d-h|0;g=(k|0)<(g|0)?k:g;Gqb(c,e,g)|0;f[i>>2]=(f[i>>2]|0)+g;c=c+g|0;e=g}else{e=_i[f[(f[a>>2]|0)+40>>2]&2047](a)|0;if((e|0)==-1)break;e=Hqb(e)|0;b[c>>0]=e;c=c+1|0;e=1}h=e+h|0}return h|0}function zqb(a){a=a|0;return Eqb()|0}function Aqb(a){a=a|0;var c=0;c=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;if((c|0)==(Eqb()|0))a=Eqb()|0;else{c=a+12|0;a=f[c>>2]|0;f[c>>2]=a+1;a=Fqb(b[a>>0]|0)|0}return a|0}function Bqb(a,b){a=a|0;b=b|0;return Eqb()|0}function Cqb(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;i=Eqb()|0;j=a+24|0;k=a+28|0;e=0;while(1){if((e|0)>=(d|0))break;g=f[j>>2]|0;h=f[k>>2]|0;if(g>>>0<h>>>0){h=h-g|0;l=d-e|0;h=(l|0)<(h|0)?l:h;Gqb(g,c,h)|0;f[j>>2]=(f[j>>2]|0)+h;c=c+h|0;e=h+e|0}else{h=f[(f[a>>2]|0)+52>>2]|0;l=Fqb(b[c>>0]|0)|0;if((cj[h&1023](a,l)|0)==(i|0))break;c=c+1|0;e=e+1|0}}return e|0}function Dqb(a,b){a=a|0;b=b|0;return Eqb()|0}function Eqb(){return -1}function Fqb(a){a=a|0;return a&255|0}function Gqb(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)YDb(a|0,b|0,c|0)|0;return a|0}function Hqb(a){a=a|0;return a&255|0}function Iqb(a){a=a|0;f[a>>2]=358752;vtb(a+4|0);return}function Jqb(a){a=a|0;Iqb(a);GBb(a);return}function Kqb(a,b){a=a|0;b=b|0;return}function Lqb(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function Mqb(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;g=a;f[g>>2]=0;f[g+4>>2]=0;g=a+8|0;f[g>>2]=-1;f[g+4>>2]=-1;return}function Nqb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=a;f[d>>2]=0;f[d+4>>2]=0;d=a+8|0;f[d>>2]=-1;f[d+4>>2]=-1;return}function Oqb(a){a=a|0;return 0}function Pqb(a){a=a|0;return 0}function Qqb(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;Wqb()|0;h=a+12|0;i=a+16|0;g=0;while(1){if((g|0)>=(c|0))break;d=f[h>>2]|0;e=f[i>>2]|0;if(d>>>0<e>>>0){e=e-d>>2;j=c-g|0;e=(j|0)<(e|0)?j:e;Yqb(b,d,e)|0;f[h>>2]=(f[h>>2]|0)+(e<<2);b=b+(e<<2)|0;d=e}else{d=_i[f[(f[a>>2]|0)+40>>2]&2047](a)|0;if((d|0)==-1)break;d=Zqb(d)|0;f[b>>2]=d;b=b+4|0;d=1}g=d+g|0}return g|0}function Rqb(a){a=a|0;return Wqb()|0}function Sqb(a){a=a|0;var b=0;b=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;if((b|0)==(Wqb()|0))a=Wqb()|0;else{b=a+12|0;a=f[b>>2]|0;f[b>>2]=a+4;a=Xqb(f[a>>2]|0)|0}return a|0}function Tqb(a,b){a=a|0;b=b|0;return Wqb()|0}function Uqb(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;h=Wqb()|0;i=a+24|0;j=a+28|0;d=0;while(1){if((d|0)>=(c|0))break;e=f[i>>2]|0;g=f[j>>2]|0;if(e>>>0<g>>>0){g=g-e>>2;k=c-d|0;g=(k|0)<(g|0)?k:g;Yqb(e,b,g)|0;f[i>>2]=(f[i>>2]|0)+(g<<2);b=b+(g<<2)|0;d=g+d|0}else{g=f[(f[a>>2]|0)+52>>2]|0;k=Xqb(f[b>>2]|0)|0;if((cj[g&1023](a,k)|0)==(h|0))break;b=b+4|0;d=d+1|0}}return d|0}function Vqb(a,b){a=a|0;b=b|0;return Wqb()|0}function Wqb(){return -1}function Xqb(a){a=a|0;return a|0}function Yqb(a,b,c){a=a|0;b=b|0;c=c|0;if(c)Zmb(a,b,c)|0;return a|0}function Zqb(a){a=a|0;return a|0}function _qb(a){a=a|0;crb(a,358848);kqb(a+8|0);return}function $qb(a){a=a|0;_qb(a);GBb(a);return}function arb(a){a=a|0;_qb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function brb(a){a=a|0;$qb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function crb(a,b){a=a|0;b=b|0;return}function drb(a){a=a|0;hrb(a,358896);pqb(a+8|0);return}function erb(a){a=a|0;drb(a);GBb(a);return}function frb(a){a=a|0;drb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function grb(a){a=a|0;erb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function hrb(a,b){a=a|0;b=b|0;return}function irb(a){a=a|0;mrb(a,358904);kqb(a+4|0);return}function jrb(a){a=a|0;irb(a);GBb(a);return}function krb(a){a=a|0;irb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function lrb(a){a=a|0;jrb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function mrb(a,b){a=a|0;b=b|0;return}function nrb(a){a=a|0;rrb(a,358952);pqb(a+4|0);return}function orb(a){a=a|0;nrb(a);GBb(a);return}function prb(a){a=a|0;nrb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function qrb(a){a=a|0;orb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function rrb(a,b){a=a|0;b=b|0;return}function srb(a){a=a|0;yrb(a,359020);kqb(a+12|0);return}function trb(a){a=a|0;srb(a);GBb(a);return}function urb(a){a=a|0;srb(a+-8|0);return}function vrb(a){a=a|0;trb(a+-8|0);return}function wrb(a){a=a|0;srb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function xrb(a){a=a|0;trb(a+(f[(f[a>>2]|0)+-12>>2]|0)|0);return}function yrb(a,b){a=a|0;b=b|0;mrb(a+8|0,b+12|0);crb(a,b+4|0);return}function zrb(a){a=a|0;return Rmb(a)|0}function Arb(a,b){a=a|0;b=b|0;f[a+16>>2]=(f[a+24>>2]|0)==0|b;return}function Brb(a,b){a=a|0;b=b|0;var c=0;f[a+24>>2]=b;f[a+16>>2]=(b|0)==0&1;f[a+20>>2]=0;f[a+4>>2]=4098;f[a+12>>2]=0;f[a+8>>2]=6;c=a+28|0;b=a+32|0;a=b+40|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(a|0));wBb(c);return}function Crb(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function Drb(a,b){a=a|0;b=b|0;uBb(a,b+28|0);return}function Erb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=b+28|0;uBb(a,d);xBb(d,c)|0;nqb(b,1);return}function Frb(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function Grb(a,b){a=a|0;b=b|0;return a<<24>>24==b<<24>>24|0}function Hrb(a){a=a|0;f[a>>2]=358688;wBb(a+4|0);a=a+8|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;f[a+20>>2]=0;return}function Irb(a){a=a|0;f[a>>2]=358752;wBb(a+4|0);a=a+8|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;f[a+20>>2]=0;return}function Jrb(a,c,e){a=a|0;c=c|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;s=u;u=u+16|0;j=s;b[a>>0]=0;g=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;h=f[g+16>>2]|0;if(!h){g=f[g+72>>2]|0;if(g|0)Krb(g)|0;do if(!e?(i=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,f[i+4>>2]&4096|0):0){Drb(j,i);l=utb(j,504576)|0;vtb(j);h=f[c+(f[(f[c>>2]|0)+-12>>2]|0)+24>>2]|0;l=l+8|0;m=h;n=(h|0)==0;o=m+12|0;p=m+16|0;q=h;while(1){if(n){i=0;h=0;break}g=f[o>>2]|0;if((g|0)==(f[p>>2]|0))g=_i[f[(f[q>>2]|0)+36>>2]&2047](m)|0;else g=Fqb(b[g>>0]|0)|0;k=Crb(g,Eqb()|0)|0;i=k?0:h;if(k){i=0;h=0;break}e=i;j=e+12|0;g=f[j>>2]|0;k=e+16|0;if((g|0)==(f[k>>2]|0))g=_i[f[(f[i>>2]|0)+36>>2]&2047](e)|0;else g=Fqb(b[g>>0]|0)|0;if((g&255)<<24>>24<=-1){r=21;break}if(!(d[(f[l>>2]|0)+(g<<24>>24<<1)>>1]&8192)){r=21;break}g=f[j>>2]|0;if((g|0)==(f[k>>2]|0))_i[f[(f[i>>2]|0)+40>>2]&2047](e)|0;else{f[j>>2]=g+1;Fqb(b[g>>0]|0)|0}}if(h|0){g=f[i+12>>2]|0;if((g|0)==(f[i+16>>2]|0))g=_i[f[(f[h>>2]|0)+36>>2]&2047](i)|0;else g=Fqb(b[g>>0]|0)|0;if(!(Crb(g,Eqb()|0)|0))break}r=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;Arb(r,f[r+16>>2]|6)}while(0);b[a>>0]=(f[c+(f[(f[c>>2]|0)+-12>>2]|0)+16>>2]|0)==0&1}else Arb(g,h|4);u=s;return}function Krb(a){a=a|0;var c=0,d=0,e=0;d=u;u=u+16|0;c=d;if(f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0){Lrb(c,a);if(b[c>>0]|0?(e=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0,(_i[f[(f[e>>2]|0)+24>>2]&2047](e)|0)==-1):0){e=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(e,f[e+16>>2]|1)}Mrb(c)}u=d;return a|0}function Lrb(a,c){a=a|0;c=c|0;b[a>>0]=0;f[a+4>>2]=c;c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;if(!(f[c+16>>2]|0)){c=f[c+72>>2]|0;if(c|0)Krb(c)|0;b[a>>0]=1}return}function Mrb(a){a=a|0;var b=0;a=a+4|0;b=f[a>>2]|0;b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;if((((f[b+24>>2]|0?(f[b+16>>2]|0)==0:0)?f[b+4>>2]&8192|0:0)?!(FCb()|0):0)?(b=f[a>>2]|0,b=f[b+(f[(f[b>>2]|0)+-12>>2]|0)+24>>2]|0,(_i[f[(f[b>>2]|0)+24>>2]&2047](b)|0)==-1):0){b=f[a>>2]|0;b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;Arb(b,f[b+16>>2]|1)}return}function Nrb(a,c){a=a|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,p=0;m=u;u=u+32|0;g=m+24|0;e=m+20|0;h=m+16|0;i=m+12|0;n=m+28|0;l=m+8|0;j=m+4|0;k=m;Jrb(n,a,0);if(b[n>>0]|0){f[l>>2]=0;Drb(k,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);o=utb(k,504600)|0;n=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;p=f[(f[o>>2]|0)+16>>2]|0;f[h>>2]=f[n+24>>2];f[i>>2]=0;f[e>>2]=f[h>>2];f[g>>2]=f[i>>2];jj[p&63](o,e,g,n,l,j)|0;vtb(k);e=f[j>>2]|0;do if((e|0)>=-32768)if((e|0)>32767){e=f[l>>2]|4;f[l>>2]=e;d[c>>1]=32767;break}else{d[c>>1]=e;e=f[l>>2]|0;break}else{e=f[l>>2]|4;f[l>>2]=e;d[c>>1]=-32768}while(0);p=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(p,f[p+16>>2]|e)}u=m;return a|0}function Orb(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;k=u;u=u+32|0;e=k+20|0;d=k+16|0;g=k+12|0;h=k+8|0;l=k+24|0;i=k+4|0;j=k;Jrb(l,a,0);if(b[l>>0]|0){f[i>>2]=0;Drb(j,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);m=utb(j,504600)|0;l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;n=f[(f[m>>2]|0)+24>>2]|0;f[g>>2]=f[l+24>>2];f[h>>2]=0;f[d>>2]=f[g>>2];f[e>>2]=f[h>>2];jj[n&63](m,d,e,l,i,c)|0;vtb(j);l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|f[i>>2])}u=k;return a|0}function Prb(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;l=u;u=u+32|0;e=l+24|0;d=l+20|0;g=l+16|0;h=l+12|0;m=l+28|0;i=l+8|0;j=l+4|0;k=l;Jrb(m,a,0);if(b[m>>0]|0){f[i>>2]=0;Drb(k,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);n=utb(k,504600)|0;m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;o=f[(f[n>>2]|0)+16>>2]|0;f[g>>2]=f[m+24>>2];f[h>>2]=0;f[d>>2]=f[g>>2];f[e>>2]=f[h>>2];jj[o&63](n,d,e,m,i,j)|0;vtb(k);f[c>>2]=f[j>>2];m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|f[i>>2])}u=l;return a|0}function Qrb(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;k=u;u=u+32|0;e=k+20|0;d=k+16|0;g=k+12|0;h=k+8|0;l=k+24|0;i=k+4|0;j=k;Jrb(l,a,0);if(b[l>>0]|0){f[i>>2]=0;Drb(j,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);m=utb(j,504600)|0;l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;n=f[(f[m>>2]|0)+28>>2]|0;f[g>>2]=f[l+24>>2];f[h>>2]=0;f[d>>2]=f[g>>2];f[e>>2]=f[h>>2];jj[n&63](m,d,e,l,i,c)|0;vtb(j);l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|f[i>>2])}u=k;return a|0}function Rrb(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;k=u;u=u+32|0;e=k+20|0;d=k+16|0;g=k+12|0;h=k+8|0;l=k+24|0;i=k+4|0;j=k;Jrb(l,a,0);if(b[l>>0]|0){f[i>>2]=0;Drb(j,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);m=utb(j,504600)|0;l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;n=f[(f[m>>2]|0)+40>>2]|0;f[g>>2]=f[l+24>>2];f[h>>2]=0;f[d>>2]=f[g>>2];f[e>>2]=f[h>>2];jj[n&63](m,d,e,l,i,c)|0;vtb(j);l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|f[i>>2])}u=k;return a|0}function Srb(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;k=u;u=u+32|0;e=k+20|0;d=k+16|0;g=k+12|0;h=k+8|0;l=k+24|0;i=k+4|0;j=k;Jrb(l,a,0);if(b[l>>0]|0){f[i>>2]=0;Drb(j,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);m=utb(j,504600)|0;l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;n=f[(f[m>>2]|0)+44>>2]|0;f[g>>2]=f[l+24>>2];f[h>>2]=0;f[d>>2]=f[g>>2];f[e>>2]=f[h>>2];jj[n&63](m,d,e,l,i,c)|0;vtb(j);l=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(l,f[l+16>>2]|f[i>>2])}u=k;return a|0}function Trb(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;g=a+4|0;f[g>>2]=0;c=Eqb()|0;Jrb(e,a,1);do if(b[e>>0]|0){c=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;d=c+12|0;e=f[d>>2]|0;if((e|0)==(f[c+16>>2]|0))c=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;else{f[d>>2]=e+1;c=Fqb(b[e>>0]|0)|0}if(Crb(c,Eqb()|0)|0){g=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(g,f[g+16>>2]|6);break}else{f[g>>2]=1;break}}while(0);u=h;return c|0}function Urb(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+16|0;h=j;i=a+4|0;f[i>>2]=0;Jrb(h,a,1);if(b[h>>0]|0){a:do if((c|0)==2147483647)while(1){e=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;g=e+12|0;h=f[g>>2]|0;if((h|0)==(f[e+16>>2]|0))e=_i[f[(f[e>>2]|0)+40>>2]&2047](e)|0;else{f[g>>2]=h+1;e=Fqb(b[h>>0]|0)|0}if(Crb(e,Eqb()|0)|0){e=2;break a}f[i>>2]=(f[i>>2]|0)+1;if(Crb(e,d)|0){e=0;break}}else while(1){if((f[i>>2]|0)>=(c|0)){e=0;break a}e=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;g=e+12|0;h=f[g>>2]|0;if((h|0)==(f[e+16>>2]|0))e=_i[f[(f[e>>2]|0)+40>>2]&2047](e)|0;else{f[g>>2]=h+1;e=Fqb(b[h>>0]|0)|0}if(Crb(e,Eqb()|0)|0){e=2;break a}f[i>>2]=(f[i>>2]|0)+1;if(Crb(e,d)|0){e=0;break}}while(0);i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(i,f[i+16>>2]|e)}u=j;return a|0}function Vrb(a){a=a|0;var c=0,d=0,e=0;e=u;u=u+16|0;d=e;f[a+4>>2]=0;c=Eqb()|0;Jrb(d,a,1);if(b[d>>0]|0){c=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;d=f[c+12>>2]|0;if((d|0)==(f[c+16>>2]|0))c=_i[f[(f[c>>2]|0)+36>>2]&2047](c)|0;else c=Fqb(b[d>>0]|0)|0;if(Crb(c,Eqb()|0)|0){a=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(a,f[a+16>>2]|2)}}u=e;return c|0}function Wrb(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;i=h;g=a+4|0;f[g>>2]=0;Jrb(i,a,1);e=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;if(b[i>>0]|0){i=f[e+24>>2]|0;i=dj[f[(f[i>>2]|0)+32>>2]&255](i,c,d)|0;f[g>>2]=i;if((i|0)!=(d|0)){i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(i,f[i+16>>2]|6)}}else Arb(e,f[e+16>>2]|4);u=h;return a|0}function Xrb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;e=u;u=u+32|0;g=e+16|0;d=e;h=a;f[h>>2]=0;f[h+4>>2]=0;h=a+8|0;f[h>>2]=-1;f[h+4>>2]=-1;Jrb(g,c,1);if(b[g>>0]|0){h=f[c+(f[(f[c>>2]|0)+-12>>2]|0)+24>>2]|0;Lj[f[(f[h>>2]|0)+16>>2]&15](d,h,0,0,1,8);f[a>>2]=f[d>>2];f[a+4>>2]=f[d+4>>2];f[a+8>>2]=f[d+8>>2];f[a+12>>2]=f[d+12>>2]}u=e;return}function Yrb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;g=u;u=u+48|0;d=g+16|0;h=g+32|0;e=g;i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(i,f[i+16>>2]&-3);Jrb(h,a,1);if(b[h>>0]|0?(i=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0,h=f[(f[i>>2]|0)+20>>2]|0,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],Ij[h&127](e,i,d,8),i=e+8|0,(f[i>>2]|0)==-1?(f[i+4>>2]|0)==-1:0):0){i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(i,f[i+16>>2]|4)}u=g;return a|0}function Zrb(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;h=u;u=u+32|0;i=h+16|0;g=h;j=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(j,f[j+16>>2]&-3);Jrb(i,a,1);if(b[i>>0]|0?(j=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0,Lj[f[(f[j>>2]|0)+16>>2]&15](g,j,c,d,e,8),j=g+8|0,(f[j>>2]|0)==-1?(f[j+4>>2]|0)==-1:0):0){j=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(j,f[j+16>>2]|4)}u=h;return a|0}function _rb(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=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+12>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(hj[m&63](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function $rb(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=u;u=u+16|0;e=m+12|0;k=m+8|0;l=m;Lrb(l,a);if(b[l>>0]|0){h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;g=f[h+4>>2]&74;Drb(e,h);h=utb(e,504632)|0;vtb(e);i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;j=f[i+24>>2]|0;n=Eqb()|0;d=i+76|0;if(Crb(n,f[d>>2]|0)|0){Drb(e,i);n=utb(e,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,32)|0;vtb(e);n=n<<24>>24;f[d>>2]=n;d=n}else d=f[d>>2]|0;n=f[(f[h>>2]|0)+16>>2]|0;f[k>>2]=j;f[e>>2]=f[k>>2];if(!(hj[n&63](h,e,i,d&255,(g|0)==64|(g|0)==8?c&65535:c<<16>>16)|0)){n=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(n,f[n+16>>2]|5)}}Mrb(l);u=m;return a|0}function asb(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=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+24>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(hj[m&63](g,e,h,d&255,c&65535)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function bsb(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=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+16>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(hj[m&63](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function csb(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=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+24>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(hj[m&63](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function dsb(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=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+16>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(hj[m&63](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function esb(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=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+24>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(hj[m&63](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function fsb(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;g=m+12|0;k=m+8|0;l=m;Lrb(l,a);if(b[l>>0]|0){Drb(g,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);h=utb(g,504632)|0;vtb(g);i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;j=f[i+24>>2]|0;n=Eqb()|0;e=i+76|0;if(Crb(n,f[e>>2]|0)|0){Drb(g,i);n=utb(g,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,32)|0;vtb(g);n=n<<24>>24;f[e>>2]=n;e=n}else e=f[e>>2]|0;n=f[(f[h>>2]|0)+20>>2]|0;f[k>>2]=j;f[g>>2]=f[k>>2];if(!(jj[n&63](h,g,i,e&255,c,d)|0)){n=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(n,f[n+16>>2]|5)}}Mrb(l);u=m;return a|0}function gsb(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;g=m+12|0;k=m+8|0;l=m;Lrb(l,a);if(b[l>>0]|0){Drb(g,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);h=utb(g,504632)|0;vtb(g);i=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;j=f[i+24>>2]|0;n=Eqb()|0;e=i+76|0;if(Crb(n,f[e>>2]|0)|0){Drb(g,i);n=utb(g,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,32)|0;vtb(g);n=n<<24>>24;f[e>>2]=n;e=n}else e=f[e>>2]|0;n=f[(f[h>>2]|0)+28>>2]|0;f[k>>2]=j;f[g>>2]=f[k>>2];if(!(jj[n&63](h,g,i,e&255,c,d)|0)){n=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(n,f[n+16>>2]|5)}}Mrb(l);u=m;return a|0}function hsb(a,c){a=a|0;c=+c;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+32>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(fj[m&7](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function isb(a,c){a=a|0;c=+c;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+32>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(fj[m&7](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function jsb(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=u;u=u+16|0;e=l+12|0;j=l+8|0;k=l;Lrb(k,a);if(b[k>>0]|0){Drb(e,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);g=utb(e,504632)|0;vtb(e);h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;i=f[h+24>>2]|0;m=Eqb()|0;d=h+76|0;if(Crb(m,f[d>>2]|0)|0){Drb(e,h);m=utb(e,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,32)|0;vtb(e);m=m<<24>>24;f[d>>2]=m;d=m}else d=f[d>>2]|0;m=f[(f[g>>2]|0)+40>>2]|0;f[j>>2]=i;f[e>>2]=f[j>>2];if(!(hj[m&63](g,e,h,d&255,c)|0)){m=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(m,f[m+16>>2]|5)}}Mrb(k);u=l;return a|0}function ksb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;i=j;Lrb(i,a);do if(b[i>>0]|0){d=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0;e=d;if(d|0){g=e+24|0;h=f[g>>2]|0;if((h|0)==(f[e+28>>2]|0)){h=f[(f[d>>2]|0)+52>>2]|0;c=Fqb(c)|0;c=cj[h&1023](e,c)|0}else{f[g>>2]=h+1;b[h>>0]=c;c=Fqb(c)|0}if(!(Crb(c,Eqb()|0)|0))break}h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(h,f[h+16>>2]|1)}while(0);Mrb(i);u=j;return a|0}function lsb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=u;u=u+16|0;e=g;Lrb(e,a);if((d|0)!=0&(b[e>>0]|0)!=0?(h=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+24>>2]|0,(dj[f[(f[h>>2]|0)+48>>2]&255](h,c,d)|0)!=(d|0)):0){h=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;Arb(h,f[h+16>>2]|1)}Mrb(e);u=g;return a|0}function msb(a){a=a|0;a=a+16|0;f[a>>2]=f[a>>2]|1;return}function nsb(){psb();return}function osb(){return}function psb(){qsb(0);return}function qsb(a){a=a|0;var b=0,c=0;b=f[89463]|0;rsb(504208,b,504264);f[125882]=358820;f[125884]=358840;f[125883]=0;Brb(503536,504208);f[125902]=0;a=Eqb()|0;f[125903]=a;ssb(504272,b,504328);f[125904]=358868;f[125906]=358888;f[125905]=0;Brb(503624,504272);f[125924]=0;b=Wqb()|0;f[125925]=b;b=f[89527]|0;tsb(504336,b,504384);f[125926]=272748;f[125927]=272768;Brb(503708,504336);f[125945]=0;a=Eqb()|0;f[125946]=a;usb(504392,b,504440);f[125947]=358924;f[125948]=358944;Brb(503792,504392);f[125966]=0;b=Wqb()|0;f[125967]=b;b=f[89495]|0;tsb(504448,b,504496);f[125968]=272748;f[125969]=272768;Brb(503876,504448);f[125987]=0;a=Eqb()|0;f[125988]=a;a=f[503872+(f[(f[125968]|0)+-12>>2]|0)+24>>2]|0;f[126010]=272748;f[126011]=272768;Brb(504044,a);f[126029]=0;a=Eqb()|0;f[126030]=a;usb(504504,b,504552);f[125989]=358924;f[125990]=358944;Brb(503960,504504);f[126008]=0;b=Wqb()|0;f[126009]=b;b=f[503956+(f[(f[125989]|0)+-12>>2]|0)+24>>2]|0;f[126031]=358924;f[126032]=358944;Brb(504128,b);f[126050]=0;b=Wqb()|0;f[126051]=b;f[503528+(f[(f[125882]|0)+-12>>2]|0)+72>>2]=503704;f[503616+(f[(f[125904]|0)+-12>>2]|0)+72>>2]=503788;b=(f[125968]|0)+-12|0;a=503872+(f[b>>2]|0)+4|0;f[a>>2]=f[a>>2]|8192;a=(f[125989]|0)+-12|0;c=503956+(f[a>>2]|0)+4|0;f[c>>2]=f[c>>2]|8192;f[503872+(f[b>>2]|0)+72>>2]=503704;f[503956+(f[a>>2]|0)+72>>2]=503788;return}function rsb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;Hrb(a);f[a>>2]=359248;f[a+32>>2]=c;f[a+40>>2]=d;d=Eqb()|0;f[a+48>>2]=d;b[a+52>>0]=0;d=f[(f[a>>2]|0)+8>>2]|0;uBb(g,a+4|0);Bj[d&1023](a,g);vtb(g);u=e;return}function ssb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;Irb(a);f[a>>2]=359184;f[a+32>>2]=c;f[a+40>>2]=d;d=Wqb()|0;f[a+48>>2]=d;b[a+52>>0]=0;d=f[(f[a>>2]|0)+8>>2]|0;uBb(g,a+4|0);Bj[d&1023](a,g);vtb(g);u=e;return}function tsb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;Hrb(a);f[a>>2]=359120;f[a+32>>2]=c;uBb(g,a+4|0);c=utb(g,504880)|0;vtb(g);f[a+36>>2]=c;f[a+40>>2]=d;d=(_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)&1;b[a+44>>0]=d;u=e;return}function usb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;Irb(a);f[a>>2]=359056;f[a+32>>2]=c;uBb(g,a+4|0);c=utb(g,504888)|0;vtb(g);f[a+36>>2]=c;f[a+40>>2]=d;d=(_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)&1;b[a+44>>0]=d;u=e;return}function vsb(a){a=a|0;Iqb(a);GBb(a);return}function wsb(a,c){a=a|0;c=c|0;_i[f[(f[a>>2]|0)+24>>2]&2047](a)|0;c=utb(c,504888)|0;f[a+36>>2]=c;c=(_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)&1;b[a+44>>0]=c;return}function xsb(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=u;u=u+16|0;c=k+8|0;d=k;e=a+36|0;g=a+40|0;h=c+8|0;i=c;b=a+32|0;a:while(1){a=f[e>>2]|0;a=hj[f[(f[a>>2]|0)+20>>2]&63](a,f[g>>2]|0,c,h,d)|0;l=(f[d>>2]|0)-i|0;if((Opb(c,1,l,f[b>>2]|0)|0)!=(l|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((Jpb(f[b>>2]|0)|0)!=0)<<31>>31;u=k;return a|0}function ysb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;a:do if(!(b[a+44>>0]|0)){e=0;while(1){if((e|0)>=(d|0))break a;h=f[(f[a>>2]|0)+52>>2]|0;g=Xqb(f[c>>2]|0)|0;g=cj[h&1023](a,g)|0;if((g|0)==(Wqb()|0))break a;e=e+1|0;c=c+4|0}}else e=Opb(c,4,d,f[a+32>>2]|0)|0;while(0);return e|0}function zsb(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+32|0;l=o+16|0;e=o+8|0;m=o+4|0;n=o;do if(!(Frb(c,Wqb()|0)|0)){k=Zqb(c)|0;f[e>>2]=k;if(b[a+44>>0]|0){if((Opb(e,4,1,f[a+32>>2]|0)|0)==1){d=15;break}a=Wqb()|0;break}f[m>>2]=l;d=e+4|0;g=a+36|0;h=a+40|0;i=l+8|0;j=l;k=a+32|0;while(1){a=f[g>>2]|0;a=lj[f[(f[a>>2]|0)+12>>2]&31](a,f[h>>2]|0,e,d,n,l,i,m)|0;if((f[n>>2]|0)==(e|0)){d=14;break}if((a|0)==3){d=8;break}if(a>>>0>=2){d=14;break}e=(f[m>>2]|0)-j|0;if((Opb(l,1,e,f[k>>2]|0)|0)!=(e|0)){d=14;break}if((a|0)==1)e=f[n>>2]|0;else{d=13;break}}if((d|0)==8)if((Opb(e,1,1,f[k>>2]|0)|0)==1)d=13;else d=14;if((d|0)==13){d=15;break}else if((d|0)==14){a=Wqb()|0;break}}else d=15;while(0);if((d|0)==15)a=Asb(c)|0;u=o;return a|0}function Asb(a){a=a|0;if(Frb(a,Wqb()|0)|0)a=~(Wqb()|0);return a|0}function Bsb(a){a=a|0;qqb(a);GBb(a);return}function Csb(a,c){a=a|0;c=c|0;_i[f[(f[a>>2]|0)+24>>2]&2047](a)|0;c=utb(c,504880)|0;f[a+36>>2]=c;c=(_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)&1;b[a+44>>0]=c;return}function Dsb(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=u;u=u+16|0;c=k+8|0;d=k;e=a+36|0;g=a+40|0;h=c+8|0;i=c;b=a+32|0;a:while(1){a=f[e>>2]|0;a=hj[f[(f[a>>2]|0)+20>>2]&63](a,f[g>>2]|0,c,h,d)|0;l=(f[d>>2]|0)-i|0;if((Opb(c,1,l,f[b>>2]|0)|0)!=(l|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((Jpb(f[b>>2]|0)|0)!=0)<<31>>31;u=k;return a|0}function Esb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;a:do if(!(b[a+44>>0]|0)){e=0;while(1){if((e|0)>=(d|0))break a;h=f[(f[a>>2]|0)+52>>2]|0;g=Fqb(b[c>>0]|0)|0;g=cj[h&1023](a,g)|0;if((g|0)==(Eqb()|0))break a;e=e+1|0;c=c+1|0}}else e=Opb(c,1,d,f[a+32>>2]|0)|0;while(0);return e|0}function Fsb(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+32|0;l=o+16|0;e=o+8|0;m=o+4|0;n=o;do if(!(Crb(c,Eqb()|0)|0)){k=Hqb(c)|0;b[e>>0]=k;if(b[a+44>>0]|0){if((Opb(e,1,1,f[a+32>>2]|0)|0)==1){d=15;break}a=Eqb()|0;break}f[m>>2]=l;d=e+1|0;g=a+36|0;h=a+40|0;i=l+8|0;j=l;k=a+32|0;while(1){a=f[g>>2]|0;a=lj[f[(f[a>>2]|0)+12>>2]&31](a,f[h>>2]|0,e,d,n,l,i,m)|0;if((f[n>>2]|0)==(e|0)){d=14;break}if((a|0)==3){d=8;break}if(a>>>0>=2){d=14;break}e=(f[m>>2]|0)-j|0;if((Opb(l,1,e,f[k>>2]|0)|0)!=(e|0)){d=14;break}if((a|0)==1)e=f[n>>2]|0;else{d=13;break}}if((d|0)==8)if((Opb(e,1,1,f[k>>2]|0)|0)==1)d=13;else d=14;if((d|0)==13){d=15;break}else if((d|0)==14){a=Eqb()|0;break}}else d=15;while(0);if((d|0)==15)a=Gsb(c)|0;u=o;return a|0}function Gsb(a){a=a|0;if(Crb(a,Eqb()|0)|0)a=~(Eqb()|0);return a|0}function Hsb(a){a=a|0;Iqb(a);GBb(a);return}function Isb(a,c){a=a|0;c=c|0;var d=0,e=0;e=utb(c,504888)|0;d=a+36|0;f[d>>2]=e;e=_i[f[(f[e>>2]|0)+24>>2]&2047](e)|0;c=a+44|0;f[c>>2]=e;d=f[d>>2]|0;d=(_i[f[(f[d>>2]|0)+28>>2]&2047](d)|0)&1;b[a+53>>0]=d;if((f[c>>2]|0)>8)Mwb(487161);else return}function Jsb(a){a=a|0;return Msb(a,0)|0}function Ksb(a){a=a|0;return Msb(a,1)|0}function Lsb(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;l=u;u=u+32|0;h=l+16|0;i=l+8|0;e=l+4|0;g=l;j=Frb(c,Wqb()|0)|0;k=a+52|0;d=(b[k>>0]|0)!=0;do if(j)if(d)d=c;else{d=f[a+48>>2]|0;c=((Frb(d,Wqb()|0)|0)^1)&1;b[k>>0]=c}else{if(d){j=a+48|0;d=Zqb(f[j>>2]|0)|0;f[e>>2]=d;d=f[a+36>>2]|0;switch(lj[f[(f[d>>2]|0)+12>>2]&31](d,f[a+40>>2]|0,e,e+4|0,g,h,h+8|0,i)|0){case 1:case 2:{g=11;break}case 3:{b[h>>0]=f[j>>2];f[i>>2]=h+1;g=8;break}default:g=8}a:do if((g|0)==8){d=a+32|0;while(1){e=f[i>>2]|0;if(e>>>0<=h>>>0){e=1;d=0;break a}a=e+-1|0;f[i>>2]=a;if((Ppb(b[a>>0]|0,f[d>>2]|0)|0)==-1){g=11;break}}}while(0);if((g|0)==11){e=0;d=Wqb()|0}if(e)d=j;else break}else d=a+48|0;f[d>>2]=c;b[k>>0]=1;d=c}while(0);u=l;return d|0}function Msb(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;r=u;u=u+32|0;p=r+16|0;q=r+8|0;l=r+4|0;m=r;g=a+52|0;if(b[g>>0]|0){e=a+48|0;d=f[e>>2]|0;if(c){c=Wqb()|0;f[e>>2]=c;b[g>>0]=0}}else{d=f[a+44>>2]|0;d=(d|0)>1?d:1;o=a+32|0;e=0;while(1){if(e>>>0>=d>>>0){n=9;break}g=Tob(f[o>>2]|0)|0;if((g|0)==-1){n=8;break}b[p+e>>0]=g;e=e+1|0}if((n|0)==8)d=Wqb()|0;else if((n|0)==9){do if(!(b[a+53>>0]|0)){i=a+40|0;j=a+36|0;k=q+4|0;a:while(1){s=f[i>>2]|0;g=s;e=f[g>>2]|0;g=f[g+4>>2]|0;t=f[j>>2]|0;h=p+d|0;switch(lj[f[(f[t>>2]|0)+16>>2]&31](t,s,p,h,l,q,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=f[i>>2]|0;f[t>>2]=e;f[t+4>>2]=g;if((d|0)==8){n=17;break}e=Tob(f[o>>2]|0)|0;if((e|0)==-1){n=17;break}b[h>>0]=e;d=d+1|0}if((n|0)==15)f[q>>2]=b[p>>0];else if((n|0)==17){d=Wqb()|0;break}n=19}else{f[q>>2]=b[p>>0];n=19}while(0);b:do if((n|0)==19){c:do if(c){t=Xqb(f[q>>2]|0)|0;f[a+48>>2]=t}else{do{if((d|0)<=0)break c;d=d+-1|0;t=Xqb(b[p+d>>0]|0)|0}while((Ppb(t,f[o>>2]|0)|0)!=-1);d=Wqb()|0;break b}while(0);d=Xqb(f[q>>2]|0)|0}while(0)}}u=r;return d|0}function Nsb(a){a=a|0;qqb(a);GBb(a);return}function Osb(a,c){a=a|0;c=c|0;var d=0,e=0;e=utb(c,504880)|0;d=a+36|0;f[d>>2]=e;e=_i[f[(f[e>>2]|0)+24>>2]&2047](e)|0;c=a+44|0;f[c>>2]=e;d=f[d>>2]|0;d=(_i[f[(f[d>>2]|0)+28>>2]&2047](d)|0)&1;b[a+53>>0]=d;if((f[c>>2]|0)>8)Mwb(487161);else return}function Psb(a){a=a|0;return Ssb(a,0)|0}function Qsb(a){a=a|0;return Ssb(a,1)|0}function Rsb(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;l=u;u=u+32|0;h=l+16|0;i=l+4|0;e=l+8|0;g=l;j=Crb(c,Eqb()|0)|0;k=a+52|0;d=(b[k>>0]|0)!=0;do if(j)if(d)d=c;else{d=f[a+48>>2]|0;c=((Crb(d,Eqb()|0)|0)^1)&1;b[k>>0]=c}else{if(d){j=a+48|0;d=Hqb(f[j>>2]|0)|0;b[e>>0]=d;d=f[a+36>>2]|0;switch(lj[f[(f[d>>2]|0)+12>>2]&31](d,f[a+40>>2]|0,e,e+1|0,g,h,h+8|0,i)|0){case 1:case 2:{g=11;break}case 3:{b[h>>0]=f[j>>2];f[i>>2]=h+1;g=8;break}default:g=8}a:do if((g|0)==8){d=a+32|0;while(1){e=f[i>>2]|0;if(e>>>0<=h>>>0){e=1;d=0;break a}a=e+-1|0;f[i>>2]=a;if((Ppb(b[a>>0]|0,f[d>>2]|0)|0)==-1){g=11;break}}}while(0);if((g|0)==11){e=0;d=Eqb()|0}if(e)d=j;else break}else d=a+48|0;f[d>>2]=c;b[k>>0]=1;d=c}while(0);u=l;return d|0}function Ssb(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;r=u;u=u+32|0;p=r+16|0;q=r+8|0;l=r+4|0;m=r;g=a+52|0;if(b[g>>0]|0){e=a+48|0;d=f[e>>2]|0;if(c){c=Eqb()|0;f[e>>2]=c;b[g>>0]=0}}else{d=f[a+44>>2]|0;d=(d|0)>1?d:1;o=a+32|0;e=0;while(1){if(e>>>0>=d>>>0){n=9;break}g=Tob(f[o>>2]|0)|0;if((g|0)==-1){n=8;break}b[p+e>>0]=g;e=e+1|0}if((n|0)==8)d=Eqb()|0;else if((n|0)==9){do if(!(b[a+53>>0]|0)){i=a+40|0;j=a+36|0;k=q+1|0;a:while(1){s=f[i>>2]|0;g=s;e=f[g>>2]|0;g=f[g+4>>2]|0;t=f[j>>2]|0;h=p+d|0;switch(lj[f[(f[t>>2]|0)+16>>2]&31](t,s,p,h,l,q,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=f[i>>2]|0;f[t>>2]=e;f[t+4>>2]=g;if((d|0)==8){n=17;break}e=Tob(f[o>>2]|0)|0;if((e|0)==-1){n=17;break}b[h>>0]=e;d=d+1|0}if((n|0)==15)b[q>>0]=b[p>>0]|0;else if((n|0)==17){d=Eqb()|0;break}n=19}else{b[q>>0]=b[p>>0]|0;n=19}while(0);b:do if((n|0)==19){c:do if(c){t=Fqb(b[q>>0]|0)|0;f[a+48>>2]=t}else{do{if((d|0)<=0)break c;d=d+-1|0;t=Fqb(b[p+d>>0]|0)|0}while((Ppb(t,f[o>>2]|0)|0)!=-1);d=Eqb()|0;break b}while(0);d=Fqb(b[q>>0]|0)|0}while(0)}}u=r;return d|0}function Tsb(a){a=a|0;$sb(a);return}function Usb(a){a=a|0;Tsb(a);GBb(a);return}function Vsb(a){a=a|0;if(a|0)tj[f[(f[a>>2]|0)+4>>2]&2047](a);return}function Wsb(a,c,d,e,f){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=c;while(1){if((e|0)==(f|0)){h=7;break}if((a|0)==(d|0)){a=-1;break}c=b[a>>0]|0;g=b[e>>0]|0;if(c<<24>>24<g<<24>>24){a=-1;break}if(g<<24>>24<c<<24>>24){a=1;break}e=e+1|0;a=a+1|0}if((h|0)==7)a=(a|0)!=(d|0)&1;return a|0}function Xsb(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;Zsb(a,c,d);return}function Ysb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;a=0;while(1){if((c|0)==(d|0))break;e=(a<<4)+(b[c>>0]|0)|0;f=e&-268435456;a=(f>>>24|f)^e;c=c+1|0}return a|0}function Zsb(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+16|0;g=c;i=j;e=d-g|0;if(e>>>0>4294967279)MBb(a);if(e>>>0<11){b[a+11>>0]=e;h=a}else{k=e+16&-16;h=EBb(k)|0;f[a>>2]=h;f[a+8>>2]=k|-2147483648;f[a+4>>2]=e}e=d-g|0;a=h;while(1){if((c|0)==(d|0))break;_sb(a,c);c=c+1|0;a=a+1|0}b[i>>0]=0;_sb(h+e|0,i);u=j;return}function _sb(a,c){a=a|0;c=c|0;b[a>>0]=b[c>>0]|0;return}function $sb(a){a=a|0;return}function atb(a){a=a|0;$sb(a);return}function btb(a){a=a|0;atb(a);GBb(a);return}function ctb(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;a=b;while(1){if((d|0)==(e|0)){h=7;break}if((a|0)==(c|0)){a=-1;break}b=f[a>>2]|0;g=f[d>>2]|0;if((b|0)<(g|0)){a=-1;break}if((g|0)<(b|0)){a=1;break}d=d+4|0;a=a+4|0}if((h|0)==7)a=(a|0)!=(c|0)&1;return a|0}function dtb(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;ftb(a,c,d);return}function etb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=0;while(1){if((b|0)==(c|0))break;d=(f[b>>2]|0)+(a<<4)|0;e=d&-268435456;a=(e>>>24|e)^d;b=b+4|0}return a|0}function ftb(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+16|0;i=j;h=d-c>>2;if(h>>>0>1073741807)MBb(a);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)Lb();else{e=EBb(g<<2)|0;f[a>>2]=e;f[a+8>>2]=g|-2147483648;f[a+4>>2]=h;break}}else{b[a+8+3>>0]=h;e=a}while(0);while(1){if((c|0)==(d|0))break;gtb(e,c);c=c+4|0;e=e+4|0}f[i>>2]=0;gtb(e,i);u=j;return}function gtb(a,b){a=a|0;b=b|0;f[a>>2]=f[b>>2];return}function htb(a){a=a|0;$sb(a);return}function itb(a){a=a|0;$sb(a);GBb(a);return}function jtb(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+48|0;i=o+40|0;n=o;j=o+32|0;k=o+36|0;l=o+28|0;m=o+24|0;if(!(f[e+4>>2]&1)){f[j>>2]=-1;m=f[(f[a>>2]|0)+16>>2]|0;f[k>>2]=f[c>>2];f[l>>2]=f[d>>2];f[n>>2]=f[k>>2];f[i>>2]=f[l>>2];n=jj[m&63](a,n,i,e,g,j)|0;f[c>>2]=n;switch(f[j>>2]|0){case 0:{b[h>>0]=0;break}case 1:{b[h>>0]=1;break}default:{b[h>>0]=1;f[g>>2]=4}}i=f[c>>2]|0}else{Drb(i,e);l=utb(i,504576)|0;vtb(i);Drb(i,e);a=utb(i,504592)|0;vtb(i);Bj[f[(f[a>>2]|0)+24>>2]&1023](n,a);Bj[f[(f[a>>2]|0)+28>>2]&1023](n+12|0,a);f[m>>2]=f[d>>2];a=n+24|0;f[i>>2]=f[m>>2];i=(cub(c,i,n,a,l,g,1)|0)==(n|0)&1;b[h>>0]=i;i=f[c>>2]|0;do{a=a+-12|0;TBb(a)}while((a|0)!=(n|0))}u=o;return i|0}function ktb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=aub(a,j,i,d,e,g)|0;u=h;return g|0}function ltb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=_tb(a,j,i,d,e,g)|0;u=h;return g|0}function mtb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Ytb(a,j,i,d,e,g)|0;u=h;return g|0}function ntb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Wtb(a,j,i,d,e,g)|0;u=h;return g|0}function otb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Utb(a,j,i,d,e,g)|0;u=h;return g|0}function ptb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Otb(a,j,i,d,e,g)|0;u=h;return g|0}function qtb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Mtb(a,j,i,d,e,g)|0;u=h;return g|0}function rtb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Ktb(a,j,i,d,e,g)|0;u=h;return g|0}function stb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Ftb(a,j,i,d,e,g)|0;u=h;return g|0}function ttb(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,y=0,z=0,A=0;z=u;u=u+240|0;w=z+192|0;t=z+160|0;x=z+220|0;y=z+208|0;v=z+204|0;q=z;r=z+200|0;s=z+196|0;f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[x+(a<<2)>>2]=0;a=a+1|0}Drb(y,e);a=utb(y,504576)|0;ej[f[(f[a>>2]|0)+32>>2]&63](a,272784,272810,t)|0;vtb(y);f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[y+(a<<2)>>2]=0;a=a+1|0}p=y+11|0;o=y+8|0;if((b[p>>0]|0)<0)a=(f[o>>2]&2147483647)+-1|0;else a=10;_Bb(y,a,0);a=(b[p>>0]|0)<0?f[y>>2]|0:y;f[v>>2]=a;f[r>>2]=q;f[s>>2]=0;n=y+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;A=22;break}}else A=22;while(0);if((A|0)==22){A=0;if(k){i=0;break}else i=0}e=b[p>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[v>>2]|0)==(a+e|0)){_Bb(y,e<<1,0);if((b[p>>0]|0)<0)a=(f[o>>2]&2147483647)+-1|0;else a=10;_Bb(y,a,0);a=(b[p>>0]|0)<0?f[y>>2]|0:y;f[v>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(wtb(e&255,16,a,v,s,0,x,q,r,t)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}_Bb(y,(f[v>>2]|0)-a|0,0);t=(b[p>>0]|0)<0?f[y>>2]|0:y;v=xtb()|0;f[w>>2]=h;if((ytb(t,v,487309,w)|0)!=1)f[g>>2]=4;if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{A=52;break}else{f[d>>2]=0;A=50;break}}else A=50;while(0);if((A|0)==50?e:0)A=52;if((A|0)==52)f[g>>2]=f[g>>2]|2;A=f[c>>2]|0;TBb(y);TBb(x);u=z;return A|0}function utb(a,b){a=a|0;b=b|0;a=f[a>>2]|0;return Atb(a,ztb(b)|0)|0}function vtb(a){a=a|0;var b=0,c=0;a=f[a>>2]|0;c=a+4|0;b=f[c>>2]|0;f[c>>2]=b+-1;if(!b)tj[f[(f[a>>2]|0)+8>>2]&2047](a);return}function wtb(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=f[e>>2]|0;p=(o|0)==(d|0);do if(p){m=(b[l+24>>0]|0)==a<<24>>24;if(!m?(b[l+25>>0]|0)!=a<<24>>24:0){n=5;break}f[e>>2]=d+1;b[d>>0]=m?43:45;f[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=b[i+11>>0]|0;if(a<<24>>24==h<<24>>24?((n<<24>>24<0?f[i+4>>2]|0:n&255)|0)!=0:0){m=f[k>>2]|0;if((m-j|0)>=160){m=0;break}e=f[g>>2]|0;f[k>>2]=m+4;f[m>>2]=e;f[g>>2]=0;m=0;break}i=l+26|0;h=0;while(1){m=l+h|0;if((h|0)==26){m=i;break}if((b[m>>0]|0)==a<<24>>24)break;else h=h+1|0}m=m-l|0;if((m|0)>23)m=-1;else{switch(c|0){case 10:case 8:{if((m|0)>=(c|0)){m=-1;break a}break}case 16:{if((m|0)>=22){if(p){m=-1;break a}if((o-d|0)>=3){m=-1;break a}if((b[o+-1>>0]|0)!=48){m=-1;break a}f[g>>2]=0;m=b[272784+m>>0]|0;f[e>>2]=o+1;b[o>>0]=m;m=0;break a}break}default:{}}m=b[272784+m>>0]|0;f[e>>2]=o+1;b[o>>0]=m;f[g>>2]=(f[g>>2]|0)+1;m=0}}while(0);return m|0}function xtb(){var a=0;if((b[498144]|0)==0?DDb(498144)|0:0){a=ipb(2147483647,487312,0)|0;f[126146]=a}return f[126146]|0}function ytb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;f[g>>2]=d;d=_ob(b)|0;b=Vpb(a,c,g)|0;if(d|0)_ob(d)|0;u=e;return b|0}function ztb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;e=u;u=u+48|0;b=e+32|0;c=e+24|0;d=e;g=e+16|0;f[g>>2]=1574;f[g+4>>2]=0;f[b>>2]=f[g>>2];f[b+4>>2]=f[g+4>>2];Ctb(d,b,a);if((f[a>>2]|0)!=-1){f[b>>2]=d;f[c>>2]=b;CBb(a,c,1575)}u=e;return (f[a+4>>2]|0)+-1|0}function Atb(a,b){a=a|0;b=b|0;return f[(f[a+8>>2]|0)+(b<<2)>>2]|0}function Btb(a){a=a|0;var b=0;b=f[126147]|0;f[126147]=b+1;f[a+4>>2]=b+1;return}function Ctb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=f[b>>2]|0;b=f[b+4>>2]|0;f[a>>2]=c;f[a+4>>2]=d;f[a+8>>2]=b;return}function Dtb(a){a=a|0;Etb(f[f[a>>2]>>2]|0);return}function Etb(a){a=a|0;var b=0,c=0,d=0;b=f[a+4>>2]|0;d=f[a+8>>2]|0;c=(f[a>>2]|0)+(d>>1)|0;if(!(d&1))a=b;else a=f[(f[c>>2]|0)+b>>2]|0;tj[a&2047](c);return}function Ftb(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,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.0;E=u;u=u+240|0;s=E+160|0;t=E+231|0;v=E+230|0;D=E+216|0;C=E+204|0;w=E+200|0;x=E;y=E+196|0;z=E+192|0;A=E+229|0;r=E+228|0;Gtb(D,e,s,t,v);f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}o=C+11|0;q=C+8|0;if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a;f[y>>2]=x;f[z>>2]=0;b[A>>0]=1;b[r>>0]=69;n=C+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[w>>2]|0)==(a+e|0)){_Bb(C,e<<1,0);if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Htb(e&255,A,r,a,w,b[t>>0]|0,b[v>>0]|0,D,x,y,z,s)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}v=b[D+11>>0]|0;if(!((b[A>>0]|0)==0?1:((v<<24>>24<0?f[D+4>>2]|0:v&255)|0)==0)?(B=f[y>>2]|0,(B-x|0)<160):0){A=f[z>>2]|0;f[y>>2]=B+4;f[B>>2]=A}G=+Itb(a,f[w>>2]|0,g);p[h>>3]=G;Jtb(D,x,f[y>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{F=50;break}else{f[d>>2]=0;F=48;break}}else F=48;while(0);if((F|0)==48?e:0)F=50;if((F|0)==50)f[g>>2]=f[g>>2]|2;F=f[c>>2]|0;TBb(C);TBb(D);u=E;return F|0}function Gtb(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;h=u;u=u+16|0;i=h;Drb(i,c);c=utb(i,504576)|0;ej[f[(f[c>>2]|0)+32>>2]&63](c,272784,272816,d)|0;d=utb(i,504592)|0;c=_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;b[e>>0]=c;e=_i[f[(f[d>>2]|0)+16>>2]&2047](d)|0;b[g>>0]=e;Bj[f[(f[d>>2]|0)+20>>2]&1023](a,d);vtb(i);u=h;return}function Htb(a,c,d,e,g,h,i,j,k,l,m,n){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if(a<<24>>24==h<<24>>24)if(b[c>>0]|0){b[c>>0]=0;d=f[g>>2]|0;f[g>>2]=d+1;b[d>>0]=46;g=b[j+11>>0]|0;if(((g<<24>>24<0?f[j+4>>2]|0:g&255)|0)!=0?(o=f[l>>2]|0,(o-k|0)<160):0){k=f[m>>2]|0;f[l>>2]=o+4;f[o>>2]=k;o=0}else o=0}else o=-1;else{if(a<<24>>24==i<<24>>24?(i=b[j+11>>0]|0,(i<<24>>24<0?f[j+4>>2]|0:i&255)|0):0){if(!(b[c>>0]|0)){o=-1;break}o=f[l>>2]|0;if((o-k|0)>=160){o=0;break}k=f[m>>2]|0;f[l>>2]=o+4;f[o>>2]=k;f[m>>2]=0;o=0;break}i=n+32|0;h=0;while(1){o=n+h|0;if((h|0)==32){o=i;break}if((b[o>>0]|0)==a<<24>>24)break;else h=h+1|0}h=o-n|0;if((h|0)>31)o=-1;else{i=b[272784+h>>0]|0;switch(h|0){case 24:case 25:{o=f[g>>2]|0;if((o|0)!=(e|0)?(b[o+-1>>0]&95)!=(b[d>>0]&127):0){o=-1;break a}f[g>>2]=o+1;b[o>>0]=i;o=0;break a}case 23:case 22:{b[d>>0]=80;o=f[g>>2]|0;f[g>>2]=o+1;b[o>>0]=i;o=0;break a}default:{o=i&95;if((((o|0)==(b[d>>0]|0)?(b[d>>0]=o|128,b[c>>0]|0):0)?(b[c>>0]=0,d=b[j+11>>0]|0,(d<<24>>24<0?f[j+4>>2]|0:d&255)|0):0)?(p=f[l>>2]|0,(p-k|0)<160):0){k=f[m>>2]|0;f[l>>2]=p+4;f[p>>2]=k}l=f[g>>2]|0;f[g>>2]=l+1;b[l>>0]=i;if((h|0)>21){o=0;break a}f[m>>2]=(f[m>>2]|0)+1;o=0;break a}}}}while(0);return o|0}function Itb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;e=i;if((a|0)==(b|0)){f[c>>2]=4;d=0.0}else{g=Mmb()|0;g=f[g>>2]|0;j=Mmb()|0;f[j>>2]=0;d=+Nob(a,e,xtb()|0);a=Mmb()|0;a=f[a>>2]|0;if(!a){j=Mmb()|0;f[j>>2]=g}if((f[e>>2]|0)==(b|0)){if((a|0)==34)h=6}else{d=0.0;h=6}if((h|0)==6)f[c>>2]=4}u=i;return +d}function Jtb(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;j=a+11|0;h=b[j>>0]|0;k=a+4|0;g=f[k>>2]|0;i=h&255;do if((h<<24>>24<0?g:i)|0){if((c|0)!=(d|0)){g=d;h=c;while(1){g=g+-4|0;if(h>>>0>=g>>>0)break;i=f[h>>2]|0;f[h>>2]=f[g>>2];f[g>>2]=i;h=h+4|0}h=b[j>>0]|0;i=h&255;g=f[k>>2]|0}j=h<<24>>24<0;a=j?f[a>>2]|0:a;k=d+-4|0;j=a+(j?g:i)|0;g=a;while(1){h=b[g>>0]|0;i=h<<24>>24>0&h<<24>>24!=127;if(c>>>0>=k>>>0)break;if(i?(f[c>>2]|0)!=(h<<24>>24|0):0){l=11;break}c=c+4|0;g=(j-g|0)>1?g+1|0:g}if((l|0)==11){f[e>>2]=4;break}if(i?((f[k>>2]|0)+-1|0)>>>0>=h<<24>>24>>>0:0)f[e>>2]=4}while(0);return}function Ktb(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,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.0;E=u;u=u+240|0;s=E+160|0;t=E+231|0;v=E+230|0;D=E+216|0;C=E+204|0;w=E+200|0;x=E;y=E+196|0;z=E+192|0;A=E+229|0;r=E+228|0;Gtb(D,e,s,t,v);f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}o=C+11|0;q=C+8|0;if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a;f[y>>2]=x;f[z>>2]=0;b[A>>0]=1;b[r>>0]=69;n=C+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[w>>2]|0)==(a+e|0)){_Bb(C,e<<1,0);if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Htb(e&255,A,r,a,w,b[t>>0]|0,b[v>>0]|0,D,x,y,z,s)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}v=b[D+11>>0]|0;if(!((b[A>>0]|0)==0?1:((v<<24>>24<0?f[D+4>>2]|0:v&255)|0)==0)?(B=f[y>>2]|0,(B-x|0)<160):0){A=f[z>>2]|0;f[y>>2]=B+4;f[B>>2]=A}G=+Ltb(a,f[w>>2]|0,g);p[h>>3]=G;Jtb(D,x,f[y>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{F=50;break}else{f[d>>2]=0;F=48;break}}else F=48;while(0);if((F|0)==48?e:0)F=50;if((F|0)==50)f[g>>2]=f[g>>2]|2;F=f[c>>2]|0;TBb(C);TBb(D);u=E;return F|0}function Ltb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;e=i;if((a|0)==(b|0)){f[c>>2]=4;d=0.0}else{g=Mmb()|0;g=f[g>>2]|0;j=Mmb()|0;f[j>>2]=0;d=+Mob(a,e,xtb()|0);a=Mmb()|0;a=f[a>>2]|0;if(!a){j=Mmb()|0;f[j>>2]=g}if((f[e>>2]|0)==(b|0)){if((a|0)==34)h=6}else{d=0.0;h=6}if((h|0)==6)f[c>>2]=4}u=i;return +d}function Mtb(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,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.0;E=u;u=u+240|0;s=E+160|0;t=E+231|0;v=E+230|0;D=E+216|0;C=E+204|0;w=E+200|0;x=E;y=E+196|0;z=E+192|0;A=E+229|0;r=E+228|0;Gtb(D,e,s,t,v);f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}p=C+11|0;q=C+8|0;if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[p>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a;f[y>>2]=x;f[z>>2]=0;b[A>>0]=1;b[r>>0]=69;o=C+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(k){i=0;break}else i=0}e=b[p>>0]|0;e=e<<24>>24<0?f[o>>2]|0:e&255;if((f[w>>2]|0)==(a+e|0)){_Bb(C,e<<1,0);if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[p>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Htb(e&255,A,r,a,w,b[t>>0]|0,b[v>>0]|0,D,x,y,z,s)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}v=b[D+11>>0]|0;if(!((b[A>>0]|0)==0?1:((v<<24>>24<0?f[D+4>>2]|0:v&255)|0)==0)?(B=f[y>>2]|0,(B-x|0)<160):0){A=f[z>>2]|0;f[y>>2]=B+4;f[B>>2]=A}G=+Ntb(a,f[w>>2]|0,g);n[h>>2]=G;Jtb(D,x,f[y>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{F=50;break}else{f[d>>2]=0;F=48;break}}else F=48;while(0);if((F|0)==48?e:0)F=50;if((F|0)==50)f[g>>2]=f[g>>2]|2;F=f[c>>2]|0;TBb(C);TBb(D);u=E;return F|0}function Ntb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;e=i;if((a|0)==(b|0)){f[c>>2]=4;d=0.0}else{g=Mmb()|0;g=f[g>>2]|0;j=Mmb()|0;f[j>>2]=0;d=+Lob(a,e,xtb()|0);a=Mmb()|0;a=f[a>>2]|0;if(!a){j=Mmb()|0;f[j>>2]=g}if((f[e>>2]|0)==(b|0)){if((a|0)==34)h=6}else{d=0.0;h=6}if((h|0)==6)f[c>>2]=4}u=i;return +d}function Otb(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+240|0;r=C+224|0;z=C+212|0;A=C+200|0;s=C+196|0;t=C;w=C+192|0;x=C+188|0;y=Ptb(e)|0;q=Qtb(a,e,C+160|0)|0;Rtb(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(wtb(e&255,y,a,s,x,b[r>>0]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=Stb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;f[h+4>>2]=H;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function Ptb(a){a=a|0;switch(f[a+4>>2]&74){case 64:{a=8;break}case 8:{a=16;break}case 0:{a=0;break}default:a=10}return a|0}function Qtb(a,b,c){a=a|0;b=b|0;c=c|0;return Ttb(a,b,c)|0}function Rtb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=u;u=u+16|0;g=e;Drb(g,c);c=utb(g,504592)|0;h=_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;b[d>>0]=h;Bj[f[(f[c>>2]|0)+20>>2]&1023](a,c);vtb(g);u=e;return}function Stb(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;k=u;u=u+16|0;h=k;do if((a|0)==(c|0)){f[d>>2]=4;e=0;a=0}else{if((b[a>>0]|0)==45){f[d>>2]=4;e=0;a=0;break}i=Mmb()|0;i=f[i>>2]|0;g=Mmb()|0;f[g>>2]=0;a=znb(a,h,e,xtb()|0)|0;e=H;g=Mmb()|0;g=f[g>>2]|0;if(!g){l=Mmb()|0;f[l>>2]=i}if((f[h>>2]|0)==(c|0)){if((g|0)==34){a=-1;e=-1;j=8}}else{a=0;e=0;j=8}if((j|0)==8)f[d>>2]=4}while(0);H=e;u=k;return a|0}function Ttb(a,b,c){a=a|0;b=b|0;c=c|0;return 272784}function Utb(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+240|0;r=C+224|0;z=C+212|0;A=C+200|0;s=C+196|0;t=C;w=C+192|0;x=C+188|0;y=Ptb(e)|0;q=Qtb(a,e,C+160|0)|0;Rtb(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(wtb(e&255,y,a,s,x,b[r>>0]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=Vtb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function Vtb(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;j=u;u=u+16|0;h=j;do if((a|0)==(c|0)){f[d>>2]=4;a=0}else{if((b[a>>0]|0)==45){f[d>>2]=4;a=0;break}i=Mmb()|0;i=f[i>>2]|0;g=Mmb()|0;f[g>>2]=0;a=znb(a,h,e,xtb()|0)|0;e=H;g=Mmb()|0;g=f[g>>2]|0;if(!g){k=Mmb()|0;f[k>>2]=i}do if((f[h>>2]|0)==(c|0))if(e>>>0>0|(e|0)==0&a>>>0>4294967295|(g|0)==34){f[d>>2]=4;a=-1;break}else break;else{f[d>>2]=4;a=0}while(0)}while(0);u=j;return a|0}function Wtb(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+240|0;r=C+224|0;z=C+212|0;A=C+200|0;s=C+196|0;t=C;w=C+192|0;x=C+188|0;y=Ptb(e)|0;q=Qtb(a,e,C+160|0)|0;Rtb(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(wtb(e&255,y,a,s,x,b[r>>0]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=Xtb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function Xtb(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;j=u;u=u+16|0;h=j;do if((a|0)==(c|0)){f[d>>2]=4;a=0}else{if((b[a>>0]|0)==45){f[d>>2]=4;a=0;break}i=Mmb()|0;i=f[i>>2]|0;g=Mmb()|0;f[g>>2]=0;a=znb(a,h,e,xtb()|0)|0;e=H;g=Mmb()|0;g=f[g>>2]|0;if(!g){k=Mmb()|0;f[k>>2]=i}do if((f[h>>2]|0)==(c|0))if(e>>>0>0|(e|0)==0&a>>>0>4294967295|(g|0)==34){f[d>>2]=4;a=-1;break}else break;else{f[d>>2]=4;a=0}while(0)}while(0);u=j;return a|0}function Ytb(a,c,e,g,h,i){a=a|0;c=c|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,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;D=u;u=u+240|0;s=D+224|0;A=D+212|0;B=D+200|0;t=D+196|0;v=D;x=D+192|0;y=D+188|0;z=Ptb(g)|0;r=Qtb(a,g,D+160|0)|0;Rtb(A,g,s);f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[B+(a<<2)>>2]=0;a=a+1|0}p=B+11|0;q=B+8|0;if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(B,a,0);a=(b[p>>0]|0)<0?f[B>>2]|0:B;f[t>>2]=a;f[x>>2]=v;f[y>>2]=0;o=B+4|0;k=f[c>>2]|0;j=k;a:while(1){if(k){g=f[k+12>>2]|0;if((g|0)==(f[k+16>>2]|0))g=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else g=Fqb(b[g>>0]|0)|0;if(Crb(g,Eqb()|0)|0){f[c>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=f[e>>2]|0;do if(j){g=f[j+12>>2]|0;if((g|0)==(f[j+16>>2]|0))g=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else g=Fqb(b[g>>0]|0)|0;if(!(Crb(g,Eqb()|0)|0))if(l)break;else break a;else{f[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(l){j=0;break}else j=0}g=b[p>>0]|0;g=g<<24>>24<0?f[o>>2]|0:g&255;if((f[t>>2]|0)==(a+g|0)){_Bb(B,g<<1,0);if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(B,a,0);a=(b[p>>0]|0)<0?f[B>>2]|0:B;f[t>>2]=a+g}l=k+12|0;g=f[l>>2]|0;m=k+16|0;if((g|0)==(f[m>>2]|0))g=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else g=Fqb(b[g>>0]|0)|0;if(wtb(g&255,z,a,t,y,b[s>>0]|0,A,v,x,r)|0)break;g=f[l>>2]|0;if((g|0)==(f[m>>2]|0))_i[f[(f[k>>2]|0)+40>>2]&2047](k)|0;else{f[l>>2]=g+1;Fqb(b[g>>0]|0)|0}j=n}s=b[A+11>>0]|0;if((s<<24>>24<0?f[A+4>>2]|0:s&255)|0?(w=f[x>>2]|0,(w-v|0)<160):0){y=f[y>>2]|0;f[x>>2]=w+4;f[w>>2]=y}z=Ztb(a,f[t>>2]|0,h,z)|0;d[i>>1]=z;Jtb(A,v,f[x>>2]|0,h);if(k){a=f[k+12>>2]|0;if((a|0)==(f[k+16>>2]|0))a=_i[f[(f[n>>2]|0)+36>>2]&2047](k)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;g=1}else g=0}else g=1;do if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(g)break;else{C=50;break}else{f[e>>2]=0;C=48;break}}else C=48;while(0);if((C|0)==48?g:0)C=50;if((C|0)==50)f[h>>2]=f[h>>2]|2;C=f[c>>2]|0;TBb(B);TBb(A);u=D;return C|0}function Ztb(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;j=u;u=u+16|0;h=j;do if((a|0)==(c|0)){f[d>>2]=4;a=0}else{if((b[a>>0]|0)==45){f[d>>2]=4;a=0;break}i=Mmb()|0;i=f[i>>2]|0;g=Mmb()|0;f[g>>2]=0;a=znb(a,h,e,xtb()|0)|0;e=H;g=Mmb()|0;g=f[g>>2]|0;if(!g){k=Mmb()|0;f[k>>2]=i}do if((f[h>>2]|0)==(c|0))if(e>>>0>0|(e|0)==0&a>>>0>65535|(g|0)==34){f[d>>2]=4;a=-1;break}else{a=a&65535;break}else{f[d>>2]=4;a=0}while(0)}while(0);u=j;return a|0}function _tb(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+240|0;r=C+224|0;z=C+212|0;A=C+200|0;s=C+196|0;t=C;w=C+192|0;x=C+188|0;y=Ptb(e)|0;q=Qtb(a,e,C+160|0)|0;Rtb(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(wtb(e&255,y,a,s,x,b[r>>0]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=$tb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;f[h+4>>2]=H;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function $tb(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;i=u;u=u+16|0;g=i;if((a|0)==(b|0)){f[c>>2]=4;d=0;a=0}else{h=Mmb()|0;h=f[h>>2]|0;e=Mmb()|0;f[e>>2]=0;a=Inb(a,g,d,xtb()|0)|0;d=H;e=Mmb()|0;e=f[e>>2]|0;if(!e){j=Mmb()|0;f[j>>2]=h}if((f[g>>2]|0)==(b|0)){if((e|0)==34){f[c>>2]=4;d=(d|0)>0|(d|0)==0&a>>>0>0;a=d?-1:0;d=d?2147483647:-2147483648}}else{f[c>>2]=4;a=0;d=0}}H=d;u=i;return a|0}function aub(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+240|0;r=C+224|0;z=C+212|0;A=C+200|0;s=C+196|0;t=C;w=C+192|0;x=C+188|0;y=Ptb(e)|0;q=Qtb(a,e,C+160|0)|0;Rtb(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Fqb(b[e>>0]|0)|0;if(wtb(e&255,y,a,s,x,b[r>>0]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+1;Fqb(b[e>>0]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=bub(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function bub(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;i=u;u=u+16|0;g=i;if((a|0)==(b|0)){f[c>>2]=4;a=0}else{h=Mmb()|0;h=f[h>>2]|0;e=Mmb()|0;f[e>>2]=0;a=Inb(a,g,d,xtb()|0)|0;d=H;e=Mmb()|0;e=f[e>>2]|0;if(!e){j=Mmb()|0;f[j>>2]=h}a:do if((f[g>>2]|0)==(b|0)){do if((e|0)==34){f[c>>2]=4;if((d|0)>0|(d|0)==0&a>>>0>0){a=2147483647;break a}}else{if((d|0)<-1|(d|0)==-1&a>>>0<2147483648){f[c>>2]=4;break}if((d|0)>0|(d|0)==0&a>>>0>2147483647){f[c>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{f[c>>2]=4;a=0}while(0)}u=i;return a|0}function cub(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;x=u;u=u+112|0;k=x;l=(e-d|0)/12|0;if(l>>>0>100){k=Cmb(l)|0;if(!k)DBb();else{j=k;v=k}}else{j=k;v=0}n=d;o=j;k=0;while(1){if((n|0)==(e|0))break;m=b[n+11>>0]|0;if(m<<24>>24<0)m=f[n+4>>2]|0;else m=m&255;if(!m){b[o>>0]=2;l=l+-1|0;k=k+1|0}else b[o>>0]=1;n=n+12|0;o=o+1|0}t=0;r=k;while(1){k=f[a>>2]|0;do if(k){m=f[k+12>>2]|0;if((m|0)==(f[k+16>>2]|0))k=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else k=Fqb(b[m>>0]|0)|0;if(Crb(k,Eqb()|0)|0){f[a>>2]=0;o=1;break}else{o=(f[a>>2]|0)==0;break}}else o=1;while(0);m=f[c>>2]|0;if(m){k=f[m+12>>2]|0;if((k|0)==(f[m+16>>2]|0))k=_i[f[(f[m>>2]|0)+36>>2]&2047](m)|0;else k=Fqb(b[k>>0]|0)|0;if(Crb(k,Eqb()|0)|0){f[c>>2]=0;k=1;m=0}else k=0}else{k=1;m=0}n=f[a>>2]|0;if(!((l|0)!=0&(o^k)))break;k=f[n+12>>2]|0;if((k|0)==(f[n+16>>2]|0))k=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else k=Fqb(b[k>>0]|0)|0;k=k&255;if(!i)k=cj[f[(f[g>>2]|0)+12>>2]&1023](g,k)|0;s=t+1|0;p=d;o=0;q=j;while(1){if((p|0)==(e|0))break;do if((b[q>>0]|0)==1){n=p+11|0;if((b[n>>0]|0)<0)m=f[p>>2]|0;else m=p;m=b[m+t>>0]|0;if(!i)m=cj[f[(f[g>>2]|0)+12>>2]&1023](g,m)|0;if(k<<24>>24!=m<<24>>24){b[q>>0]=0;m=o;n=r;l=l+-1|0;break}m=b[n>>0]|0;if(m<<24>>24<0)m=f[p+4>>2]|0;else m=m&255;if((m|0)==(s|0)){b[q>>0]=2;m=1;n=r+1|0;l=l+-1|0}else{m=1;n=r}}else{m=o;n=r}while(0);p=p+12|0;o=m;q=q+1|0;r=n}a:do if(o){k=f[a>>2]|0;m=k+12|0;n=f[m>>2]|0;if((n|0)==(f[k+16>>2]|0))_i[f[(f[k>>2]|0)+40>>2]&2047](k)|0;else{f[m>>2]=n+1;Fqb(b[n>>0]|0)|0}if((r+l|0)>>>0>1){n=d;o=j;k=r;while(1){if((n|0)==(e|0))break a;if((b[o>>0]|0)==2){m=b[n+11>>0]|0;if(m<<24>>24<0)m=f[n+4>>2]|0;else m=m&255;if((m|0)!=(s|0)){b[o>>0]=0;k=k+-1|0}}n=n+12|0;o=o+1|0}}else k=r}else k=r;while(0);t=s;r=k}do if(n){k=f[n+12>>2]|0;if((k|0)==(f[n+16>>2]|0))k=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else k=Fqb(b[k>>0]|0)|0;if(Crb(k,Eqb()|0)|0){f[a>>2]=0;l=1;break}else{l=(f[a>>2]|0)==0;break}}else l=1;while(0);do if(m){k=f[m+12>>2]|0;if((k|0)==(f[m+16>>2]|0))k=_i[f[(f[m>>2]|0)+36>>2]&2047](m)|0;else k=Fqb(b[k>>0]|0)|0;if(!(Crb(k,Eqb()|0)|0))if(l)break;else{w=79;break}else{f[c>>2]=0;w=41;break}}else w=41;while(0);if((w|0)==41?l:0)w=79;if((w|0)==79)f[h>>2]=f[h>>2]|2;while(1){if((d|0)==(e|0)){w=84;break}if((b[j>>0]|0)==2)break;d=d+12|0;j=j+1|0}if((w|0)==84){f[h>>2]=f[h>>2]|4;d=e}Dmb(v);u=x;return d|0}function dub(a){a=a|0;$sb(a);return}function eub(a){a=a|0;$sb(a);GBb(a);return}function fub(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+48|0;i=o+40|0;n=o;j=o+32|0;k=o+36|0;l=o+28|0;m=o+24|0;if(!(f[e+4>>2]&1)){f[j>>2]=-1;m=f[(f[a>>2]|0)+16>>2]|0;f[k>>2]=f[c>>2];f[l>>2]=f[d>>2];f[n>>2]=f[k>>2];f[i>>2]=f[l>>2];n=jj[m&63](a,n,i,e,g,j)|0;f[c>>2]=n;switch(f[j>>2]|0){case 0:{b[h>>0]=0;break}case 1:{b[h>>0]=1;break}default:{b[h>>0]=1;f[g>>2]=4}}i=f[c>>2]|0}else{Drb(i,e);l=utb(i,504608)|0;vtb(i);Drb(i,e);a=utb(i,504616)|0;vtb(i);Bj[f[(f[a>>2]|0)+24>>2]&1023](n,a);Bj[f[(f[a>>2]|0)+28>>2]&1023](n+12|0,a);f[m>>2]=f[d>>2];a=n+24|0;f[i>>2]=f[m>>2];i=(Fub(c,i,n,a,l,g,1)|0)==(n|0)&1;b[h>>0]=i;i=f[c>>2]|0;do{a=a+-12|0;tCb(a)}while((a|0)!=(n|0))}u=o;return i|0}function gub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Eub(a,j,i,d,e,g)|0;u=h;return g|0}function hub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Dub(a,j,i,d,e,g)|0;u=h;return g|0}function iub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Cub(a,j,i,d,e,g)|0;u=h;return g|0}function jub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Bub(a,j,i,d,e,g)|0;u=h;return g|0}function kub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Aub(a,j,i,d,e,g)|0;u=h;return g|0}function lub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=wub(a,j,i,d,e,g)|0;u=h;return g|0}function mub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=vub(a,j,i,d,e,g)|0;u=h;return g|0}function nub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=uub(a,j,i,d,e,g)|0;u=h;return g|0}function oub(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=rub(a,j,i,d,e,g)|0;u=h;return g|0}function pub(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,y=0,z=0,A=0;z=u;u=u+304|0;w=z+264|0;t=z+160|0;x=z+292|0;y=z+280|0;v=z+276|0;q=z;r=z+272|0;s=z+268|0;f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[x+(a<<2)>>2]=0;a=a+1|0}Drb(y,e);a=utb(y,504608)|0;ej[f[(f[a>>2]|0)+48>>2]&63](a,272784,272810,t)|0;vtb(y);f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[y+(a<<2)>>2]=0;a=a+1|0}p=y+11|0;o=y+8|0;if((b[p>>0]|0)<0)a=(f[o>>2]&2147483647)+-1|0;else a=10;_Bb(y,a,0);a=(b[p>>0]|0)<0?f[y>>2]|0:y;f[v>>2]=a;f[r>>2]=q;f[s>>2]=0;n=y+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;A=22;break}}else A=22;while(0);if((A|0)==22){A=0;if(k){i=0;break}else i=0}e=b[p>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[v>>2]|0)==(a+e|0)){_Bb(y,e<<1,0);if((b[p>>0]|0)<0)a=(f[o>>2]&2147483647)+-1|0;else a=10;_Bb(y,a,0);a=(b[p>>0]|0)<0?f[y>>2]|0:y;f[v>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(qub(e,16,a,v,s,0,x,q,r,t)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}_Bb(y,(f[v>>2]|0)-a|0,0);t=(b[p>>0]|0)<0?f[y>>2]|0:y;v=xtb()|0;f[w>>2]=h;if((ytb(t,v,487309,w)|0)!=1)f[g>>2]=4;if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{A=52;break}else{f[d>>2]=0;A=50;break}}else A=50;while(0);if((A|0)==50?e:0)A=52;if((A|0)==52)f[g>>2]=f[g>>2]|2;A=f[c>>2]|0;TBb(y);TBb(x);u=z;return A|0}function qub(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=f[e>>2]|0;p=(o|0)==(d|0);do if(p){m=(f[l+96>>2]|0)==(a|0);if(!m?(f[l+100>>2]|0)!=(a|0):0){n=5;break}f[e>>2]=d+1;b[d>>0]=m?43:45;f[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=b[i+11>>0]|0;if((a|0)==(h|0)?((n<<24>>24<0?f[i+4>>2]|0:n&255)|0)!=0:0){m=f[k>>2]|0;if((m-j|0)>=160){m=0;break}e=f[g>>2]|0;f[k>>2]=m+4;f[m>>2]=e;f[g>>2]=0;m=0;break}i=l+104|0;h=0;while(1){m=l+(h<<2)|0;if((h|0)==26){m=i;break}if((f[m>>2]|0)==(a|0))break;else h=h+1|0}m=m-l|0;h=m>>2;if((m|0)>92)m=-1;else{switch(c|0){case 10:case 8:{if((h|0)>=(c|0)){m=-1;break a}break}case 16:{if((m|0)>=88){if(p){m=-1;break a}if((o-d|0)>=3){m=-1;break a}if((b[o+-1>>0]|0)!=48){m=-1;break a}f[g>>2]=0;m=b[272784+h>>0]|0;f[e>>2]=o+1;b[o>>0]=m;m=0;break a}break}default:{}}m=b[272784+h>>0]|0;f[e>>2]=o+1;b[o>>0]=m;f[g>>2]=(f[g>>2]|0)+1;m=0}}while(0);return m|0}function rub(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,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.0;E=u;u=u+336|0;s=E+160|0;t=E+328|0;v=E+324|0;D=E+312|0;C=E+300|0;w=E+296|0;x=E;y=E+292|0;z=E+288|0;A=E+333|0;r=E+332|0;sub(D,e,s,t,v);f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}o=C+11|0;q=C+8|0;if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a;f[y>>2]=x;f[z>>2]=0;b[A>>0]=1;b[r>>0]=69;n=C+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[w>>2]|0)==(a+e|0)){_Bb(C,e<<1,0);if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(tub(e,A,r,a,w,f[t>>2]|0,f[v>>2]|0,D,x,y,z,s)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}v=b[D+11>>0]|0;if(!((b[A>>0]|0)==0?1:((v<<24>>24<0?f[D+4>>2]|0:v&255)|0)==0)?(B=f[y>>2]|0,(B-x|0)<160):0){A=f[z>>2]|0;f[y>>2]=B+4;f[B>>2]=A}G=+Itb(a,f[w>>2]|0,g);p[h>>3]=G;Jtb(D,x,f[y>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{F=50;break}else{f[d>>2]=0;F=48;break}}else F=48;while(0);if((F|0)==48?e:0)F=50;if((F|0)==50)f[g>>2]=f[g>>2]|2;F=f[c>>2]|0;TBb(C);TBb(D);u=E;return F|0}function sub(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;g=u;u=u+16|0;h=g;Drb(h,b);b=utb(h,504608)|0;ej[f[(f[b>>2]|0)+48>>2]&63](b,272784,272816,c)|0;c=utb(h,504616)|0;b=_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;f[d>>2]=b;d=_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;f[e>>2]=d;Bj[f[(f[c>>2]|0)+20>>2]&1023](a,c);vtb(h);u=g;return}function tub(a,c,d,e,g,h,i,j,k,l,m,n){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if((a|0)==(h|0))if(b[c>>0]|0){b[c>>0]=0;d=f[g>>2]|0;f[g>>2]=d+1;b[d>>0]=46;g=b[j+11>>0]|0;if(((g<<24>>24<0?f[j+4>>2]|0:g&255)|0)!=0?(o=f[l>>2]|0,(o-k|0)<160):0){k=f[m>>2]|0;f[l>>2]=o+4;f[o>>2]=k;o=0}else o=0}else o=-1;else{if((a|0)==(i|0)?(i=b[j+11>>0]|0,(i<<24>>24<0?f[j+4>>2]|0:i&255)|0):0){if(!(b[c>>0]|0)){o=-1;break}o=f[l>>2]|0;if((o-k|0)>=160){o=0;break}k=f[m>>2]|0;f[l>>2]=o+4;f[o>>2]=k;f[m>>2]=0;o=0;break}i=n+128|0;h=0;while(1){o=n+(h<<2)|0;if((h|0)==32){o=i;break}if((f[o>>2]|0)==(a|0))break;else h=h+1|0}h=o-n|0;if((h|0)<=124){i=b[272784+(h>>2)>>0]|0;n=h+-88|0;switch(n>>>2|n<<30|0){case 2:case 3:{o=f[g>>2]|0;if((o|0)!=(e|0)?(b[o+-1>>0]&95)!=(b[d>>0]&127):0){o=-1;break a}f[g>>2]=o+1;b[o>>0]=i;o=0;break a}case 1:case 0:{b[d>>0]=80;break}default:{o=i&95;if((((o|0)==(b[d>>0]|0)?(b[d>>0]=o|128,b[c>>0]|0):0)?(b[c>>0]=0,d=b[j+11>>0]|0,(d<<24>>24<0?f[j+4>>2]|0:d&255)|0):0)?(p=f[l>>2]|0,(p-k|0)<160):0){k=f[m>>2]|0;f[l>>2]=p+4;f[p>>2]=k}}}l=f[g>>2]|0;f[g>>2]=l+1;b[l>>0]=i;if((h|0)>84)o=0;else{f[m>>2]=(f[m>>2]|0)+1;o=0}}else o=-1}while(0);return o|0}function uub(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,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.0;E=u;u=u+336|0;s=E+160|0;t=E+328|0;v=E+324|0;D=E+312|0;C=E+300|0;w=E+296|0;x=E;y=E+292|0;z=E+288|0;A=E+333|0;r=E+332|0;sub(D,e,s,t,v);f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}o=C+11|0;q=C+8|0;if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a;f[y>>2]=x;f[z>>2]=0;b[A>>0]=1;b[r>>0]=69;n=C+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[w>>2]|0)==(a+e|0)){_Bb(C,e<<1,0);if((b[o>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[o>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(tub(e,A,r,a,w,f[t>>2]|0,f[v>>2]|0,D,x,y,z,s)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}v=b[D+11>>0]|0;if(!((b[A>>0]|0)==0?1:((v<<24>>24<0?f[D+4>>2]|0:v&255)|0)==0)?(B=f[y>>2]|0,(B-x|0)<160):0){A=f[z>>2]|0;f[y>>2]=B+4;f[B>>2]=A}G=+Ltb(a,f[w>>2]|0,g);p[h>>3]=G;Jtb(D,x,f[y>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{F=50;break}else{f[d>>2]=0;F=48;break}}else F=48;while(0);if((F|0)==48?e:0)F=50;if((F|0)==50)f[g>>2]=f[g>>2]|2;F=f[c>>2]|0;TBb(C);TBb(D);u=E;return F|0}function vub(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,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.0;E=u;u=u+336|0;s=E+160|0;t=E+328|0;v=E+324|0;D=E+312|0;C=E+300|0;w=E+296|0;x=E;y=E+292|0;z=E+288|0;A=E+333|0;r=E+332|0;sub(D,e,s,t,v);f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}p=C+11|0;q=C+8|0;if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[p>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a;f[y>>2]=x;f[z>>2]=0;b[A>>0]=1;b[r>>0]=69;o=C+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;F=19;break}}else F=19;while(0);if((F|0)==19){F=0;if(k){i=0;break}else i=0}e=b[p>>0]|0;e=e<<24>>24<0?f[o>>2]|0:e&255;if((f[w>>2]|0)==(a+e|0)){_Bb(C,e<<1,0);if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(C,a,0);a=(b[p>>0]|0)<0?f[C>>2]|0:C;f[w>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(tub(e,A,r,a,w,f[t>>2]|0,f[v>>2]|0,D,x,y,z,s)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}v=b[D+11>>0]|0;if(!((b[A>>0]|0)==0?1:((v<<24>>24<0?f[D+4>>2]|0:v&255)|0)==0)?(B=f[y>>2]|0,(B-x|0)<160):0){A=f[z>>2]|0;f[y>>2]=B+4;f[B>>2]=A}G=+Ntb(a,f[w>>2]|0,g);n[h>>2]=G;Jtb(D,x,f[y>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{F=50;break}else{f[d>>2]=0;F=48;break}}else F=48;while(0);if((F|0)==48?e:0)F=50;if((F|0)==50)f[g>>2]=f[g>>2]|2;F=f[c>>2]|0;TBb(C);TBb(D);u=E;return F|0}function wub(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+304|0;r=C+300|0;z=C+288|0;A=C+276|0;s=C+272|0;t=C;w=C+268|0;x=C+264|0;y=Ptb(e)|0;q=xub(a,e,C+160|0)|0;yub(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(qub(e,y,a,s,x,f[r>>2]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=Stb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;f[h+4>>2]=H;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function xub(a,b,c){a=a|0;b=b|0;c=c|0;return zub(a,b,c)|0}function yub(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=u;u=u+16|0;e=d;Drb(e,b);b=utb(e,504616)|0;g=_i[f[(f[b>>2]|0)+16>>2]&2047](b)|0;f[c>>2]=g;Bj[f[(f[b>>2]|0)+20>>2]&1023](a,b);vtb(e);u=d;return}function zub(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=u;u=u+16|0;d=a;Drb(d,b);b=utb(d,504608)|0;ej[f[(f[b>>2]|0)+48>>2]&63](b,272784,272810,c)|0;vtb(d);u=a;return c|0}function Aub(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+304|0;r=C+300|0;z=C+288|0;A=C+276|0;s=C+272|0;t=C;w=C+268|0;x=C+264|0;y=Ptb(e)|0;q=xub(a,e,C+160|0)|0;yub(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(qub(e,y,a,s,x,f[r>>2]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=Vtb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function Bub(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+304|0;r=C+300|0;z=C+288|0;A=C+276|0;s=C+272|0;t=C;w=C+268|0;x=C+264|0;y=Ptb(e)|0;q=xub(a,e,C+160|0)|0;yub(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(qub(e,y,a,s,x,f[r>>2]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=Xtb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function Cub(a,c,e,g,h,i){a=a|0;c=c|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,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;D=u;u=u+304|0;s=D+300|0;A=D+288|0;B=D+276|0;t=D+272|0;v=D;x=D+268|0;y=D+264|0;z=Ptb(g)|0;r=xub(a,g,D+160|0)|0;yub(A,g,s);f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[B+(a<<2)>>2]=0;a=a+1|0}p=B+11|0;q=B+8|0;if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(B,a,0);a=(b[p>>0]|0)<0?f[B>>2]|0:B;f[t>>2]=a;f[x>>2]=v;f[y>>2]=0;o=B+4|0;k=f[c>>2]|0;j=k;a:while(1){if(k){g=f[k+12>>2]|0;if((g|0)==(f[k+16>>2]|0))g=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else g=Xqb(f[g>>2]|0)|0;if(Frb(g,Wqb()|0)|0){f[c>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=f[e>>2]|0;do if(j){g=f[j+12>>2]|0;if((g|0)==(f[j+16>>2]|0))g=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else g=Xqb(f[g>>2]|0)|0;if(!(Frb(g,Wqb()|0)|0))if(l)break;else break a;else{f[e>>2]=0;C=19;break}}else C=19;while(0);if((C|0)==19){C=0;if(l){j=0;break}else j=0}g=b[p>>0]|0;g=g<<24>>24<0?f[o>>2]|0:g&255;if((f[t>>2]|0)==(a+g|0)){_Bb(B,g<<1,0);if((b[p>>0]|0)<0)a=(f[q>>2]&2147483647)+-1|0;else a=10;_Bb(B,a,0);a=(b[p>>0]|0)<0?f[B>>2]|0:B;f[t>>2]=a+g}l=k+12|0;g=f[l>>2]|0;m=k+16|0;if((g|0)==(f[m>>2]|0))g=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else g=Xqb(f[g>>2]|0)|0;if(qub(g,z,a,t,y,f[s>>2]|0,A,v,x,r)|0)break;g=f[l>>2]|0;if((g|0)==(f[m>>2]|0))_i[f[(f[k>>2]|0)+40>>2]&2047](k)|0;else{f[l>>2]=g+4;Xqb(f[g>>2]|0)|0}j=n}s=b[A+11>>0]|0;if((s<<24>>24<0?f[A+4>>2]|0:s&255)|0?(w=f[x>>2]|0,(w-v|0)<160):0){y=f[y>>2]|0;f[x>>2]=w+4;f[w>>2]=y}z=Ztb(a,f[t>>2]|0,h,z)|0;d[i>>1]=z;Jtb(A,v,f[x>>2]|0,h);if(k){a=f[k+12>>2]|0;if((a|0)==(f[k+16>>2]|0))a=_i[f[(f[n>>2]|0)+36>>2]&2047](k)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;g=1}else g=0}else g=1;do if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(g)break;else{C=50;break}else{f[e>>2]=0;C=48;break}}else C=48;while(0);if((C|0)==48?g:0)C=50;if((C|0)==50)f[h>>2]=f[h>>2]|2;C=f[c>>2]|0;TBb(B);TBb(A);u=D;return C|0}function Dub(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+304|0;r=C+300|0;z=C+288|0;A=C+276|0;s=C+272|0;t=C;w=C+268|0;x=C+264|0;y=Ptb(e)|0;q=xub(a,e,C+160|0)|0;yub(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(qub(e,y,a,s,x,f[r>>2]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=$tb(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;f[h+4>>2]=H;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function Eub(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,y=0,z=0,A=0,B=0,C=0;C=u;u=u+304|0;r=C+300|0;z=C+288|0;A=C+276|0;s=C+272|0;t=C;w=C+268|0;x=C+264|0;y=Ptb(e)|0;q=xub(a,e,C+160|0)|0;yub(z,e,r);f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}o=A+11|0;p=A+8|0;if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a;f[w>>2]=t;f[x>>2]=0;n=A+4|0;j=f[c>>2]|0;i=j;a:while(1){if(j){e=f[j+12>>2]|0;if((e|0)==(f[j+16>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(Frb(e,Wqb()|0)|0){f[c>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=f[d>>2]|0;do if(i){e=f[i+12>>2]|0;if((e|0)==(f[i+16>>2]|0))e=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else e=Xqb(f[e>>2]|0)|0;if(!(Frb(e,Wqb()|0)|0))if(k)break;else break a;else{f[d>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(k){i=0;break}else i=0}e=b[o>>0]|0;e=e<<24>>24<0?f[n>>2]|0:e&255;if((f[s>>2]|0)==(a+e|0)){_Bb(A,e<<1,0);if((b[o>>0]|0)<0)a=(f[p>>2]&2147483647)+-1|0;else a=10;_Bb(A,a,0);a=(b[o>>0]|0)<0?f[A>>2]|0:A;f[s>>2]=a+e}k=j+12|0;e=f[k>>2]|0;l=j+16|0;if((e|0)==(f[l>>2]|0))e=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else e=Xqb(f[e>>2]|0)|0;if(qub(e,y,a,s,x,f[r>>2]|0,z,t,w,q)|0)break;e=f[k>>2]|0;if((e|0)==(f[l>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=e+4;Xqb(f[e>>2]|0)|0}i=m}r=b[z+11>>0]|0;if((r<<24>>24<0?f[z+4>>2]|0:r&255)|0?(v=f[w>>2]|0,(v-t|0)<160):0){x=f[x>>2]|0;f[w>>2]=v+4;f[v>>2]=x}y=bub(a,f[s>>2]|0,g,y)|0;f[h>>2]=y;Jtb(z,t,f[w>>2]|0,g);if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[m>>2]|0)+36>>2]&2047](j)|0;else a=Xqb(f[a>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;e=1}else e=0}else e=1;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(e)break;else{B=50;break}else{f[d>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?e:0)B=50;if((B|0)==50)f[g>>2]=f[g>>2]|2;B=f[c>>2]|0;TBb(A);TBb(z);u=C;return B|0}function Fub(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;x=u;u=u+112|0;k=x;l=(e-d|0)/12|0;if(l>>>0>100){k=Cmb(l)|0;if(!k)DBb();else{j=k;v=k}}else{j=k;v=0}k=0;n=d;o=j;while(1){if((n|0)==(e|0))break;m=b[n+8+3>>0]|0;if(m<<24>>24<0)m=f[n+4>>2]|0;else m=m&255;if(!m){b[o>>0]=2;k=k+1|0;l=l+-1|0}else b[o>>0]=1;n=n+12|0;o=o+1|0}t=0;r=k;while(1){k=f[a>>2]|0;do if(k){m=f[k+12>>2]|0;if((m|0)==(f[k+16>>2]|0))k=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else k=Xqb(f[m>>2]|0)|0;if(Frb(k,Wqb()|0)|0){f[a>>2]=0;o=1;break}else{o=(f[a>>2]|0)==0;break}}else o=1;while(0);m=f[c>>2]|0;if(m){k=f[m+12>>2]|0;if((k|0)==(f[m+16>>2]|0))k=_i[f[(f[m>>2]|0)+36>>2]&2047](m)|0;else k=Xqb(f[k>>2]|0)|0;if(Frb(k,Wqb()|0)|0){f[c>>2]=0;k=1;m=0}else k=0}else{k=1;m=0}n=f[a>>2]|0;if(!((l|0)!=0&(o^k)))break;k=f[n+12>>2]|0;if((k|0)==(f[n+16>>2]|0))k=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else k=Xqb(f[k>>2]|0)|0;if(!i)k=cj[f[(f[g>>2]|0)+28>>2]&1023](g,k)|0;s=t+1|0;p=d;o=0;q=j;while(1){if((p|0)==(e|0))break;do if((b[q>>0]|0)==1){n=p+8+3|0;if((b[n>>0]|0)<0)m=f[p>>2]|0;else m=p;m=f[m+(t<<2)>>2]|0;if(!i)m=cj[f[(f[g>>2]|0)+28>>2]&1023](g,m)|0;if((k|0)!=(m|0)){b[q>>0]=0;m=o;n=r;l=l+-1|0;break}m=b[n>>0]|0;if(m<<24>>24<0)m=f[p+4>>2]|0;else m=m&255;if((m|0)==(s|0)){b[q>>0]=2;m=1;n=r+1|0;l=l+-1|0}else{m=1;n=r}}else{m=o;n=r}while(0);p=p+12|0;o=m;q=q+1|0;r=n}a:do if(o){k=f[a>>2]|0;m=k+12|0;n=f[m>>2]|0;if((n|0)==(f[k+16>>2]|0))_i[f[(f[k>>2]|0)+40>>2]&2047](k)|0;else{f[m>>2]=n+4;Xqb(f[n>>2]|0)|0}if((r+l|0)>>>0>1){n=d;o=j;k=r;while(1){if((n|0)==(e|0))break a;if((b[o>>0]|0)==2){m=b[n+8+3>>0]|0;if(m<<24>>24<0)m=f[n+4>>2]|0;else m=m&255;if((m|0)!=(s|0)){b[o>>0]=0;k=k+-1|0}}n=n+12|0;o=o+1|0}}else k=r}else k=r;while(0);t=s;r=k}do if(n){k=f[n+12>>2]|0;if((k|0)==(f[n+16>>2]|0))k=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else k=Xqb(f[k>>2]|0)|0;if(Frb(k,Wqb()|0)|0){f[a>>2]=0;l=1;break}else{l=(f[a>>2]|0)==0;break}}else l=1;while(0);do if(m){k=f[m+12>>2]|0;if((k|0)==(f[m+16>>2]|0))k=_i[f[(f[m>>2]|0)+36>>2]&2047](m)|0;else k=Xqb(f[k>>2]|0)|0;if(!(Frb(k,Wqb()|0)|0))if(l)break;else{w=79;break}else{f[c>>2]=0;w=41;break}}else w=41;while(0);if((w|0)==41?l:0)w=79;if((w|0)==79)f[h>>2]=f[h>>2]|2;while(1){if((d|0)==(e|0)){w=84;break}if((b[j>>0]|0)==2)break;d=d+12|0;j=j+1|0}if((w|0)==84){f[h>>2]=f[h>>2]|4;d=e}Dmb(v);u=x;return d|0}function Gub(a){a=a|0;$sb(a);return}function Hub(a){a=a|0;$sb(a);GBb(a);return}function Iub(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+4|0;h=l;if(!(f[d+4>>2]&1)){j=f[(f[a>>2]|0)+24>>2]|0;f[h>>2]=f[c>>2];f[k>>2]=f[h>>2];a=hj[j&63](a,k,d,e,g&1)|0}else{Drb(k,d);a=utb(k,504592)|0;vtb(k);d=f[a>>2]|0;if(g)Bj[f[d+24>>2]&1023](k,a);else Bj[f[d+28>>2]&1023](k,a);i=k+11|0;a=b[i>>0]|0;d=f[k>>2]|0;j=k+4|0;g=a<<24>>24<0?d:k;while(1){h=a<<24>>24<0;if((g|0)==((h?d:k)+(h?f[j>>2]|0:a&255)|0))break;a=b[g>>0]|0;d=f[c>>2]|0;if(d|0){e=d+24|0;h=f[e>>2]|0;if((h|0)==(f[d+28>>2]|0)){h=f[(f[d>>2]|0)+52>>2]|0;a=Fqb(a)|0;a=cj[h&1023](d,a)|0}else{f[e>>2]=h+1;b[h>>0]=a;a=Fqb(a)|0}if(Crb(a,Eqb()|0)|0)f[c>>2]=0}g=g+1|0;a=b[i>>0]|0;d=f[k>>2]|0}a=f[c>>2]|0;TBb(k)}u=l;return a|0}function Jub(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;a=u;u=u+32|0;j=a;n=a+16|0;m=a+12|0;l=a+4|0;k=a+8|0;b[n>>0]=b[487530]|0;b[n+1>>0]=b[487531]|0;b[n+2>>0]=b[487532]|0;b[n+3>>0]=b[487533]|0;b[n+4>>0]=b[487534]|0;b[n+5>>0]=b[487535]|0;p=d+4|0;Vub(n+1|0,487536,1,f[p>>2]|0);p=(f[p>>2]|0)>>>9&1;q=p+13|0;h=li()|0;o=u;u=u+((1*q|0)+15&-16)|0;i=xtb()|0;f[j>>2]=g;g=o+(Qub(o,q,i,n,j)|0)|0;n=Rub(o,g,d)|0;i=u;u=u+((1*((p<<1|24)+-1|0)|0)+15&-16)|0;Drb(j,d);Wub(o,n,g,i,m,l,j);vtb(j);f[k>>2]=f[c>>2];c=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=Ou(j,i,c,g,d,e)|0;ki(h|0);u=a;return g|0}function Kub(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=u;u=u+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;f[o>>2]=37;f[o+4>>2]=0;o=c+4|0;Vub(i+1|0,487527,1,f[o>>2]|0);o=(f[o>>2]|0)>>>9&1;q=o+23|0;h=li()|0;n=u;u=u+((1*q|0)+15&-16)|0;p=xtb()|0;r=j;f[r>>2]=e;f[r+4>>2]=g;e=n+(Qub(n,q,p,i,j)|0)|0;g=Rub(n,e,c)|0;i=u;u=u+((1*((o<<1|44)+-1|0)|0)+15&-16)|0;Drb(j,c);Wub(n,g,e,i,m,l,j);vtb(j);f[k>>2]=f[b>>2];e=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=Ou(j,i,e,g,c,d)|0;ki(h|0);u=a;return g|0}function Lub(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;a=u;u=u+32|0;j=a;n=a+16|0;m=a+12|0;l=a+4|0;k=a+8|0;b[n>>0]=b[487530]|0;b[n+1>>0]=b[487531]|0;b[n+2>>0]=b[487532]|0;b[n+3>>0]=b[487533]|0;b[n+4>>0]=b[487534]|0;b[n+5>>0]=b[487535]|0;p=d+4|0;Vub(n+1|0,487536,0,f[p>>2]|0);p=(f[p>>2]|0)>>>9&1;q=p|12;h=li()|0;o=u;u=u+((1*q|0)+15&-16)|0;i=xtb()|0;f[j>>2]=g;g=o+(Qub(o,q,i,n,j)|0)|0;n=Rub(o,g,d)|0;i=u;u=u+((1*(p<<1|21)|0)+15&-16)|0;Drb(j,d);Wub(o,n,g,i,m,l,j);vtb(j);f[k>>2]=f[c>>2];c=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=Ou(j,i,c,g,d,e)|0;ki(h|0);u=a;return g|0}function Mub(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=u;u=u+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;f[o>>2]=37;f[o+4>>2]=0;o=c+4|0;Vub(i+1|0,487527,0,f[o>>2]|0);o=(f[o>>2]|0)>>>9&1|22;q=o+1|0;h=li()|0;n=u;u=u+((1*q|0)+15&-16)|0;p=xtb()|0;r=j;f[r>>2]=e;f[r+4>>2]=g;e=n+(Qub(n,q,p,i,j)|0)|0;g=Rub(n,e,c)|0;i=u;u=u+((1*((o<<1)+-1|0)|0)+15&-16)|0;Drb(j,c);Wub(n,g,e,i,m,l,j);vtb(j);f[k>>2]=f[b>>2];e=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=Ou(j,i,e,g,c,d)|0;ki(h|0);u=a;return g|0}function Nub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var 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;w=u;u=u+176|0;r=w+168|0;l=w+144|0;k=w+128|0;h=w+120|0;g=w+104|0;j=w+96|0;n=w+64|0;m=w+164|0;o=w;v=w+160|0;s=w+156|0;t=w+152|0;i=j;f[i>>2]=37;f[i+4>>2]=0;i=Sub(j+1|0,505031,f[c+4>>2]|0)|0;f[m>>2]=n;a=xtb()|0;if(i){f[g>>2]=f[c+8>>2];p[g+8>>3]=e;a=Qub(n,30,a,j,g)|0}else{p[h>>3]=e;a=Qub(n,30,a,j,h)|0}if((a|0)>29){a=xtb()|0;if(i){f[k>>2]=f[c+8>>2];p[k+8>>3]=e;g=Tub(m,a,j,k)|0}else{p[l>>3]=e;g=Tub(m,a,j,l)|0}a=f[m>>2]|0;if(!a)DBb();else{q=g;z=a;A=a}}else{q=a;z=0;A=f[m>>2]|0}g=A+q|0;h=Rub(A,g,c)|0;if((A|0)!=(n|0)){a=Cmb(q<<1)|0;if(!a)DBb();else{x=a;y=a}}else{x=o;y=0}Drb(r,c);Uub(A,h,g,x,v,s,r);vtb(r);f[t>>2]=f[b>>2];b=f[v>>2]|0;A=f[s>>2]|0;f[r>>2]=f[t>>2];A=Ou(r,x,b,A,c,d)|0;Dmb(y);Dmb(z);u=w;return A|0}function Oub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var 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;w=u;u=u+176|0;r=w+168|0;l=w+144|0;k=w+128|0;h=w+120|0;g=w+104|0;j=w+96|0;n=w+64|0;m=w+164|0;o=w;v=w+160|0;s=w+156|0;t=w+152|0;i=j;f[i>>2]=37;f[i+4>>2]=0;i=Sub(j+1|0,487525,f[c+4>>2]|0)|0;f[m>>2]=n;a=xtb()|0;if(i){f[g>>2]=f[c+8>>2];p[g+8>>3]=e;a=Qub(n,30,a,j,g)|0}else{p[h>>3]=e;a=Qub(n,30,a,j,h)|0}if((a|0)>29){a=xtb()|0;if(i){f[k>>2]=f[c+8>>2];p[k+8>>3]=e;g=Tub(m,a,j,k)|0}else{p[l>>3]=e;g=Tub(m,a,j,l)|0}a=f[m>>2]|0;if(!a)DBb();else{q=g;z=a;A=a}}else{q=a;z=0;A=f[m>>2]|0}g=A+q|0;h=Rub(A,g,c)|0;if((A|0)!=(n|0)){a=Cmb(q<<1)|0;if(!a)DBb();else{x=a;y=a}}else{x=o;y=0}Drb(r,c);Uub(A,h,g,x,v,s,r);vtb(r);f[t>>2]=f[b>>2];b=f[v>>2]|0;A=f[s>>2]|0;f[r>>2]=f[t>>2];A=Ou(r,x,b,A,c,d)|0;Dmb(y);Dmb(z);u=w;return A|0}function Pub(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;a=u;u=u+96|0;l=a+72|0;k=a+80|0;h=a+48|0;j=a;m=a+76|0;b[k>>0]=b[487519]|0;b[k+1>>0]=b[487520]|0;b[k+2>>0]=b[487521]|0;b[k+3>>0]=b[487522]|0;b[k+4>>0]=b[487523]|0;b[k+5>>0]=b[487524]|0;i=xtb()|0;f[l>>2]=g;g=Qub(h,20,i,k,l)|0;k=h+g|0;i=Rub(h,k,d)|0;Drb(l,d);n=utb(l,504576)|0;vtb(l);ej[f[(f[n>>2]|0)+32>>2]&63](n,h,k,j)|0;g=j+g|0;f[m>>2]=f[c>>2];f[l>>2]=f[m>>2];g=Ou(l,j,(i|0)==(k|0)?g:j+(i-h)|0,g,d,e)|0;u=a;return g|0}function Qub(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;g=u;u=u+16|0;h=g;f[h>>2]=e;e=_ob(c)|0;c=Vnb(a,b,d,h)|0;if(e|0)_ob(e)|0;u=g;return c|0}function Rub(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;a:do switch((f[d+4>>2]&176)<<24>>24){case 16:{d=b[a>>0]|0;switch(d<<24>>24){case 43:case 45:{a=a+1|0;break a}default:{}}if((c-a|0)>1&d<<24>>24==48){switch(b[a+1>>0]|0){case 88:case 120:break;default:{e=7;break a}}a=a+2|0}else e=7;break}case 32:{a=c;break}default:e=7}while(0);return a|0}function Sub(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(d&2048){b[a>>0]=43;a=a+1|0}if(d&1024){b[a>>0]=35;a=a+1|0}g=d&260;e=d&16384;f=(g|0)==260;if(f)h=0;else{b[a>>0]=46;b[a+1>>0]=42;h=1;a=a+2|0}while(1){d=b[c>>0]|0;if(!(d<<24>>24))break;b[a>>0]=d;c=c+1|0;a=a+1|0}a:do switch(g&511){case 4:{d=e>>>9&255^102;break}case 256:{d=e>>>9&255^101;break}default:{d=e>>>9&255;if(f){d=d^97;break a}else{d=d^103;break a}}}while(0);b[a>>0]=d;return h|0}function Tub(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;f[g>>2]=d;d=_ob(b)|0;b=aqb(a,c,g)|0;if(d|0)_ob(d)|0;u=e;return b|0}function Uub(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0;w=u;u=u+16|0;s=w;t=utb(i,504576)|0;r=utb(i,504592)|0;Bj[f[(f[r>>2]|0)+20>>2]&1023](s,r);f[h>>2]=e;i=b[a>>0]|0;switch(i<<24>>24){case 43:case 45:{q=cj[f[(f[t>>2]|0)+28>>2]&1023](t,i)|0;j=f[h>>2]|0;f[h>>2]=j+1;b[j>>0]=q;j=a+1|0;break}default:j=a}q=d;a:do if((q-j|0)>1?(b[j>>0]|0)==48:0){i=j+1|0;switch(b[i>>0]|0){case 88:case 120:break;default:{v=4;break a}}o=cj[f[(f[t>>2]|0)+28>>2]&1023](t,48)|0;p=f[h>>2]|0;f[h>>2]=p+1;b[p>>0]=o;j=j+2|0;p=cj[f[(f[t>>2]|0)+28>>2]&1023](t,b[i>>0]|0)|0;i=f[h>>2]|0;f[h>>2]=i+1;b[i>>0]=p;i=j;while(1){if(i>>>0>=d>>>0)break a;p=b[i>>0]|0;if(!(fpb(p,xtb()|0)|0))break a;i=i+1|0}}else v=4;while(0);b:do if((v|0)==4){i=j;while(1){if(i>>>0>=d>>>0)break b;p=b[i>>0]|0;if(!(hpb(p,xtb()|0)|0))break b;i=i+1|0}}while(0);o=s+11|0;n=b[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?f[p>>2]|0:n&255)|0){d:do if((j|0)!=(i|0)){k=i;l=j;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=b[l>>0]|0;b[l>>0]=b[k>>0]|0;b[k>>0]=n;l=l+1|0}}while(0);n=_i[f[(f[r>>2]|0)+16>>2]&2047](r)|0;m=j;l=0;k=0;while(1){if(m>>>0>=i>>>0)break;x=b[((b[o>>0]|0)<0?f[s>>2]|0:s)+k>>0]|0;if(x<<24>>24>0&(l|0)==(x<<24>>24|0)){l=f[h>>2]|0;f[h>>2]=l+1;b[l>>0]=n;l=b[o>>0]|0;k=k+(k>>>0<((l<<24>>24<0?f[p>>2]|0:l&255)+-1|0)>>>0&1)|0;l=0}y=cj[f[(f[t>>2]|0)+28>>2]&1023](t,b[m>>0]|0)|0;x=f[h>>2]|0;f[h>>2]=x+1;b[x>>0]=y;m=m+1|0;l=l+1|0}k=e+(j-a)|0;j=f[h>>2]|0;if((k|0)==(j|0))k=t;else while(1){j=j+-1|0;if(k>>>0>=j>>>0){k=t;break c}y=b[k>>0]|0;b[k>>0]=b[j>>0]|0;b[j>>0]=y;k=k+1|0}}else{ej[f[(f[t>>2]|0)+32>>2]&63](t,j,i,f[h>>2]|0)|0;f[h>>2]=(f[h>>2]|0)+(i-j);k=t}while(0);while(1){if(i>>>0>=d>>>0)break;j=b[i>>0]|0;if(j<<24>>24==46){v=32;break}x=cj[f[(f[k>>2]|0)+28>>2]&1023](t,j)|0;y=f[h>>2]|0;f[h>>2]=y+1;b[y>>0]=x;i=i+1|0}if((v|0)==32){x=_i[f[(f[r>>2]|0)+12>>2]&2047](r)|0;y=f[h>>2]|0;f[h>>2]=y+1;b[y>>0]=x;i=i+1|0}ej[f[(f[t>>2]|0)+32>>2]&63](t,i,d,f[h>>2]|0)|0;y=(f[h>>2]|0)+(q-i)|0;f[h>>2]=y;f[g>>2]=(c|0)==(d|0)?y:e+(c-a)|0;TBb(s);u=w;return}function Vub(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0;if(e&2048){b[a>>0]=43;a=a+1|0}if(e&512){b[a>>0]=35;a=a+1|0}f=a;while(1){a=b[c>>0]|0;if(!(a<<24>>24))break;b[f>>0]=a;c=c+1|0;f=f+1|0}switch(e&74){case 64:{a=111;break}case 8:{a=e>>>9&32^120;break}default:a=d?100:117}b[f>>0]=a;return}function Wub(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,p=0,q=0,r=0,s=0,t=0;r=u;u=u+16|0;q=r;p=utb(i,504576)|0;l=utb(i,504592)|0;Bj[f[(f[l>>2]|0)+20>>2]&1023](q,l);n=q+11|0;m=b[n>>0]|0;o=q+4|0;if((m<<24>>24<0?f[o>>2]|0:m&255)|0){f[h>>2]=e;i=b[a>>0]|0;switch(i<<24>>24){case 43:case 45:{m=cj[f[(f[p>>2]|0)+28>>2]&1023](p,i)|0;i=f[h>>2]|0;f[h>>2]=i+1;b[i>>0]=m;i=a+1|0;break}default:i=a}a:do if((d-i|0)>1?(b[i>>0]|0)==48:0){j=i+1|0;switch(b[j>>0]|0){case 88:case 120:break;default:break a}m=cj[f[(f[p>>2]|0)+28>>2]&1023](p,48)|0;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=m;k=cj[f[(f[p>>2]|0)+28>>2]&1023](p,b[j>>0]|0)|0;m=f[h>>2]|0;f[h>>2]=m+1;b[m>>0]=k;i=i+2|0}while(0);b:do if((i|0)!=(d|0)){j=d;k=i;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=b[k>>0]|0;b[k>>0]=b[j>>0]|0;b[j>>0]=m;k=k+1|0}}while(0);m=_i[f[(f[l>>2]|0)+16>>2]&2047](l)|0;l=i;j=0;k=0;while(1){if(l>>>0>=d>>>0)break;s=b[((b[n>>0]|0)<0?f[q>>2]|0:q)+j>>0]|0;if(s<<24>>24!=0&(k|0)==(s<<24>>24|0)){k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=m;k=b[n>>0]|0;j=j+(j>>>0<((k<<24>>24<0?f[o>>2]|0:k&255)+-1|0)>>>0&1)|0;k=0}t=cj[f[(f[p>>2]|0)+28>>2]&1023](p,b[l>>0]|0)|0;s=f[h>>2]|0;f[h>>2]=s+1;b[s>>0]=t;l=l+1|0;k=k+1|0}i=e+(i-a)|0;j=f[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-1|0;if(i>>>0>=j>>>0)break;t=b[i>>0]|0;b[i>>0]=b[j>>0]|0;b[j>>0]=t;i=i+1|0}i=f[h>>2]|0}}else{ej[f[(f[p>>2]|0)+32>>2]&63](p,a,d,e)|0;i=e+(d-a)|0;f[h>>2]=i}f[g>>2]=(c|0)==(d|0)?i:e+(c-a)|0;TBb(q);u=r;return}function Xub(a){a=a|0;$sb(a);return}function Yub(a){a=a|0;$sb(a);GBb(a);return}function Zub(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+4|0;h=l;if(!(f[d+4>>2]&1)){j=f[(f[a>>2]|0)+24>>2]|0;f[h>>2]=f[c>>2];f[k>>2]=f[h>>2];a=hj[j&63](a,k,d,e,g&1)|0}else{Drb(k,d);a=utb(k,504616)|0;vtb(k);d=f[a>>2]|0;if(g)Bj[f[d+24>>2]&1023](k,a);else Bj[f[d+28>>2]&1023](k,a);i=k+8+3|0;a=b[i>>0]|0;d=f[k>>2]|0;j=k+4|0;g=a<<24>>24<0?d:k;while(1){h=a<<24>>24<0;if((g|0)==((h?d:k)+((h?f[j>>2]|0:a&255)<<2)|0))break;a=f[g>>2]|0;d=f[c>>2]|0;if(d|0){e=d+24|0;h=f[e>>2]|0;if((h|0)==(f[d+28>>2]|0)){h=f[(f[d>>2]|0)+52>>2]|0;a=Xqb(a)|0;a=cj[h&1023](d,a)|0}else{f[e>>2]=h+4;f[h>>2]=a;a=Xqb(a)|0}if(Frb(a,Wqb()|0)|0)f[c>>2]=0}g=g+4|0;a=b[i>>0]|0;d=f[k>>2]|0}a=f[c>>2]|0;tCb(k)}u=l;return a|0}function _ub(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;a=u;u=u+32|0;j=a;n=a+16|0;m=a+12|0;l=a+4|0;k=a+8|0;b[n>>0]=b[487530]|0;b[n+1>>0]=b[487531]|0;b[n+2>>0]=b[487532]|0;b[n+3>>0]=b[487533]|0;b[n+4>>0]=b[487534]|0;b[n+5>>0]=b[487535]|0;p=d+4|0;Vub(n+1|0,487536,1,f[p>>2]|0);p=(f[p>>2]|0)>>>9&1;q=p+13|0;h=li()|0;o=u;u=u+((1*q|0)+15&-16)|0;i=xtb()|0;f[j>>2]=g;g=o+(Qub(o,q,i,n,j)|0)|0;n=Rub(o,g,d)|0;i=u;u=u+((1*((p<<1|24)+-1<<2)|0)+15&-16)|0;Drb(j,d);hvb(o,n,g,i,m,l,j);vtb(j);f[k>>2]=f[c>>2];c=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=fvb(j,i,c,g,d,e)|0;ki(h|0);u=a;return g|0}function $ub(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=u;u=u+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;f[o>>2]=37;f[o+4>>2]=0;o=c+4|0;Vub(i+1|0,487527,1,f[o>>2]|0);o=(f[o>>2]|0)>>>9&1;q=o+23|0;h=li()|0;n=u;u=u+((1*q|0)+15&-16)|0;p=xtb()|0;r=j;f[r>>2]=e;f[r+4>>2]=g;e=n+(Qub(n,q,p,i,j)|0)|0;g=Rub(n,e,c)|0;i=u;u=u+((1*((o<<1|44)+-1<<2)|0)+15&-16)|0;Drb(j,c);hvb(n,g,e,i,m,l,j);vtb(j);f[k>>2]=f[b>>2];e=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=fvb(j,i,e,g,c,d)|0;ki(h|0);u=a;return g|0}function avb(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;a=u;u=u+32|0;j=a;n=a+16|0;m=a+12|0;l=a+4|0;k=a+8|0;b[n>>0]=b[487530]|0;b[n+1>>0]=b[487531]|0;b[n+2>>0]=b[487532]|0;b[n+3>>0]=b[487533]|0;b[n+4>>0]=b[487534]|0;b[n+5>>0]=b[487535]|0;p=d+4|0;Vub(n+1|0,487536,0,f[p>>2]|0);p=(f[p>>2]|0)>>>9&1;q=p|12;h=li()|0;o=u;u=u+((1*q|0)+15&-16)|0;i=xtb()|0;f[j>>2]=g;g=o+(Qub(o,q,i,n,j)|0)|0;n=Rub(o,g,d)|0;i=u;u=u+((1*((p<<1|21)<<2)|0)+15&-16)|0;Drb(j,d);hvb(o,n,g,i,m,l,j);vtb(j);f[k>>2]=f[c>>2];c=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=fvb(j,i,c,g,d,e)|0;ki(h|0);u=a;return g|0}function bvb(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=u;u=u+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;f[o>>2]=37;f[o+4>>2]=0;o=c+4|0;Vub(i+1|0,487527,0,f[o>>2]|0);o=(f[o>>2]|0)>>>9&1|22;q=o+1|0;h=li()|0;n=u;u=u+((1*q|0)+15&-16)|0;p=xtb()|0;r=j;f[r>>2]=e;f[r+4>>2]=g;e=n+(Qub(n,q,p,i,j)|0)|0;g=Rub(n,e,c)|0;i=u;u=u+((1*((o<<1)+-1<<2)|0)+15&-16)|0;Drb(j,c);hvb(n,g,e,i,m,l,j);vtb(j);f[k>>2]=f[b>>2];e=f[m>>2]|0;g=f[l>>2]|0;f[j>>2]=f[k>>2];g=fvb(j,i,e,g,c,d)|0;ki(h|0);u=a;return g|0}function cvb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var 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;y=u;u=u+352|0;r=y+344|0;l=y+320|0;k=y+304|0;h=y+296|0;g=y+280|0;j=y+272|0;n=y+240|0;m=y+340|0;o=y;v=y+336|0;s=y+332|0;t=y+328|0;i=j;f[i>>2]=37;f[i+4>>2]=0;i=Sub(j+1|0,505031,f[c+4>>2]|0)|0;f[m>>2]=n;a=xtb()|0;if(i){f[g>>2]=f[c+8>>2];p[g+8>>3]=e;a=Qub(n,30,a,j,g)|0}else{p[h>>3]=e;a=Qub(n,30,a,j,h)|0}if((a|0)>29){a=xtb()|0;if(i){f[k>>2]=f[c+8>>2];p[k+8>>3]=e;g=Tub(m,a,j,k)|0}else{p[l>>3]=e;g=Tub(m,a,j,l)|0}a=f[m>>2]|0;if(!a)DBb();else{q=g;A=a;x=a}}else{q=a;A=0;x=f[m>>2]|0}g=x+q|0;h=Rub(x,g,c)|0;do if((x|0)!=(n|0)){a=Cmb(q<<3)|0;if(!a)DBb();else{w=a;z=0;B=a;break}}else{w=o;z=1;B=0}while(0);Drb(r,c);gvb(x,h,g,w,v,s,r);vtb(r);f[t>>2]=f[b>>2];x=f[v>>2]|0;a=f[s>>2]|0;f[r>>2]=f[t>>2];a=fvb(r,w,x,a,c,d)|0;f[b>>2]=a;if(!z)Dmb(B);Dmb(A);u=y;return a|0}function dvb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var 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;y=u;u=u+352|0;r=y+344|0;l=y+320|0;k=y+304|0;h=y+296|0;g=y+280|0;j=y+272|0;n=y+240|0;m=y+340|0;o=y;v=y+336|0;s=y+332|0;t=y+328|0;i=j;f[i>>2]=37;f[i+4>>2]=0;i=Sub(j+1|0,487525,f[c+4>>2]|0)|0;f[m>>2]=n;a=xtb()|0;if(i){f[g>>2]=f[c+8>>2];p[g+8>>3]=e;a=Qub(n,30,a,j,g)|0}else{p[h>>3]=e;a=Qub(n,30,a,j,h)|0}if((a|0)>29){a=xtb()|0;if(i){f[k>>2]=f[c+8>>2];p[k+8>>3]=e;g=Tub(m,a,j,k)|0}else{p[l>>3]=e;g=Tub(m,a,j,l)|0}a=f[m>>2]|0;if(!a)DBb();else{q=g;A=a;x=a}}else{q=a;A=0;x=f[m>>2]|0}g=x+q|0;h=Rub(x,g,c)|0;do if((x|0)!=(n|0)){a=Cmb(q<<3)|0;if(!a)DBb();else{w=a;z=0;B=a;break}}else{w=o;z=1;B=0}while(0);Drb(r,c);gvb(x,h,g,w,v,s,r);vtb(r);f[t>>2]=f[b>>2];x=f[v>>2]|0;a=f[s>>2]|0;f[r>>2]=f[t>>2];a=fvb(r,w,x,a,c,d)|0;f[b>>2]=a;if(!z)Dmb(B);Dmb(A);u=y;return a|0}function evb(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;a=u;u=u+208|0;l=a+184|0;k=a+192|0;h=a+160|0;j=a;m=a+188|0;b[k>>0]=b[487519]|0;b[k+1>>0]=b[487520]|0;b[k+2>>0]=b[487521]|0;b[k+3>>0]=b[487522]|0;b[k+4>>0]=b[487523]|0;b[k+5>>0]=b[487524]|0;i=xtb()|0;f[l>>2]=g;g=Qub(h,20,i,k,l)|0;k=h+g|0;i=Rub(h,k,d)|0;Drb(l,d);n=utb(l,504608)|0;vtb(l);ej[f[(f[n>>2]|0)+48>>2]&63](n,h,k,j)|0;g=j+(g<<2)|0;f[m>>2]=f[c>>2];f[l>>2]=f[m>>2];g=fvb(l,j,(i|0)==(k|0)?g:j+(i-h<<2)|0,g,d,e)|0;u=a;return g|0}function fvb(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;n=u;u=u+16|0;m=n;i=f[a>>2]|0;a:do if(!i)i=0;else{o=c;j=e-o>>2;l=g+12|0;g=f[l>>2]|0;g=(g|0)>(j|0)?g-j|0:0;j=d;o=j-o|0;k=o>>2;if((o|0)>0?(dj[f[(f[i>>2]|0)+48>>2]&255](i,c,k)|0)!=(k|0):0){f[a>>2]=0;i=0;break}do if((g|0)>0){f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;rCb(m,g,h);if((dj[f[(f[i>>2]|0)+48>>2]&255](i,(b[m+8+3>>0]|0)<0?f[m>>2]|0:m,g)|0)==(g|0)){tCb(m);break}else{f[a>>2]=0;tCb(m);i=0;break a}}while(0);o=e-j|0;e=o>>2;if((o|0)>0?(dj[f[(f[i>>2]|0)+48>>2]&255](i,d,e)|0)!=(e|0):0){f[a>>2]=0;i=0;break}f[l>>2]=0}while(0);u=n;return i|0}function gvb(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0;w=u;u=u+16|0;s=w;t=utb(i,504608)|0;q=utb(i,504616)|0;Bj[f[(f[q>>2]|0)+20>>2]&1023](s,q);f[h>>2]=e;i=b[a>>0]|0;switch(i<<24>>24){case 43:case 45:{r=cj[f[(f[t>>2]|0)+44>>2]&1023](t,i)|0;i=f[h>>2]|0;f[h>>2]=i+4;f[i>>2]=r;i=a+1|0;break}default:i=a}r=d;a:do if((r-i|0)>1?(b[i>>0]|0)==48:0){j=i+1|0;switch(b[j>>0]|0){case 88:case 120:break;default:{v=4;break a}}o=cj[f[(f[t>>2]|0)+44>>2]&1023](t,48)|0;p=f[h>>2]|0;f[h>>2]=p+4;f[p>>2]=o;i=i+2|0;p=cj[f[(f[t>>2]|0)+44>>2]&1023](t,b[j>>0]|0)|0;j=f[h>>2]|0;f[h>>2]=j+4;f[j>>2]=p;j=i;while(1){if(j>>>0>=d>>>0)break a;p=b[j>>0]|0;if(!(fpb(p,xtb()|0)|0))break a;j=j+1|0}}else v=4;while(0);b:do if((v|0)==4){j=i;while(1){if(j>>>0>=d>>>0)break b;p=b[j>>0]|0;if(!(hpb(p,xtb()|0)|0))break b;j=j+1|0}}while(0);o=s+11|0;n=b[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?f[p>>2]|0:n&255)|0){d:do if((i|0)!=(j|0)){k=j;l=i;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=b[l>>0]|0;b[l>>0]=b[k>>0]|0;b[k>>0]=n;l=l+1|0}}while(0);n=_i[f[(f[q>>2]|0)+16>>2]&2047](q)|0;m=i;k=0;l=0;while(1){if(m>>>0>=j>>>0)break;x=b[((b[o>>0]|0)<0?f[s>>2]|0:s)+k>>0]|0;if(x<<24>>24>0&(l|0)==(x<<24>>24|0)){l=f[h>>2]|0;f[h>>2]=l+4;f[l>>2]=n;l=b[o>>0]|0;k=k+(k>>>0<((l<<24>>24<0?f[p>>2]|0:l&255)+-1|0)>>>0&1)|0;l=0}y=cj[f[(f[t>>2]|0)+44>>2]&1023](t,b[m>>0]|0)|0;x=f[h>>2]|0;f[h>>2]=x+4;f[x>>2]=y;m=m+1|0;l=l+1|0}i=e+(i-a<<2)|0;l=f[h>>2]|0;if((i|0)==(l|0))k=t;else{k=l;while(1){k=k+-4|0;if(i>>>0>=k>>>0){k=t;i=l;break c}y=f[i>>2]|0;f[i>>2]=f[k>>2];f[k>>2]=y;i=i+4|0}}}else{ej[f[(f[t>>2]|0)+48>>2]&63](t,i,j,f[h>>2]|0)|0;i=(f[h>>2]|0)+(j-i<<2)|0;f[h>>2]=i;k=t}while(0);while(1){if(j>>>0>=d>>>0)break;i=b[j>>0]|0;if(i<<24>>24==46){v=32;break}x=cj[f[(f[k>>2]|0)+44>>2]&1023](t,i)|0;y=f[h>>2]|0;i=y+4|0;f[h>>2]=i;f[y>>2]=x;j=j+1|0}if((v|0)==32){x=_i[f[(f[q>>2]|0)+12>>2]&2047](q)|0;y=f[h>>2]|0;i=y+4|0;f[h>>2]=i;f[y>>2]=x;j=j+1|0}ej[f[(f[t>>2]|0)+48>>2]&63](t,j,d,i)|0;y=(f[h>>2]|0)+(r-j<<2)|0;f[h>>2]=y;f[g>>2]=(c|0)==(d|0)?y:e+(c-a<<2)|0;TBb(s);u=w;return}function hvb(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,p=0,q=0,r=0,s=0,t=0;r=u;u=u+16|0;q=r;p=utb(i,504608)|0;l=utb(i,504616)|0;Bj[f[(f[l>>2]|0)+20>>2]&1023](q,l);n=q+11|0;m=b[n>>0]|0;o=q+4|0;if((m<<24>>24<0?f[o>>2]|0:m&255)|0){f[h>>2]=e;i=b[a>>0]|0;switch(i<<24>>24){case 43:case 45:{m=cj[f[(f[p>>2]|0)+44>>2]&1023](p,i)|0;i=f[h>>2]|0;f[h>>2]=i+4;f[i>>2]=m;i=a+1|0;break}default:i=a}a:do if((d-i|0)>1?(b[i>>0]|0)==48:0){j=i+1|0;switch(b[j>>0]|0){case 88:case 120:break;default:break a}m=cj[f[(f[p>>2]|0)+44>>2]&1023](p,48)|0;k=f[h>>2]|0;f[h>>2]=k+4;f[k>>2]=m;k=cj[f[(f[p>>2]|0)+44>>2]&1023](p,b[j>>0]|0)|0;m=f[h>>2]|0;f[h>>2]=m+4;f[m>>2]=k;i=i+2|0}while(0);b:do if((i|0)!=(d|0)){j=d;k=i;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=b[k>>0]|0;b[k>>0]=b[j>>0]|0;b[j>>0]=m;k=k+1|0}}while(0);m=_i[f[(f[l>>2]|0)+16>>2]&2047](l)|0;l=i;j=0;k=0;while(1){if(l>>>0>=d>>>0)break;s=b[((b[n>>0]|0)<0?f[q>>2]|0:q)+j>>0]|0;if(s<<24>>24!=0&(k|0)==(s<<24>>24|0)){k=f[h>>2]|0;f[h>>2]=k+4;f[k>>2]=m;k=b[n>>0]|0;j=j+(j>>>0<((k<<24>>24<0?f[o>>2]|0:k&255)+-1|0)>>>0&1)|0;k=0}t=cj[f[(f[p>>2]|0)+44>>2]&1023](p,b[l>>0]|0)|0;s=f[h>>2]|0;f[h>>2]=s+4;f[s>>2]=t;l=l+1|0;k=k+1|0}i=e+(i-a<<2)|0;j=f[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-4|0;if(i>>>0>=j>>>0)break;t=f[i>>2]|0;f[i>>2]=f[j>>2];f[j>>2]=t;i=i+4|0}i=f[h>>2]|0}}else{ej[f[(f[p>>2]|0)+48>>2]&63](p,a,d,e)|0;i=e+(d-a<<2)|0;f[h>>2]=i}f[g>>2]=(c|0)==(d|0)?i:e+(c-a<<2)|0;TBb(q);u=r;return}function ivb(a){a=a|0;$sb(a);return}function jvb(a){a=a|0;$sb(a);GBb(a);return}function kvb(a){a=a|0;return 2}function lvb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=Dvb(a,j,i,d,e,g,488055,488063)|0;u=h;return g|0}function mvb(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;i=u;u=u+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=a+8|0;n=_i[f[(f[n>>2]|0)+20>>2]&2047](n)|0;f[m>>2]=f[c>>2];f[l>>2]=f[d>>2];d=b[n+11>>0]|0;o=d<<24>>24<0;c=o?f[n>>2]|0:n;d=c+(o?f[n+4>>2]|0:d&255)|0;f[k>>2]=f[m>>2];f[j>>2]=f[l>>2];h=Dvb(a,k,j,e,g,h,c,d)|0;u=i;return h|0}function nvb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;Drb(i,d);d=utb(i,504576)|0;vtb(i);f[j>>2]=f[c>>2];f[i>>2]=f[j>>2];Bvb(a,g+24|0,b,i,e,d);u=h;return f[b>>2]|0}function ovb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;Drb(i,d);d=utb(i,504576)|0;vtb(i);f[j>>2]=f[c>>2];f[i>>2]=f[j>>2];Cvb(a,g+16|0,b,i,e,d);u=h;return f[b>>2]|0}function pvb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;Drb(i,d);d=utb(i,504576)|0;vtb(i);f[j>>2]=f[c>>2];f[i>>2]=f[j>>2];Ovb(a,g+20|0,b,i,e,d);u=h;return f[b>>2]|0}function qvb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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;S=u;u=u+144|0;k=S+128|0;j=S+112|0;Q=S+124|0;R=S+120|0;l=S+116|0;m=S+108|0;n=S+104|0;o=S+100|0;p=S+96|0;q=S+92|0;r=S+88|0;s=S+84|0;t=S+80|0;v=S+76|0;w=S+72|0;x=S+68|0;y=S+64|0;z=S+60|0;A=S+56|0;B=S+52|0;C=S+48|0;D=S+44|0;E=S+40|0;F=S+36|0;G=S+32|0;H=S+28|0;I=S+24|0;J=S+20|0;K=S+16|0;L=S+12|0;M=S+8|0;N=S+4|0;O=S;f[g>>2]=0;Drb(k,e);P=utb(k,504576)|0;vtb(k);do switch(i<<24>>24|0){case 65:case 97:{f[Q>>2]=f[d>>2];f[k>>2]=f[Q>>2];Bvb(a,h+24|0,c,k,g,P);T=26;break}case 104:case 66:case 98:{f[R>>2]=f[d>>2];f[k>>2]=f[R>>2];Cvb(a,h+16|0,c,k,g,P);T=26;break}case 99:{R=a+8|0;R=_i[f[(f[R>>2]|0)+12>>2]&2047](R)|0;f[l>>2]=f[c>>2];f[m>>2]=f[d>>2];T=b[R+11>>0]|0;d=T<<24>>24<0;i=d?f[R>>2]|0:R;T=i+(d?f[R+4>>2]|0:T&255)|0;f[j>>2]=f[l>>2];f[k>>2]=f[m>>2];T=Dvb(a,j,k,e,g,h,i,T)|0;f[c>>2]=T;T=26;break}case 101:case 100:{f[n>>2]=f[d>>2];f[k>>2]=f[n>>2];Evb(a,h+12|0,c,k,g,P);T=26;break}case 68:{f[o>>2]=f[c>>2];f[p>>2]=f[d>>2];f[j>>2]=f[o>>2];f[k>>2]=f[p>>2];T=Dvb(a,j,k,e,g,h,488015,488023)|0;f[c>>2]=T;T=26;break}case 70:{f[q>>2]=f[c>>2];f[r>>2]=f[d>>2];f[j>>2]=f[q>>2];f[k>>2]=f[r>>2];T=Dvb(a,j,k,e,g,h,488023,488031)|0;f[c>>2]=T;T=26;break}case 72:{f[s>>2]=f[d>>2];f[k>>2]=f[s>>2];Fvb(a,h+8|0,c,k,g,P);T=26;break}case 73:{f[t>>2]=f[d>>2];f[k>>2]=f[t>>2];Gvb(a,h+8|0,c,k,g,P);T=26;break}case 106:{f[v>>2]=f[d>>2];f[k>>2]=f[v>>2];Hvb(a,h+28|0,c,k,g,P);T=26;break}case 109:{f[w>>2]=f[d>>2];f[k>>2]=f[w>>2];Ivb(a,h+16|0,c,k,g,P);T=26;break}case 77:{f[x>>2]=f[d>>2];f[k>>2]=f[x>>2];Jvb(a,h+4|0,c,k,g,P);T=26;break}case 116:case 110:{f[y>>2]=f[d>>2];f[k>>2]=f[y>>2];Kvb(a,c,k,g,P);T=26;break}case 112:{f[z>>2]=f[d>>2];f[k>>2]=f[z>>2];Lvb(a,h+8|0,c,k,g,P);T=26;break}case 114:{f[A>>2]=f[c>>2];f[B>>2]=f[d>>2];f[j>>2]=f[A>>2];f[k>>2]=f[B>>2];T=Dvb(a,j,k,e,g,h,488031,488042)|0;f[c>>2]=T;T=26;break}case 82:{f[C>>2]=f[c>>2];f[D>>2]=f[d>>2];f[j>>2]=f[C>>2];f[k>>2]=f[D>>2];T=Dvb(a,j,k,e,g,h,488042,488047)|0;f[c>>2]=T;T=26;break}case 83:{f[E>>2]=f[d>>2];f[k>>2]=f[E>>2];Mvb(a,h,c,k,g,P);T=26;break}case 84:{f[F>>2]=f[c>>2];f[G>>2]=f[d>>2];f[j>>2]=f[F>>2];f[k>>2]=f[G>>2];T=Dvb(a,j,k,e,g,h,488047,488055)|0;f[c>>2]=T;T=26;break}case 119:{f[H>>2]=f[d>>2];f[k>>2]=f[H>>2];Nvb(a,h+24|0,c,k,g,P);T=26;break}case 120:{i=f[(f[a>>2]|0)+20>>2]|0;f[I>>2]=f[c>>2];f[J>>2]=f[d>>2];f[j>>2]=f[I>>2];f[k>>2]=f[J>>2];j=jj[i&63](a,j,k,e,g,h)|0;break}case 88:{R=a+8|0;R=_i[f[(f[R>>2]|0)+24>>2]&2047](R)|0;f[K>>2]=f[c>>2];f[L>>2]=f[d>>2];T=b[R+11>>0]|0;d=T<<24>>24<0;i=d?f[R>>2]|0:R;T=i+(d?f[R+4>>2]|0:T&255)|0;f[j>>2]=f[K>>2];f[k>>2]=f[L>>2];T=Dvb(a,j,k,e,g,h,i,T)|0;f[c>>2]=T;T=26;break}case 121:{f[M>>2]=f[d>>2];f[k>>2]=f[M>>2];Ovb(a,h+20|0,c,k,g,P);T=26;break}case 89:{f[N>>2]=f[d>>2];f[k>>2]=f[N>>2];Pvb(a,h+20|0,c,k,g,P);T=26;break}case 37:{f[O>>2]=f[d>>2];f[k>>2]=f[O>>2];Qvb(a,c,k,g,P);T=26;break}default:{f[g>>2]=f[g>>2]|4;T=26}}while(0);if((T|0)==26)j=f[c>>2]|0;u=S;return j|0}function rvb(a){a=a|0;if((b[498216]|0)==0?DDb(498216)|0:0){Avb();f[126176]=496192}return f[126176]|0}function svb(a){a=a|0;if((b[498200]|0)==0?DDb(498200)|0:0){zvb();f[126175]=495904}return f[126175]|0}function tvb(a){a=a|0;if((b[498184]|0)==0?DDb(498184)|0:0){yvb();f[126174]=495616}return f[126174]|0}function uvb(a){a=a|0;if((b[498176]|0)==0?DDb(498176)|0:0){f[126171]=0;f[126172]=0;f[126173]=0;PBb(504684,487773,zrb(487773)|0)}return 504684}function vvb(a){a=a|0;if((b[498168]|0)==0?DDb(498168)|0:0){f[126168]=0;f[126169]=0;f[126170]=0;PBb(504672,487761,zrb(487761)|0)}return 504672}function wvb(a){a=a|0;if((b[498160]|0)==0?DDb(498160)|0:0){f[126165]=0;f[126166]=0;f[126167]=0;PBb(504660,487752,zrb(487752)|0)}return 504660}function xvb(a){a=a|0;if((b[498152]|0)==0?DDb(498152)|0:0){f[126162]=0;f[126163]=0;f[126164]=0;PBb(504648,487743,zrb(487743)|0)}return 504648}function yvb(){var a=0,c=0;if((b[498192]|0)==0?DDb(498192)|0:0){c=495616;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=495904)}ZBb(495616,487794)|0;ZBb(495628,487797)|0;return}function zvb(){var a=0,c=0;if((b[498208]|0)==0?DDb(498208)|0:0){c=495904;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=496192)}ZBb(495904,487800)|0;ZBb(495916,487808)|0;ZBb(495928,487817)|0;ZBb(495940,487823)|0;ZBb(495952,487829)|0;ZBb(495964,487833)|0;ZBb(495976,487838)|0;ZBb(495988,487843)|0;ZBb(496e3,487850)|0;ZBb(496012,487860)|0;ZBb(496024,487868)|0;ZBb(496036,487877)|0;ZBb(496048,487886)|0;ZBb(496060,487890)|0;ZBb(496072,487894)|0;ZBb(496084,487898)|0;ZBb(496096,487829)|0;ZBb(496108,487902)|0;ZBb(496120,487906)|0;ZBb(496132,487910)|0;ZBb(496144,487914)|0;ZBb(496156,487918)|0;ZBb(496168,487922)|0;ZBb(496180,487926)|0;return}function Avb(){var a=0,c=0;if((b[498224]|0)==0?DDb(498224)|0:0){c=496192;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=496360)}ZBb(496192,487930)|0;ZBb(496204,487937)|0;ZBb(496216,487944)|0;ZBb(496228,487952)|0;ZBb(496240,487962)|0;ZBb(496252,487971)|0;ZBb(496264,487978)|0;ZBb(496276,487987)|0;ZBb(496288,487991)|0;ZBb(496300,487995)|0;ZBb(496312,487999)|0;ZBb(496324,488003)|0;ZBb(496336,488007)|0;ZBb(496348,488011)|0;return}function Bvb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;a=a+8|0;a=_i[f[f[a>>2]>>2]&2047](a)|0;f[j>>2]=f[d>>2];f[i>>2]=f[j>>2];a=(cub(c,i,a,a+168|0,g,e,0)|0)-a|0;if((a|0)<168)f[b>>2]=((a|0)/12|0|0)%7|0;u=h;return}function Cvb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;a=a+8|0;a=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[j>>2]=f[d>>2];f[i>>2]=f[j>>2];a=(cub(c,i,a,a+288|0,g,e,0)|0)-a|0;if((a|0)<288)f[b>>2]=((a|0)/12|0|0)%12|0;u=h;return}function Dvb(a,c,e,g,h,i,j,k){a=a|0;c=c|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var 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;A=u;u=u+16|0;s=A+12|0;r=A+8|0;x=A+4|0;y=A;Drb(s,g);t=utb(s,504576)|0;vtb(s);f[h>>2]=0;v=t+8|0;m=0;a:while(1){l=f[c>>2]|0;if(!((j|0)!=(k|0)&(m|0)==0))break;n=l;if(l){m=f[l+12>>2]|0;if((m|0)==(f[l+16>>2]|0))m=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else m=Fqb(b[m>>0]|0)|0;if(Crb(m,Eqb()|0)|0){f[c>>2]=0;l=0;o=1;q=0}else{o=0;q=n}}else{l=0;o=1;q=n}p=f[e>>2]|0;m=p;do if(p){n=f[p+12>>2]|0;if((n|0)==(f[p+16>>2]|0))n=_i[f[(f[p>>2]|0)+36>>2]&2047](p)|0;else n=Fqb(b[n>>0]|0)|0;if(!(Crb(n,Eqb()|0)|0))if(o)break;else{z=63;break a}else{f[e>>2]=0;m=0;z=15;break}}else z=15;while(0);if((z|0)==15){z=0;if(o){z=63;break}else p=0}b:do if((dj[f[(f[t>>2]|0)+36>>2]&255](t,b[j>>0]|0,0)|0)<<24>>24==37){p=j+1|0;if((p|0)==(k|0)){z=63;break a}n=dj[f[(f[t>>2]|0)+36>>2]&255](t,b[p>>0]|0,0)|0;switch(n<<24>>24){case 48:case 69:{j=j+2|0;if((j|0)==(k|0)){z=63;break a}o=n;l=dj[f[(f[t>>2]|0)+36>>2]&255](t,b[j>>0]|0,0)|0;j=p;break}default:{o=0;l=n}}p=f[(f[a>>2]|0)+36>>2]|0;f[x>>2]=q;f[y>>2]=m;f[r>>2]=f[x>>2];f[s>>2]=f[y>>2];q=lj[p&31](a,r,s,g,h,i,l,o)|0;f[c>>2]=q;j=j+2|0}else{m=b[j>>0]|0;if(m<<24>>24>-1?(w=f[v>>2]|0,d[w+(m<<24>>24<<1)>>1]&8192):0){do{j=j+1|0;if((j|0)==(k|0)){j=k;break}m=b[j>>0]|0;if(m<<24>>24<=-1)break}while((d[w+(m<<24>>24<<1)>>1]&8192)!=0);while(1){if(l){m=f[l+12>>2]|0;if((m|0)==(f[l+16>>2]|0))m=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else m=Fqb(b[m>>0]|0)|0;if(Crb(m,Eqb()|0)|0){f[c>>2]=0;l=0;n=1}else n=0}else{l=0;n=1}do if(p){m=f[p+12>>2]|0;if((m|0)==(f[p+16>>2]|0))m=_i[f[(f[p>>2]|0)+36>>2]&2047](p)|0;else m=Fqb(b[m>>0]|0)|0;if(!(Crb(m,Eqb()|0)|0))if(n)break;else break b;else{f[e>>2]=0;z=42;break}}else z=42;while(0);if((z|0)==42){z=0;if(n)break b;else p=0}n=l+12|0;m=f[n>>2]|0;o=l+16|0;if((m|0)==(f[o>>2]|0))m=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else m=Fqb(b[m>>0]|0)|0;if((m&255)<<24>>24<=-1)break b;if(!(d[(f[v>>2]|0)+(m<<24>>24<<1)>>1]&8192))break b;m=f[n>>2]|0;if((m|0)==(f[o>>2]|0))_i[f[(f[l>>2]|0)+40>>2]&2047](l)|0;else{f[n>>2]=m+1;Fqb(b[m>>0]|0)|0}}}n=l+12|0;m=f[n>>2]|0;o=l+16|0;if((m|0)==(f[o>>2]|0))m=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else m=Fqb(b[m>>0]|0)|0;q=cj[f[(f[t>>2]|0)+12>>2]&1023](t,m&255)|0;if(q<<24>>24!=(cj[f[(f[t>>2]|0)+12>>2]&1023](t,b[j>>0]|0)|0)<<24>>24){f[h>>2]=4;break}m=f[n>>2]|0;if((m|0)==(f[o>>2]|0))_i[f[(f[l>>2]|0)+40>>2]&2047](l)|0;else{f[n>>2]=m+1;Fqb(b[m>>0]|0)|0}j=j+1|0}while(0);m=f[h>>2]|0}if((z|0)==63)f[h>>2]=4;if(l){j=f[l+12>>2]|0;if((j|0)==(f[l+16>>2]|0))j=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else j=Fqb(b[j>>0]|0)|0;if(Crb(j,Eqb()|0)|0){f[c>>2]=0;l=0;n=1}else n=0}else{l=0;n=1}j=f[e>>2]|0;do if(j){m=f[j+12>>2]|0;if((m|0)==(f[j+16>>2]|0))j=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else j=Fqb(b[m>>0]|0)|0;if(!(Crb(j,Eqb()|0)|0))if(n)break;else{z=78;break}else{f[e>>2]=0;z=76;break}}else z=76;while(0);if((z|0)==76?n:0)z=78;if((z|0)==78)f[h>>2]=f[h>>2]|2;u=A;return l|0}function Evb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a+-1|0)>>>0<31&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function Fvb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<24&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function Gvb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a+-1|0)>>>0<12&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function Hvb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,3)|0;c=f[e>>2]|0;if((a|0)<366&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function Ivb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<13&(c&4|0)==0)f[b>>2]=a+-1;else f[e>>2]=c|4;u=h;return}function Jvb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<60&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function Kvb(a,c,e,g,h){a=a|0;c=c|0;e=e|0;g=g|0;h=h|0;var i=0,j=0,k=0;j=h+8|0;a:while(1){a=f[c>>2]|0;do if(a){h=f[a+12>>2]|0;if((h|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[h>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;h=1;break}else{h=(f[c>>2]|0)==0;break}}else h=1;while(0);i=f[e>>2]|0;do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(h)break;else break a;else{f[e>>2]=0;k=15;break}}else k=15;while(0);if((k|0)==15){k=0;if(h){i=0;break}else i=0}a=f[c>>2]|0;h=f[a+12>>2]|0;if((h|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[h>>0]|0)|0;if((a&255)<<24>>24<=-1)break;if(!(d[(f[j>>2]|0)+(a<<24>>24<<1)>>1]&8192))break;a=f[c>>2]|0;h=a+12|0;i=f[h>>2]|0;if((i|0)==(f[a+16>>2]|0))_i[f[(f[a>>2]|0)+40>>2]&2047](a)|0;else{f[h>>2]=i+1;Fqb(b[i>>0]|0)|0}}a=f[c>>2]|0;do if(a){h=f[a+12>>2]|0;if((h|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[h>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;h=1;break}else{h=(f[c>>2]|0)==0;break}}else h=1;while(0);do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(h)break;else{k=41;break}else{f[e>>2]=0;k=39;break}}else k=39;while(0);if((k|0)==39?h:0)k=41;if((k|0)==41)f[g>>2]=f[g>>2]|2;return}function Lvb(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;m=u;u=u+16|0;k=m+4|0;l=m;j=a+8|0;j=_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;a=b[j+11>>0]|0;if(a<<24>>24<0)i=f[j+4>>2]|0;else i=a&255;a=b[j+12+11>>0]|0;if(a<<24>>24<0)a=f[j+16>>2]|0;else a=a&255;do if((i|0)!=(0-a|0)){f[l>>2]=f[e>>2];f[k>>2]=f[l>>2];a=(cub(d,k,j,j+24|0,h,g,0)|0)-j|0;i=f[c>>2]|0;if((i|0)==12&(a|0)==0){f[c>>2]=0;break}if((i|0)<12&(a|0)==12)f[c>>2]=i+12}else f[g>>2]=f[g>>2]|4;while(0);u=m;return}function Mvb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<61&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function Nvb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,1)|0;c=f[e>>2]|0;if((a|0)<7&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function Ovb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,4)|0;if(!(f[e>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;f[b>>2]=a+-1900}u=h;return}function Pvb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Rvb(c,a,e,g,4)|0;if(!(f[e>>2]&4))f[b>>2]=a+-1900;u=h;return}function Qvb(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;a=f[c>>2]|0;do if(a){h=f[a+12>>2]|0;if((h|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[h>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;i=1;break}else{i=(f[c>>2]|0)==0;break}}else i=1;while(0);h=f[d>>2]|0;do if(h){a=f[h+12>>2]|0;if((a|0)==(f[h+16>>2]|0))a=_i[f[(f[h>>2]|0)+36>>2]&2047](h)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(i){j=h;k=17;break}else{k=16;break}else{f[d>>2]=0;k=14;break}}else k=14;while(0);if((k|0)==14)if(i)k=16;else{j=0;k=17}a:do if((k|0)==16)f[e>>2]=f[e>>2]|6;else if((k|0)==17){a=f[c>>2]|0;h=f[a+12>>2]|0;if((h|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[h>>0]|0)|0;if((dj[f[(f[g>>2]|0)+36>>2]&255](g,a&255,0)|0)<<24>>24!=37){f[e>>2]=f[e>>2]|4;break}a=f[c>>2]|0;h=a+12|0;i=f[h>>2]|0;if((i|0)==(f[a+16>>2]|0))_i[f[(f[a>>2]|0)+40>>2]&2047](a)|0;else{f[h>>2]=i+1;Fqb(b[i>>0]|0)|0}a=f[c>>2]|0;do if(a){h=f[a+12>>2]|0;if((h|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[h>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;h=1;break}else{h=(f[c>>2]|0)==0;break}}else h=1;while(0);do if(j){a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0))a=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(h)break a;else break;else{f[d>>2]=0;k=38;break}}else k=38;while(0);if((k|0)==38?!h:0)break;f[e>>2]=f[e>>2]|2}while(0);return}function Rvb(a,c,e,g,h){a=a|0;c=c|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;i=f[a>>2]|0;do if(i){j=f[i+12>>2]|0;if((j|0)==(f[i+16>>2]|0))i=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else i=Fqb(b[j>>0]|0)|0;if(Crb(i,Eqb()|0)|0){f[a>>2]=0;k=1;break}else{k=(f[a>>2]|0)==0;break}}else k=1;while(0);j=f[c>>2]|0;do if(j){i=f[j+12>>2]|0;if((i|0)==(f[j+16>>2]|0))i=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else i=Fqb(b[i>>0]|0)|0;if(!(Crb(i,Eqb()|0)|0))if(k){q=17;break}else{q=16;break}else{f[c>>2]=0;q=14;break}}else q=14;while(0);if((q|0)==14)if(k)q=16;else{j=0;q=17}a:do if((q|0)==16){f[e>>2]=f[e>>2]|6;i=0}else if((q|0)==17){i=f[a>>2]|0;k=f[i+12>>2]|0;if((k|0)==(f[i+16>>2]|0))i=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else i=Fqb(b[k>>0]|0)|0;k=i&255;if(k<<24>>24>-1?(p=g+8|0,d[(f[p>>2]|0)+(i<<24>>24<<1)>>1]&2048):0){i=(dj[f[(f[g>>2]|0)+36>>2]&255](g,k,0)|0)<<24>>24;k=f[a>>2]|0;l=k+12|0;m=f[l>>2]|0;if((m|0)==(f[k+16>>2]|0))_i[f[(f[k>>2]|0)+40>>2]&2047](k)|0;else{f[l>>2]=m+1;Fqb(b[m>>0]|0)|0}n=j;m=j;while(1){i=i+-48|0;o=h+-1|0;j=f[a>>2]|0;do if(j){k=f[j+12>>2]|0;if((k|0)==(f[j+16>>2]|0))j=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else j=Fqb(b[k>>0]|0)|0;if(Crb(j,Eqb()|0)|0){f[a>>2]=0;l=1;break}else{l=(f[a>>2]|0)==0;break}}else l=1;while(0);if(m){j=f[m+12>>2]|0;if((j|0)==(f[m+16>>2]|0))j=_i[f[(f[m>>2]|0)+36>>2]&2047](m)|0;else j=Fqb(b[j>>0]|0)|0;if(Crb(j,Eqb()|0)|0){f[c>>2]=0;j=1;n=0;m=0}else j=0}else{j=1;m=0}k=f[a>>2]|0;if(!((h|0)>1&(l^j)))break;j=f[k+12>>2]|0;if((j|0)==(f[k+16>>2]|0))j=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else j=Fqb(b[j>>0]|0)|0;k=j&255;if(k<<24>>24<=-1)break a;if(!(d[(f[p>>2]|0)+(j<<24>>24<<1)>>1]&2048))break a;i=(i*10|0)+((dj[f[(f[g>>2]|0)+36>>2]&255](g,k,0)|0)<<24>>24)|0;j=f[a>>2]|0;k=j+12|0;l=f[k>>2]|0;if((l|0)==(f[j+16>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[k>>2]=l+1;Fqb(b[l>>0]|0)|0}h=o}do if(k){j=f[k+12>>2]|0;if((j|0)==(f[k+16>>2]|0))j=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else j=Fqb(b[j>>0]|0)|0;if(Crb(j,Eqb()|0)|0){f[a>>2]=0;k=1;break}else{k=(f[a>>2]|0)==0;break}}else k=1;while(0);do if(n){j=f[n+12>>2]|0;if((j|0)==(f[n+16>>2]|0))j=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else j=Fqb(b[j>>0]|0)|0;if(!(Crb(j,Eqb()|0)|0))if(k)break a;else break;else{f[c>>2]=0;q=63;break}}else q=63;while(0);if((q|0)==63?!k:0)break;f[e>>2]=f[e>>2]|2;break}f[e>>2]=f[e>>2]|4;i=0}while(0);return i|0}function Svb(a){a=a|0;$sb(a);return}function Tvb(a){a=a|0;$sb(a);GBb(a);return}function Uvb(a){a=a|0;return 2}function Vvb(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,j=0,k=0,l=0;h=u;u=u+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;f[l>>2]=f[b>>2];f[k>>2]=f[c>>2];f[j>>2]=f[l>>2];f[i>>2]=f[k>>2];g=mwb(a,j,i,d,e,g,273008,273040)|0;u=h;return g|0}function Wvb(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;i=u;u=u+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=a+8|0;n=_i[f[(f[n>>2]|0)+20>>2]&2047](n)|0;f[m>>2]=f[c>>2];f[l>>2]=f[d>>2];d=b[n+8+3>>0]|0;o=d<<24>>24<0;c=o?f[n>>2]|0:n;d=c+((o?f[n+4>>2]|0:d&255)<<2)|0;f[k>>2]=f[m>>2];f[j>>2]=f[l>>2];h=mwb(a,k,j,e,g,h,c,d)|0;u=i;return h|0}function Xvb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;Drb(i,d);d=utb(i,504608)|0;vtb(i);f[j>>2]=f[c>>2];f[i>>2]=f[j>>2];kwb(a,g+24|0,b,i,e,d);u=h;return f[b>>2]|0}function Yvb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;Drb(i,d);d=utb(i,504608)|0;vtb(i);f[j>>2]=f[c>>2];f[i>>2]=f[j>>2];lwb(a,g+16|0,b,i,e,d);u=h;return f[b>>2]|0}function Zvb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;Drb(i,d);d=utb(i,504608)|0;vtb(i);f[j>>2]=f[c>>2];f[i>>2]=f[j>>2];xwb(a,g+20|0,b,i,e,d);u=h;return f[b>>2]|0}function _vb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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;S=u;u=u+144|0;k=S+128|0;j=S+112|0;Q=S+124|0;R=S+120|0;l=S+116|0;m=S+108|0;n=S+104|0;o=S+100|0;p=S+96|0;q=S+92|0;r=S+88|0;s=S+84|0;t=S+80|0;v=S+76|0;w=S+72|0;x=S+68|0;y=S+64|0;z=S+60|0;A=S+56|0;B=S+52|0;C=S+48|0;D=S+44|0;E=S+40|0;F=S+36|0;G=S+32|0;H=S+28|0;I=S+24|0;J=S+20|0;K=S+16|0;L=S+12|0;M=S+8|0;N=S+4|0;O=S;f[g>>2]=0;Drb(k,e);P=utb(k,504608)|0;vtb(k);do switch(i<<24>>24|0){case 65:case 97:{f[Q>>2]=f[d>>2];f[k>>2]=f[Q>>2];kwb(a,h+24|0,c,k,g,P);T=26;break}case 104:case 66:case 98:{f[R>>2]=f[d>>2];f[k>>2]=f[R>>2];lwb(a,h+16|0,c,k,g,P);T=26;break}case 99:{R=a+8|0;R=_i[f[(f[R>>2]|0)+12>>2]&2047](R)|0;f[l>>2]=f[c>>2];f[m>>2]=f[d>>2];T=b[R+8+3>>0]|0;d=T<<24>>24<0;i=d?f[R>>2]|0:R;T=i+((d?f[R+4>>2]|0:T&255)<<2)|0;f[j>>2]=f[l>>2];f[k>>2]=f[m>>2];T=mwb(a,j,k,e,g,h,i,T)|0;f[c>>2]=T;T=26;break}case 101:case 100:{f[n>>2]=f[d>>2];f[k>>2]=f[n>>2];nwb(a,h+12|0,c,k,g,P);T=26;break}case 68:{f[o>>2]=f[c>>2];f[p>>2]=f[d>>2];f[j>>2]=f[o>>2];f[k>>2]=f[p>>2];T=mwb(a,j,k,e,g,h,272832,272864)|0;f[c>>2]=T;T=26;break}case 70:{f[q>>2]=f[c>>2];f[r>>2]=f[d>>2];f[j>>2]=f[q>>2];f[k>>2]=f[r>>2];T=mwb(a,j,k,e,g,h,272864,272896)|0;f[c>>2]=T;T=26;break}case 72:{f[s>>2]=f[d>>2];f[k>>2]=f[s>>2];owb(a,h+8|0,c,k,g,P);T=26;break}case 73:{f[t>>2]=f[d>>2];f[k>>2]=f[t>>2];pwb(a,h+8|0,c,k,g,P);T=26;break}case 106:{f[v>>2]=f[d>>2];f[k>>2]=f[v>>2];qwb(a,h+28|0,c,k,g,P);T=26;break}case 109:{f[w>>2]=f[d>>2];f[k>>2]=f[w>>2];rwb(a,h+16|0,c,k,g,P);T=26;break}case 77:{f[x>>2]=f[d>>2];f[k>>2]=f[x>>2];swb(a,h+4|0,c,k,g,P);T=26;break}case 116:case 110:{f[y>>2]=f[d>>2];f[k>>2]=f[y>>2];twb(a,c,k,g,P);T=26;break}case 112:{f[z>>2]=f[d>>2];f[k>>2]=f[z>>2];uwb(a,h+8|0,c,k,g,P);T=26;break}case 114:{f[A>>2]=f[c>>2];f[B>>2]=f[d>>2];f[j>>2]=f[A>>2];f[k>>2]=f[B>>2];T=mwb(a,j,k,e,g,h,272896,272940)|0;f[c>>2]=T;T=26;break}case 82:{f[C>>2]=f[c>>2];f[D>>2]=f[d>>2];f[j>>2]=f[C>>2];f[k>>2]=f[D>>2];T=mwb(a,j,k,e,g,h,272944,272964)|0;f[c>>2]=T;T=26;break}case 83:{f[E>>2]=f[d>>2];f[k>>2]=f[E>>2];vwb(a,h,c,k,g,P);T=26;break}case 84:{f[F>>2]=f[c>>2];f[G>>2]=f[d>>2];f[j>>2]=f[F>>2];f[k>>2]=f[G>>2];T=mwb(a,j,k,e,g,h,272976,273008)|0;f[c>>2]=T;T=26;break}case 119:{f[H>>2]=f[d>>2];f[k>>2]=f[H>>2];wwb(a,h+24|0,c,k,g,P);T=26;break}case 120:{i=f[(f[a>>2]|0)+20>>2]|0;f[I>>2]=f[c>>2];f[J>>2]=f[d>>2];f[j>>2]=f[I>>2];f[k>>2]=f[J>>2];j=jj[i&63](a,j,k,e,g,h)|0;break}case 88:{R=a+8|0;R=_i[f[(f[R>>2]|0)+24>>2]&2047](R)|0;f[K>>2]=f[c>>2];f[L>>2]=f[d>>2];T=b[R+8+3>>0]|0;d=T<<24>>24<0;i=d?f[R>>2]|0:R;T=i+((d?f[R+4>>2]|0:T&255)<<2)|0;f[j>>2]=f[K>>2];f[k>>2]=f[L>>2];T=mwb(a,j,k,e,g,h,i,T)|0;f[c>>2]=T;T=26;break}case 121:{f[M>>2]=f[d>>2];f[k>>2]=f[M>>2];xwb(a,h+20|0,c,k,g,P);T=26;break}case 89:{f[N>>2]=f[d>>2];f[k>>2]=f[N>>2];ywb(a,h+20|0,c,k,g,P);T=26;break}case 37:{f[O>>2]=f[d>>2];f[k>>2]=f[O>>2];zwb(a,c,k,g,P);T=26;break}default:{f[g>>2]=f[g>>2]|4;T=26}}while(0);if((T|0)==26)j=f[c>>2]|0;u=S;return j|0}function $vb(a){a=a|0;if((b[498296]|0)==0?DDb(498296)|0:0){jwb();f[126193]=496944}return f[126193]|0}function awb(a){a=a|0;if((b[498280]|0)==0?DDb(498280)|0:0){iwb();f[126192]=496656}return f[126192]|0}function bwb(a){a=a|0;if((b[498264]|0)==0?DDb(498264)|0:0){hwb();f[126191]=496368}return f[126191]|0}function cwb(a){a=a|0;if((b[498256]|0)==0?DDb(498256)|0:0){f[126188]=0;f[126189]=0;f[126190]=0;qCb(504752,359888,gwb(359888)|0)}return 504752}function dwb(a){a=a|0;if((b[498248]|0)==0?DDb(498248)|0:0){f[126185]=0;f[126186]=0;f[126187]=0;qCb(504740,359840,gwb(359840)|0)}return 504740}function ewb(a){a=a|0;if((b[498240]|0)==0?DDb(498240)|0:0){f[126182]=0;f[126183]=0;f[126184]=0;qCb(504728,359804,gwb(359804)|0)}return 504728}function fwb(a){a=a|0;if((b[498232]|0)==0?DDb(498232)|0:0){f[126179]=0;f[126180]=0;f[126181]=0;qCb(504716,359768,gwb(359768)|0)}return 504716}function gwb(a){a=a|0;return Qmb(a)|0}function hwb(){var a=0,c=0;if((b[498272]|0)==0?DDb(498272)|0:0){c=496368;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=496656)}yCb(496368,359972)|0;yCb(496380,359984)|0;return}function iwb(){var a=0,c=0;if((b[498288]|0)==0?DDb(498288)|0:0){c=496656;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=496944)}yCb(496656,359996)|0;yCb(496668,360028)|0;yCb(496680,360064)|0;yCb(496692,360088)|0;yCb(496704,360112)|0;yCb(496716,360128)|0;yCb(496728,360148)|0;yCb(496740,360168)|0;yCb(496752,360196)|0;yCb(496764,360236)|0;yCb(496776,360268)|0;yCb(496788,360304)|0;yCb(496800,360340)|0;yCb(496812,360356)|0;yCb(496824,360372)|0;yCb(496836,360388)|0;yCb(496848,360112)|0;yCb(496860,360404)|0;yCb(496872,360420)|0;yCb(496884,360436)|0;yCb(496896,360452)|0;yCb(496908,360468)|0;yCb(496920,360484)|0;yCb(496932,360500)|0;return}function jwb(){var a=0,c=0;if((b[498304]|0)==0?DDb(498304)|0:0){c=496944;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=497112)}yCb(496944,360516)|0;yCb(496956,360544)|0;yCb(496968,360572)|0;yCb(496980,360604)|0;yCb(496992,360644)|0;yCb(497004,360680)|0;yCb(497016,360708)|0;yCb(497028,360744)|0;yCb(497040,360760)|0;yCb(497052,360776)|0;yCb(497064,360792)|0;yCb(497076,360808)|0;yCb(497088,360824)|0;yCb(497100,360840)|0;return}function kwb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;a=a+8|0;a=_i[f[f[a>>2]>>2]&2047](a)|0;f[j>>2]=f[d>>2];f[i>>2]=f[j>>2];a=(Fub(c,i,a,a+168|0,g,e,0)|0)-a|0;if((a|0)<168)f[b>>2]=((a|0)/12|0|0)%7|0;u=h;return}function lwb(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,j=0;h=u;u=u+16|0;i=h+4|0;j=h;a=a+8|0;a=_i[f[(f[a>>2]|0)+4>>2]&2047](a)|0;f[j>>2]=f[d>>2];f[i>>2]=f[j>>2];a=(Fub(c,i,a,a+288|0,g,e,0)|0)-a|0;if((a|0)<288)f[b>>2]=((a|0)/12|0|0)%12|0;u=h;return}function mwb(a,b,c,d,e,g,h,i){a=a|0;b=b|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,p=0,q=0,r=0,s=0,t=0,v=0,w=0;w=u;u=u+16|0;q=w+12|0;p=w+8|0;s=w+4|0;t=w;Drb(q,d);r=utb(q,504608)|0;vtb(q);f[e>>2]=0;k=0;a:while(1){j=f[b>>2]|0;if(!((h|0)!=(i|0)&(k|0)==0))break;l=j;if(j){k=f[j+12>>2]|0;if((k|0)==(f[j+16>>2]|0))k=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else k=Xqb(f[k>>2]|0)|0;if(Frb(k,Wqb()|0)|0){f[b>>2]=0;j=0;m=1;o=0}else{m=0;o=l}}else{j=0;m=1;o=l}n=f[c>>2]|0;k=n;do if(n){l=f[n+12>>2]|0;if((l|0)==(f[n+16>>2]|0))l=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else l=Xqb(f[l>>2]|0)|0;if(!(Frb(l,Wqb()|0)|0))if(m)break;else{v=60;break a}else{f[c>>2]=0;k=0;v=15;break}}else v=15;while(0);if((v|0)==15){v=0;if(m){v=60;break}else n=0}b:do if((dj[f[(f[r>>2]|0)+52>>2]&255](r,f[h>>2]|0,0)|0)<<24>>24==37){n=h+4|0;if((n|0)==(i|0)){v=60;break a}l=dj[f[(f[r>>2]|0)+52>>2]&255](r,f[n>>2]|0,0)|0;switch(l<<24>>24){case 48:case 69:{h=h+8|0;if((h|0)==(i|0)){v=60;break a}m=l;j=dj[f[(f[r>>2]|0)+52>>2]&255](r,f[h>>2]|0,0)|0;h=n;break}default:{m=0;j=l}}n=f[(f[a>>2]|0)+36>>2]|0;f[s>>2]=o;f[t>>2]=k;f[p>>2]=f[s>>2];f[q>>2]=f[t>>2];o=lj[n&31](a,p,q,d,e,g,j,m)|0;f[b>>2]=o;h=h+8|0}else{if(!(dj[f[(f[r>>2]|0)+12>>2]&255](r,8192,f[h>>2]|0)|0)){l=j+12|0;k=f[l>>2]|0;m=j+16|0;if((k|0)==(f[m>>2]|0))k=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else k=Xqb(f[k>>2]|0)|0;o=cj[f[(f[r>>2]|0)+28>>2]&1023](r,k)|0;if((o|0)!=(cj[f[(f[r>>2]|0)+28>>2]&1023](r,f[h>>2]|0)|0)){f[e>>2]=4;break}k=f[l>>2]|0;if((k|0)==(f[m>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[l>>2]=k+4;Xqb(f[k>>2]|0)|0}h=h+4|0;break}do{h=h+4|0;if((h|0)==(i|0)){h=i;break}}while(dj[f[(f[r>>2]|0)+12>>2]&255](r,8192,f[h>>2]|0)|0);while(1){if(j){k=f[j+12>>2]|0;if((k|0)==(f[j+16>>2]|0))k=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else k=Xqb(f[k>>2]|0)|0;if(Frb(k,Wqb()|0)|0){f[b>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}do if(n){k=f[n+12>>2]|0;if((k|0)==(f[n+16>>2]|0))k=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else k=Xqb(f[k>>2]|0)|0;if(!(Frb(k,Wqb()|0)|0))if(l)break;else break b;else{f[c>>2]=0;v=40;break}}else v=40;while(0);if((v|0)==40){v=0;if(l)break b;else n=0}l=j+12|0;k=f[l>>2]|0;m=j+16|0;if((k|0)==(f[m>>2]|0))k=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else k=Xqb(f[k>>2]|0)|0;if(!(dj[f[(f[r>>2]|0)+12>>2]&255](r,8192,k)|0))break b;k=f[l>>2]|0;if((k|0)==(f[m>>2]|0))_i[f[(f[j>>2]|0)+40>>2]&2047](j)|0;else{f[l>>2]=k+4;Xqb(f[k>>2]|0)|0}}}while(0);k=f[e>>2]|0}if((v|0)==60)f[e>>2]=4;if(j){h=f[j+12>>2]|0;if((h|0)==(f[j+16>>2]|0))h=_i[f[(f[j>>2]|0)+36>>2]&2047](j)|0;else h=Xqb(f[h>>2]|0)|0;if(Frb(h,Wqb()|0)|0){f[b>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}h=f[c>>2]|0;do if(h){k=f[h+12>>2]|0;if((k|0)==(f[h+16>>2]|0))h=_i[f[(f[h>>2]|0)+36>>2]&2047](h)|0;else h=Xqb(f[k>>2]|0)|0;if(!(Frb(h,Wqb()|0)|0))if(l)break;else{v=75;break}else{f[c>>2]=0;v=73;break}}else v=73;while(0);if((v|0)==73?l:0)v=75;if((v|0)==75)f[e>>2]=f[e>>2]|2;u=w;return j|0}function nwb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a+-1|0)>>>0<31&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function owb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<24&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function pwb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a+-1|0)>>>0<12&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function qwb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,3)|0;c=f[e>>2]|0;if((a|0)<366&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function rwb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<13&(c&4|0)==0)f[b>>2]=a+-1;else f[e>>2]=c|4;u=h;return}function swb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<60&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function twb(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;a:while(1){a=f[b>>2]|0;do if(a){g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[g>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[b>>2]=0;h=1;break}else{h=(f[b>>2]|0)==0;break}}else h=1;while(0);g=f[c>>2]|0;do if(g){a=f[g+12>>2]|0;if((a|0)==(f[g+16>>2]|0))a=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(h){h=g;break}else{h=g;break a}else{f[c>>2]=0;i=15;break}}else i=15;while(0);if((i|0)==15){i=0;if(h){h=0;break}else h=0}a=f[b>>2]|0;g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[g>>2]|0)|0;if(!(dj[f[(f[e>>2]|0)+12>>2]&255](e,8192,a)|0))break;a=f[b>>2]|0;g=a+12|0;h=f[g>>2]|0;if((h|0)==(f[a+16>>2]|0))_i[f[(f[a>>2]|0)+40>>2]&2047](a)|0;else{f[g>>2]=h+4;Xqb(f[h>>2]|0)|0}}a=f[b>>2]|0;do if(a){g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[g>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[b>>2]=0;g=1;break}else{g=(f[b>>2]|0)==0;break}}else g=1;while(0);do if(h){a=f[h+12>>2]|0;if((a|0)==(f[h+16>>2]|0))a=_i[f[(f[h>>2]|0)+36>>2]&2047](h)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(g)break;else{i=40;break}else{f[c>>2]=0;i=38;break}}else i=38;while(0);if((i|0)==38?g:0)i=40;if((i|0)==40)f[d>>2]=f[d>>2]|2;return}function uwb(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;m=u;u=u+16|0;k=m+4|0;l=m;j=a+8|0;j=_i[f[(f[j>>2]|0)+8>>2]&2047](j)|0;a=b[j+8+3>>0]|0;if(a<<24>>24<0)i=f[j+4>>2]|0;else i=a&255;a=b[j+20+3>>0]|0;if(a<<24>>24<0)a=f[j+16>>2]|0;else a=a&255;do if((i|0)!=(0-a|0)){f[l>>2]=f[e>>2];f[k>>2]=f[l>>2];a=(Fub(d,k,j,j+24|0,h,g,0)|0)-j|0;i=f[c>>2]|0;if((i|0)==12&(a|0)==0){f[c>>2]=0;break}if((i|0)<12&(a|0)==12)f[c>>2]=i+12}else f[g>>2]=f[g>>2]|4;while(0);u=m;return}function vwb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,2)|0;c=f[e>>2]|0;if((a|0)<61&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function wwb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,1)|0;c=f[e>>2]|0;if((a|0)<7&(c&4|0)==0)f[b>>2]=a;else f[e>>2]=c|4;u=h;return}function xwb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,4)|0;if(!(f[e>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;f[b>>2]=a+-1900}u=h;return}function ywb(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=u;u=u+16|0;a=h+4|0;i=h;f[i>>2]=f[d>>2];f[a>>2]=f[i>>2];a=Awb(c,a,e,g,4)|0;if(!(f[e>>2]&4))f[b>>2]=a+-1900;u=h;return}function zwb(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;a=f[b>>2]|0;do if(a){g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[g>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[b>>2]=0;h=1;break}else{h=(f[b>>2]|0)==0;break}}else h=1;while(0);g=f[c>>2]|0;do if(g){a=f[g+12>>2]|0;if((a|0)==(f[g+16>>2]|0))a=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(h){i=g;j=17;break}else{j=16;break}else{f[c>>2]=0;j=14;break}}else j=14;while(0);if((j|0)==14)if(h)j=16;else{i=0;j=17}a:do if((j|0)==16)f[d>>2]=f[d>>2]|6;else if((j|0)==17){a=f[b>>2]|0;g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[g>>2]|0)|0;if((dj[f[(f[e>>2]|0)+52>>2]&255](e,a,0)|0)<<24>>24!=37){f[d>>2]=f[d>>2]|4;break}a=f[b>>2]|0;g=a+12|0;h=f[g>>2]|0;if((h|0)==(f[a+16>>2]|0))_i[f[(f[a>>2]|0)+40>>2]&2047](a)|0;else{f[g>>2]=h+4;Xqb(f[h>>2]|0)|0}a=f[b>>2]|0;do if(a){g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[g>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[b>>2]=0;g=1;break}else{g=(f[b>>2]|0)==0;break}}else g=1;while(0);do if(i){a=f[i+12>>2]|0;if((a|0)==(f[i+16>>2]|0))a=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(g)break a;else break;else{f[c>>2]=0;j=38;break}}else j=38;while(0);if((j|0)==38?!g:0)break;f[d>>2]=f[d>>2]|2}while(0);return}function Awb(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,k=0,l=0,m=0,n=0;g=f[a>>2]|0;do if(g){h=f[g+12>>2]|0;if((h|0)==(f[g+16>>2]|0))g=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else g=Xqb(f[h>>2]|0)|0;if(Frb(g,Wqb()|0)|0){f[a>>2]=0;i=1;break}else{i=(f[a>>2]|0)==0;break}}else i=1;while(0);h=f[b>>2]|0;do if(h){g=f[h+12>>2]|0;if((g|0)==(f[h+16>>2]|0))g=_i[f[(f[h>>2]|0)+36>>2]&2047](h)|0;else g=Xqb(f[g>>2]|0)|0;if(!(Frb(g,Wqb()|0)|0))if(i){n=17;break}else{n=16;break}else{f[b>>2]=0;n=14;break}}else n=14;while(0);if((n|0)==14)if(i)n=16;else{h=0;n=17}a:do if((n|0)==16){f[c>>2]=f[c>>2]|6;g=0}else if((n|0)==17){g=f[a>>2]|0;i=f[g+12>>2]|0;if((i|0)==(f[g+16>>2]|0))g=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else g=Xqb(f[i>>2]|0)|0;if(!(dj[f[(f[d>>2]|0)+12>>2]&255](d,2048,g)|0)){f[c>>2]=f[c>>2]|4;g=0;break}g=(dj[f[(f[d>>2]|0)+52>>2]&255](d,g,0)|0)<<24>>24;i=f[a>>2]|0;j=i+12|0;k=f[j>>2]|0;if((k|0)==(f[i+16>>2]|0))_i[f[(f[i>>2]|0)+40>>2]&2047](i)|0;else{f[j>>2]=k+4;Xqb(f[k>>2]|0)|0}l=h;k=h;while(1){g=g+-48|0;m=e+-1|0;h=f[a>>2]|0;do if(h){i=f[h+12>>2]|0;if((i|0)==(f[h+16>>2]|0))h=_i[f[(f[h>>2]|0)+36>>2]&2047](h)|0;else h=Xqb(f[i>>2]|0)|0;if(Frb(h,Wqb()|0)|0){f[a>>2]=0;j=1;break}else{j=(f[a>>2]|0)==0;break}}else j=1;while(0);if(k){h=f[k+12>>2]|0;if((h|0)==(f[k+16>>2]|0))h=_i[f[(f[k>>2]|0)+36>>2]&2047](k)|0;else h=Xqb(f[h>>2]|0)|0;if(Frb(h,Wqb()|0)|0){f[b>>2]=0;h=1;l=0;k=0}else h=0}else{h=1;k=0}i=f[a>>2]|0;if(!((e|0)>1&(j^h)))break;h=f[i+12>>2]|0;if((h|0)==(f[i+16>>2]|0))h=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else h=Xqb(f[h>>2]|0)|0;if(!(dj[f[(f[d>>2]|0)+12>>2]&255](d,2048,h)|0))break a;g=(g*10|0)+((dj[f[(f[d>>2]|0)+52>>2]&255](d,h,0)|0)<<24>>24)|0;h=f[a>>2]|0;i=h+12|0;j=f[i>>2]|0;if((j|0)==(f[h+16>>2]|0))_i[f[(f[h>>2]|0)+40>>2]&2047](h)|0;else{f[i>>2]=j+4;Xqb(f[j>>2]|0)|0}e=m}do if(i){h=f[i+12>>2]|0;if((h|0)==(f[i+16>>2]|0))h=_i[f[(f[i>>2]|0)+36>>2]&2047](i)|0;else h=Xqb(f[h>>2]|0)|0;if(Frb(h,Wqb()|0)|0){f[a>>2]=0;i=1;break}else{i=(f[a>>2]|0)==0;break}}else i=1;while(0);do if(l){h=f[l+12>>2]|0;if((h|0)==(f[l+16>>2]|0))h=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else h=Xqb(f[h>>2]|0)|0;if(!(Frb(h,Wqb()|0)|0))if(i)break a;else break;else{f[b>>2]=0;n=61;break}}else n=61;while(0);if((n|0)==61?!i:0)break;f[c>>2]=f[c>>2]|2}while(0);return g|0}function Bwb(a){a=a|0;Gwb(a+8|0);$sb(a);return}function Cwb(a){a=a|0;Gwb(a+8|0);$sb(a);GBb(a);return}function Dwb(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;j=u;u=u+112|0;d=j;e=j+100|0;f[e>>2]=d+100;Ewb(a+8|0,d,e,g,h,i);i=f[e>>2]|0;h=d;d=f[c>>2]|0;while(1){if((h|0)==(i|0))break;e=b[h>>0]|0;if(!d)d=0;else{a=d+24|0;g=f[a>>2]|0;if((g|0)==(f[d+28>>2]|0)){c=f[(f[d>>2]|0)+52>>2]|0;e=Fqb(e)|0;e=cj[c&1023](d,e)|0}else{f[a>>2]=g+1;b[g>>0]=e;e=Fqb(e)|0}c=Crb(e,Eqb()|0)|0;d=c?0:d}h=h+1|0}u=j;return d|0}function Ewb(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;i=l;b[i>>0]=37;j=i+1|0;b[j>>0]=g;k=i+2|0;b[k>>0]=h;b[i+3>>0]=0;if(h<<24>>24){b[j>>0]=h;b[k>>0]=g}k=Fwb(c,f[d>>2]|0)|0;k=c+(Mi(c|0,k|0,i|0,e|0,f[a>>2]|0)|0)|0;f[d>>2]=k;u=l;return}function Fwb(a,b){a=a|0;b=b|0;return b-a|0}function Gwb(a){a=a|0;var b=0;b=f[a>>2]|0;if((b|0)!=(xtb()|0))dpb(f[a>>2]|0);return}function Hwb(a){a=a|0;Gwb(a+8|0);$sb(a);return}function Iwb(a){a=a|0;Gwb(a+8|0);$sb(a);GBb(a);return}function Jwb(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0;i=u;u=u+416|0;c=i;d=i+400|0;f[d>>2]=c+400;Kwb(a+8|0,c,d,e,g,h);h=f[d>>2]|0;g=c;c=f[b>>2]|0;while(1){if((g|0)==(h|0))break;d=f[g>>2]|0;if(!c)c=0;else{a=c+24|0;e=f[a>>2]|0;if((e|0)==(f[c+28>>2]|0)){b=f[(f[c>>2]|0)+52>>2]|0;d=Xqb(d)|0;d=cj[b&1023](c,d)|0}else{f[a>>2]=e+4;f[e>>2]=d;d=Xqb(d)|0}b=Frb(d,Wqb()|0)|0;c=b?0:c}g=g+4|0}u=i;return c|0}function Kwb(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,j=0,k=0,l=0;h=u;u=u+128|0;k=h;l=h+116|0;i=h+104|0;j=h+112|0;f[l>>2]=k+100;Ewb(a,k,l,d,e,g);d=i;f[d>>2]=0;f[d+4>>2]=0;f[j>>2]=k;d=Lwb(b,f[c>>2]|0)|0;a=_ob(f[a>>2]|0)|0;d=Wob(b,j,d,i)|0;if(a|0)_ob(a)|0;if((d|0)==-1)Mwb(0);else{f[c>>2]=b+(d<<2);u=h;return}}function Lwb(a,b){a=a|0;b=b|0;return b-a>>2|0}function Mwb(a){a=a|0;Lb()}function Nwb(a){a=a|0;$sb(a);return}function Owb(a){a=a|0;$sb(a);GBb(a);return}function Pwb(a){a=a|0;return 127}function Qwb(a){a=a|0;return 127}function Rwb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function Swb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function Twb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function Uwb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;QBb(a,1,45);return}function Vwb(a){a=a|0;return 0}function Wwb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function Xwb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function Ywb(a){a=a|0;$sb(a);return}function Zwb(a){a=a|0;$sb(a);GBb(a);return}function _wb(a){a=a|0;return 127}function $wb(a){a=a|0;return 127}function axb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function bxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function cxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function dxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;QBb(a,1,45);return}function exb(a){a=a|0;return 0}function fxb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function gxb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function hxb(a){a=a|0;$sb(a);return}function ixb(a){a=a|0;$sb(a);GBb(a);return}function jxb(a){a=a|0;return 2147483647}function kxb(a){a=a|0;return 2147483647}function lxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function mxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function nxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function oxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;rCb(a,1,45);return}function pxb(a){a=a|0;return 0}function qxb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function rxb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function sxb(a){a=a|0;$sb(a);return}function txb(a){a=a|0;$sb(a);GBb(a);return}function uxb(a){a=a|0;return 2147483647}function vxb(a){a=a|0;return 2147483647}function wxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function xxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function yxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;f[a+(b<<2)>>2]=0;b=b+1|0}return}function zxb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;rCb(a,1,45);return}function Axb(a){a=a|0;return 0}function Bxb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function Cxb(a,c){a=a|0;c=c|0;b[a>>0]=2;b[a+1>>0]=3;b[a+2>>0]=0;b[a+3>>0]=4;return}function Dxb(a){a=a|0;$sb(a);return}function Exb(a){a=a|0;$sb(a);GBb(a);return}function Fxb(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;w=u;u=u+256|0;n=w+240|0;q=w+216|0;m=w+112|0;v=w+232|0;p=w+228|0;s=w+224|0;j=w+250|0;x=w+220|0;o=w;f[v>>2]=m;f[v+4>>2]=1576;Drb(s,g);a=utb(s,504576)|0;b[j>>0]=0;f[x>>2]=f[d>>2];l=f[g+4>>2]|0;f[n>>2]=f[x>>2];if(Ixb(c,n,e,s,l,h,j,a,v,p,m+100|0)|0){ej[f[(f[a>>2]|0)+32>>2]&63](a,488580,488590,n)|0;l=f[p>>2]|0;e=f[v>>2]|0;a=l-e|0;if((a|0)>98){a=Cmb(a+2|0)|0;if(!a)DBb();else{k=a;r=a}}else{k=o;r=0}if(!(b[j>>0]|0))a=k;else{b[k>>0]=45;a=k+1|0}k=n+10|0;m=n;j=e;g=a;a=l;while(1){if(j>>>0>=a>>>0)break;e=b[j>>0]|0;a=n;while(1){if((a|0)==(k|0)){a=k;break}if((b[a>>0]|0)==e<<24>>24)break;a=a+1|0}b[g>>0]=b[488580+(a-m)>>0]|0;j=j+1|0;g=g+1|0;a=f[p>>2]|0}b[g>>0]=0;f[q>>2]=i;if((Upb(o,488591,q)|0)!=1)Mwb(0);if(r|0)Dmb(r)}a=f[c>>2]|0;do if(a){e=f[a+12>>2]|0;if((e|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[e>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;g=1;break}else{g=(f[c>>2]|0)==0;break}}else g=1;while(0);a=f[d>>2]|0;do if(a){e=f[a+12>>2]|0;if((e|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[e>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(g)break;else{t=34;break}else{f[d>>2]=0;t=32;break}}else t=32;while(0);if((t|0)==32?g:0)t=34;if((t|0)==34)f[h>>2]=f[h>>2]|2;e=f[c>>2]|0;vtb(s);a=f[v>>2]|0;f[v>>2]=0;if(a|0)tj[f[v+4>>2]&2047](a);u=w;return e|0}function Gxb(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,p=0,q=0,r=0,s=0;s=u;u=u+128|0;j=s+120|0;a=s;r=s+112|0;m=s+108|0;p=s+100|0;k=s+124|0;n=s+104|0;f[r>>2]=a;f[r+4>>2]=1576;Drb(p,g);l=utb(p,504576)|0;b[k>>0]=0;o=f[d>>2]|0;f[n>>2]=o;g=f[g+4>>2]|0;f[j>>2]=f[n>>2];n=o;if(Ixb(c,j,e,p,g,h,k,l,r,m,a+100|0)|0){a=i+11|0;if((b[a>>0]|0)<0){e=f[i>>2]|0;b[j>>0]=0;_sb(e,j);f[i+4>>2]=0}else{b[j>>0]=0;_sb(i,j);b[a>>0]=0}if(b[k>>0]|0)dCb(i,cj[f[(f[l>>2]|0)+28>>2]&1023](l,45)|0);k=cj[f[(f[l>>2]|0)+28>>2]&1023](l,48)|0;g=f[m>>2]|0;j=g+-1|0;a=f[r>>2]|0;while(1){if(a>>>0>=j>>>0)break;if((b[a>>0]|0)!=k<<24>>24)break;a=a+1|0}Jxb(i,a,g)|0}a=f[c>>2]|0;do if(a){g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Fqb(b[g>>0]|0)|0;if(Crb(a,Eqb()|0)|0){f[c>>2]=0;g=1;break}else{g=(f[c>>2]|0)==0;break}}else g=1;while(0);do if(o){a=f[n+12>>2]|0;if((a|0)==(f[n+16>>2]|0))a=_i[f[(f[o>>2]|0)+36>>2]&2047](n)|0;else a=Fqb(b[a>>0]|0)|0;if(!(Crb(a,Eqb()|0)|0))if(g)break;else{q=27;break}else{f[d>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)f[h>>2]=f[h>>2]|2;g=f[c>>2]|0;vtb(p);a=f[r>>2]|0;f[r>>2]=0;if(a|0)tj[f[r+4>>2]&2047](a);u=s;return g|0}function Hxb(a){a=a|0;return}function Ixb(a,c,e,g,i,j,k,l,m,n,o){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var 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,_=0;Z=u;u=u+512|0;J=Z+488|0;P=Z;Y=Z+480|0;R=Z+472|0;K=Z+468|0;L=Z+496|0;M=Z+493|0;N=Z+492|0;T=Z+456|0;U=Z+444|0;V=Z+432|0;W=Z+420|0;X=Z+408|0;O=Z+404|0;S=Z+400|0;f[J>>2]=o;f[Y>>2]=P;f[Y+4>>2]=1576;f[R>>2]=P;f[K>>2]=P+400;f[T>>2]=0;f[T+4>>2]=0;f[T+8>>2]=0;o=0;while(1){if((o|0)==3)break;f[T+(o<<2)>>2]=0;o=o+1|0}f[U>>2]=0;f[U+4>>2]=0;f[U+8>>2]=0;o=0;while(1){if((o|0)==3)break;f[U+(o<<2)>>2]=0;o=o+1|0}f[V>>2]=0;f[V+4>>2]=0;f[V+8>>2]=0;o=0;while(1){if((o|0)==3)break;f[V+(o<<2)>>2]=0;o=o+1|0}f[W>>2]=0;f[W+4>>2]=0;f[W+8>>2]=0;o=0;while(1){if((o|0)==3)break;f[W+(o<<2)>>2]=0;o=o+1|0}f[X>>2]=0;f[X+4>>2]=0;f[X+8>>2]=0;o=0;while(1){if((o|0)==3)break;f[X+(o<<2)>>2]=0;o=o+1|0}Mxb(e,g,L,M,N,T,U,V,W,O);f[n>>2]=f[m>>2];C=l+8|0;D=V+11|0;E=V+4|0;F=W+11|0;G=W+4|0;H=T+11|0;I=T+4|0;w=(i&512|0)!=0;x=U+11|0;y=L+3|0;z=U+4|0;A=X+11|0;B=X+4|0;P=0;v=0;a:while(1){if(v>>>0>=4){Q=243;break}o=f[a>>2]|0;do if(o){e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if(Crb(o,Eqb()|0)|0){f[a>>2]=0;g=1;break}else{g=(f[a>>2]|0)==0;break}}else g=1;while(0);e=f[c>>2]|0;do if(e){o=f[e+12>>2]|0;if((o|0)==(f[e+16>>2]|0))o=_i[f[(f[e>>2]|0)+36>>2]&2047](e)|0;else o=Fqb(b[o>>0]|0)|0;if(!(Crb(o,Eqb()|0)|0))if(g){t=e;break}else{Q=243;break a}else{f[c>>2]=0;Q=31;break}}else Q=31;while(0);if((Q|0)==31){Q=0;if(g){Q=243;break}else t=0}b:do switch(b[L+v>>0]|0){case 1:{if((v|0)==3)o=P;else{o=f[a>>2]|0;e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if((o&255)<<24>>24<=-1){Q=45;break a}if(!(d[(f[C>>2]|0)+(o<<24>>24<<1)>>1]&8192)){Q=45;break a}o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;o=Fqb(b[g>>0]|0)|0}dCb(X,o&255);Q=47}break}case 0:{if((v|0)==3)o=P;else Q=47;break}case 3:{o=b[D>>0]|0;o=o<<24>>24<0?f[E>>2]|0:o&255;l=b[F>>0]|0;l=l<<24>>24<0?f[G>>2]|0:l&255;if((o|0)==(0-l|0))o=P;else{i=(o|0)==0;o=f[a>>2]|0;e=f[o+12>>2]|0;g=(e|0)==(f[o+16>>2]|0);if(i|(l|0)==0){if(g)o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;o=o&255;if(i){if((b[((b[F>>0]|0)<0?f[W>>2]|0:W)>>0]|0)!=o<<24>>24){o=P;break b}o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;Fqb(b[g>>0]|0)|0}b[k>>0]=1;o=b[F>>0]|0;o=(o<<24>>24<0?f[G>>2]|0:o&255)>>>0>1?W:P;break b}if((b[((b[D>>0]|0)<0?f[V>>2]|0:V)>>0]|0)!=o<<24>>24){b[k>>0]=1;o=P;break b}o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;Fqb(b[g>>0]|0)|0}o=b[D>>0]|0;o=(o<<24>>24<0?f[E>>2]|0:o&255)>>>0>1?V:P;break b}if(g)o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;e=f[a>>2]|0;g=e+12|0;l=f[g>>2]|0;i=(l|0)==(f[e+16>>2]|0);if((b[((b[D>>0]|0)<0?f[V>>2]|0:V)>>0]|0)==(o&255)<<24>>24){if(i)_i[f[(f[e>>2]|0)+40>>2]&2047](e)|0;else{f[g>>2]=l+1;Fqb(b[l>>0]|0)|0}o=b[D>>0]|0;o=(o<<24>>24<0?f[E>>2]|0:o&255)>>>0>1?V:P;break b}if(i)o=_i[f[(f[e>>2]|0)+36>>2]&2047](e)|0;else o=Fqb(b[l>>0]|0)|0;if((b[((b[F>>0]|0)<0?f[W>>2]|0:W)>>0]|0)!=(o&255)<<24>>24){Q=105;break a}o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;Fqb(b[g>>0]|0)|0}b[k>>0]=1;o=b[F>>0]|0;o=(o<<24>>24<0?f[G>>2]|0:o&255)>>>0>1?W:P}break}case 2:{if(v>>>0<2|(P|0)!=0){o=b[x>>0]|0;g=o<<24>>24<0;e=f[U>>2]|0;l=g?e:U;i=l;if(!v)g=i;else{s=i;Q=110}}else{if(!(w|(v|0)==2&(b[y>>0]|0)!=0)){o=0;break b}o=b[x>>0]|0;g=o<<24>>24<0;e=f[U>>2]|0;s=g?e:U;l=s;Q=110}c:do if((Q|0)==110){Q=0;if((h[L+(v+-1)>>0]|0)<2){i=l+(g?f[z>>2]|0:o&255)|0;g=s;while(1){p=g;if((i|0)==(p|0))break;q=b[p>>0]|0;if(q<<24>>24<=-1)break;if(!(d[(f[C>>2]|0)+(q<<24>>24<<1)>>1]&8192))break;g=p+1|0}q=g-s|0;p=b[A>>0]|0;r=p<<24>>24<0;i=f[B>>2]|0;p=p&255;if(q>>>0<=(r?i:p)>>>0){_=(f[X>>2]|0)+i|0;i=X+p|0;p=r?_:i;i=r?_+(0-q)|0:i+(0-q)|0;while(1){if((i|0)==(p|0))break c;if((b[i>>0]|0)!=(b[l>>0]|0)){g=s;break c}l=l+1|0;i=i+1|0}}else g=s}else g=s}while(0);i=g;g=t;d:while(1){_=o<<24>>24<0;if((i|0)==((_?e:U)+(_?f[z>>2]|0:o&255)|0))break;o=f[a>>2]|0;do if(o){e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if(Crb(o,Eqb()|0)|0){f[a>>2]=0;e=1;break}else{e=(f[a>>2]|0)==0;break}}else e=1;while(0);do if(g){o=f[g+12>>2]|0;if((o|0)==(f[g+16>>2]|0))o=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else o=Fqb(b[o>>0]|0)|0;if(!(Crb(o,Eqb()|0)|0))if(e){l=g;break}else break d;else{f[c>>2]=0;Q=136;break}}else Q=136;while(0);if((Q|0)==136){Q=0;if(e)break;else l=0}o=f[a>>2]|0;e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if((b[i>>0]|0)!=(o&255)<<24>>24)break;o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;Fqb(b[g>>0]|0)|0}i=i+1|0;o=b[x>>0]|0;e=f[U>>2]|0;g=l}if(w?(_=b[x>>0]|0,t=_<<24>>24<0,(i|0)!=((t?f[U>>2]|0:U)+(t?f[z>>2]|0:_&255)|0)):0){Q=148;break a}else o=P;break}case 4:{i=0;l=t;o=t;e:while(1){e=f[a>>2]|0;do if(e){g=f[e+12>>2]|0;if((g|0)==(f[e+16>>2]|0))e=_i[f[(f[e>>2]|0)+36>>2]&2047](e)|0;else e=Fqb(b[g>>0]|0)|0;if(Crb(e,Eqb()|0)|0){f[a>>2]=0;g=1;break}else{g=(f[a>>2]|0)==0;break}}else g=1;while(0);do if(l){e=f[l+12>>2]|0;if((e|0)==(f[l+16>>2]|0))e=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else e=Fqb(b[e>>0]|0)|0;if(!(Crb(e,Eqb()|0)|0))if(g){p=l;break}else{l=o;break e}else{f[c>>2]=0;o=0;Q=162;break}}else Q=162;while(0);if((Q|0)==162){Q=0;if(g){l=o;break}else p=0}e=f[a>>2]|0;g=f[e+12>>2]|0;if((g|0)==(f[e+16>>2]|0))e=_i[f[(f[e>>2]|0)+36>>2]&2047](e)|0;else e=Fqb(b[g>>0]|0)|0;g=e&255;if(g<<24>>24>-1?(d[(f[C>>2]|0)+(e<<24>>24<<1)>>1]&2048)!=0:0){e=f[n>>2]|0;if((e|0)==(f[J>>2]|0)){Nxb(m,n,J);e=f[n>>2]|0}f[n>>2]=e+1;b[e>>0]=g;e=i+1|0}else{_=b[H>>0]|0;if(!((b[N>>0]|0)==g<<24>>24&(i|0?((_<<24>>24<0?f[I>>2]|0:_&255)|0)!=0:0))){l=o;break}e=f[R>>2]|0;if((e|0)==(f[K>>2]|0)){Oxb(Y,R,K);e=f[R>>2]|0}f[R>>2]=e+4;f[e>>2]=i;e=0}g=f[a>>2]|0;l=g+12|0;i=f[l>>2]|0;if((i|0)==(f[g+16>>2]|0))_i[f[(f[g>>2]|0)+40>>2]&2047](g)|0;else{f[l>>2]=i+1;Fqb(b[i>>0]|0)|0}i=e;l=p}o=f[R>>2]|0;if(i|0?(f[Y>>2]|0)!=(o|0):0){if((o|0)==(f[K>>2]|0)){Oxb(Y,R,K);o=f[R>>2]|0}f[R>>2]=o+4;f[o>>2]=i}f:do if((f[O>>2]|0)>0){o=f[a>>2]|0;do if(o){e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if(Crb(o,Eqb()|0)|0){f[a>>2]=0;e=1;break}else{e=(f[a>>2]|0)==0;break}}else e=1;while(0);do if(l){o=f[l+12>>2]|0;if((o|0)==(f[l+16>>2]|0))o=_i[f[(f[l>>2]|0)+36>>2]&2047](l)|0;else o=Fqb(b[o>>0]|0)|0;if(!(Crb(o,Eqb()|0)|0))if(e)break;else{Q=204;break a}else{f[c>>2]=0;Q=198;break}}else Q=198;while(0);if((Q|0)==198){Q=0;if(e){Q=204;break a}else l=0}o=f[a>>2]|0;e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if((b[M>>0]|0)!=(o&255)<<24>>24){Q=204;break a}o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;Fqb(b[g>>0]|0)|0}g=l;while(1){if((f[O>>2]|0)<=0)break f;o=f[a>>2]|0;do if(o){e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if(Crb(o,Eqb()|0)|0){f[a>>2]=0;e=1;break}else{e=(f[a>>2]|0)==0;break}}else e=1;while(0);do if(g){o=f[g+12>>2]|0;if((o|0)==(f[g+16>>2]|0))o=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else o=Fqb(b[o>>0]|0)|0;if(!(Crb(o,Eqb()|0)|0))if(e){l=g;break}else{Q=230;break a}else{f[c>>2]=0;Q=223;break}}else Q=223;while(0);if((Q|0)==223){Q=0;if(e){Q=230;break a}else l=0}o=f[a>>2]|0;e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if((o&255)<<24>>24<=-1){Q=230;break a}if(!(d[(f[C>>2]|0)+(o<<24>>24<<1)>>1]&2048)){Q=230;break a}if((f[n>>2]|0)==(f[J>>2]|0))Nxb(m,n,J);o=f[a>>2]|0;e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;e=f[n>>2]|0;f[n>>2]=e+1;b[e>>0]=o;f[O>>2]=(f[O>>2]|0)+-1;o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;Fqb(b[g>>0]|0)|0}g=l}}while(0);if((f[n>>2]|0)==(f[m>>2]|0)){Q=241;break a}else o=P;break}default:o=P}while(0);g:do if((Q|0)==47){Q=0;g=t;while(1){o=f[a>>2]|0;do if(o){e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if(Crb(o,Eqb()|0)|0){f[a>>2]=0;e=1;break}else{e=(f[a>>2]|0)==0;break}}else e=1;while(0);do if(g){o=f[g+12>>2]|0;if((o|0)==(f[g+16>>2]|0))o=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else o=Fqb(b[o>>0]|0)|0;if(!(Crb(o,Eqb()|0)|0))if(e){l=g;break}else{o=P;break g}else{f[c>>2]=0;Q=61;break}}else Q=61;while(0);if((Q|0)==61){Q=0;if(e){o=P;break g}else l=0}o=f[a>>2]|0;e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if((o&255)<<24>>24<=-1){o=P;break g}if(!(d[(f[C>>2]|0)+(o<<24>>24<<1)>>1]&8192)){o=P;break g}o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;o=Fqb(b[g>>0]|0)|0}dCb(X,o&255);g=l}}while(0);P=o;v=v+1|0}h:do if((Q|0)==45){f[j>>2]=f[j>>2]|4;e=0}else if((Q|0)==105){f[j>>2]=f[j>>2]|4;e=0}else if((Q|0)==148){f[j>>2]=f[j>>2]|4;e=0}else if((Q|0)==204){f[j>>2]=f[j>>2]|4;e=0}else if((Q|0)==230){f[j>>2]=f[j>>2]|4;e=0}else if((Q|0)==241){f[j>>2]=f[j>>2]|4;e=0}else if((Q|0)==243){i:do if(P|0){i=P+11|0;p=P+4|0;l=1;j:while(1){o=b[i>>0]|0;if(o<<24>>24<0)o=f[p>>2]|0;else o=o&255;if(l>>>0>=o>>>0)break i;o=f[a>>2]|0;do if(o){e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if(Crb(o,Eqb()|0)|0){f[a>>2]=0;g=1;break}else{g=(f[a>>2]|0)==0;break}}else g=1;while(0);o=f[c>>2]|0;do if(o){e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if(!(Crb(o,Eqb()|0)|0))if(g)break;else break j;else{f[c>>2]=0;Q=262;break}}else Q=262;while(0);if((Q|0)==262?(Q=0,g):0)break;o=f[a>>2]|0;e=f[o+12>>2]|0;if((e|0)==(f[o+16>>2]|0))o=_i[f[(f[o>>2]|0)+36>>2]&2047](o)|0;else o=Fqb(b[e>>0]|0)|0;if((b[i>>0]|0)<0)e=f[P>>2]|0;else e=P;if((b[e+l>>0]|0)!=(o&255)<<24>>24)break;o=f[a>>2]|0;e=o+12|0;g=f[e>>2]|0;if((g|0)==(f[o+16>>2]|0))_i[f[(f[o>>2]|0)+40>>2]&2047](o)|0;else{f[e>>2]=g+1;Fqb(b[g>>0]|0)|0}l=l+1|0}f[j>>2]=f[j>>2]|4;e=0;break h}while(0);e=f[Y>>2]|0;o=f[R>>2]|0;if((e|0)!=(o|0)){f[S>>2]=0;Jtb(T,e,o,S);if(!(f[S>>2]|0)){e=1;break}else{f[j>>2]=f[j>>2]|4;e=0;break}}else e=1}while(0);TBb(X);TBb(W);TBb(V);TBb(U);TBb(T);o=f[Y>>2]|0;f[Y>>2]=0;if(o|0)tj[f[Y+4>>2]&2047](o);u=Z;return e|0}function Jxb(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;j=c;m=o;n=a+11|0;h=b[n>>0]|0;e=h<<24>>24<0;if(e){l=f[a+4>>2]|0;i=(f[a+8>>2]&2147483647)+-1|0}else{l=h&255;i=10}k=d-j|0;do if(k|0){if(e){g=f[a>>2]|0;e=f[a+4>>2]|0}else{g=a;e=h&255}if(Kxb(c,g,g+e|0)|0){f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;Lxb(m,c,d);n=b[m+11>>0]|0;l=n<<24>>24<0;bCb(a,l?f[m>>2]|0:m,l?f[m+4>>2]|0:n&255)|0;TBb(m);break}if((i-l|0)>>>0<k>>>0)aCb(a,i,l+k-i|0,l,l,0,0);if((b[n>>0]|0)<0)h=f[a>>2]|0;else h=a;g=d+(l-j)|0;e=h+l|0;while(1){if((c|0)==(d|0))break;_sb(e,c);e=e+1|0;c=c+1|0}b[m>>0]=0;_sb(h+g|0,m);c=l+k|0;if((b[n>>0]|0)<0){f[a+4>>2]=c;break}else{b[n>>0]=c;break}}while(0);u=o;return a|0}function Kxb(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0<c>>>0|0}function Lxb(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+16|0;g=c;i=j;e=d-g|0;if(e>>>0>4294967279)MBb(a);if(e>>>0<11){b[a+11>>0]=e;h=a}else{k=e+16&-16;h=EBb(k)|0;f[a>>2]=h;f[a+8>>2]=k|-2147483648;f[a+4>>2]=e}e=d-g|0;a=h;while(1){if((c|0)==(d|0))break;_sb(a,c);c=c+1|0;a=a+1|0}b[i>>0]=0;_sb(h+e|0,i);u=j;return}function Mxb(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=u;u=u+16|0;m=o+12|0;n=o;if(a){c=utb(c,504808)|0;Bj[f[(f[c>>2]|0)+44>>2]&1023](m,c);a=f[m>>2]|0;b[d>>0]=a;b[d+1>>0]=a>>8;b[d+2>>0]=a>>16;b[d+3>>0]=a>>24;Bj[f[(f[c>>2]|0)+32>>2]&1023](n,c);a=k+11|0;if((b[a>>0]|0)<0){a=f[k>>2]|0;b[m>>0]=0;_sb(a,m);f[k+4>>2]=0;a=k}else{b[m>>0]=0;_sb(k,m);b[a>>0]=0;a=k}YBb(k,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[c>>2]|0)+28>>2]&1023](n,c);a=j+11|0;if((b[a>>0]|0)<0){a=f[j>>2]|0;b[m>>0]=0;_sb(a,m);f[j+4>>2]=0;a=j}else{b[m>>0]=0;_sb(j,m);b[a>>0]=0;a=j}YBb(j,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);a=_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;b[e>>0]=a;a=_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;b[g>>0]=a;Bj[f[(f[c>>2]|0)+20>>2]&1023](n,c);a=h+11|0;if((b[a>>0]|0)<0){a=f[h>>2]|0;b[m>>0]=0;_sb(a,m);f[h+4>>2]=0;a=h}else{b[m>>0]=0;_sb(h,m);b[a>>0]=0;a=h}YBb(h,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[c>>2]|0)+24>>2]&1023](n,c);a=i+11|0;if((b[a>>0]|0)<0){a=f[i>>2]|0;b[m>>0]=0;_sb(a,m);f[i+4>>2]=0;a=i}else{b[m>>0]=0;_sb(i,m);b[a>>0]=0;a=i}YBb(i,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);a=_i[f[(f[c>>2]|0)+36>>2]&2047](c)|0}else{c=utb(c,504800)|0;Bj[f[(f[c>>2]|0)+44>>2]&1023](m,c);a=f[m>>2]|0;b[d>>0]=a;b[d+1>>0]=a>>8;b[d+2>>0]=a>>16;b[d+3>>0]=a>>24;Bj[f[(f[c>>2]|0)+32>>2]&1023](n,c);a=k+11|0;if((b[a>>0]|0)<0){a=f[k>>2]|0;b[m>>0]=0;_sb(a,m);f[k+4>>2]=0;a=k}else{b[m>>0]=0;_sb(k,m);b[a>>0]=0;a=k}YBb(k,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[c>>2]|0)+28>>2]&1023](n,c);a=j+11|0;if((b[a>>0]|0)<0){a=f[j>>2]|0;b[m>>0]=0;_sb(a,m);f[j+4>>2]=0;a=j}else{b[m>>0]=0;_sb(j,m);b[a>>0]=0;a=j}YBb(j,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);a=_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;b[e>>0]=a;a=_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;b[g>>0]=a;Bj[f[(f[c>>2]|0)+20>>2]&1023](n,c);a=h+11|0;if((b[a>>0]|0)<0){a=f[h>>2]|0;b[m>>0]=0;_sb(a,m);f[h+4>>2]=0;a=h}else{b[m>>0]=0;_sb(h,m);b[a>>0]=0;a=h}YBb(h,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[c>>2]|0)+24>>2]&1023](n,c);a=i+11|0;if((b[a>>0]|0)<0){a=f[i>>2]|0;b[m>>0]=0;_sb(a,m);f[i+4>>2]=0;a=i}else{b[m>>0]=0;_sb(i,m);b[a>>0]=0;a=i}YBb(i,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);a=_i[f[(f[c>>2]|0)+36>>2]&2047](c)|0}f[l>>2]=a;u=o;return}function Nxb(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;i=a+4|0;e=(f[i>>2]|0)!=1576;d=f[a>>2]|0;h=d;j=(f[c>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?1:g):-1;h=(f[b>>2]|0)-h|0;d=Fmb(e?d:0,g)|0;if(!d)DBb();if(!e){e=f[a>>2]|0;f[a>>2]=d;if(e){tj[f[i>>2]&2047](e);d=f[a>>2]|0}}else f[a>>2]=d;f[i>>2]=1577;f[b>>2]=d+h;f[c>>2]=(f[a>>2]|0)+g;return}function Oxb(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;i=a+4|0;e=(f[i>>2]|0)!=1576;d=f[a>>2]|0;h=d;j=(f[c>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;h=(f[b>>2]|0)-h>>2;d=Fmb(e?d:0,g)|0;if(!d)DBb();if(!e){e=f[a>>2]|0;f[a>>2]=d;if(e){tj[f[i>>2]&2047](e);d=f[a>>2]|0}}else f[a>>2]=d;f[i>>2]=1577;f[b>>2]=d+(h<<2);f[c>>2]=(f[a>>2]|0)+(g>>>2<<2);return}function Pxb(a){a=a|0;$sb(a);return}function Qxb(a){a=a|0;$sb(a);GBb(a);return}function Rxb(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;w=u;u=u+592|0;n=w+512|0;q=w+552|0;m=w+112|0;v=w+568|0;p=w+564|0;s=w+560|0;j=w+576|0;x=w+556|0;o=w;f[v>>2]=m;f[v+4>>2]=1576;Drb(s,g);a=utb(s,504608)|0;b[j>>0]=0;f[x>>2]=f[d>>2];l=f[g+4>>2]|0;f[n>>2]=f[x>>2];if(Txb(c,n,e,s,l,h,j,a,v,p,m+400|0)|0){ej[f[(f[a>>2]|0)+48>>2]&63](a,488690,488700,n)|0;l=f[p>>2]|0;e=f[v>>2]|0;a=l-e|0;if((a|0)>392){a=Cmb((a>>>2)+2|0)|0;if(!a)DBb();else{k=a;r=a}}else{k=o;r=0}if(!(b[j>>0]|0))a=k;else{b[k>>0]=45;a=k+1|0}k=n+40|0;m=n;j=e;g=a;a=l;while(1){if(j>>>0>=a>>>0)break;e=f[j>>2]|0;a=n;while(1){if((a|0)==(k|0)){a=k;break}if((f[a>>2]|0)==(e|0))break;a=a+4|0}b[g>>0]=b[488690+(a-m>>2)>>0]|0;j=j+4|0;g=g+1|0;a=f[p>>2]|0}b[g>>0]=0;f[q>>2]=i;if((Upb(o,488591,q)|0)!=1)Mwb(0);if(r|0)Dmb(r)}a=f[c>>2]|0;do if(a){e=f[a+12>>2]|0;if((e|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[e>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;g=1;break}else{g=(f[c>>2]|0)==0;break}}else g=1;while(0);a=f[d>>2]|0;do if(a){e=f[a+12>>2]|0;if((e|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[e>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(g)break;else{t=34;break}else{f[d>>2]=0;t=32;break}}else t=32;while(0);if((t|0)==32?g:0)t=34;if((t|0)==34)f[h>>2]=f[h>>2]|2;e=f[c>>2]|0;vtb(s);a=f[v>>2]|0;f[v>>2]=0;if(a|0)tj[f[v+4>>2]&2047](a);u=w;return e|0}function Sxb(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,p=0,q=0,r=0,s=0;s=u;u=u+432|0;j=s+424|0;a=s;r=s+416|0;m=s+408|0;p=s+400|0;k=s+428|0;n=s+404|0;f[r>>2]=a;f[r+4>>2]=1576;Drb(p,g);l=utb(p,504608)|0;b[k>>0]=0;o=f[d>>2]|0;f[n>>2]=o;g=f[g+4>>2]|0;f[j>>2]=f[n>>2];n=o;if(Txb(c,j,e,p,g,h,k,l,r,m,a+400|0)|0){a=i+8+3|0;if((b[a>>0]|0)<0){e=f[i>>2]|0;f[j>>2]=0;gtb(e,j);f[i+4>>2]=0}else{f[j>>2]=0;gtb(i,j);b[a>>0]=0}if(b[k>>0]|0)BCb(i,cj[f[(f[l>>2]|0)+44>>2]&1023](l,45)|0);k=cj[f[(f[l>>2]|0)+44>>2]&1023](l,48)|0;g=f[m>>2]|0;j=g+-4|0;a=f[r>>2]|0;while(1){if(a>>>0>=j>>>0)break;if((f[a>>2]|0)!=(k|0))break;a=a+4|0}Uxb(i,a,g)|0}a=f[c>>2]|0;do if(a){g=f[a+12>>2]|0;if((g|0)==(f[a+16>>2]|0))a=_i[f[(f[a>>2]|0)+36>>2]&2047](a)|0;else a=Xqb(f[g>>2]|0)|0;if(Frb(a,Wqb()|0)|0){f[c>>2]=0;g=1;break}else{g=(f[c>>2]|0)==0;break}}else g=1;while(0);do if(o){a=f[n+12>>2]|0;if((a|0)==(f[n+16>>2]|0))a=_i[f[(f[o>>2]|0)+36>>2]&2047](n)|0;else a=Xqb(f[a>>2]|0)|0;if(!(Frb(a,Wqb()|0)|0))if(g)break;else{q=27;break}else{f[d>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)f[h>>2]=f[h>>2]|2;g=f[c>>2]|0;vtb(p);a=f[r>>2]|0;f[r>>2]=0;if(a|0)tj[f[r+4>>2]&2047](a);u=s;return g|0}function Txb(a,c,d,e,g,i,j,k,l,m,n){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var 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+512|0;I=Y+496|0;O=Y;X=Y+488|0;Q=Y+480|0;J=Y+476|0;K=Y+500|0;L=Y+472|0;M=Y+468|0;S=Y+456|0;T=Y+444|0;U=Y+432|0;V=Y+420|0;W=Y+408|0;N=Y+404|0;R=Y+400|0;f[I>>2]=n;f[X>>2]=O;f[X+4>>2]=1576;f[Q>>2]=O;f[J>>2]=O+400;f[S>>2]=0;f[S+4>>2]=0;f[S+8>>2]=0;n=0;while(1){if((n|0)==3)break;f[S+(n<<2)>>2]=0;n=n+1|0}f[T>>2]=0;f[T+4>>2]=0;f[T+8>>2]=0;n=0;while(1){if((n|0)==3)break;f[T+(n<<2)>>2]=0;n=n+1|0}f[U>>2]=0;f[U+4>>2]=0;f[U+8>>2]=0;n=0;while(1){if((n|0)==3)break;f[U+(n<<2)>>2]=0;n=n+1|0}f[V>>2]=0;f[V+4>>2]=0;f[V+8>>2]=0;n=0;while(1){if((n|0)==3)break;f[V+(n<<2)>>2]=0;n=n+1|0}f[W>>2]=0;f[W+4>>2]=0;f[W+8>>2]=0;n=0;while(1){if((n|0)==3)break;f[W+(n<<2)>>2]=0;n=n+1|0}Xxb(d,e,K,L,M,S,T,U,V,N);f[m>>2]=f[l>>2];C=U+8+3|0;D=U+4|0;E=V+8+3|0;F=V+4|0;G=S+11|0;H=S+4|0;w=(g&512|0)!=0;x=T+8+3|0;y=K+3|0;z=T+4|0;A=W+8+3|0;B=W+4|0;O=0;v=0;a:while(1){if(v>>>0>=4){P=239;break}n=f[a>>2]|0;do if(n){d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(Frb(n,Wqb()|0)|0){f[a>>2]=0;e=1;break}else{e=(f[a>>2]|0)==0;break}}else e=1;while(0);d=f[c>>2]|0;do if(d){n=f[d+12>>2]|0;if((n|0)==(f[d+16>>2]|0))n=_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0;else n=Xqb(f[n>>2]|0)|0;if(!(Frb(n,Wqb()|0)|0))if(e){t=d;break}else{P=239;break a}else{f[c>>2]=0;P=31;break}}else P=31;while(0);if((P|0)==31){P=0;if(e){P=239;break}else t=0}b:do switch(b[K+v>>0]|0){case 1:{if((v|0)==3)n=O;else{n=f[a>>2]|0;d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(!(dj[f[(f[k>>2]|0)+12>>2]&255](k,8192,n)|0)){P=44;break a}n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;n=Xqb(f[e>>2]|0)|0}BCb(W,n);P=46}break}case 0:{if((v|0)==3)n=O;else P=46;break}case 3:{n=b[C>>0]|0;n=n<<24>>24<0?f[D>>2]|0:n&255;g=b[E>>0]|0;g=g<<24>>24<0?f[F>>2]|0:g&255;if((n|0)==(0-g|0))n=O;else{o=(n|0)==0;n=f[a>>2]|0;d=f[n+12>>2]|0;e=(d|0)==(f[n+16>>2]|0);if(o|(g|0)==0){if(e)n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(o){if((n|0)!=(f[((b[E>>0]|0)<0?f[V>>2]|0:V)>>2]|0)){n=O;break b}n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;Xqb(f[e>>2]|0)|0}b[j>>0]=1;n=b[E>>0]|0;n=(n<<24>>24<0?f[F>>2]|0:n&255)>>>0>1?V:O;break b}if((n|0)!=(f[((b[C>>0]|0)<0?f[U>>2]|0:U)>>2]|0)){b[j>>0]=1;n=O;break b}n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;Xqb(f[e>>2]|0)|0}n=b[C>>0]|0;n=(n<<24>>24<0?f[D>>2]|0:n&255)>>>0>1?U:O;break b}if(e)n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;d=f[a>>2]|0;e=d+12|0;g=f[e>>2]|0;o=(g|0)==(f[d+16>>2]|0);if((n|0)==(f[((b[C>>0]|0)<0?f[U>>2]|0:U)>>2]|0)){if(o)_i[f[(f[d>>2]|0)+40>>2]&2047](d)|0;else{f[e>>2]=g+4;Xqb(f[g>>2]|0)|0}n=b[C>>0]|0;n=(n<<24>>24<0?f[D>>2]|0:n&255)>>>0>1?U:O;break b}if(o)n=_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0;else n=Xqb(f[g>>2]|0)|0;if((n|0)!=(f[((b[E>>0]|0)<0?f[V>>2]|0:V)>>2]|0)){P=103;break a}n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;Xqb(f[e>>2]|0)|0}b[j>>0]=1;n=b[E>>0]|0;n=(n<<24>>24<0?f[F>>2]|0:n&255)>>>0>1?V:O}break}case 2:{if(v>>>0<2|(O|0)!=0){d=b[x>>0]|0;e=f[T>>2]|0;n=d<<24>>24<0?e:T;if(v)P=108}else{if(!(w|(v|0)==2&(b[y>>0]|0)!=0)){n=0;break b}d=b[x>>0]|0;e=f[T>>2]|0;n=d<<24>>24<0?e:T;P=108}c:do if((P|0)==108){P=0;if((h[K+(v+-1)>>0]|0)<2){g=d;while(1){s=g<<24>>24<0;d=n;if(((s?e:T)+((s?f[z>>2]|0:g&255)<<2)|0)==(d|0)){d=g;break}if(!(dj[f[(f[k>>2]|0)+12>>2]&255](k,8192,f[d>>2]|0)|0)){P=112;break}n=d+4|0;g=b[x>>0]|0;e=f[T>>2]|0}if((P|0)==112){P=0;d=b[x>>0]|0;e=f[T>>2]|0}o=d<<24>>24<0?e:T;s=o;q=n-s>>2;p=b[A>>0]|0;r=p<<24>>24<0;g=f[B>>2]|0;p=p&255;if(q>>>0>(r?g:p)>>>0)n=s;else{Z=(f[W>>2]|0)+(g<<2)|0;g=W+(p<<2)|0;p=r?Z:g;g=(r?Z:g)+(0-q<<2)|0;while(1){if((g|0)==(p|0))break c;if((f[g>>2]|0)!=(f[o>>2]|0)){n=s;break c}o=o+4|0;g=g+4|0}}}}while(0);o=n;g=t;d:while(1){Z=d<<24>>24<0;if((o|0)==((Z?e:T)+((Z?f[z>>2]|0:d&255)<<2)|0))break;n=f[a>>2]|0;do if(n){d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(Frb(n,Wqb()|0)|0){f[a>>2]=0;d=1;break}else{d=(f[a>>2]|0)==0;break}}else d=1;while(0);do if(g){n=f[g+12>>2]|0;if((n|0)==(f[g+16>>2]|0))n=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else n=Xqb(f[n>>2]|0)|0;if(!(Frb(n,Wqb()|0)|0))if(d)break;else break d;else{f[c>>2]=0;P=134;break}}else P=134;while(0);if((P|0)==134){P=0;if(d)break;else g=0}n=f[a>>2]|0;d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if((n|0)!=(f[o>>2]|0))break;n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;Xqb(f[e>>2]|0)|0}o=o+4|0;d=b[x>>0]|0;e=f[T>>2]|0}if(w?(Z=b[x>>0]|0,t=Z<<24>>24<0,(o|0)!=((t?f[T>>2]|0:T)+((t?f[z>>2]|0:Z&255)<<2)|0)):0){P=146;break a}else n=O;break}case 4:{o=0;g=t;n=t;e:while(1){d=f[a>>2]|0;do if(d){e=f[d+12>>2]|0;if((e|0)==(f[d+16>>2]|0))d=_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0;else d=Xqb(f[e>>2]|0)|0;if(Frb(d,Wqb()|0)|0){f[a>>2]=0;e=1;break}else{e=(f[a>>2]|0)==0;break}}else e=1;while(0);do if(g){d=f[g+12>>2]|0;if((d|0)==(f[g+16>>2]|0))d=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else d=Xqb(f[d>>2]|0)|0;if(!(Frb(d,Wqb()|0)|0))if(e){p=g;break}else{g=n;break e}else{f[c>>2]=0;n=0;P=160;break}}else P=160;while(0);if((P|0)==160){P=0;if(e){g=n;break}else p=0}d=f[a>>2]|0;e=f[d+12>>2]|0;if((e|0)==(f[d+16>>2]|0))e=_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0;else e=Xqb(f[e>>2]|0)|0;if(dj[f[(f[k>>2]|0)+12>>2]&255](k,2048,e)|0){d=f[m>>2]|0;if((d|0)==(f[I>>2]|0)){Yxb(l,m,I);d=f[m>>2]|0}f[m>>2]=d+4;f[d>>2]=e;d=o+1|0}else{Z=b[G>>0]|0;if(!((e|0)==(f[M>>2]|0)&(o|0?((Z<<24>>24<0?f[H>>2]|0:Z&255)|0)!=0:0))){g=n;break}d=f[Q>>2]|0;if((d|0)==(f[J>>2]|0)){Oxb(X,Q,J);d=f[Q>>2]|0}f[Q>>2]=d+4;f[d>>2]=o;d=0}e=f[a>>2]|0;g=e+12|0;o=f[g>>2]|0;if((o|0)==(f[e+16>>2]|0))_i[f[(f[e>>2]|0)+40>>2]&2047](e)|0;else{f[g>>2]=o+4;Xqb(f[o>>2]|0)|0}o=d;g=p}n=f[Q>>2]|0;if(o|0?(f[X>>2]|0)!=(n|0):0){if((n|0)==(f[J>>2]|0)){Oxb(X,Q,J);n=f[Q>>2]|0}f[Q>>2]=n+4;f[n>>2]=o}f:do if((f[N>>2]|0)>0){n=f[a>>2]|0;do if(n){d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(Frb(n,Wqb()|0)|0){f[a>>2]=0;d=1;break}else{d=(f[a>>2]|0)==0;break}}else d=1;while(0);do if(g){n=f[g+12>>2]|0;if((n|0)==(f[g+16>>2]|0))n=_i[f[(f[g>>2]|0)+36>>2]&2047](g)|0;else n=Xqb(f[n>>2]|0)|0;if(!(Frb(n,Wqb()|0)|0))if(d)break;else{P=201;break a}else{f[c>>2]=0;P=195;break}}else P=195;while(0);if((P|0)==195){P=0;if(d){P=201;break a}else g=0}n=f[a>>2]|0;d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if((n|0)!=(f[L>>2]|0)){P=201;break a}n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;Xqb(f[e>>2]|0)|0}e=g;while(1){if((f[N>>2]|0)<=0)break f;n=f[a>>2]|0;do if(n){d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(Frb(n,Wqb()|0)|0){f[a>>2]=0;d=1;break}else{d=(f[a>>2]|0)==0;break}}else d=1;while(0);do if(e){n=f[e+12>>2]|0;if((n|0)==(f[e+16>>2]|0))n=_i[f[(f[e>>2]|0)+36>>2]&2047](e)|0;else n=Xqb(f[n>>2]|0)|0;if(!(Frb(n,Wqb()|0)|0))if(d){g=e;break}else{P=226;break a}else{f[c>>2]=0;P=220;break}}else P=220;while(0);if((P|0)==220){P=0;if(d){P=226;break a}else g=0}n=f[a>>2]|0;d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(!(dj[f[(f[k>>2]|0)+12>>2]&255](k,2048,n)|0)){P=226;break a}if((f[m>>2]|0)==(f[I>>2]|0))Yxb(l,m,I);n=f[a>>2]|0;d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;d=f[m>>2]|0;f[m>>2]=d+4;f[d>>2]=n;f[N>>2]=(f[N>>2]|0)+-1;n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;Xqb(f[e>>2]|0)|0}e=g}}while(0);if((f[m>>2]|0)==(f[l>>2]|0)){P=237;break a}else n=O;break}default:n=O}while(0);g:do if((P|0)==46){P=0;e=t;while(1){n=f[a>>2]|0;do if(n){d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(Frb(n,Wqb()|0)|0){f[a>>2]=0;d=1;break}else{d=(f[a>>2]|0)==0;break}}else d=1;while(0);do if(e){n=f[e+12>>2]|0;if((n|0)==(f[e+16>>2]|0))n=_i[f[(f[e>>2]|0)+36>>2]&2047](e)|0;else n=Xqb(f[n>>2]|0)|0;if(!(Frb(n,Wqb()|0)|0))if(d){g=e;break}else{n=O;break g}else{f[c>>2]=0;P=60;break}}else P=60;while(0);if((P|0)==60){P=0;if(d){n=O;break g}else g=0}n=f[a>>2]|0;d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(!(dj[f[(f[k>>2]|0)+12>>2]&255](k,8192,n)|0)){n=O;break g}n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;n=Xqb(f[e>>2]|0)|0}BCb(W,n);e=g}}while(0);O=n;v=v+1|0}h:do if((P|0)==44){f[i>>2]=f[i>>2]|4;d=0}else if((P|0)==103){f[i>>2]=f[i>>2]|4;d=0}else if((P|0)==146){f[i>>2]=f[i>>2]|4;d=0}else if((P|0)==201){f[i>>2]=f[i>>2]|4;d=0}else if((P|0)==226){f[i>>2]=f[i>>2]|4;d=0}else if((P|0)==237){f[i>>2]=f[i>>2]|4;d=0}else if((P|0)==239){i:do if(O|0){o=O+8+3|0;p=O+4|0;g=1;j:while(1){n=b[o>>0]|0;if(n<<24>>24<0)n=f[p>>2]|0;else n=n&255;if(g>>>0>=n>>>0)break i;n=f[a>>2]|0;do if(n){d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(Frb(n,Wqb()|0)|0){f[a>>2]=0;e=1;break}else{e=(f[a>>2]|0)==0;break}}else e=1;while(0);n=f[c>>2]|0;do if(n){d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if(!(Frb(n,Wqb()|0)|0))if(e)break;else break j;else{f[c>>2]=0;P=258;break}}else P=258;while(0);if((P|0)==258?(P=0,e):0)break;n=f[a>>2]|0;d=f[n+12>>2]|0;if((d|0)==(f[n+16>>2]|0))n=_i[f[(f[n>>2]|0)+36>>2]&2047](n)|0;else n=Xqb(f[d>>2]|0)|0;if((b[o>>0]|0)<0)d=f[O>>2]|0;else d=O;if((n|0)!=(f[d+(g<<2)>>2]|0))break;n=f[a>>2]|0;d=n+12|0;e=f[d>>2]|0;if((e|0)==(f[n+16>>2]|0))_i[f[(f[n>>2]|0)+40>>2]&2047](n)|0;else{f[d>>2]=e+4;Xqb(f[e>>2]|0)|0}g=g+1|0}f[i>>2]=f[i>>2]|4;d=0;break h}while(0);d=f[X>>2]|0;n=f[Q>>2]|0;if((d|0)!=(n|0)){f[R>>2]=0;Jtb(S,d,n,R);if(!(f[R>>2]|0)){d=1;break}else{f[i>>2]=f[i>>2]|4;d=0;break}}else d=1}while(0);tCb(W);tCb(V);tCb(U);tCb(T);TBb(S);n=f[X>>2]|0;f[X>>2]=0;if(n|0)tj[f[X+4>>2]&2047](n);u=Y;return d|0}function Uxb(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+16|0;k=n;e=a+8|0;m=e+3|0;i=b[m>>0]|0;g=i<<24>>24<0;if(g){l=f[a+4>>2]|0;h=(f[e>>2]&2147483647)+-1|0}else{l=i&255;h=1}e=d-c|0;j=e>>2;do if(e|0){if(g){g=f[a>>2]|0;e=f[a+4>>2]|0}else{g=a;e=i&255}if(Vxb(c,g,g+(e<<2)|0)|0){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;Wxb(k,c,d);m=b[k+8+3>>0]|0;l=m<<24>>24<0;ACb(a,l?f[k>>2]|0:k,l?f[k+4>>2]|0:m&255)|0;tCb(k);break}if((h-l|0)>>>0<j>>>0)zCb(a,h,l+j-h|0,l,l,0,0);if((b[m>>0]|0)<0)e=f[a>>2]|0;else e=a;e=e+(l<<2)|0;while(1){if((c|0)==(d|0))break;gtb(e,c);e=e+4|0;c=c+4|0}f[k>>2]=0;gtb(e,k);c=l+j|0;if((b[m>>0]|0)<0){f[a+4>>2]=c;break}else{b[m>>0]=c;break}}while(0);u=n;return a|0}function Vxb(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0<c>>>0|0}function Wxb(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+16|0;i=j;h=d-c>>2;if(h>>>0>1073741807)MBb(a);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)Lb();else{e=EBb(g<<2)|0;f[a>>2]=e;f[a+8>>2]=g|-2147483648;f[a+4>>2]=h;break}}else{b[a+8+3>>0]=h;e=a}while(0);while(1){if((c|0)==(d|0))break;gtb(e,c);c=c+4|0;e=e+4|0}f[i>>2]=0;gtb(e,i);u=j;return}function Xxb(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=u;u=u+16|0;m=o+12|0;n=o;if(a){c=utb(c,504824)|0;Bj[f[(f[c>>2]|0)+44>>2]&1023](m,c);a=f[m>>2]|0;b[d>>0]=a;b[d+1>>0]=a>>8;b[d+2>>0]=a>>16;b[d+3>>0]=a>>24;Bj[f[(f[c>>2]|0)+32>>2]&1023](n,c);a=k+8+3|0;if((b[a>>0]|0)<0){d=f[k>>2]|0;f[m>>2]=0;gtb(d,m);f[k+4>>2]=0}else{f[m>>2]=0;gtb(k,m);b[a>>0]=0}xCb(k,0);f[k>>2]=f[n>>2];f[k+4>>2]=f[n+4>>2];f[k+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);Bj[f[(f[c>>2]|0)+28>>2]&1023](n,c);a=j+8+3|0;if((b[a>>0]|0)<0){k=f[j>>2]|0;f[m>>2]=0;gtb(k,m);f[j+4>>2]=0}else{f[m>>2]=0;gtb(j,m);b[a>>0]=0}xCb(j,0);f[j>>2]=f[n>>2];f[j+4>>2]=f[n+4>>2];f[j+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);a=_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;f[e>>2]=a;a=_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;f[g>>2]=a;Bj[f[(f[c>>2]|0)+20>>2]&1023](n,c);a=h+11|0;if((b[a>>0]|0)<0){a=f[h>>2]|0;b[m>>0]=0;_sb(a,m);f[h+4>>2]=0;a=h}else{b[m>>0]=0;_sb(h,m);b[a>>0]=0;a=h}YBb(h,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[c>>2]|0)+24>>2]&1023](n,c);a=i+8+3|0;if((b[a>>0]|0)<0){h=f[i>>2]|0;f[m>>2]=0;gtb(h,m);f[i+4>>2]=0}else{f[m>>2]=0;gtb(i,m);b[a>>0]=0}xCb(i,0);f[i>>2]=f[n>>2];f[i+4>>2]=f[n+4>>2];f[i+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);a=_i[f[(f[c>>2]|0)+36>>2]&2047](c)|0}else{c=utb(c,504816)|0;Bj[f[(f[c>>2]|0)+44>>2]&1023](m,c);a=f[m>>2]|0;b[d>>0]=a;b[d+1>>0]=a>>8;b[d+2>>0]=a>>16;b[d+3>>0]=a>>24;Bj[f[(f[c>>2]|0)+32>>2]&1023](n,c);a=k+8+3|0;if((b[a>>0]|0)<0){d=f[k>>2]|0;f[m>>2]=0;gtb(d,m);f[k+4>>2]=0}else{f[m>>2]=0;gtb(k,m);b[a>>0]=0}xCb(k,0);f[k>>2]=f[n>>2];f[k+4>>2]=f[n+4>>2];f[k+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);Bj[f[(f[c>>2]|0)+28>>2]&1023](n,c);a=j+8+3|0;if((b[a>>0]|0)<0){k=f[j>>2]|0;f[m>>2]=0;gtb(k,m);f[j+4>>2]=0}else{f[m>>2]=0;gtb(j,m);b[a>>0]=0}xCb(j,0);f[j>>2]=f[n>>2];f[j+4>>2]=f[n+4>>2];f[j+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);a=_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;f[e>>2]=a;a=_i[f[(f[c>>2]|0)+16>>2]&2047](c)|0;f[g>>2]=a;Bj[f[(f[c>>2]|0)+20>>2]&1023](n,c);a=h+11|0;if((b[a>>0]|0)<0){a=f[h>>2]|0;b[m>>0]=0;_sb(a,m);f[h+4>>2]=0;a=h}else{b[m>>0]=0;_sb(h,m);b[a>>0]=0;a=h}YBb(h,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[c>>2]|0)+24>>2]&1023](n,c);a=i+8+3|0;if((b[a>>0]|0)<0){h=f[i>>2]|0;f[m>>2]=0;gtb(h,m);f[i+4>>2]=0}else{f[m>>2]=0;gtb(i,m);b[a>>0]=0}xCb(i,0);f[i>>2]=f[n>>2];f[i+4>>2]=f[n+4>>2];f[i+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);a=_i[f[(f[c>>2]|0)+36>>2]&2047](c)|0}f[l>>2]=a;u=o;return}function Yxb(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;i=a+4|0;e=(f[i>>2]|0)!=1576;d=f[a>>2]|0;h=d;j=(f[c>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;h=(f[b>>2]|0)-h>>2;d=Fmb(e?d:0,g)|0;if(!d)DBb();if(!e){e=f[a>>2]|0;f[a>>2]=d;if(e){tj[f[i>>2]&2047](e);d=f[a>>2]|0}}else f[a>>2]=d;f[i>>2]=1577;f[b>>2]=d+(h<<2);f[c>>2]=(f[a>>2]|0)+(g>>>2<<2);return}function Zxb(a){a=a|0;$sb(a);return}function _xb(a){a=a|0;$sb(a);GBb(a);return}function $xb(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=+h;var 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;F=u;u=u+416|0;q=F+336|0;j=F+328|0;a=F+224|0;k=F+400|0;i=F+112|0;E=F+396|0;r=F+408|0;s=F+405|0;t=F+404|0;B=F+384|0;C=F+372|0;D=F+360|0;n=F+356|0;o=F;v=F+352|0;w=F+344|0;x=F+348|0;f[k>>2]=a;p[q>>3]=h;a=Vob(a,100,488796,q)|0;if(a>>>0>99){a=xtb()|0;p[j>>3]=h;a=Tub(k,a,488796,j)|0;i=f[k>>2]|0;if(!i)DBb();j=Cmb(a)|0;if(!j)DBb();else{y=j;A=a;H=j;I=i}}else{y=i;A=a;H=0;I=0}Drb(E,e);m=utb(E,504576)|0;l=f[k>>2]|0;ej[f[(f[m>>2]|0)+32>>2]&63](m,l,l+A|0,y)|0;if(!A)l=0;else l=(b[f[k>>2]>>0]|0)==45;f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[B+(a<<2)>>2]=0;a=a+1|0}f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[D+(a<<2)>>2]=0;a=a+1|0}byb(d,l,E,r,s,t,B,C,D,n);k=f[n>>2]|0;if((A|0)>(k|0)){j=b[D+11>>0]|0;a=b[C+11>>0]|0;a=a<<24>>24<0?f[C+4>>2]|0:a&255;i=k+1+(A-k<<1)|0;j=j<<24>>24<0?f[D+4>>2]|0:j&255}else{j=b[D+11>>0]|0;a=b[C+11>>0]|0;a=a<<24>>24<0?f[C+4>>2]|0:a&255;i=k+2|0;j=j<<24>>24<0?f[D+4>>2]|0:j&255}a=i+j+a|0;if(a>>>0>100){a=Cmb(a)|0;if(!a)DBb();else{z=a;G=a}}else{z=o;G=0}cyb(z,v,w,f[e+4>>2]|0,y,y+A|0,m,l,r,b[s>>0]|0,b[t>>0]|0,B,C,D,k);f[x>>2]=f[c>>2];c=f[v>>2]|0;a=f[w>>2]|0;f[q>>2]=f[x>>2];a=Ou(q,z,c,a,e,g)|0;if(G|0)Dmb(G);TBb(D);TBb(C);TBb(B);vtb(E);if(H|0)Dmb(H);if(I|0)Dmb(I);u=F;return a|0}function ayb(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,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=u;u=u+176|0;p=D+156|0;C=D+152|0;v=D+164|0;w=D+161|0;x=D+160|0;z=D+140|0;A=D+128|0;B=D+116|0;l=D+112|0;n=D;q=D+108|0;r=D+104|0;s=D+100|0;Drb(C,e);t=utb(C,504576)|0;i=h+11|0;o=b[i>>0]|0;a=o<<24>>24<0;j=h+4|0;if(!((a?f[j>>2]|0:o&255)|0))o=0;else{o=b[(a?f[h>>2]|0:h)>>0]|0;o=o<<24>>24==(cj[f[(f[t>>2]|0)+28>>2]&1023](t,45)|0)<<24>>24};f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[z+(a<<2)>>2]=0;a=a+1|0}f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[B+(a<<2)>>2]=0;a=a+1|0}byb(d,o,C,v,w,x,z,A,B,l);k=b[i>>0]|0;m=k<<24>>24<0;k=m?f[j>>2]|0:k&255;j=f[l>>2]|0;if((k|0)>(j|0)){d=b[B+11>>0]|0;a=b[A+11>>0]|0;a=a<<24>>24<0?f[A+4>>2]|0:a&255;i=j+1+(k-j<<1)|0;d=d<<24>>24<0?f[B+4>>2]|0:d&255}else{d=b[B+11>>0]|0;a=b[A+11>>0]|0;a=a<<24>>24<0?f[A+4>>2]|0:a&255;i=j+2|0;d=d<<24>>24<0?f[B+4>>2]|0:d&255}a=i+d+a|0;if(a>>>0>100){a=Cmb(a)|0;if(!a)DBb();else{y=a;E=a}}else{y=n;E=0}h=m?f[h>>2]|0:h;cyb(y,q,r,f[e+4>>2]|0,h,h+k|0,t,o,v,b[w>>0]|0,b[x>>0]|0,z,A,B,j);f[s>>2]=f[c>>2];h=f[q>>2]|0;a=f[r>>2]|0;f[p>>2]=f[s>>2];a=Ou(p,y,h,a,e,g)|0;if(E|0)Dmb(E);TBb(B);TBb(A);TBb(z);vtb(C);u=D;return a|0}function byb(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=u;u=u+16|0;n=p+12|0;o=p;if(a){m=utb(d,504808)|0;if(c){Bj[f[(f[m>>2]|0)+44>>2]&1023](n,m);a=f[n>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[m>>2]|0)+32>>2]&1023](o,m);a=k+11|0;if((b[a>>0]|0)<0){a=f[k>>2]|0;b[n>>0]=0;_sb(a,n);f[k+4>>2]=0;a=k}else{b[n>>0]=0;_sb(k,n);b[a>>0]=0;a=k}YBb(k,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);d=m}else{Bj[f[(f[m>>2]|0)+40>>2]&1023](n,m);a=f[n>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[m>>2]|0)+28>>2]&1023](o,m);a=k+11|0;if((b[a>>0]|0)<0){a=f[k>>2]|0;b[n>>0]=0;_sb(a,n);f[k+4>>2]=0;a=k}else{b[n>>0]=0;_sb(k,n);b[a>>0]=0;a=k}YBb(k,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);d=m}a=_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;b[g>>0]=a;a=_i[f[(f[m>>2]|0)+16>>2]&2047](m)|0;b[h>>0]=a;Bj[f[(f[d>>2]|0)+20>>2]&1023](o,m);a=i+11|0;if((b[a>>0]|0)<0){a=f[i>>2]|0;b[n>>0]=0;_sb(a,n);f[i+4>>2]=0;a=i}else{b[n>>0]=0;_sb(i,n);b[a>>0]=0;a=i}YBb(i,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);Bj[f[(f[d>>2]|0)+24>>2]&1023](o,m);a=j+11|0;if((b[a>>0]|0)<0){a=f[j>>2]|0;b[n>>0]=0;_sb(a,n);f[j+4>>2]=0;a=j}else{b[n>>0]=0;_sb(j,n);b[a>>0]=0;a=j}YBb(j,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);a=_i[f[(f[m>>2]|0)+36>>2]&2047](m)|0}else{m=utb(d,504800)|0;if(c){Bj[f[(f[m>>2]|0)+44>>2]&1023](n,m);a=f[n>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[m>>2]|0)+32>>2]&1023](o,m);a=k+11|0;if((b[a>>0]|0)<0){a=f[k>>2]|0;b[n>>0]=0;_sb(a,n);f[k+4>>2]=0;a=k}else{b[n>>0]=0;_sb(k,n);b[a>>0]=0;a=k}YBb(k,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);d=m}else{Bj[f[(f[m>>2]|0)+40>>2]&1023](n,m);a=f[n>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[m>>2]|0)+28>>2]&1023](o,m);a=k+11|0;if((b[a>>0]|0)<0){a=f[k>>2]|0;b[n>>0]=0;_sb(a,n);f[k+4>>2]=0;a=k}else{b[n>>0]=0;_sb(k,n);b[a>>0]=0;a=k}YBb(k,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);d=m}a=_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;b[g>>0]=a;a=_i[f[(f[m>>2]|0)+16>>2]&2047](m)|0;b[h>>0]=a;Bj[f[(f[d>>2]|0)+20>>2]&1023](o,m);a=i+11|0;if((b[a>>0]|0)<0){a=f[i>>2]|0;b[n>>0]=0;_sb(a,n);f[i+4>>2]=0;a=i}else{b[n>>0]=0;_sb(i,n);b[a>>0]=0;a=i}YBb(i,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);Bj[f[(f[d>>2]|0)+24>>2]&1023](o,m);a=j+11|0;if((b[a>>0]|0)<0){a=f[j>>2]|0;b[n>>0]=0;_sb(a,n);f[j+4>>2]=0;a=j}else{b[n>>0]=0;_sb(j,n);b[a>>0]=0;a=j}YBb(j,0);f[a>>2]=f[o>>2];f[a+4>>2]=f[o+4>>2];f[a+8>>2]=f[o+8>>2];a=0;while(1){if((a|0)==3)break;f[o+(a<<2)>>2]=0;a=a+1|0}TBb(o);a=_i[f[(f[m>>2]|0)+36>>2]&2047](m)|0}f[l>>2]=a;u=p;return}function cyb(a,c,e,g,h,i,j,k,l,m,n,o,p,q,r){a=a|0;c=c|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;f[e>>2]=a;y=q+11|0;G=q+4|0;z=p+11|0;A=p+4|0;B=(g&512|0)==0;C=j+8|0;D=(r|0)>0;E=o+11|0;F=o+4|0;x=0;while(1){if((x|0)==4)break;a:do switch(b[l+x>>0]|0){case 0:{f[c>>2]=f[e>>2];break}case 1:{f[c>>2]=f[e>>2];v=cj[f[(f[j>>2]|0)+28>>2]&1023](j,32)|0;w=f[e>>2]|0;f[e>>2]=w+1;b[w>>0]=v;break}case 3:{w=b[y>>0]|0;s=w<<24>>24<0;if((s?f[G>>2]|0:w&255)|0){v=b[(s?f[q>>2]|0:q)>>0]|0;w=f[e>>2]|0;f[e>>2]=w+1;b[w>>0]=v}break}case 2:{t=b[z>>0]|0;s=t<<24>>24<0;t=s?f[A>>2]|0:t&255;if(!(B|(t|0)==0)){w=s?f[p>>2]|0:p;u=w+t|0;s=f[e>>2]|0;t=w;while(1){if((t|0)==(u|0))break;b[s>>0]=b[t>>0]|0;s=s+1|0;t=t+1|0}f[e>>2]=s}break}case 4:{t=f[e>>2]|0;h=k?h+1|0:h;u=h;while(1){if(u>>>0>=i>>>0)break;s=b[u>>0]|0;if(s<<24>>24<=-1)break;if(!(d[(f[C>>2]|0)+(s<<24>>24<<1)>>1]&2048))break;u=u+1|0}if(D){v=r;while(1){s=(v|0)>0;if(!(u>>>0>h>>>0&s))break;w=u+-1|0;H=b[w>>0]|0;s=f[e>>2]|0;f[e>>2]=s+1;b[s>>0]=H;v=v+-1|0;u=w}if(s)w=cj[f[(f[j>>2]|0)+28>>2]&1023](j,48)|0;else w=0;s=v;while(1){v=f[e>>2]|0;f[e>>2]=v+1;if((s|0)<=0)break;b[v>>0]=w;s=s+-1|0}b[v>>0]=m}b:do if((u|0)==(h|0)){w=cj[f[(f[j>>2]|0)+28>>2]&1023](j,48)|0;H=f[e>>2]|0;f[e>>2]=H+1;b[H>>0]=w}else{H=b[E>>0]|0;s=H<<24>>24<0;if(!((s?f[F>>2]|0:H&255)|0))s=-1;else s=b[(s?f[o>>2]|0:o)>>0]|0;v=0;w=0;while(1){if((u|0)==(h|0))break b;if((w|0)==(s|0)){H=f[e>>2]|0;f[e>>2]=H+1;b[H>>0]=n;v=v+1|0;H=b[E>>0]|0;s=H<<24>>24<0;if(v>>>0<(s?f[F>>2]|0:H&255)>>>0){s=b[(s?f[o>>2]|0:o)+v>>0]|0;s=s<<24>>24==127?-1:s<<24>>24;w=0}else{s=w;w=0}}H=u+-1|0;J=b[H>>0]|0;I=f[e>>2]|0;f[e>>2]=I+1;b[I>>0]=J;w=w+1|0;u=H}}while(0);s=f[e>>2]|0;if((t|0)!=(s|0))while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;J=b[t>>0]|0;b[t>>0]=b[s>>0]|0;b[s>>0]=J;t=t+1|0}break}default:{}}while(0);x=x+1|0}h=b[y>>0]|0;s=h<<24>>24<0;h=s?f[G>>2]|0:h&255;if(h>>>0>1){J=s?f[q>>2]|0:q;t=J+h|0;s=f[e>>2]|0;h=J;while(1){h=h+1|0;if((h|0)==(t|0))break;b[s>>0]=b[h>>0]|0;s=s+1|0}f[e>>2]=s}switch((g&176)<<24>>24){case 32:{f[c>>2]=f[e>>2];break}case 16:break;default:f[c>>2]=a}return}function dyb(a){a=a|0;$sb(a);return}function eyb(a){a=a|0;$sb(a);GBb(a);return}function fyb(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=+h;var 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;F=u;u=u+992|0;q=F+912|0;j=F+904|0;a=F+800|0;k=F+984|0;i=F+400|0;E=F+980|0;r=F+988|0;s=F+976|0;t=F+972|0;B=F+960|0;C=F+948|0;D=F+936|0;n=F+932|0;o=F;v=F+928|0;w=F+920|0;x=F+924|0;f[k>>2]=a;p[q>>3]=h;a=Vob(a,100,488796,q)|0;if(a>>>0>99){a=xtb()|0;p[j>>3]=h;a=Tub(k,a,488796,j)|0;i=f[k>>2]|0;if(!i)DBb();j=Cmb(a<<2)|0;if(!j)DBb();else{y=j;A=a;H=j;I=i}}else{y=i;A=a;H=0;I=0}Drb(E,e);m=utb(E,504608)|0;l=f[k>>2]|0;ej[f[(f[m>>2]|0)+48>>2]&63](m,l,l+A|0,y)|0;if(!A)l=0;else l=(b[f[k>>2]>>0]|0)==45;f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[B+(a<<2)>>2]=0;a=a+1|0}f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[C+(a<<2)>>2]=0;a=a+1|0}f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[D+(a<<2)>>2]=0;a=a+1|0}hyb(d,l,E,r,s,t,B,C,D,n);k=f[n>>2]|0;if((A|0)>(k|0)){j=b[D+8+3>>0]|0;a=b[C+8+3>>0]|0;a=a<<24>>24<0?f[C+4>>2]|0:a&255;i=k+1+(A-k<<1)|0;j=j<<24>>24<0?f[D+4>>2]|0:j&255}else{j=b[D+8+3>>0]|0;a=b[C+8+3>>0]|0;a=a<<24>>24<0?f[C+4>>2]|0:a&255;i=k+2|0;j=j<<24>>24<0?f[D+4>>2]|0:j&255}a=i+j+a|0;if(a>>>0>100){a=Cmb(a<<2)|0;if(!a)DBb();else{z=a;G=a}}else{z=o;G=0}iyb(z,v,w,f[e+4>>2]|0,y,y+(A<<2)|0,m,l,r,f[s>>2]|0,f[t>>2]|0,B,C,D,k);f[x>>2]=f[c>>2];c=f[v>>2]|0;a=f[w>>2]|0;f[q>>2]=f[x>>2];a=fvb(q,z,c,a,e,g)|0;if(G|0)Dmb(G);tCb(D);tCb(C);TBb(B);vtb(E);if(H|0)Dmb(H);if(I|0)Dmb(I);u=F;return a|0}function gyb(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,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=u;u=u+480|0;p=D+464|0;C=D+460|0;v=D+468|0;w=D+456|0;x=D+452|0;z=D+440|0;A=D+428|0;B=D+416|0;l=D+412|0;n=D;q=D+408|0;r=D+404|0;s=D+400|0;Drb(C,e);t=utb(C,504608)|0;i=h+8+3|0;o=b[i>>0]|0;a=o<<24>>24<0;j=h+4|0;if(!((a?f[j>>2]|0:o&255)|0))o=0;else{o=f[(a?f[h>>2]|0:h)>>2]|0;o=(o|0)==(cj[f[(f[t>>2]|0)+44>>2]&1023](t,45)|0)};f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[z+(a<<2)>>2]=0;a=a+1|0}f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[A+(a<<2)>>2]=0;a=a+1|0}f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[B+(a<<2)>>2]=0;a=a+1|0}hyb(d,o,C,v,w,x,z,A,B,l);k=b[i>>0]|0;m=k<<24>>24<0;k=m?f[j>>2]|0:k&255;j=f[l>>2]|0;if((k|0)>(j|0)){d=b[B+8+3>>0]|0;a=b[A+8+3>>0]|0;a=a<<24>>24<0?f[A+4>>2]|0:a&255;i=j+1+(k-j<<1)|0;d=d<<24>>24<0?f[B+4>>2]|0:d&255}else{d=b[B+8+3>>0]|0;a=b[A+8+3>>0]|0;a=a<<24>>24<0?f[A+4>>2]|0:a&255;i=j+2|0;d=d<<24>>24<0?f[B+4>>2]|0:d&255}a=i+d+a|0;if(a>>>0>100){a=Cmb(a<<2)|0;if(!a)DBb();else{y=a;E=a}}else{y=n;E=0}h=m?f[h>>2]|0:h;iyb(y,q,r,f[e+4>>2]|0,h,h+(k<<2)|0,t,o,v,f[w>>2]|0,f[x>>2]|0,z,A,B,j);f[s>>2]=f[c>>2];h=f[q>>2]|0;a=f[r>>2]|0;f[p>>2]=f[s>>2];a=fvb(p,y,h,a,e,g)|0;if(E|0)Dmb(E);tCb(B);tCb(A);TBb(z);vtb(C);u=D;return a|0}function hyb(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=u;u=u+16|0;m=o+12|0;n=o;if(a){d=utb(d,504824)|0;if(c){Bj[f[(f[d>>2]|0)+44>>2]&1023](m,d);a=f[m>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[d>>2]|0)+32>>2]&1023](n,d);a=k+8+3|0;if((b[a>>0]|0)<0){e=f[k>>2]|0;f[m>>2]=0;gtb(e,m);f[k+4>>2]=0}else{f[m>>2]=0;gtb(k,m);b[a>>0]=0}xCb(k,0);f[k>>2]=f[n>>2];f[k+4>>2]=f[n+4>>2];f[k+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n)}else{Bj[f[(f[d>>2]|0)+40>>2]&1023](m,d);a=f[m>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[d>>2]|0)+28>>2]&1023](n,d);a=k+8+3|0;if((b[a>>0]|0)<0){e=f[k>>2]|0;f[m>>2]=0;gtb(e,m);f[k+4>>2]=0}else{f[m>>2]=0;gtb(k,m);b[a>>0]=0}xCb(k,0);f[k>>2]=f[n>>2];f[k+4>>2]=f[n+4>>2];f[k+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n)}a=_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;f[g>>2]=a;a=_i[f[(f[d>>2]|0)+16>>2]&2047](d)|0;f[h>>2]=a;Bj[f[(f[d>>2]|0)+20>>2]&1023](n,d);a=i+11|0;if((b[a>>0]|0)<0){a=f[i>>2]|0;b[m>>0]=0;_sb(a,m);f[i+4>>2]=0;a=i}else{b[m>>0]=0;_sb(i,m);b[a>>0]=0;a=i}YBb(i,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[d>>2]|0)+24>>2]&1023](n,d);a=j+8+3|0;if((b[a>>0]|0)<0){i=f[j>>2]|0;f[m>>2]=0;gtb(i,m);f[j+4>>2]=0}else{f[m>>2]=0;gtb(j,m);b[a>>0]=0}xCb(j,0);f[j>>2]=f[n>>2];f[j+4>>2]=f[n+4>>2];f[j+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);a=_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0}else{d=utb(d,504816)|0;if(c){Bj[f[(f[d>>2]|0)+44>>2]&1023](m,d);a=f[m>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[d>>2]|0)+32>>2]&1023](n,d);a=k+8+3|0;if((b[a>>0]|0)<0){e=f[k>>2]|0;f[m>>2]=0;gtb(e,m);f[k+4>>2]=0}else{f[m>>2]=0;gtb(k,m);b[a>>0]=0}xCb(k,0);f[k>>2]=f[n>>2];f[k+4>>2]=f[n+4>>2];f[k+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n)}else{Bj[f[(f[d>>2]|0)+40>>2]&1023](m,d);a=f[m>>2]|0;b[e>>0]=a;b[e+1>>0]=a>>8;b[e+2>>0]=a>>16;b[e+3>>0]=a>>24;Bj[f[(f[d>>2]|0)+28>>2]&1023](n,d);a=k+8+3|0;if((b[a>>0]|0)<0){e=f[k>>2]|0;f[m>>2]=0;gtb(e,m);f[k+4>>2]=0}else{f[m>>2]=0;gtb(k,m);b[a>>0]=0}xCb(k,0);f[k>>2]=f[n>>2];f[k+4>>2]=f[n+4>>2];f[k+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n)}a=_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;f[g>>2]=a;a=_i[f[(f[d>>2]|0)+16>>2]&2047](d)|0;f[h>>2]=a;Bj[f[(f[d>>2]|0)+20>>2]&1023](n,d);a=i+11|0;if((b[a>>0]|0)<0){a=f[i>>2]|0;b[m>>0]=0;_sb(a,m);f[i+4>>2]=0;a=i}else{b[m>>0]=0;_sb(i,m);b[a>>0]=0;a=i}YBb(i,0);f[a>>2]=f[n>>2];f[a+4>>2]=f[n+4>>2];f[a+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}TBb(n);Bj[f[(f[d>>2]|0)+24>>2]&1023](n,d);a=j+8+3|0;if((b[a>>0]|0)<0){i=f[j>>2]|0;f[m>>2]=0;gtb(i,m);f[j+4>>2]=0}else{f[m>>2]=0;gtb(j,m);b[a>>0]=0}xCb(j,0);f[j>>2]=f[n>>2];f[j+4>>2]=f[n+4>>2];f[j+8>>2]=f[n+8>>2];a=0;while(1){if((a|0)==3)break;f[n+(a<<2)>>2]=0;a=a+1|0}tCb(n);a=_i[f[(f[d>>2]|0)+36>>2]&2047](d)|0}f[l>>2]=a;u=o;return}function iyb(a,c,d,e,g,h,i,j,k,l,m,n,o,p,q){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;f[d>>2]=a;z=p+8+3|0;G=p+4|0;A=o+8+3|0;B=o+4|0;C=(e&512|0)==0;D=(q|0)>0;E=n+11|0;F=n+4|0;y=0;while(1){if((y|0)==4)break;a:do switch(b[k+y>>0]|0){case 0:{f[c>>2]=f[d>>2];break}case 1:{f[c>>2]=f[d>>2];w=cj[f[(f[i>>2]|0)+44>>2]&1023](i,32)|0;x=f[d>>2]|0;f[d>>2]=x+4;f[x>>2]=w;break}case 3:{x=b[z>>0]|0;r=x<<24>>24<0;if((r?f[G>>2]|0:x&255)|0){w=f[(r?f[p>>2]|0:p)>>2]|0;x=f[d>>2]|0;f[d>>2]=x+4;f[x>>2]=w}break}case 2:{v=b[A>>0]|0;r=v<<24>>24<0;v=r?f[B>>2]|0:v&255;if(!(C|(v|0)==0)){u=r?f[o>>2]|0:o;s=u+(v<<2)|0;t=f[d>>2]|0;r=t;while(1){if((u|0)==(s|0))break;f[r>>2]=f[u>>2];r=r+4|0;u=u+4|0}f[d>>2]=t+(v<<2)}break}case 4:{s=f[d>>2]|0;g=j?g+4|0:g;r=g;while(1){if(r>>>0>=h>>>0)break;if(!(dj[f[(f[i>>2]|0)+12>>2]&255](i,2048,f[r>>2]|0)|0))break;r=r+4|0}if(D){u=q;while(1){t=(u|0)>0;if(!(r>>>0>g>>>0&t))break;x=r+-4|0;v=f[x>>2]|0;w=f[d>>2]|0;f[d>>2]=w+4;f[w>>2]=v;u=u+-1|0;r=x}if(t)w=cj[f[(f[i>>2]|0)+44>>2]&1023](i,48)|0;else w=0;v=f[d>>2]|0;while(1){t=v+4|0;if((u|0)<=0)break;f[v>>2]=w;u=u+-1|0;v=t}f[d>>2]=t;f[v>>2]=l;t=r}else t=r;if((t|0)==(g|0)){w=cj[f[(f[i>>2]|0)+44>>2]&1023](i,48)|0;x=f[d>>2]|0;r=x+4|0;f[d>>2]=r;f[x>>2]=w}else{x=b[E>>0]|0;r=x<<24>>24<0;if(!((r?f[F>>2]|0:x&255)|0))r=-1;else r=b[(r?f[n>>2]|0:n)>>0]|0;u=0;v=0;x=t;while(1){if((x|0)==(g|0))break;t=f[d>>2]|0;if((v|0)==(r|0)){w=t+4|0;f[d>>2]=w;f[t>>2]=m;t=u+1|0;u=b[E>>0]|0;r=u<<24>>24<0;if(t>>>0<(r?f[F>>2]|0:u&255)>>>0){r=b[(r?f[n>>2]|0:n)+t>>0]|0;r=r<<24>>24==127?-1:r<<24>>24;u=t;v=0;t=w}else{r=v;u=t;v=0;t=w}}w=x+-4|0;H=f[w>>2]|0;f[d>>2]=t+4;f[t>>2]=H;v=v+1|0;x=w}r=f[d>>2]|0}if((s|0)!=(r|0))while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;H=f[s>>2]|0;f[s>>2]=f[r>>2];f[r>>2]=H;s=s+4|0}break}default:{}}while(0);y=y+1|0}r=b[z>>0]|0;g=r<<24>>24<0;r=g?f[G>>2]|0:r&255;if(r>>>0>1){s=f[p>>2]|0;u=g?s+4|0:G;r=(g?s:p)+(r<<2)|0;s=f[d>>2]|0;t=r-u|0;g=s;while(1){if((u|0)==(r|0))break;f[g>>2]=f[u>>2];g=g+4|0;u=u+4|0}f[d>>2]=s+(t>>>2<<2)}switch((e&176)<<24>>24){case 32:{f[c>>2]=f[d>>2];break}case 16:break;default:f[c>>2]=a}return}function jyb(a){a=a|0;$sb(a);return}function kyb(a){a=a|0;$sb(a);GBb(a);return}function lyb(a,c,d){a=a|0;c=c|0;d=d|0;d=bpb((b[c+11>>0]|0)<0?f[c>>2]|0:c,1)|0;return d>>>((d|0)!=(-1|0)&1)|0}function myb(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;j=u;u=u+16|0;i=j;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;c=0;while(1){if((c|0)==3)break;f[i+(c<<2)>>2]=0;c=c+1|0}k=b[h+11>>0]|0;l=k<<24>>24<0;c=l?f[h>>2]|0:h;h=c+(l?f[h+4>>2]|0:k&255)|0;while(1){if(c>>>0>=h>>>0)break;dCb(i,b[c>>0]|0);c=c+1|0}c=(b[i+11>>0]|0)<0?f[i>>2]|0:i;d=apb((d|0)==-1?-1:d<<1,e,g,c)|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;h=0;while(1){if((h|0)==3)break;f[a+(h<<2)>>2]=0;h=h+1|0}h=c+(Rmb(d)|0)|0;while(1){if(c>>>0>=h>>>0)break;dCb(a,b[c>>0]|0);c=c+1|0}TBb(i);u=j;return}function nyb(a,b){a=a|0;b=b|0;return}function oyb(a){a=a|0;$sb(a);return}function pyb(a){a=a|0;$sb(a);GBb(a);return}function qyb(a,c,d){a=a|0;c=c|0;d=d|0;d=bpb((b[c+11>>0]|0)<0?f[c>>2]|0:c,1)|0;return d>>>((d|0)!=(-1|0)&1)|0}function ryb(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;t=u;u=u+176|0;p=t+168|0;q=t;r=t+164|0;s=t+160|0;n=t+128|0;l=t+152|0;o=t+144|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;c=0;while(1){if((c|0)==3)break;f[n+(c<<2)>>2]=0;c=c+1|0}f[l+4>>2]=0;f[l>>2]=361312;j=b[h+8+3>>0]|0;k=j<<24>>24<0;c=k?f[h>>2]|0:h;j=c+((k?f[h+4>>2]|0:j&255)<<2)|0;k=q+32|0;h=c;c=0;while(1){if(!((c|0)!=2&h>>>0<j>>>0))break;f[s>>2]=h;i=lj[f[(f[l>>2]|0)+12>>2]&31](l,p,h,j,s,q,k,r)|0;if((i|0)==2?1:(f[s>>2]|0)==(h|0)){m=8;break}c=q;while(1){if(c>>>0>=(f[r>>2]|0)>>>0)break;dCb(n,b[c>>0]|0);c=c+1|0}h=f[s>>2]|0;c=i}if((m|0)==8)Mwb(0);$sb(l);i=(b[n+11>>0]|0)<0?f[n>>2]|0:n;h=apb((d|0)==-1?-1:d<<1,e,g,i)|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;c=0;while(1){if((c|0)==3)break;f[a+(c<<2)>>2]=0;c=c+1|0}f[o+4>>2]=0;f[o>>2]=361360;j=i+(Rmb(h)|0)|0;k=j;l=q+128|0;h=i;c=0;while(1){if(!((c|0)!=2&h>>>0<j>>>0)){m=23;break}f[s>>2]=h;i=lj[f[(f[o>>2]|0)+16>>2]&31](o,p,h,(k-h|0)>32?h+32|0:j,s,q,l,r)|0;if((i|0)==2?1:(f[s>>2]|0)==(h|0)){m=19;break}c=q;while(1){if(c>>>0>=(f[r>>2]|0)>>>0)break;BCb(a,f[c>>2]|0);c=c+4|0}h=f[s>>2]|0;c=i}if((m|0)==19)Mwb(0);else if((m|0)==23){$sb(o);TBb(n);u=t;return}}function syb(a,b){a=a|0;b=b|0;return}function tyb(a){a=a|0;$sb(a);GBb(a);return}function uyb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;b=u;u=u+16|0;j=b+4|0;a=b;f[j>>2]=c;f[a>>2]=g;h=Dyb(c,d,j,g,h,a,1114111,0)|0;f[e>>2]=f[j>>2];f[i>>2]=f[a>>2];u=b;return h|0}function vyb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;b=u;u=u+16|0;j=b+4|0;a=b;f[j>>2]=c;f[a>>2]=g;h=Cyb(c,d,j,g,h,a,1114111,0)|0;f[e>>2]=f[j>>2];f[i>>2]=f[a>>2];u=b;return h|0}function wyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[e>>2]=c;return 3}function xyb(a){a=a|0;return 0}function yyb(a){a=a|0;return 0}function zyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Byb(c,d,e,1114111,0)|0}function Ayb(a){a=a|0;return 4}function Byb(a,c,d,e,f){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((f&4|0)!=0?(o-a|0)>2:0)?(b[a>>0]|0)==-17:0)?(b[a+1>>0]|0)==-69:0)f=(b[a+2>>0]|0)==-65?a+3|0:a;else f=a;n=0;a:while(1){if(!(n>>>0<d>>>0&f>>>0<c>>>0))break;k=b[f>>0]|0;m=k&255;do if(k<<24>>24<=-1){if((k&255)<194)break a;if((k&255)<224){if((o-f|0)<2)break a;g=h[f+1>>0]|0;if((g&192|0)!=128)break a;if((g&63|m<<6&1984)>>>0>e>>>0)break a;f=f+2|0;break}if((k&255)<240){if((o-f|0)<3)break a;i=b[f+1>>0]|0;g=b[f+2>>0]|0;switch(k<<24>>24){case -32:{if((i&-32)<<24>>24!=-96)break a;break}case -19:{if((i&-32)<<24>>24!=-128)break a;break}default:if((i&-64)<<24>>24!=-128)break a}g=g&255;if((g&192|0)!=128)break a;if(((i&63)<<6|m<<12&61440|g&63)>>>0>e>>>0)break a;else{f=f+3|0;break}}if((k&255)>=245)break a;if((o-f|0)<4)break a;l=b[f+1>>0]|0;g=b[f+2>>0]|0;j=b[f+3>>0]|0;switch(k<<24>>24){case -16:{if((l+112&255)>=48)break a;break}case -12:{if((l&-16)<<24>>24!=-128)break a;break}default:if((l&-64)<<24>>24!=-128)break a}i=g&255;if((i&192|0)!=128)break a;g=j&255;if((g&192|0)!=128)break a;if(((l&63)<<12|m<<18&1835008|i<<6&4032|g&63)>>>0>e>>>0)break a;else f=f+4|0}else{if(m>>>0>e>>>0)break a;f=f+1|0}while(0);n=n+1|0}return f-a|0}function Cyb(a,c,d,e,g,i,j,k){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;f[d>>2]=a;f[i>>2]=e;if(k&4){a=f[d>>2]|0;e=c;if((((e-a|0)>2?(b[a>>0]|0)==-17:0)?(b[a+1>>0]|0)==-69:0)?(b[a+2>>0]|0)==-65:0)f[d>>2]=a+3}else e=c;a:while(1){p=f[d>>2]|0;if(p>>>0>=c>>>0){a=0;break}q=f[i>>2]|0;if(q>>>0>=g>>>0){a=1;break}n=b[p>>0]|0;a=n&255;do if(n<<24>>24>-1)if(a>>>0>j>>>0){a=2;break a}else k=1;else{if((n&255)<194){a=2;break a}if((n&255)<224){if((e-p|0)<2){a=1;break a}k=h[p+1>>0]|0;if((k&192|0)!=128){a=2;break a}a=k&63|a<<6&1984;if(a>>>0>j>>>0){a=2;break a}else{k=2;break}}if((n&255)<240){if((e-p|0)<3){a=1;break a}l=b[p+1>>0]|0;k=b[p+2>>0]|0;switch(n<<24>>24){case -32:{if((l&-32)<<24>>24!=-96){a=2;break a}break}case -19:{if((l&-32)<<24>>24!=-128){a=2;break a}break}default:if((l&-64)<<24>>24!=-128){a=2;break a}}k=k&255;if((k&192|0)!=128){a=2;break a}a=(l&63)<<6|a<<12&61440|k&63;if(a>>>0>j>>>0){a=2;break a}else{k=3;break}}if((n&255)>=245){a=2;break a}if((e-p|0)<4){a=1;break a}o=b[p+1>>0]|0;k=b[p+2>>0]|0;m=b[p+3>>0]|0;switch(n<<24>>24){case -16:{if((o+112&255)>=48){a=2;break a}break}case -12:{if((o&-16)<<24>>24!=-128){a=2;break a}break}default:if((o&-64)<<24>>24!=-128){a=2;break a}}l=k&255;if((l&192|0)!=128){a=2;break a}k=m&255;if((k&192|0)!=128){a=2;break a}a=(o&63)<<12|a<<18&1835008|l<<6&4032|k&63;if(a>>>0>j>>>0){a=2;break a}else k=4}while(0);f[q>>2]=a;f[d>>2]=p+k;f[i>>2]=(f[i>>2]|0)+4}return a|0}function Dyb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;f[d>>2]=a;f[h>>2]=e;l=g;if(j&2)if((l-e|0)<3)a=1;else{f[h>>2]=e+1;b[e>>0]=-17;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=-69;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=-65;k=4}else k=4;a:do if((k|0)==4){a=f[d>>2]|0;while(1){if(a>>>0>=c>>>0){a=0;break a}e=f[a>>2]|0;if(e>>>0>i>>>0|(e&-2048|0)==55296){a=2;break a}do if(e>>>0>=128){if(e>>>0<2048){a=f[h>>2]|0;if((l-a|0)<2){a=1;break a}f[h>>2]=a+1;b[a>>0]=e>>>6|192;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=e&63|128;break}a=f[h>>2]|0;g=l-a|0;if(e>>>0<65536){if((g|0)<3){a=1;break a}f[h>>2]=a+1;b[a>>0]=e>>>12|224;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=e>>>6&63|128;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=e&63|128;break}else{if((g|0)<4){a=1;break a}f[h>>2]=a+1;b[a>>0]=e>>>18|240;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=e>>>12&63|128;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=e>>>6&63|128;k=f[h>>2]|0;f[h>>2]=k+1;b[k>>0]=e&63|128;break}}else{a=f[h>>2]|0;if((l-a|0)<1){a=1;break a}f[h>>2]=a+1;b[a>>0]=e}while(0);a=(f[d>>2]|0)+4|0;f[d>>2]=a}}while(0);return a|0}function Eyb(a){a=a|0;$sb(a);GBb(a);return}function Fyb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;f[e>>2]=c;f[i>>2]=g;return 3}function Gyb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;f[e>>2]=c;f[i>>2]=g;return 3}function Hyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[e>>2]=c;return 3}function Iyb(a){a=a|0;return 1}function Jyb(a){a=a|0;return 1}function Kyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=d-c|0;return (d>>>0<e>>>0?d:e)|0}function Lyb(a){a=a|0;return 1}function Myb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=u;u=u+16|0;p=q;n=q+8|0;k=d;while(1){if((k|0)==(e|0)){k=e;break}if(!(f[k>>2]|0))break;k=k+4|0}f[j>>2]=h;f[g>>2]=d;m=i;o=a+8|0;a:while(1){if((h|0)==(i|0)|(d|0)==(e|0)){k=36;break}r=c;l=f[r+4>>2]|0;a=p;f[a>>2]=f[r>>2];f[a+4>>2]=l;a=_ob(f[o>>2]|0)|0;l=qpb(h,g,k-d>>2,m-h|0,c)|0;if(a|0)_ob(a)|0;switch(l|0){case -1:{k=10;break a}case 0:{d=1;k=33;break a}default:{}}h=(f[j>>2]|0)+l|0;f[j>>2]=h;if((h|0)==(i|0)){k=34;break}if((k|0)==(e|0)){k=e;d=f[g>>2]|0}else{h=_ob(f[o>>2]|0)|0;d=kob(n,0,c)|0;if(h|0)_ob(h)|0;if((d|0)==-1){d=2;k=32;break}if(d>>>0>(m-(f[j>>2]|0)|0)>>>0){d=1;k=32;break}h=n;while(1){if(!d)break;l=b[h>>0]|0;r=f[j>>2]|0;f[j>>2]=r+1;b[r>>0]=l;h=h+1|0;d=d+-1|0}d=(f[g>>2]|0)+4|0;f[g>>2]=d;k=d;while(1){if((k|0)==(e|0)){k=e;break}if(!(f[k>>2]|0))break;k=k+4|0}h=f[j>>2]|0}}if((k|0)==10){f[j>>2]=h;while(1){if((d|0)==(f[g>>2]|0))break;r=f[d>>2]|0;k=_ob(f[o>>2]|0)|0;h=kob(h,r,p)|0;if(k|0)_ob(k)|0;if((h|0)==-1)break;h=(f[j>>2]|0)+h|0;f[j>>2]=h;d=d+4|0}f[g>>2]=d;d=2;k=33}else if((k|0)==32)k=33;else if((k|0)==34){d=f[g>>2]|0;k=36}if((k|0)!=33)if((k|0)==36)d=(d|0)!=(e|0)&1;u=q;return d|0}function Nyb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=u;u=u+16|0;o=p;k=d;while(1){if((k|0)==(e|0)){k=e;break}if(!(b[k>>0]|0))break;k=k+1|0}f[j>>2]=h;f[g>>2]=d;m=i;n=a+8|0;while(1){if((h|0)==(i|0)|(d|0)==(e|0)){a=33;break}q=c;l=f[q+4>>2]|0;a=o;f[a>>2]=f[q>>2];f[a+4>>2]=l;a=_ob(f[n>>2]|0)|0;l=tpb(h,g,k-d|0,m-h>>2,c)|0;if(a|0)_ob(a)|0;if((l|0)==-1){a=10;break}h=(f[j>>2]|0)+(l<<2)|0;f[j>>2]=h;if((h|0)==(i|0)){a=30;break}d=f[g>>2]|0;if((k|0)==(e|0))k=e;else{k=_ob(f[n>>2]|0)|0;d=jpb(h,d,1,c)|0;if(k|0)_ob(k)|0;if(d|0){d=2;a=29;break}f[j>>2]=(f[j>>2]|0)+4;d=(f[g>>2]|0)+1|0;f[g>>2]=d;k=d;while(1){if((k|0)==(e|0)){k=e;break}if(!(b[k>>0]|0))break;k=k+1|0}h=f[j>>2]|0}}do if((a|0)==10){a:while(1){f[j>>2]=h;if((d|0)==(f[g>>2]|0)){a=19;break}a=_ob(f[n>>2]|0)|0;h=jpb(h,d,k-d|0,o)|0;if(a|0)_ob(a)|0;switch(h|0){case -1:{a=15;break a}case -2:{a=16;break a}case 0:{h=1;break}default:{}}d=d+h|0;h=(f[j>>2]|0)+4|0}if((a|0)==15){f[g>>2]=d;d=2;a=29;break}else if((a|0)==16){f[g>>2]=d;d=1;a=29;break}else if((a|0)==19){f[g>>2]=d;d=(d|0)!=(e|0)&1;a=29;break}}else if((a|0)==30){d=f[g>>2]|0;a=33}while(0);if((a|0)!=29)if((a|0)==33)d=(d|0)!=(e|0)&1;u=p;return d|0}function Oyb(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;i=u;u=u+16|0;h=i;f[g>>2]=d;d=_ob(f[a+8>>2]|0)|0;a=kob(h,0,c)|0;if(d|0)_ob(d)|0;a:do if((a+1|0)>>>0>=2){a=a+-1|0;if(a>>>0>(e-(f[g>>2]|0)|0)>>>0)a=1;else while(1){if(!a){a=0;break a}c=b[h>>0]|0;e=f[g>>2]|0;f[g>>2]=e+1;b[e>>0]=c;h=h+1|0;a=a+-1|0}}else a=2;while(0);u=i;return a|0}function Pyb(a){a=a|0;var b=0,c=0;a=a+8|0;b=_ob(f[a>>2]|0)|0;c=npb(0,0,4)|0;if(b|0)_ob(b)|0;if(!c){a=f[a>>2]|0;if(!a)a=1;else{b=_ob(a)|0;a=Onb()|0;if(b|0)_ob(b)|0;return (a|0)==1|0}}else a=-1;return a|0}function Qyb(a){a=a|0;return 0}function Ryb(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,k=0;k=d;j=a+8|0;h=0;i=0;a:while(1){if((c|0)==(d|0)|h>>>0>=e>>>0)break;g=_ob(f[j>>2]|0)|0;a=ppb(c,k-c|0,b)|0;if(g|0)_ob(g)|0;switch(a|0){case -2:case -1:break a;case 0:{a=1;break}default:{}}h=h+1|0;i=a+i|0;c=c+a|0}return i|0}function Syb(a){a=a|0;var b=0;a=f[a+8>>2]|0;if(a){b=_ob(a)|0;a=Onb()|0;if(b)_ob(b)|0}else a=1;return a|0}function Tyb(a){a=a|0;var b=0,c=0;f[a>>2]=361408;b=a+8|0;c=f[b>>2]|0;if((c|0)!=(xtb()|0))dpb(f[b>>2]|0);$sb(a);return}function Uyb(a){a=a|0;Tyb(a);GBb(a);return}function Vyb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;b=u;u=u+16|0;j=b+4|0;a=b;f[j>>2]=c;f[a>>2]=g;h=czb(c,d,j,g,h,a,1114111,0)|0;f[e>>2]=f[j>>2];f[i>>2]=f[a>>2];u=b;return h|0}function Wyb(a,b,c,d,e,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;b=u;u=u+16|0;j=b+4|0;a=b;f[j>>2]=c;f[a>>2]=g;h=bzb(c,d,j,g,h,a,1114111,0)|0;f[e>>2]=f[j>>2];f[i>>2]=f[a>>2];u=b;return h|0}function Xyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f[e>>2]=c;return 3}function Yyb(a){a=a|0;return 0}function Zyb(a){a=a|0;return 0}function _yb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return azb(c,d,e,1114111,0)|0}function $yb(a){a=a|0;return 4}function azb(a,c,d,e,f){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((f&4|0)!=0?(o-a|0)>2:0)?(b[a>>0]|0)==-17:0)?(b[a+1>>0]|0)==-69:0)f=(b[a+2>>0]|0)==-65?a+3|0:a;else f=a;g=0;a:while(1){if(!(g>>>0<d>>>0&f>>>0<c>>>0))break;l=b[f>>0]|0;n=l&255;if(n>>>0>e>>>0)break;do if(l<<24>>24<=-1){if((l&255)<194)break a;if((l&255)<224){if((o-f|0)<2)break a;i=h[f+1>>0]|0;if((i&192|0)!=128)break a;if((i&63|n<<6&1984)>>>0>e>>>0)break a;else{f=f+2|0;break}}if((l&255)<240){if((o-f|0)<3)break a;j=b[f+1>>0]|0;i=b[f+2>>0]|0;switch(l<<24>>24){case -32:{if((j&-32)<<24>>24!=-96)break a;break}case -19:{if((j&-32)<<24>>24!=-128)break a;break}default:if((j&-64)<<24>>24!=-128)break a}i=i&255;if((i&192|0)!=128)break a;if(((j&63)<<6|n<<12&61440|i&63)>>>0>e>>>0)break a;else{f=f+3|0;break}}if((l&255)>=245)break a;if((d-g|0)>>>0<2|(o-f|0)<4)break a;m=b[f+1>>0]|0;i=b[f+2>>0]|0;k=b[f+3>>0]|0;switch(l<<24>>24){case -16:{if((m+112&255)>=48)break a;break}case -12:{if((m&-16)<<24>>24!=-128)break a;break}default:if((m&-64)<<24>>24!=-128)break a}j=i&255;if((j&192|0)!=128)break a;i=k&255;if((i&192|0)!=128)break a;if(((m&63)<<12|n<<18&1835008|j<<6&4032|i&63)>>>0>e>>>0)break a;else{g=g+1|0;f=f+4|0}}else f=f+1|0;while(0);g=g+1|0}return f-a|0}function bzb(a,c,e,g,i,j,k,l){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;f[e>>2]=a;f[j>>2]=g;if(l&4){a=f[e>>2]|0;g=c;if((((g-a|0)>2?(b[a>>0]|0)==-17:0)?(b[a+1>>0]|0)==-69:0)?(b[a+2>>0]|0)==-65:0)f[e>>2]=a+3}else g=c;s=i;a:while(1){n=f[e>>2]|0;if(n>>>0>=c>>>0){a=0;break}r=f[j>>2]|0;if(r>>>0>=i>>>0){a=1;break}m=b[n>>0]|0;q=m&255;if(q>>>0>k>>>0){a=2;break}do if(m<<24>>24>-1){d[r>>1]=m&255;a=n+1|0}else{if((m&255)<194){a=2;break a}if((m&255)<224){if((g-n|0)<2){a=1;break a}a=h[n+1>>0]|0;if((a&192|0)!=128){a=2;break a}a=a&63|q<<6&1984;if(a>>>0>k>>>0){a=2;break a}d[r>>1]=a;a=n+2|0;break}if((m&255)<240){if((g-n|0)<3){a=1;break a}l=b[n+1>>0]|0;a=b[n+2>>0]|0;switch(m<<24>>24){case -32:{if((l&-32)<<24>>24!=-96){a=2;break a}break}case -19:{if((l&-32)<<24>>24!=-128){a=2;break a}break}default:if((l&-64)<<24>>24!=-128){a=2;break a}}a=a&255;if((a&192|0)!=128){a=2;break a}a=(l&63)<<6|q<<12|a&63;if((a&65535)>>>0>k>>>0){a=2;break a}d[r>>1]=a;a=n+3|0;break}if((m&255)>=245){a=2;break a}if((g-n|0)<4){a=1;break a}o=b[n+1>>0]|0;a=b[n+2>>0]|0;l=b[n+3>>0]|0;switch(m<<24>>24){case -16:{if((o+112&255)>=48){a=2;break a}break}case -12:{if((o&-16)<<24>>24!=-128){a=2;break a}break}default:if((o&-64)<<24>>24!=-128){a=2;break a}}p=a&255;if((p&192|0)!=128){a=2;break a}a=l&255;if((a&192|0)!=128){a=2;break a}if((s-r|0)<4){a=1;break a}n=q&7;l=o&255;m=p<<6;a=a&63;if((l<<12&258048|n<<18|m&4032|a)>>>0>k>>>0){a=2;break a}d[r>>1]=l<<2&60|p>>>4&3|((l>>>4&3|n<<2)<<6)+16320|55296;r=r+2|0;f[j>>2]=r;d[r>>1]=a|m&960|56320;a=(f[e>>2]|0)+4|0}while(0);f[e>>2]=a;f[j>>2]=(f[j>>2]|0)+2}return a|0}function czb(a,c,e,g,h,i,k,l){a=a|0;c=c|0;e=e|0;g=g|0;h=h|0;i=i|0;k=k|0;l=l|0;var m=0,n=0;f[e>>2]=a;f[i>>2]=g;if(l&2)if((h-g|0)<3)a=1;else{f[i>>2]=g+1;b[g>>0]=-17;m=f[i>>2]|0;f[i>>2]=m+1;b[m>>0]=-69;m=f[i>>2]|0;f[i>>2]=m+1;b[m>>0]=-65;m=4}else m=4;a:do if((m|0)==4){n=c;a=f[e>>2]|0;while(1){if(a>>>0>=c>>>0){a=0;break a}g=d[a>>1]|0;m=g&65535;if(m>>>0>k>>>0){a=2;break a}do if((g&65535)<128){a=f[i>>2]|0;if((h-a|0)<1){a=1;break a}f[i>>2]=a+1;b[a>>0]=g}else{if((g&65535)<2048){a=f[i>>2]|0;if((h-a|0)<2){a=1;break a}f[i>>2]=a+1;b[a>>0]=m>>>6|192;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=m&63|128;break}if((g&65535)<55296){a=f[i>>2]|0;if((h-a|0)<3){a=1;break a}f[i>>2]=a+1;b[a>>0]=m>>>12|224;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=m>>>6&63|128;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=m&63|128;break}if((g&65535)>=56320){if((g&65535)<57344){a=2;break a}a=f[i>>2]|0;if((h-a|0)<3){a=1;break a}f[i>>2]=a+1;b[a>>0]=m>>>12|224;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=m>>>6&63|128;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=m&63|128;break}if((n-a|0)<4){a=1;break a}a=a+2|0;g=j[a>>1]|0;if((g&64512|0)!=56320){a=2;break a}if((h-(f[i>>2]|0)|0)<4){a=1;break a}l=m&960;if(((l<<10)+65536|m<<10&64512|g&1023)>>>0>k>>>0){a=2;break a}f[e>>2]=a;a=(l>>>6)+1|0;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=a>>>2|240;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=m>>>2&15|a<<4&48|128;l=f[i>>2]|0;f[i>>2]=l+1;b[l>>0]=m<<4&48|g>>>6&15|128;m=f[i>>2]|0;f[i>>2]=m+1;b[m>>0]=g&63|128}while(0);a=(f[e>>2]|0)+2|0;f[e>>2]=a}}while(0);return a|0}function dzb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=361456;d=a+8|0;e=a+12|0;c=0;while(1){b=f[d>>2]|0;if(c>>>0>=(f[e>>2]|0)-b>>2>>>0)break;b=f[b+(c<<2)>>2]|0;if(b|0?(h=b+4|0,g=f[h>>2]|0,f[h>>2]=g+-1,(g|0)==0):0)tj[f[(f[b>>2]|0)+8>>2]&2047](b);c=c+1|0}TBb(a+144|0);fzb(d);$sb(a);return}function ezb(a){a=a|0;dzb(a);GBb(a);return}function fzb(a){a=a|0;var c=0;c=f[a>>2]|0;do if(c|0){f[a+4>>2]=c;if((c|0)==(a+16|0)){b[a+128>>0]=0;break}else{GBb(c);break}}while(0);return}function gzb(a){a=a|0;var c=0;f[a>>2]=361476;c=f[a+8>>2]|0;if(c|0?b[a+12>>0]|0:0)HBb(c);$sb(a);return}function hzb(a){a=a|0;gzb(a);GBb(a);return}function izb(a,b){a=a|0;b=b|0;if(b<<24>>24>-1){b=(rzb()|0)+((b&255)<<2)|0;b=f[b>>2]&255}return b|0}function jzb(a,c,d){a=a|0;c=c|0;d=d|0;while(1){if((c|0)==(d|0))break;a=b[c>>0]|0;if(a<<24>>24>-1){a=rzb()|0;a=f[a+(b[c>>0]<<2)>>2]&255}b[c>>0]=a;c=c+1|0}return d|0}function kzb(a,b){a=a|0;b=b|0;if(b<<24>>24>-1){b=(qzb()|0)+(b<<24>>24<<2)|0;b=f[b>>2]&255}return b|0}function lzb(a,c,d){a=a|0;c=c|0;d=d|0;while(1){if((c|0)==(d|0))break;a=b[c>>0]|0;if(a<<24>>24>-1){a=qzb()|0;a=f[a+(b[c>>0]<<2)>>2]&255}b[c>>0]=a;c=c+1|0}return d|0}function mzb(a,b){a=a|0;b=b|0;return b|0}function nzb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;b[e>>0]=b[c>>0]|0;e=e+1|0;c=c+1|0}return d|0}function ozb(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function pzb(a,c,d,e,f){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){if((c|0)==(d|0))break;a=b[c>>0]|0;b[f>>0]=a<<24>>24>-1?a:e;f=f+1|0;c=c+1|0}return d|0}function qzb(){var a=0;a=Qnb()|0;return f[a>>2]|0}function rzb(){var a=0;a=Mnb()|0;return f[a>>2]|0}function szb(){var a=0;a=Rnb()|0;return f[a>>2]|0}function tzb(a){a=a|0;f[a>>2]=361528;TBb(a+12|0);$sb(a);return}function uzb(a){a=a|0;tzb(a);GBb(a);return}function vzb(a){a=a|0;return b[a+8>>0]|0}function wzb(a){a=a|0;return b[a+9>>0]|0}function xzb(a,b){a=a|0;b=b|0;OBb(a,b+12|0);return}function yzb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;PBb(a,489373,zrb(489373)|0);return}function zzb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;PBb(a,489367,zrb(489367)|0);return}function Azb(a){a=a|0;f[a>>2]=361568;TBb(a+16|0);$sb(a);return}function Bzb(a){a=a|0;Azb(a);GBb(a);return}function Czb(a){a=a|0;return f[a+8>>2]|0}function Dzb(a){a=a|0;return f[a+12>>2]|0}function Ezb(a,b){a=a|0;b=b|0;OBb(a,b+16|0);return}function Fzb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;qCb(a,361624,gwb(361624)|0);return}function Gzb(a,b){a=a|0;b=b|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;qCb(a,361600,gwb(361600)|0);return}function Hzb(a){a=a|0;$sb(a);GBb(a);return}function Izb(a){a=a|0;$sb(a);GBb(a);return}function Jzb(a,b,c){a=a|0;b=b|0;c=c|0;if(c>>>0<128){a=(szb()|0)+(c<<1)|0;a=(d[a>>1]&b)<<16>>16!=0}else a=0;return a|0}function Kzb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;while(1){if((b|0)==(c|0))break;if((f[b>>2]|0)>>>0<128){a=szb()|0;a=j[a+(f[b>>2]<<1)>>1]|0}else a=0;d[e>>1]=a;e=e+2|0;b=b+4|0}return c|0}function Lzb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;while(1){if((c|0)==(e|0)){c=e;break}if((f[c>>2]|0)>>>0<128?(a=szb()|0,(d[a+(f[c>>2]<<1)>>1]&b)<<16>>16):0)break;c=c+4|0}return c|0}function Mzb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;while(1){if((c|0)==(e|0)){c=e;break}if((f[c>>2]|0)>>>0>=128)break;a=szb()|0;if(!((d[a+(f[c>>2]<<1)>>1]&b)<<16>>16))break;c=c+4|0}return c|0}function Nzb(a,b){a=a|0;b=b|0;if(b>>>0<128){b=(rzb()|0)+(b<<2)|0;b=f[b>>2]|0}return b|0}function Ozb(a,b,c){a=a|0;b=b|0;c=c|0;while(1){if((b|0)==(c|0))break;a=f[b>>2]|0;if(a>>>0<128){a=rzb()|0;a=f[a+(f[b>>2]<<2)>>2]|0}f[b>>2]=a;b=b+4|0}return c|0}function Pzb(a,b){a=a|0;b=b|0;if(b>>>0<128){b=(qzb()|0)+(b<<2)|0;b=f[b>>2]|0}return b|0}function Qzb(a,b,c){a=a|0;b=b|0;c=c|0;while(1){if((b|0)==(c|0))break;a=f[b>>2]|0;if(a>>>0<128){a=qzb()|0;a=f[a+(f[b>>2]<<2)>>2]|0}f[b>>2]=a;b=b+4|0}return c|0}function Rzb(a,b){a=a|0;b=b|0;return b<<24>>24|0}function Szb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;f[e>>2]=b[c>>0];e=e+4|0;c=c+1|0}return d|0}function Tzb(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function Uzb(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;h=(d-c|0)>>>2;a=g;g=c;while(1){if((g|0)==(d|0))break;i=f[g>>2]|0;b[a>>0]=i>>>0<128?i&255:e;a=a+1|0;g=g+4|0}return c+(h<<2)|0}function Vzb(a){a=a|0;$sb(a);GBb(a);return}function Wzb(a){a=a|0;$sb(a);GBb(a);return}function Xzb(a){a=a|0;$sb(a);GBb(a);return}function Yzb(a){a=a|0;f[a>>2]=361884;return}function Zzb(a){a=a|0;f[a>>2]=361920;return}function _zb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;f[a+4>>2]=e+-1;f[a>>2]=361476;e=a+8|0;f[e>>2]=c;b[a+12>>0]=d&1;if(!c){d=szb()|0;f[e>>2]=d}return}function $zb(a,b){a=a|0;b=b|0;var c=0;f[a+4>>2]=b+-1;f[a>>2]=361456;b=a+8|0;aAb(b,28);c=a+144|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;PBb(c,487312,zrb(487312)|0);f[a+12>>2]=f[b>>2];bAb();cAb(a,498312);dAb();eAb(a,498320);fAb();gAb(a,498328);hAb();iAb(a,498344);jAb();kAb(a,498352);lAb();mAb(a,498360);nAb();oAb(a,498376);pAb();qAb(a,498384);rAb();sAb(a,498392);tAb();uAb(a,498416);vAb();wAb(a,498448);xAb();yAb(a,498456);zAb();AAb(a,498464);BAb();CAb(a,498472);DAb();EAb(a,498480);FAb();GAb(a,498488);HAb();IAb(a,498496);JAb();KAb(a,498504);LAb();MAb(a,498512);NAb();OAb(a,498520);PAb();QAb(a,498528);RAb();SAb(a,498536);TAb();UAb(a,498544);VAb();WAb(a,498560);XAb();YAb(a,498576);ZAb();_Ab(a,498592);$Ab();aBb(a,498608);bBb();cBb(a,498616);return}function aAb(a,c){a=a|0;c=c|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b[a+128>>0]=0;if(c|0){pBb(a,c);gBb(a,c)}return}function bAb(){f[124579]=0;f[124578]=359312;return}function cAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504560)|0);return}function dAb(){f[124581]=0;f[124580]=359344;return}function eAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504568)|0);return}function fAb(){_zb(498328,0,0,1);return}function gAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504576)|0);return}function hAb(){f[124587]=0;f[124586]=361672;return}function iAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504608)|0);return}function jAb(){f[124589]=0;f[124588]=361740;return}function kAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504880)|0);return}function lAb(){oBb(498360,1);return}function mAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504888)|0);return}function nAb(){f[124595]=0;f[124594]=361788;return}function oAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504896)|0);return}function pAb(){f[124597]=0;f[124596]=361836;return}function qAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504904)|0);return}function rAb(){nBb(498392,1);return}function sAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504592)|0);return}function tAb(){mBb(498416,1);return}function uAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504616)|0);return}function vAb(){f[124613]=0;f[124612]=359376;return}function wAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504600)|0);return}function xAb(){f[124615]=0;f[124614]=359440;return}function yAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504624)|0);return}function zAb(){f[124617]=0;f[124616]=359504;return}function AAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504632)|0);return}function BAb(){f[124619]=0;f[124618]=359556;return}function CAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504640)|0);return}function DAb(){f[124621]=0;f[124620]=360912;return}function EAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504800)|0);return}function FAb(){f[124623]=0;f[124622]=360968;return}function GAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504808)|0);return}function HAb(){f[124625]=0;f[124624]=361024;return}function IAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504816)|0);return}function JAb(){f[124627]=0;f[124626]=361080;return}function KAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504824)|0);return}function LAb(){f[124629]=0;f[124628]=361136;return}function MAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504832)|0);return}function NAb(){f[124631]=0;f[124630]=361164;return}function OAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504840)|0);return}function PAb(){f[124633]=0;f[124632]=361192;return}function QAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504848)|0);return}function RAb(){f[124635]=0;f[124634]=361220;return}function SAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504856)|0);return}function TAb(){f[124637]=0;f[124636]=361652;Yzb(498552);f[124636]=359608;f[124638]=359656;return}function UAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504708)|0);return}function VAb(){f[124641]=0;f[124640]=361652;Zzb(498568);f[124640]=359692;f[124642]=359740;return}function WAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504776)|0);return}function XAb(){var a=0;f[124645]=0;f[124644]=361652;a=xtb()|0;f[124646]=a;f[124644]=360864;return}function YAb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504784)|0);return}function ZAb(){var a=0;f[124649]=0;f[124648]=361652;a=xtb()|0;f[124650]=a;f[124648]=360888;return}function _Ab(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504792)|0);return}function $Ab(){f[124653]=0;f[124652]=361248;return}function aBb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504864)|0);return}function bBb(){f[124655]=0;f[124654]=361280;return}function cBb(a,b){a=a|0;b=b|0;dBb(a,b,ztb(504872)|0);return}function dBb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=b+4|0;f[e>>2]=(f[e>>2]|0)+1;e=a+8|0;d=f[e>>2]|0;if((f[a+12>>2]|0)-d>>2>>>0>c>>>0)a=e;else{eBb(e,c+1|0);a=e;d=f[e>>2]|0}d=f[d+(c<<2)>>2]|0;if(d|0?(g=d+4|0,e=f[g>>2]|0,f[g>>2]=e+-1,(e|0)==0):0)tj[f[(f[d>>2]|0)+8>>2]&2047](d);f[(f[a>>2]|0)+(c<<2)>>2]=b;return}function eBb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+4|0;e=f[a>>2]|0;d=(f[c>>2]|0)-e>>2;if(d>>>0>=b>>>0){if(d>>>0>b>>>0)f[c>>2]=e+(b<<2)}else fBb(a,b-d|0);return}function fBb(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+32|0;e=i;g=a+8|0;h=a+4|0;c=f[h>>2]|0;do if((f[g>>2]|0)-c>>2>>>0<b>>>0){c=(c-(f[a>>2]|0)>>2)+b|0;d=hBb(a)|0;if(d>>>0<c>>>0)DCb(a);else{j=f[a>>2]|0;k=(f[g>>2]|0)-j|0;g=k>>1;iBb(e,k>>2>>>0<d>>>1>>>0?(g>>>0<c>>>0?c:g):d,(f[h>>2]|0)-j>>2,a+16|0);jBb(e,b);kBb(a,e);lBb(e);break}}else gBb(a,b);while(0);u=i;return}function gBb(a,b){a=a|0;b=b|0;var c=0;c=a+4|0;a=b;b=f[c>>2]|0;do{f[b>>2]=0;b=(f[c>>2]|0)+4|0;f[c>>2]=b;a=a+-1|0}while((a|0)!=0);return}function hBb(a){a=a|0;return 1073741823}function iBb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;h=a+12|0;f[h>>2]=0;f[a+16>>2]=e;do if(c){g=e+112|0;if(c>>>0<29&(b[g>>0]|0)==0){b[g>>0]=1;break}else{e=EBb(c<<2)|0;break}}else e=0;while(0);f[a>>2]=e;d=e+(d<<2)|0;f[a+8>>2]=d;f[a+4>>2]=d;f[h>>2]=e+(c<<2);return}function jBb(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;a=b;b=f[c>>2]|0;do{f[b>>2]=0;b=(f[c>>2]|0)+4|0;f[c>>2]=b;a=a+-1|0}while((a|0)!=0);return}function kBb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;d=f[a>>2]|0;h=a+4|0;g=b+4|0;e=(f[h>>2]|0)-d|0;c=(f[g>>2]|0)+(0-(e>>2)<<2)|0;f[g>>2]=c;if((e|0)>0){YDb(c|0,d|0,e|0)|0;d=g;c=f[g>>2]|0}else d=g;g=f[a>>2]|0;f[a>>2]=c;f[d>>2]=g;g=b+8|0;e=f[h>>2]|0;f[h>>2]=f[g>>2];f[g>>2]=e;g=a+8|0;h=b+12|0;a=f[g>>2]|0;f[g>>2]=f[h>>2];f[h>>2]=a;f[b>>2]=f[d>>2];return}function lBb(a){a=a|0;var c=0,d=0,e=0,g=0;c=f[a+4>>2]|0;d=a+8|0;e=f[d>>2]|0;while(1){if((e|0)==(c|0))break;g=e+-4|0;f[d>>2]=g;e=g}d=f[a>>2]|0;do if(d|0){c=f[a+16>>2]|0;if((d|0)==(c|0)){b[c+112>>0]=0;break}else{GBb(d);break}}while(0);return}function mBb(a,b){a=a|0;b=b|0;f[a+4>>2]=b+-1;f[a>>2]=361568;f[a+8>>2]=46;f[a+12>>2]=44;b=a+16|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[b+(a<<2)>>2]=0;a=a+1|0}return}function nBb(a,c){a=a|0;c=c|0;f[a+4>>2]=c+-1;f[a>>2]=361528;b[a+8>>0]=46;b[a+9>>0]=44;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}return}function oBb(a,b){a=a|0;b=b|0;f[a+4>>2]=b+-1;f[a>>2]=361408;b=xtb()|0;f[a+8>>2]=b;return}function pBb(a,c){a=a|0;c=c|0;var d=0;if((hBb(a)|0)>>>0<c>>>0)DCb(a);d=a+128|0;if(c>>>0<29&(b[d>>0]|0)==0){b[d>>0]=1;d=a+16|0}else d=EBb(c<<2)|0;f[a+4>>2]=d;f[a>>2]=d;f[a+8>>2]=d+(c<<2);return}function qBb(){if((b[498624]|0)==0?DDb(498624)|0:0){rBb()|0;f[126229]=504912}return f[126229]|0}function rBb(){sBb();f[126228]=498632;return 504912}function sBb(){$zb(498632,1);return}function tBb(){uBb(504920,qBb()|0);return 504920}function uBb(a,b){a=a|0;b=b|0;b=f[b>>2]|0;f[a>>2]=b;b=b+4|0;f[b>>2]=(f[b>>2]|0)+1;return}function vBb(){if((b[498792]|0)==0?DDb(498792)|0:0){tBb()|0;f[126231]=504920}return f[126231]|0}function wBb(a){a=a|0;var b=0;b=vBb()|0;b=f[b>>2]|0;f[a>>2]=b;a=b+4|0;f[a>>2]=(f[a>>2]|0)+1;return}function xBb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=(f[b>>2]|0)+4|0;f[c>>2]=(f[c>>2]|0)+1;c=f[a>>2]|0;e=c+4|0;d=f[e>>2]|0;f[e>>2]=d+-1;if(!d)tj[f[(f[c>>2]|0)+8>>2]&2047](c);f[a>>2]=f[b>>2];return a|0}function yBb(a,b){a=a|0;b=b|0;a=f[a>>2]|0;return zBb(a,ztb(b)|0)|0}function zBb(a,b){a=a|0;b=b|0;var c=0;c=f[a+8>>2]|0;if((f[a+12>>2]|0)-c>>2>>>0>b>>>0)a=(f[c+(b<<2)>>2]|0)!=0;else a=0;return a|0}function ABb(a,b,c){a=a|0;b=b|0;c=c|0;if(!c)a=0;else a=anb(a,b,c)|0;return a|0}function BBb(a){a=a|0;return}function CBb(a,b,c){a=a|0;b=b|0;c=c|0;VDb(504928)|0;while(1){if((f[a>>2]|0)!=1)break;yi(504956,504928)|0}if(!(f[a>>2]|0)){f[a>>2]=1;WDb(504928)|0;tj[c&2047](b);VDb(504928)|0;f[a>>2]=-1;WDb(504928)|0;$Db(504956)|0}else WDb(504928)|0;return}function DBb(){Lb()}function EBb(a){a=a|0;var b=0;b=(a|0)==0?1:a;while(1){a=Cmb(b)|0;if(a|0)break;a=GDb()|0;if(!a){a=0;break}nj[a&15]()}return a|0}function FBb(a){a=a|0;return EBb(a)|0}function GBb(a){a=a|0;Dmb(a);return}function HBb(a){a=a|0;GBb(a);return}function IBb(a,b){a=a|0;b=b|0;var c=0,d=0;d=Rmb(b)|0;c=EBb(d+13|0)|0;f[c>>2]=d;f[c+4>>2]=d;f[c+8>>2]=0;c=JBb(c)|0;YDb(c|0,b|0,d+1|0)|0;f[a>>2]=c;return}function JBb(a){a=a|0;return a+12|0}function KBb(a,b){a=a|0;b=b|0;f[a>>2]=362040;IBb(a+4|0,b);return}function LBb(a){a=a|0;return 1}function MBb(a){a=a|0;Lb()}function NBb(a){a=a|0;Lb()}function OBb(a,c){a=a|0;c=c|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;if((b[c+11>>0]|0)<0)PBb(a,f[c>>2]|0,f[c+4>>2]|0);else{f[a>>2]=f[c>>2];f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2]}return}function PBb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=u;u=u+16|0;e=g;if(d>>>0>4294967279)MBb(a);if(d>>>0<11)b[a+11>>0]=d;else{i=d+16&-16;h=EBb(i)|0;f[a>>2]=h;f[a+8>>2]=i|-2147483648;f[a+4>>2]=d;a=h}Gqb(a,c,d)|0;b[e>>0]=0;_sb(a+d|0,e);u=g;return}function QBb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=u;u=u+16|0;e=g;if(c>>>0>4294967279)MBb(a);if(c>>>0<11)b[a+11>>0]=c;else{i=c+16&-16;h=EBb(i)|0;f[a>>2]=h;f[a+8>>2]=i|-2147483648;f[a+4>>2]=c;a=h}RBb(a,c,d)|0;b[e>>0]=0;_sb(a+c|0,e);u=g;return}function RBb(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)_Db(a|0,(Fqb(c)|0)&255|0,b|0)|0;return a|0}function SBb(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;g=b[c+11>>0]|0;h=g<<24>>24<0;g=h?f[c+4>>2]|0:g&255;if(g>>>0<d>>>0)NBb(a);else{g=g-d|0;PBb(a,(h?f[c>>2]|0:c)+d|0,g>>>0<e>>>0?g:e);return}}function TBb(a){a=a|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);return}function UBb(a,c){a=a|0;c=c|0;var d=0,e=0;if((a|0)!=(c|0)){d=b[c+11>>0]|0;e=d<<24>>24<0;VBb(a,e?f[c>>2]|0:c,e?f[c+4>>2]|0:d&255)|0}return a|0}function VBb(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;k=u;u=u+16|0;i=k;j=a+11|0;e=b[j>>0]|0;g=e<<24>>24<0;if(g)h=(f[a+8>>2]&2147483647)+-1|0;else h=10;do if(h>>>0>=d>>>0){if(g)e=f[a>>2]|0;else e=a;WBb(e,c,d)|0;b[i>>0]=0;_sb(e+d|0,i);if((b[j>>0]|0)<0){f[a+4>>2]=d;break}else{b[j>>0]=d;break}}else{if(g)e=f[a+4>>2]|0;else e=e&255;XBb(a,h,d-h|0,e,0,e,d,c)}while(0);u=k;return a|0}function WBb(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)ZDb(a|0,b|0,c|0)|0;return a|0}function XBb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=u;u=u+16|0;n=o;if((-18-c|0)>>>0<d>>>0)MBb(a);if((b[a+11>>0]|0)<0)m=f[a>>2]|0;else m=a;if(c>>>0<2147483623){k=d+c|0;l=c<<1;k=k>>>0<l>>>0?l:k;k=k>>>0<11?11:k+16&-16}else k=-17;l=EBb(k)|0;if(g|0)Gqb(l,m,g)|0;if(i|0)Gqb(l+g|0,j,i)|0;d=e-h|0;e=d-g|0;if(e|0)Gqb(l+g+i|0,m+g+h|0,e)|0;if((c|0)!=10)GBb(m);f[a>>2]=l;f[a+8>>2]=k|-2147483648;i=d+i|0;f[a+4>>2]=i;b[n>>0]=0;_sb(l+i|0,n);u=o;return}function YBb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;if(c>>>0>4294967279)MBb(a);i=a+11|0;g=b[i>>0]|0;h=g<<24>>24<0;if(h){k=f[a+4>>2]|0;d=(f[a+8>>2]&2147483647)+-1|0}else{k=g&255;d=10}j=k>>>0>c>>>0?k:c;c=j>>>0<11;j=c?10:(j+16&-16)+-1|0;do if((j|0)!=(d|0)){do if(c){c=f[a>>2]|0;if(h){g=0;d=c;e=a;h=13}else{Gqb(a,c,(g&255)+1|0)|0;GBb(c);h=16}}else{d=j+1|0;e=EBb(d)|0;if(h){g=1;d=f[a>>2]|0;h=13;break}else{Gqb(e,a,(g&255)+1|0)|0;c=a+4|0;h=15;break}}while(0);if((h|0)==13){c=a+4|0;Gqb(e,d,(f[c>>2]|0)+1|0)|0;GBb(d);if(g){d=j+1|0;h=15}else h=16}if((h|0)==15){f[a+8>>2]=d|-2147483648;f[c>>2]=k;f[a>>2]=e;break}else if((h|0)==16){b[i>>0]=k;break}}while(0);return}function ZBb(a,b){a=a|0;b=b|0;return VBb(a,b,zrb(b)|0)|0}function _Bb(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+16|0;g=j;h=a+11|0;e=b[h>>0]|0;i=e<<24>>24<0;if(i)e=f[a+4>>2]|0;else e=e&255;do if(e>>>0>=c>>>0)if(i){i=(f[a>>2]|0)+c|0;b[g>>0]=0;_sb(i,g);f[a+4>>2]=c;break}else{b[g>>0]=0;_sb(a+c|0,g);b[h>>0]=c;break}else $Bb(a,c-e|0,d)|0;while(0);u=j;return}function $Bb(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;k=u;u=u+16|0;i=k;if(c|0){j=a+11|0;e=b[j>>0]|0;if(e<<24>>24<0){h=f[a+4>>2]|0;g=(f[a+8>>2]&2147483647)+-1|0}else{h=e&255;g=10}if((g-h|0)>>>0<c>>>0){aCb(a,g,h+c-g|0,h,h,0,0);e=b[j>>0]|0}if(e<<24>>24<0)g=f[a>>2]|0;else g=a;RBb(g+h|0,c,d)|0;e=h+c|0;if((b[j>>0]|0)<0)f[a+4>>2]=e;else b[j>>0]=e;b[i>>0]=0;_sb(g+e|0,i)}u=k;return a|0}function aCb(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;if((-17-c|0)>>>0<d>>>0)MBb(a);if((b[a+11>>0]|0)<0)l=f[a>>2]|0;else l=a;if(c>>>0<2147483623){j=d+c|0;k=c<<1;j=j>>>0<k>>>0?k:j;j=j>>>0<11?11:j+16&-16}else j=-17;k=EBb(j)|0;if(g|0)Gqb(k,l,g)|0;d=e-h-g|0;if(d|0)Gqb(k+g+i|0,l+g+h|0,d)|0;if((c|0)!=10)GBb(l);f[a>>2]=k;f[a+8>>2]=j|-2147483648;return}function bCb(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;k=u;u=u+16|0;i=k;j=a+11|0;e=b[j>>0]|0;g=e<<24>>24<0;if(g){h=f[a+4>>2]|0;e=(f[a+8>>2]&2147483647)+-1|0}else{h=e&255;e=10}if((e-h|0)>>>0>=d>>>0){if(d|0){if(g)g=f[a>>2]|0;else g=a;Gqb(g+h|0,c,d)|0;e=h+d|0;if((b[j>>0]|0)<0)f[a+4>>2]=e;else b[j>>0]=e;b[i>>0]=0;_sb(g+e|0,i)}}else XBb(a,e,h+d-e|0,h,h,0,d,c);u=k;return a|0}function cCb(a,b){a=a|0;b=b|0;return bCb(a,b,zrb(b)|0)|0}function dCb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;h=j;i=j+1|0;b[h>>0]=c;g=a+11|0;c=b[g>>0]|0;d=c<<24>>24<0;if(d){e=f[a+4>>2]|0;c=(f[a+8>>2]&2147483647)+-1|0}else{e=c&255;c=10}if((e|0)==(c|0)){aCb(a,c,1,c,c,0,0);if((b[g>>0]|0)<0)d=8;else d=7}else if(d)d=8;else d=7;if((d|0)==7){b[g>>0]=e+1;c=a}else if((d|0)==8){c=f[a>>2]|0;f[a+4>>2]=e+1}a=c+e|0;_sb(a,h);b[i>>0]=0;_sb(a+1|0,i);u=j;return}function eCb(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;m=u;u=u+16|0;k=m;l=a+11|0;g=b[l>>0]|0;h=g<<24>>24<0;if(h)j=f[a+4>>2]|0;else j=g&255;if(j>>>0<c>>>0)NBb(a);if(h)g=(f[a+8>>2]&2147483647)+-1|0;else g=10;if((g-j|0)>>>0>=e>>>0){if(e|0){if(h)i=f[a>>2]|0;else i=a;g=j-c|0;h=i+c|0;if(g){WBb(h+e|0,h,g)|0;d=h>>>0<=d>>>0&(i+j|0)>>>0>d>>>0?d+e|0:d}WBb(h,d,e)|0;d=j+e|0;if((b[l>>0]|0)<0)f[a+4>>2]=d;else b[l>>0]=d;b[k>>0]=0;_sb(i+d|0,k)}}else XBb(a,g,j+e-g|0,j,c,0,e,d);u=m;return a|0}function fCb(a,b,c){a=a|0;b=b|0;c=c|0;return eCb(a,b,c,zrb(c)|0)|0}function gCb(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;l=u;u=u+16|0;j=l;k=a+11|0;g=b[k>>0]|0;h=g<<24>>24<0;if(h)i=f[a+4>>2]|0;else i=g&255;if(i>>>0<c>>>0)NBb(a);if(d|0){if(h)g=(f[a+8>>2]&2147483647)+-1|0;else g=10;if((g-i|0)>>>0>=d>>>0){if(h)h=f[a>>2]|0;else h=a;g=i-c|0;if(g){m=h+c|0;WBb(m+d|0,m,g)|0}}else{aCb(a,g,i+d-g|0,i,c,0,d);h=f[a>>2]|0}RBb(h+c|0,d,e)|0;g=i+d|0;if((b[k>>0]|0)<0)f[a+4>>2]=g;else b[k>>0]=g;b[j>>0]=0;_sb(h+g|0,j)}u=l;return a|0}function hCb(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+16|0;j=l;k=a+11|0;g=b[k>>0]|0;e=g<<24>>24<0;if(e)h=f[a+4>>2]|0;else h=g&255;if(h>>>0<c>>>0)NBb(a);if(d|0){if(e)i=f[a>>2]|0;else i=a;e=h-c|0;d=e>>>0<d>>>0?e:d;e=e-d|0;if(e){g=i+c|0;WBb(g,g+d|0,e)|0;g=b[k>>0]|0}e=h-d|0;if(g<<24>>24<0)f[a+4>>2]=e;else b[k>>0]=e;b[j>>0]=0;_sb(i+e|0,j)}u=l;return a|0}function iCb(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;p=u;u=u+16|0;n=p;o=a+11|0;h=b[o>>0]|0;j=h<<24>>24<0;if(j)m=f[a+4>>2]|0;else m=h&255;if(m>>>0<c>>>0)NBb(a);i=m-c|0;h=i>>>0<d>>>0?i:d;if(j)d=(f[a+8>>2]&2147483647)+-1|0;else d=10;if((h-m+d|0)>>>0<g>>>0)XBb(a,d,m+g-h-d|0,m,c,h,g,e);else{if(j)l=f[a>>2]|0;else l=a;do if((h|0)!=(g|0)){j=i-h|0;if(!j){d=e;k=21}else{d=l+c|0;if(h>>>0>g>>>0){WBb(d,e,g)|0;WBb(d+g|0,d+h|0,j)|0;break}do if(d>>>0<e>>>0&(l+m|0)>>>0>e>>>0)if((d+h|0)>>>0>e>>>0){WBb(d,e,h)|0;d=h+c|0;c=d;i=e+g|0;g=g-h|0;h=0;d=l+d|0;break}else{i=e+(g-h)|0;break}else i=e;while(0);WBb(d+g|0,d+h|0,j)|0;d=i;k=21}}else{h=g;d=e;k=21}while(0);if((k|0)==21)WBb(l+c|0,d,g)|0;g=g-h+m|0;if((b[o>>0]|0)<0)f[a+4>>2]=g;else b[o>>0]=g;b[n>>0]=0;_sb(l+g|0,n)}u=p;return a|0}function jCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return iCb(a,b,c,d,zrb(d)|0)|0}function kCb(a,c,d){a=a|0;c=c|0;d=d|0;if(!c)a=0;else a=Ymb(a,Fqb(b[d>>0]|0)|0,c)|0;return a|0}function lCb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;h=u;u=u+16|0;g=h;e=b[a+11>>0]|0;if(e<<24>>24<0){e=f[a+4>>2]|0;a=f[a>>2]|0}else e=e&255;b[g>>0]=c;if(e>>>0>d>>>0){g=kCb(a+d|0,e-d|0,g)|0;a=(g|0)==0?-1:g-a|0}else a=-1;u=h;return a|0}function mCb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=b[a+11>>0]|0;if(e<<24>>24<0){e=f[a+4>>2]|0;a=f[a>>2]|0}else e=e&255;a:do if(!e)e=-1;else{e=a+(e>>>0>d>>>0?d+1|0:e)|0;do{if((e|0)==(a|0)){e=-1;break a}e=e+-1|0}while(!(Grb(b[e>>0]|0,c)|0));e=e-a|0}while(0);return e|0}function nCb(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;h=b[a+11>>0]|0;i=h<<24>>24<0;if(i)h=f[a+4>>2]|0;else h=h&255;if((g|0)==-1|h>>>0<c>>>0)NBb(a);h=h-c|0;d=h>>>0<d>>>0?h:d;if(i)a=f[a>>2]|0;h=d>>>0>g>>>0;a=ABb(a+c|0,e,h?g:d)|0;if(!a)return (d>>>0<g>>>0?-1:h&1)|0;else return a|0;return 0}function oCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return nCb(a,b,c,d,zrb(d)|0)|0}function pCb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0;h=u;u=u+16|0;g=h;if(e>>>0>4294967279)MBb(a);if(e>>>0<11)b[a+11>>0]=d;else{i=e+16&-16;e=EBb(i)|0;f[a>>2]=e;f[a+8>>2]=i|-2147483648;f[a+4>>2]=d;a=e}Gqb(a,c,d)|0;b[g>>0]=0;_sb(a+d|0,g);u=h;return}function qCb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=u;u=u+16|0;h=i;if(d>>>0>1073741807)MBb(a);do if(d>>>0>=2){g=d+4&-4;if(g>>>0>1073741823)Lb();else{e=EBb(g<<2)|0;f[a>>2]=e;f[a+8>>2]=g|-2147483648;f[a+4>>2]=d;break}}else{b[a+8+3>>0]=d;e=a}while(0);Yqb(e,c,d)|0;f[h>>2]=0;gtb(e+(d<<2)|0,h);u=i;return}function rCb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;i=u;u=u+16|0;h=i;if(c>>>0>1073741807)MBb(a);do if(c>>>0>=2){g=c+4&-4;if(g>>>0>1073741823)Lb();else{e=EBb(g<<2)|0;f[a>>2]=e;f[a+8>>2]=g|-2147483648;f[a+4>>2]=c;break}}else{b[a+8+3>>0]=c;e=a}while(0);sCb(e,c,d)|0;f[h>>2]=0;gtb(e+(c<<2)|0,h);u=i;return}function sCb(a,b,c){a=a|0;b=b|0;c=c|0;if(b)Vmb(a,c,b)|0;return a|0}function tCb(a){a=a|0;if((b[a+8+3>>0]|0)<0)GBb(f[a>>2]|0);return}function uCb(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+16|0;j=l;e=a+8|0;k=e+3|0;h=b[k>>0]|0;i=h<<24>>24<0;if(i)g=(f[e>>2]&2147483647)+-1|0;else g=1;do if(g>>>0>=d>>>0){if(i)e=f[a>>2]|0;else e=a;vCb(e,c,d)|0;f[j>>2]=0;gtb(e+(d<<2)|0,j);if((b[k>>0]|0)<0){f[a+4>>2]=d;break}else{b[k>>0]=d;break}}else{if(i)e=f[a+4>>2]|0;else e=h&255;wCb(a,g,d-g|0,e,0,e,d,c)}while(0);u=l;return a|0}function vCb(a,b,c){a=a|0;b=b|0;c=c|0;if(c)bnb(a,b,c)|0;return a|0}function wCb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+16|0;o=p;if((1073741806-c|0)>>>0<d>>>0)MBb(a);l=a+8|0;if((b[l+3>>0]|0)<0)n=f[a>>2]|0;else n=a;if(c>>>0<536870887){d=d+c|0;k=c<<1;d=d>>>0<k>>>0?k:d;d=d>>>0<2?2:d+4&-4;if(d>>>0>1073741823)Lb();else m=d}else m=1073741807;k=EBb(m<<2)|0;if(g|0)Yqb(k,n,g)|0;if(i|0)Yqb(k+(g<<2)|0,j,i)|0;d=e-h|0;e=d-g|0;if(e|0)Yqb(k+(g<<2)+(i<<2)|0,n+(g<<2)+(h<<2)|0,e)|0;if((c|0)!=1)GBb(n);f[a>>2]=k;f[l>>2]=m|-2147483648;i=d+i|0;f[a+4>>2]=i;f[o>>2]=0;gtb(k+(i<<2)|0,o);u=p;return}function xCb(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;if(c>>>0>1073741807)MBb(a);l=a+8|0;i=l+3|0;g=b[i>>0]|0;h=g<<24>>24<0;if(h){k=f[a+4>>2]|0;d=(f[l>>2]&2147483647)+-1|0}else{k=g&255;d=1}j=k>>>0>c>>>0?k:c;c=j>>>0<2;j=c?1:(j+4&-4)+-1|0;do if((j|0)!=(d|0)){do if(c){c=f[a>>2]|0;if(h){g=0;d=c;e=a;h=15}else{Yqb(a,c,(g&255)+1|0)|0;GBb(c);h=18}}else{d=j+1|0;if(d>>>0>1073741823)Lb();e=EBb(d<<2)|0;if(h){g=1;d=f[a>>2]|0;h=15;break}else{Yqb(e,a,(g&255)+1|0)|0;c=a+4|0;h=17;break}}while(0);if((h|0)==15){c=a+4|0;Yqb(e,d,(f[c>>2]|0)+1|0)|0;GBb(d);if(g){d=j+1|0;h=17}else h=18}if((h|0)==17){f[l>>2]=d|-2147483648;f[c>>2]=k;f[a>>2]=e;break}else if((h|0)==18){b[i>>0]=k;break}}while(0);return}function yCb(a,b){a=a|0;b=b|0;return uCb(a,b,gwb(b)|0)|0}function zCb(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;if((1073741807-c|0)>>>0<d>>>0)MBb(a);m=a+8|0;if((b[m+3>>0]|0)<0)l=f[a>>2]|0;else l=a;if(c>>>0<536870887){d=d+c|0;j=c<<1;d=d>>>0<j>>>0?j:d;d=d>>>0<2?2:d+4&-4;if(d>>>0>1073741823)Lb();else k=d}else k=1073741807;j=EBb(k<<2)|0;if(g|0)Yqb(j,l,g)|0;d=e-h-g|0;if(d|0)Yqb(j+(g<<2)+(i<<2)|0,l+(g<<2)+(h<<2)|0,d)|0;if((c|0)!=1)GBb(l);f[a>>2]=j;f[m>>2]=k|-2147483648;return}function ACb(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+16|0;j=l;g=a+8|0;k=g+3|0;e=b[k>>0]|0;i=e<<24>>24<0;if(i){h=f[a+4>>2]|0;e=(f[g>>2]&2147483647)+-1|0}else{h=e&255;e=1}if((e-h|0)>>>0>=d>>>0){if(d|0){if(i)g=f[a>>2]|0;else g=a;Yqb(g+(h<<2)|0,c,d)|0;e=h+d|0;if((b[k>>0]|0)<0)f[a+4>>2]=e;else b[k>>0]=e;f[j>>2]=0;gtb(g+(e<<2)|0,j)}}else wCb(a,e,h+d-e|0,h,h,0,d,c);u=l;return a|0}function BCb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;i=k;j=k+4|0;f[i>>2]=c;d=a+8|0;h=d+3|0;c=b[h>>0]|0;e=c<<24>>24<0;if(e){g=f[a+4>>2]|0;c=(f[d>>2]&2147483647)+-1|0}else{g=c&255;c=1}if((g|0)==(c|0)){zCb(a,c,1,c,c,0,0);if((b[h>>0]|0)<0)d=8;else d=7}else if(e)d=8;else d=7;if((d|0)==7){b[h>>0]=g+1;c=a}else if((d|0)==8){c=f[a>>2]|0;f[a+4>>2]=g+1}a=c+(g<<2)|0;gtb(a,i);f[j>>2]=0;gtb(a+4|0,j);u=k;return}function CCb(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;e=0;while(1){if((e|0)==3)break;f[a+(e<<2)>>2]=0;e=e+1|0}h=zrb(c)|0;g=d+11|0;e=b[g>>0]|0;e=e<<24>>24<0?f[d+4>>2]|0:e&255;pCb(a,c,h,e+h|0);bCb(a,(b[g>>0]|0)<0?f[d>>2]|0:d,e)|0;return}function DCb(a){a=a|0;Lb()}function ECb(a){a=a|0;Lb()}function FCb(){return (GCb()|0)>0|0}function GCb(){return (fb()|0)&1|0}function HCb(){var a=0,b=0,c=0,d=0,e=0,g=0,h=0,i=0;e=u;u=u+48|0;h=e+32|0;c=e+24|0;i=e+16|0;g=e;e=e+36|0;a=ICb()|0;if(a|0?(d=f[a>>2]|0,d|0):0){a=d+48|0;b=f[a>>2]|0;a=f[a+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){f[c>>2]=489581;JCb(489531,c)}if((b|0)==1126902529&(a|0)==1129074247)a=f[d+44>>2]|0;else a=d+80|0;f[e>>2]=a;d=f[d>>2]|0;a=f[d+4>>2]|0;if(dj[f[(f[75516]|0)+16>>2]&255](302064,d,e)|0){i=f[e>>2]|0;i=_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;f[g>>2]=489581;f[g+4>>2]=a;f[g+8>>2]=i;JCb(489445,g)}else{f[i>>2]=489581;f[i+4>>2]=a;JCb(489490,i)}}JCb(489569,h)}function ICb(){var a=0,b=0;a=u;u=u+16|0;if(!(Hi(505004,14)|0)){b=Ai(f[126252]|0)|0;u=a;return b|0}else JCb(489720,a);return 0}function JCb(a,b){a=a|0;b=b|0;var c=0;c=u;u=u+16|0;f[c>>2]=b;b=f[89495]|0;Wnb(b,a,c)|0;Rpb(10,b)|0;Lb()}function KCb(a){a=a|0;return}function LCb(a){a=a|0;KCb(a);GBb(a);return}function MCb(a){a=a|0;return}function NCb(a){a=a|0;return}function OCb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+64|0;e=h;if(!(SCb(a,b,0)|0))if((b|0)!=0?(g=WCb(b,302088,302072,0)|0,(g|0)!=0):0){b=e+4|0;d=b+52|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(d|0));f[e>>2]=g;f[e+8>>2]=a;f[e+12>>2]=-1;f[e+48>>2]=1;Ij[f[(f[g>>2]|0)+28>>2]&127](g,e,f[c>>2]|0,1);if((f[e+24>>2]|0)==1){f[c>>2]=f[e+16>>2];b=1}else b=0}else b=0;else b=1;u=h;return b|0}function PCb(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;if(SCb(a,f[b+8>>2]|0,g)|0)VCb(0,b,c,d,e);return}
  9. function OLa(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.0,j=0.0,k=0,l=0.0,m=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,v=0.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.0,I=0,J=0.0,K=0.0,L=0.0,M=0.0,N=0,O=0;O=u;u=u+64|0;N=O+32|0;E=O;I=f[a>>2]|0;m=f[I+64>>2]|0;G=f[a+28>>2]|0;k=G;D=m;C=f[m+(e<<5)+24>>2]|0;h=(C|0)<0;if((f[a+32>>2]|0)-G>>2>>>0>g>>>0){if(!h){u=O;return e|0}h=f[m+(e<<5)+28>>2]|0;if(h>>>0>(f[c+4>>2]|0)>>>0){z=f[k+(g<<2)>>2]|0;B=~C;A=-2-C+h|0;G=d+(z<<2)|0;F=d+12+(z<<2)|0;H=(+n[G>>2]+ +n[F>>2])*.5;if((A|0)>(B|0)){x=a+40|0;y=a+52|0;h=A;k=B;do{a:do if((k|0)<(h|0)){m=f[x>>2]|0;s=f[y>>2]|0;do{if(!(+n[s+((f[m+(k<<2)>>2]|0)*12|0)+(z<<2)>>2]<=H))break a;k=k+1|0}while((k|0)<(h|0))}while(0);b:do if((k|0)<(h|0)){t=f[x>>2]|0;w=f[y>>2]|0;while(1){m=t+(h<<2)|0;s=f[m>>2]|0;if(!(+n[w+(s*12|0)+(z<<2)>>2]>H))break;h=h+-1|0;if((k|0)>=(h|0))break b}t=t+(k<<2)|0;w=f[t>>2]|0;f[t>>2]=s;f[m>>2]=w;h=h+-1|0;k=k+1|0}while(0)}while((k|0)<(h|0))}else{h=A;k=B}do if((k|0)==(h|0))if(!(+n[(f[a+52>>2]|0)+((f[(f[a+40>>2]|0)+(k<<2)>>2]|0)*12|0)+(z<<2)>>2]<=H)){h=k+-1|0;break}else{h=k;k=k+1|0;break}while(0);B=h-B|0;n[N>>2]=3402823466385288598117041.0e14;n[N+4>>2]=3402823466385288598117041.0e14;n[N+8>>2]=3402823466385288598117041.0e14;n[N+12>>2]=-3402823466385288598117041.0e14;n[N+16>>2]=-3402823466385288598117041.0e14;n[N+20>>2]=-3402823466385288598117041.0e14;f[N+24>>2]=C;f[N+28>>2]=B+1;h=A-k|0;n[E>>2]=3402823466385288598117041.0e14;n[E+4>>2]=3402823466385288598117041.0e14;n[E+8>>2]=3402823466385288598117041.0e14;n[E+12>>2]=-3402823466385288598117041.0e14;n[E+16>>2]=-3402823466385288598117041.0e14;n[E+20>>2]=-3402823466385288598117041.0e14;f[E+24>>2]=~k;f[E+28>>2]=h+1;do if((B|0)>=0)if((h|0)>=0){h=I+68|0;k=f[h>>2]|0;t=k-D>>5;if((f[I+72>>2]|0)==(k|0))NLa(I+64|0,N);else{I=k;f[I>>2]=f[N>>2];f[I+4>>2]=f[N+4>>2];f[I+8>>2]=f[N+8>>2];f[I+12>>2]=f[N+12>>2];f[I+16>>2]=f[N+16>>2];f[I+20>>2]=f[N+20>>2];f[I+24>>2]=f[N+24>>2];f[I+28>>2]=f[N+28>>2];f[h>>2]=(f[h>>2]|0)+32}I=f[a>>2]|0;h=I+64|0;k=I+68|0;m=f[k>>2]|0;s=m-(f[h>>2]|0)>>5;if((f[I+72>>2]|0)==(m|0)){NLa(h,E);k=0;break}else{I=m;f[I>>2]=f[E>>2];f[I+4>>2]=f[E+4>>2];f[I+8>>2]=f[E+8>>2];f[I+12>>2]=f[E+12>>2];f[I+16>>2]=f[E+16>>2];f[I+20>>2]=f[E+20>>2];f[I+24>>2]=f[E+24>>2];f[I+28>>2]=f[E+28>>2];f[k>>2]=(f[k>>2]|0)+32;k=0;break}}else{k=1;s=0;t=e}else{k=1;s=e;t=0}while(0);h=f[F>>2]|0;n[F>>2]=H;if(!t)D=0;else D=OLa(a,c,d,t,g+1|0)|0;f[F>>2]=h;h=f[G>>2]|0;n[G>>2]=H;if(!s)C=0;else C=OLa(a,c,d,s,g+1|0)|0;f[G>>2]=h;if(k){u=O;return e|0}h=f[(f[a>>2]|0)+64>>2]|0;f[h+(e<<5)+24>>2]=D;f[h+(e<<5)+28>>2]=C;m=h+(e<<5)|0;n[m>>2]=3402823466385288598117041.0e14;w=h+(e<<5)+4|0;n[w>>2]=3402823466385288598117041.0e14;x=h+(e<<5)+8|0;n[x>>2]=3402823466385288598117041.0e14;y=h+(e<<5)+12|0;n[y>>2]=-3402823466385288598117041.0e14;z=h+(e<<5)+16|0;n[z>>2]=-3402823466385288598117041.0e14;A=h+(e<<5)+20|0;n[A>>2]=-3402823466385288598117041.0e14;B=(D|0)!=0;do if(((B?(p=+n[h+(D<<5)+12>>2],r=+n[h+(D<<5)>>2],p>=r):0)?(l=+n[h+(D<<5)+16>>2],o=+n[h+(D<<5)+4>>2],l>=o):0)?(v=+n[h+(D<<5)+20>>2],j=+n[h+(D<<5)+8>>2],v>=j):0){if(r<3402823466385288598117041.0e14)n[m>>2]=r;else r=3402823466385288598117041.0e14;if(p>-3402823466385288598117041.0e14)n[y>>2]=p;else p=-3402823466385288598117041.0e14;if(o<3402823466385288598117041.0e14)n[w>>2]=o;else o=3402823466385288598117041.0e14;if(l>-3402823466385288598117041.0e14)n[z>>2]=l;else l=-3402823466385288598117041.0e14;if(j<3402823466385288598117041.0e14)n[x>>2]=j;else j=3402823466385288598117041.0e14;if(!(v>-3402823466385288598117041.0e14)){v=-3402823466385288598117041.0e14;break}n[A>>2]=v}else{r=3402823466385288598117041.0e14;p=-3402823466385288598117041.0e14;o=3402823466385288598117041.0e14;l=-3402823466385288598117041.0e14;j=3402823466385288598117041.0e14;v=-3402823466385288598117041.0e14}while(0);k=(C|0)!=0;do if(((k?(J=+n[h+(C<<5)+12>>2],q=+n[h+(C<<5)>>2],J>=q):0)?(L=+n[h+(C<<5)+16>>2],K=+n[h+(C<<5)+4>>2],L>=K):0)?(i=+n[h+(C<<5)+20>>2],M=+n[h+(C<<5)+8>>2],i>=M):0){if(q<r)n[m>>2]=q;else q=r;if(J>p){n[y>>2]=J;p=J}if(K<o){n[w>>2]=K;o=K}if(L>l){n[z>>2]=L;l=L}if(M<j){n[x>>2]=M;j=M}if(!(i>v)){i=v;break}n[A>>2]=i}else{q=r;i=v}while(0);if(!(!(p>=q)|!(l>=o)|!(i>=j))){u=O;return e|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){I=bsb(Nu(bsb(Nu(Hua(3)|0,435714,15)|0,D)|0,435730,27)|0,t)|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}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){I=bsb(Nu(bsb(Nu(Hua(3)|0,435758,16)|0,C)|0,435775,28)|0,s)|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}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){I=bsb(Nu(bsb(Nu(Hua(3)|0,435804,26)|0,D)|0,414635,2)|0,C)|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}do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>2){I=Nu(Hua(3)|0,435831,11)|0;g=Nu(hsb(I,+n[m>>2])|0,432341,1)|0;g=Nu(hsb(g,+n[w>>2])|0,432341,1)|0;hsb(g,+n[x>>2])|0;I=Nu(I,409404,1)|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}do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>2){I=Nu(Hua(3)|0,435843,11)|0;g=Nu(hsb(I,+n[y>>2])|0,432341,1)|0;g=Nu(hsb(g,+n[z>>2])|0,432341,1)|0;hsb(g,+n[A>>2])|0;I=Nu(I,409404,1)|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}do if(B){do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>2){I=Nu(Hua(3)|0,435855,35)|0;g=f[(f[a>>2]|0)+64>>2]|0;d=Nu(hsb(I,+n[g+(D<<5)>>2])|0,432341,1)|0;d=Nu(hsb(d,+n[g+(D<<5)+4>>2])|0,432341,1)|0;hsb(d,+n[g+(D<<5)+8>>2])|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}do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=2)break;I=Nu(Hua(3)|0,435891,39)|0;g=f[(f[a>>2]|0)+64>>2]|0;d=Nu(hsb(I,+n[g+(D<<5)+12>>2])|0,432341,1)|0;d=Nu(hsb(d,+n[g+(D<<5)+16>>2])|0,432341,1)|0;hsb(d,+n[g+(D<<5)+20>>2])|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}while(0);if(!k){u=O;return e|0}do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>2){I=Nu(Hua(3)|0,435931,36)|0;g=f[(f[a>>2]|0)+64>>2]|0;d=Nu(hsb(I,+n[g+(C<<5)>>2])|0,432341,1)|0;d=Nu(hsb(d,+n[g+(C<<5)+4>>2])|0,432341,1)|0;hsb(d,+n[g+(C<<5)+8>>2])|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}do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=2){u=O;return e|0}I=Nu(Hua(3)|0,435968,36)|0;a=f[(f[a>>2]|0)+64>>2]|0;g=Nu(hsb(I,+n[a+(C<<5)+12>>2])|0,432341,1)|0;g=Nu(hsb(g,+n[a+(C<<5)+16>>2])|0,432341,1)|0;hsb(g,+n[a+(C<<5)+20>>2])|0;Drb(N,I+(f[(f[I>>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(I,a)|0;Krb(I)|0;u=O;return e|0}}else if(!h){u=O;return e|0}h=~C;N=f[m+(e<<5)+28>>2]|0;C=N+h|0;D=m+(e<<5)|0;n[D>>2]=3402823466385288598117041.0e14;E=m+(e<<5)+4|0;n[E>>2]=3402823466385288598117041.0e14;F=m+(e<<5)+8|0;n[F>>2]=3402823466385288598117041.0e14;G=m+(e<<5)+12|0;n[G>>2]=-3402823466385288598117041.0e14;c=m+(e<<5)+16|0;n[c>>2]=-3402823466385288598117041.0e14;B=m+(e<<5)+20|0;n[B>>2]=-3402823466385288598117041.0e14;if((N|0)<=0){u=O;return e|0}y=f[a+40>>2]|0;z=f[I+40>>2]|0;A=f[I+52>>2]|0;x=I+36|0;i=-3402823466385288598117041.0e14;j=3402823466385288598117041.0e14;l=-3402823466385288598117041.0e14;p=3402823466385288598117041.0e14;q=-3402823466385288598117041.0e14;o=3402823466385288598117041.0e14;do{k=f[z+(f[y+(h<<2)>>2]<<2)>>2]|0;m=f[A+(k+1<<2)>>2]|0;if(m){w=f[(f[x>>2]|0)+76>>2]|0;t=k+2|0;while(1){s=f[A+(t<<2)>>2]|0;k=w+(s*12|0)|0;r=+n[k>>2];if(r<o){n[D>>2]=r;v=r;o=+n[k>>2]}else{v=o;o=r}if(o>q){n[G>>2]=o;q=o}k=w+(s*12|0)+4|0;o=+n[k>>2];if(o<p){n[E>>2]=o;p=o;o=+n[k>>2]}if(o>l){n[c>>2]=o;l=o}k=w+(s*12|0)+8|0;o=+n[k>>2];if(o<j){n[F>>2]=o;j=o;o=+n[k>>2]}if(o>i){n[B>>2]=o;i=o}m=m+-1|0;if(!m){o=v;break}else{t=t+1|0;o=v}}}h=h+1|0}while((h|0)<(C|0));if(!(q>=o)|!(l>=p)|!(i>=j)){u=O;return e|0}n[D>>2]=o+-9.999999974752427e-07;n[E>>2]=p+-9.999999974752427e-07;n[F>>2]=j+-9.999999974752427e-07;n[G>>2]=q+9.999999974752427e-07;n[c>>2]=l+9.999999974752427e-07;n[B>>2]=i+9.999999974752427e-07;u=O;return e|0}function PLa(a){a=a|0;GBb(a);return}function QLa(a,b,c){a=a|0;b=b|0;c=c|0;return}function RLa(a,b,c){a=a|0;b=b|0;c=c|0;return}function SLa(a,b,c){a=a|0;b=b|0;c=c|0;return}function TLa(a,b,c){a=a|0;b=b|0;c=c|0;return}function ULa(a,b,c){a=a|0;b=b|0;c=c|0;return}function VLa(a,b,c){a=a|0;b=b|0;c=c|0;return}function WLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;do switch(b|0){case 4:{if((d|0)<=2)return;b=a+4|0;a=2;while(1){_La(b,c,c+1|0,c+2|0);a=a+3|0;if((a|0)>=(d|0))break;else c=c+3|0}return}case 5:{if((d|0)<=2)return;b=a+4|0;a=2;do{if(!(a&1)){e=c+1|0;_La(b,c,e,c+2|0);c=e}else{e=c+1|0;_La(b,c,c+2|0,e);c=e}a=a+1|0}while((a|0)!=(d|0));return}case 7:{if((d|0)<=3)return;b=a+4|0;a=3;while(1){$La(b,c,c+1|0,c+2|0,c+3|0);a=a+4|0;if((a|0)>=(d|0))break;else c=c+4|0}return}case 8:{if((d|0)<=3)return;b=a+4|0;a=3;do{e=c;c=c+2|0;$La(b,e,e+1|0,c,e+3|0);a=a+2|0}while((a|0)<(d|0));return}case 6:case 9:{if((d|0)<=2)return;e=a+4|0;a=2;b=c+1|0;do{f=b;b=b+1|0;_La(e,c,f,b);a=a+1|0}while((a|0)!=(d|0));return}case 0:{if((d|0)<=0)return;b=a+4|0;a=0;while(1){aMa(b,c);a=a+1|0;if((a|0)==(d|0))break;else c=c+1|0}return}case 1:{if((d|0)<=1)return;b=a+4|0;a=1;while(1){bMa(b,c,c+1|0);a=a+2|0;if((a|0)>=(d|0))break;else c=c+2|0}return}case 3:{if((d|0)<=1)return;b=a+4|0;a=1;do{f=c;c=c+1|0;bMa(b,f,c);a=a+1|0}while((a|0)!=(d|0));return}case 2:{e=a+4|0;if((d|0)>1){a=c;b=1;do{f=a;a=a+1|0;bMa(e,f,a);b=b+1|0}while((b|0)!=(d|0))}bMa(e,c+-1+d|0,c);return}default:return}while(0)}function XLa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,i=0;if((d|0)==0|(e|0)==0)return;do switch(c|0){case 4:{f=e+d|0;if((d|0)<=0)return;c=a+4|0;do{_La(c,h[e>>0]|0,h[e+1>>0]|0,h[e+2>>0]|0);e=e+3|0}while(e>>>0<f>>>0);return}case 5:{if((d|0)<=2)return;a=a+4|0;f=2;do{c=h[e>>0]|0;if(!(f&1)){i=e+1|0;_La(a,c,h[i>>0]|0,h[e+2>>0]|0);e=i}else{i=e+1|0;_La(a,c,h[e+2>>0]|0,h[i>>0]|0);e=i}f=f+1|0}while((f|0)!=(d|0));return}case 7:{if((d|0)<=3)return;f=a+4|0;c=3;while(1){$La(f,h[e>>0]|0,h[e+1>>0]|0,h[e+2>>0]|0,h[e+3>>0]|0);c=c+4|0;if((c|0)>=(d|0))break;else e=e+4|0}return}case 8:{if((d|0)<=3)return;f=a+4|0;c=3;do{i=e;e=e+2|0;$La(f,h[i>>0]|0,h[i+1>>0]|0,h[e>>0]|0,h[i+3>>0]|0);c=c+2|0}while((c|0)<(d|0));return}case 6:case 9:{if((d|0)<=2)return;f=a+4|0;a=h[e>>0]|0;c=2;e=e+1|0;do{i=e;e=e+1|0;_La(f,a,h[i>>0]|0,h[e>>0]|0);c=c+1|0}while((c|0)!=(d|0));return}case 0:{f=e+d|0;if((d|0)<=0)return;c=a+4|0;do{aMa(c,h[e>>0]|0);e=e+1|0}while(e>>>0<f>>>0);return}case 1:{f=e+d|0;if((d|0)<=0)return;c=a+4|0;do{bMa(c,h[e>>0]|0,h[e+1>>0]|0);e=e+2|0}while(e>>>0<f>>>0);return}case 3:{if((d|0)<=1)return;f=a+4|0;c=1;do{i=e;e=e+1|0;bMa(f,h[i>>0]|0,h[e>>0]|0);c=c+1|0}while((c|0)!=(d|0));return}case 2:{i=a+4|0;f=h[e>>0]|0;if((d|0)>1){a=e;g=1;c=f;while(1){a=a+1|0;bMa(i,c,h[a>>0]|0);g=g+1|0;c=b[a>>0]|0;if((g|0)==(d|0))break;else c=c&255}c=c&255;e=h[e>>0]|0}else{c=f;e=f}bMa(i,c,e);return}default:return}while(0)}function YLa(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0;if((c|0)==0|(e|0)==0)return;do switch(b|0){case 4:{f=e+(c<<1)|0;if((c|0)<=0)return;b=a+4|0;do{_La(b,j[e>>1]|0,j[e+2>>1]|0,j[e+4>>1]|0);e=e+6|0}while(e>>>0<f>>>0);return}case 5:{if((c|0)<=2)return;a=a+4|0;f=2;do{b=j[e>>1]|0;if(!(f&1)){h=e+2|0;_La(a,b,j[h>>1]|0,j[e+4>>1]|0);e=h}else{h=e+2|0;_La(a,b,j[e+4>>1]|0,j[h>>1]|0);e=h}f=f+1|0}while((f|0)!=(c|0));return}case 7:{if((c|0)<=3)return;f=a+4|0;b=3;while(1){$La(f,j[e>>1]|0,j[e+2>>1]|0,j[e+4>>1]|0,j[e+6>>1]|0);b=b+4|0;if((b|0)>=(c|0))break;else e=e+8|0}return}case 8:{if((c|0)<=3)return;f=a+4|0;b=3;do{h=e;e=e+4|0;$La(f,j[h>>1]|0,j[h+2>>1]|0,j[e>>1]|0,j[h+6>>1]|0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{if((c|0)<=2)return;f=a+4|0;a=j[e>>1]|0;b=2;e=e+2|0;do{h=e;e=e+2|0;_La(f,a,j[h>>1]|0,j[e>>1]|0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{f=e+(c<<1)|0;if((c|0)<=0)return;b=a+4|0;do{aMa(b,j[e>>1]|0);e=e+2|0}while(e>>>0<f>>>0);return}case 1:{f=e+(c<<1)|0;if((c|0)<=0)return;b=a+4|0;do{bMa(b,j[e>>1]|0,j[e+2>>1]|0);e=e+4|0}while(e>>>0<f>>>0);return}case 3:{if((c|0)<=1)return;f=a+4|0;b=1;do{h=e;e=e+2|0;bMa(f,j[h>>1]|0,j[e>>1]|0);b=b+1|0}while((b|0)!=(c|0));return}case 2:{h=a+4|0;f=j[e>>1]|0;if((c|0)>1){a=e;g=1;b=f;while(1){a=a+2|0;bMa(h,b,j[a>>1]|0);g=g+1|0;b=d[a>>1]|0;if((g|0)==(c|0))break;else b=b&65535}b=b&65535;e=j[e>>1]|0}else{b=f;e=f}bMa(h,b,e);return}default:return}while(0)}function ZLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;if((c|0)==0|(d|0)==0)return;do switch(b|0){case 4:{e=d+(c<<2)|0;if((c|0)<=0)return;b=a+4|0;do{_La(b,f[d>>2]|0,f[d+4>>2]|0,f[d+8>>2]|0);d=d+12|0}while(d>>>0<e>>>0);return}case 5:{if((c|0)<=2)return;g=a+4|0;e=2;do{b=f[d>>2]|0;if(!(e&1)){h=d+4|0;_La(g,b,f[h>>2]|0,f[d+8>>2]|0);d=h}else{h=d+4|0;_La(g,b,f[d+8>>2]|0,f[h>>2]|0);d=h}e=e+1|0}while((e|0)!=(c|0));return}case 7:{if((c|0)<=3)return;e=a+4|0;b=3;while(1){$La(e,f[d>>2]|0,f[d+4>>2]|0,f[d+8>>2]|0,f[d+12>>2]|0);b=b+4|0;if((b|0)>=(c|0))break;else d=d+16|0}return}case 8:{if((c|0)<=3)return;e=a+4|0;b=3;do{h=d;d=d+8|0;$La(e,f[h>>2]|0,f[h+4>>2]|0,f[d>>2]|0,f[h+12>>2]|0);b=b+2|0}while((b|0)<(c|0));return}case 6:case 9:{g=f[d>>2]|0;if((c|0)<=2)return;e=a+4|0;b=2;d=d+4|0;do{h=d;d=d+4|0;_La(e,g,f[h>>2]|0,f[d>>2]|0);b=b+1|0}while((b|0)!=(c|0));return}case 0:{e=d+(c<<2)|0;if((c|0)<=0)return;b=a+4|0;do{aMa(b,f[d>>2]|0);d=d+4|0}while(d>>>0<e>>>0);return}case 1:{e=d+(c<<2)|0;if((c|0)<=0)return;b=a+4|0;do{bMa(b,f[d>>2]|0,f[d+4>>2]|0);d=d+8|0}while(d>>>0<e>>>0);return}case 3:{if((c|0)<=1)return;e=a+4|0;b=1;do{h=d;d=d+4|0;bMa(e,f[h>>2]|0,f[d>>2]|0);b=b+1|0}while((b|0)!=(c|0));return}case 2:{h=a+4|0;a=f[d>>2]|0;if((c|0)>1){e=d;g=1;b=a;do{e=e+4|0;bMa(h,b,f[e>>2]|0);g=g+1|0;b=f[e>>2]|0}while((g|0)!=(c|0));d=f[d>>2]|0}else{b=a;d=a}bMa(h,b,d);return}default:return}while(0)}function _La(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0.0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0,x=0,y=0;y=u;u=u+16|0;x=y;m=f[f[a>>2]>>2]|0;w=f[(f[m+36>>2]|0)+76>>2]|0;k=w+(b*12|0)|0;i=+n[k>>2];l=w+(c*12|0)|0;j=+n[l>>2];if(!((i==j?+n[w+(b*12|0)+4>>2]==+n[w+(c*12|0)+4>>2]:0)?+n[w+(b*12|0)+8>>2]==+n[w+(c*12|0)+8>>2]:0))e=4;do if((e|0)==4){o=w+(d*12|0)|0;g=+n[o>>2];if((j==g?+n[w+(c*12|0)+4>>2]==+n[w+(d*12|0)+4>>2]:0)?+n[w+(c*12|0)+8>>2]==+n[w+(d*12|0)+8>>2]:0)break;if(g==i){h=w+(d*12|0)+4|0;e=w+(b*12|0)+4|0;if(+n[h>>2]==+n[e>>2]?+n[w+(d*12|0)+8>>2]==+n[w+(b*12|0)+8>>2]:0)break}else{e=w+(b*12|0)+4|0;h=w+(d*12|0)+4|0}fMa(m,b,c,d)|0;t=+n[k>>2];r=t<3402823466385288598117041.0e14?t:3402823466385288598117041.0e14;t=t>-3402823466385288598117041.0e14?t:-3402823466385288598117041.0e14;v=+n[e>>2];s=v<3402823466385288598117041.0e14?v:3402823466385288598117041.0e14;v=v>-3402823466385288598117041.0e14?v:-3402823466385288598117041.0e14;q=+n[w+(b*12|0)+8>>2];p=q<3402823466385288598117041.0e14?q:3402823466385288598117041.0e14;q=q>-3402823466385288598117041.0e14?q:-3402823466385288598117041.0e14;j=+n[l>>2];r=j<r?j:r;t=j>t?j:t;j=+n[w+(c*12|0)+4>>2];s=j<s?j:s;v=j>v?j:v;j=+n[w+(c*12|0)+8>>2];p=j<p?j:p;q=j>q?j:q;j=+n[o>>2];i=+n[h>>2];g=+n[w+(d*12|0)+8>>2];h=f[a>>2]|0;b=h+56|0;e=f[b>>2]|0;k=(e-(f[h+52>>2]|0)|0)/12|0;f[x>>2]=k;l=h+44|0;m=f[l>>2]|0;if(m>>>0<(f[h+48>>2]|0)>>>0){f[m>>2]=k;f[l>>2]=m+4}else{ML(h+40|0,x);h=f[a>>2]|0;e=h+56|0;b=e;e=f[e>>2]|0}n[x>>2]=((j<r?j:r)+(j>t?j:t))*.5;n[x+4>>2]=((i<s?i:s)+(i>v?i:v))*.5;n[x+8>>2]=((g<p?g:p)+(g>q?g:q))*.5;if((e|0)==(f[h+60>>2]|0))lF(h+52|0,x);else{f[e>>2]=f[x>>2];f[e+4>>2]=f[x+4>>2];f[e+8>>2]=f[x+8>>2];f[b>>2]=(f[b>>2]|0)+12}u=y;return}while(0);x=m+32|0;f[x>>2]=(f[x>>2]|0)+1;u=y;return}function $La(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.0,k=0.0,l=0.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,y=0,z=0,A=0;A=u;u=u+16|0;z=A;q=f[f[a>>2]>>2]|0;y=f[(f[q+36>>2]|0)+76>>2]|0;m=y+(b*12|0)|0;l=+n[m>>2];o=y+(c*12|0)|0;p=+n[o>>2];if(!((l==p?+n[y+(b*12|0)+4>>2]==+n[y+(c*12|0)+4>>2]:0)?+n[y+(b*12|0)+8>>2]==+n[y+(c*12|0)+8>>2]:0))g=4;do if((g|0)==4){i=y+(d*12|0)|0;j=+n[i>>2];if((p==j?+n[y+(c*12|0)+4>>2]==+n[y+(d*12|0)+4>>2]:0)?+n[y+(c*12|0)+8>>2]==+n[y+(d*12|0)+8>>2]:0)break;if((j==l?+n[y+(d*12|0)+4>>2]==+n[y+(b*12|0)+4>>2]:0)?+n[y+(d*12|0)+8>>2]==+n[y+(b*12|0)+8>>2]:0)break;x=y+(e*12|0)|0;k=+n[x>>2];if((k==l?+n[y+(e*12|0)+4>>2]==+n[y+(b*12|0)+4>>2]:0)?+n[y+(e*12|0)+8>>2]==+n[y+(b*12|0)+8>>2]:0)break;if((k==p?+n[y+(e*12|0)+4>>2]==+n[y+(c*12|0)+4>>2]:0)?+n[y+(e*12|0)+8>>2]==+n[y+(c*12|0)+8>>2]:0)break;if(k==j){h=y+(e*12|0)+4|0;g=y+(d*12|0)+4|0;if(+n[h>>2]==+n[g>>2]?+n[y+(e*12|0)+8>>2]==+n[y+(d*12|0)+8>>2]:0)break}else{g=y+(d*12|0)+4|0;h=y+(e*12|0)+4|0}eMa(q,b,c,d,e)|0;w=+n[m>>2];v=w<3402823466385288598117041.0e14?w:3402823466385288598117041.0e14;w=w>-3402823466385288598117041.0e14?w:-3402823466385288598117041.0e14;t=+n[y+(b*12|0)+4>>2];s=t<3402823466385288598117041.0e14?t:3402823466385288598117041.0e14;t=t>-3402823466385288598117041.0e14?t:-3402823466385288598117041.0e14;r=+n[y+(b*12|0)+8>>2];p=r<3402823466385288598117041.0e14?r:3402823466385288598117041.0e14;r=r>-3402823466385288598117041.0e14?r:-3402823466385288598117041.0e14;l=+n[o>>2];v=l<v?l:v;w=l>w?l:w;l=+n[y+(c*12|0)+4>>2];s=l<s?l:s;t=l>t?l:t;l=+n[y+(c*12|0)+8>>2];p=l<p?l:p;r=l>r?l:r;l=+n[i>>2];v=l<v?l:v;w=l>w?l:w;l=+n[g>>2];s=l<s?l:s;t=l>t?l:t;l=+n[y+(d*12|0)+8>>2];p=l<p?l:p;r=l>r?l:r;l=+n[x>>2];k=+n[h>>2];j=+n[y+(e*12|0)+8>>2];h=f[a>>2]|0;i=h+56|0;g=f[i>>2]|0;b=(g-(f[h+52>>2]|0)|0)/12|0;f[z>>2]=b;m=h+44|0;o=f[m>>2]|0;if(o>>>0<(f[h+48>>2]|0)>>>0){f[o>>2]=b;f[m>>2]=o+4}else{ML(h+40|0,z);h=f[a>>2]|0;g=h+56|0;i=g;g=f[g>>2]|0}n[z>>2]=((l<v?l:v)+(l>w?l:w))*.5;n[z+4>>2]=((k<s?k:s)+(k>t?k:t))*.5;n[z+8>>2]=((j<p?j:p)+(j>r?j:r))*.5;if((g|0)==(f[h+60>>2]|0))lF(h+52|0,z);else{f[g>>2]=f[z>>2];f[g+4>>2]=f[z+4>>2];f[g+8>>2]=f[z+8>>2];f[i>>2]=(f[i>>2]|0)+12}u=A;return}while(0);z=q+32|0;f[z>>2]=(f[z>>2]|0)+1;u=A;return}function aMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0.0,j=0.0,k=0.0,l=0,m=0;m=u;u=u+16|0;l=m;d=f[f[a>>2]>>2]|0;c=f[(f[d+36>>2]|0)+76>>2]|0;dMa(d,b)|0;j=+n[c+(b*12|0)>>2];k=+n[c+(b*12|0)+4>>2];i=+n[c+(b*12|0)+8>>2];c=f[a>>2]|0;d=c+56|0;b=f[d>>2]|0;e=(b-(f[c+52>>2]|0)|0)/12|0;f[l>>2]=e;g=c+44|0;h=f[g>>2]|0;if(h>>>0<(f[c+48>>2]|0)>>>0){f[h>>2]=e;f[g>>2]=h+4}else{ML(c+40|0,l);c=f[a>>2]|0;b=c+56|0;d=b;b=f[b>>2]|0}n[l>>2]=((j<3402823466385288598117041.0e14?j:3402823466385288598117041.0e14)+(j>-3402823466385288598117041.0e14?j:-3402823466385288598117041.0e14))*.5;n[l+4>>2]=((k<3402823466385288598117041.0e14?k:3402823466385288598117041.0e14)+(k>-3402823466385288598117041.0e14?k:-3402823466385288598117041.0e14))*.5;n[l+8>>2]=((i<3402823466385288598117041.0e14?i:3402823466385288598117041.0e14)+(i>-3402823466385288598117041.0e14?i:-3402823466385288598117041.0e14))*.5;if((b|0)==(f[c+60>>2]|0)){lF(c+52|0,l);u=m;return}else{f[b>>2]=f[l>>2];f[b+4>>2]=f[l+4>>2];f[b+8>>2]=f[l+8>>2];f[d>>2]=(f[d>>2]|0)+12;u=m;return}}function bMa(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.0,l=0.0,m=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0,w=0;w=u;u=u+16|0;v=w;g=f[f[a>>2]>>2]|0;j=f[(f[g+36>>2]|0)+76>>2]|0;e=j+(b*12|0)|0;i=j+(c*12|0)|0;h=j+(b*12|0)+4|0;if(+n[e>>2]==+n[i>>2]){d=j+(c*12|0)+4|0;if(+n[h>>2]==+n[d>>2]?+n[j+(b*12|0)+8>>2]==+n[j+(c*12|0)+8>>2]:0){v=g+32|0;f[v>>2]=(f[v>>2]|0)+1;u=w;return}}else d=j+(c*12|0)+4|0;cMa(g,b,c)|0;t=+n[e>>2];s=t<3402823466385288598117041.0e14?t:3402823466385288598117041.0e14;t=t>-3402823466385288598117041.0e14?t:-3402823466385288598117041.0e14;q=+n[h>>2];r=q<3402823466385288598117041.0e14?q:3402823466385288598117041.0e14;q=q>-3402823466385288598117041.0e14?q:-3402823466385288598117041.0e14;p=+n[j+(b*12|0)+8>>2];o=p<3402823466385288598117041.0e14?p:3402823466385288598117041.0e14;p=p>-3402823466385288598117041.0e14?p:-3402823466385288598117041.0e14;m=+n[i>>2];l=+n[d>>2];k=+n[j+(c*12|0)+8>>2];e=f[a>>2]|0;g=e+56|0;d=f[g>>2]|0;h=(d-(f[e+52>>2]|0)|0)/12|0;f[v>>2]=h;b=e+44|0;i=f[b>>2]|0;if(i>>>0<(f[e+48>>2]|0)>>>0){f[i>>2]=h;f[b>>2]=i+4}else{ML(e+40|0,v);e=f[a>>2]|0;d=e+56|0;g=d;d=f[d>>2]|0}n[v>>2]=((m<s?m:s)+(m>t?m:t))*.5;n[v+4>>2]=((l<r?l:r)+(l>q?l:q))*.5;n[v+8>>2]=((k<o?k:o)+(k>p?k:p))*.5;if((d|0)==(f[e+60>>2]|0))lF(e+52|0,v);else{f[d>>2]=f[v>>2];f[d+4>>2]=f[v+4>>2];f[d+8>>2]=f[v+8>>2];f[g>>2]=(f[g>>2]|0)+12}u=w;return}function cMa(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;o=u;u=u+16|0;h=o+8|0;m=o;n=o+12|0;e=o+4|0;f[h>>2]=b;f[m>>2]=c;i=a+52|0;j=a+56|0;d=f[j>>2]|0;f[n>>2]=d-(f[i>>2]|0)>>2;k=a+40|0;l=a+44|0;c=((f[l>>2]|0)-(f[k>>2]|0)>>2)+(f[a+32>>2]|0)|0;f[e>>2]=c;g=a+60|0;b=f[g>>2]|0;if(b>>>0>d>>>0){f[d>>2]=c;c=d+4|0;f[j>>2]=c}else{ML(i,e);c=f[j>>2]|0;b=f[g>>2]|0}f[e>>2]=2;if(c>>>0<b>>>0){f[c>>2]=2;c=c+4|0;f[j>>2]=c}else{ML(i,e);c=f[j>>2]|0;b=f[g>>2]|0}if((c|0)==(b|0)){iw(i,h);c=f[j>>2]|0;b=f[g>>2]|0}else{f[c>>2]=f[h>>2];c=c+4|0;f[j>>2]=c}if((c|0)==(b|0))iw(i,m);else{f[c>>2]=f[m>>2];f[j>>2]=c+4}b=f[l>>2]|0;if((b|0)==(f[a+48>>2]|0)){iw(k,n);n=f[n>>2]|0;u=o;return n|0}else{f[b>>2]=f[n>>2];f[l>>2]=b+4;n=f[n>>2]|0;u=o;return n|0}return 0}function dMa(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;n=u;u=u+16|0;l=n+4|0;m=n+8|0;g=n;f[l>>2]=b;h=a+52|0;i=a+56|0;d=f[i>>2]|0;f[m>>2]=d-(f[h>>2]|0)>>2;j=a+40|0;k=a+44|0;c=((f[k>>2]|0)-(f[j>>2]|0)>>2)+(f[a+32>>2]|0)|0;f[g>>2]=c;e=a+60|0;b=f[e>>2]|0;if(b>>>0>d>>>0){f[d>>2]=c;c=d+4|0;f[i>>2]=c}else{ML(h,g);c=f[i>>2]|0;b=f[e>>2]|0}f[g>>2]=1;if(c>>>0<b>>>0){f[c>>2]=1;c=c+4|0;f[i>>2]=c}else{ML(h,g);c=f[i>>2]|0;b=f[e>>2]|0}if((c|0)==(b|0))iw(h,l);else{f[c>>2]=f[l>>2];f[i>>2]=c+4}b=f[k>>2]|0;if((b|0)==(f[a+48>>2]|0)){iw(j,m);m=f[m>>2]|0;u=n;return m|0}else{f[b>>2]=f[m>>2];f[k>>2]=b+4;m=f[m>>2]|0;u=n;return m|0}return 0}function eMa(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=u;u=u+32|0;h=q+16|0;k=q+8|0;n=q+4|0;o=q;p=q+20|0;g=q+12|0;f[h>>2]=b;f[k>>2]=c;f[n>>2]=d;f[o>>2]=e;i=a+52|0;j=a+56|0;d=f[j>>2]|0;f[p>>2]=d-(f[i>>2]|0)>>2;l=a+40|0;m=a+44|0;c=((f[m>>2]|0)-(f[l>>2]|0)>>2)+(f[a+32>>2]|0)|0;f[g>>2]=c;e=a+60|0;b=f[e>>2]|0;if(b>>>0>d>>>0){f[d>>2]=c;c=d+4|0;f[j>>2]=c}else{ML(i,g);c=f[j>>2]|0;b=f[e>>2]|0}f[g>>2]=4;if(c>>>0<b>>>0){f[c>>2]=4;c=c+4|0;f[j>>2]=c}else{ML(i,g);c=f[j>>2]|0;b=f[e>>2]|0}if((c|0)==(b|0)){iw(i,h);c=f[j>>2]|0;b=f[e>>2]|0}else{f[c>>2]=f[h>>2];c=c+4|0;f[j>>2]=c}if((c|0)==(b|0)){iw(i,k);c=f[j>>2]|0;b=f[e>>2]|0}else{f[c>>2]=f[k>>2];c=c+4|0;f[j>>2]=c}if((c|0)==(b|0)){iw(i,n);c=f[j>>2]|0;b=f[e>>2]|0}else{f[c>>2]=f[n>>2];c=c+4|0;f[j>>2]=c}if((c|0)==(b|0))iw(i,o);else{f[c>>2]=f[o>>2];f[j>>2]=c+4}b=f[m>>2]|0;if((b|0)==(f[a+48>>2]|0)){iw(l,p);p=f[p>>2]|0;u=q;return p|0}else{f[b>>2]=f[p>>2];f[m>>2]=b+4;p=f[p>>2]|0;u=q;return p|0}return 0}function fMa(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;p=u;u=u+32|0;h=p+12|0;m=p+4|0;n=p;o=p+16|0;e=p+8|0;f[h>>2]=b;f[m>>2]=c;f[n>>2]=d;j=a+52|0;i=a+56|0;d=f[i>>2]|0;f[o>>2]=d-(f[j>>2]|0)>>2;k=a+40|0;l=a+44|0;c=((f[l>>2]|0)-(f[k>>2]|0)>>2)+(f[a+32>>2]|0)|0;f[e>>2]=c;g=a+60|0;b=f[g>>2]|0;if(b>>>0>d>>>0){f[d>>2]=c;c=d+4|0;f[i>>2]=c}else{ML(j,e);c=f[i>>2]|0;b=f[g>>2]|0}f[e>>2]=3;if(c>>>0<b>>>0){f[c>>2]=3;c=c+4|0;f[i>>2]=c}else{ML(j,e);c=f[i>>2]|0;b=f[g>>2]|0}if((c|0)==(b|0)){iw(j,h);c=f[i>>2]|0;b=f[g>>2]|0}else{f[c>>2]=f[h>>2];c=c+4|0;f[i>>2]=c}if((c|0)==(b|0)){iw(j,m);c=f[i>>2]|0;b=f[g>>2]|0}else{f[c>>2]=f[m>>2];c=c+4|0;f[i>>2]=c}if((c|0)==(b|0))iw(j,n);else{f[c>>2]=f[n>>2];f[i>>2]=c+4}b=f[l>>2]|0;if((b|0)==(f[a+48>>2]|0)){iw(k,o);o=f[o>>2]|0;u=p;return o|0}else{f[b>>2]=f[o>>2];f[l>>2]=b+4;o=f[o>>2]|0;u=p;return o|0}return 0}function gMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;Fva(a,b,c);f[a>>2]=345452;f[a+32>>2]=f[b+32>>2];c=f[b+36>>2]|0;f[a+36>>2]=c;if(c|0){i=c+8|0;f[i>>2]=(f[i>>2]|0)+1}d=a+64|0;e=b+64|0;i=a+68|0;g=a+72|0;h=b+68|0;c=a+40|0;b=c+36|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(b|0));c=(f[h>>2]|0)-(f[e>>2]|0)|0;b=c>>5;if(!c)return;if(b>>>0>134217727)DCb(d);a=EBb(c)|0;f[i>>2]=a;f[d>>2]=a;f[g>>2]=a+(b<<5);b=f[e>>2]|0;c=(f[h>>2]|0)-b|0;if((c|0)<=0)return;YDb(a|0,b|0,c|0)|0;f[i>>2]=a+(c>>>5<<5);return}function hMa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=345696;b=a+72|0;f[b>>2]=346068;c=a+68|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;dDa(a,346236);Gva(b);return}function iMa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=345696;b=a+72|0;f[b>>2]=346068;c=a+68|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;dDa(a,346236);Gva(b);GBb(a);return}function jMa(a){a=a|0;return 409756}function kMa(a){a=a|0;return 436134}function lMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=u;u=u+16|0;c=e;d=f[b+176>>2]|0;if(d|0?WCb(d,297488,297432,0)|0:0){u=e;return}d=f[a+68>>2]|0;f[c>>2]=346256;f[c+4>>2]=0;c=YMa(d,c)|0;if(c|0){d=c+8|0;f[d>>2]=(f[d>>2]|0)+1}if(dj[f[(f[c>>2]|0)+172>>2]&255](c,a+56|0,b)|0)Bj[f[(f[b>>2]|0)+232>>2]&1023](b,c);a=c+8|0;b=f[a>>2]|0;f[a>>2]=b-1;if((b|0)!=1){u=e;return}Rua(c,1,1);u=e;return}function mMa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;c=u;u=u+16|0;e=c;b=EBb(104)|0;d=b+72|0;g=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[e>>2]=346256;f[e+4>>2]=0;Fva(d,g,e);f[b+12>>2]=0;e=b+28|0;f[b+4>>2]=0;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[b+8>>2]=-1;f[b+16>>2]=2;f[b+20>>2]=-1;f[b+24>>2]=0;f[b>>2]=345696;f[d>>2]=346068;d=b+56|0;e=a+56|0;f[d>>2]=f[e>>2];f[d+4>>2]=f[e+4>>2];f[d+8>>2]=f[e+8>>2];a=f[a+68>>2]|0;f[b+68>>2]=a;if(!a){u=c;return b|0}g=a+8|0;f[g>>2]=(f[g>>2]|0)+1;u=c;return b|0}function nMa(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]=345696;b=a+72|0;f[b>>2]=346068;c=a+68|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;dDa(a,346236);Gva(b);return}function oMa(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]=345696;b=a+72|0;f[b>>2]=346068;c=a+68|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;dDa(a,346236);Gva(b);GBb(a);return}function pMa(a){a=a|0;return 409756}function qMa(a){a=a|0;return 436134}function rMa(a){a=a|0;return}function sMa(a){a=a|0;GBb(a);return}function tMa(a,b){a=a|0;b=b|0;return b|0}function uMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&1))return b|0;b=XMa(b,a)|0;return b|0}function vMa(a,b){a=a|0;b=b|0;var c=0;if(!b){c=0;return c|0}c=_i[f[(f[b>>2]|0)+92>>2]&2047](b)|0;if(c|0){c=cj[f[(f[a>>2]|0)+20>>2]&1023](a,c)|0;return c|0}if(!(f[a+4>>2]&2)){c=b;return c|0}c=WMa(b,a)|0;return c|0}function wMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&4))return b|0;b=VMa(b,a)|0;return b|0}function xMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&8))return b|0;b=UMa(b,a)|0;return b|0}function yMa(a,b){a=a|0;b=b|0;var c=0;if(!b){c=0;return c|0}if(!(f[a+4>>2]&16)){c=b;return c|0}c=WCb(b,282664,298168,0)|0;if(!c){c=TMa(b,a)|0;return c|0}else{c=cj[f[(f[a>>2]|0)+32>>2]&1023](a,c)|0;return c|0}return 0}function zMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&32))return b|0;b=SMa(b,a)|0;return b|0}function AMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&64))return b|0;b=RMa(b,a)|0;return b|0}function BMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&128))return b|0;b=QMa(b,a)|0;return b|0}function CMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&256))return b|0;b=PMa(b,a)|0;return b|0}function DMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&512))return b|0;b=OMa(b,a)|0;return b|0}function EMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&1024))return b|0;b=NMa(b,a)|0;return b|0}function FMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&1024))return b|0;b=MMa(b,a)|0;return b|0}function GMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;if(!b){h=0;return h|0}if(!(f[a+4>>2]&2048)){h=b;return h|0}c=LMa(b,a)|0;if(!c){h=0;return h|0}g=c+4|0;d=f[g>>2]|0;if(d|0?(f[g>>2]=0,e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);b=f[b+4>>2]|0;if(!b){h=c;return h|0}do{g=LMa(b,a)|0;if(g|0){d=g+4|0;e=f[d>>2]|0;if(e|0?(f[d>>2]=0,h=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,d=h+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(h,1,1);d=c;while(1){e=f[d+4>>2]|0;if(!e)break;else d=e}f[d+4>>2]=g;g=g+(f[(f[g>>2]|0)+-12>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1}b=f[b+4>>2]|0}while((b|0)!=0);return c|0}function HMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&2048))return b|0;b=KMa(b,a)|0;return b|0}function IMa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}if(!(f[a+4>>2]&2048))return b|0;b=JMa(b,a)|0;return b|0}function JMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+4>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,298072,-1)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function KMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+4>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,298096,-1)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function LMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+4>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,275704,-1)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function MMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,298120,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function NMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,298136,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function OMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,297488,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function PMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,298152,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function QMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,295184,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function RMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,297384,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function SMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,298168,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function TMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,282664,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function UMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,295528,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function VMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,296768,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function WMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,295136,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function XMa(a,c){a=a|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){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);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(c,a)|0;Krb(c)|0;d=0;u=e;return d|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;if(a|0){d=a+8|0;f[d>>2]=(f[d>>2]|0)+1;f[d>>2]=(f[d>>2]|0)-1;d=a;u=e;return d|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){d=0;u=e;return d|0}c=Nu(Hua(2)|0,409774,88)|0;Drb(d,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(c,a)|0;Krb(c)|0;d=0;u=e;return d|0}function YMa(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;if(!a){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,409863,88)|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;g=0;u=h;return g|0}a=cj[f[(f[a>>2]|0)+16>>2]&1023](a,c)|0;c=(a|0)==0;if(!c?(g=a+8|0,f[g>>2]=(f[g>>2]|0)+1,d=WCb(a,295088,297432,0)|0,d|0):0){f[g>>2]=(f[g>>2]|0)-1;g=d;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Nu(Hua(2)|0,409774,88)|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}if(c){g=0;u=h;return g|0}e=a+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){g=0;u=h;return g|0}Rua(a,1,1);g=0;u=h;return g|0}function ZMa(a){a=a|0;Kva(a);return}function _Ma(a){a=a|0;Kva(a);GBb(a);return}function $Ma(a){a=a|0;var b=0,c=0;b=EBb(156)|0;a=f[a+56>>2]|0;f[b+4>>2]=0;f[b+8>>2]=0;c=b+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+24>>2]=2;c=b+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[c+24>>2]=0;f[b>>2]=346336;n[b+60>>2]=.05000000074505806;n[b+64>>2]=.05000000074505806;n[b+68>>2]=.05000000074505806;n[b+72>>2]=1.0;n[b+76>>2]=.800000011920929;n[b+80>>2]=.800000011920929;n[b+84>>2]=.800000011920929;n[b+88>>2]=1.0;n[b+92>>2]=.05000000074505806;n[b+96>>2]=.05000000074505806;n[b+100>>2]=.05000000074505806;n[b+104>>2]=1.0;n[b+108>>2]=0.0;n[b+112>>2]=0.0;n[b+116>>2]=1.0;n[b+120>>2]=0.0;n[b+124>>2]=0.0;n[b+128>>2]=0.0;n[b+132>>2]=-1.0;n[b+148>>2]=0.0;n[b+152>>2]=180.0;n[b+136>>2]=1.0;n[b+140>>2]=0.0;n[b+144>>2]=0.0;f[b+56>>2]=a;return b|0}function aNa(a,b){a=a|0;b=b|0;var c=0,d=0;c=EBb(156)|0;Jva(c,a,b);f[c>>2]=346336;f[c+56>>2]=f[a+56>>2];b=c+60|0;d=a+60|0;f[b>>2]=f[d>>2];f[b+4>>2]=f[d+4>>2];f[b+8>>2]=f[d+8>>2];f[b+12>>2]=f[d+12>>2];b=c+76|0;d=a+76|0;f[b>>2]=f[d>>2];f[b+4>>2]=f[d+4>>2];f[b+8>>2]=f[d+8>>2];f[b+12>>2]=f[d+12>>2];b=c+92|0;d=a+92|0;f[b>>2]=f[d>>2];f[b+4>>2]=f[d+4>>2];f[b+8>>2]=f[d+8>>2];f[b+12>>2]=f[d+12>>2];b=c+108|0;d=a+108|0;f[b>>2]=f[d>>2];f[b+4>>2]=f[d+4>>2];f[b+8>>2]=f[d+8>>2];f[b+12>>2]=f[d+12>>2];b=c+124|0;d=a+124|0;f[b>>2]=f[d>>2];f[b+4>>2]=f[d+4>>2];f[b+8>>2]=f[d+8>>2];f[c+136>>2]=f[a+136>>2];f[c+140>>2]=f[a+140>>2];f[c+144>>2]=f[a+144>>2];f[c+148>>2]=f[a+148>>2];f[c+152>>2]=f[a+152>>2];return c|0}function bNa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298200,0)|0)!=0;return b|0}function cNa(a){a=a|0;return 409756}function dNa(a){a=a|0;return 436382}function eNa(a){a=a|0;return 10}function fNa(a){a=a|0;return f[a+56>>2]|0}function gNa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,g=0;if((a|0)==(b|0)){b=0;return b|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;g=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<g>>>0){b=-1;return b|0}if((c|0)!=(g|0)){b=1;return b|0}c=f[a+56>>2]|0;g=f[b+56>>2]|0;if((c|0)<(g|0)){b=-1;return b|0}if((g|0)<(c|0)){b=1;return b|0}c=b+60|0;d=+n[a+60>>2];e=+n[c>>2];if(d<e){b=-1;return b|0}if(d>e){b=1;return b|0}d=+n[a+64>>2];e=+n[c+4>>2];if(d<e){b=-1;return b|0}if(!(d>e)){d=+n[a+68>>2];e=+n[c+8>>2];if(d<e){b=-1;return b|0}if(!(d>e)?+n[a+72>>2]<+n[c+12>>2]:0){b=-1;return b|0}}d=+n[c+4>>2];e=+n[a+64>>2];if(d<e){b=1;return b|0}if(!(d>e)){d=+n[c+8>>2];e=+n[a+68>>2];if(d<e){b=1;return b|0}if(!(d>e)?+n[c+12>>2]<+n[a+72>>2]:0){b=1;return b|0}}c=b+76|0;d=+n[a+76>>2];e=+n[c>>2];if(d<e){b=-1;return b|0}if(d>e){b=1;return b|0}d=+n[a+80>>2];e=+n[c+4>>2];if(d<e){b=-1;return b|0}if(!(d>e)){d=+n[a+84>>2];e=+n[c+8>>2];if(d<e){b=-1;return b|0}if(!(d>e)?+n[a+88>>2]<+n[c+12>>2]:0){b=-1;return b|0}}d=+n[c+4>>2];e=+n[a+80>>2];if(d<e){b=1;return b|0}do if(!(d>e)){d=+n[c+8>>2];e=+n[a+84>>2];if(d<e){b=1;return b|0}if(d>e)break;if(+n[c+12>>2]<+n[a+88>>2])c=1;else break;return c|0}while(0);c=b+92|0;d=+n[a+92>>2];e=+n[c>>2];if(d<e){b=-1;return b|0}if(d>e){b=1;return b|0}d=+n[a+96>>2];e=+n[c+4>>2];if(d<e){b=-1;return b|0}do if(!(d>e)){d=+n[a+100>>2];e=+n[c+8>>2];if(d<e){b=-1;return b|0}if(d>e)break;if(+n[a+104>>2]<+n[c+12>>2])c=-1;else break;return c|0}while(0);d=+n[c+4>>2];e=+n[a+96>>2];if(d<e){b=1;return b|0}do if(!(d>e)){d=+n[c+8>>2];e=+n[a+100>>2];if(d<e){b=1;return b|0}if(d>e)break;if(+n[c+12>>2]<+n[a+104>>2])c=1;else break;return c|0}while(0);c=b+108|0;d=+n[a+108>>2];e=+n[c>>2];if(d<e){b=-1;return b|0}if(d>e){b=1;return b|0}d=+n[a+112>>2];e=+n[c+4>>2];if(d<e){b=-1;return b|0}do if(!(d>e)){d=+n[a+116>>2];e=+n[c+8>>2];if(d<e){b=-1;return b|0}if(d>e)break;if(+n[a+120>>2]<+n[c+12>>2])c=-1;else break;return c|0}while(0);d=+n[c+4>>2];e=+n[a+112>>2];if(d<e){b=1;return b|0}do if(!(d>e)){d=+n[c+8>>2];e=+n[a+116>>2];if(d<e){b=1;return b|0}if(d>e)break;if(+n[c+12>>2]<+n[a+120>>2])c=1;else break;return c|0}while(0);d=+n[a+124>>2];e=+n[b+124>>2];if(d<e){b=-1;return b|0}if(d>e){b=1;return b|0}d=+n[a+128>>2];e=+n[b+128>>2];if(d<e){b=-1;return b|0}do if(!(d>e)){if(+n[a+132>>2]<+n[b+132>>2])c=-1;else break;return c|0}while(0);d=+n[b+128>>2];e=+n[a+128>>2];if(d<e){b=1;return b|0}do if(!(d>e)){if(+n[b+132>>2]<+n[a+132>>2])c=1;else break;return c|0}while(0);d=+n[a+136>>2];e=+n[b+136>>2];if(d<e){b=-1;return b|0}if(e<d){b=1;return b|0}d=+n[a+140>>2];e=+n[b+140>>2];if(d<e){b=-1;return b|0}if(e<d){b=1;return b|0}d=+n[a+144>>2];e=+n[b+144>>2];if(d<e){b=-1;return b|0}if(e<d){b=1;return b|0}d=+n[a+148>>2];e=+n[b+148>>2];if(d<e){b=-1;return b|0}if(e<d){b=1;return b|0}e=+n[a+152>>2];d=+n[b+152>>2];if(e<d){b=-1;return b|0}b=d<e&1;return b|0}function hNa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+8>>2]&1023](b,(f[a+56>>2]|0)+16384|0);return 1}function iNa(a,c){a=a|0;c=c|0;var d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}d=Nu(Hua(3)|0,436335,46)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function jNa(a){a=a|0;Xxa(a);return}function kNa(a){a=a|0;Xxa(a);GBb(a);return}function lNa(a){a=a|0;var c=0;a=EBb(408)|0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;c=a+124|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a>>2]=346548;f3a(a+144|0);f3a(a+272|0);b[a+400>>0]=0;return a|0}function mNa(a,c){a=a|0;c=c|0;var d=0;d=EBb(408)|0;Wxa(d,a,c);f[d+136>>2]=f[a+136>>2];f[d>>2]=346548;p[d+144>>3]=+p[a+144>>3];p[d+152>>3]=+p[a+152>>3];p[d+160>>3]=+p[a+160>>3];p[d+168>>3]=+p[a+168>>3];p[d+176>>3]=+p[a+176>>3];p[d+184>>3]=+p[a+184>>3];p[d+192>>3]=+p[a+192>>3];p[d+200>>3]=+p[a+200>>3];p[d+208>>3]=+p[a+208>>3];p[d+216>>3]=+p[a+216>>3];p[d+224>>3]=+p[a+224>>3];p[d+232>>3]=+p[a+232>>3];p[d+240>>3]=+p[a+240>>3];p[d+248>>3]=+p[a+248>>3];p[d+256>>3]=+p[a+256>>3];p[d+264>>3]=+p[a+264>>3];p[d+272>>3]=+p[a+272>>3];p[d+280>>3]=+p[a+280>>3];p[d+288>>3]=+p[a+288>>3];p[d+296>>3]=+p[a+296>>3];p[d+304>>3]=+p[a+304>>3];p[d+312>>3]=+p[a+312>>3];p[d+320>>3]=+p[a+320>>3];p[d+328>>3]=+p[a+328>>3];p[d+336>>3]=+p[a+336>>3];p[d+344>>3]=+p[a+344>>3];p[d+352>>3]=+p[a+352>>3];p[d+360>>3]=+p[a+360>>3];p[d+368>>3]=+p[a+368>>3];p[d+376>>3]=+p[a+376>>3];p[d+384>>3]=+p[a+384>>3];p[d+392>>3]=+p[a+392>>3];b[d+400>>0]=b[a+400>>0]|0;return d|0}function nNa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298232,0)|0)!=0;return b|0}function oNa(a){a=a|0;return 409756}function pNa(a){a=a|0;return 436412}function qNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;c=j+8|0;i=j+4|0;d=j;if(!((f[a+116>>2]|f[b+24>>2])&f[b+20>>2])){u=j;return}f[i>>2]=a;e=b+16|0;g=b+28|0;h=a;do if((f[e>>2]|0)!=1){c=b+32|0;d=f[c>>2]|0;if((d|0)==(f[b+36>>2]|0)){Uxa(g,i);break}else{f[d>>2]=h;f[c>>2]=(f[c>>2]|0)+4;break}}else{f[d>>2]=f[g>>2];f[c>>2]=f[d>>2];Vxa(g,c,i)|0}while(0);Bj[f[(f[b>>2]|0)+160>>2]&1023](b,a);if((f[e>>2]|0)==1){a=f[b+28>>2]|0;e=a+4|0;c=b+32|0;d=(f[c>>2]|0)-e|0;if(d|0)ZDb(a|0,e|0,d|0)|0;d=a+(d>>2<<2)|0}else{c=b+32|0;d=(f[c>>2]|0)+-4|0}f[c>>2]=d;u=j;return}function rNa(a){a=a|0;return a|0}function sNa(a){a=a|0;return a|0}function tNa(a,b,c){a=a|0;b=b|0;c=c|0;c=a+144|0;if(!(f[a+136>>2]|0)){n3a(b,c);return 1}if((c|0)==(b|0))return 1;p[b>>3]=+p[c>>3];p[b+8>>3]=+p[a+152>>3];p[b+16>>3]=+p[a+160>>3];p[b+24>>3]=+p[a+168>>3];p[b+32>>3]=+p[a+176>>3];p[b+40>>3]=+p[a+184>>3];p[b+48>>3]=+p[a+192>>3];p[b+56>>3]=+p[a+200>>3];p[b+64>>3]=+p[a+208>>3];p[b+72>>3]=+p[a+216>>3];p[b+80>>3]=+p[a+224>>3];p[b+88>>3]=+p[a+232>>3];p[b+96>>3]=+p[a+240>>3];p[b+104>>3]=+p[a+248>>3];p[b+112>>3]=+p[a+256>>3];p[b+120>>3]=+p[a+264>>3];return 1}function uNa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;e=a+400|0;d=a+272|0;if(b[e>>0]|0){g=a+144|0;if(((+p[a+168>>3]==0.0?+p[a+200>>3]==0.0:0)?+p[a+232>>3]==0.0:0)?+p[a+264>>3]==1.0:0)o3a(d,g)|0;else p3a(d,g)|0;b[e>>0]=0}if(!(f[a+136>>2]|0)){m3a(c,d);return 1}if((d|0)==(c|0))return 1;p[c>>3]=+p[d>>3];p[c+8>>3]=+p[a+280>>3];p[c+16>>3]=+p[a+288>>3];p[c+24>>3]=+p[a+296>>3];p[c+32>>3]=+p[a+304>>3];p[c+40>>3]=+p[a+312>>3];p[c+48>>3]=+p[a+320>>3];p[c+56>>3]=+p[a+328>>3];p[c+64>>3]=+p[a+336>>3];p[c+72>>3]=+p[a+344>>3];p[c+80>>3]=+p[a+352>>3];p[c+88>>3]=+p[a+360>>3];p[c+96>>3]=+p[a+368>>3];p[c+104>>3]=+p[a+376>>3];p[c+112>>3]=+p[a+384>>3];p[c+120>>3]=+p[a+392>>3];return 1}function vNa(a){a=a|0;return}function wNa(a){a=a|0;GBb(a);return}function xNa(a,b){a=a|0;b=b|0;return}function yNa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;if(!c){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){a=0;u=h;return a|0}a=Nu(Hua(2)|0,437447,103)|0;Drb(g,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);e=utb(g,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(g);ksb(a,e)|0;Krb(a)|0;a=0;u=h;return a|0}YNa(a,c);f[g>>2]=c;e=c+8|0;f[e>>2]=(f[e>>2]|0)+1;e=a+224|0;c=f[e>>2]|0;if(c>>>0<(f[a+228>>2]|0)>>>0){d=f[g>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[e>>2]|0}f[e>>2]=c+4}else pX(a+220|0,g);c=f[g>>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);tj[f[(f[a>>2]|0)+240>>2]&2047](a);ywa(a);a=1;u=h;return a|0}function zNa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;h=i;if((b[497304]|0)==0?DDb(497304)|0:0)VNa(499780);e=f[124946]|0;if(e|0){g=499784;do{j=(f[e+16>>2]|0)>>>0<c>>>0;g=j?g:e;e=f[(j?e+4|0:e)>>2]|0}while((e|0)!=0);if((g|0)!=499784?(f[g+16>>2]|0)>>>0<=c>>>0:0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){j=Nu(csb(Nu(Hua(3)|0,437098,23)|0,c)|0,437122,32)|0;Drb(h,j+(f[(f[j>>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(j,g)|0;Krb(j)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){j=Nu(Hua(3)|0,437155,60)|0;Drb(h,j+(f[(f[j>>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(j,g)|0;Krb(j)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){j=Nu(Hua(3)|0,436618,60)|0;Drb(h,j+(f[(f[j>>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(j,g)|0;Krb(j)|0}ANa(a,0,c,d);u=i;return}}if((c|0)!=2903){XNa(a,a+44|0,c,d);u=i;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2)Nu(Hua(3)|0,437216,88)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2)Nu(Hua(3)|0,437305,80)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=i;return}j=Nu(Hua(3)|0,437386,60)|0;Drb(h,j+(f[(f[j>>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(j,d)|0;Krb(j)|0;u=i;return}function ANa(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;m=u;u=u+16|0;i=m;if((b[497304]|0)==0?DDb(497304)|0:0)VNa(499780);g=f[124946]|0;if(g|0){h=499784;do{l=(f[g+16>>2]|0)>>>0<d>>>0;h=l?h:g;g=f[(l?g+4|0:g)>>2]|0}while((g|0)!=0);if((h|0)!=499784?(f[h+16>>2]|0)>>>0<=d>>>0:0){k=a+68|0;l=a+72|0;g=f[l>>2]|0;h=f[k>>2]|0;i=(g-h|0)/12|0;do if(i>>>0<=c>>>0){j=c+1|0;if(j>>>0>i>>>0){WNa(k,j-i|0);break}if(j>>>0<i>>>0){h=h+(j*12|0)|0;if((h|0)!=(g|0))do{j=g;g=g+-12|0;Jv(g,f[j+-8>>2]|0)}while((g|0)!=(h|0));f[l>>2]=h}}while(0);XNa(a,(f[k>>2]|0)+(c*12|0)|0,d,e);u=m;return}}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(csb(Nu(Hua(3)|0,436978,27)|0,d)|0,437006,44)|0;Drb(i,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(c,l)|0;Krb(c)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(Hua(3)|0,437051,46)|0;Drb(i,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(c,l)|0;Krb(c)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(Hua(3)|0,436618,60)|0;Drb(i,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(i,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(i);ksb(c,l)|0;Krb(c)|0}zNa(a,d,e);u=m;return}function BNa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=u;u=u+16|0;e=g;if(!c){u=g;return}if(!(_i[f[(f[c>>2]|0)+180>>2]&2047](c)|0))if(!(d&8)){DNa(a,a+56|0,c,d);f[e>>2]=347364;f[e+4>>2]=a;f[e+8>>2]=d;f[e+12>>2]=0;cj[f[(f[c>>2]|0)+188>>2]&1023](c,e)|0;u=g;return}else{CNa(a,_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0,0);u=g;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,436468,28)|0;h=_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0;h=Nu(Nu(i,h,Rmb(h)|0)|0,436497,46)|0;Drb(e,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);i=utb(e,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(e);ksb(h,i)|0;Krb(h)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,436544,73)|0;Drb(e,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(e,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(e);ksb(i,h)|0;Krb(i)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,436618,60)|0;Drb(e,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(e,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(e);ksb(i,h)|0;Krb(i)|0}ENa(a,0,c,d);u=g;return}function CNa(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,t=0,v=0;v=u;u=u+32|0;r=v+8|0;t=v;h=a+60|0;d=f[h>>2]|0;if(!d){u=v;return}g=h;do{e=f[d+16>>2]|0;do if((e|0)<(b|0))e=d+4|0;else{if((e|0)<=(b|0)?(f[d+20>>2]|0)>>>0<c>>>0:0){e=d+4|0;break}e=d;g=d}while(0);d=f[e>>2]|0}while((d|0)!=0);if((g|0)==(h|0)){u=v;return}d=f[g+16>>2]|0;if((d|0)>(b|0)){u=v;return}if((d|0)>=(b|0)?(f[g+20>>2]|0)>>>0>c>>>0:0){u=v;return}p=g;o=g+24|0;d=f[o>>2]|0;if(f[d+48>>2]|0){g=a+148|0;e=f[g>>2]|0;h=e+-1|0;if(((f[a+144>>2]|0)==0?(i=f[a+32>>2]|0,k=a+36|0,(i|0)!=(f[k>>2]|0)):0)?(j=((h|0)!=0&1)+(((e|0)!=0)<<31>>31)|0,(j|0)!=0):0){d=i;do{i=f[d>>2]|0;Bwa(i,(f[i+88>>2]|0)+j|0);d=d+4|0}while((d|0)!=(f[k>>2]|0));d=f[o>>2]|0}f[g>>2]=h}if(f[d+52>>2]|0){g=a+156|0;e=f[g>>2]|0;h=e+-1|0;if(((f[a+152>>2]|0)==0?(l=f[a+32>>2]|0,n=a+36|0,(l|0)!=(f[n>>2]|0)):0)?(m=((h|0)!=0&1)+(((e|0)!=0)<<31>>31)|0,(m|0)!=0):0){d=l;do{l=f[d>>2]|0;Cwa(l,(f[l+96>>2]|0)+m|0);d=d+4|0}while((d|0)!=(f[n>>2]|0));d=f[o>>2]|0}f[g>>2]=h}c=zwa()|0;i=(c|0)==0;if(!i)_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;e=f[d+32>>2]|0;b=d+36|0;g=f[b>>2]|0;h=g;a:do if((e|0)==(g|0)){s=e;q=35}else{d=e;do{if((f[d>>2]|0)==(a|0)){s=d;q=35;break a}d=d+4|0}while((d|0)!=(g|0))}while(0);if((q|0)==35?(s|0)!=(g|0):0){e=s+4|0;d=h-e|0;if(d|0)ZDb(s|0,e|0,d|0)|0;f[b>>2]=s+(d>>2<<2)}if(!i)_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;s=f[o>>2]|0;f[r>>2]=347364;f[r+4>>2]=a;f[r+8>>2]=8;f[r+12>>2]=0;cj[f[(f[s>>2]|0)+188>>2]&1023](s,r)|0;f[t>>2]=p;f[r>>2]=f[t>>2];GNa(a+56|0,r)|0;u=v;return}function DNa(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;if(!c)return;m=_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0;k=_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0;n=b+4|0;g=f[n>>2]|0;do if(g){j=n;while(1){i=f[g+16>>2]|0;do if((i|0)<(m|0)){i=g+4|0;q=j}else{if((m|0)>=(i|0)?(f[g+20>>2]|0)>>>0<k>>>0:0){i=g+4|0;q=j;break}i=g;q=g}while(0);g=f[i>>2]|0;if(!g)break;else j=q}if((q|0)!=(n|0)?(l=f[q+16>>2]|0,(m|0)>=(l|0)):0){if((l|0)>=(m|0)?k>>>0<(f[q+20>>2]|0)>>>0:0){r=14;break}o=q+24|0;g=f[o>>2]|0;if((g|0)==(c|0)){f[q+28>>2]=d&6;return}m=zwa()|0;n=(m|0)==0;if(!n)_i[f[(f[m>>2]|0)+8>>2]&2047](m)|0;i=f[g+32>>2]|0;l=g+36|0;j=f[l>>2]|0;k=j;a:do if((i|0)==(j|0)){p=i;r=46}else{g=i;do{if((f[g>>2]|0)==(a|0)){p=g;r=46;break a}g=g+4|0}while((g|0)!=(j|0))}while(0);if((r|0)==46?(p|0)!=(j|0):0){i=p+4|0;g=k-i|0;if(g|0)ZDb(p|0,i|0,g|0)|0;f[l>>2]=p+(g>>2<<2)}if(!n)_i[f[(f[m>>2]|0)+12>>2]&2047](m)|0;j=f[o>>2]|0;i=((f[j+48>>2]|0)!=0)<<31>>31;j=((f[j+52>>2]|0)!=0)<<31>>31;DBa(c,a);g=f[o>>2]|0;if(((g|0)!=(c|0)?(f[o>>2]=c,c=c+8|0,f[c>>2]=(f[c>>2]|0)+1,g|0):0)?(b=g+8|0,c=f[b>>2]|0,f[b>>2]=c-1,(c|0)==1):0)Rua(g,1,1);g=f[o>>2]|0;i=((f[g+48>>2]|0)!=0&1)+i|0;g=((f[g+52>>2]|0)!=0&1)+j|0;f[q+28>>2]=d&6;if(i)r=57}else r=14}else r=14;while(0);if((r|0)==14){m=d&6;o=c+8|0;f[o>>2]=(f[o>>2]|0)+1;k=_i[f[(f[c>>2]|0)+172>>2]&2047](c)|0;l=_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0;g=f[n>>2]|0;do if(g){j=b+4|0;b:while(1){i=f[g+16>>2]|0;do if((k|0)>=(i|0)){if((i|0)>=(k|0)){i=f[g+20>>2]|0;if(l>>>0<i>>>0){r=19;break}if(i>>>0>=l>>>0){r=24;break b}}j=g+4|0;i=f[j>>2]|0;if(!i){r=23;break b}else g=i}else r=19;while(0);if((r|0)==19){r=0;i=f[g>>2]|0;if(!i){r=20;break}else{j=g;g=i}}}if((r|0)==20){i=g;j=g;break}else if((r|0)==23){i=g;break}else if((r|0)==24){i=g;break}}else{i=n;j=n}while(0);g=f[j>>2]|0;if(!g){g=EBb(32)|0;d=g+16|0;f[d>>2]=k;f[d+4>>2]=l;f[g+24>>2]=0;f[g+28>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=i;f[j>>2]=g;i=f[f[b>>2]>>2]|0;if(!i)i=g;else{f[b>>2]=i;i=f[j>>2]|0}Xo(f[b+4>>2]|0,i);b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}i=g+24|0;j=f[i>>2]|0;if(((j|0)!=(c|0)?(f[i>>2]=c,f[o>>2]=(f[o>>2]|0)+1,j|0):0)?(d=j+8|0,b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(j,1,1);f[g+28>>2]=m;b=f[o>>2]|0;f[o>>2]=b-1;if((b|0)==1)Rua(c,1,1);DBa(c,a);g=(f[c+52>>2]|0)!=0&1;if(f[c+48>>2]|0){i=1;r=57}}if((r|0)==57){k=a+148|0;j=f[k>>2]|0;i=j+i|0;if(((f[a+144>>2]|0)==0?(h=f[a+32>>2]|0,t=a+36|0,(h|0)!=(f[t>>2]|0)):0)?(s=((i|0)!=0&1)+(((j|0)!=0)<<31>>31)|0,s|0):0)do{r=f[h>>2]|0;Bwa(r,(f[r+88>>2]|0)+s|0);h=h+4|0}while((h|0)!=(f[t>>2]|0));f[k>>2]=i}if(!g)return;i=a+156|0;h=f[i>>2]|0;g=h+g|0;if(((f[a+152>>2]|0)==0?(e=f[a+32>>2]|0,v=a+36|0,(e|0)!=(f[v>>2]|0)):0)?(u=((g|0)!=0&1)+(((h|0)!=0)<<31>>31)|0,u|0):0)do{a=f[e>>2]|0;Cwa(a,(f[a+96>>2]|0)+u|0);e=e+4|0}while((e|0)!=(f[v>>2]|0));f[i>>2]=g;return}function ENa(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;n=u;u=u+16|0;m=n;if(!d){u=n;return}if(_i[f[(f[d>>2]|0)+180>>2]&2047](d)|0){if(e&8|0){FNa(a,c,_i[f[(f[d>>2]|0)+172>>2]&2047](d)|0);u=n;return}k=a+80|0;l=a+84|0;g=f[l>>2]|0;h=f[k>>2]|0;i=(g-h|0)/12|0;do if(i>>>0<=c>>>0){j=c+1|0;if(j>>>0>i>>>0){EBa(k,j-i|0);break}if(j>>>0<i>>>0){h=h+(j*12|0)|0;if((h|0)!=(g|0))do{j=g;g=g+-12|0;mBa(g,f[j+-8>>2]|0)}while((g|0)!=(h|0));f[l>>2]=h}}while(0);DNa(a,(f[k>>2]|0)+(c*12|0)|0,d,e);f[m>>2]=347364;f[m+4>>2]=a;f[m+8>>2]=e;f[m+12>>2]=c;cj[f[(f[d>>2]|0)+188>>2]&1023](d,m)|0;g=WCb(d,282664,298184,0)|0;if(!g){u=n;return}Bj[f[(f[g>>2]|0)+204>>2]&1023](g,c);u=n;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=Nu(Hua(3)|0,436679,32)|0;c=_i[f[(f[d>>2]|0)+28>>2]&2047](d)|0;c=Nu(Nu(l,c,Rmb(c)|0)|0,436712,58)|0;Drb(m,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(m,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(m);ksb(c,l)|0;Krb(c)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(Hua(3)|0,436771,59)|0;Drb(m,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(m,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(m);ksb(c,l)|0;Krb(c)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(Hua(3)|0,436618,60)|0;Drb(m,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(m,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(m);ksb(c,l)|0;Krb(c)|0}BNa(a,d,e);u=n;return}function FNa(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,t=0,v=0;v=u;u=u+32|0;q=v+8|0;t=v;o=f[a+80>>2]|0;s=o;if((((f[a+84>>2]|0)-o|0)/12|0)>>>0<=b>>>0){u=v;return}e=s+(b*12|0)+4|0;d=f[e>>2]|0;if(!d){u=v;return}g=e;do{o=(f[d+16>>2]|0)<(c|0);g=o?g:d;d=f[(o?d+4|0:d)>>2]|0}while((d|0)!=0);if((g|0)==(e|0)){u=v;return}d=f[g+16>>2]|0;if((d|0)>(c|0)){u=v;return}if((d|0)>=(c|0)?f[g+20>>2]|0:0){u=v;return}o=g;j=g+24|0;if((((f[a+72>>2]|0)-(f[a+68>>2]|0)|0)/12|0)>>>0>b>>>0){g=f[j>>2]|0;f[q>>2]=347364;f[q+4>>2]=a;f[q+8>>2]=8;f[q+12>>2]=b;cj[f[(f[g>>2]|0)+188>>2]&1023](g,q)|0}d=f[j>>2]|0;if(f[d+48>>2]|0){c=a+148|0;e=f[c>>2]|0;g=e+-1|0;if(((f[a+144>>2]|0)==0?(h=f[a+32>>2]|0,k=a+36|0,(h|0)!=(f[k>>2]|0)):0)?(i=((g|0)!=0&1)+(((e|0)!=0)<<31>>31)|0,(i|0)!=0):0){d=h;do{h=f[d>>2]|0;Bwa(h,(f[h+88>>2]|0)+i|0);d=d+4|0}while((d|0)!=(f[k>>2]|0));d=f[j>>2]|0}f[c>>2]=g}if(f[d+52>>2]|0){c=a+156|0;e=f[c>>2]|0;g=e+-1|0;if(((f[a+152>>2]|0)==0?(l=f[a+32>>2]|0,n=a+36|0,(l|0)!=(f[n>>2]|0)):0)?(m=((g|0)!=0&1)+(((e|0)!=0)<<31>>31)|0,(m|0)!=0):0){d=l;do{l=f[d>>2]|0;Cwa(l,(f[l+96>>2]|0)+m|0);d=d+4|0}while((d|0)!=(f[n>>2]|0));d=f[j>>2]|0}f[c>>2]=g}i=zwa()|0;j=(i|0)==0;if(!j)_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;e=f[d+32>>2]|0;h=d+36|0;c=f[h>>2]|0;g=c;a:do if((e|0)==(c|0)){r=e;p=33}else{d=e;do{if((f[d>>2]|0)==(a|0)){r=d;p=33;break a}d=d+4|0}while((d|0)!=(c|0))}while(0);if((p|0)==33?(r|0)!=(c|0):0){e=r+4|0;d=g-e|0;if(d|0)ZDb(r|0,e|0,d|0)|0;f[h>>2]=r+(d>>2<<2)}if(!j)_i[f[(f[i>>2]|0)+12>>2]&2047](i)|0;f[t>>2]=o;f[q>>2]=f[t>>2];GNa(s+(b*12|0)|0,q)|0;u=v;return}function GNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=f[b>>2]|0;b=f[d+4>>2]|0;if(!b){b=d+8|0;c=f[b>>2]|0;if((f[c>>2]|0)!=(d|0))do{e=f[b>>2]|0;b=e+8|0;c=f[b>>2]|0}while((f[c>>2]|0)!=(e|0))}else{while(1){c=f[b>>2]|0;if(!c)break;else b=c}c=b}if((f[a>>2]|0)==(d|0))f[a>>2]=c;b=a+8|0;f[b>>2]=(f[b>>2]|0)+-1;Zq(f[a+4>>2]|0,d);b=f[d+24>>2]|0;if(!b){GBb(d);return c|0}a=b+8|0;e=f[a>>2]|0;f[a>>2]=e-1;if((e|0)!=1){GBb(d);return c|0}Rua(b,1,1);GBb(d);return c|0}function HNa(a){a=a|0;return}function INa(a){a=a|0;GBb(a);return}function JNa(a,b){a=a|0;b=b|0;zNa(f[a+4>>2]|0,b,f[a+8>>2]|0);return}function KNa(a,b){a=a|0;b=b|0;ANa(f[a+4>>2]|0,f[a+12>>2]|0,b,f[a+8>>2]|0);return}function LNa(a){a=a|0;Kva(a);return}function MNa(a){a=a|0;Kva(a);GBb(a);return}function NNa(a){a=a|0;var b=0;a=EBb(64)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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;f[a>>2]=347152;f[a+56>>2]=6914;f[a+60>>2]=6914;return a|0}function ONa(a,b){a=a|0;b=b|0;var c=0;c=EBb(64)|0;Jva(c,a,b);f[c>>2]=347152;f[c+56>>2]=f[a+56>>2];f[c+60>>2]=f[a+60>>2];return c|0}function PNa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298280,0)|0)!=0;return b|0}function QNa(a){a=a|0;return 409756}function RNa(a){a=a|0;return 436946}function SNa(a){a=a|0;return 1}function TNa(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==(b|0)){b=0;return b|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;d=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if((c|0)!=(d|0)){b=1;return b|0}c=f[a+56>>2]|0;d=f[b+56>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}else{a=f[a+60>>2]|0;b=f[b+60>>2]|0;return ((a|0)<(b|0)?-1:(b|0)<(a|0)&1)|0}return 0}function UNa(a,c){a=a|0;c=c|0;var d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}d=Nu(Hua(3)|0,436890,55)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function VNa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=a+4|0;f[i>>2]=0;j=a+8|0;f[j>>2]=0;h=a+4|0;f[a>>2]=h;do if((f[h>>2]|0)==0?(b=EBb(20)|0,f[b+16>>2]=3552,f[b>>2]=0,f[b+4>>2]=0,f[b+8>>2]=h,f[h>>2]=b,f[a>>2]=b,Xo(b,b),f[j>>2]=(f[j>>2]|0)+1,b=f[h>>2]|0,(b|0)!=0):0){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>3553){d=f[c>>2]|0;if(!d){g=6;break}else{e=c;c=d}}else{if((d|0)==3553){g=10;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=9;break}else c=d}}if((g|0)==6){d=c;e=c;break}else if((g|0)==9){d=c;break}else if((g|0)==10){d=c;break}}else g=12;while(0);if((g|0)==12){d=h;e=h;b=0}if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=3553;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>32879){d=f[c>>2]|0;if(!d){g=21;break}else{e=c;c=d}}else{if((d|0)==32879){g=25;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=24;break}else c=d}}if((g|0)==21){d=c;e=c;break}else if((g|0)==24){d=c;break}else if((g|0)==25){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=32879;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>35882){d=f[c>>2]|0;if(!d){g=36;break}else{e=c;c=d}}else{if((d|0)==35882){g=40;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=39;break}else c=d}}if((g|0)==36){d=c;e=c;break}else if((g|0)==39){d=c;break}else if((g|0)==40){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=35882;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>34067){d=f[c>>2]|0;if(!d){g=51;break}else{e=c;c=d}}else{if((d|0)==34067){g=55;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=54;break}else c=d}}if((g|0)==51){d=c;e=c;break}else if((g|0)==54){d=c;break}else if((g|0)==55){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=34067;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>34037){d=f[c>>2]|0;if(!d){g=66;break}else{e=c;c=d}}else{if((d|0)==34037){g=70;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=69;break}else c=d}}if((g|0)==66){d=c;e=c;break}else if((g|0)==69){d=c;break}else if((g|0)==70){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=34037;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>35866){d=f[c>>2]|0;if(!d){g=81;break}else{e=c;c=d}}else{if((d|0)==35866){g=85;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=84;break}else c=d}}if((g|0)==81){d=c;e=c;break}else if((g|0)==84){d=c;break}else if((g|0)==85){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=35866;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>37120){d=f[c>>2]|0;if(!d){g=96;break}else{e=c;c=d}}else{if((d|0)==37120){g=100;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=99;break}else c=d}}if((g|0)==96){d=c;e=c;break}else if((g|0)==99){d=c;break}else if((g|0)==100){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=37120;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>3171){d=f[c>>2]|0;if(!d){g=111;break}else{e=c;c=d}}else{if((d|0)==3171){g=115;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=114;break}else c=d}}if((g|0)==111){d=c;e=c;break}else if((g|0)==114){d=c;break}else if((g|0)==115){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=3171;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>3170){d=f[c>>2]|0;if(!d){g=126;break}else{e=c;c=d}}else{if((d|0)==3170){g=130;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=129;break}else c=d}}if((g|0)==126){d=c;e=c;break}else if((g|0)==129){d=c;break}else if((g|0)==130){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=3170;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){e=i;c=b;while(1){d=f[c+16>>2]|0;if(d>>>0>3168){d=f[c>>2]|0;if(!d){g=141;break}else{e=c;c=d}}else{if((d|0)==3168){g=145;break}e=c+4|0;d=f[e>>2]|0;if(!d){g=144;break}else c=d}}if((g|0)==141){d=c;e=c;break}else if((g|0)==144){d=c;break}else if((g|0)==145){d=c;break}}else{d=h;e=h}while(0);if(!(f[e>>2]|0)){b=EBb(20)|0;f[b+16>>2]=3168;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=d;f[e>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[e>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;b=f[h>>2]|0}do if(b){d=i;while(1){c=f[b+16>>2]|0;if(c>>>0>3169){c=f[b>>2]|0;if(!c){g=156;break}else{d=b;b=c}}else{if((c|0)==3169){g=160;break}d=b+4|0;c=f[d>>2]|0;if(!c){g=159;break}else b=c}}if((g|0)==156){c=b;d=b;break}else if((g|0)==159){c=b;break}else if((g|0)==160){c=b;break}}else{c=h;d=h}while(0);if(f[d>>2]|0)return;b=EBb(20)|0;f[b+16>>2]=3169;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=c;f[d>>2]=b;c=f[f[a>>2]>>2]|0;if(c){f[a>>2]=c;b=f[d>>2]|0}Xo(f[i>>2]|0,b);f[j>>2]=(f[j>>2]|0)+1;return}function WNa(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+8|0;e=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;if(((e-c|0)/12|0)>>>0>=b>>>0){do{f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;c=(f[m>>2]|0)+12|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}d=f[a>>2]|0;g=(c-d|0)/12|0;h=g+b|0;if(h>>>0>357913941)DCb(a);k=(e-d|0)/12|0;c=k<<1;c=k>>>0<178956970?(c>>>0<h>>>0?h:c):357913941;do if(c)if(c>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{e=EBb(c*12|0)|0;break}else e=0;while(0);g=e+(g*12|0)|0;d=e+(c*12|0)|0;c=g;while(1){f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;b=b+-1|0;if(!b)break;else c=c+12|0}k=e+(h*12|0)|0;j=f[a>>2]|0;c=f[m>>2]|0;if((c|0)==(j|0)){b=g;e=j;c=j}else{b=g;do{i=b;b=b+-12|0;e=c;c=c+-12|0;f[b>>2]=f[c>>2];g=f[e+-8>>2]|0;f[i+-8>>2]=g;h=e+-4|0;n=f[h>>2]|0;f[i+-4>>2]=n;i=i+-8|0;if(!n)f[b>>2]=i;else{f[g+8>>2]=i;n=e+-8|0;f[c>>2]=n;f[n>>2]=0;f[h>>2]=0}}while((c|0)!=(j|0));e=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=b;f[m>>2]=k;f[l>>2]=d;b=e;if((c|0)!=(b|0))do{n=c;c=c+-12|0;Jv(c,f[n+-8>>2]|0)}while((c|0)!=(b|0));if(!e)return;GBb(e);return}function XNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;e=b+4|0;h=f[e>>2]|0;a=(h|0)==0;if(!(d&8)){do if(!a){g=b+4|0;a=h;while(1){e=f[a+16>>2]|0;if(e>>>0>c>>>0){e=f[a>>2]|0;if(!e){e=21;break}else{g=a;a=e}}else{if(e>>>0>=c>>>0){e=25;break}g=a+4|0;e=f[g>>2]|0;if(!e){e=24;break}else a=e}}if((e|0)==21){h=a;g=a;break}else if((e|0)==24){h=a;break}else if((e|0)==25){h=a;break}}else{h=e;g=e}while(0);a=f[g>>2]|0;if(!a){a=EBb(24)|0;f[a+16>>2]=c;f[a+20>>2]=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=h;f[g>>2]=a;e=f[f[b>>2]>>2]|0;if(!e)e=a;else{f[b>>2]=e;e=f[g>>2]|0}Xo(f[b+4>>2]|0,e);b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}f[a+20>>2]=d;return}if(a)return;g=e;a=h;do{d=(f[a+16>>2]|0)>>>0<c>>>0;g=d?g:a;a=f[(d?a+4|0:a)>>2]|0}while((a|0)!=0);if((g|0)==(e|0))return;if((f[g+16>>2]|0)>>>0>c>>>0)return;a=f[g+4>>2]|0;if(!a){e=g+8|0;a=f[e>>2]|0;if((f[a>>2]|0)!=(g|0))do{d=f[e>>2]|0;e=d+8|0;a=f[e>>2]|0}while((f[a>>2]|0)!=(d|0))}else while(1){e=f[a>>2]|0;if(!e)break;else a=e}if((f[b>>2]|0)==(g|0))f[b>>2]=a;b=b+8|0;f[b>>2]=(f[b>>2]|0)+-1;Zq(h,g);GBb(g);return}function YNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=_i[f[(f[b>>2]|0)+192>>2]&2047](b)|0;if(!d)return;c=d+40|0;b=f[c>>2]|0;if(b|0?WCb(b,295248,295408,0)|0:0)return;a=ZNa(a)|0;b=f[c>>2]|0;if((b|0)==(a|0))return;if(!b)b=0;else{lxa(b,f[d+36>>2]|0);b=f[c>>2]|0}if((b|0)!=(a|0)){f[c>>2]=a;if(a|0){a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}if(b|0?(e=b+8|0,a=f[e>>2]|0,f[e>>2]=a-1,(a|0)==1):0)Rua(b,1,1)}b=f[c>>2]|0;if(!b)b=0;else b=mxa(b,d)|0;f[d+36>>2]=b;return}function ZNa(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;m=u;u=u+16|0;h=m+12|0;j=m;f[j>>2]=0;k=j+4|0;f[k>>2]=0;i=j+8|0;f[i>>2]=0;d=f[a+220>>2]|0;g=a+224|0;a:do if((d|0)!=(f[g>>2]|0)){do{e=f[d>>2]|0;e=_i[f[(f[e>>2]|0)+192>>2]&2047](e)|0;f[h>>2]=e;a=e;do if(e|0){e=f[k>>2]|0;if((e|0)==(f[i>>2]|0)){wJa(j,h);break}else{f[e>>2]=a;f[k>>2]=(f[k>>2]|0)+4;break}}while(0);d=d+4|0}while((d|0)!=(f[g>>2]|0));a=f[j>>2]|0;d=f[k>>2]|0;if((a|0)!=(d|0)){e=a;while(1){g=f[(f[e>>2]|0)+40>>2]|0;if(g|0?(c=WCb(g,295248,295408,0)|0,c|0):0)break a;e=e+4|0;if((e|0)==(d|0)){l=13;break}}}else l=13}else l=13;while(0);if((l|0)==13){c=EBb(72)|0;f[c+4>>2]=0;f[c+8>>2]=0;a=c+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[c+24>>2]=2;f[c+28>>2]=0;f[c>>2]=338492;a=c+32|0;f[c+48>>2]=0;f[c+52>>2]=0;f[c+56>>2]=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b[a+12>>0]=0;qxa(c+60|0);f[c>>2]=339940;f[a>>2]=34963;f[c+36>>2]=35044;a=f[j>>2]|0}if(!a){u=m;return c|0}f[k>>2]=a;GBb(a);u=m;return c|0}function _Na(a){a=a|0;var b=0;f[a>>2]=346872;b=a+64|0;f[b>>2]=347136;uza(a,0);f[b>>2]=321740;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function $Na(a){a=a|0;var b=0;f[a>>2]=346872;b=a+64|0;f[b>>2]=347136;uza(a,0);f[b>>2]=321740;b=f[a+68>>2]|0;if(!b){oza(a);GBb(a);return}f[a+72>>2]=b;GBb(b);oza(a);GBb(a);return}function aOa(a){a=a|0;var b=0;a=EBb(80)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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[a+52>>2]=4;f[a+56>>2]=0;f[a+60>>2]=0;f[a+68>>2]=0;f[a+72>>2]=0;f[a+76>>2]=0;f[a>>2]=346872;f[a+64>>2]=347136;return a|0}function bOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=EBb(80)|0;Fva(i,a,b);f[i>>2]=339744;f[i+32>>2]=0;f[i+36>>2]=0;f[i+40>>2]=0;b=f[a+44>>2]|0;f[i+44>>2]=b;if(b|0){h=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1}f[i+48>>2]=0;f[i+52>>2]=f[a+52>>2];f[i+56>>2]=f[a+56>>2];f[i+60>>2]=f[a+60>>2];f[i>>2]=323120;c=i+64|0;f[c>>2]=321740;d=i+68|0;f[d>>2]=0;e=i+72|0;f[e>>2]=0;g=i+76|0;f[g>>2]=0;h=f[a+68>>2]|0;b=(f[a+72>>2]|0)-h|0;if(!b){f[i>>2]=346872;f[c>>2]=347136;return i|0}if((b|0)<0)DCb(d);a=EBb(b)|0;f[e>>2]=a;f[d>>2]=a;f[g>>2]=a+(b>>1<<1);YDb(a|0,h|0,b|0)|0;f[e>>2]=a+(b>>>1<<1);f[i>>2]=346872;f[c>>2]=347136;return i|0}function cOa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298296,0)|0)!=0;return b|0}function dOa(a){a=a|0;return 409756}function eOa(a){a=a|0;return 437551}function fOa(a){a=a|0;var b=0;b=f[a+68>>2]|0;return ((b|0)==(f[a+72>>2]|0)?0:b)|0}function gOa(a){a=a|0;return (f[a+72>>2]|0)-(f[a+68>>2]|0)|0}function hOa(a){a=a|0;return 0}function iOa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;j=f[a+60>>2]|0;j=(j|0)==9?6:j;j=(j|0)==8?5:j;if(!d){h=f[a+56>>2]|0;g=f[a+68>>2]|0;e=(f[a+72>>2]|0)-g>>1;if((h|0)<=0){Hh(j|0,e|0,5123,g|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,e|0,5123,g|0);return}else{Kj[d&63](j,e,5123,g,h);return}}d=f[a+40>>2]|0;if(d){i=Tza(d,f[c+124>>2]|0)|0;e=f[c+140>>2]|0;if(i){if(!(b[i+36>>0]|0)){d=e+100|0;if((f[d>>2]|0)!=(i|0)){Bj[f[(f[i+72>>2]|0)+724>>2]&1023](f[i+20>>2]|0,f[i+16>>2]|0);e=f[i+56>>2]|0;if(!e)g=10;else{$za(e,i);g=10}}}else{dJa(i);d=e+100|0;g=10}if((g|0)==10)f[d>>2]=i;g=f[a+56>>2]|0;h=(f[a+72>>2]|0)-(f[a+68>>2]|0)>>1;e=f[(f[i+40>>2]|0)+((f[a+36>>2]|0)*20|0)+12>>2]|0;if((g|0)<=0){Hh(j|0,h|0,5123,e|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,h|0,5123,e|0);return}else{Kj[d&63](j,h,5123,e,g);return}}}else e=f[c+140>>2]|0;d=e+100|0;if(f[d>>2]|0){Bj[f[(f[e+16>>2]|0)+724>>2]&1023](34963,0);f[d>>2]=0}h=f[a+56>>2]|0;g=f[a+68>>2]|0;e=(f[a+72>>2]|0)-g>>1;if((h|0)<=0){Hh(j|0,e|0,5123,g|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,e|0,5123,g|0);return}else{Kj[d&63](j,e,5123,g,h);return}}function jOa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+68>>2]|0;d=f[a+72>>2]|0;if((c|0)==(d|0))return;Ij[f[(f[b>>2]|0)+40>>2]&127](b,f[a+60>>2]|0,d-c>>1,c);return}function kOa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+68>>2]|0;d=f[a+72>>2]|0;if((c|0)==(d|0))return;Ij[f[(f[b>>2]|0)+40>>2]&127](b,f[a+60>>2]|0,d-c>>1,c);return}function lOa(a,b){a=a|0;b=b|0;return j[(f[a+68>>2]|0)+(b<<1)>>1]|0|0}function mOa(a){a=a|0;return (f[a+72>>2]|0)-(f[a+68>>2]|0)>>1|0}function nOa(a,b){a=a|0;b=b|0;var c=0;c=f[a+68>>2]|0;a=f[a+72>>2]|0;if((c|0)==(a|0))return;do{d[c>>1]=(j[c>>1]|0)+b;c=c+2|0}while((c|0)!=(a|0));return}function oOa(a){a=a|0;switch(f[a+60>>2]|0){case 0:{a=_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0;return a|0}case 1:{a=(_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)>>>1;return a|0}case 4:{a=((_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)>>>0)/3|0;return a|0}case 7:{a=(_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)>>>2;return a|0}case 9:case 14:case 8:case 6:case 5:case 2:case 3:{a=(_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)!=0&1;return a|0}default:{a=0;return a|0}}return 0}function pOa(a){a=a|0;return 5123}function qOa(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+68|0;a=a+72|0;c=f[h>>2]|0;e=(f[a>>2]|0)-c>>1;if(e>>>0<b>>>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 rOa(a,b){a=a|0;b=b|0;uV(a+68|0,b);return}function sOa(a,b,c){a=a|0;b=b|0;c=c|0;d[(f[a+68>>2]|0)+(b<<1)>>1]=c;return}function tOa(a,b){a=a|0;b=b|0;return j[(f[a+68>>2]|0)+(b<<1)>>1]|0|0}function uOa(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0;h=u;u=u+16|0;g=h;b=b&65535;d[g>>1]=b;c=a+72|0;e=f[c>>2]|0;if((e|0)==(f[a+76>>2]|0)){Nz(a+68|0,g);u=h;return}else{d[e>>1]=b;f[c>>2]=e+2;u=h;return}}function vOa(a){a=a|0;var b=0;a=a+-64|0;f[a>>2]=346872;b=a+64|0;f[b>>2]=347136;uza(a,0);f[b>>2]=321740;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function wOa(a){a=a|0;$Na(a+-64|0);return}function xOa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=347388;zOa(a+44|0,f[a+48>>2]|0);g=a+28|0;b=a+36|0;if(f[b>>2]|0?(c=f[a+32>>2]|0,d=(f[g>>2]|0)+4|0,h=f[c>>2]|0,f[h+4>>2]=f[d>>2],f[f[d>>2]>>2]=h,f[b>>2]=0,(c|0)!=(g|0)):0)do{b=c;c=f[c+4>>2]|0;d=f[b+8>>2]|0;if(d|0?(e=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,d=e+8|0,h=f[d>>2]|0,f[d>>2]=h-1,(h|0)==1):0)Rua(e,1,1);GBb(b)}while((c|0)!=(g|0));c=a+24|0;b=f[c>>2]|0;if(!b){f[c>>2]=0;h=a+12|0;R3a(h);Uua(a);return}b=b+(f[(f[b>>2]|0)+-12>>2]|0)|0;g=b+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){f[c>>2]=0;h=a+12|0;R3a(h);Uua(a);return}Rua(b,1,1);f[c>>2]=0;h=a+12|0;R3a(h);Uua(a);return}function yOa(a){a=a|0;xOa(a);GBb(a);return}function zOa(a,b){a=a|0;b=b|0;if(!b)return;else{zOa(a,f[b>>2]|0);zOa(a,f[b+4>>2]|0);GBb(b);return}}function AOa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=a+4|0;d=f[h>>2]|0;e=f[a>>2]|0;g=d-e>>6;if(g>>>0<c>>>0){BOa(a,c-g|0);return}if(g>>>0<=c>>>0)return;e=e+(c<<6)|0;if((e|0)!=(d|0))do{a=d+-8|0;d=d+-64|0;c=f[a>>2]|0;if(c|0?(i=c+8|0,g=f[i>>2]|0,f[i>>2]=g-1,(g|0)==1):0)Rua(c,1,1);f[a>>2]=0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));f[h>>2]=e;return}function BOa(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+8|0;g=f[l>>2]|0;m=a+4|0;d=f[m>>2]|0;if(g-d>>6>>>0>=c>>>0){do{f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;n[d+16>>2]=1.0;p[d+24>>3]=0.0;f[d+32>>2]=0;l=d+40|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;d=(f[m>>2]|0)+64|0;f[m>>2]=d;c=c+-1|0}while((c|0)!=0);return}e=f[a>>2]|0;h=d-e>>6;j=h+c|0;if(j>>>0>67108863)DCb(a);k=g-e|0;d=k>>5;d=k>>6>>>0<33554431?(d>>>0<j>>>0?j:d):67108863;do if(d)if(d>>>0>67108863){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{i=EBb(d<<6)|0;break}else i=0;while(0);g=i+(h<<6)|0;e=i+(d<<6)|0;d=g;while(1){f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;n[d+16>>2]=1.0;p[d+24>>3]=0.0;f[d+32>>2]=0;k=d+40|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;c=c+-1|0;if(!c)break;else d=d+64|0}c=g;k=e;j=i+(j<<6)|0;i=f[a>>2]|0;d=f[m>>2]|0;if((d|0)==(i|0)){h=i;d=i}else{while(1){e=d;d=d+-64|0;OBb(g+-64|0,d);f[g+-52>>2]=f[e+-52>>2];f[g+-48>>2]=f[e+-48>>2];p[g+-40>>3]=+p[e+-40>>3];f[g+-32>>2]=f[e+-32>>2];p[g+-24>>3]=+p[e+-24>>3];f[g+-16>>2]=f[e+-16>>2];f[g+-12>>2]=f[e+-12>>2];e=f[e+-8>>2]|0;f[g+-8>>2]=e;if(e|0){h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}e=c+-64|0;if((d|0)==(i|0))break;else{c=e;g=e}}c=e;h=f[a>>2]|0;d=f[m>>2]|0}f[a>>2]=c;f[m>>2]=j;f[l>>2]=k;g=h;if((d|0)!=(g|0))do{c=d+-8|0;d=d+-64|0;e=f[c>>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);f[c>>2]=0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(g|0));if(!h)return;GBb(h);return}function COa(a){a=a|0;Kva(a);return}function DOa(a){a=a|0;Kva(a);GBb(a);return}function EOa(a){a=a|0;var c=0,d=0,e=0;a=EBb(184)|0;f[a+4>>2]=0;f[a+8>>2]=0;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[c+24>>2]=0;f[a>>2]=347408;c=a+56|0;d=222624;e=c+128|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));return a|0}function FOa(a,c){a=a|0;c=c|0;var d=0,e=0;e=EBb(184)|0;Jva(e,a,c);f[e>>2]=347408;d=e+56|0;c=a+56|0;a=d+128|0;do{b[d>>0]=b[c>>0]|0;d=d+1|0;c=c+1|0}while((d|0)<(a|0));return e|0}function GOa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298360,0)|0)!=0;return b|0}function HOa(a){a=a|0;return 409756}function IOa(a){a=a|0;return 437692}function JOa(a){a=a|0;return 14}function KOa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;if((a|0)==(c|0)){a=0;return a|0}if(!a)BDb();d=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;e=f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0;if(d>>>0<e>>>0){a=-1;return a|0}if((d|0)!=(e|0)){a=1;return a|0}d=c+56|0;c=0;while(1){e=b[a+56+c>>0]|0;g=b[d+c>>0]|0;if((e&255)<(g&255)){c=-1;d=10;break}c=c+1|0;if((e&255)>(g&255)){c=1;d=10;break}if(c>>>0>=128){c=0;d=10;break}}if((d|0)==10)return c|0;return 0}function LOa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+8>>2]&1023](b,2882);return 1}function MOa(a,c){a=a|0;c=c|0;var d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}d=Nu(Hua(3)|0,437636,55)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function NOa(a){a=a|0;var b=0;f[a>>2]=347620;b=a+64|0;f[b>>2]=347884;uza(a,0);f[b>>2]=322016;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function OOa(a){a=a|0;var b=0;f[a>>2]=347620;b=a+64|0;f[b>>2]=347884;uza(a,0);f[b>>2]=322016;b=f[a+68>>2]|0;if(!b){oza(a);GBb(a);return}f[a+72>>2]=b;GBb(b);oza(a);GBb(a);return}function POa(a){a=a|0;var b=0;a=EBb(80)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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[a+52>>2]=3;f[a+56>>2]=0;f[a+60>>2]=0;f[a+68>>2]=0;f[a+72>>2]=0;f[a+76>>2]=0;f[a>>2]=347620;f[a+64>>2]=347884;return a|0}function QOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=EBb(80)|0;Fva(i,a,b);f[i>>2]=339744;f[i+32>>2]=0;f[i+36>>2]=0;f[i+40>>2]=0;b=f[a+44>>2]|0;f[i+44>>2]=b;if(b|0){h=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1}f[i+48>>2]=0;f[i+52>>2]=f[a+52>>2];f[i+56>>2]=f[a+56>>2];f[i+60>>2]=f[a+60>>2];f[i>>2]=323120;c=i+64|0;f[c>>2]=322016;d=i+68|0;f[d>>2]=0;e=i+72|0;f[e>>2]=0;g=i+76|0;f[g>>2]=0;h=f[a+68>>2]|0;b=(f[a+72>>2]|0)-h|0;if(!b){f[i>>2]=347620;f[c>>2]=347884;return i|0}if((b|0)<0)DCb(d);j=EBb(b)|0;f[e>>2]=j;f[d>>2]=j;a=j+b|0;f[g>>2]=a;YDb(j|0,h|0,b|0)|0;f[e>>2]=a;f[i>>2]=347620;f[c>>2]=347884;return i|0}function ROa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298376,0)|0)!=0;return b|0}function SOa(a){a=a|0;return 409756}function TOa(a){a=a|0;return 437730}function UOa(a){a=a|0;var b=0;b=f[a+68>>2]|0;return ((b|0)==(f[a+72>>2]|0)?0:b)|0}function VOa(a){a=a|0;return (f[a+72>>2]|0)-(f[a+68>>2]|0)|0}function WOa(a){a=a|0;return 0}function XOa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;j=f[a+60>>2]|0;j=(j|0)==9?6:j;j=(j|0)==8?5:j;if(!d){h=f[a+56>>2]|0;g=f[a+68>>2]|0;e=(f[a+72>>2]|0)-g|0;if((h|0)<=0){Hh(j|0,e|0,5121,g|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,e|0,5121,g|0);return}else{Kj[d&63](j,e,5121,g,h);return}}d=f[a+40>>2]|0;if(d){i=Tza(d,f[c+124>>2]|0)|0;e=f[c+140>>2]|0;if(i){if(!(b[i+36>>0]|0)){d=e+100|0;if((f[d>>2]|0)!=(i|0)){Bj[f[(f[i+72>>2]|0)+724>>2]&1023](f[i+20>>2]|0,f[i+16>>2]|0);e=f[i+56>>2]|0;if(!e)g=10;else{$za(e,i);g=10}}}else{dJa(i);d=e+100|0;g=10}if((g|0)==10)f[d>>2]=i;g=f[a+56>>2]|0;h=(f[a+72>>2]|0)-(f[a+68>>2]|0)|0;e=f[(f[i+40>>2]|0)+((f[a+36>>2]|0)*20|0)+12>>2]|0;if((g|0)<=0){Hh(j|0,h|0,5121,e|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,h|0,5121,e|0);return}else{Kj[d&63](j,h,5121,e,g);return}}}else e=f[c+140>>2]|0;d=e+100|0;if(f[d>>2]|0){Bj[f[(f[e+16>>2]|0)+724>>2]&1023](34963,0);f[d>>2]=0}h=f[a+56>>2]|0;g=f[a+68>>2]|0;e=(f[a+72>>2]|0)-g|0;if((h|0)<=0){Hh(j|0,e|0,5121,g|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,e|0,5121,g|0);return}else{Kj[d&63](j,e,5121,g,h);return}}function YOa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+68>>2]|0;d=f[a+72>>2]|0;if((c|0)==(d|0))return;Ij[f[(f[b>>2]|0)+36>>2]&127](b,f[a+60>>2]|0,d-c|0,c);return}function ZOa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+68>>2]|0;d=f[a+72>>2]|0;if((c|0)==(d|0))return;Ij[f[(f[b>>2]|0)+36>>2]&127](b,f[a+60>>2]|0,d-c|0,c);return}function _Oa(a,b){a=a|0;b=b|0;return h[(f[a+68>>2]|0)+b>>0]|0|0}function $Oa(a){a=a|0;return (f[a+72>>2]|0)-(f[a+68>>2]|0)|0}function aPa(a,c){a=a|0;c=c|0;var d=0;d=f[a+68>>2]|0;a=a+72|0;if((d|0)==(f[a>>2]|0))return;do{b[d>>0]=(h[d>>0]|0)+c;d=d+1|0}while((d|0)!=(f[a>>2]|0));return}function bPa(a){a=a|0;return 5121}function cPa(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+68|0;a=a+72|0;d=f[h>>2]|0;e=(f[a>>2]|0)-d|0;if(e>>>0<c>>>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 dPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=a+68|0;g=a+76|0;h=f[e>>2]|0;i=h;if(((f[g>>2]|0)-h|0)>>>0>=b>>>0)return;d=a+72|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 ePa(a,c,d){a=a|0;c=c|0;d=d|0;b[(f[a+68>>2]|0)+c>>0]=d;return}function fPa(a,b){a=a|0;b=b|0;return h[(f[a+68>>2]|0)+b>>0]|0|0}function gPa(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;j=c&255;k=a+68|0;l=a+72|0;c=f[l>>2]|0;i=a+76|0;a=f[i>>2]|0;if((c|0)!=(a|0)){b[c>>0]=j;f[l>>2]=(f[l>>2]|0)+1;return}h=f[k>>2]|0;e=c-h|0;c=e+1|0;g=h;if((c|0)<0)DCb(k);a=a-h|0;d=a<<1;d=a>>>0<1073741823?(d>>>0<c>>>0?c:d):2147483647;if(!d)a=0;else a=EBb(d)|0;c=a+e|0;b[c>>0]=j;if((e|0)>0)YDb(a|0,g|0,e|0)|0;f[k>>2]=a;f[l>>2]=c+1;f[i>>2]=a+d;if(!h)return;GBb(g);return}function hPa(a){a=a|0;var b=0;a=a+-64|0;f[a>>2]=347620;b=a+64|0;f[b>>2]=347884;uza(a,0);f[b>>2]=322016;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function iPa(a){a=a|0;OOa(a+-64|0);return}function jPa(a){a=a|0;var b=0;f[a>>2]=347900;b=a+64|0;f[b>>2]=348164;uza(a,0);f[b>>2]=321464;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function kPa(a){a=a|0;var b=0;f[a>>2]=347900;b=a+64|0;f[b>>2]=348164;uza(a,0);f[b>>2]=321464;b=f[a+68>>2]|0;if(!b){oza(a);GBb(a);return}f[a+72>>2]=b;GBb(b);oza(a);GBb(a);return}function lPa(a){a=a|0;var b=0;a=EBb(80)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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[a+52>>2]=5;f[a+56>>2]=0;f[a+60>>2]=0;f[a+68>>2]=0;f[a+72>>2]=0;f[a+76>>2]=0;f[a>>2]=347900;f[a+64>>2]=348164;return a|0}function mPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=EBb(80)|0;Fva(j,a,b);f[j>>2]=339744;f[j+32>>2]=0;f[j+36>>2]=0;f[j+40>>2]=0;b=f[a+44>>2]|0;f[j+44>>2]=b;if(b|0){i=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}f[j+48>>2]=0;f[j+52>>2]=f[a+52>>2];f[j+56>>2]=f[a+56>>2];f[j+60>>2]=f[a+60>>2];f[j>>2]=323120;d=j+64|0;f[d>>2]=321464;e=j+68|0;f[e>>2]=0;g=j+72|0;f[g>>2]=0;h=j+76|0;f[h>>2]=0;i=f[a+68>>2]|0;b=(f[a+72>>2]|0)-i|0;a=b>>2;if(!b){f[j>>2]=347900;f[d>>2]=348164;return j|0}if(a>>>0>1073741823)DCb(e);c=EBb(b)|0;f[g>>2]=c;f[e>>2]=c;f[h>>2]=c+(a<<2);if((b|0)<=0){f[j>>2]=347900;f[d>>2]=348164;return j|0}YDb(c|0,i|0,b|0)|0;f[g>>2]=c+(b>>>2<<2);f[j>>2]=347900;f[d>>2]=348164;return j|0}function nPa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298408,0)|0)!=0;return b|0}function oPa(a){a=a|0;return 409756}function pPa(a){a=a|0;return 437774}function qPa(a){a=a|0;var b=0;b=f[a+68>>2]|0;return ((b|0)==(f[a+72>>2]|0)?0:b)|0}function rPa(a){a=a|0;return (f[a+72>>2]|0)-(f[a+68>>2]|0)|0}function sPa(a){a=a|0;return 0}function tPa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;j=f[a+60>>2]|0;j=(j|0)==9?6:j;j=(j|0)==8?5:j;if(!d){h=f[a+56>>2]|0;g=f[a+68>>2]|0;e=(f[a+72>>2]|0)-g>>2;if((h|0)<=0){Hh(j|0,e|0,5125,g|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,e|0,5125,g|0);return}else{Kj[d&63](j,e,5125,g,h);return}}d=f[a+40>>2]|0;if(d){i=Tza(d,f[c+124>>2]|0)|0;e=f[c+140>>2]|0;if(i){if(!(b[i+36>>0]|0)){d=e+100|0;if((f[d>>2]|0)!=(i|0)){Bj[f[(f[i+72>>2]|0)+724>>2]&1023](f[i+20>>2]|0,f[i+16>>2]|0);e=f[i+56>>2]|0;if(!e)g=10;else{$za(e,i);g=10}}}else{dJa(i);d=e+100|0;g=10}if((g|0)==10)f[d>>2]=i;g=f[a+56>>2]|0;h=(f[a+72>>2]|0)-(f[a+68>>2]|0)>>2;e=f[(f[i+40>>2]|0)+((f[a+36>>2]|0)*20|0)+12>>2]|0;if((g|0)<=0){Hh(j|0,h|0,5125,e|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,h|0,5125,e|0);return}else{Kj[d&63](j,h,5125,e,g);return}}}else e=f[c+140>>2]|0;d=e+100|0;if(f[d>>2]|0){Bj[f[(f[e+16>>2]|0)+724>>2]&1023](34963,0);f[d>>2]=0}h=f[a+56>>2]|0;g=f[a+68>>2]|0;e=(f[a+72>>2]|0)-g>>2;if((h|0)<=0){Hh(j|0,e|0,5125,g|0);return}d=f[c+828>>2]|0;if(!d){Hh(j|0,e|0,5125,g|0);return}else{Kj[d&63](j,e,5125,g,h);return}}function uPa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+68>>2]|0;d=f[a+72>>2]|0;if((c|0)==(d|0))return;Ij[f[(f[b>>2]|0)+44>>2]&127](b,f[a+60>>2]|0,d-c>>2,c);return}function vPa(a,b){a=a|0;b=b|0;var c=0,d=0;c=f[a+68>>2]|0;d=f[a+72>>2]|0;if((c|0)==(d|0))return;Ij[f[(f[b>>2]|0)+44>>2]&127](b,f[a+60>>2]|0,d-c>>2,c);return}function wPa(a,b){a=a|0;b=b|0;return f[(f[a+68>>2]|0)+(b<<2)>>2]|0}function xPa(a){a=a|0;return (f[a+72>>2]|0)-(f[a+68>>2]|0)>>2|0}function yPa(a,b){a=a|0;b=b|0;var c=0;c=f[a+68>>2]|0;a=f[a+72>>2]|0;if((c|0)==(a|0))return;do{f[c>>2]=(f[c>>2]|0)+b;c=c+4|0}while((c|0)!=(a|0));return}function zPa(a){a=a|0;return 5125}function APa(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+68|0;a=a+72|0;c=f[g>>2]|0;d=(f[a>>2]|0)-c>>2;if(d>>>0<b>>>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 BPa(a,b){a=a|0;b=b|0;zM(a+68|0,b);return}function CPa(a,b,c){a=a|0;b=b|0;c=c|0;f[(f[a+68>>2]|0)+(b<<2)>>2]=c;return}function DPa(a,b){a=a|0;b=b|0;return f[(f[a+68>>2]|0)+(b<<2)>>2]|0}function EPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;c=g;f[c>>2]=b;d=a+72|0;e=f[d>>2]|0;if((e|0)==(f[a+76>>2]|0)){iw(a+68|0,c);u=g;return}else{f[e>>2]=b;f[d>>2]=e+4;u=g;return}}function FPa(a){a=a|0;var b=0;a=a+-64|0;f[a>>2]=347900;b=a+64|0;f[b>>2]=348164;uza(a,0);f[b>>2]=321464;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function GPa(a){a=a|0;kPa(a+-64|0);return}function HPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=f[a+28>>2]|0;if(c|0)Bj[f[f[c>>2]>>2]&1023](c,b);h=a+104|0;g=a+108|0;a=f[g>>2]|0;c=f[h>>2]|0;if((a|0)==(c|0))return;e=0;d=a;while(1){a=f[c+(e<<2)>>2]|0;if(!a)a=d;else{Bj[f[f[a>>2]>>2]&1023](a,b);c=f[h>>2]|0;a=f[g>>2]|0}e=e+1|0;if(e>>>0>=a-c>>2>>>0)break;else d=a}return}function IPa(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;f[a>>2]=348180;m=a+104|0;n=a+108|0;c=f[n>>2]|0;d=f[m>>2]|0;if((c|0)!=(d|0)){l=0;do{i=f[d+(l<<2)>>2]|0;j=i+128|0;g=i+132|0;k=f[g>>2]|0;if(k){h=g;e=k;do{o=(f[e+16>>2]|0)>>>0<a>>>0;h=o?h:e;e=f[(o?e+4|0:e)>>2]|0}while((e|0)!=0);if((h|0)!=(g|0)?(f[h+16>>2]|0)>>>0<=a>>>0:0){c=f[h+4>>2]|0;if(!c){d=h+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(h|0))do{o=f[d>>2]|0;d=o+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(o|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((f[j>>2]|0)==(h|0))f[j>>2]=c;d=i+136|0;f[d>>2]=(f[d>>2]|0)+-1;Zq(k,h);GBb(h);d=f[m>>2]|0;c=f[n>>2]|0}}l=l+1|0}while(l>>>0<c-d>>2>>>0)}d=a+184|0;e=f[d>>2]|0;if(e|0){g=a+188|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{o=c;c=c+-12|0;f0(c,f[o+-8>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}f0(a+172|0,f[a+176>>2]|0);f0(a+160|0,f[a+164>>2]|0);f0(a+148|0,f[a+152>>2]|0);d=a+136|0;e=f[d>>2]|0;if(e|0){g=a+140|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+116|0;d=f[c>>2]|0;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);f[c>>2]=0;e=f[m>>2]|0;if(e|0){c=f[n>>2]|0;if((c|0)==(e|0))c=e;else{do{c=c+-4|0;d=f[c>>2]|0;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);f[c>>2]=0}while((c|0)!=(e|0));c=f[m>>2]|0}f[n>>2]=e;GBb(c)}IQa(a+92|0,f[a+96>>2]|0);IQa(a+80|0,f[a+84>>2]|0);IQa(a+68|0,f[a+72>>2]|0);e=a+56|0;g=f[e>>2]|0;if(!g){Kva(a);return}h=a+60|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?(n=d+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|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);Kva(a);return}function JPa(a){a=a|0;IPa(a);GBb(a);return}function KPa(a){a=a|0;a=EBb(196)|0;TRa(a);return a|0}function LPa(a,b){a=a|0;b=b|0;var c=0;c=EBb(196)|0;xRa(c,a,b);return c|0}function MPa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298440,0)|0)!=0;return b|0}function NPa(a){a=a|0;return 409756}function OPa(a){a=a|0;return 441088}function PPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=a+104|0;i=a+108|0;c=f[i>>2]|0;d=f[h>>2]|0;if((c|0)!=(d|0)){g=0;e=d;while(1){d=f[e+(g<<2)>>2]|0;if(!d)d=e;else{Bj[f[(f[d>>2]|0)+156>>2]&1023](d,b);d=f[h>>2]|0;c=f[i>>2]|0}g=g+1|0;if(g>>>0>=c-d>>2>>>0)break;else e=d}}wRa(a+56|0,b);return}function QPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=a+104|0;i=a+108|0;c=f[i>>2]|0;d=f[h>>2]|0;if((c|0)!=(d|0)){g=0;e=d;while(1){d=f[e+(g<<2)>>2]|0;if(!d)d=e;else{Bj[f[(f[d>>2]|0)+160>>2]&1023](d,b);d=f[h>>2]|0;c=f[i>>2]|0}g=g+1|0;if(g>>>0>=c-d>>2>>>0)break;else e=d}}if(b|0){c=ZPa(a+56|0,f[b+124>>2]|0)|0;d=f[c>>2]|0;if(!d)return;f[c>>2]=0;i=d+8|0;a=f[i>>2]|0;f[i>>2]=a-1;if((a|0)!=1)return;Rua(d,1,1);return}d=f[a+56>>2]|0;c=(f[a+60>>2]|0)-d|0;if((c|0)<=0)return;e=c>>>2;while(1){c=f[d>>2]|0;if(c|0?(f[d>>2]=0,i=c+8|0,a=f[i>>2]|0,f[i>>2]=a-1,(a|0)==1):0)Rua(c,1,1);if((e|0)>1){e=e+-1|0;d=d+4|0}else break}return}function RPa(a){a=a|0;return 36}function SPa(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,x=0,y=0,z=0;if((a|0)==(c|0)){z=0;return z|0}if(!a)BDb();d=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;e=f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0;if(d>>>0<e>>>0){z=-1;return z|0}if((d|0)!=(e|0)){z=1;return z|0}z=f[a+108>>2]|0;d=f[a+104>>2]|0;e=z-d>>2;h=c+104|0;g=f[h>>2]|0;h=(f[h+4>>2]|0)-g>>2;if(e>>>0<h>>>0){z=-1;return z|0}if(h>>>0<e>>>0){z=1;return z|0}e=a+12|0;h=c+12|0;j=b[h+11>>0]|0;i=j<<24>>24<0;j=i?f[c+16>>2]|0:j&255;l=b[e+11>>0]|0;k=l<<24>>24<0;l=k?f[a+16>>2]|0:l&255;o=j>>>0<l>>>0;n=o?j:l;m=(n|0)==0;if(!m?(p=k?f[e>>2]|0:e,q=i?f[h>>2]|0:h,r=anb(p,q,n)|0,(r|0)!=0):0)if((r|0)<0){z=-1;return z|0}else{s=q;t=p;r=14}else{if(l>>>0<j>>>0){z=-1;return z|0}if(m)r=15;else{s=i?f[h>>2]|0:h;t=k?f[e>>2]|0:e;r=14}}if((r|0)==14){e=anb(s,t,n)|0;if(e){if((e|0)<0){z=1;return z|0}}else r=15}if((r|0)==15?o:0){z=1;return z|0}e=f[a+120>>2]|0;h=f[c+120>>2]|0;if((e|0)<(h|0)){z=-1;return z|0}if((h|0)<(e|0)){z=1;return z|0}e=f[a+124>>2]|0;h=f[c+124>>2]|0;if((e|0)<(h|0)){z=-1;return z|0}if((h|0)<(e|0)){z=1;return z|0}e=f[a+128>>2]|0;h=f[c+128>>2]|0;if((e|0)<(h|0)){z=-1;return z|0}if((h|0)<(e|0)){z=1;return z|0}p=c+136|0;o=f[a+140>>2]|0;e=f[p>>2]|0;p=f[p+4>>2]|0;a:do if((e|0)!=(p|0)){q=f[a+136>>2]|0;b:while(1){if((q|0)==(o|0)){e=-1;r=41;break}m=b[e+11>>0]|0;l=m<<24>>24<0;m=l?f[e+4>>2]|0:m&255;j=b[q+11>>0]|0;i=j<<24>>24<0;j=i?f[q+4>>2]|0:j&255;n=m>>>0<j>>>0;h=n?m:j;k=(h|0)==0;if(!k?(w=i?f[q>>2]|0:q,x=l?f[e>>2]|0:e,y=anb(w,x,h)|0,(y|0)!=0):0)if((y|0)<0){e=-1;r=41;break}else{u=x;v=w;r=32}else r=28;do if((r|0)==28){if(j>>>0<m>>>0){e=-1;r=41;break b}if(k){r=33;break}u=l?f[e>>2]|0:e;v=i?f[q>>2]|0:q;r=32}while(0);if((r|0)==32){r=0;h=anb(u,v,h)|0;if(h){if((h|0)<0)break a}else r=33}if((r|0)==33?(0,n):0)break a;e=e+12|0;if((e|0)==(p|0))break a;else q=q+12|0}if((r|0)==41)return e|0}while(0);if((f[a+132>>2]|0)>>>0<(f[c+132>>2]|0)>>>0){z=-1;return z|0}if((d|0)==(z|0)){z=0;return z|0}while(1){e=vRa(f[d>>2]|0,f[g>>2]|0)|0;if(e|0){r=41;break}d=d+4|0;if((d|0)==(z|0)){e=0;r=41;break}else g=g+4|0}if((r|0)==41)return e|0;return 0}function TPa(a,c){a=a|0;c=c|0;var d=0,e=0;d=f[c+832>>2]|0;if(!(b[d+24>>0]|0))return;if((f[a+104>>2]|0)==(f[a+108>>2]|0)){tj[f[d+176>>2]&2047](0);a=c+708|0;if(!(f[a>>2]|0))return;f[a>>2]=0;return}e=XPa(a,c)|0;if(b[e+36>>0]|0)Bj[f[(f[a>>2]|0)+200>>2]&1023](a,c);if(!(b[e+37>>0]|0)){tj[f[d+176>>2]&2047](0);a=c+708|0;if(!(f[a>>2]|0))return;f[a>>2]=0;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3)_i[f[(f[e>>2]|0)+16>>2]&2047](e)|0;tj[f[(f[e>>2]|0)+28>>2]&2047](e);a=c+708|0;if((f[a>>2]|0)==(e|0))return;f[a>>2]=e;return}function UPa(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;g=a+104|0;d=f[g>>2]|0;h=a+108|0;if((d|0)==(f[h>>2]|0))return;e=0;do{d=VPa(f[d+(e<<2)>>2]|0,c)|0;if(d|0)WPa(d,c);e=e+1|0;d=f[g>>2]|0}while(e>>>0<(f[h>>2]|0)-d>>2>>>0);d=a+136|0;l=a+140|0;if((f[d>>2]|0)!=(f[l>>2]|0)){j=XPa(a,c)|0;k=f[c+832>>2]|0;g=f[l>>2]|0;d=f[d>>2]|0;h=(g-d|0)/12|0;i=FBb(h>>>0>1073741823?-1:h<<2)|0;if((d|0)!=(g|0)){g=i;while(1){if((b[d+11>>0]|0)<0)e=f[d>>2]|0;else e=d;f[g>>2]=e;d=d+12|0;if((d|0)==(f[l>>2]|0))break;else g=g+4|0}}Ij[f[k+1476>>2]&127](f[j+20>>2]|0,h,i,f[a+132>>2]|0);HBb(i)}a=XPa(a,c)|0;Bj[f[(f[a>>2]|0)+12>>2]&1023](a,c);return}function VPa(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;v=u;u=u+16|0;t=v;if((f[a+32>>2]|0)==-1){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){t=0;u=v;return t|0}c=Nu(Hua(2)|0,440968,24)|0;Drb(t,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);s=utb(t,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(t);ksb(c,s)|0;Krb(c)|0;t=0;u=v;return t|0}k=a+80|0;p=a+100|0;a:do if(f[p>>2]|0){if(b[c+668>>0]|0)XQa(c+656|0)|0;d=f[a+92>>2]|0;h=a+96|0;if((d|0)!=(h|0)){i=c+672|0;j=c+676|0;g=d;while(1){if((hRa(i,g+16|0)|0)==(j|0)){d=0;break}d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{r=f[e>>2]|0;e=r+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(r|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(h|0))break a;else g=d}u=v;return d|0}}while(0);q=f[c+124>>2]|0;r=a+140|0;j=iRa(r,q)|0;if((((f[j>>2]|0)==0?(l=EBb(32)|0,f[l+4>>2]=0,m=l+8|0,f[m>>2]=0,f[l>>2]=348688,f[l+12>>2]=q,f[l+16>>2]=a,f[l+20>>2]=0,f[l+24>>2]=0,f[l+28>>2]=0,n=iRa(r,q)|0,o=f[n>>2]|0,(o|0)!=(l|0)):0)?(f[n>>2]=l,f[m>>2]=(f[m>>2]|0)+1,o|0):0)?(m=o+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(o,1,1);f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;YPa(c,t,k);m=iRa(r,q)|0;m=f[m>>2]|0;e=f[m+20>>2]|0;m=f[m+24>>2]|0;b:do if((e|0)!=(m|0)){k=b[t+11>>0]|0;l=k<<24>>24<0;k=l?f[t+4>>2]|0:k&255;l=l?f[t>>2]|0:t;if(!k)while(1){d=f[e>>2]|0;o=b[d+24+11>>0]|0;if(!((o<<24>>24<0?f[d+28>>2]|0:o&255)|0))break b;e=e+4|0;if((e|0)==(m|0)){s=41;break b}}c:while(1){d=f[e>>2]|0;i=d+24|0;g=b[i+11>>0]|0;h=g<<24>>24<0;g=g&255;do if(((h?f[d+28>>2]|0:g)|0)==(k|0)){j=f[i>>2]|0;if(h)if(!(anb(j,l,k)|0))break b;else break;if((b[l>>0]|0)==(j&255)<<24>>24){h=l;do{g=g+-1|0;i=i+1|0;if(!g)break c;h=h+1|0}while((b[i>>0]|0)==(b[h>>0]|0))}}while(0);e=e+4|0;if((e|0)==(m|0)){s=41;break b}}if(!d)s=41}else s=41;while(0);d:do if((s|0)==41){if(f[p>>2]|0){if(b[c+668>>0]|0)XQa(c+656|0)|0;d=f[a+92>>2]|0;i=a+96|0;if((d|0)!=(i|0)){j=c+672|0;h=c+676|0;g=d;while(1){if((hRa(j,g+16|0)|0)==(h|0)){d=0;break d}d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{c=f[e>>2]|0;e=c+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(c|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(i|0))break;else g=d}}}d=iRa(r,q)|0;d=jRa(f[d>>2]|0,t)|0}while(0);if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);t=d;u=v;return t|0}function WPa(a,c){a=a|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,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;F=u;u=u+80|0;C=F+64|0;y=F+52|0;D=F+40|0;x=F+36|0;E=F+24|0;w=F+12|0;v=F;e=a+36|0;if(!(b[e>>0]|0)){u=F;return}b[e>>0]=0;B=a+12|0;e=f[B>>2]|0;do if(f[e+60>>2]|0){f[y>>2]=0;Nh(36345,y|0);e=f[y>>2]|0;do if((e|0)>0){f[D>>2]=0;h=D+4|0;f[h>>2]=0;g=D+8|0;f[g>>2]=0;if(e>>>0>1073741823)DCb(D);q=e<<2;s=EBb(q)|0;f[D>>2]=s;r=s+(e<<2)|0;f[g>>2]=r;_Db(s|0,0,q|0)|0;f[h>>2]=r;Nh(36344,s|0);a:do if((f[y>>2]|0)>0){g=a+20|0;e=0;while(1){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){s=Nu(Hua(3)|0,440251,9)|0;s=bsb(s,f[(f[D>>2]|0)+(e<<2)>>2]|0)|0;Drb(C,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(C,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(C);ksb(s,r)|0;Krb(s)|0}r=f[(f[B>>2]|0)+60>>2]|0;s=f[r+32>>2]|0;r=f[r+36>>2]|0;Sh(1,g|0,f[(f[D>>2]|0)+(e<<2)>>2]|0,((s|0)==(r|0)?0:s)|0,r-s|0);e=e+1|0;if(!(Mh()|0))break;if((e|0)>=(f[y>>2]|0)){t=16;break a}}b[a+37>>0]=1;e=1}else t=16;while(0);do if((t|0)==16){e=f[B>>2]|0;g=b[e+48+11>>0]|0;if(g<<24>>24<0)e=f[e+52>>2]|0;else e=g&255;g=(b[497232]|0)==0;if(e|0){if(g?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){e=0;break}e=Nu(Hua(3)|0,440374,138)|0;Drb(C,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);s=utb(C,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(C);ksb(e,s)|0;Krb(e)|0;e=0;break}if(g?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){s=Nu(Hua(2)|0,440261,112)|0;Drb(C,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(C,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(C);ksb(s,r)|0;Krb(s)|0}b[a+37>>0]=0;e=1}while(0);g=f[D>>2]|0;if(g|0){f[h>>2]=g;GBb(g)}if(!e)t=50}else{e=f[B>>2]|0;g=b[e+48+11>>0]|0;if(g<<24>>24<0)e=f[e+52>>2]|0;else e=g&255;g=(b[497232]|0)==0;if(e|0){if(g?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){t=50;break}t=Nu(Hua(3)|0,440599,111)|0;Drb(C,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);s=utb(C,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(C);ksb(t,s)|0;Krb(t)|0;t=50;break}if(g?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){E=Nu(Hua(2)|0,440513,85)|0;Drb(C,E+(f[(f[E>>2]|0)+-12>>2]|0)|0);D=utb(C,504576)|0;D=cj[f[(f[D>>2]|0)+28>>2]&1023](D,10)|0;vtb(C);ksb(E,D)|0;Krb(E)|0}b[a+37>>0]=0}while(0);if((t|0)==50){e=f[B>>2]|0;break}u=F;return}while(0);OBb(D,e+48|0);ZQa(c,D)|0;f[x>>2]=0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);p=(f[124868]|0)>3;s=a+24|0;r=s+11|0;c=b[r>>0]|0;i=c<<24>>24<0;if(i)e=f[a+28>>2]|0;else e=c&255;if(!e){h=D+11|0;e=b[h>>0]|0;f[y>>2]=e<<24>>24<0?f[D>>2]|0:D;if(p){f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;if(i)g=f[a+28>>2]|0;else g=c&255;if(g){bCb(E,i?f[s>>2]|0:s,i?f[a+28>>2]|0:c&255)|0;e=b[h>>0]|0}g=e<<24>>24<0;e=g?f[D+4>>2]|0:e&255;if(e|0)bCb(E,g?f[D>>2]|0:D,e)|0;fRa(w,E);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){g=Nu(Hua(4)|0,440711,11)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}s=Nu(Nu(g,e,Rmb(e)|0)|0,440783,9)|0;e=w+11|0;v=b[e>>0]|0;t=v<<24>>24<0;v=Nu(s,t?f[w>>2]|0:w,t?f[w+4>>2]|0:v&255)|0;Drb(C,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);t=utb(C,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(C);ksb(v,t)|0;Krb(v)|0}else e=w+11|0;if((b[e>>0]|0)<0)GBb(f[w>>2]|0);if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0)}c=a+16|0;h=a+20|0;Ij[f[(f[c>>2]|0)+172>>2]&127](f[h>>2]|0,1,y,0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){fRa(E,D);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){g=Nu(Hua(4)|0,440793,14)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}t=Nu(Nu(g,e,Rmb(e)|0)|0,440783,9)|0;e=E+11|0;w=b[e>>0]|0;v=w<<24>>24<0;w=Nu(t,v?f[E>>2]|0:E,v?f[E+4>>2]|0:w&255)|0;Drb(C,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);v=utb(C,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(C);ksb(w,v)|0;Krb(w)|0}else e=E+11|0;if((b[e>>0]|0)<0)GBb(f[E>>2]|0)}i=h;j=c}else{f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;b[C+11>>0]=2;d[C>>1]=2573;b[C+2>>0]=0;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;q=y+11|0;b[q>>0]=2;d[y>>1]=2592;b[y+2>>0]=0;gRa(D,C,y);if((b[q>>0]|0)<0)GBb(f[y>>2]|0);q=D+11|0;n=b[q>>0]|0;o=D+4|0;g=f[o>>2]|0;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;c=0;b:while(1){e=n<<24>>24<0;h=n&255;m=e?g:h;if(m>>>0<=c>>>0)break;l=e?f[D>>2]|0:D;j=c;while(1){i=b[l+j>>0]|0;e=440808;while(1){k=b[e>>0]|0;c=k<<24>>24==0;if(k<<24>>24!=i<<24>>24&(c^1))e=e+1|0;else break}if(c)break;e=j+1|0;if(e>>>0<m>>>0)j=e;else break b}if(!((j|0)!=-1&m>>>0>j>>>0))break;k=j;while(1){e=440811;while(1){G=b[e>>0]|0;c=G<<24>>24!=0;if(G<<24>>24!=i<<24>>24&c)e=e+1|0;else break}if(c)break;e=k+1|0;if(e>>>0>=m>>>0)break b;k=e;i=b[l+e>>0]|0}if((k|0)==-1)break;e=k-j|0;if(e>>>0>7){if(!(oCb(D,j,8,440814)|0)){t=125;break}e=b[q>>0]|0;h=e&255;g=f[o>>2]|0}else e=n;c=k+1|0;if(!((c|0)!=-1?c>>>0<(e<<24>>24<0?g:h)>>>0:0))break;else n=e}if((t|0)==125){SBb(C,D,j,e+1|0,D);e=y+11|0;if((b[e>>0]|0)<0){b[f[y>>2]>>0]=0;f[y+4>>2]=0}else{b[y>>0]=0;b[e>>0]=0}YBb(y,0);f[y>>2]=f[C>>2];f[y+4>>2]=f[C+4>>2];f[y+8>>2]=f[C+8>>2];G=b[e>>0]|0;t=G<<24>>24<0;if((b[(t?f[y>>2]|0:y)+((t?f[y+4>>2]|0:G&255)+-1)>>0]|0)!=10)dCb(y,10);fCb(D,j,440823)|0}h=y+11|0;e=b[h>>0]|0;if(!((e<<24>>24<0?f[y+4>>2]|0:e&255)|0)){if(p){qL(C,s,D);fRa(E,C);if((b[C+11>>0]|0)<0)GBb(f[C>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){g=Nu(Hua(3)|0,440711,11)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}t=Nu(Nu(g,e,Rmb(e)|0)|0,440783,9)|0;e=E+11|0;G=b[e>>0]|0;v=G<<24>>24<0;G=Nu(t,v?f[E>>2]|0:E,v?f[E+4>>2]|0:G&255)|0;Drb(C,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);v=utb(C,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(C);ksb(G,v)|0;Krb(G)|0}else e=E+11|0;if((b[e>>0]|0)<0)GBb(f[E>>2]|0)}if((b[r>>0]|0)<0)e=f[s>>2]|0;else e=s;f[E>>2]=e;f[E+4>>2]=(b[q>>0]|0)<0?f[D>>2]|0:D;Ij[f[(f[a+16>>2]|0)+172>>2]&127](f[a+20>>2]|0,2,E,0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){qL(C,s,D);fRa(w,C);if((b[C+11>>0]|0)<0)GBb(f[C>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){g=Nu(Hua(4)|0,440924,14)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}t=Nu(Nu(g,e,Rmb(e)|0)|0,440783,9)|0;e=w+11|0;G=b[e>>0]|0;v=G<<24>>24<0;G=Nu(t,v?f[w>>2]|0:w,v?f[w+4>>2]|0:G&255)|0;Drb(C,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);v=utb(C,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(C);ksb(G,v)|0;Krb(G)|0}else e=w+11|0;if((b[e>>0]|0)<0)GBb(f[w>>2]|0)}}else{if(p){qL(w,y,s);G=b[q>>0]|0;t=G<<24>>24<0;G=bCb(w,t?f[D>>2]|0:D,t?f[o>>2]|0:G&255)|0;f[C>>2]=f[G>>2];f[C+4>>2]=f[G+4>>2];f[C+8>>2]=f[G+8>>2];f[G>>2]=0;f[G+4>>2]=0;f[G+8>>2]=0;fRa(E,C);if((b[C+11>>0]|0)<0)GBb(f[C>>2]|0);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){g=Nu(Hua(3)|0,440711,11)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}p=Nu(Nu(g,e,Rmb(e)|0)|0,440783,9)|0;e=E+11|0;G=b[e>>0]|0;t=G<<24>>24<0;G=Nu(p,t?f[E>>2]|0:E,t?f[E+4>>2]|0:G&255)|0;Drb(C,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);t=utb(C,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(C);ksb(G,t)|0;Krb(G)|0}else e=E+11|0;if((b[e>>0]|0)<0)GBb(f[E>>2]|0);e=b[h>>0]|0}f[E>>2]=e<<24>>24<0?f[y>>2]|0:y;if((b[r>>0]|0)<0)e=f[s>>2]|0;else e=s;f[E+4>>2]=e;f[E+8>>2]=(b[q>>0]|0)<0?f[D>>2]|0:D;Ij[f[(f[a+16>>2]|0)+172>>2]&127](f[a+20>>2]|0,3,E,0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){qL(v,y,s);G=b[q>>0]|0;t=G<<24>>24<0;G=bCb(v,t?f[D>>2]|0:D,t?f[o>>2]|0:G&255)|0;f[C>>2]=f[G>>2];f[C+4>>2]=f[G+4>>2];f[C+8>>2]=f[G+8>>2];f[G>>2]=0;f[G+4>>2]=0;f[G+8>>2]=0;fRa(w,C);if((b[C+11>>0]|0)<0)GBb(f[C>>2]|0);if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){g=Nu(Hua(4)|0,440909,14)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}t=Nu(Nu(g,e,Rmb(e)|0)|0,440783,9)|0;e=w+11|0;G=b[e>>0]|0;v=G<<24>>24<0;G=Nu(t,v?f[w>>2]|0:w,v?f[w+4>>2]|0:G&255)|0;Drb(C,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);v=utb(C,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(C);ksb(G,v)|0;Krb(G)|0}else e=w+11|0;if((b[e>>0]|0)<0)GBb(f[w>>2]|0)}}if((b[h>>0]|0)<0)GBb(f[y>>2]|0);i=a+20|0;j=a+16|0}tj[f[(f[j>>2]|0)+52>>2]&2047](f[i>>2]|0);Fj[f[(f[j>>2]|0)+120>>2]&511](f[i>>2]|0,35713,x);G=(f[x>>2]|0)==1;b[a+37>>0]=G&1;if(G){f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;e=f[j>>2]|0;g=f[i>>2]|0;f[C>>2]=0;f[y>>2]=0;Fj[f[e+120>>2]&511](g,35716,C);h=f[C>>2]|0;if((h|0)>1){c=FBb(h)|0;Ij[f[e+124>>2]&127](g,h,y,c);if((f[y>>2]|0)>0)ZBb(E,c)|0;HBb(c);if((f[y>>2]|0)>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){g=Hua(4)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}w=Nu(Nu(g,e,Rmb(e)|0)|0,440958,9)|0;G=f[B>>2]|0;a=G+12|0;x=b[a+11>>0]|0;y=x<<24>>24<0;x=Nu(Nu(w,y?f[a>>2]|0:a,y?f[G+16>>2]|0:x&255)|0,438069,11)|0;G=b[E+11>>0]|0;y=G<<24>>24<0;G=Nu(x,y?f[E>>2]|0:E,y?f[E+4>>2]|0:G&255)|0;Drb(C,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);y=utb(C,504576)|0;y=cj[f[(f[y>>2]|0)+28>>2]&1023](y,10)|0;vtb(C);ksb(G,y)|0;Krb(G)|0}}}c=f[i>>2]|0;g=f[B>>2]|0;h=g+12|0;e=f[(f[j>>2]|0)+1748>>2]|0;if(e|0?(A=b[h+11>>0]|0,z=A<<24>>24<0,A=z?f[g+16>>2]|0:A&255,A|0):0)Ij[e&127](33505,c,A,z?f[h>>2]|0:h);if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0)}else{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Hua(2)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}a=Nu(Nu(g,e,Rmb(e)|0)|0,440939,18)|0;A=f[B>>2]|0;x=A+12|0;G=b[x+11>>0]|0;z=G<<24>>24<0;G=Nu(Nu(a,z?f[x>>2]|0:x,z?f[A+16>>2]|0:G&255)|0,438050,8)|0;Drb(C,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);A=utb(C,504576)|0;A=cj[f[(f[A>>2]|0)+28>>2]&1023](A,10)|0;vtb(C);ksb(G,A)|0;Krb(G)|0};f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;c=f[j>>2]|0;e=f[i>>2]|0;f[C>>2]=0;f[y>>2]=0;Fj[f[c+120>>2]&511](e,35716,C);g=f[C>>2]|0;if((g|0)>1){h=FBb(g)|0;Ij[f[c+124>>2]&127](e,g,y,h);if((f[y>>2]|0)>0)ZBb(E,h)|0;HBb(h);if((f[y>>2]|0)>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){g=Hua(2)|0;switch(f[(f[B>>2]|0)+32>>2]|0){case 35633:{e=440776;break}case 36488:{e=440764;break}case 36487:{e=440749;break}case 36313:{e=440740;break}case 35632:{e=440731;break}case 37305:{e=440723;break}default:e=411797}y=Nu(Nu(g,e,Rmb(e)|0)|0,440958,9)|0;G=f[B>>2]|0;z=G+12|0;A=b[z+11>>0]|0;B=A<<24>>24<0;A=Nu(Nu(y,B?f[z>>2]|0:z,B?f[G+16>>2]|0:A&255)|0,438069,11)|0;G=b[E+11>>0]|0;B=G<<24>>24<0;G=Nu(A,B?f[E>>2]|0:E,B?f[E+4>>2]|0:G&255)|0;Drb(C,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);B=utb(C,504576)|0;B=cj[f[(f[B>>2]|0)+28>>2]&1023](B,10)|0;vtb(C);ksb(G,B)|0;Krb(G)|0}}}if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0)}if((b[D+11>>0]|0)<0)GBb(f[D>>2]|0);u=F;return}function XPa(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;q=u;u=u+16|0;p=q;n=f[c+124>>2]|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;YPa(c,p,a+148|0);m=a+56|0;l=ZPa(m,n)|0;if((((f[l>>2]|0)==0?(d=EBb(32)|0,f[d+4>>2]=0,e=d+8|0,f[e>>2]=0,f[d>>2]=348392,f[d+12>>2]=n,f[d+16>>2]=a,f[d+20>>2]=0,f[d+24>>2]=0,f[d+28>>2]=0,g=ZPa(m,n)|0,h=f[g>>2]|0,(h|0)!=(d|0)):0)?(f[g>>2]=d,f[e>>2]=(f[e>>2]|0)+1,h|0):0)?(k=h+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(h,1,1);l=ZPa(m,n)|0;l=f[l>>2]|0;d=f[l+20>>2]|0;l=f[l+24>>2]|0;a:do if((d|0)!=(l|0)){j=b[p+11>>0]|0;k=j<<24>>24<0;j=k?f[p+4>>2]|0:j&255;k=k?f[p>>2]|0:p;if(!j)while(1){c=f[d>>2]|0;k=b[c+24+11>>0]|0;if(!((k<<24>>24<0?f[c+28>>2]|0:k&255)|0))break a;d=d+4|0;if((d|0)==(l|0)){o=21;break a}}b:while(1){c=f[d>>2]|0;h=c+24|0;e=b[h+11>>0]|0;g=e<<24>>24<0;e=e&255;do if(((g?f[c+28>>2]|0:e)|0)==(j|0)){i=f[h>>2]|0;if(g)if(!(anb(i,k,j)|0))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)break b;g=g+1|0}while((b[h>>0]|0)==(b[g>>0]|0))}}while(0);d=d+4|0;if((d|0)==(l|0)){o=21;break a}}if(!c)o=21}else o=21;while(0);if((o|0)==21){c=ZPa(m,n)|0;c=_Pa(f[c>>2]|0,p)|0;h=a+104|0;g=a+108|0;d=f[h>>2]|0;if((f[g>>2]|0)!=(d|0)){e=0;do{$Pa(c,f[d+(e<<2)>>2]|0);e=e+1|0;d=f[h>>2]|0}while(e>>>0<(f[g>>2]|0)-d>>2>>>0)}}if((b[p+11>>0]|0)>=0){u=q;return c|0}GBb(f[p>>2]|0);u=q;return c|0}function YPa(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,u=0,v=0,w=0;if(b[a+668>>0]|0)XQa(a+656|0)|0;if(f[d+8>>2]|0){YQa(0,c,a+672|0,d);YQa(0,c,a+168|0,d)}e=d+12|0;if(f[d+20>>2]|0){YQa(0,c,a+672|0,e);YQa(0,c,a+168|0,e)}a:do if(f[d+32>>2]|0){e=f[d+24>>2]|0;j=d+28|0;if((e|0)!=(j|0)){k=a+596|0;l=a+600|0;m=a+624|0;i=e;while(1){h=i+16|0;e=FQa(k,h)|0;if((e|0)!=(l|0)?(n=f[e+28>>2]|0,(n&-16|0)!=33984):0){e=f[m>>2]|0;if(e){g=m;do{s=(f[e+16>>2]|0)>>>0<n>>>0;g=s?g:e;e=f[(s?e+4|0:e)>>2]|0}while((e|0)!=0);if((g|0)!=(m|0)?(o=g+16|0,n>>>0>=(f[o>>2]|0)>>>0):0){s=(b[o+6>>0]|0)==0;cCb(c,439690)|0;r=b[h+11>>0]|0;q=r<<24>>24<0;bCb(c,q?f[h>>2]|0:h,q?f[i+20>>2]|0:r&255)|0;if(s)w=22;else cCb(c,439699)|0}else w=21}else w=21;if((w|0)==21){cCb(c,439690)|0;s=b[h+11>>0]|0;r=s<<24>>24<0;bCb(c,r?f[h>>2]|0:h,r?f[i+20>>2]|0:s&255)|0;w=22}if((w|0)==22){w=0;cCb(c,439702)|0}cCb(c,474250)|0}e=f[i+4>>2]|0;if(!e){g=i+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(i|0))do{s=f[g>>2]|0;g=s+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(s|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(j|0))break;else i=e}}r=a+684|0;s=a+688|0;e=f[s>>2]|0;q=f[r>>2]|0;g=q;if((e|0)==(q|0)){h=g;j=e;i=e}else{m=a+608|0;l=0;do{e=f[g+(l*12|0)>>2]|0;j=g+(l*12|0)+4|0;if((e|0)!=(j|0)){k=(f[m>>2]|0)+(l*12|0)+4|0;i=e;while(1){q=i+16|0;h=f[q>>2]|0;if(b[q+6>>0]|0?(p=f[k>>2]|0,p|0):0){e=k;g=p;do{q=(f[g+16>>2]|0)>>>0<h>>>0;e=q?e:g;g=f[(q?g+4|0:g)>>2]|0}while((g|0)!=0);if((e|0)!=(k|0)?h>>>0>=(f[e+16>>2]|0)>>>0:0){n=e+20|0;q=b[n+11>>0]|0;o=q<<24>>24<0;bCb(c,o?f[n>>2]|0:n,o?f[e+24>>2]|0:q&255)|0}}e=f[i+4>>2]|0;if(!e){g=i+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(i|0))do{q=f[g>>2]|0;g=q+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(q|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(j|0))break;else i=e}}l=l+1|0;e=f[s>>2]|0;g=f[r>>2]|0}while(l>>>0<((e-g|0)/12|0)>>>0);h=g;j=g;i=e}q=d+36|0;n=d+40|0;g=f[q>>2]|0;if((f[n>>2]|0)!=(g|0)){o=a+596|0;p=a+600|0;e=0;while(1){if(e>>>0<((i-j|0)/12|0)>>>0?(t=f[g+(e*12|0)>>2]|0,u=g+(e*12|0)+4|0,(t|0)!=(u|0)):0){l=h+(e*12|0)+4|0;m=e+48&255;k=t;while(1){j=k+16|0;g=FQa(o,j)|0;if((g|0)!=(p|0)){i=f[g+28>>2]|0;g=f[l>>2]|0;if(g){h=l;do{d=(f[g+16>>2]|0)>>>0<i>>>0;h=d?h:g;g=f[(d?g+4|0:g)>>2]|0}while((g|0)!=0);if((h|0)!=(l|0)?(v=h+16|0,i>>>0>=(f[v>>2]|0)>>>0):0){d=(b[v+6>>0]|0)==0;cCb(c,439690)|0;i=b[j+11>>0]|0;h=i<<24>>24<0;bCb(c,h?f[j>>2]|0:j,h?f[k+20>>2]|0:i&255)|0;dCb(c,m);if(d)w=65;else cCb(c,439699)|0}else w=64}else w=64;if((w|0)==64){cCb(c,439690)|0;d=b[j+11>>0]|0;i=d<<24>>24<0;bCb(c,i?f[j>>2]|0:j,i?f[k+20>>2]|0:d&255)|0;dCb(c,m);w=65}if((w|0)==65){w=0;cCb(c,439702)|0}cCb(c,474250)|0}g=f[k+4>>2]|0;if(!g){h=k+8|0;g=f[h>>2]|0;if((f[g>>2]|0)!=(k|0))do{d=f[h>>2]|0;h=d+8|0;g=f[h>>2]|0}while((f[g>>2]|0)!=(d|0))}else while(1){h=f[g>>2]|0;if(!h)break;else g=h}if((g|0)==(u|0))break;else k=g}}e=e+1|0;g=f[q>>2]|0;if(e>>>0>=(((f[n>>2]|0)-g|0)/12|0)>>>0)break a;h=f[r>>2]|0;j=h;i=f[s>>2]|0}}}while(0);if((b[a+131>>0]|0)==0?(b[a+130>>0]|0)==0:0)return;ZQa(a,c)|0;return}function ZPa(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;j=l;k=a+4|0;c=f[k>>2]|0;g=f[a>>2]|0;e=c-g>>2;if(e>>>0>b>>>0){k=g;k=k+(b<<2)|0;u=l;return k|0}d=b+1|0;f[j>>2]=0;if(d>>>0<=e>>>0){if(d>>>0<e>>>0){e=g+(d<<2)|0;if((e|0)!=(c|0))do{c=c+-4|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}while((c|0)!=(e|0));f[k>>2]=e;h=12}}else{WQa(a,d-e|0,j);h=12}if(((h|0)==12?(i=f[j>>2]|0,i|0):0)?(j=i+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(i,1,1);k=f[a>>2]|0;k=k+(b<<2)|0;u=l;return k|0}function _Pa(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=EBb(120)|0;bQa(g,f[a+16>>2]|0,f[a+12>>2]|0,0);f[e>>2]=g;d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=a+24|0;c=f[d>>2]|0;if(c>>>0<(f[a+28>>2]|0)>>>0){a=f[e>>2]|0;f[c>>2]=a;if(a){c=a+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[d>>2]|0}f[d>>2]=c+4}else cQa(a+20|0,e);c=f[e>>2]|0;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);UBb(g+24|0,b)|0;u=h;return g|0}function $Pa(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;c=a+108|0;f[e>>2]=b;if(b|0){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}d=a+112|0;b=f[d>>2]|0;if(b>>>0<(f[a+116>>2]|0)>>>0){a=f[e>>2]|0;f[b>>2]=a;if(a){b=a+8|0;f[b>>2]=(f[b>>2]|0)+1;b=f[d>>2]|0}f[d>>2]=b+4}else aQa(c,e);b=f[e>>2]|0;if(!b){u=g;return}d=b+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){u=g;return}Rua(b,1,1);u=g;return}function aQa(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<e>>>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 bQa(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;m=u;u=u+16|0;j=m;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=348412;k=a+16|0;f[k>>2]=0;l=a+20|0;f[l>>2]=e;g=a+24|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;b[a+38>>0]=0;g=a+40|0;f[g>>2]=d;h=a+44|0;b[h>>0]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[a+48>>2]=a+52;f[a+64>>2]=0;f[a+68>>2]=0;f[a+60>>2]=a+64;f[a+76>>2]=0;f[a+80>>2]=0;f[a+72>>2]=a+76;f[a+88>>2]=0;f[a+92>>2]=0;f[a+84>>2]=a+88;n=a+96|0;i=a+12|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;f[n+16>>2]=0;f[n+20>>2]=0;f[i>>2]=c;if(e|0){n=a+36|0;b[n>>0]=1;n=a+37|0;b[n>>0]=0;u=m;return}c=Lza(d,1)|0;d=f[k>>2]|0;if((d|0)!=(c|0)){f[k>>2]=c;if(c|0){n=c+8|0;f[n>>2]=(f[n>>2]|0)+1}if(d|0?(e=d+8|0,n=f[e>>2]|0,f[e>>2]=n-1,(n|0)==1):0)Rua(d,1,1)}n=Zi[f[(f[k>>2]|0)+56>>2]&15]()|0;f[l>>2]=n;if(n|0){b[h>>0]=1;n=a+36|0;b[n>>0]=1;n=a+37|0;b[n>>0]=0;u=m;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){n=a+36|0;b[n>>0]=1;n=a+37|0;b[n>>0]=0;u=m;return}h=Nu(Hua(2)|0,437816,31)|0;l=f[i>>2]|0;i=l+12|0;n=b[i+11>>0]|0;k=n<<24>>24<0;n=Nu(Nu(Nu(h,k?f[i>>2]|0:i,k?f[l+16>>2]|0:n&255)|0,437848,1)|0,437850,11)|0;n=csb(n,f[g>>2]|0)|0;Drb(j,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);l=utb(j,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(j);ksb(n,l)|0;Krb(n)|0;n=a+36|0;b[n>>0]=1;n=a+37|0;b[n>>0]=0;u=m;return}function cQa(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<e>>>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 dQa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;dQa(a,f[b>>2]|0);dQa(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function eQa(a,c){a=a|0;c=c|0;if(!c)return;eQa(a,f[c>>2]|0);eQa(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 fQa(a,c){a=a|0;c=c|0;if(!c)return;fQa(a,f[c>>2]|0);fQa(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 gQa(a,b){a=a|0;b=b|0;if(!b)return;else{gQa(a,f[b>>2]|0);gQa(a,f[b+4>>2]|0);GBb(b);return}}function hQa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=348412;if(b[a+44>>0]|0){h=KQa(Uza(f[a+40>>2]|0)|0)|0;Bj[f[(f[h>>2]|0)+44>>2]&1023](h,f[a+20>>2]|0)}e=a+108|0;g=f[e>>2]|0;if(g|0){h=a+112|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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+96|0;g=f[e>>2]|0;if(g|0){h=a+100|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?(i=d+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|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)}dQa(a+84|0,f[a+88>>2]|0);eQa(a+72|0,f[a+76>>2]|0);fQa(a+60|0,f[a+64>>2]|0);gQa(a+48|0,f[a+52>>2]|0);c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+16|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;Uua(a);return}i=d+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1){f[c>>2]=0;Uua(a);return}Rua(d,1,1);f[c>>2]=0;Uua(a);return}function iQa(a){a=a|0;hQa(a);GBb(a);return}function jQa(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,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;T=u;u=u+192|0;M=T+180|0;N=T;B=T+168|0;O=T+156|0;P=T+144|0;Q=T+132|0;R=T+112|0;S=T+100|0;I=T+96|0;J=T+92|0;K=T+80|0;d=a+36|0;if(!(b[d>>0]|0)){u=T;return}b[d>>0]=0;L=a+20|0;if(!(f[L>>2]|0)){u=T;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){x=Nu(Hua(4)|0,437948,22)|0;z=a+12|0;F=f[z>>2]|0;y=F+12|0;G=b[y+11>>0]|0;A=G<<24>>24<0;G=Nu(Nu(Nu(x,A?f[y>>2]|0:y,A?f[F+16>>2]|0:G&255)|0,437848,1)|0,437933,4)|0;G=Nu(csb(G,f[L>>2]|0)|0,437850,11)|0;G=csb(G,f[a+40>>2]|0)|0;Drb(M,G+(f[(f[G>>2]|0)+-12>>2]|0)|0);F=utb(M,504576)|0;F=cj[f[(f[F>>2]|0)+28>>2]&1023](F,10)|0;vtb(M);ksb(G,F)|0;Krb(G)|0}else z=a+12|0;d=f[(f[z>>2]|0)+116>>2]|0;p=a+38|0;b[p>>0]=0;s=(d|0)!=0;if(!((s?(e=f[d+36>>2]|0,h=f[d+32>>2]|0,g=e-h|0,h,(g|0)!=0):0)?(f[M>>2]=0,G=a+16|0,Ij[f[(f[G>>2]|0)+612>>2]&127](f[L>>2]|0,f[d+44>>2]|0,(h|0)==(e|0)?0:h,g),Fj[f[(f[G>>2]|0)+104>>2]&511](f[L>>2]|0,35714,M),G=(f[M>>2]|0)==1,F=G&1,b[a+37>>0]=F,b[p>>0]=F,G):0))H=12;do if((H|0)==12){d=a+16|0;e=f[d>>2]|0;if(b[e+29>>0]|0?(Fj[f[e+448>>2]&511](f[L>>2]|0,36314,f[(f[z>>2]|0)+120>>2]|0),Fj[f[(f[d>>2]|0)+448>>2]&511](f[L>>2]|0,36315,f[(f[z>>2]|0)+124>>2]|0),Fj[f[(f[d>>2]|0)+448>>2]&511](f[L>>2]|0,36316,f[(f[z>>2]|0)+128>>2]|0),b[p>>0]|0):0)break;f[M>>2]=0;n=a+16|0;Ij[f[(f[n>>2]|0)+96>>2]&127](f[L>>2]|0,20,M,N);l=B+4|0;f[l>>2]=0;m=B+8|0;f[m>>2]=0;o=B+4|0;f[B>>2]=o;d=f[M>>2]|0;a:do if((d|0)>0){e=0;g=0;while(1){k=N+(e<<2)|0;do if(g){j=f[k>>2]|0;i=l;while(1){h=f[g+16>>2]|0;if(j>>>0<h>>>0){h=f[g>>2]|0;if(!h){H=22;break}else{i=g;g=h}}else{if(h>>>0>=j>>>0){H=26;break}i=g+4|0;h=f[i>>2]|0;if(!h){H=25;break}else g=h}}if((H|0)==22){H=0;h=g;i=g;break}else if((H|0)==25){H=0;h=g;break}else if((H|0)==26){H=0;h=g;break}}else{h=o;i=o}while(0);g=f[i>>2]|0;if(!g){g=EBb(24)|0;f[g+16>>2]=f[k>>2];f[g+20>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[i>>2]=g;d=f[f[B>>2]>>2]|0;if(!d)d=g;else{f[B>>2]=d;d=f[i>>2]|0}Xo(f[l>>2]|0,d);f[m>>2]=(f[m>>2]|0)+1;d=f[M>>2]|0}G=g+20|0;f[G>>2]=(f[G>>2]|0)+-1;e=e+1|0;if((e|0)>=(d|0))break a;g=f[o>>2]|0}}while(0);d=f[z>>2]|0;if((f[d+108>>2]|0)!=(f[d+104>>2]|0)){i=0;do{d=VPa(f[(f[d+104>>2]|0)+(i<<2)>>2]|0,c)|0;if(d|0){h=f[d+20>>2]|0;d=f[o>>2]|0;do if(d){g=l;while(1){e=f[d+16>>2]|0;if(h>>>0<e>>>0){e=f[d>>2]|0;if(!e){H=41;break}else{g=d;d=e}}else{if(e>>>0>=h>>>0){H=45;break}g=d+4|0;e=f[g>>2]|0;if(!e){H=44;break}else d=e}}if((H|0)==41){H=0;e=d;g=d;break}else if((H|0)==44){H=0;e=d;break}else if((H|0)==45){H=0;e=d;break}}else{e=o;g=o}while(0);d=f[g>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=h;f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[g>>2]=d;e=f[f[B>>2]>>2]|0;if(!e)e=d;else{f[B>>2]=e;e=f[g>>2]|0}Xo(f[l>>2]|0,e);f[m>>2]=(f[m>>2]|0)+1}G=d+20|0;f[G>>2]=(f[G>>2]|0)+1}i=i+1|0;d=f[z>>2]|0}while(i>>>0<(f[d+108>>2]|0)-(f[d+104>>2]|0)>>2>>>0)}d=f[B>>2]|0;if((d|0)!=(o|0)){g=d;while(1){d=g+16|0;e=f[g+20>>2]|0;if((e|0)<=0){if((e|0)<0)Bj[f[(f[n>>2]|0)+76>>2]&1023](f[L>>2]|0,f[d>>2]|0)}else Bj[f[(f[n>>2]|0)+44>>2]&1023](f[L>>2]|0,f[d>>2]|0);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{G=f[e>>2]|0;e=G+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(G|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(o|0))break;else g=d}}wQa(B,f[o>>2]|0)}while(0);g=f[a+96>>2]|0;h=a+100|0;d=f[h>>2]|0;if((d|0)!=(g|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(F=e+8|0,G=f[F>>2]|0,f[F>>2]=G-1,(G|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[h>>2]=g;g=f[a+108>>2]|0;h=a+112|0;d=f[h>>2]|0;if((d|0)!=(g|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(F=e+8|0,G=f[F>>2]|0,f[F>>2]=G-1,(G|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[h>>2]=g;w=a+48|0;x=a+52|0;gQa(w,f[x>>2]|0);y=a+56|0;f[y>>2]=0;f[w>>2]=x;f[x>>2]=0;F=a+60|0;o=a+64|0;fQa(F,f[o>>2]|0);G=a+68|0;f[G>>2]=0;f[F>>2]=o;f[o>>2]=0;o=a+84|0;A=a+88|0;dQa(o,f[A>>2]|0);f[a+92>>2]=0;f[o>>2]=A;f[A>>2]=0;if(!(b[p>>0]|0)){i=f[z>>2]|0;d=f[i+68>>2]|0;i=i+72|0;if((d|0)!=(i|0)){j=a+16|0;h=d;while(1){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){o=Nu(Hua(4)|0,437971,32)|0;d=h+16|0;g=h+28|0;o=Nu(csb(o,f[g>>2]|0)|0,414635,2)|0;e=d+11|0;A=b[e>>0]|0;p=A<<24>>24<0;A=Nu(o,p?f[d>>2]|0:d,p?f[h+20>>2]|0:A&255)|0;Drb(M,A+(f[(f[A>>2]|0)+-12>>2]|0)|0);p=utb(M,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(M);ksb(A,p)|0;Krb(A)|0}else{e=h+16|0;d=e;g=h+28|0;e=e+11|0}if((b[e>>0]|0)<0)d=f[d>>2]|0;Fj[f[(f[j>>2]|0)+48>>2]&511](f[L>>2]|0,f[g>>2]|0,d);d=f[h+4>>2]|0;if(!d){e=h+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(h|0))do{A=f[e>>2]|0;e=A+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(A|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(i|0))break;else h=d}}if(b[c+131>>0]|0?(q=f[c+584>>2]|0,r=c+588|0,(q|0)!=(r|0)):0){i=a+16|0;h=q;while(1){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){c=Nu(Hua(4)|0,438004,30)|0;d=h+16|0;g=h+28|0;c=Nu(csb(c,f[g>>2]|0)|0,414635,2)|0;e=d+11|0;A=b[e>>0]|0;q=A<<24>>24<0;A=Nu(c,q?f[d>>2]|0:d,q?f[h+20>>2]|0:A&255)|0;Drb(M,A+(f[(f[A>>2]|0)+-12>>2]|0)|0);q=utb(M,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(M);ksb(A,q)|0;Krb(A)|0}else{e=h+16|0;d=e;g=h+28|0;e=e+11|0}if((b[e>>0]|0)<0)d=f[d>>2]|0;Fj[f[(f[i>>2]|0)+48>>2]&511](f[L>>2]|0,f[g>>2]|0,d);d=f[h+4>>2]|0;if(!d){e=h+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(h|0))do{A=f[e>>2]|0;e=A+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(A|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(r|0))break;else h=d}}h=f[z>>2]|0;d=f[h+80>>2]|0;h=h+84|0;if((d|0)!=(h|0)){i=a+16|0;g=d;while(1){d=g+16|0;if((b[d+11>>0]|0)<0)d=f[d>>2]|0;Fj[f[(f[i>>2]|0)+464>>2]&511](f[L>>2]|0,f[g+28>>2]|0,d);d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{A=f[e>>2]|0;e=A+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(A|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(h|0))break;else g=d}}d=a+16|0;if(s)Fj[f[(f[d>>2]|0)+448>>2]&511](f[L>>2]|0,33367,1);f[M>>2]=0;tj[f[(f[d>>2]|0)+168>>2]&2047](f[L>>2]|0);Fj[f[(f[d>>2]|0)+104>>2]&511](f[L>>2]|0,35714,M);d=(f[M>>2]|0)==1&1;b[a+37>>0]=d}else d=b[a+37>>0]|0;if(!(d<<24>>24)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){O=Nu(jsb(Nu(Hua(3)|0,438035,14)|0,a)|0,437848,1)|0;R=f[z>>2]|0;P=R+12|0;S=b[P+11>>0]|0;Q=S<<24>>24<0;S=Nu(Nu(O,Q?f[P>>2]|0:P,Q?f[R+16>>2]|0:S&255)|0,438050,8)|0;Drb(M,S+(f[(f[S>>2]|0)+-12>>2]|0)|0);R=utb(M,504576)|0;R=cj[f[(f[R>>2]|0)+28>>2]&1023](R,10)|0;vtb(M);ksb(S,R)|0;Krb(S)|0};f[N>>2]=0;f[N+4>>2]=0;f[N+8>>2]=0;if(cj[f[(f[a>>2]|0)+20>>2]&1023](a,N)|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){O=Nu(Hua(3)|0,438059,9)|0;S=f[z>>2]|0;P=S+12|0;Q=b[P+11>>0]|0;R=Q<<24>>24<0;Q=Nu(Nu(O,R?f[P>>2]|0:P,R?f[S+16>>2]|0:Q&255)|0,438069,11)|0;S=b[N+11>>0]|0;R=S<<24>>24<0;S=Nu(Q,R?f[N>>2]|0:N,R?f[N+4>>2]|0:S&255)|0;Drb(M,S+(f[(f[S>>2]|0)+-12>>2]|0)|0);R=utb(M,504576)|0;R=cj[f[(f[R>>2]|0)+28>>2]&1023](R,10)|0;vtb(M);ksb(S,R)|0;Krb(S)|0}}if((b[N+11>>0]|0)<0)GBb(f[N>>2]|0);u=T;return};f[N>>2]=0;f[N+4>>2]=0;f[N+8>>2]=0;if(cj[f[(f[a>>2]|0)+20>>2]&1023](a,N)|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){c=Nu(Hua(4)|0,438059,9)|0;A=f[z>>2]|0;q=A+12|0;r=b[q+11>>0]|0;s=r<<24>>24<0;r=Nu(Nu(Nu(c,s?f[q>>2]|0:q,s?f[A+16>>2]|0:r&255)|0,438081,2)|0,438084,25)|0;A=b[N+11>>0]|0;s=A<<24>>24<0;A=Nu(r,s?f[N>>2]|0:N,s?f[N+4>>2]|0:A&255)|0;Drb(M,A+(f[(f[A>>2]|0)+-12>>2]|0)|0);s=utb(M,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(M);ksb(A,s)|0;Krb(A)|0}}A=a+16|0;d=f[L>>2]|0;e=f[z>>2]|0;g=e+12|0;h=f[(f[A>>2]|0)+1748>>2]|0;if(h|0?(v=b[g+11>>0]|0,t=v<<24>>24<0,v=t?f[e+16>>2]|0:v&255,v|0):0)Ij[h&127](33506,d,v,t?f[g>>2]|0:g);if((b[N+11>>0]|0)<0)GBb(f[N>>2]|0);d=f[A>>2]|0;if(b[d+32>>0]|0){f[N>>2]=0;f[B>>2]=0;Fj[f[d+104>>2]&511](f[L>>2]|0,35382,N);Fj[f[(f[A>>2]|0)+104>>2]&511](f[L>>2]|0,35381,B);e=f[B>>2]|0;if((e|0)>0){f[O>>2]=0;o=O+4|0;f[o>>2]=0;t=O+8|0;f[t>>2]=0;d=EBb(e)|0;f[O>>2]=d;v=d+e|0;f[t>>2]=v;_Db(d|0,0,e|0)|0;f[o>>2]=v;do if(f[N>>2]|0){j=R+11|0;k=R+12|0;l=a+72|0;m=R+8|0;n=R+4|0;i=0;while(1){f[P>>2]=0;f[Q>>2]=0;Kj[f[(f[A>>2]|0)+600>>2]&63](f[L>>2]|0,i,e,P,d);Ij[f[(f[A>>2]|0)+596>>2]&127](f[L>>2]|0,i,35392,Q);g=f[Q>>2]|0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;h=Rmb(d)|0;if(h>>>0>4294967279){H=169;break}if(h>>>0<11){b[j>>0]=h;if(!h)d=R;else{e=R;H=173}}else{H=h+16&-16;e=EBb(H)|0;f[R>>2]=e;f[m>>2]=H|-2147483648;f[n>>2]=h;H=173}if((H|0)==173){H=0;YDb(e|0,d|0,h|0)|0;d=e}b[d+h>>0]=0;v=k;f[v>>2]=i;f[v+4>>2]=g;xQa(M,l,R,R);if((b[j>>0]|0)<0)GBb(f[R>>2]|0);d=i+1|0;if(d>>>0>=(f[N>>2]|0)>>>0){H=165;break}i=d;e=f[B>>2]|0;d=f[O>>2]|0}if((H|0)==165){d=f[O>>2]|0;if(!d)break;else{H=166;break}}else if((H|0)==169)MBb(R)}else H=166;while(0);if((H|0)==166){f[o>>2]=d;GBb(d)}}d=f[z>>2]|0;e=f[a+72>>2]|0;j=a+76|0;if((e|0)!=(j|0)){k=d+92|0;i=d+96|0;while(1){g=e+16|0;d=yQa(k,g)|0;do if((d|0)==(i|0)){do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=1)break;t=Nu(Hua(2)|0,438110,14)|0;z=b[g+11>>0]|0;v=z<<24>>24<0;Nu(Nu(t,v?f[g>>2]|0:g,v?f[e+20>>2]|0:z&255)|0,438139,17)|0}else{h=e+28|0;d=d+28|0;Fj[f[(f[A>>2]|0)+604>>2]&511](f[L>>2]|0,f[h>>2]|0,f[d>>2]|0);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;t=Nu(Hua(4)|0,438110,14)|0;z=b[g+11>>0]|0;v=z<<24>>24<0;z=Nu(Nu(t,v?f[g>>2]|0:g,v?f[e+20>>2]|0:z&255)|0,438125,2)|0;z=Nu(csb(z,f[h>>2]|0)|0,438128,10)|0;Nu(csb(z,f[d>>2]|0)|0,474250,1)|0}while(0);d=f[e+4>>2]|0;do if(!d){g=e+8|0;d=f[g>>2]|0;if((f[d>>2]|0)==(e|0))break;e=g;do{z=f[e>>2]|0;e=z+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(z|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}while(0);if((d|0)==(j|0))break;else e=d}}d=f[A>>2]|0}q=N+4|0;f[q>>2]=0;r=N+8|0;f[r>>2]=0;s=N+4|0;f[N>>2]=s;f[B>>2]=0;f[O>>2]=0;Fj[f[d+104>>2]&511](f[L>>2]|0,35718,B);Fj[f[(f[A>>2]|0)+104>>2]&511](f[L>>2]|0,35719,O);e=f[O>>2]|0;do if((f[B>>2]|0)>0&(e|0)>1){f[P>>2]=0;f[Q>>2]=0;m=FBb(e)|0;n=M+11|0;o=M+8|0;p=M+4|0;c=a+52|0;d=0;b:while(1){Mj[f[(f[A>>2]|0)+92>>2]&15](f[L>>2]|0,d,e,0,P,Q,m);e=Rmb(m)|0;if((e|0)>0?(C=e+-1|0,D=m+C|0,(b[D>>0]|0)==93):0){if((e|0)>1){e=C;do{z=e;e=e+-1|0;if((z|0)<=1)break}while((b[m+e>>0]|0)!=91);e=m+e|0}else e=D;b[e>>0]=0}if((f[Q>>2]|0)==37595){e=f[s>>2]|0;do if(e){h=q;while(1){g=f[e+16>>2]|0;if(d>>>0<g>>>0){g=f[e>>2]|0;if(!g){H=215;break}else{h=e;e=g}}else{if(g>>>0>=d>>>0){H=219;break}h=e+4|0;g=f[h>>2]|0;if(!g){H=218;break}else e=g}}if((H|0)==215){H=0;g=e;h=e;break}else if((H|0)==218){H=0;g=e;break}else if((H|0)==219){H=0;g=e;break}}else{g=s;h=s}while(0);e=f[h>>2]|0;if(!e){e=EBb(32)|0;f[e+16>>2]=d;z=e+20|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[N>>2]>>2]|0;if(!g)g=e;else{f[N>>2]=g;g=f[h>>2]|0}Xo(f[q>>2]|0,g);f[r>>2]=(f[r>>2]|0)+1}ZBb(e+20|0,m)|0}j=cj[f[(f[A>>2]|0)+132>>2]&1023](f[L>>2]|0,m)|0;do if((j|0)!=-1){k=f[Q>>2]|0;l=f[P>>2]|0;f[M>>2]=0;f[M+4>>2]=0;f[M+8>>2]=0;g=Rmb(m)|0;if(g>>>0>4294967279){H=228;break b}if(g>>>0<11){b[n>>0]=g;if(!g)e=M;else{e=M;H=232}}else{H=g+16&-16;e=EBb(H)|0;f[M>>2]=e;f[o>>2]=H|-2147483648;f[p>>2]=g;H=232}if((H|0)==232){H=0;YDb(e|0,m|0,g|0)|0}b[e+g>>0]=0;i=zQa(M)|0;e=f[x>>2]|0;do if(e){h=c;while(1){g=f[e+16>>2]|0;if(i>>>0<g>>>0){g=f[e>>2]|0;if(!g){H=237;break}else{h=e;e=g}}else{if(g>>>0>=i>>>0){H=241;break}h=e+4|0;g=f[h>>2]|0;if(!g){H=240;break}else e=g}}if((H|0)==237){H=0;g=e;h=e;break}else if((H|0)==240){H=0;g=e;break}else if((H|0)==241){H=0;g=e;break}}else{g=x;h=x}while(0);e=f[h>>2]|0;if(!e){e=EBb(32)|0;f[e+16>>2]=i;f[e+20>>2]=-1;f[e+24>>2]=0;f[e+28>>2]=-1;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[w>>2]>>2]|0;if(!g)g=e;else{f[w>>2]=g;g=f[h>>2]|0}Xo(f[c>>2]|0,g);f[y>>2]=(f[y>>2]|0)+1}f[e+20>>2]=j;f[e+24>>2]=k;f[e+28>>2]=l;if((b[n>>0]|0)<0)GBb(f[M>>2]|0);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;v=Nu(Hua(4)|0,438157,10)|0;v=Nu(bsb(Nu(Nu(Nu(v,m,Rmb(m)|0)|0,437848,1)|0,438168,5)|0,j)|0,428366,6)|0;v=Nu(bsb(v,f[P>>2]|0)|0,438174,6)|0;z=AQa(f[Q>>2]|0)|0;z=Nu(v,z,Rmb(z)|0)|0;Drb(M,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);v=utb(M,504576)|0;v=cj[f[(f[v>>2]|0)+28>>2]&1023](v,10)|0;vtb(M);ksb(z,v)|0;Krb(z)|0}while(0);d=d+1|0;if((d|0)>=(f[B>>2]|0)){H=256;break}e=f[O>>2]|0}if((H|0)==228)MBb(M);else if((H|0)==256){HBb(m);break}}while(0);d=f[A>>2]|0;if((b[d+35>>0]|0)!=0?(E=f[r>>2]|0,(E|0)!=0):0){f[M>>2]=0;o=M+4|0;f[o>>2]=0;e=M+8|0;f[e>>2]=0;if(E>>>0>1073741823)DCb(M);j=E<<2;i=EBb(j)|0;f[M>>2]=i;k=i+(E<<2)|0;f[e>>2]=k;_Db(i|0,0,j|0)|0;f[o>>2]=k;f[P>>2]=0;k=P+4|0;f[k>>2]=0;j=P+8|0;f[j>>2]=0;e=f[N>>2]|0;if((e|0)==(s|0)){n=k;l=P;h=0;g=0;e=i}else{h=e;e=0;g=0;while(1){d=h+16|0;if((e|0)==(g|0))iw(P,d);else{f[e>>2]=f[d>>2];f[k>>2]=e+4}d=f[h+4>>2]|0;do if(!d){e=h+8|0;d=f[e>>2]|0;if((f[d>>2]|0)==(h|0))break;do{E=f[e>>2]|0;e=E+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(E|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}while(0);if((d|0)==(s|0))break;h=d;e=f[k>>2]|0;g=f[j>>2]|0}n=k;l=P;d=f[A>>2]|0;h=f[P>>2]|0;g=f[k>>2]|0;e=f[M>>2]|0}Kj[f[d+584>>2]&63](f[L>>2]|0,g-h>>2,h,37594,e);if((f[n>>2]|0)!=(f[l>>2]|0)){j=0;do{do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>3){k=Nu(Hua(4)|0,438181,25)|0;i=(f[P>>2]|0)+(j<<2)|0;d=f[s>>2]|0;do if(d){h=f[i>>2]|0;g=q;while(1){e=f[d+16>>2]|0;if(h>>>0<e>>>0){e=f[d>>2]|0;if(!e){H=289;break}else{g=d;d=e}}else{if(e>>>0>=h>>>0){H=293;break}g=d+4|0;e=f[g>>2]|0;if(!e){H=292;break}else d=e}}if((H|0)==289){H=0;e=d;g=d;break}else if((H|0)==292){H=0;e=d;break}else if((H|0)==293){H=0;e=d;break}}else{e=s;g=s}while(0);d=f[g>>2]|0;if(!d){d=EBb(32)|0;f[d+16>>2]=f[i>>2];E=d+20|0;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=e;f[g>>2]=d;e=f[f[N>>2]>>2]|0;if(!e)e=d;else{f[N>>2]=e;e=f[g>>2]|0}Xo(f[q>>2]|0,e);f[r>>2]=(f[r>>2]|0)+1}C=d+20|0;E=b[C+11>>0]|0;D=E<<24>>24<0;E=Nu(Nu(Nu(k,D?f[C>>2]|0:C,D?f[d+24>>2]|0:E&255)|0,437848,1)|0,438207,14)|0;Nu(bsb(E,f[(f[M>>2]|0)+(j<<2)>>2]|0)|0,438222,2)|0}j=j+1|0}while(j>>>0<(f[n>>2]|0)-(f[l>>2]|0)>>2>>>0)}k=Q+4|0;f[k>>2]=0;l=Q+8|0;f[l>>2]=0;m=Q+4|0;f[Q>>2]=m;e=f[M>>2]|0;c:do if((f[o>>2]|0)!=(e|0)){d=0;g=0;while(1){j=e+(d<<2)|0;do if(g){i=f[j>>2]|0;h=k;e=g;while(1){g=f[e+16>>2]|0;if((i|0)<(g|0)){g=f[e>>2]|0;if(!g){H=306;break}else{h=e;e=g}}else{if((g|0)>=(i|0)){H=310;break}h=e+4|0;g=f[h>>2]|0;if(!g){H=309;break}else e=g}}if((H|0)==306){H=0;i=e;h=e;break}else if((H|0)==309){H=0;i=e;break}else if((H|0)==310){H=0;i=e;break}}else{i=m;h=m}while(0);e=f[h>>2]|0;if(!e){g=EBb(32)|0;f[g+16>>2]=f[j>>2];f[g+20>>2]=0;f[g+24>>2]=0;f[g+28>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=i;f[h>>2]=g;e=f[f[Q>>2]>>2]|0;if(!e)e=g;else{f[Q>>2]=e;e=f[h>>2]|0}Xo(f[k>>2]|0,e);f[l>>2]=(f[l>>2]|0)+1;e=g}g=f[(f[P>>2]|0)+(d<<2)>>2]|0;f[R>>2]=g;h=e+24|0;i=f[h>>2]|0;if(i>>>0<(f[e+28>>2]|0)>>>0){f[i>>2]=g;f[h>>2]=i+4}else BQa(e+20|0,R);d=d+1|0;e=f[M>>2]|0;if(d>>>0>=(f[o>>2]|0)-e>>2>>>0)break c;g=f[m>>2]|0}}while(0);f[R>>2]=0;Fj[f[(f[A>>2]|0)+104>>2]&511](f[L>>2]|0,37593,R);d:do if(f[R>>2]|0){h=K+4|0;i=K+8|0;g=0;while(1){f[S>>2]=0;Ij[f[(f[A>>2]|0)+684>>2]&127](f[L>>2]|0,g,37569,S);f[I>>2]=0;Ij[f[(f[A>>2]|0)+684>>2]&127](f[L>>2]|0,g,37573,I);f[J>>2]=0;Ij[f[(f[A>>2]|0)+684>>2]&127](f[L>>2]|0,g,37572,J);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>3){E=Nu(Hua(4)|0,438225,37)|0;E=Nu(Nu(bsb(E,f[S>>2]|0)|0,437848,1)|0,438263,28)|0;E=Nu(bsb(E,f[I>>2]|0)|0,438292,11)|0;Nu(bsb(E,f[J>>2]|0)|0,474250,1)|0}d=f[I>>2]|0;if(d|0){f[K>>2]=0;f[h>>2]=0;f[i>>2]=0;if(d>>>0>1073741823)break;C=d<<2;E=EBb(C)|0;f[K>>2]=E;D=E+(d<<2)|0;f[i>>2]=D;_Db(E|0,0,C|0)|0;f[h>>2]=D;Ij[f[(f[A>>2]|0)+684>>2]&127](f[L>>2]|0,g,37574,E);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>3)Nu(Hua(4)|0,438304,16)|0;if((f[I>>2]|0)>0){d=0;do{do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)>3){E=Hua(4)|0;bsb(E,f[(f[K>>2]|0)+(d<<2)>>2]|0)|0}e=(b[497232]|0)==0;do if((d|0)<((f[I>>2]|0)+-1|0)){do if(e){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;Nu(Hua(4)|0,414635,2)|0}else{do if(e){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;Nu(Hua(4)|0,438222,2)|0}while(0);d=d+1|0}while((d|0)<(f[I>>2]|0))}d=f[K>>2]|0;if(d|0){f[h>>2]=d;GBb(d)}}g=g+1|0;if(g>>>0>=(f[R>>2]|0)>>>0)break d}DCb(K)}while(0);CQa(Q,f[m>>2]|0);d=f[P>>2]|0;if(d|0){f[n>>2]=d;GBb(d)}d=f[M>>2]|0;if(d|0){f[o>>2]=d;GBb(d)}d=f[A>>2]|0}f[P>>2]=0;Fj[f[d+104>>2]&511](f[L>>2]|0,35721,P);Fj[f[(f[A>>2]|0)+104>>2]&511](f[L>>2]|0,35722,O);e=f[O>>2]|0;do if((f[P>>2]|0)>0&(e|0)>1){f[Q>>2]=0;f[R>>2]=0;m=FBb(e)|0;n=S+11|0;o=S+8|0;p=S+4|0;l=a+64|0;d=0;e:while(1){Mj[f[(f[A>>2]|0)+88>>2]&15](f[L>>2]|0,d,e,0,Q,R,m);i=cj[f[(f[A>>2]|0)+100>>2]&1023](f[L>>2]|0,m)|0;do if((i|0)!=-1){j=f[R>>2]|0;k=f[Q>>2]|0;f[S>>2]=0;f[S+4>>2]=0;f[S+8>>2]=0;g=Rmb(m)|0;if(g>>>0>4294967279){H=367;break e}if(g>>>0<11){b[n>>0]=g;if(!g)e=S;else{e=S;H=371}}else{H=g+16&-16;e=EBb(H)|0;f[S>>2]=e;f[o>>2]=H|-2147483648;f[p>>2]=g;H=371}if((H|0)==371){H=0;YDb(e|0,m|0,g|0)|0}b[e+g>>0]=0;h=DQa(F,M,S)|0;e=f[h>>2]|0;if(!e){e=EBb(40)|0;g=e+16|0;f[g>>2]=f[S>>2];f[g+4>>2]=f[S+4>>2];f[g+8>>2]=f[S+8>>2];f[S>>2]=0;f[S+4>>2]=0;f[S+8>>2]=0;f[e+28>>2]=-1;f[e+32>>2]=0;f[e+36>>2]=-1;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[F>>2]>>2]|0;if(!g)g=e;else{f[F>>2]=g;g=f[h>>2]|0}Xo(f[l>>2]|0,g);f[G>>2]=(f[G>>2]|0)+1}f[e+28>>2]=i;f[e+32>>2]=j;f[e+36>>2]=k;if((b[n>>0]|0)<0)GBb(f[S>>2]|0);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;a=Nu(Hua(4)|0,438321,9)|0;a=Nu(bsb(Nu(Nu(Nu(a,m,Rmb(m)|0)|0,437848,1)|0,438168,5)|0,i)|0,428366,6)|0;a=bsb(a,f[Q>>2]|0)|0;Drb(M,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);K=utb(M,504576)|0;K=cj[f[(f[K>>2]|0)+28>>2]&1023](K,10)|0;vtb(M);ksb(a,K)|0;Krb(a)|0}while(0);d=d+1|0;if((d|0)>=(f[P>>2]|0)){H=385;break}e=f[O>>2]|0}if((H|0)==367)MBb(S);else if((H|0)==385){HBb(m);break}}while(0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){S=Hua(4)|0;Drb(M,S+(f[(f[S>>2]|0)+-12>>2]|0)|0);R=utb(M,504576)|0;R=cj[f[(f[R>>2]|0)+28>>2]&1023](R,10)|0;vtb(M);ksb(S,R)|0;Krb(S)|0}EQa(N,f[s>>2]|0);u=T;return}function kQa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;i=u;u=u+32|0;c=i+16|0;d=i+12|0;e=i;g=a+20|0;h=f[g>>2]|0;if(!h){h=0;u=i;return h|0}f[d>>2]=0;j=a+16|0;tj[f[(f[j>>2]|0)+256>>2]&2047](h);Fj[f[(f[j>>2]|0)+104>>2]&511](f[g>>2]|0,35715,d);if((f[d>>2]|0)==1)a=1;else{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){l=Nu(Hua(2)|0,437906,26)|0;h=f[a+12>>2]|0;k=h+12|0;j=b[k+11>>0]|0;d=j<<24>>24<0;j=Nu(Nu(Nu(l,d?f[k>>2]|0:k,d?f[h+16>>2]|0:j&255)|0,437848,1)|0,437933,4)|0;j=Nu(csb(j,f[g>>2]|0)|0,437850,11)|0;j=csb(j,f[a+40>>2]|0)|0;Drb(c,j+(f[(f[j>>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(j,h)|0;Krb(j)|0};f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;if(cj[f[(f[a>>2]|0)+20>>2]&1023](a,e)|0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){j=Nu(Hua(2)|0,437938,9)|0;l=b[e+11>>0]|0;k=l<<24>>24<0;l=Nu(j,k?f[e>>2]|0:e,k?f[e+4>>2]|0:l&255)|0;Drb(c,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(c,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(c);ksb(l,k)|0;Krb(l)|0}}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){l=Hua(2)|0;Drb(c,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(c,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(c);ksb(l,k)|0;Krb(l)|0}if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);a=0}l=a;u=i;return l|0}function lQa(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;c=h+4|0;e=h;g=f[a+20>>2]|0;if(!g){g=0;u=h;return g|0}d=f[a+16>>2]|0;f[c>>2]=0;f[e>>2]=0;Fj[f[d+104>>2]&511](g,35716,c);a=f[c>>2]|0;if((a|0)>1){c=FBb(a)|0;Ij[f[d+112>>2]&127](g,a,e,c);if((f[e>>2]|0)>0)ZBb(b,c)|0;HBb(c);a=(f[e>>2]|0)>0}else a=0;g=a;u=h;return g|0}function mQa(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;c=i+4|0;g=i;h=a+20|0;if(!(f[h>>2]|0)){h=0;u=i;return h|0}Bj[f[(f[a>>2]|0)+12>>2]&1023](a,b);f[c>>2]=0;d=a+16|0;Fj[f[(f[d>>2]|0)+104>>2]&511](f[h>>2]|0,34625,c);a=f[c>>2]|0;do if(a){b=EBb(48)|0;f[b+4>>2]=0;f[b+8>>2]=0;c=b+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+24>>2]=2;f[b+28>>2]=0;f[b>>2]=348452;c=b+32|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;if((a|0)<0)DCb(c);else{e=EBb(a)|0;j=e+a|0;_Db(e|0,0,a|0)|0;k=j;f[c>>2]=e;f[b+36>>2]=k;f[b+40>>2]=k;f[g>>2]=0;Kj[f[(f[d>>2]|0)+608>>2]&63](f[h>>2]|0,a,0,g,(e|0)==(j|0)?0:e);f[b+44>>2]=f[g>>2];e=b;break}}else e=0;while(0);k=e;u=i;return k|0}function nQa(a){a=a|0;var b=0;b=f[a+20>>2]|0;if(!b)return;tj[f[(f[a+16>>2]|0)+176>>2]&2047](b);return}function oQa(a){a=a|0;var b=0;f[a>>2]=348452;b=f[a+32>>2]|0;if(!b){Gva(a);return}f[a+36>>2]=b;GBb(b);Gva(a);return}function pQa(a){a=a|0;var b=0;f[a>>2]=348452;b=f[a+32>>2]|0;if(b|0){f[a+36>>2]=b;GBb(b)}Gva(a);GBb(a);return}function qQa(a){a=a|0;var b=0;a=EBb(48)|0;f[a+4>>2]=0;f[a+8>>2]=0;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]=348452;b=a+32|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[b+12>>2]=0;return a|0}function rQa(a,b){a=a|0;b=b|0;var c=0;c=EBb(48)|0;vQa(c,a,b);return c|0}function sQa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298472,0)|0)!=0;return b|0}function tQa(a){a=a|0;return 409756}function uQa(a){a=a|0;return 437862}function vQa(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;Fva(a,b,c);f[a>>2]=348452;d=a+32|0;e=b+32|0;f[d>>2]=0;j=a+36|0;f[j>>2]=0;g=a+40|0;f[g>>2]=0;h=b+36|0;c=(f[h>>2]|0)-(f[e>>2]|0)|0;if(c|0){if((c|0)<0)DCb(d);i=EBb(c)|0;f[j>>2]=i;f[d>>2]=i;f[g>>2]=i+c;d=f[e>>2]|0;c=(f[h>>2]|0)-d|0;if((c|0)>0){YDb(i|0,d|0,c|0)|0;f[j>>2]=i+c}}f[a+44>>2]=f[b+44>>2];return}function wQa(a,b){a=a|0;b=b|0;if(!b)return;else{wQa(a,f[b>>2]|0);wQa(a,f[b+4>>2]|0);GBb(b);return}}function xQa(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;j=u;u=u+16|0;g=j;h=JQa(c,g,d)|0;d=f[h>>2]|0;if(d|0){c=d;i=0;f[a>>2]=c;c=a+4|0;b[c>>0]=i;u=j;return}i=EBb(36)|0;OBb(i+16|0,e);k=e+12|0;e=f[k+4>>2]|0;d=i+28|0;f[d>>2]=f[k>>2];f[d+4>>2]=e;d=f[g>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=d;f[h>>2]=i;d=f[f[c>>2]>>2]|0;if(!d)d=i;else{f[c>>2]=d;d=f[h>>2]|0}Xo(f[c+4>>2]|0,d);k=c+8|0;f[k>>2]=(f[k>>2]|0)+1;k=i;c=1;f[a>>2]=k;k=a+4|0;b[k>>0]=c;u=j;return}function yQa(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<h>>>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<l>>>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<l>>>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 zQa(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+32|0;d=g+16|0;e=g;if((b[497312]|0)==0?DDb(497312)|0:0)t4a(499792,0);if((b[497320]|0)==0?DDb(497320)|0:0){f[124952]=0;f[124953]=0;f[124951]=499808}_i[f[(f[124948]|0)+8>>2]&2047](499792)|0;c=FQa(499804,a)|0;if((c|0)!=499808){e=f[c+28>>2]|0;d=f[124948]|0;d=d+12|0;d=f[d>>2]|0;_i[d&2047](499792)|0;u=g;return e|0}c=f[124953]|0;OBb(e,a);f[e+12>>2]=c;GQa(d,499804,e,e);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);e=c;d=f[124948]|0;d=d+12|0;d=f[d>>2]|0;_i[d&2047](499792)|0;u=g;return e|0}function AQa(a){a=a|0;var b=0;a:do if((a|0)<36311){if((a|0)>=35686)do switch(a|0){case 36294:{a=439509;break a}case 36295:{a=439502;break a}case 36296:{a=439495;break a}case 35686:{a=439426;break a}case 35687:{a=439419;break a}case 35688:{a=439412;break a}case 35689:{a=439405;break a}case 35690:{a=439398;break a}case 36288:{a=439243;break a}case 36289:{a=439228;break a}case 36291:{a=439187;break a}case 36292:{a=439166;break a}case 36293:{a=439119;break a}case 36290:{a=439079;break a}case 36297:{a=439034;break a}case 36298:{a=439023;break a}case 36299:{a=439012;break a}case 36300:{a=438999;break a}case 36302:{a=438983;break a}case 36303:{a=438967;break a}case 36304:{a=438900;break a}case 36301:{a=438885;break a}case 36305:{a=438874;break a}case 36306:{a=438863;break a}case 36307:{a=438852;break a}case 36308:{a=438839;break a}case 36310:{a=438823;break a}case 36309:{a=438725;break a}default:{b=114;break a}}while(0);if((a|0)>=35672)do switch(a|0){case 35672:{a=439478;break a}case 35673:{a=439472;break a}case 35674:{a=439450;break a}case 35675:{a=439445;break a}case 35676:{a=439440;break a}case 35685:{a=439433;break a}case 35677:{a=439322;break a}case 35678:{a=439312;break a}case 35679:{a=439302;break a}case 35680:{a=439290;break a}case 35681:{a=439274;break a}case 35682:{a=439258;break a}case 35683:{a=439065;break a}case 35684:{a=439045;break a}default:{b=114;break a}}while(0);if((a|0)>=35665)switch(a|0){case 35665:{a=439573;break a}case 35666:{a=439568;break a}case 35667:{a=439533;break a}case 35668:{a=439527;break a}case 35669:{a=439521;break a}case 35670:{a=439490;break a}case 35671:{a=439484;break a}default:{b=114;break a}}if((a|0)<5130)switch(a|0){case 5126:{a=439583;break a}case 5124:{a=439539;break a}case 5125:{a=439516;break a}default:{b=114;break a}}if((a|0)<5135)switch(a|0){case 5130:{a=439561;break a}case 5134:{a=439464;break a}default:{b=114;break a}}if((a|0)<35664){switch(a|0){case 5135:break;default:{b=114;break a}}a=439455;break}else{switch(a|0){case 35664:break;default:{b=114;break a}}a=439578;break}}else do switch(a|0){case 36860:{a=439555;break a}case 36861:{a=439549;break a}case 36862:{a=439543;break a}case 36678:{a=439392;break a}case 36679:{a=439386;break a}case 36680:{a=439380;break a}case 36681:{a=439372;break a}case 36682:{a=439364;break a}case 36683:{a=439356;break a}case 36684:{a=439348;break a}case 36685:{a=439340;break a}case 36686:{a=439332;break a}case 36876:{a=439208;break a}case 37128:{a=439154;break a}case 37131:{a=439137;break a}case 36877:{a=439093;break a}case 36878:{a=438946;break a}case 37129:{a=438933;break a}case 37132:{a=438915;break a}case 36311:{a=438807;break a}case 36879:{a=438786;break a}case 37130:{a=438773;break a}case 37133:{a=438755;break a}case 36312:{a=438740;break a}case 36940:{a=438717;break a}case 36941:{a=438709;break a}case 36942:{a=438701;break a}case 36943:{a=438689;break a}case 36944:{a=438679;break a}case 36945:{a=438667;break a}case 36946:{a=438654;break a}case 36947:{a=438641;break a}case 36948:{a=438626;break a}case 36949:{a=438616;break a}case 36950:{a=438601;break a}case 36951:{a=438592;break a}case 36952:{a=438583;break a}case 36953:{a=438574;break a}case 36954:{a=438561;break a}case 36955:{a=438550;break a}case 36956:{a=438537;break a}case 36957:{a=438523;break a}case 36958:{a=438509;break a}case 36959:{a=438493;break a}case 36960:{a=438482;break a}case 36961:{a=438466;break a}case 36962:{a=438457;break a}case 36963:{a=438448;break a}case 36964:{a=438439;break a}case 36965:{a=438426;break a}case 36966:{a=438415;break a}case 36967:{a=438402;break a}case 36968:{a=438388;break a}case 36969:{a=438374;break a}case 36970:{a=438358;break a}case 36971:{a=438347;break a}case 36972:{a=438331;break a}default:{b=114;break a}}while(0);while(0);if((b|0)==114)a=411797;return a|0}function BQa(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<c>>>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 CQa(a,b){a=a|0;b=b|0;if(!b)return;CQa(a,f[b>>2]|0);CQa(a,f[b+4>>2]|0);a=f[b+20>>2]|0;if(a|0){f[b+24>>2]=a;GBb(a)}GBb(b);return}function DQa(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<m>>>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 EQa(a,c){a=a|0;c=c|0;if(!c)return;EQa(a,f[c>>2]|0);EQa(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 FQa(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<h>>>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<l>>>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<l>>>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 GQa(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;g=j;h=HQa(c,g,d)|0;d=f[h>>2]|0;if(d|0){c=d;i=0;f[a>>2]=c;c=a+4|0;b[c>>0]=i;u=j;return}i=EBb(32)|0;OBb(i+16|0,e);f[i+28>>2]=f[e+12>>2];d=f[g>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=d;f[h>>2]=i;d=f[f[c>>2]>>2]|0;if(!d)d=i;else{f[c>>2]=d;d=f[h>>2]|0}Xo(f[c+4>>2]|0,d);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=i;i=1;f[a>>2]=c;c=a+4|0;b[c>>0]=i;u=j;return}function HQa(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<m>>>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 IQa(a,c){a=a|0;c=c|0;if(!c)return;IQa(a,f[c>>2]|0);IQa(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 JQa(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<m>>>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 KQa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+36|0;c=a+40|0;b=f[c>>2]|0;do if(b){d=a+40|0;while(1){c=f[b+16>>2]|0;if(c>>>0>298488>>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=298488>>>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=c;d=c}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=298488;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+40>>2]|0,c);g=a+44|0;f[g>>2]=(f[g>>2]|0)+1}c=b+20|0;if(f[c>>2]|0){a=f[c>>2]|0;return a|0}d=EBb(52)|0;RQa(d,f[a+24>>2]|0);b=f[c>>2]|0;if((b|0)==(d|0)){a=f[c>>2]|0;return a|0}f[c>>2]=d;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!b){a=f[c>>2]|0;return a|0}g=b+8|0;a=f[g>>2]|0;f[g>>2]=a-1;if((a|0)!=1){a=f[c>>2]|0;return a|0}Rua(b,1,1);a=f[c>>2]|0;return a|0}function LQa(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 MQa(a){a=a|0;dQa(a,f[a+4>>2]|0);return}function NQa(a){a=a|0;eQa(a,f[a+4>>2]|0);return}function OQa(a){a=a|0;fQa(a,f[a+4>>2]|0);return}function PQa(a){a=a|0;gQa(a,f[a+4>>2]|0);return}function QQa(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 RQa(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;d=h;e=EBb(32)|0;f[d>>2]=e;f[d+8>>2]=-2147483616;f[d+4>>2]=16;g=e;i=439589;j=g+16|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+16>>0]=0;dAa(a,d,c);f[a>>2]=343236;t4a(a+28|0,0);j=a+40|0;f[j>>2]=j;f[a+44>>2]=j;f[a+48>>2]=0;if((b[d+11>>0]|0)>=0){f[a>>2]=348624;u=h;return}GBb(f[d>>2]|0);f[a>>2]=348624;u=h;return}function SQa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=343236;d=a+40|0;c=a+48|0;if(f[c>>2]|0?(b=f[a+44>>2]|0,e=(f[d>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[e>>2],f[f[e>>2]>>2]=g,f[c>>2]=0,(b|0)!=(d|0)):0)do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));R3a(a+28|0);iza(a);GBb(a);return}function TQa(a,c){a=a|0;c=c|0;a=Lza(f[a+24>>2]|0,1)|0;if(!(b[a+24>>0]|0))return;tj[f[a+64>>2]&2047](c);return}function UQa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=348392;d=a+20|0;e=f[d>>2]|0;if(!e){Uua(a);return}g=a+24|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);return}function VQa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=348392;d=a+20|0;e=f[d>>2]|0;if(!e){Uua(a);GBb(a);return}g=a+24|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);GBb(a);return}function WQa(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;g=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;if(g-d>>2>>>0>=b>>>0){do{e=f[c>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[n>>2]|0}d=d+4|0;f[n>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;k=d-e>>2;d=k+b|0;if(d>>>0>1073741823)DCb(a);j=g-e|0;l=j>>1;d=j>>2>>>0<536870911?(l>>>0<d>>>0?d:l):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{l=EBb(d<<2)|0;break}else l=0;while(0);j=l+(k<<2)|0;e=j;i=l+(d<<2)|0;d=e;h=j;while(1){g=f[c>>2]|0;f[h>>2]=g;if(!g)d=h;else{h=g+8|0;f[h>>2]=(f[h>>2]|0)+1}g=d+4|0;b=b+-1|0;if(!b)break;else{d=g;h=g}}c=g;d=f[a>>2]|0;b=d;g=f[n>>2]|0;if((g|0)==(d|0))g=b;else{h=k+-1-((g+-4-b|0)>>>2)|0;e=j;while(1){g=g+-4|0;b=f[g>>2]|0;f[e+-4>>2]=b;if(b|0){k=b+8|0;f[k>>2]=(f[k>>2]|0)+1}if((g|0)==(d|0))break;else e=e+-4|0}e=l+(h<<2)|0;g=f[a>>2]|0;d=f[n>>2]|0}f[a>>2]=e;f[n>>2]=c;f[m>>2]=i;b=g;if((d|0)!=(b|0))do{d=d+-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}while((d|0)!=(b|0));if(!g)return;GBb(g);return}function XQa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=a+16|0;c=a+20|0;kBa(g,f[c>>2]|0);f[a+24>>2]=0;f[g>>2]=c;f[c>>2]=0;c=f[a>>2]|0;i=a+4|0;if((i|0)==(c|0)){i=a+12|0;b[i>>0]=0;return 1}do{d=c;e=f[d+36>>2]|0;if((f[d+32>>2]|0)!=(e|0)?(h=e+-4|0,f[h>>2]&1|0):0){d=dRa(g,d+16|0)|0;UBb(d,e+-16|0)|0;f[d+12>>2]=f[h>>2]}e=c;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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}}while((i|0)!=(c|0));i=a+12|0;b[i>>0]=0;return 1}function YQa(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,u=0;g=f[e>>2]|0;a=f[d>>2]|0;r=e+4|0;q=d+4|0;if((a|0)==(q|0)|(g|0)==(r|0))return;p=a;while(1){i=g+16|0;m=p+16|0;n=m+11|0;a=b[n>>0]|0;h=a<<24>>24<0;o=p+20|0;a=h?f[o>>2]|0:a&255;e=b[i+11>>0]|0;j=e<<24>>24<0;e=j?f[g+20>>2]|0:e&255;l=a>>>0<e>>>0;k=l?a:e;d=(k|0)==0;if(!d?(s=j?f[i>>2]|0:i,t=h?f[m>>2]|0:m,u=anb(s,t,k)|0,(u|0)!=0):0)if((u|0)<0)i=7;else{a=m;h=t;d=s;e=m;i=16}else if(e>>>0>=a>>>0)if(d)i=17;else{a=m;h=h?f[m>>2]|0:m;d=j?f[i>>2]|0:i;e=m;i=16}else i=7;do if((i|0)==7){i=0;a=f[g+4>>2]|0;if(!a){e=g+8|0;a=f[e>>2]|0;if((f[a>>2]|0)==(g|0)){e=p;break}do{o=f[e>>2]|0;e=o+8|0;a=f[e>>2]|0}while((f[a>>2]|0)!=(o|0));e=p}else{while(1){e=f[a>>2]|0;if(!e)break;else a=e}e=p;break}}else if((i|0)==16){d=anb(h,d,k)|0;if(d)if((d|0)<0)i=20;else i=27;else i=17}while(0);if((i|0)==17)if(l)i=20;else{e=m;a=m;i=27}do if((i|0)==20){e=f[p+4>>2]|0;if(!e){a=p+8|0;e=f[a>>2]|0;if((f[e>>2]|0)==(p|0)){a=g;break}do{p=f[a>>2]|0;a=p+8|0;e=f[a>>2]|0}while((f[e>>2]|0)!=(p|0));a=g}else{while(1){a=f[e>>2]|0;if(!a)break;else e=a}a=g;break}}else if((i|0)==27){cCb(c,439690)|0;i=b[n>>0]|0;h=i<<24>>24<0;bCb(c,h?f[e>>2]|0:a,h?f[o>>2]|0:i&255)|0;i=p+28|0;h=i+11|0;a=b[h>>0]|0;e=a<<24>>24<0;if(e)d=f[p+32>>2]|0;else d=a&255;if(d|0){if(e)e=f[i>>2]|0;else e=i;if((b[e>>0]|0)!=40){cCb(c,432341)|0;a=b[h>>0]|0}o=a<<24>>24<0;bCb(c,o?f[i>>2]|0:i,o?f[p+32>>2]|0:a&255)|0}cCb(c,474250)|0;a=f[g+4>>2]|0;if(!a){e=g+8|0;a=f[e>>2]|0;if((f[a>>2]|0)!=(g|0))do{o=f[e>>2]|0;e=o+8|0;a=f[e>>2]|0}while((f[a>>2]|0)!=(o|0))}else while(1){e=f[a>>2]|0;if(!e)break;else a=e}e=f[p+4>>2]|0;if(!e){d=p+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(p|0))break;do{p=f[d>>2]|0;d=p+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(p|0))}else{while(1){d=f[e>>2]|0;if(!d)break;else e=d}break}}while(0);if((e|0)==(q|0)|(a|0)==(r|0))break;else{p=e;g=a}}return}function ZQa(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,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;Q=u;u=u+64|0;L=Q+48|0;M=Q+36|0;E=Q+24|0;F=Q;G=Q+12|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){P=Nu(Hua(5)|0,439705,41)|0;Drb(L,P+(f[(f[P>>2]|0)+-12>>2]|0)|0);K=utb(L,504576)|0;K=cj[f[(f[K>>2]|0)+28>>2]&1023](K,10)|0;vtb(L);ksb(P,K)|0;Krb(P)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){P=Nu(Hua(5)|0,439747,26)|0;Drb(L,P+(f[(f[P>>2]|0)+-12>>2]|0)|0);H=utb(L,504576)|0;H=cj[f[(f[H>>2]|0)+28>>2]&1023](H,10)|0;vtb(L);ksb(P,H)|0;Krb(P)|0;H=c+11|0;I=b[H>>0]|0;K=I<<24>>24<0;J=c+4|0;I=Nu(P,K?f[c>>2]|0:c,K?f[J>>2]|0:I&255)|0;Drb(L,I+(f[(f[I>>2]|0)+-12>>2]|0)|0);K=utb(L,504576)|0;K=cj[f[(f[K>>2]|0)+28>>2]&1023](K,10)|0;vtb(L);ksb(I,K)|0;Krb(I)|0;I=Nu(I,439774,8)|0;Drb(L,I+(f[(f[I>>2]|0)+-12>>2]|0)|0);K=utb(L,504576)|0;K=cj[f[(f[K>>2]|0)+28>>2]&1023](K,10)|0;vtb(L);ksb(I,K)|0;Krb(I)|0;I=c;K=c}else{H=c+11|0;I=c;J=c+4|0;K=c}_Qa(a,c);P=M+11|0;b[P>>0]=10;j=M;k=439783;l=j+10|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[M+10>>0]=0;i=b[H>>0]|0;t=i<<24>>24<0;e=f[I>>2]|0;g=f[J>>2]|0;j=i&255;s=t?e:K;t=t?g:j;v=s+t|0;a:do if((t|0)>=9){k=t;while(1){k=k+-1|0;if((b[s+k>>0]|0)==32){l=s+k+-1|0;if((((((((b[l>>0]|0)==110?(q=l+-1|0,(b[q>>0]|0)==111):0)?(m=q+-1|0,(b[m>>0]|0)==105):0)?(n=m+-1|0,(b[n>>0]|0)==115):0)?(o=n+-1|0,(b[o>>0]|0)==114):0)?(p=o+-1|0,(b[p>>0]|0)==101):0)?(r=p+-1|0,(b[r>>0]|0)==118):0)?(b[r+-1>>0]|0)==35:0)break;if((k|0)==8){l=0;break a}}else if((k|0)==8){l=0;break a}}m=r+-1|0;l=m;n=s;k=l-n|0;if(!((m|0)==(v|0)|(k|0)==-1)){if(t>>>0<k>>>0)e=-1;else{e=v;g=e-l|0;b:do if((g|0)<1)i=v;else{i=m;while(1){g=Ymb(i,32,g)|0;if(!g){i=v;break b}if((b[g>>0]|0)==32)break;i=g+1|0;g=e-i|0;if((g|0)<1){i=v;break b}}i=g;e=g}while(0);e=(i|0)==(v|0)?-1:e-n|0};f[L>>2]=0;f[L+4>>2]=0;f[L+8>>2]=0;b[L+11>>0]=1;b[L>>0]=32;b[L+1>>0]=0;c:do if(t>>>0>e>>>0){e=s+e|0;while(1){if(!(Ymb(L,h[e>>0]|0,1)|0))break;e=e+1|0;if((e|0)==(v|0)){e=-1;break c}}e=e-n|0}else e=-1;while(0);SBb(E,c,e,3,L);i=E+11|0;g=Tnb((b[i>>0]|0)<0?f[E>>2]|0:E)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){v=bsb(Nu(Hua(4)|0,439794,22)|0,g)|0;Drb(L,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);t=utb(L,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(L);ksb(v,t)|0;Krb(v)|0}if((g|0)>129)ZBb(M,439817)|0;e=lCb(c,10,e)|0;do if((e|0)==-1){e=b[H>>0]|0;if(e<<24>>24<0){e=f[J>>2]|0;break}else{e=e&255;break}}else e=e+1|0;while(0);if((b[i>>0]|0)<0)GBb(f[E>>2]|0);i=b[H>>0]|0;l=e;j=i&255;e=f[I>>2]|0;g=f[J>>2]|0}else l=0}else l=0;while(0);i=i<<24>>24<0;k=i?e:K;e=i?g:j;i=k+e|0;d:do if((e|0)>=11){while(1){e=e+-1|0;if((b[k+e>>0]|0)==32){g=k+e+-1|0;if((((((((((b[g>>0]|0)==110?(w=g+-1|0,(b[w>>0]|0)==111):0)?(y=w+-1|0,(b[y>>0]|0)==105):0)?(z=y+-1|0,(b[z>>0]|0)==115):0)?(A=z+-1|0,(b[A>>0]|0)==110):0)?(B=A+-1|0,(b[B>>0]|0)==101):0)?(C=B+-1|0,(b[C>>0]|0)==116):0)?(D=C+-1|0,(b[D>>0]|0)==120):0)?(x=D+-1|0,(b[x>>0]|0)==101):0)?(b[x+-1>>0]|0)==35:0)break;if((e|0)==10){i=l;break d}}else if((e|0)==10){i=l;break d}}D=x+-1|0;e=D-k|0;if(!((D|0)==(i|0)|(e|0)==-1)){e=lCb(c,10,e)|0;if((e|0)!=-1){i=e+1|0;break}e=b[H>>0]|0;if(e<<24>>24<0){i=f[J>>2]|0;break}else{i=e&255;break}}else i=l}else i=l;while(0);if(b[a+130>>0]|0){f[L>>2]=0;f[L+4>>2]=0;f[L+8>>2]=0;e=EBb(16)|0;f[L>>2]=e;f[L+8>>2]=-2147483632;f[L+4>>2]=12;j=e;k=439821;l=j+12|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[e+12>>0]=0;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;g=EBb(48)|0;f[E>>2]=g;f[E+8>>2]=-2147483600;f[E+4>>2]=40;j=g;k=439834;l=j+40|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[g+40>>0]=0;$Qa(c,L,E)|0;if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0);GBb(e);f[L>>2]=0;f[L+4>>2]=0;f[L+8>>2]=0;g=EBb(32)|0;f[L>>2]=g;f[L+8>>2]=-2147483616;f[L+4>>2]=18;j=g;k=439875;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[g+18>>0]=0;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;e=EBb(32)|0;f[E>>2]=e;f[E+8>>2]=-2147483616;f[E+4>>2]=19;j=e;k=439894;l=j+19|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[e+19>>0]=0;f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;e=F+11|0;b[e>>0]=8;D=F;f[D>>2]=1718185589;f[D+4>>2]=544043631;b[F+8>>0]=0;f[G>>2]=0;f[G+4>>2]=0;f[G+8>>2]=0;D=G+11|0;b[D>>0]=5;b[G>>0]=b[439914]|0;b[G+1>>0]=b[439915]|0;b[G+2>>0]=b[439916]|0;b[G+3>>0]=b[439917]|0;b[G+4>>0]=b[439918]|0;b[G+5>>0]=0;aRa(c,i,L,E,F,G);if((b[D>>0]|0)<0)GBb(f[G>>2]|0);if((b[e>>0]|0)<0)GBb(f[F>>2]|0);if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0);GBb(g);f[L>>2]=0;f[L+4>>2]=0;f[L+8>>2]=0;g=EBb(32)|0;f[L>>2]=g;f[L+8>>2]=-2147483616;f[L+4>>2]=28;j=g;k=439920;l=j+28|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[g+28>>0]=0;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;e=EBb(32)|0;f[E>>2]=e;f[E+8>>2]=-2147483616;f[E+4>>2]=29;j=e;k=439949;l=j+29|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[e+29>>0]=0;f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;e=F+11|0;b[e>>0]=8;D=F;f[D>>2]=1718185589;f[D+4>>2]=544043631;b[F+8>>0]=0;f[G>>2]=0;f[G+4>>2]=0;f[G+8>>2]=0;D=G+11|0;b[D>>0]=5;b[G>>0]=b[439914]|0;b[G+1>>0]=b[439915]|0;b[G+2>>0]=b[439916]|0;b[G+3>>0]=b[439917]|0;b[G+4>>0]=b[439918]|0;b[G+5>>0]=0;aRa(c,i,L,E,F,G);if((b[D>>0]|0)<0)GBb(f[G>>2]|0);if((b[e>>0]|0)<0)GBb(f[F>>2]|0);if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0);GBb(g);f[L>>2]=0;f[L+4>>2]=0;f[L+8>>2]=0;g=EBb(32)|0;f[L>>2]=g;f[L+8>>2]=-2147483616;f[L+4>>2]=19;j=g;k=439979;l=j+19|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[g+19>>0]=0;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;e=EBb(32)|0;f[E>>2]=e;f[E+8>>2]=-2147483616;f[E+4>>2]=20;j=e;k=439999;l=j+20|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[e+20>>0]=0;f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;e=F+11|0;b[e>>0]=8;D=F;f[D>>2]=1718185589;f[D+4>>2]=544043631;b[F+8>>0]=0;f[G>>2]=0;f[G+4>>2]=0;f[G+8>>2]=0;D=G+11|0;b[D>>0]=5;b[G>>0]=b[439914]|0;b[G+1>>0]=b[439915]|0;b[G+2>>0]=b[439916]|0;b[G+3>>0]=b[439917]|0;b[G+4>>0]=b[439918]|0;b[G+5>>0]=0;aRa(c,i,L,E,F,G);if((b[D>>0]|0)<0)GBb(f[G>>2]|0);if((b[e>>0]|0)<0)GBb(f[F>>2]|0);if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0);GBb(g);f[L>>2]=0;f[L+4>>2]=0;f[L+8>>2]=0;g=EBb(16)|0;f[L>>2]=g;f[L+8>>2]=-2147483632;f[L+4>>2]=15;j=g;k=440020;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[g+15>>0]=0;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;e=EBb(32)|0;f[E>>2]=e;f[E+8>>2]=-2147483616;f[E+4>>2]=16;j=e;k=440036;l=j+16|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));b[e+16>>0]=0;f[F>>2]=0;f[F+4>>2]=0;f[F+8>>2]=0;e=F+11|0;b[e>>0]=8;D=F;f[D>>2]=1718185589;f[D+4>>2]=544043631;b[F+8>>0]=0;f[G>>2]=0;f[G+4>>2]=0;f[G+8>>2]=0;D=G+11|0;b[D>>0]=5;b[G>>0]=b[440053]|0;b[G+1>>0]=b[440054]|0;b[G+2>>0]=b[440055]|0;b[G+3>>0]=b[440056]|0;b[G+4>>0]=b[440057]|0;b[G+5>>0]=0;aRa(c,i,L,E,F,G);if((b[D>>0]|0)<0)GBb(f[G>>2]|0);if((b[e>>0]|0)<0)GBb(f[F>>2]|0);if((b[E+11>>0]|0)<0)GBb(f[E>>2]|0);GBb(g)}if(b[a+131>>0]|0?(aRa(c,i,a+376|0,a+388|0,M,a+400|0),aRa(c,i,a+416|0,a+428|0,M,a+440|0),aRa(c,i,a+456|0,a+468|0,M,a+480|0),aRa(c,i,a+496|0,a+508|0,M,a+520|0),aRa(c,i,a+536|0,a+548|0,M,a+560|0),N=a+572|0,O=a+576|0,d=f[N>>2]|0,(f[O>>2]|0)!=(d|0)):0){e=0;do{G=d;aRa(c,i,G+(e*40|0)+4|0,G+(e*40|0)+16|0,M,G+(e*40|0)+28|0);e=e+1|0;d=f[N>>2]|0}while(e>>>0<(((f[O>>2]|0)-d|0)/40|0)>>>0)}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){c=Nu(Hua(5)|0,440059,26)|0;Drb(L,c+(f[(f[c>>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(c,O)|0;Krb(c)|0;O=b[H>>0]|0;N=O<<24>>24<0;O=Nu(c,N?f[I>>2]|0:K,N?f[J>>2]|0:O&255)|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;O=Nu(O,440086,16)|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((b[P>>0]|0)>=0){u=Q;return 1}GBb(f[M>>2]|0);u=Q;return 1}function _Qa(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;m=c+11|0;e=b[m>>0]|0;g=e<<24>>24<0;n=c+4|0;i=f[n>>2]|0;if(!((g?i:e&255)|0))return;d=0;a:while(1){k=g?f[c>>2]|0:c;l=g?i:e&255;if(l>>>0<=d>>>0){d=17;break}j=k+l|0;d=k+d|0;b:while(1){e=b[d>>0]|0;switch(e<<24>>24){case 34:case 39:case 36:break b;default:{}}d=d+1|0;if((d|0)==(j|0)){d=17;break a}}g=k;i=d-g|0;if((d|0)==(j|0)|(i|0)==-1|(l|0)==(i|0)){d=17;break}c:do switch(e<<24>>24){case 39:case 34:{d=lCb(c,e,i+1|0)|0;d=(d|0)==-1?-1:d+1|0;break}default:{d=i+1|0;d:do if(l>>>0>d>>>0){d=k+d|0;while(1){if(!(Ymb(440103,h[d>>0]|0,63)|0))break;d=d+1|0;if((d|0)==(j|0))break d}d=d-g|0;if((d|0)!=-1){bRa(a,c,i,d-i|0);d=i;break c}}while(0);bRa(a,c,i,l-i|0);d=i}}while(0);e=b[m>>0]|0;g=e<<24>>24<0;i=f[n>>2]|0;if(d>>>0>=(g?i:e&255)>>>0){d=17;break}}if((d|0)==17)return}function $Qa(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;D=c+11|0;m=b[D>>0]|0;l=m<<24>>24<0;E=c+4|0;k=f[E>>2]|0;j=m&255;i=l?k:j;if(!i){F=0;return F|0}z=a+11|0;x=b[z>>0]|0;t=x<<24>>24<0;q=f[a>>2]|0;A=a+4|0;y=f[A>>2]|0;w=f[c>>2]|0;B=d+11|0;C=d+4|0;e=0;g=0;u=t?q:a;s=t?y:x&255;v=l?w:c;r=m;a:while(1){if(i){m=u+g|0;p=u+s|0;n=p;g=n-m|0;if((g|0)<(i|0)){F=16;break}o=h[v>>0]|0;while(1){g=g-i+1|0;if(!g){F=16;break a}m=Ymb(m,o,g)|0;if(!m){F=16;break a}if(!(anb(m,v,i)|0))break;m=m+1|0;g=n-m|0;if((g|0)<(i|0)){F=16;break a}}g=m-u|0;if((m|0)==(p|0)|(g|0)==-1){F=16;break}}m=l?k:j;l=g+m|0;n=x&255;if(l>>>0<(t?y:n)>>>0){i=b[(t?q:a)+l>>0]|0;if((i+-48&255)>=10){j=(i+-97&255)<26;v=(i+-65&255)<26;g=v?l:g;if(j|v){g=j?l:g;i=n;o=x;n=y;p=w}else F=14}else{g=l;i=n;o=x;n=y;p=w}}else F=14;if((F|0)==14){F=0;o=b[B>>0]|0;e=o<<24>>24<0;iCb(a,g,m,e?f[d>>2]|0:d,e?f[C>>2]|0:o&255)|0;o=b[z>>0]|0;e=1;i=o&255;q=f[a>>2]|0;n=f[A>>2]|0;r=b[D>>0]|0;p=f[c>>2]|0;k=f[E>>2]|0}m=o<<24>>24<0;s=m?n:i;l=r<<24>>24<0;j=r&255;if(s>>>0<g>>>0){F=16;break}else{i=l?k:j;u=m?q:a;v=l?p:c;x=o;y=n;t=m;w=p}}if((F|0)==16)return e|0;return 0}function aRa(a,c,e,g,h,i){a=a|0;c=c|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0;n=u;u=u+48|0;j=n+36|0;k=n+24|0;l=n+12|0;m=n;if(!($Qa(a,e,g)|0)){u=n;return}qL(l,h,i);e=b[g+11>>0]|0;i=e<<24>>24<0;e=bCb(l,i?f[g>>2]|0:g,i?f[g+4>>2]|0:e&255)|0;f[k>>2]=f[e>>2];f[k+4>>2]=f[e+4>>2];f[k+8>>2]=f[e+8>>2];f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;e=m+11|0;b[e>>0]=2;d[m>>1]=2619;b[m+2>>0]=0;i=bCb(k,m,2)|0;f[j>>2]=f[i>>2];f[j+4>>2]=f[i+4>>2];f[j+8>>2]=f[i+8>>2];f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;i=j+11|0;h=b[i>>0]|0;g=h<<24>>24<0;eCb(a,c,g?f[j>>2]|0:j,g?f[j+4>>2]|0:h&255)|0;if((b[i>>0]|0)<0)GBb(f[j>>2]|0);if((b[e>>0]|0)<0)GBb(f[m>>2]|0);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);u=n;return}function bRa(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;i=u;u=u+32|0;g=i+12|0;h=i;SBb(g,c,d+1|0,e+-1|0,c);f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=f[a+360>>2]|0;if(!a){Dxa()|0;a=f[124914]|0}if(cRa(a,g,h,1)|0){a=h+11|0;j=b[a>>0]|0;k=j<<24>>24<0;iCb(c,d,e,k?f[h>>2]|0:h,k?f[h+4>>2]|0:j&255)|0}else{hCb(c,d,e)|0;a=h+11|0}if((b[a>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function cRa(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;l=u;u=u+16|0;i=l+12|0;j=l;k=a+232|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;h=a+244|0;g=Qp(h,c)|0;if((g|0)!=(a+248|0)){UBb(d,g+28|0)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){j=1;i=f[k>>2]|0;i=i+12|0;i=f[i>>2]|0;_i[i&2047](k)|0;u=l;return j|0}e=Nu(Hua(4)|0,440167,26)|0;j=b[c+11>>0]|0;h=j<<24>>24<0;c=Nu(Nu(e,h?f[c>>2]|0:c,h?f[c+4>>2]|0:j&255)|0,440194,26)|0;j=b[d+11>>0]|0;h=j<<24>>24<0;j=Nu(Nu(c,h?f[d>>2]|0:d,h?f[d+4>>2]|0:j&255)|0,440221,1)|0;Drb(i,j+(f[(f[j>>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(j,d)|0;Krb(j)|0;j=1;i=f[k>>2]|0;i=i+12|0;i=f[i>>2]|0;_i[i&2047](k)|0;u=l;return j|0}if(!e){j=0;i=f[k>>2]|0;i=i+12|0;i=f[i>>2]|0;_i[i&2047](k)|0;u=l;return j|0};f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;g=c+11|0;e=sh(((b[g>>0]|0)<0?f[c>>2]|0:c)|0)|0;if(e){a=0;while(1){if(!(b[e+a>>0]|0))break;a=a+1|0;if(a>>>0>=4096){a=4096;break}}VBb(j,e,a)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,440167,26)|0;a=b[g>>0]|0;e=a<<24>>24<0;a=Nu(Nu(m,e?f[c>>2]|0:c,e?f[c+4>>2]|0:a&255)|0,440223,27)|0;e=b[d+11>>0]|0;g=e<<24>>24<0;e=Nu(Nu(a,g?f[d>>2]|0:d,g?f[d+4>>2]|0:e&255)|0,440221,1)|0;Drb(i,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);g=utb(i,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(i);ksb(e,g)|0;Krb(e)|0}m=UBb(d,j)|0;UBb(ck(h,c)|0,m)|0;if((b[j+11>>0]|0)<0){GBb(f[j>>2]|0);a=1}else a=1}else a=0;m=a;j=f[k>>2]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](k)|0;u=l;return m|0}function dRa(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=eRa(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(44)|0;OBb(g+16|0,b);c=g+28|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>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 eRa(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<m>>>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 fRa(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;y=u;u=u+160|0;p=y+152|0;s=y+16|0;t=y;v=c+11|0;r=b[v>>0]|0;w=c+4|0;if(!((r<<24>>24<0?f[w>>2]|0:r&255)|0)){OBb(a,c);u=y;return}m=s+56|0;n=s+4|0;f[s>>2]=288132;f[m>>2]=288152;Brb(s+56|0,n);f[s+128>>2]=0;f[s+132>>2]=-1;f[s>>2]=326600;f[m>>2]=326620;Hrb(n);f[n>>2]=304196;o=s+36|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;f[s+52>>2]=16;g=b[v>>0]|0;d=g<<24>>24<0;g=d?f[w>>2]|0:g&255;a:do if(!g){j=1;k=0;l=s;x=12}else{q=t+11|0;r=t+4|0;i=1;e=0;while(1){h=d?f[c>>2]|0:c;d=e;while(1){if((b[h+d>>0]|0)==10)break;d=d+1|0;if(d>>>0>=g>>>0){j=i;k=e;l=s;x=12;break a}}z=(f[s>>2]|0)+-12|0;f[s+(f[z>>2]|0)+12>>2]=5;z=s+(f[z>>2]|0)+4|0;f[z>>2]=f[z>>2]&-177|128;z=Nu(csb(s,i)|0,438125,2)|0;SBb(t,c,e,d-e|0,c);h=b[q>>0]|0;g=h<<24>>24<0;h=Nu(z,g?f[t>>2]|0:t,g?f[r>>2]|0:h&255)|0;Drb(p,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);g=utb(p,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(p);ksb(h,g)|0;Krb(h)|0;if((b[q>>0]|0)<0)GBb(f[t>>2]|0);e=d+1|0;g=b[v>>0]|0;d=g<<24>>24<0;g=d?f[w>>2]|0:g&255;if(e>>>0>=g>>>0)break a;i=i+1|0}}while(0);if((x|0)==12?(v=(f[l>>2]|0)+-12|0,f[s+(f[v>>2]|0)+12>>2]=5,v=s+(f[v>>2]|0)+4|0,f[v>>2]=f[v>>2]&-177|128,v=Nu(csb(s,j)|0,438125,2)|0,SBb(t,c,k,-1,c),z=t+11|0,x=b[z>>0]|0,w=x<<24>>24<0,x=Nu(v,w?f[t>>2]|0:t,w?f[t+4>>2]|0:x&255)|0,Drb(p,x+(f[(f[x>>2]|0)+-12>>2]|0)|0),w=utb(p,504576)|0,w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0,vtb(p),ksb(x,w)|0,Krb(x)|0,(b[z>>0]|0)<0):0)GBb(f[t>>2]|0);KX(a,n);f[s>>2]=326600;f[m>>2]=326620;f[n>>2]=304196;if((b[o+11>>0]|0)<0)GBb(f[o>>2]|0);qqb(n);mrb(s,326632);kqb(m);u=y;return}function gRa(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,u=0,v=0,w=0;v=a+11|0;l=b[v>>0]|0;p=l<<24>>24<0;w=a+4|0;r=c+11|0;i=b[r>>0]|0;k=i<<24>>24<0;s=c+4|0;j=f[s>>2]|0;i=i&255;t=d+11|0;u=d+4|0;e=0;q=k?j:i;o=p?f[a>>2]|0:a;l=p?f[w>>2]|0:l&255;p=k?f[c>>2]|0:c;a:while(1){if(q){g=o+e|0;l=o+l|0;m=l;e=m-g|0;if((e|0)<(q|0)){e=12;break}n=h[p>>0]|0;while(1){e=e-q+1|0;if(!e){e=12;break a}e=Ymb(g,n,e)|0;if(!e){e=12;break a}if(!(anb(e,p,q)|0))break;g=e+1|0;e=m-g|0;if((e|0)<(q|0)){e=12;break a}}if((e|0)==(l|0)){e=12;break}else e=e-o|0}if((e|0)==-1){e=12;break}l=b[t>>0]|0;g=l<<24>>24<0;iCb(a,e,k?j:i,g?f[d>>2]|0:d,g?f[u>>2]|0:l&255)|0;l=b[t>>0]|0;e=(l<<24>>24<0?f[u>>2]|0:l&255)+e|0;l=b[v>>0]|0;g=l<<24>>24<0;l=g?f[w>>2]|0:l&255;i=b[r>>0]|0;k=i<<24>>24<0;j=f[s>>2]|0;i=i&255;if(l>>>0<e>>>0){e=12;break}else{q=k?j:i;o=g?f[a>>2]|0:a;p=k?f[c>>2]|0:c}}if((e|0)==12)return}function hRa(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<h>>>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<l>>>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<l>>>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 iRa(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;j=l;k=a+4|0;c=f[k>>2]|0;g=f[a>>2]|0;e=c-g>>2;if(e>>>0>b>>>0){k=g;k=k+(b<<2)|0;u=l;return k|0}d=b+1|0;f[j>>2]=0;if(d>>>0<=e>>>0){if(d>>>0<e>>>0){e=g+(d<<2)|0;if((e|0)!=(c|0))do{c=c+-4|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}while((c|0)!=(e|0));f[k>>2]=e;h=12}}else{uRa(a,d-e|0,j);h=12}if(((h|0)==12?(i=f[j>>2]|0,i|0):0)?(j=i+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(i,1,1);k=f[a>>2]|0;k=k+(b<<2)|0;u=l;return k|0}function jRa(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=EBb(44)|0;kRa(g,f[a+16>>2]|0,f[a+12>>2]|0);f[e>>2]=g;d=g+8|0;f[d>>2]=(f[d>>2]|0)+1;d=a+24|0;c=f[d>>2]|0;if(c>>>0<(f[a+28>>2]|0)>>>0){a=f[e>>2]|0;f[c>>2]=a;if(a){c=a+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[d>>2]|0}f[d>>2]=c+4}else lRa(a+20|0,e);c=f[e>>2]|0;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);UBb(g+24|0,b)|0;u=h;return g|0}function kRa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=348708;g=a+16|0;f[g>>2]=0;e=a+24|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a+40>>2]=d;f[a+12>>2]=c;e=Lza(d,1)|0;d=f[g>>2]|0;if((d|0)!=(e|0)){f[g>>2]=e;if(e|0){e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}if(d|0?(h=d+8|0,e=f[h>>2]|0,f[h>>2]=e-1,(e|0)==1):0)Rua(d,1,1)}h=_i[f[(f[g>>2]|0)+60>>2]&2047](f[c+32>>2]|0)|0;f[a+20>>2]=h;b[a+36>>0]=1;b[a+37>>0]=0;return}function lRa(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<e>>>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 mRa(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=348708;c=oRa(Uza(f[a+40>>2]|0)|0)|0;Bj[f[(f[c>>2]|0)+44>>2]&1023](c,f[a+20>>2]|0);c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+16|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;Uua(a);return}g=d+8|0;e=f[g>>2]|0;f[g>>2]=e-1;if((e|0)!=1){f[c>>2]=0;Uua(a);return}Rua(d,1,1);f[c>>2]=0;Uua(a);return}function nRa(a){a=a|0;mRa(a);GBb(a);return}function oRa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+36|0;c=a+40|0;b=f[c>>2]|0;do if(b){d=a+40|0;while(1){c=f[b+16>>2]|0;if(c>>>0>298536>>>0){c=f[b>>2]|0;if(!c){c=5;break}else{d=b;b=c}}else{if(c>>>0>=298536>>>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=c;d=c}while(0);b=f[d>>2]|0;if(!b){b=EBb(24)|0;f[b+16>>2]=298536;f[b+20>>2]=0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=e;f[d>>2]=b;c=f[f[g>>2]>>2]|0;if(!c)c=b;else{f[g>>2]=c;c=f[d>>2]|0}Xo(f[a+40>>2]|0,c);g=a+44|0;f[g>>2]=(f[g>>2]|0)+1}c=b+20|0;if(f[c>>2]|0){a=f[c>>2]|0;return a|0}d=EBb(52)|0;pRa(d,f[a+24>>2]|0);b=f[c>>2]|0;if((b|0)==(d|0)){a=f[c>>2]|0;return a|0}f[c>>2]=d;a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;if(!b){a=f[c>>2]|0;return a|0}g=b+8|0;a=f[g>>2]|0;f[g>>2]=a-1;if((a|0)!=1){a=f[c>>2]|0;return a|0}Rua(b,1,1);a=f[c>>2]|0;return a|0}function pRa(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;d=h;e=EBb(16)|0;f[d>>2]=e;f[d+8>>2]=-2147483632;f[d+4>>2]=15;g=e;i=440993;j=g+15|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+15>>0]=0;dAa(a,d,c);f[a>>2]=343236;t4a(a+28|0,0);j=a+40|0;f[j>>2]=j;f[a+44>>2]=j;f[a+48>>2]=0;if((b[d+11>>0]|0)>=0){f[a>>2]=348728;u=h;return}GBb(f[d>>2]|0);f[a>>2]=348728;u=h;return}function qRa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=343236;d=a+40|0;c=a+48|0;if(f[c>>2]|0?(b=f[a+44>>2]|0,e=(f[d>>2]|0)+4|0,g=f[b>>2]|0,f[g+4>>2]=f[e>>2],f[f[e>>2]>>2]=g,f[c>>2]=0,(b|0)!=(d|0)):0)do{g=b;b=f[b+4>>2]|0;GBb(g)}while((b|0)!=(d|0));R3a(a+28|0);iza(a);GBb(a);return}function rRa(a,c){a=a|0;c=c|0;a=Lza(f[a+24>>2]|0,1)|0;if(!(b[a+24>>0]|0))return;tj[f[a+72>>2]&2047](c);return}function sRa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=348688;d=a+20|0;e=f[d>>2]|0;if(!e){Uua(a);return}g=a+24|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);return}function tRa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=348688;d=a+20|0;e=f[d>>2]|0;if(!e){Uua(a);GBb(a);return}g=a+24|0;b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);Uua(a);GBb(a);return}function uRa(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;g=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;if(g-d>>2>>>0>=b>>>0){do{e=f[c>>2]|0;f[d>>2]=e;if(e){d=e+8|0;f[d>>2]=(f[d>>2]|0)+1;d=f[n>>2]|0}d=d+4|0;f[n>>2]=d;b=b+-1|0}while((b|0)!=0);return}e=f[a>>2]|0;k=d-e>>2;d=k+b|0;if(d>>>0>1073741823)DCb(a);j=g-e|0;l=j>>1;d=j>>2>>>0<536870911?(l>>>0<d>>>0?d:l):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{l=EBb(d<<2)|0;break}else l=0;while(0);j=l+(k<<2)|0;e=j;i=l+(d<<2)|0;d=e;h=j;while(1){g=f[c>>2]|0;f[h>>2]=g;if(!g)d=h;else{h=g+8|0;f[h>>2]=(f[h>>2]|0)+1}g=d+4|0;b=b+-1|0;if(!b)break;else{d=g;h=g}}c=g;d=f[a>>2]|0;b=d;g=f[n>>2]|0;if((g|0)==(d|0))g=b;else{h=k+-1-((g+-4-b|0)>>>2)|0;e=j;while(1){g=g+-4|0;b=f[g>>2]|0;f[e+-4>>2]=b;if(b|0){k=b+8|0;f[k>>2]=(f[k>>2]|0)+1}if((g|0)==(d|0))break;else e=e+-4|0}e=l+(h<<2)|0;g=f[a>>2]|0;d=f[n>>2]|0}f[a>>2]=e;f[n>>2]=c;f[m>>2]=i;b=g;if((d|0)!=(b|0))do{d=d+-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}while((d|0)!=(b|0));if(!g)return;GBb(g);return}function vRa(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;if((a|0)==(c|0)){v=0;return v|0}h=f[a+32>>2]|0;i=f[c+32>>2]|0;if((h|0)<(i|0)){v=-1;return v|0}if((i|0)<(h|0)){v=1;return v|0}n=a+12|0;h=c+12|0;j=b[h+11>>0]|0;i=j<<24>>24<0;j=i?f[c+16>>2]|0:j&255;k=b[n+11>>0]|0;m=k<<24>>24<0;k=m?f[a+16>>2]|0:k&255;r=j>>>0<k>>>0;q=r?j:k;l=(q|0)==0;if(!l?(g=m?f[n>>2]|0:n,o=i?f[h>>2]|0:h,p=anb(g,o,q)|0,(p|0)!=0):0)if((p|0)<0){v=-1;return v|0}else{h=o;i=10}else{if(k>>>0<j>>>0){v=-1;return v|0}if(l)i=11;else{h=i?f[h>>2]|0:h;g=m?f[n>>2]|0:n;i=10}}if((i|0)==10){g=anb(h,g,q)|0;if(g){if((g|0)<0){v=1;return v|0}}else i=11}if((i|0)==11?r:0){v=1;return v|0}l=a+48|0;g=c+48|0;i=b[g+11>>0]|0;h=i<<24>>24<0;i=h?f[c+52>>2]|0:i&255;j=b[l+11>>0]|0;m=j<<24>>24<0;j=m?f[a+52>>2]|0:j&255;o=i>>>0<j>>>0;n=o?i:j;k=(n|0)==0;if(!k?(e=m?f[l>>2]|0:l,s=h?f[g>>2]|0:g,t=anb(e,s,n)|0,(t|0)!=0):0)if((t|0)<0){v=-1;return v|0}else{g=s;i=19}else{if(j>>>0<i>>>0){v=-1;return v|0}if(k)i=20;else{g=h?f[g>>2]|0:g;e=m?f[l>>2]|0:l;i=19}}if((i|0)==19){e=anb(g,e,n)|0;if(e){if((e|0)<0){v=1;return v|0}}else i=20}if((i|0)==20?o:0){v=1;return v|0}e=f[a+60>>2]|0;g=f[c+60>>2]|0;if(e>>>0<g>>>0){v=-1;return v|0}if(g>>>0<e>>>0){v=1;return v|0}m=a+36|0;i=c+36|0;h=b[i+11>>0]|0;j=h<<24>>24<0;h=j?f[c+40>>2]|0:h&255;e=b[m+11>>0]|0;k=e<<24>>24<0;e=k?f[a+40>>2]|0:e&255;n=h>>>0<e>>>0;l=n?h:e;g=(l|0)==0;if(!g?(d=k?f[m>>2]|0:m,u=j?f[i>>2]|0:i,v=anb(d,u,l)|0,(v|0)!=0):0)if((v|0)<0){v=-1;return v|0}else{e=u;i=30}else{if(e>>>0<h>>>0){v=-1;return v|0}if(g)i=31;else{e=j?f[i>>2]|0:i;d=k?f[m>>2]|0:m;i=30}}if((i|0)==30){d=anb(e,d,l)|0;if(!d)i=31}if((i|0)==31)d=n<<31>>31;v=d>>>31;return v|0}function wRa(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;g=i;f[g>>2]=0;h=a+4|0;c=f[h>>2]|0;e=f[a>>2]|0;d=c-e>>2;if(d>>>0>=b>>>0){if(d>>>0>b>>>0){b=e+(b<<2)|0;if((b|0)!=(c|0))do{c=c+-4|0;a=f[c>>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);f[c>>2]=0}while((c|0)!=(b|0));f[h>>2]=b}}else WQa(a,b-d|0,g);c=f[g>>2]|0;if(!c){u=i;return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){u=i;return}Rua(c,1,1);u=i;return}function xRa(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;l=u;u=u+16|0;d=l;Jva(a,b,c);f[a>>2]=348180;Dxa()|0;k=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;yRa(a+56|0,k,d);d=f[d>>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);i=a+68|0;f[a+72>>2]=0;f[a+76>>2]=0;f[i>>2]=a+72;j=a+80|0;f[a+84>>2]=0;f[a+88>>2]=0;f[j>>2]=a+84;f[a+96>>2]=0;f[a+100>>2]=0;f[a+92>>2]=a+96;g=a+104|0;k=a+136|0;f[k>>2]=0;f[a+140>>2]=0;f[a+144>>2]=0;f[a+152>>2]=0;f[a+156>>2]=0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[a+148>>2]=a+152;f[a+164>>2]=0;f[a+168>>2]=0;f[a+160>>2]=a+164;f[a+176>>2]=0;f[a+180>>2]=0;f[a+172>>2]=a+176;f[a+184>>2]=0;f[a+188>>2]=0;f[a+192>>2]=0;g=b+104|0;h=b+108|0;d=f[g>>2]|0;e=(f[h>>2]|0)!=(d|0);if(!(f[c+4>>2]&16)){if(e){e=0;do{ARa(a,f[d+(e<<2)>>2]|0)|0;e=e+1|0;d=f[g>>2]|0}while(e>>>0<(f[h>>2]|0)-d>>2>>>0)}}else if(e){e=0;do{m=EBb(152)|0;zRa(m,f[d+(e<<2)>>2]|0,c);ARa(a,m)|0;e=e+1|0;d=f[g>>2]|0}while(e>>>0<(f[h>>2]|0)-d>>2>>>0)}d=f[b+68>>2]|0;g=b+72|0;if((d|0)!=(g|0)){c=d;while(1){m=f[c+28>>2]|0;d=BRa(i,c+16|0)|0;f[d>>2]=m;CRa(a);d=f[c+4>>2]|0;if(!d){e=c+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(c|0))do{m=f[e>>2]|0;e=m+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(m|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(g|0))break;else c=d}}d=f[b+80>>2]|0;g=b+84|0;if((d|0)!=(g|0)){c=d;while(1){m=f[c+28>>2]|0;d=BRa(j,c+16|0)|0;f[d>>2]=m;CRa(a);d=f[c+4>>2]|0;if(!d){e=c+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(c|0))do{m=f[e>>2]|0;e=m+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(m|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(g|0))break;else c=d}}f[a+120>>2]=f[b+120>>2];f[a+124>>2]=f[b+124>>2];f[a+128>>2]=f[b+128>>2];f[a+132>>2]=f[b+132>>2];if((a|0)==(b|0)){u=l;return}Dva(k,f[b+136>>2]|0,f[b+140>>2]|0);u=l;return}function yRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;f[a>>2]=0;e=a+4|0;f[e>>2]=0;d=a+8|0;f[d>>2]=0;if(!b)return;if(b>>>0>1073741823)DCb(a);g=EBb(b<<2)|0;f[e>>2]=g;f[a>>2]=g;f[d>>2]=g+(b<<2);a=g;do{d=f[c>>2]|0;f[a>>2]=d;if(d){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[e>>2]|0}a=a+4|0;f[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function zRa(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]=348792;f[a+32>>2]=f[b+32>>2];OBb(a+36|0,b+36|0);OBb(a+48|0,b+48|0);c=f[b+60>>2]|0;f[a+60>>2]=c;if(c|0){i=c+8|0;f[i>>2]=(f[i>>2]|0)+1}h=a+64|0;f[a+68>>2]=0;f[a+72>>2]=0;c=a+68|0;f[h>>2]=c;d=f[b+64>>2]|0;i=b+68|0;if((d|0)!=(i|0)){g=c;while(1){f[k>>2]=g;f[j>>2]=f[k>>2];FRa(h,j,d+16|0)|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}}f[a+76>>2]=f[b+76>>2];f[a+84>>2]=0;f[a+88>>2]=0;f[a+80>>2]=a+84;f[a+96>>2]=0;f[a+100>>2]=0;f[a+92>>2]=a+96;f[a+108>>2]=0;f[a+112>>2]=0;f[a+104>>2]=a+108;f[a+116>>2]=0;f[a+120>>2]=0;f[a+124>>2]=0;f[a+132>>2]=0;f[a+136>>2]=0;f[a+128>>2]=a+132;Dxa()|0;c=f[(f[124914]|0)+84>>2]|0;f[j>>2]=0;GRa(a+140|0,c,j);c=f[j>>2]|0;if(!c){u=l;return}b=c+8|0;k=f[b>>2]|0;f[b>>2]=k-1;if((k|0)!=1){u=l;return}Rua(c,1,1);u=l;return}function ARa(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+16|0;k=m;if(!b){a=0;u=m;return a|0}j=a+104|0;l=a+108|0;c=f[l>>2]|0;d=f[j>>2]|0;e=d;a:do if((c|0)!=(d|0)){d=c-d>>2;c=0;while(1){if((f[e+(c<<2)>>2]|0)==(b|0)){c=0;break}c=c+1|0;if(c>>>0>=d>>>0)break a}u=m;return c|0}while(0);e=a+56|0;g=a+60|0;if((f[g>>2]|0)!=(f[e>>2]|0)){c=0;do{d=ZPa(e,c)|0;if(f[d>>2]|0?(i=ZPa(e,c)|0,i=f[i>>2]|0,h=f[i+20>>2]|0,i=i+24|0,(h|0)!=(f[i>>2]|0)):0){d=h;do{$Pa(f[d>>2]|0,b);d=d+4|0}while((d|0)!=(f[i>>2]|0))}c=c+1|0}while(c>>>0<(f[g>>2]|0)-(f[e>>2]|0)>>2>>>0)}ERa(b,a)|0;f[k>>2]=b;c=b+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0;if(c>>>0<(f[a+112>>2]|0)>>>0){d=f[k>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[l>>2]|0}f[l>>2]=c+4}else aQa(j,k);c=f[k>>2]|0;if(c|0?(k=c+8|0,l=f[k>>2]|0,f[k>>2]=l-1,(l|0)==1):0)Rua(c,1,1);CRa(a);a=1;u=m;return a|0}function BRa(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=HQa(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 CRa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;e=a+56|0;g=a+60|0;if((f[g>>2]|0)!=(f[e>>2]|0)){c=0;do{d=ZPa(e,c)|0;if(f[d>>2]|0?(i=ZPa(e,c)|0,i=f[i>>2]|0,h=f[i+20>>2]|0,i=f[i+24>>2]|0,(h|0)!=(i|0)):0){d=h;do{j=f[d>>2]|0;b[j+36>>0]=1;b[j+37>>0]=0;d=d+4|0}while((d|0)!=(i|0))}c=c+1|0}while(c>>>0<(f[g>>2]|0)-(f[e>>2]|0)>>2>>>0)}g=a+148|0;d=a+152|0;f0(g,f[d>>2]|0);f[a+156>>2]=0;f[g>>2]=d;f[d>>2]=0;d=a+160|0;e=a+164|0;f0(d,f[e>>2]|0);f[a+168>>2]=0;f[d>>2]=e;f[e>>2]=0;e=a+172|0;d=a+176|0;f0(e,f[d>>2]|0);f[a+180>>2]=0;f[e>>2]=d;f[d>>2]=0;d=f[a+184>>2]|0;e=a+188|0;c=f[e>>2]|0;if((c|0)!=(d|0))do{j=c;c=c+-12|0;f0(c,f[j+-8>>2]|0)}while((c|0)!=(d|0));f[e>>2]=d;c=f[a+104>>2]|0;d=a+108|0;if((c|0)==(f[d>>2]|0))return;do{DRa(g,(f[c>>2]|0)+80|0);c=c+4|0}while((c|0)!=(f[d>>2]|0));return}function DRa(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;m=o+4|0;n=o;c=f[b>>2]|0;g=b+4|0;if((c|0)!=(g|0)){h=a+4|0;e=c;while(1){c=e+16|0;f[n>>2]=h;f[m>>2]=f[n>>2];$2(a,m,c,c)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{l=f[d>>2]|0;d=l+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(l|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}}c=f[b+12>>2]|0;g=b+16|0;if((c|0)!=(g|0)){h=a+12|0;i=a+16|0;e=c;while(1){c=e+16|0;f[n>>2]=i;f[m>>2]=f[n>>2];$2(h,m,c,c)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{l=f[d>>2]|0;d=l+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(l|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}}c=f[b+24>>2]|0;g=b+28|0;if((c|0)!=(g|0)){h=a+24|0;i=a+28|0;e=c;while(1){c=e+16|0;f[n>>2]=i;f[m>>2]=f[n>>2];$2(h,m,c,c)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{l=f[d>>2]|0;d=l+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(l|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}}l=b+36|0;d=(f[b+40>>2]|0)-(f[l>>2]|0)|0;j=(d|0)/12|0;k=a+36|0;c=((f[a+40>>2]|0)-(f[k>>2]|0)|0)/12|0;if(j>>>0>c>>>0)Qza(k,j-c|0);if(!d){u=o;return}h=0;do{i=f[l>>2]|0;c=f[k>>2]|0;d=f[i+(h*12|0)>>2]|0;i=i+(h*12|0)+4|0;if((d|0)!=(i|0)){b=c+(h*12|0)|0;g=c+(h*12|0)+4|0;e=d;while(1){c=e+16|0;f[n>>2]=g;f[m>>2]=f[n>>2];$2(b,m,c,c)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{a=f[d>>2]|0;d=a+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(a|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(i|0))break;else e=c}}h=h+1|0}while(h>>>0<j>>>0);u=o;return}function ERa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;h=b;i=a+128|0;g=a+132|0;c=f[g>>2]|0;do if(c){d=g;e=c;do{j=(f[e+16>>2]|0)>>>0<b>>>0;d=j?d:e;e=f[(j?e+4|0:e)>>2]|0}while((e|0)!=0);if((d|0)!=(g|0)?(f[d+16>>2]|0)>>>0<=b>>>0:0){j=0;return j|0}e=a+132|0;while(1){d=f[c+16>>2]|0;if(d>>>0>b>>>0){d=f[c>>2]|0;if(!d){d=9;break}else{e=c;c=d}}else{if(d>>>0>=b>>>0){d=13;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=12;break}else c=d}}if((d|0)==9){b=c;e=c;break}else if((d|0)==12){b=c;break}else if((d|0)==13){b=c;break}}else{b=g;e=g}while(0);if(f[e>>2]|0){j=1;return j|0}c=EBb(20)|0;f[c+16>>2]=h;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=b;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);j=a+136|0;f[j>>2]=(f[j>>2]|0)+1;j=1;return j|0}function FRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=EBb(32)|0;h=l+16|0;f[h>>2]=f[c>>2];OBb(l+20|0,c+4|0);i=f[b>>2]|0;k=a+4|0;g=i;do if((k|0)!=(g|0)?(d=+n[h>>2],+n[g+16>>2]<d):0){b=f[k>>2]|0;if(!b){c=k;b=k;break}while(1)if(+n[b+16>>2]<d){c=f[b+4>>2]|0;if(!c){j=26;break}else b=c}else{c=f[b>>2]|0;if(!c){j=28;break}else b=c}if((j|0)==26){c=b+4|0;break}else if((j|0)==28){c=b;break}}else j=3;while(0);do if((j|0)==3){e=f[g>>2]|0;if((f[a>>2]|0)!=(g|0)){if(!e){b=g;do{j=b;b=f[b+8>>2]|0}while((f[b>>2]|0)==(j|0));c=b}else{b=e;while(1){c=f[b+4>>2]|0;if(!c){c=b;break}else b=c}}b=c;d=+n[h>>2];if(d<+n[c+16>>2]){b=f[k>>2]|0;if(!b){c=k;b=k;break}while(1)if(d<+n[b+16>>2]){c=f[b>>2]|0;if(!c){j=17;break}else b=c}else{c=f[b+4>>2]|0;if(!c){j=19;break}else b=c}if((j|0)==17){c=b;break}else if((j|0)==19){c=b+4|0;break}}}else b=i;if(!e){c=g;b=i}else c=b+4|0}while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=b;f[c>>2]=l;b=f[f[a>>2]>>2]|0;if(!b){k=l;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}f[a>>2]=b;k=f[c>>2]|0;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}function GRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;f[a>>2]=0;e=a+4|0;f[e>>2]=0;d=a+8|0;f[d>>2]=0;if(!b)return;if(b>>>0>1073741823)DCb(a);g=EBb(b<<2)|0;f[e>>2]=g;f[a>>2]=g;f[d>>2]=g+(b<<2);a=g;do{d=f[c>>2]|0;f[a>>2]=d;if(d){a=d+8|0;f[a>>2]=(f[a>>2]|0)+1;a=f[e>>2]|0}a=a+4|0;f[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function HRa(a,c){a=a|0;c=c|0;if(!c)return;HRa(a,f[c>>2]|0);HRa(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 IRa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a>>2]=348792;e=a+140|0;g=f[e>>2]|0;if(g|0){h=a+144|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?(j=d+8|0,i=f[j>>2]|0,f[j>>2]=i-1,(i|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)}EK(a+128|0,f[a+132>>2]|0);d=a+116|0;e=f[d>>2]|0;if(e|0){g=a+120|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{j=c;c=c+-12|0;f0(c,f[j+-8>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}f0(a+104|0,f[a+108>>2]|0);f0(a+92|0,f[a+96>>2]|0);f0(a+80|0,f[a+84>>2]|0);HRa(a+64|0,f[a+68>>2]|0);c=a+60|0;d=f[c>>2]|0;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[c>>2]=0;c=a+48|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+36|0;if((b[c+11>>0]|0)>=0){Gva(a);return}GBb(f[c>>2]|0);Gva(a);return}function JRa(a){a=a|0;IRa(a);GBb(a);return}function KRa(a){a=a|0;a=EBb(152)|0;SRa(a,-1);return a|0}function LRa(a,b){a=a|0;b=b|0;var c=0;c=EBb(152)|0;zRa(c,a,b);return c|0}function MRa(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 NRa(a){a=a|0;return 409756}function ORa(a){a=a|0;return 441096}function PRa(a,b){a=a|0;b=b|0;RRa(a+140|0,b);return}function QRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b|0){b=iRa(a+140|0,f[b+124>>2]|0)|0;a=f[b>>2]|0;if(!a)return;f[b>>2]=0;c=a+8|0;d=f[c>>2]|0;f[c>>2]=d-1;if((d|0)!=1)return;Rua(a,1,1);return}d=f[a+140>>2]|0;b=(f[a+144>>2]|0)-d|0;if((b|0)<=0)return;c=b>>>2;a=d;while(1){b=f[a>>2]|0;if(b|0?(f[a>>2]=0,e=b+8|0,d=f[e>>2]|0,f[e>>2]=d-1,(d|0)==1):0)Rua(b,1,1);if((c|0)>1){c=c+-1|0;a=a+4|0}else break}return}function RRa(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;g=i;f[g>>2]=0;h=a+4|0;c=f[h>>2]|0;e=f[a>>2]|0;d=c-e>>2;if(d>>>0>=b>>>0){if(d>>>0>b>>>0){b=e+(b<<2)|0;if((b|0)!=(c|0))do{c=c+-4|0;a=f[c>>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);f[c>>2]=0}while((c|0)!=(b|0));f[h>>2]=b}}else uRa(a,b-d|0,g);c=f[g>>2]|0;if(!c){u=i;return}g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1){u=i;return}Rua(c,1,1);u=i;return}function SRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=u;u=u+16|0;d=c;f[a+4>>2]=0;f[a+8>>2]=0;e=a+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=348792;f[a+32>>2]=b;b=a+36|0;f[a+68>>2]=0;f[a+72>>2]=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;f[a+64>>2]=a+68;f[a+76>>2]=0;f[a+84>>2]=0;f[a+88>>2]=0;f[a+80>>2]=a+84;f[a+96>>2]=0;f[a+100>>2]=0;f[a+92>>2]=a+96;f[a+108>>2]=0;f[a+112>>2]=0;f[a+104>>2]=a+108;f[a+116>>2]=0;f[a+120>>2]=0;f[a+124>>2]=0;f[a+132>>2]=0;f[a+136>>2]=0;f[a+128>>2]=a+132;Dxa()|0;b=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;GRa(a+140|0,b,d);a=f[d>>2]|0;if(!a){u=c;return}d=a+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){u=c;return}Rua(a,1,1);u=c;return}function TRa(a){a=a|0;var b=0,c=0,d=0,e=0;c=u;u=u+16|0;b=c;f[a+4>>2]=0;f[a+8>>2]=0;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]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[a>>2]=348180;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[b>>2]=0;yRa(a+56|0,d,b);b=f[b>>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+72>>2]=0;f[a+76>>2]=0;f[a+68>>2]=a+72;f[a+84>>2]=0;f[a+88>>2]=0;f[a+80>>2]=a+84;f[a+96>>2]=0;f[a+100>>2]=0;f[a+92>>2]=a+96;e=a+104|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[a+120>>2]=1;f[a+124>>2]=4;f[a+128>>2]=5;f[a+132>>2]=35981;f[a+136>>2]=0;f[a+140>>2]=0;f[a+144>>2]=0;f[a+152>>2]=0;f[a+156>>2]=0;f[a+148>>2]=a+152;f[a+164>>2]=0;f[a+168>>2]=0;f[a+160>>2]=a+164;f[a+176>>2]=0;f[a+180>>2]=0;f[a+172>>2]=a+176;f[a+184>>2]=0;f[a+188>>2]=0;f[a+192>>2]=0;u=c;return}function URa(a){a=a|0;var c=0,d=0,e=0,g=0;d=u;u=u+16|0;c=d;f[a>>2]=348964;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){e=jsb(Nu(Hua(4)|0,441941,34)|0,a)|0;Drb(c,e+(f[(f[e>>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(e,g)|0;Krb(e)|0}pSa(a+44|0,f[a+48>>2]|0);qSa(a+32|0,f[a+36>>2]|0);Gva(a);u=d;return}function VRa(a){a=a|0;URa(a);GBb(a);return}function WRa(a){a=a|0;a=EBb(56)|0;rSa(a);return a|0}function XRa(a,b){a=a|0;b=b|0;var c=0;c=EBb(56)|0;oSa(c,a,b);return c|0}function YRa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298600,0)|0)!=0;return b|0}function ZRa(a){a=a|0;return 409756}function _Ra(a){a=a|0;return 441815}function $Ra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+32>>2]|0;g=a+36|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+28>>2]|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(g|0))break;else e=c}}c=f[a+44>>2]|0;g=a+48|0;if((c|0)==(g|0))return;e=c;while(1){c=f[e+28>>2]|0;Bj[f[(f[c>>2]|0)+160>>2]&1023](c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{a=f[d>>2]|0;d=a+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(a|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}return}function aSa(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,C=0,D=0,E=0,F=0,G=0,H=0;H=u;u=u+96|0;B=H+80|0;y=H+72|0;z=H+88|0;G=H+60|0;F=H+48|0;E=H+36|0;D=H+24|0;C=H+12|0;A=H;m=a+36|0;e=f[m>>2]|0;a:do if(e|0){i=f[c>>2]|0;n=f[c+4>>2]|0;if((i|0)==(n|0)){d=e;while(1){e=f[d>>2]|0;if(!e)break;else d=e}}else{d=m;do{g=f[e+20>>2]|0;h=f[e+16>>2]|0;l=i;while(1){if((h|0)==(g|0)){g=12;break}j=f[h>>2]|0;k=f[l>>2]|0;if(j>>>0<k>>>0){g=12;break}if(k>>>0<j>>>0){g=11;break}l=l+4|0;if((l|0)==(n|0)){g=11;break}else h=h+4|0}if((g|0)==11)d=e;else if((g|0)==12)e=e+4|0;e=f[e>>2]|0}while((e|0)!=0)}if((d|0)!=(m|0)){e=f[d+16>>2]|0;j=f[d+20>>2]|0;b:do if((e|0)!=(j|0))while(1){if((i|0)==(n|0))break a;g=f[i>>2]|0;h=f[e>>2]|0;if(g>>>0<h>>>0)break a;if(h>>>0<g>>>0)break b;e=e+4|0;if((e|0)==(j|0))break;else i=i+4|0}while(0);G=f[d+28>>2]|0;u=H;return G|0}}while(0);f[G>>2]=0;x=G+4|0;f[x>>2]=0;l=G+8|0;f[l>>2]=0;f[F>>2]=0;w=F+4|0;f[w>>2]=0;m=F+8|0;f[m>>2]=0;f[E>>2]=0;v=E+4|0;f[v>>2]=0;n=E+8|0;f[n>>2]=0;f[D>>2]=0;t=D+4|0;f[t>>2]=0;o=D+8|0;f[o>>2]=0;f[C>>2]=0;s=C+4|0;f[s>>2]=0;p=C+8|0;f[p>>2]=0;f[A>>2]=0;r=A+4|0;f[r>>2]=0;q=A+8|0;f[q>>2]=0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){j=Nu(Hua(3)|0,441604,60)|0;k=c+4|0;j=esb(j,(f[k>>2]|0)-(f[c>>2]|0)>>2)|0;Drb(B,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(B,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(B);ksb(j,i)|0;Krb(j)|0}else k=c+4|0;e=f[c>>2]|0;d=f[k>>2]|0;if((e|0)!=(d|0))do{j=f[e>>2]|0;i=j+32|0;j=j+36|0;g=f[i>>2]|0;if((f[j>>2]|0)!=(g|0)){h=0;d=g;do{g=f[d+(h<<2)>>2]|0;f[y>>2]=g;d=f[g+32>>2]|0;c:do if((d|0)<36313){if((d|0)<35632){switch(d|0){case -1:break;default:break c}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1)break;g=Nu(Hua(2)|0,441665,90)|0;Drb(B,g+(f[(f[g>>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(g,d)|0;Krb(g)|0;break}switch(d|0){case 35633:{d=f[x>>2]|0;if((d|0)==(f[l>>2]|0)){lSa(G,y);break c}else{f[d>>2]=g;f[x>>2]=(f[x>>2]|0)+4;break c}}case 35632:{d=f[s>>2]|0;if((d|0)==(f[p>>2]|0)){lSa(C,y);break c}else{f[d>>2]=g;f[s>>2]=(f[s>>2]|0)+4;break c}}default:break c}}else switch(d|0){case 36488:{d=f[w>>2]|0;if((d|0)==(f[m>>2]|0)){lSa(F,y);break c}else{f[d>>2]=g;f[w>>2]=(f[w>>2]|0)+4;break c}}case 36487:{d=f[v>>2]|0;if((d|0)==(f[n>>2]|0)){lSa(E,y);break c}else{f[d>>2]=g;f[v>>2]=(f[v>>2]|0)+4;break c}}case 36313:{d=f[t>>2]|0;if((d|0)==(f[o>>2]|0)){lSa(D,y);break c}else{f[d>>2]=g;f[t>>2]=(f[t>>2]|0)+4;break c}}case 37305:{d=f[r>>2]|0;if((d|0)==(f[q>>2]|0)){lSa(A,y);break c}else{f[d>>2]=g;f[r>>2]=(f[r>>2]|0)+4;break c}}default:break c}while(0);h=h+1|0;d=f[i>>2]|0}while(h>>>0<(f[j>>2]|0)-d>>2>>>0);d=f[k>>2]|0}e=e+4|0}while((e|0)!=(d|0));h=EBb(196)|0;TRa(h);g=h+8|0;f[g>>2]=(f[g>>2]|0)+1;if((f[G>>2]|0)!=(f[x>>2]|0))Fj[f[(f[a>>2]|0)+172>>2]&511](a,h,G);if((f[F>>2]|0)!=(f[w>>2]|0))Fj[f[(f[a>>2]|0)+172>>2]&511](a,h,F);if((f[D>>2]|0)!=(f[t>>2]|0))Fj[f[(f[a>>2]|0)+172>>2]&511](a,h,D);if((f[E>>2]|0)!=(f[v>>2]|0))Fj[f[(f[a>>2]|0)+172>>2]&511](a,h,E);if((f[C>>2]|0)!=(f[s>>2]|0))Fj[f[(f[a>>2]|0)+172>>2]&511](a,h,C);if((f[A>>2]|0)!=(f[r>>2]|0))Fj[f[(f[a>>2]|0)+172>>2]&511](a,h,A);f[y>>2]=c;mSa(B,a+32|0,c,505019,y,z);d=(f[B>>2]|0)+28|0;e=f[d>>2]|0;if(((e|0)!=(h|0)?(f[d>>2]=h,f[g>>2]=(f[g>>2]|0)+1,e|0):0)?(y=e+8|0,z=f[y>>2]|0,f[y>>2]=z-1,(z|0)==1):0)Rua(e,1,1);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){z=Nu(Hua(3)|0,441756,58)|0;Drb(B,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);y=utb(B,504576)|0;y=cj[f[(f[y>>2]|0)+28>>2]&1023](y,10)|0;vtb(B);ksb(z,y)|0;Krb(z)|0}B=f[g>>2]|0;f[g>>2]=B-1;if((B|0)==1)Rua(h,1,1);d=f[A>>2]|0;if(d|0){f[r>>2]=d;GBb(d)}d=f[C>>2]|0;if(d|0){f[s>>2]=d;GBb(d)}d=f[D>>2]|0;if(d|0){f[t>>2]=d;GBb(d)}d=f[E>>2]|0;if(d|0){f[v>>2]=d;GBb(d)}d=f[F>>2]|0;if(d|0){f[w>>2]=d;GBb(d)}d=f[G>>2]|0;if(d|0){f[x>>2]=d;GBb(d)}G=h;u=H;return G|0}function bSa(a,c){a=a|0;c=c|0;var e=0,g=0,h=0.0,i=0,j=0,k=0,l=0,m=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;D=u;u=u+80|0;v=D+64|0;w=D+60|0;x=D+76|0;z=D+48|0;t=D+36|0;A=D+24|0;B=D+12|0;C=D;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){y=Nu(Hua(3)|0,441149,53)|0;q=c+4|0;y=esb(y,(f[q>>2]|0)-(f[c>>2]|0)>>2)|0;Drb(v,y+(f[(f[y>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(y,s)|0;Krb(y)|0}else q=c+4|0;r=z+4|0;f[r>>2]=0;s=z+8|0;f[s>>2]=0;y=z+4|0;f[z>>2]=y;g=f[c>>2]|0;if((g|0)==(f[q>>2]|0)){p=-1;e=y}else{e=-1;do{j=f[g>>2]|0;i=f[j+32>>2]|0;if((e|0)!=-1)if((e|0)!=(i|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){o=Nu(Hua(3)|0,441203,83)|0;Drb(v,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);m=utb(v,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(v);ksb(o,m)|0;Krb(o)|0}}else p=20;else{e=i;p=20}if((p|0)==20){p=0;i=f[j+64>>2]|0;o=j+68|0;if((i|0)!=(o|0)){m=i;while(1){i=EBb(32)|0;k=i+16|0;f[k>>2]=f[m+16>>2];OBb(i+20|0,m+20|0);j=f[y>>2]|0;do if(j){h=+n[k>>2];while(1)if(h<+n[j+16>>2]){k=f[j>>2]|0;if(!k){p=26;break}else j=k}else{k=f[j+4>>2]|0;if(!k){p=28;break}else j=k}if((p|0)==26){p=0;k=j;l=j;break}else if((p|0)==28){p=0;k=j;l=j+4|0;break}}else{k=y;l=y}while(0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=k;f[l>>2]=i;j=f[f[z>>2]>>2]|0;if(j){f[z>>2]=j;i=f[l>>2]|0}Xo(f[r>>2]|0,i);f[s>>2]=(f[s>>2]|0)+1;i=f[m+4>>2]|0;if(!i){j=m+8|0;i=f[j>>2]|0;if((f[i>>2]|0)!=(m|0))do{m=f[j>>2]|0;j=m+8|0;i=f[j>>2]|0}while((f[i>>2]|0)!=(m|0))}else while(1){j=f[i>>2]|0;if(!j)break;else i=j}if((i|0)==(o|0))break;else m=i}}}g=g+4|0}while((g|0)!=(f[q>>2]|0));p=e;e=f[z>>2]|0};f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;f[A>>2]=0;f[A+4>>2]=0;f[A+8>>2]=0;f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;if((e|0)==(y|0)){m=t+11|0;o=t;e=0;g=0;i=0}else{i=e;while(1){h=+n[i+16>>2];do if(!(h<0.0)){e=i+20|0;g=b[e+11>>0]|0;s=g<<24>>24<0;e=s?f[e>>2]|0:e;g=s?f[i+24>>2]|0:g&255;if(!(h<=1.0)){bCb(B,e,g)|0;break}else{bCb(A,e,g)|0;break}}else{q=i+20|0;s=b[q+11>>0]|0;r=s<<24>>24<0;bCb(t,r?f[q>>2]|0:q,r?f[i+24>>2]|0:s&255)|0}while(0);e=f[i+4>>2]|0;if(!e){g=i+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(i|0))do{s=f[g>>2]|0;g=s+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(s|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(y|0))break;else i=e}e=t+11|0;m=e;o=t;e=b[e>>0]|0;g=f[t>>2]|0;i=f[t+4>>2]|0};f[C>>2]=0;f[C+4>>2]=0;f[C+8>>2]=0;j=e<<24>>24<0;bCb(C,j?g:t,j?i:e&255)|0;e=EBb(32)|0;g=e;i=441287;j=g+16|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+16>>0]=0;bCb(C,e,16)|0;GBb(e);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]=2683;b[v+2>>0]=0;bCb(C,v,2)|0;if((b[t>>0]|0)<0)GBb(f[v>>2]|0);i=A+11|0;t=b[i>>0]|0;s=t<<24>>24<0;bCb(C,s?f[A>>2]|0:A,s?f[A+4>>2]|0:t&255)|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]=2685;b[v+2>>0]=0;bCb(C,v,2)|0;if((b[t>>0]|0)<0)GBb(f[v>>2]|0);j=B+11|0;k=b[j>>0]|0;l=k<<24>>24<0;bCb(C,l?f[B>>2]|0:B,l?f[B+4>>2]|0:k&255)|0;k=EBb(152)|0;fSa(k,p,C);l=k+8|0;f[l>>2]=(f[l>>2]|0)+1;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){t=bsb(Nu(Hua(3)|0,441304,7)|0,p)|0;Drb(v,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(t,s)|0;Krb(t)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){r=Nu(Hua(3)|0,441312,15)|0;Drb(v,r+(f[(f[r>>2]|0)+-12>>2]|0)|0);t=utb(v,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(v);ksb(r,t)|0;Krb(r)|0;t=b[C+11>>0]|0;s=t<<24>>24<0;t=Nu(r,s?f[C>>2]|0:C,s?f[C+4>>2]|0:t&255)|0;Drb(v,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(t,s)|0;Krb(t)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){t=Nu(Hua(3)|0,441328,43)|0;Drb(v,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(t,s)|0;Krb(t)|0;Drb(v,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(t,s)|0;Krb(t)|0}f[w>>2]=c;dSa(v,a+44|0,c,505019,w,x);e=(f[v>>2]|0)+28|0;g=f[e>>2]|0;if(((g|0)!=(k|0)?(f[e>>2]=k,f[l>>2]=(f[l>>2]|0)+1,g|0):0)?(w=g+8|0,x=f[w>>2]|0,f[w>>2]=x-1,(x|0)==1):0)Rua(g,1,1);x=f[l>>2]|0;f[l>>2]=x-1;if((x|0)==1)Rua(k,1,1);if((b[C+11>>0]|0)<0)GBb(f[C>>2]|0);if((b[j>>0]|0)<0)GBb(f[B>>2]|0);if((b[i>>0]|0)<0)GBb(f[A>>2]|0);if((b[m>>0]|0)>=0){C=f[y>>2]|0;HRa(z,C);u=D;return k|0}GBb(f[o>>2]|0);C=f[y>>2]|0;HRa(z,C);u=D;return k|0}function cSa(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;t=u;u=u+32|0;q=t+8|0;r=t;s=t+16|0;o=a+48|0;g=f[o>>2]|0;a:do if(g){k=f[d>>2]|0;i=d+4|0;p=f[i>>2]|0;if((k|0)==(p|0)){e=g;while(1){g=f[e>>2]|0;if(!g)break;else e=g}}else{e=o;do{h=f[g+20>>2]|0;j=f[g+16>>2]|0;n=k;while(1){if((j|0)==(h|0)){m=12;break}l=f[j>>2]|0;m=f[n>>2]|0;if(l>>>0<m>>>0){m=12;break}if(m>>>0<l>>>0){m=11;break}n=n+4|0;if((n|0)==(p|0)){m=11;break}else j=j+4|0}if((m|0)==11){m=0;h=g;e=g}else if((m|0)==12){m=0;h=g+4|0}g=f[h>>2]|0}while((g|0)!=0)}if((e|0)!=(o|0)){g=f[e+16>>2]|0;l=f[e+20>>2]|0;b:do if((g|0)!=(l|0))while(1){if((k|0)==(p|0)){m=22;break a}h=f[k>>2]|0;j=f[g>>2]|0;if(h>>>0<j>>>0){m=22;break a}if(j>>>0<h>>>0)break b;g=g+4|0;if((g|0)==(l|0))break;else k=k+4|0}while(0);ARa(c,f[e+28>>2]|0)|0}else m=22}else m=22;while(0);if((m|0)==22){h=cj[f[(f[a>>2]|0)+168>>2]&1023](a,d)|0;f[r>>2]=d;dSa(q,a+44|0,d,505019,r,s);e=(f[q>>2]|0)+28|0;g=f[e>>2]|0;if((g|0)!=(h|0)){f[e>>2]=h;if(h|0){s=h+8|0;f[s>>2]=(f[s>>2]|0)+1}if(g|0?(r=g+8|0,s=f[r>>2]|0,f[r>>2]=s-1,(s|0)==1):0)Rua(g,1,1)}ARa(c,h)|0;i=d+4|0}d=f[d>>2]|0;e=f[i>>2]|0;if((d|0)==(e|0)){u=t;return}do{h=f[d>>2]|0;g=b[h+48+11>>0]|0;if(g<<24>>24<0)g=f[h+52>>2]|0;else g=g&255;if(!((g|0)==0?(f[h+60>>2]|0)==0:0)){ARa(c,h)|0;e=f[i>>2]|0}d=d+4|0}while((d|0)!=(e|0));u=t;return}function dSa(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;t=u;u=u+16|0;s=t;i=c+4|0;j=f[i>>2]|0;a:do if(j){i=c+4|0;r=f[d+4>>2]|0;p=f[d>>2]|0;b:do if((p|0)==(r|0)){k=f[j+16>>2]|0;d=f[j+20>>2]|0;if((k|0)==(d|0))q=29;else{n=j;while(1){m=r;while(1){if((m|0)==(r|0))break;j=f[m>>2]|0;l=f[k>>2]|0;if(j>>>0<l>>>0)break;if(l>>>0<j>>>0){j=n;q=29;break b}k=k+4|0;if((k|0)==(d|0)){j=n;q=29;break b}else m=m+4|0}j=f[n>>2]|0;if(!j){j=n;i=n;q=21;break b}k=f[j+16>>2]|0;d=f[j+20>>2]|0;if((k|0)==(d|0))break;else{i=n;n=j}}i=n;q=29}}else{o=j;while(1){j=f[o+16>>2]|0;n=f[o+20>>2]|0;c:do if((j|0)!=(n|0)){d=p;m=j;while(1){if((d|0)==(r|0))break;k=f[d>>2]|0;l=f[m>>2]|0;if(k>>>0<l>>>0)break;if(l>>>0<k>>>0){q=15;break c}m=m+4|0;if((m|0)==(n|0)){q=15;break c}else d=d+4|0}j=f[o>>2]|0;if(!j){j=o;i=o;q=21;break b}else i=o}else q=15;while(0);if((q|0)==15){q=0;l=p;while(1){if((j|0)==(n|0))break;d=f[j>>2]|0;k=f[l>>2]|0;if(d>>>0<k>>>0)break;if(k>>>0<d>>>0){j=o;q=29;break b}l=l+4|0;if((l|0)==(r|0)){j=o;q=29;break b}else j=j+4|0}i=o+4|0;j=f[i>>2]|0;if(!j)break}o=j}j=o;d=i;break a}while(0);if((q|0)==21){d=i;break}else if((q|0)==29){d=i;break}}else{j=i;d=i}while(0);i=f[d>>2]|0;if(i|0){s=i;c=0;f[a>>2]=s;s=a+4|0;b[s>>0]=c;u=t;return}eSa(s,c,e,g,h);i=f[s>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=j;f[d>>2]=i;j=f[f[c>>2]>>2]|0;if(j){f[c>>2]=j;i=f[d>>2]|0}Xo(f[c+4>>2]|0,i);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;s=f[s>>2]|0;c=1;f[a>>2]=s;s=a+4|0;b[s>>0]=c;u=t;return}function eSa(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=EBb(32)|0;f[a>>2]=l;f[a+4>>2]=c+4;k=a+8|0;b[k>>0]=0;i=l+16|0;g=f[e>>2]|0;f[i>>2]=0;j=l+20|0;f[j>>2]=0;a=l+24|0;f[a>>2]=0;e=g+4|0;d=(f[e>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){l=l+28|0;f[l>>2]=0;b[k>>0]=1;return}if(c>>>0>1073741823)DCb(i);h=EBb(d)|0;f[j>>2]=h;f[i>>2]=h;f[a>>2]=h+(c<<2);g=f[g>>2]|0;d=(f[e>>2]|0)-g|0;if((d|0)<=0){l=l+28|0;f[l>>2]=0;b[k>>0]=1;return}YDb(h|0,g|0,d|0)|0;f[j>>2]=h+(d>>>2<<2);l=l+28|0;f[l>>2]=0;b[k>>0]=1;return}function fSa(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+16|0;d=e;f[a+4>>2]=0;f[a+8>>2]=0;g=a+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=348792;f[a+32>>2]=b;g=a+36|0;b=a+48|0;f[a+68>>2]=0;f[a+72>>2]=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;f[g+24>>2]=0;f[a+64>>2]=a+68;f[a+76>>2]=0;f[a+84>>2]=0;f[a+88>>2]=0;f[a+80>>2]=a+84;f[a+96>>2]=0;f[a+100>>2]=0;f[a+92>>2]=a+96;f[a+108>>2]=0;f[a+112>>2]=0;f[a+104>>2]=a+108;f[a+116>>2]=0;f[a+120>>2]=0;f[a+124>>2]=0;f[a+132>>2]=0;f[a+136>>2]=0;f[a+128>>2]=a+132;Dxa()|0;g=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;GRa(a+140|0,g,d);d=f[d>>2]|0;if(!d){UBb(b,c)|0;gSa(a);hSa(a);u=e;return}h=d+8|0;g=f[h>>2]|0;f[h>>2]=g-1;if((g|0)!=1){UBb(b,c)|0;gSa(a);hSa(a);u=e;return}Rua(d,1,1);UBb(b,c)|0;gSa(a);hSa(a);u=e;return}function gSa(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,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;N=u;u=u+64|0;B=N+60|0;A=N+48|0;C=N+44|0;G=N+40|0;I=N+28|0;J=N+16|0;K=N+12|0;L=N;if((f[a+76>>2]|0)==1){u=N;return}D=a+80|0;E=a+84|0;f0(D,f[E>>2]|0);f[a+88>>2]=0;f[D>>2]=E;f[E>>2]=0;E=a+92|0;F=a+96|0;f0(E,f[F>>2]|0);f[a+100>>2]=0;f[E>>2]=F;f[F>>2]=0;F=a+104|0;d=a+108|0;f0(F,f[d>>2]|0);f[a+112>>2]=0;f[F>>2]=d;f[d>>2]=0;d=f[a+116>>2]|0;H=a+120|0;c=f[H>>2]|0;if((c|0)!=(d|0))do{z=c;c=c+-12|0;f0(c,f[z+-8>>2]|0)}while((c|0)!=(d|0));f[H>>2]=d;o=a+48|0;p=o+11|0;q=a+52|0;r=A+11|0;s=A+4|0;t=I+11|0;v=I+4|0;w=J+11|0;x=L+4|0;y=L+8|0;z=L+4|0;n=a+116|0;c=0;a:while(1){k=b[p>>0]|0;l=k<<24>>24<0;if(l){d=f[q>>2]|0;h=f[o>>2]|0}else{d=k&255;h=o}if(d>>>0<c>>>0){M=105;break}a=h+c|0;g=h+d|0;e=g;c=e-a|0;if((c|0)<7){M=105;break}while(1){c=c+-6|0;if(!c){M=105;break a}d=Ymb(a,35,c)|0;if(!d){M=105;break a}if(!(anb(d,441372,7)|0))break;a=d+1|0;c=e-a|0;if((c|0)<7){M=105;break a}}c=d-h|0;if((d|0)==(g|0)|(c|0)==-1){M=105;break}d=c+7|0;if(l)h=f[q>>2]|0;else h=k&255;b:do if(h>>>0>d>>>0){i=l?f[o>>2]|0:o;c=d;while(1){e=b[i+c>>0]|0;a=440811;while(1){m=b[a>>0]|0;g=m<<24>>24!=0;if(m<<24>>24!=e<<24>>24&g)a=a+1|0;else break}if(g)break;c=c+1|0;if(c>>>0>=h>>>0){M=27;break b}}if((c|0)!=-1){m=c;j=0;h=c}else M=27}else M=27;while(0);do if((M|0)==27){M=0;if(l){m=-1;j=1;h=f[q>>2]|0;break}else{m=-1;j=1;h=k&255;break}}while(0);c:do if(h>>>0>d>>>0){g=l?f[o>>2]|0:o;while(1){a=b[g+d>>0]|0;c=440808;while(1){l=b[c>>0]|0;e=l<<24>>24==0;if(l<<24>>24!=a<<24>>24&(e^1))c=c+1|0;else break}if(e)break c;d=d+1|0;if(d>>>0>=h>>>0){d=m;break}}}else d=m;while(0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3?(i=Nu(Hua(4)|0,441380,20)|0,SBb(A,o,d,m-d|0,o),l=b[r>>0]|0,k=l<<24>>24<0,l=Nu(Nu(i,k?f[A>>2]|0:A,k?f[s>>2]|0:l&255)|0,440221,1)|0,Drb(B,l+(f[(f[l>>2]|0)+-12>>2]|0)|0),k=utb(B,504576)|0,k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0,vtb(B),ksb(l,k)|0,Krb(l)|0,(b[r>>0]|0)<0):0)GBb(f[A>>2]|0);if(m>>>0>d>>>0){do if(j){c=b[p>>0]|0;if(c<<24>>24<0){e=f[q>>2]|0;break}else{e=c&255;break}}else e=m;while(0);d:do if(e>>>0>d>>>0){g=(b[p>>0]|0)<0?f[o>>2]|0:o;c=d;while(1){h=b[g+c>>0]|0;a=441401;while(1){l=b[a>>0]|0;i=l<<24>>24!=0;if(l<<24>>24!=h<<24>>24&i)a=a+1|0;else break}if(i)break d;c=c+1|0;if(c>>>0>=e>>>0){c=m;break}}}else c=m;while(0);SBb(I,o,d,c-d|0,o);do if(j){d=b[p>>0]|0;if(d<<24>>24<0){d=f[q>>2]|0;break}else{d=d&255;break}}else d=m;while(0);e:do if(d>>>0>c>>>0){a=(b[p>>0]|0)<0?f[o>>2]|0:o;while(1){if((b[a+c>>0]|0)==40)break e;c=c+1|0;if(c>>>0>=d>>>0){c=m;break}}}else c=m;while(0);do if(m>>>0>c>>>0){SBb(J,o,c+1|0,m+-1-c|0,B);a=b[t>>0]|0;d=f[v>>2]|0;c=a&255;do if(((a<<24>>24<0?d:c)|0)==14)if(!(nCb(I,0,-1,441405,14)|0)){iSa(0,J,D,K)|0;break}else{a=b[t>>0]|0;c=a&255;d=f[v>>2]|0;M=67;break}else M=67;while(0);f:do if((M|0)==67){M=0;do if(((a<<24>>24<0?d:c)|0)==12)if(!(nCb(I,0,-1,441420,12)|0)){iSa(0,J,F,K)|0;break f}else{a=b[t>>0]|0;c=a&255;d=f[v>>2]|0;break}while(0);do if(((a<<24>>24<0?d:c)|0)==20){if(nCb(I,0,-1,441433,20)|0){a=b[t>>0]|0;c=a&255;d=f[v>>2]|0;break}f[x>>2]=0;f[y>>2]=0;f[L>>2]=z;f[K>>2]=0;iSa(0,J,L,K)|0;g=f[K>>2]|0;c=f[H>>2]|0;d=f[n>>2]|0;a=(c-d|0)/12|0;do if(g>>>0>=a>>>0){e=g+1|0;if(e>>>0>a>>>0){Qza(n,e-a|0);break}if(e>>>0>=a>>>0)break;d=d+(e*12|0)|0;if((d|0)!=(c|0))do{l=c;c=c+-12|0;f0(c,f[l+-8>>2]|0)}while((c|0)!=(d|0));f[H>>2]=d}while(0);c=(f[n>>2]|0)+(g*12|0)|0;if((c|0)!=(L|0)){f[C>>2]=f[L>>2];f[G>>2]=z;f[A>>2]=f[C>>2];f[B>>2]=f[G>>2];jSa(c,A,B)}f0(L,f[z>>2]|0);break f}while(0);do if(((a<<24>>24<0?d:c)|0)==8){if(nCb(I,0,-1,441454,8)|0)break;iSa(0,J,E,K)|0;break f}while(0);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=2)break;j=Nu(Hua(3)|0,441463,23)|0;l=b[t>>0]|0;k=l<<24>>24<0;l=Nu(Nu(j,k?f[I>>2]|0:I,k?f[v>>2]|0:l&255)|0,440221,1)|0;Drb(B,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(B,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(B);ksb(l,k)|0;Krb(l)|0}while(0);if((b[w>>0]|0)<0)GBb(f[J>>2]|0)}else{do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);if((f[124868]|0)<=3)break;j=Nu(Hua(4)|0,441487,19)|0;l=b[t>>0]|0;k=l<<24>>24<0;l=Nu(Nu(j,k?f[I>>2]|0:I,k?f[v>>2]|0:l&255)|0,441507,21)|0;Drb(B,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(B,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(B);ksb(l,k)|0;Krb(l)|0}while(0);if((b[t>>0]|0)<0)GBb(f[I>>2]|0)}c=m}if((M|0)==105){u=N;return}}function hSa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;e=a+140|0;i=a+144|0;if((f[i>>2]|0)!=(f[e>>2]|0)){c=0;do{d=iRa(e,c)|0;if(f[d>>2]|0?(h=iRa(e,c)|0,h=f[h>>2]|0,g=f[h+20>>2]|0,h=f[h+24>>2]|0,(g|0)!=(h|0)):0){d=g;do{j=f[d>>2]|0;b[j+36>>0]=1;b[j+37>>0]=0;d=d+4|0}while((d|0)!=(h|0))}c=c+1|0}while(c>>>0<(f[i>>2]|0)-(f[e>>2]|0)>>2>>>0)}c=f[a+128>>2]|0;g=a+132|0;if((c|0)==(g|0))return;e=c;while(1){CRa(f[e+16>>2]|0);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{j=f[d>>2]|0;d=j+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(j|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}return}function iSa(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,z=0,A=0,B=0,C=0,D=0;B=u;u=u+32|0;z=B+16|0;A=B;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){y=Nu(Hua(4)|0,441529,28)|0;s=c+11|0;v=b[s>>0]|0;w=v<<24>>24<0;t=c+4|0;v=Nu(Nu(y,w?f[c>>2]|0:c,w?f[t>>2]|0:v&255)|0,409404,1)|0;Drb(z,v+(f[(f[v>>2]|0)+-12>>2]|0)|0);w=utb(z,504576)|0;w=cj[f[(f[w>>2]|0)+28>>2]&1023](w,10)|0;vtb(z);ksb(v,w)|0;Krb(v)|0;v=c;w=c}else{s=c+11|0;t=c+4|0;v=c;w=c}x=A+11|0;y=A+4|0;j=0;i=1;g=b[s>>0]|0;h=f[t>>2]|0;a:while(1){n=g<<24>>24<0;r=g&255;p=n?h:r;if(p>>>0<=j>>>0){C=53;break}q=n?f[v>>2]|0:w;o=j;while(1){l=b[q+o>>0]|0;a=441558;while(1){m=b[a>>0]|0;j=m<<24>>24==0;if(m<<24>>24!=l<<24>>24&(j^1))a=a+1|0;else break}if(j)break;a=o+1|0;if(a>>>0<p>>>0)o=a;else{C=53;break a}}if((o|0)==-1){C=53;break}b:do if(p>>>0>o>>>0){m=o;k=l;while(1){a=441562;while(1){D=b[a>>0]|0;j=D<<24>>24!=0;if(D<<24>>24!=k<<24>>24&j)a=a+1|0;else break}if(j)break;a=m+1|0;if(a>>>0>=p>>>0){C=28;break b}m=a;k=b[q+a>>0]|0}if((m|0)!=-1){c:do if(l<<24>>24==40)a=o;else{a=o;do{a=a+1|0;if(a>>>0>=p>>>0){a=-1;break c}}while((b[q+a>>0]|0)!=40)}while(0);j=m+(a>>>0<m>>>0&1)|0}else C=28}else C=28;while(0);if((C|0)==28){C=0;j=n?h:r}if(j>>>0>o>>>0){SBb(A,c,o,j-o|0,c);do if(i){a=(b[x>>0]|0)<0?f[A>>2]|0:A;if(((b[a>>0]|0)+-48&255)<10){D=Tnb(a)|0;f[e>>2]=D;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3)break;D=Nu(Hua(4)|0,441567,17)|0;D=Nu(csb(D,f[e>>2]|0)|0,409404,1)|0;Drb(z,D+(f[(f[D>>2]|0)+-12>>2]|0)|0);r=utb(z,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(z);ksb(D,r)|0;Krb(D)|0;break}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){q=Nu(Hua(4)|0,441585,18)|0;D=b[x>>0]|0;r=D<<24>>24<0;D=Nu(Nu(q,r?f[A>>2]|0:A,r?f[y>>2]|0:D&255)|0,409404,1)|0;Drb(z,D+(f[(f[D>>2]|0)+-12>>2]|0)|0);r=utb(z,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(z);ksb(D,r)|0;Krb(D)|0}k6(z,d,A,A)}else{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){q=Nu(Hua(4)|0,441585,18)|0;D=b[x>>0]|0;r=D<<24>>24<0;D=Nu(Nu(q,r?f[A>>2]|0:A,r?f[y>>2]|0:D&255)|0,409404,1)|0;Drb(z,D+(f[(f[D>>2]|0)+-12>>2]|0)|0);r=utb(z,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(z);ksb(D,r)|0;Krb(D)|0}k6(z,d,A,A)}while(0);if((b[x>>0]|0)<0)GBb(f[A>>2]|0);g=b[s>>0]|0;i=0;a=g&255;h=f[t>>2]|0}else a=r;j=j+1|0;if(j>>>0>=(g<<24>>24<0?h:a)>>>0){C=53;break}}if((C|0)==53){u=B;return 0}return 0}function jSa(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,u=0;s=a+8|0;a:do if(f[s>>2]|0?(r=f[a>>2]|0,u=a+4|0,f[a>>2]=u,f[(f[u>>2]|0)+8>>2]=0,f[u>>2]=0,f[s>>2]=0,e=f[r+4>>2]|0,e=(e|0)==0?r:e,e|0):0){q=u;r=a+4|0;g=f[c>>2]|0;while(1){if((g|0)==(f[d>>2]|0))break;j=e+16|0;UBb(j,g+16|0)|0;p=e+8|0;i=f[p>>2]|0;do if(i){h=f[i>>2]|0;if((h|0)==(e|0)){f[i>>2]=0;h=f[i+4>>2]|0;if(!h)break;while(1){i=f[h>>2]|0;if(!i){i=f[h+4>>2]|0;if(!i)break;else h=i}else h=i}i=h;break}else{f[i+4>>2]=0;if(!h)break;while(1){i=f[h>>2]|0;if(!i){i=f[h+4>>2]|0;if(!i)break;else h=i}else h=i}i=h;break}}else i=0;while(0);h=f[u>>2]|0;do if(h){o=b[j+11>>0]|0;n=o<<24>>24<0;o=n?f[e+20>>2]|0:o&255;n=n?f[j>>2]|0:j;while(1){k=h+16|0;m=b[k+11>>0]|0;l=m<<24>>24<0;m=l?f[h+20>>2]|0:m&255;j=m>>>0<o>>>0?m:o;if((j|0)!=0?(t=anb(n,l?f[k>>2]|0:k,j)|0,(t|0)!=0):0)if((t|0)<0)k=25;else k=27;else if(o>>>0<m>>>0)k=25;else k=27;if((k|0)==25){j=f[h>>2]|0;if(!j){k=26;break}else h=j}else if((k|0)==27){j=f[h+4>>2]|0;if(!j){k=28;break}else h=j}}if((k|0)==26){j=h;break}else if((k|0)==28){j=h+4|0;break}}else{j=u;h=q}while(0);f[e>>2]=0;f[e+4>>2]=0;f[p>>2]=h;f[j>>2]=e;h=f[f[a>>2]>>2]|0;if(h){f[a>>2]=h;e=f[j>>2]|0}Xo(f[r>>2]|0,e);f[s>>2]=(f[s>>2]|0)+1;e=f[g+4>>2]|0;if(!e){e=g+8|0;h=f[e>>2]|0;if((f[h>>2]|0)==(g|0))g=h;else do{p=f[e>>2]|0;e=p+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(p|0))}else{while(1){g=f[e>>2]|0;if(!g)break;else e=g}g=e}f[c>>2]=g;if(!i)break a;else e=i}g=f[e+8>>2]|0;if(g){e=g;while(1){g=f[e+8>>2]|0;if(!g)break;else e=g}}f0(a,e)}while(0);e=f[c>>2]|0;i=f[d>>2]|0;if((e|0)==(i|0))return;h=e;while(1){kSa(a,h+16|0)|0;e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{d=f[g>>2]|0;g=d+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(d|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}f[c>>2]=e;if((e|0)==(i|0))break;else h=e}return}function kSa(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;l=EBb(28)|0;e=l+16|0;OBb(e,c);d=a+4|0;c=f[d>>2]|0;do if(c){j=b[l+27>>0]|0;i=j<<24>>24<0;j=i?f[l+20>>2]|0:j&255;i=i?f[e>>2]|0:e;h=c;while(1){d=h+16|0;g=b[d+11>>0]|0;e=g<<24>>24<0;g=e?f[h+20>>2]|0:g&255;c=g>>>0<j>>>0?g:j;if((c|0)!=0?(k=anb(i,e?f[d>>2]|0:d,c)|0,(k|0)!=0):0)if((k|0)<0)e=7;else e=9;else if(j>>>0<g>>>0)e=7;else e=9;if((e|0)==7){c=f[h>>2]|0;if(!c){e=8;break}}else if((e|0)==9){c=f[h+4>>2]|0;if(!c){e=10;break}}h=c}if((e|0)==8){c=h;d=h;break}else if((e|0)==10){c=h;d=h+4|0;break}}else c=d;while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=c;f[d>>2]=l;c=f[f[a>>2]>>2]|0;if(!c){k=l;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}f[a>>2]=c;k=f[d>>2]|0;j=a+4|0;j=f[j>>2]|0;Xo(j,k);a=a+8|0;k=f[a>>2]|0;k=k+1|0;f[a>>2]=k;return l|0}function lSa(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<c>>>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 mSa(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;t=u;u=u+16|0;s=t;i=c+4|0;j=f[i>>2]|0;a:do if(j){i=c+4|0;r=f[d+4>>2]|0;p=f[d>>2]|0;b:do if((p|0)==(r|0)){k=f[j+16>>2]|0;d=f[j+20>>2]|0;if((k|0)==(d|0))q=29;else{n=j;while(1){m=r;while(1){if((m|0)==(r|0))break;j=f[m>>2]|0;l=f[k>>2]|0;if(j>>>0<l>>>0)break;if(l>>>0<j>>>0){j=n;q=29;break b}k=k+4|0;if((k|0)==(d|0)){j=n;q=29;break b}else m=m+4|0}j=f[n>>2]|0;if(!j){j=n;i=n;q=21;break b}k=f[j+16>>2]|0;d=f[j+20>>2]|0;if((k|0)==(d|0))break;else{i=n;n=j}}i=n;q=29}}else{o=j;while(1){j=f[o+16>>2]|0;n=f[o+20>>2]|0;c:do if((j|0)!=(n|0)){d=p;m=j;while(1){if((d|0)==(r|0))break;k=f[d>>2]|0;l=f[m>>2]|0;if(k>>>0<l>>>0)break;if(l>>>0<k>>>0){q=15;break c}m=m+4|0;if((m|0)==(n|0)){q=15;break c}else d=d+4|0}j=f[o>>2]|0;if(!j){j=o;i=o;q=21;break b}else i=o}else q=15;while(0);if((q|0)==15){q=0;l=p;while(1){if((j|0)==(n|0))break;d=f[j>>2]|0;k=f[l>>2]|0;if(d>>>0<k>>>0)break;if(k>>>0<d>>>0){j=o;q=29;break b}l=l+4|0;if((l|0)==(r|0)){j=o;q=29;break b}else j=j+4|0}i=o+4|0;j=f[i>>2]|0;if(!j)break}o=j}j=o;d=i;break a}while(0);if((q|0)==21){d=i;break}else if((q|0)==29){d=i;break}}else{j=i;d=i}while(0);i=f[d>>2]|0;if(i|0){s=i;c=0;f[a>>2]=s;s=a+4|0;b[s>>0]=c;u=t;return}nSa(s,c,e,g,h);i=f[s>>2]|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=j;f[d>>2]=i;j=f[f[c>>2]>>2]|0;if(j){f[c>>2]=j;i=f[d>>2]|0}Xo(f[c+4>>2]|0,i);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;s=f[s>>2]|0;c=1;f[a>>2]=s;s=a+4|0;b[s>>0]=c;u=t;return}function nSa(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=EBb(32)|0;f[a>>2]=l;f[a+4>>2]=c+4;k=a+8|0;b[k>>0]=0;i=l+16|0;g=f[e>>2]|0;f[i>>2]=0;j=l+20|0;f[j>>2]=0;a=l+24|0;f[a>>2]=0;e=g+4|0;d=(f[e>>2]|0)-(f[g>>2]|0)|0;c=d>>2;if(!d){l=l+28|0;f[l>>2]=0;b[k>>0]=1;return}if(c>>>0>1073741823)DCb(i);h=EBb(d)|0;f[j>>2]=h;f[i>>2]=h;f[a>>2]=h+(c<<2);g=f[g>>2]|0;d=(f[e>>2]|0)-g|0;if((d|0)<=0){l=l+28|0;f[l>>2]=0;b[k>>0]=1;return}YDb(h|0,g|0,d|0)|0;f[j>>2]=h+(d>>>2<<2);l=l+28|0;f[l>>2]=0;b[k>>0]=1;return}function oSa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;Fva(a,c,d);f[a>>2]=348964;f[a+36>>2]=0;f[a+40>>2]=0;f[a+32>>2]=a+36;f[a+48>>2]=0;f[a+52>>2]=0;f[a+44>>2]=a+48;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=g;return}d=jsb(Nu(Hua(4)|0,441830,76)|0,a)|0;Drb(e,d+(f[(f[d>>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(d,c)|0;Krb(d)|0;u=g;return}function pSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!b)return;pSa(a,f[b>>2]|0);pSa(a,f[b+4>>2]|0);a=b+28|0;c=f[a>>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[a>>2]=0;a=f[b+16>>2]|0;if(a|0){f[b+20>>2]=a;GBb(a)}GBb(b);return}function qSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!b)return;qSa(a,f[b>>2]|0);qSa(a,f[b+4>>2]|0);a=b+28|0;c=f[a>>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[a>>2]=0;a=f[b+16>>2]|0;if(a|0){f[b+20>>2]=a;GBb(a)}GBb(b);return}function rSa(a){a=a|0;var c=0,d=0,e=0;d=u;u=u+16|0;c=d;f[a+4>>2]=0;f[a+8>>2]=0;e=a+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=348964;f[a+36>>2]=0;f[a+40>>2]=0;f[a+32>>2]=a+36;f[a+48>>2]=0;f[a+52>>2]=0;f[a+44>>2]=a+48;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=d;return}e=jsb(Nu(Hua(4)|0,441907,33)|0,a)|0;Drb(c,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);a=utb(c,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(c);ksb(e,a)|0;Krb(e)|0;u=d;return}function sSa(a){a=a|0;pSa(a,f[a+4>>2]|0);return}function tSa(a){a=a|0;qSa(a,f[a+4>>2]|0);return}function uSa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=349148;b=a+104|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;Gva(a);return}function vSa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=349148;b=a+104|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;Gva(a);GBb(a);return}function wSa(a){a=a|0;var c=0,d=0,e=0,g=0;a=EBb(112)|0;f[a+4>>2]=0;f[a+8>>2]=0;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;f[a>>2]=349148;d=a+32|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;n[a+52>>2]=1.0;n[a+56>>2]=1.0;n[a+60>>2]=0.0;f[a+64>>2]=0;d=a+72|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;p[a+96>>3]=1.0;d=a+104|0;f[d>>2]=0;e=EBb(88)|0;f[e+4>>2]=0;c=e+8|0;f[c>>2]=0;g=e+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[e+24>>2]=2;g=e+28|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;f[e+52>>2]=7;f[e+56>>2]=1;f[e+60>>2]=5126;f[e+64>>2]=-1;b[e+68>>0]=0;b[e+69>>0]=0;f[e+76>>2]=0;f[e+80>>2]=0;f[e+84>>2]=0;f[e>>2]=320964;f[e+72>>2]=321204;f[d>>2]=e;f[c>>2]=(f[c>>2]|0)+1;return a|0}function xSa(a,b){a=a|0;b=b|0;var c=0;c=EBb(112)|0;DSa(c,a,b);return c|0}function ySa(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 zSa(a){a=a|0;return 409756}function ASa(a){a=a|0;return 441999}function BSa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+44>>2]&1023](b,a);return}function CSa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+44>>2]&1023](b,a);return}function DSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;d=u;u=u+16|0;e=d;Fva(a,b,c);f[a>>2]=349148;f[a+32>>2]=f[b+32>>2];f[a+36>>2]=f[b+36>>2];c=a+40|0;g=b+40|0;f[c>>2]=f[g>>2];f[c+4>>2]=f[g+4>>2];f[c+8>>2]=f[g+8>>2];f[a+52>>2]=f[b+52>>2];f[a+56>>2]=f[b+56>>2];f[a+60>>2]=f[b+60>>2];f[a+64>>2]=f[b+64>>2];c=a+72|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;p[a+96>>3]=1.0;c=EBb(88)|0;b=f[b+104>>2]|0;f[e>>2]=346256;f[e+4>>2]=0;yU(c,b,e);f[a+104>>2]=c;c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;u=d;return}function ESa(a){a=a|0;oza(a);GBb(a);return}function FSa(a){a=a|0;var b=0;a=EBb(72)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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[a+52>>2]=1;f[a+56>>2]=0;f[a+60>>2]=0;f[a>>2]=349328;f[a+64>>2]=0;f[a+68>>2]=0;return a|0}function GSa(a,b){a=a|0;b=b|0;var c=0;c=EBb(72)|0;Fva(c,a,b);f[c>>2]=339744;f[c+32>>2]=0;f[c+36>>2]=0;f[c+40>>2]=0;b=f[a+44>>2]|0;f[c+44>>2]=b;if(b|0){b=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[b>>2]=(f[b>>2]|0)+1}f[c+48>>2]=0;f[c+52>>2]=f[a+52>>2];f[c+56>>2]=f[a+56>>2];f[c+60>>2]=f[a+60>>2];f[c>>2]=349328;f[c+64>>2]=f[a+64>>2];f[c+68>>2]=f[a+68>>2];return c|0}function HSa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298632,0)|0)!=0;return b|0}function ISa(a){a=a|0;return 409756}function JSa(a){a=a|0;return 442031}function KSa(a){a=a|0;return 0}function LSa(a){a=a|0;return 0}function MSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;c=f[a+60>>2]|0;switch(c|0){case 7:{SSa(b,f[a+64>>2]|0,f[a+68>>2]|0,f[a+56>>2]|0);return}case 9:{c=6;break}case 8:{c=5;break}default:{}}e=f[a+56>>2]|0;g=f[a+64>>2]|0;d=f[a+68>>2]|0;if((e|0)<=0){Gh(c|0,g|0,d|0);return}a=f[b+824>>2]|0;if(!a){Gh(c|0,g|0,d|0);return}else{Ij[a&127](c,g,d,e);return}}function NSa(a,b){a=a|0;b=b|0;Ij[f[(f[b>>2]|0)+32>>2]&127](b,f[a+60>>2]|0,f[a+64>>2]|0,f[a+68>>2]|0);return}function OSa(a,b){a=a|0;b=b|0;Ij[f[(f[b>>2]|0)+32>>2]&127](b,f[a+60>>2]|0,f[a+64>>2]|0,f[a+68>>2]|0);return}function PSa(a,b){a=a|0;b=b|0;return (f[a+64>>2]|0)+b|0}function QSa(a){a=a|0;return f[a+68>>2]|0}function RSa(a,b){a=a|0;b=b|0;a=a+64|0;f[a>>2]=(f[a>>2]|0)+b;return}function SSa(a,b,c,e){a=a|0;b=b|0;c=c|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;v=u;u=u+16|0;s=v+4|0;l=v;t=(b|0)%4|0;q=((b-t|0)>>>2)*6|0;r=((c|0)/4|0)*6|0;c=q+r|0;if(c>>>0<65536){l=a+24+(t*12|0)|0;m=a+24+(t*12|0)+4|0;b=(f[m>>2]|0)-(f[l>>2]|0)>>1;if(c>>>0>=b>>>0?(g=(b>>>0)/6|0,n=(c>>>0)/6|0,uV(l,c),g>>>0<n>>>0):0){k=a+24+(t*12|0)+8|0;j=g;do{i=(j<<2)+t|0;c=i&65535;d[s>>1]=c;g=f[m>>2]|0;b=f[k>>2]|0;if(g>>>0<b>>>0){d[g>>1]=c;c=g+2|0;f[m>>2]=c}else{TSa(l,s);c=f[m>>2]|0;b=f[k>>2]|0}g=i+1&65535;d[s>>1]=g;if(c>>>0<b>>>0){d[c>>1]=g;c=c+2|0;f[m>>2]=c}else{TSa(l,s);c=f[m>>2]|0;b=f[k>>2]|0}h=i+3&65535;d[s>>1]=h;if(c>>>0<b>>>0){d[c>>1]=h;c=c+2|0;f[m>>2]=c}else{TSa(l,s);c=f[m>>2]|0;b=f[k>>2]|0}d[s>>1]=g;if(c>>>0<b>>>0){d[c>>1]=g;g=c+2|0;f[m>>2]=g}else{TSa(l,s);g=f[m>>2]|0;b=f[k>>2]|0}c=i+2&65535;d[s>>1]=c;if(g>>>0<b>>>0){d[g>>1]=c;c=g+2|0;f[m>>2]=c}else{TSa(l,s);c=f[m>>2]|0;b=f[k>>2]|0}d[s>>1]=h;if(c>>>0<b>>>0){d[c>>1]=h;f[m>>2]=c+2}else TSa(l,s);j=j+1|0}while(j>>>0<n>>>0)}b=(f[l>>2]|0)+(q<<1)|0;if((e|0)>0?(o=f[a+828>>2]|0,o|0):0){Kj[o&63](4,r,5123,b,e);u=v;return}Hh(4,r|0,5123,b|0);u=v;return}else{j=a+72+(t*12|0)|0;k=a+72+(t*12|0)+4|0;b=(f[k>>2]|0)-(f[j>>2]|0)>>2;if(c>>>0>=b>>>0?(h=(b>>>0)/6|0,m=(c>>>0)/6|0,zM(j,c),h>>>0<m>>>0):0){i=a+72+(t*12|0)+8|0;do{b=(h<<2)+t|0;f[s>>2]=b;g=f[k>>2]|0;c=f[i>>2]|0;if((g|0)==(c|0)){iw(j,s);g=f[k>>2]|0;c=f[i>>2]|0}else{f[g>>2]=b;g=g+4|0;f[k>>2]=g}b=(f[s>>2]|0)+1|0;f[l>>2]=b;if(g>>>0<c>>>0){f[g>>2]=b;g=g+4|0;f[k>>2]=g}else{ML(j,l);g=f[k>>2]|0;c=f[i>>2]|0}b=(f[s>>2]|0)+3|0;f[l>>2]=b;if(g>>>0<c>>>0){f[g>>2]=b;g=g+4|0;f[k>>2]=g}else{ML(j,l);g=f[k>>2]|0;c=f[i>>2]|0}b=(f[s>>2]|0)+1|0;f[l>>2]=b;if(g>>>0<c>>>0){f[g>>2]=b;g=g+4|0;f[k>>2]=g}else{ML(j,l);g=f[k>>2]|0;c=f[i>>2]|0}b=(f[s>>2]|0)+2|0;f[l>>2]=b;if(g>>>0<c>>>0){f[g>>2]=b;g=g+4|0;f[k>>2]=g}else{ML(j,l);g=f[k>>2]|0;c=f[i>>2]|0}b=(f[s>>2]|0)+3|0;f[l>>2]=b;if(g>>>0<c>>>0){f[g>>2]=b;f[k>>2]=g+4}else ML(j,l);h=h+1|0}while(h>>>0<m>>>0)}b=(f[j>>2]|0)+(q<<2)|0;if((e|0)>0?(p=f[a+828>>2]|0,p|0):0){Kj[p&63](4,r,5125,b,e);u=v;return}Hh(4,r|0,5125,b|0);u=v;return}}function TSa(a,b){a=a|0;b=b|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=a+4|0;k=f[a>>2]|0;l=(f[j>>2]|0)-k|0;h=l>>1;c=h+1|0;if((l|0)<-2)DCb(a);m=a+8|0;i=(f[m>>2]|0)-k|0;i=i>>1>>>0<1073741823?(i>>>0<c>>>0?c:i):2147483647;do if(i)if((i|0)<0){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{g=EBb(i<<1)|0;e=g;break}else{e=0;g=0}while(0);c=e+(h<<1)|0;d[c>>1]=d[b>>1]|0;if((l|0)>0)YDb(g|0,k|0,l|0)|0;f[a>>2]=e;f[j>>2]=c+2;f[m>>2]=e+(i<<1);if(!k)return;GBb(k);return}function USa(a){a=a|0;mi()}function VSa(a){a=a|0;var c=0,d=0,e=0;e=u;u=u+16|0;d=e;a=a+52|0;c=f[a>>2]|0;if(c>>>0<38){d=f[222752+(c<<2)>>2]|0;u=e;return d|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=4){d=442101;u=e;return d|0}c=Nu(Hua(5)|0,442061,39)|0;c=bsb(c,f[a>>2]|0)|0;Drb(d,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);a=utb(d,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(d);ksb(c,a)|0;Krb(c)|0;d=442101;u=e;return d|0}function WSa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;f[a>>2]=349808;e=a+832|0;c=f[e>>2]|0;if(c|0){f[e>>2]=0;g=c+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)==1)Rua(c,1,1);c=a+124|0;h=Lza(f[c>>2]|0,0)|0;if(h|0?(f[h+8>>2]|0)==1:0)GTa(f[c>>2]|0,0)}c=a+908|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;Rva(a+844|0);c=a+840|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=f[e>>2]|0;if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[e>>2]=0;c=a+752|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=f[a+712>>2]|0;if(c|0){f[a+716>>2]=c;GBb(c)}d=a+696|0;e=f[d>>2]|0;if(e|0){g=a+700|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{h=c;c=c+-12|0;HI(c,f[h+-8>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}d=a+684|0;e=f[d>>2]|0;if(e|0){g=a+688|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{h=c;c=c+-12|0;QK(c,f[h+-8>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}kBa(a+672|0,f[a+676>>2]|0);HTa(a+656|0,f[a+660>>2]|0);ITa(a+644|0,f[a+648>>2]|0);HI(a+632|0,f[a+636>>2]|0);QK(a+620|0,f[a+624>>2]|0);d=a+608|0;e=f[d>>2]|0;if(e|0){g=a+612|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{h=c;c=c+-12|0;EQa(c,f[h+-8>>2]|0)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;GBb(c)}IQa(a+596|0,f[a+600>>2]|0);IQa(a+584|0,f[a+588>>2]|0);e=a+572|0;g=f[e>>2]|0;if(g|0){h=a+576|0;c=f[h>>2]|0;if((c|0)==(g|0))c=g;else{do{d=c+-12|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);d=c+-24|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);d=c+-36|0;c=c+-40|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((c|0)!=(g|0));c=f[e>>2]|0}f[h>>2]=g;GBb(c)}c=a+560|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+548|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+536|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+520|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+508|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+496|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+480|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+468|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+456|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+440|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+428|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+416|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+400|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+388|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+376|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+360|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+224|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+220|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+216|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+212|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+208|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+204|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+200|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+196|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+192|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+180|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;kBa(a+168|0,f[a+172>>2]|0);lBa(a+156|0,f[a+160>>2]|0);c=a+148|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+136|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=a+132|0;d=f[c>>2]|0;do if(d|0){g=d+8|0;h=f[g>>2]|0;f[g>>2]=h-1;if((h|0)!=1)break;Rua(d,1,1)}while(0);f[c>>2]=0;c=f[a+108>>2]|0;if(c|0){f[a+112>>2]=c;GBb(c)}c=f[a+96>>2]|0;if(c|0){f[a+100>>2]=c;GBb(c)}c=f[a+84>>2]|0;if(c|0){f[a+88>>2]=c;GBb(c)}c=f[a+72>>2]|0;if(c|0){f[a+76>>2]=c;GBb(c)}c=f[a+60>>2]|0;if(c|0){f[a+64>>2]=c;GBb(c)}c=f[a+48>>2]|0;if(c|0){f[a+52>>2]=c;GBb(c)}c=f[a+36>>2]|0;if(c|0){f[a+40>>2]=c;GBb(c)}c=f[a+24>>2]|0;if(!c){g=a+12|0;h=a+16|0;h=f[h>>2]|0;oAa(g,h);Uua(a);return}f[a+28>>2]=c;GBb(c);g=a+12|0;h=a+16|0;h=f[h>>2]|0;oAa(g,h);Uua(a);return}function XSa(a){a=a|0;WSa(a);GBb(a);return}function YSa(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,s=0,t=0;t=u;u=u+48|0;r=t+16|0;q=t+12|0;k=t+32|0;l=t;s=a+762|0;if(b[s>>0]|0){u=t;return}e=Oh(7936)|0;if(e|0){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;g=Rmb(e)|0;if(g>>>0>4294967279)MBb(l);if(g>>>0<11){d=l+11|0;b[d>>0]=g;if(!g)c=l;else{c=l;p=8}}else{d=g+16&-16;c=EBb(d)|0;f[l>>2]=c;f[l+8>>2]=d|-2147483648;f[l+4>>2]=g;d=l+11|0;p=8}if((p|0)==8)YDb(c|0,e|0,g|0)|0;b[c+g>>0]=0;n=b[d>>0]|0;g=n<<24>>24<0;e=l+4|0;c=g?f[l>>2]|0:l;n=g?f[e>>2]|0:n&255;g=c+n|0;if(n|0)do{if((b[c>>0]|0)==32)b[c>>0]=95;c=c+1|0}while((c|0)!=(g|0));if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){j=Nu(Hua(4)|0,443739,13)|0;n=b[d>>0]|0;m=n<<24>>24<0;n=Nu(Nu(j,m?f[l>>2]|0:l,m?f[e>>2]|0:n&255)|0,440221,1)|0;Drb(r,n+(f[(f[n>>2]|0)+-12>>2]|0)|0);m=utb(r,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(r);ksb(n,m)|0;Krb(n)|0}c=a+656|0;f[q>>2]=l;CTa(r,c,l,505019,q,k);e=f[r>>2]|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;g=r+11|0;b[g>>0]=1;b[r>>0]=49;b[r+1>>0]=0;h=r+12|0;f[h>>2]=1;i=e+36|0;j=f[i>>2]|0;if(j>>>0>=(f[e+40>>2]|0)>>>0){DTa(e+32|0,r);if((b[g>>0]|0)<0)GBb(f[r>>2]|0)}else{f[j>>2]=f[r>>2];f[j+4>>2]=f[r+4>>2];f[j+8>>2]=f[r+8>>2];f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[j+12>>2]=f[h>>2];f[i>>2]=(f[i>>2]|0)+16}f[q>>2]=l;CTa(r,c,l,505019,q,k);b[(f[r>>2]|0)+28>>0]=1;b[a+668>>0]=1;if((b[d>>0]|0)<0)GBb(f[l>>2]|0)}j=a+124|0;c=Lza(f[j>>2]|0,1)|0;n=a+832|0;d=f[n>>2]|0;if((d|0)!=(c|0)){f[n>>2]=c;if(c|0){m=c+8|0;f[m>>2]=(f[m>>2]|0)+1}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)}c=(Pza(f[j>>2]|0,418546,3402823466385288598117041.0e14)|0)&1;b[a+756>>0]=c;c=(Pza(f[j>>2]|0,418569,3402823466385288598117041.0e14)|0)&1;b[a+757>>0]=c;b[a+758>>0]=1;b[a+759>>0]=b[(f[n>>2]|0)+716>>0]|0;c=f[a+360>>2]|0;if(!c){Dxa()|0;c=f[124914]|0}switch(f[c+160>>2]|0){case 1:{c=0;p=36;break}case 2:{c=1;p=36;break}default:{}}if((p|0)==36){b[a+760>>0]=1;b[a+761>>0]=c}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,443753,65)|0;m=_rb(m,(b[a+761>>0]|0)!=0)|0;Drb(r,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(r,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(r);ksb(m,l)|0;Krb(m)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){m=Nu(Hua(4)|0,443819,66)|0;m=_rb(m,(b[a+760>>0]|0)!=0)|0;Drb(r,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);l=utb(r,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(r);ksb(m,l)|0;Krb(m)|0}Dxa()|0;if(b[(f[124914]|0)+212>>0]|0){b[a+128>>0]=1;b[a+129>>0]=1}h=EBb(108)|0;f[h+4>>2]=0;i=h+8|0;f[i>>2]=0;f[h>>2]=342936;f[h+12>>2]=a;c=h+16|0;d=h+104|0;e=h+24|0;g=e+80|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));b[d>>0]=1;d=f[n>>2]|0;f[c>>2]=d;d=d+8|0;f[d>>2]=(f[d>>2]|0)+1;b[h+20>>0]=b[(f[c>>2]|0)+712>>0]|0;c=a+136|0;d=f[c>>2]|0;if(((d|0)!=(h|0)?(f[c>>2]=h,f[i>>2]=(f[i>>2]|0)+1,d|0):0)?(l=d+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(d,1,1);dFa(f[c>>2]|0);f[a+140>>2]=f[c>>2];c=_b(484375)|0;if(!c)c=_b(427855)|0;f[a+772>>2]=c;c=_b(484954)|0;if(!c)c=_b(427880)|0;f[a+776>>2]=c;c=_b(427899)|0;if(!c)c=_b(427917)|0;f[a+792>>2]=c;c=_b(427938)|0;if(!c)c=_b(427962)|0;f[a+796>>2]=c;c=_b(484532)|0;if(!c)c=_b(416172)|0;f[a+800>>2]=c;c=_b(485788)|0;f[a+804>>2]=c;c=_b(416223)|0;if(!c)c=_b(416172)|0;f[a+808>>2]=c;c=_b(484554)|0;if(!c)c=_b(443886)|0;f[a+812>>2]=c;c=_b(418949)|0;if(!c)c=_b(418967)|0;f[a+780>>2]=c;c=_b(483632)|0;f[a+784>>2]=c;c=_b(483703)|0;f[a+788>>2]=c;c=_b(484580)|0;if(!c)c=_b(443915)|0;f[a+816>>2]=c;c=_b(483568)|0;if(!c)c=_b(417877)|0;f[a+820>>2]=c;d=a+824|0;c=_b(484707)|0;do if(!c){c=_b(418689)|0;if(c|0)break;c=_b(418714)|0}while(0);f[d>>2]=c;d=a+828|0;c=_b(484729)|0;do if(!c){c=_b(418739)|0;if(c|0)break;c=_b(418766)|0}while(0);f[d>>2]=c;c=Oh(7938)|0;a:do if(c){d=b[c>>0]|0;if(!(d<<24>>24)){p=85;break}while(1){if((d+-48&255)<10)break;c=c+1|0;d=b[c>>0]|0;if(!(d<<24>>24)){p=85;break a}}if(!(+Oza(c)>=2.0))p=85}else p=85;while(0);if((p|0)==85)Pza(f[j>>2]|0,427989,3402823466385288598117041.0e14)|0;m=a+768|0;Nh(35661,m|0);f[a+764>>2]=f[m>>2];if(b[(f[n>>2]|0)+814>>0]|0){e=Oh(7937)|0;e=(e|0)==0?505031:e;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;g=Rmb(e)|0;if(g>>>0>4294967279)MBb(r);if(g>>>0<11){d=r+11|0;b[d>>0]=g;if(!g)c=r;else{c=r;p=92}}else{d=g+16&-16;c=EBb(d)|0;f[r>>2]=c;f[r+8>>2]=d|-2147483648;f[r+4>>2]=g;d=r+11|0;p=92}if((p|0)==92)YDb(c|0,e|0,g|0)|0;b[c+g>>0]=0;c=b[d>>0]|0;e=c<<24>>24<0;g=e?f[r>>2]|0:r;e=e?f[r+4>>2]|0:c&255;k=g+e|0;l=k;m=g;j=(e|0)<6;b:do if(j)p=115;else{i=g;h=e;while(1){h=h+-5|0;if(!h){p=100;break}h=Ymb(i,82,h)|0;if(!h){p=100;break}if(!(anb(h,420911,6)|0)){p=99;break}i=h+1|0;h=l-i|0;if((h|0)<6){p=100;break}}if((p|0)==99?(h|0)==(k|0)|(h-m|0)==-1:0)p=100;do if((p|0)==100){if(j){p=115;break b}i=g;h=e;do{h=h+-5|0;if(!h)break;o=Ymb(i,82,h)|0;if(!o)break;if(!(anb(o,420918,6)|0)){p=106;break}i=o+1|0;h=l-i|0}while((h|0)>=6);if((p|0)==106?!((o|0)==(k|0)|(o-m|0)==-1):0)break;if((e|0)<7){p=115;break b}while(1){e=e+-6|0;if(!e){p=115;break b}e=Ymb(g,70,e)|0;if(!e){p=115;break b}if(!(anb(e,443945,7)|0))break;g=e+1|0;e=l-g|0;if((e|0)<7){p=115;break b}}if((e|0)==(k|0)|(e-m|0)==-1){p=115;break b}}while(0);f[a+936>>2]=64}while(0);if((p|0)==115){f[q>>2]=0;Fj[f[(f[n>>2]|0)+908>>2]&511](36392,34916,q);f[a+936>>2]=f[q>>2];c=b[d>>0]|0}if(c<<24>>24<0)GBb(f[r>>2]|0)}b[s>>0]=1;do if(f[a+908>>2]|0){r=a+8|0;f[r>>2]=(f[r>>2]|0)+1;ETa(0,0);s=f[r>>2]|0;f[r>>2]=s-1;if((s|0)!=1)break;Rua(a,1,1)}while(0);tj[f[(f[a>>2]|0)+20>>2]&2047](a);u=t;return}function ZSa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=u;u=u+16|0;c=e+8|0;d=e;if(!(f[a+936>>2]|0)){u=e;return}Bj[f[(f[a+832>>2]|0)+956>>2]&1023](36392,d);if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,c|0)|0;g=f[c>>2]|0;g=LDb(g|0,((g|0)<0)<<31>>31|0,1e6,0)|0;h=H;i=f[c+4>>2]|0;i=QDb(i|0,((i|0)<0)<<31>>31|0,1e3,0)|0;h=MDb(i|0,H|0,g|0,h|0)|0;g=497264;f[g>>2]=h;f[g+4>>2]=H}Nb(1,c|0)|0;g=f[c>>2]|0;g=LDb(g|0,((g|0)<0)<<31>>31|0,1e6,0)|0;h=H;c=f[c+4>>2]|0;c=QDb(c|0,((c|0)<0)<<31>>31|0,1e3,0)|0;c=MDb(c|0,H|0,g|0,h|0)|0;h=d;g=f[h>>2]|0;h=f[h+4>>2]|0;i=a+920|0;f[i>>2]=c;f[i+4>>2]=H;i=a+928|0;f[i>>2]=g;f[i+4>>2]=h;u=e;return}function _Sa(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,s=0,t=0,v=0,w=0,x=0,y=0;y=u;u=u+176|0;v=y+156|0;w=y;x=y+144|0;j=a+596|0;c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442534;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=2896;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442546;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16384;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442556;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16385;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442566;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16386;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442576;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16387;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442586;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16388;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442596;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16389;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442606;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16390;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=9;h=w;d=442616;i=h+9|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[w+9>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=16391;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=13;h=c;d=442626;i=h+13|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+13>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=3552;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=13;h=c;d=442640;i=h+13|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+13>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=3553;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=13;h=c;d=442654;i=h+13|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+13>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=32879;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=20;h=c;d=442668;i=h+20|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+20>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=34037;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=25;h=c;d=442689;i=h+25|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+25>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=37120;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=19;h=c;d=442715;i=h+19|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+19>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=35866;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442735;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33984;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442747;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33985;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442759;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33986;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442771;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33987;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442783;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33988;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442795;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33989;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442807;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33990;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=11;h=c;d=442819;i=h+11|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+11>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33991;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=16;h=c;d=442831;i=h+16|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+16>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=3168;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=16;h=c;d=442848;i=h+16|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+16>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=3169;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=16;h=c;d=442865;i=h+16|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+16>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=3170;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=16;h=c;d=442882;i=h+16|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+16>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=3171;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=13;h=c;d=442899;i=h+13|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+13>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=3008;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=14;h=c;d=442913;i=h+14|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+14>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=12288;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=14;h=c;d=442928;i=h+14|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+14>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=12289;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=14;h=c;d=442943;i=h+14|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+14>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=12290;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=14;h=c;d=442958;i=h+14|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+14>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=12291;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=14;h=c;d=442973;i=h+14|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+14>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=12292;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(16)|0;f[w>>2]=c;f[w+8>>2]=-2147483632;f[w+4>>2]=14;h=c;d=442988;i=h+14|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+14>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=12293;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=6;b[w>>0]=b[443003]|0;b[w+1>>0]=b[443004]|0;b[w+2>>0]=b[443005]|0;b[w+3>>0]=b[443006]|0;b[w+4>>0]=b[443007]|0;b[w+5>>0]=b[443008]|0;b[w+6>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=2912;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=17;h=c;d=443010;i=h+17|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+17>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=2903;if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=6;b[w>>0]=b[443028]|0;b[w+1>>0]=b[443029]|0;b[w+2>>0]=b[443030]|0;b[w+3>>0]=b[443031]|0;b[w+4>>0]=b[443032]|0;b[w+5>>0]=b[443033]|0;b[w+6>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=6403;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=5;b[w>>0]=b[443035]|0;b[w+1>>0]=b[443036]|0;b[w+2>>0]=b[443037]|0;b[w+3>>0]=b[443038]|0;b[w+4>>0]=b[443039]|0;b[w+5>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=33319;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=6;b[w>>0]=b[443041]|0;b[w+1>>0]=b[443042]|0;b[w+2>>0]=b[443043]|0;b[w+3>>0]=b[443044]|0;b[w+4>>0]=b[443045]|0;b[w+5>>0]=b[443046]|0;b[w+6>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=6407;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w+8>>2]=0;g=w+11|0;b[g>>0]=7;b[w>>0]=b[443048]|0;b[w+1>>0]=b[443049]|0;b[w+2>>0]=b[443050]|0;b[w+3>>0]=b[443051]|0;b[w+4>>0]=b[443052]|0;b[w+5>>0]=b[443053]|0;b[w+6>>0]=b[443054]|0;b[w+7>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=6408;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;g=w+11|0;b[g>>0]=8;e=w;f[e>>2]=1096764487;f[e+4>>2]=1095258188;b[w+8>>0]=0;e=HQa(j,v,w)|0;c=f[e>>2]|0;if(!c){c=EBb(32)|0;d=c+16|0;f[d>>2]=f[w>>2];f[d+4>>2]=f[w+4>>2];f[d+8>>2]=f[w+8>>2];f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[c+28>>2]=0;d=f[v>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[j>>2]>>2]|0;if(!d)d=c;else{f[j>>2]=d;d=f[e>>2]|0}Xo(f[a+600>>2]|0,d);t=a+604|0;f[t>>2]=(f[t>>2]|0)+1}f[c+28>>2]=6406;if((b[g>>0]|0)<0)GBb(f[w>>2]|0);r=w+64|0;t=w+8|0;f[t>>2]=323408;s=w+12|0;f[w>>2]=285412;f[r>>2]=285432;f[w+4>>2]=0;Brb(w+64|0,s);f[w+136>>2]=0;f[w+140>>2]=-1;f[w>>2]=323388;f[r>>2]=323428;f[t>>2]=323408;Hrb(s);f[s>>2]=304196;t=w+44|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;f[t+12>>2]=0;f[w+60>>2]=24;e=EBb(72)|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;c=EBb(32)|0;f[v>>2]=c;f[v+8>>2]=-2147483616;f[v+4>>2]=17;h=c;d=443056;i=h+17|0;do{b[h>>0]=b[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(i|0));b[c+17>>0]=0;$Sa(e,v);f[e>>2]=349840;d=e+60|0;f[d>>2]=0;c=e+64|0;f[c>>2]=0;i=e+68|0;f[i>>2]=0;h=EBb(64)|0;f[d>>2]=h;d=h+64|0;f[i>>2]=d;i=h+64|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));f[c>>2]=d;c=a+752|0;d=f[c>>2]|0;do if((d|0)!=(e|0)){f[c>>2]=e;q=e+8|0;f[q>>2]=(f[q>>2]|0)+1;if(!d)break;p=d+8|0;q=f[p>>2]|0;f[p>>2]=q-1;if((q|0)!=1)break;Rua(d,1,1)}while(0);if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);q=a+608|0;h=a+612|0;c=f[h>>2]|0;g=f[q>>2]|0;d=c-g|0;e=(d|0)/12|0;do if(e>>>0<16)bTa(q,16-e|0);else{if((d|0)==192)break;d=g+192|0;if((d|0)!=(c|0))do{p=c;c=c+-12|0;EQa(c,f[p+-8>>2]|0)}while((c|0)!=(d|0));f[h>>2]=d}while(0);j=v+11|0;a=w+8|0;k=v+11|0;l=v+11|0;m=v+11|0;n=v+11|0;o=v+11|0;p=0;do{f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;Nr(s,v);if((b[j>>0]|0)<0)GBb(f[v>>2]|0);Nu(a,443074,28)|0;csb(a,p)|0;Nu(a,443103,22)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443128,25)|0;csb(a,p)|0;Nu(a,443154,9)|0;csb(a,p)|0;Nu(a,443164,19)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443184,28)|0;csb(a,p)|0;Nu(a,443213,26)|0;csb(a,p)|0;Nu(a,443240,23)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443264,24)|0;csb(a,p)|0;Nu(a,443289,21)|0;csb(a,p)|0;Nu(a,443311,10)|0;csb(a,p)|0;Nu(a,443322,3)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;KX(x,s);i=f[q>>2]|0;h=i+(p*12|0)|0;d=i+(p*12|0)+4|0;c=f[d>>2]|0;do if(c){e=i+(p*12|0)+4|0;while(1){d=f[c+16>>2]|0;if(d>>>0>3552){d=f[c>>2]|0;if(!d){d=270;break}else{e=c;c=d}}else{if((d|0)==3552){d=274;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=273;break}else c=d}}if((d|0)==270){g=c;e=c;break}else if((d|0)==273){g=c;break}else if((d|0)==274){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(!c){c=EBb(32)|0;f[c+16>>2]=3552;d=c+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;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)d=c;else{f[h>>2]=d;d=f[e>>2]|0}Xo(f[i+(p*12|0)+4>>2]|0,d);i=i+(p*12|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}d=c+20|0;e=d+11|0;if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[c+24>>2]=0}else{b[d>>0]=0;b[e>>0]=0}YBb(d,0);f[d>>2]=f[x>>2];f[d+4>>2]=f[x+4>>2];f[d+8>>2]=f[x+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;Nr(s,v);if((b[k>>0]|0)<0)GBb(f[v>>2]|0);Nu(a,443074,28)|0;csb(a,p)|0;Nu(a,443103,22)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443128,25)|0;csb(a,p)|0;Nu(a,443154,9)|0;csb(a,p)|0;Nu(a,443164,19)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443184,28)|0;csb(a,p)|0;Nu(a,443326,26)|0;csb(a,p)|0;Nu(a,443240,23)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443264,24)|0;csb(a,p)|0;Nu(a,443353,21)|0;csb(a,p)|0;Nu(a,443311,10)|0;csb(a,p)|0;Nu(a,443375,4)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;KX(x,s);i=f[q>>2]|0;h=i+(p*12|0)|0;d=i+(p*12|0)+4|0;c=f[d>>2]|0;do if(c){e=i+(p*12|0)+4|0;while(1){d=f[c+16>>2]|0;if(d>>>0>3553){d=f[c>>2]|0;if(!d){d=290;break}else{e=c;c=d}}else{if((d|0)==3553){d=294;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=293;break}else c=d}}if((d|0)==290){g=c;e=c;break}else if((d|0)==293){g=c;break}else if((d|0)==294){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(!c){c=EBb(32)|0;f[c+16>>2]=3553;d=c+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;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)d=c;else{f[h>>2]=d;d=f[e>>2]|0}Xo(f[i+(p*12|0)+4>>2]|0,d);i=i+(p*12|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}d=c+20|0;e=d+11|0;if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[c+24>>2]=0}else{b[d>>0]=0;b[e>>0]=0}YBb(d,0);f[d>>2]=f[x>>2];f[d+4>>2]=f[x+4>>2];f[d+8>>2]=f[x+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;Nr(s,v);if((b[l>>0]|0)<0)GBb(f[v>>2]|0);Nu(a,443074,28)|0;csb(a,p)|0;Nu(a,443103,22)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443128,25)|0;csb(a,p)|0;Nu(a,443154,9)|0;csb(a,p)|0;Nu(a,443164,19)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443184,28)|0;csb(a,p)|0;Nu(a,443380,33)|0;csb(a,p)|0;Nu(a,443240,23)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443264,24)|0;csb(a,p)|0;Nu(a,443414,28)|0;csb(a,p)|0;Nu(a,443311,10)|0;csb(a,p)|0;Nu(a,443375,4)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;KX(x,s);i=f[q>>2]|0;h=i+(p*12|0)|0;d=i+(p*12|0)+4|0;c=f[d>>2]|0;do if(c){e=i+(p*12|0)+4|0;while(1){d=f[c+16>>2]|0;if(d>>>0>34037){d=f[c>>2]|0;if(!d){d=310;break}else{e=c;c=d}}else{if((d|0)==34037){d=314;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=313;break}else c=d}}if((d|0)==310){g=c;e=c;break}else if((d|0)==313){g=c;break}else if((d|0)==314){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(!c){c=EBb(32)|0;f[c+16>>2]=34037;d=c+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;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)d=c;else{f[h>>2]=d;d=f[e>>2]|0}Xo(f[i+(p*12|0)+4>>2]|0,d);i=i+(p*12|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}d=c+20|0;e=d+11|0;if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[c+24>>2]=0}else{b[d>>0]=0;b[e>>0]=0}YBb(d,0);f[d>>2]=f[x>>2];f[d+4>>2]=f[x+4>>2];f[d+8>>2]=f[x+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;Nr(s,v);if((b[m>>0]|0)<0)GBb(f[v>>2]|0);Nu(a,443074,28)|0;csb(a,p)|0;Nu(a,443103,22)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443128,25)|0;csb(a,p)|0;Nu(a,443154,9)|0;csb(a,p)|0;Nu(a,443164,19)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443184,28)|0;csb(a,p)|0;Nu(a,443443,26)|0;csb(a,p)|0;Nu(a,443240,23)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443264,24)|0;csb(a,p)|0;Nu(a,443470,21)|0;csb(a,p)|0;Nu(a,443311,10)|0;csb(a,p)|0;Nu(a,443492,5)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;KX(x,s);i=f[q>>2]|0;h=i+(p*12|0)|0;d=i+(p*12|0)+4|0;c=f[d>>2]|0;do if(c){e=i+(p*12|0)+4|0;while(1){d=f[c+16>>2]|0;if(d>>>0>32879){d=f[c>>2]|0;if(!d){d=330;break}else{e=c;c=d}}else{if((d|0)==32879){d=334;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=333;break}else c=d}}if((d|0)==330){g=c;e=c;break}else if((d|0)==333){g=c;break}else if((d|0)==334){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(!c){c=EBb(32)|0;f[c+16>>2]=32879;d=c+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;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)d=c;else{f[h>>2]=d;d=f[e>>2]|0}Xo(f[i+(p*12|0)+4>>2]|0,d);i=i+(p*12|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}d=c+20|0;e=d+11|0;if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[c+24>>2]=0}else{b[d>>0]=0;b[e>>0]=0}YBb(d,0);f[d>>2]=f[x>>2];f[d+4>>2]=f[x+4>>2];f[d+8>>2]=f[x+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;Nr(s,v);if((b[n>>0]|0)<0)GBb(f[v>>2]|0);Nu(a,443074,28)|0;csb(a,p)|0;Nu(a,443103,22)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443128,25)|0;csb(a,p)|0;Nu(a,443154,9)|0;csb(a,p)|0;Nu(a,443164,19)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443184,28)|0;csb(a,p)|0;Nu(a,443498,31)|0;csb(a,p)|0;Nu(a,443240,23)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443264,24)|0;csb(a,p)|0;Nu(a,443530,26)|0;csb(a,p)|0;Nu(a,443311,10)|0;csb(a,p)|0;Nu(a,443492,5)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;KX(x,s);i=f[q>>2]|0;h=i+(p*12|0)|0;d=i+(p*12|0)+4|0;c=f[d>>2]|0;do if(c){e=i+(p*12|0)+4|0;while(1){d=f[c+16>>2]|0;if(d>>>0>34067){d=f[c>>2]|0;if(!d){d=350;break}else{e=c;c=d}}else{if((d|0)==34067){d=354;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=353;break}else c=d}}if((d|0)==350){g=c;e=c;break}else if((d|0)==353){g=c;break}else if((d|0)==354){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(!c){c=EBb(32)|0;f[c+16>>2]=34067;d=c+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;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)d=c;else{f[h>>2]=d;d=f[e>>2]|0}Xo(f[i+(p*12|0)+4>>2]|0,d);i=i+(p*12|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}d=c+20|0;e=d+11|0;if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[c+24>>2]=0}else{b[d>>0]=0;b[e>>0]=0}YBb(d,0);f[d>>2]=f[x>>2];f[d+4>>2]=f[x+4>>2];f[d+8>>2]=f[x+8>>2];f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;Nr(s,v);if((b[o>>0]|0)<0)GBb(f[v>>2]|0);Nu(a,443074,28)|0;csb(a,p)|0;Nu(a,443103,22)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443128,25)|0;csb(a,p)|0;Nu(a,443154,9)|0;csb(a,p)|0;Nu(a,443164,19)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443184,28)|0;csb(a,p)|0;Nu(a,443557,31)|0;csb(a,p)|0;Nu(a,443240,23)|0;csb(a,p)|0;Nu(a,443126,1)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;Nu(a,443264,24)|0;csb(a,p)|0;Nu(a,443589,26)|0;csb(a,p)|0;Nu(a,443311,10)|0;csb(a,p)|0;Nu(a,443492,5)|0;Drb(v,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(v,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(v);ksb(a,i)|0;Krb(a)|0;KX(x,s);i=f[q>>2]|0;h=i+(p*12|0)|0;d=i+(p*12|0)+4|0;c=f[d>>2]|0;do if(c){e=i+(p*12|0)+4|0;while(1){d=f[c+16>>2]|0;if(d>>>0>35866){d=f[c>>2]|0;if(!d){d=370;break}else{e=c;c=d}}else{if((d|0)==35866){d=374;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=373;break}else c=d}}if((d|0)==370){g=c;e=c;break}else if((d|0)==373){g=c;break}else if((d|0)==374){g=c;break}}else{g=d;e=d}while(0);c=f[e>>2]|0;if(!c){c=EBb(32)|0;f[c+16>>2]=35866;d=c+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;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)d=c;else{f[h>>2]=d;d=f[e>>2]|0}Xo(f[i+(p*12|0)+4>>2]|0,d);i=i+(p*12|0)+8|0;f[i>>2]=(f[i>>2]|0)+1}d=c+20|0;e=d+11|0;if((b[e>>0]|0)<0){b[f[d>>2]>>0]=0;f[c+24>>2]=0}else{b[d>>0]=0;b[e>>0]=0}YBb(d,0);f[d>>2]=f[x>>2];f[d+4>>2]=f[x+4>>2];f[d+8>>2]=f[x+8>>2];p=p+1|0}while(p>>>0<16);f[w>>2]=323388;f[r>>2]=323428;f[a>>2]=323408;f[s>>2]=304196;if((b[t+11>>0]|0)>=0){qqb(s);yrb(w,323440);kqb(r);u=y;return}GBb(f[t>>2]|0);qqb(s);yrb(w,323440);kqb(r);u=y;return}function $Sa(a,b){a=a|0;b=b|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=350024;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+44>>2]=-1;f[a+48>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;kTa(a,b);return}function aTa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=350024;b=a+56|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-16>>2]|0)|0,g=d+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+52|0;c=f[b>>2]|0;if(c|0?(e=c+(f[(f[c>>2]|0)+-16>>2]|0)|0,d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);f[b>>2]=0;b=f[a+32>>2]|0;if(!b){Gva(a);return}f[a+36>>2]=b;GBb(b);Gva(a);return}function bTa(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+8|0;e=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;if(((e-c|0)/12|0)>>>0>=b>>>0){do{f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;c=(f[m>>2]|0)+12|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}d=f[a>>2]|0;g=(c-d|0)/12|0;h=g+b|0;if(h>>>0>357913941)DCb(a);k=(e-d|0)/12|0;c=k<<1;c=k>>>0<178956970?(c>>>0<h>>>0?h:c):357913941;do if(c)if(c>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{e=EBb(c*12|0)|0;break}else e=0;while(0);g=e+(g*12|0)|0;d=e+(c*12|0)|0;c=g;while(1){f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;b=b+-1|0;if(!b)break;else c=c+12|0}k=e+(h*12|0)|0;j=f[a>>2]|0;c=f[m>>2]|0;if((c|0)==(j|0)){b=g;e=j;c=j}else{b=g;do{i=b;b=b+-12|0;e=c;c=c+-12|0;f[b>>2]=f[c>>2];g=f[e+-8>>2]|0;f[i+-8>>2]=g;h=e+-4|0;n=f[h>>2]|0;f[i+-4>>2]=n;i=i+-8|0;if(!n)f[b>>2]=i;else{f[g+8>>2]=i;n=e+-8|0;f[c>>2]=n;f[n>>2]=0;f[h>>2]=0}}while((c|0)!=(j|0));e=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=b;f[m>>2]=k;f[l>>2]=d;b=e;if((c|0)!=(b|0))do{n=c;c=c+-12|0;EQa(c,f[n+-8>>2]|0)}while((c|0)!=(b|0));if(!e)return;GBb(e);return}function cTa(a){a=a|0;aTa(a);GBb(a);return}function dTa(a){a=a|0;var b=0;a=EBb(60)|0;f[a+4>>2]=0;f[a+8>>2]=0;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]=350024;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+44>>2]=-1;f[a+48>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;return a|0}function eTa(a,b){a=a|0;b=b|0;var c=0;c=EBb(60)|0;tTa(c,a,b);return c|0}function fTa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298136,0)|0)!=0;return b|0}function gTa(a){a=a|0;return 409756}function hTa(a){a=a|0;return 443679}function iTa(a){a=a|0;return a|0}function jTa(a){a=a|0;return a|0}function kTa(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+32|0;n=o+12|0;l=o;m=a+12|0;e=b[m+11>>0]|0;k=e<<24>>24<0;e=e&255;i=k?f[a+16>>2]|0:e;j=b[c+11>>0]|0;d=j<<24>>24<0;a:do if((i|0)==((d?f[c+4>>2]|0:j&255)|0)){h=f[m>>2]|0;j=k?h:m;d=d?f[c>>2]|0:c;g=(i|0)==0;h=h&255;if(k){if(g){u=o;return}if(anb(j,d,i)|0)break;u=o;return}if(g){u=o;return}if((b[d>>0]|0)==h<<24>>24){g=m;while(1){e=e+-1|0;g=g+1|0;if(!e)break;d=d+1|0;if((b[g>>0]|0)!=(b[d>>0]|0))break a}u=o;return}}while(0);OBb(n,m);UBb(m,c)|0;f[l>>2]=0;j=l+4|0;f[j>>2]=0;d=l+8|0;f[d>>2]=0;g=f[a+32>>2]|0;h=(f[a+36>>2]|0)-g|0;i=h>>2;if(h|0){if(i>>>0>1073741823)DCb(l);e=EBb(h)|0;f[j>>2]=e;f[l>>2]=e;f[d>>2]=e+(i<<2);if((h|0)>0?(c=e+(h>>>2<<2)|0,YDb(e|0,g|0,h|0)|0,f[j>>2]=c,(c|0)!=(e|0)):0)do{g=f[e>>2]|0;d=oTa(g+92|0,n)|0;if((d|0)==(g+96|0))d=1;else d=f[d+32>>2]|0;pTa(g,a,d);qTa(g,n);e=e+4|0}while((e|0)!=(f[j>>2]|0))}d=zQa(m)|0;f[a+44>>2]=d;d=f[l>>2]|0;if(d|0){f[j>>2]=d;GBb(d)}if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);u=o;return}function lTa(a,b){a=a|0;b=b|0;return 0}function mTa(a,b){a=a|0;b=b|0;return 0}function nTa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}d=Nu(Hua(3)|0,443616,62)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function oTa(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<h>>>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<l>>>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<l>>>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 pTa(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,t=0,v=0,w=0;w=u;u=u+32|0;e=w+8|0;h=w;if(!b){u=w;return}i=b+12|0;j=a+92|0;p=rTa(j,i)|0;if((p|0)==(a+96|0)){f[h>>2]=i;GBa(e,j,i,505019,h,w+16|0);e=f[e>>2]|0;h=e+28|0;i=f[h>>2]|0;if(((i|0)!=(b|0)?(f[h>>2]=b,p=b+8|0,f[p>>2]=(f[p>>2]|0)+1,i|0):0)?(o=i+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(i,1,1);f[e+32>>2]=c&6;HBa(b,a);e=(f[b+56>>2]|0)!=0&1;if(f[b+52>>2]|0){h=1;q=27}}else{n=p+28|0;e=f[n>>2]|0;if((e|0)==(b|0)){f[p+32>>2]=c&6;u=w;return}l=zwa()|0;m=(l|0)==0;if(!m)_i[f[(f[l>>2]|0)+8>>2]&2047](l)|0;h=f[e+32>>2]|0;k=e+36|0;i=f[k>>2]|0;j=i;a:do if((h|0)==(i|0)){o=h;q=16}else{e=h;do{if((f[e>>2]|0)==(a|0)){o=e;q=16;break a}e=e+4|0}while((e|0)!=(i|0))}while(0);if((q|0)==16?(o|0)!=(i|0):0){h=o+4|0;e=j-h|0;if(e|0)ZDb(o|0,h|0,e|0)|0;f[k>>2]=o+(e>>2<<2)}if(!m)_i[f[(f[l>>2]|0)+12>>2]&2047](l)|0;i=f[n>>2]|0;h=((f[i+52>>2]|0)!=0)<<31>>31;i=((f[i+56>>2]|0)!=0)<<31>>31;HBa(b,a);e=f[n>>2]|0;if(((e|0)!=(b|0)?(f[n>>2]=b,b=b+8|0,f[b>>2]=(f[b>>2]|0)+1,e|0):0)?(o=e+8|0,b=f[o>>2]|0,f[o>>2]=b-1,(b|0)==1):0)Rua(e,1,1);e=f[n>>2]|0;h=((f[e+52>>2]|0)!=0&1)+h|0;e=((f[e+56>>2]|0)!=0&1)+i|0;f[p+32>>2]=c&6;if(h)q=27}if((q|0)==27){j=a+148|0;i=f[j>>2]|0;h=i+h|0;if(((f[a+144>>2]|0)==0?(g=f[a+32>>2]|0,s=a+36|0,(g|0)!=(f[s>>2]|0)):0)?(r=((h|0)!=0&1)+(((i|0)!=0)<<31>>31)|0,r|0):0)do{q=f[g>>2]|0;Bwa(q,(f[q+88>>2]|0)+r|0);g=g+4|0}while((g|0)!=(f[s>>2]|0));f[j>>2]=h}if(!e){u=w;return}h=a+156|0;g=f[h>>2]|0;e=g+e|0;if(((f[a+152>>2]|0)==0?(d=f[a+32>>2]|0,v=a+36|0,(d|0)!=(f[v>>2]|0)):0)?(t=((e|0)!=0&1)+(((g|0)!=0)<<31>>31)|0,t|0):0)do{a=f[d>>2]|0;Cwa(a,(f[a+96>>2]|0)+t|0);d=d+4|0}while((d|0)!=(f[v>>2]|0));f[h>>2]=e;u=w;return}function qTa(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;t=u;u=u+16|0;p=t+4|0;r=t;s=a+92|0;b=rTa(s,b)|0;o=b;if((b|0)==(a+96|0)){u=t;return}j=b+28|0;b=f[j>>2]|0;if(f[b+52>>2]|0){d=a+148|0;c=f[d>>2]|0;e=c+-1|0;if(((f[a+144>>2]|0)==0?(g=f[a+32>>2]|0,i=a+36|0,(g|0)!=(f[i>>2]|0)):0)?(h=((e|0)!=0&1)+(((c|0)!=0)<<31>>31)|0,(h|0)!=0):0){b=g;do{g=f[b>>2]|0;Bwa(g,(f[g+88>>2]|0)+h|0);b=b+4|0}while((b|0)!=(f[i>>2]|0));b=f[j>>2]|0}f[d>>2]=e}if(f[b+56>>2]|0){d=a+156|0;c=f[d>>2]|0;e=c+-1|0;if(((f[a+152>>2]|0)==0?(k=f[a+32>>2]|0,m=a+36|0,(k|0)!=(f[m>>2]|0)):0)?(l=((e|0)!=0&1)+(((c|0)!=0)<<31>>31)|0,(l|0)!=0):0){b=k;do{k=f[b>>2]|0;Cwa(k,(f[k+96>>2]|0)+l|0);b=b+4|0}while((b|0)!=(f[m>>2]|0));b=f[j>>2]|0}f[d>>2]=e}h=zwa()|0;i=(h|0)==0;if(!i)_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;c=f[b+32>>2]|0;g=b+36|0;d=f[g>>2]|0;e=d;a:do if((c|0)==(d|0)){q=c;n=24}else{b=c;do{if((f[b>>2]|0)==(a|0)){q=b;n=24;break a}b=b+4|0}while((b|0)!=(d|0))}while(0);if((n|0)==24?(q|0)!=(d|0):0){c=q+4|0;b=e-c|0;if(b|0)ZDb(q|0,c|0,b|0)|0;f[g>>2]=q+(b>>2<<2)}if(!i)_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;f[r>>2]=o;f[p>>2]=f[r>>2];sTa(s,p)|0;u=t;return}function rTa(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<h>>>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<l>>>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<l>>>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 sTa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;g=f[c>>2]|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{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((f[a>>2]|0)==(g|0))f[a>>2]=c;d=a+8|0;f[d>>2]=(f[d>>2]|0)+-1;Zq(f[a+4>>2]|0,g);d=g+16|0;a=g+28|0;e=f[a>>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);f[a>>2]=0;if((b[d+11>>0]|0)>=0){GBb(g);return c|0}GBb(f[d>>2]|0);GBb(g);return c|0}function tTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Fva(a,b,c);f[a>>2]=350024;f[a+32>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+44>>2]=f[b+44>>2];f[a+48>>2]=0;d=cj[f[(f[c>>2]|0)+68>>2]&1023](c,f[b+52>>2]|0)|0;f[a+52>>2]=d;if(d|0){d=d+(f[(f[d>>2]|0)+-16>>2]|0)+8|0;f[d>>2]=(f[d>>2]|0)+1}b=cj[f[(f[c>>2]|0)+68>>2]&1023](c,f[b+56>>2]|0)|0;f[a+56>>2]=b;if(!b)return;a=b+(f[(f[b>>2]|0)+-16>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;return}function uTa(a){a=a|0;var b=0;f[a>>2]=349840;b=f[a+60>>2]|0;if(b|0){f[a+64>>2]=b;GBb(b)}aTa(a);return}function vTa(a){a=a|0;var b=0;f[a>>2]=349840;b=f[a+60>>2]|0;if(b|0){f[a+64>>2]=b;GBb(b)}aTa(a);GBb(a);return}function wTa(a){a=a|0;var b=0;a=EBb(72)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[b+12>>2]=0;f[a+44>>2]=-1;f[a+48>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[a>>2]=349840;f[a+60>>2]=0;f[a+64>>2]=0;f[a+68>>2]=0;return a|0}function xTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;g=j;i=EBb(72)|0;f[g>>2]=346256;f[g+4>>2]=f[b+4>>2];tTa(i,a,g);f[i>>2]=349840;g=i+60|0;f[g>>2]=0;h=i+64|0;f[h>>2]=0;d=i+68|0;f[d>>2]=0;e=f[a+60>>2]|0;b=(f[a+64>>2]|0)-e|0;a=b>>2;if(!b){u=j;return i|0}if(a>>>0>1073741823)DCb(g);c=EBb(b)|0;f[h>>2]=c;f[g>>2]=c;f[d>>2]=c+(a<<2);if((b|0)<=0){u=j;return i|0}YDb(c|0,e|0,b|0)|0;f[h>>2]=c+(b>>>2<<2);u=j;return i|0}function yTa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298664,0)|0)!=0;return b|0}function zTa(a){a=a|0;return 409756}function ATa(a){a=a|0;return 443691}function BTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=f[a+60>>2]|0;a=f[a+64>>2]|0;if((d|0)==(a|0))return;Fj[f[b+228>>2]&511](c,a-d>>2,d);return}function CTa(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;j=u;u=u+16|0;i=j;d=FTa(c,i,d)|0;e=f[d>>2]|0;if(e|0){c=e;g=0;f[a>>2]=c;c=a+4|0;b[c>>0]=g;u=j;return}h=EBb(44)|0;OBb(h+16|0,f[g>>2]|0);b[h+28>>0]=0;f[h+32>>2]=0;f[h+36>>2]=0;f[h+40>>2]=0;e=f[i>>2]|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=e;f[d>>2]=h;e=f[f[c>>2]>>2]|0;if(!e)e=h;else{f[c>>2]=e;e=f[d>>2]|0}Xo(f[c+4>>2]|0,e);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=h;g=1;f[a>>2]=c;c=a+4|0;b[c>>0]=g;u=j;return}function DTa(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;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<e>>>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{i=EBb(d<<4)|0;break}else i=0;while(0);e=i+(h<<4)|0;k=i+(d<<4)|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[i+(h<<4)+12>>2]=f[c+12>>2];j=e+16|0;d=f[a>>2]|0;g=d;c=f[l>>2]|0;if((c|0)==(d|0))c=g;else{g=h+-1-((c+-16-g|0)>>>4)|0;do{h=e;e=e+-16|0;n=c;c=c+-16|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[h+-4>>2]=f[n+-4>>2]}while((c|0)!=(d|0));e=i+(g<<4)|0;c=f[a>>2]|0;d=f[l>>2]|0}f[a>>2]=e;f[l>>2]=j;f[m>>2]=k;e=c;if((d|0)!=(e|0))do{d=d+-16|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));if(!c)return;GBb(c);return}function ETa(a,c){a=a|0;c=c|0;var d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=c;return}d=Nu(Hua(4)|0,443953,36)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function FTa(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<m>>>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 GTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;c=f[124916]|0;d=f[124915]|0;e=c-d>>2;do if(e>>>0<=a>>>0){g=a+1|0;if(g>>>0>e>>>0){Mza(499660,g-e|0);break}if(g>>>0<e>>>0){e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>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[c>>2]=0}while((c|0)!=(e|0));f[124916]=e}}while(0);c=(f[124915]|0)+(a<<2)|0;d=f[c>>2]|0;if((d|0)==(b|0))return;f[c>>2]=b;if(b|0){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}if(!d)return;b=d+8|0;h=f[b>>2]|0;f[b>>2]=h-1;if((h|0)!=1)return;Rua(d,1,1);return}function HTa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;if(!c)return;HTa(a,f[c>>2]|0);HTa(a,f[c+4>>2]|0);g=c+16|0;d=c+32|0;h=f[d>>2]|0;if(h|0){e=c+36|0;a=f[e>>2]|0;if((a|0)==(h|0))a=h;else{do{a=a+-16|0;if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0)}while((a|0)!=(h|0));a=f[d>>2]|0}f[e>>2]=h;GBb(a)}if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);GBb(c);return}function ITa(a,c){a=a|0;c=c|0;var d=0;if(!c)return;ITa(a,f[c>>2]|0);ITa(a,f[c+4>>2]|0);a=c+16|0;d=f[c+28>>2]|0;if(d|0){f[c+32>>2]=d;GBb(d)}if((b[a+11>>0]|0)<0)GBb(f[a>>2]|0);GBb(c);return}function JTa(a){a=a|0;oAa(a,f[a+4>>2]|0);return}function KTa(a){a=a|0;Kva(a);return}function LTa(a){a=a|0;Kva(a);GBb(a);return}function MTa(a){a=a|0;var b=0;a=EBb(84)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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;f[a>>2]=350208;f[a+56>>2]=519;f[a+60>>2]=0;f[a+64>>2]=-1;f[a+68>>2]=7680;f[a+72>>2]=7680;f[a+76>>2]=7680;f[a+80>>2]=-1;return a|0}function NTa(a,b){a=a|0;b=b|0;var c=0;c=EBb(84)|0;Jva(c,a,b);f[c>>2]=350208;f[c+56>>2]=f[a+56>>2];f[c+60>>2]=f[a+60>>2];f[c+64>>2]=f[a+64>>2];f[c+68>>2]=f[a+68>>2];f[c+72>>2]=f[a+72>>2];f[c+76>>2]=f[a+76>>2];f[c+80>>2]=f[a+80>>2];return c|0}function OTa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298680,0)|0)!=0;return b|0}function PTa(a){a=a|0;return 409756}function QTa(a){a=a|0;return 444003}function RTa(a){a=a|0;return 24}function STa(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==(b|0)){b=0;return b|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;d=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if((c|0)!=(d|0)){b=1;return b|0}c=f[a+56>>2]|0;d=f[b+56>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}c=f[a+60>>2]|0;d=f[b+60>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}c=f[a+64>>2]|0;d=f[b+64>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if(d>>>0<c>>>0){b=1;return b|0}c=f[a+68>>2]|0;d=f[b+68>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}c=f[a+72>>2]|0;d=f[b+72>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}c=f[a+76>>2]|0;d=f[b+76>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}else{a=f[a+80>>2]|0;b=f[b+80>>2]|0;return (a>>>0<b>>>0?-1:b>>>0<a>>>0&1)|0}return 0}function TTa(a,b){a=a|0;b=b|0;Bj[f[(f[b>>2]|0)+8>>2]&1023](b,2960);return 1}function UTa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=f[c+832>>2]|0;c=f[a+68>>2]|0;if((c+-34055|0)>>>0<=1)c=(b[g+1228>>0]|0)==0?((c|0)==34055?7682:7683):c;d=f[a+72>>2]|0;if((d+-34055|0)>>>0<=1)d=(b[g+1228>>0]|0)==0?((d|0)==34055?7682:7683):d;e=f[a+76>>2]|0;if((e+-34055|0)>>>0<=1)e=(b[g+1228>>0]|0)==0?((e|0)==34055?7682:7683):e;Th(f[a+56>>2]|0,f[a+60>>2]|0,f[a+64>>2]|0);Vh(c|0,d|0,e|0);Uh(f[a+80>>2]|0);return}function VTa(a){a=a|0;return f[a+56>>2]|0}function WTa(a,b){a=a|0;b=b|0;var c=0;c=a+56|0;if((f[c>>2]|0)==(b|0))return;f[c>>2]=b;tj[f[(f[a>>2]|0)+208>>2]&2047](a);return}function XTa(a){a=a|0;Kva(a);return}function YTa(a){a=a|0;Kva(a);GBb(a);return}function ZTa(a){a=a|0;var c=0;a=EBb(192)|0;f[a+4>>2]=0;f[a+8>>2]=0;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[c+24>>2]=0;f[a>>2]=350420;f3a(a+56|0);b[a+184>>0]=0;return a|0}function _Ta(a,c){a=a|0;c=c|0;var d=0;d=EBb(192)|0;Jva(d,a,c);f[d>>2]=350420;p[d+56>>3]=+p[a+56>>3];p[d+64>>3]=+p[a+64>>3];p[d+72>>3]=+p[a+72>>3];p[d+80>>3]=+p[a+80>>3];p[d+88>>3]=+p[a+88>>3];p[d+96>>3]=+p[a+96>>3];p[d+104>>3]=+p[a+104>>3];p[d+112>>3]=+p[a+112>>3];p[d+120>>3]=+p[a+120>>3];p[d+128>>3]=+p[a+128>>3];p[d+136>>3]=+p[a+136>>3];p[d+144>>3]=+p[a+144>>3];p[d+152>>3]=+p[a+152>>3];p[d+160>>3]=+p[a+160>>3];p[d+168>>3]=+p[a+168>>3];p[d+176>>3]=+p[a+176>>3];b[d+184>>0]=b[a+184>>0]|0;return d|0}function $Ta(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298696,0)|0)!=0;return b|0}function aUa(a){a=a|0;return 409756}function bUa(a){a=a|0;return 444074}function cUa(a){a=a|0;return 19}function dUa(a){a=a|0;return 1}function eUa(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==(b|0)){b=0;return b|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;d=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if((c|0)!=(d|0)){b=1;return b|0}c=a+56|0;a=b+56|0;if((b3a(c,a)|0)<0){b=-1;return b|0}b=(b3a(a,c)|0)>>>31;return b|0}function fUa(a,c){a=a|0;c=c|0;var d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}d=Nu(Hua(3)|0,444026,47)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function gUa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;f[a>>2]=350632;e=a+80|0;b=a+88|0;if(f[b>>2]|0?(c=f[a+84>>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[b>>2]=0,(c|0)!=(e|0)):0)do{b=c;c=f[c+4>>2]|0;d=f[b+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(b)}while((c|0)!=(e|0));e=a+68|0;b=a+76|0;if(!(f[b>>2]|0)){h=a+12|0;R3a(h);Uua(a);return}c=f[a+72>>2]|0;h=(f[e>>2]|0)+4|0;g=f[c>>2]|0;f[g+4>>2]=f[h>>2];f[f[h>>2]>>2]=g;f[b>>2]=0;if((c|0)==(e|0)){h=a+12|0;R3a(h);Uua(a);return}do{b=c;c=f[c+4>>2]|0;d=f[b+8>>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);GBb(b)}while((c|0)!=(e|0));h=a+12|0;R3a(h);Uua(a);return}function hUa(a){a=a|0;gUa(a);GBb(a);return}function iUa(a){a=a|0;f[a>>2]=350652;xUa(a+44|0,f[a+48>>2]|0);iza(a);return}function jUa(a){a=a|0;f[a>>2]=350652;xUa(a+44|0,f[a+48>>2]|0);iza(a);GBb(a);return}function kUa(a,b){a=a|0;b=b|0;if(!b){b=a+56|0;f[b>>2]=(f[b>>2]|0)+1}else f[a+56>>2]=f[b+12>>2];b=a+60|0;f[b>>2]=(f[b>>2]|0)+1;return}function lUa(a){a=a|0;f[a+60>>2]=0;f[a+64>>2]=0;p[a+72>>3]=0.0;f[a+80>>2]=0;p[a+88>>3]=0.0;return}function mUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0.0;c=u;u=u+16|0;g=c;h=f[a+60>>2]|0;i=(h|0)==0?1.0:+(h>>>0);h=Nu(b,444388,36)|0;Drb(g,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);e=utb(g,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(g);ksb(h,e)|0;Krb(h)|0;h=Nu(b,444425,30)|0;h=Nu(csb(h,f[a+28>>2]|0)|0,444456,29)|0;h=Nu(csb(h,f[a+32>>2]|0)|0,444486,22)|0;e=a+36|0;h=csb(h,f[e>>2]|0)|0;Drb(g,h+(f[(f[h>>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(h,d)|0;Krb(h)|0;h=Nu(b,413832,23)|0;h=Nu(csb(h,f[a+80>>2]|0)|0,413856,16)|0;d=a+88|0;h=Nu(isb(h,+p[d>>3])|0,413873,18)|0;d=Nu(isb(h,+p[d>>3]/i*1.0e3)|0,413892,2)|0;Drb(g,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(d,h)|0;Krb(d)|0;d=Nu(b,413895,21)|0;d=Nu(csb(d,f[a+64>>2]|0)|0,413917,14)|0;h=a+72|0;d=Nu(isb(d,+p[h>>3])|0,413873,18)|0;h=Nu(isb(d,+p[h>>3]/i*1.0e3)|0,413892,2)|0;Drb(g,h+(f[(f[h>>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(h,d)|0;Krb(h)|0;h=Nu(b,444229,27)|0;d=a+40|0;h=Nu(csb(h,f[d>>2]|0)|0,413548,20)|0;d=isb(h,+((f[e>>2]|0)>>>0)/+((f[d>>2]|0)>>>0))|0;Drb(g,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(g,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(g);ksb(d,e)|0;Krb(d)|0;Bj[f[(f[a>>2]|0)+24>>2]&1023](a,b);u=c;return}function nUa(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;w=u;u=u+16|0;v=w;e=Nu(b,444190,38)|0;Drb(v,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);t=utb(v,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(v);ksb(e,t)|0;Krb(e)|0;e=f[a+44>>2]|0;t=a+48|0;if((e|0)==(t|0)){e=0;g=0;d=0;c=0}else{g=0;d=0;c=0;j=0;do{k=f[e+48>>2]|0;r=k+92|0;o=f[r>>2]|0;n=(o|0)==0;if(n)h=0;else{h=0;i=o;do{h=h+1|0;i=f[i+56>>2]|0}while((i|0)!=0)}j=h+j|0;s=k+64|0;c=(f[s>>2]|0)+c|0;q=k+76|0;m=f[q>>2]|0;d=m+d|0;p=k+88|0;l=k+60|0;k=f[l>>2]|0;if(n)h=0;else{h=0;i=o;do{h=h+1|0;i=f[i+56>>2]|0}while((i|0)!=0)}g=(W(h+m|0,k)|0)+g|0;k=Nu(b,413569,8)|0;k=Nu(csb(k,f[l>>2]|0)|0,444257,38)|0;i=f[r>>2]|0;if(!i)h=0;else{h=0;do{h=h+1|0;i=f[i+56>>2]|0}while((i|0)!=0)}h=Nu(csb(k,h)|0,444296,30)|0;h=Nu(csb(h,f[s>>2]|0)|0,413650,21)|0;h=Nu(csb(h,f[q>>2]|0)|0,413672,28)|0;h=csb(h,f[p>>2]|0)|0;Drb(v,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);s=utb(v,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(v);ksb(h,s)|0;Krb(h)|0;h=f[e+4>>2]|0;if(!h){h=e+8|0;i=f[h>>2]|0;if((f[i>>2]|0)==(e|0))e=i;else do{s=f[h>>2]|0;h=s+8|0;e=f[h>>2]|0}while((f[e>>2]|0)!=(s|0))}else{e=h;while(1){h=f[e>>2]|0;if(!h)break;else e=h}}}while((e|0)!=(t|0));e=j}t=csb(Nu(csb(Nu(csb(Nu(csb(Nu(b,413450,21)|0,e)|0,413472,12)|0,c)|0,413485,13)|0,d)|0,413499,13)|0,g)|0;Drb(v,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);c=utb(v,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(v);ksb(t,c)|0;Krb(t)|0;t=Nu(b,444229,27)|0;c=a+40|0;t=Nu(csb(t,f[c>>2]|0)|0,413548,20)|0;c=isb(t,+(g>>>0)/+((f[c>>2]|0)>>>0))|0;Drb(v,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);t=utb(v,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(v);ksb(c,t)|0;Krb(c)|0;c=a+36|0;if((g|0)==(f[c>>2]|0)){u=w;return}b=Nu(b,444327,33)|0;b=Nu(csb(b,f[c>>2]|0)|0,444361,26)|0;b=bsb(b,(f[c>>2]|0)-g|0)|0;Drb(v,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);a=utb(v,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(v);ksb(b,a)|0;Krb(b)|0;u=w;return}function oUa(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,g=0;d=f[a+44>>2]|0;g=a+48|0;if(!((d|0)!=(g|0)&+p[c>>3]>0.0))return;e=d;while(1){wUa(f[e+48>>2]|0,0.0,c);a=f[e+4>>2]|0;if(!a){d=e+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(e|0))do{e=f[d>>2]|0;d=e+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(e|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)!=(g|0)&+p[c>>3]>0.0)e=a;else break}return}function pUa(a){a=a|0;var b=0,c=0,d=0;b=f[a+44>>2]|0;d=a+48|0;if((b|0)==(d|0))return;c=b;while(1){vUa(f[c+48>>2]|0);a=f[c+4>>2]|0;if(!a){b=c+8|0;a=f[b>>2]|0;if((f[a>>2]|0)!=(c|0))do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else c=a}return}function qUa(a){a=a|0;var b=0,c=0,d=0;b=f[a+44>>2]|0;d=a+48|0;if((b|0)==(d|0))return;c=b;while(1){tUa(f[c+48>>2]|0);a=f[c+4>>2]|0;if(!a){b=c+8|0;a=f[b>>2]|0;if((f[a>>2]|0)!=(c|0))do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else c=a}return}function rUa(a){a=a|0;var b=0,c=0,d=0;b=f[a+44>>2]|0;d=a+48|0;if((b|0)==(d|0))return;c=b;while(1){sUa(f[c+48>>2]|0);a=f[c+4>>2]|0;if(!a){b=c+8|0;a=f[b>>2]|0;if((f[a>>2]|0)!=(c|0))do{c=f[b>>2]|0;b=c+8|0;a=f[b>>2]|0}while((f[a>>2]|0)!=(c|0))}else while(1){b=f[a>>2]|0;if(!b)break;else a=b}if((a|0)==(d|0))break;else c=a}return}function sUa(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,s=0;o=a+92|0;b=f[o>>2]|0;if(b|0){p=a+28|0;do{n=b+8|0;f[n>>2]=(f[n>>2]|0)+1;k=b;b=f[b+56>>2]|0;l=f[k+60>>2]|0;if(l|0){m=l+8|0;f[m>>2]=(f[m>>2]|0)+1;h=f[p>>2]|0;i=l+216|0;j=l+220|0;c=f[j>>2]|0;d=f[i>>2]|0;e=c-d>>2;do if(e>>>0<=h>>>0){g=h+1|0;if(g>>>0>e>>>0){XGa(i,g-e|0);break}if(g>>>0<e>>>0){e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(s=d+8|0,g=f[s>>2]|0,f[s>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[j>>2]=e}}while(0);c=(f[i>>2]|0)+(h<<2)|0;d=f[c>>2]|0;if(d|0?(f[c>>2]=0,j=d+8|0,s=f[j>>2]|0,f[j>>2]=s-1,(s|0)==1):0)Rua(d,1,1);s=f[m>>2]|0;f[m>>2]=s-1;if((s|0)==1)Rua(l,1,1)}s=f[n>>2]|0;f[n>>2]=s-1;if((s|0)==1)Rua(k,1,1)}while((b|0)!=0)}f[o>>2]=0;f[a+96>>2]=0;e=a+80|0;b=a+88|0;if(f[b>>2]|0?(q=f[a+84>>2]|0,s=(f[e>>2]|0)+4|0,p=f[q>>2]|0,f[p+4>>2]=f[s>>2],f[f[s>>2]>>2]=p,f[b>>2]=0,(q|0)!=(e|0)):0){b=q;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(q=d+8|0,s=f[q>>2]|0,f[q>>2]=s-1,(s|0)==1):0)Rua(d,1,1);GBb(c)}while((b|0)!=(e|0))}e=a+68|0;b=a+76|0;if(f[b>>2]|0?(r=f[a+72>>2]|0,s=(f[e>>2]|0)+4|0,q=f[r>>2]|0,f[q+4>>2]=f[s>>2],f[f[s>>2]>>2]=q,f[b>>2]=0,(r|0)!=(e|0)):0){b=r;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(r=d+8|0,s=f[r>>2]|0,f[r>>2]=s-1,(s|0)==1):0)Rua(d,1,1);GBb(c)}while((b|0)!=(e|0))}q=a+64|0;r=f[q>>2]|0;f[q>>2]=0;q=W(f[a+60>>2]|0,r)|0;s=f[a+24>>2]|0;a=s+36|0;f[a>>2]=(f[a>>2]|0)-q;a=s+32|0;f[a>>2]=(f[a>>2]|0)-r;s=s+64|0;f[s>>2]=(f[s>>2]|0)+r;return}function tUa(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,s=0,t=0,u=0;b=a+12|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;if(f[a+88>>2]|0)uUa(a);_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;p=a+92|0;c=f[p>>2]|0;if(!c){s=0;t=a+24|0;t=f[t>>2]|0;r=t+32|0;q=f[r>>2]|0;q=q+s|0;f[r>>2]=q;t=t+28|0;r=f[t>>2]|0;s=r-s|0;f[t>>2]=s;vUa(a);return}q=a+68|0;r=a+76|0;s=a+96|0;t=a+28|0;b=0;do{o=c+8|0;f[o>>2]=(f[o>>2]|0)+1;e=c+56|0;n=c;c=f[e>>2]|0;f[o>>2]=(f[o>>2]|0)+1;m=EBb(12)|0;f[m>>2]=0;f[m+8>>2]=n;f[o>>2]=(f[o>>2]|0)+1;f[m+4>>2]=q;l=f[q>>2]|0;f[m>>2]=l;f[l+4>>2]=m;f[q>>2]=m;f[r>>2]=(f[r>>2]|0)+1;m=f[o>>2]|0;f[o>>2]=m-1;if((m|0)==1)Rua(n,1,1);g=n+52|0;h=f[g>>2]|0;d=f[e>>2]|0;if(!h)f[p>>2]=d;else{f[h+56>>2]=d;d=f[e>>2]|0}f[((d|0)==0?s:d+52|0)>>2]=h;f[e>>2]=0;f[g>>2]=0;b=b+1|0;l=f[n+60>>2]|0;if(l|0){m=l+8|0;f[m>>2]=(f[m>>2]|0)+1;i=f[t>>2]|0;j=l+216|0;k=l+220|0;d=f[k>>2]|0;e=f[j>>2]|0;g=d-e>>2;do if(g>>>0<=i>>>0){h=i+1|0;if(h>>>0>g>>>0){XGa(j,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(u=e+8|0,h=f[u>>2]|0,f[u>>2]=h-1,(h|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[k>>2]=g}}while(0);d=(f[j>>2]|0)+(i<<2)|0;e=f[d>>2]|0;if(e|0?(f[d>>2]=0,k=e+8|0,u=f[k>>2]|0,f[k>>2]=u-1,(u|0)==1):0)Rua(e,1,1);u=f[m>>2]|0;f[m>>2]=u-1;if((u|0)==1)Rua(l,1,1)}u=f[o>>2]|0;f[o>>2]=u-1;if((u|0)==1)Rua(n,1,1)}while((c|0)!=0);u=a+24|0;u=f[u>>2]|0;t=u+32|0;s=f[t>>2]|0;s=s+b|0;f[t>>2]=s;u=u+28|0;t=f[u>>2]|0;t=t-b|0;f[u>>2]=t;vUa(a);return}function uUa(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=a+80|0;o=a+88|0;m=f[o>>2]|0;if(!m)return;n=a+84|0;b=f[n>>2]|0;c=b;if((p|0)==(c|0))b=m;else{k=a+68|0;l=a+76|0;i=a+92|0;j=a+96|0;do{e=f[b+8>>2]|0;b=(e|0)==0;if(!b){h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}d=EBb(12)|0;f[d>>2]=0;f[d+8>>2]=e;if(!b){h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}f[d+4>>2]=k;h=f[k>>2]|0;f[d>>2]=h;f[h+4>>2]=d;f[k>>2]=d;f[l>>2]=(f[l>>2]|0)+1;if(!b?(g=e+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(e,1,1);g=e+52|0;h=f[g>>2]|0;d=e+56|0;b=f[d>>2]|0;if(!h)f[i>>2]=b;else{f[h+56>>2]=b;b=f[d>>2]|0}f[((b|0)==0?j:b+52|0)>>2]=h;f[d>>2]=0;f[g>>2]=0;b=f[c+4>>2]|0;c=b}while((p|0)!=(c|0));b=f[o>>2]|0}a=f[a+24>>2]|0;l=a+32|0;f[l>>2]=(f[l>>2]|0)+m;a=a+28|0;f[a>>2]=(f[a>>2]|0)-m;if(!b)return;b=f[n>>2]|0;n=(f[p>>2]|0)+4|0;m=f[b>>2]|0;f[m+4>>2]=f[n>>2];f[f[n>>2]>>2]=m;f[o>>2]=0;if((b|0)==(p|0))return;do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(n=d+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(d,1,1);GBb(c)}while((b|0)!=(p|0));return}function vUa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;h=u;u=u+16|0;d=h;b=a+12|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;if(f[a+88>>2]|0)uUa(a);_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;g=a+68|0;e=a+72|0;b=f[e>>2]|0;c=b;if((g|0)!=(c|0))do{f[d>>2]=f[(f[b+8>>2]|0)+12>>2];Dh(1,d|0);b=f[c+4>>2]|0;c=b}while((g|0)!=(c|0));c=a+76|0;d=f[c>>2]|0;i=a+64|0;f[i>>2]=(f[i>>2]|0)-d;i=W(f[a+60>>2]|0,d)|0;a=f[a+24>>2]|0;b=a+36|0;f[b>>2]=(f[b>>2]|0)-i;b=a+32|0;f[b>>2]=(f[b>>2]|0)-d;a=a+64|0;f[a>>2]=(f[a>>2]|0)+d;if(!d){u=h;return}b=f[e>>2]|0;i=(f[g>>2]|0)+4|0;a=f[b>>2]|0;f[a+4>>2]=f[i>>2];f[f[i>>2]>>2]=a;f[c>>2]=0;if((b|0)==(g|0)){u=h;return}do{c=b;b=f[b+4>>2]|0;d=f[c+8>>2]|0;if(d|0?(a=d+8|0,i=f[a>>2]|0,f[a>>2]=i-1,(i|0)==1):0)Rua(d,1,1);GBb(c)}while((b|0)!=(g|0));u=h;return}function wUa(a,c,d){a=a|0;c=+c;d=d|0;var 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;w=u;u=u+16|0;v=w;e=a+12|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;if(f[a+88>>2]|0)uUa(a);_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;r=a+60|0;e=f[r>>2]|0;g=(e|0)==0;if(!g?(t=f[a+24>>2]|0,(f[t+36>>2]|0)>>>0<=(f[t+40>>2]|0)>>>0):0){u=w;return}s=a+76|0;h=f[s>>2]|0;if(!((h|0)!=0&!(+p[d>>3]<=0.0))){u=w;return}t=a+24|0;i=f[t>>2]|0;i=(f[i+36>>2]|0)-(f[i+40>>2]|0)|0;if(!g)h=~~+V(+(+(i>>>0)/+(e>>>0)))>>>0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){q=Nu(Hua(4)|0,444120,34)|0;q=Nu(csb(q,f[(f[t>>2]|0)+36>>2]|0)|0,444155,34)|0;q=csb(q,f[(f[t>>2]|0)+40>>2]|0)|0;Drb(v,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(v,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(v);ksb(q,o)|0;Krb(q)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){q=Nu(csb(Nu(csb(Nu(Hua(4)|0,413346,19)|0,i)|0,413366,26)|0,h)|0,413393,6)|0;q=Nu(esb(q,f[s>>2]|0)|0,413400,8)|0;Drb(v,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(v,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(v);ksb(q,o)|0;Krb(q)|0}if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,v|0)|0;q=f[v>>2]|0;q=LDb(q|0,((q|0)<0)<<31>>31|0,1e6,0)|0;o=H;n=f[v+4>>2]|0;n=QDb(n|0,((n|0)<0)<<31>>31|0,1e3,0)|0;o=MDb(n|0,H|0,q|0,o|0)|0;q=497264;f[q>>2]=o;f[q+4>>2]=H}Nb(1,v|0)|0;q=f[v>>2]|0;q=LDb(q|0,((q|0)<0)<<31>>31|0,1e6,0)|0;o=H;n=f[v+4>>2]|0;n=QDb(n|0,((n|0)<0)<<31>>31|0,1e3,0)|0;o=MDb(n|0,H|0,q|0,o|0)|0;q=H;n=a+72|0;e=f[n>>2]|0;i=a+68|0;j=e;a:do if((i|0)==(j|0))k=0;else{m=v+4|0;g=0;while(1){Nb(1,v|0)|0;l=f[v>>2]|0;l=LDb(l|0,((l|0)<0)<<31>>31|0,1e6,0)|0;k=H;x=f[m>>2]|0;x=QDb(x|0,((x|0)<0)<<31>>31|0,1e3,0)|0;k=MDb(x|0,H|0,l|0,k|0)|0;l=H;if(l>>>0>q>>>0|(l|0)==(q|0)&k>>>0>o>>>0){x=NDb(k|0,l|0,o|0,q|0)|0;c=+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0))}else{x=NDb(o|0,q|0,k|0,l|0)|0;c=-(+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0)))}if(!(g>>>0<h>>>0?c<+p[d>>3]:0)){k=g;i=j;break a}f[v>>2]=f[(f[e+8>>2]|0)+12>>2];Dh(1,v|0);g=g+1|0;e=f[j+4>>2]|0;j=e;if((i|0)==(j|0)){k=g;break}}}while(0);e=f[n>>2]|0;if((e|0)!=(i|0)){x=(f[i>>2]|0)+4|0;n=f[e>>2]|0;f[n+4>>2]=f[x>>2];f[f[x>>2]>>2]=n;do{g=e;e=f[e+4>>2]|0;f[s>>2]=(f[s>>2]|0)+-1;h=f[g+8>>2]|0;if(h|0?(n=h+8|0,x=f[n>>2]|0,f[n>>2]=x-1,(x|0)==1):0)Rua(h,1,1);GBb(g)}while((e|0)!=(i|0))}x=a+64|0;f[x>>2]=(f[x>>2]|0)-k;x=W(f[r>>2]|0,k)|0;g=f[t>>2]|0;e=g+36|0;f[e>>2]=(f[e>>2]|0)-x;e=g+32|0;f[e>>2]=(f[e>>2]|0)-k;g=g+64|0;f[g>>2]=(f[g>>2]|0)+k;Nb(1,v|0)|0;g=f[v>>2]|0;g=LDb(g|0,((g|0)<0)<<31>>31|0,1e6,0)|0;e=H;x=f[v+4>>2]|0;x=QDb(x|0,((x|0)<0)<<31>>31|0,1e3,0)|0;e=MDb(x|0,H|0,g|0,e|0)|0;g=H;if(g>>>0>q>>>0|(g|0)==(q|0)&e>>>0>o>>>0){x=NDb(e|0,g|0,o|0,q|0)|0;c=+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0))}else{x=NDb(o|0,q|0,e|0,g|0)|0;c=-(+p[62159]*(+(x>>>0)+4294967296.0*+(H>>>0)))}p[d>>3]=+p[d>>3]-c;Nb(1,v|0)|0;u=w;return}function xUa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;xUa(a,f[b>>2]|0);xUa(a,f[b+4>>2]|0);a=f[b+48>>2]|0;if(a|0?(d=a+8|0,c=f[d>>2]|0,f[d>>2]=c-1,(c|0)==1):0)Rua(a,1,1);GBb(b);return}function yUa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;f[a>>2]=350704;PUa(a);b=a+228|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;d=a+216|0;g=f[d>>2]|0;if(g|0){e=a+220|0;b=f[e>>2]|0;if((b|0)==(g|0))b=g;else{do{b=b+-4|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(g|0));b=f[d>>2]|0}f[e>>2]=g;GBb(b)}b=f[a+72>>2]|0;if(b|0){f[a+76>>2]=b;GBb(b)}b=f[a+60>>2]|0;if(!b){Kva(a);return}f[a+64>>2]=b;GBb(b);Kva(a);return}function zUa(a){a=a|0;mi()}function AUa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298168,0)|0)!=0;return b|0}function BUa(a){a=a|0;return 409756}function CUa(a){a=a|0;return 444538}function DUa(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=u;u=u+16|0;i=j;e=a+216|0;h=a+220|0;c=f[h>>2]|0;d=f[e>>2]|0;g=c-d>>2;if(g>>>0>=b>>>0){if(g>>>0>b>>>0){e=d+(b<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(k=d+8|0,g=f[k>>2]|0,f[k>>2]=g-1,(g|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[h>>2]=e}}else XGa(e,b-g|0);c=a+60|0;f[i>>2]=0;d=a+64|0;e=f[c>>2]|0;g=(f[d>>2]|0)-e>>2;if(g>>>0>=b>>>0){if(g>>>0>b>>>0)f[d>>2]=e+(b<<2)}else VO(c,b-g|0,i);g=a+72|0;f[i>>2]=0;c=a+76|0;d=f[g>>2]|0;e=(f[c>>2]|0)-d>>2;if(e>>>0<b>>>0){VO(g,b-e|0,i);u=j;return}if(e>>>0<=b>>>0){u=j;return}f[c>>2]=d+(b<<2);u=j;return}function EUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;if(!b){PUa(a);return}g=f[b+124>>2]|0;h=a+216|0;e=a+220|0;b=f[e>>2]|0;d=f[h>>2]|0;a=b-d>>2;do if(a>>>0<=g>>>0){c=g+1|0;if(c>>>0>a>>>0){XGa(h,c-a|0);break}if(c>>>0<a>>>0){c=d+(c<<2)|0;if((c|0)!=(b|0))do{b=b+-4|0;a=f[b>>2]|0;if(a|0?(i=a+8|0,d=f[i>>2]|0,f[i>>2]=d-1,(d|0)==1):0)Rua(a,1,1);f[b>>2]=0}while((b|0)!=(c|0));f[e>>2]=c}}while(0);a=f[h>>2]|0;if(!(f[a+(g<<2)>>2]|0))return;b=f[e>>2]|0;c=b-a>>2;do if(c>>>0<=g>>>0){d=g+1|0;if(d>>>0>c>>>0){XGa(h,d-c|0);break}if(d>>>0<c>>>0){c=a+(d<<2)|0;if((c|0)!=(b|0))do{b=b+-4|0;a=f[b>>2]|0;if(a|0?(d=a+8|0,i=f[d>>2]|0,f[d>>2]=i-1,(i|0)==1):0)Rua(a,1,1);f[b>>2]=0}while((b|0)!=(c|0));f[e>>2]=c}}while(0);b=f[h>>2]|0;a=f[b+(g<<2)>>2]|0;c=f[a+48>>2]|0;if(!c)a=b;else{QUa(c,a);a=f[h>>2]|0}b=f[e>>2]|0;c=b-a>>2;do if(c>>>0<=g>>>0){d=g+1|0;if(d>>>0>c>>>0){XGa(h,d-c|0);break}if(d>>>0<c>>>0){c=a+(d<<2)|0;if((c|0)!=(b|0))do{b=b+-4|0;a=f[b>>2]|0;if(a|0?(d=a+8|0,i=f[d>>2]|0,f[d>>2]=i-1,(i|0)==1):0)Rua(a,1,1);f[b>>2]=0}while((b|0)!=(c|0));f[e>>2]=c}}while(0);b=(f[h>>2]|0)+(g<<2)|0;a=f[b>>2]|0;if(!a)return;f[b>>2]=0;h=a+8|0;i=f[h>>2]|0;f[h>>2]=i-1;if((i|0)!=1)return;Rua(a,1,1);return}function FUa(a){a=a|0;return a|0}function GUa(a){a=a|0;return a|0}function HUa(a){a=a|0;return 0}function IUa(a){a=a|0;return 1}function JUa(a,b){a=a|0;b=b|0;Bj[f[(f[a>>2]|0)+196>>2]&1023](a,b);return}function KUa(a){a=a|0;return}function LUa(a){a=a|0;return 0}function MUa(a){a=a|0;return 0}function NUa(a){a=a|0;return 0}function OUa(a,b){a=a|0;b=b|0;return 0}function PUa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=a+216|0;e=a+220|0;a=f[e>>2]|0;b=f[g>>2]|0;if((a|0)==(b|0))return;d=0;do{if(f[b+(d<<2)>>2]|0){a=a-b>>2;if(a>>>0<=d>>>0)XGa(g,d+1-a|0);a=f[g>>2]|0;b=f[a+(d<<2)>>2]|0;c=f[b+48>>2]|0;if(c){QUa(c,b);a=f[g>>2]|0}a=(f[e>>2]|0)-a>>2;if(a>>>0<=d>>>0)XGa(g,d+1-a|0);a=(f[g>>2]|0)+(d<<2)|0;b=f[a>>2]|0;if(b|0?(f[a>>2]=0,a=b+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(b,1,1)}d=d+1|0;a=f[e>>2]|0;b=f[g>>2]|0}while(d>>>0<a-b>>2>>>0);return}function QUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=a+12|0;_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;f[b+60>>2]=0;g=(b|0)==0;if(!g){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}c=a+80|0;d=EBb(12)|0;f[d>>2]=0;f[d+8>>2]=b;if(!g){h=b+8|0;f[h>>2]=(f[h>>2]|0)+1}f[d+4>>2]=c;h=f[c>>2]|0;f[d>>2]=h;f[h+4>>2]=d;f[c>>2]=d;h=a+88|0;f[h>>2]=(f[h>>2]|0)+1;if(!g?(g=b+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(b,1,1);_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;return}function RUa(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 SUa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=c+88|0;d=f[h>>2]|0;e=a+180|0;a:do switch(f[e>>2]|0){case 0:{i=56;break}case 1:{d=f[a+188>>2]|0;i=56;break}default:{g=Lza(0,1)|0;do switch(f[e>>2]|0){case 2:{if(!(b[g+1051>>0]|0)){i=56;break a}c=f[c+92>>2]|0;if((c|0)<6407){if((c|0)<3){switch(c|0){case 1:{d=34025;break a}case 2:break;default:{i=56;break a}}d=34027;break a}if((c|0)<4){switch(c|0){case 3:break;default:{i=56;break a}}d=34029;break a}if((c|0)>=6406)switch(c|0){case 6406:{d=34025;break a}default:{i=56;break a}}switch(c|0){case 4:break;default:{i=56;break a}}d=34030;break a}if((c|0)<6409)switch(c|0){case 6407:{d=34029;break a}case 6408:{d=34030;break a}default:{i=56;break a}}if((c|0)<6410){switch(c|0){case 6409:break;default:{i=56;break a}}d=34026;break a}if((c|0)<32841){switch(c|0){case 6410:break;default:{i=56;break a}}d=34027;break a}else{switch(c|0){case 32841:break;default:{i=56;break a}}d=34028;break a}}case 3:{if(!(b[g+1052>>0]|0)){i=56;break a}d=f[c+92>>2]|0;b:do if((d|0)<6407){switch(d|0){case 3:{d=33776;break a}case 4:break;default:break b}d=33777;break a}else{switch(d|0){case 6407:{d=33776;break a}case 6408:break;default:break b}d=33777;break a}while(0);d=f[h>>2]|0;i=56;break a}case 12:{if(!(b[g+1052>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 4:case 3:{d=33776;break a}default:{}}else switch(d|0){case 6408:case 6407:{d=33776;break a}default:{}}d=f[h>>2]|0;i=56;break a}case 13:{if(!(b[g+1052>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 4:case 3:{d=33777;break a}default:{}}else switch(d|0){case 6408:case 6407:{d=33777;break a}default:{}}d=f[h>>2]|0;i=56;break a}case 4:{if(!(b[g+1052>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 3:{d=33776;break a}case 4:{i=27;break}default:i=28}else switch(d|0){case 6407:{d=33776;break a}case 6408:{i=27;break}default:i=28}if((i|0)==27){d=33778;break a}else if((i|0)==28){d=f[h>>2]|0;i=56;break a}break}case 5:{if(!(b[g+1052>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 3:{d=33776;break a}case 4:{i=31;break}default:i=32}else switch(d|0){case 6407:{d=33776;break a}case 6408:{i=31;break}default:i=32}if((i|0)==31){d=33779;break a}else if((i|0)==32){d=f[h>>2]|0;i=56;break a}break}case 6:{if(!(b[g+1053>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 3:{d=35841;break a}case 4:{i=35;break}default:i=36}else switch(d|0){case 6407:{d=35841;break a}case 6408:{i=35;break}default:i=36}if((i|0)==35){d=35843;break a}else if((i|0)==36){d=f[h>>2]|0;i=56;break a}break}case 7:{if(!(b[g+1054>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 3:{d=35840;break a}case 4:{i=39;break}default:i=40}else switch(d|0){case 6407:{d=35840;break a}case 6408:{i=39;break}default:i=40}if((i|0)==39){d=35842;break a}else if((i|0)==40){d=f[h>>2]|0;i=56;break a}break}case 8:{if(!(b[g+1055>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 3:{d=36196;break a}default:{}}else switch(d|0){case 6407:{d=36196;break a}default:{}}d=f[h>>2]|0;i=56;break a}case 9:{if(!(b[g+1056>>0]|0)){i=56;break a}d=f[c+92>>2]|0;c:do if((d|0)>=6403){if((d|0)<6408)switch(d|0){case 6403:{d=37488;break a}case 6407:{i=47;break c}default:{i=49;break c}}if((d|0)<33319)switch(d|0){case 6408:{i=48;break c}default:{i=49;break c}}else switch(d|0){case 33319:{i=46;break c}default:{i=49;break c}}}else switch(d|0){case 1:{d=37488;break a}case 2:{i=46;break}case 3:{i=47;break}case 4:{i=48;break}default:i=49}while(0);if((i|0)==46){d=37490;break a}else if((i|0)==47){d=37492;break a}else if((i|0)==48){d=37496;break a}else if((i|0)==49){d=f[h>>2]|0;i=56;break a}break}case 10:{if(!(b[g+1057>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 4:case 3:{d=36283;break a}default:{}}else switch(d|0){case 6408:case 6407:{d=36283;break a}default:{}}d=f[h>>2]|0;i=56;break a}case 11:{if(!(b[g+1057>>0]|0)){i=56;break a}d=f[c+92>>2]|0;if((d|0)<6407)switch(d|0){case 4:case 3:{d=36285;break a}default:{}}else switch(d|0){case 6408:case 6407:{d=36285;break a}default:{}}d=f[h>>2]|0;i=56;break a}default:{i=56;break a}}while(0)}}while(0);d:do if((i|0)==56){if((d|0)<4)switch(d|0){case 1:{d=6409;break d}case 2:{d=6410;break d}case 3:{d=6407;break d}default:break d}if((d|0)<32849){switch(d|0){case 4:break;default:break d}d=6408;break}switch(d|0){case 32849:{d=6407;break d}case 32856:{d=6408;break d}default:break d}}while(0);f[a+188>>2]=d;TUa(a);return}function TUa(a){a=a|0;var b=0;switch(f[a+188>>2]|0){case 36225:case 36219:case 36213:case 36223:case 36217:case 36211:case 36224:case 36218:case 36212:case 33330:case 33332:case 33334:case 33336:case 33338:case 33340:case 36221:case 36215:case 36209:case 36220:case 36214:case 36208:{b=4;break}case 36243:case 36237:case 36231:case 36241:case 36235:case 36229:case 36242:case 36236:case 36230:case 33329:case 33331:case 33333:case 33335:case 33337:case 33339:case 36239:case 36233:case 36227:case 36238:case 36232:case 36226:{b=2;break}case 34847:case 34841:case 34845:case 34839:case 34846:case 34840:case 33325:case 33326:case 33327:case 33328:case 34843:case 34837:case 34842:case 34836:{b=1;break}default:b=0}f[a+184>>2]=b;return}function UUa(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;n=u;u=u+16|0;d=n;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>4){j=Nu(Hua(5)|0,444598,40)|0;Drb(d,j+(f[(f[j>>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(j,g)|0;Krb(j)|0}e=a+48|0;g=f[e>>2]|0;if((g|0)==(c|0)){u=n;return}d=((g|0)!=0)<<31>>31;if(!c)if((g|0)!=0?(f[e>>2]=0,h=g+(f[(f[g>>2]|0)+-16>>2]|0)|0,i=h+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0){Rua(h,1,1);j=d}else j=d;else{d=d+1|0;f[e>>2]=c;j=c+(f[(f[c>>2]|0)+-16>>2]|0)+8|0;f[j>>2]=(f[j>>2]|0)+1;if((g|0)!=0?(i=g+(f[(f[g>>2]|0)+-16>>2]|0)|0,c=i+8|0,j=f[c>>2]|0,f[c>>2]=j-1,(j|0)==1):0){Rua(i,1,1);j=d}else j=d}if(!j){u=n;return}d=f[a+32>>2]|0;a=a+36|0;e=f[a>>2]|0;if((d|0)==(e|0)){u=n;return}do{g=f[d>>2]|0;c=g+148|0;h=f[c>>2]|0;i=h+j|0;if(((f[g+144>>2]|0)==0?(l=f[g+32>>2]|0,m=g+36|0,(l|0)!=(f[m>>2]|0)):0)?(k=((i|0)!=0&1)+(((h|0)!=0)<<31>>31)|0,(k|0)!=0):0){e=l;do{h=f[e>>2]|0;Bwa(h,(f[h+88>>2]|0)+k|0);e=e+4|0}while((e|0)!=(f[m>>2]|0));e=f[a>>2]|0}f[c>>2]=i;d=d+4|0}while((d|0)!=(e|0));u=n;return}function VUa(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;f[b+16>>2]=0;f[b+20>>2]=0;c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=351584;f[b+4>>2]=351740;f[a>>2]=352012;return a|0}function WUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=EBb(44)|0;e=d+12|0;Fva(e,a+(f[(f[a>>2]|0)+-16>>2]|0)|0,b);c=d+4|0;b=a+(f[(f[a>>2]|0)+-12>>2]|0)|0;f[c>>2]=298888;f[e>>2]=299160;b=f[b+4>>2]|0;f[d+8>>2]=b;if(!b){f[d>>2]=351584;f[c>>2]=351740;f[e>>2]=352012;return e|0}a=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;f[d>>2]=351584;f[c>>2]=351740;f[e>>2]=352012;return e|0}function XUa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298096,-1)|0)!=0;return b|0}function YUa(a){a=a|0;return 409756}function ZUa(a){a=a|0;return 444546}function _Ua(a){a=a|0;return a|0}function $Ua(a){a=a|0;return a|0}function aVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;g=(b|0)==0;if(g)e=0;else e=_i[f[(f[b>>2]|0)+56>>2]&2047](b)|0;h=(c|0)==0;if(!h?(d=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0,(e|0)!=0&(d|0)!=0):0){Fj[f[(f[a>>2]|0)+32>>2]&511](a,e,d);h=1;return h|0}a=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+4>>2]|0;if(a|0){h=dj[f[(f[a>>2]|0)+92>>2]&255](a,b,c)|0;return h|0}if(g)d=0;else d=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;if(h){h=0;return h|0}a=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if(!((d|0)!=0&(a|0)!=0)){h=0;return h|0}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[d>>2]|0)+216>>2]&1023](d,a);h=1;return h|0}case 0:{h=1;return h|0}default:{Bj[f[(f[d>>2]|0)+220>>2]&1023](d,a);h=1;return h|0}}return 0}function bVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)return;b=_i[f[(f[b>>2]|0)+164>>2]&2047](b)|0;if(!b)return;if(!(_i[f[(f[b>>2]|0)+244>>2]&2047](b)|0))return;a=0;do{d=cj[f[(f[b>>2]|0)+236>>2]&1023](b,a)|0;Bj[f[(f[d>>2]|0)+224>>2]&1023](d,c);a=a+1|0}while(a>>>0<(_i[f[(f[b>>2]|0)+244>>2]&2047](b)|0)>>>0);return}function cVa(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function dVa(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function eVa(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;f[b+16>>2]=0;f[b+20>>2]=0;c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=351584;f[b+4>>2]=351740;f[a>>2]=352012;return a|0}function fVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-20>>2]|0)|0;c=EBb(44)|0;d=c+12|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+4|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+8>>2]=b;if(!b){f[c>>2]=351584;f[a>>2]=351740;f[d>>2]=352012;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=351584;f[a>>2]=351740;f[d>>2]=352012;return d|0}function gVa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298096,-1)|0)!=0;return b|0}function hVa(a){a=a|0;return 409756}function iVa(a){a=a|0;return 444546}function jVa(a){a=a|0;return a+(f[(f[a>>2]|0)+-60>>2]|0)|0}function kVa(a){a=a|0;return a+(f[(f[a>>2]|0)+-64>>2]|0)|0}function lVa(a,b,c){a=a|0;b=b|0;c=c|0;return aVa(a+(f[(f[a>>2]|0)+-108>>2]|0)|0,b,c)|0}function mVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function nVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function oVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function pVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function qVa(a){a=a|0;var b=0,c=0;b=EBb(44)|0;a=b+12|0;f[b+16>>2]=0;f[b+20>>2]=0;c=b+24|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[b+36>>2]=2;f[b+40>>2]=0;f[b+8>>2]=0;f[b>>2]=351584;f[b+4>>2]=351740;f[a>>2]=352012;return a|0}function rVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+(f[(f[a>>2]|0)+-24>>2]|0)|0;c=EBb(44)|0;d=c+12|0;Fva(d,e+(f[(f[e>>2]|0)+-16>>2]|0)|0,b);a=c+4|0;b=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;f[a>>2]=298888;f[d>>2]=299160;b=f[b+4>>2]|0;f[c+8>>2]=b;if(!b){f[c>>2]=351584;f[a>>2]=351740;f[d>>2]=352012;return d|0}e=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[e>>2]=(f[e>>2]|0)+1;f[c>>2]=351584;f[a>>2]=351740;f[d>>2]=352012;return d|0}function sVa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298096,-1)|0)!=0;return b|0}function tVa(a){a=a|0;return 409756}function uVa(a){a=a|0;return 444546}function vVa(a,b,c){a=a|0;b=b|0;c=c|0;return}function wVa(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function xVa(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function yVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function zVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-112>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function AVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);return}function BVa(a){a=a|0;var b=0,c=0,d=0,e=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;b=a+4|0;f[b>>2]=298888;f[b+8>>2]=299160;b=a+8|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;Gva(a+12|0);GBb(a);return}function CVa(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;k=a+216|0;i=a+220|0;e=f[i>>2]|0;a=f[k>>2]|0;g=e-a>>2;j=b+216|0;h=b+220|0;b=f[h>>2]|0;d=f[j>>2]|0;c=b-d>>2;if(g>>>0<c>>>0){k=-1;return k|0}if(c>>>0<g>>>0){k=1;return k|0}if((e|0)==(a|0)){k=0;return k|0}e=0;while(1){c=f[a+(e<<2)>>2]|0;a=b-d>>2;if(a>>>0<=e>>>0)XGa(j,e+1-a|0);a=f[j>>2]|0;if(c>>>0<(f[a+(e<<2)>>2]|0)>>>0){a=-1;b=15;break}a=(f[h>>2]|0)-a>>2;if(a>>>0<=e>>>0)XGa(j,e+1-a|0);c=f[(f[j>>2]|0)+(e<<2)>>2]|0;a=(f[i>>2]|0)-(f[k>>2]|0)>>2;b=e+1|0;if(a>>>0<=e>>>0)XGa(k,b-a|0);a=f[k>>2]|0;if(c>>>0<(f[a+(e<<2)>>2]|0)>>>0){a=1;b=15;break}if(b>>>0>=(f[i>>2]|0)-a>>2>>>0){a=0;b=15;break}e=b;d=f[j>>2]|0;b=f[h>>2]|0}if((b|0)==15)return a|0;return 0}function DVa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0.0,h=0.0;d=f[a+84>>2]|0;e=f[c+84>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0)){c=1;return c|0}e=f[a+88>>2]|0;d=f[c+88>>2]|0;if((e|0)<(d|0)){c=-1;return c|0}if((d|0)<(e|0)){c=1;return c|0}d=f[a+92>>2]|0;e=f[c+92>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0)){c=1;return c|0}d=f[a+96>>2]|0;e=f[c+96>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0)){c=1;return c|0}d=f[a+100>>2]|0;e=f[c+100>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0)){c=1;return c|0}g=+n[a+104>>2];h=+n[c+104>>2];if(g<h){c=-1;return c|0}if(h<g){c=1;return c|0}g=+n[a+108>>2];h=+n[c+108>>2];if(g<h){c=-1;return c|0}if(h<g){c=1;return c|0}g=+n[a+112>>2];h=+n[c+112>>2];if(g<h){c=-1;return c|0}if(h<g){c=1;return c|0}g=+n[a+116>>2];h=+n[c+116>>2];if(g<h){c=-1;return c|0}if(h<g){c=1;return c|0}d=f[a+120>>2]|0;e=f[c+120>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((d|0)>(e|0)){c=1;return c|0}d=f[a+124>>2]|0;e=f[c+124>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}do if((d|0)<=(e|0)){d=f[a+128>>2]|0;e=f[c+128>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((d|0)>(e|0))break;if((f[a+132>>2]|0)<(f[c+132>>2]|0))d=-1;else break;return d|0}while(0);d=f[c+124>>2]|0;e=f[a+124>>2]|0;if((d|0)<(e|0)){c=1;return c|0}do if((d|0)<=(e|0)){d=f[c+128>>2]|0;e=f[a+128>>2]|0;if((d|0)<(e|0)){c=1;return c|0}if((d|0)>(e|0))break;if((f[c+132>>2]|0)<(f[a+132>>2]|0))d=1;else break;return d|0}while(0);d=b[a+136>>0]|0;e=b[c+136>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}d=f[a+180>>2]|0;e=f[c+180>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0)){c=1;return c|0}d=f[a+188>>2]|0;do if(d|0){e=f[c+188>>2]|0;if(!e)break;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0))d=1;else break;return d|0}while(0);d=f[a+192>>2]|0;e=f[c+192>>2]|0;if(d>>>0<e>>>0){c=-1;return c|0}if(e>>>0<d>>>0){c=1;return c|0}d=f[a+196>>2]|0;e=f[c+196>>2]|0;if(d>>>0<e>>>0){c=-1;return c|0}if(e>>>0<d>>>0){c=1;return c|0}d=b[a+200>>0]|0;e=b[c+200>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}d=f[a+204>>2]|0;e=f[c+204>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0)){c=1;return c|0}d=f[a+208>>2]|0;e=f[c+208>>2]|0;if((d|0)<(e|0)){c=-1;return c|0}if((e|0)<(d|0)){c=1;return c|0}g=+n[a+212>>2];h=+n[c+212>>2];if(g<h){c=-1;return c|0}if(h<g){c=1;return c|0}d=b[a+137>>0]|0;e=b[c+137>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}d=b[a+138>>0]|0;e=b[c+138>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}d=b[a+139>>0]|0;e=b[c+139>>0]|0;if((d&255)<(e&255)){c=-1;return c|0}if((e&255)<(d&255)){c=1;return c|0}else{a=f[a+184>>2]|0;c=f[c+184>>2]|0;return ((a|0)<(c|0)?-1:(c|0)<(a|0)&1)|0}return 0}function EVa(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;Jva(a,c,d);f[a>>2]=350704;d=a+60|0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;g=a+64|0;f[g>>2]=0;h=a+68|0;f[h>>2]=0;do if(e|0)if(e>>>0>1073741823)DCb(d);else{i=e<<2;j=EBb(i)|0;f[d>>2]=j;e=j+(e<<2)|0;f[h>>2]=e;_Db(j|0,0,i|0)|0;f[g>>2]=e;break}while(0);d=a+72|0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;g=a+76|0;f[g>>2]=0;h=a+80|0;f[h>>2]=0;do if(e|0)if(e>>>0>1073741823)DCb(d);else{i=e<<2;k=EBb(i)|0;f[d>>2]=k;j=k+(e<<2)|0;f[h>>2]=j;_Db(k|0,0,i|0)|0;f[g>>2]=j;break}while(0);f[a+84>>2]=f[c+84>>2];f[a+88>>2]=f[c+88>>2];f[a+92>>2]=f[c+92>>2];f[a+96>>2]=f[c+96>>2];f[a+100>>2]=f[c+100>>2];f[a+104>>2]=f[c+104>>2];f[a+108>>2]=f[c+108>>2];f[a+112>>2]=f[c+112>>2];f[a+116>>2]=f[c+116>>2];k=a+120|0;j=c+120|0;f[k>>2]=f[j>>2];f[k+4>>2]=f[j+4>>2];f[k+8>>2]=f[j+8>>2];f[k+12>>2]=f[j+12>>2];b[a+136>>0]=b[c+136>>0]|0;b[a+137>>0]=b[c+137>>0]|0;b[a+138>>0]=b[c+138>>0]|0;b[a+139>>0]=b[c+139>>0]|0;k=a+144|0;j=c+144|0;f[k>>2]=f[j>>2];f[k+4>>2]=f[j+4>>2];f[k+8>>2]=f[j+8>>2];f[k+12>>2]=f[j+12>>2];f[k+16>>2]=f[j+16>>2];f[k+20>>2]=f[j+20>>2];f[k+24>>2]=f[j+24>>2];f[k+28>>2]=f[j+28>>2];f[a+176>>2]=f[c+176>>2];f[a+180>>2]=f[c+180>>2];f[a+184>>2]=f[c+184>>2];f[a+188>>2]=f[c+188>>2];f[a+192>>2]=f[c+192>>2];f[a+196>>2]=f[c+196>>2];b[a+200>>0]=b[c+200>>0]|0;f[a+204>>2]=f[c+204>>2];f[a+208>>2]=f[c+208>>2];f[a+212>>2]=f[c+212>>2];FVa(a+216|0);f[a+228>>2]=0;return}function FVa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;Dxa()|0;b=f[(f[124914]|0)+84>>2]|0;f[a>>2]=0;c=a+4|0;f[c>>2]=0;d=a+8|0;f[d>>2]=0;if(!b)return;if(b>>>0>1073741823)DCb(a);e=b<<2;g=EBb(e)|0;f[a>>2]=g;b=g+(b<<2)|0;f[d>>2]=b;_Db(g|0,0,e|0)|0;f[c>>2]=b;return}function GVa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a+4>>2]=0;f[a+8>>2]=0;g=a+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[a+24>>2]=2;g=a+28|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;f[g+24>>2]=0;f[a+56>>2]=0;f[a>>2]=350704;g=a+60|0;Dxa()|0;c=f[(f[124914]|0)+84>>2]|0;f[g>>2]=0;d=a+64|0;f[d>>2]=0;e=a+68|0;f[e>>2]=0;do if(c|0)if(c>>>0>1073741823)DCb(g);else{h=c<<2;i=EBb(h)|0;f[g>>2]=i;g=i+(c<<2)|0;f[e>>2]=g;_Db(i|0,0,h|0)|0;f[d>>2]=g;break}while(0);c=a+72|0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+76|0;f[e>>2]=0;g=a+80|0;f[g>>2]=0;do if(d|0)if(d>>>0>1073741823)DCb(c);else{h=d<<2;j=EBb(h)|0;f[c>>2]=j;i=j+(d<<2)|0;f[g>>2]=i;_Db(j|0,0,h|0)|0;f[e>>2]=i;break}while(0);f[a+84>>2]=33071;f[a+88>>2]=33071;f[a+92>>2]=33071;f[a+96>>2]=9987;f[a+100>>2]=9729;n[a+104>>2]=1.0;n[a+108>>2]=0.0;n[a+112>>2]=-1.0;n[a+116>>2]=0.0;f[a+120>>2]=6403;f[a+124>>2]=6404;f[a+128>>2]=6405;f[a+132>>2]=6406;b[a+136>>0]=1;b[a+137>>0]=0;b[a+138>>0]=0;b[a+139>>0]=1;c=a+144|0;d=a+204|0;e=c;g=e+56|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));b[c+56>>0]=0;f[d>>2]=515;f[a+208>>2]=6409;n[a+212>>2]=0.0;FVa(a+216|0);f[a+228>>2]=0;return}function HVa(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 IVa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=352184;eWa(a,0);b=f[a+252>>2]|0;if(b|0){f[a+256>>2]=b;GBb(b)}b=a+248|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;b=a+232|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;yUa(a);return}d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[b>>2]=0;yUa(a);return}Rua(c,1,1);f[b>>2]=0;yUa(a);return}function JVa(a){a=a|0;IVa(a);GBb(a);return}function KVa(a){a=a|0;a=EBb(264)|0;UWa(a);return a|0}function LVa(a,b){a=a|0;b=b|0;var c=0;c=EBb(264)|0;TWa(c,a,b);return c|0}function MVa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299328,0)|0)!=0;return b|0}function NVa(a){a=a|0;return 409756}function OVa(a){a=a|0;return 446198}function PVa(a){a=a|0;return 0}function QVa(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;if((a|0)==(b|0)){l=0;return l|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;d=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<d>>>0){l=-1;return l|0}if((c|0)!=(d|0)){l=1;return l|0}g=a+232|0;c=f[g>>2]|0;h=b+232|0;d=f[h>>2]|0;do if((c|0)!=(d|0)){e=(d|0)!=0;if(!c){if(e)c=-1;else{c=13;break}return c|0}if(!e){l=1;return l|0}c=cj[f[(f[c>>2]|0)+188>>2]&1023](c,d)|0;if(!c){i=f[g>>2]|0;c=12;break}else{l=c;return l|0}}else{i=c;c=12}while(0);if((c|0)==12?(i|0)==0:0)c=13;if(((c|0)==13?(f[h>>2]|0)==0:0)?(j=CVa(a,b)|0,j|0):0){l=j;return l|0}c=DVa(a,b)|0;if(c|0){l=c;return l|0}c=f[a+236>>2]|0;if(c|0?(k=f[b+236>>2]|0,k|0):0){if((c|0)<(k|0)){l=-1;return l|0}if((k|0)<(c|0)){l=1;return l|0}}c=f[a+240>>2]|0;if(c|0?(l=f[b+240>>2]|0,l|0):0){if((c|0)<(l|0)){l=-1;return l|0}if((l|0)<(c|0)){l=1;return l|0}}l=f[a+248>>2]|0;b=f[b+248>>2]|0;return (l>>>0<b>>>0?-1:b>>>0<l>>>0&1)|0}function RVa(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;A=u;u=u+16|0;y=A;m=c+124|0;z=f[m>>2]|0;w=a+216|0;x=a+220|0;d=f[x>>2]|0;h=f[w>>2]|0;e=d-h>>2;do if(e>>>0<=z>>>0){g=z+1|0;if(g>>>0>e>>>0){XGa(w,g-e|0);break}if(g>>>0<e>>>0){g=h+(g<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(q=e+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[x>>2]=g}}while(0);l=f[(f[w>>2]|0)+(z<<2)>>2]|0;p=a+248|0;do if(l){d=f[p>>2]|0;if(!d){g=a+232|0;e=f[g>>2]|0;if(e){k=a+252|0;h=a+256|0;d=f[k>>2]|0;i=(f[h>>2]|0)-d>>2;if(i>>>0<=z>>>0){j=z+1|0;f[y>>2]=0;if(j>>>0<=i>>>0){if(j>>>0<i>>>0)f[h>>2]=d+(j<<2)}else{VO(k,j-i|0,y);e=f[g>>2]|0;d=f[k>>2]|0}}if((f[d+(z<<2)>>2]|0)!=(f[e+32>>2]|0)?!(fWa(a,c)|0):0)r=24;else r=51}else r=51}else if(dj[f[(f[d>>2]|0)+12>>2]&255](d,a,c)|0)r=51;else r=24;if((r|0)==24){d=f[x>>2]|0;e=f[w>>2]|0;g=d-e>>2;do if(g>>>0<=z>>>0){h=z+1|0;if(h>>>0>g>>>0){XGa(w,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(q=e+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[x>>2]=g}}while(0);d=f[w>>2]|0;e=f[d+(z<<2)>>2]|0;g=f[e+48>>2]|0;if(!g)e=d;else{QUa(g,e);e=f[w>>2]|0}d=f[x>>2]|0;g=d-e>>2;do if(g>>>0<=z>>>0){h=z+1|0;if(h>>>0>g>>>0){XGa(w,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(q=e+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[x>>2]=g}}while(0);d=(f[w>>2]|0)+(z<<2)|0;e=f[d>>2]|0;if(!e){r=78;break}f[d>>2]=0;q=e+8|0;r=f[q>>2]|0;f[q>>2]=r-1;if((r|0)!=1){r=78;break}Rua(e,1,1);r=78;break}else if((r|0)==51){bWa(l,c);do if(!(f[p>>2]|0)){l=a+232|0;g=f[l>>2]|0;if(g|0){j=a+252|0;k=a+256|0;d=f[j>>2]|0;h=(f[k>>2]|0)-d>>2;e=d;if(h>>>0<=z>>>0){i=z+1|0;f[y>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[k>>2]=e+(i<<2)}else{VO(j,i-h|0,y);d=f[j>>2]|0;e=d;g=f[l>>2]|0}}h=f[g+32>>2]|0;if((f[e+(z<<2)>>2]|0)!=(h|0)){g=(f[k>>2]|0)-d>>2;if(g>>>0<=z>>>0){e=z+1|0;f[y>>2]=0;if(e>>>0<=g>>>0){if(e>>>0<g>>>0)f[k>>2]=d+(e<<2)}else{VO(j,e-g|0,y);d=f[j>>2]|0}}f[d+(z<<2)>>2]=h;gWa(a,3553,c);hWa(a,c,3553,f[l>>2]|0,f[a+236>>2]|0,f[a+240>>2]|0,f[a+188>>2]|0,0);break}}d=f[a+228>>2]|0;if(d|0)Bj[f[(f[d>>2]|0)+200>>2]&1023](d,1028)}else{gWa(a,3553,c);x=f[p>>2]|0;Fj[f[(f[x>>2]|0)+24>>2]&511](x,a,c)}while(0);j=f[m>>2]|0;e=a+60|0;g=a+64|0;d=f[e>>2]|0;h=(f[g>>2]|0)-d>>2;if(h>>>0<=j>>>0){i=j+1|0;f[y>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[g>>2]=d+(i<<2)}else{VO(e,i-h|0,y);d=f[e>>2]|0}}if(!(f[d+(j<<2)>>2]|0))break;gWa(a,3553,c);break}}else r=78;while(0);if((r|0)==78){d=f[p>>2]|0;do if(!d){p=a+232|0;q=f[p>>2]|0;if(q|0?f[q+112>>2]|0:0){o=q+8|0;f[o>>2]=(f[o>>2]|0)+1;tj[f[(f[a>>2]|0)+248>>2]&2047](a);l=a+236|0;m=a+240|0;d=a+244|0;jWa(a,c,q,l,m,d);n=a+188|0;d=kWa(a,z,3553,f[d>>2]|0,f[n>>2]|0,f[l>>2]|0,f[m>>2]|0,1,f[a+176>>2]|0)|0;bWa(d,c);gWa(a,3553,c);k=f[q+32>>2]|0;g=a+252|0;h=a+256|0;e=f[g>>2]|0;i=(f[h>>2]|0)-e>>2;if(i>>>0<=z>>>0){j=z+1|0;f[y>>2]=0;if(j>>>0<=i>>>0){if(j>>>0<i>>>0)f[h>>2]=e+(j<<2)}else{VO(g,j-i|0,y);e=f[g>>2]|0}}f[e+(z<<2)>>2]=k;e=d+64|0;a:do if(!(b[e>>0]|0))r=131;else{switch(f[q+88>>2]|0){case 37491:case 37490:case 37489:case 37488:case 37497:case 37496:case 37495:case 37494:case 37493:case 37492:case 36196:{r=131;break a}default:{}}hWa(a,c,3553,q,f[l>>2]|0,f[m>>2]|0,f[n>>2]|0,0)}while(0);if((r|0)==131){lWa(a,c,3553,q,f[l>>2]|0,f[m>>2]|0,0);b[e>>0]=1}b:do if(b[a+137>>0]|0?(f[c+724>>2]|0)==0:0){Dxa()|0;if(f[(f[124914]|0)+84>>2]|0){h=0;do{e=f[w>>2]|0;g=(f[x>>2]|0)-e>>2;i=h;h=h+1|0;if(g>>>0<=i>>>0){XGa(w,h-g|0);e=f[w>>2]|0}if(!(f[e+(i<<2)>>2]|0))break b;Dxa()|0}while(h>>>0<(f[(f[124914]|0)+84>>2]|0)>>>0)}if(((f[q+24>>2]|0)==1?(v=f[p>>2]|0,v|0):0)?(f[p>>2]=0,w=v+8|0,x=f[w>>2]|0,f[w>>2]=x-1,(x|0)==1):0)Rua(v,1,1)}while(0);x=f[o>>2]|0;f[o>>2]=x-1;if((x|0)!=1)break;Rua(q,1,1);break}g=a+236|0;d=f[g>>2]|0;if((d|0?(s=a+240|0,n=f[s>>2]|0,n|0):0)?(t=a+188|0,o=f[t>>2]|0,o|0):0){h=a+244|0;i=a+176|0;d=kWa(a,z,3553,f[h>>2]|0,o,d,n,1,f[i>>2]|0)|0;bWa(d,c);gWa(a,3553,c);e=f[c+832>>2]|0;if(!(b[e+1074>>0]|0)){v=f[t>>2]|0;w=f[a+192>>2]|0;x=f[a+196>>2]|0;Wh(3553,0,v|0,f[g>>2]|0,f[s>>2]|0,f[i>>2]|0,((w|0)==0?v:w)|0,((x|0)==0?5121:x)|0,0)}else{x=f[h>>2]|0;Kj[f[e+1088>>2]&63](3553,(x|0)>1?x:1,f[t>>2]|0,f[g>>2]|0,f[s>>2]|0)}e=f[a+228>>2]|0;if(!e)break;Bj[f[(f[e>>2]|0)+200>>2]&1023](e,1028);break}uh(3553,0);u=A;return}else{Ij[f[(f[d>>2]|0)+16>>2]&127](y,d,a,c);d=f[x>>2]|0;e=f[w>>2]|0;g=d-e>>2;do if(g>>>0<=z>>>0){h=z+1|0;if(h>>>0>g>>>0){XGa(w,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(t=e+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[x>>2]=g}}while(0);e=(f[w>>2]|0)+(z<<2)|0;d=f[e>>2]|0;g=f[y>>2]|0;if((d|0)!=(g|0)){f[e>>2]=g;if(g|0){v=g+8|0;f[v>>2]=(f[v>>2]|0)+1}if(d|0?(t=d+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(d,1,1);d=f[y>>2]|0}if(d|0?(t=d+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(d,1,1);d=f[x>>2]|0;e=f[w>>2]|0;g=d-e>>2;do if(g>>>0<=z>>>0){h=z+1|0;if(h>>>0>g>>>0){XGa(w,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(t=e+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[x>>2]=g}}while(0);d=f[(f[w>>2]|0)+(z<<2)>>2]|0;bWa(d,c);gWa(a,3553,c);e=f[a+232>>2]|0;if(e|0){k=f[e+32>>2]|0;g=a+252|0;h=a+256|0;e=f[g>>2]|0;i=(f[h>>2]|0)-e>>2;if(i>>>0<=z>>>0){j=z+1|0;f[y>>2]=0;if(j>>>0<=i>>>0){if(j>>>0<i>>>0)f[h>>2]=e+(j<<2)}else{VO(g,j-i|0,y);e=f[g>>2]|0}}f[e+(z<<2)>>2]=k}x=f[p>>2]|0;Fj[f[(f[x>>2]|0)+20>>2]&511](x,a,c);iWa(d,f[a+244>>2]|0,f[a+188>>2]|0,f[a+236>>2]|0,f[a+240>>2]|0,1,f[a+176>>2]|0)}while(0);if(!d){u=A;return}}e=a+72|0;g=a+76|0;d=f[e>>2]|0;h=(f[g>>2]|0)-d>>2;if(h>>>0<=z>>>0){i=z+1|0;f[y>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[g>>2]=d+(i<<2)}else{VO(e,i-h|0,y);d=f[e>>2]|0}}if(!(f[d+(z<<2)>>2]|0)){u=A;return}mWa(a,c);u=A;return}function SVa(a){a=a|0;return 3553}function TVa(a){a=a|0;return f[a+236>>2]|0}function UVa(a){a=a|0;return f[a+240>>2]|0}function VVa(a){a=a|0;return 1}function WVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;h=j;c=f[a+232>>2]|0;if(!c){b=0;u=j;return b|0}i=f[c+32>>2]|0;g=a+252|0;e=a+256|0;c=f[g>>2]|0;a=(f[e>>2]|0)-c>>2;if(a>>>0<=b>>>0){d=b+1|0;f[h>>2]=0;if(d>>>0<=a>>>0){if(d>>>0<a>>>0)f[e>>2]=c+(d<<2)}else{VO(g,d-a|0,h);c=f[g>>2]|0}}b=(i|0)!=(f[c+(b<<2)>>2]|0);u=j;return b|0}function XVa(a,b,c){a=a|0;b=b|0;c=c|0;eWa(a,c);return}function YVa(a,b){a=a|0;b=b|0;return f[a+232>>2]|0}function ZVa(a,b){a=a|0;b=b|0;return f[a+232>>2]|0}function _Va(a){a=a|0;return 1}function $Va(a){a=a|0;var b=0;b=f[a+232>>2]|0;if(!b){TUa(a);return}else{SUa(a,b);return}}function aWa(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;h=f[b+124>>2]|0;i=a+216|0;j=a+220|0;c=f[j>>2]|0;e=f[i>>2]|0;g=c-e>>2;do if(g>>>0<=h>>>0){d=h+1|0;if(d>>>0>g>>>0){XGa(i,d-g|0);break}if(d>>>0<g>>>0){e=e+(d<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,k=f[g>>2]|0,f[g>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[j>>2]=e}}while(0);c=f[(f[i>>2]|0)+(h<<2)>>2]|0;if(!c)return;d=a+236|0;if(!(f[d>>2]|0))return;e=a+240|0;if(!(f[e>>2]|0))return;bWa(c,b);c=f[d>>2]|0;d=f[e>>2]|0;g=(c|0)>(d|0)?c:d;g=32-(Z(((g|0)>1?g:1)|0)|0)|0;c=c>>1;d=d>>1;if(!((g|0)<2|(c|d|0)==0)){h=a+188|0;i=a+176|0;j=a+192|0;k=a+196|0;e=1;do{m=(c|0)==0?1:c;l=(d|0)==0?1:d;p=f[h>>2]|0;o=f[j>>2]|0;n=f[k>>2]|0;Wh(3553,e|0,p|0,m|0,l|0,f[i>>2]|0,((o|0)==0?p:o)|0,((n|0)==0?5121:n)|0,0);e=e+1|0;c=m>>1;d=l>>1}while(!(e>>>0>=g>>>0|(c|d|0)==0))}i=f[b+732>>2]|0;j=b+696|0;h=b+700|0;c=f[h>>2]|0;d=f[j>>2]|0;e=(c-d|0)/12|0;do if(e>>>0<=i>>>0){g=i+1|0;if(g>>>0>e>>>0){GI(j,g-e|0);break}if(g>>>0<e>>>0){d=d+(g*12|0)|0;if((d|0)!=(c|0))do{p=c;c=c+-12|0;HI(c,f[p+-8>>2]|0)}while((c|0)!=(d|0));f[h>>2]=d}}while(0);cWa(0,(f[j>>2]|0)+(i*12|0)|0,a);return}function bWa(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+8|0;g=i;uh(f[a+16>>2]|0,f[a+12>>2]|0);d=f[a+48>>2]|0;if(d|0)dWa(d,a);if(!(b[c+128>>0]|0)){u=i;return}a=f[a+24>>2]|0;h=f[c+752>>2]|0;d=(f[h+60>>2]|0)+(f[c+732>>2]<<2)|0;if((f[d>>2]|0)!=(a|0)){f[d>>2]=a;d=h+48|0;f[d>>2]=(f[d>>2]|0)+1}a=h+12|0;f[g>>2]=a;GBa(e,c+156|0,a,505019,g,i+16|0);a=f[e>>2]|0;d=a+28|0;c=f[d>>2]|0;if((c|0)!=(h|0)){f[d>>2]=h;if(h|0){h=h+8|0;f[h>>2]=(f[h>>2]|0)+1}if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1)}f[a+32>>2]=1;u=i;return}function cWa(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;if(!d)return;k=_i[f[(f[d>>2]|0)+172>>2]&2047](d)|0;j=_i[f[(f[d>>2]|0)+176>>2]&2047](d)|0;e=c+4|0;a=f[e>>2]|0;do if(a){g=c+4|0;a:while(1){e=f[a+16>>2]|0;do if((k|0)>=(e|0)){if((e|0)>=(k|0)){e=f[a+20>>2]|0;if(j>>>0<e>>>0){i=7;break}if(e>>>0>=j>>>0){i=12;break a}}g=a+4|0;e=f[g>>2]|0;if(!e){i=11;break a}else a=e}else i=7;while(0);if((i|0)==7){i=0;e=f[a>>2]|0;if(!e){i=8;break}else{g=a;a=e}}}if((i|0)==8){h=a;g=a;break}else if((i|0)==11){h=a;break}else if((i|0)==12){h=a;break}}else{h=e;g=e}while(0);a=f[g>>2]|0;if(!a){a=EBb(52)|0;e=a+16|0;f[e>>2]=k;f[e+4>>2]=j;b[a+24>>0]=0;e=a+28|0;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[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=h;f[g>>2]=a;e=f[f[c>>2]>>2]|0;if(!e)e=a;else{f[c>>2]=e;e=f[g>>2]|0}Xo(f[c+4>>2]|0,e);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1}f[a+28>>2]=d;b[a+24>>0]=1;return}function dWa(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;m=u;u=u+16|0;d=m;f[c+68>>2]=f[(f[a+24>>2]|0)+56>>2];k=a+96|0;l=f[k>>2]|0;i=l;if((l|0)==(c|0)){u=m;return}if(!l){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=Nu(Hua(3)|0,428424,53)|0;Drb(d,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);j=utb(d,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(d);ksb(l,j)|0;Krb(l)|0}f[a+92>>2]=c;f[k>>2]=c;u=m;return}j=c+56|0;e=f[j>>2]|0;if(e|0){g=c+52|0;h=f[g>>2]|0;if(!h){f[a+92>>2]=e;d=e}else{f[h+56>>2]=e;d=f[j>>2]|0}f[d+52>>2]=h;f[l+56>>2]=c;f[g>>2]=i;f[j>>2]=0;f[k>>2]=c;u=m;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=m;return}l=Nu(Hua(3)|0,428478,60)|0;Drb(d,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);k=utb(d,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(d);ksb(l,k)|0;Krb(l)|0;u=m;return}function eWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+232|0;c=f[d>>2]|0;if((c|0)==(b|0))return;if(!c)c=0;else{e=c+48|0;f[e>>2]=(f[e>>2]|0)+-1;if(_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0){UUa(a,0);f[a+24>>2]=1}c=f[d>>2]|0}if((c|0)!=(b|0)){f[d>>2]=b;if(b|0){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}if(c|0?(b=c+8|0,e=f[b>>2]|0,f[b>>2]=e-1,(e|0)==1):0)Rua(c,1,1)}c=f[a+252>>2]|0;b=(f[a+256>>2]|0)-c|0;if((b|0)>0)_Db(c|0,0,b|0)|0;c=f[d>>2]|0;if(!c)return;e=c+48|0;f[e>>2]=(f[e>>2]|0)+1;if(!(_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0))return;e=EBb(44)|0;d=e+16|0;f[d>>2]=0;f[d+4>>2]=0;f[e+16>>2]=0;f[e+20>>2]=0;d=e+24|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[e+36>>2]=2;f[e+40>>2]=0;f[e+8>>2]=0;f[e>>2]=350976;f[e+4>>2]=351132;f[e+12>>2]=351404;UUa(a,e);f[a+24>>2]=0;return}function fWa(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;p=u;u=u+16|0;m=p+8|0;n=p+4|0;l=p;i=f[c+124>>2]|0;j=a+216|0;k=a+220|0;d=f[k>>2]|0;e=f[j>>2]|0;g=d-e>>2;do if(g>>>0<=i>>>0){h=i+1|0;if(h>>>0>g>>>0){XGa(j,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(q=e+8|0,h=f[q>>2]|0,f[q>>2]=h-1,(h|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[k>>2]=g}}while(0);j=f[(f[j>>2]|0)+(i<<2)>>2]|0;if(!j){q=0;u=p;return q|0}d=a+232|0;if(!(f[d>>2]|0)){q=1;u=p;return q|0}tj[f[(f[a>>2]|0)+248>>2]&2047](a);jWa(a,c,f[d>>2]|0,m,n,l);h=f[l>>2]|0;i=f[a+188>>2]|0;g=f[m>>2]|0;e=f[n>>2]|0;d=f[a+176>>2]|0;if(((((((b[j+64>>0]|0)!=0?(o=f[j+28>>2]|0,(o|0)!=0):0)?(f[j+16>>2]|0)==3553:0)?(f[j+20>>2]|0)==(h|0):0)?((o|0)==(g|0)?(f[j+24>>2]|0)==(i|0):0):0)?(f[j+32>>2]|0)==(e|0):0)?(f[j+36>>2]|0)==1:0)d=(f[j+40>>2]|0)==(d|0);else d=0;q=d;u=p;return q|0}function gWa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=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;A=u;u=u+16|0;z=A;y=d+124|0;l=f[y>>2]|0;t=f[d+832>>2]|0;j=a+216|0;k=a+220|0;d=f[k>>2]|0;g=f[j>>2]|0;h=d-g>>2;do if(h>>>0<=l>>>0){i=l+1|0;if(i>>>0>h>>>0){XGa(j,i-h|0);break}if(i>>>0<h>>>0){h=g+(i<<2)|0;if((h|0)!=(d|0))do{d=d+-4|0;g=f[d>>2]|0;if(g|0?(B=g+8|0,i=f[B>>2]|0,f[B>>2]=i-1,(i|0)==1):0)Rua(g,1,1);f[d>>2]=0}while((d|0)!=(h|0));f[k>>2]=h}}while(0);d=f[(f[j>>2]|0)+(l<<2)>>2]|0;if((d|0?(m=f[d+12>>2]|0,o=a+12|0,q=f[t+1748>>2]|0,q|0):0)?(s=b[o+11>>0]|0,r=s<<24>>24<0,s=r?f[a+16>>2]|0:s&255,s|0):0)Ij[q&127](5890,m,s,r?f[o>>2]|0:o);i=f[a+84>>2]|0;d=f[a+88>>2]|0;j=f[a+92>>2]|0;g=(b[t+1059>>0]|0)==0;d=(d|0)==33648&g?10497:d;j=(j|0)==33648&g?10497:j;i=(i|0)==33648&g?10497:i;g=(b[t+1060>>0]|0)==0;d=g&(d|0)==33071?10496:d;j=g&(j|0)==33071?10496:j;i=g&(i|0)==33071?10496:i;g=t+1061|0;h=(b[g>>0]|0)==0;d=h&(d|0)==33069?10496:d;j=h&(j|0)==33069?10496:j;i=h&(i|0)==33069?10496:i;i=(i|0)==10496?33071:i;d=(d|0)==10496?33071:d;j=(j|0)==10496?33071:j;h=cj[f[(f[a>>2]|0)+240>>2]&1023](a,0)|0;if(((h|0?(s=f[h+116>>2]|0,B=f[h+120>>2]|0,w=B,x=s,(s|0)!=(B|0)):0)?b[t+1067>>0]|0:0)?(v=w-x>>2,w=f[h+72>>2]|0,x=f[h+76>>2]|0,B=f[h+80>>2]|0,x=(w|0)>(x|0)?w:x,(v+1|0)<(32-(Z(((x|0)>(B|0)?x:B)|0)|0)|0)):0)Zh(c|0,33085,v|0);Zh(c|0,10242,i|0);if((c|0)!=3552?(Zh(c|0,10243,d|0),(c|0)==32879):0)Zh(32879,32882,j|0);Zh(c|0,10241,f[a+96>>2]|0);Zh(c|0,10240,f[a+100>>2]|0);a:do if(b[t+1049>>0]|0){switch(f[a+184>>2]|0){case 4:case 2:break a;default:{}}Xh(c|0,34046,+(+n[a+104>>2]))}while(0);if(b[t+1050>>0]|0)_h(c|0,36422,a+120|0);b:do if(b[g>>0]|0)switch(f[a+184>>2]|0){case 2:{f[z>>2]=~~+p[a+144>>3];f[z+4>>2]=~~+p[a+152>>3];f[z+8>>2]=~~+p[a+160>>3];f[z+12>>2]=~~+p[a+168>>3];Fj[f[t+1132>>2]&511](c,4100,z);break b}case 4:{f[z>>2]=~~+p[a+144>>3]>>>0;f[z+4>>2]=~~+p[a+152>>3]>>>0;f[z+8>>2]=~~+p[a+160>>3]>>>0;f[z+12>>2]=~~+p[a+168>>3]>>>0;Fj[f[t+1136>>2]&511](c,4100,z);break b}default:{n[z>>2]=+p[a+144>>3];n[z+4>>2]=+p[a+152>>3];n[z+8>>2]=+p[a+160>>3];n[z+12>>2]=+p[a+168>>3];Yh(c|0,4100,z|0);break b}}while(0);c:do if(b[t+1065>>0]|0){if((c|0)<34037)switch(c|0){case 3552:case 3553:break;default:break c}else switch(c|0){case 34037:case 34067:case 35866:break;default:break c}switch(f[a+184>>2]|0){case 4:case 2:break c;default:{}}if(!(b[a+200>>0]|0)){Zh(c|0,34892,0);break}Zh(c|0,34892,34894);Zh(c|0,34893,f[a+204>>2]|0);if(b[t+1066>>0]|0?(e=+n[a+212>>2],e>0.0):0)Xh(c|0,32959,+e)}while(0);d=a+112|0;e=+n[a+108>>2];if(+n[d>>2]-e>=0.0){Xh(c|0,33082,+e);Xh(c|0,33083,+(+n[d>>2]))}Xh(c|0,34049,+(+n[a+116>>2]));k=f[y>>2]|0;j=a+60|0;g=a+64|0;d=f[j>>2]|0;h=(f[g>>2]|0)-d>>2;if(h>>>0>k>>>0){B=d;B=B+(k<<2)|0;f[B>>2]=0;u=A;return}i=k+1|0;f[z>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[g>>2]=d+(i<<2)}else{VO(j,i-h|0,z);d=f[j>>2]|0}B=d;B=B+(k<<2)|0;f[B>>2]=0;u=A;return}function hWa(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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;F=u;u=u+80|0;B=F+8|0;C=F;if(!e){u=F;return}p=e+112|0;if(!(f[p>>2]|0)){u=F;return}q=e+72|0;if(((f[q>>2]|0)==(g|0)?(r=e+76|0,(f[r>>2]|0)==(h|0)):0)?(D=e+88|0,(f[D>>2]|0)==(i|0)):0){if(nWa(f[a+188>>2]|0)|0){if((g&-4|0)!=(g|0)){lWa(a,c,d,e,g,h,0);u=F;return}if((h&-4|0)!=(h|0)){lWa(a,c,d,e,g,h,0);u=F;return}}t=f[c+124>>2]|0;s=c+832|0;x=f[s>>2]|0;E=e+92|0;y=nWa(f[E>>2]|0)|0;n=e+100|0;Ph(3317,f[n>>2]|0);if((f[q>>2]|0)==(g|0)?(f[r>>2]|0)==(h|0):0){m=f[p>>2]|0;z=0}else{if((f[e+116>>2]|0)!=(f[e+120>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=F;return}G=Nu(Hua(2)|0,444771,75)|0;Drb(B,G+(f[(f[G>>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(G,d)|0;Krb(G)|0;u=F;return}if(y){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=F;return}G=Nu(Hua(2)|0,444847,76)|0;Drb(B,G+(f[(f[G>>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(G,d)|0;Krb(G)|0;u=F;return}o=e+96|0;j=f[n>>2]|0;l=W(iJa(f[E>>2]|0,f[o>>2]|0)|0,g)|0;m=(j|0)==0?8:j<<3;k=(l|0)/(m|0)|0;m=FBb(W(W(j,h)|0,k+((l-(W(k,m)|0)|0)!=0&1)|0)|0)|0;k=e+52|0;l=k+11|0;j=b[l>>0]|0;if(j<<24>>24<0)j=f[e+56>>2]|0;else j=j&255;j=(j|0)==0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);i=(f[124868]|0)>2;if(j){if(i){z=Nu(Hua(3)|0,444956,20)|0;z=Nu(bsb(z,f[q>>2]|0)|0,434083,1)|0;z=Nu(bsb(Nu(bsb(Nu(bsb(z,f[r>>2]|0)|0,444949,6)|0,g)|0,434083,1)|0,h)|0,409404,1)|0;Drb(B,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);l=utb(B,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(B);ksb(z,l)|0;Krb(z)|0}}else if(i){i=Nu(Hua(3)|0,444924,15)|0;z=b[l>>0]|0;l=z<<24>>24<0;z=Nu(Nu(i,l?f[k>>2]|0:k,l?f[e+56>>2]|0:z&255)|0,444940,8)|0;z=Nu(bsb(z,f[q>>2]|0)|0,434083,1)|0;z=Nu(bsb(Nu(bsb(Nu(bsb(z,f[r>>2]|0)|0,444949,6)|0,g)|0,434083,1)|0,h)|0,409404,1)|0;Drb(B,z+(f[(f[z>>2]|0)+-12>>2]|0)|0);l=utb(B,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(B);ksb(z,l)|0;Krb(z)|0}z=B+4|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;f[z+12>>2]=0;f[z+16>>2]=0;f[z+20>>2]=0;f[z+24>>2]=0;z=B+36|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;f[z+12>>2]=0;f[z+16>>2]=0;f[z+20>>2]=0;f[z+24>>2]=0;z=f[n>>2]|0;f[B>>2]=z;f[B+32>>2]=z;z=f[o>>2]|0;cLa(B,f[E>>2]|0,f[q>>2]|0,f[r>>2]|0,z,f[p>>2]|0,g,h,z,m)|0;z=1}i=(f[a+96>>2]|1|0)!=9729;if(i)if((f[e+116>>2]|0)==(f[e+120>>2]|0))if(b[a+136>>0]|0){j=f[s>>2]|0;if(!(b[j+1062>>0]|0))if((b[j+1292>>0]|0)!=0?(f[j+1364>>2]|0)!=0:0){j=1;v=44}else{k=1;n=0;l=0}else{j=1;v=44}}else{k=1;n=0;l=0}else{k=0;n=0;l=0}else{j=0;v=44}if((v|0)==44){k=0;n=j;l=j|i^1}j=f[e+40>>2]|0;if((j|0)!=0?(w=Tza(j,t)|0,!(k|(z|(w|0)==0))):0){j=c+740|0;if((f[j>>2]|0)!=(w|0)){if(!(b[w+36>>0]|0)){Bj[f[(f[w+72>>2]|0)+724>>2]&1023](f[w+20>>2]|0,f[w+16>>2]|0);i=f[w+56>>2]|0;if(i|0)$za(i,w)}else dJa(w);f[j>>2]=w}t=w;s=f[(f[w+40>>2]|0)+((f[e+36>>2]|0)*20|0)+12>>2]|0}else{t=0;s=m}a:do if(!l){j=f[e+116>>2]|0;r=e+120|0;i=f[r>>2]|0;if((j|0)==(i|0)){lWa(a,c,d,e,g,h,0);break}q=e+116|0;j=i-j|0;p=j>>2;if(!y){if((j|0)<0|(h|g|0)==0)break;n=e+96|0;m=0;j=g;while(1){l=(j|0)==0?1:j;k=(h|0)==0?1:h;h=f[E>>2]|0;i=f[n>>2]|0;if((m|0)!=0?(A=f[q>>2]|0,(((f[r>>2]|0)-A>>2)+1|0)>>>0>m>>>0):0)j=f[A+(m+-1<<2)>>2]|0;else j=0;$h(d|0,m|0,0,0,l|0,k|0,h|0,i|0,s+j|0);j=l>>1;h=k>>1;if((m|0)>=(p|0)|(h|j|0)==0)break a;else m=m+1|0}}if(f[x+1116>>2]|0?!((j|0)<0|(h|g|0)==0):0){o=x+1120|0;n=0;j=g;while(1){m=(j|0)==0?1:j;l=(h|0)==0?1:h;oWa(f[D>>2]|0,m,l,1,B,C);h=f[o>>2]|0;i=f[E>>2]|0;k=f[C>>2]|0;do if(!n)j=0;else{j=f[q>>2]|0;if((((f[r>>2]|0)-j>>2)+1|0)>>>0<=n>>>0){j=0;break}j=f[j+(n+-1<<2)>>2]|0}while(0);Oj[h&15](d,n,0,0,m,l,i,k,s+j|0);j=m>>1;h=l>>1;if((n|0)>=(p|0)|(h|j|0)==0)break;else n=n+1|0}}}else{j=n&1;if(y){if(f[x+1116>>2]|0){oWa(f[D>>2]|0,g,h,1,B,C);Oj[f[x+1120>>2]&15](d,0,0,0,g,h,f[E>>2]|0,f[C>>2]|0,s)}}else $h(d|0,0,0,0,g|0,h|0,f[E>>2]|0,f[e+96>>2]|0,s|0);pWa(a,c,j)}while(0);if(t|0?(G=c+740|0,f[G>>2]|0):0){Bj[f[c+820>>2]&1023](35052,0);f[G>>2]=0}if((s|0)==0|z^1){u=F;return}HBb(s);u=F;return}lWa(a,c,d,e,g,h,0);u=F;return}function iWa(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;b[a+64>>0]=1;k=a+16|0;j=a+28|0;m=f[j>>2]|0;if(((((m|0?(f[a+20>>2]|0)==(c|0):0)?((m|0)==(e|0)?(f[a+24>>2]|0)==(d|0):0):0)?(f[a+32>>2]|0)==(g|0):0)?(f[a+36>>2]|0)==(h|0):0)?(f[a+40>>2]|0)==(i|0):0)return;l=a+44|0;m=f[l>>2]|0;f[a+20>>2]=c;f[a+24>>2]=d;f[j>>2]=e;f[a+32>>2]=g;f[a+36>>2]=h;f[a+40>>2]=i;NWa(k);g=a+48|0;h=f[g>>2]|0;if(!h)return;i=OWa(f[h+24>>2]|0,k)|0;if((i|0)!=(h|0)&(i|0)!=0){j=h+64|0;f[j>>2]=(f[j>>2]|0)+-1;j=a+52|0;d=f[j>>2]|0;e=a+56|0;c=f[e>>2]|0;if(!d)f[h+92>>2]=c;else{f[d+56>>2]=c;c=f[e>>2]|0}f[((c|0)==0?h+96|0:c+52|0)>>2]=d;f[e>>2]=0;f[j>>2]=0;f[g>>2]=i;c=i+64|0;f[c>>2]=(f[c>>2]|0)+1;c=f[i+24>>2]|0;f[a+68>>2]=f[c+56>>2];e=i+96|0;d=f[e>>2]|0;if(d|0)f[d+56>>2]=a;f[j>>2]=d;d=i+92|0;if(!(f[d>>2]|0))f[d>>2]=a;f[e>>2]=a}else c=f[(f[g>>2]|0)+24>>2]|0;a=c+36|0;m=(f[a>>2]|0)-m|0;f[a>>2]=m;f[a>>2]=(f[l>>2]|0)+m;return}function jWa(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=f[c+832>>2]|0;if((b[a+139>>0]|0)==0?(i=f[a+96>>2]|0,(b[((i|1|0)==9729?l+1076|0:l+1075|0)>>0]|0)!=0):0){k=f[d+76>>2]|0;c=f[d+72>>2]|0}else{j=f[a+176>>2]<<1;c=(f[d+72>>2]|0)-j|0;if(c+-1&c)c=~~+fi(+(+I(+(+U(+(+(c|0)))/.6931471824645996+.5))));i=(f[d+76>>2]|0)-j|0;if(i+-1&i)i=~~+fi(+(+I(+(+U(+(+(i|0)))/.6931471824645996+.5))));k=i+j|0;c=c+j|0;i=f[a+96>>2]|0}j=f[l+1068>>2]|0;a=(c|0)>(j|0)?j:c;j=(k|0)>(j|0)?j:k;f[e>>2]=a;f[g>>2]=j;do if((i&-2|0)==9728)c=1;else{i=f[d+116>>2]|0;c=f[d+120>>2]|0;if((i|0)!=(c|0)){c=(c-i>>2)+1|0;break}f[h>>2]=1;if(!((a|0)>1|(j|0)>1))return;i=1;c=1;do{i=i<<1;c=c+1|0}while((i|0)<(a|0)|(i|0)<(j|0))}while(0);f[h>>2]=c;return}function kWa(a,b,c,d,e,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;l=u;u=u+16|0;k=l;MWa(k,LWa(Uza(b)|0)|0,a,c,d,e,g,h,i,j);i=a+216|0;h=a+220|0;c=f[h>>2]|0;d=f[i>>2]|0;e=c-d>>2;do if(e>>>0<=b>>>0){g=b+1|0;if(g>>>0>e>>>0){XGa(i,g-e|0);break}if(g>>>0<e>>>0){e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(j=d+8|0,a=f[j>>2]|0,f[j>>2]=a-1,(a|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[h>>2]=e}}while(0);d=(f[i>>2]|0)+(b<<2)|0;c=f[d>>2]|0;e=f[k>>2]|0;if((c|0)!=(e|0)){f[d>>2]=e;if(e|0){a=e+8|0;f[a>>2]=(f[a>>2]|0)+1}if(c|0?(j=c+8|0,a=f[j>>2]|0,f[j>>2]=a-1,(a|0)==1):0)Rua(c,1,1);c=f[k>>2]|0}if(c|0?(a=c+8|0,k=f[a>>2]|0,f[a>>2]=k-1,(k|0)==1):0)Rua(c,1,1);c=f[h>>2]|0;d=f[i>>2]|0;e=c-d>>2;if(e>>>0>b>>>0){k=f[i>>2]|0;b=k+(b<<2)|0;b=f[b>>2]|0;u=l;return b|0}g=b+1|0;if(g>>>0>e>>>0){XGa(i,g-e|0);k=f[i>>2]|0;b=k+(b<<2)|0;b=f[b>>2]|0;u=l;return b|0}if(g>>>0>=e>>>0){k=f[i>>2]|0;b=k+(b<<2)|0;b=f[b>>2]|0;u=l;return b|0}e=d+(g<<2)|0;if((e|0)!=(c|0))do{c=c+-4|0;d=f[c>>2]|0;if(d|0?(a=d+8|0,k=f[a>>2]|0,f[a>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(e|0));f[h>>2]=e;k=f[i>>2]|0;b=k+(b<<2)|0;b=f[b>>2]|0;u=l;return b|0}function lWa(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,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;J=u;u=u+80|0;B=J+8|0;C=J;if(!e){u=J;return}k=e+112|0;if(!(f[k>>2]|0)){u=J;return}r=c+832|0;x=f[r>>2]|0;F=e+92|0;w=nWa(f[F>>2]|0)|0;A=a+188|0;a:do if(nWa(f[A>>2]|0)|0?(I=h|g,(I&-4|0)!=(I|0)):0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2)Nu(bsb(Nu(bsb(Nu(Hua(3)|0,444656,83)|0,g)|0,472536,1)|0,h)|0,444740,30)|0;switch(f[A>>2]|0){case 34029:case 37493:case 37492:case 36196:case 35840:case 35841:case 33776:{f[A>>2]=6407;break a}case 34030:case 37497:case 37496:case 37495:case 37494:case 35842:case 35843:case 33779:case 33778:case 33777:{f[A>>2]=6408;break a}case 34025:{f[A>>2]=6406;break a}case 34026:{f[A>>2]=6409;break a}case 34027:{f[A>>2]=6410;break a}case 34028:{f[A>>2]=32841;break a}case 36283:case 36284:case 37489:case 37488:{f[A>>2]=6403;break a}case 36285:case 36286:case 37491:case 37490:{f[A>>2]=33319;break a}default:break a}}while(0);o=e+100|0;Ph(3317,f[o>>2]|0);p=e+84|0;if((b[x+1072>>0]|0)!=0?(b[a+138>>0]|0)!=0:0){Ph(34226,1);I=1}else I=0;v=e+72|0;if((f[v>>2]|0)==(g|0)?(f[e+76>>2]|0)==(h|0):0){m=f[k>>2]|0;H=0}else{if((f[e+116>>2]|0)!=(f[e+120>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=J;return}c=Nu(Hua(2)|0,444771,75)|0;Drb(B,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);I=utb(B,504576)|0;I=cj[f[(f[I>>2]|0)+28>>2]&1023](I,10)|0;vtb(B);ksb(c,I)|0;Krb(c)|0;u=J;return}if(w){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=J;return}c=Nu(Hua(2)|0,444847,76)|0;Drb(B,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);I=utb(B,504576)|0;I=cj[f[(f[I>>2]|0)+28>>2]&1023](I,10)|0;vtb(B);ksb(c,I)|0;Krb(c)|0;u=J;return}q=e+96|0;i=f[o>>2]|0;n=W(iJa(f[F>>2]|0,f[q>>2]|0)|0,g)|0;m=(i|0)==0?8:i<<3;l=(n|0)/(m|0)|0;m=FBb(W(W(i,h)|0,l+((n-(W(l,m)|0)|0)!=0&1)|0)|0)|0;l=e+52|0;n=l+11|0;i=b[n>>0]|0;if(i<<24>>24<0)i=f[e+56>>2]|0;else i=i&255;i=(i|0)==0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);j=(f[124868]|0)>2;if(i){if(j){H=Nu(Hua(3)|0,444956,20)|0;H=Nu(bsb(H,f[v>>2]|0)|0,434083,1)|0;H=Nu(bsb(Nu(bsb(Nu(bsb(H,f[e+76>>2]|0)|0,444949,6)|0,g)|0,434083,1)|0,h)|0,409404,1)|0;Drb(B,H+(f[(f[H>>2]|0)+-12>>2]|0)|0);G=utb(B,504576)|0;G=cj[f[(f[G>>2]|0)+28>>2]&1023](G,10)|0;vtb(B);ksb(H,G)|0;Krb(H)|0}}else if(j){E=Nu(Hua(3)|0,444924,15)|0;H=b[n>>0]|0;G=H<<24>>24<0;H=Nu(Nu(E,G?f[l>>2]|0:l,G?f[e+56>>2]|0:H&255)|0,444940,8)|0;H=Nu(bsb(H,f[v>>2]|0)|0,434083,1)|0;H=Nu(bsb(Nu(bsb(Nu(bsb(H,f[e+76>>2]|0)|0,444949,6)|0,g)|0,434083,1)|0,h)|0,409404,1)|0;Drb(B,H+(f[(f[H>>2]|0)+-12>>2]|0)|0);G=utb(B,504576)|0;G=cj[f[(f[G>>2]|0)+28>>2]&1023](G,10)|0;vtb(B);ksb(H,G)|0;Krb(H)|0}G=B+4|0;H=G+4|0;f[H>>2]=0;f[H+4>>2]=0;f[H+8>>2]=0;f[H+12>>2]=0;f[H+16>>2]=0;f[H+20>>2]=0;H=B+36|0;f[H>>2]=0;f[H+4>>2]=0;f[H+8>>2]=0;f[H+12>>2]=0;f[H+16>>2]=0;f[H+20>>2]=0;f[H+24>>2]=0;H=f[o>>2]|0;f[B>>2]=H;f[G>>2]=f[p>>2];f[B+32>>2]=H;H=f[q>>2]|0;cLa(B,f[F>>2]|0,f[v>>2]|0,f[e+76>>2]|0,H,f[k>>2]|0,g,h,H,m)|0;H=1}j=(f[a+96>>2]|1|0)!=9729;if(j)if((f[e+116>>2]|0)==(f[e+120>>2]|0))if(b[a+136>>0]|0){i=f[r>>2]|0;if(!(b[i+1062>>0]|0))if((b[i+1292>>0]|0)!=0?(f[i+1364>>2]|0)!=0:0){i=1;s=54}else{k=1;n=0;l=0}else{i=1;s=54}}else{k=1;n=0;l=0}else{k=0;n=0;l=0}else{i=0;s=54}if((s|0)==54){k=0;n=i;l=i|j^1}G=e+40|0;i=f[G>>2]|0;if((i|0)!=0?(t=Tza(i,f[c+124>>2]|0)|0,!(k|(H|(t|0)==0))):0){i=c+740|0;if((f[i>>2]|0)!=(t|0)){if(!(b[t+36>>0]|0)){Bj[f[(f[t+72>>2]|0)+724>>2]&1023](f[t+20>>2]|0,f[t+16>>2]|0);j=f[t+56>>2]|0;if(j|0)$za(j,t)}else dJa(t);f[i>>2]=t}D=t;E=f[(f[t+40>>2]|0)+((f[e+36>>2]|0)*20|0)+12>>2]|0}else{D=0;E=m}b:do if(!l){i=f[e+116>>2]|0;t=e+120|0;j=f[t>>2]|0;if((i|0)==(j|0)){if(!w){qWa(d,f[A>>2]|0,g,h,f[F>>2]|0,f[e+96>>2]|0,E)|0;i=f[v>>2]|0;h=f[e+76>>2]|0;if(!(h|i))break;while(1){i=i>>1;h=h>>1;if(!(h|i))break b}}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1)break;d=Nu(Hua(2)|0,444977,47)|0;Drb(B,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);F=utb(B,504576)|0;F=cj[f[(f[F>>2]|0)+28>>2]&1023](F,10)|0;vtb(B);ksb(d,F)|0;Krb(d)|0;break}s=e+116|0;o=j-i|0;r=o>>2;l=r+1|0;m=b[x+1074>>0]|0;if(m<<24>>24){n=x+1088|0;c:do if((f[n>>2]|0)!=0?(f[a+176>>2]|0)==0:0){i=f[A>>2]|0;if(w){i=34029==(i|0)|34030==(i|0)|35912==(i|0)|35913==(i|0)|36283==(i|0)|36284==(i|0)|33776==(i|0)|33777==(i|0)|33778==(i|0)|33779==(i|0)?i:0;break}j=0;do{if((f[222912+(j*12|0)>>2]|0)==(i|0))break c;j=j+1|0}while(j>>>0<69);j=f[e+88>>2]|0;k=f[e+96>>2]|0;i=0;while(1){if((f[222912+(i*12|0)+4>>2]|0)==(j|0)?(f[222912+(i*12|0)+8>>2]|0)==(k|0):0)break;i=i+1|0;if(i>>>0>=69){i=0;break c}}i=f[222912+(i*12|0)>>2]|0}else i=0;while(0);if((i|0)!=0&(m&255)|0){if((_i[f[(f[a>>2]|0)+212>>2]&2047](a)|0)==34067){if((d|0)==34069)Kj[f[n>>2]&63](34067,l,i,g,h)}else Kj[f[n>>2]&63](d,l,i,g,h);if(!w){if((o|0)<0|(h|g|0)==0)break;n=e+96|0;m=0;i=g;while(1){l=(i|0)==0?1:i;k=(h|0)==0?1:h;h=f[F>>2]|0;j=f[n>>2]|0;do if(!m)i=0;else{i=f[s>>2]|0;if((((f[t>>2]|0)-i>>2)+1|0)>>>0<=m>>>0){i=0;break}i=f[i+(m+-1<<2)>>2]|0}while(0);$h(d|0,m|0,0,0,l|0,k|0,h|0,j|0,E+i|0);i=l>>1;h=k>>1;if((m|0)>=(r|0)|(h|i|0)==0)break b;else m=m+1|0}}if(!(f[x+1116>>2]|0))break;if(!((o|0)<0|(h|g|0)==0)){p=e+88|0;o=x+1120|0;n=0;i=g;while(1){m=(i|0)==0?1:i;l=(h|0)==0?1:h;oWa(f[p>>2]|0,m,l,1,B,C);h=f[o>>2]|0;j=f[F>>2]|0;k=f[C>>2]|0;do if(!n)i=0;else{i=f[s>>2]|0;if((((f[t>>2]|0)-i>>2)+1|0)>>>0<=n>>>0){i=0;break}i=f[i+(n+-1<<2)>>2]|0}while(0);Oj[h&15](d,n,0,0,m,l,j,k,E+i|0);i=m>>1;h=l>>1;if((n|0)>=(r|0)|(h|i|0)==0)break;else n=n+1|0}}break}}if(!w){if((o|0)<0|(h|g|0)==0)break;p=a+176|0;q=e+96|0;o=0;i=g;while(1){n=(i|0)==0?1:i;m=(h|0)==0?1:h;h=f[A>>2]|0;j=f[p>>2]|0;k=f[F>>2]|0;l=f[q>>2]|0;if((o|0)!=0?(y=f[s>>2]|0,(((f[t>>2]|0)-y>>2)+1|0)>>>0>o>>>0):0)i=f[y+(o+-1<<2)>>2]|0;else i=0;Wh(d|0,o|0,h|0,n|0,m|0,j|0,k|0,l|0,E+i|0);i=n>>1;h=m>>1;if((o|0)>=(r|0)|(h|i|0)==0)break b;else o=o+1|0}}q=x+1116|0;if(f[q>>2]|0?!((o|0)<0|(h|g|0)==0):0){p=a+176|0;o=0;i=g;while(1){n=(i|0)==0?1:i;m=(h|0)==0?1:h;oWa(f[A>>2]|0,n,m,1,B,C);h=f[q>>2]|0;j=f[A>>2]|0;k=f[p>>2]|0;l=f[C>>2]|0;if((o|0)!=0?(z=f[s>>2]|0,(((f[t>>2]|0)-z>>2)+1|0)>>>0>o>>>0):0)i=f[z+(o+-1<<2)>>2]|0;else i=0;Nj[h&7](d,o,j,n,m,k,l,E+i|0);i=n>>1;h=m>>1;if((o|0)>=(r|0)|(h|i|0)==0)break;else o=o+1|0}}}else{j=n&1;if(w){i=x+1116|0;if(f[i>>2]|0){oWa(f[A>>2]|0,g,h,1,B,C);Nj[f[i>>2]&7](d,0,f[A>>2]|0,g,h,0,f[C>>2]|0,E)}}else Wh(d|0,0,f[A>>2]|0,g|0,h|0,f[a+176>>2]|0,f[F>>2]|0,f[e+96>>2]|0,E|0);pWa(a,c,j)}while(0);d:do if(D|0){i=c+740|0;if(f[i>>2]|0){Bj[f[c+820>>2]&1023](35052,0);f[i>>2]=0}j=f[G>>2]|0;if(b[j+44>>0]|0){i=f[D+40>>2]|0;h=i+((f[e+36>>2]|0)*20|0)|0;f[h>>2]=(f[h>>2]|0)+1;h=f[D+44>>2]|0;if((i|0)!=(h|0))do{if((f[i>>2]|0)>>>0<(f[(f[i+16>>2]|0)+48>>2]|0)>>>0)break d;i=i+20|0}while((i|0)!=(h|0));Bj[f[(f[j>>2]|0)+160>>2]&1023](j,c)}}while(0);if(!((E|0)==0|H^1))HBb(E);if(!I){u=J;return}Ph(34226,0);u=J;return}function mWa(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;n=u;u=u+16|0;k=n;l=f[c+124>>2]|0;i=a+216|0;j=a+220|0;d=f[j>>2]|0;h=f[i>>2]|0;e=d-h>>2;do if(e>>>0<=l>>>0){g=l+1|0;if(g>>>0>e>>>0){XGa(i,g-e|0);break}if(g>>>0<e>>>0){g=h+(g<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(o=e+8|0,h=f[o>>2]|0,f[o>>2]=h-1,(h|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[j>>2]=g}}while(0);j=f[(f[i>>2]|0)+(l<<2)>>2]|0;if(!j){u=n;return}e=a+72|0;g=a+76|0;d=f[e>>2]|0;h=(f[g>>2]|0)-d>>2;if(h>>>0<=l>>>0){i=l+1|0;f[k>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[g>>2]=d+(i<<2)}else{VO(e,i-h|0,k);d=f[e>>2]|0}}f[d+(l<<2)>>2]=0;switch(f[a+184>>2]|0){case 4:case 2:{Bj[f[(f[a>>2]|0)+252>>2]&1023](a,c);u=n;return}default:{}}d=f[c+832>>2]|0;if(b[d+1292>>0]|0?(m=d+1364|0,f[m>>2]|0):0){bWa(j,c);tj[f[m>>2]&2047](f[j+16>>2]|0);j=f[c+732>>2]|0;k=c+696|0;i=c+700|0;d=f[i>>2]|0;e=f[k>>2]|0;g=(d-e|0)/12|0;do if(g>>>0<=j>>>0){h=j+1|0;if(h>>>0>g>>>0){GI(k,h-g|0);break}if(h>>>0<g>>>0){e=e+(h*12|0)|0;if((e|0)!=(d|0))do{o=d;d=d+-12|0;HI(d,f[o+-8>>2]|0)}while((d|0)!=(e|0));f[i>>2]=e}}while(0);cWa(0,(f[k>>2]|0)+(j*12|0)|0,a);u=n;return}Bj[f[(f[a>>2]|0)+252>>2]&1023](a,c);u=n;return}function nWa(a){a=a|0;switch(a|0){case 35843:case 35842:case 35841:case 35840:case 37491:case 37490:case 37489:case 37488:case 37497:case 37496:case 37495:case 37494:case 37493:case 37492:case 36196:case 36285:case 36286:case 36283:case 36284:case 33779:case 33778:case 33777:case 33776:case 34029:case 34030:case 34026:case 34027:case 34028:case 34025:{a=1;break}default:a=0}return a|0}function oWa(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;k=u;u=u+16|0;i=k;j=a|1;a:do switch(j|0){case 33777:{a=8;break}case 33779:{a=16;break}default:if((a|0)==36196)a=8;else switch(j|0){case 37489:case 37495:case 37493:{a=8;break a}case 37497:{a=16;break a}case 37491:{a=16;break a}default:{if((a+-36283|0)>>>0<2){a=8;break a}if((a+-36285|0)>>>0<2){a=16;break a}switch(a|2|0){case 35843:{f[g>>2]=32;g=W((c|0)<16?16:((c|0)/8|0)<<3,(d|0)<8?2:(d|0)/4|0)|0;f[h>>2]=g;u=k;return}case 35842:{f[g>>2]=16;g=W((c|0)<8?16:((c|0)/4|0)<<3,(d|0)<8?2:(d|0)/4|0)|0;f[h>>2]=g;u=k;return}default:{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){a=0;break a}a=Nu(csb(Nu(Hua(2)|0,445823,84)|0,a)|0,431924,14)|0;Drb(i,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);j=utb(i,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(i);ksb(a,j)|0;Krb(a)|0;a=0;break a}}}}}while(0);f[g>>2]=a;g=W(W(W((c+3|0)/4|0,e)|0,(d+3|0)/4|0)|0,a)|0;f[h>>2]=g;u=k;return}function pWa(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;switch(c|0){case 1:{h=f[b+124>>2]|0;i=a+216|0;g=a+220|0;c=f[g>>2]|0;e=f[i>>2]|0;a=c-e>>2;do if(a>>>0<=h>>>0){d=h+1|0;if(d>>>0>a>>>0){XGa(i,d-a|0);break}if(d>>>0<a>>>0){d=e+(d<<2)|0;if((d|0)!=(c|0))do{c=c+-4|0;a=f[c>>2]|0;if(a|0?(j=a+8|0,e=f[j>>2]|0,f[j>>2]=e-1,(e|0)==1):0)Rua(a,1,1);f[c>>2]=0}while((c|0)!=(d|0));f[g>>2]=d}}while(0);c=f[(f[i>>2]|0)+(h<<2)>>2]|0;if(!c)return;tj[f[(f[b+832>>2]|0)+1364>>2]&2047](f[c+16>>2]|0);return}case 2:{Zh(3553,33169,0);return}default:return}}function qWa(a,b,c,d,e,g,h){a=a|0;b=b|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+16|0;k=o;a:do if((e|0)>=6407){if((e|0)<6410){switch(e|0){case 6409:case 6408:case 6407:break a;default:i=100900}u=o;return i|0}if((e|0)>=32993){switch(e|0){case 32993:case 33319:break a;default:i=100900}u=o;return i|0}if((e|0)<32992){switch(e|0){case 6410:break a;default:i=100900}u=o;return i|0}else{switch(e|0){case 32992:break a;default:i=100900}u=o;return i|0}}else{switch(e|0){case 6406:case 6405:case 6404:case 6403:case 6402:case 6401:case 6400:break a;default:i=100900}u=o;return i|0}while(0);if((e|0)==6401|(dLa(g)|0)<<24>>24==0){h=100900;u=o;return h|0}b:do switch(g|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{if((e|0)!=6407&((g|0)==33636|((g|0)==32818|(g|1|0)==33635))){h=100904;u=o;return h|0}switch(g|0){case 32819:case 32820:case 32821:case 32822:case 33637:case 33638:case 33639:case 33640:break;default:break b}if((e|0)<32993){switch(e|0){case 6408:break b;default:i=100904}u=o;return i|0}else{switch(e|0){case 32993:break b;default:i=100904}u=o;return i|0}}default:{}}while(0);if((c|0)<1|(d|0)<1){h=100901;u=o;return h|0}Nh(3379,k|0);i=1;j=c;c:while(1){switch(j|0){case 1:break c;case 3:{l=10;break c}default:{}}i=i<<1;j=j>>>1}if((l|0)==10)i=i<<2;k=f[k>>2]|0;n=(i|0)>(k|0)?k:i;d:do if(!d)i=-1;else{i=1;j=d;e:while(1){switch(j|0){case 1:break d;case 3:break e;default:{}}i=i<<1;j=j>>>1}i=i<<2}while(0);m=(i|0)>(k|0)?k:i;if(!n)l=-1;else{if(!(n&1)){j=0;k=n;while(1){i=k>>>1;j=j+1|0;if(!(k&2))k=i;else break}}else{j=0;i=n}l=(i|0)==1?j:-1}if(!m)i=-1;else{if(!(m&1)){j=0;k=m;while(1){i=k>>>1;j=j+1|0;if(!(k&2))k=i;else break}}else{j=0;i=m}i=(i|0)==1?j:-1}h=rWa(a,b,c,d,n,m,e,g,0,0,(i|0)>(l|0)?i:l,h)|0;u=o;return h|0}function rWa(a,c,e,g,i,k,l,m,o,p,q,r){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;m=m|0;o=o|0;p=p|0;q=q|0;r=r|0;var 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,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0,V=0,X=0,Y=0,Z=0,_=0,$=0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0.0,oa=0.0,pa=0.0,qa=0,ra=0.0,sa=0.0,ta=0.0,ua=0.0,va=0.0,wa=0.0,xa=0.0,ya=0.0,za=0.0,Aa=0.0,Ba=0.0,Ca=0.0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0.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,ab=0,bb=0,cb=0;bb=u;u=u+192|0;L=bb+112|0;Da=bb+48|0;Xa=bb+32|0;Ya=bb+16|0;Za=bb;B=bb+128|0;f[B>>2]=4;z=B+4|0;$a=B+32|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;f[z+12>>2]=0;f[z+16>>2]=0;f[z+20>>2]=0;f[z+24>>2]=0;f[$a>>2]=4;z=B+36|0;f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;f[z+12>>2]=0;f[z+16>>2]=0;f[z+20>>2]=0;f[z+24>>2]=0;a:do if((l|0)>=6407){if((l|0)<6410){switch(l|0){case 6409:case 6408:case 6407:break a;default:{}}_a(445025,434242,3878,445074)}if((l|0)>=32993){switch(l|0){case 32993:case 33319:break a;default:{}}_a(445025,434242,3878,445074)}if((l|0)<32992){switch(l|0){case 6410:break a;default:{}}_a(445025,434242,3878,445074)}else{switch(l|0){case 32992:break a;default:{}}_a(445025,434242,3878,445074)}}else{switch(l|0){case 6406:case 6405:case 6404:case 6403:case 6402:case 6401:case 6400:break a;default:{}}_a(445025,434242,3878,445074)}while(0);if((l|0)==6401|(dLa(m)|0)<<24>>24==0)_a(445025,434242,3878,445074);b:do switch(m|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{if((l|0)!=6407&((m|0)==33636|((m|0)==32818|(m|1|0)==33635)))_a(445025,434242,3878,445074);switch(m|0){case 32819:case 32820:case 32821:case 32822:case 33637:case 33638:case 33639:case 33640:break;default:break b}if((l|0)<32993){switch(l|0){case 6408:break b;default:{}}_a(445025,434242,3878,445074)}else{switch(l|0){case 32993:break b;default:{}}_a(445025,434242,3878,445074)}break}default:{}}while(0);if(!((e|0)>0&(g|0)>0))_a(445101,434242,3879,445074);if((m|0)==6656){f[Da>>2]=4;t=Da+4|0;X=Da+32|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;f[t+12>>2]=0;f[t+16>>2]=0;f[t+20>>2]=0;f[t+24>>2]=0;f[X>>2]=4;t=Da+36|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;f[t+12>>2]=0;f[t+16>>2]=0;f[t+20>>2]=0;f[t+24>>2]=0;Nh(3317,X|0);Nh(3333,Da|0);Nh(3379,L|0);t=1;v=e;c:while(1){switch(v|0){case 1:{x=t;break c}case 3:{La=13;break c}default:{}}t=t<<1;v=v>>>1}if((La|0)==13)x=t<<2;w=f[L>>2]|0;z=(x|0)>(w|0)?w:x;d:do if(!g)t=-1;else{t=1;v=g;e:while(1){switch(v|0){case 1:break d;case 3:break e;default:{}}t=t<<1;v=v>>>1}t=t<<2}while(0);y=(t|0)>(w|0)?w:t;if(!z)x=-1;else{if(!(z&1)){v=0;w=z;while(1){t=w>>>1;v=v+1|0;if(!(w&2))w=t;else break}}else{v=0;t=z}x=(t|0)==1?v:-1}if(!y)t=-1;else{if(!(y&1)){v=0;w=y;while(1){t=w>>>1;v=v+1|0;if(!(w&2))w=t;else break}}else{v=0;t=y}t=(t|0)==1?v:-1}U=(t|0)>(x|0)?t:x;if((l|0)<32992)switch(l|0){case 6407:{A=3;break}case 6410:{La=31;break}case 6408:{La=32;break}default:La=33}else switch(l|0){case 32992:{A=3;break}case 33319:{La=31;break}case 32993:{La=32;break}default:La=33}if((La|0)==31)A=2;else if((La|0)==32)A=4;else if((La|0)==33)A=1;t=Cmb(W(W(~~(+(e|0)*2.0)>>>0,g)|0,A)|0)|0;f:do if(t){eLa(Da,e,g,l,6656,(l|1|0)==6401&1,r,t);if((l|0)<32992)switch(l|0){case 6407:{Y=3;break}case 6410:{La=36;break}case 6408:{La=37;break}default:La=38}else switch(l|0){case 32992:{Y=3;break}case 33319:{La=36;break}case 32993:{La=37;break}default:La=38}if((La|0)==36)Y=2;else if((La|0)==37)Y=4;else if((La|0)==38)Y=1;Ph(3317,2);g:do if((U|0)<0){w=0;v=0}else{h:do if((l|0)==6407){P=y;N=z;O=0;w=0;M=t;x=0;y=0;z=0;v=0;B=0;K=t;J=t;G=t;E=t;L=t;while(1){if((g|0)==(P|0)&(e|0)==(N|0)){Wh(a|0,O|0,c|0,e|0,g|0,0,6407,5123,L|0);H=M;t=E;F=G;D=J;C=K;A=L}else{if(!w){if((N|0)<=0){La=55;break}if((P|0)<=0){La=57;break}x=Cmb(W(P*3|0,~~(+(N|0)*2.0)>>>0)|0)|0;if(!x){Z=K;break h}else{w=x;t=x;v=x;y=x;A=x}}else{t=B;A=x;x=z}fLa(Y,e,g,M,N,P,w);Wh(a|0,O|0,c|0,N|0,P|0,0,6407,5123,x|0);g=P;e=N;H=w;w=M;F=v;D=x;C=y;B=E;v=G;z=J;y=K;x=L}if((O|0)<(U|0)){P=P>>>((P|0)>1&1);N=N>>>((N|0)>1&1);O=O+1|0;M=H;K=C;J=D;G=F;E=t;L=A}else break g}if((La|0)==55)_a(434232,434242,4944,434407);else if((La|0)==57)_a(434418,434242,4945,434407)}else{O=z;P=0;w=0;N=t;x=0;z=0;A=0;v=0;B=0;L=t;K=t;H=t;F=t;M=t;while(1){if((g|0)==(y|0)&(e|0)==(O|0)){Wh(a|0,P|0,c|0,e|0,g|0,0,l|0,5123,M|0);J=N;t=F;G=H;E=K;D=L;C=M}else{if(!w){if((O|0)<=0){La=55;break}if((y|0)<=0){La=57;break}if((l|0)<32992)switch(l|0){case 6407:{V=3;break}case 6410:{La=59;break}case 6408:{La=60;break}default:La=61}else switch(l|0){case 32992:{V=3;break}case 33319:{La=59;break}case 32993:{La=60;break}default:La=61}if((La|0)==59){La=0;V=2}else if((La|0)==60){La=0;V=4}else if((La|0)==61){La=0;V=1}x=Cmb(W(W(y,~~(+(O|0)*2.0)>>>0)|0,V)|0)|0;if(!x){Z=L;break h}else{w=x;A=x;t=x;v=x;z=x}}else t=B;fLa(Y,e,g,N,O,y,w);Wh(a|0,P|0,c|0,O|0,y|0,0,l|0,5123,A|0);g=y;e=O;J=w;w=N;G=v;E=A;D=z;C=x;B=F;v=H;A=K;z=L;x=M}if((P|0)<(U|0)){y=y>>>((y|0)>1&1);O=O>>>((O|0)>1&1);P=P+1|0;N=J;L=D;K=E;H=G;F=t;M=C}else break g}if((La|0)==55)_a(434232,434242,4944,434407);else if((La|0)==57)_a(434418,434242,4945,434407)}while(0);Ph(3317,f[X>>2]|0);Dmb(Z);t=100902;break f}while(0);Ph(3317,f[X>>2]|0);Dmb(t);if(!w)t=0;else{Dmb(v);t=0}}else t=100902;while(0);c=t;u=bb;return c|0}if(!i)y=-1;else{if(!(i&1)){v=0;x=i;while(1){t=x>>>1;v=v+1|0;if(!(x&2))x=t;else break}}else{v=0;t=i}y=(t|0)==1?v:-1}if(!k)t=-1;else{if(!(k&1)){v=0;x=k;while(1){t=x>>>1;v=v+1|0;if(!(x&2))x=t;else break}}else{v=0;t=k}t=(t|0)==1?v:-1}Ta=((t|0)>(y|0)?t:y)+o|0;Nh(3317,$a|0);Nh(3333,B|0);t=f[B+52>>2]|0;i:do switch(m|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{Ua=1;break}default:{if((l|0)<32992)switch(l|0){case 6407:{Ua=3;break i}case 6410:{La=81;break}case 6408:{La=82;break}default:La=83}else switch(l|0){case 32992:{Ua=3;break i}case 33319:{La=81;break}case 32993:{La=82;break}default:La=83}if((La|0)==81){Ua=2;break i}else if((La|0)==82){Ua=4;break i}else if((La|0)==83){Ua=1;break i}}}while(0);z=f[z>>2]|0;z=(z|0)>0?z:e;Na=+gLa(m);Ra=~~Na;Sa=W(Ua,Ra)|0;A=(Ra|0)==1?0:t;Qa=W(Sa,z)|0;t=f[$a>>2]|0;x=(Qa|0)%(t|0)|0;x=(x|0)==0?0:t-x|0;Qa=x+Qa|0;y=W(Qa,f[B+40>>2]|0)|0;v=f[B+44>>2]|0;Pa=r+y+(W(v,Sa)|0)|0;do if(!((e|0)==(i|0)&(g|0)==(k|0))){if((i|0)<=0)_a(434232,434242,4944,434407);if((k|0)<=0)_a(434418,434242,4945,434407);j:do switch(m|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{C=1;break}default:{if((l|0)<32992)switch(l|0){case 6407:{C=3;break j}case 6410:{La=215;break}case 6408:{La=216;break}default:La=217}else switch(l|0){case 32992:{C=3;break j}case 33319:{La=215;break}case 32993:{La=216;break}default:La=217}if((La|0)==215){C=2;break j}else if((La|0)==216){C=4;break j}else if((La|0)==217){C=1;break j}}}while(0);Q=+(i|0);k:do if((m|0)<32820){if((m|0)<5124){switch(m|0){case 5122:case 5123:case 5120:case 5121:break k;default:t=100900}u=bb;return t|0}if((m|0)<5126){switch(m|0){case 5124:case 5125:break k;default:t=100900}u=bb;return t|0}if((m|0)<32818){switch(m|0){case 5126:break k;default:t=100900}u=bb;return t|0}else{switch(m|0){case 32819:case 32818:break k;default:t=100900}u=bb;return t|0}}else{switch(m|0){case 33640:case 32822:case 33639:case 32821:case 33638:case 32820:case 33637:case 33636:case 33635:case 33634:break k;default:t=100900}u=bb;return t|0}while(0);Ma=Cmb(W(W(~~(Na*Q)>>>0,k)|0,C)|0)|0;if(!Ma){Ph(3317,t|0);c=100902;u=bb;return c|0}l:do if((m|0)<32820){if((m|0)<5124)switch(m|0){case 5121:{if((i<<1|0)==(e|0)&(k<<1|0)==(g|0))sWa(Ua,e,g,Pa,Ma,Ra,Qa,Sa);else{ea=+(g|0)/+(k|0);ba=+(e|0)/Q;_=~~+I(+ea);ca=ea-+(_|0);$=~~+I(+ba);da=ba-+($|0);ea=ba*ea;fa=g+-1|0;ga=Qa+Sa|0;ka=(Ua|0)==1;r=Xa+4|0;la=(Ua|0)==2;Z=Xa+4|0;ja=(Ua|0)==2;Y=Xa+4|0;ia=(Ua|0)==2;X=Xa+4|0;ha=(Ua|0)==2;V=0;ba=ca;Q=0.0;t=_;v=0;while(1){ma=(t|0)<(g|0)?t:fa;P=(ma|0)>(v|0);aa=1.0-Q;U=W(v,Qa)|0;L=v+1|0;M=W(L,Qa)|0;N=(L|0)<(ma|0);O=W(V,i)|0;T=ba-Q;e=W(ma,Qa)|0;H=Pa+U|0;J=Pa+(W(ma+-1|0,Qa)|0)|0;K=Pa+e|0;F=0;S=da;Q=0.0;G=$;D=0;while(1){E=W(D,Sa)|0;t=(G|0)>(D|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;m:do if(P&t){B=Pa+E|0;y=B+U|0;R=1.0-Q;Q=aa*R;n[Xa>>2]=Q*+(h[y>>0]|0)+0.0;do if(!ka){t=y+Ra|0;n[r>>2]=Q*+(h[t>>0]|0)+0.0;if(la)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(h[t>>0]|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);x=D+1|0;A=(x|0)<(G|0);t=y+Sa|0;if(A){z=x;while(1){v=0;w=t;while(1){Ka=Xa+(v<<2)|0;n[Ka>>2]=+n[Ka>>2]+aa*+(h[w>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}C=H+(W(G,Sa)|0)|0}else C=t;Q=aa*S;t=0;v=C;while(1){Ka=Xa+(t<<2)|0;n[Ka>>2]=+n[Ka>>2]+Q*+(h[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}Q=ba*R;w=B+e|0;t=0;v=w;while(1){Ka=Xa+(t<<2)|0;n[Ka>>2]=+n[Ka>>2]+Q*+(h[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}t=w+Sa|0;if(A){while(1){v=t;w=0;while(1){Ka=Xa+(w<<2)|0;n[Ka>>2]=+n[Ka>>2]+ba*+(h[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}t=K+(W(G,Sa)|0)|0}Q=ba*S;v=0;while(1){Ka=Xa+(v<<2)|0;n[Ka>>2]=+n[Ka>>2]+Q*+(h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}if(!N)break;z=L;t=C;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){La=Xa+(x<<2)|0;n[La>>2]=+n[La>>2]+(R*+(h[v>>0]|0)+S*+(h[w>>0]|0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ma|0)){La=284;break}else{y=y+ga|0;t=t+ga|0}}}else{if(P){R=S-Q;Q=aa*R;t=Pa+E+U|0;n[Xa>>2]=Q*+(h[t>>0]|0)+0.0;do if(!ka){v=t+Ra|0;n[Z>>2]=Q*+(h[v>>0]|0)+0.0;if(ja)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+Q*+(h[v>>0]|0);w=w+1|0}while((w|0)!=(Ua|0))}while(0);if(N){x=L;do{t=t+Qa|0;v=t;w=0;while(1){La=Xa+(w<<2)|0;n[La>>2]=+n[La>>2]+R*+(h[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ma|0));t=J+E|0}Q=ba*R;t=t+Qa|0;v=0;while(1){La=Xa+(v<<2)|0;n[La>>2]=+n[La>>2]+Q*+(h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=284;break m}else t=t+Ra|0}}if(!t){Q=T*(S-Q);t=Pa+E+U|0;n[Xa>>2]=Q*+(h[t>>0]|0)+0.0;if(ka){La=284;break}t=t+Ra|0;n[X>>2]=Q*+(h[t>>0]|0)+0.0;if(ha){La=284;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=284;break m}}}Q=T*(1.0-Q);w=Pa+E+U|0;n[Xa>>2]=Q*+(h[w>>0]|0)+0.0;do if(!ka){t=w+Ra|0;n[Y>>2]=Q*+(h[t>>0]|0)+0.0;if(ia)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(h[t>>0]|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);v=D+1|0;t=w+Sa|0;if((v|0)<(G|0)){while(1){w=t;x=0;while(1){La=Xa+(x<<2)|0;n[La>>2]=+n[La>>2]+T*+(h[w>>0]|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}t=H+(W(G,Sa)|0)|0}Q=T*S;v=0;while(1){La=Xa+(v<<2)|0;n[La>>2]=+n[La>>2]+Q*+(h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=284;break}else t=t+Ra|0}}while(0);do if((La|0)==284){La=0;if(!N)break;A=D+1|0;if((A|0)>=(G|0))break;t=Pa+E+Sa+M|0;x=L;while(1){y=A;z=t;while(1){v=z;w=0;while(1){Ka=Xa+(w<<2)|0;n[Ka>>2]=+n[Ka>>2]+ +(h[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}y=y+1|0;if((y|0)==(G|0))break;else z=z+Sa|0}x=x+1|0;if((x|0)==(ma|0))break;else t=t+Qa|0}}while(0);v=W(F+O|0,Ua)|0;t=0;do{b[Ma+(t+v)>>0]=~~(+n[Xa+(t<<2)>>2]/ea);t=t+1|0}while((t|0)!=(Ua|0));Q=da+S;t=Q>1.0;F=F+1|0;if((F|0)==(i|0))break;else{D=G;Ca=S;S=t?Q+-1.0:Q;G=G+$+(t&1)|0;Q=Ca}}Q=ca+ba;t=Q>1.0;V=V+1|0;if((V|0)==(k|0))break;else{Ca=ba;ba=t?Q+-1.0:Q;t=(t&1)+_+ma|0;v=ma;Q=Ca}}}break l}case 5120:{if((i<<1|0)==(e|0)&(k<<1|0)==(g|0))tWa(Ua,e,g,Pa,Ma,Ra,Qa,Sa);else{ea=+(g|0)/+(k|0);ba=+(e|0)/Q;_=~~+I(+ea);ca=ea-+(_|0);$=~~+I(+ba);da=ba-+($|0);ea=ba*ea;fa=g+-1|0;ga=Qa+Sa|0;ka=(Ua|0)==1;r=Xa+4|0;la=(Ua|0)==2;Z=Xa+4|0;ja=(Ua|0)==2;Y=Xa+4|0;ia=(Ua|0)==2;X=Xa+4|0;ha=(Ua|0)==2;V=0;ba=ca;Q=0.0;t=_;v=0;while(1){ma=(t|0)<(g|0)?t:fa;P=(ma|0)>(v|0);aa=1.0-Q;U=W(v,Qa)|0;L=v+1|0;M=W(L,Qa)|0;N=(L|0)<(ma|0);O=W(V,i)|0;T=ba-Q;e=W(ma,Qa)|0;H=Pa+U|0;J=Pa+(W(ma+-1|0,Qa)|0)|0;K=Pa+e|0;F=0;S=da;Q=0.0;G=$;D=0;while(1){E=W(D,Sa)|0;t=(G|0)>(D|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;n:do if(P&t){B=Pa+E|0;y=B+U|0;R=1.0-Q;Q=aa*R;n[Xa>>2]=Q*+(b[y>>0]|0)+0.0;do if(!ka){t=y+Ra|0;n[r>>2]=Q*+(b[t>>0]|0)+0.0;if(la)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(b[t>>0]|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);x=D+1|0;A=(x|0)<(G|0);t=y+Sa|0;if(A){z=x;while(1){v=0;w=t;while(1){Ka=Xa+(v<<2)|0;n[Ka>>2]=+n[Ka>>2]+aa*+(b[w>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}C=H+(W(G,Sa)|0)|0}else C=t;Q=aa*S;t=0;v=C;while(1){Ka=Xa+(t<<2)|0;n[Ka>>2]=+n[Ka>>2]+Q*+(b[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}Q=ba*R;w=B+e|0;t=0;v=w;while(1){Ka=Xa+(t<<2)|0;n[Ka>>2]=+n[Ka>>2]+Q*+(b[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}t=w+Sa|0;if(A){while(1){v=t;w=0;while(1){Ka=Xa+(w<<2)|0;n[Ka>>2]=+n[Ka>>2]+ba*+(b[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}t=K+(W(G,Sa)|0)|0}Q=ba*S;v=0;while(1){Ka=Xa+(v<<2)|0;n[Ka>>2]=+n[Ka>>2]+Q*+(b[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}if(!N)break;z=L;t=C;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){La=Xa+(x<<2)|0;n[La>>2]=+n[La>>2]+(R*+(b[v>>0]|0)+S*+(b[w>>0]|0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ma|0)){La=359;break}else{y=y+ga|0;t=t+ga|0}}}else{if(P){R=S-Q;Q=aa*R;t=Pa+E+U|0;n[Xa>>2]=Q*+(b[t>>0]|0)+0.0;do if(!ka){v=t+Ra|0;n[Z>>2]=Q*+(b[v>>0]|0)+0.0;if(ja)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+Q*+(b[v>>0]|0);w=w+1|0}while((w|0)!=(Ua|0))}while(0);if(N){x=L;do{t=t+Qa|0;v=t;w=0;while(1){La=Xa+(w<<2)|0;n[La>>2]=+n[La>>2]+R*+(b[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ma|0));t=J+E|0}Q=ba*R;t=t+Qa|0;v=0;while(1){La=Xa+(v<<2)|0;n[La>>2]=+n[La>>2]+Q*+(b[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=359;break n}else t=t+Ra|0}}if(!t){Q=T*(S-Q);t=Pa+E+U|0;n[Xa>>2]=Q*+(b[t>>0]|0)+0.0;if(ka){La=359;break}t=t+Ra|0;n[X>>2]=Q*+(b[t>>0]|0)+0.0;if(ha){La=359;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(b[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=359;break n}}}Q=T*(1.0-Q);w=Pa+E+U|0;n[Xa>>2]=Q*+(b[w>>0]|0)+0.0;do if(!ka){t=w+Ra|0;n[Y>>2]=Q*+(b[t>>0]|0)+0.0;if(ia)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(b[t>>0]|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);v=D+1|0;t=w+Sa|0;if((v|0)<(G|0)){while(1){w=t;x=0;while(1){La=Xa+(x<<2)|0;n[La>>2]=+n[La>>2]+T*+(b[w>>0]|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}t=H+(W(G,Sa)|0)|0}Q=T*S;v=0;while(1){La=Xa+(v<<2)|0;n[La>>2]=+n[La>>2]+Q*+(b[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=359;break}else t=t+Ra|0}}while(0);do if((La|0)==359){La=0;if(!N)break;A=D+1|0;if((A|0)>=(G|0))break;t=Pa+E+Sa+M|0;x=L;while(1){y=A;z=t;while(1){v=z;w=0;while(1){Ka=Xa+(w<<2)|0;n[Ka>>2]=+n[Ka>>2]+ +(b[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}y=y+1|0;if((y|0)==(G|0))break;else z=z+Sa|0}x=x+1|0;if((x|0)==(ma|0))break;else t=t+Qa|0}}while(0);v=W(F+O|0,Ua)|0;t=0;do{b[Ma+(t+v)>>0]=~~(+n[Xa+(t<<2)>>2]/ea);t=t+1|0}while((t|0)!=(Ua|0));Q=da+S;t=Q>1.0;F=F+1|0;if((F|0)==(i|0))break;else{D=G;Ca=S;S=t?Q+-1.0:Q;G=G+$+(t&1)|0;Q=Ca}}Q=ca+ba;t=Q>1.0;V=V+1|0;if((V|0)==(k|0))break;else{Ca=ba;ba=t?Q+-1.0:Q;t=(t&1)+_+ma|0;v=ma;Q=Ca}}}break l}case 5123:{if((i<<1|0)==(e|0)&(k<<1|0)==(g|0))uWa(Ua,e,g,Pa,Ma,Ra,Qa,Sa,A);else{ea=+(g|0)/+(k|0);ba=+(e|0)/Q;Ia=~~+I(+ea);ca=ea-+(Ia|0);Ja=~~+I(+ba);da=ba-+(Ja|0);ea=ba*ea;Ka=g+-1|0;ha=(A|0)==0;ia=Qa+Sa|0;Fa=(Ua|0)==1;ga=Xa+4|0;Ga=(Ua|0)==2;fa=Xa+4|0;Ea=(Ua|0)==2;$=Xa+4|0;Da=(Ua|0)==2;_=Xa+4|0;qa=(Ua|0)==2;r=Xa+4|0;ma=(Ua|0)==2;Z=Xa+4|0;la=(Ua|0)==2;Y=Xa+4|0;ka=(Ua|0)==2;X=Xa+4|0;ja=(Ua|0)==2;V=0;ba=ca;Q=0.0;t=Ia;v=0;while(1){Ha=(t|0)<(g|0)?t:Ka;P=(Ha|0)>(v|0);aa=1.0-Q;U=W(v,Qa)|0;L=v+1|0;M=W(L,Qa)|0;N=(L|0)<(Ha|0);O=W(V,i)|0;T=ba-Q;e=W(Ha,Qa)|0;H=Pa+U|0;J=Pa+(W(Ha+-1|0,Qa)|0)|0;K=Pa+e|0;F=0;S=da;Q=0.0;G=Ja;D=0;while(1){E=W(D,Sa)|0;t=(G|0)>(D|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;o:do if(P&t){C=Pa+E|0;y=C+U|0;R=1.0-Q;Q=aa*R;do if(ha){n[Xa>>2]=Q*+(j[y>>1]|0)+0.0;if(Fa)break;t=y+Ra|0;n[ga>>2]=Q*+(j[t>>1]|0)+0.0;if(Ga)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(j[t>>1]|0);v=v+1|0}while((v|0)!=(Ua|0))}else{n[Xa>>2]=Q*+(h[y+1>>0]<<8|h[y>>0]|0)+0.0;if(Fa)break;t=y+Ra|0;n[fa>>2]=Q*+(h[t+1>>0]<<8|h[t>>0]|0)+0.0;if(Ea)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);x=D+1|0;B=(x|0)<(G|0);t=y+Sa|0;if(B){A=W(G,Sa)|0;if(ha){z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+(j[w>>1]|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}else{z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+(h[w+1>>0]<<8|h[w>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}A=H+A|0}else A=t;Q=aa*S;if(ha){t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(j[v>>1]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[v+1>>0]<<8|h[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}Q=ba*R;w=C+e|0;if(ha){t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(j[v>>1]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[v+1>>0]<<8|h[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}t=w+Sa|0;if(B){z=W(G,Sa)|0;if(ha)while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+(j[v>>1]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}else while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+(h[v+1>>0]<<8|h[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}t=K+z|0}Q=ba*S;if(ha){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(j[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}if(!N)break;if(ha){z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+(R*+(j[v>>1]|0)+S*+(j[w>>1]|0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(Ha|0)){La=494;break}else{y=y+ia|0;t=t+ia|0}}}else{z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+(R*+(h[v+1>>0]<<8|h[v>>0]|0)+S*+(h[w+1>>0]<<8|h[w>>0]|0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(Ha|0)){La=494;break}else{y=y+ia|0;t=t+ia|0}}}}else{if(P){R=S-Q;Q=aa*R;t=Pa+E+U|0;do if(ha){n[Xa>>2]=Q*+(j[t>>1]|0)+0.0;if(Fa)break;v=t+Ra|0;n[$>>2]=Q*+(j[v>>1]|0)+0.0;if(Da)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+Q*+(j[v>>1]|0);w=w+1|0}while((w|0)!=(Ua|0))}else{n[Xa>>2]=Q*+(h[t+1>>0]<<8|h[t>>0]|0)+0.0;if(Fa)break;v=t+Ra|0;n[_>>2]=Q*+(h[v+1>>0]<<8|h[v>>0]|0)+0.0;if(qa)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+Q*+(h[v+1>>0]<<8|h[v>>0]|0);w=w+1|0}while((w|0)!=(Ua|0))}while(0);if(N){if(ha){x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+R*+(j[v>>1]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(Ha|0))}else{x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+R*+(h[v+1>>0]<<8|h[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(Ha|0))}t=J+E|0}Q=ba*R;t=t+Qa|0;if(ha){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(j[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0)){La=494;break o}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=494;break o}else t=t+Ra|0}}}if(!t){Q=T*(S-Q);t=Pa+E+U|0;if(ha){n[Xa>>2]=Q*+(j[t>>1]|0)+0.0;if(Fa){La=494;break}t=t+Ra|0;n[Y>>2]=Q*+(j[t>>1]|0)+0.0;if(ka){La=494;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(j[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0)){La=494;break o}}}else{n[Xa>>2]=Q*+(h[t+1>>0]<<8|h[t>>0]|0)+0.0;if(Fa){La=494;break}t=t+Ra|0;n[X>>2]=Q*+(h[t+1>>0]<<8|h[t>>0]|0)+0.0;if(ja){La=494;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=494;break o}}}}Q=T*(1.0-Q);w=Pa+E+U|0;do if(ha){n[Xa>>2]=Q*+(j[w>>1]|0)+0.0;if(Fa)break;t=w+Ra|0;n[r>>2]=Q*+(j[t>>1]|0)+0.0;if(ma)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(j[t>>1]|0);v=v+1|0}while((v|0)!=(Ua|0))}else{n[Xa>>2]=Q*+(h[w+1>>0]<<8|h[w>>0]|0)+0.0;if(Fa)break;t=w+Ra|0;n[Z>>2]=Q*+(h[t+1>>0]<<8|h[t>>0]|0)+0.0;if(la)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);v=D+1|0;t=w+Sa|0;if((v|0)<(G|0)){y=W(G,Sa)|0;if(ha)while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+T*+(j[w>>1]|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}else while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+T*+(h[w+1>>0]<<8|h[w>>0]|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}t=H+y|0}Q=T*S;if(ha){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(j[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0)){La=494;break}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=494;break}else t=t+Ra|0}}}while(0);do if((La|0)==494){La=0;if(!N)break;A=D+1|0;if((A|0)>=(G|0))break;y=Pa+E+Sa+M|0;z=L;while(1){if(ha){w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +(j[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}else{w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +(h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}z=z+1|0;if((z|0)==(Ha|0))break;else y=y+Qa|0}}while(0);v=W(F+O|0,Ua)|0;t=0;do{d[Ma+(t+v<<1)>>1]=~~(+n[Xa+(t<<2)>>2]/ea);t=t+1|0}while((t|0)!=(Ua|0));Q=da+S;t=Q>1.0;F=F+1|0;if((F|0)==(i|0))break;else{D=G;Ca=S;S=t?Q+-1.0:Q;G=G+Ja+(t&1)|0;Q=Ca}}Q=ca+ba;t=Q>1.0;V=V+1|0;if((V|0)==(k|0))break;else{Ca=ba;ba=t?Q+-1.0:Q;t=(t&1)+Ia+Ha|0;v=Ha;Q=Ca}}}break l}case 5122:{if((i<<1|0)==(e|0)&(k<<1|0)==(g|0))vWa(Ua,e,g,Pa,Ma,Ra,Qa,Sa,A);else{ea=+(g|0)/+(k|0);ba=+(e|0)/Q;Ia=~~+I(+ea);ca=ea-+(Ia|0);Ja=~~+I(+ba);da=ba-+(Ja|0);ea=ba*ea;Ka=g+-1|0;ha=(A|0)==0;ia=Qa+Sa|0;Fa=(Ua|0)==1;ga=Xa+4|0;Ga=(Ua|0)==2;fa=Xa+4|0;Ea=(Ua|0)==2;$=Xa+4|0;Da=(Ua|0)==2;_=Xa+4|0;qa=(Ua|0)==2;r=Xa+4|0;ma=(Ua|0)==2;Z=Xa+4|0;la=(Ua|0)==2;Y=Xa+4|0;ka=(Ua|0)==2;X=Xa+4|0;ja=(Ua|0)==2;V=0;ba=ca;Q=0.0;t=Ia;v=0;while(1){Ha=(t|0)<(g|0)?t:Ka;P=(Ha|0)>(v|0);aa=1.0-Q;U=W(v,Qa)|0;L=v+1|0;M=W(L,Qa)|0;N=(L|0)<(Ha|0);O=W(V,i)|0;T=ba-Q;e=W(Ha,Qa)|0;H=Pa+U|0;J=Pa+(W(Ha+-1|0,Qa)|0)|0;K=Pa+e|0;F=0;S=da;Q=0.0;G=Ja;D=0;while(1){E=W(D,Sa)|0;t=(G|0)>(D|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;p:do if(P&t){C=Pa+E|0;y=C+U|0;R=1.0-Q;Q=aa*R;do if(ha){n[Xa>>2]=Q*+(d[y>>1]|0)+0.0;if(Fa)break;t=y+Ra|0;n[ga>>2]=Q*+(d[t>>1]|0)+0.0;if(Ga)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(d[t>>1]|0);v=v+1|0}while((v|0)!=(Ua|0))}else{n[Xa>>2]=Q*+((h[y+1>>0]<<8|h[y>>0])<<16>>16|0)+0.0;if(Fa)break;t=y+Ra|0;n[fa>>2]=Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0)+0.0;if(Ea)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);x=D+1|0;B=(x|0)<(G|0);t=y+Sa|0;if(B){A=W(G,Sa)|0;if(ha){z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+(d[w>>1]|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}else{z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+((h[w+1>>0]<<8|h[w>>0])<<16>>16|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}A=H+A|0}else A=t;Q=aa*S;if(ha){t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(d[v>>1]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[v+1>>0]<<8|h[v>>0])<<16>>16|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}Q=ba*R;w=C+e|0;if(ha){t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(d[v>>1]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[v+1>>0]<<8|h[v>>0])<<16>>16|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}t=w+Sa|0;if(B){z=W(G,Sa)|0;if(ha)while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+(d[v>>1]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}else while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+((h[v+1>>0]<<8|h[v>>0])<<16>>16|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}t=K+z|0}Q=ba*S;if(ha){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(d[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}if(!N)break;if(ha){z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+(R*+(d[v>>1]|0)+S*+(d[w>>1]|0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(Ha|0)){La=634;break}else{y=y+ia|0;t=t+ia|0}}}else{z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;Ca=+n[cb>>2]+R*+((h[v+1>>0]<<8|h[v>>0])<<16>>16|0);n[cb>>2]=Ca;n[cb>>2]=Ca+S*+((h[w+1>>0]<<8|h[w>>0])<<16>>16|0);x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(Ha|0)){La=634;break}else{y=y+ia|0;t=t+ia|0}}}}else{if(P){R=S-Q;Q=aa*R;t=Pa+E+U|0;do if(ha){n[Xa>>2]=Q*+(d[t>>1]|0)+0.0;if(Fa)break;v=t+Ra|0;n[$>>2]=Q*+(d[v>>1]|0)+0.0;if(Da)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+Q*+(d[v>>1]|0);w=w+1|0}while((w|0)!=(Ua|0))}else{n[Xa>>2]=Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0)+0.0;if(Fa)break;v=t+Ra|0;n[_>>2]=Q*+((h[v+1>>0]<<8|h[v>>0])<<16>>16|0)+0.0;if(qa)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+Q*+((h[v+1>>0]<<8|h[v>>0])<<16>>16|0);w=w+1|0}while((w|0)!=(Ua|0))}while(0);if(N){if(ha){x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+R*+(d[v>>1]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(Ha|0))}else{x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+R*+((h[v+1>>0]<<8|h[v>>0])<<16>>16|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(Ha|0))}t=J+E|0}Q=ba*R;t=t+Qa|0;if(ha){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(d[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0)){La=634;break p}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0);v=v+1|0;if((v|0)==(Ua|0)){La=634;break p}else t=t+Ra|0}}}if(!t){Q=T*(S-Q);t=Pa+E+U|0;if(ha){n[Xa>>2]=Q*+(d[t>>1]|0)+0.0;if(Fa){La=634;break}t=t+Ra|0;n[Y>>2]=Q*+(d[t>>1]|0)+0.0;if(ka){La=634;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(d[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0)){La=634;break p}}}else{n[Xa>>2]=Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0)+0.0;if(Fa){La=634;break}t=t+Ra|0;n[X>>2]=Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0)+0.0;if(ja){La=634;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0);v=v+1|0;if((v|0)==(Ua|0)){La=634;break p}}}}Q=T*(1.0-Q);w=Pa+E+U|0;do if(ha){n[Xa>>2]=Q*+(d[w>>1]|0)+0.0;if(Fa)break;t=w+Ra|0;n[r>>2]=Q*+(d[t>>1]|0)+0.0;if(ma)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+(d[t>>1]|0);v=v+1|0}while((v|0)!=(Ua|0))}else{n[Xa>>2]=Q*+((h[w+1>>0]<<8|h[w>>0])<<16>>16|0)+0.0;if(Fa)break;t=w+Ra|0;n[Z>>2]=Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0)+0.0;if(la)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0);v=v+1|0}while((v|0)!=(Ua|0))}while(0);v=D+1|0;t=w+Sa|0;if((v|0)<(G|0)){y=W(G,Sa)|0;if(ha)while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+T*+(d[w>>1]|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}else while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+T*+((h[w+1>>0]<<8|h[w>>0])<<16>>16|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}t=H+y|0}Q=T*S;if(ha){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(d[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0)){La=634;break}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[t+1>>0]<<8|h[t>>0])<<16>>16|0);v=v+1|0;if((v|0)==(Ua|0)){La=634;break}else t=t+Ra|0}}}while(0);do if((La|0)==634){La=0;if(!N)break;A=D+1|0;B=(A|0)<(G|0);y=Pa+E+Sa+M|0;z=L;while(1){if(B)if(ha){w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +(d[t>>1]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}else{w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +((h[t+1>>0]<<8|h[t>>0])<<16>>16|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}z=z+1|0;if((z|0)==(Ha|0))break;else y=y+Qa|0}}while(0);v=W(F+O|0,Ua)|0;t=0;do{d[Ma+(t+v<<1)>>1]=~~(+n[Xa+(t<<2)>>2]/ea);t=t+1|0}while((t|0)!=(Ua|0));Q=da+S;t=Q>1.0;F=F+1|0;if((F|0)==(i|0))break;else{D=G;Ca=S;S=t?Q+-1.0:Q;G=G+Ja+(t&1)|0;Q=Ca}}Q=ca+ba;t=Q>1.0;V=V+1|0;if((V|0)==(k|0))break;else{Ca=ba;ba=t?Q+-1.0:Q;t=(t&1)+Ia+Ha|0;v=Ha;Q=Ca}}}break l}default:_a(462411,434242,4356,445074)}if((m|0)>=5126){if((m|0)>=32818)switch(m|0){case 32818:{do if((i<<1|0)==(e|0)&(k<<1|0)==(g|0)){K=(e|0)==1;J=(g|0)==1;if(!(K|J)){G=(e|0)/2|0;H=(g|0)/2|0;t=W(Ra,e)|0;E=Qa-t|0;do if((g|0)>1){F=Ra<<1;if((e|0)<=1){v=0;t=Pa+(W((Qa<<1)-t|0,H)|0)|0;break}A=G<<1;D=W(A+-2|0,Ra)|0;C=x<<1;C=(W((W(Ua,v+(z<<1)|0)|0)+A-e|0,Ra)|0)+y+(W(H+-1|0,(W(((W(z,Ua)|0)<<1)+A-e|0,Ra)|0)+C|0)|0)+C|0;A=L+4|0;B=L+8|0;t=0;v=0;w=Pa;while(1){x=0;y=w;z=t;while(1){cb=h[y>>0]|0;La=h[y+Ra>>0]|0;Ja=y+Qa|0;Ka=h[Ja>>0]|0;Ja=h[Ja+Ra>>0]|0;n[L>>2]=(+(Ja>>>5|0)/7.0+(+(Ka>>>5|0)/7.0+(+(La>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))))*.25;n[A>>2]=(+(Ja>>>2&7|0)/7.0+(+(Ka>>>2&7|0)/7.0+(+(La>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))))*.25;n[B>>2]=(+(Ja&3|0)/3.0+(+(Ka&3|0)/3.0+(+(La&3|0)/3.0+(+(cb&3|0)/3.0+0.0))))*.25;hLa(L,z,Ma);x=x+1|0;if((x|0)==(G|0))break;else{y=y+F|0;z=z+1|0}}v=v+1|0;if((v|0)==(H|0))break;else{t=t+G|0;w=w+D+F+E+Qa|0}}v=W(H,G)|0;t=r+C|0}else{v=0;t=Pa}while(0);if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6577,445173);if((v|0)==(W(H,G)|0))break;_a(445293,434242,6578,445173)}if(K&J)_a(445144,434242,6508,445173);B=(e|0)/2|0;A=(g|0)/2|0;if((e|0)==(g|0))_a(445195,434242,6598,445211);if(!J){if(!K)break;if((g|0)>1){w=Qa<<1;z=A<<1;x=L+4|0;y=L+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;La=h[v+Qa>>0]|0;n[L>>2]=(+(La>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))*.5;n[x>>2]=(+(La>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))*.5;n[y>>2]=(+(La&3|0)/3.0+(+(cb&3|0)/3.0+0.0))*.5;hLa(L,t,Ma);t=t+1|0;if((t|0)==(A|0))break;else v=v+w|0}v=A;t=Pa+(W(z,Qa)|0)|0}else{v=0;t=Pa}if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6684,445211);if((v|0)==(A|0))break;_a(445293,434242,6685,445211)}if(K)_a(445235,434242,6603,445211);if((e|0)>1){w=Ra<<1;z=B<<1;x=L+4|0;y=L+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;La=h[v+Ra>>0]|0;n[L>>2]=(+(La>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))*.5;n[x>>2]=(+(La>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))*.5;n[y>>2]=(+(La&3|0)/3.0+(+(cb&3|0)/3.0+0.0))*.5;hLa(L,t,Ma);t=t+1|0;if((t|0)==(B|0))break;else v=v+w|0}v=B;t=Pa+(W(z,Ra)|0)|0}else{v=0;t=Pa}if((t+(Qa-(W(Ra,e)|0))|0)!=(Pa+Qa|0))_a(445246,434242,6643,445211);if((v|0)==(B|0))break;_a(445293,434242,6644,445211)}else{pa=+(g|0)/+(k|0);ea=+(e|0)/Q;P=~~+I(+pa);na=pa-+(P|0);U=~~+I(+ea);oa=ea-+(U|0);pa=ea*pa;V=Ya+4|0;X=Ya+8|0;Y=Za+4|0;Z=Za+8|0;r=Xa+4|0;_=Xa+8|0;$=Da+4|0;fa=Da+8|0;ga=Xa+4|0;ha=Xa+8|0;ia=Xa+4|0;ja=Xa+8|0;ka=Xa+4|0;la=Xa+8|0;ma=Xa+4|0;qa=Xa+8|0;N=0;ea=na;Q=0.0;O=P;t=0;while(1){L=(O|0)>(t|0);da=1.0-Q;M=W(t,Qa)|0;e=t+1|0;H=W(e,Qa)|0;J=(e|0)<(O|0);K=W(N,i)|0;ca=ea-Q;E=W(O,Qa)|0;F=Pa+M|0;G=Pa+(W(O+-1|0,Qa)|0)|0;g=Pa+E|0;C=0;ba=oa;Q=0.0;D=U;A=0;while(1){B=W(A,Ra)|0;t=(D|0)>(A|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;do if(L&t){y=Pa+B|0;v=y+M|0;aa=1.0-Q;Ca=da*aa;x=h[v>>0]|0;R=+(x>>>5|0)/7.0;n[Ya>>2]=R;T=+(x>>>2&7|0)/7.0;n[V>>2]=T;Q=+(x&3|0)/3.0;n[X>>2]=Q;R=Ca*R+0.0;n[Xa>>2]=R;T=Ca*T+0.0;n[r>>2]=T;Q=Ca*Q+0.0;n[_>>2]=Q;x=A+1|0;z=(x|0)<(D|0);t=v+Ra|0;if(z){w=x;while(1){cb=h[t>>0]|0;ya=+(cb>>>5|0)/7.0;n[Ya>>2]=ya;Aa=+(cb>>>2&7|0)/7.0;n[V>>2]=Aa;Ca=+(cb&3|0)/3.0;n[X>>2]=Ca;R=R+da*ya;n[Xa>>2]=R;T=T+da*Aa;n[r>>2]=T;Q=Q+da*Ca;n[_>>2]=Q;w=w+1|0;if((w|0)==(D|0))break;else t=t+Ra|0}t=F+(W(D,Ra)|0)|0}ya=da*ba;cb=h[t>>0]|0;Aa=ea*aa;w=y+E|0;Ka=h[w>>0]|0;S=+(Ka>>>5|0)/7.0;n[Ya>>2]=S;wa=+(Ka>>>2&7|0)/7.0;n[V>>2]=wa;Ca=+(Ka&3|0)/3.0;n[X>>2]=Ca;S=R+ya*(+(cb>>>5|0)/7.0)+Aa*S;n[Xa>>2]=S;R=T+ya*(+(cb>>>2&7|0)/7.0)+Aa*wa;n[r>>2]=R;Q=Q+ya*(+(cb&3|0)/3.0)+Aa*Ca;n[_>>2]=Q;w=w+Ra|0;if(z){while(1){cb=h[w>>0]|0;ya=+(cb>>>5|0)/7.0;n[Ya>>2]=ya;Aa=+(cb>>>2&7|0)/7.0;n[V>>2]=Aa;Ca=+(cb&3|0)/3.0;n[X>>2]=Ca;S=S+ea*ya;n[Xa>>2]=S;R=R+ea*Aa;n[r>>2]=R;Q=Q+ea*Ca;n[_>>2]=Q;x=x+1|0;if((x|0)==(D|0))break;else w=w+Ra|0}w=g+(W(D,Ra)|0)|0}Aa=ea*ba;cb=h[w>>0]|0;wa=+(cb>>>5|0)/7.0;n[Ya>>2]=wa;ya=+(cb>>>2&7|0)/7.0;n[V>>2]=ya;Ca=+(cb&3|0)/3.0;n[X>>2]=Ca;S=S+Aa*wa;n[Xa>>2]=S;R=R+Aa*ya;n[r>>2]=R;Q=Q+Aa*Ca;n[_>>2]=Q;if(!J){Ba=S;za=R;xa=Q;break}w=e;do{v=v+Qa|0;t=t+Qa|0;cb=h[v>>0]|0;ua=+(cb>>>5|0)/7.0;n[Ya>>2]=ua;wa=+(cb>>>2&7|0)/7.0;n[V>>2]=wa;Aa=+(cb&3|0)/3.0;n[X>>2]=Aa;cb=h[t>>0]|0;va=+(cb>>>5|0)/7.0;n[Za>>2]=va;ya=+(cb>>>2&7|0)/7.0;n[Y>>2]=ya;Ca=+(cb&3|0)/3.0;n[Z>>2]=Ca;S=S+(aa*ua+ba*va);n[Xa>>2]=S;R=R+(aa*wa+ba*ya);n[r>>2]=R;Q=Q+(aa*Aa+ba*Ca);n[_>>2]=Q;w=w+1|0}while((w|0)!=(O|0));va=Q;ta=R;ra=S;La=1125}else{if(L){T=ba-Q;Ca=da*T;t=Pa+B+M|0;cb=h[t>>0]|0;S=+(cb>>>5|0)/7.0;n[Ya>>2]=S;R=+(cb>>>2&7|0)/7.0;n[V>>2]=R;Q=+(cb&3|0)/3.0;n[X>>2]=Q;S=Ca*S+0.0;n[Xa>>2]=S;R=Ca*R+0.0;n[ga>>2]=R;Q=Ca*Q+0.0;n[ha>>2]=Q;if(J){v=e;do{t=t+Qa|0;cb=h[t>>0]|0;ya=+(cb>>>5|0)/7.0;n[Ya>>2]=ya;Aa=+(cb>>>2&7|0)/7.0;n[V>>2]=Aa;Ca=+(cb&3|0)/3.0;n[X>>2]=Ca;S=S+T*ya;n[Xa>>2]=S;R=R+T*Aa;n[ga>>2]=R;Q=Q+T*Ca;n[ha>>2]=Q;v=v+1|0}while((v|0)!=(O|0));t=G+B|0}Ca=ea*T;La=h[t+Qa>>0]|0;ra=+(La>>>5|0)/7.0;n[Ya>>2]=ra;ta=+(La>>>2&7|0)/7.0;n[V>>2]=ta;va=+(La&3|0)/3.0;n[X>>2]=va;ra=S+Ca*ra;n[Xa>>2]=ra;ta=R+Ca*ta;n[ga>>2]=ta;va=Q+Ca*va;n[ha>>2]=va;La=1125;break}if(!t){Ca=ca*(ba-Q);La=h[Pa+B+M>>0]|0;ra=+(La>>>5|0)/7.0;n[Ya>>2]=ra;ta=+(La>>>2&7|0)/7.0;n[V>>2]=ta;va=+(La&3|0)/3.0;n[X>>2]=va;ra=Ca*ra+0.0;n[Xa>>2]=ra;ta=Ca*ta+0.0;n[ma>>2]=ta;va=Ca*va+0.0;n[qa>>2]=va;La=1125;break}Ca=ca*(1.0-Q);v=Pa+B+M|0;t=h[v>>0]|0;S=+(t>>>5|0)/7.0;n[Ya>>2]=S;R=+(t>>>2&7|0)/7.0;n[V>>2]=R;Q=+(t&3|0)/3.0;n[X>>2]=Q;S=Ca*S+0.0;n[Xa>>2]=S;R=Ca*R+0.0;n[ka>>2]=R;Q=Ca*Q+0.0;n[la>>2]=Q;t=A+1|0;v=v+Ra|0;if((t|0)<(D|0)){while(1){cb=h[v>>0]|0;ya=+(cb>>>5|0)/7.0;n[Ya>>2]=ya;Aa=+(cb>>>2&7|0)/7.0;n[V>>2]=Aa;Ca=+(cb&3|0)/3.0;n[X>>2]=Ca;S=S+ca*ya;n[Xa>>2]=S;R=R+ca*Aa;n[ka>>2]=R;Q=Q+ca*Ca;n[la>>2]=Q;t=t+1|0;if((t|0)==(D|0))break;else v=v+Ra|0}v=F+(W(D,Ra)|0)|0}Ca=ca*ba;La=h[v>>0]|0;ra=+(La>>>5|0)/7.0;n[Ya>>2]=ra;ta=+(La>>>2&7|0)/7.0;n[V>>2]=ta;va=+(La&3|0)/3.0;n[X>>2]=va;ra=S+Ca*ra;n[Xa>>2]=ra;ta=R+Ca*ta;n[ka>>2]=ta;va=Q+Ca*va;n[la>>2]=va;La=1125}while(0);do if((La|0)==1125){La=0;if(!J){Ba=ra;za=ta;xa=va;break}y=A+1|0;if((y|0)>=(D|0)){Ba=ra;za=ta;xa=va;break}t=Pa+B+Ra+H|0;v=e;S=va;R=ta;Q=ra;while(1){w=y;x=t;while(1){cb=h[x>>0]|0;Aa=+(cb>>>5|0)/7.0;n[Ya>>2]=Aa;Ba=+(cb>>>2&7|0)/7.0;n[V>>2]=Ba;Ca=+(cb&3|0)/3.0;n[X>>2]=Ca;Q=Aa+Q;n[Xa>>2]=Q;R=Ba+R;n[ia>>2]=R;S=Ca+S;n[ja>>2]=S;w=w+1|0;if((w|0)==(D|0))break;else x=x+Ra|0}v=v+1|0;if((v|0)==(O|0)){Ba=Q;za=R;xa=S;break}else t=t+Qa|0}}while(0);n[Da>>2]=Ba/pa;n[$>>2]=za/pa;n[fa>>2]=xa/pa;hLa(Da,C+K|0,Ma);Q=oa+ba;t=Q>1.0;C=C+1|0;if((C|0)==(i|0))break;else{A=D;Ca=ba;ba=t?Q+-1.0:Q;D=D+U+(t&1)|0;Q=Ca}}Q=na+ea;t=Q>1.0;N=N+1|0;if((N|0)==(k|0))break;else{cb=O;Ca=ea;ea=t?Q+-1.0:Q;O=O+P+(t&1)|0;t=cb;Q=Ca}}}while(0);break l}case 32819:{KWa(4,220,221,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}default:_a(462411,434242,4356,445074)}switch(m|0){case 5126:break;default:_a(462411,434242,4356,445074)}if((i<<1|0)==(e|0)&(k<<1|0)==(g|0))yWa(Ua,e,g,Pa,Ma,Ra,Qa,Sa,A);else{na=+(g|0)/+(k|0);ca=+(e|0)/Q;la=~~+I(+na);da=na-+(la|0);ma=~~+I(+ca);ea=ca-+(ma|0);na=ca*na;qa=g+-1|0;_=(A|0)==0;$=Qa+Sa|0;ia=(Ua|0)==1;r=Xa+4|0;ja=(Ua|0)==2;Z=Xa+4|0;ha=(Ua|0)==2;Y=Xa+4|0;ga=(Ua|0)==2;X=Xa+4|0;fa=(Ua|0)==2;V=0;ca=da;Q=0.0;t=la;v=0;while(1){ka=(t|0)<(g|0)?t:qa;P=(ka|0)>(v|0);ba=1.0-Q;U=W(v,Qa)|0;L=v+1|0;M=W(L,Qa)|0;N=(L|0)<(ka|0);O=W(V,i)|0;aa=ca-Q;e=W(ka,Qa)|0;H=Pa+U|0;J=Pa+(W(ka+-1|0,Qa)|0)|0;K=Pa+e|0;F=0;T=ea;Q=0.0;G=ma;D=0;while(1){E=W(D,Sa)|0;t=(G|0)>(D|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;q:do if(P&t){C=Pa+E|0;y=C+U|0;S=1.0-Q;R=ba*S;r:do if(_){n[Xa>>2]=R*+n[y>>2]+0.0;if(ia)break;t=y+Ra|0;n[r>>2]=R*+n[t>>2]+0.0;if(ja)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+n[t>>2];v=v+1|0}while((v|0)!=(Ua|0))}else{v=0;w=y;Q=0.0;while(1){n[Xa+(v<<2)>>2]=Q+R*(f[s>>2]=h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0],+n[s>>2]);t=v+1|0;if((t|0)==(Ua|0))break r;v=t;w=w+Ra|0;Q=+n[Xa+(t<<2)>>2]}}while(0);x=D+1|0;B=(x|0)<(G|0);t=y+Sa|0;if(B){A=W(G,Sa)|0;if(_){z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+n[w>>2];v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}else{z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ba*(f[s>>2]=h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0],+n[s>>2]);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}A=H+A|0}else A=t;Q=ba*T;if(_){t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+n[v>>2];t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*(f[s>>2]=h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0],+n[s>>2]);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}Q=ca*S;w=C+e|0;if(_){t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+n[v>>2];t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*(f[s>>2]=h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0],+n[s>>2]);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}t=w+Sa|0;if(B){z=W(G,Sa)|0;if(_)while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ca*+n[v>>2];w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}else while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ca*(f[s>>2]=h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0],+n[s>>2]);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}t=K+z|0}Q=ca*T;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+n[t>>2];v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*(f[s>>2]=h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0],+n[s>>2]);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}if(!N)break;if(_){z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+(S*+n[v>>2]+T*+n[w>>2]);x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ka|0)){La=1042;break}else{y=y+$|0;t=t+$|0}}}else{z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;Ca=+n[cb>>2]+S*(f[s>>2]=h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0],+n[s>>2]);n[cb>>2]=Ca;n[cb>>2]=Ca+T*(f[s>>2]=h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0],+n[s>>2]);x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ka|0)){La=1042;break}else{y=y+$|0;t=t+$|0}}}}else{if(P){S=T-Q;R=ba*S;t=Pa+E+U|0;s:do if(_){n[Xa>>2]=R*+n[t>>2]+0.0;if(ia)break;v=t+Ra|0;n[Z>>2]=R*+n[v>>2]+0.0;if(ha)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+R*+n[v>>2];w=w+1|0}while((w|0)!=(Ua|0))}else{w=t;x=0;Q=0.0;while(1){n[Xa+(x<<2)>>2]=Q+R*(f[s>>2]=h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0],+n[s>>2]);v=x+1|0;if((v|0)==(Ua|0))break s;w=w+Ra|0;x=v;Q=+n[Xa+(v<<2)>>2]}}while(0);if(N){if(_){x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+S*+n[v>>2];w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ka|0))}else{x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+S*(f[s>>2]=h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0],+n[s>>2]);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ka|0))}t=J+E|0}Q=ca*S;t=t+Qa|0;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+n[t>>2];v=v+1|0;if((v|0)==(Ua|0)){La=1042;break q}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*(f[s>>2]=h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0],+n[s>>2]);v=v+1|0;if((v|0)==(Ua|0)){La=1042;break q}else t=t+Ra|0}}}if(!t){R=aa*(T-Q);t=Pa+E+U|0;if(!_){w=0;Q=0.0;while(1){n[Xa+(w<<2)>>2]=Q+R*(f[s>>2]=h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0],+n[s>>2]);v=w+1|0;if((v|0)==(Ua|0)){La=1042;break q}t=t+Ra|0;w=v;Q=+n[Xa+(v<<2)>>2]}}n[Xa>>2]=R*+n[t>>2]+0.0;if(ia){La=1042;break}t=t+Ra|0;n[X>>2]=R*+n[t>>2]+0.0;if(fa){La=1042;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+n[t>>2];v=v+1|0;if((v|0)==(Ua|0)){La=1042;break q}}}R=aa*(1.0-Q);x=Pa+E+U|0;t:do if(_){n[Xa>>2]=R*+n[x>>2]+0.0;if(ia)break;t=x+Ra|0;n[Y>>2]=R*+n[t>>2]+0.0;if(ga)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+n[t>>2];v=v+1|0}while((v|0)!=(Ua|0))}else{v=0;w=x;Q=0.0;while(1){n[Xa+(v<<2)>>2]=Q+R*(f[s>>2]=h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0],+n[s>>2]);t=v+1|0;if((t|0)==(Ua|0))break t;v=t;w=w+Ra|0;Q=+n[Xa+(t<<2)>>2]}}while(0);v=D+1|0;t=x+Sa|0;if((v|0)<(G|0)){y=W(G,Sa)|0;if(_)while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+n[w>>2];x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}else while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+aa*(f[s>>2]=h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0],+n[s>>2]);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}t=H+y|0}Q=aa*T;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+n[t>>2];v=v+1|0;if((v|0)==(Ua|0)){La=1042;break}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*(f[s>>2]=h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0],+n[s>>2]);v=v+1|0;if((v|0)==(Ua|0)){La=1042;break}else t=t+Ra|0}}}while(0);do if((La|0)==1042){La=0;if(!N)break;A=D+1|0;if((A|0)>=(G|0))break;y=Pa+E+Sa+M|0;z=L;while(1){if(_){w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[t>>2]+ +n[cb>>2];v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}else{w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+(f[s>>2]=h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0],+n[s>>2]);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}z=z+1|0;if((z|0)==(ka|0))break;else y=y+Qa|0}}while(0);v=W(F+O|0,Ua)|0;t=0;do{n[Ma+(t+v<<2)>>2]=+n[Xa+(t<<2)>>2]/na;t=t+1|0}while((t|0)!=(Ua|0));Q=ea+T;t=Q>1.0;F=F+1|0;if((F|0)==(i|0))break;else{D=G;Ca=T;T=t?Q+-1.0:Q;G=G+ma+(t&1)|0;Q=Ca}}Q=da+ca;t=Q>1.0;V=V+1|0;if((V|0)==(k|0))break;else{Ca=ca;ca=t?Q+-1.0:Q;t=(t&1)+la+ka|0;v=ka;Q=Ca}}}break}switch(m|0){case 5125:{if((i<<1|0)==(e|0)&(k<<1|0)==(g|0))wWa(Ua,e,g,Pa,Ma,Ra,Qa,Sa,A);else{na=+(g|0)/+(k|0);ca=+(e|0)/Q;la=~~+I(+na);da=na-+(la|0);ma=~~+I(+ca);ea=ca-+(ma|0);na=ca*na;qa=g+-1|0;_=(A|0)==0;$=Qa+Sa|0;ia=(Ua|0)==1;r=Xa+4|0;ja=(Ua|0)==2;Z=Xa+4|0;ha=(Ua|0)==2;Y=Xa+4|0;ga=(Ua|0)==2;X=Xa+4|0;fa=(Ua|0)==2;V=0;ca=da;Q=0.0;t=la;v=0;while(1){ka=(t|0)<(g|0)?t:qa;P=(ka|0)>(v|0);ba=1.0-Q;U=W(v,Qa)|0;L=v+1|0;M=W(L,Qa)|0;N=(L|0)<(ka|0);O=W(V,i)|0;aa=ca-Q;e=W(ka,Qa)|0;H=Pa+U|0;J=Pa+(W(ka+-1|0,Qa)|0)|0;K=Pa+e|0;F=0;T=ea;Q=0.0;G=ma;D=0;while(1){E=W(D,Sa)|0;t=(G|0)>(D|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;u:do if(P&t){C=Pa+E|0;y=C+U|0;S=1.0-Q;R=ba*S;v:do if(_){n[Xa>>2]=R*+((f[y>>2]|0)>>>0)+0.0;if(ia)break;t=y+Ra|0;n[r>>2]=R*+((f[t>>2]|0)>>>0)+0.0;if(ja)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+((f[t>>2]|0)>>>0);v=v+1|0}while((v|0)!=(Ua|0))}else{v=0;w=y;Q=0.0;while(1){n[Xa+(v<<2)>>2]=Q+R*+((h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0])>>>0);t=v+1|0;if((t|0)==(Ua|0))break v;v=t;w=w+Ra|0;Q=+n[Xa+(t<<2)>>2]}}while(0);x=D+1|0;B=(x|0)<(G|0);t=y+Sa|0;if(B){A=W(G,Sa)|0;if(_){z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+((f[w>>2]|0)>>>0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}else{z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+((h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0])>>>0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}A=H+A|0}else A=t;Q=ba*T;if(_){t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((f[v>>2]|0)>>>0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0])>>>0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}Q=ca*S;w=C+e|0;if(_){t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((f[v>>2]|0)>>>0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0])>>>0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}t=w+Sa|0;if(B){z=W(G,Sa)|0;if(_)while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ca*+((f[v>>2]|0)>>>0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}else while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ca*+((h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0])>>>0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}t=K+z|0}Q=ca*T;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((f[t>>2]|0)>>>0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0])>>>0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}if(!N)break;if(_){z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+(S*+((f[v>>2]|0)>>>0)+T*+((f[w>>2]|0)>>>0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ka|0)){La=770;break}else{y=y+$|0;t=t+$|0}}}else{z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+(S*+((h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0])>>>0)+T*+((h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0])>>>0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ka|0)){La=770;break}else{y=y+$|0;t=t+$|0}}}}else{if(P){S=T-Q;R=ba*S;t=Pa+E+U|0;w:do if(_){n[Xa>>2]=R*+((f[t>>2]|0)>>>0)+0.0;if(ia)break;v=t+Ra|0;n[Z>>2]=R*+((f[v>>2]|0)>>>0)+0.0;if(ha)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+R*+((f[v>>2]|0)>>>0);w=w+1|0}while((w|0)!=(Ua|0))}else{w=t;x=0;Q=0.0;while(1){n[Xa+(x<<2)>>2]=Q+R*+((h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0])>>>0);v=x+1|0;if((v|0)==(Ua|0))break w;w=w+Ra|0;x=v;Q=+n[Xa+(v<<2)>>2]}}while(0);if(N){if(_){x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+S*+((f[v>>2]|0)>>>0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ka|0))}else{x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+S*+((h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0])>>>0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ka|0))}t=J+E|0}Q=ca*S;t=t+Qa|0;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((f[t>>2]|0)>>>0);v=v+1|0;if((v|0)==(Ua|0)){La=770;break u}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0])>>>0);v=v+1|0;if((v|0)==(Ua|0)){La=770;break u}else t=t+Ra|0}}}if(!t){R=aa*(T-Q);t=Pa+E+U|0;if(!_){w=0;Q=0.0;while(1){n[Xa+(w<<2)>>2]=Q+R*+((h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0])>>>0);v=w+1|0;if((v|0)==(Ua|0)){La=770;break u}t=t+Ra|0;w=v;Q=+n[Xa+(v<<2)>>2]}}n[Xa>>2]=R*+((f[t>>2]|0)>>>0)+0.0;if(ia){La=770;break}t=t+Ra|0;n[X>>2]=R*+((f[t>>2]|0)>>>0)+0.0;if(fa){La=770;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+((f[t>>2]|0)>>>0);v=v+1|0;if((v|0)==(Ua|0)){La=770;break u}}}R=aa*(1.0-Q);x=Pa+E+U|0;x:do if(_){n[Xa>>2]=R*+((f[x>>2]|0)>>>0)+0.0;if(ia)break;t=x+Ra|0;n[Y>>2]=R*+((f[t>>2]|0)>>>0)+0.0;if(ga)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+((f[t>>2]|0)>>>0);v=v+1|0}while((v|0)!=(Ua|0))}else{v=0;w=x;Q=0.0;while(1){n[Xa+(v<<2)>>2]=Q+R*+((h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0])>>>0);t=v+1|0;if((t|0)==(Ua|0))break x;v=t;w=w+Ra|0;Q=+n[Xa+(t<<2)>>2]}}while(0);v=D+1|0;t=x+Sa|0;if((v|0)<(G|0)){y=W(G,Sa)|0;if(_)while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+((f[w>>2]|0)>>>0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}else while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+((h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0])>>>0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}t=H+y|0}Q=aa*T;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((f[t>>2]|0)>>>0);v=v+1|0;if((v|0)==(Ua|0)){La=770;break}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+((h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0])>>>0);v=v+1|0;if((v|0)==(Ua|0)){La=770;break}else t=t+Ra|0}}}while(0);do if((La|0)==770){La=0;if(!N)break;A=D+1|0;if((A|0)>=(G|0))break;y=Pa+E+Sa+M|0;z=L;while(1){if(_){w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +((f[t>>2]|0)>>>0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}else{w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +((h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0])>>>0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}z=z+1|0;if((z|0)==(ka|0))break;else y=y+Qa|0}}while(0);v=W(F+O|0,Ua)|0;t=0;do{Ca=+n[Xa+(t<<2)>>2]/na;f[Ma+(t+v<<2)>>2]=!(Ca>=4294967296.0)?~~Ca>>>0:-1;t=t+1|0}while((t|0)!=(Ua|0));Q=ea+T;t=Q>1.0;F=F+1|0;if((F|0)==(i|0))break;else{D=G;Ca=T;T=t?Q+-1.0:Q;G=G+ma+(t&1)|0;Q=Ca}}Q=da+ca;t=Q>1.0;V=V+1|0;if((V|0)==(k|0))break;else{Ca=ca;ca=t?Q+-1.0:Q;t=(t&1)+la+ka|0;v=ka;Q=Ca}}}break l}case 5124:{if((i<<1|0)==(e|0)&(k<<1|0)==(g|0))xWa(Ua,e,g,Pa,Ma,Ra,Qa,Sa,A);else{na=+(g|0)/+(k|0);ca=+(e|0)/Q;la=~~+I(+na);da=na-+(la|0);ma=~~+I(+ca);ea=ca-+(ma|0);na=ca*na;qa=g+-1|0;_=(A|0)==0;$=Qa+Sa|0;ia=(Ua|0)==1;r=Xa+4|0;ja=(Ua|0)==2;Z=Xa+4|0;ha=(Ua|0)==2;Y=Xa+4|0;ga=(Ua|0)==2;X=Xa+4|0;fa=(Ua|0)==2;V=0;ca=da;Q=0.0;t=la;v=0;while(1){ka=(t|0)<(g|0)?t:qa;P=(ka|0)>(v|0);ba=1.0-Q;U=W(v,Qa)|0;L=v+1|0;M=W(L,Qa)|0;N=(L|0)<(ka|0);O=W(V,i)|0;aa=ca-Q;e=W(ka,Qa)|0;H=Pa+U|0;J=Pa+(W(ka+-1|0,Qa)|0)|0;K=Pa+e|0;F=0;T=ea;Q=0.0;G=ma;D=0;while(1){E=W(D,Sa)|0;t=(G|0)>(D|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;y:do if(P&t){C=Pa+E|0;y=C+U|0;S=1.0-Q;R=ba*S;z:do if(_){n[Xa>>2]=R*+(f[y>>2]|0)+0.0;if(ia)break;t=y+Ra|0;n[r>>2]=R*+(f[t>>2]|0)+0.0;if(ja)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+(f[t>>2]|0);v=v+1|0}while((v|0)!=(Ua|0))}else{v=0;w=y;Q=0.0;while(1){n[Xa+(v<<2)>>2]=Q+R*+(h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0]|0);t=v+1|0;if((t|0)==(Ua|0))break z;v=t;w=w+Ra|0;Q=+n[Xa+(t<<2)>>2]}}while(0);x=D+1|0;B=(x|0)<(G|0);t=y+Sa|0;if(B){A=W(G,Sa)|0;if(_){z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+(f[w>>2]|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}else{z=x;while(1){v=0;w=t;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ba*+(h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else w=w+Ra|0}z=z+1|0;if((z|0)==(G|0))break;else t=t+Sa|0}}A=H+A|0}else A=t;Q=ba*T;if(_){t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(f[v>>2]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=A;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}Q=ca*S;w=C+e|0;if(_){t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(f[v>>2]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}else{t=0;v=w;while(1){cb=Xa+(t<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0]|0);t=t+1|0;if((t|0)==(Ua|0))break;else v=v+Ra|0}}t=w+Sa|0;if(B){z=W(G,Sa)|0;if(_)while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ca*+(f[v>>2]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}else while(1){v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+ca*+(h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0;if((x|0)==(G|0))break;else t=t+Sa|0}t=K+z|0}Q=ca*T;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(f[t>>2]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}}if(!N)break;if(_){z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+(S*+(f[v>>2]|0)+T*+(f[w>>2]|0));x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ka|0)){La=906;break}else{y=y+$|0;t=t+$|0}}}else{z=L;t=A;while(1){v=y+Qa|0;w=t+Qa|0;x=0;while(1){cb=Xa+(x<<2)|0;Ca=+n[cb>>2]+S*+(h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0]|0);n[cb>>2]=Ca;n[cb>>2]=Ca+T*+(h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0]|0);x=x+1|0;if((x|0)==(Ua|0))break;else{v=v+Ra|0;w=w+Ra|0}}z=z+1|0;if((z|0)==(ka|0)){La=906;break}else{y=y+$|0;t=t+$|0}}}}else{if(P){S=T-Q;R=ba*S;t=Pa+E+U|0;A:do if(_){n[Xa>>2]=R*+(f[t>>2]|0)+0.0;if(ia)break;v=t+Ra|0;n[Z>>2]=R*+(f[v>>2]|0)+0.0;if(ha)break;w=2;do{v=v+Ra|0;n[Xa+(w<<2)>>2]=+n[Xa+(w<<2)>>2]+R*+(f[v>>2]|0);w=w+1|0}while((w|0)!=(Ua|0))}else{w=t;x=0;Q=0.0;while(1){n[Xa+(x<<2)>>2]=Q+R*+(h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0]|0);v=x+1|0;if((v|0)==(Ua|0))break A;w=w+Ra|0;x=v;Q=+n[Xa+(v<<2)>>2]}}while(0);if(N){if(_){x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+S*+(f[v>>2]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ka|0))}else{x=L;do{t=t+Qa|0;v=t;w=0;while(1){cb=Xa+(w<<2)|0;n[cb>>2]=+n[cb>>2]+S*+(h[v+2>>0]<<16|h[v+3>>0]<<24|h[v+1>>0]<<8|h[v>>0]|0);w=w+1|0;if((w|0)==(Ua|0))break;else v=v+Ra|0}x=x+1|0}while((x|0)!=(ka|0))}t=J+E|0}Q=ca*S;t=t+Qa|0;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(f[t>>2]|0);v=v+1|0;if((v|0)==(Ua|0)){La=906;break y}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=906;break y}else t=t+Ra|0}}}if(!t){R=aa*(T-Q);t=Pa+E+U|0;if(!_){w=0;Q=0.0;while(1){n[Xa+(w<<2)>>2]=Q+R*+(h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0]|0);v=w+1|0;if((v|0)==(Ua|0)){La=906;break y}t=t+Ra|0;w=v;Q=+n[Xa+(v<<2)>>2]}}n[Xa>>2]=R*+(f[t>>2]|0)+0.0;if(ia){La=906;break}t=t+Ra|0;n[X>>2]=R*+(f[t>>2]|0)+0.0;if(fa){La=906;break}v=2;while(1){t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+(f[t>>2]|0);v=v+1|0;if((v|0)==(Ua|0)){La=906;break y}}}R=aa*(1.0-Q);x=Pa+E+U|0;B:do if(_){n[Xa>>2]=R*+(f[x>>2]|0)+0.0;if(ia)break;t=x+Ra|0;n[Y>>2]=R*+(f[t>>2]|0)+0.0;if(ga)break;v=2;do{t=t+Ra|0;n[Xa+(v<<2)>>2]=+n[Xa+(v<<2)>>2]+R*+(f[t>>2]|0);v=v+1|0}while((v|0)!=(Ua|0))}else{v=0;w=x;Q=0.0;while(1){n[Xa+(v<<2)>>2]=Q+R*+(h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0]|0);t=v+1|0;if((t|0)==(Ua|0))break B;v=t;w=w+Ra|0;Q=+n[Xa+(t<<2)>>2]}}while(0);v=D+1|0;t=x+Sa|0;if((v|0)<(G|0)){y=W(G,Sa)|0;if(_)while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+(f[w>>2]|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}else while(1){w=t;x=0;while(1){cb=Xa+(x<<2)|0;n[cb>>2]=+n[cb>>2]+aa*+(h[w+2>>0]<<16|h[w+3>>0]<<24|h[w+1>>0]<<8|h[w>>0]|0);x=x+1|0;if((x|0)==(Ua|0))break;else w=w+Ra|0}v=v+1|0;if((v|0)==(G|0))break;else t=t+Sa|0}t=H+y|0}Q=aa*T;if(_){v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(f[t>>2]|0);v=v+1|0;if((v|0)==(Ua|0)){La=906;break}else t=t+Ra|0}}else{v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+Q*+(h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0)){La=906;break}else t=t+Ra|0}}}while(0);do if((La|0)==906){La=0;if(!N)break;A=D+1|0;if((A|0)>=(G|0))break;y=Pa+E+Sa+M|0;z=L;while(1){if(_){w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +(f[t>>2]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}else{w=A;x=y;while(1){t=x;v=0;while(1){cb=Xa+(v<<2)|0;n[cb>>2]=+n[cb>>2]+ +(h[t+2>>0]<<16|h[t+3>>0]<<24|h[t+1>>0]<<8|h[t>>0]|0);v=v+1|0;if((v|0)==(Ua|0))break;else t=t+Ra|0}w=w+1|0;if((w|0)==(G|0))break;else x=x+Sa|0}}z=z+1|0;if((z|0)==(ka|0))break;else y=y+Qa|0}}while(0);v=W(F+O|0,Ua)|0;t=0;do{f[Ma+(t+v<<2)>>2]=~~(+n[Xa+(t<<2)>>2]/na);t=t+1|0}while((t|0)!=(Ua|0));Q=ea+T;t=Q>1.0;F=F+1|0;if((F|0)==(i|0))break;else{D=G;Ca=T;T=t?Q+-1.0:Q;G=G+ma+(t&1)|0;Q=Ca}}Q=da+ca;t=Q>1.0;V=V+1|0;if((V|0)==(k|0))break;else{Ca=ca;ca=t?Q+-1.0:Q;t=(t&1)+la+ka|0;v=ka;Q=Ca}}}break l}default:_a(462411,434242,4356,445074)}}else do switch(m|0){case 33634:{do if((i<<1|0)==(e|0)&(k<<1|0)==(g|0)){K=(e|0)==1;J=(g|0)==1;if(!(K|J)){G=(e|0)/2|0;H=(g|0)/2|0;t=W(Ra,e)|0;E=Qa-t|0;do if((g|0)>1){F=Ra<<1;if((e|0)<=1){v=0;t=Pa+(W((Qa<<1)-t|0,H)|0)|0;break}A=G<<1;D=W(A+-2|0,Ra)|0;C=x<<1;C=(W((W(Ua,v+(z<<1)|0)|0)+A-e|0,Ra)|0)+y+(W(H+-1|0,(W(((W(z,Ua)|0)<<1)+A-e|0,Ra)|0)+C|0)|0)+C|0;A=L+4|0;B=L+8|0;t=0;v=0;w=Pa;while(1){x=0;y=w;z=t;while(1){cb=h[y>>0]|0;La=h[y+Ra>>0]|0;Ja=y+Qa|0;Ka=h[Ja>>0]|0;Ja=h[Ja+Ra>>0]|0;n[L>>2]=(+(Ja&7|0)/7.0+(+(Ka&7|0)/7.0+(+(La&7|0)/7.0+(+(cb&7|0)/7.0+0.0))))*.25;n[A>>2]=(+(Ja>>>3&7|0)/7.0+(+(Ka>>>3&7|0)/7.0+(+(La>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))))*.25;n[B>>2]=(+(Ja>>>6|0)/3.0+(+(Ka>>>6|0)/3.0+(+(La>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))))*.25;iLa(L,z,Ma);x=x+1|0;if((x|0)==(G|0))break;else{y=y+F|0;z=z+1|0}}v=v+1|0;if((v|0)==(H|0))break;else{t=t+G|0;w=w+D+F+E+Qa|0}}v=W(H,G)|0;t=r+C|0}else{v=0;t=Pa}while(0);if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6577,445173);if((v|0)==(W(H,G)|0))break;_a(445293,434242,6578,445173)}if(K&J)_a(445144,434242,6508,445173);B=(e|0)/2|0;A=(g|0)/2|0;if((e|0)==(g|0))_a(445195,434242,6598,445211);if(!J){if(!K)break;if((g|0)>1){w=Qa<<1;z=A<<1;x=L+4|0;y=L+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;La=h[v+Qa>>0]|0;n[L>>2]=(+(La&7|0)/7.0+(+(cb&7|0)/7.0+0.0))*.5;n[x>>2]=(+(La>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))*.5;n[y>>2]=(+(La>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))*.5;iLa(L,t,Ma);t=t+1|0;if((t|0)==(A|0))break;else v=v+w|0}v=A;t=Pa+(W(z,Qa)|0)|0}else{v=0;t=Pa}if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6684,445211);if((v|0)==(A|0))break;_a(445293,434242,6685,445211)}if(K)_a(445235,434242,6603,445211);if((e|0)>1){w=Ra<<1;z=B<<1;x=L+4|0;y=L+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;La=h[v+Ra>>0]|0;n[L>>2]=(+(La&7|0)/7.0+(+(cb&7|0)/7.0+0.0))*.5;n[x>>2]=(+(La>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))*.5;n[y>>2]=(+(La>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))*.5;iLa(L,t,Ma);t=t+1|0;if((t|0)==(B|0))break;else v=v+w|0}v=B;t=Pa+(W(z,Ra)|0)|0}else{v=0;t=Pa}if((t+(Qa-(W(Ra,e)|0))|0)!=(Pa+Qa|0))_a(445246,434242,6643,445211);if((v|0)==(B|0))break;_a(445293,434242,6644,445211)}else{pa=+(g|0)/+(k|0);ea=+(e|0)/Q;P=~~+I(+pa);na=pa-+(P|0);U=~~+I(+ea);oa=ea-+(U|0);pa=ea*pa;V=Ya+4|0;X=Ya+8|0;Y=Za+4|0;Z=Za+8|0;r=Xa+4|0;_=Xa+8|0;$=Da+4|0;fa=Da+8|0;ga=Xa+4|0;ha=Xa+8|0;ia=Xa+4|0;ja=Xa+8|0;ka=Xa+4|0;la=Xa+8|0;ma=Xa+4|0;qa=Xa+8|0;N=0;ea=na;Q=0.0;O=P;t=0;while(1){L=(O|0)>(t|0);da=1.0-Q;M=W(t,Qa)|0;e=t+1|0;H=W(e,Qa)|0;J=(e|0)<(O|0);K=W(N,i)|0;ca=ea-Q;E=W(O,Qa)|0;F=Pa+M|0;G=Pa+(W(O+-1|0,Qa)|0)|0;g=Pa+E|0;C=0;ba=oa;Q=0.0;D=U;A=0;while(1){B=W(A,Ra)|0;t=(D|0)>(A|0);f[Xa>>2]=0;f[Xa+4>>2]=0;f[Xa+8>>2]=0;f[Xa+12>>2]=0;do if(L&t){y=Pa+B|0;v=y+M|0;aa=1.0-Q;Ba=da*aa;x=h[v>>0]|0;R=+(x&7|0)/7.0;n[Ya>>2]=R;T=+(x>>>3&7|0)/7.0;n[V>>2]=T;Q=+(x>>>6|0)/3.0;n[X>>2]=Q;R=Ba*R+0.0;n[Xa>>2]=R;T=Ba*T+0.0;n[r>>2]=T;Q=Ba*Q+0.0;n[_>>2]=Q;x=A+1|0;z=(x|0)<(D|0);t=v+Ra|0;if(z){w=x;while(1){cb=h[t>>0]|0;xa=+(cb&7|0)/7.0;n[Ya>>2]=xa;za=+(cb>>>3&7|0)/7.0;n[V>>2]=za;Ba=+(cb>>>6|0)/3.0;n[X>>2]=Ba;R=R+da*xa;n[Xa>>2]=R;T=T+da*za;n[r>>2]=T;Q=Q+da*Ba;n[_>>2]=Q;w=w+1|0;if((w|0)==(D|0))break;else t=t+Ra|0}t=F+(W(D,Ra)|0)|0}xa=da*ba;cb=h[t>>0]|0;za=ea*aa;w=y+E|0;Ka=h[w>>0]|0;S=+(Ka&7|0)/7.0;n[Ya>>2]=S;va=+(Ka>>>3&7|0)/7.0;n[V>>2]=va;Ba=+(Ka>>>6|0)/3.0;n[X>>2]=Ba;S=R+xa*(+(cb&7|0)/7.0)+za*S;n[Xa>>2]=S;R=T+xa*(+(cb>>>3&7|0)/7.0)+za*va;n[r>>2]=R;Q=Q+xa*(+(cb>>>6|0)/3.0)+za*Ba;n[_>>2]=Q;w=w+Ra|0;if(z){while(1){cb=h[w>>0]|0;xa=+(cb&7|0)/7.0;n[Ya>>2]=xa;za=+(cb>>>3&7|0)/7.0;n[V>>2]=za;Ba=+(cb>>>6|0)/3.0;n[X>>2]=Ba;S=S+ea*xa;n[Xa>>2]=S;R=R+ea*za;n[r>>2]=R;Q=Q+ea*Ba;n[_>>2]=Q;x=x+1|0;if((x|0)==(D|0))break;else w=w+Ra|0}w=g+(W(D,Ra)|0)|0}za=ea*ba;cb=h[w>>0]|0;va=+(cb&7|0)/7.0;n[Ya>>2]=va;xa=+(cb>>>3&7|0)/7.0;n[V>>2]=xa;Ba=+(cb>>>6|0)/3.0;n[X>>2]=Ba;S=S+za*va;n[Xa>>2]=S;R=R+za*xa;n[r>>2]=R;Q=Q+za*Ba;n[_>>2]=Q;if(!J){Ca=S;Aa=R;ya=Q;break}w=e;do{v=v+Qa|0;t=t+Qa|0;cb=h[v>>0]|0;ua=+(cb&7|0)/7.0;n[Ya>>2]=ua;wa=+(cb>>>3&7|0)/7.0;n[V>>2]=wa;za=+(cb>>>6|0)/3.0;n[X>>2]=za;cb=h[t>>0]|0;va=+(cb&7|0)/7.0;n[Za>>2]=va;xa=+(cb>>>3&7|0)/7.0;n[Y>>2]=xa;Ba=+(cb>>>6|0)/3.0;n[Z>>2]=Ba;S=S+(aa*ua+ba*va);n[Xa>>2]=S;R=R+(aa*wa+ba*xa);n[r>>2]=R;Q=Q+(aa*za+ba*Ba);n[_>>2]=Q;w=w+1|0}while((w|0)!=(O|0));wa=Q;ua=R;sa=S;La=1199}else{if(L){T=ba-Q;Ba=da*T;t=Pa+B+M|0;cb=h[t>>0]|0;S=+(cb&7|0)/7.0;n[Ya>>2]=S;R=+(cb>>>3&7|0)/7.0;n[V>>2]=R;Q=+(cb>>>6|0)/3.0;n[X>>2]=Q;S=Ba*S+0.0;n[Xa>>2]=S;R=Ba*R+0.0;n[ga>>2]=R;Q=Ba*Q+0.0;n[ha>>2]=Q;if(J){v=e;do{t=t+Qa|0;cb=h[t>>0]|0;xa=+(cb&7|0)/7.0;n[Ya>>2]=xa;za=+(cb>>>3&7|0)/7.0;n[V>>2]=za;Ba=+(cb>>>6|0)/3.0;n[X>>2]=Ba;S=S+T*xa;n[Xa>>2]=S;R=R+T*za;n[ga>>2]=R;Q=Q+T*Ba;n[ha>>2]=Q;v=v+1|0}while((v|0)!=(O|0));t=G+B|0}Ba=ea*T;La=h[t+Qa>>0]|0;sa=+(La&7|0)/7.0;n[Ya>>2]=sa;ua=+(La>>>3&7|0)/7.0;n[V>>2]=ua;wa=+(La>>>6|0)/3.0;n[X>>2]=wa;sa=S+Ba*sa;n[Xa>>2]=sa;ua=R+Ba*ua;n[ga>>2]=ua;wa=Q+Ba*wa;n[ha>>2]=wa;La=1199;break}if(!t){Ba=ca*(ba-Q);La=h[Pa+B+M>>0]|0;sa=+(La&7|0)/7.0;n[Ya>>2]=sa;ua=+(La>>>3&7|0)/7.0;n[V>>2]=ua;wa=+(La>>>6|0)/3.0;n[X>>2]=wa;sa=Ba*sa+0.0;n[Xa>>2]=sa;ua=Ba*ua+0.0;n[ma>>2]=ua;wa=Ba*wa+0.0;n[qa>>2]=wa;La=1199;break}Ba=ca*(1.0-Q);v=Pa+B+M|0;t=h[v>>0]|0;S=+(t&7|0)/7.0;n[Ya>>2]=S;R=+(t>>>3&7|0)/7.0;n[V>>2]=R;Q=+(t>>>6|0)/3.0;n[X>>2]=Q;S=Ba*S+0.0;n[Xa>>2]=S;R=Ba*R+0.0;n[ka>>2]=R;Q=Ba*Q+0.0;n[la>>2]=Q;t=A+1|0;v=v+Ra|0;if((t|0)<(D|0)){while(1){cb=h[v>>0]|0;xa=+(cb&7|0)/7.0;n[Ya>>2]=xa;za=+(cb>>>3&7|0)/7.0;n[V>>2]=za;Ba=+(cb>>>6|0)/3.0;n[X>>2]=Ba;S=S+ca*xa;n[Xa>>2]=S;R=R+ca*za;n[ka>>2]=R;Q=Q+ca*Ba;n[la>>2]=Q;t=t+1|0;if((t|0)==(D|0))break;else v=v+Ra|0}v=F+(W(D,Ra)|0)|0}Ba=ca*ba;La=h[v>>0]|0;sa=+(La&7|0)/7.0;n[Ya>>2]=sa;ua=+(La>>>3&7|0)/7.0;n[V>>2]=ua;wa=+(La>>>6|0)/3.0;n[X>>2]=wa;sa=S+Ba*sa;n[Xa>>2]=sa;ua=R+Ba*ua;n[ka>>2]=ua;wa=Q+Ba*wa;n[la>>2]=wa;La=1199}while(0);do if((La|0)==1199){La=0;if(!J){Ca=sa;Aa=ua;ya=wa;break}y=A+1|0;if((y|0)>=(D|0)){Ca=sa;Aa=ua;ya=wa;break}t=Pa+B+Ra+H|0;v=e;S=wa;R=ua;Q=sa;while(1){w=y;x=t;while(1){cb=h[x>>0]|0;Aa=+(cb&7|0)/7.0;n[Ya>>2]=Aa;Ba=+(cb>>>3&7|0)/7.0;n[V>>2]=Ba;Ca=+(cb>>>6|0)/3.0;n[X>>2]=Ca;Q=Aa+Q;n[Xa>>2]=Q;R=Ba+R;n[ia>>2]=R;S=Ca+S;n[ja>>2]=S;w=w+1|0;if((w|0)==(D|0))break;else x=x+Ra|0}v=v+1|0;if((v|0)==(O|0)){Ca=Q;Aa=R;ya=S;break}else t=t+Qa|0}}while(0);n[Da>>2]=Ca/pa;n[$>>2]=Aa/pa;n[fa>>2]=ya/pa;iLa(Da,C+K|0,Ma);Q=oa+ba;t=Q>1.0;C=C+1|0;if((C|0)==(i|0))break;else{A=D;Ba=ba;ba=t?Q+-1.0:Q;D=D+U+(t&1)|0;Q=Ba}}Q=na+ea;t=Q>1.0;N=N+1|0;if((N|0)==(k|0))break;else{cb=O;Ba=ea;ea=t?Q+-1.0:Q;O=O+P+(t&1)|0;t=cb;Q=Ba}}}while(0);break l}case 33635:{KWa(3,216,217,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 33636:{KWa(3,218,219,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 33637:{KWa(4,222,223,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 32820:{KWa(4,224,225,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 33638:{KWa(4,226,227,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 32821:{KWa(4,228,229,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 33639:{KWa(4,230,231,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 32822:{KWa(4,232,233,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}case 33640:{KWa(4,234,235,e,g,Pa,i,k,Ma,Ra,Qa,A);break l}default:_a(462411,434242,4356,445074)}while(0);while(0);w=W(Sa,i)|0;if(Ta){v=(i|0)<2?1:(i|0)/2|0;t=(k|0)<2?1:(k|0)/2|0;if((v|0)<=0)_a(434232,434242,4944,434407);if((t|0)<=0)_a(434418,434242,4945,434407);C:do switch(m|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{Oa=1;break}default:{if((l|0)<32992)switch(l|0){case 6407:{Oa=3;break C}case 6410:{La=1226;break}case 6408:{La=1227;break}default:La=1228}else switch(l|0){case 32992:{Oa=3;break C}case 33319:{La=1226;break}case 32993:{La=1227;break}default:La=1228}if((La|0)==1226){Oa=2;break C}else if((La|0)==1227){Oa=4;break C}else if((La|0)==1228){Oa=1;break C}}}while(0);D:do if((m|0)<32820){if((m|0)<5124){switch(m|0){case 5122:case 5123:case 5120:case 5121:break D;default:t=100900}u=bb;return t|0}if((m|0)<5126){switch(m|0){case 5124:case 5125:break D;default:t=100900}u=bb;return t|0}if((m|0)<32818){switch(m|0){case 5126:break D;default:t=100900}u=bb;return t|0}else{switch(m|0){case 32819:case 32818:break D;default:t=100900}u=bb;return t|0}}else{switch(m|0){case 33640:case 32822:case 33639:case 32821:case 33638:case 32820:case 33637:case 33636:case 33635:case 33634:break D;default:t=100900}u=bb;return t|0}while(0);t=Cmb(W(W(t,~~(Na*+(v|0))>>>0)|0,Oa)|0)|0;if(!t){Ph(3317,f[$a>>2]|0);Dmb(Ma);cb=100902;u=bb;return cb|0}else{z=o;y=Ma;x=i;v=k}}else{z=o;y=Ma;x=i;v=k;t=0}}else{if(!((p|0)>(o|0)|(o|0)>(q|0)))Wh(a|0,o|0,c|0,e|0,g|0,0,l|0,m|0,Pa|0);if(!Ta){Ph(3317,f[$a>>2]|0);cb=0;u=bb;return cb|0}L=(e|0)/2|0;K=(g|0)/2|0;O=(e|0)<2?1:L;P=(g|0)<2?1:K;if((O|0)<=0)_a(434232,434242,4944,434407);if((P|0)<=0)_a(434418,434242,4945,434407);E:do switch(m|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{D=1;break}default:{if((l|0)<32992)switch(l|0){case 6407:{D=3;break E}case 6410:{La=95;break}case 6408:{La=96;break}default:La=97}else switch(l|0){case 32992:{D=3;break E}case 33319:{La=95;break}case 32993:{La=96;break}default:La=97}if((La|0)==95){D=2;break E}else if((La|0)==96){D=4;break E}else if((La|0)==97){D=1;break E}}}while(0);M=W(P,~~(Na*+(O|0))>>>0)|0;F:do if((m|0)<32820){if((m|0)<5124){switch(m|0){case 5122:case 5123:case 5120:case 5121:break F;default:t=100900}u=bb;return t|0}if((m|0)<5126){switch(m|0){case 5124:case 5125:break F;default:t=100900}u=bb;return t|0}if((m|0)<32818){switch(m|0){case 5126:break F;default:t=100900}u=bb;return t|0}else{switch(m|0){case 32819:case 32818:break F;default:t=100900}u=bb;return t|0}}else{switch(m|0){case 33640:case 32822:case 33639:case 32821:case 33638:case 32820:case 33637:case 33636:case 33635:case 33634:break F;default:t=100900}u=bb;return t|0}while(0);N=Cmb(W(M,D)|0)|0;if(!N){Ph(3317,f[$a>>2]|0);cb=100902;u=bb;return cb|0}G:do if((m|0)<32820){H:do if((m|0)<5124)switch(m|0){case 5121:{sWa(Ua,e,g,Pa,N,Ra,Qa,Sa);break H}case 5120:{tWa(Ua,e,g,Pa,N,Ra,Qa,Sa);break H}case 5123:{uWa(Ua,e,g,Pa,N,Ra,Qa,Sa,A);break H}case 5122:{vWa(Ua,e,g,Pa,N,Ra,Qa,Sa,A);break H}default:_a(462411,434242,4113,445074)}else{if((m|0)<5126)switch(m|0){case 5125:{wWa(Ua,e,g,Pa,N,Ra,Qa,Sa,A);break H}case 5124:{xWa(Ua,e,g,Pa,N,Ra,Qa,Sa,A);break H}default:_a(462411,434242,4113,445074)}if((m|0)<32818)switch(m|0){case 5126:{yWa(Ua,e,g,Pa,N,Ra,Qa,Sa,A);break H}default:_a(462411,434242,4113,445074)}switch(m|0){case 32818:{if((l|0)!=6407)_a(445127,434242,4051,445074);J=(e|0)==1;H=(g|0)==1;if(!(J|H)){t=W(Ra,e)|0;F=Qa-t|0;do if((g|0)>1){G=Ra<<1;if((e|0)<=1){v=0;t=Pa+(W((Qa<<1)-t|0,K)|0)|0;break}B=L<<1;E=W(B+-2|0,Ra)|0;D=x<<1;D=(W((W(Ua,v+(z<<1)|0)|0)+B-e|0,Ra)|0)+y+(W(K+-1|0,(W(((W(z,Ua)|0)<<1)+B-e|0,Ra)|0)+D|0)|0)+D|0;B=Za+4|0;C=Za+8|0;t=0;v=0;x=Pa;while(1){y=0;z=x;A=t;while(1){cb=h[z>>0]|0;k=h[z+Ra>>0]|0;Oa=z+Qa|0;i=h[Oa>>0]|0;Oa=h[Oa+Ra>>0]|0;n[Za>>2]=(+(Oa>>>5|0)/7.0+(+(i>>>5|0)/7.0+(+(k>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))))*.25;n[B>>2]=(+(Oa>>>2&7|0)/7.0+(+(i>>>2&7|0)/7.0+(+(k>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))))*.25;n[C>>2]=(+(Oa&3|0)/3.0+(+(i&3|0)/3.0+(+(k&3|0)/3.0+(+(cb&3|0)/3.0+0.0))))*.25;hLa(Za,A,N);y=y+1|0;if((y|0)==(L|0))break;else{z=z+G|0;A=A+1|0}}v=v+1|0;if((v|0)==(K|0))break;else{t=t+L|0;x=x+E+G+F+Qa|0}}v=W(K,L)|0;t=r+D|0}else{v=0;t=Pa}while(0);if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6577,445173);if((v|0)==(W(K,L)|0)){La=200;break G}_a(445293,434242,6578,445173)}if(J&H)_a(445144,434242,6508,445173);if((e|0)==(g|0))_a(445195,434242,6598,445211);if(!H){if(!J){La=198;break G}if((g|0)>1){x=Qa<<1;A=K<<1;y=Ya+4|0;z=Ya+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;k=h[v+Qa>>0]|0;n[Ya>>2]=(+(k>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))*.5;n[y>>2]=(+(k>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))*.5;n[z>>2]=(+(k&3|0)/3.0+(+(cb&3|0)/3.0+0.0))*.5;hLa(Ya,t,N);t=t+1|0;if((t|0)==(K|0))break;else v=v+x|0}v=K;t=Pa+(W(A,Qa)|0)|0}else{v=0;t=Pa}if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6684,445211);if((v|0)==(K|0)){La=200;break G}_a(445293,434242,6685,445211)}if(J)_a(445235,434242,6603,445211);if((e|0)>1){x=Ra<<1;A=L<<1;y=Xa+4|0;z=Xa+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;k=h[v+Ra>>0]|0;n[Xa>>2]=(+(k>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))*.5;n[y>>2]=(+(k>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))*.5;n[z>>2]=(+(k&3|0)/3.0+(+(cb&3|0)/3.0+0.0))*.5;hLa(Xa,t,N);t=t+1|0;if((t|0)==(L|0))break;else v=v+x|0}v=L;t=Pa+(W(A,Ra)|0)|0}else{v=0;t=Pa}if((t+(Qa-(W(Ra,e)|0))|0)!=(Pa+Qa|0))_a(445246,434242,6643,445211);if((v|0)==(L|0)){La=200;break G}_a(445293,434242,6644,445211);break}case 32819:{AWa(4,220,221,e,g,Pa,N,Ra,Qa,A);La=198;break G}default:_a(462411,434242,4113,445074)}}while(0);X=W(Sa,O)|0;La=201}else do switch(m|0){case 33634:{if((l|0)!=6407)_a(445127,434242,4057,445074);J=(e|0)==1;H=(g|0)==1;if(!(J|H)){t=W(Ra,e)|0;F=Qa-t|0;do if((g|0)>1){G=Ra<<1;if((e|0)<=1){v=0;t=Pa+(W((Qa<<1)-t|0,K)|0)|0;break}B=L<<1;E=W(B+-2|0,Ra)|0;D=x<<1;D=(W((W(Ua,v+(z<<1)|0)|0)+B-e|0,Ra)|0)+y+(W(K+-1|0,(W(((W(z,Ua)|0)<<1)+B-e|0,Ra)|0)+D|0)|0)+D|0;B=Za+4|0;C=Za+8|0;t=0;v=0;x=Pa;while(1){y=0;z=x;A=t;while(1){cb=h[z>>0]|0;k=h[z+Ra>>0]|0;Oa=z+Qa|0;i=h[Oa>>0]|0;Oa=h[Oa+Ra>>0]|0;n[Za>>2]=(+(Oa&7|0)/7.0+(+(i&7|0)/7.0+(+(k&7|0)/7.0+(+(cb&7|0)/7.0+0.0))))*.25;n[B>>2]=(+(Oa>>>3&7|0)/7.0+(+(i>>>3&7|0)/7.0+(+(k>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))))*.25;n[C>>2]=(+(Oa>>>6|0)/3.0+(+(i>>>6|0)/3.0+(+(k>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))))*.25;iLa(Za,A,N);y=y+1|0;if((y|0)==(L|0))break;else{z=z+G|0;A=A+1|0}}v=v+1|0;if((v|0)==(K|0))break;else{t=t+L|0;x=x+E+G+F+Qa|0}}v=W(K,L)|0;t=r+D|0}else{v=0;t=Pa}while(0);if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6577,445173);if((v|0)==(W(K,L)|0)){La=200;break G}_a(445293,434242,6578,445173)}if(J&H)_a(445144,434242,6508,445173);if((e|0)==(g|0))_a(445195,434242,6598,445211);if(!H){if(!J){La=198;break G}if((g|0)>1){x=Qa<<1;A=K<<1;y=Ya+4|0;z=Ya+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;k=h[v+Qa>>0]|0;n[Ya>>2]=(+(k&7|0)/7.0+(+(cb&7|0)/7.0+0.0))*.5;n[y>>2]=(+(k>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))*.5;n[z>>2]=(+(k>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))*.5;iLa(Ya,t,N);t=t+1|0;if((t|0)==(K|0))break;else v=v+x|0}v=K;t=Pa+(W(A,Qa)|0)|0}else{v=0;t=Pa}if((t|0)!=(Pa+(W(Qa,g)|0)|0))_a(445328,434242,6684,445211);if((v|0)==(K|0)){La=200;break G}_a(445293,434242,6685,445211)}if(J)_a(445235,434242,6603,445211);if((e|0)>1){x=Ra<<1;A=L<<1;y=Xa+4|0;z=Xa+8|0;t=0;v=Pa;while(1){cb=h[v>>0]|0;k=h[v+Ra>>0]|0;n[Xa>>2]=(+(k&7|0)/7.0+(+(cb&7|0)/7.0+0.0))*.5;n[y>>2]=(+(k>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))*.5;n[z>>2]=(+(k>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))*.5;iLa(Xa,t,N);t=t+1|0;if((t|0)==(L|0))break;else v=v+x|0}v=L;t=Pa+(W(A,Ra)|0)|0}else{v=0;t=Pa}if((t+(Qa-(W(Ra,e)|0))|0)!=(Pa+Qa|0))_a(445246,434242,6643,445211);if((v|0)==(L|0)){La=200;break G}_a(445293,434242,6644,445211);break}case 33635:{AWa(3,216,217,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 33636:{AWa(3,218,219,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 33637:{AWa(4,222,223,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 32820:{AWa(4,224,225,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 33638:{AWa(4,226,227,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 32821:{AWa(4,228,229,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 33639:{AWa(4,230,231,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 32822:{AWa(4,232,233,e,g,Pa,N,Ra,Qa,A);La=198;break G}case 33640:{AWa(4,234,235,e,g,Pa,N,Ra,Qa,A);La=198;break G}default:_a(462411,434242,4113,445074)}while(0);while(0);if((La|0)==198){U=1;w=W(Sa,O)|0}else if((La|0)==200){t=W(Sa,O)|0;switch(m|0){case 32818:case 32819:case 32820:case 32821:case 32822:case 33634:case 33635:case 33636:case 33637:case 33638:case 33639:case 33640:{U=1;w=t;break}default:{X=t;La=201}}}I:do if((La|0)==201){if((l|0)<32992)switch(l|0){case 6407:{U=3;w=X;break I}case 6410:{La=202;break}case 6408:{La=203;break}default:La=204}else switch(l|0){case 32992:{U=3;w=X;break I}case 33319:{La=202;break}case 32993:{La=203;break}default:La=204}if((La|0)==202){U=2;w=X;break}else if((La|0)==203){U=4;w=X;break}else if((La|0)==204){U=1;w=X;break}}while(0);J:do if((m|0)<32820){if((m|0)<5124){switch(m|0){case 5122:case 5123:case 5120:case 5121:break J;default:t=100900}u=bb;return t|0}if((m|0)<5126){switch(m|0){case 5124:case 5125:break J;default:t=100900}u=bb;return t|0}if((m|0)<32818){switch(m|0){case 5126:break J;default:t=100900}u=bb;return t|0}else{switch(m|0){case 32819:case 32818:break J;default:t=100900}u=bb;return t|0}}else{switch(m|0){case 33640:case 32822:case 33639:case 32821:case 33638:case 32820:case 33637:case 33636:case 33635:case 33634:break J;default:t=100900}u=bb;return t|0}while(0);t=Cmb(W(M,U)|0)|0;if(t|0){z=o+1|0;y=N;x=O;v=P;break}Ph(3317,f[$a>>2]|0);Dmb(N);cb=100902;u=bb;return cb|0}while(0);if(!((z|0)<(p|0)|(z|0)>(q|0)))Wh(a|0,z|0,c|0,x|0,v|0,0,l|0,m|0,y|0);K:do if((z|0)<(Ta|0)){L=Ra<<1;M=Za+4|0;N=Za+8|0;O=Za+4|0;P=Za+8|0;U=Xa+4|0;V=Xa+8|0;X=Ya+4|0;Y=Ya+8|0;Z=Xa+4|0;r=Xa+8|0;_=Ya+4|0;$=Ya+8|0;J=z;K=y;B=x;H=v;L:while(1){e=J;J=J+1|0;M:do if((m|0)<32820){if((m|0)<5124)switch(m|0){case 5121:{sWa(Ua,B,H,K,t,Ra,w,Sa);break M}case 5120:{tWa(Ua,B,H,K,t,Ra,w,Sa);break M}case 5123:{uWa(Ua,B,H,K,t,Ra,w,Sa,0);break M}case 5122:{vWa(Ua,B,H,K,t,Ra,w,Sa,0);break M}default:{La=1328;break L}}if((m|0)<5126)switch(m|0){case 5125:{wWa(Ua,B,H,K,t,Ra,w,Sa,0);break M}case 5124:{xWa(Ua,B,H,K,t,Ra,w,Sa,0);break M}default:{La=1328;break L}}if((m|0)<32818){switch(m|0){case 5126:break;default:{La=1328;break L}}yWa(Ua,B,H,K,t,Ra,w,Sa,0);break}switch(m|0){case 32818:break;case 32819:{AWa(4,220,221,B,H,K,t,Ra,w,0);break M}default:{La=1328;break L}}v=(B|0)==1;x=(H|0)==1;if(!(x|v)){G=(B|0)/2|0;g=(H|0)/2|0;v=W(B,Ra)|0;E=w-v|0;do if((H|0)>1){if((B|0)<=1){x=0;v=K+(W((w<<1)-v|0,g)|0)|0;break}D=W(L,G+-1|0)|0;v=W((G<<1)-B|0,Ra)|0;F=w<<1;F=(W(g+-1|0,v+F|0)|0)+v+F|0;v=0;x=0;y=K;while(1){z=0;A=y;C=v;while(1){cb=h[A>>0]|0;o=h[A+Ra>>0]|0;Pa=A+w|0;Qa=h[Pa>>0]|0;Pa=h[Pa+Ra>>0]|0;n[Za>>2]=(+(Pa>>>5|0)/7.0+(+(Qa>>>5|0)/7.0+(+(o>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))))*.25;n[M>>2]=(+(Pa>>>2&7|0)/7.0+(+(Qa>>>2&7|0)/7.0+(+(o>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))))*.25;n[N>>2]=(+(Pa&3|0)/3.0+(+(Qa&3|0)/3.0+(+(o&3|0)/3.0+(+(cb&3|0)/3.0+0.0))))*.25;hLa(Za,C,t);z=z+1|0;if((z|0)==(G|0))break;else{A=A+L|0;C=C+1|0}}x=x+1|0;if((x|0)==(g|0))break;else{v=v+G|0;y=y+D+L+E+w|0}}x=W(G,g)|0;v=K+F|0}else{x=0;v=K}while(0);if((v|0)!=(K+(W(H,w)|0)|0)){La=1278;break L}if((x|0)==(W(G,g)|0))break;else{La=1280;break L}}if(x&v){La=1246;break L}y=(B|0)/2|0;z=(H|0)/2|0;if((B|0)==(H|0)){La=1248;break L}if(x){if(v){La=1251;break L}if((B|0)>1){v=0;x=K;while(1){cb=h[x>>0]|0;o=h[x+Ra>>0]|0;n[Xa>>2]=(+(o>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))*.5;n[U>>2]=(+(o>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))*.5;n[V>>2]=(+(o&3|0)/3.0+(+(cb&3|0)/3.0+0.0))*.5;hLa(Xa,v,t);v=v+1|0;if((v|0)==(y|0))break;else x=x+L|0}v=y;x=K+(W(L,y)|0)|0}else{v=0;x=K}if((x+(w-(W(B,Ra)|0))|0)!=(K+w|0)){La=1257;break L}if((v|0)==(y|0))break;else{La=1259;break L}}else{if(!v)break;if((H|0)>1){y=w<<1;v=0;x=K;while(1){cb=h[x>>0]|0;o=h[x+w>>0]|0;n[Ya>>2]=(+(o>>>5|0)/7.0+(+(cb>>>5|0)/7.0+0.0))*.5;n[X>>2]=(+(o>>>2&7|0)/7.0+(+(cb>>>2&7|0)/7.0+0.0))*.5;n[Y>>2]=(+(o&3|0)/3.0+(+(cb&3|0)/3.0+0.0))*.5;hLa(Ya,v,t);v=v+1|0;if((v|0)==(z|0))break;else x=x+y|0}x=z;v=K+(W(y,z)|0)|0}else{x=0;v=K}if((v|0)!=(K+(W(H,w)|0)|0)){La=1266;break L}if((x|0)==(z|0))break;else{La=1268;break L}}}else do switch(m|0){case 33634:{v=(B|0)==1;x=(H|0)==1;if(!(x|v)){G=(B|0)/2|0;g=(H|0)/2|0;v=W(B,Ra)|0;E=w-v|0;do if((H|0)>1){if((B|0)<=1){x=0;v=K+(W((w<<1)-v|0,g)|0)|0;break}D=W(L,G+-1|0)|0;v=W((G<<1)-B|0,Ra)|0;F=w<<1;F=(W(g+-1|0,v+F|0)|0)+v+F|0;v=0;x=0;y=K;while(1){z=0;A=y;C=v;while(1){cb=h[A>>0]|0;o=h[A+Ra>>0]|0;Pa=A+w|0;Qa=h[Pa>>0]|0;Pa=h[Pa+Ra>>0]|0;n[Za>>2]=(+(Pa&7|0)/7.0+(+(Qa&7|0)/7.0+(+(o&7|0)/7.0+(+(cb&7|0)/7.0+0.0))))*.25;n[O>>2]=(+(Pa>>>3&7|0)/7.0+(+(Qa>>>3&7|0)/7.0+(+(o>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))))*.25;n[P>>2]=(+(Pa>>>6|0)/3.0+(+(Qa>>>6|0)/3.0+(+(o>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))))*.25;iLa(Za,C,t);z=z+1|0;if((z|0)==(G|0))break;else{A=A+L|0;C=C+1|0}}x=x+1|0;if((x|0)==(g|0))break;else{v=v+G|0;y=y+D+L+E+w|0}}x=W(G,g)|0;v=K+F|0}else{x=0;v=K}while(0);if((v|0)!=(K+(W(H,w)|0)|0)){La=1315;break L}if((x|0)==(W(G,g)|0))break M;else{La=1317;break L}}if(x&v){La=1283;break L}y=(B|0)/2|0;z=(H|0)/2|0;if((B|0)==(H|0)){La=1285;break L}if(x){if(v){La=1288;break L}if((B|0)>1){v=0;x=K;while(1){cb=h[x>>0]|0;o=h[x+Ra>>0]|0;n[Xa>>2]=(+(o&7|0)/7.0+(+(cb&7|0)/7.0+0.0))*.5;n[Z>>2]=(+(o>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))*.5;n[r>>2]=(+(o>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))*.5;iLa(Xa,v,t);v=v+1|0;if((v|0)==(y|0))break;else x=x+L|0}v=y;x=K+(W(L,y)|0)|0}else{v=0;x=K}if((x+(w-(W(B,Ra)|0))|0)!=(K+w|0)){La=1294;break L}if((v|0)==(y|0))break M;else{La=1296;break L}}else{if(!v)break M;if((H|0)>1){y=w<<1;v=0;x=K;while(1){cb=h[x>>0]|0;o=h[x+w>>0]|0;n[Ya>>2]=(+(o&7|0)/7.0+(+(cb&7|0)/7.0+0.0))*.5;n[_>>2]=(+(o>>>3&7|0)/7.0+(+(cb>>>3&7|0)/7.0+0.0))*.5;n[$>>2]=(+(o>>>6|0)/3.0+(+(cb>>>6|0)/3.0+0.0))*.5;iLa(Ya,v,t);v=v+1|0;if((v|0)==(z|0))break;else x=x+y|0}x=z;v=K+(W(y,z)|0)|0}else{x=0;v=K}if((v|0)!=(K+(W(H,w)|0)|0)){La=1303;break L}if((x|0)==(z|0))break M;else{La=1305;break L}}}case 33635:{AWa(3,216,217,B,H,K,t,Ra,w,0);break M}case 33636:{AWa(3,218,219,B,H,K,t,Ra,w,0);break M}case 33637:{AWa(4,222,223,B,H,K,t,Ra,w,0);break M}case 32820:{AWa(4,224,225,B,H,K,t,Ra,w,0);break M}case 33638:{AWa(4,226,227,B,H,K,t,Ra,w,0);break M}case 32821:{AWa(4,228,229,B,H,K,t,Ra,w,0);break M}case 33639:{AWa(4,230,231,B,H,K,t,Ra,w,0);break M}case 32822:{AWa(4,232,233,B,H,K,t,Ra,w,0);break M}case 33640:{AWa(4,234,235,B,H,K,t,Ra,w,0);break M}default:{La=1328;break L}}while(0);while(0);if((B|0)>1){B=B>>>1;w=(w|0)/2|0}H=(H|0)>1?(H|0)/2|0:H;ab=f[$a>>2]|0;v=(w|0)%(ab|0)|0;if(!v){if((e|0)<(q|0)&(J|0)>=(p|0))Wh(a|0,J|0,c|0,B|0,H|0,0,l|0,m|0,t|0)}else{z=ab+w-v|0;A=Cmb(W(z,H)|0)|0;if(!A){La=1335;break}if((H|0)>0){v=t;x=A;y=0;while(1){YDb(x|0,v|0,w|0)|0;y=y+1|0;if((y|0)==(H|0))break;else{v=v+w|0;x=x+z|0}}}if((e|0)<(q|0)&(J|0)>=(p|0))Wh(a|0,J|0,c|0,B|0,H|0,0,l|0,m|0,A|0);Dmb(A)}if((J|0)>=(Ta|0)){Va=t;Wa=K;break K}else{cb=t;t=K;K=cb}}switch(La|0){case 1246:{_a(445144,434242,6508,445173);break}case 1248:{_a(445195,434242,6598,445211);break}case 1251:{_a(445235,434242,6603,445211);break}case 1257:{_a(445246,434242,6643,445211);break}case 1259:{_a(445293,434242,6644,445211);break}case 1266:{_a(445328,434242,6684,445211);break}case 1268:{_a(445293,434242,6685,445211);break}case 1278:{_a(445328,434242,6577,445173);break}case 1280:{_a(445293,434242,6578,445173);break}case 1283:{_a(445144,434242,6508,445173);break}case 1285:{_a(445195,434242,6598,445211);break}case 1288:{_a(445235,434242,6603,445211);break}case 1294:{_a(445246,434242,6643,445211);break}case 1296:{_a(445293,434242,6644,445211);break}case 1303:{_a(445328,434242,6684,445211);break}case 1305:{_a(445293,434242,6685,445211);break}case 1315:{_a(445328,434242,6577,445173);break}case 1317:{_a(445293,434242,6578,445173);break}case 1328:{_a(462411,434242,4553,445074);break}case 1335:{Ph(3317,ab|0);if(t|0)Dmb(t);if(!K){cb=100902;u=bb;return cb|0}Dmb(K);cb=100902;u=bb;return cb|0}}}else{Va=y;Wa=t}while(0);Ph(3317,f[$a>>2]|0);Dmb(Va);if(!Wa){cb=0;u=bb;return cb|0}Dmb(Wa);cb=0;u=bb;return cb|0}function sWa(a,c,d,e,f,g,i,j){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;var 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;k=(c|0)==1;l=(d|0)==1;if(!(k|l)){y=c>>>1;x=d>>>1;t=i-(W(j,c)|0)|0;if(!x)return;c=(a|0)>0;if(!y)return;w=y+-1|0;d=W(w,j)|0;u=W(g,a)|0;v=W(y,a)|0;w=u+(W(w,u+j|0)|0)|0;k=f;s=0;r=e;while(1){if(c){q=k+v|0;p=0;m=r;while(1){l=0;n=k;k=k+a|0;o=m;while(1){e=o+i|0;b[n>>0]=((h[o>>0]|0)+2+(h[o+j>>0]|0)+(h[e>>0]|0)+(h[e+j>>0]|0)|0)>>>2;l=l+1|0;if((l|0)==(a|0))break;else{n=n+1|0;o=o+g|0}}p=p+1|0;if((p|0)==(y|0)){l=w;k=q;break}else m=m+u+j|0}}else l=d;s=s+1|0;if((s|0)==(x|0))break;else r=r+l+j+t+i|0}return}if(k&l)_a(445144,434242,406,445787);n=c>>>1;t=d>>>1;if((c|0)==(d|0))_a(445195,434242,448,445804);do if(!l)if(k){q=i-j|0;if(!t){n=1;o=0;m=f;k=e}else{if((a|0)<=0){n=1;o=t;m=f;k=e+(W((i<<1)-j|0,t)|0)|0;break}r=W(g,a)|0;s=W((i<<1)+r-j|0,t)|0;l=0;m=f;n=e;while(1){k=0;o=m;p=n;while(1){b[o>>0]=((h[p+i>>0]|0)+(h[p>>0]|0)|0)>>>1;k=k+1|0;if((k|0)==(a|0))break;else{o=o+1|0;p=p+g|0}}l=l+1|0;if((l|0)==(t|0))break;else{m=m+a|0;n=n+r+q+i|0}}n=1;o=t;m=f+(W(t,a)|0)|0;k=e+s|0}}else{o=t;m=f;k=e}else{if(k)_a(445235,434242,451,445804);do if(!n){k=f;l=e}else{if((a|0)<=0){k=f;l=e+(W(n,j)|0)|0;break}r=W(g,a)|0;s=W(r+j|0,n)|0;l=0;m=f;o=e;while(1){k=0;p=m;q=o;while(1){b[p>>0]=((h[q+j>>0]|0)+(h[q>>0]|0)|0)>>>1;k=k+1|0;if((k|0)==(a|0))break;else{p=p+1|0;q=q+g|0}}l=l+1|0;if((l|0)==(n|0))break;else{m=m+a|0;o=o+r+j|0}}k=f+(W(n,a)|0)|0;l=e+s|0}while(0);o=1;m=k;k=l+(i-(W(j,c)|0))|0}while(0);if((k|0)!=(e+(W(i,d)|0)|0))_a(445480,434242,490,445804);if((m|0)==(f+(W(W(W(g,a)|0,o)|0,n)|0)|0))return;else _a(445525,434242,492,445804)}function tWa(a,c,d,e,f,g,h,i){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var 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;j=(c|0)==1;k=(d|0)==1;if(!(j|k)){w=c>>>1;v=d>>>1;q=h-(W(i,c)|0)|0;if(!v)return;r=(a|0)>0;if(!w)return;d=w+-1|0;s=W(d,i)|0;t=W(g,a)|0;u=W(w,a)|0;d=t+(W(d,t+i|0)|0)|0;j=f;p=0;while(1){if(r){o=j+u|0;n=0;c=e;while(1){k=0;l=j;j=j+a|0;m=c;while(1){f=m+h|0;b[l>>0]=((b[m>>0]|0)+2+(b[m+i>>0]|0)+(b[f>>0]|0)+(b[f+i>>0]|0)|0)/4|0;k=k+1|0;if((k|0)==(a|0))break;else{l=l+1|0;m=m+g|0}}n=n+1|0;if((n|0)==(w|0)){k=d;j=o;break}else c=c+t+i|0}}else k=s;p=p+1|0;if((p|0)==(v|0))break;else e=e+k+i+q+h|0}return}if(j&k)_a(445144,434242,508,445753);o=c>>>1;u=d>>>1;if((c|0)==(d|0))_a(445195,434242,548,445769);if(k){if(j)_a(445235,434242,551,445769);if(o)if((a|0)>0){n=W(g,a)|0;l=0;m=f;while(1){j=0;k=m;c=e;while(1){b[k>>0]=((b[c+i>>0]|0)+(b[c>>0]|0)|0)/2|0;j=j+1|0;if((j|0)==(a|0))break;else{k=k+1|0;c=c+g|0}}l=l+1|0;if((l|0)==(o|0))break;else{m=m+a|0;e=e+n+i|0}}r=o;s=1;t=f+(W(o,a)|0)|0}else{r=o;s=1;t=f}else{r=0;s=1;t=f}}else if(j){o=h-i|0;do if(!u){k=f;j=e}else{if((a|0)<=0){k=f;j=e+(W((h<<1)-i|0,u)|0)|0;break}p=W(g,a)|0;q=W((h<<1)+p-i|0,u)|0;k=0;c=f;l=e;while(1){j=0;m=l;n=c;while(1){b[n>>0]=((b[m+h>>0]|0)+(b[m>>0]|0)|0)/2|0;j=j+1|0;if((j|0)==(a|0))break;else{m=m+g|0;n=n+1|0}}k=k+1|0;if((k|0)==(u|0))break;else{c=c+a|0;l=l+p+o+h|0}}k=f+(W(u,a)|0)|0;j=e+q|0}while(0);if((j|0)==(e+(W(h,d)|0)|0)){r=1;s=u;t=k}else _a(445480,434242,588,445769)}else{r=o;s=u;t=f}if((t|0)==(f+(W(W(W(g,a)|0,s)|0,r)|0)|0))return;else _a(445525,434242,592,445769)}function uWa(a,b,c,e,f,g,i,k,l){a=a|0;b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;i=i|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;n=(b|0)==1;m=(c|0)==1;if(!(n|m)){A=b>>>1;z=c>>>1;c=i-(W(k,b)|0)|0;m=(z|0)!=0;if(!l){if(!m)return;t=(a|0)>0;if(!A)return;x=A+-1|0;u=W(x,k)|0;v=W(g,a)|0;w=W(A,a)|0;x=v+(W(x,v+k|0)|0)|0;s=0;r=e;m=f;while(1){if(t){q=m+(w<<1)|0;p=0;b=r;while(1){n=0;l=m;m=m+(a<<1)|0;o=b;while(1){f=o+i|0;d[l>>1]=((j[o>>1]|0)+2+(j[o+k>>1]|0)+(j[f>>1]|0)+(j[f+k>>1]|0)|0)>>>2;n=n+1|0;if((n|0)==(a|0))break;else{l=l+2|0;o=o+g|0}}p=p+1|0;if((p|0)==(A|0)){n=x;m=q;break}else b=b+v+k|0}}else n=u;s=s+1|0;if((s|0)==(z|0))break;else r=r+n+k+c+i|0}return}if(!m)return;t=(A|0)==0;u=(a|0)>0;v=W(A,k)|0;w=W(g,a)|0;x=W(w+k|0,A)|0;y=W(A,a)|0;s=0;m=f;n=e;while(1){do if(!t){if(!u){n=n+v|0;break}r=n+x|0;p=0;q=m;while(1){b=0;l=q;q=q+(a<<1)|0;o=n;while(1){B=o+k|0;e=o+i|0;f=e+k|0;d[l>>1]=(((h[o+1>>0]|0)<<8|(h[o>>0]|0))+2+((h[B+1>>0]|0)<<8|(h[B>>0]|0))+((h[e+1>>0]|0)<<8|(h[e>>0]|0))+((h[f+1>>0]|0)<<8|(h[f>>0]|0))|0)/4|0;b=b+1|0;if((b|0)==(a|0))break;else{l=l+2|0;o=o+g|0}}p=p+1|0;if((p|0)==(A|0))break;else n=n+w+k|0}n=r;m=m+(y<<1)|0}while(0);s=s+1|0;if((s|0)==(z|0))break;else n=n+c+i|0}return}if(n&m)_a(445144,434242,608,445715);s=b>>>1;w=c>>>1;if((b|0)==(c|0))_a(445195,434242,665,445733);do if(m){if(n)_a(445235,434242,668,445733);if(s)if((a|0)>0){q=W(a+-1|0,g)|0;r=W(s,a)|0;if(!l){p=f;m=e;b=0;while(1){n=0;l=p;o=m;while(1){d[l>>1]=((j[o+k>>1]|0)+(j[o>>1]|0)|0)>>>1;n=n+1|0;if((n|0)==(a|0))break;else{l=l+2|0;o=o+g|0}}b=b+1|0;if((b|0)==(s|0))break;else{p=p+(a<<1)|0;m=m+q+g+k|0}}x=s;y=1;v=f+(r<<1)|0;break}else{p=f;m=e;b=0;while(1){n=0;l=p;o=m;while(1){B=o+k|0;d[l>>1]=(((h[B+1>>0]|0)<<8|(h[B>>0]|0))+((h[o+1>>0]|0)<<8|(h[o>>0]|0))|0)>>>1;n=n+1|0;if((n|0)==(a|0))break;else{l=l+2|0;o=o+g|0}}b=b+1|0;if((b|0)==(s|0))break;else{p=p+(a<<1)|0;m=m+q+g+k|0}}x=s;y=1;v=f+(r<<1)|0;break}}else{x=s;y=1;v=f}else{x=0;y=1;v=f}}else if(n){q=i-k|0;do if(w){if((a|0)<=0){n=f;m=e+(i<<1)+((W((i<<1)-k|0,w+-1|0)|0)-k)|0;break}r=W(a+-1|0,g)|0;s=W(w,a)|0;u=e+(i<<1)|0;t=W(g,a)|0;t=t+(W(t+(i<<1)-k|0,w+-1|0)|0)-k|0;if(!l){n=0;b=e;l=f;while(1){m=0;o=b;p=l;while(1){d[p>>1]=((j[o+i>>1]|0)+(j[o>>1]|0)|0)>>>1;m=m+1|0;if((m|0)==(a|0))break;else{o=o+g|0;p=p+2|0}}n=n+1|0;if((n|0)==(w|0))break;else{b=b+r+g+q+i|0;l=l+(a<<1)|0}}n=f+(s<<1)|0;m=u+t|0;break}else{n=0;b=e;l=f;while(1){m=0;o=b;p=l;while(1){B=o+i|0;d[p>>1]=(((h[B+1>>0]|0)<<8|(h[B>>0]|0))+((h[o+1>>0]|0)<<8|(h[o>>0]|0))|0)>>>1;m=m+1|0;if((m|0)==(a|0))break;else{o=o+g|0;p=p+2|0}}n=n+1|0;if((n|0)==(w|0))break;else{b=b+r+g+q+i|0;l=l+(a<<1)|0}}n=f+(s<<1)|0;m=u+t|0;break}}else{n=f;m=e}while(0);if((m|0)==(e+(W(i,c)|0)|0)){x=1;y=w;v=n}else _a(445480,434242,725,445733)}else{x=s;y=w;v=f}while(0);if((f+(W(W(W(g,a)|0,y)|0,x)|0)|0)==(v|0))return;else _a(445525,434242,729,445733)}function vWa(a,b,c,e,f,g,i,j,k){a=a|0;b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;var 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;m=(b|0)==1;l=(c|0)==1;if(!(m|l)){y=b>>>1;c=c>>>1;x=i-(W(j,b)|0)|0;l=(c|0)!=0;if(!k){if(!l)return;r=(a|0)>0;if(!y)return;v=y+-1|0;s=W(v,j)|0;t=W(g,a)|0;u=W(y,a)|0;v=t+(W(v,t+j|0)|0)|0;l=f;q=0;while(1){if(r){p=l+(u<<1)|0;n=0;o=e;while(1){m=0;b=l;l=l+(a<<1)|0;k=o;while(1){f=k+i|0;d[b>>1]=((d[k>>1]|0)+2+(d[k+j>>1]|0)+(d[f>>1]|0)+(d[f+j>>1]|0)|0)/4|0;m=m+1|0;if((m|0)==(a|0))break;else{b=b+2|0;k=k+g|0}}n=n+1|0;if((n|0)==(y|0)){m=v;l=p;break}else o=o+t+j|0}}else m=s;q=q+1|0;if((q|0)==(c|0))break;else e=e+m+j+x+i|0}return}else{if(!l)return;s=(a|0)>0;if(!y)return;w=y+-1|0;t=W(w,j)|0;u=W(g,a)|0;v=W(y,a)|0;w=u+(W(w,u+j|0)|0)|0;r=0;l=f;q=e;while(1){if(s){p=l+(v<<1)|0;o=0;b=q;while(1){m=0;k=l;l=l+(a<<1)|0;n=b;while(1){z=n+j|0;e=n+i|0;f=e+j|0;d[k>>1]=(((h[n+1>>0]<<8|h[n>>0])<<16>>16)+2+((h[z+1>>0]<<8|h[z>>0])<<16>>16)+((h[e+1>>0]<<8|h[e>>0])<<16>>16)+((h[f+1>>0]<<8|h[f>>0])<<16>>16)|0)/4|0;m=m+1|0;if((m|0)==(a|0))break;else{k=k+2|0;n=n+g|0}}o=o+1|0;if((o|0)==(y|0)){m=w;l=p;break}else b=b+u+j|0}}else m=t;r=r+1|0;if((r|0)==(c|0))break;else q=q+m+j+x+i|0}return}}if(m&l)_a(445144,434242,747,445679);r=b>>>1;v=c>>>1;if((b|0)==(c|0))_a(445195,434242,811,445696);do if(l){if(m)_a(445235,434242,814,445696);if(r)if((a|0)>0){p=W(a+-1|0,g)|0;q=W(r,a)|0;if(!k){o=f;l=e;b=0;while(1){m=0;k=o;n=l;while(1){d[k>>1]=((d[n+j>>1]|0)+(d[n>>1]|0)|0)/2|0;m=m+1|0;if((m|0)==(a|0))break;else{k=k+2|0;n=n+g|0}}b=b+1|0;if((b|0)==(r|0))break;else{o=o+(a<<1)|0;l=l+p+g+j|0}}w=r;x=1;u=f+(q<<1)|0;break}else{o=f;l=e;b=0;while(1){m=0;k=o;n=l;while(1){z=n+j|0;d[k>>1]=(((h[z+1>>0]<<8|h[z>>0])<<16>>16)+((h[n+1>>0]<<8|h[n>>0])<<16>>16)|0)/2|0;m=m+1|0;if((m|0)==(a|0))break;else{k=k+2|0;n=n+g|0}}b=b+1|0;if((b|0)==(r|0))break;else{o=o+(a<<1)|0;l=l+p+g+j|0}}w=r;x=1;u=f+(q<<1)|0;break}}else{w=r;x=1;u=f}else{w=0;x=1;u=f}}else if(m){p=i-j|0;do if(v){if((a|0)<=0){m=f;l=e+(i<<1)+((W((i<<1)-j|0,v+-1|0)|0)-j)|0;break}q=W(a+-1|0,g)|0;r=W(v,a)|0;t=e+(i<<1)|0;s=W(g,a)|0;s=s+(W(s+(i<<1)-j|0,v+-1|0)|0)-j|0;if(!k){m=0;b=e;k=f;while(1){l=0;n=b;o=k;while(1){d[o>>1]=((d[n+i>>1]|0)+(d[n>>1]|0)|0)/2|0;l=l+1|0;if((l|0)==(a|0))break;else{n=n+g|0;o=o+2|0}}m=m+1|0;if((m|0)==(v|0))break;else{b=b+q+g+p+i|0;k=k+(a<<1)|0}}m=f+(r<<1)|0;l=t+s|0;break}else{m=0;b=e;k=f;while(1){l=0;n=b;o=k;while(1){z=n+i|0;d[o>>1]=(((h[z+1>>0]<<8|h[z>>0])<<16>>16)+((h[n+1>>0]<<8|h[n>>0])<<16>>16)|0)/2|0;l=l+1|0;if((l|0)==(a|0))break;else{n=n+g|0;o=o+2|0}}m=m+1|0;if((m|0)==(v|0))break;else{b=b+q+g+p+i|0;k=k+(a<<1)|0}}m=f+(r<<1)|0;l=t+s|0;break}}else{m=f;l=e}while(0);if((l|0)==(e+(W(i,c)|0)|0)){w=1;x=v;u=m}else _a(445480,434242,871,445696)}else{w=r;x=v;u=f}while(0);if((f+(W(W(W(g,a)|0,x)|0,w)|0)|0)==(u|0))return;else _a(445525,434242,875,445696)}function wWa(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;m=(b|0)==1;l=(c|0)==1;if(!(m|l)){y=b>>>1;x=c>>>1;c=i-(W(j,b)|0)|0;l=(x|0)!=0;if(!k){if(!l)return;r=(a|0)>0;if(!y)return;v=y+-1|0;s=W(v,j)|0;t=W(g,a)|0;u=W(y,a)|0;v=t+(W(v,t+j|0)|0)|0;l=e;q=0;while(1){if(r){p=l+(u<<2)|0;n=0;o=d;while(1){m=0;b=l;l=l+(a<<2)|0;k=o;while(1){e=k+i|0;f[b>>2]=~~((+((f[k>>2]|0)>>>0)+ +((f[k+j>>2]|0)>>>0)+ +((f[e>>2]|0)>>>0)+ +((f[e+j>>2]|0)>>>0))*.25+.5)>>>0;m=m+1|0;if((m|0)==(a|0))break;else{b=b+4|0;k=k+g|0}}n=n+1|0;if((n|0)==(y|0)){m=v;l=p;break}else o=o+t+j|0}}else m=s;q=q+1|0;if((q|0)==(x|0))break;else d=d+m+j+c+i|0}return}if(!l)return;r=(y|0)==0;s=(a|0)>0;t=W(y,j)|0;u=W(g,a)|0;v=W(u+j|0,y)|0;w=W(y,a)|0;q=0;l=e;while(1){do if(!r){if(!s){d=d+t|0;break}p=d+v|0;n=0;o=l;while(1){m=0;b=o;o=o+(a<<2)|0;k=d;while(1){A=k+j|0;z=k+i|0;e=z+j|0;f[b>>2]=~~((+(((h[k+2>>0]|0)<<16|(h[k+3>>0]|0)<<24|(h[k+1>>0]|0)<<8|(h[k>>0]|0))>>>0)+ +(((h[A+2>>0]|0)<<16|(h[A+3>>0]|0)<<24|(h[A+1>>0]|0)<<8|(h[A>>0]|0))>>>0)+ +(((h[z+2>>0]|0)<<16|(h[z+3>>0]|0)<<24|(h[z+1>>0]|0)<<8|(h[z>>0]|0))>>>0)+ +(((h[e+2>>0]|0)<<16|(h[e+3>>0]|0)<<24|(h[e+1>>0]|0)<<8|(h[e>>0]|0))>>>0))*.25+.5)>>>0;m=m+1|0;if((m|0)==(a|0))break;else{b=b+4|0;k=k+g|0}}n=n+1|0;if((n|0)==(y|0))break;else d=d+u+j|0}d=p;l=l+(w<<2)|0}while(0);q=q+1|0;if((q|0)==(x|0))break;else d=d+c+i|0}return}if(m&l)_a(445144,434242,893,445645);q=b>>>1;u=c>>>1;if((b|0)==(c|0))_a(445195,434242,957,445661);do if(l){if(m)_a(445235,434242,960,445661);if(q)if((a|0)>0){o=W(a+-1|0,g)|0;p=W(q,a)|0;if(!k){k=0;n=e;while(1){l=0;m=n;b=d;while(1){f[m>>2]=~~((+((f[b>>2]|0)>>>0)+ +((f[b+j>>2]|0)>>>0))*.5)>>>0;l=l+1|0;if((l|0)==(a|0))break;else{m=m+4|0;b=b+g|0}}k=k+1|0;if((k|0)==(q|0))break;else{n=n+(a<<2)|0;d=d+o+g+j|0}}v=q;w=1;t=e+(p<<2)|0;break}else{k=0;n=e;while(1){l=0;m=n;b=d;while(1){A=b+j|0;f[m>>2]=~~((+(((h[b+2>>0]|0)<<16|(h[b+3>>0]|0)<<24|(h[b+1>>0]|0)<<8|(h[b>>0]|0))>>>0)+ +(((h[A+2>>0]|0)<<16|(h[A+3>>0]|0)<<24|(h[A+1>>0]|0)<<8|(h[A>>0]|0))>>>0))*.5)>>>0;l=l+1|0;if((l|0)==(a|0))break;else{m=m+4|0;b=b+g|0}}k=k+1|0;if((k|0)==(q|0))break;else{n=n+(a<<2)|0;d=d+o+g+j|0}}v=q;w=1;t=e+(p<<2)|0;break}}else{v=q;w=1;t=e}else{v=0;w=1;t=e}}else if(m){p=i-j|0;do if(u){if((a|0)<=0){m=e;l=d+(W((i<<1)-j|0,u)|0)|0;break}q=W(a+-1|0,g)|0;r=W(u,a)|0;A=W(g,a)|0;s=i<<1;s=A+(W(A+s-j|0,u+-1|0)|0)+s-j|0;if(!k){m=0;b=d;k=e;while(1){l=0;n=b;o=k;while(1){f[o>>2]=~~((+((f[n>>2]|0)>>>0)+ +((f[n+i>>2]|0)>>>0))*.5)>>>0;l=l+1|0;if((l|0)==(a|0))break;else{n=n+g|0;o=o+4|0}}m=m+1|0;if((m|0)==(u|0))break;else{b=b+q+g+p+i|0;k=k+(a<<2)|0}}m=e+(r<<2)|0;l=d+s|0;break}else{m=0;b=d;k=e;while(1){l=0;n=b;o=k;while(1){A=n+i|0;f[o>>2]=~~((+(((h[n+2>>0]|0)<<16|(h[n+3>>0]|0)<<24|(h[n+1>>0]|0)<<8|(h[n>>0]|0))>>>0)+ +(((h[A+2>>0]|0)<<16|(h[A+3>>0]|0)<<24|(h[A+1>>0]|0)<<8|(h[A>>0]|0))>>>0))*.5)>>>0;l=l+1|0;if((l|0)==(a|0))break;else{n=n+g|0;o=o+4|0}}m=m+1|0;if((m|0)==(u|0))break;else{b=b+q+g+p+i|0;k=k+(a<<2)|0}}m=e+(r<<2)|0;l=d+s|0;break}}else{m=e;l=d}while(0);if((l|0)==(d+(W(i,c)|0)|0)){v=1;w=u;t=m}else _a(445480,434242,1017,445661)}else{v=q;w=u;t=e}while(0);if((e+(W(W(W(g,a)|0,w)|0,v)|0)|0)==(t|0))return;else _a(445525,434242,1021,445661)}function xWa(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;m=(b|0)==1;l=(c|0)==1;if(!(m|l)){y=b>>>1;x=c>>>1;c=i-(W(j,b)|0)|0;l=(x|0)!=0;if(!k){if(!l)return;r=(a|0)>0;if(!y)return;v=y+-1|0;s=W(v,j)|0;t=W(g,a)|0;u=W(y,a)|0;v=t+(W(v,t+j|0)|0)|0;l=e;q=0;while(1){if(r){p=l+(u<<2)|0;n=0;o=d;while(1){m=0;b=l;l=l+(a<<2)|0;k=o;while(1){e=k+i|0;f[b>>2]=~~((+(f[k>>2]|0)+ +(f[k+j>>2]|0)+ +(f[e>>2]|0)+ +(f[e+j>>2]|0))*.25+.5);m=m+1|0;if((m|0)==(a|0))break;else{b=b+4|0;k=k+g|0}}n=n+1|0;if((n|0)==(y|0)){m=v;l=p;break}else o=o+t+j|0}}else m=s;q=q+1|0;if((q|0)==(x|0))break;else d=d+m+j+c+i|0}return}if(!l)return;r=(y|0)==0;s=(a|0)>0;t=W(y,j)|0;u=W(g,a)|0;v=W(u+j|0,y)|0;w=W(y,a)|0;q=0;l=e;while(1){do if(!r){if(!s){d=d+t|0;break}p=d+v|0;n=0;o=l;while(1){m=0;b=o;o=o+(a<<2)|0;k=d;while(1){A=k+j|0;z=k+i|0;e=z+j|0;f[b>>2]=~~((+((h[k+2>>0]|0)<<16|(h[k+3>>0]|0)<<24|(h[k+1>>0]|0)<<8|(h[k>>0]|0)|0)+ +((h[A+2>>0]|0)<<16|(h[A+3>>0]|0)<<24|(h[A+1>>0]|0)<<8|(h[A>>0]|0)|0)+ +((h[z+2>>0]|0)<<16|(h[z+3>>0]|0)<<24|(h[z+1>>0]|0)<<8|(h[z>>0]|0)|0)+ +((h[e+2>>0]|0)<<16|(h[e+3>>0]|0)<<24|(h[e+1>>0]|0)<<8|(h[e>>0]|0)|0))*.25+.5);m=m+1|0;if((m|0)==(a|0))break;else{b=b+4|0;k=k+g|0}}n=n+1|0;if((n|0)==(y|0))break;else d=d+u+j|0}d=p;l=l+(w<<2)|0}while(0);q=q+1|0;if((q|0)==(x|0))break;else d=d+c+i|0}return}if(m&l)_a(445144,434242,1037,445613);q=b>>>1;u=c>>>1;if((b|0)==(c|0))_a(445195,434242,1103,445628);do if(l){if(m)_a(445235,434242,1106,445628);if(q)if((a|0)>0){o=W(a+-1|0,g)|0;p=W(q,a)|0;if(!k){k=0;n=e;while(1){l=0;m=n;b=d;while(1){f[m>>2]=~~((+((f[b>>2]|0)>>>0)+ +((f[b+j>>2]|0)>>>0))*.5);l=l+1|0;if((l|0)==(a|0))break;else{m=m+4|0;b=b+g|0}}k=k+1|0;if((k|0)==(q|0))break;else{n=n+(a<<2)|0;d=d+o+g+j|0}}v=q;w=1;t=e+(p<<2)|0;break}else{k=0;n=e;while(1){l=0;m=n;b=d;while(1){A=b+j|0;f[m>>2]=~~((+(((h[b+2>>0]|0)<<16|(h[b+3>>0]|0)<<24|(h[b+1>>0]|0)<<8|(h[b>>0]|0))>>>0)+ +(((h[A+2>>0]|0)<<16|(h[A+3>>0]|0)<<24|(h[A+1>>0]|0)<<8|(h[A>>0]|0))>>>0))*.5);l=l+1|0;if((l|0)==(a|0))break;else{m=m+4|0;b=b+g|0}}k=k+1|0;if((k|0)==(q|0))break;else{n=n+(a<<2)|0;d=d+o+g+j|0}}v=q;w=1;t=e+(p<<2)|0;break}}else{v=q;w=1;t=e}else{v=0;w=1;t=e}}else if(m){p=i-j|0;do if(u){if((a|0)<=0){m=e;l=d+(W((i<<1)-j|0,u)|0)|0;break}q=W(a+-1|0,g)|0;r=W(u,a)|0;A=W(g,a)|0;s=i<<1;s=A+(W(A+s-j|0,u+-1|0)|0)+s-j|0;if(!k){m=0;b=d;k=e;while(1){l=0;n=b;o=k;while(1){f[o>>2]=~~((+((f[n>>2]|0)>>>0)+ +((f[n+i>>2]|0)>>>0))*.5);l=l+1|0;if((l|0)==(a|0))break;else{n=n+g|0;o=o+4|0}}m=m+1|0;if((m|0)==(u|0))break;else{b=b+q+g+p+i|0;k=k+(a<<2)|0}}m=e+(r<<2)|0;l=d+s|0;break}else{m=0;b=d;k=e;while(1){l=0;n=b;o=k;while(1){A=n+i|0;f[o>>2]=~~((+(((h[n+2>>0]|0)<<16|(h[n+3>>0]|0)<<24|(h[n+1>>0]|0)<<8|(h[n>>0]|0))>>>0)+ +(((h[A+2>>0]|0)<<16|(h[A+3>>0]|0)<<24|(h[A+1>>0]|0)<<8|(h[A>>0]|0))>>>0))*.5);l=l+1|0;if((l|0)==(a|0))break;else{n=n+g|0;o=o+4|0}}m=m+1|0;if((m|0)==(u|0))break;else{b=b+q+g+p+i|0;k=k+(a<<2)|0}}m=e+(r<<2)|0;l=d+s|0;break}}else{m=e;l=d}while(0);if((l|0)==(d+(W(i,c)|0)|0)){v=1;w=u;t=m}else _a(445480,434242,1163,445628)}else{v=q;w=u;t=e}while(0);if((e+(W(W(W(g,a)|0,w)|0,v)|0)|0)==(t|0))return;else _a(445525,434242,1167,445628)}function yWa(a,b,c,d,e,g,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0;m=(b|0)==1;l=(c|0)==1;if(!(m|l)){B=b>>>1;A=c>>>1;z=i-(W(j,b)|0)|0;l=(A|0)!=0;if(!k){if(!l)return;u=(a|0)>0;if(!B)return;c=B+-1|0;v=W(c,j)|0;w=W(g,a)|0;b=W(B,a)|0;c=w+(W(c,w+j|0)|0)|0;l=e;t=0;while(1){if(u){r=l+(b<<2)|0;p=0;q=d;while(1){m=0;k=l;l=l+(a<<2)|0;o=q;while(1){e=o+i|0;n[k>>2]=(+n[o>>2]+ +n[o+j>>2]+ +n[e>>2]+ +n[e+j>>2])*.25;m=m+1|0;if((m|0)==(a|0))break;else{k=k+4|0;o=o+g|0}}p=p+1|0;if((p|0)==(B|0)){m=c;l=r;break}else q=q+w+j|0}}else m=v;t=t+1|0;if((t|0)==(A|0))break;else d=d+m+j+z+i|0}return}if(!l)return;v=(B|0)==0;w=(a|0)>0;b=W(B,j)|0;c=W(g,a)|0;x=W(c+j|0,B)|0;y=W(B,a)|0;u=0;l=e;m=d;while(1){do if(!v){if(!w){m=m+b|0;break}t=m+x|0;q=0;r=l;while(1){k=0;o=r;r=r+(a<<2)|0;p=m;while(1){e=(h[p+2>>0]|0)<<16|(h[p+3>>0]|0)<<24|(h[p+1>>0]|0)<<8|(h[p>>0]|0);C=(f[s>>2]=e,+n[s>>2]);f[o>>2]=e;e=p+j|0;C=C+(f[s>>2]=(h[e+2>>0]|0)<<16|(h[e+3>>0]|0)<<24|(h[e+1>>0]|0)<<8|(h[e>>0]|0),+n[s>>2]);n[o>>2]=C;e=p+i|0;C=C+(f[s>>2]=(h[e+2>>0]|0)<<16|(h[e+3>>0]|0)<<24|(h[e+1>>0]|0)<<8|(h[e>>0]|0),+n[s>>2]);n[o>>2]=C;e=e+j|0;n[o>>2]=(C+(f[s>>2]=(h[e+2>>0]|0)<<16|(h[e+3>>0]|0)<<24|(h[e+1>>0]|0)<<8|(h[e>>0]|0),+n[s>>2]))*.25;k=k+1|0;if((k|0)==(a|0))break;else{o=o+4|0;p=p+g|0}}q=q+1|0;if((q|0)==(B|0))break;else m=m+c+j|0}m=t;l=l+(y<<2)|0}while(0);u=u+1|0;if((u|0)==(A|0))break;else m=m+z+i|0}return}if(m&l)_a(445144,434242,1185,445444);o=b>>>1;w=c>>>1;if((b|0)==(c|0))_a(445195,434242,1249,445461);do if(!l)if(m){r=i-j|0;if(w){if((a|0)<=0){o=1;p=w;k=e;l=d+(W((i<<1)-j|0,w)|0)|0;break}t=W(a+-1|0,g)|0;v=W(w,a)|0;B=W(g,a)|0;u=i<<1;u=B+(W(B+u-j|0,w+-1|0)|0)+u-j|0;if(!k){m=0;k=d;o=e;while(1){l=0;p=k;q=o;while(1){n[q>>2]=(+n[p>>2]+ +n[p+i>>2])*.5;l=l+1|0;if((l|0)==(a|0))break;else{p=p+g|0;q=q+4|0}}m=m+1|0;if((m|0)==(w|0))break;else{k=k+t+g+r+i|0;o=o+(a<<2)|0}}o=1;p=w;k=e+(v<<2)|0;l=d+u|0;break}else{m=0;k=d;o=e;while(1){l=0;p=k;q=o;while(1){j=p+i|0;n[q>>2]=(+(((h[p+2>>0]|0)<<16|(h[p+3>>0]|0)<<24|(h[p+1>>0]|0)<<8|(h[p>>0]|0))>>>0)+ +(((h[j+2>>0]|0)<<16|(h[j+3>>0]|0)<<24|(h[j+1>>0]|0)<<8|(h[j>>0]|0))>>>0))*.5;l=l+1|0;if((l|0)==(a|0))break;else{p=p+g|0;q=q+4|0}}m=m+1|0;if((m|0)==(w|0))break;else{k=k+t+g+r+i|0;o=o+(a<<2)|0}}o=1;p=w;k=e+(v<<2)|0;l=d+u|0;break}}else{o=1;p=0;k=e;l=d}}else{p=w;k=e;l=d}else{if(m)_a(445235,434242,1252,445461);do if(o){if((a|0)<=0){l=e;m=d+(W(o,j)|0)|0;break}t=W(a+-1|0,g)|0;u=W(o,a)|0;v=W((W(g,a)|0)+j|0,o)|0;if(!k){m=0;k=e;p=d;while(1){l=0;q=k;r=p;while(1){n[q>>2]=(+n[r>>2]+ +n[r+j>>2])*.5;l=l+1|0;if((l|0)==(a|0))break;else{q=q+4|0;r=r+g|0}}m=m+1|0;if((m|0)==(o|0))break;else{k=k+(a<<2)|0;p=p+t+g+j|0}}l=e+(u<<2)|0;m=d+v|0;break}else{m=0;k=e;p=d;while(1){l=0;q=k;r=p;while(1){B=r+j|0;n[q>>2]=(+(((h[r+2>>0]|0)<<16|(h[r+3>>0]|0)<<24|(h[r+1>>0]|0)<<8|(h[r>>0]|0))>>>0)+ +(((h[B+2>>0]|0)<<16|(h[B+3>>0]|0)<<24|(h[B+1>>0]|0)<<8|(h[B>>0]|0))>>>0))*.5;l=l+1|0;if((l|0)==(a|0))break;else{q=q+4|0;r=r+g|0}}m=m+1|0;if((m|0)==(o|0))break;else{k=k+(a<<2)|0;p=p+t+g+j|0}}l=e+(u<<2)|0;m=d+v|0;break}}else{l=e;m=d}while(0);p=1;k=l;l=m+(i-(W(j,b)|0))|0}while(0);if((l|0)!=(d+(W(i,c)|0)|0))_a(445480,434242,1310,445461);if((e+(W(W(W(g,a)|0,p)|0,o)|0)|0)==(k|0))return;else _a(445525,434242,1312,445461)}function zWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=d[b>>1]|0;else a=((h[b+1>>0]|0)<<8|(h[b>>0]|0))&65535;b=a&65535;n[c>>2]=+(b>>>11|0)/31.0;n[c+4>>2]=+(b>>>5&63|0)/63.0;n[c+8>>2]=+(b&31|0)/31.0;return}function AWa(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=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+80|0;E=G+64|0;F=G;C=(d|0)==1;D=(e|0)==1;if(!(C|D)){A=(d|0)/2|0;B=(e|0)/2|0;k=W(h,d)|0;t=i-k|0;do if((e|0)>1){v=F+16|0;w=F+32|0;x=F+48|0;y=(a|0)>0;z=h<<1;if((d|0)<=1){z=i<<1;l=0;k=f+((W(B+-1|0,z-k|0)|0)+z-k)|0;break}s=(W(A+-1|0,h)|0)<<1;l=0;r=0;k=f;do{if(y){o=0;p=k;q=l;while(1){Fj[b&511](j,p,F);Fj[b&511](j,p+h|0,v);m=p+i|0;Fj[b&511](j,m,w);Fj[b&511](j,m+h|0,x);m=0;do{n[E+(m<<2)>>2]=(+n[F+48+(m<<2)>>2]+(+n[F+32+(m<<2)>>2]+(+n[F+16+(m<<2)>>2]+(+n[F+(m<<2)>>2]+0.0))))*.25;m=m+1|0}while((m|0)!=(a|0));Fj[c&511](E,q,g);o=o+1|0;if((o|0)==(A|0))break;else{p=p+z|0;q=q+1|0}}}else{m=0;o=k;p=l;while(1){Fj[b&511](j,o,F);Fj[b&511](j,o+h|0,v);q=o+i|0;Fj[b&511](j,q,w);Fj[b&511](j,q+h|0,x);Fj[c&511](E,p,g);m=m+1|0;if((m|0)==(A|0))break;else{o=o+z|0;p=p+1|0}}}l=A+l|0;k=k+s+z+t+i|0;r=r+1|0}while((r|0)!=(B|0))}else{l=0;k=f}while(0);if((k|0)!=(f+(W(i,e)|0)|0))_a(445328,434242,6577,445173);if((l|0)==(W(B,A)|0)){u=G;return}else _a(445293,434242,6578,445173)}if(C&D)_a(445144,434242,6508,445173);r=(d|0)/2|0;s=(e|0)/2|0;if((d|0)==(e|0))_a(445195,434242,6598,445211);if(D){if(C)_a(445235,434242,6603,445211);do if((d|0)>1){o=F+16|0;p=h<<1;q=W(r<<1,h)|0;if((a|0)<=0){k=0;l=f;while(1){Fj[b&511](j,l,F);Fj[b&511](j,l+h|0,o);Fj[c&511](E,k,g);k=k+1|0;if((k|0)==(r|0))break;else l=l+p|0}l=r;k=f+q|0;break}l=0;m=f;while(1){Fj[b&511](j,m,F);Fj[b&511](j,m+h|0,o);k=0;do{n[E+(k<<2)>>2]=(+n[F+16+(k<<2)>>2]+(+n[F+(k<<2)>>2]+0.0))*.5;k=k+1|0}while((k|0)!=(a|0));Fj[c&511](E,l,g);l=l+1|0;if((l|0)==(r|0))break;else m=m+p|0}l=r;k=f+q|0}else{l=0;k=f}while(0);if((k+(i-(W(h,d)|0))|0)!=(f+i|0))_a(445246,434242,6643,445211);if((l|0)==(r|0)){u=G;return}else _a(445293,434242,6644,445211)}else{if(!C){u=G;return}do if((e|0)>1){o=F+16|0;p=i<<1;q=W(s<<1,i)|0;if((a|0)<=0){k=0;l=f;while(1){Fj[b&511](j,l,F);Fj[b&511](j,l+i|0,o);Fj[c&511](E,k,g);k=k+1|0;if((k|0)==(s|0))break;else l=l+p|0}l=s;k=f+q|0;break}l=0;m=f;while(1){Fj[b&511](j,m,F);Fj[b&511](j,m+i|0,o);k=0;do{n[E+(k<<2)>>2]=(+n[F+16+(k<<2)>>2]+(+n[F+(k<<2)>>2]+0.0))*.5;k=k+1|0}while((k|0)!=(a|0));Fj[c&511](E,l,g);l=l+1|0;if((l|0)==(s|0))break;else m=m+p|0}l=s;k=f+q|0}else{l=0;k=f}while(0);if((k|0)!=(f+(W(i,e)|0)|0))_a(445328,434242,6684,445211);if((l|0)==(s|0)){u=G;return}else _a(445293,434242,6685,445211)}}function BWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=d[b>>1]|0;else a=((h[b+1>>0]|0)<<8|(h[b>>0]|0))&65535;b=a&65535;n[c>>2]=+(b&31|0)/31.0;n[c+4>>2]=+(b>>>5&63|0)/63.0;n[c+8>>2]=+(b>>>11|0)/31.0;return}function CWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=d[b>>1]|0;else a=((h[b+1>>0]|0)<<8|(h[b>>0]|0))&65535;b=a&65535;n[c>>2]=+(b>>>12|0)/15.0;n[c+4>>2]=+(b>>>8&15|0)/15.0;n[c+8>>2]=+(b>>>4&15|0)/15.0;n[c+12>>2]=+(b&15|0)/15.0;return}function DWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=d[b>>1]|0;else a=((h[b+1>>0]|0)<<8|(h[b>>0]|0))&65535;b=a&65535;n[c>>2]=+(b&15|0)/15.0;n[c+4>>2]=+(b>>>4&15|0)/15.0;n[c+8>>2]=+(b>>>8&15|0)/15.0;n[c+12>>2]=+(b>>>12|0)/15.0;return}function EWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=d[b>>1]|0;else a=((h[b+1>>0]|0)<<8|(h[b>>0]|0))&65535;b=a&65535;n[c>>2]=+(b>>>11|0)/31.0;n[c+4>>2]=+(b>>>6&31|0)/31.0;n[c+8>>2]=+(b>>>1&31|0)/31.0;n[c+12>>2]=+(b&1|0);return}function FWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=d[b>>1]|0;else a=((h[b+1>>0]|0)<<8|(h[b>>0]|0))&65535;b=a&65535;n[c>>2]=+(b&31|0)/31.0;n[c+4>>2]=+(b>>>5&31|0)/31.0;n[c+8>>2]=+(b>>>10&31|0)/31.0;n[c+12>>2]=+(b>>>15|0);return}function GWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=f[b>>2]|0;else a=(h[b+2>>0]|0)<<16|(h[b+3>>0]|0)<<24|(h[b+1>>0]|0)<<8|(h[b>>0]|0);n[c>>2]=+(a>>>24>>>0)/255.0;n[c+4>>2]=+((a>>>16&255)>>>0)/255.0;n[c+8>>2]=+((a>>>8&255)>>>0)/255.0;n[c+12>>2]=+((a&255)>>>0)/255.0;return}function HWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=f[b>>2]|0;else a=(h[b+2>>0]|0)<<16|(h[b+3>>0]|0)<<24|(h[b+1>>0]|0)<<8|(h[b>>0]|0);n[c>>2]=+((a&255)>>>0)/255.0;n[c+4>>2]=+((a>>>8&255)>>>0)/255.0;n[c+8>>2]=+((a>>>16&255)>>>0)/255.0;n[c+12>>2]=+(a>>>24>>>0)/255.0;return}function IWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=f[b>>2]|0;else a=(h[b+2>>0]|0)<<16|(h[b+3>>0]|0)<<24|(h[b+1>>0]|0)<<8|(h[b>>0]|0);n[c>>2]=+(a>>>22>>>0)/1023.0;n[c+4>>2]=+((a>>>12&1023)>>>0)/1023.0;n[c+8>>2]=+((a>>>2&1023)>>>0)/1023.0;n[c+12>>2]=+((a&3)>>>0)/3.0;return}function JWa(a,b,c){a=a|0;b=b|0;c=c|0;if(!a)a=f[b>>2]|0;else a=(h[b+2>>0]|0)<<16|(h[b+3>>0]|0)<<24|(h[b+1>>0]|0)<<8|(h[b>>0]|0);n[c>>2]=+((a&1023)>>>0)/1023.0;n[c+4>>2]=+((a>>>10&1023)>>>0)/1023.0;n[c+8>>2]=+((a>>>20&1023)>>>0)/1023.0;n[c+12>>2]=+(a>>>30>>>0)/3.0;return}function KWa(a,b,c,d,e,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var o=0.0,p=0,q=0,r=0,s=0,t=0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0.0,C=0,D=0.0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0,Q=0,R=0.0,S=0,T=0,U=0.0,V=0,X=0.0,Y=0.0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0;ea=u;u=u+64|0;aa=ea+48|0;ba=ea+32|0;ca=ea+16|0;da=ea;if((h<<1|0)==(d|0)&(i<<1|0)==(e|0)){AWa(a,b,c,d,e,g,j,k,l,m);u=ea;return}Y=+(e|0)/+(i|0);R=+(d|0)/+(h|0);T=~~+I(+Y);U=Y-+(T|0);V=~~+I(+R);X=R-+(V|0);Y=R*Y;if((i|0)<=0){u=ea;return}Z=(h|0)>0;_=(a|0)>0;Q=0;R=U;o=0.0;S=T;e=0;d=0;$=h+-1|0;while(1){if(Z){N=(S|0)>(e|0);O=1.0-o;P=W(e,l)|0;J=e+1|0;K=W(J,l)|0;L=(J|0)<(S|0);M=W(Q,h)|0;D=R-o;E=W(S,l)|0;F=g+P|0;G=g+(W(S+-1|0,l)|0)|0;H=g+E|0;A=0;B=X;o=0.0;C=V;y=0;while(1){z=W(y,k)|0;d=(C|0)>(y|0);f[aa>>2]=0;f[aa+4>>2]=0;f[aa+8>>2]=0;f[aa+12>>2]=0;a:do if(N&d){w=g+z|0;e=w+P|0;v=1.0-o;o=O*v;Fj[b&511](m,e,ba);if(_){d=0;do{t=aa+(d<<2)|0;n[t>>2]=+n[t>>2]+o*+n[ba+(d<<2)>>2];d=d+1|0}while((d|0)!=(a|0))}q=y+1|0;t=(q|0)<(C|0);d=e+k|0;do if(t){s=W(C,k)|0;if(!_){p=q;while(1){Fj[b&511](m,d,ba);p=p+1|0;if((p|0)==(C|0))break;else d=d+k|0}d=F+s|0;break}r=q;while(1){Fj[b&511](m,d,ba);p=0;do{fa=aa+(p<<2)|0;n[fa>>2]=+n[fa>>2]+O*+n[ba+(p<<2)>>2];p=p+1|0}while((p|0)!=(a|0));r=r+1|0;if((r|0)==(C|0))break;else d=d+k|0}d=F+s|0}while(0);o=O*B;Fj[b&511](m,d,ba);if(_){p=0;do{fa=aa+(p<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(p<<2)>>2];p=p+1|0}while((p|0)!=(a|0));o=R*v;Fj[b&511](m,w+E|0,ba);if(_){p=0;do{fa=aa+(p<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(p<<2)>>2];p=p+1|0}while((p|0)!=(a|0))}}else Fj[b&511](m,w+E|0,ba);p=w+E+k|0;do if(t){s=W(C,k)|0;if(!_){while(1){Fj[b&511](m,p,ba);q=q+1|0;if((q|0)==(C|0))break;else p=p+k|0}p=H+s|0;break}while(1){Fj[b&511](m,p,ba);r=0;do{fa=aa+(r<<2)|0;n[fa>>2]=+n[fa>>2]+R*+n[ba+(r<<2)>>2];r=r+1|0}while((r|0)!=(a|0));q=q+1|0;if((q|0)==(C|0))break;else p=p+k|0}p=H+s|0}while(0);o=R*B;Fj[b&511](m,p,ba);if(_){p=0;do{fa=aa+(p<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(p<<2)>>2];p=p+1|0}while((p|0)!=(a|0))}if(L){if(!_){p=J;while(1){e=e+l|0;d=d+l|0;Fj[b&511](m,e,ba);Fj[b&511](m,d,ca);p=p+1|0;if((p|0)==(S|0)){x=86;break a}}}q=J;do{e=e+l|0;d=d+l|0;Fj[b&511](m,e,ba);Fj[b&511](m,d,ca);p=0;do{fa=aa+(p<<2)|0;n[fa>>2]=+n[fa>>2]+(v*+n[ba+(p<<2)>>2]+B*+n[ca+(p<<2)>>2]);p=p+1|0}while((p|0)!=(a|0));q=q+1|0}while((q|0)!=(S|0));x=86}}else{if(N){v=B-o;o=O*v;d=g+z+P|0;Fj[b&511](m,d,ba);if(_){e=0;do{fa=aa+(e<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(e<<2)>>2];e=e+1|0}while((e|0)!=(a|0))}do if(L){if(!_){e=J;do{d=d+l|0;Fj[b&511](m,d,ba);e=e+1|0}while((e|0)!=(S|0));d=G+z|0;break}p=J;do{d=d+l|0;Fj[b&511](m,d,ba);e=0;do{fa=aa+(e<<2)|0;n[fa>>2]=+n[fa>>2]+v*+n[ba+(e<<2)>>2];e=e+1|0}while((e|0)!=(a|0));p=p+1|0}while((p|0)!=(S|0));d=G+z|0}while(0);o=R*v;Fj[b&511](m,d+l|0,ba);if(!_){x=86;break}d=0;while(1){fa=aa+(d<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(d<<2)>>2];d=d+1|0;if((d|0)==(a|0)){x=86;break a}}}if(!d){o=D*(B-o);Fj[b&511](m,g+z+P|0,ba);if(!_){x=86;break}d=0;while(1){fa=aa+(d<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(d<<2)>>2];d=d+1|0;if((d|0)==(a|0)){x=86;break a}}}o=D*(1.0-o);p=g+z+P|0;Fj[b&511](m,p,ba);if(_){d=0;do{fa=aa+(d<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(d<<2)>>2];d=d+1|0}while((d|0)!=(a|0))}e=y+1|0;d=p+k|0;do if((e|0)<(C|0)){q=W(C,k)|0;if(!_){while(1){Fj[b&511](m,d,ba);e=e+1|0;if((e|0)==(C|0))break;else d=d+k|0}d=F+q|0;break}p=e;while(1){Fj[b&511](m,d,ba);e=0;do{fa=aa+(e<<2)|0;n[fa>>2]=+n[fa>>2]+D*+n[ba+(e<<2)>>2];e=e+1|0}while((e|0)!=(a|0));p=p+1|0;if((p|0)==(C|0))break;else d=d+k|0}d=F+q|0}while(0);o=D*B;Fj[b&511](m,d,ba);if(_){d=0;do{fa=aa+(d<<2)|0;n[fa>>2]=+n[fa>>2]+o*+n[ba+(d<<2)>>2];d=d+1|0}while((d|0)!=(a|0));x=86}else x=86}while(0);if((x|0)==86?(x=0,L):0){s=y+1|0;t=(s|0)<(C|0);q=g+z+k+K|0;r=J;while(1){b:do if(t){if(!_){d=s;e=q;while(1){Fj[b&511](m,e,ba);d=d+1|0;if((d|0)==(C|0))break b;else e=e+k|0}}e=s;p=q;while(1){Fj[b&511](m,p,ba);d=0;do{fa=aa+(d<<2)|0;n[fa>>2]=+n[ba+(d<<2)>>2]+ +n[fa>>2];d=d+1|0}while((d|0)!=(a|0));e=e+1|0;if((e|0)==(C|0))break;else p=p+k|0}}while(0);r=r+1|0;if((r|0)==(S|0))break;else q=q+l|0}}e=A+M|0;if(_){d=0;do{n[da+(d<<2)>>2]=+n[aa+(d<<2)>>2]/Y;d=d+1|0}while((d|0)!=(a|0))}Fj[c&511](da,e,j);o=X+B;d=o>1.0;A=A+1|0;if((A|0)==(h|0)){d=$;break}else{y=C;v=B;B=d?o+-1.0:o;C=C+V+(d&1)|0;o=v}}}o=U+R;e=o>1.0;Q=Q+1|0;if((Q|0)==(i|0))break;else{fa=S;O=R;R=e?o+-1.0:o;S=S+T+(e&1)|0;$=$+h|0;e=fa;o=O}}if((d|0)==((W(i,h)|0)+-1|0)){u=ea;return}else _a(445382,434242,6490,445419)}function LWa(a){a=a|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;k=l;h=a+36|0;d=a+40|0;c=f[d>>2]|0;do if(c){e=a+40|0;while(1){d=f[c+16>>2]|0;if(d>>>0>298728>>>0){d=f[c>>2]|0;if(!d){d=5;break}else{e=c;c=d}}else{if(d>>>0>=298728>>>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){c=EBb(24)|0;f[c+16>>2]=298728;f[c+20>>2]=0;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)d=c;else{f[h>>2]=d;d=f[e>>2]|0}Xo(f[a+40>>2]|0,d);j=a+44|0;f[j>>2]=(f[j>>2]|0)+1}i=c+20|0;if(f[i>>2]|0){k=f[i>>2]|0;u=l;return k|0}j=EBb(96)|0;c=f[a+24>>2]|0;d=EBb(32)|0;f[k>>2]=d;f[k+8>>2]=-2147483616;f[k+4>>2]=20;e=d;g=446177;h=e+20|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[d+20>>0]=0;dAa(j,k,c);if((b[k+11>>0]|0)<0)GBb(f[k>>2]|0);f[j>>2]=350652;k=j+28|0;c=j+48|0;f[c>>2]=0;f[j+52>>2]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[j+44>>2]=c;f[j+56>>2]=0;f[j+60>>2]=0;f[j+64>>2]=0;p[j+72>>3]=0.0;f[j+80>>2]=0;p[j+88>>3]=0.0;c=f[i>>2]|0;if((c|0)==(j|0)){k=f[i>>2]|0;u=l;return k|0}f[i>>2]=j;k=j+8|0;f[k>>2]=(f[k>>2]|0)+1;if(!c){k=f[i>>2]|0;u=l;return k|0}a=c+8|0;k=f[a>>2]|0;f[a>>2]=k-1;if((k|0)!=1){k=f[i>>2]|0;u=l;return k|0}Rua(c,1,1);k=f[i>>2]|0;u=l;return k|0}function MWa(a,c,d,e,g,h,i,j,k,l){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,q=0,r=0,s=0,t=0.0,v=0.0;r=u;u=u+32|0;m=r;n=c+88|0;if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,m|0)|0;q=f[m>>2]|0;q=LDb(q|0,((q|0)<0)<<31>>31|0,1e6,0)|0;o=H;s=f[m+4>>2]|0;s=QDb(s|0,((s|0)<0)<<31>>31|0,1e3,0)|0;o=MDb(s|0,H|0,q|0,o|0)|0;q=497264;f[q>>2]=o;f[q+4>>2]=H}Nb(1,m|0)|0;q=f[m>>2]|0;q=LDb(q|0,((q|0)<0)<<31>>31|0,1e6,0)|0;o=H;s=f[m+4>>2]|0;s=QDb(s|0,((s|0)<0)<<31>>31|0,1e3,0)|0;o=MDb(s|0,H|0,q|0,o|0)|0;q=H;s=c+80|0;f[s>>2]=(f[s>>2]|0)+1;f[m>>2]=e;f[m+4>>2]=g;f[m+8>>2]=h;f[m+12>>2]=i;f[m+16>>2]=j;f[m+20>>2]=k;f[m+24>>2]=l;f[m+28>>2]=0;NWa(m);PWa(a,OWa(c,m)|0,d);Nb(1,m|0)|0;c=f[m>>2]|0;c=LDb(c|0,((c|0)<0)<<31>>31|0,1e6,0)|0;a=H;s=f[m+4>>2]|0;s=QDb(s|0,((s|0)<0)<<31>>31|0,1e3,0)|0;a=MDb(s|0,H|0,c|0,a|0)|0;c=H;if(c>>>0>q>>>0|(c|0)==(q|0)&a>>>0>o>>>0){s=NDb(a|0,c|0,o|0,q|0)|0;v=+p[62159]*(+(s>>>0)+4294967296.0*+(H>>>0));t=+p[n>>3];t=v+t;p[n>>3]=t;u=r;return}else{s=NDb(o|0,q|0,a|0,c|0)|0;t=-(+p[62159]*(+(s>>>0)+4294967296.0*+(H>>>0)));v=+p[n>>3];v=t+v;p[n>>3]=v;u=r;return}}function NWa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=f[a+8>>2]|0;a:do if((b|0)<35841){if((b|0)>=33776)switch(b|0){case 34025:{b=4;break a}case 34028:{b=4;break a}case 34027:{b=4;break a}case 33776:{b=4;break a}case 33777:{b=4;break a}case 34029:{b=8;break a}case 33778:{b=8;break a}case 33779:{b=8;break a}case 35840:{b=4;break a}default:{b=32;break a}}if((b|0)<6407){if((b|0)<3)switch(b|0){case 1:{b=8;break a}case 2:{b=16;break a}default:{b=32;break a}}if((b|0)<6406){switch(b|0){case 3:break;default:{b=32;break a}}b=24;break}else{switch(b|0){case 6406:break;default:{b=32;break a}}b=8;break}}if((b|0)<6410)switch(b|0){case 6409:{b=8;break a}case 6407:{b=24;break a}default:{b=32;break a}}if((b|0)<32841){switch(b|0){case 6410:break;default:{b=32;break a}}b=16;break}switch(b|0){case 32841:{b=8;break a}case 32992:{b=24;break a}default:{b=32;break a}}}else do switch(b|0){case 37491:{b=8;break a}case 37490:{b=8;break a}case 36284:{b=4;break a}case 36283:{b=4;break a}case 36286:{b=8;break a}case 36285:{b=8;break a}case 35841:{b=2;break a}case 35843:{b=2;break a}case 35842:{b=4;break a}case 36196:{b=4;break a}case 37492:{b=4;break a}case 37493:{b=4;break a}case 37494:{b=8;break a}case 37495:{b=8;break a}case 37496:{b=8;break a}case 37497:{b=8;break a}case 37488:{b=4;break a}case 37489:{b=4;break a}default:{b=32;break a}}while(0);while(0);d=~~+V(+(+((W(W(W(f[a+12>>2]|0,b)|0,f[a+16>>2]|0)|0,f[a+20>>2]|0)|0)>>>0)*.125))>>>0;g=a+28|0;f[g>>2]=d;e=f[a+4>>2]|0;if((e|0)<=1)return;b=d>>>2;if(!b)return;c=0;a=d;do{a=a+b|0;c=c+1|0;b=b>>>2}while((c|0)<(e|0)&(b|0)!=0);f[g>>2]=a;return}function OWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=u;u=u+16|0;d=h;e=a+44|0;g=SWa(e,d,b)|0;c=f[g>>2]|0;if(!c){c=EBb(52)|0;i=c+16|0;f[i>>2]=f[b>>2];f[i+4>>2]=f[b+4>>2];f[i+8>>2]=f[b+8>>2];f[i+12>>2]=f[b+12>>2];f[i+16>>2]=f[b+16>>2];f[i+20>>2]=f[b+20>>2];f[i+24>>2]=f[b+24>>2];f[i+28>>2]=f[b+28>>2];f[c+48>>2]=0;d=f[d>>2]|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[g>>2]=c;d=f[f[e>>2]>>2]|0;if(!d)d=c;else{f[e>>2]=d;d=f[g>>2]|0}Xo(f[a+48>>2]|0,d);i=a+52|0;f[i>>2]=(f[i>>2]|0)+1}d=c+48|0;if(f[d>>2]|0){i=f[d>>2]|0;u=h;return i|0}e=EBb(100)|0;f[e+4>>2]=0;g=e+8|0;f[g>>2]=0;f[e>>2]=350632;t4a(e+12|0,0);f[e+24>>2]=a;f[e+28>>2]=f[a+24>>2];c=e+32|0;f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];f[c+16>>2]=f[b+16>>2];f[c+20>>2]=f[b+20>>2];f[c+24>>2]=f[b+24>>2];f[c+28>>2]=f[b+28>>2];f[e+64>>2]=0;c=e+68|0;f[c>>2]=c;f[e+72>>2]=c;f[e+76>>2]=0;c=e+80|0;f[c>>2]=c;f[e+84>>2]=c;f[e+88>>2]=0;f[e+92>>2]=0;f[e+96>>2]=0;c=f[d>>2]|0;if((c|0)==(e|0)){i=f[d>>2]|0;u=h;return i|0}f[d>>2]=e;f[g>>2]=(f[g>>2]|0)+1;if(!c){i=f[d>>2]|0;u=h;return i|0}b=c+8|0;i=f[b>>2]|0;f[b>>2]=i-1;if((i|0)!=1){i=f[d>>2]|0;u=h;return i|0}Rua(c,1,1);i=f[d>>2]|0;u=h;return i|0}function PWa(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,q=0,r=0,s=0,t=0;s=u;u=u+16|0;r=s+4|0;i=s;q=c+12|0;_i[f[(f[q>>2]|0)+8>>2]&2047](q)|0;if(f[c+88>>2]|0){uUa(c);QWa(a,c,d);_i[f[(f[q>>2]|0)+12>>2]&2047](q)|0;u=s;return}_i[f[(f[q>>2]|0)+12>>2]&2047](q)|0;if(f[c+76>>2]|0){QWa(a,c,d);u=s;return}l=c+24|0;k=f[l>>2]|0;e=f[k+56>>2]|0;n=f[k+40>>2]|0;m=c+60|0;if((((n|0?((f[k+36>>2]|0)+(f[m>>2]|0)|0)>>>0>n>>>0:0)?(o=c+64|0,(f[o>>2]|0)>>>0>1):0)?(g=c+92|0,h=f[g>>2]|0,h|0):0)?(f[h+68>>2]|0)>>>0<e>>>0:0){_i[f[(f[q>>2]|0)+8>>2]&2047](q)|0;m=f[g>>2]|0;f[a>>2]=m;m=m+8|0;f[m>>2]=(f[m>>2]|0)+1;m=f[(f[a>>2]|0)+60>>2]|0;n=(m|0)==0;if(n){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){o=Nu(Hua(4)|0,445992,49)|0;o=jsb(o,f[a>>2]|0)|0;Drb(r,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);l=utb(r,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(r);ksb(o,l)|0;Krb(o)|0}}else{j=m+8|0;f[j>>2]=(f[j>>2]|0)+1;j=f[c+28>>2]|0;k=m+216|0;l=m+220|0;e=f[l>>2]|0;g=f[k>>2]|0;h=e-g>>2;do if(h>>>0<=j>>>0){i=j+1|0;if(i>>>0>h>>>0){XGa(k,i-h|0);break}if(i>>>0<h>>>0){h=g+(i<<2)|0;if((h|0)!=(e|0))do{e=e+-4|0;g=f[e>>2]|0;if(g|0?(t=g+8|0,i=f[t>>2]|0,f[t>>2]=i-1,(i|0)==1):0)Rua(g,1,1);f[e>>2]=0}while((e|0)!=(h|0));f[l>>2]=h}}while(0);e=(f[k>>2]|0)+(j<<2)|0;g=f[e>>2]|0;if(g|0?(f[e>>2]=0,l=g+8|0,t=f[l>>2]|0,f[l>>2]=t-1,(t|0)==1):0)Rua(g,1,1);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){t=Nu(jsb(Nu(Hua(4)|0,445908,17)|0,c)|0,445926,34)|0;t=Nu(jsb(t,f[a>>2]|0)|0,445961,22)|0;t=Nu(csb(t,f[o>>2]|0)|0,445984,7)|0;t=Nu(bsb(t,f[c+44>>2]|0)|0,457445,8)|0;t=bsb(t,f[c+48>>2]|0)|0;Drb(r,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);o=utb(r,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(r);ksb(t,o)|0;Krb(t)|0}}t=f[a>>2]|0;dWa(c,t);f[t+60>>2]=d;if(!n?(r=m+8|0,t=f[r>>2]|0,f[r>>2]=t-1,(t|0)==1):0)Rua(m,1,1);_i[f[(f[q>>2]|0)+12>>2]&2047](q)|0;u=s;return}Lh(1,i|0);k=EBb(80)|0;i=f[i>>2]|0;h=c+32|0;f[k+4>>2]=0;j=k+8|0;f[j>>2]=0;f[k>>2]=352448;f[k+12>>2]=i;i=k+16|0;f[i>>2]=f[h>>2];f[i+4>>2]=f[h+4>>2];f[i+8>>2]=f[h+8>>2];f[i+12>>2]=f[h+12>>2];f[i+16>>2]=f[h+16>>2];f[i+20>>2]=f[h+20>>2];f[i+24>>2]=f[h+24>>2];f[i+28>>2]=f[h+28>>2];i=k+48|0;f[i>>2]=0;h=k+52|0;f[h>>2]=0;t=k+56|0;f[t>>2]=0;f[k+60>>2]=d;b[k+64>>0]=0;g=k+68|0;f[g>>2]=0;p[k+72>>3]=0.0;f[j>>2]=(f[j>>2]|0)+1;f[i>>2]=c;i=c+64|0;f[i>>2]=(f[i>>2]|0)+1;e=f[l>>2]|0;d=e+36|0;f[d>>2]=(f[d>>2]|0)+(f[m>>2]|0);d=e+28|0;f[d>>2]=(f[d>>2]|0)+1;if((f[h>>2]|0)==0?(f[t>>2]|0)==0:0){f[g>>2]=f[e+56>>2];g=c+96|0;e=f[g>>2]|0;if(e|0)f[e+56>>2]=k;f[h>>2]=e;e=c+92|0;if(!(f[e>>2]|0))f[e>>2]=k;f[g>>2]=k}else dWa(c,k);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){t=Nu(jsb(Nu(Hua(4)|0,446042,12)|0,c)|0,446055,37)|0;t=csb(t,f[i>>2]|0)|0;Drb(r,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);c=utb(r,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(r);ksb(t,c)|0;Krb(t)|0}f[a>>2]=k;f[j>>2]=(f[j>>2]|0)+1;t=f[j>>2]|0;f[j>>2]=t-1;if((t|0)==1)Rua(k,1,1);u=s;return}function QWa(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+16|0;i=j;g=c+72|0;e=f[g>>2]|0;h=f[e+8>>2]|0;f[a>>2]=h;if(h){e=h+8|0;f[e>>2]=(f[e>>2]|0)+1;e=f[g>>2]|0}g=e+4|0;h=f[e>>2]|0;f[h+4>>2]=f[g>>2];f[f[g>>2]>>2]=h;g=c+76|0;f[g>>2]=(f[g>>2]|0)+-1;g=f[e+8>>2]|0;if(g|0?(k=g+8|0,h=f[k>>2]|0,f[k>>2]=h-1,(h|0)==1):0)Rua(g,1,1);GBb(e);a=f[a>>2]|0;f[a+60>>2]=d;e=f[c+24>>2]|0;g=e+32|0;f[g>>2]=(f[g>>2]|0)+-1;g=e+28|0;f[g>>2]=(f[g>>2]|0)+1;g=a+52|0;if((f[g>>2]|0)==0?(f[a+56>>2]|0)==0:0){f[a+68>>2]=f[e+56>>2];h=c+96|0;e=f[h>>2]|0;if(e|0)f[e+56>>2]=a;f[g>>2]=e;e=c+92|0;if(!(f[e>>2]|0))f[e>>2]=a;f[h>>2]=a}else dWa(c,a);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=j;return}k=Nu(Hua(4)|0,446123,53)|0;k=csb(k,f[c+64>>2]|0)|0;Drb(i,k+(f[(f[k>>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(k,c)|0;Krb(k)|0;u=j;return}function RWa(a){a=a|0;Uua(a);GBb(a);return}function SWa(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;d=a+4|0;e=f[d>>2]|0;if(!e){f[b>>2]=d;o=d;return o|0}m=f[c+28>>2]|0;n=f[c>>2]|0;h=f[c+4>>2]|0;i=f[c+8>>2]|0;j=f[c+12>>2]|0;k=f[c+16>>2]|0;l=f[c+20>>2]|0;g=f[c+24>>2]|0;a=a+4|0;d=e;a:while(1){e=d+16|0;c=f[d+44>>2]|0;do if(m>>>0>=c>>>0){if(c>>>0>=m>>>0){c=f[e>>2]|0;if(n>>>0<c>>>0){o=18;break}if(c>>>0>=n>>>0){c=f[d+20>>2]|0;if((h|0)<(c|0)){o=18;break}if((c|0)>=(h|0)){c=f[d+24>>2]|0;if(i>>>0<c>>>0){o=18;break}if(c>>>0>=i>>>0){c=f[d+28>>2]|0;if((j|0)<(c|0)){o=18;break}if((c|0)>=(j|0)){c=f[d+32>>2]|0;if((k|0)<(c|0)){o=18;break}if((c|0)>=(k|0)){c=f[d+36>>2]|0;if((l|0)<(c|0)){o=18;break}if((c|0)>=(l|0)?(g|0)<(f[d+40>>2]|0):0){o=18;break}}}}}}c=f[e>>2]|0;if(c>>>0>=n>>>0){if(n>>>0<c>>>0){o=35;break a}c=f[d+20>>2]|0;if((c|0)>=(h|0)){if((h|0)<(c|0)){o=35;break a}c=f[d+24>>2]|0;if(c>>>0>=i>>>0){if(i>>>0<c>>>0){o=35;break a}c=f[d+28>>2]|0;if((c|0)>=(j|0)){if((j|0)<(c|0)){o=35;break a}c=f[d+32>>2]|0;if((c|0)>=(k|0)){if((k|0)<(c|0)){o=35;break a}c=f[d+36>>2]|0;if((c|0)>=(l|0)){if((l|0)<(c|0)){o=35;break a}if((f[d+40>>2]|0)>=(g|0)){o=35;break a}}}}}}}}c=d+4|0;e=f[c>>2]|0;if(!e){o=34;break a}else{a=c;d=e}}else o=18;while(0);if((o|0)==18){o=0;c=f[d>>2]|0;if(!c){o=19;break}else{a=d;d=c}}}if((o|0)==19){f[b>>2]=d;o=d;return o|0}else if((o|0)==34){f[b>>2]=d;o=c;return o|0}else if((o|0)==35){f[b>>2]=d;o=a;return o|0}return 0}function TWa(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;EVa(a,b,c);f[a>>2]=352184;f[a+232>>2]=0;f[a+236>>2]=f[b+236>>2];f[a+240>>2]=f[b+240>>2];f[a+244>>2]=f[b+244>>2];d=f[b+248>>2]|0;f[a+248>>2]=d;if(d|0){h=d+8|0;f[h>>2]=(f[h>>2]|0)+1}d=a+252|0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;g=a+256|0;f[g>>2]=0;h=a+260|0;f[h>>2]=0;if(!e){h=f[c>>2]|0;h=h+36|0;h=f[h>>2]|0;b=b+232|0;b=f[b>>2]|0;c=cj[h&1023](c,b)|0;eWa(a,c);return}if(e>>>0>1073741823)DCb(d);i=e<<2;j=EBb(i)|0;f[d>>2]=j;e=j+(e<<2)|0;f[h>>2]=e;_Db(j|0,0,i|0)|0;f[g>>2]=e;h=f[c>>2]|0;h=h+36|0;h=f[h>>2]|0;b=b+232|0;b=f[b>>2]|0;c=cj[h&1023](c,b)|0;eWa(a,c);return}function UWa(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;GVa(a);f[a>>2]=352184;d=a+232|0;c=a+252|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;Dxa()|0;d=f[(f[124914]|0)+84>>2]|0;f[c>>2]=0;e=a+256|0;f[e>>2]=0;g=a+260|0;f[g>>2]=0;if(!d){g=a+136|0;b[g>>0]=1;return}if(d>>>0>1073741823)DCb(c);h=d<<2;i=EBb(h)|0;f[c>>2]=i;d=i+(d<<2)|0;f[g>>2]=d;_Db(i|0,0,h|0)|0;f[e>>2]=d;g=a+136|0;b[g>>0]=1;return}function VWa(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 WWa(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;j=u;u=u+16|0;g=j;MWa(g,LWa(Uza(b)|0)|0,a,c,0,0,0,0,0,0);i=a+216|0;h=a+220|0;c=f[h>>2]|0;e=f[i>>2]|0;a=c-e>>2;do if(a>>>0<=b>>>0){d=b+1|0;if(d>>>0>a>>>0){XGa(i,d-a|0);break}if(d>>>0<a>>>0){d=e+(d<<2)|0;if((d|0)!=(c|0))do{c=c+-4|0;a=f[c>>2]|0;if(a|0?(k=a+8|0,e=f[k>>2]|0,f[k>>2]=e-1,(e|0)==1):0)Rua(a,1,1);f[c>>2]=0}while((c|0)!=(d|0));f[h>>2]=d}}while(0);a=(f[i>>2]|0)+(b<<2)|0;c=f[a>>2]|0;d=f[g>>2]|0;if((c|0)!=(d|0)){f[a>>2]=d;if(d|0){k=d+8|0;f[k>>2]=(f[k>>2]|0)+1}if(c|0?(e=c+8|0,k=f[e>>2]|0,f[e>>2]=k-1,(k|0)==1):0)Rua(c,1,1);c=f[g>>2]|0}if(c|0?(g=c+8|0,k=f[g>>2]|0,f[g>>2]=k-1,(k|0)==1):0)Rua(c,1,1);c=f[h>>2]|0;a=f[i>>2]|0;d=c-a>>2;if(d>>>0>b>>>0){k=f[i>>2]|0;k=k+(b<<2)|0;k=f[k>>2]|0;u=j;return k|0}e=b+1|0;if(e>>>0>d>>>0){XGa(i,e-d|0);k=f[i>>2]|0;k=k+(b<<2)|0;k=f[k>>2]|0;u=j;return k|0}if(e>>>0>=d>>>0){k=f[i>>2]|0;k=k+(b<<2)|0;k=f[k>>2]|0;u=j;return k|0}d=a+(e<<2)|0;if((d|0)!=(c|0))do{c=c+-4|0;a=f[c>>2]|0;if(a|0?(g=a+8|0,k=f[g>>2]|0,f[g>>2]=k-1,(k|0)==1):0)Rua(a,1,1);f[c>>2]=0}while((c|0)!=(d|0));f[h>>2]=d;k=f[i>>2]|0;k=k+(b<<2)|0;k=f[k>>2]|0;u=j;return k|0}function XWa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=352468;qXa(a,0);b=f[a+248>>2]|0;if(b|0){f[a+252>>2]=b;GBb(b)}b=a+244|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;b=a+232|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;yUa(a);return}d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[b>>2]=0;yUa(a);return}Rua(c,1,1);f[b>>2]=0;yUa(a);return}function YWa(a){a=a|0;XWa(a);GBb(a);return}function ZWa(a){a=a|0;a=EBb(264)|0;uXa(a);return a|0}function _Wa(a,b){a=a|0;b=b|0;var c=0;c=EBb(264)|0;tXa(c,a,b);return c|0}function $Wa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299424,0)|0)!=0;return b|0}function aXa(a){a=a|0;return 409756}function bXa(a){a=a|0;return 446538}function cXa(a){a=a|0;return 0}function dXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;if((a|0)==(b|0)){b=0;return b|0}if(!a)BDb();c=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;d=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(c>>>0<d>>>0){b=-1;return b|0}if((c|0)!=(d|0)){b=1;return b|0}g=a+232|0;c=f[g>>2]|0;h=b+232|0;d=f[h>>2]|0;do if((c|0)!=(d|0)){e=(d|0)!=0;if(!c){if(e)c=-1;else{c=13;break}return c|0}if(!e){b=1;return b|0}c=cj[f[(f[c>>2]|0)+188>>2]&1023](c,d)|0;if(!c){i=f[g>>2]|0;c=12;break}else{b=c;return b|0}}else{i=c;c=12}while(0);if((c|0)==12?(i|0)==0:0)c=13;if(((c|0)==13?(f[h>>2]|0)==0:0)?(j=CVa(a,b)|0,j|0):0){b=j;return b|0}c=DVa(a,b)|0;if(c|0){b=c;return b|0}c=f[a+236>>2]|0;d=f[b+236>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}c=f[a+240>>2]|0;d=f[b+240>>2]|0;if((c|0)<(d|0)){b=-1;return b|0}if((d|0)<(c|0)){b=1;return b|0}else{a=f[a+244>>2]|0;b=f[b+244>>2]|0;return (a>>>0<b>>>0?-1:b>>>0<a>>>0&1)|0}return 0}function eXa(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;z=u;u=u+16|0;x=z+8|0;m=z+4|0;l=z;if(!(b[(f[c+832>>2]|0)+36>>0]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=z;return}c=Nu(Hua(2)|0,446436,101)|0;Drb(x,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);a=utb(x,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(x);ksb(c,a)|0;Krb(c)|0;u=z;return}o=c+124|0;y=f[o>>2]|0;t=a+216|0;v=a+220|0;d=f[v>>2]|0;e=f[t>>2]|0;g=d-e>>2;do if(g>>>0<=y>>>0){h=y+1|0;if(h>>>0>g>>>0){XGa(t,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;if(e|0?(k=e+8|0,w=f[k>>2]|0,f[k>>2]=w-1,(w|0)==1):0)Rua(e,1,1);f[d>>2]=0}while((d|0)!=(g|0));f[v>>2]=g}}while(0);d=f[(f[t>>2]|0)+(y<<2)>>2]|0;do if(d|0){w=a+232|0;g=f[w>>2]|0;if(g){k=a+248|0;h=a+252|0;e=f[k>>2]|0;i=(f[h>>2]|0)-e>>2;if(i>>>0<=y>>>0){j=y+1|0;f[x>>2]=0;if(j>>>0<=i>>>0){if(j>>>0<i>>>0)f[h>>2]=e+(j<<2)}else{VO(k,j-i|0,x);g=f[w>>2]|0;e=f[k>>2]|0}}if((f[e+(y<<2)>>2]|0)!=(f[g+32>>2]|0)){tj[f[(f[a>>2]|0)+248>>2]&2047](a);jWa(a,c,f[w>>2]|0,x,m,l);h=f[l>>2]|0;i=f[a+188>>2]|0;j=f[x>>2]|0;e=f[m>>2]|0;g=f[a+176>>2]|0;if(!((((((((b[d+64>>0]|0)!=0?(n=f[d+28>>2]|0,(n|0)!=0):0)?(f[d+16>>2]|0)==34037:0)?(f[d+20>>2]|0)==(h|0):0)?((n|0)==(j|0)?(f[d+24>>2]|0)==(i|0):0):0)?(f[d+32>>2]|0)==(e|0):0)?(f[d+36>>2]|0)==1:0)?(f[d+40>>2]|0)==(g|0):0)){d=f[v>>2]|0;e=f[t>>2]|0;g=d-e>>2;do if(g>>>0<=y>>>0){h=y+1|0;if(h>>>0>g>>>0){XGa(t,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-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}while((d|0)!=(g|0));f[v>>2]=g}}while(0);d=f[t>>2]|0;e=f[d+(y<<2)>>2]|0;g=f[e+48>>2]|0;if(!g)e=d;else{QUa(g,e);e=f[t>>2]|0}d=f[v>>2]|0;g=d-e>>2;do if(g>>>0<=y>>>0){h=y+1|0;if(h>>>0>g>>>0){XGa(t,h-g|0);break}if(h>>>0<g>>>0){g=e+(h<<2)|0;if((g|0)!=(d|0))do{d=d+-4|0;e=f[d>>2]|0;do if(e|0){m=e+8|0;n=f[m>>2]|0;f[m>>2]=n-1;if((n|0)!=1)break;Rua(e,1,1)}while(0);f[d>>2]=0}while((d|0)!=(g|0));f[v>>2]=g}}while(0);d=(f[t>>2]|0)+(y<<2)|0;e=f[d>>2]|0;if((e|0)!=0?(f[d>>2]=0,m=e+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0){Rua(e,1,1);d=0}else d=0}if(!d)break}}bWa(d,c);j=f[o>>2]|0;e=a+60|0;g=a+64|0;d=f[e>>2]|0;h=(f[g>>2]|0)-d>>2;if(h>>>0<=j>>>0){i=j+1|0;f[x>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[g>>2]=d+(i<<2)}else{VO(e,i-h|0,x);d=f[e>>2]|0}}if(f[d+(j<<2)>>2]|0)gWa(a,34037,c);d=f[a+244>>2]|0;if(d|0){Fj[f[(f[d>>2]|0)+16>>2]&511](d,a,c);u=z;return}d=f[w>>2]|0;if(!d){u=z;return}j=a+248|0;k=a+252|0;e=f[j>>2]|0;h=(f[k>>2]|0)-e>>2;g=e;if(h>>>0<=y>>>0){i=y+1|0;f[x>>2]=0;if(i>>>0<=h>>>0){if(i>>>0<h>>>0)f[k>>2]=g+(i<<2)}else{VO(j,i-h|0,x);e=f[j>>2]|0;g=e;d=f[w>>2]|0}}i=f[d+32>>2]|0;if((f[g+(y<<2)>>2]|0)==(i|0)){u=z;return}h=(f[k>>2]|0)-e>>2;if(h>>>0<=y>>>0){g=y+1|0;f[x>>2]=0;if(g>>>0<=h>>>0){if(g>>>0<h>>>0)f[k>>2]=e+(g<<2)}else{VO(j,g-h|0,x);e=f[j>>2]|0;d=f[w>>2]|0}}f[e+(y<<2)>>2]=i;rXa(a,34037,d,c,a+236|0,a+240|0,a+188|0);u=z;return}while(0);d=a+244|0;if(f[d>>2]|0){y=WWa(a,y,34037)|0;bWa(y,c);gWa(a,34037,c);x=f[d>>2]|0;Fj[f[(f[x>>2]|0)+12>>2]&511](x,a,c);iWa(y,1,f[a+188>>2]|0,f[a+236>>2]|0,f[a+240>>2]|0,1,0);u=z;return}k=a+232|0;l=f[k>>2]|0;if(l|0?f[l+112>>2]|0:0){j=l+8|0;f[j>>2]=(f[j>>2]|0)+1;tj[f[(f[a>>2]|0)+248>>2]&2047](a);e=f[l+72>>2]|0;g=a+236|0;f[g>>2]=e;d=f[l+76>>2]|0;h=a+240|0;f[h>>2]=d;i=a+188|0;d=kWa(a,y,34037,1,f[i>>2]|0,e,d,1,0)|0;bWa(d,c);gWa(a,34037,c);d=d+64|0;e=f[k>>2]|0;if(!(b[d>>0]|0)){sXa(a,34037,e,c,g,h);b[d>>0]=1}else rXa(a,34037,e,c,g,h,i);a:do if(b[a+137>>0]|0?(f[c+724>>2]|0)==0:0){Dxa()|0;if(f[(f[124914]|0)+84>>2]|0){g=0;do{d=f[t>>2]|0;e=(f[v>>2]|0)-d>>2;h=g;g=g+1|0;if(e>>>0<=h>>>0){XGa(t,g-e|0);d=f[t>>2]|0}if(!(f[d+(h<<2)>>2]|0))break a;Dxa()|0}while(g>>>0<(f[(f[124914]|0)+84>>2]|0)>>>0)}d=f[k>>2]|0;if(!((d|0)==0?1:(f[d+24>>2]|0)!=1)?(f[k>>2]=0,a=d+8|0,c=f[a>>2]|0,f[a>>2]=c-1,(c|0)==1):0)Rua(d,1,1)}while(0);c=f[j>>2]|0;f[j>>2]=c-1;if((c|0)!=1){u=z;return}Rua(l,1,1);u=z;return}d=a+236|0;e=f[d>>2]|0;if((e|0?(p=a+240|0,q=f[p>>2]|0,q|0):0)?(r=a+188|0,s=f[r>>2]|0,s|0):0){bWa(kWa(a,y,34037,0,s,e,q,1,0)|0,c);gWa(a,34037,c);x=f[r>>2]|0;y=f[a+192>>2]|0;c=f[a+196>>2]|0;Wh(34037,0,x|0,f[d>>2]|0,f[p>>2]|0,f[a+176>>2]|0,((y|0)==0?x:y)|0,((c|0)==0?5121:c)|0,0);d=f[a+228>>2]|0;if(!d){u=z;return}Bj[f[(f[d>>2]|0)+200>>2]&1023](d,1028);u=z;return}uh(34037,0);u=z;return}function fXa(a){a=a|0;return 34037}function gXa(a){a=a|0;return f[a+236>>2]|0}function hXa(a){a=a|0;return f[a+240>>2]|0}function iXa(a){a=a|0;return 1}function jXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;h=j;c=f[a+232>>2]|0;if(!c){b=0;u=j;return b|0}i=f[c+32>>2]|0;g=a+248|0;e=a+252|0;c=f[g>>2]|0;a=(f[e>>2]|0)-c>>2;if(a>>>0<=b>>>0){d=b+1|0;f[h>>2]=0;if(d>>>0<=a>>>0){if(d>>>0<a>>>0)f[e>>2]=c+(d<<2)}else{VO(g,d-a|0,h);c=f[g>>2]|0}}b=(i|0)!=(f[c+(b<<2)>>2]|0);u=j;return b|0}function kXa(a,b,c){a=a|0;b=b|0;c=c|0;qXa(a,c);return}function lXa(a,b){a=a|0;b=b|0;return f[a+232>>2]|0}function mXa(a,b){a=a|0;b=b|0;return f[a+232>>2]|0}function nXa(a){a=a|0;return 1}function oXa(a){a=a|0;var b=0;b=f[a+232>>2]|0;if(!b){TUa(a);return}else{SUa(a,b);return}}function pXa(a,c){a=a|0;c=c|0;var d=0,e=0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}d=Nu(Hua(3)|0,446317,118)|0;Drb(a,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);e=utb(a,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(a);ksb(d,e)|0;Krb(d)|0;u=c;return}function qXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+232|0;c=f[d>>2]|0;if((c|0)==(b|0))return;if(c|0?(e=c+48|0,f[e>>2]=(f[e>>2]|0)+-1,_i[f[(f[c>>2]|0)+220>>2]&2047](c)|0):0){UUa(a,0);f[a+24>>2]=1}PUa(a);c=f[d>>2]|0;if((c|0)!=(b|0)){f[d>>2]=b;if(b|0){e=b+8|0;f[e>>2]=(f[e>>2]|0)+1}if(c|0?(b=c+8|0,e=f[b>>2]|0,f[b>>2]=e-1,(e|0)==1):0)Rua(c,1,1);b=f[d>>2]|0}if(!b)return;e=b+48|0;f[e>>2]=(f[e>>2]|0)+1;if(!(_i[f[(f[b>>2]|0)+220>>2]&2047](b)|0))return;e=EBb(44)|0;d=e+16|0;f[d>>2]=0;f[d+4>>2]=0;f[e+16>>2]=0;f[e+20>>2]=0;d=e+24|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[e+36>>2]=2;f[e+40>>2]=0;f[e+8>>2]=0;f[e>>2]=350976;f[e+4>>2]=351132;f[e+12>>2]=351404;UUa(a,e);f[a+24>>2]=0;return}function rXa(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,p=0,q=0,r=0,s=0,t=0,v=0;v=u;u=u+16|0;m=v;if(!d){u=v;return}o=d+112|0;if(!(f[o>>2]|0)){u=v;return}r=d+72|0;if(((f[r>>2]|0)==(f[g>>2]|0)?(s=d+76|0,(f[s>>2]|0)==(f[h>>2]|0)):0)?(f[d+88>>2]|0)==(f[i>>2]|0):0){n=f[e+124>>2]|0;p=f[e+832>>2]|0;l=f[d+32>>2]|0;h=a+248|0;i=a+252|0;g=f[h>>2]|0;j=(f[i>>2]|0)-g>>2;if(j>>>0<=n>>>0){k=n+1|0;f[m>>2]=0;if(k>>>0<=j>>>0){if(k>>>0<j>>>0)f[i>>2]=g+(k<<2)}else{VO(h,k-j|0,m);g=f[h>>2]|0}}f[g+(n<<2)>>2]=l;tj[f[(f[a>>2]|0)+248>>2]&2047](a);Ph(3317,f[d+100>>2]|0);g=f[o>>2]|0;h=f[d+40>>2]|0;if((h|0)!=0?(q=Tza(h,n)|0,(q|0)!=0):0){g=e+740|0;if((f[g>>2]|0)!=(q|0)){if(!(b[q+36>>0]|0)){Bj[f[(f[q+72>>2]|0)+724>>2]&1023](f[q+20>>2]|0,f[q+16>>2]|0);h=f[q+56>>2]|0;if(h|0)$za(h,q)}else dJa(q);f[g>>2]=q}g=f[(f[q+40>>2]|0)+((f[d+36>>2]|0)*20|0)+12>>2]|0;h=1}else h=0;if(nWa(f[a+188>>2]|0)|0?(t=f[p+1120>>2]|0,(t|0)!=0):0)Oj[t&15](c,0,0,0,f[r>>2]|0,f[s>>2]|0,f[d+92>>2]|0,f[d+96>>2]|0,g);else $h(c|0,0,0,0,f[r>>2]|0,f[s>>2]|0,f[d+92>>2]|0,f[d+96>>2]|0,g|0);if(!h){u=v;return}g=e+740|0;if(!(f[g>>2]|0)){u=v;return}Bj[f[e+820>>2]&1023](35052,0);f[g>>2]=0;u=v;return}sXa(a,c,d,e,g,h);u=v;return}function sXa(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;w=u;u=u+16|0;n=w;if(!d){u=w;return}p=d+112|0;if(!(f[p>>2]|0)){u=w;return}q=f[e+124>>2]|0;t=f[e+832>>2]|0;o=f[d+32>>2]|0;j=a+248|0;k=a+252|0;i=f[j>>2]|0;l=(f[k>>2]|0)-i>>2;if(l>>>0<=q>>>0){m=q+1|0;f[n>>2]=0;if(m>>>0<=l>>>0){if(m>>>0<l>>>0)f[k>>2]=i+(m<<2)}else{VO(j,m-l|0,n);i=f[j>>2]|0}}f[i+(q<<2)>>2]=o;tj[f[(f[a>>2]|0)+248>>2]&2047](a);m=d+100|0;Ph(3317,f[m>>2]|0);if((b[t+1072>>0]|0)!=0?(b[a+138>>0]|0)!=0:0){Ph(34226,1);l=1}else l=0;j=f[p>>2]|0;i=f[d+40>>2]|0;if((i|0)!=0?(r=Tza(i,q)|0,(r|0)!=0):0){i=e+740|0;if((f[i>>2]|0)!=(r|0)){if(!(b[r+36>>0]|0)){Bj[f[(f[r+72>>2]|0)+724>>2]&1023](f[r+20>>2]|0,f[r+16>>2]|0);j=f[r+56>>2]|0;if(j|0)$za(j,r)}else dJa(r);f[i>>2]=r}j=f[(f[r+40>>2]|0)+((f[d+36>>2]|0)*20|0)+12>>2]|0;k=1}else k=0;i=f[a+188>>2]|0;if(nWa(i)|0?(v=f[t+1116>>2]|0,(v|0)!=0):0){r=f[d+72>>2]|0;p=d+76|0;a=f[p>>2]|0;q=f[m>>2]|0;n=W(iJa(f[d+92>>2]|0,f[d+96>>2]|0)|0,r)|0;t=(q|0)==0?8:q<<3;o=(n|0)/(t|0)|0;t=o+((n-(W(o,t)|0)|0)!=0&1)|0;t=W(W(f[p>>2]|0,q)|0,t)|0;Nj[v&7](c,0,i,r,a,0,t,j)}else Wh(c|0,0,i|0,f[d+72>>2]|0,f[d+76>>2]|0,0,f[d+92>>2]|0,f[d+96>>2]|0,j|0);if(k?(s=e+740|0,f[s>>2]|0):0){Bj[f[e+820>>2]&1023](35052,0);f[s>>2]=0}f[g>>2]=f[d+72>>2];f[h>>2]=f[d+76>>2];if(!l){u=w;return}Ph(34226,0);u=w;return}function tXa(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;EVa(a,b,c);f[a>>2]=352468;f[a+232>>2]=0;f[a+236>>2]=f[b+236>>2];f[a+240>>2]=f[b+240>>2];d=f[b+244>>2]|0;f[a+244>>2]=d;if(d|0){h=d+8|0;f[h>>2]=(f[h>>2]|0)+1}d=a+248|0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;g=a+252|0;f[g>>2]=0;h=a+256|0;f[h>>2]=0;if(!e){h=f[c>>2]|0;h=h+36|0;h=f[h>>2]|0;b=b+232|0;b=f[b>>2]|0;c=cj[h&1023](c,b)|0;qXa(a,c);return}if(e>>>0>1073741823)DCb(d);i=e<<2;j=EBb(i)|0;f[d>>2]=j;e=j+(e<<2)|0;f[h>>2]=e;_Db(j|0,0,i|0)|0;f[g>>2]=e;h=f[c>>2]|0;h=h+36|0;h=f[h>>2]|0;b=b+232|0;b=f[b>>2]|0;c=cj[h&1023](c,b)|0;qXa(a,c);return}function uXa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;GVa(a);f[a>>2]=352468;c=a+232|0;b=a+248|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;Dxa()|0;c=f[(f[124914]|0)+84>>2]|0;f[b>>2]=0;d=a+252|0;f[d>>2]=0;e=a+256|0;f[e>>2]=0;do if(c|0)if(c>>>0>1073741823)DCb(b);else{g=c<<2;h=EBb(g)|0;f[b>>2]=h;c=h+(c<<2)|0;f[e>>2]=c;_Db(h|0,0,g|0)|0;f[d>>2]=c;break}while(0);f[a+84>>2]=10496;b=f[a+60>>2]|0;c=(f[a+64>>2]|0)-b|0;if((c|0)<=0){f[a+88>>2]=10496;f[a+96>>2]=9729;f[a+100>>2]=9729;return}c=c>>>2;d=c;e=b;while(1){f[e>>2]=1;if((d|0)>1){d=d+-1|0;e=e+4|0}else break}f[a+88>>2]=10496;d=c;e=b;while(1){f[e>>2]=1;if((d|0)>1){d=d+-1|0;e=e+4|0}else break}f[a+96>>2]=9729;d=c;e=b;while(1){f[e>>2]=1;if((d|0)>1){d=d+-1|0;e=e+4|0}else break}f[a+100>>2]=9729;while(1){f[b>>2]=1;if((c|0)>1){c=c+-1|0;b=b+4|0}else break}return}function vXa(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 wXa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a>>2]=352732;b=a+96|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-16>>2]|0)|0,g=d+8|0,c=f[g>>2]|0,f[g>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=a+92|0;c=f[b>>2]|0;if(c|0?(e=c+(f[(f[c>>2]|0)+-16>>2]|0)|0,d=e+8|0,g=f[d>>2]|0,f[d>>2]=g-1,(g|0)==1):0)Rua(e,1,1);f[b>>2]=0;b=a+88|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+84|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+80|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+76|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+72|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+68|0;c=f[b>>2]|0;if(!c){f[b>>2]=0;aTa(a);return}e=c+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1){f[b>>2]=0;aTa(a);return}Rua(c,1,1);f[b>>2]=0;aTa(a);return}function xXa(a){a=a|0;wXa(a);GBb(a);return}function yXa(a){a=a|0;var b=0,c=0;a=EBb(104)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[b+12>>2]=0;f[a+44>>2]=-1;f[a+48>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[a>>2]=352732;b=a+60|0;c=b+40|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(c|0));return a|0}function zXa(a,b){a=a|0;b=b|0;var c=0;c=EBb(104)|0;NXa(c,a,b);return c|0}function AXa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,298120,0)|0)!=0;return b|0}function BXa(a){a=a|0;return 409756}function CXa(a){a=a|0;return 446776}function DXa(a){a=a|0;return a|0}function EXa(a){a=a|0;return a|0}function FXa(a,b){a=a|0;b=b|0;return a>>>0<b>>>0|0}function GXa(a,b){a=a|0;b=b|0;return a>>>0<b>>>0|0}function HXa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;h=i;if((b[497256]|0)==0?DDb(497256)|0:0){p[62159]=1.0e-06;Nb(1,h|0)|0;g=f[h>>2]|0;g=LDb(g|0,((g|0)<0)<<31>>31|0,1e6,0)|0;e=H;j=f[h+4>>2]|0;j=QDb(j|0,((j|0)<0)<<31>>31|0,1e3,0)|0;e=MDb(j|0,H|0,g|0,e|0)|0;g=497264;f[g>>2]=e;f[g+4>>2]=H}Nb(1,h|0)|0;g=f[a+64>>2]|0;a:do if((g|0)>=1){e=MXa(f[a+60>>2]|0)|0;b:do if((e|0)<35688){if((e|0)>=35667)switch(e|0){case 35674:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+244>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35675:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+248>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35676:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+252>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35685:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+420>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35686:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+428>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35687:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+424>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35667:{a=f[a+76>>2]|0;if(!a)break a;Fj[f[c+232>>2]&511](d,g,f[a+76>>2]|0);break a}case 35668:{a=f[a+76>>2]|0;if(!a)break a;Fj[f[c+236>>2]&511](d,g,f[a+76>>2]|0);break a}case 35669:{a=f[a+76>>2]|0;if(!a)break a;Fj[f[c+240>>2]&511](d,g,f[a+76>>2]|0);break a}default:break b}if((e|0)<5134)switch(e|0){case 5126:{a=f[a+68>>2]|0;if(!a)break a;Fj[f[c+212>>2]&511](d,g,f[a+76>>2]|0);break a}case 5130:{a=f[a+72>>2]|0;if(!a)break a;Fj[f[c+632>>2]&511](d,g,f[a+76>>2]|0);break a}case 5124:{a=f[a+76>>2]|0;if(!a)break a;Fj[f[c+228>>2]&511](d,g,f[a+76>>2]|0);break a}case 5125:{a=f[a+80>>2]|0;if(!a)break a;Fj[f[c+496>>2]&511](d,g,f[a+76>>2]|0);break a}default:break b}if((e|0)>=35664)switch(e|0){case 35664:{a=f[a+68>>2]|0;if(!a)break a;Fj[f[c+216>>2]&511](d,g,f[a+76>>2]|0);break a}case 35665:{a=f[a+68>>2]|0;if(!a)break a;Fj[f[c+220>>2]&511](d,g,f[a+76>>2]|0);break a}case 35666:{a=f[a+68>>2]|0;if(!a)break a;Fj[f[c+224>>2]&511](d,g,f[a+76>>2]|0);break a}default:break b}switch(e|0){case 5135:break;case 5134:{a=f[a+84>>2]|0;if(!a)break a;Fj[f[c+516>>2]&511](d,g,f[a+76>>2]|0);break a}default:break b}e=f[a+88>>2]|0;if(!e)break a;a=f[c+524>>2]|0;if(a|0){Fj[a&511](d,g,f[e+76>>2]|0);break a}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1)break a;j=bsb(Nu(Hua(2)|0,446607,168)|0,2901)|0;Drb(h,j+(f[(f[j>>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(j,g)|0;Krb(j)|0;break a}else do switch(e|0){case 35688:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+436>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35689:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+432>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 35690:{a=f[a+68>>2]|0;if(!a)break a;Ij[f[c+440>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36860:{a=f[a+72>>2]|0;if(!a)break a;Fj[f[c+636>>2]&511](d,g,f[a+76>>2]|0);break a}case 36861:{a=f[a+72>>2]|0;if(!a)break a;Fj[f[c+640>>2]&511](d,g,f[a+76>>2]|0);break a}case 36862:{a=f[a+72>>2]|0;if(!a)break a;Fj[f[c+644>>2]&511](d,g,f[a+76>>2]|0);break a}case 36678:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+648>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36679:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+652>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36680:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+656>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36681:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+660>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36682:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+668>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36683:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+664>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36684:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+676>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36685:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+672>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36686:{a=f[a+72>>2]|0;if(!a)break a;Ij[f[c+680>>2]&127](d,g,0,f[a+76>>2]|0);break a}case 36294:{a=f[a+80>>2]|0;if(!a)break a;Fj[f[c+500>>2]&511](d,g,f[a+76>>2]|0);break a}case 36295:{a=f[a+80>>2]|0;if(!a)break a;Fj[f[c+504>>2]&511](d,g,f[a+76>>2]|0);break a}case 36296:{a=f[a+80>>2]|0;if(!a)break a;Fj[f[c+508>>2]&511](d,g,f[a+76>>2]|0);break a}default:break b}while(0);while(0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>0){j=bsb(Nu(Hua(1)|0,446607,168)|0,2910)|0;Drb(h,j+(f[(f[j>>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(j,g)|0;Krb(j)|0}}while(0);Nb(1,h|0)|0;u=i;return}function IXa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;e=a+60|0;g=f[e>>2]|0;if((g|0)==(c|0)){g=1;u=h;return g|0}if(!g){f[e>>2]=c;JXa(a);g=1;u=h;return g|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){g=0;u=h;return g|0}g=Nu(Hua(2)|0,446580,26)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(d,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(d);ksb(g,e)|0;Krb(g)|0;g=0;u=h;return g|0}function JXa(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;i=a+68|0;if(f[i>>2]|0)return;k=a+72|0;if(f[k>>2]|0)return;l=a+76|0;if(f[l>>2]|0)return;j=a+80|0;if(f[j>>2]|0)return;c=f[a+64>>2]|0;if(!c)return;a=f[a+60>>2]|0;if(!a)return;m=W(KXa(a)|0,c)|0;if(!m)return;switch(LXa(a)|0){case 5126:{a=EBb(88)|0;f[a+4>>2]=0;c=a+8|0;f[c>>2]=0;d=a+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[a+24>>2]=2;d=a+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[a>>2]=349568;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;d=a+72|0;f[d>>2]=320948;e=a+76|0;f[e>>2]=0;g=a+80|0;f[g>>2]=0;h=a+84|0;f[h>>2]=0;if(m>>>0>1073741823)DCb(e);l=m<<2;k=EBb(l)|0;f[e>>2]=k;m=k+(m<<2)|0;f[h>>2]=m;_Db(k|0,0,l|0)|0;f[g>>2]=m;f[a>>2]=320964;f[d>>2]=321204;f[i>>2]=a;f[c>>2]=(f[c>>2]|0)+1;return}case 5130:{a=EBb(88)|0;f[a+4>>2]=0;c=a+8|0;f[c>>2]=0;d=a+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[a+24>>2]=2;d=a+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[a>>2]=349568;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;d=a+72|0;f[d>>2]=320676;e=a+76|0;f[e>>2]=0;g=a+80|0;f[g>>2]=0;h=a+84|0;f[h>>2]=0;if(m>>>0>536870911)DCb(e);l=m<<3;j=EBb(l)|0;f[e>>2]=j;m=j+(m<<3)|0;f[h>>2]=m;_Db(j|0,0,l|0)|0;f[g>>2]=m;f[a>>2]=320692;f[d>>2]=320932;f[k>>2]=a;f[c>>2]=(f[c>>2]|0)+1;return}case 5124:{a=EBb(88)|0;f[a+4>>2]=0;c=a+8|0;f[c>>2]=0;d=a+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[a+24>>2]=2;d=a+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+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>>2]=321220;d=a+72|0;f[d>>2]=322292;e=a+76|0;f[e>>2]=0;g=a+80|0;f[g>>2]=0;h=a+84|0;f[h>>2]=0;if(m>>>0>1073741823)DCb(e);k=m<<2;j=EBb(k)|0;f[e>>2]=j;m=j+(m<<2)|0;f[h>>2]=m;_Db(j|0,0,k|0)|0;f[g>>2]=m;f[a>>2]=322308;f[d>>2]=322552;f[l>>2]=a;f[c>>2]=(f[c>>2]|0)+1;return}case 5125:{g=EBb(88)|0;f[g+4>>2]=0;h=g+8|0;f[h>>2]=0;a=g+12|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[g+24>>2]=2;a=g+28|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;f[a+20>>2]=0;f[g+52>>2]=6;f[g+56>>2]=1;f[g+60>>2]=5125;f[g+64>>2]=-1;b[g+68>>0]=0;b[g+69>>0]=0;f[g>>2]=321220;a=g+72|0;f[a>>2]=321464;c=g+76|0;f[c>>2]=0;d=g+80|0;f[d>>2]=0;e=g+84|0;f[e>>2]=0;if(m>>>0>1073741823)DCb(c);l=m<<2;k=EBb(l)|0;f[c>>2]=k;m=k+(m<<2)|0;f[e>>2]=m;_Db(k|0,0,l|0)|0;f[d>>2]=m;f[g>>2]=321480;f[a>>2]=321724;f[j>>2]=g;f[h>>2]=(f[h>>2]|0)+1;return}default:return}}function KXa(a){a=a|0;var b=0;a:do if((a|0)<36311){if((a|0)>=35686)switch(a|0){case 36309:case 36310:case 36308:case 36307:case 36306:case 36305:case 36301:case 36304:case 36303:case 36302:case 36300:case 36299:case 36298:case 36297:case 36290:case 36293:case 36292:case 36291:case 36289:case 36288:{a=1;break a}case 36294:{b=2;break a}case 36295:{b=3;break a}case 36296:{b=4;break a}case 35687:{b=5;break a}case 35689:case 35686:{b=6;break a}case 35690:case 35688:{b=8;break a}default:{b=10;break a}}if((a|0)>=35672)switch(a|0){case 35684:case 35683:case 35682:case 35681:case 35680:case 35679:case 35678:case 35677:{a=1;break a}case 35672:{b=3;break a}case 35673:case 35674:{b=4;break a}case 35685:{b=5;break a}case 35675:{b=7;break a}case 35676:{b=9;break a}default:{b=10;break a}}if((a|0)>=35665)switch(a|0){case 35670:{a=1;break a}case 35671:case 35667:{b=2;break a}case 35668:case 35665:{b=3;break a}case 35669:case 35666:{b=4;break a}default:{b=10;break a}}if((a|0)<5130)switch(a|0){case 5125:case 5124:case 5126:{a=1;break a}default:{b=10;break a}}if((a|0)<5135)switch(a|0){case 5134:case 5130:{a=1;break a}default:{b=10;break a}}if((a|0)<35664)switch(a|0){case 5135:{a=1;break a}default:{b=10;break a}}else switch(a|0){case 35664:{b=2;break a}default:{b=10;break a}}}else switch(a|0){case 36972:case 36971:case 36970:case 36969:case 36968:case 36967:case 36966:case 36965:case 36964:case 36963:case 36962:case 36961:case 36960:case 36959:case 36958:case 36957:case 36956:case 36955:case 36954:case 36953:case 36952:case 36951:case 36950:case 36949:case 36948:case 36947:case 36946:case 36945:case 36944:case 36943:case 36942:case 36941:case 36940:case 36312:case 37133:case 37130:case 36879:case 36311:case 37132:case 37129:case 36878:case 36877:case 37131:case 37128:case 36876:{a=1;break}case 36860:{b=2;break}case 36861:{b=3;break}case 36678:case 36862:{b=4;break}case 36683:case 36681:{b=5;break}case 36685:case 36682:{b=6;break}case 36679:{b=7;break}case 36686:case 36684:{b=8;break}case 36680:{b=9;break}default:b=10}while(0);if((b|0)==2)a=2;else if((b|0)==3)a=3;else if((b|0)==4)a=4;else if((b|0)==5)a=6;else if((b|0)==6)a=8;else if((b|0)==7)a=9;else if((b|0)==8)a=12;else if((b|0)==9)a=16;else if((b|0)==10)a=0;return a|0}function LXa(a){a=a|0;var b=0;a:do if((a|0)<36311){b:do if((a|0)<35686){if((a|0)>=35672)switch(a|0){case 35685:case 35676:case 35675:case 35674:{a=5126;break a}case 35684:case 35683:case 35682:case 35681:case 35680:case 35679:case 35678:case 35677:case 35673:case 35672:{b=3;break a}default:{b=7;break a}}if((a|0)>=35665)switch(a|0){case 35666:case 35665:{a=5126;break a}case 35671:case 35670:case 35669:case 35668:case 35667:{b=3;break a}default:{b=7;break a}}if((a|0)<5130)switch(a|0){case 5126:{a=5126;break a}case 5124:{b=3;break a}case 5125:break b;default:{b=7;break a}}if((a|0)<5135){switch(a|0){case 5130:{b=2;break a}case 5134:break;default:{b=7;break a}}break a}if((a|0)>=35664)switch(a|0){case 35664:{a=5126;break a}default:{b=7;break a}}switch(a|0){case 5135:break;default:{b=7;break a}}break a}else switch(a|0){case 35690:case 35689:case 35688:case 35687:case 35686:{a=5126;break a}case 36309:case 36310:case 36308:case 36307:case 36306:case 36305:case 36301:case 36304:case 36303:case 36302:case 36300:case 36299:case 36298:case 36297:case 36290:case 36293:case 36292:case 36291:case 36289:case 36288:{b=3;break a}case 36296:case 36295:case 36294:break;default:{b=7;break a}}while(0);a=5125}else switch(a|0){case 36686:case 36685:case 36684:case 36683:case 36682:case 36681:case 36680:case 36679:case 36678:case 36862:case 36861:case 36860:{b=2;break}case 36972:case 36971:case 36970:case 36969:case 36968:case 36967:case 36966:case 36965:case 36964:case 36963:case 36962:case 36961:case 36960:case 36959:case 36958:case 36957:case 36956:case 36955:case 36954:case 36953:case 36952:case 36951:case 36950:case 36949:case 36948:case 36947:case 36946:case 36945:case 36944:case 36943:case 36942:case 36941:case 36940:case 36312:case 37133:case 37130:case 36879:case 36311:case 37132:case 37129:case 36878:case 36877:case 37131:case 37128:case 36876:{b=3;break}default:b=7}while(0);if((b|0)==2)a=5130;else if((b|0)==3)a=5124;else if((b|0)==7)a=0;return a|0}function MXa(a){a=a|0;var b=0;a:do if((a|0)<36879){if((a|0)>=36293)switch(a|0){case 36309:case 36312:case 36311:case 36310:case 36308:case 36307:case 36306:case 36305:case 36301:case 36304:case 36878:case 36303:case 36302:case 36300:case 36299:case 36298:case 36297:case 36877:case 36293:case 36876:{a=5124;break a}default:{b=7;break a}}if((a|0)>=35680)switch(a|0){case 35684:case 35683:case 36290:case 36292:case 36291:case 36289:case 36288:case 35682:case 35681:case 35680:{a=5124;break a}default:{b=7;break a}}if((a|0)>=35672)switch(a|0){case 35679:case 35678:case 35677:{a=5124;break a}case 35672:{a=35668;break a}case 35673:{a=35669;break a}default:{b=7;break a}}if((a|0)>=35670){switch(a|0){case 35670:{a=5124;break a}case 35671:break;default:{b=7;break a}}a=35667;break}switch(a|0){case 5135:break a;case 5134:break a;default:{b=7;break a}}}else switch(a|0){case 36972:case 36971:case 36970:case 36969:case 36968:case 36967:case 36966:case 36965:case 36964:case 36963:case 36962:case 36961:case 36960:case 36959:case 36958:case 36957:case 36956:case 36955:case 36954:case 36953:case 36952:case 36951:case 36950:case 36949:case 36948:case 36947:case 36946:case 36945:case 36944:case 36943:case 36942:case 36941:case 36940:case 37133:case 37130:case 36879:case 37132:case 37129:case 37131:case 37128:{a=5124;break}default:b=7}while(0);return a|0}function NXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;tTa(a,b,c);f[a>>2]=352732;f[a+60>>2]=f[b+60>>2];c=a+64|0;d=c+36|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(d|0));OXa(a,b);return}function OXa(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;l=o+12|0;k=o+8|0;m=o+4|0;n=o;f[a+64>>2]=f[b+64>>2];f[a+44>>2]=f[b+44>>2];c=b+68|0;if(!((((f[c>>2]|0)==0?(f[b+72>>2]|0)==0:0)?(f[b+76>>2]|0)==0:0)?!(f[b+80>>2]|0):0))JXa(a);d=f[a+68>>2]|0;if(d|0?(e=f[c>>2]|0,!((e|0)==0|(d|0)==(e|0))):0){c=f[e+80>>2]|0;f[m>>2]=f[e+76>>2];f[n>>2]=c;f[k>>2]=f[m>>2];f[l>>2]=f[n>>2];PXa(d+76|0,k,l)}c=f[a+72>>2]|0;if(c|0?(g=f[b+72>>2]|0,!((g|0)==0|(c|0)==(g|0))):0){e=f[g+80>>2]|0;f[m>>2]=f[g+76>>2];f[n>>2]=e;f[k>>2]=f[m>>2];f[l>>2]=f[n>>2];QXa(c+76|0,k,l)}c=f[a+76>>2]|0;if(c|0?(h=f[b+76>>2]|0,!((h|0)==0|(c|0)==(h|0))):0){g=f[h+80>>2]|0;f[m>>2]=f[h+76>>2];f[n>>2]=g;f[k>>2]=f[m>>2];f[l>>2]=f[n>>2];RXa(c+76|0,k,l)}c=f[a+80>>2]|0;if(c|0?(i=f[b+80>>2]|0,!((i|0)==0|(c|0)==(i|0))):0){h=f[i+80>>2]|0;f[m>>2]=f[i+76>>2];f[n>>2]=h;f[k>>2]=f[m>>2];f[l>>2]=f[n>>2];SXa(c+76|0,k,l)}c=f[a+84>>2]|0;if(c|0?(j=f[b+84>>2]|0,!((j|0)==0|(c|0)==(j|0))):0){i=f[j+80>>2]|0;f[m>>2]=f[j+76>>2];f[n>>2]=i;f[k>>2]=f[m>>2];f[l>>2]=f[n>>2];TXa(c+76|0,k,l)}d=f[a+88>>2]|0;if(!d){n=a+48|0;m=f[n>>2]|0;m=m+1|0;f[n>>2]=m;u=o;return}c=f[b+88>>2]|0;if((c|0)==0|(d|0)==(c|0)){n=a+48|0;m=f[n>>2]|0;m=m+1|0;f[n>>2]=m;u=o;return}b=f[c+80>>2]|0;f[m>>2]=f[c+76>>2];f[n>>2]=b;f[k>>2]=f[m>>2];f[l>>2]=f[n>>2];UXa(d+76|0,k,l);n=a+48|0;m=f[n>>2]|0;m=m+1|0;f[n>>2]=m;u=o;return}function PXa(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=f[b>>2]|0;e=f[c>>2]|0;g=e-l>>2;i=a+8|0;b=f[i>>2]|0;d=f[a>>2]|0;c=d;if(g>>>0>b-d>>2>>>0){if(d){b=a+4|0;f[b>>2]=d;GBb(d);f[i>>2]=0;f[b>>2]=0;f[a>>2]=0;b=0}if(g>>>0>1073741823)DCb(a);k=b>>1;b=b>>2>>>0<536870911?(k>>>0<g>>>0?g:k):1073741823;if(b>>>0>1073741823)DCb(a);g=EBb(b<<2)|0;h=a+4|0;f[h>>2]=g;f[a>>2]=g;f[i>>2]=g+(b<<2);b=l;if((e|0)==(b|0))return;d=e+-4-l|0;c=g;while(1){f[c>>2]=f[b>>2];b=b+4|0;if((b|0)==(e|0))break;else c=c+4|0}f[h>>2]=g+((d>>>2)+1<<2);return}k=a+4|0;j=f[k>>2]|0;a=j-d>>2;i=g>>>0>a>>>0;d=l;a=i?d+(a<<2)|0:e;b=a;if((b|0)!=(d|0)){h=b+-4-l|0;g=c;while(1){f[g>>2]=f[d>>2];d=d+4|0;if((d|0)==(b|0))break;else g=g+4|0}c=c+((h>>>2)+1<<2)|0}if(!i){f[k>>2]=c;return}if((e|0)==(b|0))return;d=e+-4-a|0;c=j;while(1){f[c>>2]=f[b>>2];b=b+4|0;if((b|0)==(e|0))break;else c=c+4|0}f[k>>2]=j+((d>>>2)+1<<2);return}function QXa(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=f[b>>2]|0;e=f[c>>2]|0;g=e-l>>3;i=a+8|0;b=f[i>>2]|0;d=f[a>>2]|0;c=d;if(g>>>0>b-d>>3>>>0){if(d){b=a+4|0;f[b>>2]=d;GBb(d);f[i>>2]=0;f[b>>2]=0;f[a>>2]=0;b=0}if(g>>>0>536870911)DCb(a);k=b>>2;b=b>>3>>>0<268435455?(k>>>0<g>>>0?g:k):536870911;if(b>>>0>536870911)DCb(a);g=EBb(b<<3)|0;h=a+4|0;f[h>>2]=g;f[a>>2]=g;f[i>>2]=g+(b<<3);b=l;if((e|0)==(b|0))return;d=e+-8-l|0;c=g;while(1){p[c>>3]=+p[b>>3];b=b+8|0;if((b|0)==(e|0))break;else c=c+8|0}f[h>>2]=g+((d>>>3)+1<<3);return}k=a+4|0;j=f[k>>2]|0;a=j-d>>3;i=g>>>0>a>>>0;d=l;a=i?d+(a<<3)|0:e;b=a;if((b|0)!=(d|0)){h=b+-8-l|0;g=c;while(1){p[g>>3]=+p[d>>3];d=d+8|0;if((d|0)==(b|0))break;else g=g+8|0}c=c+((h>>>3)+1<<3)|0}if(!i){f[k>>2]=c;return}if((e|0)==(b|0))return;d=e+-8-a|0;c=j;while(1){p[c>>3]=+p[b>>3];b=b+8|0;if((b|0)==(e|0))break;else c=c+8|0}f[k>>2]=j+((d>>>3)+1<<3);return}function RXa(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=f[b>>2]|0;e=f[c>>2]|0;g=e-l>>2;i=a+8|0;b=f[i>>2]|0;d=f[a>>2]|0;c=d;if(g>>>0>b-d>>2>>>0){if(d){b=a+4|0;f[b>>2]=d;GBb(d);f[i>>2]=0;f[b>>2]=0;f[a>>2]=0;b=0}if(g>>>0>1073741823)DCb(a);k=b>>1;b=b>>2>>>0<536870911?(k>>>0<g>>>0?g:k):1073741823;if(b>>>0>1073741823)DCb(a);g=EBb(b<<2)|0;h=a+4|0;f[h>>2]=g;f[a>>2]=g;f[i>>2]=g+(b<<2);b=l;if((e|0)==(b|0))return;d=e+-4-l|0;c=g;while(1){f[c>>2]=f[b>>2];b=b+4|0;if((b|0)==(e|0))break;else c=c+4|0}f[h>>2]=g+((d>>>2)+1<<2);return}k=a+4|0;j=f[k>>2]|0;a=j-d>>2;i=g>>>0>a>>>0;d=l;a=i?d+(a<<2)|0:e;b=a;if((b|0)!=(d|0)){h=b+-4-l|0;g=c;while(1){f[g>>2]=f[d>>2];d=d+4|0;if((d|0)==(b|0))break;else g=g+4|0}c=c+((h>>>2)+1<<2)|0}if(!i){f[k>>2]=c;return}if((e|0)==(b|0))return;d=e+-4-a|0;c=j;while(1){f[c>>2]=f[b>>2];b=b+4|0;if((b|0)==(e|0))break;else c=c+4|0}f[k>>2]=j+((d>>>2)+1<<2);return}function SXa(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=f[b>>2]|0;e=f[c>>2]|0;g=e-l>>2;i=a+8|0;b=f[i>>2]|0;d=f[a>>2]|0;c=d;if(g>>>0>b-d>>2>>>0){if(d){b=a+4|0;f[b>>2]=d;GBb(d);f[i>>2]=0;f[b>>2]=0;f[a>>2]=0;b=0}if(g>>>0>1073741823)DCb(a);k=b>>1;b=b>>2>>>0<536870911?(k>>>0<g>>>0?g:k):1073741823;if(b>>>0>1073741823)DCb(a);g=EBb(b<<2)|0;h=a+4|0;f[h>>2]=g;f[a>>2]=g;f[i>>2]=g+(b<<2);b=l;if((e|0)==(b|0))return;d=e+-4-l|0;c=g;while(1){f[c>>2]=f[b>>2];b=b+4|0;if((b|0)==(e|0))break;else c=c+4|0}f[h>>2]=g+((d>>>2)+1<<2);return}k=a+4|0;j=f[k>>2]|0;a=j-d>>2;i=g>>>0>a>>>0;d=l;a=i?d+(a<<2)|0:e;b=a;if((b|0)!=(d|0)){h=b+-4-l|0;g=c;while(1){f[g>>2]=f[d>>2];d=d+4|0;if((d|0)==(b|0))break;else g=g+4|0}c=c+((h>>>2)+1<<2)|0}if(!i){f[k>>2]=c;return}if((e|0)==(b|0))return;d=e+-4-a|0;c=j;while(1){f[c>>2]=f[b>>2];b=b+4|0;if((b|0)==(e|0))break;else c=c+4|0}f[k>>2]=j+((d>>>2)+1<<2);return}function TXa(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;l=f[b>>2]|0;e=f[c>>2]|0;g=e-l>>3;h=a+8|0;b=f[h>>2]|0;d=f[a>>2]|0;c=d;if(g>>>0>b-d>>3>>>0){if(d){b=a+4|0;f[b>>2]=d;GBb(d);f[h>>2]=0;f[b>>2]=0;f[a>>2]=0;b=0}if(g>>>0>536870911)DCb(a);k=b>>2;b=b>>3>>>0<268435455?(k>>>0<g>>>0?g:k):536870911;if(b>>>0>536870911)DCb(a);g=EBb(b<<3)|0;i=a+4|0;f[i>>2]=g;f[a>>2]=g;f[h>>2]=g+(b<<3);b=l;if((e|0)==(b|0))return;d=e+-8-l|0;c=g;while(1){j=b;k=f[j+4>>2]|0;l=c;f[l>>2]=f[j>>2];f[l+4>>2]=k;b=b+8|0;if((b|0)==(e|0))break;else c=c+8|0}f[i>>2]=g+((d>>>3)+1<<3);return}k=a+4|0;j=f[k>>2]|0;a=j-d>>3;i=g>>>0>a>>>0;d=l;a=i?d+(a<<3)|0:e;b=a;if((b|0)!=(d|0)){h=b+-8-l|0;g=c;while(1){n=d;m=f[n+4>>2]|0;l=g;f[l>>2]=f[n>>2];f[l+4>>2]=m;d=d+8|0;if((d|0)==(b|0))break;else g=g+8|0}c=c+((h>>>3)+1<<3)|0}if(!i){f[k>>2]=c;return}if((e|0)==(b|0))return;d=e+-8-a|0;c=j;while(1){l=b;m=f[l+4>>2]|0;n=c;f[n>>2]=f[l>>2];f[n+4>>2]=m;b=b+8|0;if((b|0)==(e|0))break;else c=c+8|0}f[k>>2]=j+((d>>>3)+1<<3);return}function UXa(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;l=f[b>>2]|0;e=f[c>>2]|0;g=e-l>>3;h=a+8|0;b=f[h>>2]|0;d=f[a>>2]|0;c=d;if(g>>>0>b-d>>3>>>0){if(d){b=a+4|0;f[b>>2]=d;GBb(d);f[h>>2]=0;f[b>>2]=0;f[a>>2]=0;b=0}if(g>>>0>536870911)DCb(a);k=b>>2;b=b>>3>>>0<268435455?(k>>>0<g>>>0?g:k):536870911;if(b>>>0>536870911)DCb(a);g=EBb(b<<3)|0;i=a+4|0;f[i>>2]=g;f[a>>2]=g;f[h>>2]=g+(b<<3);b=l;if((e|0)==(b|0))return;d=e+-8-l|0;c=g;while(1){j=b;k=f[j+4>>2]|0;l=c;f[l>>2]=f[j>>2];f[l+4>>2]=k;b=b+8|0;if((b|0)==(e|0))break;else c=c+8|0}f[i>>2]=g+((d>>>3)+1<<3);return}k=a+4|0;j=f[k>>2]|0;a=j-d>>3;i=g>>>0>a>>>0;d=l;a=i?d+(a<<3)|0:e;b=a;if((b|0)!=(d|0)){h=b+-8-l|0;g=c;while(1){n=d;m=f[n+4>>2]|0;l=g;f[l>>2]=f[n>>2];f[l+4>>2]=m;d=d+8|0;if((d|0)==(b|0))break;else g=g+8|0}c=c+((h>>>3)+1<<3)|0}if(!i){f[k>>2]=c;return}if((e|0)==(b|0))return;d=e+-8-a|0;c=j;while(1){l=b;m=f[l+4>>2]|0;n=c;f[n>>2]=f[l>>2];f[n+4>>2]=m;b=b+8|0;if((b|0)==(e|0))break;else c=c+8|0}f[k>>2]=j+((d>>>3)+1<<3);return}function VXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;f[a+8>>2]=f[b+8>>2];c=a+12|0;d=f[c>>2]|0;j=b+12|0;e=f[j>>2]|0;if((d|0)!=(e|0)){f[c>>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)}e=a+16|0;c=f[e>>2]|0;i=b+16|0;d=f[i>>2]|0;if((c|0)!=(d|0)){f[e>>2]=d;if(d|0){h=d+8|0;f[h>>2]=(f[h>>2]|0)+1}if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1)}h=b+20|0;d=a+20|0;if((a|0)!=(b|0))cYa(d,f[h>>2]|0,f[b+24>>2]|0);c=f[e>>2]|0;if(c|0)f[c+220>>2]=a;e=f[a+24>>2]|0;c=f[d>>2]|0;g=c;if((e|0)!=(c|0)){d=(e-c|0)/272|0;c=0;do{e=f[g+(c*272|0)+4>>2]|0;if(e|0)f[e+220>>2]=a;c=c+1|0}while(c>>>0<d>>>0)}c=f[j>>2]|0;if(c|0?(f[j>>2]=0,a=c+8|0,j=f[a>>2]|0,f[a>>2]=j-1,(j|0)==1):0)Rua(c,1,1);c=f[i>>2]|0;if(c|0?(f[i>>2]=0,a=c+8|0,j=f[a>>2]|0,f[a>>2]=j-1,(j|0)==1):0)Rua(c,1,1);e=f[h>>2]|0;d=b+24|0;c=f[d>>2]|0;if((c|0)==(e|0)){f[d>>2]=e;return}do{c=c+-272|0;tj[f[f[c>>2]>>2]&2047](c)}while((c|0)!=(e|0));f[d>>2]=e;return}function WXa(a){a=a|0;_Xa(a,353292);Gva(a+36|0);return}function XXa(a){a=a|0;_Xa(a,353292);Gva(a+36|0);GBb(a);return}function YXa(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;_Xa(a,353292);Gva(a+36|0);return}function ZXa(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;_Xa(a,353292);Gva(a+36|0);GBb(a);return}function _Xa(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;l=u;u=u+16|0;i=l;k=f[c>>2]|0;f[a>>2]=k;f[a+(f[k+-12>>2]|0)>>2]=f[c+4>>2];if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){k=Nu(Hua(4)|0,446784,21)|0;Drb(i,k+(f[(f[k>>2]|0)+-12>>2]|0)|0);j=utb(i,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(i);ksb(k,j)|0;Krb(k)|0}k=a+16|0;c=f[k>>2]|0;if((c|0?(f[c+220>>2]=0,d=c+100|0,e=f[d>>2]|0,e|0):0)?(f[d>>2]=0,g=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,e=g+8|0,j=f[e>>2]|0,f[e>>2]=j-1,(j|0)==1):0)Rua(g,1,1);g=a+20|0;c=f[g>>2]|0;j=a+24|0;if((c|0)!=(f[j>>2]|0))do{d=f[c+4>>2]|0;f[d+220>>2]=0;d=d+100|0;e=f[d>>2]|0;if(e|0?(f[d>>2]=0,h=e+(f[(f[e>>2]|0)+-12>>2]|0)|0,d=h+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(h,1,1);c=c+272|0}while((c|0)!=(f[j>>2]|0));c=f[k>>2]|0;if(c|0?(f[k>>2]=0,e=c+8|0,h=f[e>>2]|0,f[e>>2]=h-1,(h|0)==1):0)Rua(c,1,1);d=f[g>>2]|0;c=f[j>>2]|0;if((c|0)!=(d|0))do{c=c+-272|0;tj[f[f[c>>2]>>2]&2047](c)}while((c|0)!=(d|0));f[j>>2]=d;e=a+12|0;c=f[e>>2]|0;if(c|0?(f[e>>2]=0,d=c+8|0,h=f[d>>2]|0,f[d>>2]=h-1,(h|0)==1):0)Rua(c,1,1);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){h=Nu(Hua(4)|0,446806,26)|0;Drb(i,h+(f[(f[h>>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(h,d)|0;Krb(h)|0}c=a+32|0;d=f[c>>2]|0;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[c>>2]=0;d=f[g>>2]|0;if(d|0){c=f[j>>2]|0;if((c|0)==(d|0))c=d;else{do{c=c+-272|0;tj[f[f[c>>2]>>2]&2047](c)}while((c|0)!=(d|0));c=f[g>>2]|0}f[j>>2]=d;GBb(c)}c=f[k>>2]|0;if(c|0?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);f[k>>2]=0;c=f[e>>2]|0;if(c|0?(j=c+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(c,1,1);f[e>>2]=0;c=a+4|0;d=f[c>>2]|0;if(!d){f[c>>2]=0;u=l;return}k=d+8|0;a=f[k>>2]|0;f[k>>2]=a-1;if((a|0)!=1){f[c>>2]=0;u=l;return}Rua(d,1,1);f[c>>2]=0;u=l;return}function $Xa(a){a=a|0;var b=0,c=0,d=0;c=f[a>>2]|0;if(!c)return;d=a+4|0;b=f[d>>2]|0;if((b|0)==(c|0))b=c;else{do{b=b+-272|0;tj[f[f[b>>2]>>2]&2047](b)}while((b|0)!=(c|0));b=f[a>>2]|0}f[d>>2]=c;GBb(b);return}function aYa(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 bYa(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 cYa(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;i=(c-b|0)/272|0;j=a+8|0;d=f[j>>2]|0;h=f[a>>2]|0;e=h;if(i>>>0<=((d-h|0)/272|0)>>>0){a=a+4|0;d=((f[a>>2]|0)-h|0)/272|0;g=i>>>0>d>>>0;d=b+(d*272|0)|0;h=g?d:c;if((h|0)!=(b|0))do{dYa(e,b)|0;b=b+272|0;e=e+272|0}while((b|0)!=(h|0));if(g){if((h|0)==(c|0))return;b=f[a>>2]|0;do{eYa(b,d);d=d+272|0;b=(f[a>>2]|0)+272|0;f[a>>2]=b}while((d|0)!=(c|0));return}else{d=f[a>>2]|0;if((d|0)!=(e|0))do{d=d+-272|0;tj[f[f[d>>2]>>2]&2047](d)}while((d|0)!=(e|0));f[a>>2]=e;return}}if(h){g=a+4|0;d=f[g>>2]|0;if((d|0)==(e|0))d=h;else{do{d=d+-272|0;tj[f[f[d>>2]>>2]&2047](d)}while((d|0)!=(e|0));d=f[a>>2]|0}f[g>>2]=e;GBb(d);f[j>>2]=0;f[g>>2]=0;f[a>>2]=0;d=0}if(i>>>0>15790320)DCb(a);h=(d|0)/272|0;e=h<<1;e=h>>>0<7895160?(e>>>0<i>>>0?i:e):15790320;if(e>>>0>15790320)DCb(a);d=EBb(e*272|0)|0;g=a+4|0;f[g>>2]=d;f[a>>2]=d;f[j>>2]=d+(e*272|0);if((b|0)==(c|0))return;do{eYa(d,b);b=b+272|0;d=(f[g>>2]|0)+272|0;f[g>>2]=d}while((b|0)!=(c|0));return}function dYa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;d=a+4|0;e=f[d>>2]|0;g=f[c+4>>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)}if((c|0)!=(a|0)){p[a+8>>3]=+p[c+8>>3];p[a+16>>3]=+p[c+16>>3];p[a+24>>3]=+p[c+24>>3];p[a+32>>3]=+p[c+32>>3];p[a+40>>3]=+p[c+40>>3];p[a+48>>3]=+p[c+48>>3];p[a+56>>3]=+p[c+56>>3];p[a+64>>3]=+p[c+64>>3];p[a+72>>3]=+p[c+72>>3];p[a+80>>3]=+p[c+80>>3];p[a+88>>3]=+p[c+88>>3];p[a+96>>3]=+p[c+96>>3];p[a+104>>3]=+p[c+104>>3];p[a+112>>3]=+p[c+112>>3];p[a+120>>3]=+p[c+120>>3];p[a+128>>3]=+p[c+128>>3];p[a+136>>3]=+p[c+136>>3];p[a+144>>3]=+p[c+144>>3];p[a+152>>3]=+p[c+152>>3];p[a+160>>3]=+p[c+160>>3];p[a+168>>3]=+p[c+168>>3];p[a+176>>3]=+p[c+176>>3];p[a+184>>3]=+p[c+184>>3];p[a+192>>3]=+p[c+192>>3];p[a+200>>3]=+p[c+200>>3];p[a+208>>3]=+p[c+208>>3];p[a+216>>3]=+p[c+216>>3];p[a+224>>3]=+p[c+224>>3];p[a+232>>3]=+p[c+232>>3];p[a+240>>3]=+p[c+240>>3];p[a+248>>3]=+p[c+248>>3];p[a+256>>3]=+p[c+256>>3]}b[a+264>>0]=b[c+264>>0]|0;e=a+268|0;g=f[e>>2]|0;d=f[c+268>>2]|0;if((g|0)==(d|0))return a|0;f[e>>2]=d;if(d|0){c=d+(f[(f[d>>2]|0)+-12>>2]|0)+8|0;f[c>>2]=(f[c>>2]|0)+1}if(!g)return a|0;d=g+(f[(f[g>>2]|0)+-12>>2]|0)|0;g=d+8|0;c=f[g>>2]|0;f[g>>2]=c-1;if((c|0)!=1)return a|0;Rua(d,1,1);return a|0}function eYa(a,c){a=a|0;c=c|0;var d=0;f[a>>2]=353308;d=f[c+4>>2]|0;f[a+4>>2]=d;if(d|0){d=d+8|0;f[d>>2]=(f[d>>2]|0)+1}p[a+8>>3]=+p[c+8>>3];p[a+16>>3]=+p[c+16>>3];p[a+24>>3]=+p[c+24>>3];p[a+32>>3]=+p[c+32>>3];p[a+40>>3]=+p[c+40>>3];p[a+48>>3]=+p[c+48>>3];p[a+56>>3]=+p[c+56>>3];p[a+64>>3]=+p[c+64>>3];p[a+72>>3]=+p[c+72>>3];p[a+80>>3]=+p[c+80>>3];p[a+88>>3]=+p[c+88>>3];p[a+96>>3]=+p[c+96>>3];p[a+104>>3]=+p[c+104>>3];p[a+112>>3]=+p[c+112>>3];p[a+120>>3]=+p[c+120>>3];p[a+128>>3]=+p[c+128>>3];p[a+136>>3]=+p[c+136>>3];p[a+144>>3]=+p[c+144>>3];p[a+152>>3]=+p[c+152>>3];p[a+160>>3]=+p[c+160>>3];p[a+168>>3]=+p[c+168>>3];p[a+176>>3]=+p[c+176>>3];p[a+184>>3]=+p[c+184>>3];p[a+192>>3]=+p[c+192>>3];p[a+200>>3]=+p[c+200>>3];p[a+208>>3]=+p[c+208>>3];p[a+216>>3]=+p[c+216>>3];p[a+224>>3]=+p[c+224>>3];p[a+232>>3]=+p[c+232>>3];p[a+240>>3]=+p[c+240>>3];p[a+248>>3]=+p[c+248>>3];p[a+256>>3]=+p[c+256>>3];b[a+264>>0]=b[c+264>>0]|0;c=f[c+268>>2]|0;f[a+268>>2]=c;if(!c)return;a=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[a>>2]=(f[a>>2]|0)+1;return}function fYa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=353308;b=a+268|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;a=a+4|0;b=f[a>>2]|0;if(!b){f[a>>2]=0;return}d=b+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){f[a>>2]=0;return}Rua(b,1,1);f[a>>2]=0;return}function gYa(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=353308;b=a+268|0;c=f[b>>2]|0;if(c|0?(d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,e=d+8|0,c=f[e>>2]|0,f[e>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[b>>2]=0;b=f[a+4>>2]|0;if(!b){GBb(a);return}d=b+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){GBb(a);return}Rua(b,1,1);GBb(a);return}function hYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+128|0;e=h;g=b+16|0;b=f[g>>2]|0;if(!b){u=h;return}d=a+4|0;c=f[d>>2]|0;if(!(f[c+136>>2]|0)){f3a(e);l3a(e,b+304|0,a+8|0);p[c+304>>3]=+p[e>>3];p[c+312>>3]=+p[e+8>>3];p[c+320>>3]=+p[e+16>>3];p[c+328>>3]=+p[e+24>>3];p[c+336>>3]=+p[e+32>>3];p[c+344>>3]=+p[e+40>>3];p[c+352>>3]=+p[e+48>>3];p[c+360>>3]=+p[e+56>>3];p[c+368>>3]=+p[e+64>>3];p[c+376>>3]=+p[e+72>>3];p[c+384>>3]=+p[e+80>>3];p[c+392>>3]=+p[e+88>>3];p[c+400>>3]=+p[e+96>>3];p[c+408>>3]=+p[e+104>>3];p[c+416>>3]=+p[e+112>>3];p[c+424>>3]=+p[e+120>>3];c=f[d>>2]|0;b=(f[g>>2]|0)+432|0;f3a(e);l3a(e,b,a+136|0);p[c+432>>3]=+p[e>>3];p[c+440>>3]=+p[e+8>>3];p[c+448>>3]=+p[e+16>>3];p[c+456>>3]=+p[e+24>>3];p[c+464>>3]=+p[e+32>>3];p[c+472>>3]=+p[e+40>>3];p[c+480>>3]=+p[e+48>>3];p[c+488>>3]=+p[e+56>>3];p[c+496>>3]=+p[e+64>>3];p[c+504>>3]=+p[e+72>>3];p[c+512>>3]=+p[e+80>>3];p[c+520>>3]=+p[e+88>>3];p[c+528>>3]=+p[e+96>>3];p[c+536>>3]=+p[e+104>>3];p[c+544>>3]=+p[e+112>>3];p[c+552>>3]=+p[e+120>>3];ywa(c);c=f[d>>2]|0;b=f[g>>2]|0}Fj[f[(f[c>>2]|0)+296>>2]&511](c,b+144|0,f[c+148>>2]|0);u=h;return}function iYa(a){a=a|0;Kva(a);return}function jYa(a){a=a|0;Kva(a);GBb(a);return}function kYa(a){a=a|0;var b=0;a=EBb(88)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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;f[a>>2]=353328;b=a+56|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[b+12>>2]=0;p[a+72>>3]=800.0;p[a+80>>3]=600.0;return a|0}function lYa(a,b){a=a|0;b=b|0;var c=0;c=EBb(88)|0;Jva(c,a,b);f[c>>2]=353328;p[c+56>>3]=+p[a+56>>3];p[c+64>>3]=+p[a+64>>3];p[c+72>>3]=+p[a+72>>3];p[c+80>>3]=+p[a+80>>3];return c|0}function mYa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299472,0)|0)!=0;return b|0}function nYa(a){a=a|0;return 409756}function oYa(a){a=a|0;return 446863}function pYa(a){a=a|0;return 27}function qYa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,g=0;if((a|0)==(b|0)){b=0;return b|0}if(!a)BDb();e=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;g=f[(f[(f[b>>2]|0)+-4>>2]|0)+4>>2]|0;if(e>>>0<g>>>0){b=-1;return b|0}if((e|0)!=(g|0)){b=1;return b|0}c=+p[a+56>>3];d=+p[b+56>>3];if(c<d){b=-1;return b|0}if(d<c){b=1;return b|0}c=+p[a+64>>3];d=+p[b+64>>3];if(c<d){b=-1;return b|0}if(d<c){b=1;return b|0}c=+p[a+72>>3];d=+p[b+72>>3];if(c<d){b=-1;return b|0}if(d<c){b=1;return b|0}d=+p[a+80>>3];c=+p[b+80>>3];if(d<c){b=-1;return b|0}b=c<d&1;return b|0}function rYa(a,b){a=a|0;b=b|0;ai(~~+p[a+56>>3]|0,~~+p[a+64>>3]|0,~~+p[a+72>>3]|0,~~+p[a+80>>3]|0);return}function sYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;g=(b|0)==0;if(g)e=0;else e=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;h=(c|0)==0;if(!h?(d=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0,(e|0)!=0&(d|0)!=0):0){Fj[f[(f[a>>2]|0)+32>>2]&511](a,e,d);h=1;return h|0}a=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+4>>2]|0;if(a|0){h=dj[f[(f[a>>2]|0)+92>>2]&255](a,b,c)|0;return h|0}if(g)d=0;else d=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;if(h){h=0;return h|0}a=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if(!((d|0)!=0&(a|0)!=0)){h=0;return h|0}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[d>>2]|0)+216>>2]&1023](d,a);h=1;return h|0}case 0:{h=1;return h|0}default:{Bj[f[(f[d>>2]|0)+220>>2]&1023](d,a);h=1;return h|0}}return 0}function tYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!c)d=0;else d=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;c=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+4>>2]|0;if(c|0){dj[f[(f[c>>2]|0)+92>>2]&255](c,b,d)|0;return}if(!b)a=0;else a=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;if(!d)return;c=_i[f[(f[d>>2]|0)+40>>2]&2047](d)|0;if(!((a|0)!=0&(c|0)!=0))return;switch(f[c+16>>2]|0){case 1:{Bj[f[(f[a>>2]|0)+216>>2]&1023](a,c);return}case 0:return;default:{Bj[f[(f[a>>2]|0)+220>>2]&1023](a,c);return}}}function uYa(a,b,c){a=a|0;b=b|0;c=c|0;return sYa(a+(f[(f[a>>2]|0)+-108>>2]|0)|0,b,c)|0}function vYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0;d=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if((e|0)!=0&(d|0)!=0){Fj[f[(f[a>>2]|0)+32>>2]&511](a,d,e);c=1;return c|0}a=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+4>>2]|0;if(a|0){c=dj[f[(f[a>>2]|0)+92>>2]&255](a,b,c)|0;return c|0}d=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;a=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if(!((d|0)!=0&(a|0)!=0)){c=0;return c|0}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[d>>2]|0)+216>>2]&1023](d,a);c=1;return c|0}case 0:{c=1;return c|0}default:{Bj[f[(f[d>>2]|0)+220>>2]&1023](d,a);c=1;return c|0}}return 0}function wYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+(f[(f[a>>2]|0)+-108>>2]|0)|0;a=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0;d=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if((a|0)!=0&(d|0)!=0){Fj[f[(f[e>>2]|0)+32>>2]&511](e,d,a);c=1;return c|0}a=f[e+(f[(f[e>>2]|0)+-12>>2]|0)+4>>2]|0;if(a|0){c=dj[f[(f[a>>2]|0)+92>>2]&255](a,b,c)|0;return c|0}d=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;a=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if(!((d|0)!=0&(a|0)!=0)){c=0;return c|0}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[d>>2]|0)+216>>2]&1023](d,a);c=1;return c|0}case 0:{c=1;return c|0}default:{Bj[f[(f[d>>2]|0)+220>>2]&1023](d,a);c=1;return c|0}}return 0}function xYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0;d=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if((e|0)!=0&(d|0)!=0){Fj[f[(f[a>>2]|0)+32>>2]&511](a,d,e);c=1;return c|0}a=f[a+(f[(f[a>>2]|0)+-12>>2]|0)+4>>2]|0;if(a|0){c=dj[f[(f[a>>2]|0)+92>>2]&255](a,b,c)|0;return c|0}d=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;a=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if(!((d|0)!=0&(a|0)!=0)){c=0;return c|0}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[d>>2]|0)+216>>2]&1023](d,a);c=1;return c|0}case 0:{c=1;return c|0}default:{Bj[f[(f[d>>2]|0)+220>>2]&1023](d,a);c=1;return c|0}}return 0}function yYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+(f[(f[a>>2]|0)+-108>>2]|0)|0;a=_i[f[(f[b>>2]|0)+88>>2]&2047](b)|0;d=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if((a|0)!=0&(d|0)!=0){Fj[f[(f[e>>2]|0)+32>>2]&511](e,d,a);c=1;return c|0}a=f[e+(f[(f[e>>2]|0)+-12>>2]|0)+4>>2]|0;if(a|0){c=dj[f[(f[a>>2]|0)+92>>2]&255](a,b,c)|0;return c|0}d=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;a=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if(!((d|0)!=0&(a|0)!=0)){c=0;return c|0}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[d>>2]|0)+216>>2]&1023](d,a);c=1;return c|0}case 0:{c=1;return c|0}default:{Bj[f[(f[d>>2]|0)+220>>2]&1023](d,a);c=1;return c|0}}return 0}function zYa(a){a=a|0;var c=0;f[a>>2]=299716;c=a+20|0;f[c>>2]=299748;a=a+4|0;if((b[a+11>>0]|0)>=0){Uua(c);return}GBb(f[a>>2]|0);Uua(c);return}function AYa(a){a=a|0;var c=0,d=0;f[a>>2]=299716;c=a+20|0;f[c>>2]=299748;d=a+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);Uua(c);GBb(a);return}function BYa(a,b){a=a|0;b=b|0;a=f[b+48>>2]|0;if(a|0)tj[f[(f[a>>2]|0)+16>>2]&2047](a);a=f[b+116>>2]|0;if(!a){tj[f[(f[b>>2]|0)+204>>2]&2047](b);a=b}else{Bj[f[(f[a>>2]|0)+12>>2]&1023](a,b);a=b}tj[f[(f[a>>2]|0)+172>>2]&2047](b);return}function CYa(a){a=a|0;var c=0;c=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[c>>2]=299716;a=c+20|0;f[a>>2]=299748;c=c+4|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function DYa(a){a=a|0;var c=0,d=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=299716;c=a+20|0;f[c>>2]=299748;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function EYa(a){a=a|0;H3a(a+20|0);return}function FYa(a,b){a=a|0;b=b|0;switch(f[a+32>>2]|0){case 2:{Jh();break}case 1:{Kh();break}default:{}}b=a+20|0;Bj[f[(f[b>>2]|0)+12>>2]&1023](b,0);return}function GYa(a){a=a|0;var c=0;D3a(a+20|0);f[a>>2]=299644;c=a+36|0;f[c>>2]=299676;a=a+4|0;if((b[a+11>>0]|0)>=0){Uua(c);return}GBb(f[a>>2]|0);Uua(c);return}function HYa(a){a=a|0;var c=0,d=0;D3a(a+20|0);f[a>>2]=299644;c=a+36|0;f[c>>2]=299676;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function IYa(a){a=a|0;var c=0;a=a+-20|0;D3a(a+20|0);f[a>>2]=299644;c=a+36|0;f[c>>2]=299676;if((b[a+15>>0]|0)>=0){Uua(c);return}GBb(f[a+4>>2]|0);Uua(c);return}function JYa(a){a=a|0;var c=0;a=a+-20|0;D3a(a+20|0);f[a>>2]=299644;c=a+36|0;f[c>>2]=299676;if((b[a+15>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[a+4>>2]|0);Uua(c);GBb(a);return}function KYa(a){a=a|0;H3a(a+-20+20|0);return}function LYa(a){a=a|0;var c=0;c=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;D3a(c+20|0);f[c>>2]=299644;a=c+36|0;f[a>>2]=299676;c=c+4|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function MYa(a){a=a|0;var c=0,d=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;D3a(a+20|0);f[a>>2]=299644;c=a+36|0;f[c>>2]=299676;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function NYa(a){a=a|0;var c=0;f[a>>2]=299716;c=a+20|0;f[c>>2]=299748;a=a+4|0;if((b[a+11>>0]|0)>=0){Uua(c);return}GBb(f[a>>2]|0);Uua(c);return}function OYa(a){a=a|0;var c=0,d=0;f[a>>2]=299716;c=a+20|0;f[c>>2]=299748;d=a+4|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);Uua(c);GBb(a);return}function PYa(a,b){a=a|0;b=b|0;tj[f[(f[b>>2]|0)+164>>2]&2047](b);return}function QYa(a){a=a|0;var c=0;c=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[c>>2]=299716;a=c+20|0;f[a>>2]=299748;c=c+4|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function RYa(a){a=a|0;var c=0,d=0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;f[a>>2]=299716;c=a+20|0;f[c>>2]=299748;d=a+4|0;if((b[d+11>>0]|0)>=0){Uua(c);GBb(a);return}GBb(f[d>>2]|0);Uua(c);GBb(a);return}function SYa(a){a=a|0;mi()}function TYa(a){a=a|0;var b=0;f[a+64>>2]=322292;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function UYa(a){a=a|0;var b=0;f[a+64>>2]=322292;b=f[a+68>>2]|0;if(b|0){f[a+72>>2]=b;GBb(b)}oza(a);GBb(a);return}function VYa(a){a=a|0;var b=0;a=EBb(84)|0;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+24>>2]=2;b=a+28|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[a+52>>2]=2;f[a+56>>2]=0;f[a+60>>2]=0;f[a+68>>2]=0;f[a+72>>2]=0;f[a+76>>2]=0;f[a>>2]=355268;f[a+64>>2]=355508;f[a+80>>2]=0;return a|0}function WYa(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;k=EBb(84)|0;Fva(k,a,b);f[k>>2]=339744;f[k+32>>2]=0;f[k+36>>2]=0;f[k+40>>2]=0;b=f[a+44>>2]|0;f[k+44>>2]=b;if(b|0){j=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[j>>2]=(f[j>>2]|0)+1}f[k+48>>2]=0;f[k>>2]=355028;f[k+52>>2]=f[a+52>>2];f[k+56>>2]=f[a+56>>2];f[k+60>>2]=f[a+60>>2];b=k+64|0;f[b>>2]=322292;c=k+68|0;f[c>>2]=0;d=k+72|0;f[d>>2]=0;e=k+76|0;f[e>>2]=0;g=f[a+68>>2]|0;h=(f[a+72>>2]|0)-g|0;i=h>>2;if(!h){f[k>>2]=355268;f[b>>2]=355508;j=k+80|0;a=a+80|0;a=f[a>>2]|0;f[j>>2]=a;return k|0}if(i>>>0>1073741823)DCb(c);j=EBb(h)|0;f[d>>2]=j;f[c>>2]=j;f[e>>2]=j+(i<<2);if((h|0)<=0){f[k>>2]=355268;f[b>>2]=355508;j=k+80|0;a=a+80|0;a=f[a>>2]|0;f[j>>2]=a;return k|0}YDb(j|0,g|0,h|0)|0;f[d>>2]=j+(h>>>2<<2);f[k>>2]=355268;f[b>>2]=355508;j=k+80|0;a=a+80|0;a=f[a>>2]|0;f[j>>2]=a;return k|0}function XYa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}b=(WCb(b,295088,299824,0)|0)!=0;return b|0}function YYa(a){a=a|0;return 409756}function ZYa(a){a=a|0;return 447075}function _Ya(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;c=f[a+60>>2]|0;switch(c|0){case 7:{c=f[a+68>>2]|0;g=a+72|0;if((c|0)==(f[g>>2]|0))return;e=a+56|0;a=f[a+80>>2]|0;while(1){SSa(b,a,f[c>>2]|0,f[e>>2]|0);d=c+4|0;if((d|0)==(f[g>>2]|0))break;else{a=(f[c>>2]|0)+a|0;c=d}}return}case 9:{c=6;break}case 8:{c=5;break}default:{}}d=f[a+68>>2]|0;i=a+72|0;if((d|0)==(f[i>>2]|0))return;j=a+56|0;h=b+824|0;b=f[a+80>>2]|0;g=d;while(1){d=f[j>>2]|0;a=f[g>>2]|0;do if((d|0)>0){e=f[h>>2]|0;if(!e){Gh(c|0,b|0,a|0);break}else{Ij[e&127](c,b,a,d);break}}else Gh(c|0,b|0,a|0);while(0);d=g+4|0;if((d|0)==(f[i>>2]|0))break;else{b=(f[g>>2]|0)+b|0;g=d}}return}function $Ya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+68>>2]|0;e=a+72|0;if((c|0)==(f[e>>2]|0))return;g=a+60|0;d=f[a+80>>2]|0;a=c;while(1){Ij[f[(f[b>>2]|0)+32>>2]&127](b,f[g>>2]|0,d,f[a>>2]|0);c=a+4|0;if((c|0)==(f[e>>2]|0))break;else{d=(f[a>>2]|0)+d|0;a=c}}return}function aZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;c=f[a+68>>2]|0;e=a+72|0;if((c|0)==(f[e>>2]|0))return;g=a+60|0;d=f[a+80>>2]|0;a=c;while(1){Ij[f[(f[b>>2]|0)+32>>2]&127](b,f[g>>2]|0,d,f[a>>2]|0);c=a+4|0;if((c|0)==(f[e>>2]|0))break;else{d=(f[a>>2]|0)+d|0;a=c}}return}function bZa(a,b){a=a|0;b=b|0;return (f[a+80>>2]|0)+b|0}function cZa(a){a=a|0;var b=0,c=0;b=f[a+68>>2]|0;c=f[a+72>>2]|0;if((b|0)==(c|0)){c=0;return c|0}a=0;do{a=(f[b>>2]|0)+a|0;b=b+4|0}while((b|0)!=(c|0));return a|0}function dZa(a,b){a=a|0;b=b|0;a=a+80|0;f[a>>2]=(f[a>>2]|0)+b;return}function eZa(a){a=a|0;switch(f[a+60>>2]|0){case 0:{a=_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0;return a|0}case 1:{a=(_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)>>>1;return a|0}case 4:{a=((_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)>>>0)/3|0;return a|0}case 7:{a=(_i[f[(f[a>>2]|0)+216>>2]&2047](a)|0)>>>2;return a|0}case 9:case 14:case 8:case 6:case 5:case 2:case 3:{a=(f[a+72>>2]|0)-(f[a+68>>2]|0)>>2;return a|0}default:{a=0;return a|0}}return 0}function fZa(a){a=a|0;var b=0;a=a+-64|0;f[a+64>>2]=322292;b=f[a+68>>2]|0;if(!b){oza(a);return}f[a+72>>2]=b;GBb(b);oza(a);return}function gZa(a){a=a|0;var b=0;a=a+-64|0;f[a+64>>2]=322292;b=f[a+68>>2]|0;if(b|0){f[a+72>>2]=b;GBb(b)}oza(a);GBb(a);return}function hZa(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+32|0;g=i+12|0;h=i;n[124954]=1.0;n[124955]=0.0;n[124956]=0.0;n[124957]=0.0;n[124958]=1.0;n[124959]=0.0;n[124960]=0.0;n[124961]=0.0;n[124962]=1.0;iZa()|0;f[124931]=0;f[124932]=0;f[124930]=499724;t4a(499756,1);f[124939]=311972;f[124942]=0;f[124943]=0;f[124944]=0;a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=32;c=a;d=447117;e=c+32|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+32>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(112)|0;f[h>>2]=a;f[h+8>>2]=-2147483536;f[h+4>>2]=101;c=a;d=447150;e=c+101|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+101>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=26;c=a;d=447252;e=c+26|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+26>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(96)|0;f[h>>2]=a;f[h+8>>2]=-2147483552;f[h+4>>2]=84;c=a;d=447279;e=c+84|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+84>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);Dxa()|0;a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=23;c=a;d=447364;e=c+23|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+23>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(64)|0;f[h>>2]=a;f[h+8>>2]=-2147483584;f[h+4>>2]=59;c=a;d=447388;e=c+59|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+59>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=22;c=a;d=447448;e=c+22|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+22>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(128)|0;f[h>>2]=a;f[h+8>>2]=-2147483520;f[h+4>>2]=127;c=a;d=447471;e=c+127|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+127>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=17;c=a;d=447599;e=c+17|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+17>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;e=h+11|0;b[e>>0]=8;d=h;f[d>>2]=541476431;f[d+4>>2]=1313808508;b[h+8>>0]=0;jZa(iZa()|0,2,g,h);if((b[e>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=26;c=a;d=447617;e=c+26|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+26>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(32)|0;f[h>>2]=a;f[h+8>>2]=-2147483616;f[h+4>>2]=31;c=a;d=447644;e=c+31|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+31>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=27;c=a;d=447676;e=c+27|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+27>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(48)|0;f[h>>2]=a;f[h+8>>2]=-2147483600;f[h+4>>2]=42;c=a;d=447704;e=c+42|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+42>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=25;c=a;d=447747;e=c+25|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+25>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(32)|0;f[h>>2]=a;f[h+8>>2]=-2147483616;f[h+4>>2]=23;c=a;d=447773;e=c+23|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+23>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=24;c=a;d=447797;e=c+24|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+24>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(32)|0;f[h>>2]=a;f[h+8>>2]=-2147483616;f[h+4>>2]=22;c=a;d=447822;e=c+22|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+22>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=46;c=a;d=447845;e=c+46|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+46>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(64)|0;f[h>>2]=a;f[h+8>>2]=-2147483584;f[h+4>>2]=48;c=a;d=447892;e=c+48|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+48>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=46;c=a;d=447941;e=c+46|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+46>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(48)|0;f[h>>2]=a;f[h+8>>2]=-2147483600;f[h+4>>2]=35;c=a;d=447988;e=c+35|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+35>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=44;c=a;d=448024;e=c+44|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+44>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(64)|0;f[h>>2]=a;f[h+8>>2]=-2147483584;f[h+4>>2]=48;c=a;d=448069;e=c+48|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+48>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(64)|0;f[g>>2]=a;f[g+8>>2]=-2147483584;f[g+4>>2]=48;c=a;d=448118;e=c+48|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+48>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;e=EBb(192)|0;f[h>>2]=e;f[h+8>>2]=-2147483456;f[h+4>>2]=188;YDb(e|0,448167,188)|0;b[e+188>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=44;c=a;d=448356;e=c+44|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+44>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(48)|0;f[h>>2]=a;f[h+8>>2]=-2147483600;f[h+4>>2]=35;c=a;d=447988;e=c+35|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+35>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=41;c=a;d=448401;e=c+41|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+41>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=65;c=a;d=448443;e=c+65|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+65>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=27;c=a;d=448509;e=c+27|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+27>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=76;c=a;d=448537;e=c+76|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+76>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=34;c=a;d=448614;e=c+34|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+34>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(128)|0;f[h>>2]=a;f[h+8>>2]=-2147483520;f[h+4>>2]=115;c=a;d=448649;e=c+115|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+115>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=35;c=a;d=448765;e=c+35|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+35>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(96)|0;f[h>>2]=a;f[h+8>>2]=-2147483552;f[h+4>>2]=94;c=a;d=448801;e=c+94|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+94>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=30;c=a;d=448896;e=c+30|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+30>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=76;c=a;d=448927;e=c+76|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+76>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=35;c=a;d=449004;e=c+35|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+35>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(112)|0;f[h>>2]=a;f[h+8>>2]=-2147483536;f[h+4>>2]=103;c=a;d=449040;e=c+103|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+103>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=23;c=a;d=449144;e=c+23|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+23>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=66;c=a;d=449168;e=c+66|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+66>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=27;c=a;d=449235;e=c+27|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+27>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(64)|0;f[h>>2]=a;f[h+8>>2]=-2147483584;f[h+4>>2]=56;c=a;d=449263;e=c+56|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+56>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=33;c=a;d=449320;e=c+33|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+33>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=69;c=a;d=449354;e=c+69|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+69>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=23;c=a;d=449424;e=c+23|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+23>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=68;c=a;d=449448;e=c+68|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+68>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=42;c=a;d=412340;e=c+42|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+42>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(112)|0;f[h>>2]=a;f[h+8>>2]=-2147483536;f[h+4>>2]=103;c=a;d=449517;e=c+103|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+103>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=43;c=a;d=412383;e=c+43|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+43>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(112)|0;f[h>>2]=a;f[h+8>>2]=-2147483536;f[h+4>>2]=104;c=a;d=449621;e=c+104|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+104>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=36;c=a;d=449726;e=c+36|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+36>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(64)|0;f[h>>2]=a;f[h+8>>2]=-2147483584;f[h+4>>2]=55;c=a;d=449763;e=c+55|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+55>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=27;c=a;d=449819;e=c+27|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+27>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=68;c=a;d=449847;e=c+68|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+68>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=34;c=a;d=449916;e=c+34|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+34>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=75;c=a;d=449951;e=c+75|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+75>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=24;c=a;d=450027;e=c+24|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+24>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=68;c=a;d=450052;e=c+68|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+68>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=21;c=a;d=450121;e=c+21|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+21>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=73;c=a;d=450143;e=c+73|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+73>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=42;c=a;d=450217;e=c+42|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+42>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(112)|0;f[h>>2]=a;f[h+8>>2]=-2147483536;f[h+4>>2]=103;c=a;d=450260;e=c+103|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+103>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=31;c=a;d=450364;e=c+31|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+31>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(96)|0;f[h>>2]=a;f[h+8>>2]=-2147483552;f[h+4>>2]=82;c=a;d=450396;e=c+82|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+82>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=31;c=a;d=450479;e=c+31|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+31>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(96)|0;f[h>>2]=a;f[h+8>>2]=-2147483552;f[h+4>>2]=87;c=a;d=450511;e=c+87|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+87>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=30;c=a;d=450599;e=c+30|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+30>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(128)|0;f[h>>2]=a;f[h+8>>2]=-2147483520;f[h+4>>2]=124;c=a;d=450630;e=c+124|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+124>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=28;c=a;d=450755;e=c+28|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+28>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;e=h+11|0;b[e>>0]=6;b[h>>0]=b[450784]|0;b[h+1>>0]=b[450785]|0;b[h+2>>0]=b[450786]|0;b[h+3>>0]=b[450787]|0;b[h+4>>0]=b[450788]|0;b[h+5>>0]=b[450789]|0;b[h+6>>0]=0;jZa(iZa()|0,2,g,h);if((b[e>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=25;c=a;d=412242;e=c+25|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+25>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=67;c=a;d=450791;e=c+67|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+67>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=45;c=a;d=450859;e=c+45|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+45>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=64;c=a;d=450905;e=c+64|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+64>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=33;c=a;d=450970;e=c+33|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+33>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(128)|0;f[h>>2]=a;f[h+8>>2]=-2147483520;f[h+4>>2]=127;c=a;d=451004;e=c+127|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+127>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);Dxa()|0;kZa(499672,f[(f[124914]|0)+84>>2]|0);Dxa()|0;lZa(499684,f[(f[124914]|0)+84>>2]|0);Dxa()|0;a=f[(f[124914]|0)+84>>2]|0;f[124924]=0;f[124925]=0;f[124926]=0;do if(a|0)if(a>>>0>1073741823)DCb(499696);else{d=a<<2;c=EBb(d)|0;f[124924]=c;e=c+(a<<2)|0;f[124926]=e;_Db(c|0,0,d|0)|0;f[124925]=e;break}while(0);Dxa()|0;kZa(499852,f[(f[124914]|0)+84>>2]|0);Dxa()|0;lZa(499864,f[(f[124914]|0)+84>>2]|0);Dxa()|0;a=f[(f[124914]|0)+84>>2]|0;f[124969]=0;f[124970]=0;f[124971]=0;do if(a|0)if(a>>>0>1073741823)DCb(499876);else{d=a<<2;c=EBb(d)|0;f[124969]=c;e=c+(a<<2)|0;f[124971]=e;_Db(c|0,0,d|0)|0;f[124970]=e;break}while(0);a=EBb(48)|0;f[g>>2]=a;f[g+8>>2]=-2147483600;f[g+4>>2]=32;c=a;d=451132;e=c+32|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+32>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(96)|0;f[h>>2]=a;f[h+8>>2]=-2147483552;f[h+4>>2]=80;c=a;d=451165;e=c+80|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+80>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=28;c=a;d=451246;e=c+28|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+28>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(64)|0;f[h>>2]=a;f[h+8>>2]=-2147483584;f[h+4>>2]=53;c=a;d=451275;e=c+53|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+53>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);Rza()|0;mZa(499660);do if(!(b[497328]|0)){if(!(DDb(497328)|0))break;d=EBb(24)|0;f[d+4>>2]=0;e=d+8|0;f[e>>2]=0;f[d>>2]=344720;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[124972]=d;f[e>>2]=(f[e>>2]|0)+1}while(0);t4a(499892,0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=23;c=a;d=451329;e=c+23|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+23>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(80)|0;f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=69;c=a;d=451353;e=c+69|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+69>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);do if(!(b[497232]|0)){if(!(DDb(497232)|0))break;Gua(499472)}while(0);zwa()|0;a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=28;c=a;d=451423;e=c+28|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+28>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(112)|0;f[h>>2]=a;f[h+8>>2]=-2147483536;f[h+4>>2]=107;c=a;d=451452;e=c+107|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+107>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=20;c=a;d=421364;e=c+20|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+20>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(48)|0;f[h>>2]=a;f[h+8>>2]=-2147483600;f[h+4>>2]=33;c=a;d=451560;e=c+33|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+33>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);a=EBb(32)|0;f[g>>2]=a;f[g+8>>2]=-2147483616;f[g+4>>2]=22;c=a;d=421408;e=c+22|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+22>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;a=EBb(128)|0;f[h>>2]=a;f[h+8>>2]=-2147483520;f[h+4>>2]=114;c=a;d=451594;e=c+114|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+114>>0]=0;jZa(iZa()|0,2,g,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;zQa(g)|0;if((b[g+11>>0]|0)>=0){u=i;return}GBb(f[g>>2]|0);u=i;return}function iZa(){var a=0,c=0,d=0,e=0,g=0,h=0;if(b[497336]|0){h=f[124976]|0;return h|0}if(!(DDb(497336)|0)){h=f[124976]|0;return h|0}c=EBb(108)|0;f[c+4>>2]=0;d=c+8|0;f[d>>2]=0;f[c>>2]=355524;e=c+52|0;f[e>>2]=0;f[c+56>>2]=0;a=c+48|0;g=c+12|0;h=g+36|0;do{f[g>>2]=0;g=g+4|0}while((g|0)<(h|0));f[a>>2]=e;h=c+64|0;f[h>>2]=0;f[c+68>>2]=0;f[c+60>>2]=h;h=c+76|0;f[h>>2]=0;f[c+80>>2]=0;f[c+72>>2]=h;h=c+88|0;f[h>>2]=0;f[c+92>>2]=0;f[c+84>>2]=h;h=c+100|0;f[h>>2]=0;f[c+104>>2]=0;f[c+96>>2]=h;f[124976]=c;f[d>>2]=(f[d>>2]|0)+1;h=f[124976]|0;return h|0}function jZa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;h=u;u=u+16|0;g=h;switch(c|0){case 1:{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;UBb(ck(a+48|0,d)|0,e)|0;UBb(ck(a+96|0,d)|0,g)|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);u=h;return}case 2:{f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;UBb(ck(a+60|0,d)|0,e)|0;UBb(ck(a+84|0,d)|0,g)|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);u=h;return}default:{u=h;return}}}function kZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;d=a+4|0;f[d>>2]=0;c=a+8|0;f[c>>2]=0;if(!b)return;if(b>>>0>357913941)DCb(a);e=EBb(b*12|0)|0;f[d>>2]=e;f[a>>2]=e;f[c>>2]=e+(b*12|0);a=e;do{f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=a+4;a=(f[d>>2]|0)+12|0;f[d>>2]=a;b=b+-1|0}while((b|0)!=0);return}function lZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;f[a>>2]=0;d=a+4|0;f[d>>2]=0;c=a+8|0;f[c>>2]=0;if(!b)return;if(b>>>0>357913941)DCb(a);e=EBb(b*12|0)|0;f[d>>2]=e;f[a>>2]=e;f[c>>2]=e+(b*12|0);a=e;do{f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;a=(f[d>>2]|0)+12|0;f[d>>2]=a;b=b+-1|0}while((b|0)!=0);return}function mZa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;Dxa()|0;b=f[(f[124914]|0)+84>>2]|0;f[a>>2]=0;c=a+4|0;f[c>>2]=0;d=a+8|0;f[d>>2]=0;if(!b)return;if(b>>>0>1073741823)DCb(a);e=b<<2;g=EBb(e)|0;f[a>>2]=g;b=g+(b<<2)|0;f[d>>2]=b;_Db(g|0,0,e|0)|0;f[c>>2]=b;return}function nZa(a){a=a|0;var c=0;f[a>>2]=355524;Ak(a+96|0,f[a+100>>2]|0);Ak(a+84|0,f[a+88>>2]|0);Ak(a+72|0,f[a+76>>2]|0);Ak(a+60|0,f[a+64>>2]|0);Ak(a+48|0,f[a+52>>2]|0);c=a+36|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+24|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function oZa(a){a=a|0;nZa(a);GBb(a);return}function pZa(a){a=a|0;var b=0;f[a+4>>2]=0;f[a+8>>2]=0;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]=338204;a=a+32|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;f[a+20>>2]=0;return}function qZa(a){a=a|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);return (f[124868]|0)>=(a|0)|0}function rZa(a){a=a|0;f[a>>2]=337716;f[a+4>>2]=0;f[a+8>>2]=0;return}function sZa(a,b,c){a=a|0;b=b|0;c=c|0;UBb(ck(a+72|0,b)|0,c)|0;return}function tZa(a){a=a|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;f[a>>2]=343768;n[a+136>>2]=3402823466385288598117041.0e14;n[a+140>>2]=3402823466385288598117041.0e14;n[a+144>>2]=3402823466385288598117041.0e14;n[a+148>>2]=-3402823466385288598117041.0e14;n[a+152>>2]=-3402823466385288598117041.0e14;n[a+156>>2]=-3402823466385288598117041.0e14;return}function uZa(a,b,c){a=a|0;b=b|0;c=c|0;Wxa(a,b,c);f[a>>2]=343768;n[a+136>>2]=3402823466385288598117041.0e14;n[a+140>>2]=3402823466385288598117041.0e14;n[a+144>>2]=3402823466385288598117041.0e14;n[a+148>>2]=-3402823466385288598117041.0e14;n[a+152>>2]=-3402823466385288598117041.0e14;n[a+156>>2]=-3402823466385288598117041.0e14;return}function vZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0,x=0;x=u;u=u+128|0;w=x;f3a(w);v=+n[c>>2]-+n[d>>2];t=+n[c+4>>2]-+n[d+4>>2];s=+n[c+8>>2]-+n[d+8>>2];switch(f[a+332>>2]|0){case 5:{e=+K(+(v*v+t*t+0.0));if(e>0.0){r=1.0/e;s=v*r;v=-(t*r);p[w>>3]=v;p[w+32>>3]=-s;p[w+8>>3]=s;p[w+40>>3]=v}break}case 4:{e=+K(+(v*v+0.0+s*s));if(e>0.0){r=1.0/e;t=s*r;v=v*r;p[w>>3]=v;p[w+64>>3]=-t;p[w+16>>3]=t;p[w+80>>3]=v}break}case 3:{e=+K(+(t*t+0.0+s*s));if(e>0.0){v=1.0/e;s=s*v;v=-(t*v);p[w+40>>3]=v;p[w+72>>3]=s;p[w+48>>3]=-s;p[w+80>>3]=v}break}case 2:{i3a(w,+S(+(v*+n[a+336>>2]+t*+n[a+340>>2]+s*+n[a+344>>2]),+(v*+n[a+176>>2]+t*+n[a+180>>2]+s*+n[a+184>>2])),a+164|0);break}case 1:{e=+K(+(v*v+t*t+s*s));if(e!=0.0?(g=v/e,h=t/e,i=s/e,j=+n[a+184>>2],k=+n[a+180>>2],l=h*j-i*k,m=+n[a+176>>2],o=i*m-g*j,q=g*k-h*m,r=+K(+(q*q+(l*l+o*o))),r!=0.0):0)j3a(w,-+P(+(i*j+(h*k+g*m))),l/r,o/r,q/r);break}case 0:{e=+K(+(v*v+t*t+s*s));if(e!=0.0){r=v/e;t=t/e;v=s/e;m=+p[b+8>>3];l=+p[b+40>>3];k=+p[b+72>>3];j=v*l-t*k;k=r*k-v*m;l=t*m-r*l;m=+K(+(l*l+(j*j+k*k)));c=m>0.0;m=1.0/m;l=c?l*m:l;k=c?k*m:k;j=c?j*m:j;m=t*l-v*k;o=v*j-r*l;s=r*k-t*j;q=+K(+(s*s+(m*m+o*o)));c=q>0.0;q=1.0/q;p[w>>3]=j;p[w+8>>3]=k;p[w+16>>3]=l;p[w+32>>3]=c?m*q:m;p[w+40>>3]=c?o*q:o;p[w+48>>3]=c?s*q:s;p[w+64>>3]=r;p[w+72>>3]=t;p[w+80>>3]=v;n3a(w,a+192|0)}break}case 6:{r=-t;o=+K(+(v*v+t*t));a=o>0.0;t=1.0/o;q=a?v*t:v;r=o==0.0?1.0:a?t*r:r;t=-s;s=+K(+(s*s+o*o));a=s>0.0;v=1.0/s;t=a?v*t:t;v=s==0.0?1.0:a?o*v:o;p[w>>3]=r;p[w+8>>3]=q;p[w+32>>3]=-(q*v);p[w+40>>3]=r*v;p[w+48>>3]=t;p[w+64>>3]=q*t;p[w+72>>3]=-(r*t);p[w+80>>3]=v;break}default:{}}d3a(w,d);n3a(b,w);u=x;return 1}function wZa(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;g=f[a>>2]|0;if((g|0?(b=f[g+84>>2]|0,b|0):0)?(b|0)!=(f[g+72>>2]|0):0){j=f[g+116>>2]|0;i=f[g+120>>2]|0;b=a+4|0;c=(f[b>>2]|0)+1|0;f[b>>2]=c;c=(c|0)>=(f[g+76>>2]|0);d=i;e=j;if((j|0)==(i|0)){if(c?(f[b>>2]=0,i=a+8|0,j=(f[i>>2]|0)+1|0,f[i>>2]=j,(j|0)>=(f[g+80>>2]|0)):0){f[a+16>>2]=0;f[a+20>>2]=0;return}}else if((c?(f[b>>2]=0,h=a+8|0,j=(f[h>>2]|0)+1|0,f[h>>2]=j,(j|0)>=(f[g+80>>2]|0)):0)?(f[h>>2]=0,i=a+12|0,j=(f[i>>2]|0)+1|0,f[i>>2]=j,j>>>0>=((d-e>>2)+1|0)>>>0):0){f[a+16>>2]=0;f[a+20>>2]=0;return}gJa(a);return}f[a+16>>2]=0;f[a+20>>2]=0;return}function xZa(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+16|0;d=g;e=a+40|0;if((f[e>>2]|0)==(c|0)){u=g;return}a=a+36|0;if((f[a>>2]|0)>>>0>c>>>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){h=Nu(csb(Nu(Hua(3)|0,451734,39)|0,c)|0,451774,48)|0;a=csb(h,f[a>>2]|0)|0;Drb(d,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);h=utb(d,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(d);ksb(a,h)|0;Krb(a)|0}}f[e>>2]=c;u=g;return}function yZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+40|0;c=f[d>>2]|0;if((c|0)==(b|0))return;if(!c)c=0;else{lxa(c,f[a+36>>2]|0);c=f[d>>2]|0}if((c|0)!=(b|0)){f[d>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(c|0?(e=c+8|0,b=f[e>>2]|0,f[e>>2]=b-1,(b|0)==1):0)Rua(c,1,1)}c=f[d>>2]|0;if(!c)c=0;else c=mxa(c,a)|0;f[a+36>>2]=c;return}function zZa(a,b,c){a=a|0;b=b|0;c=c|0;a=f[a+4>>2]|0;if(a|0){c=dj[f[(f[a>>2]|0)+92>>2]&255](a,b,c)|0;return c|0}if(!b)b=0;else b=_i[f[(f[b>>2]|0)+32>>2]&2047](b)|0;if(!c){c=0;return c|0}a=_i[f[(f[c>>2]|0)+40>>2]&2047](c)|0;if(!((b|0)!=0&(a|0)!=0)){c=0;return c|0}switch(f[a+16>>2]|0){case 1:{Bj[f[(f[b>>2]|0)+216>>2]&1023](b,a);c=1;return c|0}case 0:{c=1;return c|0}default:{Bj[f[(f[b>>2]|0)+220>>2]&1023](b,a);c=1;return c|0}}return 0}function AZa(a){a=a|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;f[a>>2]=340692;f[a+136>>2]=0;return}function BZa(a,c){a=a|0;c=c|0;var d=0,e=0;f[a>>2]=340996;d=a+28|0;f[d>>2]=0;f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2];f[a+12>>2]=f[c+12>>2];f[a+16>>2]=f[c+16>>2];f[a+20>>2]=f[c+20>>2];f[a+24>>2]=f[c+24>>2];e=f[c+28>>2]|0;if(e|0){f[d>>2]=e;e=e+8|0;f[e>>2]=(f[e>>2]|0)+1}p[a+32>>3]=+p[c+32>>3];b[a+40>>0]=b[c+40>>0]|0;b[a+41>>0]=b[c+41>>0]|0;f[a+44>>2]=f[c+44>>2];f[a+48>>2]=f[c+48>>2];f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];return}function CZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+624|0;c=f[d>>2]|0;if((c|0)==(b|0))return;if(!c)c=0;else{WBa(c,a);c=f[d>>2]|0}if((c|0)!=(b|0)){f[d>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(c|0?(e=c+8|0,b=f[e>>2]|0,f[e>>2]=b-1,(b|0)==1):0)Rua(c,1,1)}c=f[d>>2]|0;if(!c)return;e=c+32|0;d=EBb(12)|0;f[d+8>>2]=a;f[d+4>>2]=e;a=f[e>>2]|0;f[d>>2]=a;f[a+4>>2]=d;f[e>>2]=d;e=c+40|0;f[e>>2]=(f[e>>2]|0)+1;return}function DZa(a,b){a=a|0;b=b|0;f[a+576>>2]=b;f[a+580>>2]=((b|0)<3&1)+b;return}function EZa(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;w=u;u=u+32|0;s=w+8|0;v=w;if(!b){u=w;return}i=_i[f[(f[b>>2]|0)+172>>2]&2047](b)|0;h=_i[f[(f[b>>2]|0)+176>>2]&2047](b)|0;g=a+60|0;c=f[g>>2]|0;if(!c){u=w;return}e=g;do{d=f[c+16>>2]|0;do if((d|0)<(i|0))d=c+4|0;else{if((i|0)>=(d|0)?(f[c+20>>2]|0)>>>0<h>>>0:0){d=c+4|0;break}d=c;e=c}while(0);c=f[d>>2]|0}while((c|0)!=0);if((e|0)==(g|0)){u=w;return}c=f[e+16>>2]|0;if((i|0)<(c|0)){u=w;return}if((c|0)>=(i|0)?h>>>0<(f[e+20>>2]|0)>>>0:0){u=w;return}q=e;p=e+24|0;if((f[p>>2]|0)!=(b|0)){u=w;return}if(f[b+48>>2]|0){d=a+148|0;c=f[d>>2]|0;e=c+-1|0;if(((f[a+144>>2]|0)==0?(j=f[a+32>>2]|0,l=a+36|0,(j|0)!=(f[l>>2]|0)):0)?(k=((e|0)!=0&1)+(((c|0)!=0)<<31>>31)|0,(k|0)!=0):0){b=j;do{j=f[b>>2]|0;Bwa(j,(f[j+88>>2]|0)+k|0);b=b+4|0}while((b|0)!=(f[l>>2]|0));b=f[p>>2]|0}f[d>>2]=e}if(f[b+52>>2]|0){d=a+156|0;c=f[d>>2]|0;e=c+-1|0;if(((f[a+152>>2]|0)==0?(m=f[a+32>>2]|0,o=a+36|0,(m|0)!=(f[o>>2]|0)):0)?(n=((e|0)!=0&1)+(((c|0)!=0)<<31>>31)|0,(n|0)!=0):0){b=m;do{m=f[b>>2]|0;Cwa(m,(f[m+96>>2]|0)+n|0);b=b+4|0}while((b|0)!=(f[o>>2]|0));b=f[p>>2]|0}f[d>>2]=e}h=zwa()|0;i=(h|0)==0;if(!i)_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;c=f[b+32>>2]|0;g=b+36|0;d=f[g>>2]|0;e=d;a:do if((c|0)==(d|0)){t=c;r=37}else{b=c;do{if((f[b>>2]|0)==(a|0)){t=b;r=37;break a}b=b+4|0}while((b|0)!=(d|0))}while(0);if((r|0)==37?(t|0)!=(d|0):0){c=t+4|0;b=e-c|0;if(b|0)ZDb(t|0,c|0,b|0)|0;f[g>>2]=t+(b>>2<<2)}if(!i)_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;t=f[p>>2]|0;f[s>>2]=347364;f[s+4>>2]=a;f[s+8>>2]=8;f[s+12>>2]=0;cj[f[(f[t>>2]|0)+188>>2]&1023](t,s)|0;f[v>>2]=q;f[s>>2]=f[v>>2];GNa(a+56|0,s)|0;u=w;return}function FZa(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;g=u;u=u+16|0;e=g;if(!c){u=g;return}if(!(_i[f[(f[c>>2]|0)+180>>2]&2047](c)|0)){DNa(a,a+56|0,c,d);u=g;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,436468,28)|0;h=_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0;h=Nu(Nu(i,h,Rmb(h)|0)|0,451823,37)|0;Drb(e,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);i=utb(e,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(e);ksb(h,i)|0;Krb(h)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,451861,65)|0;Drb(e,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(e,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(e);ksb(i,h)|0;Krb(i)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,436618,60)|0;Drb(e,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(e,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(e);ksb(i,h)|0;Krb(i)|0}GZa(a,0,c,d);u=g;return}function GZa(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;m=u;u=u+16|0;g=m;if(!d){u=m;return}if(_i[f[(f[d>>2]|0)+180>>2]&2047](d)|0){k=a+80|0;l=a+84|0;g=f[l>>2]|0;h=f[k>>2]|0;i=(g-h|0)/12|0;do if(i>>>0<=c>>>0){j=c+1|0;if(j>>>0>i>>>0){EBa(k,j-i|0);break}if(j>>>0<i>>>0){h=h+(j*12|0)|0;if((h|0)!=(g|0))do{j=g;g=g+-12|0;mBa(g,f[j+-8>>2]|0)}while((g|0)!=(h|0));f[l>>2]=h}}while(0);DNa(a,(f[k>>2]|0)+(c*12|0)|0,d,e);g=WCb(d,282664,298184,0)|0;if(!g){u=m;return}Bj[f[(f[g>>2]|0)+204>>2]&1023](g,c);u=m;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=Nu(Hua(3)|0,436468,28)|0;c=_i[f[(f[d>>2]|0)+28>>2]&2047](d)|0;c=Nu(Nu(l,c,Rmb(c)|0)|0,451927,50)|0;Drb(g,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(g,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(g);ksb(c,l)|0;Krb(c)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(Hua(3)|0,451978,51)|0;Drb(g,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(g,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(g);ksb(c,l)|0;Krb(c)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){c=Nu(Hua(3)|0,436618,60)|0;Drb(g,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);l=utb(g,504576)|0;l=cj[f[(f[l>>2]|0)+28>>2]&1023](l,10)|0;vtb(g);ksb(c,l)|0;Krb(c)|0}FZa(a,d,e);u=m;return}function HZa(a){a=a|0;var b=0,c=0;b=a+120|0;c=f[b>>2]|0;if(c|0)return c|0;c=EBb(160)|0;jBa(c);_xa(a,c);c=f[b>>2]|0;return c|0}function IZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=a+288|0;c=f[g>>2]|0;if((c|0)==(b|0))return;d=a+120|0;e=f[d>>2]|0;if(!e){e=EBb(160)|0;jBa(e);_xa(a,e);e=f[d>>2]|0;c=f[g>>2]|0}a=(e|0)!=0;if(a&(c|0)!=0){EZa(e,c);c=f[g>>2]|0}if((c|0)!=(b|0)){f[g>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(c|0?(d=c+8|0,b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(c,1,1)}c=f[g>>2]|0;if(!(a&(c|0)!=0))return;FZa(e,c,0);return}function JZa(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;h=a+288|0;g=f[h>>2]|0;if(!g){g=EBb(88)|0;f[g+4>>2]=0;f[g+8>>2]=0;i=g+12|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[g+24>>2]=2;i=g+28|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;f[i+24>>2]=0;f[g>>2]=353328;i=g+56|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;p[g+72>>3]=800.0;p[g+80>>3]=600.0;IZa(a,g);g=f[h>>2]|0;if(!g)return}p[g+56>>3]=+(b|0);p[g+64>>3]=+(c|0);p[g+72>>3]=+(d|0);p[g+80>>3]=+(e|0);return}function KZa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0,g=0;f=u;u=u+128|0;g=f;f3a(g);s3a(g,b,c,d,e);p[a+304>>3]=+p[g>>3];p[a+312>>3]=+p[g+8>>3];p[a+320>>3]=+p[g+16>>3];p[a+328>>3]=+p[g+24>>3];p[a+336>>3]=+p[g+32>>3];p[a+344>>3]=+p[g+40>>3];p[a+352>>3]=+p[g+48>>3];p[a+360>>3]=+p[g+56>>3];p[a+368>>3]=+p[g+64>>3];p[a+376>>3]=+p[g+72>>3];p[a+384>>3]=+p[g+80>>3];p[a+392>>3]=+p[g+88>>3];p[a+400>>3]=+p[g+96>>3];p[a+408>>3]=+p[g+104>>3];p[a+416>>3]=+p[g+112>>3];p[a+424>>3]=+p[g+120>>3];u=f;return}function LZa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return q3a(a+304|0,b,c,d,e,f,g)|0}function MZa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return r3a(a+304|0,b,c,d,e,f,g)|0}function NZa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return t3a(a+304|0,b,c,d,e)|0}function OZa(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;n=h&1;p=a+584|0;o=a+588|0;h=f[o>>2]|0;do if(h){l=a+588|0;while(1){k=f[h+16>>2]|0;if((k|0)>(c|0)){k=f[h>>2]|0;if(!k){m=5;break}}else{if((k|0)>=(c|0)){m=9;break}l=h+4|0;k=f[l>>2]|0;if(!k){m=8;break}else h=l}l=h;h=k}if((m|0)==5){k=h;l=h;break}else if((m|0)==8){k=h;break}else if((m|0)==9){k=h;break}}else{k=o;l=o}while(0);h=f[l>>2]|0;if(!h){h=EBb(52)|0;f[h+16>>2]=c;m=h+20|0;f[h+44>>2]=0;f[h+48>>2]=0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;b[m+20>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=k;f[l>>2]=h;k=f[f[p>>2]>>2]|0;if(!k)k=h;else{f[p>>2]=k;k=f[l>>2]|0}Xo(f[a+588>>2]|0,k);m=a+592|0;f[m>>2]=(f[m>>2]|0)+1}h=h+28|0;k=f[h>>2]|0;if((k|0)!=(d|0)){f[h>>2]=d;if(d|0){m=d+8|0;f[m>>2]=(f[m>>2]|0)+1}if(k|0?(d=k+8|0,m=f[d>>2]|0,f[d>>2]=m-1,(m|0)==1):0)Rua(k,1,1)}h=f[o>>2]|0;do if(h){d=a+588|0;k=h;while(1){l=f[k+16>>2]|0;if((l|0)>(c|0)){l=f[k>>2]|0;if(!l){m=26;break}else{d=k;k=l}}else{if((l|0)>=(c|0)){m=30;break}d=k+4|0;l=f[d>>2]|0;if(!l){m=29;break}else k=l}}if((m|0)==26){l=k;d=k;break}else if((m|0)==29){l=k;break}else if((m|0)==30){l=k;break}}else{l=o;d=o}while(0);k=f[d>>2]|0;if(!k){k=EBb(52)|0;f[k+16>>2]=c;h=k+20|0;f[k+44>>2]=0;f[k+48>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;b[h+20>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=l;f[d>>2]=k;h=f[f[p>>2]>>2]|0;if(!h)h=k;else{f[p>>2]=h;h=f[d>>2]|0}Xo(f[a+588>>2]|0,h);h=a+592|0;f[h>>2]=(f[h>>2]|0)+1;h=f[o>>2]|0}f[k+32>>2]=e;do if(h){d=a+588|0;k=h;while(1){l=f[k+16>>2]|0;if((l|0)>(c|0)){l=f[k>>2]|0;if(!l){m=41;break}else{d=k;k=l}}else{if((l|0)>=(c|0)){m=45;break}d=k+4|0;l=f[d>>2]|0;if(!l){m=44;break}else k=l}}if((m|0)==41){l=k;d=k;break}else if((m|0)==44){l=k;break}else if((m|0)==45){l=k;break}}else{l=o;d=o}while(0);k=f[d>>2]|0;if(!k){k=EBb(52)|0;f[k+16>>2]=c;h=k+20|0;f[k+44>>2]=0;f[k+48>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;b[h+20>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=l;f[d>>2]=k;h=f[f[p>>2]>>2]|0;if(!h)h=k;else{f[p>>2]=h;h=f[d>>2]|0}Xo(f[a+588>>2]|0,h);h=a+592|0;f[h>>2]=(f[h>>2]|0)+1;h=f[o>>2]|0}f[k+36>>2]=g;do if(h){d=a+588|0;k=h;while(1){l=f[k+16>>2]|0;if((l|0)>(c|0)){l=f[k>>2]|0;if(!l){m=56;break}else{d=k;k=l}}else{if((l|0)>=(c|0)){m=60;break}d=k+4|0;l=f[d>>2]|0;if(!l){m=59;break}else k=l}}if((m|0)==56){l=k;d=k;break}else if((m|0)==59){l=k;break}else if((m|0)==60){l=k;break}}else{l=o;d=o}while(0);k=f[d>>2]|0;if(!k){k=EBb(52)|0;f[k+16>>2]=c;h=k+20|0;f[k+44>>2]=0;f[k+48>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;b[h+20>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=l;f[d>>2]=k;h=f[f[p>>2]>>2]|0;if(!h)h=k;else{f[p>>2]=h;h=f[d>>2]|0}Xo(f[a+588>>2]|0,h);h=a+592|0;f[h>>2]=(f[h>>2]|0)+1;h=f[o>>2]|0}b[k+40>>0]=n;do if(h){d=a+588|0;k=h;while(1){l=f[k+16>>2]|0;if((l|0)>(c|0)){l=f[k>>2]|0;if(!l){m=71;break}else{d=k;k=l}}else{if((l|0)>=(c|0)){m=75;break}d=k+4|0;l=f[d>>2]|0;if(!l){m=74;break}else k=l}}if((m|0)==71){l=k;d=k;break}else if((m|0)==74){l=k;break}else if((m|0)==75){l=k;break}}else{l=o;d=o}while(0);k=f[d>>2]|0;if(!k){k=EBb(52)|0;f[k+16>>2]=c;h=k+20|0;f[k+44>>2]=0;f[k+48>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;b[h+20>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=l;f[d>>2]=k;h=f[f[p>>2]>>2]|0;if(!h)h=k;else{f[p>>2]=h;h=f[d>>2]|0}Xo(f[a+588>>2]|0,h);h=a+592|0;f[h>>2]=(f[h>>2]|0)+1;h=f[o>>2]|0}f[k+44>>2]=i;do if(h){l=a+588|0;while(1){k=f[h+16>>2]|0;if((k|0)>(c|0)){k=f[h>>2]|0;if(!k){m=86;break}else{l=h;h=k}}else{if((k|0)>=(c|0)){m=90;break}l=h+4|0;k=f[l>>2]|0;if(!k){m=89;break}else h=k}}if((m|0)==86){d=h;l=h;break}else if((m|0)==89){d=h;break}else if((m|0)==90){d=h;break}}else{d=o;l=o}while(0);h=f[l>>2]|0;if(h|0){a=h;a=a+48|0;f[a>>2]=j;return}k=EBb(52)|0;f[k+16>>2]=c;h=k+20|0;f[k+44>>2]=0;f[k+48>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;b[h+20>>0]=0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=d;f[l>>2]=k;h=f[f[p>>2]>>2]|0;if(!h)h=k;else{f[p>>2]=h;h=f[l>>2]|0}Xo(f[a+588>>2]|0,h);a=a+592|0;f[a>>2]=(f[a>>2]|0)+1;a=k;a=a+48|0;f[a>>2]=j;return}function PZa(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+608|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+620>>2]|0;if(!c){u=i;return}g4a(c+12|0,b)|0;u=i;return}function QZa(a){a=a|0;var b=0;if(f[a+620>>2]|0)return;b=EBb(52)|0;RZa(b);VBa(a,b);return}function RZa(a){a=a|0;var b=0;f[a>>2]=337716;f[a+4>>2]=0;f[a+8>>2]=0;b=a+12|0;X3a(b);f[a>>2]=345060;f[b>>2]=345088;f[a+20>>2]=0;f[a+24>>2]=0;f[a+28>>2]=0;t4a(a+32|0,0);f[a+44>>2]=0;f[a+48>>2]=0;b=EBb(56)|0;SZa(b);TZa(a,b);return}function SZa(a){a=a|0;var c=0,d=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=347388;t4a(a+12|0,0);d=a+24|0;f[d>>2]=0;c=a+28|0;f[c>>2]=c;f[a+32>>2]=c;f[a+36>>2]=0;f[a+48>>2]=0;f[a+52>>2]=0;f[a+44>>2]=a+48;f[a+40>>2]=c;a=EBb(40)|0;c=a+28|0;f[c>>2]=337716;f[a+32>>2]=0;f[a+36>>2]=0;t4a(a+4|0,0);s4a(a+16|0);b[a+24>>0]=0;f[a>>2]=325944;f[c>>2]=325968;c=f[d>>2]|0;if((c|0)==(a|0))return;f[d>>2]=a;d=a+36|0;f[d>>2]=(f[d>>2]|0)+1;if(!c)return;a=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;c=a+8|0;d=f[c>>2]|0;f[c>>2]=d-1;if((d|0)!=1)return;Rua(a,1,1);return}function TZa(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;k=a+32|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;j=a+44|0;c=f[j>>2]|0;if((c|0)==(b|0)){a=f[k>>2]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](k)|0;return}if(c){h=c+44|0;e=c+48|0;i=f[e>>2]|0;if(i){g=e;d=i;do{l=(f[d+16>>2]|0)>>>0<a>>>0;g=l?g:d;d=f[(l?d+4|0:d)>>2]|0}while((d|0)!=0);if((g|0)!=(e|0)?(f[g+16>>2]|0)>>>0<=a>>>0:0){d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{l=f[e>>2]|0;e=l+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(l|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((f[h>>2]|0)==(g|0))f[h>>2]=d;c=c+52|0;f[c>>2]=(f[c>>2]|0)+-1;Zq(i,g);GBb(g);c=f[j>>2]|0}}}else c=0;if((c|0)!=(b|0)){f[j>>2]=b;if(b|0){l=b+8|0;f[l>>2]=(f[l>>2]|0)+1}if(c|0?(b=c+8|0,l=f[b>>2]|0,f[b>>2]=l-1,(l|0)==1):0)Rua(c,1,1)}b=f[j>>2]|0;if(!b){l=f[k>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](k)|0;return}h=a;i=b+44|0;d=b+48|0;c=f[d>>2]|0;do if(c){e=b+48|0;while(1){d=f[c+16>>2]|0;if(d>>>0>a>>>0){d=f[c>>2]|0;if(!d){d=29;break}else{e=c;c=d}}else{if(d>>>0>=a>>>0){d=33;break}e=c+4|0;d=f[e>>2]|0;if(!d){d=32;break}else c=d}}if((d|0)==29){g=c;e=c;break}else if((d|0)==32){g=c;break}else if((d|0)==33){g=c;break}}else{g=d;e=d}while(0);if(f[e>>2]|0){l=f[k>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](k)|0;return}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[b+48>>2]|0,c);l=b+52|0;f[l>>2]=(f[l>>2]|0)+1;l=f[k>>2]|0;l=l+12|0;l=f[l>>2]|0;_i[l&2047](k)|0;return}function UZa(a){a=a|0;var b=0;f[a+4>>2]=0;f[a+8>>2]=0;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;b=a+32|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[a>>2]=341216;f[a+56>>2]=16843009;return}function VZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=f[b>>2]|0;f[a>>2]=e;f[a+(f[e+-12>>2]|0)>>2]=f[b+4>>2];f[a+12>>2]=0;b=a+28|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;f[a+4>>2]=c;f[a+8>>2]=-1;f[a+16>>2]=d;f[a+20>>2]=-1;f[a+24>>2]=0;return}function WZa(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,s=0,t=0,v=0,w=0;w=u;u=u+16|0;p=w+12|0;o=w+8|0;q=w+4|0;r=w;t=a+384|0;v=a+392|0;b=f[v>>2]|0;if(!b){u=w;return}e=f[t>>2]|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{s=f[d>>2]|0;d=s+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(s|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}s=a+388|0;if((c|0)!=(s|0)){n=a+388|0;b=c;c=e;while(1){k=b+84|0;a:do if((c|0)!=(b|0)){l=b+72|0;m=b+88|0;while(1){j=c+16|0;if(XZa(j,l)|0)break;d=f[m>>2]|0;i=f[k>>2]|0;g=i;if((d|0)==(i|0)){e=0;h=0}else{d=0;i=0;while(1){if(XZa(j,g+(i*48|0)+36|0)|0)e=d;else{if(d>>>0<i>>>0){h=f[k>>2]|0;f[h+(d*48|0)>>2]=f[h+(i*48|0)>>2];xC(h+(d*48|0)+4|0,f[h+(i*48|0)+4>>2]|0,f[h+(i*48|0)+8>>2]|0);f[h+(d*48|0)+16>>2]=f[h+(i*48|0)+16>>2];f[h+(d*48|0)+20>>2]=f[h+(i*48|0)+20>>2];YDa(h+(d*48|0)+24|0,f[h+(i*48|0)+24>>2]|0,f[h+(i*48|0)+28>>2]|0);fK(h+(d*48|0)+36|0,f[h+(i*48|0)+36>>2]|0,f[h+(i*48|0)+40>>2]|0)}e=d+1|0}i=i+1|0;d=f[m>>2]|0;g=f[k>>2]|0;h=(d-g|0)/48|0;if(i>>>0>=h>>>0)break;else d=e}}if(e>>>0<h>>>0){f[q>>2]=g+(e*48|0);f[r>>2]=d;f[o>>2]=f[q>>2];f[p>>2]=f[r>>2];YZa(k,o,p)|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{j=f[d>>2]|0;d=j+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(j|0))}else{c=d;while(1){d=f[c>>2]|0;if(!d)break;else c=d}}if((c|0)==(b|0)){c=b;break a}}c=f[b>>2]|0;if(!c){c=b;do{m=c;c=f[c+8>>2]|0}while((f[c>>2]|0)==(m|0))}else while(1){d=f[c+4>>2]|0;if(!d)break;else c=d}d=f[b+4>>2]|0;if(!d){e=b+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(b|0))do{m=f[e>>2]|0;e=m+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(m|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((f[t>>2]|0)==(b|0))f[t>>2]=d;f[v>>2]=(f[v>>2]|0)+-1;Zq(f[n>>2]|0,b);qN(b+16|0);GBb(b)}while(0);b=f[c+4>>2]|0;if(!b){d=c+8|0;b=f[d>>2]|0;if((f[b>>2]|0)!=(c|0)){c=d;do{m=f[c>>2]|0;c=m+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(m|0))}}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(s|0))break;c=f[t>>2]|0}b=f[v>>2]|0}g=f[a+376>>2]|0;if(b>>>0<=g>>>0){u=w;return}b=f[t>>2]|0;if(g){e=0;do{d=b;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{r=f[c>>2]|0;c=r+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(r|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}e=e+1|0}while((e|0)!=(g|0))}if((s|0)==(b|0)){u=w;return}e=a+388|0;while(1){c=f[b+4>>2]|0;if(!c){d=b+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(b|0))do{a=f[d>>2]|0;d=a+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(a|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((f[t>>2]|0)==(b|0))f[t>>2]=c;f[v>>2]=(f[v>>2]|0)+-1;Zq(f[e>>2]|0,b);qN(b+16|0);GBb(b);if((c|0)==(s|0))break;else b=c}u=w;return}function XZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0,r=0,s=0,t=0,v=0,w=0;w=u;u=u+16|0;v=w;e=f[a+20>>2]|0;if(!e){v=0;u=w;return v|0}s=a+40|0;f[s>>2]=e;c=f[a+44>>2]|0;t=f[a+48>>2]|0;a:do if((c|0)!=(t|0)){q=f[b>>2]|0;r=f[b+4>>2]|0;if((q|0)==(r|0)){d=1;while(1){if(d&e|0){c=0;break}c=c+40|0;if((c|0)==(t|0))break a;else d=d<<1}u=w;return c|0}i=1;d=e;while(1){if(i&d){k=+p[c>>3];l=+p[c+8>>3];m=+p[c+16>>3];o=+p[c+24>>3];e=0;g=0;h=q;do{j=o+(k*+n[h>>2]+l*+n[h+4>>2]+m*+n[h+8>>2]);if(!(j>0.0)){if(j<0.0)e=e+1|0}else g=g+1|0;h=h+12|0}while((h|0)!=(r|0));if((g|0)<1|(e|0)>0){c=0;break}d=i^d;f[s>>2]=d}c=c+40|0;if((c|0)==(t|0))break a;else i=i<<1}u=w;return c|0}while(0);c=f[a+68>>2]|0;g=a+72|0;if((c|0)==(f[g>>2]|0)){v=1;u=w;return v|0}h=v+4|0;i=v+8|0;while(1){f[v>>2]=0;f[h>>2]=0;f[i>>2]=0;d=(DDa(c+24|0,b,v)|0)>>>0<3;e=f[v>>2]|0;if(e|0){f[h>>2]=e;GBb(e)}c=c+48|0;if(!d){c=0;d=24;break}if((c|0)==(f[g>>2]|0)){c=1;d=24;break}}if((d|0)==24){u=w;return c|0}return 0}function YZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=f[a>>2]|0;d=f[b>>2]|0;e=e+(((d-e|0)/48|0)*48|0)|0;b=f[c>>2]|0;if((b|0)==(d|0))return e|0;b=e+(((b-d|0)/48|0)*48|0)|0;a=a+4|0;d=f[a>>2]|0;if((b|0)==(d|0))c=e;else{c=e;do{if((b|0)!=(c|0)){f[c>>2]=f[b>>2];xC(c+4|0,f[b+4>>2]|0,f[b+8>>2]|0);f[c+16>>2]=f[b+16>>2];f[c+20>>2]=f[b+20>>2];YDa(c+24|0,f[b+24>>2]|0,f[b+28>>2]|0);fK(c+36|0,f[b+36>>2]|0,f[b+40>>2]|0)}b=b+48|0;c=c+48|0}while((b|0)!=(d|0));b=f[a>>2]|0}if((b|0)!=(c|0))do{d=f[b+-12>>2]|0;if(d|0){f[b+-8>>2]=d;GBb(d)}d=f[b+-24>>2]|0;if(d|0){f[b+-20>>2]=d;GBb(d)}d=f[b+-44>>2]|0;if(d|0){f[b+-40>>2]=d;GBb(d)}b=b+-48|0}while((b|0)!=(c|0));f[a>>2]=c;return e|0}function ZZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=f[b>>2]|0;f[a>>2]=d;f[a+(f[d+-12>>2]|0)>>2]=f[b+4>>2];f[a+12>>2]=0;b=a+28|0;f[a+4>>2]=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;f[a+8>>2]=-1;f[a+16>>2]=c;f[a+20>>2]=-1;f[a+24>>2]=0;return}function _Za(a,b){a=a|0;b=b|0;var c=0;f[a+96>>2]=0;f[a+100>>2]=0;c=a+104|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+116>>2]=2;f[a+120>>2]=0;f[a+12>>2]=0;c=a+28|0;f[a+4>>2]=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[c+24>>2]=0;f[a+8>>2]=-1;f[a+16>>2]=b;f[a+20>>2]=-1;f[a+24>>2]=0;f[a>>2]=342076;f[a+92>>2]=342444;f[a+56>>2]=0;f[a+60>>2]=0;f[a+64>>2]=0;n[a+68>>2]=3402823466385288598117041.0e14;n[a+72>>2]=3402823466385288598117041.0e14;n[a+76>>2]=3402823466385288598117041.0e14;n[a+80>>2]=-3402823466385288598117041.0e14;n[a+84>>2]=-3402823466385288598117041.0e14;n[a+88>>2]=-3402823466385288598117041.0e14;return}function $Za(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+16|0;l=m;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;a=f[124930]|0;a:do if((a|0)!=499724){d=a;while(1){g=d+20|0;a=f[g>>2]|0;if(!a)break;if(!(f[a+28>>2]|0))break;a=f[d+4>>2]|0;if(!a){c=d+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(d|0))do{k=f[c>>2]|0;c=k+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(k|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==499724)break a;else d=a}e=EBb(48)|0;d=d+16|0;a=f[d>>2]|0;c=EBb(16)|0;f[l>>2]=c;f[l+8>>2]=-2147483632;f[l+4>>2]=11;h=c;i=428703;j=h+11|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[c+11>>0]=0;dAa(e,l,a);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);f[e>>2]=340304;f[e+28>>2]=0;f[e+32>>2]=0;a=e+40|0;f[a>>2]=0;f[e+44>>2]=0;f[e+36>>2]=a;a=f[g>>2]|0;if(((a|0)!=(e|0)?(f[g>>2]=e,k=e+8|0,f[k>>2]=(f[k>>2]|0)+1,a|0):0)?(j=a+8|0,k=f[j>>2]|0,f[j>>2]=k-1,(k|0)==1):0)Rua(a,1,1);f[(f[g>>2]|0)+28>>2]=1;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){k=Nu(Hua(4)|0,452030,54)|0;k=csb(k,f[d>>2]|0)|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}l=f[d>>2]|0;k=f[124939]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](499756)|0;u=m;return l|0}while(0);k=f[124932]|0;g=EBb(48)|0;a=EBb(16)|0;f[l>>2]=a;f[l+8>>2]=-2147483632;f[l+4>>2]=11;h=a;i=428703;j=h+11|0;do{b[h>>0]=b[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0));b[a+11>>0]=0;dAa(g,l,k);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);f[g>>2]=340304;f[g+28>>2]=0;f[g+32>>2]=0;a=g+40|0;f[a>>2]=0;f[g+44>>2]=0;f[g+36>>2]=a;a=f[124931]|0;do if(a){d=499724;while(1){c=f[a+16>>2]|0;if(k>>>0<c>>>0){c=f[a>>2]|0;if(!c){e=31;break}}else{if(c>>>0>=k>>>0){e=35;break}d=a+4|0;c=f[d>>2]|0;if(!c){e=34;break}else a=d}d=a;a=c}if((e|0)==31){c=a;d=a;break}else if((e|0)==34){c=a;break}else if((e|0)==35){c=a;break}}else{c=499724;d=499724}while(0);a=f[d>>2]|0;if(!a){a=EBb(24)|0;f[a+16>>2]=k;f[a+20>>2]=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=c;f[d>>2]=a;c=f[f[124930]>>2]|0;if(!c)c=a;else{f[124930]=c;c=f[d>>2]|0}Xo(f[124931]|0,c);f[124932]=(f[124932]|0)+1}a=a+20|0;c=f[a>>2]|0;if(((c|0)!=(g|0)?(f[a>>2]=g,j=g+8|0,f[j>>2]=(f[j>>2]|0)+1,c|0):0)?(i=c+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(c,1,1);a=f[124931]|0;do if(a){d=499724;while(1){c=f[a+16>>2]|0;if(k>>>0<c>>>0){c=f[a>>2]|0;if(!c){e=49;break}}else{if(c>>>0>=k>>>0){e=53;break}d=a+4|0;c=f[d>>2]|0;if(!c){e=52;break}else a=d}d=a;a=c}if((e|0)==49){c=a;d=a;break}else if((e|0)==52){c=a;break}else if((e|0)==53){c=a;break}}else{c=499724;d=499724}while(0);a=f[d>>2]|0;if(!a){a=EBb(24)|0;f[a+16>>2]=k;f[a+20>>2]=0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=c;f[d>>2]=a;c=f[f[124930]>>2]|0;if(!c)c=a;else{f[124930]=c;c=f[d>>2]|0}Xo(f[124931]|0,c);f[124932]=(f[124932]|0)+1}f[(f[a+20>>2]|0)+28>>2]=1;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){j=csb(Nu(Hua(4)|0,452085,53)|0,k)|0;Drb(l,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(l,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(l);ksb(j,i)|0;Krb(j)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){j=csb(Nu(Hua(4)|0,452139,44)|0,k+1|0)|0;Drb(l,j+(f[(f[j>>2]|0)+-12>>2]|0)|0);i=utb(l,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(l);ksb(j,i)|0;Krb(j)|0}Dxa()|0;f[(f[124914]|0)+84>>2]=k+1;l=k;k=f[124939]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](499756)|0;u=m;return l|0}function a_a(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;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;c=f[124931]|0;do if(c){e=499724;while(1){d=f[c+16>>2]|0;if(d>>>0>a>>>0){d=f[c>>2]|0;if(!d){h=5;break}}else{if(d>>>0>=a>>>0){h=9;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=8;break}else c=e}e=c;c=d}if((h|0)==5){d=c;e=c;break}else if((h|0)==8){d=c;break}else if((h|0)==9){d=c;break}}else{d=499724;e=499724}while(0);c=f[e>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=a;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[124930]>>2]|0;if(!d)d=c;else{f[124930]=d;d=f[e>>2]|0}Xo(f[124931]|0,d);f[124932]=(f[124932]|0)+1}if(!(f[c+20>>2]|0)){i=EBb(48)|0;c=EBb(16)|0;f[j>>2]=c;f[j+8>>2]=-2147483632;f[j+4>>2]=11;d=c;e=428703;g=d+11|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+11>>0]=0;dAa(i,j,a);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);f[i>>2]=340304;f[i+28>>2]=0;f[i+32>>2]=0;c=i+40|0;f[c>>2]=0;f[i+44>>2]=0;f[i+36>>2]=c;c=f[124931]|0;do if(c){e=499724;while(1){d=f[c+16>>2]|0;if(d>>>0>a>>>0){d=f[c>>2]|0;if(!d){h=22;break}}else{if(d>>>0>=a>>>0){h=26;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=25;break}else c=e}e=c;c=d}if((h|0)==22){d=c;e=c;break}else if((h|0)==25){d=c;break}else if((h|0)==26){d=c;break}}else{d=499724;e=499724}while(0);c=f[e>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=a;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[124930]>>2]|0;if(!d)d=c;else{f[124930]=d;d=f[e>>2]|0}Xo(f[124931]|0,d);f[124932]=(f[124932]|0)+1}c=c+20|0;d=f[c>>2]|0;if(((d|0)!=(i|0)?(f[c>>2]=i,i=i+8|0,f[i>>2]=(f[i>>2]|0)+1,d|0):0)?(h=d+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(d,1,1)}c=f[124931]|0;do if(c){e=499724;while(1){d=f[c+16>>2]|0;if(d>>>0>a>>>0){d=f[c>>2]|0;if(!d){h=40;break}}else{if(d>>>0>=a>>>0){h=44;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=43;break}else c=e}e=c;c=d}if((h|0)==40){d=c;e=c;break}else if((h|0)==43){d=c;break}else if((h|0)==44){d=c;break}}else{d=499724;e=499724}while(0);c=f[e>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=a;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[124930]>>2]|0;if(!d)d=c;else{f[124930]=d;d=f[e>>2]|0}Xo(f[124931]|0,d);f[124932]=(f[124932]|0)+1}i=(f[c+20>>2]|0)+28|0;f[i>>2]=(f[i>>2]|0)+1;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){j=f[124939]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](499756)|0;u=k;return}g=Nu(csb(Nu(Hua(3)|0,452184,42)|0,a)|0,452227,5)|0;c=f[124931]|0;do if(c){e=499724;while(1){d=f[c+16>>2]|0;if(d>>>0>a>>>0){d=f[c>>2]|0;if(!d){h=58;break}}else{if(d>>>0>=a>>>0){h=62;break}e=c+4|0;d=f[e>>2]|0;if(!d){h=61;break}else c=e}e=c;c=d}if((h|0)==58){d=c;e=c;break}else if((h|0)==61){d=c;break}else if((h|0)==62){d=c;break}}else{d=499724;e=499724}while(0);c=f[e>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=a;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=d;f[e>>2]=c;d=f[f[124930]>>2]|0;if(!d)d=c;else{f[124930]=d;d=f[e>>2]|0}Xo(f[124931]|0,d);f[124932]=(f[124932]|0)+1}a=csb(g,f[(f[c+20>>2]|0)+28>>2]|0)|0;Drb(j,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(j,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(j);ksb(a,i)|0;Krb(a)|0;j=f[124939]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](499756)|0;u=k;return}function b_a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+16|0;c=i+4|0;h=i;f[h>>2]=a;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){e=Nu(Hua(4)|0,452233,37)|0;e=jsb(e,f[h>>2]|0)|0;Drb(c,e+(f[(f[e>>2]|0)+-12>>2]|0)|0);d=utb(c,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(c);ksb(e,d)|0;Krb(e)|0}d=f[h>>2]|0;if(!d){u=i;return}_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;c=f[124942]|0;a=f[124943]|0;e=a;a:do if((c|0)==(a|0)){d=c;g=11}else do{if((f[c>>2]|0)==(d|0)){d=c;g=11;break a}c=c+4|0}while((c|0)!=(a|0));while(0);if((g|0)==11)if((d|0)!=(a|0)){c=d+4|0;a=e-c|0;if(a|0)ZDb(d|0,c|0,a|0)|0;a=d+(a>>2<<2)|0;f[124943]=a}if((a|0)==(f[124944]|0))Dv(499768,h);else{f[a>>2]=f[h>>2];f[124943]=(f[124943]|0)+4}_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;u=i;return}function c_a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+16|0;h=k;f[a>>2]=0;i=a+4|0;f[i>>2]=0;j=a+8|0;f[j>>2]=0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;d=f[124942]|0;if((d|0)!=(f[124943]|0))do{e=f[d>>2]|0;f[h>>2]=e;g=f[e+48>>2]|0;do if(g|0?(f[g+124>>2]|0)==(c|0):0){g=f[i>>2]|0;if((g|0)==(f[j>>2]|0)){Dv(a,h);break}else{f[g>>2]=e;f[i>>2]=(f[i>>2]|0)+4;break}}while(0);d=d+4|0}while((d|0)!=(f[124943]|0));if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){j=f[124939]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](499756)|0;u=k;return}j=Nu(csb(Nu(Hua(4)|0,452271,43)|0,c)|0,452315,17)|0;j=esb(j,(f[i>>2]|0)-(f[a>>2]|0)>>2)|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;j=f[124939]|0;j=j+12|0;j=f[j>>2]|0;_i[j&2047](499756)|0;u=k;return}function d_a(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,p=0,q=0,r=0,s=0;p=u;u=u+16|0;n=p+12|0;o=p;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){m=Nu(Hua(3)|0,452333,34)|0;Drb(n,m+(f[(f[m>>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(m,l)|0;Krb(m)|0}_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;c=f[124931]|0;do if(c){g=499724;while(1){e=f[c+16>>2]|0;if(e>>>0>a>>>0){e=f[c>>2]|0;if(!e){i=10;break}}else{if(e>>>0>=a>>>0){i=14;break}g=c+4|0;e=f[g>>2]|0;if(!e){i=13;break}else c=g}g=c;c=e}if((i|0)==10){e=c;g=c;break}else if((i|0)==13){e=c;break}else if((i|0)==14){e=c;break}}else{e=499724;g=499724}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=a;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[124930]>>2]|0;if(!e)e=c;else{f[124930]=e;e=f[g>>2]|0}Xo(f[124931]|0,e);f[124932]=(f[124932]|0)+1}if(!(f[(f[c+20>>2]|0)+32>>2]|0)){c=0;e=1}else{c=f[124931]|0;do if(c){g=499724;while(1){e=f[c+16>>2]|0;if(e>>>0>a>>>0){e=f[c>>2]|0;if(!e){i=25;break}}else{if(e>>>0>=a>>>0){i=29;break}g=c+4|0;e=f[g>>2]|0;if(!e){i=28;break}else c=g}g=c;c=e}if((i|0)==25){e=c;g=c;break}else if((i|0)==28){e=c;break}else if((i|0)==29){e=c;break}}else{e=499724;g=499724}while(0);c=f[g>>2]|0;if(!c){c=EBb(24)|0;f[c+16>>2]=a;f[c+20>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=e;f[g>>2]=c;e=f[f[124930]>>2]|0;if(!e)e=c;else{f[124930]=e;e=f[g>>2]|0}Xo(f[124931]|0,e);f[124932]=(f[124932]|0)+1}c=f[(f[c+20>>2]|0)+32>>2]|0;e=0}_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;if(!e){o=c;u=p;return o|0}c_a(o,a);e=f[o>>2]|0;m=o+4|0;if((e|0)==(f[m>>2]|0))c=0;else{k=f[e>>2]|0;c=f[k+44>>2]|0;l=EBb(200)|0;f[l+4>>2]=0;f[l+8>>2]=0;e=l+12|0;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[l>>2]=355544;g=l+32|0;h=l+73|0;i=g;j=i+40|0;do{f[i>>2]=0;i=i+4|0}while((i|0)<(j|0));b[g+40>>0]=0;b[h>>0]=1;q=l+76|0;f[q>>2]=8;h=l+80|0;f[h>>2]=8;g=l+84|0;f[g>>2]=8;i=l+88|0;f[i>>2]=0;j=l+92|0;f[j>>2]=24;r=l+96|0;s=l+112|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;d[r+12>>1]=0;b[r+14>>0]=0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[s+12>>2]=0;f[s+16>>2]=0;b[l+132>>0]=1;b[l+133>>0]=0;f[l+136>>2]=0;f[l+140>>2]=0;b[l+144>>0]=0;b[l+145>>0]=1;s=l+148|0;r=l+152|0;f[r>>2]=0;f[r+4>>2]=50331648;b[s>>0]=b[410783]|0;b[s+1>>0]=b[410784]|0;b[s+2>>0]=b[410785]|0;b[l+151>>0]=0;s=l+160|0;f[l+184>>2]=0;r=l+192|0;f[r>>2]=0;f[l+196>>2]=0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[s+12>>2]=0;f[s+16>>2]=0;d[s+20>>1]=0;f[l+188>>2]=r;f[l+28>>2]=f[c+28>>2];f[l+24>>2]=f[c+24>>2];UBb(e,c+12|0)|0;f[l+40>>2]=100;f[l+44>>2]=100;f[q>>2]=f[c+76>>2];f[g>>2]=f[c+84>>2];f[h>>2]=f[c+80>>2];f[i>>2]=f[c+88>>2];f[j>>2]=f[c+92>>2];e=l+168|0;if(!k)c=0;else c=cCa(k)|0;g=f[e>>2]|0;if((g|0)!=(c|0)){f[e>>2]=c;if(c|0){s=c+8|0;f[s>>2]=(f[s>>2]|0)+1}if(g|0?(r=g+8|0,s=f[r>>2]|0,f[r>>2]=s-1,(s|0)==1):0)Rua(g,1,1);c=f[e>>2]|0}if(!c)c=0;else c=(f[c+24>>2]|0)==0?0:k;f[l+172>>2]=c;b[l+108>>0]=1;c=e_a(l)|0;do if(!c)c=0;else{j=c+8|0;f[j>>2]=(f[j>>2]|0)+1;if(!(_i[f[(f[c>>2]|0)+176>>2]&2047](c)|0)){s=f[j>>2]|0;f[j>>2]=s-1;if((s|0)!=1){c=0;break}Rua(c,1,1);c=0;break}_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;e=f[124931]|0;do if(e){h=499724;while(1){g=f[e+16>>2]|0;if(g>>>0>a>>>0){g=f[e>>2]|0;if(!g){i=55;break}}else{if(g>>>0>=a>>>0){i=59;break}h=e+4|0;g=f[h>>2]|0;if(!g){i=58;break}else e=h}h=e;e=g}if((i|0)==55){g=e;h=e;break}else if((i|0)==58){g=e;break}else if((i|0)==59){g=e;break}}else{g=499724;h=499724}while(0);e=f[h>>2]|0;if(!e){e=EBb(24)|0;f[e+16>>2]=a;f[e+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[124930]>>2]|0;if(!g)g=e;else{f[124930]=g;g=f[h>>2]|0}Xo(f[124931]|0,g);f[124932]=(f[124932]|0)+1}e=(f[e+20>>2]|0)+32|0;g=f[e>>2]|0;if(((g|0)!=(c|0)?(f[e>>2]=c,f[j>>2]=(f[j>>2]|0)+1,g|0):0)?(r=g+8|0,s=f[r>>2]|0,f[r>>2]=s-1,(s|0)==1):0)Rua(g,1,1);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){s=Nu(Hua(3)|0,452368,47)|0;Drb(n,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(n,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(n);ksb(s,r)|0;Krb(s)|0}f[j>>2]=(f[j>>2]|0)-1;_i[f[(f[124939]|0)+12>>2]&2047](499756)|0}while(0);e=f[o>>2]|0}if(e|0){f[m>>2]=e;GBb(e)}s=c;u=p;return s|0}function e_a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=u;u=u+16|0;c=h;d=(a|0)!=0;if(d)OBb(c,a+48|0);else{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0}g=f_a(c)|0;e=(g|0)==0;if(!e){i=g+8|0;f[i>>2]=(f[i>>2]|0)+1}if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);if(e){i=0;u=h;return i|0}if(d){c=a+24|0;if((f[c>>2]|0)<0)f[c>>2]=0;c=a+28|0;if((f[c>>2]|0)<0)f[c>>2]=0}c=cj[f[(f[g>>2]|0)+36>>2]&1023](g,a)|0;a=g+8|0;i=f[a>>2]|0;f[a>>2]=i-1;if((i|0)!=1){i=c;u=h;return i|0}Rua(g,1,1);i=c;u=h;return i|0}function f_a(a){a=a|0;var c=0,d=0;if((b[497328]|0)==0?DDb(497328)|0:0){d=EBb(24)|0;f[d+4>>2]=0;c=d+8|0;f[c>>2]=0;f[d>>2]=344720;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[124972]=d;f[c>>2]=(f[c>>2]|0)+1}return g_a(f[124972]|0,a)|0}function g_a(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;r=u;u=u+16|0;q=r;d=f[a+12>>2]|0;n=a+16|0;if((d|0)==(f[n>>2]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){q=0;u=r;return q|0}c=Nu(Hua(2)|0,452416,115)|0;Drb(q,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);p=utb(q,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(q);ksb(c,p)|0;Krb(c)|0;q=0;u=r;return q|0}o=c+11|0;a=b[o>>0]|0;p=c+4|0;e=f[p>>2]|0;if(!((a<<24>>24<0?e:a&255)|0)){q=f[d>>2]|0;u=r;return q|0}i=a;a:while(1){a=f[d>>2]|0;h=a+12|0;g=b[h+11>>0]|0;l=g<<24>>24<0;g=g&255;m=l?f[a+16>>2]|0:g;j=i<<24>>24<0;do if((m|0)==((j?e:i&255)|0)){s=f[h>>2]|0;k=l?s:h;e=j?f[c>>2]|0:c;i=(m|0)==0;j=s&255;if(l){if(i){d=31;break a}if(!(anb(k,e,m)|0)){d=31;break a}else break}if(i){d=31;break a}if((b[e>>0]|0)==j<<24>>24)do{g=g+-1|0;h=h+1|0;if(!g){d=31;break a}e=e+1|0}while((b[h>>0]|0)==(b[e>>0]|0))}while(0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){j=Nu(Nu(Nu(Hua(3)|0,452532,19)|0,452552,63)|0,452616,8)|0;m=f[d>>2]|0;k=m+12|0;s=b[k+11>>0]|0;l=s<<24>>24<0;s=Nu(j,l?f[k>>2]|0:k,l?f[m+16>>2]|0:s&255)|0;Drb(q,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);m=utb(q,504576)|0;m=cj[f[(f[m>>2]|0)+28>>2]&1023](m,10)|0;vtb(q);ksb(s,m)|0;Krb(s)|0}a=d+4|0;if((a|0)==(f[n>>2]|0)){d=25;break}d=a;i=b[o>>0]|0;e=f[p>>2]|0}if((d|0)==25){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){s=0;u=r;return s|0}n=Nu(Hua(2)|0,452625,120)|0;s=b[o>>0]|0;o=s<<24>>24<0;s=Nu(n,o?f[c>>2]|0:c,o?f[p>>2]|0:s&255)|0;Drb(q,s+(f[(f[s>>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(s,c)|0;Krb(s)|0;s=0;u=r;return s|0}else if((d|0)==31){u=r;return a|0}return 0}function h_a(a){a=a|0;var c=0,d=0,e=0,g=0;f[a>>2]=355544;iv(a+188|0,f[a+192>>2]|0);c=a+176|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+168|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+148|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+60|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+48|0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function i_a(a){a=a|0;h_a(a);GBb(a);return}function j_a(a){a=a|0;return _i[f[(f[a>>2]|0)+176>>2]&2047](a)|0}function k_a(a){a=a|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;n[a+32>>2]=0.0;n[a+36>>2]=0.0;n[a+40>>2]=0.0;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a>>2]=338880;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;return}function l_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0.0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0;b=b+160|0;if(!(f[b>>2]|0)){g=+p[c>>3];h=+p[c+8>>3];f3a(a);h3a(a,g,h,0.0);return}f3a(a);b=f[b>>2]|0;g=+p[c>>3];h=+p[c+8>>3];e=+p[c+16>>3];if(!(g!=0.0))if(!(h>0.0))if(!(h<0.0))if(e>0.0){e=1.5707963267948966;d=0.0}else{e=e<0.0?-1.5707963267948966:1.5707963267948966;d=0.0}else{d=-1.5707963267948966;i=8}else{d=1.5707963267948966;i=8}else{d=+S(+h,+g);i=8}if((i|0)==8){j=+K(+(g*g+h*h));h=+p[b+32>>3];l=+p[b+40>>3];g=+S(+(e*h),+(j*l));k=l*l;m=+N(+g);g=+M(+g);e=+R(+((e+m*(m*(m*(l*((h*h-k)/k)))))/(j-g*(g*(g*(h*+p[b+48>>3]))))))}m=+N(+e);l=+M(+e);g=+p[b+48>>3];k=+p[b+32>>3]/+K(+(1.0-m*(m*g)));e=l*(k+0.0);h=+M(+d);j=+N(+d);h3a(a,h*e,j*e,m*((1.0-g)*k+0.0));k=l*h;l=l*j;j=-j;p[a>>3]=j;p[a+8>>3]=h;p[a+16>>3]=0.0;p[a+32>>3]=l*0.0-m*h;p[a+40>>3]=m*j-k*0.0;p[a+48>>3]=h*k-l*j;p[a+64>>3]=k;p[a+72>>3]=l;p[a+80>>3]=m;return}function m_a(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;c=f[a+76>>2]|0;k=f[a+80>>2]|0;if((c|0)==(k|0))return;j=f[b>>2]|0;i=(f[b+4>>2]|0)-j|0;do{g=f[c+8>>2]|0;h=f[c+4>>2]|0;a=h;d=g;a:do if((g-h|0)==(i|0)){if((a|0)!=(d|0)){b=j;while(1){if((f[a>>2]|0)!=(f[b>>2]|0))break a;a=a+4|0;if((a|0)==(d|0))break;else b=b+4|0}}a=c+36|0;b=f[a>>2]|0;if(b|0){d=c+28|0;e=f[d>>2]|0;if((f[c+24>>2]|0)!=(e|0)){h=e+-4|0;f[c+20>>2]=f[h>>2];f[d>>2]=h}f[a>>2]=b+-1}a=f[c+68>>2]|0;h=f[c+72>>2]|0;if((a|0)!=(h|0))do{b=a+16|0;d=f[b>>2]|0;if(d|0){e=a+8|0;g=f[e>>2]|0;if((f[a+4>>2]|0)!=(g|0)){g=g+-4|0;f[a>>2]=f[g>>2];f[e>>2]=g}f[b>>2]=d+-1}a=a+48|0}while((a|0)!=(h|0))}while(0);c=c+80|0}while((c|0)!=(k|0));return}function n_a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2];f[a+12>>2]=f[c+12>>2];f[a+16>>2]=f[c+16>>2];f[a+20>>2]=f[c+20>>2];f[a+24>>2]=f[c+24>>2];d=a+28|0;e=f[d>>2]|0;g=f[c+28>>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)}p[a+32>>3]=+p[c+32>>3];b[a+40>>0]=b[c+40>>0]|0;b[a+41>>0]=b[c+41>>0]|0;f[a+44>>2]=f[c+44>>2];f[a+48>>2]=f[c+48>>2];f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];return}function o_a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;f[a>>2]=340996;d=a+28|0;f[d>>2]=0;f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2];f[a+12>>2]=f[c+12>>2];f[a+16>>2]=f[c+16>>2];f[a+20>>2]=f[c+20>>2];f[a+24>>2]=f[c+24>>2];e=f[c+28>>2]|0;if(e|0){f[d>>2]=e;h=e+8|0;f[h>>2]=(f[h>>2]|0)+1}p[a+32>>3]=+p[c+32>>3];b[a+40>>0]=b[c+40>>0]|0;b[a+41>>0]=b[c+41>>0]|0;f[a+44>>2]=f[c+44>>2];f[a+48>>2]=f[c+48>>2];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>>2]=342016;h=a+156|0;c=a+296|0;_Db(a+64|0,0,212)|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+284>>2]=-1.0;f[a+288>>2]=0;f[a+292>>2]=7;f[a+312>>2]=0;d=EBb(160)|0;f[d+4>>2]=0;e=d+8|0;f[e>>2]=0;f[d>>2]=338032;g=d+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f3a(d+32|0);f[d>>2]=313412;g=f[c>>2]|0;if(((g|0)!=(d|0)?(f[c>>2]=d,f[e>>2]=(f[e>>2]|0)+1,g|0):0)?(d=g+8|0,e=f[d>>2]|0,f[d>>2]=e-1,(e|0)==1):0)Rua(g,1,1);f[a+276>>2]=0;f[a+280>>2]=0;c=a+180|0;if(!(f[c>>2]|0)){h=a+156|0;n[h>>2]=0.0;h=a+160|0;n[h>>2]=0.0;a=a+164|0;n[a>>2]=0.0;a=f[c>>2]|0;a=a+1|0;f[c>>2]=a;return}d=a+172|0;e=f[d>>2]|0;if((e|0)==(f[a+176>>2]|0)){lF(a+168|0,h);h=a+156|0;n[h>>2]=0.0;h=a+160|0;n[h>>2]=0.0;a=a+164|0;n[a>>2]=0.0;a=f[c>>2]|0;a=a+1|0;f[c>>2]=a;return}else{f[e>>2]=f[h>>2];f[e+4>>2]=f[h+4>>2];f[e+8>>2]=f[h+8>>2];f[d>>2]=(f[d>>2]|0)+12;h=a+156|0;n[h>>2]=0.0;h=a+160|0;n[h>>2]=0.0;a=a+164|0;n[a>>2]=0.0;a=f[c>>2]|0;a=a+1|0;f[c>>2]=a;return}}function p_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=a+136|0;h=(b|0)==0;if(!h){i=b+8|0;f[i>>2]=(f[i>>2]|0)+1}i=a+152|0;do if(f[i>>2]|0){e=a+144|0;c=f[e>>2]|0;if((c|0)==(f[a+148>>2]|0)){q_a(a+140|0,g);break}d=f[g>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[e>>2]|0}f[e>>2]=c+4}while(0);c=f[g>>2]|0;if((c|0)!=(b|0)){f[g>>2]=b;if(!h){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}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[i>>2]=(f[i>>2]|0)+1;if(!h?(h=b+8|0,i=f[h>>2]|0,f[h>>2]=i-1,(i|0)==1):0)Rua(b,1,1);b=a+116|0;g=a+132|0;do if(f[g>>2]|0){e=a+124|0;c=f[e>>2]|0;if((c|0)==(f[a+128>>2]|0)){TDa(a+120|0,b);break}d=f[b>>2]|0;f[c>>2]=d;if(d){c=d+8|0;f[c>>2]=(f[c>>2]|0)+1;c=f[e>>2]|0}f[e>>2]=c+4}while(0);c=f[b>>2]|0;if(!c){a=f[g>>2]|0;a=a+1|0;f[g>>2]=a;return}f[b>>2]=0;i=c+8|0;a=f[i>>2]|0;f[i>>2]=a-1;if((a|0)!=1){a=f[g>>2]|0;a=a+1|0;f[g>>2]=a;return}Rua(c,1,1);a=f[g>>2]|0;a=a+1|0;f[g>>2]=a;return}function q_a(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<e>>>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 r_a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;h=a+152|0;b=f[h>>2]|0;if(b|0){g=a+144|0;d=f[g>>2]|0;if((f[a+140>>2]|0)!=(d|0)){e=a+136|0;c=f[e>>2]|0;b=f[d+-4>>2]|0;if((c|0)!=(b|0)){f[e>>2]=b;if(b|0){e=b+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)}b=(f[g>>2]|0)+-4|0;c=f[b>>2]|0;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[b>>2]=0;f[g>>2]=b;b=f[h>>2]|0}f[h>>2]=b+-1}h=a+132|0;b=f[h>>2]|0;if(!b)return;g=a+124|0;e=f[g>>2]|0;if((f[a+120>>2]|0)!=(e|0)){c=a+116|0;d=f[c>>2]|0;b=f[e+-4>>2]|0;if((d|0)!=(b|0)){f[c>>2]=b;if(b|0){a=b+8|0;f[a>>2]=(f[a>>2]|0)+1}if(d|0?(e=d+8|0,a=f[e>>2]|0,f[e>>2]=a-1,(a|0)==1):0)Rua(d,1,1)}b=(f[g>>2]|0)+-4|0;c=f[b>>2]|0;if(c|0?(e=c+8|0,a=f[e>>2]|0,f[e>>2]=a-1,(a|0)==1):0)Rua(c,1,1);f[b>>2]=0;f[g>>2]=b;b=f[h>>2]|0}f[h>>2]=b+-1;return}function s_a(a,b){a=a|0;b=b|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=338836;c=a+104|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=a+132|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=a+168|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=a+184|0;f[a+216>>2]=0;f[a+220>>2]=0;f[a+224>>2]=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;t4a(a+232|0,0);f[a+248>>2]=0;f[a+252>>2]=0;f[a+244>>2]=a+248;f[a+260>>2]=0;f[a+264>>2]=0;f[a+256>>2]=a+260;t_a(a,b);return}function t_a(a,c){a=a|0;c=c|0;var d=0,e=0;f[a+12>>2]=f[c+12>>2];b[a+16>>0]=b[c+16>>0]|0;f[a+20>>2]=f[c+20>>2];f[a+24>>2]=f[c+24>>2];f[a+28>>2]=f[c+28>>2];f[a+32>>2]=f[c+32>>2];f[a+36>>2]=f[c+36>>2];f[a+40>>2]=f[c+40>>2];f[a+44>>2]=f[c+44>>2];f[a+48>>2]=f[c+48>>2];f[a+52>>2]=f[c+52>>2];b[a+56>>0]=b[c+56>>0]|0;b[a+57>>0]=b[c+57>>0]|0;b[a+58>>0]=b[c+58>>0]|0;b[a+59>>0]=b[c+59>>0]|0;f[a+60>>2]=f[c+60>>2];f[a+64>>2]=f[c+64>>2];f[a+68>>2]=f[c+68>>2];f[a+72>>2]=f[c+72>>2];f[a+76>>2]=f[c+76>>2];f[a+80>>2]=f[c+80>>2];f[a+84>>2]=f[c+84>>2];f[a+88>>2]=f[c+88>>2];b[a+92>>0]=b[c+92>>0]|0;b[a+93>>0]=b[c+93>>0]|0;b[a+94>>0]=b[c+94>>0]|0;f[a+96>>2]=f[c+96>>2];f[a+100>>2]=f[c+100>>2];UBb(a+104|0,c+104|0)|0;f[a+116>>2]=f[c+116>>2];f[a+120>>2]=f[c+120>>2];f[a+124>>2]=f[c+124>>2];f[a+128>>2]=f[c+128>>2];UBb(a+132|0,c+132|0)|0;f[a+144>>2]=f[c+144>>2];f[a+148>>2]=f[c+148>>2];f[a+152>>2]=f[c+152>>2];f[a+160>>2]=f[c+160>>2];Fxa(a,f[a+164>>2]|0,1);b[a+180>>0]=b[c+180>>0]|0;if((a|0)==(c|0)){e=c+208|0;e=f[e>>2]|0;d=a+208|0;f[d>>2]=e;d=c+156|0;d=f[d>>2]|0;c=a+156|0;f[c>>2]=d;return}Dva(a+184|0,f[c+184>>2]|0,f[c+188>>2]|0);u_a(a+196|0,f[c+196>>2]|0,f[c+200>>2]|0);e=c+208|0;e=f[e>>2]|0;d=a+208|0;f[d>>2]=e;d=c+156|0;d=f[d>>2]|0;e=a+156|0;f[e>>2]=d;return}function u_a(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<i>>>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 v_a(a,b){a=a|0;b=b|0;f[a>>2]=337716;f[a+4>>2]=0;f[a+8>>2]=0;return}function w_a(a){a=a|0;return f[a+84>>2]|0}function x_a(a){a=a|0;var b=0,c=0;b=u;u=u+16|0;c=b;f[c>>2]=0;f[c>>2]=a;u=b;return}function y_a(a){a=a|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=339152;n[a+32>>2]=0.0;n[a+36>>2]=0.0;n[a+40>>2]=0.0;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;return}function z_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;l=u;u=u+112|0;k=l;f3a(a);f[k+72>>2]=0;f[k+76>>2]=0;e=k+80|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[k+92>>2]=2;f[k+96>>2]=0;f[k+12>>2]=0;e=k+28|0;f[k+4>>2]=0;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[k+8>>2]=-1;f[k+16>>2]=0;f[k+20>>2]=-1;f[k+24>>2]=0;f[k>>2]=355568;f[k+68>>2]=355936;f[k+56>>2]=1;f[k+60>>2]=a;b[k+64>>0]=d&1;e=f[c>>2]|0;j=c+4|0;g=f[j>>2]|0;i=g;h=e;if((e|0)==(g|0)){dDa(k,356104);k=k+68|0;Gva(k);u=l;return}if(d){a=i-h>>2;do{g=g+-4|0;e=f[g>>2]|0;e=_i[f[(f[e>>2]|0)+80>>2]&2047](e)|0;if(e|0){if(f[e+136>>2]|0)break;if((f[e+72>>2]|0)==(f[e+76>>2]|0))break}a=a+-1|0}while((g|0)!=(f[c>>2]|0));e=f[c>>2]|0;h=e;g=f[j>>2]|0}else{a=0;g=i}if(a>>>0>=g-h>>2>>>0){dDa(k,356104);k=k+68|0;Gva(k);u=l;return}do{i=f[e+(a<<2)>>2]|0;Bj[f[(f[i>>2]|0)+212>>2]&1023](i,k);a=a+1|0;e=f[c>>2]|0}while(a>>>0<(f[j>>2]|0)-e>>2>>>0);dDa(k,356104);k=k+68|0;Gva(k);u=l;return}function A_a(a){a=a|0;dDa(a,356104);Gva(a+68|0);return}function B_a(a){a=a|0;dDa(a,356104);Gva(a+68|0);GBb(a);return}function C_a(a,b){a=a|0;b=b|0;var c=0;c=f[b>>2]|0;if((f[a+56>>2]|0)==1){dj[f[c+288>>2]&255](b,f[a+60>>2]|0,a)|0;return}else{dj[f[c+292>>2]&255](b,f[a+60>>2]|0,a)|0;return}}function D_a(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,356104);Gva(a+68|0);return}function E_a(a){a=a|0;a=a+(f[(f[a>>2]|0)+-16>>2]|0)|0;dDa(a,356104);Gva(a+68|0);GBb(a);return}function F_a(a,c){a=a|0;c=c|0;a=a+180|0;if((h[a>>0]|0|0)==(c&1|0))return;b[a>>0]=0;return}function G_a(a,c){a=a|0;c=c|0;a=a+181|0;if((h[a>>0]|0|0)==(c&1|0))return;b[a>>0]=0;return}function H_a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=f[c>>2]|0;if(!(b[i+761>>0]|0))if(!((b[a+184>>0]|0)!=0&(b[i+759>>0]|0)!=0)){d=f[i+140>>2]|0;if(d|0?(e=f[d+24>>2]|0,g=i+748|0,(f[g>>2]|0)!=(e|0)):0){tj[f[(f[i+832>>2]|0)+1560>>2]&2047](e);f[g>>2]=e}d=f[a+212>>2]|0;if(!d){Bj[f[(f[a>>2]|0)+260>>2]&1023](a,c);return}else{Fj[f[(f[d>>2]|0)+20>>2]&511](d,c,a);return}}else d=4;else if(!i)g=0;else d=4;if((d|0)==4)g=f[i+124>>2]|0;e=a+200|0;d=gFa(e,g)|0;d=f[d>>2]|0;if(!d){d=f[a+216>>2]|0;if(!d)d=cj[f[(f[a>>2]|0)+252>>2]&1023](a,c)|0;else d=dj[f[(f[d>>2]|0)+20>>2]&255](d,c,a)|0;e=gFa(e,g)|0;g=f[e>>2]|0;if((g|0)!=(d|0)){f[e>>2]=d;if(d|0){h=d+8|0;f[h>>2]=(f[h>>2]|0)+1}if((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=i+140|0;f[h>>2]=d;e=f[d+24>>2]|0;g=i+748|0;if((f[g>>2]|0)!=(e|0)){tj[f[(f[i+832>>2]|0)+1560>>2]&2047](e);f[g>>2]=e}e=f[a+212>>2]|0;if(!e)Bj[f[(f[a>>2]|0)+260>>2]&1023](a,c);else Fj[f[(f[e>>2]|0)+20>>2]&511](e,c,a);b[d+104>>0]=(f[a+24>>2]|0)==0&1;f[h>>2]=f[i+136>>2];return}function I_a(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;d=h;e=EBb(32)|0;f[d>>2]=e;f[d+8>>2]=-2147483616;f[d+4>>2]=21;g=e;i=452838;j=g+21|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+21>>0]=0;dAa(a,d,c);f[a>>2]=343236;t4a(a+28|0,0);j=a+40|0;f[j>>2]=j;f[a+44>>2]=j;f[a+48>>2]=0;if((b[d+11>>0]|0)>=0){f[a>>2]=343172;u=h;return}GBb(f[d>>2]|0);f[a>>2]=343172;u=h;return}function J_a(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;d=h;e=EBb(32)|0;f[d>>2]=e;f[d+8>>2]=-2147483616;f[d+4>>2]=26;g=e;i=452860;j=g+26|0;do{b[g>>0]=b[i>>0]|0;g=g+1|0;i=i+1|0}while((g|0)<(j|0));b[e+26>>0]=0;dAa(a,d,c);f[a>>2]=343236;t4a(a+28|0,0);j=a+40|0;f[j>>2]=j;f[a+44>>2]=j;f[a+48>>2]=0;if((b[d+11>>0]|0)>=0){f[a>>2]=343300;u=h;return}GBb(f[d>>2]|0);f[a>>2]=343300;u=h;return}function K_a(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,j=0,k=0,l=0,m=0,n=0;f[a+4>>2]=0;f[a+8>>2]=0;h=a+12|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=343364;h=a+32|0;Dxa()|0;i=f[(f[124914]|0)+84>>2]|0;f[h>>2]=0;j=a+36|0;f[j>>2]=0;k=a+40|0;f[k>>2]=0;do if(i|0)if(i>>>0>1073741823)DCb(h);else{l=i<<2;m=EBb(l)|0;f[h>>2]=m;i=m+(i<<2)|0;f[k>>2]=i;_Db(m|0,0,l|0)|0;f[j>>2]=i;break}while(0);h=a+44|0;Dxa()|0;i=f[(f[124914]|0)+84>>2]|0;f[h>>2]=0;j=a+48|0;f[j>>2]=0;k=a+52|0;f[k>>2]=0;if(!i){m=a+56|0;f[m>>2]=d;m=a+60|0;f[m>>2]=b;m=a+64|0;f[m>>2]=c;m=a+68|0;f[m>>2]=e;m=a+72|0;f[m>>2]=g;return}if(i>>>0>1073741823)DCb(h);l=i<<2;n=EBb(l)|0;f[h>>2]=n;m=n+(i<<2)|0;f[k>>2]=m;_Db(n|0,0,l|0)|0;f[j>>2]=m;m=a+56|0;f[m>>2]=d;m=a+60|0;f[m>>2]=b;m=a+64|0;f[m>>2]=c;m=a+68|0;f[m>>2]=e;m=a+72|0;f[m>>2]=g;return}function L_a(a,b){a=a|0;b=b|0;var c=0;c=EBb(24)|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>>2]=c;if(!b)return;f[c+4>>2]=b;c=b+8|0;f[c>>2]=(f[c>>2]|0)+1;return}function M_a(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;e=f[c+8>>2]|0;if(e|0){d=WCb(e,298168,298744,0)|0;if(d|0){h=EBb(24)|0;g=f[c+12>>2]|0;f[h>>2]=1;f[h+4>>2]=0;f[h+12>>2]=0;f[h+16>>2]=g;f[h+20>>2]=0;f[a>>2]=h;f[h+8>>2]=d;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;u=i;return}d=WCb(e,298168,299328,0)|0;if(d|0){h=EBb(24)|0;g=f[c+12>>2]|0;f[h>>2]=2;f[h+4>>2]=0;f[h+12>>2]=0;f[h+16>>2]=g;f[h+20>>2]=0;f[a>>2]=h;f[h+8>>2]=d;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;u=i;return}d=WCb(e,298168,299376,0)|0;if(d|0){h=EBb(24)|0;g=f[c+12>>2]|0;f[h>>2]=7;f[h+4>>2]=0;f[h+12>>2]=0;f[h+16>>2]=g;f[h+20>>2]=0;f[a>>2]=h;f[h+8>>2]=d;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;u=i;return}d=WCb(e,298168,299392,0)|0;if(d|0){h=EBb(24)|0;g=f[c+12>>2]|0;f[h>>2]=3;f[h+4>>2]=0;f[h+12>>2]=0;f[h+16>>2]=g;f[h+20>>2]=0;f[a>>2]=h;f[h+8>>2]=d;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;f[(f[a>>2]|0)+20>>2]=f[c+16>>2];u=i;return}d=WCb(e,298168,299360,0)|0;if(d|0){h=EBb(24)|0;g=f[c+12>>2]|0;f[h>>2]=6;f[h+4>>2]=0;f[h+12>>2]=0;f[h+16>>2]=g;f[h+20>>2]=0;f[a>>2]=h;f[h+8>>2]=d;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;f[(f[a>>2]|0)+20>>2]=f[c+16>>2];u=i;return}d=WCb(e,298168,299408,0)|0;if(d|0){h=EBb(24)|0;g=f[c+12>>2]|0;f[h>>2]=4;f[h+4>>2]=0;f[h+12>>2]=0;f[h+16>>2]=g;f[h+20>>2]=0;f[a>>2]=h;f[h+8>>2]=d;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;f[(f[a>>2]|0)+12>>2]=f[c+16>>2];u=i;return}d=WCb(e,298168,299424,0)|0;if(d|0){h=EBb(24)|0;f[h>>2]=5;g=h+4|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[a>>2]=h;f[h+8>>2]=d;h=d+8|0;f[h>>2]=(f[h>>2]|0)+1;u=i;return}}d=f[c+4>>2]|0;if(!d){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){h=Nu(Hua(2)|0,453019,109)|0;Drb(g,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);c=utb(g,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(g);ksb(h,c)|0;Krb(h)|0}}else{e=d+72|0;if((f[e>>2]|0)>0?(h=d+76|0,(f[h>>2]|0)>0):0){d=f[d+88>>2]|0;d=(d|0)==0?f[c>>2]|0:d;c=EBb(24)|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>>2]=c;c=EBb(76)|0;K_a(c,f[e>>2]|0,f[h>>2]|0,d,0,0);d=(f[a>>2]|0)+4|0;e=f[d>>2]|0;if((e|0)==(c|0)){u=i;return}f[d>>2]=c;h=c+8|0;f[h>>2]=(f[h>>2]|0)+1;if(!e){u=i;return}a=e+8|0;h=f[a>>2]|0;f[a>>2]=h-1;if((h|0)!=1){u=i;return}Rua(e,1,1);u=i;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>1){h=Nu(Hua(2)|0,452887,131)|0;Drb(g,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);c=utb(g,504576)|0;c=cj[f[(f[c>>2]|0)+28>>2]&1023](c,10)|0;vtb(g);ksb(h,c)|0;Krb(h)|0}}h=EBb(24)|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;f[a>>2]=h;u=i;return}function N_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=f[a>>2]|0;if(e|0){c=e+8|0;d=f[c>>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[c>>2]=0;c=f[e+4>>2]|0;if(c|0?(g=c+8|0,h=f[g>>2]|0,f[g>>2]=h-1,(h|0)==1):0)Rua(c,1,1);GBb(e)}e=EBb(24)|0;d=f[b>>2]|0;f[e>>2]=f[d>>2];c=f[d+4>>2]|0;f[e+4>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}c=f[d+8>>2]|0;f[e+8>>2]=c;if(c|0){h=c+8|0;f[h>>2]=(f[h>>2]|0)+1}f[e+12>>2]=f[d+12>>2];f[e+16>>2]=f[d+16>>2];f[e+20>>2]=f[d+20>>2];f[a>>2]=e;return a|0}function O_a(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;k=u;u=u+32|0;j=k+8|0;e=k+4|0;g=k;f[g>>2]=b;b=a+56|0;f[e>>2]=g;P_a(j,b,g,505019,e,k+16|0);N_a((f[j>>2]|0)+20|0,c)|0;e=a+68|0;g=a+72|0;f[g>>2]=f[e>>2];b=f[b>>2]|0;h=a+60|0;if((h|0)!=(b|0)){i=a+76|0;do{c=f[b+16>>2]|0;if((c+-4|0)>>>0<16){c=c+36060|0;f[j>>2]=c;d=f[g>>2]|0;if(d>>>0<(f[i>>2]|0)>>>0){f[d>>2]=c;f[g>>2]=d+4}else ML(e,j)}d=b;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{d=f[c>>2]|0;c=d+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(d|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}}while((h|0)!=(b|0))}d=f[a+80>>2]|0;b=(f[a+84>>2]|0)-d|0;if((b|0)<=0){u=k;return}c=b>>>2;b=d;while(1){f[b>>2]=1;if((c|0)>1){c=c+-1|0;b=b+4|0}else break}u=k;return}function P_a(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;h=c+4|0;e=f[h>>2]|0;do if(e){i=f[d>>2]|0;d=c+4|0;while(1){h=f[e+16>>2]|0;if((i|0)<(h|0)){h=f[e>>2]|0;if(!h){h=5;break}else{d=e;e=h}}else{if((h|0)>=(i|0)){h=9;break}d=e+4|0;h=f[d>>2]|0;if(!h){h=8;break}else e=h}}if((h|0)==5){i=e;d=e;break}else if((h|0)==8){i=e;break}else if((h|0)==9){i=e;break}}else{i=h;d=h}while(0);e=f[d>>2]|0;if(e|0){c=e;g=0;f[a>>2]=c;c=a+4|0;b[c>>0]=g;return}h=EBb(24)|0;f[h+16>>2]=f[f[g>>2]>>2];e=EBb(24)|0;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[h+20>>2]=e;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=i;f[d>>2]=h;e=f[f[c>>2]>>2]|0;if(!e)e=h;else{f[c>>2]=e;e=f[d>>2]|0}Xo(f[c+4>>2]|0,e);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=h;g=1;f[a>>2]=c;c=a+4|0;b[c>>0]=g;return}function Q_a(a){a=a|0;if(!(f[a+64>>2]|0)){a=0;return a|0}a=f[(f[(f[a+56>>2]|0)+20>>2]|0)+4>>2]|0;if(!a){a=0;return a|0}a=(f[a+68>>2]|0)>0;return a|0}function R_a(a){a=a|0;var b=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=343748;a=a+12|0;b=a+56|0;do{f[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function S_a(a,b){a=a|0;b=b|0;if((a|0)==(b|0))return a|0;f[a+12>>2]=f[b+12>>2];p[a+16>>3]=+p[b+16>>3];p[a+24>>3]=+p[b+24>>3];f[a+32>>2]=f[b+32>>2];f[a+36>>2]=f[b+36>>2];f[a+40>>2]=f[b+40>>2];f[a+44>>2]=f[b+44>>2];f[a+48>>2]=f[b+48>>2];f[a+52>>2]=f[b+52>>2];f[a+56>>2]=f[b+56>>2];f[a+60>>2]=f[b+60>>2];f[a+64>>2]=f[b+64>>2];return a|0}function T_a(a){a=a|0;var c=0,d=0,e=0,g=0;cGa(a);f[a>>2]=344060;c=a+220|0;d=a+182|0;e=c;g=e+56|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));b[c+56>>0]=0;b[d>>0]=1;b[a+183>>0]=0;return}function U_a(a,b){a=a|0;b=b|0;var c=0;c=f[a+252>>2]|0;if((f[a+256>>2]|0)-c>>2>>>0<=b>>>0){c=0;return c|0}c=f[c+(b<<2)>>2]|0;return c|0}function V_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=(b|0)!=0;if(e&(c|0)!=-1)f[b+64>>2]=c;c=a+236|0;d=f[c>>2]|0;if((d|0)!=(b|0)){f[c>>2]=b;if(b|0){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}if(d|0?(c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);if(!e)return;c=f[a+200>>2]|0;g=a+204|0;d=f[g>>2]|0;if((c|0)!=(d|0))do{e=f[c>>2]|0;if(e){Mwa(e);d=f[g>>2]|0}c=c+4|0}while((c|0)!=(d|0));Nwa(a,b);return}function W_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;e=(b|0)!=0;if(e&(c|0)!=-1)f[b+64>>2]=c;c=a+240|0;d=f[c>>2]|0;if((d|0)!=(b|0)){f[c>>2]=b;if(b|0){g=b+8|0;f[g>>2]=(f[g>>2]|0)+1}if(d|0?(c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1)}tj[f[(f[a>>2]|0)+240>>2]&2047](a);if(!e)return;c=f[a+200>>2]|0;g=a+204|0;d=f[g>>2]|0;if((c|0)!=(d|0))do{e=f[c>>2]|0;if(e){Owa(e);d=f[g>>2]|0}c=c+4|0}while((c|0)!=(d|0));Nwa(a,b);return}function X_a(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+252|0;if((i|0)!=(b|0))Y_a(i,f[b>>2]|0,f[b+4>>2]|0);tj[f[(f[a>>2]|0)+240>>2]&2047](a);c=f[i>>2]|0;j=a+256|0;b=f[j>>2]|0;if((c|0)==(b|0))return;g=b-c>>2;d=f[a+200>>2]|0;h=a+204|0;e=f[h>>2]|0;if((d|0)!=(e|0)){b=e;do{c=f[d>>2]|0;if(c){jxa(c,g);b=f[h>>2]|0}d=d+4|0}while((d|0)!=(b|0));c=f[i>>2]|0;b=f[j>>2]|0}if((c|0)==(b|0))return;do{d=f[c>>2]|0;if(d){Nwa(a,d);b=f[j>>2]|0}c=c+4|0}while((c|0)!=(b|0));return}function Y_a(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<i>>>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 Z_a(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+264|0;if((i|0)!=(b|0))Y_a(i,f[b>>2]|0,f[b+4>>2]|0);tj[f[(f[a>>2]|0)+240>>2]&2047](a);c=f[i>>2]|0;j=a+268|0;b=f[j>>2]|0;if((c|0)==(b|0))return;g=b-c>>2;d=f[a+200>>2]|0;h=a+204|0;e=f[h>>2]|0;if((d|0)!=(e|0)){b=e;do{c=f[d>>2]|0;if(c){Zwa(c,g);b=f[h>>2]|0}d=d+4|0}while((d|0)!=(b|0));c=f[i>>2]|0;b=f[j>>2]|0}if((c|0)==(b|0))return;do{d=f[c>>2]|0;if(d){Nwa(a,d);b=f[j>>2]|0}c=c+4|0}while((c|0)!=(b|0));return}function __a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+220|0;if((e|0)!=(b|0))SX(e,f[b>>2]|0,f[b+4>>2]|0);d=a+224|0;b=f[e>>2]|0;if((f[d>>2]|0)==(b|0)){e=f[a>>2]|0;e=e+240|0;e=f[e>>2]|0;tj[e&2047](a);ywa(a);return}c=0;do{YNa(a,f[b+(c<<2)>>2]|0);c=c+1|0;b=f[e>>2]|0}while(c>>>0<(f[d>>2]|0)-b>>2>>>0);e=f[a>>2]|0;e=e+240|0;e=f[e>>2]|0;tj[e&2047](a);ywa(a);return}function $_a(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=+e;g=+g;h=+h;i=+i;var j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0;v=EBb(280)|0;cGa(v);f[v>>2]=344060;j=v+220|0;k=v+182|0;l=j;m=l+56|0;do{f[l>>2]=0;l=l+4|0}while((l|0)<(m|0));b[j+56>>0]=0;b[k>>0]=1;b[v+183>>0]=0;m=EBb(88)|0;f[m+4>>2]=0;f[m+8>>2]=0;s=m+12|0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[m+24>>2]=2;s=m+28|0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[s+12>>2]=0;f[s+16>>2]=0;f[s+20>>2]=0;f[m>>2]=349568;f[m+52>>2]=28;f[m+56>>2]=3;f[m+60>>2]=5126;f[m+64>>2]=-1;b[m+68>>0]=0;b[m+69>>0]=0;s=m+72|0;f[s>>2]=308932;q=m+76|0;f[q>>2]=0;t=m+80|0;f[t>>2]=0;p=m+84|0;f[p>>2]=0;j=EBb(48)|0;f[q>>2]=j;f[p>>2]=j+48;p=j+12|0;n[p>>2]=0.0;n[j+16>>2]=0.0;n[j+20>>2]=0.0;f[t>>2]=j+48;f[m>>2]=308404;f[s>>2]=308644;B=+n[a>>2];A=+n[d>>2];z=+n[a+4>>2];s=d+4|0;y=+n[s>>2];x=+n[a+8>>2];t=d+8|0;w=+n[t>>2];n[j>>2]=B+A;n[j+4>>2]=z+y;n[j+8>>2]=x+w;f[p>>2]=f[a>>2];f[p+4>>2]=f[a+4>>2];f[p+8>>2]=f[a+8>>2];B=B+ +n[c>>2];p=c+4|0;z=z+ +n[p>>2];q=c+8|0;x=x+ +n[q>>2];n[j+24>>2]=B;n[j+28>>2]=z;n[j+32>>2]=x;n[j+36>>2]=B+A;n[j+40>>2]=z+y;n[j+44>>2]=x+w;Lwa(v,m);m=EBb(88)|0;f[m+4>>2]=0;f[m+8>>2]=0;j=m+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[m+24>>2]=2;j=m+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[m>>2]=349568;f[m+52>>2]=27;f[m+56>>2]=2;f[m+60>>2]=5126;f[m+64>>2]=-1;b[m+68>>0]=0;b[m+69>>0]=0;j=m+72|0;f[j>>2]=308916;r=m+76|0;f[r>>2]=0;u=m+80|0;f[u>>2]=0;a=m+84|0;f[a>>2]=0;l=EBb(32)|0;f[r>>2]=l;f[a>>2]=l+32;f[u>>2]=l+32;f[m>>2]=308660;f[j>>2]=308900;n[l>>2]=e;n[l+4>>2]=i;n[l+8>>2]=e;n[l+12>>2]=g;n[l+16>>2]=h;n[l+20>>2]=g;n[l+24>>2]=h;n[l+28>>2]=i;Rwa(v,0,m,-1);m=EBb(88)|0;f[m+4>>2]=0;l=m+8|0;f[l>>2]=0;j=m+12|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[m+24>>2]=2;j=m+28|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[m>>2]=349568;f[m+52>>2]=29;f[m+56>>2]=4;f[m+60>>2]=5126;j=m+64|0;f[j>>2]=-1;b[m+68>>0]=0;b[m+69>>0]=0;u=m+72|0;f[u>>2]=308948;a=m+76|0;f[a>>2]=0;r=m+80|0;f[r>>2]=0;o=m+84|0;f[o>>2]=0;k=EBb(16)|0;f[a>>2]=k;f[o>>2]=k+16;f[r>>2]=k+16;f[m>>2]=308148;f[u>>2]=308388;n[k>>2]=1.0;n[k+4>>2]=1.0;n[k+8>>2]=1.0;n[k+12>>2]=1.0;f[j>>2]=1;j=v+240|0;k=f[j>>2]|0;if(((k|0)!=(m|0)?(f[j>>2]=m,f[l>>2]=(f[l>>2]|0)+1,k|0):0)?(r=k+8|0,u=f[r>>2]|0,f[r>>2]=u-1,(u|0)==1):0)Rua(k,1,1);tj[f[(f[v>>2]|0)+240>>2]&2047](v);r=v+200|0;j=f[r>>2]|0;u=v+204|0;k=f[u>>2]|0;if((j|0)!=(k|0))do{l=f[j>>2]|0;if(l){Owa(l);k=f[u>>2]|0}j=j+4|0}while((j|0)!=(k|0));Nwa(v,m);o=EBb(88)|0;f[o+4>>2]=0;a=o+8|0;f[a>>2]=0;l=o+12|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;f[o+24>>2]=2;l=o+28|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;f[o>>2]=349568;f[o+52>>2]=28;f[o+56>>2]=3;f[o+60>>2]=5126;l=o+64|0;f[l>>2]=-1;b[o+68>>0]=0;b[o+69>>0]=0;j=o+72|0;f[j>>2]=308932;D=o+76|0;f[D>>2]=0;k=o+80|0;f[k>>2]=0;C=o+84|0;f[C>>2]=0;m=EBb(12)|0;f[D>>2]=m;f[C>>2]=m+12;f[k>>2]=m+12;f[o>>2]=308404;f[j>>2]=308644;B=+n[p>>2];e=+n[t>>2];z=+n[q>>2];A=+n[s>>2];i=B*e-z*A;g=+n[d>>2];h=+n[c>>2];e=z*g-e*h;g=A*h-B*g;n[m>>2]=i;j=m+4|0;n[j>>2]=e;k=m+8|0;n[k>>2]=g;B=+K(+(i*i+e*e+g*g));h=1.0/B;if(B>0.0){n[m>>2]=i*h;n[j>>2]=e*h;n[k>>2]=g*h}f[l>>2]=1;j=v+236|0;k=f[j>>2]|0;if(((k|0)!=(o|0)?(f[j>>2]=o,f[a>>2]=(f[a>>2]|0)+1,k|0):0)?(C=k+8|0,D=f[C>>2]|0,f[C>>2]=D-1,(D|0)==1):0)Rua(k,1,1);tj[f[(f[v>>2]|0)+240>>2]&2047](v);j=f[r>>2]|0;k=f[u>>2]|0;if((j|0)!=(k|0))do{l=f[j>>2]|0;if(l){Mwa(l);k=f[u>>2]|0}j=j+4|0}while((j|0)!=(k|0));Nwa(v,o);p=EBb(80)|0;f[p+4>>2]=0;f[p+8>>2]=0;q=p+12|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[p+24>>2]=2;q=p+28|0;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;f[p+52>>2]=3;f[p+56>>2]=0;f[p+60>>2]=4;q=p+68|0;f[q>>2]=0;r=p+72|0;f[r>>2]=0;s=p+76|0;f[s>>2]=0;f[p>>2]=347620;f[p+64>>2]=347884;j=EBb(1)|0;k=j+1|0;b[j>>0]=0;f[q>>2]=j;f[r>>2]=k;f[s>>2]=k;k=EBb(2)|0;b[k+1>>0]=1;b[k>>0]=b[j>>0]|0;f[q>>2]=k;f[r>>2]=k+2;f[s>>2]=k+2;GBb(j);j=f[r>>2]|0;k=f[s>>2]|0;if((j|0)==(k|0)){o=f[q>>2]|0;m=k-o|0;j=m+1|0;a=o;if((j|0)<0)DCb(q);l=m<<1;l=m>>>0<1073741823?(l>>>0<j>>>0?j:l):2147483647;if(!l)k=0;else k=EBb(l)|0;j=k+m|0;b[j>>0]=2;j=j+1|0;if((m|0)>0)YDb(k|0,a|0,m|0)|0;f[q>>2]=k;f[r>>2]=j;f[s>>2]=k+l;if(o){GBb(a);j=f[r>>2]|0}}else{b[j>>0]=2;j=(f[r>>2]|0)+1|0;f[r>>2]=j}k=f[s>>2]|0;if((j|0)==(k|0)){o=f[q>>2]|0;m=k-o|0;j=m+1|0;a=o;if((j|0)<0)DCb(q);l=m<<1;l=m>>>0<1073741823?(l>>>0<j>>>0?j:l):2147483647;if(!l)k=0;else k=EBb(l)|0;j=k+m|0;b[j>>0]=2;j=j+1|0;if((m|0)>0)YDb(k|0,a|0,m|0)|0;f[q>>2]=k;f[r>>2]=j;f[s>>2]=k+l;if(o){GBb(a);j=f[r>>2]|0}}else{b[j>>0]=2;j=(f[r>>2]|0)+1|0;f[r>>2]=j}k=f[s>>2]|0;if((j|0)==(k|0)){o=f[q>>2]|0;m=k-o|0;j=m+1|0;a=o;if((j|0)<0)DCb(q);l=m<<1;l=m>>>0<1073741823?(l>>>0<j>>>0?j:l):2147483647;if(!l)k=0;else k=EBb(l)|0;j=k+m|0;b[j>>0]=3;j=j+1|0;if((m|0)>0)YDb(k|0,a|0,m|0)|0;f[q>>2]=k;f[r>>2]=j;f[s>>2]=k+l;if(o){GBb(a);j=f[r>>2]|0}}else{b[j>>0]=3;j=(f[r>>2]|0)+1|0;f[r>>2]=j}k=f[s>>2]|0;if((j|0)!=(k|0)){b[j>>0]=0;f[r>>2]=(f[r>>2]|0)+1;yNa(v,p)|0;return v|0}o=f[q>>2]|0;m=k-o|0;j=m+1|0;a=o;if((j|0)<0)DCb(q);l=m<<1;l=m>>>0<1073741823?(l>>>0<j>>>0?j:l):2147483647;if(!l)k=0;else k=EBb(l)|0;j=k+m|0;b[j>>0]=0;if((m|0)>0)YDb(k|0,a|0,m|0)|0;f[q>>2]=k;f[r>>2]=j+1;f[s>>2]=k+l;if(!o){yNa(v,p)|0;return v|0}GBb(a);yNa(v,p)|0;return v|0}function a$a(a,b){a=a|0;b=b|0;return Pza(a,b,3402823466385288598117041.0e14)|0}function b$a(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,g=0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;d=f[124931]|0;if(d){e=499724;do{g=(f[d+16>>2]|0)>>>0<a>>>0;e=g?e:d;d=f[(g?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=499724?(f[e+16>>2]|0)>>>0<=a>>>0:0){e=f[e+20>>2]|0;d=e}else{d=0;e=0}}else{d=0;e=0}_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;Aj[f[(f[d>>2]|0)+28>>2]&7](e,b,c);return}function c$a(a){a=a|0;var b=0,c=0,d=0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;b=f[124931]|0;if(b){c=499724;do{d=(f[b+16>>2]|0)>>>0<a>>>0;c=d?c:b;b=f[(d?b+4|0:b)>>2]|0}while((b|0)!=0);if((c|0)!=499724?(f[c+16>>2]|0)>>>0<=a>>>0:0){c=f[c+20>>2]|0;b=c}else{b=0;c=0}}else{b=0;c=0}_i[f[(f[124939]|0)+12>>2]&2047](499756)|0;tj[f[(f[b>>2]|0)+32>>2]&2047](c);return}function d$a(){var a=0,c=0,d=0,e=0;c=u;u=u+16|0;a=c;if(b[497256]|0){u=c;return 497264}if(!(DDb(497256)|0)){u=c;return 497264}p[62159]=1.0e-06;Nb(1,a|0)|0;e=f[a>>2]|0;e=LDb(e|0,((e|0)<0)<<31>>31|0,1e6,0)|0;d=H;a=f[a+4>>2]|0;a=QDb(a|0,((a|0)<0)<<31>>31|0,1e3,0)|0;d=MDb(a|0,H|0,e|0,d|0)|0;a=497264;f[a>>2]=d;f[a+4>>2]=H;u=c;return 497264}function e$a(a){a=a|0;var b=0,c=0,d=0;b=u;u=u+16|0;d=b;Nb(1,d|0)|0;c=f[d>>2]|0;c=LDb(c|0,((c|0)<0)<<31>>31|0,1e6,0)|0;a=H;d=f[d+4>>2]|0;d=QDb(d|0,((d|0)<0)<<31>>31|0,1e3,0)|0;a=MDb(d|0,H|0,c|0,a|0)|0;u=b;return a|0}function f$a(a){a=a|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 g$a(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;d=g;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;e=sh(453129)|0;if(!e){u=g;return}c=0;while(1){if(!(b[e+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(d,e,c)|0;h$a(a,d);if((b[d+11>>0]|0)>=0){u=g;return}GBb(f[d>>2]|0);u=g;return}function h$a(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;l=u;u=u+16|0;i=l;d=mCb(c,58,-1)|0;h=mCb(c,46,-1)|0;h=h>>>0<d>>>0&((d|0)!=-1&(h|0)!=-1)?-1:h;if((d|0)==-1)ZBb(a,505031)|0;else{SBb(i,c,0,d,c);e=a+11|0;if((b[e>>0]|0)<0){b[f[a>>2]>>0]=0;f[a+4>>2]=0}else{b[a>>0]=0;b[e>>0]=0}YBb(a,0);f[a>>2]=f[i>>2];f[a+4>>2]=f[i+4>>2];f[a+8>>2]=f[i+8>>2]}e=d+1|0;g=(h|0)==-1;do if(g){d=b[c+11>>0]|0;if(d<<24>>24<0){d=f[c+4>>2]|0;break}else{d=d&255;break}}else d=h;while(0);if(d>>>0>e>>>0){SBb(i,c,e,d-e|0,c);if((b[i+11>>0]|0)<0){e=f[i>>2]|0;d=Tnb(e)|0;f[a+12>>2]=d;GBb(e)}else{e=Tnb(i)|0;f[a+12>>2]=e}}else f[a+12>>2]=-1;if(!g?(j=h+1|0,k=b[c+11>>0]|0,k=k<<24>>24<0?f[c+4>>2]|0:k&255,j>>>0<k>>>0):0){SBb(i,c,j,k+~h|0,c);if((b[i+11>>0]|0)<0){k=f[i>>2]|0;j=Tnb(k)|0;f[a+16>>2]=j;GBb(k)}else{k=Tnb(i)|0;f[a+16>>2]=k}u=l;return}f[a+16>>2]=-1;u=l;return}function i$a(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=u;u=u+16|0;l=m;f[a+4>>2]=0;f[a+8>>2]=0;e=a+12|0;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[a>>2]=355544;e=a+32|0;g=a+73|0;h=e;i=h+40|0;do{f[h>>2]=0;h=h+4|0}while((h|0)<(i|0));b[e+40>>0]=0;b[g>>0]=1;f[a+76>>2]=8;f[a+80>>2]=8;f[a+84>>2]=8;e=a+88|0;f[e>>2]=0;f[a+92>>2]=24;g=a+96|0;h=a+112|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;d[g+12>>1]=0;b[g+14>>0]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;b[a+132>>0]=1;b[a+133>>0]=0;f[a+136>>2]=0;f[a+140>>2]=0;b[a+144>>0]=0;b[a+145>>0]=1;h=a+148|0;i=a+152|0;f[i>>2]=0;f[i+4>>2]=0;b[h+11>>0]=3;b[h>>0]=b[410783]|0;b[h+1>>0]=b[410784]|0;b[h+2>>0]=b[410785]|0;b[h+3>>0]=0;i=a+160|0;j=a+164|0;k=a+184|0;f[k>>2]=0;f[a+192>>2]=0;f[a+196>>2]=0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;d[i+20>>1]=0;f[a+188>>2]=a+192;if(!c){u=m;return}f[e>>2]=f[c+60>>2];f[g>>2]=f[c+64>>2];e=f[c+88>>2]|0;if(!e)e=0;else f[a+100>>2]=1;f[a+104>>2]=e;a:do if(b[c+16>>0]|0)switch(f[c+20>>2]|0){case 0:{b[a+109>>0]=1;break a}case 6:case 8:case 7:{f[g>>2]=8;break a}default:break a}while(0);OBb(l,c+132|0);UBb(h,l)|0;if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);f[i>>2]=f[c+144>>2];f[j>>2]=f[c+148>>2];f[k>>2]=f[c+152>>2];u=m;return}function j$a(){return $Za()|0}function k$a(){var a=0,b=0,c=0,d=0;_i[f[(f[124939]|0)+8>>2]&2047](499756)|0;b=f[124930]|0;if((b|0)==499724){d=0;c=f[124939]|0;c=c+12|0;c=f[c>>2]|0;_i[c&2047](499756)|0;return d|0}a=0;do{c=f[b+16>>2]|0;a=c>>>0>a>>>0?c:a;c=f[b+4>>2]|0;if(!c){c=b+8|0;d=f[c>>2]|0;if((f[d>>2]|0)==(b|0))b=d;else do{d=f[c>>2]|0;c=d+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(d|0))}else{b=c;while(1){c=f[b>>2]|0;if(!c)break;else b=c}}}while((b|0)!=499724);d=f[124939]|0;d=d+12|0;d=f[d>>2]|0;_i[d&2047](499756)|0;return a|0}function l$a(a){a=a|0;a_a(a);return}function m$a(a){a=a|0;return d_a(a)|0}function n$a(a){a=a|0;var c=0,d=0,e=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=344740;c=a+32|0;f[c>>2]=c;f[a+36>>2]=c;c=a+40|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;n[a+64>>2]=1.0;f[a+68>>2]=0;f[a+72>>2]=0;t4a(a+76|0,0);c=a+88|0;f[c>>2]=0;d=a+92|0;f[d>>2]=d;f[a+96>>2]=d;d=a+100|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[d+24>>2]=0;f[d+28>>2]=0;Bj[f[f[a>>2]>>2]&1023](a,1);d=EBb(40)|0;e=d+28|0;f[e>>2]=337716;f[d+32>>2]=0;f[d+36>>2]=0;t4a(d+4|0,0);s4a(d+16|0);b[d+24>>0]=0;f[d>>2]=325944;f[e>>2]=325968;e=f[c>>2]|0;if((e|0)==(d|0)){b_a(a);return}f[c>>2]=d;d=d+36|0;f[d>>2]=(f[d>>2]|0)+1;if(!e){b_a(a);return}c=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;d=c+8|0;e=f[d>>2]|0;f[d>>2]=e-1;if((e|0)!=1){b_a(a);return}Rua(c,1,1);b_a(a);return}function o$a(a){a=a|0;var b=0;b=e4a()|0;f[a+72>>2]=b;b=_i[f[(f[a>>2]|0)+188>>2]&2047](a)|0;if(!b)return b|0;a=f[a+48>>2]|0;tj[f[(f[a>>2]|0)+12>>2]&2047](a);return b|0}function p$a(a){a=a|0;var b=0;b=_i[f[(f[a>>2]|0)+196>>2]&2047](a)|0;f[a+72>>2]=-1;return b|0}function q$a(a,b){a=a|0;b=b|0;var c=0;b=cj[f[(f[a>>2]|0)+192>>2]&1023](a,b)|0;if(!b)return b|0;c=e4a()|0;f[a+72>>2]=c;a=f[a+48>>2]|0;tj[f[(f[a>>2]|0)+12>>2]&2047](a);return b|0}function r$a(a){a=a|0;var b=0,c=0;b=a+72|0;c=f[b>>2]|0;if((c|0)==(e4a()|0)){b=f[a+48>>2]|0;if(b|0)tj[f[(f[b>>2]|0)+16>>2]&2047](b);b=f[a+116>>2]|0;if(!b){tj[f[(f[a>>2]|0)+204>>2]&2047](a);b=a}else{Bj[f[(f[b>>2]|0)+12>>2]&1023](b,a);b=a}tj[f[(f[b>>2]|0)+172>>2]&2047](a);return}c=f[a+108>>2]|0;if(c|0?(f[b>>2]|0)==(c+12|0):0){a=EBb(32)|0;fw(a);s$a(c,a);return}c=e4a()|0;f[b>>2]=c;b=a+48|0;if(_i[f[(f[a>>2]|0)+188>>2]&2047](a)|0){c=f[b>>2]|0;tj[f[(f[c>>2]|0)+12>>2]&2047](c)}b=f[b>>2]|0;if(b|0)tj[f[(f[b>>2]|0)+16>>2]&2047](b);b=f[a+116>>2]|0;if(!b){tj[f[(f[a>>2]|0)+204>>2]&2047](a);b=a}else{Bj[f[(f[b>>2]|0)+12>>2]&1023](b,a);b=a}tj[f[(f[b>>2]|0)+172>>2]&2047](a);return}function s$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;d=a+32|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;a=a+44|0;if((((f[a>>2]|0)==0?(e=EBb(56)|0,SZa(e),c=f[a>>2]|0,(c|0)!=(e|0)):0)?(f[a>>2]=e,e=e+8|0,f[e>>2]=(f[e>>2]|0)+1,c|0):0)?(g=c+8|0,e=f[g>>2]|0,f[g>>2]=e-1,(e|0)==1):0)Rua(c,1,1);t$a(f[a>>2]|0,b);_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;return}function t$a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;d=j;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Nu(Hua(4)|0,453137,9)|0;Drb(d,i+(f[(f[i>>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(i,g)|0;Krb(i)|0}i=a+12|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;d=(c|0)==0;if(!d){g=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1}e=a+28|0;g=EBb(12)|0;f[g>>2]=0;f[g+8>>2]=c;if(!d){k=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[k>>2]=(f[k>>2]|0)+1}f[g+4>>2]=e;k=f[e>>2]|0;f[g>>2]=k;f[k+4>>2]=g;f[e>>2]=g;k=a+36|0;f[k>>2]=(f[k>>2]|0)+1;if(!d?(h=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,c=h+8|0,k=f[c>>2]|0,f[c>>2]=k-1,(k|0)==1):0)Rua(h,1,1);d=f[a+24>>2]|0;e=d+4|0;g=d+24|0;if((b[g>>0]|0)==1){k=f[i>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](i)|0;u=j;return}_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;if(!(b[g>>0]|0)){b[g>>0]=1;P3a(d+16|0)|0}_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;k=f[i>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](i)|0;u=j;return}function u$a(a){a=a|0;var b=0,c=0;b=a+108|0;if(f[b>>2]|0)return;c=EBb(52)|0;RZa(c);f[c>>2]=345004;f[c+12>>2]=345032;XJa(a,c);a=f[a+44>>2]|0;if(!a)return;g4a((f[b>>2]|0)+12|0,a+188|0)|0;return}function v$a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;d=j;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){i=Nu(Hua(4)|0,453137,9)|0;Drb(d,i+(f[(f[i>>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(i,g)|0;Krb(i)|0}i=a+76|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;d=(c|0)==0;if(!d){g=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[g>>2]=(f[g>>2]|0)+1}e=a+92|0;g=EBb(12)|0;f[g>>2]=0;f[g+8>>2]=c;if(!d){k=c+(f[(f[c>>2]|0)+-12>>2]|0)+8|0;f[k>>2]=(f[k>>2]|0)+1}f[g+4>>2]=e;k=f[e>>2]|0;f[g>>2]=k;f[k+4>>2]=g;f[e>>2]=g;k=a+100|0;f[k>>2]=(f[k>>2]|0)+1;if(!d?(h=c+(f[(f[c>>2]|0)+-12>>2]|0)|0,c=h+8|0,k=f[c>>2]|0,f[c>>2]=k-1,(k|0)==1):0)Rua(h,1,1);d=f[a+88>>2]|0;e=d+4|0;g=d+24|0;if((b[g>>0]|0)==1){k=f[i>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](i)|0;u=j;return}_i[f[(f[e>>2]|0)+8>>2]&2047](e)|0;if(!(b[g>>0]|0)){b[g>>0]=1;P3a(d+16|0)|0}_i[f[(f[e>>2]|0)+12>>2]&2047](e)|0;k=f[i>>2]|0;k=k+12|0;k=f[k>>2]|0;_i[k&2047](i)|0;u=j;return}function w$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=f[a+20>>2]|0;c=(f[a+24>>2]|0)-e|0;d=(c|0)/272|0;if((f[a+16>>2]|0)==(b|0))return 0;a:do if(!c)a=0;else{a=0;do{if((f[e+(a*272|0)+4>>2]|0)==(b|0))break a;a=a+1|0}while(a>>>0<d>>>0);return 0}while(0);return (a>>>0<d>>>0?e+(a*272|0)|0:0)|0}function x$a(a){a=a|0;var c=0,d=0,e=0,g=0;d=u;u=u+16|0;c=d;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=344960;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){c=a+12|0;f[c>>2]=0;u=d;return}e=Nu(Hua(4)|0,453147,32)|0;Drb(c,e+(f[(f[e>>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(e,g)|0;Krb(e)|0;c=a+12|0;f[c>>2]=0;u=d;return}function y$a(a){a=a|0;Uua(a);GBb(a);return}function z$a(a,c,d){a=a|0;c=c|0;d=d|0;var 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;do if(!(b[d+183>>0]|0)){if(b[d+181>>0]|0?b[d+180>>0]|0:0){r=1;break};f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}else r=0;while(0);f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;g=f[d+232>>2]|0;if(!g)e=0.0;else{n=_i[f[(f[g>>2]|0)+168>>2]&2047](g)|0;o=f[c+32>>2]|0;e=+p[c+16>>3]+ +p[c+24>>3]*(n>>>0>o>>>0?+((n-o|0)>>>0):0.0)+0.0;p[a>>3]=e}g=f[d+236>>2]|0;if(g){n=_i[f[(f[g>>2]|0)+168>>2]&2047](g)|0;o=f[c+32>>2]|0;e=e+(+p[c+16>>3]+ +p[c+24>>3]*(n>>>0>o>>>0?+((n-o|0)>>>0):0.0));p[a>>3]=e}g=f[d+240>>2]|0;if(g){n=_i[f[(f[g>>2]|0)+168>>2]&2047](g)|0;o=f[c+32>>2]|0;e=e+(+p[c+16>>3]+ +p[c+24>>3]*(n>>>0>o>>>0?+((n-o|0)>>>0):0.0));p[a>>3]=e}g=f[d+244>>2]|0;if(g){n=_i[f[(f[g>>2]|0)+168>>2]&2047](g)|0;o=f[c+32>>2]|0;e=e+(+p[c+16>>3]+ +p[c+24>>3]*(n>>>0>o>>>0?+((n-o|0)>>>0):0.0));p[a>>3]=e}g=f[d+248>>2]|0;if(g){n=_i[f[(f[g>>2]|0)+168>>2]&2047](g)|0;o=f[c+32>>2]|0;e=e+(+p[c+16>>3]+ +p[c+24>>3]*(n>>>0>o>>>0?+((n-o|0)>>>0):0.0));p[a>>3]=e}k=d+252|0;l=d+256|0;h=f[l>>2]|0;g=f[k>>2]|0;if((h|0)!=(g|0)){m=c+16|0;n=c+24|0;o=c+32|0;j=0;i=h;while(1){h=f[g+(j<<2)>>2]|0;if(!h)h=i;else{h=_i[f[(f[h>>2]|0)+168>>2]&2047](h)|0;g=f[o>>2]|0;e=e+(+p[m>>3]+ +p[n>>3]*(h>>>0>g>>>0?+((h-g|0)>>>0):0.0));p[a>>3]=e;g=f[k>>2]|0;h=f[l>>2]|0}j=j+1|0;if(j>>>0>=h-g>>2>>>0)break;else i=h}}k=d+264|0;l=d+268|0;h=f[l>>2]|0;g=f[k>>2]|0;if((h|0)!=(g|0)){m=c+16|0;n=c+24|0;o=c+32|0;j=0;i=h;while(1){h=f[g+(j<<2)>>2]|0;if(!h)h=i;else{h=_i[f[(f[h>>2]|0)+168>>2]&2047](h)|0;g=f[o>>2]|0;e=e+(+p[m>>3]+ +p[n>>3]*(h>>>0>g>>>0?+((h-g|0)>>>0):0.0));p[a>>3]=e;g=f[k>>2]|0;h=f[l>>2]|0}j=j+1|0;if(j>>>0>=h-g>>2>>>0)break;else i=h}}m=d+220|0;i=d+224|0;g=f[m>>2]|0;if((f[i>>2]|0)!=(g|0)){j=c+40|0;k=c+48|0;l=c+56|0;h=0;do{g=f[g+(h<<2)>>2]|0;if((g|0)!=0?(q=_i[f[(f[g>>2]|0)+196>>2]&2047](g)|0,(q|0)!=0):0){o=_i[f[(f[q>>2]|0)+168>>2]&2047](q)|0;d=f[l>>2]|0;e=e+(+p[j>>3]+ +p[k>>3]*(o>>>0>d>>>0?+((o-d|0)>>>0):0.0));p[a>>3]=e}h=h+1|0;g=f[m>>2]|0}while(h>>>0<(f[i>>2]|0)-g>>2>>>0)}if(!r)return;p[a>>3]=+p[c+112>>3]+ +p[c+120>>3]*e;return}function A$a(a){a=a|0;Uua(a);GBb(a);return}function B$a(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=u;u=u+16|0;j=l;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;if(_i[f[(f[d>>2]|0)+244>>2]&2047](d)|0){k=c+16|0;i=c+24|0;h=c+32|0;g=0;e=0.0;do{c=cj[f[(f[d>>2]|0)+240>>2]&1023](d,g)|0;if(c){m=_i[f[(f[c>>2]|0)+168>>2]&2047](c)|0;c=f[h>>2]|0;e=e+(+p[k>>3]+ +p[i>>3]*(m>>>0>c>>>0?+((m-c|0)>>>0):0.0));p[a>>3]=e}g=g+1|0}while(g>>>0<(_i[f[(f[d>>2]|0)+244>>2]&2047](d)|0)>>>0)}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=l;return}m=Nu(Hua(3)|0,453239,50)|0;m=isb(m,+p[a>>3])|0;Drb(j,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);k=utb(j,504576)|0;k=cj[f[(f[k>>2]|0)+28>>2]&1023](k,10)|0;vtb(j);ksb(m,k)|0;Krb(m)|0;u=l;return}function C$a(a){a=a|0;Uua(a);GBb(a);return}function D$a(a,b,c){a=a|0;b=b|0;c=c|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}function E$a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=344984;b=a+12|0;f[b>>2]=0;d=a+16|0;f[d>>2]=0;e=a+20|0;f[e>>2]=0;c=EBb(128)|0;f[c+4>>2]=0;a=c+8|0;f[a>>2]=0;f[c>>2]=356124;p[c+16>>3]=1.0e-05;p[c+24>>3]=1.0e-10;f[c+32>>2]=256;p[c+40>>3]=1.0e-05;p[c+48>>3]=1.0e-10;f[c+56>>2]=256;p[c+64>>3]=1.0e-05;p[c+72>>3]=2.0e-11;f[c+80>>2]=256;p[c+88>>3]=1.0e-05;p[c+96>>3]=2.0e-11;f[c+104>>2]=256;p[c+112>>3]=0.0;p[c+120>>3]=10.0;f[b>>2]=c;f[a>>2]=(f[a>>2]|0)+1;a=EBb(64)|0;f[a+4>>2]=0;b=a+8|0;f[b>>2]=0;f[a>>2]=356144;p[a+16>>3]=1.0e-05;p[a+24>>3]=1.0e-10;f[a+32>>2]=256;p[a+40>>3]=1.0e-05;p[a+48>>3]=2.0e-11;f[a+56>>2]=256;c=f[d>>2]|0;if(((c|0)!=(a|0)?(f[d>>2]=a,f[b>>2]=(f[b>>2]|0)+1,c|0):0)?(b=c+8|0,d=f[b>>2]|0,f[b>>2]=d-1,(d|0)==1):0)Rua(c,1,1);a=EBb(88)|0;f[a+4>>2]=0;b=a+8|0;f[b>>2]=0;f[a>>2]=356164;g=a+16|0;d=a+40|0;c=a+64|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[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=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;c=f[e>>2]|0;if((c|0)==(a|0))return;f[e>>2]=a;f[b>>2]=(f[b>>2]|0)+1;if(!c)return;e=c+8|0;g=f[e>>2]|0;f[e>>2]=g-1;if((g|0)!=1)return;Rua(c,1,1);return}function F$a(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;d=a+44|0;f[a+48>>2]=0;f[a+52>>2]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;g=c+11|0;b[g>>0]=5;b[c>>0]=b[453319]|0;b[c+1>>0]=b[453320]|0;b[c+2>>0]=b[453321]|0;b[c+3>>0]=b[453322]|0;b[c+4>>0]=b[453323]|0;b[c+5>>0]=0;f[a>>2]=297204;f[d>>2]=297236;OBb(a+4|0,c);b[a+16>>0]=0;f[a>>2]=297276;f[d>>2]=297312;if((b[g>>0]|0)<0)GBb(f[c>>2]|0);g=a+20|0;t4a(g,0);s4a(a+32|0);c=a+40|0;b[c>>0]=0;f[a>>2]=345120;f[d>>2]=345156;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;b[c>>0]=0;_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;u=e;return}function G$a(a,b){a=a|0;b=b|0;t4a(a+12|0,0);s4a(a+24|0);f[a+32>>2]=b;f[a+36>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=345176;return}function H$a(a,b){a=a|0;b=b|0;f[a>>2]=b;b=a+4|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;gJa(a);return}function I$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=W(iJa(b,c)|0,a)|0;c=(d|0)==0?8:d<<3;b=(a|0)/(c|0)|0;return W(b+((a-(W(b,c)|0)|0)!=0&1)|0,d)|0}function J$a(a){a=a|0;var c=0,d=0,e=0,g=0;f[a+4>>2]=0;f[a+8>>2]=0;d=a+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;d=a+24|0;f[a+28>>2]=0;c=a+32|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[a>>2]=345200;c=a+52|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;b[c+11>>0]=0;b[c>>0]=0;c=a+100|0;e=a+64|0;g=e+36|0;do{f[e>>2]=0;e=e+4|0}while((e|0)<(g|0));f[c>>2]=4;n[a+104>>2]=1.0;f[a+108>>2]=1;g=a+112|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;f[g+24>>2]=0;f[d>>2]=1;return}function K$a(a,b){a=a|0;b=b|0;UBb(a+52|0,b)|0;return}function L$a(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;switch(c|0){case 0:{f[a+96>>2]=d;e=f[a+60>>2]|0;c=(f[a+64>>2]|0)-e|0;if((c|0)<=0){u=g;return}d=c>>>2;c=e;while(1){f[c>>2]=1;if((d|0)>1){d=d+-1|0;c=c+4|0}else break}u=g;return}case 1:{f[a+100>>2]=d;e=f[a+60>>2]|0;c=(f[a+64>>2]|0)-e|0;if((c|0)<=0){u=g;return}d=c>>>2;c=e;while(1){f[c>>2]=1;if((d|0)>1){d=d+-1|0;c=c+4|0}else break}u=g;return}default:{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=g;return}a=Nu(csb(Nu(csb(Nu(Hua(2)|0,453325,49)|0,c)|0,434083,1)|0,d)|0,409404,1)|0;Drb(e,a+(f[(f[a>>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(a,d)|0;Krb(a)|0;u=g;return}}}function M$a(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,k=0,l=0,m=0,n=0;h=f[a+112>>2]|0;if(!h){c=0;g=a+96|0}else{j=a+92|0;g=a+96|0;h=h+((W(iJa(f[j>>2]|0,f[g>>2]|0)|0,c)|0)>>>3)|0;c=f[a+84>>2]|0;i=a+72|0;if(!c)c=f[i>>2]|0;k=a+100|0;n=f[k>>2]|0;m=W(iJa(f[j>>2]|0,f[g>>2]|0)|0,c)|0;c=(n|0)==0?8:n<<3;l=(m|0)/(c|0)|0;h=h+(W(W(n,d)|0,l+((m-(W(l,c)|0)|0)!=0&1)|0)|0)|0;i=f[i>>2]|0;d=f[k>>2]|0;i=W(iJa(f[j>>2]|0,f[g>>2]|0)|0,i)|0;c=(d|0)==0?8:d<<3;j=(i|0)/(c|0)|0;c=j+((i-(W(j,c)|0)|0)!=0&1)|0;c=h+(W(W(W(d,e)|0,f[a+76>>2]|0)|0,c)|0)|0}switch(f[g>>2]|0){case 5120:{N$a(f[a+92>>2]|0,c,128.0,b);return}case 5121:{O$a(f[a+92>>2]|0,c,255.0,b);return}case 5122:{P$a(f[a+92>>2]|0,c,32768.0,b);return}case 5123:{Q$a(f[a+92>>2]|0,c,65535.0,b);return}case 5124:{R$a(f[a+92>>2]|0,c,2147483648.0,b);return}case 5125:{S$a(f[a+92>>2]|0,c,4294967296.0,b);return}case 5126:{g=f[a+92>>2]|0;a:do if((g|0)<6409)switch(g|0){case 6402:break a;case 6406:{f[c>>2]=f[b+12>>2];return}case 6407:{f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];return}case 6408:{f[c>>2]=f[b>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b+8>>2];f[c+12>>2]=f[b+12>>2];return}default:return}else{if((g|0)<32992){switch(g|0){case 6409:break a;case 6410:break;default:return}f[c>>2]=f[b>>2];f[c+4>>2]=f[b+12>>2];return}switch(g|0){case 32992:{f[c>>2]=f[b+8>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b>>2];return}case 32993:{f[c>>2]=f[b+8>>2];f[c+4>>2]=f[b+4>>2];f[c+8>>2]=f[b>>2];f[c+12>>2]=f[b+12>>2];return}default:return}}while(0);f[c>>2]=f[b>>2];return}case 5130:{T$a(f[a+92>>2]|0,c,1.0,b);return}default:return}}function N$a(a,c,d,e){a=a|0;c=c|0;d=+d;e=e|0;var f=0;a:do if((a|0)<6409)switch(a|0){case 6402:{f=2;break a}case 6406:{e=e+12|0;break a}case 6407:{b[c>>0]=~~(+n[e>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);c=c+2|0;e=e+8|0;break a}case 6408:{b[c>>0]=~~(+n[e>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);b[c+2>>0]=~~(+n[e+8>>2]*d);c=c+3|0;e=e+12|0;break a}default:return}else{if((a|0)<32992)switch(a|0){case 6409:{f=2;break a}case 6410:{b[c>>0]=~~(+n[e>>2]*d);c=c+1|0;e=e+12|0;break a}default:return}switch(a|0){case 32992:{b[c>>0]=~~(+n[e+8>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);c=c+2|0;break a}case 32993:{b[c>>0]=~~(+n[e+8>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);b[c+2>>0]=~~(+n[e>>2]*d);c=c+3|0;e=e+12|0;break a}default:return}}while(0);b[c>>0]=~~(+n[e>>2]*d);return}function O$a(a,c,d,e){a=a|0;c=c|0;d=+d;e=e|0;var f=0;a:do if((a|0)<6409)switch(a|0){case 6402:{f=2;break a}case 6406:{e=e+12|0;break a}case 6407:{b[c>>0]=~~(+n[e>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);c=c+2|0;e=e+8|0;break a}case 6408:{b[c>>0]=~~(+n[e>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);b[c+2>>0]=~~(+n[e+8>>2]*d);c=c+3|0;e=e+12|0;break a}default:return}else{if((a|0)<32992)switch(a|0){case 6409:{f=2;break a}case 6410:{b[c>>0]=~~(+n[e>>2]*d);c=c+1|0;e=e+12|0;break a}default:return}switch(a|0){case 32992:{b[c>>0]=~~(+n[e+8>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);c=c+2|0;break a}case 32993:{b[c>>0]=~~(+n[e+8>>2]*d);b[c+1>>0]=~~(+n[e+4>>2]*d);b[c+2>>0]=~~(+n[e>>2]*d);c=c+3|0;e=e+12|0;break a}default:return}}while(0);b[c>>0]=~~(+n[e>>2]*d);return}function P$a(a,b,c,e){a=a|0;b=b|0;c=+c;e=e|0;var f=0;a:do if((a|0)<6409)switch(a|0){case 6402:{f=2;break a}case 6406:{e=e+12|0;break a}case 6407:{d[b>>1]=~~(+n[e>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);b=b+4|0;e=e+8|0;break a}case 6408:{d[b>>1]=~~(+n[e>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);d[b+4>>1]=~~(+n[e+8>>2]*c);b=b+6|0;e=e+12|0;break a}default:return}else{if((a|0)<32992)switch(a|0){case 6409:{f=2;break a}case 6410:{d[b>>1]=~~(+n[e>>2]*c);b=b+2|0;e=e+12|0;break a}default:return}switch(a|0){case 32992:{d[b>>1]=~~(+n[e+8>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);b=b+4|0;break a}case 32993:{d[b>>1]=~~(+n[e+8>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);d[b+4>>1]=~~(+n[e>>2]*c);b=b+6|0;e=e+12|0;break a}default:return}}while(0);d[b>>1]=~~(+n[e>>2]*c);return}function Q$a(a,b,c,e){a=a|0;b=b|0;c=+c;e=e|0;var f=0;a:do if((a|0)<6409)switch(a|0){case 6402:{f=2;break a}case 6406:{e=e+12|0;break a}case 6407:{d[b>>1]=~~(+n[e>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);b=b+4|0;e=e+8|0;break a}case 6408:{d[b>>1]=~~(+n[e>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);d[b+4>>1]=~~(+n[e+8>>2]*c);b=b+6|0;e=e+12|0;break a}default:return}else{if((a|0)<32992)switch(a|0){case 6409:{f=2;break a}case 6410:{d[b>>1]=~~(+n[e>>2]*c);b=b+2|0;e=e+12|0;break a}default:return}switch(a|0){case 32992:{d[b>>1]=~~(+n[e+8>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);b=b+4|0;break a}case 32993:{d[b>>1]=~~(+n[e+8>>2]*c);d[b+2>>1]=~~(+n[e+4>>2]*c);d[b+4>>1]=~~(+n[e>>2]*c);b=b+6|0;e=e+12|0;break a}default:return}}while(0);d[b>>1]=~~(+n[e>>2]*c);return}function R$a(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;a:do if((a|0)<6409)switch(a|0){case 6402:{e=2;break a}case 6406:{d=d+12|0;break a}case 6407:{f[b>>2]=~~(+n[d>>2]*c);f[b+4>>2]=~~(+n[d+4>>2]*c);b=b+8|0;d=d+8|0;break a}case 6408:{f[b>>2]=~~(+n[d>>2]*c);f[b+4>>2]=~~(+n[d+4>>2]*c);f[b+8>>2]=~~(+n[d+8>>2]*c);b=b+12|0;d=d+12|0;break a}default:return}else{if((a|0)<32992)switch(a|0){case 6409:{e=2;break a}case 6410:{f[b>>2]=~~(+n[d>>2]*c);b=b+4|0;d=d+12|0;break a}default:return}switch(a|0){case 32992:{f[b>>2]=~~(+n[d+8>>2]*c);f[b+4>>2]=~~(+n[d+4>>2]*c);b=b+8|0;break a}case 32993:{f[b>>2]=~~(+n[d+8>>2]*c);f[b+4>>2]=~~(+n[d+4>>2]*c);f[b+8>>2]=~~(+n[d>>2]*c);b=b+12|0;d=d+12|0;break a}default:return}}while(0);f[b>>2]=~~(+n[d>>2]*c);return}function S$a(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;a:do if((a|0)<6409)switch(a|0){case 6402:{e=2;break a}case 6406:{d=d+12|0;break a}case 6407:{f[b>>2]=~~(+n[d>>2]*c)>>>0;f[b+4>>2]=~~(+n[d+4>>2]*c)>>>0;b=b+8|0;d=d+8|0;break a}case 6408:{f[b>>2]=~~(+n[d>>2]*c)>>>0;f[b+4>>2]=~~(+n[d+4>>2]*c)>>>0;f[b+8>>2]=~~(+n[d+8>>2]*c)>>>0;b=b+12|0;d=d+12|0;break a}default:return}else{if((a|0)<32992)switch(a|0){case 6409:{e=2;break a}case 6410:{f[b>>2]=~~(+n[d>>2]*c)>>>0;b=b+4|0;d=d+12|0;break a}default:return}switch(a|0){case 32992:{f[b>>2]=~~(+n[d+8>>2]*c)>>>0;f[b+4>>2]=~~(+n[d+4>>2]*c)>>>0;b=b+8|0;break a}case 32993:{f[b>>2]=~~(+n[d+8>>2]*c)>>>0;f[b+4>>2]=~~(+n[d+4>>2]*c)>>>0;f[b+8>>2]=~~(+n[d>>2]*c)>>>0;b=b+12|0;d=d+12|0;break a}default:return}}while(0);f[b>>2]=~~(+n[d>>2]*c)>>>0;return}function T$a(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;a:do if((a|0)<6409)switch(a|0){case 6402:{e=2;break a}case 6406:{d=d+12|0;break a}case 6407:{p[b>>3]=+n[d>>2]*c;p[b+8>>3]=+n[d+4>>2]*c;b=b+16|0;d=d+8|0;break a}case 6408:{p[b>>3]=+n[d>>2]*c;p[b+8>>3]=+n[d+4>>2]*c;p[b+16>>3]=+n[d+8>>2]*c;b=b+24|0;d=d+12|0;break a}default:return}else{if((a|0)<32992)switch(a|0){case 6409:{e=2;break a}case 6410:{p[b>>3]=+n[d>>2]*c;b=b+8|0;d=d+12|0;break a}default:return}switch(a|0){case 32992:{p[b>>3]=+n[d+8>>2]*c;p[b+8>>3]=+n[d+4>>2]*c;b=b+16|0;break a}case 32993:{p[b>>3]=+n[d+8>>2]*c;p[b+8>>3]=+n[d+4>>2]*c;p[b+16>>3]=+n[d>>2]*c;b=b+24|0;d=d+12|0;break a}default:return}}while(0);p[b>>3]=+n[d>>2]*c;return}function U$a(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;n=u;u=u+32|0;l=n;m=a+4|0;c=f[a>>2]|0;e=((f[m>>2]|0)-c|0)/20|0;d=e+1|0;if(d>>>0>214748364)DCb(a);k=a+8|0;h=((f[k>>2]|0)-c|0)/20|0;c=h<<1;c=h>>>0<107374182?(c>>>0<d>>>0?d:c):214748364;h=l+12|0;f[h>>2]=0;f[l+16>>2]=a+8;do if(c)if(c>>>0>214748364){n=ab(8)|0;KBb(n,410101);f[n>>2]=362060;eb(n|0,302144,1464)}else{d=EBb(c*20|0)|0;break}else d=0;while(0);f[l>>2]=d;g=d+(e*20|0)|0;i=l+8|0;f[i>>2]=g;j=l+4|0;f[j>>2]=g;f[h>>2]=d+(c*20|0);OBb(g,b);c=f[b+12>>2]|0;f[d+(e*20|0)+12>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}c=f[b+16>>2]|0;f[d+(e*20|0)+16>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}c=(f[i>>2]|0)+20|0;f[i>>2]=c;g=f[a>>2]|0;d=f[m>>2]|0;if((d|0)==(g|0)){b=j;o=f[j>>2]|0;j=g;e=c;g=d;f[a>>2]=o;f[b>>2]=j;f[m>>2]=e;f[i>>2]=g;m=f[k>>2]|0;a=f[h>>2]|0;f[k>>2]=a;f[h>>2]=m;f[l>>2]=j;zLa(l);u=n;return}e=f[j>>2]|0;do{c=d;d=d+-20|0;OBb(e+-20|0,d);b=f[c+-8>>2]|0;f[e+-8>>2]=b;if(b|0){o=b+8|0;f[o>>2]=(f[o>>2]|0)+1}c=f[c+-4>>2]|0;f[e+-4>>2]=c;if(c|0){o=c+8|0;f[o>>2]=(f[o>>2]|0)+1}e=(f[j>>2]|0)+-20|0;f[j>>2]=e}while((d|0)!=(g|0));b=j;j=i;o=f[a>>2]|0;g=f[i>>2]|0;i=f[m>>2]|0;f[a>>2]=e;f[b>>2]=o;f[m>>2]=g;f[j>>2]=i;m=f[k>>2]|0;a=f[h>>2]|0;f[k>>2]=a;f[h>>2]=m;f[l>>2]=o;zLa(l);u=n;return}function V$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=a+200|0;_i[f[(f[h>>2]|0)+8>>2]&2047](h)|0;e=a+212|0;d=f[e>>2]|0;if((((f[a+216>>2]|0)-d|0)/20|0)>>>0>b>>>0)g=e;else{xLa(e,b+1|0);g=e;d=f[e>>2]|0}d=d+(b*20|0)+12|0;a=f[d>>2]|0;if((a|0)!=(c|0)){f[d>>2]=c;if(c|0){e=c+8|0;f[e>>2]=(f[e>>2]|0)+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)}UBb((f[g>>2]|0)+(b*20|0)|0,c+52|0)|0;_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0;return}function W$a(a,c){a=a|0;c=c|0;var d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=u;u=u+32|0;i=l;if(!c){u=l;return}k=a+200|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;j=a+216|0;h=f[j>>2]|0;if(h>>>0<(f[a+220>>2]|0)>>>0){OBb(h,i);e=f[i+12>>2]|0;f[h+12>>2]=e;if(e|0){g=e+8|0;f[g>>2]=(f[g>>2]|0)+1}e=i+16|0;g=f[e>>2]|0;f[h+16>>2]=g;if(g|0){h=g+8|0;f[h>>2]=(f[h>>2]|0)+1}f[j>>2]=(f[j>>2]|0)+20}else{U$a(a+212|0,i);e=i+16|0}g=f[e>>2]|0;if(g|0?(m=g+8|0,h=f[m>>2]|0,f[m>>2]=h-1,(h|0)==1):0)Rua(g,1,1);f[e>>2]=0;e=i+12|0;g=f[e>>2]|0;if(g|0?(h=g+8|0,m=f[h>>2]|0,f[h>>2]=m-1,(m|0)==1):0)Rua(g,1,1);f[e>>2]=0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);e=(f[j>>2]|0)+-8|0;g=f[e>>2]|0;if(((g|0)!=(c|0)?(f[e>>2]=c,m=c+8|0,f[m>>2]=(f[m>>2]|0)+1,g|0):0)?(c=g+8|0,m=f[c>>2]|0,f[c>>2]=m-1,(m|0)==1):0)Rua(g,1,1);c=f[a+212>>2]|0;m=f[j>>2]|0;d=+p[a+184>>3];e=m;g=c;if((c|0)!=(m|0))d=d/+(((e-g|0)/20|0)>>>0);p[a+192>>3]=d;if(!(f[a+112>>2]|0))wLa(a,((e-g|0)/20|0)+-1|0);_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;u=l;return}function X$a(a){a=a|0;var b=0,c=0,d=0,e=0;f[a+76>>2]=0;f[a+80>>2]=0;b=a+84|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[a+96>>2]=2;f[a+100>>2]=0;f[a+12>>2]=0;b=a+28|0;f[a+4>>2]=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;f[a+8>>2]=-1;f[a+16>>2]=2;f[a+20>>2]=-1;f[a+24>>2]=0;f[a>>2]=345696;f[a+72>>2]=346068;f[a+56>>2]=0;f[a+60>>2]=4;f[a+64>>2]=32;a=a+68|0;f[a>>2]=0;b=EBb(76)|0;f[b+4>>2]=0;c=b+8|0;f[c>>2]=0;d=b+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[b+24>>2]=2;f[b+28>>2]=0;f[b>>2]=345452;d=b+32|0;e=d+44|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));f[a>>2]=b;f[c>>2]=(f[c>>2]|0)+1;return}function Y$a(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;i=k;g=a+4|0;j=a+8|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;if(_i[f[(f[c>>2]|0)+180>>2]&2047](c)|0){u=k;return}h=c+32|0;d=c+36|0;if((f[h>>2]|0)==(f[d>>2]|0)){u=k;return}e=f[a>>2]|0;if(((e|0)!=(c|0)?(f[a>>2]=c,a=c+8|0,f[a>>2]=(f[a>>2]|0)+1,e|0):0)?(l=e+8|0,a=f[l>>2]|0,f[l>>2]=a-1,(a|0)==1):0)Rua(e,1,1);if((g|0)!=(h|0))a0a(g,f[h>>2]|0,f[d>>2]|0);a=f[g>>2]|0;if((a|0)==(f[j>>2]|0)){u=k;return}do{d=f[a>>2]|0;EZa(d,c);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=jsb(Nu(Hua(3)|0,453400,22)|0,d)|0;Drb(i,l+(f[(f[l>>2]|0)+-12>>2]|0)|0);h=utb(i,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(i);ksb(l,h)|0;Krb(l)|0}a=a+4|0}while((a|0)!=(f[j>>2]|0));u=k;return}function Z$a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=u;u=u+16|0;e=i;g=a+4|0;c=f[g>>2]|0;h=a+8|0;if((c|0)!=(f[h>>2]|0)){do{d=f[c>>2]|0;FZa(d,f[a>>2]|0,0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){d=jsb(Nu(Hua(3)|0,453375,24)|0,d)|0;Drb(e,d+(f[(f[d>>2]|0)+-12>>2]|0)|0);j=utb(e,504576)|0;j=cj[f[(f[j>>2]|0)+28>>2]&1023](j,10)|0;vtb(e);ksb(d,j)|0;Krb(d)|0}c=c+4|0}while((c|0)!=(f[h>>2]|0));c=f[g>>2]|0}if(c|0){f[h>>2]=c;GBb(c)}c=f[a>>2]|0;if(!c){f[a>>2]=0;u=i;return}h=c+8|0;j=f[h>>2]|0;f[h>>2]=j-1;if((j|0)!=1){f[a>>2]=0;u=i;return}Rua(c,1,1);f[a>>2]=0;u=i;return}function _$a(a){a=a|0;var b=0;b=f[a>>2]|0;if(!b)return;f[a+4>>2]=b;GBb(b);return}function $$a(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 a0a(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<e>>>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 b0a(a,b){a=a|0;b=b|0;n[a>>2]=+p[b>>3];n[a+4>>2]=+p[b+8>>3];n[a+8>>2]=+p[b+16>>3];n[a+12>>2]=+p[b+24>>3];n[a+16>>2]=+p[b+32>>3];n[a+20>>2]=+p[b+40>>3];n[a+24>>2]=+p[b+48>>3];n[a+28>>2]=+p[b+56>>3];n[a+32>>2]=+p[b+64>>3];n[a+36>>2]=+p[b+72>>3];n[a+40>>2]=+p[b+80>>3];n[a+44>>2]=+p[b+88>>3];n[a+48>>2]=+p[b+96>>3];n[a+52>>2]=+p[b+104>>3];n[a+56>>2]=+p[b+112>>3];n[a+60>>2]=+p[b+120>>3];return}function c0a(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,f=0,g=0.0,h=0,i=0,j=0.0,k=0,l=0.0,m=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;m=b+16|0;k=b+32|0;i=b+48|0;B=b+4|0;A=b+20|0;z=b+36|0;y=b+52|0;x=b+8|0;w=b+24|0;v=b+40|0;u=b+56|0;t=b+12|0;s=b+28|0;r=b+44|0;q=b+60|0;c=+n[a>>2];d=a+4|0;e=+n[d>>2];f=a+8|0;g=+n[f>>2];h=a+12|0;j=+n[h>>2];l=c*+n[B>>2]+e*+n[A>>2]+g*+n[z>>2]+j*+n[y>>2];o=c*+n[x>>2]+e*+n[w>>2]+g*+n[v>>2]+j*+n[u>>2];p=c*+n[t>>2]+e*+n[s>>2]+g*+n[r>>2]+j*+n[q>>2];n[a>>2]=c*+n[b>>2]+e*+n[m>>2]+g*+n[k>>2]+j*+n[i>>2];n[d>>2]=l;n[f>>2]=o;n[h>>2]=p;h=a+16|0;p=+n[h>>2];f=a+20|0;o=+n[f>>2];d=a+24|0;l=+n[d>>2];C=a+28|0;j=+n[C>>2];g=p*+n[B>>2]+o*+n[A>>2]+l*+n[z>>2]+j*+n[y>>2];e=p*+n[x>>2]+o*+n[w>>2]+l*+n[v>>2]+j*+n[u>>2];c=p*+n[t>>2]+o*+n[s>>2]+l*+n[r>>2]+j*+n[q>>2];n[h>>2]=p*+n[b>>2]+o*+n[m>>2]+l*+n[k>>2]+j*+n[i>>2];n[f>>2]=g;n[d>>2]=e;n[C>>2]=c;C=a+32|0;c=+n[C>>2];d=a+36|0;e=+n[d>>2];f=a+40|0;g=+n[f>>2];h=a+44|0;j=+n[h>>2];l=c*+n[B>>2]+e*+n[A>>2]+g*+n[z>>2]+j*+n[y>>2];o=c*+n[x>>2]+e*+n[w>>2]+g*+n[v>>2]+j*+n[u>>2];p=c*+n[t>>2]+e*+n[s>>2]+g*+n[r>>2]+j*+n[q>>2];n[C>>2]=c*+n[b>>2]+e*+n[m>>2]+g*+n[k>>2]+j*+n[i>>2];n[d>>2]=l;n[f>>2]=o;n[h>>2]=p;h=a+48|0;p=+n[h>>2];f=a+52|0;o=+n[f>>2];d=a+56|0;l=+n[d>>2];a=a+60|0;j=+n[a>>2];g=p*+n[B>>2]+o*+n[A>>2]+l*+n[z>>2]+j*+n[y>>2];e=p*+n[x>>2]+o*+n[w>>2]+l*+n[v>>2]+j*+n[u>>2];c=p*+n[t>>2]+o*+n[s>>2]+l*+n[r>>2]+j*+n[q>>2];n[h>>2]=p*+n[b>>2]+o*+n[m>>2]+l*+n[k>>2]+j*+n[i>>2];n[f>>2]=g;n[d>>2]=e;n[a>>2]=c;return}function d0a(a){a=a|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;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;n[a+44>>2]=-1.0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;n[a+64>>2]=-1.0;c=a+72|0;f[a+92>>2]=0;f[a+100>>2]=0;f[a+120>>2]=0;b[a+68>>0]=0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[c+12>>2]=0;f[a+116>>2]=-1;f[a+88>>2]=0;f[a+96>>2]=0;b[a+104>>0]=1;f[a+108>>2]=0;f[a+112>>2]=0;f[a+124>>2]=0;f[a+128>>2]=0;f[a+132>>2]=0;f[a+136>>2]=0;f[a>>2]=346548;f3a(a+144|0);f3a(a+272|0);b[a+400>>0]=0;return}function e0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+84|0;c=f[h>>2]|0;if((c|0)==(b|0))return;if(((f[a+88>>2]|0)==0?(d=f[a+72>>2]|0,g=a+76|0,(d|0)!=(f[g>>2]|0)):0)?(e=(((c|0)!=0)<<31>>31)+((b|0)!=0&1)|0,(e|0)!=0):0){c=d;do{d=f[c>>2]|0;Bwa(d,(f[d+88>>2]|0)+e|0);c=c+4|0}while((c|0)!=(f[g>>2]|0));c=f[h>>2]|0}if((c|0)==(b|0))return;f[h>>2]=b;if(b|0){h=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1}if(!c)return;c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;b=c+8|0;h=f[b>>2]|0;f[b>>2]=h-1;if((h|0)!=1)return;Rua(c,1,1);return}function f0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=a+92|0;c=f[h>>2]|0;if((c|0)==(b|0))return;if(((f[a+96>>2]|0)==0?(d=f[a+72>>2]|0,g=a+76|0,(d|0)!=(f[g>>2]|0)):0)?(e=(((c|0)!=0)<<31>>31)+((b|0)!=0&1)|0,(e|0)!=0):0){c=d;do{d=f[c>>2]|0;Cwa(d,(f[d+96>>2]|0)+e|0);c=c+4|0}while((c|0)!=(f[g>>2]|0));c=f[h>>2]|0}if((c|0)==(b|0))return;f[h>>2]=b;if(b|0){h=b+(f[(f[b>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1}if(!c)return;c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;b=c+8|0;h=f[b>>2]|0;f[b>>2]=h-1;if((h|0)!=1)return;Rua(c,1,1);return}function g0a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;i=c&1;j=a+104|0;e=b[j>>0]|0;if((e&255|0)==(c&1|0))return;if(((f[a+108>>2]|0)==0?(d=f[a+72>>2]|0,h=a+76|0,(d|0)!=(f[h>>2]|0)):0)?(g=(e+-1<<24>>24<<24>>24)+((c^1)&1)|0,g|0):0)do{e=f[d>>2]|0;Dwa(e,(f[e+108>>2]|0)+g|0);d=d+4|0}while((d|0)!=(f[h>>2]|0));b[j>>0]=i;return}function h0a(a){a=a|0;if(f[a+112>>2]|0){a=1;return a|0}a=(WCb(a,295136,295152,0)|0)!=0;return a|0}function i0a(a){a=a|0;var b=0,c=0,d=0;a=a+28|0;b=f[a>>2]|0;if(b|0)return b|0;c=EBb(60)|0;f[c+4>>2]=0;b=c+8|0;f[b>>2]=0;d=c+12|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[c+24>>2]=2;f[c+28>>2]=0;f[c>>2]=337800;d=c+32|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[d+24>>2]=0;f[a>>2]=c;f[b>>2]=(f[b>>2]|0)+1;b=f[a>>2]|0;return b|0}function j0a(a){a=a|0;a=f[a+28>>2]|0;if(a|0){a=_i[f[(f[a>>2]|0)+208>>2]&2047](a)|0;return a|0}_i[f[(f[124973]|0)+8>>2]&2047](499892)|0;if((b[497344]|0)==0?DDb(497344)|0:0){f[124977]=0;f[124978]=0;f[124979]=0}_i[f[(f[124973]|0)+12>>2]&2047](499892)|0;a=499908;return a|0}function k0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+28|0;a=f[c>>2]|0;if(!a){d=EBb(60)|0;f[d+4>>2]=0;a=d+8|0;f[a>>2]=0;e=d+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[d+24>>2]=2;f[d+28>>2]=0;f[d>>2]=337800;e=d+32|0;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[c>>2]=d;f[a>>2]=(f[a>>2]|0)+1;a=f[c>>2]|0}a=_i[f[(f[a>>2]|0)+208>>2]&2047](a)|0;c=a+4|0;d=f[c>>2]|0;if((d|0)==(f[a+8>>2]|0)){Ru(a,b);return}else{OBb(d,b);f[c>>2]=(f[c>>2]|0)+12;return}}function l0a(a,b){a=a|0;b=b|0;var c=0;f[a+60>>2]=0;f[a+64>>2]=0;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;f[a>>2]=221932;f[a+56>>2]=222300;f[a+12>>2]=0;c=a+28|0;f[a+4>>2]=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[c+24>>2]=0;f[a+8>>2]=-1;f[a+16>>2]=b;f[a+20>>2]=-1;f[a+24>>2]=0;return}function m0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=f[b>>2]|0;f[a>>2]=d;f[a+(f[d+-12>>2]|0)>>2]=f[b+4>>2];f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2];f[a+12>>2]=0;f[a+16>>2]=f[c+16>>2];f[a+20>>2]=f[c+20>>2];f[a+24>>2]=f[c+24>>2];d=a+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[d+24>>2]=0;return}function n0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+56|0;Fva(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0,c);f[a>>2]=221932;f[d>>2]=222300;f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];f[a+12>>2]=0;f[a+16>>2]=f[b+16>>2];f[a+20>>2]=f[b+20>>2];f[a+24>>2]=f[b+24>>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[c+24>>2]=0;return}function o0a(a){a=a|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);f[124868]=a;return}function p0a(a){a=a|0;var c=0,d=0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);c=f[499564+(f[(f[124891]|0)+-12>>2]|0)+24>>2]|0;if(!c)return;c=c+52|0;d=f[c>>2]|0;if((d|0)==(a|0))return;f[c>>2]=a;if(a|0){a=a+8|0;f[a>>2]=(f[a>>2]|0)+1}if(!d)return;c=d+8|0;a=f[c>>2]|0;f[c>>2]=a-1;if((a|0)!=1)return;Rua(d,1,1);return}function q0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=a+28|0;c=f[a>>2]|0;if((c|0)==(b|0))return;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[a>>2]=b;if(!b)return;e=b+8|0;f[e>>2]=(f[e>>2]|0)+1;return}function r0a(a){a=a|0;f[a>>2]=346852;return}function s0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;g=b;i=a+12|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;h=a+28|0;d=a+32|0;c=f[d>>2]|0;do if(c){e=a+32|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){a=f[i>>2]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](i)|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+32>>2]|0,c);a=a+36|0;f[a>>2]=(f[a>>2]|0)+1;a=f[i>>2]|0;a=a+12|0;a=f[a>>2]|0;_i[a&2047](i)|0;return}function t0a(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+12|0;_i[f[(f[g>>2]|0)+8>>2]&2047](g)|0;h=a+28|0;d=a+32|0;i=f[d>>2]|0;if(i|0){e=d;c=i;do{j=(f[c+16>>2]|0)>>>0<b>>>0;e=j?e:c;c=f[(j?c+4|0:c)>>2]|0}while((c|0)!=0);if((e|0)!=(d|0)?(f[e+16>>2]|0)>>>0<=b>>>0:0){c=f[e+4>>2]|0;if(!c){b=e+8|0;c=f[b>>2]|0;if((f[c>>2]|0)!=(e|0))do{j=f[b>>2]|0;b=j+8|0;c=f[b>>2]|0}while((f[c>>2]|0)!=(j|0))}else while(1){b=f[c>>2]|0;if(!b)break;else c=b}if((f[h>>2]|0)==(e|0))f[h>>2]=c;j=a+36|0;f[j>>2]=(f[j>>2]|0)+-1;Zq(i,e);GBb(e)}}_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0;return}function u0a(a){a=a|0;var b=0,c=0,d=0;c=a+12|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;a=a+24|0;b=f[a>>2]|0;if(b){d=b+8|0;b=f[d>>2]|0;f[d>>2]=b+1;a=f[a>>2]|0;if(!b){a=a+8|0;f[a>>2]=(f[a>>2]|0)-1;a=0}}else a=0;_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;return a|0}function v0a(a){a=a|0;var b=0;b=a+8|0;a=f[b>>2]|0;f[b>>2]=a-1;return a+-1|0}function w0a(a){a=a|0;t4a(a,0);f[a+12>>2]=0;f[a+16>>2]=0;f[a+20>>2]=0;return}function x0a(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>>3;j=a+8|0;d=f[j>>2]|0;g=f[a>>2]|0;e=g;if(i>>>0>d-g>>3>>>0){if(g){h=a+4|0;d=f[h>>2]|0;if((d|0)==(e|0))d=g;else{do{d=d+-8|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>536870911)DCb(a);l=d>>2;d=d>>3>>>0<268435455?(l>>>0<i>>>0?i:l):536870911;if(d>>>0>536870911)DCb(a);e=EBb(d<<3)|0;g=a+4|0;f[g>>2]=e;f[a>>2]=e;f[j>>2]=e+(d<<3);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}f[e+4>>2]=f[b+4>>2];b=b+8|0;e=(f[g>>2]|0)+8|0;f[g>>2]=e}while((b|0)!=(c|0));return}j=a+4|0;d=(f[j>>2]|0)-g>>3;i=i>>>0>d>>>0;d=b+(d<<3)|0;a=i?d:c;if((a|0)==(b|0))b=e;else{do{if((b|0)!=(e|0)){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)}f[e+4>>2]=f[b+4>>2]}b=b+8|0;e=e+8|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}f[b+4>>2]=f[d+4>>2];d=d+8|0;b=(f[j>>2]|0)+8|0;f[j>>2]=b}while((d|0)!=(c|0));return}d=f[j>>2]|0;if((d|0)!=(b|0))do{d=d+-8|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 y0a(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=f[a+12>>2]|0;j=a+16|0;c=f[j>>2]|0;h=i;if((c|0)==(i|0)){e=a+12|0;c=h}else{do{c=c+-8|0;d=f[c>>2]|0;if(d|0?(g=d+8|0,k=f[g>>2]|0,f[g>>2]=k-1,(k|0)==1):0)Rua(d,1,1);f[c>>2]=0}while((c|0)!=(i|0));c=a+12|0;e=c;c=f[c>>2]|0}f[j>>2]=i;k=b+4|0;g=(f[k>>2]|0)-(f[b>>2]|0)>>2;d=h-c>>3;if(g>>>0<=d>>>0){if(g>>>0<d>>>0){e=c+(g<<3)|0;if((e|0)!=(i|0)){c=i;do{c=c+-8|0;d=f[c>>2]|0;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[c>>2]=0}while((c|0)!=(e|0))}f[j>>2]=e}}else z0a(e,g-d|0);c=f[b>>2]|0;if((f[k>>2]|0)==(c|0))return;j=a+12|0;i=0;do{g=f[c+(i<<2)>>2]|0;h=f[j>>2]|0;if(!g)c=0;else c=cCa(g)|0;d=h+(i<<3)|0;e=f[d>>2]|0;if((e|0)!=(c|0)){f[d>>2]=c;if(c|0){a=c+8|0;f[a>>2]=(f[a>>2]|0)+1}if(e|0?(c=e+8|0,a=f[c>>2]|0,f[c>>2]=a-1,(a|0)==1):0)Rua(e,1,1);c=f[d>>2]|0}if(!c)c=0;else c=(f[c+24>>2]|0)==0?0:g;f[h+(i<<3)+4>>2]=c;i=i+1|0;c=f[b>>2]|0}while(i>>>0<(f[k>>2]|0)-c>>2>>>0);return}function z0a(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;m=a+8|0;e=f[m>>2]|0;n=a+4|0;d=f[n>>2]|0;c=d;if(e-d>>3>>>0>=b>>>0){_Db(d|0,0,b<<3|0)|0;f[n>>2]=c+(b<<3);return}i=f[a>>2]|0;g=d-i>>3;d=g+b|0;k=i;if(d>>>0>536870911)DCb(a);j=e-i|0;l=j>>2;d=j>>3>>>0<268435455?(l>>>0<d>>>0?d:l):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{h=EBb(d<<3)|0;break}else h=0;while(0);e=h+(g<<3)|0;l=h+(d<<3)|0;_Db(e|0,0,b<<3|0)|0;j=e+(b<<3)|0;if((c|0)==(k|0)){d=e;b=k;e=i}else{g=g+-1-((c+-8+(0-i)|0)>>>3)|0;while(1){d=c;c=c+-8|0;b=f[c>>2]|0;f[e+-8>>2]=b;if(b|0){i=b+8|0;f[i>>2]=(f[i>>2]|0)+1}f[e+-4>>2]=f[d+-4>>2];if((c|0)==(k|0))break;else e=e+-8|0}e=f[a>>2]|0;d=h+(g<<3)|0;b=e;c=f[n>>2]|0}f[a>>2]=d;f[n>>2]=j;f[m>>2]=l;if((c|0)!=(b|0))do{c=c+-8|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)!=(b|0));if(!e)return;GBb(e);return}function A0a(a,b){a=a|0;b=b|0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;y0a(a,b);_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;return}function B0a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;d=f[a+12>>2]|0;g=a+16|0;b=f[g>>2]|0;if((b|0)!=(d|0))do{b=b+-8|0;c=f[b>>2]|0;if(c|0?(h=c+8|0,e=f[h>>2]|0,f[h>>2]=e-1,(e|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(d|0));f[g>>2]=d;_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;d=a+12|0;e=f[d>>2]|0;if(!e){R3a(a);return}b=f[g>>2]|0;if((b|0)==(e|0))b=e;else{do{b=b+-8|0;c=f[b>>2]|0;if(c|0?(i=c+8|0,h=f[i>>2]|0,f[i>>2]=h-1,(h|0)==1):0)Rua(c,1,1);f[b>>2]=0}while((b|0)!=(e|0));b=f[d>>2]|0}f[g>>2]=e;GBb(b);R3a(a);return}function C0a(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+-8|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 D0a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;d=f[a+12>>2]|0;e=a+16|0;b=f[e>>2]|0;if((b|0)!=(d|0))do{b=b+-8|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));f[e>>2]=d;_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;return}function E0a(a,b){a=a|0;b=b|0;if((b|0)==(a|0))return a|0;_i[f[(f[b>>2]|0)+8>>2]&2047](b)|0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;x0a(a+12|0,f[b+12>>2]|0,f[b+16>>2]|0);_i[f[(f[a>>2]|0)+12>>2]&2047](a)|0;_i[f[(f[b>>2]|0)+12>>2]&2047](b)|0;return a|0}function F0a(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;l=p;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;m=a+12|0;n=a+16|0;g=f[n>>2]|0;e=f[m>>2]|0;h=g-e>>3;k=c+4|0;i=f[c>>2]|0;j=(f[k>>2]|0)-i>>2;d=e;if(h>>>0<=j>>>0){if(h>>>0<j>>>0)f[k>>2]=i+(h<<2)}else{G0a(c,h-j|0);d=f[m>>2]|0;g=f[n>>2]|0;e=d}if((g|0)==(e|0)){o=1;n=f[a>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](a)|0;u=p;return o|0}g=0;while(1){e=f[d+(g<<3)>>2]|0;if(!e)break;if(!(f[e+24>>2]|0))break;d=f[d+(g<<3)+4>>2]|0;if(!d)break;f[(f[c>>2]|0)+(g<<2)>>2]=d;g=g+1|0;d=f[m>>2]|0;if(g>>>0>=(f[n>>2]|0)-d>>3>>>0){d=1;o=17;break}}if((o|0)==17){o=f[a>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](a)|0;u=p;return d|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){o=Nu(Hua(3)|0,453423,57)|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}f[k>>2]=f[c>>2];o=0;n=f[a>>2]|0;n=n+12|0;n=f[n>>2]|0;_i[n&2047](a)|0;u=p;return o|0}function G0a(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;k=a+8|0;d=f[k>>2]|0;l=a+4|0;c=f[l>>2]|0;if(d-c>>2>>>0>=b>>>0){do{f[c>>2]=0;c=(f[l>>2]|0)+4|0;f[l>>2]=c;b=b+-1|0}while((b|0)!=0);return}j=f[a>>2]|0;g=c-j|0;h=g>>2;i=h+b|0;if(i>>>0>1073741823)DCb(a);d=d-j|0;e=d>>1;e=d>>2>>>0<536870911?(e>>>0<i>>>0?i:e):1073741823;do if(e)if(e>>>0>1073741823){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{d=EBb(e<<2)|0;c=d;break}else{c=0;d=0}while(0);_Db(c+(h<<2)|0,0,b<<2|0)|0;if((g|0)>0)YDb(d|0,j|0,g|0)|0;f[a>>2]=c;f[l>>2]=c+(i<<2);f[k>>2]=c+(e<<2);if(!j)return;GBb(j);return}function H0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a+120>>2]=d;f[a+124>>2]=b;UBb(a+128|0,c)|0;return}function I0a(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;h=b;j=f[c+8>>2]|0;k=a+160|0;_i[f[(f[k>>2]|0)+8>>2]&2047](k)|0;i=a+148|0;e=a+152|0;d=f[e>>2]|0;do if(d){g=a+152|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){b=d;g=d;break}else if((e|0)==8){b=d;break}else if((e|0)==9){b=d;break}}else{b=e;g=e}while(0);d=f[g>>2]|0;if(!d){d=EBb(24)|0;f[d+16>>2]=h;f[d+20>>2]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=b;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+152>>2]|0,e);i=a+156|0;f[i>>2]=(f[i>>2]|0)+1}d=d+20|0;if((j-(f[d>>2]|0)|0)>>>0<(f[a+180>>2]|0)>>>0){_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;return}else{f[d>>2]=j;_i[f[(f[k>>2]|0)+12>>2]&2047](k)|0;k=f[a+136>>2]|0;Bj[f[(f[k>>2]|0)+212>>2]&1023](k,c);return}}function J0a(a,c){a=a|0;c=c|0;if(!(b[a+184>>0]|0))return;a=f[a+140>>2]|0;Bj[f[(f[a>>2]|0)+212>>2]&1023](a,c);return}function K0a(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;n=a+12|0;_i[f[(f[n>>2]|0)+8>>2]&2047](n)|0;l=a+40|0;m=a+28|0;d=f[l>>2]|0;if((d|0)==(m|0)){d=f[a+32>>2]|0;f[a+40>>2]=d;e=d}else e=d;j=a+36|0;if((e|0)!=(m|0)){i=a+40|0;do{e=f[d+8>>2]|0;if(e|0){h=e+(f[(f[e>>2]|0)+-12>>2]|0)+8|0;f[h>>2]=(f[h>>2]|0)+1}g=f[l>>2]|0;d=g+4|0;if(!(b[e+16>>0]|0)){h=f[d>>2]|0;o=f[g>>2]|0;f[o+4>>2]=h;f[f[d>>2]>>2]=o;f[j>>2]=(f[j>>2]|0)+-1;d=f[g+8>>2]|0;if(d|0?(k=d+(f[(f[d>>2]|0)+-12>>2]|0)|0,d=k+8|0,o=f[d>>2]|0,f[d>>2]=o-1,(o|0)==1):0)Rua(k,1,1);GBb(g);f[i>>2]=h}else f[l>>2]=f[d>>2];Bj[f[(f[e>>2]|0)+4>>2]&1023](e,c);d=e+(f[(f[e>>2]|0)+-12>>2]|0)|0;h=d+8|0;o=f[h>>2]|0;f[h>>2]=o-1;if((o|0)==1)Rua(d,1,1);d=f[l>>2]|0}while((d|0)!=(m|0))}if(f[j>>2]|0){o=f[n>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](n)|0;return}e=f[a+24>>2]|0;d=e+4|0;e=e+24|0;if(!(b[e>>0]|0)){o=f[n>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](n)|0;return}_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;b[e>>0]=0;_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;o=f[n>>2]|0;o=o+12|0;o=f[o>>2]|0;_i[o&2047](n)|0;return}function L0a(a,b){a=a|0;b=b|0;var c=0;c=a+200|0;if((f[a+204>>2]|0)-(f[c>>2]|0)>>6>>>0>b>>>0)return;AOa(c,b+1|0);return}function M0a(a,b){a=a|0;b=b|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;c=a+32|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>>2]=347408;ZDb(a+56|0,b|0,128)|0;return}function N0a(a){a=a|0;var b=0;f[a+4>>2]=0;f[a+8>>2]=0;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;b=a+32|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[a>>2]=347152;f[a+56>>2]=6914;f[a+60>>2]=6914;return}function O0a(a){a=a|0;return 0}function P0a(){return 0}function Q0a(a,b){a=a|0;b=b|0;s0a(cCa(a)|0,b);return}function R0a(a,b){a=a|0;b=b|0;t0a(cCa(a)|0,b);return}function S0a(a){a=a|0;var c=0,d=0,e=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a>>2]=349148;c=a+32|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;n[a+52>>2]=1.0;n[a+56>>2]=1.0;n[a+60>>2]=0.0;f[a+64>>2]=0;c=a+72|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;p[a+96>>3]=1.0;c=a+104|0;f[c>>2]=0;d=EBb(88)|0;f[d+4>>2]=0;a=d+8|0;f[a>>2]=0;e=d+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[d+24>>2]=2;e=d+28|0;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[d+52>>2]=7;f[d+56>>2]=1;f[d+60>>2]=5126;f[d+64>>2]=-1;b[d+68>>0]=0;b[d+69>>0]=0;f[d+76>>2]=0;f[d+80>>2]=0;f[d+84>>2]=0;f[d>>2]=320964;f[d+72>>2]=321204;f[c>>2]=d;f[a>>2]=(f[a>>2]|0)+1;return}function T0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0,o=0,q=0.0,r=0,s=0,t=0,u=0,v=0.0;c=f[a+20>>2]|0;if(!c){b=0;return b|0}k=a+40|0;f[k>>2]=c;d=f[a+44>>2]|0;l=f[a+48>>2]|0;a:do if((d|0)!=(l|0)){g=+n[b>>2];h=+n[b+4>>2];i=+n[b+8>>2];j=+n[b+12>>2];e=1;while(1){if(e&c){if(!(j<+p[d+24>>3]+(+p[d>>3]*g+ +p[d+8>>3]*h+ +p[d+16>>3]*i))){c=0;break}c=e^c;f[k>>2]=c}d=d+40|0;if((d|0)==(l|0))break a;else e=e<<1}return c|0}while(0);c=f[a+68>>2]|0;r=f[a+72>>2]|0;if((c|0)==(r|0)){b=1;return b|0}s=b+4|0;t=b+8|0;u=b+12|0;b:while(1){e=f[c>>2]|0;if(!e){c=0;d=19;break}m=c+20|0;f[m>>2]=e;d=f[c+24>>2]|0;o=f[c+28>>2]|0;if((d|0)==(o|0)){c=0;d=19;break}g=+n[b>>2];h=+n[s>>2];i=+n[t>>2];j=+n[u>>2];q=-j;a=1;while(1){if(a&e){v=+p[d+24>>3]+(+p[d>>3]*g+ +p[d+8>>3]*h+ +p[d+16>>3]*i);k=j<v?1:(v<q)<<31>>31;if((k|0)<0)break;l=a^e;if(k){f[m>>2]=l;e=l}}d=d+40|0;if((d|0)==(o|0)){c=0;d=19;break b}else a=a<<1}c=c+48|0;if((c|0)==(r|0)){c=1;d=19;break}}if((d|0)==19)return c|0;return 0}function U0a(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,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0;c=f[a+20>>2]|0;if(!c){b=0;return b|0}l=a+40|0;f[l>>2]=c;d=f[a+44>>2]|0;m=f[a+48>>2]|0;a:do if((d|0)!=(m|0)){g=b+12|0;h=b+16|0;i=b+4|0;j=b+20|0;k=b+8|0;e=1;while(1){if(e&c){z=f[d+36>>2]|0;if(!(+p[d+24>>3]+(+p[d>>3]*((z&1|0)==0?+n[b>>2]:+n[g>>2])+ +p[d+8>>3]*((z&2|0)==0?+n[i>>2]:+n[h>>2])+ +p[d+16>>3]*((z&4|0)==0?+n[k>>2]:+n[j>>2]))>0.0)){c=0;break}c=e^c;f[l>>2]=c}d=d+40|0;if((d|0)==(m|0))break a;else e=e<<1}return c|0}while(0);c=f[a+68>>2]|0;j=f[a+72>>2]|0;if((c|0)==(j|0)){b=1;return b|0}k=b+12|0;l=b+16|0;m=b+4|0;a=b+20|0;z=b+8|0;b:while(1){d=f[c>>2]|0;if(!d){c=0;d=19;break}h=c+20|0;f[h>>2]=d;e=f[c+24>>2]|0;i=f[c+28>>2]|0;if((e|0)==(i|0)){c=0;d=19;break}g=1;c:while(1){do if(g&d){A=f[e+36>>2]|0;o=+n[b>>2];q=+n[k>>2];r=+n[m>>2];s=+n[l>>2];t=+n[z>>2];u=+n[a>>2];v=+p[e>>3];w=+p[e+8>>3];x=+p[e+16>>3];y=+p[e+24>>3];if(!(y+(v*((A&1|0)==0?o:q)+w*((A&2|0)==0?r:s)+x*((A&4|0)==0?t:u))>0.0)){A=f[e+32>>2]|0;if(y+(x*((A&4|0)==0?t:u)+(v*((A&1|0)==0?o:q)+w*((A&2|0)==0?r:s)))<0.0)break c;else break}else{d=g^d;f[h>>2]=d;break}}while(0);e=e+40|0;if((e|0)==(i|0)){c=0;d=19;break b}else g=g<<1}c=c+48|0;if((c|0)==(j|0)){c=1;d=19;break}}if((d|0)==19)return c|0;return 0}function V0a(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;x=u;u=u+16|0;w=x;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=349808;f[a+16>>2]=0;f[a+20>>2]=0;f[a+12>>2]=a+16;f[a+132>>2]=0;f[a+136>>2]=0;g=a+148|0;f[g>>2]=0;c=a+156|0;f[a+160>>2]=0;f[a+164>>2]=0;e=a+160|0;l=a+24|0;m=l+96|0;do{f[l>>2]=0;l=l+4|0}while((l|0)<(m|0));f[c>>2]=e;f[a+172>>2]=0;f[a+176>>2]=0;f[a+168>>2]=a+172;f[a+180>>2]=0;i=a+192|0;h=a+196|0;j=a+200|0;k=a+204|0;n=a+208|0;o=a+212|0;p=a+216|0;q=a+220|0;r=a+224|0;c=a+232|0;l=i;m=l+36|0;do{f[l>>2]=0;l=l+4|0}while((l|0)<(m|0));f3a(c);f[a+360>>2]=0;f[a+588>>2]=0;f[a+592>>2]=0;_Db(a+372|0,0,212)|0;f[a+584>>2]=a+588;f[a+600>>2]=0;f[a+604>>2]=0;f[a+596>>2]=a+600;f[a+608>>2]=0;f[a+612>>2]=0;f[a+616>>2]=0;f[a+624>>2]=0;f[a+628>>2]=0;f[a+620>>2]=a+624;f[a+636>>2]=0;f[a+640>>2]=0;f[a+632>>2]=a+636;f[a+648>>2]=0;f[a+652>>2]=0;f[a+644>>2]=a+648;f[a+660>>2]=0;f[a+664>>2]=0;f[a+656>>2]=a+660;b[a+668>>0]=0;f[a+676>>2]=0;f[a+680>>2]=0;f[a+672>>2]=a+676;s=a+684|0;f[a+712>>2]=0;f[a+716>>2]=0;f[a+720>>2]=0;f[a+752>>2]=0;f[a+832>>2]=0;f[a+840>>2]=0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;f[s+12>>2]=0;f[s+16>>2]=0;f[s+20>>2]=0;f[a+848>>2]=0;f[a+852>>2]=0;f[a+844>>2]=338416;b[a+856>>0]=0;s=a+860|0;l=s;m=l+44|0;do{f[l>>2]=0;l=l+4|0}while((l|0)<(m|0));b[s+44>>0]=0;t=a+908|0;f[t>>2]=0;f[a+120>>2]=0;f[a+124>>2]=0;b[a+144>>0]=0;b[a+145>>0]=1;c=EBb(56)|0;rSa(c);e=f[g>>2]|0;if(((e|0)!=(c|0)?(f[g>>2]=c,m=c+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);f[a+152>>2]=0;f[a+184>>2]=1280;f[a+188>>2]=1280;e=EBb(160)|0;f[e+4>>2]=0;g=e+8|0;f[g>>2]=0;f[e>>2]=338032;c=e+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[e+24>>2]=2;f[e+28>>2]=0;f3a(e+32|0);f[e>>2]=313412;c=f[i>>2]|0;if((c|0)!=(e|0)){f[i>>2]=e;f[g>>2]=(f[g>>2]|0)+1;if(c|0?(l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1);e=f[i>>2]|0}c=f[h>>2]|0;if((c|0)!=(e|0)){f[h>>2]=e;if(e|0){m=e+8|0;f[m>>2]=(f[m>>2]|0)+1}if(c|0?(l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1)}e=f[j>>2]|0;c=f[i>>2]|0;if((e|0)!=(c|0)){f[j>>2]=c;if(c|0){m=c+8|0;f[m>>2]=(f[m>>2]|0)+1}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);e=f[i>>2]|0}c=f[k>>2]|0;if((c|0)!=(e|0)){f[k>>2]=e;if(e|0){m=e+8|0;f[m>>2]=(f[m>>2]|0)+1}if(c|0?(l=c+8|0,m=f[l>>2]|0,f[l>>2]=m-1,(m|0)==1):0)Rua(c,1,1)}c=EBb(160)|0;f[c+4>>2]=0;e=c+8|0;f[e>>2]=0;f[c>>2]=338032;g=c+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[c+24>>2]=2;f[c+28>>2]=0;f3a(c+32|0);f[c>>2]=313412;g=f[n>>2]|0;if(((g|0)!=(c|0)?(f[n>>2]=c,f[e>>2]=(f[e>>2]|0)+1,g|0):0)?(m=g+8|0,n=f[m>>2]|0,f[m>>2]=n-1,(n|0)==1):0)Rua(g,1,1);b[a+128>>0]=1;b[a+129>>0]=0;b[a+130>>0]=1;b[a+131>>0]=1;e=EBb(104)|0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=19;l=c;g=439894;m=l+19|0;do{b[l>>0]=b[g>>0]|0;l=l+1|0;g=g+1|0}while((l|0)<(m|0));b[c+19>>0]=0;W0a(e,35676,w,1);c=f[o>>2]|0;if(((c|0)!=(e|0)?(f[o>>2]=e,o=e+8|0,f[o>>2]=(f[o>>2]|0)+1,c|0):0)?(n=c+8|0,o=f[n>>2]|0,f[n>>2]=o-1,(o|0)==1):0)Rua(c,1,1);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);e=EBb(104)|0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=20;l=c;g=439999;m=l+20|0;do{b[l>>0]=b[g>>0]|0;l=l+1|0;g=g+1|0}while((l|0)<(m|0));b[c+20>>0]=0;W0a(e,35676,w,1);c=f[p>>2]|0;if(((c|0)!=(e|0)?(f[p>>2]=e,p=e+8|0,f[p>>2]=(f[p>>2]|0)+1,c|0):0)?(o=c+8|0,p=f[o>>2]|0,f[o>>2]=p-1,(p|0)==1):0)Rua(c,1,1);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);e=EBb(104)|0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=29;l=c;g=439949;m=l+29|0;do{b[l>>0]=b[g>>0]|0;l=l+1|0;g=g+1|0}while((l|0)<(m|0));b[c+29>>0]=0;W0a(e,35676,w,1);c=f[q>>2]|0;if(((c|0)!=(e|0)?(f[q>>2]=e,q=e+8|0,f[q>>2]=(f[q>>2]|0)+1,c|0):0)?(p=c+8|0,q=f[p>>2]|0,f[p>>2]=q-1,(q|0)==1):0)Rua(c,1,1);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);e=EBb(104)|0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;c=EBb(32)|0;f[w>>2]=c;f[w+8>>2]=-2147483616;f[w+4>>2]=16;l=c;g=440036;m=l+16|0;do{b[l>>0]=b[g>>0]|0;l=l+1|0;g=g+1|0}while((l|0)<(m|0));b[c+16>>0]=0;W0a(e,35675,w,1);c=f[r>>2]|0;if(((c|0)!=(e|0)?(f[r>>2]=e,r=e+8|0,f[r>>2]=(f[r>>2]|0)+1,c|0):0)?(q=c+8|0,r=f[q>>2]|0,f[q>>2]=r-1,(r|0)==1):0)Rua(c,1,1);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);X0a(a,1,8);f[a+364>>2]=0;j=a+368|0;f[j>>2]=1;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;e=sh(453481)|0;a:do if(e|0){c=0;while(1){if(!(b[e+c>>0]|0))break;c=c+1|0;if(c>>>0>=4096){c=4096;break}}VBb(w,e,c)|0;h=w+11|0;g=b[h>>0]|0;i=w+4|0;c=f[i>>2]|0;e=g&255;if(((g<<24>>24<0?c:e)|0)==18){if(nCb(w,0,-1,453503,18)|0){g=b[h>>0]|0;e=g&255;c=f[i>>2]|0;v=64}}else v=64;do if((v|0)==64){if(((g<<24>>24<0?c:e)|0)==2){if(!(nCb(w,0,-1,411016,2)|0))break;g=b[h>>0]|0;e=g&255;c=f[i>>2]|0}if(((g<<24>>24<0?c:e)|0)==2){if(!(nCb(w,0,-1,453522,2)|0))break;g=b[h>>0]|0;e=g&255;c=f[i>>2]|0}do if(((g<<24>>24<0?c:e)|0)==3){if(!(nCb(w,0,-1,411012,3)|0))break;g=b[h>>0]|0;e=g&255;c=f[i>>2]|0;v=74}else v=74;while(0);if((v|0)==74){if(((g<<24>>24<0?c:e)|0)!=3)break a;if(nCb(w,0,-1,453525,3)|0)break a}f[j>>2]=0;break a}while(0);f[j>>2]=2}while(0);m=a+732|0;l=a+756|0;f[a+708>>2]=0;f[a+836>>2]=0;c=a+764|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;f[l>>2]=0;d[l+4>>1]=0;b[l+6>>0]=0;l=a+772|0;m=l+60|0;do{f[l>>2]=0;l=l+4|0}while((l|0)<(m|0));f[c>>2]=1;f[a+768>>2]=1;f[a+724>>2]=0;f[a+728>>2]=0;f[s>>2]=a;c=EBb(24)|0;E$a(c);e=f[t>>2]|0;if(((e|0)!=(c|0)?(f[t>>2]=c,v=c+8|0,f[v>>2]=(f[v>>2]|0)+1,e|0):0)?(t=e+8|0,v=f[t>>2]|0,f[t>>2]=v-1,(v|0)==1):0)Rua(e,1,1);v=a+912|0;f[a+140>>2]=0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;f[v+12>>2]=0;f[v+16>>2]=0;f[v+20>>2]=0;f[v+24>>2]=0;if((b[w+11>>0]|0)>=0){u=x;return}GBb(f[w>>2]|0);u=x;return}function W0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$Sa(a,c);f[a>>2]=352732;f[a+60>>2]=b;b=a+64|0;c=b+36|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(c|0));$0a(a,d);JXa(a);return}function X0a(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,S=0,T=0;S=u;u=u+608|0;k=S+440|0;l=S+428|0;R=S+456|0;o=S+416|0;p=S+256|0;s=S+16|0;t=S+232|0;N=S+272|0;H=S+220|0;I=S+208|0;O=S+244|0;J=S+196|0;K=S+184|0;L=S+172|0;M=S+160|0;i=S+148|0;j=S+136|0;m=S+124|0;n=S+112|0;q=S;r=S+100|0;v=S+88|0;w=S+76|0;x=S+64|0;y=S+52|0;F=S+40|0;G=S+28|0;P=a+572|0;h=f[P>>2]|0;Q=a+576|0;e=f[Q>>2]|0;if((e|0)!=(h|0))do{g=e+-12|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=e+-24|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=e+-36|0;e=e+-40|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0)}while((e|0)!=(h|0));f[Q>>2]=h;E=a+584|0;h=a+588|0;IQa(E,f[h>>2]|0);f[a+592>>2]=0;f[E>>2]=h;f[h>>2]=0;h=a+372|0;if(c){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;e=k+11|0;b[e>>0]=9;z=k;A=453529;B=z+9|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[k+9>>0]=0;g=l+11|0;b[g>>0]=10;z=l;A=453539;B=z+10|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[l+10>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;G=R+11|0;b[G>>0]=5;b[R>>0]=b[453550]|0;b[R+1>>0]=b[453551]|0;b[R+2>>0]=b[453552]|0;b[R+3>>0]=b[453553]|0;b[R+4>>0]=b[453554]|0;b[R+5>>0]=0;Y0a(a,h,0,k,l,R);if((b[G>>0]|0)<0)GBb(f[R>>2]|0);if((b[g>>0]|0)<0)GBb(f[l>>2]|0);if((b[e>>0]|0)<0)GBb(f[k>>2]|0);e=a+412|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;g=o+11|0;b[g>>0]=9;z=o;A=453556;B=z+9|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[o+9>>0]=0;h=p+11|0;b[h>>0]=10;z=p;A=453566;B=z+10|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[p+10>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;G=R+11|0;b[G>>0]=5;b[R>>0]=b[453577]|0;b[R+1>>0]=b[453578]|0;b[R+2>>0]=b[453579]|0;b[R+3>>0]=b[453580]|0;b[R+4>>0]=b[453581]|0;b[R+5>>0]=0;Y0a(a,e,1,o,p,R);if((b[G>>0]|0)<0)GBb(f[R>>2]|0);if((b[h>>0]|0)<0)GBb(f[p>>2]|0);if((b[g>>0]|0)<0)GBb(f[o>>2]|0);e=a+452|0;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=0;g=s+11|0;b[g>>0]=8;h=s;f[h>>2]=1130327143;f[h+4>>2]=1919904879;b[s+8>>0]=0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;h=t+11|0;b[h>>0]=9;z=t;A=453583;B=z+9|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[t+9>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;G=R+11|0;b[G>>0]=5;b[R>>0]=b[453550]|0;b[R+1>>0]=b[453551]|0;b[R+2>>0]=b[453552]|0;b[R+3>>0]=b[453553]|0;b[R+4>>0]=b[453554]|0;b[R+5>>0]=0;Y0a(a,e,2,s,t,R);if((b[G>>0]|0)<0)GBb(f[R>>2]|0);if((b[h>>0]|0)<0)GBb(f[t>>2]|0);if((b[g>>0]|0)<0)GBb(f[s>>2]|0);e=f[Q>>2]|0;c=f[P>>2]|0;g=(e-c|0)/40|0;h=e;if(g>>>0>=d>>>0){if(g>>>0>d>>>0){e=c+(d*40|0)|0;if((e|0)!=(h|0))do{g=h+-12|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=h+-24|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=h+-36|0;h=h+-40|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0)}while((h|0)!=(e|0));f[Q>>2]=e}}else{Z0a(P,d-g|0);e=f[Q>>2]|0}if((e|0)==(f[P>>2]|0))h=3;else{c=R+64|0;i=R+8|0;j=R+12|0;k=R+4|0;l=R+64|0;m=R+136|0;n=R+140|0;o=R+44|0;p=R+60|0;q=N+64|0;r=N+8|0;s=N+12|0;t=N+4|0;v=N+64|0;w=N+136|0;x=N+140|0;y=N+44|0;z=N+60|0;A=R+8|0;B=N+8|0;d=O+11|0;C=O+5|0;D=I+11|0;E=H+11|0;F=y+11|0;G=o+11|0;e=3;g=0;while(1){f[i>>2]=323408;f[R>>2]=285412;f[c>>2]=285432;f[k>>2]=0;Brb(l,j);f[m>>2]=0;f[n>>2]=-1;f[R>>2]=323388;f[c>>2]=323428;f[i>>2]=323408;Hrb(j);f[j>>2]=304196;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;f[p>>2]=24;f[r>>2]=323408;f[N>>2]=285412;f[q>>2]=285432;f[t>>2]=0;Brb(v,s);f[w>>2]=0;f[x>>2]=-1;f[N>>2]=323388;f[q>>2]=323428;f[r>>2]=323408;Hrb(s);f[s>>2]=304196;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;f[y+12>>2]=0;f[z>>2]=24;csb(Nu(A,453630,16)|0,g)|0;csb(Nu(B,453647,17)|0,g)|0;T=(f[P>>2]|0)+(g*40|0)|0;h=e+1|0;KX(H,j);KX(I,s);f[O>>2]=0;f[O+4>>2]=0;f[O+8>>2]=0;b[d>>0]=5;b[O>>0]=b[453550]|0;b[O+1>>0]=b[453551]|0;b[O+2>>0]=b[453552]|0;b[O+3>>0]=b[453553]|0;b[O+4>>0]=b[453554]|0;b[C>>0]=0;Y0a(a,T,e,H,I,O);if((b[d>>0]|0)<0)GBb(f[O>>2]|0);if((b[D>>0]|0)<0)GBb(f[I>>2]|0);if((b[E>>0]|0)<0)GBb(f[H>>2]|0);f[N>>2]=323388;f[q>>2]=323428;f[B>>2]=323408;f[s>>2]=304196;if((b[F>>0]|0)<0)GBb(f[y>>2]|0);qqb(s);yrb(N,323440);kqb(q);f[R>>2]=323388;f[c>>2]=323428;f[A>>2]=323408;f[j>>2]=304196;if((b[G>>0]|0)<0)GBb(f[o>>2]|0);qqb(j);yrb(R,323440);kqb(c);g=g+1|0;if(g>>>0>=(((f[Q>>2]|0)-(f[P>>2]|0)|0)/40|0)>>>0)break;else e=h}}c=h+1|0;e=EBb(32)|0;f[J>>2]=e;f[J+8>>2]=-2147483616;f[J+4>>2]=17;z=e;A=453593;B=z+17|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+17>>0]=0;f[K>>2]=0;f[K+4>>2]=0;f[K+8>>2]=0;e=EBb(32)|0;g=a+492|0;f[K>>2]=e;f[K+8>>2]=-2147483616;f[K+4>>2]=18;z=e;A=453611;B=z+18|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+18>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;T=R+11|0;b[T>>0]=5;b[R>>0]=b[453550]|0;b[R+1>>0]=b[453551]|0;b[R+2>>0]=b[453552]|0;b[R+3>>0]=b[453553]|0;b[R+4>>0]=b[453554]|0;b[R+5>>0]=0;Y0a(a,g,h,J,K,R);if((b[T>>0]|0)<0)GBb(f[R>>2]|0);if((b[K+11>>0]|0)<0)GBb(f[K>>2]|0);if((b[J+11>>0]|0)<0)GBb(f[J>>2]|0);e=EBb(16)|0;f[L>>2]=e;f[L+8>>2]=-2147483632;f[L+4>>2]=11;z=e;A=453665;B=z+11|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+11>>0]=0;f[M>>2]=0;f[M+4>>2]=0;f[M+8>>2]=0;e=EBb(16)|0;g=a+532|0;f[M>>2]=e;f[M+8>>2]=-2147483632;f[M+4>>2]=12;z=e;A=453677;B=z+12|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+12>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;T=R+11|0;b[T>>0]=6;b[R>>0]=b[453690]|0;b[R+1>>0]=b[453691]|0;b[R+2>>0]=b[453692]|0;b[R+3>>0]=b[453693]|0;b[R+4>>0]=b[453694]|0;b[R+5>>0]=b[453695]|0;b[R+6>>0]=0;Y0a(a,g,c,L,M,R);if((b[T>>0]|0)<0)GBb(f[R>>2]|0);if((b[M+11>>0]|0)<0)GBb(f[M>>2]|0);if((b[L+11>>0]|0)>=0){u=S;return}GBb(f[L>>2]|0);u=S;return}else{f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;e=i+11|0;b[e>>0]=9;z=i;A=453529;B=z+9|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[i+9>>0]=0;g=j+11|0;b[g>>0]=10;z=j;A=453539;B=z+10|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[j+10>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;T=R+11|0;b[T>>0]=5;b[R>>0]=b[453550]|0;b[R+1>>0]=b[453551]|0;b[R+2>>0]=b[453552]|0;b[R+3>>0]=b[453553]|0;b[R+4>>0]=b[453554]|0;b[R+5>>0]=0;Y0a(a,h,0,i,j,R);if((b[T>>0]|0)<0)GBb(f[R>>2]|0);if((b[g>>0]|0)<0)GBb(f[j>>2]|0);if((b[e>>0]|0)<0)GBb(f[i>>2]|0);e=a+412|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;g=m+11|0;b[g>>0]=9;z=m;A=453556;B=z+9|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[m+9>>0]=0;h=n+11|0;b[h>>0]=10;z=n;A=453566;B=z+10|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[n+10>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;T=R+11|0;b[T>>0]=5;b[R>>0]=b[453577]|0;b[R+1>>0]=b[453578]|0;b[R+2>>0]=b[453579]|0;b[R+3>>0]=b[453580]|0;b[R+4>>0]=b[453581]|0;b[R+5>>0]=0;Y0a(a,e,2,m,n,R);if((b[T>>0]|0)<0)GBb(f[R>>2]|0);if((b[h>>0]|0)<0)GBb(f[n>>2]|0);if((b[g>>0]|0)<0)GBb(f[m>>2]|0);e=a+452|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;g=q+11|0;b[g>>0]=8;h=q;f[h>>2]=1130327143;f[h+4>>2]=1919904879;b[q+8>>0]=0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;h=r+11|0;b[h>>0]=9;z=r;A=453583;B=z+9|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[r+9>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;T=R+11|0;b[T>>0]=5;b[R>>0]=b[453550]|0;b[R+1>>0]=b[453551]|0;b[R+2>>0]=b[453552]|0;b[R+3>>0]=b[453553]|0;b[R+4>>0]=b[453554]|0;b[R+5>>0]=0;Y0a(a,e,3,q,r,R);if((b[T>>0]|0)<0)GBb(f[R>>2]|0);if((b[h>>0]|0)<0)GBb(f[r>>2]|0);if((b[g>>0]|0)<0)GBb(f[q>>2]|0);e=EBb(32)|0;f[v>>2]=e;f[v+8>>2]=-2147483616;f[v+4>>2]=17;z=e;A=453593;B=z+17|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+17>>0]=0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;e=EBb(32)|0;g=a+492|0;f[w>>2]=e;f[w+8>>2]=-2147483616;f[w+4>>2]=18;z=e;A=453611;B=z+18|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+18>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;T=R+11|0;b[T>>0]=5;b[R>>0]=b[453550]|0;b[R+1>>0]=b[453551]|0;b[R+2>>0]=b[453552]|0;b[R+3>>0]=b[453553]|0;b[R+4>>0]=b[453554]|0;b[R+5>>0]=0;Y0a(a,g,4,v,w,R);if((b[T>>0]|0)<0)GBb(f[R>>2]|0);if((b[w+11>>0]|0)<0)GBb(f[w>>2]|0);if((b[v+11>>0]|0)<0)GBb(f[v>>2]|0);e=EBb(16)|0;f[x>>2]=e;f[x+8>>2]=-2147483632;f[x+4>>2]=11;z=e;A=453665;B=z+11|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+11>>0]=0;f[y>>2]=0;f[y+4>>2]=0;f[y+8>>2]=0;e=EBb(16)|0;g=a+532|0;f[y>>2]=e;f[y+8>>2]=-2147483632;f[y+4>>2]=12;z=e;A=453677;B=z+12|0;do{b[z>>0]=b[A>>0]|0;z=z+1|0;A=A+1|0}while((z|0)<(B|0));b[e+12>>0]=0;f[R>>2]=0;f[R+4>>2]=0;f[R+8>>2]=0;T=R+11|0;b[T>>0]=6;b[R>>0]=b[453690]|0;b[R+1>>0]=b[453691]|0;b[R+2>>0]=b[453692]|0;b[R+3>>0]=b[453693]|0;b[R+4>>0]=b[453694]|0;b[R+5>>0]=b[453695]|0;b[R+6>>0]=0;Y0a(a,g,5,x,y,R);if((b[T>>0]|0)<0)GBb(f[R>>2]|0);if((b[y+11>>0]|0)<0)GBb(f[y>>2]|0);if((b[x+11>>0]|0)<0)GBb(f[x>>2]|0);e=f[Q>>2]|0;c=f[P>>2]|0;g=(e-c|0)/40|0;h=e;do if(g>>>0<d>>>0){Z0a(P,d-g|0);e=f[Q>>2]|0}else{if(g>>>0<=d>>>0)break;e=c+(d*40|0)|0;if((e|0)!=(h|0))do{g=h+-12|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=h+-24|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);g=h+-36|0;h=h+-40|0;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0)}while((h|0)!=(e|0));f[Q>>2]=e}while(0);if((e|0)==(f[P>>2]|0)){u=S;return}g=R+64|0;h=R+8|0;c=R+12|0;i=R+4|0;j=R+64|0;k=R+136|0;l=R+140|0;m=R+44|0;n=R+60|0;o=N+64|0;p=N+8|0;q=N+12|0;r=N+4|0;s=N+64|0;t=N+136|0;v=N+140|0;w=N+44|0;x=N+60|0;y=R+8|0;z=N+8|0;A=O+11|0;B=O+5|0;d=G+11|0;C=F+11|0;D=w+11|0;E=m+11|0;e=0;do{f[h>>2]=323408;f[R>>2]=285412;f[g>>2]=285432;f[i>>2]=0;Brb(j,c);f[k>>2]=0;f[l>>2]=-1;f[R>>2]=323388;f[g>>2]=323428;f[h>>2]=323408;Hrb(c);f[c>>2]=304196;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[n>>2]=24;f[p>>2]=323408;f[N>>2]=285412;f[o>>2]=285432;f[r>>2]=0;Brb(s,q);f[t>>2]=0;f[v>>2]=-1;f[N>>2]=323388;f[o>>2]=323428;f[p>>2]=323408;Hrb(q);f[q>>2]=304196;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;f[w+12>>2]=0;f[x>>2]=24;csb(Nu(y,453630,16)|0,e)|0;csb(Nu(z,453647,17)|0,e)|0;T=(f[P>>2]|0)+(e*40|0)|0;KX(F,c);KX(G,q);f[O>>2]=0;f[O+4>>2]=0;f[O+8>>2]=0;b[A>>0]=5;b[O>>0]=b[453550]|0;b[O+1>>0]=b[453551]|0;b[O+2>>0]=b[453552]|0;b[O+3>>0]=b[453553]|0;b[O+4>>0]=b[453554]|0;b[B>>0]=0;Y0a(a,T,e+8|0,F,G,O);if((b[A>>0]|0)<0)GBb(f[O>>2]|0);if((b[d>>0]|0)<0)GBb(f[G>>2]|0);if((b[C>>0]|0)<0)GBb(f[F>>2]|0);f[N>>2]=323388;f[o>>2]=323428;f[z>>2]=323408;f[q>>2]=304196;if((b[D>>0]|0)<0)GBb(f[w>>2]|0);qqb(q);yrb(N,323440);kqb(o);f[R>>2]=323388;f[g>>2]=323428;f[y>>2]=323408;f[c>>2]=304196;if((b[E>>0]|0)<0)GBb(f[m>>2]|0);qqb(c);yrb(R,323440);kqb(g);e=e+1|0}while(e>>>0<(((f[Q>>2]|0)-(f[P>>2]|0)|0)/40|0)>>>0);u=S;return}}function Y0a(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;m=u;u=u+64|0;n=m+24|0;k=m+12|0;l=m;OBb(k,e);OBb(l,g);f[n>>2]=d;j=n+4|0;OBb(j,k);e=n+16|0;OBb(e,l);i=n+28|0;OBb(i,h);f[c>>2]=f[n>>2];UBb(c+4|0,j)|0;UBb(c+16|0,e)|0;UBb(c+28|0,i)|0;if((b[i+11>>0]|0)<0)GBb(f[i>>2]|0);if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);if((b[j+11>>0]|0)<0)GBb(f[j>>2]|0);if((b[l+11>>0]|0)<0)GBb(f[l>>2]|0);if((b[k+11>>0]|0)>=0){n=a+584|0;n=BRa(n,g)|0;f[n>>2]=d;u=m;return}GBb(f[k>>2]|0);n=a+584|0;n=BRa(n,g)|0;f[n>>2]=d;u=m;return}function Z0a(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;k=u;u=u+32|0;j=k;g=f[a+8>>2]|0;h=a+4|0;d=f[h>>2]|0;if(((g-d|0)/40|0)>>>0>=c>>>0){do{e=d+40|0;do{f[d>>2]=0;d=d+4|0}while((d|0)<(e|0));d=(f[h>>2]|0)+40|0;f[h>>2]=d;c=c+-1|0}while((c|0)!=0);u=k;return}e=f[a>>2]|0;h=(d-e|0)/40|0;i=h+c|0;if(i>>>0>107374182)DCb(a);d=(g-e|0)/40|0;g=d<<1;g=d>>>0<53687091?(g>>>0<i>>>0?i:g):107374182;d=j+12|0;f[d>>2]=0;f[j+16>>2]=a+8;do if(g)if(g>>>0>107374182){k=ab(8)|0;KBb(k,410101);f[k>>2]=362060;eb(k|0,302144,1464)}else{e=EBb(g*40|0)|0;break}else e=0;while(0);f[j>>2]=e;m=e+(h*40|0)|0;h=j+8|0;l=j+4|0;f[l>>2]=m;f[d>>2]=e+(g*40|0);_Db(m|0,0,c*40|0)|0;f[h>>2]=e+(i*40|0);_0a(a,j);c=f[l>>2]|0;d=f[h>>2]|0;if((d|0)!=(c|0))do{f[h>>2]=d+-40;e=d+-12|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);e=d+-24|0;if((b[e+11>>0]|0)<0)GBb(f[e>>2]|0);d=d+-36|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);d=f[h>>2]|0}while((d|0)!=(c|0));d=f[j>>2]|0;if(d|0)GBb(d);u=k;return}function _0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;i=f[a>>2]|0;j=a+4|0;c=f[j>>2]|0;h=b+4|0;if((c|0)==(i|0)){e=h;g=a;d=f[h>>2]|0;c=i}else{d=f[h>>2]|0;do{g=c;c=c+-40|0;f[d+-40>>2]=f[c>>2];OBb(d+-36|0,g+-36|0);OBb(d+-24|0,g+-24|0);OBb(d+-12|0,g+-12|0);d=(f[h>>2]|0)+-40|0;f[h>>2]=d}while((c|0)!=(i|0));e=h;g=a;c=f[a>>2]|0}f[g>>2]=d;f[e>>2]=c;i=b+8|0;h=f[j>>2]|0;f[j>>2]=f[i>>2];f[i>>2]=h;i=a+8|0;j=b+12|0;a=f[i>>2]|0;f[i>>2]=f[j>>2];f[j>>2]=a;f[b>>2]=f[e>>2];return}function $0a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;if(!c){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=h;return}g=Nu(Hua(2)|0,453697,34)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(d,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(d);ksb(g,e)|0;Krb(g)|0;u=h;return}e=a+64|0;g=f[e>>2]|0;if((g|0)==(c|0)){u=h;return}if(!g){f[e>>2]=c;JXa(a);u=h;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=h;return}g=Nu(Hua(2)|0,453732,89)|0;Drb(d,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);e=utb(d,504576)|0;e=cj[f[(f[e>>2]|0)+28>>2]&1023](e,10)|0;vtb(d);ksb(g,e)|0;Krb(g)|0;u=h;return}function a1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+196|0;c=f[d>>2]|0;if(!b){b=f[a+192>>2]|0;if((c|0)!=(b|0)){f[d>>2]=b;if(b|0){b=b+8|0;f[b>>2]=(f[b>>2]|0)+1}if(c|0?(e=c+8|0,b=f[e>>2]|0,f[e>>2]=b-1,(b|0)==1):0)Rua(c,1,1)}}else if(((c|0)!=(b|0)?(f[d>>2]=b,e=b+8|0,f[e>>2]=(f[e>>2]|0)+1,c|0):0)?(b=c+8|0,e=f[b>>2]|0,f[b>>2]=e-1,(e|0)==1):0)Rua(c,1,1);a=a+232|0;e=f[d>>2]|0;b=e+32|0;if(((+p[e+56>>3]==0.0?+p[e+88>>3]==0.0:0)?+p[e+120>>3]==0.0:0)?+p[e+152>>3]==1.0:0){o3a(a,b)|0;return}p3a(a,b)|0;return}function b1a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g;e=a+724|0;f[e>>2]=c;c1a(LWa(Uza(f[a+124>>2]|0)|0)|0,c);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=g;return}c=Nu(Hua(4)|0,453822,32)|0;e=csb(c,f[e>>2]|0)|0;Drb(d,e+(f[(f[e>>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(e,c)|0;Krb(e)|0;u=g;return}function c1a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0;g=u;u=u+16|0;d=g;e=a+40|0;if((f[e>>2]|0)==(c|0)){u=g;return}a=a+36|0;if((f[a>>2]|0)>>>0>c>>>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){h=Nu(csb(Nu(Hua(3)|0,453855,32)|0,c)|0,453888,41)|0;a=csb(h,f[a>>2]|0)|0;Drb(d,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);h=utb(d,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(d);ksb(a,h)|0;Krb(a)|0}}f[e>>2]=c;u=g;return}function d1a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g;e=a+728|0;f[e>>2]=c;c=Vza(Uza(f[a+124>>2]|0)|0)|0;xZa(c,f[e>>2]|0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=3){u=g;return}c=Nu(Hua(4)|0,453930,37)|0;e=csb(c,f[e>>2]|0)|0;Drb(d,e+(f[(f[e>>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(e,c)|0;Krb(e)|0;u=g;return}function e1a(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;k=u;u=u+16|0;j=k;f[j>>2]=b;c=a+716|0;d=f[c>>2]|0;if((d|0)==(f[a+720>>2]|0))l1a(a+712|0,j);else{f[d>>2]=b;f[c>>2]=(f[c>>2]|0)+4}b=f[j>>2]|0;if(!b){u=k;return}m1a(a,a+620|0,b+44|0);b=f[j>>2]|0;h=b+68|0;i=b+72|0;if((f[i>>2]|0)!=(f[h>>2]|0)){d=a+684|0;e=a+688|0;b=0;do{g=((f[e>>2]|0)-(f[d>>2]|0)|0)/12|0;c=b;b=b+1|0;if(g>>>0<=c>>>0)PK(d,b-g|0);m1a(a,(f[d>>2]|0)+(c*12|0)|0,(f[h>>2]|0)+(c*12|0)|0)}while(b>>>0<(((f[i>>2]|0)-(f[h>>2]|0)|0)/12|0)>>>0);b=f[j>>2]|0}n1a(a,a+632|0,b+56|0);b=f[j>>2]|0;h=b+80|0;i=b+84|0;if((f[i>>2]|0)!=(f[h>>2]|0)){d=a+696|0;e=a+700|0;b=0;do{g=((f[e>>2]|0)-(f[d>>2]|0)|0)/12|0;c=b;b=b+1|0;if(g>>>0<=c>>>0)GI(d,b-g|0);n1a(a,(f[d>>2]|0)+(c*12|0)|0,(f[h>>2]|0)+(c*12|0)|0)}while(b>>>0<(((f[i>>2]|0)-(f[h>>2]|0)|0)/12|0)>>>0);b=f[j>>2]|0}o1a(a,a+644|0,b+92|0);p1a(a,a+656|0,(f[j>>2]|0)+104|0);u=k;return}function f1a(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+32|0;k=o+8|0;l=o;m=o+16|0;n=a+716|0;b=f[n>>2]|0;if((f[a+712>>2]|0)==(b|0)){u=o;return}b=b+-4|0;j=f[b>>2]|0;if(j){g1a(a,a+620|0,j+44|0);d=j+68|0;e=j+72|0;if((f[e>>2]|0)!=(f[d>>2]|0)){g=a+684|0;h=a+688|0;b=0;do{i=((f[h>>2]|0)-(f[g>>2]|0)|0)/12|0;c=b;b=b+1|0;if(i>>>0<=c>>>0)PK(g,b-i|0);g1a(a,(f[g>>2]|0)+(c*12|0)|0,(f[d>>2]|0)+(c*12|0)|0)}while(b>>>0<(((f[e>>2]|0)-(f[d>>2]|0)|0)/12|0)>>>0)}h1a(a,a+632|0,j+56|0);d=j+80|0;e=j+84|0;if((f[e>>2]|0)!=(f[d>>2]|0)){g=a+696|0;h=a+700|0;b=0;do{i=((f[h>>2]|0)-(f[g>>2]|0)|0)/12|0;c=b;b=b+1|0;if(i>>>0<=c>>>0)GI(g,b-i|0);h1a(a,(f[g>>2]|0)+(c*12|0)|0,(f[d>>2]|0)+(c*12|0)|0)}while(b>>>0<(((f[e>>2]|0)-(f[d>>2]|0)|0)/12|0)>>>0)}b=f[j+92>>2]|0;e=j+96|0;if((b|0)!=(e|0)){g=a+644|0;d=b;while(1){i=d+16|0;f[l>>2]=i;i1a(k,g,i,505019,l,m);i=f[k>>2]|0;b=i+32|0;c=f[b>>2]|0;if((f[i+28>>2]|0)!=(c|0))f[b>>2]=c+-8;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{i=f[c>>2]|0;c=i+8|0;b=f[c>>2]|0}while((f[b>>2]|0)!=(i|0))}else while(1){c=f[b>>2]|0;if(!c)break;else b=c}if((b|0)==(e|0))break;else d=b}}j1a(a,a+656|0,j+104|0);b=(f[n>>2]|0)+-4|0}f[n>>2]=b;u=o;return}function g1a(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;a=f[d>>2]|0;j=d+4|0;if((a|0)==(j|0))return;k=c+4|0;l=c+4|0;m=c+8|0;i=a;while(1){h=i+16|0;a=f[k>>2]|0;do if(a){g=f[h>>2]|0;e=l;while(1){d=f[a+16>>2]|0;if(g>>>0<d>>>0){d=f[a>>2]|0;if(!d){d=8;break}}else{if(d>>>0>=g>>>0){d=12;break}e=a+4|0;d=f[e>>2]|0;if(!d){d=11;break}else a=e}e=a;a=d}if((d|0)==8){g=a;e=a;break}else if((d|0)==11){g=a;break}else if((d|0)==12){g=a;break}}else{g=k;e=k}while(0);a=f[e>>2]|0;if(!a){d=EBb(36)|0;f[d+16>>2]=f[h>>2];f[d+24>>2]=0;f[d+28>>2]=0;f[d+32>>2]=0;b[d+20>>0]=1;b[d+21>>0]=0;b[d+22>>0]=0;b[d+23>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[e>>2]=d;a=f[f[c>>2]>>2]|0;if(!a)a=d;else{f[c>>2]=a;a=f[e>>2]|0}Xo(f[l>>2]|0,a);f[m>>2]=(f[m>>2]|0)+1;a=d}d=a+28|0;e=f[d>>2]|0;if((f[a+24>>2]|0)!=(e|0))f[d>>2]=e+-4;b[a+21>>0]=1;a=f[i+4>>2]|0;if(!a){d=i+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(i|0))do{i=f[d>>2]|0;d=i+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(i|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(j|0))break;else i=a}return}function h1a(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;a=f[d>>2]|0;k=d+4|0;if((a|0)==(k|0))return;l=c+4|0;m=c+4|0;n=c+8|0;j=a;while(1){i=j+16|0;a=f[l>>2]|0;do if(a){g=f[i>>2]|0;h=f[j+20>>2]|0;d=m;a:while(1){e=f[a+16>>2]|0;do if((g|0)>=(e|0)){if((e|0)>=(g|0)){e=f[a+20>>2]|0;if(h>>>0<e>>>0){o=9;break}if(e>>>0>=h>>>0){o=14;break a}}d=a+4|0;e=f[d>>2]|0;if(!e){o=13;break a}else a=d}else o=9;while(0);if((o|0)==9){o=0;e=f[a>>2]|0;if(!e){o=10;break}}d=a;a=e}if((o|0)==10){o=0;g=a;d=a;break}else if((o|0)==13){o=0;g=a;break}else if((o|0)==14){o=0;g=a;break}}else{g=l;d=l}while(0);a=f[d>>2]|0;if(!a){e=EBb(52)|0;h=i;i=f[h+4>>2]|0;a=e+16|0;f[a>>2]=f[h>>2];f[a+4>>2]=i;b[e+24>>0]=0;a=e+28|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;f[a+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[d>>2]=e;a=f[f[c>>2]>>2]|0;if(!a)a=e;else{f[c>>2]=a;a=f[d>>2]|0}Xo(f[m>>2]|0,a);f[n>>2]=(f[n>>2]|0)+1;a=e}d=a+44|0;e=f[d>>2]|0;if((f[a+40>>2]|0)!=(e|0))f[d>>2]=e+-8;b[a+24>>0]=1;a=f[j+4>>2]|0;if(!a){d=j+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(j|0))do{j=f[d>>2]|0;d=j+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(j|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(k|0))break;else j=a}return}function i1a(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;j=u;u=u+16|0;i=j;d=k1a(c,i,d)|0;e=f[d>>2]|0;if(e|0){c=e;g=0;f[a>>2]=c;c=a+4|0;b[c>>0]=g;u=j;return}h=EBb(40)|0;OBb(h+16|0,f[g>>2]|0);f[h+28>>2]=0;f[h+32>>2]=0;f[h+36>>2]=0;e=f[i>>2]|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=e;f[d>>2]=h;e=f[f[c>>2]>>2]|0;if(!e)e=h;else{f[c>>2]=e;e=f[d>>2]|0}Xo(f[c+4>>2]|0,e);c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=h;g=1;f[a>>2]=c;c=a+4|0;b[c>>0]=g;u=j;return}function j1a(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;A=u;u=u+32|0;x=A+8|0;y=A;z=A+16|0;a=f[d>>2]|0;v=d+4|0;if((a|0)==(v|0)){u=A;return}w=c+12|0;t=a;while(1){r=t+16|0;f[y>>2]=r;CTa(x,c,r,505019,y,z);r=f[x>>2]|0;p=f[r+32>>2]|0;s=r+36|0;q=f[s>>2]|0;if((p|0)!=(q|0)){a=q-p>>4;a:do if(a>>>0>=2){o=a+-2|0;i=p+(o<<4)|0;e=q+-16|0;h=b[i+11>>0]|0;l=h<<24>>24<0;h=h&255;m=l?f[p+(o<<4)+4>>2]|0:h;d=e+11|0;a=b[d>>0]|0;g=a<<24>>24<0;if((m|0)==((g?f[q+-12>>2]|0:a&255)|0)){k=f[i>>2]|0;n=l?k:i;g=g?f[e>>2]|0:e;j=(m|0)==0;k=k&255;b:do if(l){if(!j?anb(n,g,m)|0:0){a=e;B=17;break a}}else if(!j){if((b[g>>0]|0)!=k<<24>>24){a=e;B=17;break a}while(1){h=h+-1|0;i=i+1|0;if(!h)break b;g=g+1|0;if((b[i>>0]|0)!=(b[g>>0]|0)){a=e;B=17;break a}}}while(0);if((f[p+(o<<4)+12>>2]|0)!=(f[q+-4>>2]|0)){a=e;B=17}}else{a=e;B=17}}else{d=q+-16|0;a=d;d=d+11|0;B=17}while(0);if((B|0)==17){B=0;b[r+28>>0]=1;b[w>>0]=1;e=a;a=b[d>>0]|0}if(a<<24>>24<0)GBb(f[e>>2]|0);f[s>>2]=e}a=f[t+4>>2]|0;if(!a){d=t+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(t|0))do{t=f[d>>2]|0;d=t+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(t|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(v|0))break;else t=a}u=A;return}function k1a(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<m>>>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 l1a(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<c>>>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 m1a(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;a=f[d>>2]|0;l=d+4|0;if((a|0)==(l|0))return;m=c+4|0;n=c+4|0;o=c+8|0;k=a;while(1){h=k+16|0;a=f[m>>2]|0;do if(a){g=f[h>>2]|0;e=n;while(1){d=f[a+16>>2]|0;if(g>>>0<d>>>0){d=f[a>>2]|0;if(!d){d=8;break}}else{if(d>>>0>=g>>>0){d=12;break}e=a+4|0;d=f[e>>2]|0;if(!d){d=11;break}else a=e}e=a;a=d}if((d|0)==8){g=a;e=a;break}else if((d|0)==11){g=a;break}else if((d|0)==12){g=a;break}}else{g=m;e=m}while(0);a=f[e>>2]|0;if(!a){d=EBb(36)|0;f[d+16>>2]=f[h>>2];f[d+24>>2]=0;f[d+28>>2]=0;f[d+32>>2]=0;b[d+20>>0]=1;b[d+21>>0]=0;b[d+22>>0]=0;b[d+23>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=g;f[e>>2]=d;a=f[f[c>>2]>>2]|0;if(!a)a=d;else{f[c>>2]=a;a=f[e>>2]|0}Xo(f[n>>2]|0,a);f[o>>2]=(f[o>>2]|0)+1;a=d}i=a+24|0;e=f[i>>2]|0;j=a+28|0;h=f[j>>2]|0;do if((e|0)==(h|0)){d=k+20|0;if((e|0)==(f[a+32>>2]|0)){iw(i,d);break}else{f[e>>2]=f[d>>2];f[j>>2]=e+4;break}}else{e=h+-4|0;g=f[e>>2]|0;d=k+20|0;if(g&2|0?(f[d>>2]&4|0)==0:0)if((h|0)==(f[a+32>>2]|0)){iw(i,e);break}else{f[h>>2]=g;f[j>>2]=h+4;break}if((h|0)==(f[a+32>>2]|0)){iw(i,d);break}else{f[h>>2]=f[d>>2];f[j>>2]=h+4;break}}while(0);b[a+21>>0]=1;a=f[k+4>>2]|0;if(!a){d=k+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(k|0))do{k=f[d>>2]|0;d=k+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(k|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(l|0))break;else k=a}return}function n1a(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+16|0;q=r;a=f[d>>2]|0;m=d+4|0;if((a|0)==(m|0)){u=r;return}n=c+4|0;o=c+4|0;p=c+8|0;k=q+4|0;l=q+4|0;j=a;while(1){i=j+16|0;a=f[n>>2]|0;do if(a){g=f[i>>2]|0;h=f[j+20>>2]|0;d=o;a:while(1){e=f[a+16>>2]|0;do if((g|0)>=(e|0)){if((e|0)>=(g|0)){e=f[a+20>>2]|0;if(h>>>0<e>>>0){s=9;break}if(e>>>0>=h>>>0){s=14;break a}}d=a+4|0;e=f[d>>2]|0;if(!e){s=13;break a}else a=d}else s=9;while(0);if((s|0)==9){s=0;e=f[a>>2]|0;if(!e){s=10;break}}d=a;a=e}if((s|0)==10){s=0;g=a;d=a;break}else if((s|0)==13){s=0;g=a;break}else if((s|0)==14){s=0;g=a;break}}else{g=n;d=n}while(0);a=f[d>>2]|0;if(!a){e=EBb(52)|0;h=i;i=f[h+4>>2]|0;a=e+16|0;f[a>>2]=f[h>>2];f[a+4>>2]=i;b[e+24>>0]=0;a=e+28|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;f[a+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[d>>2]=e;a=f[f[c>>2]>>2]|0;if(!a)a=e;else{f[c>>2]=a;a=f[d>>2]|0}Xo(f[o>>2]|0,a);f[p>>2]=(f[p>>2]|0)+1;a=e}g=a+40|0;d=f[g>>2]|0;h=a+44|0;i=f[h>>2]|0;do if((d|0)==(i|0)){f[q>>2]=f[j+24>>2];f[k>>2]=f[j+28>>2];if(d>>>0<(f[a+48>>2]|0)>>>0){e=q;g=f[e+4>>2]|0;i=d;f[i>>2]=f[e>>2];f[i+4>>2]=g;f[h>>2]=(f[h>>2]|0)+8}else t1a(g,q)}else{e=i+-8|0;d=f[j+28>>2]|0;if((d&4|0)==0?(f[i+-4>>2]&2|0)!=0:0)if((i|0)==(f[a+48>>2]|0)){u1a(g,e);break}else{g=f[e+4>>2]|0;f[i>>2]=f[e>>2];f[i+4>>2]=g;f[h>>2]=(f[h>>2]|0)+8;break}f[q>>2]=f[j+24>>2];f[l>>2]=d;if(i>>>0<(f[a+48>>2]|0)>>>0){e=q;g=f[e+4>>2]|0;f[i>>2]=f[e>>2];f[i+4>>2]=g;f[h>>2]=(f[h>>2]|0)+8}else t1a(g,q)}while(0);b[a+24>>0]=1;a=f[j+4>>2]|0;if(!a){d=j+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(j|0))do{j=f[d>>2]|0;d=j+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(j|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(m|0))break;else j=a}u=r;return}function o1a(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;p=u;u=u+16|0;m=p;n=p+8|0;o=p+12|0;a=f[c>>2]|0;k=c+4|0;if((a|0)==(k|0)){u=p;return}l=m+4|0;j=m+4|0;i=a;while(1){d=i+16|0;f[n>>2]=d;i1a(m,b,d,505019,n,o);d=f[m>>2]|0;e=d+28|0;a=f[e>>2]|0;g=d+32|0;h=f[g>>2]|0;do if((a|0)==(h|0)){f[m>>2]=f[i+28>>2];f[l>>2]=f[i+32>>2];if(a>>>0<(f[d+36>>2]|0)>>>0){d=m;e=f[d+4>>2]|0;h=a;f[h>>2]=f[d>>2];f[h+4>>2]=e;f[g>>2]=(f[g>>2]|0)+8}else r1a(e,m)}else{c=h+-8|0;a=f[i+32>>2]|0;if((a&4|0)==0?(f[h+-4>>2]&2|0)!=0:0)if((h|0)==(f[d+36>>2]|0)){s1a(e,c);break}else{d=c;e=f[d+4>>2]|0;f[h>>2]=f[d>>2];f[h+4>>2]=e;f[g>>2]=(f[g>>2]|0)+8;break}f[m>>2]=f[i+28>>2];f[j>>2]=a;if(h>>>0<(f[d+36>>2]|0)>>>0){d=m;e=f[d+4>>2]|0;f[h>>2]=f[d>>2];f[h+4>>2]=e;f[g>>2]=(f[g>>2]|0)+8}else r1a(e,m)}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)==(k|0))break;else i=a}u=p;return}function p1a(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;A=u;u=u+32|0;x=A+8|0;y=A;z=A+24|0;a=f[d>>2]|0;v=d+4|0;if((a|0)==(v|0)){u=A;return}w=x+12|0;q=x+11|0;r=x+12|0;s=c+12|0;t=x+11|0;p=a;while(1){h=p+16|0;f[y>>2]=h;CTa(x,c,h,505019,y,z);h=f[x>>2]|0;o=h+28|0;i=h+32|0;j=h+36|0;d=f[j>>2]|0;a:do if((f[i>>2]|0)==(d|0)){OBb(x,p+28|0);f[w>>2]=f[p+40>>2];a=f[j>>2]|0;if(a>>>0>=(f[h+40>>2]|0)>>>0){DTa(i,x);if((b[q>>0]|0)<0)GBb(f[x>>2]|0)}else{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;f[a+12>>2]=f[w>>2];f[j>>2]=(f[j>>2]|0)+16}b[o>>0]=1;b[s>>0]=1}else{e=d+-16|0;g=d+-4|0;a=p+40|0;if(f[g>>2]&2|0?(f[a>>2]&4|0)==0:0)if((d|0)==(f[h+40>>2]|0)){q1a(i,e);break}else{OBb(d,e);f[d+12>>2]=f[g>>2];f[j>>2]=(f[j>>2]|0)+16;break}OBb(x,p+28|0);f[r>>2]=f[a>>2];a=f[j>>2]|0;if(a>>>0>=(f[h+40>>2]|0)>>>0){DTa(i,x);if((b[t>>0]|0)<0)GBb(f[x>>2]|0)}else{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;f[a+12>>2]=f[r>>2];f[j>>2]=(f[j>>2]|0)+16}n=f[j>>2]|0;l=f[i>>2]|0;m=(n-l>>4)+-2|0;e=l+(m<<4)|0;a=n+-16|0;d=b[e+11>>0]|0;i=d<<24>>24<0;d=d&255;j=i?f[l+(m<<4)+4>>2]|0:d;k=b[a+11>>0]|0;g=k<<24>>24<0;b:do if((j|0)==((g?f[n+-12>>2]|0:k&255)|0)){h=f[e>>2]|0;k=i?h:e;a=g?f[a>>2]|0:a;g=(j|0)==0;h=h&255;c:do if(i){if(!g?anb(k,a,j)|0:0)break b}else if(!g){if((b[a>>0]|0)!=h<<24>>24)break b;while(1){d=d+-1|0;e=e+1|0;if(!d)break c;a=a+1|0;if((b[e>>0]|0)!=(b[a>>0]|0))break b}}while(0);if((f[l+(m<<4)+12>>2]|0)==(f[n+-4>>2]|0))break a}while(0);b[o>>0]=1;b[s>>0]=1}while(0);a=f[p+4>>2]|0;if(!a){d=p+8|0;a=f[d>>2]|0;if((f[a>>2]|0)!=(p|0))do{p=f[d>>2]|0;d=p+8|0;a=f[d>>2]|0}while((f[a>>2]|0)!=(p|0))}else while(1){d=f[a>>2]|0;if(!d)break;else a=d}if((a|0)==(v|0))break;else p=a}u=A;return}function q1a(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;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<e>>>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{i=EBb(d<<4)|0;break}else i=0;while(0);e=i+(h<<4)|0;k=i+(d<<4)|0;OBb(e,c);f[i+(h<<4)+12>>2]=f[c+12>>2];j=e+16|0;d=f[a>>2]|0;g=d;c=f[l>>2]|0;if((c|0)==(d|0))c=g;else{g=h+-1-((c+-16-g|0)>>>4)|0;do{h=e;e=e+-16|0;n=c;c=c+-16|0;f[e>>2]=f[c>>2];f[e+4>>2]=f[c+4>>2];f[e+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[h+-4>>2]=f[n+-4>>2]}while((c|0)!=(d|0));e=i+(g<<4)|0;c=f[a>>2]|0;d=f[l>>2]|0}f[a>>2]=e;f[l>>2]=j;f[m>>2]=k;e=c;if((d|0)!=(e|0))do{d=d+-16|0;if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0)}while((d|0)!=(e|0));if(!c)return;GBb(c);return}function r1a(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;i=a+4|0;j=f[a>>2]|0;k=(f[i>>2]|0)-j|0;g=k>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;m=b;g=f[m+4>>2]|0;b=c;f[b>>2]=f[m>>2];f[b+4>>2]=g;if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function s1a(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;i=a+4|0;j=f[a>>2]|0;k=(f[i>>2]|0)-j|0;g=k>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;m=b;g=f[m+4>>2]|0;b=c;f[b>>2]=f[m>>2];f[b+4>>2]=g;if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function t1a(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;i=a+4|0;j=f[a>>2]|0;k=(f[i>>2]|0)-j|0;g=k>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;m=b;g=f[m+4>>2]|0;b=c;f[b>>2]=f[m>>2];f[b+4>>2]=g;if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function u1a(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;i=a+4|0;j=f[a>>2]|0;k=(f[i>>2]|0)-j|0;g=k>>3;c=g+1|0;if(c>>>0>536870911)DCb(a);l=a+8|0;e=(f[l>>2]|0)-j|0;h=e>>2;h=e>>3>>>0<268435455?(h>>>0<c>>>0?c:h):536870911;do if(h)if(h>>>0>536870911){l=ab(8)|0;KBb(l,410101);f[l>>2]=362060;eb(l|0,302144,1464)}else{e=EBb(h<<3)|0;d=e;break}else{d=0;e=0}while(0);c=d+(g<<3)|0;m=b;g=f[m+4>>2]|0;b=c;f[b>>2]=f[m>>2];f[b+4>>2]=g;if((k|0)>0)YDb(e|0,j|0,k|0)|0;f[a>>2]=d;f[i>>2]=c+8;f[l>>2]=d+(h<<3);if(!j)return;GBb(j);return}function v1a(a){a=a|0;var b=0,c=0;if(!(f[a+132>>2]|0)){b=a+712|0;c=a+716|0;if((f[b>>2]|0)==(f[c>>2]|0))return;do f1a(a);while((f[b>>2]|0)!=(f[c>>2]|0));return}else{b=a+712|0;c=a+716|0;if((f[c>>2]|0)-(f[b>>2]|0)>>2>>>0<=2)return;do f1a(a);while((f[c>>2]|0)-(f[b>>2]|0)>>2>>>0>2);return}}function w1a(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;m=u;u=u+16|0;k=m;f[k>>2]=0;l=k+4|0;f[l>>2]=0;h=k+8|0;f[h>>2]=0;i=a+712|0;j=a+716|0;d=f[j>>2]|0;a:do if(d-(f[i>>2]|0)>>2>>>0>b>>>0){e=0;g=0;while(1){d=d+-4|0;if((e|0)==(g|0))l1a(k,d);else{f[e>>2]=f[d>>2];f[l>>2]=(f[l>>2]|0)+4}f1a(a);d=f[j>>2]|0;if(d-(f[i>>2]|0)>>2>>>0<=b>>>0)break a;e=f[l>>2]|0;g=f[h>>2]|0}}while(0);e1a(a,c);d=f[l>>2]|0;if((d|0)==(f[k>>2]|0)){if(!d){u=m;return}}else do{d=d+-4|0;e1a(a,f[d>>2]|0)}while((d|0)!=(f[k>>2]|0));f[l>>2]=d;GBb(d);u=m;return}function x1a(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;n=u;u=u+16|0;l=n;h=a+712|0;j=a+716|0;d=f[j>>2]|0;e=d-(f[h>>2]|0)>>2;if(e>>>0<=c>>>0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=n;return}m=Nu(csb(Nu(Hua(3)|0,453968,31)|0,c)|0,454e3,14)|0;Drb(l,m+(f[(f[m>>2]|0)+-12>>2]|0)|0);a=utb(l,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(l);ksb(m,a)|0;Krb(m)|0;u=n;return}f[l>>2]=0;m=l+4|0;f[m>>2]=0;i=l+8|0;f[i>>2]=0;a:do if((e+-1|0)>>>0>c>>>0){e=0;g=0;while(1){d=d+-4|0;if((e|0)==(g|0))l1a(l,d);else{f[e>>2]=f[d>>2];f[m>>2]=(f[m>>2]|0)+4}f1a(a);d=f[j>>2]|0;if(((d-(f[h>>2]|0)>>2)+-1|0)>>>0<=c>>>0)break a;e=f[m>>2]|0;g=f[i>>2]|0}}while(0);f1a(a);d=f[m>>2]|0;if((d|0)==(f[l>>2]|0)){if(d|0)k=17}else{do{d=d+-4|0;e1a(a,f[d>>2]|0)}while((d|0)!=(f[l>>2]|0));k=17}if((k|0)==17){f[m>>2]=d;GBb(d)}u=n;return}function y1a(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,C=0;C=u;u=u+16|0;x=C+8|0;y=C+4|0;A=C;f[A>>2]=c;B=a+368|0;d=c;if((f[B>>2]|0)==2)TIa(0,454015,0)|0;if(!c)I1a(a);else{z=a+716|0;c=f[z>>2]|0;if((c|0)==(f[a+720>>2]|0))l1a(a+712|0,A);else{f[c>>2]=d;f[z>>2]=(f[z>>2]|0)+4}v=a+156|0;t=a+160|0;lBa(v,f[t>>2]|0);s=a+164|0;f[s>>2]=0;f[v>>2]=t;f[t>>2]=0;c=f[A>>2]|0;j=c+68|0;k=c+80|0;l=c+72|0;g=f[l>>2]|0;d=f[j>>2]|0;n=(g-d|0)/12|0;m=c+84|0;p=((f[m>>2]|0)-(f[k>>2]|0)|0)/12|0;p=n>>>0>p>>>0?n:p;n=a+684|0;o=a+688|0;i=((f[o>>2]|0)-(f[n>>2]|0)|0)/12|0;i=p>>>0>i>>>0?p:i;p=a+696|0;q=a+700|0;r=((f[q>>2]|0)-(f[p>>2]|0)|0)/12|0;r=i>>>0>r>>>0?i:r;if(r){c=0;while(1){h=f[n>>2]|0;i=((f[o>>2]|0)-h|0)/12|0;if(c>>>0>=((g-d|0)/12|0)>>>0){if(c>>>0<i>>>0)A1a(a,c,h+(c*12|0)|0)}else{if(i>>>0<=c>>>0)PK(n,c+1-i|0);z1a(a,c,(f[n>>2]|0)+(c*12|0)|0,(f[j>>2]|0)+(c*12|0)|0)}d=f[p>>2]|0;g=((f[q>>2]|0)-d|0)/12|0;if(c>>>0>=(((f[m>>2]|0)-(f[k>>2]|0)|0)/12|0)>>>0){if(c>>>0<g>>>0)C1a(a,c,d+(c*12|0)|0)}else{if(g>>>0<=c>>>0)GI(p,c+1-g|0);B1a(a,c,(f[p>>2]|0)+(c*12|0)|0,(f[k>>2]|0)+(c*12|0)|0)}c=c+1|0;if(c>>>0>=r>>>0)break;d=f[j>>2]|0;g=f[l>>2]|0}c=f[A>>2]|0}h=a+708|0;d=f[h>>2]|0;D1a(a,a+620|0,c+44|0);i=a+656|0;p1a(a,i,(f[A>>2]|0)+104|0);E1a(a,a+632|0,(f[A>>2]|0)+56|0);r=f[h>>2]|0;if((r|0)!=0&(d|0)==(r|0)?b[a+668>>0]|0:0){r=f[d+12>>2]|0;Bj[f[(f[r>>2]|0)+196>>2]&1023](r,a)}if(b[a+144>>0]|0?(r=f[h>>2]|0,(d|0)==(r|0)|(r|0)==0):0)F1a(a);if((f[B>>2]|0)==2)TIa(0,454048,0)|0;g=f[A>>2]|0;c=g+92|0;d=(f[s>>2]|0)==0;do if(!(f[g+100>>2]|0)){c=a+644|0;if(!d){G1a(a,c,v);break}if(f[h>>2]|0?(e=f[c>>2]|0,w=a+648|0,(e|0)!=(w|0)):0)while(1){c=f[e+32>>2]|0;if((f[e+28>>2]|0)!=(c|0))uK(f[h>>2]|0,f[c+-8>>2]|0);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{y=f[d>>2]|0;d=y+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(y|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(w|0))break;else e=c}}else{if(d){G1a(a,a+644|0,c);break}c=f[c>>2]|0;h=g+96|0;if((c|0)!=(h|0)){g=t;e=c;while(1){c=e+16|0;f[y>>2]=g;f[x>>2]=f[y>>2];H1a(v,x,c,c)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{w=f[d>>2]|0;d=w+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(w|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(h|0))break;else e=c}}G1a(a,a+644|0,v)}while(0);j1a(a,i,(f[A>>2]|0)+104|0);f[z>>2]=(f[z>>2]|0)+-4}if((f[B>>2]|0)!=2){u=C;return}TIa(0,454080,0)|0;u=C;return}function z1a(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var 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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;i=f[e>>2]|0;g=f[d>>2]|0;L=d+4|0;J=e+4|0;if((g|0)==(L|0)|(i|0)==(J|0))u=i;else{p=d+4|0;q=a+732|0;r=d+8|0;s=a+776|0;t=a+368|0;u=(c|0)==0;v=a+764|0;w=a+768|0;x=c+33984|0;n=g;o=i;while(1){i=n+16|0;l=f[i>>2]|0;m=o+16|0;k=f[m>>2]|0;a:do if(l>>>0<k>>>0){e=n+20|0;g=i+5|0;b:do if(b[g>>0]|0){b[g>>0]=0;g=f[n+28>>2]|0;if((f[n+24>>2]|0)==(g|0)){i=b[i+7>>0]|0;j=i<<24>>24==0;if(!(b[e>>0]|0))break;g=e+2|0;if((b[g>>0]|0)==i<<24>>24)break;do if((f[q>>2]|0)!=(c|0)){e=f[s>>2]|0;if(e|0?(k=f[v>>2]|0,m=f[w>>2]|0,((k|0)>(m|0)?k:m)>>>0>c>>>0):0){tj[e&2047](x);f[q>>2]=c;break}if(!u)break b}while(0);b[g>>0]=i;if(j)Fh(l|0);else Ih(l|0);if((f[t>>2]|0)!=2)break;M1a(0,l)|0;break}else{g=f[g+-4>>2]&1;i=(g|0)==0;j=g&255;if(!(b[e>>0]|0))break;e=e+2|0;if((g|0)==(h[e>>0]|0))break;do if((f[q>>2]|0)!=(c|0)){g=f[s>>2]|0;if(g|0?(k=f[v>>2]|0,m=f[w>>2]|0,((k|0)>(m|0)?k:m)>>>0>c>>>0):0){tj[g&2047](x);f[q>>2]=c;break}if(!u)break b}while(0);b[e>>0]=j;if(i)Fh(l|0);else Ih(l|0);if((f[t>>2]|0)!=2)break;M1a(0,l)|0;break}}while(0);g=f[n+4>>2]|0;if(!g){e=n+8|0;g=f[e>>2]|0;if((f[g>>2]|0)==(n|0)){e=o;break}do{n=f[e>>2]|0;e=n+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(n|0));e=o}else{while(1){e=f[g>>2]|0;if(!e)break;else g=e}e=o;break}}else{if(k>>>0<l>>>0){g=f[L>>2]|0;do if(g){i=p;while(1){e=f[g+16>>2]|0;if(k>>>0<e>>>0){e=f[g>>2]|0;if(!e){I=42;break}else{i=g;g=e}}else{if(e>>>0>=k>>>0){I=46;break}i=g+4|0;e=f[i>>2]|0;if(!e){I=45;break}else g=e}}if((I|0)==42){I=0;j=g;i=g;break}else if((I|0)==45){I=0;j=g;break}else if((I|0)==46){I=0;j=g;break}}else{j=L;i=L}while(0);g=f[i>>2]|0;if(!g){e=EBb(36)|0;f[e+16>>2]=f[m>>2];f[e+24>>2]=0;f[e+28>>2]=0;f[e+32>>2]=0;b[e+20>>0]=1;b[e+21>>0]=0;b[e+22>>0]=0;b[e+23>>0]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=j;f[i>>2]=e;g=f[f[d>>2]>>2]|0;if(!g)g=e;else{f[d>>2]=g;g=f[i>>2]|0}Xo(f[p>>2]|0,g);f[r>>2]=(f[r>>2]|0)+1;g=e;k=f[m>>2]|0}e=f[o+20>>2]&1;i=(e|0)==0;j=e&255;c:do if(b[g+20>>0]|0?(y=g+22|0,(e|0)!=(h[y>>0]|0)):0){do if((f[q>>2]|0)!=(c|0)){e=f[s>>2]|0;if(e|0?(l=f[v>>2]|0,m=f[w>>2]|0,((l|0)>(m|0)?l:m)>>>0>c>>>0):0){tj[e&2047](x);f[q>>2]=c;break}if(!u)break c}while(0);b[y>>0]=j;if(i)Fh(k|0);else Ih(k|0);if((f[t>>2]|0)==2)M1a(0,k)|0}while(0);b[g+21>>0]=1;g=f[o+4>>2]|0;if(!g){g=o+8|0;e=f[g>>2]|0;if((f[e>>2]|0)==(o|0)){g=n;break}while(1){o=f[g>>2]|0;g=o+8|0;e=f[g>>2]|0;if((f[e>>2]|0)==(o|0)){g=n;break a}}}else{e=g;while(1){g=f[e>>2]|0;if(!g)break;else e=g}g=n;break}}e=n+20|0;g=f[n+28>>2]|0;d:do if(((f[n+24>>2]|0)!=(g|0)?(z=f[g+-4>>2]|0,(z&2|0)!=0):0)?(f[o+20>>2]&4|0)==0:0){g=i+5|0;if((b[g>>0]|0?(b[g>>0]=0,A=z&1,B=(A|0)==0,C=A&255,b[e>>0]|0):0)?(D=e+2|0,(A|0)!=(h[D>>0]|0)):0){do if((f[q>>2]|0)!=(c|0)){g=f[s>>2]|0;if(g|0?(j=f[v>>2]|0,m=f[w>>2]|0,((j|0)>(m|0)?j:m)>>>0>c>>>0):0){tj[g&2047](x);f[q>>2]=c;break}if(!u)break d}while(0);b[D>>0]=C;if(B)Fh(l|0);else Ih(l|0);if((f[t>>2]|0)==2)M1a(0,l)|0}}else I=87;while(0);e:do if(((I|0)==87?(I=0,E=f[o+20>>2]&1,F=(E|0)==0,G=E&255,b[e>>0]|0):0)?(H=e+2|0,(E|0)!=(h[H>>0]|0)):0){do if((f[q>>2]|0)!=(c|0)){g=f[s>>2]|0;if(g|0?(l=f[v>>2]|0,m=f[w>>2]|0,((l|0)>(m|0)?l:m)>>>0>c>>>0):0){tj[g&2047](x);f[q>>2]=c;break}if(!u)break e}while(0);b[H>>0]=G;if(F)Fh(k|0);else Ih(k|0);if((f[t>>2]|0)==2)M1a(0,k)|0;b[i+5>>0]=1}while(0);g=f[n+4>>2]|0;if(!g){e=n+8|0;g=f[e>>2]|0;if((f[g>>2]|0)!=(n|0))do{n=f[e>>2]|0;e=n+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(n|0))}else while(1){e=f[g>>2]|0;if(!e)break;else g=e}e=f[o+4>>2]|0;if(!e){i=o+8|0;e=f[i>>2]|0;if((f[e>>2]|0)==(o|0))break;do{o=f[i>>2]|0;i=o+8|0;e=f[i>>2]|0}while((f[e>>2]|0)!=(o|0))}else{while(1){i=f[e>>2]|0;if(!i)break;else e=i}break}}while(0);if((g|0)==(L|0)|(e|0)==(J|0)){u=e;break}else{n=g;o=e}}}if((g|0)!=(L|0)){n=a+732|0;o=a+776|0;p=a+368|0;q=(c|0)==0;r=a+764|0;s=a+768|0;t=c+33984|0;m=g;while(1){e=m+16|0;l=m+20|0;g=e+5|0;f:do if(b[g>>0]|0){b[g>>0]=0;g=f[m+28>>2]|0;if((f[m+24>>2]|0)==(g|0)){k=f[e>>2]|0;i=b[e+7>>0]|0;j=i<<24>>24==0;if(!(b[l>>0]|0))break;g=l+2|0;if((b[g>>0]|0)==i<<24>>24)break;do if((f[n>>2]|0)!=(c|0)){e=f[o>>2]|0;if(e|0?(H=f[r>>2]|0,I=f[s>>2]|0,((H|0)>(I|0)?H:I)>>>0>c>>>0):0){tj[e&2047](t);f[n>>2]=c;break}if(!q)break f}while(0);b[g>>0]=i;if(j)Fh(k|0);else Ih(k|0);if((f[p>>2]|0)!=2)break;M1a(0,k)|0;break}else{g=f[g+-4>>2]&1;k=(g|0)==0;i=f[e>>2]|0;j=g&255;if(!(b[l>>0]|0))break;e=l+2|0;if((g|0)==(h[e>>0]|0))break;do if((f[n>>2]|0)!=(c|0)){g=f[o>>2]|0;if(g|0?(H=f[r>>2]|0,I=f[s>>2]|0,((H|0)>(I|0)?H:I)>>>0>c>>>0):0){tj[g&2047](t);f[n>>2]=c;break}if(!q)break f}while(0);b[e>>0]=j;if(k)Fh(i|0);else Ih(i|0);if((f[p>>2]|0)!=2)break;M1a(0,i)|0;break}}while(0);g=f[m+4>>2]|0;if(!g){e=m+8|0;g=f[e>>2]|0;if((f[g>>2]|0)!=(m|0))do{I=f[e>>2]|0;e=I+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(I|0))}else while(1){e=f[g>>2]|0;if(!e)break;else g=e}if((g|0)==(L|0))break;else m=g}}if((u|0)==(J|0))return;p=d+4|0;q=d+8|0;r=a+732|0;s=a+776|0;t=a+368|0;v=(c|0)==0;w=a+764|0;n=a+768|0;o=c+33984|0;m=u;while(1){l=m+16|0;g=f[L>>2]|0;do if(g){j=f[l>>2]|0;i=p;while(1){e=f[g+16>>2]|0;if(j>>>0<e>>>0){e=f[g>>2]|0;if(!e){I=157;break}}else{if(e>>>0>=j>>>0){I=161;break}i=g+4|0;e=f[i>>2]|0;if(!e){I=160;break}else g=i}i=g;g=e}if((I|0)==157){j=g;i=g;break}else if((I|0)==160){j=g;break}else if((I|0)==161){j=g;break}}else{j=L;i=L}while(0);g=f[i>>2]|0;if(!g){e=EBb(36)|0;f[e+16>>2]=f[l>>2];f[e+24>>2]=0;f[e+28>>2]=0;f[e+32>>2]=0;b[e+20>>0]=1;b[e+21>>0]=0;b[e+22>>0]=0;b[e+23>>0]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=j;f[i>>2]=e;g=f[f[d>>2]>>2]|0;if(!g)g=e;else{f[d>>2]=g;g=f[i>>2]|0}Xo(f[p>>2]|0,g);f[q>>2]=(f[q>>2]|0)+1;g=e}e=f[m+20>>2]&1;k=(e|0)==0;i=f[l>>2]|0;j=e&255;g:do if(b[g+20>>0]|0?(K=g+22|0,(e|0)!=(h[K>>0]|0)):0){do if((f[r>>2]|0)!=(c|0)){e=f[s>>2]|0;if(e|0?(I=f[w>>2]|0,a=f[n>>2]|0,((I|0)>(a|0)?I:a)>>>0>c>>>0):0){tj[e&2047](o);f[r>>2]=c;break}if(!v)break g}while(0);b[K>>0]=j;if(k)Fh(i|0);else Ih(i|0);if((f[t>>2]|0)==2)M1a(0,i)|0}while(0);b[g+21>>0]=1;g=f[m+4>>2]|0;if(!g){e=m+8|0;g=f[e>>2]|0;if((f[g>>2]|0)!=(m|0))do{a=f[e>>2]|0;e=a+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(a|0))}else while(1){e=f[g>>2]|0;if(!e)break;else g=e}if((g|0)==(J|0))break;else m=g}return}function A1a(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;e=f[d>>2]|0;o=d+4|0;if((e|0)==(o|0))return;p=a+732|0;q=a+776|0;r=a+368|0;s=(c|0)==0;n=a+764|0;l=a+768|0;m=c+33984|0;while(1){a=e+16|0;k=e+20|0;d=a+5|0;a:do if(b[d>>0]|0){b[d>>0]=0;d=f[e+28>>2]|0;if((f[e+24>>2]|0)==(d|0)){j=f[a>>2]|0;g=b[a+7>>0]|0;i=g<<24>>24==0;if(!(b[k>>0]|0))break;d=k+2|0;if((b[d>>0]|0)==g<<24>>24)break;do if((f[p>>2]|0)!=(c|0)){a=f[q>>2]|0;if(a|0?(t=f[n>>2]|0,k=f[l>>2]|0,((t|0)>(k|0)?t:k)>>>0>c>>>0):0){tj[a&2047](m);f[p>>2]=c;break}if(!s)break a}while(0);b[d>>0]=g;if(i)Fh(j|0);else Ih(j|0);if((f[r>>2]|0)!=2)break;M1a(0,j)|0;break}else{d=f[d+-4>>2]&1;j=(d|0)==0;g=f[a>>2]|0;i=d&255;if(!(b[k>>0]|0))break;a=k+2|0;if((d|0)==(h[a>>0]|0))break;do if((f[p>>2]|0)!=(c|0)){d=f[q>>2]|0;if(d|0?(k=f[n>>2]|0,t=f[l>>2]|0,((k|0)>(t|0)?k:t)>>>0>c>>>0):0){tj[d&2047](m);f[p>>2]=c;break}if(!s)break a}while(0);b[a>>0]=i;if(j)Fh(g|0);else Ih(g|0);if((f[r>>2]|0)!=2)break;M1a(0,g)|0;break}}while(0);d=f[e+4>>2]|0;if(!d){a=e+8|0;d=f[a>>2]|0;if((f[d>>2]|0)!=(e|0))do{t=f[a>>2]|0;a=t+8|0;d=f[a>>2]|0}while((f[d>>2]|0)!=(t|0))}else while(1){a=f[d>>2]|0;if(!a)break;else d=a}if((d|0)==(o|0))break;else e=d}return}function B1a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0;h=f[e>>2]|0;g=f[d>>2]|0;z=d+4|0;y=e+4|0;if((g|0)==(z|0)|(h|0)==(y|0)){e=g;l=h}else{n=a+732|0;o=d+4|0;p=a+776|0;q=(c|0)==0;r=a+764|0;s=a+768|0;t=d+8|0;u=a+368|0;v=a+145|0;w=c+33984|0;l=g;m=h;while(1){k=m+16|0;e=f[l+16>>2]|0;j=f[k>>2]|0;a:do if((e|0)>=(j|0)){if((j|0)>=(e|0)){if((f[l+20>>2]|0)>>>0<(f[m+20>>2]|0)>>>0){A=6;break}if((f[m+20>>2]|0)>>>0>=(f[l+20>>2]|0)>>>0){e=l+24|0;g=f[l+44>>2]|0;if(((f[l+40>>2]|0)!=(g|0)?(f[g+-4>>2]&2|0)!=0:0)?(f[m+28>>2]&4|0)==0:0){if(b[e>>0]|0){b[e>>0]=0;lJ(a,c,f[g+-8>>2]|0,e)|0}}else A=56;if((A|0)==56?(A=0,lJ(a,c,f[m+24>>2]|0,e)|0):0)b[e>>0]=1;e=f[l+4>>2]|0;if(!e){g=l+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(l|0))do{l=f[g>>2]|0;g=l+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(l|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}g=f[m+4>>2]|0;if(!g){h=m+8|0;g=f[h>>2]|0;if((f[g>>2]|0)==(m|0))break;while(1){m=f[h>>2]|0;h=m+8|0;g=f[h>>2]|0;if((f[g>>2]|0)==(m|0))break a}}else{while(1){h=f[g>>2]|0;if(!h)break;else g=h}break}}}e=f[z>>2]|0;do if(e){i=f[m+20>>2]|0;h=o;b:while(1){g=f[e+16>>2]|0;do if((j|0)>=(g|0)){if((g|0)>=(j|0)){g=f[e+20>>2]|0;if(i>>>0<g>>>0){A=33;break}if(g>>>0>=i>>>0){A=38;break b}}h=e+4|0;g=f[h>>2]|0;if(!g){A=37;break b}else e=h}else A=33;while(0);if((A|0)==33){A=0;g=f[e>>2]|0;if(!g){A=34;break}}h=e;e=g}if((A|0)==34){A=0;g=e;h=e;break}else if((A|0)==37){A=0;g=e;break}else if((A|0)==38){A=0;g=e;break}}else{g=z;h=z}while(0);e=f[h>>2]|0;if(!e){e=EBb(52)|0;i=k;j=f[i+4>>2]|0;k=e+16|0;f[k>>2]=f[i>>2];f[k+4>>2]=j;b[e+24>>0]=0;k=e+28|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[d>>2]>>2]|0;if(!g)g=e;else{f[d>>2]=g;g=f[h>>2]|0}Xo(f[o>>2]|0,g);f[t>>2]=(f[t>>2]|0)+1}e=e+24|0;lJ(a,c,f[m+24>>2]|0,e)|0;b[e>>0]=1;e=f[m+4>>2]|0;if(!e){e=m+8|0;g=f[e>>2]|0;if((f[g>>2]|0)==(m|0)){e=l;break}do{m=f[e>>2]|0;e=m+8|0;g=f[e>>2]|0}while((f[g>>2]|0)!=(m|0));e=l}else{g=e;while(1){e=f[g>>2]|0;if(!e)break;else g=e}e=l;break}}else A=6;while(0);do if((A|0)==6){A=0;e=l+24|0;c:do if(b[e>>0]|0){b[e>>0]=0;g=f[l+44>>2]|0;if((f[l+40>>2]|0)!=(g|0)){lJ(a,c,f[g+-8>>2]|0,e)|0;break}h=l+28|0;i=l+36|0;e=f[i>>2]|0;if((f[h>>2]|0)!=(e|0)){do if((f[n>>2]|0)!=(c|0)){g=f[p>>2]|0;if(g|0?(j=f[r>>2]|0,k=f[s>>2]|0,((j|0)>(k|0)?j:k)>>>0>c>>>0):0){tj[g&2047](w);f[n>>2]=c;e=f[i>>2]|0;break}if(!q)break c}while(0);f[h>>2]=e;if(e|0){Bj[f[(f[e>>2]|0)+196>>2]&1023](e,a);e=f[i>>2]|0;g=f[e+44>>2]|0;h=l+32|0;if((f[h>>2]|0)!=(g|0)){f[h>>2]=g;b[v>>0]=1}if((f[u>>2]|0)==2)L1a(0,e)|0}}}while(0);e=f[l+4>>2]|0;if(!e){g=l+8|0;e=f[g>>2]|0;if((f[e>>2]|0)==(l|0)){g=m;break}do{l=f[g>>2]|0;g=l+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(l|0));g=m}else{while(1){g=f[e>>2]|0;if(!g)break;else e=g}g=m;break}}while(0);if((e|0)==(z|0)|(g|0)==(y|0)){l=g;break}else{l=e;m=g}}}if((e|0)!=(z|0)){j=a+732|0;k=a+776|0;m=a+764|0;n=a+768|0;o=a+368|0;p=a+145|0;q=c+33984|0;if(!c){i=e;while(1){e=i+24|0;do if(b[e>>0]|0){b[e>>0]=0;g=f[i+44>>2]|0;if((f[i+40>>2]|0)!=(g|0)){lJ(a,0,f[g+-8>>2]|0,e)|0;break}g=i+28|0;h=i+36|0;e=f[h>>2]|0;if((f[g>>2]|0)!=(e|0)){if(((f[j>>2]|0)!=0?(x=f[k>>2]|0,(x|0)!=0):0)?(v=f[m>>2]|0,w=f[n>>2]|0,(((v|0)>(w|0)?v:w)|0)!=0):0){tj[x&2047](q);f[j>>2]=0;e=f[h>>2]|0}f[g>>2]=e;if(e|0){Bj[f[(f[e>>2]|0)+196>>2]&1023](e,a);e=f[h>>2]|0;g=f[e+44>>2]|0;h=i+32|0;if((f[h>>2]|0)!=(g|0)){f[h>>2]=g;b[p>>0]=1}if((f[o>>2]|0)==2)L1a(0,e)|0}}}while(0);e=f[i+4>>2]|0;if(!e){g=i+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(i|0))do{w=f[g>>2]|0;g=w+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(w|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(z|0))break;else i=e}}else{i=e;while(1){e=i+24|0;do if(b[e>>0]|0){b[e>>0]=0;g=f[i+44>>2]|0;if((f[i+40>>2]|0)!=(g|0)){lJ(a,c,f[g+-8>>2]|0,e)|0;break}g=i+28|0;h=i+36|0;e=f[h>>2]|0;if((f[g>>2]|0)!=(e|0)){if((f[j>>2]|0)!=(c|0)){e=f[k>>2]|0;if(!e)break;w=f[m>>2]|0;x=f[n>>2]|0;if(((w|0)>(x|0)?w:x)>>>0<=c>>>0)break;tj[e&2047](q);f[j>>2]=c;e=f[h>>2]|0}f[g>>2]=e;if(e|0){Bj[f[(f[e>>2]|0)+196>>2]&1023](e,a);e=f[h>>2]|0;g=f[e+44>>2]|0;h=i+32|0;if((f[h>>2]|0)!=(g|0)){f[h>>2]=g;b[p>>0]=1}if((f[o>>2]|0)==2)L1a(0,e)|0}}}while(0);e=f[i+4>>2]|0;if(!e){g=i+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(i|0))do{x=f[g>>2]|0;g=x+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(x|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(z|0))break;else i=e}}}if((l|0)==(y|0))return;m=d+4|0;n=d+8|0;while(1){k=l+16|0;e=f[z>>2]|0;do if(e){i=f[k>>2]|0;j=f[l+20>>2]|0;h=m;d:while(1){g=f[e+16>>2]|0;do if((i|0)>=(g|0)){if((g|0)>=(i|0)){g=f[e+20>>2]|0;if(j>>>0<g>>>0){A=126;break}if(g>>>0>=j>>>0){A=131;break d}}h=e+4|0;g=f[h>>2]|0;if(!g){A=130;break d}else e=h}else A=126;while(0);if((A|0)==126){A=0;g=f[e>>2]|0;if(!g){A=127;break}}h=e;e=g}if((A|0)==127){A=0;g=e;h=e;break}else if((A|0)==130){A=0;g=e;break}else if((A|0)==131){A=0;g=e;break}}else{g=z;h=z}while(0);e=f[h>>2]|0;if(!e){e=EBb(52)|0;v=k;w=f[v+4>>2]|0;x=e+16|0;f[x>>2]=f[v>>2];f[x+4>>2]=w;b[e+24>>0]=0;x=e+28|0;f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;f[x+12>>2]=0;f[x+16>>2]=0;f[x+20>>2]=0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=g;f[h>>2]=e;g=f[f[d>>2]>>2]|0;if(!g)g=e;else{f[d>>2]=g;g=f[h>>2]|0}Xo(f[m>>2]|0,g);f[n>>2]=(f[n>>2]|0)+1}e=e+24|0;lJ(a,c,f[l+24>>2]|0,e)|0;b[e>>0]=1;e=f[l+4>>2]|0;if(!e){g=l+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(l|0))do{x=f[g>>2]|0;g=x+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(x|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((e|0)==(y|0))break;else l=e}return}function C1a(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;e=f[d>>2]|0;n=d+4|0;if((e|0)==(n|0))return;o=a+732|0;p=a+776|0;q=a+764|0;j=a+768|0;k=a+368|0;l=a+145|0;m=c+33984|0;if(!c){h=e;while(1){d=h+24|0;do if(b[d>>0]|0){b[d>>0]=0;e=f[h+44>>2]|0;if((f[h+40>>2]|0)!=(e|0)){lJ(a,0,f[e+-8>>2]|0,d)|0;break}e=h+28|0;g=h+36|0;d=f[g>>2]|0;if((f[e>>2]|0)!=(d|0)){if(((f[o>>2]|0)!=0?(i=f[p>>2]|0,(i|0)!=0):0)?(r=f[q>>2]|0,c=f[j>>2]|0,(((r|0)>(c|0)?r:c)|0)!=0):0){tj[i&2047](m);f[o>>2]=0;d=f[g>>2]|0}f[e>>2]=d;if(d|0){Bj[f[(f[d>>2]|0)+196>>2]&1023](d,a);d=f[g>>2]|0;e=f[d+44>>2]|0;g=h+32|0;if((f[g>>2]|0)!=(e|0)){f[g>>2]=e;b[l>>0]=1}if((f[k>>2]|0)==2)L1a(0,d)|0}}}while(0);d=f[h+4>>2]|0;if(!d){e=h+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(h|0))do{r=f[e>>2]|0;e=r+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(r|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(n|0))break;else h=d}return}else{h=e;while(1){d=h+24|0;do if(b[d>>0]|0){b[d>>0]=0;e=f[h+44>>2]|0;if((f[h+40>>2]|0)!=(e|0)){lJ(a,c,f[e+-8>>2]|0,d)|0;break}e=h+28|0;g=h+36|0;d=f[g>>2]|0;if((f[e>>2]|0)!=(d|0)){if((f[o>>2]|0)!=(c|0)){d=f[p>>2]|0;if(!d)break;i=f[q>>2]|0;r=f[j>>2]|0;if(((i|0)>(r|0)?i:r)>>>0<=c>>>0)break;tj[d&2047](m);f[o>>2]=c;d=f[g>>2]|0}f[e>>2]=d;if(d|0){Bj[f[(f[d>>2]|0)+196>>2]&1023](d,a);d=f[g>>2]|0;e=f[d+44>>2]|0;g=h+32|0;if((f[g>>2]|0)!=(e|0)){f[g>>2]=e;b[l>>0]=1}if((f[k>>2]|0)==2)L1a(0,d)|0}}}while(0);d=f[h+4>>2]|0;if(!d){e=h+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(h|0))do{r=f[e>>2]|0;e=r+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(r|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((d|0)==(n|0))break;else h=d}return}}function D1a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=f[d>>2]|0;e=f[c>>2]|0;E=c+4|0;C=d+4|0;if((e|0)==(E|0)|(g|0)==(C|0))l=g;else{q=c+4|0;o=c+8|0;p=a+368|0;m=e;n=g;while(1){j=m+16|0;k=f[j>>2]|0;l=n+16|0;i=f[l>>2]|0;a:do if(k>>>0<i>>>0){g=m+20|0;e=j+5|0;do if(b[e>>0]|0){b[e>>0]=0;e=f[m+28>>2]|0;if((f[m+24>>2]|0)==(e|0)){d=b[j+7>>0]|0;if(!(b[g>>0]|0))break;e=g+2|0;if((b[e>>0]|0)==d<<24>>24)break;b[e>>0]=d;if(!(d<<24>>24))Fh(k|0);else Ih(k|0);if((f[p>>2]|0)!=2)break;M1a(0,k)|0;break}else{d=f[e+-4>>2]&1;if(!(b[g>>0]|0))break;e=g+2|0;if((d|0)==(h[e>>0]|0))break;b[e>>0]=d;if(!d)Fh(k|0);else Ih(k|0);if((f[p>>2]|0)!=2)break;M1a(0,k)|0;break}}while(0);e=f[m+4>>2]|0;if(!e){d=m+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(m|0)){d=n;break}do{m=f[d>>2]|0;d=m+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(m|0));d=n}else{while(1){d=f[e>>2]|0;if(!d)break;else e=d}d=n;break}}else{if(i>>>0<k>>>0){e=f[E>>2]|0;do if(e){g=q;while(1){d=f[e+16>>2]|0;if(i>>>0<d>>>0){d=f[e>>2]|0;if(!d){B=32;break}else{g=e;e=d}}else{if(d>>>0>=i>>>0){B=36;break}g=e+4|0;d=f[g>>2]|0;if(!d){B=35;break}else e=d}}if((B|0)==32){B=0;j=e;g=e;break}else if((B|0)==35){B=0;j=e;break}else if((B|0)==36){B=0;j=e;break}}else{j=E;g=E}while(0);e=f[g>>2]|0;if(!e){d=EBb(36)|0;f[d+16>>2]=f[l>>2];f[d+24>>2]=0;f[d+28>>2]=0;f[d+32>>2]=0;b[d+20>>0]=1;b[d+21>>0]=0;b[d+22>>0]=0;b[d+23>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=j;f[g>>2]=d;e=f[f[c>>2]>>2]|0;if(!e)e=d;else{f[c>>2]=e;e=f[g>>2]|0}Xo(f[q>>2]|0,e);f[o>>2]=(f[o>>2]|0)+1;j=d;i=f[l>>2]|0}else j=e;e=f[n+20>>2]&1;d=(e|0)==0;g=e&255;if(b[j+20>>0]|0?(r=j+22|0,(e|0)!=(h[r>>0]|0)):0){b[r>>0]=g;if(d)Fh(i|0);else Ih(i|0);if((f[p>>2]|0)==2)M1a(0,i)|0}b[j+21>>0]=1;e=f[n+4>>2]|0;if(!e){e=n+8|0;d=f[e>>2]|0;if((f[d>>2]|0)==(n|0)){e=m;break}while(1){n=f[e>>2]|0;e=n+8|0;d=f[e>>2]|0;if((f[d>>2]|0)==(n|0)){e=m;break a}}}else{d=e;while(1){e=f[d>>2]|0;if(!e)break;else d=e}e=m;break}}d=m+20|0;e=f[m+28>>2]|0;if(((f[m+24>>2]|0)!=(e|0)?(s=f[e+-4>>2]|0,(s&2|0)!=0):0)?(f[n+20>>2]&4|0)==0:0){e=j+5|0;if((b[e>>0]|0?(b[e>>0]=0,t=s&1,u=(t|0)==0,v=t&255,b[d>>0]|0):0)?(w=d+2|0,(t|0)!=(h[w>>0]|0)):0){b[w>>0]=v;if(u)Fh(k|0);else Ih(k|0);if((f[p>>2]|0)==2)M1a(0,k)|0}}else B=67;if(((B|0)==67?(B=0,x=f[n+20>>2]&1,y=(x|0)==0,z=x&255,b[d>>0]|0):0)?(A=d+2|0,(x|0)!=(h[A>>0]|0)):0){b[A>>0]=z;if(y)Fh(i|0);else Ih(i|0);if((f[p>>2]|0)==2)M1a(0,i)|0;b[j+5>>0]=1}e=f[m+4>>2]|0;if(!e){d=m+8|0;e=f[d>>2]|0;if((f[e>>2]|0)!=(m|0))do{m=f[d>>2]|0;d=m+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(m|0))}else while(1){d=f[e>>2]|0;if(!d)break;else e=d}d=f[n+4>>2]|0;if(!d){g=n+8|0;d=f[g>>2]|0;if((f[d>>2]|0)==(n|0))break;do{n=f[g>>2]|0;g=n+8|0;d=f[g>>2]|0}while((f[d>>2]|0)!=(n|0))}else{while(1){g=f[d>>2]|0;if(!g)break;else d=g}break}}while(0);if((e|0)==(E|0)|(d|0)==(C|0)){l=d;break}else{m=e;n=d}}}if((e|0)!=(E|0)){k=a+368|0;j=e;while(1){d=j+16|0;i=j+20|0;e=d+5|0;do if(b[e>>0]|0){b[e>>0]=0;e=f[j+28>>2]|0;if((f[j+24>>2]|0)==(e|0)){g=f[d>>2]|0;d=b[d+7>>0]|0;if(!(b[i>>0]|0))break;e=i+2|0;if((b[e>>0]|0)==d<<24>>24)break;b[e>>0]=d;if(!(d<<24>>24))Fh(g|0);else Ih(g|0);if((f[k>>2]|0)!=2)break;M1a(0,g)|0;break}else{g=f[e+-4>>2]&1;d=f[d>>2]|0;if(!(b[i>>0]|0))break;e=i+2|0;if((g|0)==(h[e>>0]|0))break;b[e>>0]=g;if(!g)Fh(d|0);else Ih(d|0);if((f[k>>2]|0)!=2)break;M1a(0,d)|0;break}}while(0);e=f[j+4>>2]|0;if(!e){d=j+8|0;e=f[d>>2]|0;if((f[e>>2]|0)!=(j|0))do{B=f[d>>2]|0;d=B+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(B|0))}else while(1){d=f[e>>2]|0;if(!d)break;else e=d}if((e|0)==(E|0))break;else j=e}}if((l|0)==(C|0))return;n=c+4|0;o=c+8|0;m=a+368|0;while(1){k=l+16|0;e=f[E>>2]|0;do if(e){i=f[k>>2]|0;g=n;while(1){d=f[e+16>>2]|0;if(i>>>0<d>>>0){d=f[e>>2]|0;if(!d){B=122;break}}else{if(d>>>0>=i>>>0){B=126;break}g=e+4|0;d=f[g>>2]|0;if(!d){B=125;break}else e=g}g=e;e=d}if((B|0)==122){i=e;g=e;break}else if((B|0)==125){i=e;break}else if((B|0)==126){i=e;break}}else{i=E;g=E}while(0);e=f[g>>2]|0;if(!e){d=EBb(36)|0;f[d+16>>2]=f[k>>2];f[d+24>>2]=0;f[d+28>>2]=0;f[d+32>>2]=0;b[d+20>>0]=1;b[d+21>>0]=0;b[d+22>>0]=0;b[d+23>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=i;f[g>>2]=d;e=f[f[c>>2]>>2]|0;if(!e)e=d;else{f[c>>2]=e;e=f[g>>2]|0}Xo(f[n>>2]|0,e);f[o>>2]=(f[o>>2]|0)+1;e=d}i=f[l+20>>2]&1;j=(i|0)==0;d=f[k>>2]|0;g=i&255;if(b[e+20>>0]|0?(D=e+22|0,(i|0)!=(h[D>>0]|0)):0){b[D>>0]=g;if(j)Fh(d|0);else Ih(d|0);if((f[m>>2]|0)==2)M1a(0,d)|0}b[e+21>>0]=1;e=f[l+4>>2]|0;if(!e){d=l+8|0;e=f[d>>2]|0;if((f[e>>2]|0)!=(l|0))do{a=f[d>>2]|0;d=a+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(a|0))}else while(1){d=f[e>>2]|0;if(!d)break;else e=d}if((e|0)==(C|0))break;else l=e}return}function E1a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;g=f[d>>2]|0;e=f[c>>2]|0;H=c+4|0;E=d+4|0;if((e|0)==(H|0)|(g|0)==(E|0))k=g;else{p=c+4|0;m=a+368|0;n=a+145|0;o=c+8|0;k=e;l=g;while(1){j=l+16|0;e=f[k+16>>2]|0;i=f[j>>2]|0;a:do if((e|0)>=(i|0)){if((i|0)>=(e|0)){if((f[k+20>>2]|0)>>>0<(f[l+20>>2]|0)>>>0){I=6;break}if((f[l+20>>2]|0)>>>0>=(f[k+20>>2]|0)>>>0){g=k+24|0;e=f[k+44>>2]|0;if(((f[k+40>>2]|0)!=(e|0)?(f[e+-4>>2]&2|0)!=0:0)?(f[l+28>>2]&4|0)==0:0){if(b[g>>0]|0?(b[g>>0]=0,s=f[e+-8>>2]|0,t=k+28|0,(f[t>>2]|0)!=(s|0)):0){e=k+36|0;do if((f[e>>2]|0)==0?(u=_i[f[(f[s>>2]|0)+12>>2]&2047](s)|0,u=_i[f[(f[u>>2]|0)+56>>2]&2047](u)|0,v=f[e>>2]|0,(v|0)!=(u|0)):0){f[e>>2]=u;if(u|0){j=u+8|0;f[j>>2]=(f[j>>2]|0)+1}if(v|0){i=v+8|0;j=f[i>>2]|0;f[i>>2]=j-1;if((j|0)!=1)break;Rua(v,1,1)}}while(0);f[t>>2]=s;Bj[f[(f[s>>2]|0)+196>>2]&1023](s,a);e=f[s+44>>2]|0;d=k+32|0;if((f[d>>2]|0)!=(e|0)){f[d>>2]=e;b[n>>0]=1}if((f[m>>2]|0)==2)L1a(0,s)|0}}else I=85;if((I|0)==85?(I=0,w=f[l+24>>2]|0,x=k+28|0,(f[x>>2]|0)!=(w|0)):0){e=k+36|0;if((f[e>>2]|0)==0?(y=_i[f[(f[w>>2]|0)+12>>2]&2047](w)|0,y=_i[f[(f[y>>2]|0)+56>>2]&2047](y)|0,z=f[e>>2]|0,(z|0)!=(y|0)):0){f[e>>2]=y;if(y|0){j=y+8|0;f[j>>2]=(f[j>>2]|0)+1}if(z|0?(i=z+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(z,1,1)}f[x>>2]=w;Bj[f[(f[w>>2]|0)+196>>2]&1023](w,a);e=f[w+44>>2]|0;d=k+32|0;if((f[d>>2]|0)!=(e|0)){f[d>>2]=e;b[n>>0]=1}if((f[m>>2]|0)==2)L1a(0,w)|0;b[g>>0]=1}e=f[k+4>>2]|0;if(!e){d=k+8|0;e=f[d>>2]|0;if((f[e>>2]|0)!=(k|0))do{k=f[d>>2]|0;d=k+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(k|0))}else while(1){d=f[e>>2]|0;if(!d)break;else e=d}d=f[l+4>>2]|0;if(!d){g=l+8|0;d=f[g>>2]|0;if((f[d>>2]|0)==(l|0))break;while(1){l=f[g>>2]|0;g=l+8|0;d=f[g>>2]|0;if((f[d>>2]|0)==(l|0))break a}}else{while(1){g=f[d>>2]|0;if(!g)break;else d=g}break}}}e=f[H>>2]|0;do if(e){h=f[l+20>>2]|0;d=p;b:while(1){g=f[e+16>>2]|0;do if((i|0)>=(g|0)){if((g|0)>=(i|0)){g=f[e+20>>2]|0;if(h>>>0<g>>>0){I=39;break}if(g>>>0>=h>>>0){I=44;break b}}d=e+4|0;g=f[d>>2]|0;if(!g){I=43;break b}else e=d}else I=39;while(0);if((I|0)==39){I=0;g=f[e>>2]|0;if(!g){I=40;break}}d=e;e=g}if((I|0)==40){I=0;h=e;d=e;break}else if((I|0)==43){I=0;h=e;break}else if((I|0)==44){I=0;h=e;break}}else{h=H;d=H}while(0);e=f[d>>2]|0;if(!e){g=EBb(52)|0;i=j;j=f[i+4>>2]|0;e=g+16|0;f[e>>2]=f[i>>2];f[e+4>>2]=j;b[g+24>>0]=0;e=g+28|0;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[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[d>>2]=g;e=f[f[c>>2]>>2]|0;if(!e)e=g;else{f[c>>2]=e;e=f[d>>2]|0}Xo(f[p>>2]|0,e);f[o>>2]=(f[o>>2]|0)+1;e=g}h=f[l+24>>2]|0;d=e+28|0;if((f[d>>2]|0)!=(h|0)){g=e+36|0;if((f[g>>2]|0)==0?(q=_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0,q=_i[f[(f[q>>2]|0)+56>>2]&2047](q)|0,r=f[g>>2]|0,(r|0)!=(q|0)):0){f[g>>2]=q;if(q|0){j=q+8|0;f[j>>2]=(f[j>>2]|0)+1}if(r|0?(i=r+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(r,1,1)}f[d>>2]=h;Bj[f[(f[h>>2]|0)+196>>2]&1023](h,a);d=f[h+44>>2]|0;g=e+32|0;if((f[g>>2]|0)!=(d|0)){f[g>>2]=d;b[n>>0]=1}if((f[m>>2]|0)==2)L1a(0,h)|0}b[e+24>>0]=1;e=f[l+4>>2]|0;if(!e){e=l+8|0;d=f[e>>2]|0;if((f[d>>2]|0)==(l|0)){e=k;break}do{l=f[e>>2]|0;e=l+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(l|0));e=k}else{d=e;while(1){e=f[d>>2]|0;if(!e)break;else d=e}e=k;break}}else I=6;while(0);do if((I|0)==6){I=0;e=k+24|0;do if(b[e>>0]|0){b[e>>0]=0;e=f[k+44>>2]|0;if((f[k+40>>2]|0)==(e|0)){e=k+28|0;d=k+36|0;g=f[d>>2]|0;if((f[e>>2]|0)==(g|0))break;f[e>>2]=g;if(!g)break;Bj[f[(f[g>>2]|0)+196>>2]&1023](g,a);e=f[d>>2]|0;d=f[e+44>>2]|0;g=k+32|0;if((f[g>>2]|0)!=(d|0)){f[g>>2]=d;b[n>>0]=1}if((f[m>>2]|0)!=2)break;L1a(0,e)|0;break}g=f[e+-8>>2]|0;e=k+28|0;if((f[e>>2]|0)!=(g|0)){d=k+36|0;if((f[d>>2]|0)==0?(A=_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0,A=_i[f[(f[A>>2]|0)+56>>2]&2047](A)|0,B=f[d>>2]|0,(B|0)!=(A|0)):0){f[d>>2]=A;if(A|0){j=A+8|0;f[j>>2]=(f[j>>2]|0)+1}if(B|0?(i=B+8|0,j=f[i>>2]|0,f[i>>2]=j-1,(j|0)==1):0)Rua(B,1,1)}f[e>>2]=g;Bj[f[(f[g>>2]|0)+196>>2]&1023](g,a);e=f[g+44>>2]|0;d=k+32|0;if((f[d>>2]|0)!=(e|0)){f[d>>2]=e;b[n>>0]=1}if((f[m>>2]|0)==2)L1a(0,g)|0}}while(0);e=f[k+4>>2]|0;if(!e){d=k+8|0;e=f[d>>2]|0;if((f[e>>2]|0)==(k|0)){d=l;break}do{k=f[d>>2]|0;d=k+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(k|0));d=l}else{while(1){d=f[e>>2]|0;if(!d)break;else e=d}d=l;break}}while(0);if((e|0)==(H|0)|(d|0)==(E|0)){k=d;break}else{k=e;l=d}}}if((e|0)!=(H|0)){i=a+368|0;j=a+145|0;h=e;while(1){e=h+24|0;do if(b[e>>0]|0){b[e>>0]=0;e=f[h+44>>2]|0;if((f[h+40>>2]|0)==(e|0)){e=h+28|0;d=h+36|0;g=f[d>>2]|0;if((f[e>>2]|0)==(g|0))break;f[e>>2]=g;if(!g)break;Bj[f[(f[g>>2]|0)+196>>2]&1023](g,a);e=f[d>>2]|0;d=f[e+44>>2]|0;g=h+32|0;if((f[g>>2]|0)!=(d|0)){f[g>>2]=d;b[j>>0]=1}if((f[i>>2]|0)!=2)break;L1a(0,e)|0;break}g=f[e+-8>>2]|0;e=h+28|0;if((f[e>>2]|0)!=(g|0)){d=h+36|0;if((f[d>>2]|0)==0?(C=_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0,C=_i[f[(f[C>>2]|0)+56>>2]&2047](C)|0,D=f[d>>2]|0,(D|0)!=(C|0)):0){f[d>>2]=C;if(C|0){B=C+8|0;f[B>>2]=(f[B>>2]|0)+1}if(D|0?(A=D+8|0,B=f[A>>2]|0,f[A>>2]=B-1,(B|0)==1):0)Rua(D,1,1)}f[e>>2]=g;Bj[f[(f[g>>2]|0)+196>>2]&1023](g,a);e=f[g+44>>2]|0;d=h+32|0;if((f[d>>2]|0)!=(e|0)){f[d>>2]=e;b[j>>0]=1}if((f[i>>2]|0)==2)L1a(0,g)|0}}while(0);e=f[h+4>>2]|0;if(!e){d=h+8|0;e=f[d>>2]|0;if((f[e>>2]|0)!=(h|0))do{B=f[d>>2]|0;d=B+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(B|0))}else while(1){d=f[e>>2]|0;if(!d)break;else e=d}if((e|0)==(H|0))break;else h=e}}if((k|0)==(E|0))return;l=c+4|0;m=c+8|0;n=a+368|0;o=a+145|0;while(1){j=k+16|0;e=f[H>>2]|0;do if(e){h=f[j>>2]|0;i=f[k+20>>2]|0;d=l;c:while(1){g=f[e+16>>2]|0;do if((h|0)>=(g|0)){if((g|0)>=(h|0)){g=f[e+20>>2]|0;if(i>>>0<g>>>0){I=150;break}if(g>>>0>=i>>>0){I=155;break c}}d=e+4|0;g=f[d>>2]|0;if(!g){I=154;break c}else e=d}else I=150;while(0);if((I|0)==150){I=0;g=f[e>>2]|0;if(!g){I=151;break}}d=e;e=g}if((I|0)==151){I=0;h=e;d=e;break}else if((I|0)==154){I=0;h=e;break}else if((I|0)==155){I=0;h=e;break}}else{h=H;d=H}while(0);e=f[d>>2]|0;if(!e){g=EBb(52)|0;C=j;D=f[C+4>>2]|0;e=g+16|0;f[e>>2]=f[C>>2];f[e+4>>2]=D;b[g+24>>0]=0;e=g+28|0;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[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=h;f[d>>2]=g;e=f[f[c>>2]>>2]|0;if(!e)e=g;else{f[c>>2]=e;e=f[d>>2]|0}Xo(f[l>>2]|0,e);f[m>>2]=(f[m>>2]|0)+1;e=g}h=f[k+24>>2]|0;d=e+28|0;if((f[d>>2]|0)!=(h|0)){g=e+36|0;if((f[g>>2]|0)==0?(F=_i[f[(f[h>>2]|0)+12>>2]&2047](h)|0,F=_i[f[(f[F>>2]|0)+56>>2]&2047](F)|0,G=f[g>>2]|0,(G|0)!=(F|0)):0){f[g>>2]=F;if(F|0){D=F+8|0;f[D>>2]=(f[D>>2]|0)+1}if(G|0?(C=G+8|0,D=f[C>>2]|0,f[C>>2]=D-1,(D|0)==1):0)Rua(G,1,1)}f[d>>2]=h;Bj[f[(f[h>>2]|0)+196>>2]&1023](h,a);d=f[h+44>>2]|0;g=e+32|0;if((f[g>>2]|0)!=(d|0)){f[g>>2]=d;b[o>>0]=1}if((f[n>>2]|0)==2)L1a(0,h)|0}b[e+24>>0]=1;e=f[k+4>>2]|0;if(!e){d=k+8|0;e=f[d>>2]|0;if((f[e>>2]|0)!=(k|0))do{D=f[d>>2]|0;d=D+8|0;e=f[d>>2]|0}while((f[e>>2]|0)!=(D|0))}else while(1){d=f[e>>2]|0;if(!d)break;else e=d}if((e|0)==(E|0))break;else k=e}return}function F1a(a){a=a|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;j=l+4|0;i=l;if(!(b[a+144>>0]|0)){u=l;return}if(!(b[a+145>>0]|0))c=a+152|0;else{f[j>>2]=0;k=j+4|0;f[k>>2]=0;g=j+8|0;f[g>>2]=0;c=f[a+632>>2]|0;h=a+636|0;if((c|0)!=(h|0)){e=c;while(1){d=f[e+32>>2]|0;c=d;if(d|0){f[i>>2]=c;d=f[k>>2]|0;if(d>>>0<(f[g>>2]|0)>>>0){f[d>>2]=c;f[k>>2]=(f[k>>2]|0)+4}else O1a(j,i)}c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(h|0))break;else e=c}}d=f[a+148>>2]|0;d=cj[f[(f[d>>2]|0)+164>>2]&1023](d,j)|0;c=a+152|0;f[c>>2]=d;d=f[j>>2]|0;if(d|0){f[k>>2]=d;GBb(d)}}d=f[c>>2]|0;if(!d){u=l;return}k=XPa(d,a)|0;if((f[a+708>>2]|0)==(k|0)){u=l;return}mJ(a,f[c>>2]|0)|0;u=l;return}function G1a(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;s=a+708|0;if(!(f[s>>2]|0))return;e=f[d>>2]|0;a=f[c>>2]|0;q=c+4|0;r=d+4|0;if(!((a|0)==(q|0)|(e|0)==(r|0))){l=a;m=e;while(1){h=l+16|0;a=m+16|0;e=b[a+11>>0]|0;c=e<<24>>24<0;e=c?f[m+20>>2]|0:e&255;d=b[h+11>>0]|0;i=d<<24>>24<0;d=i?f[l+20>>2]|0:d&255;k=e>>>0<d>>>0;j=k?e:d;g=(j|0)==0;if(!g?(n=i?f[h>>2]|0:h,o=c?f[a>>2]|0:a,p=anb(n,o,j)|0,(p|0)!=0):0)if((p|0)<0)d=8;else{c=o;a=n;d=19}else if(d>>>0>=e>>>0)if(g)d=20;else{c=c?f[a>>2]|0:a;a=i?f[h>>2]|0:h;d=19}else d=8;do if((d|0)==8){d=0;a=f[l+32>>2]|0;if((f[l+28>>2]|0)!=(a|0))uK(f[s>>2]|0,f[a+-8>>2]|0);a=f[l+4>>2]|0;if(!a){c=l+8|0;a=f[c>>2]|0;if((f[a>>2]|0)==(l|0)){e=m;break}do{l=f[c>>2]|0;c=l+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(l|0));e=m}else{while(1){c=f[a>>2]|0;if(!c)break;else a=c}e=m;break}}else if((d|0)==19){a=anb(c,a,j)|0;if(a)if((a|0)<0)d=22;else d=29;else d=20}while(0);if((d|0)==20)if(k)d=22;else d=29;do if((d|0)==22){uK(f[s>>2]|0,f[m+28>>2]|0);e=f[m+4>>2]|0;if(!e){a=m+8|0;e=f[a>>2]|0;if((f[e>>2]|0)==(m|0)){a=l;break}do{m=f[a>>2]|0;a=m+8|0;e=f[a>>2]|0}while((f[e>>2]|0)!=(m|0));a=l}else{while(1){a=f[e>>2]|0;if(!a)break;else e=a}a=l;break}}else if((d|0)==29){a=f[l+32>>2]|0;if(((f[l+28>>2]|0)!=(a|0)?(f[a+-4>>2]&2|0)!=0:0)?(f[m+32>>2]&4|0)==0:0)uK(f[s>>2]|0,f[a+-8>>2]|0);else uK(f[s>>2]|0,f[m+28>>2]|0);a=f[l+4>>2]|0;if(!a){c=l+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(l|0))do{l=f[c>>2]|0;c=l+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(l|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}e=f[m+4>>2]|0;if(!e){c=m+8|0;e=f[c>>2]|0;if((f[e>>2]|0)==(m|0))break;do{m=f[c>>2]|0;c=m+8|0;e=f[c>>2]|0}while((f[e>>2]|0)!=(m|0))}else{while(1){c=f[e>>2]|0;if(!c)break;else e=c}break}}while(0);if((a|0)==(q|0)|(e|0)==(r|0))break;else{l=a;m=e}}}if((a|0)!=(q|0)){d=a;while(1){a=f[d+32>>2]|0;if((f[d+28>>2]|0)!=(a|0))uK(f[s>>2]|0,f[a+-8>>2]|0);a=f[d+4>>2]|0;if(!a){c=d+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(d|0))do{p=f[c>>2]|0;c=p+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(p|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(q|0))break;else d=a}}if((e|0)==(r|0))return;while(1){uK(f[s>>2]|0,f[e+28>>2]|0);a=f[e+4>>2]|0;if(!a){c=e+8|0;a=f[c>>2]|0;if((f[a>>2]|0)!=(e|0))do{q=f[c>>2]|0;c=q+8|0;a=f[c>>2]|0}while((f[a>>2]|0)!=(q|0))}else while(1){c=f[a>>2]|0;if(!c)break;else a=c}if((a|0)==(r|0))break;else e=a}return}function H1a(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=N1a(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(36)|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}f[c+32>>2]=f[d+16>>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 I1a(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;o=a+368|0;if((f[o>>2]|0)==2)TIa(0,454111,0)|0;m=a+156|0;k=a+160|0;lBa(m,f[k>>2]|0);n=a+164|0;f[n>>2]=0;f[m>>2]=k;f[k>>2]=0;k=a+684|0;l=a+688|0;g=f[l>>2]|0;d=f[k>>2]|0;c=(g-d|0)/12|0;h=a+696|0;i=a+700|0;j=((f[i>>2]|0)-(f[h>>2]|0)|0)/12|0;j=c>>>0>j>>>0?c:j;a:do if(j|0){c=0;while(1){if(c>>>0<((g-d|0)/12|0)>>>0)A1a(a,c,d+(c*12|0)|0);d=f[h>>2]|0;if(c>>>0<(((f[i>>2]|0)-d|0)/12|0)>>>0)C1a(a,c,d+(c*12|0)|0);c=c+1|0;if(c>>>0>=j>>>0)break a;d=f[k>>2]|0;g=f[l>>2]|0}}while(0);J1a(a,a+620|0);g=a+708|0;c=f[g>>2]|0;K1a(a,a+632|0);l=f[g>>2]|0;if((l|0)!=0&(c|0)==(l|0)?b[a+668>>0]|0:0){l=f[c+12>>2]|0;Bj[f[(f[l>>2]|0)+196>>2]&1023](l,a)}if(b[a+144>>0]|0)F1a(a);if((f[o>>2]|0)==2)TIa(0,454048,0)|0;c=a+644|0;if(!(f[n>>2]|0)){if(f[g>>2]|0?(e=f[c>>2]|0,p=a+648|0,(e|0)!=(p|0)):0)while(1){c=f[e+32>>2]|0;if((f[e+28>>2]|0)!=(c|0))uK(f[g>>2]|0,f[c+-8>>2]|0);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{n=f[d>>2]|0;d=n+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(n|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(p|0))break;else e=c}}else G1a(a,c,m);if((f[o>>2]|0)!=2)return;TIa(0,454135,0)|0;return}function J1a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,i=0,j=0;d=f[c>>2]|0;j=c+4|0;if((d|0)==(j|0))return;i=a+368|0;while(1){a=d+16|0;g=d+20|0;c=a+5|0;do if(b[c>>0]|0){b[c>>0]=0;c=f[d+28>>2]|0;if((f[d+24>>2]|0)==(c|0)){e=f[a>>2]|0;a=b[a+7>>0]|0;if(!(b[g>>0]|0))break;c=g+2|0;if((b[c>>0]|0)==a<<24>>24)break;b[c>>0]=a;if(!(a<<24>>24))Fh(e|0);else Ih(e|0);if((f[i>>2]|0)!=2)break;M1a(0,e)|0;break}else{e=f[c+-4>>2]&1;a=f[a>>2]|0;if(!(b[g>>0]|0))break;c=g+2|0;if((e|0)==(h[c>>0]|0))break;b[c>>0]=e;if(!e)Fh(a|0);else Ih(a|0);if((f[i>>2]|0)!=2)break;M1a(0,a)|0;break}}while(0);c=f[d+4>>2]|0;if(!c){a=d+8|0;c=f[a>>2]|0;if((f[c>>2]|0)!=(d|0))do{g=f[a>>2]|0;a=g+8|0;c=f[a>>2]|0}while((f[c>>2]|0)!=(g|0))}else while(1){a=f[c>>2]|0;if(!a)break;else c=a}if((c|0)==(j|0))break;else d=c}return}function K1a(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;d=f[c>>2]|0;h=c+4|0;if((d|0)==(h|0))return;i=a+368|0;j=a+145|0;while(1){c=d+24|0;do if(b[c>>0]|0){b[c>>0]=0;c=f[d+44>>2]|0;if((f[d+40>>2]|0)==(c|0)){c=d+28|0;e=d+36|0;g=f[e>>2]|0;if((f[c>>2]|0)==(g|0))break;f[c>>2]=g;if(!g)break;Bj[f[(f[g>>2]|0)+196>>2]&1023](g,a);c=f[e>>2]|0;e=f[c+44>>2]|0;g=d+32|0;if((f[g>>2]|0)!=(e|0)){f[g>>2]=e;b[j>>0]=1}if((f[i>>2]|0)!=2)break;L1a(0,c)|0;break}g=f[c+-8>>2]|0;c=d+28|0;if((f[c>>2]|0)!=(g|0)){e=d+36|0;if((f[e>>2]|0)==0?(k=_i[f[(f[g>>2]|0)+12>>2]&2047](g)|0,k=_i[f[(f[k>>2]|0)+56>>2]&2047](k)|0,l=f[e>>2]|0,(l|0)!=(k|0)):0){f[e>>2]=k;if(k|0){e=k+8|0;f[e>>2]=(f[e>>2]|0)+1}if(l|0?(m=l+8|0,e=f[m>>2]|0,f[m>>2]=e-1,(e|0)==1):0)Rua(l,1,1)}f[c>>2]=g;Bj[f[(f[g>>2]|0)+196>>2]&1023](g,a);c=f[g+44>>2]|0;e=d+32|0;if((f[e>>2]|0)!=(c|0)){f[e>>2]=c;b[j>>0]=1}if((f[i>>2]|0)==2)L1a(0,g)|0}}while(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{m=f[d>>2]|0;d=m+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(m|0))}}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(h|0))break;else d=c}return}function L1a(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;h=Mh()|0;a:do if((h|0)>=1286){if((h|0)>=100901)switch(h|0){case 100904:{a=13;d=15;break a}case 100901:{a=10;d=15;break a}case 100902:{a=11;d=15;break a}case 100903:{a=12;d=15;break a}default:{d=16;break a}}if((h|0)<32817){switch(h|0){case 1286:break;default:{d=16;break a}}a=8;d=15;break}if((h|0)<100900){switch(h|0){case 32817:break;default:{d=16;break a}}a=7;d=15;break}else{switch(h|0){case 100900:break;default:{d=16;break a}}a=9;d=15;break}}else switch(h|0){case 1280:{a=1;d=15;break a}case 1281:{a=2;d=15;break a}case 1282:{a=3;d=15;break a}case 1283:{a=4;d=15;break a}case 1284:{a=5;d=15;break a}case 1285:{a=6;d=15;break a}case 0:{c=0;u=i;return c|0}default:{d=16;break a}}while(0);if((d|0)==15){a=222496+(a<<3)+4|0;d=17}else if((d|0)==16)if((h+-100151|0)>>>0<6){a=222464+(h+-100150<<2)|0;d=17}else e=0;if((d|0)==17)e=f[a>>2]|0;d=(e|0)==0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);a=(f[124868]|0)>1;if(d){if(!a){c=1;u=i;return c|0}e=Nu(Hua(2)|0,432296,40)|0;d=e+(f[(f[e>>2]|0)+-12>>2]|0)+4|0;f[d>>2]=f[d>>2]&-75|8;e=Nu(csb(e,h)|0,454185,26)|0;h=_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0;c=jsb(Nu(Nu(e,h,Rmb(h)|0)|0,432341,1)|0,c)|0;h=(f[c>>2]|0)+-12|0;e=c+(f[h>>2]|0)+4|0;f[e>>2]=f[e>>2]&-75|2;Drb(g,c+(f[h>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(c,h)|0;Krb(c)|0;c=1;u=i;return c|0}else{if(!a){c=1;u=i;return c|0}h=Nu(Hua(2)|0,432263,32)|0;e=Nu(Nu(h,e,Rmb(e)|0)|0,454157,27)|0;h=_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0;c=jsb(Nu(Nu(e,h,Rmb(h)|0)|0,432341,1)|0,c)|0;Drb(g,c+(f[(f[c>>2]|0)+-12>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(c,h)|0;Krb(c)|0;c=1;u=i;return c|0}return 0}function M1a(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;h=Mh()|0;a:do if((h|0)>=1286){if((h|0)>=100901)switch(h|0){case 100904:{a=13;d=15;break a}case 100901:{a=10;d=15;break a}case 100902:{a=11;d=15;break a}case 100903:{a=12;d=15;break a}default:{d=16;break a}}if((h|0)<32817){switch(h|0){case 1286:break;default:{d=16;break a}}a=8;d=15;break}if((h|0)<100900){switch(h|0){case 32817:break;default:{d=16;break a}}a=7;d=15;break}else{switch(h|0){case 100900:break;default:{d=16;break a}}a=9;d=15;break}}else switch(h|0){case 1280:{a=1;d=15;break a}case 1281:{a=2;d=15;break a}case 1282:{a=3;d=15;break a}case 1283:{a=4;d=15;break a}case 1284:{a=5;d=15;break a}case 1285:{a=6;d=15;break a}case 0:{c=0;u=i;return c|0}default:{d=16;break a}}while(0);if((d|0)==15){a=222496+(a<<3)+4|0;d=17}else if((d|0)==16)if((h+-100151|0)>>>0<6){a=222464+(h+-100150<<2)|0;d=17}else e=0;if((d|0)==17)e=f[a>>2]|0;d=(e|0)==0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);a=(f[124868]|0)>1;if(d){if(!a){c=1;u=i;return c|0}e=Nu(Hua(2)|0,432296,40)|0;d=e+(f[(f[e>>2]|0)+-12>>2]|0)+4|0;f[d>>2]=f[d>>2]&-75|8;h=Nu(csb(e,h)|0,454239,25)|0;e=h+(f[(f[h>>2]|0)+-12>>2]|0)+4|0;f[e>>2]=f[e>>2]&-75|8;c=csb(h,c)|0;h=(f[c>>2]|0)+-12|0;e=c+(f[h>>2]|0)+4|0;f[e>>2]=f[e>>2]&-75|2;Drb(g,c+(f[h>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(c,h)|0;Krb(c)|0;c=1;u=i;return c|0}else{if(!a){c=1;u=i;return c|0}h=Nu(Hua(2)|0,432263,32)|0;h=Nu(Nu(h,e,Rmb(e)|0)|0,454212,26)|0;e=h+(f[(f[h>>2]|0)+-12>>2]|0)+4|0;f[e>>2]=f[e>>2]&-75|8;c=csb(h,c)|0;h=(f[c>>2]|0)+-12|0;e=c+(f[h>>2]|0)+4|0;f[e>>2]=f[e>>2]&-75|2;Drb(g,c+(f[h>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(c,h)|0;Krb(c)|0;c=1;u=i;return c|0}return 0}function N1a(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<t>>>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<k>>>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<t>>>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<l>>>0:0)break;d=IBa(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<i>>>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<l>>>0:0)break;d=IBa(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 O1a(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<c>>>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 P1a(a,b){a=a|0;b=b|0;cWa(0,a+632|0,b);return}function Q1a(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;h=a+636|0;a=f[h>>2]|0;if(!a)return;g=h;do{e=f[a+16>>2]|0;do if((e|0)<(c|0))e=a+4|0;else{if((e|0)<=(c|0)?(f[a+20>>2]|0)>>>0<d>>>0:0){e=a+4|0;break}e=a;g=a}while(0);a=f[e>>2]|0}while((a|0)!=0);if((g|0)==(h|0))return;a=f[g+16>>2]|0;if((a|0)>(c|0))return;if((a|0)>=(c|0)?(f[g+20>>2]|0)>>>0>d>>>0:0)return;f[g+28>>2]=0;b[g+24>>0]=1;return}function R1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=a+696|0;h=a+700|0;a=f[h>>2]|0;e=f[i>>2]|0;g=(a-e|0)/12|0;do if(g>>>0<=b>>>0){d=b+1|0;if(d>>>0>g>>>0){GI(i,d-g|0);break}if(d>>>0<g>>>0){d=e+(d*12|0)|0;if((d|0)!=(a|0))do{g=a;a=a+-12|0;HI(a,f[g+-8>>2]|0)}while((a|0)!=(d|0));f[h>>2]=d}}while(0);cWa(0,(f[i>>2]|0)+(b*12|0)|0,c);return}function S1a(a){a=a|0;var b=0,c=0,d=0;d=a+708|0;b=f[d>>2]|0;if(!b)return;c=f[a+212>>2]|0;if(c|0)uK(b,c);b=f[a+216>>2]|0;if(b|0)uK(f[d>>2]|0,b);b=f[a+220>>2]|0;if(b|0)uK(f[d>>2]|0,b);b=f[a+224>>2]|0;if(!b)return;uK(f[d>>2]|0,b);return}function T1a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=a+200|0;d=f[e>>2]|0;if((d|0)==(c|0))return;if(!c){c=f[a+192>>2]|0;if((d|0)!=(c|0)){f[e>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}if(d|0?(c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1)}}else{f[e>>2]=c;g=c+8|0;f[g>>2]=(f[g>>2]|0)+1;if(d|0?(c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1)}if(!(b[a+130>>0]|0))return;g=f[a+216>>2]|0;if(g|0){e=(f[e>>2]|0)+32|0;d=g+64|0;c=f[d>>2]|0;if(!c){$0a(g,1);c=f[d>>2]|0}if((c|0)==1)U1a(g,0,e)|0}V1a(a);return}function U1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((f[a+64>>2]|0)>>>0<=b>>>0){c=0;return c|0}if(!(X1a(a,36680,35676)|0)){c=0;return c|0}d=f[a+60>>2]|0;b=W(KXa(d)|0,b)|0;if((d|0)==36680){d=f[(f[a+72>>2]|0)+76>>2]|0;p[d+(b<<3)>>3]=+p[c>>3];p[d+(b+1<<3)>>3]=+p[c+8>>3];p[d+(b+2<<3)>>3]=+p[c+16>>3];p[d+(b+3<<3)>>3]=+p[c+24>>3];p[d+(b+4<<3)>>3]=+p[c+32>>3];p[d+(b+5<<3)>>3]=+p[c+40>>3];p[d+(b+6<<3)>>3]=+p[c+48>>3];p[d+(b+7<<3)>>3]=+p[c+56>>3];p[d+(b+8<<3)>>3]=+p[c+64>>3];p[d+(b+9<<3)>>3]=+p[c+72>>3];p[d+(b+10<<3)>>3]=+p[c+80>>3];p[d+(b+11<<3)>>3]=+p[c+88>>3];p[d+(b+12<<3)>>3]=+p[c+96>>3];p[d+(b+13<<3)>>3]=+p[c+104>>3];p[d+(b+14<<3)>>3]=+p[c+112>>3];p[d+(b+15<<3)>>3]=+p[c+120>>3]}else{d=f[(f[a+68>>2]|0)+76>>2]|0;n[d+(b<<2)>>2]=+p[c>>3];n[d+(b+1<<2)>>2]=+p[c+8>>3];n[d+(b+2<<2)>>2]=+p[c+16>>3];n[d+(b+3<<2)>>2]=+p[c+24>>3];n[d+(b+4<<2)>>2]=+p[c+32>>3];n[d+(b+5<<2)>>2]=+p[c+40>>3];n[d+(b+6<<2)>>2]=+p[c+48>>3];n[d+(b+7<<2)>>2]=+p[c+56>>3];n[d+(b+8<<2)>>2]=+p[c+64>>3];n[d+(b+9<<2)>>2]=+p[c+72>>3];n[d+(b+10<<2)>>2]=+p[c+80>>3];n[d+(b+11<<2)>>2]=+p[c+88>>3];n[d+(b+12<<2)>>2]=+p[c+96>>3];n[d+(b+13<<2)>>2]=+p[c+104>>3];n[d+(b+14<<2)>>2]=+p[c+112>>3];n[d+(b+15<<2)>>2]=+p[c+120>>3]}d=a+48|0;f[d>>2]=(f[d>>2]|0)+1;d=1;return d|0}function V1a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,q=0.0,r=0,s=0;s=u;u=u+256|0;e=s+128|0;r=s;d=f[a+220>>2]|0;if(d|0){b=(f[a+204>>2]|0)+32|0;c=(f[a+200>>2]|0)+32|0;f3a(e);l3a(e,b,c);c=d+64|0;b=f[c>>2]|0;if(!b){$0a(d,1);b=f[c>>2]|0}if((b|0)==1)U1a(d,0,e)|0}b=a+224|0;if(!(f[b>>2]|0)){u=s;return}d=f[a+204>>2]|0;p[e>>3]=+p[d+32>>3];p[e+8>>3]=+p[d+40>>3];p[e+16>>3]=+p[d+48>>3];a=e+24|0;p[a>>3]=+p[d+56>>3];p[e+32>>3]=+p[d+64>>3];p[e+40>>3]=+p[d+72>>3];p[e+48>>3]=+p[d+80>>3];p[e+56>>3]=+p[d+88>>3];p[e+64>>3]=+p[d+96>>3];p[e+72>>3]=+p[d+104>>3];p[e+80>>3]=+p[d+112>>3];p[e+88>>3]=+p[d+120>>3];p[e+96>>3]=+p[d+128>>3];p[e+104>>3]=+p[d+136>>3];p[e+112>>3]=+p[d+144>>3];p[e+120>>3]=+p[d+152>>3];c3a(e,0.0,0.0,0.0);f3a(r);if(((+p[a>>3]==0.0?+p[e+56>>3]==0.0:0)?+p[e+88>>3]==0.0:0)?+p[e+120>>3]==1.0:0)o3a(r,e)|0;else p3a(r,e)|0;i=+p[r>>3];j=+p[r+32>>3];k=+p[r+64>>3];l=+p[r+8>>3];m=+p[r+40>>3];o=+p[r+72>>3];q=+p[r+16>>3];h=+p[r+48>>3];g=+p[r+80>>3];d=f[b>>2]|0;c=d+64|0;b=f[c>>2]|0;if(!b){$0a(d,1);b=f[c>>2]|0}if((b|0)==1?W1a(d,35675)|0:0){r=f[(f[d+68>>2]|0)+76>>2]|0;n[r>>2]=i;n[r+4>>2]=j;n[r+8>>2]=k;n[r+12>>2]=l;n[r+16>>2]=m;n[r+20>>2]=o;n[r+24>>2]=q;n[r+28>>2]=h;n[r+32>>2]=g;r=d+48|0;f[r>>2]=(f[r>>2]|0)+1}u=s;return}function W1a(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;if(!c){e=0;u=g;return e|0}a=a+60|0;d=f[a>>2]|0;if(!d){e=0;u=g;return e|0}if((d|0)==(c|0)){e=1;u=g;return e|0}h=MXa(c)|0;if((h|0)==(MXa(d)|0)){h=1;u=g;return h|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){h=0;u=g;return h|0}h=Nu(Hua(2)|0,454265,36)|0;c=AQa(c)|0;c=Nu(Nu(h,c,Rmb(c)|0)|0,454302,5)|0;h=AQa(f[a>>2]|0)|0;h=Nu(c,h,Rmb(h)|0)|0;Drb(e,h+(f[(f[h>>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(h,c)|0;Krb(h)|0;h=0;u=g;return h|0}function X1a(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;g=h;if((c|0)==0|(d|0)==0){g=0;u=h;return g|0}e=a+60|0;a=f[e>>2]|0;if(!a){g=0;u=h;return g|0}if((a|0)==(c|0)|(a|0)==(d|0)){g=1;u=h;return g|0}i=MXa(c)|0;a=MXa(a)|0;if((i|0)==(a|0)){i=1;u=h;return i|0}if((MXa(d)|0)==(a|0)){i=1;u=h;return i|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){i=0;u=h;return i|0}a=Nu(Hua(2)|0,454265,36)|0;i=AQa(c)|0;i=Nu(Nu(a,i,Rmb(i)|0)|0,454308,4)|0;d=AQa(d)|0;d=Nu(Nu(i,d,Rmb(d)|0)|0,454302,5)|0;i=AQa(f[e>>2]|0)|0;i=Nu(d,i,Rmb(i)|0)|0;Drb(g,i+(f[(f[i>>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(i,d)|0;Krb(i)|0;i=0;u=h;return i|0}function Y1a(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+64|0;c=f[d>>2]|0;if(!c){$0a(a,1);c=f[d>>2]|0}if((c|0)!=1){b=0;return b|0}b=U1a(a,0,b)|0;return b|0}function Z1a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=a+204|0;d=f[e>>2]|0;if((d|0)==(c|0))return;if(!c){c=f[a+192>>2]|0;if((d|0)!=(c|0)){f[e>>2]=c;if(c|0){g=c+8|0;f[g>>2]=(f[g>>2]|0)+1}if(d|0?(c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1)}}else{f[e>>2]=c;g=c+8|0;f[g>>2]=(f[g>>2]|0)+1;if(d|0?(c=d+8|0,g=f[c>>2]|0,f[c>>2]=g-1,(g|0)==1):0)Rua(d,1,1)}if(!(b[a+130>>0]|0))return;g=f[a+212>>2]|0;if(g|0){e=(f[e>>2]|0)+32|0;d=g+64|0;c=f[d>>2]|0;if(!c){$0a(g,1);c=f[d>>2]|0}if((c|0)==1)U1a(g,0,e)|0}V1a(a);return}function _1a(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+16|0;a=j;h=EBb(140)|0;f[h+4>>2]=0;i=h+8|0;f[i>>2]=0;c=h+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;c=h+24|0;d=h+28|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;f[d+20>>2]=0;f[h>>2]=345200;d=h+100|0;e=h+52|0;g=e+48|0;do{b[e>>0]=0;e=e+1|0}while((e|0)<(g|0));f[d>>2]=4;n[h+104>>2]=1.0;f[h+108>>2]=1;g=h+112|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;f[g+24>>2]=0;f[c>>2]=1;f[i>>2]=(f[i>>2]|0)+1;Mj[f[(f[h>>2]|0)+192>>2]&15](h,1,1,1,6408,5121,1);n[a>>2]=1.0;n[a+4>>2]=1.0;n[a+8>>2]=1.0;n[a+12>>2]=1.0;M$a(h,a,0,0,0);a=EBb(264)|0;$1a(a,h);g=a+8|0;f[g>>2]=(f[g>>2]|0)+1;f[g>>2]=(f[g>>2]|0)-1;g=f[i>>2]|0;f[i>>2]=g-1;if((g|0)!=1){u=j;return a|0}Rua(h,1,1);u=j;return a|0}function $1a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;GVa(a);f[a>>2]=352184;e=a+232|0;d=a+252|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[e+12>>2]=0;f[e+16>>2]=0;Dxa()|0;e=f[(f[124914]|0)+84>>2]|0;f[d>>2]=0;g=a+256|0;f[g>>2]=0;h=a+260|0;f[h>>2]=0;if(!e){h=a+136|0;b[h>>0]=1;eWa(a,c);return}if(e>>>0>1073741823)DCb(d);i=e<<2;j=EBb(i)|0;f[d>>2]=j;e=j+(e<<2)|0;f[h>>2]=e;_Db(j|0,0,i|0)|0;f[g>>2]=e;h=a+136|0;b[h>>0]=1;eWa(a,c);return}function a2a(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,s=0,t=0,v=0;v=u;u=u+176|0;t=v+24|0;p=v;q=v+12|0;f[a+116>>2]=0;f[a+120>>2]=0;f[a+124>>2]=0;ZBb(a+128|0,505031)|0;zNa(a,2929,1);s=EBb(72)|0;f[s+4>>2]=0;f[s+8>>2]=0;r=s+12|0;f[r>>2]=0;f[r+4>>2]=0;f[r+8>>2]=0;f[s+24>>2]=2;r=s+28|0;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;f[r+24>>2]=0;f[s>>2]=339388;f[s+56>>2]=770;f[s+60>>2]=771;f[s+64>>2]=770;f[s+68>>2]=771;BNa(a,s,0);if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){s=Nu(Hua(4)|0,454313,34)|0;Drb(t,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(t,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(t);ksb(s,r)|0;Krb(s)|0}Dxa()|0;if(!(b[(f[124914]|0)+212>>0]|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){s=Nu(Hua(3)|0,454470,59)|0;Drb(t,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(t,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(t);ksb(s,r)|0;Krb(s)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){s=Nu(Hua(4)|0,454530,66)|0;Drb(t,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(t,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(t);ksb(s,r)|0;Krb(s)|0}Dxa()|0;c=f[(f[124914]|0)+164>>2]|0;if((c+-3|0)>>>0<2){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){s=Nu(Hua(4)|0,454597,66)|0;Drb(t,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(t,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(t);ksb(s,r)|0;Krb(s)|0}c=EBb(196)|0;TRa(c);d=c+8|0;f[d>>2]=(f[d>>2]|0)+1;s=EBb(152)|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;r=EBb(400)|0;f[t>>2]=r;f[t+8>>2]=-2147483248;f[t+4>>2]=385;YDb(r|0,454664,385)|0;b[r+385>>0]=0;fSa(s,35633,t);ARa(c,s)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);s=EBb(152)|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;r=EBb(256)|0;f[t>>2]=r;f[t+8>>2]=-2147483392;f[t+4>>2]=249;YDb(r|0,455050,249)|0;b[r+249>>0]=0;fSa(s,35632,t);ARa(c,s)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);BNa(a,c,1);GZa(a,0,_1a()|0,0);t=EBb(104)|0;b2a(t,455300,0);pTa(a,t,1);t=f[d>>2]|0;f[d>>2]=t-1;if((t|0)!=1){u=v;return}Rua(c,1,1);u=v;return}if((c+-1|0)>>>0>=2){u=v;return}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>3){s=Nu(Hua(4)|0,454530,66)|0;Drb(t,s+(f[(f[s>>2]|0)+-12>>2]|0)|0);r=utb(t,504576)|0;r=cj[f[(f[r>>2]|0)+28>>2]&1023](r,10)|0;vtb(t);ksb(s,r)|0;Krb(s)|0}c=EBb(196)|0;TRa(c);d=c+8|0;f[d>>2]=(f[d>>2]|0)+1;s=EBb(152)|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;r=EBb(272)|0;f[t>>2]=r;f[t+8>>2]=-2147483376;f[t+4>>2]=262;YDb(r|0,455312,262)|0;b[r+262>>0]=0;fSa(s,35633,t);ARa(c,s)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);s=EBb(152)|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;r=EBb(240)|0;f[t>>2]=r;f[t+8>>2]=-2147483408;f[t+4>>2]=236;YDb(r|0,455575,236)|0;b[r+236>>0]=0;fSa(s,35632,t);ARa(c,s)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);BNa(a,c,1);GZa(a,0,_1a()|0,0);t=EBb(104)|0;b2a(t,455300,0);pTa(a,t,1);t=f[d>>2]|0;f[d>>2]=t-1;if((t|0)!=1){u=v;return}Rua(c,1,1);u=v;return}r=EBb(196)|0;TRa(r);s=r+8|0;f[s>>2]=(f[s>>2]|0)+1;Dxa()|0;e=f[124914]|0;c=f[e+216>>2]|0;e=e+220|0;if((c|0)!=(f[e>>2]|0))do{Dxa()|0;o=f[124914]|0;d=w4(o+256|0,c)|0;if(((d|0)!=(o+260|0)?(g=f[d+28>>2]|0,g|0):0)?(h=WCb(g,295088,298568,0)|0,h|0):0)ARa(r,h)|0;c=c+12|0}while((c|0)!=(f[e>>2]|0));g=r+104|0;e=r+108|0;d=f[e>>2]|0;c=f[g>>2]|0;if((d|0)==(c|0)){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){o=Nu(Hua(3)|0,454348,74)|0;Dxa()|0;o=csb(o,f[(f[124914]|0)+228>>2]|0)|0;Drb(t,o+(f[(f[o>>2]|0)+-12>>2]|0)|0);n=utb(t,504576)|0;n=cj[f[(f[n>>2]|0)+28>>2]&1023](n,10)|0;vtb(t);ksb(o,n)|0;Krb(o)|0}o=EBb(152)|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;n=EBb(5392)|0;f[t>>2]=n;f[t+8>>2]=-2147478256;f[t+4>>2]=5387;YDb(n|0,223776,5387)|0;b[n+5387>>0]=0;fSa(o,35633,t);ARa(r,o)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);o=EBb(152)|0;f[t>>2]=0;f[t+4>>2]=0;f[t+8>>2]=0;n=EBb(2896)|0;f[t>>2]=n;f[t+8>>2]=-2147480752;f[t+4>>2]=2884;YDb(n|0,229168,2884)|0;b[n+2884>>0]=0;fSa(o,35632,t);ARa(r,o)|0;if((b[t+11>>0]|0)<0)GBb(f[t>>2]|0);d=f[e>>2]|0;c=f[g>>2]|0}if((d|0)!=(c|0)){Dxa()|0;h=f[(f[124914]|0)+228>>2]|0;l=t+64|0;n=t+8|0;f[n>>2]=323408;m=t+12|0;f[t>>2]=285412;f[l>>2]=285432;f[t+4>>2]=0;Brb(t+64|0,m);f[t+136>>2]=0;f[t+140>>2]=-1;f[t>>2]=323388;f[l>>2]=323428;f[n>>2]=323408;Hrb(m);f[m>>2]=304196;n=t+44|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;f[t+60>>2]=24;o=t+8|0;csb(o,h)|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=EBb(32)|0;f[p>>2]=c;f[p+8>>2]=-2147483616;f[p+4>>2]=20;d=c;e=454423;g=d+20|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+20>>0]=0;KX(q,m);i=a+104|0;k=dRa(i,p)|0;UBb(k,q)|0;f[k+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);do if(h|0){j=_1a()|0;k=(j|0)==0;if(!k){g=j+8|0;f[g>>2]=(f[g>>2]|0)+1}f[j+84>>2]=33071;g=f[j+60>>2]|0;c=(f[j+64>>2]|0)-g|0;if((c|0)>0){d=c>>>2;c=d;e=g;while(1){f[e>>2]=1;if((c|0)>1){c=c+-1|0;e=e+4|0}else break}f[j+88>>2]=33071;c=d;e=g;while(1){f[e>>2]=1;if((c|0)>1){c=c+-1|0;e=e+4|0}else break}f[j+92>>2]=33071;c=d;e=g;while(1){f[e>>2]=1;if((c|0)>1){c=c+-1|0;e=e+4|0}else break}f[j+96>>2]=9729;c=d;e=g;while(1){f[e>>2]=1;if((c|0)>1){c=c+-1|0;e=e+4|0}else break}f[j+100>>2]=9729;c=g;while(1){f[c>>2]=1;if((d|0)>1){d=d+-1|0;c=c+4|0}else break}}else{f[j+88>>2]=33071;f[j+92>>2]=33071;f[j+96>>2]=9729;f[j+100>>2]=9729}c=0;do{GZa(a,c,j,0);c=c+1|0}while(c>>>0<h>>>0);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Nr(m,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);bsb(o,6406)|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=p+11|0;b[c>>0]=8;h=p;f[h>>2]=1096764487;f[h+4>>2]=1095258188;b[p+8>>0]=0;KX(q,m);h=dRa(i,p)|0;UBb(h,q)|0;f[h+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[c>>0]|0)<0)GBb(f[p>>2]|0);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Nr(m,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);bsb(o,32841)|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=EBb(16)|0;f[p>>2]=c;f[p+8>>2]=-2147483632;f[p+4>>2]=12;d=c;e=454444;g=d+12|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+12>>0]=0;KX(q,m);h=dRa(i,p)|0;UBb(h,q)|0;f[h+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Nr(m,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);bsb(o,6409)|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=EBb(16)|0;f[p>>2]=c;f[p+8>>2]=-2147483632;f[p+4>>2]=12;d=c;e=454457;g=d+12|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[c+12>>0]=0;KX(q,m);h=dRa(i,p)|0;UBb(h,q)|0;f[h+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Nr(m,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);bsb(o,6403)|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=p+11|0;b[c>>0]=6;b[p>>0]=b[443028]|0;b[p+1>>0]=b[443029]|0;b[p+2>>0]=b[443030]|0;b[p+3>>0]=b[443031]|0;b[p+4>>0]=b[443032]|0;b[p+5>>0]=b[443033]|0;b[p+6>>0]=0;KX(q,m);h=dRa(i,p)|0;UBb(h,q)|0;f[h+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[c>>0]|0)<0)GBb(f[p>>2]|0);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Nr(m,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);bsb(o,33319)|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=p+11|0;b[c>>0]=5;b[p>>0]=b[443035]|0;b[p+1>>0]=b[443036]|0;b[p+2>>0]=b[443037]|0;b[p+3>>0]=b[443038]|0;b[p+4>>0]=b[443039]|0;b[p+5>>0]=0;KX(q,m);h=dRa(i,p)|0;UBb(h,q)|0;f[h+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[c>>0]|0)<0)GBb(f[p>>2]|0);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Nr(m,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);bsb(o,6407)|0;f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;c=p+11|0;b[c>>0]=6;b[p>>0]=b[443041]|0;b[p+1>>0]=b[443042]|0;b[p+2>>0]=b[443043]|0;b[p+3>>0]=b[443044]|0;b[p+4>>0]=b[443045]|0;b[p+5>>0]=b[443046]|0;b[p+6>>0]=0;KX(q,m);h=dRa(i,p)|0;UBb(h,q)|0;f[h+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[c>>0]|0)<0)GBb(f[p>>2]|0);f[p>>2]=0;f[p+4>>2]=0;f[p+8>>2]=0;Nr(m,p);if((b[p+11>>0]|0)<0)GBb(f[p>>2]|0);bsb(o,6408)|0;f[p+8>>2]=0;c=p+11|0;b[c>>0]=7;b[p>>0]=b[443048]|0;b[p+1>>0]=b[443049]|0;b[p+2>>0]=b[443050]|0;b[p+3>>0]=b[443051]|0;b[p+4>>0]=b[443052]|0;b[p+5>>0]=b[443053]|0;b[p+6>>0]=b[443054]|0;b[p+7>>0]=0;KX(q,m);i=dRa(i,p)|0;UBb(i,q)|0;f[i+12>>2]=1;if((b[q+11>>0]|0)<0)GBb(f[q>>2]|0);if((b[c>>0]|0)<0)GBb(f[p>>2]|0);if(k)break;p=j+8|0;q=f[p>>2]|0;f[p>>2]=q-1;if((q|0)!=1)break;Rua(j,1,1)}while(0);FZa(a,r,0);f[t>>2]=323388;f[l>>2]=323428;f[o>>2]=323408;f[m>>2]=304196;if((b[n+11>>0]|0)<0)GBb(f[n>>2]|0);qqb(m);yrb(t,323440);kqb(l)}t=f[s>>2]|0;f[s>>2]=t-1;if((t|0)!=1){u=v;return}Rua(r,1,1);u=v;return}function b2a(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+16|0;h=m;f[a+4>>2]=0;f[a+8>>2]=0;k=a+12|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[a+24>>2]=2;k=a+28|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[a+44>>2]=-1;k=a+48|0;f[k>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[a>>2]=352732;f[a+60>>2]=5124;j=a+64|0;f[j>>2]=1;g=a+68|0;l=a+76|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;f[g+24>>2]=0;f[g+28>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(h);if(g>>>0<11){b[h+11>>0]=g;if(!g)e=h;else{e=h;i=6}}else{i=g+16&-16;e=EBb(i)|0;f[h>>2]=e;f[h+8>>2]=i|-2147483648;f[h+4>>2]=g;i=6}if((i|0)==6)YDb(e|0,c|0,g|0)|0;b[e+g>>0]=0;kTa(a,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);JXa(a);e=f[j>>2]|0;if(!e){$0a(a,1);e=f[j>>2]|0}if((e|0)!=1){u=m;return}if(!(W1a(a,5124)|0)){u=m;return}f[f[(f[l>>2]|0)+76>>2]>>2]=d;f[k>>2]=(f[k>>2]|0)+1;u=m;return}function c2a(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0;g=u;u=u+16|0;e=g;switch(c|0){case 0:{f[a+84>>2]=d;e=f[a+60>>2]|0;c=(f[a+64>>2]|0)-e|0;if((c|0)<=0){u=g;return}d=c>>>2;c=e;while(1){f[c>>2]=1;if((d|0)>1){d=d+-1|0;c=c+4|0}else break}u=g;return}case 1:{f[a+88>>2]=d;e=f[a+60>>2]|0;c=(f[a+64>>2]|0)-e|0;if((c|0)<=0){u=g;return}d=c>>>2;c=e;while(1){f[c>>2]=1;if((d|0)>1){d=d+-1|0;c=c+4|0}else break}u=g;return}case 2:{f[a+92>>2]=d;e=f[a+60>>2]|0;c=(f[a+64>>2]|0)-e|0;if((c|0)<=0){u=g;return}d=c>>>2;c=e;while(1){f[c>>2]=1;if((d|0)>1){d=d+-1|0;c=c+4|0}else break}u=g;return}default:{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=g;return}a=Nu(csb(Nu(csb(Nu(Hua(2)|0,455812,47)|0,c)|0,434083,1)|0,d)|0,409404,1)|0;Drb(e,a+(f[(f[a>>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(a,d)|0;Krb(a)|0;u=g;return}}}function d2a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;g=j;if((b[497304]|0)==0?DDb(497304)|0:0)VNa(499780);d=f[124946]|0;if(d|0){e=499784;do{i=(f[d+16>>2]|0)>>>0<c>>>0;e=i?e:d;d=f[(i?d+4|0:d)>>2]|0}while((d|0)!=0);if((e|0)!=499784?(f[e+16>>2]|0)>>>0<=c>>>0:0){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(csb(Nu(Hua(3)|0,437098,23)|0,c)|0,455860,35)|0;Drb(g,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(i,h)|0;Krb(i)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,455896,63)|0;Drb(g,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(i,h)|0;Krb(i)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){i=Nu(Hua(3)|0,436618,60)|0;Drb(g,i+(f[(f[i>>2]|0)+-12>>2]|0)|0);h=utb(g,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(g);ksb(i,h)|0;Krb(i)|0}e2a(a,0,c);u=j;return}}if((c|0)==2903){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2)Nu(Hua(3)|0,455960,85)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2)Nu(Hua(3)|0,437305,80)|0;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=j;return}a=Nu(Hua(3)|0,437386,60)|0;Drb(g,a+(f[(f[a>>2]|0)+-12>>2]|0)|0);i=utb(g,504576)|0;i=cj[f[(f[i>>2]|0)+28>>2]&1023](i,10)|0;vtb(g);ksb(a,i)|0;Krb(a)|0;u=j;return}h=a+44|0;e=a+48|0;i=f[e>>2]|0;if(!i){u=j;return}g=e;d=i;do{k=(f[d+16>>2]|0)>>>0<c>>>0;g=k?g:d;d=f[(k?d+4|0:d)>>2]|0}while((d|0)!=0);if((g|0)==(e|0)){u=j;return}if((f[g+16>>2]|0)>>>0>c>>>0){u=j;return}d=f[g+4>>2]|0;if(!d){e=g+8|0;d=f[e>>2]|0;if((f[d>>2]|0)!=(g|0))do{k=f[e>>2]|0;e=k+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(k|0))}else while(1){e=f[d>>2]|0;if(!e)break;else d=e}if((f[h>>2]|0)==(g|0))f[h>>2]=d;k=a+52|0;f[k>>2]=(f[k>>2]|0)+-1;Zq(i,g);GBb(g);u=j;return}function e2a(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((b[497304]|0)==0?DDb(497304)|0:0)VNa(499780);e=f[124946]|0;if(e|0){g=499784;do{j=(f[e+16>>2]|0)>>>0<d>>>0;g=j?g:e;e=f[(j?e+4|0:e)>>2]|0}while((e|0)!=0);if((g|0)!=499784?(f[g+16>>2]|0)>>>0<=d>>>0:0){i=f[a+68>>2]|0;j=i;if((((f[a+72>>2]|0)-i|0)/12|0)>>>0<=c>>>0){u=k;return}a=j+(c*12|0)|0;g=j+(c*12|0)+4|0;i=f[g>>2]|0;if(!i){u=k;return}h=g;e=i;do{l=(f[e+16>>2]|0)>>>0<d>>>0;h=l?h:e;e=f[(l?e+4|0:e)>>2]|0}while((e|0)!=0);if((h|0)==(g|0)){u=k;return}if((f[h+16>>2]|0)>>>0>d>>>0){u=k;return}e=f[h+4>>2]|0;if(!e){g=h+8|0;e=f[g>>2]|0;if((f[e>>2]|0)!=(h|0))do{l=f[g>>2]|0;g=l+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(l|0))}else while(1){g=f[e>>2]|0;if(!g)break;else e=g}if((f[a>>2]|0)==(h|0))f[a>>2]=e;l=j+(c*12|0)+8|0;f[l>>2]=(f[l>>2]|0)+-1;Zq(i,h);GBb(h);u=k;return}}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=Nu(csb(Nu(Hua(3)|0,436978,27)|0,d)|0,456046,47)|0;Drb(h,l+(f[(f[l>>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(l,c)|0;Krb(l)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=Nu(Hua(3)|0,456094,56)|0;Drb(h,l+(f[(f[l>>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(l,c)|0;Krb(l)|0}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){l=Nu(Hua(3)|0,436618,60)|0;Drb(h,l+(f[(f[l>>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(l,c)|0;Krb(l)|0}d2a(a,d);u=k;return}function f2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;g=a+60|0;a=f[g>>2]|0;if(!a){c=0;return c|0}e=g;do{d=f[a+16>>2]|0;do if((d|0)<(b|0))d=a+4|0;else{if((d|0)<=(b|0)?(f[a+20>>2]|0)>>>0<c>>>0:0){d=a+4|0;break}d=a;e=a}while(0);a=f[d>>2]|0}while((a|0)!=0);if((e|0)==(g|0)){c=0;return c|0}a=f[e+16>>2]|0;if((a|0)>(b|0)){c=0;return c|0}if((a|0)>=(b|0)?(f[e+20>>2]|0)>>>0>c>>>0:0){c=0;return c|0}c=f[e+24>>2]|0;return c|0}function g2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0;g=rTa(a+92|0,b)|0;if((((g|0)!=(a+96|0)?(h=f[g+28>>2]|0,h|0):0)?(e=WCb(h,298136,298120,0)|0,e|0):0)?(f[e+60>>2]|0)==(c|0):0){h=e;return h|0}h=EBb(104)|0;W0a(h,c,b,d);pTa(a,h,1);return h|0}function h2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+80>>2]|0;if((((f[a+84>>2]|0)-d|0)/12|0)>>>0<=b>>>0){c=0;return c|0}b=d+(b*12|0)+4|0;a=f[b>>2]|0;if(!a){c=0;return c|0}d=b;do{e=(f[a+16>>2]|0)<(c|0);d=e?d:a;a=f[(e?a+4|0:a)>>2]|0}while((a|0)!=0);if((d|0)==(b|0)){e=0;return e|0}a=f[d+16>>2]|0;if((a|0)>(c|0)){e=0;return e|0}if((a|0)>=(c|0)?f[d+20>>2]|0:0){e=0;return e|0}e=f[d+24>>2]|0;return e|0}function i2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[a+80>>2]|0;if((((f[a+84>>2]|0)-d|0)/12|0)>>>0<=b>>>0){c=0;return c|0}b=d+(b*12|0)+4|0;a=f[b>>2]|0;if(!a){c=0;return c|0}d=b;do{e=(f[a+16>>2]|0)<(c|0);d=e?d:a;a=f[(e?a+4|0:a)>>2]|0}while((a|0)!=0);if((d|0)==(b|0)){e=0;return e|0}a=f[d+16>>2]|0;if((a|0)>(c|0)){e=0;return e|0}if((a|0)>=(c|0)?f[d+20>>2]|0:0){e=0;return e|0}e=f[d+24>>2]|0;return e|0}function j2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;d=f[a+56>>2]|0;h=a+60|0;if((d|0)==(h|0))c=1;else{c=1;do{e=f[d+24>>2]|0;c=c&(cj[f[(f[e>>2]|0)+192>>2]&1023](e,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{i=f[e>>2]|0;e=i+8|0;d=f[e>>2]|0}while((f[d>>2]|0)!=(i|0))}else{d=e;while(1){e=f[d>>2]|0;if(!e)break;else d=e}}}while((d|0)!=(h|0))}d=f[a+80>>2]|0;i=a+84|0;if((d|0)==(f[i>>2]|0)){b=c;return b|0}do{e=f[d>>2]|0;a=d+4|0;if((e|0)!=(a|0))do{g=f[e+24>>2]|0;c=c&(cj[f[(f[g>>2]|0)+192>>2]&1023](g,b)|0);g=f[e+4>>2]|0;if(!g){g=e+8|0;h=f[g>>2]|0;if((f[h>>2]|0)==(e|0))e=h;else do{h=f[g>>2]|0;g=h+8|0;e=f[g>>2]|0}while((f[e>>2]|0)!=(h|0))}else{e=g;while(1){g=f[e>>2]|0;if(!g)break;else e=g}}}while((e|0)!=(a|0));d=d+12|0}while((d|0)!=(f[i>>2]|0));return c|0}function k2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=(f[b+368>>2]|0)==2;if(h)TIa(0,456151,0)|0;c=f[a+56>>2]|0;g=a+60|0;if((c|0)!=(g|0))if(h){e=c;while(1){c=e+24|0;i=f[c>>2]|0;Bj[f[(f[i>>2]|0)+200>>2]&1023](i,b);c=f[c>>2]|0;TIa(0,456187,_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{i=f[d>>2]|0;d=i+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(i|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}}else{e=c;while(1){c=f[e+24>>2]|0;Bj[f[(f[c>>2]|0)+200>>2]&1023](c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{i=f[d>>2]|0;d=i+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(i|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}}c=f[a+80>>2]|0;i=a+84|0;if((c|0)==(f[i>>2]|0))return;if(h){g=c;do{c=f[g>>2]|0;a=g+4|0;if((c|0)!=(a|0)){e=c;while(1){c=e+24|0;h=f[c>>2]|0;Bj[f[(f[h>>2]|0)+200>>2]&1023](h,b);c=f[c>>2]|0;TIa(0,456227,_i[f[(f[c>>2]|0)+28>>2]&2047](c)|0)|0;c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|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((c|0)==(a|0))break;else e=c}}g=g+12|0}while((g|0)!=(f[i>>2]|0));return}else{g=c;do{c=f[g>>2]|0;a=g+4|0;if((c|0)!=(a|0)){e=c;while(1){c=f[e+24>>2]|0;Bj[f[(f[c>>2]|0)+200>>2]&1023](c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|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((c|0)==(a|0))break;else e=c}}g=g+12|0}while((g|0)!=(f[i>>2]|0));return}}function l2a(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;d=c;f[d>>2]=356184;f[d+4>>2]=a;f[d+8>>2]=0;cj[f[(f[b>>2]|0)+188>>2]&1023](b,d)|0;u=c;return}function m2a(a){a=a|0;GBb(a);return}function n2a(a,b){a=a|0;b=b|0;d2a(f[a+4>>2]|0,b);return}function o2a(a,b){a=a|0;b=b|0;e2a(f[a+4>>2]|0,f[a+8>>2]|0,b);return}function p2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;c=f[a+144>>2]|0;if(c|0)Fj[f[(f[c>>2]|0)+24>>2]&511](c,a,b);if(!(f[a+148>>2]|0))return;c=f[a+56>>2]|0;g=a+60|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+24>>2]|0;d=f[c+48>>2]|0;if(d|0)Fj[f[(f[d>>2]|0)+32>>2]&511](d,c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{j=f[d>>2]|0;d=j+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(j|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}}i=a+80|0;j=a+84|0;c=f[i>>2]|0;if((f[j>>2]|0)!=(c|0)){h=0;do{g=c;c=f[g+(h*12|0)>>2]|0;g=g+(h*12|0)+4|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+24>>2]|0;d=f[c+48>>2]|0;if(d|0)Fj[f[(f[d>>2]|0)+32>>2]&511](d,c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(g|0))break;else e=c}}h=h+1|0;c=f[i>>2]|0}while(h>>>0<(((f[j>>2]|0)-c|0)/12|0)>>>0)}c=f[a+92>>2]|0;g=a+96|0;if((c|0)==(g|0))return;e=c;while(1){c=f[e+28>>2]|0;d=f[c+52>>2]|0;if(d|0)Fj[f[(f[d>>2]|0)+32>>2]&511](d,c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{a=f[d>>2]|0;d=a+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(a|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}return}function q2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;c=f[a+152>>2]|0;if(c|0)Fj[f[(f[c>>2]|0)+24>>2]&511](c,a,b);if(!(f[a+156>>2]|0))return;c=f[a+56>>2]|0;g=a+60|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+24>>2]|0;d=f[c+52>>2]|0;if(d|0)Fj[f[(f[d>>2]|0)+32>>2]&511](d,c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{j=f[d>>2]|0;d=j+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(j|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}}i=a+80|0;j=a+84|0;c=f[i>>2]|0;if((f[j>>2]|0)!=(c|0)){h=0;do{g=c;c=f[g+(h*12|0)>>2]|0;g=g+(h*12|0)+4|0;if((c|0)!=(g|0)){e=c;while(1){c=f[e+24>>2]|0;d=f[c+52>>2]|0;if(d|0)Fj[f[(f[d>>2]|0)+32>>2]&511](d,c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))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)==(g|0))break;else e=c}}h=h+1|0;c=f[i>>2]|0}while(h>>>0<(((f[j>>2]|0)-c|0)/12|0)>>>0)}c=f[a+92>>2]|0;g=a+96|0;if((c|0)==(g|0))return;e=c;while(1){c=f[e+28>>2]|0;d=f[c+56>>2]|0;if(d|0)Fj[f[(f[d>>2]|0)+32>>2]&511](d,c,b);c=f[e+4>>2]|0;if(!c){d=e+8|0;c=f[d>>2]|0;if((f[c>>2]|0)!=(e|0))do{a=f[d>>2]|0;d=a+8|0;c=f[d>>2]|0}while((f[c>>2]|0)!=(a|0))}else while(1){d=f[c>>2]|0;if(!d)break;else c=d}if((c|0)==(g|0))break;else e=c}return}function r2a(a,b){a=a|0;b=b|0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=356208;OBb(a+12|0,b);t4a(a+24|0,0);f[a+44>>2]=0;f[a+48>>2]=0;f[a+52>>2]=0;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;s2a(a,25);return}function s2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=a+24|0;_i[f[(f[i>>2]|0)+8>>2]&2047](i)|0;f[a+36>>2]=0;f[a+40>>2]=0;g=a+44|0;c=f[g>>2]|0;h=a+48|0;a=f[h>>2]|0;e=c;if((a|0)==(c|0))d=e;else{do{d=a;a=a+-12|0;t2a(a,f[d+-8>>2]|0)}while((a|0)!=(c|0));d=f[g>>2]|0}f[h>>2]=c;a=(e-d|0)/12|0;if(a>>>0<b>>>0){u2a(g,b-a|0);h=f[i>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](i)|0;return}if(a>>>0<=b>>>0){h=f[i>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](i)|0;return}a=d+(b*12|0)|0;if((a|0)!=(c|0))do{g=c;c=c+-12|0;t2a(c,f[g+-8>>2]|0)}while((c|0)!=(a|0));f[h>>2]=a;h=f[i>>2]|0;h=h+12|0;h=f[h>>2]|0;_i[h&2047](i)|0;return}function t2a(a,c){a=a|0;c=c|0;if(!c)return;t2a(a,f[c>>2]|0);t2a(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 u2a(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+8|0;e=f[l>>2]|0;m=a+4|0;c=f[m>>2]|0;if(((e-c|0)/12|0)>>>0>=b>>>0){do{f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;c=(f[m>>2]|0)+12|0;f[m>>2]=c;b=b+-1|0}while((b|0)!=0);return}d=f[a>>2]|0;g=(c-d|0)/12|0;h=g+b|0;if(h>>>0>357913941)DCb(a);k=(e-d|0)/12|0;c=k<<1;c=k>>>0<178956970?(c>>>0<h>>>0?h:c):357913941;do if(c)if(c>>>0>357913941){m=ab(8)|0;KBb(m,410101);f[m>>2]=362060;eb(m|0,302144,1464)}else{e=EBb(c*12|0)|0;break}else e=0;while(0);g=e+(g*12|0)|0;d=e+(c*12|0)|0;c=g;while(1){f[c+4>>2]=0;f[c+8>>2]=0;f[c>>2]=c+4;b=b+-1|0;if(!b)break;else c=c+12|0}k=e+(h*12|0)|0;j=f[a>>2]|0;c=f[m>>2]|0;if((c|0)==(j|0)){b=g;e=j;c=j}else{b=g;do{i=b;b=b+-12|0;e=c;c=c+-12|0;f[b>>2]=f[c>>2];g=f[e+-8>>2]|0;f[i+-8>>2]=g;h=e+-4|0;n=f[h>>2]|0;f[i+-4>>2]=n;i=i+-8|0;if(!n)f[b>>2]=i;else{f[g+8>>2]=i;n=e+-8|0;f[c>>2]=n;f[n>>2]=0;f[h>>2]=0}}while((c|0)!=(j|0));e=f[a>>2]|0;c=f[m>>2]|0}f[a>>2]=b;f[m>>2]=k;f[l>>2]=d;b=e;if((c|0)!=(b|0))do{n=c;c=c+-12|0;t2a(c,f[n+-8>>2]|0)}while((c|0)!=(b|0));if(!e)return;GBb(e);return}function v2a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;f[a>>2]=356208;r5(a+68|0,f[a+72>>2]|0);t2a(a+56|0,f[a+60>>2]|0);d=a+44|0;g=f[d>>2]|0;if(g|0){e=a+48|0;c=f[e>>2]|0;if((c|0)==(g|0))c=g;else{do{h=c;c=c+-12|0;t2a(c,f[h+-8>>2]|0)}while((c|0)!=(g|0));c=f[d>>2]|0}f[e>>2]=g;GBb(c)}R3a(a+24|0);c=a+12|0;if((b[c+11>>0]|0)>=0){Uua(a);return}GBb(f[c>>2]|0);Uua(a);return}function w2a(a){a=a|0;v2a(a);GBb(a);return}function x2a(a,c,d,e){a=a|0;c=c|0;d=d|0;e=+e;var 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;q=u;u=u+16|0;m=q;j=a+40|0;i=f[j>>2]|0;k=a+44|0;l=a+48|0;o=((f[l>>2]|0)-(f[k>>2]|0)|0)/12|0;if((i>>>0<o>>>0?0:i+1-o|0)>>>0>c>>>0){o=0;u=q;return o|0}o=a+24|0;_i[f[(f[o>>2]|0)+8>>2]&2047](o)|0;g=f[j>>2]|0;if(g>>>0<c>>>0){g=g+1|0;i=a+36|0;h=f[i>>2]|0;if(g>>>0>c>>>0)g=h;else{do{t=f[k>>2]|0;s=((g-h|0)>>>0)%((((f[l>>2]|0)-t|0)/12|0)>>>0)|0;r=t+(s*12|0)|0;h=t+(s*12|0)+4|0;t2a(r,f[h>>2]|0);f[t+(s*12|0)+8>>2]=0;f[r>>2]=h;f[h>>2]=0;g=g+1|0;h=f[i>>2]|0}while(g>>>0<=c>>>0);g=h}h=((f[l>>2]|0)-(f[k>>2]|0)|0)/12|0;if((c-g|0)>>>0>=h>>>0)f[i>>2]=c-((c>>>0)%(h>>>0)|0);f[j>>2]=c;i=c}else i=g;h=f[k>>2]|0;g=((f[l>>2]|0)-h|0)/12|0;if((i>>>0<g>>>0?0:i+1-g|0)>>>0<=c>>>0?(n=f[a+36>>2]|0,n=(n>>>0>c>>>0?g:0)+(c-n)|0,(n|0)>=0):0){g=y2a(h+(n*12|0)|0,d)|0;p[g>>3]=e;g=1}else{if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){s=Nu(csb(Nu(Hua(3)|0,456326,53)|0,c)|0,434083,1)|0;g=b[d+11>>0]|0;t=g<<24>>24<0;g=Nu(isb(Nu(Nu(s,t?f[d>>2]|0:d,t?f[d+4>>2]|0:g&255)|0,434083,1)|0,e)|0,409404,1)|0;Drb(m,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);t=utb(m,504576)|0;t=cj[f[(f[t>>2]|0)+28>>2]&1023](t,10)|0;vtb(m);ksb(g,t)|0;Krb(g)|0;g=0}else g=0}_i[f[(f[o>>2]|0)+12>>2]&2047](o)|0;t=g;u=q;return t|0}function y2a(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=z2a(a,d,b)|0;c=f[e>>2]|0;if(c|0){a=c;a=a+32|0;u=h;return a|0}g=EBb(40)|0;OBb(g+16|0,b);p[g+32>>3]=0.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+32|0;u=h;return a|0}function z2a(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<m>>>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 A2a(a){a=a|0;var b=0;f[a+4>>2]=0;f[a+8>>2]=0;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;b=a+32|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[a>>2]=350208;f[a+56>>2]=519;f[a+60>>2]=0;f[a+64>>2]=-1;f[a+68>>2]=7680;f[a+72>>2]=7680;f[a+76>>2]=7680;f[a+80>>2]=-1;return}function B2a(a){a=a|0;var c=0;f[a+4>>2]=0;f[a+8>>2]=0;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;c=a+32|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>>2]=350420;f3a(a+56|0);b[a+184>>0]=0;return}function C2a(a,b){a=a|0;b=+b;var c=0,d=0;c=a+104|0;if(!(+n[c>>2]!=b))return;n[c>>2]=b;d=f[a+60>>2]|0;c=(f[a+64>>2]|0)-d|0;if((c|0)<=0)return;a=c>>>2;c=d;while(1){f[c>>2]=1;if((a|0)>1){a=a+-1|0;c=c+4|0}else break}return}function D2a(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;c=u;u=u+16|0;a=c;if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=c;return}h=Nu(Hua(3)|0,456380,56)|0;Drb(a,h+(f[(f[h>>2]|0)+-12>>2]|0)|0);g=utb(a,504576)|0;g=cj[f[(f[g>>2]|0)+28>>2]&1023](g,10)|0;vtb(a);ksb(h,g)|0;Krb(h)|0;u=c;return}function E2a(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;s=u;u=u+16|0;o=s;q=f[c+124>>2]|0;r=a+188|0;if(!(f[r>>2]|0))f[r>>2]=6408;m=a+216|0;n=a+220|0;i=f[n>>2]|0;j=f[m>>2]|0;k=i-j>>2;do if(k>>>0<=q>>>0){l=q+1|0;if(l>>>0>k>>>0){XGa(m,l-k|0);break}if(l>>>0<k>>>0){k=j+(l<<2)|0;if((k|0)!=(i|0))do{i=i+-4|0;j=f[i>>2]|0;if(j|0?(t=j+8|0,l=f[t>>2]|0,f[t>>2]=l-1,(l|0)==1):0)Rua(j,1,1);f[i>>2]=0}while((i|0)!=(k|0));f[n>>2]=k}}while(0);if(f[(f[m>>2]|0)+(q<<2)>>2]|0){if((f[a+236>>2]|0)==(g|0)?(f[a+240>>2]|0)==(h|0):0){F2a(a,c,0,0,d,e,g,h);u=s;return}PUa(a)}i=a+232|0;j=f[i>>2]|0;if(j|0?(f[i>>2]=0,n=j+8|0,t=f[n>>2]|0,f[n>>2]=t-1,(t|0)==1):0)Rua(j,1,1);i=a+96|0;if((f[i>>2]|1|0)!=9729){if(b[a+136>>0]|0){j=f[c+832>>2]|0;if(!(b[j+1062>>0]|0))if((b[j+1292>>0]|0)!=0?(f[j+1364>>2]|0)!=0:0)j=1;else p=27;else j=1}else p=27;if((p|0)==27){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){t=Nu(Hua(3)|0,456437,98)|0;Drb(o,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);p=utb(o,504576)|0;p=cj[f[(f[p>>2]|0)+28>>2]&1023](p,10)|0;vtb(o);ksb(t,p)|0;Krb(t)|0}f[i>>2]=9729;j=0}f[a+236>>2]=g;f[a+240>>2]=h;l=a+244|0;f[l>>2]=1;if((g|0)>1|(h|0)>1){k=1;i=1;do{k=k<<1;i=i+1|0}while((k|0)<(g|0)|(k|0)<(h|0));f[l>>2]=i}else i=1}else{f[a+236>>2]=g;f[a+240>>2]=h;f[a+244>>2]=1;j=0;i=1}n=kWa(a,q,3553,i,f[r>>2]|0,g,h,1,0)|0;bWa(n,c);gWa(a,3553,c);Bh(3553,0,f[r>>2]|0,d|0,e|0,g|0,h|0,0);pWa(a,c,j&1);b[n+64>>0]=1;n=f[c+732>>2]|0;o=c+696|0;m=c+700|0;i=f[m>>2]|0;j=f[o>>2]|0;k=(i-j|0)/12|0;do if(k>>>0<=n>>>0){l=n+1|0;if(l>>>0>k>>>0){GI(o,l-k|0);break}if(l>>>0<k>>>0){j=j+(l*12|0)|0;if((j|0)!=(i|0))do{t=i;i=i+-12|0;HI(i,f[t+-8>>2]|0)}while((i|0)!=(j|0));f[m>>2]=j}}while(0);cWa(0,(f[o>>2]|0)+(n*12|0)|0,a);u=s;return}function F2a(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=u;u=u+16|0;r=s;q=f[c+124>>2]|0;k=a+188|0;if(!(f[k>>2]|0))f[k>>2]=6408;o=a+216|0;p=a+220|0;k=f[p>>2]|0;l=f[o>>2]|0;m=k-l>>2;do if(m>>>0<=q>>>0){n=q+1|0;if(n>>>0>m>>>0){XGa(o,n-m|0);break}if(n>>>0<m>>>0){m=l+(n<<2)|0;if((m|0)!=(k|0))do{k=k+-4|0;l=f[k>>2]|0;if(l|0?(t=l+8|0,n=f[t>>2]|0,f[t>>2]=n-1,(n|0)==1):0)Rua(l,1,1);f[k>>2]=0}while((k|0)!=(m|0));f[p>>2]=m}}while(0);k=f[(f[o>>2]|0)+(q<<2)>>2]|0;if(!k){E2a(a,c,g,h,i,j);u=s;return}bWa(k,c);gWa(a,3553,c);k=a+96|0;do if((f[k>>2]|1|0)==9729)k=0;else{if(b[a+136>>0]|0){l=f[c+832>>2]|0;if(b[l+1062>>0]|0){k=1;break}if(b[l+1292>>0]|0?f[l+1364>>2]|0:0){k=1;break}}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){t=Nu(Hua(3)|0,456437,98)|0;Drb(r,t+(f[(f[t>>2]|0)+-12>>2]|0)|0);q=utb(r,504576)|0;q=cj[f[(f[q>>2]|0)+28>>2]&1023](q,10)|0;vtb(r);ksb(t,q)|0;Krb(t)|0}f[k>>2]=9729;k=0}while(0);Ch(3553,0,d|0,e|0,g|0,h|0,i|0,j|0);pWa(a,c,k);p=f[c+732>>2]|0;q=c+696|0;o=c+700|0;k=f[o>>2]|0;l=f[q>>2]|0;m=(k-l|0)/12|0;do if(m>>>0<=p>>>0){n=p+1|0;if(n>>>0>m>>>0){GI(q,n-m|0);break}if(n>>>0<m>>>0){l=l+(n*12|0)|0;if((l|0)!=(k|0))do{t=k;k=k+-12|0;HI(k,f[t+-8>>2]|0)}while((k|0)!=(l|0));f[o>>2]=l}}while(0);cWa(0,(f[q>>2]|0)+(p*12|0)|0,a);u=s;return}function G2a(a,c,d,e,g,h,i,j,k){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0;v=u;u=u+16|0;t=v;p=f[c+124>>2]|0;s=f[c+832>>2]|0;q=a+216|0;r=a+220|0;l=f[r>>2]|0;m=f[q>>2]|0;n=l-m>>2;do if(n>>>0<=p>>>0){o=p+1|0;if(o>>>0>n>>>0){XGa(q,o-n|0);break}if(o>>>0<n>>>0){n=m+(o<<2)|0;if((n|0)!=(l|0))do{l=l+-4|0;m=f[l>>2]|0;if(m|0?(w=m+8|0,o=f[w>>2]|0,f[w>>2]=o-1,(o|0)==1):0)Rua(m,1,1);f[l>>2]=0}while((l|0)!=(n|0));f[r>>2]=n}}while(0);l=f[(f[q>>2]|0)+(p<<2)>>2]|0;if(!l){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=1){u=v;return}w=Nu(Hua(2)|0,456536,92)|0;Drb(t,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);a=utb(t,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(t);ksb(w,a)|0;Krb(w)|0;u=v;return}bWa(l,c);gWa(a,32879,c);Oj[f[s+1160>>2]&15](32879,0,d,e,g,h,i,j,k);q=f[c+732>>2]|0;r=c+696|0;p=c+700|0;l=f[p>>2]|0;m=f[r>>2]|0;n=(l-m|0)/12|0;do if(n>>>0<=q>>>0){o=q+1|0;if(o>>>0>n>>>0){GI(r,o-n|0);break}if(o>>>0<n>>>0){m=m+(o*12|0)|0;if((m|0)!=(l|0))do{w=l;l=l+-12|0;HI(l,f[w+-8>>2]|0)}while((l|0)!=(m|0));f[p>>2]=m}}while(0);cWa(0,(f[r>>2]|0)+(q*12|0)|0,a);u=v;return}function H2a(a,c,d,e,g,h,i,j,k){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0;v=u;u=u+16|0;t=v;r=f[c+124>>2]|0;s=c+832|0;if(!(b[(f[s>>2]|0)+37>>0]|0)){u=v;return}l=a+188|0;if(!(f[l>>2]|0))f[l>>2]=6408;p=a+216|0;q=a+220|0;l=f[q>>2]|0;m=f[p>>2]|0;n=l-m>>2;do if(n>>>0<=r>>>0){o=r+1|0;if(o>>>0>n>>>0){XGa(p,o-n|0);break}if(o>>>0<n>>>0){n=m+(o<<2)|0;if((n|0)!=(l|0))do{l=l+-4|0;m=f[l>>2]|0;if(m|0?(w=m+8|0,o=f[w>>2]|0,f[w>>2]=o-1,(o|0)==1):0)Rua(m,1,1);f[l>>2]=0}while((l|0)!=(n|0));f[q>>2]=n}}while(0);l=f[(f[p>>2]|0)+(r<<2)>>2]|0;if(!l){l=a+256|0;if(!(f[l>>2]|0))f[l>>2]=j;l=a+260|0;if(!(f[l>>2]|0))f[l>>2]=k;Bj[f[(f[a>>2]|0)+196>>2]&1023](a,c);l=f[q>>2]|0;m=f[p>>2]|0;n=l-m>>2;do if(n>>>0<=r>>>0){o=r+1|0;if(o>>>0>n>>>0){XGa(p,o-n|0);break}if(o>>>0<n>>>0){n=m+(o<<2)|0;if((n|0)!=(l|0))do{l=l+-4|0;m=f[l>>2]|0;if(m|0?(o=m+8|0,w=f[o>>2]|0,f[o>>2]=w-1,(w|0)==1):0)Rua(m,1,1);f[l>>2]=0}while((l|0)!=(n|0));f[q>>2]=n}}while(0);l=f[(f[p>>2]|0)+(r<<2)>>2]|0;if(!l){if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)<=2){u=v;return}w=Nu(Hua(3)|0,456629,92)|0;Drb(t,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);a=utb(t,504576)|0;a=cj[f[(f[a>>2]|0)+28>>2]&1023](a,10)|0;vtb(t);ksb(w,a)|0;Krb(w)|0;u=v;return}}n=f[223744+(d<<2)>>2]|0;bWa(l,c);gWa(a,34067,c);m=a+96|0;do if((f[m>>2]|1|0)==9729)l=0;else{if(b[a+136>>0]|0){l=f[s>>2]|0;if(b[l+1062>>0]|0){l=1;break}if(b[l+1292>>0]|0?f[l+1364>>2]|0:0){l=1;break}}if((b[497232]|0)==0?DDb(497232)|0:0)Gua(499472);if((f[124868]|0)>2){w=Nu(Hua(3)|0,456722,103)|0;Drb(t,w+(f[(f[w>>2]|0)+-12>>2]|0)|0);s=utb(t,504576)|0;s=cj[f[(f[s>>2]|0)+28>>2]&1023](s,10)|0;vtb(t);ksb(w,s)|0;Krb(w)|0}f[m>>2]=9729;l=0}while(0);Ch(n|0,0,e|0,g|0,h|0,i|0,j|0,k|0);pWa(a,c,l);q=f[c+732>>2]|0;r=c+696|0;p=c+700|0;l=f[p>>2]|0;m=f[r>>2]|0;n=(l-m|0)/12|0;do if(n>>>0<=q>>>0){o=q+1|0;if(o>>>0>n>>>0){GI(r,o-n|0);break}if(o>>>0<n>>>0){m=m+(o*12|0)|0;if((m|0)!=(l|0))do{w=l;l=l+-12|0;HI(l,f[w+-8>>2]|0)}while((l|0)!=(m|0));f[p>>2]=m}}while(0);cWa(0,(f[r>>2]|0)+(q*12|0)|0,a);u=v;return}function I2a(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=f[b+124>>2]|0;o=a+188|0;if(!(f[o>>2]|0))f[o>>2]=6408;l=a+216|0;m=a+220|0;h=f[m>>2]|0;i=f[l>>2]|0;j=h-i>>2;do if(j>>>0<=n>>>0){k=n+1|0;if(k>>>0>j>>>0){XGa(l,k-j|0);break}if(k>>>0<j>>>0){j=i+(k<<2)|0;if((j|0)!=(h|0))do{h=h+-4|0;i=f[h>>2]|0;if(i|0?(p=i+8|0,k=f[p>>2]|0,f[p>>2]=k-1,(k|0)==1):0)Rua(i,1,1);f[h>>2]=0}while((h|0)!=(j|0));f[m>>2]=j}}while(0);if(f[(f[l>>2]|0)+(n<<2)>>2]|0){if((f[a+236>>2]|0)==(e|0)?(f[a+240>>2]|0)==(g|0):0){J2a(a,b,0,0,c,d,e,g);return}PUa(a)}h=a+232|0;i=f[h>>2]|0;if(i|0?(f[h>>2]=0,m=i+8|0,p=f[m>>2]|0,f[m>>2]=p-1,(p|0)==1):0)Rua(i,1,1);m=WWa(a,n,34037)|0;bWa(m,b);gWa(a,34037,b);Bh(34037,0,f[o>>2]|0,c|0,d|0,e|0,g|0,0);f[a+236>>2]=e;f[a+240>>2]=g;iWa(m,1,f[o>>2]|0,e,g,1,0);m=f[b+732>>2]|0;c=b+696|0;l=b+700|0;h=f[l>>2]|0;i=f[c>>2]|0;j=(h-i|0)/12|0;do if(j>>>0<=m>>>0){k=m+1|0;if(k>>>0>j>>>0){GI(c,k-j|0);break}if(k>>>0<j>>>0){i=i+(k*12|0)|0;if((i|0)!=(h|0))do{p=h;h=h+-12|0;HI(h,f[p+-8>>2]|0)}while((h|0)!=(i|0));f[l>>2]=i}}while(0);cWa(0,(f[c>>2]|0)+(m*12|0)|0,a);return}function J2a(a,b,c,d,e,g,h,i){a=a|0;b=b|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,p=0,q=0;p=f[b+124>>2]|0;j=a+188|0;if(!(f[j>>2]|0))f[j>>2]=6408;n=a+216|0;o=a+220|0;j=f[o>>2]|0;k=f[n>>2]|0;l=j-k>>2;do if(l>>>0<=p>>>0){m=p+1|0;if(m>>>0>l>>>0){XGa(n,m-l|0);break}if(m>>>0<l>>>0){l=k+(m<<2)|0;if((l|0)!=(j|0))do{j=j+-4|0;k=f[j>>2]|0;if(k|0?(q=k+8|0,m=f[q>>2]|0,f[q>>2]=m-1,(m|0)==1):0)Rua(k,1,1);f[j>>2]=0}while((j|0)!=(l|0));f[o>>2]=l}}while(0);j=f[(f[n>>2]|0)+(p<<2)>>2]|0;if(!j){I2a(a,b,e,g,h,i);return}bWa(j,b);gWa(a,34037,b);Ch(34037,0,c|0,d|0,e|0,g|0,h|0,i|0);o=f[b+732>>2]|0;p=b+696|0;n=b+700|0;j=f[n>>2]|0;k=f[p>>2]|0;l=(j-k|0)/12|0;do if(l>>>0<=o>>>0){m=o+1|0;if(m>>>0>l>>>0){GI(p,m-l|0);break}if(m>>>0<l>>>0){k=k+(m*12|0)|0;if((k|0)!=(j|0))do{q=j;j=j+-12|0;HI(j,f[q+-8>>2]|0)}while((j|0)!=(k|0));f[n>>2]=k}}while(0);cWa(0,(f[p>>2]|0)+(o*12|0)|0,a);return}function K2a(a){a=a|0;var b=0,c=0,d=0,e=0;b=u;u=u+16|0;e=b;p[a+8>>3]=1.0e-06;Nb(1,e|0)|0;d=f[e>>2]|0;d=LDb(d|0,((d|0)<0)<<31>>31|0,1e6,0)|0;c=H;e=f[e+4>>2]|0;e=QDb(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;c=MDb(e|0,H|0,d|0,c|0)|0;f[a>>2]=c;f[a+4>>2]=H;u=b;return}function L2a(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+112|0;k=l;f3a(a);f[k+72>>2]=0;f[k+76>>2]=0;e=k+80|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[k+92>>2]=2;f[k+96>>2]=0;f[k+12>>2]=0;e=k+28|0;f[k+4>>2]=0;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[k+8>>2]=-1;f[k+16>>2]=0;f[k+20>>2]=-1;f[k+24>>2]=0;f[k>>2]=355568;f[k+68>>2]=355936;f[k+56>>2]=0;f[k+60>>2]=a;b[k+64>>0]=d&1;e=f[c>>2]|0;j=c+4|0;g=f[j>>2]|0;i=g;h=e;if((e|0)==(g|0)){dDa(k,356104);k=k+68|0;Gva(k);u=l;return}if(d){a=i-h>>2;do{g=g+-4|0;e=f[g>>2]|0;e=_i[f[(f[e>>2]|0)+80>>2]&2047](e)|0;if(e|0){if(f[e+136>>2]|0)break;if((f[e+72>>2]|0)==(f[e+76>>2]|0))break}a=a+-1|0}while((g|0)!=(f[c>>2]|0));e=f[c>>2]|0;h=e;g=f[j>>2]|0}else{a=0;g=i}if(a>>>0>=g-h>>2>>>0){dDa(k,356104);k=k+68|0;Gva(k);u=l;return}do{i=f[e+(a<<2)>>2]|0;Bj[f[(f[i>>2]|0)+212>>2]&1023](i,k);a=a+1|0;e=f[c>>2]|0}while(a>>>0<(f[j>>2]|0)-e>>2>>>0);dDa(k,356104);k=k+68|0;Gva(k);u=l;return}function M2a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;e=a+136|0;if((f[e>>2]|0)==(c|0))return;f[e>>2]=c;c=(c|0)==0;g=c&1;h=a+104|0;e=b[h>>0]|0;if((e&255|0)==(c&1|0))return;if(((f[a+108>>2]|0)==0?(d=f[a+72>>2]|0,j=a+76|0,(d|0)!=(f[j>>2]|0)):0)?(i=(e+-1<<24>>24<<24>>24)+((c^1)&1)|0,i|0):0)do{a=f[d>>2]|0;Dwa(a,(f[a+108>>2]|0)+i|0);d=d+4|0}while((d|0)!=(f[j>>2]|0));b[h>>0]=g;return}function N2a(a,b){a=a|0;b=+b;var c=0,d=0;d=a+64|0;c=f[d>>2]|0;if(!c){$0a(a,1);c=f[d>>2]|0}if((c|0)!=1){a=0;return a|0}if(!(W1a(a,5126)|0)){a=0;return a|0}n[f[(f[a+68>>2]|0)+76>>2]>>2]=b;a=a+48|0;f[a>>2]=(f[a>>2]|0)+1;a=1;return a|0}function O2a(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+64|0;c=f[d>>2]|0;if(!c){$0a(a,1);c=f[d>>2]|0}if((c|0)!=1){b=0;return b|0}if(!(W1a(a,5125)|0)){b=0;return b|0}f[f[(f[a+80>>2]|0)+76>>2]>>2]=b;b=a+48|0;f[b>>2]=(f[b>>2]|0)+1;b=1;return b|0}function P2a(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+16|0;h=m;f[a+4>>2]=0;f[a+8>>2]=0;k=a+12|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[a+24>>2]=2;k=a+28|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[a+44>>2]=-1;k=a+48|0;f[k>>2]=0;f[a+52>>2]=0;f[a+56>>2]=0;f[a>>2]=352732;f[a+60>>2]=35670;j=a+64|0;f[j>>2]=1;g=a+68|0;l=a+76|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;f[g+24>>2]=0;f[g+28>>2]=0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;g=Rmb(c)|0;if(g>>>0>4294967279)MBb(h);if(g>>>0<11){b[h+11>>0]=g;if(!g)e=h;else{e=h;i=6}}else{i=g+16&-16;e=EBb(i)|0;f[h>>2]=e;f[h+8>>2]=i|-2147483648;f[h+4>>2]=g;i=6}if((i|0)==6)YDb(e|0,c|0,g|0)|0;b[e+g>>0]=0;kTa(a,h);if((b[h+11>>0]|0)<0)GBb(f[h>>2]|0);JXa(a);e=f[j>>2]|0;if(!e){$0a(a,1);e=f[j>>2]|0}if((e|0)!=1){u=m;return}if(!(W1a(a,35670)|0)){u=m;return}f[f[(f[l>>2]|0)+76>>2]>>2]=d&1;f[k>>2]=(f[k>>2]|0)+1;u=m;return}function Q2a(){var a=0,b=0;b=u;u=u+16|0;a=b;if(!(f[89055]|0)){u=b;return 490112}f[a>>2]=3;f[a+4>>2]=7;f[a+8>>2]=0;Snb(490112,456826,a)|0;f[89055]=0;u=b;return 490112}function R2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0.0,j=0.0,k=0.0;g=u;u=u+128|0;e=g;d=f[b>>2]|0;f[a>>2]=d;f[a+(f[d+-12>>2]|0)>>2]=f[b+4>>2];f[a+4>>2]=0;b=a+12|0;d=a+16|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;S2a(a,1);b=EBb(656)|0;hBa(b);c=f[d>>2]|0;if(((c|0)!=(b|0)?(f[d>>2]=b,b=b+8|0,f[b>>2]=(f[b>>2]|0)+1,c|0):0)?(h=c+8|0,b=f[h>>2]|0,f[h>>2]=b-1,(b|0)==1):0)Rua(c,1,1);f[(f[d>>2]|0)+220>>2]=a;Dxa()|0;i=+n[(f[124914]|0)+32>>2];Dxa()|0;j=+n[(f[124914]|0)+28>>2];Dxa()|0;k=+n[(f[124914]|0)+36>>2];h=f[d>>2]|0;f3a(e);s3a(e,+S(+(i*.5),+k)*2.0*180.0/3.141592653589793,j/i,1.0,1.0e4);p[h+304>>3]=+p[e>>3];p[h+312>>3]=+p[e+8>>3];p[h+320>>3]=+p[e+16>>3];p[h+328>>3]=+p[e+24>>3];p[h+336>>3]=+p[e+32>>3];p[h+344>>3]=+p[e+40>>3];p[h+352>>3]=+p[e+48>>3];p[h+360>>3]=+p[e+56>>3];p[h+368>>3]=+p[e+64>>3];p[h+376>>3]=+p[e+72>>3];p[h+384>>3]=+p[e+80>>3];p[h+392>>3]=+p[e+88>>3];p[h+400>>3]=+p[e+96>>3];p[h+408>>3]=+p[e+104>>3];p[h+416>>3]=+p[e+112>>3];p[h+424>>3]=+p[e+120>>3];h=f[d>>2]|0;n[h+240>>2]=.20000000298023224;n[h+244>>2]=.20000000298023224;n[h+248>>2]=.4000000059604645;n[h+252>>2]=1.0;b=h+148|0;if(!(f[h+152>>2]|0))f[b>>2]=f[b>>2]&-8193;c=f[d>>2]|0;a=c+120|0;b=f[a>>2]|0;if(b|0){h=b;a2a(h);u=g;return}h=EBb(160)|0;jBa(h);_xa(c,h);h=f[a>>2]|0;a2a(h);u=g;return}function S2a(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;f[a+8>>2]=b;if(!b){u=e;return}c=a+12|0;if(f[c>>2]|0){u=e;return}b=EBb(156)|0;f[b+4>>2]=0;a=b+8|0;f[a>>2]=0;g=b+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[b+24>>2]=2;g=b+28|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;f[g+24>>2]=0;f[b>>2]=346336;f[b+56>>2]=0;n[b+60>>2]=.05000000074505806;n[b+64>>2]=.05000000074505806;n[b+68>>2]=.05000000074505806;n[b+72>>2]=1.0;n[b+76>>2]=.800000011920929;n[b+80>>2]=.800000011920929;n[b+84>>2]=.800000011920929;n[b+88>>2]=1.0;n[b+92>>2]=.05000000074505806;n[b+96>>2]=.05000000074505806;n[b+100>>2]=.05000000074505806;n[b+104>>2]=1.0;n[b+108>>2]=0.0;n[b+112>>2]=0.0;n[b+116>>2]=1.0;n[b+120>>2]=0.0;n[b+124>>2]=0.0;n[b+128>>2]=0.0;n[b+132>>2]=-1.0;n[b+148>>2]=0.0;n[b+152>>2]=180.0;n[b+136>>2]=1.0;n[b+140>>2]=0.0;n[b+144>>2]=0.0;f[c>>2]=b;f[a>>2]=(f[a>>2]|0)+1;a=f[c>>2]|0;Bj[f[f[a>>2]>>2]&1023](a,1);a=f[c>>2]|0;b=a+56|0;if(f[b>>2]|0){Y$a(d,a);f[b>>2]=0;Z$a(d);a=f[c>>2]|0}n[a+60>>2]=0.0;n[a+64>>2]=0.0;n[a+68>>2]=0.0;n[a+72>>2]=1.0;g=f[c>>2]|0;n[g+76>>2]=.800000011920929;n[g+80>>2]=.800000011920929;n[g+84>>2]=.800000011920929;n[g+88>>2]=1.0;g=f[c>>2]|0;n[g+92>>2]=1.0;n[g+96>>2]=1.0;n[g+100>>2]=1.0;n[g+104>>2]=1.0;u=e;return}function T2a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0.0,j=0.0,k=0.0;g=u;u=u+128|0;b=g;f[a+40>>2]=0;f[a+44>>2]=0;c=a+48|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[a+60>>2]=2;f[a+64>>2]=0;f[a>>2]=352924;f[a+36>>2]=353128;f[a+4>>2]=0;c=a+12|0;e=a+16|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;S2a(a,1);c=EBb(656)|0;hBa(c);d=f[e>>2]|0;if(((d|0)!=(c|0)?(f[e>>2]=c,c=c+8|0,f[c>>2]=(f[c>>2]|0)+1,d|0):0)?(h=d+8|0,c=f[h>>2]|0,f[h>>2]=c-1,(c|0)==1):0)Rua(d,1,1);f[(f[e>>2]|0)+220>>2]=a;Dxa()|0;i=+n[(f[124914]|0)+32>>2];Dxa()|0;j=+n[(f[124914]|0)+28>>2];Dxa()|0;k=+n[(f[124914]|0)+36>>2];h=f[e>>2]|0;f3a(b);s3a(b,+S(+(i*.5),+k)*2.0*180.0/3.141592653589793,j/i,1.0,1.0e4);p[h+304>>3]=+p[b>>3];p[h+312>>3]=+p[b+8>>3];p[h+320>>3]=+p[b+16>>3];p[h+328>>3]=+p[b+24>>3];p[h+336>>3]=+p[b+32>>3];p[h+344>>3]=+p[b+40>>3];p[h+352>>3]=+p[b+48>>3];p[h+360>>3]=+p[b+56>>3];p[h+368>>3]=+p[b+64>>3];p[h+376>>3]=+p[b+72>>3];p[h+384>>3]=+p[b+80>>3];p[h+392>>3]=+p[b+88>>3];p[h+400>>3]=+p[b+96>>3];p[h+408>>3]=+p[b+104>>3];p[h+416>>3]=+p[b+112>>3];p[h+424>>3]=+p[b+120>>3];h=f[e>>2]|0;n[h+240>>2]=.20000000298023224;n[h+244>>2]=.20000000298023224;n[h+248>>2]=.4000000059604645;n[h+252>>2]=1.0;a=h+148|0;if(!(f[h+152>>2]|0))f[a>>2]=f[a>>2]&-8193;a=f[e>>2]|0;b=a+120|0;c=f[b>>2]|0;if(c|0){h=c;a2a(h);u=g;return}h=EBb(160)|0;jBa(h);_xa(a,h);h=f[b>>2]|0;a2a(h);u=g;return}function U2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=f[b>>2]|0;f[a>>2]=d;f[a+(f[d+-12>>2]|0)>>2]=f[b+4>>2];f[a+4>>2]=0;f[a+8>>2]=f[c+8>>2];b=f[c+12>>2]|0;f[a+12>>2]=b;if(b|0){d=b+8|0;f[d>>2]=(f[d>>2]|0)+1}b=f[c+16>>2]|0;f[a+16>>2]=b;if(!b){d=a+20|0;c=c+20|0;V2a(d,c);c=a+32|0;f[c>>2]=0;return}d=b+8|0;f[d>>2]=(f[d>>2]|0)+1;d=a+20|0;c=c+20|0;V2a(d,c);c=a+32|0;f[c>>2]=0;return}function V2a(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)/272|0;if(!c)return;if(e>>>0>15790320)DCb(a);c=EBb(c)|0;f[h>>2]=c;f[a>>2]=c;f[d>>2]=c+(e*272|0);a=f[b>>2]|0;b=f[g>>2]|0;if((a|0)==(b|0))return;do{eYa(c,a);a=a+272|0;c=(f[h>>2]|0)+272|0;f[h>>2]=c}while((a|0)!=(b|0));return}function W2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+36|0;Fva(d,b+(f[(f[b>>2]|0)+-12>>2]|0)|0,c);f[a>>2]=352924;f[d>>2]=353128;f[a+4>>2]=0;f[a+8>>2]=f[b+8>>2];c=f[b+12>>2]|0;f[a+12>>2]=c;if(c|0){d=c+8|0;f[d>>2]=(f[d>>2]|0)+1}c=f[b+16>>2]|0;f[a+16>>2]=c;if(!c){c=a+20|0;d=b+20|0;V2a(c,d);d=a+32|0;f[d>>2]=0;return}c=c+8|0;f[c>>2]=(f[c>>2]|0)+1;c=a+20|0;d=b+20|0;V2a(c,d);d=a+32|0;f[d>>2]=0;return}function X2a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;e=a+20|0;g=a+24|0;b=f[e>>2]|0;if((f[g>>2]|0)==(b|0))return;d=0;do{c=b;b=c+(d*272|0)|0;c=f[c+(d*272|0)+268>>2]|0;if(!c)Bj[f[(f[b>>2]|0)+8>>2]&1023](b,a);else Fj[f[f[c>>2]>>2]&511](c,a,b);d=d+1|0;b=f[e>>2]|0}while(d>>>0<(((f[g>>2]|0)-b|0)/272|0)>>>0);return}
  10. function Y2a(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,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;X=u;u=u+272|0;V=X;if(!c){c=0;u=X;return c|0}f[c+220>>2]=a;if((g?(i=f[c>>2]|0,h=f[i+240>>2]|0,i=_i[f[i+248>>2]&2047](c)|0,dj[h&255](c,0,i)|0,i=a+16|0,h=f[i>>2]|0,h|0):0)?_i[f[(f[h>>2]|0)+248>>2]&2047](h)|0:0){h=0;do{cj[f[(f[c>>2]|0)+228>>2]&1023](c,f[(f[(f[i>>2]|0)+124>>2]|0)+(h<<2)>>2]|0)|0;h=h+1|0;U=f[i>>2]|0}while(h>>>0<(_i[f[(f[U>>2]|0)+248>>2]&2047](U)|0)>>>0)}T=a+20|0;R=a+24|0;U=((f[R>>2]|0)-(f[T>>2]|0)|0)/272|0;h=g&1;f[V>>2]=353308;S=V+4|0;f[S>>2]=c;B=c+8|0;f[B>>2]=(f[B>>2]|0)+1;B=V+8|0;p[B>>3]=+p[d>>3];C=V+16|0;p[C>>3]=+p[d+8>>3];D=V+24|0;p[D>>3]=+p[d+16>>3];E=V+32|0;p[E>>3]=+p[d+24>>3];F=V+40|0;p[F>>3]=+p[d+32>>3];G=V+48|0;p[G>>3]=+p[d+40>>3];H=V+56|0;p[H>>3]=+p[d+48>>3];I=V+64|0;p[I>>3]=+p[d+56>>3];J=V+72|0;p[J>>3]=+p[d+64>>3];K=V+80|0;p[K>>3]=+p[d+72>>3];L=V+88|0;p[L>>3]=+p[d+80>>3];M=V+96|0;p[M>>3]=+p[d+88>>3];N=V+104|0;p[N>>3]=+p[d+96>>3];O=V+112|0;p[O>>3]=+p[d+104>>3];P=V+120|0;p[P>>3]=+p[d+112>>3];Q=V+128|0;p[Q>>3]=+p[d+120>>3];y=V+136|0;p[y>>3]=+p[e>>3];z=V+144|0;p[z>>3]=+p[e+8>>3];d=V+152|0;p[d>>3]=+p[e+16>>3];j=V+160|0;p[j>>3]=+p[e+24>>3];k=V+168|0;p[k>>3]=+p[e+32>>3];l=V+176|0;p[l>>3]=+p[e+40>>3];m=V+184|0;p[m>>3]=+p[e+48>>3];n=V+192|0;p[n>>3]=+p[e+56>>3];o=V+200|0;p[o>>3]=+p[e+64>>3];q=V+208|0;p[q>>3]=+p[e+72>>3];r=V+216|0;p[r>>3]=+p[e+80>>3];s=V+224|0;p[s>>3]=+p[e+88>>3];t=V+232|0;p[t>>3]=+p[e+96>>3];v=V+240|0;p[v>>3]=+p[e+104>>3];w=V+248|0;p[w>>3]=+p[e+112>>3];x=V+256|0;p[x>>3]=+p[e+120>>3];i=V+264|0;b[i>>0]=h;A=V+268|0;f[A>>2]=0;e=f[R>>2]|0;if(e>>>0<(f[a+28>>2]|0)>>>0){f[e>>2]=353308;g=f[S>>2]|0;f[e+4>>2]=g;if(g){h=g+8|0;f[h>>2]=(f[h>>2]|0)+1;h=b[i>>0]|0}p[e+8>>3]=+p[B>>3];p[e+16>>3]=+p[C>>3];p[e+24>>3]=+p[D>>3];p[e+32>>3]=+p[E>>3];p[e+40>>3]=+p[F>>3];p[e+48>>3]=+p[G>>3];p[e+56>>3]=+p[H>>3];p[e+64>>3]=+p[I>>3];p[e+72>>3]=+p[J>>3];p[e+80>>3]=+p[K>>3];p[e+88>>3]=+p[L>>3];p[e+96>>3]=+p[M>>3];p[e+104>>3]=+p[N>>3];p[e+112>>3]=+p[O>>3];p[e+120>>3]=+p[P>>3];p[e+128>>3]=+p[Q>>3];p[e+136>>3]=+p[y>>3];p[e+144>>3]=+p[z>>3];p[e+152>>3]=+p[d>>3];p[e+160>>3]=+p[j>>3];p[e+168>>3]=+p[k>>3];p[e+176>>3]=+p[l>>3];p[e+184>>3]=+p[m>>3];p[e+192>>3]=+p[n>>3];p[e+200>>3]=+p[o>>3];p[e+208>>3]=+p[q>>3];p[e+216>>3]=+p[r>>3];p[e+224>>3]=+p[s>>3];p[e+232>>3]=+p[t>>3];p[e+240>>3]=+p[v>>3];p[e+248>>3]=+p[w>>3];p[e+256>>3]=+p[x>>3];b[e+264>>0]=h;h=f[A>>2]|0;f[e+268>>2]=h;if(h|0){Q=h+(f[(f[h>>2]|0)+-12>>2]|0)+8|0;f[Q>>2]=(f[Q>>2]|0)+1}f[R>>2]=(f[R>>2]|0)+272}else Z2a(T,V);f[V>>2]=353308;h=f[A>>2]|0;if(h|0?(W=h+(f[(f[h>>2]|0)+-12>>2]|0)|0,R=W+8|0,V=f[R>>2]|0,f[R>>2]=V-1,(V|0)==1):0)Rua(W,1,1);f[A>>2]=0;h=f[S>>2]|0;if(h|0?(V=h+8|0,W=f[V>>2]|0,f[V>>2]=W-1,(W|0)==1):0)Rua(h,1,1);h=f[T>>2]|0;i=h+(U*272|0)|0;h=f[h+(U*272|0)+268>>2]|0;if(!h)Bj[f[(f[i>>2]|0)+8>>2]&1023](i,a);else Fj[f[f[h>>2]>>2]&511](h,a,i);g=cj[f[(f[a>>2]|0)+32>>2]&1023](a,c)|0;h=c+628|0;i=f[h>>2]|0;if((i|0)==(g|0)){c=1;u=X;return c|0}f[h>>2]=g;if(g|0){c=g+(f[(f[g>>2]|0)+-12>>2]|0)+8|0;f[c>>2]=(f[c>>2]|0)+1}if(!i){c=1;u=X;return c|0}h=i+(f[(f[i>>2]|0)+-12>>2]|0)|0;a=h+8|0;c=f[a>>2]|0;f[a>>2]=c-1;if((c|0)!=1){c=1;u=X;return c|0}Rua(h,1,1);c=1;u=X;return c|0}function Z2a(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)/272|0;d=e+1|0;if(d>>>0>15790320)DCb(a);j=a+8|0;h=((f[j>>2]|0)-c|0)/272|0;g=h<<1;g=h>>>0<7895160?(g>>>0<d>>>0?d:g):15790320;do if(g)if(g>>>0>15790320){j=ab(8)|0;KBb(j,410101);f[j>>2]=362060;eb(j|0,302144,1464)}else{c=EBb(g*272|0)|0;break}else c=0;while(0);e=c+(e*272|0)|0;d=e;h=c+(g*272|0)|0;eYa(e,b);b=e+272|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+-272|0;eYa(e+-272|0,c);e=d+-272|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+-272|0;tj[f[f[c>>2]>>2]&2047](c)}while((c|0)!=(d|0));if(!e)return;GBb(e);return}function _2a(a){a=a|0;var b=0;f[a+4>>2]=0;f[a+8>>2]=0;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;b=a+32|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[a>>2]=353328;b=a+56|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;f[b+12>>2]=0;p[a+72>>3]=800.0;p[a+80>>3]=600.0;return}function $2a(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q,r){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;q=+q;r=+r;p[a>>3]=b;p[a+8>>3]=c;p[a+16>>3]=d;p[a+24>>3]=e;p[a+32>>3]=f;p[a+40>>3]=g;p[a+48>>3]=h;p[a+56>>3]=i;p[a+64>>3]=j;p[a+72>>3]=k;p[a+80>>3]=l;p[a+88>>3]=m;p[a+96>>3]=n;p[a+104>>3]=o;p[a+112>>3]=q;p[a+120>>3]=r;return}function a3a(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,g=0,h=0.0,i=0.0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,q=0;m=u;u=u+32|0;j=m;k=a+24|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;f[a+20>>2]=0;p[k>>3]=1.0;o=+p[b>>3];i=o+1.0;n=+p[b+40>>3];d=+p[b+80>>3];c=i+n+d;p[j>>3]=c;i=i-n-d;p[j+8>>3]=i;o=1.0-o;h=o+n-d;p[j+16>>3]=h;d=o-n+d;p[j+24>>3]=d;l=i>c&1;l=h>+p[j+(l<<3)>>3]?2:l;l=d>+p[j+(l<<3)>>3]?3:l;e=b+32|0;g=b+64|0;switch(l&3){case 0:{p[k>>3]=c;i=+p[b+48>>3]-+p[b+72>>3];p[a>>3]=i;h=+p[g>>3]-+p[b+16>>3];g=a+8|0;p[g>>3]=h;d=+p[b+8>>3]-+p[e>>3];e=a+16|0;p[e>>3]=d;b=g;break}case 1:{c=+p[b+48>>3]-+p[b+72>>3];p[k>>3]=c;p[a>>3]=i;h=+p[b+8>>3]+ +p[e>>3];q=a+8|0;p[q>>3]=h;d=+p[g>>3]+ +p[b+16>>3];e=a+16|0;p[e>>3]=d;b=q;break}case 2:{c=+p[g>>3]-+p[b+16>>3];p[k>>3]=c;i=+p[b+8>>3]+ +p[e>>3];p[a>>3]=i;q=a+8|0;p[q>>3]=h;d=+p[b+48>>3]+ +p[b+72>>3];e=a+16|0;p[e>>3]=d;b=q;break}default:{c=+p[b+8>>3]-+p[e>>3];p[k>>3]=c;i=+p[g>>3]+ +p[b+16>>3];p[a>>3]=i;h=+p[b+48>>3]+ +p[b+72>>3];b=a+8|0;p[b>>3]=h;e=a+16|0;p[e>>3]=d}}o=+K(+(.25/+p[j+(l<<3)>>3]));p[k>>3]=c*o;p[a>>3]=o*i;p[b>>3]=o*h;p[e>>3]=o*d;u=m;return}function b3a(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+p[a>>3];d=+p[b>>3];do if(!(c<d))if(!(d<c)){c=+p[a+8>>3];d=+p[b+8>>3];if(!(c<d))if(!(d<c)){c=+p[a+16>>3];d=+p[b+16>>3];if(!(c<d))if(!(d<c)){c=+p[a+24>>3];d=+p[b+24>>3];if(!(c<d))if(!(d<c)){c=+p[a+32>>3];d=+p[b+32>>3];if(!(c<d))if(!(d<c)){c=+p[a+40>>3];d=+p[b+40>>3];if(!(c<d))if(!(d<c)){c=+p[a+48>>3];d=+p[b+48>>3];if(!(c<d))if(!(d<c)){c=+p[a+56>>3];d=+p[b+56>>3];if(!(c<d))if(!(d<c)){c=+p[a+64>>3];d=+p[b+64>>3];if(!(c<d))if(!(d<c)){c=+p[a+72>>3];d=+p[b+72>>3];if(c<d)a=-1;else{if(d<c){a=1;break}c=+p[a+80>>3];d=+p[b+80>>3];if(c<d){a=-1;break}if(d<c){a=1;break}c=+p[a+88>>3];d=+p[b+88>>3];if(c<d){a=-1;break}if(d<c){a=1;break}c=+p[a+96>>3];d=+p[b+96>>3];if(c<d){a=-1;break}if(d<c){a=1;break}c=+p[a+104>>3];d=+p[b+104>>3];if(c<d){a=-1;break}if(d<c){a=1;break}c=+p[a+112>>3];d=+p[b+112>>3];if(c<d){a=-1;break}if(d<c){a=1;break}d=+p[a+120>>3];c=+p[b+120>>3];if(d<c){a=-1;break}if(c<d){a=1;break}a=0}}else a=1;else a=-1}else a=1;else a=-1}else a=1;else a=-1}else a=1;else a=-1}else a=1;else a=-1}else a=1;else a=-1}else a=1;else a=-1}else a=1;else a=-1}else a=1;else a=-1;while(0);return a|0}function c3a(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;p[a+96>>3]=b;p[a+104>>3]=c;p[a+112>>3]=d;return}function d3a(a,b){a=a|0;b=b|0;p[a+96>>3]=+n[b>>2];p[a+104>>3]=+n[b+4>>2];p[a+112>>3]=+n[b+8>>2];return}function e3a(a,b){a=a|0;b=b|0;p[a+96>>3]=+p[b>>3];p[a+104>>3]=+p[b+8>>3];p[a+112>>3]=+p[b+16>>3];return}function f3a(a){a=a|0;var b=0;p[a>>3]=1.0;b=a+8|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;f[b+28>>2]=0;p[a+40>>3]=1.0;b=a+48|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;f[b+28>>2]=0;p[a+80>>3]=1.0;b=a+88|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;f[b+28>>2]=0;p[a+120>>3]=1.0;return}function g3a(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;p[a>>3]=b;e=a+8|0;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;p[a+40>>3]=c;e=a+48|0;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;p[a+80>>3]=d;e=a+88|0;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;p[a+120>>3]=1.0;return}function h3a(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;p[a>>3]=1.0;e=a+8|0;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;p[a+40>>3]=1.0;e=a+48|0;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;p[a+80>>3]=1.0;p[a+88>>3]=0.0;p[a+96>>3]=b;p[a+104>>3]=c;p[a+112>>3]=d;p[a+120>>3]=1.0;return}function i3a(a,b,c){a=a|0;b=+b;c=c|0;var d=0.0,e=0.0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0;m=u;u=u+32|0;o=m;p[a>>3]=1.0;i=a+8|0;j=a+40|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;f[i+16>>2]=0;f[i+20>>2]=0;f[i+24>>2]=0;f[i+28>>2]=0;p[j>>3]=1.0;k=a+48|0;l=a+80|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;f[k+24>>2]=0;f[k+28>>2]=0;p[l>>3]=1.0;n=a+88|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;f[n+16>>2]=0;f[n+20>>2]=0;f[n+24>>2]=0;f[n+28>>2]=0;p[a+120>>3]=1.0;n=o+24|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[o+12>>2]=0;f[o+16>>2]=0;f[o+20>>2]=0;p[n>>3]=1.0;v3a(o,b,c);b=+p[o>>3];d=+p[o+8>>3];e=+p[o+16>>3];g=+p[n>>3];h=b*b+d*d+e*e+g*g;if(+J(+h)<=2.2250738585072014e-308){h=0.0;g=0.0;e=0.0;d=0.0;b=0.0;q=0.0;r=0.0;s=0.0;t=0.0;p[a>>3]=t;o=a+32|0;p[o>>3]=s;o=a+64|0;p[o>>3]=r;p[i>>3]=q;p[j>>3]=b;o=a+72|0;p[o>>3]=d;o=a+16|0;p[o>>3]=e;p[k>>3]=g;p[l>>3]=h;u=m;return}t=h!=1.0?2.0/h:2.0;q=b*t;s=d*t;t=e*t;h=b*q;w=b*s;x=b*t;v=d*s;y=d*t;b=e*t;q=g*q;e=g*s;d=g*t;t=1.0-(h+v);s=y+q;r=x-e;q=y-q;h=1.0-(h+b);g=w+d;e=x+e;d=w-d;b=1.0-(v+b);p[a>>3]=b;o=a+32|0;p[o>>3]=d;o=a+64|0;p[o>>3]=e;p[i>>3]=g;p[j>>3]=h;o=a+72|0;p[o>>3]=q;o=a+16|0;p[o>>3]=r;p[k>>3]=s;p[l>>3]=t;u=m;return}function j3a(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0;l=u;u=u+32|0;n=l;p[a>>3]=1.0;h=a+8|0;i=a+40|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;f[h+24>>2]=0;f[h+28>>2]=0;p[i>>3]=1.0;j=a+48|0;k=a+80|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[j+24>>2]=0;f[j+28>>2]=0;p[k>>3]=1.0;m=a+88|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;f[m+20>>2]=0;f[m+24>>2]=0;f[m+28>>2]=0;p[a+120>>3]=1.0;m=n+24|0;f[n>>2]=0;f[n+4>>2]=0;f[n+8>>2]=0;f[n+12>>2]=0;f[n+16>>2]=0;f[n+20>>2]=0;p[m>>3]=1.0;u3a(n,b,c,d,e);b=+p[n>>3];c=+p[n+8>>3];d=+p[n+16>>3];e=+p[m>>3];g=b*b+c*c+d*d+e*e;if(+J(+g)<=2.2250738585072014e-308){g=0.0;e=0.0;d=0.0;c=0.0;b=0.0;o=0.0;q=0.0;r=0.0;s=0.0;p[a>>3]=s;n=a+32|0;p[n>>3]=r;n=a+64|0;p[n>>3]=q;p[h>>3]=o;p[i>>3]=b;n=a+72|0;p[n>>3]=c;n=a+16|0;p[n>>3]=d;p[j>>3]=e;p[k>>3]=g;u=l;return}s=g!=1.0?2.0/g:2.0;o=b*s;r=c*s;s=d*s;g=b*o;v=b*r;w=b*s;t=c*r;x=c*s;b=d*s;o=e*o;d=e*r;c=e*s;s=1.0-(g+t);r=x+o;q=w-d;o=x-o;g=1.0-(g+b);e=v+c;d=w+d;c=v-c;b=1.0-(t+b);p[a>>3]=b;n=a+32|0;p[n>>3]=c;n=a+64|0;p[n>>3]=d;p[h>>3]=e;p[i>>3]=g;n=a+72|0;p[n>>3]=o;n=a+16|0;p[n>>3]=q;p[j>>3]=r;p[k>>3]=s;u=l;return}function k3a(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,g=0.0,h=0,i=0,j=0,k=0,l=0.0,m=0,n=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0;p[a>>3]=1.0;h=a+8|0;i=a+40|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;f[h+24>>2]=0;f[h+28>>2]=0;p[i>>3]=1.0;j=a+48|0;k=a+80|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;f[j+16>>2]=0;f[j+20>>2]=0;f[j+24>>2]=0;f[j+28>>2]=0;p[k>>3]=1.0;m=a+88|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;f[m+16>>2]=0;f[m+20>>2]=0;f[m+24>>2]=0;f[m+28>>2]=0;p[a+120>>3]=1.0;l=+p[b>>3];e=+p[b+8>>3];g=+p[b+16>>3];c=+p[b+24>>3];d=l*l+e*e+g*g+c*c;if(+J(+d)<=2.2250738585072014e-308){l=0.0;g=0.0;e=0.0;d=0.0;c=0.0;n=0.0;o=0.0;q=0.0;r=0.0;p[a>>3]=r;m=a+32|0;p[m>>3]=q;m=a+64|0;p[m>>3]=o;p[h>>3]=n;p[i>>3]=c;m=a+72|0;p[m>>3]=d;m=a+16|0;p[m>>3]=e;p[j>>3]=g;p[k>>3]=l;return}d=d!=1.0?2.0/d:2.0;n=l*d;r=e*d;d=g*d;w=l*n;u=l*r;v=l*d;t=e*r;l=e*d;s=g*d;n=c*n;e=c*r;d=c*d;r=1.0-(w+t);q=l+n;o=v-e;n=l-n;l=1.0-(w+s);g=u+d;e=v+e;d=u-d;c=1.0-(t+s);p[a>>3]=c;m=a+32|0;p[m>>3]=d;m=a+64|0;p[m>>3]=e;p[h>>3]=g;p[i>>3]=l;m=a+72|0;p[m>>3]=n;m=a+16|0;p[m>>3]=o;p[j>>3]=q;p[k>>3]=r;return}function l3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=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,u=0,v=0,w=0;if((b|0)==(a|0)){m3a(b,c);return}if((c|0)==(a|0)){n3a(a,b);return}else{f=b+8|0;v=c+32|0;h=b+16|0;u=c+64|0;j=b+24|0;t=c+96|0;p[a>>3]=+p[b>>3]*+p[c>>3]+ +p[f>>3]*+p[v>>3]+ +p[h>>3]*+p[u>>3]+ +p[j>>3]*+p[t>>3];s=c+8|0;r=c+40|0;q=c+72|0;o=c+104|0;p[a+8>>3]=+p[b>>3]*+p[s>>3]+ +p[f>>3]*+p[r>>3]+ +p[h>>3]*+p[q>>3]+ +p[j>>3]*+p[o>>3];n=c+16|0;m=c+48|0;l=c+80|0;k=c+112|0;p[a+16>>3]=+p[b>>3]*+p[n>>3]+ +p[f>>3]*+p[m>>3]+ +p[h>>3]*+p[l>>3]+ +p[j>>3]*+p[k>>3];i=c+24|0;g=c+56|0;e=c+88|0;d=c+120|0;p[a+24>>3]=+p[b>>3]*+p[i>>3]+ +p[f>>3]*+p[g>>3]+ +p[h>>3]*+p[e>>3]+ +p[j>>3]*+p[d>>3];j=b+32|0;h=b+40|0;f=b+48|0;w=b+56|0;p[a+32>>3]=+p[j>>3]*+p[c>>3]+ +p[h>>3]*+p[v>>3]+ +p[f>>3]*+p[u>>3]+ +p[w>>3]*+p[t>>3];p[a+40>>3]=+p[j>>3]*+p[s>>3]+ +p[h>>3]*+p[r>>3]+ +p[f>>3]*+p[q>>3]+ +p[w>>3]*+p[o>>3];p[a+48>>3]=+p[j>>3]*+p[n>>3]+ +p[h>>3]*+p[m>>3]+ +p[f>>3]*+p[l>>3]+ +p[w>>3]*+p[k>>3];p[a+56>>3]=+p[j>>3]*+p[i>>3]+ +p[h>>3]*+p[g>>3]+ +p[f>>3]*+p[e>>3]+ +p[w>>3]*+p[d>>3];w=b+64|0;f=b+72|0;h=b+80|0;j=b+88|0;p[a+64>>3]=+p[w>>3]*+p[c>>3]+ +p[f>>3]*+p[v>>3]+ +p[h>>3]*+p[u>>3]+ +p[j>>3]*+p[t>>3];p[a+72>>3]=+p[w>>3]*+p[s>>3]+ +p[f>>3]*+p[r>>3]+ +p[h>>3]*+p[q>>3]+ +p[j>>3]*+p[o>>3];p[a+80>>3]=+p[w>>3]*+p[n>>3]+ +p[f>>3]*+p[m>>3]+ +p[h>>3]*+p[l>>3]+ +p[j>>3]*+p[k>>3];p[a+88>>3]=+p[w>>3]*+p[i>>3]+ +p[f>>3]*+p[g>>3]+ +p[h>>3]*+p[e>>3]+ +p[j>>3]*+p[d>>3];j=b+96|0;h=b+104|0;f=b+112|0;b=b+120|0;p[a+96>>3]=+p[j>>3]*+p[c>>3]+ +p[h>>3]*+p[v>>3]+ +p[f>>3]*+p[u>>3]+ +p[b>>3]*+p[t>>3];p[a+104>>3]=+p[j>>3]*+p[s>>3]+ +p[h>>3]*+p[r>>3]+ +p[f>>3]*+p[q>>3]+ +p[b>>3]*+p[o>>3];p[a+112>>3]=+p[j>>3]*+p[n>>3]+ +p[h>>3]*+p[m>>3]+ +p[f>>3]*+p[l>>3]+ +p[b>>3]*+p[k>>3];p[a+120>>3]=+p[j>>3]*+p[i>>3]+ +p[h>>3]*+p[g>>3]+ +p[f>>3]*+p[e>>3]+ +p[b>>3]*+p[d>>3];return}}function m3a(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,f=0,g=0.0,h=0,i=0,j=0.0,k=0,l=0.0,m=0,n=0.0,o=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;m=b+32|0;k=b+64|0;i=b+96|0;B=b+8|0;A=b+40|0;z=b+72|0;y=b+104|0;x=b+16|0;w=b+48|0;v=b+80|0;u=b+112|0;t=b+24|0;s=b+56|0;r=b+88|0;q=b+120|0;c=+p[a>>3];d=a+8|0;e=+p[d>>3];f=a+16|0;g=+p[f>>3];h=a+24|0;j=+p[h>>3];l=c*+p[B>>3]+e*+p[A>>3]+g*+p[z>>3]+j*+p[y>>3];n=c*+p[x>>3]+e*+p[w>>3]+g*+p[v>>3]+j*+p[u>>3];o=c*+p[t>>3]+e*+p[s>>3]+g*+p[r>>3]+j*+p[q>>3];p[a>>3]=c*+p[b>>3]+e*+p[m>>3]+g*+p[k>>3]+j*+p[i>>3];p[d>>3]=l;p[f>>3]=n;p[h>>3]=o;h=a+32|0;o=+p[h>>3];f=a+40|0;n=+p[f>>3];d=a+48|0;l=+p[d>>3];C=a+56|0;j=+p[C>>3];g=o*+p[B>>3]+n*+p[A>>3]+l*+p[z>>3]+j*+p[y>>3];e=o*+p[x>>3]+n*+p[w>>3]+l*+p[v>>3]+j*+p[u>>3];c=o*+p[t>>3]+n*+p[s>>3]+l*+p[r>>3]+j*+p[q>>3];p[h>>3]=o*+p[b>>3]+n*+p[m>>3]+l*+p[k>>3]+j*+p[i>>3];p[f>>3]=g;p[d>>3]=e;p[C>>3]=c;C=a+64|0;c=+p[C>>3];d=a+72|0;e=+p[d>>3];f=a+80|0;g=+p[f>>3];h=a+88|0;j=+p[h>>3];l=c*+p[B>>3]+e*+p[A>>3]+g*+p[z>>3]+j*+p[y>>3];n=c*+p[x>>3]+e*+p[w>>3]+g*+p[v>>3]+j*+p[u>>3];o=c*+p[t>>3]+e*+p[s>>3]+g*+p[r>>3]+j*+p[q>>3];p[C>>3]=c*+p[b>>3]+e*+p[m>>3]+g*+p[k>>3]+j*+p[i>>3];p[d>>3]=l;p[f>>3]=n;p[h>>3]=o;h=a+96|0;o=+p[h>>3];f=a+104|0;n=+p[f>>3];d=a+112|0;l=+p[d>>3];a=a+120|0;j=+p[a>>3];g=o*+p[B>>3]+n*+p[A>>3]+l*+p[z>>3]+j*+p[y>>3];e=o*+p[x>>3]+n*+p[w>>3]+l*+p[v>>3]+j*+p[u>>3];c=o*+p[t>>3]+n*+p[s>>3]+l*+p[r>>3]+j*+p[q>>3];p[h>>3]=o*+p[b>>3]+n*+p[m>>3]+l*+p[k>>3]+j*+p[i>>3];p[f>>3]=g;p[d>>3]=e;p[a>>3]=c;return}function n3a(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,f=0,g=0.0,h=0,i=0.0,j=0,k=0.0,l=0,m=0.0,n=0,o=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;n=b+8|0;l=b+16|0;j=b+24|0;B=b+32|0;A=b+40|0;z=b+48|0;y=b+56|0;x=b+64|0;w=b+72|0;v=b+80|0;u=b+88|0;t=b+96|0;s=b+104|0;r=b+112|0;q=b+120|0;c=+p[a>>3];d=a+32|0;e=+p[d>>3];f=a+64|0;g=+p[f>>3];h=a+96|0;i=+p[h>>3];k=c*+p[B>>3]+e*+p[A>>3]+g*+p[z>>3]+i*+p[y>>3];m=c*+p[x>>3]+e*+p[w>>3]+g*+p[v>>3]+i*+p[u>>3];o=c*+p[t>>3]+e*+p[s>>3]+g*+p[r>>3]+i*+p[q>>3];p[a>>3]=+p[b>>3]*c+ +p[n>>3]*e+ +p[l>>3]*g+ +p[j>>3]*i;p[d>>3]=k;p[f>>3]=m;p[h>>3]=o;h=a+8|0;o=+p[h>>3];f=a+40|0;m=+p[f>>3];d=a+72|0;k=+p[d>>3];C=a+104|0;i=+p[C>>3];g=o*+p[B>>3]+m*+p[A>>3]+k*+p[z>>3]+i*+p[y>>3];e=o*+p[x>>3]+m*+p[w>>3]+k*+p[v>>3]+i*+p[u>>3];c=o*+p[t>>3]+m*+p[s>>3]+k*+p[r>>3]+i*+p[q>>3];p[h>>3]=+p[b>>3]*o+ +p[n>>3]*m+ +p[l>>3]*k+ +p[j>>3]*i;p[f>>3]=g;p[d>>3]=e;p[C>>3]=c;C=a+16|0;c=+p[C>>3];d=a+48|0;e=+p[d>>3];f=a+80|0;g=+p[f>>3];h=a+112|0;i=+p[h>>3];k=c*+p[B>>3]+e*+p[A>>3]+g*+p[z>>3]+i*+p[y>>3];m=c*+p[x>>3]+e*+p[w>>3]+g*+p[v>>3]+i*+p[u>>3];o=c*+p[t>>3]+e*+p[s>>3]+g*+p[r>>3]+i*+p[q>>3];p[C>>3]=+p[b>>3]*c+ +p[n>>3]*e+ +p[l>>3]*g+ +p[j>>3]*i;p[d>>3]=k;p[f>>3]=m;p[h>>3]=o;h=a+24|0;o=+p[h>>3];f=a+56|0;m=+p[f>>3];d=a+88|0;k=+p[d>>3];a=a+120|0;i=+p[a>>3];g=o*+p[B>>3]+m*+p[A>>3]+k*+p[z>>3]+i*+p[y>>3];e=o*+p[x>>3]+m*+p[w>>3]+k*+p[v>>3]+i*+p[u>>3];c=o*+p[t>>3]+m*+p[s>>3]+k*+p[r>>3]+i*+p[q>>3];p[h>>3]=+p[b>>3]*o+ +p[n>>3]*m+ +p[l>>3]*k+ +p[j>>3]*i;p[f>>3]=g;p[d>>3]=e;p[a>>3]=c;return}function o3a(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,g=0.0,h=0,i=0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,q=0.0,r=0,s=0.0,t=0.0,v=0.0;r=u;u=u+128|0;k=r;if((b|0)==(a|0)){p[k>>3]=+p[b>>3];p[k+8>>3]=+p[b+8>>3];p[k+16>>3]=+p[b+16>>3];p[k+24>>3]=+p[b+24>>3];p[k+32>>3]=+p[b+32>>3];p[k+40>>3]=+p[b+40>>3];p[k+48>>3]=+p[b+48>>3];p[k+56>>3]=+p[b+56>>3];p[k+64>>3]=+p[b+64>>3];p[k+72>>3]=+p[b+72>>3];p[k+80>>3]=+p[b+80>>3];p[k+88>>3]=+p[b+88>>3];p[k+96>>3]=+p[b+96>>3];p[k+104>>3]=+p[b+104>>3];p[k+112>>3]=+p[b+112>>3];p[k+120>>3]=+p[b+120>>3];o3a(b,k)|0;u=r;return 1}s=+p[b>>3];j=+p[b+8>>3];d=+p[b+16>>3];g=+p[b+32>>3];t=+p[b+40>>3];c=+p[b+48>>3];v=+p[b+64>>3];e=+p[b+72>>3];q=+p[b+80>>3];l=t*q-c*e;m=d*e-j*q;o=j*c-d*t;n=1.0/(v*o+(s*l+g*m));s=s*n;g=g*n;v=v*n;l=l*n;p[a>>3]=l;m=m*n;p[a+8>>3]=m;n=o*n;p[a+16>>3]=n;p[a+24>>3]=0.0;o=c*v-q*g;p[a+32>>3]=o;q=q*s-d*v;p[a+40>>3]=q;c=d*g-c*s;p[a+48>>3]=c;p[a+56>>3]=0.0;d=e*g-t*v;p[a+64>>3]=d;e=j*v-e*s;p[a+72>>3]=e;g=t*s-j*g;p[a+80>>3]=g;p[a+88>>3]=0.0;h=a+96|0;p[a+120>>3]=1.0;i=b+96|0;j=+p[b+120>>3];s=j+-1.0;if(s*s>1.0e-06){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[h+12>>2]=0;f[h+16>>2]=0;f[h+20>>2]=0;v=+p[b+24>>3];t=+p[b+56>>3];s=+p[b+88>>3];m=l*v+m*t+n*s;n=o*v+q*t+c*s;o=d*v+e*t+g*s;q=+p[i>>3];s=+p[b+104>>3];t=+p[b+112>>3];v=1.0/(j-(q*m+s*n+o*t));q=q*v;s=s*v;t=t*v;p[k>>3]=m*q+1.0;p[k+8>>3]=m*s;p[k+16>>3]=m*t;p[k+24>>3]=-(m*v);p[k+32>>3]=n*q;p[k+40>>3]=n*s+1.0;p[k+48>>3]=n*t;p[k+56>>3]=-(n*v);p[k+64>>3]=o*q;p[k+72>>3]=o*s;p[k+80>>3]=o*t+1.0;p[k+88>>3]=-(o*v);p[k+96>>3]=-q;p[k+104>>3]=-s;p[k+112>>3]=-t;p[k+120>>3]=v;n3a(a,k);u=r;return 1}else{s=+p[i>>3];t=+p[b+104>>3];v=+p[b+112>>3];p[h>>3]=-(l*s+o*t+d*v);p[a+104>>3]=-(m*s+q*t+e*v);p[a+112>>3]=-(n*s+c*t+g*v);u=r;return 1}return 0}function p3a(a,b){a=a|0;b=b|0;var c=0,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,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;aa=u;u=u+160|0;$=aa+32|0;_=aa+16|0;W=aa;if((b|0)==(a|0)){p[$>>3]=+p[b>>3];p[$+8>>3]=+p[b+8>>3];p[$+16>>3]=+p[b+16>>3];p[$+24>>3]=+p[b+24>>3];p[$+32>>3]=+p[b+32>>3];p[$+40>>3]=+p[b+40>>3];p[$+48>>3]=+p[b+48>>3];p[$+56>>3]=+p[b+56>>3];p[$+64>>3]=+p[b+64>>3];p[$+72>>3]=+p[b+72>>3];p[$+80>>3]=+p[b+80>>3];p[$+88>>3]=+p[b+88>>3];p[$+96>>3]=+p[b+96>>3];p[$+104>>3]=+p[b+104>>3];p[$+112>>3]=+p[b+112>>3];p[$+120>>3]=+p[b+120>>3];a=p3a(b,$)|0;u=aa;return a|0}p[a>>3]=+p[b>>3];X=a+8|0;p[X>>3]=+p[b+8>>3];Y=a+16|0;p[Y>>3]=+p[b+16>>3];Z=a+24|0;p[Z>>3]=+p[b+24>>3];p[a+32>>3]=+p[b+32>>3];p[a+40>>3]=+p[b+40>>3];p[a+48>>3]=+p[b+48>>3];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];p[a+88>>3]=+p[b+88>>3];p[a+96>>3]=+p[b+96>>3];p[a+104>>3]=+p[b+104>>3];p[a+112>>3]=+p[b+112>>3];p[a+120>>3]=+p[b+120>>3];f[W>>2]=0;f[W+4>>2]=0;f[W+8>>2]=0;f[W+12>>2]=0;l=W+4|0;m=W+8|0;n=W+12|0;U=a+32|0;o=W+4|0;q=a+96|0;r=a+64|0;s=a+40|0;t=W+8|0;v=a+32|0;w=a+40|0;x=a+48|0;y=a+56|0;z=a+96|0;A=a+104|0;B=a+112|0;C=a+120|0;D=a+64|0;E=a+72|0;F=a+80|0;G=a+88|0;H=a+104|0;I=a+72|0;J=W+8|0;K=W+12|0;L=a+112|0;M=a+80|0;N=a+48|0;O=W+12|0;P=a+120|0;Q=W+12|0;R=a+56|0;S=W+12|0;T=a+88|0;b=0;d=0;c=0;k=0;a:while(1){b:do switch(k|0){case 1:{e=0.0;i=f[l>>2]|0;break}case 0:{e=+p[a>>3];e=e>=0.0?e:-e;g=!(e>=0.0);c=g?c:0;d=g?d:0;e=g?0.0:e;g=f[o>>2]|0;switch(g|0){case 0:{j=+p[X>>3];j=j>=0.0?j:-j;if(j>=e){e=j;d=0;c=1}break}case 1:break;default:{b=0;break a}}switch(f[t>>2]|0){case 0:{j=+p[Y>>3];j=j>=0.0?j:-j;if(j>=e){e=j;d=0;c=2}break}case 1:break;default:{b=0;break a}}switch(f[K>>2]|0){case 1:{i=g;break b}case 0:break;default:{b=0;break a}}j=+p[Z>>3];j=j>=0.0?j:-j;if(!(j>=e))i=g;else{e=j;d=0;c=3;i=g}break}default:{b=0;break a}}while(0);c:do if((i|0)!=1){switch(k|0){case 0:{j=+p[U>>3];j=j>=0.0?j:-j;if(j>=e){e=j;d=1;c=0}break}case 1:break;default:{b=0;break a}}if(i|0){b=0;break a}j=+p[s>>3];j=j>=0.0?j:-j;g=!(j>=e);c=g?c:1;d=g?d:1;e=g?e:j;g=f[J>>2]|0;switch(g|0){case 0:{j=+p[N>>3];j=j>=0.0?j:-j;if(j>=e){e=j;d=1;c=2}break}case 1:break;default:{b=0;break a}}switch(f[O>>2]|0){case 1:{h=g;break c}case 0:break;default:{b=0;break a}}j=+p[R>>3];j=j>=0.0?j:-j;if(!(j>=e))h=g;else{e=j;d=1;c=3;h=g}}else h=f[m>>2]|0;while(0);d:do if((h|0)==1){g=f[n>>2]|0;if((g|0)==1)V=65;else V=53}else{switch(k|0){case 0:{j=+p[r>>3];j=j>=0.0?j:-j;if(j>=e){e=j;d=2;c=0}break}case 1:break;default:{b=0;break a}}switch(i|0){case 0:{j=+p[I>>3];j=j>=0.0?j:-j;if(j>=e){e=j;d=2;c=1}break}case 1:break;default:{b=0;break a}}if(h|0){b=0;break a}j=+p[M>>3];j=j>=0.0?j:-j;g=!(j>=e);c=g?c:2;d=g?d:2;e=g?e:j;switch(f[Q>>2]|0){case 1:{V=65;break d}case 0:break;default:{b=0;break a}}j=+p[T>>3];j=j>=0.0?j:-j;if(!(j>=e)){g=0;V=53}else{e=j;d=2;c=3;g=0;V=53}}while(0);if((V|0)==53){V=0;switch(k|0){case 0:{j=+p[q>>3];j=j>=0.0?j:-j;if(j>=e){e=j;d=3;c=0}break}case 1:break;default:{b=0;break a}}switch(i|0){case 0:{j=+p[H>>3];j=j>=0.0?j:-j;if(!(j>=e))j=e;else{d=3;c=1}break}case 1:{j=e;break}default:{b=0;break a}}switch(h|0){case 0:{e=+p[L>>3];e=e>=0.0?e:-e;if(!(e>=j))e=j;else{d=3;c=2}break}case 1:{e=j;break}default:{b=0;break a}}if(g|0){b=0;break}j=+p[P>>3];if(!((j>=0.0?j:-j)>=e))V=65;else{f[S>>2]=(f[S>>2]|0)+1;k=3;c=3}}if((V|0)==65){V=0;k=W+(c<<2)|0;f[k>>2]=(f[k>>2]|0)+1;if((d|0)==(c|0))k=d;else{k=a+(d<<5)|0;j=+p[k>>3];i=a+(c<<5)|0;p[k>>3]=+p[i>>3];p[i>>3]=j;i=a+(d<<5)+8|0;j=+p[i>>3];k=a+(c<<5)+8|0;p[i>>3]=+p[k>>3];p[k>>3]=j;k=a+(d<<5)+16|0;j=+p[k>>3];i=a+(c<<5)+16|0;p[k>>3]=+p[i>>3];p[i>>3]=j;i=a+(d<<5)+24|0;j=+p[i>>3];k=a+(c<<5)+24|0;p[i>>3]=+p[k>>3];p[k>>3]=j;k=d}}f[_+(b<<2)>>2]=k;f[$+(b<<2)>>2]=c;d=a+(c<<5)+(c<<3)|0;e=+p[d>>3];if(e==0.0){b=0;break}j=1.0/e;p[d>>3]=1.0;d=a+(c<<5)|0;p[d>>3]=j*+p[d>>3];g=a+(c<<5)+8|0;p[g>>3]=j*+p[g>>3];h=a+(c<<5)+16|0;p[h>>3]=j*+p[h>>3];i=a+(c<<5)+24|0;p[i>>3]=j*+p[i>>3];if((c|0)!=0?(V=a+(c<<3)|0,j=+p[V>>3],p[V>>3]=0.0,p[a>>3]=+p[a>>3]-j*+p[d>>3],p[X>>3]=+p[X>>3]-j*+p[g>>3],p[Y>>3]=+p[Y>>3]-j*+p[h>>3],p[Z>>3]=+p[Z>>3]-j*+p[i>>3],(c|0)==1):0)V=67;else{V=a+32+(c<<3)|0;j=+p[V>>3];p[V>>3]=0.0;p[v>>3]=+p[v>>3]-j*+p[d>>3];p[w>>3]=+p[w>>3]-j*+p[g>>3];p[x>>3]=+p[x>>3]-j*+p[h>>3];p[y>>3]=+p[y>>3]-j*+p[i>>3];if((c|0)==2)V=68;else V=67}if((V|0)==67?(V=0,ba=a+64+(c<<3)|0,j=+p[ba>>3],p[ba>>3]=0.0,p[D>>3]=+p[D>>3]-j*+p[d>>3],p[E>>3]=+p[E>>3]-j*+p[g>>3],p[F>>3]=+p[F>>3]-j*+p[h>>3],p[G>>3]=+p[G>>3]-j*+p[i>>3],(c|0)!=3):0)V=68;if((V|0)==68){V=0;ba=a+96+(c<<3)|0;j=+p[ba>>3];p[ba>>3]=0.0;p[z>>3]=+p[z>>3]-j*+p[d>>3];p[A>>3]=+p[A>>3]-j*+p[g>>3];p[B>>3]=+p[B>>3]-j*+p[h>>3];p[C>>3]=+p[C>>3]-j*+p[i>>3]}b=b+1|0;if(b>>>0>=4){V=13;break}d=k;k=f[W>>2]|0}if((V|0)==13){b=f[_+12>>2]|0;c=f[$+12>>2]|0;if((b|0)!=(c|0)){ba=a+(b<<3)|0;j=+p[ba>>3];Z=a+(c<<3)|0;p[ba>>3]=+p[Z>>3];p[Z>>3]=j;Z=a+32+(b<<3)|0;j=+p[Z>>3];ba=a+32+(c<<3)|0;p[Z>>3]=+p[ba>>3];p[ba>>3]=j;ba=a+64+(b<<3)|0;j=+p[ba>>3];Z=a+64+(c<<3)|0;p[ba>>3]=+p[Z>>3];p[Z>>3]=j;Z=a+96+(b<<3)|0;j=+p[Z>>3];ba=a+96+(c<<3)|0;p[Z>>3]=+p[ba>>3];p[ba>>3]=j}b=f[_+8>>2]|0;c=f[$+8>>2]|0;if((b|0)!=(c|0)){ba=a+(b<<3)|0;j=+p[ba>>3];Z=a+(c<<3)|0;p[ba>>3]=+p[Z>>3];p[Z>>3]=j;Z=a+32+(b<<3)|0;j=+p[Z>>3];ba=a+32+(c<<3)|0;p[Z>>3]=+p[ba>>3];p[ba>>3]=j;ba=a+64+(b<<3)|0;j=+p[ba>>3];Z=a+64+(c<<3)|0;p[ba>>3]=+p[Z>>3];p[Z>>3]=j;Z=a+96+(b<<3)|0;j=+p[Z>>3];ba=a+96+(c<<3)|0;p[Z>>3]=+p[ba>>3];p[ba>>3]=j}b=f[_+4>>2]|0;c=f[$+4>>2]|0;if((b|0)!=(c|0)){ba=a+(b<<3)|0;j=+p[ba>>3];Z=a+(c<<3)|0;p[ba>>3]=+p[Z>>3];p[Z>>3]=j;Z=a+32+(b<<3)|0;j=+p[Z>>3];ba=a+32+(c<<3)|0;p[Z>>3]=+p[ba>>3];p[ba>>3]=j;ba=a+64+(b<<3)|0;j=+p[ba>>3];Z=a+64+(c<<3)|0;p[ba>>3]=+p[Z>>3];p[Z>>3]=j;Z=a+96+(b<<3)|0;j=+p[Z>>3];ba=a+96+(c<<3)|0;p[Z>>3]=+p[ba>>3];p[ba>>3]=j}c=f[_>>2]|0;b=f[$>>2]|0;if((c|0)==(b|0))b=1;else{$=a+(c<<3)|0;j=+p[$>>3];ba=a+(b<<3)|0;p[$>>3]=+p[ba>>3];p[ba>>3]=j;ba=a+32+(c<<3)|0;j=+p[ba>>3];$=a+32+(b<<3)|0;p[ba>>3]=+p[$>>3];p[$>>3]=j;$=a+64+(c<<3)|0;j=+p[$>>3];ba=a+64+(b<<3)|0;p[$>>3]=+p[ba>>3];p[ba>>3]=j;ba=a+96+(c<<3)|0;j=+p[ba>>3];b=a+96+(b<<3)|0;p[ba>>3]=+p[b>>3];p[b>>3]=j;b=1}}ba=b;u=aa;return ba|0}function q3a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if(+p[a+24>>3]!=0.0){g=0;return g|0}if(+p[a+56>>3]!=0.0){g=0;return g|0}if(+p[a+88>>3]!=0.0){g=0;return g|0}if(+p[a+120>>3]!=1.0){g=0;return g|0}i=a+112|0;h=a+80|0;p[f>>3]=(+p[i>>3]+1.0)/+p[h>>3];p[g>>3]=(+p[i>>3]+-1.0)/+p[h>>3];f=a+96|0;p[b>>3]=-(+p[f>>3]+1.0)/+p[a>>3];p[c>>3]=(1.0-+p[f>>3])/+p[a>>3];f=a+104|0;g=a+40|0;p[d>>3]=-(+p[f>>3]+1.0)/+p[g>>3];p[e>>3]=(1.0-+p[f>>3])/+p[g>>3];g=1;return g|0}function r3a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0.0,i=0.0,j=0.0,k=0;if(+p[a+24>>3]!=0.0){g=0;return g|0}if(+p[a+56>>3]!=0.0){g=0;return g|0}if(+p[a+88>>3]!=-1.0){g=0;return g|0}if(+p[a+120>>3]!=0.0){g=0;return g|0}i=+p[a+112>>3];h=+p[a+80>>3];j=i/(h+-1.0);k=a+64|0;p[b>>3]=j*(+p[k>>3]+-1.0)/+p[a>>3];p[c>>3]=j*(+p[k>>3]+1.0)/+p[a>>3];b=a+72|0;c=a+40|0;p[e>>3]=j*(+p[b>>3]+1.0)/+p[c>>3];p[d>>3]=j*(+p[b>>3]+-1.0)/+p[c>>3];p[f>>3]=j;p[g>>3]=i/(h+1.0);g=1;return g|0}function s3a(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var g=0.0,h=0.0,i=0.0,j=0.0,k=0;g=+O(+(b*.5*3.141592653589793/180.0));c=g*c*d;g=g*d;h=c+c;i=g+g;if(+J(+e)>1797693134862315708145274.0e284){j=-1.0;b=d*-2.0}else{b=e-d;j=-(d+e)/b;b=e*-2.0*d/b}d=d*2.0;p[a>>3]=d/h;k=a+8|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;f[k+16>>2]=0;f[k+20>>2]=0;f[k+24>>2]=0;f[k+28>>2]=0;p[a+40>>3]=d/i;k=a+48|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;p[a+64>>3]=(c-c)/h;p[a+72>>3]=(g-g)/i;p[a+80>>3]=j;p[a+88>>3]=-1.0;k=a+96|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;p[a+112>>3]=b;p[a+120>>3]=0.0;return}function t3a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;if(((!(+p[a+24>>3]!=0.0)?!(+p[a+56>>3]!=0.0):0)?!(+p[a+88>>3]!=-1.0):0)?!(+p[a+120>>3]!=0.0):0){h=+p[a+112>>3];g=+p[a+80>>3];f=h/(g+-1.0);l=+p[a+64>>3];k=+p[a>>3];m=+p[a+72>>3];i=+p[a+40>>3];j=f*(m+1.0)/i;i=f*(m+-1.0)/i;m=(+R(+(j/f))-+R(+(i/f)))*180.0/3.141592653589793;p[b>>3]=m;p[c>>3]=(f*(l+1.0)/k-f*(l+-1.0)/k)/(j-i);a=1;g=h/(g+1.0)}else{a=0;f=0.0;g=0.0}p[d>>3]=f;p[e>>3]=g;return a|0}function u3a(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0.0,g=0.0,h=0.0;f=+K(+(c*c+d*d+e*e));if(f<1.0e-07){g=1.0;e=0.0;f=0.0;b=0.0}else{h=1.0/f;g=b*.5;b=+N(+g);g=+M(+g);e=b*e*h;f=b*d*h;b=b*c*h}p[a>>3]=b;p[a+8>>3]=f;p[a+16>>3]=e;p[a+24>>3]=g;return}function v3a(a,b,c){a=a|0;b=+b;c=c|0;var d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0;h=+n[c>>2];g=+n[c+4>>2];e=+n[c+8>>2];d=+K(+(h*h+g*g+e*e));if(d<1.0e-07){f=1.0;e=0.0;b=0.0;d=0.0}else{d=1.0/d;f=b*.5;i=+N(+f);f=+M(+f);e=i*e*d;b=i*g*d;d=i*h*d}p[a>>3]=d;p[a+8>>3]=b;p[a+16>>3]=e;p[a+24>>3]=f;return}function w3a(a,b,c){a=a|0;b=+b;c=c|0;var d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0;h=+p[c>>3];g=+p[c+8>>3];e=+p[c+16>>3];d=+K(+(h*h+g*g+e*e));if(d<1.0e-07){f=1.0;e=0.0;b=0.0;d=0.0}else{d=1.0/d;f=b*.5;i=+N(+f);f=+M(+f);e=i*e*d;b=i*g*d;d=i*h*d}p[a>>3]=d;p[a+8>>3]=b;p[a+16>>3]=e;p[a+24>>3]=f;return}function x3a(a,b,c,d,e,f,g){a=a|0;b=+b;c=c|0;d=+d;e=e|0;f=+f;g=g|0;var h=0,i=0,j=0,k=0;h=u;u=u+80|0;k=h+48|0;j=h+24|0;i=h;p[k>>3]=+n[c>>2];p[k+8>>3]=+n[c+4>>2];p[k+16>>3]=+n[c+8>>2];p[j>>3]=+n[e>>2];p[j+8>>3]=+n[e+4>>2];p[j+16>>3]=+n[e+8>>2];p[i>>3]=+n[g>>2];p[i+8>>3]=+n[g+4>>2];p[i+16>>3]=+n[g+8>>2];y3a(a,b,k,d,j,f,i);u=h;return}function y3a(a,b,c,d,e,f,g){a=a|0;b=+b;c=c|0;d=+d;e=e|0;f=+f;g=g|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0;k=+p[c>>3];j=+p[c+8>>3];i=+p[c+16>>3];h=+K(+(k*k+j*j+i*i));if(h<1.0e-07){t=1.0;s=0.0;r=0.0;q=0.0}else{q=1.0/h;t=b*.5;o=+N(+t);t=+M(+t);s=o*i*q;r=o*j*q;q=o*k*q}j=+p[e>>3];i=+p[e+8>>3];b=+p[e+16>>3];h=+K(+(j*j+i*i+b*b));if(h<1.0e-07){o=1.0;n=0.0;m=0.0;l=0.0}else{l=1.0/h;o=d*.5;d=+N(+o);o=+M(+o);n=d*b*l;m=d*i*l;l=d*j*l}d=+p[g>>3];k=+p[g+8>>3];b=+p[g+16>>3];h=+K(+(d*d+k*k+b*b));if(h<1.0e-07){j=1.0;i=0.0;b=0.0;h=0.0}else{h=1.0/h;j=f*.5;f=+N(+j);j=+M(+j);i=f*b*h;b=f*k*h;h=f*d*h}k=s*m+(t*l+q*o)-r*n;d=q*n+(t*m+(r*o-s*l));f=t*n+(r*l+s*o-q*m);t=t*o-q*l-r*m-s*n;p[a>>3]=f*b+(t*h+k*j)-d*i;p[a+8>>3]=k*i+(t*b+(d*j-f*h));p[a+16>>3]=t*i+(d*h+f*j-k*b);p[a+24>>3]=t*j-k*h-d*b-f*i;return}function z3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;e=+p[b>>3];i=+p[b+8>>3];j=+p[b+16>>3];h=+p[c>>3];d=+p[c+8>>3];g=+p[c+16>>3];l=e*e+i*i+j*j;if(l<.9999999|l>1.0000001){n=+K(+l);k=n;m=e/n;i=i/n;j=j/n}else{k=1.0;m=e}e=h*h+d*d+g*g;if(e<.9999999|e>1.0000001){n=+K(+e);n=e>l+-1.0e-07&e<l+1.0e-07?k:n;h=h/n;g=g/n;d=d/n}e=m*h+i*d+j*g+1.0;if(!(e<1.0e-07)){n=+K(+(e*.5));e=n*2.0;l=h/e;k=d/e;h=g/e;p[a>>3]=i*h-j*k;p[a+8>>3]=j*l-m*h;p[a+16>>3]=m*k-i*l;p[a+24>>3]=n;return}if(+J(+m)<.6){n=+K(+(1.0-m*m));p[a>>3]=0.0;p[a+8>>3]=j/n;p[a+16>>3]=-i/n;p[a+24>>3]=0.0;return}if(+J(+i)<.6){n=+K(+(1.0-i*i));p[a>>3]=-j/n;p[a+8>>3]=0.0;p[a+16>>3]=m/n;p[a+24>>3]=0.0;return}else{n=+K(+(1.0-j*j));p[a>>3]=i/n;p[a+8>>3]=-m/n;a=a+16|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0;return}}function A3a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;e=u;u=u+16|0;b=e;f[a>>2]=356232;c=a+4|0;d=f[c>>2]|0;if(f[d+12>>2]|0){g=Nu(jsb(Nu(503704,456835,14)|0,a)|0,456850,28)|0;Drb(b,g+(f[(f[g>>2]|0)+-12>>2]|0)|0);h=utb(b,504576)|0;h=cj[f[(f[h>>2]|0)+28>>2]&1023](h,10)|0;vtb(b);ksb(g,h)|0;Krb(g)|0;_i[f[(f[a>>2]|0)+8>>2]&2047](a)|0;f[b>>2]=0;Bi(f[(f[c>>2]|0)+52>>2]|0,b|0)|0}if(!d){f[c>>2]=0;u=e;return}tj[f[(f[d>>2]|0)+4>>2]&2047](d);f[c>>2]=0;u=e;return}function B3a(a){a=a|0;mi()}function C3a(a){a=a|0;return 0}function D3a(a){a=a|0;f[a>>2]=356260;a=f[a+4>>2]|0;Di(a+52|0)|0;ui(a+4|0)|0;if(!a)return;tj[f[(f[a>>2]|0)+4>>2]&2047](a);return}function E3a(a){a=a|0;var b=0;f[a>>2]=356260;b=f[a+4>>2]|0;Di(b+52|0)|0;ui(b+4|0)|0;if(!b){GBb(a);return}tj[f[(f[b>>2]|0)+4>>2]&2047](b);GBb(a);return}function F3a(a){a=a|0;a=f[a+4>>2]|0;f[a+84>>2]=0;f[a+88>>2]=0;return}function G3a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;e=f[a+4>>2]|0;if(c|0)f[e+80>>2]=c;g=e+52|0;VDb(g|0)|0;if(!(b[a+8>>0]|0)){WDb(g|0)|0;return}a=e+88|0;d=f[a>>2]|0;c=e+84|0;f[c>>2]=(f[c>>2]|0)+1;if((f[c>>2]|0)==(f[e+80>>2]|0)){f[c>>2]=0;f[a>>2]=1-d;$Db(e+4|0)|0;WDb(g|0)|0;return}if((f[a>>2]|0)!=(d|0)){WDb(g|0)|0;return}c=e+4|0;do{ti(1482,g|0);yi(c|0,g|0)|0;si(0)}while((f[a>>2]|0)==(d|0));WDb(g|0)|0;return}function H3a(a){a=a|0;var b=0,c=0,d=0;b=f[a+4>>2]|0;a=b+52|0;VDb(a|0)|0;c=b+88|0;d=f[c>>2]|0;f[b+84>>2]=0;f[c>>2]=1-d;$Db(b+4|0)|0;WDb(a|0)|0;return}function I3a(a){a=a|0;var b=0;a=f[a+4>>2]|0;b=a+52|0;VDb(b|0)|0;a=f[a+84>>2]|0;WDb(b|0)|0;return a|0}function J3a(a){a=a|0;WDb(a|0)|0;return}function K3a(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;c=d;f[a>>2]=356292;a=f[a+4>>2]|0;b=ui(a+4|0)|0;if(b|0){f[c>>2]=b;Qpb(456926,c)|0}if(!a){u=d;return}tj[f[(f[a>>2]|0)+4>>2]&2047](a);u=d;return}function L3a(a){a=a|0;var b=0,c=0,d=0,e=0;e=u;u=u+16|0;d=e;f[a>>2]=356292;b=f[a+4>>2]|0;c=ui(b+4|0)|0;if(c|0){f[d>>2]=c;Qpb(456926,d)|0}if(!b){GBb(a);u=e;return}tj[f[(f[b>>2]|0)+4>>2]&2047](b);GBb(a);u=e;return}function M3a(a,b){a=a|0;b=b|0;a=f[a+4>>2]|0;b=(f[b+4>>2]|0)+4|0;ti(1483,b|0);b=yi(a+4|0,b|0)|0;si(0);return b|0}function N3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;d=u;u=u+16|0;i=d+8|0;e=d;a=f[a+4>>2]|0;b=f[b+4>>2]|0;h=(c>>>0)/1e3|0;th(i|0,0)|0;c=((f[i+4>>2]|0)*1e3|0)+((c-(h*1e3|0)|0)*1e6|0)|0;g=(c>>>0)/1e9|0;c=c-(W(g,1e9)|0)|0;f[e>>2]=(f[i>>2]|0)+h+g;f[e+4>>2]=c;c=b+4|0;ti(1483,c|0);c=xi(a+4|0,c|0,e|0)|0;si(0);u=d;return c|0}function O3a(a){a=a|0;return wi((f[a+4>>2]|0)+4|0)|0}function P3a(a){a=a|0;return $Db((f[a+4>>2]|0)+4|0)|0}function Q3a(a){a=a|0;WDb(a|0)|0;return}function R3a(a){a=a|0;f[a>>2]=356324;a=f[a+4>>2]|0;Di(a+4|0)|0;if(!a)return;tj[f[(f[a>>2]|0)+4>>2]&2047](a);return}function S3a(a){a=a|0;var b=0;f[a>>2]=356324;b=f[a+4>>2]|0;Di(b+4|0)|0;if(!b){GBb(a);return}tj[f[(f[b>>2]|0)+4>>2]&2047](b);GBb(a);return}function T3a(a){a=a|0;return VDb((f[a+4>>2]|0)+4|0)|0}function U3a(a){a=a|0;return WDb((f[a+4>>2]|0)+4|0)|0}function V3a(a){a=a|0;return aEb((f[a+4>>2]|0)+4|0)|0}function W3a(a){a=a|0;var b=0;b=f[a>>2]|0;tj[f[(f[b>>2]|0)+16>>2]&2047](b);f[f[a+4>>2]>>2]=0;return}function X3a(a){a=a|0;var c=0,d=0,e=0,g=0;e=u;u=u+16|0;d=e;f[a>>2]=356232;if(!(b[505020]|0)){c=Ci(499924,0)|0;if(c|0){f[d>>2]=c;Qpb(457041,d)|0}b[505020]=1}d=EBb(72)|0;f[d>>2]=356352;c=d+12|0;f[c>>2]=0;Y3a(d+16|0);g=d+64|0;f[g>>2]=0;f[d+68>>2]=0;f[d+60>>2]=g;f[d+4>>2]=0;b[d+8>>0]=0;b[d+41>>0]=0;f[c>>2]=0;b[d+40>>0]=0;f[d+52>>2]=0;c=f[124980]|0;f[d+56>>2]=c;f[124980]=c+1;f[d+44>>2]=5;f[d+48>>2]=3;f[a+4>>2]=d;u=e;return}function Y3a(a){a=a|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;e=g;d=g+4|0;f[a>>2]=356324;f[a+8>>2]=0;Fi(d|0)|0;c=EBb(32)|0;f[c>>2]=356368;Gi(d|0,2)|0;Ei(c+4|0,d|0)|0;f[a+4>>2]=c;f[a+12>>2]=356292;c=EBb(52)|0;f[c>>2]=356384;d=vi(c+4|0,0)|0;if(!d){e=a+16|0;f[e>>2]=c;e=a+20|0;b[e>>0]=0;u=g;return}f[e>>2]=d;Qpb(457106,e)|0;e=a+16|0;f[e>>2]=c;e=a+20|0;b[e>>0]=0;u=g;return}function Z3a(a){a=a|0;return}function _3a(a){a=a|0;GBb(a);return}function $3a(a){a=a|0;return}function a4a(a){a=a|0;GBb(a);return}function b4a(a){a=a|0;f[a>>2]=356352;iv(a+60|0,f[a+64>>2]|0);Q2(a+16|0);return}function c4a(a){a=a|0;f[a>>2]=356352;iv(a+60|0,f[a+64>>2]|0);Q2(a+16|0);GBb(a);return}function d4a(a){a=a|0;var b=0,c=0;b=u;u=u+16|0;c=b;f[c>>2]=0;a=Bi(f[(f[a+4>>2]|0)+52>>2]|0,c|0)|0;u=b;return a|0}function e4a(){var a=0,c=0,d=0;d=u;u=u+16|0;c=d;if(!(b[505020]|0)){a=Ci(499924,0)|0;if(a|0){f[c>>2]=a;Qpb(457041,c)|0}b[505020]=1}c=Ai(f[124981]|0)|0;u=d;return c|0}function f4a(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+32|0;g=k+24|0;e=k+20|0;j=k+8|0;d=k;h=k+16|0;i=k+12|0;if(!(b[505020]|0)){c=Ci(499924,0)|0;if(c|0){f[d>>2]=c;Qpb(457041,d)|0}b[505020]=1}c=Ai(f[124981]|0)|0;if(!c){u=k;return -1}c=f[c+4>>2]|0;d=c+60|0;if((d|0)!=(a|0)){f[h>>2]=f[a>>2];f[i>>2]=a+4;f[e>>2]=f[h>>2];f[g>>2]=f[i>>2];hw(d,e,g)}if(!(f[c+12>>2]|0)){u=k;return -1}if(!(b[505020]|0)){c=Ci(499924,0)|0;if(c|0){f[j>>2]=c;Qpb(457041,j)|0}b[505020]=1}Ai(f[124981]|0)|0;u=k;return -1}function g4a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;k=u;u=u+32|0;g=k+16|0;e=k+12|0;j=k;h=k+8|0;i=k+4|0;a=f[a+4>>2]|0;d=a+60|0;if((d|0)!=(c|0)){f[h>>2]=f[c>>2];f[i>>2]=c+4;f[e>>2]=f[h>>2];f[g>>2]=f[i>>2];hw(d,e,g)}if(!(f[a+12>>2]|0)){u=k;return -1}if(!(b[505020]|0)){a=Ci(499924,0)|0;if(a|0){f[j>>2]=a;Qpb(457041,j)|0}b[505020]=1}Ai(f[124981]|0)|0;u=k;return -1}function h4a(a){a=a|0;return (f[(f[a+4>>2]|0)+12>>2]|0)!=0|0}function i4a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0;i=u;u=u+48|0;g=i+4|0;e=i;h=f[a+4>>2]|0;if(f[h+12>>2]|0){h=0;u=i;return h|0}c=qi(g|0)|0;do if(!c){d=h+4|0;if(f[d>>2]|0){if((f[d>>2]|0)>>>0<2048)f[d>>2]=2048;c=ri(g|0,f[d>>2]|0)|0;if(c|0)break}c=pi(g|0,e|0)|0;if(!c){f[d>>2]=f[e>>2];b[h+8>>0]=1;d=h+16|0;_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;e=h+36|0;b[e>>0]=0;_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;c=zi(h+52|0,g|0,1075,a|0)|0;if(!c){_i[f[(f[d>>2]|0)+8>>2]&2047](d)|0;if(!(b[e>>0]|0)){a=f[h+32>>2]|0;g=(f[h+20>>2]|0)+4|0;ti(1483,g|0);yi(a+4|0,g|0)|0;si(0)}_i[f[(f[d>>2]|0)+12>>2]&2047](d)|0;b[h+41>>0]=1;c=0}}}while(0);h=c;u=i;return h|0}function j4a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;e=h;c=h+8|0;g=f[a+4>>2]|0;f[c>>2]=a;f[c+4>>2]=g+12;d=Ii(f[124981]|0,a|0)|0;if(d|0){f[e>>2]=d;Qpb(457292,e)|0}ti(1484,c|0);e=g+12|0;f[e>>2]=1;c=g+16|0;_i[f[(f[c>>2]|0)+8>>2]&2047](c)|0;d=g+36|0;if(!(b[d>>0]|0)){b[d>>0]=1;$Db((f[g+32>>2]|0)+4|0)|0}_i[f[(f[c>>2]|0)+12>>2]&2047](c)|0;tj[f[(f[a>>2]|0)+12>>2]&2047](a);f[e>>2]=0;si(0);u=h;return 0}function k4a(a){a=a|0;if(!(f[a+4>>2]|0)){a=0;return a|0}a=i4a(a)|0;return a|0}function l4a(a){a=a|0;return 0}function m4a(){return -1}function n4a(a){a=a|0;return Oi(a|0)|0}function o4a(){return 1}function p4a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;d=u;u=u+16|0;g=d;f[a>>2]=356260;e=EBb(92)|0;f[e>>2]=356400;f[e+84>>2]=0;f[e+88>>2]=0;f[e+80>>2]=c;b[a+8>>0]=1;Fi(g|0)|0;Gi(g|0,2)|0;Ei(e+52|0,g|0)|0;vi(e+4|0,0)|0;f[a+4>>2]=e;u=d;return}function q4a(a){a=a|0;return}function r4a(a){a=a|0;GBb(a);return}function s4a(a){a=a|0;var b=0,c=0,d=0,e=0;e=u;u=u+16|0;d=e;f[a>>2]=356292;b=EBb(52)|0;f[b>>2]=356384;c=vi(b+4|0,0)|0;if(c|0){f[d>>2]=c;Qpb(457106,d)|0}f[a+4>>2]=b;u=e;return}function t4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=u;u=u+16|0;c=e;f[a>>2]=356324;f[a+8>>2]=b;Fi(c|0)|0;d=EBb(32)|0;f[d>>2]=356368;if((b|0)==1)Gi(c|0,1)|0;else Gi(c|0,2)|0;Ei(d+4|0,c|0)|0;f[a+4>>2]=d;u=e;return}function u4a(){n[124982]=1.0;n[124983]=0.0;n[124984]=0.0;n[124985]=0.0;n[124986]=1.0;n[124987]=0.0;n[124988]=0.0;n[124989]=0.0;n[124990]=1.0;v4a(499964);return}function v4a(a){a=a|0;var b=0,c=0,d=0;f[a>>2]=0;if(!(YZ(0)|0))return;b=EBb(68)|0;w4a(b);c=f[a>>2]|0;if(((c|0)!=(b|0)?(f[a>>2]=b,b=b+8|0,f[b>>2]=(f[b>>2]|0)+1,c|0):0)?(d=c+8|0,b=f[d>>2]|0,f[d>>2]=b-1,(b|0)==1):0)Rua(c,1,1);d=YZ(0)|0;Uda(d,f[a>>2]|0);return}function w4a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;i=u;u=u+32|0;c=i+12|0;d=i;v_a(a,1);e=a+12|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;f[a+24>>2]=2;f[a+28>>2]=0;f[a+36>>2]=0;f[a+40>>2]=0;f[a+32>>2]=a+36;f[a+48>>2]=0;f[a+52>>2]=0;f[a+44>>2]=a+48;f[a+60>>2]=0;f[a+64>>2]=0;f[a+56>>2]=a+60;f[a>>2]=356416;e=c+4|0;f[e>>2]=0;f[e+4>>2]=0;e=c+11|0;b[e>>0]=3;b[c>>0]=b[457401]|0;b[c+1>>0]=b[457402]|0;b[c+2>>0]=b[457403]|0;b[c+3>>0]=0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;g=EBb(32)|0;f[d>>2]=g;f[d+8>>2]=-2147483616;f[d+4>>2]=16;h=g;j=457405;k=h+16|0;do{b[h>>0]=b[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));b[g+16>>0]=0;Zda(a,c,d);if((b[d+11>>0]|0)<0)GBb(f[d>>2]|0);if((b[e>>0]|0)>=0){u=i;return}GBb(f[c>>2]|0);u=i;return}function x4a(a){a=a|0;pZ(a);GBb(a);return}function y4a(a){a=a|0;return 457576}function z4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ij[f[(f[b>>2]|0)+204>>2]&127](a,b,c,d);return}function A4a(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;n=u;u=u+240|0;l=n+220|0;m=n+208|0;k=n+20|0;h=n;m6(l,d);if(cj[f[(f[c>>2]|0)+176>>2]&1023](c,l)|0){q6(m,d,e,0);i=m+11|0;e=b[i>>0]|0;g=e<<24>>24<0;if(!((g?f[m+4>>2]|0:e&255)|0)){f[a>>2]=2;k=a+4|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0}else{r6(k,g?f[m>>2]|0:m,12);if(!(f[k+(f[(f[k>>2]|0)+-12>>2]|0)+16>>2]&5)){J4a(h,c,k);if(Yda(h)|0)K$a(Yda(h)|0,d);f[a>>2]=f[h>>2];c=h+4|0;OBb(a+4|0,c);e=h+16|0;g=f[e>>2]|0;f[a+16>>2]=g;if((g|0?(j=g+8|0,f[j>>2]=(f[j>>2]|0)+1,j=f[e>>2]|0,j|0):0)?(h=j+8|0,a=f[h>>2]|0,f[h>>2]=a-1,(a|0)==1):0)Rua(j,1,1);f[e>>2]=0;if((b[c+11>>0]|0)<0)GBb(f[c>>2]|0)}else{f[a>>2]=1;a=a+4|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;f[a+12>>2]=0}b3(k);e=b[i>>0]|0}if(e<<24>>24<0)GBb(f[m>>2]|0)}else{f[a>>2]=1;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[l+11>>0]|0)>=0){u=n;return}GBb(f[l>>2]|0);u=n;return}function B4a(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;j=u;u=u+208|0;h=j+184|0;i=j;I_(h,e);if(cj[f[(f[c>>2]|0)+176>>2]&1023](c,h)|0){s6(i,(b[e+11>>0]|0)<0?f[e>>2]|0:e,20);if(!(f[i+(f[(f[i>>2]|0)+-12>>2]|0)+16>>2]&5))Kj[f[(f[c>>2]|0)+276>>2]&63](a,c,d,i,g);else{f[a>>2]=2;g=a+4|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0}f3(i)}else{f[a>>2]=1;i=a+4|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0}if((b[h+11>>0]|0)>=0){u=j;return}GBb(f[h>>2]|0);u=j;return}function C4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ij[f[(f[b>>2]|0)+252>>2]&127](a,b,c,d);return}function D4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;J4a(a,b,c);return}function E4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=G4a(b,d,c,F4a(b,e)|0)|0;f[a>>2]=e;e=a+4|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=0;return}function F4a(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=u;u=u+160|0;h=l+16|0;i=l+4|0;e=l;if(c|0){j=h+60|0;k=h+8|0;f[h>>2]=276076;f[j>>2]=276096;f[h+4>>2]=0;Brb(h+60|0,k);f[h+132>>2]=0;f[h+136>>2]=-1;f[h>>2]=304144;f[j>>2]=304164;Hrb(k);f[k>>2]=304196;g=h+40|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[g+12>>2]=0;f[h+56>>2]=8;Nr(k,c+32|0);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;d=i+11|0;a=i+4|0;while(1){c=Qea(h,i)|0;if(f[c+(f[(f[c>>2]|0)+-12>>2]|0)+16>>2]&5|0){c=1;a=0;break}c=b[d>>0]|0;if(((c<<24>>24<0?f[a>>2]|0:c&255)|0)==15?(nCb(i,0,-1,457422,15)|0)==0:0){m=7;break}}if((m|0)==7){Prb(h,e)|0;c=0;a=f[e>>2]|0}if((b[d>>0]|0)<0)GBb(f[i>>2]|0);f[h>>2]=304144;f[j>>2]=304164;f[k>>2]=304196;if((b[g+11>>0]|0)<0)GBb(f[g>>2]|0);qqb(k);crb(h,304176);kqb(j);if(!c){m=a;u=l;return m|0}}m=-1;u=l;return m|0}function G4a(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;s=u;u=u+16|0;o=s+4|0;p=s;f[p>>2]=0;q=ilb(480667,0,0,0)|0;f[o>>2]=q;if(!q){r=2;u=s;return r|0}r=ulb(q)|0;f[p>>2]=r;if(!r){r=2;u=s;return r|0}qib(q,b,236,1485);tlb(q,d);k=c+92|0;a=f[k>>2]|0;a:do if((a|0)<6409)switch(a|0){case 6406:case 6402:{n=0;break a}case 6407:{n=2;break a}case 6408:{n=6;break a}default:{r=2;u=s;return r|0}}else{if((a|0)<32992)switch(a|0){case 6409:{n=0;break a}case 6410:{n=4;break a}default:{r=2;u=s;return r|0}}switch(a|0){case 32992:{vjb(q);n=2;break a}case 32993:{vjb(q);n=6;break a}default:{r=2;u=s;return r|0}}}while(0);a=lJa(f[k>>2]|0)|0;if(!a){r=2;u=s;return r|0}j=c+96|0;l=((iJa(f[k>>2]|0,f[j>>2]|0)|0)>>>0)/(a>>>0)|0;switch(l|0){case 8:case 16:break;default:{r=2;u=s;return r|0}}g=c+76|0;b=f[g>>2]|0;m=FBb(b>>>0>1073741823?-1:b<<2)|0;if((b|0)>0){h=c+112|0;i=c+84|0;a=c+72|0;e=c+100|0;c=0;do{d=f[h>>2]|0;if(!d)d=0;else{iJa(f[k>>2]|0,f[j>>2]|0)|0;t=f[i>>2]|0;d=d+(W(I$a((t|0)==0?f[a>>2]|0:t,f[k>>2]|0,f[j>>2]|0,f[e>>2]|0)|0,b+~c|0)|0)|0;I$a(f[a>>2]|0,f[k>>2]|0,f[j>>2]|0,f[e>>2]|0)|0;b=f[g>>2]|0}f[m+(c<<2)>>2]=d;c=c+1|0}while((b|0)>(c|0))}else a=c+72|0;Kib(q,r,f[a>>2]|0,b,l,n,0,0,0);glb(q,r);if((l|0)>8)wjb(q);qlb(q,m);hlb(q,0);rlb(o,p);HBb(m);t=3;u=s;return t|0}function H4a(a,b,c){a=a|0;b=b|0;c=c|0;lsb(Vlb(a)|0,b,c)|0;return}function I4a(a){a=a|0;Krb(Vlb(a)|0)|0;return}function J4a(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,q=0;n=u;u=u+48|0;d=n+36|0;b=n+40|0;j=n+32|0;k=n+28|0;l=n+24|0;e=n;m=n+20|0;i=n+16|0;g=n+12|0;h=n+8|0;o=xlb(480667,0,0,0)|0;f[j>>2]=o;klb(o,Wlb(o)|0,798,799);q=ulb(o)|0;f[k>>2]=q;o=ulb(o)|0;f[l>>2]=o;Wrb(c,b,8)|0;if((f[c+4>>2]|0)==8?(clb(b,0,8)|0)==0:0){uib(f[j>>2]|0,c,237);Ulb(f[j>>2]|0,8);ylb(f[j>>2]|0,f[k>>2]|0);rjb(f[j>>2]|0,f[k>>2]|0,m,i,g,h,0,0,0)|0;if(qZa(5)|0){q=Nu(Hua(5)|0,457438,6)|0;q=Nu(csb(q,f[m>>2]|0)|0,457445,8)|0;q=Nu(csb(q,f[i>>2]|0)|0,457454,7)|0;q=bsb(q,f[g>>2]|0)|0;Drb(d,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(d,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(d);ksb(q,o)|0;Krb(q)|0}b=f[h>>2]|0;if((b|0)==2){if(qZa(5)|0){q=Nu(Hua(5)|0,457462,28)|0;Drb(d,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(d,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(d);ksb(q,o)|0;Krb(q)|0}b=f[h>>2]|0}if((b|0)==0?qZa(5)|0:0){q=Nu(Hua(5)|0,457491,29)|0;Drb(d,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(d,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(d);ksb(q,o)|0;Krb(q)|0}if((f[h>>2]|0)==4?qZa(5)|0:0){q=Nu(Hua(5)|0,457521,35)|0;Drb(d,q+(f[(f[q>>2]|0)+-12>>2]|0)|0);o=utb(d,504576)|0;o=cj[f[(f[o>>2]|0)+28>>2]&1023](o,10)|0;vtb(d);ksb(q,o)|0;Krb(q)|0}if((f[g>>2]|0)>8)wjb(f[j>>2]|0);b=f[h>>2]|0;if((b|0)==3){Zlb(f[j>>2]|0);b=f[h>>2]|0}if((b|0)==0&(f[g>>2]|0)<8)_lb(f[j>>2]|0);if(mjb(f[j>>2]|0,f[k>>2]|0,16)|0)Tlb(f[j>>2]|0);if((f[g>>2]|0)<8)xjb(f[j>>2]|0);q=(qjb(f[j>>2]|0,f[k>>2]|0,e)|0)==0;b=f[j>>2]|0;if(q)Ylb(b,2.2,.45454545454545453);else Ylb(b,2.2,+p[e>>3]);Blb(f[j>>2]|0,f[k>>2]|0);e=njb(f[j>>2]|0,f[k>>2]|0)|0;q=f[i>>2]|0;e=FBb(W(q,e)|0)|0;d=FBb(q>>>0>1073741823?-1:q<<2)|0;b=f[j>>2]|0;if(q){c=0;do{b=e+(W(njb(b,f[k>>2]|0)|0,c)|0)|0;q=f[i>>2]|0;f[d+(q+~c<<2)>>2]=b;c=c+1|0;b=f[j>>2]|0}while(c>>>0<q>>>0)}Qlb(b,d);HBb(d);Rlb(f[j>>2]|0,f[l>>2]|0);b=f[g>>2]|0;d=(b|0)<9?5121:5123;switch(f[h>>2]|0){case -1:{c=6409;break}case -2:{c=6406;break}case 0:{c=6409;break}case 4:{c=6410;break}case 3:case 2:{c=(pjb(f[j>>2]|0,f[k>>2]|0)|0)<<24>>24==4;c=c?6408:6407;b=f[g>>2]|0;break}case 6:{c=6408;break}default:c=0}a:do if((b|0)>8)switch(f[h>>2]|0){case 6409:{b=32834;break a}case 6406:{b=32830;break a}case 6410:{b=32840;break a}case 6407:{b=32852;break a}case 6408:{b=32859;break a}default:{b=c;break a}}else b=c;while(0);vlb(j,k,l);if(!c){f[a>>2]=1;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0;u=n;return}else{q=EBb(140)|0;J$a(q);Qj[f[(f[q>>2]|0)+196>>2]&15](q,f[m>>2]|0,f[i>>2]|0,1,b,c,d,e,1,1,0);f[a>>2]=4;o=a+4|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;f[a+16>>2]=q;q=q+8|0;f[q>>2]=(f[q>>2]|0)+1;u=n;return}}vlb(j,k,l);f[a>>2]=1;q=a+4|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;f[q+12>>2]=0;u=n;return}function K4a(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;a=c;if(!(qZa(2)|0)){u=c;return}d=Nu(Hua(2)|0,457557,18)|0;b=Nu(d,b,Rmb(b)|0)|0;Drb(a,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);d=utb(a,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(a);ksb(b,d)|0;Krb(b)|0;u=c;return}function L4a(a,b){a=a|0;b=b|0;var c=0,d=0;c=u;u=u+16|0;a=c;if(!(qZa(2)|0)){u=c;return}d=Nu(Hua(2)|0,457557,18)|0;b=Nu(d,b,Rmb(b)|0)|0;Drb(a,b+(f[(f[b>>2]|0)+-12>>2]|0)|0);d=utb(a,504576)|0;d=cj[f[(f[d>>2]|0)+28>>2]&1023](d,10)|0;vtb(a);ksb(b,d)|0;Krb(b)|0;u=c;return}function M4a(a,b,c){a=a|0;b=b|0;c=c|0;Wrb(Vlb(a)|0,b,c)|0;return}function N4a(){return}function O4a(a){a=a|0;var b=0;b=a+88|0;do{f[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function P4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;if((a|0)==0|(b|0)==0){g=0;return g|0}c=a+48|0;g=(f[c>>2]&64|0)==0;if(!((Pg()|0)==0|g)){ic(0,b|0)|0;g=0;return g|0}g=Cmb(200)|0;if(!g){g=0;return g|0}_Db(g+8|0,0,184)|0;e=f[89178]|0;f[89178]=e+1;f[g>>2]=e;f[g+4>>2]=f[a+32>>2];f[g+164>>2]=f[a+52>>2];f[g+160>>2]=f[c>>2];f[g+168>>2]=f[a+56>>2];f[g+192>>2]=f[a+80>>2];f[g+196>>2]=f[a+84>>2];Smb(g+112|0,a)|0;f[g+152>>2]=f[a+40>>2];f[g+148>>2]=f[a+36>>2];f[g+156>>2]=f[a+44>>2];e=Wmb(b)|0;f[g+8>>2]=e;if(!e){Q4a(g);g=0;return g|0}b=f[a+60>>2]|0;if(b|0?(e=Wmb(b)|0,f[g+172>>2]=e,(e|0)==0):0){Q4a(g);g=0;return g|0}b=f[a+64>>2]|0;if(b|0?(e=Wmb(b)|0,f[g+176>>2]=e,(e|0)==0):0){Q4a(g);g=0;return g|0}b=f[a+68>>2]|0;if(b|0?(e=Wmb(b)|0,f[g+180>>2]=e,(e|0)==0):0){Q4a(g);g=0;return g|0}b=f[a+76>>2]|0;if(b|0?(e=Wmb(b)|0,f[g+188>>2]=e,(e|0)==0):0){Q4a(g);g=0;return g|0}d=a+72|0;b=f[d>>2]|0;if(b|0){a=0;while(1)if(!(f[b+(a<<2)>>2]|0))break;else a=a+1|0;c=(a<<2)+4|0;e=Cmb(c)|0;if(!e){Q4a(g);g=0;return g|0}_Db(e|0,0,c|0)|0;a:do if(a|0){c=Wmb(f[b>>2]|0)|0;f[e>>2]=c;if(!c)b=0;else{b=0;do{b=b+1|0;if(b>>>0>=a>>>0)break a;c=Wmb(f[(f[d>>2]|0)+(b<<2)>>2]|0)|0;f[e+(b<<2)>>2]=c}while((c|0)!=0)}if(b|0){c=0;do{Dmb(f[e+(c<<2)>>2]|0);c=c+1|0}while((c|0)!=(b|0))}Dmb(e);Q4a(g);g=0;return g|0}while(0);f[e+(a<<2)>>2]=0;f[g+184>>2]=e}rh(g|0);return g|0}function Q4a(a){a=a|0;var b=0,c=0,d=0,e=0;f[a>>2]=0;Dmb(f[a+12>>2]|0);Dmb(f[a+8>>2]|0);Dmb(f[a+172>>2]|0);Dmb(f[a+176>>2]|0);Dmb(f[a+180>>2]|0);e=a+184|0;b=f[e>>2]|0;if(!b){e=a+188|0;e=f[e>>2]|0;Dmb(e);Dmb(a);return}c=f[b>>2]|0;if(c){d=0;do{Dmb(c);d=d+1|0;b=f[e>>2]|0;c=f[b+(d<<2)>>2]|0}while((c|0)!=0)}Dmb(b);e=a+188|0;e=f[e>>2]|0;Dmb(e);Dmb(a);return}function R4a(a){a=a|0;var c=0,e=0,g=0,h=0;if(!a){h=0;return h|0}if(!(f[a>>2]|0)){h=-5;return h|0}c=d[a+40>>1]|0;if((c&65535)>4){h=-5;return h|0}if(c<<16>>16!=4?(h=f[a+152>>2]|0,h|0):0){d[a+42>>1]=-1;c=a+44|0;e=457942;g=c+38|0;do{b[c>>0]=b[e>>0]|0;c=c+1|0;e=e+1|0}while((c|0)<(g|0));tj[h&2047](a)}Q4a(a);h=0;return h|0}function S4a(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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0;A=u;u=u+64|0;y=A+8|0;k=A;p=A+52|0;r=A+56|0;s=A+48|0;l=A+44|0;t=A+40|0;v=A+36|0;w=A+32|0;f[t>>2]=0;f[v>>2]=0;f[w>>2]=0;if((T4a(21,t)|0)<0){z=0;u=A;return z|0}if((T4a(17,v)|0)<0){z=0;u=A;return z|0}if((T4a(18,w)|0)<0){z=0;u=A;return z|0}o=U4a(a)|0;if((o&2|0)==0|(f[t>>2]|0)!=4|(f[v>>2]|0)!=2|(f[w>>2]|0)!=0){V4a(21,4)|0;V4a(17,2)|0;V4a(18,0)|0;if((W4a(a,o|2)|0)>=0){n=1;z=6}}else{n=0;z=6}if((z|0)==6){d=X4a(1,324)|0;do if(!d)Y4a(0)|0;else{q=X4a(1,308)|0;if(!q){Z4a(d);Y4a(0)|0;break}e=d+104|0;g=356720;i=e+84|0;do{f[e>>2]=f[g>>2];e=e+4|0;g=g+4|0}while((e|0)<(i|0));e=d+108|0;f[e>>2]=10;x=d+320|0;f[x>>2]=q;m=d+188|0;f[m>>2]=a;g=_4a(a)|0;f[q>>2]=g;if(!g){Z4a(d);break}if(($4a(a,g)|0)<0){Z4a(d);break}i=a5a(484954)|0;f[q+16>>2]=i;do if(i){i=a5a(482540)|0;f[q+20>>2]=i;if(i){i=a5a(484010)|0;f[q+24>>2]=i;if(i){i=a5a(482845)|0;f[q+28>>2]=i;if(i){i=a5a(485217)|0;f[q+32>>2]=i;if(i){i=a5a(484851)|0;f[q+36>>2]=i;if(i){i=a5a(485160)|0;f[q+40>>2]=i;if(i){i=a5a(483828)|0;f[q+44>>2]=i;if(i){i=a5a(482441)|0;f[q+48>>2]=i;if(i){i=a5a(482510)|0;f[q+52>>2]=i;if(!i){j=482510;z=68;break}i=a5a(483903)|0;f[q+56>>2]=i;if(!i){j=483903;z=68;break}i=a5a(483759)|0;f[q+60>>2]=i;if(!i){j=483759;z=68;break}i=a5a(482678)|0;f[q+64>>2]=i;if(!i){j=482678;z=68;break}i=a5a(484818)|0;f[q+68>>2]=i;if(!i){j=484818;z=68;break}i=a5a(484580)|0;f[q+72>>2]=i;if(!i){j=484580;z=68;break}i=a5a(484607)|0;f[q+76>>2]=i;if(!i){j=484607;z=68;break}i=a5a(484809)|0;f[q+80>>2]=i;if(!i){j=484809;z=68;break}i=a5a(484554)|0;f[q+84>>2]=i;if(!i){j=484554;z=68;break}i=a5a(484753)|0;f[q+88>>2]=i;if(!i){j=484753;z=68;break}i=a5a(484049)|0;f[q+92>>2]=i;if(!i){j=484049;z=68;break}i=a5a(482664)|0;f[q+96>>2]=i;if(!i){j=482664;z=68;break}i=a5a(482650)|0;f[q+100>>2]=i;if(!i){j=482650;z=68;break}i=a5a(482599)|0;f[q+104>>2]=i;if(!i){j=482599;z=68;break}i=a5a(484674)|0;f[q+108>>2]=i;if(!i){j=484674;z=68;break}i=a5a(482624)|0;f[q+112>>2]=i;if(!i){j=482624;z=68;break}i=a5a(483877)|0;f[q+116>>2]=i;if(!i){j=483877;z=68;break}i=a5a(483844)|0;f[q+120>>2]=i;if(!i){j=483844;z=68;break}i=a5a(483863)|0;f[q+124>>2]=i;if(!i){j=483863;z=68;break}i=a5a(483205)|0;f[q+128>>2]=i;if(!i){j=483205;z=68;break}i=a5a(483946)|0;f[q+132>>2]=i;if(!i){j=483946;z=68;break}i=a5a(482585)|0;f[q+136>>2]=i;if(!i){j=482585;z=68;break}i=a5a(482832)|0;f[q+140>>2]=i;if(!i){j=482832;z=68;break}i=a5a(485173)|0;f[q+144>>2]=i;if(!i){j=485173;z=68;break}i=a5a(484635)|0;f[q+148>>2]=i;if(!i){j=484635;z=68;break}i=a5a(483795)|0;f[q+152>>2]=i;if(!i){j=483795;z=68;break}i=a5a(482744)|0;f[q+156>>2]=i;if(!i){j=482744;z=68;break}i=a5a(482899)|0;f[q+160>>2]=i;if(!i){j=482899;z=68;break}i=a5a(482757)|0;f[q+164>>2]=i;if(!i){j=482757;z=68;break}i=a5a(483359)|0;f[q+168>>2]=i;if(!i){j=483359;z=68;break}i=a5a(483347)|0;f[q+172>>2]=i;if(!i){j=483347;z=68;break}i=a5a(483549)|0;f[q+176>>2]=i;if(!i){j=483549;z=68;break}i=a5a(482476)|0;f[q+180>>2]=i;if(!i){j=482476;z=68;break}i=a5a(484532)|0;f[q+184>>2]=i;if(!i){j=484532;z=68;break}i=a5a(485149)|0;f[q+188>>2]=i;if(!i){j=485149;z=68;break}i=a5a(484031)|0;f[q+192>>2]=i;if(!i){j=484031;z=68;break}i=a5a(484114)|0;f[q+196>>2]=i;if(!i){j=484114;z=68;break}i=a5a(484912)|0;f[q+200>>2]=i;if(!i){j=484912;z=68;break}i=a5a(484067)|0;f[q+204>>2]=i;if(!i){j=484067;z=68;break}i=a5a(483721)|0;f[q+208>>2]=i;if(!i){j=483721;z=68;break}i=a5a(483960)|0;f[q+212>>2]=i;if(!i){j=483960;z=68;break}i=a5a(482977)|0;f[q+216>>2]=i;if(!i){j=482977;z=68;break}i=a5a(483568)|0;f[q+220>>2]=i;if(!i){j=483568;z=68;break}i=a5a(483029)|0;f[q+224>>2]=i;if(!i){j=483029;z=68;break}i=a5a(483042)|0;f[q+228>>2]=i;if(!i){j=483042;z=68}}else{j=482441;z=68}}else{j=483828;z=68}}else{j=485160;z=68}}else{j=484851;z=68}}else{j=485217;z=68}}else{j=482845;z=68}}else{j=484010;z=68}}else{j=482540;z=68}}else{j=484954;z=68}while(0);if((z|0)==68?(i=b5a()|0,f[k>>2]=j,f[k+4>>2]=i,(c5a(457990,k)|0)<0):0){Z4a(d);break}if(!(c&4))d5a(0)|0;else d5a(1)|0;if((e5a()|0)>0)f[e>>2]=f[e>>2]|4;if((T4a(20,l)|0)==0?f[l>>2]&1|0:0)f[q+4>>2]=1;f[l>>2]=0;i=q+112|0;Bj[f[i>>2]&1023](3379,l);f[d+180>>2]=f[l>>2];f[l>>2]=0;Bj[f[i>>2]&1023](3379,l);f[d+184>>2]=f[l>>2];Bj[f[i>>2]&1023](36345,p);Bj[f[q+100>>2]&1023](36346,r);e=f[p>>2]|0;if(b[r>>0]|0){e=e+1|0;f[p>>2]=e}e=X4a(e,4)|0;g=q+244|0;f[g>>2]=e;if(!e){Z4a(d);Y4a(0)|0;break}f[q+240>>2]=f[p>>2];Bj[f[i>>2]&1023](36344,e);if(b[r>>0]|0)f[(f[g>>2]|0)+((f[p>>2]|0)+-1<<2)>>2]=-1;f[q+232>>2]=0;Bj[f[i>>2]&1023](36006,s);f[q+236>>2]=f[s>>2];f[d+4>>2]=800;f[d+8>>2]=197;f[d+12>>2]=483;f[d+28>>2]=29;f[d+32>>2]=1;f[d+36>>2]=30;f[d+40>>2]=801;f[d+44>>2]=484;f[d+48>>2]=1076;f[d+52>>2]=1077;f[d+56>>2]=1078;f[d+60>>2]=198;f[d+64>>2]=199;f[d+68>>2]=200;f[d+72>>2]=28;f[d+76>>2]=1;f[d+80>>2]=31;f[d+84>>2]=1486;f[d+88>>2]=802;f[d+92>>2]=1487;f[d+96>>2]=29;f[d+100>>2]=485;e=d+116|0;w=d+112|0;g=f[w>>2]|0;f[w>>2]=g+1;f[e+(g<<2)>>2]=842094169;g=f[w>>2]|0;f[w>>2]=g+1;f[e+(g<<2)>>2]=1448433993;g=f[w>>2]|0;f[w>>2]=g+1;f[e+(g<<2)>>2]=842094158;g=f[w>>2]|0;f[w>>2]=g+1;f[e+(g<<2)>>2]=825382478;g=f[x>>2]|0;e=f[g>>2]|0;do if((f[124994]|0)!=(e|0)){f[g+268>>2]=0;if(($4a(f[m>>2]|0,e)|0)>=0){f[124994]=f[g>>2];n5a(d)|0;e=f[x>>2]|0;if(!(f[e+4>>2]|0))break;e=e+108|0;do{}while((Zi[f[e>>2]&15]()|0)!=0)}}else n5a(d)|0;while(0);f[g+8>>2]=-1;f[g+12>>2]=0;tj[f[g+16>>2]&2047](33984);e=g+136|0;Bj[f[e>>2]&1023](3333,1);Bj[f[e>>2]&1023](3317,1);qj[f[g+40>>2]&3](+(h[g+272>>0]|0)*.003921568859368563,+(h[g+273>>0]|0)*.003921568859368563,+(h[g+274>>0]|0)*.003921568859368563,+(h[g+275>>0]|0)*.003921568859368563);tj[f[g+84>>2]&2047](0);tj[f[g+72>>2]&2047](1);e=f[x>>2]|0;if(!(f[e+4>>2]|0)){z=d;u=A;return z|0}j=e+108|0;e=Zi[f[j>>2]&15]()|0;if(!e){z=d;u=A;return z|0}g=505031;do{a:do if(!g)z=100;else{if(!(b[g>>0]|0)){z=100;break}switch(e|0){case 1280:{i=458035;break a}case 1281:{i=458051;break a}case 1282:{i=458068;break a}case 1285:{i=458089;break a}default:{i=458106;break a}}}while(0);b:do if((z|0)==100){z=0;switch(e|0){case 1280:{g=458027;i=458035;break b}case 1281:{g=458027;i=458051;break b}case 1282:{g=458027;i=458068;break b}case 1285:{g=458027;i=458089;break b}default:{g=458027;i=458106;break b}}}while(0);f[y>>2]=g;f[y+4>>2]=458140;f[y+8>>2]=1954;f[y+12>>2]=458233;f[y+16>>2]=i;f[y+20>>2]=e;c5a(458114,y)|0;e=Zi[f[j>>2]&15]()|0}while((e|0)!=0);u=A;return d|0}while(0);if(!n){z=0;u=A;return z|0}}V4a(21,f[t>>2]|0)|0;V4a(17,f[v>>2]|0)|0;V4a(18,f[w>>2]|0)|0;W4a(a,o)|0;z=0;u=A;return z|0}function T4a(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;t=u;u=u+112|0;s=t+88|0;r=t+80|0;q=t+72|0;p=t+64|0;o=t+56|0;n=t+48|0;m=t+40|0;l=t+32|0;k=t+24|0;j=t+16|0;i=t+8|0;h=t;c=t+104|0;d=t+100|0;e=t+96|0;g=t+92|0;f[b>>2]=0;do switch(a|0){case 0:{d=3410;break}case 2:{d=3412;break}case 1:{d=3411;break}case 3:{d=3413;break}case 5:{f[b>>2]=f[(f[124995]|0)+320>>2];s=0;u=t;return s|0}case 6:{d=3414;break}case 7:{d=3415;break}case 12:case 11:case 10:case 9:case 8:{f[b>>2]=0;s=0;u=t;return s|0}case 13:{d=32936;break}case 14:{d=32937;break}case 24:{d=33531;break}case 4:{f[c>>2]=0;f[d>>2]=0;f[e>>2]=0;f[g>>2]=0;if((((T4a(0,c)|0)>=0?(T4a(1,d)|0)>=0:0)?(T4a(2,e)|0)>=0:0)?(T4a(3,g)|0)>=0:0){f[b>>2]=(f[d>>2]|0)+(f[c>>2]|0)+(f[e>>2]|0)+(f[g>>2]|0);a=0}else a=-1;s=a;u=t;return s|0}case 15:{f[b>>2]=(f[(f[124995]|0)+352>>2]|0)!=0&1;s=0;u=t;return s|0}case 16:{f[b>>2]=f[(f[124995]|0)+384>>2];s=0;u=t;return s|0}case 17:{f[b>>2]=f[(f[124995]|0)+356>>2];s=0;u=t;return s|0}case 18:{f[b>>2]=f[(f[124995]|0)+360>>2];s=0;u=t;return s|0}case 19:{f[b>>2]=(f[(f[124995]|0)+368>>2]|0)==4&1;s=0;u=t;return s|0}case 20:{f[b>>2]=f[(f[124995]|0)+364>>2];s=0;u=t;return s|0}case 21:{f[b>>2]=f[(f[124995]|0)+368>>2];s=0;u=t;return s|0}case 22:{f[b>>2]=f[(f[124995]|0)+372>>2];s=0;u=t;return s|0}case 23:{f[b>>2]=f[(f[124995]|0)+380>>2];s=0;u=t;return s|0}default:{s=c5a(461023,h)|0;u=t;return s|0}}while(0);c=f[124995]|0;do if(c){a=f[c+168>>2]|0;if(!a){c5a(460297,k)|0;break}if(!(f[c+388>>2]|0)){c5a(460268,j)|0;break}a=cj[a&1023](c,482624)|0;if(a|0){Bj[a&1023](d,b);c=f[124995]|0;do if(c){a=f[c+168>>2]|0;if(!a){c5a(460297,o)|0;break}if(!(f[c+388>>2]|0)){c5a(460268,n)|0;break}a=cj[a&1023](c,484674)|0;if(a|0){a=Zi[a&15]()|0;switch(a|0){case 1280:{s=c5a(461141,q)|0;u=t;return s|0}case 1281:{s=c5a(461171,r)|0;u=t;return s|0}case 0:{s=a;u=t;return s|0}default:{f[s>>2]=a;s=c5a(461202,s)|0;u=t;return s|0}}}}else c5a(458271,m)|0;while(0);s=c5a(461096,p)|0;u=t;return s|0}}else c5a(458271,i)|0;while(0);s=c5a(461048,l)|0;u=t;return s|0}function U4a(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;c=d+8|0;b=f[124995]|0;if(!b){c5a(458271,d)|0;c=0;u=d;return c|0}if(a|0?(f[a>>2]|0)==(b+280|0):0){c=f[a+48>>2]|0;u=d;return c|0}c5a(473742,c)|0;c=0;u=d;return c|0}function V4a(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;g=h+24|0;e=h+16|0;d=h+8|0;c=f[124995]|0;a:do if(!c)a=c5a(458271,h)|0;else do switch(a|0){case 0:{f[c+292>>2]=b;a=0;break a}case 1:{f[c+296>>2]=b;a=0;break a}case 2:{f[c+300>>2]=b;a=0;break a}case 3:{f[c+304>>2]=b;a=0;break a}case 5:{f[c+320>>2]=b;a=0;break a}case 4:{f[c+312>>2]=b;a=0;break a}case 6:{f[c+308>>2]=b;a=0;break a}case 7:{f[c+316>>2]=b;a=0;break a}case 8:{f[c+324>>2]=b;a=0;break a}case 9:{f[c+328>>2]=b;a=0;break a}case 10:{f[c+332>>2]=b;a=0;break a}case 11:{f[c+336>>2]=b;a=0;break a}case 12:{f[c+340>>2]=b;a=0;break a}case 13:{f[c+344>>2]=b;a=0;break a}case 14:{f[c+348>>2]=b;a=0;break a}case 15:{f[c+352>>2]=b;a=0;break a}case 16:{f[c+384>>2]=b;a=0;break a}case 17:{f[c+356>>2]=b;a=0;break a}case 18:{f[c+360>>2]=b;a=0;break a}case 19:{a=c+368|0;if(!b){f[a>>2]=0;a=0;break a}else{f[a>>2]=4;a=0;break a}}case 20:if(b>>>0>15){f[d>>2]=b;a=c5a(460958,d)|0;break a}else{f[c+364>>2]=b;a=0;break a}case 21:switch(b|0){case 0:case 1:case 2:case 4:{f[c+368>>2]=b;a=0;break a}default:{f[e>>2]=b;a=c5a(460989,e)|0;break a}}case 22:{f[c+372>>2]=b;a=0;break a}case 23:{f[c+380>>2]=b;a=0;break a}case 24:{f[c+376>>2]=b;a=0;break a}default:{a=c5a(461023,g)|0;break a}}while(0);while(0);u=h;return a|0}function W4a(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;B=u;u=u+128|0;z=B+112|0;y=B+104|0;w=B+96|0;v=B+88|0;t=B+80|0;s=B+72|0;p=B+64|0;o=B+56|0;k=B+48|0;i=B+40|0;j=B+32|0;h=B+24|0;g=B+16|0;e=B+8|0;c=B;d=f[124995]|0;if(b&2|0?(f[d+176>>2]|0)==0:0){A=c5a(460517,c)|0;u=B;return A|0}A=a+48|0;c=f[A>>2]|0;x=(c&2048|0)==0?b&-2049:b|2048;do if(d){if((f[a>>2]|0)!=(d+280|0)){c5a(473742,g)|0;break}if(c&4|0){c=a+116|0;f[c>>2]=1;sab(a,0)|0;b=f[124995]|0;d=f[b+84>>2]|0;if(d|0)Bj[d&1023](b,a);f[c>>2]=0;tab(a,2,0,0)|0}}else c5a(458271,e)|0;while(0);c=a+108|0;b=f[c>>2]|0;if(b|0){f[b>>2]=f[b>>2]&-5;S5a(b);f[c>>2]=0}c=f[124995]|0;b=f[c+140>>2]|0;if(b){Bj[b&1023](c,a);c=f[124995]|0}b=f[c+128>>2]|0;e=(x&2048|0)==0;if(e&(b|0)!=0)Bj[b&1023](c,a);c=x&2;a:do if((f[A>>2]&2|0)!=(c|0)){d=f[124995]|0;b=(d|0)==0;if(!c){if(b){c5a(458271,i)|0;c=0;break}c=d+388|0;b=f[c>>2]|0;if((b|0)<=0){c=0;break}f[c>>2]=b+-1;if((b|0)!=1){c=0;break}c=f[d+172>>2]|0;if(!c){c=0;break}tj[c&2047](d);c=0;break}b:do if(b)c=c5a(458271,h)|0;else{b=d+388|0;c=f[b>>2]|0;do if(!c){c=f[d+164>>2]|0;if(!c){c=c5a(460297,j)|0;break b}c=cj[c&1023](d,0)|0;b=f[124995]|0;if(!c){c=b+388|0;b=c;c=f[c>>2]|0;break}d=f[b+172>>2]|0;if(!d)break b;tj[d&2047](b);break b}while(0);f[b>>2]=c+1;c=1;break a}while(0);if((c|0)<0){A=-1;u=B;return A|0}else c=1}else c=0;while(0);b=x&1024050|8;f[A>>2]=b;f[a+52>>2]=b;f[a+120>>2]=0;b=f[124995]|0;d=f[b+32>>2]|0;if(e&(d|0)!=0?(cj[d&1023](b,a)|0)<0:0){if(!c){A=-1;u=B;return A|0}d=f[124995]|0;if(d){c=d+388|0;b=f[c>>2]|0;if(((b|0)>0?(f[c>>2]=b+-1,(b|0)==1):0)?(l=f[d+172>>2]|0,l|0):0)tj[l&2047](d)}else c5a(458271,k)|0;f[A>>2]=f[A>>2]&-3;A=-1;u=B;return A|0}if(!e)f[A>>2]=f[A>>2]|2048;c=f[124995]|0;b=f[c+40>>2]|0;if((b|0)!=0?(f[a+8>>2]|0)!=0:0){Bj[b&1023](c,a);c=f[124995]|0}b=f[c+44>>2]|0;if(b|0?(m=f[a+12>>2]|0,m|0):0)Fj[b&511](c,a,m);if(f[a+132>>2]|0)cj[f[(f[124995]|0)+256>>2]&1023](a,1)|0;do if(x&128|0){c=f[124995]|0;if(!c){c5a(458271,o)|0;break}if((f[a>>2]|0)!=(c+280|0)){c5a(473742,p)|0;break}if((f[A>>2]&128|0)==0?(n=f[c+92>>2]|0,n|0):0)Bj[n&1023](c,a)}while(0);do if(x&64|0){c=f[124995]|0;if(!c){c5a(458271,s)|0;break}if((f[a>>2]|0)!=(c+280|0)){c5a(473742,t)|0;break}if((f[A>>2]&64|0)==0?(sab(a,0)|0,q=f[124995]|0,r=f[q+96>>2]|0,r|0):0)Bj[r&1023](q,a)}while(0);do if(x&1|0){c=f[124995]|0;if(!c){c5a(458271,v)|0;break}if((f[a>>2]|0)!=(c+280|0)){c5a(473742,w)|0;break}c=x&4097;b=f[A>>2]|0;d=b&4097;if((c|0)!=(d|0)?(f[A>>2]=b&-4098|c,sab(a,(b&4|0)==0?0:b>>>6&1^1)|0):0)f[A>>2]=f[A>>2]&-4098|d}while(0);if(x&256|0)uab(a,1);if(x&8|0){A=0;u=B;return A|0}b=f[124995]|0;if(!b){c5a(458271,y)|0;A=0;u=B;return A|0}if((f[a>>2]|0)!=(b+280|0)){c5a(473742,z)|0;A=0;u=B;return A|0}if(f[A>>2]&4|0){A=0;u=B;return A|0}c=f[b+80>>2]|0;if(c|0)Bj[c&1023](b,a);tab(a,1,0,0)|0;A=0;u=B;return A|0}function X4a(a,b){a=a|0;b=b|0;return Emb(a,b)|0}function Y4a(a){a=a|0;var b=0;b=u;u=u+48|0;switch(a|0){case 0:{c5a(475116,b)|0;break}case 1:{c5a(460381,b+8|0)|0;break}case 2:{c5a(460411,b+16|0)|0;break}case 3:{c5a(460439,b+24|0)|0;break}case 4:{c5a(460467,b+32|0)|0;break}default:c5a(460499,b+40|0)|0}u=b;return -1}function Z4a(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;m=p;j=a+320|0;o=f[j>>2]|0;if(!o){A5a(a);u=p;return}d=f[o>>2]|0;if((f[124994]|0)!=(d|0)){f[o+268>>2]=0;if(($4a(f[a+188>>2]|0,d)|0)>=0){f[124994]=f[o>>2];n5a(a)|0;c=f[j>>2]|0;n=5}}else{c=o;n=5}if((n|0)==5?f[c+4>>2]|0:0){c=c+108|0;do{}while((Zi[f[c>>2]&15]()|0)!=0)}c=f[o+252>>2]|0;if(c|0){d=o+60|0;do{tj[f[d>>2]&2047](f[c>>2]|0);i=c;c=f[c+24>>2]|0;A5a(i)}while((c|0)!=0)}c=f[o+260>>2]|0;if(c|0){d=o+56|0;do{tj[f[d>>2]&2047](f[c>>2]|0);i=c;c=f[c+156>>2]|0;A5a(i)}while((c|0)!=0)}c=f[o>>2]|0;if(c|0){i=o+232|0;d=f[i>>2]|0;if(d){h=o+204|0;do{c=d;d=f[d+12>>2]|0;Bj[f[h>>2]&1023](1,c+8|0);c=f[j>>2]|0;if(f[c+4>>2]|0?(k=c+108|0,l=Zi[f[k>>2]&15]()|0,l|0):0){c=505031;g=l;do{a:do if((c|0)!=0?(b[c>>0]|0)!=0:0)switch(g|0){case 1280:{e=458035;break a}case 1281:{e=458051;break a}case 1282:{e=458068;break a}case 1285:{e=458089;break a}default:{e=458106;break a}}else n=27;while(0);b:do if((n|0)==27){n=0;switch(g|0){case 1280:{c=458027;e=458035;break b}case 1281:{c=458027;e=458051;break b}case 1282:{c=458027;e=458068;break b}case 1285:{c=458027;e=458089;break b}default:{c=458027;e=458106;break b}}}while(0);f[m>>2]=c;f[m+4>>2]=458140;f[m+8>>2]=464;f[m+12>>2]=460338;f[m+16>>2]=e;f[m+20>>2]=g;c5a(458114,m)|0;g=Zi[f[k>>2]&15]()|0}while((g|0)!=0)}A5a(f[i>>2]|0);f[i>>2]=d}while((d|0)!=0);c=f[o>>2]|0}rab(c)}A5a(f[o+244>>2]|0);A5a(o);A5a(a);u=p;return}function _4a(a){a=a|0;var b=0,c=0,d=0,e=0;e=u;u=u+32|0;d=e+16|0;c=e+8|0;b=f[124995]|0;if(!b){c5a(458271,e)|0;a=0;u=e;return a|0}if(a|0?(f[a>>2]|0)==(b+280|0):0){if(!(f[a+48>>2]&2)){c5a(458312,d)|0;a=0;u=e;return a|0}b=cj[f[b+176>>2]&1023](b,a)|0;if(!b){a=0;u=e;return a|0}d=f[124995]|0;f[d+652>>2]=a;f[d+656>>2]=b;nab(f[d+660>>2]|0,a,0)|0;nab(f[(f[124995]|0)+664>>2]|0,b,0)|0;a=b;u=e;return a|0}c5a(473742,c)|0;a=0;u=e;return a|0}function $4a(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+48|0;h=i+32|0;g=i+24|0;e=i+16|0;d=i+8|0;c=f[124995]|0;if(!c){c5a(458271,i)|0;c=0}else c=C5a(f[c+660>>2]|0)|0;if((c|0)==(a|0)){c=f[124995]|0;if(!c){c5a(458271,d)|0;c=0}else c=C5a(f[c+664>>2]|0)|0;if((c|0)==(b|0)){b=0;u=i;return b|0}}c=f[124995]|0;do if(!b)a=0;else{if(!c){c5a(458271,e)|0;b=-1;u=i;return b|0}if(a|0?(f[a>>2]|0)==(c+280|0):0){if(f[a+48>>2]&2|0)break;b=c5a(458312,h)|0;u=i;return b|0}c5a(473742,g)|0;b=-1;u=i;return b|0}while(0);c=dj[f[c+180>>2]&255](c,a,b)|0;if(c|0){b=c;u=i;return b|0}h=f[124995]|0;f[h+652>>2]=a;f[h+656>>2]=b;nab(f[h+660>>2]|0,a,0)|0;nab(f[(f[124995]|0)+664>>2]|0,b,0)|0;b=0;u=i;return b|0}function a5a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=u;u=u+32|0;e=g+16|0;d=g+8|0;b=f[124995]|0;do if(b){c=f[b+168>>2]|0;if(!c){c5a(460297,e)|0;a=0;break}if(!(f[b+388>>2]|0)){c5a(460268,d)|0;a=0;break}else{a=cj[c&1023](b,a)|0;break}}else{c5a(458271,g)|0;a=0}while(0);u=g;return a|0}function b5a(){var a=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,q=0,r=0,s=0;s=u;u=u+64|0;q=s+56|0;o=s+48|0;n=s+40|0;m=s+32|0;j=s;b[490368]=0;if(!(f[124338]|0)){u=s;return 490368}a=b[497356]|0;if(!(a<<24>>24))a=490368;else{k=j+1|0;l=j+30|0;i=0;c=490368;e=497356;d=1023;while(1){if(a<<24>>24==37){b[j>>0]=37;h=k;a=e+1|0;while(1){g=b[a>>0]|0;if(!(g<<24>>24==46|(g+-48&255)<10)){r=8;break}a=a+1|0;e=h+1|0;b[h>>0]=g;if(h>>>0<l>>>0)h=e;else{g=e;e=a;break}}if((r|0)==8){r=0;b[h>>0]=g;g=h+1|0;e=a+1|0}b[g>>0]=0;switch(b[h>>0]|0){case 37:{b[c>>0]=37;a=i;c=c+1|0;d=d+-1|0;break}case 88:case 120:case 111:case 117:case 100:case 105:case 99:{f[m>>2]=f[497488+(i<<7)>>2];h=mab(c,d,j,m)|0;g=(h|0)>0;a=i+1|0;c=g?c+h|0:c;d=d-(g?h:0)|0;break}case 102:{p[n>>3]=+p[497488+(i<<7)>>3];h=mab(c,d,j,n)|0;g=(h|0)>0;a=i+1|0;c=g?c+h|0:c;d=d-(g?h:0)|0;break}case 112:{f[o>>2]=f[497488+(i<<7)>>2];h=mab(c,d,j,o)|0;g=(h|0)>0;a=i+1|0;c=g?c+h|0:c;d=d-(g?h:0)|0;break}case 115:{f[q>>2]=497488+(i<<7);h=mab(c,d,j,q)|0;g=(h|0)>0;a=i+1|0;c=g?c+h|0:c;d=d-(g?h:0)|0;break}default:a=i}g=a}else{b[c>>0]=a;g=i;c=c+1|0;d=d+-1|0;e=e+1|0}a=b[e>>0]|0;if(!((d|0)>0&a<<24>>24!=0))break;else i=g}a=(d|0)<0?c+(d+-1)|0:c}b[a>>0]=0;u=s;return 490368}function c5a(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0.0;i=u;u=u+32|0;h=i+16|0;g=i;if(!a){u=i;return -1}f[124338]=1;hab(497356,a,128)|0;f[g>>2]=c;f[124371]=0;d=b[a>>0]|0;a:do if(d<<24>>24){c=a;a=0;do{c=c+1|0;if(d<<24>>24==37){while(1){e=b[c>>0]|0;d=c+1|0;if(e<<24>>24==46|(e+-48&255)<10)c=d;else break}switch(e<<24>>24|0){case 0:break;case 88:case 120:case 111:case 117:case 100:case 105:case 99:{e=(f[g>>2]|0)+(4-1)&~(4-1);c=f[e>>2]|0;f[g>>2]=e+4;e=a+1|0;f[124371]=e;f[497488+(a<<7)>>2]=c;c=d;a=e;break}case 102:{e=(f[g>>2]|0)+(8-1)&~(8-1);j=+p[e>>3];f[g>>2]=e+8;e=a+1|0;f[124371]=e;p[497488+(a<<7)>>3]=j;c=d;a=e;break}case 112:{e=(f[g>>2]|0)+(4-1)&~(4-1);c=f[e>>2]|0;f[g>>2]=e+4;e=a+1|0;f[124371]=e;f[497488+(a<<7)>>2]=c;c=d;a=e;break}case 115:{e=(f[g>>2]|0)+(4-1)&~(4-1);c=f[e>>2]|0;f[g>>2]=e+4;hab(497488+(a<<7)|0,(c|0)==0?486513:c,128)|0;a=(f[124371]|0)+1|0;f[124371]=a;c=d;break}default:c=d}if((a|0)>4)break a}d=b[c>>0]|0}while(d<<24>>24!=0)}while(0);b5a()|0;f[h>>2]=490368;iab(1,460218,h);u=i;return -1}function d5a(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+32|0;b=f[124995]|0;if(!b){a=c5a(458271,d)|0;u=d;return a|0}if(!(C5a(f[b+664>>2]|0)|0)){a=c5a(460135,d+8|0)|0;u=d;return a|0}c=f[124995]|0;b=f[c+188>>2]|0;if(!b){a=c5a(460175,d+16|0)|0;u=d;return a|0}else{a=cj[b&1023](c,a)|0;u=d;return a|0}return 0}function e5a(){var a=0,b=0;a=f[124995]|0;if(!a){b=0;return b|0}if(!(C5a(f[a+664>>2]|0)|0)){b=0;return b|0}a=f[124995]|0;b=f[a+192>>2]|0;if(!b){b=0;return b|0}b=_i[b&2047](a)|0;return b|0}function f5a(a,c){a=a|0;c=c|0;switch(b[c+12>>0]|0){case 2:case 1:case 6:{f[124994]=0;return}case 7:{nj[f[(f[a+320>>2]|0)+88>>2]&15]();return}default:return}}function g5a(a,b,c){a=a|0;b=b|0;c=c|0;dab(f[a+188>>2]|0,b,c);return 0}function h5a(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,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;S=u;u=u+224|0;Q=S+200|0;O=S+176|0;K=S+152|0;H=S+128|0;F=S+104|0;B=S+80|0;y=S+56|0;n=S+32|0;k=S+8|0;h=S;P=a+320|0;J=f[P>>2]|0;g=f[J>>2]|0;if((f[124994]|0)!=(g|0)){f[J+268>>2]=0;if(($4a(f[a+188>>2]|0,g)|0)>=0){f[124994]=f[J>>2];n5a(a)|0;e=f[P>>2]|0;R=4}}else{e=J;R=4}if((R|0)==4?f[e+4>>2]|0:0){a=e+108|0;do{}while((Zi[f[a>>2]&15]()|0)!=0)}g=c+4|0;a=f[g>>2]|0;a:do if((a|0)<825382478)if((a|0)<374740996)if((a|0)<372645892)switch(a|0){case 370546692:{s=6408;break a}default:{R=9;break a}}else switch(a|0){case 372645892:{s=6408;break a}default:{R=9;break a}}else if((a|0)<376840196)switch(a|0){case 374740996:{s=6408;break a}default:{R=9;break a}}else switch(a|0){case 376840196:{s=6408;break a}default:{R=9;break a}}else{b:do if((a|0)<842094169)if((a|0)<842094158)switch(a|0){case 825382478:break b;default:{R=9;break a}}else switch(a|0){case 842094158:break b;default:{R=9;break a}}else if((a|0)<1448433993)switch(a|0){case 842094169:break b;default:{R=9;break a}}else switch(a|0){case 1448433993:break b;default:{R=9;break a}}while(0);s=6409}while(0);if((R|0)==9){R=c5a(460021,h)|0;u=S;return R|0}M=X4a(1,44)|0;if(!M){R=Y4a(0)|0;u=S;return R|0}f[M>>2]=0;v=M+4|0;f[v>>2]=3553;f[M+8>>2]=s;f[M+12>>2]=5121;p=f[g>>2]|0;h=M+24|0;f[h>>2]=((p|0)==1448433993|(p|0)==842094169)&1;o=M+28|0;f[o>>2]=((p|0)==842094158|(p|0)==825382478)&1;p=M+36|0;f[p>>2]=0;l=M+32|0;f[l>>2]=0;a=eab(461383)|0;if((a|0)!=0?(b[a>>0]|0)!=48:0){q=(fab(a,461408)|0)==0;q=q?9728:9729}else q=9728;w=c+8|0;if((f[w>>2]|0)==1){e=f[c+12>>2]|0;a=f[g>>2]|0;c:do if((a|0)==0|(a&-268435456|0)==268435456)a=a&255;else{if((a|0)<1498831189)switch(a|0){case 844715353:{a=2;break c}default:{}}else switch(a|0){case 1498831189:{a=2;break c}default:{}}a=(a|0)==1431918169?2:1}while(0);e=W(a,e)|0;f[M+20>>2]=e;e=W(f[c+16>>2]|0,e)|0;if(!(f[h>>2]|0))a=e;else a=((e|0)/2|0)+e|0;if(f[o>>2]|0)a=a+((e|0)/2|0)|0;g=X4a(1,a)|0;f[M+16>>2]=g;if(!g){A5a(M);R=Y4a(0)|0;u=S;return R|0}}a=f[P>>2]|0;if(f[a+4>>2]|0?(j=a+108|0,i=Zi[f[j>>2]&15]()|0,i|0):0){a=505031;g=i;do{d:do if((a|0)!=0?(b[a>>0]|0)!=0:0)switch(g|0){case 1280:{e=458035;break d}case 1281:{e=458051;break d}case 1282:{e=458068;break d}case 1285:{e=458089;break d}default:{e=458106;break d}}else R=36;while(0);e:do if((R|0)==36){R=0;switch(g|0){case 1280:{a=458027;e=458035;break e}case 1281:{a=458027;e=458051;break e}case 1282:{a=458027;e=458068;break e}case 1285:{a=458027;e=458089;break e}default:{a=458027;e=458106;break e}}}while(0);f[k>>2]=a;f[k+4>>2]=458140;f[k+8>>2]=574;f[k+12>>2]=460050;f[k+16>>2]=e;f[k+20>>2]=g;c5a(458114,k)|0;g=Zi[f[j>>2]&15]()|0}while((g|0)!=0)}if(f[h>>2]|0){k=J+96|0;Bj[f[k>>2]&1023](1,l);a=f[P>>2]|0;if(f[a+4>>2]|0?(m=a+108|0,d=Zi[f[m>>2]&15]()|0,d|0):0){while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[n>>2]=460105;f[n+4>>2]=458140;f[n+8>>2]=578;f[n+12>>2]=460050;f[n+16>>2]=a;f[n+20>>2]=d;c5a(458114,n)|0;d=Zi[f[m>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}i=J+16|0;tj[f[i>>2]&2047](33986);j=J+28|0;Bj[f[j>>2]&1023](f[v>>2]|0,f[l>>2]|0);a=J+160|0;Fj[f[a>>2]&511](f[v>>2]|0,10241,q);Fj[f[a>>2]&511](f[v>>2]|0,10240,q);Fj[f[a>>2]&511](f[v>>2]|0,10242,33071);Fj[f[a>>2]&511](f[v>>2]|0,10243,33071);e=J+156|0;g=c+12|0;h=c+16|0;Oj[f[e>>2]&15](f[v>>2]|0,0,s,(f[g>>2]|0)/2|0,(f[h>>2]|0)/2|0,0,s,5121,0);Bj[f[k>>2]&1023](1,p);d=f[P>>2]|0;if(f[d+4>>2]|0?(x=d+108|0,r=Zi[f[x>>2]&15]()|0,r|0):0){d=r;while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[y>>2]=460105;f[y+4>>2]=458140;f[y+8>>2]=590;f[y+12>>2]=460050;f[y+16>>2]=a;f[y+20>>2]=d;c5a(458114,y)|0;d=Zi[f[x>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}tj[f[i>>2]&2047](33985);Bj[f[j>>2]&1023](f[v>>2]|0,f[p>>2]|0);Fj[f[a>>2]&511](f[v>>2]|0,10241,q);Fj[f[a>>2]&511](f[v>>2]|0,10240,q);Fj[f[a>>2]&511](f[v>>2]|0,10242,33071);Fj[f[a>>2]&511](f[v>>2]|0,10243,33071);Oj[f[e>>2]&15](f[v>>2]|0,0,s,(f[g>>2]|0)/2|0,(f[h>>2]|0)/2|0,0,s,5121,0);d=f[P>>2]|0;if(f[d+4>>2]|0?(z=d+108|0,t=Zi[f[z>>2]&15]()|0,t|0):0){d=t;while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[B>>2]=460120;f[B+4>>2]=458140;f[B+8>>2]=600;f[B+12>>2]=460050;f[B+16>>2]=a;f[B+20>>2]=d;c5a(458114,B)|0;d=Zi[f[z>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}}a=J+96|0;if(f[o>>2]|0){Bj[f[a>>2]&1023](1,p);d=f[P>>2]|0;if(f[d+4>>2]|0?(D=d+108|0,A=Zi[f[D>>2]&15]()|0,A|0):0){d=A;while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[F>>2]=460105;f[F+4>>2]=458140;f[F+8>>2]=607;f[F+12>>2]=460050;f[F+16>>2]=a;f[F+20>>2]=d;c5a(458114,F)|0;d=Zi[f[D>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}tj[f[J+16>>2]&2047](33985);Bj[f[J+28>>2]&1023](f[v>>2]|0,f[p>>2]|0);d=J+160|0;Fj[f[d>>2]&511](f[v>>2]|0,10241,q);Fj[f[d>>2]&511](f[v>>2]|0,10240,q);Fj[f[d>>2]&511](f[v>>2]|0,10242,33071);Fj[f[d>>2]&511](f[v>>2]|0,10243,33071);Oj[f[J+156>>2]&15](f[v>>2]|0,0,6410,(f[c+12>>2]|0)/2|0,(f[c+16>>2]|0)/2|0,0,6410,5121,0);d=f[P>>2]|0;if(f[d+4>>2]|0?(G=d+108|0,C=Zi[f[G>>2]&15]()|0,C|0):0){d=C;while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[H>>2]=460120;f[H+4>>2]=458140;f[H+8>>2]=617;f[H+12>>2]=460050;f[H+16>>2]=a;f[H+20>>2]=d;c5a(458114,H)|0;d=Zi[f[G>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}}Bj[f[a>>2]&1023](1,M);d=f[P>>2]|0;if(f[d+4>>2]|0?(I=d+108|0,E=Zi[f[I>>2]&15]()|0,E|0):0){d=E;while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[K>>2]=460105;f[K+4>>2]=458140;f[K+8>>2]=623;f[K+12>>2]=460050;f[K+16>>2]=a;f[K+20>>2]=d;c5a(458114,K)|0;d=Zi[f[I>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}f[c+68>>2]=M;tj[f[J+16>>2]&2047](33984);Bj[f[J+28>>2]&1023](f[v>>2]|0,f[M>>2]|0);a=J+160|0;Fj[f[a>>2]&511](f[v>>2]|0,10241,q);Fj[f[a>>2]&511](f[v>>2]|0,10240,q);Fj[f[a>>2]&511](f[v>>2]|0,10242,33071);Fj[f[a>>2]&511](f[v>>2]|0,10243,33071);a=c+12|0;e=c+16|0;Oj[f[J+156>>2]&15](f[v>>2]|0,0,s,f[a>>2]|0,f[e>>2]|0,0,s,5121,0);d=f[P>>2]|0;if(f[d+4>>2]|0?(N=d+108|0,L=Zi[f[N>>2]&15]()|0,L|0):0){d=L;while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[O>>2]=460120;f[O+4>>2]=458140;f[O+8>>2]=634;f[O+12>>2]=460050;f[O+16>>2]=a;f[O+20>>2]=d;c5a(458114,O)|0;d=Zi[f[N>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}f:do if((f[w>>2]|0)==2){h=f[P>>2]|0;g=f[a>>2]|0;a=f[e>>2]|0;e=h+232|0;d=f[e>>2]|0;if(d|0)do{if((f[d>>2]|0)==(g|0)?(f[d+4>>2]|0)==(a|0):0)break f;d=f[d+12>>2]|0}while((d|0)!=0);d=K5a(16)|0;f[d>>2]=g;f[d+4>>2]=a;Bj[f[h+92>>2]&1023](1,d+8|0);f[d+12>>2]=f[e>>2];f[e>>2]=d}else d=0;while(0);f[M+40>>2]=d;d=f[P>>2]|0;if(!(f[d+4>>2]|0)){R=0;u=S;return R|0}g=d+108|0;d=Zi[f[g>>2]&15]()|0;if(!d){R=0;u=S;return R|0}a=505031;while(1){g:do if((a|0)!=0?(b[a>>0]|0)!=0:0)switch(d|0){case 1280:{e=458035;break g}case 1281:{e=458051;break g}case 1282:{e=458068;break g}case 1285:{e=458089;break g}default:{e=458106;break g}}else R=124;while(0);h:do if((R|0)==124){R=0;switch(d|0){case 1280:{a=458027;e=458035;break h}case 1281:{a=458027;e=458051;break h}case 1282:{a=458027;e=458068;break h}case 1285:{a=458027;e=458089;break h}default:{a=458027;e=458106;break h}}}while(0);f[Q>>2]=a;f[Q+4>>2]=458140;f[Q+8>>2]=644;f[Q+12>>2]=460050;f[Q+16>>2]=e;f[Q+20>>2]=d;c5a(458114,Q)|0;d=Zi[f[g>>2]&15]()|0;if(!d){d=-1;break}}u=S;return d|0}function i5a(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,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;I=u;u=u+32|0;H=I;F=a+320|0;G=f[F>>2]|0;E=f[b+68>>2]|0;g=f[G>>2]|0;if((f[124994]|0)!=(g|0)){f[G+268>>2]=0;if(($4a(f[a+188>>2]|0,g)|0)>=0){f[124994]=f[G>>2];n5a(a)|0;h=f[F>>2]|0;s=4}}else{h=G;s=4}if((s|0)==4?f[h+4>>2]|0:0){a=h+108|0;do{}while((Zi[f[a>>2]&15]()|0)!=0)}C=c+8|0;if((f[C>>2]|0)<1){H=0;u=I;return H|0}D=c+12|0;if((f[D>>2]|0)<1){H=0;u=I;return H|0}z=G+28|0;A=E+4|0;Bj[f[z>>2]&1023](f[A>>2]|0,f[E>>2]|0);j=f[A>>2]|0;k=f[c>>2]|0;B=c+4|0;l=f[B>>2]|0;m=f[C>>2]|0;n=f[D>>2]|0;x=E+8|0;o=f[x>>2]|0;y=E+12|0;p=f[y>>2]|0;w=b+4|0;a=f[w>>2]|0;a:do if((a|0)==0|(a&-268435456|0)==268435456)a=a&255;else{if((a|0)<1498831189)switch(a|0){case 844715353:{a=2;break a}default:{}}else switch(a|0){case 1498831189:{a=2;break a}default:{}}a=(a|0)==1431918169?2:1}while(0);b=W(a,m)|0;do if((b|0)!=(e|0)){i=K5a(W(b,n)|0)|0;if(!i){Y4a(0)|0;break}if((n|0)>0){a=0;g=i;h=d;while(1){M5a(g,h,b)|0;a=a+1|0;if((a|0)==(n|0)){q=i;r=i;s=19;break}else{g=g+b|0;h=h+e|0}}}else{q=i;r=i;s=19}}else{q=0;r=d;s=19}while(0);if((s|0)==19?(Oj[f[G+164>>2]&15](j,0,k,l,m,n,o,p,r),q|0):0)A5a(q);do if(f[E+24>>2]|0){o=d+(W(f[D>>2]|0,e)|0)|0;d=f[z>>2]|0;a=f[A>>2]|0;if((f[w>>2]|0)==842094169)Bj[d&1023](a,f[E+32>>2]|0);else Bj[d&1023](a,f[E+36>>2]|0);h=f[A>>2]|0;b=(f[c>>2]|0)/2|0;i=(f[B>>2]|0)/2|0;j=(f[C>>2]|0)/2|0;d=f[D>>2]|0;k=(d|0)/2|0;l=f[x>>2]|0;m=f[y>>2]|0;p=(e|0)/2|0;do if((j|0)!=(p|0)){n=K5a(W(k,j)|0)|0;if(!n){Y4a(0)|0;break}if((d|0)>1){d=0;a=n;g=o;while(1){M5a(a,g,j)|0;d=d+1|0;if((d|0)==(k|0)){t=n;v=n;s=31;break}else{a=a+j|0;g=g+p|0}}}else{t=n;v=n;s=31}}else{t=0;v=o;s=31}while(0);if((s|0)==31?(Oj[f[G+164>>2]&15](h,0,b,i,j,k,l,m,v),t|0):0)A5a(t);d=o+((W(f[D>>2]|0,e)|0)/4|0)|0;a=f[z>>2]|0;g=f[A>>2]|0;if((f[w>>2]|0)==842094169)Bj[a&1023](g,f[E+36>>2]|0);else Bj[a&1023](g,f[E+32>>2]|0);k=f[A>>2]|0;l=(f[c>>2]|0)/2|0;m=(f[B>>2]|0)/2|0;n=(f[C>>2]|0)/2|0;a=f[D>>2]|0;o=(a|0)/2|0;j=f[x>>2]|0;i=f[y>>2]|0;if((n|0)!=(p|0)){b=K5a(W(o,n)|0)|0;if(!b){Y4a(0)|0;break}if((a|0)>1){a=0;g=b;h=d;while(1){M5a(g,h,n)|0;a=a+1|0;if((a|0)==(o|0)){g=b;a=b;break}else{g=g+n|0;h=h+p|0}}}else{g=b;a=b}}else{g=0;a=d}Oj[f[G+164>>2]&15](k,0,l,m,n,o,j,i,a);if(g)A5a(g)}while(0);do if(f[E+28>>2]|0){d=d+(W(f[D>>2]|0,e)|0)|0;Bj[f[z>>2]&1023](f[A>>2]|0,f[E+36>>2]|0);m=f[A>>2]|0;l=(f[c>>2]|0)/2|0;k=(f[B>>2]|0)/2|0;j=(f[C>>2]|0)/2|0;a=f[D>>2]|0;i=(a|0)/2|0;h=j<<1;if((h|0)!=(e|0)){b=K5a(W(h,i)|0)|0;if(!b){Y4a(0)|0;break}if((a|0)>1){a=0;g=b;while(1){M5a(g,d,h)|0;a=a+1|0;if((a|0)==(i|0)){a=b;d=b;break}else{g=g+h|0;d=d+e|0}}}else{a=b;d=b}}else a=0;Oj[f[G+164>>2]&15](m,0,l,k,j,i,6410,5121,d);if(a|0)A5a(a)}while(0);d=f[F>>2]|0;if(!(f[d+4>>2]|0)){H=0;u=I;return H|0}g=d+108|0;d=Zi[f[g>>2]&15]()|0;if(!d){H=0;u=I;return H|0}while(1){switch(d|0){case 1280:{a=458035;break}case 1281:{a=458051;break}case 1282:{a=458068;break}case 1285:{a=458089;break}default:a=458106}f[H>>2]=459775;f[H+4>>2]=458140;f[H+8>>2]=753;f[H+12>>2]=459929;f[H+16>>2]=a;f[H+20>>2]=d;c5a(458114,H)|0;d=Zi[f[g>>2]&15]()|0;if(!d){d=-1;break}}u=I;return d|0}function j5a(a,b,c,d,e,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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;M=u;u=u+32|0;L=M;K=a+320|0;J=f[K>>2]|0;C=f[b+68>>2]|0;b=f[J>>2]|0;if((f[124994]|0)!=(b|0)){f[J+268>>2]=0;if(($4a(f[a+188>>2]|0,b)|0)>=0){f[124994]=f[J>>2];n5a(a)|0;k=f[K>>2]|0;G=4}}else{k=J;G=4}if((G|0)==4?f[k+4>>2]|0:0){b=k+108|0;do{}while((Zi[f[b>>2]&15]()|0)!=0)}B=c+8|0;if((f[B>>2]|0)<1){L=0;u=M;return L|0}D=c+12|0;if((f[D>>2]|0)<1){L=0;u=M;return L|0}w=J+28|0;x=C+4|0;Bj[f[w>>2]&1023](f[x>>2]|0,f[C+32>>2]|0);l=f[x>>2]|0;m=(f[c>>2]|0)/2|0;A=c+4|0;n=(f[A>>2]|0)/2|0;o=(f[B>>2]|0)/2|0;b=f[D>>2]|0;p=(b|0)/2|0;E=C+8|0;q=f[E>>2]|0;F=C+12|0;r=f[F>>2]|0;do if((o|0)!=(j|0)){s=K5a(W(p,o)|0)|0;if(!s){Y4a(0)|0;break}if((b|0)>1){a=0;k=s;b=i;while(1){M5a(k,b,o)|0;a=a+1|0;if((a|0)==(p|0)){t=s;v=s;G=15;break}else{k=k+o|0;b=b+j|0}}}else{t=s;v=s;G=15}}else{t=0;v=i;G=15}while(0);if((G|0)==15?(Oj[f[J+164>>2]&15](l,0,m,n,o,p,q,r,v),t|0):0)A5a(t);Bj[f[w>>2]&1023](f[x>>2]|0,f[C+36>>2]|0);l=f[x>>2]|0;m=(f[c>>2]|0)/2|0;n=(f[A>>2]|0)/2|0;o=(f[B>>2]|0)/2|0;b=f[D>>2]|0;p=(b|0)/2|0;q=f[E>>2]|0;r=f[F>>2]|0;do if((o|0)!=(h|0)){s=K5a(W(p,o)|0)|0;if(!s){Y4a(0)|0;break}if((b|0)>1){a=0;k=s;b=g;while(1){M5a(k,b,o)|0;a=a+1|0;if((a|0)==(p|0)){y=s;z=s;G=23;break}else{k=k+o|0;b=b+h|0}}}else{y=s;z=s;G=23}}else{y=0;z=g;G=23}while(0);if((G|0)==23?(Oj[f[J+164>>2]&15](l,0,m,n,o,p,q,r,z),y|0):0)A5a(y);Bj[f[w>>2]&1023](f[x>>2]|0,f[C>>2]|0);r=f[x>>2]|0;q=f[c>>2]|0;p=f[A>>2]|0;o=f[B>>2]|0;n=f[D>>2]|0;m=f[E>>2]|0;k=f[F>>2]|0;do if((o|0)!=(e|0)){l=K5a(W(n,o)|0)|0;if(!l){Y4a(0)|0;break}if((n|0)>0){b=0;a=l;while(1){M5a(a,d,o)|0;b=b+1|0;if((b|0)==(n|0)){H=l;I=l;G=31;break}else{a=a+o|0;d=d+e|0}}}else{H=l;I=l;G=31}}else{H=0;I=d;G=31}while(0);if((G|0)==31?(Oj[f[J+164>>2]&15](r,0,q,p,o,n,m,k,I),H|0):0)A5a(H);d=f[K>>2]|0;if(!(f[d+4>>2]|0)){L=0;u=M;return L|0}a=d+108|0;d=Zi[f[a>>2]&15]()|0;if(!d){L=0;u=M;return L|0}while(1){switch(d|0){case 1280:{b=458035;break}case 1281:{b=458051;break}case 1282:{b=458068;break}case 1285:{b=458089;break}default:b=458106}f[L>>2]=459775;f[L+4>>2]=458140;f[L+8>>2]=803;f[L+12>>2]=459793;f[L+16>>2]=b;f[L+20>>2]=d;c5a(458114,L)|0;d=Zi[f[a>>2]&15]()|0;if(!d){d=-1;break}}u=M;return d|0}function k5a(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;h=f[b+68>>2]|0;g=f[h+20>>2]|0;h=(f[h+16>>2]|0)+(W(f[c+4>>2]|0,g)|0)|0;c=f[c>>2]|0;a=f[b+4>>2]|0;a:do if((a|0)==0|(a&-268435456|0)==268435456)a=a&255;else{if((a|0)<1498831189)switch(a|0){case 844715353:{a=2;break a}default:{}}else switch(a|0){case 1498831189:{a=2;break a}default:{}}a=(a|0)==1431918169?2:1}while(0);h=h+(W(a,c)|0)|0;f[d>>2]=h;f[e>>2]=g;return 0}function l5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=u;u=u+16|0;e=c;d=f[b+68>>2]|0;f[e>>2]=0;f[e+4>>2]=0;f[e+8>>2]=f[b+12>>2];f[e+12>>2]=f[b+16>>2];i5a(a,b,e,f[d+16>>2]|0,f[d+20>>2]|0)|0;u=c;return}function m5a(a,b){a=a|0;b=b|0;var c=0;c=u;u=u+16|0;a=f[a+320>>2]|0;if(!b){Bj[f[a+192>>2]&1023](36160,f[a+236>>2]|0);b=0;u=c;return b|0}b=f[b+68>>2]|0;Bj[f[a+192>>2]&1023](36160,f[(f[b+40>>2]|0)+8>>2]|0);Kj[f[a+196>>2]&63](36160,36064,f[b+4>>2]|0,f[b>>2]|0,0);if((_i[f[a+200>>2]&2047](36160)|0)==36053){b=0;u=c;return b|0}b=c5a(459743,c)|0;u=c;return b|0}function n5a(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,q=0;p=u;u=u+96|0;m=p+64|0;c=p;d=p+88|0;e=a+320|0;h=f[e>>2]|0;if((f[124994]|0)!=(f[h>>2]|0)){o=0;u=p;return o|0}l=a+308|0;if(!(f[l>>2]|0)){dab(f[a+188>>2]|0,c,d);q=f[a+228>>2]|0;Ij[f[h+188>>2]&127](f[a+216>>2]|0,(f[d>>2]|0)-(f[a+220>>2]|0)-q|0,f[a+224>>2]|0,q)}else Ij[f[h+188>>2]&127](f[a+216>>2]|0,f[a+220>>2]|0,f[a+224>>2]|0,f[a+228>>2]|0);if(((f[h+268>>2]|0?(g=f[e>>2]|0,i=f[a+224>>2]|0,i|0):0)?(j=f[a+228>>2]|0,j|0):0)?(n[c>>2]=2.0/+(i|0),k=c+4|0,f[k>>2]=0,f[k+4>>2]=0,f[k+8>>2]=0,f[k+12>>2]=0,k=(f[l>>2]|0)==0,n[c+20>>2]=(k?-2.0:2.0)/+(j|0),q=c+24|0,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,n[c+48>>2]=-1.0,n[c+52>>2]=k?1.0:-1.0,n[c+56>>2]=0.0,n[c+60>>2]=1.0,k=g+268|0,P9a((f[k>>2]|0)+88|0,c,64)|0):0){Ij[f[g+176>>2]&127](f[(f[k>>2]|0)+16>>2]|0,1,0,c);M5a((f[k>>2]|0)+88|0,c,64)|0}a=f[e>>2]|0;if(!(f[a+4>>2]|0)){q=0;u=p;return q|0}e=a+108|0;a=Zi[f[e>>2]&15]()|0;if(!a){q=0;u=p;return q|0}c=505031;while(1){a:do if((c|0)!=0?(b[c>>0]|0)!=0:0)switch(a|0){case 1280:{d=458035;break a}case 1281:{d=458051;break a}case 1282:{d=458068;break a}case 1285:{d=458089;break a}default:{d=458106;break a}}else o=21;while(0);b:do if((o|0)==21){o=0;switch(a|0){case 1280:{c=458027;d=458035;break b}case 1281:{c=458027;d=458051;break b}case 1282:{c=458027;d=458068;break b}case 1285:{c=458027;d=458089;break b}default:{c=458027;d=458106;break b}}}while(0);f[m>>2]=c;f[m+4>>2]=458140;f[m+8>>2]=399;f[m+12>>2]=459702;f[m+16>>2]=d;f[m+20>>2]=a;c5a(458114,m)|0;a=Zi[f[e>>2]&15]()|0;if(!a){a=-1;break}}u=p;return a|0}function o5a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;d=f[a+320>>2]|0;if((f[124994]|0)!=(f[d>>2]|0)){u=e;return 0}if(!(f[a+280>>2]|0)){tj[f[d+68>>2]&2047](3089);u=e;return 0}b=a+248|0;tj[f[d+80>>2]&2047](3089);if(!(f[a+308>>2]|0)){dab(f[a+188>>2]|0,e+4|0,c);g=f[a+260>>2]|0;Ij[f[d+144>>2]&127]((f[b>>2]|0)+(f[a+216>>2]|0)|0,(f[c>>2]|0)-(f[a+220>>2]|0)-(f[a+252>>2]|0)-g|0,f[a+256>>2]|0,g);u=e;return 0}else{Ij[f[d+144>>2]&127]((f[b>>2]|0)+(f[a+216>>2]|0)|0,(f[a+252>>2]|0)+(f[a+220>>2]|0)|0,f[a+256>>2]|0,f[a+260>>2]|0);u=e;return 0}return 0}function p5a(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;c=a+320|0;s=f[c>>2]|0;e=f[s>>2]|0;if((f[124994]|0)!=(e|0)){f[s+268>>2]=0;if(($4a(f[a+188>>2]|0,e)|0)>=0){f[124994]=f[s>>2];n5a(a)|0;d=f[c>>2]|0;r=4}}else{d=s;r=4}if((r|0)==4?f[d+4>>2]|0:0){c=d+108|0;do{}while((Zi[f[c>>2]&15]()|0)!=0)}g=s+272|0;i=s+273|0;j=s+274|0;k=s+275|0;l=a+312|0;c=b[l>>0]|0;m=a+313|0;n=b[m>>0]|0;o=a+314|0;e=b[o>>0]|0;p=a+315|0;q=b[p>>0]|0;if(((h[i>>0]|0)<<16|(h[g>>0]|0)<<24|(h[j>>0]|0)<<8|(h[k>>0]|0)|0)!=((n&255)<<16|(c&255)<<24|(e&255)<<8|q&255|0)){d=f[a+308>>2]|0;a:do if(d){d=f[d+4>>2]|0;if((d|0)<372645892)switch(d|0){case 370546692:{d=e;break a}default:{r=10;break a}}else switch(d|0){case 372645892:{d=e;break a}default:{r=10;break a}}}else r=10;while(0);if((r|0)==10){d=c;c=e}qj[f[s+40>>2]&3](+(d&255)*.003921568859368563,+(n&255)*.003921568859368563,+(c&255)*.003921568859368563,+(q&255)*.003921568859368563);b[g>>0]=b[l>>0]|0;b[i>>0]=b[m>>0]|0;b[j>>0]=b[o>>0]|0;b[k>>0]=b[p>>0]|0}c=a+280|0;if(f[c>>2]|0)tj[f[s+68>>2]&2047](3089);tj[f[s+36>>2]&2047](16384);if(!(f[c>>2]|0))return 0;tj[f[s+80>>2]&2047](3089);return 0}function q5a(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.0;i=u;d=a+320|0;h=f[d>>2]|0;if((cab(a)|0)<0){h=-1;u=i;return h|0}e=c<<3;g=u;u=u+((1*e|0)+15&-16)|0;if((c|0)>0){a=0;do{k=+n[b+(a<<3)+4>>2]+.5;j=a<<1;n[g+(j<<2)>>2]=+n[b+(a<<3)>>2]+.5;n[g+((j|1)<<2)>>2]=k;a=a+1|0}while((a|0)!=(c|0))}d=f[d>>2]|0;b=d+276|0;a=f[b>>2]|0;if(!a){Bj[f[d+216>>2]&1023](1,b);a=f[b>>2]|0}Bj[f[d+220>>2]&1023](34962,a);a=d+292|0;if((f[a>>2]|0)>>>0<e>>>0){Ij[f[d+224>>2]&127](34962,e,g,35040);f[a>>2]=e}else Ij[f[d+228>>2]&127](34962,0,e,g);Lj[f[d+184>>2]&15](0,2,5126,0,0,0);Fj[f[h+76>>2]&511](0,0,c);j=0;u=i;return j|0}function r5a(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,o=0,p=0.0;o=u;u=u+32|0;l=o;k=a+320|0;j=f[k>>2]|0;if((cab(a)|0)<0){m=-1;u=o;return m|0}h=d<<3;i=u;u=u+((1*h|0)+15&-16)|0;if((d|0)>0){a=0;do{p=+n[c+(a<<3)+4>>2]+.5;g=a<<1;n[i+(g<<2)>>2]=+n[c+(a<<3)>>2]+.5;n[i+((g|1)<<2)>>2]=p;a=a+1|0}while((a|0)!=(d|0))}g=f[k>>2]|0;e=g+276|0;a=f[e>>2]|0;if(!a){Bj[f[g+216>>2]&1023](1,e);a=f[e>>2]|0}Bj[f[g+220>>2]&1023](34962,a);a=g+292|0;if((f[a>>2]|0)>>>0<h>>>0){Ij[f[g+224>>2]&127](34962,h,i,35040);f[a>>2]=h}else Ij[f[g+228>>2]&127](34962,0,h,i);Lj[f[g+184>>2]&15](0,2,5126,0,0,0);e=j+76|0;Fj[f[e>>2]&511](3,0,d);if((d|0)!=2){a=d+-1|0;if(!(!(+n[c>>2]!=+n[c+(a<<3)>>2])?!(+n[c+4>>2]!=+n[c+(a<<3)+4>>2]):0))m=13}else{a=1;m=13}if((m|0)==13)Fj[f[e>>2]&511](0,a,1);a=f[k>>2]|0;if(!(f[a+4>>2]|0)){m=0;u=o;return m|0}h=a+108|0;a=Zi[f[h>>2]&15]()|0;if(!a){m=0;u=o;return m|0}e=505031;while(1){a:do if((e|0)!=0?(b[e>>0]|0)!=0:0)switch(a|0){case 1280:{g=458035;break a}case 1281:{g=458051;break a}case 1282:{g=458068;break a}case 1285:{g=458089;break a}default:{g=458106;break a}}else m=24;while(0);b:do if((m|0)==24){m=0;switch(a|0){case 1280:{e=458027;g=458035;break b}case 1281:{e=458027;g=458051;break b}case 1282:{e=458027;g=458068;break b}case 1285:{e=458027;g=458089;break b}default:{e=458027;g=458106;break b}}}while(0);f[l>>2]=e;f[l+4>>2]=458140;f[l+8>>2]=1514;f[l+12>>2]=459635;f[l+16>>2]=g;f[l+20>>2]=a;c5a(458114,l)|0;a=Zi[f[h>>2]&15]()|0;if(!a){a=-1;break}}u=o;return a|0}function s5a(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,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0.0,y=0.0,z=0.0,A=0.0;w=u;u=u+64|0;t=w+32|0;r=w;s=a+320|0;e=f[s>>2]|0;if((cab(a)|0)<0){v=-1;u=w;return v|0}if((d|0)>0){q=r+4|0;j=r+8|0;k=r+12|0;l=r+16|0;m=r+20|0;o=r+24|0;p=r+28|0;h=e+76|0;g=0;do{z=+n[c+(g<<4)>>2];y=z+ +n[c+(g<<4)+8>>2];A=+n[c+(g<<4)+4>>2];x=A+ +n[c+(g<<4)+12>>2];n[r>>2]=z;n[q>>2]=A;n[j>>2]=y;n[k>>2]=A;n[l>>2]=z;n[m>>2]=x;n[o>>2]=y;n[p>>2]=x;i=f[s>>2]|0;e=i+276|0;a=f[e>>2]|0;if(!a){Bj[f[i+216>>2]&1023](1,e);a=f[e>>2]|0}Bj[f[i+220>>2]&1023](34962,a);a=i+292|0;if((f[a>>2]|0)>>>0<32){Ij[f[i+224>>2]&127](34962,32,r,35040);f[a>>2]=32}else Ij[f[i+228>>2]&127](34962,0,32,r);Lj[f[i+184>>2]&15](0,2,5126,0,0,0);Fj[f[h>>2]&511](5,0,4);g=g+1|0}while((g|0)!=(d|0))}a=f[s>>2]|0;if(!(f[a+4>>2]|0)){v=0;u=w;return v|0}h=a+108|0;a=Zi[f[h>>2]&15]()|0;if(!a){v=0;u=w;return v|0}e=505031;while(1){a:do if((e|0)!=0?(b[e>>0]|0)!=0:0)switch(a|0){case 1280:{g=458035;break a}case 1281:{g=458051;break a}case 1282:{g=458068;break a}case 1285:{g=458089;break a}default:{g=458106;break a}}else v=20;while(0);b:do if((v|0)==20){v=0;switch(a|0){case 1280:{e=458027;g=458035;break b}case 1281:{e=458027;g=458051;break b}case 1282:{e=458027;g=458068;break b}case 1285:{e=458027;g=458089;break b}default:{e=458027;g=458106;break b}}}while(0);f[t>>2]=e;f[t+4>>2]=458140;f[t+8>>2]=1549;f[t+12>>2]=459569;f[t+16>>2]=g;f[t+20>>2]=a;c5a(458114,t)|0;a=Zi[f[h>>2]&15]()|0;if(!a){a=-1;break}}u=w;return a|0}function t5a(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,o=0,p=0,q=0.0,r=0.0,t=0.0,v=0.0;p=u;u=u+96|0;m=p+64|0;i=p+32|0;j=p;k=a+320|0;l=f[k>>2]|0;h=f[l>>2]|0;if((f[124994]|0)!=(h|0)){f[l+268>>2]=0;if(($4a(f[a+188>>2]|0,h)|0)>=0){f[124994]=f[l>>2];n5a(a)|0;g=f[k>>2]|0;o=4}}else{g=l;o=4}if((o|0)==4?f[g+4>>2]|0:0){g=g+108|0;do{}while((Zi[f[g>>2]&15]()|0)!=0)}if((_9a(a,c)|0)<0){o=-1;u=p;return o|0}h=f[e>>2]|0;f[i>>2]=h;a=f[e+4>>2]|0;f[i+4>>2]=a;r=+n[e+8>>2]+(f[s>>2]=h,+n[s>>2]);n[i+8>>2]=r;f[i+12>>2]=a;f[i+16>>2]=h;q=+n[e+12>>2]+(f[s>>2]=a,+n[s>>2]);n[i+20>>2]=q;n[i+24>>2]=r;n[i+28>>2]=q;a=f[k>>2]|0;h=a+276|0;g=f[h>>2]|0;if(!g){Bj[f[a+216>>2]&1023](1,h);g=f[h>>2]|0}Bj[f[a+220>>2]&1023](34962,g);g=a+292|0;if((f[g>>2]|0)>>>0<32){Ij[f[a+224>>2]&127](34962,32,i,35040);f[g>>2]=32}else Ij[f[a+228>>2]&127](34962,0,32,i);Lj[f[a+184>>2]&15](0,2,5126,0,0,0);h=f[d>>2]|0;q=+(f[c+12>>2]|0);t=+(h|0)/q;n[j>>2]=t;a=f[d+4>>2]|0;r=+(f[c+16>>2]|0);v=+(a|0)/r;n[j+4>>2]=v;q=+((f[d+8>>2]|0)+h|0)/q;n[j+8>>2]=q;n[j+12>>2]=v;n[j+16>>2]=t;r=+((f[d+12>>2]|0)+a|0)/r;n[j+20>>2]=r;n[j+24>>2]=q;n[j+28>>2]=r;a=f[k>>2]|0;h=a+280|0;g=f[h>>2]|0;if(!g){Bj[f[a+216>>2]&1023](1,h);g=f[h>>2]|0}Bj[f[a+220>>2]&1023](34962,g);g=a+296|0;if((f[g>>2]|0)>>>0<32){Ij[f[a+224>>2]&127](34962,32,j,35040);f[g>>2]=32}else Ij[f[a+228>>2]&127](34962,0,32,j);Lj[f[a+184>>2]&15](1,2,5126,0,0,0);Fj[f[l+76>>2]&511](5,0,4);g=f[k>>2]|0;if(!(f[g+4>>2]|0)){o=0;u=p;return o|0}e=g+108|0;g=Zi[f[e>>2]&15]()|0;if(!g){o=0;u=p;return o|0}h=505031;while(1){a:do if((h|0)!=0?(b[h>>0]|0)!=0:0)switch(g|0){case 1280:{a=458035;break a}case 1281:{a=458051;break a}case 1282:{a=458068;break a}case 1285:{a=458089;break a}default:{a=458106;break a}}else o=28;while(0);b:do if((o|0)==28){o=0;switch(g|0){case 1280:{h=458027;a=458035;break b}case 1281:{h=458027;a=458051;break b}case 1282:{h=458027;a=458068;break b}case 1285:{h=458027;a=458089;break b}default:{h=458027;a=458106;break b}}}while(0);f[m>>2]=h;f[m+4>>2]=458140;f[m+8>>2]=1751;f[m+12>>2]=459480;f[m+16>>2]=a;f[m+20>>2]=g;c5a(458114,m)|0;g=Zi[f[e>>2]&15]()|0;if(!g){g=-1;break}}u=p;return g|0}function u5a(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=e|0;g=+g;h=h|0;i=i|0;var j=0,k=0,l=0.0,m=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=u;u=u+144|0;z=B+112|0;v=B+80|0;y=B+48|0;t=B+16|0;s=B;w=a+320|0;x=f[w>>2]|0;j=f[x>>2]|0;if((f[124994]|0)!=(j|0)){f[x+268>>2]=0;if(($4a(f[a+188>>2]|0,j)|0)>=0){f[124994]=f[x>>2];n5a(a)|0;k=f[w>>2]|0;A=4}}else{k=x;A=4}if((A|0)==4?f[k+4>>2]|0:0){j=k+108|0;do{}while((Zi[f[j>>2]&15]()|0)!=0)}if((_9a(a,c)|0)<0){A=-1;u=B;return A|0}m=x+84|0;tj[f[m>>2]&2047](3);tj[f[m>>2]&2047](2);q=360.0-g;n[s+12>>2]=q;n[s+8>>2]=q;n[s+4>>2]=q;n[s>>2]=q;q=+n[e>>2];r=+n[h>>2]+q;n[t+24>>2]=r;n[t+16>>2]=r;n[t+8>>2]=r;n[t>>2]=r;r=+n[e+4>>2];l=+n[h+4>>2]+r;n[t+28>>2]=l;n[t+20>>2]=l;n[t+12>>2]=l;n[t+4>>2]=l;n[v>>2]=q;h=v+4|0;n[h>>2]=r;l=q+ +n[e+8>>2];m=v+8|0;n[m>>2]=l;o=v+12|0;n[o>>2]=r;p=v+16|0;n[p>>2]=q;g=r+ +n[e+12>>2];j=v+20|0;n[j>>2]=g;k=v+24|0;n[k>>2]=l;a=v+28|0;n[a>>2]=g;if(i&1|0){n[p>>2]=l;n[v>>2]=l;n[k>>2]=q;n[m>>2]=q}if(i&2|0){n[o>>2]=g;n[h>>2]=g;n[a>>2]=r;n[j>>2]=r}a=f[w>>2]|0;k=a+284|0;j=f[k>>2]|0;if(!j){Bj[f[a+216>>2]&1023](1,k);j=f[k>>2]|0}Bj[f[a+220>>2]&1023](34962,j);j=a+300|0;if((f[j>>2]|0)>>>0<16){Ij[f[a+224>>2]&127](34962,16,s,35040);f[j>>2]=16}else Ij[f[a+228>>2]&127](34962,0,16,s);Lj[f[a+184>>2]&15](2,1,5126,0,0,0);a=f[w>>2]|0;k=a+288|0;j=f[k>>2]|0;if(!j){Bj[f[a+216>>2]&1023](1,k);j=f[k>>2]|0}Bj[f[a+220>>2]&1023](34962,j);j=a+304|0;if((f[j>>2]|0)>>>0<32){Ij[f[a+224>>2]&127](34962,32,t,35040);f[j>>2]=32}else Ij[f[a+228>>2]&127](34962,0,32,t);Lj[f[a+184>>2]&15](3,2,5126,0,0,0);a=f[w>>2]|0;k=a+276|0;j=f[k>>2]|0;if(!j){Bj[f[a+216>>2]&1023](1,k);j=f[k>>2]|0}Bj[f[a+220>>2]&1023](34962,j);j=a+292|0;if((f[j>>2]|0)>>>0<32){Ij[f[a+224>>2]&127](34962,32,v,35040);f[j>>2]=32}else Ij[f[a+228>>2]&127](34962,0,32,v);Lj[f[a+184>>2]&15](0,2,5126,0,0,0);k=f[d>>2]|0;q=+(f[c+12>>2]|0);l=+(k|0)/q;n[y>>2]=l;a=f[d+4>>2]|0;r=+(f[c+16>>2]|0);g=+(a|0)/r;n[y+4>>2]=g;q=+((f[d+8>>2]|0)+k|0)/q;n[y+8>>2]=q;n[y+12>>2]=g;n[y+16>>2]=l;r=+((f[d+12>>2]|0)+a|0)/r;n[y+20>>2]=r;n[y+24>>2]=q;n[y+28>>2]=r;a=f[w>>2]|0;k=a+280|0;j=f[k>>2]|0;if(!j){Bj[f[a+216>>2]&1023](1,k);j=f[k>>2]|0}Bj[f[a+220>>2]&1023](34962,j);j=a+296|0;if((f[j>>2]|0)>>>0<32){Ij[f[a+224>>2]&127](34962,32,y,35040);f[j>>2]=32}else Ij[f[a+228>>2]&127](34962,0,32,y);Lj[f[a+184>>2]&15](1,2,5126,0,0,0);Fj[f[x+76>>2]&511](5,0,4);j=x+72|0;tj[f[j>>2]&2047](3);tj[f[j>>2]&2047](2);j=f[w>>2]|0;if(!(f[j+4>>2]|0)){A=0;u=B;return A|0}h=j+108|0;j=Zi[f[h>>2]&15]()|0;if(!j){A=0;u=B;return A|0}k=505031;while(1){a:do if((k|0)!=0?(b[k>>0]|0)!=0:0)switch(j|0){case 1280:{a=458035;break a}case 1281:{a=458051;break a}case 1282:{a=458068;break a}case 1285:{a=458089;break a}default:{a=458106;break a}}else A=42;while(0);b:do if((A|0)==42){A=0;switch(j|0){case 1280:{k=458027;a=458035;break b}case 1281:{k=458027;a=458051;break b}case 1282:{k=458027;a=458068;break b}case 1285:{k=458027;a=458089;break b}default:{k=458027;a=458106;break b}}}while(0);f[z>>2]=k;f[z+4>>2]=458140;f[z+8>>2]=1820;f[z+12>>2]=458990;f[z+16>>2]=a;f[z+20>>2]=j;c5a(458114,z)|0;j=Zi[f[h>>2]&15]()|0;if(!j){j=-1;break}}u=B;return j|0}function v5a(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,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;k=x+28|0;l=x+24|0;m=a+320|0;n=f[m>>2]|0;o=a+308|0;h=f[o>>2]|0;if(!h)w=376840196;else w=f[h+4>>2]|0;h=f[n>>2]|0;if((f[124994]|0)!=(h|0)){f[n+268>>2]=0;if(($4a(f[a+188>>2]|0,h)|0)>=0){f[124994]=f[n>>2];n5a(a)|0;i=f[m>>2]|0;j=6}}else{i=n;j=6}if((j|0)==6?f[i+4>>2]|0:0){h=i+108|0;do{}while((Zi[f[h>>2]&15]()|0)!=0)}v=b+8|0;h=f[v>>2]|0;j=(w|0)==0|(w&-268435456|0)==268435456;a:do if(j)i=w&255;else{if((w|0)<1498831189)switch(w|0){case 844715353:{i=2;break a}default:{}}else switch(w|0){case 1498831189:{i=2;break a}default:{}}i=(w|0)==1431918169?2:1}while(0);p=W(i,h)|0;q=b+12|0;r=K5a(W(f[q>>2]|0,p)|0)|0;if(!r){e=Y4a(0)|0;u=x;return e|0}L5a(a,k,l)|0;if(!(f[o>>2]|0)){i=f[q>>2]|0;h=(f[l>>2]|0)-(f[b+4>>2]|0)-i|0}else{h=f[b+4>>2]|0;i=f[q>>2]|0}Mj[f[n+140>>2]&15](f[b>>2]|0,h,f[v>>2]|0,i,6408,5121,r);h=f[m>>2]|0;if(f[h+4>>2]|0?(s=h+108|0,g=Zi[f[s>>2]&15]()|0,g|0):0){while(1){switch(g|0){case 1280:{h=458035;break}case 1281:{h=458051;break}case 1282:{h=458068;break}case 1285:{h=458089;break}default:h=458106}f[t>>2]=458403;f[t+4>>2]=458140;f[t+8>>2]=1847;f[t+12>>2]=458418;f[t+16>>2]=h;f[t+20>>2]=g;c5a(458114,t)|0;g=Zi[f[s>>2]&15]()|0;if(!g){g=-1;break}}u=x;return g|0}if(!(f[o>>2]|0)){h=f[v>>2]|0;b:do if(j)g=w&255;else{if((w|0)<1498831189)switch(w|0){case 844715353:{g=2;break b}default:{}}else switch(w|0){case 1498831189:{g=2;break b}default:{}}g=(w|0)==1431918169?2:1}while(0);j=W(g,h)|0;g=f[q>>2]|0;a=u;u=u+((1*j|0)+15&-16)|0;if((g+1|0)>>>0>=3){k=0-p|0;i=(g|0)/2|0;g=r+(W(g+-1|0,p)|0)|0;h=r;while(1){i=i+-1|0;M5a(a,h,j)|0;M5a(h,g,j)|0;M5a(g,a,j)|0;if(!i)break;else{g=g+k|0;h=h+p|0}}}}e=N5a(f[v>>2]|0,f[q>>2]|0,w,r,p,c,d,e)|0;A5a(r);u=x;return e|0}function w5a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;b=a+320|0;d=f[b>>2]|0;e=f[d>>2]|0;if((f[124994]|0)!=(e|0)){f[d+268>>2]=0;if(($4a(f[a+188>>2]|0,e)|0)>=0){f[124994]=f[d>>2];n5a(a)|0;c=f[b>>2]|0;g=4}}else{c=d;g=4}if((g|0)==4?f[c+4>>2]|0:0){b=c+108|0;do{}while((Zi[f[b>>2]&15]()|0)!=0)}B5a(f[a+188>>2]|0);return}function x5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;d=a+320|0;g=f[d>>2]|0;h=b+68|0;i=f[h>>2]|0;b=f[g>>2]|0;if((f[124994]|0)!=(b|0)){f[g+268>>2]=0;if(($4a(f[a+188>>2]|0,b)|0)>=0){f[124994]=f[g>>2];n5a(a)|0;c=f[d>>2]|0;e=4}}else{c=g;e=4}if((e|0)==4?f[c+4>>2]|0:0){b=c+108|0;do{}while((Zi[f[b>>2]&15]()|0)!=0)}if(!i)return;a=g+64|0;Bj[f[a>>2]&1023](1,i);b=i+32|0;if(f[b>>2]|0)Bj[f[a>>2]&1023](1,b);b=i+36|0;if(f[b>>2]|0)Bj[f[a>>2]&1023](1,b);A5a(f[i+16>>2]|0);A5a(i);f[h>>2]=0;return}function y5a(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;g=a+320|0;j=f[g>>2]|0;h=f[b+68>>2]|0;b=f[j>>2]|0;if((f[124994]|0)!=(b|0)){f[j+268>>2]=0;if(($4a(f[a+188>>2]|0,b)|0)>=0){f[124994]=f[j>>2];n5a(a)|0;e=f[g>>2]|0;i=4}}else{e=j;i=4}if((i|0)==4?f[e+4>>2]|0:0){b=e+108|0;do{}while((Zi[f[b>>2]&15]()|0)!=0)}Bj[f[j+28>>2]&1023](f[h+4>>2]|0,f[h>>2]|0);if(c|0)n[c>>2]=1.0;if(!d)return 0;n[d>>2]=1.0;return 0}function z5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;d=a+320|0;h=f[d>>2]|0;e=f[b+68>>2]|0;b=f[h>>2]|0;if((f[124994]|0)!=(b|0)){f[h+268>>2]=0;if(($4a(f[a+188>>2]|0,b)|0)>=0){f[124994]=f[h>>2];n5a(a)|0;c=f[d>>2]|0;g=4}}else{c=h;g=4}if((g|0)==4?f[c+4>>2]|0:0){b=c+108|0;do{}while((Zi[f[b>>2]&15]()|0)!=0)}Bj[f[h+28>>2]&1023](f[e+4>>2]|0,0);return 0}function A5a(a){a=a|0;Dmb(a);return}function B5a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=u;u=u+32|0;e=g+24|0;d=g+16|0;c=g+8|0;b=f[124995]|0;if(!b){c5a(458271,g)|0;u=g;return}if(a|0?(f[a>>2]|0)==(b+280|0):0){if(!(f[a+48>>2]&2)){c5a(458312,d)|0;u=g;return}if((C5a(f[b+660>>2]|0)|0)==(a|0)){e=f[124995]|0;Bj[f[e+196>>2]&1023](e,a);u=g;return}else{c5a(458356,e)|0;u=g;return}}c5a(473742,c)|0;u=g;return}function C5a(a){a=a|0;var b=0;b=D5a()|0;if((a|0)==0|(b|0)==0){b=0;return b|0}if((f[b>>2]|0)>>>0<a>>>0){b=0;return b|0}b=f[b+4+(a+-1<<3)>>2]|0;return b|0}function D5a(){return E5a()|0}function E5a(){var a=0,b=0,c=0,d=0;d=u;u=u+16|0;a=d;b=F5a()|0;f[a>>2]=0;G5a(a);H5a(a);a=f[124996]|0;if(!a){c=0;u=d;return c|0}while(1){if((f[a>>2]|0)==(b|0))break;a=f[a+8>>2]|0;if(!a){a=0;c=6;break}}if((c|0)==6){u=d;return a|0}c=f[a+4>>2]|0;u=d;return c|0}function F5a(){return 0}function G5a(a){a=a|0;var b=0;b=f[a>>2]|0;f[a>>2]=1;if(!b)return;do{J5a(0);b=f[a>>2]|0;f[a>>2]=1}while((b|0)!=0);return}function H5a(a){a=a|0;f[a>>2]=0;return}function I5a(a){a=a|0;return 0}function J5a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;e=u;u=u+16|0;b=e+8|0;c=e;g=(a>>>0)/1e3|0;f[b>>2]=g;d=b+4|0;f[d>>2]=(a-(g*1e3|0)|0)*1e6;a=c+4|0;while(1){g=Mmb()|0;f[g>>2]=0;f[c>>2]=f[b>>2];f[a>>2]=f[d>>2];if(!(oi(c|0,b|0)|0)){a=4;break}g=Mmb()|0;if((f[g>>2]|0)!=4){a=4;break}}if((a|0)==4){u=e;return}}function K5a(a){a=a|0;return Cmb(a)|0}function L5a(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+32|0;g=i+16|0;e=i+8|0;d=i;do if((a|0)!=0?(f[a>>2]|0)==505021:0){d=f[a+308>>2]|0;if(!d){d=f[a+8>>2]|0;if(d|0){d=dj[d&255](a,b,c)|0;break}d=f[a+188>>2]|0;if(!d){d=c5a(458944,g)|0;break}else{Z9a(d,b,c);d=0;break}}if((f[d>>2]|0)!=505022){c5a(458928,e)|0;d=-1;break}if(b|0)f[b>>2]=f[d+12>>2];if(!c)d=0;else{f[c>>2]=f[d+16>>2];d=0}}else h=3;while(0);if((h|0)==3){c5a(458911,d)|0;d=-1}u=i;return d|0}function M5a(a,b,c){a=a|0;b=b|0;c=c|0;YDb(a|0,b|0,c|0)|0;return a|0}function N5a(a,b,c,d,e,g,h,i){a=a|0;b=b|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,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0;x=u;u=u+448|0;p=x+32|0;m=x+24|0;l=x+16|0;k=x+8|0;j=x;t=x+380|0;v=x+320|0;n=x+276|0;q=x+232|0;o=x+144|0;r=x+56|0;s=x+40|0;if(!h){f[j>>2]=458500;i=c5a(473278,j)|0;u=x;return i|0}if(!i){f[k>>2]=458504;i=c5a(473278,k)|0;u=x;return i|0}j=(c|0)==0|(c&-268435456|0)==268435456;if((c|0)!=(g|0)){if(j?((c>>>24&15)+-1|0)>>>0<3:0){c5a(458542,m)|0;i=-1;u=x;return i|0}if((O5a(n,c)|0)<0){i=-1;u=x;return i|0}P5a(t,0,60)|0;f[t>>2]=1;l=t+4|0;f[l>>2]=n;f[t+20>>2]=d;f[t+8>>2]=a;f[t+12>>2]=b;f[t+16>>2]=e;P5a(o,0,88)|0;k=t+52|0;f[o+76>>2]=-1;f[k>>2]=o;f[t+56>>2]=1;if((g|0)==0|(g&-268435456|0)==268435456?((g>>>24&15)+-1|0)>>>0<3:0){c5a(458542,p)|0;i=-1;u=x;return i|0}if((O5a(q,g)|0)<0){i=-1;u=x;return i|0}P5a(v,0,60)|0;f[v>>2]=1;j=v+4|0;f[j>>2]=q;f[v+20>>2]=h;f[v+8>>2]=a;f[v+12>>2]=b;f[v+16>>2]=i;P5a(r,0,88)|0;f[r+76>>2]=-1;f[v+52>>2]=r;f[v+56>>2]=1;f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=a;f[s+12>>2]=b;d=f[k>>2]|0;do if((f[d>>2]|0)==(v|0)){i=f[(f[j>>2]|0)+4>>2]|0;if(i|0?(f[d+80>>2]|0)!=(f[i+8>>2]|0):0){w=35;break}i=f[(f[l>>2]|0)+4>>2]|0;if((i|0)!=0?(f[d+84>>2]|0)!=(f[i+8>>2]|0):0)w=35}else w=35;while(0);do if((w|0)==35)if((Q5a(t,v)|0)<0){i=-1;u=x;return i|0}else{d=f[k>>2]|0;break}while(0);i=ej[f[d+8>>2]&63](t,s,v,s)|0;u=x;return i|0}a:do if(j)j=c&255;else{b:do if((c|0)<844715353)if((c|0)<842094158)switch(c|0){case 825382478:{w=8;break b}default:break b}else switch(c|0){case 842094158:case 842094169:{w=8;break b}default:break b}else if((c|0)<1448433993)if((c|0)<1431918169)switch(c|0){case 844715353:{j=2;break a}default:break b}else switch(c|0){case 1431918169:{j=2;break a}default:break b}else if((c|0)<1498831189)switch(c|0){case 1448433993:{w=8;break b}default:break b}else switch(c|0){case 1498831189:{j=2;break a}default:break b}while(0);if((w|0)==8){j=1;break}i=c5a(458514,l)|0;u=x;return i|0}while(0);o=W(j,a)|0;if(b){n=W(e,b)|0;m=W(i,b)|0;j=b;k=h;l=d;while(1){j=j+-1|0;M5a(k,l,o)|0;if(!j)break;else{k=k+i|0;l=l+e|0}}h=h+m|0;d=d+n|0}if((c|0)<842094169){c:do if((c|0)<842094158){switch(c|0){case 825382478:break c;default:d=0}u=x;return d|0}else{switch(c|0){case 842094158:break c;default:d=0}u=x;return d|0}while(0);if((b+1|0)>>>0<3){i=0;u=x;return i|0}j=(b|0)/2|0;while(1){j=j+-1|0;M5a(h,d,o)|0;if(!j){d=0;break}else{h=h+i|0;d=d+e|0}}u=x;return d|0}else{d:do if((c|0)<1448433993){switch(c|0){case 842094169:break d;default:d=0}u=x;return d|0}else{switch(c|0){case 1448433993:break d;default:d=0}u=x;return d|0}while(0);m=(o|0)/2|0;l=(e|0)/2|0;k=(i|0)/2|0;if((b+1|0)>>>0<3){i=0;u=x;return i|0}j=h;h=d;d=((b|0)/2|0)<<1;while(1){d=d+-1|0;M5a(j,h,m)|0;if(!d){d=0;break}else{j=j+k|0;h=h+l|0}}u=x;return d|0}return 0}function O5a(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;l=u;u=u+32|0;d=l+16|0;e=l+12|0;i=l+8|0;j=l+4|0;k=l;if(!(Y9a(c,d,e,i,j,k)|0)){a=-1;u=l;return a|0}P5a(a,0,44)|0;f[a>>2]=c;c=f[d>>2]|0;b[a+8>>0]=c;b[a+9>>0]=(c+7|0)/8|0;c=f[e>>2]|0;f[a+12>>2]=c;g=a+32|0;b[g>>0]=0;h=a+28|0;b[h>>0]=8;do if(c|0){if(!(c&1)){d=0;while(1){d=d+1<<24>>24;e=c>>>1;if(c&2|0)break;else c=e}b[g>>0]=d;if(!(c&2))break;else c=e}d=8;while(1){d=d+-1<<24>>24;if(!(c&2))break;else c=c>>>1}b[h>>0]=d}while(0);c=f[i>>2]|0;f[a+16>>2]=c;g=a+33|0;b[g>>0]=0;h=a+29|0;b[h>>0]=8;do if(c|0){if(!(c&1)){d=0;while(1){d=d+1<<24>>24;e=c>>>1;if(c&2|0)break;else c=e}b[g>>0]=d;if(!(c&2))break;else c=e}d=8;while(1){d=d+-1<<24>>24;if(!(c&2))break;else c=c>>>1}b[h>>0]=d}while(0);c=f[j>>2]|0;f[a+20>>2]=c;g=a+34|0;b[g>>0]=0;h=a+30|0;b[h>>0]=8;do if(c|0){if(!(c&1)){d=0;while(1){d=d+1<<24>>24;e=c>>>1;if(c&2|0)break;else c=e}b[g>>0]=d;if(!(c&2))break;else c=e}d=8;while(1){d=d+-1<<24>>24;if(!(c&2))break;else c=c>>>1}b[h>>0]=d}while(0);c=f[k>>2]|0;f[a+24>>2]=c;g=a+35|0;b[g>>0]=0;h=a+31|0;b[h>>0]=8;do if(c|0){if(!(c&1)){d=0;while(1){d=d+1<<24>>24;e=c>>>1;if(c&2|0)break;else c=e}b[g>>0]=d;if(!(c&2))break;else c=e}d=8;while(1){d=d+-1<<24>>24;if(!(c&2))break;else c=c>>>1}b[h>>0]=d}while(0);f[a+4>>2]=0;f[a+36>>2]=1;f[a+40>>2]=0;a=0;u=l;return a|0}function P5a(a,b,c){a=a|0;b=b|0;c=c|0;_Db(a|0,b&255|0,c|0)|0;return a|0}function Q5a(a,c){a=a|0;c=c|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;G=u;u=u+1040|0;j=G+1024|0;k=G;g=a+52|0;F=f[g>>2]|0;if(f[a>>2]&2|0)R5a(a,1);if(F|0){e=f[F>>2]|0;if(e|0?(D=e+56|0,E=f[D>>2]|0,f[D>>2]=E+-1,(E|0)<2):0)S5a(e);f[F>>2]=0;f[F+84>>2]=0;f[F+80>>2]=0;E=F+64|0;A5a(f[E>>2]|0);f[E>>2]=0}i=F+4|0;f[i>>2]=0;E=f[a+4>>2]|0;D=f[c+4>>2]|0;C=f[E>>2]|0;do if((C|0)==0|(C&-268435456|0)==268435456?((C>>>24&15)+-1|0)>>>0<3:0){C=f[D>>2]|0;if((C|0)==0|(C&-268435456|0)==268435456?((C>>>24&15)+-1|0)>>>0<3:0){C=T5a(f[E+4>>2]|0,f[D+4>>2]|0,i)|0;f[F+64>>2]=C;if((C|0)==0&(f[i>>2]|0)==0){F=-1;u=G;return F|0}if((b[E+8>>0]|0)==(b[D+8>>0]|0)){e=35;break}f[i>>2]=0;e=35;break}j=f[g>>2]|0;e=b[j+76>>0]|0;g=b[j+77>>0]|0;i=b[j+78>>0]|0;j=b[j+79>>0]|0;y=f[E+4>>2]|0;z=D+9|0;C=b[z>>0]|0;C=C<<24>>24==3?4:C&255;A=K5a(W(C,f[y>>2]|0)|0)|0;if(!A){Y4a(0)|0;f[F+64>>2]=0;F=-1;u=G;return F|0}if((f[y>>2]|0)<=0){f[F+64>>2]=A;e=35;break}B=y+4|0;x=e&255;w=g&255;v=i&255;i=j&255;j=D+28|0;k=D+32|0;l=D+29|0;m=D+33|0;n=D+30|0;o=D+34|0;p=D+31|0;q=D+35|0;e=0;do{g=f[B>>2]|0;r=((W(h[g+(e<<2)>>0]|0,x)|0)>>>0)/255|0;s=((W(h[g+(e<<2)+1>>0]|0,w)|0)>>>0)/255|0;t=((W(h[g+(e<<2)+2>>0]|0,v)|0)>>>0)/255|0;g=((W(h[g+(e<<2)+3>>0]|0,i)|0)>>>0)/255|0;switch(b[z>>0]|0){case 1:{H=A+(W(e,C)|0)|0;b[H>>0]=(s&255)>>>(h[l>>0]|0)<<h[m>>0]|(r&255)>>>(h[j>>0]|0)<<h[k>>0]|(t&255)>>>(h[n>>0]|0)<<h[o>>0]|(g&255)>>>(h[p>>0]|0)<<h[q>>0];break}case 2:{H=A+(W(e,C)|0)|0;d[H>>1]=(s&255)>>>(h[l>>0]|0)<<h[m>>0]|(r&255)>>>(h[j>>0]|0)<<h[k>>0]|(t&255)>>>(h[n>>0]|0)<<h[o>>0]|(g&255)>>>(h[p>>0]|0)<<h[q>>0];break}case 3:{H=A+(W(e,C)|0)|0;b[H+((h[k>>0]|0)>>>3&255)>>0]=r;b[H+((h[m>>0]|0)>>>3&255)>>0]=s;b[H+((h[o>>0]|0)>>>3&255)>>0]=t;break}case 4:{H=A+(W(e,C)|0)|0;f[H>>2]=(s&255)>>>(h[l>>0]|0)<<h[m>>0]|(r&255)>>>(h[j>>0]|0)<<h[k>>0]|(t&255)>>>(h[n>>0]|0)<<h[o>>0]|(g&255)>>>(h[p>>0]|0)<<h[q>>0];break}default:{}}e=e+1|0}while((e|0)<(f[y>>2]|0));f[F+64>>2]=A;e=36}else e=27;while(0);do if((e|0)==27){H=f[D>>2]|0;if((H|0)==0|(H&-268435456|0)==268435456?((H>>>24&15)+-1|0)>>>0<3:0){g=f[D+4>>2]|0;f[j>>2]=256;e=0;do{H=e&224;b[k+(e<<2)>>0]=H>>>6|H|H>>>3;H=e<<3&224;b[k+(e<<2)+1>>0]=H>>>6|H|H>>>3;H=e&3;H=H<<2|H;b[k+(e<<2)+2>>0]=H<<4|H;b[k+(e<<2)+3>>0]=-1;e=e+1|0}while((e|0)!=256);f[j+4>>2]=k;H=T5a(j,g,i)|0;f[F+64>>2]=H;if((H|0)==0&(f[i>>2]|0)==0){H=-1;u=G;return H|0}else{f[i>>2]=0;e=36;break}}if((E|0)==(D|0)){f[i>>2]=1;e=35}else e=35}while(0);if((e|0)==35){f[F>>2]=c;e=37}else if((e|0)==36?(f[F>>2]=c,c|0):0)e=37;if((e|0)==37){H=c+56|0;f[H>>2]=(f[H>>2]|0)+1}e=f[D+4>>2]|0;if(!e)e=0;else e=f[e+8>>2]|0;f[F+80>>2]=e;e=f[E+4>>2]|0;if(!e)e=0;else e=f[e+8>>2]|0;f[F+84>>2]=e;H=U5a(a)|0;u=G;return H|0}function R5a(a,c){a=a|0;c=c|0;var e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=u;u=u+16|0;g=r;e=f[a>>2]|0;if(!(e&2)){u=r;return}f[a>>2]=e&-3;q=a+52|0;a:do if((c|0)!=0&(e&1|0)==0){c=f[q>>2]|0;if(f[c+68>>2]&8192|0){c=a+12|0;p=K5a(W(f[a+16>>2]|0,f[c>>2]|0)|0)|0;f[a+20>>2]=p;if(p|0){T9a(a,0,f[(f[q>>2]|0)+72>>2]|0)|0;f[g+4>>2]=0;f[g>>2]=0;f[g+8>>2]=f[a+8>>2];f[g+12>>2]=f[c>>2];H9a(a,g,a,g)|0;break}f[a>>2]=f[a>>2]|2;u=r;return}p=f[a+4>>2]|0;k=f[c+12>>2]|0;l=f[a+8>>2]|0;i=(b[k>>0]|0)==2;n=i?33:32;o=i?34:32;c=a+12|0;m=a+16|0;e=K5a(W(f[m>>2]|0,f[c>>2]|0)|0)|0;g=a+20|0;f[g>>2]=e;if(!e){f[a>>2]=f[a>>2]|2;u=r;return}P5a(e,0,W(f[m>>2]|0,f[c>>2]|0)|0)|0;e=f[g>>2]|0;c=k+28|0;if(i){a=e;while(1){e=0;do{s=b[c+1>>0]|0;g=s&255;i=c+2|0;c=e+(h[c>>0]|0)|0;if(!(s<<24>>24))if(!c)break a;else{e=c;c=i}else{e=c+g|0;c=i+(hj[n&63](a+(c<<2)|0,i,g,k,p)|0)|0}}while((e|0)<(l|0));e=0;c=c+(c&2)|0;do{g=e+(j[c>>1]|0)|0;s=d[c+2>>1]|0;i=s&65535;c=c+4|0;if(!(s<<16>>16))e=g;else{e=g+i|0;c=c+(hj[o&63](a+(g<<2)|0,c,i,k,p)|0)|0}}while((e|0)<(l|0));a=a+(f[m>>2]>>2<<2)|0}}else{a=e;while(1){e=0;do{s=d[c+2>>1]|0;g=s&65535;i=c+4|0;c=e+(j[c>>1]|0)|0;if(!(s<<16>>16))if(!c)break a;else{e=c;c=i}else{e=c+g|0;c=i+(hj[n&63](a+(c<<2)|0,i,g,k,p)|0)|0}}while((e|0)<(l|0));e=0;do{g=e+(j[c>>1]|0)|0;s=d[c+2>>1]|0;i=s&65535;c=c+4|0;if(!(s<<16>>16))e=g;else{e=g+i|0;c=c+(hj[o&63](a+(g<<2)|0,c,i,k,p)|0)|0}}while((e|0)<(l|0));a=a+(f[m>>2]>>2<<2)|0}}}while(0);s=f[q>>2]|0;p=s+68|0;f[p>>2]=f[p>>2]&-24577;A5a(f[s+12>>2]|0);f[(f[q>>2]|0)+12>>2]=0;u=r;return}function S5a(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=f[a>>2]|0;if(b&4|0)return;c=a+56|0;d=f[c>>2]|0;f[c>>2]=d+-1;if((d|0)>1)return;d=a+28|0;c=f[d>>2]|0;if((c|0)>0){while(1){b=c+-1|0;f[d>>2]=b;if((c|0)==1){b=f[a>>2]|0;if(!(b&2))break;f[a>>2]=b&-3;W5a(a)|0;b=f[d>>2]|0}if((b|0)>0)c=b;else break}b=f[a>>2]|0}if(b&2|0)R5a(a,0);b=a+4|0;c=f[b>>2]|0;if(c|0){if((Q9a(c,0)|0)>=0)i6a(f[a+52>>2]|0);R9a(f[b>>2]|0);f[b>>2]=0}b=a+52|0;c=f[b>>2]|0;if(c|0){S9a(c);f[b>>2]=0}if(!(f[a>>2]&1))A5a(f[a+20>>2]|0);A5a(a);return}function T5a(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,u=0,v=0;if(d|0){e=f[a>>2]|0;do if((e|0)<=(f[c>>2]|0)){if((a|0)!=(c|0)?P9a(f[a+4>>2]|0,f[c+4>>2]|0,e<<2)|0:0)break;f[d>>2]=1;c=0;return c|0}while(0);f[d>>2]=0}d=K5a(f[a>>2]|0)|0;if(!d){Y4a(0)|0;c=0;return c|0}if((f[a>>2]|0)<=0){c=d;return c|0}r=a+4|0;s=c+4|0;q=0;do{e=f[r>>2]|0;l=f[c>>2]|0;a:do if((l|0)>0){m=f[s>>2]|0;n=h[e+(q<<2)>>0]|0;o=h[e+(q<<2)+1>>0]|0;p=h[e+(q<<2)+2>>0]|0;k=h[e+(q<<2)+3>>0]|0;j=0;g=-1;e=0;do{u=(h[m+(j<<2)>>0]|0)-n|0;v=(h[m+(j<<2)+1>>0]|0)-o|0;t=(h[m+(j<<2)+2>>0]|0)-p|0;i=(h[m+(j<<2)+3>>0]|0)-k|0;i=(W(v,v)|0)+(W(u,u)|0)+(W(t,t)|0)+(W(i,i)|0)|0;if(i>>>0<g>>>0){e=j&255;if(!i)break a;else g=i}j=j+1|0}while((j|0)<(l|0))}else e=0;while(0);b[d+q>>0]=e;q=q+1|0}while((q|0)<(f[a>>2]|0));return d|0}function U5a(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;p=u;u=u+16|0;n=p+8|0;k=p;o=f[a+52>>2]|0;c=f[o>>2]|0;if(f[a>>2]&2|0)R5a(a,1);f[o+8>>2]=30;m=a+4|0;f[o+56>>2]=f[m>>2];f[o+28>>2]=f[a+16>>2];l=c+4|0;f[o+60>>2]=f[l>>2];f[o+48>>2]=f[c+16>>2];g=o+68|0;if(f[g>>2]&4096|0?(W5a(a)|0)==0:0){o=0;u=p;return o|0}if((f[o+4>>2]|0)!=0?(f[g>>2]&-4097|0)==0:0)c=1489;else i=7;a:do if((i|0)==7){c=f[m>>2]|0;if(((h[c+8>>0]|0)<8?(d=f[c>>2]|0,(d|0)==0|(d&-268435456|0)==268435456):0)?((d>>>24&15)+-1|0)>>>0<3:0)c=X5a(a)|0;else i=11;do if((i|0)==11){if(((b[c+9>>0]|0)==1?(e=f[c>>2]|0,(e|0)==0|(e&-268435456|0)==268435456):0)?((e>>>24&15)+-1|0)>>>0<3:0){c=Y5a(a)|0;break}if(!(f[g>>2]&16)){c=_5a(a)|0;break}else{c=Z5a(a)|0;break}}while(0);if(!c){i=f[f[m>>2]>>2]|0;j=f[f[l>>2]>>2]|0;a=f[g>>2]|0;do if((f[89201]|0)==-1){c=$5a(458578)|0;f[89201]=0;if(c|0){f[k>>2]=356804;a6a(c,458600,k)|0;break}if(b6a()|0)f[89201]=f[89201]|1;if(c6a()|0)f[89201]=f[89201]|2;if(d6a()|0)f[89201]=f[89201]|4;if(e6a()|0)f[89201]=f[89201]|8;if(f6a()|0)f[89201]=f[89201]|16}while(0);if(1230){e=f[89201]|0;d=a&883;a=0;c=1230;do{if((((f[232064+(a*20|0)>>2]|0)==(i|0)?(f[232064+(a*20|0)+4>>2]|0)==(j|0):0)?(f[232064+(a*20|0)+8>>2]&d|0)==(d|0):0)?(k=f[232064+(a*20|0)+12>>2]|0,(k&e|0)==(k|0)):0)break a;a=a+1|0;c=f[232064+(a*20|0)+16>>2]|0}while((c|0)!=0)}k=f[f[m>>2]>>2]|0;m=f[f[l>>2]>>2]|0;if((((k|0)==0|(k&-268435456|0)==268435456?((k>>>24&15)+-1|0)>>>0>=3:0)?(m|0)==0|(m&-268435456|0)==268435456:0)?((m>>>24&15)+-1|0)>>>0>=3:0){f[o+12>>2]=1488;o=0;u=p;return o|0}f[o+12>>2]=0;i6a(o);o=c5a(458603,n)|0;u=p;return o|0}}while(0);f[o+12>>2]=c;o=0;u=p;return o|0}function V5a(a,b,c,d){a=a|0;b=b|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;if(!(f[c>>2]&2)){g=1;k=0}else{k=(J9a(c)|0)>>>31^1;g=k}if(f[a>>2]&2)if((J9a(a)|0)<0){e=0;g=-1}else{e=1;l=5}else{e=0;l=5}if((l|0)==5)if(g)if(((b|0)!=0?(i=f[b+8>>2]|0,(i|0)>=1):0)?(j=f[b+12>>2]|0,(j|0)>0):0){l=f[a+52>>2]|0;g=l+16|0;n=f[a+16>>2]|0;o=(f[a+20>>2]|0)+(W(f[b+4>>2]&65535,n)|0)|0;m=h[(f[l+56>>2]|0)+9>>0]|0;b=o+(W(f[b>>2]&65535,m)|0)|0;f[g>>2]=b;f[l+20>>2]=i;f[l+24>>2]=j;f[l+28>>2]=n;b=n-(W(i,m)|0)|0;f[l+32>>2]=b;b=f[c+16>>2]|0;i=(f[c+20>>2]|0)+(W(f[d+4>>2]&65535,b)|0)|0;j=h[(f[l+60>>2]|0)+9>>0]|0;i=i+(W(f[d>>2]&65535,j)|0)|0;f[l+36>>2]=i;i=f[d+8>>2]|0;f[l+40>>2]=i;f[l+44>>2]=f[d+12>>2];f[l+48>>2]=b;d=b-(W(i,j)|0)|0;f[l+52>>2]=d;tj[f[l+12>>2]&2047](g);g=0}else g=0;else g=-1;if(k|0)K9a(c);if(!e)return g|0;K9a(a);return g|0}function W5a(a){a=a|0;var c=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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;if(f[a>>2]&2|0)R5a(a,1);m=a+4|0;i=f[m>>2]|0;j=b[i+8>>0]|0;if((j&255)<8){a=-1;return a|0}B=a+20|0;if(!(f[B>>2]|0)){a=-1;return a|0}C=a+52|0;e=f[C>>2]|0;g=f[e+68>>2]|0;if(!((g&272|0)!=0&(g&1|0)==0)){a=-1;return a|0}do if(!(g&2))if(!(g&608)){c=f[i+24>>2]|0;break}else{a=-1;return a|0}else{c=f[i+24>>2]|0;if(g&608|c){a=-1;return a|0}}while(0);do if((g&16|0)==0|(c|0)==0){if(!(f[e+4>>2]|0)){a=-1;return a|0}e=b[i+9>>0]|0;z=e&255;switch(e<<24>>24){case 1:{c=(W((f[a+12>>2]|0)*3|0,((f[a+8>>2]|0)/2|0)+1|0)|0)+2|0;break}case 3:case 2:{c=f[a+8>>2]|0;c=(W((W(c,z)|0)+2+(((c|0)/255|0)<<1)|0,f[a+12>>2]|0)|0)+2|0;break}case 4:{c=f[a+8>>2]|0;c=(W((((c|0)/65535|0)+c<<2)+4|0,f[a+12>>2]|0)|0)+4|0;break}default:c=0}A=K5a(c)|0;if(!A)if((Y4a(0)|0)<0){a=-1;return a|0}else{g=8192;c=f[C>>2]|0;e=31;break}y=e<<24>>24==4;x=y?65535:255;q=~f[(f[m>>2]|0)+24>>2];r=f[(f[C>>2]|0)+72>>2]&q;s=f[243920+(z+-1<<2)>>2]|0;t=f[a+8>>2]|0;u=f[a+12>>2]|0;if((u|0)>0){v=x&65535;w=a+16|0;c=A;o=0;p=f[B>>2]|0;e=A;while(1){n=0;j=0;while(1){a:do if((j|0)<(t|0)){g=j;do{m=p+(W(g,z)|0)|0;if(((_i[s&2047](m)|0)&q|0)!=(r|0))break a;g=g+1|0}while((g|0)<(t|0))}else g=j;while(0);b:do if((g|0)<(t|0)){i=g;while(1){m=p+(W(i,z)|0)|0;if(((_i[s&2047](m)|0)&q|0)==(r|0)){m=1;break b}i=i+1|0;if((i|0)>=(t|0)){m=0;break}}}else{i=g;m=0}while(0);j=g-j|0;n=(j|0)==(t|0)?1:n;k=i-g|0;if((j|0)>(x|0))if(y)do{d[c>>1]=v;d[c+2>>1]=0;c=c+4|0;j=j-x|0}while((j|0)>(x|0));else do{b[c>>0]=-1;b[c+1>>0]=0;c=c+2|0;j=j-x|0}while((j|0)>(x|0));l=(k|0)<(x|0)?k:x;if(y){d[c>>1]=j;d[c+2>>1]=l;j=4}else{b[c>>0]=j;b[c+1>>0]=l;j=2}j=c+j|0;c=W(l,z)|0;M5a(j,p+(W(g,z)|0)|0,c)|0;c=j+c|0;k=k-l|0;g=l+g|0;if(k)if(y)while(1){j=(k|0)<(x|0)?k:x;d[c>>1]=0;d[c+2>>1]=j;l=c+4|0;c=W(j,z)|0;M5a(l,p+(W(g,z)|0)|0,c)|0;c=l+c|0;k=k-j|0;if(!k)break;else g=j+g|0}else while(1){j=(k|0)<(x|0)?k:x;b[c>>0]=0;b[c+1>>0]=j;l=c+2|0;c=W(j,z)|0;M5a(l,p+(W(g,z)|0)|0,c)|0;c=l+c|0;k=k-j|0;if(!k)break;else g=j+g|0}e=(n|0)==0?c:e;if(!m)break;else j=i}o=o+1|0;if((o|0)==(u|0))break;else p=p+(f[w>>2]|0)|0}}else e=A;if(y){d[e>>1]=0;d[e+2>>1]=0;c=4}else{b[e>>0]=0;b[e+1>>0]=0;c=2}if(!(f[a>>2]&1)){A5a(f[B>>2]|0);f[B>>2]=0}g=C9a(A,e+c-A|0)|0;c=f[C>>2]|0;f[c+12>>2]=(g|0)==0?A:g;g=8192;e=31}else{c=f[e>>2]|0;if(!c){a=-1;return a|0}z=f[c+4>>2]|0;if(j<<24>>24!=32){a=-1;return a|0}j=z+12|0;c=f[j>>2]|0;k=z+16|0;e=f[k>>2]|0;l=z+20|0;g=f[l>>2]|0;i=e|c|g;A=z+9|0;c:do switch(b[A>>0]|0){case 2:{if((i|0)<65535){switch(i|0){case 32767:break;default:{a=-1;return a|0}}if((c|0)==992|(e|0)==992|(g|0)==992)c=36;else{a=-1;return a|0}}else{switch(i|0){case 65535:break;default:{a=-1;return a|0}}if((c|0)==2016|(e|0)==2016|(g|0)==2016)c=35;else{a=-1;return a|0}}e=(W(((f[a+8>>2]|0)*6|0)+8|0,f[a+12>>2]|0)|0)+2|0;w=c;x=37;break}case 4:if((i|0)==16777215){e=W(f[a+12>>2]<<3,(f[a+8>>2]|0)+1|0)|0|4;w=38;x=38;break c}else{a=-1;return a|0}default:{a=-1;return a|0}}while(0);y=K5a(e+28|0)|0;if(!y)if((Y4a(0)|0)<0){a=-1;return a|0}else{g=16384;c=f[C>>2]|0;e=32;break}c=b[A>>0]|0;b[y>>0]=c;f[y+4>>2]=f[j>>2];f[y+8>>2]=f[k>>2];f[y+12>>2]=f[l>>2];f[y+16>>2]=f[z+24>>2];b[y+20>>0]=b[z+28>>0]|0;b[y+21>>0]=b[z+29>>0]|0;b[y+22>>0]=b[z+30>>0]|0;b[y+23>>0]=b[z+31>>0]|0;b[y+24>>0]=b[z+32>>0]|0;b[y+25>>0]=b[z+33>>0]|0;b[y+26>>0]=b[z+34>>0]|0;b[y+27>>0]=b[z+35>>0]|0;g=y+28|0;u=f[a+12>>2]|0;v=f[a+8>>2]|0;t=f[m>>2]|0;if((u|0)>0){q=t+24|0;r=t+35|0;s=a+16|0;e=g;o=f[B>>2]|0;p=0;c=g;while(1){n=0;l=0;while(1){d:do if((l|0)<(v|0)){i=f[q>>2]|0;j=h[r>>0]|0;g=l;do{if(((f[o+(g<<2)>>2]&i)>>>j|0)==255)break d;g=g+1|0}while((g|0)<(v|0))}else g=l;while(0);e:do if((g|0)<(v|0)){j=f[q>>2]|0;k=h[r>>0]|0;i=g;while(1){if(((f[o+(i<<2)>>2]&j)>>>k|0)!=255){m=1;break e}i=i+1|0;if((i|0)>=(v|0)){m=0;break}}}else{i=g;m=0}while(0);j=g-l|0;n=(j|0)==(v|0)?1:n;l=i-g|0;if((j|0)>255){k=j;while(1){if((b[A>>0]|0)==4){d[c>>1]=255;d[c+2>>1]=0;j=4}else{b[c>>0]=-1;b[c+1>>0]=0;j=2}c=c+j|0;j=k+-255|0;if((k|0)>510)k=j;else break}}k=(l|0)<255?l:255;if((b[A>>0]|0)==4){d[c>>1]=j;d[c+2>>1]=k;j=4}else{b[c>>0]=j;b[c+1>>0]=k;j=2}c=c+j|0;c=c+(hj[x&63](c,o+(g<<2)|0,k,t,z)|0)|0;j=l-k|0;if(j){l=k+g|0;while(1){k=(j|0)<255?j:255;if((b[A>>0]|0)==4){d[c>>1]=0;d[c+2>>1]=k;g=4}else{b[c>>0]=0;b[c+1>>0]=k;g=2}c=c+g|0;c=c+(hj[x&63](c,o+(l<<2)|0,k,t,z)|0)|0;j=j-k|0;if(!j)break;else l=k+l|0}}if(!m)break;else l=i}l=0;c=c+(c&2)|0;while(1){f:do if((l|0)<(v|0)){i=f[q>>2]|0;j=h[r>>0]|0;g=l;do{if((((f[o+(g<<2)>>2]&i)>>>j)+-1|0)>>>0<=253)break f;g=g+1|0}while((g|0)<(v|0))}else g=l;while(0);g:do if((g|0)<(v|0)){j=f[q>>2]|0;k=h[r>>0]|0;i=g;while(1){if((((f[o+(i<<2)>>2]&j)>>>k)+-1|0)>>>0>=254){m=1;break g}i=i+1|0;if((i|0)>=(v|0)){m=0;break}}}else{i=g;m=0}while(0);j=g-l|0;n=n&(j|0)==(v|0);l=i-g|0;if((j|0)>65535){k=j;while(1){d[c>>1]=-1;d[c+2>>1]=0;c=c+4|0;j=k+-65535|0;if((k|0)>131070)k=j;else break}}k=(l|0)<65535?l:65535;d[c>>1]=j;d[c+2>>1]=k;c=c+4|0;c=c+(hj[w&63](c,o+(g<<2)|0,k,t,z)|0)|0;j=l-k|0;if(j){k=k+g|0;while(1){g=(j|0)<65535?j:65535;d[c>>1]=0;d[c+2>>1]=g;c=c+4|0;c=c+(hj[w&63](c,o+(k<<2)|0,g,t,z)|0)|0;j=j-g|0;if(!j)break;else k=g+k|0}}e=(n|0)==0?c:e;if(!m)break;else l=i}p=p+1|0;if((p|0)==(u|0))break;else o=o+(f[s>>2]>>2<<2)|0}c=b[A>>0]|0}else e=g;if(c<<24>>24==4){d[e>>1]=0;d[e+2>>1]=0;c=4}else{b[e>>0]=0;b[e+1>>0]=0;c=2}if(!(f[a>>2]&1)){A5a(f[B>>2]|0);f[B>>2]=0}g=C9a(y,e+c-y|0)|0;c=f[C>>2]|0;f[c+12>>2]=(g|0)==0?y:g;g=16384;e=32}while(0);f[c+8>>2]=e;C=c+68|0;f[C>>2]=f[C>>2]|g;f[a>>2]=f[a>>2]|2;a=0;return a|0}function X5a(a){a=a|0;var c=0;if((b[(f[a+4>>2]|0)+8>>0]|0)!=1){c=0;return c|0}c=f[a+52>>2]|0;a=f[(f[c>>2]|0)+4>>2]|0;if((h[a+8>>0]|0)<8)a=0;else a=h[a+9>>0]|0;switch(f[c+68>>2]&-28673|0){case 0:{c=f[243856+(a<<2)>>2]|0;return c|0}case 256:{c=f[243888+(a<<2)>>2]|0;return c|0}case 18:{c=a>>>0>1?1490:0;return c|0}case 274:{c=a>>>0>1?1491:0;return c|0}default:{c=0;return c|0}}return 0}function Y5a(a){a=a|0;var b=0;b=f[a+52>>2]|0;a=f[(f[b>>2]|0)+4>>2]|0;if((h[a+8>>0]|0)<8)a=0;else a=h[a+9>>0]|0;switch(f[b+68>>2]&-28673|0){case 0:{b=f[243792+(a<<2)>>2]|0;return b|0}case 256:{b=f[243824+(a<<2)>>2]|0;return b|0}case 18:{b=a>>>0>1?1492:0;return b|0}case 274:{b=a>>>0>1?1493:0;return b|0}default:{b=0;return b|0}}return 0}function Z5a(a){a=a|0;var c=0,d=0,e=0,g=0;d=f[a+4>>2]|0;a=f[a+52>>2]|0;c=f[(f[a>>2]|0)+4>>2]|0;switch(f[a+68>>2]&-28673|0){case 16:switch(b[c+9>>0]|0){case 2:{if((b[d+9>>0]|0)!=4){g=1494;return g|0}if((f[d+24>>2]|0)!=-16777216){g=1494;return g|0}if((f[d+16>>2]|0)!=65280){g=1494;return g|0}if(!((f[d+12>>2]|0)==255?(f[c+12>>2]|0)==31:0)){if((f[d+20>>2]|0)!=255){g=1494;return g|0}if((f[c+20>>2]|0)!=31){g=1494;return g|0}}g=f[c+16>>2]|0;g=(g|0)==2016?1496:(g|0)==992?1495:1494;return g|0}case 4:{if(((((f[d+12>>2]|0)==(f[c+12>>2]|0)?(f[d+16>>2]|0)==(f[c+16>>2]|0):0)?(f[d+20>>2]|0)==(f[c+20>>2]|0):0)?(b[d+9>>0]|0)==4:0)?(f[d+24>>2]|0)==-16777216:0){g=1503;return g|0}g=1494;return g|0}case 1:{g=1502;return g|0}default:{g=1494;return g|0}}case 18:{if(f[d+24>>2]|0){g=0;return g|0}switch(b[c+9>>0]|0){case 2:{if(!(f[a+4>>2]|0)){g=1497;return g|0}g=f[c+16>>2]|0;g=(g|0)==2016?1499:(g|0)==992?1498:1497;return g|0}case 4:{a=f[d+12>>2]|0;if(((((a|0)==(f[c+12>>2]|0)?(e=f[d+16>>2]|0,(e|0)==(f[c+16>>2]|0)):0)?(g=f[d+20>>2]|0,(g|0)==(f[c+20>>2]|0)):0)?(b[d+9>>0]|0)==4:0)?(e|a|g|0)==16777215:0){g=1505;return g|0}g=1497;return g|0}case 1:{g=1504;return g|0}default:{g=1497;return g|0}}}case 274:{if(f[d+24>>2]|0){g=0;return g|0}g=(b[c+9>>0]|0)==1?1501:1500;return g|0}default:{g=0;return g|0}}return 0}function _5a(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;r=f[a+4>>2]|0;a=f[a+52>>2]|0;q=f[(f[a>>2]|0)+4>>2]|0;c=b[q+8>>0]|0;if((c&255)<8){r=0;return r|0}switch(f[a+68>>2]&-28673|0){case 0:{if(c<<24>>24==8){a:do if((b[r+9>>0]|0)==4){a=f[r+12>>2]|0;if((a|0)<1072693248){switch(a|0){case 16711680:break;default:break a}if((f[r+16>>2]|0)!=65280)break;if((f[r+20>>2]|0)==255)a=1508;else break;return a|0}else{switch(a|0){case 1072693248:break;default:break a}if((f[r+16>>2]|0)!=1047552)break;if((f[r+20>>2]|0)==1023)a=1509;else break;return a|0}}while(0);r=1510;return r|0}o=q+24|0;if(!(f[o>>2]|0))n=1;else n=(f[r+24>>2]|0)==0?2:4;p=r+9|0;m=f[235152+((h[p>>0]|0)+-1<<2)>>2]|0;c=f[m+12>>2]|0;b:do if(!c)a=0;else{d=r+12|0;e=r+16|0;g=r+20|0;i=q+12|0;j=q+16|0;k=q+20|0;l=q+9|0;a=0;do{s=f[m+(a*40|0)>>2]|0;if((((((((((s|0)==0?1:(f[d>>2]|0)==(s|0))?(s=f[m+(a*40|0)+4>>2]|0,(s|0)==0?1:(f[e>>2]|0)==(s|0)):0)?(s=f[m+(a*40|0)+8>>2]|0,(s|0)==0?1:(f[g>>2]|0)==(s|0)):0)?(s=f[m+(a*40|0)+16>>2]|0,(s|0)==0?1:(f[i>>2]|0)==(s|0)):0)?(s=f[m+(a*40|0)+20>>2]|0,(s|0)==0?1:(f[j>>2]|0)==(s|0)):0)?(s=f[m+(a*40|0)+24>>2]|0,(s|0)==0?1:(f[k>>2]|0)==(s|0)):0)?(c|0)==(h[l>>0]|0):0)?(f[m+(a*40|0)+36>>2]&n|0)==(n|0):0)?(s=m+(a*40|0)+28|0,c=f[s>>2]|0,c=c&(b6a()|0)!=0,(c|0)==(f[s>>2]|0)):0)break b;a=a+1|0;c=f[m+(a*40|0)+12>>2]|0}while((c|0)!=0)}while(0);a=f[m+(a*40|0)+32>>2]|0;if((a|0)!=1356){s=a;return s|0}if((f[r>>2]|0)==372711428){s=1511;return s|0}if((f[q>>2]|0)==372711428){s=1512;return s|0}if((b[p>>0]|0)!=4){s=(n|0)==4;s=s?1506:1356;return s|0}if((b[q+9>>0]|0)!=4){s=(n|0)==4;s=s?1506:1356;return s|0}if((f[r+12>>2]|0)!=(f[q+12>>2]|0)){s=(n|0)==4;s=s?1506:1356;return s|0}if((f[r+16>>2]|0)!=(f[q+16>>2]|0)){s=(n|0)==4;s=s?1506:1356;return s|0}if((f[r+20>>2]|0)!=(f[q+20>>2]|0)){s=(n|0)==4;s=s?1506:1356;return s|0}if((n|0)!=4){s=1513;return s|0}s=(f[r+24>>2]|0)==(f[o>>2]|0)?1507:1506;return s|0}case 256:{if((b[r+9>>0]|0)==2?f[a+4>>2]|0:0){s=1514;return s|0}if((b[q+9>>0]|0)==1){s=1515;return s|0}if(f[r+24>>2]|0?f[q+24>>2]|0:0){s=1516;return s|0}s=1517;return s|0}default:{s=0;return s|0}}return 0}function $5a(a){a=a|0;if((a|0)!=0?(C8a(a)|0)!=0:0)a=sh(a|0)|0;else a=0;return a|0}function a6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;f[e>>2]=c;c=Vpb(a,b,e)|0;u=d;return c|0}function b6a(){var a=0,b=0,c=0;c=u;u=u+16|0;b=c;a=f[89202]|0;if((a|0)==-1){f[89202]=0;f[b>>2]=0;if(!(f[b>>2]|0))a=0;else{f[89202]=2;a=2}}u=c;return a>>>2&1|0}function c6a(){var a=0,b=0,c=0;c=u;u=u+16|0;b=c;a=f[89202]|0;if((a|0)==-1){f[89202]=0;f[b>>2]=0;if(!(f[b>>2]|0))a=0;else{f[89202]=2;a=2}}u=c;return a>>>3&1|0}function d6a(){var a=0,b=0,c=0;c=u;u=u+16|0;b=c;a=f[89202]|0;if((a|0)==-1){f[89202]=0;f[b>>2]=0;if(!(f[b>>2]|0))a=0;else{f[89202]=2;a=2}}u=c;return a>>>4&1|0}function e6a(){var a=0,b=0,c=0;c=u;u=u+16|0;b=c;a=f[89202]|0;if((a|0)==-1){f[89202]=0;f[b>>2]=0;if(!(f[b>>2]|0))a=0;else{f[89202]=2;a=2}}u=c;return a>>>5&1|0}function f6a(){var a=0,b=0,c=0;c=u;u=u+16|0;b=c;a=f[89202]|0;if((a|0)==-1){f[89202]=0;f[b>>2]=0;if(!(f[b>>2]|0))a=0;else{f[89202]=2;a=2}}u=c;return a>>>1&1|0}function g6a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,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;g=f[a+52>>2]|0;ea=h[a+60>>0]|0;qa=h[a+61>>0]|0;N=h[a+62>>0]|0;O=h[a+63>>0]|0;c=f[a+40>>2]|0;e=f[a+44>>2]|0;P=b[c+9>>0]|0;Q=P&255;R=b[e+9>>0]|0;S=R&255;T=c+24|0;U=~f[T>>2];V=f[a+56>>2]|0;X=a+28|0;pa=f[X>>2]|0;Y=(f[a+8>>2]<<16|0)/(pa|0)|0;Z=a+24|0;i=f[Z>>2]|0;_=(f[a+4>>2]<<16|0)/(i|0)|0;f[X>>2]=pa+-1;if(!pa)return;$=a+20|0;aa=a+32|0;ba=a+12|0;ca=(g&256|0)==0;da=c+28|0;fa=c+12|0;ga=c+32|0;ha=c+29|0;ia=c+16|0;ja=c+33|0;ka=c+30|0;la=c+20|0;ma=c+34|0;na=e+24|0;oa=P<<24>>24==3;pa=c+31|0;z=c+35|0;A=(g&1|0)==0;B=e+28|0;C=e+12|0;D=e+32|0;E=e+29|0;F=e+16|0;G=e+33|0;H=e+30|0;I=e+20|0;J=e+34|0;K=(g&2|0)==0;L=(g&48|0)!=0;M=e+31|0;y=e+35|0;x=g>>>4&255;e=0;g=0;c=f[$>>2]|0;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;e=e+1+(w>>>16)|0;g=g+-65536-(w&-65536)|0}if(i|0){k=0;l=-1;m=65536;while(1){i=i+-1|0;if((m|0)>65535){v=~m;v=m+65536+((v|0)>-131072?v:-131072)|0;l=l+1+(v>>>16)|0;w=(f[a>>2]|0)+(W(f[ba>>2]|0,e)|0)+(W(l,Q)|0)|0;m=m+-65536-(v&-65536)|0}else w=k;k=f[T>>2]|0;a:do if(!k)switch(P<<24>>24){case 1:{o=h[w>>0]|0;p=-1;q=o;k=b[(f[234608+((h[da>>0]|0)<<2)>>2]|0)+((f[fa>>2]&o)>>>(h[ga>>0]|0))>>0]|0;n=b[(f[234608+((h[ha>>0]|0)<<2)>>2]|0)+((f[ia>>2]&o)>>>(h[ja>>0]|0))>>0]|0;o=b[(f[234608+((h[ka>>0]|0)<<2)>>2]|0)+((f[la>>2]&o)>>>(h[ma>>0]|0))>>0]|0;break a}case 2:{o=j[w>>1]|0;p=-1;q=o;k=b[(f[234608+((h[da>>0]|0)<<2)>>2]|0)+((f[fa>>2]&o)>>>(h[ga>>0]|0))>>0]|0;n=b[(f[234608+((h[ha>>0]|0)<<2)>>2]|0)+((f[ia>>2]&o)>>>(h[ja>>0]|0))>>0]|0;o=b[(f[234608+((h[ka>>0]|0)<<2)>>2]|0)+((f[la>>2]&o)>>>(h[ma>>0]|0))>>0]|0;break a}case 3:{p=-1;q=0;k=b[w+((h[ga>>0]|0)>>>3&255)>>0]|0;n=b[w+((h[ja>>0]|0)>>>3&255)>>0]|0;o=b[w+((h[ma>>0]|0)>>>3&255)>>0]|0;break a}case 4:{o=f[w>>2]|0;p=-1;q=o;k=b[(f[234608+((h[da>>0]|0)<<2)>>2]|0)+((f[fa>>2]&o)>>>(h[ga>>0]|0))>>0]|0;n=b[(f[234608+((h[ha>>0]|0)<<2)>>2]|0)+((f[ia>>2]&o)>>>(h[ja>>0]|0))>>0]|0;o=b[(f[234608+((h[ka>>0]|0)<<2)>>2]|0)+((f[la>>2]&o)>>>(h[ma>>0]|0))>>0]|0;break a}default:{p=-1;q=0;k=0;n=0;o=0;break a}}else switch(P<<24>>24){case 1:{o=h[w>>0]|0;p=b[(f[234608+((h[pa>>0]|0)<<2)>>2]|0)+((k&o)>>>(h[z>>0]|0))>>0]|0;q=o;k=b[(f[234608+((h[da>>0]|0)<<2)>>2]|0)+((f[fa>>2]&o)>>>(h[ga>>0]|0))>>0]|0;n=b[(f[234608+((h[ha>>0]|0)<<2)>>2]|0)+((f[ia>>2]&o)>>>(h[ja>>0]|0))>>0]|0;o=b[(f[234608+((h[ka>>0]|0)<<2)>>2]|0)+((f[la>>2]&o)>>>(h[ma>>0]|0))>>0]|0;break a}case 2:{o=j[w>>1]|0;p=b[(f[234608+((h[pa>>0]|0)<<2)>>2]|0)+((k&o)>>>(h[z>>0]|0))>>0]|0;q=o;k=b[(f[234608+((h[da>>0]|0)<<2)>>2]|0)+((f[fa>>2]&o)>>>(h[ga>>0]|0))>>0]|0;n=b[(f[234608+((h[ha>>0]|0)<<2)>>2]|0)+((f[ia>>2]&o)>>>(h[ja>>0]|0))>>0]|0;o=b[(f[234608+((h[ka>>0]|0)<<2)>>2]|0)+((f[la>>2]&o)>>>(h[ma>>0]|0))>>0]|0;break a}case 3:{p=-1;q=0;k=b[w+((h[ga>>0]|0)>>>3&255)>>0]|0;n=b[w+((h[ja>>0]|0)>>>3&255)>>0]|0;o=b[w+((h[ma>>0]|0)>>>3&255)>>0]|0;break a}case 4:{o=f[w>>2]|0;p=b[(f[234608+((h[pa>>0]|0)<<2)>>2]|0)+((o&k)>>>(h[z>>0]|0))>>0]|0;q=o;k=b[(f[234608+((h[da>>0]|0)<<2)>>2]|0)+((f[fa>>2]&o)>>>(h[ga>>0]|0))>>0]|0;n=b[(f[234608+((h[ha>>0]|0)<<2)>>2]|0)+((f[ia>>2]&o)>>>(h[ja>>0]|0))>>0]|0;o=b[(f[234608+((h[ka>>0]|0)<<2)>>2]|0)+((f[la>>2]&o)>>>(h[ma>>0]|0))>>0]|0;break a}default:{p=0;q=0;k=0;n=0;o=0;break a}}while(0);r=k&255;s=n&255;t=o&255;u=p&255;if(!ca){if(oa)k=s<<(h[ja>>0]|0)|r<<(h[ga>>0]|0)|t<<(h[ma>>0]|0);else k=q;if((k^V)&U|0)ra=25}else ra=25;b:do if((ra|0)==25){ra=0;k=f[na>>2]|0;v=(k|0)==0;c:do if(v)switch(R<<24>>24){case 1:{p=h[c>>0]|0;q=-1;k=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&p)>>>(h[D>>0]|0))>>0]|0;n=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&p)>>>(h[G>>0]|0))>>0]|0;p=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&p)>>>(h[J>>0]|0))>>0]|0;break c}case 2:{p=j[c>>1]|0;q=-1;k=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&p)>>>(h[D>>0]|0))>>0]|0;n=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&p)>>>(h[G>>0]|0))>>0]|0;p=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&p)>>>(h[J>>0]|0))>>0]|0;break c}case 3:{q=-1;k=b[c+((h[D>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[G>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[J>>0]|0)>>>3&255)>>0]|0;break c}case 4:{p=f[c>>2]|0;q=-1;k=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&p)>>>(h[D>>0]|0))>>0]|0;n=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&p)>>>(h[G>>0]|0))>>0]|0;p=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&p)>>>(h[J>>0]|0))>>0]|0;break c}default:{q=-1;k=0;n=0;p=0;break c}}else switch(R<<24>>24){case 1:{p=h[c>>0]|0;q=b[(f[234608+((h[M>>0]|0)<<2)>>2]|0)+((k&p)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&p)>>>(h[D>>0]|0))>>0]|0;n=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&p)>>>(h[G>>0]|0))>>0]|0;p=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&p)>>>(h[J>>0]|0))>>0]|0;break c}case 2:{p=j[c>>1]|0;q=b[(f[234608+((h[M>>0]|0)<<2)>>2]|0)+((k&p)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&p)>>>(h[D>>0]|0))>>0]|0;n=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&p)>>>(h[G>>0]|0))>>0]|0;p=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&p)>>>(h[J>>0]|0))>>0]|0;break c}case 3:{q=-1;k=b[c+((h[D>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[G>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[J>>0]|0)>>>3&255)>>0]|0;break c}case 4:{p=f[c>>2]|0;q=b[(f[234608+((h[M>>0]|0)<<2)>>2]|0)+((p&k)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&p)>>>(h[D>>0]|0))>>0]|0;n=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&p)>>>(h[G>>0]|0))>>0]|0;p=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&p)>>>(h[J>>0]|0))>>0]|0;break c}default:{q=0;k=0;n=0;p=0;break c}}while(0);o=k&255;n=n&255;k=p&255;p=q&255;if(!A){r=((W(r,ea)|0)>>>0)/255|0;s=((W(s,qa)|0)>>>0)/255|0;t=((W(t,N)|0)>>>0)/255|0}q=((W(u,O)|0)>>>0)/255|0;q=K?u:q;if(L&q>>>0<255){r=((W(r,q)|0)>>>0)/255|0;s=((W(s,q)|0)>>>0)/255|0;t=((W(t,q)|0)>>>0)/255|0}switch(x&7){case 0:{p=q;o=r;n=s;k=t;break}case 1:{u=255-q|0;p=(((W(u,p)|0)>>>0)/255|0)+q|0;o=r+(((W(u,o)|0)>>>0)/255|0)|0;n=s+(((W(u,n)|0)>>>0)/255|0)|0;k=t+(((W(u,k)|0)>>>0)/255|0)|0;break}case 2:{o=r+o|0;n=s+n|0;k=t+k|0;o=o>>>0<255?o:255;n=n>>>0<255?n:255;k=k>>>0<255?k:255;break}case 4:{o=((W(r,o)|0)>>>0)/255|0;n=((W(s,n)|0)>>>0)/255|0;k=((W(t,k)|0)>>>0)/255|0;break}default:{}}if(v)switch(R<<24>>24){case 1:{b[c>>0]=o>>>(h[B>>0]|0)<<(h[D>>0]|0)|n>>>(h[E>>0]|0)<<(h[G>>0]|0)|k>>>(h[H>>0]|0)<<(h[J>>0]|0);break b}case 2:{d[c>>1]=o>>>(h[B>>0]|0)<<(h[D>>0]|0)|n>>>(h[E>>0]|0)<<(h[G>>0]|0)|k>>>(h[H>>0]|0)<<(h[J>>0]|0);break b}case 3:{b[c+((h[D>>0]|0)>>>3&255)>>0]=o;b[c+((h[G>>0]|0)>>>3&255)>>0]=n;b[c+((h[J>>0]|0)>>>3&255)>>0]=k;break b}case 4:{f[c>>2]=o>>>(h[B>>0]|0)<<(h[D>>0]|0)|n>>>(h[E>>0]|0)<<(h[G>>0]|0)|k>>>(h[H>>0]|0)<<(h[J>>0]|0);break b}default:break b}else switch(R<<24>>24){case 1:{b[c>>0]=n>>>(h[E>>0]|0)<<(h[G>>0]|0)|o>>>(h[B>>0]|0)<<(h[D>>0]|0)|k>>>(h[H>>0]|0)<<(h[J>>0]|0)|p>>>(h[M>>0]|0)<<(h[y>>0]|0);break b}case 2:{d[c>>1]=n>>>(h[E>>0]|0)<<(h[G>>0]|0)|o>>>(h[B>>0]|0)<<(h[D>>0]|0)|k>>>(h[H>>0]|0)<<(h[J>>0]|0)|p>>>(h[M>>0]|0)<<(h[y>>0]|0);break b}case 3:{b[c+((h[D>>0]|0)>>>3&255)>>0]=o;b[c+((h[G>>0]|0)>>>3&255)>>0]=n;b[c+((h[J>>0]|0)>>>3&255)>>0]=k;break b}case 4:{f[c>>2]=n>>>(h[E>>0]|0)<<(h[G>>0]|0)|o>>>(h[B>>0]|0)<<(h[D>>0]|0)|k>>>(h[H>>0]|0)<<(h[J>>0]|0)|p>>>(h[M>>0]|0)<<(h[y>>0]|0);break b}default:break b}}while(0);if(!i)break;else{c=c+S|0;k=w;m=m+_|0}}}c=(f[$>>2]|0)+(f[aa>>2]|0)|0;f[$>>2]=c;w=f[X>>2]|0;f[X>>2]=w+-1;if(!w)break;g=g+Y|0;i=f[Z>>2]|0}return}function h6a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,i=0,j=0,k=0,l=0;l=W(f[a+24>>2]|0,h[(f[a+44>>2]|0)+9>>0]|0)|0;d=f[a+28>>2]|0;c=f[a>>2]|0;b=f[a+20>>2]|0;k=f[a+12>>2]|0;j=f[a+32>>2]|0;g=b>>>0<(c+(W(k,d)|0)|0)>>>0;i=c>>>0<(b+(W(j,d)|0)|0)>>>0;if(!(c>>>0<b>>>0?g:i)){if(!d)return;a=d;while(1){a=a+-1|0;M5a(b,c,l)|0;if(!a)break;else{b=b+j|0;c=c+k|0}}return}if(b>>>0<c>>>0){if(!d)return;a=d;while(1){a=a+-1|0;j6a(b,c,l)|0;if(!a)break;else{c=c+k|0;b=b+j|0}}return}else{e=d+-1|0;if(!d)return;g=0-k|0;i=0-j|0;a=b+(W(j,e)|0)|0;b=c+(W(k,e)|0)|0;while(1){d=d+-1|0;j6a(a,b,l)|0;if(!d)break;else{a=a+i|0;b=b+g|0}}return}}function i6a(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=f[a>>2]|0;if(b|0?(d=b+56|0,c=f[d>>2]|0,f[d>>2]=c+-1,(c|0)<2):0)S5a(b);f[a>>2]=0;f[a+84>>2]=0;f[a+80>>2]=0;d=a+64|0;A5a(f[d>>2]|0);f[d>>2]=0;return}function j6a(a,b,c){a=a|0;b=b|0;c=c|0;ZDb(a|0,b|0,c|0)|0;return a|0}function k6a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}f[d>>2]=f[c>>2];if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function l6a(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;b=f[a+52>>2]|0;o=a+28|0;r=f[o>>2]|0;f[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;c=f[a>>2]|0;d=f[p>>2]|0;l=(m&127)==64;j=c;k=d;while(1){i=f[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){f[d>>2]=f[c>>2]&16777215;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}case 32:{while(1){i=f[c>>2]|0;e=f[d>>2]|0;h=(e>>>16&255)+(i>>>16&255)|0;g=(e>>>8&255)+(i>>>8&255)|0;i=(e&255)+(i&255)|0;f[d>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)<<16|(i>>>0<255?i:255);if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}default:while(1){i=f[c>>2]|0;g=f[d>>2]|0;e=g>>>16&255;h=g>>>8&255;g=g&255;if(l){g=((W(g,i&255)|0)>>>0)/255|0;h=((W(h,i>>>8&255)|0)>>>0)/255|0;e=((W(e,i>>>16&255)|0)>>>0)/255|0}f[d>>2]=h<<8|e<<16|g;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}}c=j+(f[r>>2]|0)|0;b=k+(f[n>>2]|0)|0;k=f[o>>2]|0;f[o>>2]=k+-1;if(!k)break;else{j=c;k=b;d=b}}f[a>>2]=c;f[p>>2]=b;return}function m6a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=f[a+52>>2]|0;x=a+28|0;w=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;c=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(c|0)|0;f[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=f[v>>2]|0;d=0;e=0;p=b;while(1){if((d|0)>65535){o=~d;o=d+65536+((o|0)>-131072?o:-131072)|0;d=d+-65536-(o&-65536)|0;e=e+1+(o>>>16)|0}i=c+-1|0;a:do if(c|0){if(r){c=0;g=65536;h=-1;while(1){if((g|0)>65535){o=~g;o=g+65536+((o|0)>-131072?o:-131072)|0;h=h+1+(o>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(o&-65536)|0}f[b>>2]=f[c>>2]&16777215;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}c=0;g=65536;h=-1;o=i;while(1){if((g|0)>65535){n=~g;n=g+65536+((n|0)>-131072?n:-131072)|0;h=h+1+(n>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(n&-65536)|0}k=f[c>>2]|0;n=k>>>16&255;m=k>>>8&255;k=k&255;l=f[b>>2]|0;i=l>>>16&255;j=l>>>8&255;l=l&255;switch(s&127){case 64:{l=((W(l,k)|0)>>>0)/255|0;j=((W(j,m)|0)>>>0)/255|0;i=((W(i,n)|0)>>>0)/255|0;break}case 32:{i=i+n|0;j=j+m|0;l=l+k|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}f[b>>2]=j<<8|i<<16|l;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(f[w>>2]|0)|0;p=f[x>>2]|0;f[x>>2]=p+-1;if(!p)break;d=d+y|0;p=b;c=f[t>>2]|0}f[v>>2]=b;return}function n6a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;f[e>>2]=f[g>>2]&16777215;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>16&255,k)|0)>>>0)/255|0)<<16|(((W(i&255,j)|0)>>>0)/255|0);f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function o6a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}f[b>>2]=f[c>>2]&16777215;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=((W(w&255,n)|0)>>>0)/255|0|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w>>>16&255,u)|0)>>>0)/255|0)<<16;f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function p6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;d=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;t=h[a+62>>0]|0;c=b[a+63>>0]|0;u=a+28|0;z=f[u>>2]|0;f[u>>2]=z+-1;if(!z)return;v=a+20|0;w=a+24|0;x=a+12|0;y=a+32|0;z=(d&1|0)==0;s=(d&2|0)==0?255:c&255;r=(d&48|0)!=0&(s|0)!=255;q=d&112;p=s^255;d=f[a>>2]|0;c=f[v>>2]|0;n=d;o=c;while(1){m=f[w>>2]|0;e=m+-1|0;a:do if(m|0)if(z){m=e;while(1){i=f[d>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;l=f[c>>2]|0;e=l>>>16&255;g=l>>>8&255;l=l&255;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e<<16|i;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}else{m=e;while(1){i=f[d>>2]|0;l=f[c>>2]|0;e=l>>>16&255;g=l>>>8&255;l=l&255;k=((W(i>>>16&255,A)|0)>>>0)/255|0;j=((W(i>>>8&255,B)|0)>>>0)/255|0;i=((W(i&255,t)|0)>>>0)/255|0;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e<<16|i;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(f[x>>2]|0)|0;c=o+(f[y>>2]|0)|0;o=f[u>>2]|0;f[u>>2]=o+-1;if(!o)break;else{n=d;o=c}}f[a>>2]=d;f[v>>2]=c;return}function q6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;d=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;w=h[a+62>>0]|0;c=b[a+63>>0]|0;x=a+28|0;E=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(E|0)|0;z=a+24|0;g=f[z>>2]|0;A=(f[a+4>>2]<<16|0)/(g|0)|0;e=E+-1|0;f[x>>2]=e;if(!E)return;B=a+20|0;C=a+32|0;D=(d&1|0)==0;E=a+12|0;v=(d&2|0)==0?255:c&255;u=(d&48|0)!=0&(v|0)!=255;t=d&112;s=v^255;d=f[B>>2]|0;i=0;j=0;r=d;c=e;while(1){if((i|0)>65535){q=~i;q=i+65536+((q|0)>-131072?q:-131072)|0;i=i+-65536-(q&-65536)|0;q=j+1+(q>>>16)|0}else q=j;if(g){c=0;e=65536;j=-1;while(1){g=g+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;j=j+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[E>>2]|0,q)|0)+(j<<2)|0;e=e+-65536-(p&-65536)|0}m=f[c>>2]|0;n=m>>>16&255;o=m>>>8&255;m=m&255;p=f[d>>2]|0;k=p>>>16&255;l=p>>>8&255;p=p&255;if(!D){n=((W(n,F)|0)>>>0)/255|0;o=((W(o,G)|0)>>>0)/255|0;m=((W(m,w)|0)>>>0)/255|0}if(u){n=((W(n,v)|0)>>>0)/255|0;o=((W(o,v)|0)>>>0)/255|0;m=((W(m,v)|0)>>>0)/255|0}switch(t&127){case 16:{m=m+(((W(p,s)|0)>>>0)/255|0)|0;l=o+(((W(l,s)|0)>>>0)/255|0)|0;k=n+(((W(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((W(m,p)|0)>>>0)/255|0;l=((W(o,l)|0)>>>0)/255|0;k=((W(n,k)|0)>>>0)/255|0;break}default:m=p}f[d>>2]=l<<8|k<<16|m;if(!g)break;else{d=d+4|0;e=e+A|0}}c=f[x>>2]|0}e=r+(f[C>>2]|0)|0;d=c+-1|0;f[x>>2]=d;if(!c)break;i=i+y|0;j=q;r=e;c=d;d=e;g=f[z>>2]|0}f[B>>2]=e;return}function r6a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function s6a(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;b=f[a+52>>2]|0;o=a+28|0;r=f[o>>2]|0;f[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;c=f[a>>2]|0;d=f[p>>2]|0;l=(m&127)==64;j=c;k=d;while(1){i=f[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){i=f[c>>2]|0;f[d>>2]=i&65280|i>>>16&255|i<<16&16711680;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}case 32:{while(1){i=f[c>>2]|0;e=f[d>>2]|0;h=(i>>>16&255)+(e&255)|0;g=(e>>>8&255)+(i>>>8&255)|0;i=(e>>>16&255)+(i&255)|0;f[d>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)|(i>>>0<255?i:255)<<16;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}default:while(1){i=f[c>>2]|0;e=f[d>>2]|0;g=e>>>16&255;h=e>>>8&255;e=e&255;if(l){g=((W(g,i&255)|0)>>>0)/255|0;h=((W(h,i>>>8&255)|0)>>>0)/255|0;e=((W(i>>>16&255,e)|0)>>>0)/255|0}f[d>>2]=h<<8|e|g<<16;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}}c=j+(f[r>>2]|0)|0;b=k+(f[n>>2]|0)|0;k=f[o>>2]|0;f[o>>2]=k+-1;if(!k)break;else{j=c;k=b;d=b}}f[a>>2]=c;f[p>>2]=b;return}function t6a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=f[a+52>>2]|0;x=a+28|0;w=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;c=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(c|0)|0;f[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=f[v>>2]|0;d=0;e=0;p=b;while(1){if((d|0)>65535){o=~d;o=d+65536+((o|0)>-131072?o:-131072)|0;d=d+-65536-(o&-65536)|0;e=e+1+(o>>>16)|0}i=c+-1|0;a:do if(c|0){if(r){c=0;g=65536;h=-1;while(1){if((g|0)>65535){o=~g;o=g+65536+((o|0)>-131072?o:-131072)|0;h=h+1+(o>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(o&-65536)|0}o=f[c>>2]|0;f[b>>2]=o&65280|o>>>16&255|o<<16&16711680;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}c=0;g=65536;h=-1;o=i;while(1){if((g|0)>65535){n=~g;n=g+65536+((n|0)>-131072?n:-131072)|0;h=h+1+(n>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(n&-65536)|0}k=f[c>>2]|0;n=k>>>16&255;m=k>>>8&255;k=k&255;i=f[b>>2]|0;l=i>>>16&255;j=i>>>8&255;i=i&255;switch(s&127){case 64:{l=((W(l,k)|0)>>>0)/255|0;j=((W(j,m)|0)>>>0)/255|0;i=((W(n,i)|0)>>>0)/255|0;break}case 32:{i=n+i|0;j=j+m|0;l=l+k|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}f[b>>2]=j<<8|i|l<<16;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(f[w>>2]|0)|0;p=f[x>>2]|0;f[x>>2]=p+-1;if(!p)break;d=d+y|0;p=b;c=f[t>>2]|0}f[v>>2]=b;return}function u6a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;l=f[g>>2]|0;f[e>>2]=l&65280|l>>>16&255|l<<16&16711680;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>16&255,k)|0)>>>0)/255|0)|(((W(i&255,j)|0)>>>0)/255|0)<<16;f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function v6a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;f[b>>2]=w<<16&16711680|w&65280|w>>>16&255;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=(((W(w&255,n)|0)>>>0)/255|0)<<16|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w>>>16&255,u)|0)>>>0)/255|0);f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function w6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;d=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;t=h[a+62>>0]|0;c=b[a+63>>0]|0;u=a+28|0;z=f[u>>2]|0;f[u>>2]=z+-1;if(!z)return;v=a+20|0;w=a+24|0;x=a+12|0;y=a+32|0;z=(d&1|0)==0;s=(d&2|0)==0?255:c&255;r=(d&48|0)!=0&(s|0)!=255;q=d&112;p=s^255;d=f[a>>2]|0;c=f[v>>2]|0;n=d;o=c;while(1){m=f[w>>2]|0;e=m+-1|0;a:do if(m|0)if(z){m=e;while(1){i=f[d>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;e=f[c>>2]|0;l=e>>>16&255;g=e>>>8&255;e=e&255;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e|i<<16;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}else{m=e;while(1){i=f[d>>2]|0;e=f[c>>2]|0;l=e>>>16&255;g=e>>>8&255;e=e&255;k=((W(i>>>16&255,A)|0)>>>0)/255|0;j=((W(i>>>8&255,B)|0)>>>0)/255|0;i=((W(i&255,t)|0)>>>0)/255|0;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e|i<<16;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(f[x>>2]|0)|0;c=o+(f[y>>2]|0)|0;o=f[u>>2]|0;f[u>>2]=o+-1;if(!o)break;else{n=d;o=c}}f[a>>2]=d;f[v>>2]=c;return}function x6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;d=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;w=h[a+62>>0]|0;c=b[a+63>>0]|0;x=a+28|0;E=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(E|0)|0;z=a+24|0;g=f[z>>2]|0;A=(f[a+4>>2]<<16|0)/(g|0)|0;e=E+-1|0;f[x>>2]=e;if(!E)return;B=a+20|0;C=a+32|0;D=(d&1|0)==0;E=a+12|0;v=(d&2|0)==0?255:c&255;u=(d&48|0)!=0&(v|0)!=255;t=d&112;s=v^255;d=f[B>>2]|0;i=0;j=0;r=d;c=e;while(1){if((i|0)>65535){q=~i;q=i+65536+((q|0)>-131072?q:-131072)|0;i=i+-65536-(q&-65536)|0;q=j+1+(q>>>16)|0}else q=j;if(g){c=0;e=65536;j=-1;while(1){g=g+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;j=j+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[E>>2]|0,q)|0)+(j<<2)|0;e=e+-65536-(p&-65536)|0}m=f[c>>2]|0;n=m>>>16&255;o=m>>>8&255;m=m&255;k=f[d>>2]|0;p=k>>>16&255;l=k>>>8&255;k=k&255;if(!D){n=((W(n,F)|0)>>>0)/255|0;o=((W(o,G)|0)>>>0)/255|0;m=((W(m,w)|0)>>>0)/255|0}if(u){n=((W(n,v)|0)>>>0)/255|0;o=((W(o,v)|0)>>>0)/255|0;m=((W(m,v)|0)>>>0)/255|0}switch(t&127){case 16:{m=m+(((W(p,s)|0)>>>0)/255|0)|0;l=o+(((W(l,s)|0)>>>0)/255|0)|0;k=n+(((W(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((W(m,p)|0)>>>0)/255|0;l=((W(o,l)|0)>>>0)/255|0;k=((W(n,k)|0)>>>0)/255|0;break}default:m=p}f[d>>2]=l<<8|k|m<<16;if(!g)break;else{d=d+4|0;e=e+A|0}}c=f[x>>2]|0}e=r+(f[C>>2]|0)|0;d=c+-1|0;f[x>>2]=d;if(!c)break;i=i+y|0;j=q;r=e;c=d;d=e;g=f[z>>2]|0}f[B>>2]=e;return}function y6a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}f[d>>2]=f[c>>2]|-16777216;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function z6a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;q=a+32|0;p=b&112;m=(p&127)==16;c=f[a>>2]|0;d=f[s>>2]|0;n=c;o=d;while(1){l=f[t>>2]|0;b=l+-1|0;a:do if(l|0){if(m)while(1){f[d>>2]=f[c>>2]|-16777216;if(!b)break a;else{d=d+4|0;c=c+4|0;b=b+-1|0}}while(1){h=f[c>>2]|0;k=h>>>16&255;j=h>>>8&255;h=h&255;l=f[d>>2]|0;e=l>>>16&255;g=l>>>8&255;i=l&255;l=l&-16777216;switch(p&127){case 64:{i=((W(i,h)|0)>>>0)/255|0;g=((W(g,j)|0)>>>0)/255|0;e=((W(e,k)|0)>>>0)/255|0;break}case 32:{e=e+k|0;g=g+j|0;i=i+h|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}default:{}}f[d>>2]=g<<8|e<<16|i|l;if(!b)break a;else{d=d+4|0;c=c+4|0;b=b+-1|0}}}while(0);c=n+(f[u>>2]|0)|0;b=o+(f[q>>2]|0)|0;o=f[r>>2]|0;f[r>>2]=o+-1;if(!o)break;else{n=c;o=b;d=b}}f[a>>2]=c;f[s>>2]=b;return}function A6a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;u=a+24|0;c=f[u>>2]|0;v=(f[a+4>>2]<<16|0)/(c|0)|0;f[y>>2]=x+-1;if(!x)return;w=a+20|0;x=a+32|0;t=b&112;r=a+12|0;s=(t&127)==16;b=f[w>>2]|0;d=0;e=0;q=b;while(1){if((d|0)>65535){p=~d;p=d+65536+((p|0)>-131072?p:-131072)|0;d=d+-65536-(p&-65536)|0;e=e+1+(p>>>16)|0}i=c+-1|0;a:do if(c|0){if(s){c=0;g=65536;h=-1;while(1){if((g|0)>65535){p=~g;p=g+65536+((p|0)>-131072?p:-131072)|0;h=h+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[r>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(p&-65536)|0}f[b>>2]=f[c>>2]|-16777216;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}c=0;g=65536;h=-1;while(1){if((g|0)>65535){p=~g;p=g+65536+((p|0)>-131072?p:-131072)|0;h=h+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[r>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(p&-65536)|0}l=f[c>>2]|0;o=l>>>16&255;n=l>>>8&255;l=l&255;p=f[b>>2]|0;j=p>>>16&255;k=p>>>8&255;m=p&255;p=p&-16777216;switch(t&127){case 64:{m=((W(m,l)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0;j=((W(j,o)|0)>>>0)/255|0;break}case 32:{j=j+o|0;k=k+n|0;m=m+l|0;m=m>>>0<255?m:255;k=k>>>0<255?k:255;j=j>>>0<255?j:255;break}default:{}}f[b>>2]=k<<8|j<<16|m|p;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}while(0);b=q+(f[x>>2]|0)|0;q=f[y>>2]|0;f[y>>2]=q+-1;if(!q)break;d=d+z|0;q=b;c=f[u>>2]|0}f[w>>2]=b;return}function B6a(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;d=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;c=b[a+63>>0]|0;n=a+28|0;r=f[n>>2]|0;g=r+-1|0;f[n>>2]=g;if(!r)return;o=a+20|0;p=a+24|0;q=a+12|0;r=a+32|0;m=(d&2|0)==0?-16777216:(c&255)<<24;if(!(d&1)){do{d=f[p>>2]|0;if(!d){e=f[a>>2]|0;c=f[o>>2]|0;d=g}else{c=f[o>>2]|0;e=f[a>>2]|0;g=c;i=e;while(1){d=d+-1|0;l=f[i>>2]|0;f[g>>2]=l&16711680|m|l&65280|l&255;if(!d)break;else{g=g+4|0;i=i+4|0}}d=f[n>>2]|0}f[a>>2]=e+(f[q>>2]|0);f[o>>2]=c+(f[r>>2]|0);g=d+-1|0;f[n>>2]=g}while((d|0)!=0);return}else{do{d=f[p>>2]|0;if(!d){e=f[a>>2]|0;c=f[o>>2]|0;d=g}else{c=f[o>>2]|0;e=f[a>>2]|0;g=c;i=e;while(1){d=d+-1|0;s=f[i>>2]|0;s=(((W(s>>>16&255,k)|0)>>>0)/255|0)<<16|m|(((W(s>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(s&255,j)|0)>>>0)/255|0);f[g>>2]=s;if(!d)break;else{g=g+4|0;i=i+4|0}}d=f[n>>2]|0}f[a>>2]=e+(f[q>>2]|0);f[o>>2]=c+(f[r>>2]|0);g=d+-1|0;f[n>>2]=g}while((d|0)!=0);return}}function C6a(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,u=0,v=0,w=0,x=0,y=0;d=f[a+52>>2]|0;w=h[a+60>>0]|0;x=h[a+61>>0]|0;n=h[a+62>>0]|0;c=b[a+63>>0]|0;o=a+28|0;v=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(v|0)|0;q=a+24|0;e=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(e|0)|0;f[o>>2]=v+-1;if(!v)return;s=a+20|0;t=a+32|0;u=(d&1|0)==0;v=a+12|0;m=(d&2|0)==0?-16777216:(c&255)<<24;c=f[s>>2]|0;d=0;g=0;l=c;while(1){if((d|0)>65535){k=~d;k=d+65536+((k|0)>-131072?k:-131072)|0;d=d+-65536-(k&-65536)|0;g=g+1+(k>>>16)|0}k=e+-1|0;if(e|0)if(u){e=0;i=65536;j=-1;while(1){if((i|0)>65535){y=~i;y=i+65536+((y|0)>-131072?y:-131072)|0;j=j+1+(y>>>16)|0;e=(f[a>>2]|0)+(W(f[v>>2]|0,g)|0)+(j<<2)|0;i=i+-65536-(y&-65536)|0}y=f[e>>2]|0;f[c>>2]=y&65280|m|y&255|y&16711680;if(!k)break;else{c=c+4|0;i=i+r|0;k=k+-1|0}}}else{e=0;i=65536;j=-1;while(1){if((i|0)>65535){y=~i;y=i+65536+((y|0)>-131072?y:-131072)|0;j=j+1+(y>>>16)|0;e=(f[a>>2]|0)+(W(f[v>>2]|0,g)|0)+(j<<2)|0;i=i+-65536-(y&-65536)|0}y=f[e>>2]|0;y=(((W(y>>>8&255,x)|0)>>>0)/255|0)<<8|m|(((W(y&255,n)|0)>>>0)/255|0)|(((W(y>>>16&255,w)|0)>>>0)/255|0)<<16;f[c>>2]=y;if(!k)break;else{c=c+4|0;i=i+r|0;k=k+-1|0}}}c=l+(f[t>>2]|0)|0;y=f[o>>2]|0;f[o>>2]=y+-1;if(!y)break;d=d+p|0;l=c;e=f[q>>2]|0}f[s>>2]=c;return}function D6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;d=f[a+52>>2]|0;B=h[a+60>>0]|0;C=h[a+61>>0]|0;u=h[a+62>>0]|0;c=b[a+63>>0]|0;v=a+28|0;A=f[v>>2]|0;e=A+-1|0;f[v>>2]=e;if(!A)return;w=a+20|0;x=a+24|0;y=a+12|0;z=a+32|0;A=(d&1|0)==0;t=(d&2|0)==0?255:c&255;s=(d&48|0)!=0&(t|0)!=255;r=d&112;q=t^255;do{g=f[x>>2]|0;if(!g){d=f[w>>2]|0;g=e;c=f[a>>2]|0}else{d=f[w>>2]|0;c=f[a>>2]|0;o=d;p=c;while(1){g=g+-1|0;j=f[p>>2]|0;l=j>>>16&255;k=j>>>8&255;j=j&255;m=f[o>>2]|0;e=m>>>16&255;i=m>>>8&255;n=m&255;m=m>>>24;if(!A){j=((W(j,u)|0)>>>0)/255|0;k=((W(k,C)|0)>>>0)/255|0;l=((W(l,B)|0)>>>0)/255|0}if(s){j=((W(j,t)|0)>>>0)/255|0;k=((W(k,t)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}switch(r&127){case 16:{m=(((W(m,q)|0)>>>0)/255|0)+t|0;j=j+(((W(n,q)|0)>>>0)/255|0)|0;i=k+(((W(i,q)|0)>>>0)/255|0)|0;e=l+(((W(e,q)|0)>>>0)/255|0)|0;break}case 32:{e=l+e|0;i=k+i|0;j=j+n|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;e=e>>>0<255?e:255;break}case 64:{j=((W(j,n)|0)>>>0)/255|0;i=((W(k,i)|0)>>>0)/255|0;e=((W(l,e)|0)>>>0)/255|0;break}default:j=n}f[o>>2]=i<<8|e<<16|j|m<<24;if(!g)break;else{o=o+4|0;p=p+4|0}}g=f[v>>2]|0}f[a>>2]=c+(f[y>>2]|0);f[w>>2]=d+(f[z>>2]|0);e=g+-1|0;f[v>>2]=e}while((g|0)!=0);return}function E6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=f[a+52>>2]|0;G=h[a+60>>0]|0;H=h[a+61>>0]|0;x=h[a+62>>0]|0;c=b[a+63>>0]|0;y=a+28|0;F=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(F|0)|0;A=a+24|0;g=f[A>>2]|0;B=(f[a+4>>2]<<16|0)/(g|0)|0;e=F+-1|0;f[y>>2]=e;if(!F)return;C=a+20|0;D=a+32|0;E=(d&1|0)==0;F=a+12|0;w=(d&2|0)==0?255:c&255;v=(d&48|0)!=0&(w|0)!=255;u=d&112;t=w^255;d=f[C>>2]|0;i=0;j=0;s=d;c=e;while(1){if((i|0)>65535){r=~i;r=i+65536+((r|0)>-131072?r:-131072)|0;i=i+-65536-(r&-65536)|0;r=j+1+(r>>>16)|0}else r=j;if(g){c=0;e=65536;j=-1;while(1){g=g+-1|0;if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;j=j+1+(q>>>16)|0;c=(f[a>>2]|0)+(W(f[F>>2]|0,r)|0)+(j<<2)|0;e=e+-65536-(q&-65536)|0}o=f[c>>2]|0;m=o>>>16&255;p=o>>>8&255;o=o&255;q=f[d>>2]|0;k=q>>>16&255;l=q>>>8&255;n=q&255;q=q>>>24;if(!E){m=((W(m,G)|0)>>>0)/255|0;p=((W(p,H)|0)>>>0)/255|0;o=((W(o,x)|0)>>>0)/255|0}if(v){m=((W(m,w)|0)>>>0)/255|0;p=((W(p,w)|0)>>>0)/255|0;o=((W(o,w)|0)>>>0)/255|0}switch(u&127){case 16:{q=(((W(q,t)|0)>>>0)/255|0)+w|0;n=o+(((W(n,t)|0)>>>0)/255|0)|0;l=p+(((W(l,t)|0)>>>0)/255|0)|0;k=m+(((W(k,t)|0)>>>0)/255|0)|0;break}case 32:{k=m+k|0;l=p+l|0;n=o+n|0;n=n>>>0<255?n:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{n=((W(o,n)|0)>>>0)/255|0;l=((W(p,l)|0)>>>0)/255|0;k=((W(m,k)|0)>>>0)/255|0;break}default:{}}f[d>>2]=l<<8|k<<16|n|q<<24;if(!g)break;else{d=d+4|0;e=e+B|0}}c=f[y>>2]|0}e=s+(f[D>>2]|0)|0;d=c+-1|0;f[y>>2]=d;if(!c)break;i=i+z|0;j=r;s=e;c=d;d=e;g=f[A>>2]|0}f[C>>2]=e;return}function F6a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function G6a(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;b=f[a+52>>2]|0;o=a+28|0;r=f[o>>2]|0;f[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;c=f[a>>2]|0;d=f[p>>2]|0;l=(m&127)==64;j=c;k=d;while(1){i=f[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){i=f[c>>2]|0;f[d>>2]=i&65280|i<<16&16711680|i>>>16&255;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}case 32:{while(1){e=f[c>>2]|0;i=f[d>>2]|0;h=(i>>>16&255)+(e&255)|0;g=(i>>>8&255)+(e>>>8&255)|0;i=(e>>>16&255)+(i&255)|0;f[d>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)<<16|(i>>>0<255?i:255);if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}default:while(1){i=f[c>>2]|0;g=f[d>>2]|0;e=g>>>16&255;h=g>>>8&255;g=g&255;if(l){g=((W(i>>>16&255,g)|0)>>>0)/255|0;h=((W(h,i>>>8&255)|0)>>>0)/255|0;e=((W(e,i&255)|0)>>>0)/255|0}f[d>>2]=h<<8|e<<16|g;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}}c=j+(f[r>>2]|0)|0;b=k+(f[n>>2]|0)|0;k=f[o>>2]|0;f[o>>2]=k+-1;if(!k)break;else{j=c;k=b;d=b}}f[a>>2]=c;f[p>>2]=b;return}function H6a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=f[a+52>>2]|0;x=a+28|0;w=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;c=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(c|0)|0;f[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=f[v>>2]|0;d=0;e=0;p=b;while(1){if((d|0)>65535){o=~d;o=d+65536+((o|0)>-131072?o:-131072)|0;d=d+-65536-(o&-65536)|0;e=e+1+(o>>>16)|0}i=c+-1|0;a:do if(c|0){if(r){c=0;g=65536;h=-1;while(1){if((g|0)>65535){o=~g;o=g+65536+((o|0)>-131072?o:-131072)|0;h=h+1+(o>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(o&-65536)|0}o=f[c>>2]|0;f[b>>2]=o&65280|o<<16&16711680|o>>>16&255;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}c=0;g=65536;h=-1;o=i;while(1){if((g|0)>65535){n=~g;n=g+65536+((n|0)>-131072?n:-131072)|0;h=h+1+(n>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(n&-65536)|0}n=f[c>>2]|0;k=n>>>16&255;m=n>>>8&255;n=n&255;l=f[b>>2]|0;i=l>>>16&255;j=l>>>8&255;l=l&255;switch(s&127){case 64:{l=((W(k,l)|0)>>>0)/255|0;j=((W(j,m)|0)>>>0)/255|0;i=((W(i,n)|0)>>>0)/255|0;break}case 32:{i=i+n|0;j=j+m|0;l=k+l|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}f[b>>2]=j<<8|i<<16|l;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(f[w>>2]|0)|0;p=f[x>>2]|0;f[x>>2]=p+-1;if(!p)break;d=d+y|0;p=b;c=f[t>>2]|0}f[v>>2]=b;return}function I6a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;l=f[g>>2]|0;f[e>>2]=l&65280|l<<16&16711680|l>>>16&255;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i&255,k)|0)>>>0)/255|0)<<16|(((W(i>>>16&255,j)|0)>>>0)/255|0);f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function J6a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;f[b>>2]=w>>>16&255|w&65280|w<<16&16711680;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=((W(w>>>16&255,n)|0)>>>0)/255|0|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w&255,u)|0)>>>0)/255|0)<<16;f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function K6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;d=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;t=h[a+62>>0]|0;c=b[a+63>>0]|0;u=a+28|0;z=f[u>>2]|0;f[u>>2]=z+-1;if(!z)return;v=a+20|0;w=a+24|0;x=a+12|0;y=a+32|0;z=(d&1|0)==0;s=(d&2|0)==0?255:c&255;r=(d&48|0)!=0&(s|0)!=255;q=d&112;p=s^255;d=f[a>>2]|0;c=f[v>>2]|0;n=d;o=c;while(1){m=f[w>>2]|0;e=m+-1|0;a:do if(m|0)if(z){m=e;while(1){k=f[d>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;l=f[c>>2]|0;e=l>>>16&255;g=l>>>8&255;l=l&255;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e<<16|i;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}else{m=e;while(1){i=f[d>>2]|0;l=f[c>>2]|0;e=l>>>16&255;g=l>>>8&255;l=l&255;k=((W(i&255,A)|0)>>>0)/255|0;j=((W(i>>>8&255,B)|0)>>>0)/255|0;i=((W(i>>>16&255,t)|0)>>>0)/255|0;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e<<16|i;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(f[x>>2]|0)|0;c=o+(f[y>>2]|0)|0;o=f[u>>2]|0;f[u>>2]=o+-1;if(!o)break;else{n=d;o=c}}f[a>>2]=d;f[v>>2]=c;return}function L6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;d=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;w=h[a+62>>0]|0;c=b[a+63>>0]|0;x=a+28|0;E=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(E|0)|0;z=a+24|0;g=f[z>>2]|0;A=(f[a+4>>2]<<16|0)/(g|0)|0;e=E+-1|0;f[x>>2]=e;if(!E)return;B=a+20|0;C=a+32|0;D=(d&1|0)==0;E=a+12|0;v=(d&2|0)==0?255:c&255;u=(d&48|0)!=0&(v|0)!=255;t=d&112;s=v^255;d=f[B>>2]|0;i=0;j=0;r=d;c=e;while(1){if((i|0)>65535){q=~i;q=i+65536+((q|0)>-131072?q:-131072)|0;i=i+-65536-(q&-65536)|0;q=j+1+(q>>>16)|0}else q=j;if(g){c=0;e=65536;j=-1;while(1){g=g+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;j=j+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[E>>2]|0,q)|0)+(j<<2)|0;e=e+-65536-(p&-65536)|0}n=f[c>>2]|0;m=n>>>16&255;o=n>>>8&255;n=n&255;p=f[d>>2]|0;k=p>>>16&255;l=p>>>8&255;p=p&255;if(!D){n=((W(n,F)|0)>>>0)/255|0;o=((W(o,G)|0)>>>0)/255|0;m=((W(m,w)|0)>>>0)/255|0}if(u){n=((W(n,v)|0)>>>0)/255|0;o=((W(o,v)|0)>>>0)/255|0;m=((W(m,v)|0)>>>0)/255|0}switch(t&127){case 16:{m=m+(((W(p,s)|0)>>>0)/255|0)|0;l=o+(((W(l,s)|0)>>>0)/255|0)|0;k=n+(((W(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((W(m,p)|0)>>>0)/255|0;l=((W(o,l)|0)>>>0)/255|0;k=((W(n,k)|0)>>>0)/255|0;break}default:m=p}f[d>>2]=l<<8|k<<16|m;if(!g)break;else{d=d+4|0;e=e+A|0}}c=f[x>>2]|0}e=r+(f[C>>2]|0)|0;d=c+-1|0;f[x>>2]=d;if(!c)break;i=i+y|0;j=q;r=e;c=d;d=e;g=f[z>>2]|0}f[B>>2]=e;return}function M6a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}f[d>>2]=f[c>>2];if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function N6a(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;b=f[a+52>>2]|0;o=a+28|0;r=f[o>>2]|0;f[o>>2]=r+-1;if(!r)return;p=a+20|0;q=a+24|0;r=a+12|0;n=a+32|0;m=b&112;c=f[a>>2]|0;d=f[p>>2]|0;l=(m&127)==64;j=c;k=d;while(1){i=f[q>>2]|0;b=i+-1|0;if(i|0)switch(m&127){case 16:{while(1){f[d>>2]=f[c>>2]&16777215;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}case 32:{while(1){i=f[c>>2]|0;e=f[d>>2]|0;h=(e&255)+(i&255)|0;g=(e>>>8&255)+(i>>>8&255)|0;i=(e>>>16&255)+(i>>>16&255)|0;f[d>>2]=(g>>>0<255?g:255)<<8|(h>>>0<255?h:255)|(i>>>0<255?i:255)<<16;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}break}default:while(1){i=f[c>>2]|0;e=f[d>>2]|0;g=e>>>16&255;h=e>>>8&255;e=e&255;if(l){g=((W(g,i>>>16&255)|0)>>>0)/255|0;h=((W(h,i>>>8&255)|0)>>>0)/255|0;e=((W(e,i&255)|0)>>>0)/255|0}f[d>>2]=h<<8|e|g<<16;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}}c=j+(f[r>>2]|0)|0;b=k+(f[n>>2]|0)|0;k=f[o>>2]|0;f[o>>2]=k+-1;if(!k)break;else{j=c;k=b;d=b}}f[a>>2]=c;f[p>>2]=b;return}function O6a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=f[a+52>>2]|0;x=a+28|0;w=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(w|0)|0;t=a+24|0;c=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(c|0)|0;f[x>>2]=w+-1;if(!w)return;v=a+20|0;w=a+32|0;s=b&112;q=a+12|0;r=(s&127)==16;b=f[v>>2]|0;d=0;e=0;p=b;while(1){if((d|0)>65535){o=~d;o=d+65536+((o|0)>-131072?o:-131072)|0;d=d+-65536-(o&-65536)|0;e=e+1+(o>>>16)|0}i=c+-1|0;a:do if(c|0){if(r){c=0;g=65536;h=-1;while(1){if((g|0)>65535){o=~g;o=g+65536+((o|0)>-131072?o:-131072)|0;h=h+1+(o>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(o&-65536)|0}f[b>>2]=f[c>>2]&16777215;if(!i)break a;else{b=b+4|0;g=g+u|0;i=i+-1|0}}}c=0;g=65536;h=-1;o=i;while(1){if((g|0)>65535){n=~g;n=g+65536+((n|0)>-131072?n:-131072)|0;h=h+1+(n>>>16)|0;c=(f[a>>2]|0)+(W(f[q>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(n&-65536)|0}n=f[c>>2]|0;k=n>>>16&255;m=n>>>8&255;n=n&255;i=f[b>>2]|0;l=i>>>16&255;j=i>>>8&255;i=i&255;switch(s&127){case 64:{l=((W(l,k)|0)>>>0)/255|0;j=((W(j,m)|0)>>>0)/255|0;i=((W(i,n)|0)>>>0)/255|0;break}case 32:{i=i+n|0;j=j+m|0;l=l+k|0;l=l>>>0<255?l:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}default:{}}f[b>>2]=j<<8|i|l<<16;if(!o)break a;else{b=b+4|0;g=g+u|0;o=o+-1|0}}}while(0);b=p+(f[w>>2]|0)|0;p=f[x>>2]|0;f[x>>2]=p+-1;if(!p)break;d=d+y|0;p=b;c=f[t>>2]|0}f[v>>2]=b;return}function P6a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;f[e>>2]=f[g>>2]&16777215;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i&255,k)|0)>>>0)/255|0)|(((W(i>>>16&255,j)|0)>>>0)/255|0)<<16;f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function Q6a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}f[b>>2]=f[c>>2]&16777215;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=(((W(w>>>16&255,n)|0)>>>0)/255|0)<<16|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w&255,u)|0)>>>0)/255|0);f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function R6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;d=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;t=h[a+62>>0]|0;c=b[a+63>>0]|0;u=a+28|0;z=f[u>>2]|0;f[u>>2]=z+-1;if(!z)return;v=a+20|0;w=a+24|0;x=a+12|0;y=a+32|0;z=(d&1|0)==0;s=(d&2|0)==0?255:c&255;r=(d&48|0)!=0&(s|0)!=255;q=d&112;p=s^255;d=f[a>>2]|0;c=f[v>>2]|0;n=d;o=c;while(1){m=f[w>>2]|0;e=m+-1|0;a:do if(m|0)if(z){m=e;while(1){k=f[d>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;e=f[c>>2]|0;l=e>>>16&255;g=e>>>8&255;e=e&255;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e|i<<16;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}else{m=e;while(1){i=f[d>>2]|0;e=f[c>>2]|0;l=e>>>16&255;g=e>>>8&255;e=e&255;k=((W(i&255,A)|0)>>>0)/255|0;j=((W(i>>>8&255,B)|0)>>>0)/255|0;i=((W(i>>>16&255,t)|0)>>>0)/255|0;if(r){i=((W(i,s)|0)>>>0)/255|0;j=((W(j,s)|0)>>>0)/255|0;k=((W(k,s)|0)>>>0)/255|0}switch(q&127){case 16:{i=i+(((W(l,p)|0)>>>0)/255|0)|0;g=j+(((W(g,p)|0)>>>0)/255|0)|0;e=k+(((W(e,p)|0)>>>0)/255|0)|0;break}case 32:{e=k+e|0;g=j+g|0;i=i+l|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}case 64:{i=((W(i,l)|0)>>>0)/255|0;g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;break}default:i=l}f[c>>2]=g<<8|e|i<<16;if(!m)break a;else{c=c+4|0;d=d+4|0;m=m+-1|0}}}while(0);d=n+(f[x>>2]|0)|0;c=o+(f[y>>2]|0)|0;o=f[u>>2]|0;f[u>>2]=o+-1;if(!o)break;else{n=d;o=c}}f[a>>2]=d;f[v>>2]=c;return}function S6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;d=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;w=h[a+62>>0]|0;c=b[a+63>>0]|0;x=a+28|0;E=f[x>>2]|0;y=(f[a+8>>2]<<16|0)/(E|0)|0;z=a+24|0;g=f[z>>2]|0;A=(f[a+4>>2]<<16|0)/(g|0)|0;e=E+-1|0;f[x>>2]=e;if(!E)return;B=a+20|0;C=a+32|0;D=(d&1|0)==0;E=a+12|0;v=(d&2|0)==0?255:c&255;u=(d&48|0)!=0&(v|0)!=255;t=d&112;s=v^255;d=f[B>>2]|0;i=0;j=0;r=d;c=e;while(1){if((i|0)>65535){q=~i;q=i+65536+((q|0)>-131072?q:-131072)|0;i=i+-65536-(q&-65536)|0;q=j+1+(q>>>16)|0}else q=j;if(g){c=0;e=65536;j=-1;while(1){g=g+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;j=j+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[E>>2]|0,q)|0)+(j<<2)|0;e=e+-65536-(p&-65536)|0}n=f[c>>2]|0;m=n>>>16&255;o=n>>>8&255;n=n&255;k=f[d>>2]|0;p=k>>>16&255;l=k>>>8&255;k=k&255;if(!D){n=((W(n,F)|0)>>>0)/255|0;o=((W(o,G)|0)>>>0)/255|0;m=((W(m,w)|0)>>>0)/255|0}if(u){n=((W(n,v)|0)>>>0)/255|0;o=((W(o,v)|0)>>>0)/255|0;m=((W(m,v)|0)>>>0)/255|0}switch(t&127){case 16:{m=m+(((W(p,s)|0)>>>0)/255|0)|0;l=o+(((W(l,s)|0)>>>0)/255|0)|0;k=n+(((W(k,s)|0)>>>0)/255|0)|0;break}case 32:{k=n+k|0;l=o+l|0;m=m+p|0;m=m>>>0<255?m:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{m=((W(m,p)|0)>>>0)/255|0;l=((W(o,l)|0)>>>0)/255|0;k=((W(n,k)|0)>>>0)/255|0;break}default:m=p}f[d>>2]=l<<8|k|m<<16;if(!g)break;else{d=d+4|0;e=e+A|0}}c=f[x>>2]|0}e=r+(f[C>>2]|0)|0;d=c+-1|0;f[x>>2]=d;if(!c)break;i=i+y|0;j=q;r=e;c=d;d=e;g=f[z>>2]|0}f[B>>2]=e;return}function T6a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r&65280|r<<16|r>>>16&255|-16777216;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function U6a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;q=a+32|0;p=b&112;m=(p&127)==16;c=f[a>>2]|0;d=f[s>>2]|0;n=c;o=d;while(1){l=f[t>>2]|0;b=l+-1|0;a:do if(l|0){if(m)while(1){l=f[c>>2]|0;f[d>>2]=l&65280|l<<16|l>>>16&255|-16777216;if(!b)break a;else{d=d+4|0;c=c+4|0;b=b+-1|0}}while(1){k=f[c>>2]|0;h=k>>>16&255;j=k>>>8&255;k=k&255;l=f[d>>2]|0;e=l>>>16&255;g=l>>>8&255;i=l&255;l=l&-16777216;switch(p&127){case 64:{i=((W(h,i)|0)>>>0)/255|0;g=((W(g,j)|0)>>>0)/255|0;e=((W(e,k)|0)>>>0)/255|0;break}case 32:{e=e+k|0;g=g+j|0;i=h+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;e=e>>>0<255?e:255;break}default:{}}f[d>>2]=g<<8|e<<16|i|l;if(!b)break a;else{d=d+4|0;c=c+4|0;b=b+-1|0}}}while(0);c=n+(f[u>>2]|0)|0;b=o+(f[q>>2]|0)|0;o=f[r>>2]|0;f[r>>2]=o+-1;if(!o)break;else{n=c;o=b;d=b}}f[a>>2]=c;f[s>>2]=b;return}function V6a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;u=a+24|0;c=f[u>>2]|0;v=(f[a+4>>2]<<16|0)/(c|0)|0;f[y>>2]=x+-1;if(!x)return;w=a+20|0;x=a+32|0;t=b&112;r=a+12|0;s=(t&127)==16;b=f[w>>2]|0;d=0;e=0;q=b;while(1){if((d|0)>65535){p=~d;p=d+65536+((p|0)>-131072?p:-131072)|0;d=d+-65536-(p&-65536)|0;e=e+1+(p>>>16)|0}i=c+-1|0;a:do if(c|0){if(s){c=0;g=65536;h=-1;while(1){if((g|0)>65535){p=~g;p=g+65536+((p|0)>-131072?p:-131072)|0;h=h+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[r>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(p&-65536)|0}p=f[c>>2]|0;f[b>>2]=p&65280|p<<16|p>>>16&255|-16777216;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}c=0;g=65536;h=-1;while(1){if((g|0)>65535){p=~g;p=g+65536+((p|0)>-131072?p:-131072)|0;h=h+1+(p>>>16)|0;c=(f[a>>2]|0)+(W(f[r>>2]|0,e)|0)+(h<<2)|0;g=g+-65536-(p&-65536)|0}o=f[c>>2]|0;l=o>>>16&255;n=o>>>8&255;o=o&255;p=f[b>>2]|0;j=p>>>16&255;k=p>>>8&255;m=p&255;p=p&-16777216;switch(t&127){case 64:{m=((W(l,m)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0;j=((W(j,o)|0)>>>0)/255|0;break}case 32:{j=j+o|0;k=k+n|0;m=l+m|0;m=m>>>0<255?m:255;k=k>>>0<255?k:255;j=j>>>0<255?j:255;break}default:{}}f[b>>2]=k<<8|j<<16|m|p;if(!i)break a;else{b=b+4|0;g=g+v|0;i=i+-1|0}}}while(0);b=q+(f[x>>2]|0)|0;q=f[y>>2]|0;f[y>>2]=q+-1;if(!q)break;d=d+z|0;q=b;c=f[u>>2]|0}f[w>>2]=b;return}function W6a(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;d=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;c=b[a+63>>0]|0;n=a+28|0;r=f[n>>2]|0;g=r+-1|0;f[n>>2]=g;if(!r)return;o=a+20|0;p=a+24|0;q=a+12|0;r=a+32|0;m=(d&2|0)==0?-16777216:(c&255)<<24;if(!(d&1)){do{d=f[p>>2]|0;if(!d){e=f[a>>2]|0;c=f[o>>2]|0;d=g}else{c=f[o>>2]|0;e=f[a>>2]|0;g=c;i=e;while(1){d=d+-1|0;l=f[i>>2]|0;f[g>>2]=l<<16&16711680|m|l&65280|l>>>16&255;if(!d)break;else{g=g+4|0;i=i+4|0}}d=f[n>>2]|0}f[a>>2]=e+(f[q>>2]|0);f[o>>2]=c+(f[r>>2]|0);g=d+-1|0;f[n>>2]=g}while((d|0)!=0);return}else{do{d=f[p>>2]|0;if(!d){e=f[a>>2]|0;c=f[o>>2]|0;d=g}else{c=f[o>>2]|0;e=f[a>>2]|0;g=c;i=e;while(1){d=d+-1|0;s=f[i>>2]|0;s=(((W(s&255,k)|0)>>>0)/255|0)<<16|m|(((W(s>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(s>>>16&255,j)|0)>>>0)/255|0);f[g>>2]=s;if(!d)break;else{g=g+4|0;i=i+4|0}}d=f[n>>2]|0}f[a>>2]=e+(f[q>>2]|0);f[o>>2]=c+(f[r>>2]|0);g=d+-1|0;f[n>>2]=g}while((d|0)!=0);return}}function X6a(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,u=0,v=0,w=0,x=0,y=0;d=f[a+52>>2]|0;w=h[a+60>>0]|0;x=h[a+61>>0]|0;n=h[a+62>>0]|0;c=b[a+63>>0]|0;o=a+28|0;v=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(v|0)|0;q=a+24|0;e=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(e|0)|0;f[o>>2]=v+-1;if(!v)return;s=a+20|0;t=a+32|0;u=(d&1|0)==0;v=a+12|0;m=(d&2|0)==0?-16777216:(c&255)<<24;c=f[s>>2]|0;d=0;g=0;l=c;while(1){if((d|0)>65535){k=~d;k=d+65536+((k|0)>-131072?k:-131072)|0;d=d+-65536-(k&-65536)|0;g=g+1+(k>>>16)|0}k=e+-1|0;if(e|0)if(u){e=0;i=65536;j=-1;while(1){if((i|0)>65535){y=~i;y=i+65536+((y|0)>-131072?y:-131072)|0;j=j+1+(y>>>16)|0;e=(f[a>>2]|0)+(W(f[v>>2]|0,g)|0)+(j<<2)|0;i=i+-65536-(y&-65536)|0}y=f[e>>2]|0;f[c>>2]=y&65280|m|y>>>16&255|y<<16&16711680;if(!k)break;else{c=c+4|0;i=i+r|0;k=k+-1|0}}}else{e=0;i=65536;j=-1;while(1){if((i|0)>65535){y=~i;y=i+65536+((y|0)>-131072?y:-131072)|0;j=j+1+(y>>>16)|0;e=(f[a>>2]|0)+(W(f[v>>2]|0,g)|0)+(j<<2)|0;i=i+-65536-(y&-65536)|0}y=f[e>>2]|0;y=(((W(y>>>8&255,x)|0)>>>0)/255|0)<<8|m|(((W(y>>>16&255,n)|0)>>>0)/255|0)|(((W(y&255,w)|0)>>>0)/255|0)<<16;f[c>>2]=y;if(!k)break;else{c=c+4|0;i=i+r|0;k=k+-1|0}}}c=l+(f[t>>2]|0)|0;y=f[o>>2]|0;f[o>>2]=y+-1;if(!y)break;d=d+p|0;l=c;e=f[q>>2]|0}f[s>>2]=c;return}function Y6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;d=f[a+52>>2]|0;B=h[a+60>>0]|0;C=h[a+61>>0]|0;u=h[a+62>>0]|0;c=b[a+63>>0]|0;v=a+28|0;A=f[v>>2]|0;e=A+-1|0;f[v>>2]=e;if(!A)return;w=a+20|0;x=a+24|0;y=a+12|0;z=a+32|0;A=(d&1|0)==0;t=(d&2|0)==0?255:c&255;s=(d&48|0)!=0&(t|0)!=255;r=d&112;q=t^255;do{g=f[x>>2]|0;if(!g){d=f[w>>2]|0;g=e;c=f[a>>2]|0}else{d=f[w>>2]|0;c=f[a>>2]|0;o=d;p=c;while(1){g=g+-1|0;l=f[p>>2]|0;j=l>>>16&255;k=l>>>8&255;l=l&255;m=f[o>>2]|0;e=m>>>16&255;i=m>>>8&255;n=m&255;m=m>>>24;if(!A){j=((W(j,u)|0)>>>0)/255|0;k=((W(k,C)|0)>>>0)/255|0;l=((W(l,B)|0)>>>0)/255|0}if(s){j=((W(j,t)|0)>>>0)/255|0;k=((W(k,t)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}switch(r&127){case 16:{m=(((W(m,q)|0)>>>0)/255|0)+t|0;j=j+(((W(n,q)|0)>>>0)/255|0)|0;i=k+(((W(i,q)|0)>>>0)/255|0)|0;e=l+(((W(e,q)|0)>>>0)/255|0)|0;break}case 32:{e=l+e|0;i=k+i|0;j=j+n|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;e=e>>>0<255?e:255;break}case 64:{j=((W(j,n)|0)>>>0)/255|0;i=((W(k,i)|0)>>>0)/255|0;e=((W(l,e)|0)>>>0)/255|0;break}default:j=n}f[o>>2]=i<<8|e<<16|j|m<<24;if(!g)break;else{o=o+4|0;p=p+4|0}}g=f[v>>2]|0}f[a>>2]=c+(f[y>>2]|0);f[w>>2]=d+(f[z>>2]|0);e=g+-1|0;f[v>>2]=e}while((g|0)!=0);return}function Z6a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=f[a+52>>2]|0;G=h[a+60>>0]|0;H=h[a+61>>0]|0;x=h[a+62>>0]|0;c=b[a+63>>0]|0;y=a+28|0;F=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(F|0)|0;A=a+24|0;g=f[A>>2]|0;B=(f[a+4>>2]<<16|0)/(g|0)|0;e=F+-1|0;f[y>>2]=e;if(!F)return;C=a+20|0;D=a+32|0;E=(d&1|0)==0;F=a+12|0;w=(d&2|0)==0?255:c&255;v=(d&48|0)!=0&(w|0)!=255;u=d&112;t=w^255;d=f[C>>2]|0;i=0;j=0;s=d;c=e;while(1){if((i|0)>65535){r=~i;r=i+65536+((r|0)>-131072?r:-131072)|0;i=i+-65536-(r&-65536)|0;r=j+1+(r>>>16)|0}else r=j;if(g){c=0;e=65536;j=-1;while(1){g=g+-1|0;if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;j=j+1+(q>>>16)|0;c=(f[a>>2]|0)+(W(f[F>>2]|0,r)|0)+(j<<2)|0;e=e+-65536-(q&-65536)|0}m=f[c>>2]|0;o=m>>>16&255;p=m>>>8&255;m=m&255;q=f[d>>2]|0;k=q>>>16&255;l=q>>>8&255;n=q&255;q=q>>>24;if(!E){m=((W(m,G)|0)>>>0)/255|0;p=((W(p,H)|0)>>>0)/255|0;o=((W(o,x)|0)>>>0)/255|0}if(v){m=((W(m,w)|0)>>>0)/255|0;p=((W(p,w)|0)>>>0)/255|0;o=((W(o,w)|0)>>>0)/255|0}switch(u&127){case 16:{q=(((W(q,t)|0)>>>0)/255|0)+w|0;n=o+(((W(n,t)|0)>>>0)/255|0)|0;l=p+(((W(l,t)|0)>>>0)/255|0)|0;k=m+(((W(k,t)|0)>>>0)/255|0)|0;break}case 32:{k=m+k|0;l=p+l|0;n=o+n|0;n=n>>>0<255?n:255;l=l>>>0<255?l:255;k=k>>>0<255?k:255;break}case 64:{n=((W(o,n)|0)>>>0)/255|0;l=((W(p,l)|0)>>>0)/255|0;k=((W(m,k)|0)>>>0)/255|0;break}default:{}}f[d>>2]=l<<8|k<<16|n|q<<24;if(!g)break;else{d=d+4|0;e=e+B|0}}c=f[y>>2]|0}e=s+(f[D>>2]|0)|0;d=c+-1|0;f[y>>2]=d;if(!c)break;i=i+z|0;j=r;s=e;c=d;d=e;g=f[A>>2]|0}f[C>>2]=e;return}function _6a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}f[d>>2]=f[c>>2]&16777215;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function $6a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;k=h>>>16&255;j=h>>>8&255;i=h&255;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((W(h,g)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(d,h)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;h=k>>>16&255;j=k>>>8&255;i=k&255;k=k>>>24;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(k,g)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(d,k)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function a7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;l=n>>>16&255;m=n>>>8&255;k=n&255;n=n>>>24;j=f[c>>2]|0;h=j>>>16&255;i=j>>>8&255;j=j&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(n,j)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(h,n)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function b7a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;f[e>>2]=f[g>>2]&16777215;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>16&255,k)|0)>>>0)/255|0)<<16|(((W(i&255,j)|0)>>>0)/255|0);f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function c7a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}f[b>>2]=f[c>>2]&16777215;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=((W(w&255,n)|0)>>>0)/255|0|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w>>>16&255,u)|0)>>>0)/255|0)<<16;f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function d7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;l=m>>>16&255;k=m>>>8&255;j=m&255;m=m>>>24;i=f[n>>2]|0;c=i>>>16&255;g=i>>>8&255;i=i&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c<<16|i;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function e7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;m=o>>>16&255;n=o>>>8&255;l=o&255;o=o>>>24;k=f[c>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function f7a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function g7a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;k=h>>>16&255;j=h>>>8&255;i=h&255;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((W(g,h)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(h,d)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;h=k>>>16&255;j=k>>>8&255;i=k&255;k=k>>>24;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(g,k)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(k,d)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function h7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;l=n>>>16&255;m=n>>>8&255;k=n&255;n=n>>>24;h=f[c>>2]|0;j=h>>>16&255;i=h>>>8&255;h=h&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(j,n)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(n,h)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h|j<<16;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function i7a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;l=f[g>>2]|0;f[e>>2]=l&65280|l>>>16&255|l<<16&16711680;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>16&255,k)|0)>>>0)/255|0)|(((W(i&255,j)|0)>>>0)/255|0)<<16;f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function j7a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;f[b>>2]=w<<16&16711680|w&65280|w>>>16&255;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=(((W(w&255,n)|0)>>>0)/255|0)<<16|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w>>>16&255,u)|0)>>>0)/255|0);f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function k7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;l=m>>>16&255;k=m>>>8&255;j=m&255;m=m>>>24;c=f[n>>2]|0;i=c>>>16&255;g=c>>>8&255;c=c&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c|i<<16;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function l7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;m=o>>>16&255;n=o>>>8&255;l=o&255;o=o>>>24;i=f[c>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i|k<<16;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function m7a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}f[d>>2]=f[c>>2];if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function n7a(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,s=0,t=0,u=0,v=0,w=0;b=f[a+52>>2]|0;s=a+28|0;v=f[s>>2]|0;f[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;c=f[a>>2]|0;b=f[t>>2]|0;n=c;o=b;while(1){m=f[u>>2]|0;d=m+-1|0;a:do if(m|0){if(r){m=d;while(1){h=f[c>>2]|0;l=h>>>16&255;k=h>>>8&255;j=h&255;h=h>>>24;i=f[b>>2]|0;d=i>>>16&255;e=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((W(w,i)|0)>>>0)/255|0)+h|0;g=j+(((W(w,g)|0)>>>0)/255|0)|0;e=k+(((W(e,w)|0)>>>0)/255|0)|0;d=l+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=l+d|0;e=k+e|0;g=j+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;d=((W(l,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|i<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}m=d;while(1){l=f[c>>2]|0;k=l>>>16&255;i=l>>>8&255;h=l&255;l=l>>>24;j=f[b>>2]|0;d=j>>>16&255;e=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((W(h,l)|0)>>>0)/255|0;i=((W(i,l)|0)>>>0)/255|0;k=((W(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((W(w,j)|0)>>>0)/255|0)+l|0;g=h+(((W(w,g)|0)>>>0)/255|0)|0;e=i+(((W(e,w)|0)>>>0)/255|0)|0;d=k+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=i+e|0;g=h+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(h,g)|0)>>>0)/255|0;e=((W(i,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|j<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}while(0);c=n+(f[v>>2]|0)|0;b=o+(f[q>>2]|0)|0;w=f[s>>2]|0;f[s>>2]=w+-1;if(!w)break;else{n=c;o=b}}f[a>>2]=c;f[t>>2]=b;return}function o7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=f[a+52>>2]|0;z=a+28|0;y=f[z>>2]|0;A=(f[a+8>>2]<<16|0)/(y|0)|0;t=a+24|0;d=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(d|0)|0;c=y+-1|0;f[z>>2]=c;if(!y)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;y=a+12|0;s=b&112;q=f[v>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[y>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;k=o>>>16&255;m=o>>>8&255;l=o&255;o=o>>>24;n=f[c>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(x&(o|0)!=255){k=((W(k,o)|0)>>>0)/255|0;m=((W(m,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{B=o^255;n=(((W(B,n)|0)>>>0)/255|0)+o|0;j=l+(((W(B,j)|0)>>>0)/255|0)|0;i=m+(((W(i,B)|0)>>>0)/255|0)|0;h=k+(((W(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(l,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(k,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j|n<<24;if(!d)break;else{c=c+4|0;e=e+u|0}}b=f[z>>2]|0}d=r+(f[w>>2]|0)|0;c=b+-1|0;f[z>>2]=c;if(!b)break;e=p+A|0;g=q;r=d;b=c;c=d;d=f[t>>2]|0}f[v>>2]=d;return}function p7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0;b=f[a+52>>2]|0;r=h[a+60>>0]|0;s=h[a+61>>0]|0;j=h[a+62>>0]|0;k=h[a+63>>0]|0;l=a+28|0;q=f[l>>2]|0;f[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;e=(b&2|0)==0;c=f[a>>2]|0;d=f[m>>2]|0;g=c;i=d;while(1){t=f[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){t=f[c>>2]|0;v=t>>>24;u=((W(v,k)|0)>>>0)/255|0;f[d>>2]=t&16711680|(e?v:u)<<24|t&65280|t&255;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}else while(1){v=f[c>>2]|0;w=v>>>24;x=((W(v>>>16&255,r)|0)>>>0)/255|0;u=((W(v>>>8&255,s)|0)>>>0)/255|0;v=((W(v&255,j)|0)>>>0)/255|0;t=((W(w,k)|0)>>>0)/255|0;f[d>>2]=x<<16|(e?w:t)<<24|u<<8|v;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}c=g+(f[o>>2]|0)|0;b=i+(f[p>>2]|0)|0;x=f[l>>2]|0;f[l>>2]=x+-1;if(!x)break;else{g=c;i=b;d=b}}f[a>>2]=c;f[m>>2]=b;return}function q7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;w=h[a+60>>0]|0;x=h[a+61>>0]|0;m=h[a+62>>0]|0;n=h[a+63>>0]|0;o=a+28|0;v=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(v|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=v+-1;if(!v)return;s=a+20|0;t=a+32|0;u=(b&1|0)==0;v=a+12|0;l=(b&2|0)==0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(u){c=0;g=65536;i=-1;while(1){if((g|0)>65535){y=~g;y=g+65536+((y|0)>-131072?y:-131072)|0;i=i+1+(y>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(y&-65536)|0}y=f[c>>2]|0;A=y>>>24;z=((W(A,n)|0)>>>0)/255|0;f[b>>2]=y&65280|(l?A:z)<<24|y&255|y&16711680;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){A=~g;A=g+65536+((A|0)>-131072?A:-131072)|0;i=i+1+(A>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(A&-65536)|0}z=f[c>>2]|0;B=z>>>24;A=((W(z>>>16&255,w)|0)>>>0)/255|0;C=((W(z>>>8&255,x)|0)>>>0)/255|0;z=((W(z&255,m)|0)>>>0)/255|0;y=((W(B,n)|0)>>>0)/255|0;f[b>>2]=C<<8|(l?B:y)<<24|z|A<<16;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;C=f[o>>2]|0;f[o>>2]=C+-1;if(!C)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function r7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=f[a+52>>2]|0;B=h[a+60>>0]|0;C=h[a+61>>0]|0;r=h[a+62>>0]|0;s=h[a+63>>0]|0;t=a+28|0;A=f[t>>2]|0;c=A+-1|0;f[t>>2]=c;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;do{d=f[v>>2]|0;if(!d){e=f[a>>2]|0;b=f[u>>2]|0;d=c}else{b=f[u>>2]|0;e=f[a>>2]|0;o=b;p=e;while(1){d=d+-1|0;n=f[p>>2]|0;m=n>>>16&255;k=n>>>8&255;j=n&255;n=n>>>24;l=f[o>>2]|0;c=l>>>16&255;g=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((W(j,r)|0)>>>0)/255|0;k=((W(k,C)|0)>>>0)/255|0;m=((W(m,B)|0)>>>0)/255|0}D=((W(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((W(j,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((W(D,l)|0)>>>0)/255|0)+n|0;i=j+(((W(D,i)|0)>>>0)/255|0)|0;g=k+(((W(D,g)|0)>>>0)/255|0)|0;c=m+(((W(D,c)|0)>>>0)/255|0)|0;break}case 32:{c=m+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(m,c)|0)>>>0)/255|0;break}default:{}}f[o>>2]=g<<8|c<<16|i|l<<24;if(!d)break;else{o=o+4|0;p=p+4|0}}d=f[t>>2]|0}f[a>>2]=e+(f[w>>2]|0);f[u>>2]=b+(f[x>>2]|0);c=d+-1|0;f[t>>2]=c}while((d|0)!=0);return}function s7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;b=f[a+52>>2]|0;G=h[a+60>>0]|0;H=h[a+61>>0]|0;u=h[a+62>>0]|0;v=h[a+63>>0]|0;w=a+28|0;F=f[w>>2]|0;x=(f[a+8>>2]<<16|0)/(F|0)|0;y=a+24|0;d=f[y>>2]|0;z=(f[a+4>>2]<<16|0)/(d|0)|0;c=F+-1|0;f[w>>2]=c;if(!F)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=a+12|0;E=(b&2|0)==0;F=(b&48|0)!=0;t=b&112;r=f[A>>2]|0;e=0;g=0;s=r;b=c;c=r;while(1){if((e|0)>65535){r=~e;r=e+65536+((r|0)>-131072?r:-131072)|0;q=e+-65536-(r&-65536)|0;r=g+1+(r>>>16)|0}else{q=e;r=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;g=g+1+(p>>>16)|0;b=(f[a>>2]|0)+(W(f[D>>2]|0,r)|0)+(g<<2)|0;e=e+-65536-(p&-65536)|0}p=f[b>>2]|0;l=p>>>16&255;n=p>>>8&255;m=p&255;p=p>>>24;o=f[c>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!C){l=((W(l,G)|0)>>>0)/255|0;n=((W(n,H)|0)>>>0)/255|0;m=((W(m,u)|0)>>>0)/255|0}I=((W(p,v)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((W(l,p)|0)>>>0)/255|0;n=((W(n,p)|0)>>>0)/255|0;m=((W(m,p)|0)>>>0)/255|0}switch(t&127){case 16:{I=255-p|0;o=(((W(I,o)|0)>>>0)/255|0)+p|0;k=m+(((W(I,k)|0)>>>0)/255|0)|0;j=n+(((W(I,j)|0)>>>0)/255|0)|0;i=l+(((W(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(m,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(l,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k|o<<24;if(!d)break;else{c=c+4|0;e=e+z|0}}b=f[w>>2]|0}d=s+(f[B>>2]|0)|0;c=b+-1|0;f[w>>2]=c;if(!b)break;e=q+x|0;g=r;s=d;b=c;c=d;d=f[y>>2]|0}f[A>>2]=d;return}function t7a(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,s=0;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}s=f[c>>2]|0;r=s>>>8;f[d>>2]=s>>>24<<16|r&65280|r&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function u7a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;k=h>>>24;j=h>>>16&255;i=h>>>8&255;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h&255^255;g=i+(((W(h,g)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(d,h)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;h=k>>>24;j=k>>>16&255;i=k>>>8&255;k=k&255;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(k,g)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(d,k)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function v7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;l=n>>>24;m=n>>>16&255;k=n>>>8&255;n=n&255;j=f[c>>2]|0;h=j>>>16&255;i=j>>>8&255;j=j&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(n,j)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(h,n)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function w7a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;k=f[g>>2]|0;l=k>>>8;f[e>>2]=l&65280|k>>>24<<16|l&255;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>16&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>24,k)|0)>>>0)/255|0)<<16|(((W(i>>>8&255,j)|0)>>>0)/255|0);f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function x7a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;f[b>>2]=w>>>8&65535|w>>>24<<16;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=((W(w>>>8&255,n)|0)>>>0)/255|0|(((W(w>>>16&255,v)|0)>>>0)/255|0)<<8|(((W(w>>>24,u)|0)>>>0)/255|0)<<16;f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function y7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;l=m>>>24;k=m>>>16&255;j=m>>>8&255;m=m&255;i=f[n>>2]|0;c=i>>>16&255;g=i>>>8&255;i=i&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c<<16|i;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function z7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;m=o>>>24;n=o>>>16&255;l=o>>>8&255;o=o&255;k=f[c>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function A7a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r>>>8&65280|r>>>24|r<<8&16711680;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function B7a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;k=h>>>24;j=h>>>16&255;i=h>>>8&255;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;switch(o&127){case 16:{h=h&255^255;g=i+(((W(g,h)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(h,d)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;h=k>>>24;j=k>>>16&255;i=k>>>8&255;k=k&255;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(g,k)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(k,d)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function C7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;l=n>>>24;m=n>>>16&255;k=n>>>8&255;n=n&255;h=f[c>>2]|0;j=h>>>16&255;i=h>>>8&255;h=h&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(j,n)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(n,h)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h|j<<16;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function D7a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;l=f[g>>2]|0;f[e>>2]=l>>>8&65280|l>>>24|l<<8&16711680;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>16&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>24,k)|0)>>>0)/255|0)|(((W(i>>>8&255,j)|0)>>>0)/255|0)<<16;f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function E7a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;f[b>>2]=w<<8&16711680|w>>>8&65280|w>>>24;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=(((W(w>>>8&255,n)|0)>>>0)/255|0)<<16|(((W(w>>>16&255,v)|0)>>>0)/255|0)<<8|(((W(w>>>24,u)|0)>>>0)/255|0);f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function F7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;l=m>>>24;k=m>>>16&255;j=m>>>8&255;m=m&255;c=f[n>>2]|0;i=c>>>16&255;g=c>>>8&255;c=c&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c|i<<16;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function G7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;m=o>>>24;n=o>>>16&255;l=o>>>8&255;o=o&255;i=f[c>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i|k<<16;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function H7a(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,s=0;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}s=f[c>>2]|0;r=s>>>8;f[d>>2]=s>>>24<<16|s<<24|r&65280|r&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function I7a(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,s=0,t=0,u=0,v=0,w=0;b=f[a+52>>2]|0;s=a+28|0;v=f[s>>2]|0;f[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;c=f[a>>2]|0;b=f[t>>2]|0;n=c;o=b;while(1){m=f[u>>2]|0;d=m+-1|0;a:do if(m|0){if(r){m=d;while(1){h=f[c>>2]|0;l=h>>>24;k=h>>>16&255;j=h>>>8&255;h=h&255;i=f[b>>2]|0;d=i>>>16&255;e=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((W(w,i)|0)>>>0)/255|0)+h|0;g=j+(((W(w,g)|0)>>>0)/255|0)|0;e=k+(((W(e,w)|0)>>>0)/255|0)|0;d=l+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=l+d|0;e=k+e|0;g=j+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;d=((W(l,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|i<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}m=d;while(1){l=f[c>>2]|0;k=l>>>24;i=l>>>16&255;h=l>>>8&255;l=l&255;j=f[b>>2]|0;d=j>>>16&255;e=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((W(h,l)|0)>>>0)/255|0;i=((W(i,l)|0)>>>0)/255|0;k=((W(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((W(w,j)|0)>>>0)/255|0)+l|0;g=h+(((W(w,g)|0)>>>0)/255|0)|0;e=i+(((W(e,w)|0)>>>0)/255|0)|0;d=k+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=i+e|0;g=h+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(h,g)|0)>>>0)/255|0;e=((W(i,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|j<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}while(0);c=n+(f[v>>2]|0)|0;b=o+(f[q>>2]|0)|0;w=f[s>>2]|0;f[s>>2]=w+-1;if(!w)break;else{n=c;o=b}}f[a>>2]=c;f[t>>2]=b;return}function J7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=f[a+52>>2]|0;z=a+28|0;y=f[z>>2]|0;A=(f[a+8>>2]<<16|0)/(y|0)|0;t=a+24|0;d=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(d|0)|0;c=y+-1|0;f[z>>2]=c;if(!y)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;y=a+12|0;s=b&112;q=f[v>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[y>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;k=o>>>24;m=o>>>16&255;l=o>>>8&255;o=o&255;n=f[c>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(x&(o|0)!=255){k=((W(k,o)|0)>>>0)/255|0;m=((W(m,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{B=o^255;n=(((W(B,n)|0)>>>0)/255|0)+o|0;j=l+(((W(B,j)|0)>>>0)/255|0)|0;i=m+(((W(i,B)|0)>>>0)/255|0)|0;h=k+(((W(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(l,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(k,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j|n<<24;if(!d)break;else{c=c+4|0;e=e+u|0}}b=f[z>>2]|0}d=r+(f[w>>2]|0)|0;c=b+-1|0;f[z>>2]=c;if(!b)break;e=p+A|0;g=q;r=d;b=c;c=d;d=f[t>>2]|0}f[v>>2]=d;return}function K7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0;b=f[a+52>>2]|0;r=h[a+60>>0]|0;s=h[a+61>>0]|0;j=h[a+62>>0]|0;k=h[a+63>>0]|0;l=a+28|0;q=f[l>>2]|0;f[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;e=(b&2|0)==0;c=f[a>>2]|0;d=f[m>>2]|0;g=c;i=d;while(1){t=f[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){v=f[c>>2]|0;t=v>>>8;u=((W(v&255,k)|0)>>>0)/255|0;f[d>>2]=v>>>24<<16|(e?v:u)<<24|t&65280|t&255;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}else while(1){w=f[c>>2]|0;x=((W(w>>>24,r)|0)>>>0)/255|0;u=((W(w>>>16&255,s)|0)>>>0)/255|0;v=((W(w>>>8&255,j)|0)>>>0)/255|0;t=((W(w&255,k)|0)>>>0)/255|0;f[d>>2]=x<<16|(e?w:t)<<24|u<<8|v;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}c=g+(f[o>>2]|0)|0;b=i+(f[p>>2]|0)|0;x=f[l>>2]|0;f[l>>2]=x+-1;if(!x)break;else{g=c;i=b;d=b}}f[a>>2]=c;f[m>>2]=b;return}function L7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;w=h[a+60>>0]|0;x=h[a+61>>0]|0;m=h[a+62>>0]|0;n=h[a+63>>0]|0;o=a+28|0;v=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(v|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=v+-1;if(!v)return;s=a+20|0;t=a+32|0;u=(b&1|0)==0;v=a+12|0;l=(b&2|0)==0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(u){c=0;g=65536;i=-1;while(1){if((g|0)>65535){y=~g;y=g+65536+((y|0)>-131072?y:-131072)|0;i=i+1+(y>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(y&-65536)|0}y=f[c>>2]|0;z=y>>>8;A=((W(y&255,n)|0)>>>0)/255|0;f[b>>2]=z&65280|(l?y:A)<<24|z&255|y>>>24<<16;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){A=~g;A=g+65536+((A|0)>-131072?A:-131072)|0;i=i+1+(A>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(A&-65536)|0}B=f[c>>2]|0;A=((W(B>>>24,w)|0)>>>0)/255|0;C=((W(B>>>16&255,x)|0)>>>0)/255|0;z=((W(B>>>8&255,m)|0)>>>0)/255|0;y=((W(B&255,n)|0)>>>0)/255|0;f[b>>2]=C<<8|(l?B:y)<<24|z|A<<16;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;C=f[o>>2]|0;f[o>>2]=C+-1;if(!C)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function M7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=f[a+52>>2]|0;B=h[a+60>>0]|0;C=h[a+61>>0]|0;r=h[a+62>>0]|0;s=h[a+63>>0]|0;t=a+28|0;A=f[t>>2]|0;c=A+-1|0;f[t>>2]=c;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;do{d=f[v>>2]|0;if(!d){e=f[a>>2]|0;b=f[u>>2]|0;d=c}else{b=f[u>>2]|0;e=f[a>>2]|0;o=b;p=e;while(1){d=d+-1|0;n=f[p>>2]|0;m=n>>>24;k=n>>>16&255;j=n>>>8&255;n=n&255;l=f[o>>2]|0;c=l>>>16&255;g=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((W(j,r)|0)>>>0)/255|0;k=((W(k,C)|0)>>>0)/255|0;m=((W(m,B)|0)>>>0)/255|0}D=((W(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((W(j,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((W(D,l)|0)>>>0)/255|0)+n|0;i=j+(((W(D,i)|0)>>>0)/255|0)|0;g=k+(((W(D,g)|0)>>>0)/255|0)|0;c=m+(((W(D,c)|0)>>>0)/255|0)|0;break}case 32:{c=m+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(m,c)|0)>>>0)/255|0;break}default:{}}f[o>>2]=g<<8|c<<16|i|l<<24;if(!d)break;else{o=o+4|0;p=p+4|0}}d=f[t>>2]|0}f[a>>2]=e+(f[w>>2]|0);f[u>>2]=b+(f[x>>2]|0);c=d+-1|0;f[t>>2]=c}while((d|0)!=0);return}function N7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;b=f[a+52>>2]|0;G=h[a+60>>0]|0;H=h[a+61>>0]|0;u=h[a+62>>0]|0;v=h[a+63>>0]|0;w=a+28|0;F=f[w>>2]|0;x=(f[a+8>>2]<<16|0)/(F|0)|0;y=a+24|0;d=f[y>>2]|0;z=(f[a+4>>2]<<16|0)/(d|0)|0;c=F+-1|0;f[w>>2]=c;if(!F)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=a+12|0;E=(b&2|0)==0;F=(b&48|0)!=0;t=b&112;r=f[A>>2]|0;e=0;g=0;s=r;b=c;c=r;while(1){if((e|0)>65535){r=~e;r=e+65536+((r|0)>-131072?r:-131072)|0;q=e+-65536-(r&-65536)|0;r=g+1+(r>>>16)|0}else{q=e;r=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;g=g+1+(p>>>16)|0;b=(f[a>>2]|0)+(W(f[D>>2]|0,r)|0)+(g<<2)|0;e=e+-65536-(p&-65536)|0}p=f[b>>2]|0;l=p>>>24;n=p>>>16&255;m=p>>>8&255;p=p&255;o=f[c>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!C){l=((W(l,G)|0)>>>0)/255|0;n=((W(n,H)|0)>>>0)/255|0;m=((W(m,u)|0)>>>0)/255|0}I=((W(p,v)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((W(l,p)|0)>>>0)/255|0;n=((W(n,p)|0)>>>0)/255|0;m=((W(m,p)|0)>>>0)/255|0}switch(t&127){case 16:{I=255-p|0;o=(((W(I,o)|0)>>>0)/255|0)+p|0;k=m+(((W(I,k)|0)>>>0)/255|0)|0;j=n+(((W(I,j)|0)>>>0)/255|0)|0;i=l+(((W(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(m,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(l,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k|o<<24;if(!d)break;else{c=c+4|0;e=e+z|0}}b=f[w>>2]|0}d=s+(f[B>>2]|0)|0;c=b+-1|0;f[w>>2]=c;if(!b)break;e=q+x|0;g=r;s=d;b=c;c=d;d=f[y>>2]|0}f[A>>2]=d;return}function O7a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r<<16&16711680|r&65280|r>>>16&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function P7a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;i=h>>>16&255;j=h>>>8&255;k=h&255;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((W(h,g)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(d,h)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;i=k>>>16&255;j=k>>>8&255;h=k&255;k=k>>>24;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(k,g)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(d,k)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function Q7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;k=n>>>16&255;m=n>>>8&255;l=n&255;n=n>>>24;j=f[c>>2]|0;h=j>>>16&255;i=j>>>8&255;j=j&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(n,j)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(h,n)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function R7a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;l=f[g>>2]|0;f[e>>2]=l&65280|l<<16&16711680|l>>>16&255;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i&255,k)|0)>>>0)/255|0)<<16|(((W(i>>>16&255,j)|0)>>>0)/255|0);f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function S7a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;f[b>>2]=w>>>16&255|w&65280|w<<16&16711680;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=((W(w>>>16&255,n)|0)>>>0)/255|0|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w&255,u)|0)>>>0)/255|0)<<16;f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function T7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;j=m>>>16&255;k=m>>>8&255;l=m&255;m=m>>>24;i=f[n>>2]|0;c=i>>>16&255;g=i>>>8&255;i=i&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c<<16|i;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function U7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;l=o>>>16&255;n=o>>>8&255;m=o&255;o=o>>>24;k=f[c>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function V7a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}f[d>>2]=f[c>>2]&16777215;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function W7a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;i=h>>>16&255;j=h>>>8&255;k=h&255;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;switch(o&127){case 16:{h=h>>>24^255;g=i+(((W(g,h)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(h,d)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;i=k>>>16&255;j=k>>>8&255;h=k&255;k=k>>>24;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(g,k)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(k,d)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function X7a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;k=n>>>16&255;m=n>>>8&255;l=n&255;n=n>>>24;h=f[c>>2]|0;j=h>>>16&255;i=h>>>8&255;h=h&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(j,n)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(n,h)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h|j<<16;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function Y7a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;f[e>>2]=f[g>>2]&16777215;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>8&255,l)|0)>>>0)/255|0)<<8|(((W(i&255,k)|0)>>>0)/255|0)|(((W(i>>>16&255,j)|0)>>>0)/255|0)<<16;f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function Z7a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}f[b>>2]=f[c>>2]&16777215;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=(((W(w>>>16&255,n)|0)>>>0)/255|0)<<16|(((W(w>>>8&255,v)|0)>>>0)/255|0)<<8|(((W(w&255,u)|0)>>>0)/255|0);f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function _7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;j=m>>>16&255;k=m>>>8&255;l=m&255;m=m>>>24;c=f[n>>2]|0;i=c>>>16&255;g=c>>>8&255;c=c&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c|i<<16;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function $7a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;l=o>>>16&255;n=o>>>8&255;m=o&255;o=o>>>24;i=f[c>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i|k<<16;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function a8a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r&-16711936|r<<16&16711680|r>>>16&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function b8a(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,s=0,t=0,u=0,v=0,w=0;b=f[a+52>>2]|0;s=a+28|0;v=f[s>>2]|0;f[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;c=f[a>>2]|0;b=f[t>>2]|0;n=c;o=b;while(1){m=f[u>>2]|0;d=m+-1|0;a:do if(m|0){if(r){m=d;while(1){h=f[c>>2]|0;j=h>>>16&255;k=h>>>8&255;l=h&255;h=h>>>24;i=f[b>>2]|0;d=i>>>16&255;e=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((W(w,i)|0)>>>0)/255|0)+h|0;g=j+(((W(w,g)|0)>>>0)/255|0)|0;e=k+(((W(e,w)|0)>>>0)/255|0)|0;d=l+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=l+d|0;e=k+e|0;g=j+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;d=((W(l,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|i<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}m=d;while(1){l=f[c>>2]|0;h=l>>>16&255;i=l>>>8&255;k=l&255;l=l>>>24;j=f[b>>2]|0;d=j>>>16&255;e=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((W(h,l)|0)>>>0)/255|0;i=((W(i,l)|0)>>>0)/255|0;k=((W(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((W(w,j)|0)>>>0)/255|0)+l|0;g=h+(((W(w,g)|0)>>>0)/255|0)|0;e=i+(((W(e,w)|0)>>>0)/255|0)|0;d=k+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=i+e|0;g=h+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(h,g)|0)>>>0)/255|0;e=((W(i,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|j<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}while(0);c=n+(f[v>>2]|0)|0;b=o+(f[q>>2]|0)|0;w=f[s>>2]|0;f[s>>2]=w+-1;if(!w)break;else{n=c;o=b}}f[a>>2]=c;f[t>>2]=b;return}function c8a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=f[a+52>>2]|0;z=a+28|0;y=f[z>>2]|0;A=(f[a+8>>2]<<16|0)/(y|0)|0;t=a+24|0;d=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(d|0)|0;c=y+-1|0;f[z>>2]=c;if(!y)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;y=a+12|0;s=b&112;q=f[v>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[y>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;l=o>>>16&255;m=o>>>8&255;k=o&255;o=o>>>24;n=f[c>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(x&(o|0)!=255){k=((W(k,o)|0)>>>0)/255|0;m=((W(m,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{B=o^255;n=(((W(B,n)|0)>>>0)/255|0)+o|0;j=l+(((W(B,j)|0)>>>0)/255|0)|0;i=m+(((W(i,B)|0)>>>0)/255|0)|0;h=k+(((W(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(l,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(k,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j|n<<24;if(!d)break;else{c=c+4|0;e=e+u|0}}b=f[z>>2]|0}d=r+(f[w>>2]|0)|0;c=b+-1|0;f[z>>2]=c;if(!b)break;e=p+A|0;g=q;r=d;b=c;c=d;d=f[t>>2]|0}f[v>>2]=d;return}function d8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0;b=f[a+52>>2]|0;r=h[a+60>>0]|0;s=h[a+61>>0]|0;j=h[a+62>>0]|0;k=h[a+63>>0]|0;l=a+28|0;q=f[l>>2]|0;f[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;e=(b&2|0)==0;c=f[a>>2]|0;d=f[m>>2]|0;g=c;i=d;while(1){t=f[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){t=f[c>>2]|0;v=t>>>24;u=((W(v,k)|0)>>>0)/255|0;f[d>>2]=t<<16&16711680|(e?v:u)<<24|t&65280|t>>>16&255;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}else while(1){v=f[c>>2]|0;w=v>>>24;x=((W(v&255,r)|0)>>>0)/255|0;u=((W(v>>>8&255,s)|0)>>>0)/255|0;v=((W(v>>>16&255,j)|0)>>>0)/255|0;t=((W(w,k)|0)>>>0)/255|0;f[d>>2]=x<<16|(e?w:t)<<24|u<<8|v;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}c=g+(f[o>>2]|0)|0;b=i+(f[p>>2]|0)|0;x=f[l>>2]|0;f[l>>2]=x+-1;if(!x)break;else{g=c;i=b;d=b}}f[a>>2]=c;f[m>>2]=b;return}function e8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;w=h[a+60>>0]|0;x=h[a+61>>0]|0;m=h[a+62>>0]|0;n=h[a+63>>0]|0;o=a+28|0;v=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(v|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=v+-1;if(!v)return;s=a+20|0;t=a+32|0;u=(b&1|0)==0;v=a+12|0;l=(b&2|0)==0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(u){c=0;g=65536;i=-1;while(1){if((g|0)>65535){y=~g;y=g+65536+((y|0)>-131072?y:-131072)|0;i=i+1+(y>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(y&-65536)|0}y=f[c>>2]|0;A=y>>>24;z=((W(A,n)|0)>>>0)/255|0;f[b>>2]=y&65280|(l?A:z)<<24|y>>>16&255|y<<16&16711680;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){A=~g;A=g+65536+((A|0)>-131072?A:-131072)|0;i=i+1+(A>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(A&-65536)|0}z=f[c>>2]|0;B=z>>>24;A=((W(z&255,w)|0)>>>0)/255|0;C=((W(z>>>8&255,x)|0)>>>0)/255|0;z=((W(z>>>16&255,m)|0)>>>0)/255|0;y=((W(B,n)|0)>>>0)/255|0;f[b>>2]=C<<8|(l?B:y)<<24|z|A<<16;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;C=f[o>>2]|0;f[o>>2]=C+-1;if(!C)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function f8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=f[a+52>>2]|0;B=h[a+60>>0]|0;C=h[a+61>>0]|0;r=h[a+62>>0]|0;s=h[a+63>>0]|0;t=a+28|0;A=f[t>>2]|0;c=A+-1|0;f[t>>2]=c;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;do{d=f[v>>2]|0;if(!d){e=f[a>>2]|0;b=f[u>>2]|0;d=c}else{b=f[u>>2]|0;e=f[a>>2]|0;o=b;p=e;while(1){d=d+-1|0;n=f[p>>2]|0;j=n>>>16&255;k=n>>>8&255;m=n&255;n=n>>>24;l=f[o>>2]|0;c=l>>>16&255;g=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((W(j,r)|0)>>>0)/255|0;k=((W(k,C)|0)>>>0)/255|0;m=((W(m,B)|0)>>>0)/255|0}D=((W(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((W(j,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((W(D,l)|0)>>>0)/255|0)+n|0;i=j+(((W(D,i)|0)>>>0)/255|0)|0;g=k+(((W(D,g)|0)>>>0)/255|0)|0;c=m+(((W(D,c)|0)>>>0)/255|0)|0;break}case 32:{c=m+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(m,c)|0)>>>0)/255|0;break}default:{}}f[o>>2]=g<<8|c<<16|i|l<<24;if(!d)break;else{o=o+4|0;p=p+4|0}}d=f[t>>2]|0}f[a>>2]=e+(f[w>>2]|0);f[u>>2]=b+(f[x>>2]|0);c=d+-1|0;f[t>>2]=c}while((d|0)!=0);return}function g8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;b=f[a+52>>2]|0;G=h[a+60>>0]|0;H=h[a+61>>0]|0;u=h[a+62>>0]|0;v=h[a+63>>0]|0;w=a+28|0;F=f[w>>2]|0;x=(f[a+8>>2]<<16|0)/(F|0)|0;y=a+24|0;d=f[y>>2]|0;z=(f[a+4>>2]<<16|0)/(d|0)|0;c=F+-1|0;f[w>>2]=c;if(!F)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=a+12|0;E=(b&2|0)==0;F=(b&48|0)!=0;t=b&112;r=f[A>>2]|0;e=0;g=0;s=r;b=c;c=r;while(1){if((e|0)>65535){r=~e;r=e+65536+((r|0)>-131072?r:-131072)|0;q=e+-65536-(r&-65536)|0;r=g+1+(r>>>16)|0}else{q=e;r=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;g=g+1+(p>>>16)|0;b=(f[a>>2]|0)+(W(f[D>>2]|0,r)|0)+(g<<2)|0;e=e+-65536-(p&-65536)|0}p=f[b>>2]|0;m=p>>>16&255;n=p>>>8&255;l=p&255;p=p>>>24;o=f[c>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!C){l=((W(l,G)|0)>>>0)/255|0;n=((W(n,H)|0)>>>0)/255|0;m=((W(m,u)|0)>>>0)/255|0}I=((W(p,v)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((W(l,p)|0)>>>0)/255|0;n=((W(n,p)|0)>>>0)/255|0;m=((W(m,p)|0)>>>0)/255|0}switch(t&127){case 16:{I=255-p|0;o=(((W(I,o)|0)>>>0)/255|0)+p|0;k=m+(((W(I,k)|0)>>>0)/255|0)|0;j=n+(((W(I,j)|0)>>>0)/255|0)|0;i=l+(((W(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(m,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(l,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k|o<<24;if(!d)break;else{c=c+4|0;e=e+z|0}}b=f[w>>2]|0}d=s+(f[B>>2]|0)|0;c=b+-1|0;f[w>>2]=c;if(!b)break;e=q+x|0;g=r;s=d;b=c;c=d;d=f[y>>2]|0}f[A>>2]=d;return}function h8a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=f[c>>2]|0;f[d>>2]=r>>>8&65280|r>>>24|r<<8&16711680;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function i8a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;i=h>>>24;j=h>>>16&255;k=h>>>8&255;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;switch(o&127){case 16:{h=h&255^255;g=i+(((W(h,g)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(d,h)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;i=k>>>24;j=k>>>16&255;h=k>>>8&255;k=k&255;g=f[b>>2]|0;d=g>>>16&255;e=g>>>8&255;g=g&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(k,g)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(d,k)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function j8a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;k=n>>>24;m=n>>>16&255;l=n>>>8&255;n=n&255;j=f[c>>2]|0;h=j>>>16&255;i=j>>>8&255;j=j&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(n,j)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(h,n)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function k8a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;l=f[g>>2]|0;f[e>>2]=l>>>8&65280|l<<8&16711680|l>>>24;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>16&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>8&255,k)|0)>>>0)/255|0)<<16|(((W(i>>>24,j)|0)>>>0)/255|0);f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function l8a(a){a=a|0;var b=0,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,u=0,v=0,w=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;f[b>>2]=w>>>24|w>>>8&65280|w<<8&16711680;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}w=f[c>>2]|0;w=((W(w>>>24,n)|0)>>>0)/255|0|(((W(w>>>16&255,v)|0)>>>0)/255|0)<<8|(((W(w>>>8&255,u)|0)>>>0)/255|0)<<16;f[b>>2]=w;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;w=f[o>>2]|0;f[o>>2]=w+-1;if(!w)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function m8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;j=m>>>24;k=m>>>16&255;l=m>>>8&255;m=m&255;i=f[n>>2]|0;c=i>>>16&255;g=i>>>8&255;i=i&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c<<16|i;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function n8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;l=o>>>24;n=o>>>16&255;m=o>>>8&255;o=o&255;k=f[c>>2]|0;i=k>>>16&255;j=k>>>8&255;k=k&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function o8a(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,s=0;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}s=f[c>>2]|0;r=s>>>8;f[d>>2]=s>>>24<<16|r&65280|r&255;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function p8a(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,s=0,t=0,u=0;b=f[a+52>>2]|0;r=a+28|0;u=f[r>>2]|0;f[r>>2]=u+-1;if(!u)return;s=a+20|0;t=a+24|0;u=a+12|0;p=a+32|0;q=(b&48|0)==0;o=b&112;c=f[a>>2]|0;b=f[s>>2]|0;m=c;n=b;while(1){l=f[t>>2]|0;d=l+-1|0;a:do if(l|0){if(q){l=d;while(1){h=f[c>>2]|0;i=h>>>24;j=h>>>16&255;k=h>>>8&255;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;switch(o&127){case 16:{h=h&255^255;g=i+(((W(g,h)|0)>>>0)/255|0)|0;e=j+(((W(e,h)|0)>>>0)/255|0)|0;d=k+(((W(h,d)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}l=d;while(1){k=f[c>>2]|0;i=k>>>24;j=k>>>16&255;h=k>>>8&255;k=k&255;d=f[b>>2]|0;g=d>>>16&255;e=d>>>8&255;d=d&255;if((k|0)!=255){h=((W(h,k)|0)>>>0)/255|0;i=((W(i,k)|0)>>>0)/255|0;j=((W(j,k)|0)>>>0)/255|0}switch(o&127){case 16:{k=k^255;g=i+(((W(g,k)|0)>>>0)/255|0)|0;e=j+(((W(e,k)|0)>>>0)/255|0)|0;d=h+(((W(k,d)|0)>>>0)/255|0)|0;break}case 32:{d=h+d|0;e=j+e|0;g=i+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(i,g)|0)>>>0)/255|0;e=((W(j,e)|0)>>>0)/255|0;d=((W(h,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d|g<<16;if(!l)break a;else{b=b+4|0;c=c+4|0;l=l+-1|0}}}while(0);c=m+(f[u>>2]|0)|0;b=n+(f[p>>2]|0)|0;n=f[r>>2]|0;f[r>>2]=n+-1;if(!n)break;else{m=c;n=b}}f[a>>2]=c;f[s>>2]=b;return}function q8a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=f[a+52>>2]|0;y=a+28|0;x=f[y>>2]|0;z=(f[a+8>>2]<<16|0)/(x|0)|0;s=a+24|0;d=f[s>>2]|0;t=(f[a+4>>2]<<16|0)/(d|0)|0;c=x+-1|0;f[y>>2]=c;if(!x)return;u=a+20|0;v=a+32|0;w=(b&48|0)!=0;x=a+12|0;r=b&112;p=f[u>>2]|0;e=0;g=0;q=p;b=c;c=p;while(1){if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;o=e+-65536-(p&-65536)|0;p=g+1+(p>>>16)|0}else{o=e;p=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){n=~e;n=e+65536+((n|0)>-131072?n:-131072)|0;g=g+1+(n>>>16)|0;b=(f[a>>2]|0)+(W(f[x>>2]|0,p)|0)+(g<<2)|0;e=e+-65536-(n&-65536)|0}n=f[b>>2]|0;k=n>>>24;m=n>>>16&255;l=n>>>8&255;n=n&255;h=f[c>>2]|0;j=h>>>16&255;i=h>>>8&255;h=h&255;if(w&(n|0)!=255){l=((W(l,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0}switch(r&127){case 16:{n=n^255;j=k+(((W(j,n)|0)>>>0)/255|0)|0;i=m+(((W(i,n)|0)>>>0)/255|0)|0;h=l+(((W(n,h)|0)>>>0)/255|0)|0;break}case 32:{h=l+h|0;i=m+i|0;j=k+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(k,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(l,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h|j<<16;if(!d)break;else{c=c+4|0;e=e+t|0}}b=f[y>>2]|0}d=q+(f[v>>2]|0)|0;c=b+-1|0;f[y>>2]=c;if(!b)break;e=o+z|0;g=p;q=d;b=c;c=d;d=f[s>>2]|0}f[u>>2]=d;return}function r8a(a){a=a|0;var b=0,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;c=f[a+52>>2]|0;k=h[a+60>>0]|0;l=h[a+61>>0]|0;j=h[a+62>>0]|0;m=a+28|0;q=f[m>>2]|0;b=q+-1|0;f[m>>2]=b;if(!q)return;n=a+20|0;o=a+24|0;p=a+12|0;q=a+32|0;if(!(c&1)){e=b;do{c=f[o>>2]|0;if(!c){d=f[a>>2]|0;b=f[n>>2]|0;c=e}else{b=f[n>>2]|0;d=f[a>>2]|0;e=b;g=d;while(1){c=c+-1|0;l=f[g>>2]|0;f[e>>2]=l>>>8&65535|l>>>24<<16;if(!c)break;else{e=e+4|0;g=g+4|0}}c=f[m>>2]|0}f[a>>2]=d+(f[p>>2]|0);f[n>>2]=b+(f[q>>2]|0);e=c+-1|0;f[m>>2]=e}while((c|0)!=0);return}else{do{i=f[o>>2]|0;if(!i){e=f[a>>2]|0;c=f[n>>2]|0;d=b}else{c=f[n>>2]|0;e=f[a>>2]|0;d=c;g=e;b=i;while(1){b=b+-1|0;i=f[g>>2]|0;i=(((W(i>>>16&255,l)|0)>>>0)/255|0)<<8|(((W(i>>>8&255,k)|0)>>>0)/255|0)|(((W(i>>>24,j)|0)>>>0)/255|0)<<16;f[d>>2]=i;if(!b)break;else{d=d+4|0;g=g+4|0}}d=f[m>>2]|0}f[a>>2]=e+(f[p>>2]|0);f[n>>2]=c+(f[q>>2]|0);b=d+-1|0;f[m>>2]=b}while((d|0)!=0);return}}function s8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0;b=f[a+52>>2]|0;u=h[a+60>>0]|0;v=h[a+61>>0]|0;n=h[a+62>>0]|0;o=a+28|0;t=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(t|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=t+-1;if(!t)return;s=a+20|0;t=a+32|0;l=(b&1|0)==0;m=a+12|0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(l){c=0;g=65536;i=-1;while(1){if((g|0)>65535){w=~g;w=g+65536+((w|0)>-131072?w:-131072)|0;i=i+1+(w>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(w&-65536)|0}x=f[c>>2]|0;w=x>>>8;f[b>>2]=x>>>24<<16|w&65280|w&255;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){x=~g;x=g+65536+((x|0)>-131072?x:-131072)|0;i=i+1+(x>>>16)|0;c=(f[a>>2]|0)+(W(f[m>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(x&-65536)|0}x=f[c>>2]|0;x=(((W(x>>>24,n)|0)>>>0)/255|0)<<16|(((W(x>>>16&255,v)|0)>>>0)/255|0)<<8|(((W(x>>>8&255,u)|0)>>>0)/255|0);f[b>>2]=x;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;x=f[o>>2]|0;f[o>>2]=x+-1;if(!x)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function t8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;A=h[a+60>>0]|0;B=h[a+61>>0]|0;q=h[a+62>>0]|0;r=h[a+63>>0]|0;s=a+28|0;z=f[s>>2]|0;c=z+-1|0;f[s>>2]=c;if(!z)return;t=a+20|0;u=a+24|0;v=a+12|0;w=a+32|0;x=(b&1|0)==0;y=(b&2|0)==0;z=(b&48|0)!=0;p=b&112;do{d=f[u>>2]|0;if(!d){e=f[a>>2]|0;b=f[t>>2]|0;d=c}else{b=f[t>>2]|0;e=f[a>>2]|0;n=b;o=e;while(1){d=d+-1|0;m=f[o>>2]|0;j=m>>>24;k=m>>>16&255;l=m>>>8&255;m=m&255;c=f[n>>2]|0;i=c>>>16&255;g=c>>>8&255;c=c&255;if(!x){j=((W(j,q)|0)>>>0)/255|0;k=((W(k,B)|0)>>>0)/255|0;l=((W(l,A)|0)>>>0)/255|0}C=((W(m,r)|0)>>>0)/255|0;m=y?m:C;if(z&m>>>0<255){j=((W(j,m)|0)>>>0)/255|0;k=((W(k,m)|0)>>>0)/255|0;l=((W(l,m)|0)>>>0)/255|0}switch(p&127){case 16:{C=255-m|0;i=j+(((W(C,i)|0)>>>0)/255|0)|0;g=k+(((W(C,g)|0)>>>0)/255|0)|0;c=l+(((W(C,c)|0)>>>0)/255|0)|0;break}case 32:{c=l+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(l,c)|0)>>>0)/255|0;break}default:{}}f[n>>2]=g<<8|c|i<<16;if(!d)break;else{n=n+4|0;o=o+4|0}}d=f[s>>2]|0}f[a>>2]=e+(f[v>>2]|0);f[t>>2]=b+(f[w>>2]|0);c=d+-1|0;f[s>>2]=c}while((d|0)!=0);return}function u8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=f[a+52>>2]|0;F=h[a+60>>0]|0;G=h[a+61>>0]|0;t=h[a+62>>0]|0;u=h[a+63>>0]|0;v=a+28|0;E=f[v>>2]|0;w=(f[a+8>>2]<<16|0)/(E|0)|0;x=a+24|0;d=f[x>>2]|0;y=(f[a+4>>2]<<16|0)/(d|0)|0;c=E+-1|0;f[v>>2]=c;if(!E)return;z=a+20|0;A=a+32|0;B=(b&1|0)==0;C=a+12|0;D=(b&2|0)==0;E=(b&48|0)!=0;s=b&112;q=f[z>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[C>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;l=o>>>24;n=o>>>16&255;m=o>>>8&255;o=o&255;i=f[c>>2]|0;k=i>>>16&255;j=i>>>8&255;i=i&255;if(!B){m=((W(m,F)|0)>>>0)/255|0;n=((W(n,G)|0)>>>0)/255|0;l=((W(l,t)|0)>>>0)/255|0}H=((W(o,u)|0)>>>0)/255|0;o=D?o:H;if(E&o>>>0<255){m=((W(m,o)|0)>>>0)/255|0;n=((W(n,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{H=255-o|0;k=l+(((W(H,k)|0)>>>0)/255|0)|0;j=n+(((W(H,j)|0)>>>0)/255|0)|0;i=m+(((W(H,i)|0)>>>0)/255|0)|0;break}case 32:{i=m+i|0;j=n+j|0;k=l+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(l,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i|k<<16;if(!d)break;else{c=c+4|0;e=e+y|0}}b=f[v>>2]|0}d=r+(f[A>>2]|0)|0;c=b+-1|0;f[v>>2]=c;if(!b)break;e=p+w|0;g=q;r=d;b=c;c=d;d=f[x>>2]|0}f[z>>2]=d;return}function v8a(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;p=a+28|0;o=f[p>>2]|0;q=(f[a+8>>2]<<16|0)/(o|0)|0;k=a+24|0;b=f[k>>2]|0;l=(f[a+4>>2]<<16|0)/(b|0)|0;c=o+-1|0;f[p>>2]=c;if(!o)return;m=a+20|0;n=a+32|0;o=a+12|0;d=f[m>>2]|0;e=0;g=0;j=d;while(1){if((g|0)>65535){i=~g;i=g+65536+((i|0)>-131072?i:-131072)|0;h=e+1+(i>>>16)|0;i=g+-65536-(i&-65536)|0}else{h=e;i=g}if(!b)b=c;else{c=0;e=-1;g=65536;while(1){b=b+-1|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;e=e+1+(r>>>16)|0;c=(f[a>>2]|0)+(W(f[o>>2]|0,h)|0)+(e<<2)|0;g=g+-65536-(r&-65536)|0}r=XDb(f[c>>2]|0)|0;f[d>>2]=r;if(!b)break;else{d=d+4|0;g=g+l|0}}b=f[p>>2]|0}d=j+(f[n>>2]|0)|0;c=b+-1|0;f[p>>2]=c;if(!b)break;e=h;g=i+q|0;b=f[k>>2]|0;j=d}f[m>>2]=d;return}function w8a(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,s=0,t=0,u=0,v=0,w=0;b=f[a+52>>2]|0;s=a+28|0;v=f[s>>2]|0;f[s>>2]=v+-1;if(!v)return;t=a+20|0;u=a+24|0;v=a+12|0;q=a+32|0;r=(b&48|0)==0;p=b&112;c=f[a>>2]|0;b=f[t>>2]|0;n=c;o=b;while(1){m=f[u>>2]|0;d=m+-1|0;a:do if(m|0){if(r){m=d;while(1){h=f[c>>2]|0;j=h>>>24;k=h>>>16&255;l=h>>>8&255;h=h&255;i=f[b>>2]|0;d=i>>>16&255;e=i>>>8&255;g=i&255;i=i>>>24;switch(p&127){case 16:{w=h^255;i=(((W(w,i)|0)>>>0)/255|0)+h|0;g=j+(((W(w,g)|0)>>>0)/255|0)|0;e=k+(((W(e,w)|0)>>>0)/255|0)|0;d=l+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=l+d|0;e=k+e|0;g=j+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(j,g)|0)>>>0)/255|0;e=((W(k,e)|0)>>>0)/255|0;d=((W(l,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|i<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}m=d;while(1){l=f[c>>2]|0;h=l>>>24;i=l>>>16&255;k=l>>>8&255;l=l&255;j=f[b>>2]|0;d=j>>>16&255;e=j>>>8&255;g=j&255;j=j>>>24;if((l|0)!=255){h=((W(h,l)|0)>>>0)/255|0;i=((W(i,l)|0)>>>0)/255|0;k=((W(k,l)|0)>>>0)/255|0}switch(p&127){case 16:{w=l^255;j=(((W(w,j)|0)>>>0)/255|0)+l|0;g=h+(((W(w,g)|0)>>>0)/255|0)|0;e=i+(((W(e,w)|0)>>>0)/255|0)|0;d=k+(((W(d,w)|0)>>>0)/255|0)|0;break}case 32:{d=k+d|0;e=i+e|0;g=h+g|0;g=g>>>0<255?g:255;e=e>>>0<255?e:255;d=d>>>0<255?d:255;break}case 64:{g=((W(h,g)|0)>>>0)/255|0;e=((W(i,e)|0)>>>0)/255|0;d=((W(k,d)|0)>>>0)/255|0;break}default:{}}f[b>>2]=e<<8|d<<16|g|j<<24;if(!m)break a;else{b=b+4|0;c=c+4|0;m=m+-1|0}}}while(0);c=n+(f[v>>2]|0)|0;b=o+(f[q>>2]|0)|0;w=f[s>>2]|0;f[s>>2]=w+-1;if(!w)break;else{n=c;o=b}}f[a>>2]=c;f[t>>2]=b;return}function x8a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=f[a+52>>2]|0;z=a+28|0;y=f[z>>2]|0;A=(f[a+8>>2]<<16|0)/(y|0)|0;t=a+24|0;d=f[t>>2]|0;u=(f[a+4>>2]<<16|0)/(d|0)|0;c=y+-1|0;f[z>>2]=c;if(!y)return;v=a+20|0;w=a+32|0;x=(b&48|0)!=0;y=a+12|0;s=b&112;q=f[v>>2]|0;e=0;g=0;r=q;b=c;c=q;while(1){if((e|0)>65535){q=~e;q=e+65536+((q|0)>-131072?q:-131072)|0;p=e+-65536-(q&-65536)|0;q=g+1+(q>>>16)|0}else{p=e;q=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){o=~e;o=e+65536+((o|0)>-131072?o:-131072)|0;g=g+1+(o>>>16)|0;b=(f[a>>2]|0)+(W(f[y>>2]|0,q)|0)+(g<<2)|0;e=e+-65536-(o&-65536)|0}o=f[b>>2]|0;l=o>>>24;m=o>>>16&255;k=o>>>8&255;o=o&255;n=f[c>>2]|0;h=n>>>16&255;i=n>>>8&255;j=n&255;n=n>>>24;if(x&(o|0)!=255){k=((W(k,o)|0)>>>0)/255|0;m=((W(m,o)|0)>>>0)/255|0;l=((W(l,o)|0)>>>0)/255|0}switch(s&127){case 16:{B=o^255;n=(((W(B,n)|0)>>>0)/255|0)+o|0;j=l+(((W(B,j)|0)>>>0)/255|0)|0;i=m+(((W(i,B)|0)>>>0)/255|0)|0;h=k+(((W(h,B)|0)>>>0)/255|0)|0;break}case 32:{h=k+h|0;i=m+i|0;j=l+j|0;j=j>>>0<255?j:255;i=i>>>0<255?i:255;h=h>>>0<255?h:255;break}case 64:{j=((W(l,j)|0)>>>0)/255|0;i=((W(m,i)|0)>>>0)/255|0;h=((W(k,h)|0)>>>0)/255|0;break}default:{}}f[c>>2]=i<<8|h<<16|j|n<<24;if(!d)break;else{c=c+4|0;e=e+u|0}}b=f[z>>2]|0}d=r+(f[w>>2]|0)|0;c=b+-1|0;f[z>>2]=c;if(!b)break;e=p+A|0;g=q;r=d;b=c;c=d;d=f[t>>2]|0}f[v>>2]=d;return}function y8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0;b=f[a+52>>2]|0;r=h[a+60>>0]|0;s=h[a+61>>0]|0;j=h[a+62>>0]|0;k=h[a+63>>0]|0;l=a+28|0;q=f[l>>2]|0;f[l>>2]=q+-1;if(!q)return;m=a+20|0;n=a+24|0;o=a+12|0;p=a+32|0;q=(b&1|0)==0;e=(b&2|0)==0;c=f[a>>2]|0;d=f[m>>2]|0;g=c;i=d;while(1){t=f[n>>2]|0;b=t+-1|0;if(t|0)if(q)while(1){t=f[c>>2]|0;u=((W(t&255,k)|0)>>>0)/255|0;f[d>>2]=t<<8&16711680|(e?t:u)<<24|t>>>8&65280|t>>>24;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}else while(1){w=f[c>>2]|0;x=((W(w>>>8&255,r)|0)>>>0)/255|0;t=((W(w>>>16&255,s)|0)>>>0)/255|0;u=((W(w>>>24,j)|0)>>>0)/255|0;v=((W(w&255,k)|0)>>>0)/255|0;f[d>>2]=x<<16|(e?w:v)<<24|t<<8|u;if(!b)break;else{d=d+4|0;c=c+4|0;b=b+-1|0}}c=g+(f[o>>2]|0)|0;b=i+(f[p>>2]|0)|0;x=f[l>>2]|0;f[l>>2]=x+-1;if(!x)break;else{g=c;i=b;d=b}}f[a>>2]=c;f[m>>2]=b;return}function z8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;b=f[a+52>>2]|0;w=h[a+60>>0]|0;x=h[a+61>>0]|0;m=h[a+62>>0]|0;n=h[a+63>>0]|0;o=a+28|0;v=f[o>>2]|0;p=(f[a+8>>2]<<16|0)/(v|0)|0;q=a+24|0;c=f[q>>2]|0;r=(f[a+4>>2]<<16|0)/(c|0)|0;f[o>>2]=v+-1;if(!v)return;s=a+20|0;t=a+32|0;u=(b&1|0)==0;v=a+12|0;l=(b&2|0)==0;b=f[s>>2]|0;d=0;e=0;k=b;while(1){if((d|0)>65535){j=~d;j=d+65536+((j|0)>-131072?j:-131072)|0;d=d+-65536-(j&-65536)|0;e=e+1+(j>>>16)|0}j=c+-1|0;if(c|0)if(u){c=0;g=65536;i=-1;while(1){if((g|0)>65535){y=~g;y=g+65536+((y|0)>-131072?y:-131072)|0;i=i+1+(y>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(y&-65536)|0}y=f[c>>2]|0;z=((W(y&255,n)|0)>>>0)/255|0;f[b>>2]=y>>>8&65280|(l?y:z)<<24|y>>>24|y<<8&16711680;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}else{c=0;g=65536;i=-1;while(1){if((g|0)>65535){z=~g;z=g+65536+((z|0)>-131072?z:-131072)|0;i=i+1+(z>>>16)|0;c=(f[a>>2]|0)+(W(f[v>>2]|0,e)|0)+(i<<2)|0;g=g+-65536-(z&-65536)|0}B=f[c>>2]|0;z=((W(B>>>8&255,w)|0)>>>0)/255|0;C=((W(B>>>16&255,x)|0)>>>0)/255|0;y=((W(B>>>24,m)|0)>>>0)/255|0;A=((W(B&255,n)|0)>>>0)/255|0;f[b>>2]=C<<8|(l?B:A)<<24|y|z<<16;if(!j)break;else{b=b+4|0;g=g+r|0;j=j+-1|0}}}b=k+(f[t>>2]|0)|0;C=f[o>>2]|0;f[o>>2]=C+-1;if(!C)break;d=d+p|0;k=b;c=f[q>>2]|0}f[s>>2]=b;return}function A8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=f[a+52>>2]|0;B=h[a+60>>0]|0;C=h[a+61>>0]|0;r=h[a+62>>0]|0;s=h[a+63>>0]|0;t=a+28|0;A=f[t>>2]|0;c=A+-1|0;f[t>>2]=c;if(!A)return;u=a+20|0;v=a+24|0;w=a+12|0;x=a+32|0;y=(b&1|0)==0;z=(b&2|0)==0;A=(b&48|0)!=0;q=b&112;do{d=f[v>>2]|0;if(!d){e=f[a>>2]|0;b=f[u>>2]|0;d=c}else{b=f[u>>2]|0;e=f[a>>2]|0;o=b;p=e;while(1){d=d+-1|0;n=f[p>>2]|0;j=n>>>24;k=n>>>16&255;m=n>>>8&255;n=n&255;l=f[o>>2]|0;c=l>>>16&255;g=l>>>8&255;i=l&255;l=l>>>24;if(!y){j=((W(j,r)|0)>>>0)/255|0;k=((W(k,C)|0)>>>0)/255|0;m=((W(m,B)|0)>>>0)/255|0}D=((W(n,s)|0)>>>0)/255|0;n=z?n:D;if(A&n>>>0<255){j=((W(j,n)|0)>>>0)/255|0;k=((W(k,n)|0)>>>0)/255|0;m=((W(m,n)|0)>>>0)/255|0}switch(q&127){case 16:{D=255-n|0;l=(((W(D,l)|0)>>>0)/255|0)+n|0;i=j+(((W(D,i)|0)>>>0)/255|0)|0;g=k+(((W(D,g)|0)>>>0)/255|0)|0;c=m+(((W(D,c)|0)>>>0)/255|0)|0;break}case 32:{c=m+c|0;g=k+g|0;i=j+i|0;i=i>>>0<255?i:255;g=g>>>0<255?g:255;c=c>>>0<255?c:255;break}case 64:{i=((W(j,i)|0)>>>0)/255|0;g=((W(k,g)|0)>>>0)/255|0;c=((W(m,c)|0)>>>0)/255|0;break}default:{}}f[o>>2]=g<<8|c<<16|i|l<<24;if(!d)break;else{o=o+4|0;p=p+4|0}}d=f[t>>2]|0}f[a>>2]=e+(f[w>>2]|0);f[u>>2]=b+(f[x>>2]|0);c=d+-1|0;f[t>>2]=c}while((d|0)!=0);return}function B8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;b=f[a+52>>2]|0;G=h[a+60>>0]|0;H=h[a+61>>0]|0;u=h[a+62>>0]|0;v=h[a+63>>0]|0;w=a+28|0;F=f[w>>2]|0;x=(f[a+8>>2]<<16|0)/(F|0)|0;y=a+24|0;d=f[y>>2]|0;z=(f[a+4>>2]<<16|0)/(d|0)|0;c=F+-1|0;f[w>>2]=c;if(!F)return;A=a+20|0;B=a+32|0;C=(b&1|0)==0;D=a+12|0;E=(b&2|0)==0;F=(b&48|0)!=0;t=b&112;r=f[A>>2]|0;e=0;g=0;s=r;b=c;c=r;while(1){if((e|0)>65535){r=~e;r=e+65536+((r|0)>-131072?r:-131072)|0;q=e+-65536-(r&-65536)|0;r=g+1+(r>>>16)|0}else{q=e;r=g}if(d){b=0;e=65536;g=-1;while(1){d=d+-1|0;if((e|0)>65535){p=~e;p=e+65536+((p|0)>-131072?p:-131072)|0;g=g+1+(p>>>16)|0;b=(f[a>>2]|0)+(W(f[D>>2]|0,r)|0)+(g<<2)|0;e=e+-65536-(p&-65536)|0}p=f[b>>2]|0;m=p>>>24;n=p>>>16&255;l=p>>>8&255;p=p&255;o=f[c>>2]|0;i=o>>>16&255;j=o>>>8&255;k=o&255;o=o>>>24;if(!C){l=((W(l,G)|0)>>>0)/255|0;n=((W(n,H)|0)>>>0)/255|0;m=((W(m,u)|0)>>>0)/255|0}I=((W(p,v)|0)>>>0)/255|0;p=E?p:I;if(F&p>>>0<255){l=((W(l,p)|0)>>>0)/255|0;n=((W(n,p)|0)>>>0)/255|0;m=((W(m,p)|0)>>>0)/255|0}switch(t&127){case 16:{I=255-p|0;o=(((W(I,o)|0)>>>0)/255|0)+p|0;k=m+(((W(I,k)|0)>>>0)/255|0)|0;j=n+(((W(I,j)|0)>>>0)/255|0)|0;i=l+(((W(I,i)|0)>>>0)/255|0)|0;break}case 32:{i=l+i|0;j=n+j|0;k=m+k|0;k=k>>>0<255?k:255;j=j>>>0<255?j:255;i=i>>>0<255?i:255;break}case 64:{k=((W(m,k)|0)>>>0)/255|0;j=((W(n,j)|0)>>>0)/255|0;i=((W(l,i)|0)>>>0)/255|0;break}default:{}}f[c>>2]=j<<8|i<<16|k|o<<24;if(!d)break;else{c=c+4|0;e=e+z|0}}b=f[w>>2]|0}d=s+(f[B>>2]|0)|0;c=b+-1|0;f[w>>2]=c;if(!b)break;e=q+x|0;g=r;s=d;b=c;c=d;d=f[y>>2]|0}f[A>>2]=d;return}function C8a(a){a=a|0;return Rmb(a)|0}function D8a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;c=f[a+24>>2]|0;i=f[a+28>>2]|0;P=f[a+16>>2]|0;I=f[a+36>>2]|0;e=f[a+40>>2]|0;J=b[e+9>>0]|0;K=J&255;g=f[a+44>>2]|0;M=b[g+9>>0]|0;N=M&255;if(!(f[g+24>>2]|0))L=0;else L=h[a+63>>0]|0;if(!i)return;O=(c+7|0)/8|0;H=c&255;z=e+28|0;A=e+12|0;B=e+32|0;C=e+29|0;D=e+16|0;E=e+33|0;F=e+30|0;G=e+20|0;r=e+34|0;s=g+28|0;t=g+32|0;u=g+29|0;v=g+33|0;w=g+30|0;x=g+34|0;y=g+31|0;q=g+35|0;c=f[a>>2]|0;n=f[a+20>>2]|0;a:while(1){i=i+-1|0;switch(H&7){case 0:{o=O;p=6;break}case 7:{o=O;p=18;break}case 6:{o=O;p=30;break}case 5:{o=O;p=42;break}case 4:{o=O;p=54;break}case 3:{o=O;p=66;break}case 2:{o=O;p=78;break}case 1:{o=O;p=90;break}default:{p=102;break a}}while(1)if((p|0)==6){p=0;switch(J<<24>>24){case 1:{a=h[c>>0]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=11;break}case 2:{a=j[c>>1]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=11;break}case 3:{e=c+((h[B>>0]|0)>>>3&255)|0;g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[r>>0]|0)>>>3&255)|0;p=11;break}case 4:{a=f[c>>2]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=11;break}default:{m=0;l=0;k=0}}if((p|0)==11){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=m;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=k;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+K|0;n=n+N|0;p=18;continue}else if((p|0)==18){p=0;switch(J<<24>>24){case 1:{a=h[c>>0]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=23;break}case 2:{a=j[c>>1]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=23;break}case 3:{e=c+((h[B>>0]|0)>>>3&255)|0;g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[r>>0]|0)>>>3&255)|0;p=23;break}case 4:{a=f[c>>2]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=23;break}default:{m=0;l=0;k=0}}if((p|0)==23){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=m;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=k;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+K|0;n=n+N|0;p=30;continue}else if((p|0)==30){p=0;switch(J<<24>>24){case 1:{a=h[c>>0]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=35;break}case 2:{a=j[c>>1]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=35;break}case 3:{e=c+((h[B>>0]|0)>>>3&255)|0;g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[r>>0]|0)>>>3&255)|0;p=35;break}case 4:{a=f[c>>2]|0;e=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&a)>>>(h[B>>0]|0))|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&a)>>>(h[E>>0]|0))|0;a=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&a)>>>(h[r>>0]|0))|0;p=35;break}default:{m=0;l=0;k=0}}if((p|0)==35){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=m;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=k;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|e>>>(h[s>>0]|0)<<(h[t>>0]|0)|a>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+K|0;n=n+N|0;p=42;continue}else if((p|0)==42){p=0;switch(J<<24>>24){case 1:{e=h[c>>0]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=47;break}case 2:{e=j[c>>1]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=47;break}case 3:{g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[B>>0]|0)>>>3&255)|0;e=c+((h[r>>0]|0)>>>3&255)|0;p=47;break}case 4:{e=f[c>>2]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=47;break}default:{m=0;l=0;k=0}}if((p|0)==47){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=k;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=m;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+K|0;n=n+N|0;p=54;continue}else if((p|0)==54){p=0;switch(J<<24>>24){case 1:{e=h[c>>0]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=59;break}case 2:{e=j[c>>1]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=59;break}case 3:{g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[B>>0]|0)>>>3&255)|0;e=c+((h[r>>0]|0)>>>3&255)|0;p=59;break}case 4:{e=f[c>>2]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=59;break}default:{m=0;l=0;k=0}}if((p|0)==59){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=k;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=m;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+K|0;n=n+N|0;p=66;continue}else if((p|0)==66){p=0;switch(J<<24>>24){case 1:{e=h[c>>0]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=71;break}case 2:{e=j[c>>1]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=71;break}case 3:{g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[B>>0]|0)>>>3&255)|0;e=c+((h[r>>0]|0)>>>3&255)|0;p=71;break}case 4:{e=f[c>>2]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=71;break}default:{m=0;l=0;k=0}}if((p|0)==71){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=k;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=m;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+K|0;n=n+N|0;p=78;continue}else if((p|0)==78){p=0;switch(J<<24>>24){case 1:{e=h[c>>0]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=83;break}case 2:{e=j[c>>1]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=83;break}case 3:{g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[B>>0]|0)>>>3&255)|0;e=c+((h[r>>0]|0)>>>3&255)|0;p=83;break}case 4:{e=f[c>>2]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=83;break}default:{m=0;l=0;k=0}}if((p|0)==83){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=k;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=m;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+K|0;n=n+N|0;p=90;continue}else if((p|0)==90){p=0;switch(J<<24>>24){case 1:{e=h[c>>0]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=95;break}case 2:{e=j[c>>1]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=95;break}case 3:{g=c+((h[E>>0]|0)>>>3&255)|0;a=c+((h[B>>0]|0)>>>3&255)|0;e=c+((h[r>>0]|0)>>>3&255)|0;p=95;break}case 4:{e=f[c>>2]|0;g=(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&e)>>>(h[E>>0]|0))|0;a=(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&e)>>>(h[B>>0]|0))|0;e=(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&e)>>>(h[r>>0]|0))|0;p=95;break}default:{m=0;l=0;k=0}}if((p|0)==95){m=b[e>>0]|0;l=b[g>>0]|0;k=b[a>>0]|0}e=m&255;g=l&255;a=k&255;switch(M<<24>>24){case 1:{b[n>>0]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 2:{d[n>>1]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}case 3:{b[n+((h[t>>0]|0)>>>3&255)>>0]=k;b[n+((h[v>>0]|0)>>>3&255)>>0]=l;b[n+((h[x>>0]|0)>>>3&255)>>0]=m;break}case 4:{f[n>>2]=g>>>(h[u>>0]|0)<<(h[v>>0]|0)|a>>>(h[s>>0]|0)<<(h[t>>0]|0)|e>>>(h[w>>0]|0)<<(h[x>>0]|0)|L>>>(h[y>>0]|0)<<(h[q>>0]|0);break}default:{}}e=n+N|0;c=c+K|0;if((o|0)>1){o=o+-1|0;n=e;p=6;continue}else break}if(!i){p=104;break}else{c=c+P|0;n=e+I|0}}if((p|0)!=102)if((p|0)==104)return}function E8a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;c=f[a+24>>2]|0;j=f[a+28>>2]|0;b=f[a>>2]|0;k=f[a+16>>2]|0;e=f[a+20>>2]|0;i=f[a+36>>2]|0;d=j+-1|0;if(!j)return;j=(c+7|0)/8|0;h=c&255;switch(h&7){case 0:{a=e;while(1){c=j;while(1){f[a>>2]=f[b>>2];f[a+4>>2]=f[b+4>>2];f[a+8>>2]=f[b+8>>2];f[a+12>>2]=f[b+12>>2];f[a+16>>2]=f[b+16>>2];f[a+20>>2]=f[b+20>>2];f[a+24>>2]=f[b+24>>2];f[a+28>>2]=f[b+28>>2];a=a+32|0;b=b+32|0;if((c|0)<=1)break;else c=c+-1|0}if(!d)break;else{a=a+i|0;b=b+k|0;d=d+-1|0}}return}case 7:{h=(c|0)>8;while(1){f[e>>2]=f[b>>2];f[e+4>>2]=f[b+4>>2];f[e+8>>2]=f[b+8>>2];f[e+12>>2]=f[b+12>>2];f[e+16>>2]=f[b+16>>2];f[e+20>>2]=f[b+20>>2];f[e+24>>2]=f[b+24>>2];a=e+28|0;c=b+28|0;if(h){g=j;while(1){f[a>>2]=f[c>>2];a=e;e=e+32|0;c=b;b=b+32|0;f[e>>2]=f[b>>2];f[a+36>>2]=f[c+36>>2];f[a+40>>2]=f[c+40>>2];f[a+44>>2]=f[c+44>>2];f[a+48>>2]=f[c+48>>2];f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];a=a+60|0;c=c+60|0;if((g|0)<=2){b=c;break}else g=g+-1|0}}else b=c;if(!d)break;else{e=a+i|0;b=b+k|0;d=d+-1|0}}return}default:{a:while(1){switch(h&7){case 1:{g=j;c=20;break}case 2:{a=j;c=19;break}case 6:{a=j;c=15;break}case 5:{a=j;c=16;break}case 4:{a=j;c=17;break}case 3:{a=j;c=18;break}default:{c=21;break a}}while(1)if((c|0)==15){f[e>>2]=f[b>>2];e=e+4|0;b=b+4|0;c=16;continue}else if((c|0)==16){f[e>>2]=f[b>>2];e=e+4|0;b=b+4|0;c=17;continue}else if((c|0)==17){f[e>>2]=f[b>>2];e=e+4|0;b=b+4|0;c=18;continue}else if((c|0)==18){f[e>>2]=f[b>>2];e=e+4|0;b=b+4|0;c=19;continue}else if((c|0)==19){f[e>>2]=f[b>>2];g=a;e=e+4|0;b=b+4|0;c=20;continue}else if((c|0)==20){f[e>>2]=f[b>>2];a=e+4|0;c=b+4|0;if((g|0)<=1)break;f[a>>2]=f[c>>2];f[e+8>>2]=f[b+8>>2];a=g+-1|0;e=e+12|0;b=b+12|0;c=15;continue}if(!d){c=23;break}else{e=a+i|0;b=c+k|0;d=d+-1|0}}if((c|0)!=21)if((c|0)==23)return}}}function F8a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;H=f[a+24>>2]|0;g=f[a+28>>2]|0;U=f[a+16>>2]|0;V=f[a+36>>2]|0;c=f[a+40>>2]|0;D=b[c+9>>0]|0;E=D&255;e=f[a+44>>2]|0;F=b[e+9>>0]|0;G=F&255;if(!g)return;I=(H|0)==0;J=c+28|0;K=c+12|0;L=c+32|0;M=c+29|0;N=c+16|0;O=c+33|0;P=c+30|0;Q=c+20|0;R=c+34|0;S=c+31|0;T=c+24|0;v=c+35|0;w=e+28|0;x=e+32|0;y=e+29|0;z=e+33|0;A=e+30|0;B=e+34|0;C=e+31|0;s=e+35|0;t=W(H,G)|0;u=W(H,E)|0;e=f[a>>2]|0;c=f[a+20>>2]|0;while(1){g=g+-1|0;if(!I){r=c+t|0;q=H;p=e;while(1){switch(D<<24>>24){case 1:{o=h[p>>0]|0;a=b[(f[234608+((h[S>>0]|0)<<2)>>2]|0)+((f[T>>2]&o)>>>(h[v>>0]|0))>>0]|0;m=b[(f[234608+((h[P>>0]|0)<<2)>>2]|0)+((f[Q>>2]&o)>>>(h[R>>0]|0))>>0]|0;n=b[(f[234608+((h[M>>0]|0)<<2)>>2]|0)+((f[N>>2]&o)>>>(h[O>>0]|0))>>0]|0;o=b[(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&o)>>>(h[L>>0]|0))>>0]|0;break}case 2:{o=j[p>>1]|0;a=b[(f[234608+((h[S>>0]|0)<<2)>>2]|0)+((f[T>>2]&o)>>>(h[v>>0]|0))>>0]|0;m=b[(f[234608+((h[P>>0]|0)<<2)>>2]|0)+((f[Q>>2]&o)>>>(h[R>>0]|0))>>0]|0;n=b[(f[234608+((h[M>>0]|0)<<2)>>2]|0)+((f[N>>2]&o)>>>(h[O>>0]|0))>>0]|0;o=b[(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&o)>>>(h[L>>0]|0))>>0]|0;break}case 3:{a=-1;m=b[p+((h[R>>0]|0)>>>3&255)>>0]|0;n=b[p+((h[O>>0]|0)>>>3&255)>>0]|0;o=b[p+((h[L>>0]|0)>>>3&255)>>0]|0;break}case 4:{o=f[p>>2]|0;a=b[(f[234608+((h[S>>0]|0)<<2)>>2]|0)+((f[T>>2]&o)>>>(h[v>>0]|0))>>0]|0;m=b[(f[234608+((h[P>>0]|0)<<2)>>2]|0)+((f[Q>>2]&o)>>>(h[R>>0]|0))>>0]|0;n=b[(f[234608+((h[M>>0]|0)<<2)>>2]|0)+((f[N>>2]&o)>>>(h[O>>0]|0))>>0]|0;o=b[(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&o)>>>(h[L>>0]|0))>>0]|0;break}default:{a=0;m=0;n=0;o=0}}a=a&255;i=m&255;k=n&255;l=o&255;switch(F<<24>>24){case 1:{b[c>>0]=k>>>(h[y>>0]|0)<<(h[z>>0]|0)|l>>>(h[w>>0]|0)<<(h[x>>0]|0)|i>>>(h[A>>0]|0)<<(h[B>>0]|0)|a>>>(h[C>>0]|0)<<(h[s>>0]|0);break}case 2:{d[c>>1]=k>>>(h[y>>0]|0)<<(h[z>>0]|0)|l>>>(h[w>>0]|0)<<(h[x>>0]|0)|i>>>(h[A>>0]|0)<<(h[B>>0]|0)|a>>>(h[C>>0]|0)<<(h[s>>0]|0);break}case 3:{b[c+((h[x>>0]|0)>>>3&255)>>0]=o;b[c+((h[z>>0]|0)>>>3&255)>>0]=n;b[c+((h[B>>0]|0)>>>3&255)>>0]=m;break}case 4:{f[c>>2]=k>>>(h[y>>0]|0)<<(h[z>>0]|0)|l>>>(h[w>>0]|0)<<(h[x>>0]|0)|i>>>(h[A>>0]|0)<<(h[B>>0]|0)|a>>>(h[C>>0]|0)<<(h[s>>0]|0);break}default:{}}q=q+-1|0;if(!q)break;else{c=c+G|0;p=p+E|0}}e=e+u|0;c=r}if(!g)break;else{e=e+U|0;c=c+V|0}}return}function G8a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;c=f[a+24>>2]|0;i=f[a+28>>2]|0;Q=f[a+16>>2]|0;H=f[a+36>>2]|0;e=f[a+40>>2]|0;g=f[a+44>>2]|0;J=b[e+9>>0]|0;K=J&255;L=b[g+9>>0]|0;M=L&255;if(!(f[g+24>>2]|0))I=0;else I=h[a+63>>0]|0;N=~f[e+24>>2];O=f[a+56>>2]&N;if(!i)return;P=(c+7|0)/8|0;G=c&255;y=e+28|0;z=e+12|0;A=e+32|0;B=e+29|0;C=e+16|0;D=e+33|0;E=e+30|0;F=e+20|0;q=e+34|0;r=g+28|0;s=g+32|0;t=g+29|0;u=g+33|0;v=g+30|0;w=g+34|0;x=g+31|0;p=g+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){i=i+-1|0;switch(G&7){case 0:{o=P;g=6;break}case 7:{o=P;g=18;break}case 6:{o=P;g=30;break}case 5:{o=P;g=42;break}case 4:{o=P;g=54;break}case 3:{o=P;g=66;break}case 2:{o=P;g=78;break}case 1:{o=P;g=90;break}default:{g=102;break a}}while(1)if((g|0)==6){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}b:do if((g&N|0)!=(O|0)){k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;l=k&255;m=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;n=m&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break b}case 2:{d[e>>1]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break b}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=k;b[e+((h[u>>0]|0)>>>3&255)>>0]=m;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break b}case 4:{f[e>>2]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break b}default:break b}}while(0);c=c+K|0;e=e+M|0;g=18;continue}else if((g|0)==18){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}c:do if((g&N|0)!=(O|0)){k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;l=k&255;m=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;n=m&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break c}case 2:{d[e>>1]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break c}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=k;b[e+((h[u>>0]|0)>>>3&255)>>0]=m;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break c}case 4:{f[e>>2]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break c}default:break c}}while(0);c=c+K|0;e=e+M|0;g=30;continue}else if((g|0)==30){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}d:do if((g&N|0)!=(O|0)){k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;l=k&255;m=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;n=m&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break d}case 2:{d[e>>1]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break d}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=k;b[e+((h[u>>0]|0)>>>3&255)>>0]=m;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break d}case 4:{f[e>>2]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break d}default:break d}}while(0);c=c+K|0;e=e+M|0;g=42;continue}else if((g|0)==42){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}e:do if((g&N|0)!=(O|0)){k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;l=k&255;m=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;n=m&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break e}case 2:{d[e>>1]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break e}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=k;b[e+((h[u>>0]|0)>>>3&255)>>0]=m;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break e}case 4:{f[e>>2]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break e}default:break e}}while(0);c=c+K|0;e=e+M|0;g=54;continue}else if((g|0)==54){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}f:do if((g&N|0)!=(O|0)){k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;l=k&255;m=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;n=m&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break f}case 2:{d[e>>1]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break f}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=k;b[e+((h[u>>0]|0)>>>3&255)>>0]=m;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break f}case 4:{f[e>>2]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break f}default:break f}}while(0);c=c+K|0;e=e+M|0;g=66;continue}else if((g|0)==66){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}g:do if((g&N|0)!=(O|0)){k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;l=k&255;m=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;n=m&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break g}case 2:{d[e>>1]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break g}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=k;b[e+((h[u>>0]|0)>>>3&255)>>0]=m;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break g}case 4:{f[e>>2]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break g}default:break g}}while(0);c=c+K|0;e=e+M|0;g=78;continue}else if((g|0)==78){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}h:do if((g&N|0)!=(O|0)){m=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;n=m&255;k=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;l=k&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=l>>>(h[t>>0]|0)<<(h[u>>0]|0)|n>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break h}case 2:{d[e>>1]=l>>>(h[t>>0]|0)<<(h[u>>0]|0)|n>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break h}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=m;b[e+((h[u>>0]|0)>>>3&255)>>0]=k;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break h}case 4:{f[e>>2]=l>>>(h[t>>0]|0)<<(h[u>>0]|0)|n>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break h}default:break h}}while(0);c=c+K|0;e=e+M|0;g=90;continue}else if((g|0)==90){switch(J<<24>>24){case 1:{g=h[c>>0]|0;break}case 2:{g=j[c>>1]|0;break}case 3:{g=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{g=f[c>>2]|0;break}default:g=0}i:do if((g&N|0)!=(O|0)){k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[A>>0]|0))>>0]|0;l=k&255;m=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&g)>>>(h[D>>0]|0))>>0]|0;n=m&255;g=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&g)>>>(h[q>>0]|0))>>0]|0;a=g&255;switch(L<<24>>24){case 1:{b[e>>0]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break i}case 2:{d[e>>1]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break i}case 3:{b[e+((h[s>>0]|0)>>>3&255)>>0]=k;b[e+((h[u>>0]|0)>>>3&255)>>0]=m;b[e+((h[w>>0]|0)>>>3&255)>>0]=g;break i}case 4:{f[e>>2]=n>>>(h[t>>0]|0)<<(h[u>>0]|0)|l>>>(h[r>>0]|0)<<(h[s>>0]|0)|a>>>(h[v>>0]|0)<<(h[w>>0]|0)|I>>>(h[x>>0]|0)<<(h[p>>0]|0);break i}default:break i}}while(0);e=e+M|0;c=c+K|0;if((o|0)>1){o=o+-1|0;g=6;continue}else break}if(!i){g=104;break}else{c=c+Q|0;e=e+H|0}}if((g|0)!=102)if((g|0)==104)return}function H8a(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,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,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,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0;g=f[a+24>>2]|0;s=f[a+28>>2]|0;d=f[a>>2]|0;gc=f[a+16>>2]|0;c=f[a+20>>2]|0;fc=f[a+36>>2]|0;bc=f[a+48>>2]|0;cc=f[a+40>>2]|0;dc=b[cc+9>>0]|0;ec=dc&255;e=s+-1|0;a=(s|0)==0;if(!bc){if(a)return;s=(g+7|0)/8|0;r=g&255;i=cc+28|0;k=cc+12|0;l=cc+32|0;m=cc+29|0;n=cc+16|0;o=cc+33|0;p=cc+30|0;q=cc+20|0;g=cc+34|0;a:while(1){switch(r&7){case 0:{u=s;za=d;Aa=c;c=5;break}case 7:{ta=s;Ia=d;Ja=c;c=12;break}case 6:{Ca=s;Ra=d;Sa=c;c=19;break}case 5:{La=s;_a=d;$a=c;c=26;break}case 4:{Ua=s;hb=d;ib=c;c=33;break}case 3:{bb=s;qb=d;rb=c;c=40;break}case 2:{kb=s;zb=d;Ab=c;c=47;break}case 1:{tb=s;Gb=d;Hb=c;c=54;break}default:{c=61;break a}}while(1)if((c|0)==5){c=0;switch(dc<<24>>24){case 1:{Nb=h[za>>0]|0;x=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Nb)>>>(h[o>>0]|0))|0;z=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Nb)>>>(h[l>>0]|0))|0;Nb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Nb)>>>(h[g>>0]|0))|0;c=10;break}case 2:{Nb=j[za>>1]|0;x=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Nb)>>>(h[o>>0]|0))|0;z=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Nb)>>>(h[l>>0]|0))|0;Nb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Nb)>>>(h[g>>0]|0))|0;c=10;break}case 3:{x=za+((h[o>>0]|0)>>>3&255)|0;z=za+((h[l>>0]|0)>>>3&255)|0;Nb=za+((h[g>>0]|0)>>>3&255)|0;c=10;break}case 4:{Nb=f[za>>2]|0;x=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Nb)>>>(h[o>>0]|0))|0;z=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Nb)>>>(h[l>>0]|0))|0;Nb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Nb)>>>(h[g>>0]|0))|0;c=10;break}default:{v=0;w=0;y=0}}if((c|0)==10){v=b[Nb>>0]|0;w=b[x>>0]|0;y=b[z>>0]|0}b[Aa>>0]=(w&255)>>>5<<2|y&-32&255|(v&255)>>>6;ta=u;Ia=za+ec|0;Ja=Aa+1|0;c=12;continue}else if((c|0)==12){c=0;switch(dc<<24>>24){case 1:{Ob=h[Ia>>0]|0;wa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ob)>>>(h[o>>0]|0))|0;ya=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ob)>>>(h[l>>0]|0))|0;Ob=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ob)>>>(h[g>>0]|0))|0;c=17;break}case 2:{Ob=j[Ia>>1]|0;wa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ob)>>>(h[o>>0]|0))|0;ya=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ob)>>>(h[l>>0]|0))|0;Ob=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ob)>>>(h[g>>0]|0))|0;c=17;break}case 3:{wa=Ia+((h[o>>0]|0)>>>3&255)|0;ya=Ia+((h[l>>0]|0)>>>3&255)|0;Ob=Ia+((h[g>>0]|0)>>>3&255)|0;c=17;break}case 4:{Ob=f[Ia>>2]|0;wa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ob)>>>(h[o>>0]|0))|0;ya=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ob)>>>(h[l>>0]|0))|0;Ob=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ob)>>>(h[g>>0]|0))|0;c=17;break}default:{ua=0;va=0;xa=0}}if((c|0)==17){ua=b[Ob>>0]|0;va=b[wa>>0]|0;xa=b[ya>>0]|0}b[Ja>>0]=(va&255)>>>5<<2|xa&-32&255|(ua&255)>>>6;Ca=ta;Ra=Ia+ec|0;Sa=Ja+1|0;c=19;continue}else if((c|0)==19){c=0;switch(dc<<24>>24){case 1:{Pb=h[Ra>>0]|0;Fa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Pb)>>>(h[o>>0]|0))|0;Ha=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Pb)>>>(h[l>>0]|0))|0;Pb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Pb)>>>(h[g>>0]|0))|0;c=24;break}case 2:{Pb=j[Ra>>1]|0;Fa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Pb)>>>(h[o>>0]|0))|0;Ha=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Pb)>>>(h[l>>0]|0))|0;Pb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Pb)>>>(h[g>>0]|0))|0;c=24;break}case 3:{Fa=Ra+((h[o>>0]|0)>>>3&255)|0;Ha=Ra+((h[l>>0]|0)>>>3&255)|0;Pb=Ra+((h[g>>0]|0)>>>3&255)|0;c=24;break}case 4:{Pb=f[Ra>>2]|0;Fa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Pb)>>>(h[o>>0]|0))|0;Ha=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Pb)>>>(h[l>>0]|0))|0;Pb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Pb)>>>(h[g>>0]|0))|0;c=24;break}default:{Da=0;Ea=0;Ga=0}}if((c|0)==24){Da=b[Pb>>0]|0;Ea=b[Fa>>0]|0;Ga=b[Ha>>0]|0}b[Sa>>0]=(Ea&255)>>>5<<2|Ga&-32&255|(Da&255)>>>6;La=Ca;_a=Ra+ec|0;$a=Sa+1|0;c=26;continue}else if((c|0)==26){c=0;switch(dc<<24>>24){case 1:{Qb=h[_a>>0]|0;Oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Qb)>>>(h[o>>0]|0))|0;Qa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Qb)>>>(h[l>>0]|0))|0;Qb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Qb)>>>(h[g>>0]|0))|0;c=31;break}case 2:{Qb=j[_a>>1]|0;Oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Qb)>>>(h[o>>0]|0))|0;Qa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Qb)>>>(h[l>>0]|0))|0;Qb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Qb)>>>(h[g>>0]|0))|0;c=31;break}case 3:{Oa=_a+((h[o>>0]|0)>>>3&255)|0;Qa=_a+((h[l>>0]|0)>>>3&255)|0;Qb=_a+((h[g>>0]|0)>>>3&255)|0;c=31;break}case 4:{Qb=f[_a>>2]|0;Oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Qb)>>>(h[o>>0]|0))|0;Qa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Qb)>>>(h[l>>0]|0))|0;Qb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Qb)>>>(h[g>>0]|0))|0;c=31;break}default:{Ma=0;Na=0;Pa=0}}if((c|0)==31){Ma=b[Qb>>0]|0;Na=b[Oa>>0]|0;Pa=b[Qa>>0]|0}b[$a>>0]=(Na&255)>>>5<<2|Pa&-32&255|(Ma&255)>>>6;Ua=La;hb=_a+ec|0;ib=$a+1|0;c=33;continue}else if((c|0)==33){c=0;switch(dc<<24>>24){case 1:{Rb=h[hb>>0]|0;Xa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Rb)>>>(h[o>>0]|0))|0;Za=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Rb)>>>(h[l>>0]|0))|0;Rb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Rb)>>>(h[g>>0]|0))|0;c=38;break}case 2:{Rb=j[hb>>1]|0;Xa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Rb)>>>(h[o>>0]|0))|0;Za=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Rb)>>>(h[l>>0]|0))|0;Rb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Rb)>>>(h[g>>0]|0))|0;c=38;break}case 3:{Xa=hb+((h[o>>0]|0)>>>3&255)|0;Za=hb+((h[l>>0]|0)>>>3&255)|0;Rb=hb+((h[g>>0]|0)>>>3&255)|0;c=38;break}case 4:{Rb=f[hb>>2]|0;Xa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Rb)>>>(h[o>>0]|0))|0;Za=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Rb)>>>(h[l>>0]|0))|0;Rb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Rb)>>>(h[g>>0]|0))|0;c=38;break}default:{Va=0;Wa=0;Ya=0}}if((c|0)==38){Va=b[Rb>>0]|0;Wa=b[Xa>>0]|0;Ya=b[Za>>0]|0}b[ib>>0]=(Wa&255)>>>5<<2|Ya&-32&255|(Va&255)>>>6;bb=Ua;qb=hb+ec|0;rb=ib+1|0;c=40;continue}else if((c|0)==40){c=0;switch(dc<<24>>24){case 1:{Sb=h[qb>>0]|0;eb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Sb)>>>(h[o>>0]|0))|0;gb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Sb)>>>(h[l>>0]|0))|0;Sb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Sb)>>>(h[g>>0]|0))|0;c=45;break}case 2:{Sb=j[qb>>1]|0;eb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Sb)>>>(h[o>>0]|0))|0;gb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Sb)>>>(h[l>>0]|0))|0;Sb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Sb)>>>(h[g>>0]|0))|0;c=45;break}case 3:{eb=qb+((h[o>>0]|0)>>>3&255)|0;gb=qb+((h[l>>0]|0)>>>3&255)|0;Sb=qb+((h[g>>0]|0)>>>3&255)|0;c=45;break}case 4:{Sb=f[qb>>2]|0;eb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Sb)>>>(h[o>>0]|0))|0;gb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Sb)>>>(h[l>>0]|0))|0;Sb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Sb)>>>(h[g>>0]|0))|0;c=45;break}default:{cb=0;db=0;fb=0}}if((c|0)==45){cb=b[Sb>>0]|0;db=b[eb>>0]|0;fb=b[gb>>0]|0}b[rb>>0]=(db&255)>>>5<<2|fb&-32&255|(cb&255)>>>6;kb=bb;zb=qb+ec|0;Ab=rb+1|0;c=47;continue}else if((c|0)==47){c=0;switch(dc<<24>>24){case 1:{Tb=h[zb>>0]|0;nb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Tb)>>>(h[o>>0]|0))|0;pb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Tb)>>>(h[l>>0]|0))|0;Tb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Tb)>>>(h[g>>0]|0))|0;c=52;break}case 2:{Tb=j[zb>>1]|0;nb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Tb)>>>(h[o>>0]|0))|0;pb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Tb)>>>(h[l>>0]|0))|0;Tb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Tb)>>>(h[g>>0]|0))|0;c=52;break}case 3:{nb=zb+((h[o>>0]|0)>>>3&255)|0;pb=zb+((h[l>>0]|0)>>>3&255)|0;Tb=zb+((h[g>>0]|0)>>>3&255)|0;c=52;break}case 4:{Tb=f[zb>>2]|0;nb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Tb)>>>(h[o>>0]|0))|0;pb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Tb)>>>(h[l>>0]|0))|0;Tb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Tb)>>>(h[g>>0]|0))|0;c=52;break}default:{lb=0;mb=0;ob=0}}if((c|0)==52){lb=b[Tb>>0]|0;mb=b[nb>>0]|0;ob=b[pb>>0]|0}b[Ab>>0]=(mb&255)>>>5<<2|ob&-32&255|(lb&255)>>>6;tb=kb;Gb=zb+ec|0;Hb=Ab+1|0;c=54;continue}else if((c|0)==54){c=0;switch(dc<<24>>24){case 1:{Ub=h[Gb>>0]|0;wb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ub)>>>(h[o>>0]|0))|0;yb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ub)>>>(h[l>>0]|0))|0;Ub=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ub)>>>(h[g>>0]|0))|0;c=59;break}case 2:{Ub=j[Gb>>1]|0;wb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ub)>>>(h[o>>0]|0))|0;yb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ub)>>>(h[l>>0]|0))|0;Ub=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ub)>>>(h[g>>0]|0))|0;c=59;break}case 3:{wb=Gb+((h[o>>0]|0)>>>3&255)|0;yb=Gb+((h[l>>0]|0)>>>3&255)|0;Ub=Gb+((h[g>>0]|0)>>>3&255)|0;c=59;break}case 4:{Ub=f[Gb>>2]|0;wb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ub)>>>(h[o>>0]|0))|0;yb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ub)>>>(h[l>>0]|0))|0;Ub=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ub)>>>(h[g>>0]|0))|0;c=59;break}default:{ub=0;vb=0;xb=0}}if((c|0)==59){ub=b[Ub>>0]|0;vb=b[wb>>0]|0;xb=b[yb>>0]|0}b[Hb>>0]=(vb&255)>>>5<<2|xb&-32&255|(ub&255)>>>6;a=Hb+1|0;c=Gb+ec|0;if((tb|0)>1){u=tb+-1|0;za=c;Aa=a;c=5;continue}else break}if(!e){c=124;break}else{d=c+gc|0;c=a+fc|0;e=e+-1|0}}if((c|0)!=61)if((c|0)==124)return}else{if(a)return;s=(g+7|0)/8|0;r=g&255;i=cc+28|0;k=cc+12|0;l=cc+32|0;m=cc+29|0;n=cc+16|0;o=cc+33|0;p=cc+30|0;q=cc+20|0;g=cc+34|0;b:while(1){switch(r&7){case 0:{t=s;G=d;H=c;c=66;break}case 7:{A=s;N=d;O=c;c=73;break}case 6:{U=d;V=c;Ba=s;c=80;break}case 5:{$=d;aa=c;Ka=s;c=87;break}case 4:{ga=d;ha=c;Ta=s;c=94;break}case 3:{na=d;oa=c;ab=s;c=101;break}case 2:{pa=d;qa=c;jb=s;c=108;break}case 1:{ra=d;sa=c;sb=s;c=115;break}default:{c=122;break b}}while(1)if((c|0)==66){c=0;switch(dc<<24>>24){case 1:{Vb=h[G>>0]|0;Db=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Vb)>>>(h[o>>0]|0))|0;Fb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Vb)>>>(h[l>>0]|0))|0;Vb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Vb)>>>(h[g>>0]|0))|0;c=71;break}case 2:{Vb=j[G>>1]|0;Db=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Vb)>>>(h[o>>0]|0))|0;Fb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Vb)>>>(h[l>>0]|0))|0;Vb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Vb)>>>(h[g>>0]|0))|0;c=71;break}case 3:{Db=G+((h[o>>0]|0)>>>3&255)|0;Fb=G+((h[l>>0]|0)>>>3&255)|0;Vb=G+((h[g>>0]|0)>>>3&255)|0;c=71;break}case 4:{Vb=f[G>>2]|0;Db=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Vb)>>>(h[o>>0]|0))|0;Fb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Vb)>>>(h[l>>0]|0))|0;Vb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Vb)>>>(h[g>>0]|0))|0;c=71;break}default:{Bb=0;Cb=0;Eb=0}}if((c|0)==71){Bb=b[Vb>>0]|0;Cb=b[Db>>0]|0;Eb=b[Fb>>0]|0}b[H>>0]=b[bc+((Cb&255)>>>5<<2|Eb&-32&255|(Bb&255)>>>6)>>0]|0;A=t;N=G+ec|0;O=H+1|0;c=73;continue}else if((c|0)==73){c=0;switch(dc<<24>>24){case 1:{Wb=h[N>>0]|0;Kb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Wb)>>>(h[o>>0]|0))|0;Mb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Wb)>>>(h[l>>0]|0))|0;Wb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Wb)>>>(h[g>>0]|0))|0;c=78;break}case 2:{Wb=j[N>>1]|0;Kb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Wb)>>>(h[o>>0]|0))|0;Mb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Wb)>>>(h[l>>0]|0))|0;Wb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Wb)>>>(h[g>>0]|0))|0;c=78;break}case 3:{Kb=N+((h[o>>0]|0)>>>3&255)|0;Mb=N+((h[l>>0]|0)>>>3&255)|0;Wb=N+((h[g>>0]|0)>>>3&255)|0;c=78;break}case 4:{Wb=f[N>>2]|0;Kb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Wb)>>>(h[o>>0]|0))|0;Mb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Wb)>>>(h[l>>0]|0))|0;Wb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Wb)>>>(h[g>>0]|0))|0;c=78;break}default:{Ib=0;Jb=0;Lb=0}}if((c|0)==78){Ib=b[Wb>>0]|0;Jb=b[Kb>>0]|0;Lb=b[Mb>>0]|0}b[O>>0]=b[bc+((Jb&255)>>>5<<2|Lb&-32&255|(Ib&255)>>>6)>>0]|0;U=N+ec|0;V=O+1|0;Ba=A;c=80;continue}else if((c|0)==80){c=0;switch(dc<<24>>24){case 1:{Xb=h[U>>0]|0;D=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Xb)>>>(h[o>>0]|0))|0;F=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Xb)>>>(h[l>>0]|0))|0;Xb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Xb)>>>(h[g>>0]|0))|0;c=85;break}case 2:{Xb=j[U>>1]|0;D=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Xb)>>>(h[o>>0]|0))|0;F=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Xb)>>>(h[l>>0]|0))|0;Xb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Xb)>>>(h[g>>0]|0))|0;c=85;break}case 3:{D=U+((h[o>>0]|0)>>>3&255)|0;F=U+((h[l>>0]|0)>>>3&255)|0;Xb=U+((h[g>>0]|0)>>>3&255)|0;c=85;break}case 4:{Xb=f[U>>2]|0;D=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Xb)>>>(h[o>>0]|0))|0;F=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Xb)>>>(h[l>>0]|0))|0;Xb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Xb)>>>(h[g>>0]|0))|0;c=85;break}default:{B=0;C=0;E=0}}if((c|0)==85){B=b[Xb>>0]|0;C=b[D>>0]|0;E=b[F>>0]|0}b[V>>0]=b[bc+((C&255)>>>5<<2|E&-32&255|(B&255)>>>6)>>0]|0;$=U+ec|0;aa=V+1|0;Ka=Ba;c=87;continue}else if((c|0)==87){c=0;switch(dc<<24>>24){case 1:{Yb=h[$>>0]|0;K=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Yb)>>>(h[o>>0]|0))|0;M=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Yb)>>>(h[l>>0]|0))|0;Yb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Yb)>>>(h[g>>0]|0))|0;c=92;break}case 2:{Yb=j[$>>1]|0;K=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Yb)>>>(h[o>>0]|0))|0;M=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Yb)>>>(h[l>>0]|0))|0;Yb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Yb)>>>(h[g>>0]|0))|0;c=92;break}case 3:{K=$+((h[o>>0]|0)>>>3&255)|0;M=$+((h[l>>0]|0)>>>3&255)|0;Yb=$+((h[g>>0]|0)>>>3&255)|0;c=92;break}case 4:{Yb=f[$>>2]|0;K=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Yb)>>>(h[o>>0]|0))|0;M=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Yb)>>>(h[l>>0]|0))|0;Yb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Yb)>>>(h[g>>0]|0))|0;c=92;break}default:{I=0;J=0;L=0}}if((c|0)==92){I=b[Yb>>0]|0;J=b[K>>0]|0;L=b[M>>0]|0}b[aa>>0]=b[bc+((J&255)>>>5<<2|L&-32&255|(I&255)>>>6)>>0]|0;ga=$+ec|0;ha=aa+1|0;Ta=Ka;c=94;continue}else if((c|0)==94){c=0;switch(dc<<24>>24){case 1:{Zb=h[ga>>0]|0;R=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Zb)>>>(h[o>>0]|0))|0;T=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Zb)>>>(h[l>>0]|0))|0;Zb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Zb)>>>(h[g>>0]|0))|0;c=99;break}case 2:{Zb=j[ga>>1]|0;R=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Zb)>>>(h[o>>0]|0))|0;T=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Zb)>>>(h[l>>0]|0))|0;Zb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Zb)>>>(h[g>>0]|0))|0;c=99;break}case 3:{R=ga+((h[o>>0]|0)>>>3&255)|0;T=ga+((h[l>>0]|0)>>>3&255)|0;Zb=ga+((h[g>>0]|0)>>>3&255)|0;c=99;break}case 4:{Zb=f[ga>>2]|0;R=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Zb)>>>(h[o>>0]|0))|0;T=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Zb)>>>(h[l>>0]|0))|0;Zb=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Zb)>>>(h[g>>0]|0))|0;c=99;break}default:{P=0;Q=0;S=0}}if((c|0)==99){P=b[Zb>>0]|0;Q=b[R>>0]|0;S=b[T>>0]|0}b[ha>>0]=b[bc+((Q&255)>>>5<<2|S&-32&255|(P&255)>>>6)>>0]|0;na=ga+ec|0;oa=ha+1|0;ab=Ta;c=101;continue}else if((c|0)==101){c=0;switch(dc<<24>>24){case 1:{_b=h[na>>0]|0;Y=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&_b)>>>(h[o>>0]|0))|0;_=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&_b)>>>(h[l>>0]|0))|0;_b=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&_b)>>>(h[g>>0]|0))|0;c=106;break}case 2:{_b=j[na>>1]|0;Y=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&_b)>>>(h[o>>0]|0))|0;_=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&_b)>>>(h[l>>0]|0))|0;_b=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&_b)>>>(h[g>>0]|0))|0;c=106;break}case 3:{Y=na+((h[o>>0]|0)>>>3&255)|0;_=na+((h[l>>0]|0)>>>3&255)|0;_b=na+((h[g>>0]|0)>>>3&255)|0;c=106;break}case 4:{_b=f[na>>2]|0;Y=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&_b)>>>(h[o>>0]|0))|0;_=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&_b)>>>(h[l>>0]|0))|0;_b=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&_b)>>>(h[g>>0]|0))|0;c=106;break}default:{W=0;X=0;Z=0}}if((c|0)==106){W=b[_b>>0]|0;X=b[Y>>0]|0;Z=b[_>>0]|0}b[oa>>0]=b[bc+((X&255)>>>5<<2|Z&-32&255|(W&255)>>>6)>>0]|0;pa=na+ec|0;qa=oa+1|0;jb=ab;c=108;continue}else if((c|0)==108){c=0;switch(dc<<24>>24){case 1:{$b=h[pa>>0]|0;da=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&$b)>>>(h[o>>0]|0))|0;fa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&$b)>>>(h[l>>0]|0))|0;$b=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&$b)>>>(h[g>>0]|0))|0;c=113;break}case 2:{$b=j[pa>>1]|0;da=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&$b)>>>(h[o>>0]|0))|0;fa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&$b)>>>(h[l>>0]|0))|0;$b=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&$b)>>>(h[g>>0]|0))|0;c=113;break}case 3:{da=pa+((h[o>>0]|0)>>>3&255)|0;fa=pa+((h[l>>0]|0)>>>3&255)|0;$b=pa+((h[g>>0]|0)>>>3&255)|0;c=113;break}case 4:{$b=f[pa>>2]|0;da=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&$b)>>>(h[o>>0]|0))|0;fa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&$b)>>>(h[l>>0]|0))|0;$b=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&$b)>>>(h[g>>0]|0))|0;c=113;break}default:{ba=0;ca=0;ea=0}}if((c|0)==113){ba=b[$b>>0]|0;ca=b[da>>0]|0;ea=b[fa>>0]|0}b[qa>>0]=b[bc+((ca&255)>>>5<<2|ea&-32&255|(ba&255)>>>6)>>0]|0;ra=pa+ec|0;sa=qa+1|0;sb=jb;c=115;continue}else if((c|0)==115){c=0;switch(dc<<24>>24){case 1:{ac=h[ra>>0]|0;ka=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&ac)>>>(h[o>>0]|0))|0;ma=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&ac)>>>(h[l>>0]|0))|0;ac=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&ac)>>>(h[g>>0]|0))|0;c=120;break}case 2:{ac=j[ra>>1]|0;ka=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&ac)>>>(h[o>>0]|0))|0;ma=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&ac)>>>(h[l>>0]|0))|0;ac=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&ac)>>>(h[g>>0]|0))|0;c=120;break}case 3:{ka=ra+((h[o>>0]|0)>>>3&255)|0;ma=ra+((h[l>>0]|0)>>>3&255)|0;ac=ra+((h[g>>0]|0)>>>3&255)|0;c=120;break}case 4:{ac=f[ra>>2]|0;ka=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&ac)>>>(h[o>>0]|0))|0;ma=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&ac)>>>(h[l>>0]|0))|0;ac=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&ac)>>>(h[g>>0]|0))|0;c=120;break}default:{ia=0;ja=0;la=0}}if((c|0)==120){ia=b[ac>>0]|0;ja=b[ka>>0]|0;la=b[ma>>0]|0}b[sa>>0]=b[bc+((ja&255)>>>5<<2|la&-32&255|(ia&255)>>>6)>>0]|0;a=sa+1|0;c=ra+ec|0;if((sb|0)>1){t=sb+-1|0;G=c;H=a;c=66;continue}else break}if(!e){c=124;break}else{d=c+gc|0;c=a+fc|0;e=e+-1|0}}if((c|0)!=122)if((c|0)==124)return}}function I8a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;i=f[a+24>>2]|0;e=f[a+28>>2]|0;d=f[a>>2]|0;Y=(f[a+16>>2]|0)/4|0;c=f[a+20>>2]|0;X=f[a+36>>2]|0;y=f[a+48>>2]|0;a=e+-1|0;e=(e|0)==0;if(!y){if(e)return;g=(i+7|0)/8|0;e=i&255;a:while(1){switch(e&7){case 0:{h=g;k=c;c=5;break}case 7:{j=g;m=c;c=6;break}case 6:{l=g;o=c;c=7;break}case 5:{n=g;q=c;c=8;break}case 4:{p=g;s=c;c=9;break}case 3:{r=g;u=c;c=10;break}case 2:{t=g;w=c;c=11;break}case 1:{v=g;x=c;c=12;break}default:{c=13;break a}}while(1)if((c|0)==5){j=f[d>>2]|0;b[k>>0]=j>>>16&224|j>>>11&28|j>>>6&3;j=h;m=k+1|0;c=6;continue}else if((c|0)==6){l=f[d>>2]|0;b[m>>0]=l>>>16&224|l>>>11&28|l>>>6&3;l=j;o=m+1|0;c=7;continue}else if((c|0)==7){n=f[d>>2]|0;b[o>>0]=n>>>16&224|n>>>11&28|n>>>6&3;n=l;q=o+1|0;c=8;continue}else if((c|0)==8){p=f[d>>2]|0;b[q>>0]=p>>>16&224|p>>>11&28|p>>>6&3;p=n;s=q+1|0;c=9;continue}else if((c|0)==9){r=f[d>>2]|0;b[s>>0]=r>>>16&224|r>>>11&28|r>>>6&3;r=p;u=s+1|0;c=10;continue}else if((c|0)==10){t=f[d>>2]|0;b[u>>0]=t>>>16&224|t>>>11&28|t>>>6&3;t=r;w=u+1|0;c=11;continue}else if((c|0)==11){v=f[d>>2]|0;b[w>>0]=v>>>16&224|v>>>11&28|v>>>6&3;v=t;x=w+1|0;c=12;continue}else if((c|0)==12){W=f[d>>2]|0;c=x+1|0;b[x>>0]=W>>>16&224|W>>>11&28|W>>>6&3;if((v|0)>1){h=v+-1|0;k=c;c=5;continue}else break}if(!a){c=28;break}else{d=d+(Y<<2)|0;c=c+X|0;a=a+-1|0}}if((c|0)!=13)if((c|0)==28)return}else{if(e)return;h=(i+7|0)/8|0;g=i&255;b:while(1){switch(g&7){case 0:{z=h;B=c;K=d;c=18;break}case 7:{A=h;C=c;M=d;c=19;break}case 6:{D=c;J=h;O=d;c=20;break}case 5:{E=c;L=h;Q=d;c=21;break}case 4:{F=c;N=h;S=d;c=22;break}case 3:{G=c;P=h;U=d;c=23;break}case 2:{H=c;R=h;V=d;c=24;break}case 1:{I=c;T=h;W=d;c=25;break}default:{c=26;break b}}while(1)if((c|0)==18){A=f[K>>2]|0;b[B>>0]=b[y+(A>>>16&224|A>>>11&28|A>>>6&3)>>0]|0;A=z;C=B+1|0;M=K+4|0;c=19;continue}else if((c|0)==19){D=f[M>>2]|0;b[C>>0]=b[y+(D>>>16&224|D>>>11&28|D>>>6&3)>>0]|0;D=C+1|0;J=A;O=M+4|0;c=20;continue}else if((c|0)==20){E=f[O>>2]|0;b[D>>0]=b[y+(E>>>16&224|E>>>11&28|E>>>6&3)>>0]|0;E=D+1|0;L=J;Q=O+4|0;c=21;continue}else if((c|0)==21){F=f[Q>>2]|0;b[E>>0]=b[y+(F>>>16&224|F>>>11&28|F>>>6&3)>>0]|0;F=E+1|0;N=L;S=Q+4|0;c=22;continue}else if((c|0)==22){G=f[S>>2]|0;b[F>>0]=b[y+(G>>>16&224|G>>>11&28|G>>>6&3)>>0]|0;G=F+1|0;P=N;U=S+4|0;c=23;continue}else if((c|0)==23){H=f[U>>2]|0;b[G>>0]=b[y+(H>>>16&224|H>>>11&28|H>>>6&3)>>0]|0;H=G+1|0;R=P;V=U+4|0;c=24;continue}else if((c|0)==24){I=f[V>>2]|0;b[H>>0]=b[y+(I>>>16&224|I>>>11&28|I>>>6&3)>>0]|0;I=H+1|0;T=R;W=V+4|0;c=25;continue}else if((c|0)==25){c=f[W>>2]|0;e=I+1|0;b[I>>0]=b[y+(c>>>16&224|c>>>11&28|c>>>6&3)>>0]|0;c=W+4|0;if((T|0)>1){z=T+-1|0;B=e;K=c;c=18;continue}else break}if(!a){c=28;break}else{d=c+(Y<<2)|0;c=e+X|0;a=a+-1|0}}if((c|0)!=26)if((c|0)==28)return}}function J8a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;i=f[a+24>>2]|0;e=f[a+28>>2]|0;d=f[a>>2]|0;Y=(f[a+16>>2]|0)/4|0;c=f[a+20>>2]|0;X=f[a+36>>2]|0;y=f[a+48>>2]|0;a=e+-1|0;e=(e|0)==0;if(!y){if(e)return;g=(i+7|0)/8|0;e=i&255;a:while(1){switch(e&7){case 0:{h=g;k=c;c=5;break}case 7:{j=g;m=c;c=6;break}case 6:{l=g;o=c;c=7;break}case 5:{n=g;q=c;c=8;break}case 4:{p=g;s=c;c=9;break}case 3:{r=g;u=c;c=10;break}case 2:{t=g;w=c;c=11;break}case 1:{v=g;x=c;c=12;break}default:{c=13;break a}}while(1)if((c|0)==5){j=f[d>>2]|0;b[k>>0]=j>>>22&224|j>>>15&28|j>>>8&3;j=h;m=k+1|0;c=6;continue}else if((c|0)==6){l=f[d>>2]|0;b[m>>0]=l>>>22&224|l>>>15&28|l>>>8&3;l=j;o=m+1|0;c=7;continue}else if((c|0)==7){n=f[d>>2]|0;b[o>>0]=n>>>22&224|n>>>15&28|n>>>8&3;n=l;q=o+1|0;c=8;continue}else if((c|0)==8){p=f[d>>2]|0;b[q>>0]=p>>>22&224|p>>>15&28|p>>>8&3;p=n;s=q+1|0;c=9;continue}else if((c|0)==9){r=f[d>>2]|0;b[s>>0]=r>>>22&224|r>>>15&28|r>>>8&3;r=p;u=s+1|0;c=10;continue}else if((c|0)==10){t=f[d>>2]|0;b[u>>0]=t>>>22&224|t>>>15&28|t>>>8&3;t=r;w=u+1|0;c=11;continue}else if((c|0)==11){v=f[d>>2]|0;b[w>>0]=v>>>22&224|v>>>15&28|v>>>8&3;v=t;x=w+1|0;c=12;continue}else if((c|0)==12){W=f[d>>2]|0;c=x+1|0;b[x>>0]=W>>>22&224|W>>>15&28|W>>>8&3;if((v|0)>1){h=v+-1|0;k=c;c=5;continue}else break}if(!a){c=28;break}else{d=d+(Y<<2)|0;c=c+X|0;a=a+-1|0}}if((c|0)!=13)if((c|0)==28)return}else{if(e)return;h=(i+7|0)/8|0;g=i&255;b:while(1){switch(g&7){case 0:{z=h;B=c;K=d;c=18;break}case 7:{A=h;C=c;M=d;c=19;break}case 6:{D=c;J=h;O=d;c=20;break}case 5:{E=c;L=h;Q=d;c=21;break}case 4:{F=c;N=h;S=d;c=22;break}case 3:{G=c;P=h;U=d;c=23;break}case 2:{H=c;R=h;V=d;c=24;break}case 1:{I=c;T=h;W=d;c=25;break}default:{c=26;break b}}while(1)if((c|0)==18){A=f[K>>2]|0;b[B>>0]=b[y+(A>>>22&224|A>>>15&28|A>>>8&3)>>0]|0;A=z;C=B+1|0;M=K+4|0;c=19;continue}else if((c|0)==19){D=f[M>>2]|0;b[C>>0]=b[y+(D>>>22&224|D>>>15&28|D>>>8&3)>>0]|0;D=C+1|0;J=A;O=M+4|0;c=20;continue}else if((c|0)==20){E=f[O>>2]|0;b[D>>0]=b[y+(E>>>22&224|E>>>15&28|E>>>8&3)>>0]|0;E=D+1|0;L=J;Q=O+4|0;c=21;continue}else if((c|0)==21){F=f[Q>>2]|0;b[E>>0]=b[y+(F>>>22&224|F>>>15&28|F>>>8&3)>>0]|0;F=E+1|0;N=L;S=Q+4|0;c=22;continue}else if((c|0)==22){G=f[S>>2]|0;b[F>>0]=b[y+(G>>>22&224|G>>>15&28|G>>>8&3)>>0]|0;G=F+1|0;P=N;U=S+4|0;c=23;continue}else if((c|0)==23){H=f[U>>2]|0;b[G>>0]=b[y+(H>>>22&224|H>>>15&28|H>>>8&3)>>0]|0;H=G+1|0;R=P;V=U+4|0;c=24;continue}else if((c|0)==24){I=f[V>>2]|0;b[H>>0]=b[y+(I>>>22&224|I>>>15&28|I>>>8&3)>>0]|0;I=H+1|0;T=R;W=V+4|0;c=25;continue}else if((c|0)==25){c=f[W>>2]|0;e=I+1|0;b[I>>0]=b[y+(c>>>22&224|c>>>15&28|c>>>8&3)>>0]|0;c=W+4|0;if((T|0)>1){z=T+-1|0;B=e;K=c;c=18;continue}else break}if(!a){c=28;break}else{d=c+(Y<<2)|0;c=e+X|0;a=a+-1|0}}if((c|0)!=26)if((c|0)==28)return}}function K8a(a){a=a|0;var c=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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;c=f[a+24>>2]|0;g=f[a+28>>2]|0;B=f[a+16>>2]|0;C=f[a+36>>2]|0;e=f[a+44>>2]|0;y=b[e+9>>0]|0;z=y&255;if(!g)return;A=(c+7|0)/8|0;x=c&255;q=e+28|0;r=e+32|0;s=e+29|0;t=e+33|0;u=e+30|0;v=e+34|0;w=e+31|0;p=e+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){g=g+-1|0;switch(x&7){case 0:{o=A;a=4;break}case 7:{o=A;a=10;break}case 6:{o=A;a=16;break}case 5:{o=A;a=22;break}case 4:{o=A;a=28;break}case 3:{o=A;a=34;break}case 2:{o=A;a=40;break}case 1:{o=A;a=46;break}default:{a=52;break a}}while(1)if((a|0)==4){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}c=c+4|0;e=e+z|0;a=10;continue}else if((a|0)==10){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}c=c+4|0;e=e+z|0;a=16;continue}else if((a|0)==16){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}c=c+4|0;e=e+z|0;a=22;continue}else if((a|0)==22){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}c=c+4|0;e=e+z|0;a=28;continue}else if((a|0)==28){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}c=c+4|0;e=e+z|0;a=34;continue}else if((a|0)==34){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}c=c+4|0;e=e+z|0;a=40;continue}else if((a|0)==40){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}c=c+4|0;e=e+z|0;a=46;continue}else if((a|0)==46){n=f[c>>2]|0;a=n>>>22;i=a&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=h[458642+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{b[e>>0]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 2:{d[e>>1]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}case 3:{b[e+((h[r>>0]|0)>>>3&255)>>0]=a;b[e+((h[t>>0]|0)>>>3&255)>>0]=j;b[e+((h[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{f[e>>2]=k>>>(h[s>>0]|0)<<(h[t>>0]|0)|i>>>(h[q>>0]|0)<<(h[r>>0]|0)|m>>>(h[u>>0]|0)<<(h[v>>0]|0)|n>>>(h[w>>0]|0)<<(h[p>>0]|0);break}default:{}}e=e+z|0;c=c+4|0;if((o|0)>1){o=o+-1|0;a=4;continue}else break}if(!g){a=54;break}else{c=c+B|0;e=e+C|0}}if((a|0)!=52)if((a|0)==54)return}function L8a(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;c=f[a+24>>2]|0;e=f[a+28>>2]|0;F=f[a+16>>2]|0;G=f[a+36>>2]|0;d=f[a+40>>2]|0;C=b[d+9>>0]|0;D=C&255;if(!e)return;E=(c+7|0)/8|0;B=c&255;q=d+28|0;r=d+12|0;s=d+32|0;t=d+29|0;u=d+16|0;v=d+33|0;w=d+30|0;x=d+20|0;y=d+34|0;z=d+31|0;A=d+24|0;p=d+35|0;c=f[a>>2]|0;d=f[a+20>>2]|0;a:while(1){e=e+-1|0;switch(B&7){case 0:{n=E;o=4;break}case 7:{n=E;o=12;break}case 6:{n=E;o=20;break}case 5:{n=E;o=28;break}case 4:{n=E;o=36;break}case 3:{n=E;o=44;break}case 2:{n=E;o=52;break}case 1:{n=E;o=60;break}default:{o=68;break a}}while(1)if((o|0)==4){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=9;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=9;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=9;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=9;break}default:{a=0;i=0;k=0;g=0;o=10}}if((o|0)==9){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=10}else{i=m;a=(a&255)<<12|3072}}if((o|0)==10){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);c=c+D|0;d=d+4|0;o=12;continue}else if((o|0)==12){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=17;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=17;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=17;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=17;break}default:{a=0;i=0;k=0;g=0;o=18}}if((o|0)==17){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=18}else{i=m;a=(a&255)<<12|3072}}if((o|0)==18){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);c=c+D|0;d=d+4|0;o=20;continue}else if((o|0)==20){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=25;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=25;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=25;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=25;break}default:{a=0;i=0;k=0;g=0;o=26}}if((o|0)==25){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=26}else{i=m;a=(a&255)<<12|3072}}if((o|0)==26){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);c=c+D|0;d=d+4|0;o=28;continue}else if((o|0)==28){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=33;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=33;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=33;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=33;break}default:{a=0;i=0;k=0;g=0;o=34}}if((o|0)==33){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=34}else{i=m;a=(a&255)<<12|3072}}if((o|0)==34){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);c=c+D|0;d=d+4|0;o=36;continue}else if((o|0)==36){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=41;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=41;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=41;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=41;break}default:{a=0;i=0;k=0;g=0;o=42}}if((o|0)==41){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=42}else{i=m;a=(a&255)<<12|3072}}if((o|0)==42){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);c=c+D|0;d=d+4|0;o=44;continue}else if((o|0)==44){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=49;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=49;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=49;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=49;break}default:{a=0;i=0;k=0;g=0;o=50}}if((o|0)==49){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=50}else{i=m;a=(a&255)<<12|3072}}if((o|0)==50){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);c=c+D|0;d=d+4|0;o=52;continue}else if((o|0)==52){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=57;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=57;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=57;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=57;break}default:{a=0;i=0;k=0;g=0;o=58}}if((o|0)==57){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=58}else{i=m;a=(a&255)<<12|3072}}if((o|0)==58){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);c=c+D|0;d=d+4|0;o=60;continue}else if((o|0)==60){switch(C<<24>>24){case 1:{i=h[c>>0]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=65;break}case 2:{i=j[c>>1]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=65;break}case 3:{l=-1;a=c+((h[y>>0]|0)>>>3&255)|0;g=c+((h[v>>0]|0)>>>3&255)|0;i=c+((h[s>>0]|0)>>>3&255)|0;o=65;break}case 4:{i=f[c>>2]|0;l=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&i)>>>(h[p>>0]|0))>>0]|0;a=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&i)>>>(h[y>>0]|0))|0;g=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&i)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&i)>>>(h[s>>0]|0))|0;o=65;break}default:{a=0;i=0;k=0;g=0;o=66}}if((o|0)==65){o=0;m=b[a>>0]|0;a=b[g>>0]|0;g=b[i>>0]|0;k=m&255;g=g<<24>>24==0?0:(g&255)<<22|3145728;if(!(a<<24>>24)){a=l;i=m;o=66}else{i=m;a=(a&255)<<12|3072}}if((o|0)==66){l=a;a=0}f[d>>2]=a|g|(((l&255)/85|0)&255)<<30|(i<<24>>24==0?0:k<<2|3);d=d+4|0;c=c+D|0;if((n|0)>1){n=n+-1|0;o=4;continue}else break}if(!e){o=70;break}else{c=c+F|0;d=d+G|0}}if((o|0)!=68)if((o|0)==70)return}function M8a(a){a=a|0;var b=0,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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;k=f[a+24>>2]|0;g=f[a+28>>2]|0;c=f[a>>2]|0;W=f[a+16>>2]|0;b=f[a+20>>2]|0;V=f[a+36>>2]|0;d=f[a+40>>2]|0;e=f[a+44>>2]|0;if(!(f[e+24>>2]|0)){j=f[d+16>>2]|f[d+12>>2]|f[d+20>>2];d=g+-1|0;if(!g)return;i=(k+7|0)/8|0;a=k&255;switch(a&7){case 0:{while(1){a=i;while(1){f[b>>2]=f[c>>2]&j;f[b+4>>2]=f[c+4>>2]&j;f[b+8>>2]=f[c+8>>2]&j;f[b+12>>2]=f[c+12>>2]&j;f[b+16>>2]=f[c+16>>2]&j;f[b+20>>2]=f[c+20>>2]&j;f[b+24>>2]=f[c+24>>2]&j;f[b+28>>2]=f[c+28>>2]&j;b=b+32|0;c=c+32|0;if((a|0)<=1)break;else a=a+-1|0}if(!d)break;else{b=b+V|0;c=c+W|0;d=d+-1|0}}return}case 7:{while(1){g=i;while(1){f[b>>2]=f[c>>2]&j;f[b+4>>2]=f[c+4>>2]&j;f[b+8>>2]=f[c+8>>2]&j;f[b+12>>2]=f[c+12>>2]&j;f[b+16>>2]=f[c+16>>2]&j;f[b+20>>2]=f[c+20>>2]&j;f[b+24>>2]=f[c+24>>2]&j;a=b+28|0;e=c+28|0;if((g|0)<=1)break;f[a>>2]=f[e>>2]&j;g=g+-1|0;c=c+32|0;b=b+32|0}if(!d)break;else{b=a+V|0;c=e+W|0;d=d+-1|0}}return}default:{a:while(1){switch(a&7){case 1:{v=c;w=b;P=i;b=43;break}case 2:{t=c;u=b;L=i;b=42;break}case 6:{l=c;m=b;x=i;b=38;break}case 5:{n=c;o=b;z=i;b=39;break}case 4:{p=c;q=b;D=i;b=40;break}case 3:{r=c;s=b;H=i;b=41;break}default:{b=44;break a}}while(1)if((b|0)==38){f[m>>2]=f[l>>2]&j;n=l+4|0;o=m+4|0;z=x;b=39;continue}else if((b|0)==39){f[o>>2]=f[n>>2]&j;p=n+4|0;q=o+4|0;D=z;b=40;continue}else if((b|0)==40){f[q>>2]=f[p>>2]&j;r=p+4|0;s=q+4|0;H=D;b=41;continue}else if((b|0)==41){f[s>>2]=f[r>>2]&j;t=r+4|0;u=s+4|0;L=H;b=42;continue}else if((b|0)==42){f[u>>2]=f[t>>2]&j;v=t+4|0;w=u+4|0;P=L;b=43;continue}else if((b|0)==43){f[w>>2]=f[v>>2]&j;b=w+4|0;c=v+4|0;if((P|0)<=1)break;f[b>>2]=f[c>>2]&j;f[w+8>>2]=f[v+8>>2]&j;l=v+12|0;m=w+12|0;x=P+-1|0;b=38;continue}if(!d){b=46;break}else{b=b+V|0;c=c+W|0;d=d+-1|0}}if((b|0)!=44)if((b|0)==46)return}}}else{j=(h[a+63>>0]|0)>>>(h[e+31>>0]|0)<<(h[e+35>>0]|0);d=g+-1|0;if(!g)return;i=(k+7|0)/8|0;e=k&255;switch(e&7){case 0:{while(1){a=i;while(1){f[b>>2]=f[c>>2]|j;f[b+4>>2]=f[c+4>>2]|j;f[b+8>>2]=f[c+8>>2]|j;f[b+12>>2]=f[c+12>>2]|j;f[b+16>>2]=f[c+16>>2]|j;f[b+20>>2]=f[c+20>>2]|j;f[b+24>>2]=f[c+24>>2]|j;f[b+28>>2]=f[c+28>>2]|j;b=b+32|0;c=c+32|0;if((a|0)<=1)break;else a=a+-1|0}if(!d)break;else{c=c+W|0;b=b+V|0;d=d+-1|0}}return}case 7:{while(1){g=i;while(1){f[b>>2]=f[c>>2]|j;f[b+4>>2]=f[c+4>>2]|j;f[b+8>>2]=f[c+8>>2]|j;f[b+12>>2]=f[c+12>>2]|j;f[b+16>>2]=f[c+16>>2]|j;f[b+20>>2]=f[c+20>>2]|j;f[b+24>>2]=f[c+24>>2]|j;e=b+28|0;a=c+28|0;if((g|0)<=1)break;f[e>>2]=f[a>>2]|j;g=g+-1|0;c=c+32|0;b=b+32|0}if(!d)break;else{c=a+W|0;b=e+V|0;d=d+-1|0}}return}default:{b:while(1){switch(e&7){case 1:{Q=i;T=c;U=b;b=21;break}case 2:{M=i;R=c;S=b;b=20;break}case 6:{y=i;B=c;C=b;b=16;break}case 5:{A=i;F=c;G=b;b=17;break}case 4:{E=i;J=c;K=b;b=18;break}case 3:{I=i;N=c;O=b;b=19;break}default:{b=22;break b}}while(1)if((b|0)==16){f[C>>2]=f[B>>2]|j;A=y;F=B+4|0;G=C+4|0;b=17;continue}else if((b|0)==17){f[G>>2]=f[F>>2]|j;E=A;J=F+4|0;K=G+4|0;b=18;continue}else if((b|0)==18){f[K>>2]=f[J>>2]|j;I=E;N=J+4|0;O=K+4|0;b=19;continue}else if((b|0)==19){f[O>>2]=f[N>>2]|j;M=I;R=N+4|0;S=O+4|0;b=20;continue}else if((b|0)==20){f[S>>2]=f[R>>2]|j;Q=M;T=R+4|0;U=S+4|0;b=21;continue}else if((b|0)==21){f[U>>2]=f[T>>2]|j;a=U+4|0;b=T+4|0;if((Q|0)<=1)break;f[a>>2]=f[b>>2]|j;f[U+8>>2]=f[T+8>>2]|j;y=Q+-1|0;B=T+12|0;C=U+12|0;b=16;continue}if(!d){b=46;break}else{c=b+W|0;b=a+V|0;d=d+-1|0}}if((b|0)!=22)if((b|0)==46)return}}}}function N8a(a){a=a|0;var b=0,c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=f[a+24>>2]|0;k=f[a+28>>2]|0;c=f[a>>2]|0;e=f[a+20>>2]|0;l=~f[(f[a+40>>2]|0)+24>>2];m=(f[a+16>>2]|0)/2|0;n=(f[a+36>>2]|0)/2|0;j=f[a+56>>2]&l;g=k+-1|0;if(!k)return;k=(b+7|0)/8|0;i=b&255;if(!(i&7)){a=e;while(1){e=k;b=a;while(1){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;a=d[c+2>>1]|0;if((a&65535&l|0)!=(j|0))d[b+2>>1]=a;a=d[c+4>>1]|0;if((a&65535&l|0)!=(j|0))d[b+4>>1]=a;a=d[c+6>>1]|0;if((a&65535&l|0)!=(j|0))d[b+6>>1]=a;a=d[c+8>>1]|0;if((a&65535&l|0)!=(j|0))d[b+8>>1]=a;a=d[c+10>>1]|0;if((a&65535&l|0)!=(j|0))d[b+10>>1]=a;a=d[c+12>>1]|0;if((a&65535&l|0)!=(j|0))d[b+12>>1]=a;a=d[c+14>>1]|0;if((a&65535&l|0)!=(j|0))d[b+14>>1]=a;b=b+16|0;c=c+16|0;if((e|0)<=1)break;else e=e+-1|0}if(!g)break;else{c=c+(m<<1)|0;a=b+(n<<1)|0;g=g+-1|0}}return}b=e;a:while(1){switch(i&7){case 1:{h=k;a=46;break}case 7:{e=k;a=28;break}case 6:{e=k;a=31;break}case 5:{e=k;a=34;break}case 4:{e=k;a=37;break}case 3:{e=k;a=40;break}case 2:{e=k;a=43;break}default:{a=49;break a}}while(1)if((a|0)==28){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;c=c+2|0;b=b+2|0;a=31;continue}else if((a|0)==31){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;c=c+2|0;b=b+2|0;a=34;continue}else if((a|0)==34){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;c=c+2|0;b=b+2|0;a=37;continue}else if((a|0)==37){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;c=c+2|0;b=b+2|0;a=40;continue}else if((a|0)==40){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;b=b+2|0;c=c+2|0;a=43;continue}else if((a|0)==43){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;h=e;b=b+2|0;c=c+2|0;a=46;continue}else if((a|0)==46){a=d[c>>1]|0;if((a&65535&l|0)!=(j|0))d[b>>1]=a;e=b+2|0;a=c+2|0;if((h|0)<=1)break;a=d[a>>1]|0;if((a&65535&l|0)!=(j|0))d[e>>1]=a;e=h+-1|0;c=c+4|0;b=b+4|0;a=28;continue}if(!g){a=51;break}else{c=a+(m<<1)|0;b=e+(n<<1)|0;g=g+-1|0}}if((a|0)!=49)if((a|0)==51)return}function O8a(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,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,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,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0;g=f[a+24>>2]|0;s=f[a+28>>2]|0;d=f[a>>2]|0;Oc=f[a+16>>2]|0;c=f[a+20>>2]|0;Kc=f[a+36>>2]|0;Ic=f[a+40>>2]|0;Hc=f[a+48>>2]|0;Lc=~f[Ic+24>>2];Mc=b[Ic+9>>0]|0;Nc=Mc&255;Jc=f[a+56>>2]&Lc;e=s+-1|0;a=(s|0)==0;if(!Hc){if(a)return;s=(g+7|0)/8|0;r=g&255;i=Ic+28|0;k=Ic+12|0;l=Ic+32|0;m=Ic+29|0;n=Ic+16|0;o=Ic+33|0;p=Ic+30|0;q=Ic+20|0;g=Ic+34|0;a:while(1){switch(r&7){case 0:{w=s;P=d;Q=c;c=5;break}case 7:{La=s;Wa=d;Xa=c;c=14;break}case 6:{Ya=s;fb=d;gb=c;c=23;break}case 5:{hb=s;qb=d;rb=c;c=32;break}case 4:{sb=s;Bb=d;Cb=c;c=41;break}case 3:{Db=s;Mb=d;Nb=c;c=50;break}case 2:{Ob=s;Xb=d;Yb=c;c=59;break}case 1:{Zb=s;gc=d;hc=c;c=68;break}default:{c=77;break a}}while(1)if((c|0)==5){c=0;switch(Mc<<24>>24){case 1:{rc=h[P>>0]|0;v=rc;z=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&rc)>>>(h[o>>0]|0))|0;B=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&rc)>>>(h[l>>0]|0))|0;rc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&rc)>>>(h[g>>0]|0))|0;c=10;break}case 2:{rc=j[P>>1]|0;v=rc;z=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&rc)>>>(h[o>>0]|0))|0;B=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&rc)>>>(h[l>>0]|0))|0;rc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&rc)>>>(h[g>>0]|0))|0;c=10;break}case 3:{v=0;z=P+((h[o>>0]|0)>>>3&255)|0;B=P+((h[l>>0]|0)>>>3&255)|0;rc=P+((h[g>>0]|0)>>>3&255)|0;c=10;break}case 4:{rc=f[P>>2]|0;v=rc;z=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&rc)>>>(h[o>>0]|0))|0;B=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&rc)>>>(h[l>>0]|0))|0;rc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&rc)>>>(h[g>>0]|0))|0;c=10;break}default:{u=0;x=0;y=0;A=0}}if((c|0)==10){u=v;x=b[rc>>0]|0;y=b[z>>0]|0;A=b[B>>0]|0}if((u&Lc|0)!=(Jc|0))b[Q>>0]=(y&255)>>>5<<2|A&-32&255|(x&255)>>>6;La=w;Wa=P+Nc|0;Xa=Q+1|0;c=14;continue}else if((c|0)==14){c=0;switch(Mc<<24>>24){case 1:{sc=h[Wa>>0]|0;O=sc;Oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&sc)>>>(h[o>>0]|0))|0;Qa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&sc)>>>(h[l>>0]|0))|0;sc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&sc)>>>(h[g>>0]|0))|0;c=19;break}case 2:{sc=j[Wa>>1]|0;O=sc;Oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&sc)>>>(h[o>>0]|0))|0;Qa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&sc)>>>(h[l>>0]|0))|0;sc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&sc)>>>(h[g>>0]|0))|0;c=19;break}case 3:{O=0;Oa=Wa+((h[o>>0]|0)>>>3&255)|0;Qa=Wa+((h[l>>0]|0)>>>3&255)|0;sc=Wa+((h[g>>0]|0)>>>3&255)|0;c=19;break}case 4:{sc=f[Wa>>2]|0;O=sc;Oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&sc)>>>(h[o>>0]|0))|0;Qa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&sc)>>>(h[l>>0]|0))|0;sc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&sc)>>>(h[g>>0]|0))|0;c=19;break}default:{N=0;Ma=0;Na=0;Pa=0}}if((c|0)==19){N=O;Ma=b[sc>>0]|0;Na=b[Oa>>0]|0;Pa=b[Qa>>0]|0}if((N&Lc|0)!=(Jc|0))b[Xa>>0]=(Na&255)>>>5<<2|Pa&-32&255|(Ma&255)>>>6;Ya=La;fb=Wa+Nc|0;gb=Xa+1|0;c=23;continue}else if((c|0)==23){c=0;switch(Mc<<24>>24){case 1:{tc=h[fb>>0]|0;Ta=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&tc)>>>(h[l>>0]|0))|0;Va=tc;$a=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&tc)>>>(h[o>>0]|0))|0;tc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&tc)>>>(h[g>>0]|0))|0;c=28;break}case 2:{tc=j[fb>>1]|0;Ta=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&tc)>>>(h[l>>0]|0))|0;Va=tc;$a=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&tc)>>>(h[o>>0]|0))|0;tc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&tc)>>>(h[g>>0]|0))|0;c=28;break}case 3:{Ta=fb+((h[l>>0]|0)>>>3&255)|0;Va=0;$a=fb+((h[o>>0]|0)>>>3&255)|0;tc=fb+((h[g>>0]|0)>>>3&255)|0;c=28;break}case 4:{tc=f[fb>>2]|0;Ta=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&tc)>>>(h[l>>0]|0))|0;Va=tc;$a=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&tc)>>>(h[o>>0]|0))|0;tc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&tc)>>>(h[g>>0]|0))|0;c=28;break}default:{Sa=0;Ua=0;Za=0;_a=0}}if((c|0)==28){Sa=b[Ta>>0]|0;Ua=Va;Za=b[tc>>0]|0;_a=b[$a>>0]|0}if((Ua&Lc|0)!=(Jc|0))b[gb>>0]=(_a&255)>>>5<<2|Sa&-32&255|(Za&255)>>>6;hb=Ya;qb=fb+Nc|0;rb=gb+1|0;c=32;continue}else if((c|0)==32){c=0;switch(Mc<<24>>24){case 1:{uc=h[qb>>0]|0;cb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&uc)>>>(h[l>>0]|0))|0;eb=uc;kb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&uc)>>>(h[o>>0]|0))|0;uc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&uc)>>>(h[g>>0]|0))|0;c=37;break}case 2:{uc=j[qb>>1]|0;cb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&uc)>>>(h[l>>0]|0))|0;eb=uc;kb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&uc)>>>(h[o>>0]|0))|0;uc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&uc)>>>(h[g>>0]|0))|0;c=37;break}case 3:{cb=qb+((h[l>>0]|0)>>>3&255)|0;eb=0;kb=qb+((h[o>>0]|0)>>>3&255)|0;uc=qb+((h[g>>0]|0)>>>3&255)|0;c=37;break}case 4:{uc=f[qb>>2]|0;cb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&uc)>>>(h[l>>0]|0))|0;eb=uc;kb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&uc)>>>(h[o>>0]|0))|0;uc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&uc)>>>(h[g>>0]|0))|0;c=37;break}default:{bb=0;db=0;ib=0;jb=0}}if((c|0)==37){bb=b[cb>>0]|0;db=eb;ib=b[uc>>0]|0;jb=b[kb>>0]|0}if((db&Lc|0)!=(Jc|0))b[rb>>0]=(jb&255)>>>5<<2|bb&-32&255|(ib&255)>>>6;sb=hb;Bb=qb+Nc|0;Cb=rb+1|0;c=41;continue}else if((c|0)==41){c=0;switch(Mc<<24>>24){case 1:{vc=h[Bb>>0]|0;nb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&vc)>>>(h[l>>0]|0))|0;pb=vc;vb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&vc)>>>(h[o>>0]|0))|0;vc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&vc)>>>(h[g>>0]|0))|0;c=46;break}case 2:{vc=j[Bb>>1]|0;nb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&vc)>>>(h[l>>0]|0))|0;pb=vc;vb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&vc)>>>(h[o>>0]|0))|0;vc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&vc)>>>(h[g>>0]|0))|0;c=46;break}case 3:{nb=Bb+((h[l>>0]|0)>>>3&255)|0;pb=0;vb=Bb+((h[o>>0]|0)>>>3&255)|0;vc=Bb+((h[g>>0]|0)>>>3&255)|0;c=46;break}case 4:{vc=f[Bb>>2]|0;nb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&vc)>>>(h[l>>0]|0))|0;pb=vc;vb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&vc)>>>(h[o>>0]|0))|0;vc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&vc)>>>(h[g>>0]|0))|0;c=46;break}default:{mb=0;ob=0;tb=0;ub=0}}if((c|0)==46){mb=b[nb>>0]|0;ob=pb;tb=b[vc>>0]|0;ub=b[vb>>0]|0}if((ob&Lc|0)!=(Jc|0))b[Cb>>0]=(ub&255)>>>5<<2|mb&-32&255|(tb&255)>>>6;Db=sb;Mb=Bb+Nc|0;Nb=Cb+1|0;c=50;continue}else if((c|0)==50){c=0;switch(Mc<<24>>24){case 1:{wc=h[Mb>>0]|0;yb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&wc)>>>(h[l>>0]|0))|0;Ab=wc;Gb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&wc)>>>(h[o>>0]|0))|0;wc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&wc)>>>(h[g>>0]|0))|0;c=55;break}case 2:{wc=j[Mb>>1]|0;yb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&wc)>>>(h[l>>0]|0))|0;Ab=wc;Gb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&wc)>>>(h[o>>0]|0))|0;wc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&wc)>>>(h[g>>0]|0))|0;c=55;break}case 3:{yb=Mb+((h[l>>0]|0)>>>3&255)|0;Ab=0;Gb=Mb+((h[o>>0]|0)>>>3&255)|0;wc=Mb+((h[g>>0]|0)>>>3&255)|0;c=55;break}case 4:{wc=f[Mb>>2]|0;yb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&wc)>>>(h[l>>0]|0))|0;Ab=wc;Gb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&wc)>>>(h[o>>0]|0))|0;wc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&wc)>>>(h[g>>0]|0))|0;c=55;break}default:{xb=0;zb=0;Eb=0;Fb=0}}if((c|0)==55){xb=b[yb>>0]|0;zb=Ab;Eb=b[wc>>0]|0;Fb=b[Gb>>0]|0}if((zb&Lc|0)!=(Jc|0))b[Nb>>0]=(Fb&255)>>>5<<2|xb&-32&255|(Eb&255)>>>6;Ob=Db;Xb=Mb+Nc|0;Yb=Nb+1|0;c=59;continue}else if((c|0)==59){c=0;switch(Mc<<24>>24){case 1:{xc=h[Xb>>0]|0;Jb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&xc)>>>(h[l>>0]|0))|0;Lb=xc;Rb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&xc)>>>(h[o>>0]|0))|0;xc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&xc)>>>(h[g>>0]|0))|0;c=64;break}case 2:{xc=j[Xb>>1]|0;Jb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&xc)>>>(h[l>>0]|0))|0;Lb=xc;Rb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&xc)>>>(h[o>>0]|0))|0;xc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&xc)>>>(h[g>>0]|0))|0;c=64;break}case 3:{Jb=Xb+((h[l>>0]|0)>>>3&255)|0;Lb=0;Rb=Xb+((h[o>>0]|0)>>>3&255)|0;xc=Xb+((h[g>>0]|0)>>>3&255)|0;c=64;break}case 4:{xc=f[Xb>>2]|0;Jb=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&xc)>>>(h[l>>0]|0))|0;Lb=xc;Rb=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&xc)>>>(h[o>>0]|0))|0;xc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&xc)>>>(h[g>>0]|0))|0;c=64;break}default:{Ib=0;Kb=0;Pb=0;Qb=0}}if((c|0)==64){Ib=b[Jb>>0]|0;Kb=Lb;Pb=b[xc>>0]|0;Qb=b[Rb>>0]|0}if((Kb&Lc|0)!=(Jc|0))b[Yb>>0]=(Qb&255)>>>5<<2|Ib&-32&255|(Pb&255)>>>6;Zb=Ob;gc=Xb+Nc|0;hc=Yb+1|0;c=68;continue}else if((c|0)==68){c=0;switch(Mc<<24>>24){case 1:{yc=h[gc>>0]|0;Ub=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&yc)>>>(h[l>>0]|0))|0;Wb=yc;ac=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&yc)>>>(h[o>>0]|0))|0;yc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&yc)>>>(h[g>>0]|0))|0;c=73;break}case 2:{yc=j[gc>>1]|0;Ub=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&yc)>>>(h[l>>0]|0))|0;Wb=yc;ac=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&yc)>>>(h[o>>0]|0))|0;yc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&yc)>>>(h[g>>0]|0))|0;c=73;break}case 3:{Ub=gc+((h[l>>0]|0)>>>3&255)|0;Wb=0;ac=gc+((h[o>>0]|0)>>>3&255)|0;yc=gc+((h[g>>0]|0)>>>3&255)|0;c=73;break}case 4:{yc=f[gc>>2]|0;Ub=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&yc)>>>(h[l>>0]|0))|0;Wb=yc;ac=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&yc)>>>(h[o>>0]|0))|0;yc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&yc)>>>(h[g>>0]|0))|0;c=73;break}default:{Tb=0;Vb=0;_b=0;$b=0}}if((c|0)==73){Tb=b[Ub>>0]|0;Vb=Wb;_b=b[yc>>0]|0;$b=b[ac>>0]|0}if((Vb&Lc|0)!=(Jc|0))b[hc>>0]=($b&255)>>>5<<2|Tb&-32&255|(_b&255)>>>6;a=hc+1|0;c=gc+Nc|0;if((Zb|0)>1){w=Zb+-1|0;P=c;Q=a;c=5;continue}else break}if(!e){c=156;break}else{d=c+Oc|0;c=a+Kc|0;e=e+-1|0}}if((c|0)!=77)if((c|0)==156)return}else{if(a)return;s=(g+7|0)/8|0;r=g&255;i=Ic+28|0;k=Ic+12|0;l=Ic+32|0;m=Ic+29|0;n=Ic+16|0;o=Ic+33|0;p=Ic+30|0;q=Ic+20|0;g=Ic+34|0;b:while(1){switch(r&7){case 0:{t=s;I=d;J=c;c=82;break}case 7:{C=s;V=d;W=c;c=91;break}case 6:{ca=d;da=c;Ra=s;c=100;break}case 5:{la=d;ma=c;ab=s;c=109;break}case 4:{ua=d;va=c;lb=s;c=118;break}case 3:{Da=d;Ea=c;wb=s;c=127;break}case 2:{Ha=d;Ia=c;Hb=s;c=136;break}case 1:{Ja=d;Ka=c;Sb=s;c=145;break}default:{c=154;break b}}while(1)if((c|0)==82){c=0;switch(Mc<<24>>24){case 1:{zc=h[I>>0]|0;dc=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&zc)>>>(h[l>>0]|0))|0;fc=zc;jc=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&zc)>>>(h[o>>0]|0))|0;zc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&zc)>>>(h[g>>0]|0))|0;c=87;break}case 2:{zc=j[I>>1]|0;dc=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&zc)>>>(h[l>>0]|0))|0;fc=zc;jc=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&zc)>>>(h[o>>0]|0))|0;zc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&zc)>>>(h[g>>0]|0))|0;c=87;break}case 3:{dc=I+((h[l>>0]|0)>>>3&255)|0;fc=0;jc=I+((h[o>>0]|0)>>>3&255)|0;zc=I+((h[g>>0]|0)>>>3&255)|0;c=87;break}case 4:{zc=f[I>>2]|0;dc=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&zc)>>>(h[l>>0]|0))|0;fc=zc;jc=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&zc)>>>(h[o>>0]|0))|0;zc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&zc)>>>(h[g>>0]|0))|0;c=87;break}default:{bc=0;cc=0;ec=0;ic=0}}if((c|0)==87){bc=b[zc>>0]|0;cc=b[dc>>0]|0;ec=fc;ic=b[jc>>0]|0}if((ec&Lc|0)!=(Jc|0))b[J>>0]=b[Hc+((ic&255)>>>5<<2|cc&-32&255|(bc&255)>>>6)>>0]|0;C=t;V=I+Nc|0;W=J+1|0;c=91;continue}else if((c|0)==91){c=0;switch(Mc<<24>>24){case 1:{Ac=h[V>>0]|0;mc=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ac)>>>(h[l>>0]|0))|0;oc=Ac;qc=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ac)>>>(h[o>>0]|0))|0;Ac=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ac)>>>(h[g>>0]|0))|0;c=96;break}case 2:{Ac=j[V>>1]|0;mc=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ac)>>>(h[l>>0]|0))|0;oc=Ac;qc=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ac)>>>(h[o>>0]|0))|0;Ac=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ac)>>>(h[g>>0]|0))|0;c=96;break}case 3:{mc=V+((h[l>>0]|0)>>>3&255)|0;oc=0;qc=V+((h[o>>0]|0)>>>3&255)|0;Ac=V+((h[g>>0]|0)>>>3&255)|0;c=96;break}case 4:{Ac=f[V>>2]|0;mc=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ac)>>>(h[l>>0]|0))|0;oc=Ac;qc=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ac)>>>(h[o>>0]|0))|0;Ac=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ac)>>>(h[g>>0]|0))|0;c=96;break}default:{kc=0;lc=0;nc=0;pc=0}}if((c|0)==96){kc=b[Ac>>0]|0;lc=b[mc>>0]|0;nc=oc;pc=b[qc>>0]|0}if((nc&Lc|0)!=(Jc|0))b[W>>0]=b[Hc+((pc&255)>>>5<<2|lc&-32&255|(kc&255)>>>6)>>0]|0;ca=V+Nc|0;da=W+1|0;Ra=C;c=100;continue}else if((c|0)==100){c=0;switch(Mc<<24>>24){case 1:{Bc=h[ca>>0]|0;F=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Bc)>>>(h[l>>0]|0))|0;H=Bc;L=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Bc)>>>(h[o>>0]|0))|0;Bc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Bc)>>>(h[g>>0]|0))|0;c=105;break}case 2:{Bc=j[ca>>1]|0;F=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Bc)>>>(h[l>>0]|0))|0;H=Bc;L=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Bc)>>>(h[o>>0]|0))|0;Bc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Bc)>>>(h[g>>0]|0))|0;c=105;break}case 3:{F=ca+((h[l>>0]|0)>>>3&255)|0;H=0;L=ca+((h[o>>0]|0)>>>3&255)|0;Bc=ca+((h[g>>0]|0)>>>3&255)|0;c=105;break}case 4:{Bc=f[ca>>2]|0;F=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Bc)>>>(h[l>>0]|0))|0;H=Bc;L=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Bc)>>>(h[o>>0]|0))|0;Bc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Bc)>>>(h[g>>0]|0))|0;c=105;break}default:{D=0;E=0;G=0;K=0}}if((c|0)==105){D=b[Bc>>0]|0;E=b[F>>0]|0;G=H;K=b[L>>0]|0}if((G&Lc|0)!=(Jc|0))b[da>>0]=b[Hc+((K&255)>>>5<<2|E&-32&255|(D&255)>>>6)>>0]|0;la=ca+Nc|0;ma=da+1|0;ab=Ra;c=109;continue}else if((c|0)==109){c=0;switch(Mc<<24>>24){case 1:{Cc=h[la>>0]|0;S=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Cc)>>>(h[l>>0]|0))|0;U=Cc;Y=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Cc)>>>(h[o>>0]|0))|0;Cc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Cc)>>>(h[g>>0]|0))|0;c=114;break}case 2:{Cc=j[la>>1]|0;S=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Cc)>>>(h[l>>0]|0))|0;U=Cc;Y=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Cc)>>>(h[o>>0]|0))|0;Cc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Cc)>>>(h[g>>0]|0))|0;c=114;break}case 3:{S=la+((h[l>>0]|0)>>>3&255)|0;U=0;Y=la+((h[o>>0]|0)>>>3&255)|0;Cc=la+((h[g>>0]|0)>>>3&255)|0;c=114;break}case 4:{Cc=f[la>>2]|0;S=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Cc)>>>(h[l>>0]|0))|0;U=Cc;Y=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Cc)>>>(h[o>>0]|0))|0;Cc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Cc)>>>(h[g>>0]|0))|0;c=114;break}default:{M=0;R=0;T=0;X=0}}if((c|0)==114){M=b[Cc>>0]|0;R=b[S>>0]|0;T=U;X=b[Y>>0]|0}if((T&Lc|0)!=(Jc|0))b[ma>>0]=b[Hc+((X&255)>>>5<<2|R&-32&255|(M&255)>>>6)>>0]|0;ua=la+Nc|0;va=ma+1|0;lb=ab;c=118;continue}else if((c|0)==118){c=0;switch(Mc<<24>>24){case 1:{Dc=h[ua>>0]|0;$=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Dc)>>>(h[l>>0]|0))|0;ba=Dc;fa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Dc)>>>(h[o>>0]|0))|0;Dc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Dc)>>>(h[g>>0]|0))|0;c=123;break}case 2:{Dc=j[ua>>1]|0;$=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Dc)>>>(h[l>>0]|0))|0;ba=Dc;fa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Dc)>>>(h[o>>0]|0))|0;Dc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Dc)>>>(h[g>>0]|0))|0;c=123;break}case 3:{$=ua+((h[l>>0]|0)>>>3&255)|0;ba=0;fa=ua+((h[o>>0]|0)>>>3&255)|0;Dc=ua+((h[g>>0]|0)>>>3&255)|0;c=123;break}case 4:{Dc=f[ua>>2]|0;$=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Dc)>>>(h[l>>0]|0))|0;ba=Dc;fa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Dc)>>>(h[o>>0]|0))|0;Dc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Dc)>>>(h[g>>0]|0))|0;c=123;break}default:{Z=0;_=0;aa=0;ea=0}}if((c|0)==123){Z=b[Dc>>0]|0;_=b[$>>0]|0;aa=ba;ea=b[fa>>0]|0}if((aa&Lc|0)!=(Jc|0))b[va>>0]=b[Hc+((ea&255)>>>5<<2|_&-32&255|(Z&255)>>>6)>>0]|0;Da=ua+Nc|0;Ea=va+1|0;wb=lb;c=127;continue}else if((c|0)==127){c=0;switch(Mc<<24>>24){case 1:{Ec=h[Da>>0]|0;ia=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ec)>>>(h[l>>0]|0))|0;ka=Ec;oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ec)>>>(h[o>>0]|0))|0;Ec=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ec)>>>(h[g>>0]|0))|0;c=132;break}case 2:{Ec=j[Da>>1]|0;ia=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ec)>>>(h[l>>0]|0))|0;ka=Ec;oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ec)>>>(h[o>>0]|0))|0;Ec=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ec)>>>(h[g>>0]|0))|0;c=132;break}case 3:{ia=Da+((h[l>>0]|0)>>>3&255)|0;ka=0;oa=Da+((h[o>>0]|0)>>>3&255)|0;Ec=Da+((h[g>>0]|0)>>>3&255)|0;c=132;break}case 4:{Ec=f[Da>>2]|0;ia=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Ec)>>>(h[l>>0]|0))|0;ka=Ec;oa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Ec)>>>(h[o>>0]|0))|0;Ec=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Ec)>>>(h[g>>0]|0))|0;c=132;break}default:{ga=0;ha=0;ja=0;na=0}}if((c|0)==132){ga=b[Ec>>0]|0;ha=b[ia>>0]|0;ja=ka;na=b[oa>>0]|0}if((ja&Lc|0)!=(Jc|0))b[Ea>>0]=b[Hc+((na&255)>>>5<<2|ha&-32&255|(ga&255)>>>6)>>0]|0;Ha=Da+Nc|0;Ia=Ea+1|0;Hb=wb;c=136;continue}else if((c|0)==136){c=0;switch(Mc<<24>>24){case 1:{Fc=h[Ha>>0]|0;ra=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Fc)>>>(h[l>>0]|0))|0;ta=Fc;xa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Fc)>>>(h[o>>0]|0))|0;Fc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Fc)>>>(h[g>>0]|0))|0;c=141;break}case 2:{Fc=j[Ha>>1]|0;ra=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Fc)>>>(h[l>>0]|0))|0;ta=Fc;xa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Fc)>>>(h[o>>0]|0))|0;Fc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Fc)>>>(h[g>>0]|0))|0;c=141;break}case 3:{ra=Ha+((h[l>>0]|0)>>>3&255)|0;ta=0;xa=Ha+((h[o>>0]|0)>>>3&255)|0;Fc=Ha+((h[g>>0]|0)>>>3&255)|0;c=141;break}case 4:{Fc=f[Ha>>2]|0;ra=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Fc)>>>(h[l>>0]|0))|0;ta=Fc;xa=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Fc)>>>(h[o>>0]|0))|0;Fc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Fc)>>>(h[g>>0]|0))|0;c=141;break}default:{pa=0;qa=0;sa=0;wa=0}}if((c|0)==141){pa=b[Fc>>0]|0;qa=b[ra>>0]|0;sa=ta;wa=b[xa>>0]|0}if((sa&Lc|0)!=(Jc|0))b[Ia>>0]=b[Hc+((wa&255)>>>5<<2|qa&-32&255|(pa&255)>>>6)>>0]|0;Ja=Ha+Nc|0;Ka=Ia+1|0;Sb=Hb;c=145;continue}else if((c|0)==145){c=0;switch(Mc<<24>>24){case 1:{Gc=h[Ja>>0]|0;Aa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Gc)>>>(h[l>>0]|0))|0;Ca=Gc;Ga=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Gc)>>>(h[o>>0]|0))|0;Gc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Gc)>>>(h[g>>0]|0))|0;c=150;break}case 2:{Gc=j[Ja>>1]|0;Aa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Gc)>>>(h[l>>0]|0))|0;Ca=Gc;Ga=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Gc)>>>(h[o>>0]|0))|0;Gc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Gc)>>>(h[g>>0]|0))|0;c=150;break}case 3:{Aa=Ja+((h[l>>0]|0)>>>3&255)|0;Ca=0;Ga=Ja+((h[o>>0]|0)>>>3&255)|0;Gc=Ja+((h[g>>0]|0)>>>3&255)|0;c=150;break}case 4:{Gc=f[Ja>>2]|0;Aa=(f[234608+((h[i>>0]|0)<<2)>>2]|0)+((f[k>>2]&Gc)>>>(h[l>>0]|0))|0;Ca=Gc;Ga=(f[234608+((h[m>>0]|0)<<2)>>2]|0)+((f[n>>2]&Gc)>>>(h[o>>0]|0))|0;Gc=(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&Gc)>>>(h[g>>0]|0))|0;c=150;break}default:{ya=0;za=0;Ba=0;Fa=0}}if((c|0)==150){ya=b[Gc>>0]|0;za=b[Aa>>0]|0;Ba=Ca;Fa=b[Ga>>0]|0}if((Ba&Lc|0)!=(Jc|0))b[Ka>>0]=b[Hc+((Fa&255)>>>5<<2|za&-32&255|(ya&255)>>>6)>>0]|0;a=Ka+1|0;c=Ja+Nc|0;if((Sb|0)>1){t=Sb+-1|0;I=c;J=a;c=82;continue}else break}if(!e){c=156;break}else{d=c+Oc|0;c=a+Kc|0;e=e+-1|0}}if((c|0)!=154)if((c|0)==156)return}}function P8a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;c=f[a+24>>2]|0;i=f[a+28>>2]|0;T=f[a+16>>2]|0;U=f[a+36>>2]|0;e=f[a+40>>2]|0;g=f[a+44>>2]|0;N=e+24|0;O=~f[N>>2];P=b[e+9>>0]|0;Q=b[g+9>>0]|0;R=f[a+56>>2]&O;if(!i)return;S=(c+7|0)/8|0;M=c&255;B=P&255;C=e+28|0;D=e+12|0;E=e+32|0;F=e+29|0;G=e+16|0;H=e+33|0;I=e+30|0;J=e+20|0;K=e+34|0;L=e+31|0;s=e+35|0;t=Q&255;u=g+28|0;v=g+32|0;w=g+29|0;x=g+33|0;y=g+30|0;z=g+34|0;A=g+31|0;r=g+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){i=i+-1|0;switch(M&7){case 0:{q=S;g=4;break}case 7:{q=S;g=16;break}case 6:{q=S;g=28;break}case 5:{q=S;g=40;break}case 4:{q=S;g=52;break}case 3:{q=S;g=64;break}case 2:{q=S;g=76;break}case 1:{q=S;g=88;break}default:{g=100;break a}}while(1)if((g|0)==4){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;b:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break b}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break b}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break b}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break b}default:break b}while(0);c=c+B|0;e=e+t|0;g=16;continue}else if((g|0)==16){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;c:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break c}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break c}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break c}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break c}default:break c}while(0);c=c+B|0;e=e+t|0;g=28;continue}else if((g|0)==28){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;d:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break d}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break d}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break d}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break d}default:break d}while(0);c=c+B|0;e=e+t|0;g=40;continue}else if((g|0)==40){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;e:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break e}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break e}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break e}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break e}default:break e}while(0);c=c+B|0;e=e+t|0;g=52;continue}else if((g|0)==52){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;f:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break f}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break f}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break f}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break f}default:break f}while(0);c=c+B|0;e=e+t|0;g=64;continue}else if((g|0)==64){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;g:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break g}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break g}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break g}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break g}default:break g}while(0);c=c+B|0;e=e+t|0;g=76;continue}else if((g|0)==76){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;h:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break h}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break h}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break h}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break h}default:break h}while(0);c=c+B|0;e=e+t|0;g=88;continue}else if((g|0)==88){switch(P<<24>>24){case 1:{g=h[c>>0]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 2:{g=j[c>>1]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}case 3:{a=0;l=b[c+((h[E>>0]|0)>>>3&255)>>0]|0;n=b[c+((h[H>>0]|0)>>>3&255)>>0]|0;p=b[c+((h[K>>0]|0)>>>3&255)>>0]|0;g=-1;break}case 4:{g=f[c>>2]|0;a=g;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&g)>>>(h[E>>0]|0))>>0]|0;n=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&g)>>>(h[H>>0]|0))>>0]|0;p=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&g)>>>(h[K>>0]|0))>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[N>>2]&g)>>>(h[s>>0]|0))>>0]|0;break}default:{a=0;l=0;n=0;p=0;g=0}}k=l&255;m=n&255;o=p&255;g=g&255;i:do if((a&O|0)!=(R|0))switch(Q<<24>>24){case 1:{b[e>>0]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break i}case 2:{d[e>>1]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break i}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=n;b[e+((h[z>>0]|0)>>>3&255)>>0]=p;break i}case 4:{f[e>>2]=m>>>(h[w>>0]|0)<<(h[x>>0]|0)|k>>>(h[u>>0]|0)<<(h[v>>0]|0)|o>>>(h[y>>0]|0)<<(h[z>>0]|0)|g>>>(h[A>>0]|0)<<(h[r>>0]|0);break i}default:break i}while(0);e=e+t|0;c=c+B|0;if((q|0)>1){q=q+-1|0;g=4;continue}else break}if(!i){g=102;break}else{c=c+T|0;e=e+U|0}}if((g|0)!=100)if((g|0)==102)return}function Q8a(a){a=a|0;var b=0,c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;b=f[a+24>>2]|0;c=f[a+28>>2]|0;k=(f[a+16>>2]|0)/4|0;i=(f[a+36>>2]|0)/2|0;if(!c)return;j=(b+7|0)/8|0;h=b&255;g=f[a>>2]|0;b=f[a+20>>2]|0;a:while(1){c=c+-1|0;switch(h&7){case 0:{e=j;a=g;g=4;break}case 7:{e=j;a=g;g=5;break}case 6:{e=j;a=g;g=6;break}case 5:{e=j;a=g;g=7;break}case 4:{e=j;a=g;g=8;break}case 3:{e=j;a=g;g=9;break}case 2:{e=j;a=g;g=10;break}case 1:{e=j;a=g;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;g=5;continue}else if((g|0)==5){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;g=6;continue}else if((g|0)==6){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;g=7;continue}else if((g|0)==7){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;g=8;continue}else if((g|0)==8){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;g=9;continue}else if((g|0)==9){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;g=10;continue}else if((g|0)==10){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;g=11;continue}else if((g|0)==11){l=f[a>>2]|0;d[b>>1]=l>>>8&63488|l>>>5&2016|l>>>3&31;a=a+4|0;b=b+2|0;if((e|0)>1){e=e+-1|0;g=4;continue}else break}if(!c){g=14;break}else{g=a+(k<<2)|0;b=b+(i<<1)|0}}if((g|0)!=12)if((g|0)==14)return}function R8a(a){a=a|0;var b=0,c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;b=f[a+24>>2]|0;c=f[a+28>>2]|0;k=(f[a+16>>2]|0)/4|0;i=(f[a+36>>2]|0)/2|0;if(!c)return;j=(b+7|0)/8|0;h=b&255;g=f[a>>2]|0;b=f[a+20>>2]|0;a:while(1){c=c+-1|0;switch(h&7){case 0:{e=j;a=g;g=4;break}case 7:{e=j;a=g;g=5;break}case 6:{e=j;a=g;g=6;break}case 5:{e=j;a=g;g=7;break}case 4:{e=j;a=g;g=8;break}case 3:{e=j;a=g;g=9;break}case 2:{e=j;a=g;g=10;break}case 1:{e=j;a=g;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;g=5;continue}else if((g|0)==5){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;g=6;continue}else if((g|0)==6){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;g=7;continue}else if((g|0)==7){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;g=8;continue}else if((g|0)==8){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;g=9;continue}else if((g|0)==9){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;g=10;continue}else if((g|0)==10){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;g=11;continue}else if((g|0)==11){l=f[a>>2]|0;d[b>>1]=l>>>9&31744|l>>>6&992|l>>>3&31;a=a+4|0;b=b+2|0;if((e|0)>1){e=e+-1|0;g=4;continue}else break}if(!c){g=14;break}else{g=a+(k<<2)|0;b=b+(i<<1)|0}}if((g|0)!=12)if((g|0)==14)return}function S8a(a){a=a|0;W8a(a,241744);return}function T8a(a){a=a|0;W8a(a,239696);return}function U8a(a){a=a|0;W8a(a,237648);return}function V8a(a){a=a|0;W8a(a,235600);return}function W8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,i=0,j=0,k=0,l=0;c=f[a+24>>2]|0;d=f[a+28>>2]|0;l=f[a+16>>2]|0;j=(f[a+36>>2]|0)/4|0;if(!d)return;k=(c+7|0)/8|0;i=c&255;c=f[a>>2]|0;a=f[a+20>>2]|0;a:while(1){d=d+-1|0;switch(i&7){case 0:{e=k;g=4;break}case 7:{e=k;g=5;break}case 6:{e=k;g=6;break}case 5:{e=k;g=7;break}case 4:{e=k;g=8;break}case 3:{e=k;g=9;break}case 2:{e=k;g=10;break}case 1:{e=k;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;a=a+4|0;g=5;continue}else if((g|0)==5){f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;a=a+4|0;g=6;continue}else if((g|0)==6){f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;a=a+4|0;g=7;continue}else if((g|0)==7){f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;a=a+4|0;g=8;continue}else if((g|0)==8){f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;a=a+4|0;g=9;continue}else if((g|0)==9){f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;a=a+4|0;g=10;continue}else if((g|0)==10){f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;a=a+4|0;g=11;continue}else if((g|0)==11){g=a+4|0;f[a>>2]=(f[b+(((h[c+1>>0]|0)<<1|1)<<2)>>2]|0)+(f[b+((h[c>>0]|0)<<1<<2)>>2]|0);c=c+2|0;if((e|0)>1){e=e+-1|0;a=g;g=4;continue}else break}if(!d){g=14;break}else{c=c+l|0;a=g+(j<<2)|0}}if((g|0)!=12)if((g|0)==14)return}function X8a(a){a=a|0;var b=0,c=0,e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;b=f[a+24>>2]|0;c=f[a+28>>2]|0;n=f[a+16>>2]>>2;l=f[a+36>>2]>>1;if(!c)return;m=(b+3|0)/4|0;k=b&255;b=f[a>>2]|0;a=f[a+20>>2]|0;a:while(1){c=c+-1|0;switch(k&3){case 0:{h=m;g=b;i=4;break}case 3:{h=m;g=b;i=9;break}case 2:{h=m;g=b;i=14;break}case 1:{h=m;g=b;e=a;i=19;break}default:{i=24;break a}}while(1)if((i|0)==4){i=0;b=f[g>>2]|0;e=b>>>27;switch(e&31){case 0:break;case 31:{b=b>>>9&31744|b>>>6&992|b>>>3&31;i=7;break}default:{i=j[a>>1]|0;i=(i<<16|i)&65043487;b=((W((b<<10&65011712|b>>>9&31744|b>>>3&31)-i|0,e)|0)>>>5)+i&65043487;b=b>>>16|b;i=7}}if((i|0)==7)d[a>>1]=b;g=g+4|0;a=a+2|0;i=9;continue}else if((i|0)==9){i=0;b=f[g>>2]|0;e=b>>>27;switch(e&31){case 0:break;case 31:{b=b>>>9&31744|b>>>6&992|b>>>3&31;i=12;break}default:{i=j[a>>1]|0;i=(i<<16|i)&65043487;b=((W((b<<10&65011712|b>>>9&31744|b>>>3&31)-i|0,e)|0)>>>5)+i&65043487;b=b>>>16|b;i=12}}if((i|0)==12)d[a>>1]=b;g=g+4|0;a=a+2|0;i=14;continue}else if((i|0)==14){i=0;b=f[g>>2]|0;e=b>>>27;switch(e&31){case 0:break;case 31:{b=b>>>9&31744|b>>>6&992|b>>>3&31;i=17;break}default:{i=j[a>>1]|0;i=(i<<16|i)&65043487;b=((W((b<<10&65011712|b>>>9&31744|b>>>3&31)-i|0,e)|0)>>>5)+i&65043487;b=b>>>16|b;i=17}}if((i|0)==17)d[a>>1]=b;g=g+4|0;e=a+2|0;i=19;continue}else if((i|0)==19){i=0;b=f[g>>2]|0;a=b>>>27;switch(a&31){case 0:break;case 31:{b=b>>>9&31744|b>>>6&992|b>>>3&31;i=22;break}default:{i=j[e>>1]|0;i=(i<<16|i)&65043487;b=((W((b<<10&65011712|b>>>9&31744|b>>>3&31)-i|0,a)|0)>>>5)+i&65043487;b=b>>>16|b;i=22}}if((i|0)==22)d[e>>1]=b;b=g+4|0;a=e+2|0;if((h|0)>1){h=h+-1|0;g=b;i=4;continue}else break}if(!c){i=26;break}else{b=b+(n<<2)|0;a=a+(l<<1)|0}}if((i|0)!=24)if((i|0)==26)return}function Y8a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0;c=f[a+24>>2]|0;i=f[a+28>>2]|0;ca=f[a+16>>2]|0;da=f[a+36>>2]|0;e=f[a+40>>2]|0;g=f[a+44>>2]|0;Z=b[e+9>>0]|0;_=Z&255;$=b[g+9>>0]|0;aa=$&255;if(!i)return;ba=(c+3|0)/4|0;P=c&255;E=e+28|0;F=e+12|0;G=e+32|0;H=e+29|0;I=e+16|0;J=e+33|0;K=e+30|0;L=e+20|0;M=e+34|0;N=e+31|0;O=e+24|0;s=e+35|0;t=g+28|0;u=g+12|0;v=g+32|0;w=g+29|0;x=g+16|0;y=g+33|0;z=g+30|0;A=g+20|0;B=g+34|0;C=g+31|0;D=g+24|0;r=g+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){i=i+-1|0;switch(P&3){case 0:{q=ba;g=4;break}case 3:{q=ba;g=21;break}case 2:{q=ba;g=38;break}case 1:{q=ba;g=55;break}default:{g=72;break a}}while(1)if((g|0)==4){g=0;switch(Z<<24>>24){case 1:{Y=h[c>>0]|0;g=9;break}case 2:{Y=j[c>>1]|0;g=9;break}case 3:{m=h[c+((h[G>>0]|0)>>>3&255)>>0]|0;n=h[c+((h[J>>0]|0)>>>3&255)>>0]|0;o=h[c+((h[M>>0]|0)>>>3&255)>>0]|0;p=255;g=10;break}case 4:{Y=f[c>>2]|0;g=9;break}default:{}}if((g|0)==9?(g=0,Q=b[(f[234608+((h[N>>0]|0)<<2)>>2]|0)+((f[O>>2]&Y)>>>(h[s>>0]|0))>>0]|0,Q<<24>>24):0){m=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&Y)>>>(h[G>>0]|0))>>0]|0;n=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&Y)>>>(h[J>>0]|0))>>0]|0;o=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&Y)>>>(h[M>>0]|0))>>0]|0;p=Q&255;g=10}b:do if((g|0)==10){switch($<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[v>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[y>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[B>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}fa=g&255;ea=a&255;a=k&255;g=l&255;l=(((W(m-fa|0,p)|0)>>>0)/255|0)+fa|0;k=(((W(n-ea|0,p)|0)>>>0)/255|0)+ea|0;a=(((W(o-a|0,p)|0)>>>0)/255|0)+a|0;g=p+g-(((W(p,g)|0)>>>0)/255|0)|0;switch($<<24>>24){case 1:{b[e>>0]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break b}case 2:{d[e>>1]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break b}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[y>>0]|0)>>>3&255)>>0]=k;b[e+((h[B>>0]|0)>>>3&255)>>0]=a;break b}case 4:{f[e>>2]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break b}default:break b}}while(0);c=c+_|0;e=e+aa|0;g=21;continue}else if((g|0)==21){g=0;switch(Z<<24>>24){case 1:{U=h[c>>0]|0;g=26;break}case 2:{U=j[c>>1]|0;g=26;break}case 3:{m=h[c+((h[G>>0]|0)>>>3&255)>>0]|0;n=h[c+((h[J>>0]|0)>>>3&255)>>0]|0;o=h[c+((h[M>>0]|0)>>>3&255)>>0]|0;p=255;g=27;break}case 4:{U=f[c>>2]|0;g=26;break}default:{}}if((g|0)==26?(g=0,R=b[(f[234608+((h[N>>0]|0)<<2)>>2]|0)+((f[O>>2]&U)>>>(h[s>>0]|0))>>0]|0,R<<24>>24):0){m=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&U)>>>(h[G>>0]|0))>>0]|0;n=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&U)>>>(h[J>>0]|0))>>0]|0;o=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&U)>>>(h[M>>0]|0))>>0]|0;p=R&255;g=27}c:do if((g|0)==27){switch($<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[v>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[y>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[B>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}ea=g&255;fa=a&255;a=k&255;g=l&255;l=(((W(m-ea|0,p)|0)>>>0)/255|0)+ea|0;k=(((W(n-fa|0,p)|0)>>>0)/255|0)+fa|0;a=(((W(o-a|0,p)|0)>>>0)/255|0)+a|0;g=p+g-(((W(p,g)|0)>>>0)/255|0)|0;switch($<<24>>24){case 1:{b[e>>0]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break c}case 2:{d[e>>1]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break c}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[y>>0]|0)>>>3&255)>>0]=k;b[e+((h[B>>0]|0)>>>3&255)>>0]=a;break c}case 4:{f[e>>2]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break c}default:break c}}while(0);c=c+_|0;e=e+aa|0;g=38;continue}else if((g|0)==38){g=0;switch(Z<<24>>24){case 1:{V=h[c>>0]|0;g=43;break}case 2:{V=j[c>>1]|0;g=43;break}case 3:{m=h[c+((h[G>>0]|0)>>>3&255)>>0]|0;n=h[c+((h[J>>0]|0)>>>3&255)>>0]|0;o=h[c+((h[M>>0]|0)>>>3&255)>>0]|0;p=255;g=44;break}case 4:{V=f[c>>2]|0;g=43;break}default:{}}if((g|0)==43?(g=0,S=b[(f[234608+((h[N>>0]|0)<<2)>>2]|0)+((f[O>>2]&V)>>>(h[s>>0]|0))>>0]|0,S<<24>>24):0){m=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&V)>>>(h[G>>0]|0))>>0]|0;n=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&V)>>>(h[J>>0]|0))>>0]|0;o=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&V)>>>(h[M>>0]|0))>>0]|0;p=S&255;g=44}d:do if((g|0)==44){switch($<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[v>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[y>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[B>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}ea=g&255;fa=a&255;a=k&255;g=l&255;l=(((W(m-ea|0,p)|0)>>>0)/255|0)+ea|0;k=(((W(n-fa|0,p)|0)>>>0)/255|0)+fa|0;a=(((W(o-a|0,p)|0)>>>0)/255|0)+a|0;g=p+g-(((W(p,g)|0)>>>0)/255|0)|0;switch($<<24>>24){case 1:{b[e>>0]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break d}case 2:{d[e>>1]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break d}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[y>>0]|0)>>>3&255)>>0]=k;b[e+((h[B>>0]|0)>>>3&255)>>0]=a;break d}case 4:{f[e>>2]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break d}default:break d}}while(0);c=c+_|0;e=e+aa|0;g=55;continue}else if((g|0)==55){g=0;switch(Z<<24>>24){case 1:{X=h[c>>0]|0;g=60;break}case 2:{X=j[c>>1]|0;g=60;break}case 3:{m=h[c+((h[G>>0]|0)>>>3&255)>>0]|0;n=h[c+((h[J>>0]|0)>>>3&255)>>0]|0;o=h[c+((h[M>>0]|0)>>>3&255)>>0]|0;p=255;g=61;break}case 4:{X=f[c>>2]|0;g=60;break}default:{}}if((g|0)==60?(g=0,T=b[(f[234608+((h[N>>0]|0)<<2)>>2]|0)+((f[O>>2]&X)>>>(h[s>>0]|0))>>0]|0,T<<24>>24):0){m=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&X)>>>(h[G>>0]|0))>>0]|0;n=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&X)>>>(h[J>>0]|0))>>0]|0;o=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&X)>>>(h[M>>0]|0))>>0]|0;p=T&255;g=61}e:do if((g|0)==61){switch($<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[v>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[y>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[B>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&l)>>>(h[v>>0]|0))>>0]|0;a=b[(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&l)>>>(h[y>>0]|0))>>0]|0;k=b[(f[234608+((h[z>>0]|0)<<2)>>2]|0)+((f[A>>2]&l)>>>(h[B>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[r>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}ea=g&255;fa=a&255;a=k&255;g=l&255;l=(((W(m-ea|0,p)|0)>>>0)/255|0)+ea|0;k=(((W(n-fa|0,p)|0)>>>0)/255|0)+fa|0;a=(((W(o-a|0,p)|0)>>>0)/255|0)+a|0;g=p+g-(((W(p,g)|0)>>>0)/255|0)|0;switch($<<24>>24){case 1:{b[e>>0]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break e}case 2:{d[e>>1]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break e}case 3:{b[e+((h[v>>0]|0)>>>3&255)>>0]=l;b[e+((h[y>>0]|0)>>>3&255)>>0]=k;b[e+((h[B>>0]|0)>>>3&255)>>0]=a;break e}case 4:{f[e>>2]=k>>>(h[w>>0]|0)<<(h[y>>0]|0)|l>>>(h[t>>0]|0)<<(h[v>>0]|0)|a>>>(h[z>>0]|0)<<(h[B>>0]|0)|g>>>(h[C>>0]|0)<<(h[r>>0]|0);break e}default:break e}}while(0);c=c+_|0;e=e+aa|0;if((q|0)>1){q=q+-1|0;g=4;continue}else break}if(!i){g=74;break}else{c=c+ca|0;e=e+da|0}}if((g|0)!=72)if((g|0)==74)return}function Z8a(a){a=a|0;var b=0,c=0,e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;b=f[a+24>>2]|0;c=f[a+28>>2]|0;n=f[a+16>>2]>>2;l=f[a+36>>2]>>1;if(!c)return;m=(b+3|0)/4|0;k=b&255;b=f[a>>2]|0;a=f[a+20>>2]|0;a:while(1){c=c+-1|0;switch(k&3){case 0:{h=m;g=b;i=4;break}case 3:{h=m;g=b;i=9;break}case 2:{h=m;g=b;i=14;break}case 1:{h=m;g=b;e=a;i=19;break}default:{i=24;break a}}while(1)if((i|0)==4){i=0;b=f[g>>2]|0;e=b>>>27;switch(e&31){case 0:break;case 31:{b=b>>>8&63488|b>>>5&2016|b>>>3&31;i=7;break}default:{i=j[a>>1]|0;i=(i<<16|i)&132184095;b=((W((b<<11&132120576|b>>>8&63488|b>>>3&31)-i|0,e)|0)>>>5)+i&132184095;b=b>>>16|b;i=7}}if((i|0)==7)d[a>>1]=b;g=g+4|0;a=a+2|0;i=9;continue}else if((i|0)==9){i=0;b=f[g>>2]|0;e=b>>>27;switch(e&31){case 0:break;case 31:{b=b>>>8&63488|b>>>5&2016|b>>>3&31;i=12;break}default:{i=j[a>>1]|0;i=(i<<16|i)&132184095;b=((W((b<<11&132120576|b>>>8&63488|b>>>3&31)-i|0,e)|0)>>>5)+i&132184095;b=b>>>16|b;i=12}}if((i|0)==12)d[a>>1]=b;g=g+4|0;a=a+2|0;i=14;continue}else if((i|0)==14){i=0;b=f[g>>2]|0;e=b>>>27;switch(e&31){case 0:break;case 31:{b=b>>>8&63488|b>>>5&2016|b>>>3&31;i=17;break}default:{i=j[a>>1]|0;i=(i<<16|i)&132184095;b=((W((b<<11&132120576|b>>>8&63488|b>>>3&31)-i|0,e)|0)>>>5)+i&132184095;b=b>>>16|b;i=17}}if((i|0)==17)d[a>>1]=b;g=g+4|0;e=a+2|0;i=19;continue}else if((i|0)==19){i=0;b=f[g>>2]|0;a=b>>>27;switch(a&31){case 0:break;case 31:{b=b>>>8&63488|b>>>5&2016|b>>>3&31;i=22;break}default:{i=j[e>>1]|0;i=(i<<16|i)&132184095;b=((W((b<<11&132120576|b>>>8&63488|b>>>3&31)-i|0,a)|0)>>>5)+i&132184095;b=b>>>16|b;i=22}}if((i|0)==22)d[e>>1]=b;b=g+4|0;a=e+2|0;if((h|0)>1){h=h+-1|0;g=b;i=4;continue}else break}if(!c){i=26;break}else{b=b+(n<<2)|0;a=a+(l<<1)|0}}if((i|0)!=24)if((i|0)==26)return}function _8a(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;c=b[a+63>>0]|0;if(c<<24>>24==-128){h9a(a,-1058);return}e=f[a+24>>2]|0;n=f[a+28>>2]|0;h=f[a>>2]|0;p=f[a+16>>2]>>1;i=f[a+20>>2]|0;o=f[a+36>>2]>>1;m=(c&255)>>>3;g=n+-1|0;if(!n)return;n=(e+3|0)/4|0;l=e&255;if(!(l&3)){a=h;c=i;while(1){e=n;while(1){l=j[a>>1]|0;i=j[c>>1]|0;i=(i<<16|i)&65043487;i=((W(((l<<16|l)&65043487)-i|0,m)|0)>>>5)+i&65043487;l=c+2|0;d[c>>1]=i>>>16|i;i=j[a+2>>1]|0;k=j[l>>1]|0;k=(k<<16|k)&65043487;k=((W(((i<<16|i)&65043487)-k|0,m)|0)>>>5)+k&65043487;i=c+4|0;d[l>>1]=k>>>16|k;l=j[a+4>>1]|0;k=j[i>>1]|0;k=(k<<16|k)&65043487;k=((W(((l<<16|l)&65043487)-k|0,m)|0)>>>5)+k&65043487;l=c+6|0;d[i>>1]=k>>>16|k;i=a;a=a+8|0;i=j[i+6>>1]|0;k=j[l>>1]|0;k=(k<<16|k)&65043487;k=((W(((i<<16|i)&65043487)-k|0,m)|0)>>>5)+k&65043487;c=c+8|0;d[l>>1]=k>>>16|k;if((e|0)<=1)break;else e=e+-1|0}if(!g)break;else{a=a+(p<<1)|0;c=c+(o<<1)|0;g=g+-1|0}}return}a=i;a:while(1){switch(l&3){case 1:{i=n;e=a;k=14;break}case 3:{c=n;k=12;break}case 2:{c=n;k=13;break}default:{k=15;break a}}while(1)if((k|0)==12){e=j[h>>1]|0;i=j[a>>1]|0;i=(i<<16|i)&65043487;i=((W(((e<<16|e)&65043487)-i|0,m)|0)>>>5)+i&65043487;d[a>>1]=i>>>16|i;h=h+2|0;a=a+2|0;k=13;continue}else if((k|0)==13){e=j[h>>1]|0;i=j[a>>1]|0;i=(i<<16|i)&65043487;i=((W(((e<<16|e)&65043487)-i|0,m)|0)>>>5)+i&65043487;d[a>>1]=i>>>16|i;i=c;h=h+2|0;e=a+2|0;k=14;continue}else if((k|0)==14){a=h+2|0;c=j[h>>1]|0;k=j[e>>1]|0;k=(k<<16|k)&65043487;k=((W(((c<<16|c)&65043487)-k|0,m)|0)>>>5)+k&65043487;c=e+2|0;d[e>>1]=k>>>16|k;if((i|0)<=1)break;k=j[a>>1]|0;a=j[c>>1]|0;a=(a<<16|a)&65043487;a=((W(((k<<16|k)&65043487)-a|0,m)|0)>>>5)+a&65043487;d[c>>1]=a>>>16|a;c=i+-1|0;h=h+4|0;a=e+4|0;k=12;continue}if(!g){k=17;break}else{h=a+(p<<1)|0;a=c+(o<<1)|0;g=g+-1|0}}if((k|0)!=15)if((k|0)==17)return}function $8a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;c=f[a+24>>2]|0;S=f[a+16>>2]|0;T=f[a+36>>2]|0;e=f[a+40>>2]|0;g=f[a+44>>2]|0;M=b[e+9>>0]|0;N=M&255;O=b[g+9>>0]|0;P=O&255;R=b[a+63>>0]|0;Q=R&255;if(!(R<<24>>24))return;i=f[a+28>>2]|0;if(!i)return;R=(c+3|0)/4|0;L=c&255;D=e+28|0;E=e+12|0;F=e+32|0;G=e+29|0;H=e+16|0;I=e+33|0;J=e+30|0;K=e+20|0;r=e+34|0;s=g+28|0;t=g+12|0;u=g+32|0;v=g+29|0;w=g+16|0;x=g+33|0;y=g+30|0;z=g+20|0;A=g+34|0;B=g+31|0;C=g+24|0;q=g+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){i=i+-1|0;switch(L&3){case 0:{p=R;l=5;break}case 3:{p=R;l=22;break}case 2:{p=R;l=39;break}case 1:{p=R;l=56;break}default:{l=73;break a}}while(1)if((l|0)==5){l=0;switch(M<<24>>24){case 1:{k=h[c>>0]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=10;break}case 2:{k=j[c>>1]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=10;break}case 3:{g=c+((h[F>>0]|0)>>>3&255)|0;a=c+((h[I>>0]|0)>>>3&255)|0;k=c+((h[r>>0]|0)>>>3&255)|0;l=10;break}case 4:{k=f[c>>2]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=10;break}default:{g=0;a=0;k=0}}if((l|0)==10){g=b[g>>0]|0;a=b[a>>0]|0;k=b[k>>0]|0}m=g&255;n=a&255;o=k&255;switch(O<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[u>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[x>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[A>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}V=g&255;U=a&255;g=k&255;a=l&255;l=(((W(m-V|0,Q)|0)>>>0)/255|0)+V|0;k=(((W(n-U|0,Q)|0)>>>0)/255|0)+U|0;g=(((W(o-g|0,Q)|0)>>>0)/255|0)+g|0;a=a+Q-(((W(a,Q)|0)>>>0)/255|0)|0;switch(O<<24>>24){case 1:{b[e>>0]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[u>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=k;b[e+((h[A>>0]|0)>>>3&255)>>0]=g;break}case 4:{f[e>>2]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+N|0;e=e+P|0;l=22;continue}else if((l|0)==22){l=0;switch(M<<24>>24){case 1:{k=h[c>>0]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=27;break}case 2:{k=j[c>>1]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=27;break}case 3:{g=c+((h[F>>0]|0)>>>3&255)|0;a=c+((h[I>>0]|0)>>>3&255)|0;k=c+((h[r>>0]|0)>>>3&255)|0;l=27;break}case 4:{k=f[c>>2]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=27;break}default:{g=0;a=0;k=0}}if((l|0)==27){g=b[g>>0]|0;a=b[a>>0]|0;k=b[k>>0]|0}m=g&255;n=a&255;o=k&255;switch(O<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[u>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[x>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[A>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}U=g&255;V=a&255;g=k&255;a=l&255;l=(((W(m-U|0,Q)|0)>>>0)/255|0)+U|0;k=(((W(n-V|0,Q)|0)>>>0)/255|0)+V|0;g=(((W(o-g|0,Q)|0)>>>0)/255|0)+g|0;a=a+Q-(((W(a,Q)|0)>>>0)/255|0)|0;switch(O<<24>>24){case 1:{b[e>>0]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[u>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=k;b[e+((h[A>>0]|0)>>>3&255)>>0]=g;break}case 4:{f[e>>2]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+N|0;e=e+P|0;l=39;continue}else if((l|0)==39){l=0;switch(M<<24>>24){case 1:{k=h[c>>0]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=44;break}case 2:{k=j[c>>1]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=44;break}case 3:{g=c+((h[F>>0]|0)>>>3&255)|0;a=c+((h[I>>0]|0)>>>3&255)|0;k=c+((h[r>>0]|0)>>>3&255)|0;l=44;break}case 4:{k=f[c>>2]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=44;break}default:{g=0;a=0;k=0}}if((l|0)==44){g=b[g>>0]|0;a=b[a>>0]|0;k=b[k>>0]|0}m=g&255;n=a&255;o=k&255;switch(O<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[u>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[x>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[A>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}U=g&255;V=a&255;g=k&255;a=l&255;l=(((W(m-U|0,Q)|0)>>>0)/255|0)+U|0;k=(((W(n-V|0,Q)|0)>>>0)/255|0)+V|0;g=(((W(o-g|0,Q)|0)>>>0)/255|0)+g|0;a=a+Q-(((W(a,Q)|0)>>>0)/255|0)|0;switch(O<<24>>24){case 1:{b[e>>0]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[u>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=k;b[e+((h[A>>0]|0)>>>3&255)>>0]=g;break}case 4:{f[e>>2]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+N|0;e=e+P|0;l=56;continue}else if((l|0)==56){l=0;switch(M<<24>>24){case 1:{k=h[c>>0]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=61;break}case 2:{k=j[c>>1]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=61;break}case 3:{g=c+((h[F>>0]|0)>>>3&255)|0;a=c+((h[I>>0]|0)>>>3&255)|0;k=c+((h[r>>0]|0)>>>3&255)|0;l=61;break}case 4:{k=f[c>>2]|0;g=(f[234608+((h[D>>0]|0)<<2)>>2]|0)+((f[E>>2]&k)>>>(h[F>>0]|0))|0;a=(f[234608+((h[G>>0]|0)<<2)>>2]|0)+((f[H>>2]&k)>>>(h[I>>0]|0))|0;k=(f[234608+((h[J>>0]|0)<<2)>>2]|0)+((f[K>>2]&k)>>>(h[r>>0]|0))|0;l=61;break}default:{g=0;a=0;k=0}}if((l|0)==61){g=b[g>>0]|0;a=b[a>>0]|0;k=b[k>>0]|0}m=g&255;n=a&255;o=k&255;switch(O<<24>>24){case 1:{l=h[e>>0]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{g=b[e+((h[u>>0]|0)>>>3&255)>>0]|0;a=b[e+((h[x>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[A>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;g=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&l)>>>(h[u>>0]|0))>>0]|0;a=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&l)>>>(h[x>>0]|0))>>0]|0;k=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&l)>>>(h[A>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{g=0;a=0;k=0;l=0}}U=g&255;V=a&255;g=k&255;a=l&255;l=(((W(m-U|0,Q)|0)>>>0)/255|0)+U|0;k=(((W(n-V|0,Q)|0)>>>0)/255|0)+V|0;g=(((W(o-g|0,Q)|0)>>>0)/255|0)+g|0;a=a+Q-(((W(a,Q)|0)>>>0)/255|0)|0;switch(O<<24>>24){case 1:{b[e>>0]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[u>>0]|0)>>>3&255)>>0]=l;b[e+((h[x>>0]|0)>>>3&255)>>0]=k;b[e+((h[A>>0]|0)>>>3&255)>>0]=g;break}case 4:{f[e>>2]=k>>>(h[v>>0]|0)<<(h[x>>0]|0)|l>>>(h[s>>0]|0)<<(h[u>>0]|0)|g>>>(h[y>>0]|0)<<(h[A>>0]|0)|a>>>(h[B>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+N|0;e=e+P|0;if((p|0)>1){p=p+-1|0;l=5;continue}else break}if(!i){l=75;break}else{c=c+S|0;e=e+T|0}}if((l|0)!=73)if((l|0)==75)return}function a9a(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;c=b[a+63>>0]|0;if(c<<24>>24==-128){h9a(a,-2082);return}e=f[a+24>>2]|0;n=f[a+28>>2]|0;h=f[a>>2]|0;p=f[a+16>>2]>>1;i=f[a+20>>2]|0;o=f[a+36>>2]>>1;m=(c&255)>>>3;g=n+-1|0;if(!n)return;n=(e+3|0)/4|0;l=e&255;if(!(l&3)){a=h;c=i;while(1){e=n;while(1){l=j[a>>1]|0;i=j[c>>1]|0;i=(i<<16|i)&132184095;i=((W(((l<<16|l)&132184095)-i|0,m)|0)>>>5)+i&132184095;l=c+2|0;d[c>>1]=i>>>16|i;i=j[a+2>>1]|0;k=j[l>>1]|0;k=(k<<16|k)&132184095;k=((W(((i<<16|i)&132184095)-k|0,m)|0)>>>5)+k&132184095;i=c+4|0;d[l>>1]=k>>>16|k;l=j[a+4>>1]|0;k=j[i>>1]|0;k=(k<<16|k)&132184095;k=((W(((l<<16|l)&132184095)-k|0,m)|0)>>>5)+k&132184095;l=c+6|0;d[i>>1]=k>>>16|k;i=a;a=a+8|0;i=j[i+6>>1]|0;k=j[l>>1]|0;k=(k<<16|k)&132184095;k=((W(((i<<16|i)&132184095)-k|0,m)|0)>>>5)+k&132184095;c=c+8|0;d[l>>1]=k>>>16|k;if((e|0)<=1)break;else e=e+-1|0}if(!g)break;else{a=a+(p<<1)|0;c=c+(o<<1)|0;g=g+-1|0}}return}a=i;a:while(1){switch(l&3){case 1:{i=n;e=a;k=14;break}case 3:{c=n;k=12;break}case 2:{c=n;k=13;break}default:{k=15;break a}}while(1)if((k|0)==12){e=j[h>>1]|0;i=j[a>>1]|0;i=(i<<16|i)&132184095;i=((W(((e<<16|e)&132184095)-i|0,m)|0)>>>5)+i&132184095;d[a>>1]=i>>>16|i;h=h+2|0;a=a+2|0;k=13;continue}else if((k|0)==13){e=j[h>>1]|0;i=j[a>>1]|0;i=(i<<16|i)&132184095;i=((W(((e<<16|e)&132184095)-i|0,m)|0)>>>5)+i&132184095;d[a>>1]=i>>>16|i;i=c;h=h+2|0;e=a+2|0;k=14;continue}else if((k|0)==14){a=h+2|0;c=j[h>>1]|0;k=j[e>>1]|0;k=(k<<16|k)&132184095;k=((W(((c<<16|c)&132184095)-k|0,m)|0)>>>5)+k&132184095;c=e+2|0;d[e>>1]=k>>>16|k;if((i|0)<=1)break;k=j[a>>1]|0;a=j[c>>1]|0;a=(a<<16|a)&132184095;a=((W(((k<<16|k)&132184095)-a|0,m)|0)>>>5)+a&132184095;d[c>>1]=a>>>16|a;c=i+-1|0;h=h+4|0;a=e+4|0;k=12;continue}if(!g){k=17;break}else{h=a+(p<<1)|0;a=c+(o<<1)|0;g=g+-1|0}}if((k|0)!=15)if((k|0)==17)return}function b9a(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;c=f[a+24>>2]|0;e=f[a+28>>2]|0;G=f[a+16>>2]|0;H=f[a+36>>2]|0;A=f[a+48>>2]|0;d=f[a+40>>2]|0;B=b[d+9>>0]|0;C=B&255;D=f[a+56>>2]|0;E=h[a+63>>0]|0;if(!e)return;F=(c+7|0)/8|0;z=c&255;r=d+28|0;s=d+12|0;t=d+32|0;u=d+29|0;v=d+16|0;w=d+33|0;x=d+30|0;y=d+20|0;o=d+34|0;p=(f[a+44>>2]|0)+4|0;q=(A|0)==0;c=f[a>>2]|0;d=f[a+20>>2]|0;a:while(1){e=e+-1|0;switch(z&7){case 0:{m=F;l=c;n=4;break}case 7:{m=F;l=c;n=16;break}case 6:{m=F;l=c;n=28;break}case 5:{m=F;l=c;n=40;break}case 4:{m=F;l=c;n=52;break}case 3:{m=F;l=c;n=64;break}case 2:{m=F;l=c;n=76;break}case 1:{m=F;l=c;n=88;break}default:{n=100;break a}}while(1)if((n|0)==4){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=9;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=9;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=9;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=9;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==9){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){I=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;n=h[I+(c<<2)>>0]|0;i=h[I+(c<<2)+1>>0]|0;c=h[I+(c<<2)+2>>0]|0;c=((((W((g&255)-i|0,E)|0)>>>0)/255|0)+i|0)>>>3&28|(((W((a&255)-n|0,E)|0)>>>0)/255|0)+n&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}l=l+C|0;d=d+1|0;n=16;continue}else if((n|0)==16){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=21;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=21;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=21;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=21;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==21){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){i=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;I=h[i+(c<<2)>>0]|0;n=h[i+(c<<2)+1>>0]|0;c=h[i+(c<<2)+2>>0]|0;c=((((W((g&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((W((a&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}l=l+C|0;d=d+1|0;n=28;continue}else if((n|0)==28){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=33;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=33;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=33;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=33;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==33){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){i=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;I=h[i+(c<<2)>>0]|0;n=h[i+(c<<2)+1>>0]|0;c=h[i+(c<<2)+2>>0]|0;c=((((W((g&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((W((a&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}l=l+C|0;d=d+1|0;n=40;continue}else if((n|0)==40){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=45;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=45;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=45;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=45;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==45){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){i=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;I=h[i+(c<<2)>>0]|0;n=h[i+(c<<2)+1>>0]|0;c=h[i+(c<<2)+2>>0]|0;c=((((W((g&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((W((a&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}l=l+C|0;d=d+1|0;n=52;continue}else if((n|0)==52){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=57;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=57;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=57;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=57;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==57){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){i=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;I=h[i+(c<<2)>>0]|0;n=h[i+(c<<2)+1>>0]|0;c=h[i+(c<<2)+2>>0]|0;c=((((W((g&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((W((a&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}l=l+C|0;d=d+1|0;n=64;continue}else if((n|0)==64){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=69;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=69;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=69;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=69;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==69){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){i=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;I=h[i+(c<<2)>>0]|0;n=h[i+(c<<2)+1>>0]|0;c=h[i+(c<<2)+2>>0]|0;c=((((W((g&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((W((a&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}l=l+C|0;d=d+1|0;n=76;continue}else if((n|0)==76){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=81;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=81;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=81;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=81;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==81){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){i=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;I=h[i+(c<<2)>>0]|0;n=h[i+(c<<2)+1>>0]|0;c=h[i+(c<<2)+2>>0]|0;c=((((W((g&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((W((a&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}l=l+C|0;d=d+1|0;n=88;continue}else if((n|0)==88){n=0;switch(B<<24>>24){case 1:{a=h[l>>0]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=93;break}case 2:{a=j[l>>1]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=93;break}case 3:{g=l+((h[w>>0]|0)>>>3&255)|0;i=l+((h[t>>0]|0)>>>3&255)|0;c=0;a=l+((h[o>>0]|0)>>>3&255)|0;n=93;break}case 4:{a=f[l>>2]|0;g=(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&a)>>>(h[w>>0]|0))|0;i=(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&a)>>>(h[t>>0]|0))|0;c=a;a=(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&a)>>>(h[o>>0]|0))|0;n=93;break}default:{k=0;g=0;a=0;c=0}}if((n|0)==93){k=b[a>>0]|0;g=b[g>>0]|0;a=b[i>>0]|0}if((c|0)!=(D|0)){i=f[(f[p>>2]|0)+4>>2]|0;c=h[d>>0]|0;I=h[i+(c<<2)>>0]|0;n=h[i+(c<<2)+1>>0]|0;c=h[i+(c<<2)+2>>0]|0;c=((((W((g&255)-n|0,E)|0)>>>0)/255|0)+n|0)>>>3&28|(((W((a&255)-I|0,E)|0)>>>0)/255|0)+I&224|((((W((k&255)-c|0,E)|0)>>>0)/255|0)+c|0)>>>6&3;if(q)c=c&255;else c=b[A+c>>0]|0;b[d>>0]=c}d=d+1|0;c=l+C|0;if((m|0)>1){m=m+-1|0;l=c;n=4;continue}else break}if(!e){n=102;break}else{c=c+G|0;d=d+H|0}}if((n|0)!=100)if((n|0)==102)return}function c9a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,X=0,Y=0;c=f[a+24>>2]|0;k=f[a+28>>2]|0;U=f[a+16>>2]|0;V=f[a+36>>2]|0;g=f[a+40>>2]|0;i=f[a+44>>2]|0;N=f[a+56>>2]|0;O=b[g+9>>0]|0;P=O&255;Q=b[i+9>>0]|0;R=Q&255;e=b[a+63>>0]|0;S=e&255;if(!k)return;T=(c+3|0)/4|0;M=c&255;D=e<<24>>24==0;E=g+28|0;F=g+12|0;G=g+32|0;H=g+29|0;I=g+16|0;J=g+33|0;K=g+30|0;L=g+20|0;r=g+34|0;s=i+28|0;t=i+12|0;u=i+32|0;v=i+29|0;w=i+16|0;x=i+33|0;y=i+30|0;z=i+20|0;A=i+34|0;B=i+31|0;C=i+24|0;q=i+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){k=k+-1|0;switch(M&3){case 0:{p=T;o=e;e=4;break}case 3:{p=T;o=e;e=21;break}case 2:{p=T;o=e;e=38;break}case 1:{p=T;o=e;e=55;break}default:{e=72;break a}}while(1)if((e|0)==4){switch(O<<24>>24){case 1:{e=h[c>>0]|0;break}case 2:{e=j[c>>1]|0;break}case 3:{e=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{e=f[c>>2]|0;break}default:e=0}b:do if(!(D|(e|0)==(N|0))){l=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&e)>>>(h[G>>0]|0))>>0]|0;n=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&e)>>>(h[J>>0]|0))>>0]|0;m=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&e)>>>(h[r>>0]|0))>>0]|0;switch(Q<<24>>24){case 1:{a=h[o>>0]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 2:{a=j[o>>1]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[o+((h[x>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[A>>0]|0)>>>3&255)>>0]|0;a=-1;break}case 4:{a=f[o>>2]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;g=0;i=0;a=0}}Y=e&255;X=g&255;e=i&255;g=a&255;a=(((W(l-Y|0,S)|0)>>>0)/255|0)+Y|0;i=(((W(n-X|0,S)|0)>>>0)/255|0)+X|0;e=(((W(m-e|0,S)|0)>>>0)/255|0)+e|0;g=g+S-(((W(g,S)|0)>>>0)/255|0)|0;switch(Q<<24>>24){case 1:{b[o>>0]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break b}case 2:{d[o>>1]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break b}case 3:{b[o+((h[u>>0]|0)>>>3&255)>>0]=a;b[o+((h[x>>0]|0)>>>3&255)>>0]=i;b[o+((h[A>>0]|0)>>>3&255)>>0]=e;break b}case 4:{f[o>>2]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break b}default:break b}}while(0);c=c+P|0;o=o+R|0;e=21;continue}else if((e|0)==21){switch(O<<24>>24){case 1:{e=h[c>>0]|0;break}case 2:{e=j[c>>1]|0;break}case 3:{e=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{e=f[c>>2]|0;break}default:e=0}c:do if(!(D|(e|0)==(N|0))){l=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&e)>>>(h[G>>0]|0))>>0]|0;m=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&e)>>>(h[J>>0]|0))>>0]|0;n=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&e)>>>(h[r>>0]|0))>>0]|0;switch(Q<<24>>24){case 1:{a=h[o>>0]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 2:{a=j[o>>1]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[o+((h[x>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[A>>0]|0)>>>3&255)>>0]|0;a=-1;break}case 4:{a=f[o>>2]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;g=0;i=0;a=0}}X=e&255;Y=g&255;e=i&255;g=a&255;a=(((W(l-X|0,S)|0)>>>0)/255|0)+X|0;i=(((W(m-Y|0,S)|0)>>>0)/255|0)+Y|0;e=(((W(n-e|0,S)|0)>>>0)/255|0)+e|0;g=g+S-(((W(g,S)|0)>>>0)/255|0)|0;switch(Q<<24>>24){case 1:{b[o>>0]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break c}case 2:{d[o>>1]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break c}case 3:{b[o+((h[u>>0]|0)>>>3&255)>>0]=a;b[o+((h[x>>0]|0)>>>3&255)>>0]=i;b[o+((h[A>>0]|0)>>>3&255)>>0]=e;break c}case 4:{f[o>>2]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break c}default:break c}}while(0);c=c+P|0;o=o+R|0;e=38;continue}else if((e|0)==38){switch(O<<24>>24){case 1:{e=h[c>>0]|0;break}case 2:{e=j[c>>1]|0;break}case 3:{e=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{e=f[c>>2]|0;break}default:e=0}d:do if(!(D|(e|0)==(N|0))){l=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&e)>>>(h[G>>0]|0))>>0]|0;m=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&e)>>>(h[J>>0]|0))>>0]|0;n=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&e)>>>(h[r>>0]|0))>>0]|0;switch(Q<<24>>24){case 1:{a=h[o>>0]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 2:{a=j[o>>1]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[o+((h[x>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[A>>0]|0)>>>3&255)>>0]|0;a=-1;break}case 4:{a=f[o>>2]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;g=0;i=0;a=0}}X=e&255;Y=g&255;e=i&255;g=a&255;a=(((W(l-X|0,S)|0)>>>0)/255|0)+X|0;i=(((W(m-Y|0,S)|0)>>>0)/255|0)+Y|0;e=(((W(n-e|0,S)|0)>>>0)/255|0)+e|0;g=g+S-(((W(g,S)|0)>>>0)/255|0)|0;switch(Q<<24>>24){case 1:{b[o>>0]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break d}case 2:{d[o>>1]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break d}case 3:{b[o+((h[u>>0]|0)>>>3&255)>>0]=a;b[o+((h[x>>0]|0)>>>3&255)>>0]=i;b[o+((h[A>>0]|0)>>>3&255)>>0]=e;break d}case 4:{f[o>>2]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break d}default:break d}}while(0);c=c+P|0;o=o+R|0;e=55;continue}else if((e|0)==55){switch(O<<24>>24){case 1:{e=h[c>>0]|0;break}case 2:{e=j[c>>1]|0;break}case 3:{e=(h[c+1>>0]|0)<<8|(h[c>>0]|0)|(h[c+2>>0]|0)<<16;break}case 4:{e=f[c>>2]|0;break}default:e=0}e:do if(!(D|(e|0)==(N|0))){l=h[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&e)>>>(h[G>>0]|0))>>0]|0;m=h[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&e)>>>(h[J>>0]|0))>>0]|0;n=h[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&e)>>>(h[r>>0]|0))>>0]|0;switch(Q<<24>>24){case 1:{a=h[o>>0]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 2:{a=j[o>>1]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[o+((h[x>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[A>>0]|0)>>>3&255)>>0]|0;a=-1;break}case 4:{a=f[o>>2]|0;e=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&a)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&a)>>>(h[x>>0]|0))>>0]|0;i=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&a)>>>(h[A>>0]|0))>>0]|0;a=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&a)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;g=0;i=0;a=0}}X=e&255;Y=g&255;e=i&255;g=a&255;a=(((W(l-X|0,S)|0)>>>0)/255|0)+X|0;i=(((W(m-Y|0,S)|0)>>>0)/255|0)+Y|0;e=(((W(n-e|0,S)|0)>>>0)/255|0)+e|0;g=g+S-(((W(g,S)|0)>>>0)/255|0)|0;switch(Q<<24>>24){case 1:{b[o>>0]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break e}case 2:{d[o>>1]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break e}case 3:{b[o+((h[u>>0]|0)>>>3&255)>>0]=a;b[o+((h[x>>0]|0)>>>3&255)>>0]=i;b[o+((h[A>>0]|0)>>>3&255)>>0]=e;break e}case 4:{f[o>>2]=i>>>(h[v>>0]|0)<<(h[x>>0]|0)|a>>>(h[s>>0]|0)<<(h[u>>0]|0)|e>>>(h[y>>0]|0)<<(h[A>>0]|0)|g>>>(h[B>>0]|0)<<(h[q>>0]|0);break e}default:break e}}while(0);c=c+P|0;e=o+R|0;if((p|0)>1){p=p+-1|0;o=e;e=4;continue}else break}if(!k){e=74;break}else{c=c+U|0;e=e+V|0}}if((e|0)!=72)if((e|0)==74)return}function d9a(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;c=f[a+24>>2]|0;e=f[a+28>>2]|0;F=f[a+16>>2]|0;G=f[a+36>>2]|0;B=f[a+48>>2]|0;d=f[a+40>>2]|0;C=b[d+9>>0]|0;D=C&255;if(!e)return;E=(c+3|0)/4|0;A=c&255;n=(f[a+44>>2]|0)+4|0;o=(B|0)==0;p=d+28|0;q=d+12|0;r=d+32|0;s=d+29|0;t=d+16|0;u=d+33|0;v=d+30|0;w=d+20|0;x=d+34|0;y=d+31|0;z=d+24|0;m=d+35|0;c=f[a>>2]|0;i=f[a+20>>2]|0;a:while(1){e=e+-1|0;switch(A&3){case 0:{l=E;k=c;c=4;break}case 3:{l=E;k=c;c=13;break}case 2:{l=E;k=c;c=22;break}case 1:{l=E;k=c;c=31;break}default:{c=40;break a}}while(1)if((c|0)==4){switch(C<<24>>24){case 1:{g=h[k>>0]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 2:{g=j[k>>1]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 3:{c=-1;d=b[k+((h[x>>0]|0)>>>3&255)>>0]|0;a=b[k+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[k+((h[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{g=f[k>>2]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}default:{c=0;d=0;a=0;g=0}}H=c&255;K=f[(f[n>>2]|0)+4>>2]|0;c=h[i>>0]|0;I=h[K+(c<<2)>>0]|0;J=h[K+(c<<2)+1>>0]|0;c=h[K+(c<<2)+2>>0]|0;c=((((W((a&255)-J|0,H)|0)>>>0)/255|0)+J|0)>>>3&28|(((W((g&255)-I|0,H)|0)>>>0)/255|0)+I&224|((((W((d&255)-c|0,H)|0)>>>0)/255|0)+c|0)>>>6&3;if(o)c=c&255;else c=b[B+c>>0]|0;b[i>>0]=c;k=k+D|0;i=i+1|0;c=13;continue}else if((c|0)==13){switch(C<<24>>24){case 1:{g=h[k>>0]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 2:{g=j[k>>1]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 3:{c=-1;d=b[k+((h[x>>0]|0)>>>3&255)>>0]|0;a=b[k+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[k+((h[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{g=f[k>>2]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}default:{c=0;d=0;a=0;g=0}}K=c&255;H=f[(f[n>>2]|0)+4>>2]|0;c=h[i>>0]|0;J=h[H+(c<<2)>>0]|0;I=h[H+(c<<2)+1>>0]|0;c=h[H+(c<<2)+2>>0]|0;c=((((W((a&255)-I|0,K)|0)>>>0)/255|0)+I|0)>>>3&28|(((W((g&255)-J|0,K)|0)>>>0)/255|0)+J&224|((((W((d&255)-c|0,K)|0)>>>0)/255|0)+c|0)>>>6&3;if(o)c=c&255;else c=b[B+c>>0]|0;b[i>>0]=c;k=k+D|0;i=i+1|0;c=22;continue}else if((c|0)==22){switch(C<<24>>24){case 1:{g=h[k>>0]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 2:{g=j[k>>1]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 3:{c=-1;d=b[k+((h[x>>0]|0)>>>3&255)>>0]|0;a=b[k+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[k+((h[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{g=f[k>>2]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}default:{c=0;d=0;a=0;g=0}}K=c&255;H=f[(f[n>>2]|0)+4>>2]|0;c=h[i>>0]|0;J=h[H+(c<<2)>>0]|0;I=h[H+(c<<2)+1>>0]|0;c=h[H+(c<<2)+2>>0]|0;c=((((W((a&255)-I|0,K)|0)>>>0)/255|0)+I|0)>>>3&28|(((W((g&255)-J|0,K)|0)>>>0)/255|0)+J&224|((((W((d&255)-c|0,K)|0)>>>0)/255|0)+c|0)>>>6&3;if(o)c=c&255;else c=b[B+c>>0]|0;b[i>>0]=c;k=k+D|0;i=i+1|0;c=31;continue}else if((c|0)==31){switch(C<<24>>24){case 1:{g=h[k>>0]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 2:{g=j[k>>1]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}case 3:{c=-1;d=b[k+((h[x>>0]|0)>>>3&255)>>0]|0;a=b[k+((h[u>>0]|0)>>>3&255)>>0]|0;g=b[k+((h[r>>0]|0)>>>3&255)>>0]|0;break}case 4:{g=f[k>>2]|0;c=b[(f[234608+((h[y>>0]|0)<<2)>>2]|0)+((f[z>>2]&g)>>>(h[m>>0]|0))>>0]|0;d=b[(f[234608+((h[v>>0]|0)<<2)>>2]|0)+((f[w>>2]&g)>>>(h[x>>0]|0))>>0]|0;a=b[(f[234608+((h[s>>0]|0)<<2)>>2]|0)+((f[t>>2]&g)>>>(h[u>>0]|0))>>0]|0;g=b[(f[234608+((h[p>>0]|0)<<2)>>2]|0)+((f[q>>2]&g)>>>(h[r>>0]|0))>>0]|0;break}default:{c=0;d=0;a=0;g=0}}K=c&255;H=f[(f[n>>2]|0)+4>>2]|0;c=h[i>>0]|0;J=h[H+(c<<2)>>0]|0;I=h[H+(c<<2)+1>>0]|0;c=h[H+(c<<2)+2>>0]|0;c=((((W((a&255)-I|0,K)|0)>>>0)/255|0)+I|0)>>>3&28|(((W((g&255)-J|0,K)|0)>>>0)/255|0)+J&224|((((W((d&255)-c|0,K)|0)>>>0)/255|0)+c|0)>>>6&3;if(o)c=c&255;else c=b[B+c>>0]|0;b[i>>0]=c;d=i+1|0;c=k+D|0;if((l|0)>1){l=l+-1|0;k=c;i=d;c=4;continue}else break}if(!e){c=42;break}else{c=c+F|0;i=d+G|0}}if((c|0)!=40)if((c|0)==42)return}function e9a(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;b=f[a+24>>2]|0;c=f[a+28>>2]|0;l=f[a+16>>2]>>2;j=f[a+36>>2]>>2;if(!c)return;k=(b+3|0)/4|0;i=b&255;b=f[a>>2]|0;a=f[a+20>>2]|0;a:while(1){c=c+-1|0;switch(i&3){case 0:{g=k;e=b;h=4;break}case 3:{g=k;e=b;h=8;break}case 2:{g=k;e=b;h=12;break}case 1:{g=k;e=b;d=a;h=16;break}default:{h=20;break a}}while(1)if((h|0)==4){h=0;b=f[e>>2]|0;d=b>>>24;switch((d&255)<<24>>24){case 0:break;case -1:{h=6;break}default:{m=f[a>>2]|0;h=m&16711935;n=m&65280;b=((W((b&65280)-n|0,d)|0)>>>8)+n&65280|((W(m>>>24,d^255)|0)>>>8)+d<<24|((W((b&16711935)-h|0,d)|0)>>>8)+h&16711935;h=6}}if((h|0)==6)f[a>>2]=b;e=e+4|0;a=a+4|0;h=8;continue}else if((h|0)==8){h=0;b=f[e>>2]|0;d=b>>>24;switch((d&255)<<24>>24){case 0:break;case -1:{h=10;break}default:{n=f[a>>2]|0;h=n&16711935;m=n&65280;b=((W((b&65280)-m|0,d)|0)>>>8)+m&65280|((W(n>>>24,d^255)|0)>>>8)+d<<24|((W((b&16711935)-h|0,d)|0)>>>8)+h&16711935;h=10}}if((h|0)==10)f[a>>2]=b;e=e+4|0;a=a+4|0;h=12;continue}else if((h|0)==12){h=0;b=f[e>>2]|0;d=b>>>24;switch((d&255)<<24>>24){case 0:break;case -1:{h=14;break}default:{n=f[a>>2]|0;h=n&16711935;m=n&65280;b=((W((b&65280)-m|0,d)|0)>>>8)+m&65280|((W(n>>>24,d^255)|0)>>>8)+d<<24|((W((b&16711935)-h|0,d)|0)>>>8)+h&16711935;h=14}}if((h|0)==14)f[a>>2]=b;e=e+4|0;d=a+4|0;h=16;continue}else if((h|0)==16){h=0;b=f[e>>2]|0;a=b>>>24;switch((a&255)<<24>>24){case 0:break;case -1:{h=18;break}default:{n=f[d>>2]|0;h=n&16711935;m=n&65280;b=((W((b&65280)-m|0,a)|0)>>>8)+m&65280|((W(n>>>24,a^255)|0)>>>8)+a<<24|((W((b&16711935)-h|0,a)|0)>>>8)+h&16711935;h=18}}if((h|0)==18)f[d>>2]=b;b=e+4|0;a=d+4|0;if((g|0)>1){g=g+-1|0;e=b;h=4;continue}else break}if(!c){h=22;break}else{b=b+(l<<2)|0;a=a+(j<<2)|0}}if((h|0)!=20)if((h|0)==22)return}function f9a(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;c=f[a+24>>2]|0;e=f[a+28>>2]|0;E=f[a+16>>2]|0;F=f[a+36>>2]|0;z=f[a+48>>2]|0;d=f[a+40>>2]|0;A=b[d+9>>0]|0;B=A&255;C=h[a+63>>0]|0;if(!e)return;D=(c+3|0)/4|0;y=c&255;o=(f[a+44>>2]|0)+4|0;p=(z|0)==0;q=d+28|0;r=d+12|0;s=d+32|0;t=d+29|0;u=d+16|0;v=d+33|0;w=d+30|0;x=d+20|0;n=d+34|0;c=f[a>>2]|0;d=f[a+20>>2]|0;a:while(1){e=e+-1|0;switch(y&3){case 0:{l=D;k=c;m=4;break}case 3:{l=D;k=c;m=14;break}case 2:{l=D;k=c;m=24;break}case 1:{l=D;k=c;m=34;break}default:{m=44;break a}}while(1)if((m|0)==4){m=0;switch(A<<24>>24){case 1:{c=h[k>>0]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=9;break}case 2:{c=j[k>>1]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=9;break}case 3:{a=k+((h[v>>0]|0)>>>3&255)|0;i=k+((h[s>>0]|0)>>>3&255)|0;c=k+((h[n>>0]|0)>>>3&255)|0;m=9;break}case 4:{c=f[k>>2]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=9;break}default:{g=0;a=0;c=0}}if((m|0)==9){g=b[c>>0]|0;a=b[a>>0]|0;c=b[i>>0]|0}H=f[(f[o>>2]|0)+4>>2]|0;m=h[d>>0]|0;i=h[H+(m<<2)>>0]|0;G=h[H+(m<<2)+1>>0]|0;m=h[H+(m<<2)+2>>0]|0;c=((((W((a&255)-G|0,C)|0)>>>0)/255|0)+G|0)>>>3&28|(((W((c&255)-i|0,C)|0)>>>0)/255|0)+i&224|((((W((g&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>6&3;if(p)c=c&255;else c=b[z+c>>0]|0;b[d>>0]=c;k=k+B|0;d=d+1|0;m=14;continue}else if((m|0)==14){m=0;switch(A<<24>>24){case 1:{c=h[k>>0]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=19;break}case 2:{c=j[k>>1]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=19;break}case 3:{a=k+((h[v>>0]|0)>>>3&255)|0;i=k+((h[s>>0]|0)>>>3&255)|0;c=k+((h[n>>0]|0)>>>3&255)|0;m=19;break}case 4:{c=f[k>>2]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=19;break}default:{g=0;a=0;c=0}}if((m|0)==19){g=b[c>>0]|0;a=b[a>>0]|0;c=b[i>>0]|0}i=f[(f[o>>2]|0)+4>>2]|0;H=h[d>>0]|0;G=h[i+(H<<2)>>0]|0;m=h[i+(H<<2)+1>>0]|0;H=h[i+(H<<2)+2>>0]|0;c=((((W((a&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>3&28|(((W((c&255)-G|0,C)|0)>>>0)/255|0)+G&224|((((W((g&255)-H|0,C)|0)>>>0)/255|0)+H|0)>>>6&3;if(p)c=c&255;else c=b[z+c>>0]|0;b[d>>0]=c;k=k+B|0;d=d+1|0;m=24;continue}else if((m|0)==24){m=0;switch(A<<24>>24){case 1:{c=h[k>>0]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=29;break}case 2:{c=j[k>>1]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=29;break}case 3:{a=k+((h[v>>0]|0)>>>3&255)|0;i=k+((h[s>>0]|0)>>>3&255)|0;c=k+((h[n>>0]|0)>>>3&255)|0;m=29;break}case 4:{c=f[k>>2]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=29;break}default:{g=0;a=0;c=0}}if((m|0)==29){g=b[c>>0]|0;a=b[a>>0]|0;c=b[i>>0]|0}i=f[(f[o>>2]|0)+4>>2]|0;H=h[d>>0]|0;G=h[i+(H<<2)>>0]|0;m=h[i+(H<<2)+1>>0]|0;H=h[i+(H<<2)+2>>0]|0;c=((((W((a&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>3&28|(((W((c&255)-G|0,C)|0)>>>0)/255|0)+G&224|((((W((g&255)-H|0,C)|0)>>>0)/255|0)+H|0)>>>6&3;if(p)c=c&255;else c=b[z+c>>0]|0;b[d>>0]=c;k=k+B|0;d=d+1|0;m=34;continue}else if((m|0)==34){m=0;switch(A<<24>>24){case 1:{c=h[k>>0]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=39;break}case 2:{c=j[k>>1]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=39;break}case 3:{a=k+((h[v>>0]|0)>>>3&255)|0;i=k+((h[s>>0]|0)>>>3&255)|0;c=k+((h[n>>0]|0)>>>3&255)|0;m=39;break}case 4:{c=f[k>>2]|0;a=(f[234608+((h[t>>0]|0)<<2)>>2]|0)+((f[u>>2]&c)>>>(h[v>>0]|0))|0;i=(f[234608+((h[q>>0]|0)<<2)>>2]|0)+((f[r>>2]&c)>>>(h[s>>0]|0))|0;c=(f[234608+((h[w>>0]|0)<<2)>>2]|0)+((f[x>>2]&c)>>>(h[n>>0]|0))|0;m=39;break}default:{g=0;a=0;c=0}}if((m|0)==39){g=b[c>>0]|0;a=b[a>>0]|0;c=b[i>>0]|0}i=f[(f[o>>2]|0)+4>>2]|0;H=h[d>>0]|0;G=h[i+(H<<2)>>0]|0;m=h[i+(H<<2)+1>>0]|0;H=h[i+(H<<2)+2>>0]|0;c=((((W((a&255)-m|0,C)|0)>>>0)/255|0)+m|0)>>>3&28|(((W((c&255)-G|0,C)|0)>>>0)/255|0)+G&224|((((W((g&255)-H|0,C)|0)>>>0)/255|0)+H|0)>>>6&3;if(p)c=c&255;else c=b[z+c>>0]|0;b[d>>0]=c;d=d+1|0;c=k+B|0;if((l|0)>1){l=l+-1|0;k=c;m=4;continue}else break}if(!e){m=46;break}else{c=c+E|0;d=d+F|0}}if((m|0)!=44)if((m|0)==46)return}function g9a(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;v=b[a+63>>0]|0;w=v&255;u=f[a+24>>2]|0;i=f[a+28>>2]|0;c=f[a>>2]|0;H=f[a+16>>2]>>2;d=f[a+20>>2]|0;G=f[a+36>>2]>>2;e=i+-1|0;i=(i|0)==0;if(v<<24>>24!=-128){if(i)return;v=(u+3|0)/4|0;k=u&255;if(!(k&3)){while(1){a=v;while(1){E=f[c>>2]|0;D=f[d>>2]|0;F=D&16711935;D=D&65280;F=((W((E&65280)-D|0,w)|0)>>>8)+D&65280|((W((E&16711935)-F|0,w)|0)>>>8)+F&16711935|-16777216;f[d>>2]=F;F=d+4|0;E=f[c+4>>2]|0;D=f[F>>2]|0;C=D&16711935;D=D&65280;C=((W((E&65280)-D|0,w)|0)>>>8)+D&65280|((W((E&16711935)-C|0,w)|0)>>>8)+C&16711935|-16777216;f[F>>2]=C;F=d+8|0;C=f[c+8>>2]|0;E=f[F>>2]|0;D=E&16711935;E=E&65280;D=((W((C&65280)-E|0,w)|0)>>>8)+E&65280|((W((C&16711935)-D|0,w)|0)>>>8)+D&16711935|-16777216;f[F>>2]=D;F=d+12|0;D=f[c+12>>2]|0;C=f[F>>2]|0;E=C&16711935;C=C&65280;E=((W((D&65280)-C|0,w)|0)>>>8)+C&65280|((W((D&16711935)-E|0,w)|0)>>>8)+E&16711935|-16777216;f[F>>2]=E;c=c+16|0;d=d+16|0;if((a|0)<=1)break;else a=a+-1|0}if(!e)break;else{d=d+(G<<2)|0;c=c+(H<<2)|0;e=e+-1|0}}return}g=d;a=c;j=e;a:while(1){switch(k&3){case 1:{p=v;s=g;t=a;g=32;break}case 3:{l=v;n=g;o=a;g=30;break}case 2:{m=v;q=g;r=a;g=31;break}default:{g=33;break a}}while(1)if((g|0)==30){q=f[o>>2]|0;r=f[n>>2]|0;m=r&16711935;r=r&65280;m=((W((q&65280)-r|0,w)|0)>>>8)+r&65280|((W((q&16711935)-m|0,w)|0)>>>8)+m&16711935|-16777216;f[n>>2]=m;m=l;q=n+4|0;r=o+4|0;g=31;continue}else if((g|0)==31){s=f[r>>2]|0;t=f[q>>2]|0;p=t&16711935;t=t&65280;p=((W((s&65280)-t|0,w)|0)>>>8)+t&65280|((W((s&16711935)-p|0,w)|0)>>>8)+p&16711935|-16777216;f[q>>2]=p;p=m;s=q+4|0;t=r+4|0;g=32;continue}else if((g|0)==32){a=f[t>>2]|0;g=f[s>>2]|0;h=g&16711935;g=g&65280;h=((W((a&65280)-g|0,w)|0)>>>8)+g&65280|((W((a&16711935)-h|0,w)|0)>>>8)+h&16711935|-16777216;f[s>>2]=h;h=t+4|0;a=s+4|0;if((p|0)<=1)break;n=f[h>>2]|0;o=f[a>>2]|0;l=o&16711935;o=o&65280;l=((W((n&65280)-o|0,w)|0)>>>8)+o&65280|((W((n&16711935)-l|0,w)|0)>>>8)+l&16711935|-16777216;f[a>>2]=l;l=p+-1|0;n=s+8|0;o=t+8|0;g=30;continue}if(!j){g=35;break}else{g=a+(G<<2)|0;a=h+(H<<2)|0;j=j+-1|0}}if((g|0)!=33)if((g|0)==35)return}if(i)return;j=(u+3|0)/4|0;a=u&255;switch(a&3){case 0:{while(1){a=j;while(1){E=f[c>>2]|0;F=f[d>>2]|0;C=d+4|0;f[d>>2]=(((F&16711422)+(E&16711422)|0)>>>1)+(E&65793&F)|-16777216;F=f[c+4>>2]|0;E=f[C>>2]|0;D=d+8|0;f[C>>2]=(((E&16711422)+(F&16711422)|0)>>>1)+(F&65793&E)|-16777216;C=f[c+8>>2]|0;E=f[D>>2]|0;F=d+12|0;f[D>>2]=(((E&16711422)+(C&16711422)|0)>>>1)+(C&65793&E)|-16777216;D=c;c=c+16|0;D=f[D+12>>2]|0;E=f[F>>2]|0;d=d+16|0;f[F>>2]=(((E&16711422)+(D&16711422)|0)>>>1)+(D&65793&E)|-16777216;if((a|0)<=1)break;else a=a+-1|0}if(!e)break;else{c=c+(H<<2)|0;d=d+(G<<2)|0;e=e+-1|0}}return}case 1:{i=(u|0)>4;g=c;while(1){c=g+4|0;E=f[g>>2]|0;F=f[d>>2]|0;a=d+4|0;f[d>>2]=(((F&16711422)+(E&16711422)|0)>>>1)+(E&65793&F)|-16777216;if(i){h=j;while(1){D=f[c>>2]|0;F=f[a>>2]|0;c=d+8|0;f[a>>2]=(((F&16711422)+(D&16711422)|0)>>>1)+(D&65793&F)|-16777216;F=f[g+8>>2]|0;D=f[c>>2]|0;E=d+12|0;f[c>>2]=(((D&16711422)+(F&16711422)|0)>>>1)+(F&65793&D)|-16777216;c=g;g=g+16|0;D=f[c+12>>2]|0;F=f[E>>2]|0;a=d;d=d+16|0;f[E>>2]=(((F&16711422)+(D&16711422)|0)>>>1)+(D&65793&F)|-16777216;c=c+20|0;E=f[g>>2]|0;F=f[d>>2]|0;a=a+20|0;f[d>>2]=(((F&16711422)+(E&16711422)|0)>>>1)+(E&65793&F)|-16777216;if((h|0)<=2){d=a;break}else h=h+-1|0}}else d=a;if(!e)break;else{g=c+(H<<2)|0;d=d+(G<<2)|0;e=e+-1|0}}return}default:{b:while(1){switch(a&3){case 1:{D=j;E=c;F=d;g=18;break}case 3:{x=j;y=c;z=d;g=16;break}case 2:{A=j;B=c;C=d;g=17;break}default:{g=19;break b}}while(1)if((g|0)==16){B=f[y>>2]|0;A=f[z>>2]|0;f[z>>2]=(((A&16711422)+(B&16711422)|0)>>>1)+(B&65793&A)|-16777216;A=x;B=y+4|0;C=z+4|0;g=17;continue}else if((g|0)==17){E=f[B>>2]|0;D=f[C>>2]|0;f[C>>2]=(((D&16711422)+(E&16711422)|0)>>>1)+(E&65793&D)|-16777216;D=A;E=B+4|0;F=C+4|0;g=18;continue}else if((g|0)==18){c=E+4|0;v=f[E>>2]|0;w=f[F>>2]|0;d=F+4|0;f[F>>2]=(((w&16711422)+(v&16711422)|0)>>>1)+(v&65793&w)|-16777216;if((D|0)<=1)break;y=f[c>>2]|0;x=f[d>>2]|0;f[d>>2]=(((x&16711422)+(y&16711422)|0)>>>1)+(y&65793&x)|-16777216;x=D+-1|0;y=E+8|0;z=F+8|0;g=16;continue}if(!e){g=35;break}else{c=c+(H<<2)|0;d=d+(G<<2)|0;e=e+-1|0}}if((g|0)!=19)if((g|0)==35)return}}}function h9a(a,b){a=a|0;b=b|0;var c=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,x=0;v=f[a+24>>2]|0;e=f[a+28>>2]|0;w=f[a+16>>2]>>1;n=f[a+36>>2]>>1;if(!e)return;o=~b;p=v+-1|0;q=b&65535;r=q<<16|q;s=~r;t=w+-1|0;u=q^65535;c=f[a>>2]|0;a=f[a+20>>2]|0;while(1){e=e+-1|0;g=c;h=a;if(!((g^h)&2)){if(!(g&2))g=v;else{m=d[a>>1]|0;g=d[c>>1]|0;d[a>>1]=(((g&b&65535)+(m&b&65535)|0)>>>1)+(m&o&g&65535);g=p;c=c+2|0;a=a+2|0}if((g|0)>1){j=~g;j=g+2+((j|0)>-4?j:-4)&-2;k=a+4|0;i=g+-2|0;h=c;while(1){l=f[h>>2]|0;m=f[a>>2]|0;f[a>>2]=((m&r)>>>1)+((l&r)>>>1)+(l&s&m);if((g|0)>3){g=g+-2|0;a=a+4|0;h=h+4|0}else break}g=i-j|0;c=c+4+(j<<1)|0;a=k+(j<<1)|0}if(g){l=d[a>>1]|0;m=d[c>>1]|0;d[a>>1]=(((m&b&65535)+(l&b&65535)|0)>>>1)+(l&o&m&65535);c=c+2|0;a=a+2|0}c=c+(w<<1)|0}else{if(!(h&2))g=v;else{m=d[a>>1]|0;g=d[c>>1]|0;d[a>>1]=(((g&b&65535)+(m&b&65535)|0)>>>1)+(m&o&g&65535);g=p;c=c+2|0;a=a+2|0}k=c+2|0;h=f[c+-2>>2]|0;if((g|0)>1){m=~g;m=g+2+((m|0)>-4?m:-4)&-2;l=c+6|0;j=g+-2|0;i=a;c=k;while(1){k=h;h=f[c>>2]|0;x=f[i>>2]|0;k=h<<16|k>>>16;f[i>>2]=((k&r)>>>1)+((x&r)>>>1)+(x&s&k);if((g|0)<=3)break;else{g=g+-2|0;i=i+4|0;c=c+4|0}}g=j-m|0;c=l+(m<<1)|0;a=a+4+(m<<1)|0}else c=k;if(g){x=d[a>>1]|0;m=h>>>16;d[a>>1]=(((m&q)+(x&b&65535)|0)>>>1)+(m&u&(x&65535));c=c+2|0;a=a+2|0}c=c+(t<<1)|0}if(!e)break;else a=a+(n<<1)|0}return}function i9a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;c=f[a+24>>2]|0;g=f[a+28>>2]|0;I=f[a+16>>2]|0;J=f[a+36>>2]|0;e=f[a+44>>2]|0;D=f[(f[(f[a+40>>2]|0)+4>>2]|0)+4>>2]|0;E=h[a+63>>0]|0;F=b[e+9>>0]|0;G=F&255;if(!g)return;H=(c+3|0)/4|0;C=c&255;r=e+28|0;s=e+12|0;t=e+32|0;u=e+29|0;v=e+16|0;w=e+33|0;x=e+30|0;y=e+20|0;z=e+34|0;A=e+31|0;B=e+24|0;q=e+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){g=g+-1|0;switch(C&3){case 0:{p=H;a=4;break}case 3:{p=H;a=15;break}case 2:{p=H;a=26;break}case 1:{p=H;a=37;break}default:{a=48;break a}}while(1)if((a|0)==4){o=h[c>>0]|0;m=h[D+(o<<2)>>0]|0;n=h[D+(o<<2)+1>>0]|0;o=h[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}L=a&255;K=i&255;a=k&255;i=l&255;l=(((W(m-L|0,E)|0)>>>0)/255|0)+L|0;k=(((W(n-K|0,E)|0)>>>0)/255|0)+K|0;a=(((W(o-a|0,E)|0)>>>0)/255|0)+a|0;i=i+E-(((W(i,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+1|0;e=e+G|0;a=15;continue}else if((a|0)==15){o=h[c>>0]|0;m=h[D+(o<<2)>>0]|0;n=h[D+(o<<2)+1>>0]|0;o=h[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}K=a&255;L=i&255;a=k&255;i=l&255;l=(((W(m-K|0,E)|0)>>>0)/255|0)+K|0;k=(((W(n-L|0,E)|0)>>>0)/255|0)+L|0;a=(((W(o-a|0,E)|0)>>>0)/255|0)+a|0;i=i+E-(((W(i,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+1|0;e=e+G|0;a=26;continue}else if((a|0)==26){o=h[c>>0]|0;m=h[D+(o<<2)>>0]|0;n=h[D+(o<<2)+1>>0]|0;o=h[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}K=a&255;L=i&255;a=k&255;i=l&255;l=(((W(m-K|0,E)|0)>>>0)/255|0)+K|0;k=(((W(n-L|0,E)|0)>>>0)/255|0)+L|0;a=(((W(o-a|0,E)|0)>>>0)/255|0)+a|0;i=i+E-(((W(i,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+1|0;e=e+G|0;a=37;continue}else if((a|0)==37){o=h[c>>0]|0;m=h[D+(o<<2)>>0]|0;n=h[D+(o<<2)+1>>0]|0;o=h[D+(o<<2)+2>>0]|0;switch(F<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}K=a&255;L=i&255;a=k&255;i=l&255;l=(((W(m-K|0,E)|0)>>>0)/255|0)+K|0;k=(((W(n-L|0,E)|0)>>>0)/255|0)+L|0;a=(((W(o-a|0,E)|0)>>>0)/255|0)+a|0;i=i+E-(((W(i,E)|0)>>>0)/255|0)|0;switch(F<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break}default:{}}c=c+1|0;e=e+G|0;if((p|0)>1){p=p+-1|0;a=4;continue}else break}if(!g){a=50;break}else{c=c+I|0;e=e+J|0}}if((a|0)!=48)if((a|0)==50)return}function j9a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;c=f[a+24>>2]|0;g=f[a+28>>2]|0;J=f[a+16>>2]|0;K=f[a+36>>2]|0;e=f[a+44>>2]|0;D=f[(f[(f[a+40>>2]|0)+4>>2]|0)+4>>2]|0;E=f[a+56>>2]|0;F=h[a+63>>0]|0;G=b[e+9>>0]|0;H=G&255;if(!g)return;I=(c+7|0)/8|0;C=c&255;r=e+28|0;s=e+12|0;t=e+32|0;u=e+29|0;v=e+16|0;w=e+33|0;x=e+30|0;y=e+20|0;z=e+34|0;A=e+31|0;B=e+24|0;q=e+35|0;c=f[a>>2]|0;e=f[a+20>>2]|0;a:while(1){g=g+-1|0;switch(C&7){case 0:{p=I;a=4;break}case 7:{p=I;a=16;break}case 6:{p=I;a=28;break}case 5:{p=I;a=40;break}case 4:{p=I;o=e;a=52;break}case 3:{p=I;o=e;a=64;break}case 2:{p=I;o=e;a=76;break}case 1:{p=I;o=e;a=88;break}default:{a=100;break a}}while(1)if((a|0)==4){a=h[c>>0]|0;b:do if((E|0)!=(a|0)){m=h[D+(a<<2)>>0]|0;n=h[D+(a<<2)+1>>0]|0;o=h[D+(a<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}M=a&255;L=i&255;a=k&255;i=l&255;l=(((W(m-M|0,F)|0)>>>0)/255|0)+M|0;k=(((W(n-L|0,F)|0)>>>0)/255|0)+L|0;a=(((W(o-a|0,F)|0)>>>0)/255|0)+a|0;i=i+F-(((W(i,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break b}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break b}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break b}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break b}default:break b}}while(0);c=c+1|0;e=e+H|0;a=16;continue}else if((a|0)==16){a=h[c>>0]|0;c:do if((E|0)!=(a|0)){m=h[D+(a<<2)>>0]|0;n=h[D+(a<<2)+1>>0]|0;o=h[D+(a<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}L=a&255;M=i&255;a=k&255;i=l&255;l=(((W(m-L|0,F)|0)>>>0)/255|0)+L|0;k=(((W(n-M|0,F)|0)>>>0)/255|0)+M|0;a=(((W(o-a|0,F)|0)>>>0)/255|0)+a|0;i=i+F-(((W(i,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break c}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break c}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break c}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break c}default:break c}}while(0);c=c+1|0;e=e+H|0;a=28;continue}else if((a|0)==28){a=h[c>>0]|0;d:do if((E|0)!=(a|0)){m=h[D+(a<<2)>>0]|0;n=h[D+(a<<2)+1>>0]|0;o=h[D+(a<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}L=a&255;M=i&255;a=k&255;i=l&255;l=(((W(m-L|0,F)|0)>>>0)/255|0)+L|0;k=(((W(n-M|0,F)|0)>>>0)/255|0)+M|0;a=(((W(o-a|0,F)|0)>>>0)/255|0)+a|0;i=i+F-(((W(i,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break d}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break d}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break d}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break d}default:break d}}while(0);c=c+1|0;e=e+H|0;a=40;continue}else if((a|0)==40){a=h[c>>0]|0;e:do if((E|0)!=(a|0)){m=h[D+(a<<2)>>0]|0;n=h[D+(a<<2)+1>>0]|0;o=h[D+(a<<2)+2>>0]|0;switch(G<<24>>24){case 1:{l=h[e>>0]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 2:{l=j[e>>1]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}case 3:{a=b[e+((h[t>>0]|0)>>>3&255)>>0]|0;i=b[e+((h[w>>0]|0)>>>3&255)>>0]|0;k=b[e+((h[z>>0]|0)>>>3&255)>>0]|0;l=-1;break}case 4:{l=f[e>>2]|0;a=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&l)>>>(h[t>>0]|0))>>0]|0;i=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&l)>>>(h[w>>0]|0))>>0]|0;k=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&l)>>>(h[z>>0]|0))>>0]|0;l=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&l)>>>(h[q>>0]|0))>>0]|0;break}default:{a=0;i=0;k=0;l=0}}L=a&255;M=i&255;a=k&255;i=l&255;l=(((W(m-L|0,F)|0)>>>0)/255|0)+L|0;k=(((W(n-M|0,F)|0)>>>0)/255|0)+M|0;a=(((W(o-a|0,F)|0)>>>0)/255|0)+a|0;i=i+F-(((W(i,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[e>>0]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break e}case 2:{d[e>>1]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break e}case 3:{b[e+((h[t>>0]|0)>>>3&255)>>0]=l;b[e+((h[w>>0]|0)>>>3&255)>>0]=k;b[e+((h[z>>0]|0)>>>3&255)>>0]=a;break e}case 4:{f[e>>2]=k>>>(h[u>>0]|0)<<(h[w>>0]|0)|l>>>(h[r>>0]|0)<<(h[t>>0]|0)|a>>>(h[x>>0]|0)<<(h[z>>0]|0)|i>>>(h[A>>0]|0)<<(h[q>>0]|0);break e}default:break e}}while(0);c=c+1|0;o=e+H|0;a=52;continue}else if((a|0)==52){e=h[c>>0]|0;f:do if((E|0)!=(e|0)){l=h[D+(e<<2)>>0]|0;m=h[D+(e<<2)+1>>0]|0;n=h[D+(e<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=h[o>>0]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 2:{k=j[o>>1]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[t>>0]|0)>>>3&255)>>0]|0;a=b[o+((h[w>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[z>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=f[o>>2]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;a=0;i=0;k=0}}L=e&255;M=a&255;e=i&255;a=k&255;k=(((W(l-L|0,F)|0)>>>0)/255|0)+L|0;i=(((W(m-M|0,F)|0)>>>0)/255|0)+M|0;e=(((W(n-e|0,F)|0)>>>0)/255|0)+e|0;a=a+F-(((W(a,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[o>>0]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break f}case 2:{d[o>>1]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break f}case 3:{b[o+((h[t>>0]|0)>>>3&255)>>0]=k;b[o+((h[w>>0]|0)>>>3&255)>>0]=i;b[o+((h[z>>0]|0)>>>3&255)>>0]=e;break f}case 4:{f[o>>2]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break f}default:break f}}while(0);c=c+1|0;o=o+H|0;a=64;continue}else if((a|0)==64){e=h[c>>0]|0;g:do if((E|0)!=(e|0)){l=h[D+(e<<2)>>0]|0;m=h[D+(e<<2)+1>>0]|0;n=h[D+(e<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=h[o>>0]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 2:{k=j[o>>1]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[t>>0]|0)>>>3&255)>>0]|0;a=b[o+((h[w>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[z>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=f[o>>2]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;a=0;i=0;k=0}}L=e&255;M=a&255;e=i&255;a=k&255;k=(((W(l-L|0,F)|0)>>>0)/255|0)+L|0;i=(((W(m-M|0,F)|0)>>>0)/255|0)+M|0;e=(((W(n-e|0,F)|0)>>>0)/255|0)+e|0;a=a+F-(((W(a,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[o>>0]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break g}case 2:{d[o>>1]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break g}case 3:{b[o+((h[t>>0]|0)>>>3&255)>>0]=k;b[o+((h[w>>0]|0)>>>3&255)>>0]=i;b[o+((h[z>>0]|0)>>>3&255)>>0]=e;break g}case 4:{f[o>>2]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break g}default:break g}}while(0);c=c+1|0;o=o+H|0;a=76;continue}else if((a|0)==76){e=h[c>>0]|0;h:do if((E|0)!=(e|0)){l=h[D+(e<<2)>>0]|0;m=h[D+(e<<2)+1>>0]|0;n=h[D+(e<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=h[o>>0]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 2:{k=j[o>>1]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[t>>0]|0)>>>3&255)>>0]|0;a=b[o+((h[w>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[z>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=f[o>>2]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;a=0;i=0;k=0}}L=e&255;M=a&255;e=i&255;a=k&255;k=(((W(l-L|0,F)|0)>>>0)/255|0)+L|0;i=(((W(m-M|0,F)|0)>>>0)/255|0)+M|0;e=(((W(n-e|0,F)|0)>>>0)/255|0)+e|0;a=a+F-(((W(a,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[o>>0]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break h}case 2:{d[o>>1]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break h}case 3:{b[o+((h[t>>0]|0)>>>3&255)>>0]=k;b[o+((h[w>>0]|0)>>>3&255)>>0]=i;b[o+((h[z>>0]|0)>>>3&255)>>0]=e;break h}case 4:{f[o>>2]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break h}default:break h}}while(0);c=c+1|0;o=o+H|0;a=88;continue}else if((a|0)==88){e=h[c>>0]|0;i:do if((E|0)!=(e|0)){l=h[D+(e<<2)>>0]|0;m=h[D+(e<<2)+1>>0]|0;n=h[D+(e<<2)+2>>0]|0;switch(G<<24>>24){case 1:{k=h[o>>0]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 2:{k=j[o>>1]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}case 3:{e=b[o+((h[t>>0]|0)>>>3&255)>>0]|0;a=b[o+((h[w>>0]|0)>>>3&255)>>0]|0;i=b[o+((h[z>>0]|0)>>>3&255)>>0]|0;k=-1;break}case 4:{k=f[o>>2]|0;e=b[(f[234608+((h[r>>0]|0)<<2)>>2]|0)+((f[s>>2]&k)>>>(h[t>>0]|0))>>0]|0;a=b[(f[234608+((h[u>>0]|0)<<2)>>2]|0)+((f[v>>2]&k)>>>(h[w>>0]|0))>>0]|0;i=b[(f[234608+((h[x>>0]|0)<<2)>>2]|0)+((f[y>>2]&k)>>>(h[z>>0]|0))>>0]|0;k=b[(f[234608+((h[A>>0]|0)<<2)>>2]|0)+((f[B>>2]&k)>>>(h[q>>0]|0))>>0]|0;break}default:{e=0;a=0;i=0;k=0}}L=e&255;M=a&255;e=i&255;a=k&255;k=(((W(l-L|0,F)|0)>>>0)/255|0)+L|0;i=(((W(m-M|0,F)|0)>>>0)/255|0)+M|0;e=(((W(n-e|0,F)|0)>>>0)/255|0)+e|0;a=a+F-(((W(a,F)|0)>>>0)/255|0)|0;switch(G<<24>>24){case 1:{b[o>>0]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break i}case 2:{d[o>>1]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break i}case 3:{b[o+((h[t>>0]|0)>>>3&255)>>0]=k;b[o+((h[w>>0]|0)>>>3&255)>>0]=i;b[o+((h[z>>0]|0)>>>3&255)>>0]=e;break i}case 4:{f[o>>2]=i>>>(h[u>>0]|0)<<(h[w>>0]|0)|k>>>(h[r>>0]|0)<<(h[t>>0]|0)|e>>>(h[x>>0]|0)<<(h[z>>0]|0)|a>>>(h[A>>0]|0)<<(h[q>>0]|0);break i}default:break i}}while(0);c=c+1|0;e=o+H|0;if((p|0)>1){p=p+-1|0;a=4;continue}else break}if(!g){a=102;break}else{c=c+J|0;e=e+K|0}}if((a|0)!=100)if((a|0)==102)return}function k9a(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;e=f[a+24>>2]|0;i=f[a+28>>2]|0;c=f[a>>2]|0;aa=f[a+16>>2]|0;d=f[a+20>>2]|0;$=f[a+36>>2]|0;Z=f[a+48>>2]|0;_=f[a+56>>2]|0;g=i+-1|0;a=(i|0)==0;if(!Z){if(a)return;i=(e+7|0)/8|0;a=e&255;if(!(a&7)){while(1){e=i;a=d;while(1){d=b[c>>0]|0;if((_|0)!=(d&255|0))b[a>>0]=d;d=b[c+1>>0]|0;if((_|0)!=(d&255|0))b[a+1>>0]=d;d=b[c+2>>0]|0;if((_|0)!=(d&255|0))b[a+2>>0]=d;d=b[c+3>>0]|0;if((_|0)!=(d&255|0))b[a+3>>0]=d;d=b[c+4>>0]|0;if((_|0)!=(d&255|0))b[a+4>>0]=d;d=b[c+5>>0]|0;if((_|0)!=(d&255|0))b[a+5>>0]=d;d=b[c+6>>0]|0;if((_|0)!=(d&255|0))b[a+6>>0]=d;d=b[c+7>>0]|0;if((_|0)!=(d&255|0))b[a+7>>0]=d;a=a+8|0;c=c+8|0;if((e|0)<=1)break;else e=e+-1|0}if(!g)break;else{d=a+$|0;c=c+aa|0;g=g+-1|0}}return}a:while(1){switch(a&7){case 1:{x=c;y=d;T=i;c=97;break}case 7:{j=i;k=c;l=d;c=79;break}case 6:{n=c;o=d;z=i;c=82;break}case 5:{p=c;q=d;D=i;c=85;break}case 4:{r=c;s=d;H=i;c=88;break}case 3:{t=c;u=d;L=i;c=91;break}case 2:{v=c;w=d;P=i;c=94;break}default:{c=100;break a}}while(1)if((c|0)==79){c=b[k>>0]|0;if((_|0)!=(c&255|0))b[l>>0]=c;n=k+1|0;o=l+1|0;z=j;c=82;continue}else if((c|0)==82){c=b[n>>0]|0;if((_|0)!=(c&255|0))b[o>>0]=c;p=n+1|0;q=o+1|0;D=z;c=85;continue}else if((c|0)==85){c=b[p>>0]|0;if((_|0)!=(c&255|0))b[q>>0]=c;r=p+1|0;s=q+1|0;H=D;c=88;continue}else if((c|0)==88){c=b[r>>0]|0;if((_|0)!=(c&255|0))b[s>>0]=c;t=r+1|0;u=s+1|0;L=H;c=91;continue}else if((c|0)==91){c=b[t>>0]|0;if((_|0)!=(c&255|0))b[u>>0]=c;v=t+1|0;w=u+1|0;P=L;c=94;continue}else if((c|0)==94){c=b[v>>0]|0;if((_|0)!=(c&255|0))b[w>>0]=c;x=v+1|0;y=w+1|0;T=P;c=97;continue}else if((c|0)==97){c=b[x>>0]|0;if((_|0)!=(c&255|0))b[y>>0]=c;d=y+1|0;c=x+1|0;if((T|0)<=1)break;c=b[c>>0]|0;if((_|0)!=(c&255|0))b[d>>0]=c;j=T+-1|0;k=x+2|0;l=y+2|0;c=79;continue}if(!g){c=102;break}else{d=d+$|0;c=c+aa|0;g=g+-1|0}}if((c|0)!=100)if((c|0)==102)return}else{if(a)return;i=(e+7|0)/8|0;a=e&255;if(!(a&7)){while(1){e=i;a=d;while(1){d=h[c>>0]|0;if((_|0)!=(d|0))b[a>>0]=b[Z+d>>0]|0;d=h[c+1>>0]|0;if((_|0)!=(d|0))b[a+1>>0]=b[Z+d>>0]|0;d=h[c+2>>0]|0;if((_|0)!=(d|0))b[a+2>>0]=b[Z+d>>0]|0;d=h[c+3>>0]|0;if((_|0)!=(d|0))b[a+3>>0]=b[Z+d>>0]|0;d=h[c+4>>0]|0;if((_|0)!=(d|0))b[a+4>>0]=b[Z+d>>0]|0;d=h[c+5>>0]|0;if((_|0)!=(d|0))b[a+5>>0]=b[Z+d>>0]|0;d=h[c+6>>0]|0;if((_|0)!=(d|0))b[a+6>>0]=b[Z+d>>0]|0;d=h[c+7>>0]|0;if((_|0)!=(d|0))b[a+7>>0]=b[Z+d>>0]|0;a=a+8|0;c=c+8|0;if((e|0)<=1)break;else e=e+-1|0}if(!g)break;else{c=c+aa|0;d=a+$|0;g=g+-1|0}}return}b:while(1){switch(a&7){case 1:{U=i;X=c;Y=d;c=47;break}case 7:{m=i;B=c;C=d;c=29;break}case 6:{A=i;F=c;G=d;c=32;break}case 5:{E=i;J=c;K=d;c=35;break}case 4:{I=i;N=c;O=d;c=38;break}case 3:{M=i;R=c;S=d;c=41;break}case 2:{Q=i;V=c;W=d;c=44;break}default:{c=50;break b}}while(1)if((c|0)==29){c=h[B>>0]|0;if((_|0)!=(c|0))b[C>>0]=b[Z+c>>0]|0;A=m;F=B+1|0;G=C+1|0;c=32;continue}else if((c|0)==32){c=h[F>>0]|0;if((_|0)!=(c|0))b[G>>0]=b[Z+c>>0]|0;E=A;J=F+1|0;K=G+1|0;c=35;continue}else if((c|0)==35){c=h[J>>0]|0;if((_|0)!=(c|0))b[K>>0]=b[Z+c>>0]|0;I=E;N=J+1|0;O=K+1|0;c=38;continue}else if((c|0)==38){c=h[N>>0]|0;if((_|0)!=(c|0))b[O>>0]=b[Z+c>>0]|0;M=I;R=N+1|0;S=O+1|0;c=41;continue}else if((c|0)==41){c=h[R>>0]|0;if((_|0)!=(c|0))b[S>>0]=b[Z+c>>0]|0;Q=M;V=R+1|0;W=S+1|0;c=44;continue}else if((c|0)==44){c=h[V>>0]|0;if((_|0)!=(c|0))b[W>>0]=b[Z+c>>0]|0;U=Q;X=V+1|0;Y=W+1|0;c=47;continue}else if((c|0)==47){c=h[X>>0]|0;if((_|0)!=(c|0))b[Y>>0]=b[Z+c>>0]|0;d=Y+1|0;c=X+1|0;if((U|0)<=1)break;c=h[c>>0]|0;if((_|0)!=(c|0))b[d>>0]=b[Z+c>>0]|0;m=U+-1|0;B=X+2|0;C=Y+2|0;c=29;continue}if(!g){c=102;break}else{c=c+aa|0;d=d+$|0;g=g+-1|0}}if((c|0)!=50)if((c|0)==102)return}}function l9a(a){a=a|0;var b=0,c=0,e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;b=f[a+24>>2]|0;l=f[a+28>>2]|0;c=f[a>>2]|0;o=f[a+16>>2]|0;e=f[a+20>>2]|0;m=f[a+48>>2]|0;n=f[a+56>>2]|0;k=(f[a+36>>2]|0)/2|0;g=l+-1|0;if(!l)return;l=(b+7|0)/8|0;j=b&255;if(!(j&7)){a=e;while(1){e=l;b=a;while(1){a=h[c>>0]|0;if((n|0)!=(a|0))d[b>>1]=d[m+(a<<1)>>1]|0;a=h[c+1>>0]|0;if((n|0)!=(a|0))d[b+2>>1]=d[m+(a<<1)>>1]|0;a=h[c+2>>0]|0;if((n|0)!=(a|0))d[b+4>>1]=d[m+(a<<1)>>1]|0;a=h[c+3>>0]|0;if((n|0)!=(a|0))d[b+6>>1]=d[m+(a<<1)>>1]|0;a=h[c+4>>0]|0;if((n|0)!=(a|0))d[b+8>>1]=d[m+(a<<1)>>1]|0;a=h[c+5>>0]|0;if((n|0)!=(a|0))d[b+10>>1]=d[m+(a<<1)>>1]|0;a=h[c+6>>0]|0;if((n|0)!=(a|0))d[b+12>>1]=d[m+(a<<1)>>1]|0;a=h[c+7>>0]|0;if((n|0)!=(a|0))d[b+14>>1]=d[m+(a<<1)>>1]|0;c=c+8|0;b=b+16|0;if((e|0)<=1)break;else e=e+-1|0}if(!g)break;else{c=c+o|0;a=b+(k<<1)|0;g=g+-1|0}}return}a:while(1){switch(j&7){case 1:{i=l;a=46;break}case 7:{b=l;a=28;break}case 6:{b=l;a=31;break}case 5:{b=l;a=34;break}case 4:{b=l;a=37;break}case 3:{b=l;a=40;break}case 2:{b=l;a=43;break}default:{a=49;break a}}while(1)if((a|0)==28){a=h[c>>0]|0;if((n|0)!=(a|0))d[e>>1]=d[m+(a<<1)>>1]|0;e=e+2|0;c=c+1|0;a=31;continue}else if((a|0)==31){a=h[c>>0]|0;if((n|0)!=(a|0))d[e>>1]=d[m+(a<<1)>>1]|0;e=e+2|0;c=c+1|0;a=34;continue}else if((a|0)==34){a=h[c>>0]|0;if((n|0)!=(a|0))d[e>>1]=d[m+(a<<1)>>1]|0;e=e+2|0;c=c+1|0;a=37;continue}else if((a|0)==37){a=h[c>>0]|0;if((n|0)!=(a|0))d[e>>1]=d[m+(a<<1)>>1]|0;e=e+2|0;c=c+1|0;a=40;continue}else if((a|0)==40){a=h[c>>0]|0;if((n|0)!=(a|0))d[e>>1]=d[m+(a<<1)>>1]|0;e=e+2|0;c=c+1|0;a=43;continue}else if((a|0)==43){a=h[c>>0]|0;if((n|0)!=(a|0))d[e>>1]=d[m+(a<<1)>>1]|0;i=b;c=c+1|0;e=e+2|0;a=46;continue}else if((a|0)==46){a=h[c>>0]|0;if((n|0)!=(a|0))d[e>>1]=d[m+(a<<1)>>1]|0;a=c+1|0;b=e+2|0;if((i|0)<=1)break;a=h[a>>0]|0;if((n|0)!=(a|0))d[b>>1]=d[m+(a<<1)>>1]|0;b=i+-1|0;e=e+4|0;c=c+2|0;a=28;continue}if(!g){a=51;break}else{c=a+o|0;e=b+(k<<1)|0;g=g+-1|0}}if((a|0)!=49)if((a|0)==51)return}function m9a(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;c=f[a+24>>2]|0;d=f[a+28>>2]|0;m=f[a+16>>2]|0;n=f[a+36>>2]|0;j=f[a+48>>2]|0;k=f[a+56>>2]|0;if(!d)return;l=(c+7|0)/8|0;i=c&255;e=f[a>>2]|0;a=f[a+20>>2]|0;a:while(1){d=d+-1|0;switch(i&7){case 0:{g=l;c=4;break}case 7:{g=l;c=7;break}case 6:{g=l;c=10;break}case 5:{g=l;c=13;break}case 4:{g=l;c=16;break}case 3:{g=l;c=19;break}case 2:{g=l;c=22;break}case 1:{g=l;c=25;break}default:{c=28;break a}}while(1)if((c|0)==4){c=h[e>>0]|0;if((k|0)!=(c|0)){o=c<<2;c=o|1;b[a>>0]=b[j+o>>0]|0;b[a+1>>0]=b[j+c>>0]|0;b[a+2>>0]=b[j+(c+1)>>0]|0}e=e+1|0;a=a+3|0;c=7;continue}else if((c|0)==7){c=h[e>>0]|0;if((k|0)!=(c|0)){c=c<<2;o=c|1;b[a>>0]=b[j+c>>0]|0;b[a+1>>0]=b[j+o>>0]|0;b[a+2>>0]=b[j+(o+1)>>0]|0}e=e+1|0;a=a+3|0;c=10;continue}else if((c|0)==10){c=h[e>>0]|0;if((k|0)!=(c|0)){c=c<<2;o=c|1;b[a>>0]=b[j+c>>0]|0;b[a+1>>0]=b[j+o>>0]|0;b[a+2>>0]=b[j+(o+1)>>0]|0}e=e+1|0;a=a+3|0;c=13;continue}else if((c|0)==13){c=h[e>>0]|0;if((k|0)!=(c|0)){c=c<<2;o=c|1;b[a>>0]=b[j+c>>0]|0;b[a+1>>0]=b[j+o>>0]|0;b[a+2>>0]=b[j+(o+1)>>0]|0}e=e+1|0;a=a+3|0;c=16;continue}else if((c|0)==16){c=h[e>>0]|0;if((k|0)!=(c|0)){c=c<<2;o=c|1;b[a>>0]=b[j+c>>0]|0;b[a+1>>0]=b[j+o>>0]|0;b[a+2>>0]=b[j+(o+1)>>0]|0}e=e+1|0;a=a+3|0;c=19;continue}else if((c|0)==19){c=h[e>>0]|0;if((k|0)!=(c|0)){c=c<<2;o=c|1;b[a>>0]=b[j+c>>0]|0;b[a+1>>0]=b[j+o>>0]|0;b[a+2>>0]=b[j+(o+1)>>0]|0}e=e+1|0;a=a+3|0;c=22;continue}else if((c|0)==22){c=h[e>>0]|0;if((k|0)!=(c|0)){c=c<<2;o=c|1;b[a>>0]=b[j+c>>0]|0;b[a+1>>0]=b[j+o>>0]|0;b[a+2>>0]=b[j+(o+1)>>0]|0}e=e+1|0;a=a+3|0;c=25;continue}else if((c|0)==25){c=h[e>>0]|0;if((k|0)!=(c|0)){c=c<<2;o=c|1;b[a>>0]=b[j+c>>0]|0;b[a+1>>0]=b[j+o>>0]|0;b[a+2>>0]=b[j+(o+1)>>0]|0}c=e+1|0;a=a+3|0;if((g|0)>1){g=g+-1|0;e=c;c=4;continue}else break}if(!d){c=30;break}else{e=c+m|0;a=a+n|0}}if((c|0)!=28)if((c|0)==30)return}function n9a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;b=f[a+24>>2]|0;k=f[a+28>>2]|0;c=f[a>>2]|0;n=f[a+16>>2]|0;d=f[a+20>>2]|0;l=f[a+48>>2]|0;m=f[a+56>>2]|0;j=(f[a+36>>2]|0)/4|0;e=k+-1|0;if(!k)return;k=(b+7|0)/8|0;i=b&255;if(!(i&7)){a=d;while(1){d=k;b=a;while(1){a=h[c>>0]|0;if((m|0)!=(a|0))f[b>>2]=f[l+(a<<2)>>2];a=h[c+1>>0]|0;if((m|0)!=(a|0))f[b+4>>2]=f[l+(a<<2)>>2];a=h[c+2>>0]|0;if((m|0)!=(a|0))f[b+8>>2]=f[l+(a<<2)>>2];a=h[c+3>>0]|0;if((m|0)!=(a|0))f[b+12>>2]=f[l+(a<<2)>>2];a=h[c+4>>0]|0;if((m|0)!=(a|0))f[b+16>>2]=f[l+(a<<2)>>2];a=h[c+5>>0]|0;if((m|0)!=(a|0))f[b+20>>2]=f[l+(a<<2)>>2];a=h[c+6>>0]|0;if((m|0)!=(a|0))f[b+24>>2]=f[l+(a<<2)>>2];a=h[c+7>>0]|0;if((m|0)!=(a|0))f[b+28>>2]=f[l+(a<<2)>>2];c=c+8|0;b=b+32|0;if((d|0)<=1)break;else d=d+-1|0}if(!e)break;else{c=c+n|0;a=b+(j<<2)|0;e=e+-1|0}}return}a:while(1){switch(i&7){case 1:{g=k;a=46;break}case 7:{b=k;a=28;break}case 6:{b=k;a=31;break}case 5:{b=k;a=34;break}case 4:{b=k;a=37;break}case 3:{b=k;a=40;break}case 2:{b=k;a=43;break}default:{a=49;break a}}while(1)if((a|0)==28){a=h[c>>0]|0;if((m|0)!=(a|0))f[d>>2]=f[l+(a<<2)>>2];d=d+4|0;c=c+1|0;a=31;continue}else if((a|0)==31){a=h[c>>0]|0;if((m|0)!=(a|0))f[d>>2]=f[l+(a<<2)>>2];d=d+4|0;c=c+1|0;a=34;continue}else if((a|0)==34){a=h[c>>0]|0;if((m|0)!=(a|0))f[d>>2]=f[l+(a<<2)>>2];d=d+4|0;c=c+1|0;a=37;continue}else if((a|0)==37){a=h[c>>0]|0;if((m|0)!=(a|0))f[d>>2]=f[l+(a<<2)>>2];d=d+4|0;c=c+1|0;a=40;continue}else if((a|0)==40){a=h[c>>0]|0;if((m|0)!=(a|0))f[d>>2]=f[l+(a<<2)>>2];d=d+4|0;c=c+1|0;a=43;continue}else if((a|0)==43){a=h[c>>0]|0;if((m|0)!=(a|0))f[d>>2]=f[l+(a<<2)>>2];g=b;c=c+1|0;d=d+4|0;a=46;continue}else if((a|0)==46){a=h[c>>0]|0;if((m|0)!=(a|0))f[d>>2]=f[l+(a<<2)>>2];a=c+1|0;b=d+4|0;if((g|0)<=1)break;a=h[a>>0]|0;if((m|0)!=(a|0))f[b>>2]=f[l+(a<<2)>>2];b=g+-1|0;d=d+8|0;c=c+2|0;a=28;continue}if(!e){a=51;break}else{c=a+n|0;d=b+(j<<2)|0;e=e+-1|0}}if((a|0)!=49)if((a|0)==51)return}function o9a(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;d=f[a+24>>2]|0;l=f[a+28>>2]|0;e=f[a>>2]|0;n=f[a+16>>2]|0;c=f[a+20>>2]|0;m=f[a+36>>2]|0;k=f[a+48>>2]|0;i=l+-1|0;if(!l)return;l=(d+7|0)/8|0;j=d&255;switch(j&7){case 0:{a=e;e=i;while(1){d=l;while(1){b[c>>0]=b[k+(h[a>>0]|0)>>0]|0;b[c+1>>0]=b[k+(h[a+1>>0]|0)>>0]|0;b[c+2>>0]=b[k+(h[a+2>>0]|0)>>0]|0;b[c+3>>0]=b[k+(h[a+3>>0]|0)>>0]|0;b[c+4>>0]=b[k+(h[a+4>>0]|0)>>0]|0;b[c+5>>0]=b[k+(h[a+5>>0]|0)>>0]|0;b[c+6>>0]=b[k+(h[a+6>>0]|0)>>0]|0;b[c+7>>0]=b[k+(h[a+7>>0]|0)>>0]|0;c=c+8|0;a=a+8|0;if((d|0)<=1)break;else d=d+-1|0}if(!e)break;else{a=a+n|0;c=c+m|0;e=e+-1|0}}return}case 7:{while(1){g=l;while(1){b[c>>0]=b[k+(h[e>>0]|0)>>0]|0;b[c+1>>0]=b[k+(h[e+1>>0]|0)>>0]|0;b[c+2>>0]=b[k+(h[e+2>>0]|0)>>0]|0;b[c+3>>0]=b[k+(h[e+3>>0]|0)>>0]|0;b[c+4>>0]=b[k+(h[e+4>>0]|0)>>0]|0;b[c+5>>0]=b[k+(h[e+5>>0]|0)>>0]|0;b[c+6>>0]=b[k+(h[e+6>>0]|0)>>0]|0;d=c+7|0;a=e+7|0;if((g|0)<=1)break;b[d>>0]=b[k+(h[a>>0]|0)>>0]|0;g=g+-1|0;e=e+8|0;c=c+8|0}if(!i)break;else{e=a+n|0;c=d+m|0;i=i+-1|0}}return}default:{a:while(1){switch(j&7){case 1:{g=l;d=20;break}case 2:{a=l;d=19;break}case 6:{a=l;d=15;break}case 5:{a=l;d=16;break}case 4:{a=l;d=17;break}case 3:{a=l;d=18;break}default:{d=21;break a}}while(1)if((d|0)==15){b[c>>0]=b[k+(h[e>>0]|0)>>0]|0;e=e+1|0;c=c+1|0;d=16;continue}else if((d|0)==16){b[c>>0]=b[k+(h[e>>0]|0)>>0]|0;e=e+1|0;c=c+1|0;d=17;continue}else if((d|0)==17){b[c>>0]=b[k+(h[e>>0]|0)>>0]|0;e=e+1|0;c=c+1|0;d=18;continue}else if((d|0)==18){b[c>>0]=b[k+(h[e>>0]|0)>>0]|0;e=e+1|0;c=c+1|0;d=19;continue}else if((d|0)==19){b[c>>0]=b[k+(h[e>>0]|0)>>0]|0;g=a;e=e+1|0;c=c+1|0;d=20;continue}else if((d|0)==20){b[c>>0]=b[k+(h[e>>0]|0)>>0]|0;d=c+1|0;a=e+1|0;if((g|0)<=1)break;b[d>>0]=b[k+(h[a>>0]|0)>>0]|0;b[c+2>>0]=b[k+(h[e+2>>0]|0)>>0]|0;a=g+-1|0;e=e+3|0;c=c+3|0;d=15;continue}if(!i){d=23;break}else{e=a+n|0;c=d+m|0;i=i+-1|0}}if((d|0)!=21)if((d|0)==23)return}}}function p9a(a){a=a|0;var b=0,c=0,e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;c=f[a+24>>2]|0;l=f[a+28>>2]|0;e=f[a>>2]|0;n=f[a+16>>2]|0;b=f[a+20>>2]|0;m=f[a+36>>2]|0;k=f[a+48>>2]|0;i=l+-1|0;if(!l)return;l=(c+7|0)/8|0;j=c&255;switch(j&7){case 0:{a=e;e=i;while(1){c=l;while(1){d[b>>1]=d[k+((h[a>>0]|0)<<1)>>1]|0;d[b+2>>1]=d[k+((h[a+1>>0]|0)<<1)>>1]|0;d[b+4>>1]=d[k+((h[a+2>>0]|0)<<1)>>1]|0;d[b+6>>1]=d[k+((h[a+3>>0]|0)<<1)>>1]|0;d[b+8>>1]=d[k+((h[a+4>>0]|0)<<1)>>1]|0;d[b+10>>1]=d[k+((h[a+5>>0]|0)<<1)>>1]|0;d[b+12>>1]=d[k+((h[a+6>>0]|0)<<1)>>1]|0;j=a;a=a+8|0;d[b+14>>1]=d[k+((h[j+7>>0]|0)<<1)>>1]|0;b=b+16|0;if((c|0)<=1)break;else c=c+-1|0}if(!e)break;else{a=a+n|0;b=b+m|0;e=e+-1|0}}return}case 7:{while(1){g=l;while(1){d[b>>1]=d[k+((h[e>>0]|0)<<1)>>1]|0;d[b+2>>1]=d[k+((h[e+1>>0]|0)<<1)>>1]|0;d[b+4>>1]=d[k+((h[e+2>>0]|0)<<1)>>1]|0;d[b+6>>1]=d[k+((h[e+3>>0]|0)<<1)>>1]|0;d[b+8>>1]=d[k+((h[e+4>>0]|0)<<1)>>1]|0;d[b+10>>1]=d[k+((h[e+5>>0]|0)<<1)>>1]|0;a=e+7|0;d[b+12>>1]=d[k+((h[e+6>>0]|0)<<1)>>1]|0;c=b+14|0;if((g|0)<=1)break;d[c>>1]=d[k+((h[a>>0]|0)<<1)>>1]|0;g=g+-1|0;e=e+8|0;b=b+16|0}if(!i)break;else{e=a+n|0;b=c+m|0;i=i+-1|0}}return}default:{a:while(1){switch(j&7){case 1:{g=l;c=20;break}case 2:{a=l;c=19;break}case 6:{a=l;c=15;break}case 5:{a=l;c=16;break}case 4:{a=l;c=17;break}case 3:{a=l;c=18;break}default:{c=21;break a}}while(1)if((c|0)==15){d[b>>1]=d[k+((h[e>>0]|0)<<1)>>1]|0;e=e+1|0;b=b+2|0;c=16;continue}else if((c|0)==16){d[b>>1]=d[k+((h[e>>0]|0)<<1)>>1]|0;e=e+1|0;b=b+2|0;c=17;continue}else if((c|0)==17){d[b>>1]=d[k+((h[e>>0]|0)<<1)>>1]|0;e=e+1|0;b=b+2|0;c=18;continue}else if((c|0)==18){d[b>>1]=d[k+((h[e>>0]|0)<<1)>>1]|0;e=e+1|0;b=b+2|0;c=19;continue}else if((c|0)==19){d[b>>1]=d[k+((h[e>>0]|0)<<1)>>1]|0;g=a;e=e+1|0;b=b+2|0;c=20;continue}else if((c|0)==20){a=e+1|0;d[b>>1]=d[k+((h[e>>0]|0)<<1)>>1]|0;c=b+2|0;if((g|0)<=1)break;d[c>>1]=d[k+((h[a>>0]|0)<<1)>>1]|0;d[b+4>>1]=d[k+((h[e+2>>0]|0)<<1)>>1]|0;a=g+-1|0;e=e+3|0;b=b+6|0;c=15;continue}if(!i){c=23;break}else{e=a+n|0;b=c+m|0;i=i+-1|0}}if((c|0)!=21)if((c|0)==23)return}}}function q9a(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;d=f[a+24>>2]|0;l=f[a+28>>2]|0;c=f[a>>2]|0;n=f[a+16>>2]|0;g=f[a+20>>2]|0;m=f[a+36>>2]|0;k=f[a+48>>2]|0;e=l+-1|0;if(!l)return;l=(d+7|0)/8|0;j=d&255;if(!(j&7)){a=g;while(1){d=l;while(1){j=(h[c>>0]|0)<<2;i=j|1;b[a>>0]=b[k+j>>0]|0;b[a+1>>0]=b[k+i>>0]|0;b[a+2>>0]=b[k+(i+1)>>0]|0;i=(h[c+1>>0]|0)<<2;j=i|1;b[a+3>>0]=b[k+i>>0]|0;b[a+4>>0]=b[k+j>>0]|0;b[a+5>>0]=b[k+(j+1)>>0]|0;j=(h[c+2>>0]|0)<<2;i=j|1;b[a+6>>0]=b[k+j>>0]|0;b[a+7>>0]=b[k+i>>0]|0;b[a+8>>0]=b[k+(i+1)>>0]|0;i=(h[c+3>>0]|0)<<2;j=i|1;b[a+9>>0]=b[k+i>>0]|0;b[a+10>>0]=b[k+j>>0]|0;b[a+11>>0]=b[k+(j+1)>>0]|0;j=(h[c+4>>0]|0)<<2;i=j|1;b[a+12>>0]=b[k+j>>0]|0;b[a+13>>0]=b[k+i>>0]|0;b[a+14>>0]=b[k+(i+1)>>0]|0;i=(h[c+5>>0]|0)<<2;j=i|1;b[a+15>>0]=b[k+i>>0]|0;b[a+16>>0]=b[k+j>>0]|0;b[a+17>>0]=b[k+(j+1)>>0]|0;j=(h[c+6>>0]|0)<<2;i=j|1;b[a+18>>0]=b[k+j>>0]|0;b[a+19>>0]=b[k+i>>0]|0;b[a+20>>0]=b[k+(i+1)>>0]|0;i=(h[c+7>>0]|0)<<2;j=i|1;b[a+21>>0]=b[k+i>>0]|0;b[a+22>>0]=b[k+j>>0]|0;b[a+23>>0]=b[k+(j+1)>>0]|0;c=c+8|0;a=a+24|0;if((d|0)<=1)break;else d=d+-1|0}if(!e)break;else{a=a+m|0;c=c+n|0;e=e+-1|0}}return}a:while(1){switch(j&7){case 1:{i=l;d=16;break}case 7:{a=l;d=10;break}case 6:{a=l;d=11;break}case 5:{a=l;d=12;break}case 4:{a=l;d=13;break}case 3:{a=l;d=14;break}case 2:{a=l;d=15;break}default:{d=17;break a}}while(1)if((d|0)==10){o=(h[c>>0]|0)<<2;i=o|1;b[g>>0]=b[k+o>>0]|0;b[g+1>>0]=b[k+i>>0]|0;b[g+2>>0]=b[k+(i+1)>>0]|0;g=g+3|0;c=c+1|0;d=11;continue}else if((d|0)==11){i=(h[c>>0]|0)<<2;o=i|1;b[g>>0]=b[k+i>>0]|0;b[g+1>>0]=b[k+o>>0]|0;b[g+2>>0]=b[k+(o+1)>>0]|0;g=g+3|0;c=c+1|0;d=12;continue}else if((d|0)==12){i=(h[c>>0]|0)<<2;o=i|1;b[g>>0]=b[k+i>>0]|0;b[g+1>>0]=b[k+o>>0]|0;b[g+2>>0]=b[k+(o+1)>>0]|0;g=g+3|0;c=c+1|0;d=13;continue}else if((d|0)==13){i=(h[c>>0]|0)<<2;o=i|1;b[g>>0]=b[k+i>>0]|0;b[g+1>>0]=b[k+o>>0]|0;b[g+2>>0]=b[k+(o+1)>>0]|0;g=g+3|0;c=c+1|0;d=14;continue}else if((d|0)==14){i=(h[c>>0]|0)<<2;o=i|1;b[g>>0]=b[k+i>>0]|0;b[g+1>>0]=b[k+o>>0]|0;b[g+2>>0]=b[k+(o+1)>>0]|0;g=g+3|0;c=c+1|0;d=15;continue}else if((d|0)==15){o=(h[c>>0]|0)<<2;i=o|1;b[g>>0]=b[k+o>>0]|0;b[g+1>>0]=b[k+i>>0]|0;b[g+2>>0]=b[k+(i+1)>>0]|0;i=a;g=g+3|0;c=c+1|0;d=16;continue}else if((d|0)==16){a=(h[c>>0]|0)<<2;d=a|1;b[g>>0]=b[k+a>>0]|0;b[g+1>>0]=b[k+d>>0]|0;b[g+2>>0]=b[k+(d+1)>>0]|0;d=c+1|0;a=g+3|0;if((i|0)<=1)break;o=(h[d>>0]|0)<<2;d=o|1;b[a>>0]=b[k+o>>0]|0;b[g+4>>0]=b[k+d>>0]|0;b[g+5>>0]=b[k+(d+1)>>0]|0;a=i+-1|0;g=g+6|0;c=c+2|0;d=10;continue}if(!e){d=19;break}else{g=a+m|0;c=d+n|0;e=e+-1|0}}if((d|0)!=17)if((d|0)==19)return}function r9a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,i=0,j=0,k=0,l=0,m=0;c=f[a+24>>2]|0;k=f[a+28>>2]|0;d=f[a>>2]|0;m=f[a+16>>2]|0;b=f[a+20>>2]|0;l=(f[a+36>>2]|0)/4|0;j=f[a+48>>2]|0;g=k+-1|0;if(!k)return;k=(c+7|0)/8|0;i=c&255;switch(i&7){case 0:{a=d;d=g;while(1){c=k;while(1){f[b>>2]=f[j+((h[a>>0]|0)<<2)>>2];f[b+4>>2]=f[j+((h[a+1>>0]|0)<<2)>>2];f[b+8>>2]=f[j+((h[a+2>>0]|0)<<2)>>2];f[b+12>>2]=f[j+((h[a+3>>0]|0)<<2)>>2];f[b+16>>2]=f[j+((h[a+4>>0]|0)<<2)>>2];f[b+20>>2]=f[j+((h[a+5>>0]|0)<<2)>>2];f[b+24>>2]=f[j+((h[a+6>>0]|0)<<2)>>2];g=a;a=a+8|0;i=b;b=b+32|0;f[i+28>>2]=f[j+((h[g+7>>0]|0)<<2)>>2];if((c|0)<=1)break;else c=c+-1|0}if(!d)break;else{a=a+m|0;b=b+(l<<2)|0;d=d+-1|0}}return}case 7:{while(1){e=k;while(1){f[b>>2]=f[j+((h[d>>0]|0)<<2)>>2];f[b+4>>2]=f[j+((h[d+1>>0]|0)<<2)>>2];f[b+8>>2]=f[j+((h[d+2>>0]|0)<<2)>>2];f[b+12>>2]=f[j+((h[d+3>>0]|0)<<2)>>2];f[b+16>>2]=f[j+((h[d+4>>0]|0)<<2)>>2];f[b+20>>2]=f[j+((h[d+5>>0]|0)<<2)>>2];a=d+7|0;c=b+28|0;f[b+24>>2]=f[j+((h[d+6>>0]|0)<<2)>>2];if((e|0)<=1)break;f[c>>2]=f[j+((h[a>>0]|0)<<2)>>2];e=e+-1|0;d=d+8|0;b=b+32|0}if(!g)break;else{d=a+m|0;b=c+(l<<2)|0;g=g+-1|0}}return}default:{a:while(1){switch(i&7){case 1:{e=k;c=20;break}case 2:{a=k;c=19;break}case 6:{a=k;c=15;break}case 5:{a=k;c=16;break}case 4:{a=k;c=17;break}case 3:{a=k;c=18;break}default:{c=21;break a}}while(1)if((c|0)==15){f[b>>2]=f[j+((h[d>>0]|0)<<2)>>2];d=d+1|0;b=b+4|0;c=16;continue}else if((c|0)==16){f[b>>2]=f[j+((h[d>>0]|0)<<2)>>2];d=d+1|0;b=b+4|0;c=17;continue}else if((c|0)==17){f[b>>2]=f[j+((h[d>>0]|0)<<2)>>2];d=d+1|0;b=b+4|0;c=18;continue}else if((c|0)==18){f[b>>2]=f[j+((h[d>>0]|0)<<2)>>2];d=d+1|0;b=b+4|0;c=19;continue}else if((c|0)==19){f[b>>2]=f[j+((h[d>>0]|0)<<2)>>2];e=a;d=d+1|0;b=b+4|0;c=20;continue}else if((c|0)==20){a=d+1|0;c=b+4|0;f[b>>2]=f[j+((h[d>>0]|0)<<2)>>2];if((e|0)<=1)break;f[c>>2]=f[j+((h[a>>0]|0)<<2)>>2];f[b+8>>2]=f[j+((h[d+2>>0]|0)<<2)>>2];a=e+-1|0;d=d+3|0;b=b+12|0;c=15;continue}if(!g){c=23;break}else{d=a+m|0;b=c+(l<<2)|0;g=g+-1|0}}if((c|0)!=21)if((c|0)==23)return}}}function s9a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;w=f[a+24>>2]|0;e=f[a+28>>2]|0;M=f[a+36>>2]|0;u=f[(f[(f[a+40>>2]|0)+4>>2]|0)+4>>2]|0;c=f[a+44>>2]|0;v=h[a+63>>0]|0;x=b[c+9>>0]|0;y=x&255;z=((w+7|0)/-8|0)+w+(f[a+16>>2]|0)|0;if(!e)return;A=(w|0)>0;B=c+28|0;C=c+12|0;D=c+32|0;E=c+29|0;F=c+16|0;G=c+33|0;H=c+30|0;I=c+20|0;J=c+34|0;K=c+31|0;L=c+24|0;s=c+35|0;t=W(w,y)|0;c=f[a>>2]|0;a=f[a+20>>2]|0;while(1){e=e+-1|0;if(A){g=0;q=0;r=a;while(1){if(!(q&7)){g=b[c>>0]|0;c=c+1|0}p=g&255;o=(g&255)>>>7&255;m=h[u+(o<<2)>>0]|0;n=h[u+(o<<2)+1>>0]|0;o=h[u+(o<<2)+2>>0]|0;switch(x<<24>>24){case 1:{l=h[r>>0]|0;g=b[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&l)>>>(h[s>>0]|0))>>0]|0;i=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&l)>>>(h[J>>0]|0))>>0]|0;k=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&l)>>>(h[G>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[D>>0]|0))>>0]|0;break}case 2:{l=j[r>>1]|0;g=b[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&l)>>>(h[s>>0]|0))>>0]|0;i=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&l)>>>(h[J>>0]|0))>>0]|0;k=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&l)>>>(h[G>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[D>>0]|0))>>0]|0;break}case 3:{g=-1;i=b[r+((h[J>>0]|0)>>>3&255)>>0]|0;k=b[r+((h[G>>0]|0)>>>3&255)>>0]|0;l=b[r+((h[D>>0]|0)>>>3&255)>>0]|0;break}case 4:{l=f[r>>2]|0;g=b[(f[234608+((h[K>>0]|0)<<2)>>2]|0)+((f[L>>2]&l)>>>(h[s>>0]|0))>>0]|0;i=b[(f[234608+((h[H>>0]|0)<<2)>>2]|0)+((f[I>>2]&l)>>>(h[J>>0]|0))>>0]|0;k=b[(f[234608+((h[E>>0]|0)<<2)>>2]|0)+((f[F>>2]&l)>>>(h[G>>0]|0))>>0]|0;l=b[(f[234608+((h[B>>0]|0)<<2)>>2]|0)+((f[C>>2]&l)>>>(h[D>>0]|0))>>0]|0;break}default:{g=0;i=0;k=0;l=0}}N=g&255;g=i&255;k=k&255;l=l&255;l=(((W(m-l|0,v)|0)>>>0)/255|0)+l|0;k=(((W(n-k|0,v)|0)>>>0)/255|0)+k|0;g=(((W(o-g|0,v)|0)>>>0)/255|0)+g|0;i=N+v-(((W(N,v)|0)>>>0)/255|0)|0;switch(x<<24>>24){case 1:{b[r>>0]=k>>>(h[E>>0]|0)<<(h[G>>0]|0)|l>>>(h[B>>0]|0)<<(h[D>>0]|0)|g>>>(h[H>>0]|0)<<(h[J>>0]|0)|i>>>(h[K>>0]|0)<<(h[s>>0]|0);break}case 2:{d[r>>1]=k>>>(h[E>>0]|0)<<(h[G>>0]|0)|l>>>(h[B>>0]|0)<<(h[D>>0]|0)|g>>>(h[H>>0]|0)<<(h[J>>0]|0)|i>>>(h[K>>0]|0)<<(h[s>>0]|0);break}case 3:{b[r+((h[D>>0]|0)>>>3&255)>>0]=l;b[r+((h[G>>0]|0)>>>3&255)>>0]=k;b[r+((h[J>>0]|0)>>>3&255)>>0]=g;break}case 4:{f[r>>2]=k>>>(h[E>>0]|0)<<(h[G>>0]|0)|l>>>(h[B>>0]|0)<<(h[D>>0]|0)|g>>>(h[H>>0]|0)<<(h[J>>0]|0)|i>>>(h[K>>0]|0)<<(h[s>>0]|0);break}default:{}}q=q+1|0;if((q|0)==(w|0))break;else{g=p<<1&255;r=r+y|0}}a=a+t|0}if(!e)break;else{c=c+z|0;a=a+M|0}}return}function t9a(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;w=f[a+24>>2]|0;e=f[a+28>>2]|0;N=f[a+36>>2]|0;c=f[a+44>>2]|0;u=f[(f[(f[a+40>>2]|0)+4>>2]|0)+4>>2]|0;v=h[a+63>>0]|0;x=f[a+56>>2]|0;y=b[c+9>>0]|0;z=y&255;A=((w+7|0)/-8|0)+w+(f[a+16>>2]|0)|0;if(!e)return;B=(w|0)>0;C=c+28|0;D=c+12|0;E=c+32|0;F=c+29|0;G=c+16|0;H=c+33|0;I=c+30|0;J=c+20|0;K=c+34|0;L=c+31|0;M=c+24|0;s=c+35|0;t=W(w,z)|0;c=f[a>>2]|0;a=f[a+20>>2]|0;while(1){e=e+-1|0;if(B){g=0;q=0;r=a;while(1){if(!(q&7)){g=b[c>>0]|0;c=c+1|0}p=g&255;g=(g&255)>>>7&255;a:do if((x|0)!=(g|0)){m=h[u+(g<<2)>>0]|0;n=h[u+(g<<2)+1>>0]|0;o=h[u+(g<<2)+2>>0]|0;switch(y<<24>>24){case 1:{l=h[r>>0]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[M>>2]&l)>>>(h[s>>0]|0))>>0]|0;i=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&l)>>>(h[K>>0]|0))>>0]|0;k=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&l)>>>(h[H>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[E>>0]|0))>>0]|0;break}case 2:{l=j[r>>1]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[M>>2]&l)>>>(h[s>>0]|0))>>0]|0;i=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&l)>>>(h[K>>0]|0))>>0]|0;k=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&l)>>>(h[H>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[E>>0]|0))>>0]|0;break}case 3:{g=-1;i=b[r+((h[K>>0]|0)>>>3&255)>>0]|0;k=b[r+((h[H>>0]|0)>>>3&255)>>0]|0;l=b[r+((h[E>>0]|0)>>>3&255)>>0]|0;break}case 4:{l=f[r>>2]|0;g=b[(f[234608+((h[L>>0]|0)<<2)>>2]|0)+((f[M>>2]&l)>>>(h[s>>0]|0))>>0]|0;i=b[(f[234608+((h[I>>0]|0)<<2)>>2]|0)+((f[J>>2]&l)>>>(h[K>>0]|0))>>0]|0;k=b[(f[234608+((h[F>>0]|0)<<2)>>2]|0)+((f[G>>2]&l)>>>(h[H>>0]|0))>>0]|0;l=b[(f[234608+((h[C>>0]|0)<<2)>>2]|0)+((f[D>>2]&l)>>>(h[E>>0]|0))>>0]|0;break}default:{g=0;i=0;k=0;l=0}}O=g&255;g=i&255;k=k&255;l=l&255;l=(((W(m-l|0,v)|0)>>>0)/255|0)+l|0;k=(((W(n-k|0,v)|0)>>>0)/255|0)+k|0;g=(((W(o-g|0,v)|0)>>>0)/255|0)+g|0;i=O+v-(((W(O,v)|0)>>>0)/255|0)|0;switch(y<<24>>24){case 1:{b[r>>0]=k>>>(h[F>>0]|0)<<(h[H>>0]|0)|l>>>(h[C>>0]|0)<<(h[E>>0]|0)|g>>>(h[I>>0]|0)<<(h[K>>0]|0)|i>>>(h[L>>0]|0)<<(h[s>>0]|0);break a}case 2:{d[r>>1]=k>>>(h[F>>0]|0)<<(h[H>>0]|0)|l>>>(h[C>>0]|0)<<(h[E>>0]|0)|g>>>(h[I>>0]|0)<<(h[K>>0]|0)|i>>>(h[L>>0]|0)<<(h[s>>0]|0);break a}case 3:{b[r+((h[E>>0]|0)>>>3&255)>>0]=l;b[r+((h[H>>0]|0)>>>3&255)>>0]=k;b[r+((h[K>>0]|0)>>>3&255)>>0]=g;break a}case 4:{f[r>>2]=k>>>(h[F>>0]|0)<<(h[H>>0]|0)|l>>>(h[C>>0]|0)<<(h[E>>0]|0)|g>>>(h[I>>0]|0)<<(h[K>>0]|0)|i>>>(h[L>>0]|0)<<(h[s>>0]|0);break a}default:break a}}while(0);q=q+1|0;if((q|0)==(w|0))break;else{g=p<<1&255;r=r+z|0}}a=a+t|0}if(!e)break;else{c=c+A|0;a=a+N|0}}return}function u9a(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;n=f[a+24>>2]|0;i=f[a+28>>2]|0;c=f[a>>2]|0;d=f[a+20>>2]|0;l=f[a+36>>2]|0;m=f[a+56>>2]|0;j=f[a+48>>2]|0;k=(f[a+16>>2]|0)+(n-((n+7|0)/8|0))|0;e=i+-1|0;a=(i|0)!=0&(n|0)>0;if(!j){if(!a)return;a=c;i=e;while(1){c=0;g=0;h=d;while(1){if(!(g&7)){e=b[a>>0]|0;a=a+1|0}else e=c;c=(e&255)>>>7;if((m|0)!=(c&255|0))b[h>>0]=c;g=g+1|0;if((g|0)==(n|0))break;else{c=(e&255)<<1&255;h=h+1|0}}if(!i)break;else{d=d+n+l|0;a=a+k|0;i=i+-1|0}}return}else{if(!a)return;i=e;while(1){a=0;h=0;g=d;while(1){if(!(h&7)){e=b[c>>0]|0;c=c+1|0}else e=a;a=(e&255)>>>7&255;if((m|0)!=(a|0))b[g>>0]=b[j+a>>0]|0;h=h+1|0;if((h|0)==(n|0))break;else{a=(e&255)<<1&255;g=g+1|0}}if(!i)break;else{c=c+k|0;d=d+n+l|0;i=i+-1|0}}return}}function v9a(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;o=f[a+24>>2]|0;c=f[a+28>>2]|0;k=f[a+56>>2]|0;l=f[a+48>>2]|0;m=((o+7|0)/-8|0)+o+(f[a+16>>2]|0)|0;n=(f[a+36>>2]|0)/2|0;if(!((c|0)!=0&(o|0)>0))return;e=f[a>>2]|0;j=f[a+20>>2]|0;while(1){c=c+-1|0;a=0;i=0;h=j;while(1){if(!(i&7)){g=b[e>>0]|0;e=e+1|0}else g=a;a=(g&255)>>>7&255;if((k|0)!=(a|0))d[h>>1]=d[l+(a<<1)>>1]|0;i=i+1|0;if((i|0)==(o|0))break;else{a=(g&255)<<1&255;h=h+2|0}}if(!c)break;else{e=e+m|0;j=j+(o<<1)+(n<<1)|0}}return}function w9a(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;m=f[a+24>>2]|0;c=f[a+28>>2]|0;o=f[a+36>>2]|0;j=f[a+56>>2]|0;k=f[a+48>>2]|0;l=((m+7|0)/-8|0)+m+(f[a+16>>2]|0)|0;if(!((c|0)!=0&(m|0)>0))return;n=m*3|0;d=f[a>>2]|0;i=f[a+20>>2]|0;while(1){c=c+-1|0;a=0;h=0;g=i;while(1){if(!(h&7)){e=b[d>>0]|0;d=d+1|0}else e=a;a=(e&255)>>>7;if((j|0)!=(a&255|0))M5a(g,k+(a<<2&255)|0,3)|0;h=h+1|0;if((h|0)==(m|0))break;else{a=(e&255)<<1&255;g=g+3|0}}if(!c)break;else{d=d+l|0;i=i+n+o|0}}return}function x9a(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;n=f[a+24>>2]|0;c=f[a+28>>2]|0;j=f[a+56>>2]|0;k=f[a+48>>2]|0;l=((n+7|0)/-8|0)+n+(f[a+16>>2]|0)|0;m=(f[a+36>>2]|0)/4|0;if(!((c|0)!=0&(n|0)>0))return;d=f[a>>2]|0;i=f[a+20>>2]|0;while(1){c=c+-1|0;a=0;h=0;g=i;while(1){if(!(h&7)){e=b[d>>0]|0;d=d+1|0}else e=a;a=(e&255)>>>7&255;if((j|0)!=(a|0))f[g>>2]=f[k+(a<<2)>>2];h=h+1|0;if((h|0)==(n|0))break;else{a=(e&255)<<1&255;g=g+4|0}}if(!c)break;else{d=d+l|0;i=i+(n<<2)+(m<<2)|0}}return}function y9a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=f[a+24>>2]|0;h=f[a+28>>2]|0;c=f[a>>2]|0;d=f[a+20>>2]|0;k=f[a+36>>2]|0;i=f[a+48>>2]|0;j=(f[a+16>>2]|0)+(l-((l+7|0)/8|0))|0;e=h+-1|0;a=(h|0)!=0&(l|0)>0;if(!i){if(!a)return;h=e;while(1){a=0;e=0;g=d;while(1){if(!(e&7)){a=b[c>>0]|0;c=c+1|0}b[g>>0]=(a&255)>>>7;e=e+1|0;if((e|0)==(l|0))break;else{a=(a&255)<<1&255;g=g+1|0}}if(!h)break;else{d=d+l+k|0;c=c+j|0;h=h+-1|0}}return}else{if(!a)return;h=e;while(1){a=0;g=0;e=d;while(1){if(!(g&7)){a=b[c>>0]|0;c=c+1|0}b[e>>0]=b[i+((a&255)>>>7&255)>>0]|0;g=g+1|0;if((g|0)==(l|0))break;else{a=(a&255)<<1&255;e=e+1|0}}if(!h)break;else{c=c+j|0;d=d+l+k|0;h=h+-1|0}}return}}function z9a(a){a=a|0;var c=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=f[a+24>>2]|0;c=f[a+28>>2]|0;m=(f[a+36>>2]|0)/2|0;j=f[a+48>>2]|0;k=((l+7|0)/-8|0)+l+(f[a+16>>2]|0)|0;if(!((c|0)!=0&(l|0)>0))return;i=f[a+20>>2]|0;a=f[a>>2]|0;while(1){c=c+-1|0;e=0;g=0;h=i;while(1){if(!(g&7)){e=b[a>>0]|0;a=a+1|0}d[h>>1]=d[j+(((e&255)>>>7&255)<<1)>>1]|0;g=g+1|0;if((g|0)==(l|0))break;else{e=(e&255)<<1&255;h=h+2|0}}if(!c)break;else{i=i+(l<<1)+(m<<1)|0;a=a+k|0}}return}function A9a(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;l=f[a+24>>2]|0;c=f[a+28>>2]|0;m=f[a+36>>2]|0;i=f[a+48>>2]|0;j=((l+7|0)/-8|0)+l+(f[a+16>>2]|0)|0;if(!((c|0)!=0&(l|0)>0))return;k=l*3|0;h=f[a+20>>2]|0;a=f[a>>2]|0;while(1){c=c+-1|0;d=0;e=0;g=h;while(1){if(!(e&7)){d=b[a>>0]|0;a=a+1|0}o=(d&255)>>>7<<2&255;n=o|1;b[g>>0]=b[i+o>>0]|0;b[g+1>>0]=b[i+n>>0]|0;b[g+2>>0]=b[i+(n+1)>>0]|0;e=e+1|0;if((e|0)==(l|0))break;else{d=(d&255)<<1&255;g=g+3|0}}if(!c)break;else{h=h+k+m|0;a=a+j|0}}return}function B9a(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;k=f[a+24>>2]|0;c=f[a+28>>2]|0;l=(f[a+36>>2]|0)/4|0;i=f[a+48>>2]|0;j=((k+7|0)/-8|0)+k+(f[a+16>>2]|0)|0;if(!((c|0)!=0&(k|0)>0))return;d=f[a>>2]|0;h=f[a+20>>2]|0;while(1){c=c+-1|0;a=0;g=0;e=h;while(1){if(!(g&7)){a=b[d>>0]|0;d=d+1|0}f[e>>2]=f[i+(((a&255)>>>7&255)<<2)>>2];g=g+1|0;if((g|0)==(k|0))break;else{a=(a&255)<<1&255;e=e+4|0}}if(!c)break;else{d=d+j|0;h=h+(k<<2)+(l<<2)|0}}return}function C9a(a,b){a=a|0;b=b|0;return Fmb(a,b)|0}function D9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,u=0,v=0,w=0;if((c|0)<=0){w=c<<2;return w|0}v=d+12|0;w=h[d+32>>0]|0;q=d+16|0;r=h[d+33>>0]|0;s=d+20|0;t=h[d+34>>0]|0;u=d+24|0;j=h[d+35>>0]|0;k=h[e+28>>0]|0;l=h[e+32>>0]|0;m=h[e+29>>0]|0;n=h[e+33>>0]|0;o=h[e+30>>0]|0;p=h[e+34>>0]|0;i=e+24|0;g=0;e=a;d=b;while(1){a=f[d>>2]|0;b=(f[q>>2]&a)>>>r>>>m<<n|(f[v>>2]&a)>>>w>>>k<<l|f[i>>2]|(f[s>>2]&a)>>>t>>>o<<p;f[e>>2]=b&63519|(f[u>>2]&a)>>>j<<2&2016|b<<16&132120576;g=g+1|0;if((g|0)==(c|0))break;else{e=e+4|0;d=d+4|0}}w=c<<2;return w|0}function E9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,u=0,v=0,w=0;if((c|0)<=0){w=c<<2;return w|0}v=d+12|0;w=h[d+32>>0]|0;q=d+16|0;r=h[d+33>>0]|0;s=d+20|0;t=h[d+34>>0]|0;u=d+24|0;j=h[d+35>>0]|0;k=h[e+28>>0]|0;l=h[e+32>>0]|0;m=h[e+29>>0]|0;n=h[e+33>>0]|0;o=h[e+30>>0]|0;p=h[e+34>>0]|0;i=e+24|0;g=0;e=a;d=b;while(1){a=f[d>>2]|0;b=(f[q>>2]&a)>>>r>>>m<<n|(f[v>>2]&a)>>>w>>>k<<l|f[i>>2]|(f[s>>2]&a)>>>t>>>o<<p;f[e>>2]=b&64543|(f[u>>2]&a)>>>j<<2&992|b<<16&65011712;g=g+1|0;if((g|0)==(c|0))break;else{e=e+4|0;d=d+4|0}}w=c<<2;return w|0}function F9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,u=0,v=0;if((c|0)<=0){v=c<<2;return v|0}u=d+12|0;v=h[d+32>>0]|0;p=d+16|0;q=h[d+33>>0]|0;r=d+20|0;s=h[d+34>>0]|0;t=d+24|0;j=h[d+35>>0]|0;k=h[e+28>>0]|0;l=h[e+32>>0]|0;m=h[e+29>>0]|0;n=h[e+33>>0]|0;o=h[e+30>>0]|0;i=h[e+34>>0]|0;g=0;e=a;d=b;while(1){b=f[d>>2]|0;f[e>>2]=(f[u>>2]&b)>>>v>>>k<<l|(f[t>>2]&b)>>>j<<24|(f[p>>2]&b)>>>q>>>m<<n|(f[r>>2]&b)>>>s>>>o<<i;g=g+1|0;if((g|0)==(c|0))break;else{e=e+4|0;d=d+4|0}}v=c<<2;return v|0}function G9a(a,b,c,e,g){a=a|0;b=b|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,u=0,v=0,w=0,x=0,y=0;if((c|0)<=0){y=c<<1;return y|0}q=f[234608+((h[e+28>>0]|0)<<2)>>2]|0;r=f[e+12>>2]|0;s=f[234608+((h[e+29>>0]|0)<<2)>>2]|0;t=f[e+16>>2]|0;u=f[234608+((h[e+30>>0]|0)<<2)>>2]|0;v=f[e+20>>2]|0;w=f[g+24>>2]|0;x=h[e+32>>0]|0;y=h[e+33>>0]|0;k=h[e+34>>0]|0;l=h[g+28>>0]|0;m=h[g+32>>0]|0;n=h[g+29>>0]|0;o=h[g+33>>0]|0;p=h[g+30>>0]|0;j=h[g+34>>0]|0;i=0;g=a;e=b;while(1){b=f[e>>2]|0;d[g>>1]=(h[s+((t&b)>>>y)>>0]|0)>>>n<<o|(h[q+((r&b)>>>x)>>0]|0)>>>l<<m|w|(h[u+((v&b)>>>k)>>0]|0)>>>p<<j;i=i+1|0;if((i|0)==(c|0))break;else{g=g+2|0;e=e+4|0}}y=c<<1;return y|0}function H9a(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,X=0;o=a+8|0;Q=f[o>>2]|0;if(f[e>>2]&2|0?(J9a(e)|0)<0:0){Q=-1;return Q|0}P=e+16|0;L=f[P>>2]|0;k=(f[e+20>>2]|0)+(W(L,f[g+4>>2]|0)|0)|0;p=f[a+4>>2]|0;n=b[p+9>>0]|0;k=k+(W(f[g>>2]|0,n&255)|0)|0;m=f[a+52>>2]|0;g=f[m+12>>2]|0;a=f[c+4>>2]|0;a:do if(!a)O=38;else{b:do switch(n<<24>>24){case 1:{i=a;a=0;while(1){l=a+(h[g>>0]|0)|0;N=b[g+1>>0]|0;a=N&255;g=g+2|0;if(!(N<<24>>24))if(!l){a=5;l=0}else O=12;else{l=l+a|0;g=g+a|0;O=12}do if((O|0)==12){O=0;if((l|0)==(Q|0)){a=i+-1|0;if(!a){a=3;i=0;l=0;break}else{i=a;l=0}}a=0}while(0);switch(a&7){case 3:{O=38;break a}case 0:{a=l;break}default:break b}}}case 2:{i=a;a=0;while(1){a=a+(h[g>>0]|0)|0;N=b[g+1>>0]|0;l=N&255;g=g+2|0;if(!(N<<24>>24))if(!a){a=5;l=0}else O=19;else{g=g+(l<<1)|0;a=a+l|0;O=19}do if((O|0)==19){O=0;if((a|0)==(Q|0)){a=i+-1|0;if(!a){a=6;i=0;l=0;break}else{i=a;l=0}}else l=a;a=0}while(0);switch(a&7){case 6:{O=38;break a}case 0:{a=l;break}default:break b}}}case 3:{i=a;a=0;while(1){a=a+(h[g>>0]|0)|0;N=b[g+1>>0]|0;l=N&255;g=g+2|0;if(!(N<<24>>24))if(!a){l=0;a=5}else O=26;else{g=g+(l*3|0)|0;a=a+l|0;O=26}do if((O|0)==26){O=0;if((a|0)==(Q|0)){i=i+-1|0;if(!i){l=0;a=8;i=0;break}else a=0}l=a;a=0}while(0);switch(a&15){case 8:{O=38;break a}case 0:{a=l;break}default:break b}}}case 4:{i=0;while(1){i=i+(j[g>>1]|0)|0;N=d[g+2>>1]|0;l=N&65535;g=g+4|0;if(!(N<<16>>16))if(!i){l=a;i=0;a=5}else O=33;else{g=g+(l<<2)|0;i=i+l|0;O=33}do if((O|0)==33){O=0;if((i|0)==(Q|0)){a=a+-1|0;if(!a){l=0;i=0;a=10;break}else i=0}l=a;a=0}while(0);switch(a&15){case 10:{O=38;break a}case 0:{a=l;break}default:break b}}}default:{O=38;break a}}while(0);switch(a|0){case 0:{O=38;break a}case 5:break a;default:g=0}return g|0}while(0);c:do if((O|0)==38){l=b[m+79>>0]|0;M=l&255;N=f[c>>2]|0;if((N|0)==0?(f[c+8>>2]|0)==(f[o>>2]|0):0){if(l<<24>>24==-1)switch(n<<24>>24){case 1:{l=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;O=b[g+1>>0]|0;i=O&255;g=g+2|0;if(!(O<<24>>24)){if(!a)break c}else{M5a(k+a|0,g,i)|0;a=a+i|0;g=g+i|0}}while((a|0)!=(Q|0));l=l+-1|0;if(!l)break c;else k=k+(f[P>>2]|0)|0}}case 2:{l=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;O=b[g+1>>0]|0;i=O&255;g=g+2|0;if(!(O<<24>>24)){if(!a)break c}else{O=i<<1;M5a(k+(a<<1)|0,g,O)|0;a=a+i|0;g=g+O|0}}while((a|0)!=(Q|0));l=l+-1|0;if(!l)break c;else k=k+(f[P>>2]|0)|0}}case 3:{l=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;O=b[g+1>>0]|0;i=O&255;g=g+2|0;if(!(O<<24>>24)){if(!a)break c}else{O=i*3|0;M5a(k+(a*3|0)|0,g,O)|0;a=a+i|0;g=g+O|0}}while((a|0)!=(Q|0));l=l+-1|0;if(!l)break c;else k=k+(f[P>>2]|0)|0}}case 4:{l=f[c+12>>2]|0;while(1){a=0;do{a=a+(j[g>>1]|0)|0;O=d[g+2>>1]|0;i=O&65535;g=g+4|0;if(!(O<<16>>16)){if(!a)break c}else{O=i<<2;M5a(k+(a<<2)|0,g,O)|0;a=a+i|0;g=g+O|0}}while((a|0)!=(Q|0));l=l+-1|0;if(!l)break c;else k=k+(f[P>>2]|0)|0}}default:break c}switch(n<<24>>24){case 4:{w=p+12|0;L=f[w>>2]|0;x=p+16|0;N=f[x>>2]|0;y=p+20|0;O=f[y>>2]|0;if((N|L|O|0)==16777215?(L|0)==65280|(N|0)==65280|(O|0)==65280:0){a=f[c+12>>2]|0;if(l<<24>>24==-128){o=k;while(1){i=0;do{i=i+(j[g>>1]|0)|0;O=d[g+2>>1]|0;n=O&65535;g=g+4|0;if(!(O<<16>>16)){if(!i)break c}else{k=o+(i<<2)|0;l=g;m=0;while(1){N=f[l>>2]|0;O=f[k>>2]|0;f[k>>2]=(((O&16711422)+(N&16711422)|0)>>>1)+(N&65793&O);m=m+1|0;if((m|0)==(n|0))break;else{k=k+4|0;l=l+4|0}}i=i+n|0;g=g+(n<<2)|0}}while((i|0)!=(Q|0));a=a+-1|0;if(!a)break c;else o=o+(f[P>>2]|0)|0}}else{o=k;while(1){i=0;do{i=i+(j[g>>1]|0)|0;O=d[g+2>>1]|0;n=O&65535;g=g+4|0;if(!(O<<16>>16)){if(!i)break c}else{k=o+(i<<2)|0;l=g;m=0;while(1){N=f[l>>2]|0;O=f[k>>2]|0;L=O&16711935;O=O&65280;O=((W((N&16711935)-L|0,M)|0)>>>8)+L&16711935|((W((N&65280)-O|0,M)|0)>>>8)+O&65280;f[k>>2]=O;m=m+1|0;if((m|0)==(n|0))break;else{k=k+4|0;l=l+4|0}}i=i+n|0;g=g+(n<<2)|0}}while((i|0)!=(Q|0));a=a+-1|0;if(!a)break c;else o=o+(f[P>>2]|0)|0}}}q=p+28|0;r=p+32|0;s=p+29|0;t=p+33|0;u=p+30|0;v=p+34|0;p=p+24|0;o=f[c+12>>2]|0;while(1){a=0;do{a=a+(j[g>>1]|0)|0;O=d[g+2>>1]|0;n=O&65535;g=g+4|0;if(!(O<<16>>16)){if(!a)break c}else{i=k+(a<<2)|0;l=g;m=0;while(1){J=f[l>>2]|0;K=f[i>>2]|0;C=h[q>>0]|0;z=f[234608+(C<<2)>>2]|0;A=f[w>>2]|0;L=h[r>>0]|0;G=h[s>>0]|0;D=f[234608+(G<<2)>>2]|0;E=f[x>>2]|0;N=h[t>>0]|0;c=h[u>>0]|0;H=f[234608+(c<<2)>>2]|0;I=f[y>>2]|0;O=h[v>>0]|0;B=h[z+((A&K)>>>L)>>0]|0;F=h[D+((E&K)>>>N)>>0]|0;K=h[H+((I&K)>>>O)>>0]|0;L=(((W((h[z+((A&J)>>>L)>>0]|0)-B|0,M)|0)>>>8)+B|0)>>>C<<L;N=(((W((h[D+((E&J)>>>N)>>0]|0)-F|0,M)|0)>>>8)+F|0)>>>G<<N;O=(((W((h[H+((I&J)>>>O)>>0]|0)-K|0,M)|0)>>>8)+K|0)>>>c<<O;f[i>>2]=L|f[p>>2]|N|O;m=m+1|0;if((m|0)==(n|0))break;else{i=i+4|0;l=l+4|0}}a=a+n|0;g=g+(n<<2)|0}}while((a|0)!=(Q|0));o=o+-1|0;if(!o)break c;else k=k+(f[P>>2]|0)|0}}case 2:{w=f[p+12>>2]|0;x=f[p+16>>2]|0;y=f[p+20>>2]|0;a=x|w|y;d:do if((a|0)<65535){switch(a|0){case 32767:break;default:break d}if((w|0)==992|(x|0)==992|(y|0)==992){a=f[c+12>>2]|0;if(l<<24>>24!=-128){p=M>>>3;o=a;n=k;while(1){a=0;do{a=a+(h[g>>0]|0)|0;P=b[g+1>>0]|0;m=P&255;g=g+2|0;if(!(P<<24>>24)){if(!a)break c}else{i=0;k=g;l=n+(a<<1)|0;while(1){O=j[k>>1]|0;P=j[l>>1]|0;P=(P<<16|P)&65043487;P=((W(((O<<16|O)&65043487)-P|0,p)|0)>>>5)+P&65043487;d[l>>1]=P>>>16|P;i=i+1|0;if((i|0)==(m|0))break;else{k=k+2|0;l=l+2|0}}a=a+m|0;g=g+(m<<1)|0}}while((a|0)!=(Q|0));o=o+-1|0;if(!o)break c;else n=n+L|0}}s=a;r=k;while(1){a=0;do{a=a+(h[g>>0]|0)|0;O=b[g+1>>0]|0;p=O&255;q=g+2|0;if(!(O<<24>>24))if(!a)break c;else g=q;else{l=r+(a<<1)|0;i=q;do if(!((l^i)&3)){if(!(i&3)){k=p;i=q;g=l}else{i=d[q>>1]|0;k=d[l>>1]|0;d[l>>1]=(((k&-1058&65535)+(i&-1058&65535)|0)>>>1)+(i&1057&k&65535);k=p+-1|0;i=g+4|0;g=l+2|0}if(k>>>0>1){m=k+-2|0;n=m&-2;o=g+4+(n<<1)|0;l=i;while(1){N=f[l>>2]|0;O=f[g>>2]|0;f[g>>2]=(N&69272609&O)+(N>>>1&2112847343)+(O>>>1&2112847343);k=k+-2|0;if(k>>>0<=1)break;else{l=l+4|0;g=g+4|0}}k=m-n|0;i=i+4+(n<<1)|0;g=o}if(!k)break;N=d[i>>1]|0;O=d[g>>1]|0;d[g>>1]=(((O&-1058&65535)+(N&-1058&65535)|0)>>>1)+(N&1057&O&65535)}else{i=p;k=q;g=l;while(1){i=i+-1|0;N=d[k>>1]|0;O=d[g>>1]|0;d[g>>1]=(((O&-1058&65535)+(N&-1058&65535)|0)>>>1)+(N&1057&O&65535);if(!i)break;else{k=k+2|0;g=g+2|0}}}while(0);a=a+p|0;g=q+(p<<1)|0}}while((a|0)!=(Q|0));s=s+-1|0;if(!s)break c;else r=r+(f[P>>2]|0)|0}}}else{switch(a|0){case 65535:break;default:break d}if((w|0)==2016|(x|0)==2016|(y|0)==2016){a=f[c+12>>2]|0;if(l<<24>>24!=-128){p=M>>>3;o=a;n=k;while(1){a=0;do{a=a+(h[g>>0]|0)|0;P=b[g+1>>0]|0;m=P&255;g=g+2|0;if(!(P<<24>>24)){if(!a)break c}else{i=0;k=g;l=n+(a<<1)|0;while(1){O=j[k>>1]|0;P=j[l>>1]|0;P=(P<<16|P)&132184095;P=((W(((O<<16|O)&132184095)-P|0,p)|0)>>>5)+P&132184095;d[l>>1]=P>>>16|P;i=i+1|0;if((i|0)==(m|0))break;else{k=k+2|0;l=l+2|0}}a=a+m|0;g=g+(m<<1)|0}}while((a|0)!=(Q|0));o=o+-1|0;if(!o)break c;else n=n+L|0}}s=a;r=k;while(1){a=0;do{a=a+(h[g>>0]|0)|0;O=b[g+1>>0]|0;p=O&255;q=g+2|0;if(!(O<<24>>24))if(!a)break c;else g=q;else{l=r+(a<<1)|0;i=q;do if(!((l^i)&3)){if(!(i&3)){k=p;i=q;g=l}else{i=d[q>>1]|0;k=d[l>>1]|0;d[l>>1]=(((k&-2082&65535)+(i&-2082&65535)|0)>>>1)+(i&2081&k&65535);k=p+-1|0;i=g+4|0;g=l+2|0}if(k>>>0>1){m=k+-2|0;n=m&-2;o=g+4+(n<<1)|0;l=i;while(1){N=f[l>>2]|0;O=f[g>>2]|0;f[g>>2]=(N&136382497&O)+(N>>>1&2079292399)+(O>>>1&2079292399);k=k+-2|0;if(k>>>0<=1)break;else{l=l+4|0;g=g+4|0}}k=m-n|0;i=i+4+(n<<1)|0;g=o}if(!k)break;N=d[i>>1]|0;O=d[g>>1]|0;d[g>>1]=(((O&-2082&65535)+(N&-2082&65535)|0)>>>1)+(N&2081&O&65535)}else{i=p;k=q;g=l;while(1){i=i+-1|0;N=d[k>>1]|0;O=d[g>>1]|0;d[g>>1]=(((O&-2082&65535)+(N&-2082&65535)|0)>>>1)+(N&2081&O&65535);if(!i)break;else{k=k+2|0;g=g+2|0}}}while(0);a=a+p|0;g=q+(p<<1)|0}}while((a|0)!=(Q|0));s=s+-1|0;if(!s)break c;else r=r+(f[P>>2]|0)|0}}}while(0);q=p+28|0;r=p+32|0;s=p+29|0;t=p+33|0;u=p+30|0;v=p+34|0;p=p+24|0;o=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;P=b[g+1>>0]|0;n=P&255;g=g+2|0;if(!(P<<24>>24)){if(!a)break c}else{i=k+(a<<1)|0;l=g;m=0;while(1){J=j[l>>1]|0;K=j[i>>1]|0;E=h[q>>0]|0;C=f[234608+(E<<2)>>2]|0;N=h[r>>0]|0;H=h[s>>0]|0;F=f[234608+(H<<2)>>2]|0;O=h[t>>0]|0;c=h[u>>0]|0;I=f[234608+(c<<2)>>2]|0;P=h[v>>0]|0;D=h[C+((w&K)>>>N)>>0]|0;G=h[F+((x&K)>>>O)>>0]|0;K=h[I+((y&K)>>>P)>>0]|0;N=(((W((h[C+((w&J)>>>N)>>0]|0)-D|0,M)|0)>>>8)+D|0)>>>E<<N;O=(((W((h[F+((x&J)>>>O)>>0]|0)-G|0,M)|0)>>>8)+G|0)>>>H<<O;P=(((W((h[I+((y&J)>>>P)>>0]|0)-K|0,M)|0)>>>8)+K|0)>>>c<<P;d[i>>1]=N|f[p>>2]|O|P;m=m+1|0;if((m|0)==(n|0))break;else{i=i+2|0;l=l+2|0}}a=a+n|0;g=g+(n<<1)|0}}while((a|0)!=(Q|0));o=o+-1|0;if(!o)break c;else k=k+L|0}}case 3:{q=p+28|0;r=p+12|0;s=p+32|0;t=p+29|0;u=p+16|0;v=p+33|0;w=p+30|0;x=p+20|0;y=p+34|0;p=p+24|0;o=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;O=b[g+1>>0]|0;n=O&255;g=g+2|0;if(!(O<<24>>24)){if(!a)break c}else{i=k+(a*3|0)|0;l=g;m=0;while(1){H=(h[l+1>>0]|0)<<8|(h[l+2>>0]|0)<<16|(h[l>>0]|0);O=i+2|0;L=i+1|0;I=(h[L>>0]|0)<<8|(h[O>>0]|0)<<16|(h[i>>0]|0);A=h[q>>0]|0;S=f[234608+(A<<2)>>2]|0;R=f[r>>2]|0;K=h[s>>0]|0;E=h[t>>0]|0;B=f[234608+(E<<2)>>2]|0;C=f[u>>2]|0;c=h[v>>0]|0;J=h[w>>0]|0;F=f[234608+(J<<2)>>2]|0;G=f[x>>2]|0;N=h[y>>0]|0;z=h[S+((I&R)>>>K)>>0]|0;D=h[B+((C&I)>>>c)>>0]|0;I=h[F+((G&I)>>>N)>>0]|0;K=(((W((h[S+((R&H)>>>K)>>0]|0)-z|0,M)|0)>>>8)+z|0)>>>A<<K;c=(((W((h[B+((C&H)>>>c)>>0]|0)-D|0,M)|0)>>>8)+D|0)>>>E<<c;N=(((W((h[F+((G&H)>>>N)>>0]|0)-I|0,M)|0)>>>8)+I|0)>>>J<<N;N=K|f[p>>2]|c|N;b[i>>0]=N;b[L>>0]=N>>>8;b[O>>0]=N>>>16;m=m+1|0;if((m|0)==(n|0))break;else{i=i+3|0;l=l+3|0}}a=a+n|0;g=g+(n*3|0)|0}}while((a|0)!=(Q|0));o=o+-1|0;if(!o)break c;else k=k+(f[P>>2]|0)|0}}default:break c}}i=f[e+4>>2]|0;a=b[i+9>>0]|0;if(l<<24>>24==-1)switch(a<<24>>24){case 1:{o=(f[c+8>>2]|0)+N|0;n=k+(0-N)|0;m=f[c+12>>2]|0;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;S=b[g+1>>0]|0;l=S&255;g=g+2|0;e:do if(!(S<<24>>24))if(!a)break c;else O=52;else{f:do if((a|0)<(o|0)){k=N-a|0;if((k|0)>0){i=l-k|0;if((i|0)<1)i=9;else O=48}else{k=0;i=l;O=48}if((O|0)==48){O=0;R=k+a|0;S=o-R|0;M5a(n+R|0,g+k|0,(i|0)>(S|0)?S:i)|0;i=0}switch(i&15){case 9:case 0:break f;default:{}}if(!i)break e;else break c}while(0);g=g+l|0;a=a+l|0;O=52}while(0);if((O|0)==52){O=0;if((a|0)==(Q|0))break}}m=m+-1|0;if(!m)break c;else n=n+(f[P>>2]|0)|0}}case 2:{o=(f[c+8>>2]|0)+N|0;n=f[c+12>>2]|0;m=k+(0-(N<<1))|0;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;S=b[g+1>>0]|0;l=S&255;g=g+2|0;g:do if(!(S<<24>>24))if(!a)break c;else O=66;else{h:do if((a|0)<(o|0)){k=N-a|0;if((k|0)>0){i=l-k|0;if((i|0)<1)i=14;else O=62}else{k=0;i=l;O=62}if((O|0)==62){O=0;R=k+a|0;S=o-R|0;M5a(m+(R<<1)|0,g+(k<<1)|0,((i|0)>(S|0)?S:i)<<1)|0;i=0}switch(i&15){case 14:case 0:break h;default:{}}if(!i)break g;else break c}while(0);a=a+l|0;g=g+(l<<1)|0;O=66}while(0);if((O|0)==66){O=0;if((a|0)==(Q|0))break}}n=n+-1|0;if(!n)break c;else m=m+(f[P>>2]|0)|0}}case 3:{o=(f[c+8>>2]|0)+N|0;n=f[c+12>>2]|0;m=k+(W(N,-3)|0)|0;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;S=b[g+1>>0]|0;l=S&255;g=g+2|0;i:do if(!(S<<24>>24))if(!a)break c;else O=80;else{j:do if((a|0)<(o|0)){k=N-a|0;if((k|0)>0){i=l-k|0;if((i|0)<1)i=19;else O=76}else{k=0;i=l;O=76}if((O|0)==76){O=0;R=k+a|0;S=o-R|0;M5a(m+(R*3|0)|0,g+(k*3|0)|0,((i|0)>(S|0)?S:i)*3|0)|0;i=0}switch(i&31){case 19:case 0:break j;default:{}}if(!i)break i;else break c}while(0);a=a+l|0;g=g+(l*3|0)|0;O=80}while(0);if((O|0)==80){O=0;if((a|0)==(Q|0))break}}n=n+-1|0;if(!n)break c;else m=m+(f[P>>2]|0)|0}}case 4:{o=(f[c+8>>2]|0)+N|0;n=f[c+12>>2]|0;m=k+(0-(N<<2))|0;while(1){a=0;while(1){a=a+(j[g>>1]|0)|0;S=d[g+2>>1]|0;l=S&65535;g=g+4|0;k:do if(!(S<<16>>16))if(!a)break c;else O=94;else{l:do if((a|0)<(o|0)){k=N-a|0;if((k|0)>0){i=l-k|0;if((i|0)<1)i=24;else O=90}else{k=0;i=l;O=90}if((O|0)==90){O=0;R=k+a|0;S=o-R|0;M5a(m+(R<<2)|0,g+(k<<2)|0,((i|0)>(S|0)?S:i)<<2)|0;i=0}switch(i&31){case 24:case 0:break l;default:{}}if(!i)break k;else break c}while(0);g=g+(l<<2)|0;a=a+l|0;O=94}while(0);if((O|0)==94){O=0;if((a|0)==(Q|0))break}}n=n+-1|0;if(!n)break c;else m=m+(f[P>>2]|0)|0}}default:break c}switch(a<<24>>24){case 4:{H=i+12|0;L=f[H>>2]|0;I=i+16|0;R=f[I>>2]|0;J=i+20|0;S=f[J>>2]|0;if((R|L|S|0)==16777215?(L|0)==65280|(R|0)==65280|(S|0)==65280:0){a=f[c+12>>2]|0;q=(f[c+8>>2]|0)+N|0;i=k+(0-(N<<2))|0;if(l<<24>>24==-128){p=a;o=i;while(1){a=0;while(1){a=a+(j[g>>1]|0)|0;S=d[g+2>>1]|0;n=S&65535;g=g+4|0;m:do if(!(S<<16>>16))if(!a)break c;else O=234;else{n:do if((a|0)<(q|0)){k=N-a|0;if((k|0)>0){i=n-k|0;if((i|0)<1)i=108;else O=228}else{i=n;k=0;O=228}if((O|0)==228){O=0;l=k+a|0;m=q-l|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){l=o+(l<<2)|0;i=g+(k<<2)|0;k=0;while(1){R=f[i>>2]|0;S=f[l>>2]|0;f[l>>2]=(((S&16711422)+(R&16711422)|0)>>>1)+(R&65793&S);k=k+1|0;if((k|0)>=(m|0)){i=0;break}else{l=l+4|0;i=i+4|0}}}else i=0}switch(i&127){case 108:case 0:break n;default:{}}if(!i)break m;else break c}while(0);a=a+n|0;g=g+(n<<2)|0;O=234}while(0);if((O|0)==234){O=0;if((a|0)==(Q|0))break}}p=p+-1|0;if(!p)break c;else o=o+(f[P>>2]|0)|0}}else{p=a;o=i;while(1){a=0;while(1){a=a+(j[g>>1]|0)|0;S=d[g+2>>1]|0;n=S&65535;g=g+4|0;o:do if(!(S<<16>>16))if(!a)break c;else O=248;else{p:do if((a|0)<(q|0)){k=N-a|0;if((k|0)>0){i=n-k|0;if((i|0)<1)i=118;else O=242}else{i=n;k=0;O=242}if((O|0)==242){O=0;l=k+a|0;m=q-l|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){l=o+(l<<2)|0;i=g+(k<<2)|0;k=0;while(1){R=f[i>>2]|0;S=f[l>>2]|0;L=S&16711935;S=S&65280;S=((W((R&16711935)-L|0,M)|0)>>>8)+L&16711935|((W((R&65280)-S|0,M)|0)>>>8)+S&65280;f[l>>2]=S;k=k+1|0;if((k|0)>=(m|0)){i=0;break}else{l=l+4|0;i=i+4|0}}}else i=0}switch(i&127){case 118:case 0:break p;default:{}}if(!i)break o;else break c}while(0);a=a+n|0;g=g+(n<<2)|0;O=248}while(0);if((O|0)==248){O=0;if((a|0)==(Q|0))break}}p=p+-1|0;if(!p)break c;else o=o+(f[P>>2]|0)|0}}}A=(f[c+8>>2]|0)+N|0;B=i+28|0;C=i+32|0;D=i+29|0;E=i+33|0;F=i+30|0;G=i+34|0;z=i+24|0;y=f[c+12>>2]|0;x=k+(0-(N<<2))|0;while(1){a=0;do{a=a+(j[g>>1]|0)|0;S=d[g+2>>1]|0;w=S&65535;g=g+4|0;if(!(S<<16>>16)){if(!a)break c}else{do if((a|0)<(A|0)){k=N-a|0;if((k|0)>0){i=w-k|0;if((i|0)<1)break}else{i=w;k=0}l=k+a|0;v=A-l|0;v=(i|0)>(v|0)?v:i;if((v|0)>0){m=h[B>>0]|0;p=f[234608+(m<<2)>>2]|0;n=h[D>>0]|0;q=f[234608+(n<<2)>>2]|0;o=h[F>>0]|0;r=f[234608+(o<<2)>>2]|0;s=h[C>>0]|0;t=h[E>>0]|0;u=h[G>>0]|0;l=x+(l<<2)|0;i=g+(k<<2)|0;k=0;while(1){L=f[i>>2]|0;S=f[l>>2]|0;T=f[H>>2]|0;K=f[I>>2]|0;c=f[J>>2]|0;O=h[p+((T&S)>>>s)>>0]|0;R=h[q+((K&S)>>>t)>>0]|0;S=h[r+((c&S)>>>u)>>0]|0;O=(((W((h[p+((T&L)>>>s)>>0]|0)-O|0,M)|0)>>>8)+O|0)>>>m<<s;R=(((W((h[q+((K&L)>>>t)>>0]|0)-R|0,M)|0)>>>8)+R|0)>>>n<<t;S=(((W((h[r+((c&L)>>>u)>>0]|0)-S|0,M)|0)>>>8)+S|0)>>>o<<u;f[l>>2]=O|f[z>>2]|R|S;k=k+1|0;if((k|0)>=(v|0))break;else{l=l+4|0;i=i+4|0}}}}while(0);a=a+w|0;g=g+(w<<2)|0}}while((a|0)!=(Q|0));y=y+-1|0;if(!y)break;else x=x+(f[P>>2]|0)|0}break}case 2:{I=f[i+12>>2]|0;J=f[i+16>>2]|0;K=f[i+20>>2]|0;a=J|I|K;q:do if((a|0)<65535){switch(a|0){case 32767:break;default:break q}if((I|0)==992|(J|0)==992|(K|0)==992){a=f[c+12>>2]|0;s=(f[c+8>>2]|0)+N|0;i=k+(0-(N<<1))|0;if(l<<24>>24!=-128){r=M>>>3;q=a;p=i;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;T=b[g+1>>0]|0;o=T&255;g=g+2|0;r:do if(!(T<<24>>24))if(!a)break c;else O=182;else{s:do if((a|0)<(s|0)){i=N-a|0;if((i|0)>0){k=o-i|0;if((k|0)<1)i=78;else O=176}else{i=0;k=o;O=176}if((O|0)==176){O=0;m=i+a|0;n=s-m|0;n=(k|0)>(n|0)?n:k;if((n|0)>0){l=0;k=g+(i<<1)|0;i=p+(m<<1)|0;while(1){S=j[k>>1]|0;T=j[i>>1]|0;T=(T<<16|T)&65043487;T=((W(((S<<16|S)&65043487)-T|0,r)|0)>>>5)+T&65043487;d[i>>1]=T>>>16|T;l=l+1|0;if((l|0)>=(n|0)){i=0;break}else{k=k+2|0;i=i+2|0}}}else i=0}switch(i&127){case 78:case 0:break s;default:{}}if(!i)break r;else break c}while(0);a=a+o|0;g=g+(o<<1)|0;O=182}while(0);if((O|0)==182){O=0;if((a|0)==(Q|0))break}}q=q+-1|0;if(!q)break c;else p=p+L|0}}r=a;q=i;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;T=b[g+1>>0]|0;p=T&255;g=g+2|0;t:do if(!(T<<24>>24))if(!a)break c;else O=166;else{u:do if((a|0)<(s|0)){k=N-a|0;if((k|0)>0){i=p-k|0;if((i|0)<1)i=60;else O=151}else{k=0;i=p;O=151}v:do if((O|0)==151){O=0;l=k+a|0;m=s-l|0;m=(i|0)>(m|0)?m:i;k=g+(k<<1)|0;i=q+(l<<1)|0;l=k;if((i^l)&3|0){if(!m){i=0;break}l=m;while(1){l=l+-1|0;S=d[k>>1]|0;T=d[i>>1]|0;d[i>>1]=(((T&-1058&65535)+(S&-1058&65535)|0)>>>1)+(S&1057&T&65535);if(!l){i=0;break v}else{k=k+2|0;i=i+2|0}}}if(l&3){S=d[k>>1]|0;T=d[i>>1]|0;d[i>>1]=(((T&-1058&65535)+(S&-1058&65535)|0)>>>1)+(S&1057&T&65535);m=m+-1|0;k=k+2|0;i=i+2|0}if(m>>>0>1){n=m+-2|0;o=i+4|0;l=k;while(1){S=f[l>>2]|0;T=f[i>>2]|0;f[i>>2]=(S&69272609&T)+(S>>>1&2112847343)+(T>>>1&2112847343);m=m+-2|0;if(m>>>0<=1)break;else{l=l+4|0;i=i+4|0}}i=n&-2;m=n-i|0;k=k+4+(i<<1)|0;i=o+(i<<1)|0}if(!m){i=0;break}S=d[k>>1]|0;T=d[i>>1]|0;d[i>>1]=(((T&-1058&65535)+(S&-1058&65535)|0)>>>1)+(S&1057&T&65535);i=0}while(0);switch(i&63){case 60:case 0:break u;default:{}}if(!i)break t;else break c}while(0);a=a+p|0;g=g+(p<<1)|0;O=166}while(0);if((O|0)==166){O=0;if((a|0)==(Q|0))break}}r=r+-1|0;if(!r)break c;else q=q+(f[P>>2]|0)|0}}}else{switch(a|0){case 65535:break;default:break q}if((I|0)==2016|(J|0)==2016|(K|0)==2016){a=f[c+12>>2]|0;s=(f[c+8>>2]|0)+N|0;i=k+(0-(N<<1))|0;if(l<<24>>24!=-128){r=M>>>3;q=a;p=i;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;T=b[g+1>>0]|0;o=T&255;g=g+2|0;w:do if(!(T<<24>>24))if(!a)break c;else O=139;else{x:do if((a|0)<(s|0)){i=N-a|0;if((i|0)>0){k=o-i|0;if((k|0)<1)i=49;else O=133}else{i=0;k=o;O=133}if((O|0)==133){O=0;m=i+a|0;n=s-m|0;n=(k|0)>(n|0)?n:k;if((n|0)>0){l=0;k=g+(i<<1)|0;i=p+(m<<1)|0;while(1){S=j[k>>1]|0;T=j[i>>1]|0;T=(T<<16|T)&132184095;T=((W(((S<<16|S)&132184095)-T|0,r)|0)>>>5)+T&132184095;d[i>>1]=T>>>16|T;l=l+1|0;if((l|0)>=(n|0)){i=0;break}else{k=k+2|0;i=i+2|0}}}else i=0}switch(i&63){case 49:case 0:break x;default:{}}if(!i)break w;else break c}while(0);a=a+o|0;g=g+(o<<1)|0;O=139}while(0);if((O|0)==139){O=0;if((a|0)==(Q|0))break}}q=q+-1|0;if(!q)break c;else p=p+L|0}}r=a;q=i;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;T=b[g+1>>0]|0;p=T&255;g=g+2|0;y:do if(!(T<<24>>24))if(!a)break c;else O=123;else{z:do if((a|0)<(s|0)){k=N-a|0;if((k|0)>0){i=p-k|0;if((i|0)<1)i=31;else O=108}else{k=0;i=p;O=108}A:do if((O|0)==108){O=0;l=k+a|0;m=s-l|0;m=(i|0)>(m|0)?m:i;k=g+(k<<1)|0;i=q+(l<<1)|0;l=k;if((i^l)&3|0){if(!m){i=0;break}l=m;while(1){l=l+-1|0;S=d[k>>1]|0;T=d[i>>1]|0;d[i>>1]=(((T&-2082&65535)+(S&-2082&65535)|0)>>>1)+(S&2081&T&65535);if(!l){i=0;break A}else{k=k+2|0;i=i+2|0}}}if(l&3){S=d[k>>1]|0;T=d[i>>1]|0;d[i>>1]=(((T&-2082&65535)+(S&-2082&65535)|0)>>>1)+(S&2081&T&65535);m=m+-1|0;k=k+2|0;i=i+2|0}if(m>>>0>1){n=m+-2|0;o=i+4|0;l=k;while(1){S=f[l>>2]|0;T=f[i>>2]|0;f[i>>2]=(S&136382497&T)+(S>>>1&2079292399)+(T>>>1&2079292399);m=m+-2|0;if(m>>>0<=1)break;else{l=l+4|0;i=i+4|0}}i=n&-2;m=n-i|0;k=k+4+(i<<1)|0;i=o+(i<<1)|0}if(!m){i=0;break}S=d[k>>1]|0;T=d[i>>1]|0;d[i>>1]=(((T&-2082&65535)+(S&-2082&65535)|0)>>>1)+(S&2081&T&65535);i=0}while(0);switch(i&31){case 31:case 0:break z;default:{}}if(!i)break y;else break c}while(0);a=a+p|0;g=g+(p<<1)|0;O=123}while(0);if((O|0)==123){O=0;if((a|0)==(Q|0))break}}r=r+-1|0;if(!r)break c;else q=q+(f[P>>2]|0)|0}}}while(0);B=(f[c+8>>2]|0)+N|0;C=i+28|0;D=i+32|0;E=i+29|0;F=i+33|0;G=i+30|0;H=i+34|0;A=i+24|0;z=f[c+12>>2]|0;y=k+(0-(N<<1))|0;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;T=b[g+1>>0]|0;x=T&255;g=g+2|0;B:do if(!(T<<24>>24))if(!a)break c;else O=198;else{C:do if((a|0)<(B|0)){k=N-a|0;if((k|0)>0){i=x-k|0;if((i|0)<1)i=88;else O=192}else{i=x;k=0;O=192}if((O|0)==192){O=0;l=k+a|0;w=B-l|0;w=(i|0)>(w|0)?w:i;if((w|0)>0){m=h[C>>0]|0;p=f[234608+(m<<2)>>2]|0;n=h[E>>0]|0;q=f[234608+(n<<2)>>2]|0;o=h[G>>0]|0;r=f[234608+(o<<2)>>2]|0;s=f[A>>2]|0;t=h[D>>0]|0;u=h[F>>0]|0;v=h[H>>0]|0;l=y+(l<<1)|0;i=g+(k<<1)|0;k=0;while(1){S=j[i>>1]|0;T=j[l>>1]|0;P=h[p+((I&T)>>>t)>>0]|0;R=h[q+((J&T)>>>u)>>0]|0;T=h[r+((K&T)>>>v)>>0]|0;T=((((W((h[p+((I&S)>>>t)>>0]|0)-P|0,M)|0)>>>8)+P|0)>>>m<<t|s|(((W((h[q+((J&S)>>>u)>>0]|0)-R|0,M)|0)>>>8)+R|0)>>>n<<u|(((W((h[r+((K&S)>>>v)>>0]|0)-T|0,M)|0)>>>8)+T|0)>>>o<<v)&65535;d[l>>1]=T;k=k+1|0;if((k|0)>=(w|0)){i=0;break}else{l=l+2|0;i=i+2|0}}}else i=0}switch(i&127){case 88:case 0:break C;default:{}}if(!i)break B;else break c}while(0);a=a+x|0;g=g+(x<<1)|0;O=198}while(0);if((O|0)==198){O=0;if((a|0)==(Q|0))break}}z=z+-1|0;if(!z)break;else y=y+L|0}break}case 3:{r=(f[c+8>>2]|0)+N|0;s=i+28|0;t=i+12|0;u=i+32|0;v=i+29|0;w=i+16|0;x=i+33|0;y=i+30|0;z=i+20|0;A=i+34|0;q=i+24|0;p=f[c+12>>2]|0;o=k+(W(N,-3)|0)|0;while(1){a=0;while(1){a=a+(h[g>>0]|0)|0;T=b[g+1>>0]|0;n=T&255;g=g+2|0;D:do if(!(T<<24>>24))if(!a)break c;else O=214;else{E:do if((a|0)<(r|0)){k=N-a|0;if((k|0)>0){i=n-k|0;if((i|0)<1)i=98;else O=208}else{i=n;k=0;O=208}if((O|0)==208){O=0;l=k+a|0;m=r-l|0;m=(i|0)>(m|0)?m:i;if((m|0)>0){l=o+(l*3|0)|0;i=g+(k*3|0)|0;k=0;while(1){I=(h[i+1>>0]|0)<<8|(h[i+2>>0]|0)<<16|(h[i>>0]|0);T=l+2|0;R=l+1|0;J=(h[R>>0]|0)<<8|(h[T>>0]|0)<<16|(h[l>>0]|0);B=h[s>>0]|0;X=f[234608+(B<<2)>>2]|0;V=f[t>>2]|0;c=h[u>>0]|0;F=h[v>>0]|0;C=f[234608+(F<<2)>>2]|0;D=f[w>>2]|0;L=h[x>>0]|0;K=h[y>>0]|0;G=f[234608+(K<<2)>>2]|0;H=f[z>>2]|0;S=h[A>>0]|0;U=h[X+((J&V)>>>c)>>0]|0;E=h[C+((D&J)>>>L)>>0]|0;J=h[G+((H&J)>>>S)>>0]|0;c=(((W((h[X+((V&I)>>>c)>>0]|0)-U|0,M)|0)>>>8)+U|0)>>>B<<c;L=(((W((h[C+((D&I)>>>L)>>0]|0)-E|0,M)|0)>>>8)+E|0)>>>F<<L;S=(((W((h[G+((H&I)>>>S)>>0]|0)-J|0,M)|0)>>>8)+J|0)>>>K<<S;S=c|f[q>>2]|L|S;b[l>>0]=S;b[R>>0]=S>>>8;b[T>>0]=S>>>16;k=k+1|0;if((k|0)>=(m|0)){i=0;break}else{l=l+3|0;i=i+3|0}}}else i=0}switch(i&127){case 98:case 0:break E;default:{}}if(!i)break D;else break c}while(0);a=a+n|0;g=g+(n*3|0)|0;O=214}while(0);if((O|0)==214){O=0;if((a|0)==(Q|0))break}}p=p+-1|0;if(!p)break;else o=o+(f[P>>2]|0)|0}break}default:break c}}while(0);if(!(f[e>>2]&2)){X=0;return X|0}K9a(e);X=0;return X|0}function I9a(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var i=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;n=a+8|0;t=f[n>>2]|0;p=e+4|0;q=f[p>>2]|0;if(f[e>>2]&2|0?(J9a(e)|0)<0:0){t=-1;return t|0}s=e+16|0;o=(f[e+20>>2]|0)+(W(f[s>>2]|0,f[g+4>>2]|0)|0)|0;m=b[q+9>>0]|0;o=o+(W(f[g>>2]|0,m&255)|0)|0;g=(f[(f[a+52>>2]|0)+12>>2]|0)+28|0;a=f[c+4>>2]|0;a:do if(!a)l=21;else{if(m<<24>>24!=2){k=a<<1;while(1){a=0;do{a=a+(j[g>>1]|0)|0;r=d[g+2>>1]|0;i=r&65535;g=g+4|0;if(!(r<<16>>16)){if(!a)break a}else{a=a+i|0;g=g+(i<<2)|0}}while((a|0)<(t|0));k=k+-1|0;if(!k){l=21;break a}}}while(1){i=0;do{i=i+(h[g>>0]|0)|0;r=b[g+1>>0]|0;k=r&255;g=g+2|0;if(!(r<<24>>24)){if(!i)break a}else{i=i+k|0;g=g+(k<<1)|0}}while((i|0)<(t|0));i=0;g=g+(g&2)|0;do{r=j[g+2>>1]|0;k=g;g=g+((r<<2)+4)|0;i=i+(j[k>>1]|0)+r|0}while((i|0)<(t|0));a=a+-1|0;if(!a){l=21;break}}}while(0);b:do if((l|0)==21){r=f[c>>2]|0;if((r|0)==0?(f[c+8>>2]|0)==(f[n>>2]|0):0){switch(m<<24>>24){case 2:break;case 4:{p=f[c+12>>2]|0;while(1){a=0;do{a=a+(j[g>>1]|0)|0;r=d[g+2>>1]|0;i=r&65535;g=g+4|0;if(!(r<<16>>16)){if(!a)break b}else{r=i<<2;M5a(o+(a<<2)|0,g,r)|0;a=a+i|0;g=g+r|0}}while((a|0)<(t|0));a=0;do{a=a+(j[g>>1]|0)|0;r=d[g+2>>1]|0;n=r&65535;g=g+4|0;if(r<<16>>16){m=n<<2;i=0;k=o+(a<<2)|0;l=g;while(1){q=f[l>>2]|0;u=f[k>>2]|0;c=q>>>24;r=u&16711935;u=u&65280;r=((W((q&65280)-u|0,c)|0)>>>8)+u&65280|((W((q&16711935)-r|0,c)|0)>>>8)+r&16711935|-16777216;f[k>>2]=r;i=i+1|0;if((i|0)==(n|0))break;else{k=k+4|0;l=l+4|0}}g=g+m|0;a=a+n|0}}while((a|0)<(t|0));p=p+-1|0;if(!p)break b;else o=o+(f[s>>2]|0)|0}}default:break b}if(((f[q+16>>2]|0)!=2016?(f[q+12>>2]|0)!=2016:0)?(f[q+20>>2]|0)!=2016:0){p=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;u=b[g+1>>0]|0;i=u&255;g=g+2|0;if(!(u<<24>>24)){if(!a)break b}else{u=i<<1;M5a(o+(a<<1)|0,g,u)|0;a=a+i|0;g=g+u|0}}while((a|0)<(t|0));g=g+(g&2)|0;a=0;do{a=a+(j[g>>1]|0)|0;u=d[g+2>>1]|0;n=u&65535;g=g+4|0;if(u<<16>>16){m=n<<2;i=0;k=o+(a<<1)|0;l=g;while(1){r=f[l>>2]|0;u=j[k>>1]|0;u=(u<<16|u)&65043487;u=((W((r&65043487)-u|0,r>>>5&31)|0)>>>5)+u&65043487;d[k>>1]=u>>>16|u;i=i+1|0;if((i|0)==(n|0))break;else{k=k+2|0;l=l+4|0}}g=g+m|0;a=a+n|0}}while((a|0)<(t|0));p=p+-1|0;if(!p)break b;else o=o+(f[s>>2]|0)|0}}p=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;u=b[g+1>>0]|0;i=u&255;g=g+2|0;if(!(u<<24>>24)){if(!a)break b}else{u=i<<1;M5a(o+(a<<1)|0,g,u)|0;a=a+i|0;g=g+u|0}}while((a|0)<(t|0));g=g+(g&2)|0;a=0;do{a=a+(j[g>>1]|0)|0;u=d[g+2>>1]|0;n=u&65535;g=g+4|0;if(u<<16>>16){m=n<<2;i=o+(a<<1)|0;k=0;l=g;while(1){r=f[l>>2]|0;u=j[i>>1]|0;u=(u<<16|u)&132184095;u=((W((r&132184095)-u|0,r>>>5&31)|0)>>>5)+u&132184095;d[i>>1]=u>>>16|u;k=k+1|0;if((k|0)==(n|0))break;else{i=i+2|0;l=l+4|0}}g=g+m|0;a=a+n|0}}while((a|0)<(t|0));p=p+-1|0;if(!p)break b;else o=o+(f[s>>2]|0)|0}}a=f[p>>2]|0;switch(b[a+9>>0]|0){case 2:break;case 4:{q=(f[c+8>>2]|0)+r|0;p=f[c+12>>2]|0;o=o+(0-(r<<2))|0;while(1){a=0;do{a=a+(j[g>>1]|0)|0;u=d[g+2>>1]|0;l=u&65535;g=g+4|0;if(!(u<<16>>16)){if(!a)break b}else{i=r-a|0;u=(i|0)>0;k=u?r:a;i=l-(u?i:0)|0;u=q-k|0;i=(i|0)>(u|0)?u:i;if((i|0)>0)M5a(o+(k<<2)|0,g+(k-a<<2)|0,i<<2)|0;a=a+l|0;g=g+(l<<2)|0}}while((a|0)<(t|0));a=0;do{a=a+(j[g>>1]|0)|0;u=d[g+2>>1]|0;n=u&65535;g=g+4|0;if(u<<16>>16){l=r-a|0;u=(l|0)>0;i=u?r:a;l=n-(u?l:0)|0;u=q-i|0;l=(l|0)>(u|0)?u:l;if((l|0)>0){m=o+(i<<2)|0;k=g+(i-a<<2)|0;i=0;do{w=f[k+(i<<2)>>2]|0;u=m+(i<<2)|0;c=f[u>>2]|0;v=w>>>24;x=c&16711935;c=c&65280;c=((W((w&16711935)-x|0,v)|0)>>>8)+x&16711935|((W((w&65280)-c|0,v)|0)>>>8)+c&65280|-16777216;f[u>>2]=c;i=i+1|0}while((i|0)<(l|0))}g=g+(n<<2)|0;a=a+n|0}}while((a|0)<(t|0));p=p+-1|0;if(!p)break b;else o=o+(f[s>>2]|0)|0}}default:break b}if(((f[a+16>>2]|0)!=2016?(f[a+12>>2]|0)!=2016:0)?(f[a+20>>2]|0)!=2016:0){q=(f[c+8>>2]|0)+r|0;p=f[c+12>>2]|0;o=o+(0-(r<<1))|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;x=b[g+1>>0]|0;l=x&255;g=g+2|0;if(!(x<<24>>24)){if(!a)break b}else{i=r-a|0;k=(i|0)>0;i=l-(k?i:0)|0;k=k?r:a;x=q-k|0;i=(i|0)>(x|0)?x:i;if((i|0)>0)M5a(o+(k<<1)|0,g+(k-a<<1)|0,i<<1)|0;a=a+l|0;g=g+(l<<1)|0}}while((a|0)<(t|0));g=g+(g&2)|0;a=0;do{a=a+(j[g>>1]|0)|0;x=d[g+2>>1]|0;n=x&65535;g=g+4|0;if(x<<16>>16){l=r-a|0;i=(l|0)>0;l=n-(i?l:0)|0;i=i?r:a;x=q-i|0;l=(l|0)>(x|0)?x:l;if((l|0)>0){m=o+(i<<1)|0;k=g+(i-a<<2)|0;i=0;do{v=f[k+(i<<2)>>2]|0;x=m+(i<<1)|0;w=j[x>>1]|0;w=(w<<16|w)&65043487;w=((W((v&65043487)-w|0,v>>>5&31)|0)>>>5)+w&65043487;d[x>>1]=w>>>16|w;i=i+1|0}while((i|0)<(l|0))}g=g+(n<<2)|0;a=a+n|0}}while((a|0)<(t|0));p=p+-1|0;if(!p)break b;else o=o+(f[s>>2]|0)|0}}q=(f[c+8>>2]|0)+r|0;p=o+(0-(r<<1))|0;o=f[c+12>>2]|0;while(1){a=0;do{a=a+(h[g>>0]|0)|0;x=b[g+1>>0]|0;l=x&255;g=g+2|0;if(!(x<<24>>24)){if(!a)break b}else{i=r-a|0;k=(i|0)>0;i=l-(k?i:0)|0;k=k?r:a;x=q-k|0;i=(i|0)>(x|0)?x:i;if((i|0)>0)M5a(p+(k<<1)|0,g+(k-a<<1)|0,i<<1)|0;a=a+l|0;g=g+(l<<1)|0}}while((a|0)<(t|0));a=0;g=g+(g&2)|0;do{a=a+(j[g>>1]|0)|0;x=d[g+2>>1]|0;n=x&65535;g=g+4|0;if(x<<16>>16){l=r-a|0;i=(l|0)>0;l=n-(i?l:0)|0;i=i?r:a;x=q-i|0;l=(l|0)>(x|0)?x:l;if((l|0)>0){m=p+(i<<1)|0;k=g+(i-a<<2)|0;i=0;do{v=f[k+(i<<2)>>2]|0;x=m+(i<<1)|0;w=j[x>>1]|0;w=(w<<16|w)&132184095;w=((W((v&132184095)-w|0,v>>>5&31)|0)>>>5)+w&132184095;d[x>>1]=w>>>16|w;i=i+1|0}while((i|0)<(l|0))}a=a+n|0;g=g+(n<<2)|0}}while((a|0)<(t|0));o=o+-1|0;if(!o)break;else p=p+(f[s>>2]|0)|0}}while(0);if(!(f[e>>2]&2)){x=0;return x|0}K9a(e);x=0;return x|0}function J9a(a){a=a|0;var b=0,c=0;c=a+28|0;b=f[c>>2]|0;if(!b)if(!(f[a>>2]&2))b=0;else{R5a(a,1);f[a>>2]=f[a>>2]|2;b=f[c>>2]|0}f[c>>2]=b+1;return 0}function K9a(a){a=a|0;var b=0,c=0;b=a+28|0;c=f[b>>2]|0;if(!c)return;f[b>>2]=c+-1;if((c|0)>1)return;b=f[a>>2]|0;if(!(b&2))return;f[a>>2]=b&-3;W5a(a)|0;return}function L9a(a){a=a|0;return h[a>>0]|0|0}function M9a(a){a=a|0;return j[a>>1]|0|0}function N9a(a){a=a|0;return (h[a+1>>0]|0)<<8|(h[a>>0]|0)|(h[a+2>>0]|0)<<16|0}function O9a(a){a=a|0;return f[a>>2]|0}function P9a(a,b,c){a=a|0;b=b|0;c=c|0;return anb(a,b,c)|0}function Q9a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,i=0;e=u;u=u+16|0;c=e+8|0;if(!a){d=c5a(458656,e)|0;u=e;return d|0}d=(b|0)!=0;if(d?(f[b>>2]|0)!=(1<<(h[a+8>>0]|0)|0):0){d=c5a(458703,c)|0;u=e;return d|0}a=a+4|0;c=f[a>>2]|0;if((c|0)==(b|0)){d=0;u=e;return d|0}if(c|0?(i=c+12|0,g=f[i>>2]|0,f[i>>2]=g+-1,(g|0)<=1):0){A5a(f[c+4>>2]|0);A5a(c)}f[a>>2]=b;if(!d){i=0;u=e;return i|0}i=b+12|0;f[i>>2]=(f[i>>2]|0)+1;i=0;u=e;return i|0}function R9a(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;e=u;u=u+16|0;c=e;if(!a){f[c>>2]=458649;c5a(473278,c)|0;u=e;return}g=a+36|0;c=f[g>>2]|0;f[g>>2]=c+-1;if((c|0)>1){u=e;return}c=f[124997]|0;a:do if((c|0)!=(a|0)){if(c|0?(b=c+40|0,d=f[b>>2]|0,d|0):0){while(1){if((d|0)==(a|0))break;b=d+40|0;d=f[b>>2]|0;if(!d)break a}f[b>>2]=f[a+40>>2]}}else f[124997]=f[a+40>>2];while(0);b=f[a+4>>2]|0;if(b|0?(d=b+12|0,g=f[d>>2]|0,f[d>>2]=g+-1,(g|0)<=1):0){A5a(f[b+4>>2]|0);A5a(b)}A5a(a);u=e;return}function S9a(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=f[a>>2]|0;if(b|0?(d=b+56|0,c=f[d>>2]|0,f[d>>2]=c+-1,(c|0)<2):0)S5a(b);f[a>>2]=0;f[a+84>>2]=0;f[a+80>>2]=0;d=a+64|0;A5a(f[d>>2]|0);f[d>>2]=0;A5a(a);return}function T9a(a,c,e){a=a|0;c=c|0;e=e|0;var 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;Q=u;u=u+48|0;j=Q+16|0;i=Q+24|0;if(!a){P=c5a(462111,Q)|0;u=Q;return P|0}k=a+4|0;if((h[(f[k>>2]|0)+8>>0]|0)<8){P=c5a(458778,Q+8|0)|0;u=Q;return P|0}g=a+36|0;if(!c){if((f[a+44>>2]|0)<1){P=0;u=Q;return P|0}if((f[a+48>>2]|0)>0)n=g;else{P=0;u=Q;return P|0}}else if(!(X9a(c,g,i)|0)){P=0;u=Q;return P|0}else n=i;c=f[a+20>>2]|0;if(!c){P=c5a(458821,j)|0;u=Q;return P|0}P=f[a+16>>2]|0;g=c+(W(P,f[n+4>>2]|0)|0)|0;m=b[(f[k>>2]|0)+9>>0]|0;g=g+(W(f[n>>2]|0,m&255)|0)|0;switch(m<<24>>24){case 1:{l=e<<8|e;l=l<<16|l;m=f[n+8>>2]|0;M=f[n+12>>2]|0;c=M+-1|0;if(!M){P=0;u=Q;return P|0}n=e&255;k=m+-1|0;if((m|0)<=3){i=m&-4;if(!(m&3)){P=0;u=Q;return P|0}switch(m&3){case 3:{while(1){O=g+i|0;e=O+1|0;b[O>>0]=n;b[e>>0]=n;b[e+1>>0]=n;if(!c){O=0;break}else{g=g+P|0;c=c+-1|0}}u=Q;return O|0}case 2:{while(1){e=g+i|0;b[e>>0]=n;b[e+1>>0]=n;if(!c){O=0;break}else{g=g+P|0;c=c+-1|0}}u=Q;return O|0}case 1:{while(1){b[g+i>>0]=n;if(!c){O=0;break}else{g=g+P|0;c=c+-1|0}}u=Q;return O|0}default:{P=0;u=Q;return P|0}}}j=m+-2|0;a:while(1){switch(g&3){case 1:{b[g>>0]=n;p=g+1|0;D=j;N=17;break}case 2:{p=g;D=k;N=17;break}case 3:{s=g;E=k;N=18;break}default:{w=g;y=m}}if((N|0)==17){b[p>>0]=n;s=p+1|0;E=D+-1|0;N=18}if((N|0)==18){N=0;b[s>>0]=n;w=s+1|0;y=E}i=y>>>2;a=(i+3|0)>>>2;if(i|0){switch(i&3){case 0:{o=a;q=w;N=21;break}case 3:{r=a;t=w;N=22;break}case 2:{v=a;x=w;N=23;break}case 1:{z=a;A=w;N=24;break}default:{N=31;break a}}while(1)if((N|0)==21){f[q>>2]=l;r=o;t=q+4|0;N=22;continue}else if((N|0)==22){f[t>>2]=l;v=r;x=t+4|0;N=23;continue}else if((N|0)==23){f[x>>2]=l;z=v;A=x+4|0;N=24;continue}else if((N|0)==24){N=0;f[A>>2]=l;i=z+-1|0;if(!i)break;else{o=i;q=A+4|0;N=21;continue}}}b:do if(y&3|0){i=w+(y&-4)|0;switch(y&3){case 3:{b[i>>0]=n;B=i+1|0;N=28;break}case 2:{B=i;N=28;break}case 1:{C=i;break}default:break b}if((N|0)==28){N=0;b[B>>0]=n;C=B+1|0}b[C>>0]=n}while(0);if(!c){O=0;N=87;break}else{g=g+P|0;c=c+-1|0}}if((N|0)!=31)if((N|0)==87){u=Q;return O|0}break}case 2:{o=e<<16|e;m=f[n+8>>2]|0;N=f[n+12>>2]|0;c=N+-1|0;if(!N){P=0;u=Q;return P|0}p=m+-1|0;n=e&65535;if((m|0)<=1){if(!(m&1)){P=0;u=Q;return P|0}while(1){d[g+(p<<1)>>1]=n;if(!c){O=0;break}else{g=g+P|0;c=c+-1|0}}u=Q;return O|0}c:while(1){i=g+2|0;if(!(g&2)){k=g;l=m;j=g}else{d[g>>1]=n;k=i;l=p;j=i}i=l>>>1;a=(i+3|0)>>>2;if(i|0){switch(i&3){case 0:{F=a;G=j;N=47;break}case 3:{H=a;I=j;N=48;break}case 2:{J=a;K=j;N=49;break}case 1:{L=a;M=j;N=50;break}default:{N=54;break c}}while(1)if((N|0)==47){f[G>>2]=o;H=F;I=G+4|0;N=48;continue}else if((N|0)==48){f[I>>2]=o;J=H;K=I+4|0;N=49;continue}else if((N|0)==49){f[K>>2]=o;L=J;M=K+4|0;N=50;continue}else if((N|0)==50){f[M>>2]=o;i=L+-1|0;if(!i)break;else{F=i;G=M+4|0;N=47;continue}}}if(l&1|0)d[k+(l+-1<<1)>>1]=n;if(!c){O=0;N=87;break}else{g=g+P|0;c=c+-1|0}}if((N|0)!=54)if((N|0)==87){u=Q;return O|0}break}case 3:{m=f[n+8>>2]|0;a=f[n+12>>2]|0;k=e&255;l=e>>>8&255;j=e>>>16&255;if((m|0)==0|(a|0)==0){P=0;u=Q;return P|0}while(1){c=m;i=g;while(1){c=c+-1|0;b[i>>0]=k;b[i+1>>0]=l;b[i+2>>0]=j;if(!c)break;else i=i+3|0}a=a+-1|0;if(!a){O=0;break}else g=g+P|0}u=Q;return O|0}case 4:{i=f[n+8>>2]|0;c=f[n+12>>2]|0;if(!c){P=0;u=Q;return P|0}j=(i+3|0)>>>2;if(!i){P=0;u=Q;return P|0}switch(i&3){case 0:{while(1){i=j;a=g;while(1){f[a>>2]=e;f[a+4>>2]=e;f[a+8>>2]=e;f[a+12>>2]=e;i=i+-1|0;if(!i)break;else a=a+16|0}c=c+-1|0;if(!c){O=0;break}else g=g+P|0}u=Q;return O|0}case 3:{j=j+-1|0;if(!j){while(1){f[g>>2]=e;f[g+4>>2]=e;f[g+8>>2]=e;c=c+-1|0;if(!c){O=0;break}else g=g+P|0}u=Q;return O|0}while(1){f[g>>2]=e;f[g+4>>2]=e;f[g+8>>2]=e;i=g;a=j;do{O=i;i=i+16|0;f[O+12>>2]=e;f[i>>2]=e;f[O+20>>2]=e;f[O+24>>2]=e;a=a+-1|0}while((a|0)!=0);c=c+-1|0;if(!c){O=0;break}else g=g+P|0}u=Q;return O|0}case 1:{j=j+-1|0;k=(j|0)==0;while(1){f[g>>2]=e;if(!k){i=g;a=j;do{f[i+4>>2]=e;f[i+8>>2]=e;f[i+12>>2]=e;i=i+16|0;f[i>>2]=e;a=a+-1|0}while((a|0)!=0)}c=c+-1|0;if(!c){O=0;break}else g=g+P|0}u=Q;return O|0}default:{j=j+-1|0;k=(j|0)==0;while(1){f[g>>2]=e;f[g+4>>2]=e;if(!k){i=g;a=j;do{f[i+8>>2]=e;O=i;i=i+16|0;f[O+12>>2]=e;f[i>>2]=e;f[O+20>>2]=e;a=a+-1|0}while((a|0)!=0)}c=c+-1|0;if(!c){O=0;break}else g=g+P|0}u=Q;return O|0}}}default:{P=0;u=Q;return P|0}}return 0}function U9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0,i=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;if((c|0)<=0){y=c<<1;return y|0}u=d+4|0;v=d+8|0;w=d+12|0;r=f[234608+((h[d+20>>0]|0)<<2)>>2]|0;s=f[234608+((h[d+21>>0]|0)<<2)>>2]|0;t=f[234608+((h[d+22>>0]|0)<<2)>>2]|0;x=h[d+24>>0]|0;y=h[d+25>>0]|0;k=h[d+26>>0]|0;l=h[e+28>>0]|0;m=h[e+32>>0]|0;n=h[e+29>>0]|0;o=h[e+33>>0]|0;p=h[e+30>>0]|0;q=h[e+34>>0]|0;i=((f[e+24>>2]|0)==0?0:255)>>>(h[e+31>>0]|0)<<(h[e+35>>0]|0);g=0;e=b;d=a;while(1){a=j[e>>1]|0;f[d>>2]=(h[s+((f[v>>2]&a)>>>y)>>0]|0)>>>n<<o|(h[r+((f[u>>2]&a)>>>x)>>0]|0)>>>l<<m|(h[t+((f[w>>2]&a)>>>k)>>0]|0)>>>p<<q|i;g=g+1|0;if((g|0)==(c|0))break;else{e=e+2|0;d=d+4|0}}y=c<<1;return y|0}function V9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,u=0,v=0,w=0,x=0,y=0;if((c|0)<=0){y=c<<2;return y|0}y=d+4|0;u=d+8|0;v=d+12|0;r=f[234608+((h[d+20>>0]|0)<<2)>>2]|0;s=f[234608+((h[d+21>>0]|0)<<2)>>2]|0;t=f[234608+((h[d+22>>0]|0)<<2)>>2]|0;w=h[d+24>>0]|0;x=h[d+25>>0]|0;j=h[d+26>>0]|0;k=h[e+28>>0]|0;l=h[e+32>>0]|0;m=h[e+29>>0]|0;n=h[e+33>>0]|0;o=h[e+30>>0]|0;p=h[e+34>>0]|0;q=h[e+31>>0]|0;i=h[e+35>>0]|0;g=0;e=b;d=a;while(1){a=f[e>>2]|0;f[d>>2]=(h[s+((f[u>>2]&a)>>>x)>>0]|0)>>>m<<n|(h[r+((f[y>>2]&a)>>>w)>>0]|0)>>>k<<l|(h[t+((f[v>>2]&a)>>>j)>>0]|0)>>>o<<p|a>>>24>>>q<<i;g=g+1|0;if((g|0)==(c|0))break;else{e=e+4|0;d=d+4|0}}y=c<<2;return y|0}function W9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,u=0,v=0,w=0,x=0,y=0;if((c|0)<=0){y=c<<2;return y|0}y=d+4|0;u=d+8|0;v=d+12|0;r=f[234608+((h[d+20>>0]|0)<<2)>>2]|0;s=f[234608+((h[d+21>>0]|0)<<2)>>2]|0;t=f[234608+((h[d+22>>0]|0)<<2)>>2]|0;w=h[d+24>>0]|0;x=h[d+25>>0]|0;j=h[d+26>>0]|0;k=h[e+28>>0]|0;l=h[e+32>>0]|0;m=h[e+29>>0]|0;n=h[e+33>>0]|0;o=h[e+30>>0]|0;p=h[e+34>>0]|0;q=h[e+31>>0]|0;i=h[e+35>>0]|0;g=0;e=b;d=a;while(1){a=f[e>>2]|0;b=a&-993|a>>>16;f[d>>2]=(h[s+((f[u>>2]&b)>>>x)>>0]|0)>>>m<<n|(h[r+((f[y>>2]&b)>>>w)>>0]|0)>>>k<<l|(h[t+((f[v>>2]&b)>>>j)>>0]|0)>>>o<<p|(a>>>2&248)>>>q<<i;g=g+1|0;if((g|0)==(c|0))break;else{e=e+4|0;d=d+4|0}}y=c<<2;return y|0}function X9a(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=u;u=u+32|0;g=k+16|0;e=k+8|0;d=k;if(!a){f[d>>2]=474452;c5a(473278,d)|0;c=0;u=k;return c|0}if(!b){f[e>>2]=458863;c5a(473278,e)|0;c=0;u=k;return c|0}if(!c){f[g>>2]=458865;c5a(473278,g)|0;c=0;u=k;return c|0}d=f[a+8>>2]|0;if((((d|0)>=1?(h=f[a+12>>2]|0,(h|0)>0):0)?(i=f[b+8>>2]|0,(i|0)>=1):0)?(j=f[b+12>>2]|0,(j|0)>0):0){l=f[a>>2]|0;g=d+l|0;d=f[b>>2]|0;e=i+d|0;i=(d|0)>(l|0)?d:l;f[c>>2]=i;i=((e|0)<(g|0)?e:g)-i|0;f[c+8>>2]=i;a=f[a+4>>2]|0;h=h+a|0;g=f[b+4>>2]|0;b=j+g|0;j=(g|0)>(a|0)?g:a;f[c+4>>2]=j;j=((b|0)<(h|0)?b:h)-j|0;f[c+12>>2]=j;c=(i|0)>0&(j|0)>0&1;u=k;return c|0}f[c+8>>2]=0;f[c+12>>2]=0;l=0;u=k;return l|0}function Y9a(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,j=0,k=0,l=0;l=u;u=u+32|0;k=l+16|0;i=l+8|0;h=l;a:do if((a|0)==0|(a&-268435456|0)==268435456){f[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;f[g>>2]=0;f[e>>2]=0;f[d>>2]=0;f[c>>2]=0;b:do if((a|0)<390076419){switch(a|0){case 386930691:break;default:break b}f[c>>2]=255;f[d>>2]=65280;f[e>>2]=16711680;b=1;break a}else{switch(a|0){case 390076419:break;default:break b}f[c>>2]=16711680;f[d>>2]=65280;f[e>>2]=255;b=1;break a}while(0);if(((a>>>24&15)+-4|0)>>>0<3){switch(a>>>16&15){case 1:{b=0;h=224;i=28;j=3;break}case 2:{b=61440;h=3840;i=240;j=15;break}case 3:{b=32768;h=31744;i=992;j=31;break}case 4:{b=63488;h=1984;i=62;j=1;break}case 5:{b=0;h=63488;i=2016;j=31;break}case 6:{b=-16777216;h=16711680;i=65280;j=255;break}case 7:{b=-1073741824;h=1072693248;i=1047552;j=1023;break}case 8:{b=-4194304;h=4190208;i=4092;j=3;break}default:{c5a(461519,i)|0;b=0;break a}}switch(a>>>20&15){case 1:{f[c>>2]=h;f[d>>2]=i;f[e>>2]=j;b=1;break a}case 2:{f[c>>2]=b;f[d>>2]=h;f[e>>2]=i;b=1;break a}case 3:{f[g>>2]=b;f[c>>2]=h;f[d>>2]=i;f[e>>2]=j;b=1;break a}case 4:{f[c>>2]=b;f[d>>2]=h;f[e>>2]=i;f[g>>2]=j;b=1;break a}case 5:{f[e>>2]=h;f[d>>2]=i;f[c>>2]=j;b=1;break a}case 6:{f[e>>2]=b;f[d>>2]=h;f[c>>2]=i;b=1;break a}case 8:{f[e>>2]=b;f[d>>2]=h;f[c>>2]=i;f[g>>2]=j;b=1;break a}case 7:{f[g>>2]=b;f[e>>2]=h;f[d>>2]=i;f[c>>2]=j;b=1;break a}default:{c5a(461519,k)|0;b=0;break a}}}else b=1}else{c5a(458872,h)|0;b=0}while(0);u=l;return b|0}function Z9a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;e=g+8|0;d=f[124995]|0;if(!d){c5a(458271,g)|0;u=g;return}if(a|0?(f[a>>2]|0)==(d+280|0):0){if(b|0)f[b>>2]=f[a+24>>2];if(!c){u=g;return}f[c>>2]=f[a+28>>2];u=g;return}c5a(473742,e)|0;u=g;return}function _9a(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,p=0;p=u;u=u+16|0;e=p+8|0;g=p;o=f[a+320>>2]|0;i=f[c+68>>2]|0;n=f[c+24>>2]|0;j=a+308|0;d=f[j>>2]|0;a:do if(d){d=f[d+4>>2]|0;e=f[c+4>>2]|0;if((d|0)==(e|0))d=1;else{b:do if((e|0)<825382478)if((e|0)<374740996){if((e|0)>=372645892){switch(e|0){case 372645892:break;default:break b}if((d|0)<376840196)switch(d|0){case 374740996:break;default:{d=1;break a}}else switch(d|0){case 376840196:break;default:{d=1;break a}}d=2;break a}switch(e|0){case 370546692:break;default:break b}if((d|0)<374740996){switch(d|0){case 372645892:break;default:{d=1;break a}}d=4;break a}if((d|0)<376840196){switch(d|0){case 374740996:break;default:{d=1;break a}}d=2;break a}else{switch(d|0){case 376840196:break;default:{d=1;break a}}d=2;break a}}else{if((e|0)>=376840196){switch(e|0){case 376840196:break;default:break b}if((d|0)<372645892)switch(d|0){case 370546692:break;default:{d=1;break a}}else switch(d|0){case 372645892:break;default:{d=1;break a}}d=2;break a}switch(e|0){case 374740996:break;default:break b}if((d|0)<372645892){switch(d|0){case 370546692:break;default:{d=1;break a}}d=2;break a}if((d|0)<376840196){switch(d|0){case 372645892:break;default:{d=1;break a}}d=3;break a}else{switch(d|0){case 376840196:break;default:{d=1;break a}}d=4;break a}}else{if((e|0)>=842094169)if((e|0)<1448433993)switch(e|0){case 842094169:{d=5;break a}default:break b}else switch(e|0){case 1448433993:{d=5;break a}default:break b}if((e|0)<842094158){switch(e|0){case 825382478:break;default:break b}d=7;break a}else{switch(e|0){case 842094158:break;default:break b}d=6;break a}}while(0);o=c5a(459139,g)|0;u=p;return o|0}}else{d=f[c+4>>2]|0;c:do if((d|0)<825382478){if((d|0)<374740996){if((d|0)>=372645892)switch(d|0){case 372645892:{d=2;break a}default:break c}switch(d|0){case 370546692:break;default:break c}d=3;break a}if((d|0)<376840196){switch(d|0){case 374740996:break;default:break c}d=4;break a}else{switch(d|0){case 376840196:break;default:break c}d=1;break a}}else{if((d|0)>=842094169){if((d|0)<1448433993)switch(d|0){case 842094169:break;default:break c}else switch(d|0){case 1448433993:break;default:break c}d=5;break a}if((d|0)<842094158){switch(d|0){case 825382478:break;default:break c}d=7;break a}else{switch(d|0){case 842094158:break;default:break c}d=6;break a}}while(0);o=c5a(459139,e)|0;u=p;return o|0}while(0);if(($9a(a,d,n)|0)<0){o=-1;u=p;return o|0}if(f[i+24>>2]|0){l=o+16|0;tj[f[l>>2]&2047](33986);a=o+28|0;k=i+4|0;Bj[f[a>>2]&1023](f[k>>2]|0,f[i+32>>2]|0);tj[f[l>>2]&2047](33985);Bj[f[a>>2]&1023](f[k>>2]|0,f[i+36>>2]|0);tj[f[l>>2]&2047](33984)}if(!(f[i+28>>2]|0)){d=i+4|0;e=o+28|0}else{l=o+16|0;tj[f[l>>2]&2047](33985);e=o+28|0;d=i+4|0;Bj[f[e>>2]&1023](f[d>>2]|0,f[i+36>>2]|0);tj[f[l>>2]&2047](33984)}Bj[f[e>>2]&1023](f[d>>2]|0,f[i>>2]|0);k=b[c+29>>0]|0;l=b[c+31>>0]|0;d=f[j>>2]|0;d:do if(!d)m=36;else{d=f[d+4>>2]|0;if((d|0)<372645892)switch(d|0){case 370546692:break;default:{m=36;break d}}else switch(d|0){case 372645892:break;default:{m=36;break d}}d=c+28|0;e=c+30|0}while(0);if((m|0)==36){d=c+30|0;e=c+28|0}c=b[d>>0]|0;d=b[e>>0]|0;e=f[o+268>>2]|0;g=e+84|0;a=e+85|0;i=e+86|0;j=e+87|0;if(((h[a>>0]|0)<<16|(h[g>>0]|0)<<24|(h[i>>0]|0)<<8|(h[j>>0]|0)|0)!=((k&255)<<16|l&255|(c&255)<<8|(d&255)<<24|0)){xj[f[o+172>>2]&7](f[e+24>>2]|0,+(d&255)*.003921568859368563,+(k&255)*.003921568859368563,+(c&255)*.003921568859368563,+(l&255)*.003921568859368563);b[g>>0]=d;b[a>>0]=k;b[i>>0]=c;b[j>>0]=l}d=o+8|0;if((f[d>>2]|0)!=(n|0)){switch(n|0){case 4:{tj[f[o+80>>2]&2047](3042);Ij[f[o+32>>2]&127](0,768,0,1);break}case 1:{tj[f[o+80>>2]&2047](3042);Ij[f[o+32>>2]&127](770,771,1,771);break}case 2:{tj[f[o+80>>2]&2047](3042);Ij[f[o+32>>2]&127](770,1,0,1);break}default:tj[f[o+68>>2]&2047](3042)}f[d>>2]=n}d=o+12|0;if((f[d>>2]|0)==1){o=0;u=p;return o|0}tj[f[o+84>>2]&2047](1);f[d>>2]=1;o=0;u=p;return o|0}function $9a(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,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0;v=u;u=u+80|0;e=v+64|0;r=v;s=a+320|0;t=f[s>>2]|0;switch(b|0){case 0:{d=1;j=9;break}case 1:{d=2;j=9;break}case 2:{d=3;j=9;break}case 3:{d=5;j=9;break}case 4:{d=4;j=9;break}case 5:{d=6;j=9;break}case 6:{d=7;j=9;break}case 7:{d=8;j=9;break}default:{}}if((j|0)==9?(l=aab(a,0,c)|0,l|0):0){g=aab(a,d,c)|0;a:do if(!g)g=0;else{o=t+268|0;m=f[o>>2]|0;if((m|0?(f[m+8>>2]|0)==(l|0):0)?(f[m+12>>2]|0)==(g|0):0){t=0;u=v;return t|0}m=f[s>>2]|0;k=m+260|0;d=f[k>>2]|0;i=d;b:do if(!d)j=25;else{h=d;while(1){if((f[h+8>>2]|0)==(l|0)?(f[h+12>>2]|0)==(g|0):0)break;b=f[h+156>>2]|0;if(!b){j=25;break b}else h=b}if((d|0)==(h|0))break;c=h+156|0;e=f[c>>2]|0;b=h+152|0;if(e|0)f[e+152>>2]=f[b>>2];g=f[b>>2]|0;if(g|0)f[g+156>>2]=e;f[b>>2]=0;f[c>>2]=i;f[d+152>>2]=h;f[k>>2]=h;d=h;j=50}while(0);c:do if((j|0)==25){d=X4a(1,160)|0;do if(!d)Y4a(0)|0;else{f[d+8>>2]=l;f[d+12>>2]=g;f[d+4>>2]=c;i=Zi[f[m+48>>2]&15]()|0;f[d>>2]=i;j=m+20|0;Bj[f[j>>2]&1023](i,f[l>>2]|0);Bj[f[j>>2]&1023](f[d>>2]|0,f[g>>2]|0);j=m+24|0;Fj[f[j>>2]&511](f[d>>2]|0,0,459166);Fj[f[j>>2]&511](f[d>>2]|0,1,459177);Fj[f[j>>2]&511](f[d>>2]|0,2,459188);Fj[f[j>>2]&511](f[d>>2]|0,3,459196);tj[f[m+132>>2]&2047](f[d>>2]|0);Fj[f[m+116>>2]&511](f[d>>2]|0,35714,r);if(!(f[r>>2]|0)){tj[f[m+56>>2]&2047](f[d>>2]|0);A5a(d);c5a(459205,e)|0;break}e=m+128|0;b=cj[f[e>>2]&1023](f[d>>2]|0,459235)|0;j=d+16|0;f[j>>2]=b;b=cj[f[e>>2]&1023](f[d>>2]|0,459248)|0;w=d+36|0;f[w>>2]=b;b=cj[f[e>>2]&1023](f[d>>2]|0,459260)|0;c=d+32|0;f[c>>2]=b;b=cj[f[e>>2]&1023](f[d>>2]|0,459272)|0;h=d+20|0;f[h>>2]=b;b=cj[f[e>>2]&1023](f[d>>2]|0,459282)|0;i=d+24|0;f[i>>2]=b;e=cj[f[e>>2]&1023](f[d>>2]|0,459295)|0;b=d+28|0;f[b>>2]=e;e=d+80|0;f[e>>2]=-1;f[e+4>>2]=-1;tj[f[m+180>>2]&2047](f[d>>2]|0);e=m+168|0;Bj[f[e>>2]&1023](f[w>>2]|0,2);Bj[f[e>>2]&1023](f[c>>2]|0,1);Bj[f[e>>2]&1023](f[h>>2]|0,0);Ij[f[m+176>>2]&127](f[j>>2]|0,1,0,d+88|0);j=m+172|0;xj[f[j>>2]&7](f[i>>2]|0,1.0,1.0,1.0,1.0);xj[f[j>>2]&7](f[b>>2]|0,1.0,1.0,1.0,1.0);b=f[k>>2]|0;if(!b)b=m+264|0;else{f[d+156>>2]=b;b=b+152|0}f[b>>2]=d;f[k>>2]=d;j=m+256|0;w=f[j>>2]|0;f[j>>2]=w+1;l=l+12|0;f[l>>2]=(f[l>>2]|0)+1;l=g+12|0;f[l>>2]=(f[l>>2]|0)+1;if((w|0)<=7){j=50;break c}i=m+264|0;b=f[i>>2]|0;h=f[b+8>>2]|0;l=h+12|0;w=f[l>>2]|0;f[l>>2]=w+-1;if((w|0)<2){e=f[s>>2]|0;g=h+24|0;c=f[g>>2]|0;b=h+20|0;if(c|0)f[c+20>>2]=f[b>>2];b=f[b>>2]|0;if(b|0)f[b+24>>2]=c;b=e+252|0;if((f[b>>2]|0)==(h|0))f[b>>2]=f[g>>2];b=e+248|0;f[b>>2]=(f[b>>2]|0)+-1;tj[f[e+60>>2]&2047](f[h>>2]|0);A5a(h);b=f[i>>2]|0}h=f[b+12>>2]|0;l=h+12|0;w=f[l>>2]|0;f[l>>2]=w+-1;if((w|0)<2){e=f[s>>2]|0;g=h+24|0;c=f[g>>2]|0;b=h+20|0;if(c|0)f[c+20>>2]=f[b>>2];b=f[b>>2]|0;if(b|0)f[b+24>>2]=c;b=e+252|0;if((f[b>>2]|0)==(h|0))f[b>>2]=f[g>>2];b=e+248|0;f[b>>2]=(f[b>>2]|0)+-1;tj[f[e+60>>2]&2047](f[h>>2]|0);A5a(h);b=f[i>>2]|0}tj[f[m+56>>2]&2047](f[b>>2]|0);w=f[(f[i>>2]|0)+152>>2]|0;f[i>>2]=w;A5a(f[w+156>>2]|0);f[(f[i>>2]|0)+156>>2]=0;f[j>>2]=(f[j>>2]|0)+-1;j=50;break c}while(0);break a}while(0);tj[f[t+180>>2]&2047](f[d>>2]|0);f[o>>2]=d;d=f[s>>2]|0;b=f[a+224>>2]|0;if((b|0?(p=f[a+228>>2]|0,p|0):0)?(n[r>>2]=2.0/+(b|0),q=r+4|0,f[q>>2]=0,f[q+4>>2]=0,f[q+8>>2]=0,f[q+12>>2]=0,q=(f[a+308>>2]|0)==0,n[r+20>>2]=(q?-2.0:2.0)/+(p|0),w=r+24|0,f[w>>2]=0,f[w+4>>2]=0,f[w+8>>2]=0,f[w+12>>2]=0,f[w+16>>2]=0,f[w+20>>2]=0,n[r+48>>2]=-1.0,n[r+52>>2]=q?1.0:-1.0,n[r+56>>2]=0.0,n[r+60>>2]=1.0,q=d+268|0,P9a((f[q>>2]|0)+88|0,r,64)|0):0){Ij[f[d+176>>2]&127](f[(f[q>>2]|0)+16>>2]|0,1,0,r);M5a((f[q>>2]|0)+88|0,r,64)|0}w=0;u=v;return w|0}while(0);if((f[l+12>>2]|0)<1){c=f[s>>2]|0;e=l+24|0;b=f[e>>2]|0;d=l+20|0;if(b|0)f[b+20>>2]=f[d>>2];d=f[d>>2]|0;if(d|0)f[d+24>>2]=b;d=c+252|0;if((f[d>>2]|0)==(l|0))f[d>>2]=f[e>>2];w=c+248|0;f[w>>2]=(f[w>>2]|0)+-1;tj[f[c+60>>2]&2047](f[l>>2]|0);A5a(l)}if(g|0?(f[g+12>>2]|0)<1:0){c=f[s>>2]|0;e=g+24|0;b=f[e>>2]|0;d=g+20|0;if(b|0)f[b+20>>2]=f[d>>2];d=f[d>>2]|0;if(d|0)f[d+24>>2]=b;d=c+252|0;if((f[d>>2]|0)==(g|0))f[d>>2]=f[e>>2];w=c+248|0;f[w>>2]=(f[w>>2]|0)+-1;tj[f[c+60>>2]&2047](f[g>>2]|0);A5a(g)}}f[t+268>>2]=0;w=-1;u=v;return w|0}function aab(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;s=u;u=u+48|0;r=s+24|0;q=s+16|0;m=s+8|0;n=s+32|0;o=s+28|0;p=f[a+320>>2]|0;f[n>>2]=0;i=bab(b,c)|0;if(!i){c5a(459303,s)|0;r=0;u=s;return r|0}j=f[i>>2]|0;if((j|0)>0?(k=f[p+240>>2]|0,l=p+244|0,(k|0)>0):0){h=0;do{d=f[i+4+(h<<2)>>2]|0;if(!d)g=0;else{c=f[d+4>>2]|0;e=f[l>>2]|0;a=0;do{g=(c|0)==(f[e+(a<<2)>>2]|0)?d:0;a=a+1|0}while((g|0)==0&(a|0)<(k|0))}h=h+1|0;a=(g|0)==0}while(a&(h|0)<(j|0));if(!a){e=p+252|0;a=f[e>>2]|0;a:do if(a|0){while(1){if((f[a+8>>2]|0)==(g|0))break;a=f[a+24>>2]|0;if(!a)break a}u=s;return a|0}while(0);d=X4a(1,28)|0;if(!d){Y4a(0)|0;r=0;u=s;return r|0}f[d+4>>2]=b;f[d+8>>2]=g;a=_i[f[p+52>>2]&2047](f[g>>2]|0)|0;f[d>>2]=a;c=f[g+4>>2]|0;if((c|0)==-1){Ij[f[p+152>>2]&127](a,1,g+12|0,0);tj[f[p+44>>2]&2047](f[d>>2]|0);a=p+124|0;Fj[f[a>>2]&511](f[d>>2]|0,35713,n);if(!(f[n>>2]|0)){f[o>>2]=0;Fj[f[a>>2]&511](f[d>>2]|0,35716,o);a=f[o>>2]|0;if((a|0)>0){r=u;u=u+((1*a|0)+15&-16)|0;Ij[f[p+120>>2]&127](f[d>>2]|0,a,o,r);f[q>>2]=r;c5a(459424,q)|0}else c5a(459454,r)|0;tj[f[p+60>>2]&2047](f[d>>2]|0);A5a(d);r=0;u=s;return r|0}}else{Kj[f[p+148>>2]&63](1,d,c,f[g+12>>2]|0,f[g+8>>2]|0);f[n>>2]=1}a=f[e>>2]|0;if(a|0){f[d+24>>2]=a;f[a+20>>2]=d}f[e>>2]=d;r=p+248|0;f[r>>2]=(f[r>>2]|0)+1;r=d;u=s;return r|0}}c5a(459362,m)|0;r=0;u=s;return r|0}function bab(a,b){a=a|0;b=b|0;a:do switch(a|0){case 0:{a=357172;break}case 1:switch(b|0){case 0:{a=357192;break a}case 1:{a=357152;break a}case 2:{a=357132;break a}case 4:{a=357112;break a}default:{a=0;break a}}case 2:switch(b|0){case 0:{a=357212;break a}case 1:{a=357092;break a}case 2:{a=357072;break a}case 4:{a=357052;break a}default:{a=0;break a}}case 3:switch(b|0){case 0:{a=357232;break a}case 1:{a=357032;break a}case 2:{a=357012;break a}case 4:{a=356992;break a}default:{a=0;break a}}case 5:switch(b|0){case 0:{a=357252;break a}case 1:{a=356972;break a}case 2:{a=356952;break a}case 4:{a=356932;break a}default:{a=0;break a}}case 4:switch(b|0){case 0:{a=357272;break a}case 1:{a=356912;break a}case 2:{a=356892;break a}case 4:{a=356872;break a}default:{a=0;break a}}case 6:{a=356852;break}case 7:{a=356832;break}case 8:{a=356812;break}default:a=0}while(0);return a|0}function cab(a){a=a|0;var c=0,d=0,e=0,g=0,i=0,j=0,k=0,l=0,m=0;c=a+320|0;m=f[c>>2]|0;g=f[a+316>>2]|0;e=f[m>>2]|0;if((f[124994]|0)!=(e|0)){f[m+268>>2]=0;if(($4a(f[a+188>>2]|0,e)|0)>=0){f[124994]=f[m>>2];n5a(a)|0;d=f[c>>2]|0;i=4}}else{d=m;i=4}if((i|0)==4?f[d+4>>2]|0:0){c=d+108|0;do{}while((Zi[f[c>>2]&15]()|0)!=0)}c=m+8|0;if((f[c>>2]|0)!=(g|0)){switch(g|0){case 4:{tj[f[m+80>>2]&2047](3042);Ij[f[m+32>>2]&127](0,768,0,1);break}case 1:{tj[f[m+80>>2]&2047](3042);Ij[f[m+32>>2]&127](770,771,1,771);break}case 2:{tj[f[m+80>>2]&2047](3042);Ij[f[m+32>>2]&127](770,1,0,1);break}default:tj[f[m+68>>2]&2047](3042)}f[c>>2]=g}c=m+12|0;if(f[c>>2]|0){tj[f[m+72>>2]&2047](1);f[c>>2]=0}if(($9a(a,0,g)|0)<0){m=-1;return m|0}k=b[a+313>>0]|0;l=b[a+315>>0]|0;c=f[a+308>>2]|0;a:do if(!c)i=20;else{c=f[c+4>>2]|0;if((c|0)<372645892)switch(c|0){case 370546692:break;default:{i=20;break a}}else switch(c|0){case 372645892:break;default:{i=20;break a}}c=a+312|0;d=a+314|0}while(0);if((i|0)==20){c=a+314|0;d=a+312|0}j=b[c>>0]|0;c=b[d>>0]|0;d=f[m+268>>2]|0;e=d+80|0;g=d+81|0;a=d+82|0;i=d+83|0;if(((h[g>>0]|0)<<16|(h[e>>0]|0)<<24|(h[a>>0]|0)<<8|(h[i>>0]|0)|0)==((k&255)<<16|l&255|(j&255)<<8|(c&255)<<24|0)){m=0;return m|0}xj[f[m+172>>2]&7](f[d+28>>2]|0,+(c&255)*.003921568859368563,+(k&255)*.003921568859368563,+(j&255)*.003921568859368563,+(l&255)*.003921568859368563);b[e>>0]=c;b[g>>0]=k;b[a>>0]=j;b[i>>0]=l;m=0;return m|0}function dab(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0;g=u;u=u+16|0;d=g+8|0;e=f[124995]|0;if(!e){c5a(458271,g)|0;u=g;return}if(a|0?(f[a>>2]|0)==(e+280|0):0){d=f[e+184>>2]|0;if(d|0){Ij[d&127](e,a,b,c);u=g;return}if(b|0)f[b>>2]=f[a+24>>2];if(!c){u=g;return}f[c>>2]=f[a+28>>2];u=g;return}c5a(473742,d)|0;u=g;return}function eab(a){a=a|0;var b=0,c=0,d=0;b=$5a(a)|0;c=f[124998]|0;if(!c){d=b;return d|0}while(1){if(!(gab(a,f[c>>2]|0)|0))break;c=f[c+16>>2]|0;if(!c){d=8;break}}if((d|0)==8)return b|0;if(b|0?(f[c+8>>2]|0)!=2:0){d=b;return d|0}d=f[c+4>>2]|0;return d|0}function fab(a,b){a=a|0;b=b|0;return enb(a,b)|0}function gab(a,b){a=a|0;b=b|0;return cnb(a,b)|0}function hab(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;e=Rmb(c)|0;f=d+-1|0;f=e>>>0<f>>>0?e:f;if(!d)return e|0;YDb(a|0,c|0,f|0)|0;b[a+f>>0]=0;return e|0}function iab(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=u;u=u+16|0;e=d;f[e>>2]=c;jab(a,2,b,e);u=d;return}function jab(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;l=u;if(c>>>0>6|86==0){u=l;return}g=f[124999]|0;a:do if(!g)h=7;else{while(1){if((f[g>>2]|0)==(a|0))break;g=f[g+8>>2]|0;if(!g){h=7;break a}}g=g+4|0;h=10}while(0);b:do if((h|0)==7)switch(a|0){case 8:{g=1;break b}case 0:{g=357444;h=10;break b}case 2:{g=357436;h=10;break b}default:{g=357440;h=10;break b}}while(0);if((h|0)==10)g=f[g>>2]|0;if(g>>>0>c>>>0){u=l;return}h=u;u=u+4096|0;kab(h,4096,d,e)|0;g=C8a(h)|0;if(((g|0?(i=g+-1|0,j=h+i|0,(b[j>>0]|0)==10):0)?(b[j>>0]=0,i|0):0)?(k=h+(g+-2)|0,(b[k>>0]|0)==13):0)b[k>>0]=0;lab(0,a,c,h);u=l;return}function kab(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vnb(a,b,(c|0)==0?505031:c,d)|0}function lab(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=u;u=u+16|0;a=b;e=f[89495]|0;f[a>>2]=f[247776+(c<<2)>>2];f[a+4>>2]=d;Rob(e,460221,a)|0;u=b;return}function mab(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;e=u;u=u+16|0;g=e;f[g>>2]=d;d=Vnb(a,b,(c|0)==0?505031:c,g)|0;u=e;return d|0}function nab(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h;if(!a){f[d>>2]=460335;c=c5a(473278,d)|0;u=h;return c|0}d=D5a()|0;if(d){e=f[d>>2]|0;if(e>>>0<a>>>0)g=5}else{e=0;g=5}if((g|0)==5){g=a+4|0;d=C9a(d,(a<<3)+36|0)|0;if(!d){c=Y4a(0)|0;u=h;return c|0}f[d>>2]=g;if(g>>>0>e>>>0)_Db(d+(e<<3|4)|0,0,g-e<<3|0)|0;if(oab(d)|0){c=-1;u=h;return c|0}}a=a+-1|0;f[d+4+(a<<3)>>2]=b;f[d+4+(a<<3)+4>>2]=c;c=0;u=h;return c|0}function oab(a){a=a|0;return pab(a)|0}function pab(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=F5a()|0;b=f[124996]|0;a:do if(b){c=0;d=b;while(1){if((f[d>>2]|0)==(g|0))break;b=f[d+8>>2]|0;if(!b){e=8;break a}else{c=d;d=b}}if(!a){f[((c|0)==0?499984:c+8|0)>>2]=f[d+8>>2];A5a(d);break}else{f[d+4>>2]=a;break}}else e=8;while(0);do if((e|0)==8){b=K5a(12)|0;if(b|0){f[b>>2]=g;f[b+4>>2]=a;f[b+8>>2]=f[124996];f[124996]=b;break}g=Y4a(0)|0;return g|0}while(0);g=0;return g|0}function qab(a){a=a|0;return 0}function rab(a){a=a|0;var b=0;b=f[124995]|0;if(!((a|0)!=0&(b|0)!=0))return;if((C5a(f[b+664>>2]|0)|0)==(a|0))$4a(0,0)|0;b=f[124995]|0;Bj[f[b+200>>2]&1023](b,a);return}function sab(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;s=u;u=u+112|0;k=s+40|0;l=s+32|0;j=s+24|0;i=s+16|0;d=s+8|0;q=s+84|0;r=s+64|0;n=s+44|0;c=f[124995]|0;if(!c){c5a(458271,s)|0;r=-1;u=s;return r|0}if(a|0?(f[a>>2]|0)==(c+280|0):0){d=(b|0)!=0;if(d&(f[a+116>>2]|0)!=0){r=0;u=s;return r|0}c=ebb(a)|0;if((c|0)>-1)o=(f[(f[124995]|0)+268>>2]|0)+(c*68|0)|0;else o=0;p=o+56|0;do if(d?(e=f[p>>2]|0,!((e|0)==0|(e|0)==(a|0))):0){c=f[124995]|0;if(!c){c5a(458271,i)|0;break}if((f[e>>2]|0)!=(c+280|0)){c5a(473742,j)|0;break}if((f[e+48>>2]&64|0)==0?(sab(e,0)|0,g=f[124995]|0,h=f[g+96>>2]|0,h|0):0)Bj[h&1023](g,e)}while(0);if(((f[p>>2]|0)==(a|0)|0)==(b|0)?((f[a+48>>2]^f[a+52>>2])&4097|0)==0:0){r=0;u=s;return r|0}c=f[(f[124995]|0)+272>>2]|0;a:do if(c|0){b:do if(!b){d=c;while(1){if((d|0)!=(a|0)?(f[d+48>>2]&69|0)==5:0){c=ebb(d)|0;if((c|0)>-1)c=(f[(f[124995]|0)+268>>2]|0)+(c*68|0)|0;else c=0;if((c|0)==(o|0)?(P5a(n,0,20)|0,(fbb(d,n)|0)==0):0)break b}d=f[d+152>>2]|0;if(!d)break a}}else{d=c;while(1){if((d|0)!=(a|0)){if((f[d+48>>2]&69|0)==5){c=ebb(d)|0;if((c|0)>-1)c=(f[(f[124995]|0)+268>>2]|0)+(c*68|0)|0;else c=0;if((c|0)==(o|0))m=37}}else m=37;if((m|0)==37?(m=0,P5a(n,0,20)|0,(fbb(d,n)|0)==0):0)break b;d=f[d+152>>2]|0;if(!d)break a}}while(0);i=d+24|0;j=n+4|0;if((f[i>>2]|0)==(f[j>>2]|0))h=(f[d+28>>2]|0)!=(f[n+8>>2]|0)&1;else h=1;b=a+48|0;c:do if((f[b>>2]&4097|0)!=4097)if((gbb(o,n)|0)<0)c=-1;else m=49;else{c=o+16|0;f[q>>2]=f[c>>2];f[q+4>>2]=f[c+4>>2];f[q+8>>2]=f[c+8>>2];f[q+12>>2]=f[c+12>>2];f[q+16>>2]=f[c+16>>2];c=o+36|0;f[r>>2]=f[c>>2];f[r+4>>2]=f[c+4>>2];f[r+8>>2]=f[c+8>>2];f[r+12>>2]=f[c+12>>2];f[r+16>>2]=f[c+16>>2];do if(P9a(q,r,20)|0){e=f[124995]|0;g=f[e+28>>2]|0;if(!g)if((c5a(460704,l)|0)<0){c=-1;break c}else{m=49;break c}if((dj[g&255](e,o,q)|0)<0){c=-1;break c}else{f[c>>2]=f[q>>2];f[c+4>>2]=f[q+4>>2];f[c+8>>2]=f[q+8>>2];f[c+12>>2]=f[q+12>>2];f[c+16>>2]=f[q+16>>2];break}}while(0);m=49}while(0);if((m|0)==49){c=f[124995]|0;e=f[c+112>>2]|0;if(e|0)Ij[e&127](c,d,o,1);f[p>>2]=d;if(!h){f[d+112>>2]=0;tab(d,6,f[i>>2]|0,f[d+28>>2]|0)|0}else tab(d,5,f[j>>2]|0,f[n+8>>2]|0)|0;if((hbb()|0)==(d|0)){ibb(q,r)|0;bbb(d,f[q>>2]|0,f[r>>2]|0)}f[a+52>>2]=f[b>>2];c=0}r=c;u=s;return r|0}while(0);c=o+16|0;f[q>>2]=f[c>>2];f[q+4>>2]=f[c+4>>2];f[q+8>>2]=f[c+8>>2];f[q+12>>2]=f[c+12>>2];f[q+16>>2]=f[c+16>>2];c=o+36|0;f[r>>2]=f[c>>2];f[r+4>>2]=f[c+4>>2];f[r+8>>2]=f[c+8>>2];f[r+12>>2]=f[c+12>>2];f[r+16>>2]=f[c+16>>2];do if(P9a(q,r,20)|0){d=f[124995]|0;e=f[d+28>>2]|0;if(!e){c5a(460704,k)|0;break}if((dj[e&255](d,o,q)|0)>=0){f[c>>2]=f[q>>2];f[c+4>>2]=f[q+4>>2];f[c+8>>2]=f[q+8>>2];f[c+12>>2]=f[q+12>>2];f[c+16>>2]=f[q+16>>2]}}while(0);c=f[124995]|0;d=f[c+112>>2]|0;if(d|0)Ij[d&127](c,a,o,0);f[p>>2]=0;f[a+112>>2]=0;tab(a,6,f[a+24>>2]|0,f[a+28>>2]|0)|0;if((hbb()|0)==(a|0)){ibb(q,r)|0;bbb(a,f[q>>2]|0,f[r>>2]|0)}f[a+52>>2]=f[a+48>>2];r=0;u=s;return r|0}c5a(473742,d)|0;r=-1;u=s;return r|0}function tab(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+64|0;i=j;if(!a){c=0;u=j;return c|0}a:do switch(c<<24>>24){case 1:{g=a+48|0;h=f[g>>2]|0;if(!(h&4)){f[g>>2]=h&-13|4;wab(a);break a}else{c=0;u=j;return c|0}}case 2:{g=a+48|0;h=f[g>>2]|0;if(!(h&4)){c=0;u=j;return c|0}else{f[g>>2]=h&-13|8;xab(a);break a}}case 4:{if((d&-65536|0)==536805376|(e&-65536|0)==536805376){c=0;u=j;return c|0}if(!(f[a+48>>2]&1)){f[a+56>>2]=d;f[a+60>>2]=e}g=a+16|0;h=a+20|0;if((f[g>>2]|0)==(d|0)?(f[h>>2]|0)==(e|0):0){c=0;u=j;return c|0}f[g>>2]=d;f[h>>2]=e;break}case 5:{if(!(f[a+48>>2]&1)){f[a+64>>2]=d;f[a+68>>2]=e}g=a+24|0;h=a+28|0;if((f[g>>2]|0)==(d|0)?(f[h>>2]|0)==(e|0):0){c=0;u=j;return c|0}f[g>>2]=d;f[h>>2]=e;yab(a);break}case 7:{g=a+48|0;h=f[g>>2]|0;if(!(h&64)){f[g>>2]=h&-193|64;zab(a);break a}else{c=0;u=j;return c|0}}case 8:{g=a+48|0;h=f[g>>2]|0;if(!(h&128)){f[g>>2]=h&-193|128;break a}else{c=0;u=j;return c|0}}case 9:{g=a+48|0;h=f[g>>2]|0;if(!(h&192)){c=0;u=j;return c|0}else{f[g>>2]=h&-193;Aab(a);break a}}case 10:{g=a+48|0;h=f[g>>2]|0;if(!(h&1024)){f[g>>2]=h|1024;Bab(a);break a}else{c=0;u=j;return c|0}}case 11:{g=a+48|0;h=f[g>>2]|0;if(!(h&1024)){c=0;u=j;return c|0}else{f[g>>2]=h&-1025;break a}}case 12:{g=a+48|0;h=f[g>>2]|0;if(!(h&512)){f[g>>2]=h|512;Dab(a);break a}else{c=0;u=j;return c|0}}case 13:{g=a+48|0;h=f[g>>2]|0;if(!(h&512)){c=0;u=j;return c|0}else{f[g>>2]=h&-513;Eab(a);break a}}default:{}}while(0);if((Fab(512,-1)|0)<<24>>24==1){f[i>>2]=512;b[i+12>>0]=c;f[i+16>>2]=d;f[i+20>>2]=e;f[i+8>>2]=f[a+4>>2];switch(c<<24>>24){case 5:{Hab(486,i);break}case 6:{Hab(487,i);break}case 4:{Hab(488,i);break}case 3:{Hab(489,i);break}default:{}}g=(Lab(i)|0)>0&1}else g=0;if(c<<24>>24!=14){c=g;u=j;return c|0}if(f[a+148>>2]|0){c=g;u=j;return c|0}if(f[a+152>>2]|0){c=g;u=j;return c|0}Mab()|0;c=g;u=j;return c|0}function uab(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;h=u;u=u+16|0;d=h+8|0;c=f[124995]|0;if(!c){c5a(458271,h)|0;u=h;return}if(a|0?(f[a>>2]|0)==(c+280|0):0){c=(b|0)!=0;d=a+48|0;b=f[d>>2]|0;if(!(c^(b&256|0)!=0)){u=h;return}if(c){f[d>>2]=b|256;g=(vab()|0)+76|0;i=f[d>>2]|0;c=f[124995]|0;b=c+276|0;d=f[b>>2]|0;if((i&512|0)==0?1:(i&256|f[g>>2]|0)==0)if((d|0)==(a|0)){f[b>>2]=0;d=0;b=c}else{d=0;b=c}else{if(!((d|0)==0|(d|0)==(a|0))?(e=d+48|0,f[e>>2]=f[e>>2]&-257,e=f[c+124>>2]|0,(e|0)!=0):0){Fj[e&511](c,d,0);c=f[124995]|0;b=c+276|0}f[b>>2]=a;d=1;b=c}c=f[b+124>>2]|0;if(!c){u=h;return}Fj[c&511](b,a,d);u=h;return}else{f[d>>2]=b&-257;i=(vab()|0)+76|0;e=f[d>>2]|0;c=f[124995]|0;b=c+276|0;d=f[b>>2]|0;if((e&512|0)==0?1:(e&256|f[i>>2]|0)==0)if((d|0)==(a|0)){f[b>>2]=0;d=0;b=c}else{d=0;b=c}else{if(!((d|0)==0|(d|0)==(a|0))?(g=d+48|0,f[g>>2]=f[g>>2]&-257,g=f[c+124>>2]|0,(g|0)!=0):0){Fj[g&511](c,d,0);c=f[124995]|0;b=c+276|0}f[b>>2]=a;d=1;b=c}c=f[b+124>>2]|0;if(!c){u=h;return}Fj[c&511](b,a,d);u=h;return}}c5a(473742,d)|0;u=h;return}function vab(){return 5e5}function wab(a){a=a|0;if((f[a+48>>2]&69|0)!=5)return;sab(a,1)|0;return}function xab(a){a=a|0;sab(a,0)|0;return}function yab(a){a=a|0;f[a+112>>2]=0;tab(a,6,f[a+24>>2]|0,f[a+28>>2]|0)|0;return}function zab(a){a=a|0;sab(a,0)|0;return}function Aab(a){a=a|0;if((f[a+48>>2]&69|0)!=5)return;sab(a,1)|0;return}function Bab(a){a=a|0;var b=0,c=0;b=f[124995]|0;c=f[b+144>>2]|0;if(!c)return;Bj[c&1023](b,a);return}function Cab(a){a=a|0;return}function Dab(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;b=vab()|0;c=f[a+100>>2]|0;if(c|0?(d=f[124995]|0,e=f[d+116>>2]|0,e|0):0)dj[e&255](d,a,c)|0;if(b|0?f[b+76>>2]|0:0){abb(a);bbb(a,(f[a+24>>2]|0)/2|0,(f[a+28>>2]|0)/2|0)}e=(vab()|0)+76|0;h=f[a+48>>2]|0;c=f[124995]|0;b=c+276|0;d=f[b>>2]|0;if((h&512|0)==0?1:(h&256|f[e>>2]|0)==0)if((d|0)==(a|0)){f[b>>2]=0;d=0;b=c}else{d=0;b=c}else{if(!((d|0)==0|(d|0)==(a|0))?(g=d+48|0,f[g>>2]=f[g>>2]&-257,g=f[c+124>>2]|0,(g|0)!=0):0){Fj[g&511](c,d,0);c=f[124995]|0;b=c+276|0}f[b>>2]=a;d=1;b=c}c=f[b+124>>2]|0;if(!c)return;Fj[c&511](b,a,d);return}function Eab(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;j=u;u=u+16|0;i=j+8|0;h=j;if(f[a+100>>2]|0?(b=f[124995]|0,c=f[b+116>>2]|0,c|0):0)dj[c&255](b,a,f[a+104>>2]|0)|0;k=(vab()|0)+76|0;g=a+48|0;l=f[g>>2]|0;c=f[124995]|0;b=c+276|0;d=f[b>>2]|0;if((l&512|0)==0?1:(l&256|f[k>>2]|0)==0)if((d|0)==(a|0)){f[b>>2]=0;d=0;b=c}else{d=0;b=c}else{if(!((d|0)==0|(d|0)==(a|0))?(e=d+48|0,f[e>>2]=f[e>>2]&-257,e=f[c+124>>2]|0,(e|0)!=0):0){Fj[e&511](c,d,0);c=f[124995]|0;b=c+276|0}f[b>>2]=a;d=1;b=c}c=f[b+124>>2]|0;if(c|0)Fj[c&511](b,a,d);if(!(f[g>>2]&1)){u=j;return}if(f[a+120>>2]|0){u=j;return}if(!($ab(462378,1)|0)){u=j;return}b=f[124995]|0;if(!b){c5a(458271,h)|0;u=j;return}if((f[a>>2]|0)!=(b+280|0)){c5a(473742,i)|0;u=j;return}if(f[g>>2]&64|0){u=j;return}sab(a,0)|0;b=f[124995]|0;c=f[b+96>>2]|0;if(!c){u=j;return}Bj[c&1023](b,a);u=j;return}function Fab(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;e=491392+((a>>>8&255)<<2)|0;c=f[e>>2]|0;d=(c|0)==0;if(!d?(f[c+((a>>>5&7)<<2)>>2]&1<<(a&31)|0)!=0:0)g=0;else g=1;if((g&255|0)==(b|0))return g|0;switch(b|0){case 0:{if(d){c=X4a(1,32)|0;f[e>>2]=c;if(!c)return g|0}e=c+((a>>>5&7)<<2)|0;f[e>>2]=f[e>>2]|1<<(a&31);_ab(a,a);return g|0}case 1:{e=c+((a>>>5&7)<<2)|0;f[e>>2]=f[e>>2]&~(1<<(a&31));return g|0}default:return g|0}return 0}function Gab(a,c){a=a|0;c=c|0;if(((f[c>>2]|0)==512?(b[c+12>>0]|0)==5:0)?(f[c+8>>2]|0)==(f[a+8>>2]|0):0){c=0;return c|0}c=1;return c|0}function Hab(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;c=f[89362]|0;if(!c)return;if(I5a(c)|0)return;c=f[89366]|0;if(c|0)do{i=c+72|0;d=c;c=f[i>>2]|0;if(!(cj[a&1023](b,d)|0)){e=d+68|0;g=f[e>>2]|0;if(g|0)f[g+72>>2]=f[i>>2];h=f[i>>2]|0;if(h|0)f[h+68>>2]=g;if((f[89366]|0)==(d|0))f[89366]=h;if((f[89367]|0)==(d|0))f[89367]=f[e>>2];f[i>>2]=f[89368];f[89368]=d;Zab(357456,-1)|0}}while((c|0)!=0);return}function Iab(a,c){a=a|0;c=c|0;if(((f[c>>2]|0)==512?(b[c+12>>0]|0)==6:0)?(f[c+8>>2]|0)==(f[a+8>>2]|0):0){c=0;return c|0}c=1;return c|0}function Jab(a,c){a=a|0;c=c|0;if(((f[c>>2]|0)==512?(b[c+12>>0]|0)==4:0)?(f[c+8>>2]|0)==(f[a+8>>2]|0):0){c=0;return c|0}c=1;return c|0}function Kab(a,c){a=a|0;c=c|0;if(((f[c>>2]|0)==512?(b[c+12>>0]|0)==3:0)?(f[c+8>>2]|0)==(f[a+8>>2]|0):0){c=0;return c|0}c=1;return c|0}function Lab(a){a=a|0;var b=0;b=Oab()|0;f[a+4>>2]=b;b=f[125029]|0;if(b|0)do{cj[f[b>>2]&1023](f[b+4>>2]|0,a)|0;b=f[b+8>>2]|0}while((b|0)!=0);if((Pab(a,1,0,0,0)|0)<1){a=-1;return a|0}Qab(a);a=1;return a|0}function Mab(){f[125028]=0;return Nab(256)|0}function Nab(a){a=a|0;var b=0,c=0,d=0;c=u;u=u+64|0;b=c;d=f[491392+((a>>>8&255)<<2)>>2]|0;if(d|0?f[d+((a>>>5&7)<<2)>>2]&1<<(a&31)|0:0){d=0;u=c;return d|0}f[b>>2]=a;a=Oab()|0;f[b+4>>2]=a;a=f[125029]|0;if(a|0)do{cj[f[a>>2]&1023](f[a+4>>2]|0,b)|0;a=f[a+8>>2]|0}while((a|0)!=0);if((Pab(b,1,0,0,0)|0)<1)a=0;else{Qab(b);a=1}d=a;u=c;return d|0}function Oab(){var a=0,b=0,c=0;c=u;u=u+16|0;a=c;do if(!(f[125030]|0)){f[125030]=1;if(!(Nb(4,500124)|0)){f[125033]=1;break}else{th(500136,0)|0;b=5;break}}else b=5;while(0);if((b|0)==5?(f[125033]|0)==0:0){th(a|0,0)|0;b=(((f[a+4>>2]|0)-(f[125035]|0)|0)/1e3|0)+(((f[a>>2]|0)-(f[125034]|0)|0)*1e3|0)|0;u=c;return b|0}Nb(4,a|0)|0;b=(((f[a+4>>2]|0)-(f[125032]|0)|0)/1e6|0)+(((f[a>>2]|0)-(f[125031]|0)|0)*1e3|0)|0;u=c;return b|0}function Pab(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,k=0,l=0,m=0,n=0,o=0,p=0;p=u;u=u+32|0;h=p+16|0;m=p+8|0;g=p;if(!(Yab(357452)|0)){if(!c){b=-1;u=p;return b|0}c5a(460610,g)|0;b=-1;u=p;return b|0}g=f[89362]|0;if(g|0?I5a(g)|0:0){b=c5a(460678,h)|0;u=p;return b|0}a:do if(!c)if((b|0)>0){i=0;g=0;do{h=a+(i*56|0)|0;c=Yab(357456)|0;do if((c|0)<=65534){c=f[89368]|0;if(!c){c=K5a(80)|0;if(!c){c=0;break}}else f[89368]=f[c+72>>2];j=c;k=h;l=j+56|0;do{f[j>>2]=f[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));if((f[h>>2]|0)==513){e=c+56|0;d=f[a+(i*56|0)+8>>2]|0;f[e>>2]=f[d>>2];f[e+4>>2]=f[d+4>>2];f[e+8>>2]=f[d+8>>2];f[c+8>>2]=e}h=f[89367]|0;if(!h){f[89366]=c;f[89367]=c;f[c+68>>2]=0}else{f[h+72>>2]=c;f[c+68>>2]=h;f[89367]=c}f[c+72>>2]=0;c=Zab(357456,1)|0;if((c|0)<(f[89365]|0))c=1;else{f[89365]=c+1;c=1}}else{f[m>>2]=c;c5a(460646,m)|0;c=0}while(0);g=c+g|0;i=i+1|0}while((i|0)!=(b|0))}else g=0;else{o=(c|0)==2;if(o){g=f[89369]|0;if(g|0){h=f[89370]|0;while(1){n=g+12|0;c=f[n>>2]|0;f[n>>2]=h;h=g;if(!c)break;else g=c}f[89370]=g}f[89369]=0}c=f[89366]|0;if(!c)g=0;else{if(!a){g=0;while(1){b=c;c=f[c+72>>2]|0;b=f[b>>2]|0;g=g+(b>>>0<=e>>>0&b>>>0>=d>>>0&1)|0;if(!c)break a}}g=0;do{if((g|0)>=(b|0))break a;n=c+72|0;m=c;c=f[n>>2]|0;h=f[m>>2]|0;if(!(h>>>0<d>>>0|h>>>0>e>>>0)){j=a+(g*56|0)|0;k=m;l=j+56|0;do{f[j>>2]=f[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));if((h|0)==513){h=f[89370]|0;if(!h){i=K5a(16)|0;h=i;i=i+12|0}else{i=h+12|0;f[89370]=f[i>>2]}l=f[m+8>>2]|0;f[h>>2]=f[l>>2];f[h+4>>2]=f[l+4>>2];f[h+8>>2]=f[l+8>>2];f[i>>2]=f[89369];f[89369]=h;f[a+(g*56|0)+8>>2]=h}if(o){h=m+68|0;i=f[h>>2]|0;if(i|0)f[i+72>>2]=f[n>>2];j=f[n>>2]|0;if(j|0)f[j+68>>2]=i;if((f[89366]|0)==(m|0))f[89366]=j;if((f[89367]|0)==(m|0))f[89367]=f[h>>2];f[n>>2]=f[89368];f[89368]=m;Zab(357456,-1)|0}g=g+1|0}}while((c|0)!=0)}}while(0);if(!(f[89362]|0)){b=g;u=p;return b|0}b=g;u=p;return b|0}function Qab(a){a=a|0;var b=0,c=0,e=0,g=0,h=0.0,i=0.0,k=0,l=0.0,m=0.0,o=0,p=0,q=0.0,r=0.0,t=0.0,v=0,w=0,x=0.0,y=0.0,z=0.0,A=0,B=0,C=0,D=0,E=0,F=0;E=u;u=u+1040|0;p=E+1024|0;A=E+512|0;w=E;o=f[a>>2]|0;if((o+-1792|0)>>>0>=3){u=E;return}c=a+8|0;k=f[c>>2]|0;c=f[c+4>>2]|0;e=f[124992]|0;if((e|0)<=0){u=E;return}D=f[124993]|0;C=0;while(1){B=D+(C*8232|0)|0;F=B;g=C+1|0;if((f[F>>2]|0)==(k|0)?(f[F+4>>2]|0)==(c|0):0)break;if((g|0)<(e|0))C=g;else{v=54;break}}if((v|0)==54){u=E;return}if(!B){u=E;return}y=+n[a+24>>2];z=+n[a+28>>2];switch(o|0){case 1793:{a=D+(C*8232|0)+8216|0;d[a>>1]=(d[a>>1]|0)+-1<<16>>16;c=D+(C*8232|0)+8228|0;do if(!(f[c>>2]|0)){P5a(A,0,512)|0;Rab(D+(C*8232|0)+16|0,A);k=D+(C*8232|0)+8220|0;if((f[k>>2]|0)<=0)break;o=D+(C*8232|0)+8224|0;x=1.0e4;e=0;g=-1;do{c=(f[o>>2]|0)+(e*516|0)|0;h=+Sab(A,c,-.185407355427742);i=+Sab(A,c,.185407355427742);b=h<i;if(+Tab(-1.5707963267948966)>.03490658503988659){t=.185407355427742;m=-.185407355427742;q=-.7853981633974483;r=.7853981633974483;l=i;while(1){if(b){r=t;l=r*.38196601100000005+q*.618033989;i=h;h=+Sab(A,c,l)}else{q=m;m=q*.38196601100000005+r*.618033989;i=+Sab(A,c,m);h=l;l=t}b=h<i;if(+Tab(q-r)>.03490658503988659){t=m;m=l;l=i}else break}}t=b?h:i;F=t<x;g=F?e:g;x=F?t:x;e=e+1|0}while((e|0)<(f[k>>2]|0));if((g|0)>-1){w=f[(f[o>>2]|0)+(g*516|0)+512>>2]|0;f[A>>2]=2048;v=B;B=f[v+4>>2]|0;F=A+8|0;f[F>>2]=f[v>>2];f[F+4>>2]=B;f[A+32>>2]=f[D+(C*8232|0)+8>>2];f[A+36>>2]=f[D+(C*8232|0)+12>>2];F=A+16|0;f[F>>2]=w;f[F+4>>2]=0;n[A+28>>2]=x;f[A+24>>2]=(j[a>>1]|0)+1;Lab(A)|0}}else{f[c>>2]=0;Rab(D+(C*8232|0)+16|0,w);a:do if(0){c=f[124992]|0;b:do if(!c){b=c5a(460551,p)|0;v=21}else{if((c|0)<=0)break a;o=0;do{c=f[124993]|0;g=c+(o*8232|0)+8220|0;b=f[g>>2]|0;c=c+(o*8232|0)+8224|0;k=C9a(f[c>>2]|0,(b*516|0)+516|0)|0;if(!k)b=Y4a(0)|0;else{f[c>>2]=k;M5a(k+(b*516|0)|0,w,512)|0;c=5381;e=0;do{c=(((c*33|0)+(~~+n[k+(b*516|0)+(e<<3)>>2]>>>0)|0)*33|0)+(~~+n[k+(b*516|0)+(e<<3)+4>>2]>>>0)|0;e=e+1|0}while((e|0)!=64);f[k+(b*516|0)+512>>2]=c;f[g>>2]=(f[g>>2]|0)+1}o=o+1|0;if((b|0)<0){b=-1;v=21;break b}g=f[124992]|0}while((o|0)<(g|0))}while(0);if((v|0)==21)g=f[124992]|0;if((g|0)>0){e=f[124993]|0;c=0;do{f[e+(c*8232|0)+8228>>2]=0;c=c+1|0}while((c|0)<(g|0));v=30}else v=30}else{g=D+(C*8232|0)+8220|0;b=f[g>>2]|0;c=D+(C*8232|0)+8224|0;k=C9a(f[c>>2]|0,(b*516|0)+516|0)|0;if(!k){b=Y4a(0)|0;v=30;break}f[c>>2]=k;M5a(k+(b*516|0)|0,w,512)|0;c=5381;e=0;do{c=(((c*33|0)+(~~+n[k+(b*516|0)+(e<<3)>>2]>>>0)|0)*33|0)+(~~+n[k+(b*516|0)+(e<<3)+4>>2]>>>0)|0;e=e+1|0}while((e|0)!=64);f[k+(b*516|0)+512>>2]=c;f[g>>2]=(f[g>>2]|0)+1;v=30}while(0);if((v|0)==30?(b|0)>-1:0){w=f[(f[D+(C*8232|0)+8224>>2]|0)+(b*516|0)+512>>2]|0;v=f[B>>2]|0;B=f[B+4>>2]|0;f[A>>2]=2049;F=A+8|0;f[F>>2]=v;f[F+4>>2]=B;F=A+16|0;f[F>>2]=w;f[F+4>>2]=0;Lab(A)|0;break}w=f[B>>2]|0;B=f[B+4>>2]|0;f[A>>2]=2049;F=A+8|0;f[F>>2]=w;f[F+4>>2]=B;F=A+16|0;f[F>>2]=-1;f[F+4>>2]=-1;Lab(A)|0}while(0);b=d[a>>1]|0;if(b<<16>>16){F=D+(C*8232|0)+8|0;t=+((b&65535)+1|0);x=+(b&65535);n[F>>2]=(+n[F>>2]*t-y)/x;F=D+(C*8232|0)+12|0;n[F>>2]=(+n[F>>2]*t-z)/x}u=E;return}case 1794:{m=+n[a+32>>2];l=+n[a+36>>2];b=D+(C*8232|0)+20|0;c=f[b>>2]|0;if((c|0)<1024){v=f[D+(C*8232|0)+8>>2]|0;f[D+(C*8232|0)+24+(c<<3)>>2]=v;F=D+(C*8232|0)+12|0;w=f[F>>2]|0;f[D+(C*8232|0)+24+(c<<3)+4>>2]=w;c=c+-1|0;t=(f[s>>2]=v,+n[s>>2])-+n[D+(C*8232|0)+24+(c<<3)>>2];x=(f[s>>2]=w,+n[s>>2])-+n[D+(C*8232|0)+24+(c<<3)+4>>2];x=+Uab(t*t+x*x);c=D+(C*8232|0)+16|0;n[c>>2]=+n[c>>2]+x;f[b>>2]=(f[b>>2]|0)+1;c=F}else c=D+(C*8232|0)+12|0;b=D+(C*8232|0)+8|0;h=+n[b>>2];i=+n[c>>2];e=D+(C*8232|0)+8216|0;F=d[e>>1]|0;x=+(F&65535);n[b>>2]=h+m/x;n[c>>2]=i+l/x;if((F&65535)<=1){u=E;return}q=y-m-h;t=z-l-i;x=+Uab(q*q+t*t);r=y-+n[b>>2];y=z-+n[c>>2];z=+Uab(r*r+y*y);q=q/x;t=t/x;r=r/z;y=y/z;y=+Vab(q*y-t*r,q*r+t*y);F=x==0.0;f[A>>2]=2050;v=B;w=f[v+4>>2]|0;B=A+8|0;f[B>>2]=f[v>>2];f[B+4>>2]=w;f[A+24>>2]=f[D+(C*8232|0)+8>>2];f[A+28>>2]=f[c>>2];n[A+16>>2]=F?0.0:y;n[A+20>>2]=F?0.0:z-x;d[A+32>>1]=d[e>>1]|0;Lab(A)|0;u=E;return}case 1792:{F=D+(C*8232|0)+8216|0;B=(d[F>>1]|0)+1<<16>>16;d[F>>1]=B;F=D+(C*8232|0)+8|0;t=+((B&65535)+-1|0);x=+(B&65535);n[F>>2]=(y+ +n[F>>2]*t)/x;F=D+(C*8232|0)+12|0;n[F>>2]=(z+ +n[F>>2]*t)/x;n[D+(C*8232|0)+16>>2]=0.0;n[D+(C*8232|0)+24>>2]=y;n[D+(C*8232|0)+28>>2]=z;f[D+(C*8232|0)+20>>2]=1;u=E;return}default:{u=E;return}}}function Rab(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0.0,y=0.0,z=0.0;w=u;u=u+16|0;v=w;d=+n[a>>2];t=a+4|0;c=f[t>>2]|0;if(d<=0.0)if((c|0)>1){g=1;do{c=g+-1|0;m=+n[a+8+(g<<3)>>2]-+n[a+8+(c<<3)>>2];o=+n[a+8+(g<<3)+4>>2]-+n[a+8+(c<<3)+4>>2];d=d+ +Uab(m*m+o*o);g=g+1|0;c=f[t>>2]|0}while((g|0)<(c|0));g=5}else c=0;else g=5;if((g|0)==5){k=d/63.0;if((c|0)>1){d=k;c=0;s=1;e=0.0;h=0.0;do{q=s+-1|0;g=a+8+(q<<3)|0;p=a+8+(s<<3)|0;i=+n[g>>2]-+n[p>>2];q=a+8+(q<<3)+4|0;r=a+8+(s<<3)+4|0;j=+n[q>>2]-+n[r>>2];j=+Uab(i*i+j*j);i=d+j;if(i>k){do{o=+n[g>>2];m=(k-d)/j;o=o+m*(+n[p>>2]-o);n[b+(c<<3)>>2]=o;i=+n[q>>2];i=i+m*(+n[r>>2]-i);n[b+(c<<3)+4>>2]=i;e=e+o;h=h+i;c=c+1|0;d=d-k;i=d+j}while(i>k);d=i}else d=i;s=s+1|0;g=f[t>>2]|0}while((s|0)<(g|0));if((c|0)>=63){a=a+8+(g+-1<<3)|0;v=f[a+4>>2]|0;c=b+504|0;f[c>>2]=f[a>>2];f[c+4>>2]=v;o=e*.015625;m=h*.015625;h=+Vab(m-+n[b+4>>2],o-+n[b>>2]);i=o;j=m;d=o;e=o;k=m;l=m;c=0;do{v=b+(c<<3)|0;a=b+(c<<3)+4|0;x=+n[a>>2];y=+n[v>>2]-o;z=+Wab(h)*y;x=x-m;z=z-+Xab(h)*x+i;n[v>>2]=z;y=+Xab(h)*y;x=y+ +Wab(h)*x+j;n[a>>2]=x;y=+n[v>>2];d=y<d?y:d;e=y>e?y:e;l=l>x?x:l;k=k<x?x:k;c=c+1|0}while((c|0)!=64);e=e-d;d=k-l;c=0;do{v=b+(c<<3)|0;n[v>>2]=(+n[v>>2]-o)*256.0/e;v=b+(c<<3)+4|0;n[v>>2]=(+n[v>>2]-m)*256.0/d;c=c+1|0}while((c|0)!=64);u=w;return}}else c=0}f[v>>2]=c;c5a(460587,v)|0;u=w;return}function Sab(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0,f=0.0,g=0.0,h=0.0,i=0,j=0;d=0.0;e=0;do{j=a+(e<<3)|0;h=+n[j>>2];h=+Wab(c)*h;i=a+(e<<3)+4|0;g=+n[i>>2];g=h-+Xab(c)*g;h=+n[j>>2];h=+Xab(c)*h;f=+n[i>>2];f=h+ +Wab(c)*f;g=g-+n[b+(e<<3)>>2];f=f-+n[b+(e<<3)+4>>2];d=d+ +Uab(g*g+f*f);e=e+1|0}while((e|0)!=64);return +(d*.015625)}function Tab(a){a=+a;return +(+J(+a))}function Uab(a){a=+a;return +(+K(+a))}function Vab(a,b){a=+a;b=+b;return +(+S(+a,+b))}function Wab(a){a=+a;return +(+M(+a))}function Xab(a){a=+a;return +(+N(+a))}function Yab(a){a=a|0;var b=0,c=0;do{b=f[a>>2]|0;c=f[a>>2]|0;if((c|0)==(b|0))f[a>>2]=b}while((c|0)!=(b|0));return b|0}function Zab(a,b){a=a|0;b=b|0;var c=0;c=f[a>>2]|0;f[a>>2]=c+b;return c|0}function _ab(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=(Yab(357452)|0)!=0;c=f[89362]|0;if(!(j&(c|0)!=0))return;if(I5a(c)|0)return;c=f[89366]|0;if(c|0)do{h=c+72|0;g=c;c=f[h>>2]|0;j=f[g>>2]|0;d=c;if(!(j>>>0<a>>>0|j>>>0>b>>>0)){i=g+68|0;j=f[i>>2]|0;if(!j)e=c;else{f[j+72>>2]=d;e=f[h>>2]|0;d=e}if(e|0)f[e+68>>2]=j;if((f[89366]|0)==(g|0))f[89366]=d;if((f[89367]|0)==(g|0))f[89367]=f[i>>2];f[h>>2]=f[89368];f[89368]=g;Zab(357456,-1)|0}}while((c|0)!=0);return}function $ab(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;d=$5a(a)|0;e=f[124998]|0;a:do if(!e)g=8;else{while(1){if(!(gab(a,f[e>>2]|0)|0))break;e=f[e+16>>2]|0;if(!e){g=8;break a}}if(d|0?(f[e+8>>2]|0)!=2:0)break;d=f[e+4>>2]|0;g=8}while(0);if((g|0)==8)if(!d){g=c;return g|0}if((b[d>>0]|0)==48){g=0;return g|0}else return (fab(d,489367)|0)!=0|0;return 0}function abb(a){a=a|0;var b=0,c=0;b=f[125011]|0;if((b|0)==(a|0))return;if(b|0)tab(b,11,0,0)|0;f[125011]=a;if((a|0)!=0?(tab(a,10,0,0)|0,(f[125011]|0)!=0):0)a=500100;else a=500096;a=f[a>>2]|0;b=f[125002]|0;c=(b|0)==0;if((a|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(c)return;_i[b&2047](a)|0;return}else{if(c)return;_i[b&2047](0)|0;return}}function bbb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=(a|0)==0?f[125011]|0:a;if(!d)return;a=f[125005]|0;if(a|0){Fj[a&511](d,b,c);return}a=f[125010]|0;if(!(cbb(d,b,c)|0))return;dbb(d,a,0,b,c)|0;return}function cbb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0;h=u;u=u+16|0;d=h+4|0;e=h;g=(a|0)==0;if((!g?(f[a+48>>2]&16384|0)==0:0)?(Z9a(a,d,e),!(((c|b|0)>-1?(f[d>>2]|0)>(b|0):0)&(f[e>>2]|0)>(c|0))):0){if((f[125011]|0)!=(a|0)){c=0;u=h;return c|0}dbb(a,f[125010]|0,0,b,c)|0;d=f[125011]|0;if(!d){c=0;u=h;return c|0}tab(d,11,0,0)|0;f[125011]=0;d=f[125024]|0;e=f[125002]|0;g=(e|0)==0;if((d|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(g){c=0;u=h;return c|0}_i[e&2047](d)|0;c=0;u=h;return c|0}else{if(g){c=0;u=h;return c|0}_i[e&2047](0)|0;c=0;u=h;return c|0}}d=f[125011]|0;if((d|0)==(a|0)){c=1;u=h;return c|0}if(d|0)tab(d,11,0,0)|0;f[125011]=a;if(!g?(tab(a,10,0,0)|0,(f[125011]|0)!=0):0)d=500100;else d=500096;d=f[d>>2]|0;e=f[125002]|0;g=(e|0)==0;if((d|0)!=0&(f[125026]|0)!=0&(f[125019]|0)==0){if(!g)_i[e&2047](d)|0}else if(!g)_i[e&2047](0)|0;dbb(a,f[125010]|0,0,b,c)|0;c=1;u=h;return c|0}function dbb(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=u;u=u+64|0;p=q;k=q+56|0;if(f[125020]|0){f[p>>2]=0;f[k>>2]=0;Z9a(a,p,k);h=(f[p>>2]|0)/2|0;f[p>>2]=h;i=(f[k>>2]|0)/2|0;f[k>>2]=i;if((h|0)==(d|0)&(i|0)==(e|0)){f[125016]=d;f[125017]=e;p=0;u=q;return p|0}j=(a|0)==0?f[125011]|0:a;do if(j|0){g=f[125005]|0;if(g|0){Fj[g&511](j,h,i);break}g=f[125010]|0;if(cbb(j,h,i)|0)dbb(j,g,0,h,i)|0}while(0)}m=(c|0)!=0;g=f[125016]|0;if(m){j=e;l=d;e=(f[125017]|0)+e|0;d=g+d|0}else{j=e-(f[125017]|0)|0;l=d-g|0}if(!(j|l)){p=0;u=q;return p|0}g=f[125019]|0;if(!g){f[125012]=d;h=e}else{f[125012]=(f[125012]|0)+l;h=(f[125013]|0)+j|0}f[125013]=h;if((a|0)!=0?(f[a+48>>2]&16384|0)==0:0){f[p>>2]=0;f[k>>2]=0;Z9a(f[125011]|0,p,k);a=f[p>>2]|0;g=a+-1|0;f[p>>2]=g;i=f[k>>2]|0;c=i+-1|0;f[k>>2]=c;h=f[125012]|0;k=(h|0)<(a|0);g=k?h:g;h=(g|0)<0;if(h|k^1)f[125012]=h?0:g;g=f[125013]|0;k=(g|0)>=(i|0);g=k?c:g;h=(g|0)<0;if(k|h)f[125013]=h?0:g;g=f[125019]|0}f[125014]=(f[125014]|0)+l;f[125015]=(f[125015]|0)+j;if(((f[125026]|0)!=0&(g|0)==0?(n=f[125003]|0,n|0):0)?(o=f[125025]|0,o|0):0)tj[n&2047](o);if((Fab(1024,-1)|0)<<24>>24==1){f[p>>2]=1024;g=f[125011]|0;if(!g)g=0;else g=f[g+4>>2]|0;f[p+8>>2]=g;f[p+12>>2]=b;f[p+16>>2]=f[125018];f[p+20>>2]=f[125012];f[p+24>>2]=f[125013];f[p+28>>2]=l;f[p+32>>2]=j;g=(Lab(p)|0)>0&1}else g=0;if(m){f[125016]=f[125012];e=f[125013]|0}else f[125016]=d;f[125017]=e;p=g;u=q;return p|0}function ebb(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+48|0;m=o+16|0;b=o+8|0;k=o+40|0;l=o+24|0;c=f[124995]|0;if(!c){c5a(458271,o)|0;n=-1;u=o;return n|0}if(a|0?(f[a>>2]|0)==(c+280|0):0){g=f[a+16>>2]|0;b=g&-65536;if((b|0)<805240832)switch(b|0){case 536805376:{n=7;break}default:{}}else switch(b|0){case 805240832:{n=7;break}default:{}}if((n|0)==7){n=g&65535;n=(n|0)<(f[c+264>>2]|0)?n:0;u=o;return n|0}h=f[a+20>>2]|0;b=h&-65536;if((b|0)<805240832)switch(b|0){case 536805376:{n=9;break}default:{}}else switch(b|0){case 805240832:{n=9;break}default:{}}if((n|0)==9){n=h&65535;n=(n|0)<(f[c+264>>2]|0)?n:0;u=o;return n|0}d=f[c+264>>2]|0;e=(d|0)>0;a:do if(e){c=f[c+268>>2]|0;b=0;while(1){if((f[c+(b*68|0)+56>>2]|0)==(a|0))break;b=b+1|0;if((b|0)>=(d|0))break a}u=o;return b|0}while(0);f[k>>2]=((f[a+24>>2]|0)/2|0)+g;j=k+4|0;f[j>>2]=((f[a+28>>2]|0)/2|0)+h;if(e){e=l+8|0;g=l+4|0;h=l+12|0;c=2147483647;b=-1;d=0;while(1){mbb(d,l)|0;if(nbb(k,1,l,0)|0){b=d;n=20;break}a=(f[k>>2]|0)-(f[l>>2]|0)+((f[e>>2]|0)/-2|0)|0;i=(f[j>>2]|0)-(f[g>>2]|0)+((f[h>>2]|0)/-2|0)|0;a=(W(i,i)|0)+(W(a,a)|0)|0;i=(a|0)<(c|0);b=i?d:b;d=d+1|0;if((d|0)>=(f[(f[124995]|0)+264>>2]|0))break;else c=i?a:c}if((n|0)==20){u=o;return b|0}if((b|0)>=0){n=b;u=o;return n|0}}else b=-1;c5a(460877,m)|0;n=b;u=o;return n|0}c5a(473742,b)|0;n=-1;u=o;return n|0}function fbb(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+48|0;h=i+24|0;e=i+16|0;d=i+8|0;g=i+28|0;c=f[124995]|0;if(!c){c5a(458271,i)|0;h=-1;u=i;return h|0}if(a|0?(f[a>>2]|0)==(c+280|0):0){if(!b){f[e>>2]=460839;h=c5a(473278,e)|0;u=i;return h|0}c=a+72|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];c=g+4|0;if(!(f[c>>2]|0))f[c>>2]=f[a+64>>2];c=g+8|0;if(!(f[c>>2]|0))f[c>>2]=f[a+68>>2];c=ebb(a)|0;if((c|0)>-1)c=(f[(f[124995]|0)+268>>2]|0)+(c*68|0)|0;else c=0;if((f[a+48>>2]&4097|0)!=4097){c=ebb(a)|0;if((c|0)>-1)c=(f[(f[124995]|0)+268>>2]|0)+(c*68|0)|0;else c=0;if(!(jbb(c,g,g)|0)){h=c5a(460844,h)|0;u=i;return h|0}}else{h=c+16|0;f[g>>2]=f[h>>2];f[g+4>>2]=f[h+4>>2];f[g+8>>2]=f[h+8>>2];f[g+12>>2]=f[h+12>>2];f[g+16>>2]=f[h+16>>2]};f[b>>2]=f[g>>2];f[b+4>>2]=f[g+4>>2];f[b+8>>2]=f[g+8>>2];f[b+12>>2]=f[g+12>>2];f[b+16>>2]=f[g+16>>2];h=0;u=i;return h|0}c5a(473742,d)|0;h=-1;u=i;return h|0}function gbb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;j=u;u=u+64|0;i=j+8|0;e=j;h=j+32|0;g=j+12|0;if(b){f[h>>2]=f[b>>2];f[h+4>>2]=f[b+4>>2];f[h+8>>2]=f[b+8>>2];f[h+12>>2]=f[b+12>>2];f[h+16>>2]=f[b+16>>2];if(!(f[h>>2]|0))f[h>>2]=f[a+36>>2];d=h+4|0;if(!(f[d>>2]|0))f[d>>2]=f[a+40>>2];b=h+8|0;if(!(f[b>>2]|0))f[b>>2]=f[a+44>>2];c=h+12|0;if(!(f[c>>2]|0))f[c>>2]=f[a+48>>2];if(!(jbb(a,h,h)|0)){i=f[b>>2]|0;f[e>>2]=f[d>>2];f[e+4>>2]=i;i=c5a(460755,e)|0;u=j;return i|0}}else{e=a+16|0;f[h>>2]=f[e>>2];f[h+4>>2]=f[e+4>>2];f[h+8>>2]=f[e+8>>2];f[h+12>>2]=f[e+12>>2];f[h+16>>2]=f[e+16>>2]}d=a+36|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];if(!(P9a(h,g,20)|0)){i=0;u=j;return i|0}b=f[124995]|0;c=f[b+28>>2]|0;if(!c){i=c5a(460704,i)|0;u=j;return i|0}if((dj[c&255](b,a,h)|0)<0){i=-1;u=j;return i|0};f[d>>2]=f[h>>2];f[d+4>>2]=f[h+4>>2];f[d+8>>2]=f[h+8>>2];f[d+12>>2]=f[h+12>>2];f[d+16>>2]=f[h+16>>2];i=0;u=j;return i|0}function hbb(){return f[125011]|0}function ibb(a,b){a=a|0;b=b|0;if(a|0)f[a>>2]=f[125012];if(b|0)f[b>>2]=f[125013];return f[125018]|0}function jbb(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,t=0,v=0,w=0,x=0;x=u;u=u+16|0;if(!((b|0)!=0&(c|0)!=0)){c5a(460792,x)|0;c=0;u=x;return c|0}d=f[b>>2]|0;if(!d)d=f[a+16>>2]|0;w=b+12|0;e=f[w>>2]|0;if(!e)e=f[a+28>>2]|0;s=b+4|0;o=a+8|0;p=a+12|0;t=b+8|0;q=d>>>8&255;v=0;n=0;h=f[o>>2]|0;while(1){if(!h){h=f[124995]|0;i=f[h+24>>2]|0;if(!i)m=0;else{Bj[i&1023](h,a);lbb(f[p>>2]|0,f[o>>2]|0,20,490);m=f[o>>2]|0}}else m=h;if((n|0)>=(m|0))break;l=f[p>>2]|0;h=l+(n*20|0)|0;i=f[l+(n*20|0)+4>>2]|0;j=(i|0)==0;if(!j?(i|0)<(f[s>>2]|0):0)break;k=f[l+(n*20|0)+8>>2]|0;if((k|0)!=0?(k|0)<(f[t>>2]|0):0)if(!j?(i|0)==(f[s>>2]|0):0)break;else h=v;else r=18;do if((r|0)==18){r=0;if(((v|0)!=0?(i|0)>=(f[v+4>>2]|0):0)?(k|0)>=(f[v+8>>2]|0):0){i=f[h>>2]|0;if((i|0)==(f[v>>2]|0)){l=f[l+(n*20|0)+12>>2]|0;h=((l|0)<(e|0)?1:(l|0)==(f[v+12>>2]|0))?v:h;break}if((i|0)!=(d|0)){if((i>>>8&255)>>>0<q>>>0){h=v;break}if((i^d)&251658240|0){h=v;break}}}}while(0);v=h;n=n+1|0;h=m}if(!v){c=0;u=x;return c|0}d=f[v>>2]|0;if(!d)h=f[b>>2]|0;else h=d;f[c>>2]=h;e=f[v+4>>2]|0;if((e|0)!=0?(g=f[v+8>>2]|0,(g|0)!=0):0)f[c+4>>2]=e;else{e=f[s>>2]|0;f[c+4>>2]=e;g=f[t>>2]|0}f[c+8>>2]=g;d=f[v+12>>2]|0;if(!d)d=f[w>>2]|0;f[c+12>>2]=d;f[c+16>>2]=f[v+16>>2];if(!h)f[c>>2]=370546692;if(!e)f[c+4>>2]=640;if(g|0){u=x;return c|0}f[c+8>>2]=480;u=x;return c|0}function kbb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;if((a|0)==(b|0)){b=0;return b|0}c=f[a+4>>2]|0;d=f[b+4>>2]|0;if((d|0)!=(c|0)){b=d-c|0;return b|0}c=f[a+8>>2]|0;d=f[b+8>>2]|0;if((d|0)!=(c|0)){b=d-c|0;return b|0}c=f[a>>2]|0;d=c>>>8&255;g=f[b>>2]|0;e=g>>>8&255;if((e|0)!=(d|0)){b=e-d|0;return b|0}d=c>>>16&15;c=g>>>16&15;if((c|0)==(d|0)){a=f[a+12>>2]|0;b=f[b+12>>2]|0;return ((b|0)==(a|0)?0:b-a|0)|0}b=c-d|0;return b|0}function lbb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;pob(a,b,c,d);return}function mbb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=u;u=u+16|0;d=g+8|0;e=f[124995]|0;if(!e){c5a(458271,g)|0;b=-1;u=g;return b|0}c=f[e+264>>2]|0;if(!((a|0)>-1&(c|0)>(a|0))){f[d>>2]=c+-1;c5a(460917,d)|0;b=-1;u=g;return b|0}if(!b){b=0;u=g;return b|0}d=f[e+268>>2]|0;c=f[e+12>>2]|0;if(c|0?(dj[c&255](e,d+(a*68|0)|0,b)|0)==0:0){b=0;u=g;return b|0}if(!a){f[b>>2]=0;f[b+4>>2]=0;c=b+8|0}else{mbb(a+-1|0,b)|0;c=b+8|0;f[b>>2]=(f[b>>2]|0)+(f[c>>2]|0)}f[c>>2]=f[d+(a*68|0)+40>>2];f[b+12>>2]=f[d+(a*68|0)+44>>2];b=0;u=g;return b|0}function nbb(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;q=u;u=u+16|0;g=q+8|0;e=q;if(!a){f[e>>2]=460904;c5a(473278,e)|0;d=0;u=q;return d|0}if((b|0)<1){f[g>>2]=460911;c5a(473278,g)|0;d=0;u=q;return d|0}if(!c){if(!d){d=1;u=q;return d|0}i=f[a>>2]|0;e=f[a+4>>2]|0;if((b|0)>1){j=1;g=e;h=e;c=i;e=i;do{o=f[a+(j<<3)>>2]|0;p=f[a+(j<<3)+4>>2]|0;n=(o|0)<(e|0);c=n?c:(o|0)>(c|0)?o:c;e=n?o:e;o=(p|0)<(g|0);h=o?h:(p|0)>(h|0)?p:h;g=o?p:g;j=j+1|0}while((j|0)!=(b|0));j=21}else{g=e;h=e;c=i;e=i}}else{o=f[c>>2]|0;p=f[c+4>>2]|0;k=f[c+8>>2]|0;n=k+o|0;l=f[c+12>>2]|0;m=l+p|0;if(!((k|0)>0&(l|0)>0)){d=0;u=q;return d|0}if(!d){e=0;while(1){l=f[a+(e<<3)>>2]|0;d=f[a+(e<<3)+4>>2]|0;if((d|0)<(m|0)&(((l|0)>=(n|0)|(l|0)<(o|0)|(d|0)<(p|0))^1)){e=1;j=23;break}e=e+1|0;if((e|0)>=(b|0)){e=0;j=23;break}}if((j|0)==23){u=q;return e|0}}c=0;j=0;l=0;h=0;e=0;g=0;do{k=f[a+(l<<3)>>2]|0;i=f[a+(l<<3)+4>>2]|0;if((i|0)<(m|0)&(((k|0)>=(n|0)|(k|0)<(o|0)|(i|0)<(p|0))^1))if(!j){j=1;h=i;g=i;e=k;c=k}else{r=(k|0)<(e|0);s=(i|0)<(g|0);h=s?h:(i|0)>(h|0)?i:h;g=s?i:g;e=r?k:e;c=r?c:(k|0)>(c|0)?k:c}l=l+1|0}while((l|0)!=(b|0));if(!j){s=0;u=q;return s|0}else j=21}if((j|0)==21)if(!d){s=1;u=q;return s|0}f[d>>2]=e;f[d+4>>2]=g;f[d+8>>2]=c+1-e;f[d+12>>2]=h+1-g;s=1;u=q;return s|0}function obb(a,b){a=a|0;b=b|0;a=pbb(a)|0;if(!a){b=0;return b|0}b=qbb(a)|0;return b|0}function pbb(a){a=a|0;var b=0,c=0,d=0,e=0;e=u;u=u+16|0;c=e+8|0;b=f[124995]|0;if(!b){c5a(458271,e)|0;a=0;u=e;return a|0}if(a|0?(f[a>>2]|0)==(b+280|0):0){d=a+112|0;c=a+108|0;b=f[c>>2]|0;if(f[d>>2]|0){a=b;u=e;return a|0}if(b|0){f[b>>2]=f[b>>2]&-5;S5a(b)}b=Xcb(a)|0;f[c>>2]=b;if(!b){a=0;u=e;return a|0}f[d>>2]=1;f[b>>2]=f[b>>2]|4;a=b;u=e;return a|0}c5a(473742,c)|0;a=0;u=e;return a|0}function qbb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0;h=u;u=u+16|0;if(!a){c5a(461221,h)|0;g=0;u=h;return g|0}g=X4a(1,324)|0;if(!g){Y4a(0)|0;g=0;u=h;return g|0}d=X4a(1,8)|0;if(!d){A5a(f[g+320>>2]|0);A5a(g);Y4a(0)|0;g=0;u=h;return g|0}f[d>>2]=a;e=d+4|0;f[e>>2]=a;f[g+4>>2]=803;f[g+8>>2]=201;f[g+12>>2]=491;f[g+16>>2]=492;f[g+20>>2]=493;f[g+24>>2]=494;f[g+28>>2]=39;f[g+36>>2]=40;f[g+40>>2]=804;f[g+44>>2]=495;f[g+48>>2]=1079;f[g+52>>2]=1080;f[g+56>>2]=1081;f[g+60>>2]=202;f[g+64>>2]=203;f[g+68>>2]=204;f[g+72>>2]=33;f[g+76>>2]=2;f[g+80>>2]=41;f[g+84>>2]=1518;f[g+88>>2]=805;f[g+92>>2]=1519;a=g+104|0;b=357488;c=a+84|0;do{f[a>>2]=f[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(c|0));b=g+320|0;f[b>>2]=d;if(f[d>>2]|0){u=h;return g|0}c=f[e>>2]|0;f[d>>2]=c;if(c|0){u=h;return g|0}a=pbb(f[g+188>>2]|0)|0;if(!a){u=h;return g|0}f[e>>2]=a;f[d>>2]=a;a=f[f[b>>2]>>2]|0;if(!a){u=h;return g|0}Nbb(a,g+216|0)|0;a=f[f[b>>2]>>2]|0;if(!a){u=h;return g|0}if(!(f[g+280>>2]|0)){Nbb(a,0)|0;u=h;return g|0}else{Nbb(a,g+248|0)|0;u=h;return g|0}return 0}function rbb(a,c){a=a|0;c=c|0;a=f[a+320>>2]|0;if((b[c+12>>0]|0)!=6)return;f[a>>2]=0;f[a+4>>2]=0;return}function sbb(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;j=u;u=u+16|0;i=j;g=a+320|0;h=f[g>>2]|0;d=f[h>>2]|0;a:do if(!d){e=h+4|0;k=f[e>>2]|0;f[h>>2]=k;d=k;if(!k){d=pbb(f[a+188>>2]|0)|0;do if(d|0){f[e>>2]=d;f[h>>2]=d;e=f[f[g>>2]>>2]|0;if(!e)break a;Nbb(e,a+216|0)|0;d=f[f[g>>2]>>2]|0;if(d|0)if(!(f[a+280>>2]|0)){Nbb(d,0)|0;break}else{Nbb(d,a+248|0)|0;break}}while(0);d=f[h>>2]|0}if(!d){c5a(462301,i)|0;k=-1;u=j;return k|0}}while(0);if(b|0)f[b>>2]=f[d+8>>2];if(!c){k=0;u=j;return k|0}f[c>>2]=f[d+12>>2];k=0;u=j;return k|0}function tbb(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;a=i+20|0;d=i+16|0;e=i+12|0;g=i+8|0;h=i+4|0;if(!(Y9a(f[c+4>>2]|0,a,d,e,g,h)|0)){c=c5a(462278,i)|0;u=i;return c|0}h=Pbb(0,f[c+12>>2]|0,f[c+16>>2]|0,f[a>>2]|0,f[d>>2]|0,f[e>>2]|0,f[g>>2]|0,f[h>>2]|0)|0;a=c+68|0;f[a>>2]=h;Zbb(h,b[c+28>>0]|0,b[c+29>>0]|0,b[c+30>>0]|0)|0;Xbb(f[a>>2]|0,b[c+31>>0]|0)|0;Ybb(f[a>>2]|0,f[c+24>>2]|0)|0;if(!(f[c+8>>2]|0))_bb(f[a>>2]|0,1)|0;c=((f[a>>2]|0)==0)<<31>>31;u=i;return c|0}function ubb(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;d=f[c+68>>2]|0;e=c+28|0;g=b[e>>0]|0;h=c+29|0;i=b[h>>0]|0;c=c+30|0;a=b[c>>0]|0;if((i&g&a)<<24>>24==-1){h=i;i=a;i=Zbb(d,g,h,i)|0;return i|0}_bb(d,0)|0;g=b[e>>0]|0;h=b[h>>0]|0;i=b[c>>0]|0;i=Zbb(d,g,h,i)|0;return i|0}function vbb(a,c){a=a|0;c=c|0;var d=0;d=f[c+68>>2]|0;c=c+31|0;a=b[c>>0]|0;if(a<<24>>24!=-1){if(f[(f[d+4>>2]|0)+24>>2]|0){_bb(d,0)|0;a=b[c>>0]|0}}else a=-1;return Xbb(d,a)|0}function wbb(a,b){a=a|0;b=b|0;var c=0;c=f[b+68>>2]|0;b=b+24|0;a=f[b>>2]|0;switch(a|0){case 4:case 2:{_bb(c,0)|0;a=f[b>>2]|0;break}default:{}}return Ybb(c,a)|0}function xbb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,j=0,k=0,l=0;l=f[b+68>>2]|0;if(f[l>>2]&2|0)J9a(l)|0;i=l+16|0;a=h[(f[l+4>>2]|0)+9>>0]|0;j=W(f[c+8>>2]|0,a)|0;k=c+12|0;if((f[k>>2]|0)>0){b=(f[l+20>>2]|0)+(W(f[i>>2]|0,f[c+4>>2]|0)|0)|0;g=0;b=b+(W(f[c>>2]|0,a)|0)|0;a=d;while(1){M5a(b,a,j)|0;g=g+1|0;if((g|0)>=(f[k>>2]|0))break;else{b=b+(f[i>>2]|0)|0;a=a+e|0}}}if(!(f[l>>2]&2))return 0;K9a(l);return 0}function ybb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0;a=f[b+68>>2]|0;b=f[a+16>>2]|0;g=(f[a+20>>2]|0)+(W(b,f[c+4>>2]|0)|0)|0;c=g+(W(f[c>>2]|0,h[(f[a+4>>2]|0)+9>>0]|0)|0)|0;f[d>>2]=c;f[e>>2]=b;return 0}function zbb(a,b){a=a|0;b=b|0;return}function Abb(a,b){a=a|0;b=b|0;a=f[a+320>>2]|0;f[a>>2]=f[((b|0)==0?a+4|0:b+68|0)>>2];return 0}function Bbb(a){a=a|0;var b=0;b=f[f[a+320>>2]>>2]|0;if(!b)return 0;Nbb(b,a+216|0)|0;return 0}function Cbb(a){a=a|0;var b=0;b=f[f[a+320>>2]>>2]|0;if(!b)return 0;if(!(f[a+280>>2]|0)){Nbb(b,0)|0;return 0}else{Nbb(b,a+248|0)|0;return 0}return 0}function Dbb(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;j=u;u=u+16|0;h=j;e=a+320|0;g=f[e>>2]|0;c=f[g>>2]|0;a:do if(!c){d=g+4|0;k=f[d>>2]|0;f[g>>2]=k;c=k;if(!k){c=pbb(f[a+188>>2]|0)|0;do if(c|0){f[d>>2]=c;f[g>>2]=c;d=f[f[e>>2]>>2]|0;if(!d){i=10;break a}Nbb(d,a+216|0)|0;c=f[f[e>>2]>>2]|0;if(c|0)if(!(f[a+280>>2]|0)){Nbb(c,0)|0;break}else{Nbb(c,a+248|0)|0;break}}while(0);c=f[g>>2]|0}if(!c){k=-1;u=j;return k|0}else d=h}else i=10;while(0);if((i|0)==10)d=h;k=kcb(f[c+4>>2]|0,b[a+312>>0]|0,b[a+313>>0]|0,b[a+314>>0]|0,b[a+315>>0]|0)|0;i=c+36|0;f[d>>2]=f[i>>2];f[d+4>>2]=f[i+4>>2];f[d+8>>2]=f[i+8>>2];f[d+12>>2]=f[i+12>>2];Nbb(c,0)|0;T9a(c,0,k)|0;Nbb(c,h)|0;k=0;u=j;return k|0}function Ebb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,o=0;m=u;h=a+320|0;k=f[h>>2]|0;e=f[k>>2]|0;a:do if(!e){g=k+4|0;o=f[g>>2]|0;f[k>>2]=o;e=o;if(!o){e=pbb(f[a+188>>2]|0)|0;do if(e|0){f[g>>2]=e;f[k>>2]=e;g=f[f[h>>2]>>2]|0;if(!g)break a;Nbb(g,a+216|0)|0;e=f[f[h>>2]>>2]|0;if(e|0)if(!(f[a+280>>2]|0)){Nbb(e,0)|0;break}else{Nbb(e,a+248|0)|0;break}}while(0);e=f[k>>2]|0}if(!e){o=-1;u=m;return o|0}}while(0);k=u;u=u+((1*(d<<3)|0)+15&-16)|0;h=f[a+216>>2]|0;if((h|0)==0?(f[a+220>>2]|0)==0:0){if((d|0)>0){g=0;do{f[k+(g<<3)>>2]=~~+n[c+(g<<3)>>2];f[k+(g<<3)+4>>2]=~~+n[c+(g<<3)+4>>2];g=g+1|0}while((g|0)!=(d|0))}}else l=13;if((l|0)==13?(d|0)>0:0){i=+(h|0);j=+(f[a+220>>2]|0);g=0;do{f[k+(g<<3)>>2]=~~(+n[c+(g<<3)>>2]+i);f[k+(g<<3)+4>>2]=~~(+n[c+(g<<3)+4>>2]+j);g=g+1|0}while((g|0)!=(d|0))}g=f[a+316>>2]|0;if(!g){o=Vcb(e,k,d,kcb(f[e+4>>2]|0,b[a+312>>0]|0,b[a+313>>0]|0,b[a+314>>0]|0,b[a+315>>0]|0)|0)|0;u=m;return o|0}else{o=Wcb(e,k,d,g,b[a+312>>0]|0,b[a+313>>0]|0,b[a+314>>0]|0,b[a+315>>0]|0)|0;u=m;return o|0}return 0}function Fbb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,o=0;m=u;h=a+320|0;k=f[h>>2]|0;e=f[k>>2]|0;a:do if(!e){g=k+4|0;o=f[g>>2]|0;f[k>>2]=o;e=o;if(!o){e=pbb(f[a+188>>2]|0)|0;do if(e|0){f[g>>2]=e;f[k>>2]=e;g=f[f[h>>2]>>2]|0;if(!g)break a;Nbb(g,a+216|0)|0;e=f[f[h>>2]>>2]|0;if(e|0)if(!(f[a+280>>2]|0)){Nbb(e,0)|0;break}else{Nbb(e,a+248|0)|0;break}}while(0);e=f[k>>2]|0}if(!e){o=-1;u=m;return o|0}}while(0);k=u;u=u+((1*(d<<3)|0)+15&-16)|0;h=f[a+216>>2]|0;if((h|0)==0?(f[a+220>>2]|0)==0:0){if((d|0)>0){g=0;do{f[k+(g<<3)>>2]=~~+n[c+(g<<3)>>2];f[k+(g<<3)+4>>2]=~~+n[c+(g<<3)+4>>2];g=g+1|0}while((g|0)!=(d|0))}}else l=13;if((l|0)==13?(d|0)>0:0){i=+(h|0);j=+(f[a+220>>2]|0);g=0;do{f[k+(g<<3)>>2]=~~(+n[c+(g<<3)>>2]+i);f[k+(g<<3)+4>>2]=~~(+n[c+(g<<3)+4>>2]+j);g=g+1|0}while((g|0)!=(d|0))}g=f[a+316>>2]|0;if(!g){o=Acb(e,k,d,kcb(f[e+4>>2]|0,b[a+312>>0]|0,b[a+313>>0]|0,b[a+314>>0]|0,b[a+315>>0]|0)|0)|0;u=m;return o|0}else{o=Bcb(e,k,d,g,b[a+312>>0]|0,b[a+313>>0]|0,b[a+314>>0]|0,b[a+315>>0]|0)|0;u=m;return o|0}return 0}function Gbb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,o=0;m=u;h=a+320|0;k=f[h>>2]|0;e=f[k>>2]|0;a:do if(!e){g=k+4|0;o=f[g>>2]|0;f[k>>2]=o;e=o;if(!o){e=pbb(f[a+188>>2]|0)|0;do if(e|0){f[g>>2]=e;f[k>>2]=e;g=f[f[h>>2]>>2]|0;if(!g)break a;Nbb(g,a+216|0)|0;e=f[f[h>>2]>>2]|0;if(e|0)if(!(f[a+280>>2]|0)){Nbb(e,0)|0;break}else{Nbb(e,a+248|0)|0;break}}while(0);e=f[k>>2]|0}if(!e){o=-1;u=m;return o|0}}while(0);k=u;u=u+((1*(d<<4)|0)+15&-16)|0;h=f[a+216>>2]|0;if((h|0)==0?(f[a+220>>2]|0)==0:0){if((d|0)>0){g=0;do{f[k+(g<<4)>>2]=~~+n[c+(g<<4)>>2];f[k+(g<<4)+4>>2]=~~+n[c+(g<<4)+4>>2];o=~~+n[c+(g<<4)+8>>2];f[k+(g<<4)+8>>2]=(o|0)>1?o:1;o=~~+n[c+(g<<4)+12>>2];f[k+(g<<4)+12>>2]=(o|0)>1?o:1;g=g+1|0}while((g|0)!=(d|0))}}else l=13;if((l|0)==13?(d|0)>0:0){i=+(h|0);j=+(f[a+220>>2]|0);g=0;do{f[k+(g<<4)>>2]=~~(+n[c+(g<<4)>>2]+i);f[k+(g<<4)+4>>2]=~~(+n[c+(g<<4)+4>>2]+j);o=~~+n[c+(g<<4)+8>>2];f[k+(g<<4)+8>>2]=(o|0)>1?o:1;o=~~+n[c+(g<<4)+12>>2];f[k+(g<<4)+12>>2]=(o|0)>1?o:1;g=g+1|0}while((g|0)!=(d|0))}g=f[a+316>>2]|0;if(!g){o=scb(e,k,d,kcb(f[e+4>>2]|0,b[a+312>>0]|0,b[a+313>>0]|0,b[a+314>>0]|0,b[a+315>>0]|0)|0)|0;u=m;return o|0}else{o=tcb(e,k,d,g,b[a+312>>0]|0,b[a+313>>0]|0,b[a+314>>0]|0,b[a+315>>0]|0)|0;u=m;return o|0}return 0}function Hbb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0;m=u;u=u+16|0;l=m;i=a+320|0;j=f[i>>2]|0;g=f[j>>2]|0;a:do if(!g){h=j+4|0;o=f[h>>2]|0;f[j>>2]=o;g=o;if(!o){g=pbb(f[a+188>>2]|0)|0;do if(g|0){f[h>>2]=g;f[j>>2]=g;h=f[f[i>>2]>>2]|0;if(!h){k=10;break a}Nbb(h,a+216|0)|0;g=f[f[i>>2]>>2]|0;if(g|0)if(!(f[a+280>>2]|0)){Nbb(g,0)|0;break}else{Nbb(g,a+248|0)|0;break}}while(0);g=f[j>>2]|0}if(!g){o=-1;u=m;return o|0}else{j=f[b+68>>2]|0;i=g}}else k=10;while(0);if((k|0)==10){j=f[b+68>>2]|0;i=g}h=f[a+216>>2]|0;g=f[a+220>>2]|0;if(!(h|g)){f[l>>2]=~~+n[d>>2];e=+n[d+4>>2]}else{f[l>>2]=~~(+n[d>>2]+ +(h|0));e=+n[d+4>>2]+ +(g|0)}f[l+4>>2]=~~e;a=~~+n[d+8>>2];f[l+8>>2]=a;o=~~+n[d+12>>2];f[l+12>>2]=o;if((f[c+8>>2]|0)==(a|0)?(f[c+12>>2]|0)==(o|0):0){o=bcb(j,c,i,l)|0;u=m;return o|0}_bb(i,0)|0;o=Vbb(j,c,i,l)|0;u=m;return o|0}function Ibb(a,c,d,e,g,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=+g;i=i|0;j=j|0;var k=0,l=0,m=0.0,o=0,q=0,r=0.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.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0;L=u;u=u+64|0;I=L+32|0;J=L+28|0;K=L+24|0;G=L+8|0;H=L;v=L+20|0;y=L+16|0;z=L+51|0;A=L+50|0;B=L+49|0;C=L+48|0;q=a+320|0;s=f[q>>2]|0;k=f[s>>2]|0;a:do if(!k){l=s+4|0;E=f[l>>2]|0;f[s>>2]=E;k=E;if(!E){o=pbb(f[a+188>>2]|0)|0;do if(o|0){f[l>>2]=o;f[s>>2]=o;k=f[f[q>>2]>>2]|0;if(!k){D=o;break a}Nbb(k,a+216|0)|0;k=f[f[q>>2]>>2]|0;if(k|0)if(!(f[a+280>>2]|0)){Nbb(k,0)|0;break}else{Nbb(k,a+248|0)|0;break}}while(0);D=f[s>>2]|0}else D=k}else D=k;while(0);E=f[c+68>>2]|0;if(!D){K=-1;u=L;return K|0}k=f[a+216>>2]|0;l=f[a+220>>2]|0;if(!(k|l)){r=+n[e>>2];m=+n[e+4>>2]}else{r=+n[e>>2]+ +(k|0);m=+n[e+4>>2]+ +(l|0)}x=~~m;t=~~r;w=~~+n[e+8>>2];e=~~+n[e+12>>2];s=I+4|0;c=I+8|0;f[c>>2]=w;a=I+12|0;f[a>>2]=e;f[I>>2]=0;f[s>>2]=0;if((((f[d+8>>2]|0)==(w|0)?(f[d+12>>2]|0)==(e|0):0)?(f[d>>2]|0)==0:0)?(f[d+4>>2]|0)==0:0){l=E;k=w;o=e;F=32}else{q=E+4|0;l=f[q>>2]|0;l=Pbb(0,w,e,h[l+8>>0]|0,f[l+12>>2]|0,f[l+16>>2]|0,f[l+20>>2]|0,f[l+24>>2]|0)|0;do if(l){if(!(Qbb(E,v)|0)){Rbb(l,1,f[v>>2]|0)|0;k=1}else k=0;Sbb(E,z)|0;Tbb(E,y)|0;Ubb(E,A,B,C)|0;if(!(f[y>>2]|0))o=(b[A>>0]&b[z>>0]&b[B>>0]&b[C>>0])<<24>>24!=-1&1;else o=1;if(!(o|k)){o=1;k=Vbb(E,d,l,I)|0;break}o=Wbb(E,f[q>>2]|0,f[E>>2]|0)|0;if(!o){S5a(l);o=0;k=0;break}Xbb(o,-1)|0;Ybb(o,0)|0;Rbb(o,0,0)|0;Zbb(o,-1,-1,-1)|0;_bb(o,0)|0;Xbb(l,b[z>>0]|0)|0;Ybb(l,f[y>>2]|0)|0;Zbb(l,b[A>>0]|0,b[B>>0]|0,b[C>>0]|0)|0;k=Vbb(o,d,l,I)|0;if((o|0)==(E|0))o=1;else{S5a(o);o=1}}else{o=0;k=0}while(0);if(!o){K=-1;u=L;return K|0}if(!k){k=f[c>>2]|0;o=f[a>>2]|0;F=32}}if((F|0)==32){$bb(k,o,g,J,K,G,H);o=(f[J>>2]|0)/2|0;q=(f[K>>2]|0)/2|0;k=eab(461383)|0;if((k|0)!=0?(b[k>>0]|0)!=48:0)k=(fab(k,461408)|0)!=0&1;else k=0;k=acb(l,g,o,q,k,j&1,j&2,f[J>>2]|0,f[K>>2]|0,+p[G>>3],+p[H>>3])|0;if(!k)k=0;else{d=~~+n[i>>2];j=d+t|0;F=~~+n[i+4>>2];i=F+x|0;T=-+p[H>>3];p[H>>3]=T;m=+(0-d|0);r=+(0-F|0);V=+p[G>>3];P=V*m;O=T*r;N=+(j|0);Q=P-O+N;m=m*T;r=V*r;g=+(i|0);M=m+r+g;S=+(w+t-j|0);U=V*S;O=U-O+N;S=T*S;r=S+r+g;R=+(e+x-i|0);T=T*R;P=P-T+N;R=V*R;m=m+R+g;N=U-T+N;g=S+R+g;O=Q<O?Q:O;N=P<N?P:N;f[I>>2]=~~(O<N?O:N);r=M<r?M:r;g=m<g?m:g;f[s>>2]=~~(r<g?r:g);f[c>>2]=f[J>>2];f[a>>2]=f[K>>2];K=bcb(k,0,D,I)|0;S5a(k);k=K}}if((l|0)==(E|0)){K=k;u=L;return K|0}S5a(l);K=k;u=L;return K|0}function Jbb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=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;q=r;m=r+8|0;j=a+320|0;k=f[j>>2]|0;g=f[k>>2]|0;a:do if(!g){i=k+4|0;s=f[i>>2]|0;f[k>>2]=s;g=s;if(!s){g=pbb(f[a+188>>2]|0)|0;do if(g|0){f[i>>2]=g;f[k>>2]=g;i=f[f[j>>2]>>2]|0;if(!i){l=10;break a}Nbb(i,a+216|0)|0;g=f[f[j>>2]>>2]|0;if(g|0)if(!(f[a+280>>2]|0)){Nbb(g,0)|0;break}else{Nbb(g,a+248|0)|0;break}}while(0);g=f[k>>2]|0}if(!g){s=-1;u=r;return s|0}else k=g}else l=10;while(0);if((l|0)==10)k=g;j=f[a+216>>2]|0;i=f[a+220>>2]|0;g=f[b>>2]|0;if(j|i){g=g+j|0;f[m>>2]=g;f[m+4>>2]=(f[b+4>>2]|0)+i;f[m+8>>2]=f[b+8>>2];f[m+12>>2]=f[b+12>>2];b=m}if((((g|0)>=0?(n=f[b+8>>2]|0,(n+g|0)<=(f[k+8>>2]|0)):0)?(o=f[b+4>>2]|0,(o|0)>=0):0)?(p=f[b+12>>2]|0,(p+o|0)<=(f[k+12>>2]|0)):0){q=f[k+4>>2]|0;s=f[k+16>>2]|0;o=(f[k+20>>2]|0)+(W(s,o)|0)|0;s=N5a(n,p,f[q>>2]|0,o+(W(g,h[q+9>>0]|0)|0)|0,s,c,d,e)|0;u=r;return s|0}s=c5a(461343,q)|0;u=r;return s|0}function Kbb(a){a=a|0;a=f[a+188>>2]|0;if(!a)return;Obb(a)|0;return}function Lbb(a,b){a=a|0;b=b|0;S5a(f[b+68>>2]|0);return}function Mbb(a){a=a|0;A5a(f[a+320>>2]|0);A5a(a);return}function Nbb(a,b){a=a|0;b=b|0;var c=0,d=0;d=u;u=u+16|0;c=d;if(!a){c=0;u=d;return c|0}f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=f[a+8>>2];f[c+12>>2]=f[a+12>>2];a=a+36|0;if(!b){f[a>>2]=f[c>>2];f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2];f[a+12>>2]=f[c+12>>2];c=1;u=d;return c|0}else{c=X9a(b,c,a)|0;u=d;return c|0}return 0}function Obb(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;g=u;u=u+48|0;e=g+16|0;d=g+8|0;b=g+24|0;c=f[124995]|0;if(!c){c5a(458271,g)|0;e=-1;u=g;return e|0}if(a|0?(f[a>>2]|0)==(c+280|0):0){f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=f[a+24>>2];f[b+12>>2]=f[a+28>>2];if(!(f[a+112>>2]|0)){e=c5a(461260,e)|0;u=g;return e|0}else{e=ej[f[c+136>>2]&63](c,a,b,1)|0;u=g;return e|0}}c5a(473742,d)|0;e=-1;u=g;return e|0}function Pbb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=u;u=u+16|0;a=hcb(d,e,f,g,h)|0;if(!a){c5a(461519,i)|0;c=0;u=i;return c|0}else{c=icb(0,b,c,0,a)|0;u=i;return c|0}return 0}function Qbb(a,b){a=a|0;b=b|0;if(!a){b=-1;return b|0}a=f[a+52>>2]|0;if(!(f[a+68>>2]&256)){b=-1;return b|0}if(!b){b=0;return b|0}f[b>>2]=f[a+72>>2];b=0;return b|0}function Rbb(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;k=u;u=u+16|0;g=k+8|0;e=k;if(!a){f[e>>2]=461770;d=c5a(473278,e)|0;u=k;return d|0}j=a+4|0;i=f[(f[j>>2]|0)+4>>2]|0;if(i|0?(f[i>>2]|0)>>>0<=d>>>0:0){f[g>>2]=461540;d=c5a(473278,g)|0;u=k;return d|0}e=a+52|0;if(c&2|0?(h=f[e>>2]|0,a=h+68|0,i=f[a>>2]|0,g=i|4096,f[a>>2]=g,(g|0)!=(i|0)):0)i6a(h);h=f[e>>2]|0;g=h+68|0;i=f[g>>2]|0;if(c){e=i|256;f[g>>2]=e;f[h+72>>2]=d;a=f[(f[j>>2]|0)+4>>2]|0;if(a){b[(f[a+4>>2]|0)+(d<<2)+3>>0]=0;e=a+8|0;d=(f[e>>2]|0)+1|0;f[e>>2]=(d|0)==0?1:d;e=f[g>>2]|0}}else{e=f[(f[j>>2]|0)+4>>2]|0;if(e|0){b[(f[e+4>>2]|0)+(f[h+72>>2]<<2)+3>>0]=-1;d=e+8|0;j=(f[d>>2]|0)+1|0;f[d>>2]=(j|0)==0?1:j}e=i&-257;f[g>>2]=e}if((e|0)==(i|0)){d=0;u=k;return d|0}i6a(h);d=0;u=k;return d|0}function Sbb(a,c){a=a|0;c=c|0;if(!a){c=-1;return c|0}if(!c){c=0;return c|0}b[c>>0]=b[(f[a+52>>2]|0)+79>>0]|0;c=0;return c|0}function Tbb(a,b){a=a|0;b=b|0;a:do if(a)if(!b)a=0;else switch(f[(f[a+52>>2]|0)+68>>2]&112){case 16:{f[b>>2]=1;a=0;break a}case 32:{f[b>>2]=2;a=0;break a}case 64:{f[b>>2]=4;a=0;break a}default:{f[b>>2]=0;a=0;break a}}else a=-1;while(0);return a|0}function Ubb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;if(!a){e=-1;return e|0}if(c|0)b[c>>0]=b[(f[a+52>>2]|0)+76>>0]|0;if(d|0)b[d>>0]=b[(f[a+52>>2]|0)+77>>0]|0;if(!e){e=0;return e|0}b[e>>0]=b[(f[a+52>>2]|0)+78>>0]|0;e=0;return e|0}function Vbb(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.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=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;F=u;u=u+48|0;e=F+8|0;D=F+32|0;E=F+16|0;if(!((a|0)!=0&(c|0)!=0)){E=c5a(461560,F)|0;u=F;return E|0}if((f[a+28>>2]|0)==0?(f[c+28>>2]|0)==0:0){i=(b|0)==0;s=a+8|0;t=a+12|0;h=f[(i?t:b+12|0)>>2]|0;k=f[(i?s:b+8|0)>>2]|0;C=(d|0)==0;e=f[(C?c+12|0:d+12|0)>>2]|0;g=f[(C?c+8|0:d+8|0)>>2]|0;if((e|0)==(h|0)&(g|0)==(k|0)){E=bcb(a,b,c,d)|0;u=F;return E|0}l=+(g|0);n=+(k|0);A=l/n;j=+(e|0);o=+(h|0);B=j/o;if(C){v=+(e+-1|0);l=+(g+-1|0);m=0.0;j=0.0}else{z=+(f[d>>2]|0);m=+(f[d+4>>2]|0);v=j+m+-1.0;l=l+z+-1.0;j=z}if(!i){k=f[b>>2]|0;q=+(k|0);e=f[b+4>>2]|0;z=+(e|0);p=n+q+-1.0;r=o+z+-1.0;j=(k|0)<0?j-A*q:j;n=+(((k|0)>0?k:0)|0);k=f[s>>2]|0;q=+(k|0);s=!(p>=q);o=s?p:+(k+-1|0);q=s?l:l-A*(p-q+1.0);p=+(((e|0)>0?e:0)|0);m=(e|0)<0?m-B*z:m;e=f[t>>2]|0;l=+(e|0);if(!(r>=l)){z=r;r=v;l=q}else{z=+(e+-1|0);r=v-B*(r-l+1.0);l=q}}else{z=+(h+-1|0);n=0.0;r=v;o=+(k+-1|0);p=0.0}x=+(f[c+36>>2]|0);w=j-x;q=l-x;y=+(f[c+40>>2]|0);v=m-y;l=r-y;h=w<0.0;n=h?n-w/A:n;e=f[c+44>>2]|0;j=+(e|0);if(q>=j){o=o-(q-j+1.0)/A;q=+(e+-1|0)}g=v<0.0;m=g?p-v/B:p;e=f[c+48>>2]|0;j=+(e|0);if(!(l>=j))j=z;else{j=z-(l-j+1.0)/B;l=+(e+-1|0)}A=(h?0.0:w)+x;B=(g?0.0:v)+y;k=~~+pcb(n+.5);f[D>>2]=k;k=~~+pcb(m+.5);f[D+4>>2]=k;k=~~+pcb(o-n+1.5);f[D+8>>2]=k;b=~~+pcb(j-m+1.5);f[D+12>>2]=b;g=~~+pcb(A+.5);f[E>>2]=g;g=~~+pcb(B+.5);f[E+4>>2]=g;g=~~+pcb(q+x-A+1.5);i=E+8|0;f[i>>2]=g;e=~~+pcb(l+y-B+1.5);h=E+12|0;f[h>>2]=e;if((g|0)<0){f[i>>2]=0;g=0}if((e|0)<0){f[h>>2]=0;e=0}if(!C){f[d>>2]=f[E>>2];f[d+4>>2]=f[E+4>>2];f[d+8>>2]=f[E+8>>2];f[d+12>>2]=f[E+12>>2]}if((g|0)==0|(e|0)==0|(k|0)<1|(b|0)<1){E=0;u=F;return E|0}E=qcb(a,D,c,E)|0;u=F;return E|0}E=c5a(461453,e)|0;u=F;return E|0}function Wbb(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=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;P=u;u=u+80|0;L=P+32|0;A=P+24|0;z=P+16|0;n=P+8|0;m=P;N=P+56|0;s=P+40|0;w=P+74|0;x=P+73|0;y=P+72|0;t=c+4|0;i=f[t>>2]|0;if(i|0){l=f[i>>2]|0;a:do if((l|0)>0){k=f[i+4>>2]|0;i=0;do{if((b[k+(i<<2)>>0]|0)!=-1)break a;if((b[k+(i<<2)+1>>0]|0)!=-1)break a;if((b[k+(i<<2)+2>>0]|0)!=-1)break a;i=i+1|0}while((i|0)<(l|0))}else i=0;while(0);if((i|0)==(l|0)){c5a(461493,m)|0;O=0;u=P;return O|0}}o=a+8|0;k=f[o>>2]|0;p=a+12|0;l=f[p>>2]|0;M=c+24|0;i=hcb(h[c+8>>0]|0,f[c+12>>2]|0,f[c+16>>2]|0,f[c+20>>2]|0,f[M>>2]|0)|0;if(!i){c5a(461519,n)|0;O=0;u=P;return O|0}H=icb(0,k,l,0,i)|0;if(!H){O=0;u=P;return O|0}i=f[t>>2]|0;if(i|0?(q=H+4|0,r=f[(f[q>>2]|0)+4>>2]|0,r|0):0){M5a(f[r+4>>2]|0,f[i+4>>2]|0,f[i>>2]<<2)|0;f[f[(f[q>>2]|0)+4>>2]>>2]=f[f[t>>2]>>2]}n=a+52|0;i=f[n>>2]|0;E=i+68|0;F=f[E>>2]|0;D=i+76|0;k=b[D>>0]|0;l=b[i+77>>0]|0;m=b[i+78>>0]|0;c=b[i+79>>0]|0;f[D>>2]=-1;f[E>>2]=0;i6a(i);f[s>>2]=0;f[s+4>>2]=0;f[s+8>>2]=f[o>>2];f[s+12>>2]=f[p>>2];i=f[n>>2]|0;do if((f[i>>2]|0)==(H|0)){E=f[(f[H+4>>2]|0)+4>>2]|0;if(E|0?(f[i+80>>2]|0)!=(f[E+8>>2]|0):0){E=21;break}E=f[(f[a+4>>2]|0)+4>>2]|0;if((E|0)!=0?(f[i+84>>2]|0)!=(f[E+8>>2]|0):0)E=21;else E=23}else E=21;while(0);if((E|0)==21?(Q5a(a,H)|0)>=0:0){i=f[n>>2]|0;E=23}if((E|0)==23)ej[f[i+8>>2]&63](a,s,H,s)|0;D=H+52|0;s=f[D>>2]|0;b[s+76>>0]=k;b[s+77>>0]=l;b[s+78>>0]=m;b[s+79>>0]=c;f[s+68>>2]=F&-28945;s=f[n>>2]|0;b[s+76>>0]=k;b[s+77>>0]=l;b[s+78>>0]=m;b[s+79>>0]=c;f[s+68>>2]=F;i6a(s);s=a+4|0;do if(F&256|0){i=f[s>>2]|0;k=f[i+4>>2]|0;if(k){i=f[t>>2]|0;if((i|0?(v=f[k>>2]|0,(v|0)<=(f[i>>2]|0)):0)?(P9a(f[k+4>>2]|0,f[i+4>>2]|0,v<<2)|0)==0:0){k=f[(f[n>>2]|0)+72>>2]|0;l=f[(f[H+4>>2]|0)+4>>2]|0;m=(l|0)==0;if(!m?(f[l>>2]|0)>>>0<=k>>>0:0){f[z>>2]=461540;c5a(473278,z)|0;break}c=f[D>>2]|0;i=c+68|0;n=f[i>>2]|0;g=n|256;f[i>>2]=g;f[c+72>>2]=k;if(!m){b[(f[l+4>>2]|0)+(k<<2)+3>>0]=0;g=l+8|0;L=(f[g>>2]|0)+1|0;f[g>>2]=(L|0)==0?1:L;g=f[i>>2]|0}if((g|0)==(n|0))break;i6a(c);break}if(f[M>>2]|0)break;i=f[s>>2]|0}jcb(f[(f[n>>2]|0)+72>>2]|0,i,N,w,x,y);r=H+4|0;l=kcb(f[r>>2]|0,b[N>>0]|0,b[w>>0]|0,b[x>>0]|0,b[y>>0]|0)|0;m=f[(f[r>>2]|0)+4>>2]|0;c=(m|0)==0;if(!c?(f[m>>2]|0)>>>0<=l>>>0:0){f[A>>2]=461540;c5a(473278,A)|0}else{n=f[D>>2]|0;k=n+68|0;o=f[k>>2]|0;i=o|256;f[k>>2]=i;f[n+72>>2]=l;if(!c){b[(f[m+4>>2]|0)+(l<<2)+3>>0]=0;i=m+8|0;A=(f[i>>2]|0)+1|0;f[i>>2]=(A|0)==0?1:A;i=f[k>>2]|0}if((i|0)!=(o|0))i6a(n)}if(f[(f[D>>2]|0)+68>>2]&256|0?(g=f[r>>2]|0,f[g+24>>2]|0):0){q=H+28|0;i=f[q>>2]|0;if(!i)if(!(f[H>>2]&2))i=0;else{R5a(H,1);f[H>>2]=f[H>>2]|2;i=f[q>>2]|0;g=f[r>>2]|0}i=i+1|0;f[q>>2]=i;switch(b[g+9>>0]|0){case 2:{n=f[g+24>>2]&65535^65535;o=n&f[(f[D>>2]|0)+72>>2];k=f[H+20>>2]|0;l=f[H+12>>2]|0;if((l|0)!=0?(B=f[H+8>>2]|0,C=(f[H+16>>2]|0)/2|0,(B|0)!=0):0){p=o&65535;while(1){m=k;c=B;while(1){c=c+-1|0;if((n&j[m>>1]|0)==(o|0))d[m>>1]=p;if(!c)break;else m=m+2|0}l=l+-1|0;if(!l)break;else k=k+(C<<1)|0}}break}case 4:{o=~f[g+24>>2];p=f[(f[D>>2]|0)+72>>2]&o;k=f[H+12>>2]|0;if(k){c=H+8|0;n=H+16|0;m=f[H+20>>2]|0;while(1){k=k+-1|0;i=f[c>>2]|0;if(i|0){l=m;while(1){i=i+-1|0;if((f[l>>2]&o|0)==(p|0))f[l>>2]=p;if(!i)break;else l=l+4|0}}if(!k)break;else m=m+(((f[n>>2]|0)/4|0)<<2)|0}i=f[q>>2]|0}break}default:{}}if(((i|0)!=0?(f[q>>2]=i+-1,(i|0)<=1):0)?(G=f[H>>2]|0,(G&2|0)!=0):0){f[H>>2]=G&-3;W5a(H)|0;g=f[r>>2]|0}g=f[g+4>>2]|0;do if(g)if(!(f[g>>2]|0)){f[L>>2]=461540;c5a(473278,L)|0;break}else{K=f[D>>2]|0;J=K+68|0;I=f[J>>2]|0;b[(f[g+4>>2]|0)+(f[K+72>>2]<<2)+3>>0]=-1;E=g+8|0;L=(f[E>>2]|0)+1|0;f[E>>2]=(L|0)==0?1:L;E=77;break}else{K=f[D>>2]|0;J=K+68|0;I=f[J>>2]|0;E=77}while(0);if((E|0)==77?(L=I&-257,f[J>>2]=L,(L|0)!=(I|0)):0)i6a(K);g=f[D>>2]|0;J=g+68|0;L=f[J>>2]|0;K=L&-113|16;f[J>>2]=K;if((K|0)!=(L|0))i6a(g)}}while(0);f[N>>2]=0;f[N+4>>2]=0;f[N+8>>2]=f[H+8>>2];f[N+12>>2]=f[H+12>>2];X9a(a+36|0,N,H+36|0)|0;if(!(f[(f[s>>2]|0)+24>>2]|0)){if(F&258|0)E=85}else if(f[M>>2]|F&258|0)E=85;if((E|0)==85?(O=f[D>>2]|0,M=O+68|0,N=f[M>>2]|0,a=N&-113|16,f[M>>2]=a,(a|0)!=(N|0)):0)i6a(O);if(!(F&4096|e&2)){O=H;u=P;return O|0}g=f[D>>2]|0;e=g+68|0;O=f[e>>2]|0;N=O|4096;f[e>>2]=N;if((N|0)==(O|0)){O=H;u=P;return O|0}i6a(g);O=H;u=P;return O|0}function Xbb(a,c){a=a|0;c=c|0;var d=0,e=0;if(!a){c=-1;return c|0}a=f[a+52>>2]|0;b[a+79>>0]=c;e=a+68|0;d=f[e>>2]|0;c=c<<24>>24==-1?d&-3:d|2;f[e>>2]=c;if((c|0)==(d|0)){e=0;return e|0}i6a(a);e=0;return e|0}function Ybb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;if(!a){g=-1;return g|0}d=a+52|0;a=f[d>>2]|0;e=a+68|0;g=f[e>>2]|0;c=g&-113;f[e>>2]=c;switch(b|0){case 0:break;case 1:{c=c|16;f[e>>2]=c;b=0;break}case 2:{c=c|32;f[e>>2]=c;b=0;break}case 4:{c=c|64;f[e>>2]=c;b=0;break}default:{b=Y4a(4)|0;a=f[d>>2]|0;c=f[a+68>>2]|0}}if((c|0)==(g|0)){g=b;return g|0}i6a(a);g=b;return g|0}function Zbb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;if(!a){e=-1;return e|0}a=f[a+52>>2]|0;b[a+76>>0]=c;b[a+77>>0]=d;b[a+78>>0]=e;h=a+68|0;g=f[h>>2]|0;e=(d&c)<<24>>24==-1&e<<24>>24==-1?g&-2:g|1;f[h>>2]=e;if((e|0)==(g|0)){h=0;return h|0}i6a(a);h=0;return h|0}function _bb(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){b=-1;return b|0}a=f[a+52>>2]|0;d=a+68|0;c=f[d>>2]|0;b=(b|0)==0?c&-4097:c|4096;f[d>>2]=b;if((b|0)==(c|0)){d=0;return d|0}i6a(a);d=0;return d|0}function $bb(a,b,c,d,e,g,h){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;g=g|0;h=h|0;var i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,q=0.0;q=c/90.0;i=~~q;if(q==+(i|0)){i=(i|0)%4|0;i=(i|0)<0?i+4|0:i;if(!(i&1)){f[d>>2]=a;f[e>>2]=b;p[g>>3]=(i|0)==0?1.0:-1.0;p[h>>3]=0.0;return}else{f[d>>2]=b;f[e>>2]=a;p[g>>3]=0.0;p[h>>3]=(i|0)==1?-1.0:1.0;return}}q=c*-.017453292519943295;o=+Xab(q);p[h>>3]=o;q=+Wab(q);p[g>>3]=q;o=+((a|0)/2|0|0);k=+((b|0)/2|0|0);l=q*o;q=q*k;m=+p[h>>3];o=m*o;k=m*k;m=l+k;j=+Tab(m);n=l-k;h=j>+Tab(n);j=+Tab(h?m:n);c=k-l;if(j>+Tab(c)){j=+Tab(m);h=j>+Tab(n);j=h?m:n}else j=c;j=+Tab(j);k=-l-k;if(j>+Tab(k)){l=+Tab(m);h=l>+Tab(n);l=+Tab(h?m:n);if(l>+Tab(c)){j=+Tab(m);h=j>+Tab(n);j=h?m:n}else j=c}else j=k;if((~~+gcb(+Tab(j))|0)>1){l=+Tab(m);h=l>+Tab(n);l=+Tab(h?m:n);if(l>+Tab(c)){j=+Tab(m);h=j>+Tab(n);j=h?m:n}else j=c;l=+Tab(j);if(l>+Tab(k)){l=+Tab(m);h=l>+Tab(n);l=+Tab(h?m:n);if(l>+Tab(c)){c=+Tab(m);h=c>+Tab(n);c=h?m:n}}else c=k;a=~~+gcb(+Tab(c))<<1}else a=2;k=q+o;n=+Tab(k);l=o-q;h=n>+Tab(l);n=+Tab(h?k:l);m=q-o;if(n>+Tab(m)){c=+Tab(k);h=c>+Tab(l);c=h?k:l}else c=m;n=+Tab(c);c=-o-q;if(n>+Tab(c)){q=+Tab(k);h=q>+Tab(l);q=+Tab(h?k:l);if(q>+Tab(m)){j=+Tab(k);h=j>+Tab(l);j=h?k:l}else j=m}else j=c;if((~~+gcb(+Tab(j))|0)>1){q=+Tab(k);h=q>+Tab(l);q=+Tab(h?k:l);if(q>+Tab(m)){j=+Tab(k);h=j>+Tab(l);j=h?k:l}else j=m;q=+Tab(j);if(q>+Tab(c)){q=+Tab(k);h=q>+Tab(l);q=+Tab(h?k:l);if(q>+Tab(m)){c=+Tab(k);h=c>+Tab(l);c=h?k:l}else c=m}i=~~+gcb(+Tab(c))<<1}else i=2;f[d>>2]=a;f[e>>2]=i;return}function acb(a,c,d,e,g,i,j,k,l,m,n){a=a|0;c=+c;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=+m;n=+n;var 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,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0;S=u;u=u+16|0;N=S;v=S+10|0;w=S+9|0;x=S+8|0;O=S+7|0;P=S+6|0;Q=S+5|0;R=S+4|0;b[v>>0]=0;b[w>>0]=0;b[x>>0]=0;if(!a){R=0;u=S;return R|0}if(!(f[a>>2]&1)){t=0;o=a+4|0}else{f[N>>2]=0;Qbb(a,N)|0;o=a+4|0;ccb(f[N>>2]|0,f[o>>2]|0,v,w,x);t=1}p=f[o>>2]|0;o=b[p+8>>0]|0;a:do switch(o<<24>>24){case 8:case 32:{n=n*65536.0;m=m*65536.0;q=l+2|0;if(o<<24>>24==32){r=a;s=9}else{M=a;r=0;L=Pbb(0,k,q,8,0,0,0,0)|0}break}default:{o=dcb(a,377888772,f[a>>2]|0)|0;if(!o){R=0;u=S;return R|0}else{r=o;p=f[o+4>>2]|0;q=l+2|0;m=m*65536.0;n=n*65536.0;s=9;break a}}}while(0);if((s|0)==9){M=r;r=1;L=Pbb(0,k,q,32,f[p+12>>2]|0,f[p+16>>2]|0,f[p+20>>2]|0,f[p+24>>2]|0)|0}if(!L){R=0;u=S;return R|0}K=L+12|0;f[K>>2]=l;if((t|0)==1)T9a(L,0,ecb(f[L+4>>2]|0,b[v>>0]|0,b[w>>0]|0,b[x>>0]|0)|0)|0;if(f[M>>2]&2|0)J9a(M)|0;c=c/90.0;o=~~c;if(c==+(o|0)){l=(o|0)%4|0;l=(l|0)<0?l+4|0:l}else l=-1;if(r){b:do if((l|0)>-1){g=L+8|0;o=f[g>>2]|0;y=(f[L+16>>2]|0)-(o<<2)|0;q=f[M+20>>2]|0;r=f[L+20>>2]|0;w=(j|0)!=0;x=f[M+16>>2]|0;t=w?0-x|0:x;v=(i|0)!=0;k=v?-4:4;switch(l|0){case 0:{s=1;p=1;l=t-(W(f[M+8>>2]|0,k)|0)|0;t=k;break}case 1:{s=-1;p=1;l=(W(f[M+12>>2]|0,t)|0)+k|0;t=0-t|0;break}case 2:{s=-1;p=-1;l=(W(f[M+8>>2]|0,k)|0)-t|0;t=0-k|0;break}default:{s=1;p=-1;l=(W(f[M+12>>2]|0,0-t|0)|0)-k|0}}if(((v?0-p|0:p)|0)<0)q=q+((f[M+8>>2]<<2)+-4)|0;if(((w?0-s|0:s)|0)<0)q=q+(W((f[M+12>>2]|0)+-1|0,x)|0)|0;p=f[K>>2]|0;if((p|0)>0){if((t|0)==4){k=0;while(1){M5a(r,q,o<<2)|0;o=f[g>>2]|0;p=o<<2;k=k+1|0;if((k|0)>=(f[K>>2]|0))break b;else{r=r+p+y|0;q=q+p+l|0}}}s=0;while(1){o=o<<2;k=r+o|0;if(o){p=W(((o+-4|0)>>>2)+1|0,t)|0;o=q;while(1){e=h[o>>0]|h[o+1>>0]<<8|h[o+2>>0]<<16|h[o+3>>0]<<24;b[r>>0]=e;b[r+1>>0]=e>>8;b[r+2>>0]=e>>16;b[r+3>>0]=e>>24;r=r+4|0;if((r|0)==(k|0))break;else o=o+t|0}r=k;q=q+p|0;p=f[K>>2]|0}o=s+1|0;if((o|0)>=(p|0))break b;r=r+y|0;s=o;q=q+l|0;o=f[g>>2]|0}}}else{J=~~n;I=~~m;A=M+8|0;F=f[A>>2]|0;D=L+8|0;C=f[D>>2]|0;q=F-C<<15;E=M+12|0;G=f[E>>2]|0;B=f[K>>2]|0;s=G-B<<15;r=W(65536-I|0,d)|0;k=(e<<16)-(W(J,d)|0)|0;F=F+-1|0;G=G+-1|0;o=f[L+20>>2]|0;H=(f[L+16>>2]|0)-(C<<2)|0;p=(B|0)>0;if(g|0){if(!p)break;A=q+r|0;y=s+k|0;z=(C|0)>0;g=(i|0)!=0;w=(j|0)!=0;x=M+20|0;l=M+16|0;v=0;while(1){p=e-v|0;if(z){t=A+(W(p,J)|0)|0;q=y-(W(p,I)|0)|0;r=0;k=o;while(1){s=t>>16;p=q>>16;s=g?F-s|0:s;p=w?G-p|0:p;if(s>>>0<F>>>0&p>>>0<G>>>0){da=f[l>>2]|0;$=(f[x>>2]|0)+(W(da,p)|0)|0;aa=$+(s<<2)|0;j=b[aa>>0]|0;p=b[$+(s<<2)+1>>0]|0;X=b[$+(s<<2)+2>>0]|0;$=b[$+(s<<2)+3>>0]|0;aa=aa+4|0;ba=b[aa>>0]|0;Z=b[aa+1>>0]|0;U=b[aa+2>>0]|0;D=b[aa+3>>0]|0;da=aa+(((da|0)/4|0)<<2)|0;aa=b[da>>0]|0;Y=b[da+1>>0]|0;T=b[da+2>>0]|0;E=b[da+3>>0]|0;da=da+-4|0;d=b[da>>0]|0;i=b[da+1>>0]|0;K=b[da+2>>0]|0;da=b[da+3>>0]|0;s=g?D:$;V=g?U:X;_=g?Z:p;ca=g?ba:j;D=g?$:D;U=g?X:U;Z=g?p:Z;ba=g?j:ba;j=g?E:da;p=g?T:K;X=g?Y:i;$=g?aa:d;E=g?da:E;T=g?K:T;Y=g?i:Y;aa=g?d:aa;d=t&65535;i=q&65535;K=(w?$:ca)&255;K=((W(((w?aa:ba)&255)-K|0,d)|0)>>>16)+K|0;$=(w?ca:$)&255;K=((W((((W(((w?ba:aa)&255)-$|0,d)|0)>>>16)+$&255)-(K&255)|0,i)|0)>>>16)+K&255;b[k>>0]=K;K=(w?X:_)&255;K=((W(((w?Y:Z)&255)-K|0,d)|0)>>>16)+K|0;X=(w?_:X)&255;K=((W((((W(((w?Z:Y)&255)-X|0,d)|0)>>>16)+X&255)-(K&255)|0,i)|0)>>>16)+K&255;b[k+1>>0]=K;K=(w?p:V)&255;K=((W(((w?T:U)&255)-K|0,d)|0)>>>16)+K|0;p=(w?V:p)&255;K=((W((((W(((w?U:T)&255)-p|0,d)|0)>>>16)+p&255)-(K&255)|0,i)|0)>>>16)+K&255;b[k+2>>0]=K;K=(w?j:s)&255;K=((W(((w?E:D)&255)-K|0,d)|0)>>>16)+K|0;j=(w?s:j)&255;K=((W((((W(((w?D:E)&255)-j|0,d)|0)>>>16)+j&255)-(K&255)|0,i)|0)>>>16)+K&255;b[k+3>>0]=K}r=r+1|0;if((r|0)==(C|0))break;else{t=t+I|0;q=q+J|0;k=k+4|0}}o=o+(C<<2)|0}v=v+1|0;if((v|0)==(B|0))break b;else o=o+H|0}}if(p){z=q+r|0;y=s+k|0;g=(i|0)==0;w=(j|0)==0;x=M+20|0;l=M+16|0;v=0;p=C;while(1){r=e-v|0;q=z+(W(r,J)|0)|0;r=y-(W(r,I)|0)|0;if((p|0)>0)if(g)if(w){s=r;t=0;while(1){r=q>>16;k=s>>16;do if(r>>>0<(f[A>>2]|0)>>>0){if(k>>>0>=(f[E>>2]|0)>>>0)break;p=(f[x>>2]|0)+(W(f[l>>2]|0,k)|0)+(r<<2)|0;p=h[p>>0]|h[p+1>>0]<<8|h[p+2>>0]<<16|h[p+3>>0]<<24;b[o>>0]=p;b[o+1>>0]=p>>8;b[o+2>>0]=p>>16;b[o+3>>0]=p>>24;p=f[D>>2]|0}while(0);o=o+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{q=q+I|0;s=s+J|0}}}else{s=r;t=0;while(1){r=q>>16;k=s>>16;do if(r>>>0<(f[A>>2]|0)>>>0){if(k>>>0>=(f[E>>2]|0)>>>0)break;p=(f[x>>2]|0)+(W(f[l>>2]|0,G-k|0)|0)+(r<<2)|0;p=h[p>>0]|h[p+1>>0]<<8|h[p+2>>0]<<16|h[p+3>>0]<<24;b[o>>0]=p;b[o+1>>0]=p>>8;b[o+2>>0]=p>>16;b[o+3>>0]=p>>24;p=f[D>>2]|0}while(0);o=o+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{q=q+I|0;s=s+J|0}}}else if(w){s=r;t=0;while(1){r=q>>16;k=s>>16;do if(r>>>0<(f[A>>2]|0)>>>0){if(k>>>0>=(f[E>>2]|0)>>>0)break;p=(f[x>>2]|0)+(W(f[l>>2]|0,k)|0)+(F-r<<2)|0;p=h[p>>0]|h[p+1>>0]<<8|h[p+2>>0]<<16|h[p+3>>0]<<24;b[o>>0]=p;b[o+1>>0]=p>>8;b[o+2>>0]=p>>16;b[o+3>>0]=p>>24;p=f[D>>2]|0}while(0);o=o+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{q=q+I|0;s=s+J|0}}}else{s=r;t=0;while(1){r=q>>16;k=s>>16;do if(r>>>0<(f[A>>2]|0)>>>0){if(k>>>0>=(f[E>>2]|0)>>>0)break;p=(f[x>>2]|0)+(W(f[l>>2]|0,G-k|0)|0)+(F-r<<2)|0;p=h[p>>0]|h[p+1>>0]<<8|h[p+2>>0]<<16|h[p+3>>0]<<24;b[o>>0]=p;b[o+1>>0]=p>>8;b[o+2>>0]=p>>16;b[o+3>>0]=p>>24;p=f[D>>2]|0}while(0);o=o+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{q=q+I|0;s=s+J|0}}}v=v+1|0;if((v|0)>=(f[K>>2]|0))break;else o=o+H|0}}}while(0);f[N>>2]=0;Qbb(M,N)|0;Rbb(L,3,f[N>>2]|0)|0}else{k=M+4|0;q=f[(f[k>>2]|0)+4>>2]|0;o=f[q>>2]|0;s=L+4|0;p=f[(f[s>>2]|0)+4>>2]|0;if((o|0)>0){r=0;do{o=(f[p+4>>2]|0)+(r<<2)|0;p=(f[q+4>>2]|0)+(r<<2)|0;p=h[p>>0]|h[p+1>>0]<<8|h[p+2>>0]<<16|h[p+3>>0]<<24;b[o>>0]=p;b[o+1>>0]=p>>8;b[o+2>>0]=p>>16;b[o+3>>0]=p>>24;r=r+1|0;q=f[(f[k>>2]|0)+4>>2]|0;o=f[q>>2]|0;p=f[(f[s>>2]|0)+4>>2]|0}while((r|0)<(o|0))}f[p>>2]=o;c:do if((l|0)>-1){g=L+8|0;o=f[g>>2]|0;y=(f[L+16>>2]|0)-o|0;p=f[M+20>>2]|0;q=f[L+20>>2]|0;w=(j|0)!=0;x=f[M+16>>2]|0;t=w?0-x|0:x;v=(i|0)!=0;k=v?-1:1;switch(l|0){case 0:{s=1;r=1;l=t-(W(f[M+8>>2]|0,k)|0)|0;t=k;break}case 1:{s=-1;r=1;l=(W(f[M+12>>2]|0,t)|0)+k|0;t=0-t|0;break}case 2:{s=-1;r=-1;l=(W(f[M+8>>2]|0,k)|0)-t|0;t=0-k|0;break}default:{s=1;r=-1;l=(W(f[M+12>>2]|0,0-t|0)|0)-k|0}}if(((v?0-r|0:r)|0)<0)p=p+((f[M+8>>2]|0)+-1)|0;if(((w?0-s|0:s)|0)<0)p=p+(W((f[M+12>>2]|0)+-1|0,x)|0)|0;r=f[K>>2]|0;if((r|0)>0){if((t|0)==1){r=0;while(1){M5a(q,p,o)|0;o=f[g>>2]|0;r=r+1|0;if((r|0)>=(f[K>>2]|0))break c;else{q=q+o+y|0;p=p+o+l|0}}}s=0;while(1){k=q+o|0;if(o){r=p;while(1){b[q>>0]=b[r>>0]|0;q=q+1|0;if((q|0)==(k|0))break;else r=r+t|0}p=p+(W(o,t)|0)|0;q=k;r=f[K>>2]|0}o=s+1|0;if((o|0)>=(r|0))break c;q=q+y|0;s=o;p=p+l|0;o=f[g>>2]|0}}}else{I=~~n;D=~~m;E=M+8|0;o=f[E>>2]|0;F=L+8|0;p=f[F>>2]|0;G=M+12|0;r=f[G>>2]|0;k=f[K>>2]|0;q=f[L+20>>2]|0;da=L+16|0;H=(f[da>>2]|0)-p|0;f[N>>2]=0;Qbb(M,N)|0;P5a(q,f[N>>2]&255,W(f[K>>2]|0,f[da>>2]|0)|0)|0;if((f[K>>2]|0)>0){C=(o-p<<15)+(W(65536-D|0,d)|0)|0;B=(i|0)==0;y=(j|0)==0;z=M+20|0;A=M+16|0;g=W(I,d)|0;l=(r-k<<15)+(e<<16)|0;x=0;o=f[F>>2]|0;while(1){p=e-x|0;r=C+(W(p,I)|0)|0;p=l-((W(p,D)|0)+g)|0;if((o|0)>0)if(B)if(y){s=r;t=0;while(1){r=s>>16;k=p>>16;do if(r>>>0<(f[E>>2]|0)>>>0){if(k>>>0>=(f[G>>2]|0)>>>0)break;o=(f[z>>2]|0)+(W(f[A>>2]|0,k)|0)+r|0;b[q>>0]=b[o>>0]|0;o=f[F>>2]|0}while(0);q=q+1|0;t=t+1|0;if((t|0)>=(o|0))break;else{p=p+I|0;s=s+D|0}}}else{v=0;while(1){k=r>>16;s=p>>16;do if(k>>>0<(f[E>>2]|0)>>>0){t=f[G>>2]|0;if(s>>>0>=t>>>0)break;o=(f[z>>2]|0)+(W(f[A>>2]|0,t+~s|0)|0)+k|0;b[q>>0]=b[o>>0]|0;o=f[F>>2]|0}while(0);q=q+1|0;v=v+1|0;if((v|0)>=(o|0))break;else{p=p+I|0;r=r+D|0}}}else if(y){v=0;while(1){k=r>>16;s=p>>16;t=f[E>>2]|0;do if(k>>>0<t>>>0){if(s>>>0>=(f[G>>2]|0)>>>0)break;o=(f[z>>2]|0)+(W(f[A>>2]|0,s)|0)+(t+~k)|0;b[q>>0]=b[o>>0]|0;o=f[F>>2]|0}while(0);q=q+1|0;v=v+1|0;if((v|0)>=(o|0))break;else{p=p+I|0;r=r+D|0}}}else{w=0;while(1){k=r>>16;s=p>>16;t=f[E>>2]|0;do if(k>>>0<t>>>0){v=f[G>>2]|0;if(s>>>0>=v>>>0)break;o=(f[z>>2]|0)+(W(f[A>>2]|0,v+~s|0)|0)+(t+~k)|0;b[q>>0]=b[o>>0]|0;o=f[F>>2]|0}while(0);q=q+1|0;w=w+1|0;if((w|0)>=(o|0))break;else{p=p+I|0;r=r+D|0}}}x=x+1|0;if((x|0)>=(f[K>>2]|0))break;else q=q+H|0}}}while(0);f[N>>2]=0;Qbb(M,N)|0;Rbb(L,3,f[N>>2]|0)|0}Sbb(a,O)|0;Tbb(a,N)|0;Ubb(a,P,Q,R)|0;Xbb(L,b[O>>0]|0)|0;Ybb(L,f[N>>2]|0)|0;Zbb(L,b[P>>0]|0,b[Q>>0]|0,b[R>>0]|0)|0;if(f[M>>2]&2|0)K9a(M);if((M|0)==(a|0)){da=L;u=S;return da|0}S5a(M);da=L;u=S;return da|0}function bcb(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;o=u;u=u+48|0;g=o+8|0;e=o+32|0;n=o+16|0;if(!((a|0)!=0&(c|0)!=0)){n=c5a(461416,o)|0;u=o;return n|0}if((f[a+28>>2]|0)==0?(f[c+28>>2]|0)==0:0){if(!d){f[e+4>>2]=0;f[e>>2]=0;f[e+8>>2]=f[c+8>>2];f[e+12>>2]=f[c+12>>2]}else e=d;if(!b){m=0;d=0;h=f[a+12>>2]|0;i=f[a+8>>2]|0;j=e}else{d=f[b>>2]|0;g=f[b+8>>2]|0;if((d|0)<0){f[e>>2]=(f[e>>2]|0)-d;i=0;g=g+d|0}else i=d;j=(f[a+8>>2]|0)-i|0;d=f[b+4>>2]|0;b=f[b+12>>2]|0;h=e+4|0;if((d|0)<0){f[h>>2]=(f[h>>2]|0)-d;b=b+d|0;d=0}h=(f[a+12>>2]|0)-d|0;m=i;h=(h|0)<(b|0)?h:b;i=(j|0)<(g|0)?j:g;j=e}l=c+36|0;g=f[l>>2]|0;b=f[j>>2]|0;k=g-b|0;if((k|0)>0){f[j>>2]=g;m=k+m|0;i=i-k|0;b=g;g=f[l>>2]|0}l=b+i-g-(f[c+44>>2]|0)|0;l=i-((l|0)>0?l:0)|0;k=c+40|0;g=f[k>>2]|0;i=e+4|0;b=f[i>>2]|0;j=g-b|0;if((j|0)>0){f[i>>2]=g;d=j+d|0;h=h-j|0;b=g;g=f[k>>2]|0}i=b+h-g-(f[c+48>>2]|0)|0;i=h-((i|0)>0?i:0)|0;j=a+52|0;g=f[j>>2]|0;b=g+68|0;h=f[b>>2]|0;if(h&512|0){f[b>>2]=h&-513;i6a(g)}if(!((l|0)>0&(i|0)>0)){f[e+12>>2]=0;f[e+8>>2]=0;n=0;u=o;return n|0}f[n>>2]=m;f[n+4>>2]=d;f[e+8>>2]=l;f[n+8>>2]=l;f[e+12>>2]=i;f[n+12>>2]=i;d=f[j>>2]|0;do if((f[d>>2]|0)==(c|0)){m=f[(f[c+4>>2]|0)+4>>2]|0;if(m|0?(f[d+80>>2]|0)!=(f[m+8>>2]|0):0){g=27;break}m=f[(f[a+4>>2]|0)+4>>2]|0;if((m|0)!=0?(f[d+84>>2]|0)!=(f[m+8>>2]|0):0)g=27;else g=29}else g=27;while(0);if((g|0)==27)if((Q5a(a,c)|0)<0)d=-1;else{d=f[j>>2]|0;g=29}if((g|0)==29)d=ej[f[d+8>>2]&63](a,n,c,e)|0;n=d;u=o;return n|0}n=c5a(461453,g)|0;u=o;return n|0}function ccb(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;i=c+4|0;j=f[i>>2]|0;if(!j){b[d>>0]=b[(f[234608+((h[c+28>>0]|0)<<2)>>2]|0)+((f[c+12>>2]&a)>>>(h[c+32>>0]|0))>>0]|0;b[e>>0]=b[(f[234608+((h[c+29>>0]|0)<<2)>>2]|0)+((f[c+16>>2]&a)>>>(h[c+33>>0]|0))>>0]|0;b[g>>0]=b[(f[234608+((h[c+30>>0]|0)<<2)>>2]|0)+((f[c+20>>2]&a)>>>(h[c+34>>0]|0))>>0]|0;return}if((f[j>>2]|0)>>>0>a>>>0){b[d>>0]=b[(f[j+4>>2]|0)+(a<<2)>>0]|0;b[e>>0]=b[(f[(f[i>>2]|0)+4>>2]|0)+(a<<2)+1>>0]|0;b[g>>0]=b[(f[(f[i>>2]|0)+4>>2]|0)+(a<<2)+2>>0]|0;return}else{b[g>>0]=0;b[e>>0]=0;b[d>>0]=0;return}}function dcb(a,b,c){a=a|0;b=b|0;c=c|0;b=fcb(b)|0;if(!b){c=0;return c|0}c=Wbb(a,b,c)|0;R9a(b);return c|0}function ecb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;e=f[a+4>>2]|0;if(!e){k=(c&255)>>>(h[a+29>>0]|0)<<(h[a+33>>0]|0)|(b&255)>>>(h[a+28>>0]|0)<<(h[a+32>>0]|0)|f[a+24>>2]|(d&255)>>>(h[a+30>>0]|0)<<(h[a+34>>0]|0);return k|0}k=f[e>>2]|0;a:do if((k|0)>0){j=f[e+4>>2]|0;i=b&255;g=c&255;d=d&255;c=0;e=-1;a=0;do{m=(h[j+(c<<2)>>0]|0)-i|0;n=(h[j+(c<<2)+1>>0]|0)-g|0;l=(h[j+(c<<2)+2>>0]|0)-d|0;b=(h[j+(c<<2)+3>>0]|0)+-255|0;b=(W(n,n)|0)+(W(m,m)|0)+(W(l,l)|0)+(W(b,b)|0)|0;if(b>>>0<e>>>0){a=c&255;if(!b)break a;else e=b}c=c+1|0}while((c|0)<(k|0))}else a=0;while(0);n=a&255;return n|0}function fcb(a){a=a|0;var b=0,c=0,d=0;d=u;u=u+16|0;c=d;b=f[124997]|0;a:do if(b|0){while(1){if((f[b>>2]|0)==(a|0))break;b=f[b+40>>2]|0;if(!b)break a}c=b+36|0;f[c>>2]=(f[c>>2]|0)+1;c=b;u=d;return c|0}while(0);b=K5a(44)|0;if(!b){Y4a(0)|0;c=0;u=d;return c|0}if((O5a(b,a)|0)<0){A5a(b);f[c>>2]=458649;c5a(473278,c)|0;c=0;u=d;return c|0}if((a|0)==0|(a&-268435456|0)==268435456?((a>>>24&15)+-1|0)>>>0<3:0){c=b;u=d;return c|0}f[b+40>>2]=f[124997];f[124997]=b;c=b;u=d;return c|0}function gcb(a){a=+a;return +(+V(+a))}function hcb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:do switch(a|0){case 4:{c=304088064;return c|0}case 8:{if(!b){c=318769153;return c|0}if((b|0)==224&(c|0)==28&(d|0)==3&(e|0)==0){c=336660481;return c|0}break}case 12:{if(!b){c=353504258;return c|0}if((b|0)==3840&(c|0)==240&(d|0)==15&(e|0)==0){c=353504258;return c|0}break}case 15:{if(!b){c=353570562;return c|0}else f=9;break}case 16:{if(!b){c=353701890;return c|0}else f=9;break}case 24:{if((b|0)<255){switch(b|0){case 0:{a=390076419;break}default:{f=24;break a}}return a|0}if((b|0)>=16711680){switch(b|0){case 16711680:{a=390076419;break}default:{f=24;break a}}return a|0}switch(b|0){case 255:break;default:{f=24;break a}}c=386930691;return c|0}case 32:{if(!b){c=370546692;return c|0}else f=24;break}case 1:{c=287310080;return c|0}default:{}}while(0);if((f|0)==9){a=(c|0)==992;k=(d|0)==31;i=(b|0)==31744&a&k;l=(e|0)==0;if(i&l){c=353570562;return c|0}m=(b|0)==31;j=m&a&(d|0)==31744;if(j&l){c=357764866;return c|0}a=(c|0)==240;f=(e|0)==61440;if((b|0)==3840&a&(d|0)==15&f){c=355602434;return c|0}g=(c|0)==3840;h=(e|0)==15;if((b|0)==61440&g&(d|0)==240&h){c=356651010;return c|0}if((b|0)==15&a&(d|0)==3840&f){c=359796738;return c|0}if((b|0)==240&g&(d|0)==61440&h){c=360845314;return c|0}f=(e|0)==32768;if(i&f){c=355667970;return c|0}h=(b|0)==63488;g=(c|0)==1984;a=(e|0)==1;if(h&g&(d|0)==62&a){c=356782082;return c|0}if(j&f){c=359862274;return c|0}f=(d|0)==63488;if((b|0)==62&g&f&a){c=360976386;return c|0}a=(c|0)==2016;if(h&a&k&l){c=353701890;return c|0}if(m&a&f&l){c=357896194;return c|0}}else if((f|0)==24){a=(c|0)==65280;i=(b|0)==16711680&a&(d|0)==255;g=(e|0)==0;if(i&g){c=370546692;return c|0}f=(c|0)==16711680;k=(b|0)==-16777216&f&(d|0)==65280;if(k&g){c=371595268;return c|0}j=(b|0)==255&a&(d|0)==16711680;if(j&g){c=374740996;return c|0}h=(b|0)==65280&f&(d|0)==-16777216;if(h&g){c=375789572;return c|0}f=(e|0)==-16777216;if(i&f){c=372645892;return c|0}a=(e|0)==255;if(k&a){c=373694468;return c|0}if(j&f){c=376840196;return c|0}if(h&a){c=377888772;return c|0}if((b|0)==1072693248&(c|0)==1047552&(d|0)==1023&(e|0)==-1073741824){c=372711428;return c|0}}c=0;return c|0}function icb(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;l=X4a(1,60)|0;if(!l){Y4a(0)|0;l=0;return l|0}i=fcb(g)|0;j=l+4|0;f[j>>2]=i;if(!i){S5a(l);l=0;return l|0}g=l+8|0;f[g>>2]=c;i=l+12|0;f[i>>2]=d;a=lcb(l)|0;c=l+16|0;f[c>>2]=a;a=f[g>>2]|0;e=f[i>>2]|0;f[l+36>>2]=0;f[l+40>>2]=0;f[l+44>>2]=a;f[l+48>>2]=e;e=f[j>>2]|0;d=f[e>>2]|0;if((d|0)==0|(d&-268435456|0)==268435456?((d>>>24&15)+-1|0)>>>0<3:0){a=mcb(1<<(h[e+8>>0]|0))|0;if(!a){S5a(l);l=0;return l|0}if((f[a>>2]|0)==2){d=f[a+4>>2]|0;b[d>>0]=-1;b[d+1>>0]=-1;b[d+2>>0]=-1;b[d+4>>0]=0;b[d+5>>0]=0;b[d+6>>0]=0;if((Q9a(f[j>>2]|0,a)|0)>=0)i6a(f[l+52>>2]|0)}else if((Q9a(f[j>>2]|0,a)|0)>=0)i6a(f[l+52>>2]|0);ncb(a);a=f[g>>2]|0}do if(a|0?(k=f[i>>2]|0,k|0):0){a=K5a(W(f[c>>2]|0,k)|0)|0;f[l+20>>2]=a;if(a|0){P5a(a,0,W(f[c>>2]|0,f[i>>2]|0)|0)|0;break}S5a(l);Y4a(0)|0;l=0;return l|0}while(0);a=ocb()|0;f[l+52>>2]=a;if(!a){S5a(l);l=0;return l|0}if(f[(f[j>>2]|0)+24>>2]|0?(i=a+68|0,k=f[i>>2]|0,j=k&-113|16,f[i>>2]=j,(j|0)!=(k|0)):0)i6a(a);f[l+56>>2]=1;return l|0}function jcb(a,c,d,e,g,i){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;var j=0,k=0;j=c+4|0;k=f[j>>2]|0;if(!k){b[d>>0]=b[(f[234608+((h[c+28>>0]|0)<<2)>>2]|0)+((f[c+12>>2]&a)>>>(h[c+32>>0]|0))>>0]|0;b[e>>0]=b[(f[234608+((h[c+29>>0]|0)<<2)>>2]|0)+((f[c+16>>2]&a)>>>(h[c+33>>0]|0))>>0]|0;b[g>>0]=b[(f[234608+((h[c+30>>0]|0)<<2)>>2]|0)+((f[c+20>>2]&a)>>>(h[c+34>>0]|0))>>0]|0;b[i>>0]=b[(f[234608+((h[c+31>>0]|0)<<2)>>2]|0)+((f[c+24>>2]&a)>>>(h[c+35>>0]|0))>>0]|0;return}if((f[k>>2]|0)>>>0>a>>>0){b[d>>0]=b[(f[k+4>>2]|0)+(a<<2)>>0]|0;b[e>>0]=b[(f[(f[j>>2]|0)+4>>2]|0)+(a<<2)+1>>0]|0;b[g>>0]=b[(f[(f[j>>2]|0)+4>>2]|0)+(a<<2)+2>>0]|0;b[i>>0]=b[(f[(f[j>>2]|0)+4>>2]|0)+(a<<2)+3>>0]|0;return}else{b[i>>0]=0;b[g>>0]=0;b[e>>0]=0;b[d>>0]=0;return}}function kcb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=f[a+4>>2]|0;if(!g){m=(c&255)>>>(h[a+29>>0]|0)<<(h[a+33>>0]|0)|(b&255)>>>(h[a+28>>0]|0)<<(h[a+32>>0]|0)|(d&255)>>>(h[a+30>>0]|0)<<(h[a+34>>0]|0)|(e&255)>>>(h[a+31>>0]|0)<<(h[a+35>>0]|0)&f[a+24>>2];return m|0}m=f[g>>2]|0;a:do if((m|0)>0){l=f[g+4>>2]|0;k=b&255;j=c&255;i=d&255;d=e&255;c=0;g=-1;a=0;do{n=(h[l+(c<<2)>>0]|0)-k|0;o=(h[l+(c<<2)+1>>0]|0)-j|0;e=(h[l+(c<<2)+2>>0]|0)-i|0;b=(h[l+(c<<2)+3>>0]|0)-d|0;b=(W(o,o)|0)+(W(n,n)|0)+(W(e,e)|0)+(W(b,b)|0)|0;if(b>>>0<g>>>0){a=c&255;if(!b)break a;else g=b}c=c+1|0}while((c|0)<(m|0))}else a=0;while(0);o=a&255;return o|0}function lcb(a){a=a|0;var c=0;c=f[a+4>>2]|0;a=W(f[a+8>>2]|0,h[c+9>>0]|0)|0;switch(b[c+8>>0]|0){case 1:{a=(a+7|0)/8|0;break}case 4:{a=(a+1|0)/2|0;break}default:{}}return a+3&-4|0}function mcb(a){a=a|0;var b=0,c=0,d=0,e=0;e=u;u=u+16|0;b=e;if((a|0)<1){f[b>>2]=461552;c5a(473278,b)|0;a=0;u=e;return a|0}b=K5a(16)|0;if(!b){Y4a(0)|0;a=0;u=e;return a|0}c=a<<2;d=K5a(c)|0;f[b+4>>2]=d;if(!d){A5a(b);a=0;u=e;return a|0}else{f[b>>2]=a;f[b+8>>2]=1;f[b+12>>2]=1;P5a(d,255,c)|0;a=b;u=e;return a|0}return 0}function ncb(a){a=a|0;var b=0,c=0,d=0;c=u;u=u+16|0;b=c;if(!a){f[b>>2]=461544;c5a(473278,b)|0;u=c;return}d=a+12|0;b=f[d>>2]|0;f[d>>2]=b+-1;if((b|0)>1){u=c;return}A5a(f[a+4>>2]|0);A5a(a);u=c;return}function ocb(){var a=0;a=X4a(1,88)|0;if(!a){Y4a(0)|0;a=0;return a|0}else{f[a+76>>2]=-1;return a|0}return 0}function pcb(a){a=+a;return +(+I(+a))}function qcb(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;j=a+52|0;e=f[j>>2]|0;h=e+68|0;g=f[h>>2]|0;if(!(g&512)){f[h>>2]=g|512;i6a(e);e=f[j>>2]|0;g=f[e+68>>2]|0}do if((g&371|0)==0?(i=f[f[a+4>>2]>>2]|0,(i|0)==(f[f[c+4>>2]>>2]|0)):0){if((i|0)==0|(i&-268435456|0)==268435456?((i>>>24&15)+-1|0)>>>0<3:0)break;k=rcb(a,b,c,d)|0;return k|0}while(0);do if((f[e>>2]|0)==(c|0)){i=f[(f[c+4>>2]|0)+4>>2]|0;if(i|0?(f[e+80>>2]|0)!=(f[i+8>>2]|0):0){k=13;break}i=f[(f[a+4>>2]|0)+4>>2]|0;if((i|0)!=0?(f[e+84>>2]|0)!=(f[i+8>>2]|0):0)k=13}else k=13;while(0);do if((k|0)==13)if((Q5a(a,c)|0)<0){k=-1;return k|0}else{e=f[j>>2]|0;break}while(0);k=ej[f[e+8>>2]&63](a,b,c,d)|0;return k|0}function rcb(a,c,e,g){a=a|0;c=c|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,D=0,E=0,F=0,G=0;G=u;u=u+80|0;o=G+32|0;n=G+24|0;m=G+16|0;j=G+8|0;h=G+56|0;k=G+40|0;D=f[e+4>>2]|0;F=b[D+9>>0]|0;E=F&255;if((f[f[a+4>>2]>>2]|0)!=(f[D>>2]|0)){F=c5a(461603,G)|0;u=G;return F|0}do if(!c){f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=f[a+8>>2];f[h+12>>2]=f[a+12>>2];c=h}else{h=f[c>>2]|0;if((((h|0)>=0?(i=f[c+4>>2]|0,(i|0)>=0):0)?((f[c+8>>2]|0)+h|0)<=(f[a+8>>2]|0):0)?((f[c+12>>2]|0)+i|0)<=(f[a+12>>2]|0):0)break;F=c5a(461640,j)|0;u=G;return F|0}while(0);do if(!g){f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=f[e+8>>2];f[k+12>>2]=f[e+12>>2]}else{h=f[g>>2]|0;if((((h|0)>=0?(l=f[g+4>>2]|0,(l|0)>=0):0)?((f[g+8>>2]|0)+h|0)<=(f[e+8>>2]|0):0)?((f[g+12>>2]|0)+l|0)<=(f[e+12>>2]|0):0){k=g;break}F=c5a(461670,m)|0;u=G;return F|0}while(0);if(f[e>>2]&2)if((J9a(e)|0)<0){F=c5a(461705,n)|0;u=G;return F|0}else D=1;else D=0;if(f[a>>2]&2)if((J9a(a)|0)<0){if(D|0)K9a(e);F=c5a(461740,o)|0;u=G;return F|0}else t=1;else t=0;C=f[k+12>>2]|0;v=(f[c+12>>2]<<16|0)/(C|0)|0;h=f[k+4>>2]|0;w=h+C|0;a:do if((C|0)>0){x=e+20|0;y=e+16|0;z=c+8|0;A=k+8|0;B=a+20|0;C=a+16|0;g=65536;i=0;j=f[c+4>>2]|0;while(1){p=(f[x>>2]|0)+(W(f[y>>2]|0,h)|0)|0;p=p+(W(f[k>>2]|0,E)|0)|0;if((g|0)>65535){r=~g;r=g+65536+((r|0)>-131072?r:-131072)|0;s=r>>>16;i=(f[B>>2]|0)+(W(f[C>>2]|0,j+s|0)|0)|0;i=i+(W(f[c>>2]|0,E)|0)|0;g=g+-65536-(r&-65536)|0;j=j+1+s|0}switch(F<<24>>24){case 1:{l=f[A>>2]|0;q=(f[z>>2]<<16|0)/(l|0)|0;if((l|0)>0){n=i;o=65536;m=0;while(1){if((o|0)>65535){s=~o;s=o+65536+((s|0)>-131072?s:-131072)|0;r=s>>>16;m=b[n+r>>0]|0;n=n+1+r|0;o=o+-65536-(s&-65536)|0}b[p>>0]=m;if((l|0)>1){o=o+q|0;l=l+-1|0;p=p+1|0}else break}}break}case 2:{l=f[A>>2]|0;q=(f[z>>2]<<16|0)/(l|0)|0;if((l|0)>0){n=i;o=65536;m=0;while(1){if((o|0)>65535){s=~o;s=o+65536+((s|0)>-131072?s:-131072)|0;r=s>>>16;m=d[n+(r<<1)>>1]|0;n=n+2+(r<<1)|0;o=o+-65536-(s&-65536)|0}d[p>>1]=m;if((l|0)>1){o=o+q|0;l=l+-1|0;p=p+2|0}else break}}break}case 3:{l=f[A>>2]|0;s=(f[z>>2]<<16|0)/(l|0)|0;if((l|0)>0){n=65536;m=i;o=0;q=0;r=0;while(1){if((n|0)>65535){o=~n;o=n+65536+((o|0)>-131072?o:-131072)|0;q=(o>>>16)*3|0;r=m+q|0;m=m+3+q|0;n=n+-65536-(o&-65536)|0;o=b[r>>0]|0;q=b[r+1>>0]|0;r=b[r+2>>0]|0}b[p>>0]=o;b[p+1>>0]=q;b[p+2>>0]=r;if((l|0)>1){n=n+s|0;l=l+-1|0;p=p+3|0}else break}}break}case 4:{l=f[A>>2]|0;q=(f[z>>2]<<16|0)/(l|0)|0;if((l|0)>0){n=i;o=65536;m=0;while(1){if((o|0)>65535){s=~o;s=o+65536+((s|0)>-131072?s:-131072)|0;r=s>>>16;m=f[n+(r<<2)>>2]|0;n=n+4+(r<<2)|0;o=o+-65536-(s&-65536)|0}f[p>>2]=m;if((l|0)>1){o=o+q|0;l=l+-1|0;p=p+4|0}else break}}break}default:{}}h=h+1|0;if((h|0)>=(w|0))break a;else g=g+v|0}}while(0);if(D|0)K9a(e);if(!t){F=0;u=G;return F|0}K9a(a);F=0;u=G;return F|0}function scb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=u;u=u+16|0;if(b)if((c|0)>0){f=0;e=0;do{e=(T9a(a,b+(f<<4)|0,d)|0)+e|0;f=f+1|0}while((f|0)!=(c|0))}else e=0;else e=c5a(461827,g)|0;u=g;return e|0}function tcb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=u;u=u+32|0;p=q+16|0;if(!a){p=c5a(462111,q)|0;u=q;return p|0}k=f[a+4>>2]|0;l=b[k+8>>0]|0;if((l&255)<8){p=c5a(461778,q+8|0)|0;u=q;return p|0}if((e+-1|0)>>>0<2){n=j&255;o=(((W(n,i&255)|0)>>>0)/255|0)&255;h=(((W(n,h&255)|0)>>>0)/255|0)&255;n=(((W(n,g&255)|0)>>>0)/255|0)&255}else{o=i;n=g}switch(l<<24>>24){case 15:{if((f[k+12>>2]|0)==31744)l=12;else m=12;break}case 16:{if((f[k+12>>2]|0)==63488)l=13;else m=12;break}case 32:{if((f[k+12>>2]|0)==16711680)l=(f[k+24>>2]|0)==0?9:8;else m=12;break}default:m=12}if((m|0)==12)l=(f[k+24>>2]|0)==0?11:10;if((d|0)<=0){p=0;u=q;return p|0}k=a+36|0;g=0;i=0;do{if(X9a(c+(g<<4)|0,k,p)|0)i=kj[l&15](a,p,e,n,h,o,j)|0;g=g+1|0}while((g|0)!=(d|0));u=q;return i|0}function ucb(a,b,c,d,e,g,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;p=~i&255;switch(c|0){case 1:{i=f[b+8>>2]|0;c=f[b+12>>2]|0;j=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=j-i|0;if(!c)return 0;o=(i+3|0)/4|0;m=i&255;l=d&255;k=e&255;d=g&255;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,j)|0)<<2)+(f[b>>2]<<2)|0;a:while(1){c=c+-1|0;switch(m&3){case 0:{q=o;s=i;i=5;break}case 3:{t=o;y=i;i=6;break}case 2:{z=o;E=i;i=7;break}case 1:{F=o;K=i;i=8;break}default:{i=9;break a}}while(1)if((i|0)==5){t=f[s>>2]|0;t=(((W(t>>>8&255,p)|0)>>>0)/255|0)+k<<8|(((W(t&255,p)|0)>>>0)/255|0)+d|(((W(t>>>16&255,p)|0)>>>0)/255|0)+l<<16;f[s>>2]=t;t=q;y=s+4|0;i=6;continue}else if((i|0)==6){z=f[y>>2]|0;z=(((W(z>>>8&255,p)|0)>>>0)/255|0)+k<<8|(((W(z&255,p)|0)>>>0)/255|0)+d|(((W(z>>>16&255,p)|0)>>>0)/255|0)+l<<16;f[y>>2]=z;z=t;E=y+4|0;i=7;continue}else if((i|0)==7){F=f[E>>2]|0;F=(((W(F>>>8&255,p)|0)>>>0)/255|0)+k<<8|(((W(F&255,p)|0)>>>0)/255|0)+d|(((W(F>>>16&255,p)|0)>>>0)/255|0)+l<<16;f[E>>2]=F;F=z;K=E+4|0;i=8;continue}else if((i|0)==8){i=f[K>>2]|0;i=(((W(i>>>8&255,p)|0)>>>0)/255|0)+k<<8|(((W(i&255,p)|0)>>>0)/255|0)+d|(((W(i>>>16&255,p)|0)>>>0)/255|0)+l<<16;f[K>>2]=i;i=K+4|0;if((F|0)>1){q=F+-1|0;s=i;i=5;continue}else break}if(!c){i=50;break}else i=i+(n<<2)|0}if((i|0)!=9)if((i|0)==50)return 0;break}case 2:{j=f[b+8>>2]|0;c=f[b+12>>2]|0;i=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!c)return 0;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;k=d&255;d=e&255;j=g&255;i=i+(f[b>>2]<<2)|0;b:while(1){c=c+-1|0;switch(l&3){case 0:{o=m;u=i;i=14;break}case 3:{v=m;A=i;i=15;break}case 2:{B=m;G=i;i=16;break}case 1:{H=m;L=i;i=17;break}default:{i=18;break b}}while(1)if((i|0)==14){A=f[u>>2]|0;v=(A>>>16&255)+k|0;i=(A>>>8&255)+d|0;A=(A&255)+j|0;f[u>>2]=(i>>>0<255?i:255)<<8|(A>>>0<255?A:255)|(v>>>0<255?v:255)<<16;v=o;A=u+4|0;i=15;continue}else if((i|0)==15){G=f[A>>2]|0;B=(G>>>16&255)+k|0;i=(G>>>8&255)+d|0;G=(G&255)+j|0;f[A>>2]=(i>>>0<255?i:255)<<8|(G>>>0<255?G:255)|(B>>>0<255?B:255)<<16;B=v;G=A+4|0;i=16;continue}else if((i|0)==16){L=f[G>>2]|0;H=(L>>>16&255)+k|0;i=(L>>>8&255)+d|0;L=(L&255)+j|0;f[G>>2]=(i>>>0<255?i:255)<<8|(L>>>0<255?L:255)|(H>>>0<255?H:255)<<16;H=B;L=G+4|0;i=17;continue}else if((i|0)==17){g=f[L>>2]|0;i=(g>>>16&255)+k|0;b=(g>>>8&255)+d|0;g=(g&255)+j|0;f[L>>2]=(b>>>0<255?b:255)<<8|(g>>>0<255?g:255)|(i>>>0<255?i:255)<<16;i=L+4|0;if((H|0)>1){o=H+-1|0;u=i;i=14;continue}else break}if(!c){i=50;break}else i=i+(n<<2)|0}if((i|0)!=18)if((i|0)==50)return 0;break}case 4:{j=f[b+8>>2]|0;c=f[b+12>>2]|0;i=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!c)return 0;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;k=d&255;d=e&255;j=g&255;i=i+(f[b>>2]<<2)|0;c:while(1){c=c+-1|0;switch(l&3){case 0:{r=m;w=i;i=23;break}case 3:{x=m;C=i;i=24;break}case 2:{D=m;I=i;i=25;break}case 1:{J=m;M=i;i=26;break}default:{i=27;break c}}while(1)if((i|0)==23){x=f[w>>2]|0;x=(((W(x>>>8&255,d)|0)>>>0)/255|0)<<8|(((W(x&255,j)|0)>>>0)/255|0)|(((W(x>>>16&255,k)|0)>>>0)/255|0)<<16;f[w>>2]=x;x=r;C=w+4|0;i=24;continue}else if((i|0)==24){D=f[C>>2]|0;D=(((W(D>>>8&255,d)|0)>>>0)/255|0)<<8|(((W(D&255,j)|0)>>>0)/255|0)|(((W(D>>>16&255,k)|0)>>>0)/255|0)<<16;f[C>>2]=D;D=x;I=C+4|0;i=25;continue}else if((i|0)==25){J=f[I>>2]|0;J=(((W(J>>>8&255,d)|0)>>>0)/255|0)<<8|(((W(J&255,j)|0)>>>0)/255|0)|(((W(J>>>16&255,k)|0)>>>0)/255|0)<<16;f[I>>2]=J;J=D;M=I+4|0;i=26;continue}else if((i|0)==26){i=f[M>>2]|0;i=(((W(i>>>8&255,d)|0)>>>0)/255|0)<<8|(((W(i&255,j)|0)>>>0)/255|0)|(((W(i>>>16&255,k)|0)>>>0)/255|0)<<16;f[M>>2]=i;i=M+4|0;if((J|0)>1){r=J+-1|0;w=i;i=23;continue}else break}if(!c){i=50;break}else i=i+(n<<2)|0}if((i|0)!=27)if((i|0)==50)return 0;break}default:{c=f[b+8>>2]|0;M=f[b+12>>2]|0;i=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=i-c|0;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,i)|0)<<2)|0;i=i+(f[b>>2]<<2)|0;j=M+-1|0;if(!M)return 0;m=(c+3|0)/4|0;l=(e&255)<<8|(d&255)<<16|g&255;switch(c&3){case 0:{while(1){c=m;while(1){f[i>>2]=l;f[i+4>>2]=l;f[i+8>>2]=l;f[i+12>>2]=l;i=i+16|0;if((c|0)<=1)break;else c=c+-1|0}if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 3:{k=(c|0)>4;while(1){f[i>>2]=l;f[i+4>>2]=l;f[i+8>>2]=l;c=i+12|0;if(k){d=m;while(1){f[c>>2]=l;c=i;i=i+16|0;f[i>>2]=l;f[c+20>>2]=l;f[c+24>>2]=l;c=c+28|0;if((d|0)<=2){i=c;break}else d=d+-1|0}}else i=c;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 2:{k=(c|0)>4;while(1){f[i>>2]=l;f[i+4>>2]=l;c=i+8|0;if(k){d=m;while(1){f[c>>2]=l;f[i+12>>2]=l;c=i;i=i+16|0;f[i>>2]=l;f[c+20>>2]=l;c=c+24|0;if((d|0)<=2){i=c;break}else d=d+-1|0}}else i=c;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}default:{k=(c|0)>4;while(1){f[i>>2]=l;c=i+4|0;if(k){d=m;while(1){f[c>>2]=l;f[i+8>>2]=l;f[i+12>>2]=l;c=i;i=i+16|0;f[i>>2]=l;c=c+20|0;if((d|0)<=2){i=c;break}else d=d+-1|0}}else i=c;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}}}}return 0}function vcb(a,b,c,d,e,g,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=i&255;p=N^255;switch(c|0){case 1:{i=f[b+8>>2]|0;c=f[b+12>>2]|0;j=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=j-i|0;if(!c)return 0;o=(i+3|0)/4|0;m=i&255;l=d&255;k=e&255;d=g&255;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,j)|0)<<2)+(f[b>>2]<<2)|0;a:while(1){c=c+-1|0;switch(m&3){case 0:{q=o;s=i;i=5;break}case 3:{t=o;y=i;i=6;break}case 2:{z=o;E=i;i=7;break}case 1:{F=o;K=i;i=8;break}default:{i=9;break a}}while(1)if((i|0)==5){t=f[s>>2]|0;t=(((W(t>>>24,p)|0)>>>0)/255|0)+N<<24|(((W(t&255,p)|0)>>>0)/255|0)+d|(((W(t>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((W(t>>>8&255,p)|0)>>>0)/255|0)+k<<8;f[s>>2]=t;t=q;y=s+4|0;i=6;continue}else if((i|0)==6){z=f[y>>2]|0;z=(((W(z>>>24,p)|0)>>>0)/255|0)+N<<24|(((W(z&255,p)|0)>>>0)/255|0)+d|(((W(z>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((W(z>>>8&255,p)|0)>>>0)/255|0)+k<<8;f[y>>2]=z;z=t;E=y+4|0;i=7;continue}else if((i|0)==7){F=f[E>>2]|0;F=(((W(F>>>24,p)|0)>>>0)/255|0)+N<<24|(((W(F&255,p)|0)>>>0)/255|0)+d|(((W(F>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((W(F>>>8&255,p)|0)>>>0)/255|0)+k<<8;f[E>>2]=F;F=z;K=E+4|0;i=8;continue}else if((i|0)==8){i=f[K>>2]|0;i=(((W(i>>>24,p)|0)>>>0)/255|0)+N<<24|(((W(i&255,p)|0)>>>0)/255|0)+d|(((W(i>>>16&255,p)|0)>>>0)/255|0)+l<<16|(((W(i>>>8&255,p)|0)>>>0)/255|0)+k<<8;f[K>>2]=i;i=K+4|0;if((F|0)>1){q=F+-1|0;s=i;i=5;continue}else break}if(!c){i=50;break}else i=i+(n<<2)|0}if((i|0)!=9)if((i|0)==50)return 0;break}case 2:{j=f[b+8>>2]|0;c=f[b+12>>2]|0;i=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!c)return 0;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;k=d&255;d=e&255;j=g&255;i=i+(f[b>>2]<<2)|0;b:while(1){c=c+-1|0;switch(l&3){case 0:{o=m;u=i;i=14;break}case 3:{v=m;A=i;i=15;break}case 2:{B=m;G=i;i=16;break}case 1:{H=m;L=i;i=17;break}default:{i=18;break b}}while(1)if((i|0)==14){i=f[u>>2]|0;A=(i>>>16&255)+k|0;v=(i>>>8&255)+d|0;g=(i&255)+j|0;f[u>>2]=(g>>>0<255?g:255)|i&-16777216|(A>>>0<255?A:255)<<16|(v>>>0<255?v:255)<<8;v=o;A=u+4|0;i=15;continue}else if((i|0)==15){i=f[A>>2]|0;G=(i>>>16&255)+k|0;B=(i>>>8&255)+d|0;g=(i&255)+j|0;f[A>>2]=(g>>>0<255?g:255)|i&-16777216|(G>>>0<255?G:255)<<16|(B>>>0<255?B:255)<<8;B=v;G=A+4|0;i=16;continue}else if((i|0)==16){i=f[G>>2]|0;L=(i>>>16&255)+k|0;H=(i>>>8&255)+d|0;g=(i&255)+j|0;f[G>>2]=(g>>>0<255?g:255)|i&-16777216|(L>>>0<255?L:255)<<16|(H>>>0<255?H:255)<<8;H=B;L=G+4|0;i=17;continue}else if((i|0)==17){b=f[L>>2]|0;g=(b>>>16&255)+k|0;i=(b>>>8&255)+d|0;e=(b&255)+j|0;f[L>>2]=(e>>>0<255?e:255)|b&-16777216|(g>>>0<255?g:255)<<16|(i>>>0<255?i:255)<<8;i=L+4|0;if((H|0)>1){o=H+-1|0;u=i;i=14;continue}else break}if(!c){i=50;break}else i=i+(n<<2)|0}if((i|0)!=18)if((i|0)==50)return 0;break}case 4:{j=f[b+8>>2]|0;c=f[b+12>>2]|0;i=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=i-j|0;if(!c)return 0;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,i)|0)<<2)|0;m=(j+3|0)/4|0;l=j&255;k=d&255;d=e&255;j=g&255;i=i+(f[b>>2]<<2)|0;c:while(1){c=c+-1|0;switch(l&3){case 0:{r=m;w=i;i=23;break}case 3:{x=m;C=i;i=24;break}case 2:{D=m;I=i;i=25;break}case 1:{J=m;M=i;i=26;break}default:{i=27;break c}}while(1)if((i|0)==23){x=f[w>>2]|0;x=((W(x&255,j)|0)>>>0)/255|0|x&-16777216|(((W(x>>>16&255,k)|0)>>>0)/255|0)<<16|(((W(x>>>8&255,d)|0)>>>0)/255|0)<<8;f[w>>2]=x;x=r;C=w+4|0;i=24;continue}else if((i|0)==24){D=f[C>>2]|0;D=((W(D&255,j)|0)>>>0)/255|0|D&-16777216|(((W(D>>>16&255,k)|0)>>>0)/255|0)<<16|(((W(D>>>8&255,d)|0)>>>0)/255|0)<<8;f[C>>2]=D;D=x;I=C+4|0;i=25;continue}else if((i|0)==25){J=f[I>>2]|0;J=((W(J&255,j)|0)>>>0)/255|0|J&-16777216|(((W(J>>>16&255,k)|0)>>>0)/255|0)<<16|(((W(J>>>8&255,d)|0)>>>0)/255|0)<<8;f[I>>2]=J;J=D;M=I+4|0;i=26;continue}else if((i|0)==26){i=f[M>>2]|0;i=((W(i&255,j)|0)>>>0)/255|0|i&-16777216|(((W(i>>>16&255,k)|0)>>>0)/255|0)<<16|(((W(i>>>8&255,d)|0)>>>0)/255|0)<<8;f[M>>2]=i;i=M+4|0;if((J|0)>1){r=J+-1|0;w=i;i=23;continue}else break}if(!c){i=50;break}else i=i+(n<<2)|0}if((i|0)!=27)if((i|0)==50)return 0;break}default:{c=f[b+8>>2]|0;M=f[b+12>>2]|0;i=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;n=i-c|0;i=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,i)|0)<<2)|0;i=i+(f[b>>2]<<2)|0;j=M+-1|0;if(!M)return 0;m=(c+3|0)/4|0;l=(e&255)<<8|(d&255)<<16|g&255|N<<24;switch(c&3){case 0:{while(1){c=m;while(1){f[i>>2]=l;f[i+4>>2]=l;f[i+8>>2]=l;f[i+12>>2]=l;i=i+16|0;if((c|0)<=1)break;else c=c+-1|0}if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 3:{k=(c|0)>4;while(1){f[i>>2]=l;f[i+4>>2]=l;f[i+8>>2]=l;c=i+12|0;if(k){d=m;while(1){f[c>>2]=l;c=i;i=i+16|0;f[i>>2]=l;f[c+20>>2]=l;f[c+24>>2]=l;c=c+28|0;if((d|0)<=2){i=c;break}else d=d+-1|0}}else i=c;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}case 2:{k=(c|0)>4;while(1){f[i>>2]=l;f[i+4>>2]=l;c=i+8|0;if(k){d=m;while(1){f[c>>2]=l;f[i+12>>2]=l;c=i;i=i+16|0;f[i>>2]=l;f[c+20>>2]=l;c=c+24|0;if((d|0)<=2){i=c;break}else d=d+-1|0}}else i=c;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}default:{k=(c|0)>4;while(1){f[i>>2]=l;c=i+4|0;if(k){d=m;while(1){f[c>>2]=l;f[i+8>>2]=l;f[i+12>>2]=l;c=i;i=i+16|0;f[i>>2]=l;c=c+20|0;if((d|0)<=2){i=c;break}else d=d+-1|0}}else i=c;if(!j)break;else{i=i+(n<<2)|0;j=j+-1|0}}return 0}}}}return 0}function wcb(a,c,e,g,i,k,l){a=a|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,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,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,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0,Je=0,Ke=0,Le=0,Me=0,Ne=0,Oe=0,Pe=0,Qe=0,Re=0,Se=0,Te=0,Ue=0,Ve=0,We=0,Xe=0,Ye=0,Ze=0,_e=0,$e=0,af=0,bf=0,cf=0,df=0,ef=0,ff=0,gf=0,hf=0,jf=0,kf=0,lf=0,mf=0,nf=0,of=0,pf=0,qf=0,rf=0,sf=0,tf=0,uf=0,vf=0,wf=0,xf=0,yf=0,zf=0,Af=0,Bf=0,Cf=0,Df=0,Ef=0,Ff=0,Gf=0,Hf=0,If=0,Jf=0,Kf=0,Lf=0,Mf=0,Nf=0,Of=0,Pf=0,Qf=0,Rf=0,Sf=0,Tf=0,Uf=0,Vf=0,Wf=0,Xf=0,Yf=0,Zf=0,_f=0,$f=0,ag=0,bg=0,cg=0,dg=0,eg=0,fg=0,gg=0,hg=0,ig=0,jg=0,kg=0,lg=0,mg=0,ng=0,og=0,pg=0,qg=0,rg=0,sg=0,tg=0,ug=0,vg=0,wg=0,xg=0,yg=0,zg=0,Ag=0,Bg=0,Cg=0,Dg=0,Eg=0,Fg=0,Gg=0,Hg=0,Ig=0,Jg=0,Kg=0,Lg=0,Mg=0,Ng=0,Og=0,Pg=0,Qg=0,Rg=0,Sg=0,Tg=0,Ug=0,Vg=0,Wg=0,Xg=0,Yg=0,Zg=0,_g=0,$g=0,ah=0,bh=0,ch=0,dh=0,eh=0,fh=0,gh=0,hh=0,ih=0,jh=0,kh=0,lh=0,mh=0,nh=0,oh=0,ph=0,qh=0,rh=0,sh=0,th=0,uh=0,vh=0,wh=0,xh=0,yh=0,zh=0,Ah=0,Bh=0,Ch=0,Dh=0,Eh=0,Fh=0,Gh=0,Hh=0,Ih=0,Jh=0,Kh=0,Lh=0,Mh=0,Nh=0,Oh=0,Ph=0,Qh=0,Rh=0,Sh=0,Th=0,Uh=0,Vh=0,Wh=0,Xh=0,Yh=0,Zh=0,_h=0,$h=0,ai=0,bi=0,ci=0,di=0,ei=0,fi=0,gi=0,hi=0,ii=0,ji=0,ki=0,li=0,mi=0,ni=0,oi=0,pi=0,qi=0,ri=0,si=0,ti=0,ui=0;ti=f[a+4>>2]|0;si=~l&255;y=b[ti+9>>0]|0;m=y&255;switch(y<<24>>24){case 2:{switch(e|0){case 1:{l=f[c+8>>2]|0;e=f[c+12>>2]|0;n=(f[a+16>>2]|0)/(m|0)|0;A=n-l|0;if(!e){ui=0;return ui|0}B=(l+3|0)/4|0;z=l&255;q=ti+28|0;r=ti+12|0;s=ti+32|0;t=ti+29|0;u=ti+16|0;v=ti+33|0;w=ti+30|0;x=ti+20|0;y=ti+34|0;p=g&255;o=i&255;g=k&255;m=ti+24|0;l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,n)|0)<<1)+(f[c>>2]<<1)|0;a:while(1){e=e+-1|0;switch(z&3){case 0:{Dh=b[q>>0]|0;Wh=b[t>>0]|0;$h=b[w>>0]|0;Da=B;Ja=l;hh=Dh;uh=f[r>>2]|0;wh=b[s>>0]|0;Dh=f[234608+((Dh&255)<<2)>>2]|0;Lh=Wh;Ph=f[u>>2]|0;Uh=b[v>>0]|0;Wh=f[234608+((Wh&255)<<2)>>2]|0;Xh=$h;Yh=f[x>>2]|0;Zh=b[y>>0]|0;$h=f[234608+(($h&255)<<2)>>2]|0;ri=f[m>>2]|0;l=10;break}case 3:{Ee=b[q>>0]|0;Kd=Ee&255;De=b[s>>0]|0;Ce=b[t>>0]|0;Sd=Ce&255;Be=b[v>>0]|0;Ae=b[w>>0]|0;Zd=Ae&255;ze=b[y>>0]|0;Ka=B;Va=l;xb=Kd;yb=De&255;zb=Sd;Ab=Be&255;Bb=Zd;Cb=ze&255;Gd=f[r>>2]|0;Kd=f[234608+(Kd<<2)>>2]|0;Od=f[u>>2]|0;Sd=f[234608+(Sd<<2)>>2]|0;Td=f[x>>2]|0;Zd=f[234608+(Zd<<2)>>2]|0;le=f[m>>2]|0;l=11;break}case 2:{ye=b[q>>0]|0;$e=ye&255;xe=b[s>>0]|0;ve=b[t>>0]|0;eg=ve&255;ue=b[v>>0]|0;te=b[w>>0]|0;sg=te&255;se=b[y>>0]|0;Wa=B;fb=l;Db=$e;Eb=xe&255;Fb=eg;Gb=ue&255;Hb=sg;Ib=se&255;we=f[r>>2]|0;$e=f[234608+($e<<2)>>2]|0;Bf=f[u>>2]|0;eg=f[234608+(eg<<2)>>2]|0;rg=f[x>>2]|0;sg=f[234608+(sg<<2)>>2]|0;tg=f[m>>2]|0;l=12;break}case 1:{re=b[q>>0]|0;vg=re&255;qe=b[s>>0]|0;pe=b[t>>0]|0;xg=pe&255;oe=b[v>>0]|0;ne=b[w>>0]|0;zg=ne&255;me=b[y>>0]|0;gb=B;rb=l;Jb=vg;Kb=qe&255;Lb=xg;Mb=oe&255;Nb=zg;Ob=me&255;ug=f[r>>2]|0;vg=f[234608+(vg<<2)>>2]|0;wg=f[u>>2]|0;xg=f[234608+(xg<<2)>>2]|0;yg=f[x>>2]|0;zg=f[234608+(zg<<2)>>2]|0;Ag=f[m>>2]|0;l=13;break}default:{l=14;break a}}while(1)if((l|0)==10){xb=hh&255;Ka=j[Ja>>1]|0;yb=wh&255;zb=Lh&255;Ab=Uh&255;Bb=Xh&255;Cb=Zh&255;Ka=(((((W(h[Wh+((Ph&Ka)>>>Ab)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>zb<<Ab|((((W(h[Dh+((uh&Ka)>>>yb)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>xb<<yb|ri|((((W(h[$h+((Yh&Ka)>>>Cb)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Bb<<Cb)&65535;d[Ja>>1]=Ka;Ka=Da;Va=Ja+2|0;Gd=uh;Kd=Dh;Od=Ph;Sd=Wh;Td=Yh;Zd=$h;le=ri;ze=Zh;Ae=Xh;Be=Uh;Ce=Lh;De=wh;Ee=hh;l=11;continue}else if((l|0)==11){Wa=j[Va>>1]|0;Wa=(((((W(h[Sd+((Od&Wa)>>>Ab)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>zb<<Ab|((((W(h[Kd+((Gd&Wa)>>>yb)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>xb<<yb|le|((((W(h[Zd+((Td&Wa)>>>Cb)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Bb<<Cb)&65535;d[Va>>1]=Wa;Wa=Ka;fb=Va+2|0;Db=xb;Eb=yb;Fb=zb;Gb=Ab;Hb=Bb;Ib=Cb;se=ze;te=Ae;ue=Be;ve=Ce;we=Gd;xe=De;ye=Ee;$e=Kd;Bf=Od;eg=Sd;rg=Td;sg=Zd;tg=le;l=12;continue}else if((l|0)==12){gb=j[fb>>1]|0;gb=(((((W(h[eg+((Bf&gb)>>>Gb)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>Fb<<Gb|((((W(h[$e+((we&gb)>>>Eb)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>Db<<Eb|tg|((((W(h[sg+((rg&gb)>>>Ib)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Hb<<Ib)&65535;d[fb>>1]=gb;gb=Wa;rb=fb+2|0;Jb=Db;Kb=Eb;Lb=Fb;Mb=Gb;Nb=Hb;Ob=Ib;me=se;ne=te;oe=ue;pe=ve;qe=xe;re=ye;ug=we;vg=$e;wg=Bf;xg=eg;yg=rg;zg=sg;Ag=tg;l=13;continue}else if((l|0)==13){l=j[rb>>1]|0;l=(((((W(h[xg+((wg&l)>>>Mb)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>Lb<<Mb|((((W(h[vg+((ug&l)>>>Kb)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>Jb<<Kb|Ag|((((W(h[zg+((yg&l)>>>Ob)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Nb<<Ob)&65535;d[rb>>1]=l;l=rb+2|0;if((gb|0)>1){Da=gb+-1|0;Ja=l;hh=re;uh=ug;wh=qe;Dh=vg;Lh=pe;Ph=wg;Uh=oe;Wh=xg;Xh=ne;Yh=yg;Zh=me;$h=zg;ri=Ag;l=10;continue}else break}if(!e){ui=0;l=117;break}else l=l+(A<<1)|0}if((l|0)!=14)if((l|0)==117)return ui|0;break}case 2:{e=f[c+8>>2]|0;z=f[c+12>>2]|0;l=(f[a+16>>2]|0)/(m|0)|0;B=l-e|0;if(!z){ui=0;return ui|0}l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,l)|0)<<1)|0;A=(e+3|0)/4|0;y=e&255;p=ti+28|0;q=ti+12|0;r=ti+32|0;s=ti+29|0;t=ti+16|0;u=ti+33|0;v=ti+30|0;w=ti+20|0;x=ti+34|0;o=g&255;g=i&255;n=k&255;m=ti+24|0;l=l+(f[c>>2]<<1)|0;e=z;b:while(1){e=e+-1|0;switch(y&3){case 0:{Eg=b[p>>0]|0;Ig=b[s>>0]|0;Mg=b[v>>0]|0;Ea=A;La=l;Bg=Eg;Cg=f[q>>2]|0;Dg=b[r>>0]|0;Eg=f[234608+((Eg&255)<<2)>>2]|0;Fg=Ig;Gg=f[t>>2]|0;Hg=b[u>>0]|0;Ig=f[234608+((Ig&255)<<2)>>2]|0;Jg=Mg;Kg=f[w>>2]|0;Lg=b[x>>0]|0;Mg=f[234608+((Mg&255)<<2)>>2]|0;Ng=f[m>>2]|0;l=23;break}case 3:{We=b[p>>0]|0;Pg=We&255;Ve=b[r>>0]|0;Ue=b[s>>0]|0;Rg=Ue&255;Te=b[u>>0]|0;Se=b[v>>0]|0;Tg=Se&255;Re=b[x>>0]|0;Ma=A;Xa=l;Pb=Pg;Qb=Ve&255;Rb=Rg;Sb=Te&255;Tb=Tg;Ub=Re&255;Og=f[q>>2]|0;Pg=f[234608+(Pg<<2)>>2]|0;Qg=f[t>>2]|0;Rg=f[234608+(Rg<<2)>>2]|0;Sg=f[w>>2]|0;Tg=f[234608+(Tg<<2)>>2]|0;Ug=f[m>>2]|0;l=24;break}case 2:{Qe=b[p>>0]|0;Wg=Qe&255;Pe=b[r>>0]|0;Oe=b[s>>0]|0;Yg=Oe&255;Ne=b[u>>0]|0;Me=b[v>>0]|0;_g=Me&255;Le=b[x>>0]|0;Ya=A;hb=l;Vb=Wg;Wb=Pe&255;Xb=Yg;Yb=Ne&255;Zb=_g;_b=Le&255;Vg=f[q>>2]|0;Wg=f[234608+(Wg<<2)>>2]|0;Xg=f[t>>2]|0;Yg=f[234608+(Yg<<2)>>2]|0;Zg=f[w>>2]|0;_g=f[234608+(_g<<2)>>2]|0;$g=f[m>>2]|0;l=25;break}case 1:{Ke=b[p>>0]|0;bh=Ke&255;Je=b[r>>0]|0;Ie=b[s>>0]|0;dh=Ie&255;He=b[u>>0]|0;Ge=b[v>>0]|0;fh=Ge&255;Fe=b[x>>0]|0;ib=A;sb=l;$b=bh;ac=Je&255;bc=dh;cc=He&255;dc=fh;ec=Fe&255;ah=f[q>>2]|0;bh=f[234608+(bh<<2)>>2]|0;ch=f[t>>2]|0;dh=f[234608+(dh<<2)>>2]|0;eh=f[w>>2]|0;fh=f[234608+(fh<<2)>>2]|0;gh=f[m>>2]|0;l=26;break}default:{l=27;break b}}while(1)if((l|0)==23){Pb=Bg&255;Ma=j[La>>1]|0;Qb=Dg&255;Rb=Fg&255;Sb=Hg&255;Tb=Jg&255;Ub=Lg&255;Xa=(h[Eg+((Cg&Ma)>>>Qb)>>0]|0)+o|0;Re=(h[Ig+((Gg&Ma)>>>Sb)>>0]|0)+g|0;Ma=(h[Mg+((Kg&Ma)>>>Ub)>>0]|0)+n|0;d[La>>1]=(Re>>>0<255?Re:255)>>>Rb<<Sb|(Xa>>>0<255?Xa:255)>>>Pb<<Qb|Ng|(Ma>>>0<255?Ma:255)>>>Tb<<Ub;Ma=Ea;Xa=La+2|0;Re=Lg;Se=Jg;Te=Hg;Ue=Fg;Ve=Dg;We=Bg;Og=Cg;Pg=Eg;Qg=Gg;Rg=Ig;Sg=Kg;Tg=Mg;Ug=Ng;l=24;continue}else if((l|0)==24){Ya=j[Xa>>1]|0;hb=(h[Pg+((Og&Ya)>>>Qb)>>0]|0)+o|0;Vb=(h[Rg+((Qg&Ya)>>>Sb)>>0]|0)+g|0;Ya=(h[Tg+((Sg&Ya)>>>Ub)>>0]|0)+n|0;d[Xa>>1]=(Vb>>>0<255?Vb:255)>>>Rb<<Sb|(hb>>>0<255?hb:255)>>>Pb<<Qb|Ug|(Ya>>>0<255?Ya:255)>>>Tb<<Ub;Ya=Ma;hb=Xa+2|0;Vb=Pb;Wb=Qb;Xb=Rb;Yb=Sb;Zb=Tb;_b=Ub;Le=Re;Me=Se;Ne=Te;Oe=Ue;Pe=Ve;Qe=We;Vg=Og;Wg=Pg;Xg=Qg;Yg=Rg;Zg=Sg;_g=Tg;$g=Ug;l=25;continue}else if((l|0)==25){ib=j[hb>>1]|0;sb=(h[Wg+((Vg&ib)>>>Wb)>>0]|0)+o|0;$b=(h[Yg+((Xg&ib)>>>Yb)>>0]|0)+g|0;ib=(h[_g+((Zg&ib)>>>_b)>>0]|0)+n|0;d[hb>>1]=($b>>>0<255?$b:255)>>>Xb<<Yb|(sb>>>0<255?sb:255)>>>Vb<<Wb|$g|(ib>>>0<255?ib:255)>>>Zb<<_b;ib=Ya;sb=hb+2|0;$b=Vb;ac=Wb;bc=Xb;cc=Yb;dc=Zb;ec=_b;Fe=Le;Ge=Me;He=Ne;Ie=Oe;Je=Pe;Ke=Qe;ah=Vg;bh=Wg;ch=Xg;dh=Yg;eh=Zg;fh=_g;gh=$g;l=26;continue}else if((l|0)==26){l=j[sb>>1]|0;ti=(h[bh+((ah&l)>>>ac)>>0]|0)+o|0;k=(h[dh+((ch&l)>>>cc)>>0]|0)+g|0;l=(h[fh+((eh&l)>>>ec)>>0]|0)+n|0;d[sb>>1]=(k>>>0<255?k:255)>>>bc<<cc|(ti>>>0<255?ti:255)>>>$b<<ac|gh|(l>>>0<255?l:255)>>>dc<<ec;l=sb+2|0;if((ib|0)>1){Ea=ib+-1|0;La=l;Bg=Ke;Cg=ah;Dg=Je;Eg=bh;Fg=Ie;Gg=ch;Hg=He;Ig=dh;Jg=Ge;Kg=eh;Lg=Fe;Mg=fh;Ng=gh;l=23;continue}else break}if(!e){ui=0;l=117;break}else l=l+(B<<1)|0}if((l|0)!=27)if((l|0)==117)return ui|0;break}case 4:{e=f[c+8>>2]|0;z=f[c+12>>2]|0;l=(f[a+16>>2]|0)/(m|0)|0;B=l-e|0;if(!z){ui=0;return ui|0}l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,l)|0)<<1)|0;A=(e+3|0)/4|0;y=e&255;p=ti+28|0;q=ti+12|0;r=ti+32|0;s=ti+29|0;t=ti+16|0;u=ti+33|0;v=ti+30|0;w=ti+20|0;x=ti+34|0;o=g&255;g=i&255;n=k&255;m=ti+24|0;l=l+(f[c>>2]<<1)|0;e=z;c:while(1){e=e+-1|0;switch(y&3){case 0:{lh=b[p>>0]|0;ph=b[s>>0]|0;th=b[v>>0]|0;Fa=A;Na=l;ih=lh;jh=f[q>>2]|0;kh=b[r>>0]|0;lh=f[234608+((lh&255)<<2)>>2]|0;mh=ph;nh=f[t>>2]|0;oh=b[u>>0]|0;ph=f[234608+((ph&255)<<2)>>2]|0;qh=th;rh=f[w>>2]|0;sh=b[x>>0]|0;th=f[234608+((th&255)<<2)>>2]|0;vh=f[m>>2]|0;l=36;break}case 3:{of=b[p>>0]|0;yh=of&255;nf=b[r>>0]|0;mf=b[s>>0]|0;Ah=mf&255;lf=b[u>>0]|0;kf=b[v>>0]|0;Ch=kf&255;jf=b[x>>0]|0;Oa=A;Za=l;fc=yh;gc=nf&255;hc=Ah;ic=lf&255;jc=Ch;kc=jf&255;xh=f[q>>2]|0;yh=f[234608+(yh<<2)>>2]|0;zh=f[t>>2]|0;Ah=f[234608+(Ah<<2)>>2]|0;Bh=f[w>>2]|0;Ch=f[234608+(Ch<<2)>>2]|0;Eh=f[m>>2]|0;l=37;break}case 2:{hf=b[p>>0]|0;Gh=hf&255;gf=b[r>>0]|0;ff=b[s>>0]|0;Ih=ff&255;ef=b[u>>0]|0;df=b[v>>0]|0;Kh=df&255;cf=b[x>>0]|0;_a=A;jb=l;lc=Gh;mc=gf&255;nc=Ih;oc=ef&255;pc=Kh;qc=cf&255;Fh=f[q>>2]|0;Gh=f[234608+(Gh<<2)>>2]|0;Hh=f[t>>2]|0;Ih=f[234608+(Ih<<2)>>2]|0;Jh=f[w>>2]|0;Kh=f[234608+(Kh<<2)>>2]|0;Mh=f[m>>2]|0;l=38;break}case 1:{bf=b[p>>0]|0;Oh=bf&255;af=b[r>>0]|0;_e=b[s>>0]|0;Rh=_e&255;Ze=b[u>>0]|0;Ye=b[v>>0]|0;Th=Ye&255;Xe=b[x>>0]|0;kb=A;tb=l;rc=Oh;sc=af&255;tc=Rh;uc=Ze&255;vc=Th;wc=Xe&255;Nh=f[q>>2]|0;Oh=f[234608+(Oh<<2)>>2]|0;Qh=f[t>>2]|0;Rh=f[234608+(Rh<<2)>>2]|0;Sh=f[w>>2]|0;Th=f[234608+(Th<<2)>>2]|0;Vh=f[m>>2]|0;l=39;break}default:{l=40;break c}}while(1)if((l|0)==36){fc=ih&255;Oa=j[Na>>1]|0;gc=kh&255;hc=mh&255;ic=oh&255;jc=qh&255;kc=sh&255;Oa=((((W(h[ph+((nh&Oa)>>>ic)>>0]|0,g)|0)>>>0)/255|0)>>>hc<<ic|(((W(h[lh+((jh&Oa)>>>gc)>>0]|0,o)|0)>>>0)/255|0)>>>fc<<gc|vh|(((W(h[th+((rh&Oa)>>>kc)>>0]|0,n)|0)>>>0)/255|0)>>>jc<<kc)&65535;d[Na>>1]=Oa;Oa=Fa;Za=Na+2|0;jf=sh;kf=qh;lf=oh;mf=mh;nf=kh;of=ih;xh=jh;yh=lh;zh=nh;Ah=ph;Bh=rh;Ch=th;Eh=vh;l=37;continue}else if((l|0)==37){_a=j[Za>>1]|0;_a=((((W(h[Ah+((zh&_a)>>>ic)>>0]|0,g)|0)>>>0)/255|0)>>>hc<<ic|(((W(h[yh+((xh&_a)>>>gc)>>0]|0,o)|0)>>>0)/255|0)>>>fc<<gc|Eh|(((W(h[Ch+((Bh&_a)>>>kc)>>0]|0,n)|0)>>>0)/255|0)>>>jc<<kc)&65535;d[Za>>1]=_a;_a=Oa;jb=Za+2|0;lc=fc;mc=gc;nc=hc;oc=ic;pc=jc;qc=kc;cf=jf;df=kf;ef=lf;ff=mf;gf=nf;hf=of;Fh=xh;Gh=yh;Hh=zh;Ih=Ah;Jh=Bh;Kh=Ch;Mh=Eh;l=38;continue}else if((l|0)==38){kb=j[jb>>1]|0;kb=((((W(h[Ih+((Hh&kb)>>>oc)>>0]|0,g)|0)>>>0)/255|0)>>>nc<<oc|(((W(h[Gh+((Fh&kb)>>>mc)>>0]|0,o)|0)>>>0)/255|0)>>>lc<<mc|Mh|(((W(h[Kh+((Jh&kb)>>>qc)>>0]|0,n)|0)>>>0)/255|0)>>>pc<<qc)&65535;d[jb>>1]=kb;kb=_a;tb=jb+2|0;rc=lc;sc=mc;tc=nc;uc=oc;vc=pc;wc=qc;Xe=cf;Ye=df;Ze=ef;_e=ff;af=gf;bf=hf;Nh=Fh;Oh=Gh;Qh=Hh;Rh=Ih;Sh=Jh;Th=Kh;Vh=Mh;l=39;continue}else if((l|0)==39){l=j[tb>>1]|0;l=((((W(h[Rh+((Qh&l)>>>uc)>>0]|0,g)|0)>>>0)/255|0)>>>tc<<uc|(((W(h[Oh+((Nh&l)>>>sc)>>0]|0,o)|0)>>>0)/255|0)>>>rc<<sc|Vh|(((W(h[Th+((Sh&l)>>>wc)>>0]|0,n)|0)>>>0)/255|0)>>>vc<<wc)&65535;d[tb>>1]=l;l=tb+2|0;if((kb|0)>1){Fa=kb+-1|0;Na=l;ih=bf;jh=Nh;kh=af;lh=Oh;mh=_e;nh=Qh;oh=Ze;ph=Rh;qh=Ye;rh=Sh;sh=Xe;th=Th;vh=Vh;l=36;continue}else break}if(!e){ui=0;l=117;break}else l=l+(B<<1)|0}if((l|0)!=40)if((l|0)==117)return ui|0;break}default:{e=f[c+8>>2]|0;si=f[c+12>>2]|0;l=(f[a+16>>2]|0)/(m|0)|0;y=l-e|0;l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,l)|0)<<1)|0;l=l+(f[c>>2]<<1)|0;m=si+-1|0;if(!si){ui=0;return ui|0}x=(e+3|0)/4|0;w=e&255;v=g&255;u=i&255;g=k&255;o=ti+28|0;p=ti+32|0;q=ti+29|0;r=ti+33|0;s=ti+30|0;t=ti+34|0;n=ti+24|0;if(!(w&3)){n=(u>>>(h[q>>0]|0)<<(h[r>>0]|0)|v>>>(h[o>>0]|0)<<(h[p>>0]|0)|f[n>>2]|g>>>(h[s>>0]|0)<<(h[t>>0]|0))&65535;while(1){e=x;while(1){d[l>>1]=n;d[l+2>>1]=n;d[l+4>>1]=n;d[l+6>>1]=n;l=l+8|0;if((e|0)<=1)break;else e=e+-1|0}if(!m){ui=0;break}else{l=l+(y<<1)|0;m=m+-1|0}}return ui|0}d:while(1){switch(w&3){case 1:{D=x;E=l;V=b[o>>0]|0;X=b[p>>0]|0;Y=b[q>>0]|0;Z=b[r>>0]|0;_=b[s>>0]|0;$=b[t>>0]|0;aa=f[n>>2]|0;l=56;break}case 3:{U=b[o>>0]|0;T=b[p>>0]|0;S=b[q>>0]|0;R=b[r>>0]|0;Q=b[s>>0]|0;P=b[t>>0]|0;O=f[n>>2]|0;z=x;A=l;F=(u>>>(S&255)<<(R&255)|v>>>(U&255)<<(T&255)|O|g>>>(Q&255)<<(P&255))&65535;l=54;break}case 2:{N=b[o>>0]|0;M=b[p>>0]|0;L=b[q>>0]|0;K=b[r>>0]|0;J=b[s>>0]|0;I=b[t>>0]|0;H=f[n>>2]|0;B=x;C=l;G=(u>>>(L&255)<<(K&255)|v>>>(N&255)<<(M&255)|H|g>>>(J&255)<<(I&255))&65535;l=55;break}default:{l=57;break d}}while(1)if((l|0)==54){d[A>>1]=F;B=z;C=A+2|0;G=F;H=O;I=P;J=Q;K=R;L=S;M=T;N=U;l=55;continue}else if((l|0)==55){d[C>>1]=G;D=B;E=C+2|0;V=N;X=M;Y=L;Z=K;_=J;$=I;aa=H;l=56;continue}else if((l|0)==56){l=(u>>>(Y&255)<<(Z&255)|v>>>(V&255)<<(X&255)|aa|g>>>(_&255)<<($&255))&65535;d[E>>1]=l;e=E+2|0;if((D|0)<=1)break;d[e>>1]=l;z=D+-1|0;A=E+4|0;F=l;O=aa;P=$;Q=_;R=Z;S=Y;T=X;U=V;l=54;continue}if(!m){ui=0;l=117;break}else{l=e+(y<<1)|0;m=m+-1|0}}if((l|0)!=57)if((l|0)==117)return ui|0}}break}case 4:{switch(e|0){case 1:{l=f[c+8>>2]|0;e=f[c+12>>2]|0;n=(f[a+16>>2]|0)/(m|0)|0;A=n-l|0;if(!e){ui=0;return ui|0}B=(l+3|0)/4|0;z=l&255;q=ti+28|0;r=ti+12|0;s=ti+32|0;t=ti+29|0;u=ti+16|0;v=ti+33|0;w=ti+30|0;x=ti+20|0;y=ti+34|0;p=g&255;o=i&255;g=k&255;m=ti+24|0;l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,n)|0)<<2)+(f[c>>2]<<2)|0;e:while(1){e=e+-1|0;switch(z&3){case 0:{bi=b[q>>0]|0;ei=b[t>>0]|0;hi=b[w>>0]|0;Ga=B;Pa=l;_h=bi;ai=b[s>>0]|0;bi=f[234608+((bi&255)<<2)>>2]|0;ci=ei;di=b[v>>0]|0;ei=f[234608+((ei&255)<<2)>>2]|0;fi=hi;gi=b[y>>0]|0;hi=f[234608+((hi&255)<<2)>>2]|0;l=67;break}case 3:{Hf=b[q>>0]|0;ii=Hf&255;Gf=b[s>>0]|0;Ff=b[t>>0]|0;ji=Ff&255;Ef=b[v>>0]|0;Df=b[w>>0]|0;ki=Df&255;Cf=b[y>>0]|0;Qa=B;$a=l;xc=ii;yc=Gf&255;zc=ji;Ac=Ef&255;Bc=ki;Cc=Cf&255;ii=f[234608+(ii<<2)>>2]|0;ji=f[234608+(ji<<2)>>2]|0;ki=f[234608+(ki<<2)>>2]|0;l=68;break}case 2:{Af=b[q>>0]|0;li=Af&255;zf=b[s>>0]|0;yf=b[t>>0]|0;mi=yf&255;xf=b[v>>0]|0;wf=b[w>>0]|0;ni=wf&255;vf=b[y>>0]|0;ab=B;lb=l;Dc=li;Ec=zf&255;Fc=mi;Gc=xf&255;Hc=ni;Ic=vf&255;li=f[234608+(li<<2)>>2]|0;mi=f[234608+(mi<<2)>>2]|0;ni=f[234608+(ni<<2)>>2]|0;l=69;break}case 1:{uf=b[q>>0]|0;oi=uf&255;tf=b[s>>0]|0;sf=b[t>>0]|0;pi=sf&255;rf=b[v>>0]|0;qf=b[w>>0]|0;qi=qf&255;pf=b[y>>0]|0;mb=B;ub=l;Jc=oi;Kc=tf&255;Lc=pi;Mc=rf&255;Nc=qi;Oc=pf&255;oi=f[234608+(oi<<2)>>2]|0;pi=f[234608+(pi<<2)>>2]|0;qi=f[234608+(qi<<2)>>2]|0;l=70;break}default:{l=71;break e}}while(1)if((l|0)==67){xc=_h&255;Qa=f[Pa>>2]|0;yc=ai&255;zc=ci&255;Ac=di&255;Bc=fi&255;Cc=gi&255;$a=((((W(h[ei+((f[u>>2]&Qa)>>>Ac)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>zc<<Ac|((((W(h[bi+((f[r>>2]&Qa)>>>yc)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>xc<<yc;Qa=((((W(h[hi+((f[x>>2]&Qa)>>>Cc)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Bc<<Cc;f[Pa>>2]=$a|f[m>>2]|Qa;Qa=Ga;$a=Pa+4|0;Cf=gi;Df=fi;Ef=di;Ff=ci;Gf=ai;Hf=_h;ii=bi;ji=ei;ki=hi;l=68;continue}else if((l|0)==68){ab=f[$a>>2]|0;lb=((((W(h[ji+((f[u>>2]&ab)>>>Ac)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>zc<<Ac|((((W(h[ii+((f[r>>2]&ab)>>>yc)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>xc<<yc;ab=((((W(h[ki+((f[x>>2]&ab)>>>Cc)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Bc<<Cc;f[$a>>2]=lb|f[m>>2]|ab;ab=Qa;lb=$a+4|0;Dc=xc;Ec=yc;Fc=zc;Gc=Ac;Hc=Bc;Ic=Cc;vf=Cf;wf=Df;xf=Ef;yf=Ff;zf=Gf;Af=Hf;li=ii;mi=ji;ni=ki;l=69;continue}else if((l|0)==69){mb=f[lb>>2]|0;ub=((((W(h[mi+((f[u>>2]&mb)>>>Gc)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>Fc<<Gc|((((W(h[li+((f[r>>2]&mb)>>>Ec)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>Dc<<Ec;mb=((((W(h[ni+((f[x>>2]&mb)>>>Ic)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Hc<<Ic;f[lb>>2]=ub|f[m>>2]|mb;mb=ab;ub=lb+4|0;Jc=Dc;Kc=Ec;Lc=Fc;Mc=Gc;Nc=Hc;Oc=Ic;pf=vf;qf=wf;rf=xf;sf=yf;tf=zf;uf=Af;oi=li;pi=mi;qi=ni;l=70;continue}else if((l|0)==70){l=f[ub>>2]|0;ti=((((W(h[pi+((f[u>>2]&l)>>>Mc)>>0]|0,si)|0)>>>0)/255|0)+o|0)>>>Lc<<Mc|((((W(h[oi+((f[r>>2]&l)>>>Kc)>>0]|0,si)|0)>>>0)/255|0)+p|0)>>>Jc<<Kc;l=((((W(h[qi+((f[x>>2]&l)>>>Oc)>>0]|0,si)|0)>>>0)/255|0)+g|0)>>>Nc<<Oc;f[ub>>2]=ti|f[m>>2]|l;l=ub+4|0;if((mb|0)>1){Ga=mb+-1|0;Pa=l;_h=uf;ai=tf;bi=oi;ci=sf;di=rf;ei=pi;fi=qf;gi=pf;hi=qi;l=67;continue}else break}if(!e){ui=0;l=117;break}else l=l+(A<<2)|0}if((l|0)!=71)if((l|0)==117)return ui|0;break}case 2:{e=f[c+8>>2]|0;z=f[c+12>>2]|0;l=(f[a+16>>2]|0)/(m|0)|0;B=l-e|0;if(!z){ui=0;return ui|0}l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,l)|0)<<2)|0;A=(e+3|0)/4|0;y=e&255;p=ti+28|0;q=ti+12|0;r=ti+32|0;s=ti+29|0;t=ti+16|0;u=ti+33|0;v=ti+30|0;w=ti+20|0;x=ti+34|0;o=g&255;g=i&255;n=k&255;m=ti+24|0;l=l+(f[c>>2]<<2)|0;e=z;f:while(1){e=e+-1|0;switch(y&3){case 0:{zd=b[p>>0]|0;Cd=b[s>>0]|0;Fd=b[v>>0]|0;Ha=A;Ra=l;xd=zd;yd=b[r>>0]|0;zd=f[234608+((zd&255)<<2)>>2]|0;Ad=Cd;Bd=b[u>>0]|0;Cd=f[234608+((Cd&255)<<2)>>2]|0;Dd=Fd;Ed=b[x>>0]|0;Fd=f[234608+((Fd&255)<<2)>>2]|0;l=80;break}case 3:{Zf=b[p>>0]|0;Hd=Zf&255;Yf=b[r>>0]|0;Xf=b[s>>0]|0;Id=Xf&255;Wf=b[u>>0]|0;Vf=b[v>>0]|0;Jd=Vf&255;Uf=b[x>>0]|0;Sa=A;bb=l;Pc=Hd;Qc=Yf&255;Rc=Id;Sc=Wf&255;Tc=Jd;Uc=Uf&255;Hd=f[234608+(Hd<<2)>>2]|0;Id=f[234608+(Id<<2)>>2]|0;Jd=f[234608+(Jd<<2)>>2]|0;l=81;break}case 2:{Tf=b[p>>0]|0;Ld=Tf&255;Sf=b[r>>0]|0;Rf=b[s>>0]|0;Md=Rf&255;Qf=b[u>>0]|0;Pf=b[v>>0]|0;Nd=Pf&255;Of=b[x>>0]|0;cb=A;nb=l;Vc=Ld;Wc=Sf&255;Xc=Md;Yc=Qf&255;Zc=Nd;_c=Of&255;Ld=f[234608+(Ld<<2)>>2]|0;Md=f[234608+(Md<<2)>>2]|0;Nd=f[234608+(Nd<<2)>>2]|0;l=82;break}case 1:{Nf=b[p>>0]|0;Pd=Nf&255;Mf=b[r>>0]|0;Lf=b[s>>0]|0;Qd=Lf&255;Kf=b[u>>0]|0;Jf=b[v>>0]|0;Rd=Jf&255;If=b[x>>0]|0;ob=A;vb=l;$c=Pd;ad=Mf&255;bd=Qd;cd=Kf&255;dd=Rd;ed=If&255;Pd=f[234608+(Pd<<2)>>2]|0;Qd=f[234608+(Qd<<2)>>2]|0;Rd=f[234608+(Rd<<2)>>2]|0;l=83;break}default:{l=84;break f}}while(1)if((l|0)==80){Pc=xd&255;Sa=f[Ra>>2]|0;Qc=yd&255;Rc=Ad&255;Sc=Bd&255;Tc=Dd&255;Uc=Ed&255;bb=(h[zd+((f[q>>2]&Sa)>>>Qc)>>0]|0)+o|0;Hd=(h[Cd+((f[t>>2]&Sa)>>>Sc)>>0]|0)+g|0;Sa=(h[Fd+((f[w>>2]&Sa)>>>Uc)>>0]|0)+n|0;f[Ra>>2]=(Hd>>>0<255?Hd:255)>>>Rc<<Sc|(bb>>>0<255?bb:255)>>>Pc<<Qc|f[m>>2]|(Sa>>>0<255?Sa:255)>>>Tc<<Uc;Sa=Ha;bb=Ra+4|0;Hd=zd;Id=Cd;Jd=Fd;Uf=Ed;Vf=Dd;Wf=Bd;Xf=Ad;Yf=yd;Zf=xd;l=81;continue}else if((l|0)==81){cb=f[bb>>2]|0;nb=(h[Hd+((f[q>>2]&cb)>>>Qc)>>0]|0)+o|0;Vc=(h[Id+((f[t>>2]&cb)>>>Sc)>>0]|0)+g|0;cb=(h[Jd+((f[w>>2]&cb)>>>Uc)>>0]|0)+n|0;f[bb>>2]=(Vc>>>0<255?Vc:255)>>>Rc<<Sc|(nb>>>0<255?nb:255)>>>Pc<<Qc|f[m>>2]|(cb>>>0<255?cb:255)>>>Tc<<Uc;cb=Sa;nb=bb+4|0;Vc=Pc;Wc=Qc;Xc=Rc;Yc=Sc;Zc=Tc;_c=Uc;Ld=Hd;Md=Id;Nd=Jd;Of=Uf;Pf=Vf;Qf=Wf;Rf=Xf;Sf=Yf;Tf=Zf;l=82;continue}else if((l|0)==82){ob=f[nb>>2]|0;vb=(h[Ld+((f[q>>2]&ob)>>>Wc)>>0]|0)+o|0;$c=(h[Md+((f[t>>2]&ob)>>>Yc)>>0]|0)+g|0;ob=(h[Nd+((f[w>>2]&ob)>>>_c)>>0]|0)+n|0;f[nb>>2]=($c>>>0<255?$c:255)>>>Xc<<Yc|(vb>>>0<255?vb:255)>>>Vc<<Wc|f[m>>2]|(ob>>>0<255?ob:255)>>>Zc<<_c;ob=cb;vb=nb+4|0;$c=Vc;ad=Wc;bd=Xc;cd=Yc;dd=Zc;ed=_c;Pd=Ld;Qd=Md;Rd=Nd;If=Of;Jf=Pf;Kf=Qf;Lf=Rf;Mf=Sf;Nf=Tf;l=83;continue}else if((l|0)==83){l=f[vb>>2]|0;ti=(h[Pd+((f[q>>2]&l)>>>ad)>>0]|0)+o|0;k=(h[Qd+((f[t>>2]&l)>>>cd)>>0]|0)+g|0;l=(h[Rd+((f[w>>2]&l)>>>ed)>>0]|0)+n|0;f[vb>>2]=(k>>>0<255?k:255)>>>bd<<cd|(ti>>>0<255?ti:255)>>>$c<<ad|f[m>>2]|(l>>>0<255?l:255)>>>dd<<ed;l=vb+4|0;if((ob|0)>1){Ha=ob+-1|0;Ra=l;xd=Nf;yd=Mf;zd=Pd;Ad=Lf;Bd=Kf;Cd=Qd;Dd=Jf;Ed=If;Fd=Rd;l=80;continue}else break}if(!e){ui=0;l=117;break}else l=l+(B<<2)|0}if((l|0)!=84)if((l|0)==117)return ui|0;break}case 4:{e=f[c+8>>2]|0;z=f[c+12>>2]|0;l=(f[a+16>>2]|0)/(m|0)|0;B=l-e|0;if(!z){ui=0;return ui|0}l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,l)|0)<<2)|0;A=(e+3|0)/4|0;y=e&255;p=ti+28|0;q=ti+12|0;r=ti+32|0;s=ti+29|0;t=ti+16|0;u=ti+33|0;v=ti+30|0;w=ti+20|0;x=ti+34|0;o=g&255;g=i&255;n=k&255;m=ti+24|0;l=l+(f[c>>2]<<2)|0;e=z;g:while(1){e=e+-1|0;switch(y&3){case 0:{Wd=b[p>>0]|0;_d=b[s>>0]|0;be=b[v>>0]|0;Ia=A;Ta=l;Ud=Wd;Vd=b[r>>0]|0;Wd=f[234608+((Wd&255)<<2)>>2]|0;Xd=_d;Yd=b[u>>0]|0;_d=f[234608+((_d&255)<<2)>>2]|0;$d=be;ae=b[x>>0]|0;be=f[234608+((be&255)<<2)>>2]|0;l=93;break}case 3:{qg=b[p>>0]|0;ce=qg&255;pg=b[r>>0]|0;og=b[s>>0]|0;de=og&255;ng=b[u>>0]|0;mg=b[v>>0]|0;ee=mg&255;lg=b[x>>0]|0;Ua=A;db=l;fd=ce;gd=pg&255;hd=de;id=ng&255;jd=ee;kd=lg&255;ce=f[234608+(ce<<2)>>2]|0;de=f[234608+(de<<2)>>2]|0;ee=f[234608+(ee<<2)>>2]|0;l=94;break}case 2:{kg=b[p>>0]|0;fe=kg&255;jg=b[r>>0]|0;ig=b[s>>0]|0;ge=ig&255;hg=b[u>>0]|0;gg=b[v>>0]|0;he=gg&255;fg=b[x>>0]|0;eb=A;pb=l;ld=fe;md=jg&255;nd=ge;od=hg&255;pd=he;qd=fg&255;fe=f[234608+(fe<<2)>>2]|0;ge=f[234608+(ge<<2)>>2]|0;he=f[234608+(he<<2)>>2]|0;l=95;break}case 1:{dg=b[p>>0]|0;ie=dg&255;cg=b[r>>0]|0;bg=b[s>>0]|0;je=bg&255;ag=b[u>>0]|0;$f=b[v>>0]|0;ke=$f&255;_f=b[x>>0]|0;qb=A;wb=l;rd=ie;sd=cg&255;td=je;ud=ag&255;vd=ke;wd=_f&255;ie=f[234608+(ie<<2)>>2]|0;je=f[234608+(je<<2)>>2]|0;ke=f[234608+(ke<<2)>>2]|0;l=96;break}default:{l=97;break g}}while(1)if((l|0)==93){fd=Ud&255;Ua=f[Ta>>2]|0;gd=Vd&255;hd=Xd&255;id=Yd&255;jd=$d&255;kd=ae&255;db=(((W(h[_d+((f[t>>2]&Ua)>>>id)>>0]|0,g)|0)>>>0)/255|0)>>>hd<<id|(((W(h[Wd+((f[q>>2]&Ua)>>>gd)>>0]|0,o)|0)>>>0)/255|0)>>>fd<<gd;Ua=(((W(h[be+((f[w>>2]&Ua)>>>kd)>>0]|0,n)|0)>>>0)/255|0)>>>jd<<kd;f[Ta>>2]=db|f[m>>2]|Ua;Ua=Ia;db=Ta+4|0;ce=Wd;de=_d;ee=be;lg=ae;mg=$d;ng=Yd;og=Xd;pg=Vd;qg=Ud;l=94;continue}else if((l|0)==94){eb=f[db>>2]|0;pb=(((W(h[de+((f[t>>2]&eb)>>>id)>>0]|0,g)|0)>>>0)/255|0)>>>hd<<id|(((W(h[ce+((f[q>>2]&eb)>>>gd)>>0]|0,o)|0)>>>0)/255|0)>>>fd<<gd;eb=(((W(h[ee+((f[w>>2]&eb)>>>kd)>>0]|0,n)|0)>>>0)/255|0)>>>jd<<kd;f[db>>2]=pb|f[m>>2]|eb;eb=Ua;pb=db+4|0;ld=fd;md=gd;nd=hd;od=id;pd=jd;qd=kd;fe=ce;ge=de;he=ee;fg=lg;gg=mg;hg=ng;ig=og;jg=pg;kg=qg;l=95;continue}else if((l|0)==95){qb=f[pb>>2]|0;wb=(((W(h[ge+((f[t>>2]&qb)>>>od)>>0]|0,g)|0)>>>0)/255|0)>>>nd<<od|(((W(h[fe+((f[q>>2]&qb)>>>md)>>0]|0,o)|0)>>>0)/255|0)>>>ld<<md;qb=(((W(h[he+((f[w>>2]&qb)>>>qd)>>0]|0,n)|0)>>>0)/255|0)>>>pd<<qd;f[pb>>2]=wb|f[m>>2]|qb;qb=eb;wb=pb+4|0;rd=ld;sd=md;td=nd;ud=od;vd=pd;wd=qd;ie=fe;je=ge;ke=he;_f=fg;$f=gg;ag=hg;bg=ig;cg=jg;dg=kg;l=96;continue}else if((l|0)==96){l=f[wb>>2]|0;ti=(((W(h[je+((f[t>>2]&l)>>>ud)>>0]|0,g)|0)>>>0)/255|0)>>>td<<ud|(((W(h[ie+((f[q>>2]&l)>>>sd)>>0]|0,o)|0)>>>0)/255|0)>>>rd<<sd;l=(((W(h[ke+((f[w>>2]&l)>>>wd)>>0]|0,n)|0)>>>0)/255|0)>>>vd<<wd;f[wb>>2]=ti|f[m>>2]|l;l=wb+4|0;if((qb|0)>1){Ia=qb+-1|0;Ta=l;Ud=dg;Vd=cg;Wd=ie;Xd=bg;Yd=ag;_d=je;$d=$f;ae=_f;be=ke;l=93;continue}else break}if(!e){ui=0;l=117;break}else l=l+(B<<2)|0}if((l|0)!=97)if((l|0)==117)return ui|0;break}default:{e=f[c+8>>2]|0;si=f[c+12>>2]|0;l=(f[a+16>>2]|0)/(m|0)|0;z=l-e|0;l=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,l)|0)<<2)|0;l=l+(f[c>>2]<<2)|0;m=si+-1|0;if(!si){ui=0;return ui|0}y=(e+3|0)/4|0;w=e&255;v=g&255;r=i&255;s=k&255;g=ti+28|0;o=ti+32|0;p=ti+29|0;q=ti+33|0;t=ti+30|0;u=ti+34|0;x=ti+24|0;if(!(w&3)){g=r>>>(h[p>>0]|0)<<(h[q>>0]|0)|v>>>(h[g>>0]|0)<<(h[o>>0]|0);n=s>>>(h[t>>0]|0)<<(h[u>>0]|0);while(1){e=y;while(1){f[l>>2]=g|f[x>>2]|n;f[l+4>>2]=g|f[x>>2]|n;f[l+8>>2]=g|f[x>>2]|n;f[l+12>>2]=g|f[x>>2]|n;l=l+16|0;if((e|0)<=1)break;else e=e+-1|0}if(!m){ui=0;break}else{l=l+(z<<2)|0;m=m+-1|0}}return ui|0}h:while(1){switch(w&3){case 1:{ea=y;ga=l;la=b[g>>0]|0;ma=b[o>>0]|0;na=b[p>>0]|0;oa=b[q>>0]|0;pa=b[t>>0]|0;qa=b[u>>0]|0;l=113;break}case 3:{Ca=b[g>>0]|0;Ba=b[o>>0]|0;Aa=b[p>>0]|0;za=b[q>>0]|0;ya=b[t>>0]|0;xa=b[u>>0]|0;ba=y;da=l;ha=r>>>(Aa&255)<<(za&255)|v>>>(Ca&255)<<(Ba&255);ia=s>>>(ya&255)<<(xa&255);l=111;break}case 2:{wa=b[g>>0]|0;va=b[o>>0]|0;ua=b[p>>0]|0;ta=b[q>>0]|0;sa=b[t>>0]|0;ra=b[u>>0]|0;ca=y;fa=l;ja=r>>>(ua&255)<<(ta&255)|v>>>(wa&255)<<(va&255);ka=s>>>(sa&255)<<(ra&255);l=112;break}default:{l=114;break h}}while(1)if((l|0)==111){f[da>>2]=ha|f[x>>2]|ia;ca=ba;fa=da+4|0;ja=ha;ka=ia;ra=xa;sa=ya;ta=za;ua=Aa;va=Ba;wa=Ca;l=112;continue}else if((l|0)==112){f[fa>>2]=ja|f[x>>2]|ka;ea=ca;ga=fa+4|0;la=wa;ma=va;na=ua;oa=ta;pa=sa;qa=ra;l=113;continue}else if((l|0)==113){l=r>>>(na&255)<<(oa&255)|v>>>(la&255)<<(ma&255);e=s>>>(pa&255)<<(qa&255);f[ga>>2]=l|f[x>>2]|e;n=ga+4|0;if((ea|0)<=1)break;f[n>>2]=l|f[x>>2]|e;ba=ea+-1|0;da=ga+8|0;ha=l;ia=e;xa=qa;ya=pa;za=oa;Aa=na;Ba=ma;Ca=la;l=111;continue}if(!m){ui=0;l=117;break}else{l=n+(z<<2)|0;m=m+-1|0}}if((l|0)!=114)if((l|0)==117)return ui|0}}break}default:{ui=Y4a(4)|0;return ui|0}}return 0}function xcb(a,c,d,e,g,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,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,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,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0;De=f[a+4>>2]|0;Ce=j&255;da=Ce^255;x=b[De+9>>0]|0;k=x&255;if(x<<24>>24!=4){Ee=Y4a(4)|0;return Ee|0}switch(d|0){case 1:{j=f[c+8>>2]|0;d=f[c+12>>2]|0;l=(f[a+16>>2]|0)/(k|0)|0;A=l-j|0;if(!d){Ee=0;return Ee|0}B=(j+3|0)/4|0;z=j&255;o=De+28|0;p=De+12|0;q=De+32|0;r=De+29|0;s=De+16|0;t=De+33|0;u=De+30|0;v=De+20|0;w=De+34|0;x=De+31|0;y=De+24|0;n=De+35|0;m=e&255;e=g&255;k=i&255;j=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,l)|0)<<2)+(f[c>>2]<<2)|0;a:while(1){d=d+-1|0;switch(z&3){case 0:{Kc=b[o>>0]|0;_c=b[r>>0]|0;gd=b[u>>0]|0;$d=b[x>>0]|0;ea=B;ha=j;Cc=Kc;Dc=b[q>>0]|0;Kc=f[234608+((Kc&255)<<2)>>2]|0;Rc=_c;Wc=b[t>>0]|0;_c=f[234608+((_c&255)<<2)>>2]|0;cd=gd;fd=b[w>>0]|0;gd=f[234608+((gd&255)<<2)>>2]|0;hd=$d;wd=b[n>>0]|0;$d=f[234608+(($d&255)<<2)>>2]|0;j=10;break}case 3:{Gd=b[o>>0]|0;Ub=Gd&255;Fd=b[q>>0]|0;Ed=b[r>>0]|0;Vb=Ed&255;Dd=b[t>>0]|0;Cd=b[u>>0]|0;Wb=Cd&255;Bd=b[w>>0]|0;Ad=b[x>>0]|0;Xb=Ad&255;zd=b[n>>0]|0;ia=B;na=j;Ca=Ub;Da=Fd&255;Ea=Vb;Fa=Dd&255;Ga=Wb;Ha=Bd&255;Ia=Xb;Ja=zd&255;Ub=f[234608+(Ub<<2)>>2]|0;Vb=f[234608+(Vb<<2)>>2]|0;Wb=f[234608+(Wb<<2)>>2]|0;Xb=f[234608+(Xb<<2)>>2]|0;j=11;break}case 2:{yd=b[o>>0]|0;Yb=yd&255;xd=b[q>>0]|0;vd=b[r>>0]|0;Zb=vd&255;ud=b[t>>0]|0;td=b[u>>0]|0;_b=td&255;sd=b[w>>0]|0;rd=b[x>>0]|0;$b=rd&255;qd=b[n>>0]|0;oa=B;ta=j;Ka=Yb;La=xd&255;Ma=Zb;Na=ud&255;Oa=_b;Pa=sd&255;Qa=$b;Ra=qd&255;Yb=f[234608+(Yb<<2)>>2]|0;Zb=f[234608+(Zb<<2)>>2]|0;_b=f[234608+(_b<<2)>>2]|0;$b=f[234608+($b<<2)>>2]|0;j=12;break}case 1:{pd=b[o>>0]|0;ac=pd&255;od=b[q>>0]|0;nd=b[r>>0]|0;bc=nd&255;md=b[t>>0]|0;ld=b[u>>0]|0;cc=ld&255;kd=b[w>>0]|0;jd=b[x>>0]|0;dc=jd&255;id=b[n>>0]|0;ua=B;za=j;Sa=ac;Ta=od&255;Ua=bc;Va=md&255;Wa=cc;Xa=kd&255;Ya=dc;Za=id&255;ac=f[234608+(ac<<2)>>2]|0;bc=f[234608+(bc<<2)>>2]|0;cc=f[234608+(cc<<2)>>2]|0;dc=f[234608+(dc<<2)>>2]|0;j=13;break}default:{j=14;break a}}while(1)if((j|0)==10){Ca=Cc&255;ia=f[ha>>2]|0;Da=Dc&255;Ea=Rc&255;Fa=Wc&255;Ga=cd&255;Ha=fd&255;Ia=hd&255;Ja=wd&255;ia=((((W(da,h[_c+((f[s>>2]&ia)>>>Fa)>>0]|0)|0)>>>0)/255|0)+e|0)>>>Ea<<Fa|((((W(da,h[Kc+((f[p>>2]&ia)>>>Da)>>0]|0)|0)>>>0)/255|0)+m|0)>>>Ca<<Da|((((W(da,h[gd+((f[v>>2]&ia)>>>Ha)>>0]|0)|0)>>>0)/255|0)+k|0)>>>Ga<<Ha|((((W(da,h[$d+((f[y>>2]&ia)>>>Ja)>>0]|0)|0)>>>0)/255|0)+Ce|0)>>>Ia<<Ja;f[ha>>2]=ia;ia=ea;na=ha+4|0;Ub=Kc;Vb=_c;Wb=gd;Xb=$d;zd=wd;Ad=hd;Bd=fd;Cd=cd;Dd=Wc;Ed=Rc;Fd=Dc;Gd=Cc;j=11;continue}else if((j|0)==11){oa=f[na>>2]|0;oa=((((W(da,h[Vb+((f[s>>2]&oa)>>>Fa)>>0]|0)|0)>>>0)/255|0)+e|0)>>>Ea<<Fa|((((W(da,h[Ub+((f[p>>2]&oa)>>>Da)>>0]|0)|0)>>>0)/255|0)+m|0)>>>Ca<<Da|((((W(da,h[Wb+((f[v>>2]&oa)>>>Ha)>>0]|0)|0)>>>0)/255|0)+k|0)>>>Ga<<Ha|((((W(da,h[Xb+((f[y>>2]&oa)>>>Ja)>>0]|0)|0)>>>0)/255|0)+Ce|0)>>>Ia<<Ja;f[na>>2]=oa;oa=ia;ta=na+4|0;Ka=Ca;La=Da;Ma=Ea;Na=Fa;Oa=Ga;Pa=Ha;Qa=Ia;Ra=Ja;Yb=Ub;Zb=Vb;_b=Wb;$b=Xb;qd=zd;rd=Ad;sd=Bd;td=Cd;ud=Dd;vd=Ed;xd=Fd;yd=Gd;j=12;continue}else if((j|0)==12){ua=f[ta>>2]|0;ua=((((W(da,h[Zb+((f[s>>2]&ua)>>>Na)>>0]|0)|0)>>>0)/255|0)+e|0)>>>Ma<<Na|((((W(da,h[Yb+((f[p>>2]&ua)>>>La)>>0]|0)|0)>>>0)/255|0)+m|0)>>>Ka<<La|((((W(da,h[_b+((f[v>>2]&ua)>>>Pa)>>0]|0)|0)>>>0)/255|0)+k|0)>>>Oa<<Pa|((((W(da,h[$b+((f[y>>2]&ua)>>>Ra)>>0]|0)|0)>>>0)/255|0)+Ce|0)>>>Qa<<Ra;f[ta>>2]=ua;ua=oa;za=ta+4|0;Sa=Ka;Ta=La;Ua=Ma;Va=Na;Wa=Oa;Xa=Pa;Ya=Qa;Za=Ra;ac=Yb;bc=Zb;cc=_b;dc=$b;id=qd;jd=rd;kd=sd;ld=td;md=ud;nd=vd;od=xd;pd=yd;j=13;continue}else if((j|0)==13){j=f[za>>2]|0;j=((((W(da,h[bc+((f[s>>2]&j)>>>Va)>>0]|0)|0)>>>0)/255|0)+e|0)>>>Ua<<Va|((((W(da,h[ac+((f[p>>2]&j)>>>Ta)>>0]|0)|0)>>>0)/255|0)+m|0)>>>Sa<<Ta|((((W(da,h[cc+((f[v>>2]&j)>>>Xa)>>0]|0)|0)>>>0)/255|0)+k|0)>>>Wa<<Xa|((((W(da,h[dc+((f[y>>2]&j)>>>Za)>>0]|0)|0)>>>0)/255|0)+Ce|0)>>>Ya<<Za;f[za>>2]=j;j=za+4|0;if((ua|0)>1){ea=ua+-1|0;ha=j;Cc=pd;Dc=od;Kc=ac;Rc=nd;Wc=md;_c=bc;cd=ld;fd=kd;gd=cc;hd=jd;wd=id;$d=dc;j=10;continue}else break}if(!d){Ee=0;j=60;break}else j=j+(A<<2)|0}if((j|0)!=14)if((j|0)==60)return Ee|0;break}case 2:{d=f[c+8>>2]|0;z=f[c+12>>2]|0;j=(f[a+16>>2]|0)/(k|0)|0;B=j-d|0;if(!z){Ee=0;return Ee|0}j=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,j)|0)<<2)|0;A=(d+3|0)/4|0;y=d&255;n=De+28|0;o=De+12|0;p=De+32|0;q=De+29|0;r=De+16|0;s=De+33|0;t=De+30|0;u=De+20|0;v=De+34|0;w=De+31|0;x=De+24|0;m=De+35|0;e=e&255;l=g&255;k=i&255;j=j+(f[c>>2]<<2)|0;d=z;b:while(1){d=d+-1|0;switch(y&3){case 0:{gc=b[n>>0]|0;jc=b[q>>0]|0;mc=b[t>>0]|0;pc=b[w>>0]|0;fa=A;ja=j;ec=gc;fc=b[p>>0]|0;gc=f[234608+((gc&255)<<2)>>2]|0;hc=jc;ic=b[s>>0]|0;jc=f[234608+((jc&255)<<2)>>2]|0;kc=mc;lc=b[v>>0]|0;mc=f[234608+((mc&255)<<2)>>2]|0;nc=pc;oc=b[m>>0]|0;pc=f[234608+((pc&255)<<2)>>2]|0;j=23;break}case 3:{de=b[n>>0]|0;qc=de&255;ce=b[p>>0]|0;be=b[q>>0]|0;rc=be&255;ae=b[s>>0]|0;_d=b[t>>0]|0;sc=_d&255;Zd=b[v>>0]|0;Yd=b[w>>0]|0;tc=Yd&255;Xd=b[m>>0]|0;ka=A;pa=j;_a=qc;$a=ce&255;ab=rc;bb=ae&255;cb=sc;db=Zd&255;eb=tc;fb=Xd&255;qc=f[234608+(qc<<2)>>2]|0;rc=f[234608+(rc<<2)>>2]|0;sc=f[234608+(sc<<2)>>2]|0;tc=f[234608+(tc<<2)>>2]|0;j=24;break}case 2:{Wd=b[n>>0]|0;uc=Wd&255;Vd=b[p>>0]|0;Ud=b[q>>0]|0;vc=Ud&255;Td=b[s>>0]|0;Sd=b[t>>0]|0;wc=Sd&255;Rd=b[v>>0]|0;Qd=b[w>>0]|0;xc=Qd&255;Pd=b[m>>0]|0;qa=A;va=j;gb=uc;hb=Vd&255;ib=vc;jb=Td&255;kb=wc;lb=Rd&255;mb=xc;nb=Pd&255;uc=f[234608+(uc<<2)>>2]|0;vc=f[234608+(vc<<2)>>2]|0;wc=f[234608+(wc<<2)>>2]|0;xc=f[234608+(xc<<2)>>2]|0;j=25;break}case 1:{Od=b[n>>0]|0;yc=Od&255;Nd=b[p>>0]|0;Md=b[q>>0]|0;zc=Md&255;Ld=b[s>>0]|0;Kd=b[t>>0]|0;Ac=Kd&255;Jd=b[v>>0]|0;Id=b[w>>0]|0;Bc=Id&255;Hd=b[m>>0]|0;wa=A;Aa=j;ob=yc;pb=Nd&255;qb=zc;rb=Ld&255;sb=Ac;tb=Jd&255;ub=Bc;vb=Hd&255;yc=f[234608+(yc<<2)>>2]|0;zc=f[234608+(zc<<2)>>2]|0;Ac=f[234608+(Ac<<2)>>2]|0;Bc=f[234608+(Bc<<2)>>2]|0;j=26;break}default:{j=27;break b}}while(1)if((j|0)==23){_a=ec&255;ka=f[ja>>2]|0;$a=fc&255;ab=hc&255;bb=ic&255;cb=kc&255;db=lc&255;eb=nc&255;fb=oc&255;qc=(h[gc+((f[o>>2]&ka)>>>$a)>>0]|0)+e|0;rc=(h[jc+((f[r>>2]&ka)>>>bb)>>0]|0)+l|0;pa=(h[mc+((f[u>>2]&ka)>>>db)>>0]|0)+k|0;f[ja>>2]=(rc>>>0<255?rc:255)>>>ab<<bb|(qc>>>0<255?qc:255)>>>_a<<$a|(pa>>>0<255?pa:255)>>>cb<<db|(h[pc+((f[x>>2]&ka)>>>fb)>>0]|0)>>>eb<<fb;ka=fa;pa=ja+4|0;qc=gc;rc=jc;sc=mc;tc=pc;Xd=oc;Yd=nc;Zd=lc;_d=kc;ae=ic;be=hc;ce=fc;de=ec;j=24;continue}else if((j|0)==24){qa=f[pa>>2]|0;gb=(h[qc+((f[o>>2]&qa)>>>$a)>>0]|0)+e|0;hb=(h[rc+((f[r>>2]&qa)>>>bb)>>0]|0)+l|0;va=(h[sc+((f[u>>2]&qa)>>>db)>>0]|0)+k|0;f[pa>>2]=(hb>>>0<255?hb:255)>>>ab<<bb|(gb>>>0<255?gb:255)>>>_a<<$a|(va>>>0<255?va:255)>>>cb<<db|(h[tc+((f[x>>2]&qa)>>>fb)>>0]|0)>>>eb<<fb;qa=ka;va=pa+4|0;gb=_a;hb=$a;ib=ab;jb=bb;kb=cb;lb=db;mb=eb;nb=fb;uc=qc;vc=rc;wc=sc;xc=tc;Pd=Xd;Qd=Yd;Rd=Zd;Sd=_d;Td=ae;Ud=be;Vd=ce;Wd=de;j=25;continue}else if((j|0)==25){wa=f[va>>2]|0;ob=(h[uc+((f[o>>2]&wa)>>>hb)>>0]|0)+e|0;pb=(h[vc+((f[r>>2]&wa)>>>jb)>>0]|0)+l|0;Aa=(h[wc+((f[u>>2]&wa)>>>lb)>>0]|0)+k|0;f[va>>2]=(pb>>>0<255?pb:255)>>>ib<<jb|(ob>>>0<255?ob:255)>>>gb<<hb|(Aa>>>0<255?Aa:255)>>>kb<<lb|(h[xc+((f[x>>2]&wa)>>>nb)>>0]|0)>>>mb<<nb;wa=qa;Aa=va+4|0;ob=gb;pb=hb;qb=ib;rb=jb;sb=kb;tb=lb;ub=mb;vb=nb;yc=uc;zc=vc;Ac=wc;Bc=xc;Hd=Pd;Id=Qd;Jd=Rd;Kd=Sd;Ld=Td;Md=Ud;Nd=Vd;Od=Wd;j=26;continue}else if((j|0)==26){j=f[Aa>>2]|0;De=(h[yc+((f[o>>2]&j)>>>pb)>>0]|0)+e|0;c=(h[zc+((f[r>>2]&j)>>>rb)>>0]|0)+l|0;i=(h[Ac+((f[u>>2]&j)>>>tb)>>0]|0)+k|0;f[Aa>>2]=(c>>>0<255?c:255)>>>qb<<rb|(De>>>0<255?De:255)>>>ob<<pb|(i>>>0<255?i:255)>>>sb<<tb|(h[Bc+((f[x>>2]&j)>>>vb)>>0]|0)>>>ub<<vb;j=Aa+4|0;if((wa|0)>1){fa=wa+-1|0;ja=j;ec=Od;fc=Nd;gc=yc;hc=Md;ic=Ld;jc=zc;kc=Kd;lc=Jd;mc=Ac;nc=Id;oc=Hd;pc=Bc;j=23;continue}else break}if(!d){Ee=0;j=60;break}else j=j+(B<<2)|0}if((j|0)!=27)if((j|0)==60)return Ee|0;break}case 4:{d=f[c+8>>2]|0;z=f[c+12>>2]|0;j=(f[a+16>>2]|0)/(k|0)|0;B=j-d|0;if(!z){Ee=0;return Ee|0}j=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,j)|0)<<2)|0;A=(d+3|0)/4|0;y=d&255;n=De+28|0;o=De+12|0;p=De+32|0;q=De+29|0;r=De+16|0;s=De+33|0;t=De+30|0;u=De+20|0;v=De+34|0;w=De+31|0;x=De+24|0;m=De+35|0;e=e&255;l=g&255;k=i&255;j=j+(f[c>>2]<<2)|0;d=z;c:while(1){d=d+-1|0;switch(y&3){case 0:{Gc=b[n>>0]|0;Jc=b[q>>0]|0;Nc=b[t>>0]|0;Qc=b[w>>0]|0;ga=A;la=j;Ec=Gc;Fc=b[p>>0]|0;Gc=f[234608+((Gc&255)<<2)>>2]|0;Hc=Jc;Ic=b[s>>0]|0;Jc=f[234608+((Jc&255)<<2)>>2]|0;Lc=Nc;Mc=b[v>>0]|0;Nc=f[234608+((Nc&255)<<2)>>2]|0;Oc=Qc;Pc=b[m>>0]|0;Qc=f[234608+((Qc&255)<<2)>>2]|0;j=36;break}case 3:{Be=b[n>>0]|0;Sc=Be&255;Ae=b[p>>0]|0;ze=b[q>>0]|0;Tc=ze&255;ye=b[s>>0]|0;xe=b[t>>0]|0;Uc=xe&255;we=b[v>>0]|0;ve=b[w>>0]|0;Vc=ve&255;ue=b[m>>0]|0;ma=A;ra=j;wb=Sc;xb=Ae&255;yb=Tc;zb=ye&255;Ab=Uc;Bb=we&255;Cb=Vc;Db=ue&255;Sc=f[234608+(Sc<<2)>>2]|0;Tc=f[234608+(Tc<<2)>>2]|0;Uc=f[234608+(Uc<<2)>>2]|0;Vc=f[234608+(Vc<<2)>>2]|0;j=37;break}case 2:{te=b[n>>0]|0;Xc=te&255;se=b[p>>0]|0;re=b[q>>0]|0;Yc=re&255;qe=b[s>>0]|0;pe=b[t>>0]|0;Zc=pe&255;oe=b[v>>0]|0;ne=b[w>>0]|0;$c=ne&255;me=b[m>>0]|0;sa=A;xa=j;Eb=Xc;Fb=se&255;Gb=Yc;Hb=qe&255;Ib=Zc;Jb=oe&255;Kb=$c;Lb=me&255;Xc=f[234608+(Xc<<2)>>2]|0;Yc=f[234608+(Yc<<2)>>2]|0;Zc=f[234608+(Zc<<2)>>2]|0;$c=f[234608+($c<<2)>>2]|0;j=38;break}case 1:{le=b[n>>0]|0;ad=le&255;ke=b[p>>0]|0;je=b[q>>0]|0;bd=je&255;ie=b[s>>0]|0;he=b[t>>0]|0;dd=he&255;ge=b[v>>0]|0;fe=b[w>>0]|0;ed=fe&255;ee=b[m>>0]|0;ya=A;Ba=j;Mb=ad;Nb=ke&255;Ob=bd;Pb=ie&255;Qb=dd;Rb=ge&255;Sb=ed;Tb=ee&255;ad=f[234608+(ad<<2)>>2]|0;bd=f[234608+(bd<<2)>>2]|0;dd=f[234608+(dd<<2)>>2]|0;ed=f[234608+(ed<<2)>>2]|0;j=39;break}default:{j=40;break c}}while(1)if((j|0)==36){wb=Ec&255;ma=f[la>>2]|0;xb=Fc&255;yb=Hc&255;zb=Ic&255;Ab=Lc&255;Bb=Mc&255;Cb=Oc&255;Db=Pc&255;ma=(((W(h[Jc+((f[r>>2]&ma)>>>zb)>>0]|0,l)|0)>>>0)/255|0)>>>yb<<zb|(((W(h[Gc+((f[o>>2]&ma)>>>xb)>>0]|0,e)|0)>>>0)/255|0)>>>wb<<xb|(((W(h[Nc+((f[u>>2]&ma)>>>Bb)>>0]|0,k)|0)>>>0)/255|0)>>>Ab<<Bb|(h[Qc+((f[x>>2]&ma)>>>Db)>>0]|0)>>>Cb<<Db;f[la>>2]=ma;ma=ga;ra=la+4|0;Sc=Gc;Tc=Jc;Uc=Nc;Vc=Qc;ue=Pc;ve=Oc;we=Mc;xe=Lc;ye=Ic;ze=Hc;Ae=Fc;Be=Ec;j=37;continue}else if((j|0)==37){sa=f[ra>>2]|0;sa=(((W(h[Tc+((f[r>>2]&sa)>>>zb)>>0]|0,l)|0)>>>0)/255|0)>>>yb<<zb|(((W(h[Sc+((f[o>>2]&sa)>>>xb)>>0]|0,e)|0)>>>0)/255|0)>>>wb<<xb|(((W(h[Uc+((f[u>>2]&sa)>>>Bb)>>0]|0,k)|0)>>>0)/255|0)>>>Ab<<Bb|(h[Vc+((f[x>>2]&sa)>>>Db)>>0]|0)>>>Cb<<Db;f[ra>>2]=sa;sa=ma;xa=ra+4|0;Eb=wb;Fb=xb;Gb=yb;Hb=zb;Ib=Ab;Jb=Bb;Kb=Cb;Lb=Db;Xc=Sc;Yc=Tc;Zc=Uc;$c=Vc;me=ue;ne=ve;oe=we;pe=xe;qe=ye;re=ze;se=Ae;te=Be;j=38;continue}else if((j|0)==38){ya=f[xa>>2]|0;ya=(((W(h[Yc+((f[r>>2]&ya)>>>Hb)>>0]|0,l)|0)>>>0)/255|0)>>>Gb<<Hb|(((W(h[Xc+((f[o>>2]&ya)>>>Fb)>>0]|0,e)|0)>>>0)/255|0)>>>Eb<<Fb|(((W(h[Zc+((f[u>>2]&ya)>>>Jb)>>0]|0,k)|0)>>>0)/255|0)>>>Ib<<Jb|(h[$c+((f[x>>2]&ya)>>>Lb)>>0]|0)>>>Kb<<Lb;f[xa>>2]=ya;ya=sa;Ba=xa+4|0;Mb=Eb;Nb=Fb;Ob=Gb;Pb=Hb;Qb=Ib;Rb=Jb;Sb=Kb;Tb=Lb;ad=Xc;bd=Yc;dd=Zc;ed=$c;ee=me;fe=ne;ge=oe;he=pe;ie=qe;je=re;ke=se;le=te;j=39;continue}else if((j|0)==39){j=f[Ba>>2]|0;j=(((W(h[bd+((f[r>>2]&j)>>>Pb)>>0]|0,l)|0)>>>0)/255|0)>>>Ob<<Pb|(((W(h[ad+((f[o>>2]&j)>>>Nb)>>0]|0,e)|0)>>>0)/255|0)>>>Mb<<Nb|(((W(h[dd+((f[u>>2]&j)>>>Rb)>>0]|0,k)|0)>>>0)/255|0)>>>Qb<<Rb|(h[ed+((f[x>>2]&j)>>>Tb)>>0]|0)>>>Sb<<Tb;f[Ba>>2]=j;j=Ba+4|0;if((ya|0)>1){ga=ya+-1|0;la=j;Ec=le;Fc=ke;Gc=ad;Hc=je;Ic=ie;Jc=bd;Lc=he;Mc=ge;Nc=dd;Oc=fe;Pc=ee;Qc=ed;j=36;continue}else break}if(!d){Ee=0;j=60;break}else j=j+(B<<2)|0}if((j|0)!=40)if((j|0)==60)return Ee|0;break}default:{d=f[c+8>>2]|0;Be=f[c+12>>2]|0;j=(f[a+16>>2]|0)/(k|0)|0;x=j-d|0;j=(f[a+20>>2]|0)+((W(f[c+4>>2]|0,j)|0)<<2)|0;j=j+(f[c>>2]<<2)|0;k=Be+-1|0;if(!Be){Ee=0;return Ee|0}w=(d+3|0)/4|0;v=d&255;u=e&255;t=g&255;e=i&255;m=De+28|0;n=De+32|0;o=De+29|0;p=De+33|0;q=De+30|0;r=De+34|0;s=De+31|0;l=De+35|0;if(!(v&3)){l=t>>>(h[o>>0]|0)<<(h[p>>0]|0)|u>>>(h[m>>0]|0)<<(h[n>>0]|0)|e>>>(h[q>>0]|0)<<(h[r>>0]|0)|Ce>>>(h[s>>0]|0)<<(h[l>>0]|0);while(1){d=w;while(1){f[j>>2]=l;f[j+4>>2]=l;f[j+8>>2]=l;f[j+12>>2]=l;j=j+16|0;if((d|0)<=1)break;else d=d+-1|0}if(!k){Ee=0;break}else{j=j+(x<<2)|0;k=k+-1|0}}return Ee|0}d:while(1){switch(v&3){case 1:{B=w;D=j;G=b[m>>0]|0;H=b[n>>0]|0;I=b[o>>0]|0;J=b[p>>0]|0;K=b[q>>0]|0;L=b[r>>0]|0;M=b[s>>0]|0;N=b[l>>0]|0;j=56;break}case 3:{ca=b[m>>0]|0;ba=b[n>>0]|0;aa=b[o>>0]|0;$=b[p>>0]|0;_=b[q>>0]|0;Z=b[r>>0]|0;Y=b[s>>0]|0;X=b[l>>0]|0;y=w;A=j;E=t>>>(aa&255)<<($&255)|u>>>(ca&255)<<(ba&255)|e>>>(_&255)<<(Z&255)|Ce>>>(Y&255)<<(X&255);j=54;break}case 2:{V=b[m>>0]|0;U=b[n>>0]|0;T=b[o>>0]|0;S=b[p>>0]|0;R=b[q>>0]|0;Q=b[r>>0]|0;P=b[s>>0]|0;O=b[l>>0]|0;z=w;C=j;F=t>>>(T&255)<<(S&255)|u>>>(V&255)<<(U&255)|e>>>(R&255)<<(Q&255)|Ce>>>(P&255)<<(O&255);j=55;break}default:{j=57;break d}}while(1)if((j|0)==54){f[A>>2]=E;z=y;C=A+4|0;F=E;O=X;P=Y;Q=Z;R=_;S=$;T=aa;U=ba;V=ca;j=55;continue}else if((j|0)==55){f[C>>2]=F;B=z;D=C+4|0;G=V;H=U;I=T;J=S;K=R;L=Q;M=P;N=O;j=56;continue}else if((j|0)==56){j=t>>>(I&255)<<(J&255)|u>>>(G&255)<<(H&255)|e>>>(K&255)<<(L&255)|Ce>>>(M&255)<<(N&255);f[D>>2]=j;d=D+4|0;if((B|0)<=1)break;f[d>>2]=j;y=B+-1|0;A=D+8|0;E=j;X=N;Y=M;Z=L;_=K;$=J;aa=I;ba=H;ca=G;j=54;continue}if(!k){Ee=0;j=60;break}else{j=d+(x<<2)|0;k=k+-1|0}}if((j|0)!=57)if((j|0)==60)return Ee|0}}return 0}function ycb(a,b,c,e,g,i,k){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,X=0,Y=0,Z=0,_=0,$=0;r=~k&255;switch(c|0){case 1:{k=f[b+8>>2]|0;c=f[b+12>>2]|0;l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=l-k|0;if(!c)return 0;q=(k+3|0)/4|0;o=k&255;n=e&255;m=g&255;e=i&255;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,l)|0)<<1)+(f[b>>2]<<1)|0;a:while(1){c=c+-1|0;switch(o&3){case 0:{s=q;u=k;Y=235104;k=6;break}case 3:{v=q;A=k;$=235104;k=7;break}case 2:{B=q;G=k;P=235104;k=8;break}case 1:{H=q;M=k;Q=235104;k=9;break}default:{k=10;break a}}while(1)if((k|0)==6){v=j[u>>1]|0;v=(((((W(h[Y+(v>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3<<5|((((W(h[Y+(v>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((W(h[Y+(v&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[u>>1]=v;v=s;A=u+2|0;$=Y;k=7;continue}else if((k|0)==7){B=j[A>>1]|0;B=(((((W(h[$+(B>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3<<5|((((W(h[$+(B>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((W(h[$+(B&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[A>>1]=B;B=v;G=A+2|0;P=$;k=8;continue}else if((k|0)==8){H=j[G>>1]|0;H=(((((W(h[P+(H>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3<<5|((((W(h[P+(H>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((W(h[P+(H&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[G>>1]=H;H=B;M=G+2|0;Q=P;k=9;continue}else if((k|0)==9){k=j[M>>1]|0;k=(((((W(h[Q+(k>>>5&31)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>3<<5|((((W(h[Q+(k>>>10&31)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<10|((((W(h[Q+(k&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[M>>1]=k;k=M+2|0;if((H|0)>1){s=H+-1|0;u=k;Y=Q;k=6;continue}else break}if(!c){k=53;break}else k=k+(p<<1)|0}if((k|0)!=10)if((k|0)==53)return 0;break}case 2:{l=f[b+8>>2]|0;c=f[b+12>>2]|0;k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!c)return 0;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;m=e&255;e=g&255;l=i&255;k=k+(f[b>>2]<<1)|0;b:while(1){c=c+-1|0;switch(n&3){case 0:{q=o;w=k;R=235104;k=16;break}case 3:{x=o;C=k;S=235104;k=17;break}case 2:{D=o;I=k;T=235104;k=18;break}case 1:{J=o;N=k;U=235104;k=19;break}default:{k=20;break b}}while(1)if((k|0)==16){x=j[w>>1]|0;C=(h[R+(x>>>10&31)>>0]|0)+m|0;S=(h[R+(x>>>5&31)>>0]|0)+e|0;x=(h[R+(x&31)>>0]|0)+l|0;d[w>>1]=(S>>>0<255?S:255)>>>3<<5|(C>>>0<255?C:255)>>>3<<10|(x>>>0<255?x:255)>>>3;x=q;C=w+2|0;S=R;k=17;continue}else if((k|0)==17){D=j[C>>1]|0;I=(h[S+(D>>>10&31)>>0]|0)+m|0;T=(h[S+(D>>>5&31)>>0]|0)+e|0;D=(h[S+(D&31)>>0]|0)+l|0;d[C>>1]=(T>>>0<255?T:255)>>>3<<5|(I>>>0<255?I:255)>>>3<<10|(D>>>0<255?D:255)>>>3;D=x;I=C+2|0;T=S;k=18;continue}else if((k|0)==18){J=j[I>>1]|0;N=(h[T+(J>>>10&31)>>0]|0)+m|0;U=(h[T+(J>>>5&31)>>0]|0)+e|0;J=(h[T+(J&31)>>0]|0)+l|0;d[I>>1]=(U>>>0<255?U:255)>>>3<<5|(N>>>0<255?N:255)>>>3<<10|(J>>>0<255?J:255)>>>3;J=D;N=I+2|0;U=T;k=19;continue}else if((k|0)==19){k=j[N>>1]|0;i=(h[U+(k>>>10&31)>>0]|0)+m|0;b=(h[U+(k>>>5&31)>>0]|0)+e|0;k=(h[U+(k&31)>>0]|0)+l|0;d[N>>1]=(b>>>0<255?b:255)>>>3<<5|(i>>>0<255?i:255)>>>3<<10|(k>>>0<255?k:255)>>>3;k=N+2|0;if((J|0)>1){q=J+-1|0;w=k;R=U;k=16;continue}else break}if(!c){k=53;break}else k=k+(p<<1)|0}if((k|0)!=20)if((k|0)==53)return 0;break}case 4:{l=f[b+8>>2]|0;c=f[b+12>>2]|0;k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!c)return 0;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;m=e&255;e=g&255;l=i&255;k=k+(f[b>>2]<<1)|0;c:while(1){c=c+-1|0;switch(n&3){case 0:{t=o;y=k;V=235104;k=26;break}case 3:{z=o;E=k;X=235104;k=27;break}case 2:{F=o;K=k;Z=235104;k=28;break}case 1:{L=o;O=k;_=235104;k=29;break}default:{k=30;break c}}while(1)if((k|0)==26){z=j[y>>1]|0;z=((((W(h[V+(z>>>5&31)>>0]|0,e)|0)>>>0)/255|0)>>>3<<5|(((W(h[V+(z>>>10&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<10|(((W(h[V+(z&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[y>>1]=z;z=t;E=y+2|0;X=V;k=27;continue}else if((k|0)==27){F=j[E>>1]|0;F=((((W(h[X+(F>>>5&31)>>0]|0,e)|0)>>>0)/255|0)>>>3<<5|(((W(h[X+(F>>>10&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<10|(((W(h[X+(F&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[E>>1]=F;F=z;K=E+2|0;Z=X;k=28;continue}else if((k|0)==28){L=j[K>>1]|0;L=((((W(h[Z+(L>>>5&31)>>0]|0,e)|0)>>>0)/255|0)>>>3<<5|(((W(h[Z+(L>>>10&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<10|(((W(h[Z+(L&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[K>>1]=L;L=F;O=K+2|0;_=Z;k=29;continue}else if((k|0)==29){k=j[O>>1]|0;k=((((W(h[_+(k>>>5&31)>>0]|0,e)|0)>>>0)/255|0)>>>3<<5|(((W(h[_+(k>>>10&31)>>0]|0,m)|0)>>>0)/255|0)>>>3<<10|(((W(h[_+(k&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[O>>1]=k;k=O+2|0;if((L|0)>1){t=L+-1|0;y=k;V=_;k=26;continue}else break}if(!c){k=53;break}else k=k+(p<<1)|0}if((k|0)!=30)if((k|0)==53)return 0;break}default:{c=f[b+8>>2]|0;$=f[b+12>>2]|0;k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=k-c|0;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,k)|0)<<1)|0;k=k+(f[b>>2]<<1)|0;l=$+-1|0;if(!$)return 0;o=(c+3|0)/4|0;n=((g&255)>>>3<<5|(e&255)>>>3<<10|(i&255)>>>3)&65535;switch(c&3){case 0:{while(1){c=o;while(1){d[k>>1]=n;d[k+2>>1]=n;d[k+4>>1]=n;d[k+6>>1]=n;k=k+8|0;if((c|0)<=1)break;else c=c+-1|0}if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 3:{m=(c|0)>4;while(1){d[k>>1]=n;d[k+2>>1]=n;d[k+4>>1]=n;c=k+6|0;if(m){e=o;while(1){d[c>>1]=n;c=k;k=k+8|0;d[k>>1]=n;d[c+10>>1]=n;d[c+12>>1]=n;c=c+14|0;if((e|0)<=2){k=c;break}else e=e+-1|0}}else k=c;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 2:{m=(c|0)>4;while(1){d[k>>1]=n;d[k+2>>1]=n;c=k+4|0;if(m){e=o;while(1){d[c>>1]=n;d[k+6>>1]=n;c=k;k=k+8|0;d[k>>1]=n;d[c+10>>1]=n;c=c+12|0;if((e|0)<=2){k=c;break}else e=e+-1|0}}else k=c;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}default:{m=(c|0)>4;while(1){d[k>>1]=n;c=k+2|0;if(m){e=o;while(1){d[c>>1]=n;d[k+4>>1]=n;d[k+6>>1]=n;c=k;k=k+8|0;d[k>>1]=n;c=c+10|0;if((e|0)<=2){k=c;break}else e=e+-1|0}}else k=c;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}}}}return 0}function zcb(a,b,c,e,g,i,k){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,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;r=~k&255;switch(c|0){case 1:{k=f[b+8>>2]|0;c=f[b+12>>2]|0;l=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=l-k|0;if(!c)return 0;q=(k+3|0)/4|0;o=k&255;n=e&255;m=g&255;e=i&255;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,l)|0)<<1)+(f[b>>2]<<1)|0;a:while(1){c=c+-1|0;switch(o&3){case 0:{s=q;u=k;da=235104;ia=235040;k=6;break}case 3:{v=q;A=k;ka=235104;la=235040;k=7;break}case 2:{B=q;G=k;P=235104;Q=235040;k=8;break}case 1:{H=q;M=k;R=235104;S=235040;k=9;break}default:{k=10;break a}}while(1)if((k|0)==6){v=j[u>>1]|0;v=(((((W(h[ia+(v>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>2<<5|((((W(h[da+(v>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((W(h[da+(v&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[u>>1]=v;v=s;A=u+2|0;ka=da;la=ia;k=7;continue}else if((k|0)==7){B=j[A>>1]|0;B=(((((W(h[la+(B>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>2<<5|((((W(h[ka+(B>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((W(h[ka+(B&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[A>>1]=B;B=v;G=A+2|0;P=ka;Q=la;k=8;continue}else if((k|0)==8){H=j[G>>1]|0;H=(((((W(h[Q+(H>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>2<<5|((((W(h[P+(H>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((W(h[P+(H&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[G>>1]=H;H=B;M=G+2|0;R=P;S=Q;k=9;continue}else if((k|0)==9){k=j[M>>1]|0;k=(((((W(h[S+(k>>>5&63)>>0]|0,r)|0)>>>0)/255|0)+m|0)>>>2<<5|((((W(h[R+(k>>>11)>>0]|0,r)|0)>>>0)/255|0)+n|0)>>>3<<11|((((W(h[R+(k&31)>>0]|0,r)|0)>>>0)/255|0)+e|0)>>>3)&65535;d[M>>1]=k;k=M+2|0;if((H|0)>1){s=H+-1|0;u=k;da=R;ia=S;k=6;continue}else break}if(!c){k=53;break}else k=k+(p<<1)|0}if((k|0)!=10)if((k|0)==53)return 0;break}case 2:{l=f[b+8>>2]|0;c=f[b+12>>2]|0;k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!c)return 0;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;m=e&255;e=g&255;l=i&255;k=k+(f[b>>2]<<1)|0;b:while(1){c=c+-1|0;switch(n&3){case 0:{q=o;w=k;T=235104;U=235040;k=16;break}case 3:{x=o;C=k;V=235104;X=235040;k=17;break}case 2:{D=o;I=k;Y=235104;Z=235040;k=18;break}case 1:{J=o;N=k;_=235104;$=235040;k=19;break}default:{k=20;break b}}while(1)if((k|0)==16){x=j[w>>1]|0;C=(h[T+(x>>>11)>>0]|0)+m|0;V=(h[U+(x>>>5&63)>>0]|0)+e|0;x=(h[T+(x&31)>>0]|0)+l|0;d[w>>1]=(V>>>0<255?V:255)>>>2<<5|(C>>>0<255?C:255)>>>3<<11|(x>>>0<255?x:255)>>>3;x=q;C=w+2|0;V=T;X=U;k=17;continue}else if((k|0)==17){D=j[C>>1]|0;I=(h[V+(D>>>11)>>0]|0)+m|0;Y=(h[X+(D>>>5&63)>>0]|0)+e|0;D=(h[V+(D&31)>>0]|0)+l|0;d[C>>1]=(Y>>>0<255?Y:255)>>>2<<5|(I>>>0<255?I:255)>>>3<<11|(D>>>0<255?D:255)>>>3;D=x;I=C+2|0;Y=V;Z=X;k=18;continue}else if((k|0)==18){J=j[I>>1]|0;N=(h[Y+(J>>>11)>>0]|0)+m|0;_=(h[Z+(J>>>5&63)>>0]|0)+e|0;J=(h[Y+(J&31)>>0]|0)+l|0;d[I>>1]=(_>>>0<255?_:255)>>>2<<5|(N>>>0<255?N:255)>>>3<<11|(J>>>0<255?J:255)>>>3;J=D;N=I+2|0;_=Y;$=Z;k=19;continue}else if((k|0)==19){k=j[N>>1]|0;i=(h[_+(k>>>11)>>0]|0)+m|0;b=(h[$+(k>>>5&63)>>0]|0)+e|0;k=(h[_+(k&31)>>0]|0)+l|0;d[N>>1]=(b>>>0<255?b:255)>>>2<<5|(i>>>0<255?i:255)>>>3<<11|(k>>>0<255?k:255)>>>3;k=N+2|0;if((J|0)>1){q=J+-1|0;w=k;T=_;U=$;k=16;continue}else break}if(!c){k=53;break}else k=k+(p<<1)|0}if((k|0)!=20)if((k|0)==53)return 0;break}case 4:{l=f[b+8>>2]|0;c=f[b+12>>2]|0;k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=k-l|0;if(!c)return 0;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,k)|0)<<1)|0;o=(l+3|0)/4|0;n=l&255;m=e&255;e=g&255;l=i&255;k=k+(f[b>>2]<<1)|0;c:while(1){c=c+-1|0;switch(n&3){case 0:{t=o;y=k;aa=235104;ba=235040;k=26;break}case 3:{z=o;E=k;ca=235104;ea=235040;k=27;break}case 2:{F=o;K=k;fa=235104;ga=235040;k=28;break}case 1:{L=o;O=k;ha=235104;ja=235040;k=29;break}default:{k=30;break c}}while(1)if((k|0)==26){z=j[y>>1]|0;z=((((W(h[ba+(z>>>5&63)>>0]|0,e)|0)>>>0)/255|0)>>>2<<5|(((W(h[aa+(z>>>11)>>0]|0,m)|0)>>>0)/255|0)>>>3<<11|(((W(h[aa+(z&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[y>>1]=z;z=t;E=y+2|0;ca=aa;ea=ba;k=27;continue}else if((k|0)==27){F=j[E>>1]|0;F=((((W(h[ea+(F>>>5&63)>>0]|0,e)|0)>>>0)/255|0)>>>2<<5|(((W(h[ca+(F>>>11)>>0]|0,m)|0)>>>0)/255|0)>>>3<<11|(((W(h[ca+(F&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[E>>1]=F;F=z;K=E+2|0;fa=ca;ga=ea;k=28;continue}else if((k|0)==28){L=j[K>>1]|0;L=((((W(h[ga+(L>>>5&63)>>0]|0,e)|0)>>>0)/255|0)>>>2<<5|(((W(h[fa+(L>>>11)>>0]|0,m)|0)>>>0)/255|0)>>>3<<11|(((W(h[fa+(L&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[K>>1]=L;L=F;O=K+2|0;ha=fa;ja=ga;k=29;continue}else if((k|0)==29){k=j[O>>1]|0;k=((((W(h[ja+(k>>>5&63)>>0]|0,e)|0)>>>0)/255|0)>>>2<<5|(((W(h[ha+(k>>>11)>>0]|0,m)|0)>>>0)/255|0)>>>3<<11|(((W(h[ha+(k&31)>>0]|0,l)|0)>>>0)/255|0)>>>3)&65535;d[O>>1]=k;k=O+2|0;if((L|0)>1){t=L+-1|0;y=k;aa=ha;ba=ja;k=26;continue}else break}if(!c){k=53;break}else k=k+(p<<1)|0}if((k|0)!=30)if((k|0)==53)return 0;break}default:{c=f[b+8>>2]|0;la=f[b+12>>2]|0;k=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;p=k-c|0;k=(f[a+20>>2]|0)+((W(f[b+4>>2]|0,k)|0)<<1)|0;k=k+(f[b>>2]<<1)|0;l=la+-1|0;if(!la)return 0;o=(c+3|0)/4|0;n=((g&255)>>>2<<5|(e&255)>>>3<<11|(i&255)>>>3)&65535;switch(c&3){case 0:{while(1){c=o;while(1){d[k>>1]=n;d[k+2>>1]=n;d[k+4>>1]=n;d[k+6>>1]=n;k=k+8|0;if((c|0)<=1)break;else c=c+-1|0}if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 3:{m=(c|0)>4;while(1){d[k>>1]=n;d[k+2>>1]=n;d[k+4>>1]=n;c=k+6|0;if(m){e=o;while(1){d[c>>1]=n;c=k;k=k+8|0;d[k>>1]=n;d[c+10>>1]=n;d[c+12>>1]=n;c=c+14|0;if((e|0)<=2){k=c;break}else e=e+-1|0}}else k=c;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}case 2:{m=(c|0)>4;while(1){d[k>>1]=n;d[k+2>>1]=n;c=k+4|0;if(m){e=o;while(1){d[c>>1]=n;d[k+6>>1]=n;c=k;k=k+8|0;d[k>>1]=n;d[c+10>>1]=n;c=c+12|0;if((e|0)<=2){k=c;break}else e=e+-1|0}}else k=c;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}default:{m=(c|0)>4;while(1){d[k>>1]=n;c=k+2|0;if(m){e=o;while(1){d[c>>1]=n;d[k+4>>1]=n;d[k+6>>1]=n;c=k;k=k+8|0;d[k>>1]=n;c=c+10|0;if((e|0)<=2){k=c;break}else e=e+-1|0}}else k=c;if(!l)break;else{k=k+(p<<1)|0;l=l+-1|0}}return 0}}}}return 0}function Acb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=u;u=u+32|0;i=s+8|0;o=s+24|0;p=s+20|0;q=s+16|0;r=s+12|0;if(!a){e=c5a(462018,s)|0;u=s;return e|0}g=f[a+4>>2]|0;switch(b[g+9>>0]|0){case 1:{if((h[g+8>>0]|0)<8)j=6;else n=5;break}case 2:{n=4;break}case 4:{n=6;break}default:j=6}if((j|0)==6){e=c5a(462067,i)|0;u=s;return e|0}if((d|0)>1){k=a+36|0;j=1;do{g=j+-1|0;f[o>>2]=f[c+(g<<3)>>2];f[p>>2]=f[c+(g<<3)+4>>2];g=c+(j<<3)|0;f[q>>2]=f[g>>2];i=c+(j<<3)+4|0;f[r>>2]=f[i>>2];if(Jcb(k,o,p,q,r)|0){l=f[q>>2]|0;m=f[r>>2]|0;if((l|0)==(f[g>>2]|0))g=(m|0)!=(f[i>>2]|0);else g=1;Mj[n&15](a,f[o>>2]|0,f[p>>2]|0,l,m,e,g&1)}j=j+1|0}while((j|0)!=(d|0))}g=d+-1|0;i=f[c+(g<<3)>>2]|0;if((f[c>>2]|0)==(i|0)){g=f[c+(g<<3)+4>>2]|0;if((f[c+4>>2]|0)==(g|0)){e=0;u=s;return e|0}}else g=f[c+(g<<3)+4>>2]|0;Ucb(a,i,g,e)|0;e=0;u=s;return e|0}function Bcb(a,c,d,e,g,h,i,j){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var 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;t=w+24|0;v=w+20|0;r=w+16|0;s=w+12|0;if(!a){j=c5a(461861,w)|0;u=w;return j|0}k=f[a+4>>2]|0;a:do switch(b[k+9>>0]|0){case 2:{m=f[k+12>>2]|0;m=(m|0)==31744?4:(m|0)==63488?3:2;break}case 4:{l=(f[k+24>>2]|0)!=0;if((f[k+12>>2]|0)==16711680){m=l?6:5;break a}else{m=l?8:7;break a}}default:{j=c5a(461911,w+8|0)|0;u=w;return j|0}}while(0);if((d|0)>1){o=a+36|0;n=1;do{k=n+-1|0;f[t>>2]=f[c+(k<<3)>>2];f[v>>2]=f[c+(k<<3)+4>>2];k=c+(n<<3)|0;f[r>>2]=f[k>>2];l=c+(n<<3)+4|0;f[s>>2]=f[l>>2];if(Jcb(o,t,v,r,s)|0){p=f[r>>2]|0;q=f[s>>2]|0;if((p|0)==(f[k>>2]|0))k=(q|0)!=(f[l>>2]|0);else k=1;Qj[m&15](a,f[t>>2]|0,f[v>>2]|0,p,q,e,g,h,i,j,k&1)}n=n+1|0}while((n|0)!=(d|0))}k=d+-1|0;l=f[c+(k<<3)>>2]|0;if((f[c>>2]|0)==(l|0)){k=f[c+(k<<3)+4>>2]|0;if((f[c+4>>2]|0)==(k|0)){j=0;u=w;return j|0}}else k=f[c+(k<<3)+4>>2]|0;Kcb(a,l,k,e,g,h,i,j)|0;j=0;u=w;return j|0}function Ccb(a,b,c,e,g,i,k,l,m,n,o){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;k=k&255;if((i+-1|0)>>>0<2){w=n&255;z=((W(w,k)|0)>>>0)/255|0;y=((W(w,l&255)|0)>>>0)/255|0;x=((W(w,m&255)|0)>>>0)/255|0;k=w}else{z=k;y=l&255;x=m&255;k=n&255}w=k^255;if((g|0)==(c|0))switch(i|0){case 1:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=(((((W(w,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)+y|0)>>>2<<5|((((W(w,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<11|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+2|0}return}case 2:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;b=z+(h[235104+(o>>>11)>>0]|0)|0;a=y+(h[235040+(o>>>5&63)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[k>>1]=(a>>>0<255?a:255)>>>2<<5|(b>>>0<255?b:255)>>>3<<11|(o>>>0<255?o:255)>>>3;if(!l)break;else k=k+2|0}return}case 4:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=((((W(y,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)>>>2<<5|(((W(z,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)>>>3<<11|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+2|0}return}default:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;m=(y>>>2<<5|x>>>3|z>>>3<<11)&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+2|0}return}}if((e|0)==(b|0))switch(i|0){case 1:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=(((((W(w,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)+y|0)>>>2<<5|((((W(w,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<11|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(n<<1)|0}return}case 2:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;b=z+(h[235104+(o>>>11)>>0]|0)|0;a=y+(h[235040+(o>>>5&63)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[k>>1]=(a>>>0<255?a:255)>>>2<<5|(b>>>0<255?b:255)>>>3<<11|(o>>>0<255?o:255)>>>3;if(!l)break;else k=k+(n<<1)|0}return}case 4:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=((((W(y,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)>>>2<<5|(((W(z,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)>>>3<<11|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(n<<1)|0}return}default:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;m=(y>>>2<<5|x>>>3|z>>>3<<11)&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}v=b-e|0;l=c-g|0;if((((v|0)<0?0-v|0:v)|0)==(((l|0)<0?0-l|0:l)|0))switch(i|0){case 1:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;m=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(m<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;m=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=(((((W(w,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)+y|0)>>>2<<5|((((W(w,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<11|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(m<<1)|0}return}case 2:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;m=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(m<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;m=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;b=z+(h[235104+(o>>>11)>>0]|0)|0;a=y+(h[235040+(o>>>5&63)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[k>>1]=(a>>>0<255?a:255)>>>2<<5|(b>>>0<255?b:255)>>>3<<11|(o>>>0<255?o:255)>>>3;if(!l)break;else k=k+(m<<1)|0}return}case 4:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;m=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(m<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;m=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=((((W(y,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)>>>2<<5|(((W(z,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)>>>3<<11|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(m<<1)|0}return}default:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;n=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(n<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;n=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;m=(y>>>2<<5|x>>>3|z>>>3<<11)&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}else switch(i|0){case 1:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;i=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;i=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(e|0)<(b|0);r=s?0-n|0:n;s=s?-1:1;e=(g|0)<(c|0);q=e?0-i|0:i;e=e?-1:1;g=k+((o|0)!=0&1)|0;if((g|0)<=0)return;p=f[a+20>>2]|0;i=f[a+16>>2]|0;m=b;n=0;k=u;while(1){l=p+(W(i,c)|0)+(m<<1)|0;o=j[l>>1]|0;o=(((((W(w,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)+y|0)>>>2<<5|((((W(w,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<11|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[l>>1]=o;l=(k|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{c=c+(l?q:e)|0;m=(l?r:s)+m|0;k=(l?v:t)+k|0}}return}case 2:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;i=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;i=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(e|0)<(b|0);r=s?0-n|0:n;s=s?-1:1;e=(g|0)<(c|0);q=e?0-i|0:i;e=e?-1:1;g=k+((o|0)!=0&1)|0;if((g|0)<=0)return;p=f[a+20>>2]|0;i=f[a+16>>2]|0;m=b;n=0;k=u;while(1){l=p+(W(i,c)|0)+(m<<1)|0;o=j[l>>1]|0;b=z+(h[235104+(o>>>11)>>0]|0)|0;a=y+(h[235040+(o>>>5&63)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[l>>1]=(a>>>0<255?a:255)>>>2<<5|(b>>>0<255?b:255)>>>3<<11|(o>>>0<255?o:255)>>>3;l=(k|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{c=c+(l?q:e)|0;m=(l?r:s)+m|0;k=(l?v:t)+k|0}}return}case 4:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;i=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;i=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(e|0)<(b|0);r=s?0-n|0:n;s=s?-1:1;e=(g|0)<(c|0);q=e?0-i|0:i;e=e?-1:1;g=k+((o|0)!=0&1)|0;if((g|0)<=0)return;p=f[a+20>>2]|0;i=f[a+16>>2]|0;m=b;n=0;k=u;while(1){l=p+(W(i,c)|0)+(m<<1)|0;o=j[l>>1]|0;o=((((W(y,h[235040+(o>>>5&63)>>0]|0)|0)>>>0)/255|0)>>>2<<5|(((W(z,h[235104+(o>>>11)>>0]|0)|0)>>>0)/255|0)>>>3<<11|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[l>>1]=o;l=(k|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{c=c+(l?q:e)|0;m=(l?r:s)+m|0;k=(l?v:t)+k|0}}return}default:{l=e-b|0;l=(l|0)<0?0-l|0:l;m=g-c|0;m=(m|0)<0?0-m|0:m;if((l|0)<(m|0)){k=l<<1;p=1;i=0;n=l-m|0;v=k;k=k-m|0;l=m}else{k=m<<1;p=0;i=1;n=m-l|0;v=k;k=k-l|0}u=n<<1;t=(e|0)<(b|0);s=t?0-i|0:i;t=t?-1:1;q=(g|0)<(c|0);r=q?0-p|0:p;q=q?-1:1;e=l+((o|0)!=0&1)|0;if((e|0)<=0)return;g=f[a+20>>2]|0;p=f[a+16>>2]|0;i=(y>>>2<<5|x>>>3|z>>>3<<11)&65535;m=b;n=0;while(1){l=g+(W(p,c)|0)+(m<<1)|0;d[l>>1]=i;l=(k|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{c=c+(l?r:q)|0;m=(l?s:t)+m|0;k=(l?v:u)+k|0}}return}}}function Dcb(a,b,c,e,g,i,k,l,m,n,o){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;I=f[a+4>>2]|0;k=k&255;if((i+-1|0)>>>0<2){H=n&255;L=((W(H,k)|0)>>>0)/255|0;K=((W(H,l&255)|0)>>>0)/255|0;J=((W(H,m&255)|0)>>>0)/255|0;k=H}else{L=k;K=l&255;J=m&255;k=n&255}H=k^255;if((g|0)==(c|0))switch(i|0){case 1:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){a=k+(e<<1)|0;k=(o|0)!=0;a=k?a:a+2|0;l=b-e|0}else{a=k+(b<<1)|0;l=e-b|0;k=(o|0)!=0}l=l+(k&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=j[k>>1]|0;I=(((((W(H,h[e+((q&I)>>>v)>>0]|0)|0)>>>0)/255|0)+K|0)>>>c<<v|((((W(H,h[p+((g&I)>>>u)>>0]|0)|0)>>>0)/255|0)+L|0)>>>n<<u|t|((((W(H,h[r+((s&I)>>>m)>>0]|0)|0)>>>0)/255|0)+J|0)>>>i<<m)&65535;d[k>>1]=I;if(!l)break;else k=k+2|0}return}case 2:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){a=k+(e<<1)|0;k=(o|0)!=0;a=k?a:a+2|0;l=b-e|0}else{a=k+(b<<1)|0;l=e-b|0;k=(o|0)!=0}l=l+(k&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=j[k>>1]|0;b=L+(h[p+((g&I)>>>u)>>0]|0)|0;H=K+(h[e+((q&I)>>>v)>>0]|0)|0;I=J+(h[r+((s&I)>>>m)>>0]|0)|0;d[k>>1]=(H>>>0<255?H:255)>>>c<<v|(b>>>0<255?b:255)>>>n<<u|t|(I>>>0<255?I:255)>>>i<<m;if(!l)break;else k=k+2|0}return}case 4:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){a=k+(e<<1)|0;k=(o|0)!=0;a=k?a:a+2|0;l=b-e|0}else{a=k+(b<<1)|0;l=e-b|0;k=(o|0)!=0}l=l+(k&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=j[k>>1]|0;I=((((W(K,h[e+((q&I)>>>v)>>0]|0)|0)>>>0)/255|0)>>>c<<v|(((W(L,h[p+((g&I)>>>u)>>0]|0)|0)>>>0)/255|0)>>>n<<u|t|(((W(J,h[r+((s&I)>>>m)>>0]|0)|0)>>>0)/255|0)>>>i<<m)&65535;d[k>>1]=I;if(!l)break;else k=k+2|0}return}default:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;m=(K>>>(h[I+29>>0]|0)<<(h[I+33>>0]|0)|L>>>(h[I+28>>0]|0)<<(h[I+32>>0]|0)|f[I+24>>2]|J>>>(h[I+30>>0]|0)<<(h[I+34>>0]|0))&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+2|0}return}}if((e|0)==(b|0))switch(i|0){case 1:{w=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){a=k+((W(w,g)|0)<<1)+(e<<1)|0;k=(o|0)!=0;a=k?a:a+(w<<1)|0;l=c-g|0}else{a=k+((W(w,c)|0)<<1)+(e<<1)|0;l=g-c|0;k=(o|0)!=0}l=l+(k&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=j[k>>1]|0;I=(((((W(H,h[e+((q&I)>>>v)>>0]|0)|0)>>>0)/255|0)+K|0)>>>c<<v|((((W(H,h[p+((g&I)>>>u)>>0]|0)|0)>>>0)/255|0)+L|0)>>>n<<u|t|((((W(H,h[r+((s&I)>>>m)>>0]|0)|0)>>>0)/255|0)+J|0)>>>i<<m)&65535;d[k>>1]=I;if(!l)break;else k=k+(w<<1)|0}return}case 2:{w=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){a=k+((W(w,g)|0)<<1)+(e<<1)|0;k=(o|0)!=0;a=k?a:a+(w<<1)|0;l=c-g|0}else{a=k+((W(w,c)|0)<<1)+(e<<1)|0;l=g-c|0;k=(o|0)!=0}l=l+(k&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=j[k>>1]|0;b=L+(h[p+((g&I)>>>u)>>0]|0)|0;H=K+(h[e+((q&I)>>>v)>>0]|0)|0;I=J+(h[r+((s&I)>>>m)>>0]|0)|0;d[k>>1]=(H>>>0<255?H:255)>>>c<<v|(b>>>0<255?b:255)>>>n<<u|t|(I>>>0<255?I:255)>>>i<<m;if(!l)break;else k=k+(w<<1)|0}return}case 4:{w=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){a=k+((W(w,g)|0)<<1)+(e<<1)|0;k=(o|0)!=0;a=k?a:a+(w<<1)|0;l=c-g|0}else{a=k+((W(w,c)|0)<<1)+(e<<1)|0;l=g-c|0;k=(o|0)!=0}l=l+(k&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=a;while(1){l=l+-1|0;I=j[k>>1]|0;I=((((W(K,h[e+((q&I)>>>v)>>0]|0)|0)>>>0)/255|0)>>>c<<v|(((W(L,h[p+((g&I)>>>u)>>0]|0)|0)>>>0)/255|0)>>>n<<u|t|(((W(J,h[r+((s&I)>>>m)>>0]|0)|0)>>>0)/255|0)>>>i<<m)&65535;d[k>>1]=I;if(!l)break;else k=k+(w<<1)|0}return}default:{n=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;m=(K>>>(h[I+29>>0]|0)<<(h[I+33>>0]|0)|L>>>(h[I+28>>0]|0)<<(h[I+32>>0]|0)|f[I+24>>2]|J>>>(h[I+30>>0]|0)<<(h[I+34>>0]|0))&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}G=b-e|0;k=c-g|0;if((((G|0)<0?0-G|0:G)|0)==(((k|0)<0?0-k|0:k)|0))switch(i|0){case 1:{m=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;l=f[a+20>>2]|0;if((g|0)<(c|0)){w=l+((W(m,g)|0)<<1)+(e<<1)|0;a=m+((e|0)>(b|0)?-1:1)|0;w=(o|0)==0?w+(a<<1)|0:w}else{w=l+((W(m,c)|0)<<1)+(b<<1)|0;k=g-c|0;a=m+((e|0)<(b|0)?-1:1)|0}l=k+((o|0)!=0&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=w;while(1){l=l+-1|0;I=j[k>>1]|0;I=(((((W(H,h[e+((q&I)>>>v)>>0]|0)|0)>>>0)/255|0)+K|0)>>>c<<v|((((W(H,h[p+((g&I)>>>u)>>0]|0)|0)>>>0)/255|0)+L|0)>>>n<<u|t|((((W(H,h[r+((s&I)>>>m)>>0]|0)|0)>>>0)/255|0)+J|0)>>>i<<m)&65535;d[k>>1]=I;if(!l)break;else k=k+(a<<1)|0}return}case 2:{m=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;l=f[a+20>>2]|0;if((g|0)<(c|0)){w=l+((W(m,g)|0)<<1)+(e<<1)|0;a=m+((e|0)>(b|0)?-1:1)|0;w=(o|0)==0?w+(a<<1)|0:w}else{w=l+((W(m,c)|0)<<1)+(b<<1)|0;k=g-c|0;a=m+((e|0)<(b|0)?-1:1)|0}l=k+((o|0)!=0&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=w;while(1){l=l+-1|0;I=j[k>>1]|0;b=L+(h[p+((g&I)>>>u)>>0]|0)|0;H=K+(h[e+((q&I)>>>v)>>0]|0)|0;I=J+(h[r+((s&I)>>>m)>>0]|0)|0;d[k>>1]=(H>>>0<255?H:255)>>>c<<v|(b>>>0<255?b:255)>>>n<<u|t|(I>>>0<255?I:255)>>>i<<m;if(!l)break;else k=k+(a<<1)|0}return}case 4:{m=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;l=f[a+20>>2]|0;if((g|0)<(c|0)){w=l+((W(m,g)|0)<<1)+(e<<1)|0;a=m+((e|0)>(b|0)?-1:1)|0;w=(o|0)==0?w+(a<<1)|0:w}else{w=l+((W(m,c)|0)<<1)+(b<<1)|0;k=g-c|0;a=m+((e|0)<(b|0)?-1:1)|0}l=k+((o|0)!=0&1)|0;if(!l)return;n=h[I+28>>0]|0;p=f[234608+(n<<2)>>2]|0;g=f[I+12>>2]|0;c=h[I+29>>0]|0;e=f[234608+(c<<2)>>2]|0;q=f[I+16>>2]|0;i=h[I+30>>0]|0;r=f[234608+(i<<2)>>2]|0;s=f[I+20>>2]|0;t=f[I+24>>2]|0;u=h[I+32>>0]|0;v=h[I+33>>0]|0;m=h[I+34>>0]|0;k=w;while(1){l=l+-1|0;I=j[k>>1]|0;I=((((W(K,h[e+((q&I)>>>v)>>0]|0)|0)>>>0)/255|0)>>>c<<v|(((W(L,h[p+((g&I)>>>u)>>0]|0)|0)>>>0)/255|0)>>>n<<u|t|(((W(J,h[r+((s&I)>>>m)>>0]|0)|0)>>>0)/255|0)>>>i<<m)&65535;d[k>>1]=I;if(!l)break;else k=k+(a<<1)|0}return}default:{m=(f[a+16>>2]|0)/(h[I+9>>0]|0|0)|0;l=f[a+20>>2]|0;if((g|0)<(c|0)){H=l+((W(m,g)|0)<<1)+(e<<1)|0;n=m+((e|0)>(b|0)?-1:1)|0;l=k;k=(o|0)==0?H+(n<<1)|0:H}else{k=l+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;n=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;m=(K>>>(h[I+29>>0]|0)<<(h[I+33>>0]|0)|L>>>(h[I+28>>0]|0)<<(h[I+32>>0]|0)|f[I+24>>2]|J>>>(h[I+30>>0]|0)<<(h[I+34>>0]|0))&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}else switch(i|0){case 1:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){F=k<<1;i=1;n=0;m=k-l|0;G=F;F=F-l|0;k=l}else{F=l<<1;i=0;n=1;m=l-k|0;G=F;F=F-k|0}E=m<<1;D=(e|0)<(b|0);C=D?0-n|0:n;D=D?-1:1;A=(g|0)<(c|0);B=A?0-i|0:i;A=A?-1:1;z=k+((o|0)!=0&1)|0;if((z|0)<=0)return;y=f[a+20>>2]|0;q=f[a+16>>2]|0;p=h[I+28>>0]|0;r=f[234608+(p<<2)>>2]|0;s=f[I+12>>2]|0;g=h[I+29>>0]|0;t=f[234608+(g<<2)>>2]|0;u=f[I+16>>2]|0;e=h[I+30>>0]|0;v=f[234608+(e<<2)>>2]|0;a=f[I+20>>2]|0;w=f[I+24>>2]|0;o=h[I+32>>0]|0;x=h[I+33>>0]|0;i=h[I+34>>0]|0;m=b;n=0;k=F;while(1){l=y+(W(q,c)|0)+(m<<1)|0;I=j[l>>1]|0;I=(((((W(H,h[t+((u&I)>>>x)>>0]|0)|0)>>>0)/255|0)+K|0)>>>g<<x|((((W(H,h[r+((s&I)>>>o)>>0]|0)|0)>>>0)/255|0)+L|0)>>>p<<o|w|((((W(H,h[v+((a&I)>>>i)>>0]|0)|0)>>>0)/255|0)+J|0)>>>e<<i)&65535;d[l>>1]=I;l=(k|0)<0;n=n+1|0;if((n|0)>=(z|0))break;else{c=c+(l?B:A)|0;m=(l?C:D)+m|0;k=(l?G:E)+k|0}}return}case 2:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){F=k<<1;i=1;n=0;m=k-l|0;G=F;F=F-l|0;k=l}else{F=l<<1;i=0;n=1;m=l-k|0;G=F;F=F-k|0}E=m<<1;D=(e|0)<(b|0);C=D?0-n|0:n;D=D?-1:1;A=(g|0)<(c|0);B=A?0-i|0:i;A=A?-1:1;z=k+((o|0)!=0&1)|0;if((z|0)<=0)return;y=f[a+20>>2]|0;q=f[a+16>>2]|0;p=h[I+28>>0]|0;r=f[234608+(p<<2)>>2]|0;s=f[I+12>>2]|0;g=h[I+29>>0]|0;t=f[234608+(g<<2)>>2]|0;u=f[I+16>>2]|0;e=h[I+30>>0]|0;v=f[234608+(e<<2)>>2]|0;a=f[I+20>>2]|0;w=f[I+24>>2]|0;o=h[I+32>>0]|0;x=h[I+33>>0]|0;i=h[I+34>>0]|0;m=b;n=0;k=F;while(1){l=y+(W(q,c)|0)+(m<<1)|0;I=j[l>>1]|0;b=L+(h[r+((s&I)>>>o)>>0]|0)|0;H=K+(h[t+((u&I)>>>x)>>0]|0)|0;I=J+(h[v+((a&I)>>>i)>>0]|0)|0;d[l>>1]=(H>>>0<255?H:255)>>>g<<x|(b>>>0<255?b:255)>>>p<<o|w|(I>>>0<255?I:255)>>>e<<i;l=(k|0)<0;n=n+1|0;if((n|0)>=(z|0))break;else{c=c+(l?B:A)|0;m=(l?C:D)+m|0;k=(l?G:E)+k|0}}return}case 4:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){F=k<<1;i=1;n=0;m=k-l|0;G=F;F=F-l|0;k=l}else{F=l<<1;i=0;n=1;m=l-k|0;G=F;F=F-k|0}E=m<<1;D=(e|0)<(b|0);C=D?0-n|0:n;D=D?-1:1;A=(g|0)<(c|0);B=A?0-i|0:i;A=A?-1:1;z=k+((o|0)!=0&1)|0;if((z|0)<=0)return;y=f[a+20>>2]|0;q=f[a+16>>2]|0;p=h[I+28>>0]|0;r=f[234608+(p<<2)>>2]|0;s=f[I+12>>2]|0;g=h[I+29>>0]|0;t=f[234608+(g<<2)>>2]|0;u=f[I+16>>2]|0;e=h[I+30>>0]|0;v=f[234608+(e<<2)>>2]|0;a=f[I+20>>2]|0;w=f[I+24>>2]|0;o=h[I+32>>0]|0;x=h[I+33>>0]|0;i=h[I+34>>0]|0;m=b;n=0;k=F;while(1){l=y+(W(q,c)|0)+(m<<1)|0;I=j[l>>1]|0;I=((((W(K,h[t+((u&I)>>>x)>>0]|0)|0)>>>0)/255|0)>>>g<<x|(((W(L,h[r+((s&I)>>>o)>>0]|0)|0)>>>0)/255|0)>>>p<<o|w|(((W(J,h[v+((a&I)>>>i)>>0]|0)|0)>>>0)/255|0)>>>e<<i)&65535;d[l>>1]=I;l=(k|0)<0;n=n+1|0;if((n|0)>=(z|0))break;else{c=c+(l?B:A)|0;m=(l?C:D)+m|0;k=(l?G:E)+k|0}}return}default:{l=e-b|0;l=(l|0)<0?0-l|0:l;m=g-c|0;m=(m|0)<0?0-m|0:m;if((l|0)<(m|0)){k=l<<1;p=1;i=0;n=l-m|0;v=k;k=k-m|0;l=m}else{k=m<<1;p=0;i=1;n=m-l|0;v=k;k=k-l|0}u=n<<1;t=(e|0)<(b|0);s=t?0-i|0:i;t=t?-1:1;q=(g|0)<(c|0);r=q?0-p|0:p;q=q?-1:1;e=l+((o|0)!=0&1)|0;if((e|0)<=0)return;g=f[a+20>>2]|0;p=f[a+16>>2]|0;i=(K>>>(h[I+29>>0]|0)<<(h[I+33>>0]|0)|L>>>(h[I+28>>0]|0)<<(h[I+32>>0]|0)|f[I+24>>2]|J>>>(h[I+30>>0]|0)<<(h[I+34>>0]|0))&65535;m=b;n=0;while(1){l=g+(W(p,c)|0)+(m<<1)|0;d[l>>1]=i;l=(k|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{c=c+(l?r:q)|0;m=(l?s:t)+m|0;k=(l?v:u)+k|0}}return}}}function Ecb(a,b,c,e,g,i,k,l,m,n,o){a=a|0;b=b|0;c=c|0;e=e|0;g=g|0;i=i|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;k=k&255;if((i+-1|0)>>>0<2){w=n&255;z=((W(w,k)|0)>>>0)/255|0;y=((W(w,l&255)|0)>>>0)/255|0;x=((W(w,m&255)|0)>>>0)/255|0;k=w}else{z=k;y=l&255;x=m&255;k=n&255}w=k^255;if((g|0)==(c|0))switch(i|0){case 1:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=(((((W(w,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)+y|0)>>>3<<5|((((W(w,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<10|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+2|0}return}case 2:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;b=z+(h[235104+(o>>>10&31)>>0]|0)|0;a=y+(h[235104+(o>>>5&31)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[k>>1]=(a>>>0<255?a:255)>>>3<<5|(b>>>0<255?b:255)>>>3<<10|(o>>>0<255?o:255)>>>3;if(!l)break;else k=k+2|0}return}case 4:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=((((W(y,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)>>>3<<5|(((W(z,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)>>>3<<10|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+2|0}return}default:{k=(f[a+20>>2]|0)+((W((f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<1)|0;if((e|0)<(b|0)){k=k+(e<<1)|0;l=(o|0)!=0;k=l?k:k+2|0;m=b-e|0}else{k=k+(b<<1)|0;m=e-b|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;m=(y>>>3<<5|x>>>3|z>>>3<<10)&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+2|0}return}}if((e|0)==(b|0))switch(i|0){case 1:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=(((((W(w,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)+y|0)>>>3<<5|((((W(w,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<10|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(n<<1)|0}return}case 2:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;b=z+(h[235104+(o>>>10&31)>>0]|0)|0;a=y+(h[235104+(o>>>5&31)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[k>>1]=(a>>>0<255?a:255)>>>3<<5|(b>>>0<255?b:255)>>>3<<10|(o>>>0<255?o:255)>>>3;if(!l)break;else k=k+(n<<1)|0}return}case 4:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=((((W(y,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)>>>3<<5|(((W(z,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)>>>3<<10|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(n<<1)|0}return}default:{n=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(n,g)|0)<<1)+(e<<1)|0;l=(o|0)!=0;k=l?k:k+(n<<1)|0;m=c-g|0}else{k=k+((W(n,c)|0)<<1)+(e<<1)|0;m=g-c|0;l=(o|0)!=0}l=m+(l&1)|0;if(!l)return;m=(y>>>3<<5|x>>>3|z>>>3<<10)&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}v=b-e|0;l=c-g|0;if((((v|0)<0?0-v|0:v)|0)==(((l|0)<0?0-l|0:l)|0))switch(i|0){case 1:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;m=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(m<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;m=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=(((((W(w,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)+y|0)>>>3<<5|((((W(w,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<10|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(m<<1)|0}return}case 2:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;m=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(m<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;m=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;b=z+(h[235104+(o>>>10&31)>>0]|0)|0;a=y+(h[235104+(o>>>5&31)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[k>>1]=(a>>>0<255?a:255)>>>3<<5|(b>>>0<255?b:255)>>>3<<10|(o>>>0<255?o:255)>>>3;if(!l)break;else k=k+(m<<1)|0}return}case 4:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;m=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(m<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;m=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;while(1){l=l+-1|0;o=j[k>>1]|0;o=((((W(y,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)>>>3<<5|(((W(z,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)>>>3<<10|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[k>>1]=o;if(!l)break;else k=k+(m<<1)|0}return}default:{m=(f[a+16>>2]|0)/(h[(f[a+4>>2]|0)+9>>0]|0|0)|0;k=f[a+20>>2]|0;if((g|0)<(c|0)){k=k+((W(m,g)|0)<<1)+(e<<1)|0;n=m+((e|0)>(b|0)?-1:1)|0;k=(o|0)==0?k+(n<<1)|0:k}else{k=k+((W(m,c)|0)<<1)+(b<<1)|0;l=g-c|0;n=m+((e|0)<(b|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;m=(y>>>3<<5|x>>>3|z>>>3<<10)&65535;while(1){l=l+-1|0;d[k>>1]=m;if(!l)break;else k=k+(n<<1)|0}return}}else switch(i|0){case 1:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;i=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;i=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(e|0)<(b|0);r=s?0-n|0:n;s=s?-1:1;e=(g|0)<(c|0);q=e?0-i|0:i;e=e?-1:1;g=k+((o|0)!=0&1)|0;if((g|0)<=0)return;p=f[a+20>>2]|0;i=f[a+16>>2]|0;m=b;n=0;k=u;while(1){l=p+(W(i,c)|0)+(m<<1)|0;o=j[l>>1]|0;o=(((((W(w,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)+y|0)>>>3<<5|((((W(w,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)+z|0)>>>3<<10|((((W(w,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)+x|0)>>>3)&65535;d[l>>1]=o;l=(k|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{c=c+(l?q:e)|0;m=(l?r:s)+m|0;k=(l?v:t)+k|0}}return}case 2:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;i=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;i=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(e|0)<(b|0);r=s?0-n|0:n;s=s?-1:1;e=(g|0)<(c|0);q=e?0-i|0:i;e=e?-1:1;g=k+((o|0)!=0&1)|0;if((g|0)<=0)return;p=f[a+20>>2]|0;i=f[a+16>>2]|0;m=b;n=0;k=u;while(1){l=p+(W(i,c)|0)+(m<<1)|0;o=j[l>>1]|0;b=z+(h[235104+(o>>>10&31)>>0]|0)|0;a=y+(h[235104+(o>>>5&31)>>0]|0)|0;o=x+(h[235104+(o&31)>>0]|0)|0;d[l>>1]=(a>>>0<255?a:255)>>>3<<5|(b>>>0<255?b:255)>>>3<<10|(o>>>0<255?o:255)>>>3;l=(k|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{c=c+(l?q:e)|0;m=(l?r:s)+m|0;k=(l?v:t)+k|0}}return}case 4:{k=e-b|0;k=(k|0)<0?0-k|0:k;l=g-c|0;l=(l|0)<0?0-l|0:l;if((k|0)<(l|0)){u=k<<1;i=1;n=0;m=k-l|0;v=u;u=u-l|0;k=l}else{u=l<<1;i=0;n=1;m=l-k|0;v=u;u=u-k|0}t=m<<1;s=(e|0)<(b|0);r=s?0-n|0:n;s=s?-1:1;e=(g|0)<(c|0);q=e?0-i|0:i;e=e?-1:1;g=k+((o|0)!=0&1)|0;if((g|0)<=0)return;p=f[a+20>>2]|0;i=f[a+16>>2]|0;m=b;n=0;k=u;while(1){l=p+(W(i,c)|0)+(m<<1)|0;o=j[l>>1]|0;o=((((W(y,h[235104+(o>>>5&31)>>0]|0)|0)>>>0)/255|0)>>>3<<5|(((W(z,h[235104+(o>>>10&31)>>0]|0)|0)>>>0)/255|0)>>>3<<10|(((W(x,h[235104+(o&31)>>0]|0)|0)>>>0)/255|0)>>>3)&65535;d[l>>1]=o;l=(k|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{c=c+(l?q:e)|0;m=(l?r:s)+m|0;k=(l?v:t)+k|0}}return}default:{l=e-b|0;l=(l|0)<0?0-l|0:l;m=g-c|0;m=(m|0)<0?0-m|0:m;if((l|0)<(m|0)){k=l<<1;p=1;i=0;n=l-m|0;v=k;k=k-m|0;l=m}else{k=m<<1;p=0;i=1;n=m-l|0;v=k;k=k-l|0}u=n<<1;t=(e|0)<(b|0);s=t?0-i|0:i;t=t?-1:1;q=(g|0)<(c|0);r=q?0-p|0:p;q=q?-1:1;e=l+((o|0)!=0&1)|0;if((e|0)<=0)return;g=f[a+20>>2]|0;p=f[a+16>>2]|0;i=(y>>>3<<5|x>>>3|z>>>3<<10)&65535;m=b;n=0;while(1){l=g+(W(p,c)|0)+(m<<1)|0;d[l>>1]=i;l=(k|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{c=c+(l?r:q)|0;m=(l?s:t)+m|0;k=(l?v:u)+k|0}}return}}}
  11. function QCb(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0;do if(!(SCb(a,f[c+8>>2]|0,g)|0)){if(SCb(a,f[c>>2]|0,g)|0){if((f[c+16>>2]|0)!=(d|0)?(h=c+20|0,(f[h>>2]|0)!=(d|0)):0){f[c+32>>2]=e;f[h>>2]=d;g=c+40|0;f[g>>2]=(f[g>>2]|0)+1;if((f[c+36>>2]|0)==1?(f[c+24>>2]|0)==2:0)b[c+54>>0]=1;f[c+44>>2]=4;break}if((e|0)==1)f[c+32>>2]=1}}else UCb(0,c,d,e);while(0);return}function RCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(SCb(a,f[b+8>>2]|0,0)|0)TCb(0,b,c,d);return}function SCb(a,b,c){a=a|0;b=b|0;c=c|0;return (a|0)==(b|0)|0}function TCb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0;a=c+16|0;g=f[a>>2]|0;do if(g){if((g|0)!=(d|0)){e=c+36|0;f[e>>2]=(f[e>>2]|0)+1;f[c+24>>2]=2;b[c+54>>0]=1;break}a=c+24|0;if((f[a>>2]|0)==2)f[a>>2]=e}else{f[a>>2]=d;f[c+24>>2]=e;f[c+36>>2]=1}while(0);return}function UCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((f[b+4>>2]|0)==(c|0)?(e=b+28|0,(f[e>>2]|0)!=1):0)f[e>>2]=d;return}function VCb(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;b[c+53>>0]=1;do if((f[c+4>>2]|0)==(e|0)){b[c+52>>0]=1;a=c+16|0;e=f[a>>2]|0;if(!e){f[a>>2]=d;f[c+24>>2]=g;f[c+36>>2]=1;if(!((g|0)==1?(f[c+48>>2]|0)==1:0))break;b[c+54>>0]=1;break}if((e|0)!=(d|0)){g=c+36|0;f[g>>2]=(f[g>>2]|0)+1;b[c+54>>0]=1;break}e=c+24|0;a=f[e>>2]|0;if((a|0)==2){f[e>>2]=g;a=g}if((a|0)==1?(f[c+48>>2]|0)==1:0)b[c+54>>0]=1}while(0);return}function WCb(a,c,e,g){a=a|0;c=c|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;p=u;u=u+64|0;n=p;m=f[a>>2]|0;o=a+(f[m+-8>>2]|0)|0;m=f[m+-4>>2]|0;f[n>>2]=e;f[n+4>>2]=a;f[n+8>>2]=c;f[n+12>>2]=g;a=n+16|0;c=n+20|0;g=n+24|0;h=n+28|0;i=n+32|0;j=n+40|0;k=a;l=k+36|0;do{f[k>>2]=0;k=k+4|0}while((k|0)<(l|0));d[a+36>>1]=0;b[a+38>>0]=0;a:do if(SCb(m,e,0)|0){f[n+48>>2]=1;Lj[f[(f[m>>2]|0)+20>>2]&15](m,n,o,o,1,0);a=(f[g>>2]|0)==1?o:0}else{Kj[f[(f[m>>2]|0)+24>>2]&63](m,n,o,1,0);switch(f[n+36>>2]|0){case 0:{a=(f[j>>2]|0)==1&(f[h>>2]|0)==1&(f[i>>2]|0)==1?f[c>>2]|0:0;break a}case 1:break;default:{a=0;break a}}if((f[g>>2]|0)!=1?!((f[j>>2]|0)==0&(f[h>>2]|0)==1&(f[i>>2]|0)==1):0){a=0;break}a=f[a>>2]|0}while(0);u=p;return a|0}function XCb(a){a=a|0;KCb(a);GBb(a);return}function YCb(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;if(SCb(a,f[b+8>>2]|0,g)|0)VCb(0,b,c,d,e);else{a=f[a+8>>2]|0;Lj[f[(f[a>>2]|0)+20>>2]&15](a,b,c,d,e,g)}return}function ZCb(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;do if(!(SCb(a,f[c+8>>2]|0,g)|0)){if(!(SCb(a,f[c>>2]|0,g)|0)){i=f[a+8>>2]|0;Kj[f[(f[i>>2]|0)+24>>2]&63](i,c,d,e,g);break}if((f[c+16>>2]|0)!=(d|0)?(h=c+20|0,(f[h>>2]|0)!=(d|0)):0){f[c+32>>2]=e;i=c+44|0;if((f[i>>2]|0)==4)break;e=c+52|0;b[e>>0]=0;j=c+53|0;b[j>>0]=0;a=f[a+8>>2]|0;Lj[f[(f[a>>2]|0)+20>>2]&15](a,c,d,d,1,g);if(b[j>>0]|0)if(!(b[e>>0]|0)){e=1;a=11}else a=15;else{e=0;a=11}do if((a|0)==11){f[h>>2]=d;j=c+40|0;f[j>>2]=(f[j>>2]|0)+1;if((f[c+36>>2]|0)==1?(f[c+24>>2]|0)==2:0){b[c+54>>0]=1;if(e){a=15;break}else{e=4;break}}if(e)a=15;else e=4}while(0);if((a|0)==15)e=3;f[i>>2]=e;break}if((e|0)==1)f[c+32>>2]=1}else UCb(0,c,d,e);while(0);return}function _Cb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(SCb(a,f[b+8>>2]|0,0)|0)TCb(0,b,c,d);else{a=f[a+8>>2]|0;Ij[f[(f[a>>2]|0)+28>>2]&127](a,b,c,d)}return}function $Cb(a){a=a|0;return}function aDb(){var a=0;a=u;u=u+16|0;if(!(Ci(505008,1578)|0)){u=a;return}else JCb(489769,a)}function bDb(a){a=a|0;var b=0;b=u;u=u+16|0;Dmb(a);if(!(Ii(f[126252]|0,0)|0)){u=b;return}else JCb(489819,b)}function cDb(){var a=0,b=0;a=ICb()|0;if((a|0?(b=f[a>>2]|0,b|0):0)?(a=b+48|0,(f[a>>2]&-256|0)==1126902528?(f[a+4>>2]|0)==1129074247:0):0)dDb(f[b+12>>2]|0);dDb(eDb()|0)}function dDb(a){a=a|0;var b=0;b=u;u=u+16|0;nj[a&15]();JCb(489872,b)}function eDb(){var a=0;a=f[90487]|0;f[90487]=a+0;return a|0}function fDb(a){a=a|0;return}function gDb(a){a=a|0;f[a>>2]=362040;kDb(a+4|0);return}function hDb(a){a=a|0;gDb(a);GBb(a);return}function iDb(a){a=a|0;return jDb(a+4|0)|0}function jDb(a){a=a|0;return f[a>>2]|0}function kDb(a){a=a|0;var b=0,c=0;if(LBb(a)|0?(b=lDb(f[a>>2]|0)|0,c=b+8|0,a=f[c>>2]|0,f[c>>2]=a+-1,(a+-1|0)<0):0)GBb(b);return}function lDb(a){a=a|0;return a+-12|0}function mDb(a){a=a|0;gDb(a);GBb(a);return}function nDb(a){a=a|0;return}function oDb(a){a=a|0;nDb(a);GBb(a);return}function pDb(a){a=a|0;return 489945}function qDb(a){a=a|0;return}function rDb(a){a=a|0;qDb(a);GBb(a);return}function sDb(a){a=a|0;return 489971}function tDb(a){a=a|0;KCb(a);GBb(a);return}function uDb(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;if(SCb(a,f[c+8>>2]|0,h)|0)VCb(0,c,d,e,g);else{p=c+52|0;i=b[p>>0]|0;j=c+53|0;k=b[j>>0]|0;o=f[a+12>>2]|0;l=a+16+(o<<3)|0;b[p>>0]=0;b[j>>0]=0;yDb(a+16|0,c,d,e,g,h);a:do if((o|0)>1){m=c+24|0;n=a+8|0;o=c+54|0;a=a+24|0;do{if(b[o>>0]|0)break a;if(!(b[p>>0]|0)){if(b[j>>0]|0?(f[n>>2]&1|0)==0:0)break a}else{if((f[m>>2]|0)==1)break a;if(!(f[n>>2]&2))break a}b[p>>0]=0;b[j>>0]=0;yDb(a,c,d,e,g,h);a=a+8|0}while(a>>>0<l>>>0)}while(0);b[p>>0]=i;b[j>>0]=k}return}function vDb(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;a:do if(!(SCb(a,f[c+8>>2]|0,g)|0)){if(!(SCb(a,f[c>>2]|0,g)|0)){q=f[a+12>>2]|0;k=a+16+(q<<3)|0;zDb(a+16|0,c,d,e,g);h=a+24|0;if((q|0)<=1)break;a=f[a+8>>2]|0;if((a&2|0)==0?(j=c+36|0,(f[j>>2]|0)!=1):0){if(!(a&1)){a=c+54|0;while(1){if(b[a>>0]|0)break a;if((f[j>>2]|0)==1)break a;zDb(h,c,d,e,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}a=c+24|0;i=c+54|0;while(1){if(b[i>>0]|0)break a;if((f[j>>2]|0)==1?(f[a>>2]|0)==1:0)break a;zDb(h,c,d,e,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}a=c+54|0;while(1){if(b[a>>0]|0)break a;zDb(h,c,d,e,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}if((f[c+16>>2]|0)!=(d|0)?(q=c+20|0,(f[q>>2]|0)!=(d|0)):0){f[c+32>>2]=e;p=c+44|0;if((f[p>>2]|0)==4)break;k=a+16+(f[a+12>>2]<<3)|0;e=c+52|0;l=c+53|0;n=c+54|0;m=a+8|0;o=c+24|0;h=0;i=a+16|0;j=0;b:while(1){if(i>>>0>=k>>>0){a=18;break}b[e>>0]=0;b[l>>0]=0;yDb(i,c,d,d,1,g);if(b[n>>0]|0){a=18;break}do if(b[l>>0]|0){if(!(b[e>>0]|0))if(!(f[m>>2]&1)){h=1;a=18;break b}else{h=1;a=j;break}if((f[o>>2]|0)==1){a=23;break b}if(!(f[m>>2]&2)){a=23;break b}else{h=1;a=1}}else a=j;while(0);i=i+8|0;j=a}do if((a|0)==18){if((!j?(f[q>>2]=d,d=c+40|0,f[d>>2]=(f[d>>2]|0)+1,(f[c+36>>2]|0)==1):0)?(f[o>>2]|0)==2:0){b[n>>0]=1;if(h){a=23;break}else{h=4;break}}if(h)a=23;else h=4}while(0);if((a|0)==23)h=3;f[p>>2]=h;break}if((e|0)==1)f[c+32>>2]=1}else UCb(0,c,d,e);while(0);return}function wDb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0;a:do if(!(SCb(a,f[c+8>>2]|0,0)|0)){h=f[a+12>>2]|0;g=a+16+(h<<3)|0;xDb(a+16|0,c,d,e);if((h|0)>1){h=c+54|0;a=a+24|0;do{xDb(a,c,d,e);if(b[h>>0]|0)break a;a=a+8|0}while(a>>>0<g>>>0)}}else TCb(0,c,d,e);while(0);return}function xDb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0;g=f[a+4>>2]|0;e=g>>8;if(g&1)e=f[(f[c>>2]|0)+e>>2]|0;a=f[a>>2]|0;Ij[f[(f[a>>2]|0)+28>>2]&127](a,b,c+e|0,(g&2|0)==0?2:d);return}function yDb(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;i=f[a+4>>2]|0;h=i>>8;if(i&1)h=f[(f[d>>2]|0)+h>>2]|0;a=f[a>>2]|0;Lj[f[(f[a>>2]|0)+20>>2]&15](a,b,c,d+h|0,(i&2|0)==0?2:e,g);return}function zDb(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;h=f[a+4>>2]|0;g=h>>8;if(h&1)g=f[(f[c>>2]|0)+g>>2]|0;a=f[a>>2]|0;Kj[f[(f[a>>2]|0)+24>>2]&63](a,b,c+g|0,(h&2|0)==0?2:d,e);return}function ADb(a){a=a|0;f[a>>2]=362080;return}function BDb(){var a=0;a=ab(4)|0;CDb(a);eb(a|0,302176,1469)}function CDb(a){a=a|0;f[a>>2]=362100;return}function DDb(a){a=a|0;if((b[a>>0]|0)==1)a=0;else{b[a>>0]=1;a=1}return a|0}function EDb(a){a=a|0;return}function FDb(a){a=a|0;return}function GDb(){var a=0;a=f[126253]|0;f[126253]=a+0;return a|0}function HDb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=u;u=u+16|0;d=e;f[d>>2]=f[c>>2];a=dj[f[(f[a>>2]|0)+16>>2]&255](a,b,d)|0;if(a)f[c>>2]=f[d>>2];u=e;return a&1|0}function IDb(a){a=a|0;if(!a)a=0;else a=(WCb(a,302088,302208,0)|0)!=0&1;return a|0}function JDb(){}function KDb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=W(e,f)|0;d=a>>>16;a=(c>>>16)+(W(e,d)|0)|0;e=b>>>16;b=W(e,f)|0;return (H=(a>>>16)+(W(e,d)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|c&65535|0)|0}function LDb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;c=KDb(e,f)|0;a=H;return (H=(W(b,f)|0)+(W(d,e)|0)+a|a&0,c|0|0)|0}function MDb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (H=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function NDb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (H=d,a-c>>>0|0)|0}function ODb(a){a=a|0;return (a?31-(Z(a^a-1)|0)|0:32)|0}function PDb(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,k=0,l=0,m=0,n=0,o=0,p=0;l=a;j=b;k=j;h=c;n=d;i=n;if(!k){g=(e|0)!=0;if(!i){if(g){f[e>>2]=(l>>>0)%(h>>>0);f[e+4>>2]=0}n=0;e=(l>>>0)/(h>>>0)>>>0;return (H=n,e)|0}else{if(!g){n=0;e=0;return (H=n,e)|0}f[e>>2]=a|0;f[e+4>>2]=b&0;n=0;e=0;return (H=n,e)|0}}g=(i|0)==0;do if(h){if(!g){g=(Z(i|0)|0)-(Z(k|0)|0)|0;if(g>>>0<=31){m=g+1|0;i=31-g|0;b=g-31>>31;h=m;a=l>>>(m>>>0)&b|k<<i;b=k>>>(m>>>0)&b;g=0;i=l<<i;break}if(!e){n=0;e=0;return (H=n,e)|0}f[e>>2]=a|0;f[e+4>>2]=j|b&0;n=0;e=0;return (H=n,e)|0}g=h-1|0;if(g&h|0){i=(Z(h|0)|0)+33-(Z(k|0)|0)|0;p=64-i|0;m=32-i|0;j=m>>31;o=i-32|0;b=o>>31;h=i;a=m-1>>31&k>>>(o>>>0)|(k<<m|l>>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<<p&j;i=(k<<p|l>>>(o>>>0))&j|l<<m&i-33>>31;break}if(e|0){f[e>>2]=g&l;f[e+4>>2]=0}if((h|0)==1){o=j|b&0;p=a|0|0;return (H=o,p)|0}else{p=ODb(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (H=o,p)|0}}else{if(g){if(e|0){f[e>>2]=(k>>>0)%(h>>>0);f[e+4>>2]=0}o=0;p=(k>>>0)/(h>>>0)>>>0;return (H=o,p)|0}if(!l){if(e|0){f[e>>2]=0;f[e+4>>2]=(k>>>0)%(i>>>0)}o=0;p=(k>>>0)/(i>>>0)>>>0;return (H=o,p)|0}g=i-1|0;if(!(g&i)){if(e|0){f[e>>2]=a|0;f[e+4>>2]=g&k|b&0}o=0;p=k>>>((ODb(i|0)|0)>>>0);return (H=o,p)|0}g=(Z(i|0)|0)-(Z(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<<i|l>>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<<i;break}if(!e){o=0;p=0;return (H=o,p)|0}f[e>>2]=a|0;f[e+4>>2]=j|b&0;o=0;p=0;return (H=o,p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=c|0|0;l=n|d&0;k=MDb(m|0,l|0,-1,-1)|0;c=H;j=i;i=0;do{d=j;j=g>>>31|j<<1;g=i|g<<1;d=a<<1|d>>>31|0;n=a>>>31|b<<1|0;NDb(k|0,c|0,d|0,n|0)|0;p=H;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=NDb(d|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=H;h=h-1|0}while((h|0)!=0);k=j;j=0}h=0;if(e|0){f[e>>2]=a;f[e+4>>2]=b}o=(g|0)>>>31|(k|h)<<1|(h<<1|g>>>31)&0|j;p=(g<<1|0>>>31)&-2|i;return (H=o,p)|0}function QDb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return PDb(a,b,c,d,0)|0}function RDb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){H=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}H=0;return b>>>c-32|0}function SDb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){H=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}H=a<<c-32;return 0}function TDb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;y=y+1|0;f[a>>2]=y;while((e|0)<(d|0)){if(!(f[c+(e<<3)>>2]|0)){f[c+(e<<3)>>2]=y;f[c+((e<<3)+4)>>2]=b;f[c+((e<<3)+8)>>2]=0;H=d;return c|0}e=e+1|0}d=d*2|0;c=Fmb(c|0,8*(d+1|0)|0)|0;c=TDb(a|0,b|0,c|0,d|0)|0;H=d;return c|0}function UDb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;while((e|0)<(c|0)){d=f[b+(e<<3)>>2]|0;if(!d)break;if((d|0)==(a|0))return f[b+((e<<3)+4)>>2]|0;e=e+1|0}return 0}function VDb(a){a=a|0;return 0}function WDb(a){a=a|0;return 0}function XDb(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function YDb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0;if((d|0)>=8192)return Sg(a|0,c|0,d|0)|0;h=a|0;g=a+d|0;if((a&3)==(c&3)){while(a&3){if(!d)return h|0;b[a>>0]=b[c>>0]|0;a=a+1|0;c=c+1|0;d=d-1|0}d=g&-4|0;e=d-64|0;while((a|0)<=(e|0)){f[a>>2]=f[c>>2];f[a+4>>2]=f[c+4>>2];f[a+8>>2]=f[c+8>>2];f[a+12>>2]=f[c+12>>2];f[a+16>>2]=f[c+16>>2];f[a+20>>2]=f[c+20>>2];f[a+24>>2]=f[c+24>>2];f[a+28>>2]=f[c+28>>2];f[a+32>>2]=f[c+32>>2];f[a+36>>2]=f[c+36>>2];f[a+40>>2]=f[c+40>>2];f[a+44>>2]=f[c+44>>2];f[a+48>>2]=f[c+48>>2];f[a+52>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];f[a+60>>2]=f[c+60>>2];a=a+64|0;c=c+64|0}while((a|0)<(d|0)){f[a>>2]=f[c>>2];a=a+4|0;c=c+4|0}}else{d=g-4|0;while((a|0)<(d|0)){b[a>>0]=b[c>>0]|0;b[a+1>>0]=b[c+1>>0]|0;b[a+2>>0]=b[c+2>>0]|0;b[a+3>>0]=b[c+3>>0]|0;a=a+4|0;c=c+4|0}}while((a|0)<(g|0)){b[a>>0]=b[c>>0]|0;a=a+1|0;c=c+1|0}return h|0}function ZDb(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;if((c|0)<(a|0)&(a|0)<(c+d|0)){e=a;c=c+d|0;a=a+d|0;while((d|0)>0){a=a-1|0;c=c-1|0;d=d-1|0;b[a>>0]=b[c>>0]|0}a=e}else YDb(a,c,d)|0;return a|0}function _Db(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0;h=a+d|0;c=c&255;if((d|0)>=67){while(a&3){b[a>>0]=c;a=a+1|0}e=h&-4|0;g=e-64|0;i=c|c<<8|c<<16|c<<24;while((a|0)<=(g|0)){f[a>>2]=i;f[a+4>>2]=i;f[a+8>>2]=i;f[a+12>>2]=i;f[a+16>>2]=i;f[a+20>>2]=i;f[a+24>>2]=i;f[a+28>>2]=i;f[a+32>>2]=i;f[a+36>>2]=i;f[a+40>>2]=i;f[a+44>>2]=i;f[a+48>>2]=i;f[a+52>>2]=i;f[a+56>>2]=i;f[a+60>>2]=i;a=a+64|0}while((a|0)<(e|0)){f[a>>2]=i;a=a+4|0}}while((a|0)<(h|0)){b[a>>0]=c;a=a+1|0}return h-d|0}function $Db(a){a=a|0;return 0}function aEb(a){a=a|0;return 0}function bEb(a){a=a|0;var b=0,c=0;c=f[r>>2]|0;b=c+a|0;if((a|0)>0&(b|0)<(c|0)|(b|0)<0){ca()|0;kb(12);return -1}f[r>>2]=b;if((b|0)>(ba()|0)?(aa()|0)==0:0){f[r>>2]=c;kb(12);return -1}return c|0}function cEb(a,b){a=a|0;b=b|0;return +Wi[a&7](b|0)}function dEb(a,b,c){a=a|0;b=b|0;c=c|0;return +Xi[a&3](b|0,c|0)}function eEb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +Yi[a&15](b|0,c|0,d|0)}function fEb(a){a=a|0;return Zi[a&15]()|0}function gEb(a,b){a=a|0;b=b|0;return _i[a&2047](b|0)|0}function hEb(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;return $i[a&3](b|0,+c,+d)|0}function iEb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;return aj[a&7](b|0,+c,+d,+e)|0}function jEb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;return bj[a&0](b|0,+c,d|0,e|0)|0}function kEb(a,b,c){a=a|0;b=b|0;c=c|0;return cj[a&1023](b|0,c|0)|0}function lEb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return dj[a&255](b|0,c|0,d|0)|0}function mEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ej[a&63](b|0,c|0,d|0,e|0)|0}function nEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return fj[a&7](b|0,c|0,d|0,e|0,+f)|0}function oEb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;return gj[a&3](b|0,c|0,d|0,e|0,+f,g|0,h|0)|0}function pEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return hj[a&63](b|0,c|0,d|0,e|0,f|0)|0}function qEb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;return ij[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function rEb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return jj[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function sEb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return kj[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function tEb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return lj[a&31](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function uEb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return mj[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function vEb(a){a=a|0;nj[a&15]()}function wEb(a,b){a=a|0;b=+b;oj[a&3](+b)}function xEb(a,b,c){a=a|0;b=+b;c=+c;pj[a&3](+b,+c)}function yEb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;qj[a&3](+b,+c,+d,+e)}function zEb(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;rj[a&1](+b,+c,+d,+e,+f,+g)}function AEb(a,b,c){a=a|0;b=+b;c=c|0;sj[a&1](+b,c|0)}function BEb(a,b){a=a|0;b=b|0;tj[a&2047](b|0)}function CEb(a,b,c){a=a|0;b=b|0;c=+c;uj[a&31](b|0,+c)}function DEb(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;vj[a&15](b|0,+c,+d)}function EEb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;wj[a&7](b|0,+c,+d,+e)}function FEb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;xj[a&7](b|0,+c,+d,+e,+f)}function GEb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;yj[a&1](b|0,+c,+d,+e,+f,+g)}function HEb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;zj[a&1](b|0,+c,+d,e|0)}function IEb(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;Aj[a&7](b|0,+c,d|0)}function JEb(a,b,c){a=a|0;b=b|0;c=c|0;Bj[a&1023](b|0,c|0)}function KEb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Cj[a&1](b|0,c|0,+d)}function LEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;Dj[a&1](b|0,c|0,+d,e|0)}function MEb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;g=g|0;Ej[a&1](b|0,c|0,+d,e|0,f|0,g|0)}function NEb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Fj[a&511](b|0,c|0,d|0)}function OEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;Gj[a&3](b|0,c|0,d|0,+e)}function PEb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;h=h|0;Hj[a&1](b|0,c|0,d|0,+e,f|0,g|0,h|0)}function QEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ij[a&127](b|0,c|0,d|0,e|0)}function REb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;i=i|0;Jj[a&1](b|0,c|0,d|0,e|0,+f,g|0,h|0,i|0)}function SEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Kj[a&63](b|0,c|0,d|0,e|0,f|0)}function TEb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Lj[a&15](b|0,c|0,d|0,e|0,f|0,g|0)}function UEb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Mj[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function VEb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Nj[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function WEb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;Oj[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function XEb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;Pj[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)}function YEb(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;Qj[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0,l|0)}function ZEb(a){a=a|0;_(0);return 0.0}function _Eb(a,b){a=a|0;b=b|0;_(1);return 0.0}function $Eb(a,b,c){a=a|0;b=b|0;c=c|0;_(2);return 0.0}function aFb(){_(3);return 0}function bFb(){return fc()|0}function cFb(){return jd()|0}function dFb(){return je()|0}function eFb(a){a=a|0;_(4);return 0}function fFb(a){a=a|0;return Zb(a|0)|0}function gFb(a){a=a|0;return dc(a|0)|0}function hFb(a){a=a|0;return _b(a|0)|0}function iFb(a){a=a|0;return gc(a|0)|0}function jFb(a){a=a|0;return Sb(a|0)|0}function kFb(a){a=a|0;return ze(a|0)|0}function lFb(a){a=a|0;return Ze(a|0)|0}function mFb(a){a=a|0;return Se(a|0)|0}function nFb(a){a=a|0;return Xe(a|0)|0}function oFb(a){a=a|0;return kd(a|0)|0}function pFb(a){a=a|0;return Ye(a|0)|0}function qFb(a){a=a|0;return We(a|0)|0}function rFb(a){a=a|0;return Ve(a|0)|0}function sFb(a){a=a|0;return _e(a|0)|0}function tFb(a){a=a|0;return Rc(a|0)|0}function uFb(a){a=a|0;return Te(a|0)|0}function vFb(a,b,c){a=a|0;b=+b;c=+c;_(5);return 0}function wFb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;_(6);return 0}function xFb(a,b,c,d){a=a|0;b=+b;c=c|0;d=d|0;_(7);return 0}function yFb(a,b){a=a|0;b=b|0;_(8);return 0}function zFb(a,b){a=a|0;b=b|0;return Wb(a|0,b|0)|0}function AFb(a,b){a=a|0;b=b|0;return Xb(a|0,b|0)|0}function BFb(a,b){a=a|0;b=b|0;return bc(a|0,b|0)|0}function CFb(a,b){a=a|0;b=b|0;return cc(a|0,b|0)|0}function DFb(a,b){a=a|0;b=b|0;return Ae(a|0,b|0)|0}function EFb(a,b){a=a|0;b=b|0;return Ie(a|0,b|0)|0}function FFb(a,b){a=a|0;b=b|0;return fe(a|0,b|0)|0}function GFb(a,b){a=a|0;b=b|0;return Ge(a|0,b|0)|0}function HFb(a,b){a=a|0;b=b|0;return Ue(a|0,b|0)|0}function IFb(a,b){a=a|0;b=b|0;return le(a|0,b|0)|0}function JFb(a,b,c){a=a|0;b=b|0;c=c|0;_(9);return 0}function KFb(a,b,c){a=a|0;b=b|0;c=c|0;return $b(a|0,b|0,c|0)|0}function LFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;_(10);return 0}function MFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Yb(a|0,b|0,c|0,d|0)|0}function NFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ub(a|0,b|0,c|0,d|0)|0}function OFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vb(a|0,b|0,c|0,d|0)|0}function PFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ac(a|0,b|0,c|0,d|0)|0}function QFb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;_(11);return 0}function RFb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;_(12);return 0}function SFb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;_(13);return 0}function TFb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Tb(a|0,b|0,c|0,d|0,e|0)|0}function UFb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;_(14);return 0}function VFb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;_(15);return 0}function WFb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;_(16);return 0}function XFb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;_(17);return 0}function YFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;_(18);return 0}function ZFb(){_(19)}function _Fb(){db()}function $Fb(){bf()}function aGb(){jf()}function bGb(){Od()}function cGb(){Pd()}function dGb(){Nd()}function eGb(){Md()}function fGb(a){a=+a;_(20)}function gGb(a){a=+a;Zc(+a)}function hGb(a){a=+a;_c(+a)}function iGb(a){a=+a;$e(+a)}function jGb(a,b){a=+a;b=+b;_(21)}function kGb(a,b){a=+a;b=+b;wd(+a,+b)}function lGb(a,b){a=+a;b=+b;xd(+a,+b)}function mGb(a,b){a=+a;b=+b;gf(+a,+b)}function nGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;_(22)}function oGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;lf(+a,+b,+c,+d)}function pGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;Yc(+a,+b,+c,+d)}function qGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;Kc(+a,+b,+c,+d)}function rGb(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;_(23)}function sGb(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;Td(+a,+b,+c,+d,+e,+f)}function tGb(a,b){a=+a;b=b|0;_(24)}function uGb(a,b){a=+a;b=b|0;mf(+a,b|0)}function vGb(a){a=a|0;_(25)}function wGb(a){a=a|0;rd(a|0)}function xGb(a){a=a|0;ed(a|0)}function yGb(a){a=a|0;pd(a|0)}function zGb(a){a=a|0;af(a|0)}function AGb(a){a=a|0;gg(a|0)}function BGb(a){a=a|0;hg(a|0)}function CGb(a){a=a|0;od(a|0)}function DGb(a){a=a|0;Jd(a|0)}function EGb(a){a=a|0;ad(a|0)}function FGb(a){a=a|0;Jc(a|0)}function GGb(a){a=a|0;df(a|0)}function HGb(a){a=a|0;cf(a|0)}function IGb(a){a=a|0;Kd(a|0)}function JGb(a){a=a|0;Ad(a|0)}function KGb(a){a=a|0;ud(a|0)}function LGb(a){a=a|0;Id(a|0)}function MGb(a){a=a|0;zd(a|0)}function NGb(a){a=a|0;Sd(a|0)}function OGb(a){a=a|0;ld(a|0)}function PGb(a){a=a|0;Tc(a|0)}function QGb(a){a=a|0;$c(a|0)}function RGb(a){a=a|0;vd(a|0)}function SGb(a){a=a|0;sf(a|0)}function TGb(a){a=a|0;Zd(a|0)}function UGb(a){a=a|0;wc(a|0)}function VGb(a){a=a|0;Lc(a|0)}function WGb(a){a=a|0;zc(a|0)}function XGb(a,b){a=a|0;b=+b;_(26)}function YGb(a,b){a=a|0;b=+b;Kf(a|0,+b)}function ZGb(a,b){a=a|0;b=+b;ig(a|0,+b)}function _Gb(a,b,c){a=a|0;b=+b;c=+c;_(27)}function $Gb(a,b,c){a=a|0;b=+b;c=+c;Pf(a|0,+b,+c)}function aHb(a,b,c){a=a|0;b=+b;c=+c;kg(a|0,+b,+c)}function bHb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;_(28)}function cHb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;Uf(a|0,+b,+c,+d)}function dHb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;mg(a|0,+b,+c,+d)}function eHb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;_(29)}function fHb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;Zf(a|0,+b,+c,+d,+e)}function gHb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;og(a|0,+b,+c,+d,+e)}function hHb(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;_(30)}function iHb(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;_(31)}function jHb(a,b,c){a=a|0;b=+b;c=c|0;_(32)}function kHb(a,b){a=a|0;b=b|0;_(33)}function lHb(a,b){a=a|0;b=b|0;Rg(a|0,b|0)}function mHb(a,b){a=a|0;b=b|0;ff(a|0,b|0)}function nHb(a,b){a=a|0;b=b|0;pe(a|0,b|0)}function oHb(a,b){a=a|0;b=b|0;ke(a|0,b|0)}function pHb(a,b){a=a|0;b=b|0;he(a|0,b|0)}function qHb(a,b){a=a|0;b=b|0;Xd(a|0,b|0)}function rHb(a,b){a=a|0;b=b|0;sd(a|0,b|0)}function sHb(a,b){a=a|0;b=b|0;Ic(a|0,b|0)}function tHb(a,b){a=a|0;b=b|0;Ud(a|0,b|0)}function uHb(a,b){a=a|0;b=b|0;md(a|0,b|0)}function vHb(a,b){a=a|0;b=b|0;Wd(a|0,b|0)}function wHb(a,b){a=a|0;b=b|0;qd(a|0,b|0)}function xHb(a,b){a=a|0;b=b|0;Hc(a|0,b|0)}function yHb(a,b){a=a|0;b=b|0;Mf(a|0,b|0)}function zHb(a,b){a=a|0;b=b|0;Bc(a|0,b|0)}function AHb(a,b){a=a|0;b=b|0;jg(a|0,b|0)}function BHb(a,b){a=a|0;b=b|0;lg(a|0,b|0)}function CHb(a,b){a=a|0;b=b|0;ng(a|0,b|0)}function DHb(a,b){a=a|0;b=b|0;pg(a|0,b|0)}function EHb(a,b){a=a|0;b=b|0;xc(a|0,b|0)}function FHb(a,b){a=a|0;b=b|0;yd(a|0,b|0)}function GHb(a,b){a=a|0;b=b|0;Fc(a|0,b|0)}function HHb(a,b){a=a|0;b=b|0;Vd(a|0,b|0)}function IHb(a,b){a=a|0;b=b|0;nd(a|0,b|0)}function JHb(a,b){a=a|0;b=b|0;Gc(a|0,b|0)}function KHb(a,b){a=a|0;b=b|0;re(a|0,b|0)}function LHb(a,b){a=a|0;b=b|0;Yd(a|0,b|0)}function MHb(a,b){a=a|0;b=b|0;td(a|0,b|0)}function NHb(a,b){a=a|0;b=b|0;qg(a|0,b|0)}function OHb(a,b){a=a|0;b=b|0;Nc(a|0,b|0)}function PHb(a,b){a=a|0;b=b|0;Mc(a|0,b|0)}function QHb(a,b){a=a|0;b=b|0;tf(a|0,b|0)}function RHb(a,b){a=a|0;b=b|0;Re(a|0,b|0)}function SHb(a,b){a=a|0;b=b|0;Ed(a|0,b|0)}function THb(a,b){a=a|0;b=b|0;Ld(a|0,b|0)}function UHb(a,b){a=a|0;b=b|0;Bd(a|0,b|0)}function VHb(a,b){a=a|0;b=b|0;Sc(a|0,b|0)}function WHb(a,b){a=a|0;b=b|0;yc(a|0,b|0)}function XHb(a,b){a=a|0;b=b|0;rg(a|0,b|0)}function YHb(a,b){a=a|0;b=b|0;tg(a|0,b|0)}function ZHb(a,b){a=a|0;b=b|0;sg(a|0,b|0)}function _Hb(a,b){a=a|0;b=b|0;wg(a|0,b|0)}function $Hb(a,b){a=a|0;b=b|0;Ag(a|0,b|0)}function aIb(a,b){a=a|0;b=b|0;Fg(a|0,b|0)}function bIb(a,b){a=a|0;b=b|0;ug(a|0,b|0)}function cIb(a,b){a=a|0;b=b|0;yg(a|0,b|0)}function dIb(a,b){a=a|0;b=b|0;Cg(a|0,b|0)}function eIb(a,b){a=a|0;b=b|0;Jg(a|0,b|0)}function fIb(a,b){a=a|0;b=b|0;Dg(a|0,b|0)}function gIb(a,b){a=a|0;b=b|0;Gg(a|0,b|0)}function hIb(a,b){a=a|0;b=b|0;Hg(a|0,b|0)}function iIb(a,b){a=a|0;b=b|0;Kg(a|0,b|0)}function jIb(a,b){a=a|0;b=b|0;Of(a|0,b|0)}function kIb(a,b,c){a=a|0;b=b|0;c=+c;_(34)}function lIb(a,b,c){a=a|0;b=b|0;c=+c;Bf(a|0,b|0,+c)}function mIb(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;_(35)}function nIb(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;Uc(a|0,b|0,+c,d|0)}function oIb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;f=f|0;_(36)}function pIb(a,b,c){a=a|0;b=b|0;c=c|0;_(37)}function qIb(a,b,c){a=a|0;b=b|0;c=c|0;De(a|0,b|0,c|0)}function rIb(a,b,c){a=a|0;b=b|0;c=c|0;Ee(a|0,b|0,c|0)}function sIb(a,b,c){a=a|0;b=b|0;c=c|0;Df(a|0,b|0,c|0)}function tIb(a,b,c){a=a|0;b=b|0;c=c|0;Cf(a|0,b|0,c|0)}function uIb(a,b,c){a=a|0;b=b|0;c=c|0;Ef(a|0,b|0,c|0)}function vIb(a,b,c){a=a|0;b=b|0;c=c|0;ie(a|0,b|0,c|0)}function wIb(a,b,c){a=a|0;b=b|0;c=c|0;ue(a|0,b|0,c|0)}function xIb(a,b,c){a=a|0;b=b|0;c=c|0;Je(a|0,b|0,c|0)}function yIb(a,b,c){a=a|0;b=b|0;c=c|0;Ke(a|0,b|0,c|0)}function zIb(a,b,c){a=a|0;b=b|0;c=c|0;Pe(a|0,b|0,c|0)}function AIb(a,b,c){a=a|0;b=b|0;c=c|0;Qe(a|0,b|0,c|0)}function BIb(a,b,c){a=a|0;b=b|0;c=c|0;Oe(a|0,b|0,c|0)}function CIb(a,b,c){a=a|0;b=b|0;c=c|0;Rf(a|0,b|0,c|0)}function DIb(a,b,c){a=a|0;b=b|0;c=c|0;Nf(a|0,b|0,c|0)}function EIb(a,b,c){a=a|0;b=b|0;c=c|0;Sf(a|0,b|0,c|0)}function FIb(a,b,c){a=a|0;b=b|0;c=c|0;Xf(a|0,b|0,c|0)}function GIb(a,b,c){a=a|0;b=b|0;c=c|0;ag(a|0,b|0,c|0)}function HIb(a,b,c){a=a|0;b=b|0;c=c|0;Lf(a|0,b|0,c|0)}function IIb(a,b,c){a=a|0;b=b|0;c=c|0;Qf(a|0,b|0,c|0)}function JIb(a,b,c){a=a|0;b=b|0;c=c|0;Vf(a|0,b|0,c|0)}function KIb(a,b,c){a=a|0;b=b|0;c=c|0;_f(a|0,b|0,c|0)}function LIb(a,b,c){a=a|0;b=b|0;c=c|0;ye(a|0,b|0,c|0)}function MIb(a,b,c){a=a|0;b=b|0;c=c|0;te(a|0,b|0,c|0)}function NIb(a,b,c){a=a|0;b=b|0;c=c|0;Ac(a|0,b|0,c|0)}function OIb(a,b,c){a=a|0;b=b|0;c=c|0;qe(a|0,b|0,c|0)}function PIb(a,b,c){a=a|0;b=b|0;c=c|0;ef(a|0,b|0,c|0)}function QIb(a,b,c){a=a|0;b=b|0;c=c|0;Cd(a|0,b|0,c|0)}function RIb(a,b,c){a=a|0;b=b|0;c=c|0;qf(a|0,b|0,c|0)}function SIb(a,b,c){a=a|0;b=b|0;c=c|0;uf(a|0,b|0,c|0)}function TIb(a,b,c){a=a|0;b=b|0;c=c|0;cg(a|0,b|0,c|0)}function UIb(a,b,c){a=a|0;b=b|0;c=c|0;ge(a|0,b|0,c|0)}function VIb(a,b,c){a=a|0;b=b|0;c=c|0;oe(a|0,b|0,c|0)}function WIb(a,b,c){a=a|0;b=b|0;c=c|0;Cc(a|0,b|0,c|0)}function XIb(a,b,c){a=a|0;b=b|0;c=c|0;Me(a|0,b|0,c|0)}function YIb(a,b,c){a=a|0;b=b|0;c=c|0;Ne(a|0,b|0,c|0)}function ZIb(a,b,c){a=a|0;b=b|0;c=c|0;vg(a|0,b|0,c|0)}function _Ib(a,b,c){a=a|0;b=b|0;c=c|0;xg(a|0,b|0,c|0)}function $Ib(a,b,c){a=a|0;b=b|0;c=c|0;Le(a|0,b|0,c|0)}function aJb(a,b,c){a=a|0;b=b|0;c=c|0;Ec(a|0,b|0,c|0)}function bJb(a,b,c){a=a|0;b=b|0;c=c|0;Tf(a|0,b|0,c|0)}function cJb(a,b,c){a=a|0;b=b|0;c=c|0;zf(a|0,b|0,c|0)}function dJb(a,b,c){a=a|0;b=b|0;c=c|0;Af(a|0,b|0,c|0)}function eJb(a,b,c){a=a|0;b=b|0;c=c|0;Be(a|0,b|0,c|0)}function fJb(a,b,c){a=a|0;b=b|0;c=c|0;Ce(a|0,b|0,c|0)}function gJb(a,b,c){a=a|0;b=b|0;c=c|0;Wc(a|0,b|0,c|0)}function hJb(a,b,c){a=a|0;b=b|0;c=c|0;Xc(a|0,b|0,c|0)}function iJb(a,b,c){a=a|0;b=b|0;c=c|0;Vc(a|0,b|0,c|0)}function jJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;_(38)}function kJb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;g=g|0;_(39)}function lJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;_(40)}function mJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pc(a|0,b|0,c|0,d|0)}function nJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qc(a|0,b|0,c|0,d|0)}function oJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wf(a|0,b|0,c|0,d|0)}function pJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;dg(a|0,b|0,c|0,d|0)}function qJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;eg(a|0,b|0,c|0,d|0)}function rJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;fg(a|0,b|0,c|0,d|0)}function sJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ee(a|0,b|0,c|0,d|0)}function tJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;pf(a|0,b|0,c|0,d|0)}function uJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xe(a|0,b|0,c|0,d|0)}function vJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ve(a|0,b|0,c|0,d|0)}function wJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;we(a|0,b|0,c|0,d|0)}function xJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;se(a|0,b|0,c|0,d|0)}function yJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qd(a|0,b|0,c|0,d|0)}function zJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;me(a|0,b|0,c|0,d|0)}function AJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ne(a|0,b|0,c|0,d|0)}function BJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ng(a|0,b|0,c|0,d|0)}function CJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wf(a|0,b|0,c|0,d|0)}function DJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;dd(a|0,b|0,c|0,d|0)}function EJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Fd(a|0,b|0,c|0,d|0)}function FJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Dd(a|0,b|0,c|0,d|0)}function GJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Og(a|0,b|0,c|0,d|0)}function HJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;nf(a|0,b|0,c|0,d|0)}function IJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;bd(a|0,b|0,c|0,d|0)}function JJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kf(a|0,b|0,c|0,d|0)}function KJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Oc(a|0,b|0,c|0,d|0)}function LJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rf(a|0,b|0,c|0,d|0)}function MJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;vf(a|0,b|0,c|0,d|0)}function NJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;He(a|0,b|0,c|0,d|0)}function OJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;be(a|0,b|0,c|0,d|0)}function PJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Jf(a|0,b|0,c|0,d|0)}function QJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;zg(a|0,b|0,c|0,d|0)}function RJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Bg(a|0,b|0,c|0,d|0)}function SJb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Yf(a|0,b|0,c|0,d|0)}function TJb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;h=h|0;_(41)}function UJb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;_(42)}function VJb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ff(a|0,b|0,c|0,d|0,e|0)}function WJb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;$f(a|0,b|0,c|0,d|0,e|0)}function XJb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Rd(a|0,b|0,c|0,d|0,e|0)}function YJb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;of(a|0,b|0,c|0,d|0,e|0)}function ZJb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Gd(a|0,b|0,c|0,d|0,e|0)}function _Jb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;de(a|0,b|0,c|0,d|0,e|0)}function $Jb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ce(a|0,b|0,c|0,d|0,e|0)}function aKb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ae(a|0,b|0,c|0,d|0,e|0)}function bKb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;cd(a|0,b|0,c|0,d|0,e|0)}function cKb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Dc(a|0,b|0,c|0,d|0,e|0)}function dKb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Lg(a|0,b|0,c|0,d|0,e|0)}function eKb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Eg(a|0,b|0,c|0,d|0,e|0)}function fKb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ig(a|0,b|0,c|0,d|0,e|0)}function gKb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;bg(a|0,b|0,c|0,d|0,e|0)}function hKb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;_(43)}function iKb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Gf(a|0,b|0,c|0,d|0,e|0,f|0)}function jKb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Hd(a|0,b|0,c|0,d|0,e|0,f|0)}function kKb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Mg(a|0,b|0,c|0,d|0,e|0,f|0)}function lKb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;_(44)}function mKb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;hf(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function nKb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;$d(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function oKb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;_d(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function pKb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Fe(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function qKb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;_(45)}function rKb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;fd(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function sKb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;hd(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function tKb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;id(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function uKb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;_(46)}function vKb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;gd(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function wKb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;xf(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function xKb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Hf(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function yKb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;_(47)}function zKb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;yf(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function AKb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;_(48)}function BKb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;If(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)}
  12. // EMSCRIPTEN_END_FUNCS
  13. var Wi=[ZEb,hD,E3,era,Fsa,ZEb,ZEb,ZEb];var Xi=[_Eb,IK,MK,TK];var Yi=[$Eb,uu,vu,wu,AF,BF,CF,bL,vCa,wCa,xCa,$Eb,$Eb,$Eb,$Eb,$Eb];var Zi=[aFb,Zcb,Jeb,uia,gka,Bla,pna,Mna,Zna,Qoa,Fpa,bFb,cFb,dFb,aFb,aFb];var _i=[eFb,wqb,xqb,zqb,Aqb,Wk,Zk,_k,$k,al,cl,dl,el,fl,jl,ml,nl,ol,pl,rl,ul,vl,wl,xl,yl,zl,Al,Bl,Cl,Dl,El,Fl,Gl,Hl,Il,Jl,Kl,Ll,Ml,Nl,Pl,Sl,Tl,Ul,Vl,Wl,Xl,Yl,Zl,_l,$l,am,bm,cm,dm,em,fm,gm,hm,im,jm,km,lm,mm,nm,om,pm,qm,rm,wua,xua,wm,zm,Am,Dm,Gm,Hm,Km,Nm,Om,Tm,Wm,Xm,Ym,$m,an,bn,cn,fn,jn,kn,ln,mn,nn,on,pn,qn,vn,yn,zn,An,Dn,En,Fn,Gn,Kn,Nn,On,Pn,Qn,Rn,Sn,Xn,_n,$n,ao,eo,fo,lo,oo,po,Fo,Lo,_o,ep,np,rp,tp,Ap,Ep,Gp,$p,fq,hq,nq,rq,xq,Bq,Hq,Jq,Pq,Rq,Xq,$q,fr,mr,qr,sr,Br,Hr,Sr,Wr,as,ns,os,ss,ws,ys,Gs,Ms,Qs,Ws,at,et,gt,kt,qt,tt,xt,zt,Dt,Jt,Lt,Rt,Ut,_t,au,du,eu,fu,gu,hu,iu,ju,ku,lu,mu,nu,ou,pu,qu,xu,Au,Bu,Cu,Du,Eu,Fu,Gu,Hu,mw,pw,qw,vw,yw,zw,Cw,Fw,Gw,Pz,Sz,Tz,nz,qz,rz,sz,tz,xz,Az,Bz,Cz,Dz,Iz,Lz,Mz,Oy,Ry,Sy,Ty,Uy,Zy,az,bz,cz,dz,iz,lz,mz,sy,ux,VSa,vx,wx,uy,vy,zx,Ax,Bx,Cx,By,Dy,Xx,Zx,_x,ey,gy,rx,xx,yx,Ix,Kx,fA,iA,jA,aA,bA,Xz,_z,$z,bB,cB,eB,jB,mB,nB,sB,AB,BB,EB,MB,PB,QB,FC,GC,LC,MC,SC,TC,VC,$u,XC,YC,ZC,iD,nD,qD,rD,wD,zD,AD,KD,ND,OD,TD,lv,WB,ZB,_B,aC,dC,eC,eE,SE,TE,UE,VE,WE,YE,ZE,sE,wE,hE,iE,jE,kE,lE,nE,pE,T3a,U3a,V3a,rF,sF,tF,uF,vF,wF,TF,aG,bG,oH,rH,sH,EH,CJ,FJ,GJ,uI,xI,yI,KI,NI,OI,VI,YI,cJ,kK,lK,rK,sK,XK,YK,ZK,_K,oL,pL,DL,IM,SM,VM,WM,HN,IN,JN,KN,ZN,_N,yO,zO,NO,OO,lP,nP,oP,uP,wP,JP,LP,MP,SP,UP,fQ,hQ,iQ,oQ,qQ,DQ,FQ,GQ,MQ,OQ,$Q,bR,cR,iR,kR,xR,zR,AR,GR,IR,VR,XR,YR,cS,eS,rS,tS,uS,AS,CS,PS,RS,SS,YS,_S,lT,nT,oT,uT,wT,JT,LT,MT,ST,UT,fU,hU,iU,oU,qU,DU,GU,HU,NU,PU,bV,dV,eV,kV,mV,AV,CV,DV,JV,LV,YV,_V,$V,fW,hW,vW,xW,yW,EW,GW,UW,WW,XW,bX,dX,sX,tX,uX,vX,wX,xX,yX,zX,AX,BX,CX,oOa,nY,qY,rY,SY,rZ,sZ,VY,WY,XY,ZY,QZ,UZ,K$,N$,O$,f_,g_,l_,m_,f2,g2,h2,i2,z2,A2,E2,F2,p3,t3,H3,e4,h4,i4,j4,k4,l4,m4,n4,b5,F5,H5,T5,U5,Y5,Z5,bca,dca,eca,kca,mca,Fba,Hba,Iba,Oba,Qba,hba,jba,kba,qba,sba,Laa,Naa,Oaa,Uaa,Waa,naa,paa,qaa,waa,yaa,R9,T9,U9,_9,aaa,t9,v9,w9,C9,E9,X8,Z8,_8,e9,g9,z8,B8,C8,I8,K8,b8,d8,e8,k8,m8,F7,H7,I7,O7,Q7,Cea,dga,Uea,ufa,Cha,dha,Dga,eia,cka,bja,Rja,Jja,Bja,vja,nja,aja,Xja,nla,qla,rla,yla,ana,Pma,uma,Xma,Jna,Vna,Hoa,Noa,spa,tpa,hpa,npa,Bpa,Npa,Opa,Wpa,Xpa,Ypa,Zpa,mqa,nqa,rqa,uqa,vqa,wqa,xqa,yqa,zqa,Rta,Uta,Vta,dra,gra,hra,Hra,Ora,Yta,$ta,aua,dua,gua,hua,mua,pua,qua,Pqa,Sqa,Tqa,csa,fsa,gsa,jsa,msa,nsa,ssa,vsa,wsa,Wsa,Esa,fta,ita,nta,Asa,Hsa,Isa,Nsa,Qsa,Vsa,_ua,eva,hva,iva,jva,kva,mva,nva,tva,zva,Ava,Bva,Nva,Ova,tua,uua,Aua,Bua,Cua,Dua,axa,bxa,Qxa,Rxa,txa,wxa,xxa,wya,zya,Aya,Uva,Vva,Wva,Xva,_va,$va,awa,bwa,cwa,dwa,ewa,fwa,pya,qya,iwa,jwa,rwa,gya,jya,kya,nya,oya,Fya,Iya,Jya,Kya,rza,sza,yza,Bza,Cza,Eza,Hza,Iza,rAa,uAa,vAa,wAa,xAa,AAa,BAa,EAa,FAa,GAa,HAa,IAa,JAa,$Aa,cBa,dBa,qBa,tBa,uBa,vBa,wBa,hCa,kCa,lCa,mCa,rCa,sCa,tCa,$Ca,aDa,bDa,pEa,qEa,wEa,xEa,CEa,FEa,GEa,HEa,IEa,SEa,qGa,xGa,AGa,BGa,JGa,MGa,NGa,QGa,jHa,mHa,nHa,gwa,hwa,uHa,xHa,yHa,BHa,CHa,GHa,GJa,HJa,fKa,iKa,FKa,IKa,JKa,KKa,LKa,MKa,NKa,VKa,WKa,CLa,FLa,GLa,jMa,kMa,mMa,pMa,qMa,$Ma,cNa,dNa,eNa,fNa,lNa,oNa,pNa,rNa,sNa,aOa,dOa,eOa,fOa,gOa,hOa,mOa,pOa,NNa,QNa,RNa,SNa,EOa,HOa,IOa,JOa,POa,SOa,TOa,UOa,VOa,WOa,$Oa,bPa,lPa,oPa,pPa,qPa,rPa,sPa,xPa,zPa,KPa,NPa,OPa,RPa,kQa,qQa,tQa,uQa,KRa,NRa,ORa,WRa,ZRa,_Ra,wSa,zSa,ASa,FSa,ISa,JSa,KSa,LSa,QSa,wTa,zTa,ATa,iTa,jTa,dTa,gTa,hTa,MTa,PTa,QTa,RTa,ZTa,aUa,bUa,cUa,dUa,BUa,CUa,FUa,GUa,HUa,VTa,IUa,LUa,MUa,NUa,VUa,YUa,ZUa,_Ua,$Ua,eVa,hVa,iVa,jVa,kVa,qVa,tVa,uVa,KVa,NVa,OVa,PVa,SVa,TVa,UVa,VVa,_Va,ZWa,aXa,bXa,cXa,fXa,gXa,hXa,iXa,nXa,yXa,BXa,CXa,DXa,EXa,kYa,nYa,oYa,pYa,I3a,VYa,YYa,ZYa,cZa,eZa,C3a,O3a,P3a,y4a,L9a,M9a,N9a,O9a,_cb,Aeb,Keb,efb,rfb,Imb,jqb,Oqb,Pqb,Rqb,Sqb,xsb,Dsb,Jsb,Ksb,Psb,Qsb,kvb,rvb,svb,tvb,uvb,vvb,wvb,xvb,Uvb,$vb,awb,bwb,cwb,dwb,ewb,fwb,Pwb,Qwb,Vwb,_wb,$wb,exb,jxb,kxb,pxb,uxb,vxb,Axb,xyb,yyb,Ayb,Pyb,Qyb,Syb,vzb,wzb,Czb,Dzb,Iyb,Jyb,Lyb,Yyb,Zyb,$yb,iDb,pDb,sDb,bda,xia,yia,Dia,Gia,Iia,Jia,Kia,Mia,Nia,Oia,Ria,Tia,Via,cja,eja,dja,fja,ika,Dla,Ela,Fla,Jla,Mla,Pla,Sla,Vla,Yla,$la,dma,ema,gma,ima,kma,mma,nma,oma,pma,rna,Pna,$na,eoa,goa,Soa,Voa,Xoa,apa,Ipa,j4a,n5a,o5a,p5a,Bbb,Cbb,Dbb,adb,sdb,fFb,gFb,hFb,iFb,jFb,qeb,teb,ueb,Leb,$eb,dfb,ifb,lgb,mgb,kFb,lFb,mFb,nFb,oFb,pFb,qFb,rFb,sFb,tFb,uFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb,eFb];var $i=[vFb,Lra,bta,vFb];var aj=[wFb,Ira,Jra,Kra,_sa,$sa,ata,wFb];var bj=[xFb];var cj=[yFb,Bqb,Dqb,Xk,Yk,kl,ll,sl,tl,Ql,Rl,xm,ym,Em,Fm,Lm,Mm,Um,Vm,Zm,_m,gn,hn,wn,xn,Bn,Cn,Ln,Mn,Yn,Zn,bo,co,mo,no,Ko,dp,sp,Fp,eq,mq,wq,Gq,Oq,Wq,er,rr,Gr,Tr,Ur,$r,ps,qs,xs,Ls,Vs,ft,pt,yt,It,Qt,Zt,bu,cu,yu,zu,nw,ow,sw,ww,xw,Dw,Ew,Qz,Rz,oz,pz,yz,zz,Jz,Kz,Py,Qy,_y,$y,jz,kz,ty,tx,Cy,Yx,fy,sx,Jx,gA,hA,kA,lA,Yz,Zz,cA,dA,kB,lB,rB,NB,OB,UC,oD,pD,xD,yD,LD,MD,qv,XB,YB,$B,bC,cC,fE,RE,oE,vE,gE,pH,qH,DJ,EJ,vI,wI,LI,MI,WI,XI,JK,NK,UK,yL,zL,DM,EM,LM,TM,UM,mP,vP,KP,TP,gQ,pQ,EQ,NQ,aR,jR,yR,HR,WR,dS,sS,BS,QS,ZS,mT,vT,KT,TT,gU,pU,FU,EU,OU,TU,cV,lV,qV,BV,KV,PV,ZV,gW,lW,wW,FW,KW,VW,cX,hX,rX,oY,pY,TY,UY,tZ,YY,L$,M$,n_,B$,C$,w$,x$,C0,E0,e1,f1,m1,n1,t1,u1,A1,B1,f4,g4,s4,N4,X4,a5,f5,L5,cca,lca,Gba,Pba,iba,rba,Maa,Vaa,oaa,xaa,S9,$9,u9,D9,Y8,f9,A8,J8,c8,l8,G7,P7,Xha,yha,Yga,ola,pla,sla,tla,bna,vma,sqa,tqa,Sta,Tta,Zta,_ta,eua,fua,nua,oua,Qqa,Rqa,dsa,esa,ksa,lsa,tsa,usa,fva,gva,ova,rva,sva,Mva,Pva,Eua,Pxa,uxa,vxa,xya,yya,mwa,owa,hya,iya,Gya,Hya,Lya,Mya,qza,zza,Aza,Fza,Gza,sAa,tAa,aBa,bBa,rBa,sBa,iCa,jCa,nCa,DEa,EEa,UEa,XEa,ZEa,$Ea,bFa,yGa,zGa,KGa,LGa,RGa,kHa,lHa,qHa,rHa,vHa,wHa,IHa,KHa,MHa,OHa,QHa,FJa,GKa,HKa,OKa,YKa,DLa,ELa,tMa,uMa,vMa,wMa,xMa,yMa,zMa,AMa,BMa,CMa,DMa,EMa,FMa,GMa,HMa,IMa,aNa,bNa,gNa,hNa,mNa,nNa,bOa,cOa,lOa,tOa,ONa,PNa,TNa,FOa,GOa,KOa,LOa,QOa,ROa,_Oa,fPa,mPa,nPa,wPa,DPa,LPa,MPa,SPa,lQa,mQa,rQa,sQa,LRa,MRa,XRa,YRa,aSa,bSa,xSa,ySa,GSa,HSa,PSa,xTa,yTa,lTa,mTa,eTa,fTa,NTa,OTa,STa,TTa,_Ta,$Ta,eUa,AUa,OUa,WUa,XUa,fVa,gVa,rVa,sVa,LVa,MVa,QVa,WVa,YVa,ZVa,_Wa,$Wa,dXa,jXa,lXa,mXa,zXa,AXa,FXa,GXa,IXa,lYa,mYa,qYa,WYa,XYa,bZa,M3a,S4a,obb,emb,fmb,gmb,Tqb,Vqb,zsb,Fsb,Lsb,Rsb,izb,kzb,mzb,Nzb,Pzb,Rzb,zia,Aia,jka,kka,Gla,Hla,Kla,Lla,Nla,Ola,Qla,Rla,Tla,Ula,Wla,Xla,Zla,_la,ama,bma,sna,tna,aoa,boa,hoa,ioa,Yoa,Zoa,h5a,m5a,z5a,Gab,Iab,Jab,Kab,kbb,tbb,ubb,vbb,wbb,Abb,edb,mdb,ndb,pdb,rdb,zFb,AFb,BFb,CFb,Ffb,Lgb,Thb,llb,Jib,DFb,EFb,FFb,GFb,HFb,IFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb,yFb];var dj=[JFb,tqb,yqb,Cqb,bl,il,ql,Ol,sYa,uYa,xYa,yYa,go,ks,vYa,wYa,Ay,dy,Hx,tP,RP,nQ,LQ,hR,FR,bS,zS,XS,tT,RT,nU,MU,jV,IV,eW,DW,aX,_Y,D$,y$,g1,o1,v1,C1,l2,jca,Nba,pba,Taa,vaa,Z9,B9,d9,H8,j8,N7,_ja,$ja,aka,bka,Nja,Oja,Pja,Qja,Fja,Gja,Hja,Ija,Yia,Zia,zja,Aja,rja,sja,tja,uja,jja,kja,lja,mja,_ia,$ia,Vja,Wja,wla,xla,_ma,$ma,ina,jna,Lma,Mma,Nma,Oma,sma,tma,Cma,Dma,Vma,Wma,Hna,Ina,Tna,Una,Doa,Eoa,Foa,Goa,xoa,yoa,zoa,Aoa,uoa,voa,roa,soa,moa,noa,ooa,poa,Loa,Moa,qpa,rpa,dpa,epa,fpa,gpa,lpa,mpa,zpa,Apa,Lpa,Mpa,Yqa,xra,yra,zra,Ara,Bra,Cra,Dra,Era,Fra,Gra,Mra,Qra,Rra,Zsa,dta,Dsa,ava,uva,vva,wva,xva,nwa,pwa,qwa,swa,KAa,LAa,fBa,gBa,vwa,wwa,xwa,_Ka,JLa,tNa,uNa,aVa,lVa,N3a,Jmb,Kmb,Omb,Pmb,oob,Lqb,Qqb,Uqb,ysb,Esb,Ysb,etb,lyb,qyb,jzb,lzb,ozb,Jzb,Ozb,Qzb,Tzb,OCb,Vo,g5a,q5a,r5a,s5a,sbb,Ebb,Fbb,Gbb,cdb,qdb,Edb,KFb,Ldb,Mdb,Ndb,Odb,Pdb,Qdb,Rdb,Sdb,Tdb,Udb,Vdb,peb,Neb,jfb,tfb,ngb,Yfb,Zfb,mlb,ymb,Wpb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb,JFb];var ej=[LFb,Gqa,Oqa,Vy,Wy,vB,IB,UD,VF,WF,lla,jla,rka,pka,nka,Ena,Cna,Ana,yna,wna,koa,Wqa,ZKa,nzb,Kzb,Lzb,Mzb,Szb,t5a,y5a,V5a,H9a,I9a,Hbb,kdb,MFb,NFb,OFb,PFb,Beb,Qeb,afb,bfb,cfb,ffb,sfb,Hgb,hgb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb,LFb];var fj=[QFb,Nub,Oub,cvb,dvb,QFb,QFb,QFb];var gj=[RFb,u5a,Ibb,RFb];var hj=[SFb,so,hl,Yw,wB,JB,vD,VD,tE,Wsb,ctb,Iub,Jub,Lub,Pub,Zub,_ub,avb,evb,wyb,zyb,Oyb,Ryb,pzb,Uzb,Hyb,Kyb,Xyb,_yb,i5a,k5a,v5a,V9a,U9a,W9a,D9a,E9a,G9a,F9a,xbb,ybb,Jbb,jdb,TFb,Peb,Ggb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb,SFb];var ij=[UFb,$xb,fyb,UFb];var jj=[VFb,jtb,ktb,ltb,mtb,ntb,otb,ptb,qtb,rtb,stb,ttb,fub,gub,hub,iub,jub,kub,lub,mub,nub,oub,pub,Kub,Mub,$ub,bvb,lvb,mvb,nvb,ovb,pvb,Vvb,Wvb,Xvb,Yvb,Zvb,ayb,gyb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb,VFb];var kj=[WFb,kN,Dwb,Jwb,Fxb,Gxb,Rxb,Sxb,vcb,ucb,xcb,wcb,ycb,zcb,WFb,WFb];var lj=[XFb,qvb,_vb,uyb,vyb,Myb,Nyb,Fyb,Gyb,Vyb,Wyb,Ocb,Ncb,Qcb,Pcb,Lcb,Mcb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb,XFb];var mj=[YFb,j5a];var nj=[ZFb,_Fb,HCb,Ohb,vk,mfb,ggb,ugb,$Fb,aGb,bGb,cGb,dGb,eGb,aDb,ZFb];var oj=[fGb,gGb,hGb,iGb];var pj=[jGb,kGb,lGb,mGb];var qj=[nGb,oGb,pGb,qGb];var rj=[rGb,sGb];var sj=[tGb,uGb];var tj=[vGb,qqb,Ck,Tk,Uk,qo,ro,to,uo,vo,wo,xo,yo,tm,Dqa,Eqa,Iqa,Jqa,Kqa,Lqa,Mqa,Nqa,Bm,Cm,Im,Jm,Pm,Qm,Rm,Sm,dn,en,rn,sn,tn,un,In,Jn,Tn,Un,Vn,Wn,ho,io,jo,ko,Mo,Eo,Ho,Io,Jo,Zo,ap,bp,cp,kr,mp,pp,qp,zp,Cp,Dp,_p,bq,cq,dq,gq,jq,kq,lq,qq,tq,uq,vq,Aq,Dq,Eq,Fq,Iq,Lq,Mq,Nq,Qq,Tq,Uq,Vq,_q,br,cr,dr,lr,or,pr,Os,Ar,Dr,Er,Jr,Kr,Lr,Mr,_qb,$qb,arb,brb,Or,Pr,Vr,Yr,Zr,es,is,rs,us,vs,Es,Fs,Is,Js,Ps,Ss,Ts,$s,ct,dt,jt,mt,nt,ot,st,vt,wt,Ct,Ft,Gt,Ht,Kt,Nt,Ot,Pt,Tt,Wt,Xt,Yt,$t,Iu,ru,Ku,Lu,Sv,Tv,aw,bw,Gva,lw,uw,Bw,Oz,Sw,Tw,Uw,Vw,Ww,Xw,Zw,_w,$w,ax,bx,cx,vz,wz,Ez,Fz,Gz,Hz,Xy,Yy,ez,fz,gz,hz,qy,ry,Gy,Hy,Iy,Vx,Wx,jy,ky,ly,px,qx,Nx,Ox,Px,Qx,Rx,my,ny,Jy,Ky,eA,Vz,Wz,nA,oA,tA,vA,wA,yA,zA,AA,BA,CA,EA,FA,IA,NA,OA,PA,QA,JA,KA,LA,MA,TA,UA,$A,aB,pB,qB,xB,CB,DB,FB,KB,LB,DC,EC,JC,KC,Uua,PC,WC,Yu,av,bv,cv,$C,aD,ev,kD,lD,mD,CD,DD,GD,HD,ID,JD,RD,SD,mv,nv,ov,pv,WXa,XXa,YXa,ZXa,cE,QE,IJa,JJa,XE,_E,$E,aF,bF,GE,cF,dF,LE,dE,mE,rE,xE,yE,zE,JE,KE,R3a,nF,pF,qF,xF,UF,XF,YF,PAa,_F,$F,oDa,pDa,wDa,xDa,JG,KG,qG,rG,LG,MG,mH,nH,uH,vH,wH,xH,yH,zH,AH,BH,eI,fI,gI,hI,AJ,BJ,KJ,LJ,sI,tI,zI,II,JI,TI,UI,_I,$I,sJ,tJ,uJ,vJ,XJ,YJ,iK,jK,mK,pK,qK,vK,wK,BK,CK,GK,HK,KK,LK,RK,SK,VK,WK,$K,mL,nL,wL,xL,AL,CL,hM,iM,PL,QL,BM,CM,FM,HM,QM,RM,XM,dN,eN,fN,gN,hN,iN,lN,mN,nN,FN,GN,LN,XN,YN,cO,dO,vO,wO,xO,AO,JO,LO,MO,_X,$X,cY,dY,FP,GP,jP,kP,zP,AP,BP,bQ,cQ,HP,IP,XP,YP,ZP,zQ,AQ,dQ,eQ,tQ,uQ,vQ,XQ,YQ,BQ,CQ,RQ,SQ,TQ,tR,uR,ZQ,_Q,nR,oR,pR,RR,SR,vR,wR,LR,MR,NR,nS,oS,TR,UR,hS,iS,jS,LS,MS,pS,qS,FS,GS,HS,hT,iT,NS,OS,bT,cT,dT,FT,GT,jT,kT,zT,AT,BT,bU,cU,HT,IT,XT,YT,ZT,zU,AU,dU,eU,tU,uU,vU,oza,ZU,_U,XU,YU,BU,CU,SU,UU,VU,wV,xV,$U,aV,pV,rV,sV,UV,VV,yV,zV,OV,QV,RV,rW,sW,WV,XV,kW,mW,nW,QW,RW,tW,uW,JW,LW,MW,mX,nX,SW,TW,gX,iX,jX,qX,DX,LX,MX,NX,OX,PX,QX,srb,trb,urb,vrb,wrb,xrb,RO,SO,TO,UO,mY,wY,xY,pZ,qZ,EZ,FZ,GZ,LZ,MZ,NZ,OZ,PZ,RZ,SZ,TZ,VZ,WZ,I$,J$,F$,G$,o_,p_,q_,r_,d_,e_,j_,k_,t$,E$,z$,c$,d$,u$,I1,J1,g0,h0,s0,t0,A0,B0,c1,k1,r1,y1,c2,d2,j2,n2,x2,y2,C2,D2,M2,N2,O2,P2,S2,T2,b3,c3,d3,e3,cs,fs,gs,hs,f3,g3,h3,i3,j3,k3,l3,m3,irb,jrb,krb,lrb,n3,o3,q3,r3,s3,u3,C3,D3,K3,N3,O3,T3,U3,X3,Y3,a4,b4,c4,d4,L4,M4,V4,W4,Z4,c5,_4,$4,d5,e5,h5,n5,o5,p5,u5,v5,w5,x5,D5,E5,G5,R5,S5,W5,X5,y6,z6,w6,x6,T6,U6,$ba,aca,pca,qca,rca,Dba,Eba,Tba,Uba,Vba,fba,gba,vba,wba,xba,Jaa,Kaa,Zaa,_aa,$aa,laa,maa,Baa,Caa,Daa,P9,Q9,daa,eaa,faa,r9,s9,H9,I9,J9,V8,W8,j9,k9,l9,x8,y8,N8,O8,P8,$7,a8,p8,q8,r8,D7,E7,T7,U7,V7,W7,X7,s8,t8,Q8,R8,m9,n9,K9,L9,gaa,haa,Eaa,Faa,aba,bba,yba,zba,Wba,Xba,sca,tca,Lca,Mca,Eda,Fda,jea,kea,Bea,cga,ofa,Sea,Tea,sfa,tfa,Qfa,Aha,Bha,Yha,bha,cha,zha,Bga,Cga,Zga,cia,dia,Yja,Zja,Lja,Mja,Dja,Eja,xja,yja,pja,qja,hja,ija,Wia,Xia,gja,oja,wja,Cja,Kja,Sja,Tja,Uja,dka,kla,ila,qka,oka,mka,ska,tka,mla,ula,vla,Yma,Zma,Jma,Kma,qma,rma,Qma,Tma,Uma,Dna,Bna,zna,xna,vna,Fna,Gna,Rna,Sna,Wna,Boa,Coa,woa,toa,qoa,loa,joa,Ioa,Joa,Koa,opa,ppa,bpa,cpa,ipa,jpa,kpa,upa,vpa,xpa,ypa,Cpa,Jpa,Kpa,Ppa,Qpa,Spa,Tpa,Upa,Vpa,_pa,kqa,lqa,pqa,qqa,ota,uta,Wta,Xta,mra,Sra,bua,cua,iua,jua,kua,lua,Uqa,Vqa,hsa,isa,osa,psa,qsa,rsa,Xsa,Ysa,eta,gta,hta,jta,kta,lta,mta,Bsa,Csa,Jsa,Osa,Psa,Rsa,Ssa,Tsa,Usa,Mua,Nua,Oua,Pua,Iua,Jua,Kua,Lua,$ua,Vua,Xua,Yua,Zua,cva,dva,Hva,Kva,Lva,Rva,Sva,$wa,rxa,Oxa,sxa,Ixa,Jxa,Xxa,vya,Yxa,fya,Dya,Eya,Oya,Pya,Qya,Rya,Sya,Tya,Vya,Zya,_ya,$ya,iza,jza,lza,pza,xza,Dza,Sza,eAa,fAa,hAa,lAa,mAa,nAa,pAa,qAa,NAa,OAa,_Aa,YAa,ZAa,oBa,pBa,xBa,dCa,eCa,fCa,gCa,pCa,qCa,uCa,XCa,YCa,ZCa,_Ca,eDa,fDa,XDa,iEa,nEa,oEa,rEa,uEa,vEa,AEa,BEa,JEa,REa,eFa,fFa,iFa,GFa,NFa,OFa,QFa,RFa,SFa,VFa,WFa,YFa,ZFa,_Fa,jGa,kGa,mGa,nGa,oGa,sGa,tGa,vGa,wGa,HGa,IGa,fHa,gHa,hHa,iHa,sHa,tHa,FHa,SHa,THa,WO,DIa,rJa,BJa,CJa,DJa,EJa,_Ja,aKa,bKa,cKa,dKa,eKa,gKa,hKa,jKa,oKa,kKa,pKa,qKa,rKa,sKa,uKa,vKa,xKa,yKa,zKa,AKa,DKa,EKa,ALa,BLa,EX,PLa,hMa,iMa,nMa,oMa,rMa,sMa,ZMa,_Ma,jNa,kNa,vNa,wNa,_Na,$Na,vOa,wOa,LNa,MNa,HNa,INa,xOa,yOa,COa,DOa,NOa,OOa,hPa,iPa,jPa,kPa,FPa,GPa,IPa,JPa,UQa,VQa,hQa,iQa,nQa,oQa,pQa,SQa,sRa,tRa,mRa,nRa,qRa,IRa,JRa,URa,VRa,uSa,vSa,ESa,USa,WSa,XSa,YSa,ZSa,_Sa,uTa,vTa,aTa,cTa,KTa,LTa,XTa,YTa,gUa,hUa,iUa,jUa,lUa,pUa,qUa,rUa,yUa,zUa,KUa,cVa,dVa,mVa,nVa,oVa,pVa,wVa,xVa,yVa,zVa,AVa,BVa,IVa,JVa,$Va,AJa,RWa,XWa,YWa,oXa,wXa,xXa,fYa,gYa,iYa,jYa,zYa,AYa,CYa,DYa,EYa,GYa,HYa,IYa,JYa,F3a,KYa,LYa,MYa,NYa,OYa,QYa,RYa,SYa,TYa,UYa,fZa,gZa,nZa,oZa,h_a,i_a,A_a,B_a,D_a,E_a,y$a,A$a,C$a,m2a,v2a,w2a,A3a,B3a,D3a,E3a,H3a,K3a,L3a,S3a,b4a,c4a,$3a,a4a,Z3a,_3a,q4a,r4a,x4a,k6a,l6a,m6a,n6a,o6a,p6a,q6a,r6a,s6a,t6a,u6a,v6a,w6a,x6a,y6a,z6a,A6a,B6a,C6a,D6a,E6a,F6a,G6a,H6a,I6a,J6a,K6a,L6a,M6a,N6a,O6a,P6a,Q6a,R6a,S6a,T6a,U6a,V6a,W6a,X6a,Y6a,Z6a,_6a,$6a,a7a,b7a,c7a,d7a,e7a,f7a,g7a,h7a,i7a,j7a,k7a,l7a,m7a,n7a,o7a,p7a,q7a,r7a,s7a,t7a,u7a,v7a,w7a,x7a,y7a,z7a,A7a,B7a,C7a,D7a,E7a,F7a,G7a,H7a,I7a,J7a,K7a,L7a,M7a,N7a,O7a,P7a,Q7a,R7a,S7a,T7a,U7a,V7a,W7a,X7a,Y7a,Z7a,_7a,$7a,a8a,b8a,c8a,d8a,e8a,f8a,g8a,h8a,i8a,j8a,k8a,l8a,m8a,n8a,o8a,p8a,q8a,r8a,s8a,t8a,u8a,v8a,w8a,x8a,y8a,z8a,A8a,B8a,D8a,S8a,T8a,U8a,V8a,Q8a,R8a,o9a,p9a,q9a,r9a,k9a,l9a,m9a,n9a,y9a,z9a,A9a,B9a,u9a,v9a,w9a,x9a,hqb,iqb,kqb,lqb,mqb,oqb,rqb,Iqb,Jqb,drb,erb,frb,grb,nrb,orb,prb,qrb,vsb,Bsb,Hsb,Nsb,Tsb,Usb,Vsb,atb,btb,htb,itb,dub,eub,Gub,Hub,Xub,Yub,ivb,jvb,Svb,Tvb,Bwb,Cwb,Hwb,Iwb,Nwb,Owb,Ywb,Zwb,hxb,ixb,sxb,txb,Dxb,Exb,Pxb,Qxb,Zxb,_xb,dyb,eyb,jyb,kyb,oyb,pyb,$sb,Eyb,tyb,Tyb,Uyb,dzb,ezb,gzb,hzb,tzb,uzb,Azb,Bzb,Hzb,Izb,Vzb,Wzb,Xzb,KCb,LCb,MCb,NCb,XCb,gDb,hDb,mDb,nDb,oDb,qDb,rDb,tDb,So,To,via,hka,Cla,qna,Nna,_na,Roa,Gpa,J3a,Q3a,W3a,I4a,w5a,Z4a,g6a,h6a,s9a,t9a,i9a,j9a,Y8a,X8a,Z8a,$8a,_8a,a9a,c9a,b9a,d9a,e9a,f9a,g9a,F8a,E8a,I8a,J8a,H8a,K8a,L8a,M8a,N8a,O8a,P8a,G8a,Kbb,Mbb,bdb,ddb,odb,wdb,reb,Ceb,Geb,Heb,Meb,Oeb,Seb,gfb,hfb,kfb,lfb,Fhb,fgb,igb,jgb,kgb,ogb,pgb,qgb,rgb,sgb,tgb,pib,wGb,xGb,yGb,zGb,AGb,BGb,CGb,DGb,EGb,FGb,GGb,HGb,IGb,JGb,KGb,LGb,MGb,NGb,OGb,PGb,QGb,RGb,SGb,TGb,UGb,VGb,WGb,Btb,Dtb,Hxb,Dmb,bDb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb,vGb];var uj=[XGb,dv,_C,pga,qga,efa,ffa,Gfa,Hfa,Bka,Cka,ora,wra,Vra,Xra,Lsa,YGb,ZGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb,XGb];var vj=[_Gb,zB,HB,IE,NE,tO,Nra,_ra,cta,AFa,DFa,$Gb,aHb,_Gb,_Gb,_Gb];var wj=[bHb,pO,asa,BFa,EFa,cHb,dHb,bHb];var xj=[eHb,uO,CFa,FFa,fHb,gHb,eHb,eHb];var yj=[hHb,Zra];var zj=[iHb,$ra];var Aj=[jHb,bsa,Yya,kAa,PFa,XFa,lGa,oUa];var Bj=[kHb,sqb,Sk,gl,sua,sm,vua,um,vm,Go,$o,op,Bp,aq,iq,sq,Cq,Kq,Sq,ar,nr,Cr,Fr,Xr,_r,js,ts,Hs,Ks,Rs,Us,bt,lt,ut,Et,Mt,Vt,su,tu,yCa,zCa,qDa,Ju,CCa,DCa,ECa,rDa,GCa,HCa,ICa,JCa,sDa,LCa,MCa,NCa,OCa,PCa,tDa,RCa,uDa,TCa,UCa,vDa,WCa,rw,Aw,Hw,tza,uza,wy,xy,Ey,Fy,$x,ay,hy,iy,Dx,Ex,Lx,Mx,rA,uA,xA,DA,tKa,XA,dB,oB,uB,yB,GB,HC,BCa,IC,RC,Zu,_u,jD,sD,uD,BD,FD,VXa,qE,AE,BE,CE,DE,EE,HE,ME,yF,zF,DF,EF,FF,GF,HF,IF,JF,KF,LF,MF,NF,OF,PF,QF,RF,SF,ZF,tH,HJ,IJ,JJ,MJ,ZI,rJ,nK,oK,xK,yK,zK,AK,aL,cL,dL,eL,fL,gL,hL,iL,jL,kL,lL,JM,KM,YM,bN,jN,oN,MN,NN,ON,PN,QN,RN,SN,TN,UN,VN,WN,oO,qO,rO,sO,BO,CO,DO,EO,FO,GO,HO,IO,KO,aY,bY,pP,qP,xP,yP,NP,OP,VP,WP,jQ,kQ,rQ,sQ,HQ,IQ,PQ,QQ,dR,eR,lR,mR,BR,CR,JR,KR,ZR,_R,fS,gS,vS,wS,DS,ES,TS,US,$S,aT,pT,qT,xT,yT,NT,OT,VT,WT,jU,kU,rU,sU,IU,JU,QU,RU,fV,gV,nV,oV,EV,FV,MV,NV,aW,bW,iW,jW,zW,AW,HW,IW,YW,ZW,eX,fX,h_,i_,k2,m2,p2,q2,B2,I3,J3,g5,i5,j5,l5,m5,J5,K5,V5,fca,gca,nca,oca,Jba,Kba,Rba,Sba,lba,mba,tba,uba,Paa,Qaa,Xaa,Yaa,raa,saa,zaa,Aaa,V9,W9,baa,caa,x9,y9,F9,G9,$8,a9,h9,i9,D8,E8,L8,M8,f8,g8,n8,o8,J7,K7,R7,S7,ega,fga,gga,hga,iga,jga,kga,lga,mga,rga,sga,tga,uga,vga,wga,yga,Vea,Wea,Xea,Yea,Zea,_ea,$ea,afa,bfa,gfa,hfa,ifa,jfa,kfa,lfa,nfa,vfa,wfa,xfa,yfa,zfa,Afa,Bfa,Cfa,Dfa,Ifa,Jfa,Kfa,Lfa,Mfa,Nfa,Pfa,Dha,Eha,Fha,Gha,Hha,Iha,Jha,Kha,Lha,Mha,Nha,Oha,Pha,Qha,Rha,Sha,Tha,Uha,Wha,eha,fha,gha,hha,iha,jha,kha,lha,mha,nha,oha,pha,qha,rha,sha,tha,uha,vha,xha,Ega,Fga,Gga,Hga,Iga,Jga,Kga,Lga,Mga,Nga,Oga,Pga,Qga,Rga,Sga,Tga,Uga,Vga,Xga,uka,vka,wka,xka,yka,zka,Aka,Dka,Eka,Fka,Gka,Hka,Ika,Jka,Kka,Lka,Mka,Nka,Oka,Pka,Qka,Rka,Ska,Tka,Uka,Vka,Wka,Xka,Yka,Zka,_ka,$ka,ala,bla,cla,dla,ela,fla,gla,hla,ena,yma,$pa,aqa,bqa,cqa,dqa,eqa,fqa,gqa,hqa,iqa,jqa,Xqa,Zqa,_qa,$qa,ara,bra,cra,fra,kra,ura,vra,Tra,Ura,Wra,Gsa,bva,lva,qva,yva,Cva,yua,zua,Qva,Fua,ixa,yxa,zxa,Tva,Yva,Zva,Bya,kwa,lwa,Cya,uwa,eya,lya,mya,rya,sya,tya,Nya,Uya,Wya,Xya,kza,mza,nza,gAa,iAa,jAa,yAa,zAa,CAa,DAa,eBa,nBa,yBa,zBa,oCa,ACa,FCa,KCa,QCa,SCa,VCa,sEa,tEa,zEa,KEa,LEa,MEa,NEa,OEa,PEa,QEa,TEa,VEa,WEa,YEa,_Ea,aFa,cFa,tFa,uFa,vFa,wFa,xFa,yFa,zFa,pGa,rGa,uGa,CGa,DGa,OGa,PGa,SGa,oHa,pHa,zHa,AHa,DHa,EHa,HHa,JHa,LHa,NHa,PHa,RHa,UHa,VHa,WHa,XHa,YHa,ZHa,_Ha,$Ha,aIa,bIa,cIa,dIa,eIa,fIa,gIa,hIa,iIa,jIa,kIa,lIa,mIa,nIa,oIa,pIa,qIa,rIa,sIa,tIa,uIa,vIa,wIa,xIa,yIa,zIa,AIa,BIa,CIa,TX,EIa,FIa,GIa,HIa,IIa,JIa,KIa,LIa,UX,VX,WX,XX,YX,ZX,XO,YO,ZO,_O,$O,MIa,aP,bP,cP,dP,eP,fP,NIa,OIa,PIa,QIa,RIa,SIa,IX,gP,hP,iP,sJa,tJa,$Ja,wKa,BKa,XKa,$Ka,HLa,ILa,lMa,iNa,qNa,xNa,jOa,kOa,nOa,qOa,rOa,uOa,UNa,JNa,KNa,MOa,YOa,ZOa,aPa,cPa,dPa,gPa,uPa,vPa,yPa,APa,BPa,EPa,HPa,PPa,QPa,TPa,UPa,jQa,TQa,rRa,PRa,QRa,$Ra,BSa,CSa,NSa,OSa,RSa,kTa,UTa,fUa,kUa,mUa,nUa,DUa,EUa,JUa,WTa,RVa,aWa,eXa,pXa,hYa,rYa,BYa,FYa,G3a,PYa,$Ya,aZa,dZa,C_a,n2a,o2a,Kqb,wsb,Csb,Isb,Osb,Rwb,Swb,Twb,Uwb,Wwb,Xwb,axb,bxb,cxb,dxb,fxb,gxb,lxb,mxb,nxb,oxb,qxb,rxb,wxb,xxb,yxb,zxb,Bxb,Cxb,nyb,syb,xzb,yzb,zzb,Ezb,Fzb,Gzb,_xa,Eia,F_a,G_a,e0a,f0a,Pia,Uia,g0a,__a,Lwa,fma,hma,jma,lma,X_a,Z_a,Qna,foa,Woa,q0a,M2a,K4a,L4a,f5a,l5a,x5a,rbb,zbb,Lbb,fdb,gdb,hdb,ldb,tdb,udb,Reb,Igb,lHb,xib,nlb,zmb,mHb,nHb,oHb,pHb,qHb,rHb,sHb,tHb,uHb,vHb,wHb,xHb,yHb,zHb,AHb,BHb,CHb,DHb,EHb,FHb,GHb,HHb,IHb,JHb,KHb,LHb,MHb,NHb,OHb,PHb,QHb,RHb,SHb,THb,UHb,VHb,WHb,XHb,YHb,ZHb,_Hb,$Hb,aIb,bIb,cIb,dIb,eIb,fIb,gIb,hIb,iIb,jIb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb,kHb];var Cj=[kIb,lIb];var Dj=[mIb,nIb];var Ej=[oIb,I5];var Fj=[pIb,Vk,Cqa,Fqa,Hqa,tYa,Hn,cw,Rw,uz,yy,zy,by,cy,Fx,Gx,qA,WA,tB,bD,cD,fv,dD,eD,fD,gD,tD,ED,RAa,sG,tG,uG,vG,wG,xG,NG,OG,PG,QG,RG,SG,CH,DH,AI,aJ,bJ,dJ,fJ,hJ,ZJ,BL,jM,kM,lM,mM,nM,oM,RL,SL,TL,UL,VL,WL,GM,ZM,_M,$M,aN,cN,pN,eO,fO,gO,hO,iO,jO,rP,sP,PP,QP,lQ,mQ,JQ,KQ,fR,gR,DR,ER,$R,aS,xS,yS,VS,WS,rT,sT,PT,QT,lU,mU,KU,LU,hV,iV,GV,HV,cW,dW,BW,CW,_W,$W,A$,v$,D0,d1,l1,s1,z1,o2,o4,p4,q4,r4,t4,k5,hca,ica,Lba,Mba,nba,oba,Raa,Saa,taa,uaa,X9,Y9,z9,A9,b9,c9,F8,G8,h8,i8,L7,M7,nga,oga,xga,cfa,dfa,mfa,pfa,qfa,Efa,Ffa,Ofa,Rfa,Sfa,Vha,wha,Wga,cna,dna,fna,wma,xma,zma,lra,nra,pra,qra,sra,Pra,Yra,Ksa,Msa,Wua,pva,cxa,fxa,Kxa,Mxa,twa,MAa,QAa,jFa,kFa,lFa,mFa,nFa,oFa,QLa,RLa,SLa,TLa,ULa,VLa,iOa,sOa,XOa,ePa,tPa,CPa,cSa,MSa,BTa,nTa,bVa,vVa,XVa,kXa,HXa,_Ya,zWa,jLa,BWa,kLa,CWa,lLa,DWa,mLa,EWa,nLa,FWa,oLa,GWa,pLa,HWa,qLa,IWa,rLa,JWa,sLa,H4a,M4a,seb,nib,tib,xkb,ykb,zkb,Bkb,Akb,qIb,rIb,sIb,tIb,uIb,vIb,wIb,xIb,yIb,zIb,AIb,BIb,CIb,DIb,EIb,FIb,GIb,HIb,IIb,JIb,KIb,LIb,MIb,NIb,OIb,PIb,QIb,RIb,SIb,TIb,UIb,VIb,WIb,XIb,YIb,ZIb,_Ib,$Ib,aJb,bJb,cJb,dJb,eJb,fJb,gJb,hJb,iJb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb,pIb];var Gj=[jJb,Lxa,Nxa,jJb];var Hj=[kJb,e2];var Ij=[lJb,vqb,Rr,ms,sA,YA,FE,yG,zG,AG,BG,TG,UG,VG,WG,BI,CI,eJ,gJ,pM,qM,rM,sM,XL,YL,ZL,_L,kO,lO,mO,nO,aZ,uZ,vZ,wZ,xZ,yZ,bZ,dZ,eZ,fZ,gZ,hZ,iZ,F0,H0,J0,N0,F3,Dea,Eea,Fea,Jea,Kea,Lea,fia,gia,jia,kia,gna,hna,Ama,Bma,jra,rra,tra,dxa,gxa,pFa,qFa,rFa,sFa,WLa,XLa,YLa,ZLa,z4a,A4a,C4a,D4a,Nqb,Xsb,dtb,RCb,_Cb,wDb,lab,idb,vdb,Vfb,ujb,klb,mJb,nJb,oJb,pJb,qJb,rJb,sJb,tJb,uJb,vJb,wJb,xJb,yJb,zJb,AJb,BJb,CJb,DJb,EJb,FJb,GJb,HJb,IJb,JJb,KJb,LJb,MJb,NJb,OJb,PJb,QJb,RJb,SJb,lJb,lJb,lJb];var Jj=[TJb,G3];var Kj=[UJb,pA,VA,KJa,uE,EL,zZ,AZ,BZ,CZ,DZ,cZ,jZ,kZ,lZ,mZ,nZ,oZ,G0,I0,K0,L0,M0,O0,Gea,Hea,Iea,Mea,Nea,Oea,hia,iia,lia,mia,ira,SKa,TKa,UKa,B4a,E4a,QCb,ZCb,vDb,VJb,WJb,XJb,YJb,ZJb,_Jb,$Jb,aKb,bKb,cKb,dKb,eKb,fKb,gKb,UJb,UJb,UJb,UJb,UJb,UJb,UJb];var Lj=[hKb,Dk,Qr,ls,$Y,uqb,Mqb,myb,ryb,PCb,YCb,uDb,iKb,jKb,kKb,hKb];var Mj=[lKb,exa,hxa,PKa,Rcb,Scb,Tcb,mKb,nKb,oKb,pKb,lKb,lKb,lKb,lKb,lKb];var Nj=[qKb,RKa,rKb,sKb,tKb,qKb,qKb,qKb];var Oj=[uKb,ahb,bhb,chb,dhb,ehb,fhb,ghb,hhb,ihb,jhb,khb,lhb,vKb,wKb,xKb];var Pj=[yKb,zKb];var Qj=[AKb,QKa,Dcb,Ccb,Ecb,Gcb,Fcb,Icb,Hcb,BKb,AKb,AKb,AKb,AKb,AKb,AKb];return{__GLOBAL__I_000101:nsb,__GLOBAL__sub_I_iostream_cpp:osb,__GLOBAL__sub_I_main_cpp:Xu,__GLOBAL__sub_I_osgDB_cpp:z5,__GLOBAL__sub_I_osgUtil_cpp:fY,__GLOBAL__sub_I_osgViewer_cpp:mF,__GLOBAL__sub_I_osg_01_cpp:hZa,__GLOBAL__sub_I_osgdb_osg_cpp:xea,__GLOBAL__sub_I_osgdb_png_cpp:u4a,__GLOBAL__sub_I_osgdb_serializers_osg_Drawable_cpp:tia,__GLOBAL__sub_I_osgdb_serializers_osg_Geode_cpp:fka,__GLOBAL__sub_I_osgdb_serializers_osg_Geometry_cpp:Ala,__GLOBAL__sub_I_osgdb_serializers_osg_Group_cpp:ona,__GLOBAL__sub_I_osgdb_serializers_osg_LibraryWrapper_cpp:ria,__GLOBAL__sub_I_osgdb_serializers_osg_MatrixTransform_cpp:Lna,__GLOBAL__sub_I_osgdb_serializers_osg_Node_cpp:Yna,__GLOBAL__sub_I_osgdb_serializers_osg_Object_cpp:Poa,__GLOBAL__sub_I_osgdb_serializers_osg_Transform_cpp:Epa,__ZSt18uncaught_exceptionv:FCb,___cxa_can_catch:HDb,___cxa_is_pointer_type:IDb,___emscripten_environ_constructor:fqb,___errno_location:Mmb,___muldi3:LDb,___udivdi3:QDb,__get_environ:gqb,_bitshift64Lshr:RDb,_bitshift64Shl:SDb,_emscripten_GetProcAddress:Bmb,_emscripten_replace_memory:Vi,_free:Dmb,_i64Add:MDb,_i64Subtract:NDb,_llvm_bswap_i32:XDb,_main:wk,_malloc:Cmb,_memcpy:YDb,_memmove:ZDb,_memset:_Db,_pthread_cond_broadcast:$Db,_pthread_mutex_lock:VDb,_pthread_mutex_trylock:aEb,_pthread_mutex_unlock:WDb,_realloc:Fmb,_saveSetjmp:TDb,_sbrk:bEb,_strstr:hnb,_testSetjmp:UDb,dynCall_di:cEb,dynCall_dii:dEb,dynCall_diii:eEb,dynCall_i:fEb,dynCall_ii:gEb,dynCall_iidd:hEb,dynCall_iiddd:iEb,dynCall_iidii:jEb,dynCall_iii:kEb,dynCall_iiii:lEb,dynCall_iiiii:mEb,dynCall_iiiiid:nEb,dynCall_iiiiidii:oEb,dynCall_iiiiii:pEb,dynCall_iiiiiid:qEb,dynCall_iiiiiii:rEb,dynCall_iiiiiiii:sEb,dynCall_iiiiiiiii:tEb,dynCall_iiiiiiiiii:uEb,dynCall_v:vEb,dynCall_vd:wEb,dynCall_vdd:xEb,dynCall_vdddd:yEb,dynCall_vdddddd:zEb,dynCall_vdi:AEb,dynCall_vi:BEb,dynCall_vid:CEb,dynCall_vidd:DEb,dynCall_viddd:EEb,dynCall_vidddd:FEb,dynCall_viddddd:GEb,dynCall_viddi:HEb,dynCall_vidi:IEb,dynCall_vii:JEb,dynCall_viid:KEb,dynCall_viidi:LEb,dynCall_viidiii:MEb,dynCall_viii:NEb,dynCall_viiid:OEb,dynCall_viiidiii:PEb,dynCall_viiii:QEb,dynCall_viiiidiii:REb,dynCall_viiiii:SEb,dynCall_viiiiii:TEb,dynCall_viiiiiii:UEb,dynCall_viiiiiiii:VEb,dynCall_viiiiiiiii:WEb,dynCall_viiiiiiiiii:XEb,dynCall_viiiiiiiiiii:YEb,establishStackSpace:Uj,getTempRet0:Xj,runPostSets:JDb,setTempRet0:Wj,setThrew:Vj,stackAlloc:Rj,stackRestore:Tj,stackSave:Sj}})
  14. // EMSCRIPTEN_END_ASM
  15. (Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=asm["__GLOBAL__sub_I_iostream_cpp"];var __GLOBAL__sub_I_main_cpp=Module["__GLOBAL__sub_I_main_cpp"]=asm["__GLOBAL__sub_I_main_cpp"];var __GLOBAL__sub_I_osgDB_cpp=Module["__GLOBAL__sub_I_osgDB_cpp"]=asm["__GLOBAL__sub_I_osgDB_cpp"];var __GLOBAL__sub_I_osgUtil_cpp=Module["__GLOBAL__sub_I_osgUtil_cpp"]=asm["__GLOBAL__sub_I_osgUtil_cpp"];var __GLOBAL__sub_I_osgViewer_cpp=Module["__GLOBAL__sub_I_osgViewer_cpp"]=asm["__GLOBAL__sub_I_osgViewer_cpp"];var __GLOBAL__sub_I_osg_01_cpp=Module["__GLOBAL__sub_I_osg_01_cpp"]=asm["__GLOBAL__sub_I_osg_01_cpp"];var __GLOBAL__sub_I_osgdb_osg_cpp=Module["__GLOBAL__sub_I_osgdb_osg_cpp"]=asm["__GLOBAL__sub_I_osgdb_osg_cpp"];var __GLOBAL__sub_I_osgdb_png_cpp=Module["__GLOBAL__sub_I_osgdb_png_cpp"]=asm["__GLOBAL__sub_I_osgdb_png_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_Drawable_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_Drawable_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_Drawable_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_Geode_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_Geode_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_Geode_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_Geometry_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_Geometry_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_Geometry_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_Group_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_Group_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_Group_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_LibraryWrapper_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_LibraryWrapper_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_LibraryWrapper_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_MatrixTransform_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_MatrixTransform_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_MatrixTransform_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_Node_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_Node_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_Node_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_Object_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_Object_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_Object_cpp"];var __GLOBAL__sub_I_osgdb_serializers_osg_Transform_cpp=Module["__GLOBAL__sub_I_osgdb_serializers_osg_Transform_cpp"]=asm["__GLOBAL__sub_I_osgdb_serializers_osg_Transform_cpp"];var __ZSt18uncaught_exceptionv=Module["__ZSt18uncaught_exceptionv"]=asm["__ZSt18uncaught_exceptionv"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var ___emscripten_environ_constructor=Module["___emscripten_environ_constructor"]=asm["___emscripten_environ_constructor"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var __get_environ=Module["__get_environ"]=asm["__get_environ"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _emscripten_GetProcAddress=Module["_emscripten_GetProcAddress"]=asm["_emscripten_GetProcAddress"];var _emscripten_replace_memory=Module["_emscripten_replace_memory"]=asm["_emscripten_replace_memory"];var _free=Module["_free"]=asm["_free"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _main=Module["_main"]=asm["_main"];var _malloc=Module["_malloc"]=asm["_malloc"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _memmove=Module["_memmove"]=asm["_memmove"];var _memset=Module["_memset"]=asm["_memset"];var _pthread_cond_broadcast=Module["_pthread_cond_broadcast"]=asm["_pthread_cond_broadcast"];var _pthread_mutex_lock=Module["_pthread_mutex_lock"]=asm["_pthread_mutex_lock"];var _pthread_mutex_trylock=Module["_pthread_mutex_trylock"]=asm["_pthread_mutex_trylock"];var _pthread_mutex_unlock=Module["_pthread_mutex_unlock"]=asm["_pthread_mutex_unlock"];var _realloc=Module["_realloc"]=asm["_realloc"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _strstr=Module["_strstr"]=asm["_strstr"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var setThrew=Module["setThrew"]=asm["setThrew"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var stackSave=Module["stackSave"]=asm["stackSave"];var dynCall_di=Module["dynCall_di"]=asm["dynCall_di"];var dynCall_dii=Module["dynCall_dii"]=asm["dynCall_dii"];var dynCall_diii=Module["dynCall_diii"]=asm["dynCall_diii"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_iidd=Module["dynCall_iidd"]=asm["dynCall_iidd"];var dynCall_iiddd=Module["dynCall_iiddd"]=asm["dynCall_iiddd"];var dynCall_iidii=Module["dynCall_iidii"]=asm["dynCall_iidii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_iiiiid=Module["dynCall_iiiiid"]=asm["dynCall_iiiiid"];var dynCall_iiiiidii=Module["dynCall_iiiiidii"]=asm["dynCall_iiiiidii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=asm["dynCall_iiiiiid"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=asm["dynCall_iiiiiiiiii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_vd=Module["dynCall_vd"]=asm["dynCall_vd"];var dynCall_vdd=Module["dynCall_vdd"]=asm["dynCall_vdd"];var dynCall_vdddd=Module["dynCall_vdddd"]=asm["dynCall_vdddd"];var dynCall_vdddddd=Module["dynCall_vdddddd"]=asm["dynCall_vdddddd"];var dynCall_vdi=Module["dynCall_vdi"]=asm["dynCall_vdi"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_vidd=Module["dynCall_vidd"]=asm["dynCall_vidd"];var dynCall_viddd=Module["dynCall_viddd"]=asm["dynCall_viddd"];var dynCall_vidddd=Module["dynCall_vidddd"]=asm["dynCall_vidddd"];var dynCall_viddddd=Module["dynCall_viddddd"]=asm["dynCall_viddddd"];var dynCall_viddi=Module["dynCall_viddi"]=asm["dynCall_viddi"];var dynCall_vidi=Module["dynCall_vidi"]=asm["dynCall_vidi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_viidi=Module["dynCall_viidi"]=asm["dynCall_viidi"];var dynCall_viidiii=Module["dynCall_viidiii"]=asm["dynCall_viidiii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_viiid=Module["dynCall_viiid"]=asm["dynCall_viiid"];var dynCall_viiidiii=Module["dynCall_viiidiii"]=asm["dynCall_viiidiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];var dynCall_viiiidiii=Module["dynCall_viiiidiii"]=asm["dynCall_viiiidiii"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=asm["dynCall_viiiiiii"];var dynCall_viiiiiiii=Module["dynCall_viiiiiiii"]=asm["dynCall_viiiiiiii"];var dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=asm["dynCall_viiiiiiiii"];var dynCall_viiiiiiiiii=Module["dynCall_viiiiiiiiii"]=asm["dynCall_viiiiiiiiii"];var dynCall_viiiiiiiiiii=Module["dynCall_viiiiiiiiiii"]=asm["dynCall_viiiiiiiiiii"];Module["asm"]=asm;Module["Pointer_stringify"]=Pointer_stringify;if(memoryInitializer){if(!isDataURI(memoryInitializer)){memoryInitializer=locateFile(memoryInitializer)}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=Module["readBinary"](memoryInitializer);HEAPU8.set(data,GLOBAL_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=(function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,GLOBAL_BASE);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")});function doBrowserLoad(){Module["readAsync"](memoryInitializer,applyMemoryInitializer,(function(){throw"could not load memory initializer "+memoryInitializer}))}if(Module["memoryInitializerRequest"]){function useRequest(){var request=Module["memoryInitializerRequest"];var response=request.response;if(request.status!==200&&request.status!==0){console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status+", retrying "+memoryInitializer);doBrowserLoad();return}applyMemoryInitializer(response)}if(Module["memoryInitializerRequest"].response){setTimeout(useRequest,0)}else{Module["memoryInitializerRequest"].addEventListener("load",useRequest)}}else{doBrowserLoad()}}}function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(Module["thisProgram"]);for(var i=1;i<argc;i++){HEAP32[(argv>>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);Module["quit"](1,e)}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]&&status===0){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}Module["quit"](status,new ExitStatus(status))}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}if(what!==undefined){out(what);err(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;throw"abort("+what+"). Build with -s ASSERTIONS=1 for more info."}Module["abort"]=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run()